{ "version": 3, "sources": ["../../../../Vettvangur.Frontend/src/scripts/scripts.ts"], "sourcesContent": ["document.addEventListener('DOMContentLoaded', async () => {\n // utilities\n\n import('utility/page-restore').then((module) => module.default.init())\n import('utility/prefetch').then((module) => module.default.init())\n // import('utility/smooth-scroll').then((module) => module.default.init())\n import('utility/vertical-resize-check').then((module) => module.default.init())\n\n // components\n\n if (document.querySelector('.banner')) {\n import('components/banners').then((module) => module.default.init())\n }\n\n if (document.querySelector('.countdown')) {\n import('components/countdown').then((module) => module.default.init())\n }\n\n if (document.querySelector('.filters')) {\n import('components/filters').then((module) => module.default.init())\n }\n\n if (document.querySelector('.header')) {\n import('components/header').then((module) => module.default.init())\n }\n\n if (document.querySelector('.search')) {\n import('components/search').then((module) => module.default.init())\n }\n\n // page load\n\n document.body.classList.remove('noscript')\n\n setTimeout(() => {\n // if (sessionStorage.getItem('pageLoaded') === 'true') {\n document.body.classList.remove('preload')\n setTimeout(() => {\n document.body.classList.remove('body--hidden')\n }, 321)\n // }\n }, 123)\n})\n"], "mappings": "AAAA,SAAS,iBAAiB,mBAAoB,SAAY,CAGxD,OAAO,iCAAsB,EAAE,KAAMA,GAAWA,EAAO,QAAQ,KAAK,CAAC,EACrE,OAAO,6BAAkB,EAAE,KAAMA,GAAWA,EAAO,QAAQ,KAAK,CAAC,EAEjE,OAAO,0CAA+B,EAAE,KAAMA,GAAWA,EAAO,QAAQ,KAAK,CAAC,EAI1E,SAAS,cAA2B,SAAS,GAC/C,OAAO,4BAAoB,EAAE,KAAMA,GAAWA,EAAO,QAAQ,KAAK,CAAC,EAGjE,SAAS,cAA2B,YAAY,GAClD,OAAO,8BAAsB,EAAE,KAAMA,GAAWA,EAAO,QAAQ,KAAK,CAAC,EAGnE,SAAS,cAA2B,UAAU,GAChD,OAAO,4BAAoB,EAAE,KAAMA,GAAWA,EAAO,QAAQ,KAAK,CAAC,EAGjE,SAAS,cAA2B,SAAS,GAC/C,OAAO,2BAAmB,EAAE,KAAMA,GAAWA,EAAO,QAAQ,KAAK,CAAC,EAGhE,SAAS,cAA2B,SAAS,GAC/C,OAAO,2BAAmB,EAAE,KAAMA,GAAWA,EAAO,QAAQ,KAAK,CAAC,EAKpE,SAAS,KAAK,UAAU,OAAO,UAAU,EAEzC,WAAW,IAAM,CAEf,SAAS,KAAK,UAAU,OAAO,SAAS,EACxC,WAAW,IAAM,CACf,SAAS,KAAK,UAAU,OAAO,cAAc,CAC/C,EAAG,GAAG,CAER,EAAG,GAAG,CACR,CAAC", "names": ["module"] }