1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,41496,e=>{"use strict";var t=e.i(43476),r=e.i(71645);e.i(54169);var a=e.i(37383);let i=(0,r.createContext)(null);e.s(["UserProvider",0,function({children:e}){let[n,s]=(0,r.useState)(null),[o,l]=(0,r.useState)(!0),c=(0,r.useCallback)(e=>{s(e),l(!1)},[]),d=(0,r.useCallback)(async()=>{try{let e=await a.auth.me();s({firstName:e.firstName??"",lastName:e.lastName??"",email:e.email??""})}catch{s(null)}finally{l(!1)}},[]);return(0,r.useEffect)(()=>{d()},[d]),(0,t.jsx)(i.Provider,{value:{user:n,setUser:c,refreshUser:d,loading:o},children:e})},"useUser",0,function(){let e=(0,r.useContext)(i);if(!e)throw Error("useUser must be used inside <UserProvider>");return e}])},48539,e=>{"use strict";var t=e.i(43476),r=e.i(71645),a=e.i(9165),i=e.i(41496);let n=(0,r.createContext)({isAdmin:!1,loading:!0});e.s(["AdminProvider",0,function({children:e}){let{user:s,loading:o}=(0,i.useUser)(),[l,c]=(0,r.useState)(!1),[d,u]=(0,r.useState)(!0);(0,r.useEffect)(()=>{if(o)return void u(!0);if(!s){c(!1),u(!1);return}let e=!0;return u(!0),a.api.get("/api/v1/auth/me/role").then(t=>{e&&c(!!t?.isAdmin)}).catch(()=>{e&&c(!1)}).finally(()=>{e&&u(!1)}),()=>{e=!1}},[s,o]);let m=(0,r.useMemo)(()=>({isAdmin:l,loading:d}),[l,d]);return(0,t.jsx)(n.Provider,{value:m,children:e})},"useIsAdmin",0,function(){return(0,r.useContext)(n)}])},3836,e=>{"use strict";var t=e.i(43476),r=e.i(3303),a=e.i(71645);e.s(["default",0,function(){return(0,a.useEffect)(()=>{let e=setInterval(()=>{if(window.clarity){clearInterval(e);let t="accepted"===localStorage.getItem("cookie-consent")?"granted":"denied";window.clarity("consentv2",{ad_Storage:t,analytics_Storage:t}),console.log("Clarity consent set to:",t)}},100),t=()=>{let e="accepted"===localStorage.getItem("cookie-consent")?"granted":"denied";window.clarity&&(window.clarity("consentv2",{ad_Storage:e,analytics_Storage:e}),console.log("Clarity consent updated to:",e))};return window.addEventListener("consentUpdated",t),()=>{clearInterval(e),window.removeEventListener("consentUpdated",t)}},[]),(0,t.jsx)(r.default,{id:"ms-clarity",strategy:"lazyOnload",onError:e=>console.warn("Clarity script failed to load:",e),dangerouslySetInnerHTML:{__html:` 2 (function(c,l,a,r,i,t,y){ 3 c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)}; 4 t=l.createElement(r); 5 t.async=1; 6 t.src="https://www.clarity.ms/tag/"+i; 7 y=l.getElementsByTagName(r)[0]; 8 y.parentNode.insertBefore(t,y); 9 })(window, document, "clarity", "script", "pxfxw2otze"); 10 `}})}])},65038,e=>{"use strict";var t=e.i(43476),r=e.i(3303);e.s(["default",0,function(){return(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(r.default,{id:"google-tag-manager",strategy:"lazyOnload",onError:e=>console.warn("Google Tag script failed to load:",e),children:`
vendor: 359 bytes, lines 10-14
10(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': 11 new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], 12 j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 13 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); 14 })(window,document,'script','dataLayer','
14GTM-N5WZVPQR
vendor: 3 bytes, line 14
14');
14`})})}])},48740,e=>{"use strict";var t=e.i(43476),r=e.i(3303);e.s(["default",0,function(){return(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(r.default,{id:"crisp-chat-script",strategy:"afterInteractive",children:'window.$crisp=[];window.CRISP_WEBSITE_ID="561ccd50-e11d-4181-b3e4-e8a40fd7d9da";(function(){d=document;s=d.createElement("script");s.src="https://client.crisp.chat/l.js";s.async=1;d.getElementsByTagName("head")[0].appendChild(s);})();'})})}])},22959,e=>{"use strict";var t=e.i(43476),r=e.i(71645),a=e.i(92496),i=e.i(41496),n=e.i(9165);e.i(54169);var s=e.i(37383);e.s(["default",0,function(){let{user:e,refreshUser:o}=(0,i.useUser)(),{showToast:l,ToastUI:c}=(0,a.default)(8e3),d=(0,r.useRef)(null),u=()=>{d.current&&(clearTimeout(d.current),d.current=null)},m=(0,r.useCallback)(async()=>{if(e)try{let e=(0,n.buildUrl)("/jwt/user/getJwtTokenExpiryDate"),t=await fetch(e,{credentials:"include"});if(!t.ok)try{await s.auth.me();return}catch(e){l("Session expired","Your session has expired.","error"),setTimeout(()=>window.location.reload(),2e3);return}let r=await t.json(),a=Number(r?.expirationDate??NaN);if(Number.isNaN(a))return;u();let i=a-Date.now();if(console.log("expiration:",a,"delay:",i,"ms"),i<=0)try{await s.auth.me()}catch(e){l("Session expired","Your session has expired.","error"),setTimeout(()=>window.location.reload(),2e3)}d.current=setTimeout(()=>{(async()=>{try{await s.auth.me()}catch(e){l("Session expired","Your session has expired.","error"),setTimeout(()=>window.location.reload(),2e3)}})()},i)}catch(e){console.error("checkExpiration error",e)}},[e,o,l]);return(0,r.useEffect)(()=>{m();let e=()=>{"visible"===document.visibilityState&&m()};return document.addEventListener("visibilitychange",e),()=>{document.removeEventListener("visibilitychange",e),u()}},[m]),(0,t.jsx)(t.Fragment,{children:c})}])}]);
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.