PageSourceSearch

https://betterlytics.io/_next/static/chunks/app/(app)/layout-b4000d507f0e2207.js

js betterlytics.io collected 2026-09-24 19:13:07 UTC 8,629 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4944],{276:(e,t,r)=>{"use strict";r.d(t,{default:()=>a});var n=r(19173),l=r(21715);function a(e){let{children:t}=e;return(0,n.jsx)(l.x,{children:t})}},1809:(e,t,r)=>{"use strict";r.d(t,{Toaster:()=>s});var n=r(19173),l=r(21297),a=r(89990);let s=e=>{let{...t}=e,{theme:r="system"}=(0,l.D)();return(0,n.jsx)(a.l,{theme:r,className:"toaster group",style:{"--normal-bg":"var(--popover)","--normal-text":"var(--popover-foreground)","--normal-border":"var(--border)"},...t})}},19413:(e,t,r)=>{"use strict";r.d(t,{default:()=>a});var n=r(12993),l=r(21297);function a(){let{theme:e,systemTheme:t}=(0,l.D)();return(0,n.useEffect)(()=>{let e=document.querySelector('meta[name="theme-color"]');e&&requestAnimationFrame(()=>{let t=getComputedStyle(document.documentElement).getPropertyValue("--background").trim();t&&e.setAttribute("content",t)})},[e,t]),null}},21297:(e,t,r)=>{"use strict";r.d(t,{D:()=>c,N:()=>d});var n=r(12993),l=(e,t,r,n,l,a,s,o)=>{let i=document.documentElement,u=["light","dark"];function c(t){var r;(Array.isArray(e)?e:[e]).forEach(e=>{let r="class"===e,n=r&&a?l.map(e=>a[e]||e):l;r?(i.classList.remove(...n),i.classList.add(a&&a[t]?a[t]:t)):i.setAttribute(e,t)}),r=t,o&&u.includes(r)&&(i.style.colorScheme=r)}if(n)c(n);else try{let e=localStorage.getItem(t)||r,n=s&&"system"===e?window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":e;c(n)}catch(e){}},a=["light","dark"],s="(prefers-color-scheme: dark)",o="undefined"==typeof window,i=n.createContext(void 0),u={setTheme:e=>{},themes:[]},c=()=>{var e;return null!=(e=n.useContext(i))?e:u},d=e=>n.useContext(i)?n.createElement(n.Fragment,null,e.children):n.createElement(y,{...e}),m=["light","dark"],y=e=>{let{forcedTheme:t,disableTransitionOnChange:r=!1,enableSystem:l=!0,enableColorScheme:o=!0,storageKey:u="theme",themes:c=m,defaultTheme:d=l?"system":"light",attribute:y="data-theme",value:v,children:g,nonce:w,scriptProps:S}=e,[k,E]=n.useState(()=>b(u,d)),[A,C]=n.useState(()=>"system"===k?h():k),P=v?Object.values(v):c,O=n.useCallback(e=>{let t=e;if(!t)return;"system"===e&&l&&(t=h());let n=v?v[t]:t,s=r?f(w):null,i=document.documentElement,u=e=>{"class"===e?(i.classList.remove(...P),n&&i.classList.add(n)):e.startsWith("data-")&&(n?i.setAttribute(e,n):i.removeAttribute(e))};if(Array.isArray(y)?y.forEach(u):u(y),o){let e=a.includes(d)?d:null,r=a.includes(t)?t:e;i.style.colorScheme=r}null==s||s()},[w]),T=n.useCallback(e=>{let t="function"==typeof e?e(k):e;E(t);try{localStorage.setItem(u,t)}catch(e){}},[k]),x=n.useCallback(e=>{C(h(e)),"system"===k&&l&&!t&&O("system")},[k,t]);n.useEffect(()=>{let e=window.matchMedia(s);return e.addListener(x),x(e),()=>e.removeListener(x)},[x]),n.useEffect(()=>{let e=e=>{e.key===u&&(e.newValue?E(e.newValue):T(d))};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)},[T]),n.useEffect(()=>{O(null!=t?t:k)},[t,k]);let L=n.useMemo(()=>({theme:k,setTheme:T,forcedTheme:t,resolvedTheme:"system"===k?A:k,themes:l?[...c,"system"]:c,systemTheme:l?A:void 0}),[k,T,t,A,l,c]);return n.createElement(i.Provider,{value:L},n.createElement(p,{forcedTheme:t,storageKey:u,attribute:y,enableSystem:l,enableColorScheme:o,defaultTheme:d,value:v,themes:c,nonce:w,scriptProps:S}),g)},p=n.memo(e=>{let{forcedTheme:t,storageKey:r,attribute:a,enableSystem:s,enableColorScheme:o,defaultTheme:i,value:u,themes:c,nonce:d,scriptProps:m}=e,y=JSON.stringify([a,r,i,t,c,u,s,o]).slice(1,-1);return n.createElement("script",{...m,suppressHydrationWarning:!0,nonce:"undefined"==typeof window?d:"",dangerouslySetInnerHTML:{__html:"(".concat(l.toString(),")(").concat(y,")")}})}),b=(e,t)=>{let r;if(!o){try{r=localStorage.getItem(e)||void 0}catch(e){}return r||t}},f=e=>{let t=document.createElement("style");return e&&t.setAttribute("nonce",e),t.appendChild(document.createTextNode("*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(t),()=>{window.getComputedStyle(document.body),setTimeout(()=>{document.head.removeChild(t)},1)}},h=e=>
1(e||(e=window.matchMedia(s)),e.matches?"dark":"light")},21715:(e,t,r)=>{"use strict";r.d(t,{i:()=>c,x:()=>d});var n=r(19173),l=r(12993),a=r(38255),s=r(87542),o=r(39864),i=r(16259),u=r(26154);r(71498);let c=(0,i.pY)();function d(e){let{children:t}=e,[r]=(0,l.useState)(()=>new a.E({defaultOptions:{queries:{retry:1,staleTime:3e5,gcTime:18e5,refetchOnWindowFocus:!1}}})),[i]=(0,l.useState)(()=>c.createClient({links:[(0,o.N9)({url:"".concat("","/api/trpc"),transformer:u.Ay})]}));return(0,n.jsx)(c.Provider,{client:i,queryClient:r,children:(0,n.jsx)(s.Ht,{client:r,children:t})})}},21922:(e,t,r)=>{"use strict";function n(){return!!document.querySelector('script[src*="analytics.js"]')}function l(){var e;window.betterlytics&&window.betterlytics.q||(window.betterlytics={q:(null==(e=window.betterlytics)?void 0:e.q)||[],event:function(){window.betterlytics.q.push(arguments)}})}r.d(t,{A:()=>a});var a={init:function(e,t={}){if(!e)throw Error("Betterlytics: siteId is required");if(n()){t.debug&&console.warn("Betterlytics: Already initialized");return}let r={siteId:e,serverUrl:t.serverUrl||"https://betterlytics.io/event",scriptUrl:t.scriptUrl||"https://betterlytics.io/analytics.js",dynamicUrls:t.dynamicUrls||[],enableWebVitals:t.enableWebVitals||!1,disableOutboundLinks:t.disableOutboundLinks||!1,outboundLinksMode:t.outboundLinksMode||"domain",enableSessionReplay:t.enableSessionReplay||!1,consentReplay:t.consentReplay||!1,replaySample:t.replaySample||5,replayMinDuration:t.replayMinDuration||15,replayIdleCutoff:t.replayIdleCutoff||600,replayMaxDuration:t.replayMaxDuration||1200,disableReplayOnUrls:t.disableReplayOnUrls||[],trackErrors:t.trackErrors||!1,trackConsoleErrors:t.trackConsoleErrors||!1,replayOnError:t.replayOnError||!1,globalProperties:t.globalProperties||{}};l();let a=document.createElement("script");a.async=!0,a.src=r.scriptUrl,a.setAttribute("data-site-id",r.siteId),a.setAttribute("data-server-url",r.serverUrl),a.setAttribute("data-dynamic-urls",r.dynamicUrls.join(",")),a.setAttribute("data-web-vitals",r.enableWebVitals.toString()),a.setAttribute("data-outbound-links",r.disableOutboundLinks?"off":r.outboundLinksMode),a.setAttribute("data-replay",r.enableSessionReplay.toString()),a.setAttribute("data-consent-replay",r.consentReplay.toString()),a.setAttribute("data-replay-sample",r.replaySample.toString()),a.setAttribute("data-replay-min-duration",r.replayMinDuration.toString()),a.setAttribute("data-replay-idle-cutoff",r.replayIdleCutoff.toString()),a.setAttribute("data-replay-max-duration",r.replayMaxDuration.toString()),r.disableReplayOnUrls.length>0&&a.setAttribute("data-disable-replay-on-urls",r.disableReplayOnUrls.join(",")),a.setAttribute("data-replay-on-error",r.replayOnError.toString()),a.setAttribute("data-track-errors",r.trackErrors.toString()),a.setAttribute("data-track-console-errors",r.trackConsoleErrors.toString()),a.setAttribute("data-global-properties",JSON.stringify(r.globalProperties)),document.head.appendChild(a)},event:function(e,t){var r;n()||l(),null==(r=window.betterlytics)||r.event(e,t)},setGlobalProperties:function(e){var t,r;null==(r=null==(t=window.betterlytics)?void 0:t.setGlobalProperties)||r.call(t,e)},clearGlobalProperties:function(){var e,t;null==(t=null==(e=window.betterlytics)?void 0:e.clearGlobalProperties)||t.call(e)},getGlobalProperties:function(){var e,t,r;return null!=(r=null==(t=null==(e=window.betterlytics)?void 0:e.getGlobalProperties)?void 0:t.call(e))?r:{}}}},37930:(e,t,r)=>{"use strict";r.d(t,{y:()=>s});var n=r(53314),l=r(74237),a=r(99988);let s=(0,n.M)({plugins:[(0,l.N)(),(0,a.Z)()]})},41536:(e,t,r)=>{"use strict";r.d(t,{Q:()=>a,u:()=>l});var n=r(21922);function l(e,t){n.A.event(e,t)}function a(e){n.A.setGlobalProperties(e)}},72217:(e,t,r)=>{Promise.resolve().then(r.bind(r,94406)),Promise.resolve().then(r.bind(r,79348)),Promise.resolve().then(r.bind(r,276)),Promise.resolve().then(r.bind(r,19413)),Promise.resolve().then(r.bind(r,1809))},79348:(e,t,r)=>{"use strict";r.d(t,{default:()=>o});var n=r(12993),l=r(74690),a=r(37930),s=r(41536);function o(){let e=(0,l.Ym)(),{data:t,isPending:r}
1=a.y.useSession();return(0,n.useEffect)(()=>{r||(0,s.Q)({locale:e,logged_in:!!t})},[e,t,r]),null}},94406:(e,t,r)=>{"use strict";r.d(t,{default:()=>a});var n=r(74690),l=r(19173);function a(e){let{locale:t,...r}=e;if(!t)throw Error(void 0);return(0,l.jsx)(n.Dk,{locale:t,...r})}}},e=>{e.O(0,[4690,9990,8125,1746,7437,1299,3183,7358],()=>e(e.s=72217)),_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.