@lensjs/core 1.0.7 → 1.0.8
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.cjs +3 -3
- package/dist/abstracts/adapter.js +2 -2
- package/dist/{chunk-AUDSBNLF.cjs → chunk-45JBO7ME.cjs} +2 -4
- package/dist/chunk-66RDYK2I.js +9 -0
- package/dist/{chunk-WU6IZUEV.cjs → chunk-7FBZAVQ3.cjs} +4 -25
- package/dist/{chunk-BFFOUTTE.cjs → chunk-7MOTQS6N.cjs} +2 -2
- package/dist/{chunk-FCMQ3WE3.cjs → chunk-CGPET47D.cjs} +4 -4
- package/dist/{chunk-IPMTMCFP.js → chunk-HLBMQ3ID.js} +1 -3
- package/dist/{chunk-5PYQWLAZ.js → chunk-HMBQ2DF7.js} +2 -2
- package/dist/{chunk-TPUVRGYT.js → chunk-JTRKNE5Q.js} +1 -1
- package/dist/{chunk-3R5QARPT.cjs → chunk-NUSVID2Q.cjs} +1 -6
- package/dist/{chunk-EJ5BW35V.js → chunk-YXSPADWE.js} +1 -22
- package/dist/core/lens.cjs +4 -4
- package/dist/core/lens.js +3 -3
- package/dist/{index-D0Vszdac.d.cts → index-DiLfwsvc.d.cts} +2 -11
- package/dist/{index-D0Vszdac.d.ts → index-DiLfwsvc.d.ts} +2 -11
- package/dist/index.cjs +6 -10
- package/dist/index.d.cts +2 -4
- package/dist/index.d.ts +2 -4
- package/dist/index.js +6 -10
- package/dist/stores/better_sqlite.cjs +2 -3
- package/dist/stores/better_sqlite.js +1 -2
- package/dist/stores/index.cjs +2 -3
- package/dist/stores/index.js +1 -2
- package/dist/ui/assets/QueriesContainer-DhnU1ndx.js +2 -0
- package/dist/ui/assets/{QueryDetailsContainer-BkaktbOw.js → QueryDetailsContainer-CtNxjUvF.js} +17 -17
- package/dist/ui/assets/QueryTable-B6L0F5jL.js +1 -0
- package/dist/ui/assets/RequestDetails-BfxFQmp1.js +1 -0
- package/dist/ui/assets/RequestDetailsContainer-C0s7VLpw.js +2 -0
- package/dist/ui/assets/{RequestsContainer-zoWMoB7o.js → RequestsContainer-rWbSc4Py.js} +2 -2
- package/dist/ui/assets/RequetsTable-D2qBWqFN.js +1 -0
- package/dist/ui/assets/{StatusCode-DH20lQ6a.js → StatusCode-BZGwjlgz.js} +1 -1
- package/dist/ui/assets/TabbedDataViewer-CmztxF70.js +1 -0
- package/dist/ui/assets/{Table-HwlddLhp.js → Table-DF4sxTNg.js} +1 -1
- package/dist/ui/assets/index-DzNHqeKh.css +1 -0
- package/dist/ui/assets/index-Dzy6B_ZD.js +114 -0
- package/dist/ui/assets/index-byVaIWe8.js +1 -0
- package/dist/ui/assets/{useLensApi-Bmk2bGb0.js → useLensApi-CkgX8mtY.js} +1 -1
- package/dist/ui/assets/{useLoadMore-CvIajdjM.js → useLoadMore-BRca6vvh.js} +1 -1
- package/dist/ui/assets/{useQueries-DuyhGJyf.js → useQueries-CVt1cLYV.js} +1 -1
- package/dist/ui/index.html +2 -2
- package/dist/utils/event_emitter.cjs +2 -6
- package/dist/utils/event_emitter.d.cts +1 -11
- package/dist/utils/event_emitter.d.ts +1 -11
- package/dist/utils/event_emitter.js +3 -7
- package/dist/utils/index.cjs +2 -10
- package/dist/utils/index.d.cts +1 -2
- package/dist/utils/index.d.ts +1 -2
- package/dist/utils/index.js +1 -9
- package/package.json +18 -18
- package/README.md +0 -1
- package/dist/chunk-RMZ4UAQ2.js +0 -14
- package/dist/ui/assets/QueriesContainer-DHnHEGG1.js +0 -2
- package/dist/ui/assets/QueryTable-DegVNDkJ.js +0 -1
- package/dist/ui/assets/RequestDetails-zrL0n6gL.js +0 -1
- package/dist/ui/assets/RequestDetailsContainer-CsHWDxn7.js +0 -2
- package/dist/ui/assets/RequetsTable-1K9hhs0W.js +0 -1
- package/dist/ui/assets/TabbedDataViewer-DDVxzZiW.js +0 -1
- package/dist/ui/assets/date-CZdBf-JH.js +0 -1
- package/dist/ui/assets/index-C-9tn0L6.js +0 -114
- package/dist/ui/assets/index-DaNx3ROH.css +0 -1
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./RequestsContainer-rWbSc4Py.js","./useLensApi-CkgX8mtY.js","./useLoadMore-BRca6vvh.js","./QueriesContainer-DhnU1ndx.js","./useQueries-CVt1cLYV.js","./QueryDetailsContainer-CtNxjUvF.js","./TabbedDataViewer-CmztxF70.js","./index-byVaIWe8.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 y of h)if(y.type==="childList")for(const E of y.addedNodes)E.tagName==="LINK"&&E.rel==="modulepreload"&&s(E)}).observe(document,{childList:!0,subtree:!0});function r(h){const y={};return h.integrity&&(y.integrity=h.integrity),h.referrerPolicy&&(y.referrerPolicy=h.referrerPolicy),h.crossOrigin==="use-credentials"?y.credentials="include":h.crossOrigin==="anonymous"?y.credentials="omit":y.credentials="same-origin",y}function s(h){if(h.ep)return;h.ep=!0;const y=r(h);fetch(h.href,y)}})();var Df={exports:{}},xn={};/**
|
|
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 Xh;function fv(){if(Xh)return xn;Xh=1;var u=Symbol.for("react.transitional.element"),c=Symbol.for("react.fragment");function r(s,h,y){var E=null;if(y!==void 0&&(E=""+y),h.key!==void 0&&(E=""+h.key),"key"in h){y={};for(var p in h)p!=="key"&&(y[p]=h[p])}else y=h;return h=y.ref,{$$typeof:u,type:s,key:E,ref:h!==void 0?h:null,props:y}}return xn.Fragment=c,xn.jsx=r,xn.jsxs=r,xn}var Zh;function rv(){return Zh||(Zh=1,Df.exports=fv()),Df.exports}var L=rv(),ni=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(){}},ui=typeof window>"u"||"Deno"in globalThis;function Re(){}function sv(u,c){return typeof u=="function"?u(c):u}function ov(u){return typeof u=="number"&&u>=0&&u!==1/0}function hv(u,c){return Math.max(u+(c||0)-Date.now(),0)}function Hf(u,c){return typeof u=="function"?u(c):u}function dv(u,c){return typeof u=="function"?u(c):u}function Vh(u,c){const{type:r="all",exact:s,fetchStatus:h,predicate:y,queryKey:E,stale:p}=u;if(E){if(s){if(c.queryHash!==Qf(E,c.options))return!1}else if(!Cn(c.queryKey,E))return!1}if(r!=="all"){const b=c.isActive();if(r==="active"&&!b||r==="inactive"&&b)return!1}return!(typeof p=="boolean"&&c.isStale()!==p||h&&h!==c.state.fetchStatus||y&&!y(c))}function Kh(u,c){const{exact:r,status:s,predicate:h,mutationKey:y}=u;if(y){if(!c.options.mutationKey)return!1;if(r){if(Un(c.options.mutationKey)!==Un(y))return!1}else if(!Cn(c.options.mutationKey,y))return!1}return!(s&&c.state.status!==s||h&&!h(c))}function Qf(u,c){return(c?.queryKeyHashFn||Un)(u)}function Un(u){return JSON.stringify(u,(c,r)=>jf(r)?Object.keys(r).sort().reduce((s,h)=>(s[h]=r[h],s),{}):r)}function Cn(u,c){return u===c?!0:typeof u!=typeof c?!1:u&&c&&typeof u=="object"&&typeof c=="object"?Object.keys(c).every(r=>Cn(u[r],c[r])):!1}function dd(u,c){if(u===c)return u;const r=Jh(u)&&Jh(c);if(r||jf(u)&&jf(c)){const s=r?u:Object.keys(u),h=s.length,y=r?c:Object.keys(c),E=y.length,p=r?[]:{},b=new Set(s);let m=0;for(let T=0;T<E;T++){const C=r?T:y[T];(!r&&b.has(C)||r)&&u[C]===void 0&&c[C]===void 0?(p[C]=void 0,m++):(p[C]=dd(u[C],c[C]),p[C]===u[C]&&u[C]!==void 0&&m++)}return h===E&&m===h?u:p}return c}function Kg(u,c){if(!c||Object.keys(u).length!==Object.keys(c).length)return!1;for(const r in u)if(u[r]!==c[r])return!1;return!0}function Jh(u){return Array.isArray(u)&&u.length===Object.keys(u).length}function jf(u){if(!kh(u))return!1;const c=u.constructor;if(c===void 0)return!0;const r=c.prototype;return!(!kh(r)||!r.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(u)!==Object.prototype)}function kh(u){return Object.prototype.toString.call(u)==="[object Object]"}function yv(u){return new Promise(c=>{setTimeout(c,u)})}function mv(u,c,r){return typeof r.structuralSharing=="function"?r.structuralSharing(u,c):r.structuralSharing!==!1?dd(u,c):c}function vv(u,c,r=0){const s=[...u,c];return r&&s.length>r?s.slice(1):s}function gv(u,c,r=0){const s=[c,...u];return r&&s.length>r?s.slice(0,-1):s}var wf=Symbol();function yd(u,c){return!u.queryFn&&c?.initialPromise?()=>c.initialPromise:!u.queryFn||u.queryFn===wf?()=>Promise.reject(new Error(`Missing queryFn: '${u.queryHash}'`)):u.queryFn}function Jg(u,c){return typeof u=="function"?u(...c):!!u}var pv=class extends ni{#t;#e;#l;constructor(){super(),this.#l=u=>{if(!ui&&window.addEventListener){const c=()=>u();return window.addEventListener("visibilitychange",c,!1),()=>{window.removeEventListener("visibilitychange",c)}}}}onSubscribe(){this.#e||this.setEventListener(this.#l)}onUnsubscribe(){this.hasListeners()||(this.#e?.(),this.#e=void 0)}setEventListener(u){this.#l=u,this.#e?.(),this.#e=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"}},md=new pv,bv=class extends ni{#t=!0;#e;#l;constructor(){super(),this.#l=u=>{if(!ui&&window.addEventListener){const c=()=>u(!0),r=()=>u(!1);return window.addEventListener("online",c,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",c),window.removeEventListener("offline",r)}}}}onSubscribe(){this.#e||this.setEventListener(this.#l)}onUnsubscribe(){this.hasListeners()||(this.#e?.(),this.#e=void 0)}setEventListener(u){this.#l=u,this.#e?.(),this.#e=u(this.setOnline.bind(this))}setOnline(u){this.#t!==u&&(this.#t=u,this.listeners.forEach(r=>{r(u)}))}isOnline(){return this.#t}},li=new bv;function Sv(){let u,c;const r=new Promise((h,y)=>{u=h,c=y});r.status="pending",r.catch(()=>{});function s(h){Object.assign(r,h),delete r.resolve,delete r.reject}return r.resolve=h=>{s({status:"fulfilled",value:h}),u(h)},r.reject=h=>{s({status:"rejected",reason:h}),c(h)},r}function Ev(u){return Math.min(1e3*2**u,3e4)}function vd(u){return(u??"online")==="online"?li.isOnline():!0}var gd=class extends Error{constructor(u){super("CancelledError"),this.revert=u?.revert,this.silent=u?.silent}};function pd(u){let c=!1,r=0,s;const h=Sv(),y=()=>h.status!=="pending",E=B=>{y()||(q(new gd(B)),u.abort?.())},p=()=>{c=!0},b=()=>{c=!1},m=()=>md.isFocused()&&(u.networkMode==="always"||li.isOnline())&&u.canRun(),T=()=>vd(u.networkMode)&&u.canRun(),C=B=>{y()||(s?.(),h.resolve(B))},q=B=>{y()||(s?.(),h.reject(B))},Z=()=>new Promise(B=>{s=j=>{(y()||m())&&B(j)},u.onPause?.()}).then(()=>{s=void 0,y()||u.onContinue?.()}),H=()=>{if(y())return;let B;const j=r===0?u.initialPromise:void 0;try{B=j??u.fn()}catch(V){B=Promise.reject(V)}Promise.resolve(B).then(C).catch(V=>{if(y())return;const G=u.retry??(ui?0:3),F=u.retryDelay??Ev,ht=typeof F=="function"?F(r,V):F,W=G===!0||typeof G=="number"&&r<G||typeof G=="function"&&G(r,V);if(c||!W){q(V);return}r++,u.onFail?.(r,V),yv(ht).then(()=>m()?void 0:Z()).then(()=>{c?q(V):H()})})};return{promise:h,status:()=>h.status,cancel:E,continue:()=>(s?.(),h),cancelRetry:p,continueRetry:b,canStart:T,start:()=>(T()?H():Z().then(H),h)}}var Tv=u=>setTimeout(u,0);function Av(){let u=[],c=0,r=p=>{p()},s=p=>{p()},h=Tv;const y=p=>{c?u.push(p):h(()=>{r(p)})},E=()=>{const p=u;u=[],p.length&&h(()=>{s(()=>{p.forEach(b=>{r(b)})})})};return{batch:p=>{let b;c++;try{b=p()}finally{c--,c||E()}return b},batchCalls:p=>(...b)=>{y(()=>{p(...b)})},schedule:y,setNotifyFunction:p=>{r=p},setBatchNotifyFunction:p=>{s=p},setScheduler:p=>{h=p}}}var kt=Av(),bd=class{#t;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),ov(this.gcTime)&&(this.#t=setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(u){this.gcTime=Math.max(this.gcTime||0,u??(ui?1/0:300*1e3))}clearGcTimeout(){this.#t&&(clearTimeout(this.#t),this.#t=void 0)}},Ov=class extends bd{#t;#e;#l;#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.#l=this.#n.getQueryCache(),this.queryKey=u.queryKey,this.queryHash=u.queryHash,this.#t=Mv(this.options),this.state=u.state??this.#t,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#a?.promise}setOptions(u){this.options={...this.#i,...u},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.#l.remove(this)}setData(u,c){const r=mv(this.state.data,u,this.options);return this.#u({data:r,type:"success",dataUpdatedAt:c?.updatedAt,manual:c?.manual}),r}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(Re).catch(Re):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#t)}isActive(){return this.observers.some(u=>dv(u.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===wf||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(u=>Hf(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:!hv(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.#l.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.#l.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 p=this.observers.find(b=>b.options.queryFn);p&&this.setOptions(p.options)}const r=new AbortController,s=p=>{Object.defineProperty(p,"signal",{enumerable:!0,get:()=>(this.#c=!0,r.signal)})},h=()=>{const p=yd(this.options,c),m=(()=>{const T={client:this.#n,queryKey:this.queryKey,meta:this.meta};return s(T),T})();return this.#c=!1,this.options.persister?this.options.persister(p,m,this):p(m)},E=(()=>{const p={fetchOptions:c,options:this.options,queryKey:this.queryKey,client:this.#n,state:this.state,fetchFn:h};return s(p),p})();this.options.behavior?.onFetch(E,this),this.#e=this.state,(this.state.fetchStatus==="idle"||this.state.fetchMeta!==E.fetchOptions?.meta)&&this.#u({type:"fetch",meta:E.fetchOptions?.meta}),this.#a=pd({initialPromise:c?.initialPromise,fn:E.fetchFn,abort:r.abort.bind(r),onFail:(p,b)=>{this.#u({type:"failed",failureCount:p,error:b})},onPause:()=>{this.#u({type:"pause"})},onContinue:()=>{this.#u({type:"continue"})},retry:E.options.retry,retryDelay:E.options.retryDelay,networkMode:E.options.networkMode,canRun:()=>!0});try{const p=await this.#a.start();if(p===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(p),this.#l.config.onSuccess?.(p,this),this.#l.config.onSettled?.(p,this.state.error,this),p}catch(p){if(p instanceof gd){if(p.silent)return this.#a.promise;if(p.revert){if(this.setState({...this.#e,fetchStatus:"idle"}),this.state.data===void 0)throw p;return this.state.data}}throw this.#u({type:"error",error:p}),this.#l.config.onError?.(p,this),this.#l.config.onSettled?.(this.state.data,p,this),p}finally{this.scheduleGc()}}#u(u){const c=r=>{switch(u.type){case"failed":return{...r,fetchFailureCount:u.failureCount,fetchFailureReason:u.error};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,...Rv(r.data,this.options),fetchMeta:u.meta??null};case"success":const s={...r,data:u.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:u.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!u.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#e=u.manual?s:void 0,s;case"error":const h=u.error;return{...r,error:h,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:h,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...u.state}}};this.state=c(this.state),kt.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),this.#l.notify({query:this,type:"updated",action:u})})}};function Rv(u,c){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:vd(c.networkMode)?"fetching":"paused",...u===void 0&&{error:null,status:"pending"}}}function Mv(u){const c=typeof u.initialData=="function"?u.initialData():u.initialData,r=c!==void 0,s=r?typeof u.initialDataUpdatedAt=="function"?u.initialDataUpdatedAt():u.initialDataUpdatedAt:0;return{data:c,dataUpdateCount:0,dataUpdatedAt:r?s??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:r?"success":"pending",fetchStatus:"idle"}}var Dv=class extends ni{constructor(u={}){super(),this.config=u,this.#t=new Map}#t;build(u,c,r){const s=c.queryKey,h=c.queryHash??Qf(s,c);let y=this.get(h);return y||(y=new Ov({client:u,queryKey:s,queryHash:h,options:u.defaultQueryOptions(c),state:r,defaultOptions:u.getQueryDefaults(s)}),this.add(y)),y}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(r=>Vh(c,r))}findAll(u={}){const c=this.getAll();return Object.keys(u).length>0?c.filter(r=>Vh(u,r)):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()})})}},xv=class extends bd{#t;#e;#l;constructor(u){super(),this.mutationId=u.mutationId,this.#e=u.mutationCache,this.#t=[],this.state=u.state||zv(),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.#t.includes(u)||(this.#t.push(u),this.clearGcTimeout(),this.#e.notify({type:"observerAdded",mutation:this,observer:u}))}removeObserver(u){this.#t=this.#t.filter(c=>c!==u),this.scheduleGc(),this.#e.notify({type:"observerRemoved",mutation:this,observer:u})}optionalRemove(){this.#t.length||(this.state.status==="pending"?this.scheduleGc():this.#e.remove(this))}continue(){return this.#l?.continue()??this.execute(this.state.variables)}async execute(u){const c=()=>{this.#n({type:"continue"})};this.#l=pd({fn:()=>this.options.mutationFn?this.options.mutationFn(u):Promise.reject(new Error("No mutationFn found")),onFail:(h,y)=>{this.#n({type:"failed",failureCount:h,error:y})},onPause:()=>{this.#n({type:"pause"})},onContinue:c,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#e.canRun(this)});const r=this.state.status==="pending",s=!this.#l.canStart();try{if(r)c();else{this.#n({type:"pending",variables:u,isPaused:s}),await this.#e.config.onMutate?.(u,this);const y=await this.options.onMutate?.(u);y!==this.state.context&&this.#n({type:"pending",context:y,variables:u,isPaused:s})}const h=await this.#l.start();return await this.#e.config.onSuccess?.(h,u,this.state.context,this),await this.options.onSuccess?.(h,u,this.state.context),await this.#e.config.onSettled?.(h,null,this.state.variables,this.state.context,this),await this.options.onSettled?.(h,null,u,this.state.context),this.#n({type:"success",data:h}),h}catch(h){try{throw await this.#e.config.onError?.(h,u,this.state.context,this),await this.options.onError?.(h,u,this.state.context),await this.#e.config.onSettled?.(void 0,h,this.state.variables,this.state.context,this),await this.options.onSettled?.(void 0,h,u,this.state.context),h}finally{this.#n({type:"error",error:h})}}finally{this.#e.runNext(this)}}#n(u){const c=r=>{switch(u.type){case"failed":return{...r,failureCount:u.failureCount,failureReason:u.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"pending":return{...r,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{...r,data:u.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:u.error,failureCount:r.failureCount+1,failureReason:u.error,isPaused:!1,status:"error"}}};this.state=c(this.state),kt.batch(()=>{this.#t.forEach(r=>{r.onMutationUpdate(u)}),this.#e.notify({mutation:this,type:"updated",action:u})})}};function zv(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var _v=class extends ni{constructor(u={}){super(),this.config=u,this.#t=new Set,this.#e=new Map,this.#l=0}#t;#e;#l;build(u,c,r){const s=new xv({mutationCache:this,mutationId:++this.#l,options:u.defaultMutationOptions(c),state:r});return this.add(s),s}add(u){this.#t.add(u);const c=Pu(u);if(typeof c=="string"){const r=this.#e.get(c);r?r.push(u):this.#e.set(c,[u])}this.notify({type:"added",mutation:u})}remove(u){if(this.#t.delete(u)){const c=Pu(u);if(typeof c=="string"){const r=this.#e.get(c);if(r)if(r.length>1){const s=r.indexOf(u);s!==-1&&r.splice(s,1)}else r[0]===u&&this.#e.delete(c)}}this.notify({type:"removed",mutation:u})}canRun(u){const c=Pu(u);if(typeof c=="string"){const s=this.#e.get(c)?.find(h=>h.state.status==="pending");return!s||s===u}else return!0}runNext(u){const c=Pu(u);return typeof c=="string"?this.#e.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.#e.clear()})}getAll(){return Array.from(this.#t)}find(u){const c={exact:!0,...u};return this.getAll().find(r=>Kh(c,r))}findAll(u={}){return this.getAll().filter(c=>Kh(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(Re))))}};function Pu(u){return u.options.scope?.id}function $h(u){return{onFetch:(c,r)=>{const s=c.options,h=c.fetchOptions?.meta?.fetchMore?.direction,y=c.state.data?.pages||[],E=c.state.data?.pageParams||[];let p={pages:[],pageParams:[]},b=0;const m=async()=>{let T=!1;const C=H=>{Object.defineProperty(H,"signal",{enumerable:!0,get:()=>(c.signal.aborted?T=!0:c.signal.addEventListener("abort",()=>{T=!0}),c.signal)})},q=yd(c.options,c.fetchOptions),Z=async(H,B,j)=>{if(T)return Promise.reject();if(B==null&&H.pages.length)return Promise.resolve(H);const G=(()=>{const Rt={client:c.client,queryKey:c.queryKey,pageParam:B,direction:j?"backward":"forward",meta:c.options.meta};return C(Rt),Rt})(),F=await q(G),{maxPages:ht}=c.options,W=j?gv:vv;return{pages:W(H.pages,F,ht),pageParams:W(H.pageParams,B,ht)}};if(h&&y.length){const H=h==="backward",B=H?Uv:Fh,j={pages:y,pageParams:E},V=B(s,j);p=await Z(j,V,H)}else{const H=u??y.length;do{const B=b===0?E[0]??s.initialPageParam:Fh(s,p);if(b>0&&B==null)break;p=await Z(p,B),b++}while(b<H)}return p};c.options.persister?c.fetchFn=()=>c.options.persister?.(m,{client:c.client,queryKey:c.queryKey,meta:c.options.meta,signal:c.signal},r):c.fetchFn=m}}}function Fh(u,{pages:c,pageParams:r}){const s=c.length-1;return c.length>0?u.getNextPageParam(c[s],c,r[s],r):void 0}function Uv(u,{pages:c,pageParams:r}){return c.length>0?u.getPreviousPageParam?.(c[0],c,r[0],r):void 0}var Cv=class{#t;#e;#l;#n;#a;#i;#c;#u;constructor(u={}){this.#t=u.queryCache||new Dv,this.#e=u.mutationCache||new _v,this.#l=u.defaultOptions||{},this.#n=new Map,this.#a=new Map,this.#i=0}mount(){this.#i++,this.#i===1&&(this.#c=md.subscribe(async u=>{u&&(await this.resumePausedMutations(),this.#t.onFocus())}),this.#u=li.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.#e.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),r=this.#t.build(this,c),s=r.state.data;return s===void 0?this.fetchQuery(u):(u.revalidateIfStale&&r.isStaleByTime(Hf(c.staleTime,r))&&this.prefetchQuery(c),Promise.resolve(s))}getQueriesData(u){return this.#t.findAll(u).map(({queryKey:c,state:r})=>{const s=r.data;return[c,s]})}setQueryData(u,c,r){const s=this.defaultQueryOptions({queryKey:u}),y=this.#t.get(s.queryHash)?.state.data,E=sv(c,y);if(E!==void 0)return this.#t.build(this,s).setData(E,{...r,manual:!0})}setQueriesData(u,c,r){return kt.batch(()=>this.#t.findAll(u).map(({queryKey:s})=>[s,this.setQueryData(s,c,r)]))}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(r=>{c.remove(r)})})}resetQueries(u,c){const r=this.#t;return kt.batch(()=>(r.findAll(u).forEach(s=>{s.reset()}),this.refetchQueries({type:"active",...u},c)))}cancelQueries(u,c={}){const r={revert:!0,...c},s=kt.batch(()=>this.#t.findAll(u).map(h=>h.cancel(r)));return Promise.all(s).then(Re).catch(Re)}invalidateQueries(u,c={}){return kt.batch(()=>(this.#t.findAll(u).forEach(r=>{r.invalidate()}),u?.refetchType==="none"?Promise.resolve():this.refetchQueries({...u,type:u?.refetchType??u?.type??"active"},c)))}refetchQueries(u,c={}){const r={...c,cancelRefetch:c.cancelRefetch??!0},s=kt.batch(()=>this.#t.findAll(u).filter(h=>!h.isDisabled()&&!h.isStatic()).map(h=>{let y=h.fetch(void 0,r);return r.throwOnError||(y=y.catch(Re)),h.state.fetchStatus==="paused"?Promise.resolve():y}));return Promise.all(s).then(Re)}fetchQuery(u){const c=this.defaultQueryOptions(u);c.retry===void 0&&(c.retry=!1);const r=this.#t.build(this,c);return r.isStaleByTime(Hf(c.staleTime,r))?r.fetch(c):Promise.resolve(r.state.data)}prefetchQuery(u){return this.fetchQuery(u).then(Re).catch(Re)}fetchInfiniteQuery(u){return u.behavior=$h(u.pages),this.fetchQuery(u)}prefetchInfiniteQuery(u){return this.fetchInfiniteQuery(u).then(Re).catch(Re)}ensureInfiniteQueryData(u){return u.behavior=$h(u.pages),this.ensureQueryData(u)}resumePausedMutations(){return li.isOnline()?this.#e.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#t}getMutationCache(){return this.#e}getDefaultOptions(){return this.#l}setDefaultOptions(u){this.#l=u}setQueryDefaults(u,c){this.#n.set(Un(u),{queryKey:u,defaultOptions:c})}getQueryDefaults(u){const c=[...this.#n.values()],r={};return c.forEach(s=>{Cn(u,s.queryKey)&&Object.assign(r,s.defaultOptions)}),r}setMutationDefaults(u,c){this.#a.set(Un(u),{mutationKey:u,defaultOptions:c})}getMutationDefaults(u){const c=[...this.#a.values()],r={};return c.forEach(s=>{Cn(u,s.mutationKey)&&Object.assign(r,s.defaultOptions)}),r}defaultQueryOptions(u){if(u._defaulted)return u;const c={...this.#l.queries,...this.getQueryDefaults(u.queryKey),...u,_defaulted:!0};return c.queryHash||(c.queryHash=Qf(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===wf&&(c.enabled=!1),c}defaultMutationOptions(u){return u?._defaulted?u:{...this.#l.mutations,...u?.mutationKey&&this.getMutationDefaults(u.mutationKey),...u,_defaulted:!0}}clear(){this.#t.clear(),this.#e.clear()}},xf={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 Wh;function Nv(){if(Wh)return et;Wh=1;var u=Symbol.for("react.transitional.element"),c=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),h=Symbol.for("react.profiler"),y=Symbol.for("react.consumer"),E=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),b=Symbol.for("react.suspense"),m=Symbol.for("react.memo"),T=Symbol.for("react.lazy"),C=Symbol.iterator;function q(v){return v===null||typeof v!="object"?null:(v=C&&v[C]||v["@@iterator"],typeof v=="function"?v:null)}var Z={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},H=Object.assign,B={};function j(v,N,Y){this.props=v,this.context=N,this.refs=B,this.updater=Y||Z}j.prototype.isReactComponent={},j.prototype.setState=function(v,N){if(typeof v!="object"&&typeof v!="function"&&v!=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,v,N,"setState")},j.prototype.forceUpdate=function(v){this.updater.enqueueForceUpdate(this,v,"forceUpdate")};function V(){}V.prototype=j.prototype;function G(v,N,Y){this.props=v,this.context=N,this.refs=B,this.updater=Y||Z}var F=G.prototype=new V;F.constructor=G,H(F,j.prototype),F.isPureReactComponent=!0;var ht=Array.isArray,W={H:null,A:null,T:null,S:null,V:null},Rt=Object.prototype.hasOwnProperty;function Ut(v,N,Y,Q,J,ct){return Y=ct.ref,{$$typeof:u,type:v,key:N,ref:Y!==void 0?Y:null,props:ct}}function qt(v,N){return Ut(v.type,N,void 0,void 0,void 0,v.props)}function Tt(v){return typeof v=="object"&&v!==null&&v.$$typeof===u}function te(v){var N={"=":"=0",":":"=2"};return"$"+v.replace(/[=:]/g,function(Y){return N[Y]})}var oe=/\/+/g;function Gt(v,N){return typeof v=="object"&&v!==null&&v.key!=null?te(""+v.key):N.toString(36)}function Al(){}function Ol(v){switch(v.status){case"fulfilled":return v.value;case"rejected":throw v.reason;default:switch(typeof v.status=="string"?v.then(Al,Al):(v.status="pending",v.then(function(N){v.status==="pending"&&(v.status="fulfilled",v.value=N)},function(N){v.status==="pending"&&(v.status="rejected",v.reason=N)})),v.status){case"fulfilled":return v.value;case"rejected":throw v.reason}}throw v}function Xt(v,N,Y,Q,J){var ct=typeof v;(ct==="undefined"||ct==="boolean")&&(v=null);var tt=!1;if(v===null)tt=!0;else switch(ct){case"bigint":case"string":case"number":tt=!0;break;case"object":switch(v.$$typeof){case u:case c:tt=!0;break;case T:return tt=v._init,Xt(tt(v._payload),N,Y,Q,J)}}if(tt)return J=J(v),tt=Q===""?"."+Gt(v,0):Q,ht(J)?(Y="",tt!=null&&(Y=tt.replace(oe,"$&/")+"/"),Xt(J,N,Y,"",function(Pe){return Pe})):J!=null&&(Tt(J)&&(J=qt(J,Y+(J.key==null||v&&v.key===J.key?"":(""+J.key).replace(oe,"$&/")+"/")+tt)),N.push(J)),1;tt=0;var ee=Q===""?".":Q+":";if(ht(v))for(var bt=0;bt<v.length;bt++)Q=v[bt],ct=ee+Gt(Q,bt),tt+=Xt(Q,N,Y,ct,J);else if(bt=q(v),typeof bt=="function")for(v=bt.call(v),bt=0;!(Q=v.next()).done;)Q=Q.value,ct=ee+Gt(Q,bt++),tt+=Xt(Q,N,Y,ct,J);else if(ct==="object"){if(typeof v.then=="function")return Xt(Ol(v),N,Y,Q,J);throw N=String(v),Error("Objects are not valid as a React child (found: "+(N==="[object Object]"?"object with keys {"+Object.keys(v).join(", ")+"}":N)+"). If you meant to render a collection of children, use an array instead.")}return tt}function z(v,N,Y){if(v==null)return v;var Q=[],J=0;return Xt(v,Q,"","",function(ct){return N.call(Y,ct,J++)}),Q}function w(v){if(v._status===-1){var N=v._result;N=N(),N.then(function(Y){(v._status===0||v._status===-1)&&(v._status=1,v._result=Y)},function(Y){(v._status===0||v._status===-1)&&(v._status=2,v._result=Y)}),v._status===-1&&(v._status=0,v._result=N)}if(v._status===1)return v._result.default;throw v._result}var P=typeof reportError=="function"?reportError:function(v){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var N=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof v=="object"&&v!==null&&typeof v.message=="string"?String(v.message):String(v),error:v});if(!window.dispatchEvent(N))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",v);return}console.error(v)};function vt(){}return et.Children={map:z,forEach:function(v,N,Y){z(v,function(){N.apply(this,arguments)},Y)},count:function(v){var N=0;return z(v,function(){N++}),N},toArray:function(v){return z(v,function(N){return N})||[]},only:function(v){if(!Tt(v))throw Error("React.Children.only expected to receive a single React element child.");return v}},et.Component=j,et.Fragment=r,et.Profiler=h,et.PureComponent=G,et.StrictMode=s,et.Suspense=b,et.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=W,et.__COMPILER_RUNTIME={__proto__:null,c:function(v){return W.H.useMemoCache(v)}},et.cache=function(v){return function(){return v.apply(null,arguments)}},et.cloneElement=function(v,N,Y){if(v==null)throw Error("The argument must be a React element, but you passed "+v+".");var Q=H({},v.props),J=v.key,ct=void 0;if(N!=null)for(tt in N.ref!==void 0&&(ct=void 0),N.key!==void 0&&(J=""+N.key),N)!Rt.call(N,tt)||tt==="key"||tt==="__self"||tt==="__source"||tt==="ref"&&N.ref===void 0||(Q[tt]=N[tt]);var tt=arguments.length-2;if(tt===1)Q.children=Y;else if(1<tt){for(var ee=Array(tt),bt=0;bt<tt;bt++)ee[bt]=arguments[bt+2];Q.children=ee}return Ut(v.type,J,void 0,void 0,ct,Q)},et.createContext=function(v){return v={$$typeof:E,_currentValue:v,_currentValue2:v,_threadCount:0,Provider:null,Consumer:null},v.Provider=v,v.Consumer={$$typeof:y,_context:v},v},et.createElement=function(v,N,Y){var Q,J={},ct=null;if(N!=null)for(Q in N.key!==void 0&&(ct=""+N.key),N)Rt.call(N,Q)&&Q!=="key"&&Q!=="__self"&&Q!=="__source"&&(J[Q]=N[Q]);var tt=arguments.length-2;if(tt===1)J.children=Y;else if(1<tt){for(var ee=Array(tt),bt=0;bt<tt;bt++)ee[bt]=arguments[bt+2];J.children=ee}if(v&&v.defaultProps)for(Q in tt=v.defaultProps,tt)J[Q]===void 0&&(J[Q]=tt[Q]);return Ut(v,ct,void 0,void 0,null,J)},et.createRef=function(){return{current:null}},et.forwardRef=function(v){return{$$typeof:p,render:v}},et.isValidElement=Tt,et.lazy=function(v){return{$$typeof:T,_payload:{_status:-1,_result:v},_init:w}},et.memo=function(v,N){return{$$typeof:m,type:v,compare:N===void 0?null:N}},et.startTransition=function(v){var N=W.T,Y={};W.T=Y;try{var Q=v(),J=W.S;J!==null&&J(Y,Q),typeof Q=="object"&&Q!==null&&typeof Q.then=="function"&&Q.then(vt,P)}catch(ct){P(ct)}finally{W.T=N}},et.unstable_useCacheRefresh=function(){return W.H.useCacheRefresh()},et.use=function(v){return W.H.use(v)},et.useActionState=function(v,N,Y){return W.H.useActionState(v,N,Y)},et.useCallback=function(v,N){return W.H.useCallback(v,N)},et.useContext=function(v){return W.H.useContext(v)},et.useDebugValue=function(){},et.useDeferredValue=function(v,N){return W.H.useDeferredValue(v,N)},et.useEffect=function(v,N,Y){var Q=W.H;if(typeof Y=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return Q.useEffect(v,N)},et.useId=function(){return W.H.useId()},et.useImperativeHandle=function(v,N,Y){return W.H.useImperativeHandle(v,N,Y)},et.useInsertionEffect=function(v,N){return W.H.useInsertionEffect(v,N)},et.useLayoutEffect=function(v,N){return W.H.useLayoutEffect(v,N)},et.useMemo=function(v,N){return W.H.useMemo(v,N)},et.useOptimistic=function(v,N){return W.H.useOptimistic(v,N)},et.useReducer=function(v,N,Y){return W.H.useReducer(v,N,Y)},et.useRef=function(v){return W.H.useRef(v)},et.useState=function(v){return W.H.useState(v)},et.useSyncExternalStore=function(v,N,Y){return W.H.useSyncExternalStore(v,N,Y)},et.useTransition=function(){return W.H.useTransition()},et.version="19.1.1",et}var Ph;function Yf(){return Ph||(Ph=1,xf.exports=Nv()),xf.exports}var D=Yf(),Sd=D.createContext(void 0),kg=u=>{const c=D.useContext(Sd);if(!c)throw new Error("No QueryClient set, use QueryClientProvider to set one");return c},qv=({client:u,children:c})=>(D.useEffect(()=>(u.mount(),()=>{u.unmount()}),[u]),L.jsx(Sd.Provider,{value:u,children:c})),zf={exports:{}},zn={},_f={exports:{}},Uf={};/**
|
|
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 Ih;function Hv(){return Ih||(Ih=1,(function(u){function c(z,w){var P=z.length;z.push(w);t:for(;0<P;){var vt=P-1>>>1,v=z[vt];if(0<h(v,w))z[vt]=w,z[P]=v,P=vt;else break t}}function r(z){return z.length===0?null:z[0]}function s(z){if(z.length===0)return null;var w=z[0],P=z.pop();if(P!==w){z[0]=P;t:for(var vt=0,v=z.length,N=v>>>1;vt<N;){var Y=2*(vt+1)-1,Q=z[Y],J=Y+1,ct=z[J];if(0>h(Q,P))J<v&&0>h(ct,Q)?(z[vt]=ct,z[J]=P,vt=J):(z[vt]=Q,z[Y]=P,vt=Y);else if(J<v&&0>h(ct,P))z[vt]=ct,z[J]=P,vt=J;else break t}}return w}function h(z,w){var P=z.sortIndex-w.sortIndex;return P!==0?P:z.id-w.id}if(u.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var y=performance;u.unstable_now=function(){return y.now()}}else{var E=Date,p=E.now();u.unstable_now=function(){return E.now()-p}}var b=[],m=[],T=1,C=null,q=3,Z=!1,H=!1,B=!1,j=!1,V=typeof setTimeout=="function"?setTimeout:null,G=typeof clearTimeout=="function"?clearTimeout:null,F=typeof setImmediate<"u"?setImmediate:null;function ht(z){for(var w=r(m);w!==null;){if(w.callback===null)s(m);else if(w.startTime<=z)s(m),w.sortIndex=w.expirationTime,c(b,w);else break;w=r(m)}}function W(z){if(B=!1,ht(z),!H)if(r(b)!==null)H=!0,Rt||(Rt=!0,Gt());else{var w=r(m);w!==null&&Xt(W,w.startTime-z)}}var Rt=!1,Ut=-1,qt=5,Tt=-1;function te(){return j?!0:!(u.unstable_now()-Tt<qt)}function oe(){if(j=!1,Rt){var z=u.unstable_now();Tt=z;var w=!0;try{t:{H=!1,B&&(B=!1,G(Ut),Ut=-1),Z=!0;var P=q;try{e:{for(ht(z),C=r(b);C!==null&&!(C.expirationTime>z&&te());){var vt=C.callback;if(typeof vt=="function"){C.callback=null,q=C.priorityLevel;var v=vt(C.expirationTime<=z);if(z=u.unstable_now(),typeof v=="function"){C.callback=v,ht(z),w=!0;break e}C===r(b)&&s(b),ht(z)}else s(b);C=r(b)}if(C!==null)w=!0;else{var N=r(m);N!==null&&Xt(W,N.startTime-z),w=!1}}break t}finally{C=null,q=P,Z=!1}w=void 0}}finally{w?Gt():Rt=!1}}}var Gt;if(typeof F=="function")Gt=function(){F(oe)};else if(typeof MessageChannel<"u"){var Al=new MessageChannel,Ol=Al.port2;Al.port1.onmessage=oe,Gt=function(){Ol.postMessage(null)}}else Gt=function(){V(oe,0)};function Xt(z,w){Ut=V(function(){z(u.unstable_now())},w)}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"):qt=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 w=3;break;default:w=q}var P=q;q=w;try{return z()}finally{q=P}},u.unstable_requestPaint=function(){j=!0},u.unstable_runWithPriority=function(z,w){switch(z){case 1:case 2:case 3:case 4:case 5:break;default:z=3}var P=q;q=z;try{return w()}finally{q=P}},u.unstable_scheduleCallback=function(z,w,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 v=-1;break;case 2:v=250;break;case 5:v=1073741823;break;case 4:v=1e4;break;default:v=5e3}return v=P+v,z={id:T++,callback:w,priorityLevel:z,startTime:P,expirationTime:v,sortIndex:-1},P>vt?(z.sortIndex=P,c(m,z),r(b)===null&&z===r(m)&&(B?(G(Ut),Ut=-1):B=!0,Xt(W,P-vt))):(z.sortIndex=v,c(b,z),H||Z||(H=!0,Rt||(Rt=!0,Gt()))),z},u.unstable_shouldYield=te,u.unstable_wrapCallback=function(z){var w=q;return function(){var P=q;q=w;try{return z.apply(this,arguments)}finally{q=P}}}})(Uf)),Uf}var td;function jv(){return td||(td=1,_f.exports=Hv()),_f.exports}var Cf={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 ed;function Bv(){if(ed)return Kt;ed=1;var u=Yf();function c(b){var m="https://react.dev/errors/"+b;if(1<arguments.length){m+="?args[]="+encodeURIComponent(arguments[1]);for(var T=2;T<arguments.length;T++)m+="&args[]="+encodeURIComponent(arguments[T])}return"Minified React error #"+b+"; visit "+m+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function r(){}var s={d:{f:r,r:function(){throw Error(c(522))},D:r,C:r,L:r,m:r,X:r,S:r,M:r},p:0,findDOMNode:null},h=Symbol.for("react.portal");function y(b,m,T){var C=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:h,key:C==null?null:""+C,children:b,containerInfo:m,implementation:T}}var E=u.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function p(b,m){if(b==="font")return"";if(typeof m=="string")return m==="use-credentials"?m:""}return Kt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=s,Kt.createPortal=function(b,m){var T=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!m||m.nodeType!==1&&m.nodeType!==9&&m.nodeType!==11)throw Error(c(299));return y(b,m,null,T)},Kt.flushSync=function(b){var m=E.T,T=s.p;try{if(E.T=null,s.p=2,b)return b()}finally{E.T=m,s.p=T,s.d.f()}},Kt.preconnect=function(b,m){typeof b=="string"&&(m?(m=m.crossOrigin,m=typeof m=="string"?m==="use-credentials"?m:"":void 0):m=null,s.d.C(b,m))},Kt.prefetchDNS=function(b){typeof b=="string"&&s.d.D(b)},Kt.preinit=function(b,m){if(typeof b=="string"&&m&&typeof m.as=="string"){var T=m.as,C=p(T,m.crossOrigin),q=typeof m.integrity=="string"?m.integrity:void 0,Z=typeof m.fetchPriority=="string"?m.fetchPriority:void 0;T==="style"?s.d.S(b,typeof m.precedence=="string"?m.precedence:void 0,{crossOrigin:C,integrity:q,fetchPriority:Z}):T==="script"&&s.d.X(b,{crossOrigin:C,integrity:q,fetchPriority:Z,nonce:typeof m.nonce=="string"?m.nonce:void 0})}},Kt.preinitModule=function(b,m){if(typeof b=="string")if(typeof m=="object"&&m!==null){if(m.as==null||m.as==="script"){var T=p(m.as,m.crossOrigin);s.d.M(b,{crossOrigin:T,integrity:typeof m.integrity=="string"?m.integrity:void 0,nonce:typeof m.nonce=="string"?m.nonce:void 0})}}else m==null&&s.d.M(b)},Kt.preload=function(b,m){if(typeof b=="string"&&typeof m=="object"&&m!==null&&typeof m.as=="string"){var T=m.as,C=p(T,m.crossOrigin);s.d.L(b,T,{crossOrigin:C,integrity:typeof m.integrity=="string"?m.integrity:void 0,nonce:typeof m.nonce=="string"?m.nonce:void 0,type:typeof m.type=="string"?m.type:void 0,fetchPriority:typeof m.fetchPriority=="string"?m.fetchPriority:void 0,referrerPolicy:typeof m.referrerPolicy=="string"?m.referrerPolicy:void 0,imageSrcSet:typeof m.imageSrcSet=="string"?m.imageSrcSet:void 0,imageSizes:typeof m.imageSizes=="string"?m.imageSizes:void 0,media:typeof m.media=="string"?m.media:void 0})}},Kt.preloadModule=function(b,m){if(typeof b=="string")if(m){var T=p(m.as,m.crossOrigin);s.d.m(b,{as:typeof m.as=="string"&&m.as!=="script"?m.as:void 0,crossOrigin:T,integrity:typeof m.integrity=="string"?m.integrity:void 0})}else s.d.m(b)},Kt.requestFormReset=function(b){s.d.r(b)},Kt.unstable_batchedUpdates=function(b,m){return b(m)},Kt.useFormState=function(b,m,T){return E.H.useFormState(b,m,T)},Kt.useFormStatus=function(){return E.H.useHostTransitionStatus()},Kt.version="19.1.1",Kt}var ld;function Ed(){if(ld)return Cf.exports;ld=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(),Cf.exports=Bv(),Cf.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 ad;function Qv(){if(ad)return zn;ad=1;var u=jv(),c=Yf(),r=Ed();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 y(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 E(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 p(t){if(y(t)!==t)throw Error(s(188))}function b(t){var e=t.alternate;if(!e){if(e=y(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 p(n),t;if(i===a)return p(n),e;i=i.sibling}throw Error(s(188))}if(l.return!==a.return)l=n,a=i;else{for(var f=!1,o=n.child;o;){if(o===l){f=!0,l=n,a=i;break}if(o===a){f=!0,a=n,l=i;break}o=o.sibling}if(!f){for(o=i.child;o;){if(o===l){f=!0,l=i,a=n;break}if(o===a){f=!0,a=i,l=n;break}o=o.sibling}if(!f)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 m(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t;for(t=t.child;t!==null;){if(e=m(t),e!==null)return e;t=t.sibling}return null}var T=Object.assign,C=Symbol.for("react.element"),q=Symbol.for("react.transitional.element"),Z=Symbol.for("react.portal"),H=Symbol.for("react.fragment"),B=Symbol.for("react.strict_mode"),j=Symbol.for("react.profiler"),V=Symbol.for("react.provider"),G=Symbol.for("react.consumer"),F=Symbol.for("react.context"),ht=Symbol.for("react.forward_ref"),W=Symbol.for("react.suspense"),Rt=Symbol.for("react.suspense_list"),Ut=Symbol.for("react.memo"),qt=Symbol.for("react.lazy"),Tt=Symbol.for("react.activity"),te=Symbol.for("react.memo_cache_sentinel"),oe=Symbol.iterator;function Gt(t){return t===null||typeof t!="object"?null:(t=oe&&t[oe]||t["@@iterator"],typeof t=="function"?t:null)}var Al=Symbol.for("react.client.reference");function Ol(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===Al?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case H:return"Fragment";case j:return"Profiler";case B:return"StrictMode";case W:return"Suspense";case Rt:return"SuspenseList";case Tt:return"Activity"}if(typeof t=="object")switch(t.$$typeof){case Z:return"Portal";case F:return(t.displayName||"Context")+".Provider";case G:return(t._context.displayName||"Context")+".Consumer";case ht:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case Ut:return e=t.displayName||null,e!==null?e:Ol(t.type)||"Memo";case qt:e=t._payload,t=t._init;try{return Ol(t(e))}catch{}}return null}var Xt=Array.isArray,z=c.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,w=r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,P={pending:!1,data:null,method:null,action:null},vt=[],v=-1;function N(t){return{current:t}}function Y(t){0>v||(t.current=vt[v],vt[v]=null,v--)}function Q(t,e){v++,vt[v]=t.current,t.current=e}var J=N(null),ct=N(null),tt=N(null),ee=N(null);function bt(t,e){switch(Q(tt,e),Q(ct,t),Q(J,null),e.nodeType){case 9:case 11:t=(t=e.documentElement)&&(t=t.namespaceURI)?gh(t):0;break;default:if(t=e.tagName,e=e.namespaceURI)e=gh(e),t=ph(e,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}Y(J),Q(J,t)}function Pe(){Y(J),Y(ct),Y(tt)}function oi(t){t.memoizedState!==null&&Q(ee,t);var e=J.current,l=ph(e,t.type);e!==l&&(Q(ct,t),Q(J,l))}function Bn(t){ct.current===t&&(Y(J),Y(ct)),ee.current===t&&(Y(ee),An._currentValue=P)}var hi=Object.prototype.hasOwnProperty,di=u.unstable_scheduleCallback,yi=u.unstable_cancelCallback,Yd=u.unstable_shouldYield,Ld=u.unstable_requestPaint,xe=u.unstable_now,Gd=u.unstable_getCurrentPriorityLevel,Ff=u.unstable_ImmediatePriority,Wf=u.unstable_UserBlockingPriority,Qn=u.unstable_NormalPriority,Xd=u.unstable_LowPriority,Pf=u.unstable_IdlePriority,Zd=u.log,Vd=u.unstable_setDisableYieldValue,_a=null,le=null;function Ie(t){if(typeof Zd=="function"&&Vd(t),le&&typeof le.setStrictMode=="function")try{le.setStrictMode(_a,t)}catch{}}var ae=Math.clz32?Math.clz32:kd,Kd=Math.log,Jd=Math.LN2;function kd(t){return t>>>=0,t===0?32:31-(Kd(t)/Jd|0)|0}var wn=256,Yn=4194304;function Rl(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 Ln(t,e,l){var a=t.pendingLanes;if(a===0)return 0;var n=0,i=t.suspendedLanes,f=t.pingedLanes;t=t.warmLanes;var o=a&134217727;return o!==0?(a=o&~i,a!==0?n=Rl(a):(f&=o,f!==0?n=Rl(f):l||(l=o&~t,l!==0&&(n=Rl(l))))):(o=a&~i,o!==0?n=Rl(o):f!==0?n=Rl(f):l||(l=a&~t,l!==0&&(n=Rl(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 Ua(t,e){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&e)===0}function $d(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 If(){var t=wn;return wn<<=1,(wn&4194048)===0&&(wn=256),t}function tr(){var t=Yn;return Yn<<=1,(Yn&62914560)===0&&(Yn=4194304),t}function mi(t){for(var e=[],l=0;31>l;l++)e.push(t);return e}function Ca(t,e){t.pendingLanes|=e,e!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function Fd(t,e,l,a,n,i){var f=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,d=t.expirationTimes,O=t.hiddenUpdates;for(l=f&~l;0<l;){var x=31-ae(l),U=1<<x;o[x]=0,d[x]=-1;var R=O[x];if(R!==null)for(O[x]=null,x=0;x<R.length;x++){var M=R[x];M!==null&&(M.lane&=-536870913)}l&=~U}a!==0&&er(t,a,0),i!==0&&n===0&&t.tag!==0&&(t.suspendedLanes|=i&~(f&~e))}function er(t,e,l){t.pendingLanes|=e,t.suspendedLanes&=~e;var a=31-ae(e);t.entangledLanes|=e,t.entanglements[a]=t.entanglements[a]|1073741824|l&4194090}function lr(t,e){var l=t.entangledLanes|=e;for(t=t.entanglements;l;){var a=31-ae(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 ar(){var t=w.p;return t!==0?t:(t=window.event,t===void 0?32:Bh(t.type))}function Wd(t,e){var l=w.p;try{return w.p=t,e()}finally{w.p=l}}var tl=Math.random().toString(36).slice(2),Zt="__reactFiber$"+tl,$t="__reactProps$"+tl,Xl="__reactContainer$"+tl,pi="__reactEvents$"+tl,Pd="__reactListeners$"+tl,Id="__reactHandles$"+tl,nr="__reactResources$"+tl,Na="__reactMarker$"+tl;function bi(t){delete t[Zt],delete t[$t],delete t[pi],delete t[Pd],delete t[Id]}function Zl(t){var e=t[Zt];if(e)return e;for(var l=t.parentNode;l;){if(e=l[Xl]||l[Zt]){if(l=e.alternate,e.child!==null||l!==null&&l.child!==null)for(t=Th(t);t!==null;){if(l=t[Zt])return l;t=Th(t)}return e}t=l,l=t.parentNode}return null}function Vl(t){if(t=t[Zt]||t[Xl]){var e=t.tag;if(e===5||e===6||e===13||e===26||e===27||e===3)return t}return null}function qa(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[nr];return e||(e=t[nr]={hoistableStyles:new Map,hoistableScripts:new Map}),e}function Ht(t){t[Na]=!0}var ur=new Set,ir={};function Ml(t,e){Jl(t,e),Jl(t+"Capture",e)}function Jl(t,e){for(ir[t]=e,t=0;t<e.length;t++)ur.add(e[t])}var ty=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]*$"),cr={},fr={};function ey(t){return hi.call(fr,t)?!0:hi.call(cr,t)?!1:ty.test(t)?fr[t]=!0:(cr[t]=!0,!1)}function Gn(t,e,l){if(ey(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 Xn(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 He(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,rr;function kl(t){if(Si===void 0)try{throw Error()}catch(l){var e=l.stack.trim().match(/\n( *(at )?)/);Si=e&&e[1]||"",rr=-1<l.stack.indexOf(`
|
|
43
|
+
at`)?" (<anonymous>)":-1<l.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
44
|
+
`+Si+t+rr}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 R=M}Reflect.construct(t,[],U)}else{try{U.call()}catch(M){R=M}t.call(U.prototype)}}else{try{throw Error()}catch(M){R=M}(U=t())&&typeof U.catch=="function"&&U.catch(function(){})}}catch(M){if(M&&R&&typeof M.stack=="string")return[M.stack,R.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(),f=i[0],o=i[1];if(f&&o){var d=f.split(`
|
|
45
|
+
`),O=o.split(`
|
|
46
|
+
`);for(n=a=0;a<d.length&&!d[a].includes("DetermineComponentFrameRoot");)a++;for(;n<O.length&&!O[n].includes("DetermineComponentFrameRoot");)n++;if(a===d.length||n===O.length)for(a=d.length-1,n=O.length-1;1<=a&&0<=n&&d[a]!==O[n];)n--;for(;1<=a&&0<=n;a--,n--)if(d[a]!==O[n]){if(a!==1||n!==1)do if(a--,n--,0>n||d[a]!==O[n]){var x=`
|
|
47
|
+
`+d[a].replace(" at new "," at ");return t.displayName&&x.includes("<anonymous>")&&(x=x.replace("<anonymous>",t.displayName)),x}while(1<=a&&0<=n);break}}}finally{Ei=!1,Error.prepareStackTrace=l}return(l=t?t.displayName||t.name:"")?kl(l):""}function ly(t){switch(t.tag){case 26:case 27:case 5:return kl(t.type);case 16:return kl("Lazy");case 13:return kl("Suspense");case 19:return kl("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 kl("Activity");default:return""}}function sr(t){try{var e="";do e+=ly(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 or(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function ay(t){var e=or(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(f){a=""+f,i.call(this,f)}}),Object.defineProperty(t,e,{enumerable:l.enumerable}),{getValue:function(){return a},setValue:function(f){a=""+f},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function Zn(t){t._valueTracker||(t._valueTracker=ay(t))}function hr(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var l=e.getValue(),a="";return t&&(a=or(t)?t.checked?"true":"false":t.value),t=a,t!==l?(e.setValue(t),!0):!1}function Vn(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 ny=/[\n"\\]/g;function de(t){return t.replace(ny,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function Ai(t,e,l,a,n,i,f,o){t.name="",f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"?t.type=f:t.removeAttribute("type"),e!=null?f==="number"?(e===0&&t.value===""||t.value!=e)&&(t.value=""+he(e)):t.value!==""+he(e)&&(t.value=""+he(e)):f!=="submit"&&f!=="reset"||t.removeAttribute("value"),e!=null?Oi(t,f,he(e)):l!=null?Oi(t,f,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 dr(t,e,l,a,n,i,f,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,f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"&&(t.name=f)}function Oi(t,e,l){e==="number"&&Vn(t.ownerDocument)===t||t.defaultValue===""+l||(t.defaultValue=""+l)}function $l(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 yr(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 mr(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 Fl(t,e){if(e){var l=t.firstChild;if(l&&l===t.lastChild&&l.nodeType===3){l.nodeValue=e;return}}t.textContent=e}var uy=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 vr(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||uy.has(e)?e==="float"?t.cssFloat=l:t[e]=(""+l).trim():t[e]=l+"px"}function gr(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&&vr(t,n,a)}else for(var i in e)e.hasOwnProperty(i)&&vr(t,i,e[i])}function Ri(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 iy=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"]]),cy=/^[\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 Kn(t){return cy.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}var Mi=null;function Di(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var Wl=null,Pl=null;function pr(t){var e=Vl(t);if(e&&(t=e.stateNode)){var l=t[$t]||null;t:switch(t=e.stateNode,e.type){case"input":if(Ai(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));Ai(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&&hr(a)}break t;case"textarea":yr(t,l.value,l.defaultValue);break t;case"select":e=l.value,e!=null&&$l(t,!!l.multiple,e,!1)}}}var xi=!1;function br(t,e,l){if(xi)return t(e,l);xi=!0;try{var a=t(e);return a}finally{if(xi=!1,(Wl!==null||Pl!==null)&&(Uu(),Wl&&(e=Wl,t=Pl,Pl=Wl=null,pr(e),t)))for(e=0;e<t.length;e++)pr(t[e])}}function Ha(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 je=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),zi=!1;if(je)try{var ja={};Object.defineProperty(ja,"passive",{get:function(){zi=!0}}),window.addEventListener("test",ja,ja),window.removeEventListener("test",ja,ja)}catch{zi=!1}var el=null,_i=null,Jn=null;function Sr(){if(Jn)return Jn;var t,e=_i,l=e.length,a,n="value"in el?el.value:el.textContent,i=n.length;for(t=0;t<l&&e[t]===n[t];t++);var f=l-t;for(a=1;a<=f&&e[l-a]===n[i-a];a++);return Jn=n.slice(t,1<a?1-a:void 0)}function kn(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 $n(){return!0}function Er(){return!1}function Ft(t){function e(l,a,n,i,f){this._reactName=l,this._targetInst=n,this.type=a,this.nativeEvent=i,this.target=f,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)?$n:Er,this.isPropagationStopped=Er,this}return T(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=$n)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=$n)},persist:function(){},isPersistent:$n}),e}var Dl={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Fn=Ft(Dl),Ba=T({},Dl,{view:0,detail:0}),fy=Ft(Ba),Ui,Ci,Qa,Wn=T({},Ba,{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"?(Ui=t.screenX-Qa.screenX,Ci=t.screenY-Qa.screenY):Ci=Ui=0,Qa=t),Ui)},movementY:function(t){return"movementY"in t?t.movementY:Ci}}),Tr=Ft(Wn),ry=T({},Wn,{dataTransfer:0}),sy=Ft(ry),oy=T({},Ba,{relatedTarget:0}),Ni=Ft(oy),hy=T({},Dl,{animationName:0,elapsedTime:0,pseudoElement:0}),dy=Ft(hy),yy=T({},Dl,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),my=Ft(yy),vy=T({},Dl,{data:0}),Ar=Ft(vy),gy={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},py={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"},by={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Sy(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):(t=by[t])?!!e[t]:!1}function qi(){return Sy}var Ey=T({},Ba,{key:function(t){if(t.key){var e=gy[t.key]||t.key;if(e!=="Unidentified")return e}return t.type==="keypress"?(t=kn(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?py[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"?kn(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?kn(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),Ty=Ft(Ey),Ay=T({},Wn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Or=Ft(Ay),Oy=T({},Ba,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:qi}),Ry=Ft(Oy),My=T({},Dl,{propertyName:0,elapsedTime:0,pseudoElement:0}),Dy=Ft(My),xy=T({},Wn,{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}),zy=Ft(xy),_y=T({},Dl,{newState:0,oldState:0}),Uy=Ft(_y),Cy=[9,13,27,32],Hi=je&&"CompositionEvent"in window,wa=null;je&&"documentMode"in document&&(wa=document.documentMode);var Ny=je&&"TextEvent"in window&&!wa,Rr=je&&(!Hi||wa&&8<wa&&11>=wa),Mr=" ",Dr=!1;function xr(t,e){switch(t){case"keyup":return Cy.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function zr(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var Il=!1;function qy(t,e){switch(t){case"compositionend":return zr(e);case"keypress":return e.which!==32?null:(Dr=!0,Mr);case"textInput":return t=e.data,t===Mr&&Dr?null:t;default:return null}}function Hy(t,e){if(Il)return t==="compositionend"||!Hi&&xr(t,e)?(t=Sr(),Jn=_i=el=null,Il=!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 Rr&&e.locale!=="ko"?null:e.data;default:return null}}var jy={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 _r(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e==="input"?!!jy[t.type]:e==="textarea"}function Ur(t,e,l,a){Wl?Pl?Pl.push(a):Pl=[a]:Wl=a,e=Bu(e,"onChange"),0<e.length&&(l=new Fn("onChange","change",null,l,a),t.push({event:l,listeners:e}))}var Ya=null,La=null;function By(t){hh(t,0)}function Pn(t){var e=qa(t);if(hr(e))return t}function Cr(t,e){if(t==="change")return e}var Nr=!1;if(je){var ji;if(je){var Bi="oninput"in document;if(!Bi){var qr=document.createElement("div");qr.setAttribute("oninput","return;"),Bi=typeof qr.oninput=="function"}ji=Bi}else ji=!1;Nr=ji&&(!document.documentMode||9<document.documentMode)}function Hr(){Ya&&(Ya.detachEvent("onpropertychange",jr),La=Ya=null)}function jr(t){if(t.propertyName==="value"&&Pn(La)){var e=[];Ur(e,La,t,Di(t)),br(By,e)}}function Qy(t,e,l){t==="focusin"?(Hr(),Ya=e,La=l,Ya.attachEvent("onpropertychange",jr)):t==="focusout"&&Hr()}function wy(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return Pn(La)}function Yy(t,e){if(t==="click")return Pn(e)}function Ly(t,e){if(t==="input"||t==="change")return Pn(e)}function Gy(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}var ne=typeof Object.is=="function"?Object.is:Gy;function Ga(t,e){if(ne(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)||!ne(t[n],e[n]))return!1}return!0}function Br(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function Qr(t,e){var l=Br(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=Br(l)}}function wr(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?wr(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function Yr(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var e=Vn(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=Vn(t.document)}return e}function Qi(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 Xy=je&&"documentMode"in document&&11>=document.documentMode,ta=null,wi=null,Xa=null,Yi=!1;function Lr(t,e,l){var a=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;Yi||ta==null||ta!==Vn(a)||(a=ta,"selectionStart"in a&&Qi(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}),Xa&&Ga(Xa,a)||(Xa=a,a=Bu(wi,"onSelect"),0<a.length&&(e=new Fn("onSelect","select",null,e,l),t.push({event:e,listeners:a}),e.target=ta)))}function xl(t,e){var l={};return l[t.toLowerCase()]=e.toLowerCase(),l["Webkit"+t]="webkit"+e,l["Moz"+t]="moz"+e,l}var ea={animationend:xl("Animation","AnimationEnd"),animationiteration:xl("Animation","AnimationIteration"),animationstart:xl("Animation","AnimationStart"),transitionrun:xl("Transition","TransitionRun"),transitionstart:xl("Transition","TransitionStart"),transitioncancel:xl("Transition","TransitionCancel"),transitionend:xl("Transition","TransitionEnd")},Li={},Gr={};je&&(Gr=document.createElement("div").style,"AnimationEvent"in window||(delete ea.animationend.animation,delete ea.animationiteration.animation,delete ea.animationstart.animation),"TransitionEvent"in window||delete ea.transitionend.transition);function zl(t){if(Li[t])return Li[t];if(!ea[t])return t;var e=ea[t],l;for(l in e)if(e.hasOwnProperty(l)&&l in Gr)return Li[t]=e[l];return t}var Xr=zl("animationend"),Zr=zl("animationiteration"),Vr=zl("animationstart"),Zy=zl("transitionrun"),Vy=zl("transitionstart"),Ky=zl("transitioncancel"),Kr=zl("transitionend"),Jr=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 Te(t,e){Jr.set(t,e),Ml(e,[t])}var kr=new WeakMap;function ye(t,e){if(typeof t=="object"&&t!==null){var l=kr.get(t);return l!==void 0?l:(e={value:t,source:e,stack:sr(e)},kr.set(t,e),e)}return{value:t,source:e,stack:sr(e)}}var me=[],la=0,Xi=0;function In(){for(var t=la,e=Xi=la=0;e<t;){var l=me[e];me[e++]=null;var a=me[e];me[e++]=null;var n=me[e];me[e++]=null;var i=me[e];if(me[e++]=null,a!==null&&n!==null){var f=a.pending;f===null?n.next=n:(n.next=f.next,f.next=n),a.pending=n}i!==0&&$r(l,n,i)}}function tu(t,e,l,a){me[la++]=t,me[la++]=e,me[la++]=l,me[la++]=a,Xi|=a,t.lanes|=a,t=t.alternate,t!==null&&(t.lanes|=a)}function Zi(t,e,l,a){return tu(t,e,l,a),eu(t)}function aa(t,e){return tu(t,null,null,e),eu(t)}function $r(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-ae(l),t=i.hiddenUpdates,a=t[n],a===null?t[n]=[e]:a.push(e),e.lane=l|536870912),i):null}function eu(t){if(50<mn)throw mn=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 na={};function Jy(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 ue(t,e,l,a){return new Jy(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=ue(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 Fr(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 lu(t,e,l,a,n,i){var f=0;if(a=t,typeof t=="function")Vi(t)&&(f=1);else if(typeof t=="string")f=$m(t,l,J.current)?26:t==="html"||t==="head"||t==="body"?27:5;else t:switch(t){case Tt:return t=ue(31,l,e,n),t.elementType=Tt,t.lanes=i,t;case H:return _l(l.children,n,i,e);case B:f=8,n|=24;break;case j:return t=ue(12,l,e,n|2),t.elementType=j,t.lanes=i,t;case W:return t=ue(13,l,e,n),t.elementType=W,t.lanes=i,t;case Rt:return t=ue(19,l,e,n),t.elementType=Rt,t.lanes=i,t;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case V:case F:f=10;break t;case G:f=9;break t;case ht:f=11;break t;case Ut:f=14;break t;case qt:f=16,a=null;break t}f=29,l=Error(s(130,t===null?"null":typeof t,"")),a=null}return e=ue(f,l,e,n),e.elementType=t,e.type=a,e.lanes=i,e}function _l(t,e,l,a){return t=ue(7,t,a,e),t.lanes=l,t}function Ki(t,e,l){return t=ue(6,t,null,e),t.lanes=l,t}function Ji(t,e,l){return e=ue(4,t.children!==null?t.children:[],t.key,e),e.lanes=l,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}var ua=[],ia=0,au=null,nu=0,ve=[],ge=0,Ul=null,Qe=1,we="";function Cl(t,e){ua[ia++]=nu,ua[ia++]=au,au=t,nu=e}function Wr(t,e,l){ve[ge++]=Qe,ve[ge++]=we,ve[ge++]=Ul,Ul=t;var a=Qe;t=we;var n=32-ae(a)-1;a&=~(1<<n),l+=1;var i=32-ae(e)+n;if(30<i){var f=n-n%5;i=(a&(1<<f)-1).toString(32),a>>=f,n-=f,Qe=1<<32-ae(e)+n|l<<n|a,we=i+t}else Qe=1<<i|l<<n|a,we=t}function ki(t){t.return!==null&&(Cl(t,1),Wr(t,1,0))}function $i(t){for(;t===au;)au=ua[--ia],ua[ia]=null,nu=ua[--ia],ua[ia]=null;for(;t===Ul;)Ul=ve[--ge],ve[ge]=null,we=ve[--ge],ve[ge]=null,Qe=ve[--ge],ve[ge]=null}var Jt=null,At=null,rt=!1,Nl=null,ze=!1,Fi=Error(s(519));function ql(t){var e=Error(s(418,""));throw Ka(ye(e,t)),Fi}function Pr(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<gn.length;l++)ut(gn[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),dr(e,a.value,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name,!0),Zn(e);break;case"select":ut("invalid",e);break;case"textarea":ut("invalid",e),mr(e,a.value,a.defaultValue,a.children),Zn(e)}l=a.children,typeof l!="string"&&typeof l!="number"&&typeof l!="bigint"||e.textContent===""+l||a.suppressHydrationWarning===!0||vh(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=Qu),e=!0):e=!1,e||ql(t)}function Ir(t){for(Jt=t.return;Jt;)switch(Jt.tag){case 5:case 13:ze=!1;return;case 27:case 3:ze=!0;return;default:Jt=Jt.return}}function Za(t){if(t!==Jt)return!1;if(!rt)return Ir(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&&At&&ql(t),Ir(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){At=Oe(t.nextSibling);break t}e--}else l!=="$"&&l!=="$!"&&l!=="$?"||e++;t=t.nextSibling}At=null}}else e===27?(e=At,gl(t.type)?(t=gf,gf=null,At=t):At=e):At=Jt?Oe(t.stateNode.nextSibling):null;return!0}function Va(){At=Jt=null,rt=!1}function ts(){var t=Nl;return t!==null&&(It===null?It=t:It.push.apply(It,t),Nl=null),t}function Ka(t){Nl===null?Nl=[t]:Nl.push(t)}var Wi=N(null),Hl=null,Ye=null;function ll(t,e,l){Q(Wi,e._currentValue),e._currentValue=l}function Le(t){t._currentValue=Wi.current,Y(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 f=n.child;i=i.firstContext;t:for(;i!==null;){var o=i;i=n;for(var d=0;d<e.length;d++)if(o.context===e[d]){i.lanes|=l,o=i.alternate,o!==null&&(o.lanes|=l),Pi(i.return,l,t),a||(f=null);break t}i=o.next}}else if(n.tag===18){if(f=n.return,f===null)throw Error(s(341));f.lanes|=l,i=f.alternate,i!==null&&(i.lanes|=l),Pi(f,l,t),f=null}else f=n.child;if(f!==null)f.return=n;else for(f=n;f!==null;){if(f===t){f=null;break}if(n=f.sibling,n!==null){n.return=f.return,f=n;break}f=f.return}n=f}}function Ja(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 f=n.alternate;if(f===null)throw Error(s(387));if(f=f.memoizedProps,f!==null){var o=n.type;ne(n.pendingProps.value,f.value)||(t!==null?t.push(o):t=[o])}}else if(n===ee.current){if(f=n.alternate,f===null)throw Error(s(387));f.memoizedState.memoizedState!==n.memoizedState.memoizedState&&(t!==null?t.push(An):t=[An])}n=n.return}t!==null&&Ii(e,t,l,a),e.flags|=262144}function uu(t){for(t=t.firstContext;t!==null;){if(!ne(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function jl(t){Hl=t,Ye=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function Vt(t){return es(Hl,t)}function iu(t,e){return Hl===null&&jl(t),es(t,e)}function es(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 ky=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()})}},$y=u.unstable_scheduleCallback,Fy=u.unstable_NormalPriority,Ct={$$typeof:F,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function tc(){return{controller:new ky,data:new Map,refCount:0}}function ka(t){t.refCount--,t.refCount===0&&$y(Fy,function(){t.controller.abort()})}var $a=null,ec=0,ca=0,fa=null;function Wy(t,e){if($a===null){var l=$a=[];ec=0,ca=af(),fa={status:"pending",value:void 0,then:function(a){l.push(a)}}}return ec++,e.then(ls,ls),e}function ls(){if(--ec===0&&$a!==null){fa!==null&&(fa.status="fulfilled");var t=$a;$a=null,ca=0,fa=null;for(var e=0;e<t.length;e++)(0,t[e])()}}function Py(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 as=z.S;z.S=function(t,e){typeof e=="object"&&e!==null&&typeof e.then=="function"&&Wy(t,e),as!==null&&as(t,e)};var Bl=N(null);function lc(){var t=Bl.current;return t!==null?t:pt.pooledCache}function cu(t,e){e===null?Q(Bl,Bl.current):Q(Bl,e.pool)}function ns(){var t=lc();return t===null?null:{parent:Ct._currentValue,pool:t}}var Fa=Error(s(460)),us=Error(s(474)),fu=Error(s(542)),ac={then:function(){}};function is(t){return t=t.status,t==="fulfilled"||t==="rejected"}function ru(){}function cs(t,e,l){switch(l=t[l],l===void 0?t.push(e):l!==e&&(e.then(ru,ru),e=l),e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,rs(t),t;default:if(typeof e.status=="string")e.then(ru,ru);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,rs(t),t}throw Wa=e,Fa}}var Wa=null;function fs(){if(Wa===null)throw Error(s(459));var t=Wa;return Wa=null,t}function rs(t){if(t===Fa||t===fu)throw Error(s(483))}var al=!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 nl(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function ul(t,e,l){var a=t.updateQueue;if(a===null)return null;if(a=a.shared,(st&2)!==0){var n=a.pending;return n===null?e.next=e:(e.next=n.next,n.next=e),a.pending=e,e=eu(t),$r(t,null,l),e}return tu(t,a,e,l),eu(t)}function Pa(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,lr(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 f={lane:l.lane,tag:l.tag,payload:l.payload,callback:null,next:null};i===null?n=i=f:i=i.next=f,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 Ia(){if(cc){var t=fa;if(t!==null)throw t}}function tn(t,e,l,a){cc=!1;var n=t.updateQueue;al=!1;var i=n.firstBaseUpdate,f=n.lastBaseUpdate,o=n.shared.pending;if(o!==null){n.shared.pending=null;var d=o,O=d.next;d.next=null,f===null?i=O:f.next=O,f=d;var x=t.alternate;x!==null&&(x=x.updateQueue,o=x.lastBaseUpdate,o!==f&&(o===null?x.firstBaseUpdate=O:o.next=O,x.lastBaseUpdate=d))}if(i!==null){var U=n.baseState;f=0,x=O=d=null,o=i;do{var R=o.lane&-536870913,M=R!==o.lane;if(M?(it&R)===R:(a&R)===R){R!==0&&R===ca&&(cc=!0),x!==null&&(x=x.next={lane:0,tag:o.tag,payload:o.payload,callback:null,next:null});t:{var I=t,k=o;R=e;var mt=l;switch(k.tag){case 1:if(I=k.payload,typeof I=="function"){U=I.call(mt,U,R);break t}U=I;break t;case 3:I.flags=I.flags&-65537|128;case 0:if(I=k.payload,R=typeof I=="function"?I.call(mt,U,R):I,R==null)break t;U=T({},U,R);break t;case 2:al=!0}}R=o.callback,R!==null&&(t.flags|=64,M&&(t.flags|=8192),M=n.callbacks,M===null?n.callbacks=[R]:M.push(R))}else M={lane:R,tag:o.tag,payload:o.payload,callback:o.callback,next:null},x===null?(O=x=M,d=U):x=x.next=M,f|=R;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);x===null&&(d=U),n.baseState=d,n.firstBaseUpdate=O,n.lastBaseUpdate=x,i===null&&(n.shared.lanes=0),dl|=f,t.lanes=f,t.memoizedState=U}}function ss(t,e){if(typeof t!="function")throw Error(s(191,t));t.call(e)}function os(t,e){var l=t.callbacks;if(l!==null)for(t.callbacks=null,t=0;t<l.length;t++)ss(l[t],e)}var ra=N(null),su=N(0);function hs(t,e){t=ke,Q(su,t),Q(ra,e),ke=t|e.baseLanes}function fc(){Q(su,ke),Q(ra,ra.current)}function rc(){ke=su.current,Y(ra),Y(su)}var il=0,lt=null,dt=null,xt=null,ou=!1,sa=!1,Ql=!1,hu=0,en=0,oa=null,Iy=0;function Mt(){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(!ne(t[l],e[l]))return!1;return!0}function oc(t,e,l,a,n,i){return il=i,lt=e,e.memoizedState=null,e.updateQueue=null,e.lanes=0,z.H=t===null||t.memoizedState===null?$s:Fs,Ql=!1,i=l(a,n),Ql=!1,sa&&(i=ys(e,l,a,n)),ds(t),i}function ds(t){z.H=pu;var e=dt!==null&&dt.next!==null;if(il=0,xt=dt=lt=null,ou=!1,en=0,oa=null,e)throw Error(s(300));t===null||jt||(t=t.dependencies,t!==null&&uu(t)&&(jt=!0))}function ys(t,e,l,a){lt=t;var n=0;do{if(sa&&(oa=null),en=0,sa=!1,25<=n)throw Error(s(301));if(n+=1,xt=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=im,i=e(l,a)}while(sa);return i}function tm(){var t=z.H,e=t.useState()[0];return e=typeof e.then=="function"?ln(e):e,t=t.useState()[0],(dt!==null?dt.memoizedState:null)!==t&&(lt.flags|=1024),e}function hc(){var t=hu!==0;return hu=0,t}function dc(t,e,l){e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~l}function yc(t){if(ou){for(t=t.memoizedState;t!==null;){var e=t.queue;e!==null&&(e.pending=null),t=t.next}ou=!1}il=0,xt=dt=lt=null,sa=!1,en=hu=0,oa=null}function Wt(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return xt===null?lt.memoizedState=xt=t:xt=xt.next=t,xt}function zt(){if(dt===null){var t=lt.alternate;t=t!==null?t.memoizedState:null}else t=dt.next;var e=xt===null?lt.memoizedState:xt.next;if(e!==null)xt=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},xt===null?lt.memoizedState=xt=t:xt=xt.next=t}return xt}function mc(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function ln(t){var e=en;return en+=1,oa===null&&(oa=[]),t=cs(oa,t,e),e=lt,(xt===null?e.memoizedState:xt.next)===null&&(e=e.alternate,z.H=e===null||e.memoizedState===null?$s:Fs),t}function du(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return ln(t);if(t.$$typeof===F)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=mc(),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]=te;return e.index++,l}function Ge(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 f=n.next;n.next=i.next,i.next=f}e.baseQueue=n=i,a.pending=null}if(i=t.baseState,n===null)t.memoizedState=i;else{e=n.next;var o=f=null,d=null,O=e,x=!1;do{var U=O.lane&-536870913;if(U!==O.lane?(it&U)===U:(il&U)===U){var R=O.revertLane;if(R===0)d!==null&&(d=d.next={lane:0,revertLane:0,action:O.action,hasEagerState:O.hasEagerState,eagerState:O.eagerState,next:null}),U===ca&&(x=!0);else if((il&R)===R){O=O.next,R===ca&&(x=!0);continue}else U={lane:0,revertLane:O.revertLane,action:O.action,hasEagerState:O.hasEagerState,eagerState:O.eagerState,next:null},d===null?(o=d=U,f=i):d=d.next=U,lt.lanes|=R,dl|=R;U=O.action,Ql&&l(i,U),i=O.hasEagerState?O.eagerState:l(i,U)}else R={lane:U,revertLane:O.revertLane,action:O.action,hasEagerState:O.hasEagerState,eagerState:O.eagerState,next:null},d===null?(o=d=R,f=i):d=d.next=R,lt.lanes|=U,dl|=U;O=O.next}while(O!==null&&O!==e);if(d===null?f=i:d.next=o,!ne(i,t.memoizedState)&&(jt=!0,x&&(l=fa,l!==null)))throw l;t.memoizedState=i,t.baseState=f,t.baseQueue=d,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 f=n=n.next;do i=t(i,f.action),f=f.next;while(f!==n);ne(i,e.memoizedState)||(jt=!0),e.memoizedState=i,e.baseQueue===null&&(e.baseState=i),l.lastRenderedState=i}return[i,a]}function ms(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 f=!ne((dt||n).memoizedState,l);f&&(n.memoizedState=l,jt=!0),n=n.queue;var o=ps.bind(null,a,n,t);if(an(2048,8,o,[t]),n.getSnapshot!==e||f||xt!==null&&xt.memoizedState.tag&1){if(a.flags|=2048,ha(9,mu(),gs.bind(null,a,n,l,e),null),pt===null)throw Error(s(349));i||(il&124)!==0||vs(a,e,l)}return l}function vs(t,e,l){t.flags|=16384,t={getSnapshot:e,value:l},e=lt.updateQueue,e===null?(e=mc(),lt.updateQueue=e,e.stores=[t]):(l=e.stores,l===null?e.stores=[t]:l.push(t))}function gs(t,e,l,a){e.value=l,e.getSnapshot=a,bs(e)&&Ss(t)}function ps(t,e,l){return l(function(){bs(e)&&Ss(t)})}function bs(t){var e=t.getSnapshot;t=t.value;try{var l=e();return!ne(t,l)}catch{return!0}}function Ss(t){var e=aa(t,2);e!==null&&se(e,t,2)}function bc(t){var e=Wt();if(typeof t=="function"){var l=t;if(t=l(),Ql){Ie(!0);try{l()}finally{Ie(!1)}}}return e.memoizedState=e.baseState=t,e.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ge,lastRenderedState:t},e}function Es(t,e,l,a){return t.baseState=l,gc(t,dt,typeof a=="function"?a:Ge)}function em(t,e,l,a,n){if(gu(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(f){i.listeners.push(f)}};z.T!==null?l(!0):i.isTransition=!1,a(i),l=e.pending,l===null?(i.next=e.pending=i,Ts(e,i)):(i.next=l.next,e.pending=l.next=i)}}function Ts(t,e){var l=e.action,a=e.payload,n=t.state;if(e.isTransition){var i=z.T,f={};z.T=f;try{var o=l(n,a),d=z.S;d!==null&&d(f,o),As(t,e,o)}catch(O){Sc(t,e,O)}finally{z.T=i}}else try{i=l(n,a),As(t,e,i)}catch(O){Sc(t,e,O)}}function As(t,e,l){l!==null&&typeof l=="object"&&typeof l.then=="function"?l.then(function(a){Os(t,e,a)},function(a){return Sc(t,e,a)}):Os(t,e,l)}function Os(t,e,l){e.status="fulfilled",e.value=l,Rs(e),t.state=l,e=t.pending,e!==null&&(l=e.next,l===e?t.pending=null:(l=l.next,e.next=l,Ts(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,Rs(e),e=e.next;while(e!==a)}t.action=null}function Rs(t){t=t.listeners;for(var e=0;e<t.length;e++)(0,t[e])()}function Ms(t,e){return e}function Ds(t,e){if(rt){var l=pt.formState;if(l!==null){t:{var a=lt;if(rt){if(At){e:{for(var n=At,i=ze;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){At=Oe(n.nextSibling),a=n.data==="F!";break t}}ql(a)}a=!1}a&&(e=l[0])}}return l=Wt(),l.memoizedState=l.baseState=e,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ms,lastRenderedState:e},l.queue=a,l=Ks.bind(null,lt,a),a.dispatch=l,a=bc(!1),i=Rc.bind(null,lt,!1,a.queue),a=Wt(),n={state:e,dispatch:null,action:t,pending:null},a.queue=n,l=em.bind(null,lt,n,i,l),n.dispatch=l,a.memoizedState=t,[e,l,!1]}function xs(t){var e=zt();return zs(e,dt,t)}function zs(t,e,l){if(e=gc(t,e,Ms)[0],t=yu(Ge)[0],typeof e=="object"&&e!==null&&typeof e.then=="function")try{var a=ln(e)}catch(f){throw f===Fa?fu:f}else a=e;e=zt();var n=e.queue,i=n.dispatch;return l!==e.memoizedState&&(lt.flags|=2048,ha(9,mu(),lm.bind(null,n,l),null)),[a,i,t]}function lm(t,e){t.action=e}function _s(t){var e=zt(),l=dt;if(l!==null)return zs(e,l,t);zt(),e=e.memoizedState,l=zt();var a=l.queue.dispatch;return l.memoizedState=t,[e,a,!1]}function ha(t,e,l,a){return t={tag:t,create:l,deps:a,inst:e,next:null},e=lt.updateQueue,e===null&&(e=mc(),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 mu(){return{destroy:void 0,resource:void 0}}function Us(){return zt().memoizedState}function vu(t,e,l,a){var n=Wt();a=a===void 0?null:a,lt.flags|=t,n.memoizedState=ha(1|e,mu(),l,a)}function an(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=ha(e,i,l,a):(lt.flags|=t,n.memoizedState=ha(1|e,i,l,a))}function Cs(t,e){vu(8390656,8,t,e)}function Ns(t,e){an(2048,8,t,e)}function qs(t,e){return an(4,2,t,e)}function Hs(t,e){return an(4,4,t,e)}function js(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 Bs(t,e,l){l=l!=null?l.concat([t]):null,an(4,4,js.bind(null,e,t),l)}function Ec(){}function Qs(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 ws(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){Ie(!0);try{t()}finally{Ie(!1)}}return l.memoizedState=[a,e],a}function Tc(t,e,l){return l===void 0||(il&1073741824)!==0?t.memoizedState=e:(t.memoizedState=l,t=Xo(),lt.lanes|=t,dl|=t,l)}function Ys(t,e,l,a){return ne(l,e)?l:ra.current!==null?(t=Tc(t,l,a),ne(t,e)||(jt=!0),t):(il&42)===0?(jt=!0,t.memoizedState=l):(t=Xo(),lt.lanes|=t,dl|=t,e)}function Ls(t,e,l,a,n){var i=w.p;w.p=i!==0&&8>i?i:8;var f=z.T,o={};z.T=o,Rc(t,!1,e,l);try{var d=n(),O=z.S;if(O!==null&&O(o,d),d!==null&&typeof d=="object"&&typeof d.then=="function"){var x=Py(d,a);nn(t,e,x,re(t))}else nn(t,e,a,re(t))}catch(U){nn(t,e,{then:function(){},status:"rejected",reason:U},re())}finally{w.p=i,z.T=f}}function am(){}function Ac(t,e,l,a){if(t.tag!==5)throw Error(s(476));var n=Gs(t).queue;Ls(t,n,e,P,l===null?am:function(){return Xs(t),l(a)})}function Gs(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:Ge,lastRenderedState:P},next:null};var l={};return e.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ge,lastRenderedState:l},next:null},t.memoizedState=e,t=t.alternate,t!==null&&(t.memoizedState=e),e}function Xs(t){var e=Gs(t).next.queue;nn(t,e,{},re())}function Oc(){return Vt(An)}function Zs(){return zt().memoizedState}function Vs(){return zt().memoizedState}function nm(t){for(var e=t.return;e!==null;){switch(e.tag){case 24:case 3:var l=re();t=nl(l);var a=ul(e,t,l);a!==null&&(se(a,e,l),Pa(a,e,l)),e={cache:tc()},t.payload=e;return}e=e.return}}function um(t,e,l){var a=re();l={lane:a,revertLane:0,action:l,hasEagerState:!1,eagerState:null,next:null},gu(t)?Js(e,l):(l=Zi(t,e,l,a),l!==null&&(se(l,t,a),ks(l,e,a)))}function Ks(t,e,l){var a=re();nn(t,e,l,a)}function nn(t,e,l,a){var n={lane:a,revertLane:0,action:l,hasEagerState:!1,eagerState:null,next:null};if(gu(t))Js(e,n);else{var i=t.alternate;if(t.lanes===0&&(i===null||i.lanes===0)&&(i=e.lastRenderedReducer,i!==null))try{var f=e.lastRenderedState,o=i(f,l);if(n.hasEagerState=!0,n.eagerState=o,ne(o,f))return tu(t,e,n,0),pt===null&&In(),!1}catch{}finally{}if(l=Zi(t,e,n,a),l!==null)return se(l,t,a),ks(l,e,a),!0}return!1}function Rc(t,e,l,a){if(a={lane:2,revertLane:af(),action:a,hasEagerState:!1,eagerState:null,next:null},gu(t)){if(e)throw Error(s(479))}else e=Zi(t,l,a,2),e!==null&&se(e,t,2)}function gu(t){var e=t.alternate;return t===lt||e!==null&&e===lt}function Js(t,e){sa=ou=!0;var l=t.pending;l===null?e.next=e:(e.next=l.next,l.next=e),t.pending=e}function ks(t,e,l){if((l&4194048)!==0){var a=e.lanes;a&=t.pendingLanes,l|=a,e.lanes=l,lr(t,l)}}var pu={readContext:Vt,use:du,useCallback:Mt,useContext:Mt,useEffect:Mt,useImperativeHandle:Mt,useLayoutEffect:Mt,useInsertionEffect:Mt,useMemo:Mt,useReducer:Mt,useRef:Mt,useState:Mt,useDebugValue:Mt,useDeferredValue:Mt,useTransition:Mt,useSyncExternalStore:Mt,useId:Mt,useHostTransitionStatus:Mt,useFormState:Mt,useActionState:Mt,useOptimistic:Mt,useMemoCache:Mt,useCacheRefresh:Mt},$s={readContext:Vt,use:du,useCallback:function(t,e){return Wt().memoizedState=[t,e===void 0?null:e],t},useContext:Vt,useEffect:Cs,useImperativeHandle:function(t,e,l){l=l!=null?l.concat([t]):null,vu(4194308,4,js.bind(null,e,t),l)},useLayoutEffect:function(t,e){return vu(4194308,4,t,e)},useInsertionEffect:function(t,e){vu(4,2,t,e)},useMemo:function(t,e){var l=Wt();e=e===void 0?null:e;var a=t();if(Ql){Ie(!0);try{t()}finally{Ie(!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){Ie(!0);try{l(e)}finally{Ie(!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=um.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=Ks.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=Ls.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||vs(a,e,l)}n.memoizedState=l;var i={value:l,getSnapshot:e};return n.queue=i,Cs(ps.bind(null,a,i,t),[t]),a.flags|=2048,ha(9,mu(),gs.bind(null,a,i,l,e),null),l},useId:function(){var t=Wt(),e=pt.identifierPrefix;if(rt){var l=we,a=Qe;l=(a&~(1<<32-ae(a)-1)).toString(32)+l,e="«"+e+"R"+l,l=hu++,0<l&&(e+="H"+l.toString(32)),e+="»"}else l=Iy++,e="«"+e+"r"+l.toString(32)+"»";return t.memoizedState=e},useHostTransitionStatus:Oc,useFormState:Ds,useActionState:Ds,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=Rc.bind(null,lt,!0,l),l.dispatch=e,[t,e]},useMemoCache:vc,useCacheRefresh:function(){return Wt().memoizedState=nm.bind(null,lt)}},Fs={readContext:Vt,use:du,useCallback:Qs,useContext:Vt,useEffect:Ns,useImperativeHandle:Bs,useInsertionEffect:qs,useLayoutEffect:Hs,useMemo:ws,useReducer:yu,useRef:Us,useState:function(){return yu(Ge)},useDebugValue:Ec,useDeferredValue:function(t,e){var l=zt();return Ys(l,dt.memoizedState,t,e)},useTransition:function(){var t=yu(Ge)[0],e=zt().memoizedState;return[typeof t=="boolean"?t:ln(t),e]},useSyncExternalStore:ms,useId:Zs,useHostTransitionStatus:Oc,useFormState:xs,useActionState:xs,useOptimistic:function(t,e){var l=zt();return Es(l,dt,t,e)},useMemoCache:vc,useCacheRefresh:Vs},im={readContext:Vt,use:du,useCallback:Qs,useContext:Vt,useEffect:Ns,useImperativeHandle:Bs,useInsertionEffect:qs,useLayoutEffect:Hs,useMemo:ws,useReducer:pc,useRef:Us,useState:function(){return pc(Ge)},useDebugValue:Ec,useDeferredValue:function(t,e){var l=zt();return dt===null?Tc(l,t,e):Ys(l,dt.memoizedState,t,e)},useTransition:function(){var t=pc(Ge)[0],e=zt().memoizedState;return[typeof t=="boolean"?t:ln(t),e]},useSyncExternalStore:ms,useId:Zs,useHostTransitionStatus:Oc,useFormState:_s,useActionState:_s,useOptimistic:function(t,e){var l=zt();return dt!==null?Es(l,dt,t,e):(l.baseState=t,[t,l.queue.dispatch])},useMemoCache:vc,useCacheRefresh:Vs},da=null,un=0;function bu(t){var e=un;return un+=1,da===null&&(da=[]),cs(da,t,e)}function cn(t,e){e=e.props.ref,t.ref=e!==void 0?e:null}function Su(t,e){throw e.$$typeof===C?Error(s(525)):(t=Object.prototype.toString.call(e),Error(s(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)))}function Ws(t){var e=t._init;return e(t._payload)}function Ps(t){function e(S,g){if(t){var A=S.deletions;A===null?(S.deletions=[g],S.flags|=16):A.push(g)}}function l(S,g){if(!t)return null;for(;g!==null;)e(S,g),g=g.sibling;return null}function a(S){for(var g=new Map;S!==null;)S.key!==null?g.set(S.key,S):g.set(S.index,S),S=S.sibling;return g}function n(S,g){return S=Be(S,g),S.index=0,S.sibling=null,S}function i(S,g,A){return S.index=A,t?(A=S.alternate,A!==null?(A=A.index,A<g?(S.flags|=67108866,g):A):(S.flags|=67108866,g)):(S.flags|=1048576,g)}function f(S){return t&&S.alternate===null&&(S.flags|=67108866),S}function o(S,g,A,_){return g===null||g.tag!==6?(g=Ki(A,S.mode,_),g.return=S,g):(g=n(g,A),g.return=S,g)}function d(S,g,A,_){var X=A.type;return X===H?x(S,g,A.props.children,_,A.key):g!==null&&(g.elementType===X||typeof X=="object"&&X!==null&&X.$$typeof===qt&&Ws(X)===g.type)?(g=n(g,A.props),cn(g,A),g.return=S,g):(g=lu(A.type,A.key,A.props,null,S.mode,_),cn(g,A),g.return=S,g)}function O(S,g,A,_){return g===null||g.tag!==4||g.stateNode.containerInfo!==A.containerInfo||g.stateNode.implementation!==A.implementation?(g=Ji(A,S.mode,_),g.return=S,g):(g=n(g,A.children||[]),g.return=S,g)}function x(S,g,A,_,X){return g===null||g.tag!==7?(g=_l(A,S.mode,_,X),g.return=S,g):(g=n(g,A),g.return=S,g)}function U(S,g,A){if(typeof g=="string"&&g!==""||typeof g=="number"||typeof g=="bigint")return g=Ki(""+g,S.mode,A),g.return=S,g;if(typeof g=="object"&&g!==null){switch(g.$$typeof){case q:return A=lu(g.type,g.key,g.props,null,S.mode,A),cn(A,g),A.return=S,A;case Z:return g=Ji(g,S.mode,A),g.return=S,g;case qt:var _=g._init;return g=_(g._payload),U(S,g,A)}if(Xt(g)||Gt(g))return g=_l(g,S.mode,A,null),g.return=S,g;if(typeof g.then=="function")return U(S,bu(g),A);if(g.$$typeof===F)return U(S,iu(S,g),A);Su(S,g)}return null}function R(S,g,A,_){var X=g!==null?g.key:null;if(typeof A=="string"&&A!==""||typeof A=="number"||typeof A=="bigint")return X!==null?null:o(S,g,""+A,_);if(typeof A=="object"&&A!==null){switch(A.$$typeof){case q:return A.key===X?d(S,g,A,_):null;case Z:return A.key===X?O(S,g,A,_):null;case qt:return X=A._init,A=X(A._payload),R(S,g,A,_)}if(Xt(A)||Gt(A))return X!==null?null:x(S,g,A,_,null);if(typeof A.then=="function")return R(S,g,bu(A),_);if(A.$$typeof===F)return R(S,g,iu(S,A),_);Su(S,A)}return null}function M(S,g,A,_,X){if(typeof _=="string"&&_!==""||typeof _=="number"||typeof _=="bigint")return S=S.get(A)||null,o(g,S,""+_,X);if(typeof _=="object"&&_!==null){switch(_.$$typeof){case q:return S=S.get(_.key===null?A:_.key)||null,d(g,S,_,X);case Z:return S=S.get(_.key===null?A:_.key)||null,O(g,S,_,X);case qt:var at=_._init;return _=at(_._payload),M(S,g,A,_,X)}if(Xt(_)||Gt(_))return S=S.get(A)||null,x(g,S,_,X,null);if(typeof _.then=="function")return M(S,g,A,bu(_),X);if(_.$$typeof===F)return M(S,g,A,iu(g,_),X);Su(g,_)}return null}function I(S,g,A,_){for(var X=null,at=null,K=g,$=g=0,Qt=null;K!==null&&$<A.length;$++){K.index>$?(Qt=K,K=null):Qt=K.sibling;var ft=R(S,K,A[$],_);if(ft===null){K===null&&(K=Qt);break}t&&K&&ft.alternate===null&&e(S,K),g=i(ft,g,$),at===null?X=ft:at.sibling=ft,at=ft,K=Qt}if($===A.length)return l(S,K),rt&&Cl(S,$),X;if(K===null){for(;$<A.length;$++)K=U(S,A[$],_),K!==null&&(g=i(K,g,$),at===null?X=K:at.sibling=K,at=K);return rt&&Cl(S,$),X}for(K=a(K);$<A.length;$++)Qt=M(K,S,$,A[$],_),Qt!==null&&(t&&Qt.alternate!==null&&K.delete(Qt.key===null?$:Qt.key),g=i(Qt,g,$),at===null?X=Qt:at.sibling=Qt,at=Qt);return t&&K.forEach(function(Tl){return e(S,Tl)}),rt&&Cl(S,$),X}function k(S,g,A,_){if(A==null)throw Error(s(151));for(var X=null,at=null,K=g,$=g=0,Qt=null,ft=A.next();K!==null&&!ft.done;$++,ft=A.next()){K.index>$?(Qt=K,K=null):Qt=K.sibling;var Tl=R(S,K,ft.value,_);if(Tl===null){K===null&&(K=Qt);break}t&&K&&Tl.alternate===null&&e(S,K),g=i(Tl,g,$),at===null?X=Tl:at.sibling=Tl,at=Tl,K=Qt}if(ft.done)return l(S,K),rt&&Cl(S,$),X;if(K===null){for(;!ft.done;$++,ft=A.next())ft=U(S,ft.value,_),ft!==null&&(g=i(ft,g,$),at===null?X=ft:at.sibling=ft,at=ft);return rt&&Cl(S,$),X}for(K=a(K);!ft.done;$++,ft=A.next())ft=M(K,S,$,ft.value,_),ft!==null&&(t&&ft.alternate!==null&&K.delete(ft.key===null?$:ft.key),g=i(ft,g,$),at===null?X=ft:at.sibling=ft,at=ft);return t&&K.forEach(function(cv){return e(S,cv)}),rt&&Cl(S,$),X}function mt(S,g,A,_){if(typeof A=="object"&&A!==null&&A.type===H&&A.key===null&&(A=A.props.children),typeof A=="object"&&A!==null){switch(A.$$typeof){case q:t:{for(var X=A.key;g!==null;){if(g.key===X){if(X=A.type,X===H){if(g.tag===7){l(S,g.sibling),_=n(g,A.props.children),_.return=S,S=_;break t}}else if(g.elementType===X||typeof X=="object"&&X!==null&&X.$$typeof===qt&&Ws(X)===g.type){l(S,g.sibling),_=n(g,A.props),cn(_,A),_.return=S,S=_;break t}l(S,g);break}else e(S,g);g=g.sibling}A.type===H?(_=_l(A.props.children,S.mode,_,A.key),_.return=S,S=_):(_=lu(A.type,A.key,A.props,null,S.mode,_),cn(_,A),_.return=S,S=_)}return f(S);case Z:t:{for(X=A.key;g!==null;){if(g.key===X)if(g.tag===4&&g.stateNode.containerInfo===A.containerInfo&&g.stateNode.implementation===A.implementation){l(S,g.sibling),_=n(g,A.children||[]),_.return=S,S=_;break t}else{l(S,g);break}else e(S,g);g=g.sibling}_=Ji(A,S.mode,_),_.return=S,S=_}return f(S);case qt:return X=A._init,A=X(A._payload),mt(S,g,A,_)}if(Xt(A))return I(S,g,A,_);if(Gt(A)){if(X=Gt(A),typeof X!="function")throw Error(s(150));return A=X.call(A),k(S,g,A,_)}if(typeof A.then=="function")return mt(S,g,bu(A),_);if(A.$$typeof===F)return mt(S,g,iu(S,A),_);Su(S,A)}return typeof A=="string"&&A!==""||typeof A=="number"||typeof A=="bigint"?(A=""+A,g!==null&&g.tag===6?(l(S,g.sibling),_=n(g,A),_.return=S,S=_):(l(S,g),_=Ki(A,S.mode,_),_.return=S,S=_),f(S)):l(S,g)}return function(S,g,A,_){try{un=0;var X=mt(S,g,A,_);return da=null,X}catch(K){if(K===Fa||K===fu)throw K;var at=ue(29,K,null,S.mode);return at.lanes=_,at.return=S,at}finally{}}}var ya=Ps(!0),Is=Ps(!1),pe=N(null),_e=null;function cl(t){var e=t.alternate;Q(Nt,Nt.current&1),Q(pe,t),_e===null&&(e===null||ra.current!==null||e.memoizedState!==null)&&(_e=t)}function to(t){if(t.tag===22){if(Q(Nt,Nt.current),Q(pe,t),_e===null){var e=t.alternate;e!==null&&e.memoizedState!==null&&(_e=t)}}else fl()}function fl(){Q(Nt,Nt.current),Q(pe,pe.current)}function Xe(t){Y(pe),_e===t&&(_e=null),Y(Nt)}var Nt=N(0);function Eu(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 Mc(t,e,l,a){e=t.memoizedState,l=l(a,e),l=l==null?e:T({},e,l),t.memoizedState=l,t.lanes===0&&(t.updateQueue.baseState=l)}var Dc={enqueueSetState:function(t,e,l){t=t._reactInternals;var a=re(),n=nl(a);n.payload=e,l!=null&&(n.callback=l),e=ul(t,n,a),e!==null&&(se(e,t,a),Pa(e,t,a))},enqueueReplaceState:function(t,e,l){t=t._reactInternals;var a=re(),n=nl(a);n.tag=1,n.payload=e,l!=null&&(n.callback=l),e=ul(t,n,a),e!==null&&(se(e,t,a),Pa(e,t,a))},enqueueForceUpdate:function(t,e){t=t._reactInternals;var l=re(),a=nl(l);a.tag=2,e!=null&&(a.callback=e),e=ul(t,a,l),e!==null&&(se(e,t,l),Pa(e,t,l))}};function eo(t,e,l,a,n,i,f){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(a,i,f):e.prototype&&e.prototype.isPureReactComponent?!Ga(l,a)||!Ga(n,i):!0}function lo(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&&Dc.enqueueReplaceState(e,e.state,null)}function wl(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=T({},l));for(var n in t)l[n]===void 0&&(l[n]=t[n])}return l}var Tu=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 ao(t){Tu(t)}function no(t){console.error(t)}function uo(t){Tu(t)}function Au(t,e){try{var l=t.onUncaughtError;l(e.value,{componentStack:e.stack})}catch(a){setTimeout(function(){throw a})}}function io(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 xc(t,e,l){return l=nl(l),l.tag=3,l.payload={element:null},l.callback=function(){Au(t,e)},l}function co(t){return t=nl(t),t.tag=3,t}function fo(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(){io(e,l,a)}}var f=l.stateNode;f!==null&&typeof f.componentDidCatch=="function"&&(t.callback=function(){io(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 cm(t,e,l,a,n){if(l.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){if(e=l.alternate,e!==null&&Ja(e,l,n,!0),l=pe.current,l!==null){switch(l.tag){case 13:return _e===null?Pc():l.alternate===null&&Ot===0&&(Ot=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(ye(t,l)))):(a!==Fi&&(e=Error(s(423),{cause:a}),Ka(ye(e,l))),t=t.current.alternate,t.flags|=65536,n&=-n,t.lanes|=n,a=ye(a,l),n=xc(t.stateNode,a,n),ic(t,n),Ot!==4&&(Ot=2)),!1;var i=Error(s(520),{cause:a});if(i=ye(i,l),yn===null?yn=[i]:yn.push(i),Ot!==4&&(Ot=2),e===null)return!0;a=ye(a,l),l=e;do{switch(l.tag){case 3:return l.flags|=65536,t=n&-n,l.lanes|=t,t=xc(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=co(n),fo(n,t,l,a),ic(l,n),!1}l=l.return}while(l!==null);return!1}var ro=Error(s(461)),jt=!1;function wt(t,e,l,a){e.child=t===null?Is(e,null,l,a):ya(e,t.child,l,a)}function so(t,e,l,a,n){l=l.render;var i=e.ref;if("ref"in a){var f={};for(var o in a)o!=="ref"&&(f[o]=a[o])}else f=a;return jl(e),a=oc(t,e,l,f,i,n),o=hc(),t!==null&&!jt?(dc(t,e,n),Ze(t,e,n)):(rt&&o&&ki(e),e.flags|=1,wt(t,e,a,n),e.child)}function oo(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,ho(t,e,i,a,n)):(t=lu(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 f=i.memoizedProps;if(l=l.compare,l=l!==null?l:Ga,l(f,a)&&t.ref===e.ref)return Ze(t,e,n)}return e.flags|=1,t=Be(i,a),t.ref=e.ref,t.return=e,e.child=t}function ho(t,e,l,a,n){if(t!==null){var i=t.memoizedProps;if(Ga(i,a)&&t.ref===e.ref)if(jt=!1,e.pendingProps=a=i,jc(t,n))(t.flags&131072)!==0&&(jt=!0);else return e.lanes=t.lanes,Ze(t,e,n)}return zc(t,e,l,a,n)}function yo(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 mo(t,e,a,l)}if((l&536870912)!==0)e.memoizedState={baseLanes:0,cachePool:null},t!==null&&cu(e,i!==null?i.cachePool:null),i!==null?hs(e,i):fc(),to(e);else return e.lanes=e.childLanes=536870912,mo(t,e,i!==null?i.baseLanes|l:l,l)}else i!==null?(cu(e,i.cachePool),hs(e,i),fl(),e.memoizedState=null):(t!==null&&cu(e,null),fc(),fl());return wt(t,e,n,l),e.child}function mo(t,e,l,a){var n=lc();return n=n===null?null:{parent:Ct._currentValue,pool:n},e.memoizedState={baseLanes:l,cachePool:n},t!==null&&cu(e,null),fc(),to(e),t!==null&&Ja(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 zc(t,e,l,a,n){return jl(e),l=oc(t,e,l,a,void 0,n),a=hc(),t!==null&&!jt?(dc(t,e,n),Ze(t,e,n)):(rt&&a&&ki(e),e.flags|=1,wt(t,e,l,n),e.child)}function vo(t,e,l,a,n,i){return jl(e),e.updateQueue=null,l=ys(e,a,l,n),ds(t),a=hc(),t!==null&&!jt?(dc(t,e,i),Ze(t,e,i)):(rt&&a&&ki(e),e.flags|=1,wt(t,e,l,i),e.child)}function go(t,e,l,a,n){if(jl(e),e.stateNode===null){var i=na,f=l.contextType;typeof f=="object"&&f!==null&&(i=Vt(f)),i=new l(a,i),e.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,i.updater=Dc,e.stateNode=i,i._reactInternals=e,i=e.stateNode,i.props=a,i.state=e.memoizedState,i.refs={},nc(e),f=l.contextType,i.context=typeof f=="object"&&f!==null?Vt(f):na,i.state=e.memoizedState,f=l.getDerivedStateFromProps,typeof f=="function"&&(Mc(e,l,f,a),i.state=e.memoizedState),typeof l.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(f=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),f!==i.state&&Dc.enqueueReplaceState(i,i.state,null),tn(e,a,i,n),Ia(),i.state=e.memoizedState),typeof i.componentDidMount=="function"&&(e.flags|=4194308),a=!0}else if(t===null){i=e.stateNode;var o=e.memoizedProps,d=wl(l,o);i.props=d;var O=i.context,x=l.contextType;f=na,typeof x=="object"&&x!==null&&(f=Vt(x));var U=l.getDerivedStateFromProps;x=typeof U=="function"||typeof i.getSnapshotBeforeUpdate=="function",o=e.pendingProps!==o,x||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(o||O!==f)&&lo(e,i,a,f),al=!1;var R=e.memoizedState;i.state=R,tn(e,a,i,n),Ia(),O=e.memoizedState,o||R!==O||al?(typeof U=="function"&&(Mc(e,l,U,a),O=e.memoizedState),(d=al||eo(e,l,d,a,R,O,f))?(x||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=O),i.props=a,i.state=O,i.context=f,a=d):(typeof i.componentDidMount=="function"&&(e.flags|=4194308),a=!1)}else{i=e.stateNode,uc(t,e),f=e.memoizedProps,x=wl(l,f),i.props=x,U=e.pendingProps,R=i.context,O=l.contextType,d=na,typeof O=="object"&&O!==null&&(d=Vt(O)),o=l.getDerivedStateFromProps,(O=typeof o=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(f!==U||R!==d)&&lo(e,i,a,d),al=!1,R=e.memoizedState,i.state=R,tn(e,a,i,n),Ia();var M=e.memoizedState;f!==U||R!==M||al||t!==null&&t.dependencies!==null&&uu(t.dependencies)?(typeof o=="function"&&(Mc(e,l,o,a),M=e.memoizedState),(x=al||eo(e,l,x,a,R,M,d)||t!==null&&t.dependencies!==null&&uu(t.dependencies))?(O||typeof i.UNSAFE_componentWillUpdate!="function"&&typeof i.componentWillUpdate!="function"||(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(a,M,d),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(a,M,d)),typeof i.componentDidUpdate=="function"&&(e.flags|=4),typeof i.getSnapshotBeforeUpdate=="function"&&(e.flags|=1024)):(typeof i.componentDidUpdate!="function"||f===t.memoizedProps&&R===t.memoizedState||(e.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||f===t.memoizedProps&&R===t.memoizedState||(e.flags|=1024),e.memoizedProps=a,e.memoizedState=M),i.props=a,i.state=M,i.context=d,a=x):(typeof i.componentDidUpdate!="function"||f===t.memoizedProps&&R===t.memoizedState||(e.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||f===t.memoizedProps&&R===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=ya(e,t.child,null,n),e.child=ya(e,null,l,n)):wt(t,e,l,n),e.memoizedState=i.state,t=e.child):t=Ze(t,e,n),t}function po(t,e,l,a){return Va(),e.flags|=256,wt(t,e,l,a),e.child}var _c={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Uc(t){return{baseLanes:t,cachePool:ns()}}function Cc(t,e,l){return t=t!==null?t.childLanes&~l:0,e&&(t|=be),t}function bo(t,e,l){var a=e.pendingProps,n=!1,i=(e.flags&128)!==0,f;if((f=i)||(f=t!==null&&t.memoizedState===null?!1:(Nt.current&2)!==0),f&&(n=!0,e.flags&=-129),f=(e.flags&32)!==0,e.flags&=-33,t===null){if(rt){if(n?cl(e):fl(),rt){var o=At,d;if(d=o){t:{for(d=o,o=ze;d.nodeType!==8;){if(!o){o=null;break t}if(d=Oe(d.nextSibling),d===null){o=null;break t}}o=d}o!==null?(e.memoizedState={dehydrated:o,treeContext:Ul!==null?{id:Qe,overflow:we}:null,retryLane:536870912,hydrationErrors:null},d=ue(18,null,null,0),d.stateNode=o,d.return=e,e.child=d,Jt=e,At=null,d=!0):d=!1}d||ql(e)}if(o=e.memoizedState,o!==null&&(o=o.dehydrated,o!==null))return vf(o)?e.lanes=32:e.lanes=536870912,null;Xe(e)}return o=a.children,a=a.fallback,n?(fl(),n=e.mode,o=Ru({mode:"hidden",children:o},n),a=_l(a,n,l,null),o.return=e,a.return=e,o.sibling=a,e.child=o,n=e.child,n.memoizedState=Uc(l),n.childLanes=Cc(t,f,l),e.memoizedState=_c,a):(cl(e),Nc(e,o))}if(d=t.memoizedState,d!==null&&(o=d.dehydrated,o!==null)){if(i)e.flags&256?(cl(e),e.flags&=-257,e=qc(t,e,l)):e.memoizedState!==null?(fl(),e.child=t.child,e.flags|=128,e=null):(fl(),n=a.fallback,o=e.mode,a=Ru({mode:"visible",children:a.children},o),n=_l(n,o,l,null),n.flags|=2,a.return=e,n.return=e,a.sibling=n,e.child=a,ya(e,t.child,null,l),a=e.child,a.memoizedState=Uc(l),a.childLanes=Cc(t,f,l),e.memoizedState=_c,e=n);else if(cl(e),vf(o)){if(f=o.nextSibling&&o.nextSibling.dataset,f)var O=f.dgst;f=O,a=Error(s(419)),a.stack="",a.digest=f,Ka({value:a,source:null,stack:null}),e=qc(t,e,l)}else if(jt||Ja(t,e,l,!1),f=(l&t.childLanes)!==0,jt||f){if(f=pt,f!==null&&(a=l&-l,a=(a&42)!==0?1:vi(a),a=(a&(f.suspendedLanes|l))!==0?0:a,a!==0&&a!==d.retryLane))throw d.retryLane=a,aa(t,a),se(f,t,a),ro;o.data==="$?"||Pc(),e=qc(t,e,l)}else o.data==="$?"?(e.flags|=192,e.child=t.child,e=null):(t=d.treeContext,At=Oe(o.nextSibling),Jt=e,rt=!0,Nl=null,ze=!1,t!==null&&(ve[ge++]=Qe,ve[ge++]=we,ve[ge++]=Ul,Qe=t.id,we=t.overflow,Ul=e),e=Nc(e,a.children),e.flags|=4096);return e}return n?(fl(),n=a.fallback,o=e.mode,d=t.child,O=d.sibling,a=Be(d,{mode:"hidden",children:a.children}),a.subtreeFlags=d.subtreeFlags&65011712,O!==null?n=Be(O,n):(n=_l(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=Uc(l):(d=o.cachePool,d!==null?(O=Ct._currentValue,d=d.parent!==O?{parent:O,pool:O}:d):d=ns(),o={baseLanes:o.baseLanes|l,cachePool:d}),n.memoizedState=o,n.childLanes=Cc(t,f,l),e.memoizedState=_c,a):(cl(e),l=t.child,t=l.sibling,l=Be(l,{mode:"visible",children:a.children}),l.return=e,l.sibling=null,t!==null&&(f=e.deletions,f===null?(e.deletions=[t],e.flags|=16):f.push(t)),e.child=l,e.memoizedState=null,l)}function Nc(t,e){return e=Ru({mode:"visible",children:e},t.mode),e.return=t,t.child=e}function Ru(t,e){return t=ue(22,t,null,e),t.lanes=0,t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},t}function qc(t,e,l){return ya(e,t.child,null,l),t=Nc(e,e.pendingProps.children),t.flags|=2,e.memoizedState=null,t}function So(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 Eo(t,e,l){var a=e.pendingProps,n=a.revealOrder,i=a.tail;if(wt(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&&So(t,l,e);else if(t.tag===19)So(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(Q(Nt,a),n){case"forwards":for(l=e.child,n=null;l!==null;)t=l.alternate,t!==null&&Eu(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&&Eu(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 Ze(t,e,l){if(t!==null&&(e.dependencies=t.dependencies),dl|=e.lanes,(l&e.childLanes)===0)if(t!==null){if(Ja(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&&uu(t)))}function fm(t,e,l){switch(e.tag){case 3:bt(e,e.stateNode.containerInfo),ll(e,Ct,t.memoizedState.cache),Va();break;case 27:case 5:oi(e);break;case 4:bt(e,e.stateNode.containerInfo);break;case 10:ll(e,e.type,e.memoizedProps.value);break;case 13:var a=e.memoizedState;if(a!==null)return a.dehydrated!==null?(cl(e),e.flags|=128,null):(l&e.child.childLanes)!==0?bo(t,e,l):(cl(e),t=Ze(t,e,l),t!==null?t.sibling:null);cl(e);break;case 19:var n=(t.flags&128)!==0;if(a=(l&e.childLanes)!==0,a||(Ja(t,e,l,!1),a=(l&e.childLanes)!==0),n){if(a)return Eo(t,e,l);e.flags|=128}if(n=e.memoizedState,n!==null&&(n.rendering=null,n.tail=null,n.lastEffect=null),Q(Nt,Nt.current),a)break;return null;case 22:case 23:return e.lanes=0,yo(t,e,l);case 24:ll(e,Ct,t.memoizedState.cache)}return Ze(t,e,l)}function To(t,e,l){if(t!==null)if(t.memoizedProps!==e.pendingProps)jt=!0;else{if(!jc(t,l)&&(e.flags&128)===0)return jt=!1,fm(t,e,l);jt=(t.flags&131072)!==0}else jt=!1,rt&&(e.flags&1048576)!==0&&Wr(e,nu,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=wl(a,t),e.tag=1,e=go(null,e,a,t,l)):(e.tag=0,e=zc(null,e,a,t,l));else{if(a!=null){if(n=a.$$typeof,n===ht){e.tag=11,e=so(null,e,a,t,l);break t}else if(n===Ut){e.tag=14,e=oo(null,e,a,t,l);break t}}throw e=Ol(a)||a,Error(s(306,e,""))}}return e;case 0:return zc(t,e,e.type,e.pendingProps,l);case 1:return a=e.type,n=wl(a,e.pendingProps),go(t,e,a,n,l);case 3:t:{if(bt(e,e.stateNode.containerInfo),t===null)throw Error(s(387));a=e.pendingProps;var i=e.memoizedState;n=i.element,uc(t,e),tn(e,a,null,l);var f=e.memoizedState;if(a=f.cache,ll(e,Ct,a),a!==i.cache&&Ii(e,[Ct],l,!0),Ia(),a=f.element,i.isDehydrated)if(i={element:a,isDehydrated:!1,cache:f.cache},e.updateQueue.baseState=i,e.memoizedState=i,e.flags&256){e=po(t,e,a,l);break t}else if(a!==n){n=ye(Error(s(424)),e),Ka(n),e=po(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(At=Oe(t.firstChild),Jt=e,rt=!0,Nl=null,ze=!0,l=Is(e,null,a,l),e.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling}else{if(Va(),a===n){e=Ze(t,e,l);break t}wt(t,e,a,l)}e=e.child}return e;case 26:return Ou(t,e),t===null?(l=Mh(e.type,null,e.pendingProps,null))?e.memoizedState=l:rt||(l=e.type,t=e.pendingProps,a=wu(tt.current).createElement(l),a[Zt]=e,a[$t]=t,Lt(a,l,t),Ht(a),e.stateNode=a):e.memoizedState=Mh(e.type,t.memoizedProps,e.pendingProps,t.memoizedState),null;case 27:return oi(e),t===null&&rt&&(a=e.stateNode=Ah(e.type,e.pendingProps,tt.current),Jt=e,ze=!0,n=At,gl(e.type)?(gf=n,At=Oe(a.firstChild)):At=n),wt(t,e,e.pendingProps.children,l),Ou(t,e),t===null&&(e.flags|=4194304),e.child;case 5:return t===null&&rt&&((n=a=At)&&(a=jm(a,e.type,e.pendingProps,ze),a!==null?(e.stateNode=a,Jt=e,At=Oe(a.firstChild),ze=!1,n=!0):n=!1),n||ql(e)),oi(e),n=e.type,i=e.pendingProps,f=t!==null?t.memoizedProps:null,a=i.children,df(n,i)?a=null:f!==null&&df(n,f)&&(e.flags|=32),e.memoizedState!==null&&(n=oc(t,e,tm,null,null,l),An._currentValue=n),Ou(t,e),wt(t,e,a,l),e.child;case 6:return t===null&&rt&&((t=l=At)&&(l=Bm(l,e.pendingProps,ze),l!==null?(e.stateNode=l,Jt=e,At=null,t=!0):t=!1),t||ql(e)),null;case 13:return bo(t,e,l);case 4:return bt(e,e.stateNode.containerInfo),a=e.pendingProps,t===null?e.child=ya(e,null,a,l):wt(t,e,a,l),e.child;case 11:return so(t,e,e.type,e.pendingProps,l);case 7:return wt(t,e,e.pendingProps,l),e.child;case 8:return wt(t,e,e.pendingProps.children,l),e.child;case 12:return wt(t,e,e.pendingProps.children,l),e.child;case 10:return a=e.pendingProps,ll(e,e.type,a.value),wt(t,e,a.children,l),e.child;case 9:return n=e.type._context,a=e.pendingProps.children,jl(e),n=Vt(n),a=a(n),e.flags|=1,wt(t,e,a,l),e.child;case 14:return oo(t,e,e.type,e.pendingProps,l);case 15:return ho(t,e,e.type,e.pendingProps,l);case 19:return Eo(t,e,l);case 31:return a=e.pendingProps,l=e.mode,a={mode:a.mode,children:a.children},t===null?(l=Ru(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 yo(t,e,l);case 24:return jl(e),a=Vt(Ct),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),ll(e,Ct,n)):((t.lanes&l)!==0&&(uc(t,e),tn(e,null,null,l),Ia()),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),ll(e,Ct,a)):(a=i.cache,ll(e,Ct,a),a!==n.cache&&Ii(e,[Ct],l,!0))),wt(t,e,e.pendingProps.children,l),e.child;case 29:throw e.pendingProps}throw Error(s(156,e.tag))}function Ve(t){t.flags|=4}function Ao(t,e){if(e.type!=="stylesheet"||(e.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!Uh(e)){if(e=pe.current,e!==null&&((it&4194048)===it?_e!==null:(it&62914560)!==it&&(it&536870912)===0||e!==_e))throw Wa=ac,us;t.flags|=8192}}function Mu(t,e){e!==null&&(t.flags|=4),t.flags&16384&&(e=t.tag!==22?tr():536870912,t.lanes|=e,pa|=e)}function fn(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 Et(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 rm(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 Et(e),null;case 1:return Et(e),null;case 3:return l=e.stateNode,a=null,t!==null&&(a=t.memoizedState.cache),e.memoizedState.cache!==a&&(e.flags|=2048),Le(Ct),Pe(),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),(t===null||t.child===null)&&(Za(e)?Ve(e):t===null||t.memoizedState.isDehydrated&&(e.flags&256)===0||(e.flags|=1024,ts())),Et(e),null;case 26:return l=e.memoizedState,t===null?(Ve(e),l!==null?(Et(e),Ao(e,l)):(Et(e),e.flags&=-16777217)):l?l!==t.memoizedState?(Ve(e),Et(e),Ao(e,l)):(Et(e),e.flags&=-16777217):(t.memoizedProps!==a&&Ve(e),Et(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&&Ve(e);else{if(!a){if(e.stateNode===null)throw Error(s(166));return Et(e),null}t=J.current,Za(e)?Pr(e):(t=Ah(n,a,l),e.stateNode=t,Ve(e))}return Et(e),null;case 5:if(Bn(e),l=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==a&&Ve(e);else{if(!a){if(e.stateNode===null)throw Error(s(166));return Et(e),null}if(t=J.current,Za(e))Pr(e);else{switch(n=wu(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(Lt(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&&Ve(e)}}return Et(e),e.flags&=-16777217,null;case 6:if(t&&e.stateNode!=null)t.memoizedProps!==a&&Ve(e);else{if(typeof a!="string"&&e.stateNode===null)throw Error(s(166));if(t=tt.current,Za(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||vh(t.nodeValue,l)),t||ql(e)}else t=wu(t).createTextNode(a),t[Zt]=e,e.stateNode=t}return Et(e),null;case 13:if(a=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(n=Za(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 Va(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;Et(e),n=!1}else n=ts(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=n),n=!0;if(!n)return e.flags&256?(Xe(e),e):(Xe(e),null)}if(Xe(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),Et(e),null;case 4:return Pe(),t===null&&ff(e.stateNode.containerInfo),Et(e),null;case 10:return Le(e.type),Et(e),null;case 19:if(Y(Nt),n=e.memoizedState,n===null)return Et(e),null;if(a=(e.flags&128)!==0,i=n.rendering,i===null)if(a)fn(n,!1);else{if(Ot!==0||t!==null&&(t.flags&128)!==0)for(t=e.child;t!==null;){if(i=Eu(t),i!==null){for(e.flags|=128,fn(n,!1),t=i.updateQueue,e.updateQueue=t,Mu(e,t),e.subtreeFlags=0,t=l,l=e.child;l!==null;)Fr(l,t),l=l.sibling;return Q(Nt,Nt.current&1|2),e.child}t=t.sibling}n.tail!==null&&xe()>zu&&(e.flags|=128,a=!0,fn(n,!1),e.lanes=4194304)}else{if(!a)if(t=Eu(i),t!==null){if(e.flags|=128,a=!0,t=t.updateQueue,e.updateQueue=t,Mu(e,t),fn(n,!0),n.tail===null&&n.tailMode==="hidden"&&!i.alternate&&!rt)return Et(e),null}else 2*xe()-n.renderingStartTime>zu&&l!==536870912&&(e.flags|=128,a=!0,fn(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=xe(),e.sibling=null,t=Nt.current,Q(Nt,a?t&1|2:t&1),e):(Et(e),null);case 22:case 23:return Xe(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&&(Et(e),e.subtreeFlags&6&&(e.flags|=8192)):Et(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&&Y(Bl),null;case 24:return l=null,t!==null&&(l=t.memoizedState.cache),e.memoizedState.cache!==l&&(e.flags|=2048),Le(Ct),Et(e),null;case 25:return null;case 30:return null}throw Error(s(156,e.tag))}function sm(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 Le(Ct),Pe(),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(Xe(e),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(s(340));Va()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return Y(Nt),null;case 4:return Pe(),null;case 10:return Le(e.type),null;case 22:case 23:return Xe(e),rc(),t!==null&&Y(Bl),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 24:return Le(Ct),null;case 25:return null;default:return null}}function Oo(t,e){switch($i(e),e.tag){case 3:Le(Ct),Pe();break;case 26:case 27:case 5:Bn(e);break;case 4:Pe();break;case 13:Xe(e);break;case 19:Y(Nt);break;case 10:Le(e.type);break;case 22:case 23:Xe(e),rc(),t!==null&&Y(Bl);break;case 24:Le(Ct)}}function rn(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,f=l.inst;a=i(),f.destroy=a}l=l.next}while(l!==n)}}catch(o){gt(e,e.return,o)}}function rl(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 f=a.inst,o=f.destroy;if(o!==void 0){f.destroy=void 0,n=e;var d=l,O=o;try{O()}catch(x){gt(n,d,x)}}}a=a.next}while(a!==i)}}catch(x){gt(e,e.return,x)}}function Ro(t){var e=t.updateQueue;if(e!==null){var l=t.stateNode;try{os(e,l)}catch(a){gt(t,t.return,a)}}}function Mo(t,e,l){l.props=wl(t.type,t.memoizedProps),l.state=t.memoizedState;try{l.componentWillUnmount()}catch(a){gt(t,e,a)}}function sn(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 Ue(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 Do(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 Bc(t,e,l){try{var a=t.stateNode;Um(a,t.type,l,e),a[$t]=e}catch(n){gt(t,t.return,n)}}function xo(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&gl(t.type)||t.tag===4}function Qc(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||xo(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&&gl(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 wc(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=Qu));else if(a!==4&&(a===27&&gl(t.type)&&(l=t.stateNode,e=null),t=t.child,t!==null))for(wc(t,e,l),t=t.sibling;t!==null;)wc(t,e,l),t=t.sibling}function Du(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&&gl(t.type)&&(l=t.stateNode),t=t.child,t!==null))for(Du(t,e,l),t=t.sibling;t!==null;)Du(t,e,l),t=t.sibling}function zo(t){var e=t.stateNode,l=t.memoizedProps;try{for(var a=t.type,n=e.attributes;n.length;)e.removeAttributeNode(n[0]);Lt(e,a,l),e[Zt]=t,e[$t]=l}catch(i){gt(t,t.return,i)}}var Ke=!1,Dt=!1,Yc=!1,_o=typeof WeakSet=="function"?WeakSet:Set,Bt=null;function om(t,e){if(t=t.containerInfo,of=Vu,t=Yr(t),Qi(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 f=0,o=-1,d=-1,O=0,x=0,U=t,R=null;e:for(;;){for(var M;U!==l||n!==0&&U.nodeType!==3||(o=f+n),U!==i||a!==0&&U.nodeType!==3||(d=f+a),U.nodeType===3&&(f+=U.nodeValue.length),(M=U.firstChild)!==null;)R=U,U=M;for(;;){if(U===t)break e;if(R===l&&++O===n&&(o=f),R===i&&++x===a&&(d=f),(M=U.nextSibling)!==null)break;U=R,R=U.parentNode}U=M}l=o===-1||d===-1?null:{start:o,end:d}}else l=null}l=l||{start:0,end:0}}else l=null;for(hf={focusedElem:t,selectionRange:l},Vu=!1,Bt=e;Bt!==null;)if(e=Bt,t=e.child,(e.subtreeFlags&1024)!==0&&t!==null)t.return=e,Bt=t;else for(;Bt!==null;){switch(e=Bt,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=wl(l.type,n,l.elementType===l.type);t=a.getSnapshotBeforeUpdate(I,i),a.__reactInternalSnapshotBeforeUpdate=t}catch(k){gt(l,l.return,k)}}break;case 3:if((t&1024)!==0){if(t=e.stateNode.containerInfo,l=t.nodeType,l===9)mf(t);else if(l===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":mf(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,Bt=t;break}Bt=e.return}}function Uo(t,e,l){var a=l.flags;switch(l.tag){case 0:case 11:case 15:sl(t,l),a&4&&rn(5,l);break;case 1:if(sl(t,l),a&4)if(t=l.stateNode,e===null)try{t.componentDidMount()}catch(f){gt(l,l.return,f)}else{var n=wl(l.type,e.memoizedProps);e=e.memoizedState;try{t.componentDidUpdate(n,e,t.__reactInternalSnapshotBeforeUpdate)}catch(f){gt(l,l.return,f)}}a&64&&Ro(l),a&512&&sn(l,l.return);break;case 3:if(sl(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{os(t,e)}catch(f){gt(l,l.return,f)}}break;case 27:e===null&&a&4&&zo(l);case 26:case 5:sl(t,l),e===null&&a&4&&Do(l),a&512&&sn(l,l.return);break;case 12:sl(t,l);break;case 13:sl(t,l),a&4&&qo(t,l),a&64&&(t=l.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(l=Sm.bind(null,l),Qm(t,l))));break;case 22:if(a=l.memoizedState!==null||Ke,!a){e=e!==null&&e.memoizedState!==null||Dt,n=Ke;var i=Dt;Ke=a,(Dt=e)&&!i?ol(t,l,(l.subtreeFlags&8772)!==0):sl(t,l),Ke=n,Dt=i}break;case 30:break;default:sl(t,l)}}function Co(t){var e=t.alternate;e!==null&&(t.alternate=null,Co(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 St=null,Pt=!1;function Je(t,e,l){for(l=l.child;l!==null;)No(t,e,l),l=l.sibling}function No(t,e,l){if(le&&typeof le.onCommitFiberUnmount=="function")try{le.onCommitFiberUnmount(_a,l)}catch{}switch(l.tag){case 26:Dt||Ue(l,e),Je(t,e,l),l.memoizedState?l.memoizedState.count--:l.stateNode&&(l=l.stateNode,l.parentNode.removeChild(l));break;case 27:Dt||Ue(l,e);var a=St,n=Pt;gl(l.type)&&(St=l.stateNode,Pt=!1),Je(t,e,l),bn(l.stateNode),St=a,Pt=n;break;case 5:Dt||Ue(l,e);case 6:if(a=St,n=Pt,St=null,Je(t,e,l),St=a,Pt=n,St!==null)if(Pt)try{(St.nodeType===9?St.body:St.nodeName==="HTML"?St.ownerDocument.body:St).removeChild(l.stateNode)}catch(i){gt(l,e,i)}else try{St.removeChild(l.stateNode)}catch(i){gt(l,e,i)}break;case 18:St!==null&&(Pt?(t=St,Eh(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,l.stateNode),Dn(t)):Eh(St,l.stateNode));break;case 4:a=St,n=Pt,St=l.stateNode.containerInfo,Pt=!0,Je(t,e,l),St=a,Pt=n;break;case 0:case 11:case 14:case 15:Dt||rl(2,l,e),Dt||rl(4,l,e),Je(t,e,l);break;case 1:Dt||(Ue(l,e),a=l.stateNode,typeof a.componentWillUnmount=="function"&&Mo(l,e,a)),Je(t,e,l);break;case 21:Je(t,e,l);break;case 22:Dt=(a=Dt)||l.memoizedState!==null,Je(t,e,l),Dt=a;break;default:Je(t,e,l)}}function qo(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 hm(t){switch(t.tag){case 13:case 19:var e=t.stateNode;return e===null&&(e=t.stateNode=new _o),e;case 22:return t=t.stateNode,e=t._retryCache,e===null&&(e=t._retryCache=new _o),e;default:throw Error(s(435,t.tag))}}function Lc(t,e){var l=hm(t);e.forEach(function(a){var n=Em.bind(null,t,a);l.has(a)||(l.add(a),a.then(n,n))})}function ie(t,e){var l=e.deletions;if(l!==null)for(var a=0;a<l.length;a++){var n=l[a],i=t,f=e,o=f;t:for(;o!==null;){switch(o.tag){case 27:if(gl(o.type)){St=o.stateNode,Pt=!1;break t}break;case 5:St=o.stateNode,Pt=!1;break t;case 3:case 4:St=o.stateNode.containerInfo,Pt=!0;break t}o=o.return}if(St===null)throw Error(s(160));No(i,f,n),St=null,Pt=!1,i=n.alternate,i!==null&&(i.return=null),n.return=null}if(e.subtreeFlags&13878)for(e=e.child;e!==null;)Ho(e,t),e=e.sibling}var Ae=null;function Ho(t,e){var l=t.alternate,a=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:ie(e,t),ce(t),a&4&&(rl(3,t,t.return),rn(3,t),rl(5,t,t.return));break;case 1:ie(e,t),ce(t),a&512&&(Dt||l===null||Ue(l,l.return)),a&64&&Ke&&(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(ie(e,t),ce(t),a&512&&(Dt||l===null||Ue(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[Na]||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"))),Lt(i,a,l),i[Zt]=t,Ht(i),a=i;break t;case"link":var f=zh("link","href",n).get(a+(l.href||""));if(f){for(var o=0;o<f.length;o++)if(i=f[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)){f.splice(o,1);break e}}i=n.createElement(a),Lt(i,a,l),n.head.appendChild(i);break;case"meta":if(f=zh("meta","content",n).get(a+(l.content||""))){for(o=0;o<f.length;o++)if(i=f[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)){f.splice(o,1);break e}}i=n.createElement(a),Lt(i,a,l),n.head.appendChild(i);break;default:throw Error(s(468,a))}i[Zt]=t,Ht(i),a=i}t.stateNode=a}else _h(n,t.type,t.stateNode);else t.stateNode=xh(n,a,t.memoizedProps);else i!==a?(i===null?l.stateNode!==null&&(l=l.stateNode,l.parentNode.removeChild(l)):i.count--,a===null?_h(n,t.type,t.stateNode):xh(n,a,t.memoizedProps)):a===null&&t.stateNode!==null&&Bc(t,t.memoizedProps,l.memoizedProps)}break;case 27:ie(e,t),ce(t),a&512&&(Dt||l===null||Ue(l,l.return)),l!==null&&a&4&&Bc(t,t.memoizedProps,l.memoizedProps);break;case 5:if(ie(e,t),ce(t),a&512&&(Dt||l===null||Ue(l,l.return)),t.flags&32){n=t.stateNode;try{Fl(n,"")}catch(M){gt(t,t.return,M)}}a&4&&t.stateNode!=null&&(n=t.memoizedProps,Bc(t,n,l!==null?l.memoizedProps:n)),a&1024&&(Yc=!0);break;case 6:if(ie(e,t),ce(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(Gu=null,n=Ae,Ae=Yu(e.containerInfo),ie(e,t),Ae=n,ce(t),a&4&&l!==null&&l.memoizedState.isDehydrated)try{Dn(e.containerInfo)}catch(M){gt(t,t.return,M)}Yc&&(Yc=!1,jo(t));break;case 4:a=Ae,Ae=Yu(t.stateNode.containerInfo),ie(e,t),ce(t),Ae=a;break;case 12:ie(e,t),ce(t);break;case 13:ie(e,t),ce(t),t.child.flags&8192&&t.memoizedState!==null!=(l!==null&&l.memoizedState!==null)&&(Jc=xe()),a&4&&(a=t.updateQueue,a!==null&&(t.updateQueue=null,Lc(t,a)));break;case 22:n=t.memoizedState!==null;var d=l!==null&&l.memoizedState!==null,O=Ke,x=Dt;if(Ke=O||n,Dt=x||d,ie(e,t),Dt=x,Ke=O,ce(t),a&8192)t:for(e=t.stateNode,e._visibility=n?e._visibility&-2:e._visibility|1,n&&(l===null||d||Ke||Dt||Yl(t)),l=null,e=t;;){if(e.tag===5||e.tag===26){if(l===null){d=l=e;try{if(i=d.stateNode,n)f=i.style,typeof f.setProperty=="function"?f.setProperty("display","none","important"):f.display="none";else{o=d.stateNode;var U=d.memoizedProps.style,R=U!=null&&U.hasOwnProperty("display")?U.display:null;o.style.display=R==null||typeof R=="boolean"?"":(""+R).trim()}}catch(M){gt(d,d.return,M)}}}else if(e.tag===6){if(l===null){d=e;try{d.stateNode.nodeValue=n?"":d.memoizedProps}catch(M){gt(d,d.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,Lc(t,l))));break;case 19:ie(e,t),ce(t),a&4&&(a=t.updateQueue,a!==null&&(t.updateQueue=null,Lc(t,a)));break;case 30:break;case 21:break;default:ie(e,t),ce(t)}}function ce(t){var e=t.flags;if(e&2){try{for(var l,a=t.return;a!==null;){if(xo(a)){l=a;break}a=a.return}if(l==null)throw Error(s(160));switch(l.tag){case 27:var n=l.stateNode,i=Qc(t);Du(t,i,n);break;case 5:var f=l.stateNode;l.flags&32&&(Fl(f,""),l.flags&=-33);var o=Qc(t);Du(t,o,f);break;case 3:case 4:var d=l.stateNode.containerInfo,O=Qc(t);wc(t,O,d);break;default:throw Error(s(161))}}catch(x){gt(t,t.return,x)}t.flags&=-3}e&4096&&(t.flags&=-4097)}function jo(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var e=t;jo(e),e.tag===5&&e.flags&1024&&e.stateNode.reset(),t=t.sibling}}function sl(t,e){if(e.subtreeFlags&8772)for(e=e.child;e!==null;)Uo(t,e.alternate,e),e=e.sibling}function Yl(t){for(t=t.child;t!==null;){var e=t;switch(e.tag){case 0:case 11:case 14:case 15:rl(4,e,e.return),Yl(e);break;case 1:Ue(e,e.return);var l=e.stateNode;typeof l.componentWillUnmount=="function"&&Mo(e,e.return,l),Yl(e);break;case 27:bn(e.stateNode);case 26:case 5:Ue(e,e.return),Yl(e);break;case 22:e.memoizedState===null&&Yl(e);break;case 30:Yl(e);break;default:Yl(e)}t=t.sibling}}function ol(t,e,l){for(l=l&&(e.subtreeFlags&8772)!==0,e=e.child;e!==null;){var a=e.alternate,n=t,i=e,f=i.flags;switch(i.tag){case 0:case 11:case 15:ol(n,i,l),rn(4,i);break;case 1:if(ol(n,i,l),a=i,n=a.stateNode,typeof n.componentDidMount=="function")try{n.componentDidMount()}catch(O){gt(a,a.return,O)}if(a=i,n=a.updateQueue,n!==null){var o=a.stateNode;try{var d=n.shared.hiddenCallbacks;if(d!==null)for(n.shared.hiddenCallbacks=null,n=0;n<d.length;n++)ss(d[n],o)}catch(O){gt(a,a.return,O)}}l&&f&64&&Ro(i),sn(i,i.return);break;case 27:zo(i);case 26:case 5:ol(n,i,l),l&&a===null&&f&4&&Do(i),sn(i,i.return);break;case 12:ol(n,i,l);break;case 13:ol(n,i,l),l&&f&4&&qo(n,i);break;case 22:i.memoizedState===null&&ol(n,i,l),sn(i,i.return);break;case 30:break;default:ol(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&&ka(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&&ka(t))}function Ce(t,e,l,a){if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Bo(t,e,l,a),e=e.sibling}function Bo(t,e,l,a){var n=e.flags;switch(e.tag){case 0:case 11:case 15:Ce(t,e,l,a),n&2048&&rn(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&&ka(t)));break;case 12:if(n&2048){Ce(t,e,l,a),t=e.stateNode;try{var i=e.memoizedProps,f=i.id,o=i.onPostCommit;typeof o=="function"&&o(f,e.alternate===null?"mount":"update",t.passiveEffectDuration,-0)}catch(d){gt(e,e.return,d)}}else Ce(t,e,l,a);break;case 13:Ce(t,e,l,a);break;case 23:break;case 22:i=e.stateNode,f=e.alternate,e.memoizedState!==null?i._visibility&2?Ce(t,e,l,a):on(t,e):i._visibility&2?Ce(t,e,l,a):(i._visibility|=2,ma(t,e,l,a,(e.subtreeFlags&10256)!==0)),n&2048&&Gc(f,e);break;case 24:Ce(t,e,l,a),n&2048&&Xc(e.alternate,e);break;default:Ce(t,e,l,a)}}function ma(t,e,l,a,n){for(n=n&&(e.subtreeFlags&10256)!==0,e=e.child;e!==null;){var i=t,f=e,o=l,d=a,O=f.flags;switch(f.tag){case 0:case 11:case 15:ma(i,f,o,d,n),rn(8,f);break;case 23:break;case 22:var x=f.stateNode;f.memoizedState!==null?x._visibility&2?ma(i,f,o,d,n):on(i,f):(x._visibility|=2,ma(i,f,o,d,n)),n&&O&2048&&Gc(f.alternate,f);break;case 24:ma(i,f,o,d,n),n&&O&2048&&Xc(f.alternate,f);break;default:ma(i,f,o,d,n)}e=e.sibling}}function on(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:on(l,a),n&2048&&Gc(a.alternate,a);break;case 24:on(l,a),n&2048&&Xc(a.alternate,a);break;default:on(l,a)}e=e.sibling}}var hn=8192;function va(t){if(t.subtreeFlags&hn)for(t=t.child;t!==null;)Qo(t),t=t.sibling}function Qo(t){switch(t.tag){case 26:va(t),t.flags&hn&&t.memoizedState!==null&&Wm(Ae,t.memoizedState,t.memoizedProps);break;case 5:va(t);break;case 3:case 4:var e=Ae;Ae=Yu(t.stateNode.containerInfo),va(t),Ae=e;break;case 22:t.memoizedState===null&&(e=t.alternate,e!==null&&e.memoizedState!==null?(e=hn,hn=16777216,va(t),hn=e):va(t));break;default:va(t)}}function wo(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 dn(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];Bt=a,Lo(a,t)}wo(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Yo(t),t=t.sibling}function Yo(t){switch(t.tag){case 0:case 11:case 15:dn(t),t.flags&2048&&rl(9,t,t.return);break;case 3:dn(t);break;case 12:dn(t);break;case 22:var e=t.stateNode;t.memoizedState!==null&&e._visibility&2&&(t.return===null||t.return.tag!==13)?(e._visibility&=-3,xu(t)):dn(t);break;default:dn(t)}}function xu(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];Bt=a,Lo(a,t)}wo(t)}for(t=t.child;t!==null;){switch(e=t,e.tag){case 0:case 11:case 15:rl(8,e,e.return),xu(e);break;case 22:l=e.stateNode,l._visibility&2&&(l._visibility&=-3,xu(e));break;default:xu(e)}t=t.sibling}}function Lo(t,e){for(;Bt!==null;){var l=Bt;switch(l.tag){case 0:case 11:case 15:rl(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:ka(l.memoizedState.cache)}if(a=l.child,a!==null)a.return=l,Bt=a;else t:for(l=t;Bt!==null;){a=Bt;var n=a.sibling,i=a.return;if(Co(a),a===l){Bt=null;break t}if(n!==null){n.return=i,Bt=n;break t}Bt=i}}}var dm={getCacheForType:function(t){var e=Vt(Ct),l=e.data.get(t);return l===void 0&&(l=t(),e.data.set(t,l)),l}},ym=typeof WeakMap=="function"?WeakMap:Map,st=0,pt=null,nt=null,it=0,ot=0,fe=null,hl=!1,ga=!1,Zc=!1,ke=0,Ot=0,dl=0,Ll=0,Vc=0,be=0,pa=0,yn=null,It=null,Kc=!1,Jc=0,zu=1/0,_u=null,yl=null,Yt=0,ml=null,ba=null,Sa=0,kc=0,$c=null,Go=null,mn=0,Fc=null;function re(){if((st&2)!==0&&it!==0)return it&-it;if(z.T!==null){var t=ca;return t!==0?t:af()}return ar()}function Xo(){be===0&&(be=(it&536870912)===0||rt?If():536870912);var t=pe.current;return t!==null&&(t.flags|=32),be}function se(t,e,l){(t===pt&&(ot===2||ot===9)||t.cancelPendingCommit!==null)&&(Ea(t,0),vl(t,it,be,!1)),Ca(t,l),((st&2)===0||t!==pt)&&(t===pt&&((st&2)===0&&(Ll|=l),Ot===4&&vl(t,it,be,!1)),Ne(t))}function Zo(t,e,l){if((st&6)!==0)throw Error(s(327));var a=!l&&(e&124)===0&&(e&t.expiredLanes)===0||Ua(t,e),n=a?gm(t,e):Ic(t,e,!0),i=a;do{if(n===0){ga&&!a&&vl(t,e,0,!1);break}else{if(l=t.current.alternate,i&&!mm(l)){n=Ic(t,e,!1),i=!1;continue}if(n===2){if(i=e,t.errorRecoveryDisabledLanes&i)var f=0;else f=t.pendingLanes&-536870913,f=f!==0?f:f&536870912?536870912:0;if(f!==0){e=f;t:{var o=t;n=yn;var d=o.current.memoizedState.isDehydrated;if(d&&(Ea(o,f).flags|=256),f=Ic(o,f,!1),f!==2){if(Zc&&!d){o.errorRecoveryDisabledLanes|=i,Ll|=i,n=4;break t}i=It,It=n,i!==null&&(It===null?It=i:It.push.apply(It,i))}n=f}if(i=!1,n!==2)continue}}if(n===1){Ea(t,0),vl(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:vl(a,e,be,!hl);break t;case 2:It=null;break;case 3:case 5:break;default:throw Error(s(329))}if((e&62914560)===e&&(n=Jc+300-xe(),10<n)){if(vl(a,e,be,!hl),Ln(a,0,!0)!==0)break t;a.timeoutHandle=bh(Vo.bind(null,a,l,It,_u,Kc,e,be,Ll,pa,hl,i,2,-0,0),n);break t}Vo(a,l,It,_u,Kc,e,be,Ll,pa,hl,i,0,-0,0)}}break}while(!0);Ne(t)}function Vo(t,e,l,a,n,i,f,o,d,O,x,U,R,M){if(t.timeoutHandle=-1,U=e.subtreeFlags,(U&8192||(U&16785408)===16785408)&&(Tn={stylesheets:null,count:0,unsuspend:Fm},Qo(e),U=Pm(),U!==null)){t.cancelPendingCommit=U(Po.bind(null,t,e,i,l,a,n,f,o,d,x,1,R,M)),vl(t,i,f,!O);return}Po(t,e,i,l,a,n,f,o,d)}function mm(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(!ne(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 vl(t,e,l,a){e&=~Vc,e&=~Ll,t.suspendedLanes|=e,t.pingedLanes&=~e,a&&(t.warmLanes|=e),a=t.expirationTimes;for(var n=e;0<n;){var i=31-ae(n),f=1<<i;a[i]=-1,n&=~f}l!==0&&er(t,l,e)}function Uu(){return(st&6)===0?(vn(0),!1):!0}function Wc(){if(nt!==null){if(ot===0)var t=nt.return;else t=nt,Ye=Hl=null,yc(t),da=null,un=0,t=nt;for(;t!==null;)Oo(t.alternate,t),t=t.return;nt=null}}function Ea(t,e){var l=t.timeoutHandle;l!==-1&&(t.timeoutHandle=-1,Nm(l)),l=t.cancelPendingCommit,l!==null&&(t.cancelPendingCommit=null,l()),Wc(),pt=t,nt=l=Be(t.current,null),it=e,ot=0,fe=null,hl=!1,ga=Ua(t,e),Zc=!1,pa=be=Vc=Ll=dl=Ot=0,It=yn=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-ae(a),i=1<<n;e|=t[n],a&=~i}return ke=e,In(),l}function Ko(t,e){lt=null,z.H=pu,e===Fa||e===fu?(e=fs(),ot=3):e===us?(e=fs(),ot=4):ot=e===ro?8:e!==null&&typeof e=="object"&&typeof e.then=="function"?6:1,fe=e,nt===null&&(Ot=1,Au(t,ye(e,t.current)))}function Jo(){var t=z.H;return z.H=pu,t===null?pu:t}function ko(){var t=z.A;return z.A=dm,t}function Pc(){Ot=4,hl||(it&4194048)!==it&&pe.current!==null||(ga=!0),(dl&134217727)===0&&(Ll&134217727)===0||pt===null||vl(pt,it,be,!1)}function Ic(t,e,l){var a=st;st|=2;var n=Jo(),i=ko();(pt!==t||it!==e)&&(_u=null,Ea(t,e)),e=!1;var f=Ot;t:do try{if(ot!==0&&nt!==null){var o=nt,d=fe;switch(ot){case 8:Wc(),f=6;break t;case 3:case 2:case 9:case 6:pe.current===null&&(e=!0);var O=ot;if(ot=0,fe=null,Ta(t,o,d,O),l&&ga){f=0;break t}break;default:O=ot,ot=0,fe=null,Ta(t,o,d,O)}}vm(),f=Ot;break}catch(x){Ko(t,x)}while(!0);return e&&t.shellSuspendCounter++,Ye=Hl=null,st=a,z.H=n,z.A=i,nt===null&&(pt=null,it=0,In()),f}function vm(){for(;nt!==null;)$o(nt)}function gm(t,e){var l=st;st|=2;var a=Jo(),n=ko();pt!==t||it!==e?(_u=null,zu=xe()+500,Ea(t,e)):ga=Ua(t,e);t:do try{if(ot!==0&&nt!==null){e=nt;var i=fe;e:switch(ot){case 1:ot=0,fe=null,Ta(t,e,i,1);break;case 2:case 9:if(is(i)){ot=0,fe=null,Fo(e);break}e=function(){ot!==2&&ot!==9||pt!==t||(ot=7),Ne(t)},i.then(e,e);break t;case 3:ot=7;break t;case 4:ot=5;break t;case 7:is(i)?(ot=0,fe=null,Fo(e)):(ot=0,fe=null,Ta(t,e,i,7));break;case 5:var f=null;switch(nt.tag){case 26:f=nt.memoizedState;case 5:case 27:var o=nt;if(!f||Uh(f)){ot=0,fe=null;var d=o.sibling;if(d!==null)nt=d;else{var O=o.return;O!==null?(nt=O,Cu(O)):nt=null}break e}}ot=0,fe=null,Ta(t,e,i,5);break;case 6:ot=0,fe=null,Ta(t,e,i,6);break;case 8:Wc(),Ot=6;break t;default:throw Error(s(462))}}pm();break}catch(x){Ko(t,x)}while(!0);return Ye=Hl=null,z.H=a,z.A=n,st=l,nt!==null?0:(pt=null,it=0,In(),Ot)}function pm(){for(;nt!==null&&!Yd();)$o(nt)}function $o(t){var e=To(t.alternate,t,ke);t.memoizedProps=t.pendingProps,e===null?Cu(t):nt=e}function Fo(t){var e=t,l=e.alternate;switch(e.tag){case 15:case 0:e=vo(l,e,e.pendingProps,e.type,void 0,it);break;case 11:e=vo(l,e,e.pendingProps,e.type.render,e.ref,it);break;case 5:yc(e);default:Oo(l,e),e=nt=Fr(e,ke),e=To(l,e,ke)}t.memoizedProps=t.pendingProps,e===null?Cu(t):nt=e}function Ta(t,e,l,a){Ye=Hl=null,yc(e),da=null,un=0;var n=e.return;try{if(cm(t,n,e,l,it)){Ot=1,Au(t,ye(l,t.current)),nt=null;return}}catch(i){if(n!==null)throw nt=n,i;Ot=1,Au(t,ye(l,t.current)),nt=null;return}e.flags&32768?(rt||a===1?t=!0:ga||(it&536870912)!==0?t=!1:(hl=t=!0,(a===2||a===9||a===3||a===6)&&(a=pe.current,a!==null&&a.tag===13&&(a.flags|=16384))),Wo(e,t)):Cu(e)}function Cu(t){var e=t;do{if((e.flags&32768)!==0){Wo(e,hl);return}t=e.return;var l=rm(e.alternate,e,ke);if(l!==null){nt=l;return}if(e=e.sibling,e!==null){nt=e;return}nt=e=t}while(e!==null);Ot===0&&(Ot=5)}function Wo(t,e){do{var l=sm(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);Ot=6,nt=null}function Po(t,e,l,a,n,i,f,o,d){t.cancelPendingCommit=null;do Nu();while(Yt!==0);if((st&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,Fd(t,l,i,f,o,d),t===pt&&(nt=pt=null,it=0),ba=e,ml=t,Sa=l,kc=i,$c=n,Go=a,(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,Tm(Qn,function(){return ah(),null})):(t.callbackNode=null,t.callbackPriority=0),a=(e.flags&13878)!==0,(e.subtreeFlags&13878)!==0||a){a=z.T,z.T=null,n=w.p,w.p=2,f=st,st|=4;try{om(t,e,l)}finally{st=f,w.p=n,z.T=a}}Yt=1,Io(),th(),eh()}}function Io(){if(Yt===1){Yt=0;var t=ml,e=ba,l=(e.flags&13878)!==0;if((e.subtreeFlags&13878)!==0||l){l=z.T,z.T=null;var a=w.p;w.p=2;var n=st;st|=4;try{Ho(e,t);var i=hf,f=Yr(t.containerInfo),o=i.focusedElem,d=i.selectionRange;if(f!==o&&o&&o.ownerDocument&&wr(o.ownerDocument.documentElement,o)){if(d!==null&&Qi(o)){var O=d.start,x=d.end;if(x===void 0&&(x=O),"selectionStart"in o)o.selectionStart=O,o.selectionEnd=Math.min(x,o.value.length);else{var U=o.ownerDocument||document,R=U&&U.defaultView||window;if(R.getSelection){var M=R.getSelection(),I=o.textContent.length,k=Math.min(d.start,I),mt=d.end===void 0?k:Math.min(d.end,I);!M.extend&&k>mt&&(f=mt,mt=k,k=f);var S=Qr(o,k),g=Qr(o,mt);if(S&&g&&(M.rangeCount!==1||M.anchorNode!==S.node||M.anchorOffset!==S.offset||M.focusNode!==g.node||M.focusOffset!==g.offset)){var A=U.createRange();A.setStart(S.node,S.offset),M.removeAllRanges(),k>mt?(M.addRange(A),M.extend(g.node,g.offset)):(A.setEnd(g.node,g.offset),M.addRange(A))}}}}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 _=U[o];_.element.scrollLeft=_.left,_.element.scrollTop=_.top}}Vu=!!of,hf=of=null}finally{st=n,w.p=a,z.T=l}}t.current=e,Yt=2}}function th(){if(Yt===2){Yt=0;var t=ml,e=ba,l=(e.flags&8772)!==0;if((e.subtreeFlags&8772)!==0||l){l=z.T,z.T=null;var a=w.p;w.p=2;var n=st;st|=4;try{Uo(t,e.alternate,e)}finally{st=n,w.p=a,z.T=l}}Yt=3}}function eh(){if(Yt===4||Yt===3){Yt=0,Ld();var t=ml,e=ba,l=Sa,a=Go;(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?Yt=5:(Yt=0,ba=ml=null,lh(t,t.pendingLanes));var n=t.pendingLanes;if(n===0&&(yl=null),gi(l),e=e.stateNode,le&&typeof le.onCommitFiberRoot=="function")try{le.onCommitFiberRoot(_a,e,void 0,(e.current.flags&128)===128)}catch{}if(a!==null){e=z.T,n=w.p,w.p=2,z.T=null;try{for(var i=t.onRecoverableError,f=0;f<a.length;f++){var o=a[f];i(o.value,{componentStack:o.stack})}}finally{z.T=e,w.p=n}}(Sa&3)!==0&&Nu(),Ne(t),n=t.pendingLanes,(l&4194090)!==0&&(n&42)!==0?t===Fc?mn++:(mn=0,Fc=t):mn=0,vn(0)}}function lh(t,e){(t.pooledCacheLanes&=e)===0&&(e=t.pooledCache,e!=null&&(t.pooledCache=null,ka(e)))}function Nu(t){return Io(),th(),eh(),ah()}function ah(){if(Yt!==5)return!1;var t=ml,e=kc;kc=0;var l=gi(Sa),a=z.T,n=w.p;try{w.p=32>l?32:l,z.T=null,l=$c,$c=null;var i=ml,f=Sa;if(Yt=0,ba=ml=null,Sa=0,(st&6)!==0)throw Error(s(331));var o=st;if(st|=4,Yo(i.current),Bo(i,i.current,f,l),st=o,vn(0,!1),le&&typeof le.onPostCommitFiberRoot=="function")try{le.onPostCommitFiberRoot(_a,i)}catch{}return!0}finally{w.p=n,z.T=a,lh(t,e)}}function nh(t,e,l){e=ye(l,e),e=xc(t.stateNode,e,2),t=ul(t,e,2),t!==null&&(Ca(t,2),Ne(t))}function gt(t,e,l){if(t.tag===3)nh(t,t,l);else for(;e!==null;){if(e.tag===3){nh(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=ye(l,t),l=co(2),a=ul(e,l,2),a!==null&&(fo(l,a,e,t),Ca(a,2),Ne(a));break}}e=e.return}}function tf(t,e,l){var a=t.pingCache;if(a===null){a=t.pingCache=new ym;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=bm.bind(null,t,e,l),e.then(t,t))}function bm(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&&(Ot===4||Ot===3&&(it&62914560)===it&&300>xe()-Jc?(st&2)===0&&Ea(t,0):Vc|=l,pa===it&&(pa=0)),Ne(t)}function uh(t,e){e===0&&(e=tr()),t=aa(t,e),t!==null&&(Ca(t,e),Ne(t))}function Sm(t){var e=t.memoizedState,l=0;e!==null&&(l=e.retryLane),uh(t,l)}function Em(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),uh(t,l)}function Tm(t,e){return di(t,e)}var qu=null,Aa=null,ef=!1,Hu=!1,lf=!1,Gl=0;function Ne(t){t!==Aa&&t.next===null&&(Aa===null?qu=Aa=t:Aa=Aa.next=t),Hu=!0,ef||(ef=!0,Om())}function vn(t,e){if(!lf&&Hu){lf=!0;do for(var l=!1,a=qu;a!==null;){if(t!==0){var n=a.pendingLanes;if(n===0)var i=0;else{var f=a.suspendedLanes,o=a.pingedLanes;i=(1<<31-ae(42|t)+1)-1,i&=n&~(f&~o),i=i&201326741?i&201326741|1:i?i|2:0}i!==0&&(l=!0,rh(a,i))}else i=it,i=Ln(a,a===pt?i:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),(i&3)===0||Ua(a,i)||(l=!0,rh(a,i));a=a.next}while(l);lf=!1}}function Am(){ih()}function ih(){Hu=ef=!1;var t=0;Gl!==0&&(Cm()&&(t=Gl),Gl=0);for(var e=xe(),l=null,a=qu;a!==null;){var n=a.next,i=ch(a,e);i===0?(a.next=null,l===null?qu=n:l.next=n,n===null&&(Aa=l)):(l=a,(t!==0||(i&3)!==0)&&(Hu=!0)),a=n}vn(t)}function ch(t,e){for(var l=t.suspendedLanes,a=t.pingedLanes,n=t.expirationTimes,i=t.pendingLanes&-62914561;0<i;){var f=31-ae(i),o=1<<f,d=n[f];d===-1?((o&l)===0||(o&a)!==0)&&(n[f]=$d(o,e)):d<=e&&(t.expiredLanes|=o),i&=~o}if(e=pt,l=it,l=Ln(t,t===e?l:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),a=t.callbackNode,l===0||t===e&&(ot===2||ot===9)||t.cancelPendingCommit!==null)return a!==null&&a!==null&&yi(a),t.callbackNode=null,t.callbackPriority=0;if((l&3)===0||Ua(t,l)){if(e=l&-l,e===t.callbackPriority)return e;switch(a!==null&&yi(a),gi(l)){case 2:case 8:l=Wf;break;case 32:l=Qn;break;case 268435456:l=Pf;break;default:l=Qn}return a=fh.bind(null,t),l=di(l,a),t.callbackPriority=e,t.callbackNode=l,e}return a!==null&&a!==null&&yi(a),t.callbackPriority=2,t.callbackNode=null,2}function fh(t,e){if(Yt!==0&&Yt!==5)return t.callbackNode=null,t.callbackPriority=0,null;var l=t.callbackNode;if(Nu()&&t.callbackNode!==l)return null;var a=it;return a=Ln(t,t===pt?a:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),a===0?null:(Zo(t,a,e),ch(t,xe()),t.callbackNode!=null&&t.callbackNode===l?fh.bind(null,t):null)}function rh(t,e){if(Nu())return null;Zo(t,e,!0)}function Om(){qm(function(){(st&6)!==0?di(Ff,Am):ih()})}function af(){return Gl===0&&(Gl=If()),Gl}function sh(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:Kn(""+t)}function oh(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 Rm(t,e,l,a,n){if(e==="submit"&&l&&l.stateNode===n){var i=sh((n[$t]||null).action),f=a.submitter;f&&(e=(e=f[$t]||null)?sh(e.formAction):f.getAttribute("formAction"),e!==null&&(i=e,f=null));var o=new Fn("action","action",null,a,n);t.push({event:o,listeners:[{instance:null,listener:function(){if(a.defaultPrevented){if(Gl!==0){var d=f?oh(n,f):new FormData(n);Ac(l,{pending:!0,data:d,method:n.method,action:i},null,d)}}else typeof i=="function"&&(o.preventDefault(),d=f?oh(n,f):new FormData(n),Ac(l,{pending:!0,data:d,method:n.method,action:i},i,d))},currentTarget:n}]})}}for(var nf=0;nf<Gi.length;nf++){var uf=Gi[nf],Mm=uf.toLowerCase(),Dm=uf[0].toUpperCase()+uf.slice(1);Te(Mm,"on"+Dm)}Te(Xr,"onAnimationEnd"),Te(Zr,"onAnimationIteration"),Te(Vr,"onAnimationStart"),Te("dblclick","onDoubleClick"),Te("focusin","onFocus"),Te("focusout","onBlur"),Te(Zy,"onTransitionRun"),Te(Vy,"onTransitionStart"),Te(Ky,"onTransitionCancel"),Te(Kr,"onTransitionEnd"),Jl("onMouseEnter",["mouseout","mouseover"]),Jl("onMouseLeave",["mouseout","mouseover"]),Jl("onPointerEnter",["pointerout","pointerover"]),Jl("onPointerLeave",["pointerout","pointerover"]),Ml("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Ml("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Ml("onBeforeInput",["compositionend","keypress","textInput","paste"]),Ml("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Ml("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Ml("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var gn="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(" "),xm=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(gn));function hh(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 f=a.length-1;0<=f;f--){var o=a[f],d=o.instance,O=o.currentTarget;if(o=o.listener,d!==i&&n.isPropagationStopped())break t;i=o,n.currentTarget=O;try{i(n)}catch(x){Tu(x)}n.currentTarget=null,i=d}else for(f=0;f<a.length;f++){if(o=a[f],d=o.instance,O=o.currentTarget,o=o.listener,d!==i&&n.isPropagationStopped())break t;i=o,n.currentTarget=O;try{i(n)}catch(x){Tu(x)}n.currentTarget=null,i=d}}}}function ut(t,e){var l=e[pi];l===void 0&&(l=e[pi]=new Set);var a=t+"__bubble";l.has(a)||(dh(e,t,2,!1),l.add(a))}function cf(t,e,l){var a=0;e&&(a|=4),dh(l,t,a,e)}var ju="_reactListening"+Math.random().toString(36).slice(2);function ff(t){if(!t[ju]){t[ju]=!0,ur.forEach(function(l){l!=="selectionchange"&&(xm.has(l)||cf(l,!1,t),cf(l,!0,t))});var e=t.nodeType===9?t:t.ownerDocument;e===null||e[ju]||(e[ju]=!0,cf("selectionchange",!1,e))}}function dh(t,e,l,a){switch(Bh(e)){case 2:var n=ev;break;case 8:n=lv;break;default:n=Tf}l=n.bind(null,e,l,t),n=void 0,!zi||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 f=a.tag;if(f===3||f===4){var o=a.stateNode.containerInfo;if(o===n)break;if(f===4)for(f=a.return;f!==null;){var d=f.tag;if((d===3||d===4)&&f.stateNode.containerInfo===n)return;f=f.return}for(;o!==null;){if(f=Zl(o),f===null)return;if(d=f.tag,d===5||d===6||d===26||d===27){a=i=f;continue t}o=o.parentNode}}a=a.return}br(function(){var O=i,x=Di(l),U=[];t:{var R=Jr.get(t);if(R!==void 0){var M=Fn,I=t;switch(t){case"keypress":if(kn(l)===0)break t;case"keydown":case"keyup":M=Ty;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=Tr;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":M=sy;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":M=Ry;break;case Xr:case Zr:case Vr:M=dy;break;case Kr:M=Dy;break;case"scroll":case"scrollend":M=fy;break;case"wheel":M=zy;break;case"copy":case"cut":case"paste":M=my;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":M=Or;break;case"toggle":case"beforetoggle":M=Uy}var k=(e&4)!==0,mt=!k&&(t==="scroll"||t==="scrollend"),S=k?R!==null?R+"Capture":null:R;k=[];for(var g=O,A;g!==null;){var _=g;if(A=_.stateNode,_=_.tag,_!==5&&_!==26&&_!==27||A===null||S===null||(_=Ha(g,S),_!=null&&k.push(pn(g,_,A))),mt)break;g=g.return}0<k.length&&(R=new M(R,I,null,l,x),U.push({event:R,listeners:k}))}}if((e&7)===0){t:{if(R=t==="mouseover"||t==="pointerover",M=t==="mouseout"||t==="pointerout",R&&l!==Mi&&(I=l.relatedTarget||l.fromElement)&&(Zl(I)||I[Xl]))break t;if((M||R)&&(R=x.window===x?x:(R=x.ownerDocument)?R.defaultView||R.parentWindow:window,M?(I=l.relatedTarget||l.toElement,M=O,I=I?Zl(I):null,I!==null&&(mt=y(I),k=I.tag,I!==mt||k!==5&&k!==27&&k!==6)&&(I=null)):(M=null,I=O),M!==I)){if(k=Tr,_="onMouseLeave",S="onMouseEnter",g="mouse",(t==="pointerout"||t==="pointerover")&&(k=Or,_="onPointerLeave",S="onPointerEnter",g="pointer"),mt=M==null?R:qa(M),A=I==null?R:qa(I),R=new k(_,g+"leave",M,l,x),R.target=mt,R.relatedTarget=A,_=null,Zl(x)===O&&(k=new k(S,g+"enter",I,l,x),k.target=A,k.relatedTarget=mt,_=k),mt=_,M&&I)e:{for(k=M,S=I,g=0,A=k;A;A=Oa(A))g++;for(A=0,_=S;_;_=Oa(_))A++;for(;0<g-A;)k=Oa(k),g--;for(;0<A-g;)S=Oa(S),A--;for(;g--;){if(k===S||S!==null&&k===S.alternate)break e;k=Oa(k),S=Oa(S)}k=null}else k=null;M!==null&&yh(U,R,M,k,!1),I!==null&&mt!==null&&yh(U,mt,I,k,!0)}}t:{if(R=O?qa(O):window,M=R.nodeName&&R.nodeName.toLowerCase(),M==="select"||M==="input"&&R.type==="file")var X=Cr;else if(_r(R))if(Nr)X=Ly;else{X=wy;var at=Qy}else M=R.nodeName,!M||M.toLowerCase()!=="input"||R.type!=="checkbox"&&R.type!=="radio"?O&&Ri(O.elementType)&&(X=Cr):X=Yy;if(X&&(X=X(t,O))){Ur(U,X,l,x);break t}at&&at(t,R,O),t==="focusout"&&O&&R.type==="number"&&O.memoizedProps.value!=null&&Oi(R,"number",R.value)}switch(at=O?qa(O):window,t){case"focusin":(_r(at)||at.contentEditable==="true")&&(ta=at,wi=O,Xa=null);break;case"focusout":Xa=wi=ta=null;break;case"mousedown":Yi=!0;break;case"contextmenu":case"mouseup":case"dragend":Yi=!1,Lr(U,l,x);break;case"selectionchange":if(Xy)break;case"keydown":case"keyup":Lr(U,l,x)}var K;if(Hi)t:{switch(t){case"compositionstart":var $="onCompositionStart";break t;case"compositionend":$="onCompositionEnd";break t;case"compositionupdate":$="onCompositionUpdate";break t}$=void 0}else Il?xr(t,l)&&($="onCompositionEnd"):t==="keydown"&&l.keyCode===229&&($="onCompositionStart");$&&(Rr&&l.locale!=="ko"&&(Il||$!=="onCompositionStart"?$==="onCompositionEnd"&&Il&&(K=Sr()):(el=x,_i="value"in el?el.value:el.textContent,Il=!0)),at=Bu(O,$),0<at.length&&($=new Ar($,t,null,l,x),U.push({event:$,listeners:at}),K?$.data=K:(K=zr(l),K!==null&&($.data=K)))),(K=Ny?qy(t,l):Hy(t,l))&&($=Bu(O,"onBeforeInput"),0<$.length&&(at=new Ar("onBeforeInput","beforeinput",null,l,x),U.push({event:at,listeners:$}),at.data=K)),Rm(U,t,O,l,x)}hh(U,e)})}function pn(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=Ha(t,l),n!=null&&a.unshift(pn(t,n,i)),n=Ha(t,e),n!=null&&a.push(pn(t,n,i))),t.tag===3)return a;t=t.return}return[]}function Oa(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function yh(t,e,l,a,n){for(var i=e._reactName,f=[];l!==null&&l!==a;){var o=l,d=o.alternate,O=o.stateNode;if(o=o.tag,d!==null&&d===a)break;o!==5&&o!==26&&o!==27||O===null||(d=O,n?(O=Ha(l,i),O!=null&&f.unshift(pn(l,O,d))):n||(O=Ha(l,i),O!=null&&f.push(pn(l,O,d)))),l=l.return}f.length!==0&&t.push({event:e,listeners:f})}var zm=/\r\n?/g,_m=/\u0000|\uFFFD/g;function mh(t){return(typeof t=="string"?t:""+t).replace(zm,`
|
|
50
|
+
`).replace(_m,"")}function vh(t,e){return e=mh(e),mh(t)===e}function Qu(){}function yt(t,e,l,a,n,i){switch(l){case"children":typeof a=="string"?e==="body"||e==="textarea"&&a===""||Fl(t,a):(typeof a=="number"||typeof a=="bigint")&&e!=="body"&&Fl(t,""+a);break;case"className":Xn(t,"class",a);break;case"tabIndex":Xn(t,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":Xn(t,l,a);break;case"style":gr(t,a,i);break;case"data":if(e!=="object"){Xn(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=Kn(""+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"&&yt(t,e,"name",n.name,n,null),yt(t,e,"formEncType",n.formEncType,n,null),yt(t,e,"formMethod",n.formMethod,n,null),yt(t,e,"formTarget",n.formTarget,n,null)):(yt(t,e,"encType",n.encType,n,null),yt(t,e,"method",n.method,n,null),yt(t,e,"target",n.target,n,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){t.removeAttribute(l);break}a=Kn(""+a),t.setAttribute(l,a);break;case"onClick":a!=null&&(t.onclick=Qu);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=Kn(""+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),Gn(t,"popover",a);break;case"xlinkActuate":He(t,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":He(t,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":He(t,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":He(t,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":He(t,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":He(t,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":He(t,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":He(t,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":He(t,"http://www.w3.org/XML/1998/namespace","xml:space",a);break;case"is":Gn(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=iy.get(l)||l,Gn(t,l,a))}}function sf(t,e,l,a,n,i){switch(l){case"style":gr(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"?Fl(t,a):(typeof a=="number"||typeof a=="bigint")&&Fl(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=Qu);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!ir.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,""):Gn(t,l,a)}}}function Lt(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 f=l[i];if(f!=null)switch(i){case"src":a=!0;break;case"srcSet":n=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(s(137,e));default:yt(t,e,i,f,l,null)}}n&&yt(t,e,"srcSet",l.srcSet,l,null),a&&yt(t,e,"src",l.src,l,null);return;case"input":ut("invalid",t);var o=i=f=n=null,d=null,O=null;for(a in l)if(l.hasOwnProperty(a)){var x=l[a];if(x!=null)switch(a){case"name":n=x;break;case"type":f=x;break;case"checked":d=x;break;case"defaultChecked":O=x;break;case"value":i=x;break;case"defaultValue":o=x;break;case"children":case"dangerouslySetInnerHTML":if(x!=null)throw Error(s(137,e));break;default:yt(t,e,a,x,l,null)}}dr(t,i,o,d,O,f,n,!1),Zn(t);return;case"select":ut("invalid",t),a=f=i=null;for(n in l)if(l.hasOwnProperty(n)&&(o=l[n],o!=null))switch(n){case"value":i=o;break;case"defaultValue":f=o;break;case"multiple":a=o;default:yt(t,e,n,o,l,null)}e=i,l=f,t.multiple=!!a,e!=null?$l(t,!!a,e,!1):l!=null&&$l(t,!!a,l,!0);return;case"textarea":ut("invalid",t),i=n=a=null;for(f in l)if(l.hasOwnProperty(f)&&(o=l[f],o!=null))switch(f){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:yt(t,e,f,o,l,null)}mr(t,a,n,i),Zn(t);return;case"option":for(d in l)if(l.hasOwnProperty(d)&&(a=l[d],a!=null))switch(d){case"selected":t.selected=a&&typeof a!="function"&&typeof a!="symbol";break;default:yt(t,e,d,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<gn.length;a++)ut(gn[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(O in l)if(l.hasOwnProperty(O)&&(a=l[O],a!=null))switch(O){case"children":case"dangerouslySetInnerHTML":throw Error(s(137,e));default:yt(t,e,O,a,l,null)}return;default:if(Ri(e)){for(x in l)l.hasOwnProperty(x)&&(a=l[x],a!==void 0&&sf(t,e,x,a,l,void 0));return}}for(o in l)l.hasOwnProperty(o)&&(a=l[o],a!=null&&yt(t,e,o,a,l,null))}function Um(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,f=null,o=null,d=null,O=null,x=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":d=U;default:a.hasOwnProperty(M)||yt(t,e,M,null,a,U)}}for(var R in a){var M=a[R];if(U=l[R],a.hasOwnProperty(R)&&(M!=null||U!=null))switch(R){case"type":i=M;break;case"name":n=M;break;case"checked":O=M;break;case"defaultChecked":x=M;break;case"value":f=M;break;case"defaultValue":o=M;break;case"children":case"dangerouslySetInnerHTML":if(M!=null)throw Error(s(137,e));break;default:M!==U&&yt(t,e,R,M,a,U)}}Ai(t,f,o,d,O,x,i,n);return;case"select":M=f=o=R=null;for(i in l)if(d=l[i],l.hasOwnProperty(i)&&d!=null)switch(i){case"value":break;case"multiple":M=d;default:a.hasOwnProperty(i)||yt(t,e,i,null,a,d)}for(n in a)if(i=a[n],d=l[n],a.hasOwnProperty(n)&&(i!=null||d!=null))switch(n){case"value":R=i;break;case"defaultValue":o=i;break;case"multiple":f=i;default:i!==d&&yt(t,e,n,i,a,d)}e=o,l=f,a=M,R!=null?$l(t,!!l,R,!1):!!a!=!!l&&(e!=null?$l(t,!!l,e,!0):$l(t,!!l,l?[]:"",!1));return;case"textarea":M=R=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:yt(t,e,o,null,a,n)}for(f in a)if(n=a[f],i=l[f],a.hasOwnProperty(f)&&(n!=null||i!=null))switch(f){case"value":R=n;break;case"defaultValue":M=n;break;case"children":break;case"dangerouslySetInnerHTML":if(n!=null)throw Error(s(91));break;default:n!==i&&yt(t,e,f,n,a,i)}yr(t,R,M);return;case"option":for(var I in l)if(R=l[I],l.hasOwnProperty(I)&&R!=null&&!a.hasOwnProperty(I))switch(I){case"selected":t.selected=!1;break;default:yt(t,e,I,null,a,R)}for(d in a)if(R=a[d],M=l[d],a.hasOwnProperty(d)&&R!==M&&(R!=null||M!=null))switch(d){case"selected":t.selected=R&&typeof R!="function"&&typeof R!="symbol";break;default:yt(t,e,d,R,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 k in l)R=l[k],l.hasOwnProperty(k)&&R!=null&&!a.hasOwnProperty(k)&&yt(t,e,k,null,a,R);for(O in a)if(R=a[O],M=l[O],a.hasOwnProperty(O)&&R!==M&&(R!=null||M!=null))switch(O){case"children":case"dangerouslySetInnerHTML":if(R!=null)throw Error(s(137,e));break;default:yt(t,e,O,R,a,M)}return;default:if(Ri(e)){for(var mt in l)R=l[mt],l.hasOwnProperty(mt)&&R!==void 0&&!a.hasOwnProperty(mt)&&sf(t,e,mt,void 0,a,R);for(x in a)R=a[x],M=l[x],!a.hasOwnProperty(x)||R===M||R===void 0&&M===void 0||sf(t,e,x,R,a,M);return}}for(var S in l)R=l[S],l.hasOwnProperty(S)&&R!=null&&!a.hasOwnProperty(S)&&yt(t,e,S,null,a,R);for(U in a)R=a[U],M=l[U],!a.hasOwnProperty(U)||R===M||R==null&&M==null||yt(t,e,U,R,a,M)}var of=null,hf=null;function wu(t){return t.nodeType===9?t:t.ownerDocument}function gh(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 ph(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 yf=null;function Cm(){var t=window.event;return t&&t.type==="popstate"?t===yf?!1:(yf=t,!0):(yf=null,!1)}var bh=typeof setTimeout=="function"?setTimeout:void 0,Nm=typeof clearTimeout=="function"?clearTimeout:void 0,Sh=typeof Promise=="function"?Promise:void 0,qm=typeof queueMicrotask=="function"?queueMicrotask:typeof Sh<"u"?function(t){return Sh.resolve(null).then(t).catch(Hm)}:bh;function Hm(t){setTimeout(function(){throw t})}function gl(t){return t==="head"}function Eh(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 f=t.ownerDocument;if(l&1&&bn(f.documentElement),l&2&&bn(f.body),l&4)for(l=f.head,bn(l),f=l.firstChild;f;){var o=f.nextSibling,d=f.nodeName;f[Na]||d==="SCRIPT"||d==="STYLE"||d==="LINK"&&f.rel.toLowerCase()==="stylesheet"||l.removeChild(f),f=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 mf(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":mf(l),bi(l);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(l.rel.toLowerCase()==="stylesheet")continue}t.removeChild(l)}}function jm(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[Na])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 Bm(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 Qm(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 Th(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 Ah(t,e,l){switch(e=wu(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 bn(t){for(var e=t.attributes;e.length;)t.removeAttributeNode(e[0]);bi(t)}var Se=new Map,Oh=new Set;function Yu(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}var $e=w.d;w.d={f:wm,r:Ym,D:Lm,C:Gm,L:Xm,m:Zm,X:Km,S:Vm,M:Jm};function wm(){var t=$e.f(),e=Uu();return t||e}function Ym(t){var e=Vl(t);e!==null&&e.tag===5&&e.type==="form"?Xs(e):$e.r(t)}var Ra=typeof document>"u"?null:document;function Rh(t,e,l){var a=Ra;if(a&&typeof e=="string"&&e){var n=de(e);n='link[rel="'+t+'"][href="'+n+'"]',typeof l=="string"&&(n+='[crossorigin="'+l+'"]'),Oh.has(n)||(Oh.add(n),t={rel:t,crossOrigin:l,href:e},a.querySelector(n)===null&&(e=a.createElement("link"),Lt(e,"link",t),Ht(e),a.head.appendChild(e)))}}function Lm(t){$e.D(t),Rh("dns-prefetch",t,null)}function Gm(t,e){$e.C(t,e),Rh("preconnect",t,e)}function Xm(t,e,l){$e.L(t,e,l);var a=Ra;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=Ma(t);break;case"script":i=Da(t)}Se.has(i)||(t=T({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(Sn(i))||e==="script"&&a.querySelector(En(i))||(e=a.createElement("link"),Lt(e,"link",t),Ht(e),a.head.appendChild(e)))}}function Zm(t,e){$e.m(t,e);var l=Ra;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=T({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(En(i)))return}a=l.createElement("link"),Lt(a,"link",t),Ht(a),l.head.appendChild(a)}}}function Vm(t,e,l){$e.S(t,e,l);var a=Ra;if(a&&t){var n=Kl(a).hoistableStyles,i=Ma(t);e=e||"default";var f=n.get(i);if(!f){var o={loading:0,preload:null};if(f=a.querySelector(Sn(i)))o.loading=5;else{t=T({rel:"stylesheet",href:t,"data-precedence":e},l),(l=Se.get(i))&&pf(t,l);var d=f=a.createElement("link");Ht(d),Lt(d,"link",t),d._p=new Promise(function(O,x){d.onload=O,d.onerror=x}),d.addEventListener("load",function(){o.loading|=1}),d.addEventListener("error",function(){o.loading|=2}),o.loading|=4,Lu(f,e,a)}f={type:"stylesheet",instance:f,count:1,state:o},n.set(i,f)}}}function Km(t,e){$e.X(t,e);var l=Ra;if(l&&t){var a=Kl(l).hoistableScripts,n=Da(t),i=a.get(n);i||(i=l.querySelector(En(n)),i||(t=T({src:t,async:!0},e),(e=Se.get(n))&&bf(t,e),i=l.createElement("script"),Ht(i),Lt(i,"link",t),l.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},a.set(n,i))}}function Jm(t,e){$e.M(t,e);var l=Ra;if(l&&t){var a=Kl(l).hoistableScripts,n=Da(t),i=a.get(n);i||(i=l.querySelector(En(n)),i||(t=T({src:t,async:!0,type:"module"},e),(e=Se.get(n))&&bf(t,e),i=l.createElement("script"),Ht(i),Lt(i,"link",t),l.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},a.set(n,i))}}function Mh(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=Ma(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=Ma(l.href);var i=Kl(n).hoistableStyles,f=i.get(t);if(f||(n=n.ownerDocument||n,f={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},i.set(t,f),(i=n.querySelector(Sn(t)))&&!i._p&&(f.instance=i,f.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||km(n,t,l,f.state))),e&&a===null)throw Error(s(528,""));return f}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 Ma(t){return'href="'+de(t)+'"'}function Sn(t){return'link[rel="stylesheet"]['+t+"]"}function Dh(t){return T({},t,{"data-precedence":t.precedence,precedence:null})}function km(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}),Lt(e,"link",l),Ht(e),t.head.appendChild(e))}function Da(t){return'[src="'+de(t)+'"]'}function En(t){return"script[async]"+t}function xh(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,Ht(a),a;var n=T({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return a=(t.ownerDocument||t).createElement("style"),Ht(a),Lt(a,"style",n),Lu(a,l.precedence,t),e.instance=a;case"stylesheet":n=Ma(l.href);var i=t.querySelector(Sn(n));if(i)return e.state.loading|=4,e.instance=i,Ht(i),i;a=Dh(l),(n=Se.get(n))&&pf(a,n),i=(t.ownerDocument||t).createElement("link"),Ht(i);var f=i;return f._p=new Promise(function(o,d){f.onload=o,f.onerror=d}),Lt(i,"link",a),e.state.loading|=4,Lu(i,l.precedence,t),e.instance=i;case"script":return i=Da(l.src),(n=t.querySelector(En(i)))?(e.instance=n,Ht(n),n):(a=l,(n=Se.get(i))&&(a=T({},l),bf(a,n)),t=t.ownerDocument||t,n=t.createElement("script"),Ht(n),Lt(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,Lu(a,l.precedence,t));return e.instance}function Lu(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,f=0;f<a.length;f++){var o=a[f];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 Gu=null;function zh(t,e,l){if(Gu===null){var a=new Map,n=Gu=new Map;n.set(l,a)}else n=Gu,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[Na]||i[Zt]||t==="link"&&i.getAttribute("rel")==="stylesheet")&&i.namespaceURI!=="http://www.w3.org/2000/svg"){var f=i.getAttribute(e)||"";f=t+f;var o=a.get(f);o?o.push(i):a.set(f,[i])}}return a}function _h(t,e,l){t=t.ownerDocument||t,t.head.insertBefore(l,e==="title"?t.querySelector("head > title"):null)}function $m(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 Uh(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}var Tn=null;function Fm(){}function Wm(t,e,l){if(Tn===null)throw Error(s(475));var a=Tn;if(e.type==="stylesheet"&&(typeof l.media!="string"||matchMedia(l.media).matches!==!1)&&(e.state.loading&4)===0){if(e.instance===null){var n=Ma(l.href),i=t.querySelector(Sn(n));if(i){t=i._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(a.count++,a=Xu.bind(a),t.then(a,a)),e.state.loading|=4,e.instance=i,Ht(i);return}i=t.ownerDocument||t,l=Dh(l),(n=Se.get(n))&&pf(l,n),i=i.createElement("link"),Ht(i);var f=i;f._p=new Promise(function(o,d){f.onload=o,f.onerror=d}),Lt(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=Xu.bind(a),t.addEventListener("load",e),t.addEventListener("error",e))}}function Pm(){if(Tn===null)throw Error(s(475));var t=Tn;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 Xu(){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 Zu=null;function Sf(t,e){t.stylesheets=null,t.unsuspend!==null&&(t.count++,Zu=new Map,e.forEach(Im,t),Zu=null,Xu.call(t))}function Im(t,e){if(!(e.state.loading&4)){var l=Zu.get(t);if(l)var a=l.get(null);else{l=new Map,Zu.set(t,l);for(var n=t.querySelectorAll("link[data-precedence],style[data-precedence]"),i=0;i<n.length;i++){var f=n[i];(f.nodeName==="LINK"||f.getAttribute("media")!=="not all")&&(l.set(f.dataset.precedence,f),a=f)}a&&l.set(null,a)}n=e.instance,f=n.getAttribute("data-precedence"),i=l.get(f)||a,i===a&&l.set(null,n),l.set(f,n),this.count++,a=Xu.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 An={$$typeof:F,Provider:null,Consumer:null,_currentValue:P,_currentValue2:P,_threadCount:0};function tv(t,e,l,a,n,i,f,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=mi(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=mi(0),this.hiddenUpdates=mi(null),this.identifierPrefix=a,this.onUncaughtError=n,this.onCaughtError=i,this.onRecoverableError=f,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=o,this.incompleteTransitions=new Map}function Ch(t,e,l,a,n,i,f,o,d,O,x,U){return t=new tv(t,e,l,f,o,d,O,U),e=1,i===!0&&(e|=24),i=ue(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 Nh(t){return t?(t=na,t):na}function qh(t,e,l,a,n,i){n=Nh(n),a.context===null?a.context=n:a.pendingContext=n,a=nl(e),a.payload={element:l},i=i===void 0?null:i,i!==null&&(a.callback=i),l=ul(t,a,e),l!==null&&(se(l,t,e),Pa(l,t,e))}function Hh(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){Hh(t,e),(t=t.alternate)&&Hh(t,e)}function jh(t){if(t.tag===13){var e=aa(t,67108864);e!==null&&se(e,t,67108864),Ef(t,67108864)}}var Vu=!0;function ev(t,e,l,a){var n=z.T;z.T=null;var i=w.p;try{w.p=2,Tf(t,e,l,a)}finally{w.p=i,z.T=n}}function lv(t,e,l,a){var n=z.T;z.T=null;var i=w.p;try{w.p=8,Tf(t,e,l,a)}finally{w.p=i,z.T=n}}function Tf(t,e,l,a){if(Vu){var n=Af(a);if(n===null)rf(t,e,a,Ku,l),Qh(t,a);else if(nv(n,t,e,l,a))a.stopPropagation();else if(Qh(t,a),e&4&&-1<av.indexOf(t)){for(;n!==null;){var i=Vl(n);if(i!==null)switch(i.tag){case 3:if(i=i.stateNode,i.current.memoizedState.isDehydrated){var f=Rl(i.pendingLanes);if(f!==0){var o=i;for(o.pendingLanes|=2,o.entangledLanes|=2;f;){var d=1<<31-ae(f);o.entanglements[1]|=d,f&=~d}Ne(i),(st&6)===0&&(zu=xe()+500,vn(0))}}break;case 13:o=aa(i,2),o!==null&&se(o,i,2),Uu(),Ef(i,2)}if(i=Af(a),i===null&&rf(t,e,a,Ku,l),i===n)break;n=i}n!==null&&a.stopPropagation()}else rf(t,e,a,null,l)}}function Af(t){return t=Di(t),Of(t)}var Ku=null;function Of(t){if(Ku=null,t=Zl(t),t!==null){var e=y(t);if(e===null)t=null;else{var l=e.tag;if(l===13){if(t=E(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 Ku=t,null}function Bh(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(Gd()){case Ff:return 2;case Wf:return 8;case Qn:case Xd:return 32;case Pf:return 268435456;default:return 32}default:return 32}}var Rf=!1,pl=null,bl=null,Sl=null,On=new Map,Rn=new Map,El=[],av="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 Qh(t,e){switch(t){case"focusin":case"focusout":pl=null;break;case"dragenter":case"dragleave":bl=null;break;case"mouseover":case"mouseout":Sl=null;break;case"pointerover":case"pointerout":On.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":Rn.delete(e.pointerId)}}function Mn(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=Vl(e),e!==null&&jh(e)),t):(t.eventSystemFlags|=a,e=t.targetContainers,n!==null&&e.indexOf(n)===-1&&e.push(n),t)}function nv(t,e,l,a,n){switch(e){case"focusin":return pl=Mn(pl,t,e,l,a,n),!0;case"dragenter":return bl=Mn(bl,t,e,l,a,n),!0;case"mouseover":return Sl=Mn(Sl,t,e,l,a,n),!0;case"pointerover":var i=n.pointerId;return On.set(i,Mn(On.get(i)||null,t,e,l,a,n)),!0;case"gotpointercapture":return i=n.pointerId,Rn.set(i,Mn(Rn.get(i)||null,t,e,l,a,n)),!0}return!1}function wh(t){var e=Zl(t.target);if(e!==null){var l=y(e);if(l!==null){if(e=l.tag,e===13){if(e=E(l),e!==null){t.blockedOn=e,Wd(t.priority,function(){if(l.tag===13){var a=re();a=vi(a);var n=aa(l,a);n!==null&&se(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 Ju(t){if(t.blockedOn!==null)return!1;for(var e=t.targetContainers;0<e.length;){var l=Af(t.nativeEvent);if(l===null){l=t.nativeEvent;var a=new l.constructor(l.type,l);Mi=a,l.target.dispatchEvent(a),Mi=null}else return e=Vl(l),e!==null&&jh(e),t.blockedOn=l,!1;e.shift()}return!0}function Yh(t,e,l){Ju(t)&&l.delete(e)}function uv(){Rf=!1,pl!==null&&Ju(pl)&&(pl=null),bl!==null&&Ju(bl)&&(bl=null),Sl!==null&&Ju(Sl)&&(Sl=null),On.forEach(Yh),Rn.forEach(Yh)}function ku(t,e){t.blockedOn===e&&(t.blockedOn=null,Rf||(Rf=!0,u.unstable_scheduleCallback(u.unstable_NormalPriority,uv)))}var $u=null;function Lh(t){$u!==t&&($u=t,u.unstable_scheduleCallback(u.unstable_NormalPriority,function(){$u===t&&($u=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(Of(a||l)===null)continue;break}var i=Vl(l);i!==null&&(t.splice(e,3),e-=3,Ac(i,{pending:!0,data:n,method:l.method,action:a},a,n))}}))}function Dn(t){function e(d){return ku(d,t)}pl!==null&&ku(pl,t),bl!==null&&ku(bl,t),Sl!==null&&ku(Sl,t),On.forEach(e),Rn.forEach(e);for(var l=0;l<El.length;l++){var a=El[l];a.blockedOn===t&&(a.blockedOn=null)}for(;0<El.length&&(l=El[0],l.blockedOn===null);)wh(l),l.blockedOn===null&&El.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],f=n[$t]||null;if(typeof i=="function")f||Lh(l);else if(f){var o=null;if(i&&i.hasAttribute("formAction")){if(n=i,f=i[$t]||null)o=f.formAction;else if(Of(n)!==null)continue}else o=f.action;typeof o=="function"?l[a+1]=o:(l.splice(a,3),a-=3),Lh(l)}}}function Mf(t){this._internalRoot=t}Fu.prototype.render=Mf.prototype.render=function(t){var e=this._internalRoot;if(e===null)throw Error(s(409));var l=e.current,a=re();qh(l,a,t,e,null,null)},Fu.prototype.unmount=Mf.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var e=t.containerInfo;qh(t.current,2,null,t,null,null),Uu(),e[Xl]=null}};function Fu(t){this._internalRoot=t}Fu.prototype.unstable_scheduleHydration=function(t){if(t){var e=ar();t={blockedOn:null,target:t,priority:e};for(var l=0;l<El.length&&e!==0&&e<El[l].priority;l++);El.splice(l,0,t),l===0&&wh(t)}};var Gh=c.version;if(Gh!=="19.1.1")throw Error(s(527,Gh,"19.1.1"));w.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=b(e),t=t!==null?m(t):null,t=t===null?null:t.stateNode,t};var iv={bundleType:0,version:"19.1.1",rendererPackageName:"react-dom",currentDispatcherRef:z,reconcilerVersion:"19.1.1"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Wu=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Wu.isDisabled&&Wu.supportsFiber)try{_a=Wu.inject(iv),le=Wu}catch{}}return zn.createRoot=function(t,e){if(!h(t))throw Error(s(299));var l=!1,a="",n=ao,i=no,f=uo,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&&(f=e.onRecoverableError),e.unstable_transitionCallbacks!==void 0&&(o=e.unstable_transitionCallbacks)),e=Ch(t,1,!1,null,null,l,a,n,i,f,o,null),t[Xl]=e.current,ff(t),new Mf(e)},zn.hydrateRoot=function(t,e,l){if(!h(t))throw Error(s(299));var a=!1,n="",i=ao,f=no,o=uo,d=null,O=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&&(f=l.onCaughtError),l.onRecoverableError!==void 0&&(o=l.onRecoverableError),l.unstable_transitionCallbacks!==void 0&&(d=l.unstable_transitionCallbacks),l.formState!==void 0&&(O=l.formState)),e=Ch(t,1,!0,e,l??null,a,n,i,f,o,d,O),e.context=Nh(null),l=e.current,a=re(),a=vi(a),n=nl(a),n.callback=null,ul(l,n,a),l=a,e.current.lanes=l,Ca(e,l),Ne(e),t[Xl]=e.current,ff(t),new Fu(e)},zn.version="19.1.1",zn}var nd;function wv(){if(nd)return zf.exports;nd=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(),zf.exports=Qv(),zf.exports}var Yv=wv();/**
|
|
51
|
+
* react-router v7.8.2
|
|
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 ud="popstate";function Lv(u={}){function c(s,h){let{pathname:y,search:E,hash:p}=s.location;return Bf("",{pathname:y,search:E,hash:p},h.state&&h.state.usr||null,h.state&&h.state.key||"default")}function r(s,h){return typeof h=="string"?h:Nn(h)}return Xv(c,r,null,u)}function _t(u,c){if(u===!1||u===null||typeof u>"u")throw new Error(c)}function Me(u,c){if(!u){typeof console<"u"&&console.warn(c);try{throw new Error(c)}catch{}}}function Gv(){return Math.random().toString(36).substring(2,10)}function id(u,c){return{usr:u.state,key:u.key,idx:c}}function Bf(u,c,r=null,s){return{pathname:typeof u=="string"?u:u.pathname,search:"",hash:"",...typeof c=="string"?qn(c):c,state:r,key:c&&c.key||s||Gv()}}function Nn({pathname:u="/",search:c="",hash:r=""}){return c&&c!=="?"&&(u+=c.charAt(0)==="?"?c:"?"+c),r&&r!=="#"&&(u+=r.charAt(0)==="#"?r:"#"+r),u}function qn(u){let c={};if(u){let r=u.indexOf("#");r>=0&&(c.hash=u.substring(r),u=u.substring(0,r));let s=u.indexOf("?");s>=0&&(c.search=u.substring(s),u=u.substring(0,s)),u&&(c.pathname=u)}return c}function Xv(u,c,r,s={}){let{window:h=document.defaultView,v5Compat:y=!1}=s,E=h.history,p="POP",b=null,m=T();m==null&&(m=0,E.replaceState({...E.state,idx:m},""));function T(){return(E.state||{idx:null}).idx}function C(){p="POP";let j=T(),V=j==null?null:j-m;m=j,b&&b({action:p,location:B.location,delta:V})}function q(j,V){p="PUSH";let G=Bf(B.location,j,V);m=T()+1;let F=id(G,m),ht=B.createHref(G);try{E.pushState(F,"",ht)}catch(W){if(W instanceof DOMException&&W.name==="DataCloneError")throw W;h.location.assign(ht)}y&&b&&b({action:p,location:B.location,delta:1})}function Z(j,V){p="REPLACE";let G=Bf(B.location,j,V);m=T();let F=id(G,m),ht=B.createHref(G);E.replaceState(F,"",ht),y&&b&&b({action:p,location:B.location,delta:0})}function H(j){return Zv(j)}let B={get action(){return p},get location(){return u(h,E)},listen(j){if(b)throw new Error("A history only accepts one active listener");return h.addEventListener(ud,C),b=j,()=>{h.removeEventListener(ud,C),b=null}},createHref(j){return c(h,j)},createURL:H,encodeLocation(j){let V=H(j);return{pathname:V.pathname,search:V.search,hash:V.hash}},push:q,replace:Z,go(j){return E.go(j)}};return B}function Zv(u,c=!1){let r="http://localhost";typeof window<"u"&&(r=window.location.origin!=="null"?window.location.origin:window.location.href),_t(r,"No window.location.(origin|href) available to create URL");let s=typeof u=="string"?u:Nn(u);return s=s.replace(/ $/,"%20"),!c&&s.startsWith("//")&&(s=r+s),new URL(s,r)}function Td(u,c,r="/"){return Vv(u,c,r,!1)}function Vv(u,c,r,s){let h=typeof c=="string"?qn(c):c,y=We(h.pathname||"/",r);if(y==null)return null;let E=Ad(u);Kv(E);let p=null;for(let b=0;p==null&&b<E.length;++b){let m=a0(y);p=e0(E[b],m,s)}return p}function Ad(u,c=[],r=[],s="",h=!1){let y=(E,p,b=h,m)=>{let T={relativePath:m===void 0?E.path||"":m,caseSensitive:E.caseSensitive===!0,childrenIndex:p,route:E};if(T.relativePath.startsWith("/")){if(!T.relativePath.startsWith(s)&&b)return;_t(T.relativePath.startsWith(s),`Absolute route path "${T.relativePath}" nested under path "${s}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),T.relativePath=T.relativePath.slice(s.length)}let C=Fe([s,T.relativePath]),q=r.concat(T);E.children&&E.children.length>0&&(_t(E.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${C}".`),Ad(E.children,c,q,C,b)),!(E.path==null&&!E.index)&&c.push({path:C,score:Iv(C,E.index),routesMeta:q})};return u.forEach((E,p)=>{if(E.path===""||!E.path?.includes("?"))y(E,p);else for(let b of Od(E.path))y(E,p,!0,b)}),c}function Od(u){let c=u.split("/");if(c.length===0)return[];let[r,...s]=c,h=r.endsWith("?"),y=r.replace(/\?$/,"");if(s.length===0)return h?[y,""]:[y];let E=Od(s.join("/")),p=[];return p.push(...E.map(b=>b===""?y:[y,b].join("/"))),h&&p.push(...E),p.map(b=>u.startsWith("/")&&b===""?"/":b)}function Kv(u){u.sort((c,r)=>c.score!==r.score?r.score-c.score:t0(c.routesMeta.map(s=>s.childrenIndex),r.routesMeta.map(s=>s.childrenIndex)))}var Jv=/^:[\w-]+$/,kv=3,$v=2,Fv=1,Wv=10,Pv=-2,cd=u=>u==="*";function Iv(u,c){let r=u.split("/"),s=r.length;return r.some(cd)&&(s+=Pv),c&&(s+=$v),r.filter(h=>!cd(h)).reduce((h,y)=>h+(Jv.test(y)?kv:y===""?Fv:Wv),s)}function t0(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 e0(u,c,r=!1){let{routesMeta:s}=u,h={},y="/",E=[];for(let p=0;p<s.length;++p){let b=s[p],m=p===s.length-1,T=y==="/"?c:c.slice(y.length)||"/",C=ai({path:b.relativePath,caseSensitive:b.caseSensitive,end:m},T),q=b.route;if(!C&&m&&r&&!s[s.length-1].route.index&&(C=ai({path:b.relativePath,caseSensitive:b.caseSensitive,end:!1},T)),!C)return null;Object.assign(h,C.params),E.push({params:h,pathname:Fe([y,C.pathname]),pathnameBase:c0(Fe([y,C.pathnameBase])),route:q}),C.pathnameBase!=="/"&&(y=Fe([y,C.pathnameBase]))}return E}function ai(u,c){typeof u=="string"&&(u={path:u,caseSensitive:!1,end:!0});let[r,s]=l0(u.path,u.caseSensitive,u.end),h=c.match(r);if(!h)return null;let y=h[0],E=y.replace(/(.)\/+$/,"$1"),p=h.slice(1);return{params:s.reduce((m,{paramName:T,isOptional:C},q)=>{if(T==="*"){let H=p[q]||"";E=y.slice(0,y.length-H.length).replace(/(.)\/+$/,"$1")}const Z=p[q];return C&&!Z?m[T]=void 0:m[T]=(Z||"").replace(/%2F/g,"/"),m},{}),pathname:y,pathnameBase:E,pattern:u}}function l0(u,c=!1,r=!0){Me(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,(E,p,b)=>(s.push({paramName:p,isOptional:b!=null}),b?"/?([^\\/]+)?":"/([^\\/]+)")).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return u.endsWith("*")?(s.push({paramName:"*"}),h+=u==="*"||u==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?h+="\\/*$":u!==""&&u!=="/"&&(h+="(?:(?=\\/|$))"),[new RegExp(h,c?void 0:"i"),s]}function a0(u){try{return u.split("/").map(c=>decodeURIComponent(c).replace(/\//g,"%2F")).join("/")}catch(c){return Me(!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 We(u,c){if(c==="/")return u;if(!u.toLowerCase().startsWith(c.toLowerCase()))return null;let r=c.endsWith("/")?c.length-1:c.length,s=u.charAt(r);return s&&s!=="/"?null:u.slice(r)||"/"}function n0(u,c="/"){let{pathname:r,search:s="",hash:h=""}=typeof u=="string"?qn(u):u;return{pathname:r?r.startsWith("/")?r:u0(r,c):c,search:f0(s),hash:r0(h)}}function u0(u,c){let r=c.replace(/\/+$/,"").split("/");return u.split("/").forEach(h=>{h===".."?r.length>1&&r.pop():h!=="."&&r.push(h)}),r.length>1?r.join("/"):"/"}function Nf(u,c,r,s){return`Cannot include a '${u}' character in a manually specified \`to.${c}\` field [${JSON.stringify(s)}]. Please separate it out to the \`to.${r}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function i0(u){return u.filter((c,r)=>r===0||c.route.path&&c.route.path.length>0)}function Lf(u){let c=i0(u);return c.map((r,s)=>s===c.length-1?r.pathname:r.pathnameBase)}function Gf(u,c,r,s=!1){let h;typeof u=="string"?h=qn(u):(h={...u},_t(!h.pathname||!h.pathname.includes("?"),Nf("?","pathname","search",h)),_t(!h.pathname||!h.pathname.includes("#"),Nf("#","pathname","hash",h)),_t(!h.search||!h.search.includes("#"),Nf("#","search","hash",h)));let y=u===""||h.pathname==="",E=y?"/":h.pathname,p;if(E==null)p=r;else{let C=c.length-1;if(!s&&E.startsWith("..")){let q=E.split("/");for(;q[0]==="..";)q.shift(),C-=1;h.pathname=q.join("/")}p=C>=0?c[C]:"/"}let b=n0(h,p),m=E&&E!=="/"&&E.endsWith("/"),T=(y||E===".")&&r.endsWith("/");return!b.pathname.endsWith("/")&&(m||T)&&(b.pathname+="/"),b}var Fe=u=>u.join("/").replace(/\/\/+/g,"/"),c0=u=>u.replace(/\/+$/,"").replace(/^\/*/,"/"),f0=u=>!u||u==="?"?"":u.startsWith("?")?u:"?"+u,r0=u=>!u||u==="#"?"":u.startsWith("#")?u:"#"+u;function s0(u){return u!=null&&typeof u.status=="number"&&typeof u.statusText=="string"&&typeof u.internal=="boolean"&&"data"in u}var Rd=["POST","PUT","PATCH","DELETE"];new Set(Rd);var o0=["GET",...Rd];new Set(o0);var xa=D.createContext(null);xa.displayName="DataRouter";var ii=D.createContext(null);ii.displayName="DataRouterState";D.createContext(!1);var Md=D.createContext({isTransitioning:!1});Md.displayName="ViewTransition";var h0=D.createContext(new Map);h0.displayName="Fetchers";var d0=D.createContext(null);d0.displayName="Await";var De=D.createContext(null);De.displayName="Navigation";var ci=D.createContext(null);ci.displayName="Location";var Ee=D.createContext({outlet:null,matches:[],isDataRoute:!1});Ee.displayName="Route";var Xf=D.createContext(null);Xf.displayName="RouteError";function y0(u,{relative:c}={}){_t(za(),"useHref() may be used only in the context of a <Router> component.");let{basename:r,navigator:s}=D.useContext(De),{hash:h,pathname:y,search:E}=Hn(u,{relative:c}),p=y;return r!=="/"&&(p=y==="/"?r:Fe([r,y])),s.createHref({pathname:p,search:E,hash:h})}function za(){return D.useContext(ci)!=null}function qe(){return _t(za(),"useLocation() may be used only in the context of a <Router> component."),D.useContext(ci).location}var Dd="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function xd(u){D.useContext(De).static||D.useLayoutEffect(u)}function zd(){let{isDataRoute:u}=D.useContext(Ee);return u?z0():m0()}function m0(){_t(za(),"useNavigate() may be used only in the context of a <Router> component.");let u=D.useContext(xa),{basename:c,navigator:r}=D.useContext(De),{matches:s}=D.useContext(Ee),{pathname:h}=qe(),y=JSON.stringify(Lf(s)),E=D.useRef(!1);return xd(()=>{E.current=!0}),D.useCallback((b,m={})=>{if(Me(E.current,Dd),!E.current)return;if(typeof b=="number"){r.go(b);return}let T=Gf(b,JSON.parse(y),h,m.relative==="path");u==null&&c!=="/"&&(T.pathname=T.pathname==="/"?c:Fe([c,T.pathname])),(m.replace?r.replace:r.push)(T,m.state,m)},[c,r,y,h,u])}var v0=D.createContext(null);function g0(u){let c=D.useContext(Ee).outlet;return c&&D.createElement(v0.Provider,{value:u},c)}function $g(){let{matches:u}=D.useContext(Ee),c=u[u.length-1];return c?c.params:{}}function Hn(u,{relative:c}={}){let{matches:r}=D.useContext(Ee),{pathname:s}=qe(),h=JSON.stringify(Lf(r));return D.useMemo(()=>Gf(u,JSON.parse(h),s,c==="path"),[u,h,s,c])}function p0(u,c){return _d(u)}function _d(u,c,r,s,h){_t(za(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:y}=D.useContext(De),{matches:E}=D.useContext(Ee),p=E[E.length-1],b=p?p.params:{},m=p?p.pathname:"/",T=p?p.pathnameBase:"/",C=p&&p.route;{let G=C&&C.path||"";Ud(m,!C||G.endsWith("*")||G.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${m}" (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=qe(),Z;Z=q;let H=Z.pathname||"/",B=H;if(T!=="/"){let G=T.replace(/^\//,"").split("/");B="/"+H.replace(/^\//,"").split("/").slice(G.length).join("/")}let j=Td(u,{pathname:B});return Me(C||j!=null,`No routes matched location "${Z.pathname}${Z.search}${Z.hash}" `),Me(j==null||j[j.length-1].route.element!==void 0||j[j.length-1].route.Component!==void 0||j[j.length-1].route.lazy!==void 0,`Matched leaf route at location "${Z.pathname}${Z.search}${Z.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.`),A0(j&&j.map(G=>Object.assign({},G,{params:Object.assign({},b,G.params),pathname:Fe([T,y.encodeLocation?y.encodeLocation(G.pathname).pathname:G.pathname]),pathnameBase:G.pathnameBase==="/"?T:Fe([T,y.encodeLocation?y.encodeLocation(G.pathnameBase).pathname:G.pathnameBase])})),E,r,s,h)}function b0(){let u=x0(),c=s0(u)?`${u.status} ${u.statusText}`:u instanceof Error?u.message:JSON.stringify(u),r=u instanceof Error?u.stack:null,s="rgba(200,200,200, 0.5)",h={padding:"0.5rem",backgroundColor:s},y={padding:"2px 4px",backgroundColor:s},E=null;return console.error("Error handled by React Router default ErrorBoundary:",u),E=D.createElement(D.Fragment,null,D.createElement("p",null,"💿 Hey developer 👋"),D.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",D.createElement("code",{style:y},"ErrorBoundary")," or"," ",D.createElement("code",{style:y},"errorElement")," prop on your route.")),D.createElement(D.Fragment,null,D.createElement("h2",null,"Unexpected Application Error!"),D.createElement("h3",{style:{fontStyle:"italic"}},c),r?D.createElement("pre",{style:h},r):null,E)}var S0=D.createElement(b0,null),E0=class extends D.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.unstable_onError?this.props.unstable_onError(u,c):console.error("React Router caught the following error during render",u)}render(){return this.state.error!==void 0?D.createElement(Ee.Provider,{value:this.props.routeContext},D.createElement(Xf.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function T0({routeContext:u,match:c,children:r}){let s=D.useContext(xa);return s&&s.static&&s.staticContext&&(c.route.errorElement||c.route.ErrorBoundary)&&(s.staticContext._deepestRenderedBoundaryId=c.route.id),D.createElement(Ee.Provider,{value:u},r)}function A0(u,c=[],r=null,s=null,h=null){if(u==null){if(!r)return null;if(r.errors)u=r.matches;else if(c.length===0&&!r.initialized&&r.matches.length>0)u=r.matches;else return null}let y=u,E=r?.errors;if(E!=null){let m=y.findIndex(T=>T.route.id&&E?.[T.route.id]!==void 0);_t(m>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(E).join(",")}`),y=y.slice(0,Math.min(y.length,m+1))}let p=!1,b=-1;if(r)for(let m=0;m<y.length;m++){let T=y[m];if((T.route.HydrateFallback||T.route.hydrateFallbackElement)&&(b=m),T.route.id){let{loaderData:C,errors:q}=r,Z=T.route.loader&&!C.hasOwnProperty(T.route.id)&&(!q||q[T.route.id]===void 0);if(T.route.lazy||Z){p=!0,b>=0?y=y.slice(0,b+1):y=[y[0]];break}}}return y.reduceRight((m,T,C)=>{let q,Z=!1,H=null,B=null;r&&(q=E&&T.route.id?E[T.route.id]:void 0,H=T.route.errorElement||S0,p&&(b<0&&C===0?(Ud("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),Z=!0,B=null):b===C&&(Z=!0,B=T.route.hydrateFallbackElement||null)));let j=c.concat(y.slice(0,C+1)),V=()=>{let G;return q?G=H:Z?G=B:T.route.Component?G=D.createElement(T.route.Component,null):T.route.element?G=T.route.element:G=m,D.createElement(T0,{match:T,routeContext:{outlet:m,matches:j,isDataRoute:r!=null},children:G})};return r&&(T.route.ErrorBoundary||T.route.errorElement||C===0)?D.createElement(E0,{location:r.location,revalidation:r.revalidation,component:H,error:q,children:V(),routeContext:{outlet:null,matches:j,isDataRoute:!0},unstable_onError:s}):V()},null)}function Zf(u){return`${u} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function O0(u){let c=D.useContext(xa);return _t(c,Zf(u)),c}function R0(u){let c=D.useContext(ii);return _t(c,Zf(u)),c}function M0(u){let c=D.useContext(Ee);return _t(c,Zf(u)),c}function Vf(u){let c=M0(u),r=c.matches[c.matches.length-1];return _t(r.route.id,`${u} can only be used on routes that contain a unique "id"`),r.route.id}function D0(){return Vf("useRouteId")}function x0(){let u=D.useContext(Xf),c=R0("useRouteError"),r=Vf("useRouteError");return u!==void 0?u:c.errors?.[r]}function z0(){let{router:u}=O0("useNavigate"),c=Vf("useNavigate"),r=D.useRef(!1);return xd(()=>{r.current=!0}),D.useCallback(async(h,y={})=>{Me(r.current,Dd),r.current&&(typeof h=="number"?u.navigate(h):await u.navigate(h,{fromRouteId:c,...y}))},[u,c])}var fd={};function Ud(u,c,r){!c&&!fd[u]&&(fd[u]=!0,Me(!1,r))}D.memo(_0);function _0({routes:u,future:c,state:r,unstable_onError:s}){return _d(u,void 0,r,s,c)}function rd({to:u,replace:c,state:r,relative:s}){_t(za(),"<Navigate> may be used only in the context of a <Router> component.");let{static:h}=D.useContext(De);Me(!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:y}=D.useContext(Ee),{pathname:E}=qe(),p=zd(),b=Gf(u,Lf(y),E,s==="path"),m=JSON.stringify(b);return D.useEffect(()=>{p(JSON.parse(m),{replace:c,state:r,relative:s})},[p,m,s,c,r]),null}function U0(u){return g0(u.context)}function C0({basename:u="/",children:c=null,location:r,navigationType:s="POP",navigator:h,static:y=!1}){_t(!za(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let E=u.replace(/^\/*/,"/"),p=D.useMemo(()=>({basename:E,navigator:h,static:y,future:{}}),[E,h,y]);typeof r=="string"&&(r=qn(r));let{pathname:b="/",search:m="",hash:T="",state:C=null,key:q="default"}=r,Z=D.useMemo(()=>{let H=We(b,E);return H==null?null:{location:{pathname:H,search:m,hash:T,state:C,key:q},navigationType:s}},[E,b,m,T,C,q,s]);return Me(Z!=null,`<Router basename="${E}"> is not able to match the URL "${b}${m}${T}" because it does not start with the basename, so the <Router> won't render anything.`),Z==null?null:D.createElement(De.Provider,{value:p},D.createElement(ci.Provider,{children:c,value:Z}))}var ti="get",ei="application/x-www-form-urlencoded";function fi(u){return u!=null&&typeof u.tagName=="string"}function N0(u){return fi(u)&&u.tagName.toLowerCase()==="button"}function q0(u){return fi(u)&&u.tagName.toLowerCase()==="form"}function H0(u){return fi(u)&&u.tagName.toLowerCase()==="input"}function j0(u){return!!(u.metaKey||u.altKey||u.ctrlKey||u.shiftKey)}function B0(u,c){return u.button===0&&(!c||c==="_self")&&!j0(u)}var Iu=null;function Q0(){if(Iu===null)try{new FormData(document.createElement("form"),0),Iu=!1}catch{Iu=!0}return Iu}var w0=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function qf(u){return u!=null&&!w0.has(u)?(Me(!1,`"${u}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${ei}"`),null):u}function Y0(u,c){let r,s,h,y,E;if(q0(u)){let p=u.getAttribute("action");s=p?We(p,c):null,r=u.getAttribute("method")||ti,h=qf(u.getAttribute("enctype"))||ei,y=new FormData(u)}else if(N0(u)||H0(u)&&(u.type==="submit"||u.type==="image")){let p=u.form;if(p==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let b=u.getAttribute("formaction")||p.getAttribute("action");if(s=b?We(b,c):null,r=u.getAttribute("formmethod")||p.getAttribute("method")||ti,h=qf(u.getAttribute("formenctype"))||qf(p.getAttribute("enctype"))||ei,y=new FormData(p,u),!Q0()){let{name:m,type:T,value:C}=u;if(T==="image"){let q=m?`${m}.`:"";y.append(`${q}x`,"0"),y.append(`${q}y`,"0")}else m&&y.append(m,C)}}else{if(fi(u))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');r=ti,s=null,h=ei,E=u}return y&&h==="text/plain"&&(E=y,y=void 0),{action:s,method:r.toLowerCase(),encType:h,formData:y,body:E}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function Kf(u,c){if(u===!1||u===null||typeof u>"u")throw new Error(c)}function L0(u,c,r){let s=typeof u=="string"?new URL(u,typeof window>"u"?"server://singlefetch/":window.location.origin):u;return s.pathname==="/"?s.pathname=`_root.${r}`:c&&We(s.pathname,c)==="/"?s.pathname=`${c.replace(/\/$/,"")}/_root.${r}`:s.pathname=`${s.pathname.replace(/\/$/,"")}.${r}`,s}async function G0(u,c){if(u.id in c)return c[u.id];try{let r=await import(u.module);return c[u.id]=r,r}catch(r){return console.error(`Error loading route module \`${u.module}\`, reloading page...`),console.error(r),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function X0(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 Z0(u,c,r){let s=await Promise.all(u.map(async h=>{let y=c.routes[h.route.id];if(y){let E=await G0(y,r);return E.links?E.links():[]}return[]}));return k0(s.flat(1).filter(X0).filter(h=>h.rel==="stylesheet"||h.rel==="preload").map(h=>h.rel==="stylesheet"?{...h,rel:"prefetch",as:"style"}:{...h,rel:"prefetch"}))}function sd(u,c,r,s,h,y){let E=(b,m)=>r[m]?b.route.id!==r[m].route.id:!0,p=(b,m)=>r[m].pathname!==b.pathname||r[m].route.path?.endsWith("*")&&r[m].params["*"]!==b.params["*"];return y==="assets"?c.filter((b,m)=>E(b,m)||p(b,m)):y==="data"?c.filter((b,m)=>{let T=s.routes[b.route.id];if(!T||!T.hasLoader)return!1;if(E(b,m)||p(b,m))return!0;if(b.route.shouldRevalidate){let C=b.route.shouldRevalidate({currentUrl:new URL(h.pathname+h.search+h.hash,window.origin),currentParams:r[0]?.params||{},nextUrl:new URL(u,window.origin),nextParams:b.params,defaultShouldRevalidate:!0});if(typeof C=="boolean")return C}return!0}):[]}function V0(u,c,{includeHydrateFallback:r}={}){return K0(u.map(s=>{let h=c.routes[s.route.id];if(!h)return[];let y=[h.module];return h.clientActionModule&&(y=y.concat(h.clientActionModule)),h.clientLoaderModule&&(y=y.concat(h.clientLoaderModule)),r&&h.hydrateFallbackModule&&(y=y.concat(h.hydrateFallbackModule)),h.imports&&(y=y.concat(h.imports)),y}).flat(1))}function K0(u){return[...new Set(u)]}function J0(u){let c={},r=Object.keys(u).sort();for(let s of r)c[s]=u[s];return c}function k0(u,c){let r=new Set;return new Set(c),u.reduce((s,h)=>{let y=JSON.stringify(J0(h));return r.has(y)||(r.add(y),s.push({key:y,link:h})),s},[])}function Cd(){let u=D.useContext(xa);return Kf(u,"You must render this element inside a <DataRouterContext.Provider> element"),u}function $0(){let u=D.useContext(ii);return Kf(u,"You must render this element inside a <DataRouterStateContext.Provider> element"),u}var Jf=D.createContext(void 0);Jf.displayName="FrameworkContext";function Nd(){let u=D.useContext(Jf);return Kf(u,"You must render this element inside a <HydratedRouter> element"),u}function F0(u,c){let r=D.useContext(Jf),[s,h]=D.useState(!1),[y,E]=D.useState(!1),{onFocus:p,onBlur:b,onMouseEnter:m,onMouseLeave:T,onTouchStart:C}=c,q=D.useRef(null);D.useEffect(()=>{if(u==="render"&&E(!0),u==="viewport"){let B=V=>{V.forEach(G=>{E(G.isIntersecting)})},j=new IntersectionObserver(B,{threshold:.5});return q.current&&j.observe(q.current),()=>{j.disconnect()}}},[u]),D.useEffect(()=>{if(s){let B=setTimeout(()=>{E(!0)},100);return()=>{clearTimeout(B)}}},[s]);let Z=()=>{h(!0)},H=()=>{h(!1),E(!1)};return r?u!=="intent"?[y,q,{}]:[y,q,{onFocus:_n(p,Z),onBlur:_n(b,H),onMouseEnter:_n(m,Z),onMouseLeave:_n(T,H),onTouchStart:_n(C,Z)}]:[!1,q,{}]}function _n(u,c){return r=>{u&&u(r),r.defaultPrevented||c(r)}}function W0({page:u,...c}){let{router:r}=Cd(),s=D.useMemo(()=>Td(r.routes,u,r.basename),[r.routes,u,r.basename]);return s?D.createElement(I0,{page:u,matches:s,...c}):null}function P0(u){let{manifest:c,routeModules:r}=Nd(),[s,h]=D.useState([]);return D.useEffect(()=>{let y=!1;return Z0(u,c,r).then(E=>{y||h(E)}),()=>{y=!0}},[u,c,r]),s}function I0({page:u,matches:c,...r}){let s=qe(),{manifest:h,routeModules:y}=Nd(),{basename:E}=Cd(),{loaderData:p,matches:b}=$0(),m=D.useMemo(()=>sd(u,c,b,h,s,"data"),[u,c,b,h,s]),T=D.useMemo(()=>sd(u,c,b,h,s,"assets"),[u,c,b,h,s]),C=D.useMemo(()=>{if(u===s.pathname+s.search+s.hash)return[];let H=new Set,B=!1;if(c.forEach(V=>{let G=h.routes[V.route.id];!G||!G.hasLoader||(!m.some(F=>F.route.id===V.route.id)&&V.route.id in p&&y[V.route.id]?.shouldRevalidate||G.hasClientLoader?B=!0:H.add(V.route.id))}),H.size===0)return[];let j=L0(u,E,"data");return B&&H.size>0&&j.searchParams.set("_routes",c.filter(V=>H.has(V.route.id)).map(V=>V.route.id).join(",")),[j.pathname+j.search]},[E,p,s,h,m,c,u,y]),q=D.useMemo(()=>V0(T,h),[T,h]),Z=P0(T);return D.createElement(D.Fragment,null,C.map(H=>D.createElement("link",{key:H,rel:"prefetch",as:"fetch",href:H,...r})),q.map(H=>D.createElement("link",{key:H,rel:"modulepreload",href:H,...r})),Z.map(({key:H,link:B})=>D.createElement("link",{key:H,nonce:r.nonce,...B})))}function tg(...u){return c=>{u.forEach(r=>{typeof r=="function"?r(c):r!=null&&(r.current=c)})}}var qd=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{qd&&(window.__reactRouterVersion="7.8.2")}catch{}function eg({basename:u,children:c,window:r}){let s=D.useRef();s.current==null&&(s.current=Lv({window:r,v5Compat:!0}));let h=s.current,[y,E]=D.useState({action:h.action,location:h.location}),p=D.useCallback(b=>{D.startTransition(()=>E(b))},[E]);return D.useLayoutEffect(()=>h.listen(p),[h,p]),D.createElement(C0,{basename:u,children:c,location:y.location,navigationType:y.action,navigator:h})}var Hd=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,ri=D.forwardRef(function({onClick:c,discover:r="render",prefetch:s="none",relative:h,reloadDocument:y,replace:E,state:p,target:b,to:m,preventScrollReset:T,viewTransition:C,...q},Z){let{basename:H}=D.useContext(De),B=typeof m=="string"&&Hd.test(m),j,V=!1;if(typeof m=="string"&&B&&(j=m,qd))try{let Tt=new URL(window.location.href),te=m.startsWith("//")?new URL(Tt.protocol+m):new URL(m),oe=We(te.pathname,H);te.origin===Tt.origin&&oe!=null?m=oe+te.search+te.hash:V=!0}catch{Me(!1,`<Link to="${m}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}let G=y0(m,{relative:h}),[F,ht,W]=F0(s,q),Rt=ug(m,{replace:E,state:p,target:b,preventScrollReset:T,relative:h,viewTransition:C});function Ut(Tt){c&&c(Tt),Tt.defaultPrevented||Rt(Tt)}let qt=D.createElement("a",{...q,...W,href:j||G,onClick:V||y?c:Ut,ref:tg(Z,ht),target:b,"data-discover":!B&&r==="render"?"true":void 0});return F&&!B?D.createElement(D.Fragment,null,qt,D.createElement(W0,{page:G})):qt});ri.displayName="Link";var lg=D.forwardRef(function({"aria-current":c="page",caseSensitive:r=!1,className:s="",end:h=!1,style:y,to:E,viewTransition:p,children:b,...m},T){let C=Hn(E,{relative:m.relative}),q=qe(),Z=D.useContext(ii),{navigator:H,basename:B}=D.useContext(De),j=Z!=null&&sg(C)&&p===!0,V=H.encodeLocation?H.encodeLocation(C).pathname:C.pathname,G=q.pathname,F=Z&&Z.navigation&&Z.navigation.location?Z.navigation.location.pathname:null;r||(G=G.toLowerCase(),F=F?F.toLowerCase():null,V=V.toLowerCase()),F&&B&&(F=We(F,B)||F);const ht=V!=="/"&&V.endsWith("/")?V.length-1:V.length;let W=G===V||!h&&G.startsWith(V)&&G.charAt(ht)==="/",Rt=F!=null&&(F===V||!h&&F.startsWith(V)&&F.charAt(V.length)==="/"),Ut={isActive:W,isPending:Rt,isTransitioning:j},qt=W?c:void 0,Tt;typeof s=="function"?Tt=s(Ut):Tt=[s,W?"active":null,Rt?"pending":null,j?"transitioning":null].filter(Boolean).join(" ");let te=typeof y=="function"?y(Ut):y;return D.createElement(ri,{...m,"aria-current":qt,className:Tt,ref:T,style:te,to:E,viewTransition:p},typeof b=="function"?b(Ut):b)});lg.displayName="NavLink";var ag=D.forwardRef(({discover:u="render",fetcherKey:c,navigate:r,reloadDocument:s,replace:h,state:y,method:E=ti,action:p,onSubmit:b,relative:m,preventScrollReset:T,viewTransition:C,...q},Z)=>{let H=fg(),B=rg(p,{relative:m}),j=E.toLowerCase()==="get"?"get":"post",V=typeof p=="string"&&Hd.test(p),G=F=>{if(b&&b(F),F.defaultPrevented)return;F.preventDefault();let ht=F.nativeEvent.submitter,W=ht?.getAttribute("formmethod")||E;H(ht||F.currentTarget,{fetcherKey:c,method:W,navigate:r,replace:h,state:y,relative:m,preventScrollReset:T,viewTransition:C})};return D.createElement("form",{ref:Z,method:j,action:B,onSubmit:s?b:G,...q,"data-discover":!V&&u==="render"?"true":void 0})});ag.displayName="Form";function ng(u){return`${u} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function jd(u){let c=D.useContext(xa);return _t(c,ng(u)),c}function ug(u,{target:c,replace:r,state:s,preventScrollReset:h,relative:y,viewTransition:E}={}){let p=zd(),b=qe(),m=Hn(u,{relative:y});return D.useCallback(T=>{if(B0(T,c)){T.preventDefault();let C=r!==void 0?r:Nn(b)===Nn(m);p(u,{replace:C,state:s,preventScrollReset:h,relative:y,viewTransition:E})}},[b,p,m,r,s,c,u,h,y,E])}var ig=0,cg=()=>`__${String(++ig)}__`;function fg(){let{router:u}=jd("useSubmit"),{basename:c}=D.useContext(De),r=D0();return D.useCallback(async(s,h={})=>{let{action:y,method:E,encType:p,formData:b,body:m}=Y0(s,c);if(h.navigate===!1){let T=h.fetcherKey||cg();await u.fetch(T,r,h.action||y,{preventScrollReset:h.preventScrollReset,formData:b,body:m,formMethod:h.method||E,formEncType:h.encType||p,flushSync:h.flushSync})}else await u.navigate(h.action||y,{preventScrollReset:h.preventScrollReset,formData:b,body:m,formMethod:h.method||E,formEncType:h.encType||p,replace:h.replace,state:h.state,fromRouteId:r,flushSync:h.flushSync,viewTransition:h.viewTransition})},[u,c,r])}function rg(u,{relative:c}={}){let{basename:r}=D.useContext(De),s=D.useContext(Ee);_t(s,"useFormAction must be used inside a RouteContext");let[h]=s.matches.slice(-1),y={...Hn(u||".",{relative:c})},E=qe();if(u==null){y.search=E.search;let p=new URLSearchParams(y.search),b=p.getAll("index");if(b.some(T=>T==="")){p.delete("index"),b.filter(C=>C).forEach(C=>p.append("index",C));let T=p.toString();y.search=T?`?${T}`:""}}return(!u||u===".")&&h.route.index&&(y.search=y.search?y.search.replace(/^\?/,"?index&"):"?index"),r!=="/"&&(y.pathname=y.pathname==="/"?r:Fe([r,y.pathname])),Nn(y)}function sg(u,{relative:c}={}){let r=D.useContext(Md);_t(r!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:s}=jd("useViewTransitionState"),h=Hn(u,{relative:c});if(!r.isTransitioning)return!1;let y=We(r.currentLocation.pathname,s)||r.currentLocation.pathname,E=We(r.nextLocation.pathname,s)||r.nextLocation.pathname;return ai(h.pathname,E)!=null||ai(h.pathname,y)!=null}var og=Ed();const hg="modulepreload",dg=function(u,c){return new URL(u,c).href},od={},si=function(c,r,s){let h=Promise.resolve();if(r&&r.length>0){let m=function(T){return Promise.all(T.map(C=>Promise.resolve(C).then(q=>({status:"fulfilled",value:q}),q=>({status:"rejected",reason:q}))))};const E=document.getElementsByTagName("link"),p=document.querySelector("meta[property=csp-nonce]"),b=p?.nonce||p?.getAttribute("nonce");h=m(r.map(T=>{if(T=dg(T,s),T in od)return;od[T]=!0;const C=T.endsWith(".css"),q=C?'[rel="stylesheet"]':"";if(!!s)for(let B=E.length-1;B>=0;B--){const j=E[B];if(j.href===T&&(!C||j.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${T}"]${q}`))return;const H=document.createElement("link");if(H.rel=C?"stylesheet":hg,C||(H.as="script"),H.crossOrigin="",H.href=T,b&&H.setAttribute("nonce",b),document.head.appendChild(H),C)return new Promise((B,j)=>{H.addEventListener("load",B),H.addEventListener("error",()=>j(new Error(`Unable to preload CSS for ${T}`)))})}))}function y(E){const p=new Event("vite:preloadError",{cancelable:!0});if(p.payload=E,window.dispatchEvent(p),!p.defaultPrevented)throw E}return h.then(E=>{for(const p of E||[])p.status==="rejected"&&y(p.reason);return c().catch(y)})};/**
|
|
62
|
+
* @license lucide-react v0.541.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 yg=u=>u.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),mg=u=>u.replace(/^([A-Z])|[\s-_]+(\w)/g,(c,r,s)=>s?s.toUpperCase():r.toLowerCase()),hd=u=>{const c=mg(u);return c.charAt(0).toUpperCase()+c.slice(1)},Bd=(...u)=>u.filter((c,r,s)=>!!c&&c.trim()!==""&&s.indexOf(c)===r).join(" ").trim(),vg=u=>{for(const c in u)if(c.startsWith("aria-")||c==="role"||c==="title")return!0};/**
|
|
67
|
+
* @license lucide-react v0.541.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 gg={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.541.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 pg=D.forwardRef(({color:u="currentColor",size:c=24,strokeWidth:r=2,absoluteStrokeWidth:s,className:h="",children:y,iconNode:E,...p},b)=>D.createElement("svg",{ref:b,...gg,width:c,height:c,stroke:u,strokeWidth:s?Number(r)*24/Number(c):r,className:Bd("lucide",h),...!y&&!vg(p)&&{"aria-hidden":"true"},...p},[...E.map(([m,T])=>D.createElement(m,T)),...Array.isArray(y)?y:[y]]));/**
|
|
77
|
+
* @license lucide-react v0.541.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 jn=(u,c)=>{const r=D.forwardRef(({className:s,...h},y)=>D.createElement(pg,{ref:y,iconNode:c,className:Bd(`lucide-${yg(hd(u))}`,`lucide-${u}`,s),...h}));return r.displayName=hd(u),r};/**
|
|
82
|
+
* @license lucide-react v0.541.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 bg=[["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"}]],Sg=jn("arrow-right-left",bg);/**
|
|
87
|
+
* @license lucide-react v0.541.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 Eg=[["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"}]],Tg=jn("database",Eg);/**
|
|
92
|
+
* @license lucide-react v0.541.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 Ag=[["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 18h16",key:"19g7jn"}],["path",{d:"M4 6h16",key:"1o0s65"}]],Og=jn("menu",Ag);/**
|
|
97
|
+
* @license lucide-react v0.541.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 Rg=[["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"}]],Mg=jn("trash-2",Rg);/**
|
|
102
|
+
* @license lucide-react v0.541.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 Dg=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],xg=jn("x",Dg),Qd=D.createContext(void 0);function kf(){const u=D.useContext(Qd);if(!u)throw new Error("useConfig must be used inside a ConfigProvider");return u.config}const zg=({visible:u,onClose:c,children:r})=>(D.useEffect(()=>{const s=new AbortController;return addEventListener("keydown",h=>{h.key==="Escape"&&c()},{signal:s.signal}),()=>{s.abort()}},[]),u?og.createPortal(L.jsxs("div",{className:"fixed inset-0 z-[99] flex items-center justify-center",children:[L.jsx("div",{className:"absolute inset-0 z-[99] bg-black/40 backdrop-blur-[3px]","aria-hidden":!open,onClick:c,role:"button",tabIndex:-1}),L.jsx("div",{className:"z-[100]",children:r})]}),document.body):null),wd=u=>`/${_g(u)}`,_g=u=>u.replace(/^\/+|\/+$/g,"");function Ug(){const u=kf(),[c,r]=D.useState(!1),[s,h]=D.useState(!1),y=D.useRef(null);return L.jsxs(L.Fragment,{children:[L.jsx(zg,{visible:c,onClose:()=>r(!1),children:L.jsxs("div",{className:"flex flex-col items-center justify-center gap-4 sm:p-12 p-6 bg-neutral-900 text-white rounded-2xl shadow-2xl border-2 border-neutral-800",children:[L.jsx("h1",{className:"text-2xl font-bold",children:"Are you sure?"}),L.jsx("p",{className:"text-gray-500",children:"This will delete all entries. This action cannot be undone."}),L.jsxs("div",{className:"flex items-center justify-center gap-4",children:[L.jsx("button",{className:"",onClick:()=>r(!1),children:"Cancel"}),L.jsx("button",{className:"bg-red-500 hover:bg-red-600 text-white font-bold py-1.5 px-4 rounded-2xl",disabled:s,ref:y,onClick:async()=>{try{h(!0),await fetch(wd(u.api.truncate),{method:"DELETE"}),window.location.reload()}catch(E){console.error("Failed to delete:",E)}finally{h(!1)}},children:"Confirm"})]})]})}),L.jsx("button",{onClick:()=>{r(!0),setTimeout(()=>y.current?.focus(),0)},className:"relative p-2.5 rounded-[10px] border border-neutral-800 hover:bg-neutral-800 bg-neutral-900 transition-all duration-200 shadow-sm hover:shadow-md group","aria-label":"Delete entries",children:L.jsx("div",{className:"relative w-5 h-5",children:L.jsx(Mg,{size:20,className:"text-red-500"})})})]})}const Cg=({isMobileSidebarOpen:u,onToggleMobileSidebar:c})=>{const r=kf();return L.jsxs("header",{className:"container my-5 flex items-center justify-between gap-4",children:[L.jsx(ri,{to:$f(r).REQUESTS,children:L.jsx("p",{className:"text-2xl font-bold ",children:r.appName})}),L.jsxs("div",{className:"flex items-center gap-2",children:[L.jsx(Ug,{}),L.jsx("button",{onClick:c,className:"p-2 rounded-lg hover:bg-gray-200 dark:hover:bg-neutral-700 transition-colors lg:hidden","aria-label":"Toggle menu",children:L.jsx("span",{className:"text-gray-700 dark:text-gray-300",children:u?L.jsx(xg,{size:18}):L.jsx(Og,{size:18})})})]})]})},Ng=({isMobileSidebarOpen:u,onCloseMobileSidebar:c})=>{const r=kf(),s=qe();return L.jsxs(L.Fragment,{children:[u&&L.jsx("div",{className:"fixed inset-0 bg-opacity-50 z-10 lg:hidden",onClick:c}),L.jsx("aside",{className:`
|
|
107
|
+
fixed lg:sticky top-0 z-20 lg:z-0
|
|
108
|
+
h-full lg:h-auto
|
|
109
|
+
w-3/4 sm:w-64 lg:w-auto min-w-60
|
|
110
|
+
p-4 lg:p-0
|
|
111
|
+
transform transition-transform duration-300 ease-in-out
|
|
112
|
+
${u?"translate-x-0 bg-white dark:bg-neutral-900":"-translate-x-[120%] lg:translate-x-0"}
|
|
113
|
+
lg:bg-transparent
|
|
114
|
+
`,children:L.jsx("ul",{className:"flex flex-col gap-2 text-gray-700 dark:text-neutral-300",children:wg(r).map(h=>{const y=s.pathname.startsWith(h.path),E=h.icon;return L.jsx("li",{className:"contents",children:L.jsxs(ri,{to:h.path,className:["flex items-center gap-2 rounded-lg px-4 py-2 font-medium",y?"bg-green-100 dark:bg-neutral-800 text-gray-900 dark:text-white":"text-gray-600 dark:text-neutral-400 hover:bg-gray-50 dark:hover:bg-neutral-800/50"].join(" "),children:[L.jsx(E,{size:16}),h.label]})},h.path)})})})]})},qg=()=>{const u=qe(),[c,r]=D.useState(!1);D.useEffect(()=>{r(!1)},[u.pathname]);const s=()=>{r(!c)},h=()=>{r(!1)};return L.jsxs(L.Fragment,{children:[" ",L.jsx(Cg,{isMobileSidebarOpen:c,onToggleMobileSidebar:s}),L.jsx("hr",{className:"container my-6 border-gray-300 dark:border-neutral-900"}),L.jsxs("div",{className:"container flex flex-col h-full lg:flex-row gap-8 relative",children:[L.jsx(Ng,{isMobileSidebarOpen:c,onCloseMobileSidebar:h}),L.jsx("div",{className:"w-full min-h-[88vh] flex-1 flex flex-col min-w-0 pb-5 overflow-hidden",children:L.jsx("div",{className:"flex-1",children:L.jsx(U0,{})})})]})," "]})},Hg=D.lazy(()=>si(()=>import("./RequestsContainer-rWbSc4Py.js"),__vite__mapDeps([0,1,2]),import.meta.url)),jg=D.lazy(()=>si(()=>import("./QueriesContainer-DhnU1ndx.js"),__vite__mapDeps([3,4,1,2]),import.meta.url)),Bg=D.lazy(()=>si(()=>import("./RequestDetailsContainer-C0s7VLpw.js"),[],import.meta.url)),Qg=D.lazy(()=>si(()=>import("./QueryDetailsContainer-CtNxjUvF.js"),__vite__mapDeps([5,4,1,6,7]),import.meta.url));function $f(u){return{REQUESTS:`${u.path}/requests`,QUERIES:`${u.path}/queries`,REQUEST_DETAILS:`${u.path}/requests/:requestId`,QUERY_DETAILS:`${u.path}/queries/:queryId`}}function wg(u){const c=$f(u);return[{path:c.REQUESTS,label:"Requests",icon:Sg},{path:c.QUERIES,label:"Queries",icon:Tg}]}function Yg(u){const c=$f(u);return[{path:"/",element:L.jsx(rd,{to:c.REQUESTS,replace:!0})},{path:u.path,element:L.jsx(qg,{}),children:[{index:!0,element:L.jsx(rd,{to:"requests",replace:!0})},{path:"requests",element:L.jsx(Hg,{})},{path:"requests/:id",element:L.jsx(Bg,{})},{path:"queries",element:L.jsx(jg,{})},{path:"queries/:id",element:L.jsx(Qg,{})},{path:"*",element:L.jsx("h1",{children:"Error"})}]}]}const Lg=({config:u})=>{const c=Yg(u);return p0([...c])},Gg=()=>L.jsx("div",{className:"flex items-center justify-center h-screen bg-background",children:L.jsxs("div",{className:"relative",children:[L.jsx("div",{className:"w-28 h-28 border-t-4 border-b-4 border-neutral-200 rounded-full animate-spin"}),L.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"})]})}),Xg=()=>L.jsx("div",{className:"flex items-center justify-center min-h-screen",children:L.jsx("div",{className:"animate-spin rounded-full h-32 w-32 border-b-2 border-gray-900"})}),Zg=()=>{const[u,c]=D.useState({}),[r,s]=D.useState(!0);return D.useEffect(()=>{fetch(wd("/lens-config")).then(h=>h.json()).then(h=>{c(h)}).catch(h=>{console.error("Failed to load config:",h)}).finally(()=>{s(!1)})},[]),r?L.jsx(Gg,{}):L.jsx(Qd.Provider,{value:{config:u},children:L.jsx(D.Suspense,{fallback:L.jsx(Xg,{}),children:L.jsx(Lg,{config:u})})})},Vg=new Cv({defaultOptions:{queries:{staleTime:300*1e3,gcTime:600*1e3}}});Yv.createRoot(document.getElementById("root")).render(L.jsx(D.StrictMode,{children:L.jsx(qv,{client:Vg,children:L.jsx(eg,{children:L.jsx(Zg,{})})})}));export{ri as L,ni as S,si as _,dv as a,Hf as b,ov as c,Rv as d,mv as e,md as f,kt as g,Jg as h,ui as i,L as j,kf as k,wd as l,$g as m,Re as n,jn as o,Sv as p,$f as q,D as r,Kg as s,hv as t,kg as u};
|