1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,9801,92970,53529,53367,3401,e=>{"use strict";var t=e.i(40075),r=e.i(91487),n=Object.prototype.hasOwnProperty;let a=new WeakMap,i=()=>{},u=i(),l=Object,o=e=>e===u,c=e=>"function"==typeof e,s=(e,t)=>({...e,...t}),d=e=>c(e.then),f={},g={},h="undefined",v=typeof window!=h,p=typeof document!=h,y=v&&"Deno"in window,w=(e,t)=>{let r=a.get(e);return[()=>!o(t)&&e.get(t)||f,n=>{if(!o(t)){let a=e.get(t);t in g||(g[t]=a),r[5](t,s(a,n),a||f)}},r[6],()=>!o(t)&&t in g?g[t]:!o(t)&&e.get(t)||f]},b=!0,[m,S]=v&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[i,i],O={initFocus:e=>(p&&document.addEventListener("visibilitychange",e),m("focus",e),()=>{p&&document.removeEventListener("visibilitychange",e),S("focus",e)}),initReconnect:e=>{let t=()=>{b=!0,e()},r=()=>{b=!1};return m("online",t),m("offline",r),()=>{S("online",t),S("offline",r)}}},E=!t.default.useId,R=!v||y,k=e=>v&&typeof window.requestAnimationFrame!=h?window.requestAnimationFrame(e):setTimeout(e,1),_=R?t.useEffect:t.useLayoutEffect,T="u">typeof navigator&&navigator.connection,D=!R&&T&&(["slow-2g","2g"].includes(T.effectiveType)||T.saveData),C=new WeakMap,L=(e,t)=>e===`[object ${t}]`,j=0,P=e=>{let t,r,n=typeof e,a=l.prototype.toString.call(e),i=L(a,"Date"),u=L(a,"RegExp"),c=L(a,"Object");if(l(e)!==e||i||u)t=i?e.toJSON():"symbol"==n?e.toString():"string"==n?JSON.stringify(e):""+e;else{if(t=C.get(e))return t;if(t=++j+"~",C.set(e,t),Array.isArray(e)){for(r=0,t="@";r<e.length;r++)t+=P(e[r])+",";C.set(e,t)}if(c){t="#";let n=l.keys(e).sort();for(;!o(r=n.pop());)o(e[r])||(t+=r+":"+P(e[r])+",");C.set(e,t)}}return t},V=e=>{if(c(e))try{e=e()}catch(t){e=""}let t=e;return[e="string"==typeof e?e:(Array.isArray(e)?e.length:e)?P(e):"",t]},x=0,I=()=>++x;async function F(...e){let[t,r,n,i]=e,l=s({populateCache:!0,throwOnError:!0},"boolean"==typeof i?{revalidate:i}:i||{}),f=l.populateCache,g=l.rollbackOnError,h=l.optimisticData,v=l.throwOnError;if(c(r)){let e=[];for(let n of t.keys())!/^\$(inf|sub)\$/.test(n)&&r(t.get(n)._k)&&e.push(n);return Promise.all(e.map(p))}return p(r);async function p(r){let i,[s]=V(r);if(!s)return;let[p,y]=w(t,s),[b,m,S,O]=a.get(t),E=()=>{let e=b[s];return(c(l.revalidate)?l.revalidate(p().data,r):!1!==l.revalidate)&&(delete S[s],delete O[s],e&&e[0])?e[0](2).then(()=>p().data):p().data};if(e.length<3)return E();let R=n,k=!1,_=I();m[s]=[_,0];let T=!o(h),D=p(),C=D.data,L=D._c,j=o(L)?C:L;if(T&&y({data:h=c(h)?h(j,C):h,_c:j}),c(R))try{R=R(j)}catch(e){i=e,k=!0}if(R&&d(R)){let e;if(R=await R.catch(e=>{i=e,k=!0}),_!==m[s][0]){if(k)throw i;return R}k&&T&&(e=i,"function"==typeof g?g(e):!1!==g)&&(f=!0,y({data:j,_c:u}))}if(f&&!k&&(c(f)?y({data:f(R,j),error:u,_c:u}):y({data:R,error:u,_c:u})),m[s][1]=I(),Promise.resolve(E()).then(()=>{y({_c:u})}),k){if(v)throw i;return}return R}}let M=(e,t)=>{for(let r in e)e[r][0]&&e[r][0](t)},A=(e,t)=>{if(!a.has(e)){let r=s(O,t),n=Object.create(null),l=F.bind(u,e),o=i,c=Object.create(null),d=(e,t)=>{let r=c[e]||[];return c[e]=r,r.push(t),()=>{let e=r.indexOf(t);e>=0&&(r[e]=r[r.length-1],r.pop())}},f=(t,r,n)=>{e.set(t,r);let a=c[t];if(a)for(let e of a)e(r,n)},g=t=>{let r=a.get(e),[,i,u,l]=r,o=I();for(let e in r[8]++,u)delete u[e];for(let e in l)delete l[e];for(let e in i)i[e]=[o,o];let s={};for(let t of[...e.keys()]){let r=e.get(t);e.delete(t);let n=c[t];if(n)for(let e of n)e(s,r)}let d=!t||!1!==t.revalidate;for(let e in n){let t=n[e];for(let e=0;e<t.length;e++)t[e](4,{revalidate:d&&!e})}},h=()=>{if(!a.has(e)&&(a.set(e,[n,Object.create(null),Object.create(null),Object.create(null),l,f,d,g,0]),!R)){let t=r.initFocus(setTimeout.bind(u,M.bind(u,n,0))),i=r.initReconnect(setTimeout.bind(u,M.bind(u,n,1)));o=()=>{t&&t(),i&&i(),a.delete(e)}}};return h(),[e,l,h,o,g]}let r=a.get(e);return[e,r[4],u,u,r[7]]},[W,q,,,$]=A(new Map),N=s({onLoadingSlow:i,onSuccess:i,onError:i,onErrorRetry:(e,t,r,n,a)=>{let i=r.errorRetryCount,u=a.retryCount,l=~~((Math.random()+.5)*(1<<(u<8?u:8)))*r.errorRetryInterval;(o(i)||!(u>i))&&setTimeout(n,l,a)},onDiscarded:i,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:D?1e4:5e3,focusThrottleInterval:5e3,dedupingInterval:2e3,loadingTimeout:D?5e3:3e3,compare:function e(t,r){var a,i;if(t===r)return!0;
1if(t&&r&&(a=t.constructor)===r.constructor){if(a===Date)return t.getTime()===r.getTime();if(a===RegExp)return t.toString()===r.toString();if(a===Array){if((i=t.length)===r.length)for(;i--&&e(t[i],r[i]););return -1===i}if(!a||"object"==typeof t){for(a in i=0,t)if(n.call(t,a)&&++i&&!n.call(r,a)||!(a in r)||!e(t[a],r[a]))return!1;return Object.keys(r).length===i}}return t!=t&&r!=r},isPaused:()=>!1,cache:W,mutate:q,unload:$,fallback:{}},{isOnline:()=>b,isVisible:()=>{let e=p&&document.visibilityState;return o(e)||"hidden"!==e}}),U=(e,t)=>{let r=s(e,t);if(t){let{use:n,fallback:a,cacheData:i}=e,{use:u,fallback:l,cacheData:o}=t;n&&u&&(r.use=n.concat(u)),a&&l&&(r.fallback=s(a,l)),i&&o&&(r.cacheData=s(i,o))}return r},J=(0,t.createContext)({}),B=e=>{let{value:r}=e,n=(0,t.useContext)(J),a=c(r),i=(0,t.useMemo)(()=>a?r(n):r,[a,n,r]),l=(0,t.useMemo)(()=>a?i:U(n,i),[a,n,i]),o=i&&i.provider,d=(0,t.useRef)(u);o&&!d.current&&(d.current=A(o(l.cache||W),i));let f=d.current;return f&&(l.cache=f[0],l.mutate=f[1],l.unload=f[4]),_(()=>{if(f)return f[2]&&f[2](),f[3]},[]),(0,t.createElement)(J.Provider,s(e,{value:l}))};e.s(["E",0,3,"F",0,0,"I",0,R,"M",0,2,"O",0,l,"R",0,1,"S",0,B,"U",0,u,"a",0,a,"b",0,d,"c",0,w,"d",0,N,"e",0,c,"f",0,F,"g",0,I,"h",0,4,"i",0,o,"j",0,E,"k",0,q,"m",0,s,"n",0,i,"o",0,W,"p",0,v,"q",0,J,"r",0,k,"s",0,V,"t",0,U,"u",0,_],92970);let K="$inf$";e.s(["INFINITE_PREFIX",0,K],53529);let z=v&&window.__SWR_DEVTOOLS_USE__,G=z?window.__SWR_DEVTOOLS_USE__:[],H=e=>c(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(null===e[1]?e[2]:e[1])||{}],X=G.concat(e=>(t,r,n)=>{let i=r&&((...e)=>{let[n]=V(t),[,,,i]=a.get(W);if(n.startsWith(K))return r(...e);let u=i[n];return o(u)?r(...e):(delete i[n],u)});return e(t,i,n)}),Y=e=>function(...r){let n,a=(n=(0,t.useContext)(J),(0,t.useMemo)(()=>s(N,n),[n])),[i,u,l]=H(r),o=U(a,l),c=e,{use:d}=o,f=(d||[]).concat(X);for(let e=f.length;e--;)c=f[e](c);return c(i,u||o.fetcher||null,o)},Q=(e,t,r)=>{let n=t[e]||(t[e]=[]);return n.push(r),()=>{let e=n.indexOf(r);e>=0&&(n[e]=n[n.length-1],n.pop())}};z&&(window.__SWR_DEVTOOLS_REACT__=t.default),e.s(["subscribeCallback",0,Q,"withArgs",0,Y,"withMiddleware",0,(e,t)=>(...r)=>{let[n,a,i]=H(r),u=(i.use||[]).concat(t);return e(n,a,{...i,use:u})}],53367);let Z=t.default.use||(e=>{switch(e.status){case"pending":throw e;case"fulfilled":return e.value;case"rejected":throw e.reason;default:throw e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}),e}}),ee={dedupe:!0},et=(e,t,r)=>{var n;return!!t&&(null==(n=e.get(t))?void 0:n.has(r))===!0},er=(e,t,r)=>{if(!t)return;let n=e.get(t);n||(n=new Set,e.set(t,n)),n.add(r)},en=Promise.resolve(u);en.status="fulfilled",en.value=u;let ea=()=>i;l.defineProperty(B,"defaultValue",{value:N});let ei=Y((e,n,i)=>{let{cache:l,compare:f,suspense:g,fallbackData:h,revalidateOnMount:v,revalidateIfStale:p,refreshInterval:y,refreshWhenHidden:b,refreshWhenOffline:m,keepPreviousData:S,strictServerPrefetchWarning:O}=i,[T,D,C,L]=a.get(l),[j,P]=V(e),x=(0,t.useRef)(!1),M=(0,t.useRef)(!1),A=(0,t.useRef)(j),W=(0,t.useRef)(n),q=(0,t.useRef)(i),$=()=>q.current.isVisible()&&q.current.isOnline(),[N,U,J,B]=w(l,j),K=(0,t.useRef)({}).current,z=o(h)?o(i.fallback)?u:i.fallback[j]:h,G=i.cacheData,H=j?null==G?void 0:G[j]:u,X=j?L[j]:u,Y=o(X)&&!o(H),ei=Y?H:X,eu=(e,t)=>{for(let r in K)if("data"===r){if(!f(e[r],t[r])&&(!o(e[r])||!f(ew,t[r])))return!1}else if(t[r]!==e[r])return!1;return!0},el=!x.current,eo=(0,t.useMemo)(()=>{let e=N(),t=B(),r=e=>{let t=s(e);return(delete t._k,(()=>{if(!j||!n||q.current.isPaused())return!1;if(el&&!o(v))return v;let e=o(z)?t.data:z;return!(g&&Y&&o(e))&&(o(e)||p)})())?{isValidating:!0,isLoading:!0,...t}:t},a=r(e),i=e===t?a:r(t),u=a;return[()=>{let e=r(N());return eu(e,u)?(u.data=e.data,u.isLoading=e.isLoading,u.isValidating=e.isValidating,u.error=e.error,u):(u=e,e)},()=>i]},[l,j]),ec=(0,r.useSyncExternalStore)((0,t.useCallback)(e=>J(j,(t,r)=>{eu(r,t)||e()}),[l,j]),eo[0],eo[1]),es=T[j]&&T[j].length>0,ed=ec.data,ef=o(ed)?z&&d(z)?Z(z):z:ed,eg=ec.error,eh=(0,t.useRef)(ef),ev=(0,t.useRef)(u),ep=ev.current;ep||(ev.current=ep=new WeakMap);let ey=(0,t.useRef)(null),ew=S?o(ed)?o(eh.current)?ef:eh.current:ed:ef,eb=j&&o(ef),em=(0,t.useRef)(null);R||(0,r.useSyncExternalStore)(ea,()=>(em.current=!1,em),()=>(em.current=!0,em));let eS=em.current;O&&eS&&!g&&eb&&console.warn(`Missing pre-initiated data for serialized key "${j}" during server-side rendering. Data fetching should be initiated on the server and provided to SWR via fallback data. You can set "strictServerPrefetchWarning: false" to disable this warning.`);let eO=!(!j||!n||q.current.isPaused())&&(!es||!!o(eg))&&(el&&!o(v)?v:(!g||!Y||!eb)&&(g?!o(ef)&&p:o(ef)||p)),eE=el&&eO,eR=o(ec.isValidating)?eE:ec.isValidating,ek=o(ec.isLoading)?eE:ec.isLoading,e_=(0,t.useCallback)(async e=>{let t,r,n=W.current;if(!j||!n||M.current||q.current.isPaused())return!1;let a=!0,l=e||{},s=!C[j]||!l.dedupe,d=Y&&!et(ep,G,j)&&!o(ei)&&o(N().data),g=()=>E?!M.current&&j===A.current&&x.current:j===A.current,h={isValidating:!1,isLoading:!1},v=()=>{U(h)},p=()=>{let e=C[j];e&&e[1]===r&&delete C[j]},y={isValidating:!0};o(N().data)&&(y.isLoading=!0);try{if(s&&(U(y),i.loadingTimeout&&o(N().data)&&setTimeout(()=>{a&&g()&&q.current.onLoadingSlow(j,i)},i.loadingTimeout),d&&er(ep,G,j),C[j]=[d?ei:n(P),I()],d&&L[j]&&delete L[j]),[t,r]=C[j],t=await t,s&&setTimeout(p,i.dedupingInterval),!C[j]||C[j][1]!==r)return s&&g()&&q.current.onDiscarded(j),!1;h.error=u;let e=D[j];if(!o(e)&&(r<=e[0]||r<=e[1]||0===e[1]))return v(),s&&g()&&q.current.onDiscarded(j),!1;let l=N().data;h.data=f(l,t)?l:t,s&&g()&&q.current.onSuccess(t,j,i)}catch(r){p();let e=q.current,{shouldRetryOnError:t}=e;!e.isPaused()&&(h.error=r,s&&g()&&(e.onError(r,j,e),(!0===t||c(t)&&t(r))&&(!q.current.revalidateOnFocus||!q.current.revalidateOnReconnect||$())&&e.onErrorRetry(r,j,e,e=>{let t=T[j];t&&t[0]&&t[0](3,e)},{retryCount:(l.retryCount||0)+1,dedupe:!0})))}return a=!1,v(),!0},[j,l]),eT=(0,t.useCallback)((...e)=>F(l,A.current,...e),[]);if(_(()=>{let e=ey.current;e&&(ey.current=null,er(ep,e.cacheData,e.key),o(N().data)&&U({data:e.data,error:u,_k:e._k}),L[e.key]&&delete L[e.key])}),_(()=>{W.current=n,q.current=i,o(ed)||(eh.current=ed)}),_(()=>{if(n||!Y||o(ei)||et(ep,G,j)||!o(N().data))return;er(ep,G,j);let e=D[j];
1(({value:e,getCacheData:t,canCommit:r,setCache:n})=>{let a=e=>{r()&&o(t())&&n(e)};Promise.resolve(e).then(e=>{a({data:e,error:u})},e=>{a({error:e})})})({value:ei,getCacheData:()=>N().data,canCommit:()=>!M.current&&j===A.current&&D[j]===e,setCache:e=>U({...e,_k:P})})}),_(()=>{if(!j)return;let e=e_.bind(u,ee),t=0;q.current.revalidateOnFocus&&(t=Date.now()+q.current.focusThrottleInterval);let r=Q(j,T,(r,n={})=>{if(0==r){let r=Date.now();q.current.revalidateOnFocus&&r>t&&$()&&(t=r+q.current.focusThrottleInterval,e())}else if(1==r)q.current.revalidateOnReconnect&&$()&&e();else if(2==r)return e_();else if(3==r)return e_(n);else if(4==r&&(eh.current=u,n.revalidate))return e_()});return M.current=!1,A.current=j,x.current=!0,U({_k:P}),eO&&!C[j]&&(o(ef)||R?e():k(e)),()=>{M.current=!0,r()}},[j]),_(()=>{let e;function t(){let t=c(y)?y(N().data):y;t&&-1!==e&&(e=setTimeout(r,t))}function r(){!N().error&&(b||q.current.isVisible())&&(m||q.current.isOnline())?e_(ee).then(t):t()}return t(),()=>{e&&(clearTimeout(e),e=-1)}},[y,b,m,j]),(0,t.useDebugValue)(ew),g){if(!E&&R&&eb&&o(ei))throw Error("Fallback data is required when using Suspense in SSR.");eb&&(W.current=n,q.current=i,M.current=!1);let e=!o(ei)&&eb,t=u;if(e&&Y?(ef=t=ei&&d(ei)?Z(ei):ei,ew=t,R||(ey.current={data:t,_k:P,key:j,cacheData:G})):Z(e?eT(ei):en),!o(eg)&&eb)throw eg;let r=eb&&o(t)?e_(ee):en;!o(ew)&&eb&&(r.status="fulfilled",r.value=!0),Z(r)}return{mutate:eT,get data(){return K.data=!0,ew},get error(){return K.error=!0,eg},get isValidating(){return K.isValidating=!0,eR},get isLoading(){return K.isLoading=!0,ek}}});e.s(["u",0,ei],9801);let eu=async(e,...[t])=>{let r=await fetch("/api/graphql",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({query:e.toString(),variables:t})});if(!r.ok)throw Error(`HTTP error! status: ${r.status}`);return await r.json()};e.s(["executeGraphqlClient",0,eu],3401)},19683,(e,t,r)=>{"use strict";var n=e.r(40075),a="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},i=n.useState,u=n.useEffect,l=n.useLayoutEffect,o=n.useDebugValue;function c(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!a(e,r)}catch(e){return!0}}var s="u"<typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var r=t(),n=i({inst:{value:r,getSnapshot:t}}),a=n[0].inst,s=n[1];return l(function(){a.value=r,a.getSnapshot=t,c(a)&&s({inst:a})},[e,r,t]),u(function(){return c(a)&&s({inst:a}),e(function(){c(a)&&s({inst:a})})},[e]),o(r),r};r.useSyncExternalStore=void 0!==n.useSyncExternalStore?n.useSyncExternalStore:s},91487,(e,t,r)=>{"use strict";e.i(4737),t.exports=e.r(19683)}]);
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.