{"version":3,"mappings":"4FAEA,MAAMA,EAAcC,EAAY,QAG1BC,sXAEN,SAAW,CAACC,EAAMC,CAAU,IAAK,OAAO,QAAQF,CAAW,EAAG,CAC5D,MAAMG,EAAiBF,EACpB,QAAQ,KAAM,EAAE,EAChB,QAAQ,MAAO,EAAE,EACjB,QAAQ,cAAe,EAAE,EAC5BC,EAAY,EAAC,KAAME,GAAW,CAC5BN,EAAY,SAASK,EAAgBC,EAAO,OAAO,CACvD,CAAG,CACH","names":["application","Application","controllers","path","controller","controllerName","module"],"sources":["../../../app/frontend/entrypoints/admin/controllers/stimulus_config.js"],"sourcesContent":["import { Application } from \"@hotwired/stimulus\";\n\nconst application = Application.start();\n\n// Dynamically import all controllers in the directory\nconst controllers = import.meta.glob(\"./*.js\");\n\nfor (const [path, controller] of Object.entries(controllers)) {\n const controllerName = path\n .replace(\"./\", \"\")\n .replace(\".js\", \"\")\n .replace(\"_controller\", \"\");\n controller().then((module) => {\n application.register(controllerName, module.default);\n });\n}\n"],"file":"assets/stimulus_config-ZyOiUglT.js"}