{"version":3,"file":"application-CKtSQTEU.js","sources":["../../../app/javascript/entrypoints/application.js"],"sourcesContent":["// To see this message, add the following to the `` section in your\n// views/layouts/application.html.erb\n//\n// <%= vite_client_tag %>\n// <%= vite_javascript_tag 'application' %>\n// console.log('Vite ⚡️ Rails')\n\n// If using a TypeScript entrypoint file:\n// <%= vite_typescript_tag 'application' %>\n//\n// If you want to use .jsx or .tsx, add the extension:\n// <%= vite_javascript_tag 'application.jsx' %>\n\n// console.log('Visit the guide for more information: ', 'https://vite-ruby.netlify.app/guide/rails')\n\n// Example: Load Rails libraries in Vite.\n//\n// import * as Turbo from '@hotwired/turbo'\n// Turbo.start()\n//\n// import ActiveStorage from '@rails/activestorage'\n// ActiveStorage.start()\n//\n// // Import all channels.\n// const channels = import.meta.globEager('./**/*_channel.js')\n\n// This makes css work\nimport './application.scss'\n\nif ('serviceWorker' in navigator) {\n window.addEventListener('load', function() {\n navigator.serviceWorker.register('/vite/sw.js').then(function(registration) {\n // Registration was successful\n console.log('ServiceWorker registration successful with scope: ', registration.scope);\n }, function(err) {\n // registration failed :(\n console.log('ServiceWorker registration failed: ', err);\n });\n });\n }"],"names":["registration","err"],"mappings":"kCA6BI,kBAAmB,WACnB,OAAO,iBAAiB,OAAQ,UAAW,CACzC,UAAU,cAAc,SAAS,aAAa,EAAE,KAAK,SAASA,EAAc,CAE1E,QAAQ,IAAI,qDAAsDA,EAAa,KAAK,CACrF,EAAE,SAASC,EAAK,CAEf,QAAQ,IAAI,sCAAuCA,CAAG,CAC9D,CAAO,CACP,CAAK"}