!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="bc3acc63-6b88-4b72-80b0-0a591065425e",e._sentryDebugIdIdentifier="sentry-dbid-bc3acc63-6b88-4b72-80b0-0a591065425e")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6692],{59083:(e,t,i)=>{i.r(t);var n=i(15475),s={};for(let e in n)"default"!==e&&(s[e]=()=>n[e]);i.d(t,s)},37611:(e,t,i)=>{i.d(t,{CY:()=>d,x6:()=>f,uB:()=>h});var n=i(48400);let s=/<([a-zA-Z0-9]+)>([\s\S]*?)<\/\1>|<([a-zA-Z0-9]+)\/>/,r={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},o=(e=0,t="")=>()=>`${t}_${e++}`;function a(e){let{render:t,component:i,id:a,message:c,formats:l,lingui:{i18n:h,defaultComponent:d}}=e,f={...e.values},p={...e.components};f&&Object.keys(f).forEach(e=>{let t=Object.keys(p).length;"string"!=typeof f[e]&&"number"!=typeof f[e]&&(p[t]=n.createElement(n.Fragment,null,f[e]),f[e]=`<${t}/>`)});let y=h&&"function"==typeof h._?h._(a,f,{message:c,formats:l}):a,v=y?function e(t,i={}){let a=o(0,"$lingui$"),u=t.split(s);if(1===u.length)return t;let c=[],l=u.shift();for(let[t,s,o]of(l&&c.push(l),function e(t){if(!t.length)return[];let[i,n,s,r]=t.slice(0,4);return[[i||s,n||"",r]].concat(e(t.slice(4,t.length)))}(u))){let u=void 0!==t?i[t]:void 0;(!u||r[u.type]&&s)&&(u?console.error(`${u.type} is a void element tag therefore it must have no children`):console.error(`Can't use element at index '${t}' as it is not declared in the original translation`),u=n.createElement(n.Fragment)),Array.isArray(u)&&(u=n.createElement(n.Fragment,{},u)),c.push(n.cloneElement(u,{key:a()},s?e(s,i):u.props.children)),o&&c.push(o)}return 1===c.length?c[0]:c}(y,p):null;if(null===t||null===i)return v;let b=d||u,m={id:a,message:c,translation:v,children:v};if(t&&i)console.error("You can't use both `component` and `render` prop at the same time. `component` is ignored.");else if(t&&"function"!=typeof t)console.error(`Invalid value supplied to prop \`render\`. It must be a function, provided ${t}`);else if(i&&"function"!=typeof i)return console.error(`Invalid value supplied to prop \`component\`. It must be a React component, provided ${i}`),n.createElement(b,m,v);if("function"==typeof t)return t(m);let g=i||b;return n.createElement(g,m,v)}let u=({children:e})=>n.createElement(n.Fragment,null,e),c=n.createContext(null),l=e=>n.useContext(c);function h(){return l()}let d=e=>{let{i18n:t,defaultComponent:i,children:s}=e,r=n.useRef(t.locale),o=n.useCallback(()=>({i18n:t,defaultComponent:i,_:t.t.bind(t)}),[t,i]),[a,u]=n.useState(o());return(n.useEffect(()=>{let e=()=>{r.current=t.locale,u(o())},i=t.on("change",e);return r.current!==t.locale&&e(),i},[t,o]),r.current)?n.createElement(c.Provider,{value:a},s):null};function f(e){let t=l(void 0);return n.createElement(a,{...e,lingui:t})}},74629:(e,t,i)=>{i.d(t,{m:()=>r});var n=i(79999),s=i(19199),r=new class extends n.Q{#e;#t;#i;constructor(){super(),this.#i=e=>{if(!s.S$&&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"}}},76118:(e,t,i)=>{i.d(t,{j:()=>n});var n=function(){let e=[],t=0,i=e=>{e()},n=e=>{e()},s=e=>setTimeout(e,0),r=n=>{t?e.push(n):s(()=>{i(n)})},o=()=>{let t=e;e=[],t.length&&s(()=>{n(()=>{t.forEach(e=>{i(e)})})})};return{batch:e=>{let i;t++;try{i=e()}finally{--t||o()}return i},batchCalls:e=>(...t)=>{r(()=>{e(...t)})},schedule:r,setNotifyFunction:e=>{i=e},setBatchNotifyFunction:e=>{n=e},setScheduler:e=>{s=e}}}()},37604:(e,t,i)=>{i.d(t,{t:()=>r});var n=i(79999),s=i(19199),r=new class extends n.Q{#n=!0;#t;#i;constructor(){super(),this.#i=e=>{if(!s.S$&&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.#n!==e&&(this.#n=e,this.listeners.forEach(t=>{t(e)}))}isOnline(){return this.#n}}},40122:(e,t,i)=>{i.d(t,{X:()=>a,k:()=>u});var n=i(19199),s=i(76118),r=i(60823),o=i(41919),a=class extends o.k{#s;#r;#o;#a;#u;#c;#l;constructor(e){super(),this.#l=!1,this.#c=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#a=e.client,this.#o=this.#a.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#s=function(e){let t="function"==typeof e.initialData?e.initialData():e.initialData,i=void 0!==t,n=i?"function"==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:i?n??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:i?"success":"pending",fetchStatus:"idle"}}(this.options),this.state=e.state??this.#s,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#u?.promise}setOptions(e){this.options={...this.#c,...e},this.updateGcTime(this.options.gcTime)}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.#o.remove(this)}setData(e,t){let i=(0,n.pl)(this.state.data,e,this.options);return this.#h({data:i,type:"success",dataUpdatedAt:t?.updatedAt,manual:t?.manual}),i}setState(e,t){this.#h({type:"setState",state:e,setStateOptions:t})}cancel(e){let t=this.#u?.promise;return this.#u?.cancel(e),t?t.then(n.lQ).catch(n.lQ):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#s)}isActive(){return this.observers.some(e=>!1!==(0,n.Eh)(e.options.enabled,this))}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===n.hT||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStale(){return!!this.state.isInvalidated||(this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):void 0===this.state.data)}isStaleByTime(e=0){return this.state.isInvalidated||void 0===this.state.data||!(0,n.j3)(this.state.dataUpdatedAt,e)}onFocus(){let e=this.observers.find(e=>e.shouldFetchOnWindowFocus());e?.refetch({cancelRefetch:!1}),this.#u?.continue()}onOnline(){let e=this.observers.find(e=>e.shouldFetchOnReconnect());e?.refetch({cancelRefetch:!1}),this.#u?.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.#u&&(this.#l?this.#u.cancel({revert:!0}):this.#u.cancelRetry()),this.scheduleGc()),this.#o.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#h({type:"invalidate"})}fetch(e,t){if("idle"!==this.state.fetchStatus){if(void 0!==this.state.data&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#u)return this.#u.continueRetry(),this.#u.promise}if(e&&this.setOptions(e),!this.options.queryFn){let e=this.observers.find(e=>e.options.queryFn);e&&this.setOptions(e.options)}let i=new AbortController,s=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(this.#l=!0,i.signal)})},o={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:this.#a,state:this.state,fetchFn:()=>{let e=(0,n.ZM)(this.options,t),i={client:this.#a,queryKey:this.queryKey,meta:this.meta};return(s(i),this.#l=!1,this.options.persister)?this.options.persister(e,i,this):e(i)}};s(o),this.options.behavior?.onFetch(o,this),this.#r=this.state,("idle"===this.state.fetchStatus||this.state.fetchMeta!==o.fetchOptions?.meta)&&this.#h({type:"fetch",meta:o.fetchOptions?.meta});let a=e=>{(0,r.wm)(e)&&e.silent||this.#h({type:"error",error:e}),(0,r.wm)(e)||(this.#o.config.onError?.(e,this),this.#o.config.onSettled?.(this.state.data,e,this)),this.scheduleGc()};return this.#u=(0,r.II)({initialPromise:t?.initialPromise,fn:o.fetchFn,abort:i.abort.bind(i),onSuccess:e=>{if(void 0===e){a(Error(`${this.queryHash} data is undefined`));return}try{this.setData(e)}catch(e){a(e);return}this.#o.config.onSuccess?.(e,this),this.#o.config.onSettled?.(e,this.state.error,this),this.scheduleGc()},onError:a,onFail:(e,t)=>{this.#h({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#h({type:"pause"})},onContinue:()=>{this.#h({type:"continue"})},retry:o.options.retry,retryDelay:o.options.retryDelay,networkMode:o.options.networkMode,canRun:()=>!0}),this.#u.start()}#h(e){this.state=(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,...u(t.data,this.options),fetchMeta:e.meta??null};case"success":return{...t,data:e.data,dataUpdateCount:t.dataUpdateCount+1,dataUpdatedAt:e.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":let i=e.error;if((0,r.wm)(i)&&i.revert&&this.#r)return{...this.#r,fetchStatus:"idle"};return{...t,error:i,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:i,fetchStatus:"idle",status:"error"};case"invalidate":return{...t,isInvalidated:!0};case"setState":return{...t,...e.state}}})(this.state),s.j.batch(()=>{this.observers.forEach(e=>{e.onQueryUpdate()}),this.#o.notify({query:this,type:"updated",action:e})})}};function u(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:(0,r.v_)(t.networkMode)?"fetching":"paused",...void 0===e&&{error:null,status:"pending"}}}},41919:(e,t,i)=>{i.d(t,{k:()=>s});var n=i(19199),s=class{#d;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),(0,n.gn)(this.gcTime)&&(this.#d=setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(n.S$?1/0:3e5))}clearGcTimeout(){this.#d&&(clearTimeout(this.#d),this.#d=void 0)}}},60823:(e,t,i)=>{i.d(t,{II:()=>h,v_:()=>u,wm:()=>l});var n=i(74629),s=i(37604),r=i(90289),o=i(19199);function a(e){return Math.min(1e3*2**e,3e4)}function u(e){return(e??"online")!=="online"||s.t.isOnline()}var c=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function l(e){return e instanceof c}function h(e){let t,i=!1,l=0,h=!1,d=(0,r.T)(),f=()=>n.m.isFocused()&&("always"===e.networkMode||s.t.isOnline())&&e.canRun(),p=()=>u(e.networkMode)&&e.canRun(),y=i=>{h||(h=!0,e.onSuccess?.(i),t?.(),d.resolve(i))},v=i=>{h||(h=!0,e.onError?.(i),t?.(),d.reject(i))},b=()=>new Promise(i=>{t=e=>{(h||f())&&i(e)},e.onPause?.()}).then(()=>{t=void 0,h||e.onContinue?.()}),m=()=>{let t;if(h)return;let n=0===l?e.initialPromise:void 0;try{t=n??e.fn()}catch(e){t=Promise.reject(e)}Promise.resolve(t).then(y).catch(t=>{if(h)return;let n=e.retry??(o.S$?0:3),s=e.retryDelay??a,r="function"==typeof s?s(l,t):s,u=!0===n||"number"==typeof n&&lf()?void 0:b()).then(()=>{i?v(t):m()})})};return{promise:d,cancel:t=>{h||(v(new c(t)),e.abort?.())},continue:()=>(t?.(),d),cancelRetry:()=>{i=!0},continueRetry:()=>{i=!1},canStart:p,start:()=>(p()?m():b().then(m),d)}}},79999:(e,t,i)=>{i.d(t,{Q:()=>n});var n=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(){}}},90289:(e,t,i)=>{i.d(t,{T:()=>n});function n(){let e,t;let i=new Promise((i,n)=>{e=i,t=n});function n(e){Object.assign(i,e),delete i.resolve,delete i.reject}return i.status="pending",i.catch(()=>{}),i.resolve=t=>{n({status:"fulfilled",value:t}),e(t)},i.reject=e=>{n({status:"rejected",reason:e}),t(e)},i}},19199:(e,t,i)=>{i.d(t,{BH:()=>y,Cp:()=>p,EN:()=>f,Eh:()=>c,F$:()=>d,MK:()=>l,S$:()=>n,ZM:()=>E,ZZ:()=>F,Zw:()=>r,d2:()=>u,f8:()=>v,gn:()=>o,hT:()=>O,j3:()=>a,lQ:()=>s,nJ:()=>h,pl:()=>w,y9:()=>C,yy:()=>S});var n="undefined"==typeof window||"Deno"in globalThis;function s(){}function r(e,t){return"function"==typeof e?e(t):e}function o(e){return"number"==typeof e&&e>=0&&e!==1/0}function a(e,t){return Math.max(e+(t||0)-Date.now(),0)}function u(e,t){return"function"==typeof e?e(t):e}function c(e,t){return"function"==typeof e?e(t):e}function l(e,t){let{type:i="all",exact:n,fetchStatus:s,predicate:r,queryKey:o,stale:a}=e;if(o){if(n){if(t.queryHash!==d(o,t.options))return!1}else if(!p(t.queryKey,o))return!1}if("all"!==i){let e=t.isActive();if("active"===i&&!e||"inactive"===i&&e)return!1}return("boolean"!=typeof a||t.isStale()===a)&&(!s||s===t.state.fetchStatus)&&(!r||!!r(t))}function h(e,t){let{exact:i,status:n,predicate:s,mutationKey:r}=e;if(r){if(!t.options.mutationKey)return!1;if(i){if(f(t.options.mutationKey)!==f(r))return!1}else if(!p(t.options.mutationKey,r))return!1}return(!n||t.state.status===n)&&(!s||!!s(t))}function d(e,t){return(t?.queryKeyHashFn||f)(e)}function f(e){return JSON.stringify(e,(e,t)=>m(t)?Object.keys(t).sort().reduce((e,i)=>(e[i]=t[i],e),{}):t)}function p(e,t){return e===t||typeof e==typeof t&&!!e&&!!t&&"object"==typeof e&&"object"==typeof t&&!Object.keys(t).some(i=>!p(e[i],t[i]))}function y(e,t){if(e===t)return e;let i=b(e)&&b(t);if(i||m(e)&&m(t)){let n=i?e:Object.keys(e),s=n.length,r=i?t:Object.keys(t),o=r.length,a=i?[]:{},u=0;for(let s=0;s{setTimeout(t,e)})}function w(e,t,i){return"function"==typeof i.structuralSharing?i.structuralSharing(e,t):!1!==i.structuralSharing?y(e,t):t}function C(e,t,i=0){let n=[...e,t];return i&&n.length>i?n.slice(1):n}function F(e,t,i=0){let n=[t,...e];return i&&n.length>i?n.slice(0,-1):n}var O=Symbol();function E(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:e.queryFn&&e.queryFn!==O?e.queryFn:()=>Promise.reject(Error(`Missing queryFn: '${e.queryHash}'`))}},76579:(e,t,i)=>{i.r(t),i.d(t,{QueryClientContext:()=>r,QueryClientProvider:()=>a,useQueryClient:()=>o});var n=i(48400),s=i(36636),r=n.createContext(void 0),o=e=>{let t=n.useContext(r);if(e)return e;if(!t)throw Error("No QueryClient set, use QueryClientProvider to set one");return t},a=e=>{let{client:t,children:i}=e;return n.useEffect(()=>(t.mount(),()=>{t.unmount()}),[t]),(0,s.jsx)(r.Provider,{value:t,children:i})}}}]);