@lensjs/core 2.5.0 → 2.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/abstracts/adapter.d.cts +1 -0
- package/dist/abstracts/adapter.d.ts +1 -0
- package/dist/abstracts/store.cjs +3 -0
- package/dist/abstracts/store.d.cts +2 -0
- package/dist/abstracts/store.d.ts +2 -0
- package/dist/abstracts/store.js +3 -0
- package/dist/context/container.d.cts +1 -0
- package/dist/context/container.d.ts +1 -0
- package/dist/context/context.d.cts +1 -0
- package/dist/context/context.d.ts +1 -0
- package/dist/core/api_controller.cjs +19 -1
- package/dist/core/api_controller.d.cts +3 -0
- package/dist/core/api_controller.d.ts +3 -0
- package/dist/core/api_controller.js +19 -1
- package/dist/core/lens.cjs +36 -1
- package/dist/core/lens.d.cts +1 -0
- package/dist/core/lens.d.ts +1 -0
- package/dist/core/lens.js +36 -1
- package/dist/core/watcher.d.cts +1 -0
- package/dist/core/watcher.d.ts +1 -0
- package/dist/index.cjs +60 -3
- package/dist/index.d.cts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +59 -3
- package/dist/mixins/queued_store.d.cts +1 -0
- package/dist/mixins/queued_store.d.ts +1 -0
- package/dist/stores/better_sqlite.cjs +6 -0
- package/dist/stores/better_sqlite.d.cts +9 -0
- package/dist/stores/better_sqlite.d.ts +9 -0
- package/dist/stores/better_sqlite.js +6 -0
- package/dist/stores/index.cjs +6 -0
- package/dist/stores/index.d.cts +1 -0
- package/dist/stores/index.d.ts +1 -0
- package/dist/stores/index.js +6 -0
- package/dist/stores/queued_sqlite.cjs +6 -0
- package/dist/stores/queued_sqlite.d.cts +1 -0
- package/dist/stores/queued_sqlite.d.ts +1 -0
- package/dist/stores/queued_sqlite.js +6 -0
- package/dist/types/index.cjs +1 -0
- package/dist/types/index.d.cts +4 -9
- package/dist/types/index.d.ts +4 -9
- package/dist/types/index.js +1 -0
- package/dist/types/mail.cjs +18 -0
- package/dist/types/mail.d.cts +235 -0
- package/dist/types/mail.d.ts +235 -0
- package/dist/types/mail.js +0 -0
- package/dist/ui/assets/CacheActionBadge-BjZ4pc-P.js +1 -0
- package/dist/ui/assets/CacheEntriesTable-CrVfGRQp.js +1 -0
- package/dist/ui/assets/CacheEntryContainer-C3VFggtA.js +2 -0
- package/dist/ui/assets/{CacheEntryDetails-CBADpZbF.js → CacheEntryDetails-DeBbBbPE.js} +1 -1
- package/dist/ui/assets/CacheEntryDetailsContainer-C91cW6AU.js +2 -0
- package/dist/ui/assets/ExceptionContainer-CfMuOCmH.js +2 -0
- package/dist/ui/assets/{ExceptionDetails-Ck4wRqzO.js → ExceptionDetails-D2OCJVfz.js} +1 -1
- package/dist/ui/assets/ExceptionDetailsContainer-CR-lxRD2.js +2 -0
- package/dist/ui/assets/{ExceptionTable-DB3Qj-dz.js → ExceptionTable-CpkppRjX.js} +1 -1
- package/dist/ui/assets/{JsonViewer-DWH4jnOr.js → JsonViewer-ATo_F1hS.js} +1 -1
- package/dist/ui/assets/{LoadMore-DzhiQWZs.js → LoadMore-BN7PRRRi.js} +1 -1
- package/dist/ui/assets/MailContainer-CT2lVazH.js +2 -0
- package/dist/ui/assets/MailDetails-B653XXBL.js +25 -0
- package/dist/ui/assets/MailDetailsContainer-87DOHjt8.js +2 -0
- package/dist/ui/assets/MailTable-DKB1K8iz.js +1 -0
- package/dist/ui/assets/QueriesContainer-Bk2r-ERW.js +2 -0
- package/dist/ui/assets/{QueryDetailsContainer-DskbLiCu.js → QueryDetailsContainer-SuM5VQhc.js} +7 -7
- package/dist/ui/assets/{QueryTable-D6F5vd_0.js → QueryTable-C2io_PkC.js} +1 -1
- package/dist/ui/assets/RequestDetails-CpThVPU7.js +1 -0
- package/dist/ui/assets/RequestDetailsContainer-BXIDvHw4.js +2 -0
- package/dist/ui/assets/RequestsContainer-CrgOytwQ.js +2 -0
- package/dist/ui/assets/{RequetsTable-BZFI1zdc.js → RequetsTable-DQwdUFOa.js} +1 -1
- package/dist/ui/assets/SearchInput-_Uf26G0_.js +6 -0
- package/dist/ui/assets/StatusCode-BmJMJ27T.js +1 -0
- package/dist/ui/assets/TabbedDataViewer-CSqO-90o.js +2 -0
- package/dist/ui/assets/Table-DHM1Nl4B.js +6 -0
- package/dist/ui/assets/columns-2NwKukUf.js +1 -0
- package/dist/ui/assets/{columns-BrzDipRl.js → columns-B3JsHnVe.js} +1 -1
- package/dist/ui/assets/{columns-BlLxfkXy.js → columns-D2emfeN1.js} +1 -1
- package/dist/ui/assets/{columns-D_gRck3K.js → columns-DbVoTM0z.js} +1 -1
- package/dist/ui/assets/{copy-BtL5cknV.js → copy-DkbKgCsc.js} +1 -1
- package/dist/ui/assets/index-DuJe0XlW.js +129 -0
- package/dist/ui/assets/index-DyMy6gzm.css +1 -0
- package/dist/ui/assets/{useCacheEntries-6yS-HoM5.js → useCacheEntries-ClCDpOYz.js} +1 -1
- package/dist/ui/assets/{useExceptions-CGpZVTaG.js → useExceptions-DeHzgA7U.js} +1 -1
- package/dist/ui/assets/useLensApi-SUqoFD39.js +1 -0
- package/dist/ui/assets/{useLoadMore-99QUZoHk.js → useLoadMore-DdSLuDVd.js} +1 -1
- package/dist/ui/assets/{useQueries-DWLdKE1b.js → useQueries-DeAAkcnt.js} +1 -1
- package/dist/ui/assets/useTanstackApi-DiA8BdmO.js +1 -0
- package/dist/ui/index.html +2 -2
- package/dist/utils/async_context.d.cts +1 -0
- package/dist/utils/async_context.d.ts +1 -0
- package/dist/utils/compose.d.cts +1 -0
- package/dist/utils/compose.d.ts +1 -0
- package/dist/utils/event_emitter.d.cts +2 -0
- package/dist/utils/event_emitter.d.ts +2 -0
- package/dist/utils/exception.d.cts +1 -0
- package/dist/utils/exception.d.ts +1 -0
- package/dist/utils/index.d.cts +1 -0
- package/dist/utils/index.d.ts +1 -0
- package/dist/watchers/cache_watcher.d.cts +1 -0
- package/dist/watchers/cache_watcher.d.ts +1 -0
- package/dist/watchers/exception_watcher.d.cts +1 -0
- package/dist/watchers/exception_watcher.d.ts +1 -0
- package/dist/watchers/index.cjs +21 -0
- package/dist/watchers/index.d.cts +2 -0
- package/dist/watchers/index.d.ts +2 -0
- package/dist/watchers/index.js +20 -0
- package/dist/watchers/mail_watcher.cjs +88 -0
- package/dist/watchers/mail_watcher.d.cts +11 -0
- package/dist/watchers/mail_watcher.d.ts +11 -0
- package/dist/watchers/mail_watcher.js +67 -0
- package/dist/watchers/query_watcher.d.cts +1 -0
- package/dist/watchers/query_watcher.d.ts +1 -0
- package/dist/watchers/request_watcher.d.cts +1 -0
- package/dist/watchers/request_watcher.d.ts +1 -0
- package/package.json +2 -2
- package/dist/ui/assets/CacheActionBadge-DU2ybwlp.js +0 -1
- package/dist/ui/assets/CacheEntriesTable-B5KvEEDm.js +0 -1
- package/dist/ui/assets/CacheEntryContainer-Br3Tvn8k.js +0 -2
- package/dist/ui/assets/CacheEntryDetailsContainer-hj1KrI3J.js +0 -2
- package/dist/ui/assets/ExceptionContainer-5Ov2El_x.js +0 -2
- package/dist/ui/assets/ExceptionDetailsContainer-CwZGYiSC.js +0 -2
- package/dist/ui/assets/QueriesContainer-DL-W0hBH.js +0 -2
- package/dist/ui/assets/RequestDetails-9ePMJXrH.js +0 -1
- package/dist/ui/assets/RequestDetailsContainer-BuhVtYb1.js +0 -2
- package/dist/ui/assets/RequestsContainer-CrLF7ZpJ.js +0 -7
- package/dist/ui/assets/StatusCode-CKfRhO8c.js +0 -1
- package/dist/ui/assets/TabbedDataViewer-DoV369_f.js +0 -2
- package/dist/ui/assets/Table-D3lFs2Tc.js +0 -6
- package/dist/ui/assets/index-CbdHkrK8.js +0 -124
- package/dist/ui/assets/index-DC5vZ53Q.css +0 -1
- package/dist/ui/assets/useLensApi-Bp8UnZ0w.js +0 -1
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./RequestsContainer-CrgOytwQ.js","./useLensApi-SUqoFD39.js","./useLoadMore-DdSLuDVd.js","./SearchInput-_Uf26G0_.js","./QueriesContainer-Bk2r-ERW.js","./useQueries-DeAAkcnt.js","./RequestDetailsContainer-BXIDvHw4.js","./useTanstackApi-DiA8BdmO.js","./QueryDetailsContainer-SuM5VQhc.js","./TabbedDataViewer-CSqO-90o.js","./index-BRRKsoNv.js","./copy-DkbKgCsc.js","./CacheEntryContainer-C3VFggtA.js","./useCacheEntries-ClCDpOYz.js","./CacheEntryDetailsContainer-C91cW6AU.js","./ExceptionContainer-CfMuOCmH.js","./useExceptions-DeHzgA7U.js","./ExceptionDetailsContainer-CR-lxRD2.js","./MailContainer-CT2lVazH.js","./MailDetailsContainer-87DOHjt8.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
(function(){const c=document.createElement("link").relList;if(c&&c.supports&&c.supports("modulepreload"))return;for(const h of document.querySelectorAll('link[rel="modulepreload"]'))s(h);new MutationObserver(h=>{for(const d of h)if(d.type==="childList")for(const y of d.addedNodes)y.tagName==="LINK"&&y.rel==="modulepreload"&&s(y)}).observe(document,{childList:!0,subtree:!0});function f(h){const d={};return h.integrity&&(d.integrity=h.integrity),h.referrerPolicy&&(d.referrerPolicy=h.referrerPolicy),h.crossOrigin==="use-credentials"?d.credentials="include":h.crossOrigin==="anonymous"?d.credentials="omit":d.credentials="same-origin",d}function s(h){if(h.ep)return;h.ep=!0;const d=f(h);fetch(h.href,d)}})();function p0(u){return u&&u.__esModule&&Object.prototype.hasOwnProperty.call(u,"default")?u.default:u}var Mf={exports:{}},zn={};/**
|
|
3
|
+
* @license React
|
|
4
|
+
* react-jsx-runtime.production.js
|
|
5
|
+
*
|
|
6
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
7
|
+
*
|
|
8
|
+
* This source code is licensed under the MIT license found in the
|
|
9
|
+
* LICENSE file in the root directory of this source tree.
|
|
10
|
+
*/var Kh;function b0(){if(Kh)return zn;Kh=1;var u=Symbol.for("react.transitional.element"),c=Symbol.for("react.fragment");function f(s,h,d){var y=null;if(d!==void 0&&(y=""+d),h.key!==void 0&&(y=""+h.key),"key"in h){d={};for(var b in h)b!=="key"&&(d[b]=h[b])}else d=h;return h=d.ref,{$$typeof:u,type:s,key:y,ref:h!==void 0?h:null,props:d}}return zn.Fragment=c,zn.jsx=f,zn.jsxs=f,zn}var Jh;function S0(){return Jh||(Jh=1,Mf.exports=b0()),Mf.exports}var w=S0(),ui=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(u){return this.listeners.add(u),this.onSubscribe(),()=>{this.listeners.delete(u),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},E0={setTimeout:(u,c)=>setTimeout(u,c),clearTimeout:u=>clearTimeout(u),setInterval:(u,c)=>setInterval(u,c),clearInterval:u=>clearInterval(u)},T0=class{#t=E0;#l=!1;setTimeoutProvider(u){this.#t=u}setTimeout(u,c){return this.#t.setTimeout(u,c)}clearTimeout(u){this.#t.clearTimeout(u)}setInterval(u,c){return this.#t.setInterval(u,c)}clearInterval(u){this.#t.clearInterval(u)}},jf=new T0;function R0(u){setTimeout(u,0)}var ii=typeof window>"u"||"Deno"in globalThis;function xe(){}function A0(u,c){return typeof u=="function"?u(c):u}function O0(u){return typeof u=="number"&&u>=0&&u!==1/0}function x0(u,c){return Math.max(u+(c||0)-Date.now(),0)}function wf(u,c){return typeof u=="function"?u(c):u}function M0(u,c){return typeof u=="function"?u(c):u}function kh(u,c){const{type:f="all",exact:s,fetchStatus:h,predicate:d,queryKey:y,stale:b}=u;if(y){if(s){if(c.queryHash!==Yf(y,c.options))return!1}else if(!qn(c.queryKey,y))return!1}if(f!=="all"){const S=c.isActive();if(f==="active"&&!S||f==="inactive"&&S)return!1}return!(typeof b=="boolean"&&c.isStale()!==b||h&&h!==c.state.fetchStatus||d&&!d(c))}function $h(u,c){const{exact:f,status:s,predicate:h,mutationKey:d}=u;if(d){if(!c.options.mutationKey)return!1;if(f){if(Nn(c.options.mutationKey)!==Nn(d))return!1}else if(!qn(c.options.mutationKey,d))return!1}return!(s&&c.state.status!==s||h&&!h(c))}function Yf(u,c){return(c?.queryKeyHashFn||Nn)(u)}function Nn(u){return JSON.stringify(u,(c,f)=>Bf(f)?Object.keys(f).sort().reduce((s,h)=>(s[h]=f[h],s),{}):f)}function qn(u,c){return u===c?!0:typeof u!=typeof c?!1:u&&c&&typeof u=="object"&&typeof c=="object"?Object.keys(c).every(f=>qn(u[f],c[f])):!1}var _0=Object.prototype.hasOwnProperty;function Sd(u,c,f=0){if(u===c)return u;if(f>500)return c;const s=Fh(u)&&Fh(c);if(!s&&!(Bf(u)&&Bf(c)))return c;const d=(s?u:Object.keys(u)).length,y=s?c:Object.keys(c),b=y.length,S=s?new Array(b):{};let v=0;for(let R=0;R<b;R++){const _=s?R:y[R],q=u[_],Q=c[_];if(q===Q){S[_]=q,(s?R<d:_0.call(u,_))&&v++;continue}if(q===null||Q===null||typeof q!="object"||typeof Q!="object"){S[_]=Q;continue}const B=Sd(q,Q,f+1);S[_]=B,B===q&&v++}return d===b&&v===d?u:S}function _1(u,c){if(!c||Object.keys(u).length!==Object.keys(c).length)return!1;for(const f in u)if(u[f]!==c[f])return!1;return!0}function Fh(u){return Array.isArray(u)&&u.length===Object.keys(u).length}function Bf(u){if(!Wh(u))return!1;const c=u.constructor;if(c===void 0)return!0;const f=c.prototype;return!(!Wh(f)||!f.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(u)!==Object.prototype)}function Wh(u){return Object.prototype.toString.call(u)==="[object Object]"}function D0(u){return new Promise(c=>{jf.setTimeout(c,u)})}function z0(u,c,f){return typeof f.structuralSharing=="function"?f.structuralSharing(u,c):f.structuralSharing!==!1?Sd(u,c):c}function C0(u,c,f=0){const s=[...u,c];return f&&s.length>f?s.slice(1):s}function U0(u,c,f=0){const s=[c,...u];return f&&s.length>f?s.slice(0,-1):s}var Gf=Symbol();function Ed(u,c){return!u.queryFn&&c?.initialPromise?()=>c.initialPromise:!u.queryFn||u.queryFn===Gf?()=>Promise.reject(new Error(`Missing queryFn: '${u.queryHash}'`)):u.queryFn}function D1(u,c){return typeof u=="function"?u(...c):!!u}function N0(u,c,f){let s=!1,h;return Object.defineProperty(u,"signal",{enumerable:!0,get:()=>(h??=c(),s||(s=!0,h.aborted?f():h.addEventListener("abort",f,{once:!0})),h)}),u}var q0=class extends ui{#t;#l;#e;constructor(){super(),this.#e=u=>{if(!ii&&window.addEventListener){const c=()=>u();return window.addEventListener("visibilitychange",c,!1),()=>{window.removeEventListener("visibilitychange",c)}}}}onSubscribe(){this.#l||this.setEventListener(this.#e)}onUnsubscribe(){this.hasListeners()||(this.#l?.(),this.#l=void 0)}setEventListener(u){this.#e=u,this.#l?.(),this.#l=u(c=>{typeof c=="boolean"?this.setFocused(c):this.onFocus()})}setFocused(u){this.#t!==u&&(this.#t=u,this.onFocus())}onFocus(){const u=this.isFocused();this.listeners.forEach(c=>{c(u)})}isFocused(){return typeof this.#t=="boolean"?this.#t:globalThis.document?.visibilityState!=="hidden"}},Td=new q0;function H0(){let u,c;const f=new Promise((h,d)=>{u=h,c=d});f.status="pending",f.catch(()=>{});function s(h){Object.assign(f,h),delete f.resolve,delete f.reject}return f.resolve=h=>{s({status:"fulfilled",value:h}),u(h)},f.reject=h=>{s({status:"rejected",reason:h}),c(h)},f}var j0=R0;function w0(){let u=[],c=0,f=b=>{b()},s=b=>{b()},h=j0;const d=b=>{c?u.push(b):h(()=>{f(b)})},y=()=>{const b=u;u=[],b.length&&h(()=>{s(()=>{b.forEach(S=>{f(S)})})})};return{batch:b=>{let S;c++;try{S=b()}finally{c--,c||y()}return S},batchCalls:b=>(...S)=>{d(()=>{b(...S)})},schedule:d,setNotifyFunction:b=>{f=b},setBatchNotifyFunction:b=>{s=b},setScheduler:b=>{h=b}}}var kt=w0(),B0=class extends ui{#t=!0;#l;#e;constructor(){super(),this.#e=u=>{if(!ii&&window.addEventListener){const c=()=>u(!0),f=()=>u(!1);return window.addEventListener("online",c,!1),window.addEventListener("offline",f,!1),()=>{window.removeEventListener("online",c),window.removeEventListener("offline",f)}}}}onSubscribe(){this.#l||this.setEventListener(this.#e)}onUnsubscribe(){this.hasListeners()||(this.#l?.(),this.#l=void 0)}setEventListener(u){this.#e=u,this.#l?.(),this.#l=u(this.setOnline.bind(this))}setOnline(u){this.#t!==u&&(this.#t=u,this.listeners.forEach(f=>{f(u)}))}isOnline(){return this.#t}},ai=new B0;function L0(u){return Math.min(1e3*2**u,3e4)}function Rd(u){return(u??"online")==="online"?ai.isOnline():!0}var Lf=class extends Error{constructor(u){super("CancelledError"),this.revert=u?.revert,this.silent=u?.silent}};function Ad(u){let c=!1,f=0,s;const h=H0(),d=()=>h.status!=="pending",y=j=>{if(!d()){const H=new Lf(j);q(H),u.onCancel?.(H)}},b=()=>{c=!0},S=()=>{c=!1},v=()=>Td.isFocused()&&(u.networkMode==="always"||ai.isOnline())&&u.canRun(),R=()=>Rd(u.networkMode)&&u.canRun(),_=j=>{d()||(s?.(),h.resolve(j))},q=j=>{d()||(s?.(),h.reject(j))},Q=()=>new Promise(j=>{s=H=>{(d()||v())&&j(H)},u.onPause?.()}).then(()=>{s=void 0,d()||u.onContinue?.()}),B=()=>{if(d())return;let j;const H=f===0?u.initialPromise:void 0;try{j=H??u.fn()}catch(K){j=Promise.reject(K)}Promise.resolve(j).then(_).catch(K=>{if(d())return;const G=u.retry??(ii?0:3),J=u.retryDelay??L0,st=typeof J=="function"?J(f,K):J,k=G===!0||typeof G=="number"&&f<G||typeof G=="function"&&G(f,K);if(c||!k){q(K);return}f++,u.onFail?.(f,K),D0(st).then(()=>v()?void 0:Q()).then(()=>{c?q(K):B()})})};return{promise:h,status:()=>h.status,cancel:y,continue:()=>(s?.(),h),cancelRetry:b,continueRetry:S,canStart:R,start:()=>(R()?B():Q().then(B),h)}}var Od=class{#t;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),O0(this.gcTime)&&(this.#t=jf.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(u){this.gcTime=Math.max(this.gcTime||0,u??(ii?1/0:300*1e3))}clearGcTimeout(){this.#t&&(jf.clearTimeout(this.#t),this.#t=void 0)}},Q0=class extends Od{#t;#l;#e;#n;#a;#i;#c;constructor(u){super(),this.#c=!1,this.#i=u.defaultOptions,this.setOptions(u.options),this.observers=[],this.#n=u.client,this.#e=this.#n.getQueryCache(),this.queryKey=u.queryKey,this.queryHash=u.queryHash,this.#t=Ih(this.options),this.state=u.state??this.#t,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#a?.promise}setOptions(u){if(this.options={...this.#i,...u},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const c=Ih(this.options);c.data!==void 0&&(this.setState(Ph(c.data,c.dataUpdatedAt)),this.#t=c)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.#e.remove(this)}setData(u,c){const f=z0(this.state.data,u,this.options);return this.#u({data:f,type:"success",dataUpdatedAt:c?.updatedAt,manual:c?.manual}),f}setState(u,c){this.#u({type:"setState",state:u,setStateOptions:c})}cancel(u){const c=this.#a?.promise;return this.#a?.cancel(u),c?c.then(xe).catch(xe):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#t)}isActive(){return this.observers.some(u=>M0(u.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Gf||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(u=>wf(u.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(u=>u.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(u=0){return this.state.data===void 0?!0:u==="static"?!1:this.state.isInvalidated?!0:!x0(this.state.dataUpdatedAt,u)}onFocus(){this.observers.find(c=>c.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#a?.continue()}onOnline(){this.observers.find(c=>c.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#a?.continue()}addObserver(u){this.observers.includes(u)||(this.observers.push(u),this.clearGcTimeout(),this.#e.notify({type:"observerAdded",query:this,observer:u}))}removeObserver(u){this.observers.includes(u)&&(this.observers=this.observers.filter(c=>c!==u),this.observers.length||(this.#a&&(this.#c?this.#a.cancel({revert:!0}):this.#a.cancelRetry()),this.scheduleGc()),this.#e.notify({type:"observerRemoved",query:this,observer:u}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#u({type:"invalidate"})}async fetch(u,c){if(this.state.fetchStatus!=="idle"&&this.#a?.status()!=="rejected"){if(this.state.data!==void 0&&c?.cancelRefetch)this.cancel({silent:!0});else if(this.#a)return this.#a.continueRetry(),this.#a.promise}if(u&&this.setOptions(u),!this.options.queryFn){const b=this.observers.find(S=>S.options.queryFn);b&&this.setOptions(b.options)}const f=new AbortController,s=b=>{Object.defineProperty(b,"signal",{enumerable:!0,get:()=>(this.#c=!0,f.signal)})},h=()=>{const b=Ed(this.options,c),v=(()=>{const R={client:this.#n,queryKey:this.queryKey,meta:this.meta};return s(R),R})();return this.#c=!1,this.options.persister?this.options.persister(b,v,this):b(v)},y=(()=>{const b={fetchOptions:c,options:this.options,queryKey:this.queryKey,client:this.#n,state:this.state,fetchFn:h};return s(b),b})();this.options.behavior?.onFetch(y,this),this.#l=this.state,(this.state.fetchStatus==="idle"||this.state.fetchMeta!==y.fetchOptions?.meta)&&this.#u({type:"fetch",meta:y.fetchOptions?.meta}),this.#a=Ad({initialPromise:c?.initialPromise,fn:y.fetchFn,onCancel:b=>{b instanceof Lf&&b.revert&&this.setState({...this.#l,fetchStatus:"idle"}),f.abort()},onFail:(b,S)=>{this.#u({type:"failed",failureCount:b,error:S})},onPause:()=>{this.#u({type:"pause"})},onContinue:()=>{this.#u({type:"continue"})},retry:y.options.retry,retryDelay:y.options.retryDelay,networkMode:y.options.networkMode,canRun:()=>!0});try{const b=await this.#a.start();if(b===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(b),this.#e.config.onSuccess?.(b,this),this.#e.config.onSettled?.(b,this.state.error,this),b}catch(b){if(b instanceof Lf){if(b.silent)return this.#a.promise;if(b.revert){if(this.state.data===void 0)throw b;return this.state.data}}throw this.#u({type:"error",error:b}),this.#e.config.onError?.(b,this),this.#e.config.onSettled?.(this.state.data,b,this),b}finally{this.scheduleGc()}}#u(u){const c=f=>{switch(u.type){case"failed":return{...f,fetchFailureCount:u.failureCount,fetchFailureReason:u.error};case"pause":return{...f,fetchStatus:"paused"};case"continue":return{...f,fetchStatus:"fetching"};case"fetch":return{...f,...Y0(f.data,this.options),fetchMeta:u.meta??null};case"success":const s={...f,...Ph(u.data,u.dataUpdatedAt),dataUpdateCount:f.dataUpdateCount+1,...!u.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#l=u.manual?s:void 0,s;case"error":const h=u.error;return{...f,error:h,errorUpdateCount:f.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:f.fetchFailureCount+1,fetchFailureReason:h,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...f,isInvalidated:!0};case"setState":return{...f,...u.state}}};this.state=c(this.state),kt.batch(()=>{this.observers.forEach(f=>{f.onQueryUpdate()}),this.#e.notify({query:this,type:"updated",action:u})})}};function Y0(u,c){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Rd(c.networkMode)?"fetching":"paused",...u===void 0&&{error:null,status:"pending"}}}function Ph(u,c){return{data:u,dataUpdatedAt:c??Date.now(),error:null,isInvalidated:!1,status:"success"}}function Ih(u){const c=typeof u.initialData=="function"?u.initialData():u.initialData,f=c!==void 0,s=f?typeof u.initialDataUpdatedAt=="function"?u.initialDataUpdatedAt():u.initialDataUpdatedAt:0;return{data:c,dataUpdateCount:0,dataUpdatedAt:f?s??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:f?"success":"pending",fetchStatus:"idle"}}function td(u){return{onFetch:(c,f)=>{const s=c.options,h=c.fetchOptions?.meta?.fetchMore?.direction,d=c.state.data?.pages||[],y=c.state.data?.pageParams||[];let b={pages:[],pageParams:[]},S=0;const v=async()=>{let R=!1;const _=B=>{N0(B,()=>c.signal,()=>R=!0)},q=Ed(c.options,c.fetchOptions),Q=async(B,j,H)=>{if(R)return Promise.reject();if(j==null&&B.pages.length)return Promise.resolve(B);const G=(()=>{const bt={client:c.client,queryKey:c.queryKey,pageParam:j,direction:H?"backward":"forward",meta:c.options.meta};return _(bt),bt})(),J=await q(G),{maxPages:st}=c.options,k=H?U0:C0;return{pages:k(B.pages,J,st),pageParams:k(B.pageParams,j,st)}};if(h&&d.length){const B=h==="backward",j=B?G0:ed,H={pages:d,pageParams:y},K=j(s,H);b=await Q(H,K,B)}else{const B=u??d.length;do{const j=S===0?y[0]??s.initialPageParam:ed(s,b);if(S>0&&j==null)break;b=await Q(b,j),S++}while(S<B)}return b};c.options.persister?c.fetchFn=()=>c.options.persister?.(v,{client:c.client,queryKey:c.queryKey,meta:c.options.meta,signal:c.signal},f):c.fetchFn=v}}}function ed(u,{pages:c,pageParams:f}){const s=c.length-1;return c.length>0?u.getNextPageParam(c[s],c,f[s],f):void 0}function G0(u,{pages:c,pageParams:f}){return c.length>0?u.getPreviousPageParam?.(c[0],c,f[0],f):void 0}var X0=class extends Od{#t;#l;#e;#n;constructor(u){super(),this.#t=u.client,this.mutationId=u.mutationId,this.#e=u.mutationCache,this.#l=[],this.state=u.state||Z0(),this.setOptions(u.options),this.scheduleGc()}setOptions(u){this.options=u,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(u){this.#l.includes(u)||(this.#l.push(u),this.clearGcTimeout(),this.#e.notify({type:"observerAdded",mutation:this,observer:u}))}removeObserver(u){this.#l=this.#l.filter(c=>c!==u),this.scheduleGc(),this.#e.notify({type:"observerRemoved",mutation:this,observer:u})}optionalRemove(){this.#l.length||(this.state.status==="pending"?this.scheduleGc():this.#e.remove(this))}continue(){return this.#n?.continue()??this.execute(this.state.variables)}async execute(u){const c=()=>{this.#a({type:"continue"})},f={client:this.#t,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#n=Ad({fn:()=>this.options.mutationFn?this.options.mutationFn(u,f):Promise.reject(new Error("No mutationFn found")),onFail:(d,y)=>{this.#a({type:"failed",failureCount:d,error:y})},onPause:()=>{this.#a({type:"pause"})},onContinue:c,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#e.canRun(this)});const s=this.state.status==="pending",h=!this.#n.canStart();try{if(s)c();else{this.#a({type:"pending",variables:u,isPaused:h}),this.#e.config.onMutate&&await this.#e.config.onMutate(u,this,f);const y=await this.options.onMutate?.(u,f);y!==this.state.context&&this.#a({type:"pending",context:y,variables:u,isPaused:h})}const d=await this.#n.start();return await this.#e.config.onSuccess?.(d,u,this.state.context,this,f),await this.options.onSuccess?.(d,u,this.state.context,f),await this.#e.config.onSettled?.(d,null,this.state.variables,this.state.context,this,f),await this.options.onSettled?.(d,null,u,this.state.context,f),this.#a({type:"success",data:d}),d}catch(d){try{await this.#e.config.onError?.(d,u,this.state.context,this,f)}catch(y){Promise.reject(y)}try{await this.options.onError?.(d,u,this.state.context,f)}catch(y){Promise.reject(y)}try{await this.#e.config.onSettled?.(void 0,d,this.state.variables,this.state.context,this,f)}catch(y){Promise.reject(y)}try{await this.options.onSettled?.(void 0,d,u,this.state.context,f)}catch(y){Promise.reject(y)}throw this.#a({type:"error",error:d}),d}finally{this.#e.runNext(this)}}#a(u){const c=f=>{switch(u.type){case"failed":return{...f,failureCount:u.failureCount,failureReason:u.error};case"pause":return{...f,isPaused:!0};case"continue":return{...f,isPaused:!1};case"pending":return{...f,context:u.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:u.isPaused,status:"pending",variables:u.variables,submittedAt:Date.now()};case"success":return{...f,data:u.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...f,data:void 0,error:u.error,failureCount:f.failureCount+1,failureReason:u.error,isPaused:!1,status:"error"}}};this.state=c(this.state),kt.batch(()=>{this.#l.forEach(f=>{f.onMutationUpdate(u)}),this.#e.notify({mutation:this,type:"updated",action:u})})}};function Z0(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var V0=class extends ui{constructor(u={}){super(),this.config=u,this.#t=new Set,this.#l=new Map,this.#e=0}#t;#l;#e;build(u,c,f){const s=new X0({client:u,mutationCache:this,mutationId:++this.#e,options:u.defaultMutationOptions(c),state:f});return this.add(s),s}add(u){this.#t.add(u);const c=Iu(u);if(typeof c=="string"){const f=this.#l.get(c);f?f.push(u):this.#l.set(c,[u])}this.notify({type:"added",mutation:u})}remove(u){if(this.#t.delete(u)){const c=Iu(u);if(typeof c=="string"){const f=this.#l.get(c);if(f)if(f.length>1){const s=f.indexOf(u);s!==-1&&f.splice(s,1)}else f[0]===u&&this.#l.delete(c)}}this.notify({type:"removed",mutation:u})}canRun(u){const c=Iu(u);if(typeof c=="string"){const s=this.#l.get(c)?.find(h=>h.state.status==="pending");return!s||s===u}else return!0}runNext(u){const c=Iu(u);return typeof c=="string"?this.#l.get(c)?.find(s=>s!==u&&s.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){kt.batch(()=>{this.#t.forEach(u=>{this.notify({type:"removed",mutation:u})}),this.#t.clear(),this.#l.clear()})}getAll(){return Array.from(this.#t)}find(u){const c={exact:!0,...u};return this.getAll().find(f=>$h(c,f))}findAll(u={}){return this.getAll().filter(c=>$h(u,c))}notify(u){kt.batch(()=>{this.listeners.forEach(c=>{c(u)})})}resumePausedMutations(){const u=this.getAll().filter(c=>c.state.isPaused);return kt.batch(()=>Promise.all(u.map(c=>c.continue().catch(xe))))}};function Iu(u){return u.options.scope?.id}var K0=class extends ui{constructor(u={}){super(),this.config=u,this.#t=new Map}#t;build(u,c,f){const s=c.queryKey,h=c.queryHash??Yf(s,c);let d=this.get(h);return d||(d=new Q0({client:u,queryKey:s,queryHash:h,options:u.defaultQueryOptions(c),state:f,defaultOptions:u.getQueryDefaults(s)}),this.add(d)),d}add(u){this.#t.has(u.queryHash)||(this.#t.set(u.queryHash,u),this.notify({type:"added",query:u}))}remove(u){const c=this.#t.get(u.queryHash);c&&(u.destroy(),c===u&&this.#t.delete(u.queryHash),this.notify({type:"removed",query:u}))}clear(){kt.batch(()=>{this.getAll().forEach(u=>{this.remove(u)})})}get(u){return this.#t.get(u)}getAll(){return[...this.#t.values()]}find(u){const c={exact:!0,...u};return this.getAll().find(f=>kh(c,f))}findAll(u={}){const c=this.getAll();return Object.keys(u).length>0?c.filter(f=>kh(u,f)):c}notify(u){kt.batch(()=>{this.listeners.forEach(c=>{c(u)})})}onFocus(){kt.batch(()=>{this.getAll().forEach(u=>{u.onFocus()})})}onOnline(){kt.batch(()=>{this.getAll().forEach(u=>{u.onOnline()})})}},J0=class{#t;#l;#e;#n;#a;#i;#c;#u;constructor(u={}){this.#t=u.queryCache||new K0,this.#l=u.mutationCache||new V0,this.#e=u.defaultOptions||{},this.#n=new Map,this.#a=new Map,this.#i=0}mount(){this.#i++,this.#i===1&&(this.#c=Td.subscribe(async u=>{u&&(await this.resumePausedMutations(),this.#t.onFocus())}),this.#u=ai.subscribe(async u=>{u&&(await this.resumePausedMutations(),this.#t.onOnline())}))}unmount(){this.#i--,this.#i===0&&(this.#c?.(),this.#c=void 0,this.#u?.(),this.#u=void 0)}isFetching(u){return this.#t.findAll({...u,fetchStatus:"fetching"}).length}isMutating(u){return this.#l.findAll({...u,status:"pending"}).length}getQueryData(u){const c=this.defaultQueryOptions({queryKey:u});return this.#t.get(c.queryHash)?.state.data}ensureQueryData(u){const c=this.defaultQueryOptions(u),f=this.#t.build(this,c),s=f.state.data;return s===void 0?this.fetchQuery(u):(u.revalidateIfStale&&f.isStaleByTime(wf(c.staleTime,f))&&this.prefetchQuery(c),Promise.resolve(s))}getQueriesData(u){return this.#t.findAll(u).map(({queryKey:c,state:f})=>{const s=f.data;return[c,s]})}setQueryData(u,c,f){const s=this.defaultQueryOptions({queryKey:u}),d=this.#t.get(s.queryHash)?.state.data,y=A0(c,d);if(y!==void 0)return this.#t.build(this,s).setData(y,{...f,manual:!0})}setQueriesData(u,c,f){return kt.batch(()=>this.#t.findAll(u).map(({queryKey:s})=>[s,this.setQueryData(s,c,f)]))}getQueryState(u){const c=this.defaultQueryOptions({queryKey:u});return this.#t.get(c.queryHash)?.state}removeQueries(u){const c=this.#t;kt.batch(()=>{c.findAll(u).forEach(f=>{c.remove(f)})})}resetQueries(u,c){const f=this.#t;return kt.batch(()=>(f.findAll(u).forEach(s=>{s.reset()}),this.refetchQueries({type:"active",...u},c)))}cancelQueries(u,c={}){const f={revert:!0,...c},s=kt.batch(()=>this.#t.findAll(u).map(h=>h.cancel(f)));return Promise.all(s).then(xe).catch(xe)}invalidateQueries(u,c={}){return kt.batch(()=>(this.#t.findAll(u).forEach(f=>{f.invalidate()}),u?.refetchType==="none"?Promise.resolve():this.refetchQueries({...u,type:u?.refetchType??u?.type??"active"},c)))}refetchQueries(u,c={}){const f={...c,cancelRefetch:c.cancelRefetch??!0},s=kt.batch(()=>this.#t.findAll(u).filter(h=>!h.isDisabled()&&!h.isStatic()).map(h=>{let d=h.fetch(void 0,f);return f.throwOnError||(d=d.catch(xe)),h.state.fetchStatus==="paused"?Promise.resolve():d}));return Promise.all(s).then(xe)}fetchQuery(u){const c=this.defaultQueryOptions(u);c.retry===void 0&&(c.retry=!1);const f=this.#t.build(this,c);return f.isStaleByTime(wf(c.staleTime,f))?f.fetch(c):Promise.resolve(f.state.data)}prefetchQuery(u){return this.fetchQuery(u).then(xe).catch(xe)}fetchInfiniteQuery(u){return u.behavior=td(u.pages),this.fetchQuery(u)}prefetchInfiniteQuery(u){return this.fetchInfiniteQuery(u).then(xe).catch(xe)}ensureInfiniteQueryData(u){return u.behavior=td(u.pages),this.ensureQueryData(u)}resumePausedMutations(){return ai.isOnline()?this.#l.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#t}getMutationCache(){return this.#l}getDefaultOptions(){return this.#e}setDefaultOptions(u){this.#e=u}setQueryDefaults(u,c){this.#n.set(Nn(u),{queryKey:u,defaultOptions:c})}getQueryDefaults(u){const c=[...this.#n.values()],f={};return c.forEach(s=>{qn(u,s.queryKey)&&Object.assign(f,s.defaultOptions)}),f}setMutationDefaults(u,c){this.#a.set(Nn(u),{mutationKey:u,defaultOptions:c})}getMutationDefaults(u){const c=[...this.#a.values()],f={};return c.forEach(s=>{qn(u,s.mutationKey)&&Object.assign(f,s.defaultOptions)}),f}defaultQueryOptions(u){if(u._defaulted)return u;const c={...this.#e.queries,...this.getQueryDefaults(u.queryKey),...u,_defaulted:!0};return c.queryHash||(c.queryHash=Yf(c.queryKey,c)),c.refetchOnReconnect===void 0&&(c.refetchOnReconnect=c.networkMode!=="always"),c.throwOnError===void 0&&(c.throwOnError=!!c.suspense),!c.networkMode&&c.persister&&(c.networkMode="offlineFirst"),c.queryFn===Gf&&(c.enabled=!1),c}defaultMutationOptions(u){return u?._defaulted?u:{...this.#e.mutations,...u?.mutationKey&&this.getMutationDefaults(u.mutationKey),...u,_defaulted:!0}}clear(){this.#t.clear(),this.#l.clear()}},_f={exports:{}},et={};/**
|
|
11
|
+
* @license React
|
|
12
|
+
* react.production.js
|
|
13
|
+
*
|
|
14
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
15
|
+
*
|
|
16
|
+
* This source code is licensed under the MIT license found in the
|
|
17
|
+
* LICENSE file in the root directory of this source tree.
|
|
18
|
+
*/var ld;function k0(){if(ld)return et;ld=1;var u=Symbol.for("react.transitional.element"),c=Symbol.for("react.portal"),f=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),h=Symbol.for("react.profiler"),d=Symbol.for("react.consumer"),y=Symbol.for("react.context"),b=Symbol.for("react.forward_ref"),S=Symbol.for("react.suspense"),v=Symbol.for("react.memo"),R=Symbol.for("react.lazy"),_=Symbol.iterator;function q(g){return g===null||typeof g!="object"?null:(g=_&&g[_]||g["@@iterator"],typeof g=="function"?g:null)}var Q={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},B=Object.assign,j={};function H(g,N,X){this.props=g,this.context=N,this.refs=j,this.updater=X||Q}H.prototype.isReactComponent={},H.prototype.setState=function(g,N){if(typeof g!="object"&&typeof g!="function"&&g!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,g,N,"setState")},H.prototype.forceUpdate=function(g){this.updater.enqueueForceUpdate(this,g,"forceUpdate")};function K(){}K.prototype=H.prototype;function G(g,N,X){this.props=g,this.context=N,this.refs=j,this.updater=X||Q}var J=G.prototype=new K;J.constructor=G,B(J,H.prototype),J.isPureReactComponent=!0;var st=Array.isArray,k={H:null,A:null,T:null,S:null,V:null},bt=Object.prototype.hasOwnProperty;function Ot(g,N,X,L,$,ct){return X=ct.ref,{$$typeof:u,type:g,key:N,ref:X!==void 0?X:null,props:ct}}function _t(g,N){return Ot(g.type,N,void 0,void 0,void 0,g.props)}function Bt(g){return typeof g=="object"&&g!==null&&g.$$typeof===u}function oe(g){var N={"=":"=0",":":"=2"};return"$"+g.replace(/[=:]/g,function(X){return N[X]})}var He=/\/+/g;function Gt(g,N){return typeof g=="object"&&g!==null&&g.key!=null?oe(""+g.key):N.toString(36)}function Ol(){}function xl(g){switch(g.status){case"fulfilled":return g.value;case"rejected":throw g.reason;default:switch(typeof g.status=="string"?g.then(Ol,Ol):(g.status="pending",g.then(function(N){g.status==="pending"&&(g.status="fulfilled",g.value=N)},function(N){g.status==="pending"&&(g.status="rejected",g.reason=N)})),g.status){case"fulfilled":return g.value;case"rejected":throw g.reason}}throw g}function Xt(g,N,X,L,$){var ct=typeof g;(ct==="undefined"||ct==="boolean")&&(g=null);var tt=!1;if(g===null)tt=!0;else switch(ct){case"bigint":case"string":case"number":tt=!0;break;case"object":switch(g.$$typeof){case u:case c:tt=!0;break;case R:return tt=g._init,Xt(tt(g._payload),N,X,L,$)}}if(tt)return $=$(g),tt=L===""?"."+Gt(g,0):L,st($)?(X="",tt!=null&&(X=tt.replace(He,"$&/")+"/"),Xt($,N,X,"",function(Ie){return Ie})):$!=null&&(Bt($)&&($=_t($,X+($.key==null||g&&g.key===$.key?"":(""+$.key).replace(He,"$&/")+"/")+tt)),N.push($)),1;tt=0;var te=L===""?".":L+":";if(st(g))for(var St=0;St<g.length;St++)L=g[St],ct=te+Gt(L,St),tt+=Xt(L,N,X,ct,$);else if(St=q(g),typeof St=="function")for(g=St.call(g),St=0;!(L=g.next()).done;)L=L.value,ct=te+Gt(L,St++),tt+=Xt(L,N,X,ct,$);else if(ct==="object"){if(typeof g.then=="function")return Xt(xl(g),N,X,L,$);throw N=String(g),Error("Objects are not valid as a React child (found: "+(N==="[object Object]"?"object with keys {"+Object.keys(g).join(", ")+"}":N)+"). If you meant to render a collection of children, use an array instead.")}return tt}function z(g,N,X){if(g==null)return g;var L=[],$=0;return Xt(g,L,"","",function(ct){return N.call(X,ct,$++)}),L}function Y(g){if(g._status===-1){var N=g._result;N=N(),N.then(function(X){(g._status===0||g._status===-1)&&(g._status=1,g._result=X)},function(X){(g._status===0||g._status===-1)&&(g._status=2,g._result=X)}),g._status===-1&&(g._status=0,g._result=N)}if(g._status===1)return g._result.default;throw g._result}var P=typeof reportError=="function"?reportError:function(g){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var N=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof g=="object"&&g!==null&&typeof g.message=="string"?String(g.message):String(g),error:g});if(!window.dispatchEvent(N))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",g);return}console.error(g)};function vt(){}return et.Children={map:z,forEach:function(g,N,X){z(g,function(){N.apply(this,arguments)},X)},count:function(g){var N=0;return z(g,function(){N++}),N},toArray:function(g){return z(g,function(N){return N})||[]},only:function(g){if(!Bt(g))throw Error("React.Children.only expected to receive a single React element child.");return g}},et.Component=H,et.Fragment=f,et.Profiler=h,et.PureComponent=G,et.StrictMode=s,et.Suspense=S,et.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=k,et.__COMPILER_RUNTIME={__proto__:null,c:function(g){return k.H.useMemoCache(g)}},et.cache=function(g){return function(){return g.apply(null,arguments)}},et.cloneElement=function(g,N,X){if(g==null)throw Error("The argument must be a React element, but you passed "+g+".");var L=B({},g.props),$=g.key,ct=void 0;if(N!=null)for(tt in N.ref!==void 0&&(ct=void 0),N.key!==void 0&&($=""+N.key),N)!bt.call(N,tt)||tt==="key"||tt==="__self"||tt==="__source"||tt==="ref"&&N.ref===void 0||(L[tt]=N[tt]);var tt=arguments.length-2;if(tt===1)L.children=X;else if(1<tt){for(var te=Array(tt),St=0;St<tt;St++)te[St]=arguments[St+2];L.children=te}return Ot(g.type,$,void 0,void 0,ct,L)},et.createContext=function(g){return g={$$typeof:y,_currentValue:g,_currentValue2:g,_threadCount:0,Provider:null,Consumer:null},g.Provider=g,g.Consumer={$$typeof:d,_context:g},g},et.createElement=function(g,N,X){var L,$={},ct=null;if(N!=null)for(L in N.key!==void 0&&(ct=""+N.key),N)bt.call(N,L)&&L!=="key"&&L!=="__self"&&L!=="__source"&&($[L]=N[L]);var tt=arguments.length-2;if(tt===1)$.children=X;else if(1<tt){for(var te=Array(tt),St=0;St<tt;St++)te[St]=arguments[St+2];$.children=te}if(g&&g.defaultProps)for(L in tt=g.defaultProps,tt)$[L]===void 0&&($[L]=tt[L]);return Ot(g,ct,void 0,void 0,null,$)},et.createRef=function(){return{current:null}},et.forwardRef=function(g){return{$$typeof:b,render:g}},et.isValidElement=Bt,et.lazy=function(g){return{$$typeof:R,_payload:{_status:-1,_result:g},_init:Y}},et.memo=function(g,N){return{$$typeof:v,type:g,compare:N===void 0?null:N}},et.startTransition=function(g){var N=k.T,X={};k.T=X;try{var L=g(),$=k.S;$!==null&&$(X,L),typeof L=="object"&&L!==null&&typeof L.then=="function"&&L.then(vt,P)}catch(ct){P(ct)}finally{k.T=N}},et.unstable_useCacheRefresh=function(){return k.H.useCacheRefresh()},et.use=function(g){return k.H.use(g)},et.useActionState=function(g,N,X){return k.H.useActionState(g,N,X)},et.useCallback=function(g,N){return k.H.useCallback(g,N)},et.useContext=function(g){return k.H.useContext(g)},et.useDebugValue=function(){},et.useDeferredValue=function(g,N){return k.H.useDeferredValue(g,N)},et.useEffect=function(g,N,X){var L=k.H;if(typeof X=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return L.useEffect(g,N)},et.useId=function(){return k.H.useId()},et.useImperativeHandle=function(g,N,X){return k.H.useImperativeHandle(g,N,X)},et.useInsertionEffect=function(g,N){return k.H.useInsertionEffect(g,N)},et.useLayoutEffect=function(g,N){return k.H.useLayoutEffect(g,N)},et.useMemo=function(g,N){return k.H.useMemo(g,N)},et.useOptimistic=function(g,N){return k.H.useOptimistic(g,N)},et.useReducer=function(g,N,X){return k.H.useReducer(g,N,X)},et.useRef=function(g){return k.H.useRef(g)},et.useState=function(g){return k.H.useState(g)},et.useSyncExternalStore=function(g,N,X){return k.H.useSyncExternalStore(g,N,X)},et.useTransition=function(){return k.H.useTransition()},et.version="19.1.1",et}var ad;function Xf(){return ad||(ad=1,_f.exports=k0()),_f.exports}var x=Xf();const z1=p0(x);var xd=x.createContext(void 0),C1=u=>{const c=x.useContext(xd);if(!c)throw new Error("No QueryClient set, use QueryClientProvider to set one");return c},$0=({client:u,children:c})=>(x.useEffect(()=>(u.mount(),()=>{u.unmount()}),[u]),w.jsx(xd.Provider,{value:u,children:c})),Df={exports:{}},Cn={},zf={exports:{}},Cf={};/**
|
|
19
|
+
* @license React
|
|
20
|
+
* scheduler.production.js
|
|
21
|
+
*
|
|
22
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
23
|
+
*
|
|
24
|
+
* This source code is licensed under the MIT license found in the
|
|
25
|
+
* LICENSE file in the root directory of this source tree.
|
|
26
|
+
*/var nd;function F0(){return nd||(nd=1,(function(u){function c(z,Y){var P=z.length;z.push(Y);t:for(;0<P;){var vt=P-1>>>1,g=z[vt];if(0<h(g,Y))z[vt]=Y,z[P]=g,P=vt;else break t}}function f(z){return z.length===0?null:z[0]}function s(z){if(z.length===0)return null;var Y=z[0],P=z.pop();if(P!==Y){z[0]=P;t:for(var vt=0,g=z.length,N=g>>>1;vt<N;){var X=2*(vt+1)-1,L=z[X],$=X+1,ct=z[$];if(0>h(L,P))$<g&&0>h(ct,L)?(z[vt]=ct,z[$]=P,vt=$):(z[vt]=L,z[X]=P,vt=X);else if($<g&&0>h(ct,P))z[vt]=ct,z[$]=P,vt=$;else break t}}return Y}function h(z,Y){var P=z.sortIndex-Y.sortIndex;return P!==0?P:z.id-Y.id}if(u.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var d=performance;u.unstable_now=function(){return d.now()}}else{var y=Date,b=y.now();u.unstable_now=function(){return y.now()-b}}var S=[],v=[],R=1,_=null,q=3,Q=!1,B=!1,j=!1,H=!1,K=typeof setTimeout=="function"?setTimeout:null,G=typeof clearTimeout=="function"?clearTimeout:null,J=typeof setImmediate<"u"?setImmediate:null;function st(z){for(var Y=f(v);Y!==null;){if(Y.callback===null)s(v);else if(Y.startTime<=z)s(v),Y.sortIndex=Y.expirationTime,c(S,Y);else break;Y=f(v)}}function k(z){if(j=!1,st(z),!B)if(f(S)!==null)B=!0,bt||(bt=!0,Gt());else{var Y=f(v);Y!==null&&Xt(k,Y.startTime-z)}}var bt=!1,Ot=-1,_t=5,Bt=-1;function oe(){return H?!0:!(u.unstable_now()-Bt<_t)}function He(){if(H=!1,bt){var z=u.unstable_now();Bt=z;var Y=!0;try{t:{B=!1,j&&(j=!1,G(Ot),Ot=-1),Q=!0;var P=q;try{e:{for(st(z),_=f(S);_!==null&&!(_.expirationTime>z&&oe());){var vt=_.callback;if(typeof vt=="function"){_.callback=null,q=_.priorityLevel;var g=vt(_.expirationTime<=z);if(z=u.unstable_now(),typeof g=="function"){_.callback=g,st(z),Y=!0;break e}_===f(S)&&s(S),st(z)}else s(S);_=f(S)}if(_!==null)Y=!0;else{var N=f(v);N!==null&&Xt(k,N.startTime-z),Y=!1}}break t}finally{_=null,q=P,Q=!1}Y=void 0}}finally{Y?Gt():bt=!1}}}var Gt;if(typeof J=="function")Gt=function(){J(He)};else if(typeof MessageChannel<"u"){var Ol=new MessageChannel,xl=Ol.port2;Ol.port1.onmessage=He,Gt=function(){xl.postMessage(null)}}else Gt=function(){K(He,0)};function Xt(z,Y){Ot=K(function(){z(u.unstable_now())},Y)}u.unstable_IdlePriority=5,u.unstable_ImmediatePriority=1,u.unstable_LowPriority=4,u.unstable_NormalPriority=3,u.unstable_Profiling=null,u.unstable_UserBlockingPriority=2,u.unstable_cancelCallback=function(z){z.callback=null},u.unstable_forceFrameRate=function(z){0>z||125<z?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):_t=0<z?Math.floor(1e3/z):5},u.unstable_getCurrentPriorityLevel=function(){return q},u.unstable_next=function(z){switch(q){case 1:case 2:case 3:var Y=3;break;default:Y=q}var P=q;q=Y;try{return z()}finally{q=P}},u.unstable_requestPaint=function(){H=!0},u.unstable_runWithPriority=function(z,Y){switch(z){case 1:case 2:case 3:case 4:case 5:break;default:z=3}var P=q;q=z;try{return Y()}finally{q=P}},u.unstable_scheduleCallback=function(z,Y,P){var vt=u.unstable_now();switch(typeof P=="object"&&P!==null?(P=P.delay,P=typeof P=="number"&&0<P?vt+P:vt):P=vt,z){case 1:var g=-1;break;case 2:g=250;break;case 5:g=1073741823;break;case 4:g=1e4;break;default:g=5e3}return g=P+g,z={id:R++,callback:Y,priorityLevel:z,startTime:P,expirationTime:g,sortIndex:-1},P>vt?(z.sortIndex=P,c(v,z),f(S)===null&&z===f(v)&&(j?(G(Ot),Ot=-1):j=!0,Xt(k,P-vt))):(z.sortIndex=g,c(S,z),B||Q||(B=!0,bt||(bt=!0,Gt()))),z},u.unstable_shouldYield=oe,u.unstable_wrapCallback=function(z){var Y=q;return function(){var P=q;q=Y;try{return z.apply(this,arguments)}finally{q=P}}}})(Cf)),Cf}var ud;function W0(){return ud||(ud=1,zf.exports=F0()),zf.exports}var Uf={exports:{}},Kt={};/**
|
|
27
|
+
* @license React
|
|
28
|
+
* react-dom.production.js
|
|
29
|
+
*
|
|
30
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
31
|
+
*
|
|
32
|
+
* This source code is licensed under the MIT license found in the
|
|
33
|
+
* LICENSE file in the root directory of this source tree.
|
|
34
|
+
*/var id;function P0(){if(id)return Kt;id=1;var u=Xf();function c(S){var v="https://react.dev/errors/"+S;if(1<arguments.length){v+="?args[]="+encodeURIComponent(arguments[1]);for(var R=2;R<arguments.length;R++)v+="&args[]="+encodeURIComponent(arguments[R])}return"Minified React error #"+S+"; visit "+v+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function f(){}var s={d:{f,r:function(){throw Error(c(522))},D:f,C:f,L:f,m:f,X:f,S:f,M:f},p:0,findDOMNode:null},h=Symbol.for("react.portal");function d(S,v,R){var _=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:h,key:_==null?null:""+_,children:S,containerInfo:v,implementation:R}}var y=u.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function b(S,v){if(S==="font")return"";if(typeof v=="string")return v==="use-credentials"?v:""}return Kt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=s,Kt.createPortal=function(S,v){var R=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!v||v.nodeType!==1&&v.nodeType!==9&&v.nodeType!==11)throw Error(c(299));return d(S,v,null,R)},Kt.flushSync=function(S){var v=y.T,R=s.p;try{if(y.T=null,s.p=2,S)return S()}finally{y.T=v,s.p=R,s.d.f()}},Kt.preconnect=function(S,v){typeof S=="string"&&(v?(v=v.crossOrigin,v=typeof v=="string"?v==="use-credentials"?v:"":void 0):v=null,s.d.C(S,v))},Kt.prefetchDNS=function(S){typeof S=="string"&&s.d.D(S)},Kt.preinit=function(S,v){if(typeof S=="string"&&v&&typeof v.as=="string"){var R=v.as,_=b(R,v.crossOrigin),q=typeof v.integrity=="string"?v.integrity:void 0,Q=typeof v.fetchPriority=="string"?v.fetchPriority:void 0;R==="style"?s.d.S(S,typeof v.precedence=="string"?v.precedence:void 0,{crossOrigin:_,integrity:q,fetchPriority:Q}):R==="script"&&s.d.X(S,{crossOrigin:_,integrity:q,fetchPriority:Q,nonce:typeof v.nonce=="string"?v.nonce:void 0})}},Kt.preinitModule=function(S,v){if(typeof S=="string")if(typeof v=="object"&&v!==null){if(v.as==null||v.as==="script"){var R=b(v.as,v.crossOrigin);s.d.M(S,{crossOrigin:R,integrity:typeof v.integrity=="string"?v.integrity:void 0,nonce:typeof v.nonce=="string"?v.nonce:void 0})}}else v==null&&s.d.M(S)},Kt.preload=function(S,v){if(typeof S=="string"&&typeof v=="object"&&v!==null&&typeof v.as=="string"){var R=v.as,_=b(R,v.crossOrigin);s.d.L(S,R,{crossOrigin:_,integrity:typeof v.integrity=="string"?v.integrity:void 0,nonce:typeof v.nonce=="string"?v.nonce:void 0,type:typeof v.type=="string"?v.type:void 0,fetchPriority:typeof v.fetchPriority=="string"?v.fetchPriority:void 0,referrerPolicy:typeof v.referrerPolicy=="string"?v.referrerPolicy:void 0,imageSrcSet:typeof v.imageSrcSet=="string"?v.imageSrcSet:void 0,imageSizes:typeof v.imageSizes=="string"?v.imageSizes:void 0,media:typeof v.media=="string"?v.media:void 0})}},Kt.preloadModule=function(S,v){if(typeof S=="string")if(v){var R=b(v.as,v.crossOrigin);s.d.m(S,{as:typeof v.as=="string"&&v.as!=="script"?v.as:void 0,crossOrigin:R,integrity:typeof v.integrity=="string"?v.integrity:void 0})}else s.d.m(S)},Kt.requestFormReset=function(S){s.d.r(S)},Kt.unstable_batchedUpdates=function(S,v){return S(v)},Kt.useFormState=function(S,v,R){return y.H.useFormState(S,v,R)},Kt.useFormStatus=function(){return y.H.useHostTransitionStatus()},Kt.version="19.1.1",Kt}var cd;function Md(){if(cd)return Uf.exports;cd=1;function u(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(u)}catch(c){console.error(c)}}return u(),Uf.exports=P0(),Uf.exports}/**
|
|
35
|
+
* @license React
|
|
36
|
+
* react-dom-client.production.js
|
|
37
|
+
*
|
|
38
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
39
|
+
*
|
|
40
|
+
* This source code is licensed under the MIT license found in the
|
|
41
|
+
* LICENSE file in the root directory of this source tree.
|
|
42
|
+
*/var fd;function I0(){if(fd)return Cn;fd=1;var u=W0(),c=Xf(),f=Md();function s(t){var e="https://react.dev/errors/"+t;if(1<arguments.length){e+="?args[]="+encodeURIComponent(arguments[1]);for(var l=2;l<arguments.length;l++)e+="&args[]="+encodeURIComponent(arguments[l])}return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function h(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function d(t){var e=t,l=t;if(t.alternate)for(;e.return;)e=e.return;else{t=e;do e=t,(e.flags&4098)!==0&&(l=e.return),t=e.return;while(t)}return e.tag===3?l:null}function y(t){if(t.tag===13){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function b(t){if(d(t)!==t)throw Error(s(188))}function S(t){var e=t.alternate;if(!e){if(e=d(t),e===null)throw Error(s(188));return e!==t?null:t}for(var l=t,a=e;;){var n=l.return;if(n===null)break;var i=n.alternate;if(i===null){if(a=n.return,a!==null){l=a;continue}break}if(n.child===i.child){for(i=n.child;i;){if(i===l)return b(n),t;if(i===a)return b(n),e;i=i.sibling}throw Error(s(188))}if(l.return!==a.return)l=n,a=i;else{for(var r=!1,o=n.child;o;){if(o===l){r=!0,l=n,a=i;break}if(o===a){r=!0,a=n,l=i;break}o=o.sibling}if(!r){for(o=i.child;o;){if(o===l){r=!0,l=i,a=n;break}if(o===a){r=!0,a=i,l=n;break}o=o.sibling}if(!r)throw Error(s(189))}}if(l.alternate!==a)throw Error(s(190))}if(l.tag!==3)throw Error(s(188));return l.stateNode.current===l?t:e}function v(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t;for(t=t.child;t!==null;){if(e=v(t),e!==null)return e;t=t.sibling}return null}var R=Object.assign,_=Symbol.for("react.element"),q=Symbol.for("react.transitional.element"),Q=Symbol.for("react.portal"),B=Symbol.for("react.fragment"),j=Symbol.for("react.strict_mode"),H=Symbol.for("react.profiler"),K=Symbol.for("react.provider"),G=Symbol.for("react.consumer"),J=Symbol.for("react.context"),st=Symbol.for("react.forward_ref"),k=Symbol.for("react.suspense"),bt=Symbol.for("react.suspense_list"),Ot=Symbol.for("react.memo"),_t=Symbol.for("react.lazy"),Bt=Symbol.for("react.activity"),oe=Symbol.for("react.memo_cache_sentinel"),He=Symbol.iterator;function Gt(t){return t===null||typeof t!="object"?null:(t=He&&t[He]||t["@@iterator"],typeof t=="function"?t:null)}var Ol=Symbol.for("react.client.reference");function xl(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===Ol?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case B:return"Fragment";case H:return"Profiler";case j:return"StrictMode";case k:return"Suspense";case bt:return"SuspenseList";case Bt:return"Activity"}if(typeof t=="object")switch(t.$$typeof){case Q:return"Portal";case J:return(t.displayName||"Context")+".Provider";case G:return(t._context.displayName||"Context")+".Consumer";case st:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case Ot:return e=t.displayName||null,e!==null?e:xl(t.type)||"Memo";case _t:e=t._payload,t=t._init;try{return xl(t(e))}catch{}}return null}var Xt=Array.isArray,z=c.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Y=f.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,P={pending:!1,data:null,method:null,action:null},vt=[],g=-1;function N(t){return{current:t}}function X(t){0>g||(t.current=vt[g],vt[g]=null,g--)}function L(t,e){g++,vt[g]=t.current,t.current=e}var $=N(null),ct=N(null),tt=N(null),te=N(null);function St(t,e){switch(L(tt,e),L(ct,t),L($,null),e.nodeType){case 9:case 11:t=(t=e.documentElement)&&(t=t.namespaceURI)?Sh(t):0;break;default:if(t=e.tagName,e=e.namespaceURI)e=Sh(e),t=Eh(e,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}X($),L($,t)}function Ie(){X($),X(ct),X(tt)}function oi(t){t.memoizedState!==null&&L(te,t);var e=$.current,l=Eh(e,t.type);e!==l&&(L(ct,t),L($,l))}function Bn(t){ct.current===t&&(X($),X(ct)),te.current===t&&(X(te),On._currentValue=P)}var hi=Object.prototype.hasOwnProperty,di=u.unstable_scheduleCallback,mi=u.unstable_cancelCallback,Fd=u.unstable_shouldYield,Wd=u.unstable_requestPaint,Me=u.unstable_now,Pd=u.unstable_getCurrentPriorityLevel,If=u.unstable_ImmediatePriority,tr=u.unstable_UserBlockingPriority,Ln=u.unstable_NormalPriority,Id=u.unstable_LowPriority,er=u.unstable_IdlePriority,tm=u.log,em=u.unstable_setDisableYieldValue,Ua=null,ee=null;function tl(t){if(typeof tm=="function"&&em(t),ee&&typeof ee.setStrictMode=="function")try{ee.setStrictMode(Ua,t)}catch{}}var le=Math.clz32?Math.clz32:nm,lm=Math.log,am=Math.LN2;function nm(t){return t>>>=0,t===0?32:31-(lm(t)/am|0)|0}var Qn=256,Yn=4194304;function Ml(t){var e=t&42;if(e!==0)return e;switch(t&-t){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function Gn(t,e,l){var a=t.pendingLanes;if(a===0)return 0;var n=0,i=t.suspendedLanes,r=t.pingedLanes;t=t.warmLanes;var o=a&134217727;return o!==0?(a=o&~i,a!==0?n=Ml(a):(r&=o,r!==0?n=Ml(r):l||(l=o&~t,l!==0&&(n=Ml(l))))):(o=a&~i,o!==0?n=Ml(o):r!==0?n=Ml(r):l||(l=a&~t,l!==0&&(n=Ml(l)))),n===0?0:e!==0&&e!==n&&(e&i)===0&&(i=n&-n,l=e&-e,i>=l||i===32&&(l&4194048)!==0)?e:n}function Na(t,e){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&e)===0}function um(t,e){switch(t){case 1:case 2:case 4:case 8:case 64:return e+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function lr(){var t=Qn;return Qn<<=1,(Qn&4194048)===0&&(Qn=256),t}function ar(){var t=Yn;return Yn<<=1,(Yn&62914560)===0&&(Yn=4194304),t}function yi(t){for(var e=[],l=0;31>l;l++)e.push(t);return e}function qa(t,e){t.pendingLanes|=e,e!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function im(t,e,l,a,n,i){var r=t.pendingLanes;t.pendingLanes=l,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=l,t.entangledLanes&=l,t.errorRecoveryDisabledLanes&=l,t.shellSuspendCounter=0;var o=t.entanglements,m=t.expirationTimes,A=t.hiddenUpdates;for(l=r&~l;0<l;){var D=31-le(l),U=1<<D;o[D]=0,m[D]=-1;var O=A[D];if(O!==null)for(A[D]=null,D=0;D<O.length;D++){var M=O[D];M!==null&&(M.lane&=-536870913)}l&=~U}a!==0&&nr(t,a,0),i!==0&&n===0&&t.tag!==0&&(t.suspendedLanes|=i&~(r&~e))}function nr(t,e,l){t.pendingLanes|=e,t.suspendedLanes&=~e;var a=31-le(e);t.entangledLanes|=e,t.entanglements[a]=t.entanglements[a]|1073741824|l&4194090}function ur(t,e){var l=t.entangledLanes|=e;for(t=t.entanglements;l;){var a=31-le(l),n=1<<a;n&e|t[a]&e&&(t[a]|=e),l&=~n}}function vi(t){switch(t){case 2:t=1;break;case 8:t=4;break;case 32:t=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:t=128;break;case 268435456:t=134217728;break;default:t=0}return t}function gi(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function ir(){var t=Y.p;return t!==0?t:(t=window.event,t===void 0?32:Qh(t.type))}function cm(t,e){var l=Y.p;try{return Y.p=t,e()}finally{Y.p=l}}var el=Math.random().toString(36).slice(2),Zt="__reactFiber$"+el,$t="__reactProps$"+el,Vl="__reactContainer$"+el,pi="__reactEvents$"+el,fm="__reactListeners$"+el,rm="__reactHandles$"+el,cr="__reactResources$"+el,Ha="__reactMarker$"+el;function bi(t){delete t[Zt],delete t[$t],delete t[pi],delete t[fm],delete t[rm]}function Kl(t){var e=t[Zt];if(e)return e;for(var l=t.parentNode;l;){if(e=l[Vl]||l[Zt]){if(l=e.alternate,e.child!==null||l!==null&&l.child!==null)for(t=Oh(t);t!==null;){if(l=t[Zt])return l;t=Oh(t)}return e}t=l,l=t.parentNode}return null}function Jl(t){if(t=t[Zt]||t[Vl]){var e=t.tag;if(e===5||e===6||e===13||e===26||e===27||e===3)return t}return null}function ja(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t.stateNode;throw Error(s(33))}function kl(t){var e=t[cr];return e||(e=t[cr]={hoistableStyles:new Map,hoistableScripts:new Map}),e}function qt(t){t[Ha]=!0}var fr=new Set,rr={};function _l(t,e){$l(t,e),$l(t+"Capture",e)}function $l(t,e){for(rr[t]=e,t=0;t<e.length;t++)fr.add(e[t])}var sm=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),sr={},or={};function om(t){return hi.call(or,t)?!0:hi.call(sr,t)?!1:sm.test(t)?or[t]=!0:(sr[t]=!0,!1)}function Xn(t,e,l){if(om(e))if(l===null)t.removeAttribute(e);else{switch(typeof l){case"undefined":case"function":case"symbol":t.removeAttribute(e);return;case"boolean":var a=e.toLowerCase().slice(0,5);if(a!=="data-"&&a!=="aria-"){t.removeAttribute(e);return}}t.setAttribute(e,""+l)}}function Zn(t,e,l){if(l===null)t.removeAttribute(e);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(e);return}t.setAttribute(e,""+l)}}function je(t,e,l,a){if(a===null)t.removeAttribute(l);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(l);return}t.setAttributeNS(e,l,""+a)}}var Si,hr;function Fl(t){if(Si===void 0)try{throw Error()}catch(l){var e=l.stack.trim().match(/\n( *(at )?)/);Si=e&&e[1]||"",hr=-1<l.stack.indexOf(`
|
|
43
|
+
at`)?" (<anonymous>)":-1<l.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
44
|
+
`+Si+t+hr}var Ei=!1;function Ti(t,e){if(!t||Ei)return"";Ei=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var a={DetermineComponentFrameRoot:function(){try{if(e){var U=function(){throw Error()};if(Object.defineProperty(U.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(U,[])}catch(M){var O=M}Reflect.construct(t,[],U)}else{try{U.call()}catch(M){O=M}t.call(U.prototype)}}else{try{throw Error()}catch(M){O=M}(U=t())&&typeof U.catch=="function"&&U.catch(function(){})}}catch(M){if(M&&O&&typeof M.stack=="string")return[M.stack,O.stack]}return[null,null]}};a.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var n=Object.getOwnPropertyDescriptor(a.DetermineComponentFrameRoot,"name");n&&n.configurable&&Object.defineProperty(a.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var i=a.DetermineComponentFrameRoot(),r=i[0],o=i[1];if(r&&o){var m=r.split(`
|
|
45
|
+
`),A=o.split(`
|
|
46
|
+
`);for(n=a=0;a<m.length&&!m[a].includes("DetermineComponentFrameRoot");)a++;for(;n<A.length&&!A[n].includes("DetermineComponentFrameRoot");)n++;if(a===m.length||n===A.length)for(a=m.length-1,n=A.length-1;1<=a&&0<=n&&m[a]!==A[n];)n--;for(;1<=a&&0<=n;a--,n--)if(m[a]!==A[n]){if(a!==1||n!==1)do if(a--,n--,0>n||m[a]!==A[n]){var D=`
|
|
47
|
+
`+m[a].replace(" at new "," at ");return t.displayName&&D.includes("<anonymous>")&&(D=D.replace("<anonymous>",t.displayName)),D}while(1<=a&&0<=n);break}}}finally{Ei=!1,Error.prepareStackTrace=l}return(l=t?t.displayName||t.name:"")?Fl(l):""}function hm(t){switch(t.tag){case 26:case 27:case 5:return Fl(t.type);case 16:return Fl("Lazy");case 13:return Fl("Suspense");case 19:return Fl("SuspenseList");case 0:case 15:return Ti(t.type,!1);case 11:return Ti(t.type.render,!1);case 1:return Ti(t.type,!0);case 31:return Fl("Activity");default:return""}}function dr(t){try{var e="";do e+=hm(t),t=t.return;while(t);return e}catch(l){return`
|
|
48
|
+
Error generating stack: `+l.message+`
|
|
49
|
+
`+l.stack}}function he(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function mr(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function dm(t){var e=mr(t)?"checked":"value",l=Object.getOwnPropertyDescriptor(t.constructor.prototype,e),a=""+t[e];if(!t.hasOwnProperty(e)&&typeof l<"u"&&typeof l.get=="function"&&typeof l.set=="function"){var n=l.get,i=l.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return n.call(this)},set:function(r){a=""+r,i.call(this,r)}}),Object.defineProperty(t,e,{enumerable:l.enumerable}),{getValue:function(){return a},setValue:function(r){a=""+r},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function Vn(t){t._valueTracker||(t._valueTracker=dm(t))}function yr(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var l=e.getValue(),a="";return t&&(a=mr(t)?t.checked?"true":"false":t.value),t=a,t!==l?(e.setValue(t),!0):!1}function Kn(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}var mm=/[\n"\\]/g;function de(t){return t.replace(mm,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function Ri(t,e,l,a,n,i,r,o){t.name="",r!=null&&typeof r!="function"&&typeof r!="symbol"&&typeof r!="boolean"?t.type=r:t.removeAttribute("type"),e!=null?r==="number"?(e===0&&t.value===""||t.value!=e)&&(t.value=""+he(e)):t.value!==""+he(e)&&(t.value=""+he(e)):r!=="submit"&&r!=="reset"||t.removeAttribute("value"),e!=null?Ai(t,r,he(e)):l!=null?Ai(t,r,he(l)):a!=null&&t.removeAttribute("value"),n==null&&i!=null&&(t.defaultChecked=!!i),n!=null&&(t.checked=n&&typeof n!="function"&&typeof n!="symbol"),o!=null&&typeof o!="function"&&typeof o!="symbol"&&typeof o!="boolean"?t.name=""+he(o):t.removeAttribute("name")}function vr(t,e,l,a,n,i,r,o){if(i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"&&(t.type=i),e!=null||l!=null){if(!(i!=="submit"&&i!=="reset"||e!=null))return;l=l!=null?""+he(l):"",e=e!=null?""+he(e):l,o||e===t.value||(t.value=e),t.defaultValue=e}a=a??n,a=typeof a!="function"&&typeof a!="symbol"&&!!a,t.checked=o?t.checked:!!a,t.defaultChecked=!!a,r!=null&&typeof r!="function"&&typeof r!="symbol"&&typeof r!="boolean"&&(t.name=r)}function Ai(t,e,l){e==="number"&&Kn(t.ownerDocument)===t||t.defaultValue===""+l||(t.defaultValue=""+l)}function Wl(t,e,l,a){if(t=t.options,e){e={};for(var n=0;n<l.length;n++)e["$"+l[n]]=!0;for(l=0;l<t.length;l++)n=e.hasOwnProperty("$"+t[l].value),t[l].selected!==n&&(t[l].selected=n),n&&a&&(t[l].defaultSelected=!0)}else{for(l=""+he(l),e=null,n=0;n<t.length;n++){if(t[n].value===l){t[n].selected=!0,a&&(t[n].defaultSelected=!0);return}e!==null||t[n].disabled||(e=t[n])}e!==null&&(e.selected=!0)}}function gr(t,e,l){if(e!=null&&(e=""+he(e),e!==t.value&&(t.value=e),l==null)){t.defaultValue!==e&&(t.defaultValue=e);return}t.defaultValue=l!=null?""+he(l):""}function pr(t,e,l,a){if(e==null){if(a!=null){if(l!=null)throw Error(s(92));if(Xt(a)){if(1<a.length)throw Error(s(93));a=a[0]}l=a}l==null&&(l=""),e=l}l=he(e),t.defaultValue=l,a=t.textContent,a===l&&a!==""&&a!==null&&(t.value=a)}function Pl(t,e){if(e){var l=t.firstChild;if(l&&l===t.lastChild&&l.nodeType===3){l.nodeValue=e;return}}t.textContent=e}var ym=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function br(t,e,l){var a=e.indexOf("--")===0;l==null||typeof l=="boolean"||l===""?a?t.setProperty(e,""):e==="float"?t.cssFloat="":t[e]="":a?t.setProperty(e,l):typeof l!="number"||l===0||ym.has(e)?e==="float"?t.cssFloat=l:t[e]=(""+l).trim():t[e]=l+"px"}function Sr(t,e,l){if(e!=null&&typeof e!="object")throw Error(s(62));if(t=t.style,l!=null){for(var a in l)!l.hasOwnProperty(a)||e!=null&&e.hasOwnProperty(a)||(a.indexOf("--")===0?t.setProperty(a,""):a==="float"?t.cssFloat="":t[a]="");for(var n in e)a=e[n],e.hasOwnProperty(n)&&l[n]!==a&&br(t,n,a)}else for(var i in e)e.hasOwnProperty(i)&&br(t,i,e[i])}function Oi(t){if(t.indexOf("-")===-1)return!1;switch(t){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var vm=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),gm=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function Jn(t){return gm.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}var xi=null;function Mi(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var Il=null,ta=null;function Er(t){var e=Jl(t);if(e&&(t=e.stateNode)){var l=t[$t]||null;t:switch(t=e.stateNode,e.type){case"input":if(Ri(t,l.value,l.defaultValue,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name),e=l.name,l.type==="radio"&&e!=null){for(l=t;l.parentNode;)l=l.parentNode;for(l=l.querySelectorAll('input[name="'+de(""+e)+'"][type="radio"]'),e=0;e<l.length;e++){var a=l[e];if(a!==t&&a.form===t.form){var n=a[$t]||null;if(!n)throw Error(s(90));Ri(a,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name)}}for(e=0;e<l.length;e++)a=l[e],a.form===t.form&&yr(a)}break t;case"textarea":gr(t,l.value,l.defaultValue);break t;case"select":e=l.value,e!=null&&Wl(t,!!l.multiple,e,!1)}}}var _i=!1;function Tr(t,e,l){if(_i)return t(e,l);_i=!0;try{var a=t(e);return a}finally{if(_i=!1,(Il!==null||ta!==null)&&(Uu(),Il&&(e=Il,t=ta,ta=Il=null,Er(e),t)))for(e=0;e<t.length;e++)Er(t[e])}}function wa(t,e){var l=t.stateNode;if(l===null)return null;var a=l[$t]||null;if(a===null)return null;l=a[e];t:switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(a=!a.disabled)||(t=t.type,a=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!a;break t;default:t=!1}if(t)return null;if(l&&typeof l!="function")throw Error(s(231,e,typeof l));return l}var we=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Di=!1;if(we)try{var Ba={};Object.defineProperty(Ba,"passive",{get:function(){Di=!0}}),window.addEventListener("test",Ba,Ba),window.removeEventListener("test",Ba,Ba)}catch{Di=!1}var ll=null,zi=null,kn=null;function Rr(){if(kn)return kn;var t,e=zi,l=e.length,a,n="value"in ll?ll.value:ll.textContent,i=n.length;for(t=0;t<l&&e[t]===n[t];t++);var r=l-t;for(a=1;a<=r&&e[l-a]===n[i-a];a++);return kn=n.slice(t,1<a?1-a:void 0)}function $n(t){var e=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&e===13&&(t=13)):t=e,t===10&&(t=13),32<=t||t===13?t:0}function Fn(){return!0}function Ar(){return!1}function Ft(t){function e(l,a,n,i,r){this._reactName=l,this._targetInst=n,this.type=a,this.nativeEvent=i,this.target=r,this.currentTarget=null;for(var o in t)t.hasOwnProperty(o)&&(l=t[o],this[o]=l?l(i):i[o]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?Fn:Ar,this.isPropagationStopped=Ar,this}return R(e.prototype,{preventDefault:function(){this.defaultPrevented=!0;var l=this.nativeEvent;l&&(l.preventDefault?l.preventDefault():typeof l.returnValue!="unknown"&&(l.returnValue=!1),this.isDefaultPrevented=Fn)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=Fn)},persist:function(){},isPersistent:Fn}),e}var Dl={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Wn=Ft(Dl),La=R({},Dl,{view:0,detail:0}),pm=Ft(La),Ci,Ui,Qa,Pn=R({},La,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:qi,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==Qa&&(Qa&&t.type==="mousemove"?(Ci=t.screenX-Qa.screenX,Ui=t.screenY-Qa.screenY):Ui=Ci=0,Qa=t),Ci)},movementY:function(t){return"movementY"in t?t.movementY:Ui}}),Or=Ft(Pn),bm=R({},Pn,{dataTransfer:0}),Sm=Ft(bm),Em=R({},La,{relatedTarget:0}),Ni=Ft(Em),Tm=R({},Dl,{animationName:0,elapsedTime:0,pseudoElement:0}),Rm=Ft(Tm),Am=R({},Dl,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),Om=Ft(Am),xm=R({},Dl,{data:0}),xr=Ft(xm),Mm={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},_m={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Dm={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function zm(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):(t=Dm[t])?!!e[t]:!1}function qi(){return zm}var Cm=R({},La,{key:function(t){if(t.key){var e=Mm[t.key]||t.key;if(e!=="Unidentified")return e}return t.type==="keypress"?(t=$n(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?_m[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:qi,charCode:function(t){return t.type==="keypress"?$n(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?$n(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),Um=Ft(Cm),Nm=R({},Pn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Mr=Ft(Nm),qm=R({},La,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:qi}),Hm=Ft(qm),jm=R({},Dl,{propertyName:0,elapsedTime:0,pseudoElement:0}),wm=Ft(jm),Bm=R({},Pn,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),Lm=Ft(Bm),Qm=R({},Dl,{newState:0,oldState:0}),Ym=Ft(Qm),Gm=[9,13,27,32],Hi=we&&"CompositionEvent"in window,Ya=null;we&&"documentMode"in document&&(Ya=document.documentMode);var Xm=we&&"TextEvent"in window&&!Ya,_r=we&&(!Hi||Ya&&8<Ya&&11>=Ya),Dr=" ",zr=!1;function Cr(t,e){switch(t){case"keyup":return Gm.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ur(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var ea=!1;function Zm(t,e){switch(t){case"compositionend":return Ur(e);case"keypress":return e.which!==32?null:(zr=!0,Dr);case"textInput":return t=e.data,t===Dr&&zr?null:t;default:return null}}function Vm(t,e){if(ea)return t==="compositionend"||!Hi&&Cr(t,e)?(t=Rr(),kn=zi=ll=null,ea=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1<e.char.length)return e.char;if(e.which)return String.fromCharCode(e.which)}return null;case"compositionend":return _r&&e.locale!=="ko"?null:e.data;default:return null}}var Km={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Nr(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e==="input"?!!Km[t.type]:e==="textarea"}function qr(t,e,l,a){Il?ta?ta.push(a):ta=[a]:Il=a,e=Bu(e,"onChange"),0<e.length&&(l=new Wn("onChange","change",null,l,a),t.push({event:l,listeners:e}))}var Ga=null,Xa=null;function Jm(t){yh(t,0)}function In(t){var e=ja(t);if(yr(e))return t}function Hr(t,e){if(t==="change")return e}var jr=!1;if(we){var ji;if(we){var wi="oninput"in document;if(!wi){var wr=document.createElement("div");wr.setAttribute("oninput","return;"),wi=typeof wr.oninput=="function"}ji=wi}else ji=!1;jr=ji&&(!document.documentMode||9<document.documentMode)}function Br(){Ga&&(Ga.detachEvent("onpropertychange",Lr),Xa=Ga=null)}function Lr(t){if(t.propertyName==="value"&&In(Xa)){var e=[];qr(e,Xa,t,Mi(t)),Tr(Jm,e)}}function km(t,e,l){t==="focusin"?(Br(),Ga=e,Xa=l,Ga.attachEvent("onpropertychange",Lr)):t==="focusout"&&Br()}function $m(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return In(Xa)}function Fm(t,e){if(t==="click")return In(e)}function Wm(t,e){if(t==="input"||t==="change")return In(e)}function Pm(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}var ae=typeof Object.is=="function"?Object.is:Pm;function Za(t,e){if(ae(t,e))return!0;if(typeof t!="object"||t===null||typeof e!="object"||e===null)return!1;var l=Object.keys(t),a=Object.keys(e);if(l.length!==a.length)return!1;for(a=0;a<l.length;a++){var n=l[a];if(!hi.call(e,n)||!ae(t[n],e[n]))return!1}return!0}function Qr(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function Yr(t,e){var l=Qr(t);t=0;for(var a;l;){if(l.nodeType===3){if(a=t+l.textContent.length,t<=e&&a>=e)return{node:l,offset:e-t};t=a}t:{for(;l;){if(l.nextSibling){l=l.nextSibling;break t}l=l.parentNode}l=void 0}l=Qr(l)}}function Gr(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?Gr(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function Xr(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var e=Kn(t.document);e instanceof t.HTMLIFrameElement;){try{var l=typeof e.contentWindow.location.href=="string"}catch{l=!1}if(l)t=e.contentWindow;else break;e=Kn(t.document)}return e}function Bi(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(e==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||e==="textarea"||t.contentEditable==="true")}var Im=we&&"documentMode"in document&&11>=document.documentMode,la=null,Li=null,Va=null,Qi=!1;function Zr(t,e,l){var a=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;Qi||la==null||la!==Kn(a)||(a=la,"selectionStart"in a&&Bi(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}),Va&&Za(Va,a)||(Va=a,a=Bu(Li,"onSelect"),0<a.length&&(e=new Wn("onSelect","select",null,e,l),t.push({event:e,listeners:a}),e.target=la)))}function zl(t,e){var l={};return l[t.toLowerCase()]=e.toLowerCase(),l["Webkit"+t]="webkit"+e,l["Moz"+t]="moz"+e,l}var aa={animationend:zl("Animation","AnimationEnd"),animationiteration:zl("Animation","AnimationIteration"),animationstart:zl("Animation","AnimationStart"),transitionrun:zl("Transition","TransitionRun"),transitionstart:zl("Transition","TransitionStart"),transitioncancel:zl("Transition","TransitionCancel"),transitionend:zl("Transition","TransitionEnd")},Yi={},Vr={};we&&(Vr=document.createElement("div").style,"AnimationEvent"in window||(delete aa.animationend.animation,delete aa.animationiteration.animation,delete aa.animationstart.animation),"TransitionEvent"in window||delete aa.transitionend.transition);function Cl(t){if(Yi[t])return Yi[t];if(!aa[t])return t;var e=aa[t],l;for(l in e)if(e.hasOwnProperty(l)&&l in Vr)return Yi[t]=e[l];return t}var Kr=Cl("animationend"),Jr=Cl("animationiteration"),kr=Cl("animationstart"),ty=Cl("transitionrun"),ey=Cl("transitionstart"),ly=Cl("transitioncancel"),$r=Cl("transitionend"),Fr=new Map,Gi="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");Gi.push("scrollEnd");function Re(t,e){Fr.set(t,e),_l(e,[t])}var Wr=new WeakMap;function me(t,e){if(typeof t=="object"&&t!==null){var l=Wr.get(t);return l!==void 0?l:(e={value:t,source:e,stack:dr(e)},Wr.set(t,e),e)}return{value:t,source:e,stack:dr(e)}}var ye=[],na=0,Xi=0;function tu(){for(var t=na,e=Xi=na=0;e<t;){var l=ye[e];ye[e++]=null;var a=ye[e];ye[e++]=null;var n=ye[e];ye[e++]=null;var i=ye[e];if(ye[e++]=null,a!==null&&n!==null){var r=a.pending;r===null?n.next=n:(n.next=r.next,r.next=n),a.pending=n}i!==0&&Pr(l,n,i)}}function eu(t,e,l,a){ye[na++]=t,ye[na++]=e,ye[na++]=l,ye[na++]=a,Xi|=a,t.lanes|=a,t=t.alternate,t!==null&&(t.lanes|=a)}function Zi(t,e,l,a){return eu(t,e,l,a),lu(t)}function ua(t,e){return eu(t,null,null,e),lu(t)}function Pr(t,e,l){t.lanes|=l;var a=t.alternate;a!==null&&(a.lanes|=l);for(var n=!1,i=t.return;i!==null;)i.childLanes|=l,a=i.alternate,a!==null&&(a.childLanes|=l),i.tag===22&&(t=i.stateNode,t===null||t._visibility&1||(n=!0)),t=i,i=i.return;return t.tag===3?(i=t.stateNode,n&&e!==null&&(n=31-le(l),t=i.hiddenUpdates,a=t[n],a===null?t[n]=[e]:a.push(e),e.lane=l|536870912),i):null}function lu(t){if(50<gn)throw gn=0,Fc=null,Error(s(185));for(var e=t.return;e!==null;)t=e,e=t.return;return t.tag===3?t.stateNode:null}var ia={};function ay(t,e,l,a){this.tag=t,this.key=l,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=a,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ne(t,e,l,a){return new ay(t,e,l,a)}function Vi(t){return t=t.prototype,!(!t||!t.isReactComponent)}function Be(t,e){var l=t.alternate;return l===null?(l=ne(t.tag,e,t.key,t.mode),l.elementType=t.elementType,l.type=t.type,l.stateNode=t.stateNode,l.alternate=t,t.alternate=l):(l.pendingProps=e,l.type=t.type,l.flags=0,l.subtreeFlags=0,l.deletions=null),l.flags=t.flags&65011712,l.childLanes=t.childLanes,l.lanes=t.lanes,l.child=t.child,l.memoizedProps=t.memoizedProps,l.memoizedState=t.memoizedState,l.updateQueue=t.updateQueue,e=t.dependencies,l.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext},l.sibling=t.sibling,l.index=t.index,l.ref=t.ref,l.refCleanup=t.refCleanup,l}function Ir(t,e){t.flags&=65011714;var l=t.alternate;return l===null?(t.childLanes=0,t.lanes=e,t.child=null,t.subtreeFlags=0,t.memoizedProps=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.stateNode=null):(t.childLanes=l.childLanes,t.lanes=l.lanes,t.child=l.child,t.subtreeFlags=0,t.deletions=null,t.memoizedProps=l.memoizedProps,t.memoizedState=l.memoizedState,t.updateQueue=l.updateQueue,t.type=l.type,e=l.dependencies,t.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),t}function au(t,e,l,a,n,i){var r=0;if(a=t,typeof t=="function")Vi(t)&&(r=1);else if(typeof t=="string")r=u0(t,l,$.current)?26:t==="html"||t==="head"||t==="body"?27:5;else t:switch(t){case Bt:return t=ne(31,l,e,n),t.elementType=Bt,t.lanes=i,t;case B:return Ul(l.children,n,i,e);case j:r=8,n|=24;break;case H:return t=ne(12,l,e,n|2),t.elementType=H,t.lanes=i,t;case k:return t=ne(13,l,e,n),t.elementType=k,t.lanes=i,t;case bt:return t=ne(19,l,e,n),t.elementType=bt,t.lanes=i,t;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case K:case J:r=10;break t;case G:r=9;break t;case st:r=11;break t;case Ot:r=14;break t;case _t:r=16,a=null;break t}r=29,l=Error(s(130,t===null?"null":typeof t,"")),a=null}return e=ne(r,l,e,n),e.elementType=t,e.type=a,e.lanes=i,e}function Ul(t,e,l,a){return t=ne(7,t,a,e),t.lanes=l,t}function Ki(t,e,l){return t=ne(6,t,null,e),t.lanes=l,t}function Ji(t,e,l){return e=ne(4,t.children!==null?t.children:[],t.key,e),e.lanes=l,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}var ca=[],fa=0,nu=null,uu=0,ve=[],ge=0,Nl=null,Le=1,Qe="";function ql(t,e){ca[fa++]=uu,ca[fa++]=nu,nu=t,uu=e}function ts(t,e,l){ve[ge++]=Le,ve[ge++]=Qe,ve[ge++]=Nl,Nl=t;var a=Le;t=Qe;var n=32-le(a)-1;a&=~(1<<n),l+=1;var i=32-le(e)+n;if(30<i){var r=n-n%5;i=(a&(1<<r)-1).toString(32),a>>=r,n-=r,Le=1<<32-le(e)+n|l<<n|a,Qe=i+t}else Le=1<<i|l<<n|a,Qe=t}function ki(t){t.return!==null&&(ql(t,1),ts(t,1,0))}function $i(t){for(;t===nu;)nu=ca[--fa],ca[fa]=null,uu=ca[--fa],ca[fa]=null;for(;t===Nl;)Nl=ve[--ge],ve[ge]=null,Qe=ve[--ge],ve[ge]=null,Le=ve[--ge],ve[ge]=null}var Jt=null,Rt=null,rt=!1,Hl=null,_e=!1,Fi=Error(s(519));function jl(t){var e=Error(s(418,""));throw ka(me(e,t)),Fi}function es(t){var e=t.stateNode,l=t.type,a=t.memoizedProps;switch(e[Zt]=t,e[$t]=a,l){case"dialog":ut("cancel",e),ut("close",e);break;case"iframe":case"object":case"embed":ut("load",e);break;case"video":case"audio":for(l=0;l<bn.length;l++)ut(bn[l],e);break;case"source":ut("error",e);break;case"img":case"image":case"link":ut("error",e),ut("load",e);break;case"details":ut("toggle",e);break;case"input":ut("invalid",e),vr(e,a.value,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name,!0),Vn(e);break;case"select":ut("invalid",e);break;case"textarea":ut("invalid",e),pr(e,a.value,a.defaultValue,a.children),Vn(e)}l=a.children,typeof l!="string"&&typeof l!="number"&&typeof l!="bigint"||e.textContent===""+l||a.suppressHydrationWarning===!0||bh(e.textContent,l)?(a.popover!=null&&(ut("beforetoggle",e),ut("toggle",e)),a.onScroll!=null&&ut("scroll",e),a.onScrollEnd!=null&&ut("scrollend",e),a.onClick!=null&&(e.onclick=Lu),e=!0):e=!1,e||jl(t)}function ls(t){for(Jt=t.return;Jt;)switch(Jt.tag){case 5:case 13:_e=!1;return;case 27:case 3:_e=!0;return;default:Jt=Jt.return}}function Ka(t){if(t!==Jt)return!1;if(!rt)return ls(t),rt=!0,!1;var e=t.tag,l;if((l=e!==3&&e!==27)&&((l=e===5)&&(l=t.type,l=!(l!=="form"&&l!=="button")||df(t.type,t.memoizedProps)),l=!l),l&&Rt&&jl(t),ls(t),e===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(s(317));t:{for(t=t.nextSibling,e=0;t;){if(t.nodeType===8)if(l=t.data,l==="/$"){if(e===0){Rt=Oe(t.nextSibling);break t}e--}else l!=="$"&&l!=="$!"&&l!=="$?"||e++;t=t.nextSibling}Rt=null}}else e===27?(e=Rt,pl(t.type)?(t=gf,gf=null,Rt=t):Rt=e):Rt=Jt?Oe(t.stateNode.nextSibling):null;return!0}function Ja(){Rt=Jt=null,rt=!1}function as(){var t=Hl;return t!==null&&(It===null?It=t:It.push.apply(It,t),Hl=null),t}function ka(t){Hl===null?Hl=[t]:Hl.push(t)}var Wi=N(null),wl=null,Ye=null;function al(t,e,l){L(Wi,e._currentValue),e._currentValue=l}function Ge(t){t._currentValue=Wi.current,X(Wi)}function Pi(t,e,l){for(;t!==null;){var a=t.alternate;if((t.childLanes&e)!==e?(t.childLanes|=e,a!==null&&(a.childLanes|=e)):a!==null&&(a.childLanes&e)!==e&&(a.childLanes|=e),t===l)break;t=t.return}}function Ii(t,e,l,a){var n=t.child;for(n!==null&&(n.return=t);n!==null;){var i=n.dependencies;if(i!==null){var r=n.child;i=i.firstContext;t:for(;i!==null;){var o=i;i=n;for(var m=0;m<e.length;m++)if(o.context===e[m]){i.lanes|=l,o=i.alternate,o!==null&&(o.lanes|=l),Pi(i.return,l,t),a||(r=null);break t}i=o.next}}else if(n.tag===18){if(r=n.return,r===null)throw Error(s(341));r.lanes|=l,i=r.alternate,i!==null&&(i.lanes|=l),Pi(r,l,t),r=null}else r=n.child;if(r!==null)r.return=n;else for(r=n;r!==null;){if(r===t){r=null;break}if(n=r.sibling,n!==null){n.return=r.return,r=n;break}r=r.return}n=r}}function $a(t,e,l,a){t=null;for(var n=e,i=!1;n!==null;){if(!i){if((n.flags&524288)!==0)i=!0;else if((n.flags&262144)!==0)break}if(n.tag===10){var r=n.alternate;if(r===null)throw Error(s(387));if(r=r.memoizedProps,r!==null){var o=n.type;ae(n.pendingProps.value,r.value)||(t!==null?t.push(o):t=[o])}}else if(n===te.current){if(r=n.alternate,r===null)throw Error(s(387));r.memoizedState.memoizedState!==n.memoizedState.memoizedState&&(t!==null?t.push(On):t=[On])}n=n.return}t!==null&&Ii(e,t,l,a),e.flags|=262144}function iu(t){for(t=t.firstContext;t!==null;){if(!ae(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function Bl(t){wl=t,Ye=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function Vt(t){return ns(wl,t)}function cu(t,e){return wl===null&&Bl(t),ns(t,e)}function ns(t,e){var l=e._currentValue;if(e={context:e,memoizedValue:l,next:null},Ye===null){if(t===null)throw Error(s(308));Ye=e,t.dependencies={lanes:0,firstContext:e},t.flags|=524288}else Ye=Ye.next=e;return l}var ny=typeof AbortController<"u"?AbortController:function(){var t=[],e=this.signal={aborted:!1,addEventListener:function(l,a){t.push(a)}};this.abort=function(){e.aborted=!0,t.forEach(function(l){return l()})}},uy=u.unstable_scheduleCallback,iy=u.unstable_NormalPriority,Ut={$$typeof:J,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function tc(){return{controller:new ny,data:new Map,refCount:0}}function Fa(t){t.refCount--,t.refCount===0&&uy(iy,function(){t.controller.abort()})}var Wa=null,ec=0,ra=0,sa=null;function cy(t,e){if(Wa===null){var l=Wa=[];ec=0,ra=af(),sa={status:"pending",value:void 0,then:function(a){l.push(a)}}}return ec++,e.then(us,us),e}function us(){if(--ec===0&&Wa!==null){sa!==null&&(sa.status="fulfilled");var t=Wa;Wa=null,ra=0,sa=null;for(var e=0;e<t.length;e++)(0,t[e])()}}function fy(t,e){var l=[],a={status:"pending",value:null,reason:null,then:function(n){l.push(n)}};return t.then(function(){a.status="fulfilled",a.value=e;for(var n=0;n<l.length;n++)(0,l[n])(e)},function(n){for(a.status="rejected",a.reason=n,n=0;n<l.length;n++)(0,l[n])(void 0)}),a}var is=z.S;z.S=function(t,e){typeof e=="object"&&e!==null&&typeof e.then=="function"&&cy(t,e),is!==null&&is(t,e)};var Ll=N(null);function lc(){var t=Ll.current;return t!==null?t:pt.pooledCache}function fu(t,e){e===null?L(Ll,Ll.current):L(Ll,e.pool)}function cs(){var t=lc();return t===null?null:{parent:Ut._currentValue,pool:t}}var Pa=Error(s(460)),fs=Error(s(474)),ru=Error(s(542)),ac={then:function(){}};function rs(t){return t=t.status,t==="fulfilled"||t==="rejected"}function su(){}function ss(t,e,l){switch(l=t[l],l===void 0?t.push(e):l!==e&&(e.then(su,su),e=l),e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,hs(t),t;default:if(typeof e.status=="string")e.then(su,su);else{if(t=pt,t!==null&&100<t.shellSuspendCounter)throw Error(s(482));t=e,t.status="pending",t.then(function(a){if(e.status==="pending"){var n=e;n.status="fulfilled",n.value=a}},function(a){if(e.status==="pending"){var n=e;n.status="rejected",n.reason=a}})}switch(e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,hs(t),t}throw Ia=e,Pa}}var Ia=null;function os(){if(Ia===null)throw Error(s(459));var t=Ia;return Ia=null,t}function hs(t){if(t===Pa||t===ru)throw Error(s(483))}var nl=!1;function nc(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function uc(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function ul(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function il(t,e,l){var a=t.updateQueue;if(a===null)return null;if(a=a.shared,(ot&2)!==0){var n=a.pending;return n===null?e.next=e:(e.next=n.next,n.next=e),a.pending=e,e=lu(t),Pr(t,null,l),e}return eu(t,a,e,l),lu(t)}function tn(t,e,l){if(e=e.updateQueue,e!==null&&(e=e.shared,(l&4194048)!==0)){var a=e.lanes;a&=t.pendingLanes,l|=a,e.lanes=l,ur(t,l)}}function ic(t,e){var l=t.updateQueue,a=t.alternate;if(a!==null&&(a=a.updateQueue,l===a)){var n=null,i=null;if(l=l.firstBaseUpdate,l!==null){do{var r={lane:l.lane,tag:l.tag,payload:l.payload,callback:null,next:null};i===null?n=i=r:i=i.next=r,l=l.next}while(l!==null);i===null?n=i=e:i=i.next=e}else n=i=e;l={baseState:a.baseState,firstBaseUpdate:n,lastBaseUpdate:i,shared:a.shared,callbacks:a.callbacks},t.updateQueue=l;return}t=l.lastBaseUpdate,t===null?l.firstBaseUpdate=e:t.next=e,l.lastBaseUpdate=e}var cc=!1;function en(){if(cc){var t=sa;if(t!==null)throw t}}function ln(t,e,l,a){cc=!1;var n=t.updateQueue;nl=!1;var i=n.firstBaseUpdate,r=n.lastBaseUpdate,o=n.shared.pending;if(o!==null){n.shared.pending=null;var m=o,A=m.next;m.next=null,r===null?i=A:r.next=A,r=m;var D=t.alternate;D!==null&&(D=D.updateQueue,o=D.lastBaseUpdate,o!==r&&(o===null?D.firstBaseUpdate=A:o.next=A,D.lastBaseUpdate=m))}if(i!==null){var U=n.baseState;r=0,D=A=m=null,o=i;do{var O=o.lane&-536870913,M=O!==o.lane;if(M?(it&O)===O:(a&O)===O){O!==0&&O===ra&&(cc=!0),D!==null&&(D=D.next={lane:0,tag:o.tag,payload:o.payload,callback:null,next:null});t:{var I=t,F=o;O=e;var yt=l;switch(F.tag){case 1:if(I=F.payload,typeof I=="function"){U=I.call(yt,U,O);break t}U=I;break t;case 3:I.flags=I.flags&-65537|128;case 0:if(I=F.payload,O=typeof I=="function"?I.call(yt,U,O):I,O==null)break t;U=R({},U,O);break t;case 2:nl=!0}}O=o.callback,O!==null&&(t.flags|=64,M&&(t.flags|=8192),M=n.callbacks,M===null?n.callbacks=[O]:M.push(O))}else M={lane:O,tag:o.tag,payload:o.payload,callback:o.callback,next:null},D===null?(A=D=M,m=U):D=D.next=M,r|=O;if(o=o.next,o===null){if(o=n.shared.pending,o===null)break;M=o,o=M.next,M.next=null,n.lastBaseUpdate=M,n.shared.pending=null}}while(!0);D===null&&(m=U),n.baseState=m,n.firstBaseUpdate=A,n.lastBaseUpdate=D,i===null&&(n.shared.lanes=0),ml|=r,t.lanes=r,t.memoizedState=U}}function ds(t,e){if(typeof t!="function")throw Error(s(191,t));t.call(e)}function ms(t,e){var l=t.callbacks;if(l!==null)for(t.callbacks=null,t=0;t<l.length;t++)ds(l[t],e)}var oa=N(null),ou=N(0);function ys(t,e){t=$e,L(ou,t),L(oa,e),$e=t|e.baseLanes}function fc(){L(ou,$e),L(oa,oa.current)}function rc(){$e=ou.current,X(oa),X(ou)}var cl=0,lt=null,dt=null,Dt=null,hu=!1,ha=!1,Ql=!1,du=0,an=0,da=null,ry=0;function xt(){throw Error(s(321))}function sc(t,e){if(e===null)return!1;for(var l=0;l<e.length&&l<t.length;l++)if(!ae(t[l],e[l]))return!1;return!0}function oc(t,e,l,a,n,i){return cl=i,lt=e,e.memoizedState=null,e.updateQueue=null,e.lanes=0,z.H=t===null||t.memoizedState===null?Ps:Is,Ql=!1,i=l(a,n),Ql=!1,ha&&(i=gs(e,l,a,n)),vs(t),i}function vs(t){z.H=bu;var e=dt!==null&&dt.next!==null;if(cl=0,Dt=dt=lt=null,hu=!1,an=0,da=null,e)throw Error(s(300));t===null||Ht||(t=t.dependencies,t!==null&&iu(t)&&(Ht=!0))}function gs(t,e,l,a){lt=t;var n=0;do{if(ha&&(da=null),an=0,ha=!1,25<=n)throw Error(s(301));if(n+=1,Dt=dt=null,t.updateQueue!=null){var i=t.updateQueue;i.lastEffect=null,i.events=null,i.stores=null,i.memoCache!=null&&(i.memoCache.index=0)}z.H=vy,i=e(l,a)}while(ha);return i}function sy(){var t=z.H,e=t.useState()[0];return e=typeof e.then=="function"?nn(e):e,t=t.useState()[0],(dt!==null?dt.memoizedState:null)!==t&&(lt.flags|=1024),e}function hc(){var t=du!==0;return du=0,t}function dc(t,e,l){e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~l}function mc(t){if(hu){for(t=t.memoizedState;t!==null;){var e=t.queue;e!==null&&(e.pending=null),t=t.next}hu=!1}cl=0,Dt=dt=lt=null,ha=!1,an=du=0,da=null}function Wt(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Dt===null?lt.memoizedState=Dt=t:Dt=Dt.next=t,Dt}function zt(){if(dt===null){var t=lt.alternate;t=t!==null?t.memoizedState:null}else t=dt.next;var e=Dt===null?lt.memoizedState:Dt.next;if(e!==null)Dt=e,dt=t;else{if(t===null)throw lt.alternate===null?Error(s(467)):Error(s(310));dt=t,t={memoizedState:dt.memoizedState,baseState:dt.baseState,baseQueue:dt.baseQueue,queue:dt.queue,next:null},Dt===null?lt.memoizedState=Dt=t:Dt=Dt.next=t}return Dt}function yc(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function nn(t){var e=an;return an+=1,da===null&&(da=[]),t=ss(da,t,e),e=lt,(Dt===null?e.memoizedState:Dt.next)===null&&(e=e.alternate,z.H=e===null||e.memoizedState===null?Ps:Is),t}function mu(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return nn(t);if(t.$$typeof===J)return Vt(t)}throw Error(s(438,String(t)))}function vc(t){var e=null,l=lt.updateQueue;if(l!==null&&(e=l.memoCache),e==null){var a=lt.alternate;a!==null&&(a=a.updateQueue,a!==null&&(a=a.memoCache,a!=null&&(e={data:a.data.map(function(n){return n.slice()}),index:0})))}if(e==null&&(e={data:[],index:0}),l===null&&(l=yc(),lt.updateQueue=l),l.memoCache=e,l=e.data[e.index],l===void 0)for(l=e.data[e.index]=Array(t),a=0;a<t;a++)l[a]=oe;return e.index++,l}function Xe(t,e){return typeof e=="function"?e(t):e}function yu(t){var e=zt();return gc(e,dt,t)}function gc(t,e,l){var a=t.queue;if(a===null)throw Error(s(311));a.lastRenderedReducer=l;var n=t.baseQueue,i=a.pending;if(i!==null){if(n!==null){var r=n.next;n.next=i.next,i.next=r}e.baseQueue=n=i,a.pending=null}if(i=t.baseState,n===null)t.memoizedState=i;else{e=n.next;var o=r=null,m=null,A=e,D=!1;do{var U=A.lane&-536870913;if(U!==A.lane?(it&U)===U:(cl&U)===U){var O=A.revertLane;if(O===0)m!==null&&(m=m.next={lane:0,revertLane:0,action:A.action,hasEagerState:A.hasEagerState,eagerState:A.eagerState,next:null}),U===ra&&(D=!0);else if((cl&O)===O){A=A.next,O===ra&&(D=!0);continue}else U={lane:0,revertLane:A.revertLane,action:A.action,hasEagerState:A.hasEagerState,eagerState:A.eagerState,next:null},m===null?(o=m=U,r=i):m=m.next=U,lt.lanes|=O,ml|=O;U=A.action,Ql&&l(i,U),i=A.hasEagerState?A.eagerState:l(i,U)}else O={lane:U,revertLane:A.revertLane,action:A.action,hasEagerState:A.hasEagerState,eagerState:A.eagerState,next:null},m===null?(o=m=O,r=i):m=m.next=O,lt.lanes|=U,ml|=U;A=A.next}while(A!==null&&A!==e);if(m===null?r=i:m.next=o,!ae(i,t.memoizedState)&&(Ht=!0,D&&(l=sa,l!==null)))throw l;t.memoizedState=i,t.baseState=r,t.baseQueue=m,a.lastRenderedState=i}return n===null&&(a.lanes=0),[t.memoizedState,a.dispatch]}function pc(t){var e=zt(),l=e.queue;if(l===null)throw Error(s(311));l.lastRenderedReducer=t;var a=l.dispatch,n=l.pending,i=e.memoizedState;if(n!==null){l.pending=null;var r=n=n.next;do i=t(i,r.action),r=r.next;while(r!==n);ae(i,e.memoizedState)||(Ht=!0),e.memoizedState=i,e.baseQueue===null&&(e.baseState=i),l.lastRenderedState=i}return[i,a]}function ps(t,e,l){var a=lt,n=zt(),i=rt;if(i){if(l===void 0)throw Error(s(407));l=l()}else l=e();var r=!ae((dt||n).memoizedState,l);r&&(n.memoizedState=l,Ht=!0),n=n.queue;var o=Es.bind(null,a,n,t);if(un(2048,8,o,[t]),n.getSnapshot!==e||r||Dt!==null&&Dt.memoizedState.tag&1){if(a.flags|=2048,ma(9,vu(),Ss.bind(null,a,n,l,e),null),pt===null)throw Error(s(349));i||(cl&124)!==0||bs(a,e,l)}return l}function bs(t,e,l){t.flags|=16384,t={getSnapshot:e,value:l},e=lt.updateQueue,e===null?(e=yc(),lt.updateQueue=e,e.stores=[t]):(l=e.stores,l===null?e.stores=[t]:l.push(t))}function Ss(t,e,l,a){e.value=l,e.getSnapshot=a,Ts(e)&&Rs(t)}function Es(t,e,l){return l(function(){Ts(e)&&Rs(t)})}function Ts(t){var e=t.getSnapshot;t=t.value;try{var l=e();return!ae(t,l)}catch{return!0}}function Rs(t){var e=ua(t,2);e!==null&&re(e,t,2)}function bc(t){var e=Wt();if(typeof t=="function"){var l=t;if(t=l(),Ql){tl(!0);try{l()}finally{tl(!1)}}}return e.memoizedState=e.baseState=t,e.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Xe,lastRenderedState:t},e}function As(t,e,l,a){return t.baseState=l,gc(t,dt,typeof a=="function"?a:Xe)}function oy(t,e,l,a,n){if(pu(t))throw Error(s(485));if(t=e.action,t!==null){var i={payload:n,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(r){i.listeners.push(r)}};z.T!==null?l(!0):i.isTransition=!1,a(i),l=e.pending,l===null?(i.next=e.pending=i,Os(e,i)):(i.next=l.next,e.pending=l.next=i)}}function Os(t,e){var l=e.action,a=e.payload,n=t.state;if(e.isTransition){var i=z.T,r={};z.T=r;try{var o=l(n,a),m=z.S;m!==null&&m(r,o),xs(t,e,o)}catch(A){Sc(t,e,A)}finally{z.T=i}}else try{i=l(n,a),xs(t,e,i)}catch(A){Sc(t,e,A)}}function xs(t,e,l){l!==null&&typeof l=="object"&&typeof l.then=="function"?l.then(function(a){Ms(t,e,a)},function(a){return Sc(t,e,a)}):Ms(t,e,l)}function Ms(t,e,l){e.status="fulfilled",e.value=l,_s(e),t.state=l,e=t.pending,e!==null&&(l=e.next,l===e?t.pending=null:(l=l.next,e.next=l,Os(t,l)))}function Sc(t,e,l){var a=t.pending;if(t.pending=null,a!==null){a=a.next;do e.status="rejected",e.reason=l,_s(e),e=e.next;while(e!==a)}t.action=null}function _s(t){t=t.listeners;for(var e=0;e<t.length;e++)(0,t[e])()}function Ds(t,e){return e}function zs(t,e){if(rt){var l=pt.formState;if(l!==null){t:{var a=lt;if(rt){if(Rt){e:{for(var n=Rt,i=_e;n.nodeType!==8;){if(!i){n=null;break e}if(n=Oe(n.nextSibling),n===null){n=null;break e}}i=n.data,n=i==="F!"||i==="F"?n:null}if(n){Rt=Oe(n.nextSibling),a=n.data==="F!";break t}}jl(a)}a=!1}a&&(e=l[0])}}return l=Wt(),l.memoizedState=l.baseState=e,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ds,lastRenderedState:e},l.queue=a,l=$s.bind(null,lt,a),a.dispatch=l,a=bc(!1),i=Oc.bind(null,lt,!1,a.queue),a=Wt(),n={state:e,dispatch:null,action:t,pending:null},a.queue=n,l=oy.bind(null,lt,n,i,l),n.dispatch=l,a.memoizedState=t,[e,l,!1]}function Cs(t){var e=zt();return Us(e,dt,t)}function Us(t,e,l){if(e=gc(t,e,Ds)[0],t=yu(Xe)[0],typeof e=="object"&&e!==null&&typeof e.then=="function")try{var a=nn(e)}catch(r){throw r===Pa?ru:r}else a=e;e=zt();var n=e.queue,i=n.dispatch;return l!==e.memoizedState&&(lt.flags|=2048,ma(9,vu(),hy.bind(null,n,l),null)),[a,i,t]}function hy(t,e){t.action=e}function Ns(t){var e=zt(),l=dt;if(l!==null)return Us(e,l,t);zt(),e=e.memoizedState,l=zt();var a=l.queue.dispatch;return l.memoizedState=t,[e,a,!1]}function ma(t,e,l,a){return t={tag:t,create:l,deps:a,inst:e,next:null},e=lt.updateQueue,e===null&&(e=yc(),lt.updateQueue=e),l=e.lastEffect,l===null?e.lastEffect=t.next=t:(a=l.next,l.next=t,t.next=a,e.lastEffect=t),t}function vu(){return{destroy:void 0,resource:void 0}}function qs(){return zt().memoizedState}function gu(t,e,l,a){var n=Wt();a=a===void 0?null:a,lt.flags|=t,n.memoizedState=ma(1|e,vu(),l,a)}function un(t,e,l,a){var n=zt();a=a===void 0?null:a;var i=n.memoizedState.inst;dt!==null&&a!==null&&sc(a,dt.memoizedState.deps)?n.memoizedState=ma(e,i,l,a):(lt.flags|=t,n.memoizedState=ma(1|e,i,l,a))}function Hs(t,e){gu(8390656,8,t,e)}function js(t,e){un(2048,8,t,e)}function ws(t,e){return un(4,2,t,e)}function Bs(t,e){return un(4,4,t,e)}function Ls(t,e){if(typeof e=="function"){t=t();var l=e(t);return function(){typeof l=="function"?l():e(null)}}if(e!=null)return t=t(),e.current=t,function(){e.current=null}}function Qs(t,e,l){l=l!=null?l.concat([t]):null,un(4,4,Ls.bind(null,e,t),l)}function Ec(){}function Ys(t,e){var l=zt();e=e===void 0?null:e;var a=l.memoizedState;return e!==null&&sc(e,a[1])?a[0]:(l.memoizedState=[t,e],t)}function Gs(t,e){var l=zt();e=e===void 0?null:e;var a=l.memoizedState;if(e!==null&&sc(e,a[1]))return a[0];if(a=t(),Ql){tl(!0);try{t()}finally{tl(!1)}}return l.memoizedState=[a,e],a}function Tc(t,e,l){return l===void 0||(cl&1073741824)!==0?t.memoizedState=e:(t.memoizedState=l,t=Ko(),lt.lanes|=t,ml|=t,l)}function Xs(t,e,l,a){return ae(l,e)?l:oa.current!==null?(t=Tc(t,l,a),ae(t,e)||(Ht=!0),t):(cl&42)===0?(Ht=!0,t.memoizedState=l):(t=Ko(),lt.lanes|=t,ml|=t,e)}function Zs(t,e,l,a,n){var i=Y.p;Y.p=i!==0&&8>i?i:8;var r=z.T,o={};z.T=o,Oc(t,!1,e,l);try{var m=n(),A=z.S;if(A!==null&&A(o,m),m!==null&&typeof m=="object"&&typeof m.then=="function"){var D=fy(m,a);cn(t,e,D,fe(t))}else cn(t,e,a,fe(t))}catch(U){cn(t,e,{then:function(){},status:"rejected",reason:U},fe())}finally{Y.p=i,z.T=r}}function dy(){}function Rc(t,e,l,a){if(t.tag!==5)throw Error(s(476));var n=Vs(t).queue;Zs(t,n,e,P,l===null?dy:function(){return Ks(t),l(a)})}function Vs(t){var e=t.memoizedState;if(e!==null)return e;e={memoizedState:P,baseState:P,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Xe,lastRenderedState:P},next:null};var l={};return e.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Xe,lastRenderedState:l},next:null},t.memoizedState=e,t=t.alternate,t!==null&&(t.memoizedState=e),e}function Ks(t){var e=Vs(t).next.queue;cn(t,e,{},fe())}function Ac(){return Vt(On)}function Js(){return zt().memoizedState}function ks(){return zt().memoizedState}function my(t){for(var e=t.return;e!==null;){switch(e.tag){case 24:case 3:var l=fe();t=ul(l);var a=il(e,t,l);a!==null&&(re(a,e,l),tn(a,e,l)),e={cache:tc()},t.payload=e;return}e=e.return}}function yy(t,e,l){var a=fe();l={lane:a,revertLane:0,action:l,hasEagerState:!1,eagerState:null,next:null},pu(t)?Fs(e,l):(l=Zi(t,e,l,a),l!==null&&(re(l,t,a),Ws(l,e,a)))}function $s(t,e,l){var a=fe();cn(t,e,l,a)}function cn(t,e,l,a){var n={lane:a,revertLane:0,action:l,hasEagerState:!1,eagerState:null,next:null};if(pu(t))Fs(e,n);else{var i=t.alternate;if(t.lanes===0&&(i===null||i.lanes===0)&&(i=e.lastRenderedReducer,i!==null))try{var r=e.lastRenderedState,o=i(r,l);if(n.hasEagerState=!0,n.eagerState=o,ae(o,r))return eu(t,e,n,0),pt===null&&tu(),!1}catch{}finally{}if(l=Zi(t,e,n,a),l!==null)return re(l,t,a),Ws(l,e,a),!0}return!1}function Oc(t,e,l,a){if(a={lane:2,revertLane:af(),action:a,hasEagerState:!1,eagerState:null,next:null},pu(t)){if(e)throw Error(s(479))}else e=Zi(t,l,a,2),e!==null&&re(e,t,2)}function pu(t){var e=t.alternate;return t===lt||e!==null&&e===lt}function Fs(t,e){ha=hu=!0;var l=t.pending;l===null?e.next=e:(e.next=l.next,l.next=e),t.pending=e}function Ws(t,e,l){if((l&4194048)!==0){var a=e.lanes;a&=t.pendingLanes,l|=a,e.lanes=l,ur(t,l)}}var bu={readContext:Vt,use:mu,useCallback:xt,useContext:xt,useEffect:xt,useImperativeHandle:xt,useLayoutEffect:xt,useInsertionEffect:xt,useMemo:xt,useReducer:xt,useRef:xt,useState:xt,useDebugValue:xt,useDeferredValue:xt,useTransition:xt,useSyncExternalStore:xt,useId:xt,useHostTransitionStatus:xt,useFormState:xt,useActionState:xt,useOptimistic:xt,useMemoCache:xt,useCacheRefresh:xt},Ps={readContext:Vt,use:mu,useCallback:function(t,e){return Wt().memoizedState=[t,e===void 0?null:e],t},useContext:Vt,useEffect:Hs,useImperativeHandle:function(t,e,l){l=l!=null?l.concat([t]):null,gu(4194308,4,Ls.bind(null,e,t),l)},useLayoutEffect:function(t,e){return gu(4194308,4,t,e)},useInsertionEffect:function(t,e){gu(4,2,t,e)},useMemo:function(t,e){var l=Wt();e=e===void 0?null:e;var a=t();if(Ql){tl(!0);try{t()}finally{tl(!1)}}return l.memoizedState=[a,e],a},useReducer:function(t,e,l){var a=Wt();if(l!==void 0){var n=l(e);if(Ql){tl(!0);try{l(e)}finally{tl(!1)}}}else n=e;return a.memoizedState=a.baseState=n,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:n},a.queue=t,t=t.dispatch=yy.bind(null,lt,t),[a.memoizedState,t]},useRef:function(t){var e=Wt();return t={current:t},e.memoizedState=t},useState:function(t){t=bc(t);var e=t.queue,l=$s.bind(null,lt,e);return e.dispatch=l,[t.memoizedState,l]},useDebugValue:Ec,useDeferredValue:function(t,e){var l=Wt();return Tc(l,t,e)},useTransition:function(){var t=bc(!1);return t=Zs.bind(null,lt,t.queue,!0,!1),Wt().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,e,l){var a=lt,n=Wt();if(rt){if(l===void 0)throw Error(s(407));l=l()}else{if(l=e(),pt===null)throw Error(s(349));(it&124)!==0||bs(a,e,l)}n.memoizedState=l;var i={value:l,getSnapshot:e};return n.queue=i,Hs(Es.bind(null,a,i,t),[t]),a.flags|=2048,ma(9,vu(),Ss.bind(null,a,i,l,e),null),l},useId:function(){var t=Wt(),e=pt.identifierPrefix;if(rt){var l=Qe,a=Le;l=(a&~(1<<32-le(a)-1)).toString(32)+l,e="«"+e+"R"+l,l=du++,0<l&&(e+="H"+l.toString(32)),e+="»"}else l=ry++,e="«"+e+"r"+l.toString(32)+"»";return t.memoizedState=e},useHostTransitionStatus:Ac,useFormState:zs,useActionState:zs,useOptimistic:function(t){var e=Wt();e.memoizedState=e.baseState=t;var l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return e.queue=l,e=Oc.bind(null,lt,!0,l),l.dispatch=e,[t,e]},useMemoCache:vc,useCacheRefresh:function(){return Wt().memoizedState=my.bind(null,lt)}},Is={readContext:Vt,use:mu,useCallback:Ys,useContext:Vt,useEffect:js,useImperativeHandle:Qs,useInsertionEffect:ws,useLayoutEffect:Bs,useMemo:Gs,useReducer:yu,useRef:qs,useState:function(){return yu(Xe)},useDebugValue:Ec,useDeferredValue:function(t,e){var l=zt();return Xs(l,dt.memoizedState,t,e)},useTransition:function(){var t=yu(Xe)[0],e=zt().memoizedState;return[typeof t=="boolean"?t:nn(t),e]},useSyncExternalStore:ps,useId:Js,useHostTransitionStatus:Ac,useFormState:Cs,useActionState:Cs,useOptimistic:function(t,e){var l=zt();return As(l,dt,t,e)},useMemoCache:vc,useCacheRefresh:ks},vy={readContext:Vt,use:mu,useCallback:Ys,useContext:Vt,useEffect:js,useImperativeHandle:Qs,useInsertionEffect:ws,useLayoutEffect:Bs,useMemo:Gs,useReducer:pc,useRef:qs,useState:function(){return pc(Xe)},useDebugValue:Ec,useDeferredValue:function(t,e){var l=zt();return dt===null?Tc(l,t,e):Xs(l,dt.memoizedState,t,e)},useTransition:function(){var t=pc(Xe)[0],e=zt().memoizedState;return[typeof t=="boolean"?t:nn(t),e]},useSyncExternalStore:ps,useId:Js,useHostTransitionStatus:Ac,useFormState:Ns,useActionState:Ns,useOptimistic:function(t,e){var l=zt();return dt!==null?As(l,dt,t,e):(l.baseState=t,[t,l.queue.dispatch])},useMemoCache:vc,useCacheRefresh:ks},ya=null,fn=0;function Su(t){var e=fn;return fn+=1,ya===null&&(ya=[]),ss(ya,t,e)}function rn(t,e){e=e.props.ref,t.ref=e!==void 0?e:null}function Eu(t,e){throw e.$$typeof===_?Error(s(525)):(t=Object.prototype.toString.call(e),Error(s(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)))}function to(t){var e=t._init;return e(t._payload)}function eo(t){function e(E,p){if(t){var T=E.deletions;T===null?(E.deletions=[p],E.flags|=16):T.push(p)}}function l(E,p){if(!t)return null;for(;p!==null;)e(E,p),p=p.sibling;return null}function a(E){for(var p=new Map;E!==null;)E.key!==null?p.set(E.key,E):p.set(E.index,E),E=E.sibling;return p}function n(E,p){return E=Be(E,p),E.index=0,E.sibling=null,E}function i(E,p,T){return E.index=T,t?(T=E.alternate,T!==null?(T=T.index,T<p?(E.flags|=67108866,p):T):(E.flags|=67108866,p)):(E.flags|=1048576,p)}function r(E){return t&&E.alternate===null&&(E.flags|=67108866),E}function o(E,p,T,C){return p===null||p.tag!==6?(p=Ki(T,E.mode,C),p.return=E,p):(p=n(p,T),p.return=E,p)}function m(E,p,T,C){var Z=T.type;return Z===B?D(E,p,T.props.children,C,T.key):p!==null&&(p.elementType===Z||typeof Z=="object"&&Z!==null&&Z.$$typeof===_t&&to(Z)===p.type)?(p=n(p,T.props),rn(p,T),p.return=E,p):(p=au(T.type,T.key,T.props,null,E.mode,C),rn(p,T),p.return=E,p)}function A(E,p,T,C){return p===null||p.tag!==4||p.stateNode.containerInfo!==T.containerInfo||p.stateNode.implementation!==T.implementation?(p=Ji(T,E.mode,C),p.return=E,p):(p=n(p,T.children||[]),p.return=E,p)}function D(E,p,T,C,Z){return p===null||p.tag!==7?(p=Ul(T,E.mode,C,Z),p.return=E,p):(p=n(p,T),p.return=E,p)}function U(E,p,T){if(typeof p=="string"&&p!==""||typeof p=="number"||typeof p=="bigint")return p=Ki(""+p,E.mode,T),p.return=E,p;if(typeof p=="object"&&p!==null){switch(p.$$typeof){case q:return T=au(p.type,p.key,p.props,null,E.mode,T),rn(T,p),T.return=E,T;case Q:return p=Ji(p,E.mode,T),p.return=E,p;case _t:var C=p._init;return p=C(p._payload),U(E,p,T)}if(Xt(p)||Gt(p))return p=Ul(p,E.mode,T,null),p.return=E,p;if(typeof p.then=="function")return U(E,Su(p),T);if(p.$$typeof===J)return U(E,cu(E,p),T);Eu(E,p)}return null}function O(E,p,T,C){var Z=p!==null?p.key:null;if(typeof T=="string"&&T!==""||typeof T=="number"||typeof T=="bigint")return Z!==null?null:o(E,p,""+T,C);if(typeof T=="object"&&T!==null){switch(T.$$typeof){case q:return T.key===Z?m(E,p,T,C):null;case Q:return T.key===Z?A(E,p,T,C):null;case _t:return Z=T._init,T=Z(T._payload),O(E,p,T,C)}if(Xt(T)||Gt(T))return Z!==null?null:D(E,p,T,C,null);if(typeof T.then=="function")return O(E,p,Su(T),C);if(T.$$typeof===J)return O(E,p,cu(E,T),C);Eu(E,T)}return null}function M(E,p,T,C,Z){if(typeof C=="string"&&C!==""||typeof C=="number"||typeof C=="bigint")return E=E.get(T)||null,o(p,E,""+C,Z);if(typeof C=="object"&&C!==null){switch(C.$$typeof){case q:return E=E.get(C.key===null?T:C.key)||null,m(p,E,C,Z);case Q:return E=E.get(C.key===null?T:C.key)||null,A(p,E,C,Z);case _t:var at=C._init;return C=at(C._payload),M(E,p,T,C,Z)}if(Xt(C)||Gt(C))return E=E.get(T)||null,D(p,E,C,Z,null);if(typeof C.then=="function")return M(E,p,T,Su(C),Z);if(C.$$typeof===J)return M(E,p,T,cu(p,C),Z);Eu(p,C)}return null}function I(E,p,T,C){for(var Z=null,at=null,V=p,W=p=0,wt=null;V!==null&&W<T.length;W++){V.index>W?(wt=V,V=null):wt=V.sibling;var ft=O(E,V,T[W],C);if(ft===null){V===null&&(V=wt);break}t&&V&&ft.alternate===null&&e(E,V),p=i(ft,p,W),at===null?Z=ft:at.sibling=ft,at=ft,V=wt}if(W===T.length)return l(E,V),rt&&ql(E,W),Z;if(V===null){for(;W<T.length;W++)V=U(E,T[W],C),V!==null&&(p=i(V,p,W),at===null?Z=V:at.sibling=V,at=V);return rt&&ql(E,W),Z}for(V=a(V);W<T.length;W++)wt=M(V,E,W,T[W],C),wt!==null&&(t&&wt.alternate!==null&&V.delete(wt.key===null?W:wt.key),p=i(wt,p,W),at===null?Z=wt:at.sibling=wt,at=wt);return t&&V.forEach(function(Rl){return e(E,Rl)}),rt&&ql(E,W),Z}function F(E,p,T,C){if(T==null)throw Error(s(151));for(var Z=null,at=null,V=p,W=p=0,wt=null,ft=T.next();V!==null&&!ft.done;W++,ft=T.next()){V.index>W?(wt=V,V=null):wt=V.sibling;var Rl=O(E,V,ft.value,C);if(Rl===null){V===null&&(V=wt);break}t&&V&&Rl.alternate===null&&e(E,V),p=i(Rl,p,W),at===null?Z=Rl:at.sibling=Rl,at=Rl,V=wt}if(ft.done)return l(E,V),rt&&ql(E,W),Z;if(V===null){for(;!ft.done;W++,ft=T.next())ft=U(E,ft.value,C),ft!==null&&(p=i(ft,p,W),at===null?Z=ft:at.sibling=ft,at=ft);return rt&&ql(E,W),Z}for(V=a(V);!ft.done;W++,ft=T.next())ft=M(V,E,W,ft.value,C),ft!==null&&(t&&ft.alternate!==null&&V.delete(ft.key===null?W:ft.key),p=i(ft,p,W),at===null?Z=ft:at.sibling=ft,at=ft);return t&&V.forEach(function(g0){return e(E,g0)}),rt&&ql(E,W),Z}function yt(E,p,T,C){if(typeof T=="object"&&T!==null&&T.type===B&&T.key===null&&(T=T.props.children),typeof T=="object"&&T!==null){switch(T.$$typeof){case q:t:{for(var Z=T.key;p!==null;){if(p.key===Z){if(Z=T.type,Z===B){if(p.tag===7){l(E,p.sibling),C=n(p,T.props.children),C.return=E,E=C;break t}}else if(p.elementType===Z||typeof Z=="object"&&Z!==null&&Z.$$typeof===_t&&to(Z)===p.type){l(E,p.sibling),C=n(p,T.props),rn(C,T),C.return=E,E=C;break t}l(E,p);break}else e(E,p);p=p.sibling}T.type===B?(C=Ul(T.props.children,E.mode,C,T.key),C.return=E,E=C):(C=au(T.type,T.key,T.props,null,E.mode,C),rn(C,T),C.return=E,E=C)}return r(E);case Q:t:{for(Z=T.key;p!==null;){if(p.key===Z)if(p.tag===4&&p.stateNode.containerInfo===T.containerInfo&&p.stateNode.implementation===T.implementation){l(E,p.sibling),C=n(p,T.children||[]),C.return=E,E=C;break t}else{l(E,p);break}else e(E,p);p=p.sibling}C=Ji(T,E.mode,C),C.return=E,E=C}return r(E);case _t:return Z=T._init,T=Z(T._payload),yt(E,p,T,C)}if(Xt(T))return I(E,p,T,C);if(Gt(T)){if(Z=Gt(T),typeof Z!="function")throw Error(s(150));return T=Z.call(T),F(E,p,T,C)}if(typeof T.then=="function")return yt(E,p,Su(T),C);if(T.$$typeof===J)return yt(E,p,cu(E,T),C);Eu(E,T)}return typeof T=="string"&&T!==""||typeof T=="number"||typeof T=="bigint"?(T=""+T,p!==null&&p.tag===6?(l(E,p.sibling),C=n(p,T),C.return=E,E=C):(l(E,p),C=Ki(T,E.mode,C),C.return=E,E=C),r(E)):l(E,p)}return function(E,p,T,C){try{fn=0;var Z=yt(E,p,T,C);return ya=null,Z}catch(V){if(V===Pa||V===ru)throw V;var at=ne(29,V,null,E.mode);return at.lanes=C,at.return=E,at}finally{}}}var va=eo(!0),lo=eo(!1),pe=N(null),De=null;function fl(t){var e=t.alternate;L(Nt,Nt.current&1),L(pe,t),De===null&&(e===null||oa.current!==null||e.memoizedState!==null)&&(De=t)}function ao(t){if(t.tag===22){if(L(Nt,Nt.current),L(pe,t),De===null){var e=t.alternate;e!==null&&e.memoizedState!==null&&(De=t)}}else rl()}function rl(){L(Nt,Nt.current),L(pe,pe.current)}function Ze(t){X(pe),De===t&&(De=null),X(Nt)}var Nt=N(0);function Tu(t){for(var e=t;e!==null;){if(e.tag===13){var l=e.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||l.data==="$?"||vf(l)))return e}else if(e.tag===19&&e.memoizedProps.revealOrder!==void 0){if((e.flags&128)!==0)return e}else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}function xc(t,e,l,a){e=t.memoizedState,l=l(a,e),l=l==null?e:R({},e,l),t.memoizedState=l,t.lanes===0&&(t.updateQueue.baseState=l)}var Mc={enqueueSetState:function(t,e,l){t=t._reactInternals;var a=fe(),n=ul(a);n.payload=e,l!=null&&(n.callback=l),e=il(t,n,a),e!==null&&(re(e,t,a),tn(e,t,a))},enqueueReplaceState:function(t,e,l){t=t._reactInternals;var a=fe(),n=ul(a);n.tag=1,n.payload=e,l!=null&&(n.callback=l),e=il(t,n,a),e!==null&&(re(e,t,a),tn(e,t,a))},enqueueForceUpdate:function(t,e){t=t._reactInternals;var l=fe(),a=ul(l);a.tag=2,e!=null&&(a.callback=e),e=il(t,a,l),e!==null&&(re(e,t,l),tn(e,t,l))}};function no(t,e,l,a,n,i,r){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(a,i,r):e.prototype&&e.prototype.isPureReactComponent?!Za(l,a)||!Za(n,i):!0}function uo(t,e,l,a){t=e.state,typeof e.componentWillReceiveProps=="function"&&e.componentWillReceiveProps(l,a),typeof e.UNSAFE_componentWillReceiveProps=="function"&&e.UNSAFE_componentWillReceiveProps(l,a),e.state!==t&&Mc.enqueueReplaceState(e,e.state,null)}function Yl(t,e){var l=e;if("ref"in e){l={};for(var a in e)a!=="ref"&&(l[a]=e[a])}if(t=t.defaultProps){l===e&&(l=R({},l));for(var n in t)l[n]===void 0&&(l[n]=t[n])}return l}var Ru=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var e=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(e))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)};function io(t){Ru(t)}function co(t){console.error(t)}function fo(t){Ru(t)}function Au(t,e){try{var l=t.onUncaughtError;l(e.value,{componentStack:e.stack})}catch(a){setTimeout(function(){throw a})}}function ro(t,e,l){try{var a=t.onCaughtError;a(l.value,{componentStack:l.stack,errorBoundary:e.tag===1?e.stateNode:null})}catch(n){setTimeout(function(){throw n})}}function _c(t,e,l){return l=ul(l),l.tag=3,l.payload={element:null},l.callback=function(){Au(t,e)},l}function so(t){return t=ul(t),t.tag=3,t}function oo(t,e,l,a){var n=l.type.getDerivedStateFromError;if(typeof n=="function"){var i=a.value;t.payload=function(){return n(i)},t.callback=function(){ro(e,l,a)}}var r=l.stateNode;r!==null&&typeof r.componentDidCatch=="function"&&(t.callback=function(){ro(e,l,a),typeof n!="function"&&(yl===null?yl=new Set([this]):yl.add(this));var o=a.stack;this.componentDidCatch(a.value,{componentStack:o!==null?o:""})})}function gy(t,e,l,a,n){if(l.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){if(e=l.alternate,e!==null&&$a(e,l,n,!0),l=pe.current,l!==null){switch(l.tag){case 13:return De===null?Pc():l.alternate===null&&At===0&&(At=3),l.flags&=-257,l.flags|=65536,l.lanes=n,a===ac?l.flags|=16384:(e=l.updateQueue,e===null?l.updateQueue=new Set([a]):e.add(a),tf(t,a,n)),!1;case 22:return l.flags|=65536,a===ac?l.flags|=16384:(e=l.updateQueue,e===null?(e={transitions:null,markerInstances:null,retryQueue:new Set([a])},l.updateQueue=e):(l=e.retryQueue,l===null?e.retryQueue=new Set([a]):l.add(a)),tf(t,a,n)),!1}throw Error(s(435,l.tag))}return tf(t,a,n),Pc(),!1}if(rt)return e=pe.current,e!==null?((e.flags&65536)===0&&(e.flags|=256),e.flags|=65536,e.lanes=n,a!==Fi&&(t=Error(s(422),{cause:a}),ka(me(t,l)))):(a!==Fi&&(e=Error(s(423),{cause:a}),ka(me(e,l))),t=t.current.alternate,t.flags|=65536,n&=-n,t.lanes|=n,a=me(a,l),n=_c(t.stateNode,a,n),ic(t,n),At!==4&&(At=2)),!1;var i=Error(s(520),{cause:a});if(i=me(i,l),vn===null?vn=[i]:vn.push(i),At!==4&&(At=2),e===null)return!0;a=me(a,l),l=e;do{switch(l.tag){case 3:return l.flags|=65536,t=n&-n,l.lanes|=t,t=_c(l.stateNode,a,t),ic(l,t),!1;case 1:if(e=l.type,i=l.stateNode,(l.flags&128)===0&&(typeof e.getDerivedStateFromError=="function"||i!==null&&typeof i.componentDidCatch=="function"&&(yl===null||!yl.has(i))))return l.flags|=65536,n&=-n,l.lanes|=n,n=so(n),oo(n,t,l,a),ic(l,n),!1}l=l.return}while(l!==null);return!1}var ho=Error(s(461)),Ht=!1;function Lt(t,e,l,a){e.child=t===null?lo(e,null,l,a):va(e,t.child,l,a)}function mo(t,e,l,a,n){l=l.render;var i=e.ref;if("ref"in a){var r={};for(var o in a)o!=="ref"&&(r[o]=a[o])}else r=a;return Bl(e),a=oc(t,e,l,r,i,n),o=hc(),t!==null&&!Ht?(dc(t,e,n),Ve(t,e,n)):(rt&&o&&ki(e),e.flags|=1,Lt(t,e,a,n),e.child)}function yo(t,e,l,a,n){if(t===null){var i=l.type;return typeof i=="function"&&!Vi(i)&&i.defaultProps===void 0&&l.compare===null?(e.tag=15,e.type=i,vo(t,e,i,a,n)):(t=au(l.type,null,a,e,e.mode,n),t.ref=e.ref,t.return=e,e.child=t)}if(i=t.child,!jc(t,n)){var r=i.memoizedProps;if(l=l.compare,l=l!==null?l:Za,l(r,a)&&t.ref===e.ref)return Ve(t,e,n)}return e.flags|=1,t=Be(i,a),t.ref=e.ref,t.return=e,e.child=t}function vo(t,e,l,a,n){if(t!==null){var i=t.memoizedProps;if(Za(i,a)&&t.ref===e.ref)if(Ht=!1,e.pendingProps=a=i,jc(t,n))(t.flags&131072)!==0&&(Ht=!0);else return e.lanes=t.lanes,Ve(t,e,n)}return Dc(t,e,l,a,n)}function go(t,e,l){var a=e.pendingProps,n=a.children,i=t!==null?t.memoizedState:null;if(a.mode==="hidden"){if((e.flags&128)!==0){if(a=i!==null?i.baseLanes|l:l,t!==null){for(n=e.child=t.child,i=0;n!==null;)i=i|n.lanes|n.childLanes,n=n.sibling;e.childLanes=i&~a}else e.childLanes=0,e.child=null;return po(t,e,a,l)}if((l&536870912)!==0)e.memoizedState={baseLanes:0,cachePool:null},t!==null&&fu(e,i!==null?i.cachePool:null),i!==null?ys(e,i):fc(),ao(e);else return e.lanes=e.childLanes=536870912,po(t,e,i!==null?i.baseLanes|l:l,l)}else i!==null?(fu(e,i.cachePool),ys(e,i),rl(),e.memoizedState=null):(t!==null&&fu(e,null),fc(),rl());return Lt(t,e,n,l),e.child}function po(t,e,l,a){var n=lc();return n=n===null?null:{parent:Ut._currentValue,pool:n},e.memoizedState={baseLanes:l,cachePool:n},t!==null&&fu(e,null),fc(),ao(e),t!==null&&$a(t,e,a,!0),null}function Ou(t,e){var l=e.ref;if(l===null)t!==null&&t.ref!==null&&(e.flags|=4194816);else{if(typeof l!="function"&&typeof l!="object")throw Error(s(284));(t===null||t.ref!==l)&&(e.flags|=4194816)}}function Dc(t,e,l,a,n){return Bl(e),l=oc(t,e,l,a,void 0,n),a=hc(),t!==null&&!Ht?(dc(t,e,n),Ve(t,e,n)):(rt&&a&&ki(e),e.flags|=1,Lt(t,e,l,n),e.child)}function bo(t,e,l,a,n,i){return Bl(e),e.updateQueue=null,l=gs(e,a,l,n),vs(t),a=hc(),t!==null&&!Ht?(dc(t,e,i),Ve(t,e,i)):(rt&&a&&ki(e),e.flags|=1,Lt(t,e,l,i),e.child)}function So(t,e,l,a,n){if(Bl(e),e.stateNode===null){var i=ia,r=l.contextType;typeof r=="object"&&r!==null&&(i=Vt(r)),i=new l(a,i),e.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,i.updater=Mc,e.stateNode=i,i._reactInternals=e,i=e.stateNode,i.props=a,i.state=e.memoizedState,i.refs={},nc(e),r=l.contextType,i.context=typeof r=="object"&&r!==null?Vt(r):ia,i.state=e.memoizedState,r=l.getDerivedStateFromProps,typeof r=="function"&&(xc(e,l,r,a),i.state=e.memoizedState),typeof l.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(r=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),r!==i.state&&Mc.enqueueReplaceState(i,i.state,null),ln(e,a,i,n),en(),i.state=e.memoizedState),typeof i.componentDidMount=="function"&&(e.flags|=4194308),a=!0}else if(t===null){i=e.stateNode;var o=e.memoizedProps,m=Yl(l,o);i.props=m;var A=i.context,D=l.contextType;r=ia,typeof D=="object"&&D!==null&&(r=Vt(D));var U=l.getDerivedStateFromProps;D=typeof U=="function"||typeof i.getSnapshotBeforeUpdate=="function",o=e.pendingProps!==o,D||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(o||A!==r)&&uo(e,i,a,r),nl=!1;var O=e.memoizedState;i.state=O,ln(e,a,i,n),en(),A=e.memoizedState,o||O!==A||nl?(typeof U=="function"&&(xc(e,l,U,a),A=e.memoizedState),(m=nl||no(e,l,m,a,O,A,r))?(D||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount()),typeof i.componentDidMount=="function"&&(e.flags|=4194308)):(typeof i.componentDidMount=="function"&&(e.flags|=4194308),e.memoizedProps=a,e.memoizedState=A),i.props=a,i.state=A,i.context=r,a=m):(typeof i.componentDidMount=="function"&&(e.flags|=4194308),a=!1)}else{i=e.stateNode,uc(t,e),r=e.memoizedProps,D=Yl(l,r),i.props=D,U=e.pendingProps,O=i.context,A=l.contextType,m=ia,typeof A=="object"&&A!==null&&(m=Vt(A)),o=l.getDerivedStateFromProps,(A=typeof o=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(r!==U||O!==m)&&uo(e,i,a,m),nl=!1,O=e.memoizedState,i.state=O,ln(e,a,i,n),en();var M=e.memoizedState;r!==U||O!==M||nl||t!==null&&t.dependencies!==null&&iu(t.dependencies)?(typeof o=="function"&&(xc(e,l,o,a),M=e.memoizedState),(D=nl||no(e,l,D,a,O,M,m)||t!==null&&t.dependencies!==null&&iu(t.dependencies))?(A||typeof i.UNSAFE_componentWillUpdate!="function"&&typeof i.componentWillUpdate!="function"||(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(a,M,m),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(a,M,m)),typeof i.componentDidUpdate=="function"&&(e.flags|=4),typeof i.getSnapshotBeforeUpdate=="function"&&(e.flags|=1024)):(typeof i.componentDidUpdate!="function"||r===t.memoizedProps&&O===t.memoizedState||(e.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||r===t.memoizedProps&&O===t.memoizedState||(e.flags|=1024),e.memoizedProps=a,e.memoizedState=M),i.props=a,i.state=M,i.context=m,a=D):(typeof i.componentDidUpdate!="function"||r===t.memoizedProps&&O===t.memoizedState||(e.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||r===t.memoizedProps&&O===t.memoizedState||(e.flags|=1024),a=!1)}return i=a,Ou(t,e),a=(e.flags&128)!==0,i||a?(i=e.stateNode,l=a&&typeof l.getDerivedStateFromError!="function"?null:i.render(),e.flags|=1,t!==null&&a?(e.child=va(e,t.child,null,n),e.child=va(e,null,l,n)):Lt(t,e,l,n),e.memoizedState=i.state,t=e.child):t=Ve(t,e,n),t}function Eo(t,e,l,a){return Ja(),e.flags|=256,Lt(t,e,l,a),e.child}var zc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Cc(t){return{baseLanes:t,cachePool:cs()}}function Uc(t,e,l){return t=t!==null?t.childLanes&~l:0,e&&(t|=be),t}function To(t,e,l){var a=e.pendingProps,n=!1,i=(e.flags&128)!==0,r;if((r=i)||(r=t!==null&&t.memoizedState===null?!1:(Nt.current&2)!==0),r&&(n=!0,e.flags&=-129),r=(e.flags&32)!==0,e.flags&=-33,t===null){if(rt){if(n?fl(e):rl(),rt){var o=Rt,m;if(m=o){t:{for(m=o,o=_e;m.nodeType!==8;){if(!o){o=null;break t}if(m=Oe(m.nextSibling),m===null){o=null;break t}}o=m}o!==null?(e.memoizedState={dehydrated:o,treeContext:Nl!==null?{id:Le,overflow:Qe}:null,retryLane:536870912,hydrationErrors:null},m=ne(18,null,null,0),m.stateNode=o,m.return=e,e.child=m,Jt=e,Rt=null,m=!0):m=!1}m||jl(e)}if(o=e.memoizedState,o!==null&&(o=o.dehydrated,o!==null))return vf(o)?e.lanes=32:e.lanes=536870912,null;Ze(e)}return o=a.children,a=a.fallback,n?(rl(),n=e.mode,o=xu({mode:"hidden",children:o},n),a=Ul(a,n,l,null),o.return=e,a.return=e,o.sibling=a,e.child=o,n=e.child,n.memoizedState=Cc(l),n.childLanes=Uc(t,r,l),e.memoizedState=zc,a):(fl(e),Nc(e,o))}if(m=t.memoizedState,m!==null&&(o=m.dehydrated,o!==null)){if(i)e.flags&256?(fl(e),e.flags&=-257,e=qc(t,e,l)):e.memoizedState!==null?(rl(),e.child=t.child,e.flags|=128,e=null):(rl(),n=a.fallback,o=e.mode,a=xu({mode:"visible",children:a.children},o),n=Ul(n,o,l,null),n.flags|=2,a.return=e,n.return=e,a.sibling=n,e.child=a,va(e,t.child,null,l),a=e.child,a.memoizedState=Cc(l),a.childLanes=Uc(t,r,l),e.memoizedState=zc,e=n);else if(fl(e),vf(o)){if(r=o.nextSibling&&o.nextSibling.dataset,r)var A=r.dgst;r=A,a=Error(s(419)),a.stack="",a.digest=r,ka({value:a,source:null,stack:null}),e=qc(t,e,l)}else if(Ht||$a(t,e,l,!1),r=(l&t.childLanes)!==0,Ht||r){if(r=pt,r!==null&&(a=l&-l,a=(a&42)!==0?1:vi(a),a=(a&(r.suspendedLanes|l))!==0?0:a,a!==0&&a!==m.retryLane))throw m.retryLane=a,ua(t,a),re(r,t,a),ho;o.data==="$?"||Pc(),e=qc(t,e,l)}else o.data==="$?"?(e.flags|=192,e.child=t.child,e=null):(t=m.treeContext,Rt=Oe(o.nextSibling),Jt=e,rt=!0,Hl=null,_e=!1,t!==null&&(ve[ge++]=Le,ve[ge++]=Qe,ve[ge++]=Nl,Le=t.id,Qe=t.overflow,Nl=e),e=Nc(e,a.children),e.flags|=4096);return e}return n?(rl(),n=a.fallback,o=e.mode,m=t.child,A=m.sibling,a=Be(m,{mode:"hidden",children:a.children}),a.subtreeFlags=m.subtreeFlags&65011712,A!==null?n=Be(A,n):(n=Ul(n,o,l,null),n.flags|=2),n.return=e,a.return=e,a.sibling=n,e.child=a,a=n,n=e.child,o=t.child.memoizedState,o===null?o=Cc(l):(m=o.cachePool,m!==null?(A=Ut._currentValue,m=m.parent!==A?{parent:A,pool:A}:m):m=cs(),o={baseLanes:o.baseLanes|l,cachePool:m}),n.memoizedState=o,n.childLanes=Uc(t,r,l),e.memoizedState=zc,a):(fl(e),l=t.child,t=l.sibling,l=Be(l,{mode:"visible",children:a.children}),l.return=e,l.sibling=null,t!==null&&(r=e.deletions,r===null?(e.deletions=[t],e.flags|=16):r.push(t)),e.child=l,e.memoizedState=null,l)}function Nc(t,e){return e=xu({mode:"visible",children:e},t.mode),e.return=t,t.child=e}function xu(t,e){return t=ne(22,t,null,e),t.lanes=0,t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},t}function qc(t,e,l){return va(e,t.child,null,l),t=Nc(e,e.pendingProps.children),t.flags|=2,e.memoizedState=null,t}function Ro(t,e,l){t.lanes|=e;var a=t.alternate;a!==null&&(a.lanes|=e),Pi(t.return,e,l)}function Hc(t,e,l,a,n){var i=t.memoizedState;i===null?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:a,tail:l,tailMode:n}:(i.isBackwards=e,i.rendering=null,i.renderingStartTime=0,i.last=a,i.tail=l,i.tailMode=n)}function Ao(t,e,l){var a=e.pendingProps,n=a.revealOrder,i=a.tail;if(Lt(t,e,a.children,l),a=Nt.current,(a&2)!==0)a=a&1|2,e.flags|=128;else{if(t!==null&&(t.flags&128)!==0)t:for(t=e.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&Ro(t,l,e);else if(t.tag===19)Ro(t,l,e);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break t;for(;t.sibling===null;){if(t.return===null||t.return===e)break t;t=t.return}t.sibling.return=t.return,t=t.sibling}a&=1}switch(L(Nt,a),n){case"forwards":for(l=e.child,n=null;l!==null;)t=l.alternate,t!==null&&Tu(t)===null&&(n=l),l=l.sibling;l=n,l===null?(n=e.child,e.child=null):(n=l.sibling,l.sibling=null),Hc(e,!1,n,l,i);break;case"backwards":for(l=null,n=e.child,e.child=null;n!==null;){if(t=n.alternate,t!==null&&Tu(t)===null){e.child=n;break}t=n.sibling,n.sibling=l,l=n,n=t}Hc(e,!0,l,null,i);break;case"together":Hc(e,!1,null,null,void 0);break;default:e.memoizedState=null}return e.child}function Ve(t,e,l){if(t!==null&&(e.dependencies=t.dependencies),ml|=e.lanes,(l&e.childLanes)===0)if(t!==null){if($a(t,e,l,!1),(l&e.childLanes)===0)return null}else return null;if(t!==null&&e.child!==t.child)throw Error(s(153));if(e.child!==null){for(t=e.child,l=Be(t,t.pendingProps),e.child=l,l.return=e;t.sibling!==null;)t=t.sibling,l=l.sibling=Be(t,t.pendingProps),l.return=e;l.sibling=null}return e.child}function jc(t,e){return(t.lanes&e)!==0?!0:(t=t.dependencies,!!(t!==null&&iu(t)))}function py(t,e,l){switch(e.tag){case 3:St(e,e.stateNode.containerInfo),al(e,Ut,t.memoizedState.cache),Ja();break;case 27:case 5:oi(e);break;case 4:St(e,e.stateNode.containerInfo);break;case 10:al(e,e.type,e.memoizedProps.value);break;case 13:var a=e.memoizedState;if(a!==null)return a.dehydrated!==null?(fl(e),e.flags|=128,null):(l&e.child.childLanes)!==0?To(t,e,l):(fl(e),t=Ve(t,e,l),t!==null?t.sibling:null);fl(e);break;case 19:var n=(t.flags&128)!==0;if(a=(l&e.childLanes)!==0,a||($a(t,e,l,!1),a=(l&e.childLanes)!==0),n){if(a)return Ao(t,e,l);e.flags|=128}if(n=e.memoizedState,n!==null&&(n.rendering=null,n.tail=null,n.lastEffect=null),L(Nt,Nt.current),a)break;return null;case 22:case 23:return e.lanes=0,go(t,e,l);case 24:al(e,Ut,t.memoizedState.cache)}return Ve(t,e,l)}function Oo(t,e,l){if(t!==null)if(t.memoizedProps!==e.pendingProps)Ht=!0;else{if(!jc(t,l)&&(e.flags&128)===0)return Ht=!1,py(t,e,l);Ht=(t.flags&131072)!==0}else Ht=!1,rt&&(e.flags&1048576)!==0&&ts(e,uu,e.index);switch(e.lanes=0,e.tag){case 16:t:{t=e.pendingProps;var a=e.elementType,n=a._init;if(a=n(a._payload),e.type=a,typeof a=="function")Vi(a)?(t=Yl(a,t),e.tag=1,e=So(null,e,a,t,l)):(e.tag=0,e=Dc(null,e,a,t,l));else{if(a!=null){if(n=a.$$typeof,n===st){e.tag=11,e=mo(null,e,a,t,l);break t}else if(n===Ot){e.tag=14,e=yo(null,e,a,t,l);break t}}throw e=xl(a)||a,Error(s(306,e,""))}}return e;case 0:return Dc(t,e,e.type,e.pendingProps,l);case 1:return a=e.type,n=Yl(a,e.pendingProps),So(t,e,a,n,l);case 3:t:{if(St(e,e.stateNode.containerInfo),t===null)throw Error(s(387));a=e.pendingProps;var i=e.memoizedState;n=i.element,uc(t,e),ln(e,a,null,l);var r=e.memoizedState;if(a=r.cache,al(e,Ut,a),a!==i.cache&&Ii(e,[Ut],l,!0),en(),a=r.element,i.isDehydrated)if(i={element:a,isDehydrated:!1,cache:r.cache},e.updateQueue.baseState=i,e.memoizedState=i,e.flags&256){e=Eo(t,e,a,l);break t}else if(a!==n){n=me(Error(s(424)),e),ka(n),e=Eo(t,e,a,l);break t}else{switch(t=e.stateNode.containerInfo,t.nodeType){case 9:t=t.body;break;default:t=t.nodeName==="HTML"?t.ownerDocument.body:t}for(Rt=Oe(t.firstChild),Jt=e,rt=!0,Hl=null,_e=!0,l=lo(e,null,a,l),e.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling}else{if(Ja(),a===n){e=Ve(t,e,l);break t}Lt(t,e,a,l)}e=e.child}return e;case 26:return Ou(t,e),t===null?(l=Dh(e.type,null,e.pendingProps,null))?e.memoizedState=l:rt||(l=e.type,t=e.pendingProps,a=Qu(tt.current).createElement(l),a[Zt]=e,a[$t]=t,Yt(a,l,t),qt(a),e.stateNode=a):e.memoizedState=Dh(e.type,t.memoizedProps,e.pendingProps,t.memoizedState),null;case 27:return oi(e),t===null&&rt&&(a=e.stateNode=xh(e.type,e.pendingProps,tt.current),Jt=e,_e=!0,n=Rt,pl(e.type)?(gf=n,Rt=Oe(a.firstChild)):Rt=n),Lt(t,e,e.pendingProps.children,l),Ou(t,e),t===null&&(e.flags|=4194304),e.child;case 5:return t===null&&rt&&((n=a=Rt)&&(a=Ky(a,e.type,e.pendingProps,_e),a!==null?(e.stateNode=a,Jt=e,Rt=Oe(a.firstChild),_e=!1,n=!0):n=!1),n||jl(e)),oi(e),n=e.type,i=e.pendingProps,r=t!==null?t.memoizedProps:null,a=i.children,df(n,i)?a=null:r!==null&&df(n,r)&&(e.flags|=32),e.memoizedState!==null&&(n=oc(t,e,sy,null,null,l),On._currentValue=n),Ou(t,e),Lt(t,e,a,l),e.child;case 6:return t===null&&rt&&((t=l=Rt)&&(l=Jy(l,e.pendingProps,_e),l!==null?(e.stateNode=l,Jt=e,Rt=null,t=!0):t=!1),t||jl(e)),null;case 13:return To(t,e,l);case 4:return St(e,e.stateNode.containerInfo),a=e.pendingProps,t===null?e.child=va(e,null,a,l):Lt(t,e,a,l),e.child;case 11:return mo(t,e,e.type,e.pendingProps,l);case 7:return Lt(t,e,e.pendingProps,l),e.child;case 8:return Lt(t,e,e.pendingProps.children,l),e.child;case 12:return Lt(t,e,e.pendingProps.children,l),e.child;case 10:return a=e.pendingProps,al(e,e.type,a.value),Lt(t,e,a.children,l),e.child;case 9:return n=e.type._context,a=e.pendingProps.children,Bl(e),n=Vt(n),a=a(n),e.flags|=1,Lt(t,e,a,l),e.child;case 14:return yo(t,e,e.type,e.pendingProps,l);case 15:return vo(t,e,e.type,e.pendingProps,l);case 19:return Ao(t,e,l);case 31:return a=e.pendingProps,l=e.mode,a={mode:a.mode,children:a.children},t===null?(l=xu(a,l),l.ref=e.ref,e.child=l,l.return=e,e=l):(l=Be(t.child,a),l.ref=e.ref,e.child=l,l.return=e,e=l),e;case 22:return go(t,e,l);case 24:return Bl(e),a=Vt(Ut),t===null?(n=lc(),n===null&&(n=pt,i=tc(),n.pooledCache=i,i.refCount++,i!==null&&(n.pooledCacheLanes|=l),n=i),e.memoizedState={parent:a,cache:n},nc(e),al(e,Ut,n)):((t.lanes&l)!==0&&(uc(t,e),ln(e,null,null,l),en()),n=t.memoizedState,i=e.memoizedState,n.parent!==a?(n={parent:a,cache:a},e.memoizedState=n,e.lanes===0&&(e.memoizedState=e.updateQueue.baseState=n),al(e,Ut,a)):(a=i.cache,al(e,Ut,a),a!==n.cache&&Ii(e,[Ut],l,!0))),Lt(t,e,e.pendingProps.children,l),e.child;case 29:throw e.pendingProps}throw Error(s(156,e.tag))}function Ke(t){t.flags|=4}function xo(t,e){if(e.type!=="stylesheet"||(e.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!qh(e)){if(e=pe.current,e!==null&&((it&4194048)===it?De!==null:(it&62914560)!==it&&(it&536870912)===0||e!==De))throw Ia=ac,fs;t.flags|=8192}}function Mu(t,e){e!==null&&(t.flags|=4),t.flags&16384&&(e=t.tag!==22?ar():536870912,t.lanes|=e,Sa|=e)}function sn(t,e){if(!rt)switch(t.tailMode){case"hidden":e=t.tail;for(var l=null;e!==null;)e.alternate!==null&&(l=e),e=e.sibling;l===null?t.tail=null:l.sibling=null;break;case"collapsed":l=t.tail;for(var a=null;l!==null;)l.alternate!==null&&(a=l),l=l.sibling;a===null?e||t.tail===null?t.tail=null:t.tail.sibling=null:a.sibling=null}}function Tt(t){var e=t.alternate!==null&&t.alternate.child===t.child,l=0,a=0;if(e)for(var n=t.child;n!==null;)l|=n.lanes|n.childLanes,a|=n.subtreeFlags&65011712,a|=n.flags&65011712,n.return=t,n=n.sibling;else for(n=t.child;n!==null;)l|=n.lanes|n.childLanes,a|=n.subtreeFlags,a|=n.flags,n.return=t,n=n.sibling;return t.subtreeFlags|=a,t.childLanes=l,e}function by(t,e,l){var a=e.pendingProps;switch($i(e),e.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Tt(e),null;case 1:return Tt(e),null;case 3:return l=e.stateNode,a=null,t!==null&&(a=t.memoizedState.cache),e.memoizedState.cache!==a&&(e.flags|=2048),Ge(Ut),Ie(),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),(t===null||t.child===null)&&(Ka(e)?Ke(e):t===null||t.memoizedState.isDehydrated&&(e.flags&256)===0||(e.flags|=1024,as())),Tt(e),null;case 26:return l=e.memoizedState,t===null?(Ke(e),l!==null?(Tt(e),xo(e,l)):(Tt(e),e.flags&=-16777217)):l?l!==t.memoizedState?(Ke(e),Tt(e),xo(e,l)):(Tt(e),e.flags&=-16777217):(t.memoizedProps!==a&&Ke(e),Tt(e),e.flags&=-16777217),null;case 27:Bn(e),l=tt.current;var n=e.type;if(t!==null&&e.stateNode!=null)t.memoizedProps!==a&&Ke(e);else{if(!a){if(e.stateNode===null)throw Error(s(166));return Tt(e),null}t=$.current,Ka(e)?es(e):(t=xh(n,a,l),e.stateNode=t,Ke(e))}return Tt(e),null;case 5:if(Bn(e),l=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==a&&Ke(e);else{if(!a){if(e.stateNode===null)throw Error(s(166));return Tt(e),null}if(t=$.current,Ka(e))es(e);else{switch(n=Qu(tt.current),t){case 1:t=n.createElementNS("http://www.w3.org/2000/svg",l);break;case 2:t=n.createElementNS("http://www.w3.org/1998/Math/MathML",l);break;default:switch(l){case"svg":t=n.createElementNS("http://www.w3.org/2000/svg",l);break;case"math":t=n.createElementNS("http://www.w3.org/1998/Math/MathML",l);break;case"script":t=n.createElement("div"),t.innerHTML="<script><\/script>",t=t.removeChild(t.firstChild);break;case"select":t=typeof a.is=="string"?n.createElement("select",{is:a.is}):n.createElement("select"),a.multiple?t.multiple=!0:a.size&&(t.size=a.size);break;default:t=typeof a.is=="string"?n.createElement(l,{is:a.is}):n.createElement(l)}}t[Zt]=e,t[$t]=a;t:for(n=e.child;n!==null;){if(n.tag===5||n.tag===6)t.appendChild(n.stateNode);else if(n.tag!==4&&n.tag!==27&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)break t;for(;n.sibling===null;){if(n.return===null||n.return===e)break t;n=n.return}n.sibling.return=n.return,n=n.sibling}e.stateNode=t;t:switch(Yt(t,l,a),l){case"button":case"input":case"select":case"textarea":t=!!a.autoFocus;break t;case"img":t=!0;break t;default:t=!1}t&&Ke(e)}}return Tt(e),e.flags&=-16777217,null;case 6:if(t&&e.stateNode!=null)t.memoizedProps!==a&&Ke(e);else{if(typeof a!="string"&&e.stateNode===null)throw Error(s(166));if(t=tt.current,Ka(e)){if(t=e.stateNode,l=e.memoizedProps,a=null,n=Jt,n!==null)switch(n.tag){case 27:case 5:a=n.memoizedProps}t[Zt]=e,t=!!(t.nodeValue===l||a!==null&&a.suppressHydrationWarning===!0||bh(t.nodeValue,l)),t||jl(e)}else t=Qu(t).createTextNode(a),t[Zt]=e,e.stateNode=t}return Tt(e),null;case 13:if(a=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(n=Ka(e),a!==null&&a.dehydrated!==null){if(t===null){if(!n)throw Error(s(318));if(n=e.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(s(317));n[Zt]=e}else Ja(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;Tt(e),n=!1}else n=as(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=n),n=!0;if(!n)return e.flags&256?(Ze(e),e):(Ze(e),null)}if(Ze(e),(e.flags&128)!==0)return e.lanes=l,e;if(l=a!==null,t=t!==null&&t.memoizedState!==null,l){a=e.child,n=null,a.alternate!==null&&a.alternate.memoizedState!==null&&a.alternate.memoizedState.cachePool!==null&&(n=a.alternate.memoizedState.cachePool.pool);var i=null;a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(i=a.memoizedState.cachePool.pool),i!==n&&(a.flags|=2048)}return l!==t&&l&&(e.child.flags|=8192),Mu(e,e.updateQueue),Tt(e),null;case 4:return Ie(),t===null&&ff(e.stateNode.containerInfo),Tt(e),null;case 10:return Ge(e.type),Tt(e),null;case 19:if(X(Nt),n=e.memoizedState,n===null)return Tt(e),null;if(a=(e.flags&128)!==0,i=n.rendering,i===null)if(a)sn(n,!1);else{if(At!==0||t!==null&&(t.flags&128)!==0)for(t=e.child;t!==null;){if(i=Tu(t),i!==null){for(e.flags|=128,sn(n,!1),t=i.updateQueue,e.updateQueue=t,Mu(e,t),e.subtreeFlags=0,t=l,l=e.child;l!==null;)Ir(l,t),l=l.sibling;return L(Nt,Nt.current&1|2),e.child}t=t.sibling}n.tail!==null&&Me()>zu&&(e.flags|=128,a=!0,sn(n,!1),e.lanes=4194304)}else{if(!a)if(t=Tu(i),t!==null){if(e.flags|=128,a=!0,t=t.updateQueue,e.updateQueue=t,Mu(e,t),sn(n,!0),n.tail===null&&n.tailMode==="hidden"&&!i.alternate&&!rt)return Tt(e),null}else 2*Me()-n.renderingStartTime>zu&&l!==536870912&&(e.flags|=128,a=!0,sn(n,!1),e.lanes=4194304);n.isBackwards?(i.sibling=e.child,e.child=i):(t=n.last,t!==null?t.sibling=i:e.child=i,n.last=i)}return n.tail!==null?(e=n.tail,n.rendering=e,n.tail=e.sibling,n.renderingStartTime=Me(),e.sibling=null,t=Nt.current,L(Nt,a?t&1|2:t&1),e):(Tt(e),null);case 22:case 23:return Ze(e),rc(),a=e.memoizedState!==null,t!==null?t.memoizedState!==null!==a&&(e.flags|=8192):a&&(e.flags|=8192),a?(l&536870912)!==0&&(e.flags&128)===0&&(Tt(e),e.subtreeFlags&6&&(e.flags|=8192)):Tt(e),l=e.updateQueue,l!==null&&Mu(e,l.retryQueue),l=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(l=t.memoizedState.cachePool.pool),a=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),a!==l&&(e.flags|=2048),t!==null&&X(Ll),null;case 24:return l=null,t!==null&&(l=t.memoizedState.cache),e.memoizedState.cache!==l&&(e.flags|=2048),Ge(Ut),Tt(e),null;case 25:return null;case 30:return null}throw Error(s(156,e.tag))}function Sy(t,e){switch($i(e),e.tag){case 1:return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return Ge(Ut),Ie(),t=e.flags,(t&65536)!==0&&(t&128)===0?(e.flags=t&-65537|128,e):null;case 26:case 27:case 5:return Bn(e),null;case 13:if(Ze(e),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(s(340));Ja()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return X(Nt),null;case 4:return Ie(),null;case 10:return Ge(e.type),null;case 22:case 23:return Ze(e),rc(),t!==null&&X(Ll),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 24:return Ge(Ut),null;case 25:return null;default:return null}}function Mo(t,e){switch($i(e),e.tag){case 3:Ge(Ut),Ie();break;case 26:case 27:case 5:Bn(e);break;case 4:Ie();break;case 13:Ze(e);break;case 19:X(Nt);break;case 10:Ge(e.type);break;case 22:case 23:Ze(e),rc(),t!==null&&X(Ll);break;case 24:Ge(Ut)}}function on(t,e){try{var l=e.updateQueue,a=l!==null?l.lastEffect:null;if(a!==null){var n=a.next;l=n;do{if((l.tag&t)===t){a=void 0;var i=l.create,r=l.inst;a=i(),r.destroy=a}l=l.next}while(l!==n)}}catch(o){gt(e,e.return,o)}}function sl(t,e,l){try{var a=e.updateQueue,n=a!==null?a.lastEffect:null;if(n!==null){var i=n.next;a=i;do{if((a.tag&t)===t){var r=a.inst,o=r.destroy;if(o!==void 0){r.destroy=void 0,n=e;var m=l,A=o;try{A()}catch(D){gt(n,m,D)}}}a=a.next}while(a!==i)}}catch(D){gt(e,e.return,D)}}function _o(t){var e=t.updateQueue;if(e!==null){var l=t.stateNode;try{ms(e,l)}catch(a){gt(t,t.return,a)}}}function Do(t,e,l){l.props=Yl(t.type,t.memoizedProps),l.state=t.memoizedState;try{l.componentWillUnmount()}catch(a){gt(t,e,a)}}function hn(t,e){try{var l=t.ref;if(l!==null){switch(t.tag){case 26:case 27:case 5:var a=t.stateNode;break;case 30:a=t.stateNode;break;default:a=t.stateNode}typeof l=="function"?t.refCleanup=l(a):l.current=a}}catch(n){gt(t,e,n)}}function ze(t,e){var l=t.ref,a=t.refCleanup;if(l!==null)if(typeof a=="function")try{a()}catch(n){gt(t,e,n)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof l=="function")try{l(null)}catch(n){gt(t,e,n)}else l.current=null}function zo(t){var e=t.type,l=t.memoizedProps,a=t.stateNode;try{t:switch(e){case"button":case"input":case"select":case"textarea":l.autoFocus&&a.focus();break t;case"img":l.src?a.src=l.src:l.srcSet&&(a.srcset=l.srcSet)}}catch(n){gt(t,t.return,n)}}function wc(t,e,l){try{var a=t.stateNode;Yy(a,t.type,l,e),a[$t]=e}catch(n){gt(t,t.return,n)}}function Co(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&pl(t.type)||t.tag===4}function Bc(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||Co(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.tag===27&&pl(t.type)||t.flags&2||t.child===null||t.tag===4)continue t;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function Lc(t,e,l){var a=t.tag;if(a===5||a===6)t=t.stateNode,e?(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l).insertBefore(t,e):(e=l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,e.appendChild(t),l=l._reactRootContainer,l!=null||e.onclick!==null||(e.onclick=Lu));else if(a!==4&&(a===27&&pl(t.type)&&(l=t.stateNode,e=null),t=t.child,t!==null))for(Lc(t,e,l),t=t.sibling;t!==null;)Lc(t,e,l),t=t.sibling}function _u(t,e,l){var a=t.tag;if(a===5||a===6)t=t.stateNode,e?l.insertBefore(t,e):l.appendChild(t);else if(a!==4&&(a===27&&pl(t.type)&&(l=t.stateNode),t=t.child,t!==null))for(_u(t,e,l),t=t.sibling;t!==null;)_u(t,e,l),t=t.sibling}function Uo(t){var e=t.stateNode,l=t.memoizedProps;try{for(var a=t.type,n=e.attributes;n.length;)e.removeAttributeNode(n[0]);Yt(e,a,l),e[Zt]=t,e[$t]=l}catch(i){gt(t,t.return,i)}}var Je=!1,Mt=!1,Qc=!1,No=typeof WeakSet=="function"?WeakSet:Set,jt=null;function Ey(t,e){if(t=t.containerInfo,of=Ku,t=Xr(t),Bi(t)){if("selectionStart"in t)var l={start:t.selectionStart,end:t.selectionEnd};else t:{l=(l=t.ownerDocument)&&l.defaultView||window;var a=l.getSelection&&l.getSelection();if(a&&a.rangeCount!==0){l=a.anchorNode;var n=a.anchorOffset,i=a.focusNode;a=a.focusOffset;try{l.nodeType,i.nodeType}catch{l=null;break t}var r=0,o=-1,m=-1,A=0,D=0,U=t,O=null;e:for(;;){for(var M;U!==l||n!==0&&U.nodeType!==3||(o=r+n),U!==i||a!==0&&U.nodeType!==3||(m=r+a),U.nodeType===3&&(r+=U.nodeValue.length),(M=U.firstChild)!==null;)O=U,U=M;for(;;){if(U===t)break e;if(O===l&&++A===n&&(o=r),O===i&&++D===a&&(m=r),(M=U.nextSibling)!==null)break;U=O,O=U.parentNode}U=M}l=o===-1||m===-1?null:{start:o,end:m}}else l=null}l=l||{start:0,end:0}}else l=null;for(hf={focusedElem:t,selectionRange:l},Ku=!1,jt=e;jt!==null;)if(e=jt,t=e.child,(e.subtreeFlags&1024)!==0&&t!==null)t.return=e,jt=t;else for(;jt!==null;){switch(e=jt,i=e.alternate,t=e.flags,e.tag){case 0:break;case 11:case 15:break;case 1:if((t&1024)!==0&&i!==null){t=void 0,l=e,n=i.memoizedProps,i=i.memoizedState,a=l.stateNode;try{var I=Yl(l.type,n,l.elementType===l.type);t=a.getSnapshotBeforeUpdate(I,i),a.__reactInternalSnapshotBeforeUpdate=t}catch(F){gt(l,l.return,F)}}break;case 3:if((t&1024)!==0){if(t=e.stateNode.containerInfo,l=t.nodeType,l===9)yf(t);else if(l===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":yf(t);break;default:t.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((t&1024)!==0)throw Error(s(163))}if(t=e.sibling,t!==null){t.return=e.return,jt=t;break}jt=e.return}}function qo(t,e,l){var a=l.flags;switch(l.tag){case 0:case 11:case 15:ol(t,l),a&4&&on(5,l);break;case 1:if(ol(t,l),a&4)if(t=l.stateNode,e===null)try{t.componentDidMount()}catch(r){gt(l,l.return,r)}else{var n=Yl(l.type,e.memoizedProps);e=e.memoizedState;try{t.componentDidUpdate(n,e,t.__reactInternalSnapshotBeforeUpdate)}catch(r){gt(l,l.return,r)}}a&64&&_o(l),a&512&&hn(l,l.return);break;case 3:if(ol(t,l),a&64&&(t=l.updateQueue,t!==null)){if(e=null,l.child!==null)switch(l.child.tag){case 27:case 5:e=l.child.stateNode;break;case 1:e=l.child.stateNode}try{ms(t,e)}catch(r){gt(l,l.return,r)}}break;case 27:e===null&&a&4&&Uo(l);case 26:case 5:ol(t,l),e===null&&a&4&&zo(l),a&512&&hn(l,l.return);break;case 12:ol(t,l);break;case 13:ol(t,l),a&4&&wo(t,l),a&64&&(t=l.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(l=zy.bind(null,l),ky(t,l))));break;case 22:if(a=l.memoizedState!==null||Je,!a){e=e!==null&&e.memoizedState!==null||Mt,n=Je;var i=Mt;Je=a,(Mt=e)&&!i?hl(t,l,(l.subtreeFlags&8772)!==0):ol(t,l),Je=n,Mt=i}break;case 30:break;default:ol(t,l)}}function Ho(t){var e=t.alternate;e!==null&&(t.alternate=null,Ho(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&bi(e)),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}var Et=null,Pt=!1;function ke(t,e,l){for(l=l.child;l!==null;)jo(t,e,l),l=l.sibling}function jo(t,e,l){if(ee&&typeof ee.onCommitFiberUnmount=="function")try{ee.onCommitFiberUnmount(Ua,l)}catch{}switch(l.tag){case 26:Mt||ze(l,e),ke(t,e,l),l.memoizedState?l.memoizedState.count--:l.stateNode&&(l=l.stateNode,l.parentNode.removeChild(l));break;case 27:Mt||ze(l,e);var a=Et,n=Pt;pl(l.type)&&(Et=l.stateNode,Pt=!1),ke(t,e,l),En(l.stateNode),Et=a,Pt=n;break;case 5:Mt||ze(l,e);case 6:if(a=Et,n=Pt,Et=null,ke(t,e,l),Et=a,Pt=n,Et!==null)if(Pt)try{(Et.nodeType===9?Et.body:Et.nodeName==="HTML"?Et.ownerDocument.body:Et).removeChild(l.stateNode)}catch(i){gt(l,e,i)}else try{Et.removeChild(l.stateNode)}catch(i){gt(l,e,i)}break;case 18:Et!==null&&(Pt?(t=Et,Ah(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,l.stateNode),Dn(t)):Ah(Et,l.stateNode));break;case 4:a=Et,n=Pt,Et=l.stateNode.containerInfo,Pt=!0,ke(t,e,l),Et=a,Pt=n;break;case 0:case 11:case 14:case 15:Mt||sl(2,l,e),Mt||sl(4,l,e),ke(t,e,l);break;case 1:Mt||(ze(l,e),a=l.stateNode,typeof a.componentWillUnmount=="function"&&Do(l,e,a)),ke(t,e,l);break;case 21:ke(t,e,l);break;case 22:Mt=(a=Mt)||l.memoizedState!==null,ke(t,e,l),Mt=a;break;default:ke(t,e,l)}}function wo(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{Dn(t)}catch(l){gt(e,e.return,l)}}function Ty(t){switch(t.tag){case 13:case 19:var e=t.stateNode;return e===null&&(e=t.stateNode=new No),e;case 22:return t=t.stateNode,e=t._retryCache,e===null&&(e=t._retryCache=new No),e;default:throw Error(s(435,t.tag))}}function Yc(t,e){var l=Ty(t);e.forEach(function(a){var n=Cy.bind(null,t,a);l.has(a)||(l.add(a),a.then(n,n))})}function ue(t,e){var l=e.deletions;if(l!==null)for(var a=0;a<l.length;a++){var n=l[a],i=t,r=e,o=r;t:for(;o!==null;){switch(o.tag){case 27:if(pl(o.type)){Et=o.stateNode,Pt=!1;break t}break;case 5:Et=o.stateNode,Pt=!1;break t;case 3:case 4:Et=o.stateNode.containerInfo,Pt=!0;break t}o=o.return}if(Et===null)throw Error(s(160));jo(i,r,n),Et=null,Pt=!1,i=n.alternate,i!==null&&(i.return=null),n.return=null}if(e.subtreeFlags&13878)for(e=e.child;e!==null;)Bo(e,t),e=e.sibling}var Ae=null;function Bo(t,e){var l=t.alternate,a=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:ue(e,t),ie(t),a&4&&(sl(3,t,t.return),on(3,t),sl(5,t,t.return));break;case 1:ue(e,t),ie(t),a&512&&(Mt||l===null||ze(l,l.return)),a&64&&Je&&(t=t.updateQueue,t!==null&&(a=t.callbacks,a!==null&&(l=t.shared.hiddenCallbacks,t.shared.hiddenCallbacks=l===null?a:l.concat(a))));break;case 26:var n=Ae;if(ue(e,t),ie(t),a&512&&(Mt||l===null||ze(l,l.return)),a&4){var i=l!==null?l.memoizedState:null;if(a=t.memoizedState,l===null)if(a===null)if(t.stateNode===null){t:{a=t.type,l=t.memoizedProps,n=n.ownerDocument||n;e:switch(a){case"title":i=n.getElementsByTagName("title")[0],(!i||i[Ha]||i[Zt]||i.namespaceURI==="http://www.w3.org/2000/svg"||i.hasAttribute("itemprop"))&&(i=n.createElement(a),n.head.insertBefore(i,n.querySelector("head > title"))),Yt(i,a,l),i[Zt]=t,qt(i),a=i;break t;case"link":var r=Uh("link","href",n).get(a+(l.href||""));if(r){for(var o=0;o<r.length;o++)if(i=r[o],i.getAttribute("href")===(l.href==null||l.href===""?null:l.href)&&i.getAttribute("rel")===(l.rel==null?null:l.rel)&&i.getAttribute("title")===(l.title==null?null:l.title)&&i.getAttribute("crossorigin")===(l.crossOrigin==null?null:l.crossOrigin)){r.splice(o,1);break e}}i=n.createElement(a),Yt(i,a,l),n.head.appendChild(i);break;case"meta":if(r=Uh("meta","content",n).get(a+(l.content||""))){for(o=0;o<r.length;o++)if(i=r[o],i.getAttribute("content")===(l.content==null?null:""+l.content)&&i.getAttribute("name")===(l.name==null?null:l.name)&&i.getAttribute("property")===(l.property==null?null:l.property)&&i.getAttribute("http-equiv")===(l.httpEquiv==null?null:l.httpEquiv)&&i.getAttribute("charset")===(l.charSet==null?null:l.charSet)){r.splice(o,1);break e}}i=n.createElement(a),Yt(i,a,l),n.head.appendChild(i);break;default:throw Error(s(468,a))}i[Zt]=t,qt(i),a=i}t.stateNode=a}else Nh(n,t.type,t.stateNode);else t.stateNode=Ch(n,a,t.memoizedProps);else i!==a?(i===null?l.stateNode!==null&&(l=l.stateNode,l.parentNode.removeChild(l)):i.count--,a===null?Nh(n,t.type,t.stateNode):Ch(n,a,t.memoizedProps)):a===null&&t.stateNode!==null&&wc(t,t.memoizedProps,l.memoizedProps)}break;case 27:ue(e,t),ie(t),a&512&&(Mt||l===null||ze(l,l.return)),l!==null&&a&4&&wc(t,t.memoizedProps,l.memoizedProps);break;case 5:if(ue(e,t),ie(t),a&512&&(Mt||l===null||ze(l,l.return)),t.flags&32){n=t.stateNode;try{Pl(n,"")}catch(M){gt(t,t.return,M)}}a&4&&t.stateNode!=null&&(n=t.memoizedProps,wc(t,n,l!==null?l.memoizedProps:n)),a&1024&&(Qc=!0);break;case 6:if(ue(e,t),ie(t),a&4){if(t.stateNode===null)throw Error(s(162));a=t.memoizedProps,l=t.stateNode;try{l.nodeValue=a}catch(M){gt(t,t.return,M)}}break;case 3:if(Xu=null,n=Ae,Ae=Yu(e.containerInfo),ue(e,t),Ae=n,ie(t),a&4&&l!==null&&l.memoizedState.isDehydrated)try{Dn(e.containerInfo)}catch(M){gt(t,t.return,M)}Qc&&(Qc=!1,Lo(t));break;case 4:a=Ae,Ae=Yu(t.stateNode.containerInfo),ue(e,t),ie(t),Ae=a;break;case 12:ue(e,t),ie(t);break;case 13:ue(e,t),ie(t),t.child.flags&8192&&t.memoizedState!==null!=(l!==null&&l.memoizedState!==null)&&(Jc=Me()),a&4&&(a=t.updateQueue,a!==null&&(t.updateQueue=null,Yc(t,a)));break;case 22:n=t.memoizedState!==null;var m=l!==null&&l.memoizedState!==null,A=Je,D=Mt;if(Je=A||n,Mt=D||m,ue(e,t),Mt=D,Je=A,ie(t),a&8192)t:for(e=t.stateNode,e._visibility=n?e._visibility&-2:e._visibility|1,n&&(l===null||m||Je||Mt||Gl(t)),l=null,e=t;;){if(e.tag===5||e.tag===26){if(l===null){m=l=e;try{if(i=m.stateNode,n)r=i.style,typeof r.setProperty=="function"?r.setProperty("display","none","important"):r.display="none";else{o=m.stateNode;var U=m.memoizedProps.style,O=U!=null&&U.hasOwnProperty("display")?U.display:null;o.style.display=O==null||typeof O=="boolean"?"":(""+O).trim()}}catch(M){gt(m,m.return,M)}}}else if(e.tag===6){if(l===null){m=e;try{m.stateNode.nodeValue=n?"":m.memoizedProps}catch(M){gt(m,m.return,M)}}}else if((e.tag!==22&&e.tag!==23||e.memoizedState===null||e===t)&&e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break t;for(;e.sibling===null;){if(e.return===null||e.return===t)break t;l===e&&(l=null),e=e.return}l===e&&(l=null),e.sibling.return=e.return,e=e.sibling}a&4&&(a=t.updateQueue,a!==null&&(l=a.retryQueue,l!==null&&(a.retryQueue=null,Yc(t,l))));break;case 19:ue(e,t),ie(t),a&4&&(a=t.updateQueue,a!==null&&(t.updateQueue=null,Yc(t,a)));break;case 30:break;case 21:break;default:ue(e,t),ie(t)}}function ie(t){var e=t.flags;if(e&2){try{for(var l,a=t.return;a!==null;){if(Co(a)){l=a;break}a=a.return}if(l==null)throw Error(s(160));switch(l.tag){case 27:var n=l.stateNode,i=Bc(t);_u(t,i,n);break;case 5:var r=l.stateNode;l.flags&32&&(Pl(r,""),l.flags&=-33);var o=Bc(t);_u(t,o,r);break;case 3:case 4:var m=l.stateNode.containerInfo,A=Bc(t);Lc(t,A,m);break;default:throw Error(s(161))}}catch(D){gt(t,t.return,D)}t.flags&=-3}e&4096&&(t.flags&=-4097)}function Lo(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var e=t;Lo(e),e.tag===5&&e.flags&1024&&e.stateNode.reset(),t=t.sibling}}function ol(t,e){if(e.subtreeFlags&8772)for(e=e.child;e!==null;)qo(t,e.alternate,e),e=e.sibling}function Gl(t){for(t=t.child;t!==null;){var e=t;switch(e.tag){case 0:case 11:case 14:case 15:sl(4,e,e.return),Gl(e);break;case 1:ze(e,e.return);var l=e.stateNode;typeof l.componentWillUnmount=="function"&&Do(e,e.return,l),Gl(e);break;case 27:En(e.stateNode);case 26:case 5:ze(e,e.return),Gl(e);break;case 22:e.memoizedState===null&&Gl(e);break;case 30:Gl(e);break;default:Gl(e)}t=t.sibling}}function hl(t,e,l){for(l=l&&(e.subtreeFlags&8772)!==0,e=e.child;e!==null;){var a=e.alternate,n=t,i=e,r=i.flags;switch(i.tag){case 0:case 11:case 15:hl(n,i,l),on(4,i);break;case 1:if(hl(n,i,l),a=i,n=a.stateNode,typeof n.componentDidMount=="function")try{n.componentDidMount()}catch(A){gt(a,a.return,A)}if(a=i,n=a.updateQueue,n!==null){var o=a.stateNode;try{var m=n.shared.hiddenCallbacks;if(m!==null)for(n.shared.hiddenCallbacks=null,n=0;n<m.length;n++)ds(m[n],o)}catch(A){gt(a,a.return,A)}}l&&r&64&&_o(i),hn(i,i.return);break;case 27:Uo(i);case 26:case 5:hl(n,i,l),l&&a===null&&r&4&&zo(i),hn(i,i.return);break;case 12:hl(n,i,l);break;case 13:hl(n,i,l),l&&r&4&&wo(n,i);break;case 22:i.memoizedState===null&&hl(n,i,l),hn(i,i.return);break;case 30:break;default:hl(n,i,l)}e=e.sibling}}function Gc(t,e){var l=null;t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(l=t.memoizedState.cachePool.pool),t=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(t=e.memoizedState.cachePool.pool),t!==l&&(t!=null&&t.refCount++,l!=null&&Fa(l))}function Xc(t,e){t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&Fa(t))}function Ce(t,e,l,a){if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Qo(t,e,l,a),e=e.sibling}function Qo(t,e,l,a){var n=e.flags;switch(e.tag){case 0:case 11:case 15:Ce(t,e,l,a),n&2048&&on(9,e);break;case 1:Ce(t,e,l,a);break;case 3:Ce(t,e,l,a),n&2048&&(t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&Fa(t)));break;case 12:if(n&2048){Ce(t,e,l,a),t=e.stateNode;try{var i=e.memoizedProps,r=i.id,o=i.onPostCommit;typeof o=="function"&&o(r,e.alternate===null?"mount":"update",t.passiveEffectDuration,-0)}catch(m){gt(e,e.return,m)}}else Ce(t,e,l,a);break;case 13:Ce(t,e,l,a);break;case 23:break;case 22:i=e.stateNode,r=e.alternate,e.memoizedState!==null?i._visibility&2?Ce(t,e,l,a):dn(t,e):i._visibility&2?Ce(t,e,l,a):(i._visibility|=2,ga(t,e,l,a,(e.subtreeFlags&10256)!==0)),n&2048&&Gc(r,e);break;case 24:Ce(t,e,l,a),n&2048&&Xc(e.alternate,e);break;default:Ce(t,e,l,a)}}function ga(t,e,l,a,n){for(n=n&&(e.subtreeFlags&10256)!==0,e=e.child;e!==null;){var i=t,r=e,o=l,m=a,A=r.flags;switch(r.tag){case 0:case 11:case 15:ga(i,r,o,m,n),on(8,r);break;case 23:break;case 22:var D=r.stateNode;r.memoizedState!==null?D._visibility&2?ga(i,r,o,m,n):dn(i,r):(D._visibility|=2,ga(i,r,o,m,n)),n&&A&2048&&Gc(r.alternate,r);break;case 24:ga(i,r,o,m,n),n&&A&2048&&Xc(r.alternate,r);break;default:ga(i,r,o,m,n)}e=e.sibling}}function dn(t,e){if(e.subtreeFlags&10256)for(e=e.child;e!==null;){var l=t,a=e,n=a.flags;switch(a.tag){case 22:dn(l,a),n&2048&&Gc(a.alternate,a);break;case 24:dn(l,a),n&2048&&Xc(a.alternate,a);break;default:dn(l,a)}e=e.sibling}}var mn=8192;function pa(t){if(t.subtreeFlags&mn)for(t=t.child;t!==null;)Yo(t),t=t.sibling}function Yo(t){switch(t.tag){case 26:pa(t),t.flags&mn&&t.memoizedState!==null&&c0(Ae,t.memoizedState,t.memoizedProps);break;case 5:pa(t);break;case 3:case 4:var e=Ae;Ae=Yu(t.stateNode.containerInfo),pa(t),Ae=e;break;case 22:t.memoizedState===null&&(e=t.alternate,e!==null&&e.memoizedState!==null?(e=mn,mn=16777216,pa(t),mn=e):pa(t));break;default:pa(t)}}function Go(t){var e=t.alternate;if(e!==null&&(t=e.child,t!==null)){e.child=null;do e=t.sibling,t.sibling=null,t=e;while(t!==null)}}function yn(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var l=0;l<e.length;l++){var a=e[l];jt=a,Zo(a,t)}Go(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Xo(t),t=t.sibling}function Xo(t){switch(t.tag){case 0:case 11:case 15:yn(t),t.flags&2048&&sl(9,t,t.return);break;case 3:yn(t);break;case 12:yn(t);break;case 22:var e=t.stateNode;t.memoizedState!==null&&e._visibility&2&&(t.return===null||t.return.tag!==13)?(e._visibility&=-3,Du(t)):yn(t);break;default:yn(t)}}function Du(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var l=0;l<e.length;l++){var a=e[l];jt=a,Zo(a,t)}Go(t)}for(t=t.child;t!==null;){switch(e=t,e.tag){case 0:case 11:case 15:sl(8,e,e.return),Du(e);break;case 22:l=e.stateNode,l._visibility&2&&(l._visibility&=-3,Du(e));break;default:Du(e)}t=t.sibling}}function Zo(t,e){for(;jt!==null;){var l=jt;switch(l.tag){case 0:case 11:case 15:sl(8,l,e);break;case 23:case 22:if(l.memoizedState!==null&&l.memoizedState.cachePool!==null){var a=l.memoizedState.cachePool.pool;a!=null&&a.refCount++}break;case 24:Fa(l.memoizedState.cache)}if(a=l.child,a!==null)a.return=l,jt=a;else t:for(l=t;jt!==null;){a=jt;var n=a.sibling,i=a.return;if(Ho(a),a===l){jt=null;break t}if(n!==null){n.return=i,jt=n;break t}jt=i}}}var Ry={getCacheForType:function(t){var e=Vt(Ut),l=e.data.get(t);return l===void 0&&(l=t(),e.data.set(t,l)),l}},Ay=typeof WeakMap=="function"?WeakMap:Map,ot=0,pt=null,nt=null,it=0,ht=0,ce=null,dl=!1,ba=!1,Zc=!1,$e=0,At=0,ml=0,Xl=0,Vc=0,be=0,Sa=0,vn=null,It=null,Kc=!1,Jc=0,zu=1/0,Cu=null,yl=null,Qt=0,vl=null,Ea=null,Ta=0,kc=0,$c=null,Vo=null,gn=0,Fc=null;function fe(){if((ot&2)!==0&&it!==0)return it&-it;if(z.T!==null){var t=ra;return t!==0?t:af()}return ir()}function Ko(){be===0&&(be=(it&536870912)===0||rt?lr():536870912);var t=pe.current;return t!==null&&(t.flags|=32),be}function re(t,e,l){(t===pt&&(ht===2||ht===9)||t.cancelPendingCommit!==null)&&(Ra(t,0),gl(t,it,be,!1)),qa(t,l),((ot&2)===0||t!==pt)&&(t===pt&&((ot&2)===0&&(Xl|=l),At===4&&gl(t,it,be,!1)),Ue(t))}function Jo(t,e,l){if((ot&6)!==0)throw Error(s(327));var a=!l&&(e&124)===0&&(e&t.expiredLanes)===0||Na(t,e),n=a?My(t,e):Ic(t,e,!0),i=a;do{if(n===0){ba&&!a&&gl(t,e,0,!1);break}else{if(l=t.current.alternate,i&&!Oy(l)){n=Ic(t,e,!1),i=!1;continue}if(n===2){if(i=e,t.errorRecoveryDisabledLanes&i)var r=0;else r=t.pendingLanes&-536870913,r=r!==0?r:r&536870912?536870912:0;if(r!==0){e=r;t:{var o=t;n=vn;var m=o.current.memoizedState.isDehydrated;if(m&&(Ra(o,r).flags|=256),r=Ic(o,r,!1),r!==2){if(Zc&&!m){o.errorRecoveryDisabledLanes|=i,Xl|=i,n=4;break t}i=It,It=n,i!==null&&(It===null?It=i:It.push.apply(It,i))}n=r}if(i=!1,n!==2)continue}}if(n===1){Ra(t,0),gl(t,e,0,!0);break}t:{switch(a=t,i=n,i){case 0:case 1:throw Error(s(345));case 4:if((e&4194048)!==e)break;case 6:gl(a,e,be,!dl);break t;case 2:It=null;break;case 3:case 5:break;default:throw Error(s(329))}if((e&62914560)===e&&(n=Jc+300-Me(),10<n)){if(gl(a,e,be,!dl),Gn(a,0,!0)!==0)break t;a.timeoutHandle=Th(ko.bind(null,a,l,It,Cu,Kc,e,be,Xl,Sa,dl,i,2,-0,0),n);break t}ko(a,l,It,Cu,Kc,e,be,Xl,Sa,dl,i,0,-0,0)}}break}while(!0);Ue(t)}function ko(t,e,l,a,n,i,r,o,m,A,D,U,O,M){if(t.timeoutHandle=-1,U=e.subtreeFlags,(U&8192||(U&16785408)===16785408)&&(An={stylesheets:null,count:0,unsuspend:i0},Yo(e),U=f0(),U!==null)){t.cancelPendingCommit=U(eh.bind(null,t,e,i,l,a,n,r,o,m,D,1,O,M)),gl(t,i,r,!A);return}eh(t,e,i,l,a,n,r,o,m)}function Oy(t){for(var e=t;;){var l=e.tag;if((l===0||l===11||l===15)&&e.flags&16384&&(l=e.updateQueue,l!==null&&(l=l.stores,l!==null)))for(var a=0;a<l.length;a++){var n=l[a],i=n.getSnapshot;n=n.value;try{if(!ae(i(),n))return!1}catch{return!1}}if(l=e.child,e.subtreeFlags&16384&&l!==null)l.return=e,e=l;else{if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return!0;e=e.return}e.sibling.return=e.return,e=e.sibling}}return!0}function gl(t,e,l,a){e&=~Vc,e&=~Xl,t.suspendedLanes|=e,t.pingedLanes&=~e,a&&(t.warmLanes|=e),a=t.expirationTimes;for(var n=e;0<n;){var i=31-le(n),r=1<<i;a[i]=-1,n&=~r}l!==0&&nr(t,l,e)}function Uu(){return(ot&6)===0?(pn(0),!1):!0}function Wc(){if(nt!==null){if(ht===0)var t=nt.return;else t=nt,Ye=wl=null,mc(t),ya=null,fn=0,t=nt;for(;t!==null;)Mo(t.alternate,t),t=t.return;nt=null}}function Ra(t,e){var l=t.timeoutHandle;l!==-1&&(t.timeoutHandle=-1,Xy(l)),l=t.cancelPendingCommit,l!==null&&(t.cancelPendingCommit=null,l()),Wc(),pt=t,nt=l=Be(t.current,null),it=e,ht=0,ce=null,dl=!1,ba=Na(t,e),Zc=!1,Sa=be=Vc=Xl=ml=At=0,It=vn=null,Kc=!1,(e&8)!==0&&(e|=e&32);var a=t.entangledLanes;if(a!==0)for(t=t.entanglements,a&=e;0<a;){var n=31-le(a),i=1<<n;e|=t[n],a&=~i}return $e=e,tu(),l}function $o(t,e){lt=null,z.H=bu,e===Pa||e===ru?(e=os(),ht=3):e===fs?(e=os(),ht=4):ht=e===ho?8:e!==null&&typeof e=="object"&&typeof e.then=="function"?6:1,ce=e,nt===null&&(At=1,Au(t,me(e,t.current)))}function Fo(){var t=z.H;return z.H=bu,t===null?bu:t}function Wo(){var t=z.A;return z.A=Ry,t}function Pc(){At=4,dl||(it&4194048)!==it&&pe.current!==null||(ba=!0),(ml&134217727)===0&&(Xl&134217727)===0||pt===null||gl(pt,it,be,!1)}function Ic(t,e,l){var a=ot;ot|=2;var n=Fo(),i=Wo();(pt!==t||it!==e)&&(Cu=null,Ra(t,e)),e=!1;var r=At;t:do try{if(ht!==0&&nt!==null){var o=nt,m=ce;switch(ht){case 8:Wc(),r=6;break t;case 3:case 2:case 9:case 6:pe.current===null&&(e=!0);var A=ht;if(ht=0,ce=null,Aa(t,o,m,A),l&&ba){r=0;break t}break;default:A=ht,ht=0,ce=null,Aa(t,o,m,A)}}xy(),r=At;break}catch(D){$o(t,D)}while(!0);return e&&t.shellSuspendCounter++,Ye=wl=null,ot=a,z.H=n,z.A=i,nt===null&&(pt=null,it=0,tu()),r}function xy(){for(;nt!==null;)Po(nt)}function My(t,e){var l=ot;ot|=2;var a=Fo(),n=Wo();pt!==t||it!==e?(Cu=null,zu=Me()+500,Ra(t,e)):ba=Na(t,e);t:do try{if(ht!==0&&nt!==null){e=nt;var i=ce;e:switch(ht){case 1:ht=0,ce=null,Aa(t,e,i,1);break;case 2:case 9:if(rs(i)){ht=0,ce=null,Io(e);break}e=function(){ht!==2&&ht!==9||pt!==t||(ht=7),Ue(t)},i.then(e,e);break t;case 3:ht=7;break t;case 4:ht=5;break t;case 7:rs(i)?(ht=0,ce=null,Io(e)):(ht=0,ce=null,Aa(t,e,i,7));break;case 5:var r=null;switch(nt.tag){case 26:r=nt.memoizedState;case 5:case 27:var o=nt;if(!r||qh(r)){ht=0,ce=null;var m=o.sibling;if(m!==null)nt=m;else{var A=o.return;A!==null?(nt=A,Nu(A)):nt=null}break e}}ht=0,ce=null,Aa(t,e,i,5);break;case 6:ht=0,ce=null,Aa(t,e,i,6);break;case 8:Wc(),At=6;break t;default:throw Error(s(462))}}_y();break}catch(D){$o(t,D)}while(!0);return Ye=wl=null,z.H=a,z.A=n,ot=l,nt!==null?0:(pt=null,it=0,tu(),At)}function _y(){for(;nt!==null&&!Fd();)Po(nt)}function Po(t){var e=Oo(t.alternate,t,$e);t.memoizedProps=t.pendingProps,e===null?Nu(t):nt=e}function Io(t){var e=t,l=e.alternate;switch(e.tag){case 15:case 0:e=bo(l,e,e.pendingProps,e.type,void 0,it);break;case 11:e=bo(l,e,e.pendingProps,e.type.render,e.ref,it);break;case 5:mc(e);default:Mo(l,e),e=nt=Ir(e,$e),e=Oo(l,e,$e)}t.memoizedProps=t.pendingProps,e===null?Nu(t):nt=e}function Aa(t,e,l,a){Ye=wl=null,mc(e),ya=null,fn=0;var n=e.return;try{if(gy(t,n,e,l,it)){At=1,Au(t,me(l,t.current)),nt=null;return}}catch(i){if(n!==null)throw nt=n,i;At=1,Au(t,me(l,t.current)),nt=null;return}e.flags&32768?(rt||a===1?t=!0:ba||(it&536870912)!==0?t=!1:(dl=t=!0,(a===2||a===9||a===3||a===6)&&(a=pe.current,a!==null&&a.tag===13&&(a.flags|=16384))),th(e,t)):Nu(e)}function Nu(t){var e=t;do{if((e.flags&32768)!==0){th(e,dl);return}t=e.return;var l=by(e.alternate,e,$e);if(l!==null){nt=l;return}if(e=e.sibling,e!==null){nt=e;return}nt=e=t}while(e!==null);At===0&&(At=5)}function th(t,e){do{var l=Sy(t.alternate,t);if(l!==null){l.flags&=32767,nt=l;return}if(l=t.return,l!==null&&(l.flags|=32768,l.subtreeFlags=0,l.deletions=null),!e&&(t=t.sibling,t!==null)){nt=t;return}nt=t=l}while(t!==null);At=6,nt=null}function eh(t,e,l,a,n,i,r,o,m){t.cancelPendingCommit=null;do qu();while(Qt!==0);if((ot&6)!==0)throw Error(s(327));if(e!==null){if(e===t.current)throw Error(s(177));if(i=e.lanes|e.childLanes,i|=Xi,im(t,l,i,r,o,m),t===pt&&(nt=pt=null,it=0),Ea=e,vl=t,Ta=l,kc=i,$c=n,Vo=a,(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,Uy(Ln,function(){return ih(),null})):(t.callbackNode=null,t.callbackPriority=0),a=(e.flags&13878)!==0,(e.subtreeFlags&13878)!==0||a){a=z.T,z.T=null,n=Y.p,Y.p=2,r=ot,ot|=4;try{Ey(t,e,l)}finally{ot=r,Y.p=n,z.T=a}}Qt=1,lh(),ah(),nh()}}function lh(){if(Qt===1){Qt=0;var t=vl,e=Ea,l=(e.flags&13878)!==0;if((e.subtreeFlags&13878)!==0||l){l=z.T,z.T=null;var a=Y.p;Y.p=2;var n=ot;ot|=4;try{Bo(e,t);var i=hf,r=Xr(t.containerInfo),o=i.focusedElem,m=i.selectionRange;if(r!==o&&o&&o.ownerDocument&&Gr(o.ownerDocument.documentElement,o)){if(m!==null&&Bi(o)){var A=m.start,D=m.end;if(D===void 0&&(D=A),"selectionStart"in o)o.selectionStart=A,o.selectionEnd=Math.min(D,o.value.length);else{var U=o.ownerDocument||document,O=U&&U.defaultView||window;if(O.getSelection){var M=O.getSelection(),I=o.textContent.length,F=Math.min(m.start,I),yt=m.end===void 0?F:Math.min(m.end,I);!M.extend&&F>yt&&(r=yt,yt=F,F=r);var E=Yr(o,F),p=Yr(o,yt);if(E&&p&&(M.rangeCount!==1||M.anchorNode!==E.node||M.anchorOffset!==E.offset||M.focusNode!==p.node||M.focusOffset!==p.offset)){var T=U.createRange();T.setStart(E.node,E.offset),M.removeAllRanges(),F>yt?(M.addRange(T),M.extend(p.node,p.offset)):(T.setEnd(p.node,p.offset),M.addRange(T))}}}}for(U=[],M=o;M=M.parentNode;)M.nodeType===1&&U.push({element:M,left:M.scrollLeft,top:M.scrollTop});for(typeof o.focus=="function"&&o.focus(),o=0;o<U.length;o++){var C=U[o];C.element.scrollLeft=C.left,C.element.scrollTop=C.top}}Ku=!!of,hf=of=null}finally{ot=n,Y.p=a,z.T=l}}t.current=e,Qt=2}}function ah(){if(Qt===2){Qt=0;var t=vl,e=Ea,l=(e.flags&8772)!==0;if((e.subtreeFlags&8772)!==0||l){l=z.T,z.T=null;var a=Y.p;Y.p=2;var n=ot;ot|=4;try{qo(t,e.alternate,e)}finally{ot=n,Y.p=a,z.T=l}}Qt=3}}function nh(){if(Qt===4||Qt===3){Qt=0,Wd();var t=vl,e=Ea,l=Ta,a=Vo;(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?Qt=5:(Qt=0,Ea=vl=null,uh(t,t.pendingLanes));var n=t.pendingLanes;if(n===0&&(yl=null),gi(l),e=e.stateNode,ee&&typeof ee.onCommitFiberRoot=="function")try{ee.onCommitFiberRoot(Ua,e,void 0,(e.current.flags&128)===128)}catch{}if(a!==null){e=z.T,n=Y.p,Y.p=2,z.T=null;try{for(var i=t.onRecoverableError,r=0;r<a.length;r++){var o=a[r];i(o.value,{componentStack:o.stack})}}finally{z.T=e,Y.p=n}}(Ta&3)!==0&&qu(),Ue(t),n=t.pendingLanes,(l&4194090)!==0&&(n&42)!==0?t===Fc?gn++:(gn=0,Fc=t):gn=0,pn(0)}}function uh(t,e){(t.pooledCacheLanes&=e)===0&&(e=t.pooledCache,e!=null&&(t.pooledCache=null,Fa(e)))}function qu(t){return lh(),ah(),nh(),ih()}function ih(){if(Qt!==5)return!1;var t=vl,e=kc;kc=0;var l=gi(Ta),a=z.T,n=Y.p;try{Y.p=32>l?32:l,z.T=null,l=$c,$c=null;var i=vl,r=Ta;if(Qt=0,Ea=vl=null,Ta=0,(ot&6)!==0)throw Error(s(331));var o=ot;if(ot|=4,Xo(i.current),Qo(i,i.current,r,l),ot=o,pn(0,!1),ee&&typeof ee.onPostCommitFiberRoot=="function")try{ee.onPostCommitFiberRoot(Ua,i)}catch{}return!0}finally{Y.p=n,z.T=a,uh(t,e)}}function ch(t,e,l){e=me(l,e),e=_c(t.stateNode,e,2),t=il(t,e,2),t!==null&&(qa(t,2),Ue(t))}function gt(t,e,l){if(t.tag===3)ch(t,t,l);else for(;e!==null;){if(e.tag===3){ch(e,t,l);break}else if(e.tag===1){var a=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(yl===null||!yl.has(a))){t=me(l,t),l=so(2),a=il(e,l,2),a!==null&&(oo(l,a,e,t),qa(a,2),Ue(a));break}}e=e.return}}function tf(t,e,l){var a=t.pingCache;if(a===null){a=t.pingCache=new Ay;var n=new Set;a.set(e,n)}else n=a.get(e),n===void 0&&(n=new Set,a.set(e,n));n.has(l)||(Zc=!0,n.add(l),t=Dy.bind(null,t,e,l),e.then(t,t))}function Dy(t,e,l){var a=t.pingCache;a!==null&&a.delete(e),t.pingedLanes|=t.suspendedLanes&l,t.warmLanes&=~l,pt===t&&(it&l)===l&&(At===4||At===3&&(it&62914560)===it&&300>Me()-Jc?(ot&2)===0&&Ra(t,0):Vc|=l,Sa===it&&(Sa=0)),Ue(t)}function fh(t,e){e===0&&(e=ar()),t=ua(t,e),t!==null&&(qa(t,e),Ue(t))}function zy(t){var e=t.memoizedState,l=0;e!==null&&(l=e.retryLane),fh(t,l)}function Cy(t,e){var l=0;switch(t.tag){case 13:var a=t.stateNode,n=t.memoizedState;n!==null&&(l=n.retryLane);break;case 19:a=t.stateNode;break;case 22:a=t.stateNode._retryCache;break;default:throw Error(s(314))}a!==null&&a.delete(e),fh(t,l)}function Uy(t,e){return di(t,e)}var Hu=null,Oa=null,ef=!1,ju=!1,lf=!1,Zl=0;function Ue(t){t!==Oa&&t.next===null&&(Oa===null?Hu=Oa=t:Oa=Oa.next=t),ju=!0,ef||(ef=!0,qy())}function pn(t,e){if(!lf&&ju){lf=!0;do for(var l=!1,a=Hu;a!==null;){if(t!==0){var n=a.pendingLanes;if(n===0)var i=0;else{var r=a.suspendedLanes,o=a.pingedLanes;i=(1<<31-le(42|t)+1)-1,i&=n&~(r&~o),i=i&201326741?i&201326741|1:i?i|2:0}i!==0&&(l=!0,hh(a,i))}else i=it,i=Gn(a,a===pt?i:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),(i&3)===0||Na(a,i)||(l=!0,hh(a,i));a=a.next}while(l);lf=!1}}function Ny(){rh()}function rh(){ju=ef=!1;var t=0;Zl!==0&&(Gy()&&(t=Zl),Zl=0);for(var e=Me(),l=null,a=Hu;a!==null;){var n=a.next,i=sh(a,e);i===0?(a.next=null,l===null?Hu=n:l.next=n,n===null&&(Oa=l)):(l=a,(t!==0||(i&3)!==0)&&(ju=!0)),a=n}pn(t)}function sh(t,e){for(var l=t.suspendedLanes,a=t.pingedLanes,n=t.expirationTimes,i=t.pendingLanes&-62914561;0<i;){var r=31-le(i),o=1<<r,m=n[r];m===-1?((o&l)===0||(o&a)!==0)&&(n[r]=um(o,e)):m<=e&&(t.expiredLanes|=o),i&=~o}if(e=pt,l=it,l=Gn(t,t===e?l:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),a=t.callbackNode,l===0||t===e&&(ht===2||ht===9)||t.cancelPendingCommit!==null)return a!==null&&a!==null&&mi(a),t.callbackNode=null,t.callbackPriority=0;if((l&3)===0||Na(t,l)){if(e=l&-l,e===t.callbackPriority)return e;switch(a!==null&&mi(a),gi(l)){case 2:case 8:l=tr;break;case 32:l=Ln;break;case 268435456:l=er;break;default:l=Ln}return a=oh.bind(null,t),l=di(l,a),t.callbackPriority=e,t.callbackNode=l,e}return a!==null&&a!==null&&mi(a),t.callbackPriority=2,t.callbackNode=null,2}function oh(t,e){if(Qt!==0&&Qt!==5)return t.callbackNode=null,t.callbackPriority=0,null;var l=t.callbackNode;if(qu()&&t.callbackNode!==l)return null;var a=it;return a=Gn(t,t===pt?a:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),a===0?null:(Jo(t,a,e),sh(t,Me()),t.callbackNode!=null&&t.callbackNode===l?oh.bind(null,t):null)}function hh(t,e){if(qu())return null;Jo(t,e,!0)}function qy(){Zy(function(){(ot&6)!==0?di(If,Ny):rh()})}function af(){return Zl===0&&(Zl=lr()),Zl}function dh(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:Jn(""+t)}function mh(t,e){var l=e.ownerDocument.createElement("input");return l.name=e.name,l.value=e.value,t.id&&l.setAttribute("form",t.id),e.parentNode.insertBefore(l,e),t=new FormData(t),l.parentNode.removeChild(l),t}function Hy(t,e,l,a,n){if(e==="submit"&&l&&l.stateNode===n){var i=dh((n[$t]||null).action),r=a.submitter;r&&(e=(e=r[$t]||null)?dh(e.formAction):r.getAttribute("formAction"),e!==null&&(i=e,r=null));var o=new Wn("action","action",null,a,n);t.push({event:o,listeners:[{instance:null,listener:function(){if(a.defaultPrevented){if(Zl!==0){var m=r?mh(n,r):new FormData(n);Rc(l,{pending:!0,data:m,method:n.method,action:i},null,m)}}else typeof i=="function"&&(o.preventDefault(),m=r?mh(n,r):new FormData(n),Rc(l,{pending:!0,data:m,method:n.method,action:i},i,m))},currentTarget:n}]})}}for(var nf=0;nf<Gi.length;nf++){var uf=Gi[nf],jy=uf.toLowerCase(),wy=uf[0].toUpperCase()+uf.slice(1);Re(jy,"on"+wy)}Re(Kr,"onAnimationEnd"),Re(Jr,"onAnimationIteration"),Re(kr,"onAnimationStart"),Re("dblclick","onDoubleClick"),Re("focusin","onFocus"),Re("focusout","onBlur"),Re(ty,"onTransitionRun"),Re(ey,"onTransitionStart"),Re(ly,"onTransitionCancel"),Re($r,"onTransitionEnd"),$l("onMouseEnter",["mouseout","mouseover"]),$l("onMouseLeave",["mouseout","mouseover"]),$l("onPointerEnter",["pointerout","pointerover"]),$l("onPointerLeave",["pointerout","pointerover"]),_l("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),_l("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),_l("onBeforeInput",["compositionend","keypress","textInput","paste"]),_l("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),_l("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),_l("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var bn="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),By=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(bn));function yh(t,e){e=(e&4)!==0;for(var l=0;l<t.length;l++){var a=t[l],n=a.event;a=a.listeners;t:{var i=void 0;if(e)for(var r=a.length-1;0<=r;r--){var o=a[r],m=o.instance,A=o.currentTarget;if(o=o.listener,m!==i&&n.isPropagationStopped())break t;i=o,n.currentTarget=A;try{i(n)}catch(D){Ru(D)}n.currentTarget=null,i=m}else for(r=0;r<a.length;r++){if(o=a[r],m=o.instance,A=o.currentTarget,o=o.listener,m!==i&&n.isPropagationStopped())break t;i=o,n.currentTarget=A;try{i(n)}catch(D){Ru(D)}n.currentTarget=null,i=m}}}}function ut(t,e){var l=e[pi];l===void 0&&(l=e[pi]=new Set);var a=t+"__bubble";l.has(a)||(vh(e,t,2,!1),l.add(a))}function cf(t,e,l){var a=0;e&&(a|=4),vh(l,t,a,e)}var wu="_reactListening"+Math.random().toString(36).slice(2);function ff(t){if(!t[wu]){t[wu]=!0,fr.forEach(function(l){l!=="selectionchange"&&(By.has(l)||cf(l,!1,t),cf(l,!0,t))});var e=t.nodeType===9?t:t.ownerDocument;e===null||e[wu]||(e[wu]=!0,cf("selectionchange",!1,e))}}function vh(t,e,l,a){switch(Qh(e)){case 2:var n=o0;break;case 8:n=h0;break;default:n=Tf}l=n.bind(null,e,l,t),n=void 0,!Di||e!=="touchstart"&&e!=="touchmove"&&e!=="wheel"||(n=!0),a?n!==void 0?t.addEventListener(e,l,{capture:!0,passive:n}):t.addEventListener(e,l,!0):n!==void 0?t.addEventListener(e,l,{passive:n}):t.addEventListener(e,l,!1)}function rf(t,e,l,a,n){var i=a;if((e&1)===0&&(e&2)===0&&a!==null)t:for(;;){if(a===null)return;var r=a.tag;if(r===3||r===4){var o=a.stateNode.containerInfo;if(o===n)break;if(r===4)for(r=a.return;r!==null;){var m=r.tag;if((m===3||m===4)&&r.stateNode.containerInfo===n)return;r=r.return}for(;o!==null;){if(r=Kl(o),r===null)return;if(m=r.tag,m===5||m===6||m===26||m===27){a=i=r;continue t}o=o.parentNode}}a=a.return}Tr(function(){var A=i,D=Mi(l),U=[];t:{var O=Fr.get(t);if(O!==void 0){var M=Wn,I=t;switch(t){case"keypress":if($n(l)===0)break t;case"keydown":case"keyup":M=Um;break;case"focusin":I="focus",M=Ni;break;case"focusout":I="blur",M=Ni;break;case"beforeblur":case"afterblur":M=Ni;break;case"click":if(l.button===2)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":M=Or;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":M=Sm;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":M=Hm;break;case Kr:case Jr:case kr:M=Rm;break;case $r:M=wm;break;case"scroll":case"scrollend":M=pm;break;case"wheel":M=Lm;break;case"copy":case"cut":case"paste":M=Om;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":M=Mr;break;case"toggle":case"beforetoggle":M=Ym}var F=(e&4)!==0,yt=!F&&(t==="scroll"||t==="scrollend"),E=F?O!==null?O+"Capture":null:O;F=[];for(var p=A,T;p!==null;){var C=p;if(T=C.stateNode,C=C.tag,C!==5&&C!==26&&C!==27||T===null||E===null||(C=wa(p,E),C!=null&&F.push(Sn(p,C,T))),yt)break;p=p.return}0<F.length&&(O=new M(O,I,null,l,D),U.push({event:O,listeners:F}))}}if((e&7)===0){t:{if(O=t==="mouseover"||t==="pointerover",M=t==="mouseout"||t==="pointerout",O&&l!==xi&&(I=l.relatedTarget||l.fromElement)&&(Kl(I)||I[Vl]))break t;if((M||O)&&(O=D.window===D?D:(O=D.ownerDocument)?O.defaultView||O.parentWindow:window,M?(I=l.relatedTarget||l.toElement,M=A,I=I?Kl(I):null,I!==null&&(yt=d(I),F=I.tag,I!==yt||F!==5&&F!==27&&F!==6)&&(I=null)):(M=null,I=A),M!==I)){if(F=Or,C="onMouseLeave",E="onMouseEnter",p="mouse",(t==="pointerout"||t==="pointerover")&&(F=Mr,C="onPointerLeave",E="onPointerEnter",p="pointer"),yt=M==null?O:ja(M),T=I==null?O:ja(I),O=new F(C,p+"leave",M,l,D),O.target=yt,O.relatedTarget=T,C=null,Kl(D)===A&&(F=new F(E,p+"enter",I,l,D),F.target=T,F.relatedTarget=yt,C=F),yt=C,M&&I)e:{for(F=M,E=I,p=0,T=F;T;T=xa(T))p++;for(T=0,C=E;C;C=xa(C))T++;for(;0<p-T;)F=xa(F),p--;for(;0<T-p;)E=xa(E),T--;for(;p--;){if(F===E||E!==null&&F===E.alternate)break e;F=xa(F),E=xa(E)}F=null}else F=null;M!==null&&gh(U,O,M,F,!1),I!==null&&yt!==null&&gh(U,yt,I,F,!0)}}t:{if(O=A?ja(A):window,M=O.nodeName&&O.nodeName.toLowerCase(),M==="select"||M==="input"&&O.type==="file")var Z=Hr;else if(Nr(O))if(jr)Z=Wm;else{Z=$m;var at=km}else M=O.nodeName,!M||M.toLowerCase()!=="input"||O.type!=="checkbox"&&O.type!=="radio"?A&&Oi(A.elementType)&&(Z=Hr):Z=Fm;if(Z&&(Z=Z(t,A))){qr(U,Z,l,D);break t}at&&at(t,O,A),t==="focusout"&&A&&O.type==="number"&&A.memoizedProps.value!=null&&Ai(O,"number",O.value)}switch(at=A?ja(A):window,t){case"focusin":(Nr(at)||at.contentEditable==="true")&&(la=at,Li=A,Va=null);break;case"focusout":Va=Li=la=null;break;case"mousedown":Qi=!0;break;case"contextmenu":case"mouseup":case"dragend":Qi=!1,Zr(U,l,D);break;case"selectionchange":if(Im)break;case"keydown":case"keyup":Zr(U,l,D)}var V;if(Hi)t:{switch(t){case"compositionstart":var W="onCompositionStart";break t;case"compositionend":W="onCompositionEnd";break t;case"compositionupdate":W="onCompositionUpdate";break t}W=void 0}else ea?Cr(t,l)&&(W="onCompositionEnd"):t==="keydown"&&l.keyCode===229&&(W="onCompositionStart");W&&(_r&&l.locale!=="ko"&&(ea||W!=="onCompositionStart"?W==="onCompositionEnd"&&ea&&(V=Rr()):(ll=D,zi="value"in ll?ll.value:ll.textContent,ea=!0)),at=Bu(A,W),0<at.length&&(W=new xr(W,t,null,l,D),U.push({event:W,listeners:at}),V?W.data=V:(V=Ur(l),V!==null&&(W.data=V)))),(V=Xm?Zm(t,l):Vm(t,l))&&(W=Bu(A,"onBeforeInput"),0<W.length&&(at=new xr("onBeforeInput","beforeinput",null,l,D),U.push({event:at,listeners:W}),at.data=V)),Hy(U,t,A,l,D)}yh(U,e)})}function Sn(t,e,l){return{instance:t,listener:e,currentTarget:l}}function Bu(t,e){for(var l=e+"Capture",a=[];t!==null;){var n=t,i=n.stateNode;if(n=n.tag,n!==5&&n!==26&&n!==27||i===null||(n=wa(t,l),n!=null&&a.unshift(Sn(t,n,i)),n=wa(t,e),n!=null&&a.push(Sn(t,n,i))),t.tag===3)return a;t=t.return}return[]}function xa(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function gh(t,e,l,a,n){for(var i=e._reactName,r=[];l!==null&&l!==a;){var o=l,m=o.alternate,A=o.stateNode;if(o=o.tag,m!==null&&m===a)break;o!==5&&o!==26&&o!==27||A===null||(m=A,n?(A=wa(l,i),A!=null&&r.unshift(Sn(l,A,m))):n||(A=wa(l,i),A!=null&&r.push(Sn(l,A,m)))),l=l.return}r.length!==0&&t.push({event:e,listeners:r})}var Ly=/\r\n?/g,Qy=/\u0000|\uFFFD/g;function ph(t){return(typeof t=="string"?t:""+t).replace(Ly,`
|
|
50
|
+
`).replace(Qy,"")}function bh(t,e){return e=ph(e),ph(t)===e}function Lu(){}function mt(t,e,l,a,n,i){switch(l){case"children":typeof a=="string"?e==="body"||e==="textarea"&&a===""||Pl(t,a):(typeof a=="number"||typeof a=="bigint")&&e!=="body"&&Pl(t,""+a);break;case"className":Zn(t,"class",a);break;case"tabIndex":Zn(t,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":Zn(t,l,a);break;case"style":Sr(t,a,i);break;case"data":if(e!=="object"){Zn(t,"data",a);break}case"src":case"href":if(a===""&&(e!=="a"||l!=="href")){t.removeAttribute(l);break}if(a==null||typeof a=="function"||typeof a=="symbol"||typeof a=="boolean"){t.removeAttribute(l);break}a=Jn(""+a),t.setAttribute(l,a);break;case"action":case"formAction":if(typeof a=="function"){t.setAttribute(l,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof i=="function"&&(l==="formAction"?(e!=="input"&&mt(t,e,"name",n.name,n,null),mt(t,e,"formEncType",n.formEncType,n,null),mt(t,e,"formMethod",n.formMethod,n,null),mt(t,e,"formTarget",n.formTarget,n,null)):(mt(t,e,"encType",n.encType,n,null),mt(t,e,"method",n.method,n,null),mt(t,e,"target",n.target,n,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){t.removeAttribute(l);break}a=Jn(""+a),t.setAttribute(l,a);break;case"onClick":a!=null&&(t.onclick=Lu);break;case"onScroll":a!=null&&ut("scroll",t);break;case"onScrollEnd":a!=null&&ut("scrollend",t);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(s(61));if(l=a.__html,l!=null){if(n.children!=null)throw Error(s(60));t.innerHTML=l}}break;case"multiple":t.multiple=a&&typeof a!="function"&&typeof a!="symbol";break;case"muted":t.muted=a&&typeof a!="function"&&typeof a!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(a==null||typeof a=="function"||typeof a=="boolean"||typeof a=="symbol"){t.removeAttribute("xlink:href");break}l=Jn(""+a),t.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",l);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":a!=null&&typeof a!="function"&&typeof a!="symbol"?t.setAttribute(l,""+a):t.removeAttribute(l);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":a&&typeof a!="function"&&typeof a!="symbol"?t.setAttribute(l,""):t.removeAttribute(l);break;case"capture":case"download":a===!0?t.setAttribute(l,""):a!==!1&&a!=null&&typeof a!="function"&&typeof a!="symbol"?t.setAttribute(l,a):t.removeAttribute(l);break;case"cols":case"rows":case"size":case"span":a!=null&&typeof a!="function"&&typeof a!="symbol"&&!isNaN(a)&&1<=a?t.setAttribute(l,a):t.removeAttribute(l);break;case"rowSpan":case"start":a==null||typeof a=="function"||typeof a=="symbol"||isNaN(a)?t.removeAttribute(l):t.setAttribute(l,a);break;case"popover":ut("beforetoggle",t),ut("toggle",t),Xn(t,"popover",a);break;case"xlinkActuate":je(t,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":je(t,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":je(t,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":je(t,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":je(t,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":je(t,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":je(t,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":je(t,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":je(t,"http://www.w3.org/XML/1998/namespace","xml:space",a);break;case"is":Xn(t,"is",a);break;case"innerText":case"textContent":break;default:(!(2<l.length)||l[0]!=="o"&&l[0]!=="O"||l[1]!=="n"&&l[1]!=="N")&&(l=vm.get(l)||l,Xn(t,l,a))}}function sf(t,e,l,a,n,i){switch(l){case"style":Sr(t,a,i);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(s(61));if(l=a.__html,l!=null){if(n.children!=null)throw Error(s(60));t.innerHTML=l}}break;case"children":typeof a=="string"?Pl(t,a):(typeof a=="number"||typeof a=="bigint")&&Pl(t,""+a);break;case"onScroll":a!=null&&ut("scroll",t);break;case"onScrollEnd":a!=null&&ut("scrollend",t);break;case"onClick":a!=null&&(t.onclick=Lu);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!rr.hasOwnProperty(l))t:{if(l[0]==="o"&&l[1]==="n"&&(n=l.endsWith("Capture"),e=l.slice(2,n?l.length-7:void 0),i=t[$t]||null,i=i!=null?i[l]:null,typeof i=="function"&&t.removeEventListener(e,i,n),typeof a=="function")){typeof i!="function"&&i!==null&&(l in t?t[l]=null:t.hasAttribute(l)&&t.removeAttribute(l)),t.addEventListener(e,a,n);break t}l in t?t[l]=a:a===!0?t.setAttribute(l,""):Xn(t,l,a)}}}function Yt(t,e,l){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":ut("error",t),ut("load",t);var a=!1,n=!1,i;for(i in l)if(l.hasOwnProperty(i)){var r=l[i];if(r!=null)switch(i){case"src":a=!0;break;case"srcSet":n=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(s(137,e));default:mt(t,e,i,r,l,null)}}n&&mt(t,e,"srcSet",l.srcSet,l,null),a&&mt(t,e,"src",l.src,l,null);return;case"input":ut("invalid",t);var o=i=r=n=null,m=null,A=null;for(a in l)if(l.hasOwnProperty(a)){var D=l[a];if(D!=null)switch(a){case"name":n=D;break;case"type":r=D;break;case"checked":m=D;break;case"defaultChecked":A=D;break;case"value":i=D;break;case"defaultValue":o=D;break;case"children":case"dangerouslySetInnerHTML":if(D!=null)throw Error(s(137,e));break;default:mt(t,e,a,D,l,null)}}vr(t,i,o,m,A,r,n,!1),Vn(t);return;case"select":ut("invalid",t),a=r=i=null;for(n in l)if(l.hasOwnProperty(n)&&(o=l[n],o!=null))switch(n){case"value":i=o;break;case"defaultValue":r=o;break;case"multiple":a=o;default:mt(t,e,n,o,l,null)}e=i,l=r,t.multiple=!!a,e!=null?Wl(t,!!a,e,!1):l!=null&&Wl(t,!!a,l,!0);return;case"textarea":ut("invalid",t),i=n=a=null;for(r in l)if(l.hasOwnProperty(r)&&(o=l[r],o!=null))switch(r){case"value":a=o;break;case"defaultValue":n=o;break;case"children":i=o;break;case"dangerouslySetInnerHTML":if(o!=null)throw Error(s(91));break;default:mt(t,e,r,o,l,null)}pr(t,a,n,i),Vn(t);return;case"option":for(m in l)if(l.hasOwnProperty(m)&&(a=l[m],a!=null))switch(m){case"selected":t.selected=a&&typeof a!="function"&&typeof a!="symbol";break;default:mt(t,e,m,a,l,null)}return;case"dialog":ut("beforetoggle",t),ut("toggle",t),ut("cancel",t),ut("close",t);break;case"iframe":case"object":ut("load",t);break;case"video":case"audio":for(a=0;a<bn.length;a++)ut(bn[a],t);break;case"image":ut("error",t),ut("load",t);break;case"details":ut("toggle",t);break;case"embed":case"source":case"link":ut("error",t),ut("load",t);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(A in l)if(l.hasOwnProperty(A)&&(a=l[A],a!=null))switch(A){case"children":case"dangerouslySetInnerHTML":throw Error(s(137,e));default:mt(t,e,A,a,l,null)}return;default:if(Oi(e)){for(D in l)l.hasOwnProperty(D)&&(a=l[D],a!==void 0&&sf(t,e,D,a,l,void 0));return}}for(o in l)l.hasOwnProperty(o)&&(a=l[o],a!=null&&mt(t,e,o,a,l,null))}function Yy(t,e,l,a){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var n=null,i=null,r=null,o=null,m=null,A=null,D=null;for(M in l){var U=l[M];if(l.hasOwnProperty(M)&&U!=null)switch(M){case"checked":break;case"value":break;case"defaultValue":m=U;default:a.hasOwnProperty(M)||mt(t,e,M,null,a,U)}}for(var O in a){var M=a[O];if(U=l[O],a.hasOwnProperty(O)&&(M!=null||U!=null))switch(O){case"type":i=M;break;case"name":n=M;break;case"checked":A=M;break;case"defaultChecked":D=M;break;case"value":r=M;break;case"defaultValue":o=M;break;case"children":case"dangerouslySetInnerHTML":if(M!=null)throw Error(s(137,e));break;default:M!==U&&mt(t,e,O,M,a,U)}}Ri(t,r,o,m,A,D,i,n);return;case"select":M=r=o=O=null;for(i in l)if(m=l[i],l.hasOwnProperty(i)&&m!=null)switch(i){case"value":break;case"multiple":M=m;default:a.hasOwnProperty(i)||mt(t,e,i,null,a,m)}for(n in a)if(i=a[n],m=l[n],a.hasOwnProperty(n)&&(i!=null||m!=null))switch(n){case"value":O=i;break;case"defaultValue":o=i;break;case"multiple":r=i;default:i!==m&&mt(t,e,n,i,a,m)}e=o,l=r,a=M,O!=null?Wl(t,!!l,O,!1):!!a!=!!l&&(e!=null?Wl(t,!!l,e,!0):Wl(t,!!l,l?[]:"",!1));return;case"textarea":M=O=null;for(o in l)if(n=l[o],l.hasOwnProperty(o)&&n!=null&&!a.hasOwnProperty(o))switch(o){case"value":break;case"children":break;default:mt(t,e,o,null,a,n)}for(r in a)if(n=a[r],i=l[r],a.hasOwnProperty(r)&&(n!=null||i!=null))switch(r){case"value":O=n;break;case"defaultValue":M=n;break;case"children":break;case"dangerouslySetInnerHTML":if(n!=null)throw Error(s(91));break;default:n!==i&&mt(t,e,r,n,a,i)}gr(t,O,M);return;case"option":for(var I in l)if(O=l[I],l.hasOwnProperty(I)&&O!=null&&!a.hasOwnProperty(I))switch(I){case"selected":t.selected=!1;break;default:mt(t,e,I,null,a,O)}for(m in a)if(O=a[m],M=l[m],a.hasOwnProperty(m)&&O!==M&&(O!=null||M!=null))switch(m){case"selected":t.selected=O&&typeof O!="function"&&typeof O!="symbol";break;default:mt(t,e,m,O,a,M)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var F in l)O=l[F],l.hasOwnProperty(F)&&O!=null&&!a.hasOwnProperty(F)&&mt(t,e,F,null,a,O);for(A in a)if(O=a[A],M=l[A],a.hasOwnProperty(A)&&O!==M&&(O!=null||M!=null))switch(A){case"children":case"dangerouslySetInnerHTML":if(O!=null)throw Error(s(137,e));break;default:mt(t,e,A,O,a,M)}return;default:if(Oi(e)){for(var yt in l)O=l[yt],l.hasOwnProperty(yt)&&O!==void 0&&!a.hasOwnProperty(yt)&&sf(t,e,yt,void 0,a,O);for(D in a)O=a[D],M=l[D],!a.hasOwnProperty(D)||O===M||O===void 0&&M===void 0||sf(t,e,D,O,a,M);return}}for(var E in l)O=l[E],l.hasOwnProperty(E)&&O!=null&&!a.hasOwnProperty(E)&&mt(t,e,E,null,a,O);for(U in a)O=a[U],M=l[U],!a.hasOwnProperty(U)||O===M||O==null&&M==null||mt(t,e,U,O,a,M)}var of=null,hf=null;function Qu(t){return t.nodeType===9?t:t.ownerDocument}function Sh(t){switch(t){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Eh(t,e){if(t===0)switch(e){case"svg":return 1;case"math":return 2;default:return 0}return t===1&&e==="foreignObject"?0:t}function df(t,e){return t==="textarea"||t==="noscript"||typeof e.children=="string"||typeof e.children=="number"||typeof e.children=="bigint"||typeof e.dangerouslySetInnerHTML=="object"&&e.dangerouslySetInnerHTML!==null&&e.dangerouslySetInnerHTML.__html!=null}var mf=null;function Gy(){var t=window.event;return t&&t.type==="popstate"?t===mf?!1:(mf=t,!0):(mf=null,!1)}var Th=typeof setTimeout=="function"?setTimeout:void 0,Xy=typeof clearTimeout=="function"?clearTimeout:void 0,Rh=typeof Promise=="function"?Promise:void 0,Zy=typeof queueMicrotask=="function"?queueMicrotask:typeof Rh<"u"?function(t){return Rh.resolve(null).then(t).catch(Vy)}:Th;function Vy(t){setTimeout(function(){throw t})}function pl(t){return t==="head"}function Ah(t,e){var l=e,a=0,n=0;do{var i=l.nextSibling;if(t.removeChild(l),i&&i.nodeType===8)if(l=i.data,l==="/$"){if(0<a&&8>a){l=a;var r=t.ownerDocument;if(l&1&&En(r.documentElement),l&2&&En(r.body),l&4)for(l=r.head,En(l),r=l.firstChild;r;){var o=r.nextSibling,m=r.nodeName;r[Ha]||m==="SCRIPT"||m==="STYLE"||m==="LINK"&&r.rel.toLowerCase()==="stylesheet"||l.removeChild(r),r=o}}if(n===0){t.removeChild(i),Dn(e);return}n--}else l==="$"||l==="$?"||l==="$!"?n++:a=l.charCodeAt(0)-48;else a=0;l=i}while(l);Dn(e)}function yf(t){var e=t.firstChild;for(e&&e.nodeType===10&&(e=e.nextSibling);e;){var l=e;switch(e=e.nextSibling,l.nodeName){case"HTML":case"HEAD":case"BODY":yf(l),bi(l);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(l.rel.toLowerCase()==="stylesheet")continue}t.removeChild(l)}}function Ky(t,e,l,a){for(;t.nodeType===1;){var n=l;if(t.nodeName.toLowerCase()!==e.toLowerCase()){if(!a&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(a){if(!t[Ha])switch(e){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(i=t.getAttribute("rel"),i==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(i!==n.rel||t.getAttribute("href")!==(n.href==null||n.href===""?null:n.href)||t.getAttribute("crossorigin")!==(n.crossOrigin==null?null:n.crossOrigin)||t.getAttribute("title")!==(n.title==null?null:n.title))break;return t;case"style":if(t.hasAttribute("data-precedence"))break;return t;case"script":if(i=t.getAttribute("src"),(i!==(n.src==null?null:n.src)||t.getAttribute("type")!==(n.type==null?null:n.type)||t.getAttribute("crossorigin")!==(n.crossOrigin==null?null:n.crossOrigin))&&i&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(e==="input"&&t.type==="hidden"){var i=n.name==null?null:""+n.name;if(n.type==="hidden"&&t.getAttribute("name")===i)return t}else return t;if(t=Oe(t.nextSibling),t===null)break}return null}function Jy(t,e,l){if(e==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!l||(t=Oe(t.nextSibling),t===null))return null;return t}function vf(t){return t.data==="$!"||t.data==="$?"&&t.ownerDocument.readyState==="complete"}function ky(t,e){var l=t.ownerDocument;if(t.data!=="$?"||l.readyState==="complete")e();else{var a=function(){e(),l.removeEventListener("DOMContentLoaded",a)};l.addEventListener("DOMContentLoaded",a),t._reactRetry=a}}function Oe(t){for(;t!=null;t=t.nextSibling){var e=t.nodeType;if(e===1||e===3)break;if(e===8){if(e=t.data,e==="$"||e==="$!"||e==="$?"||e==="F!"||e==="F")break;if(e==="/$")return null}}return t}var gf=null;function Oh(t){t=t.previousSibling;for(var e=0;t;){if(t.nodeType===8){var l=t.data;if(l==="$"||l==="$!"||l==="$?"){if(e===0)return t;e--}else l==="/$"&&e++}t=t.previousSibling}return null}function xh(t,e,l){switch(e=Qu(l),t){case"html":if(t=e.documentElement,!t)throw Error(s(452));return t;case"head":if(t=e.head,!t)throw Error(s(453));return t;case"body":if(t=e.body,!t)throw Error(s(454));return t;default:throw Error(s(451))}}function En(t){for(var e=t.attributes;e.length;)t.removeAttributeNode(e[0]);bi(t)}var Se=new Map,Mh=new Set;function Yu(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}var Fe=Y.d;Y.d={f:$y,r:Fy,D:Wy,C:Py,L:Iy,m:t0,X:l0,S:e0,M:a0};function $y(){var t=Fe.f(),e=Uu();return t||e}function Fy(t){var e=Jl(t);e!==null&&e.tag===5&&e.type==="form"?Ks(e):Fe.r(t)}var Ma=typeof document>"u"?null:document;function _h(t,e,l){var a=Ma;if(a&&typeof e=="string"&&e){var n=de(e);n='link[rel="'+t+'"][href="'+n+'"]',typeof l=="string"&&(n+='[crossorigin="'+l+'"]'),Mh.has(n)||(Mh.add(n),t={rel:t,crossOrigin:l,href:e},a.querySelector(n)===null&&(e=a.createElement("link"),Yt(e,"link",t),qt(e),a.head.appendChild(e)))}}function Wy(t){Fe.D(t),_h("dns-prefetch",t,null)}function Py(t,e){Fe.C(t,e),_h("preconnect",t,e)}function Iy(t,e,l){Fe.L(t,e,l);var a=Ma;if(a&&t&&e){var n='link[rel="preload"][as="'+de(e)+'"]';e==="image"&&l&&l.imageSrcSet?(n+='[imagesrcset="'+de(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(n+='[imagesizes="'+de(l.imageSizes)+'"]')):n+='[href="'+de(t)+'"]';var i=n;switch(e){case"style":i=_a(t);break;case"script":i=Da(t)}Se.has(i)||(t=R({rel:"preload",href:e==="image"&&l&&l.imageSrcSet?void 0:t,as:e},l),Se.set(i,t),a.querySelector(n)!==null||e==="style"&&a.querySelector(Tn(i))||e==="script"&&a.querySelector(Rn(i))||(e=a.createElement("link"),Yt(e,"link",t),qt(e),a.head.appendChild(e)))}}function t0(t,e){Fe.m(t,e);var l=Ma;if(l&&t){var a=e&&typeof e.as=="string"?e.as:"script",n='link[rel="modulepreload"][as="'+de(a)+'"][href="'+de(t)+'"]',i=n;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":i=Da(t)}if(!Se.has(i)&&(t=R({rel:"modulepreload",href:t},e),Se.set(i,t),l.querySelector(n)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(Rn(i)))return}a=l.createElement("link"),Yt(a,"link",t),qt(a),l.head.appendChild(a)}}}function e0(t,e,l){Fe.S(t,e,l);var a=Ma;if(a&&t){var n=kl(a).hoistableStyles,i=_a(t);e=e||"default";var r=n.get(i);if(!r){var o={loading:0,preload:null};if(r=a.querySelector(Tn(i)))o.loading=5;else{t=R({rel:"stylesheet",href:t,"data-precedence":e},l),(l=Se.get(i))&&pf(t,l);var m=r=a.createElement("link");qt(m),Yt(m,"link",t),m._p=new Promise(function(A,D){m.onload=A,m.onerror=D}),m.addEventListener("load",function(){o.loading|=1}),m.addEventListener("error",function(){o.loading|=2}),o.loading|=4,Gu(r,e,a)}r={type:"stylesheet",instance:r,count:1,state:o},n.set(i,r)}}}function l0(t,e){Fe.X(t,e);var l=Ma;if(l&&t){var a=kl(l).hoistableScripts,n=Da(t),i=a.get(n);i||(i=l.querySelector(Rn(n)),i||(t=R({src:t,async:!0},e),(e=Se.get(n))&&bf(t,e),i=l.createElement("script"),qt(i),Yt(i,"link",t),l.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},a.set(n,i))}}function a0(t,e){Fe.M(t,e);var l=Ma;if(l&&t){var a=kl(l).hoistableScripts,n=Da(t),i=a.get(n);i||(i=l.querySelector(Rn(n)),i||(t=R({src:t,async:!0,type:"module"},e),(e=Se.get(n))&&bf(t,e),i=l.createElement("script"),qt(i),Yt(i,"link",t),l.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},a.set(n,i))}}function Dh(t,e,l,a){var n=(n=tt.current)?Yu(n):null;if(!n)throw Error(s(446));switch(t){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(e=_a(l.href),l=kl(n).hoistableStyles,a=l.get(e),a||(a={type:"style",instance:null,count:0,state:null},l.set(e,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if(l.rel==="stylesheet"&&typeof l.href=="string"&&typeof l.precedence=="string"){t=_a(l.href);var i=kl(n).hoistableStyles,r=i.get(t);if(r||(n=n.ownerDocument||n,r={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},i.set(t,r),(i=n.querySelector(Tn(t)))&&!i._p&&(r.instance=i,r.state.loading=5),Se.has(t)||(l={rel:"preload",as:"style",href:l.href,crossOrigin:l.crossOrigin,integrity:l.integrity,media:l.media,hrefLang:l.hrefLang,referrerPolicy:l.referrerPolicy},Se.set(t,l),i||n0(n,t,l,r.state))),e&&a===null)throw Error(s(528,""));return r}if(e&&a!==null)throw Error(s(529,""));return null;case"script":return e=l.async,l=l.src,typeof l=="string"&&e&&typeof e!="function"&&typeof e!="symbol"?(e=Da(l),l=kl(n).hoistableScripts,a=l.get(e),a||(a={type:"script",instance:null,count:0,state:null},l.set(e,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error(s(444,t))}}function _a(t){return'href="'+de(t)+'"'}function Tn(t){return'link[rel="stylesheet"]['+t+"]"}function zh(t){return R({},t,{"data-precedence":t.precedence,precedence:null})}function n0(t,e,l,a){t.querySelector('link[rel="preload"][as="style"]['+e+"]")?a.loading=1:(e=t.createElement("link"),a.preload=e,e.addEventListener("load",function(){return a.loading|=1}),e.addEventListener("error",function(){return a.loading|=2}),Yt(e,"link",l),qt(e),t.head.appendChild(e))}function Da(t){return'[src="'+de(t)+'"]'}function Rn(t){return"script[async]"+t}function Ch(t,e,l){if(e.count++,e.instance===null)switch(e.type){case"style":var a=t.querySelector('style[data-href~="'+de(l.href)+'"]');if(a)return e.instance=a,qt(a),a;var n=R({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return a=(t.ownerDocument||t).createElement("style"),qt(a),Yt(a,"style",n),Gu(a,l.precedence,t),e.instance=a;case"stylesheet":n=_a(l.href);var i=t.querySelector(Tn(n));if(i)return e.state.loading|=4,e.instance=i,qt(i),i;a=zh(l),(n=Se.get(n))&&pf(a,n),i=(t.ownerDocument||t).createElement("link"),qt(i);var r=i;return r._p=new Promise(function(o,m){r.onload=o,r.onerror=m}),Yt(i,"link",a),e.state.loading|=4,Gu(i,l.precedence,t),e.instance=i;case"script":return i=Da(l.src),(n=t.querySelector(Rn(i)))?(e.instance=n,qt(n),n):(a=l,(n=Se.get(i))&&(a=R({},l),bf(a,n)),t=t.ownerDocument||t,n=t.createElement("script"),qt(n),Yt(n,"link",a),t.head.appendChild(n),e.instance=n);case"void":return null;default:throw Error(s(443,e.type))}else e.type==="stylesheet"&&(e.state.loading&4)===0&&(a=e.instance,e.state.loading|=4,Gu(a,l.precedence,t));return e.instance}function Gu(t,e,l){for(var a=l.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),n=a.length?a[a.length-1]:null,i=n,r=0;r<a.length;r++){var o=a[r];if(o.dataset.precedence===e)i=o;else if(i!==n)break}i?i.parentNode.insertBefore(t,i.nextSibling):(e=l.nodeType===9?l.head:l,e.insertBefore(t,e.firstChild))}function pf(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.title==null&&(t.title=e.title)}function bf(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.integrity==null&&(t.integrity=e.integrity)}var Xu=null;function Uh(t,e,l){if(Xu===null){var a=new Map,n=Xu=new Map;n.set(l,a)}else n=Xu,a=n.get(l),a||(a=new Map,n.set(l,a));if(a.has(t))return a;for(a.set(t,null),l=l.getElementsByTagName(t),n=0;n<l.length;n++){var i=l[n];if(!(i[Ha]||i[Zt]||t==="link"&&i.getAttribute("rel")==="stylesheet")&&i.namespaceURI!=="http://www.w3.org/2000/svg"){var r=i.getAttribute(e)||"";r=t+r;var o=a.get(r);o?o.push(i):a.set(r,[i])}}return a}function Nh(t,e,l){t=t.ownerDocument||t,t.head.insertBefore(l,e==="title"?t.querySelector("head > title"):null)}function u0(t,e,l){if(l===1||e.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof e.precedence!="string"||typeof e.href!="string"||e.href==="")break;return!0;case"link":if(typeof e.rel!="string"||typeof e.href!="string"||e.href===""||e.onLoad||e.onError)break;switch(e.rel){case"stylesheet":return t=e.disabled,typeof e.precedence=="string"&&t==null;default:return!0}case"script":if(e.async&&typeof e.async!="function"&&typeof e.async!="symbol"&&!e.onLoad&&!e.onError&&e.src&&typeof e.src=="string")return!0}return!1}function qh(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}var An=null;function i0(){}function c0(t,e,l){if(An===null)throw Error(s(475));var a=An;if(e.type==="stylesheet"&&(typeof l.media!="string"||matchMedia(l.media).matches!==!1)&&(e.state.loading&4)===0){if(e.instance===null){var n=_a(l.href),i=t.querySelector(Tn(n));if(i){t=i._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(a.count++,a=Zu.bind(a),t.then(a,a)),e.state.loading|=4,e.instance=i,qt(i);return}i=t.ownerDocument||t,l=zh(l),(n=Se.get(n))&&pf(l,n),i=i.createElement("link"),qt(i);var r=i;r._p=new Promise(function(o,m){r.onload=o,r.onerror=m}),Yt(i,"link",l),e.instance=i}a.stylesheets===null&&(a.stylesheets=new Map),a.stylesheets.set(e,t),(t=e.state.preload)&&(e.state.loading&3)===0&&(a.count++,e=Zu.bind(a),t.addEventListener("load",e),t.addEventListener("error",e))}}function f0(){if(An===null)throw Error(s(475));var t=An;return t.stylesheets&&t.count===0&&Sf(t,t.stylesheets),0<t.count?function(e){var l=setTimeout(function(){if(t.stylesheets&&Sf(t,t.stylesheets),t.unsuspend){var a=t.unsuspend;t.unsuspend=null,a()}},6e4);return t.unsuspend=e,function(){t.unsuspend=null,clearTimeout(l)}}:null}function Zu(){if(this.count--,this.count===0){if(this.stylesheets)Sf(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var Vu=null;function Sf(t,e){t.stylesheets=null,t.unsuspend!==null&&(t.count++,Vu=new Map,e.forEach(r0,t),Vu=null,Zu.call(t))}function r0(t,e){if(!(e.state.loading&4)){var l=Vu.get(t);if(l)var a=l.get(null);else{l=new Map,Vu.set(t,l);for(var n=t.querySelectorAll("link[data-precedence],style[data-precedence]"),i=0;i<n.length;i++){var r=n[i];(r.nodeName==="LINK"||r.getAttribute("media")!=="not all")&&(l.set(r.dataset.precedence,r),a=r)}a&&l.set(null,a)}n=e.instance,r=n.getAttribute("data-precedence"),i=l.get(r)||a,i===a&&l.set(null,n),l.set(r,n),this.count++,a=Zu.bind(this),n.addEventListener("load",a),n.addEventListener("error",a),i?i.parentNode.insertBefore(n,i.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(n,t.firstChild)),e.state.loading|=4}}var On={$$typeof:J,Provider:null,Consumer:null,_currentValue:P,_currentValue2:P,_threadCount:0};function s0(t,e,l,a,n,i,r,o){this.tag=1,this.containerInfo=t,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=yi(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=yi(0),this.hiddenUpdates=yi(null),this.identifierPrefix=a,this.onUncaughtError=n,this.onCaughtError=i,this.onRecoverableError=r,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=o,this.incompleteTransitions=new Map}function Hh(t,e,l,a,n,i,r,o,m,A,D,U){return t=new s0(t,e,l,r,o,m,A,U),e=1,i===!0&&(e|=24),i=ne(3,null,null,e),t.current=i,i.stateNode=t,e=tc(),e.refCount++,t.pooledCache=e,e.refCount++,i.memoizedState={element:a,isDehydrated:l,cache:e},nc(i),t}function jh(t){return t?(t=ia,t):ia}function wh(t,e,l,a,n,i){n=jh(n),a.context===null?a.context=n:a.pendingContext=n,a=ul(e),a.payload={element:l},i=i===void 0?null:i,i!==null&&(a.callback=i),l=il(t,a,e),l!==null&&(re(l,t,e),tn(l,t,e))}function Bh(t,e){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var l=t.retryLane;t.retryLane=l!==0&&l<e?l:e}}function Ef(t,e){Bh(t,e),(t=t.alternate)&&Bh(t,e)}function Lh(t){if(t.tag===13){var e=ua(t,67108864);e!==null&&re(e,t,67108864),Ef(t,67108864)}}var Ku=!0;function o0(t,e,l,a){var n=z.T;z.T=null;var i=Y.p;try{Y.p=2,Tf(t,e,l,a)}finally{Y.p=i,z.T=n}}function h0(t,e,l,a){var n=z.T;z.T=null;var i=Y.p;try{Y.p=8,Tf(t,e,l,a)}finally{Y.p=i,z.T=n}}function Tf(t,e,l,a){if(Ku){var n=Rf(a);if(n===null)rf(t,e,a,Ju,l),Yh(t,a);else if(m0(n,t,e,l,a))a.stopPropagation();else if(Yh(t,a),e&4&&-1<d0.indexOf(t)){for(;n!==null;){var i=Jl(n);if(i!==null)switch(i.tag){case 3:if(i=i.stateNode,i.current.memoizedState.isDehydrated){var r=Ml(i.pendingLanes);if(r!==0){var o=i;for(o.pendingLanes|=2,o.entangledLanes|=2;r;){var m=1<<31-le(r);o.entanglements[1]|=m,r&=~m}Ue(i),(ot&6)===0&&(zu=Me()+500,pn(0))}}break;case 13:o=ua(i,2),o!==null&&re(o,i,2),Uu(),Ef(i,2)}if(i=Rf(a),i===null&&rf(t,e,a,Ju,l),i===n)break;n=i}n!==null&&a.stopPropagation()}else rf(t,e,a,null,l)}}function Rf(t){return t=Mi(t),Af(t)}var Ju=null;function Af(t){if(Ju=null,t=Kl(t),t!==null){var e=d(t);if(e===null)t=null;else{var l=e.tag;if(l===13){if(t=y(e),t!==null)return t;t=null}else if(l===3){if(e.stateNode.current.memoizedState.isDehydrated)return e.tag===3?e.stateNode.containerInfo:null;t=null}else e!==t&&(t=null)}}return Ju=t,null}function Qh(t){switch(t){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(Pd()){case If:return 2;case tr:return 8;case Ln:case Id:return 32;case er:return 268435456;default:return 32}default:return 32}}var Of=!1,bl=null,Sl=null,El=null,xn=new Map,Mn=new Map,Tl=[],d0="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function Yh(t,e){switch(t){case"focusin":case"focusout":bl=null;break;case"dragenter":case"dragleave":Sl=null;break;case"mouseover":case"mouseout":El=null;break;case"pointerover":case"pointerout":xn.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":Mn.delete(e.pointerId)}}function _n(t,e,l,a,n,i){return t===null||t.nativeEvent!==i?(t={blockedOn:e,domEventName:l,eventSystemFlags:a,nativeEvent:i,targetContainers:[n]},e!==null&&(e=Jl(e),e!==null&&Lh(e)),t):(t.eventSystemFlags|=a,e=t.targetContainers,n!==null&&e.indexOf(n)===-1&&e.push(n),t)}function m0(t,e,l,a,n){switch(e){case"focusin":return bl=_n(bl,t,e,l,a,n),!0;case"dragenter":return Sl=_n(Sl,t,e,l,a,n),!0;case"mouseover":return El=_n(El,t,e,l,a,n),!0;case"pointerover":var i=n.pointerId;return xn.set(i,_n(xn.get(i)||null,t,e,l,a,n)),!0;case"gotpointercapture":return i=n.pointerId,Mn.set(i,_n(Mn.get(i)||null,t,e,l,a,n)),!0}return!1}function Gh(t){var e=Kl(t.target);if(e!==null){var l=d(e);if(l!==null){if(e=l.tag,e===13){if(e=y(l),e!==null){t.blockedOn=e,cm(t.priority,function(){if(l.tag===13){var a=fe();a=vi(a);var n=ua(l,a);n!==null&&re(n,l,a),Ef(l,a)}});return}}else if(e===3&&l.stateNode.current.memoizedState.isDehydrated){t.blockedOn=l.tag===3?l.stateNode.containerInfo:null;return}}}t.blockedOn=null}function ku(t){if(t.blockedOn!==null)return!1;for(var e=t.targetContainers;0<e.length;){var l=Rf(t.nativeEvent);if(l===null){l=t.nativeEvent;var a=new l.constructor(l.type,l);xi=a,l.target.dispatchEvent(a),xi=null}else return e=Jl(l),e!==null&&Lh(e),t.blockedOn=l,!1;e.shift()}return!0}function Xh(t,e,l){ku(t)&&l.delete(e)}function y0(){Of=!1,bl!==null&&ku(bl)&&(bl=null),Sl!==null&&ku(Sl)&&(Sl=null),El!==null&&ku(El)&&(El=null),xn.forEach(Xh),Mn.forEach(Xh)}function $u(t,e){t.blockedOn===e&&(t.blockedOn=null,Of||(Of=!0,u.unstable_scheduleCallback(u.unstable_NormalPriority,y0)))}var Fu=null;function Zh(t){Fu!==t&&(Fu=t,u.unstable_scheduleCallback(u.unstable_NormalPriority,function(){Fu===t&&(Fu=null);for(var e=0;e<t.length;e+=3){var l=t[e],a=t[e+1],n=t[e+2];if(typeof a!="function"){if(Af(a||l)===null)continue;break}var i=Jl(l);i!==null&&(t.splice(e,3),e-=3,Rc(i,{pending:!0,data:n,method:l.method,action:a},a,n))}}))}function Dn(t){function e(m){return $u(m,t)}bl!==null&&$u(bl,t),Sl!==null&&$u(Sl,t),El!==null&&$u(El,t),xn.forEach(e),Mn.forEach(e);for(var l=0;l<Tl.length;l++){var a=Tl[l];a.blockedOn===t&&(a.blockedOn=null)}for(;0<Tl.length&&(l=Tl[0],l.blockedOn===null);)Gh(l),l.blockedOn===null&&Tl.shift();if(l=(t.ownerDocument||t).$$reactFormReplay,l!=null)for(a=0;a<l.length;a+=3){var n=l[a],i=l[a+1],r=n[$t]||null;if(typeof i=="function")r||Zh(l);else if(r){var o=null;if(i&&i.hasAttribute("formAction")){if(n=i,r=i[$t]||null)o=r.formAction;else if(Af(n)!==null)continue}else o=r.action;typeof o=="function"?l[a+1]=o:(l.splice(a,3),a-=3),Zh(l)}}}function xf(t){this._internalRoot=t}Wu.prototype.render=xf.prototype.render=function(t){var e=this._internalRoot;if(e===null)throw Error(s(409));var l=e.current,a=fe();wh(l,a,t,e,null,null)},Wu.prototype.unmount=xf.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var e=t.containerInfo;wh(t.current,2,null,t,null,null),Uu(),e[Vl]=null}};function Wu(t){this._internalRoot=t}Wu.prototype.unstable_scheduleHydration=function(t){if(t){var e=ir();t={blockedOn:null,target:t,priority:e};for(var l=0;l<Tl.length&&e!==0&&e<Tl[l].priority;l++);Tl.splice(l,0,t),l===0&&Gh(t)}};var Vh=c.version;if(Vh!=="19.1.1")throw Error(s(527,Vh,"19.1.1"));Y.findDOMNode=function(t){var e=t._reactInternals;if(e===void 0)throw typeof t.render=="function"?Error(s(188)):(t=Object.keys(t).join(","),Error(s(268,t)));return t=S(e),t=t!==null?v(t):null,t=t===null?null:t.stateNode,t};var v0={bundleType:0,version:"19.1.1",rendererPackageName:"react-dom",currentDispatcherRef:z,reconcilerVersion:"19.1.1"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Pu=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Pu.isDisabled&&Pu.supportsFiber)try{Ua=Pu.inject(v0),ee=Pu}catch{}}return Cn.createRoot=function(t,e){if(!h(t))throw Error(s(299));var l=!1,a="",n=io,i=co,r=fo,o=null;return e!=null&&(e.unstable_strictMode===!0&&(l=!0),e.identifierPrefix!==void 0&&(a=e.identifierPrefix),e.onUncaughtError!==void 0&&(n=e.onUncaughtError),e.onCaughtError!==void 0&&(i=e.onCaughtError),e.onRecoverableError!==void 0&&(r=e.onRecoverableError),e.unstable_transitionCallbacks!==void 0&&(o=e.unstable_transitionCallbacks)),e=Hh(t,1,!1,null,null,l,a,n,i,r,o,null),t[Vl]=e.current,ff(t),new xf(e)},Cn.hydrateRoot=function(t,e,l){if(!h(t))throw Error(s(299));var a=!1,n="",i=io,r=co,o=fo,m=null,A=null;return l!=null&&(l.unstable_strictMode===!0&&(a=!0),l.identifierPrefix!==void 0&&(n=l.identifierPrefix),l.onUncaughtError!==void 0&&(i=l.onUncaughtError),l.onCaughtError!==void 0&&(r=l.onCaughtError),l.onRecoverableError!==void 0&&(o=l.onRecoverableError),l.unstable_transitionCallbacks!==void 0&&(m=l.unstable_transitionCallbacks),l.formState!==void 0&&(A=l.formState)),e=Hh(t,1,!0,e,l??null,a,n,i,r,o,m,A),e.context=jh(null),l=e.current,a=fe(),a=vi(a),n=ul(a),n.callback=null,il(l,n,a),l=a,e.current.lanes=l,qa(e,l),Ue(e),t[Vl]=e.current,ff(t),new Wu(e)},Cn.version="19.1.1",Cn}var rd;function tv(){if(rd)return Df.exports;rd=1;function u(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(u)}catch(c){console.error(c)}}return u(),Df.exports=I0(),Df.exports}var ev=tv();/**
|
|
51
|
+
* react-router v7.12.0
|
|
52
|
+
*
|
|
53
|
+
* Copyright (c) Remix Software Inc.
|
|
54
|
+
*
|
|
55
|
+
* This source code is licensed under the MIT license found in the
|
|
56
|
+
* LICENSE.md file in the root directory of this source tree.
|
|
57
|
+
*
|
|
58
|
+
* @license MIT
|
|
59
|
+
*/var sd="popstate";function lv(u={}){function c(s,h){let{pathname:d,search:y,hash:b}=s.location;return Qf("",{pathname:d,search:y,hash:b},h.state&&h.state.usr||null,h.state&&h.state.key||"default")}function f(s,h){return typeof h=="string"?h:Hn(h)}return nv(c,f,null,u)}function Ct(u,c){if(u===!1||u===null||typeof u>"u")throw new Error(c)}function Ee(u,c){if(!u){typeof console<"u"&&console.warn(c);try{throw new Error(c)}catch{}}}function av(){return Math.random().toString(36).substring(2,10)}function od(u,c){return{usr:u.state,key:u.key,idx:c}}function Qf(u,c,f=null,s){return{pathname:typeof u=="string"?u:u.pathname,search:"",hash:"",...typeof c=="string"?jn(c):c,state:f,key:c&&c.key||s||av()}}function Hn({pathname:u="/",search:c="",hash:f=""}){return c&&c!=="?"&&(u+=c.charAt(0)==="?"?c:"?"+c),f&&f!=="#"&&(u+=f.charAt(0)==="#"?f:"#"+f),u}function jn(u){let c={};if(u){let f=u.indexOf("#");f>=0&&(c.hash=u.substring(f),u=u.substring(0,f));let s=u.indexOf("?");s>=0&&(c.search=u.substring(s),u=u.substring(0,s)),u&&(c.pathname=u)}return c}function nv(u,c,f,s={}){let{window:h=document.defaultView,v5Compat:d=!1}=s,y=h.history,b="POP",S=null,v=R();v==null&&(v=0,y.replaceState({...y.state,idx:v},""));function R(){return(y.state||{idx:null}).idx}function _(){b="POP";let H=R(),K=H==null?null:H-v;v=H,S&&S({action:b,location:j.location,delta:K})}function q(H,K){b="PUSH";let G=Qf(j.location,H,K);v=R()+1;let J=od(G,v),st=j.createHref(G);try{y.pushState(J,"",st)}catch(k){if(k instanceof DOMException&&k.name==="DataCloneError")throw k;h.location.assign(st)}d&&S&&S({action:b,location:j.location,delta:1})}function Q(H,K){b="REPLACE";let G=Qf(j.location,H,K);v=R();let J=od(G,v),st=j.createHref(G);y.replaceState(J,"",st),d&&S&&S({action:b,location:j.location,delta:0})}function B(H){return uv(H)}let j={get action(){return b},get location(){return u(h,y)},listen(H){if(S)throw new Error("A history only accepts one active listener");return h.addEventListener(sd,_),S=H,()=>{h.removeEventListener(sd,_),S=null}},createHref(H){return c(h,H)},createURL:B,encodeLocation(H){let K=B(H);return{pathname:K.pathname,search:K.search,hash:K.hash}},push:q,replace:Q,go(H){return y.go(H)}};return j}function uv(u,c=!1){let f="http://localhost";typeof window<"u"&&(f=window.location.origin!=="null"?window.location.origin:window.location.href),Ct(f,"No window.location.(origin|href) available to create URL");let s=typeof u=="string"?u:Hn(u);return s=s.replace(/ $/,"%20"),!c&&s.startsWith("//")&&(s=f+s),new URL(s,f)}function _d(u,c,f="/"){return iv(u,c,f,!1)}function iv(u,c,f,s){let h=typeof c=="string"?jn(c):c,d=Pe(h.pathname||"/",f);if(d==null)return null;let y=Dd(u);cv(y);let b=null;for(let S=0;b==null&&S<y.length;++S){let v=pv(d);b=vv(y[S],v,s)}return b}function Dd(u,c=[],f=[],s="",h=!1){let d=(y,b,S=h,v)=>{let R={relativePath:v===void 0?y.path||"":v,caseSensitive:y.caseSensitive===!0,childrenIndex:b,route:y};if(R.relativePath.startsWith("/")){if(!R.relativePath.startsWith(s)&&S)return;Ct(R.relativePath.startsWith(s),`Absolute route path "${R.relativePath}" nested under path "${s}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),R.relativePath=R.relativePath.slice(s.length)}let _=We([s,R.relativePath]),q=f.concat(R);y.children&&y.children.length>0&&(Ct(y.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${_}".`),Dd(y.children,c,q,_,S)),!(y.path==null&&!y.index)&&c.push({path:_,score:mv(_,y.index),routesMeta:q})};return u.forEach((y,b)=>{if(y.path===""||!y.path?.includes("?"))d(y,b);else for(let S of zd(y.path))d(y,b,!0,S)}),c}function zd(u){let c=u.split("/");if(c.length===0)return[];let[f,...s]=c,h=f.endsWith("?"),d=f.replace(/\?$/,"");if(s.length===0)return h?[d,""]:[d];let y=zd(s.join("/")),b=[];return b.push(...y.map(S=>S===""?d:[d,S].join("/"))),h&&b.push(...y),b.map(S=>u.startsWith("/")&&S===""?"/":S)}function cv(u){u.sort((c,f)=>c.score!==f.score?f.score-c.score:yv(c.routesMeta.map(s=>s.childrenIndex),f.routesMeta.map(s=>s.childrenIndex)))}var fv=/^:[\w-]+$/,rv=3,sv=2,ov=1,hv=10,dv=-2,hd=u=>u==="*";function mv(u,c){let f=u.split("/"),s=f.length;return f.some(hd)&&(s+=dv),c&&(s+=sv),f.filter(h=>!hd(h)).reduce((h,d)=>h+(fv.test(d)?rv:d===""?ov:hv),s)}function yv(u,c){return u.length===c.length&&u.slice(0,-1).every((s,h)=>s===c[h])?u[u.length-1]-c[c.length-1]:0}function vv(u,c,f=!1){let{routesMeta:s}=u,h={},d="/",y=[];for(let b=0;b<s.length;++b){let S=s[b],v=b===s.length-1,R=d==="/"?c:c.slice(d.length)||"/",_=ni({path:S.relativePath,caseSensitive:S.caseSensitive,end:v},R),q=S.route;if(!_&&v&&f&&!s[s.length-1].route.index&&(_=ni({path:S.relativePath,caseSensitive:S.caseSensitive,end:!1},R)),!_)return null;Object.assign(h,_.params),y.push({params:h,pathname:We([d,_.pathname]),pathnameBase:Tv(We([d,_.pathnameBase])),route:q}),_.pathnameBase!=="/"&&(d=We([d,_.pathnameBase]))}return y}function ni(u,c){typeof u=="string"&&(u={path:u,caseSensitive:!1,end:!0});let[f,s]=gv(u.path,u.caseSensitive,u.end),h=c.match(f);if(!h)return null;let d=h[0],y=d.replace(/(.)\/+$/,"$1"),b=h.slice(1);return{params:s.reduce((v,{paramName:R,isOptional:_},q)=>{if(R==="*"){let B=b[q]||"";y=d.slice(0,d.length-B.length).replace(/(.)\/+$/,"$1")}const Q=b[q];return _&&!Q?v[R]=void 0:v[R]=(Q||"").replace(/%2F/g,"/"),v},{}),pathname:d,pathnameBase:y,pattern:u}}function gv(u,c=!1,f=!0){Ee(u==="*"||!u.endsWith("*")||u.endsWith("/*"),`Route path "${u}" will be treated as if it were "${u.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${u.replace(/\*$/,"/*")}".`);let s=[],h="^"+u.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(y,b,S)=>(s.push({paramName:b,isOptional:S!=null}),S?"/?([^\\/]+)?":"/([^\\/]+)")).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return u.endsWith("*")?(s.push({paramName:"*"}),h+=u==="*"||u==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):f?h+="\\/*$":u!==""&&u!=="/"&&(h+="(?:(?=\\/|$))"),[new RegExp(h,c?void 0:"i"),s]}function pv(u){try{return u.split("/").map(c=>decodeURIComponent(c).replace(/\//g,"%2F")).join("/")}catch(c){return Ee(!1,`The URL path "${u}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${c}).`),u}}function Pe(u,c){if(c==="/")return u;if(!u.toLowerCase().startsWith(c.toLowerCase()))return null;let f=c.endsWith("/")?c.length-1:c.length,s=u.charAt(f);return s&&s!=="/"?null:u.slice(f)||"/"}var Cd=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,bv=u=>Cd.test(u);function Sv(u,c="/"){let{pathname:f,search:s="",hash:h=""}=typeof u=="string"?jn(u):u,d;if(f)if(bv(f))d=f;else{if(f.includes("//")){let y=f;f=f.replace(/\/\/+/g,"/"),Ee(!1,`Pathnames cannot have embedded double slashes - normalizing ${y} -> ${f}`)}f.startsWith("/")?d=dd(f.substring(1),"/"):d=dd(f,c)}else d=c;return{pathname:d,search:Rv(s),hash:Av(h)}}function dd(u,c){let f=c.replace(/\/+$/,"").split("/");return u.split("/").forEach(h=>{h===".."?f.length>1&&f.pop():h!=="."&&f.push(h)}),f.length>1?f.join("/"):"/"}function Nf(u,c,f,s){return`Cannot include a '${u}' character in a manually specified \`to.${c}\` field [${JSON.stringify(s)}]. Please separate it out to the \`to.${f}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function Ev(u){return u.filter((c,f)=>f===0||c.route.path&&c.route.path.length>0)}function Zf(u){let c=Ev(u);return c.map((f,s)=>s===c.length-1?f.pathname:f.pathnameBase)}function Vf(u,c,f,s=!1){let h;typeof u=="string"?h=jn(u):(h={...u},Ct(!h.pathname||!h.pathname.includes("?"),Nf("?","pathname","search",h)),Ct(!h.pathname||!h.pathname.includes("#"),Nf("#","pathname","hash",h)),Ct(!h.search||!h.search.includes("#"),Nf("#","search","hash",h)));let d=u===""||h.pathname==="",y=d?"/":h.pathname,b;if(y==null)b=f;else{let _=c.length-1;if(!s&&y.startsWith("..")){let q=y.split("/");for(;q[0]==="..";)q.shift(),_-=1;h.pathname=q.join("/")}b=_>=0?c[_]:"/"}let S=Sv(h,b),v=y&&y!=="/"&&y.endsWith("/"),R=(d||y===".")&&f.endsWith("/");return!S.pathname.endsWith("/")&&(v||R)&&(S.pathname+="/"),S}var We=u=>u.join("/").replace(/\/\/+/g,"/"),Tv=u=>u.replace(/\/+$/,"").replace(/^\/*/,"/"),Rv=u=>!u||u==="?"?"":u.startsWith("?")?u:"?"+u,Av=u=>!u||u==="#"?"":u.startsWith("#")?u:"#"+u,Ov=class{constructor(u,c,f,s=!1){this.status=u,this.statusText=c||"",this.internal=s,f instanceof Error?(this.data=f.toString(),this.error=f):this.data=f}};function xv(u){return u!=null&&typeof u.status=="number"&&typeof u.statusText=="string"&&typeof u.internal=="boolean"&&"data"in u}function Mv(u){return u.map(c=>c.route.path).filter(Boolean).join("/").replace(/\/\/*/g,"/")||"/"}var Ud=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function Nd(u,c){let f=u;if(typeof f!="string"||!Cd.test(f))return{absoluteURL:void 0,isExternal:!1,to:f};let s=f,h=!1;if(Ud)try{let d=new URL(window.location.href),y=f.startsWith("//")?new URL(d.protocol+f):new URL(f),b=Pe(y.pathname,c);y.origin===d.origin&&b!=null?f=b+y.search+y.hash:h=!0}catch{Ee(!1,`<Link to="${f}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:s,isExternal:h,to:f}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var qd=["POST","PUT","PATCH","DELETE"];new Set(qd);var _v=["GET",...qd];new Set(_v);var za=x.createContext(null);za.displayName="DataRouter";var ci=x.createContext(null);ci.displayName="DataRouterState";var Dv=x.createContext(!1),Hd=x.createContext({isTransitioning:!1});Hd.displayName="ViewTransition";var zv=x.createContext(new Map);zv.displayName="Fetchers";var Cv=x.createContext(null);Cv.displayName="Await";var se=x.createContext(null);se.displayName="Navigation";var fi=x.createContext(null);fi.displayName="Location";var Te=x.createContext({outlet:null,matches:[],isDataRoute:!1});Te.displayName="Route";var Kf=x.createContext(null);Kf.displayName="RouteError";var jd="REACT_ROUTER_ERROR",Uv="REDIRECT",Nv="ROUTE_ERROR_RESPONSE";function qv(u){if(u.startsWith(`${jd}:${Uv}:{`))try{let c=JSON.parse(u.slice(28));if(typeof c=="object"&&c&&typeof c.status=="number"&&typeof c.statusText=="string"&&typeof c.location=="string"&&typeof c.reloadDocument=="boolean"&&typeof c.replace=="boolean")return c}catch{}}function Hv(u){if(u.startsWith(`${jd}:${Nv}:{`))try{let c=JSON.parse(u.slice(40));if(typeof c=="object"&&c&&typeof c.status=="number"&&typeof c.statusText=="string")return new Ov(c.status,c.statusText,c.data)}catch{}}function jv(u,{relative:c}={}){Ct(Ca(),"useHref() may be used only in the context of a <Router> component.");let{basename:f,navigator:s}=x.useContext(se),{hash:h,pathname:d,search:y}=wn(u,{relative:c}),b=d;return f!=="/"&&(b=d==="/"?f:We([f,d])),s.createHref({pathname:b,search:y,hash:h})}function Ca(){return x.useContext(fi)!=null}function Ne(){return Ct(Ca(),"useLocation() may be used only in the context of a <Router> component."),x.useContext(fi).location}var wd="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function Bd(u){x.useContext(se).static||x.useLayoutEffect(u)}function Ld(){let{isDataRoute:u}=x.useContext(Te);return u?Wv():wv()}function wv(){Ct(Ca(),"useNavigate() may be used only in the context of a <Router> component.");let u=x.useContext(za),{basename:c,navigator:f}=x.useContext(se),{matches:s}=x.useContext(Te),{pathname:h}=Ne(),d=JSON.stringify(Zf(s)),y=x.useRef(!1);return Bd(()=>{y.current=!0}),x.useCallback((S,v={})=>{if(Ee(y.current,wd),!y.current)return;if(typeof S=="number"){f.go(S);return}let R=Vf(S,JSON.parse(d),h,v.relative==="path");u==null&&c!=="/"&&(R.pathname=R.pathname==="/"?c:We([c,R.pathname])),(v.replace?f.replace:f.push)(R,v.state,v)},[c,f,d,h,u])}var Bv=x.createContext(null);function Lv(u){let c=x.useContext(Te).outlet;return x.useMemo(()=>c&&x.createElement(Bv.Provider,{value:u},c),[c,u])}function U1(){let{matches:u}=x.useContext(Te),c=u[u.length-1];return c?c.params:{}}function wn(u,{relative:c}={}){let{matches:f}=x.useContext(Te),{pathname:s}=Ne(),h=JSON.stringify(Zf(f));return x.useMemo(()=>Vf(u,JSON.parse(h),s,c==="path"),[u,h,s,c])}function Qv(u,c){return Qd(u)}function Qd(u,c,f,s,h){Ct(Ca(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:d}=x.useContext(se),{matches:y}=x.useContext(Te),b=y[y.length-1],S=b?b.params:{},v=b?b.pathname:"/",R=b?b.pathnameBase:"/",_=b&&b.route;{let G=_&&_.path||"";Gd(v,!_||G.endsWith("*")||G.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${v}" (under <Route path="${G}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
|
|
60
|
+
|
|
61
|
+
Please change the parent <Route path="${G}"> to <Route path="${G==="/"?"*":`${G}/*`}">.`)}let q=Ne(),Q;Q=q;let B=Q.pathname||"/",j=B;if(R!=="/"){let G=R.replace(/^\//,"").split("/");j="/"+B.replace(/^\//,"").split("/").slice(G.length).join("/")}let H=_d(u,{pathname:j});return Ee(_||H!=null,`No routes matched location "${Q.pathname}${Q.search}${Q.hash}" `),Ee(H==null||H[H.length-1].route.element!==void 0||H[H.length-1].route.Component!==void 0||H[H.length-1].route.lazy!==void 0,`Matched leaf route at location "${Q.pathname}${Q.search}${Q.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`),Vv(H&&H.map(G=>Object.assign({},G,{params:Object.assign({},S,G.params),pathname:We([R,d.encodeLocation?d.encodeLocation(G.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:G.pathname]),pathnameBase:G.pathnameBase==="/"?R:We([R,d.encodeLocation?d.encodeLocation(G.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:G.pathnameBase])})),y,f,s,h)}function Yv(){let u=Fv(),c=xv(u)?`${u.status} ${u.statusText}`:u instanceof Error?u.message:JSON.stringify(u),f=u instanceof Error?u.stack:null,s="rgba(200,200,200, 0.5)",h={padding:"0.5rem",backgroundColor:s},d={padding:"2px 4px",backgroundColor:s},y=null;return console.error("Error handled by React Router default ErrorBoundary:",u),y=x.createElement(x.Fragment,null,x.createElement("p",null,"💿 Hey developer 👋"),x.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",x.createElement("code",{style:d},"ErrorBoundary")," or"," ",x.createElement("code",{style:d},"errorElement")," prop on your route.")),x.createElement(x.Fragment,null,x.createElement("h2",null,"Unexpected Application Error!"),x.createElement("h3",{style:{fontStyle:"italic"}},c),f?x.createElement("pre",{style:h},f):null,y)}var Gv=x.createElement(Yv,null),Yd=class extends x.Component{constructor(u){super(u),this.state={location:u.location,revalidation:u.revalidation,error:u.error}}static getDerivedStateFromError(u){return{error:u}}static getDerivedStateFromProps(u,c){return c.location!==u.location||c.revalidation!=="idle"&&u.revalidation==="idle"?{error:u.error,location:u.location,revalidation:u.revalidation}:{error:u.error!==void 0?u.error:c.error,location:c.location,revalidation:u.revalidation||c.revalidation}}componentDidCatch(u,c){this.props.onError?this.props.onError(u,c):console.error("React Router caught the following error during render",u)}render(){let u=this.state.error;if(this.context&&typeof u=="object"&&u&&"digest"in u&&typeof u.digest=="string"){const f=Hv(u.digest);f&&(u=f)}let c=u!==void 0?x.createElement(Te.Provider,{value:this.props.routeContext},x.createElement(Kf.Provider,{value:u,children:this.props.component})):this.props.children;return this.context?x.createElement(Xv,{error:u},c):c}};Yd.contextType=Dv;var qf=new WeakMap;function Xv({children:u,error:c}){let{basename:f}=x.useContext(se);if(typeof c=="object"&&c&&"digest"in c&&typeof c.digest=="string"){let s=qv(c.digest);if(s){let h=qf.get(c);if(h)throw h;let d=Nd(s.location,f);if(Ud&&!qf.get(c))if(d.isExternal||s.reloadDocument)window.location.href=d.absoluteURL||d.to;else{const y=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(d.to,{replace:s.replace}));throw qf.set(c,y),y}return x.createElement("meta",{httpEquiv:"refresh",content:`0;url=${d.absoluteURL||d.to}`})}}return u}function Zv({routeContext:u,match:c,children:f}){let s=x.useContext(za);return s&&s.static&&s.staticContext&&(c.route.errorElement||c.route.ErrorBoundary)&&(s.staticContext._deepestRenderedBoundaryId=c.route.id),x.createElement(Te.Provider,{value:u},f)}function Vv(u,c=[],f=null,s=null,h=null){if(u==null){if(!f)return null;if(f.errors)u=f.matches;else if(c.length===0&&!f.initialized&&f.matches.length>0)u=f.matches;else return null}let d=u,y=f?.errors;if(y!=null){let R=d.findIndex(_=>_.route.id&&y?.[_.route.id]!==void 0);Ct(R>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(y).join(",")}`),d=d.slice(0,Math.min(d.length,R+1))}let b=!1,S=-1;if(f)for(let R=0;R<d.length;R++){let _=d[R];if((_.route.HydrateFallback||_.route.hydrateFallbackElement)&&(S=R),_.route.id){let{loaderData:q,errors:Q}=f,B=_.route.loader&&!q.hasOwnProperty(_.route.id)&&(!Q||Q[_.route.id]===void 0);if(_.route.lazy||B){b=!0,S>=0?d=d.slice(0,S+1):d=[d[0]];break}}}let v=f&&s?(R,_)=>{s(R,{location:f.location,params:f.matches?.[0]?.params??{},unstable_pattern:Mv(f.matches),errorInfo:_})}:void 0;return d.reduceRight((R,_,q)=>{let Q,B=!1,j=null,H=null;f&&(Q=y&&_.route.id?y[_.route.id]:void 0,j=_.route.errorElement||Gv,b&&(S<0&&q===0?(Gd("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),B=!0,H=null):S===q&&(B=!0,H=_.route.hydrateFallbackElement||null)));let K=c.concat(d.slice(0,q+1)),G=()=>{let J;return Q?J=j:B?J=H:_.route.Component?J=x.createElement(_.route.Component,null):_.route.element?J=_.route.element:J=R,x.createElement(Zv,{match:_,routeContext:{outlet:R,matches:K,isDataRoute:f!=null},children:J})};return f&&(_.route.ErrorBoundary||_.route.errorElement||q===0)?x.createElement(Yd,{location:f.location,revalidation:f.revalidation,component:j,error:Q,children:G(),routeContext:{outlet:null,matches:K,isDataRoute:!0},onError:v}):G()},null)}function Jf(u){return`${u} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Kv(u){let c=x.useContext(za);return Ct(c,Jf(u)),c}function Jv(u){let c=x.useContext(ci);return Ct(c,Jf(u)),c}function kv(u){let c=x.useContext(Te);return Ct(c,Jf(u)),c}function kf(u){let c=kv(u),f=c.matches[c.matches.length-1];return Ct(f.route.id,`${u} can only be used on routes that contain a unique "id"`),f.route.id}function $v(){return kf("useRouteId")}function Fv(){let u=x.useContext(Kf),c=Jv("useRouteError"),f=kf("useRouteError");return u!==void 0?u:c.errors?.[f]}function Wv(){let{router:u}=Kv("useNavigate"),c=kf("useNavigate"),f=x.useRef(!1);return Bd(()=>{f.current=!0}),x.useCallback(async(h,d={})=>{Ee(f.current,wd),f.current&&(typeof h=="number"?await u.navigate(h):await u.navigate(h,{fromRouteId:c,...d}))},[u,c])}var md={};function Gd(u,c,f){!c&&!md[u]&&(md[u]=!0,Ee(!1,f))}x.memo(Pv);function Pv({routes:u,future:c,state:f,onError:s}){return Qd(u,void 0,f,s,c)}function yd({to:u,replace:c,state:f,relative:s}){Ct(Ca(),"<Navigate> may be used only in the context of a <Router> component.");let{static:h}=x.useContext(se);Ee(!h,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:d}=x.useContext(Te),{pathname:y}=Ne(),b=Ld(),S=Vf(u,Zf(d),y,s==="path"),v=JSON.stringify(S);return x.useEffect(()=>{b(JSON.parse(v),{replace:c,state:f,relative:s})},[b,v,s,c,f]),null}function Iv(u){return Lv(u.context)}function tg({basename:u="/",children:c=null,location:f,navigationType:s="POP",navigator:h,static:d=!1,unstable_useTransitions:y}){Ct(!Ca(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let b=u.replace(/^\/*/,"/"),S=x.useMemo(()=>({basename:b,navigator:h,static:d,unstable_useTransitions:y,future:{}}),[b,h,d,y]);typeof f=="string"&&(f=jn(f));let{pathname:v="/",search:R="",hash:_="",state:q=null,key:Q="default"}=f,B=x.useMemo(()=>{let j=Pe(v,b);return j==null?null:{location:{pathname:j,search:R,hash:_,state:q,key:Q},navigationType:s}},[b,v,R,_,q,Q,s]);return Ee(B!=null,`<Router basename="${b}"> is not able to match the URL "${v}${R}${_}" because it does not start with the basename, so the <Router> won't render anything.`),B==null?null:x.createElement(se.Provider,{value:S},x.createElement(fi.Provider,{children:c,value:B}))}var ei="get",li="application/x-www-form-urlencoded";function ri(u){return typeof HTMLElement<"u"&&u instanceof HTMLElement}function eg(u){return ri(u)&&u.tagName.toLowerCase()==="button"}function lg(u){return ri(u)&&u.tagName.toLowerCase()==="form"}function ag(u){return ri(u)&&u.tagName.toLowerCase()==="input"}function ng(u){return!!(u.metaKey||u.altKey||u.ctrlKey||u.shiftKey)}function ug(u,c){return u.button===0&&(!c||c==="_self")&&!ng(u)}var ti=null;function ig(){if(ti===null)try{new FormData(document.createElement("form"),0),ti=!1}catch{ti=!0}return ti}var cg=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Hf(u){return u!=null&&!cg.has(u)?(Ee(!1,`"${u}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${li}"`),null):u}function fg(u,c){let f,s,h,d,y;if(lg(u)){let b=u.getAttribute("action");s=b?Pe(b,c):null,f=u.getAttribute("method")||ei,h=Hf(u.getAttribute("enctype"))||li,d=new FormData(u)}else if(eg(u)||ag(u)&&(u.type==="submit"||u.type==="image")){let b=u.form;if(b==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let S=u.getAttribute("formaction")||b.getAttribute("action");if(s=S?Pe(S,c):null,f=u.getAttribute("formmethod")||b.getAttribute("method")||ei,h=Hf(u.getAttribute("formenctype"))||Hf(b.getAttribute("enctype"))||li,d=new FormData(b,u),!ig()){let{name:v,type:R,value:_}=u;if(R==="image"){let q=v?`${v}.`:"";d.append(`${q}x`,"0"),d.append(`${q}y`,"0")}else v&&d.append(v,_)}}else{if(ri(u))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');f=ei,s=null,h=li,y=u}return d&&h==="text/plain"&&(y=d,d=void 0),{action:s,method:f.toLowerCase(),encType:h,formData:d,body:y}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function $f(u,c){if(u===!1||u===null||typeof u>"u")throw new Error(c)}function rg(u,c,f,s){let h=typeof u=="string"?new URL(u,typeof window>"u"?"server://singlefetch/":window.location.origin):u;return f?h.pathname.endsWith("/")?h.pathname=`${h.pathname}_.${s}`:h.pathname=`${h.pathname}.${s}`:h.pathname==="/"?h.pathname=`_root.${s}`:c&&Pe(h.pathname,c)==="/"?h.pathname=`${c.replace(/\/$/,"")}/_root.${s}`:h.pathname=`${h.pathname.replace(/\/$/,"")}.${s}`,h}async function sg(u,c){if(u.id in c)return c[u.id];try{let f=await import(u.module);return c[u.id]=f,f}catch(f){return console.error(`Error loading route module \`${u.module}\`, reloading page...`),console.error(f),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function og(u){return u==null?!1:u.href==null?u.rel==="preload"&&typeof u.imageSrcSet=="string"&&typeof u.imageSizes=="string":typeof u.rel=="string"&&typeof u.href=="string"}async function hg(u,c,f){let s=await Promise.all(u.map(async h=>{let d=c.routes[h.route.id];if(d){let y=await sg(d,f);return y.links?y.links():[]}return[]}));return vg(s.flat(1).filter(og).filter(h=>h.rel==="stylesheet"||h.rel==="preload").map(h=>h.rel==="stylesheet"?{...h,rel:"prefetch",as:"style"}:{...h,rel:"prefetch"}))}function vd(u,c,f,s,h,d){let y=(S,v)=>f[v]?S.route.id!==f[v].route.id:!0,b=(S,v)=>f[v].pathname!==S.pathname||f[v].route.path?.endsWith("*")&&f[v].params["*"]!==S.params["*"];return d==="assets"?c.filter((S,v)=>y(S,v)||b(S,v)):d==="data"?c.filter((S,v)=>{let R=s.routes[S.route.id];if(!R||!R.hasLoader)return!1;if(y(S,v)||b(S,v))return!0;if(S.route.shouldRevalidate){let _=S.route.shouldRevalidate({currentUrl:new URL(h.pathname+h.search+h.hash,window.origin),currentParams:f[0]?.params||{},nextUrl:new URL(u,window.origin),nextParams:S.params,defaultShouldRevalidate:!0});if(typeof _=="boolean")return _}return!0}):[]}function dg(u,c,{includeHydrateFallback:f}={}){return mg(u.map(s=>{let h=c.routes[s.route.id];if(!h)return[];let d=[h.module];return h.clientActionModule&&(d=d.concat(h.clientActionModule)),h.clientLoaderModule&&(d=d.concat(h.clientLoaderModule)),f&&h.hydrateFallbackModule&&(d=d.concat(h.hydrateFallbackModule)),h.imports&&(d=d.concat(h.imports)),d}).flat(1))}function mg(u){return[...new Set(u)]}function yg(u){let c={},f=Object.keys(u).sort();for(let s of f)c[s]=u[s];return c}function vg(u,c){let f=new Set;return new Set(c),u.reduce((s,h)=>{let d=JSON.stringify(yg(h));return f.has(d)||(f.add(d),s.push({key:d,link:h})),s},[])}function Xd(){let u=x.useContext(za);return $f(u,"You must render this element inside a <DataRouterContext.Provider> element"),u}function gg(){let u=x.useContext(ci);return $f(u,"You must render this element inside a <DataRouterStateContext.Provider> element"),u}var Ff=x.createContext(void 0);Ff.displayName="FrameworkContext";function Zd(){let u=x.useContext(Ff);return $f(u,"You must render this element inside a <HydratedRouter> element"),u}function pg(u,c){let f=x.useContext(Ff),[s,h]=x.useState(!1),[d,y]=x.useState(!1),{onFocus:b,onBlur:S,onMouseEnter:v,onMouseLeave:R,onTouchStart:_}=c,q=x.useRef(null);x.useEffect(()=>{if(u==="render"&&y(!0),u==="viewport"){let j=K=>{K.forEach(G=>{y(G.isIntersecting)})},H=new IntersectionObserver(j,{threshold:.5});return q.current&&H.observe(q.current),()=>{H.disconnect()}}},[u]),x.useEffect(()=>{if(s){let j=setTimeout(()=>{y(!0)},100);return()=>{clearTimeout(j)}}},[s]);let Q=()=>{h(!0)},B=()=>{h(!1),y(!1)};return f?u!=="intent"?[d,q,{}]:[d,q,{onFocus:Un(b,Q),onBlur:Un(S,B),onMouseEnter:Un(v,Q),onMouseLeave:Un(R,B),onTouchStart:Un(_,Q)}]:[!1,q,{}]}function Un(u,c){return f=>{u&&u(f),f.defaultPrevented||c(f)}}function bg({page:u,...c}){let{router:f}=Xd(),s=x.useMemo(()=>_d(f.routes,u,f.basename),[f.routes,u,f.basename]);return s?x.createElement(Eg,{page:u,matches:s,...c}):null}function Sg(u){let{manifest:c,routeModules:f}=Zd(),[s,h]=x.useState([]);return x.useEffect(()=>{let d=!1;return hg(u,c,f).then(y=>{d||h(y)}),()=>{d=!0}},[u,c,f]),s}function Eg({page:u,matches:c,...f}){let s=Ne(),{future:h,manifest:d,routeModules:y}=Zd(),{basename:b}=Xd(),{loaderData:S,matches:v}=gg(),R=x.useMemo(()=>vd(u,c,v,d,s,"data"),[u,c,v,d,s]),_=x.useMemo(()=>vd(u,c,v,d,s,"assets"),[u,c,v,d,s]),q=x.useMemo(()=>{if(u===s.pathname+s.search+s.hash)return[];let j=new Set,H=!1;if(c.forEach(G=>{let J=d.routes[G.route.id];!J||!J.hasLoader||(!R.some(st=>st.route.id===G.route.id)&&G.route.id in S&&y[G.route.id]?.shouldRevalidate||J.hasClientLoader?H=!0:j.add(G.route.id))}),j.size===0)return[];let K=rg(u,b,h.unstable_trailingSlashAwareDataRequests,"data");return H&&j.size>0&&K.searchParams.set("_routes",c.filter(G=>j.has(G.route.id)).map(G=>G.route.id).join(",")),[K.pathname+K.search]},[b,h.unstable_trailingSlashAwareDataRequests,S,s,d,R,c,u,y]),Q=x.useMemo(()=>dg(_,d),[_,d]),B=Sg(_);return x.createElement(x.Fragment,null,q.map(j=>x.createElement("link",{key:j,rel:"prefetch",as:"fetch",href:j,...f})),Q.map(j=>x.createElement("link",{key:j,rel:"modulepreload",href:j,...f})),B.map(({key:j,link:H})=>x.createElement("link",{key:j,nonce:f.nonce,...H})))}function Tg(...u){return c=>{u.forEach(f=>{typeof f=="function"?f(c):f!=null&&(f.current=c)})}}var Rg=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{Rg&&(window.__reactRouterVersion="7.12.0")}catch{}function Ag({basename:u,children:c,unstable_useTransitions:f,window:s}){let h=x.useRef();h.current==null&&(h.current=lv({window:s,v5Compat:!0}));let d=h.current,[y,b]=x.useState({action:d.action,location:d.location}),S=x.useCallback(v=>{f===!1?b(v):x.startTransition(()=>b(v))},[f]);return x.useLayoutEffect(()=>d.listen(S),[d,S]),x.createElement(tg,{basename:u,children:c,location:y.location,navigationType:y.action,navigator:d,unstable_useTransitions:f})}var Vd=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,si=x.forwardRef(function({onClick:c,discover:f="render",prefetch:s="none",relative:h,reloadDocument:d,replace:y,state:b,target:S,to:v,preventScrollReset:R,viewTransition:_,unstable_defaultShouldRevalidate:q,...Q},B){let{basename:j,unstable_useTransitions:H}=x.useContext(se),K=typeof v=="string"&&Vd.test(v),G=Nd(v,j);v=G.to;let J=jv(v,{relative:h}),[st,k,bt]=pg(s,Q),Ot=_g(v,{replace:y,state:b,target:S,preventScrollReset:R,relative:h,viewTransition:_,unstable_defaultShouldRevalidate:q,unstable_useTransitions:H});function _t(oe){c&&c(oe),oe.defaultPrevented||Ot(oe)}let Bt=x.createElement("a",{...Q,...bt,href:G.absoluteURL||J,onClick:G.isExternal||d?c:_t,ref:Tg(B,k),target:S,"data-discover":!K&&f==="render"?"true":void 0});return st&&!K?x.createElement(x.Fragment,null,Bt,x.createElement(bg,{page:J})):Bt});si.displayName="Link";var Og=x.forwardRef(function({"aria-current":c="page",caseSensitive:f=!1,className:s="",end:h=!1,style:d,to:y,viewTransition:b,children:S,...v},R){let _=wn(y,{relative:v.relative}),q=Ne(),Q=x.useContext(ci),{navigator:B,basename:j}=x.useContext(se),H=Q!=null&&Ng(_)&&b===!0,K=B.encodeLocation?B.encodeLocation(_).pathname:_.pathname,G=q.pathname,J=Q&&Q.navigation&&Q.navigation.location?Q.navigation.location.pathname:null;f||(G=G.toLowerCase(),J=J?J.toLowerCase():null,K=K.toLowerCase()),J&&j&&(J=Pe(J,j)||J);const st=K!=="/"&&K.endsWith("/")?K.length-1:K.length;let k=G===K||!h&&G.startsWith(K)&&G.charAt(st)==="/",bt=J!=null&&(J===K||!h&&J.startsWith(K)&&J.charAt(K.length)==="/"),Ot={isActive:k,isPending:bt,isTransitioning:H},_t=k?c:void 0,Bt;typeof s=="function"?Bt=s(Ot):Bt=[s,k?"active":null,bt?"pending":null,H?"transitioning":null].filter(Boolean).join(" ");let oe=typeof d=="function"?d(Ot):d;return x.createElement(si,{...v,"aria-current":_t,className:Bt,ref:R,style:oe,to:y,viewTransition:b},typeof S=="function"?S(Ot):S)});Og.displayName="NavLink";var xg=x.forwardRef(({discover:u="render",fetcherKey:c,navigate:f,reloadDocument:s,replace:h,state:d,method:y=ei,action:b,onSubmit:S,relative:v,preventScrollReset:R,viewTransition:_,unstable_defaultShouldRevalidate:q,...Q},B)=>{let{unstable_useTransitions:j}=x.useContext(se),H=Cg(),K=Ug(b,{relative:v}),G=y.toLowerCase()==="get"?"get":"post",J=typeof b=="string"&&Vd.test(b),st=k=>{if(S&&S(k),k.defaultPrevented)return;k.preventDefault();let bt=k.nativeEvent.submitter,Ot=bt?.getAttribute("formmethod")||y,_t=()=>H(bt||k.currentTarget,{fetcherKey:c,method:Ot,navigate:f,replace:h,state:d,relative:v,preventScrollReset:R,viewTransition:_,unstable_defaultShouldRevalidate:q});j&&f!==!1?x.startTransition(()=>_t()):_t()};return x.createElement("form",{ref:B,method:G,action:K,onSubmit:s?S:st,...Q,"data-discover":!J&&u==="render"?"true":void 0})});xg.displayName="Form";function Mg(u){return`${u} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Kd(u){let c=x.useContext(za);return Ct(c,Mg(u)),c}function _g(u,{target:c,replace:f,state:s,preventScrollReset:h,relative:d,viewTransition:y,unstable_defaultShouldRevalidate:b,unstable_useTransitions:S}={}){let v=Ld(),R=Ne(),_=wn(u,{relative:d});return x.useCallback(q=>{if(ug(q,c)){q.preventDefault();let Q=f!==void 0?f:Hn(R)===Hn(_),B=()=>v(u,{replace:Q,state:s,preventScrollReset:h,relative:d,viewTransition:y,unstable_defaultShouldRevalidate:b});S?x.startTransition(()=>B()):B()}},[R,v,_,f,s,c,u,h,d,y,b,S])}var Dg=0,zg=()=>`__${String(++Dg)}__`;function Cg(){let{router:u}=Kd("useSubmit"),{basename:c}=x.useContext(se),f=$v(),s=u.fetch,h=u.navigate;return x.useCallback(async(d,y={})=>{let{action:b,method:S,encType:v,formData:R,body:_}=fg(d,c);if(y.navigate===!1){let q=y.fetcherKey||zg();await s(q,f,y.action||b,{unstable_defaultShouldRevalidate:y.unstable_defaultShouldRevalidate,preventScrollReset:y.preventScrollReset,formData:R,body:_,formMethod:y.method||S,formEncType:y.encType||v,flushSync:y.flushSync})}else await h(y.action||b,{unstable_defaultShouldRevalidate:y.unstable_defaultShouldRevalidate,preventScrollReset:y.preventScrollReset,formData:R,body:_,formMethod:y.method||S,formEncType:y.encType||v,replace:y.replace,state:y.state,fromRouteId:f,flushSync:y.flushSync,viewTransition:y.viewTransition})},[s,h,c,f])}function Ug(u,{relative:c}={}){let{basename:f}=x.useContext(se),s=x.useContext(Te);Ct(s,"useFormAction must be used inside a RouteContext");let[h]=s.matches.slice(-1),d={...wn(u||".",{relative:c})},y=Ne();if(u==null){d.search=y.search;let b=new URLSearchParams(d.search),S=b.getAll("index");if(S.some(R=>R==="")){b.delete("index"),S.filter(_=>_).forEach(_=>b.append("index",_));let R=b.toString();d.search=R?`?${R}`:""}}return(!u||u===".")&&h.route.index&&(d.search=d.search?d.search.replace(/^\?/,"?index&"):"?index"),f!=="/"&&(d.pathname=d.pathname==="/"?f:We([f,d.pathname])),Hn(d)}function Ng(u,{relative:c}={}){let f=x.useContext(Hd);Ct(f!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:s}=Kd("useViewTransitionState"),h=wn(u,{relative:c});if(!f.isTransitioning)return!1;let d=Pe(f.currentLocation.pathname,s)||f.currentLocation.pathname,y=Pe(f.nextLocation.pathname,s)||f.nextLocation.pathname;return ni(h.pathname,y)!=null||ni(h.pathname,d)!=null}var qg=Md();const Hg="modulepreload",jg=function(u,c){return new URL(u,c).href},gd={},qe=function(c,f,s){let h=Promise.resolve();if(f&&f.length>0){let v=function(R){return Promise.all(R.map(_=>Promise.resolve(_).then(q=>({status:"fulfilled",value:q}),q=>({status:"rejected",reason:q}))))};const y=document.getElementsByTagName("link"),b=document.querySelector("meta[property=csp-nonce]"),S=b?.nonce||b?.getAttribute("nonce");h=v(f.map(R=>{if(R=jg(R,s),R in gd)return;gd[R]=!0;const _=R.endsWith(".css"),q=_?'[rel="stylesheet"]':"";if(!!s)for(let j=y.length-1;j>=0;j--){const H=y[j];if(H.href===R&&(!_||H.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${R}"]${q}`))return;const B=document.createElement("link");if(B.rel=_?"stylesheet":Hg,_||(B.as="script"),B.crossOrigin="",B.href=R,S&&B.setAttribute("nonce",S),document.head.appendChild(B),_)return new Promise((j,H)=>{B.addEventListener("load",j),B.addEventListener("error",()=>H(new Error(`Unable to preload CSS for ${R}`)))})}))}function d(y){const b=new Event("vite:preloadError",{cancelable:!0});if(b.payload=y,window.dispatchEvent(b),!b.defaultPrevented)throw y}return h.then(y=>{for(const b of y||[])b.status==="rejected"&&d(b.reason);return c().catch(d)})};/**
|
|
62
|
+
* @license lucide-react v0.542.0 - ISC
|
|
63
|
+
*
|
|
64
|
+
* This source code is licensed under the ISC license.
|
|
65
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
66
|
+
*/const wg=u=>u.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Bg=u=>u.replace(/^([A-Z])|[\s-_]+(\w)/g,(c,f,s)=>s?s.toUpperCase():f.toLowerCase()),pd=u=>{const c=Bg(u);return c.charAt(0).toUpperCase()+c.slice(1)},Jd=(...u)=>u.filter((c,f,s)=>!!c&&c.trim()!==""&&s.indexOf(c)===f).join(" ").trim(),Lg=u=>{for(const c in u)if(c.startsWith("aria-")||c==="role"||c==="title")return!0};/**
|
|
67
|
+
* @license lucide-react v0.542.0 - ISC
|
|
68
|
+
*
|
|
69
|
+
* This source code is licensed under the ISC license.
|
|
70
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
71
|
+
*/var Qg={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
|
|
72
|
+
* @license lucide-react v0.542.0 - ISC
|
|
73
|
+
*
|
|
74
|
+
* This source code is licensed under the ISC license.
|
|
75
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
76
|
+
*/const Yg=x.forwardRef(({color:u="currentColor",size:c=24,strokeWidth:f=2,absoluteStrokeWidth:s,className:h="",children:d,iconNode:y,...b},S)=>x.createElement("svg",{ref:S,...Qg,width:c,height:c,stroke:u,strokeWidth:s?Number(f)*24/Number(c):f,className:Jd("lucide",h),...!d&&!Lg(b)&&{"aria-hidden":"true"},...b},[...y.map(([v,R])=>x.createElement(v,R)),...Array.isArray(d)?d:[d]]));/**
|
|
77
|
+
* @license lucide-react v0.542.0 - ISC
|
|
78
|
+
*
|
|
79
|
+
* This source code is licensed under the ISC license.
|
|
80
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
81
|
+
*/const Al=(u,c)=>{const f=x.forwardRef(({className:s,...h},d)=>x.createElement(Yg,{ref:d,iconNode:c,className:Jd(`lucide-${wg(pd(u))}`,`lucide-${u}`,s),...h}));return f.displayName=pd(u),f};/**
|
|
82
|
+
* @license lucide-react v0.542.0 - ISC
|
|
83
|
+
*
|
|
84
|
+
* This source code is licensed under the ISC license.
|
|
85
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
86
|
+
*/const Gg=[["path",{d:"m16 3 4 4-4 4",key:"1x1c3m"}],["path",{d:"M20 7H4",key:"zbl0bi"}],["path",{d:"m8 21-4-4 4-4",key:"h9nckh"}],["path",{d:"M4 17h16",key:"g4d7ey"}]],Xg=Al("arrow-right-left",Gg);/**
|
|
87
|
+
* @license lucide-react v0.542.0 - ISC
|
|
88
|
+
*
|
|
89
|
+
* This source code is licensed under the ISC license.
|
|
90
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
91
|
+
*/const Zg=[["path",{d:"m8 2 1.88 1.88",key:"fmnt4t"}],["path",{d:"M14.12 3.88 16 2",key:"qol33r"}],["path",{d:"M9 7.13v-1a3.003 3.003 0 1 1 6 0v1",key:"d7y7pr"}],["path",{d:"M12 20c-3.3 0-6-2.7-6-6v-3a4 4 0 0 1 4-4h4a4 4 0 0 1 4 4v3c0 3.3-2.7 6-6 6",key:"xs1cw7"}],["path",{d:"M12 20v-9",key:"1qisl0"}],["path",{d:"M6.53 9C4.6 8.8 3 7.1 3 5",key:"32zzws"}],["path",{d:"M6 13H2",key:"82j7cp"}],["path",{d:"M3 21c0-2.1 1.7-3.9 3.8-4",key:"4p0ekp"}],["path",{d:"M20.97 5c0 2.1-1.6 3.8-3.5 4",key:"18gb23"}],["path",{d:"M22 13h-4",key:"1jl80f"}],["path",{d:"M17.2 17c2.1.1 3.8 1.9 3.8 4",key:"k3fwyw"}]],Vg=Al("bug",Zg);/**
|
|
92
|
+
* @license lucide-react v0.542.0 - ISC
|
|
93
|
+
*
|
|
94
|
+
* This source code is licensed under the ISC license.
|
|
95
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
96
|
+
*/const Kg=[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]],Jg=Al("database",Kg);/**
|
|
97
|
+
* @license lucide-react v0.542.0 - ISC
|
|
98
|
+
*
|
|
99
|
+
* This source code is licensed under the ISC license.
|
|
100
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
101
|
+
*/const kg=[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]],$g=Al("layers",kg);/**
|
|
102
|
+
* @license lucide-react v0.542.0 - ISC
|
|
103
|
+
*
|
|
104
|
+
* This source code is licensed under the ISC license.
|
|
105
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
106
|
+
*/const Fg=[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]],Wg=Al("mail",Fg);/**
|
|
107
|
+
* @license lucide-react v0.542.0 - ISC
|
|
108
|
+
*
|
|
109
|
+
* This source code is licensed under the ISC license.
|
|
110
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
111
|
+
*/const Pg=[["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 18h16",key:"19g7jn"}],["path",{d:"M4 6h16",key:"1o0s65"}]],Ig=Al("menu",Pg);/**
|
|
112
|
+
* @license lucide-react v0.542.0 - ISC
|
|
113
|
+
*
|
|
114
|
+
* This source code is licensed under the ISC license.
|
|
115
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
116
|
+
*/const t1=[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]],bd=Al("trash-2",t1);/**
|
|
117
|
+
* @license lucide-react v0.542.0 - ISC
|
|
118
|
+
*
|
|
119
|
+
* This source code is licensed under the ISC license.
|
|
120
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
121
|
+
*/const e1=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],l1=Al("x",e1),kd=x.createContext(void 0);function Wf(){const u=x.useContext(kd);if(!u)throw new Error("useConfig must be used inside a ConfigProvider");return u.config}const a1=({visible:u,onClose:c,children:f})=>(x.useEffect(()=>{const s=new AbortController;return addEventListener("keydown",h=>{h.key==="Escape"&&c()},{signal:s.signal}),()=>{s.abort()}},[]),u?qg.createPortal(w.jsxs("div",{className:"fixed inset-0 z-[99] flex items-center justify-center",children:[w.jsx("div",{className:"absolute inset-0 z-[99] bg-black/40 backdrop-blur-[3px]","aria-hidden":!open,onClick:c,role:"button",tabIndex:-1}),w.jsx("div",{className:"z-[100]",children:f})]}),document.body):null),$d=u=>`/${n1(u)}`,n1=u=>u.replace(/^\/+|\/+$/g,"");function u1(){const u=Wf(),[c,f]=x.useState(!1),[s,h]=x.useState(!1),d=x.useRef(null);return w.jsxs(w.Fragment,{children:[w.jsx(a1,{visible:c,onClose:()=>f(!1),children:w.jsxs("div",{className:"flex flex-col items-center justify-center gap-6 sm:p-8 p-6 bg-white dark:bg-neutral-900 text-neutral-900 dark:text-white rounded-xl shadow-2xl border border-neutral-200 dark:border-neutral-800 max-w-md mx-auto",children:[w.jsx("div",{className:"flex items-center justify-center w-16 h-16 bg-red-100 dark:bg-red-900/20 rounded-full",children:w.jsx(bd,{size:24,className:"text-red-500 dark:text-red-400"})}),w.jsxs("div",{className:"text-center space-y-2",children:[w.jsx("h1",{className:"text-xl font-semibold text-neutral-900 dark:text-white",children:"Delete all entries?"}),w.jsx("p",{className:"text-sm text-neutral-600 dark:text-neutral-400 leading-relaxed",children:"This will permanently delete all entries from your database. This action cannot be undone."})]}),w.jsxs("div",{className:"flex items-center justify-center gap-3 w-full",children:[w.jsx("button",{className:"flex-1 px-4 py-2.5 text-sm font-medium text-neutral-700 dark:text-neutral-300 bg-neutral-100 dark:bg-neutral-800 hover:bg-neutral-200 dark:hover:bg-neutral-700 rounded-lg transition-colors duration-200",onClick:()=>f(!1),disabled:s,children:"Cancel"}),w.jsx("button",{className:"flex-1 px-4 py-2.5 text-sm font-medium bg-red-500 hover:bg-red-600 disabled:bg-red-300 dark:disabled:bg-red-800 text-white rounded-lg transition-colors duration-200 disabled:cursor-not-allowed",disabled:s,ref:d,onClick:async()=>{try{h(!0),await fetch($d(u.api.truncate),{method:"DELETE"}),window.location.reload()}catch(y){console.error("Failed to delete:",y)}finally{h(!1)}},children:s?w.jsxs("div",{className:"flex items-center justify-center gap-2",children:[w.jsx("div",{className:"w-4 h-4 border-2 border-white/30 border-t-white rounded-full animate-spin"}),"Deleting..."]}):"Delete All"})]})]})}),w.jsx("button",{onClick:()=>{f(!0),setTimeout(()=>d.current?.focus(),0)},className:"group relative p-2.5 rounded-lg border border-neutral-200 dark:border-neutral-700 hover:border-red-300 dark:hover:border-red-700 bg-white dark:bg-neutral-800 hover:bg-red-50 dark:hover:bg-red-950/20 transition-all duration-200 shadow-sm hover:shadow-md","aria-label":"Delete all entries",title:"Delete all entries",children:w.jsx(bd,{size:18,className:"text-neutral-500 dark:text-neutral-400 group-hover:text-red-500 dark:group-hover:text-red-400 transition-colors duration-200"})})]})}const i1=({isMobileSidebarOpen:u,onToggleMobileSidebar:c})=>{const f=Wf();return w.jsx(w.Fragment,{children:w.jsxs("header",{className:"container my-5 flex items-center justify-between gap-4",children:[w.jsx(si,{to:Pf(f).REQUESTS,children:w.jsx("p",{className:"text-2xl font-bold text-slate-100",children:f.appName})}),w.jsxs("div",{className:"flex items-center gap-2",children:[w.jsx(u1,{}),w.jsx("button",{onClick:c,className:"p-2 rounded-lg hover:bg-slate-800 transition-colors lg:hidden","aria-label":"Toggle menu",children:w.jsx("span",{className:"text-slate-300",children:u?w.jsx(l1,{size:18}):w.jsx(Ig,{size:18})})})]})]})})},c1=({isMobileSidebarOpen:u,onCloseMobileSidebar:c})=>{const f=Wf(),s=Ne();return w.jsxs(w.Fragment,{children:[u&&w.jsx("div",{className:"fixed inset-0 bg-opacity-50 z-10 lg:hidden",onClick:c}),w.jsx("aside",{className:`
|
|
122
|
+
fixed lg:sticky top-0 z-20 lg:z-0
|
|
123
|
+
h-full lg:h-auto
|
|
124
|
+
w-3/4 sm:w-64 lg:w-auto min-w-60
|
|
125
|
+
p-4 lg:p-0
|
|
126
|
+
transform transition-transform duration-300 ease-in-out
|
|
127
|
+
${u?"translate-x-0 bg-slate-900":"-translate-x-[120%] lg:translate-x-0"}
|
|
128
|
+
lg:bg-transparent
|
|
129
|
+
`,children:w.jsx("ul",{className:"flex flex-col gap-2 text-slate-200",children:b1(f).map(h=>{const d=s.pathname.startsWith(h.path),y=h.icon;return w.jsx("li",{className:"contents",children:w.jsxs(si,{to:h.path,className:["flex items-center gap-2 rounded-lg px-4 py-2 font-semibold transition-all duration-200",d?"bg-blue-900/20 text-blue-400 border border-blue-800/30 shadow-sm":"text-slate-400 hover:bg-slate-800/50 hover:text-slate-100"].join(" "),children:[w.jsx(y,{size:16}),h.label]})},h.path)})})})]})},f1=()=>{const u=Ne(),[c,f]=x.useState(!1);x.useEffect(()=>{f(!1)},[u.pathname]);const s=()=>{f(!c)},h=()=>{f(!1)};return w.jsxs(w.Fragment,{children:[" ",w.jsx(i1,{isMobileSidebarOpen:c,onToggleMobileSidebar:s}),w.jsx("hr",{className:"container my-6 border-slate-800"}),w.jsxs("div",{className:"container flex flex-col h-full lg:flex-row gap-8 relative",children:[w.jsx(c1,{isMobileSidebarOpen:c,onCloseMobileSidebar:h}),w.jsx("div",{className:"w-full min-h-[88vh] flex-1 flex flex-col min-w-0 pb-5 overflow-hidden",children:w.jsx("div",{className:"flex-1",children:w.jsx(Iv,{})})})]})," "]})},r1=x.lazy(()=>qe(()=>import("./RequestsContainer-CrgOytwQ.js"),__vite__mapDeps([0,1,2,3]),import.meta.url)),s1=x.lazy(()=>qe(()=>import("./QueriesContainer-Bk2r-ERW.js"),__vite__mapDeps([4,5,1,2]),import.meta.url)),o1=x.lazy(()=>qe(()=>import("./RequestDetailsContainer-BXIDvHw4.js"),__vite__mapDeps([6,7]),import.meta.url)),h1=x.lazy(()=>qe(()=>import("./QueryDetailsContainer-SuM5VQhc.js"),__vite__mapDeps([8,5,1,9,10,11]),import.meta.url)),d1=x.lazy(()=>qe(()=>import("./CacheEntryContainer-C3VFggtA.js"),__vite__mapDeps([12,2,13,1]),import.meta.url)),m1=x.lazy(()=>qe(()=>import("./CacheEntryDetailsContainer-C91cW6AU.js"),__vite__mapDeps([14,13,1]),import.meta.url)),y1=x.lazy(()=>qe(()=>import("./ExceptionContainer-CfMuOCmH.js"),__vite__mapDeps([15,2,16,1]),import.meta.url)),v1=x.lazy(()=>qe(()=>import("./ExceptionDetailsContainer-CR-lxRD2.js"),__vite__mapDeps([17,16,1]),import.meta.url)),g1=x.lazy(()=>qe(()=>import("./MailContainer-CT2lVazH.js"),__vite__mapDeps([18,1,2,3]),import.meta.url)),p1=x.lazy(()=>qe(()=>import("./MailDetailsContainer-87DOHjt8.js"),__vite__mapDeps([19,7]),import.meta.url));function Pf(u){return{REQUESTS:`${u.path}/requests`,QUERIES:`${u.path}/queries`,REQUEST_DETAILS:`${u.path}/requests/:requestId`,QUERY_DETAILS:`${u.path}/queries/:queryId`,CACHE_ENTRIES:`${u.path}/cache`,CACHE_ENTRY_DETAILS:`${u.path}/cache/:cacheId`,EXCEPTIONS:`${u.path}/exceptions`,EXCEPTION_DETAILS:`${u.path}/exceptions/:exceptionId`,MAIL:`${u.path}/mail`,MAIL_DETAILS:`${u.path}/mail/:mailId`}}function b1(u){const c=Pf(u);return[{path:c.REQUESTS,label:"Requests",icon:Xg},{path:c.QUERIES,label:"Queries",icon:Jg},{path:c.CACHE_ENTRIES,label:"Cache",icon:$g},{path:c.EXCEPTIONS,label:"Exceptions",icon:Vg},{path:c.MAIL,label:"Mail",icon:Wg}]}function S1(u){const c=Pf(u);return[{path:"/",element:w.jsx(yd,{to:c.REQUESTS,replace:!0})},{path:u.path,element:w.jsx(f1,{}),children:[{index:!0,element:w.jsx(yd,{to:"requests",replace:!0})},{path:"requests",element:w.jsx(r1,{})},{path:"requests/:id",element:w.jsx(o1,{})},{path:"queries",element:w.jsx(s1,{})},{path:"queries/:id",element:w.jsx(h1,{})},{path:"cache",element:w.jsx(d1,{})},{path:"cache/:id",element:w.jsx(m1,{})},{path:"exceptions",element:w.jsx(y1,{})},{path:"exceptions/:id",element:w.jsx(v1,{})},{path:"mail",element:w.jsx(g1,{})},{path:"mail/:id",element:w.jsx(p1,{})},{path:"*",element:w.jsx("h1",{children:"Error"})}]}]}const E1=({config:u})=>{const c=S1(u);return Qv([...c])},T1=()=>w.jsx("div",{className:"flex items-center justify-center h-screen bg-background",children:w.jsxs("div",{className:"relative",children:[w.jsx("div",{className:"w-28 h-28 border-t-4 border-b-4 border-neutral-200 rounded-full animate-spin"}),w.jsx("div",{className:"absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 text-white font-semibold text-lg",children:"Lens.js"})]})}),R1=()=>w.jsx("div",{className:"flex items-center justify-center min-h-screen",children:w.jsx("div",{className:"animate-spin rounded-full h-32 w-32 border-b-2 border-gray-900"})}),A1=x.createContext(void 0),O1=({children:u})=>{x.useEffect(()=>{const f=window.document.documentElement;f.classList.remove("light"),f.classList.add("dark")},[]);const c=()=>{};return w.jsx(A1.Provider,{value:{theme:"dark",toggleTheme:c},children:u})},x1=()=>{const[u,c]=x.useState({}),[f,s]=x.useState(!0);return x.useEffect(()=>{fetch($d("/lens-config")).then(h=>h.json()).then(h=>{c(h)}).catch(h=>{console.error("Failed to load config:",h)}).finally(()=>{s(!1)})},[]),f?w.jsx(T1,{}):w.jsx(kd.Provider,{value:{config:u},children:w.jsx(O1,{children:w.jsx(x.Suspense,{fallback:w.jsx(R1,{}),children:w.jsx(E1,{config:u})})})})},M1=new J0({defaultOptions:{queries:{staleTime:300*1e3,gcTime:600*1e3}}});ev.createRoot(document.getElementById("root")).render(w.jsx(x.StrictMode,{children:w.jsx($0,{client:M1,children:w.jsx(Ag,{children:w.jsx(x1,{})})})}));export{si as L,z1 as R,ui as S,l1 as X,qe as _,Pf as a,Wf as b,Al as c,H0 as d,M0 as e,wf as f,p0 as g,O0 as h,ii as i,w as j,jf as k,Td as l,Y0 as m,xe as n,z0 as o,$d as p,kt as q,x as r,_1 as s,x0 as t,U1 as u,D1 as v,C1 as w};
|