{"version":3,"file":"js/playground-1e90b5aef0e99cdea487.js","mappings":"wLAQA,MAAMA,EAAcC,EAAAA,GAAAA,QACpBD,EAAYE,SAAS,WAAYC,EAAAA,IACjCH,EAAYE,SAAS,SAAUE,EAAAA,IAC/BJ,EAAYE,SAAS,UAAWG,EAAAA,IAGhCL,EAAYM,OAAQ,EAMpBN,EAAYE,SAAS,aAAcK,EAAAA,SAGnCP,EAAYE,SAAS,YAAaM,EAAAA,SAGlCR,EAAYE,SAAS,qBAAsBO,EAAAA,SAG3CT,EAAYE,SAAS,WAAYQ,EAAAA,SAGjCV,EAAYE,SAAS,SAAUS,EAAAA,SAG/BX,EAAYE,SAAS,kBAAmBU,EAAAA,SAExCC,OAAOC,SAAWd,EAQlBe,SAASC,iBAAiB,mBAAmB,WAC3CH,OAAOI,SAAS,EAAE,EACnB,IAEDF,SAASC,iBAAiB,sBAAsB,WAC9ChB,EAAYkB,YAAYC,SAAQ,SAAUC,GACxC,IACuC,oBAA1BA,EAAWC,YACpBD,EAAWC,YAEF,CAAZ,MAAQC,GAAI,CACd,GACF,G","sources":["webpack://app/./app/javascript/packs/playground.js"],"sourcesContent":["import \"@hotwired/turbo-rails\"\n\nimport { Application } from \"@hotwired/stimulus\"\nimport { definitionsFromContext } from \"@hotwired/stimulus-webpack-helpers\"\n// import Dropdown from 'stimulus-dropdown'\nimport { Popover, Dropdown, Toggle } from \"tailwindcss-stimulus-components\"\n\n\nconst application = Application.start()\napplication.register('dropdown', Dropdown)\napplication.register('toggle', Toggle)\napplication.register('popover', Popover)\n\n// Configure Stimulus development experience\napplication.debug = false\n// const context = require.context(\"controllers/playground/\", true, /_controller\\.js$/)\n\n// application.load(definitionsFromContext(context))\n\nimport PlaygroundController from \"../controllers/playground_controller.js\"\napplication.register(\"playground\", PlaygroundController)\n\nimport PlayFormController from \"../controllers/play_form_controller.js\"\napplication.register(\"play-form\", PlayFormController)\n\nimport AppearancePopoverController from \"../controllers/appearance_popover_controller.js\"\napplication.register(\"appearance-popover\", AppearancePopoverController)\n\nimport DgModalController from \"../controllers/dg_modal_controller.js\"\napplication.register(\"dg-modal\", DgModalController)\n\nimport StylesController from \"../controllers/styles_controller.js\"\napplication.register(\"styles\", StylesController)\n\nimport PlaygroundTourController from \"../controllers/playground_tour_controller.js\"\napplication.register(\"playground-tour\", PlaygroundTourController)\n\nwindow.Stimulus = application\n// application.register('dropdown', Dropdown)\n\nexport { application }\n\nimport \"../utils/helpers\"\nimport \"../controllers\"\n// Support component names relative to this directory:\ndocument.addEventListener(\"turbolinks:load\", function() {\n window.scrollTo(0,0)\n});\n\ndocument.addEventListener('turbo:before-cache', function () {\n application.controllers.forEach(function (controller) {\n try {\n if (typeof controller.disconnect === 'function') {\n controller.disconnect()\n }\n } catch (_) {}\n })\n})\n\n// // Alternative: Add this in the connect function of the stimulus controller.\n// document.addEventListener('turbo:before-cache', function () {\n// this.disconnect();\n// })"],"names":["application","Application","register","Dropdown","Toggle","Popover","debug","PlaygroundController","PlayFormController","AppearancePopoverController","DgModalController","StylesController","PlaygroundTourController","window","Stimulus","document","addEventListener","scrollTo","controllers","forEach","controller","disconnect","_"],"sourceRoot":""}