1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[(new e.Error).stack]=function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];if(null!=r)for(var s in r)r.hasOwnProperty(s)&&(e[s]=r[s])}return e}({},e._sentryModuleMetadata[(new e.Error).stack],{"_sentryBundlerPluginAppKey:fe-main":!0});var t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="47a68eae-c7ef-43a8-b7dc-eef15e86b920",e._sentryDebugIdIdentifier="sentry-dbid-47a68eae-c7ef-43a8-b7dc-eef15e86b920")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6113],{601:(e,t,r)=>{r.d(t,{t:()=>l});var s=r(7963),i=r(38363),n=r(64902),u=r(46447),a=r(33706),o=r(27206),h=r(23414),c=r(11683);function l(e,t,r){let l=(0,h.useIsRestoring)(),d=(0,a.useQueryErrorResetBoundary)(),f=(0,u.useQueryClient)(r),p=f.defaultQueryOptions(e);f.getDefaultOptions().queries?._experimental_beforeQuery?.(p);let y=f.getQueryCache().get(p.queryHash);p._optimisticResults=l?"isRestoring":"optimistic",(0,c.jv)(p),(0,o.LJ)(p,d,y),(0,o.wZ)(d);let b=!f.getQueryCache().get(p.queryHash),[m]=s.useState(()=>new t(f,p)),v=m.getOptimisticResult(p),R=!l&&!1!==e.subscribed;if(s.useSyncExternalStore(s.useCallback(e=>{let t=R?m.subscribe(i.jG.batchCalls(e)):n.lQ;return m.updateResult(),t},[m,R]),()=>m.getCurrentResult(),()=>m.getCurrentResult()),s.useEffect(()=>{m.setOptions(p)},[p,m]),(0,c.EU)(p,v))throw(0,c.iL)(p,m,d);if((0,o.$1)({result:v,errorResetBoundary:d,throwOnError:p.throwOnError,query:y,suspense:p.suspense}))throw v.error;if(f.getDefaultOptions().queries?._experimental_afterQuery?.(p,v),p.experimental_prefetchInRender&&!n.S$&&(0,c.nE)(v,l)){let e=b?(0,c.iL)(p,m,d):y?.promise;e?.catch(n.lQ).finally(()=>{m.updateResult()})}return p.notifyOnChangeProps?v:m.trackResult(v)}},2394:(e,t,r)=>{r.d(t,{useQuery:()=>n});var s=r(49845),i=r(601);function n(e,t){return(0,i.t)(e,s.$,t)}},3750:(e,t,r)=>{r.d(t,{useIsFetching:()=>u});var s=r(7963),i=r(38363),n=r(46447);function u(e,t){let r=(0,n.useQueryClient)(t),u=r.getQueryCache();return s.useSyncExternalStore(s.useCallback(e=>u.subscribe(i.jG.batchCalls(e)),[u]),()=>r.isFetching(e),()=>r.isFetching(e))}},11002:(e,t,r)=>{r.d(t,{useSuspenseQueries:()=>n});var s=r(81733),i=r(11683);function n(e,t){return(0,s.useQueries)({...e,queries:e.queries.map(e=>({...e,suspense:!0,throwOnError:i.R3,enabled:!0,placeholderData:void 0}))},t)}},11683:(e,t,r)=>{r.d(t,{EU:()=>u,R3:()=>s,iL:()=>a,jv:()=>i,nE:()=>n});var s=(e,t)=>void 0===t.state.data,i=e=>{if(e.suspense){let t=e=>"static"===e?e:Math.max(e??1e3,1e3),r=e.staleTime;e.staleTime="function"==typeof r?(...e)=>t(r(...e)):t(r),"number"==typeof e.gcTime&&(e.gcTime=Math.max(e.gcTime,1e3))}},n=(e,t)=>e.isLoading&&e.isFetching&&!t,u=(e,t)=>e?.suspense&&t.isPending,a=(e,t,r)=>t.fetchOptimistic(e).catch(()=>{r.clearReset()})},16890:(e,t,r)=>{r.d(t,{useInfiniteQuery:()=>n});var s=r(41393),i=r(601);function n(e,t){return(0,i.t)(e,s.z,t)}},23414:(e,t,r)=>{r.d(t,{IsRestoringProvider:()=>u,useIsRestoring:()=>n});var s=r(7963),i=s.createContext(!1),n=()=>s.useContext(i),u=i.Provider},27206:(e,t,r)=>{r.d(t,{$1:()=>a,LJ:()=>n,wZ:()=>u});var s=r(7963),i=r(64902),n=(e,t,r)=>{let s=r?.state.error&&"function"==typeof e.throwOnError?(0,i.GU)(e.throwOnError,[r.state.error,r]):e.throwOnError;(e.suspense||e.experimental_prefetchInRender||s)&&!t.isReset()&&(e.retryOnMount=!1)},u=e=>{s.useEffect(()=>{e.clearReset()},[e])},a=({result:e,errorResetBoundary:t,throwOnError:r,query:s,suspense:n})=>e.isError&&!t.isReset()&&!e.isFetching&&s&&(n&&void 0===e.data||(0,i.GU)(r,[e.error,s]))},27838:(e,t,r)=>{r.d(t,{useSuspenseQuery:()=>u});var s=r(49845),i=r(601),n=r(11683);function u(e,t){return(0,i.t)({...e,enabled:!0,suspense:!0,throwOnError:n.R3,placeholderData:void 0},s.$,t)}},33706:(e,t,r)=>{r.d(t,{QueryErrorResetBoundary:()=>o,useQueryErrorResetBoundary:()=>a});var s=r(7963),i=r(34379);function n(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}
1var u=s.createContext(n()),a=()=>s.useContext(u),o=({children:e})=>{let[t]=s.useState(()=>n());return(0,i.jsx)(u.Provider,{value:t,children:"function"==typeof e?e(t):e})}},34870:(e,t,r)=>{r.d(t,{useIsMutating:()=>a,useMutationState:()=>h});var s=r(7963),i=r(64902),n=r(38363),u=r(46447);function a(e,t){let r=(0,u.useQueryClient)(t);return h({filters:{...e,status:"pending"}},r).length}function o(e,t){return e.findAll(t.filters).map(e=>t.select?t.select(e):e.state)}function h(e={},t){let r=(0,u.useQueryClient)(t).getMutationCache(),a=s.useRef(e),c=s.useRef(null);return null===c.current&&(c.current=o(r,e)),s.useEffect(()=>{a.current=e}),s.useSyncExternalStore(s.useCallback(e=>r.subscribe(()=>{let t=(0,i.BH)(c.current,o(r,a.current));c.current!==t&&(c.current=t,n.jG.schedule(e))}),[r]),()=>c.current,()=>c.current)}},41393:(e,t,r)=>{r.d(t,{z:()=>n});var s=r(49845),i=r(83449),n=class extends s.${constructor(e,t){super(e,t)}bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(e){super.setOptions({...e,behavior:(0,i.PL)()})}getOptimisticResult(e){return e.behavior=(0,i.PL)(),super.getOptimisticResult(e)}fetchNextPage(e){return this.fetch({...e,meta:{fetchMore:{direction:"forward"}}})}fetchPreviousPage(e){return this.fetch({...e,meta:{fetchMore:{direction:"backward"}}})}createResult(e,t){let{state:r}=e,s=super.createResult(e,t),{isFetching:n,isRefetching:u,isError:a,isRefetchError:o}=s,h=r.fetchMeta?.fetchMore?.direction,c=a&&"forward"===h,l=n&&"forward"===h,d=a&&"backward"===h,f=n&&"backward"===h;return{...s,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:(0,i.rB)(t,r.data),hasPreviousPage:(0,i.RQ)(t,r.data),isFetchNextPageError:c,isFetchingNextPage:l,isFetchPreviousPageError:d,isFetchingPreviousPage:f,isRefetchError:o&&!c&&!d,isRefetching:u&&!l&&!f}}}},49845:(e,t,r)=>{r.d(t,{$:()=>c});var s=r(21758),i=r(38363),n=r(49383),u=r(10868),a=r(56346),o=r(64902),h=r(69904),c=class extends u.Q{constructor(e,t){super(),this.options=t,this.#e=e,this.#t=null,this.#r=(0,a.T)(),this.bindMethods(),this.setOptions(t)}#e;#s=void 0;#i=void 0;#n=void 0;#u;#a;#r;#t;#o;#h;#c;#l;#d;#f;#p=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(this.#s.addObserver(this),l(this.#s,this.options)?this.#y():this.updateResult(),this.#b())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return d(this.#s,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return d(this.#s,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#m(),this.#v(),this.#s.removeObserver(this)}setOptions(e){let t=this.options,r=this.#s;if(this.options=this.#e.defaultQueryOptions(e),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled&&"function"!=typeof this.options.enabled&&"boolean"!=typeof(0,o.Eh)(this.options.enabled,this.#s))throw Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#R(),this.#s.setOptions(this.options),t._defaulted&&!(0,o.f8)(this.options,t)&&this.#e.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#s,observer:this});let s=this.hasListeners();s&&f(this.#s,r,this.options,t)&&this.#y(),this.updateResult(),s&&(this.#s!==r||(0,o.Eh)(this.options.enabled,this.#s)!==(0,o.Eh)(t.enabled,this.#s)||(0,o.d2)(this.options.staleTime,this.#s)!==(0,o.d2)(t.staleTime,this.#s))&&this.#g();let i=this.#Q();s&&(this.#s!==r||(0,o.Eh)(this.options.enabled,this.#s)!==(0,o.Eh)(t.enabled,this.#s)||i!==this.#f)&&this.#O(i)}getOptimisticResult(e){var t,r;let s=this.#e.getQueryCache().build(this.#e,e),i=this.createResult(s,e);return t=this,r=i,(0,o.f8)(t.getCurrentResult(),r)||(this.#n=i,this.#a=this.options,this.#u=this.#s.state),i}getCurrentResult(){return this.#n}trackResult(e,t){return new Proxy(e,{get:(e,r)=>(this.trackProp(r),t?.(r),"promise"===r&&(this.trackProp("data"),this.options.experimental_prefetchInRender||"pending"!==this.#r.status||this.#r.reject(Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(e,r))})}trackProp(e){this.#p.add(e)}getCurrentQuery(){return this.#s}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){let t=this.#e.defaultQueryOptions(e),r=this.#e.getQueryCache().build(this.#e,t);return r.fetch().then(()=>this.createResult(r,t))}fetch(e){return this.#y({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#n))}#y(e){this.#R();let t=this.#s.fetch(this.options,e);return e?.throwOnError||(t=t.catch(o.lQ)),t}#g(){this.#m();let e=(0,o.d2)(this.options.staleTime,this.#s);if(o.S$||this.#n.isStale||!(0,o.gn)(e))return;let t=(0,o.j3)(this.#n.dataUpdatedAt,e);this.#l=h.zs.setTimeout(()=>{this.#n.isStale||this.updateResult()},t+1)}#Q(){return("function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.#s):this.options.refetchInterval)??!1}#O(e){this.#v(),this.#f=e,!o.S$&&!1!==(0,o.Eh)(this.options.enabled,this.#s)&&(0,o.gn)(this.#f)&&0!==this.#f&&(this.#d=
1h.zs.setInterval(()=>{(this.options.refetchIntervalInBackground||s.m.isFocused())&&this.#y()},this.#f))}#b(){this.#g(),this.#O(this.#Q())}#m(){this.#l&&(h.zs.clearTimeout(this.#l),this.#l=void 0)}#v(){this.#d&&(h.zs.clearInterval(this.#d),this.#d=void 0)}createResult(e,t){let r,s=this.#s,i=this.options,u=this.#n,h=this.#u,c=this.#a,d=e!==s?e.state:this.#i,{state:y}=e,b={...y},m=!1;if(t._optimisticResults){let r=this.hasListeners(),u=!r&&l(e,t),a=r&&f(e,s,t,i);(u||a)&&(b={...b,...(0,n.k)(y.data,e.options)}),"isRestoring"===t._optimisticResults&&(b.fetchStatus="idle")}let{error:v,errorUpdatedAt:R,status:g}=b;r=b.data;let Q=!1;if(void 0!==t.placeholderData&&void 0===r&&"pending"===g){let e;u?.isPlaceholderData&&t.placeholderData===c?.placeholderData?(e=u.data,Q=!0):e="function"==typeof t.placeholderData?t.placeholderData(this.#c?.state.data,this.#c):t.placeholderData,void 0!==e&&(g="success",r=(0,o.pl)(u?.data,e,t),m=!0)}if(t.select&&void 0!==r&&!Q)if(u&&r===h?.data&&t.select===this.#o)r=this.#h;else try{this.#o=t.select,r=t.select(r),r=(0,o.pl)(u?.data,r,t),this.#h=r,this.#t=null}catch(e){this.#t=e}this.#t&&(v=this.#t,r=this.#h,R=Date.now(),g="error");let O="fetching"===b.fetchStatus,E="pending"===g,C="error"===g,w=E&&O,P=void 0!==r,S={status:g,fetchStatus:b.fetchStatus,isPending:E,isSuccess:"success"===g,isError:C,isInitialLoading:w,isLoading:w,data:r,dataUpdatedAt:b.dataUpdatedAt,error:v,errorUpdatedAt:R,failureCount:b.fetchFailureCount,failureReason:b.fetchFailureReason,errorUpdateCount:b.errorUpdateCount,isFetched:b.dataUpdateCount>0||b.errorUpdateCount>0,isFetchedAfterMount:b.dataUpdateCount>d.dataUpdateCount||b.errorUpdateCount>d.errorUpdateCount,isFetching:O,isRefetching:O&&!E,isLoadingError:C&&!P,isPaused:"paused"===b.fetchStatus,isPlaceholderData:m,isRefetchError:C&&P,isStale:p(e,t),refetch:this.refetch,promise:this.#r,isEnabled:!1!==(0,o.Eh)(t.enabled,e)};if(this.options.experimental_prefetchInRender){let t=void 0!==S.data,r="error"===S.status&&!t,i=e=>{r?e.reject(S.error):t&&e.resolve(S.data)},n=()=>{i(this.#r=S.promise=(0,a.T)())},u=this.#r;switch(u.status){case"pending":e.queryHash===s.queryHash&&i(u);break;case"fulfilled":(r||S.data!==u.value)&&n();break;case"rejected":r&&S.error===u.reason||n()}}return S}updateResult(){let e=this.#n,t=this.createResult(this.#s,this.options);if(this.#u=this.#s.state,this.#a=this.options,void 0!==this.#u.data&&(this.#c=this.#s),(0,o.f8)(t,e))return;this.#n=t;let r=()=>{if(!e)return!0;let{notifyOnChangeProps:t}=this.options,r="function"==typeof t?t():t;if("all"===r||!r&&!this.#p.size)return!0;let s=new Set(r??this.#p);return this.options.throwOnError&&s.add("error"),Object.keys(this.#n).some(t=>this.#n[t]!==e[t]&&s.has(t))};this.#E({listeners:r()})}#R(){let e=this.#e.getQueryCache().build(this.#e,this.options);if(e===this.#s)return;let t=this.#s;this.#s=e,this.#i=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#b()}#E(e){i.jG.batch(()=>{e.listeners&&this.listeners.forEach(e=>{e(this.#n)}),this.#e.getQueryCache().notify({query:this.#s,type:"observerResultsUpdated"})})}};function l(e,t){return!1!==(0,o.Eh)(t.enabled,e)&&void 0===e.state.data&&("error"!==e.state.status||!1!==t.retryOnMount)||void 0!==e.state.data&&d(e,t,t.refetchOnMount)}function d(e,t,r){if(!1!==(0,o.Eh)(t.enabled,e)&&"static"!==(0,o.d2)(t.staleTime,e)){let s="function"==typeof r?r(e):r;return"always"===s||!1!==s&&p(e,t)}return!1}function f(e,t,r,s){return(e!==t||!1===(0,o.Eh)(s.enabled,e))&&(!r.suspense||"error"!==e.state.status)&&p(e,r)}function p(e,t){return!1!==(0,o.Eh)(t.enabled,e)&&e.isStaleByTime((0,o.d2)(t.staleTime,e))}},50230:(e,t,r)=>{r.d(t,{useSuspenseInfiniteQuery:()=>u});var s=r(41393),i=r(601),n=r(11683);function u(e,t){return(0,i.t)({...e,enabled:!0,suspense:!0,throwOnError:n.R3},s.z,t)}},59331:(e,t,r)=>{r.d(t,{A:()=>f});var s=r(7262),i=r(7963),n=r.t(i,2),u=r(96469),a=n["use".trim()],o=r(85448),h=r(41493),c=r(97089),l=r(34379),d=r(69787);function f(e){let{Link:t,config:r,getPathname:n,...f}=function(e,t){var r,n,u;let d={...r=t||{},localePrefix:"object"==typeof(u=r.localePrefix)?u:{mode:u||"always"}
1,localeCookie:!!((n=r.localeCookie)??1)&&{name:"NEXT_LOCALE",sameSite:"lax",..."object"==typeof n&&n},localeDetection:r.localeDetection??!0,alternateLinks:r.alternateLinks??!0},f=d.pathnames,p=(0,i.forwardRef)(function({href:t,locale:r,...s},i){let n,u;"object"==typeof t?(n=t.pathname,u=t.params):n=t;let c=(0,o._x)(t),p=e(),b=(0,o.yL)(p)?a(p):p,m=c?y({locale:r||b,href:null==f?n:{pathname:n,params:u},forcePrefix:null!=r||void 0}):n;return(0,l.jsx)(h.default,{ref:i,href:"object"==typeof t?{...t,pathname:m}:m,locale:r,localeCookie:d.localeCookie,...s})});function y(e){let t,{forcePrefix:r,href:s,locale:i}=e;return null==f?"object"==typeof s?(t=s.pathname,s.query&&(t+=(0,c.Zn)(s.query))):t=s:t=(0,c.FP)({locale:i,...(0,c.TK)(s),pathnames:d.pathnames}),(0,c.x3)(t,i,d,r)}function b(e){return function(t,...r){return e(y(t),...r)}}return{config:d,Link:p,redirect:b(s.redirect),permanentRedirect:b(s.permanentRedirect),getPathname:y}}(u.Ym,e);return{...f,Link:t,usePathname:function(){let e,t,n=(e=(0,s.usePathname)(),t=(0,u.Ym)(),(0,i.useMemo)(()=>{if(!e)return e;let s=e,i=(0,o.XP)(t,r.localePrefix);if((0,o.wO)(i,e))s=(0,o.MY)(e,i);else if("never"!==r.localePrefix.mode&&r.localePrefix.prefixes){let r=(0,o.bL)(t);(0,o.wO)(r,e)&&(s=(0,o.MY)(e,r))}return s},[r.localePrefix,t,e])),a=(0,u.Ym)();return(0,i.useMemo)(()=>n&&r.pathnames?(0,c.aM)(a,n,r.pathnames):n,[a,n])},useRouter:function(){let e=(0,s.useRouter)(),t=(0,u.Ym)(),a=(0,s.usePathname)();return(0,i.useMemo)(()=>{function s(e){return function(s,i){let{locale:u,...o}=i||{},h=[n({href:s,locale:u||t,forcePrefix:null!=u||void 0})];Object.keys(o).length>0&&h.push(o),(0,d.A)(r.localeCookie,a,t,u),e(...h)}}return{...e,push:s(e.push),replace:s(e.replace),prefetch:s(e.prefetch)}},[t,a,e])},getPathname:n}}},65273:(e,t,r)=>{r.d(t,{c:()=>n});var s=r(96469);function i(e,t){return(...e)=>{try{return t(...e)}catch{throw Error(void 0)}}}let n=i(0,s.c3);i(0,s.kc)},68568:(e,t,r)=>{r.d(t,{useMutation:()=>c});var s=r(7963),i=r(37170),n=r(38363),u=r(10868),a=r(64902),o=class extends u.Q{#e;#n=void 0;#C;#w;constructor(e,t){super(),this.#e=e,this.setOptions(t),this.bindMethods(),this.#P()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(e){let t=this.options;this.options=this.#e.defaultMutationOptions(e),(0,a.f8)(this.options,t)||this.#e.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#C,observer:this}),t?.mutationKey&&this.options.mutationKey&&(0,a.EN)(t.mutationKey)!==(0,a.EN)(this.options.mutationKey)?this.reset():this.#C?.state.status==="pending"&&this.#C.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#C?.removeObserver(this)}onMutationUpdate(e){this.#P(),this.#E(e)}getCurrentResult(){return this.#n}reset(){this.#C?.removeObserver(this),this.#C=void 0,this.#P(),this.#E()}mutate(e,t){return this.#w=t,this.#C?.removeObserver(this),this.#C=this.#e.getMutationCache().build(this.#e,this.options),this.#C.addObserver(this),this.#C.execute(e)}#P(){let e=this.#C?.state??(0,i.$)();this.#n={...e,isPending:"pending"===e.status,isSuccess:"success"===e.status,isError:"error"===e.status,isIdle:"idle"===e.status,mutate:this.mutate,reset:this.reset}}#E(e){n.jG.batch(()=>{if(this.#w&&this.hasListeners()){let t=this.#n.variables,r=this.#n.context,s={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};if(e?.type==="success"){try{this.#w.onSuccess?.(e.data,t,r,s)}catch(e){Promise.reject(e)}try{this.#w.onSettled?.(e.data,null,t,r,s)}catch(e){Promise.reject(e)}}else if(e?.type==="error"){try{this.#w.onError?.(e.error,t,r,s)}catch(e){Promise.reject(e)}try{this.#w.onSettled?.(void 0,e.error,t,r,s)}catch(e){Promise.reject(e)}}}this.listeners.forEach(e=>{e(this.#n)})})}},h=r(46447);function c(e,t){let r=(0,h.useQueryClient)(t),[i]=s.useState(()=>new o(r,e));s.useEffect(()=>{i.setOptions(e)},[i,e]);let u=s.useSyncExternalStore(s.useCallback(e=>i.subscribe(n.jG.batchCalls(e)),[i]),()=>i.getCurrentResult(),()=>i.getCurrentResult()),c=s.useCallback((e,t)=>{i.mutate(e,t).catch(a.lQ)},[i]);if(u.error&&(0,a.GU)(i.options.throwOnError,[u.error]))throw u.error;return{...u,mutate:c,mutateAsync:u.mutate}}},73861:(e,t,r)=>{r.d(t,{HydrationBoundary:()=>h});var s=r(7963),i=r(56346),n=r(64902);function u(e){return e}function a(e,t,r){if("object"!=typeof t||null===t)return;let s=e.getMutationCache(),a=e.getQueryCache(),o=r?.defaultOptions?.deserializeData??e.getDefaultOptions().hydrate?.deserializeData??u,h=t.mutations||[],c=t.queries||[];h.forEach(({state:t,...i})=>{s.build(e,{...e.getDefaultOptions().hydrate?.mutations,...r?.defaultOptions?.mutations,...i},t)}
1),c.forEach(({queryKey:t,state:s,queryHash:u,meta:h,promise:c,dehydratedAt:l})=>{let d=c?(0,i.b)(c):void 0,f=void 0===s.data?d?.data:s.data,p=void 0===f?f:o(f),y=a.get(u),b=y?.state.status==="pending",m=y?.state.fetchStatus==="fetching";if(y){let e=d&&void 0!==l&&l>y.state.dataUpdatedAt;if(s.dataUpdatedAt>y.state.dataUpdatedAt||e){let{fetchStatus:e,...t}=s;y.setState({...t,data:p})}}else y=a.build(e,{...e.getDefaultOptions().hydrate?.queries,...r?.defaultOptions?.queries,queryKey:t,queryHash:u,meta:h},{...s,data:p,fetchStatus:"idle",status:void 0!==p?"success":s.status});c&&!b&&!m&&(void 0===l||l>y.state.dataUpdatedAt)&&y.fetch(void 0,{initialPromise:Promise.resolve(c).then(o)}).catch(n.lQ)})}var o=r(46447),h=({children:e,options:t={},state:r,queryClient:i})=>{let n=(0,o.useQueryClient)(i),u=s.useRef(t);s.useEffect(()=>{u.current=t});let h=s.useMemo(()=>{if(r){if("object"!=typeof r)return;let e=n.getQueryCache(),t=r.queries||[],s=[],i=[];for(let r of t){let t=e.get(r.queryHash);t?(r.state.dataUpdatedAt>t.state.dataUpdatedAt||r.promise&&"pending"!==t.state.status&&"fetching"!==t.state.fetchStatus&&void 0!==r.dehydratedAt&&r.dehydratedAt>t.state.dataUpdatedAt)&&i.push(r):s.push(r)}if(s.length>0&&a(n,{queries:s},u.current),i.length>0)return i}},[n,r]);return s.useEffect(()=>{h&&a(n,{queries:h},u.current)},[n,h]),e}},74879:(e,t,r)=>{r.d(t,{A:()=>s});function s(e){return e}},78033:(e,t,r)=>{r.d(t,{Cl:()=>s,YH:()=>n,sH:()=>i});var s=function(){return(s=Object.assign||function(e){for(var t,r=1,s=arguments.length;r<s;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function i(e,t,r,s){return new(r||(r=Promise))(function(i,n){function u(e){try{o(s.next(e))}catch(e){n(e)}}function a(e){try{o(s.throw(e))}catch(e){n(e)}}function o(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(u,a)}o((s=s.apply(e,t||[])).next())})}function n(e,t){var r,s,i,n={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},u=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return u.next=a(0),u.throw=a(1),u.return=a(2),"function"==typeof Symbol&&(u[Symbol.iterator]=function(){return this}),u;function a(a){return function(o){var h=[a,o];if(r)throw TypeError("Generator is already executing.");for(;u&&(u=0,h[0]&&(n=0)),n;)try{if(r=1,s&&(i=2&h[0]?s.return:h[0]?s.throw||((i=s.return)&&i.call(s),0):s.next)&&!(i=i.call(s,h[1])).done)return i;switch(s=0,i&&(h=[2&h[0],i.value]),h[0]){case 0:case 1:i=h;break;case 4:return n.label++,{value:h[1],done:!1};case 5:n.label++,s=h[1],h=[0];continue;case 7:h=n.ops.pop(),n.trys.pop();continue;default:if(!(i=(i=n.trys).length>0&&i[i.length-1])&&(6===h[0]||2===h[0])){n=0;continue}if(3===h[0]&&(!i||h[1]>i[0]&&h[1]<i[3])){n.label=h[1];break}if(6===h[0]&&n.label<i[1]){n.label=i[1],i=h;break}if(i&&n.label<i[2]){n.label=i[2],n.ops.push(h);break}i[2]&&n.ops.pop(),n.trys.pop();continue}h=t.call(e,n)}catch(e){h=[6,e],s=0}finally{r=i=0}if(5&h[0])throw h[1];return{value:h[0]?h[1]:void 0,done:!0}}}}"function"==typeof SuppressedError&&SuppressedError},81733:(e,t,r)=>{r.d(t,{useQueries:()=>y});var s=r(7963),i=r(38363),n=r(49845),u=r(10868),a=r(64902);function o(e,t){let r=new Set(t);return e.filter(e=>!r.has(e))}var h=class extends u.Q{#e;#S;#I;#M;#x;#k;#T;#U;#j;#D=[];constructor(e,t,r){super(),this.#e=e,this.#M=r,this.#I=[],this.#x=[],this.#S=[],this.setQueries(t)}onSubscribe(){1===this.listeners.size&&this.#x.forEach(e=>{e.subscribe(t=>{this.#L(e,t)})})}onUnsubscribe(){this.listeners.size||this.destroy()}destroy(){this.listeners=new Set,this.#x.forEach(e=>{e.destroy()})}setQueries(e,t){this.#I=e,this.#M=t,i.jG.batch(()=>{let e=this.#x,t=this.#q(this.#I);t.forEach(e=>e.observer.setOptions(e.defaultedQueryOptions));let r=t.map(e=>e.observer),s=r.map(e=>e.getCurrentResult()),i=e.length!==r.length,n=r.some((t,r)=>t!==e[r]),u=i||n,h=!!u||s.some((e,t)=>{let r=this.#S[t];return!r||!(0,a.f8)(e,r)});(u||h)&&(u&&(this.#D=t,this.#x=r),this.#S=s,this.hasListeners()&&(u&&(o(e,r).forEach(e=>{e.destroy()}
1),o(r,e).forEach(e=>{e.subscribe(t=>{this.#L(e,t)})})),this.#E()))})}getCurrentResult(){return this.#S}getQueries(){return this.#x.map(e=>e.getCurrentQuery())}getObservers(){return this.#x}getOptimisticResult(e,t){let r=this.#q(e),s=r.map(e=>e.observer.getOptimisticResult(e.defaultedQueryOptions)),i=r.map(e=>e.defaultedQueryOptions.queryHash);return[s,e=>this.#_(e??s,t,i),()=>this.#F(s,r)]}#F(e,t){return t.map((r,s)=>{let i=e[s];return r.defaultedQueryOptions.notifyOnChangeProps?i:r.observer.trackResult(i,e=>{t.forEach(t=>{t.observer.trackProp(e)})})})}#_(e,t,r){if(t){let s=this.#j,i=void 0!==r&&void 0!==s&&(s.length!==r.length||r.some((e,t)=>e!==s[t]));return(!this.#k||this.#S!==this.#U||i||t!==this.#T)&&(this.#T=t,this.#U=this.#S,void 0!==r&&(this.#j=r),this.#k=(0,a.BH)(this.#k,t(e))),this.#k}return e}#q(e){let t=new Map;this.#x.forEach(e=>{let r=e.options.queryHash;if(!r)return;let s=t.get(r);s?s.push(e):t.set(r,[e])});let r=[];return e.forEach(e=>{let s=this.#e.defaultQueryOptions(e),i=t.get(s.queryHash)?.shift()??new n.$(this.#e,s);r.push({defaultedQueryOptions:s,observer:i})}),r}#L(e,t){let r=this.#x.indexOf(e);if(-1!==r){var s;let e;this.#S=(s=this.#S,(e=s.slice(0))[r]=t,e),this.#E()}}#E(){if(this.hasListeners()){let e=this.#k,t=this.#F(this.#S,this.#D);e!==this.#_(t,this.#M?.combine)&&i.jG.batch(()=>{this.listeners.forEach(e=>{e(this.#S)})})}}},c=r(46447),l=r(23414),d=r(33706),f=r(27206),p=r(11683);function y({queries:e,...t},r){let u=(0,c.useQueryClient)(r),o=(0,l.useIsRestoring)(),y=(0,d.useQueryErrorResetBoundary)(),b=s.useMemo(()=>e.map(e=>{let t=u.defaultQueryOptions(e);return t._optimisticResults=o?"isRestoring":"optimistic",t}),[e,u,o]);b.forEach(e=>{(0,p.jv)(e);let t=u.getQueryCache().get(e.queryHash);(0,f.LJ)(e,y,t)}),(0,f.wZ)(y);let[m]=s.useState(()=>new h(u,b,t)),[v,R,g]=m.getOptimisticResult(b,t.combine),Q=!o&&!1!==t.subscribed;s.useSyncExternalStore(s.useCallback(e=>Q?m.subscribe(i.jG.batchCalls(e)):a.lQ,[m,Q]),()=>m.getCurrentResult(),()=>m.getCurrentResult()),s.useEffect(()=>{m.setQueries(b,t)},[b,t,m]);let O=v.some((e,t)=>(0,p.EU)(b[t],e))?v.flatMap((e,t)=>{let r=b[t];if(r){let t=new n.$(u,r);if((0,p.EU)(r,e))return(0,p.iL)(r,t,y);(0,p.nE)(e,o)&&(0,p.iL)(r,t,y)}return[]}):[];if(O.length>0)throw Promise.all(O);let E=v.find((e,t)=>{let r=b[t];return r&&(0,f.$1)({result:e,errorResetBoundary:y,throwOnError:r.throwOnError,query:u.getQueryCache().get(r.queryHash),suspense:r.suspense})});if(E?.error)throw E.error;return R(g())}}}]);
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.