@nextclaw/ui 0.11.0 → 0.11.1
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/CHANGELOG.md +8 -2
- package/dist/assets/{ChannelsList-BqsOYnXz.js → ChannelsList-CVPqrxns.js} +4 -4
- package/dist/assets/ChatPage-BO1VUrAY.js +37 -0
- package/dist/assets/{DocBrowser-BmL0QXBZ.js → DocBrowser-FBwg8iji.js} +1 -1
- package/dist/assets/{LogoBadge-C1HiPZPf.js → LogoBadge-BCmJfRT8.js} +1 -1
- package/dist/assets/MarketplacePage-DWxXUOCx.js +49 -0
- package/dist/assets/{McpMarketplacePage-CLHFnNBd.js → McpMarketplacePage-Bth9X_hu.js} +2 -2
- package/dist/assets/{ModelConfig-LQSR58tc.js → ModelConfig-PkSp_ioc.js} +1 -1
- package/dist/assets/ProvidersList-DVDge8wa.js +1 -0
- package/dist/assets/RemoteAccessPage-BVkzfEaL.js +1 -0
- package/dist/assets/RuntimeConfig-ByJs3khh.js +1 -0
- package/dist/assets/{SearchConfig-Chzo_JGs.js → SearchConfig-KZUAqYJN.js} +1 -1
- package/dist/assets/{SecretsConfig-CEIbjZYA.js → SecretsConfig-qwB_Y_Ka.js} +2 -2
- package/dist/assets/SessionsConfig-CGCl4UTr.js +2 -0
- package/dist/assets/index-CrilScMo.css +1 -0
- package/dist/assets/{index-j6A_-1b6.js → index-D41ntvb7.js} +6 -6
- package/dist/assets/{label-GACO2RzW.js → label-7JEFhkur.js} +1 -1
- package/dist/assets/ncp-session-adapter-BOqhkrc-.js +1 -0
- package/dist/assets/{page-layout-DjXaK3A3.js → page-layout-B7q511TE.js} +1 -1
- package/dist/assets/popover-CywJGmPr.js +1 -0
- package/dist/assets/security-config-zi2UxN5r.js +1 -0
- package/dist/assets/skeleton-qUJZQ03S.js +1 -0
- package/dist/assets/{status-dot-IWEBezqb.js → status-dot-BilwNdTT.js} +1 -1
- package/dist/assets/{switch-DCHAJSrA.js → switch-BLp2Pno1.js} +1 -1
- package/dist/assets/tabs-custom-CgIdQMGC.js +1 -0
- package/dist/assets/useConfirmDialog-BitswAkv.js +1 -0
- package/dist/assets/{vendor-CNhxtHCf.js → vendor-D_JxmsLV.js} +87 -87
- package/dist/index.html +3 -3
- package/package.json +4 -4
- package/src/App.test.tsx +42 -10
- package/src/App.tsx +5 -40
- package/src/api/api-base.test.ts +37 -0
- package/src/api/api-base.ts +0 -4
- package/src/api/config.ts +2 -270
- package/src/api/types.ts +0 -117
- package/src/components/chat/ChatPage.tsx +1 -11
- package/src/components/chat/ChatSidebar.test.tsx +1 -50
- package/src/components/chat/ChatSidebar.tsx +0 -5
- package/src/components/chat/README.md +2 -0
- package/src/components/chat/chat-attachment-upload-limit.test.ts +41 -0
- package/src/components/chat/chat-session-display.ts +9 -0
- package/src/components/chat/chat-session-label.service.ts +3 -12
- package/src/components/chat/chat-session-preference-sync.test.ts +10 -13
- package/src/components/chat/chat-stream/types.ts +4 -57
- package/src/components/chat/ncp/NcpChatPage.tsx +3 -3
- package/src/components/chat/useHydratedNcpAgent.test.tsx +77 -0
- package/src/components/config/README.md +2 -0
- package/src/components/config/SessionsConfig.tsx +152 -132
- package/src/hooks/use-auth.test.ts +3 -3
- package/src/hooks/use-auth.ts +16 -4
- package/src/hooks/use-realtime-query-bridge.ts +0 -24
- package/src/hooks/useConfig.ts +10 -137
- package/src/lib/session-run-status.ts +1 -63
- package/src/vite-env.d.ts +1 -0
- package/vite.config.ts +4 -4
- package/dist/assets/ChatPage-CJBYKR-Y.js +0 -38
- package/dist/assets/MarketplacePage-BIRP0NRS.js +0 -49
- package/dist/assets/ProvidersList-CwI-mxah.js +0 -1
- package/dist/assets/RemoteAccessPage-Cw5BqZb6.js +0 -1
- package/dist/assets/RuntimeConfig-DbowSRAb.js +0 -1
- package/dist/assets/SessionsConfig-BR8GfGWL.js +0 -2
- package/dist/assets/chat-message-CPG7zxRR.js +0 -3
- package/dist/assets/index-kaPUhd-8.css +0 -1
- package/dist/assets/popover-DTaFiTmU.js +0 -1
- package/dist/assets/security-config-Dk-yoKvK.js +0 -1
- package/dist/assets/skeleton-Dm2xOBSA.js +0 -1
- package/dist/assets/tabs-custom-DKSbDSB9.js +0 -1
- package/dist/assets/useConfirmDialog-ByJ8A8n7.js +0 -1
- package/src/api/config.stream.test.ts +0 -115
- package/src/components/chat/chat-chain.test.ts +0 -22
- package/src/components/chat/chat-chain.ts +0 -23
- package/src/components/chat/chat-page-data.ts +0 -171
- package/src/components/chat/chat-page-runtime.ts +0 -190
- package/src/components/chat/chat-stream/nextbot-parsers.ts +0 -52
- package/src/components/chat/chat-stream/nextbot-runtime-agent.ts +0 -413
- package/src/components/chat/chat-stream/stream-event-adapter.ts +0 -98
- package/src/components/chat/chat-stream/transport.ts +0 -253
- package/src/components/chat/legacy/LegacyChatPage.tsx +0 -223
- package/src/components/chat/managers/chat-input.manager.ts +0 -228
- package/src/components/chat/managers/chat-thread.manager.ts +0 -87
- package/src/components/chat/presenter/chat.presenter.ts +0 -32
- package/src/components/chat/useChatRuntimeController.ts +0 -134
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var
|
|
1
|
+
var lh=n=>{throw TypeError(n)};var ic=(n,r,i)=>r.has(n)||lh("Cannot "+i);var R=(n,r,i)=>(ic(n,r,"read from private field"),i?i.call(n):r.get(n)),me=(n,r,i)=>r.has(n)?lh("Cannot add the same private member more than once"):r instanceof WeakSet?r.add(n):r.set(n,i),ee=(n,r,i,s)=>(ic(n,r,"write to private field"),s?s.call(n,i):r.set(n,i),i),Pe=(n,r,i)=>(ic(n,r,"access private method"),i);var ja=(n,r,i,s)=>({set _(l){ee(n,r,l,i)},get _(){return R(n,r,s)}});function A0(n,r){for(var i=0;i<r.length;i++){const s=r[i];if(typeof s!="string"&&!Array.isArray(s)){for(const l in s)if(l!=="default"&&!(l in n)){const c=Object.getOwnPropertyDescriptor(s,l);c&&Object.defineProperty(n,l,c.get?c:{enumerable:!0,get:()=>s[l]})}}}return Object.freeze(Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}))}function Rm(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var sc={exports:{}},as={},ac={exports:{}},Te={};/**
|
|
2
2
|
* @license React
|
|
3
3
|
* react.production.min.js
|
|
4
4
|
*
|
|
@@ -6,7 +6,7 @@ var uh=n=>{throw TypeError(n)};var ic=(n,r,i)=>r.has(n)||uh("Cannot "+i);var b=(
|
|
|
6
6
|
*
|
|
7
7
|
* This source code is licensed under the MIT license found in the
|
|
8
8
|
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/var
|
|
9
|
+
*/var uh;function I0(){if(uh)return Te;uh=1;var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),f=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),m=Symbol.for("react.memo"),w=Symbol.for("react.lazy"),x=Symbol.iterator;function k(N){return N===null||typeof N!="object"?null:(N=x&&N[x]||N["@@iterator"],typeof N=="function"?N:null)}var g={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},O=Object.assign,S={};function C(N,F,ne){this.props=N,this.context=F,this.refs=S,this.updater=ne||g}C.prototype.isReactComponent={},C.prototype.setState=function(N,F){if(typeof N!="object"&&typeof N!="function"&&N!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,N,F,"setState")},C.prototype.forceUpdate=function(N){this.updater.enqueueForceUpdate(this,N,"forceUpdate")};function P(){}P.prototype=C.prototype;function T(N,F,ne){this.props=N,this.context=F,this.refs=S,this.updater=ne||g}var b=T.prototype=new P;b.constructor=T,O(b,C.prototype),b.isPureReactComponent=!0;var L=Array.isArray,z=Object.prototype.hasOwnProperty,U={current:null},H={key:!0,ref:!0,__self:!0,__source:!0};function G(N,F,ne){var re,ve={},Se=null,q=null;if(F!=null)for(re in F.ref!==void 0&&(q=F.ref),F.key!==void 0&&(Se=""+F.key),F)z.call(F,re)&&!H.hasOwnProperty(re)&&(ve[re]=F[re]);var pe=arguments.length-2;if(pe===1)ve.children=ne;else if(1<pe){for(var Ce=Array(pe),Re=0;Re<pe;Re++)Ce[Re]=arguments[Re+2];ve.children=Ce}if(N&&N.defaultProps)for(re in pe=N.defaultProps,pe)ve[re]===void 0&&(ve[re]=pe[re]);return{$$typeof:n,type:N,key:Se,ref:q,props:ve,_owner:U.current}}function J(N,F){return{$$typeof:n,type:N.type,key:F,ref:N.ref,props:N.props,_owner:N._owner}}function te(N){return typeof N=="object"&&N!==null&&N.$$typeof===n}function he(N){var F={"=":"=0",":":"=2"};return"$"+N.replace(/[=:]/g,function(ne){return F[ne]})}var Z=/\/+/g;function ye(N,F){return typeof N=="object"&&N!==null&&N.key!=null?he(""+N.key):F.toString(36)}function de(N,F,ne,re,ve){var Se=typeof N;(Se==="undefined"||Se==="boolean")&&(N=null);var q=!1;if(N===null)q=!0;else switch(Se){case"string":case"number":q=!0;break;case"object":switch(N.$$typeof){case n:case r:q=!0}}if(q)return q=N,ve=ve(q),N=re===""?"."+ye(q,0):re,L(ve)?(ne="",N!=null&&(ne=N.replace(Z,"$&/")+"/"),de(ve,F,ne,"",function(Re){return Re})):ve!=null&&(te(ve)&&(ve=J(ve,ne+(!ve.key||q&&q.key===ve.key?"":(""+ve.key).replace(Z,"$&/")+"/")+N)),F.push(ve)),1;if(q=0,re=re===""?".":re+":",L(N))for(var pe=0;pe<N.length;pe++){Se=N[pe];var Ce=re+ye(Se,pe);q+=de(Se,F,ne,Ce,ve)}else if(Ce=k(N),typeof Ce=="function")for(N=Ce.call(N),pe=0;!(Se=N.next()).done;)Se=Se.value,Ce=re+ye(Se,pe++),q+=de(Se,F,ne,Ce,ve);else if(Se==="object")throw F=String(N),Error("Objects are not valid as a React child (found: "+(F==="[object Object]"?"object with keys {"+Object.keys(N).join(", ")+"}":F)+"). If you meant to render a collection of children, use an array instead.");return q}function xe(N,F,ne){if(N==null)return N;var re=[],ve=0;return de(N,re,"","",function(Se){return F.call(ne,Se,ve++)}),re}function ue(N){if(N._status===-1){var F=N._result;F=F(),F.then(function(ne){(N._status===0||N._status===-1)&&(N._status=1,N._result=ne)},function(ne){(N._status===0||N._status===-1)&&(N._status=2,N._result=ne)}),N._status===-1&&(N._status=0,N._result=F)}if(N._status===1)return N._result.default;throw N._result}var se={current:null},j={transition:null},B={ReactCurrentDispatcher:se,ReactCurrentBatchConfig:j,ReactCurrentOwner:U};function Q(){throw Error("act(...) is not supported in production builds of React.")}return Te.Children={map:xe,forEach:function(N,F,ne){xe(N,function(){F.apply(this,arguments)},ne)},count:function(N){var F=0;return xe(N,function(){F++}),F},toArray:function(N){return xe(N,function(F){return F})||[]},only:function(N){if(!te(N))throw Error("React.Children.only expected to receive a single React element child.");return N}},Te.Component=C,Te.Fragment=i,Te.Profiler=l,Te.PureComponent=T,Te.StrictMode=s,Te.Suspense=h,Te.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=B,Te.act=Q,Te.cloneElement=function(N,F,ne){if(N==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+N+".");var re=O({},N.props),ve=N.key,Se=N.ref,q=N._owner;if(F!=null){if(F.ref!==void 0&&(Se=F.ref,q=U.current),F.key!==void 0&&(ve=""+F.key),N.type&&N.type.defaultProps)var pe=N.type.defaultProps;for(Ce in F)z.call(F,Ce)&&!H.hasOwnProperty(Ce)&&(re[Ce]=F[Ce]===void 0&&pe!==void 0?pe[Ce]:F[Ce])}var Ce=arguments.length-2;if(Ce===1)re.children=ne;else if(1<Ce){pe=Array(Ce);for(var Re=0;Re<Ce;Re++)pe[Re]=arguments[Re+2];re.children=pe}return{$$typeof:n,type:N.type,key:ve,ref:Se,props:re,_owner:q}},Te.createContext=function(N){return N={$$typeof:f,_currentValue:N,_currentValue2:N,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},N.Provider={$$typeof:c,_context:N},N.Consumer=N},Te.createElement=G,Te.createFactory=function(N){var F=G.bind(null,N);return F.type=N,F},Te.createRef=function(){return{current:null}},Te.forwardRef=function(N){return{$$typeof:p,render:N}},Te.isValidElement=te,Te.lazy=function(N){return{$$typeof:w,_payload:{_status:-1,_result:N},_init:ue}},Te.memo=function(N,F){return{$$typeof:m,type:N,compare:F===void 0?null:F}},Te.startTransition=function(N){var F=j.transition;j.transition={};try{N()}finally{j.transition=F}},Te.unstable_act=Q,Te.useCallback=function(N,F){return se.current.useCallback(N,F)},Te.useContext=function(N){return se.current.useContext(N)},Te.useDebugValue=function(){},Te.useDeferredValue=function(N){return se.current.useDeferredValue(N)},Te.useEffect=function(N,F){return se.current.useEffect(N,F)},Te.useId=function(){return se.current.useId()},Te.useImperativeHandle=function(N,F,ne){return se.current.useImperativeHandle(N,F,ne)},Te.useInsertionEffect=function(N,F){return se.current.useInsertionEffect(N,F)},Te.useLayoutEffect=function(N,F){return se.current.useLayoutEffect(N,F)},Te.useMemo=function(N,F){return se.current.useMemo(N,F)},Te.useReducer=function(N,F,ne){return se.current.useReducer(N,F,ne)},Te.useRef=function(N){return se.current.useRef(N)},Te.useState=function(N){return se.current.useState(N)},Te.useSyncExternalStore=function(N,F,ne){return se.current.useSyncExternalStore(N,F,ne)},Te.useTransition=function(){return se.current.useTransition()},Te.version="18.3.1",Te}var ch;function ed(){return ch||(ch=1,ac.exports=I0()),ac.exports}/**
|
|
10
10
|
* @license React
|
|
11
11
|
* react-jsx-runtime.production.min.js
|
|
12
12
|
*
|
|
@@ -14,7 +14,7 @@ var uh=n=>{throw TypeError(n)};var ic=(n,r,i)=>r.has(n)||uh("Cannot "+i);var b=(
|
|
|
14
14
|
*
|
|
15
15
|
* This source code is licensed under the MIT license found in the
|
|
16
16
|
* LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/var
|
|
17
|
+
*/var dh;function D0(){if(dh)return as;dh=1;var n=ed(),r=Symbol.for("react.element"),i=Symbol.for("react.fragment"),s=Object.prototype.hasOwnProperty,l=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c={key:!0,ref:!0,__self:!0,__source:!0};function f(p,h,m){var w,x={},k=null,g=null;m!==void 0&&(k=""+m),h.key!==void 0&&(k=""+h.key),h.ref!==void 0&&(g=h.ref);for(w in h)s.call(h,w)&&!c.hasOwnProperty(w)&&(x[w]=h[w]);if(p&&p.defaultProps)for(w in h=p.defaultProps,h)x[w]===void 0&&(x[w]=h[w]);return{$$typeof:r,type:p,key:k,ref:g,props:x,_owner:l.current}}return as.Fragment=i,as.jsx=f,as.jsxs=f,as}var fh;function F0(){return fh||(fh=1,sc.exports=D0()),sc.exports}var V=F0(),y=ed();const X=Rm(y),bm=A0({__proto__:null,default:X},[y]);var Ba={},lc={exports:{}},Nt={},uc={exports:{}},cc={};/**
|
|
18
18
|
* @license React
|
|
19
19
|
* scheduler.production.min.js
|
|
20
20
|
*
|
|
@@ -22,7 +22,7 @@ var uh=n=>{throw TypeError(n)};var ic=(n,r,i)=>r.has(n)||uh("Cannot "+i);var b=(
|
|
|
22
22
|
*
|
|
23
23
|
* This source code is licensed under the MIT license found in the
|
|
24
24
|
* LICENSE file in the root directory of this source tree.
|
|
25
|
-
*/var
|
|
25
|
+
*/var ph;function z0(){return ph||(ph=1,(function(n){function r(j,B){var Q=j.length;j.push(B);e:for(;0<Q;){var N=Q-1>>>1,F=j[N];if(0<l(F,B))j[N]=B,j[Q]=F,Q=N;else break e}}function i(j){return j.length===0?null:j[0]}function s(j){if(j.length===0)return null;var B=j[0],Q=j.pop();if(Q!==B){j[0]=Q;e:for(var N=0,F=j.length,ne=F>>>1;N<ne;){var re=2*(N+1)-1,ve=j[re],Se=re+1,q=j[Se];if(0>l(ve,Q))Se<F&&0>l(q,ve)?(j[N]=q,j[Se]=Q,N=Se):(j[N]=ve,j[re]=Q,N=re);else if(Se<F&&0>l(q,Q))j[N]=q,j[Se]=Q,N=Se;else break e}}return B}function l(j,B){var Q=j.sortIndex-B.sortIndex;return Q!==0?Q:j.id-B.id}if(typeof performance=="object"&&typeof performance.now=="function"){var c=performance;n.unstable_now=function(){return c.now()}}else{var f=Date,p=f.now();n.unstable_now=function(){return f.now()-p}}var h=[],m=[],w=1,x=null,k=3,g=!1,O=!1,S=!1,C=typeof setTimeout=="function"?setTimeout:null,P=typeof clearTimeout=="function"?clearTimeout:null,T=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function b(j){for(var B=i(m);B!==null;){if(B.callback===null)s(m);else if(B.startTime<=j)s(m),B.sortIndex=B.expirationTime,r(h,B);else break;B=i(m)}}function L(j){if(S=!1,b(j),!O)if(i(h)!==null)O=!0,ue(z);else{var B=i(m);B!==null&&se(L,B.startTime-j)}}function z(j,B){O=!1,S&&(S=!1,P(G),G=-1),g=!0;var Q=k;try{for(b(B),x=i(h);x!==null&&(!(x.expirationTime>B)||j&&!he());){var N=x.callback;if(typeof N=="function"){x.callback=null,k=x.priorityLevel;var F=N(x.expirationTime<=B);B=n.unstable_now(),typeof F=="function"?x.callback=F:x===i(h)&&s(h),b(B)}else s(h);x=i(h)}if(x!==null)var ne=!0;else{var re=i(m);re!==null&&se(L,re.startTime-B),ne=!1}return ne}finally{x=null,k=Q,g=!1}}var U=!1,H=null,G=-1,J=5,te=-1;function he(){return!(n.unstable_now()-te<J)}function Z(){if(H!==null){var j=n.unstable_now();te=j;var B=!0;try{B=H(!0,j)}finally{B?ye():(U=!1,H=null)}}else U=!1}var ye;if(typeof T=="function")ye=function(){T(Z)};else if(typeof MessageChannel<"u"){var de=new MessageChannel,xe=de.port2;de.port1.onmessage=Z,ye=function(){xe.postMessage(null)}}else ye=function(){C(Z,0)};function ue(j){H=j,U||(U=!0,ye())}function se(j,B){G=C(function(){j(n.unstable_now())},B)}n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(j){j.callback=null},n.unstable_continueExecution=function(){O||g||(O=!0,ue(z))},n.unstable_forceFrameRate=function(j){0>j||125<j?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):J=0<j?Math.floor(1e3/j):5},n.unstable_getCurrentPriorityLevel=function(){return k},n.unstable_getFirstCallbackNode=function(){return i(h)},n.unstable_next=function(j){switch(k){case 1:case 2:case 3:var B=3;break;default:B=k}var Q=k;k=B;try{return j()}finally{k=Q}},n.unstable_pauseExecution=function(){},n.unstable_requestPaint=function(){},n.unstable_runWithPriority=function(j,B){switch(j){case 1:case 2:case 3:case 4:case 5:break;default:j=3}var Q=k;k=j;try{return B()}finally{k=Q}},n.unstable_scheduleCallback=function(j,B,Q){var N=n.unstable_now();switch(typeof Q=="object"&&Q!==null?(Q=Q.delay,Q=typeof Q=="number"&&0<Q?N+Q:N):Q=N,j){case 1:var F=-1;break;case 2:F=250;break;case 5:F=1073741823;break;case 4:F=1e4;break;default:F=5e3}return F=Q+F,j={id:w++,callback:B,priorityLevel:j,startTime:Q,expirationTime:F,sortIndex:-1},Q>N?(j.sortIndex=Q,r(m,j),i(h)===null&&j===i(m)&&(S?(P(G),G=-1):S=!0,se(L,Q-N))):(j.sortIndex=F,r(h,j),O||g||(O=!0,ue(z))),j},n.unstable_shouldYield=he,n.unstable_wrapCallback=function(j){var B=k;return function(){var Q=k;k=B;try{return j.apply(this,arguments)}finally{k=Q}}}})(cc)),cc}var hh;function j0(){return hh||(hh=1,uc.exports=z0()),uc.exports}/**
|
|
26
26
|
* @license React
|
|
27
27
|
* react-dom.production.min.js
|
|
28
28
|
*
|
|
@@ -30,14 +30,14 @@ var uh=n=>{throw TypeError(n)};var ic=(n,r,i)=>r.has(n)||uh("Cannot "+i);var b=(
|
|
|
30
30
|
*
|
|
31
31
|
* This source code is licensed under the MIT license found in the
|
|
32
32
|
* LICENSE file in the root directory of this source tree.
|
|
33
|
-
*/var
|
|
33
|
+
*/var mh;function B0(){if(mh)return Nt;mh=1;var n=ed(),r=j0();function i(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,o=1;o<arguments.length;o++)t+="&args[]="+encodeURIComponent(arguments[o]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var s=new Set,l={};function c(e,t){f(e,t),f(e+"Capture",t)}function f(e,t){for(l[e]=t,e=0;e<t.length;e++)s.add(t[e])}var p=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),h=Object.prototype.hasOwnProperty,m=/^[: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]*$/,w={},x={};function k(e){return h.call(x,e)?!0:h.call(w,e)?!1:m.test(e)?x[e]=!0:(w[e]=!0,!1)}function g(e,t,o,a){if(o!==null&&o.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return a?!1:o!==null?!o.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function O(e,t,o,a){if(t===null||typeof t>"u"||g(e,t,o,a))return!0;if(a)return!1;if(o!==null)switch(o.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function S(e,t,o,a,u,d,v){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=a,this.attributeNamespace=u,this.mustUseProperty=o,this.propertyName=e,this.type=t,this.sanitizeURL=d,this.removeEmptyString=v}var C={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){C[e]=new S(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];C[t]=new S(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){C[e]=new S(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){C[e]=new S(e,2,!1,e,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){C[e]=new S(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){C[e]=new S(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){C[e]=new S(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){C[e]=new S(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){C[e]=new S(e,5,!1,e.toLowerCase(),null,!1,!1)});var P=/[\-:]([a-z])/g;function T(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(P,T);C[t]=new S(t,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(P,T);C[t]=new S(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(P,T);C[t]=new S(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){C[e]=new S(e,1,!1,e.toLowerCase(),null,!1,!1)}),C.xlinkHref=new S("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){C[e]=new S(e,1,!1,e.toLowerCase(),null,!0,!0)});function b(e,t,o,a){var u=C.hasOwnProperty(t)?C[t]:null;(u!==null?u.type!==0:a||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(O(t,o,u,a)&&(o=null),a||u===null?k(t)&&(o===null?e.removeAttribute(t):e.setAttribute(t,""+o)):u.mustUseProperty?e[u.propertyName]=o===null?u.type===3?!1:"":o:(t=u.attributeName,a=u.attributeNamespace,o===null?e.removeAttribute(t):(u=u.type,o=u===3||u===4&&o===!0?"":""+o,a?e.setAttributeNS(a,t,o):e.setAttribute(t,o))))}var L=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,z=Symbol.for("react.element"),U=Symbol.for("react.portal"),H=Symbol.for("react.fragment"),G=Symbol.for("react.strict_mode"),J=Symbol.for("react.profiler"),te=Symbol.for("react.provider"),he=Symbol.for("react.context"),Z=Symbol.for("react.forward_ref"),ye=Symbol.for("react.suspense"),de=Symbol.for("react.suspense_list"),xe=Symbol.for("react.memo"),ue=Symbol.for("react.lazy"),se=Symbol.for("react.offscreen"),j=Symbol.iterator;function B(e){return e===null||typeof e!="object"?null:(e=j&&e[j]||e["@@iterator"],typeof e=="function"?e:null)}var Q=Object.assign,N;function F(e){if(N===void 0)try{throw Error()}catch(o){var t=o.stack.trim().match(/\n( *(at )?)/);N=t&&t[1]||""}return`
|
|
34
34
|
`+N+e}var ne=!1;function re(e,t){if(!e||ne)return"";ne=!0;var o=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(D){var a=D}Reflect.construct(e,[],t)}else{try{t.call()}catch(D){a=D}e.call(t.prototype)}else{try{throw Error()}catch(D){a=D}e()}}catch(D){if(D&&a&&typeof D.stack=="string"){for(var u=D.stack.split(`
|
|
35
35
|
`),d=a.stack.split(`
|
|
36
36
|
`),v=u.length-1,E=d.length-1;1<=v&&0<=E&&u[v]!==d[E];)E--;for(;1<=v&&0<=E;v--,E--)if(u[v]!==d[E]){if(v!==1||E!==1)do if(v--,E--,0>E||u[v]!==d[E]){var M=`
|
|
37
|
-
`+u[v].replace(" at new "," at ");return e.displayName&&M.includes("<anonymous>")&&(M=M.replace("<anonymous>",e.displayName)),M}while(1<=v&&0<=E);break}}}finally{ne=!1,Error.prepareStackTrace=o}return(e=e?e.displayName||e.name:"")?F(e):""}function ve(e){switch(e.tag){case 5:return F(e.type);case 16:return F("Lazy");case 13:return F("Suspense");case 19:return F("SuspenseList");case 0:case 2:case 15:return e=re(e.type,!1),e;case 11:return e=re(e.type.render,!1),e;case 1:return e=re(e.type,!0),e;default:return""}}function Se(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case H:return"Fragment";case U:return"Portal";case J:return"Profiler";case G:return"StrictMode";case ye:return"Suspense";case de:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case he:return(e.displayName||"Context")+".Consumer";case te:return(e._context.displayName||"Context")+".Provider";case Z:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case xe:return t=e.displayName||null,t!==null?t:Se(e.type)||"Memo";case ue:t=e._payload,e=e._init;try{return Se(e(t))}catch{}}return null}function q(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Se(t);case 8:return t===G?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function pe(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Ce(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function be(e){var t=Ce(e)?"checked":"value",o=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),a=""+e[t];if(!e.hasOwnProperty(t)&&typeof o<"u"&&typeof o.get=="function"&&typeof o.set=="function"){var u=o.get,d=o.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return u.call(this)},set:function(v){a=""+v,d.call(this,v)}}),Object.defineProperty(e,t,{enumerable:o.enumerable}),{getValue:function(){return a},setValue:function(v){a=""+v},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Me(e){e._valueTracker||(e._valueTracker=be(e))}function Oe(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var o=t.getValue(),a="";return e&&(a=Ce(e)?e.checked?"true":"false":e.value),e=a,e!==o?(t.setValue(e),!0):!1}function Ye(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function dt(e,t){var o=t.checked;return Q({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:o??e._wrapperState.initialChecked})}function gn(e,t){var o=t.defaultValue==null?"":t.defaultValue,a=t.checked!=null?t.checked:t.defaultChecked;o=pe(t.value!=null?t.value:o),e._wrapperState={initialChecked:a,initialValue:o,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Xt(e,t){t=t.checked,t!=null&&R(e,"checked",t,!1)}function Zt(e,t){Xt(e,t);var o=pe(t.value),a=t.type;if(o!=null)a==="number"?(o===0&&e.value===""||e.value!=o)&&(e.value=""+o):e.value!==""+o&&(e.value=""+o);else if(a==="submit"||a==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?wn(e,t.type,o):t.hasOwnProperty("defaultValue")&&wn(e,t.type,pe(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function ir(e,t,o){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var a=t.type;if(!(a!=="submit"&&a!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,o||t===e.value||(e.value=t),e.defaultValue=t}o=e.name,o!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,o!==""&&(e.name=o)}function wn(e,t,o){(t!=="number"||Ye(e.ownerDocument)!==e)&&(o==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+o&&(e.defaultValue=""+o))}var sr=Array.isArray;function Ht(e,t,o,a){if(e=e.options,t){t={};for(var u=0;u<o.length;u++)t["$"+o[u]]=!0;for(o=0;o<e.length;o++)u=t.hasOwnProperty("$"+e[o].value),e[o].selected!==u&&(e[o].selected=u),u&&a&&(e[o].defaultSelected=!0)}else{for(o=""+pe(o),t=null,u=0;u<e.length;u++){if(e[u].value===o){e[u].selected=!0,a&&(e[u].defaultSelected=!0);return}t!==null||e[u].disabled||(t=e[u])}t!==null&&(t.selected=!0)}}function Eo(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(i(91));return Q({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function xn(e,t){var o=t.value;if(o==null){if(o=t.children,t=t.defaultValue,o!=null){if(t!=null)throw Error(i(92));if(sr(o)){if(1<o.length)throw Error(i(93));o=o[0]}t=o}t==null&&(t=""),o=t}e._wrapperState={initialValue:pe(o)}}function Rs(e,t){var o=pe(t.value),a=pe(t.defaultValue);o!=null&&(o=""+o,o!==e.value&&(e.value=o),t.defaultValue==null&&e.defaultValue!==o&&(e.defaultValue=o)),a!=null&&(e.defaultValue=""+a)}function Ps(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function gt(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Sn(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?gt(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var bo,Ms=(function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,o,a,u){MSApp.execUnsafeLocalFunction(function(){return e(t,o,a,u)})}:e})(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(bo=bo||document.createElement("div"),bo.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=bo.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Cn(e,t){if(t){var o=e.firstChild;if(o&&o===e.lastChild&&o.nodeType===3){o.nodeValue=t;return}}e.textContent=t}var Qr={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Ts=["Webkit","ms","Moz","O"];Object.keys(Qr).forEach(function(e){Ts.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Qr[t]=Qr[e]})});function Ro(e,t,o){return t==null||typeof t=="boolean"||t===""?"":o||typeof t!="number"||t===0||Qr.hasOwnProperty(e)&&Qr[e]?(""+t).trim():t+"px"}function jn(e,t){e=e.style;for(var o in t)if(t.hasOwnProperty(o)){var a=o.indexOf("--")===0,u=Ro(o,t[o],a);o==="float"&&(o="cssFloat"),a?e.setProperty(o,u):e[o]=u}}var Os=Q({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function kn(e,t){if(t){if(Os[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(i(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(i(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(i(61))}if(t.style!=null&&typeof t.style!="object")throw Error(i(62))}}function bi(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){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 Ri=null;function Po(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Mo=null,ar=null,En=null;function Jt(e){if(e=Qi(e)){if(typeof Mo!="function")throw Error(i(280));var t=e.stateNode;t&&(t=ea(t),Mo(e.stateNode,e.type,t))}}function Ns(e){ar?En?En.push(e):En=[e]:ar=e}function Ee(){if(ar){var e=ar,t=En;if(En=ar=null,Jt(e),t)for(e=0;e<t.length;e++)Jt(t[e])}}function Ae(e,t){return e(t)}function Fe(){}var wt=!1;function Et(e,t,o){if(wt)return e(t,o);wt=!0;try{return Ae(e,t,o)}finally{wt=!1,(ar!==null||En!==null)&&(Fe(),Ee())}}function bt(e,t){var o=e.stateNode;if(o===null)return null;var a=ea(o);if(a===null)return null;o=a[t];e:switch(t){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)||(e=e.type,a=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!a;break e;default:e=!1}if(e)return null;if(o&&typeof o!="function")throw Error(i(231,t,typeof o));return o}var en=!1;if(p)try{var lt={};Object.defineProperty(lt,"passive",{get:function(){en=!0}}),window.addEventListener("test",lt,lt),window.removeEventListener("test",lt,lt)}catch{en=!1}function bn(e,t,o,a,u,d,v,E,M){var D=Array.prototype.slice.call(arguments,3);try{t.apply(o,D)}catch(W){this.onError(W)}}var Pi=!1,_s=null,Ls=!1,El=null,Hy={onError:function(e){Pi=!0,_s=e}};function $y(e,t,o,a,u,d,v,E,M){Pi=!1,_s=null,bn.apply(Hy,arguments)}function Wy(e,t,o,a,u,d,v,E,M){if($y.apply(this,arguments),Pi){if(Pi){var D=_s;Pi=!1,_s=null}else throw Error(i(198));Ls||(Ls=!0,El=D)}}function Kr(e){var t=e,o=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(o=t.return),e=t.return;while(e)}return t.tag===3?o:null}function Nd(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function _d(e){if(Kr(e)!==e)throw Error(i(188))}function Vy(e){var t=e.alternate;if(!t){if(t=Kr(e),t===null)throw Error(i(188));return t!==e?null:e}for(var o=e,a=t;;){var u=o.return;if(u===null)break;var d=u.alternate;if(d===null){if(a=u.return,a!==null){o=a;continue}break}if(u.child===d.child){for(d=u.child;d;){if(d===o)return _d(u),e;if(d===a)return _d(u),t;d=d.sibling}throw Error(i(188))}if(o.return!==a.return)o=u,a=d;else{for(var v=!1,E=u.child;E;){if(E===o){v=!0,o=u,a=d;break}if(E===a){v=!0,a=u,o=d;break}E=E.sibling}if(!v){for(E=d.child;E;){if(E===o){v=!0,o=d,a=u;break}if(E===a){v=!0,a=d,o=u;break}E=E.sibling}if(!v)throw Error(i(189))}}if(o.alternate!==a)throw Error(i(190))}if(o.tag!==3)throw Error(i(188));return o.stateNode.current===o?e:t}function Ld(e){return e=Vy(e),e!==null?Ad(e):null}function Ad(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=Ad(e);if(t!==null)return t;e=e.sibling}return null}var Id=r.unstable_scheduleCallback,Dd=r.unstable_cancelCallback,Qy=r.unstable_shouldYield,Ky=r.unstable_requestPaint,Xe=r.unstable_now,qy=r.unstable_getCurrentPriorityLevel,bl=r.unstable_ImmediatePriority,Fd=r.unstable_UserBlockingPriority,As=r.unstable_NormalPriority,Gy=r.unstable_LowPriority,zd=r.unstable_IdlePriority,Is=null,Rn=null;function Yy(e){if(Rn&&typeof Rn.onCommitFiberRoot=="function")try{Rn.onCommitFiberRoot(Is,e,void 0,(e.current.flags&128)===128)}catch{}}var tn=Math.clz32?Math.clz32:Jy,Xy=Math.log,Zy=Math.LN2;function Jy(e){return e>>>=0,e===0?32:31-(Xy(e)/Zy|0)|0}var Ds=64,Fs=4194304;function Mi(e){switch(e&-e){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: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&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function zs(e,t){var o=e.pendingLanes;if(o===0)return 0;var a=0,u=e.suspendedLanes,d=e.pingedLanes,v=o&268435455;if(v!==0){var E=v&~u;E!==0?a=Mi(E):(d&=v,d!==0&&(a=Mi(d)))}else v=o&~u,v!==0?a=Mi(v):d!==0&&(a=Mi(d));if(a===0)return 0;if(t!==0&&t!==a&&(t&u)===0&&(u=a&-a,d=t&-t,u>=d||u===16&&(d&4194240)!==0))return t;if((a&4)!==0&&(a|=o&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=a;0<t;)o=31-tn(t),u=1<<o,a|=e[o],t&=~u;return a}function eg(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64: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 t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function tg(e,t){for(var o=e.suspendedLanes,a=e.pingedLanes,u=e.expirationTimes,d=e.pendingLanes;0<d;){var v=31-tn(d),E=1<<v,M=u[v];M===-1?((E&o)===0||(E&a)!==0)&&(u[v]=eg(E,t)):M<=t&&(e.expiredLanes|=E),d&=~E}}function Rl(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function jd(){var e=Ds;return Ds<<=1,(Ds&4194240)===0&&(Ds=64),e}function Pl(e){for(var t=[],o=0;31>o;o++)t.push(e);return t}function Ti(e,t,o){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-tn(t),e[t]=o}function ng(e,t){var o=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var a=e.eventTimes;for(e=e.expirationTimes;0<o;){var u=31-tn(o),d=1<<u;t[u]=0,a[u]=-1,e[u]=-1,o&=~d}}function Ml(e,t){var o=e.entangledLanes|=t;for(e=e.entanglements;o;){var a=31-tn(o),u=1<<a;u&t|e[a]&t&&(e[a]|=t),o&=~u}}var De=0;function Bd(e){return e&=-e,1<e?4<e?(e&268435455)!==0?16:536870912:4:1}var Ud,Tl,Hd,$d,Wd,Ol=!1,js=[],lr=null,ur=null,cr=null,Oi=new Map,Ni=new Map,dr=[],rg="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 submit".split(" ");function Vd(e,t){switch(e){case"focusin":case"focusout":lr=null;break;case"dragenter":case"dragleave":ur=null;break;case"mouseover":case"mouseout":cr=null;break;case"pointerover":case"pointerout":Oi.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ni.delete(t.pointerId)}}function _i(e,t,o,a,u,d){return e===null||e.nativeEvent!==d?(e={blockedOn:t,domEventName:o,eventSystemFlags:a,nativeEvent:d,targetContainers:[u]},t!==null&&(t=Qi(t),t!==null&&Tl(t)),e):(e.eventSystemFlags|=a,t=e.targetContainers,u!==null&&t.indexOf(u)===-1&&t.push(u),e)}function og(e,t,o,a,u){switch(t){case"focusin":return lr=_i(lr,e,t,o,a,u),!0;case"dragenter":return ur=_i(ur,e,t,o,a,u),!0;case"mouseover":return cr=_i(cr,e,t,o,a,u),!0;case"pointerover":var d=u.pointerId;return Oi.set(d,_i(Oi.get(d)||null,e,t,o,a,u)),!0;case"gotpointercapture":return d=u.pointerId,Ni.set(d,_i(Ni.get(d)||null,e,t,o,a,u)),!0}return!1}function Qd(e){var t=qr(e.target);if(t!==null){var o=Kr(t);if(o!==null){if(t=o.tag,t===13){if(t=Nd(o),t!==null){e.blockedOn=t,Wd(e.priority,function(){Hd(o)});return}}else if(t===3&&o.stateNode.current.memoizedState.isDehydrated){e.blockedOn=o.tag===3?o.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Bs(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var o=_l(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(o===null){o=e.nativeEvent;var a=new o.constructor(o.type,o);Ri=a,o.target.dispatchEvent(a),Ri=null}else return t=Qi(o),t!==null&&Tl(t),e.blockedOn=o,!1;t.shift()}return!0}function Kd(e,t,o){Bs(e)&&o.delete(t)}function ig(){Ol=!1,lr!==null&&Bs(lr)&&(lr=null),ur!==null&&Bs(ur)&&(ur=null),cr!==null&&Bs(cr)&&(cr=null),Oi.forEach(Kd),Ni.forEach(Kd)}function Li(e,t){e.blockedOn===t&&(e.blockedOn=null,Ol||(Ol=!0,r.unstable_scheduleCallback(r.unstable_NormalPriority,ig)))}function Ai(e){function t(u){return Li(u,e)}if(0<js.length){Li(js[0],e);for(var o=1;o<js.length;o++){var a=js[o];a.blockedOn===e&&(a.blockedOn=null)}}for(lr!==null&&Li(lr,e),ur!==null&&Li(ur,e),cr!==null&&Li(cr,e),Oi.forEach(t),Ni.forEach(t),o=0;o<dr.length;o++)a=dr[o],a.blockedOn===e&&(a.blockedOn=null);for(;0<dr.length&&(o=dr[0],o.blockedOn===null);)Qd(o),o.blockedOn===null&&dr.shift()}var To=L.ReactCurrentBatchConfig,Us=!0;function sg(e,t,o,a){var u=De,d=To.transition;To.transition=null;try{De=1,Nl(e,t,o,a)}finally{De=u,To.transition=d}}function ag(e,t,o,a){var u=De,d=To.transition;To.transition=null;try{De=4,Nl(e,t,o,a)}finally{De=u,To.transition=d}}function Nl(e,t,o,a){if(Us){var u=_l(e,t,o,a);if(u===null)Gl(e,t,a,Hs,o),Vd(e,a);else if(og(u,e,t,o,a))a.stopPropagation();else if(Vd(e,a),t&4&&-1<rg.indexOf(e)){for(;u!==null;){var d=Qi(u);if(d!==null&&Ud(d),d=_l(e,t,o,a),d===null&&Gl(e,t,a,Hs,o),d===u)break;u=d}u!==null&&a.stopPropagation()}else Gl(e,t,a,null,o)}}var Hs=null;function _l(e,t,o,a){if(Hs=null,e=Po(a),e=qr(e),e!==null)if(t=Kr(e),t===null)e=null;else if(o=t.tag,o===13){if(e=Nd(t),e!==null)return e;e=null}else if(o===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Hs=e,null}function qd(e){switch(e){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"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 1;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"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(qy()){case bl:return 1;case Fd:return 4;case As:case Gy:return 16;case zd:return 536870912;default:return 16}default:return 16}}var fr=null,Ll=null,$s=null;function Gd(){if($s)return $s;var e,t=Ll,o=t.length,a,u="value"in fr?fr.value:fr.textContent,d=u.length;for(e=0;e<o&&t[e]===u[e];e++);var v=o-e;for(a=1;a<=v&&t[o-a]===u[d-a];a++);return $s=u.slice(e,1<a?1-a:void 0)}function Ws(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Vs(){return!0}function Yd(){return!1}function It(e){function t(o,a,u,d,v){this._reactName=o,this._targetInst=u,this.type=a,this.nativeEvent=d,this.target=v,this.currentTarget=null;for(var E in e)e.hasOwnProperty(E)&&(o=e[E],this[E]=o?o(d):d[E]);return this.isDefaultPrevented=(d.defaultPrevented!=null?d.defaultPrevented:d.returnValue===!1)?Vs:Yd,this.isPropagationStopped=Yd,this}return Q(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var o=this.nativeEvent;o&&(o.preventDefault?o.preventDefault():typeof o.returnValue!="unknown"&&(o.returnValue=!1),this.isDefaultPrevented=Vs)},stopPropagation:function(){var o=this.nativeEvent;o&&(o.stopPropagation?o.stopPropagation():typeof o.cancelBubble!="unknown"&&(o.cancelBubble=!0),this.isPropagationStopped=Vs)},persist:function(){},isPersistent:Vs}),t}var Oo={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Al=It(Oo),Ii=Q({},Oo,{view:0,detail:0}),lg=It(Ii),Il,Dl,Di,Qs=Q({},Ii,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:zl,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Di&&(Di&&e.type==="mousemove"?(Il=e.screenX-Di.screenX,Dl=e.screenY-Di.screenY):Dl=Il=0,Di=e),Il)},movementY:function(e){return"movementY"in e?e.movementY:Dl}}),Xd=It(Qs),ug=Q({},Qs,{dataTransfer:0}),cg=It(ug),dg=Q({},Ii,{relatedTarget:0}),Fl=It(dg),fg=Q({},Oo,{animationName:0,elapsedTime:0,pseudoElement:0}),pg=It(fg),hg=Q({},Oo,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),mg=It(hg),vg=Q({},Oo,{data:0}),Zd=It(vg),yg={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},gg={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"},wg={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function xg(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=wg[e])?!!t[e]:!1}function zl(){return xg}var Sg=Q({},Ii,{key:function(e){if(e.key){var t=yg[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Ws(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?gg[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:zl,charCode:function(e){return e.type==="keypress"?Ws(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Ws(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Cg=It(Sg),kg=Q({},Qs,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Jd=It(kg),Eg=Q({},Ii,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:zl}),bg=It(Eg),Rg=Q({},Oo,{propertyName:0,elapsedTime:0,pseudoElement:0}),Pg=It(Rg),Mg=Q({},Qs,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Tg=It(Mg),Og=[9,13,27,32],jl=p&&"CompositionEvent"in window,Fi=null;p&&"documentMode"in document&&(Fi=document.documentMode);var Ng=p&&"TextEvent"in window&&!Fi,ef=p&&(!jl||Fi&&8<Fi&&11>=Fi),tf=" ",nf=!1;function rf(e,t){switch(e){case"keyup":return Og.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function of(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var No=!1;function _g(e,t){switch(e){case"compositionend":return of(t);case"keypress":return t.which!==32?null:(nf=!0,tf);case"textInput":return e=t.data,e===tf&&nf?null:e;default:return null}}function Lg(e,t){if(No)return e==="compositionend"||!jl&&rf(e,t)?(e=Gd(),$s=Ll=fr=null,No=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return ef&&t.locale!=="ko"?null:t.data;default:return null}}var Ag={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 sf(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Ag[e.type]:t==="textarea"}function af(e,t,o,a){Ns(a),t=Xs(t,"onChange"),0<t.length&&(o=new Al("onChange","change",null,o,a),e.push({event:o,listeners:t}))}var zi=null,ji=null;function Ig(e){bf(e,0)}function Ks(e){var t=Do(e);if(Oe(t))return e}function Dg(e,t){if(e==="change")return t}var lf=!1;if(p){var Bl;if(p){var Ul="oninput"in document;if(!Ul){var uf=document.createElement("div");uf.setAttribute("oninput","return;"),Ul=typeof uf.oninput=="function"}Bl=Ul}else Bl=!1;lf=Bl&&(!document.documentMode||9<document.documentMode)}function cf(){zi&&(zi.detachEvent("onpropertychange",df),ji=zi=null)}function df(e){if(e.propertyName==="value"&&Ks(ji)){var t=[];af(t,ji,e,Po(e)),Et(Ig,t)}}function Fg(e,t,o){e==="focusin"?(cf(),zi=t,ji=o,zi.attachEvent("onpropertychange",df)):e==="focusout"&&cf()}function zg(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Ks(ji)}function jg(e,t){if(e==="click")return Ks(t)}function Bg(e,t){if(e==="input"||e==="change")return Ks(t)}function Ug(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var nn=typeof Object.is=="function"?Object.is:Ug;function Bi(e,t){if(nn(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var o=Object.keys(e),a=Object.keys(t);if(o.length!==a.length)return!1;for(a=0;a<o.length;a++){var u=o[a];if(!h.call(t,u)||!nn(e[u],t[u]))return!1}return!0}function ff(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function pf(e,t){var o=ff(e);e=0;for(var a;o;){if(o.nodeType===3){if(a=e+o.textContent.length,e<=t&&a>=t)return{node:o,offset:t-e};e=a}e:{for(;o;){if(o.nextSibling){o=o.nextSibling;break e}o=o.parentNode}o=void 0}o=ff(o)}}function hf(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?hf(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function mf(){for(var e=window,t=Ye();t instanceof e.HTMLIFrameElement;){try{var o=typeof t.contentWindow.location.href=="string"}catch{o=!1}if(o)e=t.contentWindow;else break;t=Ye(e.document)}return t}function Hl(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Hg(e){var t=mf(),o=e.focusedElem,a=e.selectionRange;if(t!==o&&o&&o.ownerDocument&&hf(o.ownerDocument.documentElement,o)){if(a!==null&&Hl(o)){if(t=a.start,e=a.end,e===void 0&&(e=t),"selectionStart"in o)o.selectionStart=t,o.selectionEnd=Math.min(e,o.value.length);else if(e=(t=o.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var u=o.textContent.length,d=Math.min(a.start,u);a=a.end===void 0?d:Math.min(a.end,u),!e.extend&&d>a&&(u=a,a=d,d=u),u=pf(o,d);var v=pf(o,a);u&&v&&(e.rangeCount!==1||e.anchorNode!==u.node||e.anchorOffset!==u.offset||e.focusNode!==v.node||e.focusOffset!==v.offset)&&(t=t.createRange(),t.setStart(u.node,u.offset),e.removeAllRanges(),d>a?(e.addRange(t),e.extend(v.node,v.offset)):(t.setEnd(v.node,v.offset),e.addRange(t)))}}for(t=[],e=o;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof o.focus=="function"&&o.focus(),o=0;o<t.length;o++)e=t[o],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var $g=p&&"documentMode"in document&&11>=document.documentMode,_o=null,$l=null,Ui=null,Wl=!1;function vf(e,t,o){var a=o.window===o?o.document:o.nodeType===9?o:o.ownerDocument;Wl||_o==null||_o!==Ye(a)||(a=_o,"selectionStart"in a&&Hl(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}),Ui&&Bi(Ui,a)||(Ui=a,a=Xs($l,"onSelect"),0<a.length&&(t=new Al("onSelect","select",null,t,o),e.push({event:t,listeners:a}),t.target=_o)))}function qs(e,t){var o={};return o[e.toLowerCase()]=t.toLowerCase(),o["Webkit"+e]="webkit"+t,o["Moz"+e]="moz"+t,o}var Lo={animationend:qs("Animation","AnimationEnd"),animationiteration:qs("Animation","AnimationIteration"),animationstart:qs("Animation","AnimationStart"),transitionend:qs("Transition","TransitionEnd")},Vl={},yf={};p&&(yf=document.createElement("div").style,"AnimationEvent"in window||(delete Lo.animationend.animation,delete Lo.animationiteration.animation,delete Lo.animationstart.animation),"TransitionEvent"in window||delete Lo.transitionend.transition);function Gs(e){if(Vl[e])return Vl[e];if(!Lo[e])return e;var t=Lo[e],o;for(o in t)if(t.hasOwnProperty(o)&&o in yf)return Vl[e]=t[o];return e}var gf=Gs("animationend"),wf=Gs("animationiteration"),xf=Gs("animationstart"),Sf=Gs("transitionend"),Cf=new Map,kf="abort auxClick 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(" ");function pr(e,t){Cf.set(e,t),c(t,[e])}for(var Ql=0;Ql<kf.length;Ql++){var Kl=kf[Ql],Wg=Kl.toLowerCase(),Vg=Kl[0].toUpperCase()+Kl.slice(1);pr(Wg,"on"+Vg)}pr(gf,"onAnimationEnd"),pr(wf,"onAnimationIteration"),pr(xf,"onAnimationStart"),pr("dblclick","onDoubleClick"),pr("focusin","onFocus"),pr("focusout","onBlur"),pr(Sf,"onTransitionEnd"),f("onMouseEnter",["mouseout","mouseover"]),f("onMouseLeave",["mouseout","mouseover"]),f("onPointerEnter",["pointerout","pointerover"]),f("onPointerLeave",["pointerout","pointerover"]),c("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),c("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),c("onBeforeInput",["compositionend","keypress","textInput","paste"]),c("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Hi="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(" "),Qg=new Set("cancel close invalid load scroll toggle".split(" ").concat(Hi));function Ef(e,t,o){var a=e.type||"unknown-event";e.currentTarget=o,Wy(a,t,void 0,e),e.currentTarget=null}function bf(e,t){t=(t&4)!==0;for(var o=0;o<e.length;o++){var a=e[o],u=a.event;a=a.listeners;e:{var d=void 0;if(t)for(var v=a.length-1;0<=v;v--){var E=a[v],M=E.instance,D=E.currentTarget;if(E=E.listener,M!==d&&u.isPropagationStopped())break e;Ef(u,E,D),d=M}else for(v=0;v<a.length;v++){if(E=a[v],M=E.instance,D=E.currentTarget,E=E.listener,M!==d&&u.isPropagationStopped())break e;Ef(u,E,D),d=M}}}if(Ls)throw e=El,Ls=!1,El=null,e}function Be(e,t){var o=t[tu];o===void 0&&(o=t[tu]=new Set);var a=e+"__bubble";o.has(a)||(Rf(t,e,2,!1),o.add(a))}function ql(e,t,o){var a=0;t&&(a|=4),Rf(o,e,a,t)}var Ys="_reactListening"+Math.random().toString(36).slice(2);function $i(e){if(!e[Ys]){e[Ys]=!0,s.forEach(function(o){o!=="selectionchange"&&(Qg.has(o)||ql(o,!1,e),ql(o,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Ys]||(t[Ys]=!0,ql("selectionchange",!1,t))}}function Rf(e,t,o,a){switch(qd(t)){case 1:var u=sg;break;case 4:u=ag;break;default:u=Nl}o=u.bind(null,t,o,e),u=void 0,!en||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(u=!0),a?u!==void 0?e.addEventListener(t,o,{capture:!0,passive:u}):e.addEventListener(t,o,!0):u!==void 0?e.addEventListener(t,o,{passive:u}):e.addEventListener(t,o,!1)}function Gl(e,t,o,a,u){var d=a;if((t&1)===0&&(t&2)===0&&a!==null)e:for(;;){if(a===null)return;var v=a.tag;if(v===3||v===4){var E=a.stateNode.containerInfo;if(E===u||E.nodeType===8&&E.parentNode===u)break;if(v===4)for(v=a.return;v!==null;){var M=v.tag;if((M===3||M===4)&&(M=v.stateNode.containerInfo,M===u||M.nodeType===8&&M.parentNode===u))return;v=v.return}for(;E!==null;){if(v=qr(E),v===null)return;if(M=v.tag,M===5||M===6){a=d=v;continue e}E=E.parentNode}}a=a.return}Et(function(){var D=d,W=Po(o),K=[];e:{var $=Cf.get(e);if($!==void 0){var oe=Al,le=e;switch(e){case"keypress":if(Ws(o)===0)break e;case"keydown":case"keyup":oe=Cg;break;case"focusin":le="focus",oe=Fl;break;case"focusout":le="blur",oe=Fl;break;case"beforeblur":case"afterblur":oe=Fl;break;case"click":if(o.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":oe=Xd;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":oe=cg;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":oe=bg;break;case gf:case wf:case xf:oe=pg;break;case Sf:oe=Pg;break;case"scroll":oe=lg;break;case"wheel":oe=Tg;break;case"copy":case"cut":case"paste":oe=mg;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":oe=Jd}var ce=(t&4)!==0,Ze=!ce&&e==="scroll",A=ce?$!==null?$+"Capture":null:$;ce=[];for(var _=D,I;_!==null;){I=_;var Y=I.stateNode;if(I.tag===5&&Y!==null&&(I=Y,A!==null&&(Y=bt(_,A),Y!=null&&ce.push(Wi(_,Y,I)))),Ze)break;_=_.return}0<ce.length&&($=new oe($,le,null,o,W),K.push({event:$,listeners:ce}))}}if((t&7)===0){e:{if($=e==="mouseover"||e==="pointerover",oe=e==="mouseout"||e==="pointerout",$&&o!==Ri&&(le=o.relatedTarget||o.fromElement)&&(qr(le)||le[Bn]))break e;if((oe||$)&&($=W.window===W?W:($=W.ownerDocument)?$.defaultView||$.parentWindow:window,oe?(le=o.relatedTarget||o.toElement,oe=D,le=le?qr(le):null,le!==null&&(Ze=Kr(le),le!==Ze||le.tag!==5&&le.tag!==6)&&(le=null)):(oe=null,le=D),oe!==le)){if(ce=Xd,Y="onMouseLeave",A="onMouseEnter",_="mouse",(e==="pointerout"||e==="pointerover")&&(ce=Jd,Y="onPointerLeave",A="onPointerEnter",_="pointer"),Ze=oe==null?$:Do(oe),I=le==null?$:Do(le),$=new ce(Y,_+"leave",oe,o,W),$.target=Ze,$.relatedTarget=I,Y=null,qr(W)===D&&(ce=new ce(A,_+"enter",le,o,W),ce.target=I,ce.relatedTarget=Ze,Y=ce),Ze=Y,oe&&le)t:{for(ce=oe,A=le,_=0,I=ce;I;I=Ao(I))_++;for(I=0,Y=A;Y;Y=Ao(Y))I++;for(;0<_-I;)ce=Ao(ce),_--;for(;0<I-_;)A=Ao(A),I--;for(;_--;){if(ce===A||A!==null&&ce===A.alternate)break t;ce=Ao(ce),A=Ao(A)}ce=null}else ce=null;oe!==null&&Pf(K,$,oe,ce,!1),le!==null&&Ze!==null&&Pf(K,Ze,le,ce,!0)}}e:{if($=D?Do(D):window,oe=$.nodeName&&$.nodeName.toLowerCase(),oe==="select"||oe==="input"&&$.type==="file")var fe=Dg;else if(sf($))if(lf)fe=Bg;else{fe=zg;var ge=Fg}else(oe=$.nodeName)&&oe.toLowerCase()==="input"&&($.type==="checkbox"||$.type==="radio")&&(fe=jg);if(fe&&(fe=fe(e,D))){af(K,fe,o,W);break e}ge&&ge(e,$,D),e==="focusout"&&(ge=$._wrapperState)&&ge.controlled&&$.type==="number"&&wn($,"number",$.value)}switch(ge=D?Do(D):window,e){case"focusin":(sf(ge)||ge.contentEditable==="true")&&(_o=ge,$l=D,Ui=null);break;case"focusout":Ui=$l=_o=null;break;case"mousedown":Wl=!0;break;case"contextmenu":case"mouseup":case"dragend":Wl=!1,vf(K,o,W);break;case"selectionchange":if($g)break;case"keydown":case"keyup":vf(K,o,W)}var we;if(jl)e:{switch(e){case"compositionstart":var ke="onCompositionStart";break e;case"compositionend":ke="onCompositionEnd";break e;case"compositionupdate":ke="onCompositionUpdate";break e}ke=void 0}else No?rf(e,o)&&(ke="onCompositionEnd"):e==="keydown"&&o.keyCode===229&&(ke="onCompositionStart");ke&&(ef&&o.locale!=="ko"&&(No||ke!=="onCompositionStart"?ke==="onCompositionEnd"&&No&&(we=Gd()):(fr=W,Ll="value"in fr?fr.value:fr.textContent,No=!0)),ge=Xs(D,ke),0<ge.length&&(ke=new Zd(ke,e,null,o,W),K.push({event:ke,listeners:ge}),we?ke.data=we:(we=of(o),we!==null&&(ke.data=we)))),(we=Ng?_g(e,o):Lg(e,o))&&(D=Xs(D,"onBeforeInput"),0<D.length&&(W=new Zd("onBeforeInput","beforeinput",null,o,W),K.push({event:W,listeners:D}),W.data=we))}bf(K,t)})}function Wi(e,t,o){return{instance:e,listener:t,currentTarget:o}}function Xs(e,t){for(var o=t+"Capture",a=[];e!==null;){var u=e,d=u.stateNode;u.tag===5&&d!==null&&(u=d,d=bt(e,o),d!=null&&a.unshift(Wi(e,d,u)),d=bt(e,t),d!=null&&a.push(Wi(e,d,u))),e=e.return}return a}function Ao(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Pf(e,t,o,a,u){for(var d=t._reactName,v=[];o!==null&&o!==a;){var E=o,M=E.alternate,D=E.stateNode;if(M!==null&&M===a)break;E.tag===5&&D!==null&&(E=D,u?(M=bt(o,d),M!=null&&v.unshift(Wi(o,M,E))):u||(M=bt(o,d),M!=null&&v.push(Wi(o,M,E)))),o=o.return}v.length!==0&&e.push({event:t,listeners:v})}var Kg=/\r\n?/g,qg=/\u0000|\uFFFD/g;function Mf(e){return(typeof e=="string"?e:""+e).replace(Kg,`
|
|
38
|
-
`).replace(qg,"")}function Zs(e,t,o){if(t=Mf(t),Mf(e)!==t&&o)throw Error(i(425))}function Js(){}var Yl=null,Xl=null;function Zl(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Jl=typeof setTimeout=="function"?setTimeout:void 0,Gg=typeof clearTimeout=="function"?clearTimeout:void 0,Tf=typeof Promise=="function"?Promise:void 0,Yg=typeof queueMicrotask=="function"?queueMicrotask:typeof Tf<"u"?function(e){return Tf.resolve(null).then(e).catch(Xg)}:Jl;function Xg(e){setTimeout(function(){throw e})}function eu(e,t){var o=t,a=0;do{var u=o.nextSibling;if(e.removeChild(o),u&&u.nodeType===8)if(o=u.data,o==="/$"){if(a===0){e.removeChild(u),Ai(t);return}a--}else o!=="$"&&o!=="$?"&&o!=="$!"||a++;o=u}while(o);Ai(t)}function hr(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function Of(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var o=e.data;if(o==="$"||o==="$!"||o==="$?"){if(t===0)return e;t--}else o==="/$"&&t++}e=e.previousSibling}return null}var Io=Math.random().toString(36).slice(2),Pn="__reactFiber$"+Io,Vi="__reactProps$"+Io,Bn="__reactContainer$"+Io,tu="__reactEvents$"+Io,Zg="__reactListeners$"+Io,Jg="__reactHandles$"+Io;function qr(e){var t=e[Pn];if(t)return t;for(var o=e.parentNode;o;){if(t=o[Bn]||o[Pn]){if(o=t.alternate,t.child!==null||o!==null&&o.child!==null)for(e=Of(e);e!==null;){if(o=e[Pn])return o;e=Of(e)}return t}e=o,o=e.parentNode}return null}function Qi(e){return e=e[Pn]||e[Bn],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Do(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(i(33))}function ea(e){return e[Vi]||null}var nu=[],Fo=-1;function mr(e){return{current:e}}function Ue(e){0>Fo||(e.current=nu[Fo],nu[Fo]=null,Fo--)}function ze(e,t){Fo++,nu[Fo]=e.current,e.current=t}var vr={},ft=mr(vr),Rt=mr(!1),Gr=vr;function zo(e,t){var o=e.type.contextTypes;if(!o)return vr;var a=e.stateNode;if(a&&a.__reactInternalMemoizedUnmaskedChildContext===t)return a.__reactInternalMemoizedMaskedChildContext;var u={},d;for(d in o)u[d]=t[d];return a&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=u),u}function Pt(e){return e=e.childContextTypes,e!=null}function ta(){Ue(Rt),Ue(ft)}function Nf(e,t,o){if(ft.current!==vr)throw Error(i(168));ze(ft,t),ze(Rt,o)}function _f(e,t,o){var a=e.stateNode;if(t=t.childContextTypes,typeof a.getChildContext!="function")return o;a=a.getChildContext();for(var u in a)if(!(u in t))throw Error(i(108,q(e)||"Unknown",u));return Q({},o,a)}function na(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||vr,Gr=ft.current,ze(ft,e),ze(Rt,Rt.current),!0}function Lf(e,t,o){var a=e.stateNode;if(!a)throw Error(i(169));o?(e=_f(e,t,Gr),a.__reactInternalMemoizedMergedChildContext=e,Ue(Rt),Ue(ft),ze(ft,e)):Ue(Rt),ze(Rt,o)}var Un=null,ra=!1,ru=!1;function Af(e){Un===null?Un=[e]:Un.push(e)}function e0(e){ra=!0,Af(e)}function yr(){if(!ru&&Un!==null){ru=!0;var e=0,t=De;try{var o=Un;for(De=1;e<o.length;e++){var a=o[e];do a=a(!0);while(a!==null)}Un=null,ra=!1}catch(u){throw Un!==null&&(Un=Un.slice(e+1)),Id(bl,yr),u}finally{De=t,ru=!1}}return null}var jo=[],Bo=0,oa=null,ia=0,$t=[],Wt=0,Yr=null,Hn=1,$n="";function Xr(e,t){jo[Bo++]=ia,jo[Bo++]=oa,oa=e,ia=t}function If(e,t,o){$t[Wt++]=Hn,$t[Wt++]=$n,$t[Wt++]=Yr,Yr=e;var a=Hn;e=$n;var u=32-tn(a)-1;a&=~(1<<u),o+=1;var d=32-tn(t)+u;if(30<d){var v=u-u%5;d=(a&(1<<v)-1).toString(32),a>>=v,u-=v,Hn=1<<32-tn(t)+u|o<<u|a,$n=d+e}else Hn=1<<d|o<<u|a,$n=e}function ou(e){e.return!==null&&(Xr(e,1),If(e,1,0))}function iu(e){for(;e===oa;)oa=jo[--Bo],jo[Bo]=null,ia=jo[--Bo],jo[Bo]=null;for(;e===Yr;)Yr=$t[--Wt],$t[Wt]=null,$n=$t[--Wt],$t[Wt]=null,Hn=$t[--Wt],$t[Wt]=null}var Dt=null,Ft=null,We=!1,rn=null;function Df(e,t){var o=qt(5,null,null,0);o.elementType="DELETED",o.stateNode=t,o.return=e,t=e.deletions,t===null?(e.deletions=[o],e.flags|=16):t.push(o)}function Ff(e,t){switch(e.tag){case 5:var o=e.type;return t=t.nodeType!==1||o.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,Dt=e,Ft=hr(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,Dt=e,Ft=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(o=Yr!==null?{id:Hn,overflow:$n}:null,e.memoizedState={dehydrated:t,treeContext:o,retryLane:1073741824},o=qt(18,null,null,0),o.stateNode=t,o.return=e,e.child=o,Dt=e,Ft=null,!0):!1;default:return!1}}function su(e){return(e.mode&1)!==0&&(e.flags&128)===0}function au(e){if(We){var t=Ft;if(t){var o=t;if(!Ff(e,t)){if(su(e))throw Error(i(418));t=hr(o.nextSibling);var a=Dt;t&&Ff(e,t)?Df(a,o):(e.flags=e.flags&-4097|2,We=!1,Dt=e)}}else{if(su(e))throw Error(i(418));e.flags=e.flags&-4097|2,We=!1,Dt=e}}}function zf(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Dt=e}function sa(e){if(e!==Dt)return!1;if(!We)return zf(e),We=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Zl(e.type,e.memoizedProps)),t&&(t=Ft)){if(su(e))throw jf(),Error(i(418));for(;t;)Df(e,t),t=hr(t.nextSibling)}if(zf(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(i(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var o=e.data;if(o==="/$"){if(t===0){Ft=hr(e.nextSibling);break e}t--}else o!=="$"&&o!=="$!"&&o!=="$?"||t++}e=e.nextSibling}Ft=null}}else Ft=Dt?hr(e.stateNode.nextSibling):null;return!0}function jf(){for(var e=Ft;e;)e=hr(e.nextSibling)}function Uo(){Ft=Dt=null,We=!1}function lu(e){rn===null?rn=[e]:rn.push(e)}var t0=L.ReactCurrentBatchConfig;function Ki(e,t,o){if(e=o.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(o._owner){if(o=o._owner,o){if(o.tag!==1)throw Error(i(309));var a=o.stateNode}if(!a)throw Error(i(147,e));var u=a,d=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===d?t.ref:(t=function(v){var E=u.refs;v===null?delete E[d]:E[d]=v},t._stringRef=d,t)}if(typeof e!="string")throw Error(i(284));if(!o._owner)throw Error(i(290,e))}return e}function aa(e,t){throw e=Object.prototype.toString.call(t),Error(i(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Bf(e){var t=e._init;return t(e._payload)}function Uf(e){function t(A,_){if(e){var I=A.deletions;I===null?(A.deletions=[_],A.flags|=16):I.push(_)}}function o(A,_){if(!e)return null;for(;_!==null;)t(A,_),_=_.sibling;return null}function a(A,_){for(A=new Map;_!==null;)_.key!==null?A.set(_.key,_):A.set(_.index,_),_=_.sibling;return A}function u(A,_){return A=br(A,_),A.index=0,A.sibling=null,A}function d(A,_,I){return A.index=I,e?(I=A.alternate,I!==null?(I=I.index,I<_?(A.flags|=2,_):I):(A.flags|=2,_)):(A.flags|=1048576,_)}function v(A){return e&&A.alternate===null&&(A.flags|=2),A}function E(A,_,I,Y){return _===null||_.tag!==6?(_=Ju(I,A.mode,Y),_.return=A,_):(_=u(_,I),_.return=A,_)}function M(A,_,I,Y){var fe=I.type;return fe===H?W(A,_,I.props.children,Y,I.key):_!==null&&(_.elementType===fe||typeof fe=="object"&&fe!==null&&fe.$$typeof===ue&&Bf(fe)===_.type)?(Y=u(_,I.props),Y.ref=Ki(A,_,I),Y.return=A,Y):(Y=Na(I.type,I.key,I.props,null,A.mode,Y),Y.ref=Ki(A,_,I),Y.return=A,Y)}function D(A,_,I,Y){return _===null||_.tag!==4||_.stateNode.containerInfo!==I.containerInfo||_.stateNode.implementation!==I.implementation?(_=ec(I,A.mode,Y),_.return=A,_):(_=u(_,I.children||[]),_.return=A,_)}function W(A,_,I,Y,fe){return _===null||_.tag!==7?(_=io(I,A.mode,Y,fe),_.return=A,_):(_=u(_,I),_.return=A,_)}function K(A,_,I){if(typeof _=="string"&&_!==""||typeof _=="number")return _=Ju(""+_,A.mode,I),_.return=A,_;if(typeof _=="object"&&_!==null){switch(_.$$typeof){case z:return I=Na(_.type,_.key,_.props,null,A.mode,I),I.ref=Ki(A,null,_),I.return=A,I;case U:return _=ec(_,A.mode,I),_.return=A,_;case ue:var Y=_._init;return K(A,Y(_._payload),I)}if(sr(_)||B(_))return _=io(_,A.mode,I,null),_.return=A,_;aa(A,_)}return null}function $(A,_,I,Y){var fe=_!==null?_.key:null;if(typeof I=="string"&&I!==""||typeof I=="number")return fe!==null?null:E(A,_,""+I,Y);if(typeof I=="object"&&I!==null){switch(I.$$typeof){case z:return I.key===fe?M(A,_,I,Y):null;case U:return I.key===fe?D(A,_,I,Y):null;case ue:return fe=I._init,$(A,_,fe(I._payload),Y)}if(sr(I)||B(I))return fe!==null?null:W(A,_,I,Y,null);aa(A,I)}return null}function oe(A,_,I,Y,fe){if(typeof Y=="string"&&Y!==""||typeof Y=="number")return A=A.get(I)||null,E(_,A,""+Y,fe);if(typeof Y=="object"&&Y!==null){switch(Y.$$typeof){case z:return A=A.get(Y.key===null?I:Y.key)||null,M(_,A,Y,fe);case U:return A=A.get(Y.key===null?I:Y.key)||null,D(_,A,Y,fe);case ue:var ge=Y._init;return oe(A,_,I,ge(Y._payload),fe)}if(sr(Y)||B(Y))return A=A.get(I)||null,W(_,A,Y,fe,null);aa(_,Y)}return null}function le(A,_,I,Y){for(var fe=null,ge=null,we=_,ke=_=0,st=null;we!==null&&ke<I.length;ke++){we.index>ke?(st=we,we=null):st=we.sibling;var Le=$(A,we,I[ke],Y);if(Le===null){we===null&&(we=st);break}e&&we&&Le.alternate===null&&t(A,we),_=d(Le,_,ke),ge===null?fe=Le:ge.sibling=Le,ge=Le,we=st}if(ke===I.length)return o(A,we),We&&Xr(A,ke),fe;if(we===null){for(;ke<I.length;ke++)we=K(A,I[ke],Y),we!==null&&(_=d(we,_,ke),ge===null?fe=we:ge.sibling=we,ge=we);return We&&Xr(A,ke),fe}for(we=a(A,we);ke<I.length;ke++)st=oe(we,A,ke,I[ke],Y),st!==null&&(e&&st.alternate!==null&&we.delete(st.key===null?ke:st.key),_=d(st,_,ke),ge===null?fe=st:ge.sibling=st,ge=st);return e&&we.forEach(function(Rr){return t(A,Rr)}),We&&Xr(A,ke),fe}function ce(A,_,I,Y){var fe=B(I);if(typeof fe!="function")throw Error(i(150));if(I=fe.call(I),I==null)throw Error(i(151));for(var ge=fe=null,we=_,ke=_=0,st=null,Le=I.next();we!==null&&!Le.done;ke++,Le=I.next()){we.index>ke?(st=we,we=null):st=we.sibling;var Rr=$(A,we,Le.value,Y);if(Rr===null){we===null&&(we=st);break}e&&we&&Rr.alternate===null&&t(A,we),_=d(Rr,_,ke),ge===null?fe=Rr:ge.sibling=Rr,ge=Rr,we=st}if(Le.done)return o(A,we),We&&Xr(A,ke),fe;if(we===null){for(;!Le.done;ke++,Le=I.next())Le=K(A,Le.value,Y),Le!==null&&(_=d(Le,_,ke),ge===null?fe=Le:ge.sibling=Le,ge=Le);return We&&Xr(A,ke),fe}for(we=a(A,we);!Le.done;ke++,Le=I.next())Le=oe(we,A,ke,Le.value,Y),Le!==null&&(e&&Le.alternate!==null&&we.delete(Le.key===null?ke:Le.key),_=d(Le,_,ke),ge===null?fe=Le:ge.sibling=Le,ge=Le);return e&&we.forEach(function(A0){return t(A,A0)}),We&&Xr(A,ke),fe}function Ze(A,_,I,Y){if(typeof I=="object"&&I!==null&&I.type===H&&I.key===null&&(I=I.props.children),typeof I=="object"&&I!==null){switch(I.$$typeof){case z:e:{for(var fe=I.key,ge=_;ge!==null;){if(ge.key===fe){if(fe=I.type,fe===H){if(ge.tag===7){o(A,ge.sibling),_=u(ge,I.props.children),_.return=A,A=_;break e}}else if(ge.elementType===fe||typeof fe=="object"&&fe!==null&&fe.$$typeof===ue&&Bf(fe)===ge.type){o(A,ge.sibling),_=u(ge,I.props),_.ref=Ki(A,ge,I),_.return=A,A=_;break e}o(A,ge);break}else t(A,ge);ge=ge.sibling}I.type===H?(_=io(I.props.children,A.mode,Y,I.key),_.return=A,A=_):(Y=Na(I.type,I.key,I.props,null,A.mode,Y),Y.ref=Ki(A,_,I),Y.return=A,A=Y)}return v(A);case U:e:{for(ge=I.key;_!==null;){if(_.key===ge)if(_.tag===4&&_.stateNode.containerInfo===I.containerInfo&&_.stateNode.implementation===I.implementation){o(A,_.sibling),_=u(_,I.children||[]),_.return=A,A=_;break e}else{o(A,_);break}else t(A,_);_=_.sibling}_=ec(I,A.mode,Y),_.return=A,A=_}return v(A);case ue:return ge=I._init,Ze(A,_,ge(I._payload),Y)}if(sr(I))return le(A,_,I,Y);if(B(I))return ce(A,_,I,Y);aa(A,I)}return typeof I=="string"&&I!==""||typeof I=="number"?(I=""+I,_!==null&&_.tag===6?(o(A,_.sibling),_=u(_,I),_.return=A,A=_):(o(A,_),_=Ju(I,A.mode,Y),_.return=A,A=_),v(A)):o(A,_)}return Ze}var Ho=Uf(!0),Hf=Uf(!1),la=mr(null),ua=null,$o=null,uu=null;function cu(){uu=$o=ua=null}function du(e){var t=la.current;Ue(la),e._currentValue=t}function fu(e,t,o){for(;e!==null;){var a=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,a!==null&&(a.childLanes|=t)):a!==null&&(a.childLanes&t)!==t&&(a.childLanes|=t),e===o)break;e=e.return}}function Wo(e,t){ua=e,uu=$o=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!==0&&(Mt=!0),e.firstContext=null)}function Vt(e){var t=e._currentValue;if(uu!==e)if(e={context:e,memoizedValue:t,next:null},$o===null){if(ua===null)throw Error(i(308));$o=e,ua.dependencies={lanes:0,firstContext:e}}else $o=$o.next=e;return t}var Zr=null;function pu(e){Zr===null?Zr=[e]:Zr.push(e)}function $f(e,t,o,a){var u=t.interleaved;return u===null?(o.next=o,pu(t)):(o.next=u.next,u.next=o),t.interleaved=o,Wn(e,a)}function Wn(e,t){e.lanes|=t;var o=e.alternate;for(o!==null&&(o.lanes|=t),o=e,e=e.return;e!==null;)e.childLanes|=t,o=e.alternate,o!==null&&(o.childLanes|=t),o=e,e=e.return;return o.tag===3?o.stateNode:null}var gr=!1;function hu(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Wf(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Vn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function wr(e,t,o){var a=e.updateQueue;if(a===null)return null;if(a=a.shared,(_e&2)!==0){var u=a.pending;return u===null?t.next=t:(t.next=u.next,u.next=t),a.pending=t,Wn(e,o)}return u=a.interleaved,u===null?(t.next=t,pu(a)):(t.next=u.next,u.next=t),a.interleaved=t,Wn(e,o)}function ca(e,t,o){if(t=t.updateQueue,t!==null&&(t=t.shared,(o&4194240)!==0)){var a=t.lanes;a&=e.pendingLanes,o|=a,t.lanes=o,Ml(e,o)}}function Vf(e,t){var o=e.updateQueue,a=e.alternate;if(a!==null&&(a=a.updateQueue,o===a)){var u=null,d=null;if(o=o.firstBaseUpdate,o!==null){do{var v={eventTime:o.eventTime,lane:o.lane,tag:o.tag,payload:o.payload,callback:o.callback,next:null};d===null?u=d=v:d=d.next=v,o=o.next}while(o!==null);d===null?u=d=t:d=d.next=t}else u=d=t;o={baseState:a.baseState,firstBaseUpdate:u,lastBaseUpdate:d,shared:a.shared,effects:a.effects},e.updateQueue=o;return}e=o.lastBaseUpdate,e===null?o.firstBaseUpdate=t:e.next=t,o.lastBaseUpdate=t}function da(e,t,o,a){var u=e.updateQueue;gr=!1;var d=u.firstBaseUpdate,v=u.lastBaseUpdate,E=u.shared.pending;if(E!==null){u.shared.pending=null;var M=E,D=M.next;M.next=null,v===null?d=D:v.next=D,v=M;var W=e.alternate;W!==null&&(W=W.updateQueue,E=W.lastBaseUpdate,E!==v&&(E===null?W.firstBaseUpdate=D:E.next=D,W.lastBaseUpdate=M))}if(d!==null){var K=u.baseState;v=0,W=D=M=null,E=d;do{var $=E.lane,oe=E.eventTime;if((a&$)===$){W!==null&&(W=W.next={eventTime:oe,lane:0,tag:E.tag,payload:E.payload,callback:E.callback,next:null});e:{var le=e,ce=E;switch($=t,oe=o,ce.tag){case 1:if(le=ce.payload,typeof le=="function"){K=le.call(oe,K,$);break e}K=le;break e;case 3:le.flags=le.flags&-65537|128;case 0:if(le=ce.payload,$=typeof le=="function"?le.call(oe,K,$):le,$==null)break e;K=Q({},K,$);break e;case 2:gr=!0}}E.callback!==null&&E.lane!==0&&(e.flags|=64,$=u.effects,$===null?u.effects=[E]:$.push(E))}else oe={eventTime:oe,lane:$,tag:E.tag,payload:E.payload,callback:E.callback,next:null},W===null?(D=W=oe,M=K):W=W.next=oe,v|=$;if(E=E.next,E===null){if(E=u.shared.pending,E===null)break;$=E,E=$.next,$.next=null,u.lastBaseUpdate=$,u.shared.pending=null}}while(!0);if(W===null&&(M=K),u.baseState=M,u.firstBaseUpdate=D,u.lastBaseUpdate=W,t=u.shared.interleaved,t!==null){u=t;do v|=u.lane,u=u.next;while(u!==t)}else d===null&&(u.shared.lanes=0);to|=v,e.lanes=v,e.memoizedState=K}}function Qf(e,t,o){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var a=e[t],u=a.callback;if(u!==null){if(a.callback=null,a=o,typeof u!="function")throw Error(i(191,u));u.call(a)}}}var qi={},Mn=mr(qi),Gi=mr(qi),Yi=mr(qi);function Jr(e){if(e===qi)throw Error(i(174));return e}function mu(e,t){switch(ze(Yi,t),ze(Gi,e),ze(Mn,qi),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Sn(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Sn(t,e)}Ue(Mn),ze(Mn,t)}function Vo(){Ue(Mn),Ue(Gi),Ue(Yi)}function Kf(e){Jr(Yi.current);var t=Jr(Mn.current),o=Sn(t,e.type);t!==o&&(ze(Gi,e),ze(Mn,o))}function vu(e){Gi.current===e&&(Ue(Mn),Ue(Gi))}var Qe=mr(0);function fa(e){for(var t=e;t!==null;){if(t.tag===13){var o=t.memoizedState;if(o!==null&&(o=o.dehydrated,o===null||o.data==="$?"||o.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var yu=[];function gu(){for(var e=0;e<yu.length;e++)yu[e]._workInProgressVersionPrimary=null;yu.length=0}var pa=L.ReactCurrentDispatcher,wu=L.ReactCurrentBatchConfig,eo=0,Ke=null,tt=null,ot=null,ha=!1,Xi=!1,Zi=0,n0=0;function pt(){throw Error(i(321))}function xu(e,t){if(t===null)return!1;for(var o=0;o<t.length&&o<e.length;o++)if(!nn(e[o],t[o]))return!1;return!0}function Su(e,t,o,a,u,d){if(eo=d,Ke=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,pa.current=e===null||e.memoizedState===null?s0:a0,e=o(a,u),Xi){d=0;do{if(Xi=!1,Zi=0,25<=d)throw Error(i(301));d+=1,ot=tt=null,t.updateQueue=null,pa.current=l0,e=o(a,u)}while(Xi)}if(pa.current=ya,t=tt!==null&&tt.next!==null,eo=0,ot=tt=Ke=null,ha=!1,t)throw Error(i(300));return e}function Cu(){var e=Zi!==0;return Zi=0,e}function Tn(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ot===null?Ke.memoizedState=ot=e:ot=ot.next=e,ot}function Qt(){if(tt===null){var e=Ke.alternate;e=e!==null?e.memoizedState:null}else e=tt.next;var t=ot===null?Ke.memoizedState:ot.next;if(t!==null)ot=t,tt=e;else{if(e===null)throw Error(i(310));tt=e,e={memoizedState:tt.memoizedState,baseState:tt.baseState,baseQueue:tt.baseQueue,queue:tt.queue,next:null},ot===null?Ke.memoizedState=ot=e:ot=ot.next=e}return ot}function Ji(e,t){return typeof t=="function"?t(e):t}function ku(e){var t=Qt(),o=t.queue;if(o===null)throw Error(i(311));o.lastRenderedReducer=e;var a=tt,u=a.baseQueue,d=o.pending;if(d!==null){if(u!==null){var v=u.next;u.next=d.next,d.next=v}a.baseQueue=u=d,o.pending=null}if(u!==null){d=u.next,a=a.baseState;var E=v=null,M=null,D=d;do{var W=D.lane;if((eo&W)===W)M!==null&&(M=M.next={lane:0,action:D.action,hasEagerState:D.hasEagerState,eagerState:D.eagerState,next:null}),a=D.hasEagerState?D.eagerState:e(a,D.action);else{var K={lane:W,action:D.action,hasEagerState:D.hasEagerState,eagerState:D.eagerState,next:null};M===null?(E=M=K,v=a):M=M.next=K,Ke.lanes|=W,to|=W}D=D.next}while(D!==null&&D!==d);M===null?v=a:M.next=E,nn(a,t.memoizedState)||(Mt=!0),t.memoizedState=a,t.baseState=v,t.baseQueue=M,o.lastRenderedState=a}if(e=o.interleaved,e!==null){u=e;do d=u.lane,Ke.lanes|=d,to|=d,u=u.next;while(u!==e)}else u===null&&(o.lanes=0);return[t.memoizedState,o.dispatch]}function Eu(e){var t=Qt(),o=t.queue;if(o===null)throw Error(i(311));o.lastRenderedReducer=e;var a=o.dispatch,u=o.pending,d=t.memoizedState;if(u!==null){o.pending=null;var v=u=u.next;do d=e(d,v.action),v=v.next;while(v!==u);nn(d,t.memoizedState)||(Mt=!0),t.memoizedState=d,t.baseQueue===null&&(t.baseState=d),o.lastRenderedState=d}return[d,a]}function qf(){}function Gf(e,t){var o=Ke,a=Qt(),u=t(),d=!nn(a.memoizedState,u);if(d&&(a.memoizedState=u,Mt=!0),a=a.queue,bu(Zf.bind(null,o,a,e),[e]),a.getSnapshot!==t||d||ot!==null&&ot.memoizedState.tag&1){if(o.flags|=2048,es(9,Xf.bind(null,o,a,u,t),void 0,null),it===null)throw Error(i(349));(eo&30)!==0||Yf(o,t,u)}return u}function Yf(e,t,o){e.flags|=16384,e={getSnapshot:t,value:o},t=Ke.updateQueue,t===null?(t={lastEffect:null,stores:null},Ke.updateQueue=t,t.stores=[e]):(o=t.stores,o===null?t.stores=[e]:o.push(e))}function Xf(e,t,o,a){t.value=o,t.getSnapshot=a,Jf(t)&&ep(e)}function Zf(e,t,o){return o(function(){Jf(t)&&ep(e)})}function Jf(e){var t=e.getSnapshot;e=e.value;try{var o=t();return!nn(e,o)}catch{return!0}}function ep(e){var t=Wn(e,1);t!==null&&ln(t,e,1,-1)}function tp(e){var t=Tn();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Ji,lastRenderedState:e},t.queue=e,e=e.dispatch=i0.bind(null,Ke,e),[t.memoizedState,e]}function es(e,t,o,a){return e={tag:e,create:t,destroy:o,deps:a,next:null},t=Ke.updateQueue,t===null?(t={lastEffect:null,stores:null},Ke.updateQueue=t,t.lastEffect=e.next=e):(o=t.lastEffect,o===null?t.lastEffect=e.next=e:(a=o.next,o.next=e,e.next=a,t.lastEffect=e)),e}function np(){return Qt().memoizedState}function ma(e,t,o,a){var u=Tn();Ke.flags|=e,u.memoizedState=es(1|t,o,void 0,a===void 0?null:a)}function va(e,t,o,a){var u=Qt();a=a===void 0?null:a;var d=void 0;if(tt!==null){var v=tt.memoizedState;if(d=v.destroy,a!==null&&xu(a,v.deps)){u.memoizedState=es(t,o,d,a);return}}Ke.flags|=e,u.memoizedState=es(1|t,o,d,a)}function rp(e,t){return ma(8390656,8,e,t)}function bu(e,t){return va(2048,8,e,t)}function op(e,t){return va(4,2,e,t)}function ip(e,t){return va(4,4,e,t)}function sp(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function ap(e,t,o){return o=o!=null?o.concat([e]):null,va(4,4,sp.bind(null,t,e),o)}function Ru(){}function lp(e,t){var o=Qt();t=t===void 0?null:t;var a=o.memoizedState;return a!==null&&t!==null&&xu(t,a[1])?a[0]:(o.memoizedState=[e,t],e)}function up(e,t){var o=Qt();t=t===void 0?null:t;var a=o.memoizedState;return a!==null&&t!==null&&xu(t,a[1])?a[0]:(e=e(),o.memoizedState=[e,t],e)}function cp(e,t,o){return(eo&21)===0?(e.baseState&&(e.baseState=!1,Mt=!0),e.memoizedState=o):(nn(o,t)||(o=jd(),Ke.lanes|=o,to|=o,e.baseState=!0),t)}function r0(e,t){var o=De;De=o!==0&&4>o?o:4,e(!0);var a=wu.transition;wu.transition={};try{e(!1),t()}finally{De=o,wu.transition=a}}function dp(){return Qt().memoizedState}function o0(e,t,o){var a=kr(e);if(o={lane:a,action:o,hasEagerState:!1,eagerState:null,next:null},fp(e))pp(t,o);else if(o=$f(e,t,o,a),o!==null){var u=St();ln(o,e,a,u),hp(o,t,a)}}function i0(e,t,o){var a=kr(e),u={lane:a,action:o,hasEagerState:!1,eagerState:null,next:null};if(fp(e))pp(t,u);else{var d=e.alternate;if(e.lanes===0&&(d===null||d.lanes===0)&&(d=t.lastRenderedReducer,d!==null))try{var v=t.lastRenderedState,E=d(v,o);if(u.hasEagerState=!0,u.eagerState=E,nn(E,v)){var M=t.interleaved;M===null?(u.next=u,pu(t)):(u.next=M.next,M.next=u),t.interleaved=u;return}}catch{}finally{}o=$f(e,t,u,a),o!==null&&(u=St(),ln(o,e,a,u),hp(o,t,a))}}function fp(e){var t=e.alternate;return e===Ke||t!==null&&t===Ke}function pp(e,t){Xi=ha=!0;var o=e.pending;o===null?t.next=t:(t.next=o.next,o.next=t),e.pending=t}function hp(e,t,o){if((o&4194240)!==0){var a=t.lanes;a&=e.pendingLanes,o|=a,t.lanes=o,Ml(e,o)}}var ya={readContext:Vt,useCallback:pt,useContext:pt,useEffect:pt,useImperativeHandle:pt,useInsertionEffect:pt,useLayoutEffect:pt,useMemo:pt,useReducer:pt,useRef:pt,useState:pt,useDebugValue:pt,useDeferredValue:pt,useTransition:pt,useMutableSource:pt,useSyncExternalStore:pt,useId:pt,unstable_isNewReconciler:!1},s0={readContext:Vt,useCallback:function(e,t){return Tn().memoizedState=[e,t===void 0?null:t],e},useContext:Vt,useEffect:rp,useImperativeHandle:function(e,t,o){return o=o!=null?o.concat([e]):null,ma(4194308,4,sp.bind(null,t,e),o)},useLayoutEffect:function(e,t){return ma(4194308,4,e,t)},useInsertionEffect:function(e,t){return ma(4,2,e,t)},useMemo:function(e,t){var o=Tn();return t=t===void 0?null:t,e=e(),o.memoizedState=[e,t],e},useReducer:function(e,t,o){var a=Tn();return t=o!==void 0?o(t):t,a.memoizedState=a.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},a.queue=e,e=e.dispatch=o0.bind(null,Ke,e),[a.memoizedState,e]},useRef:function(e){var t=Tn();return e={current:e},t.memoizedState=e},useState:tp,useDebugValue:Ru,useDeferredValue:function(e){return Tn().memoizedState=e},useTransition:function(){var e=tp(!1),t=e[0];return e=r0.bind(null,e[1]),Tn().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,o){var a=Ke,u=Tn();if(We){if(o===void 0)throw Error(i(407));o=o()}else{if(o=t(),it===null)throw Error(i(349));(eo&30)!==0||Yf(a,t,o)}u.memoizedState=o;var d={value:o,getSnapshot:t};return u.queue=d,rp(Zf.bind(null,a,d,e),[e]),a.flags|=2048,es(9,Xf.bind(null,a,d,o,t),void 0,null),o},useId:function(){var e=Tn(),t=it.identifierPrefix;if(We){var o=$n,a=Hn;o=(a&~(1<<32-tn(a)-1)).toString(32)+o,t=":"+t+"R"+o,o=Zi++,0<o&&(t+="H"+o.toString(32)),t+=":"}else o=n0++,t=":"+t+"r"+o.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},a0={readContext:Vt,useCallback:lp,useContext:Vt,useEffect:bu,useImperativeHandle:ap,useInsertionEffect:op,useLayoutEffect:ip,useMemo:up,useReducer:ku,useRef:np,useState:function(){return ku(Ji)},useDebugValue:Ru,useDeferredValue:function(e){var t=Qt();return cp(t,tt.memoizedState,e)},useTransition:function(){var e=ku(Ji)[0],t=Qt().memoizedState;return[e,t]},useMutableSource:qf,useSyncExternalStore:Gf,useId:dp,unstable_isNewReconciler:!1},l0={readContext:Vt,useCallback:lp,useContext:Vt,useEffect:bu,useImperativeHandle:ap,useInsertionEffect:op,useLayoutEffect:ip,useMemo:up,useReducer:Eu,useRef:np,useState:function(){return Eu(Ji)},useDebugValue:Ru,useDeferredValue:function(e){var t=Qt();return tt===null?t.memoizedState=e:cp(t,tt.memoizedState,e)},useTransition:function(){var e=Eu(Ji)[0],t=Qt().memoizedState;return[e,t]},useMutableSource:qf,useSyncExternalStore:Gf,useId:dp,unstable_isNewReconciler:!1};function on(e,t){if(e&&e.defaultProps){t=Q({},t),e=e.defaultProps;for(var o in e)t[o]===void 0&&(t[o]=e[o]);return t}return t}function Pu(e,t,o,a){t=e.memoizedState,o=o(a,t),o=o==null?t:Q({},t,o),e.memoizedState=o,e.lanes===0&&(e.updateQueue.baseState=o)}var ga={isMounted:function(e){return(e=e._reactInternals)?Kr(e)===e:!1},enqueueSetState:function(e,t,o){e=e._reactInternals;var a=St(),u=kr(e),d=Vn(a,u);d.payload=t,o!=null&&(d.callback=o),t=wr(e,d,u),t!==null&&(ln(t,e,u,a),ca(t,e,u))},enqueueReplaceState:function(e,t,o){e=e._reactInternals;var a=St(),u=kr(e),d=Vn(a,u);d.tag=1,d.payload=t,o!=null&&(d.callback=o),t=wr(e,d,u),t!==null&&(ln(t,e,u,a),ca(t,e,u))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var o=St(),a=kr(e),u=Vn(o,a);u.tag=2,t!=null&&(u.callback=t),t=wr(e,u,a),t!==null&&(ln(t,e,a,o),ca(t,e,a))}};function mp(e,t,o,a,u,d,v){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(a,d,v):t.prototype&&t.prototype.isPureReactComponent?!Bi(o,a)||!Bi(u,d):!0}function vp(e,t,o){var a=!1,u=vr,d=t.contextType;return typeof d=="object"&&d!==null?d=Vt(d):(u=Pt(t)?Gr:ft.current,a=t.contextTypes,d=(a=a!=null)?zo(e,u):vr),t=new t(o,d),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=ga,e.stateNode=t,t._reactInternals=e,a&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=u,e.__reactInternalMemoizedMaskedChildContext=d),t}function yp(e,t,o,a){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(o,a),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(o,a),t.state!==e&&ga.enqueueReplaceState(t,t.state,null)}function Mu(e,t,o,a){var u=e.stateNode;u.props=o,u.state=e.memoizedState,u.refs={},hu(e);var d=t.contextType;typeof d=="object"&&d!==null?u.context=Vt(d):(d=Pt(t)?Gr:ft.current,u.context=zo(e,d)),u.state=e.memoizedState,d=t.getDerivedStateFromProps,typeof d=="function"&&(Pu(e,t,d,o),u.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof u.getSnapshotBeforeUpdate=="function"||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(t=u.state,typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount(),t!==u.state&&ga.enqueueReplaceState(u,u.state,null),da(e,o,u,a),u.state=e.memoizedState),typeof u.componentDidMount=="function"&&(e.flags|=4194308)}function Qo(e,t){try{var o="",a=t;do o+=ve(a),a=a.return;while(a);var u=o}catch(d){u=`
|
|
37
|
+
`+u[v].replace(" at new "," at ");return e.displayName&&M.includes("<anonymous>")&&(M=M.replace("<anonymous>",e.displayName)),M}while(1<=v&&0<=E);break}}}finally{ne=!1,Error.prepareStackTrace=o}return(e=e?e.displayName||e.name:"")?F(e):""}function ve(e){switch(e.tag){case 5:return F(e.type);case 16:return F("Lazy");case 13:return F("Suspense");case 19:return F("SuspenseList");case 0:case 2:case 15:return e=re(e.type,!1),e;case 11:return e=re(e.type.render,!1),e;case 1:return e=re(e.type,!0),e;default:return""}}function Se(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case H:return"Fragment";case U:return"Portal";case J:return"Profiler";case G:return"StrictMode";case ye:return"Suspense";case de:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case he:return(e.displayName||"Context")+".Consumer";case te:return(e._context.displayName||"Context")+".Provider";case Z:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case xe:return t=e.displayName||null,t!==null?t:Se(e.type)||"Memo";case ue:t=e._payload,e=e._init;try{return Se(e(t))}catch{}}return null}function q(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Se(t);case 8:return t===G?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function pe(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Ce(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Re(e){var t=Ce(e)?"checked":"value",o=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),a=""+e[t];if(!e.hasOwnProperty(t)&&typeof o<"u"&&typeof o.get=="function"&&typeof o.set=="function"){var u=o.get,d=o.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return u.call(this)},set:function(v){a=""+v,d.call(this,v)}}),Object.defineProperty(e,t,{enumerable:o.enumerable}),{getValue:function(){return a},setValue:function(v){a=""+v},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Me(e){e._valueTracker||(e._valueTracker=Re(e))}function Oe(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var o=t.getValue(),a="";return e&&(a=Ce(e)?e.checked?"true":"false":e.value),e=a,e!==o?(t.setValue(e),!0):!1}function Ye(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function dt(e,t){var o=t.checked;return Q({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:o??e._wrapperState.initialChecked})}function gn(e,t){var o=t.defaultValue==null?"":t.defaultValue,a=t.checked!=null?t.checked:t.defaultChecked;o=pe(t.value!=null?t.value:o),e._wrapperState={initialChecked:a,initialValue:o,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Xt(e,t){t=t.checked,t!=null&&b(e,"checked",t,!1)}function Zt(e,t){Xt(e,t);var o=pe(t.value),a=t.type;if(o!=null)a==="number"?(o===0&&e.value===""||e.value!=o)&&(e.value=""+o):e.value!==""+o&&(e.value=""+o);else if(a==="submit"||a==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?wn(e,t.type,o):t.hasOwnProperty("defaultValue")&&wn(e,t.type,pe(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function ir(e,t,o){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var a=t.type;if(!(a!=="submit"&&a!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,o||t===e.value||(e.value=t),e.defaultValue=t}o=e.name,o!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,o!==""&&(e.name=o)}function wn(e,t,o){(t!=="number"||Ye(e.ownerDocument)!==e)&&(o==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+o&&(e.defaultValue=""+o))}var sr=Array.isArray;function Ht(e,t,o,a){if(e=e.options,t){t={};for(var u=0;u<o.length;u++)t["$"+o[u]]=!0;for(o=0;o<e.length;o++)u=t.hasOwnProperty("$"+e[o].value),e[o].selected!==u&&(e[o].selected=u),u&&a&&(e[o].defaultSelected=!0)}else{for(o=""+pe(o),t=null,u=0;u<e.length;u++){if(e[u].value===o){e[u].selected=!0,a&&(e[u].defaultSelected=!0);return}t!==null||e[u].disabled||(t=e[u])}t!==null&&(t.selected=!0)}}function Eo(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(i(91));return Q({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function xn(e,t){var o=t.value;if(o==null){if(o=t.children,t=t.defaultValue,o!=null){if(t!=null)throw Error(i(92));if(sr(o)){if(1<o.length)throw Error(i(93));o=o[0]}t=o}t==null&&(t=""),o=t}e._wrapperState={initialValue:pe(o)}}function bs(e,t){var o=pe(t.value),a=pe(t.defaultValue);o!=null&&(o=""+o,o!==e.value&&(e.value=o),t.defaultValue==null&&e.defaultValue!==o&&(e.defaultValue=o)),a!=null&&(e.defaultValue=""+a)}function Ps(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function gt(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Sn(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?gt(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Ro,Ms=(function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,o,a,u){MSApp.execUnsafeLocalFunction(function(){return e(t,o,a,u)})}:e})(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(Ro=Ro||document.createElement("div"),Ro.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Ro.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Cn(e,t){if(t){var o=e.firstChild;if(o&&o===e.lastChild&&o.nodeType===3){o.nodeValue=t;return}}e.textContent=t}var Qr={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Ts=["Webkit","ms","Moz","O"];Object.keys(Qr).forEach(function(e){Ts.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Qr[t]=Qr[e]})});function bo(e,t,o){return t==null||typeof t=="boolean"||t===""?"":o||typeof t!="number"||t===0||Qr.hasOwnProperty(e)&&Qr[e]?(""+t).trim():t+"px"}function jn(e,t){e=e.style;for(var o in t)if(t.hasOwnProperty(o)){var a=o.indexOf("--")===0,u=bo(o,t[o],a);o==="float"&&(o="cssFloat"),a?e.setProperty(o,u):e[o]=u}}var Os=Q({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function kn(e,t){if(t){if(Os[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(i(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(i(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(i(61))}if(t.style!=null&&typeof t.style!="object")throw Error(i(62))}}function Ri(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){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 bi=null;function Po(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Mo=null,ar=null,En=null;function Jt(e){if(e=Qi(e)){if(typeof Mo!="function")throw Error(i(280));var t=e.stateNode;t&&(t=ea(t),Mo(e.stateNode,e.type,t))}}function Ns(e){ar?En?En.push(e):En=[e]:ar=e}function Ee(){if(ar){var e=ar,t=En;if(En=ar=null,Jt(e),t)for(e=0;e<t.length;e++)Jt(t[e])}}function Ae(e,t){return e(t)}function Fe(){}var wt=!1;function Et(e,t,o){if(wt)return e(t,o);wt=!0;try{return Ae(e,t,o)}finally{wt=!1,(ar!==null||En!==null)&&(Fe(),Ee())}}function Rt(e,t){var o=e.stateNode;if(o===null)return null;var a=ea(o);if(a===null)return null;o=a[t];e:switch(t){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)||(e=e.type,a=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!a;break e;default:e=!1}if(e)return null;if(o&&typeof o!="function")throw Error(i(231,t,typeof o));return o}var en=!1;if(p)try{var lt={};Object.defineProperty(lt,"passive",{get:function(){en=!0}}),window.addEventListener("test",lt,lt),window.removeEventListener("test",lt,lt)}catch{en=!1}function Rn(e,t,o,a,u,d,v,E,M){var D=Array.prototype.slice.call(arguments,3);try{t.apply(o,D)}catch(W){this.onError(W)}}var Pi=!1,_s=null,Ls=!1,El=null,Uy={onError:function(e){Pi=!0,_s=e}};function Hy(e,t,o,a,u,d,v,E,M){Pi=!1,_s=null,Rn.apply(Uy,arguments)}function $y(e,t,o,a,u,d,v,E,M){if(Hy.apply(this,arguments),Pi){if(Pi){var D=_s;Pi=!1,_s=null}else throw Error(i(198));Ls||(Ls=!0,El=D)}}function Kr(e){var t=e,o=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(o=t.return),e=t.return;while(e)}return t.tag===3?o:null}function Od(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function Nd(e){if(Kr(e)!==e)throw Error(i(188))}function Wy(e){var t=e.alternate;if(!t){if(t=Kr(e),t===null)throw Error(i(188));return t!==e?null:e}for(var o=e,a=t;;){var u=o.return;if(u===null)break;var d=u.alternate;if(d===null){if(a=u.return,a!==null){o=a;continue}break}if(u.child===d.child){for(d=u.child;d;){if(d===o)return Nd(u),e;if(d===a)return Nd(u),t;d=d.sibling}throw Error(i(188))}if(o.return!==a.return)o=u,a=d;else{for(var v=!1,E=u.child;E;){if(E===o){v=!0,o=u,a=d;break}if(E===a){v=!0,a=u,o=d;break}E=E.sibling}if(!v){for(E=d.child;E;){if(E===o){v=!0,o=d,a=u;break}if(E===a){v=!0,a=d,o=u;break}E=E.sibling}if(!v)throw Error(i(189))}}if(o.alternate!==a)throw Error(i(190))}if(o.tag!==3)throw Error(i(188));return o.stateNode.current===o?e:t}function _d(e){return e=Wy(e),e!==null?Ld(e):null}function Ld(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=Ld(e);if(t!==null)return t;e=e.sibling}return null}var Ad=r.unstable_scheduleCallback,Id=r.unstable_cancelCallback,Vy=r.unstable_shouldYield,Qy=r.unstable_requestPaint,Xe=r.unstable_now,Ky=r.unstable_getCurrentPriorityLevel,Rl=r.unstable_ImmediatePriority,Dd=r.unstable_UserBlockingPriority,As=r.unstable_NormalPriority,qy=r.unstable_LowPriority,Fd=r.unstable_IdlePriority,Is=null,bn=null;function Gy(e){if(bn&&typeof bn.onCommitFiberRoot=="function")try{bn.onCommitFiberRoot(Is,e,void 0,(e.current.flags&128)===128)}catch{}}var tn=Math.clz32?Math.clz32:Zy,Yy=Math.log,Xy=Math.LN2;function Zy(e){return e>>>=0,e===0?32:31-(Yy(e)/Xy|0)|0}var Ds=64,Fs=4194304;function Mi(e){switch(e&-e){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: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&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function zs(e,t){var o=e.pendingLanes;if(o===0)return 0;var a=0,u=e.suspendedLanes,d=e.pingedLanes,v=o&268435455;if(v!==0){var E=v&~u;E!==0?a=Mi(E):(d&=v,d!==0&&(a=Mi(d)))}else v=o&~u,v!==0?a=Mi(v):d!==0&&(a=Mi(d));if(a===0)return 0;if(t!==0&&t!==a&&(t&u)===0&&(u=a&-a,d=t&-t,u>=d||u===16&&(d&4194240)!==0))return t;if((a&4)!==0&&(a|=o&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=a;0<t;)o=31-tn(t),u=1<<o,a|=e[o],t&=~u;return a}function Jy(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64: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 t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function eg(e,t){for(var o=e.suspendedLanes,a=e.pingedLanes,u=e.expirationTimes,d=e.pendingLanes;0<d;){var v=31-tn(d),E=1<<v,M=u[v];M===-1?((E&o)===0||(E&a)!==0)&&(u[v]=Jy(E,t)):M<=t&&(e.expiredLanes|=E),d&=~E}}function bl(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function zd(){var e=Ds;return Ds<<=1,(Ds&4194240)===0&&(Ds=64),e}function Pl(e){for(var t=[],o=0;31>o;o++)t.push(e);return t}function Ti(e,t,o){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-tn(t),e[t]=o}function tg(e,t){var o=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var a=e.eventTimes;for(e=e.expirationTimes;0<o;){var u=31-tn(o),d=1<<u;t[u]=0,a[u]=-1,e[u]=-1,o&=~d}}function Ml(e,t){var o=e.entangledLanes|=t;for(e=e.entanglements;o;){var a=31-tn(o),u=1<<a;u&t|e[a]&t&&(e[a]|=t),o&=~u}}var De=0;function jd(e){return e&=-e,1<e?4<e?(e&268435455)!==0?16:536870912:4:1}var Bd,Tl,Ud,Hd,$d,Ol=!1,js=[],lr=null,ur=null,cr=null,Oi=new Map,Ni=new Map,dr=[],ng="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 submit".split(" ");function Wd(e,t){switch(e){case"focusin":case"focusout":lr=null;break;case"dragenter":case"dragleave":ur=null;break;case"mouseover":case"mouseout":cr=null;break;case"pointerover":case"pointerout":Oi.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ni.delete(t.pointerId)}}function _i(e,t,o,a,u,d){return e===null||e.nativeEvent!==d?(e={blockedOn:t,domEventName:o,eventSystemFlags:a,nativeEvent:d,targetContainers:[u]},t!==null&&(t=Qi(t),t!==null&&Tl(t)),e):(e.eventSystemFlags|=a,t=e.targetContainers,u!==null&&t.indexOf(u)===-1&&t.push(u),e)}function rg(e,t,o,a,u){switch(t){case"focusin":return lr=_i(lr,e,t,o,a,u),!0;case"dragenter":return ur=_i(ur,e,t,o,a,u),!0;case"mouseover":return cr=_i(cr,e,t,o,a,u),!0;case"pointerover":var d=u.pointerId;return Oi.set(d,_i(Oi.get(d)||null,e,t,o,a,u)),!0;case"gotpointercapture":return d=u.pointerId,Ni.set(d,_i(Ni.get(d)||null,e,t,o,a,u)),!0}return!1}function Vd(e){var t=qr(e.target);if(t!==null){var o=Kr(t);if(o!==null){if(t=o.tag,t===13){if(t=Od(o),t!==null){e.blockedOn=t,$d(e.priority,function(){Ud(o)});return}}else if(t===3&&o.stateNode.current.memoizedState.isDehydrated){e.blockedOn=o.tag===3?o.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Bs(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var o=_l(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(o===null){o=e.nativeEvent;var a=new o.constructor(o.type,o);bi=a,o.target.dispatchEvent(a),bi=null}else return t=Qi(o),t!==null&&Tl(t),e.blockedOn=o,!1;t.shift()}return!0}function Qd(e,t,o){Bs(e)&&o.delete(t)}function og(){Ol=!1,lr!==null&&Bs(lr)&&(lr=null),ur!==null&&Bs(ur)&&(ur=null),cr!==null&&Bs(cr)&&(cr=null),Oi.forEach(Qd),Ni.forEach(Qd)}function Li(e,t){e.blockedOn===t&&(e.blockedOn=null,Ol||(Ol=!0,r.unstable_scheduleCallback(r.unstable_NormalPriority,og)))}function Ai(e){function t(u){return Li(u,e)}if(0<js.length){Li(js[0],e);for(var o=1;o<js.length;o++){var a=js[o];a.blockedOn===e&&(a.blockedOn=null)}}for(lr!==null&&Li(lr,e),ur!==null&&Li(ur,e),cr!==null&&Li(cr,e),Oi.forEach(t),Ni.forEach(t),o=0;o<dr.length;o++)a=dr[o],a.blockedOn===e&&(a.blockedOn=null);for(;0<dr.length&&(o=dr[0],o.blockedOn===null);)Vd(o),o.blockedOn===null&&dr.shift()}var To=L.ReactCurrentBatchConfig,Us=!0;function ig(e,t,o,a){var u=De,d=To.transition;To.transition=null;try{De=1,Nl(e,t,o,a)}finally{De=u,To.transition=d}}function sg(e,t,o,a){var u=De,d=To.transition;To.transition=null;try{De=4,Nl(e,t,o,a)}finally{De=u,To.transition=d}}function Nl(e,t,o,a){if(Us){var u=_l(e,t,o,a);if(u===null)Gl(e,t,a,Hs,o),Wd(e,a);else if(rg(u,e,t,o,a))a.stopPropagation();else if(Wd(e,a),t&4&&-1<ng.indexOf(e)){for(;u!==null;){var d=Qi(u);if(d!==null&&Bd(d),d=_l(e,t,o,a),d===null&&Gl(e,t,a,Hs,o),d===u)break;u=d}u!==null&&a.stopPropagation()}else Gl(e,t,a,null,o)}}var Hs=null;function _l(e,t,o,a){if(Hs=null,e=Po(a),e=qr(e),e!==null)if(t=Kr(e),t===null)e=null;else if(o=t.tag,o===13){if(e=Od(t),e!==null)return e;e=null}else if(o===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Hs=e,null}function Kd(e){switch(e){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"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 1;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"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Ky()){case Rl:return 1;case Dd:return 4;case As:case qy:return 16;case Fd:return 536870912;default:return 16}default:return 16}}var fr=null,Ll=null,$s=null;function qd(){if($s)return $s;var e,t=Ll,o=t.length,a,u="value"in fr?fr.value:fr.textContent,d=u.length;for(e=0;e<o&&t[e]===u[e];e++);var v=o-e;for(a=1;a<=v&&t[o-a]===u[d-a];a++);return $s=u.slice(e,1<a?1-a:void 0)}function Ws(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Vs(){return!0}function Gd(){return!1}function It(e){function t(o,a,u,d,v){this._reactName=o,this._targetInst=u,this.type=a,this.nativeEvent=d,this.target=v,this.currentTarget=null;for(var E in e)e.hasOwnProperty(E)&&(o=e[E],this[E]=o?o(d):d[E]);return this.isDefaultPrevented=(d.defaultPrevented!=null?d.defaultPrevented:d.returnValue===!1)?Vs:Gd,this.isPropagationStopped=Gd,this}return Q(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var o=this.nativeEvent;o&&(o.preventDefault?o.preventDefault():typeof o.returnValue!="unknown"&&(o.returnValue=!1),this.isDefaultPrevented=Vs)},stopPropagation:function(){var o=this.nativeEvent;o&&(o.stopPropagation?o.stopPropagation():typeof o.cancelBubble!="unknown"&&(o.cancelBubble=!0),this.isPropagationStopped=Vs)},persist:function(){},isPersistent:Vs}),t}var Oo={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Al=It(Oo),Ii=Q({},Oo,{view:0,detail:0}),ag=It(Ii),Il,Dl,Di,Qs=Q({},Ii,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:zl,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Di&&(Di&&e.type==="mousemove"?(Il=e.screenX-Di.screenX,Dl=e.screenY-Di.screenY):Dl=Il=0,Di=e),Il)},movementY:function(e){return"movementY"in e?e.movementY:Dl}}),Yd=It(Qs),lg=Q({},Qs,{dataTransfer:0}),ug=It(lg),cg=Q({},Ii,{relatedTarget:0}),Fl=It(cg),dg=Q({},Oo,{animationName:0,elapsedTime:0,pseudoElement:0}),fg=It(dg),pg=Q({},Oo,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),hg=It(pg),mg=Q({},Oo,{data:0}),Xd=It(mg),vg={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},yg={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"},gg={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function wg(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=gg[e])?!!t[e]:!1}function zl(){return wg}var xg=Q({},Ii,{key:function(e){if(e.key){var t=vg[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Ws(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?yg[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:zl,charCode:function(e){return e.type==="keypress"?Ws(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Ws(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Sg=It(xg),Cg=Q({},Qs,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Zd=It(Cg),kg=Q({},Ii,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:zl}),Eg=It(kg),Rg=Q({},Oo,{propertyName:0,elapsedTime:0,pseudoElement:0}),bg=It(Rg),Pg=Q({},Qs,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Mg=It(Pg),Tg=[9,13,27,32],jl=p&&"CompositionEvent"in window,Fi=null;p&&"documentMode"in document&&(Fi=document.documentMode);var Og=p&&"TextEvent"in window&&!Fi,Jd=p&&(!jl||Fi&&8<Fi&&11>=Fi),ef=" ",tf=!1;function nf(e,t){switch(e){case"keyup":return Tg.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function rf(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var No=!1;function Ng(e,t){switch(e){case"compositionend":return rf(t);case"keypress":return t.which!==32?null:(tf=!0,ef);case"textInput":return e=t.data,e===ef&&tf?null:e;default:return null}}function _g(e,t){if(No)return e==="compositionend"||!jl&&nf(e,t)?(e=qd(),$s=Ll=fr=null,No=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Jd&&t.locale!=="ko"?null:t.data;default:return null}}var Lg={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 of(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Lg[e.type]:t==="textarea"}function sf(e,t,o,a){Ns(a),t=Xs(t,"onChange"),0<t.length&&(o=new Al("onChange","change",null,o,a),e.push({event:o,listeners:t}))}var zi=null,ji=null;function Ag(e){Ef(e,0)}function Ks(e){var t=Do(e);if(Oe(t))return e}function Ig(e,t){if(e==="change")return t}var af=!1;if(p){var Bl;if(p){var Ul="oninput"in document;if(!Ul){var lf=document.createElement("div");lf.setAttribute("oninput","return;"),Ul=typeof lf.oninput=="function"}Bl=Ul}else Bl=!1;af=Bl&&(!document.documentMode||9<document.documentMode)}function uf(){zi&&(zi.detachEvent("onpropertychange",cf),ji=zi=null)}function cf(e){if(e.propertyName==="value"&&Ks(ji)){var t=[];sf(t,ji,e,Po(e)),Et(Ag,t)}}function Dg(e,t,o){e==="focusin"?(uf(),zi=t,ji=o,zi.attachEvent("onpropertychange",cf)):e==="focusout"&&uf()}function Fg(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Ks(ji)}function zg(e,t){if(e==="click")return Ks(t)}function jg(e,t){if(e==="input"||e==="change")return Ks(t)}function Bg(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var nn=typeof Object.is=="function"?Object.is:Bg;function Bi(e,t){if(nn(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var o=Object.keys(e),a=Object.keys(t);if(o.length!==a.length)return!1;for(a=0;a<o.length;a++){var u=o[a];if(!h.call(t,u)||!nn(e[u],t[u]))return!1}return!0}function df(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ff(e,t){var o=df(e);e=0;for(var a;o;){if(o.nodeType===3){if(a=e+o.textContent.length,e<=t&&a>=t)return{node:o,offset:t-e};e=a}e:{for(;o;){if(o.nextSibling){o=o.nextSibling;break e}o=o.parentNode}o=void 0}o=df(o)}}function pf(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?pf(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function hf(){for(var e=window,t=Ye();t instanceof e.HTMLIFrameElement;){try{var o=typeof t.contentWindow.location.href=="string"}catch{o=!1}if(o)e=t.contentWindow;else break;t=Ye(e.document)}return t}function Hl(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Ug(e){var t=hf(),o=e.focusedElem,a=e.selectionRange;if(t!==o&&o&&o.ownerDocument&&pf(o.ownerDocument.documentElement,o)){if(a!==null&&Hl(o)){if(t=a.start,e=a.end,e===void 0&&(e=t),"selectionStart"in o)o.selectionStart=t,o.selectionEnd=Math.min(e,o.value.length);else if(e=(t=o.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var u=o.textContent.length,d=Math.min(a.start,u);a=a.end===void 0?d:Math.min(a.end,u),!e.extend&&d>a&&(u=a,a=d,d=u),u=ff(o,d);var v=ff(o,a);u&&v&&(e.rangeCount!==1||e.anchorNode!==u.node||e.anchorOffset!==u.offset||e.focusNode!==v.node||e.focusOffset!==v.offset)&&(t=t.createRange(),t.setStart(u.node,u.offset),e.removeAllRanges(),d>a?(e.addRange(t),e.extend(v.node,v.offset)):(t.setEnd(v.node,v.offset),e.addRange(t)))}}for(t=[],e=o;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof o.focus=="function"&&o.focus(),o=0;o<t.length;o++)e=t[o],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var Hg=p&&"documentMode"in document&&11>=document.documentMode,_o=null,$l=null,Ui=null,Wl=!1;function mf(e,t,o){var a=o.window===o?o.document:o.nodeType===9?o:o.ownerDocument;Wl||_o==null||_o!==Ye(a)||(a=_o,"selectionStart"in a&&Hl(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}),Ui&&Bi(Ui,a)||(Ui=a,a=Xs($l,"onSelect"),0<a.length&&(t=new Al("onSelect","select",null,t,o),e.push({event:t,listeners:a}),t.target=_o)))}function qs(e,t){var o={};return o[e.toLowerCase()]=t.toLowerCase(),o["Webkit"+e]="webkit"+t,o["Moz"+e]="moz"+t,o}var Lo={animationend:qs("Animation","AnimationEnd"),animationiteration:qs("Animation","AnimationIteration"),animationstart:qs("Animation","AnimationStart"),transitionend:qs("Transition","TransitionEnd")},Vl={},vf={};p&&(vf=document.createElement("div").style,"AnimationEvent"in window||(delete Lo.animationend.animation,delete Lo.animationiteration.animation,delete Lo.animationstart.animation),"TransitionEvent"in window||delete Lo.transitionend.transition);function Gs(e){if(Vl[e])return Vl[e];if(!Lo[e])return e;var t=Lo[e],o;for(o in t)if(t.hasOwnProperty(o)&&o in vf)return Vl[e]=t[o];return e}var yf=Gs("animationend"),gf=Gs("animationiteration"),wf=Gs("animationstart"),xf=Gs("transitionend"),Sf=new Map,Cf="abort auxClick 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(" ");function pr(e,t){Sf.set(e,t),c(t,[e])}for(var Ql=0;Ql<Cf.length;Ql++){var Kl=Cf[Ql],$g=Kl.toLowerCase(),Wg=Kl[0].toUpperCase()+Kl.slice(1);pr($g,"on"+Wg)}pr(yf,"onAnimationEnd"),pr(gf,"onAnimationIteration"),pr(wf,"onAnimationStart"),pr("dblclick","onDoubleClick"),pr("focusin","onFocus"),pr("focusout","onBlur"),pr(xf,"onTransitionEnd"),f("onMouseEnter",["mouseout","mouseover"]),f("onMouseLeave",["mouseout","mouseover"]),f("onPointerEnter",["pointerout","pointerover"]),f("onPointerLeave",["pointerout","pointerover"]),c("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),c("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),c("onBeforeInput",["compositionend","keypress","textInput","paste"]),c("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Hi="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(" "),Vg=new Set("cancel close invalid load scroll toggle".split(" ").concat(Hi));function kf(e,t,o){var a=e.type||"unknown-event";e.currentTarget=o,$y(a,t,void 0,e),e.currentTarget=null}function Ef(e,t){t=(t&4)!==0;for(var o=0;o<e.length;o++){var a=e[o],u=a.event;a=a.listeners;e:{var d=void 0;if(t)for(var v=a.length-1;0<=v;v--){var E=a[v],M=E.instance,D=E.currentTarget;if(E=E.listener,M!==d&&u.isPropagationStopped())break e;kf(u,E,D),d=M}else for(v=0;v<a.length;v++){if(E=a[v],M=E.instance,D=E.currentTarget,E=E.listener,M!==d&&u.isPropagationStopped())break e;kf(u,E,D),d=M}}}if(Ls)throw e=El,Ls=!1,El=null,e}function Be(e,t){var o=t[tu];o===void 0&&(o=t[tu]=new Set);var a=e+"__bubble";o.has(a)||(Rf(t,e,2,!1),o.add(a))}function ql(e,t,o){var a=0;t&&(a|=4),Rf(o,e,a,t)}var Ys="_reactListening"+Math.random().toString(36).slice(2);function $i(e){if(!e[Ys]){e[Ys]=!0,s.forEach(function(o){o!=="selectionchange"&&(Vg.has(o)||ql(o,!1,e),ql(o,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Ys]||(t[Ys]=!0,ql("selectionchange",!1,t))}}function Rf(e,t,o,a){switch(Kd(t)){case 1:var u=ig;break;case 4:u=sg;break;default:u=Nl}o=u.bind(null,t,o,e),u=void 0,!en||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(u=!0),a?u!==void 0?e.addEventListener(t,o,{capture:!0,passive:u}):e.addEventListener(t,o,!0):u!==void 0?e.addEventListener(t,o,{passive:u}):e.addEventListener(t,o,!1)}function Gl(e,t,o,a,u){var d=a;if((t&1)===0&&(t&2)===0&&a!==null)e:for(;;){if(a===null)return;var v=a.tag;if(v===3||v===4){var E=a.stateNode.containerInfo;if(E===u||E.nodeType===8&&E.parentNode===u)break;if(v===4)for(v=a.return;v!==null;){var M=v.tag;if((M===3||M===4)&&(M=v.stateNode.containerInfo,M===u||M.nodeType===8&&M.parentNode===u))return;v=v.return}for(;E!==null;){if(v=qr(E),v===null)return;if(M=v.tag,M===5||M===6){a=d=v;continue e}E=E.parentNode}}a=a.return}Et(function(){var D=d,W=Po(o),K=[];e:{var $=Sf.get(e);if($!==void 0){var oe=Al,le=e;switch(e){case"keypress":if(Ws(o)===0)break e;case"keydown":case"keyup":oe=Sg;break;case"focusin":le="focus",oe=Fl;break;case"focusout":le="blur",oe=Fl;break;case"beforeblur":case"afterblur":oe=Fl;break;case"click":if(o.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":oe=Yd;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":oe=ug;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":oe=Eg;break;case yf:case gf:case wf:oe=fg;break;case xf:oe=bg;break;case"scroll":oe=ag;break;case"wheel":oe=Mg;break;case"copy":case"cut":case"paste":oe=hg;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":oe=Zd}var ce=(t&4)!==0,Ze=!ce&&e==="scroll",A=ce?$!==null?$+"Capture":null:$;ce=[];for(var _=D,I;_!==null;){I=_;var Y=I.stateNode;if(I.tag===5&&Y!==null&&(I=Y,A!==null&&(Y=Rt(_,A),Y!=null&&ce.push(Wi(_,Y,I)))),Ze)break;_=_.return}0<ce.length&&($=new oe($,le,null,o,W),K.push({event:$,listeners:ce}))}}if((t&7)===0){e:{if($=e==="mouseover"||e==="pointerover",oe=e==="mouseout"||e==="pointerout",$&&o!==bi&&(le=o.relatedTarget||o.fromElement)&&(qr(le)||le[Bn]))break e;if((oe||$)&&($=W.window===W?W:($=W.ownerDocument)?$.defaultView||$.parentWindow:window,oe?(le=o.relatedTarget||o.toElement,oe=D,le=le?qr(le):null,le!==null&&(Ze=Kr(le),le!==Ze||le.tag!==5&&le.tag!==6)&&(le=null)):(oe=null,le=D),oe!==le)){if(ce=Yd,Y="onMouseLeave",A="onMouseEnter",_="mouse",(e==="pointerout"||e==="pointerover")&&(ce=Zd,Y="onPointerLeave",A="onPointerEnter",_="pointer"),Ze=oe==null?$:Do(oe),I=le==null?$:Do(le),$=new ce(Y,_+"leave",oe,o,W),$.target=Ze,$.relatedTarget=I,Y=null,qr(W)===D&&(ce=new ce(A,_+"enter",le,o,W),ce.target=I,ce.relatedTarget=Ze,Y=ce),Ze=Y,oe&&le)t:{for(ce=oe,A=le,_=0,I=ce;I;I=Ao(I))_++;for(I=0,Y=A;Y;Y=Ao(Y))I++;for(;0<_-I;)ce=Ao(ce),_--;for(;0<I-_;)A=Ao(A),I--;for(;_--;){if(ce===A||A!==null&&ce===A.alternate)break t;ce=Ao(ce),A=Ao(A)}ce=null}else ce=null;oe!==null&&bf(K,$,oe,ce,!1),le!==null&&Ze!==null&&bf(K,Ze,le,ce,!0)}}e:{if($=D?Do(D):window,oe=$.nodeName&&$.nodeName.toLowerCase(),oe==="select"||oe==="input"&&$.type==="file")var fe=Ig;else if(of($))if(af)fe=jg;else{fe=Fg;var ge=Dg}else(oe=$.nodeName)&&oe.toLowerCase()==="input"&&($.type==="checkbox"||$.type==="radio")&&(fe=zg);if(fe&&(fe=fe(e,D))){sf(K,fe,o,W);break e}ge&&ge(e,$,D),e==="focusout"&&(ge=$._wrapperState)&&ge.controlled&&$.type==="number"&&wn($,"number",$.value)}switch(ge=D?Do(D):window,e){case"focusin":(of(ge)||ge.contentEditable==="true")&&(_o=ge,$l=D,Ui=null);break;case"focusout":Ui=$l=_o=null;break;case"mousedown":Wl=!0;break;case"contextmenu":case"mouseup":case"dragend":Wl=!1,mf(K,o,W);break;case"selectionchange":if(Hg)break;case"keydown":case"keyup":mf(K,o,W)}var we;if(jl)e:{switch(e){case"compositionstart":var ke="onCompositionStart";break e;case"compositionend":ke="onCompositionEnd";break e;case"compositionupdate":ke="onCompositionUpdate";break e}ke=void 0}else No?nf(e,o)&&(ke="onCompositionEnd"):e==="keydown"&&o.keyCode===229&&(ke="onCompositionStart");ke&&(Jd&&o.locale!=="ko"&&(No||ke!=="onCompositionStart"?ke==="onCompositionEnd"&&No&&(we=qd()):(fr=W,Ll="value"in fr?fr.value:fr.textContent,No=!0)),ge=Xs(D,ke),0<ge.length&&(ke=new Xd(ke,e,null,o,W),K.push({event:ke,listeners:ge}),we?ke.data=we:(we=rf(o),we!==null&&(ke.data=we)))),(we=Og?Ng(e,o):_g(e,o))&&(D=Xs(D,"onBeforeInput"),0<D.length&&(W=new Xd("onBeforeInput","beforeinput",null,o,W),K.push({event:W,listeners:D}),W.data=we))}Ef(K,t)})}function Wi(e,t,o){return{instance:e,listener:t,currentTarget:o}}function Xs(e,t){for(var o=t+"Capture",a=[];e!==null;){var u=e,d=u.stateNode;u.tag===5&&d!==null&&(u=d,d=Rt(e,o),d!=null&&a.unshift(Wi(e,d,u)),d=Rt(e,t),d!=null&&a.push(Wi(e,d,u))),e=e.return}return a}function Ao(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function bf(e,t,o,a,u){for(var d=t._reactName,v=[];o!==null&&o!==a;){var E=o,M=E.alternate,D=E.stateNode;if(M!==null&&M===a)break;E.tag===5&&D!==null&&(E=D,u?(M=Rt(o,d),M!=null&&v.unshift(Wi(o,M,E))):u||(M=Rt(o,d),M!=null&&v.push(Wi(o,M,E)))),o=o.return}v.length!==0&&e.push({event:t,listeners:v})}var Qg=/\r\n?/g,Kg=/\u0000|\uFFFD/g;function Pf(e){return(typeof e=="string"?e:""+e).replace(Qg,`
|
|
38
|
+
`).replace(Kg,"")}function Zs(e,t,o){if(t=Pf(t),Pf(e)!==t&&o)throw Error(i(425))}function Js(){}var Yl=null,Xl=null;function Zl(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Jl=typeof setTimeout=="function"?setTimeout:void 0,qg=typeof clearTimeout=="function"?clearTimeout:void 0,Mf=typeof Promise=="function"?Promise:void 0,Gg=typeof queueMicrotask=="function"?queueMicrotask:typeof Mf<"u"?function(e){return Mf.resolve(null).then(e).catch(Yg)}:Jl;function Yg(e){setTimeout(function(){throw e})}function eu(e,t){var o=t,a=0;do{var u=o.nextSibling;if(e.removeChild(o),u&&u.nodeType===8)if(o=u.data,o==="/$"){if(a===0){e.removeChild(u),Ai(t);return}a--}else o!=="$"&&o!=="$?"&&o!=="$!"||a++;o=u}while(o);Ai(t)}function hr(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function Tf(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var o=e.data;if(o==="$"||o==="$!"||o==="$?"){if(t===0)return e;t--}else o==="/$"&&t++}e=e.previousSibling}return null}var Io=Math.random().toString(36).slice(2),Pn="__reactFiber$"+Io,Vi="__reactProps$"+Io,Bn="__reactContainer$"+Io,tu="__reactEvents$"+Io,Xg="__reactListeners$"+Io,Zg="__reactHandles$"+Io;function qr(e){var t=e[Pn];if(t)return t;for(var o=e.parentNode;o;){if(t=o[Bn]||o[Pn]){if(o=t.alternate,t.child!==null||o!==null&&o.child!==null)for(e=Tf(e);e!==null;){if(o=e[Pn])return o;e=Tf(e)}return t}e=o,o=e.parentNode}return null}function Qi(e){return e=e[Pn]||e[Bn],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Do(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(i(33))}function ea(e){return e[Vi]||null}var nu=[],Fo=-1;function mr(e){return{current:e}}function Ue(e){0>Fo||(e.current=nu[Fo],nu[Fo]=null,Fo--)}function ze(e,t){Fo++,nu[Fo]=e.current,e.current=t}var vr={},ft=mr(vr),bt=mr(!1),Gr=vr;function zo(e,t){var o=e.type.contextTypes;if(!o)return vr;var a=e.stateNode;if(a&&a.__reactInternalMemoizedUnmaskedChildContext===t)return a.__reactInternalMemoizedMaskedChildContext;var u={},d;for(d in o)u[d]=t[d];return a&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=u),u}function Pt(e){return e=e.childContextTypes,e!=null}function ta(){Ue(bt),Ue(ft)}function Of(e,t,o){if(ft.current!==vr)throw Error(i(168));ze(ft,t),ze(bt,o)}function Nf(e,t,o){var a=e.stateNode;if(t=t.childContextTypes,typeof a.getChildContext!="function")return o;a=a.getChildContext();for(var u in a)if(!(u in t))throw Error(i(108,q(e)||"Unknown",u));return Q({},o,a)}function na(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||vr,Gr=ft.current,ze(ft,e),ze(bt,bt.current),!0}function _f(e,t,o){var a=e.stateNode;if(!a)throw Error(i(169));o?(e=Nf(e,t,Gr),a.__reactInternalMemoizedMergedChildContext=e,Ue(bt),Ue(ft),ze(ft,e)):Ue(bt),ze(bt,o)}var Un=null,ra=!1,ru=!1;function Lf(e){Un===null?Un=[e]:Un.push(e)}function Jg(e){ra=!0,Lf(e)}function yr(){if(!ru&&Un!==null){ru=!0;var e=0,t=De;try{var o=Un;for(De=1;e<o.length;e++){var a=o[e];do a=a(!0);while(a!==null)}Un=null,ra=!1}catch(u){throw Un!==null&&(Un=Un.slice(e+1)),Ad(Rl,yr),u}finally{De=t,ru=!1}}return null}var jo=[],Bo=0,oa=null,ia=0,$t=[],Wt=0,Yr=null,Hn=1,$n="";function Xr(e,t){jo[Bo++]=ia,jo[Bo++]=oa,oa=e,ia=t}function Af(e,t,o){$t[Wt++]=Hn,$t[Wt++]=$n,$t[Wt++]=Yr,Yr=e;var a=Hn;e=$n;var u=32-tn(a)-1;a&=~(1<<u),o+=1;var d=32-tn(t)+u;if(30<d){var v=u-u%5;d=(a&(1<<v)-1).toString(32),a>>=v,u-=v,Hn=1<<32-tn(t)+u|o<<u|a,$n=d+e}else Hn=1<<d|o<<u|a,$n=e}function ou(e){e.return!==null&&(Xr(e,1),Af(e,1,0))}function iu(e){for(;e===oa;)oa=jo[--Bo],jo[Bo]=null,ia=jo[--Bo],jo[Bo]=null;for(;e===Yr;)Yr=$t[--Wt],$t[Wt]=null,$n=$t[--Wt],$t[Wt]=null,Hn=$t[--Wt],$t[Wt]=null}var Dt=null,Ft=null,We=!1,rn=null;function If(e,t){var o=qt(5,null,null,0);o.elementType="DELETED",o.stateNode=t,o.return=e,t=e.deletions,t===null?(e.deletions=[o],e.flags|=16):t.push(o)}function Df(e,t){switch(e.tag){case 5:var o=e.type;return t=t.nodeType!==1||o.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,Dt=e,Ft=hr(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,Dt=e,Ft=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(o=Yr!==null?{id:Hn,overflow:$n}:null,e.memoizedState={dehydrated:t,treeContext:o,retryLane:1073741824},o=qt(18,null,null,0),o.stateNode=t,o.return=e,e.child=o,Dt=e,Ft=null,!0):!1;default:return!1}}function su(e){return(e.mode&1)!==0&&(e.flags&128)===0}function au(e){if(We){var t=Ft;if(t){var o=t;if(!Df(e,t)){if(su(e))throw Error(i(418));t=hr(o.nextSibling);var a=Dt;t&&Df(e,t)?If(a,o):(e.flags=e.flags&-4097|2,We=!1,Dt=e)}}else{if(su(e))throw Error(i(418));e.flags=e.flags&-4097|2,We=!1,Dt=e}}}function Ff(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Dt=e}function sa(e){if(e!==Dt)return!1;if(!We)return Ff(e),We=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Zl(e.type,e.memoizedProps)),t&&(t=Ft)){if(su(e))throw zf(),Error(i(418));for(;t;)If(e,t),t=hr(t.nextSibling)}if(Ff(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(i(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var o=e.data;if(o==="/$"){if(t===0){Ft=hr(e.nextSibling);break e}t--}else o!=="$"&&o!=="$!"&&o!=="$?"||t++}e=e.nextSibling}Ft=null}}else Ft=Dt?hr(e.stateNode.nextSibling):null;return!0}function zf(){for(var e=Ft;e;)e=hr(e.nextSibling)}function Uo(){Ft=Dt=null,We=!1}function lu(e){rn===null?rn=[e]:rn.push(e)}var e0=L.ReactCurrentBatchConfig;function Ki(e,t,o){if(e=o.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(o._owner){if(o=o._owner,o){if(o.tag!==1)throw Error(i(309));var a=o.stateNode}if(!a)throw Error(i(147,e));var u=a,d=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===d?t.ref:(t=function(v){var E=u.refs;v===null?delete E[d]:E[d]=v},t._stringRef=d,t)}if(typeof e!="string")throw Error(i(284));if(!o._owner)throw Error(i(290,e))}return e}function aa(e,t){throw e=Object.prototype.toString.call(t),Error(i(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function jf(e){var t=e._init;return t(e._payload)}function Bf(e){function t(A,_){if(e){var I=A.deletions;I===null?(A.deletions=[_],A.flags|=16):I.push(_)}}function o(A,_){if(!e)return null;for(;_!==null;)t(A,_),_=_.sibling;return null}function a(A,_){for(A=new Map;_!==null;)_.key!==null?A.set(_.key,_):A.set(_.index,_),_=_.sibling;return A}function u(A,_){return A=Rr(A,_),A.index=0,A.sibling=null,A}function d(A,_,I){return A.index=I,e?(I=A.alternate,I!==null?(I=I.index,I<_?(A.flags|=2,_):I):(A.flags|=2,_)):(A.flags|=1048576,_)}function v(A){return e&&A.alternate===null&&(A.flags|=2),A}function E(A,_,I,Y){return _===null||_.tag!==6?(_=Ju(I,A.mode,Y),_.return=A,_):(_=u(_,I),_.return=A,_)}function M(A,_,I,Y){var fe=I.type;return fe===H?W(A,_,I.props.children,Y,I.key):_!==null&&(_.elementType===fe||typeof fe=="object"&&fe!==null&&fe.$$typeof===ue&&jf(fe)===_.type)?(Y=u(_,I.props),Y.ref=Ki(A,_,I),Y.return=A,Y):(Y=Na(I.type,I.key,I.props,null,A.mode,Y),Y.ref=Ki(A,_,I),Y.return=A,Y)}function D(A,_,I,Y){return _===null||_.tag!==4||_.stateNode.containerInfo!==I.containerInfo||_.stateNode.implementation!==I.implementation?(_=ec(I,A.mode,Y),_.return=A,_):(_=u(_,I.children||[]),_.return=A,_)}function W(A,_,I,Y,fe){return _===null||_.tag!==7?(_=io(I,A.mode,Y,fe),_.return=A,_):(_=u(_,I),_.return=A,_)}function K(A,_,I){if(typeof _=="string"&&_!==""||typeof _=="number")return _=Ju(""+_,A.mode,I),_.return=A,_;if(typeof _=="object"&&_!==null){switch(_.$$typeof){case z:return I=Na(_.type,_.key,_.props,null,A.mode,I),I.ref=Ki(A,null,_),I.return=A,I;case U:return _=ec(_,A.mode,I),_.return=A,_;case ue:var Y=_._init;return K(A,Y(_._payload),I)}if(sr(_)||B(_))return _=io(_,A.mode,I,null),_.return=A,_;aa(A,_)}return null}function $(A,_,I,Y){var fe=_!==null?_.key:null;if(typeof I=="string"&&I!==""||typeof I=="number")return fe!==null?null:E(A,_,""+I,Y);if(typeof I=="object"&&I!==null){switch(I.$$typeof){case z:return I.key===fe?M(A,_,I,Y):null;case U:return I.key===fe?D(A,_,I,Y):null;case ue:return fe=I._init,$(A,_,fe(I._payload),Y)}if(sr(I)||B(I))return fe!==null?null:W(A,_,I,Y,null);aa(A,I)}return null}function oe(A,_,I,Y,fe){if(typeof Y=="string"&&Y!==""||typeof Y=="number")return A=A.get(I)||null,E(_,A,""+Y,fe);if(typeof Y=="object"&&Y!==null){switch(Y.$$typeof){case z:return A=A.get(Y.key===null?I:Y.key)||null,M(_,A,Y,fe);case U:return A=A.get(Y.key===null?I:Y.key)||null,D(_,A,Y,fe);case ue:var ge=Y._init;return oe(A,_,I,ge(Y._payload),fe)}if(sr(Y)||B(Y))return A=A.get(I)||null,W(_,A,Y,fe,null);aa(_,Y)}return null}function le(A,_,I,Y){for(var fe=null,ge=null,we=_,ke=_=0,st=null;we!==null&&ke<I.length;ke++){we.index>ke?(st=we,we=null):st=we.sibling;var Le=$(A,we,I[ke],Y);if(Le===null){we===null&&(we=st);break}e&&we&&Le.alternate===null&&t(A,we),_=d(Le,_,ke),ge===null?fe=Le:ge.sibling=Le,ge=Le,we=st}if(ke===I.length)return o(A,we),We&&Xr(A,ke),fe;if(we===null){for(;ke<I.length;ke++)we=K(A,I[ke],Y),we!==null&&(_=d(we,_,ke),ge===null?fe=we:ge.sibling=we,ge=we);return We&&Xr(A,ke),fe}for(we=a(A,we);ke<I.length;ke++)st=oe(we,A,ke,I[ke],Y),st!==null&&(e&&st.alternate!==null&&we.delete(st.key===null?ke:st.key),_=d(st,_,ke),ge===null?fe=st:ge.sibling=st,ge=st);return e&&we.forEach(function(br){return t(A,br)}),We&&Xr(A,ke),fe}function ce(A,_,I,Y){var fe=B(I);if(typeof fe!="function")throw Error(i(150));if(I=fe.call(I),I==null)throw Error(i(151));for(var ge=fe=null,we=_,ke=_=0,st=null,Le=I.next();we!==null&&!Le.done;ke++,Le=I.next()){we.index>ke?(st=we,we=null):st=we.sibling;var br=$(A,we,Le.value,Y);if(br===null){we===null&&(we=st);break}e&&we&&br.alternate===null&&t(A,we),_=d(br,_,ke),ge===null?fe=br:ge.sibling=br,ge=br,we=st}if(Le.done)return o(A,we),We&&Xr(A,ke),fe;if(we===null){for(;!Le.done;ke++,Le=I.next())Le=K(A,Le.value,Y),Le!==null&&(_=d(Le,_,ke),ge===null?fe=Le:ge.sibling=Le,ge=Le);return We&&Xr(A,ke),fe}for(we=a(A,we);!Le.done;ke++,Le=I.next())Le=oe(we,A,ke,Le.value,Y),Le!==null&&(e&&Le.alternate!==null&&we.delete(Le.key===null?ke:Le.key),_=d(Le,_,ke),ge===null?fe=Le:ge.sibling=Le,ge=Le);return e&&we.forEach(function(L0){return t(A,L0)}),We&&Xr(A,ke),fe}function Ze(A,_,I,Y){if(typeof I=="object"&&I!==null&&I.type===H&&I.key===null&&(I=I.props.children),typeof I=="object"&&I!==null){switch(I.$$typeof){case z:e:{for(var fe=I.key,ge=_;ge!==null;){if(ge.key===fe){if(fe=I.type,fe===H){if(ge.tag===7){o(A,ge.sibling),_=u(ge,I.props.children),_.return=A,A=_;break e}}else if(ge.elementType===fe||typeof fe=="object"&&fe!==null&&fe.$$typeof===ue&&jf(fe)===ge.type){o(A,ge.sibling),_=u(ge,I.props),_.ref=Ki(A,ge,I),_.return=A,A=_;break e}o(A,ge);break}else t(A,ge);ge=ge.sibling}I.type===H?(_=io(I.props.children,A.mode,Y,I.key),_.return=A,A=_):(Y=Na(I.type,I.key,I.props,null,A.mode,Y),Y.ref=Ki(A,_,I),Y.return=A,A=Y)}return v(A);case U:e:{for(ge=I.key;_!==null;){if(_.key===ge)if(_.tag===4&&_.stateNode.containerInfo===I.containerInfo&&_.stateNode.implementation===I.implementation){o(A,_.sibling),_=u(_,I.children||[]),_.return=A,A=_;break e}else{o(A,_);break}else t(A,_);_=_.sibling}_=ec(I,A.mode,Y),_.return=A,A=_}return v(A);case ue:return ge=I._init,Ze(A,_,ge(I._payload),Y)}if(sr(I))return le(A,_,I,Y);if(B(I))return ce(A,_,I,Y);aa(A,I)}return typeof I=="string"&&I!==""||typeof I=="number"?(I=""+I,_!==null&&_.tag===6?(o(A,_.sibling),_=u(_,I),_.return=A,A=_):(o(A,_),_=Ju(I,A.mode,Y),_.return=A,A=_),v(A)):o(A,_)}return Ze}var Ho=Bf(!0),Uf=Bf(!1),la=mr(null),ua=null,$o=null,uu=null;function cu(){uu=$o=ua=null}function du(e){var t=la.current;Ue(la),e._currentValue=t}function fu(e,t,o){for(;e!==null;){var a=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,a!==null&&(a.childLanes|=t)):a!==null&&(a.childLanes&t)!==t&&(a.childLanes|=t),e===o)break;e=e.return}}function Wo(e,t){ua=e,uu=$o=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!==0&&(Mt=!0),e.firstContext=null)}function Vt(e){var t=e._currentValue;if(uu!==e)if(e={context:e,memoizedValue:t,next:null},$o===null){if(ua===null)throw Error(i(308));$o=e,ua.dependencies={lanes:0,firstContext:e}}else $o=$o.next=e;return t}var Zr=null;function pu(e){Zr===null?Zr=[e]:Zr.push(e)}function Hf(e,t,o,a){var u=t.interleaved;return u===null?(o.next=o,pu(t)):(o.next=u.next,u.next=o),t.interleaved=o,Wn(e,a)}function Wn(e,t){e.lanes|=t;var o=e.alternate;for(o!==null&&(o.lanes|=t),o=e,e=e.return;e!==null;)e.childLanes|=t,o=e.alternate,o!==null&&(o.childLanes|=t),o=e,e=e.return;return o.tag===3?o.stateNode:null}var gr=!1;function hu(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function $f(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Vn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function wr(e,t,o){var a=e.updateQueue;if(a===null)return null;if(a=a.shared,(_e&2)!==0){var u=a.pending;return u===null?t.next=t:(t.next=u.next,u.next=t),a.pending=t,Wn(e,o)}return u=a.interleaved,u===null?(t.next=t,pu(a)):(t.next=u.next,u.next=t),a.interleaved=t,Wn(e,o)}function ca(e,t,o){if(t=t.updateQueue,t!==null&&(t=t.shared,(o&4194240)!==0)){var a=t.lanes;a&=e.pendingLanes,o|=a,t.lanes=o,Ml(e,o)}}function Wf(e,t){var o=e.updateQueue,a=e.alternate;if(a!==null&&(a=a.updateQueue,o===a)){var u=null,d=null;if(o=o.firstBaseUpdate,o!==null){do{var v={eventTime:o.eventTime,lane:o.lane,tag:o.tag,payload:o.payload,callback:o.callback,next:null};d===null?u=d=v:d=d.next=v,o=o.next}while(o!==null);d===null?u=d=t:d=d.next=t}else u=d=t;o={baseState:a.baseState,firstBaseUpdate:u,lastBaseUpdate:d,shared:a.shared,effects:a.effects},e.updateQueue=o;return}e=o.lastBaseUpdate,e===null?o.firstBaseUpdate=t:e.next=t,o.lastBaseUpdate=t}function da(e,t,o,a){var u=e.updateQueue;gr=!1;var d=u.firstBaseUpdate,v=u.lastBaseUpdate,E=u.shared.pending;if(E!==null){u.shared.pending=null;var M=E,D=M.next;M.next=null,v===null?d=D:v.next=D,v=M;var W=e.alternate;W!==null&&(W=W.updateQueue,E=W.lastBaseUpdate,E!==v&&(E===null?W.firstBaseUpdate=D:E.next=D,W.lastBaseUpdate=M))}if(d!==null){var K=u.baseState;v=0,W=D=M=null,E=d;do{var $=E.lane,oe=E.eventTime;if((a&$)===$){W!==null&&(W=W.next={eventTime:oe,lane:0,tag:E.tag,payload:E.payload,callback:E.callback,next:null});e:{var le=e,ce=E;switch($=t,oe=o,ce.tag){case 1:if(le=ce.payload,typeof le=="function"){K=le.call(oe,K,$);break e}K=le;break e;case 3:le.flags=le.flags&-65537|128;case 0:if(le=ce.payload,$=typeof le=="function"?le.call(oe,K,$):le,$==null)break e;K=Q({},K,$);break e;case 2:gr=!0}}E.callback!==null&&E.lane!==0&&(e.flags|=64,$=u.effects,$===null?u.effects=[E]:$.push(E))}else oe={eventTime:oe,lane:$,tag:E.tag,payload:E.payload,callback:E.callback,next:null},W===null?(D=W=oe,M=K):W=W.next=oe,v|=$;if(E=E.next,E===null){if(E=u.shared.pending,E===null)break;$=E,E=$.next,$.next=null,u.lastBaseUpdate=$,u.shared.pending=null}}while(!0);if(W===null&&(M=K),u.baseState=M,u.firstBaseUpdate=D,u.lastBaseUpdate=W,t=u.shared.interleaved,t!==null){u=t;do v|=u.lane,u=u.next;while(u!==t)}else d===null&&(u.shared.lanes=0);to|=v,e.lanes=v,e.memoizedState=K}}function Vf(e,t,o){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var a=e[t],u=a.callback;if(u!==null){if(a.callback=null,a=o,typeof u!="function")throw Error(i(191,u));u.call(a)}}}var qi={},Mn=mr(qi),Gi=mr(qi),Yi=mr(qi);function Jr(e){if(e===qi)throw Error(i(174));return e}function mu(e,t){switch(ze(Yi,t),ze(Gi,e),ze(Mn,qi),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Sn(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Sn(t,e)}Ue(Mn),ze(Mn,t)}function Vo(){Ue(Mn),Ue(Gi),Ue(Yi)}function Qf(e){Jr(Yi.current);var t=Jr(Mn.current),o=Sn(t,e.type);t!==o&&(ze(Gi,e),ze(Mn,o))}function vu(e){Gi.current===e&&(Ue(Mn),Ue(Gi))}var Qe=mr(0);function fa(e){for(var t=e;t!==null;){if(t.tag===13){var o=t.memoizedState;if(o!==null&&(o=o.dehydrated,o===null||o.data==="$?"||o.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var yu=[];function gu(){for(var e=0;e<yu.length;e++)yu[e]._workInProgressVersionPrimary=null;yu.length=0}var pa=L.ReactCurrentDispatcher,wu=L.ReactCurrentBatchConfig,eo=0,Ke=null,tt=null,ot=null,ha=!1,Xi=!1,Zi=0,t0=0;function pt(){throw Error(i(321))}function xu(e,t){if(t===null)return!1;for(var o=0;o<t.length&&o<e.length;o++)if(!nn(e[o],t[o]))return!1;return!0}function Su(e,t,o,a,u,d){if(eo=d,Ke=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,pa.current=e===null||e.memoizedState===null?i0:s0,e=o(a,u),Xi){d=0;do{if(Xi=!1,Zi=0,25<=d)throw Error(i(301));d+=1,ot=tt=null,t.updateQueue=null,pa.current=a0,e=o(a,u)}while(Xi)}if(pa.current=ya,t=tt!==null&&tt.next!==null,eo=0,ot=tt=Ke=null,ha=!1,t)throw Error(i(300));return e}function Cu(){var e=Zi!==0;return Zi=0,e}function Tn(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ot===null?Ke.memoizedState=ot=e:ot=ot.next=e,ot}function Qt(){if(tt===null){var e=Ke.alternate;e=e!==null?e.memoizedState:null}else e=tt.next;var t=ot===null?Ke.memoizedState:ot.next;if(t!==null)ot=t,tt=e;else{if(e===null)throw Error(i(310));tt=e,e={memoizedState:tt.memoizedState,baseState:tt.baseState,baseQueue:tt.baseQueue,queue:tt.queue,next:null},ot===null?Ke.memoizedState=ot=e:ot=ot.next=e}return ot}function Ji(e,t){return typeof t=="function"?t(e):t}function ku(e){var t=Qt(),o=t.queue;if(o===null)throw Error(i(311));o.lastRenderedReducer=e;var a=tt,u=a.baseQueue,d=o.pending;if(d!==null){if(u!==null){var v=u.next;u.next=d.next,d.next=v}a.baseQueue=u=d,o.pending=null}if(u!==null){d=u.next,a=a.baseState;var E=v=null,M=null,D=d;do{var W=D.lane;if((eo&W)===W)M!==null&&(M=M.next={lane:0,action:D.action,hasEagerState:D.hasEagerState,eagerState:D.eagerState,next:null}),a=D.hasEagerState?D.eagerState:e(a,D.action);else{var K={lane:W,action:D.action,hasEagerState:D.hasEagerState,eagerState:D.eagerState,next:null};M===null?(E=M=K,v=a):M=M.next=K,Ke.lanes|=W,to|=W}D=D.next}while(D!==null&&D!==d);M===null?v=a:M.next=E,nn(a,t.memoizedState)||(Mt=!0),t.memoizedState=a,t.baseState=v,t.baseQueue=M,o.lastRenderedState=a}if(e=o.interleaved,e!==null){u=e;do d=u.lane,Ke.lanes|=d,to|=d,u=u.next;while(u!==e)}else u===null&&(o.lanes=0);return[t.memoizedState,o.dispatch]}function Eu(e){var t=Qt(),o=t.queue;if(o===null)throw Error(i(311));o.lastRenderedReducer=e;var a=o.dispatch,u=o.pending,d=t.memoizedState;if(u!==null){o.pending=null;var v=u=u.next;do d=e(d,v.action),v=v.next;while(v!==u);nn(d,t.memoizedState)||(Mt=!0),t.memoizedState=d,t.baseQueue===null&&(t.baseState=d),o.lastRenderedState=d}return[d,a]}function Kf(){}function qf(e,t){var o=Ke,a=Qt(),u=t(),d=!nn(a.memoizedState,u);if(d&&(a.memoizedState=u,Mt=!0),a=a.queue,Ru(Xf.bind(null,o,a,e),[e]),a.getSnapshot!==t||d||ot!==null&&ot.memoizedState.tag&1){if(o.flags|=2048,es(9,Yf.bind(null,o,a,u,t),void 0,null),it===null)throw Error(i(349));(eo&30)!==0||Gf(o,t,u)}return u}function Gf(e,t,o){e.flags|=16384,e={getSnapshot:t,value:o},t=Ke.updateQueue,t===null?(t={lastEffect:null,stores:null},Ke.updateQueue=t,t.stores=[e]):(o=t.stores,o===null?t.stores=[e]:o.push(e))}function Yf(e,t,o,a){t.value=o,t.getSnapshot=a,Zf(t)&&Jf(e)}function Xf(e,t,o){return o(function(){Zf(t)&&Jf(e)})}function Zf(e){var t=e.getSnapshot;e=e.value;try{var o=t();return!nn(e,o)}catch{return!0}}function Jf(e){var t=Wn(e,1);t!==null&&ln(t,e,1,-1)}function ep(e){var t=Tn();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Ji,lastRenderedState:e},t.queue=e,e=e.dispatch=o0.bind(null,Ke,e),[t.memoizedState,e]}function es(e,t,o,a){return e={tag:e,create:t,destroy:o,deps:a,next:null},t=Ke.updateQueue,t===null?(t={lastEffect:null,stores:null},Ke.updateQueue=t,t.lastEffect=e.next=e):(o=t.lastEffect,o===null?t.lastEffect=e.next=e:(a=o.next,o.next=e,e.next=a,t.lastEffect=e)),e}function tp(){return Qt().memoizedState}function ma(e,t,o,a){var u=Tn();Ke.flags|=e,u.memoizedState=es(1|t,o,void 0,a===void 0?null:a)}function va(e,t,o,a){var u=Qt();a=a===void 0?null:a;var d=void 0;if(tt!==null){var v=tt.memoizedState;if(d=v.destroy,a!==null&&xu(a,v.deps)){u.memoizedState=es(t,o,d,a);return}}Ke.flags|=e,u.memoizedState=es(1|t,o,d,a)}function np(e,t){return ma(8390656,8,e,t)}function Ru(e,t){return va(2048,8,e,t)}function rp(e,t){return va(4,2,e,t)}function op(e,t){return va(4,4,e,t)}function ip(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function sp(e,t,o){return o=o!=null?o.concat([e]):null,va(4,4,ip.bind(null,t,e),o)}function bu(){}function ap(e,t){var o=Qt();t=t===void 0?null:t;var a=o.memoizedState;return a!==null&&t!==null&&xu(t,a[1])?a[0]:(o.memoizedState=[e,t],e)}function lp(e,t){var o=Qt();t=t===void 0?null:t;var a=o.memoizedState;return a!==null&&t!==null&&xu(t,a[1])?a[0]:(e=e(),o.memoizedState=[e,t],e)}function up(e,t,o){return(eo&21)===0?(e.baseState&&(e.baseState=!1,Mt=!0),e.memoizedState=o):(nn(o,t)||(o=zd(),Ke.lanes|=o,to|=o,e.baseState=!0),t)}function n0(e,t){var o=De;De=o!==0&&4>o?o:4,e(!0);var a=wu.transition;wu.transition={};try{e(!1),t()}finally{De=o,wu.transition=a}}function cp(){return Qt().memoizedState}function r0(e,t,o){var a=kr(e);if(o={lane:a,action:o,hasEagerState:!1,eagerState:null,next:null},dp(e))fp(t,o);else if(o=Hf(e,t,o,a),o!==null){var u=St();ln(o,e,a,u),pp(o,t,a)}}function o0(e,t,o){var a=kr(e),u={lane:a,action:o,hasEagerState:!1,eagerState:null,next:null};if(dp(e))fp(t,u);else{var d=e.alternate;if(e.lanes===0&&(d===null||d.lanes===0)&&(d=t.lastRenderedReducer,d!==null))try{var v=t.lastRenderedState,E=d(v,o);if(u.hasEagerState=!0,u.eagerState=E,nn(E,v)){var M=t.interleaved;M===null?(u.next=u,pu(t)):(u.next=M.next,M.next=u),t.interleaved=u;return}}catch{}finally{}o=Hf(e,t,u,a),o!==null&&(u=St(),ln(o,e,a,u),pp(o,t,a))}}function dp(e){var t=e.alternate;return e===Ke||t!==null&&t===Ke}function fp(e,t){Xi=ha=!0;var o=e.pending;o===null?t.next=t:(t.next=o.next,o.next=t),e.pending=t}function pp(e,t,o){if((o&4194240)!==0){var a=t.lanes;a&=e.pendingLanes,o|=a,t.lanes=o,Ml(e,o)}}var ya={readContext:Vt,useCallback:pt,useContext:pt,useEffect:pt,useImperativeHandle:pt,useInsertionEffect:pt,useLayoutEffect:pt,useMemo:pt,useReducer:pt,useRef:pt,useState:pt,useDebugValue:pt,useDeferredValue:pt,useTransition:pt,useMutableSource:pt,useSyncExternalStore:pt,useId:pt,unstable_isNewReconciler:!1},i0={readContext:Vt,useCallback:function(e,t){return Tn().memoizedState=[e,t===void 0?null:t],e},useContext:Vt,useEffect:np,useImperativeHandle:function(e,t,o){return o=o!=null?o.concat([e]):null,ma(4194308,4,ip.bind(null,t,e),o)},useLayoutEffect:function(e,t){return ma(4194308,4,e,t)},useInsertionEffect:function(e,t){return ma(4,2,e,t)},useMemo:function(e,t){var o=Tn();return t=t===void 0?null:t,e=e(),o.memoizedState=[e,t],e},useReducer:function(e,t,o){var a=Tn();return t=o!==void 0?o(t):t,a.memoizedState=a.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},a.queue=e,e=e.dispatch=r0.bind(null,Ke,e),[a.memoizedState,e]},useRef:function(e){var t=Tn();return e={current:e},t.memoizedState=e},useState:ep,useDebugValue:bu,useDeferredValue:function(e){return Tn().memoizedState=e},useTransition:function(){var e=ep(!1),t=e[0];return e=n0.bind(null,e[1]),Tn().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,o){var a=Ke,u=Tn();if(We){if(o===void 0)throw Error(i(407));o=o()}else{if(o=t(),it===null)throw Error(i(349));(eo&30)!==0||Gf(a,t,o)}u.memoizedState=o;var d={value:o,getSnapshot:t};return u.queue=d,np(Xf.bind(null,a,d,e),[e]),a.flags|=2048,es(9,Yf.bind(null,a,d,o,t),void 0,null),o},useId:function(){var e=Tn(),t=it.identifierPrefix;if(We){var o=$n,a=Hn;o=(a&~(1<<32-tn(a)-1)).toString(32)+o,t=":"+t+"R"+o,o=Zi++,0<o&&(t+="H"+o.toString(32)),t+=":"}else o=t0++,t=":"+t+"r"+o.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},s0={readContext:Vt,useCallback:ap,useContext:Vt,useEffect:Ru,useImperativeHandle:sp,useInsertionEffect:rp,useLayoutEffect:op,useMemo:lp,useReducer:ku,useRef:tp,useState:function(){return ku(Ji)},useDebugValue:bu,useDeferredValue:function(e){var t=Qt();return up(t,tt.memoizedState,e)},useTransition:function(){var e=ku(Ji)[0],t=Qt().memoizedState;return[e,t]},useMutableSource:Kf,useSyncExternalStore:qf,useId:cp,unstable_isNewReconciler:!1},a0={readContext:Vt,useCallback:ap,useContext:Vt,useEffect:Ru,useImperativeHandle:sp,useInsertionEffect:rp,useLayoutEffect:op,useMemo:lp,useReducer:Eu,useRef:tp,useState:function(){return Eu(Ji)},useDebugValue:bu,useDeferredValue:function(e){var t=Qt();return tt===null?t.memoizedState=e:up(t,tt.memoizedState,e)},useTransition:function(){var e=Eu(Ji)[0],t=Qt().memoizedState;return[e,t]},useMutableSource:Kf,useSyncExternalStore:qf,useId:cp,unstable_isNewReconciler:!1};function on(e,t){if(e&&e.defaultProps){t=Q({},t),e=e.defaultProps;for(var o in e)t[o]===void 0&&(t[o]=e[o]);return t}return t}function Pu(e,t,o,a){t=e.memoizedState,o=o(a,t),o=o==null?t:Q({},t,o),e.memoizedState=o,e.lanes===0&&(e.updateQueue.baseState=o)}var ga={isMounted:function(e){return(e=e._reactInternals)?Kr(e)===e:!1},enqueueSetState:function(e,t,o){e=e._reactInternals;var a=St(),u=kr(e),d=Vn(a,u);d.payload=t,o!=null&&(d.callback=o),t=wr(e,d,u),t!==null&&(ln(t,e,u,a),ca(t,e,u))},enqueueReplaceState:function(e,t,o){e=e._reactInternals;var a=St(),u=kr(e),d=Vn(a,u);d.tag=1,d.payload=t,o!=null&&(d.callback=o),t=wr(e,d,u),t!==null&&(ln(t,e,u,a),ca(t,e,u))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var o=St(),a=kr(e),u=Vn(o,a);u.tag=2,t!=null&&(u.callback=t),t=wr(e,u,a),t!==null&&(ln(t,e,a,o),ca(t,e,a))}};function hp(e,t,o,a,u,d,v){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(a,d,v):t.prototype&&t.prototype.isPureReactComponent?!Bi(o,a)||!Bi(u,d):!0}function mp(e,t,o){var a=!1,u=vr,d=t.contextType;return typeof d=="object"&&d!==null?d=Vt(d):(u=Pt(t)?Gr:ft.current,a=t.contextTypes,d=(a=a!=null)?zo(e,u):vr),t=new t(o,d),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=ga,e.stateNode=t,t._reactInternals=e,a&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=u,e.__reactInternalMemoizedMaskedChildContext=d),t}function vp(e,t,o,a){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(o,a),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(o,a),t.state!==e&&ga.enqueueReplaceState(t,t.state,null)}function Mu(e,t,o,a){var u=e.stateNode;u.props=o,u.state=e.memoizedState,u.refs={},hu(e);var d=t.contextType;typeof d=="object"&&d!==null?u.context=Vt(d):(d=Pt(t)?Gr:ft.current,u.context=zo(e,d)),u.state=e.memoizedState,d=t.getDerivedStateFromProps,typeof d=="function"&&(Pu(e,t,d,o),u.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof u.getSnapshotBeforeUpdate=="function"||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(t=u.state,typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount(),t!==u.state&&ga.enqueueReplaceState(u,u.state,null),da(e,o,u,a),u.state=e.memoizedState),typeof u.componentDidMount=="function"&&(e.flags|=4194308)}function Qo(e,t){try{var o="",a=t;do o+=ve(a),a=a.return;while(a);var u=o}catch(d){u=`
|
|
39
39
|
Error generating stack: `+d.message+`
|
|
40
|
-
`+d.stack}return{value:e,source:t,stack:u,digest:null}}function Tu(e,t,o){return{value:e,source:null,stack:o??null,digest:t??null}}function Ou(e,t){try{console.error(t.value)}catch(o){setTimeout(function(){throw o})}}var u0=typeof WeakMap=="function"?WeakMap:Map;function gp(e,t,o){o=Vn(-1,o),o.tag=3,o.payload={element:null};var a=t.value;return o.callback=function(){ba||(ba=!0,Vu=a),Ou(e,t)},o}function wp(e,t,o){o=Vn(-1,o),o.tag=3;var a=e.type.getDerivedStateFromError;if(typeof a=="function"){var u=t.value;o.payload=function(){return a(u)},o.callback=function(){Ou(e,t)}}var d=e.stateNode;return d!==null&&typeof d.componentDidCatch=="function"&&(o.callback=function(){Ou(e,t),typeof a!="function"&&(Sr===null?Sr=new Set([this]):Sr.add(this));var v=t.stack;this.componentDidCatch(t.value,{componentStack:v!==null?v:""})}),o}function xp(e,t,o){var a=e.pingCache;if(a===null){a=e.pingCache=new u0;var u=new Set;a.set(t,u)}else u=a.get(t),u===void 0&&(u=new Set,a.set(t,u));u.has(o)||(u.add(o),e=k0.bind(null,e,t,o),t.then(e,e))}function Sp(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function Cp(e,t,o,a,u){return(e.mode&1)===0?(e===t?e.flags|=65536:(e.flags|=128,o.flags|=131072,o.flags&=-52805,o.tag===1&&(o.alternate===null?o.tag=17:(t=Vn(-1,1),t.tag=2,wr(o,t,1))),o.lanes|=1),e):(e.flags|=65536,e.lanes=u,e)}var c0=L.ReactCurrentOwner,Mt=!1;function xt(e,t,o,a){t.child=e===null?Hf(t,null,o,a):Ho(t,e.child,o,a)}function kp(e,t,o,a,u){o=o.render;var d=t.ref;return Wo(t,u),a=Su(e,t,o,a,d,u),o=Cu(),e!==null&&!Mt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~u,Qn(e,t,u)):(We&&o&&ou(t),t.flags|=1,xt(e,t,a,u),t.child)}function Ep(e,t,o,a,u){if(e===null){var d=o.type;return typeof d=="function"&&!Zu(d)&&d.defaultProps===void 0&&o.compare===null&&o.defaultProps===void 0?(t.tag=15,t.type=d,bp(e,t,d,a,u)):(e=Na(o.type,null,a,t,t.mode,u),e.ref=t.ref,e.return=t,t.child=e)}if(d=e.child,(e.lanes&u)===0){var v=d.memoizedProps;if(o=o.compare,o=o!==null?o:Bi,o(v,a)&&e.ref===t.ref)return Qn(e,t,u)}return t.flags|=1,e=br(d,a),e.ref=t.ref,e.return=t,t.child=e}function bp(e,t,o,a,u){if(e!==null){var d=e.memoizedProps;if(Bi(d,a)&&e.ref===t.ref)if(Mt=!1,t.pendingProps=a=d,(e.lanes&u)!==0)(e.flags&131072)!==0&&(Mt=!0);else return t.lanes=e.lanes,Qn(e,t,u)}return Nu(e,t,o,a,u)}function Rp(e,t,o){var a=t.pendingProps,u=a.children,d=e!==null?e.memoizedState:null;if(a.mode==="hidden")if((t.mode&1)===0)t.memoizedState={baseLanes:0,cachePool:null,transitions:null},ze(qo,zt),zt|=o;else{if((o&1073741824)===0)return e=d!==null?d.baseLanes|o:o,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,ze(qo,zt),zt|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},a=d!==null?d.baseLanes:o,ze(qo,zt),zt|=a}else d!==null?(a=d.baseLanes|o,t.memoizedState=null):a=o,ze(qo,zt),zt|=a;return xt(e,t,u,o),t.child}function Pp(e,t){var o=t.ref;(e===null&&o!==null||e!==null&&e.ref!==o)&&(t.flags|=512,t.flags|=2097152)}function Nu(e,t,o,a,u){var d=Pt(o)?Gr:ft.current;return d=zo(t,d),Wo(t,u),o=Su(e,t,o,a,d,u),a=Cu(),e!==null&&!Mt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~u,Qn(e,t,u)):(We&&a&&ou(t),t.flags|=1,xt(e,t,o,u),t.child)}function Mp(e,t,o,a,u){if(Pt(o)){var d=!0;na(t)}else d=!1;if(Wo(t,u),t.stateNode===null)xa(e,t),vp(t,o,a),Mu(t,o,a,u),a=!0;else if(e===null){var v=t.stateNode,E=t.memoizedProps;v.props=E;var M=v.context,D=o.contextType;typeof D=="object"&&D!==null?D=Vt(D):(D=Pt(o)?Gr:ft.current,D=zo(t,D));var W=o.getDerivedStateFromProps,K=typeof W=="function"||typeof v.getSnapshotBeforeUpdate=="function";K||typeof v.UNSAFE_componentWillReceiveProps!="function"&&typeof v.componentWillReceiveProps!="function"||(E!==a||M!==D)&&yp(t,v,a,D),gr=!1;var $=t.memoizedState;v.state=$,da(t,a,v,u),M=t.memoizedState,E!==a||$!==M||Rt.current||gr?(typeof W=="function"&&(Pu(t,o,W,a),M=t.memoizedState),(E=gr||mp(t,o,E,a,$,M,D))?(K||typeof v.UNSAFE_componentWillMount!="function"&&typeof v.componentWillMount!="function"||(typeof v.componentWillMount=="function"&&v.componentWillMount(),typeof v.UNSAFE_componentWillMount=="function"&&v.UNSAFE_componentWillMount()),typeof v.componentDidMount=="function"&&(t.flags|=4194308)):(typeof v.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=a,t.memoizedState=M),v.props=a,v.state=M,v.context=D,a=E):(typeof v.componentDidMount=="function"&&(t.flags|=4194308),a=!1)}else{v=t.stateNode,Wf(e,t),E=t.memoizedProps,D=t.type===t.elementType?E:on(t.type,E),v.props=D,K=t.pendingProps,$=v.context,M=o.contextType,typeof M=="object"&&M!==null?M=Vt(M):(M=Pt(o)?Gr:ft.current,M=zo(t,M));var oe=o.getDerivedStateFromProps;(W=typeof oe=="function"||typeof v.getSnapshotBeforeUpdate=="function")||typeof v.UNSAFE_componentWillReceiveProps!="function"&&typeof v.componentWillReceiveProps!="function"||(E!==K||$!==M)&&yp(t,v,a,M),gr=!1,$=t.memoizedState,v.state=$,da(t,a,v,u);var le=t.memoizedState;E!==K||$!==le||Rt.current||gr?(typeof oe=="function"&&(Pu(t,o,oe,a),le=t.memoizedState),(D=gr||mp(t,o,D,a,$,le,M)||!1)?(W||typeof v.UNSAFE_componentWillUpdate!="function"&&typeof v.componentWillUpdate!="function"||(typeof v.componentWillUpdate=="function"&&v.componentWillUpdate(a,le,M),typeof v.UNSAFE_componentWillUpdate=="function"&&v.UNSAFE_componentWillUpdate(a,le,M)),typeof v.componentDidUpdate=="function"&&(t.flags|=4),typeof v.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof v.componentDidUpdate!="function"||E===e.memoizedProps&&$===e.memoizedState||(t.flags|=4),typeof v.getSnapshotBeforeUpdate!="function"||E===e.memoizedProps&&$===e.memoizedState||(t.flags|=1024),t.memoizedProps=a,t.memoizedState=le),v.props=a,v.state=le,v.context=M,a=D):(typeof v.componentDidUpdate!="function"||E===e.memoizedProps&&$===e.memoizedState||(t.flags|=4),typeof v.getSnapshotBeforeUpdate!="function"||E===e.memoizedProps&&$===e.memoizedState||(t.flags|=1024),a=!1)}return _u(e,t,o,a,d,u)}function _u(e,t,o,a,u,d){Pp(e,t);var v=(t.flags&128)!==0;if(!a&&!v)return u&&Lf(t,o,!1),Qn(e,t,d);a=t.stateNode,c0.current=t;var E=v&&typeof o.getDerivedStateFromError!="function"?null:a.render();return t.flags|=1,e!==null&&v?(t.child=Ho(t,e.child,null,d),t.child=Ho(t,null,E,d)):xt(e,t,E,d),t.memoizedState=a.state,u&&Lf(t,o,!0),t.child}function Tp(e){var t=e.stateNode;t.pendingContext?Nf(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Nf(e,t.context,!1),mu(e,t.containerInfo)}function Op(e,t,o,a,u){return Uo(),lu(u),t.flags|=256,xt(e,t,o,a),t.child}var Lu={dehydrated:null,treeContext:null,retryLane:0};function Au(e){return{baseLanes:e,cachePool:null,transitions:null}}function Np(e,t,o){var a=t.pendingProps,u=Qe.current,d=!1,v=(t.flags&128)!==0,E;if((E=v)||(E=e!==null&&e.memoizedState===null?!1:(u&2)!==0),E?(d=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(u|=1),ze(Qe,u&1),e===null)return au(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?((t.mode&1)===0?t.lanes=1:e.data==="$!"?t.lanes=8:t.lanes=1073741824,null):(v=a.children,e=a.fallback,d?(a=t.mode,d=t.child,v={mode:"hidden",children:v},(a&1)===0&&d!==null?(d.childLanes=0,d.pendingProps=v):d=_a(v,a,0,null),e=io(e,a,o,null),d.return=t,e.return=t,d.sibling=e,t.child=d,t.child.memoizedState=Au(o),t.memoizedState=Lu,e):Iu(t,v));if(u=e.memoizedState,u!==null&&(E=u.dehydrated,E!==null))return d0(e,t,v,a,E,u,o);if(d){d=a.fallback,v=t.mode,u=e.child,E=u.sibling;var M={mode:"hidden",children:a.children};return(v&1)===0&&t.child!==u?(a=t.child,a.childLanes=0,a.pendingProps=M,t.deletions=null):(a=br(u,M),a.subtreeFlags=u.subtreeFlags&14680064),E!==null?d=br(E,d):(d=io(d,v,o,null),d.flags|=2),d.return=t,a.return=t,a.sibling=d,t.child=a,a=d,d=t.child,v=e.child.memoizedState,v=v===null?Au(o):{baseLanes:v.baseLanes|o,cachePool:null,transitions:v.transitions},d.memoizedState=v,d.childLanes=e.childLanes&~o,t.memoizedState=Lu,a}return d=e.child,e=d.sibling,a=br(d,{mode:"visible",children:a.children}),(t.mode&1)===0&&(a.lanes=o),a.return=t,a.sibling=null,e!==null&&(o=t.deletions,o===null?(t.deletions=[e],t.flags|=16):o.push(e)),t.child=a,t.memoizedState=null,a}function Iu(e,t){return t=_a({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function wa(e,t,o,a){return a!==null&&lu(a),Ho(t,e.child,null,o),e=Iu(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function d0(e,t,o,a,u,d,v){if(o)return t.flags&256?(t.flags&=-257,a=Tu(Error(i(422))),wa(e,t,v,a)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(d=a.fallback,u=t.mode,a=_a({mode:"visible",children:a.children},u,0,null),d=io(d,u,v,null),d.flags|=2,a.return=t,d.return=t,a.sibling=d,t.child=a,(t.mode&1)!==0&&Ho(t,e.child,null,v),t.child.memoizedState=Au(v),t.memoizedState=Lu,d);if((t.mode&1)===0)return wa(e,t,v,null);if(u.data==="$!"){if(a=u.nextSibling&&u.nextSibling.dataset,a)var E=a.dgst;return a=E,d=Error(i(419)),a=Tu(d,a,void 0),wa(e,t,v,a)}if(E=(v&e.childLanes)!==0,Mt||E){if(a=it,a!==null){switch(v&-v){case 4:u=2;break;case 16:u=8;break;case 64: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:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:u=32;break;case 536870912:u=268435456;break;default:u=0}u=(u&(a.suspendedLanes|v))!==0?0:u,u!==0&&u!==d.retryLane&&(d.retryLane=u,Wn(e,u),ln(a,e,u,-1))}return Xu(),a=Tu(Error(i(421))),wa(e,t,v,a)}return u.data==="$?"?(t.flags|=128,t.child=e.child,t=E0.bind(null,e),u._reactRetry=t,null):(e=d.treeContext,Ft=hr(u.nextSibling),Dt=t,We=!0,rn=null,e!==null&&($t[Wt++]=Hn,$t[Wt++]=$n,$t[Wt++]=Yr,Hn=e.id,$n=e.overflow,Yr=t),t=Iu(t,a.children),t.flags|=4096,t)}function _p(e,t,o){e.lanes|=t;var a=e.alternate;a!==null&&(a.lanes|=t),fu(e.return,t,o)}function Du(e,t,o,a,u){var d=e.memoizedState;d===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:a,tail:o,tailMode:u}:(d.isBackwards=t,d.rendering=null,d.renderingStartTime=0,d.last=a,d.tail=o,d.tailMode=u)}function Lp(e,t,o){var a=t.pendingProps,u=a.revealOrder,d=a.tail;if(xt(e,t,a.children,o),a=Qe.current,(a&2)!==0)a=a&1|2,t.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&_p(e,o,t);else if(e.tag===19)_p(e,o,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}a&=1}if(ze(Qe,a),(t.mode&1)===0)t.memoizedState=null;else switch(u){case"forwards":for(o=t.child,u=null;o!==null;)e=o.alternate,e!==null&&fa(e)===null&&(u=o),o=o.sibling;o=u,o===null?(u=t.child,t.child=null):(u=o.sibling,o.sibling=null),Du(t,!1,u,o,d);break;case"backwards":for(o=null,u=t.child,t.child=null;u!==null;){if(e=u.alternate,e!==null&&fa(e)===null){t.child=u;break}e=u.sibling,u.sibling=o,o=u,u=e}Du(t,!0,o,null,d);break;case"together":Du(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function xa(e,t){(t.mode&1)===0&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Qn(e,t,o){if(e!==null&&(t.dependencies=e.dependencies),to|=t.lanes,(o&t.childLanes)===0)return null;if(e!==null&&t.child!==e.child)throw Error(i(153));if(t.child!==null){for(e=t.child,o=br(e,e.pendingProps),t.child=o,o.return=t;e.sibling!==null;)e=e.sibling,o=o.sibling=br(e,e.pendingProps),o.return=t;o.sibling=null}return t.child}function f0(e,t,o){switch(t.tag){case 3:Tp(t),Uo();break;case 5:Kf(t);break;case 1:Pt(t.type)&&na(t);break;case 4:mu(t,t.stateNode.containerInfo);break;case 10:var a=t.type._context,u=t.memoizedProps.value;ze(la,a._currentValue),a._currentValue=u;break;case 13:if(a=t.memoizedState,a!==null)return a.dehydrated!==null?(ze(Qe,Qe.current&1),t.flags|=128,null):(o&t.child.childLanes)!==0?Np(e,t,o):(ze(Qe,Qe.current&1),e=Qn(e,t,o),e!==null?e.sibling:null);ze(Qe,Qe.current&1);break;case 19:if(a=(o&t.childLanes)!==0,(e.flags&128)!==0){if(a)return Lp(e,t,o);t.flags|=128}if(u=t.memoizedState,u!==null&&(u.rendering=null,u.tail=null,u.lastEffect=null),ze(Qe,Qe.current),a)break;return null;case 22:case 23:return t.lanes=0,Rp(e,t,o)}return Qn(e,t,o)}var Ap,Fu,Ip,Dp;Ap=function(e,t){for(var o=t.child;o!==null;){if(o.tag===5||o.tag===6)e.appendChild(o.stateNode);else if(o.tag!==4&&o.child!==null){o.child.return=o,o=o.child;continue}if(o===t)break;for(;o.sibling===null;){if(o.return===null||o.return===t)return;o=o.return}o.sibling.return=o.return,o=o.sibling}},Fu=function(){},Ip=function(e,t,o,a){var u=e.memoizedProps;if(u!==a){e=t.stateNode,Jr(Mn.current);var d=null;switch(o){case"input":u=dt(e,u),a=dt(e,a),d=[];break;case"select":u=Q({},u,{value:void 0}),a=Q({},a,{value:void 0}),d=[];break;case"textarea":u=Eo(e,u),a=Eo(e,a),d=[];break;default:typeof u.onClick!="function"&&typeof a.onClick=="function"&&(e.onclick=Js)}kn(o,a);var v;o=null;for(D in u)if(!a.hasOwnProperty(D)&&u.hasOwnProperty(D)&&u[D]!=null)if(D==="style"){var E=u[D];for(v in E)E.hasOwnProperty(v)&&(o||(o={}),o[v]="")}else D!=="dangerouslySetInnerHTML"&&D!=="children"&&D!=="suppressContentEditableWarning"&&D!=="suppressHydrationWarning"&&D!=="autoFocus"&&(l.hasOwnProperty(D)?d||(d=[]):(d=d||[]).push(D,null));for(D in a){var M=a[D];if(E=u!=null?u[D]:void 0,a.hasOwnProperty(D)&&M!==E&&(M!=null||E!=null))if(D==="style")if(E){for(v in E)!E.hasOwnProperty(v)||M&&M.hasOwnProperty(v)||(o||(o={}),o[v]="");for(v in M)M.hasOwnProperty(v)&&E[v]!==M[v]&&(o||(o={}),o[v]=M[v])}else o||(d||(d=[]),d.push(D,o)),o=M;else D==="dangerouslySetInnerHTML"?(M=M?M.__html:void 0,E=E?E.__html:void 0,M!=null&&E!==M&&(d=d||[]).push(D,M)):D==="children"?typeof M!="string"&&typeof M!="number"||(d=d||[]).push(D,""+M):D!=="suppressContentEditableWarning"&&D!=="suppressHydrationWarning"&&(l.hasOwnProperty(D)?(M!=null&&D==="onScroll"&&Be("scroll",e),d||E===M||(d=[])):(d=d||[]).push(D,M))}o&&(d=d||[]).push("style",o);var D=d;(t.updateQueue=D)&&(t.flags|=4)}},Dp=function(e,t,o,a){o!==a&&(t.flags|=4)};function ts(e,t){if(!We)switch(e.tailMode){case"hidden":t=e.tail;for(var o=null;t!==null;)t.alternate!==null&&(o=t),t=t.sibling;o===null?e.tail=null:o.sibling=null;break;case"collapsed":o=e.tail;for(var a=null;o!==null;)o.alternate!==null&&(a=o),o=o.sibling;a===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:a.sibling=null}}function ht(e){var t=e.alternate!==null&&e.alternate.child===e.child,o=0,a=0;if(t)for(var u=e.child;u!==null;)o|=u.lanes|u.childLanes,a|=u.subtreeFlags&14680064,a|=u.flags&14680064,u.return=e,u=u.sibling;else for(u=e.child;u!==null;)o|=u.lanes|u.childLanes,a|=u.subtreeFlags,a|=u.flags,u.return=e,u=u.sibling;return e.subtreeFlags|=a,e.childLanes=o,t}function p0(e,t,o){var a=t.pendingProps;switch(iu(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ht(t),null;case 1:return Pt(t.type)&&ta(),ht(t),null;case 3:return a=t.stateNode,Vo(),Ue(Rt),Ue(ft),gu(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(e===null||e.child===null)&&(sa(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,rn!==null&&(qu(rn),rn=null))),Fu(e,t),ht(t),null;case 5:vu(t);var u=Jr(Yi.current);if(o=t.type,e!==null&&t.stateNode!=null)Ip(e,t,o,a,u),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!a){if(t.stateNode===null)throw Error(i(166));return ht(t),null}if(e=Jr(Mn.current),sa(t)){a=t.stateNode,o=t.type;var d=t.memoizedProps;switch(a[Pn]=t,a[Vi]=d,e=(t.mode&1)!==0,o){case"dialog":Be("cancel",a),Be("close",a);break;case"iframe":case"object":case"embed":Be("load",a);break;case"video":case"audio":for(u=0;u<Hi.length;u++)Be(Hi[u],a);break;case"source":Be("error",a);break;case"img":case"image":case"link":Be("error",a),Be("load",a);break;case"details":Be("toggle",a);break;case"input":gn(a,d),Be("invalid",a);break;case"select":a._wrapperState={wasMultiple:!!d.multiple},Be("invalid",a);break;case"textarea":xn(a,d),Be("invalid",a)}kn(o,d),u=null;for(var v in d)if(d.hasOwnProperty(v)){var E=d[v];v==="children"?typeof E=="string"?a.textContent!==E&&(d.suppressHydrationWarning!==!0&&Zs(a.textContent,E,e),u=["children",E]):typeof E=="number"&&a.textContent!==""+E&&(d.suppressHydrationWarning!==!0&&Zs(a.textContent,E,e),u=["children",""+E]):l.hasOwnProperty(v)&&E!=null&&v==="onScroll"&&Be("scroll",a)}switch(o){case"input":Me(a),ir(a,d,!0);break;case"textarea":Me(a),Ps(a);break;case"select":case"option":break;default:typeof d.onClick=="function"&&(a.onclick=Js)}a=u,t.updateQueue=a,a!==null&&(t.flags|=4)}else{v=u.nodeType===9?u:u.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=gt(o)),e==="http://www.w3.org/1999/xhtml"?o==="script"?(e=v.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof a.is=="string"?e=v.createElement(o,{is:a.is}):(e=v.createElement(o),o==="select"&&(v=e,a.multiple?v.multiple=!0:a.size&&(v.size=a.size))):e=v.createElementNS(e,o),e[Pn]=t,e[Vi]=a,Ap(e,t,!1,!1),t.stateNode=e;e:{switch(v=bi(o,a),o){case"dialog":Be("cancel",e),Be("close",e),u=a;break;case"iframe":case"object":case"embed":Be("load",e),u=a;break;case"video":case"audio":for(u=0;u<Hi.length;u++)Be(Hi[u],e);u=a;break;case"source":Be("error",e),u=a;break;case"img":case"image":case"link":Be("error",e),Be("load",e),u=a;break;case"details":Be("toggle",e),u=a;break;case"input":gn(e,a),u=dt(e,a),Be("invalid",e);break;case"option":u=a;break;case"select":e._wrapperState={wasMultiple:!!a.multiple},u=Q({},a,{value:void 0}),Be("invalid",e);break;case"textarea":xn(e,a),u=Eo(e,a),Be("invalid",e);break;default:u=a}kn(o,u),E=u;for(d in E)if(E.hasOwnProperty(d)){var M=E[d];d==="style"?jn(e,M):d==="dangerouslySetInnerHTML"?(M=M?M.__html:void 0,M!=null&&Ms(e,M)):d==="children"?typeof M=="string"?(o!=="textarea"||M!=="")&&Cn(e,M):typeof M=="number"&&Cn(e,""+M):d!=="suppressContentEditableWarning"&&d!=="suppressHydrationWarning"&&d!=="autoFocus"&&(l.hasOwnProperty(d)?M!=null&&d==="onScroll"&&Be("scroll",e):M!=null&&R(e,d,M,v))}switch(o){case"input":Me(e),ir(e,a,!1);break;case"textarea":Me(e),Ps(e);break;case"option":a.value!=null&&e.setAttribute("value",""+pe(a.value));break;case"select":e.multiple=!!a.multiple,d=a.value,d!=null?Ht(e,!!a.multiple,d,!1):a.defaultValue!=null&&Ht(e,!!a.multiple,a.defaultValue,!0);break;default:typeof u.onClick=="function"&&(e.onclick=Js)}switch(o){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break e;case"img":a=!0;break e;default:a=!1}}a&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return ht(t),null;case 6:if(e&&t.stateNode!=null)Dp(e,t,e.memoizedProps,a);else{if(typeof a!="string"&&t.stateNode===null)throw Error(i(166));if(o=Jr(Yi.current),Jr(Mn.current),sa(t)){if(a=t.stateNode,o=t.memoizedProps,a[Pn]=t,(d=a.nodeValue!==o)&&(e=Dt,e!==null))switch(e.tag){case 3:Zs(a.nodeValue,o,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Zs(a.nodeValue,o,(e.mode&1)!==0)}d&&(t.flags|=4)}else a=(o.nodeType===9?o:o.ownerDocument).createTextNode(a),a[Pn]=t,t.stateNode=a}return ht(t),null;case 13:if(Ue(Qe),a=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(We&&Ft!==null&&(t.mode&1)!==0&&(t.flags&128)===0)jf(),Uo(),t.flags|=98560,d=!1;else if(d=sa(t),a!==null&&a.dehydrated!==null){if(e===null){if(!d)throw Error(i(318));if(d=t.memoizedState,d=d!==null?d.dehydrated:null,!d)throw Error(i(317));d[Pn]=t}else Uo(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;ht(t),d=!1}else rn!==null&&(qu(rn),rn=null),d=!0;if(!d)return t.flags&65536?t:null}return(t.flags&128)!==0?(t.lanes=o,t):(a=a!==null,a!==(e!==null&&e.memoizedState!==null)&&a&&(t.child.flags|=8192,(t.mode&1)!==0&&(e===null||(Qe.current&1)!==0?nt===0&&(nt=3):Xu())),t.updateQueue!==null&&(t.flags|=4),ht(t),null);case 4:return Vo(),Fu(e,t),e===null&&$i(t.stateNode.containerInfo),ht(t),null;case 10:return du(t.type._context),ht(t),null;case 17:return Pt(t.type)&&ta(),ht(t),null;case 19:if(Ue(Qe),d=t.memoizedState,d===null)return ht(t),null;if(a=(t.flags&128)!==0,v=d.rendering,v===null)if(a)ts(d,!1);else{if(nt!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(v=fa(e),v!==null){for(t.flags|=128,ts(d,!1),a=v.updateQueue,a!==null&&(t.updateQueue=a,t.flags|=4),t.subtreeFlags=0,a=o,o=t.child;o!==null;)d=o,e=a,d.flags&=14680066,v=d.alternate,v===null?(d.childLanes=0,d.lanes=e,d.child=null,d.subtreeFlags=0,d.memoizedProps=null,d.memoizedState=null,d.updateQueue=null,d.dependencies=null,d.stateNode=null):(d.childLanes=v.childLanes,d.lanes=v.lanes,d.child=v.child,d.subtreeFlags=0,d.deletions=null,d.memoizedProps=v.memoizedProps,d.memoizedState=v.memoizedState,d.updateQueue=v.updateQueue,d.type=v.type,e=v.dependencies,d.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),o=o.sibling;return ze(Qe,Qe.current&1|2),t.child}e=e.sibling}d.tail!==null&&Xe()>Go&&(t.flags|=128,a=!0,ts(d,!1),t.lanes=4194304)}else{if(!a)if(e=fa(v),e!==null){if(t.flags|=128,a=!0,o=e.updateQueue,o!==null&&(t.updateQueue=o,t.flags|=4),ts(d,!0),d.tail===null&&d.tailMode==="hidden"&&!v.alternate&&!We)return ht(t),null}else 2*Xe()-d.renderingStartTime>Go&&o!==1073741824&&(t.flags|=128,a=!0,ts(d,!1),t.lanes=4194304);d.isBackwards?(v.sibling=t.child,t.child=v):(o=d.last,o!==null?o.sibling=v:t.child=v,d.last=v)}return d.tail!==null?(t=d.tail,d.rendering=t,d.tail=t.sibling,d.renderingStartTime=Xe(),t.sibling=null,o=Qe.current,ze(Qe,a?o&1|2:o&1),t):(ht(t),null);case 22:case 23:return Yu(),a=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==a&&(t.flags|=8192),a&&(t.mode&1)!==0?(zt&1073741824)!==0&&(ht(t),t.subtreeFlags&6&&(t.flags|=8192)):ht(t),null;case 24:return null;case 25:return null}throw Error(i(156,t.tag))}function h0(e,t){switch(iu(t),t.tag){case 1:return Pt(t.type)&&ta(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Vo(),Ue(Rt),Ue(ft),gu(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 5:return vu(t),null;case 13:if(Ue(Qe),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(i(340));Uo()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Ue(Qe),null;case 4:return Vo(),null;case 10:return du(t.type._context),null;case 22:case 23:return Yu(),null;case 24:return null;default:return null}}var Sa=!1,mt=!1,m0=typeof WeakSet=="function"?WeakSet:Set,ae=null;function Ko(e,t){var o=e.ref;if(o!==null)if(typeof o=="function")try{o(null)}catch(a){qe(e,t,a)}else o.current=null}function zu(e,t,o){try{o()}catch(a){qe(e,t,a)}}var Fp=!1;function v0(e,t){if(Yl=Us,e=mf(),Hl(e)){if("selectionStart"in e)var o={start:e.selectionStart,end:e.selectionEnd};else e:{o=(o=e.ownerDocument)&&o.defaultView||window;var a=o.getSelection&&o.getSelection();if(a&&a.rangeCount!==0){o=a.anchorNode;var u=a.anchorOffset,d=a.focusNode;a=a.focusOffset;try{o.nodeType,d.nodeType}catch{o=null;break e}var v=0,E=-1,M=-1,D=0,W=0,K=e,$=null;t:for(;;){for(var oe;K!==o||u!==0&&K.nodeType!==3||(E=v+u),K!==d||a!==0&&K.nodeType!==3||(M=v+a),K.nodeType===3&&(v+=K.nodeValue.length),(oe=K.firstChild)!==null;)$=K,K=oe;for(;;){if(K===e)break t;if($===o&&++D===u&&(E=v),$===d&&++W===a&&(M=v),(oe=K.nextSibling)!==null)break;K=$,$=K.parentNode}K=oe}o=E===-1||M===-1?null:{start:E,end:M}}else o=null}o=o||{start:0,end:0}}else o=null;for(Xl={focusedElem:e,selectionRange:o},Us=!1,ae=t;ae!==null;)if(t=ae,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,ae=e;else for(;ae!==null;){t=ae;try{var le=t.alternate;if((t.flags&1024)!==0)switch(t.tag){case 0:case 11:case 15:break;case 1:if(le!==null){var ce=le.memoizedProps,Ze=le.memoizedState,A=t.stateNode,_=A.getSnapshotBeforeUpdate(t.elementType===t.type?ce:on(t.type,ce),Ze);A.__reactInternalSnapshotBeforeUpdate=_}break;case 3:var I=t.stateNode.containerInfo;I.nodeType===1?I.textContent="":I.nodeType===9&&I.documentElement&&I.removeChild(I.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(i(163))}}catch(Y){qe(t,t.return,Y)}if(e=t.sibling,e!==null){e.return=t.return,ae=e;break}ae=t.return}return le=Fp,Fp=!1,le}function ns(e,t,o){var a=t.updateQueue;if(a=a!==null?a.lastEffect:null,a!==null){var u=a=a.next;do{if((u.tag&e)===e){var d=u.destroy;u.destroy=void 0,d!==void 0&&zu(t,o,d)}u=u.next}while(u!==a)}}function Ca(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var o=t=t.next;do{if((o.tag&e)===e){var a=o.create;o.destroy=a()}o=o.next}while(o!==t)}}function ju(e){var t=e.ref;if(t!==null){var o=e.stateNode;switch(e.tag){case 5:e=o;break;default:e=o}typeof t=="function"?t(e):t.current=e}}function zp(e){var t=e.alternate;t!==null&&(e.alternate=null,zp(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Pn],delete t[Vi],delete t[tu],delete t[Zg],delete t[Jg])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function jp(e){return e.tag===5||e.tag===3||e.tag===4}function Bp(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||jp(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Bu(e,t,o){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?o.nodeType===8?o.parentNode.insertBefore(e,t):o.insertBefore(e,t):(o.nodeType===8?(t=o.parentNode,t.insertBefore(e,o)):(t=o,t.appendChild(e)),o=o._reactRootContainer,o!=null||t.onclick!==null||(t.onclick=Js));else if(a!==4&&(e=e.child,e!==null))for(Bu(e,t,o),e=e.sibling;e!==null;)Bu(e,t,o),e=e.sibling}function Uu(e,t,o){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?o.insertBefore(e,t):o.appendChild(e);else if(a!==4&&(e=e.child,e!==null))for(Uu(e,t,o),e=e.sibling;e!==null;)Uu(e,t,o),e=e.sibling}var ut=null,sn=!1;function xr(e,t,o){for(o=o.child;o!==null;)Up(e,t,o),o=o.sibling}function Up(e,t,o){if(Rn&&typeof Rn.onCommitFiberUnmount=="function")try{Rn.onCommitFiberUnmount(Is,o)}catch{}switch(o.tag){case 5:mt||Ko(o,t);case 6:var a=ut,u=sn;ut=null,xr(e,t,o),ut=a,sn=u,ut!==null&&(sn?(e=ut,o=o.stateNode,e.nodeType===8?e.parentNode.removeChild(o):e.removeChild(o)):ut.removeChild(o.stateNode));break;case 18:ut!==null&&(sn?(e=ut,o=o.stateNode,e.nodeType===8?eu(e.parentNode,o):e.nodeType===1&&eu(e,o),Ai(e)):eu(ut,o.stateNode));break;case 4:a=ut,u=sn,ut=o.stateNode.containerInfo,sn=!0,xr(e,t,o),ut=a,sn=u;break;case 0:case 11:case 14:case 15:if(!mt&&(a=o.updateQueue,a!==null&&(a=a.lastEffect,a!==null))){u=a=a.next;do{var d=u,v=d.destroy;d=d.tag,v!==void 0&&((d&2)!==0||(d&4)!==0)&&zu(o,t,v),u=u.next}while(u!==a)}xr(e,t,o);break;case 1:if(!mt&&(Ko(o,t),a=o.stateNode,typeof a.componentWillUnmount=="function"))try{a.props=o.memoizedProps,a.state=o.memoizedState,a.componentWillUnmount()}catch(E){qe(o,t,E)}xr(e,t,o);break;case 21:xr(e,t,o);break;case 22:o.mode&1?(mt=(a=mt)||o.memoizedState!==null,xr(e,t,o),mt=a):xr(e,t,o);break;default:xr(e,t,o)}}function Hp(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var o=e.stateNode;o===null&&(o=e.stateNode=new m0),t.forEach(function(a){var u=b0.bind(null,e,a);o.has(a)||(o.add(a),a.then(u,u))})}}function an(e,t){var o=t.deletions;if(o!==null)for(var a=0;a<o.length;a++){var u=o[a];try{var d=e,v=t,E=v;e:for(;E!==null;){switch(E.tag){case 5:ut=E.stateNode,sn=!1;break e;case 3:ut=E.stateNode.containerInfo,sn=!0;break e;case 4:ut=E.stateNode.containerInfo,sn=!0;break e}E=E.return}if(ut===null)throw Error(i(160));Up(d,v,u),ut=null,sn=!1;var M=u.alternate;M!==null&&(M.return=null),u.return=null}catch(D){qe(u,t,D)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)$p(t,e),t=t.sibling}function $p(e,t){var o=e.alternate,a=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(an(t,e),On(e),a&4){try{ns(3,e,e.return),Ca(3,e)}catch(ce){qe(e,e.return,ce)}try{ns(5,e,e.return)}catch(ce){qe(e,e.return,ce)}}break;case 1:an(t,e),On(e),a&512&&o!==null&&Ko(o,o.return);break;case 5:if(an(t,e),On(e),a&512&&o!==null&&Ko(o,o.return),e.flags&32){var u=e.stateNode;try{Cn(u,"")}catch(ce){qe(e,e.return,ce)}}if(a&4&&(u=e.stateNode,u!=null)){var d=e.memoizedProps,v=o!==null?o.memoizedProps:d,E=e.type,M=e.updateQueue;if(e.updateQueue=null,M!==null)try{E==="input"&&d.type==="radio"&&d.name!=null&&Xt(u,d),bi(E,v);var D=bi(E,d);for(v=0;v<M.length;v+=2){var W=M[v],K=M[v+1];W==="style"?jn(u,K):W==="dangerouslySetInnerHTML"?Ms(u,K):W==="children"?Cn(u,K):R(u,W,K,D)}switch(E){case"input":Zt(u,d);break;case"textarea":Rs(u,d);break;case"select":var $=u._wrapperState.wasMultiple;u._wrapperState.wasMultiple=!!d.multiple;var oe=d.value;oe!=null?Ht(u,!!d.multiple,oe,!1):$!==!!d.multiple&&(d.defaultValue!=null?Ht(u,!!d.multiple,d.defaultValue,!0):Ht(u,!!d.multiple,d.multiple?[]:"",!1))}u[Vi]=d}catch(ce){qe(e,e.return,ce)}}break;case 6:if(an(t,e),On(e),a&4){if(e.stateNode===null)throw Error(i(162));u=e.stateNode,d=e.memoizedProps;try{u.nodeValue=d}catch(ce){qe(e,e.return,ce)}}break;case 3:if(an(t,e),On(e),a&4&&o!==null&&o.memoizedState.isDehydrated)try{Ai(t.containerInfo)}catch(ce){qe(e,e.return,ce)}break;case 4:an(t,e),On(e);break;case 13:an(t,e),On(e),u=e.child,u.flags&8192&&(d=u.memoizedState!==null,u.stateNode.isHidden=d,!d||u.alternate!==null&&u.alternate.memoizedState!==null||(Wu=Xe())),a&4&&Hp(e);break;case 22:if(W=o!==null&&o.memoizedState!==null,e.mode&1?(mt=(D=mt)||W,an(t,e),mt=D):an(t,e),On(e),a&8192){if(D=e.memoizedState!==null,(e.stateNode.isHidden=D)&&!W&&(e.mode&1)!==0)for(ae=e,W=e.child;W!==null;){for(K=ae=W;ae!==null;){switch($=ae,oe=$.child,$.tag){case 0:case 11:case 14:case 15:ns(4,$,$.return);break;case 1:Ko($,$.return);var le=$.stateNode;if(typeof le.componentWillUnmount=="function"){a=$,o=$.return;try{t=a,le.props=t.memoizedProps,le.state=t.memoizedState,le.componentWillUnmount()}catch(ce){qe(a,o,ce)}}break;case 5:Ko($,$.return);break;case 22:if($.memoizedState!==null){Qp(K);continue}}oe!==null?(oe.return=$,ae=oe):Qp(K)}W=W.sibling}e:for(W=null,K=e;;){if(K.tag===5){if(W===null){W=K;try{u=K.stateNode,D?(d=u.style,typeof d.setProperty=="function"?d.setProperty("display","none","important"):d.display="none"):(E=K.stateNode,M=K.memoizedProps.style,v=M!=null&&M.hasOwnProperty("display")?M.display:null,E.style.display=Ro("display",v))}catch(ce){qe(e,e.return,ce)}}}else if(K.tag===6){if(W===null)try{K.stateNode.nodeValue=D?"":K.memoizedProps}catch(ce){qe(e,e.return,ce)}}else if((K.tag!==22&&K.tag!==23||K.memoizedState===null||K===e)&&K.child!==null){K.child.return=K,K=K.child;continue}if(K===e)break e;for(;K.sibling===null;){if(K.return===null||K.return===e)break e;W===K&&(W=null),K=K.return}W===K&&(W=null),K.sibling.return=K.return,K=K.sibling}}break;case 19:an(t,e),On(e),a&4&&Hp(e);break;case 21:break;default:an(t,e),On(e)}}function On(e){var t=e.flags;if(t&2){try{e:{for(var o=e.return;o!==null;){if(jp(o)){var a=o;break e}o=o.return}throw Error(i(160))}switch(a.tag){case 5:var u=a.stateNode;a.flags&32&&(Cn(u,""),a.flags&=-33);var d=Bp(e);Uu(e,d,u);break;case 3:case 4:var v=a.stateNode.containerInfo,E=Bp(e);Bu(e,E,v);break;default:throw Error(i(161))}}catch(M){qe(e,e.return,M)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function y0(e,t,o){ae=e,Wp(e)}function Wp(e,t,o){for(var a=(e.mode&1)!==0;ae!==null;){var u=ae,d=u.child;if(u.tag===22&&a){var v=u.memoizedState!==null||Sa;if(!v){var E=u.alternate,M=E!==null&&E.memoizedState!==null||mt;E=Sa;var D=mt;if(Sa=v,(mt=M)&&!D)for(ae=u;ae!==null;)v=ae,M=v.child,v.tag===22&&v.memoizedState!==null?Kp(u):M!==null?(M.return=v,ae=M):Kp(u);for(;d!==null;)ae=d,Wp(d),d=d.sibling;ae=u,Sa=E,mt=D}Vp(e)}else(u.subtreeFlags&8772)!==0&&d!==null?(d.return=u,ae=d):Vp(e)}}function Vp(e){for(;ae!==null;){var t=ae;if((t.flags&8772)!==0){var o=t.alternate;try{if((t.flags&8772)!==0)switch(t.tag){case 0:case 11:case 15:mt||Ca(5,t);break;case 1:var a=t.stateNode;if(t.flags&4&&!mt)if(o===null)a.componentDidMount();else{var u=t.elementType===t.type?o.memoizedProps:on(t.type,o.memoizedProps);a.componentDidUpdate(u,o.memoizedState,a.__reactInternalSnapshotBeforeUpdate)}var d=t.updateQueue;d!==null&&Qf(t,d,a);break;case 3:var v=t.updateQueue;if(v!==null){if(o=null,t.child!==null)switch(t.child.tag){case 5:o=t.child.stateNode;break;case 1:o=t.child.stateNode}Qf(t,v,o)}break;case 5:var E=t.stateNode;if(o===null&&t.flags&4){o=E;var M=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":M.autoFocus&&o.focus();break;case"img":M.src&&(o.src=M.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var D=t.alternate;if(D!==null){var W=D.memoizedState;if(W!==null){var K=W.dehydrated;K!==null&&Ai(K)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(i(163))}mt||t.flags&512&&ju(t)}catch($){qe(t,t.return,$)}}if(t===e){ae=null;break}if(o=t.sibling,o!==null){o.return=t.return,ae=o;break}ae=t.return}}function Qp(e){for(;ae!==null;){var t=ae;if(t===e){ae=null;break}var o=t.sibling;if(o!==null){o.return=t.return,ae=o;break}ae=t.return}}function Kp(e){for(;ae!==null;){var t=ae;try{switch(t.tag){case 0:case 11:case 15:var o=t.return;try{Ca(4,t)}catch(M){qe(t,o,M)}break;case 1:var a=t.stateNode;if(typeof a.componentDidMount=="function"){var u=t.return;try{a.componentDidMount()}catch(M){qe(t,u,M)}}var d=t.return;try{ju(t)}catch(M){qe(t,d,M)}break;case 5:var v=t.return;try{ju(t)}catch(M){qe(t,v,M)}}}catch(M){qe(t,t.return,M)}if(t===e){ae=null;break}var E=t.sibling;if(E!==null){E.return=t.return,ae=E;break}ae=t.return}}var g0=Math.ceil,ka=L.ReactCurrentDispatcher,Hu=L.ReactCurrentOwner,Kt=L.ReactCurrentBatchConfig,_e=0,it=null,et=null,ct=0,zt=0,qo=mr(0),nt=0,rs=null,to=0,Ea=0,$u=0,os=null,Tt=null,Wu=0,Go=1/0,Kn=null,ba=!1,Vu=null,Sr=null,Ra=!1,Cr=null,Pa=0,is=0,Qu=null,Ma=-1,Ta=0;function St(){return(_e&6)!==0?Xe():Ma!==-1?Ma:Ma=Xe()}function kr(e){return(e.mode&1)===0?1:(_e&2)!==0&&ct!==0?ct&-ct:t0.transition!==null?(Ta===0&&(Ta=jd()),Ta):(e=De,e!==0||(e=window.event,e=e===void 0?16:qd(e.type)),e)}function ln(e,t,o,a){if(50<is)throw is=0,Qu=null,Error(i(185));Ti(e,o,a),((_e&2)===0||e!==it)&&(e===it&&((_e&2)===0&&(Ea|=o),nt===4&&Er(e,ct)),Ot(e,a),o===1&&_e===0&&(t.mode&1)===0&&(Go=Xe()+500,ra&&yr()))}function Ot(e,t){var o=e.callbackNode;tg(e,t);var a=zs(e,e===it?ct:0);if(a===0)o!==null&&Dd(o),e.callbackNode=null,e.callbackPriority=0;else if(t=a&-a,e.callbackPriority!==t){if(o!=null&&Dd(o),t===1)e.tag===0?e0(Gp.bind(null,e)):Af(Gp.bind(null,e)),Yg(function(){(_e&6)===0&&yr()}),o=null;else{switch(Bd(a)){case 1:o=bl;break;case 4:o=Fd;break;case 16:o=As;break;case 536870912:o=zd;break;default:o=As}o=rh(o,qp.bind(null,e))}e.callbackPriority=t,e.callbackNode=o}}function qp(e,t){if(Ma=-1,Ta=0,(_e&6)!==0)throw Error(i(327));var o=e.callbackNode;if(Yo()&&e.callbackNode!==o)return null;var a=zs(e,e===it?ct:0);if(a===0)return null;if((a&30)!==0||(a&e.expiredLanes)!==0||t)t=Oa(e,a);else{t=a;var u=_e;_e|=2;var d=Xp();(it!==e||ct!==t)&&(Kn=null,Go=Xe()+500,ro(e,t));do try{S0();break}catch(E){Yp(e,E)}while(!0);cu(),ka.current=d,_e=u,et!==null?t=0:(it=null,ct=0,t=nt)}if(t!==0){if(t===2&&(u=Rl(e),u!==0&&(a=u,t=Ku(e,u))),t===1)throw o=rs,ro(e,0),Er(e,a),Ot(e,Xe()),o;if(t===6)Er(e,a);else{if(u=e.current.alternate,(a&30)===0&&!w0(u)&&(t=Oa(e,a),t===2&&(d=Rl(e),d!==0&&(a=d,t=Ku(e,d))),t===1))throw o=rs,ro(e,0),Er(e,a),Ot(e,Xe()),o;switch(e.finishedWork=u,e.finishedLanes=a,t){case 0:case 1:throw Error(i(345));case 2:oo(e,Tt,Kn);break;case 3:if(Er(e,a),(a&130023424)===a&&(t=Wu+500-Xe(),10<t)){if(zs(e,0)!==0)break;if(u=e.suspendedLanes,(u&a)!==a){St(),e.pingedLanes|=e.suspendedLanes&u;break}e.timeoutHandle=Jl(oo.bind(null,e,Tt,Kn),t);break}oo(e,Tt,Kn);break;case 4:if(Er(e,a),(a&4194240)===a)break;for(t=e.eventTimes,u=-1;0<a;){var v=31-tn(a);d=1<<v,v=t[v],v>u&&(u=v),a&=~d}if(a=u,a=Xe()-a,a=(120>a?120:480>a?480:1080>a?1080:1920>a?1920:3e3>a?3e3:4320>a?4320:1960*g0(a/1960))-a,10<a){e.timeoutHandle=Jl(oo.bind(null,e,Tt,Kn),a);break}oo(e,Tt,Kn);break;case 5:oo(e,Tt,Kn);break;default:throw Error(i(329))}}}return Ot(e,Xe()),e.callbackNode===o?qp.bind(null,e):null}function Ku(e,t){var o=os;return e.current.memoizedState.isDehydrated&&(ro(e,t).flags|=256),e=Oa(e,t),e!==2&&(t=Tt,Tt=o,t!==null&&qu(t)),e}function qu(e){Tt===null?Tt=e:Tt.push.apply(Tt,e)}function w0(e){for(var t=e;;){if(t.flags&16384){var o=t.updateQueue;if(o!==null&&(o=o.stores,o!==null))for(var a=0;a<o.length;a++){var u=o[a],d=u.getSnapshot;u=u.value;try{if(!nn(d(),u))return!1}catch{return!1}}}if(o=t.child,t.subtreeFlags&16384&&o!==null)o.return=t,t=o;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Er(e,t){for(t&=~$u,t&=~Ea,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var o=31-tn(t),a=1<<o;e[o]=-1,t&=~a}}function Gp(e){if((_e&6)!==0)throw Error(i(327));Yo();var t=zs(e,0);if((t&1)===0)return Ot(e,Xe()),null;var o=Oa(e,t);if(e.tag!==0&&o===2){var a=Rl(e);a!==0&&(t=a,o=Ku(e,a))}if(o===1)throw o=rs,ro(e,0),Er(e,t),Ot(e,Xe()),o;if(o===6)throw Error(i(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,oo(e,Tt,Kn),Ot(e,Xe()),null}function Gu(e,t){var o=_e;_e|=1;try{return e(t)}finally{_e=o,_e===0&&(Go=Xe()+500,ra&&yr())}}function no(e){Cr!==null&&Cr.tag===0&&(_e&6)===0&&Yo();var t=_e;_e|=1;var o=Kt.transition,a=De;try{if(Kt.transition=null,De=1,e)return e()}finally{De=a,Kt.transition=o,_e=t,(_e&6)===0&&yr()}}function Yu(){zt=qo.current,Ue(qo)}function ro(e,t){e.finishedWork=null,e.finishedLanes=0;var o=e.timeoutHandle;if(o!==-1&&(e.timeoutHandle=-1,Gg(o)),et!==null)for(o=et.return;o!==null;){var a=o;switch(iu(a),a.tag){case 1:a=a.type.childContextTypes,a!=null&&ta();break;case 3:Vo(),Ue(Rt),Ue(ft),gu();break;case 5:vu(a);break;case 4:Vo();break;case 13:Ue(Qe);break;case 19:Ue(Qe);break;case 10:du(a.type._context);break;case 22:case 23:Yu()}o=o.return}if(it=e,et=e=br(e.current,null),ct=zt=t,nt=0,rs=null,$u=Ea=to=0,Tt=os=null,Zr!==null){for(t=0;t<Zr.length;t++)if(o=Zr[t],a=o.interleaved,a!==null){o.interleaved=null;var u=a.next,d=o.pending;if(d!==null){var v=d.next;d.next=u,a.next=v}o.pending=a}Zr=null}return e}function Yp(e,t){do{var o=et;try{if(cu(),pa.current=ya,ha){for(var a=Ke.memoizedState;a!==null;){var u=a.queue;u!==null&&(u.pending=null),a=a.next}ha=!1}if(eo=0,ot=tt=Ke=null,Xi=!1,Zi=0,Hu.current=null,o===null||o.return===null){nt=1,rs=t,et=null;break}e:{var d=e,v=o.return,E=o,M=t;if(t=ct,E.flags|=32768,M!==null&&typeof M=="object"&&typeof M.then=="function"){var D=M,W=E,K=W.tag;if((W.mode&1)===0&&(K===0||K===11||K===15)){var $=W.alternate;$?(W.updateQueue=$.updateQueue,W.memoizedState=$.memoizedState,W.lanes=$.lanes):(W.updateQueue=null,W.memoizedState=null)}var oe=Sp(v);if(oe!==null){oe.flags&=-257,Cp(oe,v,E,d,t),oe.mode&1&&xp(d,D,t),t=oe,M=D;var le=t.updateQueue;if(le===null){var ce=new Set;ce.add(M),t.updateQueue=ce}else le.add(M);break e}else{if((t&1)===0){xp(d,D,t),Xu();break e}M=Error(i(426))}}else if(We&&E.mode&1){var Ze=Sp(v);if(Ze!==null){(Ze.flags&65536)===0&&(Ze.flags|=256),Cp(Ze,v,E,d,t),lu(Qo(M,E));break e}}d=M=Qo(M,E),nt!==4&&(nt=2),os===null?os=[d]:os.push(d),d=v;do{switch(d.tag){case 3:d.flags|=65536,t&=-t,d.lanes|=t;var A=gp(d,M,t);Vf(d,A);break e;case 1:E=M;var _=d.type,I=d.stateNode;if((d.flags&128)===0&&(typeof _.getDerivedStateFromError=="function"||I!==null&&typeof I.componentDidCatch=="function"&&(Sr===null||!Sr.has(I)))){d.flags|=65536,t&=-t,d.lanes|=t;var Y=wp(d,E,t);Vf(d,Y);break e}}d=d.return}while(d!==null)}Jp(o)}catch(fe){t=fe,et===o&&o!==null&&(et=o=o.return);continue}break}while(!0)}function Xp(){var e=ka.current;return ka.current=ya,e===null?ya:e}function Xu(){(nt===0||nt===3||nt===2)&&(nt=4),it===null||(to&268435455)===0&&(Ea&268435455)===0||Er(it,ct)}function Oa(e,t){var o=_e;_e|=2;var a=Xp();(it!==e||ct!==t)&&(Kn=null,ro(e,t));do try{x0();break}catch(u){Yp(e,u)}while(!0);if(cu(),_e=o,ka.current=a,et!==null)throw Error(i(261));return it=null,ct=0,nt}function x0(){for(;et!==null;)Zp(et)}function S0(){for(;et!==null&&!Qy();)Zp(et)}function Zp(e){var t=nh(e.alternate,e,zt);e.memoizedProps=e.pendingProps,t===null?Jp(e):et=t,Hu.current=null}function Jp(e){var t=e;do{var o=t.alternate;if(e=t.return,(t.flags&32768)===0){if(o=p0(o,t,zt),o!==null){et=o;return}}else{if(o=h0(o,t),o!==null){o.flags&=32767,et=o;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{nt=6,et=null;return}}if(t=t.sibling,t!==null){et=t;return}et=t=e}while(t!==null);nt===0&&(nt=5)}function oo(e,t,o){var a=De,u=Kt.transition;try{Kt.transition=null,De=1,C0(e,t,o,a)}finally{Kt.transition=u,De=a}return null}function C0(e,t,o,a){do Yo();while(Cr!==null);if((_e&6)!==0)throw Error(i(327));o=e.finishedWork;var u=e.finishedLanes;if(o===null)return null;if(e.finishedWork=null,e.finishedLanes=0,o===e.current)throw Error(i(177));e.callbackNode=null,e.callbackPriority=0;var d=o.lanes|o.childLanes;if(ng(e,d),e===it&&(et=it=null,ct=0),(o.subtreeFlags&2064)===0&&(o.flags&2064)===0||Ra||(Ra=!0,rh(As,function(){return Yo(),null})),d=(o.flags&15990)!==0,(o.subtreeFlags&15990)!==0||d){d=Kt.transition,Kt.transition=null;var v=De;De=1;var E=_e;_e|=4,Hu.current=null,v0(e,o),$p(o,e),Hg(Xl),Us=!!Yl,Xl=Yl=null,e.current=o,y0(o),Ky(),_e=E,De=v,Kt.transition=d}else e.current=o;if(Ra&&(Ra=!1,Cr=e,Pa=u),d=e.pendingLanes,d===0&&(Sr=null),Yy(o.stateNode),Ot(e,Xe()),t!==null)for(a=e.onRecoverableError,o=0;o<t.length;o++)u=t[o],a(u.value,{componentStack:u.stack,digest:u.digest});if(ba)throw ba=!1,e=Vu,Vu=null,e;return(Pa&1)!==0&&e.tag!==0&&Yo(),d=e.pendingLanes,(d&1)!==0?e===Qu?is++:(is=0,Qu=e):is=0,yr(),null}function Yo(){if(Cr!==null){var e=Bd(Pa),t=Kt.transition,o=De;try{if(Kt.transition=null,De=16>e?16:e,Cr===null)var a=!1;else{if(e=Cr,Cr=null,Pa=0,(_e&6)!==0)throw Error(i(331));var u=_e;for(_e|=4,ae=e.current;ae!==null;){var d=ae,v=d.child;if((ae.flags&16)!==0){var E=d.deletions;if(E!==null){for(var M=0;M<E.length;M++){var D=E[M];for(ae=D;ae!==null;){var W=ae;switch(W.tag){case 0:case 11:case 15:ns(8,W,d)}var K=W.child;if(K!==null)K.return=W,ae=K;else for(;ae!==null;){W=ae;var $=W.sibling,oe=W.return;if(zp(W),W===D){ae=null;break}if($!==null){$.return=oe,ae=$;break}ae=oe}}}var le=d.alternate;if(le!==null){var ce=le.child;if(ce!==null){le.child=null;do{var Ze=ce.sibling;ce.sibling=null,ce=Ze}while(ce!==null)}}ae=d}}if((d.subtreeFlags&2064)!==0&&v!==null)v.return=d,ae=v;else e:for(;ae!==null;){if(d=ae,(d.flags&2048)!==0)switch(d.tag){case 0:case 11:case 15:ns(9,d,d.return)}var A=d.sibling;if(A!==null){A.return=d.return,ae=A;break e}ae=d.return}}var _=e.current;for(ae=_;ae!==null;){v=ae;var I=v.child;if((v.subtreeFlags&2064)!==0&&I!==null)I.return=v,ae=I;else e:for(v=_;ae!==null;){if(E=ae,(E.flags&2048)!==0)try{switch(E.tag){case 0:case 11:case 15:Ca(9,E)}}catch(fe){qe(E,E.return,fe)}if(E===v){ae=null;break e}var Y=E.sibling;if(Y!==null){Y.return=E.return,ae=Y;break e}ae=E.return}}if(_e=u,yr(),Rn&&typeof Rn.onPostCommitFiberRoot=="function")try{Rn.onPostCommitFiberRoot(Is,e)}catch{}a=!0}return a}finally{De=o,Kt.transition=t}}return!1}function eh(e,t,o){t=Qo(o,t),t=gp(e,t,1),e=wr(e,t,1),t=St(),e!==null&&(Ti(e,1,t),Ot(e,t))}function qe(e,t,o){if(e.tag===3)eh(e,e,o);else for(;t!==null;){if(t.tag===3){eh(t,e,o);break}else if(t.tag===1){var a=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(Sr===null||!Sr.has(a))){e=Qo(o,e),e=wp(t,e,1),t=wr(t,e,1),e=St(),t!==null&&(Ti(t,1,e),Ot(t,e));break}}t=t.return}}function k0(e,t,o){var a=e.pingCache;a!==null&&a.delete(t),t=St(),e.pingedLanes|=e.suspendedLanes&o,it===e&&(ct&o)===o&&(nt===4||nt===3&&(ct&130023424)===ct&&500>Xe()-Wu?ro(e,0):$u|=o),Ot(e,t)}function th(e,t){t===0&&((e.mode&1)===0?t=1:(t=Fs,Fs<<=1,(Fs&130023424)===0&&(Fs=4194304)));var o=St();e=Wn(e,t),e!==null&&(Ti(e,t,o),Ot(e,o))}function E0(e){var t=e.memoizedState,o=0;t!==null&&(o=t.retryLane),th(e,o)}function b0(e,t){var o=0;switch(e.tag){case 13:var a=e.stateNode,u=e.memoizedState;u!==null&&(o=u.retryLane);break;case 19:a=e.stateNode;break;default:throw Error(i(314))}a!==null&&a.delete(t),th(e,o)}var nh;nh=function(e,t,o){if(e!==null)if(e.memoizedProps!==t.pendingProps||Rt.current)Mt=!0;else{if((e.lanes&o)===0&&(t.flags&128)===0)return Mt=!1,f0(e,t,o);Mt=(e.flags&131072)!==0}else Mt=!1,We&&(t.flags&1048576)!==0&&If(t,ia,t.index);switch(t.lanes=0,t.tag){case 2:var a=t.type;xa(e,t),e=t.pendingProps;var u=zo(t,ft.current);Wo(t,o),u=Su(null,t,a,e,u,o);var d=Cu();return t.flags|=1,typeof u=="object"&&u!==null&&typeof u.render=="function"&&u.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Pt(a)?(d=!0,na(t)):d=!1,t.memoizedState=u.state!==null&&u.state!==void 0?u.state:null,hu(t),u.updater=ga,t.stateNode=u,u._reactInternals=t,Mu(t,a,e,o),t=_u(null,t,a,!0,d,o)):(t.tag=0,We&&d&&ou(t),xt(null,t,u,o),t=t.child),t;case 16:a=t.elementType;e:{switch(xa(e,t),e=t.pendingProps,u=a._init,a=u(a._payload),t.type=a,u=t.tag=P0(a),e=on(a,e),u){case 0:t=Nu(null,t,a,e,o);break e;case 1:t=Mp(null,t,a,e,o);break e;case 11:t=kp(null,t,a,e,o);break e;case 14:t=Ep(null,t,a,on(a.type,e),o);break e}throw Error(i(306,a,""))}return t;case 0:return a=t.type,u=t.pendingProps,u=t.elementType===a?u:on(a,u),Nu(e,t,a,u,o);case 1:return a=t.type,u=t.pendingProps,u=t.elementType===a?u:on(a,u),Mp(e,t,a,u,o);case 3:e:{if(Tp(t),e===null)throw Error(i(387));a=t.pendingProps,d=t.memoizedState,u=d.element,Wf(e,t),da(t,a,null,o);var v=t.memoizedState;if(a=v.element,d.isDehydrated)if(d={element:a,isDehydrated:!1,cache:v.cache,pendingSuspenseBoundaries:v.pendingSuspenseBoundaries,transitions:v.transitions},t.updateQueue.baseState=d,t.memoizedState=d,t.flags&256){u=Qo(Error(i(423)),t),t=Op(e,t,a,o,u);break e}else if(a!==u){u=Qo(Error(i(424)),t),t=Op(e,t,a,o,u);break e}else for(Ft=hr(t.stateNode.containerInfo.firstChild),Dt=t,We=!0,rn=null,o=Hf(t,null,a,o),t.child=o;o;)o.flags=o.flags&-3|4096,o=o.sibling;else{if(Uo(),a===u){t=Qn(e,t,o);break e}xt(e,t,a,o)}t=t.child}return t;case 5:return Kf(t),e===null&&au(t),a=t.type,u=t.pendingProps,d=e!==null?e.memoizedProps:null,v=u.children,Zl(a,u)?v=null:d!==null&&Zl(a,d)&&(t.flags|=32),Pp(e,t),xt(e,t,v,o),t.child;case 6:return e===null&&au(t),null;case 13:return Np(e,t,o);case 4:return mu(t,t.stateNode.containerInfo),a=t.pendingProps,e===null?t.child=Ho(t,null,a,o):xt(e,t,a,o),t.child;case 11:return a=t.type,u=t.pendingProps,u=t.elementType===a?u:on(a,u),kp(e,t,a,u,o);case 7:return xt(e,t,t.pendingProps,o),t.child;case 8:return xt(e,t,t.pendingProps.children,o),t.child;case 12:return xt(e,t,t.pendingProps.children,o),t.child;case 10:e:{if(a=t.type._context,u=t.pendingProps,d=t.memoizedProps,v=u.value,ze(la,a._currentValue),a._currentValue=v,d!==null)if(nn(d.value,v)){if(d.children===u.children&&!Rt.current){t=Qn(e,t,o);break e}}else for(d=t.child,d!==null&&(d.return=t);d!==null;){var E=d.dependencies;if(E!==null){v=d.child;for(var M=E.firstContext;M!==null;){if(M.context===a){if(d.tag===1){M=Vn(-1,o&-o),M.tag=2;var D=d.updateQueue;if(D!==null){D=D.shared;var W=D.pending;W===null?M.next=M:(M.next=W.next,W.next=M),D.pending=M}}d.lanes|=o,M=d.alternate,M!==null&&(M.lanes|=o),fu(d.return,o,t),E.lanes|=o;break}M=M.next}}else if(d.tag===10)v=d.type===t.type?null:d.child;else if(d.tag===18){if(v=d.return,v===null)throw Error(i(341));v.lanes|=o,E=v.alternate,E!==null&&(E.lanes|=o),fu(v,o,t),v=d.sibling}else v=d.child;if(v!==null)v.return=d;else for(v=d;v!==null;){if(v===t){v=null;break}if(d=v.sibling,d!==null){d.return=v.return,v=d;break}v=v.return}d=v}xt(e,t,u.children,o),t=t.child}return t;case 9:return u=t.type,a=t.pendingProps.children,Wo(t,o),u=Vt(u),a=a(u),t.flags|=1,xt(e,t,a,o),t.child;case 14:return a=t.type,u=on(a,t.pendingProps),u=on(a.type,u),Ep(e,t,a,u,o);case 15:return bp(e,t,t.type,t.pendingProps,o);case 17:return a=t.type,u=t.pendingProps,u=t.elementType===a?u:on(a,u),xa(e,t),t.tag=1,Pt(a)?(e=!0,na(t)):e=!1,Wo(t,o),vp(t,a,u),Mu(t,a,u,o),_u(null,t,a,!0,e,o);case 19:return Lp(e,t,o);case 22:return Rp(e,t,o)}throw Error(i(156,t.tag))};function rh(e,t){return Id(e,t)}function R0(e,t,o,a){this.tag=e,this.key=o,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,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 qt(e,t,o,a){return new R0(e,t,o,a)}function Zu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function P0(e){if(typeof e=="function")return Zu(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Z)return 11;if(e===xe)return 14}return 2}function br(e,t){var o=e.alternate;return o===null?(o=qt(e.tag,t,e.key,e.mode),o.elementType=e.elementType,o.type=e.type,o.stateNode=e.stateNode,o.alternate=e,e.alternate=o):(o.pendingProps=t,o.type=e.type,o.flags=0,o.subtreeFlags=0,o.deletions=null),o.flags=e.flags&14680064,o.childLanes=e.childLanes,o.lanes=e.lanes,o.child=e.child,o.memoizedProps=e.memoizedProps,o.memoizedState=e.memoizedState,o.updateQueue=e.updateQueue,t=e.dependencies,o.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},o.sibling=e.sibling,o.index=e.index,o.ref=e.ref,o}function Na(e,t,o,a,u,d){var v=2;if(a=e,typeof e=="function")Zu(e)&&(v=1);else if(typeof e=="string")v=5;else e:switch(e){case H:return io(o.children,u,d,t);case G:v=8,u|=8;break;case J:return e=qt(12,o,t,u|2),e.elementType=J,e.lanes=d,e;case ye:return e=qt(13,o,t,u),e.elementType=ye,e.lanes=d,e;case de:return e=qt(19,o,t,u),e.elementType=de,e.lanes=d,e;case se:return _a(o,u,d,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case te:v=10;break e;case he:v=9;break e;case Z:v=11;break e;case xe:v=14;break e;case ue:v=16,a=null;break e}throw Error(i(130,e==null?e:typeof e,""))}return t=qt(v,o,t,u),t.elementType=e,t.type=a,t.lanes=d,t}function io(e,t,o,a){return e=qt(7,e,a,t),e.lanes=o,e}function _a(e,t,o,a){return e=qt(22,e,a,t),e.elementType=se,e.lanes=o,e.stateNode={isHidden:!1},e}function Ju(e,t,o){return e=qt(6,e,null,t),e.lanes=o,e}function ec(e,t,o){return t=qt(4,e.children!==null?e.children:[],e.key,t),t.lanes=o,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function M0(e,t,o,a,u){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Pl(0),this.expirationTimes=Pl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Pl(0),this.identifierPrefix=a,this.onRecoverableError=u,this.mutableSourceEagerHydrationData=null}function tc(e,t,o,a,u,d,v,E,M){return e=new M0(e,t,o,E,M),t===1?(t=1,d===!0&&(t|=8)):t=0,d=qt(3,null,null,t),e.current=d,d.stateNode=e,d.memoizedState={element:a,isDehydrated:o,cache:null,transitions:null,pendingSuspenseBoundaries:null},hu(d),e}function T0(e,t,o){var a=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:U,key:a==null?null:""+a,children:e,containerInfo:t,implementation:o}}function oh(e){if(!e)return vr;e=e._reactInternals;e:{if(Kr(e)!==e||e.tag!==1)throw Error(i(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Pt(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(i(171))}if(e.tag===1){var o=e.type;if(Pt(o))return _f(e,o,t)}return t}function ih(e,t,o,a,u,d,v,E,M){return e=tc(o,a,!0,e,u,d,v,E,M),e.context=oh(null),o=e.current,a=St(),u=kr(o),d=Vn(a,u),d.callback=t??null,wr(o,d,u),e.current.lanes=u,Ti(e,u,a),Ot(e,a),e}function La(e,t,o,a){var u=t.current,d=St(),v=kr(u);return o=oh(o),t.context===null?t.context=o:t.pendingContext=o,t=Vn(d,v),t.payload={element:e},a=a===void 0?null:a,a!==null&&(t.callback=a),e=wr(u,t,v),e!==null&&(ln(e,u,v,d),ca(e,u,v)),v}function Aa(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function sh(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var o=e.retryLane;e.retryLane=o!==0&&o<t?o:t}}function nc(e,t){sh(e,t),(e=e.alternate)&&sh(e,t)}function O0(){return null}var ah=typeof reportError=="function"?reportError:function(e){console.error(e)};function rc(e){this._internalRoot=e}Ia.prototype.render=rc.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(i(409));La(e,t,null,null)},Ia.prototype.unmount=rc.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;no(function(){La(null,e,null,null)}),t[Bn]=null}};function Ia(e){this._internalRoot=e}Ia.prototype.unstable_scheduleHydration=function(e){if(e){var t=$d();e={blockedOn:null,target:e,priority:t};for(var o=0;o<dr.length&&t!==0&&t<dr[o].priority;o++);dr.splice(o,0,e),o===0&&Qd(e)}};function oc(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Da(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function lh(){}function N0(e,t,o,a,u){if(u){if(typeof a=="function"){var d=a;a=function(){var D=Aa(v);d.call(D)}}var v=ih(t,a,e,0,null,!1,!1,"",lh);return e._reactRootContainer=v,e[Bn]=v.current,$i(e.nodeType===8?e.parentNode:e),no(),v}for(;u=e.lastChild;)e.removeChild(u);if(typeof a=="function"){var E=a;a=function(){var D=Aa(M);E.call(D)}}var M=tc(e,0,!1,null,null,!1,!1,"",lh);return e._reactRootContainer=M,e[Bn]=M.current,$i(e.nodeType===8?e.parentNode:e),no(function(){La(t,M,o,a)}),M}function Fa(e,t,o,a,u){var d=o._reactRootContainer;if(d){var v=d;if(typeof u=="function"){var E=u;u=function(){var M=Aa(v);E.call(M)}}La(t,v,e,u)}else v=N0(o,t,e,u,a);return Aa(v)}Ud=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var o=Mi(t.pendingLanes);o!==0&&(Ml(t,o|1),Ot(t,Xe()),(_e&6)===0&&(Go=Xe()+500,yr()))}break;case 13:no(function(){var a=Wn(e,1);if(a!==null){var u=St();ln(a,e,1,u)}}),nc(e,1)}},Tl=function(e){if(e.tag===13){var t=Wn(e,134217728);if(t!==null){var o=St();ln(t,e,134217728,o)}nc(e,134217728)}},Hd=function(e){if(e.tag===13){var t=kr(e),o=Wn(e,t);if(o!==null){var a=St();ln(o,e,t,a)}nc(e,t)}},$d=function(){return De},Wd=function(e,t){var o=De;try{return De=e,t()}finally{De=o}},Mo=function(e,t,o){switch(t){case"input":if(Zt(e,o),t=o.name,o.type==="radio"&&t!=null){for(o=e;o.parentNode;)o=o.parentNode;for(o=o.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<o.length;t++){var a=o[t];if(a!==e&&a.form===e.form){var u=ea(a);if(!u)throw Error(i(90));Oe(a),Zt(a,u)}}}break;case"textarea":Rs(e,o);break;case"select":t=o.value,t!=null&&Ht(e,!!o.multiple,t,!1)}},Ae=Gu,Fe=no;var _0={usingClientEntryPoint:!1,Events:[Qi,Do,ea,Ns,Ee,Gu]},ss={findFiberByHostInstance:qr,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},L0={bundleType:ss.bundleType,version:ss.version,rendererPackageName:ss.rendererPackageName,rendererConfig:ss.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:L.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Ld(e),e===null?null:e.stateNode},findFiberByHostInstance:ss.findFiberByHostInstance||O0,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var za=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!za.isDisabled&&za.supportsFiber)try{Is=za.inject(L0),Rn=za}catch{}}return Nt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=_0,Nt.createPortal=function(e,t){var o=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!oc(t))throw Error(i(200));return T0(e,t,null,o)},Nt.createRoot=function(e,t){if(!oc(e))throw Error(i(299));var o=!1,a="",u=ah;return t!=null&&(t.unstable_strictMode===!0&&(o=!0),t.identifierPrefix!==void 0&&(a=t.identifierPrefix),t.onRecoverableError!==void 0&&(u=t.onRecoverableError)),t=tc(e,1,!1,null,null,o,!1,a,u),e[Bn]=t.current,$i(e.nodeType===8?e.parentNode:e),new rc(t)},Nt.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(i(188)):(e=Object.keys(e).join(","),Error(i(268,e)));return e=Ld(t),e=e===null?null:e.stateNode,e},Nt.flushSync=function(e){return no(e)},Nt.hydrate=function(e,t,o){if(!Da(t))throw Error(i(200));return Fa(null,e,t,!0,o)},Nt.hydrateRoot=function(e,t,o){if(!oc(e))throw Error(i(405));var a=o!=null&&o.hydratedSources||null,u=!1,d="",v=ah;if(o!=null&&(o.unstable_strictMode===!0&&(u=!0),o.identifierPrefix!==void 0&&(d=o.identifierPrefix),o.onRecoverableError!==void 0&&(v=o.onRecoverableError)),t=ih(t,null,e,1,o??null,u,!1,d,v),e[Bn]=t.current,$i(e),a)for(e=0;e<a.length;e++)o=a[e],u=o._getVersion,u=u(o._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[o,u]:t.mutableSourceEagerHydrationData.push(o,u);return new Ia(t)},Nt.render=function(e,t,o){if(!Da(t))throw Error(i(200));return Fa(null,e,t,!1,o)},Nt.unmountComponentAtNode=function(e){if(!Da(e))throw Error(i(40));return e._reactRootContainer?(no(function(){Fa(null,null,e,!1,function(){e._reactRootContainer=null,e[Bn]=null})}),!0):!1},Nt.unstable_batchedUpdates=Gu,Nt.unstable_renderSubtreeIntoContainer=function(e,t,o,a){if(!Da(o))throw Error(i(200));if(e==null||e._reactInternals===void 0)throw Error(i(38));return Fa(e,t,o,!1,a)},Nt.version="18.3.1-next-f1338f8080-20240426",Nt}var yh;function Mm(){if(yh)return lc.exports;yh=1;function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(r){console.error(r)}}return n(),lc.exports=U0(),lc.exports}var gh;function H0(){if(gh)return Ba;gh=1;var n=Mm();return Ba.createRoot=n.createRoot,Ba.hydrateRoot=n.hydrateRoot,Ba}var _k=H0();/**
|
|
40
|
+
`+d.stack}return{value:e,source:t,stack:u,digest:null}}function Tu(e,t,o){return{value:e,source:null,stack:o??null,digest:t??null}}function Ou(e,t){try{console.error(t.value)}catch(o){setTimeout(function(){throw o})}}var l0=typeof WeakMap=="function"?WeakMap:Map;function yp(e,t,o){o=Vn(-1,o),o.tag=3,o.payload={element:null};var a=t.value;return o.callback=function(){Ra||(Ra=!0,Vu=a),Ou(e,t)},o}function gp(e,t,o){o=Vn(-1,o),o.tag=3;var a=e.type.getDerivedStateFromError;if(typeof a=="function"){var u=t.value;o.payload=function(){return a(u)},o.callback=function(){Ou(e,t)}}var d=e.stateNode;return d!==null&&typeof d.componentDidCatch=="function"&&(o.callback=function(){Ou(e,t),typeof a!="function"&&(Sr===null?Sr=new Set([this]):Sr.add(this));var v=t.stack;this.componentDidCatch(t.value,{componentStack:v!==null?v:""})}),o}function wp(e,t,o){var a=e.pingCache;if(a===null){a=e.pingCache=new l0;var u=new Set;a.set(t,u)}else u=a.get(t),u===void 0&&(u=new Set,a.set(t,u));u.has(o)||(u.add(o),e=C0.bind(null,e,t,o),t.then(e,e))}function xp(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function Sp(e,t,o,a,u){return(e.mode&1)===0?(e===t?e.flags|=65536:(e.flags|=128,o.flags|=131072,o.flags&=-52805,o.tag===1&&(o.alternate===null?o.tag=17:(t=Vn(-1,1),t.tag=2,wr(o,t,1))),o.lanes|=1),e):(e.flags|=65536,e.lanes=u,e)}var u0=L.ReactCurrentOwner,Mt=!1;function xt(e,t,o,a){t.child=e===null?Uf(t,null,o,a):Ho(t,e.child,o,a)}function Cp(e,t,o,a,u){o=o.render;var d=t.ref;return Wo(t,u),a=Su(e,t,o,a,d,u),o=Cu(),e!==null&&!Mt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~u,Qn(e,t,u)):(We&&o&&ou(t),t.flags|=1,xt(e,t,a,u),t.child)}function kp(e,t,o,a,u){if(e===null){var d=o.type;return typeof d=="function"&&!Zu(d)&&d.defaultProps===void 0&&o.compare===null&&o.defaultProps===void 0?(t.tag=15,t.type=d,Ep(e,t,d,a,u)):(e=Na(o.type,null,a,t,t.mode,u),e.ref=t.ref,e.return=t,t.child=e)}if(d=e.child,(e.lanes&u)===0){var v=d.memoizedProps;if(o=o.compare,o=o!==null?o:Bi,o(v,a)&&e.ref===t.ref)return Qn(e,t,u)}return t.flags|=1,e=Rr(d,a),e.ref=t.ref,e.return=t,t.child=e}function Ep(e,t,o,a,u){if(e!==null){var d=e.memoizedProps;if(Bi(d,a)&&e.ref===t.ref)if(Mt=!1,t.pendingProps=a=d,(e.lanes&u)!==0)(e.flags&131072)!==0&&(Mt=!0);else return t.lanes=e.lanes,Qn(e,t,u)}return Nu(e,t,o,a,u)}function Rp(e,t,o){var a=t.pendingProps,u=a.children,d=e!==null?e.memoizedState:null;if(a.mode==="hidden")if((t.mode&1)===0)t.memoizedState={baseLanes:0,cachePool:null,transitions:null},ze(qo,zt),zt|=o;else{if((o&1073741824)===0)return e=d!==null?d.baseLanes|o:o,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,ze(qo,zt),zt|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},a=d!==null?d.baseLanes:o,ze(qo,zt),zt|=a}else d!==null?(a=d.baseLanes|o,t.memoizedState=null):a=o,ze(qo,zt),zt|=a;return xt(e,t,u,o),t.child}function bp(e,t){var o=t.ref;(e===null&&o!==null||e!==null&&e.ref!==o)&&(t.flags|=512,t.flags|=2097152)}function Nu(e,t,o,a,u){var d=Pt(o)?Gr:ft.current;return d=zo(t,d),Wo(t,u),o=Su(e,t,o,a,d,u),a=Cu(),e!==null&&!Mt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~u,Qn(e,t,u)):(We&&a&&ou(t),t.flags|=1,xt(e,t,o,u),t.child)}function Pp(e,t,o,a,u){if(Pt(o)){var d=!0;na(t)}else d=!1;if(Wo(t,u),t.stateNode===null)xa(e,t),mp(t,o,a),Mu(t,o,a,u),a=!0;else if(e===null){var v=t.stateNode,E=t.memoizedProps;v.props=E;var M=v.context,D=o.contextType;typeof D=="object"&&D!==null?D=Vt(D):(D=Pt(o)?Gr:ft.current,D=zo(t,D));var W=o.getDerivedStateFromProps,K=typeof W=="function"||typeof v.getSnapshotBeforeUpdate=="function";K||typeof v.UNSAFE_componentWillReceiveProps!="function"&&typeof v.componentWillReceiveProps!="function"||(E!==a||M!==D)&&vp(t,v,a,D),gr=!1;var $=t.memoizedState;v.state=$,da(t,a,v,u),M=t.memoizedState,E!==a||$!==M||bt.current||gr?(typeof W=="function"&&(Pu(t,o,W,a),M=t.memoizedState),(E=gr||hp(t,o,E,a,$,M,D))?(K||typeof v.UNSAFE_componentWillMount!="function"&&typeof v.componentWillMount!="function"||(typeof v.componentWillMount=="function"&&v.componentWillMount(),typeof v.UNSAFE_componentWillMount=="function"&&v.UNSAFE_componentWillMount()),typeof v.componentDidMount=="function"&&(t.flags|=4194308)):(typeof v.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=a,t.memoizedState=M),v.props=a,v.state=M,v.context=D,a=E):(typeof v.componentDidMount=="function"&&(t.flags|=4194308),a=!1)}else{v=t.stateNode,$f(e,t),E=t.memoizedProps,D=t.type===t.elementType?E:on(t.type,E),v.props=D,K=t.pendingProps,$=v.context,M=o.contextType,typeof M=="object"&&M!==null?M=Vt(M):(M=Pt(o)?Gr:ft.current,M=zo(t,M));var oe=o.getDerivedStateFromProps;(W=typeof oe=="function"||typeof v.getSnapshotBeforeUpdate=="function")||typeof v.UNSAFE_componentWillReceiveProps!="function"&&typeof v.componentWillReceiveProps!="function"||(E!==K||$!==M)&&vp(t,v,a,M),gr=!1,$=t.memoizedState,v.state=$,da(t,a,v,u);var le=t.memoizedState;E!==K||$!==le||bt.current||gr?(typeof oe=="function"&&(Pu(t,o,oe,a),le=t.memoizedState),(D=gr||hp(t,o,D,a,$,le,M)||!1)?(W||typeof v.UNSAFE_componentWillUpdate!="function"&&typeof v.componentWillUpdate!="function"||(typeof v.componentWillUpdate=="function"&&v.componentWillUpdate(a,le,M),typeof v.UNSAFE_componentWillUpdate=="function"&&v.UNSAFE_componentWillUpdate(a,le,M)),typeof v.componentDidUpdate=="function"&&(t.flags|=4),typeof v.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof v.componentDidUpdate!="function"||E===e.memoizedProps&&$===e.memoizedState||(t.flags|=4),typeof v.getSnapshotBeforeUpdate!="function"||E===e.memoizedProps&&$===e.memoizedState||(t.flags|=1024),t.memoizedProps=a,t.memoizedState=le),v.props=a,v.state=le,v.context=M,a=D):(typeof v.componentDidUpdate!="function"||E===e.memoizedProps&&$===e.memoizedState||(t.flags|=4),typeof v.getSnapshotBeforeUpdate!="function"||E===e.memoizedProps&&$===e.memoizedState||(t.flags|=1024),a=!1)}return _u(e,t,o,a,d,u)}function _u(e,t,o,a,u,d){bp(e,t);var v=(t.flags&128)!==0;if(!a&&!v)return u&&_f(t,o,!1),Qn(e,t,d);a=t.stateNode,u0.current=t;var E=v&&typeof o.getDerivedStateFromError!="function"?null:a.render();return t.flags|=1,e!==null&&v?(t.child=Ho(t,e.child,null,d),t.child=Ho(t,null,E,d)):xt(e,t,E,d),t.memoizedState=a.state,u&&_f(t,o,!0),t.child}function Mp(e){var t=e.stateNode;t.pendingContext?Of(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Of(e,t.context,!1),mu(e,t.containerInfo)}function Tp(e,t,o,a,u){return Uo(),lu(u),t.flags|=256,xt(e,t,o,a),t.child}var Lu={dehydrated:null,treeContext:null,retryLane:0};function Au(e){return{baseLanes:e,cachePool:null,transitions:null}}function Op(e,t,o){var a=t.pendingProps,u=Qe.current,d=!1,v=(t.flags&128)!==0,E;if((E=v)||(E=e!==null&&e.memoizedState===null?!1:(u&2)!==0),E?(d=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(u|=1),ze(Qe,u&1),e===null)return au(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?((t.mode&1)===0?t.lanes=1:e.data==="$!"?t.lanes=8:t.lanes=1073741824,null):(v=a.children,e=a.fallback,d?(a=t.mode,d=t.child,v={mode:"hidden",children:v},(a&1)===0&&d!==null?(d.childLanes=0,d.pendingProps=v):d=_a(v,a,0,null),e=io(e,a,o,null),d.return=t,e.return=t,d.sibling=e,t.child=d,t.child.memoizedState=Au(o),t.memoizedState=Lu,e):Iu(t,v));if(u=e.memoizedState,u!==null&&(E=u.dehydrated,E!==null))return c0(e,t,v,a,E,u,o);if(d){d=a.fallback,v=t.mode,u=e.child,E=u.sibling;var M={mode:"hidden",children:a.children};return(v&1)===0&&t.child!==u?(a=t.child,a.childLanes=0,a.pendingProps=M,t.deletions=null):(a=Rr(u,M),a.subtreeFlags=u.subtreeFlags&14680064),E!==null?d=Rr(E,d):(d=io(d,v,o,null),d.flags|=2),d.return=t,a.return=t,a.sibling=d,t.child=a,a=d,d=t.child,v=e.child.memoizedState,v=v===null?Au(o):{baseLanes:v.baseLanes|o,cachePool:null,transitions:v.transitions},d.memoizedState=v,d.childLanes=e.childLanes&~o,t.memoizedState=Lu,a}return d=e.child,e=d.sibling,a=Rr(d,{mode:"visible",children:a.children}),(t.mode&1)===0&&(a.lanes=o),a.return=t,a.sibling=null,e!==null&&(o=t.deletions,o===null?(t.deletions=[e],t.flags|=16):o.push(e)),t.child=a,t.memoizedState=null,a}function Iu(e,t){return t=_a({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function wa(e,t,o,a){return a!==null&&lu(a),Ho(t,e.child,null,o),e=Iu(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function c0(e,t,o,a,u,d,v){if(o)return t.flags&256?(t.flags&=-257,a=Tu(Error(i(422))),wa(e,t,v,a)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(d=a.fallback,u=t.mode,a=_a({mode:"visible",children:a.children},u,0,null),d=io(d,u,v,null),d.flags|=2,a.return=t,d.return=t,a.sibling=d,t.child=a,(t.mode&1)!==0&&Ho(t,e.child,null,v),t.child.memoizedState=Au(v),t.memoizedState=Lu,d);if((t.mode&1)===0)return wa(e,t,v,null);if(u.data==="$!"){if(a=u.nextSibling&&u.nextSibling.dataset,a)var E=a.dgst;return a=E,d=Error(i(419)),a=Tu(d,a,void 0),wa(e,t,v,a)}if(E=(v&e.childLanes)!==0,Mt||E){if(a=it,a!==null){switch(v&-v){case 4:u=2;break;case 16:u=8;break;case 64: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:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:u=32;break;case 536870912:u=268435456;break;default:u=0}u=(u&(a.suspendedLanes|v))!==0?0:u,u!==0&&u!==d.retryLane&&(d.retryLane=u,Wn(e,u),ln(a,e,u,-1))}return Xu(),a=Tu(Error(i(421))),wa(e,t,v,a)}return u.data==="$?"?(t.flags|=128,t.child=e.child,t=k0.bind(null,e),u._reactRetry=t,null):(e=d.treeContext,Ft=hr(u.nextSibling),Dt=t,We=!0,rn=null,e!==null&&($t[Wt++]=Hn,$t[Wt++]=$n,$t[Wt++]=Yr,Hn=e.id,$n=e.overflow,Yr=t),t=Iu(t,a.children),t.flags|=4096,t)}function Np(e,t,o){e.lanes|=t;var a=e.alternate;a!==null&&(a.lanes|=t),fu(e.return,t,o)}function Du(e,t,o,a,u){var d=e.memoizedState;d===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:a,tail:o,tailMode:u}:(d.isBackwards=t,d.rendering=null,d.renderingStartTime=0,d.last=a,d.tail=o,d.tailMode=u)}function _p(e,t,o){var a=t.pendingProps,u=a.revealOrder,d=a.tail;if(xt(e,t,a.children,o),a=Qe.current,(a&2)!==0)a=a&1|2,t.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Np(e,o,t);else if(e.tag===19)Np(e,o,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}a&=1}if(ze(Qe,a),(t.mode&1)===0)t.memoizedState=null;else switch(u){case"forwards":for(o=t.child,u=null;o!==null;)e=o.alternate,e!==null&&fa(e)===null&&(u=o),o=o.sibling;o=u,o===null?(u=t.child,t.child=null):(u=o.sibling,o.sibling=null),Du(t,!1,u,o,d);break;case"backwards":for(o=null,u=t.child,t.child=null;u!==null;){if(e=u.alternate,e!==null&&fa(e)===null){t.child=u;break}e=u.sibling,u.sibling=o,o=u,u=e}Du(t,!0,o,null,d);break;case"together":Du(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function xa(e,t){(t.mode&1)===0&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Qn(e,t,o){if(e!==null&&(t.dependencies=e.dependencies),to|=t.lanes,(o&t.childLanes)===0)return null;if(e!==null&&t.child!==e.child)throw Error(i(153));if(t.child!==null){for(e=t.child,o=Rr(e,e.pendingProps),t.child=o,o.return=t;e.sibling!==null;)e=e.sibling,o=o.sibling=Rr(e,e.pendingProps),o.return=t;o.sibling=null}return t.child}function d0(e,t,o){switch(t.tag){case 3:Mp(t),Uo();break;case 5:Qf(t);break;case 1:Pt(t.type)&&na(t);break;case 4:mu(t,t.stateNode.containerInfo);break;case 10:var a=t.type._context,u=t.memoizedProps.value;ze(la,a._currentValue),a._currentValue=u;break;case 13:if(a=t.memoizedState,a!==null)return a.dehydrated!==null?(ze(Qe,Qe.current&1),t.flags|=128,null):(o&t.child.childLanes)!==0?Op(e,t,o):(ze(Qe,Qe.current&1),e=Qn(e,t,o),e!==null?e.sibling:null);ze(Qe,Qe.current&1);break;case 19:if(a=(o&t.childLanes)!==0,(e.flags&128)!==0){if(a)return _p(e,t,o);t.flags|=128}if(u=t.memoizedState,u!==null&&(u.rendering=null,u.tail=null,u.lastEffect=null),ze(Qe,Qe.current),a)break;return null;case 22:case 23:return t.lanes=0,Rp(e,t,o)}return Qn(e,t,o)}var Lp,Fu,Ap,Ip;Lp=function(e,t){for(var o=t.child;o!==null;){if(o.tag===5||o.tag===6)e.appendChild(o.stateNode);else if(o.tag!==4&&o.child!==null){o.child.return=o,o=o.child;continue}if(o===t)break;for(;o.sibling===null;){if(o.return===null||o.return===t)return;o=o.return}o.sibling.return=o.return,o=o.sibling}},Fu=function(){},Ap=function(e,t,o,a){var u=e.memoizedProps;if(u!==a){e=t.stateNode,Jr(Mn.current);var d=null;switch(o){case"input":u=dt(e,u),a=dt(e,a),d=[];break;case"select":u=Q({},u,{value:void 0}),a=Q({},a,{value:void 0}),d=[];break;case"textarea":u=Eo(e,u),a=Eo(e,a),d=[];break;default:typeof u.onClick!="function"&&typeof a.onClick=="function"&&(e.onclick=Js)}kn(o,a);var v;o=null;for(D in u)if(!a.hasOwnProperty(D)&&u.hasOwnProperty(D)&&u[D]!=null)if(D==="style"){var E=u[D];for(v in E)E.hasOwnProperty(v)&&(o||(o={}),o[v]="")}else D!=="dangerouslySetInnerHTML"&&D!=="children"&&D!=="suppressContentEditableWarning"&&D!=="suppressHydrationWarning"&&D!=="autoFocus"&&(l.hasOwnProperty(D)?d||(d=[]):(d=d||[]).push(D,null));for(D in a){var M=a[D];if(E=u!=null?u[D]:void 0,a.hasOwnProperty(D)&&M!==E&&(M!=null||E!=null))if(D==="style")if(E){for(v in E)!E.hasOwnProperty(v)||M&&M.hasOwnProperty(v)||(o||(o={}),o[v]="");for(v in M)M.hasOwnProperty(v)&&E[v]!==M[v]&&(o||(o={}),o[v]=M[v])}else o||(d||(d=[]),d.push(D,o)),o=M;else D==="dangerouslySetInnerHTML"?(M=M?M.__html:void 0,E=E?E.__html:void 0,M!=null&&E!==M&&(d=d||[]).push(D,M)):D==="children"?typeof M!="string"&&typeof M!="number"||(d=d||[]).push(D,""+M):D!=="suppressContentEditableWarning"&&D!=="suppressHydrationWarning"&&(l.hasOwnProperty(D)?(M!=null&&D==="onScroll"&&Be("scroll",e),d||E===M||(d=[])):(d=d||[]).push(D,M))}o&&(d=d||[]).push("style",o);var D=d;(t.updateQueue=D)&&(t.flags|=4)}},Ip=function(e,t,o,a){o!==a&&(t.flags|=4)};function ts(e,t){if(!We)switch(e.tailMode){case"hidden":t=e.tail;for(var o=null;t!==null;)t.alternate!==null&&(o=t),t=t.sibling;o===null?e.tail=null:o.sibling=null;break;case"collapsed":o=e.tail;for(var a=null;o!==null;)o.alternate!==null&&(a=o),o=o.sibling;a===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:a.sibling=null}}function ht(e){var t=e.alternate!==null&&e.alternate.child===e.child,o=0,a=0;if(t)for(var u=e.child;u!==null;)o|=u.lanes|u.childLanes,a|=u.subtreeFlags&14680064,a|=u.flags&14680064,u.return=e,u=u.sibling;else for(u=e.child;u!==null;)o|=u.lanes|u.childLanes,a|=u.subtreeFlags,a|=u.flags,u.return=e,u=u.sibling;return e.subtreeFlags|=a,e.childLanes=o,t}function f0(e,t,o){var a=t.pendingProps;switch(iu(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ht(t),null;case 1:return Pt(t.type)&&ta(),ht(t),null;case 3:return a=t.stateNode,Vo(),Ue(bt),Ue(ft),gu(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(e===null||e.child===null)&&(sa(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,rn!==null&&(qu(rn),rn=null))),Fu(e,t),ht(t),null;case 5:vu(t);var u=Jr(Yi.current);if(o=t.type,e!==null&&t.stateNode!=null)Ap(e,t,o,a,u),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!a){if(t.stateNode===null)throw Error(i(166));return ht(t),null}if(e=Jr(Mn.current),sa(t)){a=t.stateNode,o=t.type;var d=t.memoizedProps;switch(a[Pn]=t,a[Vi]=d,e=(t.mode&1)!==0,o){case"dialog":Be("cancel",a),Be("close",a);break;case"iframe":case"object":case"embed":Be("load",a);break;case"video":case"audio":for(u=0;u<Hi.length;u++)Be(Hi[u],a);break;case"source":Be("error",a);break;case"img":case"image":case"link":Be("error",a),Be("load",a);break;case"details":Be("toggle",a);break;case"input":gn(a,d),Be("invalid",a);break;case"select":a._wrapperState={wasMultiple:!!d.multiple},Be("invalid",a);break;case"textarea":xn(a,d),Be("invalid",a)}kn(o,d),u=null;for(var v in d)if(d.hasOwnProperty(v)){var E=d[v];v==="children"?typeof E=="string"?a.textContent!==E&&(d.suppressHydrationWarning!==!0&&Zs(a.textContent,E,e),u=["children",E]):typeof E=="number"&&a.textContent!==""+E&&(d.suppressHydrationWarning!==!0&&Zs(a.textContent,E,e),u=["children",""+E]):l.hasOwnProperty(v)&&E!=null&&v==="onScroll"&&Be("scroll",a)}switch(o){case"input":Me(a),ir(a,d,!0);break;case"textarea":Me(a),Ps(a);break;case"select":case"option":break;default:typeof d.onClick=="function"&&(a.onclick=Js)}a=u,t.updateQueue=a,a!==null&&(t.flags|=4)}else{v=u.nodeType===9?u:u.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=gt(o)),e==="http://www.w3.org/1999/xhtml"?o==="script"?(e=v.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof a.is=="string"?e=v.createElement(o,{is:a.is}):(e=v.createElement(o),o==="select"&&(v=e,a.multiple?v.multiple=!0:a.size&&(v.size=a.size))):e=v.createElementNS(e,o),e[Pn]=t,e[Vi]=a,Lp(e,t,!1,!1),t.stateNode=e;e:{switch(v=Ri(o,a),o){case"dialog":Be("cancel",e),Be("close",e),u=a;break;case"iframe":case"object":case"embed":Be("load",e),u=a;break;case"video":case"audio":for(u=0;u<Hi.length;u++)Be(Hi[u],e);u=a;break;case"source":Be("error",e),u=a;break;case"img":case"image":case"link":Be("error",e),Be("load",e),u=a;break;case"details":Be("toggle",e),u=a;break;case"input":gn(e,a),u=dt(e,a),Be("invalid",e);break;case"option":u=a;break;case"select":e._wrapperState={wasMultiple:!!a.multiple},u=Q({},a,{value:void 0}),Be("invalid",e);break;case"textarea":xn(e,a),u=Eo(e,a),Be("invalid",e);break;default:u=a}kn(o,u),E=u;for(d in E)if(E.hasOwnProperty(d)){var M=E[d];d==="style"?jn(e,M):d==="dangerouslySetInnerHTML"?(M=M?M.__html:void 0,M!=null&&Ms(e,M)):d==="children"?typeof M=="string"?(o!=="textarea"||M!=="")&&Cn(e,M):typeof M=="number"&&Cn(e,""+M):d!=="suppressContentEditableWarning"&&d!=="suppressHydrationWarning"&&d!=="autoFocus"&&(l.hasOwnProperty(d)?M!=null&&d==="onScroll"&&Be("scroll",e):M!=null&&b(e,d,M,v))}switch(o){case"input":Me(e),ir(e,a,!1);break;case"textarea":Me(e),Ps(e);break;case"option":a.value!=null&&e.setAttribute("value",""+pe(a.value));break;case"select":e.multiple=!!a.multiple,d=a.value,d!=null?Ht(e,!!a.multiple,d,!1):a.defaultValue!=null&&Ht(e,!!a.multiple,a.defaultValue,!0);break;default:typeof u.onClick=="function"&&(e.onclick=Js)}switch(o){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break e;case"img":a=!0;break e;default:a=!1}}a&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return ht(t),null;case 6:if(e&&t.stateNode!=null)Ip(e,t,e.memoizedProps,a);else{if(typeof a!="string"&&t.stateNode===null)throw Error(i(166));if(o=Jr(Yi.current),Jr(Mn.current),sa(t)){if(a=t.stateNode,o=t.memoizedProps,a[Pn]=t,(d=a.nodeValue!==o)&&(e=Dt,e!==null))switch(e.tag){case 3:Zs(a.nodeValue,o,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Zs(a.nodeValue,o,(e.mode&1)!==0)}d&&(t.flags|=4)}else a=(o.nodeType===9?o:o.ownerDocument).createTextNode(a),a[Pn]=t,t.stateNode=a}return ht(t),null;case 13:if(Ue(Qe),a=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(We&&Ft!==null&&(t.mode&1)!==0&&(t.flags&128)===0)zf(),Uo(),t.flags|=98560,d=!1;else if(d=sa(t),a!==null&&a.dehydrated!==null){if(e===null){if(!d)throw Error(i(318));if(d=t.memoizedState,d=d!==null?d.dehydrated:null,!d)throw Error(i(317));d[Pn]=t}else Uo(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;ht(t),d=!1}else rn!==null&&(qu(rn),rn=null),d=!0;if(!d)return t.flags&65536?t:null}return(t.flags&128)!==0?(t.lanes=o,t):(a=a!==null,a!==(e!==null&&e.memoizedState!==null)&&a&&(t.child.flags|=8192,(t.mode&1)!==0&&(e===null||(Qe.current&1)!==0?nt===0&&(nt=3):Xu())),t.updateQueue!==null&&(t.flags|=4),ht(t),null);case 4:return Vo(),Fu(e,t),e===null&&$i(t.stateNode.containerInfo),ht(t),null;case 10:return du(t.type._context),ht(t),null;case 17:return Pt(t.type)&&ta(),ht(t),null;case 19:if(Ue(Qe),d=t.memoizedState,d===null)return ht(t),null;if(a=(t.flags&128)!==0,v=d.rendering,v===null)if(a)ts(d,!1);else{if(nt!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(v=fa(e),v!==null){for(t.flags|=128,ts(d,!1),a=v.updateQueue,a!==null&&(t.updateQueue=a,t.flags|=4),t.subtreeFlags=0,a=o,o=t.child;o!==null;)d=o,e=a,d.flags&=14680066,v=d.alternate,v===null?(d.childLanes=0,d.lanes=e,d.child=null,d.subtreeFlags=0,d.memoizedProps=null,d.memoizedState=null,d.updateQueue=null,d.dependencies=null,d.stateNode=null):(d.childLanes=v.childLanes,d.lanes=v.lanes,d.child=v.child,d.subtreeFlags=0,d.deletions=null,d.memoizedProps=v.memoizedProps,d.memoizedState=v.memoizedState,d.updateQueue=v.updateQueue,d.type=v.type,e=v.dependencies,d.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),o=o.sibling;return ze(Qe,Qe.current&1|2),t.child}e=e.sibling}d.tail!==null&&Xe()>Go&&(t.flags|=128,a=!0,ts(d,!1),t.lanes=4194304)}else{if(!a)if(e=fa(v),e!==null){if(t.flags|=128,a=!0,o=e.updateQueue,o!==null&&(t.updateQueue=o,t.flags|=4),ts(d,!0),d.tail===null&&d.tailMode==="hidden"&&!v.alternate&&!We)return ht(t),null}else 2*Xe()-d.renderingStartTime>Go&&o!==1073741824&&(t.flags|=128,a=!0,ts(d,!1),t.lanes=4194304);d.isBackwards?(v.sibling=t.child,t.child=v):(o=d.last,o!==null?o.sibling=v:t.child=v,d.last=v)}return d.tail!==null?(t=d.tail,d.rendering=t,d.tail=t.sibling,d.renderingStartTime=Xe(),t.sibling=null,o=Qe.current,ze(Qe,a?o&1|2:o&1),t):(ht(t),null);case 22:case 23:return Yu(),a=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==a&&(t.flags|=8192),a&&(t.mode&1)!==0?(zt&1073741824)!==0&&(ht(t),t.subtreeFlags&6&&(t.flags|=8192)):ht(t),null;case 24:return null;case 25:return null}throw Error(i(156,t.tag))}function p0(e,t){switch(iu(t),t.tag){case 1:return Pt(t.type)&&ta(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Vo(),Ue(bt),Ue(ft),gu(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 5:return vu(t),null;case 13:if(Ue(Qe),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(i(340));Uo()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Ue(Qe),null;case 4:return Vo(),null;case 10:return du(t.type._context),null;case 22:case 23:return Yu(),null;case 24:return null;default:return null}}var Sa=!1,mt=!1,h0=typeof WeakSet=="function"?WeakSet:Set,ae=null;function Ko(e,t){var o=e.ref;if(o!==null)if(typeof o=="function")try{o(null)}catch(a){qe(e,t,a)}else o.current=null}function zu(e,t,o){try{o()}catch(a){qe(e,t,a)}}var Dp=!1;function m0(e,t){if(Yl=Us,e=hf(),Hl(e)){if("selectionStart"in e)var o={start:e.selectionStart,end:e.selectionEnd};else e:{o=(o=e.ownerDocument)&&o.defaultView||window;var a=o.getSelection&&o.getSelection();if(a&&a.rangeCount!==0){o=a.anchorNode;var u=a.anchorOffset,d=a.focusNode;a=a.focusOffset;try{o.nodeType,d.nodeType}catch{o=null;break e}var v=0,E=-1,M=-1,D=0,W=0,K=e,$=null;t:for(;;){for(var oe;K!==o||u!==0&&K.nodeType!==3||(E=v+u),K!==d||a!==0&&K.nodeType!==3||(M=v+a),K.nodeType===3&&(v+=K.nodeValue.length),(oe=K.firstChild)!==null;)$=K,K=oe;for(;;){if(K===e)break t;if($===o&&++D===u&&(E=v),$===d&&++W===a&&(M=v),(oe=K.nextSibling)!==null)break;K=$,$=K.parentNode}K=oe}o=E===-1||M===-1?null:{start:E,end:M}}else o=null}o=o||{start:0,end:0}}else o=null;for(Xl={focusedElem:e,selectionRange:o},Us=!1,ae=t;ae!==null;)if(t=ae,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,ae=e;else for(;ae!==null;){t=ae;try{var le=t.alternate;if((t.flags&1024)!==0)switch(t.tag){case 0:case 11:case 15:break;case 1:if(le!==null){var ce=le.memoizedProps,Ze=le.memoizedState,A=t.stateNode,_=A.getSnapshotBeforeUpdate(t.elementType===t.type?ce:on(t.type,ce),Ze);A.__reactInternalSnapshotBeforeUpdate=_}break;case 3:var I=t.stateNode.containerInfo;I.nodeType===1?I.textContent="":I.nodeType===9&&I.documentElement&&I.removeChild(I.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(i(163))}}catch(Y){qe(t,t.return,Y)}if(e=t.sibling,e!==null){e.return=t.return,ae=e;break}ae=t.return}return le=Dp,Dp=!1,le}function ns(e,t,o){var a=t.updateQueue;if(a=a!==null?a.lastEffect:null,a!==null){var u=a=a.next;do{if((u.tag&e)===e){var d=u.destroy;u.destroy=void 0,d!==void 0&&zu(t,o,d)}u=u.next}while(u!==a)}}function Ca(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var o=t=t.next;do{if((o.tag&e)===e){var a=o.create;o.destroy=a()}o=o.next}while(o!==t)}}function ju(e){var t=e.ref;if(t!==null){var o=e.stateNode;switch(e.tag){case 5:e=o;break;default:e=o}typeof t=="function"?t(e):t.current=e}}function Fp(e){var t=e.alternate;t!==null&&(e.alternate=null,Fp(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Pn],delete t[Vi],delete t[tu],delete t[Xg],delete t[Zg])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function zp(e){return e.tag===5||e.tag===3||e.tag===4}function jp(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||zp(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Bu(e,t,o){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?o.nodeType===8?o.parentNode.insertBefore(e,t):o.insertBefore(e,t):(o.nodeType===8?(t=o.parentNode,t.insertBefore(e,o)):(t=o,t.appendChild(e)),o=o._reactRootContainer,o!=null||t.onclick!==null||(t.onclick=Js));else if(a!==4&&(e=e.child,e!==null))for(Bu(e,t,o),e=e.sibling;e!==null;)Bu(e,t,o),e=e.sibling}function Uu(e,t,o){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?o.insertBefore(e,t):o.appendChild(e);else if(a!==4&&(e=e.child,e!==null))for(Uu(e,t,o),e=e.sibling;e!==null;)Uu(e,t,o),e=e.sibling}var ut=null,sn=!1;function xr(e,t,o){for(o=o.child;o!==null;)Bp(e,t,o),o=o.sibling}function Bp(e,t,o){if(bn&&typeof bn.onCommitFiberUnmount=="function")try{bn.onCommitFiberUnmount(Is,o)}catch{}switch(o.tag){case 5:mt||Ko(o,t);case 6:var a=ut,u=sn;ut=null,xr(e,t,o),ut=a,sn=u,ut!==null&&(sn?(e=ut,o=o.stateNode,e.nodeType===8?e.parentNode.removeChild(o):e.removeChild(o)):ut.removeChild(o.stateNode));break;case 18:ut!==null&&(sn?(e=ut,o=o.stateNode,e.nodeType===8?eu(e.parentNode,o):e.nodeType===1&&eu(e,o),Ai(e)):eu(ut,o.stateNode));break;case 4:a=ut,u=sn,ut=o.stateNode.containerInfo,sn=!0,xr(e,t,o),ut=a,sn=u;break;case 0:case 11:case 14:case 15:if(!mt&&(a=o.updateQueue,a!==null&&(a=a.lastEffect,a!==null))){u=a=a.next;do{var d=u,v=d.destroy;d=d.tag,v!==void 0&&((d&2)!==0||(d&4)!==0)&&zu(o,t,v),u=u.next}while(u!==a)}xr(e,t,o);break;case 1:if(!mt&&(Ko(o,t),a=o.stateNode,typeof a.componentWillUnmount=="function"))try{a.props=o.memoizedProps,a.state=o.memoizedState,a.componentWillUnmount()}catch(E){qe(o,t,E)}xr(e,t,o);break;case 21:xr(e,t,o);break;case 22:o.mode&1?(mt=(a=mt)||o.memoizedState!==null,xr(e,t,o),mt=a):xr(e,t,o);break;default:xr(e,t,o)}}function Up(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var o=e.stateNode;o===null&&(o=e.stateNode=new h0),t.forEach(function(a){var u=E0.bind(null,e,a);o.has(a)||(o.add(a),a.then(u,u))})}}function an(e,t){var o=t.deletions;if(o!==null)for(var a=0;a<o.length;a++){var u=o[a];try{var d=e,v=t,E=v;e:for(;E!==null;){switch(E.tag){case 5:ut=E.stateNode,sn=!1;break e;case 3:ut=E.stateNode.containerInfo,sn=!0;break e;case 4:ut=E.stateNode.containerInfo,sn=!0;break e}E=E.return}if(ut===null)throw Error(i(160));Bp(d,v,u),ut=null,sn=!1;var M=u.alternate;M!==null&&(M.return=null),u.return=null}catch(D){qe(u,t,D)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Hp(t,e),t=t.sibling}function Hp(e,t){var o=e.alternate,a=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(an(t,e),On(e),a&4){try{ns(3,e,e.return),Ca(3,e)}catch(ce){qe(e,e.return,ce)}try{ns(5,e,e.return)}catch(ce){qe(e,e.return,ce)}}break;case 1:an(t,e),On(e),a&512&&o!==null&&Ko(o,o.return);break;case 5:if(an(t,e),On(e),a&512&&o!==null&&Ko(o,o.return),e.flags&32){var u=e.stateNode;try{Cn(u,"")}catch(ce){qe(e,e.return,ce)}}if(a&4&&(u=e.stateNode,u!=null)){var d=e.memoizedProps,v=o!==null?o.memoizedProps:d,E=e.type,M=e.updateQueue;if(e.updateQueue=null,M!==null)try{E==="input"&&d.type==="radio"&&d.name!=null&&Xt(u,d),Ri(E,v);var D=Ri(E,d);for(v=0;v<M.length;v+=2){var W=M[v],K=M[v+1];W==="style"?jn(u,K):W==="dangerouslySetInnerHTML"?Ms(u,K):W==="children"?Cn(u,K):b(u,W,K,D)}switch(E){case"input":Zt(u,d);break;case"textarea":bs(u,d);break;case"select":var $=u._wrapperState.wasMultiple;u._wrapperState.wasMultiple=!!d.multiple;var oe=d.value;oe!=null?Ht(u,!!d.multiple,oe,!1):$!==!!d.multiple&&(d.defaultValue!=null?Ht(u,!!d.multiple,d.defaultValue,!0):Ht(u,!!d.multiple,d.multiple?[]:"",!1))}u[Vi]=d}catch(ce){qe(e,e.return,ce)}}break;case 6:if(an(t,e),On(e),a&4){if(e.stateNode===null)throw Error(i(162));u=e.stateNode,d=e.memoizedProps;try{u.nodeValue=d}catch(ce){qe(e,e.return,ce)}}break;case 3:if(an(t,e),On(e),a&4&&o!==null&&o.memoizedState.isDehydrated)try{Ai(t.containerInfo)}catch(ce){qe(e,e.return,ce)}break;case 4:an(t,e),On(e);break;case 13:an(t,e),On(e),u=e.child,u.flags&8192&&(d=u.memoizedState!==null,u.stateNode.isHidden=d,!d||u.alternate!==null&&u.alternate.memoizedState!==null||(Wu=Xe())),a&4&&Up(e);break;case 22:if(W=o!==null&&o.memoizedState!==null,e.mode&1?(mt=(D=mt)||W,an(t,e),mt=D):an(t,e),On(e),a&8192){if(D=e.memoizedState!==null,(e.stateNode.isHidden=D)&&!W&&(e.mode&1)!==0)for(ae=e,W=e.child;W!==null;){for(K=ae=W;ae!==null;){switch($=ae,oe=$.child,$.tag){case 0:case 11:case 14:case 15:ns(4,$,$.return);break;case 1:Ko($,$.return);var le=$.stateNode;if(typeof le.componentWillUnmount=="function"){a=$,o=$.return;try{t=a,le.props=t.memoizedProps,le.state=t.memoizedState,le.componentWillUnmount()}catch(ce){qe(a,o,ce)}}break;case 5:Ko($,$.return);break;case 22:if($.memoizedState!==null){Vp(K);continue}}oe!==null?(oe.return=$,ae=oe):Vp(K)}W=W.sibling}e:for(W=null,K=e;;){if(K.tag===5){if(W===null){W=K;try{u=K.stateNode,D?(d=u.style,typeof d.setProperty=="function"?d.setProperty("display","none","important"):d.display="none"):(E=K.stateNode,M=K.memoizedProps.style,v=M!=null&&M.hasOwnProperty("display")?M.display:null,E.style.display=bo("display",v))}catch(ce){qe(e,e.return,ce)}}}else if(K.tag===6){if(W===null)try{K.stateNode.nodeValue=D?"":K.memoizedProps}catch(ce){qe(e,e.return,ce)}}else if((K.tag!==22&&K.tag!==23||K.memoizedState===null||K===e)&&K.child!==null){K.child.return=K,K=K.child;continue}if(K===e)break e;for(;K.sibling===null;){if(K.return===null||K.return===e)break e;W===K&&(W=null),K=K.return}W===K&&(W=null),K.sibling.return=K.return,K=K.sibling}}break;case 19:an(t,e),On(e),a&4&&Up(e);break;case 21:break;default:an(t,e),On(e)}}function On(e){var t=e.flags;if(t&2){try{e:{for(var o=e.return;o!==null;){if(zp(o)){var a=o;break e}o=o.return}throw Error(i(160))}switch(a.tag){case 5:var u=a.stateNode;a.flags&32&&(Cn(u,""),a.flags&=-33);var d=jp(e);Uu(e,d,u);break;case 3:case 4:var v=a.stateNode.containerInfo,E=jp(e);Bu(e,E,v);break;default:throw Error(i(161))}}catch(M){qe(e,e.return,M)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function v0(e,t,o){ae=e,$p(e)}function $p(e,t,o){for(var a=(e.mode&1)!==0;ae!==null;){var u=ae,d=u.child;if(u.tag===22&&a){var v=u.memoizedState!==null||Sa;if(!v){var E=u.alternate,M=E!==null&&E.memoizedState!==null||mt;E=Sa;var D=mt;if(Sa=v,(mt=M)&&!D)for(ae=u;ae!==null;)v=ae,M=v.child,v.tag===22&&v.memoizedState!==null?Qp(u):M!==null?(M.return=v,ae=M):Qp(u);for(;d!==null;)ae=d,$p(d),d=d.sibling;ae=u,Sa=E,mt=D}Wp(e)}else(u.subtreeFlags&8772)!==0&&d!==null?(d.return=u,ae=d):Wp(e)}}function Wp(e){for(;ae!==null;){var t=ae;if((t.flags&8772)!==0){var o=t.alternate;try{if((t.flags&8772)!==0)switch(t.tag){case 0:case 11:case 15:mt||Ca(5,t);break;case 1:var a=t.stateNode;if(t.flags&4&&!mt)if(o===null)a.componentDidMount();else{var u=t.elementType===t.type?o.memoizedProps:on(t.type,o.memoizedProps);a.componentDidUpdate(u,o.memoizedState,a.__reactInternalSnapshotBeforeUpdate)}var d=t.updateQueue;d!==null&&Vf(t,d,a);break;case 3:var v=t.updateQueue;if(v!==null){if(o=null,t.child!==null)switch(t.child.tag){case 5:o=t.child.stateNode;break;case 1:o=t.child.stateNode}Vf(t,v,o)}break;case 5:var E=t.stateNode;if(o===null&&t.flags&4){o=E;var M=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":M.autoFocus&&o.focus();break;case"img":M.src&&(o.src=M.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var D=t.alternate;if(D!==null){var W=D.memoizedState;if(W!==null){var K=W.dehydrated;K!==null&&Ai(K)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(i(163))}mt||t.flags&512&&ju(t)}catch($){qe(t,t.return,$)}}if(t===e){ae=null;break}if(o=t.sibling,o!==null){o.return=t.return,ae=o;break}ae=t.return}}function Vp(e){for(;ae!==null;){var t=ae;if(t===e){ae=null;break}var o=t.sibling;if(o!==null){o.return=t.return,ae=o;break}ae=t.return}}function Qp(e){for(;ae!==null;){var t=ae;try{switch(t.tag){case 0:case 11:case 15:var o=t.return;try{Ca(4,t)}catch(M){qe(t,o,M)}break;case 1:var a=t.stateNode;if(typeof a.componentDidMount=="function"){var u=t.return;try{a.componentDidMount()}catch(M){qe(t,u,M)}}var d=t.return;try{ju(t)}catch(M){qe(t,d,M)}break;case 5:var v=t.return;try{ju(t)}catch(M){qe(t,v,M)}}}catch(M){qe(t,t.return,M)}if(t===e){ae=null;break}var E=t.sibling;if(E!==null){E.return=t.return,ae=E;break}ae=t.return}}var y0=Math.ceil,ka=L.ReactCurrentDispatcher,Hu=L.ReactCurrentOwner,Kt=L.ReactCurrentBatchConfig,_e=0,it=null,et=null,ct=0,zt=0,qo=mr(0),nt=0,rs=null,to=0,Ea=0,$u=0,os=null,Tt=null,Wu=0,Go=1/0,Kn=null,Ra=!1,Vu=null,Sr=null,ba=!1,Cr=null,Pa=0,is=0,Qu=null,Ma=-1,Ta=0;function St(){return(_e&6)!==0?Xe():Ma!==-1?Ma:Ma=Xe()}function kr(e){return(e.mode&1)===0?1:(_e&2)!==0&&ct!==0?ct&-ct:e0.transition!==null?(Ta===0&&(Ta=zd()),Ta):(e=De,e!==0||(e=window.event,e=e===void 0?16:Kd(e.type)),e)}function ln(e,t,o,a){if(50<is)throw is=0,Qu=null,Error(i(185));Ti(e,o,a),((_e&2)===0||e!==it)&&(e===it&&((_e&2)===0&&(Ea|=o),nt===4&&Er(e,ct)),Ot(e,a),o===1&&_e===0&&(t.mode&1)===0&&(Go=Xe()+500,ra&&yr()))}function Ot(e,t){var o=e.callbackNode;eg(e,t);var a=zs(e,e===it?ct:0);if(a===0)o!==null&&Id(o),e.callbackNode=null,e.callbackPriority=0;else if(t=a&-a,e.callbackPriority!==t){if(o!=null&&Id(o),t===1)e.tag===0?Jg(qp.bind(null,e)):Lf(qp.bind(null,e)),Gg(function(){(_e&6)===0&&yr()}),o=null;else{switch(jd(a)){case 1:o=Rl;break;case 4:o=Dd;break;case 16:o=As;break;case 536870912:o=Fd;break;default:o=As}o=nh(o,Kp.bind(null,e))}e.callbackPriority=t,e.callbackNode=o}}function Kp(e,t){if(Ma=-1,Ta=0,(_e&6)!==0)throw Error(i(327));var o=e.callbackNode;if(Yo()&&e.callbackNode!==o)return null;var a=zs(e,e===it?ct:0);if(a===0)return null;if((a&30)!==0||(a&e.expiredLanes)!==0||t)t=Oa(e,a);else{t=a;var u=_e;_e|=2;var d=Yp();(it!==e||ct!==t)&&(Kn=null,Go=Xe()+500,ro(e,t));do try{x0();break}catch(E){Gp(e,E)}while(!0);cu(),ka.current=d,_e=u,et!==null?t=0:(it=null,ct=0,t=nt)}if(t!==0){if(t===2&&(u=bl(e),u!==0&&(a=u,t=Ku(e,u))),t===1)throw o=rs,ro(e,0),Er(e,a),Ot(e,Xe()),o;if(t===6)Er(e,a);else{if(u=e.current.alternate,(a&30)===0&&!g0(u)&&(t=Oa(e,a),t===2&&(d=bl(e),d!==0&&(a=d,t=Ku(e,d))),t===1))throw o=rs,ro(e,0),Er(e,a),Ot(e,Xe()),o;switch(e.finishedWork=u,e.finishedLanes=a,t){case 0:case 1:throw Error(i(345));case 2:oo(e,Tt,Kn);break;case 3:if(Er(e,a),(a&130023424)===a&&(t=Wu+500-Xe(),10<t)){if(zs(e,0)!==0)break;if(u=e.suspendedLanes,(u&a)!==a){St(),e.pingedLanes|=e.suspendedLanes&u;break}e.timeoutHandle=Jl(oo.bind(null,e,Tt,Kn),t);break}oo(e,Tt,Kn);break;case 4:if(Er(e,a),(a&4194240)===a)break;for(t=e.eventTimes,u=-1;0<a;){var v=31-tn(a);d=1<<v,v=t[v],v>u&&(u=v),a&=~d}if(a=u,a=Xe()-a,a=(120>a?120:480>a?480:1080>a?1080:1920>a?1920:3e3>a?3e3:4320>a?4320:1960*y0(a/1960))-a,10<a){e.timeoutHandle=Jl(oo.bind(null,e,Tt,Kn),a);break}oo(e,Tt,Kn);break;case 5:oo(e,Tt,Kn);break;default:throw Error(i(329))}}}return Ot(e,Xe()),e.callbackNode===o?Kp.bind(null,e):null}function Ku(e,t){var o=os;return e.current.memoizedState.isDehydrated&&(ro(e,t).flags|=256),e=Oa(e,t),e!==2&&(t=Tt,Tt=o,t!==null&&qu(t)),e}function qu(e){Tt===null?Tt=e:Tt.push.apply(Tt,e)}function g0(e){for(var t=e;;){if(t.flags&16384){var o=t.updateQueue;if(o!==null&&(o=o.stores,o!==null))for(var a=0;a<o.length;a++){var u=o[a],d=u.getSnapshot;u=u.value;try{if(!nn(d(),u))return!1}catch{return!1}}}if(o=t.child,t.subtreeFlags&16384&&o!==null)o.return=t,t=o;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Er(e,t){for(t&=~$u,t&=~Ea,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var o=31-tn(t),a=1<<o;e[o]=-1,t&=~a}}function qp(e){if((_e&6)!==0)throw Error(i(327));Yo();var t=zs(e,0);if((t&1)===0)return Ot(e,Xe()),null;var o=Oa(e,t);if(e.tag!==0&&o===2){var a=bl(e);a!==0&&(t=a,o=Ku(e,a))}if(o===1)throw o=rs,ro(e,0),Er(e,t),Ot(e,Xe()),o;if(o===6)throw Error(i(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,oo(e,Tt,Kn),Ot(e,Xe()),null}function Gu(e,t){var o=_e;_e|=1;try{return e(t)}finally{_e=o,_e===0&&(Go=Xe()+500,ra&&yr())}}function no(e){Cr!==null&&Cr.tag===0&&(_e&6)===0&&Yo();var t=_e;_e|=1;var o=Kt.transition,a=De;try{if(Kt.transition=null,De=1,e)return e()}finally{De=a,Kt.transition=o,_e=t,(_e&6)===0&&yr()}}function Yu(){zt=qo.current,Ue(qo)}function ro(e,t){e.finishedWork=null,e.finishedLanes=0;var o=e.timeoutHandle;if(o!==-1&&(e.timeoutHandle=-1,qg(o)),et!==null)for(o=et.return;o!==null;){var a=o;switch(iu(a),a.tag){case 1:a=a.type.childContextTypes,a!=null&&ta();break;case 3:Vo(),Ue(bt),Ue(ft),gu();break;case 5:vu(a);break;case 4:Vo();break;case 13:Ue(Qe);break;case 19:Ue(Qe);break;case 10:du(a.type._context);break;case 22:case 23:Yu()}o=o.return}if(it=e,et=e=Rr(e.current,null),ct=zt=t,nt=0,rs=null,$u=Ea=to=0,Tt=os=null,Zr!==null){for(t=0;t<Zr.length;t++)if(o=Zr[t],a=o.interleaved,a!==null){o.interleaved=null;var u=a.next,d=o.pending;if(d!==null){var v=d.next;d.next=u,a.next=v}o.pending=a}Zr=null}return e}function Gp(e,t){do{var o=et;try{if(cu(),pa.current=ya,ha){for(var a=Ke.memoizedState;a!==null;){var u=a.queue;u!==null&&(u.pending=null),a=a.next}ha=!1}if(eo=0,ot=tt=Ke=null,Xi=!1,Zi=0,Hu.current=null,o===null||o.return===null){nt=1,rs=t,et=null;break}e:{var d=e,v=o.return,E=o,M=t;if(t=ct,E.flags|=32768,M!==null&&typeof M=="object"&&typeof M.then=="function"){var D=M,W=E,K=W.tag;if((W.mode&1)===0&&(K===0||K===11||K===15)){var $=W.alternate;$?(W.updateQueue=$.updateQueue,W.memoizedState=$.memoizedState,W.lanes=$.lanes):(W.updateQueue=null,W.memoizedState=null)}var oe=xp(v);if(oe!==null){oe.flags&=-257,Sp(oe,v,E,d,t),oe.mode&1&&wp(d,D,t),t=oe,M=D;var le=t.updateQueue;if(le===null){var ce=new Set;ce.add(M),t.updateQueue=ce}else le.add(M);break e}else{if((t&1)===0){wp(d,D,t),Xu();break e}M=Error(i(426))}}else if(We&&E.mode&1){var Ze=xp(v);if(Ze!==null){(Ze.flags&65536)===0&&(Ze.flags|=256),Sp(Ze,v,E,d,t),lu(Qo(M,E));break e}}d=M=Qo(M,E),nt!==4&&(nt=2),os===null?os=[d]:os.push(d),d=v;do{switch(d.tag){case 3:d.flags|=65536,t&=-t,d.lanes|=t;var A=yp(d,M,t);Wf(d,A);break e;case 1:E=M;var _=d.type,I=d.stateNode;if((d.flags&128)===0&&(typeof _.getDerivedStateFromError=="function"||I!==null&&typeof I.componentDidCatch=="function"&&(Sr===null||!Sr.has(I)))){d.flags|=65536,t&=-t,d.lanes|=t;var Y=gp(d,E,t);Wf(d,Y);break e}}d=d.return}while(d!==null)}Zp(o)}catch(fe){t=fe,et===o&&o!==null&&(et=o=o.return);continue}break}while(!0)}function Yp(){var e=ka.current;return ka.current=ya,e===null?ya:e}function Xu(){(nt===0||nt===3||nt===2)&&(nt=4),it===null||(to&268435455)===0&&(Ea&268435455)===0||Er(it,ct)}function Oa(e,t){var o=_e;_e|=2;var a=Yp();(it!==e||ct!==t)&&(Kn=null,ro(e,t));do try{w0();break}catch(u){Gp(e,u)}while(!0);if(cu(),_e=o,ka.current=a,et!==null)throw Error(i(261));return it=null,ct=0,nt}function w0(){for(;et!==null;)Xp(et)}function x0(){for(;et!==null&&!Vy();)Xp(et)}function Xp(e){var t=th(e.alternate,e,zt);e.memoizedProps=e.pendingProps,t===null?Zp(e):et=t,Hu.current=null}function Zp(e){var t=e;do{var o=t.alternate;if(e=t.return,(t.flags&32768)===0){if(o=f0(o,t,zt),o!==null){et=o;return}}else{if(o=p0(o,t),o!==null){o.flags&=32767,et=o;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{nt=6,et=null;return}}if(t=t.sibling,t!==null){et=t;return}et=t=e}while(t!==null);nt===0&&(nt=5)}function oo(e,t,o){var a=De,u=Kt.transition;try{Kt.transition=null,De=1,S0(e,t,o,a)}finally{Kt.transition=u,De=a}return null}function S0(e,t,o,a){do Yo();while(Cr!==null);if((_e&6)!==0)throw Error(i(327));o=e.finishedWork;var u=e.finishedLanes;if(o===null)return null;if(e.finishedWork=null,e.finishedLanes=0,o===e.current)throw Error(i(177));e.callbackNode=null,e.callbackPriority=0;var d=o.lanes|o.childLanes;if(tg(e,d),e===it&&(et=it=null,ct=0),(o.subtreeFlags&2064)===0&&(o.flags&2064)===0||ba||(ba=!0,nh(As,function(){return Yo(),null})),d=(o.flags&15990)!==0,(o.subtreeFlags&15990)!==0||d){d=Kt.transition,Kt.transition=null;var v=De;De=1;var E=_e;_e|=4,Hu.current=null,m0(e,o),Hp(o,e),Ug(Xl),Us=!!Yl,Xl=Yl=null,e.current=o,v0(o),Qy(),_e=E,De=v,Kt.transition=d}else e.current=o;if(ba&&(ba=!1,Cr=e,Pa=u),d=e.pendingLanes,d===0&&(Sr=null),Gy(o.stateNode),Ot(e,Xe()),t!==null)for(a=e.onRecoverableError,o=0;o<t.length;o++)u=t[o],a(u.value,{componentStack:u.stack,digest:u.digest});if(Ra)throw Ra=!1,e=Vu,Vu=null,e;return(Pa&1)!==0&&e.tag!==0&&Yo(),d=e.pendingLanes,(d&1)!==0?e===Qu?is++:(is=0,Qu=e):is=0,yr(),null}function Yo(){if(Cr!==null){var e=jd(Pa),t=Kt.transition,o=De;try{if(Kt.transition=null,De=16>e?16:e,Cr===null)var a=!1;else{if(e=Cr,Cr=null,Pa=0,(_e&6)!==0)throw Error(i(331));var u=_e;for(_e|=4,ae=e.current;ae!==null;){var d=ae,v=d.child;if((ae.flags&16)!==0){var E=d.deletions;if(E!==null){for(var M=0;M<E.length;M++){var D=E[M];for(ae=D;ae!==null;){var W=ae;switch(W.tag){case 0:case 11:case 15:ns(8,W,d)}var K=W.child;if(K!==null)K.return=W,ae=K;else for(;ae!==null;){W=ae;var $=W.sibling,oe=W.return;if(Fp(W),W===D){ae=null;break}if($!==null){$.return=oe,ae=$;break}ae=oe}}}var le=d.alternate;if(le!==null){var ce=le.child;if(ce!==null){le.child=null;do{var Ze=ce.sibling;ce.sibling=null,ce=Ze}while(ce!==null)}}ae=d}}if((d.subtreeFlags&2064)!==0&&v!==null)v.return=d,ae=v;else e:for(;ae!==null;){if(d=ae,(d.flags&2048)!==0)switch(d.tag){case 0:case 11:case 15:ns(9,d,d.return)}var A=d.sibling;if(A!==null){A.return=d.return,ae=A;break e}ae=d.return}}var _=e.current;for(ae=_;ae!==null;){v=ae;var I=v.child;if((v.subtreeFlags&2064)!==0&&I!==null)I.return=v,ae=I;else e:for(v=_;ae!==null;){if(E=ae,(E.flags&2048)!==0)try{switch(E.tag){case 0:case 11:case 15:Ca(9,E)}}catch(fe){qe(E,E.return,fe)}if(E===v){ae=null;break e}var Y=E.sibling;if(Y!==null){Y.return=E.return,ae=Y;break e}ae=E.return}}if(_e=u,yr(),bn&&typeof bn.onPostCommitFiberRoot=="function")try{bn.onPostCommitFiberRoot(Is,e)}catch{}a=!0}return a}finally{De=o,Kt.transition=t}}return!1}function Jp(e,t,o){t=Qo(o,t),t=yp(e,t,1),e=wr(e,t,1),t=St(),e!==null&&(Ti(e,1,t),Ot(e,t))}function qe(e,t,o){if(e.tag===3)Jp(e,e,o);else for(;t!==null;){if(t.tag===3){Jp(t,e,o);break}else if(t.tag===1){var a=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(Sr===null||!Sr.has(a))){e=Qo(o,e),e=gp(t,e,1),t=wr(t,e,1),e=St(),t!==null&&(Ti(t,1,e),Ot(t,e));break}}t=t.return}}function C0(e,t,o){var a=e.pingCache;a!==null&&a.delete(t),t=St(),e.pingedLanes|=e.suspendedLanes&o,it===e&&(ct&o)===o&&(nt===4||nt===3&&(ct&130023424)===ct&&500>Xe()-Wu?ro(e,0):$u|=o),Ot(e,t)}function eh(e,t){t===0&&((e.mode&1)===0?t=1:(t=Fs,Fs<<=1,(Fs&130023424)===0&&(Fs=4194304)));var o=St();e=Wn(e,t),e!==null&&(Ti(e,t,o),Ot(e,o))}function k0(e){var t=e.memoizedState,o=0;t!==null&&(o=t.retryLane),eh(e,o)}function E0(e,t){var o=0;switch(e.tag){case 13:var a=e.stateNode,u=e.memoizedState;u!==null&&(o=u.retryLane);break;case 19:a=e.stateNode;break;default:throw Error(i(314))}a!==null&&a.delete(t),eh(e,o)}var th;th=function(e,t,o){if(e!==null)if(e.memoizedProps!==t.pendingProps||bt.current)Mt=!0;else{if((e.lanes&o)===0&&(t.flags&128)===0)return Mt=!1,d0(e,t,o);Mt=(e.flags&131072)!==0}else Mt=!1,We&&(t.flags&1048576)!==0&&Af(t,ia,t.index);switch(t.lanes=0,t.tag){case 2:var a=t.type;xa(e,t),e=t.pendingProps;var u=zo(t,ft.current);Wo(t,o),u=Su(null,t,a,e,u,o);var d=Cu();return t.flags|=1,typeof u=="object"&&u!==null&&typeof u.render=="function"&&u.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Pt(a)?(d=!0,na(t)):d=!1,t.memoizedState=u.state!==null&&u.state!==void 0?u.state:null,hu(t),u.updater=ga,t.stateNode=u,u._reactInternals=t,Mu(t,a,e,o),t=_u(null,t,a,!0,d,o)):(t.tag=0,We&&d&&ou(t),xt(null,t,u,o),t=t.child),t;case 16:a=t.elementType;e:{switch(xa(e,t),e=t.pendingProps,u=a._init,a=u(a._payload),t.type=a,u=t.tag=b0(a),e=on(a,e),u){case 0:t=Nu(null,t,a,e,o);break e;case 1:t=Pp(null,t,a,e,o);break e;case 11:t=Cp(null,t,a,e,o);break e;case 14:t=kp(null,t,a,on(a.type,e),o);break e}throw Error(i(306,a,""))}return t;case 0:return a=t.type,u=t.pendingProps,u=t.elementType===a?u:on(a,u),Nu(e,t,a,u,o);case 1:return a=t.type,u=t.pendingProps,u=t.elementType===a?u:on(a,u),Pp(e,t,a,u,o);case 3:e:{if(Mp(t),e===null)throw Error(i(387));a=t.pendingProps,d=t.memoizedState,u=d.element,$f(e,t),da(t,a,null,o);var v=t.memoizedState;if(a=v.element,d.isDehydrated)if(d={element:a,isDehydrated:!1,cache:v.cache,pendingSuspenseBoundaries:v.pendingSuspenseBoundaries,transitions:v.transitions},t.updateQueue.baseState=d,t.memoizedState=d,t.flags&256){u=Qo(Error(i(423)),t),t=Tp(e,t,a,o,u);break e}else if(a!==u){u=Qo(Error(i(424)),t),t=Tp(e,t,a,o,u);break e}else for(Ft=hr(t.stateNode.containerInfo.firstChild),Dt=t,We=!0,rn=null,o=Uf(t,null,a,o),t.child=o;o;)o.flags=o.flags&-3|4096,o=o.sibling;else{if(Uo(),a===u){t=Qn(e,t,o);break e}xt(e,t,a,o)}t=t.child}return t;case 5:return Qf(t),e===null&&au(t),a=t.type,u=t.pendingProps,d=e!==null?e.memoizedProps:null,v=u.children,Zl(a,u)?v=null:d!==null&&Zl(a,d)&&(t.flags|=32),bp(e,t),xt(e,t,v,o),t.child;case 6:return e===null&&au(t),null;case 13:return Op(e,t,o);case 4:return mu(t,t.stateNode.containerInfo),a=t.pendingProps,e===null?t.child=Ho(t,null,a,o):xt(e,t,a,o),t.child;case 11:return a=t.type,u=t.pendingProps,u=t.elementType===a?u:on(a,u),Cp(e,t,a,u,o);case 7:return xt(e,t,t.pendingProps,o),t.child;case 8:return xt(e,t,t.pendingProps.children,o),t.child;case 12:return xt(e,t,t.pendingProps.children,o),t.child;case 10:e:{if(a=t.type._context,u=t.pendingProps,d=t.memoizedProps,v=u.value,ze(la,a._currentValue),a._currentValue=v,d!==null)if(nn(d.value,v)){if(d.children===u.children&&!bt.current){t=Qn(e,t,o);break e}}else for(d=t.child,d!==null&&(d.return=t);d!==null;){var E=d.dependencies;if(E!==null){v=d.child;for(var M=E.firstContext;M!==null;){if(M.context===a){if(d.tag===1){M=Vn(-1,o&-o),M.tag=2;var D=d.updateQueue;if(D!==null){D=D.shared;var W=D.pending;W===null?M.next=M:(M.next=W.next,W.next=M),D.pending=M}}d.lanes|=o,M=d.alternate,M!==null&&(M.lanes|=o),fu(d.return,o,t),E.lanes|=o;break}M=M.next}}else if(d.tag===10)v=d.type===t.type?null:d.child;else if(d.tag===18){if(v=d.return,v===null)throw Error(i(341));v.lanes|=o,E=v.alternate,E!==null&&(E.lanes|=o),fu(v,o,t),v=d.sibling}else v=d.child;if(v!==null)v.return=d;else for(v=d;v!==null;){if(v===t){v=null;break}if(d=v.sibling,d!==null){d.return=v.return,v=d;break}v=v.return}d=v}xt(e,t,u.children,o),t=t.child}return t;case 9:return u=t.type,a=t.pendingProps.children,Wo(t,o),u=Vt(u),a=a(u),t.flags|=1,xt(e,t,a,o),t.child;case 14:return a=t.type,u=on(a,t.pendingProps),u=on(a.type,u),kp(e,t,a,u,o);case 15:return Ep(e,t,t.type,t.pendingProps,o);case 17:return a=t.type,u=t.pendingProps,u=t.elementType===a?u:on(a,u),xa(e,t),t.tag=1,Pt(a)?(e=!0,na(t)):e=!1,Wo(t,o),mp(t,a,u),Mu(t,a,u,o),_u(null,t,a,!0,e,o);case 19:return _p(e,t,o);case 22:return Rp(e,t,o)}throw Error(i(156,t.tag))};function nh(e,t){return Ad(e,t)}function R0(e,t,o,a){this.tag=e,this.key=o,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,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 qt(e,t,o,a){return new R0(e,t,o,a)}function Zu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function b0(e){if(typeof e=="function")return Zu(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Z)return 11;if(e===xe)return 14}return 2}function Rr(e,t){var o=e.alternate;return o===null?(o=qt(e.tag,t,e.key,e.mode),o.elementType=e.elementType,o.type=e.type,o.stateNode=e.stateNode,o.alternate=e,e.alternate=o):(o.pendingProps=t,o.type=e.type,o.flags=0,o.subtreeFlags=0,o.deletions=null),o.flags=e.flags&14680064,o.childLanes=e.childLanes,o.lanes=e.lanes,o.child=e.child,o.memoizedProps=e.memoizedProps,o.memoizedState=e.memoizedState,o.updateQueue=e.updateQueue,t=e.dependencies,o.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},o.sibling=e.sibling,o.index=e.index,o.ref=e.ref,o}function Na(e,t,o,a,u,d){var v=2;if(a=e,typeof e=="function")Zu(e)&&(v=1);else if(typeof e=="string")v=5;else e:switch(e){case H:return io(o.children,u,d,t);case G:v=8,u|=8;break;case J:return e=qt(12,o,t,u|2),e.elementType=J,e.lanes=d,e;case ye:return e=qt(13,o,t,u),e.elementType=ye,e.lanes=d,e;case de:return e=qt(19,o,t,u),e.elementType=de,e.lanes=d,e;case se:return _a(o,u,d,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case te:v=10;break e;case he:v=9;break e;case Z:v=11;break e;case xe:v=14;break e;case ue:v=16,a=null;break e}throw Error(i(130,e==null?e:typeof e,""))}return t=qt(v,o,t,u),t.elementType=e,t.type=a,t.lanes=d,t}function io(e,t,o,a){return e=qt(7,e,a,t),e.lanes=o,e}function _a(e,t,o,a){return e=qt(22,e,a,t),e.elementType=se,e.lanes=o,e.stateNode={isHidden:!1},e}function Ju(e,t,o){return e=qt(6,e,null,t),e.lanes=o,e}function ec(e,t,o){return t=qt(4,e.children!==null?e.children:[],e.key,t),t.lanes=o,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function P0(e,t,o,a,u){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Pl(0),this.expirationTimes=Pl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Pl(0),this.identifierPrefix=a,this.onRecoverableError=u,this.mutableSourceEagerHydrationData=null}function tc(e,t,o,a,u,d,v,E,M){return e=new P0(e,t,o,E,M),t===1?(t=1,d===!0&&(t|=8)):t=0,d=qt(3,null,null,t),e.current=d,d.stateNode=e,d.memoizedState={element:a,isDehydrated:o,cache:null,transitions:null,pendingSuspenseBoundaries:null},hu(d),e}function M0(e,t,o){var a=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:U,key:a==null?null:""+a,children:e,containerInfo:t,implementation:o}}function rh(e){if(!e)return vr;e=e._reactInternals;e:{if(Kr(e)!==e||e.tag!==1)throw Error(i(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Pt(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(i(171))}if(e.tag===1){var o=e.type;if(Pt(o))return Nf(e,o,t)}return t}function oh(e,t,o,a,u,d,v,E,M){return e=tc(o,a,!0,e,u,d,v,E,M),e.context=rh(null),o=e.current,a=St(),u=kr(o),d=Vn(a,u),d.callback=t??null,wr(o,d,u),e.current.lanes=u,Ti(e,u,a),Ot(e,a),e}function La(e,t,o,a){var u=t.current,d=St(),v=kr(u);return o=rh(o),t.context===null?t.context=o:t.pendingContext=o,t=Vn(d,v),t.payload={element:e},a=a===void 0?null:a,a!==null&&(t.callback=a),e=wr(u,t,v),e!==null&&(ln(e,u,v,d),ca(e,u,v)),v}function Aa(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function ih(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var o=e.retryLane;e.retryLane=o!==0&&o<t?o:t}}function nc(e,t){ih(e,t),(e=e.alternate)&&ih(e,t)}function T0(){return null}var sh=typeof reportError=="function"?reportError:function(e){console.error(e)};function rc(e){this._internalRoot=e}Ia.prototype.render=rc.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(i(409));La(e,t,null,null)},Ia.prototype.unmount=rc.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;no(function(){La(null,e,null,null)}),t[Bn]=null}};function Ia(e){this._internalRoot=e}Ia.prototype.unstable_scheduleHydration=function(e){if(e){var t=Hd();e={blockedOn:null,target:e,priority:t};for(var o=0;o<dr.length&&t!==0&&t<dr[o].priority;o++);dr.splice(o,0,e),o===0&&Vd(e)}};function oc(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Da(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function ah(){}function O0(e,t,o,a,u){if(u){if(typeof a=="function"){var d=a;a=function(){var D=Aa(v);d.call(D)}}var v=oh(t,a,e,0,null,!1,!1,"",ah);return e._reactRootContainer=v,e[Bn]=v.current,$i(e.nodeType===8?e.parentNode:e),no(),v}for(;u=e.lastChild;)e.removeChild(u);if(typeof a=="function"){var E=a;a=function(){var D=Aa(M);E.call(D)}}var M=tc(e,0,!1,null,null,!1,!1,"",ah);return e._reactRootContainer=M,e[Bn]=M.current,$i(e.nodeType===8?e.parentNode:e),no(function(){La(t,M,o,a)}),M}function Fa(e,t,o,a,u){var d=o._reactRootContainer;if(d){var v=d;if(typeof u=="function"){var E=u;u=function(){var M=Aa(v);E.call(M)}}La(t,v,e,u)}else v=O0(o,t,e,u,a);return Aa(v)}Bd=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var o=Mi(t.pendingLanes);o!==0&&(Ml(t,o|1),Ot(t,Xe()),(_e&6)===0&&(Go=Xe()+500,yr()))}break;case 13:no(function(){var a=Wn(e,1);if(a!==null){var u=St();ln(a,e,1,u)}}),nc(e,1)}},Tl=function(e){if(e.tag===13){var t=Wn(e,134217728);if(t!==null){var o=St();ln(t,e,134217728,o)}nc(e,134217728)}},Ud=function(e){if(e.tag===13){var t=kr(e),o=Wn(e,t);if(o!==null){var a=St();ln(o,e,t,a)}nc(e,t)}},Hd=function(){return De},$d=function(e,t){var o=De;try{return De=e,t()}finally{De=o}},Mo=function(e,t,o){switch(t){case"input":if(Zt(e,o),t=o.name,o.type==="radio"&&t!=null){for(o=e;o.parentNode;)o=o.parentNode;for(o=o.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<o.length;t++){var a=o[t];if(a!==e&&a.form===e.form){var u=ea(a);if(!u)throw Error(i(90));Oe(a),Zt(a,u)}}}break;case"textarea":bs(e,o);break;case"select":t=o.value,t!=null&&Ht(e,!!o.multiple,t,!1)}},Ae=Gu,Fe=no;var N0={usingClientEntryPoint:!1,Events:[Qi,Do,ea,Ns,Ee,Gu]},ss={findFiberByHostInstance:qr,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},_0={bundleType:ss.bundleType,version:ss.version,rendererPackageName:ss.rendererPackageName,rendererConfig:ss.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:L.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=_d(e),e===null?null:e.stateNode},findFiberByHostInstance:ss.findFiberByHostInstance||T0,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var za=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!za.isDisabled&&za.supportsFiber)try{Is=za.inject(_0),bn=za}catch{}}return Nt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=N0,Nt.createPortal=function(e,t){var o=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!oc(t))throw Error(i(200));return M0(e,t,null,o)},Nt.createRoot=function(e,t){if(!oc(e))throw Error(i(299));var o=!1,a="",u=sh;return t!=null&&(t.unstable_strictMode===!0&&(o=!0),t.identifierPrefix!==void 0&&(a=t.identifierPrefix),t.onRecoverableError!==void 0&&(u=t.onRecoverableError)),t=tc(e,1,!1,null,null,o,!1,a,u),e[Bn]=t.current,$i(e.nodeType===8?e.parentNode:e),new rc(t)},Nt.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(i(188)):(e=Object.keys(e).join(","),Error(i(268,e)));return e=_d(t),e=e===null?null:e.stateNode,e},Nt.flushSync=function(e){return no(e)},Nt.hydrate=function(e,t,o){if(!Da(t))throw Error(i(200));return Fa(null,e,t,!0,o)},Nt.hydrateRoot=function(e,t,o){if(!oc(e))throw Error(i(405));var a=o!=null&&o.hydratedSources||null,u=!1,d="",v=sh;if(o!=null&&(o.unstable_strictMode===!0&&(u=!0),o.identifierPrefix!==void 0&&(d=o.identifierPrefix),o.onRecoverableError!==void 0&&(v=o.onRecoverableError)),t=oh(t,null,e,1,o??null,u,!1,d,v),e[Bn]=t.current,$i(e),a)for(e=0;e<a.length;e++)o=a[e],u=o._getVersion,u=u(o._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[o,u]:t.mutableSourceEagerHydrationData.push(o,u);return new Ia(t)},Nt.render=function(e,t,o){if(!Da(t))throw Error(i(200));return Fa(null,e,t,!1,o)},Nt.unmountComponentAtNode=function(e){if(!Da(e))throw Error(i(40));return e._reactRootContainer?(no(function(){Fa(null,null,e,!1,function(){e._reactRootContainer=null,e[Bn]=null})}),!0):!1},Nt.unstable_batchedUpdates=Gu,Nt.unstable_renderSubtreeIntoContainer=function(e,t,o,a){if(!Da(o))throw Error(i(200));if(e==null||e._reactInternals===void 0)throw Error(i(38));return Fa(e,t,o,!1,a)},Nt.version="18.3.1-next-f1338f8080-20240426",Nt}var vh;function Pm(){if(vh)return lc.exports;vh=1;function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(r){console.error(r)}}return n(),lc.exports=B0(),lc.exports}var yh;function U0(){if(yh)return Ba;yh=1;var n=Pm();return Ba.createRoot=n.createRoot,Ba.hydrateRoot=n.hydrateRoot,Ba}var Nk=U0();/**
|
|
41
41
|
* react-router v7.13.0
|
|
42
42
|
*
|
|
43
43
|
* Copyright (c) Remix Software Inc.
|
|
@@ -46,10 +46,10 @@ Error generating stack: `+d.message+`
|
|
|
46
46
|
* LICENSE.md file in the root directory of this source tree.
|
|
47
47
|
*
|
|
48
48
|
* @license MIT
|
|
49
|
-
*/var wh="popstate";function $0(n={}){function r(s,l){let{pathname:c,search:f,hash:p}=s.location;return Ec("",{pathname:c,search:f,hash:p},l.state&&l.state.usr||null,l.state&&l.state.key||"default")}function i(s,l){return typeof l=="string"?l:ps(l)}return V0(r,i,null,n)}function Ve(n,r){if(n===!1||n===null||typeof n>"u")throw new Error(r)}function pn(n,r){if(!n){typeof console<"u"&&console.warn(r);try{throw new Error(r)}catch{}}}function W0(){return Math.random().toString(36).substring(2,10)}function xh(n,r){return{usr:n.state,key:n.key,idx:r}}function Ec(n,r,i=null,s){return{pathname:typeof n=="string"?n:n.pathname,search:"",hash:"",...typeof r=="string"?yi(r):r,state:i,key:r&&r.key||s||W0()}}function ps({pathname:n="/",search:r="",hash:i=""}){return r&&r!=="?"&&(n+=r.charAt(0)==="?"?r:"?"+r),i&&i!=="#"&&(n+=i.charAt(0)==="#"?i:"#"+i),n}function yi(n){let r={};if(n){let i=n.indexOf("#");i>=0&&(r.hash=n.substring(i),n=n.substring(0,i));let s=n.indexOf("?");s>=0&&(r.search=n.substring(s),n=n.substring(0,s)),n&&(r.pathname=n)}return r}function V0(n,r,i,s={}){let{window:l=document.defaultView,v5Compat:c=!1}=s,f=l.history,p="POP",h=null,m=w();m==null&&(m=0,f.replaceState({...f.state,idx:m},""));function w(){return(f.state||{idx:null}).idx}function x(){p="POP";let C=w(),P=C==null?null:C-m;m=C,h&&h({action:p,location:S.location,delta:P})}function k(C,P){p="PUSH";let T=Ec(S.location,C,P);m=w()+1;let R=xh(T,m),L=S.createHref(T);try{f.pushState(R,"",L)}catch(z){if(z instanceof DOMException&&z.name==="DataCloneError")throw z;l.location.assign(L)}c&&h&&h({action:p,location:S.location,delta:1})}function g(C,P){p="REPLACE";let T=Ec(S.location,C,P);m=w();let R=xh(T,m),L=S.createHref(T);f.replaceState(R,"",L),c&&h&&h({action:p,location:S.location,delta:0})}function O(C){return Q0(C)}let S={get action(){return p},get location(){return n(l,f)},listen(C){if(h)throw new Error("A history only accepts one active listener");return l.addEventListener(wh,x),h=C,()=>{l.removeEventListener(wh,x),h=null}},createHref(C){return r(l,C)},createURL:O,encodeLocation(C){let P=O(C);return{pathname:P.pathname,search:P.search,hash:P.hash}},push:k,replace:g,go(C){return f.go(C)}};return S}function Q0(n,r=!1){let i="http://localhost";typeof window<"u"&&(i=window.location.origin!=="null"?window.location.origin:window.location.href),Ve(i,"No window.location.(origin|href) available to create URL");let s=typeof n=="string"?n:ps(n);return s=s.replace(/ $/,"%20"),!r&&s.startsWith("//")&&(s=i+s),new URL(s,i)}function Tm(n,r,i="/"){return K0(n,r,i,!1)}function K0(n,r,i,s){let l=typeof r=="string"?yi(r):r,c=nr(l.pathname||"/",i);if(c==null)return null;let f=Om(n);q0(f);let p=null;for(let h=0;p==null&&h<f.length;++h){let m=i1(c);p=r1(f[h],m,s)}return p}function Om(n,r=[],i=[],s="",l=!1){let c=(f,p,h=l,m)=>{let w={relativePath:m===void 0?f.path||"":m,caseSensitive:f.caseSensitive===!0,childrenIndex:p,route:f};if(w.relativePath.startsWith("/")){if(!w.relativePath.startsWith(s)&&h)return;Ve(w.relativePath.startsWith(s),`Absolute route path "${w.relativePath}" nested under path "${s}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),w.relativePath=w.relativePath.slice(s.length)}let x=er([s,w.relativePath]),k=i.concat(w);f.children&&f.children.length>0&&(Ve(f.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${x}".`),Om(f.children,r,k,x,h)),!(f.path==null&&!f.index)&&r.push({path:x,score:t1(x,f.index),routesMeta:k})};return n.forEach((f,p)=>{var h;if(f.path===""||!((h=f.path)!=null&&h.includes("?")))c(f,p);else for(let m of Nm(f.path))c(f,p,!0,m)}),r}function Nm(n){let r=n.split("/");if(r.length===0)return[];let[i,...s]=r,l=i.endsWith("?"),c=i.replace(/\?$/,"");if(s.length===0)return l?[c,""]:[c];let f=Nm(s.join("/")),p=[];return p.push(...f.map(h=>h===""?c:[c,h].join("/"))),l&&p.push(...f),p.map(h=>n.startsWith("/")&&h===""?"/":h)}function q0(n){n.sort((r,i)=>r.score!==i.score?i.score-r.score:n1(r.routesMeta.map(s=>s.childrenIndex),i.routesMeta.map(s=>s.childrenIndex)))}var G0=/^:[\w-]+$/,Y0=3,X0=2,Z0=1,J0=10,e1=-2,Sh=n=>n==="*";function t1(n,r){let i=n.split("/"),s=i.length;return i.some(Sh)&&(s+=e1),r&&(s+=X0),i.filter(l=>!Sh(l)).reduce((l,c)=>l+(G0.test(c)?Y0:c===""?Z0:J0),s)}function n1(n,r){return n.length===r.length&&n.slice(0,-1).every((s,l)=>s===r[l])?n[n.length-1]-r[r.length-1]:0}function r1(n,r,i=!1){let{routesMeta:s}=n,l={},c="/",f=[];for(let p=0;p<s.length;++p){let h=s[p],m=p===s.length-1,w=c==="/"?r:r.slice(c.length)||"/",x=nl({path:h.relativePath,caseSensitive:h.caseSensitive,end:m},w),k=h.route;if(!x&&m&&i&&!s[s.length-1].route.index&&(x=nl({path:h.relativePath,caseSensitive:h.caseSensitive,end:!1},w)),!x)return null;Object.assign(l,x.params),f.push({params:l,pathname:er([c,x.pathname]),pathnameBase:u1(er([c,x.pathnameBase])),route:k}),x.pathnameBase!=="/"&&(c=er([c,x.pathnameBase]))}return f}function nl(n,r){typeof n=="string"&&(n={path:n,caseSensitive:!1,end:!0});let[i,s]=o1(n.path,n.caseSensitive,n.end),l=r.match(i);if(!l)return null;let c=l[0],f=c.replace(/(.)\/+$/,"$1"),p=l.slice(1);return{params:s.reduce((m,{paramName:w,isOptional:x},k)=>{if(w==="*"){let O=p[k]||"";f=c.slice(0,c.length-O.length).replace(/(.)\/+$/,"$1")}const g=p[k];return x&&!g?m[w]=void 0:m[w]=(g||"").replace(/%2F/g,"/"),m},{}),pathname:c,pathnameBase:f,pattern:n}}function o1(n,r=!1,i=!0){pn(n==="*"||!n.endsWith("*")||n.endsWith("/*"),`Route path "${n}" will be treated as if it were "${n.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${n.replace(/\*$/,"/*")}".`);let s=[],l="^"+n.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(f,p,h)=>(s.push({paramName:p,isOptional:h!=null}),h?"/?([^\\/]+)?":"/([^\\/]+)")).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return n.endsWith("*")?(s.push({paramName:"*"}),l+=n==="*"||n==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):i?l+="\\/*$":n!==""&&n!=="/"&&(l+="(?:(?=\\/|$))"),[new RegExp(l,r?void 0:"i"),s]}function i1(n){try{return n.split("/").map(r=>decodeURIComponent(r).replace(/\//g,"%2F")).join("/")}catch(r){return pn(!1,`The URL path "${n}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${r}).`),n}}function nr(n,r){if(r==="/")return n;if(!n.toLowerCase().startsWith(r.toLowerCase()))return null;let i=r.endsWith("/")?r.length-1:r.length,s=n.charAt(i);return s&&s!=="/"?null:n.slice(i)||"/"}var s1=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function a1(n,r="/"){let{pathname:i,search:s="",hash:l=""}=typeof n=="string"?yi(n):n,c;return i?(i=i.replace(/\/\/+/g,"/"),i.startsWith("/")?c=Ch(i.substring(1),"/"):c=Ch(i,r)):c=r,{pathname:c,search:c1(s),hash:d1(l)}}function Ch(n,r){let i=r.replace(/\/+$/,"").split("/");return n.split("/").forEach(l=>{l===".."?i.length>1&&i.pop():l!=="."&&i.push(l)}),i.length>1?i.join("/"):"/"}function dc(n,r,i,s){return`Cannot include a '${n}' character in a manually specified \`to.${r}\` field [${JSON.stringify(s)}]. Please separate it out to the \`to.${i}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function l1(n){return n.filter((r,i)=>i===0||r.route.path&&r.route.path.length>0)}function nd(n){let r=l1(n);return r.map((i,s)=>s===r.length-1?i.pathname:i.pathnameBase)}function rd(n,r,i,s=!1){let l;typeof n=="string"?l=yi(n):(l={...n},Ve(!l.pathname||!l.pathname.includes("?"),dc("?","pathname","search",l)),Ve(!l.pathname||!l.pathname.includes("#"),dc("#","pathname","hash",l)),Ve(!l.search||!l.search.includes("#"),dc("#","search","hash",l)));let c=n===""||l.pathname==="",f=c?"/":l.pathname,p;if(f==null)p=i;else{let x=r.length-1;if(!s&&f.startsWith("..")){let k=f.split("/");for(;k[0]==="..";)k.shift(),x-=1;l.pathname=k.join("/")}p=x>=0?r[x]:"/"}let h=a1(l,p),m=f&&f!=="/"&&f.endsWith("/"),w=(c||f===".")&&i.endsWith("/");return!h.pathname.endsWith("/")&&(m||w)&&(h.pathname+="/"),h}var er=n=>n.join("/").replace(/\/\/+/g,"/"),u1=n=>n.replace(/\/+$/,"").replace(/^\/*/,"/"),c1=n=>!n||n==="?"?"":n.startsWith("?")?n:"?"+n,d1=n=>!n||n==="#"?"":n.startsWith("#")?n:"#"+n,f1=class{constructor(n,r,i,s=!1){this.status=n,this.statusText=r||"",this.internal=s,i instanceof Error?(this.data=i.toString(),this.error=i):this.data=i}};function p1(n){return n!=null&&typeof n.status=="number"&&typeof n.statusText=="string"&&typeof n.internal=="boolean"&&"data"in n}function h1(n){return n.map(r=>r.route.path).filter(Boolean).join("/").replace(/\/\/*/g,"/")||"/"}var _m=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function Lm(n,r){let i=n;if(typeof i!="string"||!s1.test(i))return{absoluteURL:void 0,isExternal:!1,to:i};let s=i,l=!1;if(_m)try{let c=new URL(window.location.href),f=i.startsWith("//")?new URL(c.protocol+i):new URL(i),p=nr(f.pathname,r);f.origin===c.origin&&p!=null?i=p+f.search+f.hash:l=!0}catch{pn(!1,`<Link to="${i}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:s,isExternal:l,to:i}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var Am=["POST","PUT","PATCH","DELETE"];new Set(Am);var m1=["GET",...Am];new Set(m1);var gi=y.createContext(null);gi.displayName="DataRouter";var dl=y.createContext(null);dl.displayName="DataRouterState";var v1=y.createContext(!1),Im=y.createContext({isTransitioning:!1});Im.displayName="ViewTransition";var y1=y.createContext(new Map);y1.displayName="Fetchers";var g1=y.createContext(null);g1.displayName="Await";var Ut=y.createContext(null);Ut.displayName="Navigation";var Cs=y.createContext(null);Cs.displayName="Location";var vn=y.createContext({outlet:null,matches:[],isDataRoute:!1});vn.displayName="Route";var od=y.createContext(null);od.displayName="RouteError";var Dm="REACT_ROUTER_ERROR",w1="REDIRECT",x1="ROUTE_ERROR_RESPONSE";function S1(n){if(n.startsWith(`${Dm}:${w1}:{`))try{let r=JSON.parse(n.slice(28));if(typeof r=="object"&&r&&typeof r.status=="number"&&typeof r.statusText=="string"&&typeof r.location=="string"&&typeof r.reloadDocument=="boolean"&&typeof r.replace=="boolean")return r}catch{}}function C1(n){if(n.startsWith(`${Dm}:${x1}:{`))try{let r=JSON.parse(n.slice(40));if(typeof r=="object"&&r&&typeof r.status=="number"&&typeof r.statusText=="string")return new f1(r.status,r.statusText,r.data)}catch{}}function k1(n,{relative:r}={}){Ve(wi(),"useHref() may be used only in the context of a <Router> component.");let{basename:i,navigator:s}=y.useContext(Ut),{hash:l,pathname:c,search:f}=ks(n,{relative:r}),p=c;return i!=="/"&&(p=c==="/"?i:er([i,c])),s.createHref({pathname:p,search:f,hash:l})}function wi(){return y.useContext(Cs)!=null}function $r(){return Ve(wi(),"useLocation() may be used only in the context of a <Router> component."),y.useContext(Cs).location}var Fm="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function zm(n){y.useContext(Ut).static||y.useLayoutEffect(n)}function jm(){let{isDataRoute:n}=y.useContext(vn);return n?D1():E1()}function E1(){Ve(wi(),"useNavigate() may be used only in the context of a <Router> component.");let n=y.useContext(gi),{basename:r,navigator:i}=y.useContext(Ut),{matches:s}=y.useContext(vn),{pathname:l}=$r(),c=JSON.stringify(nd(s)),f=y.useRef(!1);return zm(()=>{f.current=!0}),y.useCallback((h,m={})=>{if(pn(f.current,Fm),!f.current)return;if(typeof h=="number"){i.go(h);return}let w=rd(h,JSON.parse(c),l,m.relative==="path");n==null&&r!=="/"&&(w.pathname=w.pathname==="/"?r:er([r,w.pathname])),(m.replace?i.replace:i.push)(w,m.state,m)},[r,i,c,l,n])}y.createContext(null);function Lk(){let{matches:n}=y.useContext(vn),r=n[n.length-1];return r?r.params:{}}function ks(n,{relative:r}={}){let{matches:i}=y.useContext(vn),{pathname:s}=$r(),l=JSON.stringify(nd(i));return y.useMemo(()=>rd(n,JSON.parse(l),s,r==="path"),[n,l,s,r])}function b1(n,r){return Bm(n,r)}function Bm(n,r,i,s,l){var T;Ve(wi(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:c}=y.useContext(Ut),{matches:f}=y.useContext(vn),p=f[f.length-1],h=p?p.params:{},m=p?p.pathname:"/",w=p?p.pathnameBase:"/",x=p&&p.route;{let R=x&&x.path||"";Hm(m,!x||R.endsWith("*")||R.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${m}" (under <Route path="${R}">) 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.
|
|
49
|
+
*/var gh="popstate";function H0(n={}){function r(s,l){let{pathname:c,search:f,hash:p}=s.location;return Ec("",{pathname:c,search:f,hash:p},l.state&&l.state.usr||null,l.state&&l.state.key||"default")}function i(s,l){return typeof l=="string"?l:ps(l)}return W0(r,i,null,n)}function Ve(n,r){if(n===!1||n===null||typeof n>"u")throw new Error(r)}function pn(n,r){if(!n){typeof console<"u"&&console.warn(r);try{throw new Error(r)}catch{}}}function $0(){return Math.random().toString(36).substring(2,10)}function wh(n,r){return{usr:n.state,key:n.key,idx:r}}function Ec(n,r,i=null,s){return{pathname:typeof n=="string"?n:n.pathname,search:"",hash:"",...typeof r=="string"?yi(r):r,state:i,key:r&&r.key||s||$0()}}function ps({pathname:n="/",search:r="",hash:i=""}){return r&&r!=="?"&&(n+=r.charAt(0)==="?"?r:"?"+r),i&&i!=="#"&&(n+=i.charAt(0)==="#"?i:"#"+i),n}function yi(n){let r={};if(n){let i=n.indexOf("#");i>=0&&(r.hash=n.substring(i),n=n.substring(0,i));let s=n.indexOf("?");s>=0&&(r.search=n.substring(s),n=n.substring(0,s)),n&&(r.pathname=n)}return r}function W0(n,r,i,s={}){let{window:l=document.defaultView,v5Compat:c=!1}=s,f=l.history,p="POP",h=null,m=w();m==null&&(m=0,f.replaceState({...f.state,idx:m},""));function w(){return(f.state||{idx:null}).idx}function x(){p="POP";let C=w(),P=C==null?null:C-m;m=C,h&&h({action:p,location:S.location,delta:P})}function k(C,P){p="PUSH";let T=Ec(S.location,C,P);m=w()+1;let b=wh(T,m),L=S.createHref(T);try{f.pushState(b,"",L)}catch(z){if(z instanceof DOMException&&z.name==="DataCloneError")throw z;l.location.assign(L)}c&&h&&h({action:p,location:S.location,delta:1})}function g(C,P){p="REPLACE";let T=Ec(S.location,C,P);m=w();let b=wh(T,m),L=S.createHref(T);f.replaceState(b,"",L),c&&h&&h({action:p,location:S.location,delta:0})}function O(C){return V0(C)}let S={get action(){return p},get location(){return n(l,f)},listen(C){if(h)throw new Error("A history only accepts one active listener");return l.addEventListener(gh,x),h=C,()=>{l.removeEventListener(gh,x),h=null}},createHref(C){return r(l,C)},createURL:O,encodeLocation(C){let P=O(C);return{pathname:P.pathname,search:P.search,hash:P.hash}},push:k,replace:g,go(C){return f.go(C)}};return S}function V0(n,r=!1){let i="http://localhost";typeof window<"u"&&(i=window.location.origin!=="null"?window.location.origin:window.location.href),Ve(i,"No window.location.(origin|href) available to create URL");let s=typeof n=="string"?n:ps(n);return s=s.replace(/ $/,"%20"),!r&&s.startsWith("//")&&(s=i+s),new URL(s,i)}function Mm(n,r,i="/"){return Q0(n,r,i,!1)}function Q0(n,r,i,s){let l=typeof r=="string"?yi(r):r,c=nr(l.pathname||"/",i);if(c==null)return null;let f=Tm(n);K0(f);let p=null;for(let h=0;p==null&&h<f.length;++h){let m=o1(c);p=n1(f[h],m,s)}return p}function Tm(n,r=[],i=[],s="",l=!1){let c=(f,p,h=l,m)=>{let w={relativePath:m===void 0?f.path||"":m,caseSensitive:f.caseSensitive===!0,childrenIndex:p,route:f};if(w.relativePath.startsWith("/")){if(!w.relativePath.startsWith(s)&&h)return;Ve(w.relativePath.startsWith(s),`Absolute route path "${w.relativePath}" nested under path "${s}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),w.relativePath=w.relativePath.slice(s.length)}let x=er([s,w.relativePath]),k=i.concat(w);f.children&&f.children.length>0&&(Ve(f.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${x}".`),Tm(f.children,r,k,x,h)),!(f.path==null&&!f.index)&&r.push({path:x,score:e1(x,f.index),routesMeta:k})};return n.forEach((f,p)=>{var h;if(f.path===""||!((h=f.path)!=null&&h.includes("?")))c(f,p);else for(let m of Om(f.path))c(f,p,!0,m)}),r}function Om(n){let r=n.split("/");if(r.length===0)return[];let[i,...s]=r,l=i.endsWith("?"),c=i.replace(/\?$/,"");if(s.length===0)return l?[c,""]:[c];let f=Om(s.join("/")),p=[];return p.push(...f.map(h=>h===""?c:[c,h].join("/"))),l&&p.push(...f),p.map(h=>n.startsWith("/")&&h===""?"/":h)}function K0(n){n.sort((r,i)=>r.score!==i.score?i.score-r.score:t1(r.routesMeta.map(s=>s.childrenIndex),i.routesMeta.map(s=>s.childrenIndex)))}var q0=/^:[\w-]+$/,G0=3,Y0=2,X0=1,Z0=10,J0=-2,xh=n=>n==="*";function e1(n,r){let i=n.split("/"),s=i.length;return i.some(xh)&&(s+=J0),r&&(s+=Y0),i.filter(l=>!xh(l)).reduce((l,c)=>l+(q0.test(c)?G0:c===""?X0:Z0),s)}function t1(n,r){return n.length===r.length&&n.slice(0,-1).every((s,l)=>s===r[l])?n[n.length-1]-r[r.length-1]:0}function n1(n,r,i=!1){let{routesMeta:s}=n,l={},c="/",f=[];for(let p=0;p<s.length;++p){let h=s[p],m=p===s.length-1,w=c==="/"?r:r.slice(c.length)||"/",x=nl({path:h.relativePath,caseSensitive:h.caseSensitive,end:m},w),k=h.route;if(!x&&m&&i&&!s[s.length-1].route.index&&(x=nl({path:h.relativePath,caseSensitive:h.caseSensitive,end:!1},w)),!x)return null;Object.assign(l,x.params),f.push({params:l,pathname:er([c,x.pathname]),pathnameBase:l1(er([c,x.pathnameBase])),route:k}),x.pathnameBase!=="/"&&(c=er([c,x.pathnameBase]))}return f}function nl(n,r){typeof n=="string"&&(n={path:n,caseSensitive:!1,end:!0});let[i,s]=r1(n.path,n.caseSensitive,n.end),l=r.match(i);if(!l)return null;let c=l[0],f=c.replace(/(.)\/+$/,"$1"),p=l.slice(1);return{params:s.reduce((m,{paramName:w,isOptional:x},k)=>{if(w==="*"){let O=p[k]||"";f=c.slice(0,c.length-O.length).replace(/(.)\/+$/,"$1")}const g=p[k];return x&&!g?m[w]=void 0:m[w]=(g||"").replace(/%2F/g,"/"),m},{}),pathname:c,pathnameBase:f,pattern:n}}function r1(n,r=!1,i=!0){pn(n==="*"||!n.endsWith("*")||n.endsWith("/*"),`Route path "${n}" will be treated as if it were "${n.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${n.replace(/\*$/,"/*")}".`);let s=[],l="^"+n.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(f,p,h)=>(s.push({paramName:p,isOptional:h!=null}),h?"/?([^\\/]+)?":"/([^\\/]+)")).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return n.endsWith("*")?(s.push({paramName:"*"}),l+=n==="*"||n==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):i?l+="\\/*$":n!==""&&n!=="/"&&(l+="(?:(?=\\/|$))"),[new RegExp(l,r?void 0:"i"),s]}function o1(n){try{return n.split("/").map(r=>decodeURIComponent(r).replace(/\//g,"%2F")).join("/")}catch(r){return pn(!1,`The URL path "${n}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${r}).`),n}}function nr(n,r){if(r==="/")return n;if(!n.toLowerCase().startsWith(r.toLowerCase()))return null;let i=r.endsWith("/")?r.length-1:r.length,s=n.charAt(i);return s&&s!=="/"?null:n.slice(i)||"/"}var i1=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function s1(n,r="/"){let{pathname:i,search:s="",hash:l=""}=typeof n=="string"?yi(n):n,c;return i?(i=i.replace(/\/\/+/g,"/"),i.startsWith("/")?c=Sh(i.substring(1),"/"):c=Sh(i,r)):c=r,{pathname:c,search:u1(s),hash:c1(l)}}function Sh(n,r){let i=r.replace(/\/+$/,"").split("/");return n.split("/").forEach(l=>{l===".."?i.length>1&&i.pop():l!=="."&&i.push(l)}),i.length>1?i.join("/"):"/"}function dc(n,r,i,s){return`Cannot include a '${n}' character in a manually specified \`to.${r}\` field [${JSON.stringify(s)}]. Please separate it out to the \`to.${i}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function a1(n){return n.filter((r,i)=>i===0||r.route.path&&r.route.path.length>0)}function td(n){let r=a1(n);return r.map((i,s)=>s===r.length-1?i.pathname:i.pathnameBase)}function nd(n,r,i,s=!1){let l;typeof n=="string"?l=yi(n):(l={...n},Ve(!l.pathname||!l.pathname.includes("?"),dc("?","pathname","search",l)),Ve(!l.pathname||!l.pathname.includes("#"),dc("#","pathname","hash",l)),Ve(!l.search||!l.search.includes("#"),dc("#","search","hash",l)));let c=n===""||l.pathname==="",f=c?"/":l.pathname,p;if(f==null)p=i;else{let x=r.length-1;if(!s&&f.startsWith("..")){let k=f.split("/");for(;k[0]==="..";)k.shift(),x-=1;l.pathname=k.join("/")}p=x>=0?r[x]:"/"}let h=s1(l,p),m=f&&f!=="/"&&f.endsWith("/"),w=(c||f===".")&&i.endsWith("/");return!h.pathname.endsWith("/")&&(m||w)&&(h.pathname+="/"),h}var er=n=>n.join("/").replace(/\/\/+/g,"/"),l1=n=>n.replace(/\/+$/,"").replace(/^\/*/,"/"),u1=n=>!n||n==="?"?"":n.startsWith("?")?n:"?"+n,c1=n=>!n||n==="#"?"":n.startsWith("#")?n:"#"+n,d1=class{constructor(n,r,i,s=!1){this.status=n,this.statusText=r||"",this.internal=s,i instanceof Error?(this.data=i.toString(),this.error=i):this.data=i}};function f1(n){return n!=null&&typeof n.status=="number"&&typeof n.statusText=="string"&&typeof n.internal=="boolean"&&"data"in n}function p1(n){return n.map(r=>r.route.path).filter(Boolean).join("/").replace(/\/\/*/g,"/")||"/"}var Nm=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function _m(n,r){let i=n;if(typeof i!="string"||!i1.test(i))return{absoluteURL:void 0,isExternal:!1,to:i};let s=i,l=!1;if(Nm)try{let c=new URL(window.location.href),f=i.startsWith("//")?new URL(c.protocol+i):new URL(i),p=nr(f.pathname,r);f.origin===c.origin&&p!=null?i=p+f.search+f.hash:l=!0}catch{pn(!1,`<Link to="${i}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:s,isExternal:l,to:i}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var Lm=["POST","PUT","PATCH","DELETE"];new Set(Lm);var h1=["GET",...Lm];new Set(h1);var gi=y.createContext(null);gi.displayName="DataRouter";var dl=y.createContext(null);dl.displayName="DataRouterState";var m1=y.createContext(!1),Am=y.createContext({isTransitioning:!1});Am.displayName="ViewTransition";var v1=y.createContext(new Map);v1.displayName="Fetchers";var y1=y.createContext(null);y1.displayName="Await";var Ut=y.createContext(null);Ut.displayName="Navigation";var Cs=y.createContext(null);Cs.displayName="Location";var vn=y.createContext({outlet:null,matches:[],isDataRoute:!1});vn.displayName="Route";var rd=y.createContext(null);rd.displayName="RouteError";var Im="REACT_ROUTER_ERROR",g1="REDIRECT",w1="ROUTE_ERROR_RESPONSE";function x1(n){if(n.startsWith(`${Im}:${g1}:{`))try{let r=JSON.parse(n.slice(28));if(typeof r=="object"&&r&&typeof r.status=="number"&&typeof r.statusText=="string"&&typeof r.location=="string"&&typeof r.reloadDocument=="boolean"&&typeof r.replace=="boolean")return r}catch{}}function S1(n){if(n.startsWith(`${Im}:${w1}:{`))try{let r=JSON.parse(n.slice(40));if(typeof r=="object"&&r&&typeof r.status=="number"&&typeof r.statusText=="string")return new d1(r.status,r.statusText,r.data)}catch{}}function C1(n,{relative:r}={}){Ve(wi(),"useHref() may be used only in the context of a <Router> component.");let{basename:i,navigator:s}=y.useContext(Ut),{hash:l,pathname:c,search:f}=ks(n,{relative:r}),p=c;return i!=="/"&&(p=c==="/"?i:er([i,c])),s.createHref({pathname:p,search:f,hash:l})}function wi(){return y.useContext(Cs)!=null}function $r(){return Ve(wi(),"useLocation() may be used only in the context of a <Router> component."),y.useContext(Cs).location}var Dm="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function Fm(n){y.useContext(Ut).static||y.useLayoutEffect(n)}function zm(){let{isDataRoute:n}=y.useContext(vn);return n?I1():k1()}function k1(){Ve(wi(),"useNavigate() may be used only in the context of a <Router> component.");let n=y.useContext(gi),{basename:r,navigator:i}=y.useContext(Ut),{matches:s}=y.useContext(vn),{pathname:l}=$r(),c=JSON.stringify(td(s)),f=y.useRef(!1);return Fm(()=>{f.current=!0}),y.useCallback((h,m={})=>{if(pn(f.current,Dm),!f.current)return;if(typeof h=="number"){i.go(h);return}let w=nd(h,JSON.parse(c),l,m.relative==="path");n==null&&r!=="/"&&(w.pathname=w.pathname==="/"?r:er([r,w.pathname])),(m.replace?i.replace:i.push)(w,m.state,m)},[r,i,c,l,n])}y.createContext(null);function _k(){let{matches:n}=y.useContext(vn),r=n[n.length-1];return r?r.params:{}}function ks(n,{relative:r}={}){let{matches:i}=y.useContext(vn),{pathname:s}=$r(),l=JSON.stringify(td(i));return y.useMemo(()=>nd(n,JSON.parse(l),s,r==="path"),[n,l,s,r])}function E1(n,r){return jm(n,r)}function jm(n,r,i,s,l){var T;Ve(wi(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:c}=y.useContext(Ut),{matches:f}=y.useContext(vn),p=f[f.length-1],h=p?p.params:{},m=p?p.pathname:"/",w=p?p.pathnameBase:"/",x=p&&p.route;{let b=x&&x.path||"";Um(m,!x||b.endsWith("*")||b.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${m}" (under <Route path="${b}">) 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.
|
|
50
50
|
|
|
51
|
-
Please change the parent <Route path="${R}"> to <Route path="${R==="/"?"*":`${R}/*`}">.`)}let k=$r(),g;if(r){let R=typeof r=="string"?yi(r):r;Ve(w==="/"||((T=R.pathname)==null?void 0:T.startsWith(w)),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${w}" but pathname "${R.pathname}" was given in the \`location\` prop.`),g=R}else g=k;let O=g.pathname||"/",S=O;if(w!=="/"){let R=w.replace(/^\//,"").split("/");S="/"+O.replace(/^\//,"").split("/").slice(R.length).join("/")}let C=Tm(n,{pathname:S});pn(x||C!=null,`No routes matched location "${g.pathname}${g.search}${g.hash}" `),pn(C==null||C[C.length-1].route.element!==void 0||C[C.length-1].route.Component!==void 0||C[C.length-1].route.lazy!==void 0,`Matched leaf route at location "${g.pathname}${g.search}${g.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.`);let P=O1(C&&C.map(R=>Object.assign({},R,{params:Object.assign({},h,R.params),pathname:er([w,c.encodeLocation?c.encodeLocation(R.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:R.pathname]),pathnameBase:R.pathnameBase==="/"?w:er([w,c.encodeLocation?c.encodeLocation(R.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:R.pathnameBase])})),f,i,s,l);return r&&P?y.createElement(Cs.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...g},navigationType:"POP"}},P):P}function R1(){let n=I1(),r=p1(n)?`${n.status} ${n.statusText}`:n instanceof Error?n.message:JSON.stringify(n),i=n instanceof Error?n.stack:null,s="rgba(200,200,200, 0.5)",l={padding:"0.5rem",backgroundColor:s},c={padding:"2px 4px",backgroundColor:s},f=null;return console.error("Error handled by React Router default ErrorBoundary:",n),f=y.createElement(y.Fragment,null,y.createElement("p",null,"💿 Hey developer 👋"),y.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",y.createElement("code",{style:c},"ErrorBoundary")," or"," ",y.createElement("code",{style:c},"errorElement")," prop on your route.")),y.createElement(y.Fragment,null,y.createElement("h2",null,"Unexpected Application Error!"),y.createElement("h3",{style:{fontStyle:"italic"}},r),i?y.createElement("pre",{style:l},i):null,f)}var P1=y.createElement(R1,null),Um=class extends y.Component{constructor(n){super(n),this.state={location:n.location,revalidation:n.revalidation,error:n.error}}static getDerivedStateFromError(n){return{error:n}}static getDerivedStateFromProps(n,r){return r.location!==n.location||r.revalidation!=="idle"&&n.revalidation==="idle"?{error:n.error,location:n.location,revalidation:n.revalidation}:{error:n.error!==void 0?n.error:r.error,location:r.location,revalidation:n.revalidation||r.revalidation}}componentDidCatch(n,r){this.props.onError?this.props.onError(n,r):console.error("React Router caught the following error during render",n)}render(){let n=this.state.error;if(this.context&&typeof n=="object"&&n&&"digest"in n&&typeof n.digest=="string"){const i=C1(n.digest);i&&(n=i)}let r=n!==void 0?y.createElement(vn.Provider,{value:this.props.routeContext},y.createElement(od.Provider,{value:n,children:this.props.component})):this.props.children;return this.context?y.createElement(M1,{error:n},r):r}};Um.contextType=v1;var fc=new WeakMap;function M1({children:n,error:r}){let{basename:i}=y.useContext(Ut);if(typeof r=="object"&&r&&"digest"in r&&typeof r.digest=="string"){let s=S1(r.digest);if(s){let l=fc.get(r);if(l)throw l;let c=Lm(s.location,i);if(_m&&!fc.get(r))if(c.isExternal||s.reloadDocument)window.location.href=c.absoluteURL||c.to;else{const f=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(c.to,{replace:s.replace}));throw fc.set(r,f),f}return y.createElement("meta",{httpEquiv:"refresh",content:`0;url=${c.absoluteURL||c.to}`})}}return n}function T1({routeContext:n,match:r,children:i}){let s=y.useContext(gi);return s&&s.static&&s.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(s.staticContext._deepestRenderedBoundaryId=r.route.id),y.createElement(vn.Provider,{value:n},i)}function O1(n,r=[],i=null,s=null,l=null){if(n==null){if(!i)return null;if(i.errors)n=i.matches;else if(r.length===0&&!i.initialized&&i.matches.length>0)n=i.matches;else return null}let c=n,f=i==null?void 0:i.errors;if(f!=null){let w=c.findIndex(x=>x.route.id&&(f==null?void 0:f[x.route.id])!==void 0);Ve(w>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(f).join(",")}`),c=c.slice(0,Math.min(c.length,w+1))}let p=!1,h=-1;if(i)for(let w=0;w<c.length;w++){let x=c[w];if((x.route.HydrateFallback||x.route.hydrateFallbackElement)&&(h=w),x.route.id){let{loaderData:k,errors:g}=i,O=x.route.loader&&!k.hasOwnProperty(x.route.id)&&(!g||g[x.route.id]===void 0);if(x.route.lazy||O){p=!0,h>=0?c=c.slice(0,h+1):c=[c[0]];break}}}let m=i&&s?(w,x)=>{var k,g;s(w,{location:i.location,params:((g=(k=i.matches)==null?void 0:k[0])==null?void 0:g.params)??{},unstable_pattern:h1(i.matches),errorInfo:x})}:void 0;return c.reduceRight((w,x,k)=>{let g,O=!1,S=null,C=null;i&&(g=f&&x.route.id?f[x.route.id]:void 0,S=x.route.errorElement||P1,p&&(h<0&&k===0?(Hm("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),O=!0,C=null):h===k&&(O=!0,C=x.route.hydrateFallbackElement||null)));let P=r.concat(c.slice(0,k+1)),T=()=>{let R;return g?R=S:O?R=C:x.route.Component?R=y.createElement(x.route.Component,null):x.route.element?R=x.route.element:R=w,y.createElement(T1,{match:x,routeContext:{outlet:w,matches:P,isDataRoute:i!=null},children:R})};return i&&(x.route.ErrorBoundary||x.route.errorElement||k===0)?y.createElement(Um,{location:i.location,revalidation:i.revalidation,component:S,error:g,children:T(),routeContext:{outlet:null,matches:P,isDataRoute:!0},onError:m}):T()},null)}function id(n){return`${n} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function N1(n){let r=y.useContext(gi);return Ve(r,id(n)),r}function _1(n){let r=y.useContext(dl);return Ve(r,id(n)),r}function L1(n){let r=y.useContext(vn);return Ve(r,id(n)),r}function sd(n){let r=L1(n),i=r.matches[r.matches.length-1];return Ve(i.route.id,`${n} can only be used on routes that contain a unique "id"`),i.route.id}function A1(){return sd("useRouteId")}function I1(){var s;let n=y.useContext(od),r=_1("useRouteError"),i=sd("useRouteError");return n!==void 0?n:(s=r.errors)==null?void 0:s[i]}function D1(){let{router:n}=N1("useNavigate"),r=sd("useNavigate"),i=y.useRef(!1);return zm(()=>{i.current=!0}),y.useCallback(async(l,c={})=>{pn(i.current,Fm),i.current&&(typeof l=="number"?await n.navigate(l):await n.navigate(l,{fromRouteId:r,...c}))},[n,r])}var kh={};function Hm(n,r,i){!r&&!kh[n]&&(kh[n]=!0,pn(!1,i))}y.memo(F1);function F1({routes:n,future:r,state:i,onError:s}){return Bm(n,void 0,i,s,r)}function Ak({to:n,replace:r,state:i,relative:s}){Ve(wi(),"<Navigate> may be used only in the context of a <Router> component.");let{static:l}=y.useContext(Ut);pn(!l,"<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:c}=y.useContext(vn),{pathname:f}=$r(),p=jm(),h=rd(n,nd(c),f,s==="path"),m=JSON.stringify(h);return y.useEffect(()=>{p(JSON.parse(m),{replace:r,state:i,relative:s})},[p,m,s,r,i]),null}function z1(n){Ve(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function j1({basename:n="/",children:r=null,location:i,navigationType:s="POP",navigator:l,static:c=!1,unstable_useTransitions:f}){Ve(!wi(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let p=n.replace(/^\/*/,"/"),h=y.useMemo(()=>({basename:p,navigator:l,static:c,unstable_useTransitions:f,future:{}}),[p,l,c,f]);typeof i=="string"&&(i=yi(i));let{pathname:m="/",search:w="",hash:x="",state:k=null,key:g="default"}=i,O=y.useMemo(()=>{let S=nr(m,p);return S==null?null:{location:{pathname:S,search:w,hash:x,state:k,key:g},navigationType:s}},[p,m,w,x,k,g,s]);return pn(O!=null,`<Router basename="${p}"> is not able to match the URL "${m}${w}${x}" because it does not start with the basename, so the <Router> won't render anything.`),O==null?null:y.createElement(Ut.Provider,{value:h},y.createElement(Cs.Provider,{children:r,value:O}))}function Ik({children:n,location:r}){return b1(bc(n),r)}function bc(n,r=[]){let i=[];return y.Children.forEach(n,(s,l)=>{if(!y.isValidElement(s))return;let c=[...r,l];if(s.type===y.Fragment){i.push.apply(i,bc(s.props.children,c));return}Ve(s.type===z1,`[${typeof s.type=="string"?s.type:s.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),Ve(!s.props.index||!s.props.children,"An index route cannot have child routes.");let f={id:s.props.id||c.join("-"),caseSensitive:s.props.caseSensitive,element:s.props.element,Component:s.props.Component,index:s.props.index,path:s.props.path,middleware:s.props.middleware,loader:s.props.loader,action:s.props.action,hydrateFallbackElement:s.props.hydrateFallbackElement,HydrateFallback:s.props.HydrateFallback,errorElement:s.props.errorElement,ErrorBoundary:s.props.ErrorBoundary,hasErrorBoundary:s.props.hasErrorBoundary===!0||s.props.ErrorBoundary!=null||s.props.errorElement!=null,shouldRevalidate:s.props.shouldRevalidate,handle:s.props.handle,lazy:s.props.lazy};s.props.children&&(f.children=bc(s.props.children,c)),i.push(f)}),i}var Ya="get",Xa="application/x-www-form-urlencoded";function fl(n){return typeof HTMLElement<"u"&&n instanceof HTMLElement}function B1(n){return fl(n)&&n.tagName.toLowerCase()==="button"}function U1(n){return fl(n)&&n.tagName.toLowerCase()==="form"}function H1(n){return fl(n)&&n.tagName.toLowerCase()==="input"}function $1(n){return!!(n.metaKey||n.altKey||n.ctrlKey||n.shiftKey)}function W1(n,r){return n.button===0&&(!r||r==="_self")&&!$1(n)}var Ua=null;function V1(){if(Ua===null)try{new FormData(document.createElement("form"),0),Ua=!1}catch{Ua=!0}return Ua}var Q1=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function pc(n){return n!=null&&!Q1.has(n)?(pn(!1,`"${n}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Xa}"`),null):n}function K1(n,r){let i,s,l,c,f;if(U1(n)){let p=n.getAttribute("action");s=p?nr(p,r):null,i=n.getAttribute("method")||Ya,l=pc(n.getAttribute("enctype"))||Xa,c=new FormData(n)}else if(B1(n)||H1(n)&&(n.type==="submit"||n.type==="image")){let p=n.form;if(p==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let h=n.getAttribute("formaction")||p.getAttribute("action");if(s=h?nr(h,r):null,i=n.getAttribute("formmethod")||p.getAttribute("method")||Ya,l=pc(n.getAttribute("formenctype"))||pc(p.getAttribute("enctype"))||Xa,c=new FormData(p,n),!V1()){let{name:m,type:w,value:x}=n;if(w==="image"){let k=m?`${m}.`:"";c.append(`${k}x`,"0"),c.append(`${k}y`,"0")}else m&&c.append(m,x)}}else{if(fl(n))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');i=Ya,s=null,l=Xa,f=n}return c&&l==="text/plain"&&(f=c,c=void 0),{action:s,method:i.toLowerCase(),encType:l,formData:c,body:f}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function ad(n,r){if(n===!1||n===null||typeof n>"u")throw new Error(r)}function q1(n,r,i,s){let l=typeof n=="string"?new URL(n,typeof window>"u"?"server://singlefetch/":window.location.origin):n;return i?l.pathname.endsWith("/")?l.pathname=`${l.pathname}_.${s}`:l.pathname=`${l.pathname}.${s}`:l.pathname==="/"?l.pathname=`_root.${s}`:r&&nr(l.pathname,r)==="/"?l.pathname=`${r.replace(/\/$/,"")}/_root.${s}`:l.pathname=`${l.pathname.replace(/\/$/,"")}.${s}`,l}async function G1(n,r){if(n.id in r)return r[n.id];try{let i=await import(n.module);return r[n.id]=i,i}catch(i){return console.error(`Error loading route module \`${n.module}\`, reloading page...`),console.error(i),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function Y1(n){return n==null?!1:n.href==null?n.rel==="preload"&&typeof n.imageSrcSet=="string"&&typeof n.imageSizes=="string":typeof n.rel=="string"&&typeof n.href=="string"}async function X1(n,r,i){let s=await Promise.all(n.map(async l=>{let c=r.routes[l.route.id];if(c){let f=await G1(c,i);return f.links?f.links():[]}return[]}));return tw(s.flat(1).filter(Y1).filter(l=>l.rel==="stylesheet"||l.rel==="preload").map(l=>l.rel==="stylesheet"?{...l,rel:"prefetch",as:"style"}:{...l,rel:"prefetch"}))}function Eh(n,r,i,s,l,c){let f=(h,m)=>i[m]?h.route.id!==i[m].route.id:!0,p=(h,m)=>{var w;return i[m].pathname!==h.pathname||((w=i[m].route.path)==null?void 0:w.endsWith("*"))&&i[m].params["*"]!==h.params["*"]};return c==="assets"?r.filter((h,m)=>f(h,m)||p(h,m)):c==="data"?r.filter((h,m)=>{var x;let w=s.routes[h.route.id];if(!w||!w.hasLoader)return!1;if(f(h,m)||p(h,m))return!0;if(h.route.shouldRevalidate){let k=h.route.shouldRevalidate({currentUrl:new URL(l.pathname+l.search+l.hash,window.origin),currentParams:((x=i[0])==null?void 0:x.params)||{},nextUrl:new URL(n,window.origin),nextParams:h.params,defaultShouldRevalidate:!0});if(typeof k=="boolean")return k}return!0}):[]}function Z1(n,r,{includeHydrateFallback:i}={}){return J1(n.map(s=>{let l=r.routes[s.route.id];if(!l)return[];let c=[l.module];return l.clientActionModule&&(c=c.concat(l.clientActionModule)),l.clientLoaderModule&&(c=c.concat(l.clientLoaderModule)),i&&l.hydrateFallbackModule&&(c=c.concat(l.hydrateFallbackModule)),l.imports&&(c=c.concat(l.imports)),c}).flat(1))}function J1(n){return[...new Set(n)]}function ew(n){let r={},i=Object.keys(n).sort();for(let s of i)r[s]=n[s];return r}function tw(n,r){let i=new Set;return new Set(r),n.reduce((s,l)=>{let c=JSON.stringify(ew(l));return i.has(c)||(i.add(c),s.push({key:c,link:l})),s},[])}function $m(){let n=y.useContext(gi);return ad(n,"You must render this element inside a <DataRouterContext.Provider> element"),n}function nw(){let n=y.useContext(dl);return ad(n,"You must render this element inside a <DataRouterStateContext.Provider> element"),n}var ld=y.createContext(void 0);ld.displayName="FrameworkContext";function Wm(){let n=y.useContext(ld);return ad(n,"You must render this element inside a <HydratedRouter> element"),n}function rw(n,r){let i=y.useContext(ld),[s,l]=y.useState(!1),[c,f]=y.useState(!1),{onFocus:p,onBlur:h,onMouseEnter:m,onMouseLeave:w,onTouchStart:x}=r,k=y.useRef(null);y.useEffect(()=>{if(n==="render"&&f(!0),n==="viewport"){let S=P=>{P.forEach(T=>{f(T.isIntersecting)})},C=new IntersectionObserver(S,{threshold:.5});return k.current&&C.observe(k.current),()=>{C.disconnect()}}},[n]),y.useEffect(()=>{if(s){let S=setTimeout(()=>{f(!0)},100);return()=>{clearTimeout(S)}}},[s]);let g=()=>{l(!0)},O=()=>{l(!1),f(!1)};return i?n!=="intent"?[c,k,{}]:[c,k,{onFocus:ls(p,g),onBlur:ls(h,O),onMouseEnter:ls(m,g),onMouseLeave:ls(w,O),onTouchStart:ls(x,g)}]:[!1,k,{}]}function ls(n,r){return i=>{n&&n(i),i.defaultPrevented||r(i)}}function ow({page:n,...r}){let{router:i}=$m(),s=y.useMemo(()=>Tm(i.routes,n,i.basename),[i.routes,n,i.basename]);return s?y.createElement(sw,{page:n,matches:s,...r}):null}function iw(n){let{manifest:r,routeModules:i}=Wm(),[s,l]=y.useState([]);return y.useEffect(()=>{let c=!1;return X1(n,r,i).then(f=>{c||l(f)}),()=>{c=!0}},[n,r,i]),s}function sw({page:n,matches:r,...i}){let s=$r(),{future:l,manifest:c,routeModules:f}=Wm(),{basename:p}=$m(),{loaderData:h,matches:m}=nw(),w=y.useMemo(()=>Eh(n,r,m,c,s,"data"),[n,r,m,c,s]),x=y.useMemo(()=>Eh(n,r,m,c,s,"assets"),[n,r,m,c,s]),k=y.useMemo(()=>{if(n===s.pathname+s.search+s.hash)return[];let S=new Set,C=!1;if(r.forEach(T=>{var L;let R=c.routes[T.route.id];!R||!R.hasLoader||(!w.some(z=>z.route.id===T.route.id)&&T.route.id in h&&((L=f[T.route.id])!=null&&L.shouldRevalidate)||R.hasClientLoader?C=!0:S.add(T.route.id))}),S.size===0)return[];let P=q1(n,p,l.unstable_trailingSlashAwareDataRequests,"data");return C&&S.size>0&&P.searchParams.set("_routes",r.filter(T=>S.has(T.route.id)).map(T=>T.route.id).join(",")),[P.pathname+P.search]},[p,l.unstable_trailingSlashAwareDataRequests,h,s,c,w,r,n,f]),g=y.useMemo(()=>Z1(x,c),[x,c]),O=iw(x);return y.createElement(y.Fragment,null,k.map(S=>y.createElement("link",{key:S,rel:"prefetch",as:"fetch",href:S,...i})),g.map(S=>y.createElement("link",{key:S,rel:"modulepreload",href:S,...i})),O.map(({key:S,link:C})=>y.createElement("link",{key:S,nonce:i.nonce,...C,crossOrigin:C.crossOrigin??i.crossOrigin})))}function aw(...n){return r=>{n.forEach(i=>{typeof i=="function"?i(r):i!=null&&(i.current=r)})}}var lw=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{lw&&(window.__reactRouterVersion="7.13.0")}catch{}function Dk({basename:n,children:r,unstable_useTransitions:i,window:s}){let l=y.useRef();l.current==null&&(l.current=$0({window:s,v5Compat:!0}));let c=l.current,[f,p]=y.useState({action:c.action,location:c.location}),h=y.useCallback(m=>{i===!1?p(m):y.startTransition(()=>p(m))},[i]);return y.useLayoutEffect(()=>c.listen(h),[c,h]),y.createElement(j1,{basename:n,children:r,location:f.location,navigationType:f.action,navigator:c,unstable_useTransitions:i})}var Vm=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Qm=y.forwardRef(function({onClick:r,discover:i="render",prefetch:s="none",relative:l,reloadDocument:c,replace:f,state:p,target:h,to:m,preventScrollReset:w,viewTransition:x,unstable_defaultShouldRevalidate:k,...g},O){let{basename:S,unstable_useTransitions:C}=y.useContext(Ut),P=typeof m=="string"&&Vm.test(m),T=Lm(m,S);m=T.to;let R=k1(m,{relative:l}),[L,z,U]=rw(s,g),H=fw(m,{replace:f,state:p,target:h,preventScrollReset:w,relative:l,viewTransition:x,unstable_defaultShouldRevalidate:k,unstable_useTransitions:C});function G(te){r&&r(te),te.defaultPrevented||H(te)}let J=y.createElement("a",{...g,...U,href:T.absoluteURL||R,onClick:T.isExternal||c?r:G,ref:aw(O,z),target:h,"data-discover":!P&&i==="render"?"true":void 0});return L&&!P?y.createElement(y.Fragment,null,J,y.createElement(ow,{page:R})):J});Qm.displayName="Link";var uw=y.forwardRef(function({"aria-current":r="page",caseSensitive:i=!1,className:s="",end:l=!1,style:c,to:f,viewTransition:p,children:h,...m},w){let x=ks(f,{relative:m.relative}),k=$r(),g=y.useContext(dl),{navigator:O,basename:S}=y.useContext(Ut),C=g!=null&&yw(x)&&p===!0,P=O.encodeLocation?O.encodeLocation(x).pathname:x.pathname,T=k.pathname,R=g&&g.navigation&&g.navigation.location?g.navigation.location.pathname:null;i||(T=T.toLowerCase(),R=R?R.toLowerCase():null,P=P.toLowerCase()),R&&S&&(R=nr(R,S)||R);const L=P!=="/"&&P.endsWith("/")?P.length-1:P.length;let z=T===P||!l&&T.startsWith(P)&&T.charAt(L)==="/",U=R!=null&&(R===P||!l&&R.startsWith(P)&&R.charAt(P.length)==="/"),H={isActive:z,isPending:U,isTransitioning:C},G=z?r:void 0,J;typeof s=="function"?J=s(H):J=[s,z?"active":null,U?"pending":null,C?"transitioning":null].filter(Boolean).join(" ");let te=typeof c=="function"?c(H):c;return y.createElement(Qm,{...m,"aria-current":G,className:J,ref:w,style:te,to:f,viewTransition:p},typeof h=="function"?h(H):h)});uw.displayName="NavLink";var cw=y.forwardRef(({discover:n="render",fetcherKey:r,navigate:i,reloadDocument:s,replace:l,state:c,method:f=Ya,action:p,onSubmit:h,relative:m,preventScrollReset:w,viewTransition:x,unstable_defaultShouldRevalidate:k,...g},O)=>{let{unstable_useTransitions:S}=y.useContext(Ut),C=mw(),P=vw(p,{relative:m}),T=f.toLowerCase()==="get"?"get":"post",R=typeof p=="string"&&Vm.test(p),L=z=>{if(h&&h(z),z.defaultPrevented)return;z.preventDefault();let U=z.nativeEvent.submitter,H=(U==null?void 0:U.getAttribute("formmethod"))||f,G=()=>C(U||z.currentTarget,{fetcherKey:r,method:H,navigate:i,replace:l,state:c,relative:m,preventScrollReset:w,viewTransition:x,unstable_defaultShouldRevalidate:k});S&&i!==!1?y.startTransition(()=>G()):G()};return y.createElement("form",{ref:O,method:T,action:P,onSubmit:s?h:L,...g,"data-discover":!R&&n==="render"?"true":void 0})});cw.displayName="Form";function dw(n){return`${n} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Km(n){let r=y.useContext(gi);return Ve(r,dw(n)),r}function fw(n,{target:r,replace:i,state:s,preventScrollReset:l,relative:c,viewTransition:f,unstable_defaultShouldRevalidate:p,unstable_useTransitions:h}={}){let m=jm(),w=$r(),x=ks(n,{relative:c});return y.useCallback(k=>{if(W1(k,r)){k.preventDefault();let g=i!==void 0?i:ps(w)===ps(x),O=()=>m(n,{replace:g,state:s,preventScrollReset:l,relative:c,viewTransition:f,unstable_defaultShouldRevalidate:p});h?y.startTransition(()=>O()):O()}},[w,m,x,i,s,r,n,l,c,f,p,h])}var pw=0,hw=()=>`__${String(++pw)}__`;function mw(){let{router:n}=Km("useSubmit"),{basename:r}=y.useContext(Ut),i=A1(),s=n.fetch,l=n.navigate;return y.useCallback(async(c,f={})=>{let{action:p,method:h,encType:m,formData:w,body:x}=K1(c,r);if(f.navigate===!1){let k=f.fetcherKey||hw();await s(k,i,f.action||p,{unstable_defaultShouldRevalidate:f.unstable_defaultShouldRevalidate,preventScrollReset:f.preventScrollReset,formData:w,body:x,formMethod:f.method||h,formEncType:f.encType||m,flushSync:f.flushSync})}else await l(f.action||p,{unstable_defaultShouldRevalidate:f.unstable_defaultShouldRevalidate,preventScrollReset:f.preventScrollReset,formData:w,body:x,formMethod:f.method||h,formEncType:f.encType||m,replace:f.replace,state:f.state,fromRouteId:i,flushSync:f.flushSync,viewTransition:f.viewTransition})},[s,l,r,i])}function vw(n,{relative:r}={}){let{basename:i}=y.useContext(Ut),s=y.useContext(vn);Ve(s,"useFormAction must be used inside a RouteContext");let[l]=s.matches.slice(-1),c={...ks(n||".",{relative:r})},f=$r();if(n==null){c.search=f.search;let p=new URLSearchParams(c.search),h=p.getAll("index");if(h.some(w=>w==="")){p.delete("index"),h.filter(x=>x).forEach(x=>p.append("index",x));let w=p.toString();c.search=w?`?${w}`:""}}return(!n||n===".")&&l.route.index&&(c.search=c.search?c.search.replace(/^\?/,"?index&"):"?index"),i!=="/"&&(c.pathname=c.pathname==="/"?i:er([i,c.pathname])),ps(c)}function yw(n,{relative:r}={}){let i=y.useContext(Im);Ve(i!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:s}=Km("useViewTransitionState"),l=ks(n,{relative:r});if(!i.isTransitioning)return!1;let c=nr(i.currentLocation.pathname,s)||i.currentLocation.pathname,f=nr(i.nextLocation.pathname,s)||i.nextLocation.pathname;return nl(l.pathname,f)!=null||nl(l.pathname,c)!=null}var Es=Mm();const qm=Rm(Es);var xi=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(n){return this.listeners.add(n),this.onSubscribe(),()=>{this.listeners.delete(n),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},gw={setTimeout:(n,r)=>setTimeout(n,r),clearTimeout:n=>clearTimeout(n),setInterval:(n,r)=>setInterval(n,r),clearInterval:n=>clearInterval(n)},Nr,ed,mm,ww=(mm=class{constructor(){me(this,Nr,gw);me(this,ed,!1)}setTimeoutProvider(n){ee(this,Nr,n)}setTimeout(n,r){return b(this,Nr).setTimeout(n,r)}clearTimeout(n){b(this,Nr).clearTimeout(n)}setInterval(n,r){return b(this,Nr).setInterval(n,r)}clearInterval(n){b(this,Nr).clearInterval(n)}},Nr=new WeakMap,ed=new WeakMap,mm),so=new ww;function xw(n){setTimeout(n,0)}var yo=typeof window>"u"||"Deno"in globalThis;function kt(){}function Sw(n,r){return typeof n=="function"?n(r):n}function Rc(n){return typeof n=="number"&&n>=0&&n!==1/0}function Gm(n,r){return Math.max(n+(r||0)-Date.now(),0)}function Br(n,r){return typeof n=="function"?n(r):n}function Yt(n,r){return typeof n=="function"?n(r):n}function bh(n,r){const{type:i="all",exact:s,fetchStatus:l,predicate:c,queryKey:f,stale:p}=n;if(f){if(s){if(r.queryHash!==ud(f,r.options))return!1}else if(!hs(r.queryKey,f))return!1}if(i!=="all"){const h=r.isActive();if(i==="active"&&!h||i==="inactive"&&h)return!1}return!(typeof p=="boolean"&&r.isStale()!==p||l&&l!==r.state.fetchStatus||c&&!c(r))}function Rh(n,r){const{exact:i,status:s,predicate:l,mutationKey:c}=n;if(c){if(!r.options.mutationKey)return!1;if(i){if(go(r.options.mutationKey)!==go(c))return!1}else if(!hs(r.options.mutationKey,c))return!1}return!(s&&r.state.status!==s||l&&!l(r))}function ud(n,r){return((r==null?void 0:r.queryKeyHashFn)||go)(n)}function go(n){return JSON.stringify(n,(r,i)=>Pc(i)?Object.keys(i).sort().reduce((s,l)=>(s[l]=i[l],s),{}):i)}function hs(n,r){return n===r?!0:typeof n!=typeof r?!1:n&&r&&typeof n=="object"&&typeof r=="object"?Object.keys(r).every(i=>hs(n[i],r[i])):!1}var Cw=Object.prototype.hasOwnProperty;function Ym(n,r,i=0){if(n===r)return n;if(i>500)return r;const s=Ph(n)&&Ph(r);if(!s&&!(Pc(n)&&Pc(r)))return r;const c=(s?n:Object.keys(n)).length,f=s?r:Object.keys(r),p=f.length,h=s?new Array(p):{};let m=0;for(let w=0;w<p;w++){const x=s?w:f[w],k=n[x],g=r[x];if(k===g){h[x]=k,(s?w<c:Cw.call(n,x))&&m++;continue}if(k===null||g===null||typeof k!="object"||typeof g!="object"){h[x]=g;continue}const O=Ym(k,g,i+1);h[x]=O,O===k&&m++}return c===p&&m===c?n:h}function rl(n,r){if(!r||Object.keys(n).length!==Object.keys(r).length)return!1;for(const i in n)if(n[i]!==r[i])return!1;return!0}function Ph(n){return Array.isArray(n)&&n.length===Object.keys(n).length}function Pc(n){if(!Mh(n))return!1;const r=n.constructor;if(r===void 0)return!0;const i=r.prototype;return!(!Mh(i)||!i.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(n)!==Object.prototype)}function Mh(n){return Object.prototype.toString.call(n)==="[object Object]"}function kw(n){return new Promise(r=>{so.setTimeout(r,n)})}function Mc(n,r,i){return typeof i.structuralSharing=="function"?i.structuralSharing(n,r):i.structuralSharing!==!1?Ym(n,r):r}function Ew(n,r,i=0){const s=[...n,r];return i&&s.length>i?s.slice(1):s}function bw(n,r,i=0){const s=[r,...n];return i&&s.length>i?s.slice(0,-1):s}var cd=Symbol();function Xm(n,r){return!n.queryFn&&(r!=null&&r.initialPromise)?()=>r.initialPromise:!n.queryFn||n.queryFn===cd?()=>Promise.reject(new Error(`Missing queryFn: '${n.queryHash}'`)):n.queryFn}function dd(n,r){return typeof n=="function"?n(...r):!!n}function Rw(n,r,i){let s=!1,l;return Object.defineProperty(n,"signal",{enumerable:!0,get:()=>(l??(l=r()),s||(s=!0,l.aborted?i():l.addEventListener("abort",i,{once:!0})),l)}),n}var ao,_r,oi,vm,Pw=(vm=class extends xi{constructor(){super();me(this,ao);me(this,_r);me(this,oi);ee(this,oi,r=>{if(!yo&&window.addEventListener){const i=()=>r();return window.addEventListener("visibilitychange",i,!1),()=>{window.removeEventListener("visibilitychange",i)}}})}onSubscribe(){b(this,_r)||this.setEventListener(b(this,oi))}onUnsubscribe(){var r;this.hasListeners()||((r=b(this,_r))==null||r.call(this),ee(this,_r,void 0))}setEventListener(r){var i;ee(this,oi,r),(i=b(this,_r))==null||i.call(this),ee(this,_r,r(s=>{typeof s=="boolean"?this.setFocused(s):this.onFocus()}))}setFocused(r){b(this,ao)!==r&&(ee(this,ao,r),this.onFocus())}onFocus(){const r=this.isFocused();this.listeners.forEach(i=>{i(r)})}isFocused(){var r;return typeof b(this,ao)=="boolean"?b(this,ao):((r=globalThis.document)==null?void 0:r.visibilityState)!=="hidden"}},ao=new WeakMap,_r=new WeakMap,oi=new WeakMap,vm),fd=new Pw;function Tc(){let n,r;const i=new Promise((l,c)=>{n=l,r=c});i.status="pending",i.catch(()=>{});function s(l){Object.assign(i,l),delete i.resolve,delete i.reject}return i.resolve=l=>{s({status:"fulfilled",value:l}),n(l)},i.reject=l=>{s({status:"rejected",reason:l}),r(l)},i}var Mw=xw;function Tw(){let n=[],r=0,i=p=>{p()},s=p=>{p()},l=Mw;const c=p=>{r?n.push(p):l(()=>{i(p)})},f=()=>{const p=n;n=[],p.length&&l(()=>{s(()=>{p.forEach(h=>{i(h)})})})};return{batch:p=>{let h;r++;try{h=p()}finally{r--,r||f()}return h},batchCalls:p=>(...h)=>{c(()=>{p(...h)})},schedule:c,setNotifyFunction:p=>{i=p},setBatchNotifyFunction:p=>{s=p},setScheduler:p=>{l=p}}}var rt=Tw(),ii,Lr,si,ym,Ow=(ym=class extends xi{constructor(){super();me(this,ii,!0);me(this,Lr);me(this,si);ee(this,si,r=>{if(!yo&&window.addEventListener){const i=()=>r(!0),s=()=>r(!1);return window.addEventListener("online",i,!1),window.addEventListener("offline",s,!1),()=>{window.removeEventListener("online",i),window.removeEventListener("offline",s)}}})}onSubscribe(){b(this,Lr)||this.setEventListener(b(this,si))}onUnsubscribe(){var r;this.hasListeners()||((r=b(this,Lr))==null||r.call(this),ee(this,Lr,void 0))}setEventListener(r){var i;ee(this,si,r),(i=b(this,Lr))==null||i.call(this),ee(this,Lr,r(this.setOnline.bind(this)))}setOnline(r){b(this,ii)!==r&&(ee(this,ii,r),this.listeners.forEach(s=>{s(r)}))}isOnline(){return b(this,ii)}},ii=new WeakMap,Lr=new WeakMap,si=new WeakMap,ym),ol=new Ow;function Nw(n){return Math.min(1e3*2**n,3e4)}function Zm(n){return(n??"online")==="online"?ol.isOnline():!0}var Oc=class extends Error{constructor(n){super("CancelledError"),this.revert=n==null?void 0:n.revert,this.silent=n==null?void 0:n.silent}};function Jm(n){let r=!1,i=0,s;const l=Tc(),c=()=>l.status!=="pending",f=S=>{var C;if(!c()){const P=new Oc(S);k(P),(C=n.onCancel)==null||C.call(n,P)}},p=()=>{r=!0},h=()=>{r=!1},m=()=>fd.isFocused()&&(n.networkMode==="always"||ol.isOnline())&&n.canRun(),w=()=>Zm(n.networkMode)&&n.canRun(),x=S=>{c()||(s==null||s(),l.resolve(S))},k=S=>{c()||(s==null||s(),l.reject(S))},g=()=>new Promise(S=>{var C;s=P=>{(c()||m())&&S(P)},(C=n.onPause)==null||C.call(n)}).then(()=>{var S;s=void 0,c()||(S=n.onContinue)==null||S.call(n)}),O=()=>{if(c())return;let S;const C=i===0?n.initialPromise:void 0;try{S=C??n.fn()}catch(P){S=Promise.reject(P)}Promise.resolve(S).then(x).catch(P=>{var U;if(c())return;const T=n.retry??(yo?0:3),R=n.retryDelay??Nw,L=typeof R=="function"?R(i,P):R,z=T===!0||typeof T=="number"&&i<T||typeof T=="function"&&T(i,P);if(r||!z){k(P);return}i++,(U=n.onFail)==null||U.call(n,i,P),kw(L).then(()=>m()?void 0:g()).then(()=>{r?k(P):O()})})};return{promise:l,status:()=>l.status,cancel:f,continue:()=>(s==null||s(),l),cancelRetry:p,continueRetry:h,canStart:w,start:()=>(w()?O():g().then(O),l)}}var lo,gm,ev=(gm=class{constructor(){me(this,lo)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Rc(this.gcTime)&&ee(this,lo,so.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(n){this.gcTime=Math.max(this.gcTime||0,n??(yo?1/0:300*1e3))}clearGcTimeout(){b(this,lo)&&(so.clearTimeout(b(this,lo)),ee(this,lo,void 0))}},lo=new WeakMap,gm),uo,ai,Gt,co,at,ys,fo,dn,Gn,wm,_w=(wm=class extends ev{constructor(r){super();me(this,dn);me(this,uo);me(this,ai);me(this,Gt);me(this,co);me(this,at);me(this,ys);me(this,fo);ee(this,fo,!1),ee(this,ys,r.defaultOptions),this.setOptions(r.options),this.observers=[],ee(this,co,r.client),ee(this,Gt,b(this,co).getQueryCache()),this.queryKey=r.queryKey,this.queryHash=r.queryHash,ee(this,uo,Oh(this.options)),this.state=r.state??b(this,uo),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var r;return(r=b(this,at))==null?void 0:r.promise}setOptions(r){if(this.options={...b(this,ys),...r},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const i=Oh(this.options);i.data!==void 0&&(this.setState(Th(i.data,i.dataUpdatedAt)),ee(this,uo,i))}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&b(this,Gt).remove(this)}setData(r,i){const s=Mc(this.state.data,r,this.options);return Pe(this,dn,Gn).call(this,{data:s,type:"success",dataUpdatedAt:i==null?void 0:i.updatedAt,manual:i==null?void 0:i.manual}),s}setState(r,i){Pe(this,dn,Gn).call(this,{type:"setState",state:r,setStateOptions:i})}cancel(r){var s,l;const i=(s=b(this,at))==null?void 0:s.promise;return(l=b(this,at))==null||l.cancel(r),i?i.then(kt).catch(kt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(b(this,uo))}isActive(){return this.observers.some(r=>Yt(r.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===cd||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(r=>Br(r.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(r=>r.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(r=0){return this.state.data===void 0?!0:r==="static"?!1:this.state.isInvalidated?!0:!Gm(this.state.dataUpdatedAt,r)}onFocus(){var i;const r=this.observers.find(s=>s.shouldFetchOnWindowFocus());r==null||r.refetch({cancelRefetch:!1}),(i=b(this,at))==null||i.continue()}onOnline(){var i;const r=this.observers.find(s=>s.shouldFetchOnReconnect());r==null||r.refetch({cancelRefetch:!1}),(i=b(this,at))==null||i.continue()}addObserver(r){this.observers.includes(r)||(this.observers.push(r),this.clearGcTimeout(),b(this,Gt).notify({type:"observerAdded",query:this,observer:r}))}removeObserver(r){this.observers.includes(r)&&(this.observers=this.observers.filter(i=>i!==r),this.observers.length||(b(this,at)&&(b(this,fo)?b(this,at).cancel({revert:!0}):b(this,at).cancelRetry()),this.scheduleGc()),b(this,Gt).notify({type:"observerRemoved",query:this,observer:r}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Pe(this,dn,Gn).call(this,{type:"invalidate"})}async fetch(r,i){var h,m,w,x,k,g,O,S,C,P,T,R;if(this.state.fetchStatus!=="idle"&&((h=b(this,at))==null?void 0:h.status())!=="rejected"){if(this.state.data!==void 0&&(i!=null&&i.cancelRefetch))this.cancel({silent:!0});else if(b(this,at))return b(this,at).continueRetry(),b(this,at).promise}if(r&&this.setOptions(r),!this.options.queryFn){const L=this.observers.find(z=>z.options.queryFn);L&&this.setOptions(L.options)}const s=new AbortController,l=L=>{Object.defineProperty(L,"signal",{enumerable:!0,get:()=>(ee(this,fo,!0),s.signal)})},c=()=>{const L=Xm(this.options,i),U=(()=>{const H={client:b(this,co),queryKey:this.queryKey,meta:this.meta};return l(H),H})();return ee(this,fo,!1),this.options.persister?this.options.persister(L,U,this):L(U)},p=(()=>{const L={fetchOptions:i,options:this.options,queryKey:this.queryKey,client:b(this,co),state:this.state,fetchFn:c};return l(L),L})();(m=this.options.behavior)==null||m.onFetch(p,this),ee(this,ai,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((w=p.fetchOptions)==null?void 0:w.meta))&&Pe(this,dn,Gn).call(this,{type:"fetch",meta:(x=p.fetchOptions)==null?void 0:x.meta}),ee(this,at,Jm({initialPromise:i==null?void 0:i.initialPromise,fn:p.fetchFn,onCancel:L=>{L instanceof Oc&&L.revert&&this.setState({...b(this,ai),fetchStatus:"idle"}),s.abort()},onFail:(L,z)=>{Pe(this,dn,Gn).call(this,{type:"failed",failureCount:L,error:z})},onPause:()=>{Pe(this,dn,Gn).call(this,{type:"pause"})},onContinue:()=>{Pe(this,dn,Gn).call(this,{type:"continue"})},retry:p.options.retry,retryDelay:p.options.retryDelay,networkMode:p.options.networkMode,canRun:()=>!0}));try{const L=await b(this,at).start();if(L===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(L),(g=(k=b(this,Gt).config).onSuccess)==null||g.call(k,L,this),(S=(O=b(this,Gt).config).onSettled)==null||S.call(O,L,this.state.error,this),L}catch(L){if(L instanceof Oc){if(L.silent)return b(this,at).promise;if(L.revert){if(this.state.data===void 0)throw L;return this.state.data}}throw Pe(this,dn,Gn).call(this,{type:"error",error:L}),(P=(C=b(this,Gt).config).onError)==null||P.call(C,L,this),(R=(T=b(this,Gt).config).onSettled)==null||R.call(T,this.state.data,L,this),L}finally{this.scheduleGc()}}},uo=new WeakMap,ai=new WeakMap,Gt=new WeakMap,co=new WeakMap,at=new WeakMap,ys=new WeakMap,fo=new WeakMap,dn=new WeakSet,Gn=function(r){const i=s=>{switch(r.type){case"failed":return{...s,fetchFailureCount:r.failureCount,fetchFailureReason:r.error};case"pause":return{...s,fetchStatus:"paused"};case"continue":return{...s,fetchStatus:"fetching"};case"fetch":return{...s,...tv(s.data,this.options),fetchMeta:r.meta??null};case"success":const l={...s,...Th(r.data,r.dataUpdatedAt),dataUpdateCount:s.dataUpdateCount+1,...!r.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return ee(this,ai,r.manual?l:void 0),l;case"error":const c=r.error;return{...s,error:c,errorUpdateCount:s.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:s.fetchFailureCount+1,fetchFailureReason:c,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...s,isInvalidated:!0};case"setState":return{...s,...r.state}}};this.state=i(this.state),rt.batch(()=>{this.observers.forEach(s=>{s.onQueryUpdate()}),b(this,Gt).notify({query:this,type:"updated",action:r})})},wm);function tv(n,r){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Zm(r.networkMode)?"fetching":"paused",...n===void 0&&{error:null,status:"pending"}}}function Th(n,r){return{data:n,dataUpdatedAt:r??Date.now(),error:null,isInvalidated:!1,status:"success"}}function Oh(n){const r=typeof n.initialData=="function"?n.initialData():n.initialData,i=r!==void 0,s=i?typeof n.initialDataUpdatedAt=="function"?n.initialDataUpdatedAt():n.initialDataUpdatedAt:0;return{data:r,dataUpdateCount:0,dataUpdatedAt:i?s??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:i?"success":"pending",fetchStatus:"idle"}}var _t,Ne,gs,Ct,po,li,Yn,Ar,ws,ui,ci,ho,mo,Ir,di,Ie,ds,Nc,_c,Lc,Ac,Ic,Dc,Fc,nv,xm,Lw=(xm=class extends xi{constructor(r,i){super();me(this,Ie);me(this,_t);me(this,Ne);me(this,gs);me(this,Ct);me(this,po);me(this,li);me(this,Yn);me(this,Ar);me(this,ws);me(this,ui);me(this,ci);me(this,ho);me(this,mo);me(this,Ir);me(this,di,new Set);this.options=i,ee(this,_t,r),ee(this,Ar,null),ee(this,Yn,Tc()),this.bindMethods(),this.setOptions(i)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(b(this,Ne).addObserver(this),Nh(b(this,Ne),this.options)?Pe(this,Ie,ds).call(this):this.updateResult(),Pe(this,Ie,Ac).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return zc(b(this,Ne),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return zc(b(this,Ne),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,Pe(this,Ie,Ic).call(this),Pe(this,Ie,Dc).call(this),b(this,Ne).removeObserver(this)}setOptions(r){const i=this.options,s=b(this,Ne);if(this.options=b(this,_t).defaultQueryOptions(r),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof Yt(this.options.enabled,b(this,Ne))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");Pe(this,Ie,Fc).call(this),b(this,Ne).setOptions(this.options),i._defaulted&&!rl(this.options,i)&&b(this,_t).getQueryCache().notify({type:"observerOptionsUpdated",query:b(this,Ne),observer:this});const l=this.hasListeners();l&&_h(b(this,Ne),s,this.options,i)&&Pe(this,Ie,ds).call(this),this.updateResult(),l&&(b(this,Ne)!==s||Yt(this.options.enabled,b(this,Ne))!==Yt(i.enabled,b(this,Ne))||Br(this.options.staleTime,b(this,Ne))!==Br(i.staleTime,b(this,Ne)))&&Pe(this,Ie,Nc).call(this);const c=Pe(this,Ie,_c).call(this);l&&(b(this,Ne)!==s||Yt(this.options.enabled,b(this,Ne))!==Yt(i.enabled,b(this,Ne))||c!==b(this,Ir))&&Pe(this,Ie,Lc).call(this,c)}getOptimisticResult(r){const i=b(this,_t).getQueryCache().build(b(this,_t),r),s=this.createResult(i,r);return Iw(this,s)&&(ee(this,Ct,s),ee(this,li,this.options),ee(this,po,b(this,Ne).state)),s}getCurrentResult(){return b(this,Ct)}trackResult(r,i){return new Proxy(r,{get:(s,l)=>(this.trackProp(l),i==null||i(l),l==="promise"&&(this.trackProp("data"),!this.options.experimental_prefetchInRender&&b(this,Yn).status==="pending"&&b(this,Yn).reject(new Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(s,l))})}trackProp(r){b(this,di).add(r)}getCurrentQuery(){return b(this,Ne)}refetch({...r}={}){return this.fetch({...r})}fetchOptimistic(r){const i=b(this,_t).defaultQueryOptions(r),s=b(this,_t).getQueryCache().build(b(this,_t),i);return s.fetch().then(()=>this.createResult(s,i))}fetch(r){return Pe(this,Ie,ds).call(this,{...r,cancelRefetch:r.cancelRefetch??!0}).then(()=>(this.updateResult(),b(this,Ct)))}createResult(r,i){var J;const s=b(this,Ne),l=this.options,c=b(this,Ct),f=b(this,po),p=b(this,li),m=r!==s?r.state:b(this,gs),{state:w}=r;let x={...w},k=!1,g;if(i._optimisticResults){const te=this.hasListeners(),he=!te&&Nh(r,i),Z=te&&_h(r,s,i,l);(he||Z)&&(x={...x,...tv(w.data,r.options)}),i._optimisticResults==="isRestoring"&&(x.fetchStatus="idle")}let{error:O,errorUpdatedAt:S,status:C}=x;g=x.data;let P=!1;if(i.placeholderData!==void 0&&g===void 0&&C==="pending"){let te;c!=null&&c.isPlaceholderData&&i.placeholderData===(p==null?void 0:p.placeholderData)?(te=c.data,P=!0):te=typeof i.placeholderData=="function"?i.placeholderData((J=b(this,ci))==null?void 0:J.state.data,b(this,ci)):i.placeholderData,te!==void 0&&(C="success",g=Mc(c==null?void 0:c.data,te,i),k=!0)}if(i.select&&g!==void 0&&!P)if(c&&g===(f==null?void 0:f.data)&&i.select===b(this,ws))g=b(this,ui);else try{ee(this,ws,i.select),g=i.select(g),g=Mc(c==null?void 0:c.data,g,i),ee(this,ui,g),ee(this,Ar,null)}catch(te){ee(this,Ar,te)}b(this,Ar)&&(O=b(this,Ar),g=b(this,ui),S=Date.now(),C="error");const T=x.fetchStatus==="fetching",R=C==="pending",L=C==="error",z=R&&T,U=g!==void 0,G={status:C,fetchStatus:x.fetchStatus,isPending:R,isSuccess:C==="success",isError:L,isInitialLoading:z,isLoading:z,data:g,dataUpdatedAt:x.dataUpdatedAt,error:O,errorUpdatedAt:S,failureCount:x.fetchFailureCount,failureReason:x.fetchFailureReason,errorUpdateCount:x.errorUpdateCount,isFetched:x.dataUpdateCount>0||x.errorUpdateCount>0,isFetchedAfterMount:x.dataUpdateCount>m.dataUpdateCount||x.errorUpdateCount>m.errorUpdateCount,isFetching:T,isRefetching:T&&!R,isLoadingError:L&&!U,isPaused:x.fetchStatus==="paused",isPlaceholderData:k,isRefetchError:L&&U,isStale:pd(r,i),refetch:this.refetch,promise:b(this,Yn),isEnabled:Yt(i.enabled,r)!==!1};if(this.options.experimental_prefetchInRender){const te=G.data!==void 0,he=G.status==="error"&&!te,Z=xe=>{he?xe.reject(G.error):te&&xe.resolve(G.data)},ye=()=>{const xe=ee(this,Yn,G.promise=Tc());Z(xe)},de=b(this,Yn);switch(de.status){case"pending":r.queryHash===s.queryHash&&Z(de);break;case"fulfilled":(he||G.data!==de.value)&&ye();break;case"rejected":(!he||G.error!==de.reason)&&ye();break}}return G}updateResult(){const r=b(this,Ct),i=this.createResult(b(this,Ne),this.options);if(ee(this,po,b(this,Ne).state),ee(this,li,this.options),b(this,po).data!==void 0&&ee(this,ci,b(this,Ne)),rl(i,r))return;ee(this,Ct,i);const s=()=>{if(!r)return!0;const{notifyOnChangeProps:l}=this.options,c=typeof l=="function"?l():l;if(c==="all"||!c&&!b(this,di).size)return!0;const f=new Set(c??b(this,di));return this.options.throwOnError&&f.add("error"),Object.keys(b(this,Ct)).some(p=>{const h=p;return b(this,Ct)[h]!==r[h]&&f.has(h)})};Pe(this,Ie,nv).call(this,{listeners:s()})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&Pe(this,Ie,Ac).call(this)}},_t=new WeakMap,Ne=new WeakMap,gs=new WeakMap,Ct=new WeakMap,po=new WeakMap,li=new WeakMap,Yn=new WeakMap,Ar=new WeakMap,ws=new WeakMap,ui=new WeakMap,ci=new WeakMap,ho=new WeakMap,mo=new WeakMap,Ir=new WeakMap,di=new WeakMap,Ie=new WeakSet,ds=function(r){Pe(this,Ie,Fc).call(this);let i=b(this,Ne).fetch(this.options,r);return r!=null&&r.throwOnError||(i=i.catch(kt)),i},Nc=function(){Pe(this,Ie,Ic).call(this);const r=Br(this.options.staleTime,b(this,Ne));if(yo||b(this,Ct).isStale||!Rc(r))return;const s=Gm(b(this,Ct).dataUpdatedAt,r)+1;ee(this,ho,so.setTimeout(()=>{b(this,Ct).isStale||this.updateResult()},s))},_c=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(b(this,Ne)):this.options.refetchInterval)??!1},Lc=function(r){Pe(this,Ie,Dc).call(this),ee(this,Ir,r),!(yo||Yt(this.options.enabled,b(this,Ne))===!1||!Rc(b(this,Ir))||b(this,Ir)===0)&&ee(this,mo,so.setInterval(()=>{(this.options.refetchIntervalInBackground||fd.isFocused())&&Pe(this,Ie,ds).call(this)},b(this,Ir)))},Ac=function(){Pe(this,Ie,Nc).call(this),Pe(this,Ie,Lc).call(this,Pe(this,Ie,_c).call(this))},Ic=function(){b(this,ho)&&(so.clearTimeout(b(this,ho)),ee(this,ho,void 0))},Dc=function(){b(this,mo)&&(so.clearInterval(b(this,mo)),ee(this,mo,void 0))},Fc=function(){const r=b(this,_t).getQueryCache().build(b(this,_t),this.options);if(r===b(this,Ne))return;const i=b(this,Ne);ee(this,Ne,r),ee(this,gs,r.state),this.hasListeners()&&(i==null||i.removeObserver(this),r.addObserver(this))},nv=function(r){rt.batch(()=>{r.listeners&&this.listeners.forEach(i=>{i(b(this,Ct))}),b(this,_t).getQueryCache().notify({query:b(this,Ne),type:"observerResultsUpdated"})})},xm);function Aw(n,r){return Yt(r.enabled,n)!==!1&&n.state.data===void 0&&!(n.state.status==="error"&&r.retryOnMount===!1)}function Nh(n,r){return Aw(n,r)||n.state.data!==void 0&&zc(n,r,r.refetchOnMount)}function zc(n,r,i){if(Yt(r.enabled,n)!==!1&&Br(r.staleTime,n)!=="static"){const s=typeof i=="function"?i(n):i;return s==="always"||s!==!1&&pd(n,r)}return!1}function _h(n,r,i,s){return(n!==r||Yt(s.enabled,n)===!1)&&(!i.suspense||n.state.status!=="error")&&pd(n,i)}function pd(n,r){return Yt(r.enabled,n)!==!1&&n.isStaleByTime(Br(r.staleTime,n))}function Iw(n,r){return!rl(n.getCurrentResult(),r)}function Lh(n){return{onFetch:(r,i)=>{var w,x,k,g,O;const s=r.options,l=(k=(x=(w=r.fetchOptions)==null?void 0:w.meta)==null?void 0:x.fetchMore)==null?void 0:k.direction,c=((g=r.state.data)==null?void 0:g.pages)||[],f=((O=r.state.data)==null?void 0:O.pageParams)||[];let p={pages:[],pageParams:[]},h=0;const m=async()=>{let S=!1;const C=R=>{Rw(R,()=>r.signal,()=>S=!0)},P=Xm(r.options,r.fetchOptions),T=async(R,L,z)=>{if(S)return Promise.reject();if(L==null&&R.pages.length)return Promise.resolve(R);const H=(()=>{const he={client:r.client,queryKey:r.queryKey,pageParam:L,direction:z?"backward":"forward",meta:r.options.meta};return C(he),he})(),G=await P(H),{maxPages:J}=r.options,te=z?bw:Ew;return{pages:te(R.pages,G,J),pageParams:te(R.pageParams,L,J)}};if(l&&c.length){const R=l==="backward",L=R?Dw:Ah,z={pages:c,pageParams:f},U=L(s,z);p=await T(z,U,R)}else{const R=n??c.length;do{const L=h===0?f[0]??s.initialPageParam:Ah(s,p);if(h>0&&L==null)break;p=await T(p,L),h++}while(h<R)}return p};r.options.persister?r.fetchFn=()=>{var S,C;return(C=(S=r.options).persister)==null?void 0:C.call(S,m,{client:r.client,queryKey:r.queryKey,meta:r.options.meta,signal:r.signal},i)}:r.fetchFn=m}}}function Ah(n,{pages:r,pageParams:i}){const s=r.length-1;return r.length>0?n.getNextPageParam(r[s],r,i[s],i):void 0}function Dw(n,{pages:r,pageParams:i}){var s;return r.length>0?(s=n.getPreviousPageParam)==null?void 0:s.call(n,r[0],r,i[0],i):void 0}var xs,Nn,vt,vo,_n,Tr,Sm,Fw=(Sm=class extends ev{constructor(r){super();me(this,_n);me(this,xs);me(this,Nn);me(this,vt);me(this,vo);ee(this,xs,r.client),this.mutationId=r.mutationId,ee(this,vt,r.mutationCache),ee(this,Nn,[]),this.state=r.state||rv(),this.setOptions(r.options),this.scheduleGc()}setOptions(r){this.options=r,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(r){b(this,Nn).includes(r)||(b(this,Nn).push(r),this.clearGcTimeout(),b(this,vt).notify({type:"observerAdded",mutation:this,observer:r}))}removeObserver(r){ee(this,Nn,b(this,Nn).filter(i=>i!==r)),this.scheduleGc(),b(this,vt).notify({type:"observerRemoved",mutation:this,observer:r})}optionalRemove(){b(this,Nn).length||(this.state.status==="pending"?this.scheduleGc():b(this,vt).remove(this))}continue(){var r;return((r=b(this,vo))==null?void 0:r.continue())??this.execute(this.state.variables)}async execute(r){var f,p,h,m,w,x,k,g,O,S,C,P,T,R,L,z,U,H;const i=()=>{Pe(this,_n,Tr).call(this,{type:"continue"})},s={client:b(this,xs),meta:this.options.meta,mutationKey:this.options.mutationKey};ee(this,vo,Jm({fn:()=>this.options.mutationFn?this.options.mutationFn(r,s):Promise.reject(new Error("No mutationFn found")),onFail:(G,J)=>{Pe(this,_n,Tr).call(this,{type:"failed",failureCount:G,error:J})},onPause:()=>{Pe(this,_n,Tr).call(this,{type:"pause"})},onContinue:i,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>b(this,vt).canRun(this)}));const l=this.state.status==="pending",c=!b(this,vo).canStart();try{if(l)i();else{Pe(this,_n,Tr).call(this,{type:"pending",variables:r,isPaused:c}),b(this,vt).config.onMutate&&await b(this,vt).config.onMutate(r,this,s);const J=await((p=(f=this.options).onMutate)==null?void 0:p.call(f,r,s));J!==this.state.context&&Pe(this,_n,Tr).call(this,{type:"pending",context:J,variables:r,isPaused:c})}const G=await b(this,vo).start();return await((m=(h=b(this,vt).config).onSuccess)==null?void 0:m.call(h,G,r,this.state.context,this,s)),await((x=(w=this.options).onSuccess)==null?void 0:x.call(w,G,r,this.state.context,s)),await((g=(k=b(this,vt).config).onSettled)==null?void 0:g.call(k,G,null,this.state.variables,this.state.context,this,s)),await((S=(O=this.options).onSettled)==null?void 0:S.call(O,G,null,r,this.state.context,s)),Pe(this,_n,Tr).call(this,{type:"success",data:G}),G}catch(G){try{await((P=(C=b(this,vt).config).onError)==null?void 0:P.call(C,G,r,this.state.context,this,s))}catch(J){Promise.reject(J)}try{await((R=(T=this.options).onError)==null?void 0:R.call(T,G,r,this.state.context,s))}catch(J){Promise.reject(J)}try{await((z=(L=b(this,vt).config).onSettled)==null?void 0:z.call(L,void 0,G,this.state.variables,this.state.context,this,s))}catch(J){Promise.reject(J)}try{await((H=(U=this.options).onSettled)==null?void 0:H.call(U,void 0,G,r,this.state.context,s))}catch(J){Promise.reject(J)}throw Pe(this,_n,Tr).call(this,{type:"error",error:G}),G}finally{b(this,vt).runNext(this)}}},xs=new WeakMap,Nn=new WeakMap,vt=new WeakMap,vo=new WeakMap,_n=new WeakSet,Tr=function(r){const i=s=>{switch(r.type){case"failed":return{...s,failureCount:r.failureCount,failureReason:r.error};case"pause":return{...s,isPaused:!0};case"continue":return{...s,isPaused:!1};case"pending":return{...s,context:r.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:r.isPaused,status:"pending",variables:r.variables,submittedAt:Date.now()};case"success":return{...s,data:r.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...s,data:void 0,error:r.error,failureCount:s.failureCount+1,failureReason:r.error,isPaused:!1,status:"error"}}};this.state=i(this.state),rt.batch(()=>{b(this,Nn).forEach(s=>{s.onMutationUpdate(r)}),b(this,vt).notify({mutation:this,type:"updated",action:r})})},Sm);function rv(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Xn,fn,Ss,Cm,zw=(Cm=class extends xi{constructor(r={}){super();me(this,Xn);me(this,fn);me(this,Ss);this.config=r,ee(this,Xn,new Set),ee(this,fn,new Map),ee(this,Ss,0)}build(r,i,s){const l=new Fw({client:r,mutationCache:this,mutationId:++ja(this,Ss)._,options:r.defaultMutationOptions(i),state:s});return this.add(l),l}add(r){b(this,Xn).add(r);const i=Ha(r);if(typeof i=="string"){const s=b(this,fn).get(i);s?s.push(r):b(this,fn).set(i,[r])}this.notify({type:"added",mutation:r})}remove(r){if(b(this,Xn).delete(r)){const i=Ha(r);if(typeof i=="string"){const s=b(this,fn).get(i);if(s)if(s.length>1){const l=s.indexOf(r);l!==-1&&s.splice(l,1)}else s[0]===r&&b(this,fn).delete(i)}}this.notify({type:"removed",mutation:r})}canRun(r){const i=Ha(r);if(typeof i=="string"){const s=b(this,fn).get(i),l=s==null?void 0:s.find(c=>c.state.status==="pending");return!l||l===r}else return!0}runNext(r){var s;const i=Ha(r);if(typeof i=="string"){const l=(s=b(this,fn).get(i))==null?void 0:s.find(c=>c!==r&&c.state.isPaused);return(l==null?void 0:l.continue())??Promise.resolve()}else return Promise.resolve()}clear(){rt.batch(()=>{b(this,Xn).forEach(r=>{this.notify({type:"removed",mutation:r})}),b(this,Xn).clear(),b(this,fn).clear()})}getAll(){return Array.from(b(this,Xn))}find(r){const i={exact:!0,...r};return this.getAll().find(s=>Rh(i,s))}findAll(r={}){return this.getAll().filter(i=>Rh(r,i))}notify(r){rt.batch(()=>{this.listeners.forEach(i=>{i(r)})})}resumePausedMutations(){const r=this.getAll().filter(i=>i.state.isPaused);return rt.batch(()=>Promise.all(r.map(i=>i.continue().catch(kt))))}},Xn=new WeakMap,fn=new WeakMap,Ss=new WeakMap,Cm);function Ha(n){var r;return(r=n.options.scope)==null?void 0:r.id}var Zn,Dr,Lt,Jn,tr,Za,jc,km,jw=(km=class extends xi{constructor(i,s){super();me(this,tr);me(this,Zn);me(this,Dr);me(this,Lt);me(this,Jn);ee(this,Zn,i),this.setOptions(s),this.bindMethods(),Pe(this,tr,Za).call(this)}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(i){var l;const s=this.options;this.options=b(this,Zn).defaultMutationOptions(i),rl(this.options,s)||b(this,Zn).getMutationCache().notify({type:"observerOptionsUpdated",mutation:b(this,Lt),observer:this}),s!=null&&s.mutationKey&&this.options.mutationKey&&go(s.mutationKey)!==go(this.options.mutationKey)?this.reset():((l=b(this,Lt))==null?void 0:l.state.status)==="pending"&&b(this,Lt).setOptions(this.options)}onUnsubscribe(){var i;this.hasListeners()||(i=b(this,Lt))==null||i.removeObserver(this)}onMutationUpdate(i){Pe(this,tr,Za).call(this),Pe(this,tr,jc).call(this,i)}getCurrentResult(){return b(this,Dr)}reset(){var i;(i=b(this,Lt))==null||i.removeObserver(this),ee(this,Lt,void 0),Pe(this,tr,Za).call(this),Pe(this,tr,jc).call(this)}mutate(i,s){var l;return ee(this,Jn,s),(l=b(this,Lt))==null||l.removeObserver(this),ee(this,Lt,b(this,Zn).getMutationCache().build(b(this,Zn),this.options)),b(this,Lt).addObserver(this),b(this,Lt).execute(i)}},Zn=new WeakMap,Dr=new WeakMap,Lt=new WeakMap,Jn=new WeakMap,tr=new WeakSet,Za=function(){var s;const i=((s=b(this,Lt))==null?void 0:s.state)??rv();ee(this,Dr,{...i,isPending:i.status==="pending",isSuccess:i.status==="success",isError:i.status==="error",isIdle:i.status==="idle",mutate:this.mutate,reset:this.reset})},jc=function(i){rt.batch(()=>{var s,l,c,f,p,h,m,w;if(b(this,Jn)&&this.hasListeners()){const x=b(this,Dr).variables,k=b(this,Dr).context,g={client:b(this,Zn),meta:this.options.meta,mutationKey:this.options.mutationKey};if((i==null?void 0:i.type)==="success"){try{(l=(s=b(this,Jn)).onSuccess)==null||l.call(s,i.data,x,k,g)}catch(O){Promise.reject(O)}try{(f=(c=b(this,Jn)).onSettled)==null||f.call(c,i.data,null,x,k,g)}catch(O){Promise.reject(O)}}else if((i==null?void 0:i.type)==="error"){try{(h=(p=b(this,Jn)).onError)==null||h.call(p,i.error,x,k,g)}catch(O){Promise.reject(O)}try{(w=(m=b(this,Jn)).onSettled)==null||w.call(m,void 0,i.error,x,k,g)}catch(O){Promise.reject(O)}}}this.listeners.forEach(x=>{x(b(this,Dr))})})},km),Ln,Em,Bw=(Em=class extends xi{constructor(r={}){super();me(this,Ln);this.config=r,ee(this,Ln,new Map)}build(r,i,s){const l=i.queryKey,c=i.queryHash??ud(l,i);let f=this.get(c);return f||(f=new _w({client:r,queryKey:l,queryHash:c,options:r.defaultQueryOptions(i),state:s,defaultOptions:r.getQueryDefaults(l)}),this.add(f)),f}add(r){b(this,Ln).has(r.queryHash)||(b(this,Ln).set(r.queryHash,r),this.notify({type:"added",query:r}))}remove(r){const i=b(this,Ln).get(r.queryHash);i&&(r.destroy(),i===r&&b(this,Ln).delete(r.queryHash),this.notify({type:"removed",query:r}))}clear(){rt.batch(()=>{this.getAll().forEach(r=>{this.remove(r)})})}get(r){return b(this,Ln).get(r)}getAll(){return[...b(this,Ln).values()]}find(r){const i={exact:!0,...r};return this.getAll().find(s=>bh(i,s))}findAll(r={}){const i=this.getAll();return Object.keys(r).length>0?i.filter(s=>bh(r,s)):i}notify(r){rt.batch(()=>{this.listeners.forEach(i=>{i(r)})})}onFocus(){rt.batch(()=>{this.getAll().forEach(r=>{r.onFocus()})})}onOnline(){rt.batch(()=>{this.getAll().forEach(r=>{r.onOnline()})})}},Ln=new WeakMap,Em),Ge,Fr,zr,fi,pi,jr,hi,mi,bm,zk=(bm=class{constructor(n={}){me(this,Ge);me(this,Fr);me(this,zr);me(this,fi);me(this,pi);me(this,jr);me(this,hi);me(this,mi);ee(this,Ge,n.queryCache||new Bw),ee(this,Fr,n.mutationCache||new zw),ee(this,zr,n.defaultOptions||{}),ee(this,fi,new Map),ee(this,pi,new Map),ee(this,jr,0)}mount(){ja(this,jr)._++,b(this,jr)===1&&(ee(this,hi,fd.subscribe(async n=>{n&&(await this.resumePausedMutations(),b(this,Ge).onFocus())})),ee(this,mi,ol.subscribe(async n=>{n&&(await this.resumePausedMutations(),b(this,Ge).onOnline())})))}unmount(){var n,r;ja(this,jr)._--,b(this,jr)===0&&((n=b(this,hi))==null||n.call(this),ee(this,hi,void 0),(r=b(this,mi))==null||r.call(this),ee(this,mi,void 0))}isFetching(n){return b(this,Ge).findAll({...n,fetchStatus:"fetching"}).length}isMutating(n){return b(this,Fr).findAll({...n,status:"pending"}).length}getQueryData(n){var i;const r=this.defaultQueryOptions({queryKey:n});return(i=b(this,Ge).get(r.queryHash))==null?void 0:i.state.data}ensureQueryData(n){const r=this.defaultQueryOptions(n),i=b(this,Ge).build(this,r),s=i.state.data;return s===void 0?this.fetchQuery(n):(n.revalidateIfStale&&i.isStaleByTime(Br(r.staleTime,i))&&this.prefetchQuery(r),Promise.resolve(s))}getQueriesData(n){return b(this,Ge).findAll(n).map(({queryKey:r,state:i})=>{const s=i.data;return[r,s]})}setQueryData(n,r,i){const s=this.defaultQueryOptions({queryKey:n}),l=b(this,Ge).get(s.queryHash),c=l==null?void 0:l.state.data,f=Sw(r,c);if(f!==void 0)return b(this,Ge).build(this,s).setData(f,{...i,manual:!0})}setQueriesData(n,r,i){return rt.batch(()=>b(this,Ge).findAll(n).map(({queryKey:s})=>[s,this.setQueryData(s,r,i)]))}getQueryState(n){var i;const r=this.defaultQueryOptions({queryKey:n});return(i=b(this,Ge).get(r.queryHash))==null?void 0:i.state}removeQueries(n){const r=b(this,Ge);rt.batch(()=>{r.findAll(n).forEach(i=>{r.remove(i)})})}resetQueries(n,r){const i=b(this,Ge);return rt.batch(()=>(i.findAll(n).forEach(s=>{s.reset()}),this.refetchQueries({type:"active",...n},r)))}cancelQueries(n,r={}){const i={revert:!0,...r},s=rt.batch(()=>b(this,Ge).findAll(n).map(l=>l.cancel(i)));return Promise.all(s).then(kt).catch(kt)}invalidateQueries(n,r={}){return rt.batch(()=>(b(this,Ge).findAll(n).forEach(i=>{i.invalidate()}),(n==null?void 0:n.refetchType)==="none"?Promise.resolve():this.refetchQueries({...n,type:(n==null?void 0:n.refetchType)??(n==null?void 0:n.type)??"active"},r)))}refetchQueries(n,r={}){const i={...r,cancelRefetch:r.cancelRefetch??!0},s=rt.batch(()=>b(this,Ge).findAll(n).filter(l=>!l.isDisabled()&&!l.isStatic()).map(l=>{let c=l.fetch(void 0,i);return i.throwOnError||(c=c.catch(kt)),l.state.fetchStatus==="paused"?Promise.resolve():c}));return Promise.all(s).then(kt)}fetchQuery(n){const r=this.defaultQueryOptions(n);r.retry===void 0&&(r.retry=!1);const i=b(this,Ge).build(this,r);return i.isStaleByTime(Br(r.staleTime,i))?i.fetch(r):Promise.resolve(i.state.data)}prefetchQuery(n){return this.fetchQuery(n).then(kt).catch(kt)}fetchInfiniteQuery(n){return n.behavior=Lh(n.pages),this.fetchQuery(n)}prefetchInfiniteQuery(n){return this.fetchInfiniteQuery(n).then(kt).catch(kt)}ensureInfiniteQueryData(n){return n.behavior=Lh(n.pages),this.ensureQueryData(n)}resumePausedMutations(){return ol.isOnline()?b(this,Fr).resumePausedMutations():Promise.resolve()}getQueryCache(){return b(this,Ge)}getMutationCache(){return b(this,Fr)}getDefaultOptions(){return b(this,zr)}setDefaultOptions(n){ee(this,zr,n)}setQueryDefaults(n,r){b(this,fi).set(go(n),{queryKey:n,defaultOptions:r})}getQueryDefaults(n){const r=[...b(this,fi).values()],i={};return r.forEach(s=>{hs(n,s.queryKey)&&Object.assign(i,s.defaultOptions)}),i}setMutationDefaults(n,r){b(this,pi).set(go(n),{mutationKey:n,defaultOptions:r})}getMutationDefaults(n){const r=[...b(this,pi).values()],i={};return r.forEach(s=>{hs(n,s.mutationKey)&&Object.assign(i,s.defaultOptions)}),i}defaultQueryOptions(n){if(n._defaulted)return n;const r={...b(this,zr).queries,...this.getQueryDefaults(n.queryKey),...n,_defaulted:!0};return r.queryHash||(r.queryHash=ud(r.queryKey,r)),r.refetchOnReconnect===void 0&&(r.refetchOnReconnect=r.networkMode!=="always"),r.throwOnError===void 0&&(r.throwOnError=!!r.suspense),!r.networkMode&&r.persister&&(r.networkMode="offlineFirst"),r.queryFn===cd&&(r.enabled=!1),r}defaultMutationOptions(n){return n!=null&&n._defaulted?n:{...b(this,zr).mutations,...(n==null?void 0:n.mutationKey)&&this.getMutationDefaults(n.mutationKey),...n,_defaulted:!0}}clear(){b(this,Ge).clear(),b(this,Fr).clear()}},Ge=new WeakMap,Fr=new WeakMap,zr=new WeakMap,fi=new WeakMap,pi=new WeakMap,jr=new WeakMap,hi=new WeakMap,mi=new WeakMap,bm),ov=y.createContext(void 0),iv=n=>{const r=y.useContext(ov);if(!r)throw new Error("No QueryClient set, use QueryClientProvider to set one");return r},jk=({client:n,children:r})=>(y.useEffect(()=>(n.mount(),()=>{n.unmount()}),[n]),V.jsx(ov.Provider,{value:n,children:r})),sv=y.createContext(!1),Uw=()=>y.useContext(sv);sv.Provider;function Hw(){let n=!1;return{clearReset:()=>{n=!1},reset:()=>{n=!0},isReset:()=>n}}var $w=y.createContext(Hw()),Ww=()=>y.useContext($w),Vw=(n,r,i)=>{const s=i!=null&&i.state.error&&typeof n.throwOnError=="function"?dd(n.throwOnError,[i.state.error,i]):n.throwOnError;(n.suspense||n.experimental_prefetchInRender||s)&&(r.isReset()||(n.retryOnMount=!1))},Qw=n=>{y.useEffect(()=>{n.clearReset()},[n])},Kw=({result:n,errorResetBoundary:r,throwOnError:i,query:s,suspense:l})=>n.isError&&!r.isReset()&&!n.isFetching&&s&&(l&&n.data===void 0||dd(i,[n.error,s])),qw=n=>{if(n.suspense){const i=l=>l==="static"?l:Math.max(l??1e3,1e3),s=n.staleTime;n.staleTime=typeof s=="function"?(...l)=>i(s(...l)):i(s),typeof n.gcTime=="number"&&(n.gcTime=Math.max(n.gcTime,1e3))}},Gw=(n,r)=>n.isLoading&&n.isFetching&&!r,Yw=(n,r)=>(n==null?void 0:n.suspense)&&r.isPending,Ih=(n,r,i)=>r.fetchOptimistic(n).catch(()=>{i.clearReset()});function Xw(n,r,i){var k,g,O,S;const s=Uw(),l=Ww(),c=iv(),f=c.defaultQueryOptions(n);(g=(k=c.getDefaultOptions().queries)==null?void 0:k._experimental_beforeQuery)==null||g.call(k,f);const p=c.getQueryCache().get(f.queryHash);f._optimisticResults=s?"isRestoring":"optimistic",qw(f),Vw(f,l,p),Qw(l);const h=!c.getQueryCache().get(f.queryHash),[m]=y.useState(()=>new r(c,f)),w=m.getOptimisticResult(f),x=!s&&n.subscribed!==!1;if(y.useSyncExternalStore(y.useCallback(C=>{const P=x?m.subscribe(rt.batchCalls(C)):kt;return m.updateResult(),P},[m,x]),()=>m.getCurrentResult(),()=>m.getCurrentResult()),y.useEffect(()=>{m.setOptions(f)},[f,m]),Yw(f,w))throw Ih(f,m,l);if(Kw({result:w,errorResetBoundary:l,throwOnError:f.throwOnError,query:p,suspense:f.suspense}))throw w.error;if((S=(O=c.getDefaultOptions().queries)==null?void 0:O._experimental_afterQuery)==null||S.call(O,f,w),f.experimental_prefetchInRender&&!yo&&Gw(w,s)){const C=h?Ih(f,m,l):p==null?void 0:p.promise;C==null||C.catch(kt).finally(()=>{m.updateResult()})}return f.notifyOnChangeProps?w:m.trackResult(w)}function Bk(n,r){return Xw(n,Lw)}function Uk(n,r){const i=iv(),[s]=y.useState(()=>new jw(i,n));y.useEffect(()=>{s.setOptions(n)},[s,n]);const l=y.useSyncExternalStore(y.useCallback(f=>s.subscribe(rt.batchCalls(f)),[s]),()=>s.getCurrentResult(),()=>s.getCurrentResult()),c=y.useCallback((f,p)=>{s.mutate(f,p).catch(kt)},[s]);if(l.error&&dd(s.options.throwOnError,[l.error]))throw l.error;return{...l,mutate:c,mutateAsync:l.mutate}}function av(n){var r,i,s="";if(typeof n=="string"||typeof n=="number")s+=n;else if(typeof n=="object")if(Array.isArray(n)){var l=n.length;for(r=0;r<l;r++)n[r]&&(i=av(n[r]))&&(s&&(s+=" "),s+=i)}else for(i in n)n[i]&&(s&&(s+=" "),s+=i);return s}function Zw(){for(var n,r,i=0,s="",l=arguments.length;i<l;i++)(n=arguments[i])&&(r=av(n))&&(s&&(s+=" "),s+=r);return s}const Dh=n=>typeof n=="boolean"?`${n}`:n===0?"0":n,Fh=Zw,Hk=(n,r)=>i=>{var s;if((r==null?void 0:r.variants)==null)return Fh(n,i==null?void 0:i.class,i==null?void 0:i.className);const{variants:l,defaultVariants:c}=r,f=Object.keys(l).map(m=>{const w=i==null?void 0:i[m],x=c==null?void 0:c[m];if(w===null)return null;const k=Dh(w)||Dh(x);return l[m][k]}),p=i&&Object.entries(i).reduce((m,w)=>{let[x,k]=w;return k===void 0||(m[x]=k),m},{}),h=r==null||(s=r.compoundVariants)===null||s===void 0?void 0:s.reduce((m,w)=>{let{class:x,className:k,...g}=w;return Object.entries(g).every(O=>{let[S,C]=O;return Array.isArray(C)?C.includes({...c,...p}[S]):{...c,...p}[S]===C})?[...m,x,k]:m},[]);return Fh(n,f,h,i==null?void 0:i.class,i==null?void 0:i.className)},hd="-",Jw=n=>{const r=tx(n),{conflictingClassGroups:i,conflictingClassGroupModifiers:s}=n;return{getClassGroupId:f=>{const p=f.split(hd);return p[0]===""&&p.length!==1&&p.shift(),lv(p,r)||ex(f)},getConflictingClassGroupIds:(f,p)=>{const h=i[f]||[];return p&&s[f]?[...h,...s[f]]:h}}},lv=(n,r)=>{var f;if(n.length===0)return r.classGroupId;const i=n[0],s=r.nextPart.get(i),l=s?lv(n.slice(1),s):void 0;if(l)return l;if(r.validators.length===0)return;const c=n.join(hd);return(f=r.validators.find(({validator:p})=>p(c)))==null?void 0:f.classGroupId},zh=/^\[(.+)\]$/,ex=n=>{if(zh.test(n)){const r=zh.exec(n)[1],i=r==null?void 0:r.substring(0,r.indexOf(":"));if(i)return"arbitrary.."+i}},tx=n=>{const{theme:r,prefix:i}=n,s={nextPart:new Map,validators:[]};return rx(Object.entries(n.classGroups),i).forEach(([c,f])=>{Bc(f,s,c,r)}),s},Bc=(n,r,i,s)=>{n.forEach(l=>{if(typeof l=="string"){const c=l===""?r:jh(r,l);c.classGroupId=i;return}if(typeof l=="function"){if(nx(l)){Bc(l(s),r,i,s);return}r.validators.push({validator:l,classGroupId:i});return}Object.entries(l).forEach(([c,f])=>{Bc(f,jh(r,c),i,s)})})},jh=(n,r)=>{let i=n;return r.split(hd).forEach(s=>{i.nextPart.has(s)||i.nextPart.set(s,{nextPart:new Map,validators:[]}),i=i.nextPart.get(s)}),i},nx=n=>n.isThemeGetter,rx=(n,r)=>r?n.map(([i,s])=>{const l=s.map(c=>typeof c=="string"?r+c:typeof c=="object"?Object.fromEntries(Object.entries(c).map(([f,p])=>[r+f,p])):c);return[i,l]}):n,ox=n=>{if(n<1)return{get:()=>{},set:()=>{}};let r=0,i=new Map,s=new Map;const l=(c,f)=>{i.set(c,f),r++,r>n&&(r=0,s=i,i=new Map)};return{get(c){let f=i.get(c);if(f!==void 0)return f;if((f=s.get(c))!==void 0)return l(c,f),f},set(c,f){i.has(c)?i.set(c,f):l(c,f)}}},uv="!",ix=n=>{const{separator:r,experimentalParseClassName:i}=n,s=r.length===1,l=r[0],c=r.length,f=p=>{const h=[];let m=0,w=0,x;for(let C=0;C<p.length;C++){let P=p[C];if(m===0){if(P===l&&(s||p.slice(C,C+c)===r)){h.push(p.slice(w,C)),w=C+c;continue}if(P==="/"){x=C;continue}}P==="["?m++:P==="]"&&m--}const k=h.length===0?p:p.substring(w),g=k.startsWith(uv),O=g?k.substring(1):k,S=x&&x>w?x-w:void 0;return{modifiers:h,hasImportantModifier:g,baseClassName:O,maybePostfixModifierPosition:S}};return i?p=>i({className:p,parseClassName:f}):f},sx=n=>{if(n.length<=1)return n;const r=[];let i=[];return n.forEach(s=>{s[0]==="["?(r.push(...i.sort(),s),i=[]):i.push(s)}),r.push(...i.sort()),r},ax=n=>({cache:ox(n.cacheSize),parseClassName:ix(n),...Jw(n)}),lx=/\s+/,ux=(n,r)=>{const{parseClassName:i,getClassGroupId:s,getConflictingClassGroupIds:l}=r,c=[],f=n.trim().split(lx);let p="";for(let h=f.length-1;h>=0;h-=1){const m=f[h],{modifiers:w,hasImportantModifier:x,baseClassName:k,maybePostfixModifierPosition:g}=i(m);let O=!!g,S=s(O?k.substring(0,g):k);if(!S){if(!O){p=m+(p.length>0?" "+p:p);continue}if(S=s(k),!S){p=m+(p.length>0?" "+p:p);continue}O=!1}const C=sx(w).join(":"),P=x?C+uv:C,T=P+S;if(c.includes(T))continue;c.push(T);const R=l(S,O);for(let L=0;L<R.length;++L){const z=R[L];c.push(P+z)}p=m+(p.length>0?" "+p:p)}return p};function cx(){let n=0,r,i,s="";for(;n<arguments.length;)(r=arguments[n++])&&(i=cv(r))&&(s&&(s+=" "),s+=i);return s}const cv=n=>{if(typeof n=="string")return n;let r,i="";for(let s=0;s<n.length;s++)n[s]&&(r=cv(n[s]))&&(i&&(i+=" "),i+=r);return i};function dx(n,...r){let i,s,l,c=f;function f(h){const m=r.reduce((w,x)=>x(w),n());return i=ax(m),s=i.cache.get,l=i.cache.set,c=p,p(h)}function p(h){const m=s(h);if(m)return m;const w=ux(h,i);return l(h,w),w}return function(){return c(cx.apply(null,arguments))}}const He=n=>{const r=i=>i[n]||[];return r.isThemeGetter=!0,r},dv=/^\[(?:([a-z-]+):)?(.+)\]$/i,fx=/^\d+\/\d+$/,px=new Set(["px","full","screen"]),hx=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,mx=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,vx=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,yx=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,gx=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,qn=n=>ei(n)||px.has(n)||fx.test(n),Pr=n=>Si(n,"length",Rx),ei=n=>!!n&&!Number.isNaN(Number(n)),hc=n=>Si(n,"number",ei),us=n=>!!n&&Number.isInteger(Number(n)),wx=n=>n.endsWith("%")&&ei(n.slice(0,-1)),Re=n=>dv.test(n),Mr=n=>hx.test(n),xx=new Set(["length","size","percentage"]),Sx=n=>Si(n,xx,fv),Cx=n=>Si(n,"position",fv),kx=new Set(["image","url"]),Ex=n=>Si(n,kx,Mx),bx=n=>Si(n,"",Px),cs=()=>!0,Si=(n,r,i)=>{const s=dv.exec(n);return s?s[1]?typeof r=="string"?s[1]===r:r.has(s[1]):i(s[2]):!1},Rx=n=>mx.test(n)&&!vx.test(n),fv=()=>!1,Px=n=>yx.test(n),Mx=n=>gx.test(n),Tx=()=>{const n=He("colors"),r=He("spacing"),i=He("blur"),s=He("brightness"),l=He("borderColor"),c=He("borderRadius"),f=He("borderSpacing"),p=He("borderWidth"),h=He("contrast"),m=He("grayscale"),w=He("hueRotate"),x=He("invert"),k=He("gap"),g=He("gradientColorStops"),O=He("gradientColorStopPositions"),S=He("inset"),C=He("margin"),P=He("opacity"),T=He("padding"),R=He("saturate"),L=He("scale"),z=He("sepia"),U=He("skew"),H=He("space"),G=He("translate"),J=()=>["auto","contain","none"],te=()=>["auto","hidden","clip","visible","scroll"],he=()=>["auto",Re,r],Z=()=>[Re,r],ye=()=>["",qn,Pr],de=()=>["auto",ei,Re],xe=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],ue=()=>["solid","dashed","dotted","double","none"],se=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],j=()=>["start","end","center","between","around","evenly","stretch"],B=()=>["","0",Re],Q=()=>["auto","avoid","all","avoid-page","page","left","right","column"],N=()=>[ei,Re];return{cacheSize:500,separator:":",theme:{colors:[cs],spacing:[qn,Pr],blur:["none","",Mr,Re],brightness:N(),borderColor:[n],borderRadius:["none","","full",Mr,Re],borderSpacing:Z(),borderWidth:ye(),contrast:N(),grayscale:B(),hueRotate:N(),invert:B(),gap:Z(),gradientColorStops:[n],gradientColorStopPositions:[wx,Pr],inset:he(),margin:he(),opacity:N(),padding:Z(),saturate:N(),scale:N(),sepia:B(),skew:N(),space:Z(),translate:Z()},classGroups:{aspect:[{aspect:["auto","square","video",Re]}],container:["container"],columns:[{columns:[Mr]}],"break-after":[{"break-after":Q()}],"break-before":[{"break-before":Q()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...xe(),Re]}],overflow:[{overflow:te()}],"overflow-x":[{"overflow-x":te()}],"overflow-y":[{"overflow-y":te()}],overscroll:[{overscroll:J()}],"overscroll-x":[{"overscroll-x":J()}],"overscroll-y":[{"overscroll-y":J()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[S]}],"inset-x":[{"inset-x":[S]}],"inset-y":[{"inset-y":[S]}],start:[{start:[S]}],end:[{end:[S]}],top:[{top:[S]}],right:[{right:[S]}],bottom:[{bottom:[S]}],left:[{left:[S]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",us,Re]}],basis:[{basis:he()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",Re]}],grow:[{grow:B()}],shrink:[{shrink:B()}],order:[{order:["first","last","none",us,Re]}],"grid-cols":[{"grid-cols":[cs]}],"col-start-end":[{col:["auto",{span:["full",us,Re]},Re]}],"col-start":[{"col-start":de()}],"col-end":[{"col-end":de()}],"grid-rows":[{"grid-rows":[cs]}],"row-start-end":[{row:["auto",{span:[us,Re]},Re]}],"row-start":[{"row-start":de()}],"row-end":[{"row-end":de()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",Re]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",Re]}],gap:[{gap:[k]}],"gap-x":[{"gap-x":[k]}],"gap-y":[{"gap-y":[k]}],"justify-content":[{justify:["normal",...j()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...j(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...j(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[T]}],px:[{px:[T]}],py:[{py:[T]}],ps:[{ps:[T]}],pe:[{pe:[T]}],pt:[{pt:[T]}],pr:[{pr:[T]}],pb:[{pb:[T]}],pl:[{pl:[T]}],m:[{m:[C]}],mx:[{mx:[C]}],my:[{my:[C]}],ms:[{ms:[C]}],me:[{me:[C]}],mt:[{mt:[C]}],mr:[{mr:[C]}],mb:[{mb:[C]}],ml:[{ml:[C]}],"space-x":[{"space-x":[H]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[H]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",Re,r]}],"min-w":[{"min-w":[Re,r,"min","max","fit"]}],"max-w":[{"max-w":[Re,r,"none","full","min","max","fit","prose",{screen:[Mr]},Mr]}],h:[{h:[Re,r,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[Re,r,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[Re,r,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[Re,r,"auto","min","max","fit"]}],"font-size":[{text:["base",Mr,Pr]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",hc]}],"font-family":[{font:[cs]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",Re]}],"line-clamp":[{"line-clamp":["none",ei,hc]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",qn,Re]}],"list-image":[{"list-image":["none",Re]}],"list-style-type":[{list:["none","disc","decimal",Re]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[n]}],"placeholder-opacity":[{"placeholder-opacity":[P]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[n]}],"text-opacity":[{"text-opacity":[P]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ue(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",qn,Pr]}],"underline-offset":[{"underline-offset":["auto",qn,Re]}],"text-decoration-color":[{decoration:[n]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:Z()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Re]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Re]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[P]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...xe(),Cx]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Sx]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Ex]}],"bg-color":[{bg:[n]}],"gradient-from-pos":[{from:[O]}],"gradient-via-pos":[{via:[O]}],"gradient-to-pos":[{to:[O]}],"gradient-from":[{from:[g]}],"gradient-via":[{via:[g]}],"gradient-to":[{to:[g]}],rounded:[{rounded:[c]}],"rounded-s":[{"rounded-s":[c]}],"rounded-e":[{"rounded-e":[c]}],"rounded-t":[{"rounded-t":[c]}],"rounded-r":[{"rounded-r":[c]}],"rounded-b":[{"rounded-b":[c]}],"rounded-l":[{"rounded-l":[c]}],"rounded-ss":[{"rounded-ss":[c]}],"rounded-se":[{"rounded-se":[c]}],"rounded-ee":[{"rounded-ee":[c]}],"rounded-es":[{"rounded-es":[c]}],"rounded-tl":[{"rounded-tl":[c]}],"rounded-tr":[{"rounded-tr":[c]}],"rounded-br":[{"rounded-br":[c]}],"rounded-bl":[{"rounded-bl":[c]}],"border-w":[{border:[p]}],"border-w-x":[{"border-x":[p]}],"border-w-y":[{"border-y":[p]}],"border-w-s":[{"border-s":[p]}],"border-w-e":[{"border-e":[p]}],"border-w-t":[{"border-t":[p]}],"border-w-r":[{"border-r":[p]}],"border-w-b":[{"border-b":[p]}],"border-w-l":[{"border-l":[p]}],"border-opacity":[{"border-opacity":[P]}],"border-style":[{border:[...ue(),"hidden"]}],"divide-x":[{"divide-x":[p]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[p]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[P]}],"divide-style":[{divide:ue()}],"border-color":[{border:[l]}],"border-color-x":[{"border-x":[l]}],"border-color-y":[{"border-y":[l]}],"border-color-s":[{"border-s":[l]}],"border-color-e":[{"border-e":[l]}],"border-color-t":[{"border-t":[l]}],"border-color-r":[{"border-r":[l]}],"border-color-b":[{"border-b":[l]}],"border-color-l":[{"border-l":[l]}],"divide-color":[{divide:[l]}],"outline-style":[{outline:["",...ue()]}],"outline-offset":[{"outline-offset":[qn,Re]}],"outline-w":[{outline:[qn,Pr]}],"outline-color":[{outline:[n]}],"ring-w":[{ring:ye()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[n]}],"ring-opacity":[{"ring-opacity":[P]}],"ring-offset-w":[{"ring-offset":[qn,Pr]}],"ring-offset-color":[{"ring-offset":[n]}],shadow:[{shadow:["","inner","none",Mr,bx]}],"shadow-color":[{shadow:[cs]}],opacity:[{opacity:[P]}],"mix-blend":[{"mix-blend":[...se(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":se()}],filter:[{filter:["","none"]}],blur:[{blur:[i]}],brightness:[{brightness:[s]}],contrast:[{contrast:[h]}],"drop-shadow":[{"drop-shadow":["","none",Mr,Re]}],grayscale:[{grayscale:[m]}],"hue-rotate":[{"hue-rotate":[w]}],invert:[{invert:[x]}],saturate:[{saturate:[R]}],sepia:[{sepia:[z]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[i]}],"backdrop-brightness":[{"backdrop-brightness":[s]}],"backdrop-contrast":[{"backdrop-contrast":[h]}],"backdrop-grayscale":[{"backdrop-grayscale":[m]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[w]}],"backdrop-invert":[{"backdrop-invert":[x]}],"backdrop-opacity":[{"backdrop-opacity":[P]}],"backdrop-saturate":[{"backdrop-saturate":[R]}],"backdrop-sepia":[{"backdrop-sepia":[z]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[f]}],"border-spacing-x":[{"border-spacing-x":[f]}],"border-spacing-y":[{"border-spacing-y":[f]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",Re]}],duration:[{duration:N()}],ease:[{ease:["linear","in","out","in-out",Re]}],delay:[{delay:N()}],animate:[{animate:["none","spin","ping","pulse","bounce",Re]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[L]}],"scale-x":[{"scale-x":[L]}],"scale-y":[{"scale-y":[L]}],rotate:[{rotate:[us,Re]}],"translate-x":[{"translate-x":[G]}],"translate-y":[{"translate-y":[G]}],"skew-x":[{"skew-x":[U]}],"skew-y":[{"skew-y":[U]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",Re]}],accent:[{accent:["auto",n]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Re]}],"caret-color":[{caret:[n]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":Z()}],"scroll-mx":[{"scroll-mx":Z()}],"scroll-my":[{"scroll-my":Z()}],"scroll-ms":[{"scroll-ms":Z()}],"scroll-me":[{"scroll-me":Z()}],"scroll-mt":[{"scroll-mt":Z()}],"scroll-mr":[{"scroll-mr":Z()}],"scroll-mb":[{"scroll-mb":Z()}],"scroll-ml":[{"scroll-ml":Z()}],"scroll-p":[{"scroll-p":Z()}],"scroll-px":[{"scroll-px":Z()}],"scroll-py":[{"scroll-py":Z()}],"scroll-ps":[{"scroll-ps":Z()}],"scroll-pe":[{"scroll-pe":Z()}],"scroll-pt":[{"scroll-pt":Z()}],"scroll-pr":[{"scroll-pr":Z()}],"scroll-pb":[{"scroll-pb":Z()}],"scroll-pl":[{"scroll-pl":Z()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Re]}],fill:[{fill:[n,"none"]}],"stroke-w":[{stroke:[qn,Pr,hc]}],stroke:[{stroke:[n,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},$k=dx(Tx);function $e(n,r,{checkForDefaultPrevented:i=!0}={}){return function(l){if(n==null||n(l),i===!1||!l.defaultPrevented)return r==null?void 0:r(l)}}function Bh(n,r){if(typeof n=="function")return n(r);n!=null&&(n.current=r)}function pv(...n){return r=>{let i=!1;const s=n.map(l=>{const c=Bh(l,r);return!i&&typeof c=="function"&&(i=!0),c});if(i)return()=>{for(let l=0;l<s.length;l++){const c=s[l];typeof c=="function"?c():Bh(n[l],null)}}}}function Je(...n){return y.useCallback(pv(...n),n)}function Ox(n,r){const i=y.createContext(r),s=c=>{const{children:f,...p}=c,h=y.useMemo(()=>p,Object.values(p));return V.jsx(i.Provider,{value:h,children:f})};s.displayName=n+"Provider";function l(c){const f=y.useContext(i);if(f)return f;if(r!==void 0)return r;throw new Error(`\`${c}\` must be used within \`${n}\``)}return[s,l]}function pl(n,r=[]){let i=[];function s(c,f){const p=y.createContext(f),h=i.length;i=[...i,f];const m=x=>{var P;const{scope:k,children:g,...O}=x,S=((P=k==null?void 0:k[n])==null?void 0:P[h])||p,C=y.useMemo(()=>O,Object.values(O));return V.jsx(S.Provider,{value:C,children:g})};m.displayName=c+"Provider";function w(x,k){var S;const g=((S=k==null?void 0:k[n])==null?void 0:S[h])||p,O=y.useContext(g);if(O)return O;if(f!==void 0)return f;throw new Error(`\`${x}\` must be used within \`${c}\``)}return[m,w]}const l=()=>{const c=i.map(f=>y.createContext(f));return function(p){const h=(p==null?void 0:p[n])||c;return y.useMemo(()=>({[`__scope${n}`]:{...p,[n]:h}}),[p,h])}};return l.scopeName=n,[s,Nx(l,...r)]}function Nx(...n){const r=n[0];if(n.length===1)return r;const i=()=>{const s=n.map(l=>({useScope:l(),scopeName:l.scopeName}));return function(c){const f=s.reduce((p,{useScope:h,scopeName:m})=>{const x=h(c)[`__scope${m}`];return{...p,...x}},{});return y.useMemo(()=>({[`__scope${r.scopeName}`]:f}),[f])}};return i.scopeName=r.scopeName,i}var yt=globalThis!=null&&globalThis.document?y.useLayoutEffect:()=>{},_x=Pm[" useId ".trim().toString()]||(()=>{}),Lx=0;function ti(n){const[r,i]=y.useState(_x());return yt(()=>{i(s=>s??String(Lx++))},[n]),r?`radix-${r}`:""}var Ax=Pm[" useInsertionEffect ".trim().toString()]||yt;function Uc({prop:n,defaultProp:r,onChange:i=()=>{},caller:s}){const[l,c,f]=Ix({defaultProp:r,onChange:i}),p=n!==void 0,h=p?n:l;{const w=y.useRef(n!==void 0);y.useEffect(()=>{const x=w.current;x!==p&&console.warn(`${s} is changing from ${x?"controlled":"uncontrolled"} to ${p?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),w.current=p},[p,s])}const m=y.useCallback(w=>{var x;if(p){const k=Dx(w)?w(n):w;k!==n&&((x=f.current)==null||x.call(f,k))}else c(w)},[p,n,c,f]);return[h,m]}function Ix({defaultProp:n,onChange:r}){const[i,s]=y.useState(n),l=y.useRef(i),c=y.useRef(r);return Ax(()=>{c.current=r},[r]),y.useEffect(()=>{var f;l.current!==i&&((f=c.current)==null||f.call(c,i),l.current=i)},[i,l]),[i,s,c]}function Dx(n){return typeof n=="function"}function ms(n){const r=Fx(n),i=y.forwardRef((s,l)=>{const{children:c,...f}=s,p=y.Children.toArray(c),h=p.find(zx);if(h){const m=h.props.children,w=p.map(x=>x===h?y.Children.count(m)>1?y.Children.only(null):y.isValidElement(m)?m.props.children:null:x);return V.jsx(r,{...f,ref:l,children:y.isValidElement(m)?y.cloneElement(m,void 0,w):null})}return V.jsx(r,{...f,ref:l,children:c})});return i.displayName=`${n}.Slot`,i}function Fx(n){const r=y.forwardRef((i,s)=>{const{children:l,...c}=i;if(y.isValidElement(l)){const f=Bx(l),p=jx(c,l.props);return l.type!==y.Fragment&&(p.ref=s?pv(s,f):f),y.cloneElement(l,p)}return y.Children.count(l)>1?y.Children.only(null):null});return r.displayName=`${n}.SlotClone`,r}var hv=Symbol("radix.slottable");function Wk(n){const r=({children:i})=>V.jsx(V.Fragment,{children:i});return r.displayName=`${n}.Slottable`,r.__radixId=hv,r}function zx(n){return y.isValidElement(n)&&typeof n.type=="function"&&"__radixId"in n.type&&n.type.__radixId===hv}function jx(n,r){const i={...r};for(const s in r){const l=n[s],c=r[s];/^on[A-Z]/.test(s)?l&&c?i[s]=(...p)=>{const h=c(...p);return l(...p),h}:l&&(i[s]=l):s==="style"?i[s]={...l,...c}:s==="className"&&(i[s]=[l,c].filter(Boolean).join(" "))}return{...n,...i}}function Bx(n){var s,l;let r=(s=Object.getOwnPropertyDescriptor(n.props,"ref"))==null?void 0:s.get,i=r&&"isReactWarning"in r&&r.isReactWarning;return i?n.ref:(r=(l=Object.getOwnPropertyDescriptor(n,"ref"))==null?void 0:l.get,i=r&&"isReactWarning"in r&&r.isReactWarning,i?n.props.ref:n.props.ref||n.ref)}var Ux=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],je=Ux.reduce((n,r)=>{const i=ms(`Primitive.${r}`),s=y.forwardRef((l,c)=>{const{asChild:f,...p}=l,h=f?i:r;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),V.jsx(h,{...p,ref:c})});return s.displayName=`Primitive.${r}`,{...n,[r]:s}},{});function Hx(n,r){n&&Es.flushSync(()=>n.dispatchEvent(r))}function wo(n){const r=y.useRef(n);return y.useEffect(()=>{r.current=n}),y.useMemo(()=>(...i)=>{var s;return(s=r.current)==null?void 0:s.call(r,...i)},[])}function $x(n,r=globalThis==null?void 0:globalThis.document){const i=wo(n);y.useEffect(()=>{const s=l=>{l.key==="Escape"&&i(l)};return r.addEventListener("keydown",s,{capture:!0}),()=>r.removeEventListener("keydown",s,{capture:!0})},[i,r])}var Wx="DismissableLayer",Hc="dismissableLayer.update",Vx="dismissableLayer.pointerDownOutside",Qx="dismissableLayer.focusOutside",Uh,mv=y.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),md=y.forwardRef((n,r)=>{const{disableOutsidePointerEvents:i=!1,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:c,onInteractOutside:f,onDismiss:p,...h}=n,m=y.useContext(mv),[w,x]=y.useState(null),k=(w==null?void 0:w.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,g]=y.useState({}),O=Je(r,H=>x(H)),S=Array.from(m.layers),[C]=[...m.layersWithOutsidePointerEventsDisabled].slice(-1),P=S.indexOf(C),T=w?S.indexOf(w):-1,R=m.layersWithOutsidePointerEventsDisabled.size>0,L=T>=P,z=Gx(H=>{const G=H.target,J=[...m.branches].some(te=>te.contains(G));!L||J||(l==null||l(H),f==null||f(H),H.defaultPrevented||p==null||p())},k),U=Yx(H=>{const G=H.target;[...m.branches].some(te=>te.contains(G))||(c==null||c(H),f==null||f(H),H.defaultPrevented||p==null||p())},k);return $x(H=>{T===m.layers.size-1&&(s==null||s(H),!H.defaultPrevented&&p&&(H.preventDefault(),p()))},k),y.useEffect(()=>{if(w)return i&&(m.layersWithOutsidePointerEventsDisabled.size===0&&(Uh=k.body.style.pointerEvents,k.body.style.pointerEvents="none"),m.layersWithOutsidePointerEventsDisabled.add(w)),m.layers.add(w),Hh(),()=>{i&&m.layersWithOutsidePointerEventsDisabled.size===1&&(k.body.style.pointerEvents=Uh)}},[w,k,i,m]),y.useEffect(()=>()=>{w&&(m.layers.delete(w),m.layersWithOutsidePointerEventsDisabled.delete(w),Hh())},[w,m]),y.useEffect(()=>{const H=()=>g({});return document.addEventListener(Hc,H),()=>document.removeEventListener(Hc,H)},[]),V.jsx(je.div,{...h,ref:O,style:{pointerEvents:R?L?"auto":"none":void 0,...n.style},onFocusCapture:$e(n.onFocusCapture,U.onFocusCapture),onBlurCapture:$e(n.onBlurCapture,U.onBlurCapture),onPointerDownCapture:$e(n.onPointerDownCapture,z.onPointerDownCapture)})});md.displayName=Wx;var Kx="DismissableLayerBranch",qx=y.forwardRef((n,r)=>{const i=y.useContext(mv),s=y.useRef(null),l=Je(r,s);return y.useEffect(()=>{const c=s.current;if(c)return i.branches.add(c),()=>{i.branches.delete(c)}},[i.branches]),V.jsx(je.div,{...n,ref:l})});qx.displayName=Kx;function Gx(n,r=globalThis==null?void 0:globalThis.document){const i=wo(n),s=y.useRef(!1),l=y.useRef(()=>{});return y.useEffect(()=>{const c=p=>{if(p.target&&!s.current){let h=function(){vv(Vx,i,m,{discrete:!0})};const m={originalEvent:p};p.pointerType==="touch"?(r.removeEventListener("click",l.current),l.current=h,r.addEventListener("click",l.current,{once:!0})):h()}else r.removeEventListener("click",l.current);s.current=!1},f=window.setTimeout(()=>{r.addEventListener("pointerdown",c)},0);return()=>{window.clearTimeout(f),r.removeEventListener("pointerdown",c),r.removeEventListener("click",l.current)}},[r,i]),{onPointerDownCapture:()=>s.current=!0}}function Yx(n,r=globalThis==null?void 0:globalThis.document){const i=wo(n),s=y.useRef(!1);return y.useEffect(()=>{const l=c=>{c.target&&!s.current&&vv(Qx,i,{originalEvent:c},{discrete:!1})};return r.addEventListener("focusin",l),()=>r.removeEventListener("focusin",l)},[r,i]),{onFocusCapture:()=>s.current=!0,onBlurCapture:()=>s.current=!1}}function Hh(){const n=new CustomEvent(Hc);document.dispatchEvent(n)}function vv(n,r,i,{discrete:s}){const l=i.originalEvent.target,c=new CustomEvent(n,{bubbles:!1,cancelable:!0,detail:i});r&&l.addEventListener(n,r,{once:!0}),s?Hx(l,c):l.dispatchEvent(c)}var mc="focusScope.autoFocusOnMount",vc="focusScope.autoFocusOnUnmount",$h={bubbles:!1,cancelable:!0},Xx="FocusScope",vd=y.forwardRef((n,r)=>{const{loop:i=!1,trapped:s=!1,onMountAutoFocus:l,onUnmountAutoFocus:c,...f}=n,[p,h]=y.useState(null),m=wo(l),w=wo(c),x=y.useRef(null),k=Je(r,S=>h(S)),g=y.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;y.useEffect(()=>{if(s){let S=function(R){if(g.paused||!p)return;const L=R.target;p.contains(L)?x.current=L:Or(x.current,{select:!0})},C=function(R){if(g.paused||!p)return;const L=R.relatedTarget;L!==null&&(p.contains(L)||Or(x.current,{select:!0}))},P=function(R){if(document.activeElement===document.body)for(const z of R)z.removedNodes.length>0&&Or(p)};document.addEventListener("focusin",S),document.addEventListener("focusout",C);const T=new MutationObserver(P);return p&&T.observe(p,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",S),document.removeEventListener("focusout",C),T.disconnect()}}},[s,p,g.paused]),y.useEffect(()=>{if(p){Vh.add(g);const S=document.activeElement;if(!p.contains(S)){const P=new CustomEvent(mc,$h);p.addEventListener(mc,m),p.dispatchEvent(P),P.defaultPrevented||(Zx(r2(yv(p)),{select:!0}),document.activeElement===S&&Or(p))}return()=>{p.removeEventListener(mc,m),setTimeout(()=>{const P=new CustomEvent(vc,$h);p.addEventListener(vc,w),p.dispatchEvent(P),P.defaultPrevented||Or(S??document.body,{select:!0}),p.removeEventListener(vc,w),Vh.remove(g)},0)}}},[p,m,w,g]);const O=y.useCallback(S=>{if(!i&&!s||g.paused)return;const C=S.key==="Tab"&&!S.altKey&&!S.ctrlKey&&!S.metaKey,P=document.activeElement;if(C&&P){const T=S.currentTarget,[R,L]=Jx(T);R&&L?!S.shiftKey&&P===L?(S.preventDefault(),i&&Or(R,{select:!0})):S.shiftKey&&P===R&&(S.preventDefault(),i&&Or(L,{select:!0})):P===T&&S.preventDefault()}},[i,s,g.paused]);return V.jsx(je.div,{tabIndex:-1,...f,ref:k,onKeyDown:O})});vd.displayName=Xx;function Zx(n,{select:r=!1}={}){const i=document.activeElement;for(const s of n)if(Or(s,{select:r}),document.activeElement!==i)return}function Jx(n){const r=yv(n),i=Wh(r,n),s=Wh(r.reverse(),n);return[i,s]}function yv(n){const r=[],i=document.createTreeWalker(n,NodeFilter.SHOW_ELEMENT,{acceptNode:s=>{const l=s.tagName==="INPUT"&&s.type==="hidden";return s.disabled||s.hidden||l?NodeFilter.FILTER_SKIP:s.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;i.nextNode();)r.push(i.currentNode);return r}function Wh(n,r){for(const i of n)if(!e2(i,{upTo:r}))return i}function e2(n,{upTo:r}){if(getComputedStyle(n).visibility==="hidden")return!0;for(;n;){if(r!==void 0&&n===r)return!1;if(getComputedStyle(n).display==="none")return!0;n=n.parentElement}return!1}function t2(n){return n instanceof HTMLInputElement&&"select"in n}function Or(n,{select:r=!1}={}){if(n&&n.focus){const i=document.activeElement;n.focus({preventScroll:!0}),n!==i&&t2(n)&&r&&n.select()}}var Vh=n2();function n2(){let n=[];return{add(r){const i=n[0];r!==i&&(i==null||i.pause()),n=Qh(n,r),n.unshift(r)},remove(r){var i;n=Qh(n,r),(i=n[0])==null||i.resume()}}}function Qh(n,r){const i=[...n],s=i.indexOf(r);return s!==-1&&i.splice(s,1),i}function r2(n){return n.filter(r=>r.tagName!=="A")}var o2="Portal",yd=y.forwardRef((n,r)=>{var p;const{container:i,...s}=n,[l,c]=y.useState(!1);yt(()=>c(!0),[]);const f=i||l&&((p=globalThis==null?void 0:globalThis.document)==null?void 0:p.body);return f?qm.createPortal(V.jsx(je.div,{...s,ref:r}),f):null});yd.displayName=o2;function i2(n,r){return y.useReducer((i,s)=>r[i][s]??i,n)}var hl=n=>{const{present:r,children:i}=n,s=s2(r),l=typeof i=="function"?i({present:s.isPresent}):y.Children.only(i),c=Je(s.ref,a2(l));return typeof i=="function"||s.isPresent?y.cloneElement(l,{ref:c}):null};hl.displayName="Presence";function s2(n){const[r,i]=y.useState(),s=y.useRef(null),l=y.useRef(n),c=y.useRef("none"),f=n?"mounted":"unmounted",[p,h]=i2(f,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return y.useEffect(()=>{const m=$a(s.current);c.current=p==="mounted"?m:"none"},[p]),yt(()=>{const m=s.current,w=l.current;if(w!==n){const k=c.current,g=$a(m);n?h("MOUNT"):g==="none"||(m==null?void 0:m.display)==="none"?h("UNMOUNT"):h(w&&k!==g?"ANIMATION_OUT":"UNMOUNT"),l.current=n}},[n,h]),yt(()=>{if(r){let m;const w=r.ownerDocument.defaultView??window,x=g=>{const S=$a(s.current).includes(CSS.escape(g.animationName));if(g.target===r&&S&&(h("ANIMATION_END"),!l.current)){const C=r.style.animationFillMode;r.style.animationFillMode="forwards",m=w.setTimeout(()=>{r.style.animationFillMode==="forwards"&&(r.style.animationFillMode=C)})}},k=g=>{g.target===r&&(c.current=$a(s.current))};return r.addEventListener("animationstart",k),r.addEventListener("animationcancel",x),r.addEventListener("animationend",x),()=>{w.clearTimeout(m),r.removeEventListener("animationstart",k),r.removeEventListener("animationcancel",x),r.removeEventListener("animationend",x)}}else h("ANIMATION_END")},[r,h]),{isPresent:["mounted","unmountSuspended"].includes(p),ref:y.useCallback(m=>{s.current=m?getComputedStyle(m):null,i(m)},[])}}function $a(n){return(n==null?void 0:n.animationName)||"none"}function a2(n){var s,l;let r=(s=Object.getOwnPropertyDescriptor(n.props,"ref"))==null?void 0:s.get,i=r&&"isReactWarning"in r&&r.isReactWarning;return i?n.ref:(r=(l=Object.getOwnPropertyDescriptor(n,"ref"))==null?void 0:l.get,i=r&&"isReactWarning"in r&&r.isReactWarning,i?n.props.ref:n.props.ref||n.ref)}var yc=0;function gv(){y.useEffect(()=>{const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",n[0]??Kh()),document.body.insertAdjacentElement("beforeend",n[1]??Kh()),yc++,()=>{yc===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),yc--}},[])}function Kh(){const n=document.createElement("span");return n.setAttribute("data-radix-focus-guard",""),n.tabIndex=0,n.style.outline="none",n.style.opacity="0",n.style.position="fixed",n.style.pointerEvents="none",n}var $c=function(n,r){return $c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,s){i.__proto__=s}||function(i,s){for(var l in s)Object.prototype.hasOwnProperty.call(s,l)&&(i[l]=s[l])},$c(n,r)};function Vk(n,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");$c(n,r);function i(){this.constructor=n}n.prototype=r===null?Object.create(r):(i.prototype=r.prototype,new i)}var An=function(){return An=Object.assign||function(r){for(var i,s=1,l=arguments.length;s<l;s++){i=arguments[s];for(var c in i)Object.prototype.hasOwnProperty.call(i,c)&&(r[c]=i[c])}return r},An.apply(this,arguments)};function wv(n,r){var i={};for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&r.indexOf(s)<0&&(i[s]=n[s]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,s=Object.getOwnPropertySymbols(n);l<s.length;l++)r.indexOf(s[l])<0&&Object.prototype.propertyIsEnumerable.call(n,s[l])&&(i[s[l]]=n[s[l]]);return i}function Qk(n){var r=typeof Symbol=="function"&&Symbol.iterator,i=r&&n[r],s=0;if(i)return i.call(n);if(n&&typeof n.length=="number")return{next:function(){return n&&s>=n.length&&(n=void 0),{value:n&&n[s++],done:!n}}};throw new TypeError(r?"Object is not iterable.":"Symbol.iterator is not defined.")}function Kk(n,r){var i=typeof Symbol=="function"&&n[Symbol.iterator];if(!i)return n;var s=i.call(n),l,c=[],f;try{for(;(r===void 0||r-- >0)&&!(l=s.next()).done;)c.push(l.value)}catch(p){f={error:p}}finally{try{l&&!l.done&&(i=s.return)&&i.call(s)}finally{if(f)throw f.error}}return c}function l2(n,r,i){if(i||arguments.length===2)for(var s=0,l=r.length,c;s<l;s++)(c||!(s in r))&&(c||(c=Array.prototype.slice.call(r,0,s)),c[s]=r[s]);return n.concat(c||Array.prototype.slice.call(r))}var Ja="right-scroll-bar-position",el="width-before-scroll-bar",u2="with-scroll-bars-hidden",c2="--removed-body-scroll-bar-size";function gc(n,r){return typeof n=="function"?n(r):n&&(n.current=r),n}function d2(n,r){var i=y.useState(function(){return{value:n,callback:r,facade:{get current(){return i.value},set current(s){var l=i.value;l!==s&&(i.value=s,i.callback(s,l))}}}})[0];return i.callback=r,i.facade}var f2=typeof window<"u"?y.useLayoutEffect:y.useEffect,qh=new WeakMap;function p2(n,r){var i=d2(null,function(s){return n.forEach(function(l){return gc(l,s)})});return f2(function(){var s=qh.get(i);if(s){var l=new Set(s),c=new Set(n),f=i.current;l.forEach(function(p){c.has(p)||gc(p,null)}),c.forEach(function(p){l.has(p)||gc(p,f)})}qh.set(i,n)},[n]),i}function h2(n){return n}function m2(n,r){r===void 0&&(r=h2);var i=[],s=!1,l={read:function(){if(s)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return i.length?i[i.length-1]:n},useMedium:function(c){var f=r(c,s);return i.push(f),function(){i=i.filter(function(p){return p!==f})}},assignSyncMedium:function(c){for(s=!0;i.length;){var f=i;i=[],f.forEach(c)}i={push:function(p){return c(p)},filter:function(){return i}}},assignMedium:function(c){s=!0;var f=[];if(i.length){var p=i;i=[],p.forEach(c),f=i}var h=function(){var w=f;f=[],w.forEach(c)},m=function(){return Promise.resolve().then(h)};m(),i={push:function(w){f.push(w),m()},filter:function(w){return f=f.filter(w),i}}}};return l}function v2(n){n===void 0&&(n={});var r=m2(null);return r.options=An({async:!0,ssr:!1},n),r}var xv=function(n){var r=n.sideCar,i=wv(n,["sideCar"]);if(!r)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var s=r.read();if(!s)throw new Error("Sidecar medium not found");return y.createElement(s,An({},i))};xv.isSideCarExport=!0;function y2(n,r){return n.useMedium(r),xv}var Sv=v2(),wc=function(){},ml=y.forwardRef(function(n,r){var i=y.useRef(null),s=y.useState({onScrollCapture:wc,onWheelCapture:wc,onTouchMoveCapture:wc}),l=s[0],c=s[1],f=n.forwardProps,p=n.children,h=n.className,m=n.removeScrollBar,w=n.enabled,x=n.shards,k=n.sideCar,g=n.noRelative,O=n.noIsolation,S=n.inert,C=n.allowPinchZoom,P=n.as,T=P===void 0?"div":P,R=n.gapMode,L=wv(n,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),z=k,U=p2([i,r]),H=An(An({},L),l);return y.createElement(y.Fragment,null,w&&y.createElement(z,{sideCar:Sv,removeScrollBar:m,shards:x,noRelative:g,noIsolation:O,inert:S,setCallbacks:c,allowPinchZoom:!!C,lockRef:i,gapMode:R}),f?y.cloneElement(y.Children.only(p),An(An({},H),{ref:U})):y.createElement(T,An({},H,{className:h,ref:U}),p))});ml.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};ml.classNames={fullWidth:el,zeroRight:Ja};var g2=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function w2(){if(!document)return null;var n=document.createElement("style");n.type="text/css";var r=g2();return r&&n.setAttribute("nonce",r),n}function x2(n,r){n.styleSheet?n.styleSheet.cssText=r:n.appendChild(document.createTextNode(r))}function S2(n){var r=document.head||document.getElementsByTagName("head")[0];r.appendChild(n)}var C2=function(){var n=0,r=null;return{add:function(i){n==0&&(r=w2())&&(x2(r,i),S2(r)),n++},remove:function(){n--,!n&&r&&(r.parentNode&&r.parentNode.removeChild(r),r=null)}}},k2=function(){var n=C2();return function(r,i){y.useEffect(function(){return n.add(r),function(){n.remove()}},[r&&i])}},Cv=function(){var n=k2(),r=function(i){var s=i.styles,l=i.dynamic;return n(s,l),null};return r},E2={left:0,top:0,right:0,gap:0},xc=function(n){return parseInt(n||"",10)||0},b2=function(n){var r=window.getComputedStyle(document.body),i=r[n==="padding"?"paddingLeft":"marginLeft"],s=r[n==="padding"?"paddingTop":"marginTop"],l=r[n==="padding"?"paddingRight":"marginRight"];return[xc(i),xc(s),xc(l)]},R2=function(n){if(n===void 0&&(n="margin"),typeof window>"u")return E2;var r=b2(n),i=document.documentElement.clientWidth,s=window.innerWidth;return{left:r[0],top:r[1],right:r[2],gap:Math.max(0,s-i+r[2]-r[0])}},P2=Cv(),ni="data-scroll-locked",M2=function(n,r,i,s){var l=n.left,c=n.top,f=n.right,p=n.gap;return i===void 0&&(i="margin"),`
|
|
52
|
-
.`.concat(
|
|
51
|
+
Please change the parent <Route path="${b}"> to <Route path="${b==="/"?"*":`${b}/*`}">.`)}let k=$r(),g;if(r){let b=typeof r=="string"?yi(r):r;Ve(w==="/"||((T=b.pathname)==null?void 0:T.startsWith(w)),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${w}" but pathname "${b.pathname}" was given in the \`location\` prop.`),g=b}else g=k;let O=g.pathname||"/",S=O;if(w!=="/"){let b=w.replace(/^\//,"").split("/");S="/"+O.replace(/^\//,"").split("/").slice(b.length).join("/")}let C=Mm(n,{pathname:S});pn(x||C!=null,`No routes matched location "${g.pathname}${g.search}${g.hash}" `),pn(C==null||C[C.length-1].route.element!==void 0||C[C.length-1].route.Component!==void 0||C[C.length-1].route.lazy!==void 0,`Matched leaf route at location "${g.pathname}${g.search}${g.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.`);let P=T1(C&&C.map(b=>Object.assign({},b,{params:Object.assign({},h,b.params),pathname:er([w,c.encodeLocation?c.encodeLocation(b.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:b.pathname]),pathnameBase:b.pathnameBase==="/"?w:er([w,c.encodeLocation?c.encodeLocation(b.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:b.pathnameBase])})),f,i,s,l);return r&&P?y.createElement(Cs.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...g},navigationType:"POP"}},P):P}function R1(){let n=A1(),r=f1(n)?`${n.status} ${n.statusText}`:n instanceof Error?n.message:JSON.stringify(n),i=n instanceof Error?n.stack:null,s="rgba(200,200,200, 0.5)",l={padding:"0.5rem",backgroundColor:s},c={padding:"2px 4px",backgroundColor:s},f=null;return console.error("Error handled by React Router default ErrorBoundary:",n),f=y.createElement(y.Fragment,null,y.createElement("p",null,"💿 Hey developer 👋"),y.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",y.createElement("code",{style:c},"ErrorBoundary")," or"," ",y.createElement("code",{style:c},"errorElement")," prop on your route.")),y.createElement(y.Fragment,null,y.createElement("h2",null,"Unexpected Application Error!"),y.createElement("h3",{style:{fontStyle:"italic"}},r),i?y.createElement("pre",{style:l},i):null,f)}var b1=y.createElement(R1,null),Bm=class extends y.Component{constructor(n){super(n),this.state={location:n.location,revalidation:n.revalidation,error:n.error}}static getDerivedStateFromError(n){return{error:n}}static getDerivedStateFromProps(n,r){return r.location!==n.location||r.revalidation!=="idle"&&n.revalidation==="idle"?{error:n.error,location:n.location,revalidation:n.revalidation}:{error:n.error!==void 0?n.error:r.error,location:r.location,revalidation:n.revalidation||r.revalidation}}componentDidCatch(n,r){this.props.onError?this.props.onError(n,r):console.error("React Router caught the following error during render",n)}render(){let n=this.state.error;if(this.context&&typeof n=="object"&&n&&"digest"in n&&typeof n.digest=="string"){const i=S1(n.digest);i&&(n=i)}let r=n!==void 0?y.createElement(vn.Provider,{value:this.props.routeContext},y.createElement(rd.Provider,{value:n,children:this.props.component})):this.props.children;return this.context?y.createElement(P1,{error:n},r):r}};Bm.contextType=m1;var fc=new WeakMap;function P1({children:n,error:r}){let{basename:i}=y.useContext(Ut);if(typeof r=="object"&&r&&"digest"in r&&typeof r.digest=="string"){let s=x1(r.digest);if(s){let l=fc.get(r);if(l)throw l;let c=_m(s.location,i);if(Nm&&!fc.get(r))if(c.isExternal||s.reloadDocument)window.location.href=c.absoluteURL||c.to;else{const f=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(c.to,{replace:s.replace}));throw fc.set(r,f),f}return y.createElement("meta",{httpEquiv:"refresh",content:`0;url=${c.absoluteURL||c.to}`})}}return n}function M1({routeContext:n,match:r,children:i}){let s=y.useContext(gi);return s&&s.static&&s.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(s.staticContext._deepestRenderedBoundaryId=r.route.id),y.createElement(vn.Provider,{value:n},i)}function T1(n,r=[],i=null,s=null,l=null){if(n==null){if(!i)return null;if(i.errors)n=i.matches;else if(r.length===0&&!i.initialized&&i.matches.length>0)n=i.matches;else return null}let c=n,f=i==null?void 0:i.errors;if(f!=null){let w=c.findIndex(x=>x.route.id&&(f==null?void 0:f[x.route.id])!==void 0);Ve(w>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(f).join(",")}`),c=c.slice(0,Math.min(c.length,w+1))}let p=!1,h=-1;if(i)for(let w=0;w<c.length;w++){let x=c[w];if((x.route.HydrateFallback||x.route.hydrateFallbackElement)&&(h=w),x.route.id){let{loaderData:k,errors:g}=i,O=x.route.loader&&!k.hasOwnProperty(x.route.id)&&(!g||g[x.route.id]===void 0);if(x.route.lazy||O){p=!0,h>=0?c=c.slice(0,h+1):c=[c[0]];break}}}let m=i&&s?(w,x)=>{var k,g;s(w,{location:i.location,params:((g=(k=i.matches)==null?void 0:k[0])==null?void 0:g.params)??{},unstable_pattern:p1(i.matches),errorInfo:x})}:void 0;return c.reduceRight((w,x,k)=>{let g,O=!1,S=null,C=null;i&&(g=f&&x.route.id?f[x.route.id]:void 0,S=x.route.errorElement||b1,p&&(h<0&&k===0?(Um("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),O=!0,C=null):h===k&&(O=!0,C=x.route.hydrateFallbackElement||null)));let P=r.concat(c.slice(0,k+1)),T=()=>{let b;return g?b=S:O?b=C:x.route.Component?b=y.createElement(x.route.Component,null):x.route.element?b=x.route.element:b=w,y.createElement(M1,{match:x,routeContext:{outlet:w,matches:P,isDataRoute:i!=null},children:b})};return i&&(x.route.ErrorBoundary||x.route.errorElement||k===0)?y.createElement(Bm,{location:i.location,revalidation:i.revalidation,component:S,error:g,children:T(),routeContext:{outlet:null,matches:P,isDataRoute:!0},onError:m}):T()},null)}function od(n){return`${n} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function O1(n){let r=y.useContext(gi);return Ve(r,od(n)),r}function N1(n){let r=y.useContext(dl);return Ve(r,od(n)),r}function _1(n){let r=y.useContext(vn);return Ve(r,od(n)),r}function id(n){let r=_1(n),i=r.matches[r.matches.length-1];return Ve(i.route.id,`${n} can only be used on routes that contain a unique "id"`),i.route.id}function L1(){return id("useRouteId")}function A1(){var s;let n=y.useContext(rd),r=N1("useRouteError"),i=id("useRouteError");return n!==void 0?n:(s=r.errors)==null?void 0:s[i]}function I1(){let{router:n}=O1("useNavigate"),r=id("useNavigate"),i=y.useRef(!1);return Fm(()=>{i.current=!0}),y.useCallback(async(l,c={})=>{pn(i.current,Dm),i.current&&(typeof l=="number"?await n.navigate(l):await n.navigate(l,{fromRouteId:r,...c}))},[n,r])}var Ch={};function Um(n,r,i){!r&&!Ch[n]&&(Ch[n]=!0,pn(!1,i))}y.memo(D1);function D1({routes:n,future:r,state:i,onError:s}){return jm(n,void 0,i,s,r)}function Lk({to:n,replace:r,state:i,relative:s}){Ve(wi(),"<Navigate> may be used only in the context of a <Router> component.");let{static:l}=y.useContext(Ut);pn(!l,"<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:c}=y.useContext(vn),{pathname:f}=$r(),p=zm(),h=nd(n,td(c),f,s==="path"),m=JSON.stringify(h);return y.useEffect(()=>{p(JSON.parse(m),{replace:r,state:i,relative:s})},[p,m,s,r,i]),null}function F1(n){Ve(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function z1({basename:n="/",children:r=null,location:i,navigationType:s="POP",navigator:l,static:c=!1,unstable_useTransitions:f}){Ve(!wi(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let p=n.replace(/^\/*/,"/"),h=y.useMemo(()=>({basename:p,navigator:l,static:c,unstable_useTransitions:f,future:{}}),[p,l,c,f]);typeof i=="string"&&(i=yi(i));let{pathname:m="/",search:w="",hash:x="",state:k=null,key:g="default"}=i,O=y.useMemo(()=>{let S=nr(m,p);return S==null?null:{location:{pathname:S,search:w,hash:x,state:k,key:g},navigationType:s}},[p,m,w,x,k,g,s]);return pn(O!=null,`<Router basename="${p}"> is not able to match the URL "${m}${w}${x}" because it does not start with the basename, so the <Router> won't render anything.`),O==null?null:y.createElement(Ut.Provider,{value:h},y.createElement(Cs.Provider,{children:r,value:O}))}function Ak({children:n,location:r}){return E1(Rc(n),r)}function Rc(n,r=[]){let i=[];return y.Children.forEach(n,(s,l)=>{if(!y.isValidElement(s))return;let c=[...r,l];if(s.type===y.Fragment){i.push.apply(i,Rc(s.props.children,c));return}Ve(s.type===F1,`[${typeof s.type=="string"?s.type:s.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),Ve(!s.props.index||!s.props.children,"An index route cannot have child routes.");let f={id:s.props.id||c.join("-"),caseSensitive:s.props.caseSensitive,element:s.props.element,Component:s.props.Component,index:s.props.index,path:s.props.path,middleware:s.props.middleware,loader:s.props.loader,action:s.props.action,hydrateFallbackElement:s.props.hydrateFallbackElement,HydrateFallback:s.props.HydrateFallback,errorElement:s.props.errorElement,ErrorBoundary:s.props.ErrorBoundary,hasErrorBoundary:s.props.hasErrorBoundary===!0||s.props.ErrorBoundary!=null||s.props.errorElement!=null,shouldRevalidate:s.props.shouldRevalidate,handle:s.props.handle,lazy:s.props.lazy};s.props.children&&(f.children=Rc(s.props.children,c)),i.push(f)}),i}var Ya="get",Xa="application/x-www-form-urlencoded";function fl(n){return typeof HTMLElement<"u"&&n instanceof HTMLElement}function j1(n){return fl(n)&&n.tagName.toLowerCase()==="button"}function B1(n){return fl(n)&&n.tagName.toLowerCase()==="form"}function U1(n){return fl(n)&&n.tagName.toLowerCase()==="input"}function H1(n){return!!(n.metaKey||n.altKey||n.ctrlKey||n.shiftKey)}function $1(n,r){return n.button===0&&(!r||r==="_self")&&!H1(n)}var Ua=null;function W1(){if(Ua===null)try{new FormData(document.createElement("form"),0),Ua=!1}catch{Ua=!0}return Ua}var V1=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function pc(n){return n!=null&&!V1.has(n)?(pn(!1,`"${n}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Xa}"`),null):n}function Q1(n,r){let i,s,l,c,f;if(B1(n)){let p=n.getAttribute("action");s=p?nr(p,r):null,i=n.getAttribute("method")||Ya,l=pc(n.getAttribute("enctype"))||Xa,c=new FormData(n)}else if(j1(n)||U1(n)&&(n.type==="submit"||n.type==="image")){let p=n.form;if(p==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let h=n.getAttribute("formaction")||p.getAttribute("action");if(s=h?nr(h,r):null,i=n.getAttribute("formmethod")||p.getAttribute("method")||Ya,l=pc(n.getAttribute("formenctype"))||pc(p.getAttribute("enctype"))||Xa,c=new FormData(p,n),!W1()){let{name:m,type:w,value:x}=n;if(w==="image"){let k=m?`${m}.`:"";c.append(`${k}x`,"0"),c.append(`${k}y`,"0")}else m&&c.append(m,x)}}else{if(fl(n))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');i=Ya,s=null,l=Xa,f=n}return c&&l==="text/plain"&&(f=c,c=void 0),{action:s,method:i.toLowerCase(),encType:l,formData:c,body:f}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function sd(n,r){if(n===!1||n===null||typeof n>"u")throw new Error(r)}function K1(n,r,i,s){let l=typeof n=="string"?new URL(n,typeof window>"u"?"server://singlefetch/":window.location.origin):n;return i?l.pathname.endsWith("/")?l.pathname=`${l.pathname}_.${s}`:l.pathname=`${l.pathname}.${s}`:l.pathname==="/"?l.pathname=`_root.${s}`:r&&nr(l.pathname,r)==="/"?l.pathname=`${r.replace(/\/$/,"")}/_root.${s}`:l.pathname=`${l.pathname.replace(/\/$/,"")}.${s}`,l}async function q1(n,r){if(n.id in r)return r[n.id];try{let i=await import(n.module);return r[n.id]=i,i}catch(i){return console.error(`Error loading route module \`${n.module}\`, reloading page...`),console.error(i),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function G1(n){return n==null?!1:n.href==null?n.rel==="preload"&&typeof n.imageSrcSet=="string"&&typeof n.imageSizes=="string":typeof n.rel=="string"&&typeof n.href=="string"}async function Y1(n,r,i){let s=await Promise.all(n.map(async l=>{let c=r.routes[l.route.id];if(c){let f=await q1(c,i);return f.links?f.links():[]}return[]}));return ew(s.flat(1).filter(G1).filter(l=>l.rel==="stylesheet"||l.rel==="preload").map(l=>l.rel==="stylesheet"?{...l,rel:"prefetch",as:"style"}:{...l,rel:"prefetch"}))}function kh(n,r,i,s,l,c){let f=(h,m)=>i[m]?h.route.id!==i[m].route.id:!0,p=(h,m)=>{var w;return i[m].pathname!==h.pathname||((w=i[m].route.path)==null?void 0:w.endsWith("*"))&&i[m].params["*"]!==h.params["*"]};return c==="assets"?r.filter((h,m)=>f(h,m)||p(h,m)):c==="data"?r.filter((h,m)=>{var x;let w=s.routes[h.route.id];if(!w||!w.hasLoader)return!1;if(f(h,m)||p(h,m))return!0;if(h.route.shouldRevalidate){let k=h.route.shouldRevalidate({currentUrl:new URL(l.pathname+l.search+l.hash,window.origin),currentParams:((x=i[0])==null?void 0:x.params)||{},nextUrl:new URL(n,window.origin),nextParams:h.params,defaultShouldRevalidate:!0});if(typeof k=="boolean")return k}return!0}):[]}function X1(n,r,{includeHydrateFallback:i}={}){return Z1(n.map(s=>{let l=r.routes[s.route.id];if(!l)return[];let c=[l.module];return l.clientActionModule&&(c=c.concat(l.clientActionModule)),l.clientLoaderModule&&(c=c.concat(l.clientLoaderModule)),i&&l.hydrateFallbackModule&&(c=c.concat(l.hydrateFallbackModule)),l.imports&&(c=c.concat(l.imports)),c}).flat(1))}function Z1(n){return[...new Set(n)]}function J1(n){let r={},i=Object.keys(n).sort();for(let s of i)r[s]=n[s];return r}function ew(n,r){let i=new Set;return new Set(r),n.reduce((s,l)=>{let c=JSON.stringify(J1(l));return i.has(c)||(i.add(c),s.push({key:c,link:l})),s},[])}function Hm(){let n=y.useContext(gi);return sd(n,"You must render this element inside a <DataRouterContext.Provider> element"),n}function tw(){let n=y.useContext(dl);return sd(n,"You must render this element inside a <DataRouterStateContext.Provider> element"),n}var ad=y.createContext(void 0);ad.displayName="FrameworkContext";function $m(){let n=y.useContext(ad);return sd(n,"You must render this element inside a <HydratedRouter> element"),n}function nw(n,r){let i=y.useContext(ad),[s,l]=y.useState(!1),[c,f]=y.useState(!1),{onFocus:p,onBlur:h,onMouseEnter:m,onMouseLeave:w,onTouchStart:x}=r,k=y.useRef(null);y.useEffect(()=>{if(n==="render"&&f(!0),n==="viewport"){let S=P=>{P.forEach(T=>{f(T.isIntersecting)})},C=new IntersectionObserver(S,{threshold:.5});return k.current&&C.observe(k.current),()=>{C.disconnect()}}},[n]),y.useEffect(()=>{if(s){let S=setTimeout(()=>{f(!0)},100);return()=>{clearTimeout(S)}}},[s]);let g=()=>{l(!0)},O=()=>{l(!1),f(!1)};return i?n!=="intent"?[c,k,{}]:[c,k,{onFocus:ls(p,g),onBlur:ls(h,O),onMouseEnter:ls(m,g),onMouseLeave:ls(w,O),onTouchStart:ls(x,g)}]:[!1,k,{}]}function ls(n,r){return i=>{n&&n(i),i.defaultPrevented||r(i)}}function rw({page:n,...r}){let{router:i}=Hm(),s=y.useMemo(()=>Mm(i.routes,n,i.basename),[i.routes,n,i.basename]);return s?y.createElement(iw,{page:n,matches:s,...r}):null}function ow(n){let{manifest:r,routeModules:i}=$m(),[s,l]=y.useState([]);return y.useEffect(()=>{let c=!1;return Y1(n,r,i).then(f=>{c||l(f)}),()=>{c=!0}},[n,r,i]),s}function iw({page:n,matches:r,...i}){let s=$r(),{future:l,manifest:c,routeModules:f}=$m(),{basename:p}=Hm(),{loaderData:h,matches:m}=tw(),w=y.useMemo(()=>kh(n,r,m,c,s,"data"),[n,r,m,c,s]),x=y.useMemo(()=>kh(n,r,m,c,s,"assets"),[n,r,m,c,s]),k=y.useMemo(()=>{if(n===s.pathname+s.search+s.hash)return[];let S=new Set,C=!1;if(r.forEach(T=>{var L;let b=c.routes[T.route.id];!b||!b.hasLoader||(!w.some(z=>z.route.id===T.route.id)&&T.route.id in h&&((L=f[T.route.id])!=null&&L.shouldRevalidate)||b.hasClientLoader?C=!0:S.add(T.route.id))}),S.size===0)return[];let P=K1(n,p,l.unstable_trailingSlashAwareDataRequests,"data");return C&&S.size>0&&P.searchParams.set("_routes",r.filter(T=>S.has(T.route.id)).map(T=>T.route.id).join(",")),[P.pathname+P.search]},[p,l.unstable_trailingSlashAwareDataRequests,h,s,c,w,r,n,f]),g=y.useMemo(()=>X1(x,c),[x,c]),O=ow(x);return y.createElement(y.Fragment,null,k.map(S=>y.createElement("link",{key:S,rel:"prefetch",as:"fetch",href:S,...i})),g.map(S=>y.createElement("link",{key:S,rel:"modulepreload",href:S,...i})),O.map(({key:S,link:C})=>y.createElement("link",{key:S,nonce:i.nonce,...C,crossOrigin:C.crossOrigin??i.crossOrigin})))}function sw(...n){return r=>{n.forEach(i=>{typeof i=="function"?i(r):i!=null&&(i.current=r)})}}var aw=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{aw&&(window.__reactRouterVersion="7.13.0")}catch{}function Ik({basename:n,children:r,unstable_useTransitions:i,window:s}){let l=y.useRef();l.current==null&&(l.current=H0({window:s,v5Compat:!0}));let c=l.current,[f,p]=y.useState({action:c.action,location:c.location}),h=y.useCallback(m=>{i===!1?p(m):y.startTransition(()=>p(m))},[i]);return y.useLayoutEffect(()=>c.listen(h),[c,h]),y.createElement(z1,{basename:n,children:r,location:f.location,navigationType:f.action,navigator:c,unstable_useTransitions:i})}var Wm=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Vm=y.forwardRef(function({onClick:r,discover:i="render",prefetch:s="none",relative:l,reloadDocument:c,replace:f,state:p,target:h,to:m,preventScrollReset:w,viewTransition:x,unstable_defaultShouldRevalidate:k,...g},O){let{basename:S,unstable_useTransitions:C}=y.useContext(Ut),P=typeof m=="string"&&Wm.test(m),T=_m(m,S);m=T.to;let b=C1(m,{relative:l}),[L,z,U]=nw(s,g),H=dw(m,{replace:f,state:p,target:h,preventScrollReset:w,relative:l,viewTransition:x,unstable_defaultShouldRevalidate:k,unstable_useTransitions:C});function G(te){r&&r(te),te.defaultPrevented||H(te)}let J=y.createElement("a",{...g,...U,href:T.absoluteURL||b,onClick:T.isExternal||c?r:G,ref:sw(O,z),target:h,"data-discover":!P&&i==="render"?"true":void 0});return L&&!P?y.createElement(y.Fragment,null,J,y.createElement(rw,{page:b})):J});Vm.displayName="Link";var lw=y.forwardRef(function({"aria-current":r="page",caseSensitive:i=!1,className:s="",end:l=!1,style:c,to:f,viewTransition:p,children:h,...m},w){let x=ks(f,{relative:m.relative}),k=$r(),g=y.useContext(dl),{navigator:O,basename:S}=y.useContext(Ut),C=g!=null&&vw(x)&&p===!0,P=O.encodeLocation?O.encodeLocation(x).pathname:x.pathname,T=k.pathname,b=g&&g.navigation&&g.navigation.location?g.navigation.location.pathname:null;i||(T=T.toLowerCase(),b=b?b.toLowerCase():null,P=P.toLowerCase()),b&&S&&(b=nr(b,S)||b);const L=P!=="/"&&P.endsWith("/")?P.length-1:P.length;let z=T===P||!l&&T.startsWith(P)&&T.charAt(L)==="/",U=b!=null&&(b===P||!l&&b.startsWith(P)&&b.charAt(P.length)==="/"),H={isActive:z,isPending:U,isTransitioning:C},G=z?r:void 0,J;typeof s=="function"?J=s(H):J=[s,z?"active":null,U?"pending":null,C?"transitioning":null].filter(Boolean).join(" ");let te=typeof c=="function"?c(H):c;return y.createElement(Vm,{...m,"aria-current":G,className:J,ref:w,style:te,to:f,viewTransition:p},typeof h=="function"?h(H):h)});lw.displayName="NavLink";var uw=y.forwardRef(({discover:n="render",fetcherKey:r,navigate:i,reloadDocument:s,replace:l,state:c,method:f=Ya,action:p,onSubmit:h,relative:m,preventScrollReset:w,viewTransition:x,unstable_defaultShouldRevalidate:k,...g},O)=>{let{unstable_useTransitions:S}=y.useContext(Ut),C=hw(),P=mw(p,{relative:m}),T=f.toLowerCase()==="get"?"get":"post",b=typeof p=="string"&&Wm.test(p),L=z=>{if(h&&h(z),z.defaultPrevented)return;z.preventDefault();let U=z.nativeEvent.submitter,H=(U==null?void 0:U.getAttribute("formmethod"))||f,G=()=>C(U||z.currentTarget,{fetcherKey:r,method:H,navigate:i,replace:l,state:c,relative:m,preventScrollReset:w,viewTransition:x,unstable_defaultShouldRevalidate:k});S&&i!==!1?y.startTransition(()=>G()):G()};return y.createElement("form",{ref:O,method:T,action:P,onSubmit:s?h:L,...g,"data-discover":!b&&n==="render"?"true":void 0})});uw.displayName="Form";function cw(n){return`${n} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Qm(n){let r=y.useContext(gi);return Ve(r,cw(n)),r}function dw(n,{target:r,replace:i,state:s,preventScrollReset:l,relative:c,viewTransition:f,unstable_defaultShouldRevalidate:p,unstable_useTransitions:h}={}){let m=zm(),w=$r(),x=ks(n,{relative:c});return y.useCallback(k=>{if($1(k,r)){k.preventDefault();let g=i!==void 0?i:ps(w)===ps(x),O=()=>m(n,{replace:g,state:s,preventScrollReset:l,relative:c,viewTransition:f,unstable_defaultShouldRevalidate:p});h?y.startTransition(()=>O()):O()}},[w,m,x,i,s,r,n,l,c,f,p,h])}var fw=0,pw=()=>`__${String(++fw)}__`;function hw(){let{router:n}=Qm("useSubmit"),{basename:r}=y.useContext(Ut),i=L1(),s=n.fetch,l=n.navigate;return y.useCallback(async(c,f={})=>{let{action:p,method:h,encType:m,formData:w,body:x}=Q1(c,r);if(f.navigate===!1){let k=f.fetcherKey||pw();await s(k,i,f.action||p,{unstable_defaultShouldRevalidate:f.unstable_defaultShouldRevalidate,preventScrollReset:f.preventScrollReset,formData:w,body:x,formMethod:f.method||h,formEncType:f.encType||m,flushSync:f.flushSync})}else await l(f.action||p,{unstable_defaultShouldRevalidate:f.unstable_defaultShouldRevalidate,preventScrollReset:f.preventScrollReset,formData:w,body:x,formMethod:f.method||h,formEncType:f.encType||m,replace:f.replace,state:f.state,fromRouteId:i,flushSync:f.flushSync,viewTransition:f.viewTransition})},[s,l,r,i])}function mw(n,{relative:r}={}){let{basename:i}=y.useContext(Ut),s=y.useContext(vn);Ve(s,"useFormAction must be used inside a RouteContext");let[l]=s.matches.slice(-1),c={...ks(n||".",{relative:r})},f=$r();if(n==null){c.search=f.search;let p=new URLSearchParams(c.search),h=p.getAll("index");if(h.some(w=>w==="")){p.delete("index"),h.filter(x=>x).forEach(x=>p.append("index",x));let w=p.toString();c.search=w?`?${w}`:""}}return(!n||n===".")&&l.route.index&&(c.search=c.search?c.search.replace(/^\?/,"?index&"):"?index"),i!=="/"&&(c.pathname=c.pathname==="/"?i:er([i,c.pathname])),ps(c)}function vw(n,{relative:r}={}){let i=y.useContext(Am);Ve(i!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:s}=Qm("useViewTransitionState"),l=ks(n,{relative:r});if(!i.isTransitioning)return!1;let c=nr(i.currentLocation.pathname,s)||i.currentLocation.pathname,f=nr(i.nextLocation.pathname,s)||i.nextLocation.pathname;return nl(l.pathname,f)!=null||nl(l.pathname,c)!=null}var Es=Pm();const Km=Rm(Es);var xi=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(n){return this.listeners.add(n),this.onSubscribe(),()=>{this.listeners.delete(n),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},yw={setTimeout:(n,r)=>setTimeout(n,r),clearTimeout:n=>clearTimeout(n),setInterval:(n,r)=>setInterval(n,r),clearInterval:n=>clearInterval(n)},Nr,Jc,hm,gw=(hm=class{constructor(){me(this,Nr,yw);me(this,Jc,!1)}setTimeoutProvider(n){ee(this,Nr,n)}setTimeout(n,r){return R(this,Nr).setTimeout(n,r)}clearTimeout(n){R(this,Nr).clearTimeout(n)}setInterval(n,r){return R(this,Nr).setInterval(n,r)}clearInterval(n){R(this,Nr).clearInterval(n)}},Nr=new WeakMap,Jc=new WeakMap,hm),so=new gw;function ww(n){setTimeout(n,0)}var yo=typeof window>"u"||"Deno"in globalThis;function kt(){}function xw(n,r){return typeof n=="function"?n(r):n}function bc(n){return typeof n=="number"&&n>=0&&n!==1/0}function qm(n,r){return Math.max(n+(r||0)-Date.now(),0)}function Br(n,r){return typeof n=="function"?n(r):n}function Yt(n,r){return typeof n=="function"?n(r):n}function Eh(n,r){const{type:i="all",exact:s,fetchStatus:l,predicate:c,queryKey:f,stale:p}=n;if(f){if(s){if(r.queryHash!==ld(f,r.options))return!1}else if(!hs(r.queryKey,f))return!1}if(i!=="all"){const h=r.isActive();if(i==="active"&&!h||i==="inactive"&&h)return!1}return!(typeof p=="boolean"&&r.isStale()!==p||l&&l!==r.state.fetchStatus||c&&!c(r))}function Rh(n,r){const{exact:i,status:s,predicate:l,mutationKey:c}=n;if(c){if(!r.options.mutationKey)return!1;if(i){if(go(r.options.mutationKey)!==go(c))return!1}else if(!hs(r.options.mutationKey,c))return!1}return!(s&&r.state.status!==s||l&&!l(r))}function ld(n,r){return((r==null?void 0:r.queryKeyHashFn)||go)(n)}function go(n){return JSON.stringify(n,(r,i)=>Pc(i)?Object.keys(i).sort().reduce((s,l)=>(s[l]=i[l],s),{}):i)}function hs(n,r){return n===r?!0:typeof n!=typeof r?!1:n&&r&&typeof n=="object"&&typeof r=="object"?Object.keys(r).every(i=>hs(n[i],r[i])):!1}var Sw=Object.prototype.hasOwnProperty;function Gm(n,r,i=0){if(n===r)return n;if(i>500)return r;const s=bh(n)&&bh(r);if(!s&&!(Pc(n)&&Pc(r)))return r;const c=(s?n:Object.keys(n)).length,f=s?r:Object.keys(r),p=f.length,h=s?new Array(p):{};let m=0;for(let w=0;w<p;w++){const x=s?w:f[w],k=n[x],g=r[x];if(k===g){h[x]=k,(s?w<c:Sw.call(n,x))&&m++;continue}if(k===null||g===null||typeof k!="object"||typeof g!="object"){h[x]=g;continue}const O=Gm(k,g,i+1);h[x]=O,O===k&&m++}return c===p&&m===c?n:h}function rl(n,r){if(!r||Object.keys(n).length!==Object.keys(r).length)return!1;for(const i in n)if(n[i]!==r[i])return!1;return!0}function bh(n){return Array.isArray(n)&&n.length===Object.keys(n).length}function Pc(n){if(!Ph(n))return!1;const r=n.constructor;if(r===void 0)return!0;const i=r.prototype;return!(!Ph(i)||!i.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(n)!==Object.prototype)}function Ph(n){return Object.prototype.toString.call(n)==="[object Object]"}function Cw(n){return new Promise(r=>{so.setTimeout(r,n)})}function Mc(n,r,i){return typeof i.structuralSharing=="function"?i.structuralSharing(n,r):i.structuralSharing!==!1?Gm(n,r):r}function kw(n,r,i=0){const s=[...n,r];return i&&s.length>i?s.slice(1):s}function Ew(n,r,i=0){const s=[r,...n];return i&&s.length>i?s.slice(0,-1):s}var ud=Symbol();function Ym(n,r){return!n.queryFn&&(r!=null&&r.initialPromise)?()=>r.initialPromise:!n.queryFn||n.queryFn===ud?()=>Promise.reject(new Error(`Missing queryFn: '${n.queryHash}'`)):n.queryFn}function cd(n,r){return typeof n=="function"?n(...r):!!n}function Rw(n,r,i){let s=!1,l;return Object.defineProperty(n,"signal",{enumerable:!0,get:()=>(l??(l=r()),s||(s=!0,l.aborted?i():l.addEventListener("abort",i,{once:!0})),l)}),n}var ao,_r,oi,mm,bw=(mm=class extends xi{constructor(){super();me(this,ao);me(this,_r);me(this,oi);ee(this,oi,r=>{if(!yo&&window.addEventListener){const i=()=>r();return window.addEventListener("visibilitychange",i,!1),()=>{window.removeEventListener("visibilitychange",i)}}})}onSubscribe(){R(this,_r)||this.setEventListener(R(this,oi))}onUnsubscribe(){var r;this.hasListeners()||((r=R(this,_r))==null||r.call(this),ee(this,_r,void 0))}setEventListener(r){var i;ee(this,oi,r),(i=R(this,_r))==null||i.call(this),ee(this,_r,r(s=>{typeof s=="boolean"?this.setFocused(s):this.onFocus()}))}setFocused(r){R(this,ao)!==r&&(ee(this,ao,r),this.onFocus())}onFocus(){const r=this.isFocused();this.listeners.forEach(i=>{i(r)})}isFocused(){var r;return typeof R(this,ao)=="boolean"?R(this,ao):((r=globalThis.document)==null?void 0:r.visibilityState)!=="hidden"}},ao=new WeakMap,_r=new WeakMap,oi=new WeakMap,mm),dd=new bw;function Tc(){let n,r;const i=new Promise((l,c)=>{n=l,r=c});i.status="pending",i.catch(()=>{});function s(l){Object.assign(i,l),delete i.resolve,delete i.reject}return i.resolve=l=>{s({status:"fulfilled",value:l}),n(l)},i.reject=l=>{s({status:"rejected",reason:l}),r(l)},i}var Pw=ww;function Mw(){let n=[],r=0,i=p=>{p()},s=p=>{p()},l=Pw;const c=p=>{r?n.push(p):l(()=>{i(p)})},f=()=>{const p=n;n=[],p.length&&l(()=>{s(()=>{p.forEach(h=>{i(h)})})})};return{batch:p=>{let h;r++;try{h=p()}finally{r--,r||f()}return h},batchCalls:p=>(...h)=>{c(()=>{p(...h)})},schedule:c,setNotifyFunction:p=>{i=p},setBatchNotifyFunction:p=>{s=p},setScheduler:p=>{l=p}}}var rt=Mw(),ii,Lr,si,vm,Tw=(vm=class extends xi{constructor(){super();me(this,ii,!0);me(this,Lr);me(this,si);ee(this,si,r=>{if(!yo&&window.addEventListener){const i=()=>r(!0),s=()=>r(!1);return window.addEventListener("online",i,!1),window.addEventListener("offline",s,!1),()=>{window.removeEventListener("online",i),window.removeEventListener("offline",s)}}})}onSubscribe(){R(this,Lr)||this.setEventListener(R(this,si))}onUnsubscribe(){var r;this.hasListeners()||((r=R(this,Lr))==null||r.call(this),ee(this,Lr,void 0))}setEventListener(r){var i;ee(this,si,r),(i=R(this,Lr))==null||i.call(this),ee(this,Lr,r(this.setOnline.bind(this)))}setOnline(r){R(this,ii)!==r&&(ee(this,ii,r),this.listeners.forEach(s=>{s(r)}))}isOnline(){return R(this,ii)}},ii=new WeakMap,Lr=new WeakMap,si=new WeakMap,vm),ol=new Tw;function Ow(n){return Math.min(1e3*2**n,3e4)}function Xm(n){return(n??"online")==="online"?ol.isOnline():!0}var Oc=class extends Error{constructor(n){super("CancelledError"),this.revert=n==null?void 0:n.revert,this.silent=n==null?void 0:n.silent}};function Zm(n){let r=!1,i=0,s;const l=Tc(),c=()=>l.status!=="pending",f=S=>{var C;if(!c()){const P=new Oc(S);k(P),(C=n.onCancel)==null||C.call(n,P)}},p=()=>{r=!0},h=()=>{r=!1},m=()=>dd.isFocused()&&(n.networkMode==="always"||ol.isOnline())&&n.canRun(),w=()=>Xm(n.networkMode)&&n.canRun(),x=S=>{c()||(s==null||s(),l.resolve(S))},k=S=>{c()||(s==null||s(),l.reject(S))},g=()=>new Promise(S=>{var C;s=P=>{(c()||m())&&S(P)},(C=n.onPause)==null||C.call(n)}).then(()=>{var S;s=void 0,c()||(S=n.onContinue)==null||S.call(n)}),O=()=>{if(c())return;let S;const C=i===0?n.initialPromise:void 0;try{S=C??n.fn()}catch(P){S=Promise.reject(P)}Promise.resolve(S).then(x).catch(P=>{var U;if(c())return;const T=n.retry??(yo?0:3),b=n.retryDelay??Ow,L=typeof b=="function"?b(i,P):b,z=T===!0||typeof T=="number"&&i<T||typeof T=="function"&&T(i,P);if(r||!z){k(P);return}i++,(U=n.onFail)==null||U.call(n,i,P),Cw(L).then(()=>m()?void 0:g()).then(()=>{r?k(P):O()})})};return{promise:l,status:()=>l.status,cancel:f,continue:()=>(s==null||s(),l),cancelRetry:p,continueRetry:h,canStart:w,start:()=>(w()?O():g().then(O),l)}}var lo,ym,Jm=(ym=class{constructor(){me(this,lo)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),bc(this.gcTime)&&ee(this,lo,so.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(n){this.gcTime=Math.max(this.gcTime||0,n??(yo?1/0:300*1e3))}clearGcTimeout(){R(this,lo)&&(so.clearTimeout(R(this,lo)),ee(this,lo,void 0))}},lo=new WeakMap,ym),uo,ai,Gt,co,at,ys,fo,dn,Gn,gm,Nw=(gm=class extends Jm{constructor(r){super();me(this,dn);me(this,uo);me(this,ai);me(this,Gt);me(this,co);me(this,at);me(this,ys);me(this,fo);ee(this,fo,!1),ee(this,ys,r.defaultOptions),this.setOptions(r.options),this.observers=[],ee(this,co,r.client),ee(this,Gt,R(this,co).getQueryCache()),this.queryKey=r.queryKey,this.queryHash=r.queryHash,ee(this,uo,Th(this.options)),this.state=r.state??R(this,uo),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var r;return(r=R(this,at))==null?void 0:r.promise}setOptions(r){if(this.options={...R(this,ys),...r},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const i=Th(this.options);i.data!==void 0&&(this.setState(Mh(i.data,i.dataUpdatedAt)),ee(this,uo,i))}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&R(this,Gt).remove(this)}setData(r,i){const s=Mc(this.state.data,r,this.options);return Pe(this,dn,Gn).call(this,{data:s,type:"success",dataUpdatedAt:i==null?void 0:i.updatedAt,manual:i==null?void 0:i.manual}),s}setState(r,i){Pe(this,dn,Gn).call(this,{type:"setState",state:r,setStateOptions:i})}cancel(r){var s,l;const i=(s=R(this,at))==null?void 0:s.promise;return(l=R(this,at))==null||l.cancel(r),i?i.then(kt).catch(kt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(R(this,uo))}isActive(){return this.observers.some(r=>Yt(r.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===ud||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(r=>Br(r.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(r=>r.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(r=0){return this.state.data===void 0?!0:r==="static"?!1:this.state.isInvalidated?!0:!qm(this.state.dataUpdatedAt,r)}onFocus(){var i;const r=this.observers.find(s=>s.shouldFetchOnWindowFocus());r==null||r.refetch({cancelRefetch:!1}),(i=R(this,at))==null||i.continue()}onOnline(){var i;const r=this.observers.find(s=>s.shouldFetchOnReconnect());r==null||r.refetch({cancelRefetch:!1}),(i=R(this,at))==null||i.continue()}addObserver(r){this.observers.includes(r)||(this.observers.push(r),this.clearGcTimeout(),R(this,Gt).notify({type:"observerAdded",query:this,observer:r}))}removeObserver(r){this.observers.includes(r)&&(this.observers=this.observers.filter(i=>i!==r),this.observers.length||(R(this,at)&&(R(this,fo)?R(this,at).cancel({revert:!0}):R(this,at).cancelRetry()),this.scheduleGc()),R(this,Gt).notify({type:"observerRemoved",query:this,observer:r}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Pe(this,dn,Gn).call(this,{type:"invalidate"})}async fetch(r,i){var h,m,w,x,k,g,O,S,C,P,T,b;if(this.state.fetchStatus!=="idle"&&((h=R(this,at))==null?void 0:h.status())!=="rejected"){if(this.state.data!==void 0&&(i!=null&&i.cancelRefetch))this.cancel({silent:!0});else if(R(this,at))return R(this,at).continueRetry(),R(this,at).promise}if(r&&this.setOptions(r),!this.options.queryFn){const L=this.observers.find(z=>z.options.queryFn);L&&this.setOptions(L.options)}const s=new AbortController,l=L=>{Object.defineProperty(L,"signal",{enumerable:!0,get:()=>(ee(this,fo,!0),s.signal)})},c=()=>{const L=Ym(this.options,i),U=(()=>{const H={client:R(this,co),queryKey:this.queryKey,meta:this.meta};return l(H),H})();return ee(this,fo,!1),this.options.persister?this.options.persister(L,U,this):L(U)},p=(()=>{const L={fetchOptions:i,options:this.options,queryKey:this.queryKey,client:R(this,co),state:this.state,fetchFn:c};return l(L),L})();(m=this.options.behavior)==null||m.onFetch(p,this),ee(this,ai,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((w=p.fetchOptions)==null?void 0:w.meta))&&Pe(this,dn,Gn).call(this,{type:"fetch",meta:(x=p.fetchOptions)==null?void 0:x.meta}),ee(this,at,Zm({initialPromise:i==null?void 0:i.initialPromise,fn:p.fetchFn,onCancel:L=>{L instanceof Oc&&L.revert&&this.setState({...R(this,ai),fetchStatus:"idle"}),s.abort()},onFail:(L,z)=>{Pe(this,dn,Gn).call(this,{type:"failed",failureCount:L,error:z})},onPause:()=>{Pe(this,dn,Gn).call(this,{type:"pause"})},onContinue:()=>{Pe(this,dn,Gn).call(this,{type:"continue"})},retry:p.options.retry,retryDelay:p.options.retryDelay,networkMode:p.options.networkMode,canRun:()=>!0}));try{const L=await R(this,at).start();if(L===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(L),(g=(k=R(this,Gt).config).onSuccess)==null||g.call(k,L,this),(S=(O=R(this,Gt).config).onSettled)==null||S.call(O,L,this.state.error,this),L}catch(L){if(L instanceof Oc){if(L.silent)return R(this,at).promise;if(L.revert){if(this.state.data===void 0)throw L;return this.state.data}}throw Pe(this,dn,Gn).call(this,{type:"error",error:L}),(P=(C=R(this,Gt).config).onError)==null||P.call(C,L,this),(b=(T=R(this,Gt).config).onSettled)==null||b.call(T,this.state.data,L,this),L}finally{this.scheduleGc()}}},uo=new WeakMap,ai=new WeakMap,Gt=new WeakMap,co=new WeakMap,at=new WeakMap,ys=new WeakMap,fo=new WeakMap,dn=new WeakSet,Gn=function(r){const i=s=>{switch(r.type){case"failed":return{...s,fetchFailureCount:r.failureCount,fetchFailureReason:r.error};case"pause":return{...s,fetchStatus:"paused"};case"continue":return{...s,fetchStatus:"fetching"};case"fetch":return{...s,...ev(s.data,this.options),fetchMeta:r.meta??null};case"success":const l={...s,...Mh(r.data,r.dataUpdatedAt),dataUpdateCount:s.dataUpdateCount+1,...!r.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return ee(this,ai,r.manual?l:void 0),l;case"error":const c=r.error;return{...s,error:c,errorUpdateCount:s.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:s.fetchFailureCount+1,fetchFailureReason:c,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...s,isInvalidated:!0};case"setState":return{...s,...r.state}}};this.state=i(this.state),rt.batch(()=>{this.observers.forEach(s=>{s.onQueryUpdate()}),R(this,Gt).notify({query:this,type:"updated",action:r})})},gm);function ev(n,r){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Xm(r.networkMode)?"fetching":"paused",...n===void 0&&{error:null,status:"pending"}}}function Mh(n,r){return{data:n,dataUpdatedAt:r??Date.now(),error:null,isInvalidated:!1,status:"success"}}function Th(n){const r=typeof n.initialData=="function"?n.initialData():n.initialData,i=r!==void 0,s=i?typeof n.initialDataUpdatedAt=="function"?n.initialDataUpdatedAt():n.initialDataUpdatedAt:0;return{data:r,dataUpdateCount:0,dataUpdatedAt:i?s??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:i?"success":"pending",fetchStatus:"idle"}}var _t,Ne,gs,Ct,po,li,Yn,Ar,ws,ui,ci,ho,mo,Ir,di,Ie,ds,Nc,_c,Lc,Ac,Ic,Dc,Fc,tv,wm,_w=(wm=class extends xi{constructor(r,i){super();me(this,Ie);me(this,_t);me(this,Ne);me(this,gs);me(this,Ct);me(this,po);me(this,li);me(this,Yn);me(this,Ar);me(this,ws);me(this,ui);me(this,ci);me(this,ho);me(this,mo);me(this,Ir);me(this,di,new Set);this.options=i,ee(this,_t,r),ee(this,Ar,null),ee(this,Yn,Tc()),this.bindMethods(),this.setOptions(i)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(R(this,Ne).addObserver(this),Oh(R(this,Ne),this.options)?Pe(this,Ie,ds).call(this):this.updateResult(),Pe(this,Ie,Ac).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return zc(R(this,Ne),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return zc(R(this,Ne),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,Pe(this,Ie,Ic).call(this),Pe(this,Ie,Dc).call(this),R(this,Ne).removeObserver(this)}setOptions(r){const i=this.options,s=R(this,Ne);if(this.options=R(this,_t).defaultQueryOptions(r),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof Yt(this.options.enabled,R(this,Ne))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");Pe(this,Ie,Fc).call(this),R(this,Ne).setOptions(this.options),i._defaulted&&!rl(this.options,i)&&R(this,_t).getQueryCache().notify({type:"observerOptionsUpdated",query:R(this,Ne),observer:this});const l=this.hasListeners();l&&Nh(R(this,Ne),s,this.options,i)&&Pe(this,Ie,ds).call(this),this.updateResult(),l&&(R(this,Ne)!==s||Yt(this.options.enabled,R(this,Ne))!==Yt(i.enabled,R(this,Ne))||Br(this.options.staleTime,R(this,Ne))!==Br(i.staleTime,R(this,Ne)))&&Pe(this,Ie,Nc).call(this);const c=Pe(this,Ie,_c).call(this);l&&(R(this,Ne)!==s||Yt(this.options.enabled,R(this,Ne))!==Yt(i.enabled,R(this,Ne))||c!==R(this,Ir))&&Pe(this,Ie,Lc).call(this,c)}getOptimisticResult(r){const i=R(this,_t).getQueryCache().build(R(this,_t),r),s=this.createResult(i,r);return Aw(this,s)&&(ee(this,Ct,s),ee(this,li,this.options),ee(this,po,R(this,Ne).state)),s}getCurrentResult(){return R(this,Ct)}trackResult(r,i){return new Proxy(r,{get:(s,l)=>(this.trackProp(l),i==null||i(l),l==="promise"&&(this.trackProp("data"),!this.options.experimental_prefetchInRender&&R(this,Yn).status==="pending"&&R(this,Yn).reject(new Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(s,l))})}trackProp(r){R(this,di).add(r)}getCurrentQuery(){return R(this,Ne)}refetch({...r}={}){return this.fetch({...r})}fetchOptimistic(r){const i=R(this,_t).defaultQueryOptions(r),s=R(this,_t).getQueryCache().build(R(this,_t),i);return s.fetch().then(()=>this.createResult(s,i))}fetch(r){return Pe(this,Ie,ds).call(this,{...r,cancelRefetch:r.cancelRefetch??!0}).then(()=>(this.updateResult(),R(this,Ct)))}createResult(r,i){var J;const s=R(this,Ne),l=this.options,c=R(this,Ct),f=R(this,po),p=R(this,li),m=r!==s?r.state:R(this,gs),{state:w}=r;let x={...w},k=!1,g;if(i._optimisticResults){const te=this.hasListeners(),he=!te&&Oh(r,i),Z=te&&Nh(r,s,i,l);(he||Z)&&(x={...x,...ev(w.data,r.options)}),i._optimisticResults==="isRestoring"&&(x.fetchStatus="idle")}let{error:O,errorUpdatedAt:S,status:C}=x;g=x.data;let P=!1;if(i.placeholderData!==void 0&&g===void 0&&C==="pending"){let te;c!=null&&c.isPlaceholderData&&i.placeholderData===(p==null?void 0:p.placeholderData)?(te=c.data,P=!0):te=typeof i.placeholderData=="function"?i.placeholderData((J=R(this,ci))==null?void 0:J.state.data,R(this,ci)):i.placeholderData,te!==void 0&&(C="success",g=Mc(c==null?void 0:c.data,te,i),k=!0)}if(i.select&&g!==void 0&&!P)if(c&&g===(f==null?void 0:f.data)&&i.select===R(this,ws))g=R(this,ui);else try{ee(this,ws,i.select),g=i.select(g),g=Mc(c==null?void 0:c.data,g,i),ee(this,ui,g),ee(this,Ar,null)}catch(te){ee(this,Ar,te)}R(this,Ar)&&(O=R(this,Ar),g=R(this,ui),S=Date.now(),C="error");const T=x.fetchStatus==="fetching",b=C==="pending",L=C==="error",z=b&&T,U=g!==void 0,G={status:C,fetchStatus:x.fetchStatus,isPending:b,isSuccess:C==="success",isError:L,isInitialLoading:z,isLoading:z,data:g,dataUpdatedAt:x.dataUpdatedAt,error:O,errorUpdatedAt:S,failureCount:x.fetchFailureCount,failureReason:x.fetchFailureReason,errorUpdateCount:x.errorUpdateCount,isFetched:x.dataUpdateCount>0||x.errorUpdateCount>0,isFetchedAfterMount:x.dataUpdateCount>m.dataUpdateCount||x.errorUpdateCount>m.errorUpdateCount,isFetching:T,isRefetching:T&&!b,isLoadingError:L&&!U,isPaused:x.fetchStatus==="paused",isPlaceholderData:k,isRefetchError:L&&U,isStale:fd(r,i),refetch:this.refetch,promise:R(this,Yn),isEnabled:Yt(i.enabled,r)!==!1};if(this.options.experimental_prefetchInRender){const te=G.data!==void 0,he=G.status==="error"&&!te,Z=xe=>{he?xe.reject(G.error):te&&xe.resolve(G.data)},ye=()=>{const xe=ee(this,Yn,G.promise=Tc());Z(xe)},de=R(this,Yn);switch(de.status){case"pending":r.queryHash===s.queryHash&&Z(de);break;case"fulfilled":(he||G.data!==de.value)&&ye();break;case"rejected":(!he||G.error!==de.reason)&&ye();break}}return G}updateResult(){const r=R(this,Ct),i=this.createResult(R(this,Ne),this.options);if(ee(this,po,R(this,Ne).state),ee(this,li,this.options),R(this,po).data!==void 0&&ee(this,ci,R(this,Ne)),rl(i,r))return;ee(this,Ct,i);const s=()=>{if(!r)return!0;const{notifyOnChangeProps:l}=this.options,c=typeof l=="function"?l():l;if(c==="all"||!c&&!R(this,di).size)return!0;const f=new Set(c??R(this,di));return this.options.throwOnError&&f.add("error"),Object.keys(R(this,Ct)).some(p=>{const h=p;return R(this,Ct)[h]!==r[h]&&f.has(h)})};Pe(this,Ie,tv).call(this,{listeners:s()})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&Pe(this,Ie,Ac).call(this)}},_t=new WeakMap,Ne=new WeakMap,gs=new WeakMap,Ct=new WeakMap,po=new WeakMap,li=new WeakMap,Yn=new WeakMap,Ar=new WeakMap,ws=new WeakMap,ui=new WeakMap,ci=new WeakMap,ho=new WeakMap,mo=new WeakMap,Ir=new WeakMap,di=new WeakMap,Ie=new WeakSet,ds=function(r){Pe(this,Ie,Fc).call(this);let i=R(this,Ne).fetch(this.options,r);return r!=null&&r.throwOnError||(i=i.catch(kt)),i},Nc=function(){Pe(this,Ie,Ic).call(this);const r=Br(this.options.staleTime,R(this,Ne));if(yo||R(this,Ct).isStale||!bc(r))return;const s=qm(R(this,Ct).dataUpdatedAt,r)+1;ee(this,ho,so.setTimeout(()=>{R(this,Ct).isStale||this.updateResult()},s))},_c=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(R(this,Ne)):this.options.refetchInterval)??!1},Lc=function(r){Pe(this,Ie,Dc).call(this),ee(this,Ir,r),!(yo||Yt(this.options.enabled,R(this,Ne))===!1||!bc(R(this,Ir))||R(this,Ir)===0)&&ee(this,mo,so.setInterval(()=>{(this.options.refetchIntervalInBackground||dd.isFocused())&&Pe(this,Ie,ds).call(this)},R(this,Ir)))},Ac=function(){Pe(this,Ie,Nc).call(this),Pe(this,Ie,Lc).call(this,Pe(this,Ie,_c).call(this))},Ic=function(){R(this,ho)&&(so.clearTimeout(R(this,ho)),ee(this,ho,void 0))},Dc=function(){R(this,mo)&&(so.clearInterval(R(this,mo)),ee(this,mo,void 0))},Fc=function(){const r=R(this,_t).getQueryCache().build(R(this,_t),this.options);if(r===R(this,Ne))return;const i=R(this,Ne);ee(this,Ne,r),ee(this,gs,r.state),this.hasListeners()&&(i==null||i.removeObserver(this),r.addObserver(this))},tv=function(r){rt.batch(()=>{r.listeners&&this.listeners.forEach(i=>{i(R(this,Ct))}),R(this,_t).getQueryCache().notify({query:R(this,Ne),type:"observerResultsUpdated"})})},wm);function Lw(n,r){return Yt(r.enabled,n)!==!1&&n.state.data===void 0&&!(n.state.status==="error"&&r.retryOnMount===!1)}function Oh(n,r){return Lw(n,r)||n.state.data!==void 0&&zc(n,r,r.refetchOnMount)}function zc(n,r,i){if(Yt(r.enabled,n)!==!1&&Br(r.staleTime,n)!=="static"){const s=typeof i=="function"?i(n):i;return s==="always"||s!==!1&&fd(n,r)}return!1}function Nh(n,r,i,s){return(n!==r||Yt(s.enabled,n)===!1)&&(!i.suspense||n.state.status!=="error")&&fd(n,i)}function fd(n,r){return Yt(r.enabled,n)!==!1&&n.isStaleByTime(Br(r.staleTime,n))}function Aw(n,r){return!rl(n.getCurrentResult(),r)}function _h(n){return{onFetch:(r,i)=>{var w,x,k,g,O;const s=r.options,l=(k=(x=(w=r.fetchOptions)==null?void 0:w.meta)==null?void 0:x.fetchMore)==null?void 0:k.direction,c=((g=r.state.data)==null?void 0:g.pages)||[],f=((O=r.state.data)==null?void 0:O.pageParams)||[];let p={pages:[],pageParams:[]},h=0;const m=async()=>{let S=!1;const C=b=>{Rw(b,()=>r.signal,()=>S=!0)},P=Ym(r.options,r.fetchOptions),T=async(b,L,z)=>{if(S)return Promise.reject();if(L==null&&b.pages.length)return Promise.resolve(b);const H=(()=>{const he={client:r.client,queryKey:r.queryKey,pageParam:L,direction:z?"backward":"forward",meta:r.options.meta};return C(he),he})(),G=await P(H),{maxPages:J}=r.options,te=z?Ew:kw;return{pages:te(b.pages,G,J),pageParams:te(b.pageParams,L,J)}};if(l&&c.length){const b=l==="backward",L=b?Iw:Lh,z={pages:c,pageParams:f},U=L(s,z);p=await T(z,U,b)}else{const b=n??c.length;do{const L=h===0?f[0]??s.initialPageParam:Lh(s,p);if(h>0&&L==null)break;p=await T(p,L),h++}while(h<b)}return p};r.options.persister?r.fetchFn=()=>{var S,C;return(C=(S=r.options).persister)==null?void 0:C.call(S,m,{client:r.client,queryKey:r.queryKey,meta:r.options.meta,signal:r.signal},i)}:r.fetchFn=m}}}function Lh(n,{pages:r,pageParams:i}){const s=r.length-1;return r.length>0?n.getNextPageParam(r[s],r,i[s],i):void 0}function Iw(n,{pages:r,pageParams:i}){var s;return r.length>0?(s=n.getPreviousPageParam)==null?void 0:s.call(n,r[0],r,i[0],i):void 0}var xs,Nn,vt,vo,_n,Tr,xm,Dw=(xm=class extends Jm{constructor(r){super();me(this,_n);me(this,xs);me(this,Nn);me(this,vt);me(this,vo);ee(this,xs,r.client),this.mutationId=r.mutationId,ee(this,vt,r.mutationCache),ee(this,Nn,[]),this.state=r.state||nv(),this.setOptions(r.options),this.scheduleGc()}setOptions(r){this.options=r,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(r){R(this,Nn).includes(r)||(R(this,Nn).push(r),this.clearGcTimeout(),R(this,vt).notify({type:"observerAdded",mutation:this,observer:r}))}removeObserver(r){ee(this,Nn,R(this,Nn).filter(i=>i!==r)),this.scheduleGc(),R(this,vt).notify({type:"observerRemoved",mutation:this,observer:r})}optionalRemove(){R(this,Nn).length||(this.state.status==="pending"?this.scheduleGc():R(this,vt).remove(this))}continue(){var r;return((r=R(this,vo))==null?void 0:r.continue())??this.execute(this.state.variables)}async execute(r){var f,p,h,m,w,x,k,g,O,S,C,P,T,b,L,z,U,H;const i=()=>{Pe(this,_n,Tr).call(this,{type:"continue"})},s={client:R(this,xs),meta:this.options.meta,mutationKey:this.options.mutationKey};ee(this,vo,Zm({fn:()=>this.options.mutationFn?this.options.mutationFn(r,s):Promise.reject(new Error("No mutationFn found")),onFail:(G,J)=>{Pe(this,_n,Tr).call(this,{type:"failed",failureCount:G,error:J})},onPause:()=>{Pe(this,_n,Tr).call(this,{type:"pause"})},onContinue:i,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>R(this,vt).canRun(this)}));const l=this.state.status==="pending",c=!R(this,vo).canStart();try{if(l)i();else{Pe(this,_n,Tr).call(this,{type:"pending",variables:r,isPaused:c}),R(this,vt).config.onMutate&&await R(this,vt).config.onMutate(r,this,s);const J=await((p=(f=this.options).onMutate)==null?void 0:p.call(f,r,s));J!==this.state.context&&Pe(this,_n,Tr).call(this,{type:"pending",context:J,variables:r,isPaused:c})}const G=await R(this,vo).start();return await((m=(h=R(this,vt).config).onSuccess)==null?void 0:m.call(h,G,r,this.state.context,this,s)),await((x=(w=this.options).onSuccess)==null?void 0:x.call(w,G,r,this.state.context,s)),await((g=(k=R(this,vt).config).onSettled)==null?void 0:g.call(k,G,null,this.state.variables,this.state.context,this,s)),await((S=(O=this.options).onSettled)==null?void 0:S.call(O,G,null,r,this.state.context,s)),Pe(this,_n,Tr).call(this,{type:"success",data:G}),G}catch(G){try{await((P=(C=R(this,vt).config).onError)==null?void 0:P.call(C,G,r,this.state.context,this,s))}catch(J){Promise.reject(J)}try{await((b=(T=this.options).onError)==null?void 0:b.call(T,G,r,this.state.context,s))}catch(J){Promise.reject(J)}try{await((z=(L=R(this,vt).config).onSettled)==null?void 0:z.call(L,void 0,G,this.state.variables,this.state.context,this,s))}catch(J){Promise.reject(J)}try{await((H=(U=this.options).onSettled)==null?void 0:H.call(U,void 0,G,r,this.state.context,s))}catch(J){Promise.reject(J)}throw Pe(this,_n,Tr).call(this,{type:"error",error:G}),G}finally{R(this,vt).runNext(this)}}},xs=new WeakMap,Nn=new WeakMap,vt=new WeakMap,vo=new WeakMap,_n=new WeakSet,Tr=function(r){const i=s=>{switch(r.type){case"failed":return{...s,failureCount:r.failureCount,failureReason:r.error};case"pause":return{...s,isPaused:!0};case"continue":return{...s,isPaused:!1};case"pending":return{...s,context:r.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:r.isPaused,status:"pending",variables:r.variables,submittedAt:Date.now()};case"success":return{...s,data:r.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...s,data:void 0,error:r.error,failureCount:s.failureCount+1,failureReason:r.error,isPaused:!1,status:"error"}}};this.state=i(this.state),rt.batch(()=>{R(this,Nn).forEach(s=>{s.onMutationUpdate(r)}),R(this,vt).notify({mutation:this,type:"updated",action:r})})},xm);function nv(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Xn,fn,Ss,Sm,Fw=(Sm=class extends xi{constructor(r={}){super();me(this,Xn);me(this,fn);me(this,Ss);this.config=r,ee(this,Xn,new Set),ee(this,fn,new Map),ee(this,Ss,0)}build(r,i,s){const l=new Dw({client:r,mutationCache:this,mutationId:++ja(this,Ss)._,options:r.defaultMutationOptions(i),state:s});return this.add(l),l}add(r){R(this,Xn).add(r);const i=Ha(r);if(typeof i=="string"){const s=R(this,fn).get(i);s?s.push(r):R(this,fn).set(i,[r])}this.notify({type:"added",mutation:r})}remove(r){if(R(this,Xn).delete(r)){const i=Ha(r);if(typeof i=="string"){const s=R(this,fn).get(i);if(s)if(s.length>1){const l=s.indexOf(r);l!==-1&&s.splice(l,1)}else s[0]===r&&R(this,fn).delete(i)}}this.notify({type:"removed",mutation:r})}canRun(r){const i=Ha(r);if(typeof i=="string"){const s=R(this,fn).get(i),l=s==null?void 0:s.find(c=>c.state.status==="pending");return!l||l===r}else return!0}runNext(r){var s;const i=Ha(r);if(typeof i=="string"){const l=(s=R(this,fn).get(i))==null?void 0:s.find(c=>c!==r&&c.state.isPaused);return(l==null?void 0:l.continue())??Promise.resolve()}else return Promise.resolve()}clear(){rt.batch(()=>{R(this,Xn).forEach(r=>{this.notify({type:"removed",mutation:r})}),R(this,Xn).clear(),R(this,fn).clear()})}getAll(){return Array.from(R(this,Xn))}find(r){const i={exact:!0,...r};return this.getAll().find(s=>Rh(i,s))}findAll(r={}){return this.getAll().filter(i=>Rh(r,i))}notify(r){rt.batch(()=>{this.listeners.forEach(i=>{i(r)})})}resumePausedMutations(){const r=this.getAll().filter(i=>i.state.isPaused);return rt.batch(()=>Promise.all(r.map(i=>i.continue().catch(kt))))}},Xn=new WeakMap,fn=new WeakMap,Ss=new WeakMap,Sm);function Ha(n){var r;return(r=n.options.scope)==null?void 0:r.id}var Zn,Dr,Lt,Jn,tr,Za,jc,Cm,zw=(Cm=class extends xi{constructor(i,s){super();me(this,tr);me(this,Zn);me(this,Dr);me(this,Lt);me(this,Jn);ee(this,Zn,i),this.setOptions(s),this.bindMethods(),Pe(this,tr,Za).call(this)}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(i){var l;const s=this.options;this.options=R(this,Zn).defaultMutationOptions(i),rl(this.options,s)||R(this,Zn).getMutationCache().notify({type:"observerOptionsUpdated",mutation:R(this,Lt),observer:this}),s!=null&&s.mutationKey&&this.options.mutationKey&&go(s.mutationKey)!==go(this.options.mutationKey)?this.reset():((l=R(this,Lt))==null?void 0:l.state.status)==="pending"&&R(this,Lt).setOptions(this.options)}onUnsubscribe(){var i;this.hasListeners()||(i=R(this,Lt))==null||i.removeObserver(this)}onMutationUpdate(i){Pe(this,tr,Za).call(this),Pe(this,tr,jc).call(this,i)}getCurrentResult(){return R(this,Dr)}reset(){var i;(i=R(this,Lt))==null||i.removeObserver(this),ee(this,Lt,void 0),Pe(this,tr,Za).call(this),Pe(this,tr,jc).call(this)}mutate(i,s){var l;return ee(this,Jn,s),(l=R(this,Lt))==null||l.removeObserver(this),ee(this,Lt,R(this,Zn).getMutationCache().build(R(this,Zn),this.options)),R(this,Lt).addObserver(this),R(this,Lt).execute(i)}},Zn=new WeakMap,Dr=new WeakMap,Lt=new WeakMap,Jn=new WeakMap,tr=new WeakSet,Za=function(){var s;const i=((s=R(this,Lt))==null?void 0:s.state)??nv();ee(this,Dr,{...i,isPending:i.status==="pending",isSuccess:i.status==="success",isError:i.status==="error",isIdle:i.status==="idle",mutate:this.mutate,reset:this.reset})},jc=function(i){rt.batch(()=>{var s,l,c,f,p,h,m,w;if(R(this,Jn)&&this.hasListeners()){const x=R(this,Dr).variables,k=R(this,Dr).context,g={client:R(this,Zn),meta:this.options.meta,mutationKey:this.options.mutationKey};if((i==null?void 0:i.type)==="success"){try{(l=(s=R(this,Jn)).onSuccess)==null||l.call(s,i.data,x,k,g)}catch(O){Promise.reject(O)}try{(f=(c=R(this,Jn)).onSettled)==null||f.call(c,i.data,null,x,k,g)}catch(O){Promise.reject(O)}}else if((i==null?void 0:i.type)==="error"){try{(h=(p=R(this,Jn)).onError)==null||h.call(p,i.error,x,k,g)}catch(O){Promise.reject(O)}try{(w=(m=R(this,Jn)).onSettled)==null||w.call(m,void 0,i.error,x,k,g)}catch(O){Promise.reject(O)}}}this.listeners.forEach(x=>{x(R(this,Dr))})})},Cm),Ln,km,jw=(km=class extends xi{constructor(r={}){super();me(this,Ln);this.config=r,ee(this,Ln,new Map)}build(r,i,s){const l=i.queryKey,c=i.queryHash??ld(l,i);let f=this.get(c);return f||(f=new Nw({client:r,queryKey:l,queryHash:c,options:r.defaultQueryOptions(i),state:s,defaultOptions:r.getQueryDefaults(l)}),this.add(f)),f}add(r){R(this,Ln).has(r.queryHash)||(R(this,Ln).set(r.queryHash,r),this.notify({type:"added",query:r}))}remove(r){const i=R(this,Ln).get(r.queryHash);i&&(r.destroy(),i===r&&R(this,Ln).delete(r.queryHash),this.notify({type:"removed",query:r}))}clear(){rt.batch(()=>{this.getAll().forEach(r=>{this.remove(r)})})}get(r){return R(this,Ln).get(r)}getAll(){return[...R(this,Ln).values()]}find(r){const i={exact:!0,...r};return this.getAll().find(s=>Eh(i,s))}findAll(r={}){const i=this.getAll();return Object.keys(r).length>0?i.filter(s=>Eh(r,s)):i}notify(r){rt.batch(()=>{this.listeners.forEach(i=>{i(r)})})}onFocus(){rt.batch(()=>{this.getAll().forEach(r=>{r.onFocus()})})}onOnline(){rt.batch(()=>{this.getAll().forEach(r=>{r.onOnline()})})}},Ln=new WeakMap,km),Ge,Fr,zr,fi,pi,jr,hi,mi,Em,Fk=(Em=class{constructor(n={}){me(this,Ge);me(this,Fr);me(this,zr);me(this,fi);me(this,pi);me(this,jr);me(this,hi);me(this,mi);ee(this,Ge,n.queryCache||new jw),ee(this,Fr,n.mutationCache||new Fw),ee(this,zr,n.defaultOptions||{}),ee(this,fi,new Map),ee(this,pi,new Map),ee(this,jr,0)}mount(){ja(this,jr)._++,R(this,jr)===1&&(ee(this,hi,dd.subscribe(async n=>{n&&(await this.resumePausedMutations(),R(this,Ge).onFocus())})),ee(this,mi,ol.subscribe(async n=>{n&&(await this.resumePausedMutations(),R(this,Ge).onOnline())})))}unmount(){var n,r;ja(this,jr)._--,R(this,jr)===0&&((n=R(this,hi))==null||n.call(this),ee(this,hi,void 0),(r=R(this,mi))==null||r.call(this),ee(this,mi,void 0))}isFetching(n){return R(this,Ge).findAll({...n,fetchStatus:"fetching"}).length}isMutating(n){return R(this,Fr).findAll({...n,status:"pending"}).length}getQueryData(n){var i;const r=this.defaultQueryOptions({queryKey:n});return(i=R(this,Ge).get(r.queryHash))==null?void 0:i.state.data}ensureQueryData(n){const r=this.defaultQueryOptions(n),i=R(this,Ge).build(this,r),s=i.state.data;return s===void 0?this.fetchQuery(n):(n.revalidateIfStale&&i.isStaleByTime(Br(r.staleTime,i))&&this.prefetchQuery(r),Promise.resolve(s))}getQueriesData(n){return R(this,Ge).findAll(n).map(({queryKey:r,state:i})=>{const s=i.data;return[r,s]})}setQueryData(n,r,i){const s=this.defaultQueryOptions({queryKey:n}),l=R(this,Ge).get(s.queryHash),c=l==null?void 0:l.state.data,f=xw(r,c);if(f!==void 0)return R(this,Ge).build(this,s).setData(f,{...i,manual:!0})}setQueriesData(n,r,i){return rt.batch(()=>R(this,Ge).findAll(n).map(({queryKey:s})=>[s,this.setQueryData(s,r,i)]))}getQueryState(n){var i;const r=this.defaultQueryOptions({queryKey:n});return(i=R(this,Ge).get(r.queryHash))==null?void 0:i.state}removeQueries(n){const r=R(this,Ge);rt.batch(()=>{r.findAll(n).forEach(i=>{r.remove(i)})})}resetQueries(n,r){const i=R(this,Ge);return rt.batch(()=>(i.findAll(n).forEach(s=>{s.reset()}),this.refetchQueries({type:"active",...n},r)))}cancelQueries(n,r={}){const i={revert:!0,...r},s=rt.batch(()=>R(this,Ge).findAll(n).map(l=>l.cancel(i)));return Promise.all(s).then(kt).catch(kt)}invalidateQueries(n,r={}){return rt.batch(()=>(R(this,Ge).findAll(n).forEach(i=>{i.invalidate()}),(n==null?void 0:n.refetchType)==="none"?Promise.resolve():this.refetchQueries({...n,type:(n==null?void 0:n.refetchType)??(n==null?void 0:n.type)??"active"},r)))}refetchQueries(n,r={}){const i={...r,cancelRefetch:r.cancelRefetch??!0},s=rt.batch(()=>R(this,Ge).findAll(n).filter(l=>!l.isDisabled()&&!l.isStatic()).map(l=>{let c=l.fetch(void 0,i);return i.throwOnError||(c=c.catch(kt)),l.state.fetchStatus==="paused"?Promise.resolve():c}));return Promise.all(s).then(kt)}fetchQuery(n){const r=this.defaultQueryOptions(n);r.retry===void 0&&(r.retry=!1);const i=R(this,Ge).build(this,r);return i.isStaleByTime(Br(r.staleTime,i))?i.fetch(r):Promise.resolve(i.state.data)}prefetchQuery(n){return this.fetchQuery(n).then(kt).catch(kt)}fetchInfiniteQuery(n){return n.behavior=_h(n.pages),this.fetchQuery(n)}prefetchInfiniteQuery(n){return this.fetchInfiniteQuery(n).then(kt).catch(kt)}ensureInfiniteQueryData(n){return n.behavior=_h(n.pages),this.ensureQueryData(n)}resumePausedMutations(){return ol.isOnline()?R(this,Fr).resumePausedMutations():Promise.resolve()}getQueryCache(){return R(this,Ge)}getMutationCache(){return R(this,Fr)}getDefaultOptions(){return R(this,zr)}setDefaultOptions(n){ee(this,zr,n)}setQueryDefaults(n,r){R(this,fi).set(go(n),{queryKey:n,defaultOptions:r})}getQueryDefaults(n){const r=[...R(this,fi).values()],i={};return r.forEach(s=>{hs(n,s.queryKey)&&Object.assign(i,s.defaultOptions)}),i}setMutationDefaults(n,r){R(this,pi).set(go(n),{mutationKey:n,defaultOptions:r})}getMutationDefaults(n){const r=[...R(this,pi).values()],i={};return r.forEach(s=>{hs(n,s.mutationKey)&&Object.assign(i,s.defaultOptions)}),i}defaultQueryOptions(n){if(n._defaulted)return n;const r={...R(this,zr).queries,...this.getQueryDefaults(n.queryKey),...n,_defaulted:!0};return r.queryHash||(r.queryHash=ld(r.queryKey,r)),r.refetchOnReconnect===void 0&&(r.refetchOnReconnect=r.networkMode!=="always"),r.throwOnError===void 0&&(r.throwOnError=!!r.suspense),!r.networkMode&&r.persister&&(r.networkMode="offlineFirst"),r.queryFn===ud&&(r.enabled=!1),r}defaultMutationOptions(n){return n!=null&&n._defaulted?n:{...R(this,zr).mutations,...(n==null?void 0:n.mutationKey)&&this.getMutationDefaults(n.mutationKey),...n,_defaulted:!0}}clear(){R(this,Ge).clear(),R(this,Fr).clear()}},Ge=new WeakMap,Fr=new WeakMap,zr=new WeakMap,fi=new WeakMap,pi=new WeakMap,jr=new WeakMap,hi=new WeakMap,mi=new WeakMap,Em),rv=y.createContext(void 0),ov=n=>{const r=y.useContext(rv);if(!r)throw new Error("No QueryClient set, use QueryClientProvider to set one");return r},zk=({client:n,children:r})=>(y.useEffect(()=>(n.mount(),()=>{n.unmount()}),[n]),V.jsx(rv.Provider,{value:n,children:r})),iv=y.createContext(!1),Bw=()=>y.useContext(iv);iv.Provider;function Uw(){let n=!1;return{clearReset:()=>{n=!1},reset:()=>{n=!0},isReset:()=>n}}var Hw=y.createContext(Uw()),$w=()=>y.useContext(Hw),Ww=(n,r,i)=>{const s=i!=null&&i.state.error&&typeof n.throwOnError=="function"?cd(n.throwOnError,[i.state.error,i]):n.throwOnError;(n.suspense||n.experimental_prefetchInRender||s)&&(r.isReset()||(n.retryOnMount=!1))},Vw=n=>{y.useEffect(()=>{n.clearReset()},[n])},Qw=({result:n,errorResetBoundary:r,throwOnError:i,query:s,suspense:l})=>n.isError&&!r.isReset()&&!n.isFetching&&s&&(l&&n.data===void 0||cd(i,[n.error,s])),Kw=n=>{if(n.suspense){const i=l=>l==="static"?l:Math.max(l??1e3,1e3),s=n.staleTime;n.staleTime=typeof s=="function"?(...l)=>i(s(...l)):i(s),typeof n.gcTime=="number"&&(n.gcTime=Math.max(n.gcTime,1e3))}},qw=(n,r)=>n.isLoading&&n.isFetching&&!r,Gw=(n,r)=>(n==null?void 0:n.suspense)&&r.isPending,Ah=(n,r,i)=>r.fetchOptimistic(n).catch(()=>{i.clearReset()});function Yw(n,r,i){var k,g,O,S;const s=Bw(),l=$w(),c=ov(),f=c.defaultQueryOptions(n);(g=(k=c.getDefaultOptions().queries)==null?void 0:k._experimental_beforeQuery)==null||g.call(k,f);const p=c.getQueryCache().get(f.queryHash);f._optimisticResults=s?"isRestoring":"optimistic",Kw(f),Ww(f,l,p),Vw(l);const h=!c.getQueryCache().get(f.queryHash),[m]=y.useState(()=>new r(c,f)),w=m.getOptimisticResult(f),x=!s&&n.subscribed!==!1;if(y.useSyncExternalStore(y.useCallback(C=>{const P=x?m.subscribe(rt.batchCalls(C)):kt;return m.updateResult(),P},[m,x]),()=>m.getCurrentResult(),()=>m.getCurrentResult()),y.useEffect(()=>{m.setOptions(f)},[f,m]),Gw(f,w))throw Ah(f,m,l);if(Qw({result:w,errorResetBoundary:l,throwOnError:f.throwOnError,query:p,suspense:f.suspense}))throw w.error;if((S=(O=c.getDefaultOptions().queries)==null?void 0:O._experimental_afterQuery)==null||S.call(O,f,w),f.experimental_prefetchInRender&&!yo&&qw(w,s)){const C=h?Ah(f,m,l):p==null?void 0:p.promise;C==null||C.catch(kt).finally(()=>{m.updateResult()})}return f.notifyOnChangeProps?w:m.trackResult(w)}function jk(n,r){return Yw(n,_w)}function Bk(n,r){const i=ov(),[s]=y.useState(()=>new zw(i,n));y.useEffect(()=>{s.setOptions(n)},[s,n]);const l=y.useSyncExternalStore(y.useCallback(f=>s.subscribe(rt.batchCalls(f)),[s]),()=>s.getCurrentResult(),()=>s.getCurrentResult()),c=y.useCallback((f,p)=>{s.mutate(f,p).catch(kt)},[s]);if(l.error&&cd(s.options.throwOnError,[l.error]))throw l.error;return{...l,mutate:c,mutateAsync:l.mutate}}function sv(n){var r,i,s="";if(typeof n=="string"||typeof n=="number")s+=n;else if(typeof n=="object")if(Array.isArray(n)){var l=n.length;for(r=0;r<l;r++)n[r]&&(i=sv(n[r]))&&(s&&(s+=" "),s+=i)}else for(i in n)n[i]&&(s&&(s+=" "),s+=i);return s}function Xw(){for(var n,r,i=0,s="",l=arguments.length;i<l;i++)(n=arguments[i])&&(r=sv(n))&&(s&&(s+=" "),s+=r);return s}const Ih=n=>typeof n=="boolean"?`${n}`:n===0?"0":n,Dh=Xw,Uk=(n,r)=>i=>{var s;if((r==null?void 0:r.variants)==null)return Dh(n,i==null?void 0:i.class,i==null?void 0:i.className);const{variants:l,defaultVariants:c}=r,f=Object.keys(l).map(m=>{const w=i==null?void 0:i[m],x=c==null?void 0:c[m];if(w===null)return null;const k=Ih(w)||Ih(x);return l[m][k]}),p=i&&Object.entries(i).reduce((m,w)=>{let[x,k]=w;return k===void 0||(m[x]=k),m},{}),h=r==null||(s=r.compoundVariants)===null||s===void 0?void 0:s.reduce((m,w)=>{let{class:x,className:k,...g}=w;return Object.entries(g).every(O=>{let[S,C]=O;return Array.isArray(C)?C.includes({...c,...p}[S]):{...c,...p}[S]===C})?[...m,x,k]:m},[]);return Dh(n,f,h,i==null?void 0:i.class,i==null?void 0:i.className)},pd="-",Zw=n=>{const r=ex(n),{conflictingClassGroups:i,conflictingClassGroupModifiers:s}=n;return{getClassGroupId:f=>{const p=f.split(pd);return p[0]===""&&p.length!==1&&p.shift(),av(p,r)||Jw(f)},getConflictingClassGroupIds:(f,p)=>{const h=i[f]||[];return p&&s[f]?[...h,...s[f]]:h}}},av=(n,r)=>{var f;if(n.length===0)return r.classGroupId;const i=n[0],s=r.nextPart.get(i),l=s?av(n.slice(1),s):void 0;if(l)return l;if(r.validators.length===0)return;const c=n.join(pd);return(f=r.validators.find(({validator:p})=>p(c)))==null?void 0:f.classGroupId},Fh=/^\[(.+)\]$/,Jw=n=>{if(Fh.test(n)){const r=Fh.exec(n)[1],i=r==null?void 0:r.substring(0,r.indexOf(":"));if(i)return"arbitrary.."+i}},ex=n=>{const{theme:r,prefix:i}=n,s={nextPart:new Map,validators:[]};return nx(Object.entries(n.classGroups),i).forEach(([c,f])=>{Bc(f,s,c,r)}),s},Bc=(n,r,i,s)=>{n.forEach(l=>{if(typeof l=="string"){const c=l===""?r:zh(r,l);c.classGroupId=i;return}if(typeof l=="function"){if(tx(l)){Bc(l(s),r,i,s);return}r.validators.push({validator:l,classGroupId:i});return}Object.entries(l).forEach(([c,f])=>{Bc(f,zh(r,c),i,s)})})},zh=(n,r)=>{let i=n;return r.split(pd).forEach(s=>{i.nextPart.has(s)||i.nextPart.set(s,{nextPart:new Map,validators:[]}),i=i.nextPart.get(s)}),i},tx=n=>n.isThemeGetter,nx=(n,r)=>r?n.map(([i,s])=>{const l=s.map(c=>typeof c=="string"?r+c:typeof c=="object"?Object.fromEntries(Object.entries(c).map(([f,p])=>[r+f,p])):c);return[i,l]}):n,rx=n=>{if(n<1)return{get:()=>{},set:()=>{}};let r=0,i=new Map,s=new Map;const l=(c,f)=>{i.set(c,f),r++,r>n&&(r=0,s=i,i=new Map)};return{get(c){let f=i.get(c);if(f!==void 0)return f;if((f=s.get(c))!==void 0)return l(c,f),f},set(c,f){i.has(c)?i.set(c,f):l(c,f)}}},lv="!",ox=n=>{const{separator:r,experimentalParseClassName:i}=n,s=r.length===1,l=r[0],c=r.length,f=p=>{const h=[];let m=0,w=0,x;for(let C=0;C<p.length;C++){let P=p[C];if(m===0){if(P===l&&(s||p.slice(C,C+c)===r)){h.push(p.slice(w,C)),w=C+c;continue}if(P==="/"){x=C;continue}}P==="["?m++:P==="]"&&m--}const k=h.length===0?p:p.substring(w),g=k.startsWith(lv),O=g?k.substring(1):k,S=x&&x>w?x-w:void 0;return{modifiers:h,hasImportantModifier:g,baseClassName:O,maybePostfixModifierPosition:S}};return i?p=>i({className:p,parseClassName:f}):f},ix=n=>{if(n.length<=1)return n;const r=[];let i=[];return n.forEach(s=>{s[0]==="["?(r.push(...i.sort(),s),i=[]):i.push(s)}),r.push(...i.sort()),r},sx=n=>({cache:rx(n.cacheSize),parseClassName:ox(n),...Zw(n)}),ax=/\s+/,lx=(n,r)=>{const{parseClassName:i,getClassGroupId:s,getConflictingClassGroupIds:l}=r,c=[],f=n.trim().split(ax);let p="";for(let h=f.length-1;h>=0;h-=1){const m=f[h],{modifiers:w,hasImportantModifier:x,baseClassName:k,maybePostfixModifierPosition:g}=i(m);let O=!!g,S=s(O?k.substring(0,g):k);if(!S){if(!O){p=m+(p.length>0?" "+p:p);continue}if(S=s(k),!S){p=m+(p.length>0?" "+p:p);continue}O=!1}const C=ix(w).join(":"),P=x?C+lv:C,T=P+S;if(c.includes(T))continue;c.push(T);const b=l(S,O);for(let L=0;L<b.length;++L){const z=b[L];c.push(P+z)}p=m+(p.length>0?" "+p:p)}return p};function ux(){let n=0,r,i,s="";for(;n<arguments.length;)(r=arguments[n++])&&(i=uv(r))&&(s&&(s+=" "),s+=i);return s}const uv=n=>{if(typeof n=="string")return n;let r,i="";for(let s=0;s<n.length;s++)n[s]&&(r=uv(n[s]))&&(i&&(i+=" "),i+=r);return i};function cx(n,...r){let i,s,l,c=f;function f(h){const m=r.reduce((w,x)=>x(w),n());return i=sx(m),s=i.cache.get,l=i.cache.set,c=p,p(h)}function p(h){const m=s(h);if(m)return m;const w=lx(h,i);return l(h,w),w}return function(){return c(ux.apply(null,arguments))}}const He=n=>{const r=i=>i[n]||[];return r.isThemeGetter=!0,r},cv=/^\[(?:([a-z-]+):)?(.+)\]$/i,dx=/^\d+\/\d+$/,fx=new Set(["px","full","screen"]),px=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,hx=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,mx=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,vx=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,yx=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,qn=n=>ei(n)||fx.has(n)||dx.test(n),Pr=n=>Si(n,"length",Rx),ei=n=>!!n&&!Number.isNaN(Number(n)),hc=n=>Si(n,"number",ei),us=n=>!!n&&Number.isInteger(Number(n)),gx=n=>n.endsWith("%")&&ei(n.slice(0,-1)),be=n=>cv.test(n),Mr=n=>px.test(n),wx=new Set(["length","size","percentage"]),xx=n=>Si(n,wx,dv),Sx=n=>Si(n,"position",dv),Cx=new Set(["image","url"]),kx=n=>Si(n,Cx,Px),Ex=n=>Si(n,"",bx),cs=()=>!0,Si=(n,r,i)=>{const s=cv.exec(n);return s?s[1]?typeof r=="string"?s[1]===r:r.has(s[1]):i(s[2]):!1},Rx=n=>hx.test(n)&&!mx.test(n),dv=()=>!1,bx=n=>vx.test(n),Px=n=>yx.test(n),Mx=()=>{const n=He("colors"),r=He("spacing"),i=He("blur"),s=He("brightness"),l=He("borderColor"),c=He("borderRadius"),f=He("borderSpacing"),p=He("borderWidth"),h=He("contrast"),m=He("grayscale"),w=He("hueRotate"),x=He("invert"),k=He("gap"),g=He("gradientColorStops"),O=He("gradientColorStopPositions"),S=He("inset"),C=He("margin"),P=He("opacity"),T=He("padding"),b=He("saturate"),L=He("scale"),z=He("sepia"),U=He("skew"),H=He("space"),G=He("translate"),J=()=>["auto","contain","none"],te=()=>["auto","hidden","clip","visible","scroll"],he=()=>["auto",be,r],Z=()=>[be,r],ye=()=>["",qn,Pr],de=()=>["auto",ei,be],xe=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],ue=()=>["solid","dashed","dotted","double","none"],se=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],j=()=>["start","end","center","between","around","evenly","stretch"],B=()=>["","0",be],Q=()=>["auto","avoid","all","avoid-page","page","left","right","column"],N=()=>[ei,be];return{cacheSize:500,separator:":",theme:{colors:[cs],spacing:[qn,Pr],blur:["none","",Mr,be],brightness:N(),borderColor:[n],borderRadius:["none","","full",Mr,be],borderSpacing:Z(),borderWidth:ye(),contrast:N(),grayscale:B(),hueRotate:N(),invert:B(),gap:Z(),gradientColorStops:[n],gradientColorStopPositions:[gx,Pr],inset:he(),margin:he(),opacity:N(),padding:Z(),saturate:N(),scale:N(),sepia:B(),skew:N(),space:Z(),translate:Z()},classGroups:{aspect:[{aspect:["auto","square","video",be]}],container:["container"],columns:[{columns:[Mr]}],"break-after":[{"break-after":Q()}],"break-before":[{"break-before":Q()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...xe(),be]}],overflow:[{overflow:te()}],"overflow-x":[{"overflow-x":te()}],"overflow-y":[{"overflow-y":te()}],overscroll:[{overscroll:J()}],"overscroll-x":[{"overscroll-x":J()}],"overscroll-y":[{"overscroll-y":J()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[S]}],"inset-x":[{"inset-x":[S]}],"inset-y":[{"inset-y":[S]}],start:[{start:[S]}],end:[{end:[S]}],top:[{top:[S]}],right:[{right:[S]}],bottom:[{bottom:[S]}],left:[{left:[S]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",us,be]}],basis:[{basis:he()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",be]}],grow:[{grow:B()}],shrink:[{shrink:B()}],order:[{order:["first","last","none",us,be]}],"grid-cols":[{"grid-cols":[cs]}],"col-start-end":[{col:["auto",{span:["full",us,be]},be]}],"col-start":[{"col-start":de()}],"col-end":[{"col-end":de()}],"grid-rows":[{"grid-rows":[cs]}],"row-start-end":[{row:["auto",{span:[us,be]},be]}],"row-start":[{"row-start":de()}],"row-end":[{"row-end":de()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",be]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",be]}],gap:[{gap:[k]}],"gap-x":[{"gap-x":[k]}],"gap-y":[{"gap-y":[k]}],"justify-content":[{justify:["normal",...j()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...j(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...j(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[T]}],px:[{px:[T]}],py:[{py:[T]}],ps:[{ps:[T]}],pe:[{pe:[T]}],pt:[{pt:[T]}],pr:[{pr:[T]}],pb:[{pb:[T]}],pl:[{pl:[T]}],m:[{m:[C]}],mx:[{mx:[C]}],my:[{my:[C]}],ms:[{ms:[C]}],me:[{me:[C]}],mt:[{mt:[C]}],mr:[{mr:[C]}],mb:[{mb:[C]}],ml:[{ml:[C]}],"space-x":[{"space-x":[H]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[H]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",be,r]}],"min-w":[{"min-w":[be,r,"min","max","fit"]}],"max-w":[{"max-w":[be,r,"none","full","min","max","fit","prose",{screen:[Mr]},Mr]}],h:[{h:[be,r,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[be,r,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[be,r,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[be,r,"auto","min","max","fit"]}],"font-size":[{text:["base",Mr,Pr]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",hc]}],"font-family":[{font:[cs]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",be]}],"line-clamp":[{"line-clamp":["none",ei,hc]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",qn,be]}],"list-image":[{"list-image":["none",be]}],"list-style-type":[{list:["none","disc","decimal",be]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[n]}],"placeholder-opacity":[{"placeholder-opacity":[P]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[n]}],"text-opacity":[{"text-opacity":[P]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ue(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",qn,Pr]}],"underline-offset":[{"underline-offset":["auto",qn,be]}],"text-decoration-color":[{decoration:[n]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:Z()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",be]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",be]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[P]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...xe(),Sx]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",xx]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},kx]}],"bg-color":[{bg:[n]}],"gradient-from-pos":[{from:[O]}],"gradient-via-pos":[{via:[O]}],"gradient-to-pos":[{to:[O]}],"gradient-from":[{from:[g]}],"gradient-via":[{via:[g]}],"gradient-to":[{to:[g]}],rounded:[{rounded:[c]}],"rounded-s":[{"rounded-s":[c]}],"rounded-e":[{"rounded-e":[c]}],"rounded-t":[{"rounded-t":[c]}],"rounded-r":[{"rounded-r":[c]}],"rounded-b":[{"rounded-b":[c]}],"rounded-l":[{"rounded-l":[c]}],"rounded-ss":[{"rounded-ss":[c]}],"rounded-se":[{"rounded-se":[c]}],"rounded-ee":[{"rounded-ee":[c]}],"rounded-es":[{"rounded-es":[c]}],"rounded-tl":[{"rounded-tl":[c]}],"rounded-tr":[{"rounded-tr":[c]}],"rounded-br":[{"rounded-br":[c]}],"rounded-bl":[{"rounded-bl":[c]}],"border-w":[{border:[p]}],"border-w-x":[{"border-x":[p]}],"border-w-y":[{"border-y":[p]}],"border-w-s":[{"border-s":[p]}],"border-w-e":[{"border-e":[p]}],"border-w-t":[{"border-t":[p]}],"border-w-r":[{"border-r":[p]}],"border-w-b":[{"border-b":[p]}],"border-w-l":[{"border-l":[p]}],"border-opacity":[{"border-opacity":[P]}],"border-style":[{border:[...ue(),"hidden"]}],"divide-x":[{"divide-x":[p]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[p]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[P]}],"divide-style":[{divide:ue()}],"border-color":[{border:[l]}],"border-color-x":[{"border-x":[l]}],"border-color-y":[{"border-y":[l]}],"border-color-s":[{"border-s":[l]}],"border-color-e":[{"border-e":[l]}],"border-color-t":[{"border-t":[l]}],"border-color-r":[{"border-r":[l]}],"border-color-b":[{"border-b":[l]}],"border-color-l":[{"border-l":[l]}],"divide-color":[{divide:[l]}],"outline-style":[{outline:["",...ue()]}],"outline-offset":[{"outline-offset":[qn,be]}],"outline-w":[{outline:[qn,Pr]}],"outline-color":[{outline:[n]}],"ring-w":[{ring:ye()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[n]}],"ring-opacity":[{"ring-opacity":[P]}],"ring-offset-w":[{"ring-offset":[qn,Pr]}],"ring-offset-color":[{"ring-offset":[n]}],shadow:[{shadow:["","inner","none",Mr,Ex]}],"shadow-color":[{shadow:[cs]}],opacity:[{opacity:[P]}],"mix-blend":[{"mix-blend":[...se(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":se()}],filter:[{filter:["","none"]}],blur:[{blur:[i]}],brightness:[{brightness:[s]}],contrast:[{contrast:[h]}],"drop-shadow":[{"drop-shadow":["","none",Mr,be]}],grayscale:[{grayscale:[m]}],"hue-rotate":[{"hue-rotate":[w]}],invert:[{invert:[x]}],saturate:[{saturate:[b]}],sepia:[{sepia:[z]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[i]}],"backdrop-brightness":[{"backdrop-brightness":[s]}],"backdrop-contrast":[{"backdrop-contrast":[h]}],"backdrop-grayscale":[{"backdrop-grayscale":[m]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[w]}],"backdrop-invert":[{"backdrop-invert":[x]}],"backdrop-opacity":[{"backdrop-opacity":[P]}],"backdrop-saturate":[{"backdrop-saturate":[b]}],"backdrop-sepia":[{"backdrop-sepia":[z]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[f]}],"border-spacing-x":[{"border-spacing-x":[f]}],"border-spacing-y":[{"border-spacing-y":[f]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",be]}],duration:[{duration:N()}],ease:[{ease:["linear","in","out","in-out",be]}],delay:[{delay:N()}],animate:[{animate:["none","spin","ping","pulse","bounce",be]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[L]}],"scale-x":[{"scale-x":[L]}],"scale-y":[{"scale-y":[L]}],rotate:[{rotate:[us,be]}],"translate-x":[{"translate-x":[G]}],"translate-y":[{"translate-y":[G]}],"skew-x":[{"skew-x":[U]}],"skew-y":[{"skew-y":[U]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",be]}],accent:[{accent:["auto",n]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",be]}],"caret-color":[{caret:[n]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":Z()}],"scroll-mx":[{"scroll-mx":Z()}],"scroll-my":[{"scroll-my":Z()}],"scroll-ms":[{"scroll-ms":Z()}],"scroll-me":[{"scroll-me":Z()}],"scroll-mt":[{"scroll-mt":Z()}],"scroll-mr":[{"scroll-mr":Z()}],"scroll-mb":[{"scroll-mb":Z()}],"scroll-ml":[{"scroll-ml":Z()}],"scroll-p":[{"scroll-p":Z()}],"scroll-px":[{"scroll-px":Z()}],"scroll-py":[{"scroll-py":Z()}],"scroll-ps":[{"scroll-ps":Z()}],"scroll-pe":[{"scroll-pe":Z()}],"scroll-pt":[{"scroll-pt":Z()}],"scroll-pr":[{"scroll-pr":Z()}],"scroll-pb":[{"scroll-pb":Z()}],"scroll-pl":[{"scroll-pl":Z()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",be]}],fill:[{fill:[n,"none"]}],"stroke-w":[{stroke:[qn,Pr,hc]}],stroke:[{stroke:[n,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},Hk=cx(Mx);function $e(n,r,{checkForDefaultPrevented:i=!0}={}){return function(l){if(n==null||n(l),i===!1||!l.defaultPrevented)return r==null?void 0:r(l)}}function jh(n,r){if(typeof n=="function")return n(r);n!=null&&(n.current=r)}function fv(...n){return r=>{let i=!1;const s=n.map(l=>{const c=jh(l,r);return!i&&typeof c=="function"&&(i=!0),c});if(i)return()=>{for(let l=0;l<s.length;l++){const c=s[l];typeof c=="function"?c():jh(n[l],null)}}}}function Je(...n){return y.useCallback(fv(...n),n)}function Tx(n,r){const i=y.createContext(r),s=c=>{const{children:f,...p}=c,h=y.useMemo(()=>p,Object.values(p));return V.jsx(i.Provider,{value:h,children:f})};s.displayName=n+"Provider";function l(c){const f=y.useContext(i);if(f)return f;if(r!==void 0)return r;throw new Error(`\`${c}\` must be used within \`${n}\``)}return[s,l]}function pl(n,r=[]){let i=[];function s(c,f){const p=y.createContext(f),h=i.length;i=[...i,f];const m=x=>{var P;const{scope:k,children:g,...O}=x,S=((P=k==null?void 0:k[n])==null?void 0:P[h])||p,C=y.useMemo(()=>O,Object.values(O));return V.jsx(S.Provider,{value:C,children:g})};m.displayName=c+"Provider";function w(x,k){var S;const g=((S=k==null?void 0:k[n])==null?void 0:S[h])||p,O=y.useContext(g);if(O)return O;if(f!==void 0)return f;throw new Error(`\`${x}\` must be used within \`${c}\``)}return[m,w]}const l=()=>{const c=i.map(f=>y.createContext(f));return function(p){const h=(p==null?void 0:p[n])||c;return y.useMemo(()=>({[`__scope${n}`]:{...p,[n]:h}}),[p,h])}};return l.scopeName=n,[s,Ox(l,...r)]}function Ox(...n){const r=n[0];if(n.length===1)return r;const i=()=>{const s=n.map(l=>({useScope:l(),scopeName:l.scopeName}));return function(c){const f=s.reduce((p,{useScope:h,scopeName:m})=>{const x=h(c)[`__scope${m}`];return{...p,...x}},{});return y.useMemo(()=>({[`__scope${r.scopeName}`]:f}),[f])}};return i.scopeName=r.scopeName,i}var yt=globalThis!=null&&globalThis.document?y.useLayoutEffect:()=>{},Nx=bm[" useId ".trim().toString()]||(()=>{}),_x=0;function ti(n){const[r,i]=y.useState(Nx());return yt(()=>{i(s=>s??String(_x++))},[n]),r?`radix-${r}`:""}var Lx=bm[" useInsertionEffect ".trim().toString()]||yt;function Uc({prop:n,defaultProp:r,onChange:i=()=>{},caller:s}){const[l,c,f]=Ax({defaultProp:r,onChange:i}),p=n!==void 0,h=p?n:l;{const w=y.useRef(n!==void 0);y.useEffect(()=>{const x=w.current;x!==p&&console.warn(`${s} is changing from ${x?"controlled":"uncontrolled"} to ${p?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),w.current=p},[p,s])}const m=y.useCallback(w=>{var x;if(p){const k=Ix(w)?w(n):w;k!==n&&((x=f.current)==null||x.call(f,k))}else c(w)},[p,n,c,f]);return[h,m]}function Ax({defaultProp:n,onChange:r}){const[i,s]=y.useState(n),l=y.useRef(i),c=y.useRef(r);return Lx(()=>{c.current=r},[r]),y.useEffect(()=>{var f;l.current!==i&&((f=c.current)==null||f.call(c,i),l.current=i)},[i,l]),[i,s,c]}function Ix(n){return typeof n=="function"}function ms(n){const r=Dx(n),i=y.forwardRef((s,l)=>{const{children:c,...f}=s,p=y.Children.toArray(c),h=p.find(Fx);if(h){const m=h.props.children,w=p.map(x=>x===h?y.Children.count(m)>1?y.Children.only(null):y.isValidElement(m)?m.props.children:null:x);return V.jsx(r,{...f,ref:l,children:y.isValidElement(m)?y.cloneElement(m,void 0,w):null})}return V.jsx(r,{...f,ref:l,children:c})});return i.displayName=`${n}.Slot`,i}function Dx(n){const r=y.forwardRef((i,s)=>{const{children:l,...c}=i;if(y.isValidElement(l)){const f=jx(l),p=zx(c,l.props);return l.type!==y.Fragment&&(p.ref=s?fv(s,f):f),y.cloneElement(l,p)}return y.Children.count(l)>1?y.Children.only(null):null});return r.displayName=`${n}.SlotClone`,r}var pv=Symbol("radix.slottable");function $k(n){const r=({children:i})=>V.jsx(V.Fragment,{children:i});return r.displayName=`${n}.Slottable`,r.__radixId=pv,r}function Fx(n){return y.isValidElement(n)&&typeof n.type=="function"&&"__radixId"in n.type&&n.type.__radixId===pv}function zx(n,r){const i={...r};for(const s in r){const l=n[s],c=r[s];/^on[A-Z]/.test(s)?l&&c?i[s]=(...p)=>{const h=c(...p);return l(...p),h}:l&&(i[s]=l):s==="style"?i[s]={...l,...c}:s==="className"&&(i[s]=[l,c].filter(Boolean).join(" "))}return{...n,...i}}function jx(n){var s,l;let r=(s=Object.getOwnPropertyDescriptor(n.props,"ref"))==null?void 0:s.get,i=r&&"isReactWarning"in r&&r.isReactWarning;return i?n.ref:(r=(l=Object.getOwnPropertyDescriptor(n,"ref"))==null?void 0:l.get,i=r&&"isReactWarning"in r&&r.isReactWarning,i?n.props.ref:n.props.ref||n.ref)}var Bx=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],je=Bx.reduce((n,r)=>{const i=ms(`Primitive.${r}`),s=y.forwardRef((l,c)=>{const{asChild:f,...p}=l,h=f?i:r;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),V.jsx(h,{...p,ref:c})});return s.displayName=`Primitive.${r}`,{...n,[r]:s}},{});function Ux(n,r){n&&Es.flushSync(()=>n.dispatchEvent(r))}function wo(n){const r=y.useRef(n);return y.useEffect(()=>{r.current=n}),y.useMemo(()=>(...i)=>{var s;return(s=r.current)==null?void 0:s.call(r,...i)},[])}function Hx(n,r=globalThis==null?void 0:globalThis.document){const i=wo(n);y.useEffect(()=>{const s=l=>{l.key==="Escape"&&i(l)};return r.addEventListener("keydown",s,{capture:!0}),()=>r.removeEventListener("keydown",s,{capture:!0})},[i,r])}var $x="DismissableLayer",Hc="dismissableLayer.update",Wx="dismissableLayer.pointerDownOutside",Vx="dismissableLayer.focusOutside",Bh,hv=y.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),hd=y.forwardRef((n,r)=>{const{disableOutsidePointerEvents:i=!1,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:c,onInteractOutside:f,onDismiss:p,...h}=n,m=y.useContext(hv),[w,x]=y.useState(null),k=(w==null?void 0:w.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,g]=y.useState({}),O=Je(r,H=>x(H)),S=Array.from(m.layers),[C]=[...m.layersWithOutsidePointerEventsDisabled].slice(-1),P=S.indexOf(C),T=w?S.indexOf(w):-1,b=m.layersWithOutsidePointerEventsDisabled.size>0,L=T>=P,z=qx(H=>{const G=H.target,J=[...m.branches].some(te=>te.contains(G));!L||J||(l==null||l(H),f==null||f(H),H.defaultPrevented||p==null||p())},k),U=Gx(H=>{const G=H.target;[...m.branches].some(te=>te.contains(G))||(c==null||c(H),f==null||f(H),H.defaultPrevented||p==null||p())},k);return Hx(H=>{T===m.layers.size-1&&(s==null||s(H),!H.defaultPrevented&&p&&(H.preventDefault(),p()))},k),y.useEffect(()=>{if(w)return i&&(m.layersWithOutsidePointerEventsDisabled.size===0&&(Bh=k.body.style.pointerEvents,k.body.style.pointerEvents="none"),m.layersWithOutsidePointerEventsDisabled.add(w)),m.layers.add(w),Uh(),()=>{i&&m.layersWithOutsidePointerEventsDisabled.size===1&&(k.body.style.pointerEvents=Bh)}},[w,k,i,m]),y.useEffect(()=>()=>{w&&(m.layers.delete(w),m.layersWithOutsidePointerEventsDisabled.delete(w),Uh())},[w,m]),y.useEffect(()=>{const H=()=>g({});return document.addEventListener(Hc,H),()=>document.removeEventListener(Hc,H)},[]),V.jsx(je.div,{...h,ref:O,style:{pointerEvents:b?L?"auto":"none":void 0,...n.style},onFocusCapture:$e(n.onFocusCapture,U.onFocusCapture),onBlurCapture:$e(n.onBlurCapture,U.onBlurCapture),onPointerDownCapture:$e(n.onPointerDownCapture,z.onPointerDownCapture)})});hd.displayName=$x;var Qx="DismissableLayerBranch",Kx=y.forwardRef((n,r)=>{const i=y.useContext(hv),s=y.useRef(null),l=Je(r,s);return y.useEffect(()=>{const c=s.current;if(c)return i.branches.add(c),()=>{i.branches.delete(c)}},[i.branches]),V.jsx(je.div,{...n,ref:l})});Kx.displayName=Qx;function qx(n,r=globalThis==null?void 0:globalThis.document){const i=wo(n),s=y.useRef(!1),l=y.useRef(()=>{});return y.useEffect(()=>{const c=p=>{if(p.target&&!s.current){let h=function(){mv(Wx,i,m,{discrete:!0})};const m={originalEvent:p};p.pointerType==="touch"?(r.removeEventListener("click",l.current),l.current=h,r.addEventListener("click",l.current,{once:!0})):h()}else r.removeEventListener("click",l.current);s.current=!1},f=window.setTimeout(()=>{r.addEventListener("pointerdown",c)},0);return()=>{window.clearTimeout(f),r.removeEventListener("pointerdown",c),r.removeEventListener("click",l.current)}},[r,i]),{onPointerDownCapture:()=>s.current=!0}}function Gx(n,r=globalThis==null?void 0:globalThis.document){const i=wo(n),s=y.useRef(!1);return y.useEffect(()=>{const l=c=>{c.target&&!s.current&&mv(Vx,i,{originalEvent:c},{discrete:!1})};return r.addEventListener("focusin",l),()=>r.removeEventListener("focusin",l)},[r,i]),{onFocusCapture:()=>s.current=!0,onBlurCapture:()=>s.current=!1}}function Uh(){const n=new CustomEvent(Hc);document.dispatchEvent(n)}function mv(n,r,i,{discrete:s}){const l=i.originalEvent.target,c=new CustomEvent(n,{bubbles:!1,cancelable:!0,detail:i});r&&l.addEventListener(n,r,{once:!0}),s?Ux(l,c):l.dispatchEvent(c)}var mc="focusScope.autoFocusOnMount",vc="focusScope.autoFocusOnUnmount",Hh={bubbles:!1,cancelable:!0},Yx="FocusScope",md=y.forwardRef((n,r)=>{const{loop:i=!1,trapped:s=!1,onMountAutoFocus:l,onUnmountAutoFocus:c,...f}=n,[p,h]=y.useState(null),m=wo(l),w=wo(c),x=y.useRef(null),k=Je(r,S=>h(S)),g=y.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;y.useEffect(()=>{if(s){let S=function(b){if(g.paused||!p)return;const L=b.target;p.contains(L)?x.current=L:Or(x.current,{select:!0})},C=function(b){if(g.paused||!p)return;const L=b.relatedTarget;L!==null&&(p.contains(L)||Or(x.current,{select:!0}))},P=function(b){if(document.activeElement===document.body)for(const z of b)z.removedNodes.length>0&&Or(p)};document.addEventListener("focusin",S),document.addEventListener("focusout",C);const T=new MutationObserver(P);return p&&T.observe(p,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",S),document.removeEventListener("focusout",C),T.disconnect()}}},[s,p,g.paused]),y.useEffect(()=>{if(p){Wh.add(g);const S=document.activeElement;if(!p.contains(S)){const P=new CustomEvent(mc,Hh);p.addEventListener(mc,m),p.dispatchEvent(P),P.defaultPrevented||(Xx(n2(vv(p)),{select:!0}),document.activeElement===S&&Or(p))}return()=>{p.removeEventListener(mc,m),setTimeout(()=>{const P=new CustomEvent(vc,Hh);p.addEventListener(vc,w),p.dispatchEvent(P),P.defaultPrevented||Or(S??document.body,{select:!0}),p.removeEventListener(vc,w),Wh.remove(g)},0)}}},[p,m,w,g]);const O=y.useCallback(S=>{if(!i&&!s||g.paused)return;const C=S.key==="Tab"&&!S.altKey&&!S.ctrlKey&&!S.metaKey,P=document.activeElement;if(C&&P){const T=S.currentTarget,[b,L]=Zx(T);b&&L?!S.shiftKey&&P===L?(S.preventDefault(),i&&Or(b,{select:!0})):S.shiftKey&&P===b&&(S.preventDefault(),i&&Or(L,{select:!0})):P===T&&S.preventDefault()}},[i,s,g.paused]);return V.jsx(je.div,{tabIndex:-1,...f,ref:k,onKeyDown:O})});md.displayName=Yx;function Xx(n,{select:r=!1}={}){const i=document.activeElement;for(const s of n)if(Or(s,{select:r}),document.activeElement!==i)return}function Zx(n){const r=vv(n),i=$h(r,n),s=$h(r.reverse(),n);return[i,s]}function vv(n){const r=[],i=document.createTreeWalker(n,NodeFilter.SHOW_ELEMENT,{acceptNode:s=>{const l=s.tagName==="INPUT"&&s.type==="hidden";return s.disabled||s.hidden||l?NodeFilter.FILTER_SKIP:s.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;i.nextNode();)r.push(i.currentNode);return r}function $h(n,r){for(const i of n)if(!Jx(i,{upTo:r}))return i}function Jx(n,{upTo:r}){if(getComputedStyle(n).visibility==="hidden")return!0;for(;n;){if(r!==void 0&&n===r)return!1;if(getComputedStyle(n).display==="none")return!0;n=n.parentElement}return!1}function e2(n){return n instanceof HTMLInputElement&&"select"in n}function Or(n,{select:r=!1}={}){if(n&&n.focus){const i=document.activeElement;n.focus({preventScroll:!0}),n!==i&&e2(n)&&r&&n.select()}}var Wh=t2();function t2(){let n=[];return{add(r){const i=n[0];r!==i&&(i==null||i.pause()),n=Vh(n,r),n.unshift(r)},remove(r){var i;n=Vh(n,r),(i=n[0])==null||i.resume()}}}function Vh(n,r){const i=[...n],s=i.indexOf(r);return s!==-1&&i.splice(s,1),i}function n2(n){return n.filter(r=>r.tagName!=="A")}var r2="Portal",vd=y.forwardRef((n,r)=>{var p;const{container:i,...s}=n,[l,c]=y.useState(!1);yt(()=>c(!0),[]);const f=i||l&&((p=globalThis==null?void 0:globalThis.document)==null?void 0:p.body);return f?Km.createPortal(V.jsx(je.div,{...s,ref:r}),f):null});vd.displayName=r2;function o2(n,r){return y.useReducer((i,s)=>r[i][s]??i,n)}var hl=n=>{const{present:r,children:i}=n,s=i2(r),l=typeof i=="function"?i({present:s.isPresent}):y.Children.only(i),c=Je(s.ref,s2(l));return typeof i=="function"||s.isPresent?y.cloneElement(l,{ref:c}):null};hl.displayName="Presence";function i2(n){const[r,i]=y.useState(),s=y.useRef(null),l=y.useRef(n),c=y.useRef("none"),f=n?"mounted":"unmounted",[p,h]=o2(f,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return y.useEffect(()=>{const m=$a(s.current);c.current=p==="mounted"?m:"none"},[p]),yt(()=>{const m=s.current,w=l.current;if(w!==n){const k=c.current,g=$a(m);n?h("MOUNT"):g==="none"||(m==null?void 0:m.display)==="none"?h("UNMOUNT"):h(w&&k!==g?"ANIMATION_OUT":"UNMOUNT"),l.current=n}},[n,h]),yt(()=>{if(r){let m;const w=r.ownerDocument.defaultView??window,x=g=>{const S=$a(s.current).includes(CSS.escape(g.animationName));if(g.target===r&&S&&(h("ANIMATION_END"),!l.current)){const C=r.style.animationFillMode;r.style.animationFillMode="forwards",m=w.setTimeout(()=>{r.style.animationFillMode==="forwards"&&(r.style.animationFillMode=C)})}},k=g=>{g.target===r&&(c.current=$a(s.current))};return r.addEventListener("animationstart",k),r.addEventListener("animationcancel",x),r.addEventListener("animationend",x),()=>{w.clearTimeout(m),r.removeEventListener("animationstart",k),r.removeEventListener("animationcancel",x),r.removeEventListener("animationend",x)}}else h("ANIMATION_END")},[r,h]),{isPresent:["mounted","unmountSuspended"].includes(p),ref:y.useCallback(m=>{s.current=m?getComputedStyle(m):null,i(m)},[])}}function $a(n){return(n==null?void 0:n.animationName)||"none"}function s2(n){var s,l;let r=(s=Object.getOwnPropertyDescriptor(n.props,"ref"))==null?void 0:s.get,i=r&&"isReactWarning"in r&&r.isReactWarning;return i?n.ref:(r=(l=Object.getOwnPropertyDescriptor(n,"ref"))==null?void 0:l.get,i=r&&"isReactWarning"in r&&r.isReactWarning,i?n.props.ref:n.props.ref||n.ref)}var yc=0;function yv(){y.useEffect(()=>{const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",n[0]??Qh()),document.body.insertAdjacentElement("beforeend",n[1]??Qh()),yc++,()=>{yc===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),yc--}},[])}function Qh(){const n=document.createElement("span");return n.setAttribute("data-radix-focus-guard",""),n.tabIndex=0,n.style.outline="none",n.style.opacity="0",n.style.position="fixed",n.style.pointerEvents="none",n}var An=function(){return An=Object.assign||function(r){for(var i,s=1,l=arguments.length;s<l;s++){i=arguments[s];for(var c in i)Object.prototype.hasOwnProperty.call(i,c)&&(r[c]=i[c])}return r},An.apply(this,arguments)};function gv(n,r){var i={};for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&r.indexOf(s)<0&&(i[s]=n[s]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,s=Object.getOwnPropertySymbols(n);l<s.length;l++)r.indexOf(s[l])<0&&Object.prototype.propertyIsEnumerable.call(n,s[l])&&(i[s[l]]=n[s[l]]);return i}function a2(n,r,i){if(i||arguments.length===2)for(var s=0,l=r.length,c;s<l;s++)(c||!(s in r))&&(c||(c=Array.prototype.slice.call(r,0,s)),c[s]=r[s]);return n.concat(c||Array.prototype.slice.call(r))}var Ja="right-scroll-bar-position",el="width-before-scroll-bar",l2="with-scroll-bars-hidden",u2="--removed-body-scroll-bar-size";function gc(n,r){return typeof n=="function"?n(r):n&&(n.current=r),n}function c2(n,r){var i=y.useState(function(){return{value:n,callback:r,facade:{get current(){return i.value},set current(s){var l=i.value;l!==s&&(i.value=s,i.callback(s,l))}}}})[0];return i.callback=r,i.facade}var d2=typeof window<"u"?y.useLayoutEffect:y.useEffect,Kh=new WeakMap;function f2(n,r){var i=c2(null,function(s){return n.forEach(function(l){return gc(l,s)})});return d2(function(){var s=Kh.get(i);if(s){var l=new Set(s),c=new Set(n),f=i.current;l.forEach(function(p){c.has(p)||gc(p,null)}),c.forEach(function(p){l.has(p)||gc(p,f)})}Kh.set(i,n)},[n]),i}function p2(n){return n}function h2(n,r){r===void 0&&(r=p2);var i=[],s=!1,l={read:function(){if(s)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return i.length?i[i.length-1]:n},useMedium:function(c){var f=r(c,s);return i.push(f),function(){i=i.filter(function(p){return p!==f})}},assignSyncMedium:function(c){for(s=!0;i.length;){var f=i;i=[],f.forEach(c)}i={push:function(p){return c(p)},filter:function(){return i}}},assignMedium:function(c){s=!0;var f=[];if(i.length){var p=i;i=[],p.forEach(c),f=i}var h=function(){var w=f;f=[],w.forEach(c)},m=function(){return Promise.resolve().then(h)};m(),i={push:function(w){f.push(w),m()},filter:function(w){return f=f.filter(w),i}}}};return l}function m2(n){n===void 0&&(n={});var r=h2(null);return r.options=An({async:!0,ssr:!1},n),r}var wv=function(n){var r=n.sideCar,i=gv(n,["sideCar"]);if(!r)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var s=r.read();if(!s)throw new Error("Sidecar medium not found");return y.createElement(s,An({},i))};wv.isSideCarExport=!0;function v2(n,r){return n.useMedium(r),wv}var xv=m2(),wc=function(){},ml=y.forwardRef(function(n,r){var i=y.useRef(null),s=y.useState({onScrollCapture:wc,onWheelCapture:wc,onTouchMoveCapture:wc}),l=s[0],c=s[1],f=n.forwardProps,p=n.children,h=n.className,m=n.removeScrollBar,w=n.enabled,x=n.shards,k=n.sideCar,g=n.noRelative,O=n.noIsolation,S=n.inert,C=n.allowPinchZoom,P=n.as,T=P===void 0?"div":P,b=n.gapMode,L=gv(n,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),z=k,U=f2([i,r]),H=An(An({},L),l);return y.createElement(y.Fragment,null,w&&y.createElement(z,{sideCar:xv,removeScrollBar:m,shards:x,noRelative:g,noIsolation:O,inert:S,setCallbacks:c,allowPinchZoom:!!C,lockRef:i,gapMode:b}),f?y.cloneElement(y.Children.only(p),An(An({},H),{ref:U})):y.createElement(T,An({},H,{className:h,ref:U}),p))});ml.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};ml.classNames={fullWidth:el,zeroRight:Ja};var y2=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function g2(){if(!document)return null;var n=document.createElement("style");n.type="text/css";var r=y2();return r&&n.setAttribute("nonce",r),n}function w2(n,r){n.styleSheet?n.styleSheet.cssText=r:n.appendChild(document.createTextNode(r))}function x2(n){var r=document.head||document.getElementsByTagName("head")[0];r.appendChild(n)}var S2=function(){var n=0,r=null;return{add:function(i){n==0&&(r=g2())&&(w2(r,i),x2(r)),n++},remove:function(){n--,!n&&r&&(r.parentNode&&r.parentNode.removeChild(r),r=null)}}},C2=function(){var n=S2();return function(r,i){y.useEffect(function(){return n.add(r),function(){n.remove()}},[r&&i])}},Sv=function(){var n=C2(),r=function(i){var s=i.styles,l=i.dynamic;return n(s,l),null};return r},k2={left:0,top:0,right:0,gap:0},xc=function(n){return parseInt(n||"",10)||0},E2=function(n){var r=window.getComputedStyle(document.body),i=r[n==="padding"?"paddingLeft":"marginLeft"],s=r[n==="padding"?"paddingTop":"marginTop"],l=r[n==="padding"?"paddingRight":"marginRight"];return[xc(i),xc(s),xc(l)]},R2=function(n){if(n===void 0&&(n="margin"),typeof window>"u")return k2;var r=E2(n),i=document.documentElement.clientWidth,s=window.innerWidth;return{left:r[0],top:r[1],right:r[2],gap:Math.max(0,s-i+r[2]-r[0])}},b2=Sv(),ni="data-scroll-locked",P2=function(n,r,i,s){var l=n.left,c=n.top,f=n.right,p=n.gap;return i===void 0&&(i="margin"),`
|
|
52
|
+
.`.concat(l2,` {
|
|
53
53
|
overflow: hidden `).concat(s,`;
|
|
54
54
|
padding-right: `).concat(p,"px ").concat(s,`;
|
|
55
55
|
}
|
|
@@ -83,369 +83,369 @@ Please change the parent <Route path="${R}"> to <Route path="${R==="/"?"*":`${R}
|
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
body[`).concat(ni,`] {
|
|
86
|
-
`).concat(
|
|
86
|
+
`).concat(u2,": ").concat(p,`px;
|
|
87
87
|
}
|
|
88
|
-
`)},
|
|
88
|
+
`)},qh=function(){var n=parseInt(document.body.getAttribute(ni)||"0",10);return isFinite(n)?n:0},M2=function(){y.useEffect(function(){return document.body.setAttribute(ni,(qh()+1).toString()),function(){var n=qh()-1;n<=0?document.body.removeAttribute(ni):document.body.setAttribute(ni,n.toString())}},[])},T2=function(n){var r=n.noRelative,i=n.noImportant,s=n.gapMode,l=s===void 0?"margin":s;M2();var c=y.useMemo(function(){return R2(l)},[l]);return y.createElement(b2,{styles:P2(c,!r,l,i?"":"!important")})},$c=!1;if(typeof window<"u")try{var Wa=Object.defineProperty({},"passive",{get:function(){return $c=!0,!0}});window.addEventListener("test",Wa,Wa),window.removeEventListener("test",Wa,Wa)}catch{$c=!1}var Xo=$c?{passive:!1}:!1,O2=function(n){return n.tagName==="TEXTAREA"},Cv=function(n,r){if(!(n instanceof Element))return!1;var i=window.getComputedStyle(n);return i[r]!=="hidden"&&!(i.overflowY===i.overflowX&&!O2(n)&&i[r]==="visible")},N2=function(n){return Cv(n,"overflowY")},_2=function(n){return Cv(n,"overflowX")},Gh=function(n,r){var i=r.ownerDocument,s=r;do{typeof ShadowRoot<"u"&&s instanceof ShadowRoot&&(s=s.host);var l=kv(n,s);if(l){var c=Ev(n,s),f=c[1],p=c[2];if(f>p)return!0}s=s.parentNode}while(s&&s!==i.body);return!1},L2=function(n){var r=n.scrollTop,i=n.scrollHeight,s=n.clientHeight;return[r,i,s]},A2=function(n){var r=n.scrollLeft,i=n.scrollWidth,s=n.clientWidth;return[r,i,s]},kv=function(n,r){return n==="v"?N2(r):_2(r)},Ev=function(n,r){return n==="v"?L2(r):A2(r)},I2=function(n,r){return n==="h"&&r==="rtl"?-1:1},D2=function(n,r,i,s,l){var c=I2(n,window.getComputedStyle(r).direction),f=c*s,p=i.target,h=r.contains(p),m=!1,w=f>0,x=0,k=0;do{if(!p)break;var g=Ev(n,p),O=g[0],S=g[1],C=g[2],P=S-C-c*O;(O||P)&&kv(n,p)&&(x+=P,k+=O);var T=p.parentNode;p=T&&T.nodeType===Node.DOCUMENT_FRAGMENT_NODE?T.host:T}while(!h&&p!==document.body||h&&(r.contains(p)||r===p));return(w&&Math.abs(x)<1||!w&&Math.abs(k)<1)&&(m=!0),m},Va=function(n){return"changedTouches"in n?[n.changedTouches[0].clientX,n.changedTouches[0].clientY]:[0,0]},Yh=function(n){return[n.deltaX,n.deltaY]},Xh=function(n){return n&&"current"in n?n.current:n},F2=function(n,r){return n[0]===r[0]&&n[1]===r[1]},z2=function(n){return`
|
|
89
89
|
.block-interactivity-`.concat(n,` {pointer-events: none;}
|
|
90
90
|
.allow-interactivity-`).concat(n,` {pointer-events: all;}
|
|
91
|
-
`)},
|
|
91
|
+
`)},j2=0,Zo=[];function B2(n){var r=y.useRef([]),i=y.useRef([0,0]),s=y.useRef(),l=y.useState(j2++)[0],c=y.useState(Sv)[0],f=y.useRef(n);y.useEffect(function(){f.current=n},[n]),y.useEffect(function(){if(n.inert){document.body.classList.add("block-interactivity-".concat(l));var S=a2([n.lockRef.current],(n.shards||[]).map(Xh),!0).filter(Boolean);return S.forEach(function(C){return C.classList.add("allow-interactivity-".concat(l))}),function(){document.body.classList.remove("block-interactivity-".concat(l)),S.forEach(function(C){return C.classList.remove("allow-interactivity-".concat(l))})}}},[n.inert,n.lockRef.current,n.shards]);var p=y.useCallback(function(S,C){if("touches"in S&&S.touches.length===2||S.type==="wheel"&&S.ctrlKey)return!f.current.allowPinchZoom;var P=Va(S),T=i.current,b="deltaX"in S?S.deltaX:T[0]-P[0],L="deltaY"in S?S.deltaY:T[1]-P[1],z,U=S.target,H=Math.abs(b)>Math.abs(L)?"h":"v";if("touches"in S&&H==="h"&&U.type==="range")return!1;var G=window.getSelection(),J=G&&G.anchorNode,te=J?J===U||J.contains(U):!1;if(te)return!1;var he=Gh(H,U);if(!he)return!0;if(he?z=H:(z=H==="v"?"h":"v",he=Gh(H,U)),!he)return!1;if(!s.current&&"changedTouches"in S&&(b||L)&&(s.current=z),!z)return!0;var Z=s.current||z;return D2(Z,C,S,Z==="h"?b:L)},[]),h=y.useCallback(function(S){var C=S;if(!(!Zo.length||Zo[Zo.length-1]!==c)){var P="deltaY"in C?Yh(C):Va(C),T=r.current.filter(function(z){return z.name===C.type&&(z.target===C.target||C.target===z.shadowParent)&&F2(z.delta,P)})[0];if(T&&T.should){C.cancelable&&C.preventDefault();return}if(!T){var b=(f.current.shards||[]).map(Xh).filter(Boolean).filter(function(z){return z.contains(C.target)}),L=b.length>0?p(C,b[0]):!f.current.noIsolation;L&&C.cancelable&&C.preventDefault()}}},[]),m=y.useCallback(function(S,C,P,T){var b={name:S,delta:C,target:P,should:T,shadowParent:U2(P)};r.current.push(b),setTimeout(function(){r.current=r.current.filter(function(L){return L!==b})},1)},[]),w=y.useCallback(function(S){i.current=Va(S),s.current=void 0},[]),x=y.useCallback(function(S){m(S.type,Yh(S),S.target,p(S,n.lockRef.current))},[]),k=y.useCallback(function(S){m(S.type,Va(S),S.target,p(S,n.lockRef.current))},[]);y.useEffect(function(){return Zo.push(c),n.setCallbacks({onScrollCapture:x,onWheelCapture:x,onTouchMoveCapture:k}),document.addEventListener("wheel",h,Xo),document.addEventListener("touchmove",h,Xo),document.addEventListener("touchstart",w,Xo),function(){Zo=Zo.filter(function(S){return S!==c}),document.removeEventListener("wheel",h,Xo),document.removeEventListener("touchmove",h,Xo),document.removeEventListener("touchstart",w,Xo)}},[]);var g=n.removeScrollBar,O=n.inert;return y.createElement(y.Fragment,null,O?y.createElement(c,{styles:z2(l)}):null,g?y.createElement(T2,{noRelative:n.noRelative,gapMode:n.gapMode}):null)}function U2(n){for(var r=null;n!==null;)n instanceof ShadowRoot&&(r=n.host,n=n.host),n=n.parentNode;return r}const H2=v2(xv,B2);var yd=y.forwardRef(function(n,r){return y.createElement(ml,An({},n,{ref:r,sideCar:H2}))});yd.classNames=ml.classNames;var $2=function(n){if(typeof document>"u")return null;var r=Array.isArray(n)?n[0]:n;return r.ownerDocument.body},Jo=new WeakMap,Qa=new WeakMap,Ka={},Sc=0,Rv=function(n){return n&&(n.host||Rv(n.parentNode))},W2=function(n,r){return r.map(function(i){if(n.contains(i))return i;var s=Rv(i);return s&&n.contains(s)?s:(console.error("aria-hidden",i,"in not contained inside",n,". Doing nothing"),null)}).filter(function(i){return!!i})},V2=function(n,r,i,s){var l=W2(r,Array.isArray(n)?n:[n]);Ka[i]||(Ka[i]=new WeakMap);var c=Ka[i],f=[],p=new Set,h=new Set(l),m=function(x){!x||p.has(x)||(p.add(x),m(x.parentNode))};l.forEach(m);var w=function(x){!x||h.has(x)||Array.prototype.forEach.call(x.children,function(k){if(p.has(k))w(k);else try{var g=k.getAttribute(s),O=g!==null&&g!=="false",S=(Jo.get(k)||0)+1,C=(c.get(k)||0)+1;Jo.set(k,S),c.set(k,C),f.push(k),S===1&&O&&Qa.set(k,!0),C===1&&k.setAttribute(i,"true"),O||k.setAttribute(s,"true")}catch(P){console.error("aria-hidden: cannot operate on ",k,P)}})};return w(r),p.clear(),Sc++,function(){f.forEach(function(x){var k=Jo.get(x)-1,g=c.get(x)-1;Jo.set(x,k),c.set(x,g),k||(Qa.has(x)||x.removeAttribute(s),Qa.delete(x)),g||x.removeAttribute(i)}),Sc--,Sc||(Jo=new WeakMap,Jo=new WeakMap,Qa=new WeakMap,Ka={})}},bv=function(n,r,i){i===void 0&&(i="data-aria-hidden");var s=Array.from(Array.isArray(n)?n:[n]),l=$2(n);return l?(s.push.apply(s,Array.from(l.querySelectorAll("[aria-live], script"))),V2(s,l,i,"aria-hidden")):function(){return null}},vl="Dialog",[Pv]=pl(vl),[Q2,yn]=Pv(vl),Mv=n=>{const{__scopeDialog:r,children:i,open:s,defaultOpen:l,onOpenChange:c,modal:f=!0}=n,p=y.useRef(null),h=y.useRef(null),[m,w]=Uc({prop:s,defaultProp:l??!1,onChange:c,caller:vl});return V.jsx(Q2,{scope:r,triggerRef:p,contentRef:h,contentId:ti(),titleId:ti(),descriptionId:ti(),open:m,onOpenChange:w,onOpenToggle:y.useCallback(()=>w(x=>!x),[w]),modal:f,children:i})};Mv.displayName=vl;var Tv="DialogTrigger",K2=y.forwardRef((n,r)=>{const{__scopeDialog:i,...s}=n,l=yn(Tv,i),c=Je(r,l.triggerRef);return V.jsx(je.button,{type:"button","aria-haspopup":"dialog","aria-expanded":l.open,"aria-controls":l.contentId,"data-state":xd(l.open),...s,ref:c,onClick:$e(n.onClick,l.onOpenToggle)})});K2.displayName=Tv;var gd="DialogPortal",[q2,Ov]=Pv(gd,{forceMount:void 0}),Nv=n=>{const{__scopeDialog:r,forceMount:i,children:s,container:l}=n,c=yn(gd,r);return V.jsx(q2,{scope:r,forceMount:i,children:y.Children.map(s,f=>V.jsx(hl,{present:i||c.open,children:V.jsx(vd,{asChild:!0,container:l,children:f})}))})};Nv.displayName=gd;var il="DialogOverlay",_v=y.forwardRef((n,r)=>{const i=Ov(il,n.__scopeDialog),{forceMount:s=i.forceMount,...l}=n,c=yn(il,n.__scopeDialog);return c.modal?V.jsx(hl,{present:s||c.open,children:V.jsx(Y2,{...l,ref:r})}):null});_v.displayName=il;var G2=ms("DialogOverlay.RemoveScroll"),Y2=y.forwardRef((n,r)=>{const{__scopeDialog:i,...s}=n,l=yn(il,i);return V.jsx(yd,{as:G2,allowPinchZoom:!0,shards:[l.contentRef],children:V.jsx(je.div,{"data-state":xd(l.open),...s,ref:r,style:{pointerEvents:"auto",...s.style}})})}),xo="DialogContent",Lv=y.forwardRef((n,r)=>{const i=Ov(xo,n.__scopeDialog),{forceMount:s=i.forceMount,...l}=n,c=yn(xo,n.__scopeDialog);return V.jsx(hl,{present:s||c.open,children:c.modal?V.jsx(X2,{...l,ref:r}):V.jsx(Z2,{...l,ref:r})})});Lv.displayName=xo;var X2=y.forwardRef((n,r)=>{const i=yn(xo,n.__scopeDialog),s=y.useRef(null),l=Je(r,i.contentRef,s);return y.useEffect(()=>{const c=s.current;if(c)return bv(c)},[]),V.jsx(Av,{...n,ref:l,trapFocus:i.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:$e(n.onCloseAutoFocus,c=>{var f;c.preventDefault(),(f=i.triggerRef.current)==null||f.focus()}),onPointerDownOutside:$e(n.onPointerDownOutside,c=>{const f=c.detail.originalEvent,p=f.button===0&&f.ctrlKey===!0;(f.button===2||p)&&c.preventDefault()}),onFocusOutside:$e(n.onFocusOutside,c=>c.preventDefault())})}),Z2=y.forwardRef((n,r)=>{const i=yn(xo,n.__scopeDialog),s=y.useRef(!1),l=y.useRef(!1);return V.jsx(Av,{...n,ref:r,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:c=>{var f,p;(f=n.onCloseAutoFocus)==null||f.call(n,c),c.defaultPrevented||(s.current||(p=i.triggerRef.current)==null||p.focus(),c.preventDefault()),s.current=!1,l.current=!1},onInteractOutside:c=>{var h,m;(h=n.onInteractOutside)==null||h.call(n,c),c.defaultPrevented||(s.current=!0,c.detail.originalEvent.type==="pointerdown"&&(l.current=!0));const f=c.target;((m=i.triggerRef.current)==null?void 0:m.contains(f))&&c.preventDefault(),c.detail.originalEvent.type==="focusin"&&l.current&&c.preventDefault()}})}),Av=y.forwardRef((n,r)=>{const{__scopeDialog:i,trapFocus:s,onOpenAutoFocus:l,onCloseAutoFocus:c,...f}=n,p=yn(xo,i),h=y.useRef(null),m=Je(r,h);return yv(),V.jsxs(V.Fragment,{children:[V.jsx(md,{asChild:!0,loop:!0,trapped:s,onMountAutoFocus:l,onUnmountAutoFocus:c,children:V.jsx(hd,{role:"dialog",id:p.contentId,"aria-describedby":p.descriptionId,"aria-labelledby":p.titleId,"data-state":xd(p.open),...f,ref:m,onDismiss:()=>p.onOpenChange(!1)})}),V.jsxs(V.Fragment,{children:[V.jsx(J2,{titleId:p.titleId}),V.jsx(tS,{contentRef:h,descriptionId:p.descriptionId})]})]})}),wd="DialogTitle",Iv=y.forwardRef((n,r)=>{const{__scopeDialog:i,...s}=n,l=yn(wd,i);return V.jsx(je.h2,{id:l.titleId,...s,ref:r})});Iv.displayName=wd;var Dv="DialogDescription",Fv=y.forwardRef((n,r)=>{const{__scopeDialog:i,...s}=n,l=yn(Dv,i);return V.jsx(je.p,{id:l.descriptionId,...s,ref:r})});Fv.displayName=Dv;var zv="DialogClose",jv=y.forwardRef((n,r)=>{const{__scopeDialog:i,...s}=n,l=yn(zv,i);return V.jsx(je.button,{type:"button",...s,ref:r,onClick:$e(n.onClick,()=>l.onOpenChange(!1))})});jv.displayName=zv;function xd(n){return n?"open":"closed"}var Bv="DialogTitleWarning",[Wk,Uv]=Tx(Bv,{contentName:xo,titleName:wd,docsSlug:"dialog"}),J2=({titleId:n})=>{const r=Uv(Bv),i=`\`${r.contentName}\` requires a \`${r.titleName}\` for the component to be accessible for screen reader users.
|
|
92
92
|
|
|
93
93
|
If you want to hide the \`${r.titleName}\`, you can wrap it with our VisuallyHidden component.
|
|
94
94
|
|
|
95
|
-
For more information, see https://radix-ui.com/primitives/docs/components/${r.docsSlug}`;return y.useEffect(()=>{n&&(document.getElementById(n)||console.error(i))},[i,n]),null},
|
|
95
|
+
For more information, see https://radix-ui.com/primitives/docs/components/${r.docsSlug}`;return y.useEffect(()=>{n&&(document.getElementById(n)||console.error(i))},[i,n]),null},eS="DialogDescriptionWarning",tS=({contentRef:n,descriptionId:r})=>{const s=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${Uv(eS).contentName}}.`;return y.useEffect(()=>{var c;const l=(c=n.current)==null?void 0:c.getAttribute("aria-describedby");r&&l&&(document.getElementById(r)||console.warn(s))},[s,n,r]),null},Vk=Mv,Qk=Nv,Kk=_v,qk=Lv,Gk=Iv,Yk=Fv,Xk=jv;/**
|
|
96
96
|
* @license lucide-react v0.462.0 - ISC
|
|
97
97
|
*
|
|
98
98
|
* This source code is licensed under the ISC license.
|
|
99
99
|
* See the LICENSE file in the root directory of this source tree.
|
|
100
|
-
*/const
|
|
100
|
+
*/const nS=n=>n.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Hv=(...n)=>n.filter((r,i,s)=>!!r&&r.trim()!==""&&s.indexOf(r)===i).join(" ").trim();/**
|
|
101
101
|
* @license lucide-react v0.462.0 - ISC
|
|
102
102
|
*
|
|
103
103
|
* This source code is licensed under the ISC license.
|
|
104
104
|
* See the LICENSE file in the root directory of this source tree.
|
|
105
|
-
*/var
|
|
105
|
+
*/var rS={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"};/**
|
|
106
106
|
* @license lucide-react v0.462.0 - ISC
|
|
107
107
|
*
|
|
108
108
|
* This source code is licensed under the ISC license.
|
|
109
109
|
* See the LICENSE file in the root directory of this source tree.
|
|
110
|
-
*/const
|
|
110
|
+
*/const oS=y.forwardRef(({color:n="currentColor",size:r=24,strokeWidth:i=2,absoluteStrokeWidth:s,className:l="",children:c,iconNode:f,...p},h)=>y.createElement("svg",{ref:h,...rS,width:r,height:r,stroke:n,strokeWidth:s?Number(i)*24/Number(r):i,className:Hv("lucide",l),...p},[...f.map(([m,w])=>y.createElement(m,w)),...Array.isArray(c)?c:[c]]));/**
|
|
111
111
|
* @license lucide-react v0.462.0 - ISC
|
|
112
112
|
*
|
|
113
113
|
* This source code is licensed under the ISC license.
|
|
114
114
|
* See the LICENSE file in the root directory of this source tree.
|
|
115
|
-
*/const ie=(n,r)=>{const i=y.forwardRef(({className:s,...l},c)=>y.createElement(
|
|
115
|
+
*/const ie=(n,r)=>{const i=y.forwardRef(({className:s,...l},c)=>y.createElement(oS,{ref:c,iconNode:r,className:Hv(`lucide-${nS(n)}`,s),...l}));return i.displayName=`${n}`,i};/**
|
|
116
116
|
* @license lucide-react v0.462.0 - ISC
|
|
117
117
|
*
|
|
118
118
|
* This source code is licensed under the ISC license.
|
|
119
119
|
* See the LICENSE file in the root directory of this source tree.
|
|
120
|
-
*/const
|
|
120
|
+
*/const Zk=ie("AlarmClock",[["circle",{cx:"12",cy:"13",r:"8",key:"3y4lt7"}],["path",{d:"M12 9v4l2 2",key:"1c63tq"}],["path",{d:"M5 3 2 6",key:"18tl5t"}],["path",{d:"m22 6-3-3",key:"1opdir"}],["path",{d:"M6.38 18.7 4 21",key:"17xu3x"}],["path",{d:"M17.64 18.67 20 21",key:"kv2oe2"}]]);/**
|
|
121
121
|
* @license lucide-react v0.462.0 - ISC
|
|
122
122
|
*
|
|
123
123
|
* This source code is licensed under the ISC license.
|
|
124
124
|
* See the LICENSE file in the root directory of this source tree.
|
|
125
|
-
*/const
|
|
125
|
+
*/const Jk=ie("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);/**
|
|
126
126
|
* @license lucide-react v0.462.0 - ISC
|
|
127
127
|
*
|
|
128
128
|
* This source code is licensed under the ISC license.
|
|
129
129
|
* See the LICENSE file in the root directory of this source tree.
|
|
130
|
-
*/const
|
|
130
|
+
*/const eE=ie("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/**
|
|
131
131
|
* @license lucide-react v0.462.0 - ISC
|
|
132
132
|
*
|
|
133
133
|
* This source code is licensed under the ISC license.
|
|
134
134
|
* See the LICENSE file in the root directory of this source tree.
|
|
135
|
-
*/const
|
|
135
|
+
*/const tE=ie("ArrowUp",[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]]);/**
|
|
136
136
|
* @license lucide-react v0.462.0 - ISC
|
|
137
137
|
*
|
|
138
138
|
* This source code is licensed under the ISC license.
|
|
139
139
|
* See the LICENSE file in the root directory of this source tree.
|
|
140
|
-
*/const
|
|
140
|
+
*/const nE=ie("BookOpen",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]]);/**
|
|
141
141
|
* @license lucide-react v0.462.0 - ISC
|
|
142
142
|
*
|
|
143
143
|
* This source code is licensed under the ISC license.
|
|
144
144
|
* See the LICENSE file in the root directory of this source tree.
|
|
145
|
-
*/const
|
|
145
|
+
*/const rE=ie("Bot",[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]]);/**
|
|
146
146
|
* @license lucide-react v0.462.0 - ISC
|
|
147
147
|
*
|
|
148
148
|
* This source code is licensed under the ISC license.
|
|
149
149
|
* See the LICENSE file in the root directory of this source tree.
|
|
150
|
-
*/const
|
|
150
|
+
*/const oE=ie("BrainCircuit",[["path",{d:"M12 5a3 3 0 1 0-5.997.125 4 4 0 0 0-2.526 5.77 4 4 0 0 0 .556 6.588A4 4 0 1 0 12 18Z",key:"l5xja"}],["path",{d:"M9 13a4.5 4.5 0 0 0 3-4",key:"10igwf"}],["path",{d:"M6.003 5.125A3 3 0 0 0 6.401 6.5",key:"105sqy"}],["path",{d:"M3.477 10.896a4 4 0 0 1 .585-.396",key:"ql3yin"}],["path",{d:"M6 18a4 4 0 0 1-1.967-.516",key:"2e4loj"}],["path",{d:"M12 13h4",key:"1ku699"}],["path",{d:"M12 18h6a2 2 0 0 1 2 2v1",key:"105ag5"}],["path",{d:"M12 8h8",key:"1lhi5i"}],["path",{d:"M16 8V5a2 2 0 0 1 2-2",key:"u6izg6"}],["circle",{cx:"16",cy:"13",r:".5",key:"ry7gng"}],["circle",{cx:"18",cy:"3",r:".5",key:"1aiba7"}],["circle",{cx:"20",cy:"21",r:".5",key:"yhc1fs"}],["circle",{cx:"20",cy:"8",r:".5",key:"1e43v0"}]]);/**
|
|
151
151
|
* @license lucide-react v0.462.0 - ISC
|
|
152
152
|
*
|
|
153
153
|
* This source code is licensed under the ISC license.
|
|
154
154
|
* See the LICENSE file in the root directory of this source tree.
|
|
155
|
-
*/const
|
|
155
|
+
*/const iE=ie("Brain",[["path",{d:"M12 5a3 3 0 1 0-5.997.125 4 4 0 0 0-2.526 5.77 4 4 0 0 0 .556 6.588A4 4 0 1 0 12 18Z",key:"l5xja"}],["path",{d:"M12 5a3 3 0 1 1 5.997.125 4 4 0 0 1 2.526 5.77 4 4 0 0 1-.556 6.588A4 4 0 1 1 12 18Z",key:"ep3f8r"}],["path",{d:"M15 13a4.5 4.5 0 0 1-3-4 4.5 4.5 0 0 1-3 4",key:"1p4c4q"}],["path",{d:"M17.599 6.5a3 3 0 0 0 .399-1.375",key:"tmeiqw"}],["path",{d:"M6.003 5.125A3 3 0 0 0 6.401 6.5",key:"105sqy"}],["path",{d:"M3.477 10.896a4 4 0 0 1 .585-.396",key:"ql3yin"}],["path",{d:"M19.938 10.5a4 4 0 0 1 .585.396",key:"1qfode"}],["path",{d:"M6 18a4 4 0 0 1-1.967-.516",key:"2e4loj"}],["path",{d:"M19.967 17.484A4 4 0 0 1 18 18",key:"159ez6"}]]);/**
|
|
156
156
|
* @license lucide-react v0.462.0 - ISC
|
|
157
157
|
*
|
|
158
158
|
* This source code is licensed under the ISC license.
|
|
159
159
|
* See the LICENSE file in the root directory of this source tree.
|
|
160
|
-
*/const
|
|
160
|
+
*/const sE=ie("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/**
|
|
161
161
|
* @license lucide-react v0.462.0 - ISC
|
|
162
162
|
*
|
|
163
163
|
* This source code is licensed under the ISC license.
|
|
164
164
|
* See the LICENSE file in the root directory of this source tree.
|
|
165
|
-
*/const
|
|
165
|
+
*/const aE=ie("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/**
|
|
166
166
|
* @license lucide-react v0.462.0 - ISC
|
|
167
167
|
*
|
|
168
168
|
* This source code is licensed under the ISC license.
|
|
169
169
|
* See the LICENSE file in the root directory of this source tree.
|
|
170
|
-
*/const
|
|
170
|
+
*/const lE=ie("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);/**
|
|
171
171
|
* @license lucide-react v0.462.0 - ISC
|
|
172
172
|
*
|
|
173
173
|
* This source code is licensed under the ISC license.
|
|
174
174
|
* See the LICENSE file in the root directory of this source tree.
|
|
175
|
-
*/const
|
|
175
|
+
*/const uE=ie("ChevronsUpDown",[["path",{d:"m7 15 5 5 5-5",key:"1hf1tw"}],["path",{d:"m7 9 5-5 5 5",key:"sgt6xg"}]]);/**
|
|
176
176
|
* @license lucide-react v0.462.0 - ISC
|
|
177
177
|
*
|
|
178
178
|
* This source code is licensed under the ISC license.
|
|
179
179
|
* See the LICENSE file in the root directory of this source tree.
|
|
180
|
-
*/const
|
|
180
|
+
*/const cE=ie("CircleDotDashed",[["path",{d:"M10.1 2.18a9.93 9.93 0 0 1 3.8 0",key:"1qdqn0"}],["path",{d:"M17.6 3.71a9.95 9.95 0 0 1 2.69 2.7",key:"1bq7p6"}],["path",{d:"M21.82 10.1a9.93 9.93 0 0 1 0 3.8",key:"1rlaqf"}],["path",{d:"M20.29 17.6a9.95 9.95 0 0 1-2.7 2.69",key:"1xk03u"}],["path",{d:"M13.9 21.82a9.94 9.94 0 0 1-3.8 0",key:"l7re25"}],["path",{d:"M6.4 20.29a9.95 9.95 0 0 1-2.69-2.7",key:"1v18p6"}],["path",{d:"M2.18 13.9a9.93 9.93 0 0 1 0-3.8",key:"xdo6bj"}],["path",{d:"M3.71 6.4a9.95 9.95 0 0 1 2.7-2.69",key:"1jjmaz"}],["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}]]);/**
|
|
181
181
|
* @license lucide-react v0.462.0 - ISC
|
|
182
182
|
*
|
|
183
183
|
* This source code is licensed under the ISC license.
|
|
184
184
|
* See the LICENSE file in the root directory of this source tree.
|
|
185
|
-
*/const
|
|
185
|
+
*/const dE=ie("Clock3",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16.5 12",key:"1aq6pp"}]]);/**
|
|
186
186
|
* @license lucide-react v0.462.0 - ISC
|
|
187
187
|
*
|
|
188
188
|
* This source code is licensed under the ISC license.
|
|
189
189
|
* See the LICENSE file in the root directory of this source tree.
|
|
190
|
-
*/const
|
|
190
|
+
*/const fE=ie("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);/**
|
|
191
191
|
* @license lucide-react v0.462.0 - ISC
|
|
192
192
|
*
|
|
193
193
|
* This source code is licensed under the ISC license.
|
|
194
194
|
* See the LICENSE file in the root directory of this source tree.
|
|
195
|
-
*/const
|
|
195
|
+
*/const pE=ie("Copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);/**
|
|
196
196
|
* @license lucide-react v0.462.0 - ISC
|
|
197
197
|
*
|
|
198
198
|
* This source code is licensed under the ISC license.
|
|
199
199
|
* See the LICENSE file in the root directory of this source tree.
|
|
200
|
-
*/const
|
|
200
|
+
*/const hE=ie("Cpu",[["rect",{width:"16",height:"16",x:"4",y:"4",rx:"2",key:"14l7u7"}],["rect",{width:"6",height:"6",x:"9",y:"9",rx:"1",key:"5aljv4"}],["path",{d:"M15 2v2",key:"13l42r"}],["path",{d:"M15 20v2",key:"15mkzm"}],["path",{d:"M2 15h2",key:"1gxd5l"}],["path",{d:"M2 9h2",key:"1bbxkp"}],["path",{d:"M20 15h2",key:"19e6y8"}],["path",{d:"M20 9h2",key:"19tzq7"}],["path",{d:"M9 2v2",key:"165o2o"}],["path",{d:"M9 20v2",key:"i2bqo8"}]]);/**
|
|
201
201
|
* @license lucide-react v0.462.0 - ISC
|
|
202
202
|
*
|
|
203
203
|
* This source code is licensed under the ISC license.
|
|
204
204
|
* See the LICENSE file in the root directory of this source tree.
|
|
205
|
-
*/const
|
|
205
|
+
*/const mE=ie("ExternalLink",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);/**
|
|
206
206
|
* @license lucide-react v0.462.0 - ISC
|
|
207
207
|
*
|
|
208
208
|
* This source code is licensed under the ISC license.
|
|
209
209
|
* See the LICENSE file in the root directory of this source tree.
|
|
210
|
-
*/const
|
|
210
|
+
*/const vE=ie("EyeOff",[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]]);/**
|
|
211
211
|
* @license lucide-react v0.462.0 - ISC
|
|
212
212
|
*
|
|
213
213
|
* This source code is licensed under the ISC license.
|
|
214
214
|
* See the LICENSE file in the root directory of this source tree.
|
|
215
|
-
*/const
|
|
215
|
+
*/const yE=ie("Eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/**
|
|
216
216
|
* @license lucide-react v0.462.0 - ISC
|
|
217
217
|
*
|
|
218
218
|
* This source code is licensed under the ISC license.
|
|
219
219
|
* See the LICENSE file in the root directory of this source tree.
|
|
220
|
-
*/const
|
|
220
|
+
*/const gE=ie("FileSearch",[["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M4.268 21a2 2 0 0 0 1.727 1H18a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v3",key:"ms7g94"}],["path",{d:"m9 18-1.5-1.5",key:"1j6qii"}],["circle",{cx:"5",cy:"14",r:"3",key:"ufru5t"}]]);/**
|
|
221
221
|
* @license lucide-react v0.462.0 - ISC
|
|
222
222
|
*
|
|
223
223
|
* This source code is licensed under the ISC license.
|
|
224
224
|
* See the LICENSE file in the root directory of this source tree.
|
|
225
|
-
*/const
|
|
225
|
+
*/const wE=ie("Folder",[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]]);/**
|
|
226
226
|
* @license lucide-react v0.462.0 - ISC
|
|
227
227
|
*
|
|
228
228
|
* This source code is licensed under the ISC license.
|
|
229
229
|
* See the LICENSE file in the root directory of this source tree.
|
|
230
|
-
*/const
|
|
230
|
+
*/const xE=ie("GitBranch",[["line",{x1:"6",x2:"6",y1:"3",y2:"15",key:"17qcm7"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M18 9a9 9 0 0 1-9 9",key:"n2h4wq"}]]);/**
|
|
231
231
|
* @license lucide-react v0.462.0 - ISC
|
|
232
232
|
*
|
|
233
233
|
* This source code is licensed under the ISC license.
|
|
234
234
|
* See the LICENSE file in the root directory of this source tree.
|
|
235
|
-
*/const
|
|
235
|
+
*/const SE=ie("Globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);/**
|
|
236
236
|
* @license lucide-react v0.462.0 - ISC
|
|
237
237
|
*
|
|
238
238
|
* This source code is licensed under the ISC license.
|
|
239
239
|
* See the LICENSE file in the root directory of this source tree.
|
|
240
|
-
*/const
|
|
240
|
+
*/const CE=ie("GripVertical",[["circle",{cx:"9",cy:"12",r:"1",key:"1vctgf"}],["circle",{cx:"9",cy:"5",r:"1",key:"hp0tcf"}],["circle",{cx:"9",cy:"19",r:"1",key:"fkjjf6"}],["circle",{cx:"15",cy:"12",r:"1",key:"1tmaij"}],["circle",{cx:"15",cy:"5",r:"1",key:"19l28e"}],["circle",{cx:"15",cy:"19",r:"1",key:"f4zoj3"}]]);/**
|
|
241
241
|
* @license lucide-react v0.462.0 - ISC
|
|
242
242
|
*
|
|
243
243
|
* This source code is licensed under the ISC license.
|
|
244
244
|
* See the LICENSE file in the root directory of this source tree.
|
|
245
|
-
*/const
|
|
245
|
+
*/const kE=ie("Hash",[["line",{x1:"4",x2:"20",y1:"9",y2:"9",key:"4lhtct"}],["line",{x1:"4",x2:"20",y1:"15",y2:"15",key:"vyu0kd"}],["line",{x1:"10",x2:"8",y1:"3",y2:"21",key:"1ggp8o"}],["line",{x1:"16",x2:"14",y1:"3",y2:"21",key:"weycgp"}]]);/**
|
|
246
246
|
* @license lucide-react v0.462.0 - ISC
|
|
247
247
|
*
|
|
248
248
|
* This source code is licensed under the ISC license.
|
|
249
249
|
* See the LICENSE file in the root directory of this source tree.
|
|
250
|
-
*/const
|
|
250
|
+
*/const EE=ie("History",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M12 7v5l4 2",key:"1fdv2h"}]]);/**
|
|
251
251
|
* @license lucide-react v0.462.0 - ISC
|
|
252
252
|
*
|
|
253
253
|
* This source code is licensed under the ISC license.
|
|
254
254
|
* See the LICENSE file in the root directory of this source tree.
|
|
255
|
-
*/const
|
|
255
|
+
*/const RE=ie("Inbox",[["polyline",{points:"22 12 16 12 14 15 10 15 8 12 2 12",key:"o97t9d"}],["path",{d:"M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z",key:"oot6mr"}]]);/**
|
|
256
256
|
* @license lucide-react v0.462.0 - ISC
|
|
257
257
|
*
|
|
258
258
|
* This source code is licensed under the ISC license.
|
|
259
259
|
* See the LICENSE file in the root directory of this source tree.
|
|
260
|
-
*/const
|
|
260
|
+
*/const bE=ie("KeyRound",[["path",{d:"M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z",key:"1s6t7t"}],["circle",{cx:"16.5",cy:"7.5",r:".5",fill:"currentColor",key:"w0ekpg"}]]);/**
|
|
261
261
|
* @license lucide-react v0.462.0 - ISC
|
|
262
262
|
*
|
|
263
263
|
* This source code is licensed under the ISC license.
|
|
264
264
|
* See the LICENSE file in the root directory of this source tree.
|
|
265
|
-
*/const
|
|
265
|
+
*/const PE=ie("Languages",[["path",{d:"m5 8 6 6",key:"1wu5hv"}],["path",{d:"m4 14 6-6 2-3",key:"1k1g8d"}],["path",{d:"M2 5h12",key:"or177f"}],["path",{d:"M7 2h1",key:"1t2jsx"}],["path",{d:"m22 22-5-10-5 10",key:"don7ne"}],["path",{d:"M14 18h6",key:"1m8k6r"}]]);/**
|
|
266
266
|
* @license lucide-react v0.462.0 - ISC
|
|
267
267
|
*
|
|
268
268
|
* This source code is licensed under the ISC license.
|
|
269
269
|
* See the LICENSE file in the root directory of this source tree.
|
|
270
|
-
*/const
|
|
270
|
+
*/const ME=ie("Laptop",[["path",{d:"M20 16V7a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v9m16 0H4m16 0 1.28 2.55a1 1 0 0 1-.9 1.45H3.62a1 1 0 0 1-.9-1.45L4 16",key:"tarvll"}]]);/**
|
|
271
271
|
* @license lucide-react v0.462.0 - ISC
|
|
272
272
|
*
|
|
273
273
|
* This source code is licensed under the ISC license.
|
|
274
274
|
* See the LICENSE file in the root directory of this source tree.
|
|
275
|
-
*/const
|
|
275
|
+
*/const TE=ie("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);/**
|
|
276
276
|
* @license lucide-react v0.462.0 - ISC
|
|
277
277
|
*
|
|
278
278
|
* This source code is licensed under the ISC license.
|
|
279
279
|
* See the LICENSE file in the root directory of this source tree.
|
|
280
|
-
*/const
|
|
280
|
+
*/const OE=ie("LogOut",[["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}],["polyline",{points:"16 17 21 12 16 7",key:"1gabdz"}],["line",{x1:"21",x2:"9",y1:"12",y2:"12",key:"1uyos4"}]]);/**
|
|
281
281
|
* @license lucide-react v0.462.0 - ISC
|
|
282
282
|
*
|
|
283
283
|
* This source code is licensed under the ISC license.
|
|
284
284
|
* See the LICENSE file in the root directory of this source tree.
|
|
285
|
-
*/const
|
|
285
|
+
*/const NE=ie("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]]);/**
|
|
286
286
|
* @license lucide-react v0.462.0 - ISC
|
|
287
287
|
*
|
|
288
288
|
* This source code is licensed under the ISC license.
|
|
289
289
|
* See the LICENSE file in the root directory of this source tree.
|
|
290
|
-
*/const
|
|
290
|
+
*/const _E=ie("Maximize2",[["polyline",{points:"15 3 21 3 21 9",key:"mznyad"}],["polyline",{points:"9 21 3 21 3 15",key:"1avn1i"}],["line",{x1:"21",x2:"14",y1:"3",y2:"10",key:"ota7mn"}],["line",{x1:"3",x2:"10",y1:"21",y2:"14",key:"1atl0r"}]]);/**
|
|
291
291
|
* @license lucide-react v0.462.0 - ISC
|
|
292
292
|
*
|
|
293
293
|
* This source code is licensed under the ISC license.
|
|
294
294
|
* See the LICENSE file in the root directory of this source tree.
|
|
295
|
-
*/const
|
|
295
|
+
*/const LE=ie("MessageCircleMore",[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}],["path",{d:"M8 12h.01",key:"czm47f"}],["path",{d:"M12 12h.01",key:"1mp3jc"}],["path",{d:"M16 12h.01",key:"1l6xoz"}]]);/**
|
|
296
296
|
* @license lucide-react v0.462.0 - ISC
|
|
297
297
|
*
|
|
298
298
|
* This source code is licensed under the ISC license.
|
|
299
299
|
* See the LICENSE file in the root directory of this source tree.
|
|
300
|
-
*/const
|
|
300
|
+
*/const AE=ie("MessageCircle",[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}]]);/**
|
|
301
301
|
* @license lucide-react v0.462.0 - ISC
|
|
302
302
|
*
|
|
303
303
|
* This source code is licensed under the ISC license.
|
|
304
304
|
* See the LICENSE file in the root directory of this source tree.
|
|
305
|
-
*/const
|
|
305
|
+
*/const IE=ie("MessageSquareText",[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}],["path",{d:"M13 8H7",key:"14i4kc"}],["path",{d:"M17 12H7",key:"16if0g"}]]);/**
|
|
306
306
|
* @license lucide-react v0.462.0 - ISC
|
|
307
307
|
*
|
|
308
308
|
* This source code is licensed under the ISC license.
|
|
309
309
|
* See the LICENSE file in the root directory of this source tree.
|
|
310
|
-
*/const
|
|
310
|
+
*/const DE=ie("MessageSquare",[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}]]);/**
|
|
311
311
|
* @license lucide-react v0.462.0 - ISC
|
|
312
312
|
*
|
|
313
313
|
* This source code is licensed under the ISC license.
|
|
314
314
|
* See the LICENSE file in the root directory of this source tree.
|
|
315
|
-
*/const
|
|
315
|
+
*/const FE=ie("PackageSearch",[["path",{d:"M21 10V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l2-1.14",key:"e7tb2h"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["line",{x1:"12",x2:"12",y1:"22",y2:"12",key:"a4e8g8"}],["circle",{cx:"18.5",cy:"15.5",r:"2.5",key:"b5zd12"}],["path",{d:"M20.27 17.27 22 19",key:"1l4muz"}]]);/**
|
|
316
316
|
* @license lucide-react v0.462.0 - ISC
|
|
317
317
|
*
|
|
318
318
|
* This source code is licensed under the ISC license.
|
|
319
319
|
* See the LICENSE file in the root directory of this source tree.
|
|
320
|
-
*/const
|
|
320
|
+
*/const zE=ie("Palette",[["circle",{cx:"13.5",cy:"6.5",r:".5",fill:"currentColor",key:"1okk4w"}],["circle",{cx:"17.5",cy:"10.5",r:".5",fill:"currentColor",key:"f64h9f"}],["circle",{cx:"8.5",cy:"7.5",r:".5",fill:"currentColor",key:"fotxhn"}],["circle",{cx:"6.5",cy:"12.5",r:".5",fill:"currentColor",key:"qy21gx"}],["path",{d:"M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10c.926 0 1.648-.746 1.648-1.688 0-.437-.18-.835-.437-1.125-.29-.289-.438-.652-.438-1.125a1.64 1.64 0 0 1 1.668-1.668h1.996c3.051 0 5.555-2.503 5.555-5.554C21.965 6.012 17.461 2 12 2z",key:"12rzf8"}]]);/**
|
|
321
321
|
* @license lucide-react v0.462.0 - ISC
|
|
322
322
|
*
|
|
323
323
|
* This source code is licensed under the ISC license.
|
|
324
324
|
* See the LICENSE file in the root directory of this source tree.
|
|
325
|
-
*/const
|
|
325
|
+
*/const jE=ie("PanelRightOpen",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M15 3v18",key:"14nvp0"}],["path",{d:"m10 15-3-3 3-3",key:"1pgupc"}]]);/**
|
|
326
326
|
* @license lucide-react v0.462.0 - ISC
|
|
327
327
|
*
|
|
328
328
|
* This source code is licensed under the ISC license.
|
|
329
329
|
* See the LICENSE file in the root directory of this source tree.
|
|
330
|
-
*/const
|
|
330
|
+
*/const BE=ie("Paperclip",[["path",{d:"m21.44 11.05-9.19 9.19a6 6 0 0 1-8.49-8.49l8.57-8.57A4 4 0 1 1 18 8.84l-8.59 8.57a2 2 0 0 1-2.83-2.83l8.49-8.48",key:"1u3ebp"}]]);/**
|
|
331
331
|
* @license lucide-react v0.462.0 - ISC
|
|
332
332
|
*
|
|
333
333
|
* This source code is licensed under the ISC license.
|
|
334
334
|
* See the LICENSE file in the root directory of this source tree.
|
|
335
|
-
*/const
|
|
335
|
+
*/const UE=ie("Pencil",[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]]);/**
|
|
336
336
|
* @license lucide-react v0.462.0 - ISC
|
|
337
337
|
*
|
|
338
338
|
* This source code is licensed under the ISC license.
|
|
339
339
|
* See the LICENSE file in the root directory of this source tree.
|
|
340
|
-
*/const
|
|
340
|
+
*/const HE=ie("Play",[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]]);/**
|
|
341
341
|
* @license lucide-react v0.462.0 - ISC
|
|
342
342
|
*
|
|
343
343
|
* This source code is licensed under the ISC license.
|
|
344
344
|
* See the LICENSE file in the root directory of this source tree.
|
|
345
|
-
*/const
|
|
345
|
+
*/const $E=ie("Plug",[["path",{d:"M12 22v-5",key:"1ega77"}],["path",{d:"M9 8V2",key:"14iosj"}],["path",{d:"M15 8V2",key:"18g5xt"}],["path",{d:"M18 8v5a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V8Z",key:"osxo6l"}]]);/**
|
|
346
346
|
* @license lucide-react v0.462.0 - ISC
|
|
347
347
|
*
|
|
348
348
|
* This source code is licensed under the ISC license.
|
|
349
349
|
* See the LICENSE file in the root directory of this source tree.
|
|
350
|
-
*/const
|
|
350
|
+
*/const WE=ie("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);/**
|
|
351
351
|
* @license lucide-react v0.462.0 - ISC
|
|
352
352
|
*
|
|
353
353
|
* This source code is licensed under the ISC license.
|
|
354
354
|
* See the LICENSE file in the root directory of this source tree.
|
|
355
|
-
*/const
|
|
355
|
+
*/const VE=ie("Power",[["path",{d:"M12 2v10",key:"mnfbl"}],["path",{d:"M18.4 6.6a9 9 0 1 1-12.77.04",key:"obofu9"}]]);/**
|
|
356
356
|
* @license lucide-react v0.462.0 - ISC
|
|
357
357
|
*
|
|
358
358
|
* This source code is licensed under the ISC license.
|
|
359
359
|
* See the LICENSE file in the root directory of this source tree.
|
|
360
|
-
*/const
|
|
360
|
+
*/const QE=ie("Puzzle",[["path",{d:"M15.39 4.39a1 1 0 0 0 1.68-.474 2.5 2.5 0 1 1 3.014 3.015 1 1 0 0 0-.474 1.68l1.683 1.682a2.414 2.414 0 0 1 0 3.414L19.61 15.39a1 1 0 0 1-1.68-.474 2.5 2.5 0 1 0-3.014 3.015 1 1 0 0 1 .474 1.68l-1.683 1.682a2.414 2.414 0 0 1-3.414 0L8.61 19.61a1 1 0 0 0-1.68.474 2.5 2.5 0 1 1-3.014-3.015 1 1 0 0 0 .474-1.68l-1.683-1.682a2.414 2.414 0 0 1 0-3.414L4.39 8.61a1 1 0 0 1 1.68.474 2.5 2.5 0 1 0 3.014-3.015 1 1 0 0 1-.474-1.68l1.683-1.682a2.414 2.414 0 0 1 3.414 0z",key:"w46dr5"}]]);/**
|
|
361
361
|
* @license lucide-react v0.462.0 - ISC
|
|
362
362
|
*
|
|
363
363
|
* This source code is licensed under the ISC license.
|
|
364
364
|
* See the LICENSE file in the root directory of this source tree.
|
|
365
|
-
*/const
|
|
365
|
+
*/const KE=ie("QrCode",[["rect",{width:"5",height:"5",x:"3",y:"3",rx:"1",key:"1tu5fj"}],["rect",{width:"5",height:"5",x:"16",y:"3",rx:"1",key:"1v8r4q"}],["rect",{width:"5",height:"5",x:"3",y:"16",rx:"1",key:"1x03jg"}],["path",{d:"M21 16h-3a2 2 0 0 0-2 2v3",key:"177gqh"}],["path",{d:"M21 21v.01",key:"ents32"}],["path",{d:"M12 7v3a2 2 0 0 1-2 2H7",key:"8crl2c"}],["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M12 3h.01",key:"n36tog"}],["path",{d:"M12 16v.01",key:"133mhm"}],["path",{d:"M16 12h1",key:"1slzba"}],["path",{d:"M21 12v.01",key:"1lwtk9"}],["path",{d:"M12 21v-1",key:"1880an"}]]);/**
|
|
366
366
|
* @license lucide-react v0.462.0 - ISC
|
|
367
367
|
*
|
|
368
368
|
* This source code is licensed under the ISC license.
|
|
369
369
|
* See the LICENSE file in the root directory of this source tree.
|
|
370
|
-
*/const
|
|
370
|
+
*/const qE=ie("RefreshCcw",[["path",{d:"M21 12a9 9 0 0 0-9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"14sxne"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M3 12a9 9 0 0 0 9 9 9.75 9.75 0 0 0 6.74-2.74L21 16",key:"1hlbsb"}],["path",{d:"M16 16h5v5",key:"ccwih5"}]]);/**
|
|
371
371
|
* @license lucide-react v0.462.0 - ISC
|
|
372
372
|
*
|
|
373
373
|
* This source code is licensed under the ISC license.
|
|
374
374
|
* See the LICENSE file in the root directory of this source tree.
|
|
375
|
-
*/const
|
|
375
|
+
*/const GE=ie("RefreshCw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);/**
|
|
376
376
|
* @license lucide-react v0.462.0 - ISC
|
|
377
377
|
*
|
|
378
378
|
* This source code is licensed under the ISC license.
|
|
379
379
|
* See the LICENSE file in the root directory of this source tree.
|
|
380
|
-
*/const
|
|
380
|
+
*/const YE=ie("Save",[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]]);/**
|
|
381
381
|
* @license lucide-react v0.462.0 - ISC
|
|
382
382
|
*
|
|
383
383
|
* This source code is licensed under the ISC license.
|
|
384
384
|
* See the LICENSE file in the root directory of this source tree.
|
|
385
|
-
*/const
|
|
385
|
+
*/const XE=ie("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);/**
|
|
386
386
|
* @license lucide-react v0.462.0 - ISC
|
|
387
387
|
*
|
|
388
388
|
* This source code is licensed under the ISC license.
|
|
389
389
|
* See the LICENSE file in the root directory of this source tree.
|
|
390
|
-
*/const
|
|
390
|
+
*/const ZE=ie("SendHorizontal",[["path",{d:"M3.714 3.048a.498.498 0 0 0-.683.627l2.843 7.627a2 2 0 0 1 0 1.396l-2.842 7.627a.498.498 0 0 0 .682.627l18-8.5a.5.5 0 0 0 0-.904z",key:"117uat"}],["path",{d:"M6 12h16",key:"s4cdu5"}]]);/**
|
|
391
391
|
* @license lucide-react v0.462.0 - ISC
|
|
392
392
|
*
|
|
393
393
|
* This source code is licensed under the ISC license.
|
|
394
394
|
* See the LICENSE file in the root directory of this source tree.
|
|
395
|
-
*/const
|
|
395
|
+
*/const JE=ie("Settings2",[["path",{d:"M20 7h-9",key:"3s1dr2"}],["path",{d:"M14 17H5",key:"gfn3mx"}],["circle",{cx:"17",cy:"17",r:"3",key:"18b49y"}],["circle",{cx:"7",cy:"7",r:"3",key:"dfmy0x"}]]);/**
|
|
396
396
|
* @license lucide-react v0.462.0 - ISC
|
|
397
397
|
*
|
|
398
398
|
* This source code is licensed under the ISC license.
|
|
399
399
|
* See the LICENSE file in the root directory of this source tree.
|
|
400
|
-
*/const
|
|
400
|
+
*/const eR=ie("Settings",[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/**
|
|
401
401
|
* @license lucide-react v0.462.0 - ISC
|
|
402
402
|
*
|
|
403
403
|
* This source code is licensed under the ISC license.
|
|
404
404
|
* See the LICENSE file in the root directory of this source tree.
|
|
405
|
-
*/const
|
|
405
|
+
*/const tR=ie("Shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]]);/**
|
|
406
406
|
* @license lucide-react v0.462.0 - ISC
|
|
407
407
|
*
|
|
408
408
|
* This source code is licensed under the ISC license.
|
|
409
409
|
* See the LICENSE file in the root directory of this source tree.
|
|
410
|
-
*/const
|
|
410
|
+
*/const nR=ie("Sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]]);/**
|
|
411
411
|
* @license lucide-react v0.462.0 - ISC
|
|
412
412
|
*
|
|
413
413
|
* This source code is licensed under the ISC license.
|
|
414
414
|
* See the LICENSE file in the root directory of this source tree.
|
|
415
|
-
*/const
|
|
415
|
+
*/const rR=ie("SquareArrowOutUpRight",[["path",{d:"M21 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h6",key:"y09zxi"}],["path",{d:"m21 3-9 9",key:"mpx6sq"}],["path",{d:"M15 3h6v6",key:"1q9fwt"}]]);/**
|
|
416
416
|
* @license lucide-react v0.462.0 - ISC
|
|
417
417
|
*
|
|
418
418
|
* This source code is licensed under the ISC license.
|
|
419
419
|
* See the LICENSE file in the root directory of this source tree.
|
|
420
|
-
*/const
|
|
420
|
+
*/const oR=ie("Terminal",[["polyline",{points:"4 17 10 11 4 5",key:"akl6gq"}],["line",{x1:"12",x2:"20",y1:"19",y2:"19",key:"q2wloq"}]]);/**
|
|
421
421
|
* @license lucide-react v0.462.0 - ISC
|
|
422
422
|
*
|
|
423
423
|
* This source code is licensed under the ISC license.
|
|
424
424
|
* See the LICENSE file in the root directory of this source tree.
|
|
425
|
-
*/const
|
|
425
|
+
*/const iR=ie("ToggleLeft",[["rect",{width:"20",height:"12",x:"2",y:"6",rx:"6",ry:"6",key:"f2vt7d"}],["circle",{cx:"8",cy:"12",r:"2",key:"1nvbw3"}]]);/**
|
|
426
426
|
* @license lucide-react v0.462.0 - ISC
|
|
427
427
|
*
|
|
428
428
|
* This source code is licensed under the ISC license.
|
|
429
429
|
* See the LICENSE file in the root directory of this source tree.
|
|
430
|
-
*/const
|
|
430
|
+
*/const sR=ie("Trash2",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]]);/**
|
|
431
431
|
* @license lucide-react v0.462.0 - ISC
|
|
432
432
|
*
|
|
433
433
|
* This source code is licensed under the ISC license.
|
|
434
434
|
* See the LICENSE file in the root directory of this source tree.
|
|
435
|
-
*/const
|
|
435
|
+
*/const aR=ie("User",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]);/**
|
|
436
436
|
* @license lucide-react v0.462.0 - ISC
|
|
437
437
|
*
|
|
438
438
|
* This source code is licensed under the ISC license.
|
|
439
439
|
* See the LICENSE file in the root directory of this source tree.
|
|
440
|
-
*/const
|
|
440
|
+
*/const lR=ie("Wifi",[["path",{d:"M12 20h.01",key:"zekei9"}],["path",{d:"M2 8.82a15 15 0 0 1 20 0",key:"dnpr2z"}],["path",{d:"M5 12.859a10 10 0 0 1 14 0",key:"1x1e6c"}],["path",{d:"M8.5 16.429a5 5 0 0 1 7 0",key:"1bycff"}]]);/**
|
|
441
441
|
* @license lucide-react v0.462.0 - ISC
|
|
442
442
|
*
|
|
443
443
|
* This source code is licensed under the ISC license.
|
|
444
444
|
* See the LICENSE file in the root directory of this source tree.
|
|
445
|
-
*/const
|
|
445
|
+
*/const uR=ie("Wrench",[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z",key:"cbrjhi"}]]);/**
|
|
446
446
|
* @license lucide-react v0.462.0 - ISC
|
|
447
447
|
*
|
|
448
448
|
* This source code is licensed under the ISC license.
|
|
449
449
|
* See the LICENSE file in the root directory of this source tree.
|
|
450
|
-
*/const hb=ie("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);var sS=n=>{switch(n){case"success":return uS;case"info":return dS;case"warning":return cS;case"error":return fS;default:return null}},aS=Array(12).fill(0),lS=({visible:n,className:r})=>X.createElement("div",{className:["sonner-loading-wrapper",r].filter(Boolean).join(" "),"data-visible":n},X.createElement("div",{className:"sonner-spinner"},aS.map((i,s)=>X.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${s}`})))),uS=X.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},X.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),cS=X.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},X.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),dS=X.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},X.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),fS=X.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},X.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),pS=X.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},X.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),X.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),hS=()=>{let[n,r]=X.useState(document.hidden);return X.useEffect(()=>{let i=()=>{r(document.hidden)};return document.addEventListener("visibilitychange",i),()=>window.removeEventListener("visibilitychange",i)},[]),n},Vc=1,mS=class{constructor(){this.subscribe=n=>(this.subscribers.push(n),()=>{let r=this.subscribers.indexOf(n);this.subscribers.splice(r,1)}),this.publish=n=>{this.subscribers.forEach(r=>r(n))},this.addToast=n=>{this.publish(n),this.toasts=[...this.toasts,n]},this.create=n=>{var r;let{message:i,...s}=n,l=typeof(n==null?void 0:n.id)=="number"||((r=n.id)==null?void 0:r.length)>0?n.id:Vc++,c=this.toasts.find(p=>p.id===l),f=n.dismissible===void 0?!0:n.dismissible;return this.dismissedToasts.has(l)&&this.dismissedToasts.delete(l),c?this.toasts=this.toasts.map(p=>p.id===l?(this.publish({...p,...n,id:l,title:i}),{...p,...n,id:l,dismissible:f,title:i}):p):this.addToast({title:i,...s,dismissible:f,id:l}),l},this.dismiss=n=>(this.dismissedToasts.add(n),n||this.toasts.forEach(r=>{this.subscribers.forEach(i=>i({id:r.id,dismiss:!0}))}),this.subscribers.forEach(r=>r({id:n,dismiss:!0})),n),this.message=(n,r)=>this.create({...r,message:n}),this.error=(n,r)=>this.create({...r,message:n,type:"error"}),this.success=(n,r)=>this.create({...r,type:"success",message:n}),this.info=(n,r)=>this.create({...r,type:"info",message:n}),this.warning=(n,r)=>this.create({...r,type:"warning",message:n}),this.loading=(n,r)=>this.create({...r,type:"loading",message:n}),this.promise=(n,r)=>{if(!r)return;let i;r.loading!==void 0&&(i=this.create({...r,promise:n,type:"loading",message:r.loading,description:typeof r.description!="function"?r.description:void 0}));let s=n instanceof Promise?n:n(),l=i!==void 0,c,f=s.then(async h=>{if(c=["resolve",h],X.isValidElement(h))l=!1,this.create({id:i,type:"default",message:h});else if(yS(h)&&!h.ok){l=!1;let m=typeof r.error=="function"?await r.error(`HTTP error! status: ${h.status}`):r.error,w=typeof r.description=="function"?await r.description(`HTTP error! status: ${h.status}`):r.description;this.create({id:i,type:"error",message:m,description:w})}else if(r.success!==void 0){l=!1;let m=typeof r.success=="function"?await r.success(h):r.success,w=typeof r.description=="function"?await r.description(h):r.description;this.create({id:i,type:"success",message:m,description:w})}}).catch(async h=>{if(c=["reject",h],r.error!==void 0){l=!1;let m=typeof r.error=="function"?await r.error(h):r.error,w=typeof r.description=="function"?await r.description(h):r.description;this.create({id:i,type:"error",message:m,description:w})}}).finally(()=>{var h;l&&(this.dismiss(i),i=void 0),(h=r.finally)==null||h.call(r)}),p=()=>new Promise((h,m)=>f.then(()=>c[0]==="reject"?m(c[1]):h(c[1])).catch(m));return typeof i!="string"&&typeof i!="number"?{unwrap:p}:Object.assign(i,{unwrap:p})},this.custom=(n,r)=>{let i=(r==null?void 0:r.id)||Vc++;return this.create({jsx:n(i),id:i,...r}),i},this.getActiveToasts=()=>this.toasts.filter(n=>!this.dismissedToasts.has(n.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}},At=new mS,vS=(n,r)=>{let i=(r==null?void 0:r.id)||Vc++;return At.addToast({title:n,...r,id:i}),i},yS=n=>n&&typeof n=="object"&&"ok"in n&&typeof n.ok=="boolean"&&"status"in n&&typeof n.status=="number",gS=vS,wS=()=>At.toasts,xS=()=>At.getActiveToasts(),mb=Object.assign(gS,{success:At.success,info:At.info,warning:At.warning,error:At.error,custom:At.custom,message:At.message,promise:At.promise,dismiss:At.dismiss,loading:At.loading},{getHistory:wS,getToasts:xS});function SS(n,{insertAt:r}={}){if(typeof document>"u")return;let i=document.head||document.getElementsByTagName("head")[0],s=document.createElement("style");s.type="text/css",r==="top"&&i.firstChild?i.insertBefore(s,i.firstChild):i.appendChild(s),s.styleSheet?s.styleSheet.cssText=n:s.appendChild(document.createTextNode(n))}SS(`:where(html[dir="ltr"]),:where([data-sonner-toaster][dir="ltr"]){--toast-icon-margin-start: -3px;--toast-icon-margin-end: 4px;--toast-svg-margin-start: -1px;--toast-svg-margin-end: 0px;--toast-button-margin-start: auto;--toast-button-margin-end: 0;--toast-close-button-start: 0;--toast-close-button-end: unset;--toast-close-button-transform: translate(-35%, -35%)}:where(html[dir="rtl"]),:where([data-sonner-toaster][dir="rtl"]){--toast-icon-margin-start: 4px;--toast-icon-margin-end: -3px;--toast-svg-margin-start: 0px;--toast-svg-margin-end: -1px;--toast-button-margin-start: 0;--toast-button-margin-end: auto;--toast-close-button-start: unset;--toast-close-button-end: 0;--toast-close-button-transform: translate(35%, -35%)}:where([data-sonner-toaster]){position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1: hsl(0, 0%, 99%);--gray2: hsl(0, 0%, 97.3%);--gray3: hsl(0, 0%, 95.1%);--gray4: hsl(0, 0%, 93%);--gray5: hsl(0, 0%, 90.9%);--gray6: hsl(0, 0%, 88.7%);--gray7: hsl(0, 0%, 85.8%);--gray8: hsl(0, 0%, 78%);--gray9: hsl(0, 0%, 56.1%);--gray10: hsl(0, 0%, 52.3%);--gray11: hsl(0, 0%, 43.5%);--gray12: hsl(0, 0%, 9%);--border-radius: 8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:none;z-index:999999999;transition:transform .4s ease}:where([data-sonner-toaster][data-lifted="true"]){transform:translateY(-10px)}@media (hover: none) and (pointer: coarse){:where([data-sonner-toaster][data-lifted="true"]){transform:none}}:where([data-sonner-toaster][data-x-position="right"]){right:var(--offset-right)}:where([data-sonner-toaster][data-x-position="left"]){left:var(--offset-left)}:where([data-sonner-toaster][data-x-position="center"]){left:50%;transform:translate(-50%)}:where([data-sonner-toaster][data-y-position="top"]){top:var(--offset-top)}:where([data-sonner-toaster][data-y-position="bottom"]){bottom:var(--offset-bottom)}:where([data-sonner-toast]){--y: translateY(100%);--lift-amount: calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);filter:blur(0);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:none;overflow-wrap:anywhere}:where([data-sonner-toast][data-styled="true"]){padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px #0000001a;width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}:where([data-sonner-toast]:focus-visible){box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast][data-y-position="top"]){top:0;--y: translateY(-100%);--lift: 1;--lift-amount: calc(1 * var(--gap))}:where([data-sonner-toast][data-y-position="bottom"]){bottom:0;--y: translateY(100%);--lift: -1;--lift-amount: calc(var(--lift) * var(--gap))}:where([data-sonner-toast]) :where([data-description]){font-weight:400;line-height:1.4;color:inherit}:where([data-sonner-toast]) :where([data-title]){font-weight:500;line-height:1.5;color:inherit}:where([data-sonner-toast]) :where([data-icon]){display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}:where([data-sonner-toast][data-promise="true"]) :where([data-icon])>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}:where([data-sonner-toast]) :where([data-icon])>*{flex-shrink:0}:where([data-sonner-toast]) :where([data-icon]) svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}:where([data-sonner-toast]) :where([data-content]){display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;cursor:pointer;outline:none;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}:where([data-sonner-toast]) :where([data-button]):focus-visible{box-shadow:0 0 0 2px #0006}:where([data-sonner-toast]) :where([data-button]):first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}:where([data-sonner-toast]) :where([data-cancel]){color:var(--normal-text);background:rgba(0,0,0,.08)}:where([data-sonner-toast][data-theme="dark"]) :where([data-cancel]){background:rgba(255,255,255,.3)}:where([data-sonner-toast]) :where([data-close-button]){position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast] [data-close-button]{background:var(--gray1)}:where([data-sonner-toast]) :where([data-close-button]):focus-visible{box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast]) :where([data-disabled="true"]){cursor:not-allowed}:where([data-sonner-toast]):hover :where([data-close-button]):hover{background:var(--gray2);border-color:var(--gray5)}:where([data-sonner-toast][data-swiping="true"]):before{content:"";position:absolute;left:-50%;right:-50%;height:100%;z-index:-1}:where([data-sonner-toast][data-y-position="top"][data-swiping="true"]):before{bottom:50%;transform:scaleY(3) translateY(50%)}:where([data-sonner-toast][data-y-position="bottom"][data-swiping="true"]):before{top:50%;transform:scaleY(3) translateY(-50%)}:where([data-sonner-toast][data-swiping="false"][data-removed="true"]):before{content:"";position:absolute;inset:0;transform:scaleY(2)}:where([data-sonner-toast]):after{content:"";position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}:where([data-sonner-toast][data-mounted="true"]){--y: translateY(0);opacity:1}:where([data-sonner-toast][data-expanded="false"][data-front="false"]){--scale: var(--toasts-before) * .05 + 1;--y: translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}:where([data-sonner-toast])>*{transition:opacity .4s}:where([data-sonner-toast][data-expanded="false"][data-front="false"][data-styled="true"])>*{opacity:0}:where([data-sonner-toast][data-visible="false"]){opacity:0;pointer-events:none}:where([data-sonner-toast][data-mounted="true"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}:where([data-sonner-toast][data-removed="true"][data-front="true"][data-swipe-out="false"]){--y: translateY(calc(var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="false"]){--y: translateY(40%);opacity:0;transition:transform .5s,opacity .2s}:where([data-sonner-toast][data-removed="true"][data-front="false"]):before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y, 0px)) translate(var(--swipe-amount-x, 0px));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width: 600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-theme=light]{--normal-bg: #fff;--normal-border: var(--gray4);--normal-text: var(--gray12);--success-bg: hsl(143, 85%, 96%);--success-border: hsl(145, 92%, 91%);--success-text: hsl(140, 100%, 27%);--info-bg: hsl(208, 100%, 97%);--info-border: hsl(221, 91%, 91%);--info-text: hsl(210, 92%, 45%);--warning-bg: hsl(49, 100%, 97%);--warning-border: hsl(49, 91%, 91%);--warning-text: hsl(31, 92%, 45%);--error-bg: hsl(359, 100%, 97%);--error-border: hsl(359, 100%, 94%);--error-text: hsl(360, 100%, 45%)}[data-sonner-toaster][data-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg: #fff;--normal-border: var(--gray3);--normal-text: var(--gray12)}[data-sonner-toaster][data-theme=dark]{--normal-bg: #000;--normal-bg-hover: hsl(0, 0%, 12%);--normal-border: hsl(0, 0%, 20%);--normal-border-hover: hsl(0, 0%, 25%);--normal-text: var(--gray1);--success-bg: hsl(150, 100%, 6%);--success-border: hsl(147, 100%, 12%);--success-text: hsl(150, 86%, 65%);--info-bg: hsl(215, 100%, 6%);--info-border: hsl(223, 100%, 12%);--info-text: hsl(216, 87%, 65%);--warning-bg: hsl(64, 100%, 6%);--warning-border: hsl(60, 100%, 12%);--warning-text: hsl(46, 87%, 65%);--error-bg: hsl(358, 76%, 10%);--error-border: hsl(357, 89%, 16%);--error-text: hsl(358, 100%, 81%)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success],[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info],[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning],[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error],[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size: 16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:nth-child(1){animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}to{opacity:.15}}@media (prefers-reduced-motion){[data-sonner-toast],[data-sonner-toast]>*,.sonner-loading-bar{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}
|
|
451
|
-
`);function qa(n){return n.label!==void 0}var CS=3,kS="32px",ES="16px",Jh=4e3,bS=356,RS=14,PS=20,MS=200;function un(...n){return n.filter(Boolean).join(" ")}function TS(n){let[r,i]=n.split("-"),s=[];return r&&s.push(r),i&&s.push(i),s}var OS=n=>{var r,i,s,l,c,f,p,h,m,w,x;let{invert:k,toast:g,unstyled:O,interacting:S,setHeights:C,visibleToasts:P,heights:T,index:R,toasts:L,expanded:z,removeToast:U,defaultRichColors:H,closeButton:G,style:J,cancelButtonStyle:te,actionButtonStyle:he,className:Z="",descriptionClassName:ye="",duration:de,position:xe,gap:ue,loadingIcon:se,expandByDefault:j,classNames:B,icons:Q,closeButtonAriaLabel:N="Close toast",pauseWhenPageIsHidden:F}=n,[ne,re]=X.useState(null),[ve,Se]=X.useState(null),[q,pe]=X.useState(!1),[Ce,be]=X.useState(!1),[Me,Oe]=X.useState(!1),[Ye,dt]=X.useState(!1),[gn,Xt]=X.useState(!1),[Zt,ir]=X.useState(0),[wn,sr]=X.useState(0),Ht=X.useRef(g.duration||de||Jh),Eo=X.useRef(null),xn=X.useRef(null),Rs=R===0,Ps=R+1<=P,gt=g.type,Sn=g.dismissible!==!1,bo=g.className||"",Ms=g.descriptionClassName||"",Cn=X.useMemo(()=>T.findIndex(Ee=>Ee.toastId===g.id)||0,[T,g.id]),Qr=X.useMemo(()=>{var Ee;return(Ee=g.closeButton)!=null?Ee:G},[g.closeButton,G]),Ts=X.useMemo(()=>g.duration||de||Jh,[g.duration,de]),Ro=X.useRef(0),jn=X.useRef(0),Os=X.useRef(0),kn=X.useRef(null),[bi,Ri]=xe.split("-"),Po=X.useMemo(()=>T.reduce((Ee,Ae,Fe)=>Fe>=Cn?Ee:Ee+Ae.height,0),[T,Cn]),Mo=hS(),ar=g.invert||k,En=gt==="loading";jn.current=X.useMemo(()=>Cn*ue+Po,[Cn,Po]),X.useEffect(()=>{Ht.current=Ts},[Ts]),X.useEffect(()=>{pe(!0)},[]),X.useEffect(()=>{let Ee=xn.current;if(Ee){let Ae=Ee.getBoundingClientRect().height;return sr(Ae),C(Fe=>[{toastId:g.id,height:Ae,position:g.position},...Fe]),()=>C(Fe=>Fe.filter(wt=>wt.toastId!==g.id))}},[C,g.id]),X.useLayoutEffect(()=>{if(!q)return;let Ee=xn.current,Ae=Ee.style.height;Ee.style.height="auto";let Fe=Ee.getBoundingClientRect().height;Ee.style.height=Ae,sr(Fe),C(wt=>wt.find(Et=>Et.toastId===g.id)?wt.map(Et=>Et.toastId===g.id?{...Et,height:Fe}:Et):[{toastId:g.id,height:Fe,position:g.position},...wt])},[q,g.title,g.description,C,g.id]);let Jt=X.useCallback(()=>{be(!0),ir(jn.current),C(Ee=>Ee.filter(Ae=>Ae.toastId!==g.id)),setTimeout(()=>{U(g)},MS)},[g,U,C,jn]);X.useEffect(()=>{if(g.promise&>==="loading"||g.duration===1/0||g.type==="loading")return;let Ee;return z||S||F&&Mo?(()=>{if(Os.current<Ro.current){let Ae=new Date().getTime()-Ro.current;Ht.current=Ht.current-Ae}Os.current=new Date().getTime()})():Ht.current!==1/0&&(Ro.current=new Date().getTime(),Ee=setTimeout(()=>{var Ae;(Ae=g.onAutoClose)==null||Ae.call(g,g),Jt()},Ht.current)),()=>clearTimeout(Ee)},[z,S,g,gt,F,Mo,Jt]),X.useEffect(()=>{g.delete&&Jt()},[Jt,g.delete]);function Ns(){var Ee,Ae,Fe;return Q!=null&&Q.loading?X.createElement("div",{className:un(B==null?void 0:B.loader,(Ee=g==null?void 0:g.classNames)==null?void 0:Ee.loader,"sonner-loader"),"data-visible":gt==="loading"},Q.loading):se?X.createElement("div",{className:un(B==null?void 0:B.loader,(Ae=g==null?void 0:g.classNames)==null?void 0:Ae.loader,"sonner-loader"),"data-visible":gt==="loading"},se):X.createElement(lS,{className:un(B==null?void 0:B.loader,(Fe=g==null?void 0:g.classNames)==null?void 0:Fe.loader),visible:gt==="loading"})}return X.createElement("li",{tabIndex:0,ref:xn,className:un(Z,bo,B==null?void 0:B.toast,(r=g==null?void 0:g.classNames)==null?void 0:r.toast,B==null?void 0:B.default,B==null?void 0:B[gt],(i=g==null?void 0:g.classNames)==null?void 0:i[gt]),"data-sonner-toast":"","data-rich-colors":(s=g.richColors)!=null?s:H,"data-styled":!(g.jsx||g.unstyled||O),"data-mounted":q,"data-promise":!!g.promise,"data-swiped":gn,"data-removed":Ce,"data-visible":Ps,"data-y-position":bi,"data-x-position":Ri,"data-index":R,"data-front":Rs,"data-swiping":Me,"data-dismissible":Sn,"data-type":gt,"data-invert":ar,"data-swipe-out":Ye,"data-swipe-direction":ve,"data-expanded":!!(z||j&&q),style:{"--index":R,"--toasts-before":R,"--z-index":L.length-R,"--offset":`${Ce?Zt:jn.current}px`,"--initial-height":j?"auto":`${wn}px`,...J,...g.style},onDragEnd:()=>{Oe(!1),re(null),kn.current=null},onPointerDown:Ee=>{En||!Sn||(Eo.current=new Date,ir(jn.current),Ee.target.setPointerCapture(Ee.pointerId),Ee.target.tagName!=="BUTTON"&&(Oe(!0),kn.current={x:Ee.clientX,y:Ee.clientY}))},onPointerUp:()=>{var Ee,Ae,Fe,wt;if(Ye||!Sn)return;kn.current=null;let Et=Number(((Ee=xn.current)==null?void 0:Ee.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),bt=Number(((Ae=xn.current)==null?void 0:Ae.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),en=new Date().getTime()-((Fe=Eo.current)==null?void 0:Fe.getTime()),lt=ne==="x"?Et:bt,bn=Math.abs(lt)/en;if(Math.abs(lt)>=PS||bn>.11){ir(jn.current),(wt=g.onDismiss)==null||wt.call(g,g),Se(ne==="x"?Et>0?"right":"left":bt>0?"down":"up"),Jt(),dt(!0),Xt(!1);return}Oe(!1),re(null)},onPointerMove:Ee=>{var Ae,Fe,wt,Et;if(!kn.current||!Sn||((Ae=window.getSelection())==null?void 0:Ae.toString().length)>0)return;let bt=Ee.clientY-kn.current.y,en=Ee.clientX-kn.current.x,lt=(Fe=n.swipeDirections)!=null?Fe:TS(xe);!ne&&(Math.abs(en)>1||Math.abs(bt)>1)&&re(Math.abs(en)>Math.abs(bt)?"x":"y");let bn={x:0,y:0};ne==="y"?(lt.includes("top")||lt.includes("bottom"))&&(lt.includes("top")&&bt<0||lt.includes("bottom")&&bt>0)&&(bn.y=bt):ne==="x"&&(lt.includes("left")||lt.includes("right"))&&(lt.includes("left")&&en<0||lt.includes("right")&&en>0)&&(bn.x=en),(Math.abs(bn.x)>0||Math.abs(bn.y)>0)&&Xt(!0),(wt=xn.current)==null||wt.style.setProperty("--swipe-amount-x",`${bn.x}px`),(Et=xn.current)==null||Et.style.setProperty("--swipe-amount-y",`${bn.y}px`)}},Qr&&!g.jsx?X.createElement("button",{"aria-label":N,"data-disabled":En,"data-close-button":!0,onClick:En||!Sn?()=>{}:()=>{var Ee;Jt(),(Ee=g.onDismiss)==null||Ee.call(g,g)},className:un(B==null?void 0:B.closeButton,(l=g==null?void 0:g.classNames)==null?void 0:l.closeButton)},(c=Q==null?void 0:Q.close)!=null?c:pS):null,g.jsx||y.isValidElement(g.title)?g.jsx?g.jsx:typeof g.title=="function"?g.title():g.title:X.createElement(X.Fragment,null,gt||g.icon||g.promise?X.createElement("div",{"data-icon":"",className:un(B==null?void 0:B.icon,(f=g==null?void 0:g.classNames)==null?void 0:f.icon)},g.promise||g.type==="loading"&&!g.icon?g.icon||Ns():null,g.type!=="loading"?g.icon||(Q==null?void 0:Q[gt])||sS(gt):null):null,X.createElement("div",{"data-content":"",className:un(B==null?void 0:B.content,(p=g==null?void 0:g.classNames)==null?void 0:p.content)},X.createElement("div",{"data-title":"",className:un(B==null?void 0:B.title,(h=g==null?void 0:g.classNames)==null?void 0:h.title)},typeof g.title=="function"?g.title():g.title),g.description?X.createElement("div",{"data-description":"",className:un(ye,Ms,B==null?void 0:B.description,(m=g==null?void 0:g.classNames)==null?void 0:m.description)},typeof g.description=="function"?g.description():g.description):null),y.isValidElement(g.cancel)?g.cancel:g.cancel&&qa(g.cancel)?X.createElement("button",{"data-button":!0,"data-cancel":!0,style:g.cancelButtonStyle||te,onClick:Ee=>{var Ae,Fe;qa(g.cancel)&&Sn&&((Fe=(Ae=g.cancel).onClick)==null||Fe.call(Ae,Ee),Jt())},className:un(B==null?void 0:B.cancelButton,(w=g==null?void 0:g.classNames)==null?void 0:w.cancelButton)},g.cancel.label):null,y.isValidElement(g.action)?g.action:g.action&&qa(g.action)?X.createElement("button",{"data-button":!0,"data-action":!0,style:g.actionButtonStyle||he,onClick:Ee=>{var Ae,Fe;qa(g.action)&&((Fe=(Ae=g.action).onClick)==null||Fe.call(Ae,Ee),!Ee.defaultPrevented&&Jt())},className:un(B==null?void 0:B.actionButton,(x=g==null?void 0:g.classNames)==null?void 0:x.actionButton)},g.action.label):null))};function em(){if(typeof window>"u"||typeof document>"u")return"ltr";let n=document.documentElement.getAttribute("dir");return n==="auto"||!n?window.getComputedStyle(document.documentElement).direction:n}function NS(n,r){let i={};return[n,r].forEach((s,l)=>{let c=l===1,f=c?"--mobile-offset":"--offset",p=c?ES:kS;function h(m){["top","right","bottom","left"].forEach(w=>{i[`${f}-${w}`]=typeof m=="number"?`${m}px`:m})}typeof s=="number"||typeof s=="string"?h(s):typeof s=="object"?["top","right","bottom","left"].forEach(m=>{s[m]===void 0?i[`${f}-${m}`]=p:i[`${f}-${m}`]=typeof s[m]=="number"?`${s[m]}px`:s[m]}):h(p)}),i}var vb=y.forwardRef(function(n,r){let{invert:i,position:s="bottom-right",hotkey:l=["altKey","KeyT"],expand:c,closeButton:f,className:p,offset:h,mobileOffset:m,theme:w="light",richColors:x,duration:k,style:g,visibleToasts:O=CS,toastOptions:S,dir:C=em(),gap:P=RS,loadingIcon:T,icons:R,containerAriaLabel:L="Notifications",pauseWhenPageIsHidden:z}=n,[U,H]=X.useState([]),G=X.useMemo(()=>Array.from(new Set([s].concat(U.filter(F=>F.position).map(F=>F.position)))),[U,s]),[J,te]=X.useState([]),[he,Z]=X.useState(!1),[ye,de]=X.useState(!1),[xe,ue]=X.useState(w!=="system"?w:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),se=X.useRef(null),j=l.join("+").replace(/Key/g,"").replace(/Digit/g,""),B=X.useRef(null),Q=X.useRef(!1),N=X.useCallback(F=>{H(ne=>{var re;return(re=ne.find(ve=>ve.id===F.id))!=null&&re.delete||At.dismiss(F.id),ne.filter(({id:ve})=>ve!==F.id)})},[]);return X.useEffect(()=>At.subscribe(F=>{if(F.dismiss){H(ne=>ne.map(re=>re.id===F.id?{...re,delete:!0}:re));return}setTimeout(()=>{qm.flushSync(()=>{H(ne=>{let re=ne.findIndex(ve=>ve.id===F.id);return re!==-1?[...ne.slice(0,re),{...ne[re],...F},...ne.slice(re+1)]:[F,...ne]})})})}),[]),X.useEffect(()=>{if(w!=="system"){ue(w);return}if(w==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?ue("dark"):ue("light")),typeof window>"u")return;let F=window.matchMedia("(prefers-color-scheme: dark)");try{F.addEventListener("change",({matches:ne})=>{ue(ne?"dark":"light")})}catch{F.addListener(({matches:re})=>{try{ue(re?"dark":"light")}catch(ve){console.error(ve)}})}},[w]),X.useEffect(()=>{U.length<=1&&Z(!1)},[U]),X.useEffect(()=>{let F=ne=>{var re,ve;l.every(Se=>ne[Se]||ne.code===Se)&&(Z(!0),(re=se.current)==null||re.focus()),ne.code==="Escape"&&(document.activeElement===se.current||(ve=se.current)!=null&&ve.contains(document.activeElement))&&Z(!1)};return document.addEventListener("keydown",F),()=>document.removeEventListener("keydown",F)},[l]),X.useEffect(()=>{if(se.current)return()=>{B.current&&(B.current.focus({preventScroll:!0}),B.current=null,Q.current=!1)}},[se.current]),X.createElement("section",{ref:r,"aria-label":`${L} ${j}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},G.map((F,ne)=>{var re;let[ve,Se]=F.split("-");return U.length?X.createElement("ol",{key:F,dir:C==="auto"?em():C,tabIndex:-1,ref:se,className:p,"data-sonner-toaster":!0,"data-theme":xe,"data-y-position":ve,"data-lifted":he&&U.length>1&&!c,"data-x-position":Se,style:{"--front-toast-height":`${((re=J[0])==null?void 0:re.height)||0}px`,"--width":`${bS}px`,"--gap":`${P}px`,...g,...NS(h,m)},onBlur:q=>{Q.current&&!q.currentTarget.contains(q.relatedTarget)&&(Q.current=!1,B.current&&(B.current.focus({preventScroll:!0}),B.current=null))},onFocus:q=>{q.target instanceof HTMLElement&&q.target.dataset.dismissible==="false"||Q.current||(Q.current=!0,B.current=q.relatedTarget)},onMouseEnter:()=>Z(!0),onMouseMove:()=>Z(!0),onMouseLeave:()=>{ye||Z(!1)},onDragEnd:()=>Z(!1),onPointerDown:q=>{q.target instanceof HTMLElement&&q.target.dataset.dismissible==="false"||de(!0)},onPointerUp:()=>de(!1)},U.filter(q=>!q.position&&ne===0||q.position===F).map((q,pe)=>{var Ce,be;return X.createElement(OS,{key:q.id,icons:R,index:pe,toast:q,defaultRichColors:x,duration:(Ce=S==null?void 0:S.duration)!=null?Ce:k,className:S==null?void 0:S.className,descriptionClassName:S==null?void 0:S.descriptionClassName,invert:i,visibleToasts:O,closeButton:(be=S==null?void 0:S.closeButton)!=null?be:f,interacting:ye,position:F,style:S==null?void 0:S.style,unstyled:S==null?void 0:S.unstyled,classNames:S==null?void 0:S.classNames,cancelButtonStyle:S==null?void 0:S.cancelButtonStyle,actionButtonStyle:S==null?void 0:S.actionButtonStyle,removeToast:N,toasts:U.filter(Me=>Me.position==q.position),heights:J.filter(Me=>Me.position==q.position),setHeights:te,expandByDefault:c,gap:P,loadingIcon:T,expanded:he,pauseWhenPageIsHidden:z,swipeDirections:n.swipeDirections})})):null}))});const tm=n=>{let r;const i=new Set,s=(m,w)=>{const x=typeof m=="function"?m(r):m;if(!Object.is(x,r)){const k=r;r=w??(typeof x!="object"||x===null)?x:Object.assign({},r,x),i.forEach(g=>g(r,k))}},l=()=>r,p={setState:s,getState:l,getInitialState:()=>h,subscribe:m=>(i.add(m),()=>i.delete(m))},h=r=n(s,l,p);return p},_S=(n=>n?tm(n):tm),LS=n=>n;function AS(n,r=LS){const i=X.useSyncExternalStore(n.subscribe,X.useCallback(()=>r(n.getState()),[n,r]),X.useCallback(()=>r(n.getInitialState()),[n,r]));return X.useDebugValue(i),i}const nm=n=>{const r=_S(n),i=s=>AS(r,s);return Object.assign(i,r),i},yb=(n=>n?nm(n):nm);function rm(n,[r,i]){return Math.min(i,Math.max(r,n))}function IS(n){const r=n+"CollectionProvider",[i,s]=pl(r),[l,c]=i(r,{collectionRef:{current:null},itemMap:new Map}),f=S=>{const{scope:C,children:P}=S,T=X.useRef(null),R=X.useRef(new Map).current;return V.jsx(l,{scope:C,itemMap:R,collectionRef:T,children:P})};f.displayName=r;const p=n+"CollectionSlot",h=ms(p),m=X.forwardRef((S,C)=>{const{scope:P,children:T}=S,R=c(p,P),L=Je(C,R.collectionRef);return V.jsx(h,{ref:L,children:T})});m.displayName=p;const w=n+"CollectionItemSlot",x="data-radix-collection-item",k=ms(w),g=X.forwardRef((S,C)=>{const{scope:P,children:T,...R}=S,L=X.useRef(null),z=Je(C,L),U=c(w,P);return X.useEffect(()=>(U.itemMap.set(L,{ref:L,...R}),()=>void U.itemMap.delete(L))),V.jsx(k,{[x]:"",ref:z,children:T})});g.displayName=w;function O(S){const C=c(n+"CollectionConsumer",S);return X.useCallback(()=>{const T=C.collectionRef.current;if(!T)return[];const R=Array.from(T.querySelectorAll(`[${x}]`));return Array.from(C.itemMap.values()).sort((U,H)=>R.indexOf(U.ref.current)-R.indexOf(H.ref.current))},[C.collectionRef,C.itemMap])}return[{Provider:f,Slot:m,ItemSlot:g},O,s]}var DS=y.createContext(void 0);function FS(n){const r=y.useContext(DS);return n||r||"ltr"}const zS=["top","right","bottom","left"],Ur=Math.min,jt=Math.max,sl=Math.round,Ga=Math.floor,Dn=n=>({x:n,y:n}),jS={left:"right",right:"left",bottom:"top",top:"bottom"},BS={start:"end",end:"start"};function Qc(n,r,i){return jt(n,Ur(r,i))}function rr(n,r){return typeof n=="function"?n(r):n}function or(n){return n.split("-")[0]}function Ci(n){return n.split("-")[1]}function Cd(n){return n==="x"?"y":"x"}function kd(n){return n==="y"?"height":"width"}const US=new Set(["top","bottom"]);function In(n){return US.has(or(n))?"y":"x"}function Ed(n){return Cd(In(n))}function HS(n,r,i){i===void 0&&(i=!1);const s=Ci(n),l=Ed(n),c=kd(l);let f=l==="x"?s===(i?"end":"start")?"right":"left":s==="start"?"bottom":"top";return r.reference[c]>r.floating[c]&&(f=al(f)),[f,al(f)]}function $S(n){const r=al(n);return[Kc(n),r,Kc(r)]}function Kc(n){return n.replace(/start|end/g,r=>BS[r])}const om=["left","right"],im=["right","left"],WS=["top","bottom"],VS=["bottom","top"];function QS(n,r,i){switch(n){case"top":case"bottom":return i?r?im:om:r?om:im;case"left":case"right":return r?WS:VS;default:return[]}}function KS(n,r,i,s){const l=Ci(n);let c=QS(or(n),i==="start",s);return l&&(c=c.map(f=>f+"-"+l),r&&(c=c.concat(c.map(Kc)))),c}function al(n){return n.replace(/left|right|bottom|top/g,r=>jS[r])}function qS(n){return{top:0,right:0,bottom:0,left:0,...n}}function Wv(n){return typeof n!="number"?qS(n):{top:n,right:n,bottom:n,left:n}}function ll(n){const{x:r,y:i,width:s,height:l}=n;return{width:s,height:l,top:i,left:r,right:r+s,bottom:i+l,x:r,y:i}}function sm(n,r,i){let{reference:s,floating:l}=n;const c=In(r),f=Ed(r),p=kd(f),h=or(r),m=c==="y",w=s.x+s.width/2-l.width/2,x=s.y+s.height/2-l.height/2,k=s[p]/2-l[p]/2;let g;switch(h){case"top":g={x:w,y:s.y-l.height};break;case"bottom":g={x:w,y:s.y+s.height};break;case"right":g={x:s.x+s.width,y:x};break;case"left":g={x:s.x-l.width,y:x};break;default:g={x:s.x,y:s.y}}switch(Ci(r)){case"start":g[f]-=k*(i&&m?-1:1);break;case"end":g[f]+=k*(i&&m?-1:1);break}return g}async function GS(n,r){var i;r===void 0&&(r={});const{x:s,y:l,platform:c,rects:f,elements:p,strategy:h}=n,{boundary:m="clippingAncestors",rootBoundary:w="viewport",elementContext:x="floating",altBoundary:k=!1,padding:g=0}=rr(r,n),O=Wv(g),C=p[k?x==="floating"?"reference":"floating":x],P=ll(await c.getClippingRect({element:(i=await(c.isElement==null?void 0:c.isElement(C)))==null||i?C:C.contextElement||await(c.getDocumentElement==null?void 0:c.getDocumentElement(p.floating)),boundary:m,rootBoundary:w,strategy:h})),T=x==="floating"?{x:s,y:l,width:f.floating.width,height:f.floating.height}:f.reference,R=await(c.getOffsetParent==null?void 0:c.getOffsetParent(p.floating)),L=await(c.isElement==null?void 0:c.isElement(R))?await(c.getScale==null?void 0:c.getScale(R))||{x:1,y:1}:{x:1,y:1},z=ll(c.convertOffsetParentRelativeRectToViewportRelativeRect?await c.convertOffsetParentRelativeRectToViewportRelativeRect({elements:p,rect:T,offsetParent:R,strategy:h}):T);return{top:(P.top-z.top+O.top)/L.y,bottom:(z.bottom-P.bottom+O.bottom)/L.y,left:(P.left-z.left+O.left)/L.x,right:(z.right-P.right+O.right)/L.x}}const YS=async(n,r,i)=>{const{placement:s="bottom",strategy:l="absolute",middleware:c=[],platform:f}=i,p=c.filter(Boolean),h=await(f.isRTL==null?void 0:f.isRTL(r));let m=await f.getElementRects({reference:n,floating:r,strategy:l}),{x:w,y:x}=sm(m,s,h),k=s,g={},O=0;for(let C=0;C<p.length;C++){var S;const{name:P,fn:T}=p[C],{x:R,y:L,data:z,reset:U}=await T({x:w,y:x,initialPlacement:s,placement:k,strategy:l,middlewareData:g,rects:m,platform:{...f,detectOverflow:(S=f.detectOverflow)!=null?S:GS},elements:{reference:n,floating:r}});w=R??w,x=L??x,g={...g,[P]:{...g[P],...z}},U&&O<=50&&(O++,typeof U=="object"&&(U.placement&&(k=U.placement),U.rects&&(m=U.rects===!0?await f.getElementRects({reference:n,floating:r,strategy:l}):U.rects),{x:w,y:x}=sm(m,k,h)),C=-1)}return{x:w,y:x,placement:k,strategy:l,middlewareData:g}},XS=n=>({name:"arrow",options:n,async fn(r){const{x:i,y:s,placement:l,rects:c,platform:f,elements:p,middlewareData:h}=r,{element:m,padding:w=0}=rr(n,r)||{};if(m==null)return{};const x=Wv(w),k={x:i,y:s},g=Ed(l),O=kd(g),S=await f.getDimensions(m),C=g==="y",P=C?"top":"left",T=C?"bottom":"right",R=C?"clientHeight":"clientWidth",L=c.reference[O]+c.reference[g]-k[g]-c.floating[O],z=k[g]-c.reference[g],U=await(f.getOffsetParent==null?void 0:f.getOffsetParent(m));let H=U?U[R]:0;(!H||!await(f.isElement==null?void 0:f.isElement(U)))&&(H=p.floating[R]||c.floating[O]);const G=L/2-z/2,J=H/2-S[O]/2-1,te=Ur(x[P],J),he=Ur(x[T],J),Z=te,ye=H-S[O]-he,de=H/2-S[O]/2+G,xe=Qc(Z,de,ye),ue=!h.arrow&&Ci(l)!=null&&de!==xe&&c.reference[O]/2-(de<Z?te:he)-S[O]/2<0,se=ue?de<Z?de-Z:de-ye:0;return{[g]:k[g]+se,data:{[g]:xe,centerOffset:de-xe-se,...ue&&{alignmentOffset:se}},reset:ue}}}),ZS=function(n){return n===void 0&&(n={}),{name:"flip",options:n,async fn(r){var i,s;const{placement:l,middlewareData:c,rects:f,initialPlacement:p,platform:h,elements:m}=r,{mainAxis:w=!0,crossAxis:x=!0,fallbackPlacements:k,fallbackStrategy:g="bestFit",fallbackAxisSideDirection:O="none",flipAlignment:S=!0,...C}=rr(n,r);if((i=c.arrow)!=null&&i.alignmentOffset)return{};const P=or(l),T=In(p),R=or(p)===p,L=await(h.isRTL==null?void 0:h.isRTL(m.floating)),z=k||(R||!S?[al(p)]:$S(p)),U=O!=="none";!k&&U&&z.push(...KS(p,S,O,L));const H=[p,...z],G=await h.detectOverflow(r,C),J=[];let te=((s=c.flip)==null?void 0:s.overflows)||[];if(w&&J.push(G[P]),x){const de=HS(l,f,L);J.push(G[de[0]],G[de[1]])}if(te=[...te,{placement:l,overflows:J}],!J.every(de=>de<=0)){var he,Z;const de=(((he=c.flip)==null?void 0:he.index)||0)+1,xe=H[de];if(xe&&(!(x==="alignment"?T!==In(xe):!1)||te.every(j=>In(j.placement)===T?j.overflows[0]>0:!0)))return{data:{index:de,overflows:te},reset:{placement:xe}};let ue=(Z=te.filter(se=>se.overflows[0]<=0).sort((se,j)=>se.overflows[1]-j.overflows[1])[0])==null?void 0:Z.placement;if(!ue)switch(g){case"bestFit":{var ye;const se=(ye=te.filter(j=>{if(U){const B=In(j.placement);return B===T||B==="y"}return!0}).map(j=>[j.placement,j.overflows.filter(B=>B>0).reduce((B,Q)=>B+Q,0)]).sort((j,B)=>j[1]-B[1])[0])==null?void 0:ye[0];se&&(ue=se);break}case"initialPlacement":ue=p;break}if(l!==ue)return{reset:{placement:ue}}}return{}}}};function am(n,r){return{top:n.top-r.height,right:n.right-r.width,bottom:n.bottom-r.height,left:n.left-r.width}}function lm(n){return zS.some(r=>n[r]>=0)}const JS=function(n){return n===void 0&&(n={}),{name:"hide",options:n,async fn(r){const{rects:i,platform:s}=r,{strategy:l="referenceHidden",...c}=rr(n,r);switch(l){case"referenceHidden":{const f=await s.detectOverflow(r,{...c,elementContext:"reference"}),p=am(f,i.reference);return{data:{referenceHiddenOffsets:p,referenceHidden:lm(p)}}}case"escaped":{const f=await s.detectOverflow(r,{...c,altBoundary:!0}),p=am(f,i.floating);return{data:{escapedOffsets:p,escaped:lm(p)}}}default:return{}}}}},Vv=new Set(["left","top"]);async function eC(n,r){const{placement:i,platform:s,elements:l}=n,c=await(s.isRTL==null?void 0:s.isRTL(l.floating)),f=or(i),p=Ci(i),h=In(i)==="y",m=Vv.has(f)?-1:1,w=c&&h?-1:1,x=rr(r,n);let{mainAxis:k,crossAxis:g,alignmentAxis:O}=typeof x=="number"?{mainAxis:x,crossAxis:0,alignmentAxis:null}:{mainAxis:x.mainAxis||0,crossAxis:x.crossAxis||0,alignmentAxis:x.alignmentAxis};return p&&typeof O=="number"&&(g=p==="end"?O*-1:O),h?{x:g*w,y:k*m}:{x:k*m,y:g*w}}const tC=function(n){return n===void 0&&(n=0),{name:"offset",options:n,async fn(r){var i,s;const{x:l,y:c,placement:f,middlewareData:p}=r,h=await eC(r,n);return f===((i=p.offset)==null?void 0:i.placement)&&(s=p.arrow)!=null&&s.alignmentOffset?{}:{x:l+h.x,y:c+h.y,data:{...h,placement:f}}}}},nC=function(n){return n===void 0&&(n={}),{name:"shift",options:n,async fn(r){const{x:i,y:s,placement:l,platform:c}=r,{mainAxis:f=!0,crossAxis:p=!1,limiter:h={fn:P=>{let{x:T,y:R}=P;return{x:T,y:R}}},...m}=rr(n,r),w={x:i,y:s},x=await c.detectOverflow(r,m),k=In(or(l)),g=Cd(k);let O=w[g],S=w[k];if(f){const P=g==="y"?"top":"left",T=g==="y"?"bottom":"right",R=O+x[P],L=O-x[T];O=Qc(R,O,L)}if(p){const P=k==="y"?"top":"left",T=k==="y"?"bottom":"right",R=S+x[P],L=S-x[T];S=Qc(R,S,L)}const C=h.fn({...r,[g]:O,[k]:S});return{...C,data:{x:C.x-i,y:C.y-s,enabled:{[g]:f,[k]:p}}}}}},rC=function(n){return n===void 0&&(n={}),{options:n,fn(r){const{x:i,y:s,placement:l,rects:c,middlewareData:f}=r,{offset:p=0,mainAxis:h=!0,crossAxis:m=!0}=rr(n,r),w={x:i,y:s},x=In(l),k=Cd(x);let g=w[k],O=w[x];const S=rr(p,r),C=typeof S=="number"?{mainAxis:S,crossAxis:0}:{mainAxis:0,crossAxis:0,...S};if(h){const R=k==="y"?"height":"width",L=c.reference[k]-c.floating[R]+C.mainAxis,z=c.reference[k]+c.reference[R]-C.mainAxis;g<L?g=L:g>z&&(g=z)}if(m){var P,T;const R=k==="y"?"width":"height",L=Vv.has(or(l)),z=c.reference[x]-c.floating[R]+(L&&((P=f.offset)==null?void 0:P[x])||0)+(L?0:C.crossAxis),U=c.reference[x]+c.reference[R]+(L?0:((T=f.offset)==null?void 0:T[x])||0)-(L?C.crossAxis:0);O<z?O=z:O>U&&(O=U)}return{[k]:g,[x]:O}}}},oC=function(n){return n===void 0&&(n={}),{name:"size",options:n,async fn(r){var i,s;const{placement:l,rects:c,platform:f,elements:p}=r,{apply:h=()=>{},...m}=rr(n,r),w=await f.detectOverflow(r,m),x=or(l),k=Ci(l),g=In(l)==="y",{width:O,height:S}=c.floating;let C,P;x==="top"||x==="bottom"?(C=x,P=k===(await(f.isRTL==null?void 0:f.isRTL(p.floating))?"start":"end")?"left":"right"):(P=x,C=k==="end"?"top":"bottom");const T=S-w.top-w.bottom,R=O-w.left-w.right,L=Ur(S-w[C],T),z=Ur(O-w[P],R),U=!r.middlewareData.shift;let H=L,G=z;if((i=r.middlewareData.shift)!=null&&i.enabled.x&&(G=R),(s=r.middlewareData.shift)!=null&&s.enabled.y&&(H=T),U&&!k){const te=jt(w.left,0),he=jt(w.right,0),Z=jt(w.top,0),ye=jt(w.bottom,0);g?G=O-2*(te!==0||he!==0?te+he:jt(w.left,w.right)):H=S-2*(Z!==0||ye!==0?Z+ye:jt(w.top,w.bottom))}await h({...r,availableWidth:G,availableHeight:H});const J=await f.getDimensions(p.floating);return O!==J.width||S!==J.height?{reset:{rects:!0}}:{}}}};function yl(){return typeof window<"u"}function ki(n){return Qv(n)?(n.nodeName||"").toLowerCase():"#document"}function Bt(n){var r;return(n==null||(r=n.ownerDocument)==null?void 0:r.defaultView)||window}function zn(n){var r;return(r=(Qv(n)?n.ownerDocument:n.document)||window.document)==null?void 0:r.documentElement}function Qv(n){return yl()?n instanceof Node||n instanceof Bt(n).Node:!1}function hn(n){return yl()?n instanceof Element||n instanceof Bt(n).Element:!1}function Fn(n){return yl()?n instanceof HTMLElement||n instanceof Bt(n).HTMLElement:!1}function um(n){return!yl()||typeof ShadowRoot>"u"?!1:n instanceof ShadowRoot||n instanceof Bt(n).ShadowRoot}const iC=new Set(["inline","contents"]);function bs(n){const{overflow:r,overflowX:i,overflowY:s,display:l}=mn(n);return/auto|scroll|overlay|hidden|clip/.test(r+s+i)&&!iC.has(l)}const sC=new Set(["table","td","th"]);function aC(n){return sC.has(ki(n))}const lC=[":popover-open",":modal"];function gl(n){return lC.some(r=>{try{return n.matches(r)}catch{return!1}})}const uC=["transform","translate","scale","rotate","perspective"],cC=["transform","translate","scale","rotate","perspective","filter"],dC=["paint","layout","strict","content"];function bd(n){const r=Rd(),i=hn(n)?mn(n):n;return uC.some(s=>i[s]?i[s]!=="none":!1)||(i.containerType?i.containerType!=="normal":!1)||!r&&(i.backdropFilter?i.backdropFilter!=="none":!1)||!r&&(i.filter?i.filter!=="none":!1)||cC.some(s=>(i.willChange||"").includes(s))||dC.some(s=>(i.contain||"").includes(s))}function fC(n){let r=Hr(n);for(;Fn(r)&&!vi(r);){if(bd(r))return r;if(gl(r))return null;r=Hr(r)}return null}function Rd(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const pC=new Set(["html","body","#document"]);function vi(n){return pC.has(ki(n))}function mn(n){return Bt(n).getComputedStyle(n)}function wl(n){return hn(n)?{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}:{scrollLeft:n.scrollX,scrollTop:n.scrollY}}function Hr(n){if(ki(n)==="html")return n;const r=n.assignedSlot||n.parentNode||um(n)&&n.host||zn(n);return um(r)?r.host:r}function Kv(n){const r=Hr(n);return vi(r)?n.ownerDocument?n.ownerDocument.body:n.body:Fn(r)&&bs(r)?r:Kv(r)}function vs(n,r,i){var s;r===void 0&&(r=[]),i===void 0&&(i=!0);const l=Kv(n),c=l===((s=n.ownerDocument)==null?void 0:s.body),f=Bt(l);if(c){const p=qc(f);return r.concat(f,f.visualViewport||[],bs(l)?l:[],p&&i?vs(p):[])}return r.concat(l,vs(l,[],i))}function qc(n){return n.parent&&Object.getPrototypeOf(n.parent)?n.frameElement:null}function qv(n){const r=mn(n);let i=parseFloat(r.width)||0,s=parseFloat(r.height)||0;const l=Fn(n),c=l?n.offsetWidth:i,f=l?n.offsetHeight:s,p=sl(i)!==c||sl(s)!==f;return p&&(i=c,s=f),{width:i,height:s,$:p}}function Pd(n){return hn(n)?n:n.contextElement}function ri(n){const r=Pd(n);if(!Fn(r))return Dn(1);const i=r.getBoundingClientRect(),{width:s,height:l,$:c}=qv(r);let f=(c?sl(i.width):i.width)/s,p=(c?sl(i.height):i.height)/l;return(!f||!Number.isFinite(f))&&(f=1),(!p||!Number.isFinite(p))&&(p=1),{x:f,y:p}}const hC=Dn(0);function Gv(n){const r=Bt(n);return!Rd()||!r.visualViewport?hC:{x:r.visualViewport.offsetLeft,y:r.visualViewport.offsetTop}}function mC(n,r,i){return r===void 0&&(r=!1),!i||r&&i!==Bt(n)?!1:r}function So(n,r,i,s){r===void 0&&(r=!1),i===void 0&&(i=!1);const l=n.getBoundingClientRect(),c=Pd(n);let f=Dn(1);r&&(s?hn(s)&&(f=ri(s)):f=ri(n));const p=mC(c,i,s)?Gv(c):Dn(0);let h=(l.left+p.x)/f.x,m=(l.top+p.y)/f.y,w=l.width/f.x,x=l.height/f.y;if(c){const k=Bt(c),g=s&&hn(s)?Bt(s):s;let O=k,S=qc(O);for(;S&&s&&g!==O;){const C=ri(S),P=S.getBoundingClientRect(),T=mn(S),R=P.left+(S.clientLeft+parseFloat(T.paddingLeft))*C.x,L=P.top+(S.clientTop+parseFloat(T.paddingTop))*C.y;h*=C.x,m*=C.y,w*=C.x,x*=C.y,h+=R,m+=L,O=Bt(S),S=qc(O)}}return ll({width:w,height:x,x:h,y:m})}function xl(n,r){const i=wl(n).scrollLeft;return r?r.left+i:So(zn(n)).left+i}function Yv(n,r){const i=n.getBoundingClientRect(),s=i.left+r.scrollLeft-xl(n,i),l=i.top+r.scrollTop;return{x:s,y:l}}function vC(n){let{elements:r,rect:i,offsetParent:s,strategy:l}=n;const c=l==="fixed",f=zn(s),p=r?gl(r.floating):!1;if(s===f||p&&c)return i;let h={scrollLeft:0,scrollTop:0},m=Dn(1);const w=Dn(0),x=Fn(s);if((x||!x&&!c)&&((ki(s)!=="body"||bs(f))&&(h=wl(s)),Fn(s))){const g=So(s);m=ri(s),w.x=g.x+s.clientLeft,w.y=g.y+s.clientTop}const k=f&&!x&&!c?Yv(f,h):Dn(0);return{width:i.width*m.x,height:i.height*m.y,x:i.x*m.x-h.scrollLeft*m.x+w.x+k.x,y:i.y*m.y-h.scrollTop*m.y+w.y+k.y}}function yC(n){return Array.from(n.getClientRects())}function gC(n){const r=zn(n),i=wl(n),s=n.ownerDocument.body,l=jt(r.scrollWidth,r.clientWidth,s.scrollWidth,s.clientWidth),c=jt(r.scrollHeight,r.clientHeight,s.scrollHeight,s.clientHeight);let f=-i.scrollLeft+xl(n);const p=-i.scrollTop;return mn(s).direction==="rtl"&&(f+=jt(r.clientWidth,s.clientWidth)-l),{width:l,height:c,x:f,y:p}}const cm=25;function wC(n,r){const i=Bt(n),s=zn(n),l=i.visualViewport;let c=s.clientWidth,f=s.clientHeight,p=0,h=0;if(l){c=l.width,f=l.height;const w=Rd();(!w||w&&r==="fixed")&&(p=l.offsetLeft,h=l.offsetTop)}const m=xl(s);if(m<=0){const w=s.ownerDocument,x=w.body,k=getComputedStyle(x),g=w.compatMode==="CSS1Compat"&&parseFloat(k.marginLeft)+parseFloat(k.marginRight)||0,O=Math.abs(s.clientWidth-x.clientWidth-g);O<=cm&&(c-=O)}else m<=cm&&(c+=m);return{width:c,height:f,x:p,y:h}}const xC=new Set(["absolute","fixed"]);function SC(n,r){const i=So(n,!0,r==="fixed"),s=i.top+n.clientTop,l=i.left+n.clientLeft,c=Fn(n)?ri(n):Dn(1),f=n.clientWidth*c.x,p=n.clientHeight*c.y,h=l*c.x,m=s*c.y;return{width:f,height:p,x:h,y:m}}function dm(n,r,i){let s;if(r==="viewport")s=wC(n,i);else if(r==="document")s=gC(zn(n));else if(hn(r))s=SC(r,i);else{const l=Gv(n);s={x:r.x-l.x,y:r.y-l.y,width:r.width,height:r.height}}return ll(s)}function Xv(n,r){const i=Hr(n);return i===r||!hn(i)||vi(i)?!1:mn(i).position==="fixed"||Xv(i,r)}function CC(n,r){const i=r.get(n);if(i)return i;let s=vs(n,[],!1).filter(p=>hn(p)&&ki(p)!=="body"),l=null;const c=mn(n).position==="fixed";let f=c?Hr(n):n;for(;hn(f)&&!vi(f);){const p=mn(f),h=bd(f);!h&&p.position==="fixed"&&(l=null),(c?!h&&!l:!h&&p.position==="static"&&!!l&&xC.has(l.position)||bs(f)&&!h&&Xv(n,f))?s=s.filter(w=>w!==f):l=p,f=Hr(f)}return r.set(n,s),s}function kC(n){let{element:r,boundary:i,rootBoundary:s,strategy:l}=n;const f=[...i==="clippingAncestors"?gl(r)?[]:CC(r,this._c):[].concat(i),s],p=f[0],h=f.reduce((m,w)=>{const x=dm(r,w,l);return m.top=jt(x.top,m.top),m.right=Ur(x.right,m.right),m.bottom=Ur(x.bottom,m.bottom),m.left=jt(x.left,m.left),m},dm(r,p,l));return{width:h.right-h.left,height:h.bottom-h.top,x:h.left,y:h.top}}function EC(n){const{width:r,height:i}=qv(n);return{width:r,height:i}}function bC(n,r,i){const s=Fn(r),l=zn(r),c=i==="fixed",f=So(n,!0,c,r);let p={scrollLeft:0,scrollTop:0};const h=Dn(0);function m(){h.x=xl(l)}if(s||!s&&!c)if((ki(r)!=="body"||bs(l))&&(p=wl(r)),s){const g=So(r,!0,c,r);h.x=g.x+r.clientLeft,h.y=g.y+r.clientTop}else l&&m();c&&!s&&l&&m();const w=l&&!s&&!c?Yv(l,p):Dn(0),x=f.left+p.scrollLeft-h.x-w.x,k=f.top+p.scrollTop-h.y-w.y;return{x,y:k,width:f.width,height:f.height}}function Cc(n){return mn(n).position==="static"}function fm(n,r){if(!Fn(n)||mn(n).position==="fixed")return null;if(r)return r(n);let i=n.offsetParent;return zn(n)===i&&(i=i.ownerDocument.body),i}function Zv(n,r){const i=Bt(n);if(gl(n))return i;if(!Fn(n)){let l=Hr(n);for(;l&&!vi(l);){if(hn(l)&&!Cc(l))return l;l=Hr(l)}return i}let s=fm(n,r);for(;s&&aC(s)&&Cc(s);)s=fm(s,r);return s&&vi(s)&&Cc(s)&&!bd(s)?i:s||fC(n)||i}const RC=async function(n){const r=this.getOffsetParent||Zv,i=this.getDimensions,s=await i(n.floating);return{reference:bC(n.reference,await r(n.floating),n.strategy),floating:{x:0,y:0,width:s.width,height:s.height}}};function PC(n){return mn(n).direction==="rtl"}const MC={convertOffsetParentRelativeRectToViewportRelativeRect:vC,getDocumentElement:zn,getClippingRect:kC,getOffsetParent:Zv,getElementRects:RC,getClientRects:yC,getDimensions:EC,getScale:ri,isElement:hn,isRTL:PC};function Jv(n,r){return n.x===r.x&&n.y===r.y&&n.width===r.width&&n.height===r.height}function TC(n,r){let i=null,s;const l=zn(n);function c(){var p;clearTimeout(s),(p=i)==null||p.disconnect(),i=null}function f(p,h){p===void 0&&(p=!1),h===void 0&&(h=1),c();const m=n.getBoundingClientRect(),{left:w,top:x,width:k,height:g}=m;if(p||r(),!k||!g)return;const O=Ga(x),S=Ga(l.clientWidth-(w+k)),C=Ga(l.clientHeight-(x+g)),P=Ga(w),R={rootMargin:-O+"px "+-S+"px "+-C+"px "+-P+"px",threshold:jt(0,Ur(1,h))||1};let L=!0;function z(U){const H=U[0].intersectionRatio;if(H!==h){if(!L)return f();H?f(!1,H):s=setTimeout(()=>{f(!1,1e-7)},1e3)}H===1&&!Jv(m,n.getBoundingClientRect())&&f(),L=!1}try{i=new IntersectionObserver(z,{...R,root:l.ownerDocument})}catch{i=new IntersectionObserver(z,R)}i.observe(n)}return f(!0),c}function OC(n,r,i,s){s===void 0&&(s={});const{ancestorScroll:l=!0,ancestorResize:c=!0,elementResize:f=typeof ResizeObserver=="function",layoutShift:p=typeof IntersectionObserver=="function",animationFrame:h=!1}=s,m=Pd(n),w=l||c?[...m?vs(m):[],...vs(r)]:[];w.forEach(P=>{l&&P.addEventListener("scroll",i,{passive:!0}),c&&P.addEventListener("resize",i)});const x=m&&p?TC(m,i):null;let k=-1,g=null;f&&(g=new ResizeObserver(P=>{let[T]=P;T&&T.target===m&&g&&(g.unobserve(r),cancelAnimationFrame(k),k=requestAnimationFrame(()=>{var R;(R=g)==null||R.observe(r)})),i()}),m&&!h&&g.observe(m),g.observe(r));let O,S=h?So(n):null;h&&C();function C(){const P=So(n);S&&!Jv(S,P)&&i(),S=P,O=requestAnimationFrame(C)}return i(),()=>{var P;w.forEach(T=>{l&&T.removeEventListener("scroll",i),c&&T.removeEventListener("resize",i)}),x==null||x(),(P=g)==null||P.disconnect(),g=null,h&&cancelAnimationFrame(O)}}const NC=tC,_C=nC,LC=ZS,AC=oC,IC=JS,pm=XS,DC=rC,FC=(n,r,i)=>{const s=new Map,l={platform:MC,...i},c={...l.platform,_c:s};return YS(n,r,{...l,platform:c})};var zC=typeof document<"u",jC=function(){},tl=zC?y.useLayoutEffect:jC;function ul(n,r){if(n===r)return!0;if(typeof n!=typeof r)return!1;if(typeof n=="function"&&n.toString()===r.toString())return!0;let i,s,l;if(n&&r&&typeof n=="object"){if(Array.isArray(n)){if(i=n.length,i!==r.length)return!1;for(s=i;s--!==0;)if(!ul(n[s],r[s]))return!1;return!0}if(l=Object.keys(n),i=l.length,i!==Object.keys(r).length)return!1;for(s=i;s--!==0;)if(!{}.hasOwnProperty.call(r,l[s]))return!1;for(s=i;s--!==0;){const c=l[s];if(!(c==="_owner"&&n.$$typeof)&&!ul(n[c],r[c]))return!1}return!0}return n!==n&&r!==r}function ey(n){return typeof window>"u"?1:(n.ownerDocument.defaultView||window).devicePixelRatio||1}function hm(n,r){const i=ey(n);return Math.round(r*i)/i}function kc(n){const r=y.useRef(n);return tl(()=>{r.current=n}),r}function BC(n){n===void 0&&(n={});const{placement:r="bottom",strategy:i="absolute",middleware:s=[],platform:l,elements:{reference:c,floating:f}={},transform:p=!0,whileElementsMounted:h,open:m}=n,[w,x]=y.useState({x:0,y:0,strategy:i,placement:r,middlewareData:{},isPositioned:!1}),[k,g]=y.useState(s);ul(k,s)||g(s);const[O,S]=y.useState(null),[C,P]=y.useState(null),T=y.useCallback(j=>{j!==U.current&&(U.current=j,S(j))},[]),R=y.useCallback(j=>{j!==H.current&&(H.current=j,P(j))},[]),L=c||O,z=f||C,U=y.useRef(null),H=y.useRef(null),G=y.useRef(w),J=h!=null,te=kc(h),he=kc(l),Z=kc(m),ye=y.useCallback(()=>{if(!U.current||!H.current)return;const j={placement:r,strategy:i,middleware:k};he.current&&(j.platform=he.current),FC(U.current,H.current,j).then(B=>{const Q={...B,isPositioned:Z.current!==!1};de.current&&!ul(G.current,Q)&&(G.current=Q,Es.flushSync(()=>{x(Q)}))})},[k,r,i,he,Z]);tl(()=>{m===!1&&G.current.isPositioned&&(G.current.isPositioned=!1,x(j=>({...j,isPositioned:!1})))},[m]);const de=y.useRef(!1);tl(()=>(de.current=!0,()=>{de.current=!1}),[]),tl(()=>{if(L&&(U.current=L),z&&(H.current=z),L&&z){if(te.current)return te.current(L,z,ye);ye()}},[L,z,ye,te,J]);const xe=y.useMemo(()=>({reference:U,floating:H,setReference:T,setFloating:R}),[T,R]),ue=y.useMemo(()=>({reference:L,floating:z}),[L,z]),se=y.useMemo(()=>{const j={position:i,left:0,top:0};if(!ue.floating)return j;const B=hm(ue.floating,w.x),Q=hm(ue.floating,w.y);return p?{...j,transform:"translate("+B+"px, "+Q+"px)",...ey(ue.floating)>=1.5&&{willChange:"transform"}}:{position:i,left:B,top:Q}},[i,p,ue.floating,w.x,w.y]);return y.useMemo(()=>({...w,update:ye,refs:xe,elements:ue,floatingStyles:se}),[w,ye,xe,ue,se])}const UC=n=>{function r(i){return{}.hasOwnProperty.call(i,"current")}return{name:"arrow",options:n,fn(i){const{element:s,padding:l}=typeof n=="function"?n(i):n;return s&&r(s)?s.current!=null?pm({element:s.current,padding:l}).fn(i):{}:s?pm({element:s,padding:l}).fn(i):{}}}},HC=(n,r)=>({...NC(n),options:[n,r]}),$C=(n,r)=>({..._C(n),options:[n,r]}),WC=(n,r)=>({...DC(n),options:[n,r]}),VC=(n,r)=>({...LC(n),options:[n,r]}),QC=(n,r)=>({...AC(n),options:[n,r]}),KC=(n,r)=>({...IC(n),options:[n,r]}),qC=(n,r)=>({...UC(n),options:[n,r]});var GC="Arrow",ty=y.forwardRef((n,r)=>{const{children:i,width:s=10,height:l=5,...c}=n;return V.jsx(je.svg,{...c,ref:r,width:s,height:l,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:n.asChild?i:V.jsx("polygon",{points:"0,0 30,0 15,10"})})});ty.displayName=GC;var YC=ty;function XC(n){const[r,i]=y.useState(void 0);return yt(()=>{if(n){i({width:n.offsetWidth,height:n.offsetHeight});const s=new ResizeObserver(l=>{if(!Array.isArray(l)||!l.length)return;const c=l[0];let f,p;if("borderBoxSize"in c){const h=c.borderBoxSize,m=Array.isArray(h)?h[0]:h;f=m.inlineSize,p=m.blockSize}else f=n.offsetWidth,p=n.offsetHeight;i({width:f,height:p})});return s.observe(n,{box:"border-box"}),()=>s.unobserve(n)}else i(void 0)},[n]),r}var Md="Popper",[ny,ry]=pl(Md),[ZC,oy]=ny(Md),iy=n=>{const{__scopePopper:r,children:i}=n,[s,l]=y.useState(null);return V.jsx(ZC,{scope:r,anchor:s,onAnchorChange:l,children:i})};iy.displayName=Md;var sy="PopperAnchor",ay=y.forwardRef((n,r)=>{const{__scopePopper:i,virtualRef:s,...l}=n,c=oy(sy,i),f=y.useRef(null),p=Je(r,f),h=y.useRef(null);return y.useEffect(()=>{const m=h.current;h.current=(s==null?void 0:s.current)||f.current,m!==h.current&&c.onAnchorChange(h.current)}),s?null:V.jsx(je.div,{...l,ref:p})});ay.displayName=sy;var Td="PopperContent",[JC,ek]=ny(Td),ly=y.forwardRef((n,r)=>{var q,pe,Ce,be,Me,Oe;const{__scopePopper:i,side:s="bottom",sideOffset:l=0,align:c="center",alignOffset:f=0,arrowPadding:p=0,avoidCollisions:h=!0,collisionBoundary:m=[],collisionPadding:w=0,sticky:x="partial",hideWhenDetached:k=!1,updatePositionStrategy:g="optimized",onPlaced:O,...S}=n,C=oy(Td,i),[P,T]=y.useState(null),R=Je(r,Ye=>T(Ye)),[L,z]=y.useState(null),U=XC(L),H=(U==null?void 0:U.width)??0,G=(U==null?void 0:U.height)??0,J=s+(c!=="center"?"-"+c:""),te=typeof w=="number"?w:{top:0,right:0,bottom:0,left:0,...w},he=Array.isArray(m)?m:[m],Z=he.length>0,ye={padding:te,boundary:he.filter(nk),altBoundary:Z},{refs:de,floatingStyles:xe,placement:ue,isPositioned:se,middlewareData:j}=BC({strategy:"fixed",placement:J,whileElementsMounted:(...Ye)=>OC(...Ye,{animationFrame:g==="always"}),elements:{reference:C.anchor},middleware:[HC({mainAxis:l+G,alignmentAxis:f}),h&&$C({mainAxis:!0,crossAxis:!1,limiter:x==="partial"?WC():void 0,...ye}),h&&VC({...ye}),QC({...ye,apply:({elements:Ye,rects:dt,availableWidth:gn,availableHeight:Xt})=>{const{width:Zt,height:ir}=dt.reference,wn=Ye.floating.style;wn.setProperty("--radix-popper-available-width",`${gn}px`),wn.setProperty("--radix-popper-available-height",`${Xt}px`),wn.setProperty("--radix-popper-anchor-width",`${Zt}px`),wn.setProperty("--radix-popper-anchor-height",`${ir}px`)}}),L&&qC({element:L,padding:p}),rk({arrowWidth:H,arrowHeight:G}),k&&KC({strategy:"referenceHidden",...ye})]}),[B,Q]=dy(ue),N=wo(O);yt(()=>{se&&(N==null||N())},[se,N]);const F=(q=j.arrow)==null?void 0:q.x,ne=(pe=j.arrow)==null?void 0:pe.y,re=((Ce=j.arrow)==null?void 0:Ce.centerOffset)!==0,[ve,Se]=y.useState();return yt(()=>{P&&Se(window.getComputedStyle(P).zIndex)},[P]),V.jsx("div",{ref:de.setFloating,"data-radix-popper-content-wrapper":"",style:{...xe,transform:se?xe.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ve,"--radix-popper-transform-origin":[(be=j.transformOrigin)==null?void 0:be.x,(Me=j.transformOrigin)==null?void 0:Me.y].join(" "),...((Oe=j.hide)==null?void 0:Oe.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:n.dir,children:V.jsx(JC,{scope:i,placedSide:B,onArrowChange:z,arrowX:F,arrowY:ne,shouldHideArrow:re,children:V.jsx(je.div,{"data-side":B,"data-align":Q,...S,ref:R,style:{...S.style,animation:se?void 0:"none"}})})})});ly.displayName=Td;var uy="PopperArrow",tk={top:"bottom",right:"left",bottom:"top",left:"right"},cy=y.forwardRef(function(r,i){const{__scopePopper:s,...l}=r,c=ek(uy,s),f=tk[c.placedSide];return V.jsx("span",{ref:c.onArrowChange,style:{position:"absolute",left:c.arrowX,top:c.arrowY,[f]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[c.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[c.placedSide],visibility:c.shouldHideArrow?"hidden":void 0},children:V.jsx(YC,{...l,ref:i,style:{...l.style,display:"block"}})})});cy.displayName=uy;function nk(n){return n!==null}var rk=n=>({name:"transformOrigin",options:n,fn(r){var C,P,T;const{placement:i,rects:s,middlewareData:l}=r,f=((C=l.arrow)==null?void 0:C.centerOffset)!==0,p=f?0:n.arrowWidth,h=f?0:n.arrowHeight,[m,w]=dy(i),x={start:"0%",center:"50%",end:"100%"}[w],k=(((P=l.arrow)==null?void 0:P.x)??0)+p/2,g=(((T=l.arrow)==null?void 0:T.y)??0)+h/2;let O="",S="";return m==="bottom"?(O=f?x:`${k}px`,S=`${-h}px`):m==="top"?(O=f?x:`${k}px`,S=`${s.floating.height+h}px`):m==="right"?(O=`${-h}px`,S=f?x:`${g}px`):m==="left"&&(O=`${s.floating.width+h}px`,S=f?x:`${g}px`),{data:{x:O,y:S}}}});function dy(n){const[r,i="center"]=n.split("-");return[r,i]}var ok=iy,ik=ay,sk=ly,ak=cy;function lk(n){const r=y.useRef({value:n,previous:n});return y.useMemo(()=>(r.current.value!==n&&(r.current.previous=r.current.value,r.current.value=n),r.current.previous),[n])}var fy=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),uk="VisuallyHidden",py=y.forwardRef((n,r)=>V.jsx(je.span,{...n,ref:r,style:{...fy,...n.style}}));py.displayName=uk;var gb=py,ck=[" ","Enter","ArrowUp","ArrowDown"],dk=[" ","Enter"],Co="Select",[Sl,Cl,fk]=IS(Co),[Ei]=pl(Co,[fk,ry]),kl=ry(),[pk,Wr]=Ei(Co),[hk,mk]=Ei(Co),hy=n=>{const{__scopeSelect:r,children:i,open:s,defaultOpen:l,onOpenChange:c,value:f,defaultValue:p,onValueChange:h,dir:m,name:w,autoComplete:x,disabled:k,required:g,form:O}=n,S=kl(r),[C,P]=y.useState(null),[T,R]=y.useState(null),[L,z]=y.useState(!1),U=FS(m),[H,G]=Uc({prop:s,defaultProp:l??!1,onChange:c,caller:Co}),[J,te]=Uc({prop:f,defaultProp:p,onChange:h,caller:Co}),he=y.useRef(null),Z=C?O||!!C.closest("form"):!0,[ye,de]=y.useState(new Set),xe=Array.from(ye).map(ue=>ue.props.value).join(";");return V.jsx(ok,{...S,children:V.jsxs(pk,{required:g,scope:r,trigger:C,onTriggerChange:P,valueNode:T,onValueNodeChange:R,valueNodeHasChildren:L,onValueNodeHasChildrenChange:z,contentId:ti(),value:J,onValueChange:te,open:H,onOpenChange:G,dir:U,triggerPointerDownPosRef:he,disabled:k,children:[V.jsx(Sl.Provider,{scope:r,children:V.jsx(hk,{scope:n.__scopeSelect,onNativeOptionAdd:y.useCallback(ue=>{de(se=>new Set(se).add(ue))},[]),onNativeOptionRemove:y.useCallback(ue=>{de(se=>{const j=new Set(se);return j.delete(ue),j})},[]),children:i})}),Z?V.jsxs(zy,{"aria-hidden":!0,required:g,tabIndex:-1,name:w,autoComplete:x,value:J,onChange:ue=>te(ue.target.value),disabled:k,form:O,children:[J===void 0?V.jsx("option",{value:""}):null,Array.from(ye)]},xe):null]})})};hy.displayName=Co;var my="SelectTrigger",vy=y.forwardRef((n,r)=>{const{__scopeSelect:i,disabled:s=!1,...l}=n,c=kl(i),f=Wr(my,i),p=f.disabled||s,h=Je(r,f.onTriggerChange),m=Cl(i),w=y.useRef("touch"),[x,k,g]=By(S=>{const C=m().filter(R=>!R.disabled),P=C.find(R=>R.value===f.value),T=Uy(C,S,P);T!==void 0&&f.onValueChange(T.value)}),O=S=>{p||(f.onOpenChange(!0),g()),S&&(f.triggerPointerDownPosRef.current={x:Math.round(S.pageX),y:Math.round(S.pageY)})};return V.jsx(ik,{asChild:!0,...c,children:V.jsx(je.button,{type:"button",role:"combobox","aria-controls":f.contentId,"aria-expanded":f.open,"aria-required":f.required,"aria-autocomplete":"none",dir:f.dir,"data-state":f.open?"open":"closed",disabled:p,"data-disabled":p?"":void 0,"data-placeholder":jy(f.value)?"":void 0,...l,ref:h,onClick:$e(l.onClick,S=>{S.currentTarget.focus(),w.current!=="mouse"&&O(S)}),onPointerDown:$e(l.onPointerDown,S=>{w.current=S.pointerType;const C=S.target;C.hasPointerCapture(S.pointerId)&&C.releasePointerCapture(S.pointerId),S.button===0&&S.ctrlKey===!1&&S.pointerType==="mouse"&&(O(S),S.preventDefault())}),onKeyDown:$e(l.onKeyDown,S=>{const C=x.current!=="";!(S.ctrlKey||S.altKey||S.metaKey)&&S.key.length===1&&k(S.key),!(C&&S.key===" ")&&ck.includes(S.key)&&(O(),S.preventDefault())})})})});vy.displayName=my;var yy="SelectValue",gy=y.forwardRef((n,r)=>{const{__scopeSelect:i,className:s,style:l,children:c,placeholder:f="",...p}=n,h=Wr(yy,i),{onValueNodeHasChildrenChange:m}=h,w=c!==void 0,x=Je(r,h.onValueNodeChange);return yt(()=>{m(w)},[m,w]),V.jsx(je.span,{...p,ref:x,style:{pointerEvents:"none"},children:jy(h.value)?V.jsx(V.Fragment,{children:f}):c})});gy.displayName=yy;var vk="SelectIcon",wy=y.forwardRef((n,r)=>{const{__scopeSelect:i,children:s,...l}=n;return V.jsx(je.span,{"aria-hidden":!0,...l,ref:r,children:s||"▼"})});wy.displayName=vk;var yk="SelectPortal",xy=n=>V.jsx(yd,{asChild:!0,...n});xy.displayName=yk;var ko="SelectContent",Sy=y.forwardRef((n,r)=>{const i=Wr(ko,n.__scopeSelect),[s,l]=y.useState();if(yt(()=>{l(new DocumentFragment)},[]),!i.open){const c=s;return c?Es.createPortal(V.jsx(Cy,{scope:n.__scopeSelect,children:V.jsx(Sl.Slot,{scope:n.__scopeSelect,children:V.jsx("div",{children:n.children})})}),c):null}return V.jsx(ky,{...n,ref:r})});Sy.displayName=ko;var cn=10,[Cy,Vr]=Ei(ko),gk="SelectContentImpl",wk=ms("SelectContent.RemoveScroll"),ky=y.forwardRef((n,r)=>{const{__scopeSelect:i,position:s="item-aligned",onCloseAutoFocus:l,onEscapeKeyDown:c,onPointerDownOutside:f,side:p,sideOffset:h,align:m,alignOffset:w,arrowPadding:x,collisionBoundary:k,collisionPadding:g,sticky:O,hideWhenDetached:S,avoidCollisions:C,...P}=n,T=Wr(ko,i),[R,L]=y.useState(null),[z,U]=y.useState(null),H=Je(r,q=>L(q)),[G,J]=y.useState(null),[te,he]=y.useState(null),Z=Cl(i),[ye,de]=y.useState(!1),xe=y.useRef(!1);y.useEffect(()=>{if(R)return Pv(R)},[R]),gv();const ue=y.useCallback(q=>{const[pe,...Ce]=Z().map(Oe=>Oe.ref.current),[be]=Ce.slice(-1),Me=document.activeElement;for(const Oe of q)if(Oe===Me||(Oe==null||Oe.scrollIntoView({block:"nearest"}),Oe===pe&&z&&(z.scrollTop=0),Oe===be&&z&&(z.scrollTop=z.scrollHeight),Oe==null||Oe.focus(),document.activeElement!==Me))return},[Z,z]),se=y.useCallback(()=>ue([G,R]),[ue,G,R]);y.useEffect(()=>{ye&&se()},[ye,se]);const{onOpenChange:j,triggerPointerDownPosRef:B}=T;y.useEffect(()=>{if(R){let q={x:0,y:0};const pe=be=>{var Me,Oe;q={x:Math.abs(Math.round(be.pageX)-(((Me=B.current)==null?void 0:Me.x)??0)),y:Math.abs(Math.round(be.pageY)-(((Oe=B.current)==null?void 0:Oe.y)??0))}},Ce=be=>{q.x<=10&&q.y<=10?be.preventDefault():R.contains(be.target)||j(!1),document.removeEventListener("pointermove",pe),B.current=null};return B.current!==null&&(document.addEventListener("pointermove",pe),document.addEventListener("pointerup",Ce,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",pe),document.removeEventListener("pointerup",Ce,{capture:!0})}}},[R,j,B]),y.useEffect(()=>{const q=()=>j(!1);return window.addEventListener("blur",q),window.addEventListener("resize",q),()=>{window.removeEventListener("blur",q),window.removeEventListener("resize",q)}},[j]);const[Q,N]=By(q=>{const pe=Z().filter(Me=>!Me.disabled),Ce=pe.find(Me=>Me.ref.current===document.activeElement),be=Uy(pe,q,Ce);be&&setTimeout(()=>be.ref.current.focus())}),F=y.useCallback((q,pe,Ce)=>{const be=!xe.current&&!Ce;(T.value!==void 0&&T.value===pe||be)&&(J(q),be&&(xe.current=!0))},[T.value]),ne=y.useCallback(()=>R==null?void 0:R.focus(),[R]),re=y.useCallback((q,pe,Ce)=>{const be=!xe.current&&!Ce;(T.value!==void 0&&T.value===pe||be)&&he(q)},[T.value]),ve=s==="popper"?Gc:Ey,Se=ve===Gc?{side:p,sideOffset:h,align:m,alignOffset:w,arrowPadding:x,collisionBoundary:k,collisionPadding:g,sticky:O,hideWhenDetached:S,avoidCollisions:C}:{};return V.jsx(Cy,{scope:i,content:R,viewport:z,onViewportChange:U,itemRefCallback:F,selectedItem:G,onItemLeave:ne,itemTextRefCallback:re,focusSelectedItem:se,selectedItemText:te,position:s,isPositioned:ye,searchRef:Q,children:V.jsx(gd,{as:wk,allowPinchZoom:!0,children:V.jsx(vd,{asChild:!0,trapped:T.open,onMountAutoFocus:q=>{q.preventDefault()},onUnmountAutoFocus:$e(l,q=>{var pe;(pe=T.trigger)==null||pe.focus({preventScroll:!0}),q.preventDefault()}),children:V.jsx(md,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:c,onPointerDownOutside:f,onFocusOutside:q=>q.preventDefault(),onDismiss:()=>T.onOpenChange(!1),children:V.jsx(ve,{role:"listbox",id:T.contentId,"data-state":T.open?"open":"closed",dir:T.dir,onContextMenu:q=>q.preventDefault(),...P,...Se,onPlaced:()=>de(!0),ref:H,style:{display:"flex",flexDirection:"column",outline:"none",...P.style},onKeyDown:$e(P.onKeyDown,q=>{const pe=q.ctrlKey||q.altKey||q.metaKey;if(q.key==="Tab"&&q.preventDefault(),!pe&&q.key.length===1&&N(q.key),["ArrowUp","ArrowDown","Home","End"].includes(q.key)){let be=Z().filter(Me=>!Me.disabled).map(Me=>Me.ref.current);if(["ArrowUp","End"].includes(q.key)&&(be=be.slice().reverse()),["ArrowUp","ArrowDown"].includes(q.key)){const Me=q.target,Oe=be.indexOf(Me);be=be.slice(Oe+1)}setTimeout(()=>ue(be)),q.preventDefault()}})})})})})})});ky.displayName=gk;var xk="SelectItemAlignedPosition",Ey=y.forwardRef((n,r)=>{const{__scopeSelect:i,onPlaced:s,...l}=n,c=Wr(ko,i),f=Vr(ko,i),[p,h]=y.useState(null),[m,w]=y.useState(null),x=Je(r,H=>w(H)),k=Cl(i),g=y.useRef(!1),O=y.useRef(!0),{viewport:S,selectedItem:C,selectedItemText:P,focusSelectedItem:T}=f,R=y.useCallback(()=>{if(c.trigger&&c.valueNode&&p&&m&&S&&C&&P){const H=c.trigger.getBoundingClientRect(),G=m.getBoundingClientRect(),J=c.valueNode.getBoundingClientRect(),te=P.getBoundingClientRect();if(c.dir!=="rtl"){const Me=te.left-G.left,Oe=J.left-Me,Ye=H.left-Oe,dt=H.width+Ye,gn=Math.max(dt,G.width),Xt=window.innerWidth-cn,Zt=rm(Oe,[cn,Math.max(cn,Xt-gn)]);p.style.minWidth=dt+"px",p.style.left=Zt+"px"}else{const Me=G.right-te.right,Oe=window.innerWidth-J.right-Me,Ye=window.innerWidth-H.right-Oe,dt=H.width+Ye,gn=Math.max(dt,G.width),Xt=window.innerWidth-cn,Zt=rm(Oe,[cn,Math.max(cn,Xt-gn)]);p.style.minWidth=dt+"px",p.style.right=Zt+"px"}const he=k(),Z=window.innerHeight-cn*2,ye=S.scrollHeight,de=window.getComputedStyle(m),xe=parseInt(de.borderTopWidth,10),ue=parseInt(de.paddingTop,10),se=parseInt(de.borderBottomWidth,10),j=parseInt(de.paddingBottom,10),B=xe+ue+ye+j+se,Q=Math.min(C.offsetHeight*5,B),N=window.getComputedStyle(S),F=parseInt(N.paddingTop,10),ne=parseInt(N.paddingBottom,10),re=H.top+H.height/2-cn,ve=Z-re,Se=C.offsetHeight/2,q=C.offsetTop+Se,pe=xe+ue+q,Ce=B-pe;if(pe<=re){const Me=he.length>0&&C===he[he.length-1].ref.current;p.style.bottom="0px";const Oe=m.clientHeight-S.offsetTop-S.offsetHeight,Ye=Math.max(ve,Se+(Me?ne:0)+Oe+se),dt=pe+Ye;p.style.height=dt+"px"}else{const Me=he.length>0&&C===he[0].ref.current;p.style.top="0px";const Ye=Math.max(re,xe+S.offsetTop+(Me?F:0)+Se)+Ce;p.style.height=Ye+"px",S.scrollTop=pe-re+S.offsetTop}p.style.margin=`${cn}px 0`,p.style.minHeight=Q+"px",p.style.maxHeight=Z+"px",s==null||s(),requestAnimationFrame(()=>g.current=!0)}},[k,c.trigger,c.valueNode,p,m,S,C,P,c.dir,s]);yt(()=>R(),[R]);const[L,z]=y.useState();yt(()=>{m&&z(window.getComputedStyle(m).zIndex)},[m]);const U=y.useCallback(H=>{H&&O.current===!0&&(R(),T==null||T(),O.current=!1)},[R,T]);return V.jsx(Ck,{scope:i,contentWrapper:p,shouldExpandOnScrollRef:g,onScrollButtonChange:U,children:V.jsx("div",{ref:h,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:L},children:V.jsx(je.div,{...l,ref:x,style:{boxSizing:"border-box",maxHeight:"100%",...l.style}})})})});Ey.displayName=xk;var Sk="SelectPopperPosition",Gc=y.forwardRef((n,r)=>{const{__scopeSelect:i,align:s="start",collisionPadding:l=cn,...c}=n,f=kl(i);return V.jsx(sk,{...f,...c,ref:r,align:s,collisionPadding:l,style:{boxSizing:"border-box",...c.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});Gc.displayName=Sk;var[Ck,Od]=Ei(ko,{}),Yc="SelectViewport",by=y.forwardRef((n,r)=>{const{__scopeSelect:i,nonce:s,...l}=n,c=Vr(Yc,i),f=Od(Yc,i),p=Je(r,c.onViewportChange),h=y.useRef(0);return V.jsxs(V.Fragment,{children:[V.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:s}),V.jsx(Sl.Slot,{scope:i,children:V.jsx(je.div,{"data-radix-select-viewport":"",role:"presentation",...l,ref:p,style:{position:"relative",flex:1,overflow:"hidden auto",...l.style},onScroll:$e(l.onScroll,m=>{const w=m.currentTarget,{contentWrapper:x,shouldExpandOnScrollRef:k}=f;if(k!=null&&k.current&&x){const g=Math.abs(h.current-w.scrollTop);if(g>0){const O=window.innerHeight-cn*2,S=parseFloat(x.style.minHeight),C=parseFloat(x.style.height),P=Math.max(S,C);if(P<O){const T=P+g,R=Math.min(O,T),L=T-R;x.style.height=R+"px",x.style.bottom==="0px"&&(w.scrollTop=L>0?L:0,x.style.justifyContent="flex-end")}}}h.current=w.scrollTop})})})]})});by.displayName=Yc;var Ry="SelectGroup",[kk,Ek]=Ei(Ry),bk=y.forwardRef((n,r)=>{const{__scopeSelect:i,...s}=n,l=ti();return V.jsx(kk,{scope:i,id:l,children:V.jsx(je.div,{role:"group","aria-labelledby":l,...s,ref:r})})});bk.displayName=Ry;var Py="SelectLabel",My=y.forwardRef((n,r)=>{const{__scopeSelect:i,...s}=n,l=Ek(Py,i);return V.jsx(je.div,{id:l.id,...s,ref:r})});My.displayName=Py;var cl="SelectItem",[Rk,Ty]=Ei(cl),Oy=y.forwardRef((n,r)=>{const{__scopeSelect:i,value:s,disabled:l=!1,textValue:c,...f}=n,p=Wr(cl,i),h=Vr(cl,i),m=p.value===s,[w,x]=y.useState(c??""),[k,g]=y.useState(!1),O=Je(r,T=>{var R;return(R=h.itemRefCallback)==null?void 0:R.call(h,T,s,l)}),S=ti(),C=y.useRef("touch"),P=()=>{l||(p.onValueChange(s),p.onOpenChange(!1))};if(s==="")throw new Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return V.jsx(Rk,{scope:i,value:s,disabled:l,textId:S,isSelected:m,onItemTextChange:y.useCallback(T=>{x(R=>R||((T==null?void 0:T.textContent)??"").trim())},[]),children:V.jsx(Sl.ItemSlot,{scope:i,value:s,disabled:l,textValue:w,children:V.jsx(je.div,{role:"option","aria-labelledby":S,"data-highlighted":k?"":void 0,"aria-selected":m&&k,"data-state":m?"checked":"unchecked","aria-disabled":l||void 0,"data-disabled":l?"":void 0,tabIndex:l?void 0:-1,...f,ref:O,onFocus:$e(f.onFocus,()=>g(!0)),onBlur:$e(f.onBlur,()=>g(!1)),onClick:$e(f.onClick,()=>{C.current!=="mouse"&&P()}),onPointerUp:$e(f.onPointerUp,()=>{C.current==="mouse"&&P()}),onPointerDown:$e(f.onPointerDown,T=>{C.current=T.pointerType}),onPointerMove:$e(f.onPointerMove,T=>{var R;C.current=T.pointerType,l?(R=h.onItemLeave)==null||R.call(h):C.current==="mouse"&&T.currentTarget.focus({preventScroll:!0})}),onPointerLeave:$e(f.onPointerLeave,T=>{var R;T.currentTarget===document.activeElement&&((R=h.onItemLeave)==null||R.call(h))}),onKeyDown:$e(f.onKeyDown,T=>{var L;((L=h.searchRef)==null?void 0:L.current)!==""&&T.key===" "||(dk.includes(T.key)&&P(),T.key===" "&&T.preventDefault())})})})})});Oy.displayName=cl;var fs="SelectItemText",Ny=y.forwardRef((n,r)=>{const{__scopeSelect:i,className:s,style:l,...c}=n,f=Wr(fs,i),p=Vr(fs,i),h=Ty(fs,i),m=mk(fs,i),[w,x]=y.useState(null),k=Je(r,P=>x(P),h.onItemTextChange,P=>{var T;return(T=p.itemTextRefCallback)==null?void 0:T.call(p,P,h.value,h.disabled)}),g=w==null?void 0:w.textContent,O=y.useMemo(()=>V.jsx("option",{value:h.value,disabled:h.disabled,children:g},h.value),[h.disabled,h.value,g]),{onNativeOptionAdd:S,onNativeOptionRemove:C}=m;return yt(()=>(S(O),()=>C(O)),[S,C,O]),V.jsxs(V.Fragment,{children:[V.jsx(je.span,{id:h.textId,...c,ref:k}),h.isSelected&&f.valueNode&&!f.valueNodeHasChildren?Es.createPortal(c.children,f.valueNode):null]})});Ny.displayName=fs;var _y="SelectItemIndicator",Ly=y.forwardRef((n,r)=>{const{__scopeSelect:i,...s}=n;return Ty(_y,i).isSelected?V.jsx(je.span,{"aria-hidden":!0,...s,ref:r}):null});Ly.displayName=_y;var Xc="SelectScrollUpButton",Ay=y.forwardRef((n,r)=>{const i=Vr(Xc,n.__scopeSelect),s=Od(Xc,n.__scopeSelect),[l,c]=y.useState(!1),f=Je(r,s.onScrollButtonChange);return yt(()=>{if(i.viewport&&i.isPositioned){let p=function(){const m=h.scrollTop>0;c(m)};const h=i.viewport;return p(),h.addEventListener("scroll",p),()=>h.removeEventListener("scroll",p)}},[i.viewport,i.isPositioned]),l?V.jsx(Dy,{...n,ref:f,onAutoScroll:()=>{const{viewport:p,selectedItem:h}=i;p&&h&&(p.scrollTop=p.scrollTop-h.offsetHeight)}}):null});Ay.displayName=Xc;var Zc="SelectScrollDownButton",Iy=y.forwardRef((n,r)=>{const i=Vr(Zc,n.__scopeSelect),s=Od(Zc,n.__scopeSelect),[l,c]=y.useState(!1),f=Je(r,s.onScrollButtonChange);return yt(()=>{if(i.viewport&&i.isPositioned){let p=function(){const m=h.scrollHeight-h.clientHeight,w=Math.ceil(h.scrollTop)<m;c(w)};const h=i.viewport;return p(),h.addEventListener("scroll",p),()=>h.removeEventListener("scroll",p)}},[i.viewport,i.isPositioned]),l?V.jsx(Dy,{...n,ref:f,onAutoScroll:()=>{const{viewport:p,selectedItem:h}=i;p&&h&&(p.scrollTop=p.scrollTop+h.offsetHeight)}}):null});Iy.displayName=Zc;var Dy=y.forwardRef((n,r)=>{const{__scopeSelect:i,onAutoScroll:s,...l}=n,c=Vr("SelectScrollButton",i),f=y.useRef(null),p=Cl(i),h=y.useCallback(()=>{f.current!==null&&(window.clearInterval(f.current),f.current=null)},[]);return y.useEffect(()=>()=>h(),[h]),yt(()=>{var w;const m=p().find(x=>x.ref.current===document.activeElement);(w=m==null?void 0:m.ref.current)==null||w.scrollIntoView({block:"nearest"})},[p]),V.jsx(je.div,{"aria-hidden":!0,...l,ref:r,style:{flexShrink:0,...l.style},onPointerDown:$e(l.onPointerDown,()=>{f.current===null&&(f.current=window.setInterval(s,50))}),onPointerMove:$e(l.onPointerMove,()=>{var m;(m=c.onItemLeave)==null||m.call(c),f.current===null&&(f.current=window.setInterval(s,50))}),onPointerLeave:$e(l.onPointerLeave,()=>{h()})})}),Pk="SelectSeparator",Fy=y.forwardRef((n,r)=>{const{__scopeSelect:i,...s}=n;return V.jsx(je.div,{"aria-hidden":!0,...s,ref:r})});Fy.displayName=Pk;var Jc="SelectArrow",Mk=y.forwardRef((n,r)=>{const{__scopeSelect:i,...s}=n,l=kl(i),c=Wr(Jc,i),f=Vr(Jc,i);return c.open&&f.position==="popper"?V.jsx(ak,{...l,...s,ref:r}):null});Mk.displayName=Jc;var Tk="SelectBubbleInput",zy=y.forwardRef(({__scopeSelect:n,value:r,...i},s)=>{const l=y.useRef(null),c=Je(s,l),f=lk(r);return y.useEffect(()=>{const p=l.current;if(!p)return;const h=window.HTMLSelectElement.prototype,w=Object.getOwnPropertyDescriptor(h,"value").set;if(f!==r&&w){const x=new Event("change",{bubbles:!0});w.call(p,r),p.dispatchEvent(x)}},[f,r]),V.jsx(je.select,{...i,style:{...fy,...i.style},ref:c,defaultValue:r})});zy.displayName=Tk;function jy(n){return n===""||n===void 0}function By(n){const r=wo(n),i=y.useRef(""),s=y.useRef(0),l=y.useCallback(f=>{const p=i.current+f;r(p),(function h(m){i.current=m,window.clearTimeout(s.current),m!==""&&(s.current=window.setTimeout(()=>h(""),1e3))})(p)},[r]),c=y.useCallback(()=>{i.current="",window.clearTimeout(s.current)},[]);return y.useEffect(()=>()=>window.clearTimeout(s.current),[]),[i,l,c]}function Uy(n,r,i){const l=r.length>1&&Array.from(r).every(m=>m===r[0])?r[0]:r,c=i?n.indexOf(i):-1;let f=Ok(n,Math.max(c,0));l.length===1&&(f=f.filter(m=>m!==i));const h=f.find(m=>m.textValue.toLowerCase().startsWith(l.toLowerCase()));return h!==i?h:void 0}function Ok(n,r){return n.map((i,s)=>n[(r+s)%n.length])}var wb=hy,xb=vy,Sb=gy,Cb=wy,kb=xy,Eb=Sy,bb=by,Rb=My,Pb=Oy,Mb=Ny,Tb=Ly,Ob=Ay,Nb=Iy,_b=Fy;export{rE as $,nE as A,lE as B,Zk as C,eE as D,gE as E,sb as F,tb as G,BE as H,Cb as I,EE as J,OE as K,AE as L,zE as M,uw as N,Xk as O,Yk as P,zk as Q,Gk as R,ab as S,Jk as T,ib as U,bb as V,fb as W,hb as X,ME as Y,KE as Z,pb as _,Hk as a,sk as a$,ob as a0,HE as a1,NE as a2,sE as a3,$r as a4,jk as a5,vb as a6,Ik as a7,z1 as a8,Ak as a9,cb as aA,JE as aB,QE as aC,GE as aD,jm as aE,Lk as aF,xE as aG,SE as aH,rb as aI,hE as aJ,Uc as aK,ok as aL,ti as aM,Je as aN,je as aO,$e as aP,ik as aQ,ry as aR,hl as aS,yd as aT,pl as aU,Pv as aV,gd as aW,ms as aX,gv as aY,vd as aZ,md as a_,_k as aa,Dk as ab,pE as ac,kE as ad,LE as ae,VE as af,iE as ag,YE as ah,wE as ai,WE as aj,uE as ak,db as al,aE as am,Rm as an,yE as ao,lb as ap,bE as aq,CE as ar,nb as as,mE as at,qE as au,jE as av,Qk as aw,l2 as ax,Kk as ay,Vk as az,tE as b,ak as b0,IE as b1,PE as b2,ub as b3,XE as b4,FE as b5,eb as b6,TE as b7,vE as b8,ZE as b9,_E as ba,gb as bb,Wk as bc,UE as bd,DE as be,$E as bf,oE as bg,RE as bh,Zw as c,yb as d,mb as e,iv as f,Uk as g,xb as h,dE as i,V as j,Ob as k,fE as l,Nb as m,kb as n,Eb as o,Rb as p,Pb as q,y as r,Tb as s,$k as t,Bk as u,cE as v,Mb as w,_b as x,wb as y,Sb as z};
|
|
450
|
+
*/const cR=ie("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);var iS=n=>{switch(n){case"success":return lS;case"info":return cS;case"warning":return uS;case"error":return dS;default:return null}},sS=Array(12).fill(0),aS=({visible:n,className:r})=>X.createElement("div",{className:["sonner-loading-wrapper",r].filter(Boolean).join(" "),"data-visible":n},X.createElement("div",{className:"sonner-spinner"},sS.map((i,s)=>X.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${s}`})))),lS=X.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},X.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),uS=X.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},X.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),cS=X.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},X.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),dS=X.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},X.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),fS=X.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},X.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),X.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),pS=()=>{let[n,r]=X.useState(document.hidden);return X.useEffect(()=>{let i=()=>{r(document.hidden)};return document.addEventListener("visibilitychange",i),()=>window.removeEventListener("visibilitychange",i)},[]),n},Wc=1,hS=class{constructor(){this.subscribe=n=>(this.subscribers.push(n),()=>{let r=this.subscribers.indexOf(n);this.subscribers.splice(r,1)}),this.publish=n=>{this.subscribers.forEach(r=>r(n))},this.addToast=n=>{this.publish(n),this.toasts=[...this.toasts,n]},this.create=n=>{var r;let{message:i,...s}=n,l=typeof(n==null?void 0:n.id)=="number"||((r=n.id)==null?void 0:r.length)>0?n.id:Wc++,c=this.toasts.find(p=>p.id===l),f=n.dismissible===void 0?!0:n.dismissible;return this.dismissedToasts.has(l)&&this.dismissedToasts.delete(l),c?this.toasts=this.toasts.map(p=>p.id===l?(this.publish({...p,...n,id:l,title:i}),{...p,...n,id:l,dismissible:f,title:i}):p):this.addToast({title:i,...s,dismissible:f,id:l}),l},this.dismiss=n=>(this.dismissedToasts.add(n),n||this.toasts.forEach(r=>{this.subscribers.forEach(i=>i({id:r.id,dismiss:!0}))}),this.subscribers.forEach(r=>r({id:n,dismiss:!0})),n),this.message=(n,r)=>this.create({...r,message:n}),this.error=(n,r)=>this.create({...r,message:n,type:"error"}),this.success=(n,r)=>this.create({...r,type:"success",message:n}),this.info=(n,r)=>this.create({...r,type:"info",message:n}),this.warning=(n,r)=>this.create({...r,type:"warning",message:n}),this.loading=(n,r)=>this.create({...r,type:"loading",message:n}),this.promise=(n,r)=>{if(!r)return;let i;r.loading!==void 0&&(i=this.create({...r,promise:n,type:"loading",message:r.loading,description:typeof r.description!="function"?r.description:void 0}));let s=n instanceof Promise?n:n(),l=i!==void 0,c,f=s.then(async h=>{if(c=["resolve",h],X.isValidElement(h))l=!1,this.create({id:i,type:"default",message:h});else if(vS(h)&&!h.ok){l=!1;let m=typeof r.error=="function"?await r.error(`HTTP error! status: ${h.status}`):r.error,w=typeof r.description=="function"?await r.description(`HTTP error! status: ${h.status}`):r.description;this.create({id:i,type:"error",message:m,description:w})}else if(r.success!==void 0){l=!1;let m=typeof r.success=="function"?await r.success(h):r.success,w=typeof r.description=="function"?await r.description(h):r.description;this.create({id:i,type:"success",message:m,description:w})}}).catch(async h=>{if(c=["reject",h],r.error!==void 0){l=!1;let m=typeof r.error=="function"?await r.error(h):r.error,w=typeof r.description=="function"?await r.description(h):r.description;this.create({id:i,type:"error",message:m,description:w})}}).finally(()=>{var h;l&&(this.dismiss(i),i=void 0),(h=r.finally)==null||h.call(r)}),p=()=>new Promise((h,m)=>f.then(()=>c[0]==="reject"?m(c[1]):h(c[1])).catch(m));return typeof i!="string"&&typeof i!="number"?{unwrap:p}:Object.assign(i,{unwrap:p})},this.custom=(n,r)=>{let i=(r==null?void 0:r.id)||Wc++;return this.create({jsx:n(i),id:i,...r}),i},this.getActiveToasts=()=>this.toasts.filter(n=>!this.dismissedToasts.has(n.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}},At=new hS,mS=(n,r)=>{let i=(r==null?void 0:r.id)||Wc++;return At.addToast({title:n,...r,id:i}),i},vS=n=>n&&typeof n=="object"&&"ok"in n&&typeof n.ok=="boolean"&&"status"in n&&typeof n.status=="number",yS=mS,gS=()=>At.toasts,wS=()=>At.getActiveToasts(),dR=Object.assign(yS,{success:At.success,info:At.info,warning:At.warning,error:At.error,custom:At.custom,message:At.message,promise:At.promise,dismiss:At.dismiss,loading:At.loading},{getHistory:gS,getToasts:wS});function xS(n,{insertAt:r}={}){if(typeof document>"u")return;let i=document.head||document.getElementsByTagName("head")[0],s=document.createElement("style");s.type="text/css",r==="top"&&i.firstChild?i.insertBefore(s,i.firstChild):i.appendChild(s),s.styleSheet?s.styleSheet.cssText=n:s.appendChild(document.createTextNode(n))}xS(`:where(html[dir="ltr"]),:where([data-sonner-toaster][dir="ltr"]){--toast-icon-margin-start: -3px;--toast-icon-margin-end: 4px;--toast-svg-margin-start: -1px;--toast-svg-margin-end: 0px;--toast-button-margin-start: auto;--toast-button-margin-end: 0;--toast-close-button-start: 0;--toast-close-button-end: unset;--toast-close-button-transform: translate(-35%, -35%)}:where(html[dir="rtl"]),:where([data-sonner-toaster][dir="rtl"]){--toast-icon-margin-start: 4px;--toast-icon-margin-end: -3px;--toast-svg-margin-start: 0px;--toast-svg-margin-end: -1px;--toast-button-margin-start: 0;--toast-button-margin-end: auto;--toast-close-button-start: unset;--toast-close-button-end: 0;--toast-close-button-transform: translate(35%, -35%)}:where([data-sonner-toaster]){position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1: hsl(0, 0%, 99%);--gray2: hsl(0, 0%, 97.3%);--gray3: hsl(0, 0%, 95.1%);--gray4: hsl(0, 0%, 93%);--gray5: hsl(0, 0%, 90.9%);--gray6: hsl(0, 0%, 88.7%);--gray7: hsl(0, 0%, 85.8%);--gray8: hsl(0, 0%, 78%);--gray9: hsl(0, 0%, 56.1%);--gray10: hsl(0, 0%, 52.3%);--gray11: hsl(0, 0%, 43.5%);--gray12: hsl(0, 0%, 9%);--border-radius: 8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:none;z-index:999999999;transition:transform .4s ease}:where([data-sonner-toaster][data-lifted="true"]){transform:translateY(-10px)}@media (hover: none) and (pointer: coarse){:where([data-sonner-toaster][data-lifted="true"]){transform:none}}:where([data-sonner-toaster][data-x-position="right"]){right:var(--offset-right)}:where([data-sonner-toaster][data-x-position="left"]){left:var(--offset-left)}:where([data-sonner-toaster][data-x-position="center"]){left:50%;transform:translate(-50%)}:where([data-sonner-toaster][data-y-position="top"]){top:var(--offset-top)}:where([data-sonner-toaster][data-y-position="bottom"]){bottom:var(--offset-bottom)}:where([data-sonner-toast]){--y: translateY(100%);--lift-amount: calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);filter:blur(0);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:none;overflow-wrap:anywhere}:where([data-sonner-toast][data-styled="true"]){padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px #0000001a;width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}:where([data-sonner-toast]:focus-visible){box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast][data-y-position="top"]){top:0;--y: translateY(-100%);--lift: 1;--lift-amount: calc(1 * var(--gap))}:where([data-sonner-toast][data-y-position="bottom"]){bottom:0;--y: translateY(100%);--lift: -1;--lift-amount: calc(var(--lift) * var(--gap))}:where([data-sonner-toast]) :where([data-description]){font-weight:400;line-height:1.4;color:inherit}:where([data-sonner-toast]) :where([data-title]){font-weight:500;line-height:1.5;color:inherit}:where([data-sonner-toast]) :where([data-icon]){display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}:where([data-sonner-toast][data-promise="true"]) :where([data-icon])>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}:where([data-sonner-toast]) :where([data-icon])>*{flex-shrink:0}:where([data-sonner-toast]) :where([data-icon]) svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}:where([data-sonner-toast]) :where([data-content]){display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;cursor:pointer;outline:none;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}:where([data-sonner-toast]) :where([data-button]):focus-visible{box-shadow:0 0 0 2px #0006}:where([data-sonner-toast]) :where([data-button]):first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}:where([data-sonner-toast]) :where([data-cancel]){color:var(--normal-text);background:rgba(0,0,0,.08)}:where([data-sonner-toast][data-theme="dark"]) :where([data-cancel]){background:rgba(255,255,255,.3)}:where([data-sonner-toast]) :where([data-close-button]){position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast] [data-close-button]{background:var(--gray1)}:where([data-sonner-toast]) :where([data-close-button]):focus-visible{box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast]) :where([data-disabled="true"]){cursor:not-allowed}:where([data-sonner-toast]):hover :where([data-close-button]):hover{background:var(--gray2);border-color:var(--gray5)}:where([data-sonner-toast][data-swiping="true"]):before{content:"";position:absolute;left:-50%;right:-50%;height:100%;z-index:-1}:where([data-sonner-toast][data-y-position="top"][data-swiping="true"]):before{bottom:50%;transform:scaleY(3) translateY(50%)}:where([data-sonner-toast][data-y-position="bottom"][data-swiping="true"]):before{top:50%;transform:scaleY(3) translateY(-50%)}:where([data-sonner-toast][data-swiping="false"][data-removed="true"]):before{content:"";position:absolute;inset:0;transform:scaleY(2)}:where([data-sonner-toast]):after{content:"";position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}:where([data-sonner-toast][data-mounted="true"]){--y: translateY(0);opacity:1}:where([data-sonner-toast][data-expanded="false"][data-front="false"]){--scale: var(--toasts-before) * .05 + 1;--y: translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}:where([data-sonner-toast])>*{transition:opacity .4s}:where([data-sonner-toast][data-expanded="false"][data-front="false"][data-styled="true"])>*{opacity:0}:where([data-sonner-toast][data-visible="false"]){opacity:0;pointer-events:none}:where([data-sonner-toast][data-mounted="true"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}:where([data-sonner-toast][data-removed="true"][data-front="true"][data-swipe-out="false"]){--y: translateY(calc(var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="false"]){--y: translateY(40%);opacity:0;transition:transform .5s,opacity .2s}:where([data-sonner-toast][data-removed="true"][data-front="false"]):before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y, 0px)) translate(var(--swipe-amount-x, 0px));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width: 600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-theme=light]{--normal-bg: #fff;--normal-border: var(--gray4);--normal-text: var(--gray12);--success-bg: hsl(143, 85%, 96%);--success-border: hsl(145, 92%, 91%);--success-text: hsl(140, 100%, 27%);--info-bg: hsl(208, 100%, 97%);--info-border: hsl(221, 91%, 91%);--info-text: hsl(210, 92%, 45%);--warning-bg: hsl(49, 100%, 97%);--warning-border: hsl(49, 91%, 91%);--warning-text: hsl(31, 92%, 45%);--error-bg: hsl(359, 100%, 97%);--error-border: hsl(359, 100%, 94%);--error-text: hsl(360, 100%, 45%)}[data-sonner-toaster][data-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg: #fff;--normal-border: var(--gray3);--normal-text: var(--gray12)}[data-sonner-toaster][data-theme=dark]{--normal-bg: #000;--normal-bg-hover: hsl(0, 0%, 12%);--normal-border: hsl(0, 0%, 20%);--normal-border-hover: hsl(0, 0%, 25%);--normal-text: var(--gray1);--success-bg: hsl(150, 100%, 6%);--success-border: hsl(147, 100%, 12%);--success-text: hsl(150, 86%, 65%);--info-bg: hsl(215, 100%, 6%);--info-border: hsl(223, 100%, 12%);--info-text: hsl(216, 87%, 65%);--warning-bg: hsl(64, 100%, 6%);--warning-border: hsl(60, 100%, 12%);--warning-text: hsl(46, 87%, 65%);--error-bg: hsl(358, 76%, 10%);--error-border: hsl(357, 89%, 16%);--error-text: hsl(358, 100%, 81%)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success],[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info],[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning],[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error],[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size: 16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:nth-child(1){animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}to{opacity:.15}}@media (prefers-reduced-motion){[data-sonner-toast],[data-sonner-toast]>*,.sonner-loading-bar{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}
|
|
451
|
+
`);function qa(n){return n.label!==void 0}var SS=3,CS="32px",kS="16px",Zh=4e3,ES=356,RS=14,bS=20,PS=200;function un(...n){return n.filter(Boolean).join(" ")}function MS(n){let[r,i]=n.split("-"),s=[];return r&&s.push(r),i&&s.push(i),s}var TS=n=>{var r,i,s,l,c,f,p,h,m,w,x;let{invert:k,toast:g,unstyled:O,interacting:S,setHeights:C,visibleToasts:P,heights:T,index:b,toasts:L,expanded:z,removeToast:U,defaultRichColors:H,closeButton:G,style:J,cancelButtonStyle:te,actionButtonStyle:he,className:Z="",descriptionClassName:ye="",duration:de,position:xe,gap:ue,loadingIcon:se,expandByDefault:j,classNames:B,icons:Q,closeButtonAriaLabel:N="Close toast",pauseWhenPageIsHidden:F}=n,[ne,re]=X.useState(null),[ve,Se]=X.useState(null),[q,pe]=X.useState(!1),[Ce,Re]=X.useState(!1),[Me,Oe]=X.useState(!1),[Ye,dt]=X.useState(!1),[gn,Xt]=X.useState(!1),[Zt,ir]=X.useState(0),[wn,sr]=X.useState(0),Ht=X.useRef(g.duration||de||Zh),Eo=X.useRef(null),xn=X.useRef(null),bs=b===0,Ps=b+1<=P,gt=g.type,Sn=g.dismissible!==!1,Ro=g.className||"",Ms=g.descriptionClassName||"",Cn=X.useMemo(()=>T.findIndex(Ee=>Ee.toastId===g.id)||0,[T,g.id]),Qr=X.useMemo(()=>{var Ee;return(Ee=g.closeButton)!=null?Ee:G},[g.closeButton,G]),Ts=X.useMemo(()=>g.duration||de||Zh,[g.duration,de]),bo=X.useRef(0),jn=X.useRef(0),Os=X.useRef(0),kn=X.useRef(null),[Ri,bi]=xe.split("-"),Po=X.useMemo(()=>T.reduce((Ee,Ae,Fe)=>Fe>=Cn?Ee:Ee+Ae.height,0),[T,Cn]),Mo=pS(),ar=g.invert||k,En=gt==="loading";jn.current=X.useMemo(()=>Cn*ue+Po,[Cn,Po]),X.useEffect(()=>{Ht.current=Ts},[Ts]),X.useEffect(()=>{pe(!0)},[]),X.useEffect(()=>{let Ee=xn.current;if(Ee){let Ae=Ee.getBoundingClientRect().height;return sr(Ae),C(Fe=>[{toastId:g.id,height:Ae,position:g.position},...Fe]),()=>C(Fe=>Fe.filter(wt=>wt.toastId!==g.id))}},[C,g.id]),X.useLayoutEffect(()=>{if(!q)return;let Ee=xn.current,Ae=Ee.style.height;Ee.style.height="auto";let Fe=Ee.getBoundingClientRect().height;Ee.style.height=Ae,sr(Fe),C(wt=>wt.find(Et=>Et.toastId===g.id)?wt.map(Et=>Et.toastId===g.id?{...Et,height:Fe}:Et):[{toastId:g.id,height:Fe,position:g.position},...wt])},[q,g.title,g.description,C,g.id]);let Jt=X.useCallback(()=>{Re(!0),ir(jn.current),C(Ee=>Ee.filter(Ae=>Ae.toastId!==g.id)),setTimeout(()=>{U(g)},PS)},[g,U,C,jn]);X.useEffect(()=>{if(g.promise&>==="loading"||g.duration===1/0||g.type==="loading")return;let Ee;return z||S||F&&Mo?(()=>{if(Os.current<bo.current){let Ae=new Date().getTime()-bo.current;Ht.current=Ht.current-Ae}Os.current=new Date().getTime()})():Ht.current!==1/0&&(bo.current=new Date().getTime(),Ee=setTimeout(()=>{var Ae;(Ae=g.onAutoClose)==null||Ae.call(g,g),Jt()},Ht.current)),()=>clearTimeout(Ee)},[z,S,g,gt,F,Mo,Jt]),X.useEffect(()=>{g.delete&&Jt()},[Jt,g.delete]);function Ns(){var Ee,Ae,Fe;return Q!=null&&Q.loading?X.createElement("div",{className:un(B==null?void 0:B.loader,(Ee=g==null?void 0:g.classNames)==null?void 0:Ee.loader,"sonner-loader"),"data-visible":gt==="loading"},Q.loading):se?X.createElement("div",{className:un(B==null?void 0:B.loader,(Ae=g==null?void 0:g.classNames)==null?void 0:Ae.loader,"sonner-loader"),"data-visible":gt==="loading"},se):X.createElement(aS,{className:un(B==null?void 0:B.loader,(Fe=g==null?void 0:g.classNames)==null?void 0:Fe.loader),visible:gt==="loading"})}return X.createElement("li",{tabIndex:0,ref:xn,className:un(Z,Ro,B==null?void 0:B.toast,(r=g==null?void 0:g.classNames)==null?void 0:r.toast,B==null?void 0:B.default,B==null?void 0:B[gt],(i=g==null?void 0:g.classNames)==null?void 0:i[gt]),"data-sonner-toast":"","data-rich-colors":(s=g.richColors)!=null?s:H,"data-styled":!(g.jsx||g.unstyled||O),"data-mounted":q,"data-promise":!!g.promise,"data-swiped":gn,"data-removed":Ce,"data-visible":Ps,"data-y-position":Ri,"data-x-position":bi,"data-index":b,"data-front":bs,"data-swiping":Me,"data-dismissible":Sn,"data-type":gt,"data-invert":ar,"data-swipe-out":Ye,"data-swipe-direction":ve,"data-expanded":!!(z||j&&q),style:{"--index":b,"--toasts-before":b,"--z-index":L.length-b,"--offset":`${Ce?Zt:jn.current}px`,"--initial-height":j?"auto":`${wn}px`,...J,...g.style},onDragEnd:()=>{Oe(!1),re(null),kn.current=null},onPointerDown:Ee=>{En||!Sn||(Eo.current=new Date,ir(jn.current),Ee.target.setPointerCapture(Ee.pointerId),Ee.target.tagName!=="BUTTON"&&(Oe(!0),kn.current={x:Ee.clientX,y:Ee.clientY}))},onPointerUp:()=>{var Ee,Ae,Fe,wt;if(Ye||!Sn)return;kn.current=null;let Et=Number(((Ee=xn.current)==null?void 0:Ee.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),Rt=Number(((Ae=xn.current)==null?void 0:Ae.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),en=new Date().getTime()-((Fe=Eo.current)==null?void 0:Fe.getTime()),lt=ne==="x"?Et:Rt,Rn=Math.abs(lt)/en;if(Math.abs(lt)>=bS||Rn>.11){ir(jn.current),(wt=g.onDismiss)==null||wt.call(g,g),Se(ne==="x"?Et>0?"right":"left":Rt>0?"down":"up"),Jt(),dt(!0),Xt(!1);return}Oe(!1),re(null)},onPointerMove:Ee=>{var Ae,Fe,wt,Et;if(!kn.current||!Sn||((Ae=window.getSelection())==null?void 0:Ae.toString().length)>0)return;let Rt=Ee.clientY-kn.current.y,en=Ee.clientX-kn.current.x,lt=(Fe=n.swipeDirections)!=null?Fe:MS(xe);!ne&&(Math.abs(en)>1||Math.abs(Rt)>1)&&re(Math.abs(en)>Math.abs(Rt)?"x":"y");let Rn={x:0,y:0};ne==="y"?(lt.includes("top")||lt.includes("bottom"))&&(lt.includes("top")&&Rt<0||lt.includes("bottom")&&Rt>0)&&(Rn.y=Rt):ne==="x"&&(lt.includes("left")||lt.includes("right"))&&(lt.includes("left")&&en<0||lt.includes("right")&&en>0)&&(Rn.x=en),(Math.abs(Rn.x)>0||Math.abs(Rn.y)>0)&&Xt(!0),(wt=xn.current)==null||wt.style.setProperty("--swipe-amount-x",`${Rn.x}px`),(Et=xn.current)==null||Et.style.setProperty("--swipe-amount-y",`${Rn.y}px`)}},Qr&&!g.jsx?X.createElement("button",{"aria-label":N,"data-disabled":En,"data-close-button":!0,onClick:En||!Sn?()=>{}:()=>{var Ee;Jt(),(Ee=g.onDismiss)==null||Ee.call(g,g)},className:un(B==null?void 0:B.closeButton,(l=g==null?void 0:g.classNames)==null?void 0:l.closeButton)},(c=Q==null?void 0:Q.close)!=null?c:fS):null,g.jsx||y.isValidElement(g.title)?g.jsx?g.jsx:typeof g.title=="function"?g.title():g.title:X.createElement(X.Fragment,null,gt||g.icon||g.promise?X.createElement("div",{"data-icon":"",className:un(B==null?void 0:B.icon,(f=g==null?void 0:g.classNames)==null?void 0:f.icon)},g.promise||g.type==="loading"&&!g.icon?g.icon||Ns():null,g.type!=="loading"?g.icon||(Q==null?void 0:Q[gt])||iS(gt):null):null,X.createElement("div",{"data-content":"",className:un(B==null?void 0:B.content,(p=g==null?void 0:g.classNames)==null?void 0:p.content)},X.createElement("div",{"data-title":"",className:un(B==null?void 0:B.title,(h=g==null?void 0:g.classNames)==null?void 0:h.title)},typeof g.title=="function"?g.title():g.title),g.description?X.createElement("div",{"data-description":"",className:un(ye,Ms,B==null?void 0:B.description,(m=g==null?void 0:g.classNames)==null?void 0:m.description)},typeof g.description=="function"?g.description():g.description):null),y.isValidElement(g.cancel)?g.cancel:g.cancel&&qa(g.cancel)?X.createElement("button",{"data-button":!0,"data-cancel":!0,style:g.cancelButtonStyle||te,onClick:Ee=>{var Ae,Fe;qa(g.cancel)&&Sn&&((Fe=(Ae=g.cancel).onClick)==null||Fe.call(Ae,Ee),Jt())},className:un(B==null?void 0:B.cancelButton,(w=g==null?void 0:g.classNames)==null?void 0:w.cancelButton)},g.cancel.label):null,y.isValidElement(g.action)?g.action:g.action&&qa(g.action)?X.createElement("button",{"data-button":!0,"data-action":!0,style:g.actionButtonStyle||he,onClick:Ee=>{var Ae,Fe;qa(g.action)&&((Fe=(Ae=g.action).onClick)==null||Fe.call(Ae,Ee),!Ee.defaultPrevented&&Jt())},className:un(B==null?void 0:B.actionButton,(x=g==null?void 0:g.classNames)==null?void 0:x.actionButton)},g.action.label):null))};function Jh(){if(typeof window>"u"||typeof document>"u")return"ltr";let n=document.documentElement.getAttribute("dir");return n==="auto"||!n?window.getComputedStyle(document.documentElement).direction:n}function OS(n,r){let i={};return[n,r].forEach((s,l)=>{let c=l===1,f=c?"--mobile-offset":"--offset",p=c?kS:CS;function h(m){["top","right","bottom","left"].forEach(w=>{i[`${f}-${w}`]=typeof m=="number"?`${m}px`:m})}typeof s=="number"||typeof s=="string"?h(s):typeof s=="object"?["top","right","bottom","left"].forEach(m=>{s[m]===void 0?i[`${f}-${m}`]=p:i[`${f}-${m}`]=typeof s[m]=="number"?`${s[m]}px`:s[m]}):h(p)}),i}var fR=y.forwardRef(function(n,r){let{invert:i,position:s="bottom-right",hotkey:l=["altKey","KeyT"],expand:c,closeButton:f,className:p,offset:h,mobileOffset:m,theme:w="light",richColors:x,duration:k,style:g,visibleToasts:O=SS,toastOptions:S,dir:C=Jh(),gap:P=RS,loadingIcon:T,icons:b,containerAriaLabel:L="Notifications",pauseWhenPageIsHidden:z}=n,[U,H]=X.useState([]),G=X.useMemo(()=>Array.from(new Set([s].concat(U.filter(F=>F.position).map(F=>F.position)))),[U,s]),[J,te]=X.useState([]),[he,Z]=X.useState(!1),[ye,de]=X.useState(!1),[xe,ue]=X.useState(w!=="system"?w:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),se=X.useRef(null),j=l.join("+").replace(/Key/g,"").replace(/Digit/g,""),B=X.useRef(null),Q=X.useRef(!1),N=X.useCallback(F=>{H(ne=>{var re;return(re=ne.find(ve=>ve.id===F.id))!=null&&re.delete||At.dismiss(F.id),ne.filter(({id:ve})=>ve!==F.id)})},[]);return X.useEffect(()=>At.subscribe(F=>{if(F.dismiss){H(ne=>ne.map(re=>re.id===F.id?{...re,delete:!0}:re));return}setTimeout(()=>{Km.flushSync(()=>{H(ne=>{let re=ne.findIndex(ve=>ve.id===F.id);return re!==-1?[...ne.slice(0,re),{...ne[re],...F},...ne.slice(re+1)]:[F,...ne]})})})}),[]),X.useEffect(()=>{if(w!=="system"){ue(w);return}if(w==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?ue("dark"):ue("light")),typeof window>"u")return;let F=window.matchMedia("(prefers-color-scheme: dark)");try{F.addEventListener("change",({matches:ne})=>{ue(ne?"dark":"light")})}catch{F.addListener(({matches:re})=>{try{ue(re?"dark":"light")}catch(ve){console.error(ve)}})}},[w]),X.useEffect(()=>{U.length<=1&&Z(!1)},[U]),X.useEffect(()=>{let F=ne=>{var re,ve;l.every(Se=>ne[Se]||ne.code===Se)&&(Z(!0),(re=se.current)==null||re.focus()),ne.code==="Escape"&&(document.activeElement===se.current||(ve=se.current)!=null&&ve.contains(document.activeElement))&&Z(!1)};return document.addEventListener("keydown",F),()=>document.removeEventListener("keydown",F)},[l]),X.useEffect(()=>{if(se.current)return()=>{B.current&&(B.current.focus({preventScroll:!0}),B.current=null,Q.current=!1)}},[se.current]),X.createElement("section",{ref:r,"aria-label":`${L} ${j}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},G.map((F,ne)=>{var re;let[ve,Se]=F.split("-");return U.length?X.createElement("ol",{key:F,dir:C==="auto"?Jh():C,tabIndex:-1,ref:se,className:p,"data-sonner-toaster":!0,"data-theme":xe,"data-y-position":ve,"data-lifted":he&&U.length>1&&!c,"data-x-position":Se,style:{"--front-toast-height":`${((re=J[0])==null?void 0:re.height)||0}px`,"--width":`${ES}px`,"--gap":`${P}px`,...g,...OS(h,m)},onBlur:q=>{Q.current&&!q.currentTarget.contains(q.relatedTarget)&&(Q.current=!1,B.current&&(B.current.focus({preventScroll:!0}),B.current=null))},onFocus:q=>{q.target instanceof HTMLElement&&q.target.dataset.dismissible==="false"||Q.current||(Q.current=!0,B.current=q.relatedTarget)},onMouseEnter:()=>Z(!0),onMouseMove:()=>Z(!0),onMouseLeave:()=>{ye||Z(!1)},onDragEnd:()=>Z(!1),onPointerDown:q=>{q.target instanceof HTMLElement&&q.target.dataset.dismissible==="false"||de(!0)},onPointerUp:()=>de(!1)},U.filter(q=>!q.position&&ne===0||q.position===F).map((q,pe)=>{var Ce,Re;return X.createElement(TS,{key:q.id,icons:b,index:pe,toast:q,defaultRichColors:x,duration:(Ce=S==null?void 0:S.duration)!=null?Ce:k,className:S==null?void 0:S.className,descriptionClassName:S==null?void 0:S.descriptionClassName,invert:i,visibleToasts:O,closeButton:(Re=S==null?void 0:S.closeButton)!=null?Re:f,interacting:ye,position:F,style:S==null?void 0:S.style,unstyled:S==null?void 0:S.unstyled,classNames:S==null?void 0:S.classNames,cancelButtonStyle:S==null?void 0:S.cancelButtonStyle,actionButtonStyle:S==null?void 0:S.actionButtonStyle,removeToast:N,toasts:U.filter(Me=>Me.position==q.position),heights:J.filter(Me=>Me.position==q.position),setHeights:te,expandByDefault:c,gap:P,loadingIcon:T,expanded:he,pauseWhenPageIsHidden:z,swipeDirections:n.swipeDirections})})):null}))});const em=n=>{let r;const i=new Set,s=(m,w)=>{const x=typeof m=="function"?m(r):m;if(!Object.is(x,r)){const k=r;r=w??(typeof x!="object"||x===null)?x:Object.assign({},r,x),i.forEach(g=>g(r,k))}},l=()=>r,p={setState:s,getState:l,getInitialState:()=>h,subscribe:m=>(i.add(m),()=>i.delete(m))},h=r=n(s,l,p);return p},NS=(n=>n?em(n):em),_S=n=>n;function LS(n,r=_S){const i=X.useSyncExternalStore(n.subscribe,X.useCallback(()=>r(n.getState()),[n,r]),X.useCallback(()=>r(n.getInitialState()),[n,r]));return X.useDebugValue(i),i}const tm=n=>{const r=NS(n),i=s=>LS(r,s);return Object.assign(i,r),i},pR=(n=>n?tm(n):tm);function nm(n,[r,i]){return Math.min(i,Math.max(r,n))}function AS(n){const r=n+"CollectionProvider",[i,s]=pl(r),[l,c]=i(r,{collectionRef:{current:null},itemMap:new Map}),f=S=>{const{scope:C,children:P}=S,T=X.useRef(null),b=X.useRef(new Map).current;return V.jsx(l,{scope:C,itemMap:b,collectionRef:T,children:P})};f.displayName=r;const p=n+"CollectionSlot",h=ms(p),m=X.forwardRef((S,C)=>{const{scope:P,children:T}=S,b=c(p,P),L=Je(C,b.collectionRef);return V.jsx(h,{ref:L,children:T})});m.displayName=p;const w=n+"CollectionItemSlot",x="data-radix-collection-item",k=ms(w),g=X.forwardRef((S,C)=>{const{scope:P,children:T,...b}=S,L=X.useRef(null),z=Je(C,L),U=c(w,P);return X.useEffect(()=>(U.itemMap.set(L,{ref:L,...b}),()=>void U.itemMap.delete(L))),V.jsx(k,{[x]:"",ref:z,children:T})});g.displayName=w;function O(S){const C=c(n+"CollectionConsumer",S);return X.useCallback(()=>{const T=C.collectionRef.current;if(!T)return[];const b=Array.from(T.querySelectorAll(`[${x}]`));return Array.from(C.itemMap.values()).sort((U,H)=>b.indexOf(U.ref.current)-b.indexOf(H.ref.current))},[C.collectionRef,C.itemMap])}return[{Provider:f,Slot:m,ItemSlot:g},O,s]}var IS=y.createContext(void 0);function DS(n){const r=y.useContext(IS);return n||r||"ltr"}const FS=["top","right","bottom","left"],Ur=Math.min,jt=Math.max,sl=Math.round,Ga=Math.floor,Dn=n=>({x:n,y:n}),zS={left:"right",right:"left",bottom:"top",top:"bottom"},jS={start:"end",end:"start"};function Vc(n,r,i){return jt(n,Ur(r,i))}function rr(n,r){return typeof n=="function"?n(r):n}function or(n){return n.split("-")[0]}function Ci(n){return n.split("-")[1]}function Sd(n){return n==="x"?"y":"x"}function Cd(n){return n==="y"?"height":"width"}const BS=new Set(["top","bottom"]);function In(n){return BS.has(or(n))?"y":"x"}function kd(n){return Sd(In(n))}function US(n,r,i){i===void 0&&(i=!1);const s=Ci(n),l=kd(n),c=Cd(l);let f=l==="x"?s===(i?"end":"start")?"right":"left":s==="start"?"bottom":"top";return r.reference[c]>r.floating[c]&&(f=al(f)),[f,al(f)]}function HS(n){const r=al(n);return[Qc(n),r,Qc(r)]}function Qc(n){return n.replace(/start|end/g,r=>jS[r])}const rm=["left","right"],om=["right","left"],$S=["top","bottom"],WS=["bottom","top"];function VS(n,r,i){switch(n){case"top":case"bottom":return i?r?om:rm:r?rm:om;case"left":case"right":return r?$S:WS;default:return[]}}function QS(n,r,i,s){const l=Ci(n);let c=VS(or(n),i==="start",s);return l&&(c=c.map(f=>f+"-"+l),r&&(c=c.concat(c.map(Qc)))),c}function al(n){return n.replace(/left|right|bottom|top/g,r=>zS[r])}function KS(n){return{top:0,right:0,bottom:0,left:0,...n}}function $v(n){return typeof n!="number"?KS(n):{top:n,right:n,bottom:n,left:n}}function ll(n){const{x:r,y:i,width:s,height:l}=n;return{width:s,height:l,top:i,left:r,right:r+s,bottom:i+l,x:r,y:i}}function im(n,r,i){let{reference:s,floating:l}=n;const c=In(r),f=kd(r),p=Cd(f),h=or(r),m=c==="y",w=s.x+s.width/2-l.width/2,x=s.y+s.height/2-l.height/2,k=s[p]/2-l[p]/2;let g;switch(h){case"top":g={x:w,y:s.y-l.height};break;case"bottom":g={x:w,y:s.y+s.height};break;case"right":g={x:s.x+s.width,y:x};break;case"left":g={x:s.x-l.width,y:x};break;default:g={x:s.x,y:s.y}}switch(Ci(r)){case"start":g[f]-=k*(i&&m?-1:1);break;case"end":g[f]+=k*(i&&m?-1:1);break}return g}async function qS(n,r){var i;r===void 0&&(r={});const{x:s,y:l,platform:c,rects:f,elements:p,strategy:h}=n,{boundary:m="clippingAncestors",rootBoundary:w="viewport",elementContext:x="floating",altBoundary:k=!1,padding:g=0}=rr(r,n),O=$v(g),C=p[k?x==="floating"?"reference":"floating":x],P=ll(await c.getClippingRect({element:(i=await(c.isElement==null?void 0:c.isElement(C)))==null||i?C:C.contextElement||await(c.getDocumentElement==null?void 0:c.getDocumentElement(p.floating)),boundary:m,rootBoundary:w,strategy:h})),T=x==="floating"?{x:s,y:l,width:f.floating.width,height:f.floating.height}:f.reference,b=await(c.getOffsetParent==null?void 0:c.getOffsetParent(p.floating)),L=await(c.isElement==null?void 0:c.isElement(b))?await(c.getScale==null?void 0:c.getScale(b))||{x:1,y:1}:{x:1,y:1},z=ll(c.convertOffsetParentRelativeRectToViewportRelativeRect?await c.convertOffsetParentRelativeRectToViewportRelativeRect({elements:p,rect:T,offsetParent:b,strategy:h}):T);return{top:(P.top-z.top+O.top)/L.y,bottom:(z.bottom-P.bottom+O.bottom)/L.y,left:(P.left-z.left+O.left)/L.x,right:(z.right-P.right+O.right)/L.x}}const GS=async(n,r,i)=>{const{placement:s="bottom",strategy:l="absolute",middleware:c=[],platform:f}=i,p=c.filter(Boolean),h=await(f.isRTL==null?void 0:f.isRTL(r));let m=await f.getElementRects({reference:n,floating:r,strategy:l}),{x:w,y:x}=im(m,s,h),k=s,g={},O=0;for(let C=0;C<p.length;C++){var S;const{name:P,fn:T}=p[C],{x:b,y:L,data:z,reset:U}=await T({x:w,y:x,initialPlacement:s,placement:k,strategy:l,middlewareData:g,rects:m,platform:{...f,detectOverflow:(S=f.detectOverflow)!=null?S:qS},elements:{reference:n,floating:r}});w=b??w,x=L??x,g={...g,[P]:{...g[P],...z}},U&&O<=50&&(O++,typeof U=="object"&&(U.placement&&(k=U.placement),U.rects&&(m=U.rects===!0?await f.getElementRects({reference:n,floating:r,strategy:l}):U.rects),{x:w,y:x}=im(m,k,h)),C=-1)}return{x:w,y:x,placement:k,strategy:l,middlewareData:g}},YS=n=>({name:"arrow",options:n,async fn(r){const{x:i,y:s,placement:l,rects:c,platform:f,elements:p,middlewareData:h}=r,{element:m,padding:w=0}=rr(n,r)||{};if(m==null)return{};const x=$v(w),k={x:i,y:s},g=kd(l),O=Cd(g),S=await f.getDimensions(m),C=g==="y",P=C?"top":"left",T=C?"bottom":"right",b=C?"clientHeight":"clientWidth",L=c.reference[O]+c.reference[g]-k[g]-c.floating[O],z=k[g]-c.reference[g],U=await(f.getOffsetParent==null?void 0:f.getOffsetParent(m));let H=U?U[b]:0;(!H||!await(f.isElement==null?void 0:f.isElement(U)))&&(H=p.floating[b]||c.floating[O]);const G=L/2-z/2,J=H/2-S[O]/2-1,te=Ur(x[P],J),he=Ur(x[T],J),Z=te,ye=H-S[O]-he,de=H/2-S[O]/2+G,xe=Vc(Z,de,ye),ue=!h.arrow&&Ci(l)!=null&&de!==xe&&c.reference[O]/2-(de<Z?te:he)-S[O]/2<0,se=ue?de<Z?de-Z:de-ye:0;return{[g]:k[g]+se,data:{[g]:xe,centerOffset:de-xe-se,...ue&&{alignmentOffset:se}},reset:ue}}}),XS=function(n){return n===void 0&&(n={}),{name:"flip",options:n,async fn(r){var i,s;const{placement:l,middlewareData:c,rects:f,initialPlacement:p,platform:h,elements:m}=r,{mainAxis:w=!0,crossAxis:x=!0,fallbackPlacements:k,fallbackStrategy:g="bestFit",fallbackAxisSideDirection:O="none",flipAlignment:S=!0,...C}=rr(n,r);if((i=c.arrow)!=null&&i.alignmentOffset)return{};const P=or(l),T=In(p),b=or(p)===p,L=await(h.isRTL==null?void 0:h.isRTL(m.floating)),z=k||(b||!S?[al(p)]:HS(p)),U=O!=="none";!k&&U&&z.push(...QS(p,S,O,L));const H=[p,...z],G=await h.detectOverflow(r,C),J=[];let te=((s=c.flip)==null?void 0:s.overflows)||[];if(w&&J.push(G[P]),x){const de=US(l,f,L);J.push(G[de[0]],G[de[1]])}if(te=[...te,{placement:l,overflows:J}],!J.every(de=>de<=0)){var he,Z;const de=(((he=c.flip)==null?void 0:he.index)||0)+1,xe=H[de];if(xe&&(!(x==="alignment"?T!==In(xe):!1)||te.every(j=>In(j.placement)===T?j.overflows[0]>0:!0)))return{data:{index:de,overflows:te},reset:{placement:xe}};let ue=(Z=te.filter(se=>se.overflows[0]<=0).sort((se,j)=>se.overflows[1]-j.overflows[1])[0])==null?void 0:Z.placement;if(!ue)switch(g){case"bestFit":{var ye;const se=(ye=te.filter(j=>{if(U){const B=In(j.placement);return B===T||B==="y"}return!0}).map(j=>[j.placement,j.overflows.filter(B=>B>0).reduce((B,Q)=>B+Q,0)]).sort((j,B)=>j[1]-B[1])[0])==null?void 0:ye[0];se&&(ue=se);break}case"initialPlacement":ue=p;break}if(l!==ue)return{reset:{placement:ue}}}return{}}}};function sm(n,r){return{top:n.top-r.height,right:n.right-r.width,bottom:n.bottom-r.height,left:n.left-r.width}}function am(n){return FS.some(r=>n[r]>=0)}const ZS=function(n){return n===void 0&&(n={}),{name:"hide",options:n,async fn(r){const{rects:i,platform:s}=r,{strategy:l="referenceHidden",...c}=rr(n,r);switch(l){case"referenceHidden":{const f=await s.detectOverflow(r,{...c,elementContext:"reference"}),p=sm(f,i.reference);return{data:{referenceHiddenOffsets:p,referenceHidden:am(p)}}}case"escaped":{const f=await s.detectOverflow(r,{...c,altBoundary:!0}),p=sm(f,i.floating);return{data:{escapedOffsets:p,escaped:am(p)}}}default:return{}}}}},Wv=new Set(["left","top"]);async function JS(n,r){const{placement:i,platform:s,elements:l}=n,c=await(s.isRTL==null?void 0:s.isRTL(l.floating)),f=or(i),p=Ci(i),h=In(i)==="y",m=Wv.has(f)?-1:1,w=c&&h?-1:1,x=rr(r,n);let{mainAxis:k,crossAxis:g,alignmentAxis:O}=typeof x=="number"?{mainAxis:x,crossAxis:0,alignmentAxis:null}:{mainAxis:x.mainAxis||0,crossAxis:x.crossAxis||0,alignmentAxis:x.alignmentAxis};return p&&typeof O=="number"&&(g=p==="end"?O*-1:O),h?{x:g*w,y:k*m}:{x:k*m,y:g*w}}const eC=function(n){return n===void 0&&(n=0),{name:"offset",options:n,async fn(r){var i,s;const{x:l,y:c,placement:f,middlewareData:p}=r,h=await JS(r,n);return f===((i=p.offset)==null?void 0:i.placement)&&(s=p.arrow)!=null&&s.alignmentOffset?{}:{x:l+h.x,y:c+h.y,data:{...h,placement:f}}}}},tC=function(n){return n===void 0&&(n={}),{name:"shift",options:n,async fn(r){const{x:i,y:s,placement:l,platform:c}=r,{mainAxis:f=!0,crossAxis:p=!1,limiter:h={fn:P=>{let{x:T,y:b}=P;return{x:T,y:b}}},...m}=rr(n,r),w={x:i,y:s},x=await c.detectOverflow(r,m),k=In(or(l)),g=Sd(k);let O=w[g],S=w[k];if(f){const P=g==="y"?"top":"left",T=g==="y"?"bottom":"right",b=O+x[P],L=O-x[T];O=Vc(b,O,L)}if(p){const P=k==="y"?"top":"left",T=k==="y"?"bottom":"right",b=S+x[P],L=S-x[T];S=Vc(b,S,L)}const C=h.fn({...r,[g]:O,[k]:S});return{...C,data:{x:C.x-i,y:C.y-s,enabled:{[g]:f,[k]:p}}}}}},nC=function(n){return n===void 0&&(n={}),{options:n,fn(r){const{x:i,y:s,placement:l,rects:c,middlewareData:f}=r,{offset:p=0,mainAxis:h=!0,crossAxis:m=!0}=rr(n,r),w={x:i,y:s},x=In(l),k=Sd(x);let g=w[k],O=w[x];const S=rr(p,r),C=typeof S=="number"?{mainAxis:S,crossAxis:0}:{mainAxis:0,crossAxis:0,...S};if(h){const b=k==="y"?"height":"width",L=c.reference[k]-c.floating[b]+C.mainAxis,z=c.reference[k]+c.reference[b]-C.mainAxis;g<L?g=L:g>z&&(g=z)}if(m){var P,T;const b=k==="y"?"width":"height",L=Wv.has(or(l)),z=c.reference[x]-c.floating[b]+(L&&((P=f.offset)==null?void 0:P[x])||0)+(L?0:C.crossAxis),U=c.reference[x]+c.reference[b]+(L?0:((T=f.offset)==null?void 0:T[x])||0)-(L?C.crossAxis:0);O<z?O=z:O>U&&(O=U)}return{[k]:g,[x]:O}}}},rC=function(n){return n===void 0&&(n={}),{name:"size",options:n,async fn(r){var i,s;const{placement:l,rects:c,platform:f,elements:p}=r,{apply:h=()=>{},...m}=rr(n,r),w=await f.detectOverflow(r,m),x=or(l),k=Ci(l),g=In(l)==="y",{width:O,height:S}=c.floating;let C,P;x==="top"||x==="bottom"?(C=x,P=k===(await(f.isRTL==null?void 0:f.isRTL(p.floating))?"start":"end")?"left":"right"):(P=x,C=k==="end"?"top":"bottom");const T=S-w.top-w.bottom,b=O-w.left-w.right,L=Ur(S-w[C],T),z=Ur(O-w[P],b),U=!r.middlewareData.shift;let H=L,G=z;if((i=r.middlewareData.shift)!=null&&i.enabled.x&&(G=b),(s=r.middlewareData.shift)!=null&&s.enabled.y&&(H=T),U&&!k){const te=jt(w.left,0),he=jt(w.right,0),Z=jt(w.top,0),ye=jt(w.bottom,0);g?G=O-2*(te!==0||he!==0?te+he:jt(w.left,w.right)):H=S-2*(Z!==0||ye!==0?Z+ye:jt(w.top,w.bottom))}await h({...r,availableWidth:G,availableHeight:H});const J=await f.getDimensions(p.floating);return O!==J.width||S!==J.height?{reset:{rects:!0}}:{}}}};function yl(){return typeof window<"u"}function ki(n){return Vv(n)?(n.nodeName||"").toLowerCase():"#document"}function Bt(n){var r;return(n==null||(r=n.ownerDocument)==null?void 0:r.defaultView)||window}function zn(n){var r;return(r=(Vv(n)?n.ownerDocument:n.document)||window.document)==null?void 0:r.documentElement}function Vv(n){return yl()?n instanceof Node||n instanceof Bt(n).Node:!1}function hn(n){return yl()?n instanceof Element||n instanceof Bt(n).Element:!1}function Fn(n){return yl()?n instanceof HTMLElement||n instanceof Bt(n).HTMLElement:!1}function lm(n){return!yl()||typeof ShadowRoot>"u"?!1:n instanceof ShadowRoot||n instanceof Bt(n).ShadowRoot}const oC=new Set(["inline","contents"]);function Rs(n){const{overflow:r,overflowX:i,overflowY:s,display:l}=mn(n);return/auto|scroll|overlay|hidden|clip/.test(r+s+i)&&!oC.has(l)}const iC=new Set(["table","td","th"]);function sC(n){return iC.has(ki(n))}const aC=[":popover-open",":modal"];function gl(n){return aC.some(r=>{try{return n.matches(r)}catch{return!1}})}const lC=["transform","translate","scale","rotate","perspective"],uC=["transform","translate","scale","rotate","perspective","filter"],cC=["paint","layout","strict","content"];function Ed(n){const r=Rd(),i=hn(n)?mn(n):n;return lC.some(s=>i[s]?i[s]!=="none":!1)||(i.containerType?i.containerType!=="normal":!1)||!r&&(i.backdropFilter?i.backdropFilter!=="none":!1)||!r&&(i.filter?i.filter!=="none":!1)||uC.some(s=>(i.willChange||"").includes(s))||cC.some(s=>(i.contain||"").includes(s))}function dC(n){let r=Hr(n);for(;Fn(r)&&!vi(r);){if(Ed(r))return r;if(gl(r))return null;r=Hr(r)}return null}function Rd(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const fC=new Set(["html","body","#document"]);function vi(n){return fC.has(ki(n))}function mn(n){return Bt(n).getComputedStyle(n)}function wl(n){return hn(n)?{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}:{scrollLeft:n.scrollX,scrollTop:n.scrollY}}function Hr(n){if(ki(n)==="html")return n;const r=n.assignedSlot||n.parentNode||lm(n)&&n.host||zn(n);return lm(r)?r.host:r}function Qv(n){const r=Hr(n);return vi(r)?n.ownerDocument?n.ownerDocument.body:n.body:Fn(r)&&Rs(r)?r:Qv(r)}function vs(n,r,i){var s;r===void 0&&(r=[]),i===void 0&&(i=!0);const l=Qv(n),c=l===((s=n.ownerDocument)==null?void 0:s.body),f=Bt(l);if(c){const p=Kc(f);return r.concat(f,f.visualViewport||[],Rs(l)?l:[],p&&i?vs(p):[])}return r.concat(l,vs(l,[],i))}function Kc(n){return n.parent&&Object.getPrototypeOf(n.parent)?n.frameElement:null}function Kv(n){const r=mn(n);let i=parseFloat(r.width)||0,s=parseFloat(r.height)||0;const l=Fn(n),c=l?n.offsetWidth:i,f=l?n.offsetHeight:s,p=sl(i)!==c||sl(s)!==f;return p&&(i=c,s=f),{width:i,height:s,$:p}}function bd(n){return hn(n)?n:n.contextElement}function ri(n){const r=bd(n);if(!Fn(r))return Dn(1);const i=r.getBoundingClientRect(),{width:s,height:l,$:c}=Kv(r);let f=(c?sl(i.width):i.width)/s,p=(c?sl(i.height):i.height)/l;return(!f||!Number.isFinite(f))&&(f=1),(!p||!Number.isFinite(p))&&(p=1),{x:f,y:p}}const pC=Dn(0);function qv(n){const r=Bt(n);return!Rd()||!r.visualViewport?pC:{x:r.visualViewport.offsetLeft,y:r.visualViewport.offsetTop}}function hC(n,r,i){return r===void 0&&(r=!1),!i||r&&i!==Bt(n)?!1:r}function So(n,r,i,s){r===void 0&&(r=!1),i===void 0&&(i=!1);const l=n.getBoundingClientRect(),c=bd(n);let f=Dn(1);r&&(s?hn(s)&&(f=ri(s)):f=ri(n));const p=hC(c,i,s)?qv(c):Dn(0);let h=(l.left+p.x)/f.x,m=(l.top+p.y)/f.y,w=l.width/f.x,x=l.height/f.y;if(c){const k=Bt(c),g=s&&hn(s)?Bt(s):s;let O=k,S=Kc(O);for(;S&&s&&g!==O;){const C=ri(S),P=S.getBoundingClientRect(),T=mn(S),b=P.left+(S.clientLeft+parseFloat(T.paddingLeft))*C.x,L=P.top+(S.clientTop+parseFloat(T.paddingTop))*C.y;h*=C.x,m*=C.y,w*=C.x,x*=C.y,h+=b,m+=L,O=Bt(S),S=Kc(O)}}return ll({width:w,height:x,x:h,y:m})}function xl(n,r){const i=wl(n).scrollLeft;return r?r.left+i:So(zn(n)).left+i}function Gv(n,r){const i=n.getBoundingClientRect(),s=i.left+r.scrollLeft-xl(n,i),l=i.top+r.scrollTop;return{x:s,y:l}}function mC(n){let{elements:r,rect:i,offsetParent:s,strategy:l}=n;const c=l==="fixed",f=zn(s),p=r?gl(r.floating):!1;if(s===f||p&&c)return i;let h={scrollLeft:0,scrollTop:0},m=Dn(1);const w=Dn(0),x=Fn(s);if((x||!x&&!c)&&((ki(s)!=="body"||Rs(f))&&(h=wl(s)),Fn(s))){const g=So(s);m=ri(s),w.x=g.x+s.clientLeft,w.y=g.y+s.clientTop}const k=f&&!x&&!c?Gv(f,h):Dn(0);return{width:i.width*m.x,height:i.height*m.y,x:i.x*m.x-h.scrollLeft*m.x+w.x+k.x,y:i.y*m.y-h.scrollTop*m.y+w.y+k.y}}function vC(n){return Array.from(n.getClientRects())}function yC(n){const r=zn(n),i=wl(n),s=n.ownerDocument.body,l=jt(r.scrollWidth,r.clientWidth,s.scrollWidth,s.clientWidth),c=jt(r.scrollHeight,r.clientHeight,s.scrollHeight,s.clientHeight);let f=-i.scrollLeft+xl(n);const p=-i.scrollTop;return mn(s).direction==="rtl"&&(f+=jt(r.clientWidth,s.clientWidth)-l),{width:l,height:c,x:f,y:p}}const um=25;function gC(n,r){const i=Bt(n),s=zn(n),l=i.visualViewport;let c=s.clientWidth,f=s.clientHeight,p=0,h=0;if(l){c=l.width,f=l.height;const w=Rd();(!w||w&&r==="fixed")&&(p=l.offsetLeft,h=l.offsetTop)}const m=xl(s);if(m<=0){const w=s.ownerDocument,x=w.body,k=getComputedStyle(x),g=w.compatMode==="CSS1Compat"&&parseFloat(k.marginLeft)+parseFloat(k.marginRight)||0,O=Math.abs(s.clientWidth-x.clientWidth-g);O<=um&&(c-=O)}else m<=um&&(c+=m);return{width:c,height:f,x:p,y:h}}const wC=new Set(["absolute","fixed"]);function xC(n,r){const i=So(n,!0,r==="fixed"),s=i.top+n.clientTop,l=i.left+n.clientLeft,c=Fn(n)?ri(n):Dn(1),f=n.clientWidth*c.x,p=n.clientHeight*c.y,h=l*c.x,m=s*c.y;return{width:f,height:p,x:h,y:m}}function cm(n,r,i){let s;if(r==="viewport")s=gC(n,i);else if(r==="document")s=yC(zn(n));else if(hn(r))s=xC(r,i);else{const l=qv(n);s={x:r.x-l.x,y:r.y-l.y,width:r.width,height:r.height}}return ll(s)}function Yv(n,r){const i=Hr(n);return i===r||!hn(i)||vi(i)?!1:mn(i).position==="fixed"||Yv(i,r)}function SC(n,r){const i=r.get(n);if(i)return i;let s=vs(n,[],!1).filter(p=>hn(p)&&ki(p)!=="body"),l=null;const c=mn(n).position==="fixed";let f=c?Hr(n):n;for(;hn(f)&&!vi(f);){const p=mn(f),h=Ed(f);!h&&p.position==="fixed"&&(l=null),(c?!h&&!l:!h&&p.position==="static"&&!!l&&wC.has(l.position)||Rs(f)&&!h&&Yv(n,f))?s=s.filter(w=>w!==f):l=p,f=Hr(f)}return r.set(n,s),s}function CC(n){let{element:r,boundary:i,rootBoundary:s,strategy:l}=n;const f=[...i==="clippingAncestors"?gl(r)?[]:SC(r,this._c):[].concat(i),s],p=f[0],h=f.reduce((m,w)=>{const x=cm(r,w,l);return m.top=jt(x.top,m.top),m.right=Ur(x.right,m.right),m.bottom=Ur(x.bottom,m.bottom),m.left=jt(x.left,m.left),m},cm(r,p,l));return{width:h.right-h.left,height:h.bottom-h.top,x:h.left,y:h.top}}function kC(n){const{width:r,height:i}=Kv(n);return{width:r,height:i}}function EC(n,r,i){const s=Fn(r),l=zn(r),c=i==="fixed",f=So(n,!0,c,r);let p={scrollLeft:0,scrollTop:0};const h=Dn(0);function m(){h.x=xl(l)}if(s||!s&&!c)if((ki(r)!=="body"||Rs(l))&&(p=wl(r)),s){const g=So(r,!0,c,r);h.x=g.x+r.clientLeft,h.y=g.y+r.clientTop}else l&&m();c&&!s&&l&&m();const w=l&&!s&&!c?Gv(l,p):Dn(0),x=f.left+p.scrollLeft-h.x-w.x,k=f.top+p.scrollTop-h.y-w.y;return{x,y:k,width:f.width,height:f.height}}function Cc(n){return mn(n).position==="static"}function dm(n,r){if(!Fn(n)||mn(n).position==="fixed")return null;if(r)return r(n);let i=n.offsetParent;return zn(n)===i&&(i=i.ownerDocument.body),i}function Xv(n,r){const i=Bt(n);if(gl(n))return i;if(!Fn(n)){let l=Hr(n);for(;l&&!vi(l);){if(hn(l)&&!Cc(l))return l;l=Hr(l)}return i}let s=dm(n,r);for(;s&&sC(s)&&Cc(s);)s=dm(s,r);return s&&vi(s)&&Cc(s)&&!Ed(s)?i:s||dC(n)||i}const RC=async function(n){const r=this.getOffsetParent||Xv,i=this.getDimensions,s=await i(n.floating);return{reference:EC(n.reference,await r(n.floating),n.strategy),floating:{x:0,y:0,width:s.width,height:s.height}}};function bC(n){return mn(n).direction==="rtl"}const PC={convertOffsetParentRelativeRectToViewportRelativeRect:mC,getDocumentElement:zn,getClippingRect:CC,getOffsetParent:Xv,getElementRects:RC,getClientRects:vC,getDimensions:kC,getScale:ri,isElement:hn,isRTL:bC};function Zv(n,r){return n.x===r.x&&n.y===r.y&&n.width===r.width&&n.height===r.height}function MC(n,r){let i=null,s;const l=zn(n);function c(){var p;clearTimeout(s),(p=i)==null||p.disconnect(),i=null}function f(p,h){p===void 0&&(p=!1),h===void 0&&(h=1),c();const m=n.getBoundingClientRect(),{left:w,top:x,width:k,height:g}=m;if(p||r(),!k||!g)return;const O=Ga(x),S=Ga(l.clientWidth-(w+k)),C=Ga(l.clientHeight-(x+g)),P=Ga(w),b={rootMargin:-O+"px "+-S+"px "+-C+"px "+-P+"px",threshold:jt(0,Ur(1,h))||1};let L=!0;function z(U){const H=U[0].intersectionRatio;if(H!==h){if(!L)return f();H?f(!1,H):s=setTimeout(()=>{f(!1,1e-7)},1e3)}H===1&&!Zv(m,n.getBoundingClientRect())&&f(),L=!1}try{i=new IntersectionObserver(z,{...b,root:l.ownerDocument})}catch{i=new IntersectionObserver(z,b)}i.observe(n)}return f(!0),c}function TC(n,r,i,s){s===void 0&&(s={});const{ancestorScroll:l=!0,ancestorResize:c=!0,elementResize:f=typeof ResizeObserver=="function",layoutShift:p=typeof IntersectionObserver=="function",animationFrame:h=!1}=s,m=bd(n),w=l||c?[...m?vs(m):[],...vs(r)]:[];w.forEach(P=>{l&&P.addEventListener("scroll",i,{passive:!0}),c&&P.addEventListener("resize",i)});const x=m&&p?MC(m,i):null;let k=-1,g=null;f&&(g=new ResizeObserver(P=>{let[T]=P;T&&T.target===m&&g&&(g.unobserve(r),cancelAnimationFrame(k),k=requestAnimationFrame(()=>{var b;(b=g)==null||b.observe(r)})),i()}),m&&!h&&g.observe(m),g.observe(r));let O,S=h?So(n):null;h&&C();function C(){const P=So(n);S&&!Zv(S,P)&&i(),S=P,O=requestAnimationFrame(C)}return i(),()=>{var P;w.forEach(T=>{l&&T.removeEventListener("scroll",i),c&&T.removeEventListener("resize",i)}),x==null||x(),(P=g)==null||P.disconnect(),g=null,h&&cancelAnimationFrame(O)}}const OC=eC,NC=tC,_C=XS,LC=rC,AC=ZS,fm=YS,IC=nC,DC=(n,r,i)=>{const s=new Map,l={platform:PC,...i},c={...l.platform,_c:s};return GS(n,r,{...l,platform:c})};var FC=typeof document<"u",zC=function(){},tl=FC?y.useLayoutEffect:zC;function ul(n,r){if(n===r)return!0;if(typeof n!=typeof r)return!1;if(typeof n=="function"&&n.toString()===r.toString())return!0;let i,s,l;if(n&&r&&typeof n=="object"){if(Array.isArray(n)){if(i=n.length,i!==r.length)return!1;for(s=i;s--!==0;)if(!ul(n[s],r[s]))return!1;return!0}if(l=Object.keys(n),i=l.length,i!==Object.keys(r).length)return!1;for(s=i;s--!==0;)if(!{}.hasOwnProperty.call(r,l[s]))return!1;for(s=i;s--!==0;){const c=l[s];if(!(c==="_owner"&&n.$$typeof)&&!ul(n[c],r[c]))return!1}return!0}return n!==n&&r!==r}function Jv(n){return typeof window>"u"?1:(n.ownerDocument.defaultView||window).devicePixelRatio||1}function pm(n,r){const i=Jv(n);return Math.round(r*i)/i}function kc(n){const r=y.useRef(n);return tl(()=>{r.current=n}),r}function jC(n){n===void 0&&(n={});const{placement:r="bottom",strategy:i="absolute",middleware:s=[],platform:l,elements:{reference:c,floating:f}={},transform:p=!0,whileElementsMounted:h,open:m}=n,[w,x]=y.useState({x:0,y:0,strategy:i,placement:r,middlewareData:{},isPositioned:!1}),[k,g]=y.useState(s);ul(k,s)||g(s);const[O,S]=y.useState(null),[C,P]=y.useState(null),T=y.useCallback(j=>{j!==U.current&&(U.current=j,S(j))},[]),b=y.useCallback(j=>{j!==H.current&&(H.current=j,P(j))},[]),L=c||O,z=f||C,U=y.useRef(null),H=y.useRef(null),G=y.useRef(w),J=h!=null,te=kc(h),he=kc(l),Z=kc(m),ye=y.useCallback(()=>{if(!U.current||!H.current)return;const j={placement:r,strategy:i,middleware:k};he.current&&(j.platform=he.current),DC(U.current,H.current,j).then(B=>{const Q={...B,isPositioned:Z.current!==!1};de.current&&!ul(G.current,Q)&&(G.current=Q,Es.flushSync(()=>{x(Q)}))})},[k,r,i,he,Z]);tl(()=>{m===!1&&G.current.isPositioned&&(G.current.isPositioned=!1,x(j=>({...j,isPositioned:!1})))},[m]);const de=y.useRef(!1);tl(()=>(de.current=!0,()=>{de.current=!1}),[]),tl(()=>{if(L&&(U.current=L),z&&(H.current=z),L&&z){if(te.current)return te.current(L,z,ye);ye()}},[L,z,ye,te,J]);const xe=y.useMemo(()=>({reference:U,floating:H,setReference:T,setFloating:b}),[T,b]),ue=y.useMemo(()=>({reference:L,floating:z}),[L,z]),se=y.useMemo(()=>{const j={position:i,left:0,top:0};if(!ue.floating)return j;const B=pm(ue.floating,w.x),Q=pm(ue.floating,w.y);return p?{...j,transform:"translate("+B+"px, "+Q+"px)",...Jv(ue.floating)>=1.5&&{willChange:"transform"}}:{position:i,left:B,top:Q}},[i,p,ue.floating,w.x,w.y]);return y.useMemo(()=>({...w,update:ye,refs:xe,elements:ue,floatingStyles:se}),[w,ye,xe,ue,se])}const BC=n=>{function r(i){return{}.hasOwnProperty.call(i,"current")}return{name:"arrow",options:n,fn(i){const{element:s,padding:l}=typeof n=="function"?n(i):n;return s&&r(s)?s.current!=null?fm({element:s.current,padding:l}).fn(i):{}:s?fm({element:s,padding:l}).fn(i):{}}}},UC=(n,r)=>({...OC(n),options:[n,r]}),HC=(n,r)=>({...NC(n),options:[n,r]}),$C=(n,r)=>({...IC(n),options:[n,r]}),WC=(n,r)=>({..._C(n),options:[n,r]}),VC=(n,r)=>({...LC(n),options:[n,r]}),QC=(n,r)=>({...AC(n),options:[n,r]}),KC=(n,r)=>({...BC(n),options:[n,r]});var qC="Arrow",ey=y.forwardRef((n,r)=>{const{children:i,width:s=10,height:l=5,...c}=n;return V.jsx(je.svg,{...c,ref:r,width:s,height:l,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:n.asChild?i:V.jsx("polygon",{points:"0,0 30,0 15,10"})})});ey.displayName=qC;var GC=ey;function YC(n){const[r,i]=y.useState(void 0);return yt(()=>{if(n){i({width:n.offsetWidth,height:n.offsetHeight});const s=new ResizeObserver(l=>{if(!Array.isArray(l)||!l.length)return;const c=l[0];let f,p;if("borderBoxSize"in c){const h=c.borderBoxSize,m=Array.isArray(h)?h[0]:h;f=m.inlineSize,p=m.blockSize}else f=n.offsetWidth,p=n.offsetHeight;i({width:f,height:p})});return s.observe(n,{box:"border-box"}),()=>s.unobserve(n)}else i(void 0)},[n]),r}var Pd="Popper",[ty,ny]=pl(Pd),[XC,ry]=ty(Pd),oy=n=>{const{__scopePopper:r,children:i}=n,[s,l]=y.useState(null);return V.jsx(XC,{scope:r,anchor:s,onAnchorChange:l,children:i})};oy.displayName=Pd;var iy="PopperAnchor",sy=y.forwardRef((n,r)=>{const{__scopePopper:i,virtualRef:s,...l}=n,c=ry(iy,i),f=y.useRef(null),p=Je(r,f),h=y.useRef(null);return y.useEffect(()=>{const m=h.current;h.current=(s==null?void 0:s.current)||f.current,m!==h.current&&c.onAnchorChange(h.current)}),s?null:V.jsx(je.div,{...l,ref:p})});sy.displayName=iy;var Md="PopperContent",[ZC,JC]=ty(Md),ay=y.forwardRef((n,r)=>{var q,pe,Ce,Re,Me,Oe;const{__scopePopper:i,side:s="bottom",sideOffset:l=0,align:c="center",alignOffset:f=0,arrowPadding:p=0,avoidCollisions:h=!0,collisionBoundary:m=[],collisionPadding:w=0,sticky:x="partial",hideWhenDetached:k=!1,updatePositionStrategy:g="optimized",onPlaced:O,...S}=n,C=ry(Md,i),[P,T]=y.useState(null),b=Je(r,Ye=>T(Ye)),[L,z]=y.useState(null),U=YC(L),H=(U==null?void 0:U.width)??0,G=(U==null?void 0:U.height)??0,J=s+(c!=="center"?"-"+c:""),te=typeof w=="number"?w:{top:0,right:0,bottom:0,left:0,...w},he=Array.isArray(m)?m:[m],Z=he.length>0,ye={padding:te,boundary:he.filter(tk),altBoundary:Z},{refs:de,floatingStyles:xe,placement:ue,isPositioned:se,middlewareData:j}=jC({strategy:"fixed",placement:J,whileElementsMounted:(...Ye)=>TC(...Ye,{animationFrame:g==="always"}),elements:{reference:C.anchor},middleware:[UC({mainAxis:l+G,alignmentAxis:f}),h&&HC({mainAxis:!0,crossAxis:!1,limiter:x==="partial"?$C():void 0,...ye}),h&&WC({...ye}),VC({...ye,apply:({elements:Ye,rects:dt,availableWidth:gn,availableHeight:Xt})=>{const{width:Zt,height:ir}=dt.reference,wn=Ye.floating.style;wn.setProperty("--radix-popper-available-width",`${gn}px`),wn.setProperty("--radix-popper-available-height",`${Xt}px`),wn.setProperty("--radix-popper-anchor-width",`${Zt}px`),wn.setProperty("--radix-popper-anchor-height",`${ir}px`)}}),L&&KC({element:L,padding:p}),nk({arrowWidth:H,arrowHeight:G}),k&&QC({strategy:"referenceHidden",...ye})]}),[B,Q]=cy(ue),N=wo(O);yt(()=>{se&&(N==null||N())},[se,N]);const F=(q=j.arrow)==null?void 0:q.x,ne=(pe=j.arrow)==null?void 0:pe.y,re=((Ce=j.arrow)==null?void 0:Ce.centerOffset)!==0,[ve,Se]=y.useState();return yt(()=>{P&&Se(window.getComputedStyle(P).zIndex)},[P]),V.jsx("div",{ref:de.setFloating,"data-radix-popper-content-wrapper":"",style:{...xe,transform:se?xe.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ve,"--radix-popper-transform-origin":[(Re=j.transformOrigin)==null?void 0:Re.x,(Me=j.transformOrigin)==null?void 0:Me.y].join(" "),...((Oe=j.hide)==null?void 0:Oe.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:n.dir,children:V.jsx(ZC,{scope:i,placedSide:B,onArrowChange:z,arrowX:F,arrowY:ne,shouldHideArrow:re,children:V.jsx(je.div,{"data-side":B,"data-align":Q,...S,ref:b,style:{...S.style,animation:se?void 0:"none"}})})})});ay.displayName=Md;var ly="PopperArrow",ek={top:"bottom",right:"left",bottom:"top",left:"right"},uy=y.forwardRef(function(r,i){const{__scopePopper:s,...l}=r,c=JC(ly,s),f=ek[c.placedSide];return V.jsx("span",{ref:c.onArrowChange,style:{position:"absolute",left:c.arrowX,top:c.arrowY,[f]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[c.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[c.placedSide],visibility:c.shouldHideArrow?"hidden":void 0},children:V.jsx(GC,{...l,ref:i,style:{...l.style,display:"block"}})})});uy.displayName=ly;function tk(n){return n!==null}var nk=n=>({name:"transformOrigin",options:n,fn(r){var C,P,T;const{placement:i,rects:s,middlewareData:l}=r,f=((C=l.arrow)==null?void 0:C.centerOffset)!==0,p=f?0:n.arrowWidth,h=f?0:n.arrowHeight,[m,w]=cy(i),x={start:"0%",center:"50%",end:"100%"}[w],k=(((P=l.arrow)==null?void 0:P.x)??0)+p/2,g=(((T=l.arrow)==null?void 0:T.y)??0)+h/2;let O="",S="";return m==="bottom"?(O=f?x:`${k}px`,S=`${-h}px`):m==="top"?(O=f?x:`${k}px`,S=`${s.floating.height+h}px`):m==="right"?(O=`${-h}px`,S=f?x:`${g}px`):m==="left"&&(O=`${s.floating.width+h}px`,S=f?x:`${g}px`),{data:{x:O,y:S}}}});function cy(n){const[r,i="center"]=n.split("-");return[r,i]}var rk=oy,ok=sy,ik=ay,sk=uy;function ak(n){const r=y.useRef({value:n,previous:n});return y.useMemo(()=>(r.current.value!==n&&(r.current.previous=r.current.value,r.current.value=n),r.current.previous),[n])}var dy=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),lk="VisuallyHidden",fy=y.forwardRef((n,r)=>V.jsx(je.span,{...n,ref:r,style:{...dy,...n.style}}));fy.displayName=lk;var hR=fy,uk=[" ","Enter","ArrowUp","ArrowDown"],ck=[" ","Enter"],Co="Select",[Sl,Cl,dk]=AS(Co),[Ei]=pl(Co,[dk,ny]),kl=ny(),[fk,Wr]=Ei(Co),[pk,hk]=Ei(Co),py=n=>{const{__scopeSelect:r,children:i,open:s,defaultOpen:l,onOpenChange:c,value:f,defaultValue:p,onValueChange:h,dir:m,name:w,autoComplete:x,disabled:k,required:g,form:O}=n,S=kl(r),[C,P]=y.useState(null),[T,b]=y.useState(null),[L,z]=y.useState(!1),U=DS(m),[H,G]=Uc({prop:s,defaultProp:l??!1,onChange:c,caller:Co}),[J,te]=Uc({prop:f,defaultProp:p,onChange:h,caller:Co}),he=y.useRef(null),Z=C?O||!!C.closest("form"):!0,[ye,de]=y.useState(new Set),xe=Array.from(ye).map(ue=>ue.props.value).join(";");return V.jsx(rk,{...S,children:V.jsxs(fk,{required:g,scope:r,trigger:C,onTriggerChange:P,valueNode:T,onValueNodeChange:b,valueNodeHasChildren:L,onValueNodeHasChildrenChange:z,contentId:ti(),value:J,onValueChange:te,open:H,onOpenChange:G,dir:U,triggerPointerDownPosRef:he,disabled:k,children:[V.jsx(Sl.Provider,{scope:r,children:V.jsx(pk,{scope:n.__scopeSelect,onNativeOptionAdd:y.useCallback(ue=>{de(se=>new Set(se).add(ue))},[]),onNativeOptionRemove:y.useCallback(ue=>{de(se=>{const j=new Set(se);return j.delete(ue),j})},[]),children:i})}),Z?V.jsxs(Fy,{"aria-hidden":!0,required:g,tabIndex:-1,name:w,autoComplete:x,value:J,onChange:ue=>te(ue.target.value),disabled:k,form:O,children:[J===void 0?V.jsx("option",{value:""}):null,Array.from(ye)]},xe):null]})})};py.displayName=Co;var hy="SelectTrigger",my=y.forwardRef((n,r)=>{const{__scopeSelect:i,disabled:s=!1,...l}=n,c=kl(i),f=Wr(hy,i),p=f.disabled||s,h=Je(r,f.onTriggerChange),m=Cl(i),w=y.useRef("touch"),[x,k,g]=jy(S=>{const C=m().filter(b=>!b.disabled),P=C.find(b=>b.value===f.value),T=By(C,S,P);T!==void 0&&f.onValueChange(T.value)}),O=S=>{p||(f.onOpenChange(!0),g()),S&&(f.triggerPointerDownPosRef.current={x:Math.round(S.pageX),y:Math.round(S.pageY)})};return V.jsx(ok,{asChild:!0,...c,children:V.jsx(je.button,{type:"button",role:"combobox","aria-controls":f.contentId,"aria-expanded":f.open,"aria-required":f.required,"aria-autocomplete":"none",dir:f.dir,"data-state":f.open?"open":"closed",disabled:p,"data-disabled":p?"":void 0,"data-placeholder":zy(f.value)?"":void 0,...l,ref:h,onClick:$e(l.onClick,S=>{S.currentTarget.focus(),w.current!=="mouse"&&O(S)}),onPointerDown:$e(l.onPointerDown,S=>{w.current=S.pointerType;const C=S.target;C.hasPointerCapture(S.pointerId)&&C.releasePointerCapture(S.pointerId),S.button===0&&S.ctrlKey===!1&&S.pointerType==="mouse"&&(O(S),S.preventDefault())}),onKeyDown:$e(l.onKeyDown,S=>{const C=x.current!=="";!(S.ctrlKey||S.altKey||S.metaKey)&&S.key.length===1&&k(S.key),!(C&&S.key===" ")&&uk.includes(S.key)&&(O(),S.preventDefault())})})})});my.displayName=hy;var vy="SelectValue",yy=y.forwardRef((n,r)=>{const{__scopeSelect:i,className:s,style:l,children:c,placeholder:f="",...p}=n,h=Wr(vy,i),{onValueNodeHasChildrenChange:m}=h,w=c!==void 0,x=Je(r,h.onValueNodeChange);return yt(()=>{m(w)},[m,w]),V.jsx(je.span,{...p,ref:x,style:{pointerEvents:"none"},children:zy(h.value)?V.jsx(V.Fragment,{children:f}):c})});yy.displayName=vy;var mk="SelectIcon",gy=y.forwardRef((n,r)=>{const{__scopeSelect:i,children:s,...l}=n;return V.jsx(je.span,{"aria-hidden":!0,...l,ref:r,children:s||"▼"})});gy.displayName=mk;var vk="SelectPortal",wy=n=>V.jsx(vd,{asChild:!0,...n});wy.displayName=vk;var ko="SelectContent",xy=y.forwardRef((n,r)=>{const i=Wr(ko,n.__scopeSelect),[s,l]=y.useState();if(yt(()=>{l(new DocumentFragment)},[]),!i.open){const c=s;return c?Es.createPortal(V.jsx(Sy,{scope:n.__scopeSelect,children:V.jsx(Sl.Slot,{scope:n.__scopeSelect,children:V.jsx("div",{children:n.children})})}),c):null}return V.jsx(Cy,{...n,ref:r})});xy.displayName=ko;var cn=10,[Sy,Vr]=Ei(ko),yk="SelectContentImpl",gk=ms("SelectContent.RemoveScroll"),Cy=y.forwardRef((n,r)=>{const{__scopeSelect:i,position:s="item-aligned",onCloseAutoFocus:l,onEscapeKeyDown:c,onPointerDownOutside:f,side:p,sideOffset:h,align:m,alignOffset:w,arrowPadding:x,collisionBoundary:k,collisionPadding:g,sticky:O,hideWhenDetached:S,avoidCollisions:C,...P}=n,T=Wr(ko,i),[b,L]=y.useState(null),[z,U]=y.useState(null),H=Je(r,q=>L(q)),[G,J]=y.useState(null),[te,he]=y.useState(null),Z=Cl(i),[ye,de]=y.useState(!1),xe=y.useRef(!1);y.useEffect(()=>{if(b)return bv(b)},[b]),yv();const ue=y.useCallback(q=>{const[pe,...Ce]=Z().map(Oe=>Oe.ref.current),[Re]=Ce.slice(-1),Me=document.activeElement;for(const Oe of q)if(Oe===Me||(Oe==null||Oe.scrollIntoView({block:"nearest"}),Oe===pe&&z&&(z.scrollTop=0),Oe===Re&&z&&(z.scrollTop=z.scrollHeight),Oe==null||Oe.focus(),document.activeElement!==Me))return},[Z,z]),se=y.useCallback(()=>ue([G,b]),[ue,G,b]);y.useEffect(()=>{ye&&se()},[ye,se]);const{onOpenChange:j,triggerPointerDownPosRef:B}=T;y.useEffect(()=>{if(b){let q={x:0,y:0};const pe=Re=>{var Me,Oe;q={x:Math.abs(Math.round(Re.pageX)-(((Me=B.current)==null?void 0:Me.x)??0)),y:Math.abs(Math.round(Re.pageY)-(((Oe=B.current)==null?void 0:Oe.y)??0))}},Ce=Re=>{q.x<=10&&q.y<=10?Re.preventDefault():b.contains(Re.target)||j(!1),document.removeEventListener("pointermove",pe),B.current=null};return B.current!==null&&(document.addEventListener("pointermove",pe),document.addEventListener("pointerup",Ce,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",pe),document.removeEventListener("pointerup",Ce,{capture:!0})}}},[b,j,B]),y.useEffect(()=>{const q=()=>j(!1);return window.addEventListener("blur",q),window.addEventListener("resize",q),()=>{window.removeEventListener("blur",q),window.removeEventListener("resize",q)}},[j]);const[Q,N]=jy(q=>{const pe=Z().filter(Me=>!Me.disabled),Ce=pe.find(Me=>Me.ref.current===document.activeElement),Re=By(pe,q,Ce);Re&&setTimeout(()=>Re.ref.current.focus())}),F=y.useCallback((q,pe,Ce)=>{const Re=!xe.current&&!Ce;(T.value!==void 0&&T.value===pe||Re)&&(J(q),Re&&(xe.current=!0))},[T.value]),ne=y.useCallback(()=>b==null?void 0:b.focus(),[b]),re=y.useCallback((q,pe,Ce)=>{const Re=!xe.current&&!Ce;(T.value!==void 0&&T.value===pe||Re)&&he(q)},[T.value]),ve=s==="popper"?qc:ky,Se=ve===qc?{side:p,sideOffset:h,align:m,alignOffset:w,arrowPadding:x,collisionBoundary:k,collisionPadding:g,sticky:O,hideWhenDetached:S,avoidCollisions:C}:{};return V.jsx(Sy,{scope:i,content:b,viewport:z,onViewportChange:U,itemRefCallback:F,selectedItem:G,onItemLeave:ne,itemTextRefCallback:re,focusSelectedItem:se,selectedItemText:te,position:s,isPositioned:ye,searchRef:Q,children:V.jsx(yd,{as:gk,allowPinchZoom:!0,children:V.jsx(md,{asChild:!0,trapped:T.open,onMountAutoFocus:q=>{q.preventDefault()},onUnmountAutoFocus:$e(l,q=>{var pe;(pe=T.trigger)==null||pe.focus({preventScroll:!0}),q.preventDefault()}),children:V.jsx(hd,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:c,onPointerDownOutside:f,onFocusOutside:q=>q.preventDefault(),onDismiss:()=>T.onOpenChange(!1),children:V.jsx(ve,{role:"listbox",id:T.contentId,"data-state":T.open?"open":"closed",dir:T.dir,onContextMenu:q=>q.preventDefault(),...P,...Se,onPlaced:()=>de(!0),ref:H,style:{display:"flex",flexDirection:"column",outline:"none",...P.style},onKeyDown:$e(P.onKeyDown,q=>{const pe=q.ctrlKey||q.altKey||q.metaKey;if(q.key==="Tab"&&q.preventDefault(),!pe&&q.key.length===1&&N(q.key),["ArrowUp","ArrowDown","Home","End"].includes(q.key)){let Re=Z().filter(Me=>!Me.disabled).map(Me=>Me.ref.current);if(["ArrowUp","End"].includes(q.key)&&(Re=Re.slice().reverse()),["ArrowUp","ArrowDown"].includes(q.key)){const Me=q.target,Oe=Re.indexOf(Me);Re=Re.slice(Oe+1)}setTimeout(()=>ue(Re)),q.preventDefault()}})})})})})})});Cy.displayName=yk;var wk="SelectItemAlignedPosition",ky=y.forwardRef((n,r)=>{const{__scopeSelect:i,onPlaced:s,...l}=n,c=Wr(ko,i),f=Vr(ko,i),[p,h]=y.useState(null),[m,w]=y.useState(null),x=Je(r,H=>w(H)),k=Cl(i),g=y.useRef(!1),O=y.useRef(!0),{viewport:S,selectedItem:C,selectedItemText:P,focusSelectedItem:T}=f,b=y.useCallback(()=>{if(c.trigger&&c.valueNode&&p&&m&&S&&C&&P){const H=c.trigger.getBoundingClientRect(),G=m.getBoundingClientRect(),J=c.valueNode.getBoundingClientRect(),te=P.getBoundingClientRect();if(c.dir!=="rtl"){const Me=te.left-G.left,Oe=J.left-Me,Ye=H.left-Oe,dt=H.width+Ye,gn=Math.max(dt,G.width),Xt=window.innerWidth-cn,Zt=nm(Oe,[cn,Math.max(cn,Xt-gn)]);p.style.minWidth=dt+"px",p.style.left=Zt+"px"}else{const Me=G.right-te.right,Oe=window.innerWidth-J.right-Me,Ye=window.innerWidth-H.right-Oe,dt=H.width+Ye,gn=Math.max(dt,G.width),Xt=window.innerWidth-cn,Zt=nm(Oe,[cn,Math.max(cn,Xt-gn)]);p.style.minWidth=dt+"px",p.style.right=Zt+"px"}const he=k(),Z=window.innerHeight-cn*2,ye=S.scrollHeight,de=window.getComputedStyle(m),xe=parseInt(de.borderTopWidth,10),ue=parseInt(de.paddingTop,10),se=parseInt(de.borderBottomWidth,10),j=parseInt(de.paddingBottom,10),B=xe+ue+ye+j+se,Q=Math.min(C.offsetHeight*5,B),N=window.getComputedStyle(S),F=parseInt(N.paddingTop,10),ne=parseInt(N.paddingBottom,10),re=H.top+H.height/2-cn,ve=Z-re,Se=C.offsetHeight/2,q=C.offsetTop+Se,pe=xe+ue+q,Ce=B-pe;if(pe<=re){const Me=he.length>0&&C===he[he.length-1].ref.current;p.style.bottom="0px";const Oe=m.clientHeight-S.offsetTop-S.offsetHeight,Ye=Math.max(ve,Se+(Me?ne:0)+Oe+se),dt=pe+Ye;p.style.height=dt+"px"}else{const Me=he.length>0&&C===he[0].ref.current;p.style.top="0px";const Ye=Math.max(re,xe+S.offsetTop+(Me?F:0)+Se)+Ce;p.style.height=Ye+"px",S.scrollTop=pe-re+S.offsetTop}p.style.margin=`${cn}px 0`,p.style.minHeight=Q+"px",p.style.maxHeight=Z+"px",s==null||s(),requestAnimationFrame(()=>g.current=!0)}},[k,c.trigger,c.valueNode,p,m,S,C,P,c.dir,s]);yt(()=>b(),[b]);const[L,z]=y.useState();yt(()=>{m&&z(window.getComputedStyle(m).zIndex)},[m]);const U=y.useCallback(H=>{H&&O.current===!0&&(b(),T==null||T(),O.current=!1)},[b,T]);return V.jsx(Sk,{scope:i,contentWrapper:p,shouldExpandOnScrollRef:g,onScrollButtonChange:U,children:V.jsx("div",{ref:h,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:L},children:V.jsx(je.div,{...l,ref:x,style:{boxSizing:"border-box",maxHeight:"100%",...l.style}})})})});ky.displayName=wk;var xk="SelectPopperPosition",qc=y.forwardRef((n,r)=>{const{__scopeSelect:i,align:s="start",collisionPadding:l=cn,...c}=n,f=kl(i);return V.jsx(ik,{...f,...c,ref:r,align:s,collisionPadding:l,style:{boxSizing:"border-box",...c.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});qc.displayName=xk;var[Sk,Td]=Ei(ko,{}),Gc="SelectViewport",Ey=y.forwardRef((n,r)=>{const{__scopeSelect:i,nonce:s,...l}=n,c=Vr(Gc,i),f=Td(Gc,i),p=Je(r,c.onViewportChange),h=y.useRef(0);return V.jsxs(V.Fragment,{children:[V.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:s}),V.jsx(Sl.Slot,{scope:i,children:V.jsx(je.div,{"data-radix-select-viewport":"",role:"presentation",...l,ref:p,style:{position:"relative",flex:1,overflow:"hidden auto",...l.style},onScroll:$e(l.onScroll,m=>{const w=m.currentTarget,{contentWrapper:x,shouldExpandOnScrollRef:k}=f;if(k!=null&&k.current&&x){const g=Math.abs(h.current-w.scrollTop);if(g>0){const O=window.innerHeight-cn*2,S=parseFloat(x.style.minHeight),C=parseFloat(x.style.height),P=Math.max(S,C);if(P<O){const T=P+g,b=Math.min(O,T),L=T-b;x.style.height=b+"px",x.style.bottom==="0px"&&(w.scrollTop=L>0?L:0,x.style.justifyContent="flex-end")}}}h.current=w.scrollTop})})})]})});Ey.displayName=Gc;var Ry="SelectGroup",[Ck,kk]=Ei(Ry),Ek=y.forwardRef((n,r)=>{const{__scopeSelect:i,...s}=n,l=ti();return V.jsx(Ck,{scope:i,id:l,children:V.jsx(je.div,{role:"group","aria-labelledby":l,...s,ref:r})})});Ek.displayName=Ry;var by="SelectLabel",Py=y.forwardRef((n,r)=>{const{__scopeSelect:i,...s}=n,l=kk(by,i);return V.jsx(je.div,{id:l.id,...s,ref:r})});Py.displayName=by;var cl="SelectItem",[Rk,My]=Ei(cl),Ty=y.forwardRef((n,r)=>{const{__scopeSelect:i,value:s,disabled:l=!1,textValue:c,...f}=n,p=Wr(cl,i),h=Vr(cl,i),m=p.value===s,[w,x]=y.useState(c??""),[k,g]=y.useState(!1),O=Je(r,T=>{var b;return(b=h.itemRefCallback)==null?void 0:b.call(h,T,s,l)}),S=ti(),C=y.useRef("touch"),P=()=>{l||(p.onValueChange(s),p.onOpenChange(!1))};if(s==="")throw new Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return V.jsx(Rk,{scope:i,value:s,disabled:l,textId:S,isSelected:m,onItemTextChange:y.useCallback(T=>{x(b=>b||((T==null?void 0:T.textContent)??"").trim())},[]),children:V.jsx(Sl.ItemSlot,{scope:i,value:s,disabled:l,textValue:w,children:V.jsx(je.div,{role:"option","aria-labelledby":S,"data-highlighted":k?"":void 0,"aria-selected":m&&k,"data-state":m?"checked":"unchecked","aria-disabled":l||void 0,"data-disabled":l?"":void 0,tabIndex:l?void 0:-1,...f,ref:O,onFocus:$e(f.onFocus,()=>g(!0)),onBlur:$e(f.onBlur,()=>g(!1)),onClick:$e(f.onClick,()=>{C.current!=="mouse"&&P()}),onPointerUp:$e(f.onPointerUp,()=>{C.current==="mouse"&&P()}),onPointerDown:$e(f.onPointerDown,T=>{C.current=T.pointerType}),onPointerMove:$e(f.onPointerMove,T=>{var b;C.current=T.pointerType,l?(b=h.onItemLeave)==null||b.call(h):C.current==="mouse"&&T.currentTarget.focus({preventScroll:!0})}),onPointerLeave:$e(f.onPointerLeave,T=>{var b;T.currentTarget===document.activeElement&&((b=h.onItemLeave)==null||b.call(h))}),onKeyDown:$e(f.onKeyDown,T=>{var L;((L=h.searchRef)==null?void 0:L.current)!==""&&T.key===" "||(ck.includes(T.key)&&P(),T.key===" "&&T.preventDefault())})})})})});Ty.displayName=cl;var fs="SelectItemText",Oy=y.forwardRef((n,r)=>{const{__scopeSelect:i,className:s,style:l,...c}=n,f=Wr(fs,i),p=Vr(fs,i),h=My(fs,i),m=hk(fs,i),[w,x]=y.useState(null),k=Je(r,P=>x(P),h.onItemTextChange,P=>{var T;return(T=p.itemTextRefCallback)==null?void 0:T.call(p,P,h.value,h.disabled)}),g=w==null?void 0:w.textContent,O=y.useMemo(()=>V.jsx("option",{value:h.value,disabled:h.disabled,children:g},h.value),[h.disabled,h.value,g]),{onNativeOptionAdd:S,onNativeOptionRemove:C}=m;return yt(()=>(S(O),()=>C(O)),[S,C,O]),V.jsxs(V.Fragment,{children:[V.jsx(je.span,{id:h.textId,...c,ref:k}),h.isSelected&&f.valueNode&&!f.valueNodeHasChildren?Es.createPortal(c.children,f.valueNode):null]})});Oy.displayName=fs;var Ny="SelectItemIndicator",_y=y.forwardRef((n,r)=>{const{__scopeSelect:i,...s}=n;return My(Ny,i).isSelected?V.jsx(je.span,{"aria-hidden":!0,...s,ref:r}):null});_y.displayName=Ny;var Yc="SelectScrollUpButton",Ly=y.forwardRef((n,r)=>{const i=Vr(Yc,n.__scopeSelect),s=Td(Yc,n.__scopeSelect),[l,c]=y.useState(!1),f=Je(r,s.onScrollButtonChange);return yt(()=>{if(i.viewport&&i.isPositioned){let p=function(){const m=h.scrollTop>0;c(m)};const h=i.viewport;return p(),h.addEventListener("scroll",p),()=>h.removeEventListener("scroll",p)}},[i.viewport,i.isPositioned]),l?V.jsx(Iy,{...n,ref:f,onAutoScroll:()=>{const{viewport:p,selectedItem:h}=i;p&&h&&(p.scrollTop=p.scrollTop-h.offsetHeight)}}):null});Ly.displayName=Yc;var Xc="SelectScrollDownButton",Ay=y.forwardRef((n,r)=>{const i=Vr(Xc,n.__scopeSelect),s=Td(Xc,n.__scopeSelect),[l,c]=y.useState(!1),f=Je(r,s.onScrollButtonChange);return yt(()=>{if(i.viewport&&i.isPositioned){let p=function(){const m=h.scrollHeight-h.clientHeight,w=Math.ceil(h.scrollTop)<m;c(w)};const h=i.viewport;return p(),h.addEventListener("scroll",p),()=>h.removeEventListener("scroll",p)}},[i.viewport,i.isPositioned]),l?V.jsx(Iy,{...n,ref:f,onAutoScroll:()=>{const{viewport:p,selectedItem:h}=i;p&&h&&(p.scrollTop=p.scrollTop+h.offsetHeight)}}):null});Ay.displayName=Xc;var Iy=y.forwardRef((n,r)=>{const{__scopeSelect:i,onAutoScroll:s,...l}=n,c=Vr("SelectScrollButton",i),f=y.useRef(null),p=Cl(i),h=y.useCallback(()=>{f.current!==null&&(window.clearInterval(f.current),f.current=null)},[]);return y.useEffect(()=>()=>h(),[h]),yt(()=>{var w;const m=p().find(x=>x.ref.current===document.activeElement);(w=m==null?void 0:m.ref.current)==null||w.scrollIntoView({block:"nearest"})},[p]),V.jsx(je.div,{"aria-hidden":!0,...l,ref:r,style:{flexShrink:0,...l.style},onPointerDown:$e(l.onPointerDown,()=>{f.current===null&&(f.current=window.setInterval(s,50))}),onPointerMove:$e(l.onPointerMove,()=>{var m;(m=c.onItemLeave)==null||m.call(c),f.current===null&&(f.current=window.setInterval(s,50))}),onPointerLeave:$e(l.onPointerLeave,()=>{h()})})}),bk="SelectSeparator",Dy=y.forwardRef((n,r)=>{const{__scopeSelect:i,...s}=n;return V.jsx(je.div,{"aria-hidden":!0,...s,ref:r})});Dy.displayName=bk;var Zc="SelectArrow",Pk=y.forwardRef((n,r)=>{const{__scopeSelect:i,...s}=n,l=kl(i),c=Wr(Zc,i),f=Vr(Zc,i);return c.open&&f.position==="popper"?V.jsx(sk,{...l,...s,ref:r}):null});Pk.displayName=Zc;var Mk="SelectBubbleInput",Fy=y.forwardRef(({__scopeSelect:n,value:r,...i},s)=>{const l=y.useRef(null),c=Je(s,l),f=ak(r);return y.useEffect(()=>{const p=l.current;if(!p)return;const h=window.HTMLSelectElement.prototype,w=Object.getOwnPropertyDescriptor(h,"value").set;if(f!==r&&w){const x=new Event("change",{bubbles:!0});w.call(p,r),p.dispatchEvent(x)}},[f,r]),V.jsx(je.select,{...i,style:{...dy,...i.style},ref:c,defaultValue:r})});Fy.displayName=Mk;function zy(n){return n===""||n===void 0}function jy(n){const r=wo(n),i=y.useRef(""),s=y.useRef(0),l=y.useCallback(f=>{const p=i.current+f;r(p),(function h(m){i.current=m,window.clearTimeout(s.current),m!==""&&(s.current=window.setTimeout(()=>h(""),1e3))})(p)},[r]),c=y.useCallback(()=>{i.current="",window.clearTimeout(s.current)},[]);return y.useEffect(()=>()=>window.clearTimeout(s.current),[]),[i,l,c]}function By(n,r,i){const l=r.length>1&&Array.from(r).every(m=>m===r[0])?r[0]:r,c=i?n.indexOf(i):-1;let f=Tk(n,Math.max(c,0));l.length===1&&(f=f.filter(m=>m!==i));const h=f.find(m=>m.textValue.toLowerCase().startsWith(l.toLowerCase()));return h!==i?h:void 0}function Tk(n,r){return n.map((i,s)=>n[(r+s)%n.length])}var mR=py,vR=my,yR=yy,gR=gy,wR=wy,xR=xy,SR=Ey,CR=Py,kR=Ty,ER=Oy,RR=_y,bR=Ly,PR=Ay,MR=Dy;export{Jk as $,Zk as A,oE as B,qk as C,Yk as D,hE as E,nR as F,XE as G,DE as H,gR as I,xE as J,bE as K,OE as L,AE as M,lw as N,Kk as O,Qk as P,Fk as Q,Vk as R,rR as S,Gk as T,tR as U,SR as V,lR as W,cR as X,EE as Y,$E as Z,uR as _,Uk as a,iR as a$,eR as a0,zE as a1,PE as a2,nE as a3,$r as a4,zk as a5,fR as a6,Ak as a7,F1 as a8,Lk as a9,zm as aA,_k as aB,vE as aC,yE as aD,JE as aE,cE as aF,Uc as aG,rk as aH,ti as aI,Je as aJ,je as aK,$e as aL,ok as aM,ny as aN,hl as aO,vd as aP,pl as aQ,bv as aR,yd as aS,ms as aT,yv as aU,md as aV,hd as aW,ik as aX,sk as aY,NE as aZ,kE as a_,Nk as aa,Ik as ab,uE as ac,wE as ad,TE as ae,UE as af,tE as ag,QE as ah,mE as ai,BE as aj,iE as ak,aR as al,rE as am,Rm as an,pE as ao,oR as ap,SE as aq,gE as ar,ZE as as,dE as at,WE as au,IE as av,sR as aw,GE as ax,HE as ay,VE as az,Xk as b,KE as b0,LE as b1,YE as b2,RE as b3,fE as b4,qE as b5,ME as b6,hR as b7,$k as b8,FE as b9,_E as ba,jE as bb,eE as bc,CE as bd,Xw as c,pR as d,dR as e,ov as f,Bk as g,vR as h,aE as i,V as j,bR as k,lE as l,PR as m,wR as n,xR as o,CR as p,kR as q,y as r,RR as s,Hk as t,jk as u,sE as v,ER as w,MR as x,mR as y,yR as z};
|