1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,540828,e=>{"use strict";let t;var i=e.i(568160),s=(t=()=>i.isServer,{isServer:()=>t(),setIsServer(e){t=e}});e.s(["environmentManager",0,s])},266849,310488,e=>{"use strict";var t=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}};e.s(["Subscribable",0,t],310488);var i=new class extends t{#e;#t;#i;constructor(){super(),this.#i=e=>{if("u">typeof window&&window.addEventListener){let t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}}}onSubscribe(){this.#t||this.setEventListener(this.#i)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#i=e,this.#t?.(),this.#t=e(e=>{"boolean"==typeof e?this.setFocused(e):this.onFocus()})}setFocused(e){this.#e!==e&&(this.#e=e,this.onFocus())}onFocus(){let e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){return"boolean"==typeof this.#e?this.#e:globalThis.document?.visibilityState!=="hidden"}};e.s(["focusManager",0,i],266849)},947206,e=>{"use strict";let t,i,s,r,n,a;var o=e.i(536441).systemSetTimeoutZero,u=(t=[],i=0,s=e=>{e()},r=e=>{e()},n=o,{batch:e=>{let a;i++;try{a=e()}finally{let e;--i||(e=t,t=[],e.length&&n(()=>{r(()=>{e.forEach(e=>{s(e)})})}))}return a},batchCalls:e=>(...t)=>{a(()=>{e(...t)})},schedule:a=e=>{i?t.push(e):n(()=>{s(e)})},setNotifyFunction:e=>{s=e},setBatchNotifyFunction:e=>{r=e},setScheduler:e=>{n=e}});e.s(["notifyManager",0,u])},240285,111043,e=>{"use strict";var t=e.i(310488),i=new class extends t.Subscribable{#s=!0;#t;#i;constructor(){super(),this.#i=e=>{if("u">typeof window&&window.addEventListener){let t=()=>e(!0),i=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",i,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",i)}}}}onSubscribe(){this.#t||this.setEventListener(this.#i)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#i=e,this.#t?.(),this.#t=e(this.setOnline.bind(this))}setOnline(e){this.#s!==e&&(this.#s=e,this.listeners.forEach(t=>{t(e)}))}isOnline(){return this.#s}};e.s(["onlineManager",0,i],240285),e.i(568160),e.s(["pendingThenable",0,function(){let e,t,i=new Promise((i,s)=>{e=i,t=s});function s(e){Object.assign(i,e),delete i.resolve,delete i.reject}return i.status="pending",i.catch(()=>{}),i.resolve=t=>{s({status:"fulfilled",value:t}),e(t)},i.reject=e=>{s({status:"rejected",reason:e}),t(e)},i}],111043)},228997,537146,330979,746592,e=>{"use strict";var t=e.i(568160),i=e.i(947206),s=e.i(266849),r=e.i(240285),n=e.i(111043),a=e.i(540828);function o(e){return Math.min(1e3*2**e,3e4)}function u(e){return(e??"online")!=="online"||r.onlineManager.isOnline()}var l=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function c(e){let i,c=!1,h=0,d=(0,n.pendingThenable)(),f=()=>s.focusManager.isFocused()&&("always"===e.networkMode||r.onlineManager.isOnline())&&e.canRun(),p=()=>u(e.networkMode)&&e.canRun(),y=e=>{"pending"===d.status&&(i?.(),d.resolve(e))},m=e=>{"pending"===d.status&&(i?.(),d.reject(e))},v=()=>new Promise(t=>{i=e=>{("pending"!==d.status||f())&&t(e)},e.onPause?.()}).then(()=>{i=void 0,"pending"===d.status&&e.onContinue?.()}),b=()=>{let i;if("pending"!==d.status)return;let s=0===h?e.initialPromise:void 0;try{i=s??e.fn()}catch(e){i=Promise.reject(e)}Promise.resolve(i).then(y).catch(i=>{if("pending"!==d.status)return;let s=e.retry??3*!a.environmentManager.isServer(),r=e.retryDelay??o,n="function"==typeof r?r(h,i):r,u=!0===s||"number"==typeof s&&h<s||"function"==typeof s&&s(h,i);c||!u?m(i):(h++,e.onFail?.(h,i),(0,t.sleep)(n).then(()=>f()?void 0:v()).then(()=>{c?m(i):b()}))})};return{promise:d,status:()=>d.status,cancel:t=>{if("pending"===d.status){let i=new l(t);m(i),e.onCancel?.(i)}},continue:()=>(i?.(),d),cancelRetry:()=>{c=!0},continueRetry:()=>{c=!1},canStart:p,start:()=>(p()?b():v().then(b),d)}}e.s(["CancelledError",0,l,"canFetch",0,u,"createRetryer",0,c],537146);var h=e.i(536441),d=class{#r;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),(0,t.isValidTimeout)(this.gcTime)&&(this.#r=h.timeoutManager.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(a.environmentManager.isServer()?1/0:3e5))}clearGcTimeout(){this.#r&&(h.timeoutManager.clearTimeout(this.#r),this.#r=void 0)}};e.s(["Removable",0,d],330979);var f=class extends d{#n;#a;#o;#u;#l;#c;#h;constructor(e){super(),this.#h=!1,this.#c=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#u=e.client,this.#o=this.#u.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#n=m(this.options),this.state=e.state??this.#n,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#l?.promise}setOptions(e){if(this.options={...this.#c,...e},this.updateGcTime(this.options.gcTime),this.state&&void 0===this.state.data){let e=m(this.options);void 0!==e.data&&(this.setState(y(e.data,e.dataUpdatedAt)),this.#n=e)}}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.#o.remove(this)}setData(e,i){let s=(0,t.replaceData)(this.state.data,e,this.options);return this.#d({data:s,type:"success",dataUpdatedAt:i?.updatedAt,manual:i?.manual}),s}setState(e,t){this.#d({type:"setState",state:e,setStateOptions:t})}cancel(e){let i=this.#l?.promise;return this.#l?.cancel(e),i?i.then(t.noop).catch(t.noop):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return this.#n}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(e=>!1!==(0,t.resolveEnabled)(e.options.enabled,this))}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===t.skipToken||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdate
1Count>0}isStatic(){return this.getObserversCount()>0&&this.observers.some(e=>"static"===(0,t.resolveStaleTime)(e.options.staleTime,this))}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):void 0===this.state.data||this.state.isInvalidated}isStaleByTime(e=0){return void 0===this.state.data||"static"!==e&&(!!this.state.isInvalidated||!(0,t.timeUntilStale)(this.state.dataUpdatedAt,e))}onFocus(){let e=this.observers.find(e=>e.shouldFetchOnWindowFocus());e?.refetch({cancelRefetch:!1}),this.#l?.continue()}onOnline(){let e=this.observers.find(e=>e.shouldFetchOnReconnect());e?.refetch({cancelRefetch:!1}),this.#l?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#o.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(this.#l&&(this.#h||this.#f()?this.#l.cancel({revert:!0}):this.#l.cancelRetry()),this.scheduleGc()),this.#o.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}#f(){return"paused"===this.state.fetchStatus&&"pending"===this.state.status}invalidate(){this.state.isInvalidated||this.#d({type:"invalidate"})}async fetch(e,i){let s;if("idle"!==this.state.fetchStatus&&this.#l?.status()!=="rejected"){if(void 0!==this.state.data&&i?.cancelRefetch)this.cancel({silent:!0});else if(this.#l)return this.#l.continueRetry(),this.#l.promise}if(e&&this.setOptions(e),!this.options.queryFn){let e=this.observers.find(e=>e.options.queryFn);e&&this.setOptions(e.options)}let r=new AbortController,n=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(this.#h=!0,r.signal)})},a=()=>{let e,s=(0,t.ensureQueryFn)(this.options,i),r=(n(e={client:this.#u,queryKey:this.queryKey,meta:this.meta}),e);return(this.#h=!1,this.options.persister)?this.options.persister(s,r,this):s(r)},o=(n(s={fetchOptions:i,options:this.options,queryKey:this.queryKey,client:this.#u,state:this.state,fetchFn:a}),s);this.options.behavior?.onFetch(o,this),this.#a=this.state,("idle"===this.state.fetchStatus||this.state.fetchMeta!==o.fetchOptions?.meta)&&this.#d({type:"fetch",meta:o.fetchOptions?.meta}),this.#l=c({initialPromise:i?.initialPromise,fn:o.fetchFn,onCancel:e=>{e instanceof l&&e.revert&&this.setState({...this.#a,fetchStatus:"idle"}),r.abort()},onFail:(e,t)=>{this.#d({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#d({type:"pause"})},onContinue:()=>{this.#d({type:"continue"})},retry:o.options.retry,retryDelay:o.options.retryDelay,networkMode:o.options.networkMode,canRun:()=>!0});try{let e=await this.#l.start();if(void 0===e)throw Error(`${this.queryHash} data is undefined`);return this.setData(e),this.#o.config.onSuccess?.(e,this),this.#o.config.onSettled?.(e,this.state.error,this),e}catch(e){if(e instanceof l){if(e.silent)return this.#l.promise;else if(e.revert){if(void 0===this.state.data)throw e;return this.state.data}}throw this.#d({type:"error",error:e}),this.#o.config.onError?.(e,this),this.#o.config.onSettled?.(this.state.data,e,this),e}finally{this.scheduleGc()}}#d(e){let t=t=>{switch(e.type){case"failed":return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...t,fetchStatus:"paused"};case"continue":return{...t,fetchStatus:"fetching"};case"fetch":return{...t,...p(t.data,this.options),fetchMeta:e.meta??null};case"success":let i={...t,...y(e.data,e.dataUpdatedAt),dataUpdateCount:t.dataUpdateCount+1,...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#a=e.manual?i:void 0,i;case"error":let s=e.error;return{...t,error:s,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:s,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...t,isInvalidated:!0};case"setState":return{...t,...e.state}}};this.state=t(this.state),i.notifyManager.batch(()=>{this.observers.forEach(e=>{e.onQueryUpdate()}),this.#o.notify({query:this,type:"updated",action:e})})}};function p(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:u(t.networkMode)?"fetching":"paused",...void 0===e&&{error:null,status:"pending"}}}function y(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:"success"}}function m(e){let t="function"==typeof e.initialData?e.initialData():e.initialData,i=void 0!==t,
1s=i?"function"==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:i?s??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:i?"success":"pending",fetchStatus:"idle"}}e.s(["Query",0,f,"fetchState",0,p],228997);var v=e.i(330668),b=e.i(848277),g=v.createContext(void 0);e.s(["QueryClientProvider",0,({client:e,children:t})=>(v.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),(0,b.jsx)(g.Provider,{value:e,children:t})),"useQueryClient",0,e=>{let t=v.useContext(g);if(e)return e;if(!t)throw Error("No QueryClient set, use QueryClientProvider to set one");return t}],746592)},507672,e=>{"use strict";var t=e.i(568160),i=e.i(228997),s=e.i(947206),r=e.i(310488),n=class extends r.Subscribable{constructor(e={}){super(),this.config=e,this.#p=new Map}#p;build(e,s,r){let n=s.queryKey,a=s.queryHash??(0,t.hashQueryKeyByOptions)(n,s),o=this.get(a);return o||(o=new i.Query({client:e,queryKey:n,queryHash:a,options:e.defaultQueryOptions(s),state:r,defaultOptions:e.getQueryDefaults(n)}),this.add(o)),o}add(e){this.#p.has(e.queryHash)||(this.#p.set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){let t=this.#p.get(e.queryHash);t&&(e.destroy(),t===e&&this.#p.delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){s.notifyManager.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#p.get(e)}getAll(){return[...this.#p.values()]}find(e){let i={exact:!0,...e};return this.getAll().find(e=>(0,t.matchQuery)(i,e))}findAll(e={}){let i=this.getAll();return Object.keys(e).length>0?i.filter(i=>(0,t.matchQuery)(e,i)):i}notify(e){s.notifyManager.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){s.notifyManager.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){s.notifyManager.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},a=e.i(330979),o=e.i(537146),u=class extends a.Removable{#u;#y;#m;#l;constructor(e){super(),this.#u=e.client,this.mutationId=e.mutationId,this.#m=e.mutationCache,this.#y=[],this.state=e.state||{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0},this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#y.includes(e)||(this.#y.push(e),this.clearGcTimeout(),this.#m.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.#y=this.#y.filter(t=>t!==e),this.scheduleGc(),this.#m.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.#y.length||("pending"===this.state.status?this.scheduleGc():this.#m.remove(this))}continue(){return this.#l?.continue()??this.execute(this.state.variables)}async execute(e){let t=()=>{this.#d({type:"continue"})},i={client:this.#u,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#l=(0,o.createRetryer)({fn:()=>this.options.mutationFn?this.options.mutationFn(e,i):Promise.reject(Error("No mutationFn found")),onFail:(e,t)=>{this.#d({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#d({type:"pause"})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#m.canRun(this)});let s="pending"===this.state.status,r=!this.#l.canStart();try{if(s)t();else{this.#d({type:"pending",variables:e,isPaused:r}),this.#m.config.onMutate&&await this.#m.config.onMutate(e,this,i);let t=await this.options.onMutate?.(e,i);t!==this.state.context&&this.#d({type:"pending",context:t,variables:e,isPaused:r})}let n=await this.#l.start();return await this.#m.config.onSuccess?.(n,e,this.state.context,this,i),await this.options.onSuccess?.(n,e,this.state.context,i),await this.#m.config.onSettled?.(n,null,this.state.variables,this.state.context,this,i),await this.options.onSettled?.(n,null,e,this.state.context,i),this.#d({type:"success",data:n}),n}catch(t){try{await this.#m.config.onError?.(t,e,this.state.context,this,i)}catch(e){Promise.reject(e)}try{await this.options.onError?.(t,e,this.state.context,i)}catch(e){Promise.reject(e)}try{await this.#m.config.onSettled?.(void 0,t,this.state.variables,this.state.context,this,i)}catch(e){Promise.reject(e)}try{await this.options.onSettled?.(void 0,t,e,this.state.context,i)}catch(e){Promise.reject(e)}throw this.#d({type:"error",error:t}),t}finally{this.#m.runNext(this)}}#d(e){this.state=(t=>{switch(e.type){case"failed":return{...t,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...t,isPaused:!0};case"continue":return{...t,isPaused:!1};
1case"pending":return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}})(this.state),s.notifyManager.batch(()=>{this.#y.forEach(t=>{t.onMutationUpdate(e)}),this.#m.notify({mutation:this,type:"updated",action:e})})}},l=r,c=class extends l.Subscribable{constructor(e={}){super(),this.config=e,this.#v=new Set,this.#b=new Map,this.#g=0}#v;#b;#g;build(e,t,i){let s=new u({client:e,mutationCache:this,mutationId:++this.#g,options:e.defaultMutationOptions(t),state:i});return this.add(s),s}add(e){this.#v.add(e);let t=h(e);if("string"==typeof t){let i=this.#b.get(t);i?i.push(e):this.#b.set(t,[e])}this.notify({type:"added",mutation:e})}remove(e){if(this.#v.delete(e)){let t=h(e);if("string"==typeof t){let i=this.#b.get(t);if(i)if(i.length>1){let t=i.indexOf(e);-1!==t&&i.splice(t,1)}else i[0]===e&&this.#b.delete(t)}}this.notify({type:"removed",mutation:e})}canRun(e){let t=h(e);if("string"!=typeof t)return!0;{let i=this.#b.get(t),s=i?.find(e=>"pending"===e.state.status);return!s||s===e}}runNext(e){let t=h(e);if("string"!=typeof t)return Promise.resolve();{let i=this.#b.get(t)?.find(t=>
1t!==e&&t.state.isPaused);return i?.continue()??Promise.resolve()}}clear(){s.notifyManager.batch(()=>{this.#v.forEach(e=>{this.notify({type:"removed",mutation:e})}),this.#v.clear(),this.#b.clear()})}getAll(){return Array.from(this.#v)}find(e){let i={exact:!0,...e};return this.getAll().find(e=>(0,t.matchMutation)(i,e))}findAll(e={}){return this.getAll().filter(i=>(0,t.matchMutation)(e,i))}notify(e){s.notifyManager.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){let e=this.getAll().filter(e=>e.state.isPaused);return s.notifyManager.batch(()=>Promise.all(e.map(e=>e.continue().catch(t.noop))))}};function h(e){return e.options.scope?.id}var d=e.i(266849),f=e.i(240285);function p(e){return{onFetch:(i,s)=>{let r=i.options,n=i.fetchOptions?.meta?.fetchMore?.direction,a=i.state.data?.pages||[],o=i.state.data?.pageParams||[],u={pages:[],pageParams:[]},l=0,c=async()=>{let s=!1,c=(0,t.ensureQueryFn)(i.options,i.fetchOptions),h=async(e,r,n)=>{let a;if(s)return Promise.reject();if(null==r&&e.pages.length)return Promise.resolve(e);let o=(a={client:i.client,queryKey:i.queryKey,pageParam:r,direction:n?"backward":"forward",meta:i.options.meta},(0,t.addConsumeAwareSignal)(a,()=>i.signal,()=>s=!0),a),u=await c(o),{maxPages:l}=i.options,h=n?t.addToStart:t.addToEnd;return{pages:h(e.pages,u,l),pageParams:h(e.pageParams,r,l)}};if(n&&a.length){let e="backward"===n,t={pages:a,pageParams:o},i=(e?function(e,{pages:t,pageParams:i}){return t.length>0?e.getPreviousPageParam?.(t[0],t,i[0],i):void 0}:y)(r,t);u=await h(t,i,e)}else{let t=e??a.length;do{let e=0===l?o[0]??r.initialPageParam:y(r,u);if(l>0&&null==e)break;u=await h(u,e),l++}while(l<t)}return u};i.options.persister?i.fetchFn=()=>i.options.persister?.(c,{client:i.client,queryKey:i.queryKey,meta:i.options.meta,signal:i.signal},s):i.fetchFn=c}}}function y(e,{pages:t,pageParams:i}){let s=t.length-1;return t.length>0?e.getNextPageParam(t[s],t,i[s],i):void 0}var m=class{#O;#m;#c;#w;#C;#S;#P;#M;constructor(e={}){this.#O=e.queryCache||new n,this.#m=e.mutationCache||new c,this.#c=e.defaultOptions||{},this.#w=new Map,this.#C=new Map,this.#S=0}mount(){this.#S++,1===this.#S&&(this.#P=d.focusManager.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#O.onFocus())}),this.#M=f.onlineManager.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#O.onOnline())}))}unmount(){this.#S--,0===this.#S&&(this.#P?.(),this.#P=void 0,this.#M?.(),this.#M=void 0)}isFetching(e){return this.#O.findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return this.#m.findAll({...e,status:"pending"}).length}getQueryData(e){let t=this.defaultQueryOptions({queryKey:e});return this.#O.get(t.queryHash)?.state.data}ensureQueryData(e){let i=this.defaultQueryOptions(e),s=this.#O.build(this,i),r=s.state.data;return void 0===r?this.fetchQuery(e):(e.revalidateIfStale&&s.isStaleByTime((0,t.resolveStaleTime)(i.staleTime,s))&&this.prefetchQuery(i),Promise.resolve(r))}getQueriesData(e){return this.#O.findAll(e).map(({queryKey:e,state:t})=>[e,t.data])}setQueryData(e,i,s){let r=this.defaultQueryOptions({queryKey:e}),n=this.#O.get(r.queryHash),a=n?.state.data,o=(0,t.functionalUpdate)(i,a);if(void 0!==o)return this.#O.build(this,r).setData(o,{...s,manual:!0})}setQueriesData(e,t,i){return s.notifyManager.batch(()=>this.#O.findAll(e).map(({queryKey:e})=>[e,this.setQueryData(e,t,i)]))}getQueryState(e){let t=this.defaultQueryOptions({queryKey:e});return this.#O.get(t.queryHash)?.state}removeQueries(e){let t=this.#O;s.notifyManager.batch(()=>{t.findAll(e).forEach(e=>{t.remove(e)})})}resetQueries(e,t){let i=this.#O;return s.notifyManager.batch(()=>(i.findAll(e).forEach(e=>{e.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,i={}){let r={revert:!0,...i};return Promise.all(s.notifyManager.batch(()=>this.#O.findAll(e).map(e=>e.cancel(r)))).then(t.noop).catch(t.noop)}invalidateQueries(e,t={}){return s.notifyManager.batch(()=>(this.#O.findAll(e).forEach(e=>{e.invalidate()}),e?.refetchType==="none")?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??"active"},t))}refetchQueries(e,i={}){let r={...i,cancelRefetch:i.cancelRefetch??!0};return Promise.all(s.notifyManager.batch(()=>this.#O.findAll(e).filter(e=>!e.isDisabled()&&!e.isStatic()).map(e=>{let i=e.fetch(void 0,r);return r.throwOnError||(i=i.catch(t.noop)),"paused"===e.state.fetchStatus?Promise.resolve():i}
1))).then(t.noop)}fetchQuery(e){let i=this.defaultQueryOptions(e);void 0===i.retry&&(i.retry=!1);let s=this.#O.build(this,i);return s.isStaleByTime((0,t.resolveStaleTime)(i.staleTime,s))?s.fetch(i):Promise.resolve(s.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(t.noop).catch(t.noop)}fetchInfiniteQuery(e){return e.behavior=p(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(t.noop).catch(t.noop)}ensureInfiniteQueryData(e){return e.behavior=p(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return f.onlineManager.isOnline()?this.#m.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#O}getMutationCache(){return this.#m}getDefaultOptions(){return this.#c}setDefaultOptions(e){this.#c=e}setQueryDefaults(e,i){this.#w.set((0,t.hashKey)(e),{queryKey:e,defaultOptions:i})}getQueryDefaults(e){let i=[...this.#w.values()],s={};return i.forEach(i=>{(0,t.partialMatchKey)(e,i.queryKey)&&Object.assign(s,i.defaultOptions)}),s}setMutationDefaults(e,i){this.#C.set((0,t.hashKey)(e),{mutationKey:e,defaultOptions:i})}getMutationDefaults(e){let i=[...this.#C.values()],s={};return i.forEach(i=>{(0,t.partialMatchKey)(e,i.mutationKey)&&Object.assign(s,i.defaultOptions)}),s}defaultQueryOptions(e){if(e._defaulted)return e;let i={...this.#c.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return i.queryHash||(i.queryHash=(0,t.hashQueryKeyByOptions)(i.queryKey,i)),void 0===i.refetchOnReconnect&&(i.refetchOnReconnect="always"!==i.networkMode),void 0===i.throwOnError&&(i.throwOnError=!!i.suspense),!i.networkMode&&i.persister&&(i.networkMode="offlineFirst"),i.queryFn===t.skipToken&&(i.enabled=!1),i}defaultMutationOptions(e){return e?._defaulted?e:{...this.#c.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#O.clear(),this.#m.clear()}};e.s(["QueryClient",0,m],507672)},568160,536441,e=>{"use strict";var t={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},i=new class{#q=t;#T=!1;setTimeoutProvider(e){this.#q=e}setTimeout(e,t){return this.#q.setTimeout(e,t)}clearTimeout(e){this.#q.clearTimeout(e)}setInterval(e,t){return this.#q.setInterval(e,t)}clearInterval(e){this.#q.clearInterval(e)}};e.s(["systemSetTimeoutZero",0,function(e){setTimeout(e,0)},"timeoutManager",0,i],536441);var s="u"<typeof window||"Deno"in globalThis;function r(e,t){return(t?.queryKeyHashFn||n)(e)}function n(e){return JSON.stringify(e,(e,t)=>l(t)?Object.keys(t).sort().reduce((e,i)=>(e[i]=t[i],e),{}):t)}function a(e,t){return e===t||typeof e==typeof t&&!!e&&!!t&&"object"==typeof e&&"object"==typeof t&&Object.keys(t).every(i=>a(e[i],t[i]))}var o=Object.prototype.hasOwnProperty;function u(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function l(e){if(!c(e))return!1;let t=e.constructor;if(void 0===t)return!0;let i=t.prototype;return!!c(i)&&!!i.hasOwnProperty("isPrototypeOf")&&Object.getPrototypeOf(e)===Object.prototype}function c(e){return"[object Object]"===Object.prototype.toString.call(e)}var h=Symbol();e.s(["addConsumeAwareSignal",0,function(e,t,i){let s,r=!1;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(s??=t(),r||(r=!0,s.aborted?i():s.addEventListener("abort",i,{once:!0})),s)}),e},"addToEnd",0,function(e,t,i=0){let s=[...e,t];return i&&s.length>i?s.slice(1):s},"addToStart",0,function(e,t,i=0){let s=[t,...e];return i&&s.length>i?s.slice(0,-1):s},"ensureQueryFn",0,function(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:e.queryFn&&e.queryFn!==h?e.queryFn:()=>Promise.reject(Error(`Missing queryFn: '${e.queryHash}'`))},"functionalUpdate",0,function(e,t){return"function"==typeof e?e(t):e},"hashKey",0,n,"hashQueryKeyByOptions",0,r,"isServer",0,s,"isValidTimeout",0,function(e){return"number"==typeof e&&e>=0&&e!==1/0},"matchMutation",0,function(e,t){let{exact:i,status:s,predicate:r,mutationKey:o}=e;if(o){if(!t.options.mutationKey)return!1;if(i){if(n(t.options.mutationKey)!==n(o))return!1}else if(!a(t.options.mutationKey,o))return!1}return(!s||t.state.status===s)&&(!r||!!r(t))},"matchQuery",0,function(e,t){let{type:i="all",exact:s,fetchStatus:n,predicate:o,queryKey:u,stale:l}=e;if(u){if(s){if(t.queryHash!==r(u,t.options))return!1}else if(!a(t.queryKey,u))return!1}if("all"!==i){let e=t.isActive();if("active"===i&&!e||"inactive"===i&&e)return!1}return("boolean"!=typeof l||t.isStale()===l)&&(!n||n===t.state.fetchStatus)&&(!o||!!o(t))},"noop",0,function(){},"partialMatchKey",0,a,"replaceData",0,function(e,t,i){return"function"==typeof i.structuralSharing?i.structuralSharing(e,t):!1!==i.structuralSharing?function e(t,i,s=0){if(t===i)return t;if(s>500)return i;let r=u(t)&&u(i);if(!r&&!(l(t)&&l(i)))return i;let n=(r?t:Object.keys(t)).length,a=r?i:Object.keys(i),c=a.length,h=r?Array(c):{},d=0;for(let u=0;u<c;u++){let l=r?u:a[u],c=t[l],f=i[l];if(c===f){h[l]=c,(r?u<n:o.call(t,l))&&d++;continue}if(null===c||null===f||"object"!=typeof c||"object"!=typeof f){h[l]=f;continue}let p=e(c,f,s+1);h[l]=p,p===c&&d++}return n===c&&d===n?t:h}(e,t):t},"resolveEnabled",0,function(e,t){return"function"==typeof e?e(t):e},"resolveStaleTime",0,function(e,t){return"function"==typeof e?e(t):e},"shallowEqualObjects",0,function(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(let i in e)if(e[i]!==t[i])return!1;return!0},"shouldThrowError",0,function(e,t){return"function"==typeof e?e(...t):!!e},"skipToken",0,h,"sleep",0,function(e){return new Promise(t=>{i.setTimeout(t,e)})},"timeUntilStale",0,function(e,t){return Math.max(e+(t||0)-Date.now(),0)}],568160)},324171,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s={bindSnapshot:function(){return l},createAsyncLocalStorage:function(){return u},createSnapshot:function(){return c}};for(var r in s)Object.defineProperty(i,r,{enumerable:!0,get:s[r]});let n=Object.defineProperty(Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available"),"__NEXT_ERROR_CODE",{value:"E504",enumerable:!1,
1configurable:!0});class a{disable(){throw n}getStore(){}run(){throw n}exit(){throw n}enterWith(){throw n}static bind(e){return e}}let o="u">typeof globalThis&&globalThis.AsyncLocalStorage;function u(){return o?new o:new a}function l(e){return o?o.bind(e):a.bind(e)}function c(){return o?o.snapshot():function(e,...t){return e(...t)}}},998616,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"workAsyncStorageInstance",{enumerable:!0,get:function(){return s}});let s=(0,e.r(324171).createAsyncLocalStorage)()},226628,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"workAsyncStorage",{enumerable:!0,get:function(){return s.workAsyncStorageInstance}});let s=e.r(998616)},365562,(e,t,i)=>{"use strict";function s(e){return e.split("/").map(e=>encodeURIComponent(e)).join("/")}Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"encodeURIPath",{enumerable:!0,get:function(){return s}})},331342,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"BailoutToCSR",{enumerable:!0,get:function(){return r}});let s=e.r(219551);function r({reason:e,children:t}){if("u"<typeof window)throw Object.defineProperty(new s.BailoutToCSRError(e),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return t}},29106,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"PreloadChunks",{enumerable:!0,get:function(){return u}});let s=e.r(848277),r=e.r(382501),n=e.r(226628),a=e.r(365562),o=e.r(826159);function u({moduleIds:e}){if("u">typeof window)return null;let t=n.workAsyncStorage.getStore();if(void 0===t)return null;let i=[];if(t.reactLoadableManifest&&e){let s=t.reactLoadableManifest;for(let t of e){if(!s[t])continue;let e=s[t].files;i.push(...e)}}if(0===i.length)return null;let l=(0,o.getAssetTokenQuery)();return(0,s.jsx)(s.Fragment,{children:i.map(e=>{let i=`${t.assetPrefix}/_next/${(0,a.encodeURIPath)(e)}${l}`;return e.endsWith(".css")?(0,s.jsx)("link",{precedence:"dynamic",href:i,rel:"stylesheet",as:"style",nonce:t.nonce},e):((0,r.preload)(i,{as:"script",fetchPriority:"low",nonce:t.nonce}),null)})})}},369656,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return l}});let s=e.r(848277),r=e.r(330668),n=e.r(331342),a=e.r(29106);function o(e){return{default:e&&"default"in e?e.default:e}}let u={loader:()=>Promise.resolve(o(()=>null)),loading:null,ssr:!0},l=function(e){let t={...u,...e},i=(0,r.lazy)(()=>t.loader().then(o)),l=t.loading;function c(e){let o=l?(0,s.jsx)(l,{isLoading:!0,pastDelay:!0,error:null}):null,u=!t.ssr||!!t.loading,c=u?r.Suspense:r.Fragment,h=t.ssr?(0,s.jsxs)(s.Fragment,{children:["u"<typeof window?(0,s.jsx)(a.PreloadChunks,{moduleIds:t.modules}):null,(0,s.jsx)(i,{...e})]}):(0,s.jsx)(n.BailoutToCSR,{reason:"next/dynamic",children:(0,s.jsx)(i,{...e})});return(0,s.jsx)(c,{...u?{fallback:o}:{},children:h})}return c.displayName="LoadableComponent",c}},762870,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return r}});let s=e.r(35856)._(e.r(369656));function r(e,t){let i={};"function"==typeof e&&(i.loader=e);let r={...i,...t};return(0,s.default)({...r,modules:r.loadableGenerated?.modules})}("function"==typeof i.default||"object"==typeof i.default&&null!==i.default)&&void 0===i.default.__esModule&&(Object.defineProperty(i.default,"__esModule",{value:!0}),Object.assign(i.default,i),t.exports=i.default)}]);
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.