{ "version": 3, "sources": ["../../../../Vettvangur.Frontend/src/scripts/scripts.ts"], "sourcesContent": ["document.addEventListener('DOMContentLoaded', () => {\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 // blocks\n\n if (document.querySelector('.clients-block')) {\n import('blocks/clients-block').then((module) => module.default.init())\n }\n\n if (document.querySelector('.offer-block')) {\n import('blocks/offer-block').then((module) => module.default.init())\n }\n\n if (document.querySelector('.projects-block')) {\n import('blocks/projects-block').then((module) => module.default.init())\n }\n\n if (document.querySelector('.team-block')) {\n import('blocks/team-block').then((module) => module.default.init())\n }\n\n // components\n\n // if (document.querySelector('.title__doodles')) {\n // import('components/doodles').then((module) => module.default.init())\n // }\n\n if (document.querySelector('.lines')) {\n import('components/lines').then((module) => module.default.init())\n }\n\n if (document.querySelector('.orbs')) {\n import('components/orbs').then((module) => module.default.init())\n }\n\n if (document.querySelector('.text-mask')) {\n import('components/text-mask').then((module) => module.default.init())\n }\n\n // sections\n\n if (document.querySelector('.footer')) {\n import('sections/footer').then((module) => module.default.init())\n }\n\n if (document.querySelector('.header')) {\n import('sections/header').then((module) => module.default.init())\n }\n\n // dev helpers\n\n if (process.env.NODE_ENV !== 'production') {\n import('utility/dev-helpers').then((module) => {\n module.contentEditable.init()\n module.goToPage.init(['shift', 'b'], '/blocks')\n module.goToPage.init(['shift', 's'], '/styleguide')\n module.overlayGrid.init()\n })\n }\n\n // page load\n\n document.body.classList.remove('noscript')\n\n if (document.querySelector('.loader')) {\n import('components/loader').then((module) => module.default.init())\n }\n\n // setTimeout(() => {\n // document.body.classList.remove('preload')\n // }, 123)\n})\n\nwindow.addEventListener('load', () => {\n import('helpers/helpers').then((module) => {\n module.refreshScrollTriggers()\n })\n})\n"], "mappings": "AAAA,SAAS,iBAAiB,mBAAoB,IAAM,CAGlD,OAAO,iCAAsB,EAAE,K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