1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2404],{99808:function(t,e,n){/** 2 * @license React 3 * use-sync-external-store-shim.production.js 4 * 5 * Copyright (c) Meta Platforms, Inc. and affiliates. 6 * 7 * This source code is licensed under the MIT license found in the 8 * LICENSE file in the root directory of this source tree. 9 */var s=n(2265),i="function"==typeof Object.is?Object.is:function(t,e){return t===e&&(0!==t||1/t==1/e)||t!=t&&e!=e},r=s.useState,u=s.useEffect,o=s.useLayoutEffect,a=s.useDebugValue;function l(t){var e=t.getSnapshot;t=t.value;try{var n=e();return!i(t,n)}catch(t){return!0}}var c="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(t,e){return e()}:function(t,e){var n=e(),s=r({inst:{value:n,getSnapshot:e}}),i=s[0].inst,c=s[1];return o(function(){i.value=n,i.getSnapshot=e,l(i)&&c({inst:i})},[t,n,e]),u(function(){return l(i)&&c({inst:i}),t(function(){l(i)&&c({inst:i})})},[t]),a(n),n};e.useSyncExternalStore=void 0!==s.useSyncExternalStore?s.useSyncExternalStore:c},26272:function(t,e,n){t.exports=n(99808)},88202:function(t,e,n){n.d(e,{j:function(){return u}});var s=n(29492),i=n(46504);class r extends s.l{constructor(){super(),this.setup=t=>{if(!i.sk&&window.addEventListener){let e=()=>t();return window.addEventListener("visibilitychange",e,!1),window.addEventListener("focus",e,!1),()=>{window.removeEventListener("visibilitychange",e),window.removeEventListener("focus",e)}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){if(!this.hasListeners()){var t;null==(t=this.cleanup)||t.call(this),this.cleanup=void 0}}setEventListener(t){var e;this.setup=t,null==(e=this.cleanup)||e.call(this),this.cleanup=t(t=>{"boolean"==typeof t?this.setFocused(t):this.onFocus()})}setFocused(t){this.focused!==t&&(this.focused=t,this.onFocus())}onFocus(){this.listeners.forEach(({listener:t})=>{t()})}isFocused(){return"boolean"==typeof this.focused?this.focused:"undefined"==typeof document||[void 0,"visible","prerender"].includes(document.visibilityState)}}let u=new r},58810:function(t,e,n){n.d(e,{_:function(){return s}});let s=console},20172:function(t,e,n){n.d(e,{R:function(){return a},m:function(){return o}});var s=n(58810),i=n(17156),r=n(11909),u=n(43238);class o extends r.F{constructor(t){super(),this.defaultOptions=t.defaultOptions,this.mutationId=t.mutationId,this.mutationCache=t.mutationCache,this.logger=t.logger||s._,this.observers=[],this.state=t.state||a(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options={...this.defaultOptions,...t},this.updateCacheTime(this.options.cacheTime)}get meta(){return this.options.meta}setState(t){this.dispatch({type:"setState",state:t})}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),this.mutationCache.notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){this.observers=this.observers.filter(e=>e!==t),this.scheduleGc(),this.mutationCache.notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){this.observers.length||("loading"===this.state.status?this.scheduleGc():this.mutationCache.remove(this))}continue(){var t,e;return null!=(t=null==(e=this.retryer)?void 0:e.continue())?t:this.execute()}async execute(){var t,e,n,s,i,r,o,a,l,c,h,d,f,p,v,y,b,m,R,S;let w="loading"===this.state.status;try{if(!w){this.dispatch({type:"loading",variables:this.options.variables}),await (null==(l=(c=this.mutationCache.config).onMutate)?void 0:l.call(c,this.state.variables,this));let t=await (null==(h=(d=this.options).onMutate)?void 0:h.call(d,this.state.variables));t!==this.state.context&&this.dispatch({type:"loading",context:t,variables:this.state.variables})}let f=await (()=>{var t;return this.retryer=(0,u.Mz)({fn:()=>this.options.mutationFn?this.options.mutationFn(this.state.variables):Promise.reject("No mutationFn found"),onFail:(t,e)=>{this.dispatch({type:"failed",failureCount:t,error:e})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:null!=(t=this.options.retry)?t:0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode}),this.retryer.promise})();return await (null==(t=(e=this.mutationCache.config).onSuccess)?void 0:t.call(e,f,this.state.variables,this.state.context,this)),await (null==(n=(s=this.options).onSuccess)?void 0:n.call(s,f,this.state.variables,this.state.context)),await (null==(i=(r=this.mutationCache.config).onSettled)?void 0:i.call(r,f,null,this.state.variables,this.state.context,this)),await (null==(o=(a=this.options).onSettled)?void 0:o.call(a,f,null,this.state.variables,this.state.context)),this.dispatch({type:"success",data:f}),f}catch(t){try{throw await (null==(f=(p=this.mutationCache.config).onError)?void 0:f.call(p,t,this.state.variables,this.state.context,this)),await (null==(v=(y=this.options).onError)?void 0:v.call(y,t,this.state.variables,this.state.context)),await (null==(b=(m=this.mutationCache.config).onSettled)?void 0:b.call(m,void 0,t,this.state.variables,this.state.context,this)),await (null==(R=(S=this.options).onSettled)?void 0:R.call(S,void 0,t,this.state.variables,this.state.context)),t}finally{this.dispatch({type:"error",error:t})}}}dispatch(t){this.state=(e=>{switch(t.type){case"failed":return{...e,failureCount:t.failureCount,failureReason:t.error};
9case"pause":return{...e,isPaused:!0};case"continue":return{...e,isPaused:!1};case"loading":return{...e,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:!(0,u.Kw)(this.options.networkMode),status:"loading",variables:t.variables};case"success":return{...e,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...e,data:void 0,error:t.error,failureCount:e.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"};case"setState":return{...e,...t.state}}})(this.state),i.V.batch(()=>{this.observers.forEach(e=>{e.onMutationUpdate(t)}),this.mutationCache.notify({mutation:this,type:"updated",action:t})})}}function a(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0}}},17156:function(t,e,n){n.d(e,{V:function(){return i}});var s=n(46504);let i=function(){let t=[],e=0,n=t=>{t()},i=t=>{t()},r=i=>{e?t.push(i):(0,s.A4)(()=>{n(i)})},u=()=>{let e=t;t=[],e.length&&(0,s.A4)(()=>{i(()=>{e.forEach(t=>{n(t)})})})};return{batch:t=>{let n;e++;try{n=t()}finally{--e||u()}return n},batchCalls:t=>(...e)=>{r(()=>{t(...e)})},schedule:r,setNotifyFunction:t=>{n=t},setBatchNotifyFunction:t=>{i=t}}}()},23864:function(t,e,n){n.d(e,{N:function(){return o}});var s=n(29492),i=n(46504);let r=["online","offline"];class u extends s.l{constructor(){super(),this.setup=t=>{if(!i.sk&&window.addEventListener){let e=()=>t();return r.forEach(t=>{window.addEventListener(t,e,!1)}),()=>{r.forEach(t=>{window.removeEventListener(t,e)})}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){if(!this.hasListeners()){var t;null==(t=this.cleanup)||t.call(this),this.cleanup=void 0}}setEventListener(t){var e;this.setup=t,null==(e=this.cleanup)||e.call(this),this.cleanup=t(t=>{"boolean"==typeof t?this.setOnline(t):this.onOnline()})}setOnline(t){this.online!==t&&(this.online=t,this.onOnline())}onOnline(){this.listeners.forEach(({listener:t})=>{t()})}isOnline(){return"boolean"==typeof this.online?this.online:"undefined"==typeof navigator||void 0===navigator.onLine||navigator.onLine}}let o=new u},90127:function(t,e,n){n.d(e,{z:function(){return a}});var s=n(46504),i=n(17156),r=n(88202),u=n(29492),o=n(43238);class a extends u.l{constructor(t,e){super(),this.client=t,this.options=e,this.trackedProps=new Set,this.selectError=null,this.bindMethods(),this.setOptions(e)}bindMethods(){this.remove=this.remove.bind(this),this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(this.currentQuery.addObserver(this),l(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return c(this.currentQuery,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return c(this.currentQuery,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.clearStaleTimeout(),this.clearRefetchInterval(),this.currentQuery.removeObserver(this)}setOptions(t,e){let n=this.options,i=this.currentQuery;if(this.options=this.client.defaultQueryOptions(t),(0,s.VS)(n,this.options)||this.client.getQueryCache().notify({type:"observerOptionsUpdated",query:this.currentQuery,observer:this}),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled)throw Error("Expected enabled to be a boolean");this.options.queryKey||(this.options.queryKey=n.queryKey),this.updateQuery();let r=this.hasListeners();r&&h(this.currentQuery,i,this.options,n)&&this.executeFetch(),this.updateResult(e),r&&(this.currentQuery!==i||this.options.enabled!==n.enabled||this.options.staleTime!==n.staleTime)&&this.updateStaleTimeout();let u=this.computeRefetchInterval();r&&(this.currentQuery!==i||this.options.enabled!==n.enabled||u!==this.currentRefetchInterval)&&this.updateRefetchInterval(u)}getOptimisticResult(t){let e=this.client.getQueryCache().build(this.client,t),n=this.createResult(e,t);return t.keepPreviousData||(void 0!==t.placeholderData?!n.isPlaceholderData:(0,s.VS)(this.getCurrentResult(),n))||(this.currentResult=n,this.currentResultOptions=this.options,this.currentResultState=this.currentQuery.state),n}getCurrentResult(){return this.currentResult}trackResult(t){let e={};return Object.keys(t).forEach(n=>{Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:()=>(this.trackedProps.add(n),t[n])})}),e}getCurrentQuery(){return this.currentQuery}remove(){this.client.getQueryCache().remove(this.currentQuery)}refetch({refetchPage:t,...e}={}){return this.fetch({...e,meta:{refetchPage:t}})}fetchOptimistic(t){let e=this.client.defaultQueryOptions(t),n=this.client.getQueryCache().build(this.client,e);return n.isFetchingOptimistic=!0,n.fetch().then(()=>this.createResult(n,e))}fetch(t){var e;return this.executeFetch({...t,cancelRefetch:null==(e=t.cancelRefetch)||e}).then(()=>(this.updateResult(),this.currentResult))}executeFetch(t){this.updateQuery();let e=this.currentQuery.fetch(this.options,t);return null!=t&&t.throwOnError||(e=e.catch(s.ZT)),e}updateStaleTimeout(){if(this.clearStaleTimeout(),s.sk||this.currentResult.isStale||!(0,s.PN)(this.options.staleTime))return;let t=(0,s.Kp)(this.currentResult.dataUpdatedAt,this.options.staleTime);this.staleTimeoutId=setTimeout(()=>{this.currentResult.isStale||this.updateResult()},t+1)}computeRefetchInterval(){var t;return"function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.currentResult.data,this.currentQuery):null!=(t=this.options.refetchInterval)&&t}updateRefetchInterval(t){this.clearRefetchInterval(),this.currentRefetchInterval=t,!s.sk&&!1!==this.options.enabled&&(0,s.PN)(this.currentRefetchInterval)&&0!==this.currentRefetchInterval&&(this.refetchIntervalId=setInterval(()=>
9{(this.options.refetchIntervalInBackground||r.j.isFocused())&&this.executeFetch()},this.currentRefetchInterval))}updateTimers(){this.updateStaleTimeout(),this.updateRefetchInterval(this.computeRefetchInterval())}clearStaleTimeout(){this.staleTimeoutId&&(clearTimeout(this.staleTimeoutId),this.staleTimeoutId=void 0)}clearRefetchInterval(){this.refetchIntervalId&&(clearInterval(this.refetchIntervalId),this.refetchIntervalId=void 0)}createResult(t,e){let n;let i=this.currentQuery,r=this.options,u=this.currentResult,a=this.currentResultState,c=this.currentResultOptions,f=t!==i,p=f?t.state:this.currentQueryInitialState,v=f?this.currentResult:this.previousQueryResult,{state:y}=t,{dataUpdatedAt:b,error:m,errorUpdatedAt:R,fetchStatus:S,status:w}=y,g=!1,C=!1;if(e._optimisticResults){let n=this.hasListeners(),s=!n&&l(t,e),u=n&&h(t,i,e,r);(s||u)&&(S=(0,o.Kw)(t.options.networkMode)?"fetching":"paused",b||(w="loading")),"isRestoring"===e._optimisticResults&&(S="idle")}if(e.keepPreviousData&&!y.dataUpdatedAt&&null!=v&&v.isSuccess&&"error"!==w)n=v.data,b=v.dataUpdatedAt,w=v.status,g=!0;else if(e.select&&void 0!==y.data){if(u&&y.data===(null==a?void 0:a.data)&&e.select===this.selectFn)n=this.selectResult;else try{this.selectFn=e.select,n=e.select(y.data),n=(0,s.oE)(null==u?void 0:u.data,n,e),this.selectResult=n,this.selectError=null}catch(t){this.selectError=t}}else n=y.data;if(void 0!==e.placeholderData&&void 0===n&&"loading"===w){let t;if(null!=u&&u.isPlaceholderData&&e.placeholderData===(null==c?void 0:c.placeholderData))t=u.data;else if(t="function"==typeof e.placeholderData?e.placeholderData():e.placeholderData,e.select&&void 0!==t)try{t=e.select(t),this.selectError=null}catch(t){this.selectError=t}void 0!==t&&(w="success",n=(0,s.oE)(null==u?void 0:u.data,t,e),C=!0)}this.selectError&&(m=this.selectError,n=this.selectResult,R=Date.now(),w="error");let E="fetching"===S,O="loading"===w,x="error"===w;return{status:w,fetchStatus:S,isLoading:O,isSuccess:"success"===w,isError:x,isInitialLoading:O&&E,data:n,dataUpdatedAt:b,error:m,errorUpdatedAt:R,failureCount:y.fetchFailureCount,failureReason:y.fetchFailureReason,errorUpdateCount:y.errorUpdateCount,isFetched:y.dataUpdateCount>0||y.errorUpdateCount>0,isFetchedAfterMount:y.dataUpdateCount>p.dataUpdateCount||y.errorUpdateCount>p.errorUpdateCount,isFetching:E,isRefetching:E&&!O,isLoadingError:x&&0===y.dataUpdatedAt,isPaused:"paused"===S,isPlaceholderData:C,isPreviousData:g,isRefetchError:x&&0!==y.dataUpdatedAt,isStale:d(t,e),refetch:this.refetch,remove:this.remove}}updateResult(t){let e=this.currentResult,n=this.createResult(this.currentQuery,this.options);if(this.currentResultState=this.currentQuery.state,this.currentResultOptions=this.options,(0,s.VS)(n,e))return;this.currentResult=n;let i={cache:!0};(null==t?void 0:t.listeners)!==!1&&(()=>{if(!e)return!0;let{notifyOnChangeProps:t}=this.options,n="function"==typeof t?t():t;if("all"===n||!n&&!this.trackedProps.size)return!0;let s=new Set(null!=n?n:this.trackedProps);return this.options.useErrorBoundary&&s.add("error"),Object.keys(this.currentResult).some(t=>this.currentResult[t]!==e[t]&&s.has(t))})()&&(i.listeners=!0),this.notify({...i,...t})}updateQuery(){let t=this.client.getQueryCache().build(this.client,this.options);if(t===this.currentQuery)return;let e=this.currentQuery;this.currentQuery=t,this.currentQueryInitialState=t.state,this.previousQueryResult=this.currentResult,this.hasListeners()&&(null==e||e.removeObserver(this),t.addObserver(this))}onQueryUpdate(t){let e={};"success"===t.type?e.onSuccess=!t.manual:"error"!==t.type||(0,o.DV)(t.error)||(e.onError=!0),this.updateResult(e),this.hasListeners()&&this.updateTimers()}notify(t){i.V.batch(()=>{var e,n,s,i,r,u,o,a;t.onSuccess?(null==(e=(n=this.options).onSuccess)||e.call(n,this.currentResult.data),null==(s=(i=this.options).onSettled)||s.call(i,this.currentResult.data,null)):t.onError&&(null==(r=(u=this.options).onError)||r.call(u,this.currentResult.error),null==(o=(a=this.options).onSettled)||o.call(a,void 0,this.currentResult.error)),t.listeners&&this.listeners.forEach(({listener:t})=>{t(this.currentResult)}),t.cache&&this.client.getQueryCache().notify({query:this.currentQuery,type:"observerResultsUpdated"})})}}function l(t,e){return!1!==e.enabled&&!t.state.dataUpdatedAt&&!("error"===t.state.status&&!1===e.retryOn
9Mount)||t.state.dataUpdatedAt>0&&c(t,e,e.refetchOnMount)}function c(t,e,n){if(!1!==e.enabled){let s="function"==typeof n?n(t):n;return"always"===s||!1!==s&&d(t,e)}return!1}function h(t,e,n,s){return!1!==n.enabled&&(t!==e||!1===s.enabled)&&(!n.suspense||"error"!==t.state.status)&&d(t,n)}function d(t,e){return t.isStaleByTime(e.staleTime)}},11909:function(t,e,n){n.d(e,{F:function(){return i}});var s=n(46504);class i{destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),(0,s.PN)(this.cacheTime)&&(this.gcTimeout=setTimeout(()=>{this.optionalRemove()},this.cacheTime))}updateCacheTime(t){this.cacheTime=Math.max(this.cacheTime||0,null!=t?t:s.sk?1/0:3e5)}clearGcTimeout(){this.gcTimeout&&(clearTimeout(this.gcTimeout),this.gcTimeout=void 0)}}},43238:function(t,e,n){n.d(e,{DV:function(){return l},Kw:function(){return o},Mz:function(){return c}});var s=n(88202),i=n(23864),r=n(46504);function u(t){return Math.min(1e3*2**t,3e4)}function o(t){return(null!=t?t:"online")!=="online"||i.N.isOnline()}class a{constructor(t){this.revert=null==t?void 0:t.revert,this.silent=null==t?void 0:t.silent}}function l(t){return t instanceof a}function c(t){let e,n,l,c=!1,h=0,d=!1,f=new Promise((t,e)=>{n=t,l=e}),p=()=>!s.j.isFocused()||"always"!==t.networkMode&&!i.N.isOnline(),v=s=>{d||(d=!0,null==t.onSuccess||t.onSuccess(s),null==e||e(),n(s))},y=n=>{d||(d=!0,null==t.onError||t.onError(n),null==e||e(),l(n))},b=()=>new Promise(n=>{e=t=>{let e=d||!p();return e&&n(t),e},null==t.onPause||t.onPause()}).then(()=>{e=void 0,d||null==t.onContinue||t.onContinue()}),m=()=>{let e;if(!d){try{e=t.fn()}catch(t){e=Promise.reject(t)}Promise.resolve(e).then(v).catch(e=>{var n,s;if(d)return;let i=null!=(n=t.retry)?n:3,o=null!=(s=t.retryDelay)?s:u,a="function"==typeof o?o(h,e):o,l=!0===i||"number"==typeof i&&h<i||"function"==typeof i&&i(h,e);if(c||!l){y(e);return}h++,null==t.onFail||t.onFail(h,e),(0,r.Gh)(a).then(()=>{if(p())return b()}).then(()=>{c?y(e):m()})})}};return o(t.networkMode)?m():b().then(m),{promise:f,cancel:e=>{d||(y(new a(e)),null==t.abort||t.abort())},continue:()=>(null==e?void 0:e())?f:Promise.resolve(),cancelRetry:()=>{c=!0},continueRetry:()=>{c=!1}}}},29492:function(t,e,n){n.d(e,{l:function(){return s}});class s{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(t){let e={listener:t};return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}}},46504:function(t,e,n){n.d(e,{A4:function(){return O},G9:function(){return x},Gh:function(){return E},I6:function(){return d},Kp:function(){return l},PN:function(){return u},Rc:function(){return a},Rm:function(){return v},SE:function(){return r},VS:function(){return R},X7:function(){return p},ZT:function(){return i},_v:function(){return c},_x:function(){return f},e5:function(){return o},lV:function(){return h},oE:function(){return Q},sk:function(){return s},to:function(){return b},yF:function(){return y}});let s="undefined"==typeof window||"Deno"in window;function i(){}function r(t,e){return"function"==typeof t?t(e):t}function u(t){return"number"==typeof t&&t>=0&&t!==1/0}function o(t,e){return t.filter(t=>!e.includes(t))}function a(t,e,n){let s=t.slice(0);return s[e]=n,s}function l(t,e){return Math.max(t+(e||0)-Date.now(),0)}function c(t,e,n){return C(t)?"function"==typeof e?{...n,queryKey:t,queryFn:e}:{...e,queryKey:t}:t}function h(t,e,n){return C(t)?"function"==typeof e?{...n,mutationKey:t,mutationFn:e}:{...e,mutationKey:t}:"function"==typeof t?{...e,mutationFn:t}:{...t}}function d(t,e,n){return C(t)?[{...e,queryKey:t},n]:[t||{},e]}function f(t,e){let{type:n="all",exact:s,fetchStatus:i,predicate:r,queryKey:u,stale:o}=t;if(C(u)){if(s){if(e.queryHash!==v(u,e.options))return!1}else{if(!m(e.queryKey,u))return!1}}if("all"!==n){let t=e.isActive();if("active"===n&&!t||"inactive"===n&&t)return!1}return("boolean"!=typeof o||e.isStale()===o)&&(void 0===i||i===e.state.fetchStatus)&&(!r||!!r(e))}function p(t,e){let{exact:n,fetching:s,predicate:i,mutationKey:r}=t;if(C(r)){if(!e.options.mutationKey)return!1;if(n){if(y(e.options.mutationKey)!==y(r))return!1}else{if(!m(e.options.mutationKey,r))return!1}}return("boolean"!=typeof s||"loading"===e.state.status===s)&&(!i||!!i(e))}function v(t,e){return((null==e?void 0:e.queryKeyHashFn)||y)(t)}function y(t){return JSON.stringify(t,(t,e)=>w(e)?Object.keys(e).sort().reduce((t,n)=>(t[n]=e[n],t),{}):e)}function b(t,e){return m(t,e)}function m(t,e){return t===e||typeof t==typeof e&&!!t&&!!e&&"object"==typeof t&&"object"==typeof e&&!Object.keys(e).some(n=>!m(t[n],e[n]))}function R(t,e){if(t&&!e||e&&!t)return!1;for(let n in t)if(t[n]!==e[n])return!1;return!0}function S(t){return Array.isArray(t)&&t.length===Object.keys(t).length}function w(t){if(!g(t))return!1;let e=t.constructor;if(void 0===e)return!0;let n=e.prototype;return!!(g(n)&&n.hasOwnProperty("isPrototypeOf"))}function g(t){return"[object Object]"===Object.prototype.toString.call(t)}function C(t){return Array.isArray(t)}function E(t){return new Promise(e=>{setTimeout(e,t)})}function O(t){E(0).then(t)}function x(){if("function"==typeof AbortController)return new AbortController}function Q(t,e,n){return null!=n.isDataEqual&&n.isDataEqual(t,e)?t:"function"==typeof n.structuralSharing?n.structuralSharing(t,e):!1!==n.structuralSharing?function t(e,n){if(e===n)return e;let s=S(e)&&S(n);if(s||w(e)&&w(n)){let i=s?e.length:Object.keys(e).length,r=s?n:Object.keys(n),u=r.length,o=s?[]:{},a=0;for(let i=0;i<u;i++){let u=s?i:r[i];o[u]=t(e[u],n[u]),o[u]===e[u]&&a++}return i===u&&a===i?e:o}return n}(t,e):e}},70165:function(t,e,n){n.d(e,{NL:function(){return o},aH:function(){return a}});var s=n(2265);let i=s.createContext(void 0),r=s.createContext(!1);function u(t,e){return t||(e&&"undefined"!=typeof window?(window.ReactQueryClientContext||(window.ReactQueryClientContext=i),window.ReactQueryClientContext):i)}let o=({context:t}={})=>{let e=s.useContext(u(t,s.useContext(r)));if(!e)throw Error("No QueryClient set, use QueryClientProvider to set one");return e},a=({client:t,children:e,context:n,contextSharing:i=!1})=>{s.useEffect(()=>(t.mount(),()=>{t.unmount()}),[t]);let o=u(n,i);return s.createElement(r.Provider,{value:!n&&i},s.createElement(o.Provider,{value:t},e))}},29676:function(t,e,n){let s;n.d(e,{_:function(){return u}});var i=n(2265);let r=i.createContext((s=!1,{clearReset:()=>{s=!1},reset:()=>{s=!0},isReset:()=>s})),u=()=>i.useContext(r)},47843:function(t,e,n){n.d(e,{JN:function(){return u},KJ:function(){return o},pf:function(){return r}});var s=n(2265),i=n(57798);let r=(t,e)=>
9{(t.suspense||t.useErrorBoundary)&&!e.isReset()&&(t.retryOnMount=!1)},u=t=>{s.useEffect(()=>{t.clearReset()},[t])},o=({result:t,errorResetBoundary:e,useErrorBoundary:n,query:s})=>t.isError&&!e.isReset()&&!t.isFetching&&(0,i.L)(n,[t.error,s])},61963:function(t,e,n){n.d(e,{S:function(){return r}});var s=n(2265);let i=s.createContext(!1),r=()=>s.useContext(i);i.Provider},98962:function(t,e,n){n.d(e,{Fb:function(){return s},SB:function(){return r},Z$:function(){return i},j8:function(){return u}});let s=t=>{t.suspense&&"number"!=typeof t.staleTime&&(t.staleTime=1e3)},i=(t,e)=>t.isLoading&&t.isFetching&&!e,r=(t,e,n)=>(null==t?void 0:t.suspense)&&i(e,n),u=(t,e,n)=>e.fetchOptimistic(t).then(({data:e})=>{null==t.onSuccess||t.onSuccess(e),null==t.onSettled||t.onSettled(e,null)}).catch(e=>{n.clearReset(),null==t.onError||t.onError(e),null==t.onSettled||t.onSettled(void 0,e)})},64742:function(t,e,n){n.d(e,{r:function(){return h}});var s=n(2265),i=n(17156),r=n(45321),u=n(29676),o=n(70165),a=n(61963),l=n(47843),c=n(98962);function h(t,e){let n=(0,o.NL)({context:t.context}),h=(0,a.S)(),d=(0,u._)(),f=n.defaultQueryOptions(t);f._optimisticResults=h?"isRestoring":"optimistic",f.onError&&(f.onError=i.V.batchCalls(f.onError)),f.onSuccess&&(f.onSuccess=i.V.batchCalls(f.onSuccess)),f.onSettled&&(f.onSettled=i.V.batchCalls(f.onSettled)),(0,c.Fb)(f),(0,l.pf)(f,d),(0,l.JN)(d);let[p]=s.useState(()=>new e(n,f)),v=p.getOptimisticResult(f);if((0,r.$)(s.useCallback(t=>{let e=h?()=>void 0:p.subscribe(i.V.batchCalls(t));return p.updateResult(),e},[p,h]),()=>p.getCurrentResult(),()=>p.getCurrentResult()),s.useEffect(()=>{p.setOptions(f,{listeners:!1})},[f,p]),(0,c.SB)(f,v,h))throw(0,c.j8)(f,p,d);if((0,l.KJ)({result:v,errorResetBoundary:d,useErrorBoundary:f.useErrorBoundary,query:p.getCurrentQuery()}))throw v.error;return f.notifyOnChangeProps?v:p.trackResult(v)}},55764:function(t,e,n){n.d(e,{D:function(){return d}});var s=n(2265),i=n(46504),r=n(20172),u=n(17156),o=n(29492);class a extends o.l{constructor(t,e){super(),this.client=t,this.setOptions(e),this.bindMethods(),this.updateResult()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(t){var e;let n=this.options;this.options=this.client.defaultMutationOptions(t),(0,i.VS)(n,this.options)||this.client.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.currentMutation,observer:this}),null==(e=this.currentMutation)||e.setOptions(this.options)}onUnsubscribe(){if(!this.hasListeners()){var t;null==(t=this.currentMutation)||t.removeObserver(this)}}onMutationUpdate(t){this.updateResult();let e={listeners:!0};"success"===t.type?e.onSuccess=!0:"error"===t.type&&(e.onError=!0),this.notify(e)}getCurrentResult(){return this.currentResult}reset(){this.currentMutation=void 0,this.updateResult(),this.notify({listeners:!0})}mutate(t,e){return this.mutateOptions=e,this.currentMutation&&this.currentMutation.removeObserver(this),this.currentMutation=this.client.getMutationCache().build(this.client,{...this.options,variables:void 0!==t?t:this.options.variables}),this.currentMutation.addObserver(this),this.currentMutation.execute()}updateResult(){let t=this.currentMutation?this.currentMutation.state:(0,r.R)(),e={...t,isLoading:"loading"===t.status,isSuccess:"success"===t.status,isError:"error"===t.status,isIdle:"idle"===t.status,mutate:this.mutate,reset:this.reset};this.currentResult=e}notify(t){u.V.batch(()=>{if(this.mutateOptions&&this.hasListeners()){var e,n,s,i,r,u,o,a;t.onSuccess?(null==(e=(n=this.mutateOptions).onSuccess)||e.call(n,this.currentResult.data,this.currentResult.variables,this.currentResult.context),null==(s=(i=this.mutateOptions).onSettled)||s.call(i,this.currentResult.data,null,this.currentResult.variables,this.currentResult.context)):t.onError&&(null==(r=(u=this.mutateOptions).onError)||r.call(u,this.currentResult.error,this.currentResult.variables,this.currentResult.context),null==(o=(a=this.mutateOptions).onSettled)||o.call(a,void 0,this.currentResult.error,this.currentResult.variables,this.currentResult.context))}
9t.listeners&&this.listeners.forEach(({listener:t})=>{t(this.currentResult)})})}}var l=n(45321),c=n(70165),h=n(57798);function d(t,e,n){let r=(0,i.lV)(t,e,n),o=(0,c.NL)({context:r.context}),[d]=s.useState(()=>new a(o,r));s.useEffect(()=>{d.setOptions(r)},[d,r]);let p=(0,l.$)(s.useCallback(t=>d.subscribe(u.V.batchCalls(t)),[d]),()=>d.getCurrentResult(),()=>d.getCurrentResult()),v=s.useCallback((t,e)=>{d.mutate(t,e).catch(f)},[d]);if(p.error&&(0,h.L)(d.options.useErrorBoundary,[p.error]))throw p.error;return{...p,mutate:v,mutateAsync:p.mutate}}function f(){}},28285:function(t,e,n){n.d(e,{a:function(){return u}});var s=n(46504),i=n(90127),r=n(64742);function u(t,e,n){let u=(0,s._v)(t,e,n);return(0,r.r)(u,i.z)}},45321:function(t,e,n){n.d(e,{$:function(){return s}});let s=n(26272).useSyncExternalStore},57798:function(t,e,n){n.d(e,{L:function(){return s}});function s(t,e){return"function"==typeof t?t(...e):!!t}}}]);
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.