(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7136],{87615:function(e,t,r){"use strict";r.d(t,{default:function(){return n.a}});var s=r(27014),n=r.n(s)},40181:function(e,t,r){"use strict";r.d(t,{default:function(){return n.a}});var s=r(80255),n=r.n(s)},27014:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});let s=r(34103);r(6092),r(51139);let n=s._(r(68583));function i(e,t){var r;let s={loading:e=>{let{error:t,isLoading:r,pastDelay:s}=e;return null}};"function"==typeof e&&(s.loader=e);let i={...s,...t};return(0,n.default)({...i,modules:null==(r=i.loadableGenerated)?void 0:r.modules})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},57384:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BailoutToCSR",{enumerable:!0,get:function(){return n}});let s=r(74466);function n(e){let{reason:t,children:r}=e;if("undefined"==typeof window)throw new s.BailoutToCSRError(t);return r}},68583:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return c}});let s=r(6092),n=r(51139),i=r(57384),u=r(87770);function o(e){return{default:e&&"default"in e?e.default:e}}let a={loader:()=>Promise.resolve(o(()=>null)),loading:null,ssr:!0},c=function(e){let t={...a,...e},r=(0,n.lazy)(()=>t.loader().then(o)),c=t.loading;function l(e){let o=c?(0,s.jsx)(c,{isLoading:!0,pastDelay:!0,error:null}):null,a=t.ssr?(0,s.jsxs)(s.Fragment,{children:["undefined"==typeof window?(0,s.jsx)(u.PreloadCss,{moduleIds:t.modules}):null,(0,s.jsx)(r,{...e})]}):(0,s.jsx)(i.BailoutToCSR,{reason:"next/dynamic",children:(0,s.jsx)(r,{...e})});return(0,s.jsx)(n.Suspense,{fallback:o,children:a})}return l.displayName="LoadableComponent",l}},87770:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PreloadCss",{enumerable:!0,get:function(){return i}});let s=r(6092),n=r(59459);function i(e){let{moduleIds:t}=e;if("undefined"!=typeof window)return null;let r=(0,n.getExpectedRequestStore)("next/dynamic css"),i=[];if(r.reactLoadableManifest&&t){let e=r.reactLoadableManifest;for(let r of t){if(!e[r])continue;let t=e[r].files.filter(e=>e.endsWith(".css"));i.push(...t)}}return 0===i.length?null:(0,s.jsx)(s.Fragment,{children:i.map(e=>(0,s.jsx)("link",{precedence:"dynamic",rel:"stylesheet",href:r.assetPrefix+"/_next/"+encodeURI(e),as:"style"},e))})}},74858:function(e,t){"use strict";var r=Symbol.for("react.element"),s=(Symbol.for("react.portal"),Symbol.for("react.fragment"),Symbol.for("react.strict_mode"),Symbol.for("react.profiler"),Symbol.for("react.provider"),Symbol.for("react.context"),Symbol.for("react.forward_ref"),Symbol.for("react.suspense"),Symbol.for("react.memo"),Symbol.for("react.lazy"),{isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}}),n=Object.assign,i={};function u(e,t,r){this.props=e,this.context=t,this.refs=i,this.updater=r||s}function o(){}function a(e,t,r){this.props=e,this.context=t,this.refs=i,this.updater=r||s}u.prototype.isReactComponent={},u.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},u.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},o.prototype=u.prototype;var c=a.prototype=new o;c.constructor=a,n(c,u.prototype),c.isPureReactComponent=!0;var l=Object.prototype.hasOwnProperty,h={key:!0,ref:!0,__self:!0,__source:!0};t.createElement=function(e,t,s){var n,i={},u=null,o=null;if(null!=t)for(n in void 0!==t.ref&&(o=t.ref),void 0!==t.key&&(u=""+t.key),t)l.call(t,n)&&!h.hasOwnProperty(n)&&(i[n]=t[n]);var a=arguments.length-2;if(1===a)i.children=s;else if(1<a){for(var c=Array(a),f=0;f<a;f++)c[f]=arguments[f+2];i.children=c}if(e&&e.defaultProps)for(n in a=e.defaultProps)void 0===i[n]&&(i[n]=a[n]);return{$$typeof:r,type:e,key:u,ref:o,props:i,_owner:null}}},3134:function(e,t,r){"use strict";e.exports=r(74858)},72410:function(e,t){var r;!function(){"use strict";var s={}.hasOwnProperty;function n(){for(var e="",t=0;t<arguments.length;t++){var r=arguments[t];r&&(e=i(e,function(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return n.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var r in e)s.call(e,r)&&e[r]&&(t=i(t,r));return t}(r)))}return e}function i(e,t){return t?e?e+" "+t:e+t:e}e.exports?(n.default=n,e.exports=n):void 0!==(r=(function(){return n}).apply(t,[]))&&(e.exports=r)}()},90897:function(e,t,r){"use strict";r.d(t,{z:function(){return c}});var s=r(65096),n=r(14811),i=r(75112),u=r(34339),o=r(23613),a=r(9817),c=class extends u.l{constructor(e,t){super(),this.options=t,this.#e=e,this.#t=null,this.#r=(0,o.O)(),this.options.experimental_prefetchInRender||this.#r.reject(Error("experimental_prefetchInRender feature flag is not enabled")),this.bindMethods(),this.setOptions(t)}#e;#s=void 0;#n=void 0;#i=void 0;#u;#o;#r;#t;#a;#c;#l;#h;#f;#d;#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 h(this.#s,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return h(this.#s,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#v(),this.#R(),this.#s.removeObserver(this)}setOptions(e,t){let r=this.options,s=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,a.Nc)(this.options.enabled,this.#s))throw Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#m(),this.#s.setOptions(this.options),r._defaulted&&!(0,a.VS)(this.options,r)&&this.#e.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#s,observer:this});let n=this.hasListeners();n&&f(this.#s,s,this.options,r)&&this.#y(),this.updateResult(t),n&&(this.#s!==s||(0,a.Nc)(this.options.enabled,this.#s)!==(0,a.Nc)(r.enabled,this.#s)||(0,a.KC)(this.options.staleTime,this.#s)!==(0,a.KC)(r.staleTime,this.#s))&&this.#g();let i=this.#S();n&&(this.#s!==s||(0,a.Nc)(this.options.enabled,this.#s)!==(0,a.Nc)(r.enabled,this.#s)||i!==this.#d)&&this.#O(i)}getOptimisticResult(e){let t=this.#e.getQueryCache().build(this.#e,e),r=this.createResult(t,e);return(0,a.VS)(this.getCurrentResult(),r)||(this.#i=r,this.#o=this.options,this.#u=this.#s.state),r}getCurrentResult(){return this.#i}trackResult(e,t){let r={};return Object.keys(e).forEach(s=>{Object.defineProperty(r,s,{configurable:!1,enumerable:!0,get:()=>(this.trackProp(s),t?.(s),e[s])})}),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.#i))}#y(e){this.#m();let t=this.#s.fetch(this.options,e);return e?.throwOnError||(t=t.catch(a.ZT)),t}#g(){this.#v();let e=(0,a.KC)(this.options.staleTime,this.#s);if(a.sk||this.#i.isStale||!(0,a.PN)(e))return;let t=(0,a.Kp)(this.#i.dataUpdatedAt,e);this.#h=setTimeout(()=>{this.#i.isStale||this.updateResult()},t+1)}#S(){return("function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.#s):this.options.refetchInterval)??!1}#O(e){this.#R(),this.#d=e,!a.sk&&!1!==(0,a.Nc)(this.options.enabled,this.#s)&&(0,a.PN)(this.#d)&&0!==this.#d&&(this.#f=setInterval(()=>{(this.options.refetchIntervalInBackground||s.j.isFocused())&&this.#y()},this.#d))}#b(){this.#g(),this.#O(this.#S())}#v(){this.#h&&(clearTimeout(this.#h),this.#h=void 0)}#R(){this.#f&&(clearInterval(this.#f),this.#f=void 0)}createResult(e,t){let r;let s=this.#s,n=this.options,u=this.#i,c=this.#u,h=this.#o,p=e!==s?e.state:this.#n,{state:y}=e,b={...y},v=!1;if(t._optimisticResults){let r=this.hasListeners(),u=!r&&l(e,t),o=r&&f(e,s,t,n);(u||o)&&(b={...b,...(0,i.z)(y.data,e.options)}),"isRestoring"===t._optimisticResults&&(b.fetchStatus="idle")}let{error:R,errorUpdatedAt:m,status:g}=b;if(t.select&&void 0!==b.data){if(u&&b.data===c?.data&&t.select===this.#a)r=this.#c;else try{this.#a=t.select,r=t.select(b.data),r=(0,a.oE)(u?.data,r,t),this.#c=r,this.#t=null}catch(e){this.#t=e}}else r=b.data;if(void 0!==t.placeholderData&&void 0===r&&"pending"===g){let e;if(u?.isPlaceholderData&&t.placeholderData===h?.placeholderData)e=u.data;else if(e="function"==typeof t.placeholderData?t.placeholderData(this.#l?.state.data,this.#l):t.placeholderData,t.select&&void 0!==e)try{e=t.select(e),this.#t=null}catch(e){this.#t=e}void 0!==e&&(g="success",r=(0,a.oE)(u?.data,e,t),v=!0)}this.#t&&(R=this.#t,r=this.#c,m=Date.now(),g="error");let S="fetching"===b.fetchStatus,O="pending"===g,Q="error"===g,C=O&&S,x=void 0!==r,I={status:g,fetchStatus:b.fetchStatus,isPending:O,isSuccess:"success"===g,isError:Q,isInitialLoading:C,isLoading:C,data:r,dataUpdatedAt:b.dataUpdatedAt,error:R,errorUpdatedAt:m,failureCount:b.fetchFailureCount,failureReason:b.fetchFailureReason,errorUpdateCount:b.errorUpdateCount,isFetched:b.dataUpdateCount>0||b.errorUpdateCount>0,isFetchedAfterMount:b.dataUpdateCount>p.dataUpdateCount||b.errorUpdateCount>p.errorUpdateCount,isFetching:S,isRefetching:S&&!O,isLoadingError:Q&&!x,isPaused:"paused"===b.fetchStatus,isPlaceholderData:v,isRefetchError:Q&&x,isStale:d(e,t),refetch:this.refetch,promise:this.#r};if(this.options.experimental_prefetchInRender){let t=e=>{"error"===I.status?e.reject(I.error):void 0!==I.data&&e.resolve(I.data)},r=()=>{t(this.#r=I.promise=(0,o.O)())},n=this.#r;switch(n.status){case"pending":e.queryHash===s.queryHash&&t(n);break;case"fulfilled":("error"===I.status||I.data!==n.value)&&r();break;case"rejected":("error"!==I.status||I.error!==n.reason)&&r()}}return I}updateResult(e){let t=this.#i,r=this.createResult(this.#s,this.options);if(this.#u=this.#s.state,this.#o=this.options,void 0!==this.#u.data&&(this.#l=this.#s),(0,a.VS)(r,t))return;this.#i=r;let s={};e?.listeners!==!1&&(()=>{if(!t)return!0;let{notifyOnChangeProps:e}=this.options,r="function"==typeof e?e():e;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.#i).some(e=>this.#i[e]!==t[e]&&s.has(e))})()&&(s.listeners=!0),this.#Q({...s,...e})}#m(){let e=this.#e.getQueryCache().build(this.#e,this.options);if(e===this.#s)return;let t=this.#s;this.#s=e,this.#n=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#b()}#Q(e){n.V.batch(()=>{e.listeners&&this.listeners.forEach(e=>{e(this.#i)}),this.#e.getQueryCache().notify({query:this.#s,type:"observerResultsUpdated"})})}};function l(e,t){return!1!==(0,a.Nc)(t.enabled,e)&&void 0===e.state.data&&!("error"===e.state.status&&!1===t.retryOnMount)||void 0!==e.state.data&&h(e,t,t.refetchOnMount)}function h(e,t,r){if(!1!==(0,a.Nc)(t.enabled,e)){let s="function"==typeof r?r(e):r;return"always"===s||!1!==s&&d(e,t)}return!1}function f(e,t,r,s){return(e!==t||!1===(0,a.Nc)(s.enabled,e))&&(!r.suspense||"error"!==e.state.status)&&d(e,r)}function d(e,t){return!1!==(0,a.Nc)(t.enabled,e)&&e.isStaleByTime((0,a.KC)(t.staleTime,e))}},40294:function(e,t,r){"use strict";let s;r.d(t,{_:function(){return u}});var n=r(51139);r(6092);var i=n.createContext((s=!1,{clearReset:()=>{s=!1},reset:()=>{s=!0},isReset:()=>s})),u=()=>n.useContext(i)},98002:function(e,t,r){"use strict";r.d(t,{JN:function(){return u},KJ:function(){return o},pf:function(){return i}});var s=r(51139),n=r(75460),i=(e,t)=>{(e.suspense||e.throwOnError)&&!t.isReset()&&(e.retryOnMount=!1)},u=e=>{s.useEffect(()=>{e.clearReset()},[e])},o=e=>{let{result:t,errorResetBoundary:r,throwOnError:s,query:i}=e;return t.isError&&!r.isReset()&&!t.isFetching&&i&&(0,n.L)(s,[t.error,i])}},28867:function(e,t,r){"use strict";r.d(t,{S:function(){return i}});var s=r(51139),n=s.createContext(!1),i=()=>s.useContext(n);n.Provider},37567:function(e,t,r){"use strict";r.d(t,{A8:function(){return s},SB:function(){return i},Z$:function(){return n},j8:function(){return u}});var s=e=>{e.suspense&&(void 0===e.staleTime&&(e.staleTime=1e3),"number"==typeof e.gcTime&&(e.gcTime=Math.max(e.gcTime,1e3)))},n=(e,t)=>e.isLoading&&e.isFetching&&!t,i=(e,t)=>e?.suspense&&t.isPending,u=(e,t,r)=>t.fetchOptimistic(e).catch(()=>{r.clearReset()})},64557:function(e,t,r){"use strict";r.d(t,{r:function(){return f}});var s=r(51139),n=r(14811),i=r(9817),u=r(17789),o=r(40294),a=r(98002),c=r(28867),l=r(37567),h=r(75460);function f(e,t,r){var f,d,p,y,b;let v=(0,u.NL)(r),R=(0,c.S)(),m=(0,o._)(),g=v.defaultQueryOptions(e);null===(d=v.getDefaultOptions().queries)||void 0===d||null===(f=d._experimental_beforeQuery)||void 0===f||f.call(d,g),g._optimisticResults=R?"isRestoring":"optimistic",(0,l.A8)(g),(0,a.pf)(g,m),(0,a.JN)(m);let S=!v.getQueryCache().get(g.queryHash),[O]=s.useState(()=>new t(v,g)),Q=O.getOptimisticResult(g);if(s.useSyncExternalStore(s.useCallback(e=>{let t=R?()=>void 0:O.subscribe(n.V.batchCalls(e));return O.updateResult(),t},[O,R]),()=>O.getCurrentResult(),()=>O.getCurrentResult()),s.useEffect(()=>{O.setOptions(g,{listeners:!1})},[g,O]),(0,l.SB)(g,Q))throw(0,l.j8)(g,O,m);if((0,a.KJ)({result:Q,errorResetBoundary:m,throwOnError:g.throwOnError,query:v.getQueryCache().get(g.queryHash)}))throw Q.error;if(null===(y=v.getDefaultOptions().queries)||void 0===y||null===(p=y._experimental_afterQuery)||void 0===p||p.call(y,g,Q),g.experimental_prefetchInRender&&!i.sk&&(0,l.Z$)(Q,R)){let e=S?(0,l.j8)(g,O,m):null===(b=v.getQueryCache().get(g.queryHash))||void 0===b?void 0:b.promise;null==e||e.catch(h.Z).finally(()=>{O.hasListeners()||O.updateResult()})}return g.notifyOnChangeProps?Q:O.trackResult(Q)}},23259:function(e,t,r){"use strict";r.d(t,{a:function(){return i}});var s=r(90897),n=r(64557);function i(e,t){return(0,n.r)(e,s.z,t)}},75460:function(e,t,r){"use strict";function s(e,t){return"function"==typeof e?e(...t):!!e}function n(){}r.d(t,{L:function(){return s},Z:function(){return n}})}}]);