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A_CLIENT_ID","PUBLIC_OKTA_REDIRECT_URI","PUBLIC_OKTA_LOGIN_URI","useSessionStore","userInfo","campaignStore","useCampaignStore","campaignData","get","webid","signupReq","fromCampaignDataTypesToWebsiteSessionDataTypes","useCtaServicesApiClient","createCtaEvent","token","password","response","newUserInfo","updatedUser","useScholarshipWizard","handleError","error","event","status","message","COOKIE_VERSION_NAME","errorId","cookieVersion","getCookie","version","PUBLIC_AWS_BRANCH","PUBLIC_AWS_COMMIT_ID","msg","client","logErrorsRequest","e","datadogRum","match","param","ListingPageUtils","matchers","listingCourseCategorySlug","listingCourseTypeSlug","pageNumber","switch_value","ctx","dirty","create_if_block_1","insert_hydration","target","div","anchor","create_if_block","stores","$$props","page","constructors","components","form","data_0","data_1","data_2","data_3","afterUpdate","mounted","navigated","title","onMount","unsubscribe","$$invalidate","tick","$$value","nodes","__vitePreload","server_loads","dictionary","hooks","client_hooks.handleError"],"ignoreList":[],"sources":["../../../../../../src/hooks.client.ts","../../../../../../src/params/listingCourseCategorySlug.ts","../../../../../../src/params/listingCourseTypeSlug.ts","../../../../../../src/params/pageNumber.ts","../../../../../generated/client-optimized/matchers.js","../../../../../generated/root.svelte","../../../../../generated/client-optimized/app.js"],"sourcesContent":["import { PUBLIC_OKTA_ISSUER, PUBLIC_OKTA_DOMAIN, PUBLIC_OKTA_CLIENT_ID, PUBLIC_OKTA_REDIRECT_URI, PUBLIC_OKTA_LOGIN_URI } from '$env/static/public';\nimport { useCtaServicesApiClient } from '$lib/api/CtaServicesApiClientFactory';\nimport { type LogErrorsRequest, type SocialSignupRequest } from '$lib/api/generated/cta-services';\nimport { OktaSvelteStore, type IUserInfo } from '$lib/utils/auth-store';\nimport { useCampaignStore } from '$lib/utils/campaign-store';\nimport { createCtaEvent } from '$lib/utils/cta-flow/helpers';\nimport { fromCampaignDataTypesToWebsiteSessionDataTypes } from '$lib/utils/cta-services-mapper-utils';\nimport { useScholarshipWizard } from '$lib/utils/scholarship-wizard';\nimport { useSessionStore } from '$lib/utils/session-store';\nimport { get } from 'svelte/store';\nimport type { HandleClientError } from '@sveltejs/kit';\nimport { getCookie } from '$lib/utils/browser-utils';\nimport { PUBLIC_AWS_BRANCH, PUBLIC_AWS_COMMIT_ID } from '$env/static/public'\nimport { datadogRum } from '@datadog/browser-rum';\n\n// import { DbUtils } from '@24orebs/website-libs/dist/db-utils';\n// import { CookiesStoreImpl } from '@24orebs/website-libs/dist/cookie-store/store';\n// import { AssetsUtils } from '@24orebs/website-libs/dist/assets-utils';\n// import { CustomCourses } from '@24orebs/website-libs/dist/courses/custom-courses';\n// import { Search } from '@24orebs/website-libs/dist/search/search';\n// import { CourseUtils } from '@24orebs/website-libs/dist/courses/course-utils';\n// import { HistoryStoreImpl } from '@24orebs/website-libs/dist/history-store/store';\n// import { CountdownStore } from '@24orebs/website-libs/dist/countdown-store';\n// import { NewsUtils } from '@24orebs/website-libs/dist/news-utils';\n// import { ContactUtils } from '@24orebs/website-libs/dist/contact-utils';\n// import {InitiativesUtils} from \"@24orebs/website-libs/dist/initiatives-utils\";\n// import {StructureUtils} from \"@24orebs/website-libs/dist/structured-utils\";\n\n/*DbUtils.configure({\n coursesDbUrl: env.PUBLIC_COURSES_DB_URL,\n instructorsDbUrl: env.PUBLIC_INSTRUCTORS_DB_URL,\n partnersDbUrl: env.PUBLIC_PARTNERS_DB_URL,\n staticAssetsBaseUrl: env.PUBLIC_STATIC_ASSETS_BASE_URL,\n brochureBaseUrl: env.PUBLIC_BROCHURE_BASE_URL,\n forceToWebp: env.PUBLIC_FORCE_TO_WEBP\n});*/\n\n/* Search.configure({\n searchEngineUrl: env.PUBLIC_SEARCH_ENGINE_BASE_URL\n}); */\n\n/*\nCookiesStoreImpl.configure({\n trafficPercent: env.PUBLIC_ALTERNATE_STATIC_ASSETS_TRAFFIC_PERCENT,\n alternateStaticAssets: env.PUBLIC_ALTERNATE_STATIC_ASSETS_BASE_URL\n});\n\n/* AssetsUtils.configure({\n alternateStaticAssetsForceToWebp: env.PUBLIC_ALTERNATE_STATIC_ASSETS_FORCE_TO_WEBP,\n alternateStaticAssetsBaseUrl: env.PUBLIC_ALTERNATE_STATIC_ASSETS_BASE_URL\n}); \n\nCourseUtils.configure({\n baseUrl: env.PUBLIC_BASE_URL,\n});\n\nCustomCourses.configure({\n baseUrl: env.PUBLIC_BASE_URL,\n fondoNuoveCompetenze: env.PUBLIC_FONDO_NUOVE_COMPETENZE,\n offertaFormativaACatalogoPerLeAziende: env.PUBLIC_FORMAZIONE_INTERAZIENDALE_A_CATALOGO,\n});\n\nHistoryStoreImpl.configure({\n maxAgeHistoryItem: env.PUBLIC_MAX_AGE_HISTORY_ITEM\n});\n\nCountdownStore.configure({\n startDate: env.PUBLIC_PROMO_LABEL_START_DATE,\n endDate: env.PUBLIC_PROMO_LABEL_END_DATE\n});\n\nNewsUtils.configure({\n contentfulEnvId: env.PUBLIC_CONTENTFUL_ENVIRONMENT,\n newsVisibilities: 'Abilita su Mastery - Neodiplomati',\n});\n\nContactUtils.configure({\n callmeback: env.PUBLIC_CALLMEBACK\n});\n\nInitiativesUtils.configure({\n contentfulEnvId: env.PUBLIC_CONTENTFUL_ENVIRONMENT,\n destinationVisibilities: 'Abilita su Mastery - Neodiplomati',\n});\n\nStructureUtils.configure({\n baseUrl: env.PUBLIC_BASE_URL\n});\n*/\n\n/**\n * Configure the Okta Svelte Store with its callbacks\n */\nOktaSvelteStore.configure({\n issuer: PUBLIC_OKTA_ISSUER,\n domain: PUBLIC_OKTA_DOMAIN,\n clientId: PUBLIC_OKTA_CLIENT_ID,\n redirectUri: PUBLIC_OKTA_REDIRECT_URI,\n loginUri: PUBLIC_OKTA_LOGIN_URI,\n onAuthUpdatedCallbackFn: async () => {\n const sessionStore = useSessionStore();\n sessionStore.cleanPendingUserInfo();\n },\n onSignupCallbackFn: async (userInfo) => {\n const campaignStore = useCampaignStore();\n const campaignData = get(campaignStore.campaignData);\n const webid = get(campaignStore.webid);\n\n const signupReq: SocialSignupRequest = {\n name: userInfo.name,\n lastname: userInfo.surname,\n email: userInfo.email,\n phone: userInfo.phone || '',\n subscribe: userInfo.subscribe,\n businessUseConsent: userInfo.businessUseConsent,\n profilingConsent: userInfo.profilingConsent,\n referrer: campaignData?.referrer,\n utmCampaignSource: campaignData?.utm_source,\n utmCampaignMedium: campaignData?.utm_medium,\n utmCampaignName: campaignData?.utm_campaign,\n utmCampaignTerm: '',\n utmCampaignContent: '',\n fbclid: campaignData?.fbclid,\n gclid: campaignData?.gclid,\n gclsrc: campaignData?.gclsrc,\n websiteSessionData: {\n referrer: campaignData?.referrer,\n utmCampaignSource: campaignData?.utm_source,\n utmCampaignMedium: campaignData?.utm_medium,\n utmCampaignName: campaignData?.utm_campaign,\n utmCampaignTerm: '',\n utmCampaignContent: '',\n fbclid: campaignData?.fbclid,\n gclid: campaignData?.gclid,\n gclsrc: campaignData?.gclsrc,\n type: fromCampaignDataTypesToWebsiteSessionDataTypes(campaignData?.type),\n webid: webid ? webid : undefined,\n },\n device: campaignData?.device,\n };\n\n const client = useCtaServicesApiClient();\n await client.socialSignup(signupReq, createCtaEvent('social_signup'));\n },\n onActivateFn: async (token: string, password: string): Promise<{ username: string, password: string }> => {\n const client = useCtaServicesApiClient();\n\n const response = await client.activateUser({ token, password });\n\n if (!response || !response.username || !response.password) {\n throw new Error('Invalid response from the server');\n }\n\n return { username: response.username, password: response.password };\n },\n onUpdateUserProfileFn: async (newUserInfo): Promise => {\n const client = useCtaServicesApiClient();\n\n const updatedUser = await client.updateUserProfile({\n name: newUserInfo.name,\n lastname: newUserInfo.surname,\n phone: newUserInfo.phone || \"\",\n subscribe: newUserInfo.subscribe,\n businessUseConsent: newUserInfo.businessUseConsent,\n profilingConsent: newUserInfo.profilingConsent,\n birthday: newUserInfo.birthday || \"\",\n city: newUserInfo.city || \"\",\n address: newUserInfo.address || \"\",\n postalCode: newUserInfo.postalCode || \"\",\n organization: newUserInfo.organization || \"\",\n sector: newUserInfo.sector || \"\",\n function: newUserInfo.function || \"\"\n });\n\n return {\n id: newUserInfo.id,\n bsid: newUserInfo.bsid,\n fullname: newUserInfo.fullname,\n name: updatedUser.name || '',\n surname: updatedUser.lastname || '',\n phone: updatedUser.phone || '',\n email: newUserInfo.email || '',\n subscribe: updatedUser.subscribe ? updatedUser.subscribe : false,\n businessUseConsent: updatedUser.businessUseConsent ? updatedUser.businessUseConsent : false,\n profilingConsent: updatedUser.profilingConsent ? updatedUser.profilingConsent : false,\n birthday: updatedUser.birthday || '',\n city: updatedUser.city || '',\n address: updatedUser.address || '',\n postalCode: updatedUser.postalCode || '',\n organization: updatedUser.organization || '',\n sector: updatedUser.sector || '',\n function: updatedUser.function\n };\n },\n\n onSignoutCallbackFn: async () => {\n const scholarshipWizard = useScholarshipWizard();\n scholarshipWizard.cleanLocalStorage();\n }\n});\n\n/**\n * Unexpected client error handler\n * \n * @param The error object\n * @returns The error message and an error id\n */\nexport const handleError: HandleClientError = async ({ error, event, status, message }) => {\n const COOKIE_VERSION_NAME = '24orev';\n\n const errorId = crypto.randomUUID();\n\n const cookieVersion = getCookie(COOKIE_VERSION_NAME);\n const version = `${PUBLIC_AWS_BRANCH} - ${PUBLIC_AWS_COMMIT_ID}`;\n\n // send error to an error tracking service\n console.log(event.url, error);\n\n const msg = {\n request: {\n url: event?.url\n },\n message: message,\n response: {\n status\n },\n errorId\n };\n\n try {\n\n const msg = JSON.stringify({\n request: {\n url: event?.url\n },\n message: message,\n response: {\n status\n },\n errorId\n });\n\n const client = useCtaServicesApiClient();\n const logErrorsRequest: LogErrorsRequest = {\n date: new Date().toISOString(),\n page: event.url.pathname,\n version: 'SvelteKit StoredV:' + cookieVersion + ' - ServerV:' + version,\n message: msg,\n stackTrace: error ? ' Trace: ' + JSON.stringify(error) : ''\n };\n // TODO: remove aftter testing of datadog error logging\n await client.logErrors(logErrorsRequest);\n } catch (e) {\n console.error('Error while logging error', e);\n }\n\n // send error to datadog\n try {\n datadogRum.addError(error, msg);\n } catch (e) {\n console.error('Error while logging error to datadog', e);\n }\n\n return {\n message,\n status,\n errorId\n };\n}\n\n","import { ListingPageUtils } from \"$lib/utils/listing-page\";\n\n/** @type {import ('@sveltejs/kit').ParamMatcher} */\nexport function match(param) {\n\treturn ListingPageUtils.getAllListingPageByCourseCategory().includes(param);\n}","import { ListingPageUtils } from \"$lib/utils/listing-page\";\n\n/** @type {import ('@sveltejs/kit').ParamMatcher} */\nexport function match(param) {\n\treturn ListingPageUtils.getAllListingPageByCourseType().includes(param);\n}","/** @type {import ('@sveltejs/kit').ParamMatcher} */\nexport function match(param) {\n // check if the param is page-\n return !!param.match(/^page-\\d+$/);\n}","import { match as listingCourseCategorySlug } from \"../../../src/params/listingCourseCategorySlug.ts\";\nimport { match as listingCourseTypeSlug } from \"../../../src/params/listingCourseTypeSlug.ts\";\nimport { match as pageNumber } from \"../../../src/params/pageNumber.ts\";\n\nexport const matchers = { listingCourseCategorySlug, listingCourseTypeSlug, pageNumber };","\n\n\n\n{#if constructors[1]}\n\t\n\t\t\t\t\t\t{#if constructors[2]}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{#if constructors[3]}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{:else}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{/if}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t{:else}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t{/if}\n\t\t\t\t\t\n\t\n{:else}\n\t\n\t\n{/if}\n\n{#if mounted}\n\t
\n\t\t{#if navigated}\n\t\t\t{title}\n\t\t{/if}\n\t
\n{/if}","import * as client_hooks from '../../../src/hooks.client.ts';\n\n\nexport { matchers } from './matchers.js';\n\nexport const nodes = [\n\t() => import('./nodes/0'),\n\t() => import('./nodes/1'),\n\t() => import('./nodes/2'),\n\t() => import('./nodes/3'),\n\t() => import('./nodes/4'),\n\t() => import('./nodes/5'),\n\t() => import('./nodes/6'),\n\t() => import('./nodes/7'),\n\t() => import('./nodes/8'),\n\t() => import('./nodes/9'),\n\t() => import('./nodes/10'),\n\t() => import('./nodes/11'),\n\t() => import('./nodes/12'),\n\t() => import('./nodes/13'),\n\t() => import('./nodes/14'),\n\t() => import('./nodes/15'),\n\t() => import('./nodes/16'),\n\t() => import('./nodes/17'),\n\t() => import('./nodes/18'),\n\t() => import('./nodes/19'),\n\t() => import('./nodes/20'),\n\t() => import('./nodes/21'),\n\t() => import('./nodes/22'),\n\t() => import('./nodes/23'),\n\t() => import('./nodes/24'),\n\t() => import('./nodes/25'),\n\t() => import('./nodes/26'),\n\t() => import('./nodes/27'),\n\t() => import('./nodes/28'),\n\t() => import('./nodes/29'),\n\t() => import('./nodes/30'),\n\t() => import('./nodes/31'),\n\t() => import('./nodes/32'),\n\t() => import('./nodes/33'),\n\t() => import('./nodes/34'),\n\t() => import('./nodes/35'),\n\t() => import('./nodes/36'),\n\t() => import('./nodes/37'),\n\t() => import('./nodes/38'),\n\t() => import('./nodes/39'),\n\t() => import('./nodes/40'),\n\t() => import('./nodes/41'),\n\t() => import('./nodes/42'),\n\t() => import('./nodes/43'),\n\t() => import('./nodes/44'),\n\t() => import('./nodes/45'),\n\t() => import('./nodes/46'),\n\t() => import('./nodes/47'),\n\t() => import('./nodes/48'),\n\t() => import('./nodes/49'),\n\t() => import('./nodes/50'),\n\t() => import('./nodes/51'),\n\t() => import('./nodes/52'),\n\t() => import('./nodes/53'),\n\t() => import('./nodes/54'),\n\t() => import('./nodes/55'),\n\t() => import('./nodes/56'),\n\t() => import('./nodes/57'),\n\t() => import('./nodes/58'),\n\t() => import('./nodes/59'),\n\t() => import('./nodes/60'),\n\t() => import('./nodes/61'),\n\t() => import('./nodes/62'),\n\t() => import('./nodes/63'),\n\t() => import('./nodes/64'),\n\t() => import('./nodes/65'),\n\t() => import('./nodes/66'),\n\t() => import('./nodes/67'),\n\t() => import('./nodes/68'),\n\t() => import('./nodes/69'),\n\t() => import('./nodes/70'),\n\t() => import('./nodes/71'),\n\t() => import('./nodes/72'),\n\t() => import('./nodes/73'),\n\t() => import('./nodes/74'),\n\t() => import('./nodes/75'),\n\t() => import('./nodes/76'),\n\t() => import('./nodes/77'),\n\t() => import('./nodes/78'),\n\t() => import('./nodes/79')\n];\n\nexport const server_loads = [];\n\nexport const dictionary = {\n\t\t\"/(app)\": [~7,[2]],\n\t\t\"/(app)/404\": [~8,[2]],\n\t\t\"/(app)/about\": [~11,[2]],\n\t\t\"/(app)/b2b\": [~12,[2]],\n\t\t\"/(app)/b2b/branding\": [~14,[2]],\n\t\t\"/(app)/b2b/finance\": [~15,[2]],\n\t\t\"/(app)/b2b/job-finding\": [~16,[2]],\n\t\t\"/(app)/b2b/offerta/b2b-formazione-su-misura\": [~18,[2]],\n\t\t\"/(app)/b2b/offerta/b2b-hr-for-breakfast\": [~19,[2]],\n\t\t\"/(app)/b2b/offerta/b2b-le-masterclass\": [~20,[2]],\n\t\t\"/(app)/b2b/offerta/b2b-offerta-formativa-a-catalogo-per-le-aziende\": [~21,[2]],\n\t\t\"/(app)/b2b/offerta/[slug]/brochure_download_thankyou\": [~17,[2]],\n\t\t\"/(app)/b2b/opportunita/b2b-fondo-nuove-competenze\": [~23,[2]],\n\t\t\"/(app)/b2b/opportunita/[slug]/brochure_download_thankyou\": [~22,[2]],\n\t\t\"/(app)/b2b/skilling\": [~24,[2]],\n\t\t\"/(app)/b2b/thankyou\": [25,[2]],\n\t\t\"/(app)/b2b/[type]/[slug]/contact\": [~13,[2]],\n\t\t\"/(app)/certificazioni-ISO\": [~26,[2]],\n\t\t\"/(app)/contact-us\": [~27,[2]],\n\t\t\"/(app)/cookie-policy\": [~28,[2]],\n\t\t\"/(app)/diritto-di-recesso\": [~29,[2]],\n\t\t\"/(app)/docenti\": [~30,[2]],\n\t\t\"/(app)/docenti/[slug]\": [~31,[2]],\n\t\t\"/(app)/edu/[slug]\": [~32,[2]],\n\t\t\"/(app)/esplora\": [~33,[2]],\n\t\t\"/(app)/eventi\": [~34,[2]],\n\t\t\"/(app)/eventi/[slug]\": [~35,[2]],\n\t\t\"/(app)/eventi/[slug]/booking_confirm\": [~36,[2]],\n\t\t\"/(app)/eventi/[slug]/richiedi_informazioni\": [~37,[2]],\n\t\t\"/(app)/exception\": [38,[2]],\n\t\t\"/(app)/faq\": [~39,[2]],\n\t\t\"/(app)/finanziamenti\": [~40,[2]],\n\t\t\"/(app)/formazione/[courseTypeSlug]/[courseSlug]/[idSession]/application_form\": [~42,[2]],\n\t\t\"/(app)/formazione/[courseTypeSlug]/[courseSlug]/[idSession]/application_laurea_result\": [~43,[2]],\n\t\t\"/(app)/formazione/[courseTypeSlug]/[courseSlug]/[idSession]/application_result\": [~44,[2]],\n\t\t\"/(app)/formazione/[courseTypeSlug]/[courseSlug]/[idSession]/buy/options\": [~45,[4]],\n\t\t\"/(app)/formazione/[courseTypeSlug]/[courseSlug]/[idSession]/buy/packages\": [~46,[4]],\n\t\t\"/(app)/formazione/[courseTypeSlug]/[courseSlug]/[idSession]/checkout\": [~47,[2]],\n\t\t\"/(app)/formazione/[courseTypeSlug]/[courseSlug]/[idSession]/checkout/complete\": [~48,[2]],\n\t\t\"/(app)/formazione/[courseTypeSlug]/[courseSlug]/[idSession]/checkout/customer-balance\": [~49,[2]],\n\t\t\"/(app)/formazione/[courseTypeSlug]/[courseSlug]/[idSession]/checkout/error\": [~50,[2]],\n\t\t\"/(app)/formazione/[courseTypeSlug]/[courseSlug]/[idSession]/checkout/return\": [51,[2]],\n\t\t\"/(app)/formazione/[courseTypeSlug]/[courseSlug]/[idSession]/download_brochure\": [~52,[2]],\n\t\t\"/(app)/formazione/[courseTypeSlug]/[courseSlug]/[idSession]/request_information_form\": [~53,[2]],\n\t\t\"/(app)/formazione/[courseTypeSlug]/[courseSlug]/[idSession]/request_information_result\": [~54,[2]],\n\t\t\"/(app)/formazione/[courseTypeSlug]/[courseSlug]/[[idSession]]\": [~41,[2,3]],\n\t\t\"/(app)/inforisk\": [~55,[2]],\n\t\t\"/(app)/login\": [56,[2,5]],\n\t\t\"/(app)/login/activate\": [57,[2,5]],\n\t\t\"/(app)/login/callback\": [58,[2,5]],\n\t\t\"/(app)/lp/[slug]\": [~59,[2]],\n\t\t\"/(app)/mappa-del-sito\": [~60,[2]],\n\t\t\"/(app)/mba\": [~61,[2]],\n\t\t\"/(app)/my-data\": [62,[2]],\n\t\t\"/(app)/my-privacy\": [63,[2]],\n\t\t\"/(app)/news\": [~64,[2]],\n\t\t\"/(app)/news/[slug]\": [~65,[2]],\n\t\t\"/(app)/orientamento\": [~66,[2]],\n\t\t\"/(app)/orientamento/highlevel-thankyou\": [68,[2]],\n\t\t\"/(app)/orientamento/highlevel\": [~67,[2]],\n\t\t\"/(app)/orientamento/thankyou\": [69,[2]],\n\t\t\"/(app)/partners\": [~70,[2]],\n\t\t\"/(app)/partners/[slug]\": [~71,[2]],\n\t\t\"/(app)/privacy-policy\": [~72,[2]],\n\t\t\"/(app)/registrati\": [73,[2,6]],\n\t\t\"/(app)/registrati/completion\": [74,[2,6]],\n\t\t\"/(app)/registrati/form\": [75,[2,6]],\n\t\t\"/(app)/sedi\": [~76,[2]],\n\t\t\"/(app)/termini-e-condizioni\": [77,[2]],\n\t\t\"/(app)/trasparenza\": [~78,[2]],\n\t\t\"/(app)/whistleblowing\": [~79,[2]],\n\t\t\"/(app)/[listingCourseTypeSlug=listingCourseTypeSlug]/[[page=pageNumber]]\": [~10,[2]],\n\t\t\"/(app)/[listingCourseCategorySlug]/[[page=pageNumber]]\": [~9,[2]]\n\t};\n\nexport const hooks = {\n\thandleError: client_hooks.handleError || (({ error }) => { console.error(error) }),\n\n\treroute: (() => {})\n};\n\nexport { default as root } from '../root.svelte';"],"file":"_app/immutable/entry/app.DsaG01SJ.js"}