{ "version": 3, "sources": ["../../../Vettvangur.Frontend/src/scripts/utility/page-restore.ts"], "sourcesContent": ["/**\n * @type Function\n * @description Page restore for mobile iOS - without this back/forward buttons won't hide ie. loader covers (if there are any).\n */\n\nconst pageRestore = {\n init(): void {\n window.addEventListener('pageshow', (event) => {\n if (event.persisted) {\n window.location.reload()\n }\n })\n },\n}\n\nexport default pageRestore\n"], "mappings": "gCAKA,IAAMA,EAAc,CAClB,MAAa,CACX,OAAO,iBAAiB,WAAaC,GAAU,CACzCA,EAAM,WACR,OAAO,SAAS,OAAO,CAE3B,CAAC,CACH,CACF,EAEOC,EAAQF", "names": ["pageRestore", "event", "page_restore_default"] }