PageSourceSearch

https://www.tvlplay.no/_next/static/chunks/app/%5Blocale%5D/layout…?dpl=dpl_5vGN62SGQi7hYroLjmLVE1TH3nbi

js tvlplay.no collected 2026-10-03 18:52:34 UTC 19,680 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8450],{2142:(e,t,r)=>{"use strict";r.d(t,{useAppConfiguration:()=>i});var o=r(50549),n=r(23691);let i=()=>{let e=(0,o.useContext)(n.B);if(!e)throw Error("useAppConfiguration must be used within an AppConfigProvider");return{...e,resertSettings:()=>{document.cookie="alias=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;"}}}},2173:(e,t,r)=>{"use strict";r.d(t,{default:()=>n});var o=r(28778);r(94175).E.configure((0,o.zg)({appType:"web"}),{ssr:!0});let n=()=>null},3964:(e,t,r)=>{"use strict";r.d(t,{useRouteTracker:()=>i});var o=r(50549),n=r(8884);function i(e){let{currentPath:t,previousPath:r}=(0,n.b)(),[i,a]=(0,o.useState)(!1),[s,l]=(0,o.useState)(!1);return(0,o.useEffect)(()=>{var o,n;if(t===r)return;l(null===r);let i=null!=(o=null==t?void 0:t.includes(e))&&o,s=null!=(n=null==r?void 0:r.includes(e))&&n;a(i&&!s)},[t,r,e]),{isRoutePatternChanged:i,isFreshPageLoad:s}}},7925:(e,t,r)=>{"use strict";r.d(t,{C:()=>m,RealUserMonitoring:()=>p,S:()=>h});var o=r(64721),n=r(46698),i=r(41461),a=r(59387),s=r(58595),l=r(9009),c=r(89910),d=r(50549);let u=!1,p=()=>{let{email:e}=(0,s.useAuthentication)(),[t,i]=(0,d.useState)(),[a,p]=(0,d.useState)(),m=(0,c.l)("NEXT_PUBLIC_ENVIRONMENT"),h=(0,c.l)("NEXT_PUBLIC_TENANT"),v="".concat(h,"-").concat(m);return(0,d.useEffect)(()=>{e&&(t&&t.setUser({email:e}),a&&a.setUser({email:e}))},[e,t,a]),(0,d.useEffect)(()=>{if((0,n.cW)())return;let e=(0,l.d)();Promise.resolve().then(r.bind(r,59387)).then(t=>{var r,o;let n=t.datadogRum;n.init({applicationId:"727278c7-cae3-4a23-a976-3e4667d66544",clientToken:"pub1f2a879d73462b803dfaa1990f0bee85",site:"datadoghq.com",service:"vimond-via-webapp",env:v,...e?{version:e}:{},sessionSampleRate:parseInt(null!=(r=(0,c.l)("NEXT_PUBLIC_DATADOG_RUM_SAMPLE_RATE"))?r:"0.1",10),sessionReplaySampleRate:parseInt(null!=(o=(0,c.l)("NEXT_PUBLIC_DATADOG_RUM_REPLAY_SAMPLE_RATE"))?o:"0.1",10),trackUserInteractions:!0,trackResources:!0,trackLongTasks:!0,defaultPrivacyLevel:"mask-user-input"}),i(n),u=!0}).catch(e=>n.vF.error("Failed to load datadogRum",e)),Promise.resolve().then(r.bind(r,41461)).then(t=>{var r;let o=t.datadogLogs;o.init({clientToken:"pub1f2a879d73462b803dfaa1990f0bee85",site:"datadoghq.com",service:"vimond-via-webapp",env:v,...e?{version:e}:{},forwardErrorsToLogs:!0,sessionSampleRate:parseInt(null!=(r=(0,c.l)("NEXT_PUBLIC_DATADOG_LOGS_SAMPLE_RATE"))?r:"100",10)}),p(o),u=!0}).catch(e=>n.vF.error("Failed to load datadogLogs",e))},[v]),(0,o.jsx)(o.Fragment,{})},m=e=>{let{context:t={},error:r,message:o="Error"}=e;if(u){a.datadogRum.addError(r);let e="".concat(o," ").concat(JSON.stringify(t));i.datadogLogs.logger.error(e,t,r)}},h=e=>{let{context:t={},message:r}=e;if(u){a.datadogRum.addAction(r,t);let e="".concat(r," ").concat(JSON.stringify(t));i.datadogLogs.logger.info(e,t)}}},8342:(e,t,r)=>{"use strict";r.d(t,{ThemeSwitch:()=>m});var o=r(64721),n=r(26235),i=r(84903),a=r(55888),s=r(84813),l=r(12444),c=r(701),d=r(89910),u=r(28370),p=r(50549);let m=e=>{let{color:t,menuposition:r}=e,[m,h]=(0,p.useState)(!1),{resolvedTheme:v,setTheme:f,theme:b}=(0,u.D)(),{t:P}=(0,n.B)();if((0,p.useEffect)(()=>{h(!0)},[]),"false"!==(0,d.l)("NEXT_PUBLIC_THEME_SWITCHER_ENABLED"))return m?(0,o.jsxs)(i.W1,{as:"div",className:"relative opacity-70 hover:opacity-100",children:[(0,o.jsxs)(i.W1.Button,{className:"relative flex rounded-md text-sm","data-testid":"theme-switcher-button",children:[(0,o.jsx)("span",{className:"absolute -inset-1.5"}),(0,o.jsx)("span",{className:"sr-only",children:P("open-theme-menu")}),(0,o.jsx)("div",{className:"group my-0",children:(0,o.jsxs)("div",{children:["dark"===v&&(0,o.jsx)(s.A,{className:"h-6 w-6",color:null!=t?t:"text-text-primary"}),"light"===v&&(0,o.jsx)(l.A,{className:"h-6 w-6",color:null!=t?t:"text-text-primary"})]})})]}),(0,o.jsxs)(i.W1.Items,{className:"bg-background-primary absolute right-0 z-10 mt-2 origin-top-right rounded-md py-1 shadow-lg focus:outline-none ".concat("over"===r?"-translate-y-full translate-x-full":""),children:[(0,o.jsx)(i.W1.Item,{children:(0,o.jsxs)("button",{className:"hover:bg-background-secondary flex w-full gap-1 px-4 py-2 text-left text-sm ".concat("light"===b?"font-bold":"opacity-70"),onClick:()=>f("light"),children:[(0,o.jsx)(l.A,{className:"mr-2 h-5 w-5"}),P("theme.light")]})}),(0,o.jsx)(i.W1.Item,{children:(0,o.jsxs)("button",{className:"hover:bg-background-secondary flex w-full gap-1 px-4 py-2 text-left text-sm ".concat("dark"===b?"font-bold":"opacity-70"),onClick:()=>f("dark"),children:[(0,o.jsx)(s.A,{className:"mr-2 h-5 w-5"}),P("theme.dark")]})}),(0,o.jsx)(i.W1.Item,{children:(0,o.jsxs)("button",{className:"hover:bg-background-secondary flex w-full gap-1 px-4 py-2 text-left text-sm ".concat("system"===b?"font-bold":"opacity-70"),onClick:()=>f("system"),children:[(0,o.jsx)(c.A,{className:"mr-2 h-5 w-5"}),P("theme.system")]})})]})]}):(0,o.jsx)(a.A,{className:"h-6 w-6 animate-spin opacity-30",color:"white"})}},8884:(e,t,r)=>{"use strict";r.d(t,{b:()=>i});var o=r(50549),n=r(61932);function i(){let e=(0,o.useContext)(n.RouteHistoryContext);if(!e)throw Error("useRouteHistory should be used within RouteHistoryProvi
1der");return e}},9009:(e,t,r)=>{"use strict";r.d(t,{d:()=>n});var o=r(89910);let n=()=>{let e=(0,o.l)("NEXT_PUBLIC_APP_VERSION");if(e)return e}},14223:(e,t,r)=>{"use strict";r.d(t,{default:()=>s});var o=r(64721),n=r(70879),i=r(23344),a=r(89910);let s=e=>{let{children:t,stripePk:r}=e;if(!r)return(0,o.jsx)(o.Fragment,{children:t});let s=(0,i.c)(null!=r?r:"",{stripeAccount:(0,a.l)("NEXT_PUBLIC_STRIPE_ACCOUNT_ID")});return(0,o.jsx)(n.Elements,{stripe:s,options:{mode:"setup",currency:"eur"},children:t})}},23691:(e,t,r)=>{"use strict";r.d(t,{AppConfigProvider:()=>i,B:()=>n});var o=r(64721);let n=(0,r(50549).createContext)(null),i=e=>{let{authenticationEnabled:t=!0,children:r,themeBrandColor:i}=e;return(0,o.jsx)(n.Provider,{value:{authenticationEnabled:t,themeBrandColor:i},children:r})}},25380:(e,t,r)=>{"use strict";r.d(t,{useSubprofiles:()=>h});var o=r(18808),n=r(12615),i=r(42308),a=r(1315),s=r(81385),l=r(89910);let c=a.Ik({subProfileId:a.Yj(),subProfileName:a.Yj(),birthDate:a.Yj().optional(),properties:a.Ik({color:a.Yj().optional()}).optional()}),d=a.Ik({data:a.YO(c).optional()});var u=r(50549),p=r(58595),m=r(73055);let h=()=>{let{jwt:e}=(0,p.useAuthentication)(),t=(0,u.useContext)(m.z);if(!t)throw Error("useSubprofiles must be used within an SubprofileProvider");let{setActiveSubprofile:r,setSubprofileToken:a}=t,c=(0,o.jE)(),h=["subprofiles"],{data:v,error:f,isLoading:b,isFetched:P}=(0,n.I)({queryKey:h,queryFn:()=>e?(e=>e?(0,s.C)("https://".concat((0,l.l)("NEXT_PUBLIC_TENANT"),".subprofile.cf.").concat((0,l.l)("NEXT_PUBLIC_ENVIRONMENT"),".vmnd.tv/api/v1/subprofiles"),{method:"GET",headers:{accept:"application/json",authorization:"Bearer ".concat(e)},redirect:"follow"}).then(e=>e.json()).then(e=>{var t;return null!=(t=d.parse(e).data)?t:[]}):Promise.resolve([]))(e):Promise.resolve([]),enabled:!!e}),y=(0,i.n)({mutationFn:async t=>{if(e)return((e,t)=>{let r={method:"POST",headers:{"content-type":"application/json",accept:"application/json",authorization:"Bearer ".concat(e)},body:JSON.stringify(t),redirect:"follow"};return(0,s.C)("https://".concat((0,l.l)("NEXT_PUBLIC_TENANT"),".subprofile.cf.").concat((0,l.l)("NEXT_PUBLIC_ENVIRONMENT"),".vmnd.tv/api/v1/subprofiles"),r).then(e=>e.json()).then(e=>e.data)})(e,t)},onSuccess:(e,t)=>{var r;let o=[...null!=(r=c.getQueryData(h))?r:[],t];c.setQueryData(h,o)}}),j=(0,i.n)({mutationFn:async t=>{if(e)return(0,s.C)("https://".concat((0,l.l)("NEXT_PUBLIC_TENANT"),".subprofile.cf.").concat((0,l.l)("NEXT_PUBLIC_ENVIRONMENT"),".vmnd.tv/api/v1/subprofiles/").concat(t.subProfileId),{method:"DELETE",headers:{accept:"application/json",authorization:"Bearer ".concat(e)},redirect:"follow"})},onSuccess:(e,t)=>{let r=c.getQueryData(h).filter(e=>e.subProfileId!==t.subProfileId);c.setQueryData(h,r)}}),N=(0,i.n)({mutationFn:async t=>{if(e)return((e,t)=>{let r={method:"PUT",headers:{"content-type":"application/json",accept:"application/json",authorization:"Bearer ".concat(e)},body:JSON.stringify(t),redirect:"follow"};return(0,s.C)("https://".concat((0,l.l)("NEXT_PUBLIC_TENANT"),".subprofile.cf.").concat((0,l.l)("NEXT_PUBLIC_ENVIRONMENT"),".vmnd.tv/api/v1/subprofiles/").concat(t.subProfileId),r).then(e=>e.json()).then(e=>e.data)})(e,t)},onSuccess(e,t){let r=c.getQueryData(h).map(e=>e.subProfileId===t.subProfileId?t:e);c.setQueryData(h,r)}}),g=async o=>{if(!e)return;let n=await (e=>{let{jwt:t,subprofile:r}=e;return(0,s.C)("https://".concat((0,l.l)("NEXT_PUBLIC_TENANT"),".subprofile.cf.").concat((0,l.l)("NEXT_PUBLIC_ENVIRONMENT"),".vmnd.tv/api/v1/subprofiles/").concat(r.subProfileId,"/token"),{method:"GET",headers:{accept:"application/json",authorization:"Bearer ".concat(t)},redirect:"follow"}).then(e=>e.headers.get("X-Vimond-Subprofile")).then(e=>null!=e?e:"")})({jwt:e,subprofile:o});if("web"===t.app){let e=n.split(".")[1];if(!e)return;let t=new Date(1e3*JSON.parse(atob(e)).exp);t.setMinutes(t.getMinutes()-5);let r=JSON.stringify(o);document.cookie="subprofile=".concat(r,"; path=/; Secure; SameSite=Strict");let i=JSON.stringify(n);document.cookie="subprofile_token=".concat(i,"; path=/; Secure; SameSite=Strict; expires=").concat(t)}if(r(o),a(n),"web"===t.app){let e=new URLSearchParams(window.location.search).get("returnUrl"),t="auth_redirect_url",r=sessionStorage.getItem(t);sessionStorage.removeItem(t);let o="/browse";e&&e.startsWith("/")&&!e.startsWith("//")?o=decodeURIComponent(e):r&&r.startsWith("/")&&!r.startsWith("//")&&(o=r),window.location.replace(o)}};return{...t,setActiveSubprofile:g,subprofiles:v,isSubprofilesLoading:b,isSubprofilesFetched:P,subprofilesError:f,createSubprofile:y.mutateAsync,deleteSubProfile:j.mutateAsync,updateProfile:N.mutateAsync}}},38766:(e,t,r)=>{Promise.resolve().then(r.bind(r,94836)),Promise.resolve().then(r.bind(r,88592)),Promise.resolve().then(r.bind(r,2142)),Promise.resolve().then(r.bind(r,23691)),Promise.resolve().then(r.bind(r,2173)),Promise.resolve().then(r.bind(r,7925)),Promise.resolve().then(r.bind(r,3964)),Promise.resolve().then(r.bind(r,61932)),Promise.resolve().then(r.bind(r,14223)),Promise.resolve().then(r.t.bind(r,90733,23)),Promise.resolve().then(r.bind(r,8342)),Promise.resolve().then(r.bind(r,72403)),Promise.resolve().then(r.bind(r,88865)),Promise.resolve().then(r.bind(r,70104)),Promise.resolve().then(r.bind(r,63347)),Promise.resolve().then(r.bind(r,97431)),Promise.resolve().then(r.t.bind(r,59844,23)),Promise.resolve().then(r.t.bind(r,93117,23)),Promise.resolve().then(r.t.bind(r,20214,23)),Promise.resolve().then(r.bind(r,9727)),Promise.resolve().then(r.bind(r,18376)),Promise.resolve().then(r.bind(r,58595)),Promise.resolve().then(r.bind(r,29407)),Promise.resolve().then(r.bind(r,25380)),Promise.resolve().then(r.bind(r,73055)),Promise.resolve().then(r.bind(r,51992)),Promise.resolve().then(r.bind(r,51334)),Promise.resolve().then(r.bind(r,27453)),Promise.resolve().then(r.bind(r,93275)),Promise.resolve().then(r.bind(r,74861))},51334:(e,t,r)=>{"use strict";r.d(t,{PlayerProfilesProvider:()=>h,usePlayerProfilesContext:()=>v});var o=r(64721),n=r(50549),i=r(12615),a=r(16492),s=r(89910);let l=e=>"object"==typeof e&&null!==e&&!!("string"==typeof e.id&&"string"==typeof e.position&&(e=>"object"==typeof e&&null!==e&&"string"==typeof e.type&&"string"==typeof e.url)(e.tag))&&(void 0===e.adUnitName||null===e.adUnitName||"string"==typeof e.adUnitName),c=e=>"object"==typeof e&&null!==e&&"string"==typeof e.id&&"string"==typeof e.name&&Array.isArray(e.adBreaks)&&e.adBreaks.every(l),d=a.V?(0,s.l)("NEXT_PUBLIC_TENANT_ID"):(0,s.l)("NEXT_PUBLIC_TENANT"),u="https://".concat(d,".player-profile-api.").concat((0,s.l)("NEXT_PUBLIC_ENVIRONMENT"),".vmnd.tv/profiles"),p=async()=>{let e=await fetch(u);if(!e.ok)throw Error("Failed to fetch player profiles");let t=await e.json();if(!(e=>!!("object"==typeof e&&null!==e&&Array.isArray(e.data))&&e.data.every(c))(t))throw Error("Invalid player profile response");return t},m=(0,n.createContext)(void 0),h=e=>{let{children:t}=e,r=(()=>{let{data:{data:e}={},isLoading:t}=(0,i.I)({queryKey:["playerProfiles"],queryFn:p,enabled:"true"===(0,s.l)("NEXT_PUBLIC_USE_PLAYER_PROFILE_SERVICE"),staleTime:3e5,refetchOnMount:!1,refetchOnWindowFocus:!1,refetchOnReconnect:!1,retry:1}),r=(0,s.l)("NEXT_PUBLIC_DEFAULT_AD_PROFILE_ID");return{playerProfiles:e,isLoading:t,getAdBreaksForProfile:t=>{if(!e)return;let o=null==t?void 0:t.trim(),n=null==r?void 0:r.trim(),i=""===o?void 0:o,a=""===n?void 0:n,s=null!=i?i:a;if(!s)return;let l=e.find(e=>e.id===s);if(null==l?void 0:l.adBreaks)return l.adBreaks;
1if(i&&a&&a!==i){var c;return null==(c=e.find(e=>e.id===a))?void 0:c.adBreaks}}}})();return(0,o.jsx)(m.Provider,{value:r,children:t})},v=()=>{let e=(0,n.useContext)(m);if(void 0===e)throw Error("usePlayerProfilesContext must be used within a PlayerProfilesProvider");return e}},51992:(e,t,r)=>{"use strict";r.d(t,{usePlayback:()=>I});var o=r(12615),n=r(1315),i=r(81385),a=r(89910),s=r(58303),l=r.n(s);let c=n.Ik({headers:n.KC([n.YO(n.bz()),n.g1(n.Yj(),n.bz())]),uri:n.Yj()}),d=n.Ik({uri:n.Yj(),headers:n.Ik({}),certificateUrl:n.Yj().optional()}),u=n.Ik({id:n.Yj(),bitrate:n.ai(),mediaFormat:n.Yj(),mimeType:n.Yj(),manifest:c,drmProxyType:n.Yj().optional(),drm:d.optional()}),p=n.Ik({name:n.Yj(),locale:n.Yj(),audience:n.Yj(),contentType:n.Yj(),url:n.Yj()}),m=n.Ik({buildName:n.Yj(),buildVersion:n.Yj(),countryCode:n.Yj(),deviceId:n.Yj(),deviceOS:n.Yj(),deviceType:n.Yj(),drm:n.Yj(),envPlatform:n.Yj(),envVersion:n.Yj(),pageUrl:n.Yj(),platform:n.Yj(),playerEvent:n.Yj(),playerState:n.Yj(),streamUrl:n.Yj(),userAgent:n.Yj(),videoFormat:n.Yj(),videoProtocol:n.Yj(),viewingSession:n.Yj()}),h=n.Ik({duration:n.ai(),position:n.Yj()}),v=n.Ik({onLiveEdge:n.Yj(),liveResumePossible:n.Yj(),position:n.Yj()}),f=n.Ik({assetId:n.Yj(),categoryId:n.Yj(),title:n.Yj(),assetType:n.Yj(),playbackType:n.Yj(),eventNumber:n.ai(),vod:h.optional(),live:v.optional()}),b=n.Ik({title:n.Yj().optional(),type:n.Yj(),startTime:n.ai(),endTime:n.ai(),images:n.Ik({defaultUrl:n.Yj()}).optional()}),P=n.Ik({eventName:n.Yj(),originator:n.Yj(),originatorId:n.Yj(),subProfileId:n.Yj(),versions:n.YO(n.Yj()),tenant:n.Yj(),logData:n.Yj(),client:m,progress:f,timestamp:n.Yj(),eventInterval:n.ai()}),y=n.Ik({body:P,eventInterval:n.ai(),uri:n.Yj()}),j=n.Ik({assetId:n.Yj(),assetTitle:n.Yj(),categoryId:n.Yj(),startTime:n.ai(),endTime:n.ai(),duration:n.ai(),transmissionTime:n.Yj(),isDrmProtected:n.zM(),isLive:n.zM(),recommendedStream:u.optional(),alternativeStreams:n.YO(u).optional(),subtitles:n.YO(p).optional(),playerEventRequest:y.optional(),markers:n.YO(b).optional()}),N=n.Ik({title:n.Yj().optional(),detail:n.Yj().optional(),code:n.Yj().optional()}),g=n.Ik({data:n.YO(j).optional(),errors:n.YO(N).optional()});var E=r(58595),T=r(25380);let I=(e,t,r)=>{var n,s,c;let{jwt:d}=(0,E.useAuthentication)(),{subprofileToken:u}=(0,T.useSubprofiles)(),p=["play",e];d&&p.push(d),u&&p.push(u);let{data:m,error:h,isLoading:v}=(0,o.I)({queryKey:p,queryFn:async()=>await ((e,t,r,o,n)=>{let s={method:"POST",headers:{"content-type":"application/json",accept:"application/json","user-agent":t,...void 0,...r&&{authorization:"Bearer ".concat(r)},...o&&{"X-Vimond-Subprofile":o}},redirect:"follow",body:JSON.stringify(r?{device:(e=>({label:(e=>{var t,r,o,n,i;let a=l()(e),s=null!=(t=a.device.model)?t:"Unknown",c=null!=(r=a.os.name)?r:"Unknown",d=null!=(o=a.os.version)?o:"Unknown",u=null!=(n=a.browser.name)?n:"Unknown",p=null!=(i=a.browser.version)?i:"Unknown";return"".concat(s," ").concat(c," (").concat(d,") ").concat(u," (").concat(p,")")})(e),udid:(e=>{let t=e.replace(/[^a-z0-9]/gi,"-");return t.length>=36?t.substring(0,36):t.padEnd(36,"-")})(e)}))(t)}:{})};return(0,i.C)("https://".concat((0,a.l)("NEXT_PUBLIC_TENANT"),".play.cf.").concat((0,a.l)("NEXT_PUBLIC_ENVIRONMENT"),".vmnd.tv/api/v2/asset/").concat(e,"/play?extraFields=markers,alternativeStreams,streamsTemplate"),s).then(e=>e.json()).then(e=>g.parse(e))})(e,t,d,u)||null,initialData:r&&{data:[r]},enabled:!!e,refetchOnWindowFocus:!1});return{playback:null==m||null==(n=m.data)?void 0:n[0],error:null!=(c=null==m||null==(s=m.errors)?void 0:s[0])?c:h?{title:null==h?void 0:h.name,code:void 0,dettail:void 0}:void 0,isLoading:v}}},56467:(e,t,r)=>{"use strict";r.d(t,{Nj:()=>o.AppSwitcher,hn:()=>n.useAppConfiguration});var o=r(88592),n=r(2142);r(23691)},61932:(e,t,r)=>{"use strict";r.r(t),r.d(t,{RouteHistoryContext:()=>a,RouteHistoryProvider:()=>s});var o=r(64721),n=r(94106),i=r(50549);let a=(0,i.createContext)({currentPath:null,previousPath:null});function s(e){let{children:t}=e,r=(0,n.usePathname)(),[s,l]=(0,i.useState)({currentPath:r,previousPath:null});return(0,i.useEffect)(()=>
1{l(e=>e.currentPath===r?e:{currentPath:r,previousPath:e.currentPath})},[r]),(0,o.jsx)(a.Provider,{value:s,children:t})}},72403:(e,t,r)=>{"use strict";r.d(t,{ThemeProvider:()=>d});var o=r(64721),n=r(56467),i=r(28370),a=r(89910);let s=["system","light","dark"],l=(0,a.l)("NEXT_PUBLIC_DEFAULT_THEME"),c=s.includes(l)?l:"system",d=e=>{let{children:t}=e,{themeBrandColor:r}=(0,n.hn)(),a=r&&":root {\n            --color-brand: ".concat(r,";\n        }\n        :root[class=light] {\n            --color-brand: ").concat(r,";\n        }\n    ");return(0,o.jsxs)(i.N,{attribute:"class",themes:s,defaultTheme:c,enableSystem:"system"===c,children:[(0,o.jsx)("style",{children:a}),t]})}},73055:(e,t,r)=>{"use strict";r.d(t,{SubprofileProvider:()=>a,z:()=>i});var o=r(64721),n=r(50549);let i=(0,n.createContext)(null),a=e=>{let{app:t,children:r}=e,[a,s]=(0,n.useState)(),[l,c]=(0,n.useState)();return(0,n.useEffect)(()=>{if("web"!==t)return;let e=document.cookie,r=e.split("; ").find(e=>e.startsWith("subprofile")),o=null==r?void 0:r.split("=")[1];c(r&&o?JSON.parse(o):void 0);let n=e.split("; ").find(e=>e.startsWith("subprofile_token")),i=null==n?void 0:n.split("=")[1];s(n&&i?JSON.parse(i):void 0)},[t]),(0,o.jsx)(i.Provider,{value:{app:t,subprofileToken:a,activeSubprofile:l,setSubprofileToken:s,setActiveSubprofile:c,isSelected:!!a},children:r})}},74861:(e,t,r)=>{"use strict";r.d(t,{TanstackProvider:()=>s});
1var o=r(64721),n=r(77255),i=r(18808),a=r(50549);let s=e=>{let{children:t}=e,[r]=(0,a.useState)(()=>new n.E);return(0,o.jsx)(i.Ht,{client:r,children:t})}},88592:(e,t,r)=>{"use strict";r.d(t,{AppSwitcher:()=>s});var o=r(64721),n=r(94836),i=r(50549),a=r(2142);let s=()=>{var e;let[t,r]=i.useState(!1),{resertSettings:s}=(0,a.useAppConfiguration)();if((0,i.useEffect)(()=>{r(!0)},[]),!t)return(0,o.jsx)(o.Fragment,{});let l=null==(e=document)?void 0:e.cookie.split("; ").find(e=>e.startsWith("alias="));return l?(0,o.jsxs)("div",{className:"text-text-secondary text-center",children:[(0,o.jsxs)("div",{children:["You are currently viewing site:"," ",(0,o.jsx)("span",{className:"text-text-primary font-bold",children:l.split("=")[1]})]}),(0,o.jsx)("div",{children:(0,o.jsx)(n.Button,{variant:"destructiveSmall",onClick:()=>{s(),window.location.href="/"},children:"Go back to default site"})})]}):(0,o.jsx)(o.Fragment,{})}},88865:(e,t,r)=>{"use strict";r.d(t,{WebVitals:()=>a});var o=r(18702),n=r(46698),i=r(25246);function a(){return(0,i.useReportWebVitals)(e=>{if(o.KJ||"localhost"===window.location.hostname)switch(e.name){case"TTFB":n.vF.log("TTFB:",e.rating,e);break;case"LCP":n.vF.log("LCP:",e.rating,e);break;case"CLS":n.vF.log("CLS:",e.rating,e);break;case"FCP":n.vF.log("FCP:",e.rating,e);break;case"FID":n.vF.log("FID:",e.rating,e)}}),null}},90733:()=>{}},e=>{e.O(0,[7377,6325,3091,2270,5004,2721,7395,3602,9636,1588,862,1189,7212,1315,1151,8303,879,9662,6194,6698,7115,3924,8595,4150,5717,4297,7358],()=>e(e.s=38766)),_N_E=e.O()}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.