@nextclaw/ui 0.5.35 → 0.5.37

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.
Files changed (41) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist/assets/ChannelsList-DtvhbEV9.js +1 -0
  3. package/dist/assets/{ChatPage-C_wANEY9.js → ChatPage-Bw_aXB4R.js} +2 -2
  4. package/dist/assets/CronConfig-BZLXcDbm.js +1 -0
  5. package/dist/assets/{DocBrowser-CdX5oDgu.js → DocBrowser-BY0TiFOc.js} +1 -1
  6. package/dist/assets/MarketplacePage-BDlAw7fO.js +1 -0
  7. package/dist/assets/{ModelConfig-DagIPD4R.js → ModelConfig-Bi8Q4_NG.js} +1 -1
  8. package/dist/assets/ProvidersList-D2OB0siE.js +1 -0
  9. package/dist/assets/{RuntimeConfig-BDyqfVSA.js → RuntimeConfig-Bz9aUkwu.js} +1 -1
  10. package/dist/assets/{SecretsConfig-De2IZ7GX.js → SecretsConfig-Bqi-biOL.js} +1 -1
  11. package/dist/assets/SessionsConfig-DcWT2QvI.js +2 -0
  12. package/dist/assets/{card-CWG4Tz0Y.js → card-DwZkVl7S.js} +1 -1
  13. package/dist/assets/index-C1NAfZSm.js +2 -0
  14. package/dist/assets/index-DWgSvrx4.css +1 -0
  15. package/dist/assets/{label-LbWa2Yzc.js → label-BBDuC6Nm.js} +1 -1
  16. package/dist/assets/logos-DMFt4YDI.js +1 -0
  17. package/dist/assets/{page-layout-Bz8CAEiD.js → page-layout-hPFzCUTQ.js} +1 -1
  18. package/dist/assets/{switch-BwbfObfA.js → switch-CwkcbkEs.js} +1 -1
  19. package/dist/assets/{tabs-custom-VeX6BYro.js → tabs-custom-TUrWRyYy.js} +1 -1
  20. package/dist/assets/{useConfig-CFFZ66EV.js → useConfig-DZVUrqQz.js} +1 -1
  21. package/dist/assets/useConfirmDialog-D5X0Iqid.js +5 -0
  22. package/dist/assets/{vendor-CmqkRoMs.js → vendor-DN_iJQc4.js} +75 -85
  23. package/dist/index.html +3 -3
  24. package/package.json +1 -1
  25. package/src/components/common/LogoBadge.tsx +2 -2
  26. package/src/components/config/ChannelForm.tsx +170 -180
  27. package/src/components/config/ChannelsList.tsx +131 -93
  28. package/src/components/config/ProviderForm.tsx +3 -2
  29. package/src/components/config/ProvidersList.tsx +3 -2
  30. package/src/components/config/config-layout.ts +10 -0
  31. package/src/lib/i18n.ts +6 -0
  32. package/dist/assets/ChannelsList-DGoIQT1t.js +0 -1
  33. package/dist/assets/CronConfig-Q7faThLl.js +0 -1
  34. package/dist/assets/MarketplacePage-DXoPkFYk.js +0 -1
  35. package/dist/assets/ProvidersList-2aHarRNe.js +0 -1
  36. package/dist/assets/SessionsConfig-BK0xx6EF.js +0 -2
  37. package/dist/assets/dialog-ssdjbutm.js +0 -5
  38. package/dist/assets/index-B8Wh_FvS.css +0 -1
  39. package/dist/assets/index-q2B1bssI.js +0 -2
  40. package/dist/assets/logos-DncMldHC.js +0 -1
  41. package/dist/assets/useConfirmDialog-ClpvgpHh.js +0 -1
@@ -1,4 +1,4 @@
1
- var qp=n=>{throw TypeError(n)};var Xu=(n,r,i)=>r.has(n)||qp("Cannot "+i);var b=(n,r,i)=>(Xu(n,r,"read from private field"),i?i.call(n):r.get(n)),me=(n,r,i)=>r.has(n)?qp("Cannot add the same private member more than once"):r instanceof WeakSet?r.add(n):r.set(n,i),J=(n,r,i,l)=>(Xu(n,r,"write to private field"),l?l.call(n,i):r.set(n,i),i),Pe=(n,r,i)=>(Xu(n,r,"access private method"),i);var Al=(n,r,i,l)=>({set _(u){J(n,r,u,i)},get _(){return b(n,r,l)}});function s0(n,r){for(var i=0;i<r.length;i++){const l=r[i];if(typeof l!="string"&&!Array.isArray(l)){for(const u in l)if(u!=="default"&&!(u in n)){const c=Object.getOwnPropertyDescriptor(l,u);c&&Object.defineProperty(n,u,c.get?c:{enumerable:!0,get:()=>l[u]})}}}return Object.freeze(Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}))}function cm(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var Zu={exports:{}},os={},Ju={exports:{}},Te={};/**
1
+ var qp=n=>{throw TypeError(n)};var Xu=(n,r,i)=>r.has(n)||qp("Cannot "+i);var b=(n,r,i)=>(Xu(n,r,"read from private field"),i?i.call(n):r.get(n)),he=(n,r,i)=>r.has(n)?qp("Cannot add the same private member more than once"):r instanceof WeakSet?r.add(n):r.set(n,i),J=(n,r,i,l)=>(Xu(n,r,"write to private field"),l?l.call(n,i):r.set(n,i),i),Pe=(n,r,i)=>(Xu(n,r,"access private method"),i);var Al=(n,r,i,l)=>({set _(u){J(n,r,u,i)},get _(){return b(n,r,l)}});function s0(n,r){for(var i=0;i<r.length;i++){const l=r[i];if(typeof l!="string"&&!Array.isArray(l)){for(const u in l)if(u!=="default"&&!(u in n)){const c=Object.getOwnPropertyDescriptor(l,u);c&&Object.defineProperty(n,u,c.get?c:{enumerable:!0,get:()=>l[u]})}}}return Object.freeze(Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}))}function cm(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var Zu={exports:{}},os={},Ju={exports:{}},Me={};/**
2
2
  * @license React
3
3
  * react.production.min.js
4
4
  *
@@ -6,7 +6,7 @@ var qp=n=>{throw TypeError(n)};var Xu=(n,r,i)=>r.has(n)||qp("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 Yp;function l0(){if(Yp)return Te;Yp=1;var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),l=Symbol.for("react.strict_mode"),u=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"),y=Symbol.for("react.memo"),w=Symbol.for("react.lazy"),x=Symbol.iterator;function C(N){return N===null||typeof N!="object"?null:(N=x&&N[x]||N["@@iterator"],typeof N=="function"?N:null)}var v={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},O=Object.assign,S={};function k(N,F,ne){this.props=N,this.context=F,this.refs=S,this.updater=ne||v}k.prototype.isReactComponent={},k.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")},k.prototype.forceUpdate=function(N){this.updater.enqueueForceUpdate(this,N,"forceUpdate")};function P(){}P.prototype=k.prototype;function T(N,F,ne){this.props=N,this.context=F,this.refs=S,this.updater=ne||v}var R=T.prototype=new P;R.constructor=T,O(R,k.prototype),R.isPureReactComponent=!0;var L=Array.isArray,z=Object.prototype.hasOwnProperty,U={current:null},H={key:!0,ref:!0,__self:!0,__source:!0};function q(N,F,ne){var re,ye={},Se=null,K=null;if(F!=null)for(re in F.ref!==void 0&&(K=F.ref),F.key!==void 0&&(Se=""+F.key),F)z.call(F,re)&&!H.hasOwnProperty(re)&&(ye[re]=F[re]);var fe=arguments.length-2;if(fe===1)ye.children=ne;else if(1<fe){for(var ke=Array(fe),be=0;be<fe;be++)ke[be]=arguments[be+2];ye.children=ke}if(N&&N.defaultProps)for(re in fe=N.defaultProps,fe)ye[re]===void 0&&(ye[re]=fe[re]);return{$$typeof:n,type:N,key:Se,ref:K,props:ye,_owner:U.current}}function Z(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 X=/\/+/g;function ve(N,F){return typeof N=="object"&&N!==null&&N.key!=null?he(""+N.key):F.toString(36)}function ce(N,F,ne,re,ye){var Se=typeof N;(Se==="undefined"||Se==="boolean")&&(N=null);var K=!1;if(N===null)K=!0;else switch(Se){case"string":case"number":K=!0;break;case"object":switch(N.$$typeof){case n:case r:K=!0}}if(K)return K=N,ye=ye(K),N=re===""?"."+ve(K,0):re,L(ye)?(ne="",N!=null&&(ne=N.replace(X,"$&/")+"/"),ce(ye,F,ne,"",function(be){return be})):ye!=null&&(te(ye)&&(ye=Z(ye,ne+(!ye.key||K&&K.key===ye.key?"":(""+ye.key).replace(X,"$&/")+"/")+N)),F.push(ye)),1;if(K=0,re=re===""?".":re+":",L(N))for(var fe=0;fe<N.length;fe++){Se=N[fe];var ke=re+ve(Se,fe);K+=ce(Se,F,ne,ke,ye)}else if(ke=C(N),typeof ke=="function")for(N=ke.call(N),fe=0;!(Se=N.next()).done;)Se=Se.value,ke=re+ve(Se,fe++),K+=ce(Se,F,ne,ke,ye);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 K}function xe(N,F,ne){if(N==null)return N;var re=[],ye=0;return ce(N,re,"","",function(Se){return F.call(ne,Se,ye++)}),re}function ae(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 ie={current:null},j={transition:null},B={ReactCurrentDispatcher:ie,ReactCurrentBatchConfig:j,ReactCurrentOwner:U};function W(){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=k,Te.Fragment=i,Te.Profiler=u,Te.PureComponent=T,Te.StrictMode=l,Te.Suspense=h,Te.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=B,Te.act=W,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),ye=N.key,Se=N.ref,K=N._owner;if(F!=null){if(F.ref!==void 0&&(Se=F.ref,K=U.current),F.key!==void 0&&(ye=""+F.key),N.type&&N.type.defaultProps)var fe=N.type.defaultProps;for(ke in F)z.call(F,ke)&&!H.hasOwnProperty(ke)&&(re[ke]=F[ke]===void 0&&fe!==void 0?fe[ke]:F[ke])}var ke=arguments.length-2;if(ke===1)re.children=ne;else if(1<ke){fe=Array(ke);for(var be=0;be<ke;be++)fe[be]=arguments[be+2];re.children=fe}return{$$typeof:n,type:N.type,key:ye,ref:Se,props:re,_owner:K}},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=q,Te.createFactory=function(N){var F=q.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:ae}},Te.memo=function(N,F){return{$$typeof:y,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=W,Te.useCallback=function(N,F){return ie.current.useCallback(N,F)},Te.useContext=function(N){return ie.current.useContext(N)},Te.useDebugValue=function(){},Te.useDeferredValue=function(N){return ie.current.useDeferredValue(N)},Te.useEffect=function(N,F){return ie.current.useEffect(N,F)},Te.useId=function(){return ie.current.useId()},Te.useImperativeHandle=function(N,F,ne){return ie.current.useImperativeHandle(N,F,ne)},Te.useInsertionEffect=function(N,F){return ie.current.useInsertionEffect(N,F)},Te.useLayoutEffect=function(N,F){return ie.current.useLayoutEffect(N,F)},Te.useMemo=function(N,F){return ie.current.useMemo(N,F)},Te.useReducer=function(N,F,ne){return ie.current.useReducer(N,F,ne)},Te.useRef=function(N){return ie.current.useRef(N)},Te.useState=function(N){return ie.current.useState(N)},Te.useSyncExternalStore=function(N,F,ne){return ie.current.useSyncExternalStore(N,F,ne)},Te.useTransition=function(){return ie.current.useTransition()},Te.version="18.3.1",Te}var Gp;function Wc(){return Gp||(Gp=1,Ju.exports=l0()),Ju.exports}/**
9
+ */var Gp;function l0(){if(Gp)return Me;Gp=1;var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),l=Symbol.for("react.strict_mode"),u=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"),v=Symbol.for("react.memo"),w=Symbol.for("react.lazy"),x=Symbol.iterator;function E(N){return N===null||typeof N!="object"?null:(N=x&&N[x]||N["@@iterator"],typeof N=="function"?N:null)}var y={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||y}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 M(N,F,ne){this.props=N,this.context=F,this.refs=S,this.updater=ne||y}var R=M.prototype=new P;R.constructor=M,O(R,C.prototype),R.isPureReactComponent=!0;var L=Array.isArray,z=Object.prototype.hasOwnProperty,U={current:null},H={key:!0,ref:!0,__self:!0,__source:!0};function q(N,F,ne){var re,ve={},Se=null,K=null;if(F!=null)for(re in F.ref!==void 0&&(K=F.ref),F.key!==void 0&&(Se=""+F.key),F)z.call(F,re)&&!H.hasOwnProperty(re)&&(ve[re]=F[re]);var fe=arguments.length-2;if(fe===1)ve.children=ne;else if(1<fe){for(var Ce=Array(fe),be=0;be<fe;be++)Ce[be]=arguments[be+2];ve.children=Ce}if(N&&N.defaultProps)for(re in fe=N.defaultProps,fe)ve[re]===void 0&&(ve[re]=fe[re]);return{$$typeof:n,type:N,key:Se,ref:K,props:ve,_owner:U.current}}function Z(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 pe(N){var F={"=":"=0",":":"=2"};return"$"+N.replace(/[=:]/g,function(ne){return F[ne]})}var X=/\/+/g;function ye(N,F){return typeof N=="object"&&N!==null&&N.key!=null?pe(""+N.key):F.toString(36)}function ce(N,F,ne,re,ve){var Se=typeof N;(Se==="undefined"||Se==="boolean")&&(N=null);var K=!1;if(N===null)K=!0;else switch(Se){case"string":case"number":K=!0;break;case"object":switch(N.$$typeof){case n:case r:K=!0}}if(K)return K=N,ve=ve(K),N=re===""?"."+ye(K,0):re,L(ve)?(ne="",N!=null&&(ne=N.replace(X,"$&/")+"/"),ce(ve,F,ne,"",function(be){return be})):ve!=null&&(te(ve)&&(ve=Z(ve,ne+(!ve.key||K&&K.key===ve.key?"":(""+ve.key).replace(X,"$&/")+"/")+N)),F.push(ve)),1;if(K=0,re=re===""?".":re+":",L(N))for(var fe=0;fe<N.length;fe++){Se=N[fe];var Ce=re+ye(Se,fe);K+=ce(Se,F,ne,Ce,ve)}else if(Ce=E(N),typeof Ce=="function")for(N=Ce.call(N),fe=0;!(Se=N.next()).done;)Se=Se.value,Ce=re+ye(Se,fe++),K+=ce(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 K}function xe(N,F,ne){if(N==null)return N;var re=[],ve=0;return ce(N,re,"","",function(Se){return F.call(ne,Se,ve++)}),re}function ae(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 ie={current:null},j={transition:null},B={ReactCurrentDispatcher:ie,ReactCurrentBatchConfig:j,ReactCurrentOwner:U};function V(){throw Error("act(...) is not supported in production builds of React.")}return Me.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}},Me.Component=C,Me.Fragment=i,Me.Profiler=u,Me.PureComponent=M,Me.StrictMode=l,Me.Suspense=h,Me.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=B,Me.act=V,Me.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,K=N._owner;if(F!=null){if(F.ref!==void 0&&(Se=F.ref,K=U.current),F.key!==void 0&&(ve=""+F.key),N.type&&N.type.defaultProps)var fe=N.type.defaultProps;for(Ce in F)z.call(F,Ce)&&!H.hasOwnProperty(Ce)&&(re[Ce]=F[Ce]===void 0&&fe!==void 0?fe[Ce]:F[Ce])}var Ce=arguments.length-2;if(Ce===1)re.children=ne;else if(1<Ce){fe=Array(Ce);for(var be=0;be<Ce;be++)fe[be]=arguments[be+2];re.children=fe}return{$$typeof:n,type:N.type,key:ve,ref:Se,props:re,_owner:K}},Me.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},Me.createElement=q,Me.createFactory=function(N){var F=q.bind(null,N);return F.type=N,F},Me.createRef=function(){return{current:null}},Me.forwardRef=function(N){return{$$typeof:p,render:N}},Me.isValidElement=te,Me.lazy=function(N){return{$$typeof:w,_payload:{_status:-1,_result:N},_init:ae}},Me.memo=function(N,F){return{$$typeof:v,type:N,compare:F===void 0?null:F}},Me.startTransition=function(N){var F=j.transition;j.transition={};try{N()}finally{j.transition=F}},Me.unstable_act=V,Me.useCallback=function(N,F){return ie.current.useCallback(N,F)},Me.useContext=function(N){return ie.current.useContext(N)},Me.useDebugValue=function(){},Me.useDeferredValue=function(N){return ie.current.useDeferredValue(N)},Me.useEffect=function(N,F){return ie.current.useEffect(N,F)},Me.useId=function(){return ie.current.useId()},Me.useImperativeHandle=function(N,F,ne){return ie.current.useImperativeHandle(N,F,ne)},Me.useInsertionEffect=function(N,F){return ie.current.useInsertionEffect(N,F)},Me.useLayoutEffect=function(N,F){return ie.current.useLayoutEffect(N,F)},Me.useMemo=function(N,F){return ie.current.useMemo(N,F)},Me.useReducer=function(N,F,ne){return ie.current.useReducer(N,F,ne)},Me.useRef=function(N){return ie.current.useRef(N)},Me.useState=function(N){return ie.current.useState(N)},Me.useSyncExternalStore=function(N,F,ne){return ie.current.useSyncExternalStore(N,F,ne)},Me.useTransition=function(){return ie.current.useTransition()},Me.version="18.3.1",Me}var Yp;function Vc(){return Yp||(Yp=1,Ju.exports=l0()),Ju.exports}/**
10
10
  * @license React
11
11
  * react-jsx-runtime.production.min.js
12
12
  *
@@ -14,7 +14,7 @@ var qp=n=>{throw TypeError(n)};var Xu=(n,r,i)=>r.has(n)||qp("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 Xp;function a0(){if(Xp)return os;Xp=1;var n=Wc(),r=Symbol.for("react.element"),i=Symbol.for("react.fragment"),l=Object.prototype.hasOwnProperty,u=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,y){var w,x={},C=null,v=null;y!==void 0&&(C=""+y),h.key!==void 0&&(C=""+h.key),h.ref!==void 0&&(v=h.ref);for(w in h)l.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:C,ref:v,props:x,_owner:u.current}}return os.Fragment=i,os.jsx=f,os.jsxs=f,os}var Zp;function u0(){return Zp||(Zp=1,Zu.exports=a0()),Zu.exports}var ee=u0(),g=Wc();const G=cm(g),dm=s0({__proto__:null,default:G},[g]);var Dl={},ec={exports:{}},Ot={},tc={exports:{}},nc={};/**
17
+ */var Xp;function a0(){if(Xp)return os;Xp=1;var n=Vc(),r=Symbol.for("react.element"),i=Symbol.for("react.fragment"),l=Object.prototype.hasOwnProperty,u=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,v){var w,x={},E=null,y=null;v!==void 0&&(E=""+v),h.key!==void 0&&(E=""+h.key),h.ref!==void 0&&(y=h.ref);for(w in h)l.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:E,ref:y,props:x,_owner:u.current}}return os.Fragment=i,os.jsx=f,os.jsxs=f,os}var Zp;function u0(){return Zp||(Zp=1,Zu.exports=a0()),Zu.exports}var ee=u0(),g=Vc();const Y=cm(g),dm=s0({__proto__:null,default:Y},[g]);var Dl={},ec={exports:{}},Ot={},tc={exports:{}},nc={};/**
18
18
  * @license React
19
19
  * scheduler.production.min.js
20
20
  *
@@ -22,7 +22,7 @@ var qp=n=>{throw TypeError(n)};var Xu=(n,r,i)=>r.has(n)||qp("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 Jp;function c0(){return Jp||(Jp=1,(function(n){function r(j,B){var W=j.length;j.push(B);e:for(;0<W;){var N=W-1>>>1,F=j[N];if(0<u(F,B))j[N]=B,j[W]=F,W=N;else break e}}function i(j){return j.length===0?null:j[0]}function l(j){if(j.length===0)return null;var B=j[0],W=j.pop();if(W!==B){j[0]=W;e:for(var N=0,F=j.length,ne=F>>>1;N<ne;){var re=2*(N+1)-1,ye=j[re],Se=re+1,K=j[Se];if(0>u(ye,W))Se<F&&0>u(K,ye)?(j[N]=K,j[Se]=W,N=Se):(j[N]=ye,j[re]=W,N=re);else if(Se<F&&0>u(K,W))j[N]=K,j[Se]=W,N=Se;else break e}}return B}function u(j,B){var W=j.sortIndex-B.sortIndex;return W!==0?W: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=[],y=[],w=1,x=null,C=3,v=!1,O=!1,S=!1,k=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 R(j){for(var B=i(y);B!==null;){if(B.callback===null)l(y);else if(B.startTime<=j)l(y),B.sortIndex=B.expirationTime,r(h,B);else break;B=i(y)}}function L(j){if(S=!1,R(j),!O)if(i(h)!==null)O=!0,ae(z);else{var B=i(y);B!==null&&ie(L,B.startTime-j)}}function z(j,B){O=!1,S&&(S=!1,P(q),q=-1),v=!0;var W=C;try{for(R(B),x=i(h);x!==null&&(!(x.expirationTime>B)||j&&!he());){var N=x.callback;if(typeof N=="function"){x.callback=null,C=x.priorityLevel;var F=N(x.expirationTime<=B);B=n.unstable_now(),typeof F=="function"?x.callback=F:x===i(h)&&l(h),R(B)}else l(h);x=i(h)}if(x!==null)var ne=!0;else{var re=i(y);re!==null&&ie(L,re.startTime-B),ne=!1}return ne}finally{x=null,C=W,v=!1}}var U=!1,H=null,q=-1,Z=5,te=-1;function he(){return!(n.unstable_now()-te<Z)}function X(){if(H!==null){var j=n.unstable_now();te=j;var B=!0;try{B=H(!0,j)}finally{B?ve():(U=!1,H=null)}}else U=!1}var ve;if(typeof T=="function")ve=function(){T(X)};else if(typeof MessageChannel<"u"){var ce=new MessageChannel,xe=ce.port2;ce.port1.onmessage=X,ve=function(){xe.postMessage(null)}}else ve=function(){k(X,0)};function ae(j){H=j,U||(U=!0,ve())}function ie(j,B){q=k(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||v||(O=!0,ae(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"):Z=0<j?Math.floor(1e3/j):5},n.unstable_getCurrentPriorityLevel=function(){return C},n.unstable_getFirstCallbackNode=function(){return i(h)},n.unstable_next=function(j){switch(C){case 1:case 2:case 3:var B=3;break;default:B=C}var W=C;C=B;try{return j()}finally{C=W}},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 W=C;C=j;try{return B()}finally{C=W}},n.unstable_scheduleCallback=function(j,B,W){var N=n.unstable_now();switch(typeof W=="object"&&W!==null?(W=W.delay,W=typeof W=="number"&&0<W?N+W:N):W=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=W+F,j={id:w++,callback:B,priorityLevel:j,startTime:W,expirationTime:F,sortIndex:-1},W>N?(j.sortIndex=W,r(y,j),i(h)===null&&j===i(y)&&(S?(P(q),q=-1):S=!0,ie(L,W-N))):(j.sortIndex=F,r(h,j),O||v||(O=!0,ae(z))),j},n.unstable_shouldYield=he,n.unstable_wrapCallback=function(j){var B=C;return function(){var W=C;C=B;try{return j.apply(this,arguments)}finally{C=W}}}})(nc)),nc}var eh;function d0(){return eh||(eh=1,tc.exports=c0()),tc.exports}/**
25
+ */var Jp;function c0(){return Jp||(Jp=1,(function(n){function r(j,B){var V=j.length;j.push(B);e:for(;0<V;){var N=V-1>>>1,F=j[N];if(0<u(F,B))j[N]=B,j[V]=F,V=N;else break e}}function i(j){return j.length===0?null:j[0]}function l(j){if(j.length===0)return null;var B=j[0],V=j.pop();if(V!==B){j[0]=V;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,K=j[Se];if(0>u(ve,V))Se<F&&0>u(K,ve)?(j[N]=K,j[Se]=V,N=Se):(j[N]=ve,j[re]=V,N=re);else if(Se<F&&0>u(K,V))j[N]=K,j[Se]=V,N=Se;else break e}}return B}function u(j,B){var V=j.sortIndex-B.sortIndex;return V!==0?V: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=[],v=[],w=1,x=null,E=3,y=!1,O=!1,S=!1,C=typeof setTimeout=="function"?setTimeout:null,P=typeof clearTimeout=="function"?clearTimeout:null,M=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function R(j){for(var B=i(v);B!==null;){if(B.callback===null)l(v);else if(B.startTime<=j)l(v),B.sortIndex=B.expirationTime,r(h,B);else break;B=i(v)}}function L(j){if(S=!1,R(j),!O)if(i(h)!==null)O=!0,ae(z);else{var B=i(v);B!==null&&ie(L,B.startTime-j)}}function z(j,B){O=!1,S&&(S=!1,P(q),q=-1),y=!0;var V=E;try{for(R(B),x=i(h);x!==null&&(!(x.expirationTime>B)||j&&!pe());){var N=x.callback;if(typeof N=="function"){x.callback=null,E=x.priorityLevel;var F=N(x.expirationTime<=B);B=n.unstable_now(),typeof F=="function"?x.callback=F:x===i(h)&&l(h),R(B)}else l(h);x=i(h)}if(x!==null)var ne=!0;else{var re=i(v);re!==null&&ie(L,re.startTime-B),ne=!1}return ne}finally{x=null,E=V,y=!1}}var U=!1,H=null,q=-1,Z=5,te=-1;function pe(){return!(n.unstable_now()-te<Z)}function X(){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 M=="function")ye=function(){M(X)};else if(typeof MessageChannel<"u"){var ce=new MessageChannel,xe=ce.port2;ce.port1.onmessage=X,ye=function(){xe.postMessage(null)}}else ye=function(){C(X,0)};function ae(j){H=j,U||(U=!0,ye())}function ie(j,B){q=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||y||(O=!0,ae(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"):Z=0<j?Math.floor(1e3/j):5},n.unstable_getCurrentPriorityLevel=function(){return E},n.unstable_getFirstCallbackNode=function(){return i(h)},n.unstable_next=function(j){switch(E){case 1:case 2:case 3:var B=3;break;default:B=E}var V=E;E=B;try{return j()}finally{E=V}},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 V=E;E=j;try{return B()}finally{E=V}},n.unstable_scheduleCallback=function(j,B,V){var N=n.unstable_now();switch(typeof V=="object"&&V!==null?(V=V.delay,V=typeof V=="number"&&0<V?N+V:N):V=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=V+F,j={id:w++,callback:B,priorityLevel:j,startTime:V,expirationTime:F,sortIndex:-1},V>N?(j.sortIndex=V,r(v,j),i(h)===null&&j===i(v)&&(S?(P(q),q=-1):S=!0,ie(L,V-N))):(j.sortIndex=F,r(h,j),O||y||(O=!0,ae(z))),j},n.unstable_shouldYield=pe,n.unstable_wrapCallback=function(j){var B=E;return function(){var V=E;E=B;try{return j.apply(this,arguments)}finally{E=V}}}})(nc)),nc}var eh;function d0(){return eh||(eh=1,tc.exports=c0()),tc.exports}/**
26
26
  * @license React
27
27
  * react-dom.production.min.js
28
28
  *
@@ -30,14 +30,14 @@ var qp=n=>{throw TypeError(n)};var Xu=(n,r,i)=>r.has(n)||qp("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 th;function f0(){if(th)return Ot;th=1;var n=Wc(),r=d0();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 l=new Set,u={};function c(e,t){f(e,t),f(e+"Capture",t)}function f(e,t){for(u[e]=t,e=0;e<t.length;e++)l.add(t[e])}var p=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),h=Object.prototype.hasOwnProperty,y=/^[: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 C(e){return h.call(x,e)?!0:h.call(w,e)?!1:y.test(e)?x[e]=!0:(w[e]=!0,!1)}function v(e,t,o,s){if(o!==null&&o.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return s?!1:o!==null?!o.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function O(e,t,o,s){if(t===null||typeof t>"u"||v(e,t,o,s))return!0;if(s)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,s,a,d,m){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=s,this.attributeNamespace=a,this.mustUseProperty=o,this.propertyName=e,this.type=t,this.sanitizeURL=d,this.removeEmptyString=m}var k={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){k[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];k[t]=new S(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){k[e]=new S(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){k[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){k[e]=new S(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){k[e]=new S(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){k[e]=new S(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){k[e]=new S(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){k[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);k[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);k[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);k[t]=new S(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){k[e]=new S(e,1,!1,e.toLowerCase(),null,!1,!1)}),k.xlinkHref=new S("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){k[e]=new S(e,1,!1,e.toLowerCase(),null,!0,!0)});function R(e,t,o,s){var a=k.hasOwnProperty(t)?k[t]:null;(a!==null?a.type!==0:s||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(O(t,o,a,s)&&(o=null),s||a===null?C(t)&&(o===null?e.removeAttribute(t):e.setAttribute(t,""+o)):a.mustUseProperty?e[a.propertyName]=o===null?a.type===3?!1:"":o:(t=a.attributeName,s=a.attributeNamespace,o===null?e.removeAttribute(t):(a=a.type,o=a===3||a===4&&o===!0?"":""+o,s?e.setAttributeNS(s,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"),q=Symbol.for("react.strict_mode"),Z=Symbol.for("react.profiler"),te=Symbol.for("react.provider"),he=Symbol.for("react.context"),X=Symbol.for("react.forward_ref"),ve=Symbol.for("react.suspense"),ce=Symbol.for("react.suspense_list"),xe=Symbol.for("react.memo"),ae=Symbol.for("react.lazy"),ie=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 W=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`
33
+ */var th;function f0(){if(th)return Ot;th=1;var n=Vc(),r=d0();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 l=new Set,u={};function c(e,t){f(e,t),f(e+"Capture",t)}function f(e,t){for(u[e]=t,e=0;e<t.length;e++)l.add(t[e])}var p=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),h=Object.prototype.hasOwnProperty,v=/^[: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 E(e){return h.call(x,e)?!0:h.call(w,e)?!1:v.test(e)?x[e]=!0:(w[e]=!0,!1)}function y(e,t,o,s){if(o!==null&&o.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return s?!1:o!==null?!o.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function O(e,t,o,s){if(t===null||typeof t>"u"||y(e,t,o,s))return!0;if(s)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,s,a,d,m){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=s,this.attributeNamespace=a,this.mustUseProperty=o,this.propertyName=e,this.type=t,this.sanitizeURL=d,this.removeEmptyString=m}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 M(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,M);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,M);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,M);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 R(e,t,o,s){var a=C.hasOwnProperty(t)?C[t]:null;(a!==null?a.type!==0:s||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(O(t,o,a,s)&&(o=null),s||a===null?E(t)&&(o===null?e.removeAttribute(t):e.setAttribute(t,""+o)):a.mustUseProperty?e[a.propertyName]=o===null?a.type===3?!1:"":o:(t=a.attributeName,s=a.attributeNamespace,o===null?e.removeAttribute(t):(a=a.type,o=a===3||a===4&&o===!0?"":""+o,s?e.setAttributeNS(s,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"),q=Symbol.for("react.strict_mode"),Z=Symbol.for("react.profiler"),te=Symbol.for("react.provider"),pe=Symbol.for("react.context"),X=Symbol.for("react.forward_ref"),ye=Symbol.for("react.suspense"),ce=Symbol.for("react.suspense_list"),xe=Symbol.for("react.memo"),ae=Symbol.for("react.lazy"),ie=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 V=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 s=D}Reflect.construct(e,[],t)}else{try{t.call()}catch(D){s=D}e.call(t.prototype)}else{try{throw Error()}catch(D){s=D}e()}}catch(D){if(D&&s&&typeof D.stack=="string"){for(var a=D.stack.split(`
35
35
  `),d=s.stack.split(`
36
- `),m=a.length-1,E=d.length-1;1<=m&&0<=E&&a[m]!==d[E];)E--;for(;1<=m&&0<=E;m--,E--)if(a[m]!==d[E]){if(m!==1||E!==1)do if(m--,E--,0>E||a[m]!==d[E]){var M=`
37
- `+a[m].replace(" at new "," at ");return e.displayName&&M.includes("<anonymous>")&&(M=M.replace("<anonymous>",e.displayName)),M}while(1<=m&&0<=E);break}}}finally{ne=!1,Error.prepareStackTrace=o}return(e=e?e.displayName||e.name:"")?F(e):""}function ye(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 Z:return"Profiler";case q:return"StrictMode";case ve:return"Suspense";case ce: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 X: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 ae:t=e._payload,e=e._init;try{return Se(e(t))}catch{}}return null}function K(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===q?"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 fe(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function ke(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function be(e){var t=ke(e)?"checked":"value",o=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),s=""+e[t];if(!e.hasOwnProperty(t)&&typeof o<"u"&&typeof o.get=="function"&&typeof o.set=="function"){var a=o.get,d=o.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(m){s=""+m,d.call(this,m)}}),Object.defineProperty(e,t,{enumerable:o.enumerable}),{getValue:function(){return s},setValue:function(m){s=""+m},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(),s="";return e&&(s=ke(e)?e.checked?"true":"false":e.value),e=s,e!==o?(t.setValue(e),!0):!1}function qe(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 W({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:o??e._wrapperState.initialChecked})}function vn(e,t){var o=t.defaultValue==null?"":t.defaultValue,s=t.checked!=null?t.checked:t.defaultChecked;o=fe(t.value!=null?t.value:o),e._wrapperState={initialChecked:s,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=fe(t.value),s=t.type;if(o!=null)s==="number"?(o===0&&e.value===""||e.value!=o)&&(e.value=""+o):e.value!==""+o&&(e.value=""+o);else if(s==="submit"||s==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?gn(e,t.type,o):t.hasOwnProperty("defaultValue")&&gn(e,t.type,fe(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function or(e,t,o){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var s=t.type;if(!(s!=="submit"&&s!=="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 gn(e,t,o){(t!=="number"||qe(e.ownerDocument)!==e)&&(o==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+o&&(e.defaultValue=""+o))}var ir=Array.isArray;function Ht(e,t,o,s){if(e=e.options,t){t={};for(var a=0;a<o.length;a++)t["$"+o[a]]=!0;for(o=0;o<e.length;o++)a=t.hasOwnProperty("$"+e[o].value),e[o].selected!==a&&(e[o].selected=a),a&&s&&(e[o].defaultSelected=!0)}else{for(o=""+fe(o),t=null,a=0;a<e.length;a++){if(e[a].value===o){e[a].selected=!0,s&&(e[a].defaultSelected=!0);return}t!==null||e[a].disabled||(t=e[a])}t!==null&&(t.selected=!0)}}function ko(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(i(91));return W({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function wn(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(ir(o)){if(1<o.length)throw Error(i(93));o=o[0]}t=o}t==null&&(t=""),o=t}e._wrapperState={initialValue:fe(o)}}function ks(e,t){var o=fe(t.value),s=fe(t.defaultValue);o!=null&&(o=""+o,o!==e.value&&(e.value=o),t.defaultValue==null&&e.defaultValue!==o&&(e.defaultValue=o)),s!=null&&(e.defaultValue=""+s)}function Cs(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function vt(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 xn(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?vt(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Co,Es=(function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,o,s,a){MSApp.execUnsafeLocalFunction(function(){return e(t,o,s,a)})}:e})(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(Co=Co||document.createElement("div"),Co.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Co.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Sn(e,t){if(t){var o=e.firstChild;if(o&&o===e.lastChild&&o.nodeType===3){o.nodeValue=t;return}}e.textContent=t}var Wr={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},bs=["Webkit","ms","Moz","O"];Object.keys(Wr).forEach(function(e){bs.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Wr[t]=Wr[e]})});function Eo(e,t,o){return t==null||typeof t=="boolean"||t===""?"":o||typeof t!="number"||t===0||Wr.hasOwnProperty(e)&&Wr[e]?(""+t).trim():t+"px"}function zn(e,t){e=e.style;for(var o in t)if(t.hasOwnProperty(o)){var s=o.indexOf("--")===0,a=Eo(o,t[o],s);o==="float"&&(o="cssFloat"),s?e.setProperty(o,a):e[o]=a}}var Rs=W({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(Rs[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 ki(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 Ci=null;function bo(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ro=null,sr=null,Cn=null;function Jt(e){if(e=$i(e)){if(typeof Ro!="function")throw Error(i(280));var t=e.stateNode;t&&(t=Gs(t),Ro(e.stateNode,e.type,t))}}function Ps(e){sr?Cn?Cn.push(e):Cn=[e]:sr=e}function Ee(){if(sr){var e=sr,t=Cn;if(Cn=sr=null,Jt(e),t)for(e=0;e<t.length;e++)Jt(t[e])}}function Ie(e,t){return e(t)}function Fe(){}var gt=!1;function Ct(e,t,o){if(gt)return e(t,o);gt=!0;try{return Ie(e,t,o)}finally{gt=!1,(sr!==null||Cn!==null)&&(Fe(),Ee())}}function Et(e,t){var o=e.stateNode;if(o===null)return null;var s=Gs(o);if(s===null)return null;o=s[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":(s=!s.disabled)||(e=e.type,s=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!s;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 En(e,t,o,s,a,d,m,E,M){var D=Array.prototype.slice.call(arguments,3);try{t.apply(o,D)}catch(V){this.onError(V)}}var Ei=!1,Ms=null,Ts=!1,ya=null,pv={onError:function(e){Ei=!0,Ms=e}};function hv(e,t,o,s,a,d,m,E,M){Ei=!1,Ms=null,En.apply(pv,arguments)}function mv(e,t,o,s,a,d,m,E,M){if(hv.apply(this,arguments),Ei){if(Ei){var D=Ms;Ei=!1,Ms=null}else throw Error(i(198));Ts||(Ts=!0,ya=D)}}function Qr(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 yd(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 vd(e){if(Qr(e)!==e)throw Error(i(188))}function yv(e){var t=e.alternate;if(!t){if(t=Qr(e),t===null)throw Error(i(188));return t!==e?null:e}for(var o=e,s=t;;){var a=o.return;if(a===null)break;var d=a.alternate;if(d===null){if(s=a.return,s!==null){o=s;continue}break}if(a.child===d.child){for(d=a.child;d;){if(d===o)return vd(a),e;if(d===s)return vd(a),t;d=d.sibling}throw Error(i(188))}if(o.return!==s.return)o=a,s=d;else{for(var m=!1,E=a.child;E;){if(E===o){m=!0,o=a,s=d;break}if(E===s){m=!0,s=a,o=d;break}E=E.sibling}if(!m){for(E=d.child;E;){if(E===o){m=!0,o=d,s=a;break}if(E===s){m=!0,s=d,o=a;break}E=E.sibling}if(!m)throw Error(i(189))}}if(o.alternate!==s)throw Error(i(190))}if(o.tag!==3)throw Error(i(188));return o.stateNode.current===o?e:t}function gd(e){return e=yv(e),e!==null?wd(e):null}function wd(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=wd(e);if(t!==null)return t;e=e.sibling}return null}var xd=r.unstable_scheduleCallback,Sd=r.unstable_cancelCallback,vv=r.unstable_shouldYield,gv=r.unstable_requestPaint,Ye=r.unstable_now,wv=r.unstable_getCurrentPriorityLevel,va=r.unstable_ImmediatePriority,kd=r.unstable_UserBlockingPriority,Os=r.unstable_NormalPriority,xv=r.unstable_LowPriority,Cd=r.unstable_IdlePriority,Ns=null,bn=null;function Sv(e){if(bn&&typeof bn.onCommitFiberRoot=="function")try{bn.onCommitFiberRoot(Ns,e,void 0,(e.current.flags&128)===128)}catch{}}var tn=Math.clz32?Math.clz32:Ev,kv=Math.log,Cv=Math.LN2;function Ev(e){return e>>>=0,e===0?32:31-(kv(e)/Cv|0)|0}var _s=64,Ls=4194304;function bi(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 Is(e,t){var o=e.pendingLanes;if(o===0)return 0;var s=0,a=e.suspendedLanes,d=e.pingedLanes,m=o&268435455;if(m!==0){var E=m&~a;E!==0?s=bi(E):(d&=m,d!==0&&(s=bi(d)))}else m=o&~a,m!==0?s=bi(m):d!==0&&(s=bi(d));if(s===0)return 0;if(t!==0&&t!==s&&(t&a)===0&&(a=s&-s,d=t&-t,a>=d||a===16&&(d&4194240)!==0))return t;if((s&4)!==0&&(s|=o&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=s;0<t;)o=31-tn(t),a=1<<o,s|=e[o],t&=~a;return s}function bv(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 Rv(e,t){for(var o=e.suspendedLanes,s=e.pingedLanes,a=e.expirationTimes,d=e.pendingLanes;0<d;){var m=31-tn(d),E=1<<m,M=a[m];M===-1?((E&o)===0||(E&s)!==0)&&(a[m]=bv(E,t)):M<=t&&(e.expiredLanes|=E),d&=~E}}function ga(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Ed(){var e=_s;return _s<<=1,(_s&4194240)===0&&(_s=64),e}function wa(e){for(var t=[],o=0;31>o;o++)t.push(e);return t}function Ri(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 Pv(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 s=e.eventTimes;for(e=e.expirationTimes;0<o;){var a=31-tn(o),d=1<<a;t[a]=0,s[a]=-1,e[a]=-1,o&=~d}}function xa(e,t){var o=e.entangledLanes|=t;for(e=e.entanglements;o;){var s=31-tn(o),a=1<<s;a&t|e[s]&t&&(e[s]|=t),o&=~a}}var De=0;function bd(e){return e&=-e,1<e?4<e?(e&268435455)!==0?16:536870912:4:1}var Rd,Sa,Pd,Md,Td,ka=!1,As=[],lr=null,ar=null,ur=null,Pi=new Map,Mi=new Map,cr=[],Mv="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 Od(e,t){switch(e){case"focusin":case"focusout":lr=null;break;case"dragenter":case"dragleave":ar=null;break;case"mouseover":case"mouseout":ur=null;break;case"pointerover":case"pointerout":Pi.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Mi.delete(t.pointerId)}}function Ti(e,t,o,s,a,d){return e===null||e.nativeEvent!==d?(e={blockedOn:t,domEventName:o,eventSystemFlags:s,nativeEvent:d,targetContainers:[a]},t!==null&&(t=$i(t),t!==null&&Sa(t)),e):(e.eventSystemFlags|=s,t=e.targetContainers,a!==null&&t.indexOf(a)===-1&&t.push(a),e)}function Tv(e,t,o,s,a){switch(t){case"focusin":return lr=Ti(lr,e,t,o,s,a),!0;case"dragenter":return ar=Ti(ar,e,t,o,s,a),!0;case"mouseover":return ur=Ti(ur,e,t,o,s,a),!0;case"pointerover":var d=a.pointerId;return Pi.set(d,Ti(Pi.get(d)||null,e,t,o,s,a)),!0;case"gotpointercapture":return d=a.pointerId,Mi.set(d,Ti(Mi.get(d)||null,e,t,o,s,a)),!0}return!1}function Nd(e){var t=Kr(e.target);if(t!==null){var o=Qr(t);if(o!==null){if(t=o.tag,t===13){if(t=yd(o),t!==null){e.blockedOn=t,Td(e.priority,function(){Pd(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 Ds(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var o=Ea(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(o===null){o=e.nativeEvent;var s=new o.constructor(o.type,o);Ci=s,o.target.dispatchEvent(s),Ci=null}else return t=$i(o),t!==null&&Sa(t),e.blockedOn=o,!1;t.shift()}return!0}function _d(e,t,o){Ds(e)&&o.delete(t)}function Ov(){ka=!1,lr!==null&&Ds(lr)&&(lr=null),ar!==null&&Ds(ar)&&(ar=null),ur!==null&&Ds(ur)&&(ur=null),Pi.forEach(_d),Mi.forEach(_d)}function Oi(e,t){e.blockedOn===t&&(e.blockedOn=null,ka||(ka=!0,r.unstable_scheduleCallback(r.unstable_NormalPriority,Ov)))}function Ni(e){function t(a){return Oi(a,e)}if(0<As.length){Oi(As[0],e);for(var o=1;o<As.length;o++){var s=As[o];s.blockedOn===e&&(s.blockedOn=null)}}for(lr!==null&&Oi(lr,e),ar!==null&&Oi(ar,e),ur!==null&&Oi(ur,e),Pi.forEach(t),Mi.forEach(t),o=0;o<cr.length;o++)s=cr[o],s.blockedOn===e&&(s.blockedOn=null);for(;0<cr.length&&(o=cr[0],o.blockedOn===null);)Nd(o),o.blockedOn===null&&cr.shift()}var Po=L.ReactCurrentBatchConfig,Fs=!0;function Nv(e,t,o,s){var a=De,d=Po.transition;Po.transition=null;try{De=1,Ca(e,t,o,s)}finally{De=a,Po.transition=d}}function _v(e,t,o,s){var a=De,d=Po.transition;Po.transition=null;try{De=4,Ca(e,t,o,s)}finally{De=a,Po.transition=d}}function Ca(e,t,o,s){if(Fs){var a=Ea(e,t,o,s);if(a===null)Ua(e,t,s,zs,o),Od(e,s);else if(Tv(a,e,t,o,s))s.stopPropagation();else if(Od(e,s),t&4&&-1<Mv.indexOf(e)){for(;a!==null;){var d=$i(a);if(d!==null&&Rd(d),d=Ea(e,t,o,s),d===null&&Ua(e,t,s,zs,o),d===a)break;a=d}a!==null&&s.stopPropagation()}else Ua(e,t,s,null,o)}}var zs=null;function Ea(e,t,o,s){if(zs=null,e=bo(s),e=Kr(e),e!==null)if(t=Qr(e),t===null)e=null;else if(o=t.tag,o===13){if(e=yd(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 zs=e,null}function Ld(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(wv()){case va:return 1;case kd:return 4;case Os:case xv:return 16;case Cd:return 536870912;default:return 16}default:return 16}}var dr=null,ba=null,js=null;function Id(){if(js)return js;var e,t=ba,o=t.length,s,a="value"in dr?dr.value:dr.textContent,d=a.length;for(e=0;e<o&&t[e]===a[e];e++);var m=o-e;for(s=1;s<=m&&t[o-s]===a[d-s];s++);return js=a.slice(e,1<s?1-s:void 0)}function Bs(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 Us(){return!0}function Ad(){return!1}function At(e){function t(o,s,a,d,m){this._reactName=o,this._targetInst=a,this.type=s,this.nativeEvent=d,this.target=m,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)?Us:Ad,this.isPropagationStopped=Ad,this}return W(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=Us)},stopPropagation:function(){var o=this.nativeEvent;o&&(o.stopPropagation?o.stopPropagation():typeof o.cancelBubble!="unknown"&&(o.cancelBubble=!0),this.isPropagationStopped=Us)},persist:function(){},isPersistent:Us}),t}var Mo={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Ra=At(Mo),_i=W({},Mo,{view:0,detail:0}),Lv=At(_i),Pa,Ma,Li,Hs=W({},_i,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Oa,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!==Li&&(Li&&e.type==="mousemove"?(Pa=e.screenX-Li.screenX,Ma=e.screenY-Li.screenY):Ma=Pa=0,Li=e),Pa)},movementY:function(e){return"movementY"in e?e.movementY:Ma}}),Dd=At(Hs),Iv=W({},Hs,{dataTransfer:0}),Av=At(Iv),Dv=W({},_i,{relatedTarget:0}),Ta=At(Dv),Fv=W({},Mo,{animationName:0,elapsedTime:0,pseudoElement:0}),zv=At(Fv),jv=W({},Mo,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Bv=At(jv),Uv=W({},Mo,{data:0}),Fd=At(Uv),Hv={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},$v={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"},Vv={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Wv(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Vv[e])?!!t[e]:!1}function Oa(){return Wv}var Qv=W({},_i,{key:function(e){if(e.key){var t=Hv[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Bs(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?$v[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Oa,charCode:function(e){return e.type==="keypress"?Bs(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Bs(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Kv=At(Qv),qv=W({},Hs,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),zd=At(qv),Yv=W({},_i,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Oa}),Gv=At(Yv),Xv=W({},Mo,{propertyName:0,elapsedTime:0,pseudoElement:0}),Zv=At(Xv),Jv=W({},Hs,{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}),eg=At(Jv),tg=[9,13,27,32],Na=p&&"CompositionEvent"in window,Ii=null;p&&"documentMode"in document&&(Ii=document.documentMode);var ng=p&&"TextEvent"in window&&!Ii,jd=p&&(!Na||Ii&&8<Ii&&11>=Ii),Bd=" ",Ud=!1;function Hd(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 $d(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var To=!1;function rg(e,t){switch(e){case"compositionend":return $d(t);case"keypress":return t.which!==32?null:(Ud=!0,Bd);case"textInput":return e=t.data,e===Bd&&Ud?null:e;default:return null}}function og(e,t){if(To)return e==="compositionend"||!Na&&Hd(e,t)?(e=Id(),js=ba=dr=null,To=!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 ig={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 Vd(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!ig[e.type]:t==="textarea"}function Wd(e,t,o,s){Ps(s),t=Ks(t,"onChange"),0<t.length&&(o=new Ra("onChange","change",null,o,s),e.push({event:o,listeners:t}))}var Ai=null,Di=null;function sg(e){cf(e,0)}function $s(e){var t=Io(e);if(Oe(t))return e}function lg(e,t){if(e==="change")return t}var Qd=!1;if(p){var _a;if(p){var La="oninput"in document;if(!La){var Kd=document.createElement("div");Kd.setAttribute("oninput","return;"),La=typeof Kd.oninput=="function"}_a=La}else _a=!1;Qd=_a&&(!document.documentMode||9<document.documentMode)}function qd(){Ai&&(Ai.detachEvent("onpropertychange",Yd),Di=Ai=null)}function Yd(e){if(e.propertyName==="value"&&$s(Di)){var t=[];Wd(t,Di,e,bo(e)),Ct(sg,t)}}function ag(e,t,o){e==="focusin"?(qd(),Ai=t,Di=o,Ai.attachEvent("onpropertychange",Yd)):e==="focusout"&&qd()}function ug(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return $s(Di)}function cg(e,t){if(e==="click")return $s(t)}function dg(e,t){if(e==="input"||e==="change")return $s(t)}function fg(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var nn=typeof Object.is=="function"?Object.is:fg;function Fi(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),s=Object.keys(t);if(o.length!==s.length)return!1;for(s=0;s<o.length;s++){var a=o[s];if(!h.call(t,a)||!nn(e[a],t[a]))return!1}return!0}function Gd(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Xd(e,t){var o=Gd(e);e=0;for(var s;o;){if(o.nodeType===3){if(s=e+o.textContent.length,e<=t&&s>=t)return{node:o,offset:t-e};e=s}e:{for(;o;){if(o.nextSibling){o=o.nextSibling;break e}o=o.parentNode}o=void 0}o=Gd(o)}}function Zd(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Zd(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Jd(){for(var e=window,t=qe();t instanceof e.HTMLIFrameElement;){try{var o=typeof t.contentWindow.location.href=="string"}catch{o=!1}if(o)e=t.contentWindow;else break;t=qe(e.document)}return t}function Ia(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 pg(e){var t=Jd(),o=e.focusedElem,s=e.selectionRange;if(t!==o&&o&&o.ownerDocument&&Zd(o.ownerDocument.documentElement,o)){if(s!==null&&Ia(o)){if(t=s.start,e=s.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 a=o.textContent.length,d=Math.min(s.start,a);s=s.end===void 0?d:Math.min(s.end,a),!e.extend&&d>s&&(a=s,s=d,d=a),a=Xd(o,d);var m=Xd(o,s);a&&m&&(e.rangeCount!==1||e.anchorNode!==a.node||e.anchorOffset!==a.offset||e.focusNode!==m.node||e.focusOffset!==m.offset)&&(t=t.createRange(),t.setStart(a.node,a.offset),e.removeAllRanges(),d>s?(e.addRange(t),e.extend(m.node,m.offset)):(t.setEnd(m.node,m.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,Oo=null,Aa=null,zi=null,Da=!1;function ef(e,t,o){var s=o.window===o?o.document:o.nodeType===9?o:o.ownerDocument;Da||Oo==null||Oo!==qe(s)||(s=Oo,"selectionStart"in s&&Ia(s)?s={start:s.selectionStart,end:s.selectionEnd}:(s=(s.ownerDocument&&s.ownerDocument.defaultView||window).getSelection(),s={anchorNode:s.anchorNode,anchorOffset:s.anchorOffset,focusNode:s.focusNode,focusOffset:s.focusOffset}),zi&&Fi(zi,s)||(zi=s,s=Ks(Aa,"onSelect"),0<s.length&&(t=new Ra("onSelect","select",null,t,o),e.push({event:t,listeners:s}),t.target=Oo)))}function Vs(e,t){var o={};return o[e.toLowerCase()]=t.toLowerCase(),o["Webkit"+e]="webkit"+t,o["Moz"+e]="moz"+t,o}var No={animationend:Vs("Animation","AnimationEnd"),animationiteration:Vs("Animation","AnimationIteration"),animationstart:Vs("Animation","AnimationStart"),transitionend:Vs("Transition","TransitionEnd")},Fa={},tf={};p&&(tf=document.createElement("div").style,"AnimationEvent"in window||(delete No.animationend.animation,delete No.animationiteration.animation,delete No.animationstart.animation),"TransitionEvent"in window||delete No.transitionend.transition);function Ws(e){if(Fa[e])return Fa[e];if(!No[e])return e;var t=No[e],o;for(o in t)if(t.hasOwnProperty(o)&&o in tf)return Fa[e]=t[o];return e}var nf=Ws("animationend"),rf=Ws("animationiteration"),of=Ws("animationstart"),sf=Ws("transitionend"),lf=new Map,af="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 fr(e,t){lf.set(e,t),c(t,[e])}for(var za=0;za<af.length;za++){var ja=af[za],mg=ja.toLowerCase(),yg=ja[0].toUpperCase()+ja.slice(1);fr(mg,"on"+yg)}fr(nf,"onAnimationEnd"),fr(rf,"onAnimationIteration"),fr(of,"onAnimationStart"),fr("dblclick","onDoubleClick"),fr("focusin","onFocus"),fr("focusout","onBlur"),fr(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 ji="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(ji));function uf(e,t,o){var s=e.type||"unknown-event";e.currentTarget=o,mv(s,t,void 0,e),e.currentTarget=null}function cf(e,t){t=(t&4)!==0;for(var o=0;o<e.length;o++){var s=e[o],a=s.event;s=s.listeners;e:{var d=void 0;if(t)for(var m=s.length-1;0<=m;m--){var E=s[m],M=E.instance,D=E.currentTarget;if(E=E.listener,M!==d&&a.isPropagationStopped())break e;uf(a,E,D),d=M}else for(m=0;m<s.length;m++){if(E=s[m],M=E.instance,D=E.currentTarget,E=E.listener,M!==d&&a.isPropagationStopped())break e;uf(a,E,D),d=M}}}if(Ts)throw e=ya,Ts=!1,ya=null,e}function je(e,t){var o=t[Ka];o===void 0&&(o=t[Ka]=new Set);var s=e+"__bubble";o.has(s)||(df(t,e,2,!1),o.add(s))}function Ba(e,t,o){var s=0;t&&(s|=4),df(o,e,s,t)}var Qs="_reactListening"+Math.random().toString(36).slice(2);function Bi(e){if(!e[Qs]){e[Qs]=!0,l.forEach(function(o){o!=="selectionchange"&&(vg.has(o)||Ba(o,!1,e),Ba(o,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Qs]||(t[Qs]=!0,Ba("selectionchange",!1,t))}}function df(e,t,o,s){switch(Ld(t)){case 1:var a=Nv;break;case 4:a=_v;break;default:a=Ca}o=a.bind(null,t,o,e),a=void 0,!en||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(a=!0),s?a!==void 0?e.addEventListener(t,o,{capture:!0,passive:a}):e.addEventListener(t,o,!0):a!==void 0?e.addEventListener(t,o,{passive:a}):e.addEventListener(t,o,!1)}function Ua(e,t,o,s,a){var d=s;if((t&1)===0&&(t&2)===0&&s!==null)e:for(;;){if(s===null)return;var m=s.tag;if(m===3||m===4){var E=s.stateNode.containerInfo;if(E===a||E.nodeType===8&&E.parentNode===a)break;if(m===4)for(m=s.return;m!==null;){var M=m.tag;if((M===3||M===4)&&(M=m.stateNode.containerInfo,M===a||M.nodeType===8&&M.parentNode===a))return;m=m.return}for(;E!==null;){if(m=Kr(E),m===null)return;if(M=m.tag,M===5||M===6){s=d=m;continue e}E=E.parentNode}}s=s.return}Ct(function(){var D=d,V=bo(o),Q=[];e:{var $=lf.get(e);if($!==void 0){var oe=Ra,le=e;switch(e){case"keypress":if(Bs(o)===0)break e;case"keydown":case"keyup":oe=Kv;break;case"focusin":le="focus",oe=Ta;break;case"focusout":le="blur",oe=Ta;break;case"beforeblur":case"afterblur":oe=Ta;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=Dd;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":oe=Av;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":oe=Gv;break;case nf:case rf:case of:oe=zv;break;case sf:oe=Zv;break;case"scroll":oe=Lv;break;case"wheel":oe=eg;break;case"copy":case"cut":case"paste":oe=Bv;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":oe=zd}var ue=(t&4)!==0,Ge=!ue&&e==="scroll",I=ue?$!==null?$+"Capture":null:$;ue=[];for(var _=D,A;_!==null;){A=_;var Y=A.stateNode;if(A.tag===5&&Y!==null&&(A=Y,I!==null&&(Y=Et(_,I),Y!=null&&ue.push(Ui(_,Y,A)))),Ge)break;_=_.return}0<ue.length&&($=new oe($,le,null,o,V),Q.push({event:$,listeners:ue}))}}if((t&7)===0){e:{if($=e==="mouseover"||e==="pointerover",oe=e==="mouseout"||e==="pointerout",$&&o!==Ci&&(le=o.relatedTarget||o.fromElement)&&(Kr(le)||le[jn]))break e;if((oe||$)&&($=V.window===V?V:($=V.ownerDocument)?$.defaultView||$.parentWindow:window,oe?(le=o.relatedTarget||o.toElement,oe=D,le=le?Kr(le):null,le!==null&&(Ge=Qr(le),le!==Ge||le.tag!==5&&le.tag!==6)&&(le=null)):(oe=null,le=D),oe!==le)){if(ue=Dd,Y="onMouseLeave",I="onMouseEnter",_="mouse",(e==="pointerout"||e==="pointerover")&&(ue=zd,Y="onPointerLeave",I="onPointerEnter",_="pointer"),Ge=oe==null?$:Io(oe),A=le==null?$:Io(le),$=new ue(Y,_+"leave",oe,o,V),$.target=Ge,$.relatedTarget=A,Y=null,Kr(V)===D&&(ue=new ue(I,_+"enter",le,o,V),ue.target=A,ue.relatedTarget=Ge,Y=ue),Ge=Y,oe&&le)t:{for(ue=oe,I=le,_=0,A=ue;A;A=_o(A))_++;for(A=0,Y=I;Y;Y=_o(Y))A++;for(;0<_-A;)ue=_o(ue),_--;for(;0<A-_;)I=_o(I),A--;for(;_--;){if(ue===I||I!==null&&ue===I.alternate)break t;ue=_o(ue),I=_o(I)}ue=null}else ue=null;oe!==null&&ff(Q,$,oe,ue,!1),le!==null&&Ge!==null&&ff(Q,Ge,le,ue,!0)}}e:{if($=D?Io(D):window,oe=$.nodeName&&$.nodeName.toLowerCase(),oe==="select"||oe==="input"&&$.type==="file")var de=lg;else if(Vd($))if(Qd)de=dg;else{de=ug;var ge=ag}else(oe=$.nodeName)&&oe.toLowerCase()==="input"&&($.type==="checkbox"||$.type==="radio")&&(de=cg);if(de&&(de=de(e,D))){Wd(Q,de,o,V);break e}ge&&ge(e,$,D),e==="focusout"&&(ge=$._wrapperState)&&ge.controlled&&$.type==="number"&&gn($,"number",$.value)}switch(ge=D?Io(D):window,e){case"focusin":(Vd(ge)||ge.contentEditable==="true")&&(Oo=ge,Aa=D,zi=null);break;case"focusout":zi=Aa=Oo=null;break;case"mousedown":Da=!0;break;case"contextmenu":case"mouseup":case"dragend":Da=!1,ef(Q,o,V);break;case"selectionchange":if(hg)break;case"keydown":case"keyup":ef(Q,o,V)}var we;if(Na)e:{switch(e){case"compositionstart":var Ce="onCompositionStart";break e;case"compositionend":Ce="onCompositionEnd";break e;case"compositionupdate":Ce="onCompositionUpdate";break e}Ce=void 0}else To?Hd(e,o)&&(Ce="onCompositionEnd"):e==="keydown"&&o.keyCode===229&&(Ce="onCompositionStart");Ce&&(jd&&o.locale!=="ko"&&(To||Ce!=="onCompositionStart"?Ce==="onCompositionEnd"&&To&&(we=Id()):(dr=V,ba="value"in dr?dr.value:dr.textContent,To=!0)),ge=Ks(D,Ce),0<ge.length&&(Ce=new Fd(Ce,e,null,o,V),Q.push({event:Ce,listeners:ge}),we?Ce.data=we:(we=$d(o),we!==null&&(Ce.data=we)))),(we=ng?rg(e,o):og(e,o))&&(D=Ks(D,"onBeforeInput"),0<D.length&&(V=new Fd("onBeforeInput","beforeinput",null,o,V),Q.push({event:V,listeners:D}),V.data=we))}cf(Q,t)})}function Ui(e,t,o){return{instance:e,listener:t,currentTarget:o}}function Ks(e,t){for(var o=t+"Capture",s=[];e!==null;){var a=e,d=a.stateNode;a.tag===5&&d!==null&&(a=d,d=Et(e,o),d!=null&&s.unshift(Ui(e,d,a)),d=Et(e,t),d!=null&&s.push(Ui(e,d,a))),e=e.return}return s}function _o(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function ff(e,t,o,s,a){for(var d=t._reactName,m=[];o!==null&&o!==s;){var E=o,M=E.alternate,D=E.stateNode;if(M!==null&&M===s)break;E.tag===5&&D!==null&&(E=D,a?(M=Et(o,d),M!=null&&m.unshift(Ui(o,M,E))):a||(M=Et(o,d),M!=null&&m.push(Ui(o,M,E)))),o=o.return}m.length!==0&&e.push({event:t,listeners:m})}var gg=/\r\n?/g,wg=/\u0000|\uFFFD/g;function pf(e){return(typeof e=="string"?e:""+e).replace(gg,`
38
- `).replace(wg,"")}function qs(e,t,o){if(t=pf(t),pf(e)!==t&&o)throw Error(i(425))}function Ys(){}var Ha=null,$a=null;function Va(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 Wa=typeof setTimeout=="function"?setTimeout:void 0,xg=typeof clearTimeout=="function"?clearTimeout:void 0,hf=typeof Promise=="function"?Promise:void 0,Sg=typeof queueMicrotask=="function"?queueMicrotask:typeof hf<"u"?function(e){return hf.resolve(null).then(e).catch(kg)}:Wa;function kg(e){setTimeout(function(){throw e})}function Qa(e,t){var o=t,s=0;do{var a=o.nextSibling;if(e.removeChild(o),a&&a.nodeType===8)if(o=a.data,o==="/$"){if(s===0){e.removeChild(a),Ni(t);return}s--}else o!=="$"&&o!=="$?"&&o!=="$!"||s++;o=a}while(o);Ni(t)}function pr(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 mf(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 Lo=Math.random().toString(36).slice(2),Rn="__reactFiber$"+Lo,Hi="__reactProps$"+Lo,jn="__reactContainer$"+Lo,Ka="__reactEvents$"+Lo,Cg="__reactListeners$"+Lo,Eg="__reactHandles$"+Lo;function Kr(e){var t=e[Rn];if(t)return t;for(var o=e.parentNode;o;){if(t=o[jn]||o[Rn]){if(o=t.alternate,t.child!==null||o!==null&&o.child!==null)for(e=mf(e);e!==null;){if(o=e[Rn])return o;e=mf(e)}return t}e=o,o=e.parentNode}return null}function $i(e){return e=e[Rn]||e[jn],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Io(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(i(33))}function Gs(e){return e[Hi]||null}var qa=[],Ao=-1;function hr(e){return{current:e}}function Be(e){0>Ao||(e.current=qa[Ao],qa[Ao]=null,Ao--)}function ze(e,t){Ao++,qa[Ao]=e.current,e.current=t}var mr={},ft=hr(mr),bt=hr(!1),qr=mr;function Do(e,t){var o=e.type.contextTypes;if(!o)return mr;var s=e.stateNode;if(s&&s.__reactInternalMemoizedUnmaskedChildContext===t)return s.__reactInternalMemoizedMaskedChildContext;var a={},d;for(d in o)a[d]=t[d];return s&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function Rt(e){return e=e.childContextTypes,e!=null}function Xs(){Be(bt),Be(ft)}function yf(e,t,o){if(ft.current!==mr)throw Error(i(168));ze(ft,t),ze(bt,o)}function vf(e,t,o){var s=e.stateNode;if(t=t.childContextTypes,typeof s.getChildContext!="function")return o;s=s.getChildContext();for(var a in s)if(!(a in t))throw Error(i(108,K(e)||"Unknown",a));return W({},o,s)}function Zs(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||mr,qr=ft.current,ze(ft,e),ze(bt,bt.current),!0}function gf(e,t,o){var s=e.stateNode;if(!s)throw Error(i(169));o?(e=vf(e,t,qr),s.__reactInternalMemoizedMergedChildContext=e,Be(bt),Be(ft),ze(ft,e)):Be(bt),ze(bt,o)}var Bn=null,Js=!1,Ya=!1;function wf(e){Bn===null?Bn=[e]:Bn.push(e)}function bg(e){Js=!0,wf(e)}function yr(){if(!Ya&&Bn!==null){Ya=!0;var e=0,t=De;try{var o=Bn;for(De=1;e<o.length;e++){var s=o[e];do s=s(!0);while(s!==null)}Bn=null,Js=!1}catch(a){throw Bn!==null&&(Bn=Bn.slice(e+1)),xd(va,yr),a}finally{De=t,Ya=!1}}return null}var Fo=[],zo=0,el=null,tl=0,$t=[],Vt=0,Yr=null,Un=1,Hn="";function Gr(e,t){Fo[zo++]=tl,Fo[zo++]=el,el=e,tl=t}function xf(e,t,o){$t[Vt++]=Un,$t[Vt++]=Hn,$t[Vt++]=Yr,Yr=e;var s=Un;e=Hn;var a=32-tn(s)-1;s&=~(1<<a),o+=1;var d=32-tn(t)+a;if(30<d){var m=a-a%5;d=(s&(1<<m)-1).toString(32),s>>=m,a-=m,Un=1<<32-tn(t)+a|o<<a|s,Hn=d+e}else Un=1<<d|o<<a|s,Hn=e}function Ga(e){e.return!==null&&(Gr(e,1),xf(e,1,0))}function Xa(e){for(;e===el;)el=Fo[--zo],Fo[zo]=null,tl=Fo[--zo],Fo[zo]=null;for(;e===Yr;)Yr=$t[--Vt],$t[Vt]=null,Hn=$t[--Vt],$t[Vt]=null,Un=$t[--Vt],$t[Vt]=null}var Dt=null,Ft=null,He=!1,rn=null;function Sf(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 kf(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=pr(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:Un,overflow:Hn}: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 Za(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Ja(e){if(He){var t=Ft;if(t){var o=t;if(!kf(e,t)){if(Za(e))throw Error(i(418));t=pr(o.nextSibling);var s=Dt;t&&kf(e,t)?Sf(s,o):(e.flags=e.flags&-4097|2,He=!1,Dt=e)}}else{if(Za(e))throw Error(i(418));e.flags=e.flags&-4097|2,He=!1,Dt=e}}}function Cf(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Dt=e}function nl(e){if(e!==Dt)return!1;if(!He)return Cf(e),He=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Va(e.type,e.memoizedProps)),t&&(t=Ft)){if(Za(e))throw Ef(),Error(i(418));for(;t;)Sf(e,t),t=pr(t.nextSibling)}if(Cf(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=pr(e.nextSibling);break e}t--}else o!=="$"&&o!=="$!"&&o!=="$?"||t++}e=e.nextSibling}Ft=null}}else Ft=Dt?pr(e.stateNode.nextSibling):null;return!0}function Ef(){for(var e=Ft;e;)e=pr(e.nextSibling)}function jo(){Ft=Dt=null,He=!1}function eu(e){rn===null?rn=[e]:rn.push(e)}var Rg=L.ReactCurrentBatchConfig;function Vi(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 s=o.stateNode}if(!s)throw Error(i(147,e));var a=s,d=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===d?t.ref:(t=function(m){var E=a.refs;m===null?delete E[d]:E[d]=m},t._stringRef=d,t)}if(typeof e!="string")throw Error(i(284));if(!o._owner)throw Error(i(290,e))}return e}function rl(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 Rf(e){function t(I,_){if(e){var A=I.deletions;A===null?(I.deletions=[_],I.flags|=16):A.push(_)}}function o(I,_){if(!e)return null;for(;_!==null;)t(I,_),_=_.sibling;return null}function s(I,_){for(I=new Map;_!==null;)_.key!==null?I.set(_.key,_):I.set(_.index,_),_=_.sibling;return I}function a(I,_){return I=Er(I,_),I.index=0,I.sibling=null,I}function d(I,_,A){return I.index=A,e?(A=I.alternate,A!==null?(A=A.index,A<_?(I.flags|=2,_):A):(I.flags|=2,_)):(I.flags|=1048576,_)}function m(I){return e&&I.alternate===null&&(I.flags|=2),I}function E(I,_,A,Y){return _===null||_.tag!==6?(_=Wu(A,I.mode,Y),_.return=I,_):(_=a(_,A),_.return=I,_)}function M(I,_,A,Y){var de=A.type;return de===H?V(I,_,A.props.children,Y,A.key):_!==null&&(_.elementType===de||typeof de=="object"&&de!==null&&de.$$typeof===ae&&bf(de)===_.type)?(Y=a(_,A.props),Y.ref=Vi(I,_,A),Y.return=I,Y):(Y=Pl(A.type,A.key,A.props,null,I.mode,Y),Y.ref=Vi(I,_,A),Y.return=I,Y)}function D(I,_,A,Y){return _===null||_.tag!==4||_.stateNode.containerInfo!==A.containerInfo||_.stateNode.implementation!==A.implementation?(_=Qu(A,I.mode,Y),_.return=I,_):(_=a(_,A.children||[]),_.return=I,_)}function V(I,_,A,Y,de){return _===null||_.tag!==7?(_=oo(A,I.mode,Y,de),_.return=I,_):(_=a(_,A),_.return=I,_)}function Q(I,_,A){if(typeof _=="string"&&_!==""||typeof _=="number")return _=Wu(""+_,I.mode,A),_.return=I,_;if(typeof _=="object"&&_!==null){switch(_.$$typeof){case z:return A=Pl(_.type,_.key,_.props,null,I.mode,A),A.ref=Vi(I,null,_),A.return=I,A;case U:return _=Qu(_,I.mode,A),_.return=I,_;case ae:var Y=_._init;return Q(I,Y(_._payload),A)}if(ir(_)||B(_))return _=oo(_,I.mode,A,null),_.return=I,_;rl(I,_)}return null}function $(I,_,A,Y){var de=_!==null?_.key:null;if(typeof A=="string"&&A!==""||typeof A=="number")return de!==null?null:E(I,_,""+A,Y);if(typeof A=="object"&&A!==null){switch(A.$$typeof){case z:return A.key===de?M(I,_,A,Y):null;case U:return A.key===de?D(I,_,A,Y):null;case ae:return de=A._init,$(I,_,de(A._payload),Y)}if(ir(A)||B(A))return de!==null?null:V(I,_,A,Y,null);rl(I,A)}return null}function oe(I,_,A,Y,de){if(typeof Y=="string"&&Y!==""||typeof Y=="number")return I=I.get(A)||null,E(_,I,""+Y,de);if(typeof Y=="object"&&Y!==null){switch(Y.$$typeof){case z:return I=I.get(Y.key===null?A:Y.key)||null,M(_,I,Y,de);case U:return I=I.get(Y.key===null?A:Y.key)||null,D(_,I,Y,de);case ae:var ge=Y._init;return oe(I,_,A,ge(Y._payload),de)}if(ir(Y)||B(Y))return I=I.get(A)||null,V(_,I,Y,de,null);rl(_,Y)}return null}function le(I,_,A,Y){for(var de=null,ge=null,we=_,Ce=_=0,it=null;we!==null&&Ce<A.length;Ce++){we.index>Ce?(it=we,we=null):it=we.sibling;var Le=$(I,we,A[Ce],Y);if(Le===null){we===null&&(we=it);break}e&&we&&Le.alternate===null&&t(I,we),_=d(Le,_,Ce),ge===null?de=Le:ge.sibling=Le,ge=Le,we=it}if(Ce===A.length)return o(I,we),He&&Gr(I,Ce),de;if(we===null){for(;Ce<A.length;Ce++)we=Q(I,A[Ce],Y),we!==null&&(_=d(we,_,Ce),ge===null?de=we:ge.sibling=we,ge=we);return He&&Gr(I,Ce),de}for(we=s(I,we);Ce<A.length;Ce++)it=oe(we,I,Ce,A[Ce],Y),it!==null&&(e&&it.alternate!==null&&we.delete(it.key===null?Ce:it.key),_=d(it,_,Ce),ge===null?de=it:ge.sibling=it,ge=it);return e&&we.forEach(function(br){return t(I,br)}),He&&Gr(I,Ce),de}function ue(I,_,A,Y){var de=B(A);if(typeof de!="function")throw Error(i(150));if(A=de.call(A),A==null)throw Error(i(151));for(var ge=de=null,we=_,Ce=_=0,it=null,Le=A.next();we!==null&&!Le.done;Ce++,Le=A.next()){we.index>Ce?(it=we,we=null):it=we.sibling;var br=$(I,we,Le.value,Y);if(br===null){we===null&&(we=it);break}e&&we&&br.alternate===null&&t(I,we),_=d(br,_,Ce),ge===null?de=br:ge.sibling=br,ge=br,we=it}if(Le.done)return o(I,we),He&&Gr(I,Ce),de;if(we===null){for(;!Le.done;Ce++,Le=A.next())Le=Q(I,Le.value,Y),Le!==null&&(_=d(Le,_,Ce),ge===null?de=Le:ge.sibling=Le,ge=Le);return He&&Gr(I,Ce),de}for(we=s(I,we);!Le.done;Ce++,Le=A.next())Le=oe(we,I,Ce,Le.value,Y),Le!==null&&(e&&Le.alternate!==null&&we.delete(Le.key===null?Ce:Le.key),_=d(Le,_,Ce),ge===null?de=Le:ge.sibling=Le,ge=Le);return e&&we.forEach(function(i0){return t(I,i0)}),He&&Gr(I,Ce),de}function Ge(I,_,A,Y){if(typeof A=="object"&&A!==null&&A.type===H&&A.key===null&&(A=A.props.children),typeof A=="object"&&A!==null){switch(A.$$typeof){case z:e:{for(var de=A.key,ge=_;ge!==null;){if(ge.key===de){if(de=A.type,de===H){if(ge.tag===7){o(I,ge.sibling),_=a(ge,A.props.children),_.return=I,I=_;break e}}else if(ge.elementType===de||typeof de=="object"&&de!==null&&de.$$typeof===ae&&bf(de)===ge.type){o(I,ge.sibling),_=a(ge,A.props),_.ref=Vi(I,ge,A),_.return=I,I=_;break e}o(I,ge);break}else t(I,ge);ge=ge.sibling}A.type===H?(_=oo(A.props.children,I.mode,Y,A.key),_.return=I,I=_):(Y=Pl(A.type,A.key,A.props,null,I.mode,Y),Y.ref=Vi(I,_,A),Y.return=I,I=Y)}return m(I);case U:e:{for(ge=A.key;_!==null;){if(_.key===ge)if(_.tag===4&&_.stateNode.containerInfo===A.containerInfo&&_.stateNode.implementation===A.implementation){o(I,_.sibling),_=a(_,A.children||[]),_.return=I,I=_;break e}else{o(I,_);break}else t(I,_);_=_.sibling}_=Qu(A,I.mode,Y),_.return=I,I=_}return m(I);case ae:return ge=A._init,Ge(I,_,ge(A._payload),Y)}if(ir(A))return le(I,_,A,Y);if(B(A))return ue(I,_,A,Y);rl(I,A)}return typeof A=="string"&&A!==""||typeof A=="number"?(A=""+A,_!==null&&_.tag===6?(o(I,_.sibling),_=a(_,A),_.return=I,I=_):(o(I,_),_=Wu(A,I.mode,Y),_.return=I,I=_),m(I)):o(I,_)}return Ge}var Bo=Rf(!0),Pf=Rf(!1),ol=hr(null),il=null,Uo=null,tu=null;function nu(){tu=Uo=il=null}function ru(e){var t=ol.current;Be(ol),e._currentValue=t}function ou(e,t,o){for(;e!==null;){var s=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,s!==null&&(s.childLanes|=t)):s!==null&&(s.childLanes&t)!==t&&(s.childLanes|=t),e===o)break;e=e.return}}function Ho(e,t){il=e,tu=Uo=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!==0&&(Pt=!0),e.firstContext=null)}function Wt(e){var t=e._currentValue;if(tu!==e)if(e={context:e,memoizedValue:t,next:null},Uo===null){if(il===null)throw Error(i(308));Uo=e,il.dependencies={lanes:0,firstContext:e}}else Uo=Uo.next=e;return t}var Xr=null;function iu(e){Xr===null?Xr=[e]:Xr.push(e)}function Mf(e,t,o,s){var a=t.interleaved;return a===null?(o.next=o,iu(t)):(o.next=a.next,a.next=o),t.interleaved=o,$n(e,s)}function $n(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 vr=!1;function su(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Tf(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 gr(e,t,o){var s=e.updateQueue;if(s===null)return null;if(s=s.shared,(_e&2)!==0){var a=s.pending;return a===null?t.next=t:(t.next=a.next,a.next=t),s.pending=t,$n(e,o)}return a=s.interleaved,a===null?(t.next=t,iu(s)):(t.next=a.next,a.next=t),s.interleaved=t,$n(e,o)}function sl(e,t,o){if(t=t.updateQueue,t!==null&&(t=t.shared,(o&4194240)!==0)){var s=t.lanes;s&=e.pendingLanes,o|=s,t.lanes=o,xa(e,o)}}function Of(e,t){var o=e.updateQueue,s=e.alternate;if(s!==null&&(s=s.updateQueue,o===s)){var a=null,d=null;if(o=o.firstBaseUpdate,o!==null){do{var m={eventTime:o.eventTime,lane:o.lane,tag:o.tag,payload:o.payload,callback:o.callback,next:null};d===null?a=d=m:d=d.next=m,o=o.next}while(o!==null);d===null?a=d=t:d=d.next=t}else a=d=t;o={baseState:s.baseState,firstBaseUpdate:a,lastBaseUpdate:d,shared:s.shared,effects:s.effects},e.updateQueue=o;return}e=o.lastBaseUpdate,e===null?o.firstBaseUpdate=t:e.next=t,o.lastBaseUpdate=t}function ll(e,t,o,s){var a=e.updateQueue;vr=!1;var d=a.firstBaseUpdate,m=a.lastBaseUpdate,E=a.shared.pending;if(E!==null){a.shared.pending=null;var M=E,D=M.next;M.next=null,m===null?d=D:m.next=D,m=M;var V=e.alternate;V!==null&&(V=V.updateQueue,E=V.lastBaseUpdate,E!==m&&(E===null?V.firstBaseUpdate=D:E.next=D,V.lastBaseUpdate=M))}if(d!==null){var Q=a.baseState;m=0,V=D=M=null,E=d;do{var $=E.lane,oe=E.eventTime;if((s&$)===$){V!==null&&(V=V.next={eventTime:oe,lane:0,tag:E.tag,payload:E.payload,callback:E.callback,next:null});e:{var le=e,ue=E;switch($=t,oe=o,ue.tag){case 1:if(le=ue.payload,typeof le=="function"){Q=le.call(oe,Q,$);break e}Q=le;break e;case 3:le.flags=le.flags&-65537|128;case 0:if(le=ue.payload,$=typeof le=="function"?le.call(oe,Q,$):le,$==null)break e;Q=W({},Q,$);break e;case 2:vr=!0}}E.callback!==null&&E.lane!==0&&(e.flags|=64,$=a.effects,$===null?a.effects=[E]:$.push(E))}else oe={eventTime:oe,lane:$,tag:E.tag,payload:E.payload,callback:E.callback,next:null},V===null?(D=V=oe,M=Q):V=V.next=oe,m|=$;if(E=E.next,E===null){if(E=a.shared.pending,E===null)break;$=E,E=$.next,$.next=null,a.lastBaseUpdate=$,a.shared.pending=null}}while(!0);if(V===null&&(M=Q),a.baseState=M,a.firstBaseUpdate=D,a.lastBaseUpdate=V,t=a.shared.interleaved,t!==null){a=t;do m|=a.lane,a=a.next;while(a!==t)}else d===null&&(a.shared.lanes=0);eo|=m,e.lanes=m,e.memoizedState=Q}}function Nf(e,t,o){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var s=e[t],a=s.callback;if(a!==null){if(s.callback=null,s=o,typeof a!="function")throw Error(i(191,a));a.call(s)}}}var Wi={},Pn=hr(Wi),Qi=hr(Wi),Ki=hr(Wi);function Zr(e){if(e===Wi)throw Error(i(174));return e}function lu(e,t){switch(ze(Ki,t),ze(Qi,e),ze(Pn,Wi),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:xn(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=xn(t,e)}Be(Pn),ze(Pn,t)}function $o(){Be(Pn),Be(Qi),Be(Ki)}function _f(e){Zr(Ki.current);var t=Zr(Pn.current),o=xn(t,e.type);t!==o&&(ze(Qi,e),ze(Pn,o))}function au(e){Qi.current===e&&(Be(Pn),Be(Qi))}var Ve=hr(0);function al(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 uu=[];function cu(){for(var e=0;e<uu.length;e++)uu[e]._workInProgressVersionPrimary=null;uu.length=0}var ul=L.ReactCurrentDispatcher,du=L.ReactCurrentBatchConfig,Jr=0,We=null,et=null,rt=null,cl=!1,qi=!1,Yi=0,Pg=0;function pt(){throw Error(i(321))}function fu(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 pu(e,t,o,s,a,d){if(Jr=d,We=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,ul.current=e===null||e.memoizedState===null?Ng:_g,e=o(s,a),qi){d=0;do{if(qi=!1,Yi=0,25<=d)throw Error(i(301));d+=1,rt=et=null,t.updateQueue=null,ul.current=Lg,e=o(s,a)}while(qi)}if(ul.current=pl,t=et!==null&&et.next!==null,Jr=0,rt=et=We=null,cl=!1,t)throw Error(i(300));return e}function hu(){var e=Yi!==0;return Yi=0,e}function Mn(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return rt===null?We.memoizedState=rt=e:rt=rt.next=e,rt}function Qt(){if(et===null){var e=We.alternate;e=e!==null?e.memoizedState:null}else e=et.next;var t=rt===null?We.memoizedState:rt.next;if(t!==null)rt=t,et=e;else{if(e===null)throw Error(i(310));et=e,e={memoizedState:et.memoizedState,baseState:et.baseState,baseQueue:et.baseQueue,queue:et.queue,next:null},rt===null?We.memoizedState=rt=e:rt=rt.next=e}return rt}function Gi(e,t){return typeof t=="function"?t(e):t}function mu(e){var t=Qt(),o=t.queue;if(o===null)throw Error(i(311));o.lastRenderedReducer=e;var s=et,a=s.baseQueue,d=o.pending;if(d!==null){if(a!==null){var m=a.next;a.next=d.next,d.next=m}s.baseQueue=a=d,o.pending=null}if(a!==null){d=a.next,s=s.baseState;var E=m=null,M=null,D=d;do{var V=D.lane;if((Jr&V)===V)M!==null&&(M=M.next={lane:0,action:D.action,hasEagerState:D.hasEagerState,eagerState:D.eagerState,next:null}),s=D.hasEagerState?D.eagerState:e(s,D.action);else{var Q={lane:V,action:D.action,hasEagerState:D.hasEagerState,eagerState:D.eagerState,next:null};M===null?(E=M=Q,m=s):M=M.next=Q,We.lanes|=V,eo|=V}D=D.next}while(D!==null&&D!==d);M===null?m=s:M.next=E,nn(s,t.memoizedState)||(Pt=!0),t.memoizedState=s,t.baseState=m,t.baseQueue=M,o.lastRenderedState=s}if(e=o.interleaved,e!==null){a=e;do d=a.lane,We.lanes|=d,eo|=d,a=a.next;while(a!==e)}else a===null&&(o.lanes=0);return[t.memoizedState,o.dispatch]}function yu(e){var t=Qt(),o=t.queue;if(o===null)throw Error(i(311));o.lastRenderedReducer=e;var s=o.dispatch,a=o.pending,d=t.memoizedState;if(a!==null){o.pending=null;var m=a=a.next;do d=e(d,m.action),m=m.next;while(m!==a);nn(d,t.memoizedState)||(Pt=!0),t.memoizedState=d,t.baseQueue===null&&(t.baseState=d),o.lastRenderedState=d}return[d,s]}function Lf(){}function If(e,t){var o=We,s=Qt(),a=t(),d=!nn(s.memoizedState,a);if(d&&(s.memoizedState=a,Pt=!0),s=s.queue,vu(Ff.bind(null,o,s,e),[e]),s.getSnapshot!==t||d||rt!==null&&rt.memoizedState.tag&1){if(o.flags|=2048,Xi(9,Df.bind(null,o,s,a,t),void 0,null),ot===null)throw Error(i(349));(Jr&30)!==0||Af(o,t,a)}return a}function Af(e,t,o){e.flags|=16384,e={getSnapshot:t,value:o},t=We.updateQueue,t===null?(t={lastEffect:null,stores:null},We.updateQueue=t,t.stores=[e]):(o=t.stores,o===null?t.stores=[e]:o.push(e))}function Df(e,t,o,s){t.value=o,t.getSnapshot=s,zf(t)&&jf(e)}function Ff(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=$n(e,1);t!==null&&an(t,e,1,-1)}function Bf(e){var t=Mn();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Gi,lastRenderedState:e},t.queue=e,e=e.dispatch=Og.bind(null,We,e),[t.memoizedState,e]}function Xi(e,t,o,s){return e={tag:e,create:t,destroy:o,deps:s,next:null},t=We.updateQueue,t===null?(t={lastEffect:null,stores:null},We.updateQueue=t,t.lastEffect=e.next=e):(o=t.lastEffect,o===null?t.lastEffect=e.next=e:(s=o.next,o.next=e,e.next=s,t.lastEffect=e)),e}function Uf(){return Qt().memoizedState}function dl(e,t,o,s){var a=Mn();We.flags|=e,a.memoizedState=Xi(1|t,o,void 0,s===void 0?null:s)}function fl(e,t,o,s){var a=Qt();s=s===void 0?null:s;var d=void 0;if(et!==null){var m=et.memoizedState;if(d=m.destroy,s!==null&&fu(s,m.deps)){a.memoizedState=Xi(t,o,d,s);return}}We.flags|=e,a.memoizedState=Xi(1|t,o,d,s)}function Hf(e,t){return dl(8390656,8,e,t)}function vu(e,t){return fl(2048,8,e,t)}function $f(e,t){return fl(4,2,e,t)}function Vf(e,t){return fl(4,4,e,t)}function Wf(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 Qf(e,t,o){return o=o!=null?o.concat([e]):null,fl(4,4,Wf.bind(null,t,e),o)}function gu(){}function Kf(e,t){var o=Qt();t=t===void 0?null:t;var s=o.memoizedState;return s!==null&&t!==null&&fu(t,s[1])?s[0]:(o.memoizedState=[e,t],e)}function qf(e,t){var o=Qt();t=t===void 0?null:t;var s=o.memoizedState;return s!==null&&t!==null&&fu(t,s[1])?s[0]:(e=e(),o.memoizedState=[e,t],e)}function Yf(e,t,o){return(Jr&21)===0?(e.baseState&&(e.baseState=!1,Pt=!0),e.memoizedState=o):(nn(o,t)||(o=Ed(),We.lanes|=o,eo|=o,e.baseState=!0),t)}function Mg(e,t){var o=De;De=o!==0&&4>o?o:4,e(!0);var s=du.transition;du.transition={};try{e(!1),t()}finally{De=o,du.transition=s}}function Gf(){return Qt().memoizedState}function Tg(e,t,o){var s=kr(e);if(o={lane:s,action:o,hasEagerState:!1,eagerState:null,next:null},Xf(e))Zf(t,o);else if(o=Mf(e,t,o,s),o!==null){var a=xt();an(o,e,s,a),Jf(o,t,s)}}function Og(e,t,o){var s=kr(e),a={lane:s,action:o,hasEagerState:!1,eagerState:null,next:null};if(Xf(e))Zf(t,a);else{var d=e.alternate;if(e.lanes===0&&(d===null||d.lanes===0)&&(d=t.lastRenderedReducer,d!==null))try{var m=t.lastRenderedState,E=d(m,o);if(a.hasEagerState=!0,a.eagerState=E,nn(E,m)){var M=t.interleaved;M===null?(a.next=a,iu(t)):(a.next=M.next,M.next=a),t.interleaved=a;return}}catch{}finally{}o=Mf(e,t,a,s),o!==null&&(a=xt(),an(o,e,s,a),Jf(o,t,s))}}function Xf(e){var t=e.alternate;return e===We||t!==null&&t===We}function Zf(e,t){qi=cl=!0;var o=e.pending;o===null?t.next=t:(t.next=o.next,o.next=t),e.pending=t}function Jf(e,t,o){if((o&4194240)!==0){var s=t.lanes;s&=e.pendingLanes,o|=s,t.lanes=o,xa(e,o)}}var pl={readContext:Wt,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},Ng={readContext:Wt,useCallback:function(e,t){return Mn().memoizedState=[e,t===void 0?null:t],e},useContext:Wt,useEffect:Hf,useImperativeHandle:function(e,t,o){return o=o!=null?o.concat([e]):null,dl(4194308,4,Wf.bind(null,t,e),o)},useLayoutEffect:function(e,t){return dl(4194308,4,e,t)},useInsertionEffect:function(e,t){return dl(4,2,e,t)},useMemo:function(e,t){var o=Mn();return t=t===void 0?null:t,e=e(),o.memoizedState=[e,t],e},useReducer:function(e,t,o){var s=Mn();return t=o!==void 0?o(t):t,s.memoizedState=s.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},s.queue=e,e=e.dispatch=Tg.bind(null,We,e),[s.memoizedState,e]},useRef:function(e){var t=Mn();return e={current:e},t.memoizedState=e},useState:Bf,useDebugValue:gu,useDeferredValue:function(e){return Mn().memoizedState=e},useTransition:function(){var e=Bf(!1),t=e[0];return e=Mg.bind(null,e[1]),Mn().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,o){var s=We,a=Mn();if(He){if(o===void 0)throw Error(i(407));o=o()}else{if(o=t(),ot===null)throw Error(i(349));(Jr&30)!==0||Af(s,t,o)}a.memoizedState=o;var d={value:o,getSnapshot:t};return a.queue=d,Hf(Ff.bind(null,s,d,e),[e]),s.flags|=2048,Xi(9,Df.bind(null,s,d,o,t),void 0,null),o},useId:function(){var e=Mn(),t=ot.identifierPrefix;if(He){var o=Hn,s=Un;o=(s&~(1<<32-tn(s)-1)).toString(32)+o,t=":"+t+"R"+o,o=Yi++,0<o&&(t+="H"+o.toString(32)),t+=":"}else o=Pg++,t=":"+t+"r"+o.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},_g={readContext:Wt,useCallback:Kf,useContext:Wt,useEffect:vu,useImperativeHandle:Qf,useInsertionEffect:$f,useLayoutEffect:Vf,useMemo:qf,useReducer:mu,useRef:Uf,useState:function(){return mu(Gi)},useDebugValue:gu,useDeferredValue:function(e){var t=Qt();return Yf(t,et.memoizedState,e)},useTransition:function(){var e=mu(Gi)[0],t=Qt().memoizedState;return[e,t]},useMutableSource:Lf,useSyncExternalStore:If,useId:Gf,unstable_isNewReconciler:!1},Lg={readContext:Wt,useCallback:Kf,useContext:Wt,useEffect:vu,useImperativeHandle:Qf,useInsertionEffect:$f,useLayoutEffect:Vf,useMemo:qf,useReducer:yu,useRef:Uf,useState:function(){return yu(Gi)},useDebugValue:gu,useDeferredValue:function(e){var t=Qt();return et===null?t.memoizedState=e:Yf(t,et.memoizedState,e)},useTransition:function(){var e=yu(Gi)[0],t=Qt().memoizedState;return[e,t]},useMutableSource:Lf,useSyncExternalStore:If,useId:Gf,unstable_isNewReconciler:!1};function on(e,t){if(e&&e.defaultProps){t=W({},t),e=e.defaultProps;for(var o in e)t[o]===void 0&&(t[o]=e[o]);return t}return t}function wu(e,t,o,s){t=e.memoizedState,o=o(s,t),o=o==null?t:W({},t,o),e.memoizedState=o,e.lanes===0&&(e.updateQueue.baseState=o)}var hl={isMounted:function(e){return(e=e._reactInternals)?Qr(e)===e:!1},enqueueSetState:function(e,t,o){e=e._reactInternals;var s=xt(),a=kr(e),d=Vn(s,a);d.payload=t,o!=null&&(d.callback=o),t=gr(e,d,a),t!==null&&(an(t,e,a,s),sl(t,e,a))},enqueueReplaceState:function(e,t,o){e=e._reactInternals;var s=xt(),a=kr(e),d=Vn(s,a);d.tag=1,d.payload=t,o!=null&&(d.callback=o),t=gr(e,d,a),t!==null&&(an(t,e,a,s),sl(t,e,a))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var o=xt(),s=kr(e),a=Vn(o,s);a.tag=2,t!=null&&(a.callback=t),t=gr(e,a,s),t!==null&&(an(t,e,s,o),sl(t,e,s))}};function ep(e,t,o,s,a,d,m){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(s,d,m):t.prototype&&t.prototype.isPureReactComponent?!Fi(o,s)||!Fi(a,d):!0}function tp(e,t,o){var s=!1,a=mr,d=t.contextType;return typeof d=="object"&&d!==null?d=Wt(d):(a=Rt(t)?qr:ft.current,s=t.contextTypes,d=(s=s!=null)?Do(e,a):mr),t=new t(o,d),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=hl,e.stateNode=t,t._reactInternals=e,s&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=a,e.__reactInternalMemoizedMaskedChildContext=d),t}function np(e,t,o,s){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(o,s),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(o,s),t.state!==e&&hl.enqueueReplaceState(t,t.state,null)}function xu(e,t,o,s){var a=e.stateNode;a.props=o,a.state=e.memoizedState,a.refs={},su(e);var d=t.contextType;typeof d=="object"&&d!==null?a.context=Wt(d):(d=Rt(t)?qr:ft.current,a.context=Do(e,d)),a.state=e.memoizedState,d=t.getDerivedStateFromProps,typeof d=="function"&&(wu(e,t,d,o),a.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof a.getSnapshotBeforeUpdate=="function"||typeof a.UNSAFE_componentWillMount!="function"&&typeof a.componentWillMount!="function"||(t=a.state,typeof a.componentWillMount=="function"&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount=="function"&&a.UNSAFE_componentWillMount(),t!==a.state&&hl.enqueueReplaceState(a,a.state,null),ll(e,o,a,s),a.state=e.memoizedState),typeof a.componentDidMount=="function"&&(e.flags|=4194308)}function Vo(e,t){try{var o="",s=t;do o+=ye(s),s=s.return;while(s);var a=o}catch(d){a=`
36
+ `),m=a.length-1,k=d.length-1;1<=m&&0<=k&&a[m]!==d[k];)k--;for(;1<=m&&0<=k;m--,k--)if(a[m]!==d[k]){if(m!==1||k!==1)do if(m--,k--,0>k||a[m]!==d[k]){var T=`
37
+ `+a[m].replace(" at new "," at ");return e.displayName&&T.includes("<anonymous>")&&(T=T.replace("<anonymous>",e.displayName)),T}while(1<=m&&0<=k);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 Z:return"Profiler";case q:return"StrictMode";case ye:return"Suspense";case ce:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case pe:return(e.displayName||"Context")+".Consumer";case te:return(e._context.displayName||"Context")+".Provider";case X: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 ae:t=e._payload,e=e._init;try{return Se(e(t))}catch{}}return null}function K(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===q?"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 fe(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),s=""+e[t];if(!e.hasOwnProperty(t)&&typeof o<"u"&&typeof o.get=="function"&&typeof o.set=="function"){var a=o.get,d=o.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(m){s=""+m,d.call(this,m)}}),Object.defineProperty(e,t,{enumerable:o.enumerable}),{getValue:function(){return s},setValue:function(m){s=""+m},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Te(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(),s="";return e&&(s=Ce(e)?e.checked?"true":"false":e.value),e=s,e!==o?(t.setValue(e),!0):!1}function qe(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 V({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:o??e._wrapperState.initialChecked})}function yn(e,t){var o=t.defaultValue==null?"":t.defaultValue,s=t.checked!=null?t.checked:t.defaultChecked;o=fe(t.value!=null?t.value:o),e._wrapperState={initialChecked:s,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=fe(t.value),s=t.type;if(o!=null)s==="number"?(o===0&&e.value===""||e.value!=o)&&(e.value=""+o):e.value!==""+o&&(e.value=""+o);else if(s==="submit"||s==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?gn(e,t.type,o):t.hasOwnProperty("defaultValue")&&gn(e,t.type,fe(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function or(e,t,o){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var s=t.type;if(!(s!=="submit"&&s!=="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 gn(e,t,o){(t!=="number"||qe(e.ownerDocument)!==e)&&(o==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+o&&(e.defaultValue=""+o))}var ir=Array.isArray;function Ht(e,t,o,s){if(e=e.options,t){t={};for(var a=0;a<o.length;a++)t["$"+o[a]]=!0;for(o=0;o<e.length;o++)a=t.hasOwnProperty("$"+e[o].value),e[o].selected!==a&&(e[o].selected=a),a&&s&&(e[o].defaultSelected=!0)}else{for(o=""+fe(o),t=null,a=0;a<e.length;a++){if(e[a].value===o){e[a].selected=!0,s&&(e[a].defaultSelected=!0);return}t!==null||e[a].disabled||(t=e[a])}t!==null&&(t.selected=!0)}}function Co(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(i(91));return V({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function wn(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(ir(o)){if(1<o.length)throw Error(i(93));o=o[0]}t=o}t==null&&(t=""),o=t}e._wrapperState={initialValue:fe(o)}}function Cs(e,t){var o=fe(t.value),s=fe(t.defaultValue);o!=null&&(o=""+o,o!==e.value&&(e.value=o),t.defaultValue==null&&e.defaultValue!==o&&(e.defaultValue=o)),s!=null&&(e.defaultValue=""+s)}function Es(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function yt(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 xn(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?yt(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Eo,ks=(function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,o,s,a){MSApp.execUnsafeLocalFunction(function(){return e(t,o,s,a)})}:e})(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(Eo=Eo||document.createElement("div"),Eo.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Eo.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Sn(e,t){if(t){var o=e.firstChild;if(o&&o===e.lastChild&&o.nodeType===3){o.nodeValue=t;return}}e.textContent=t}var Vr={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},bs=["Webkit","ms","Moz","O"];Object.keys(Vr).forEach(function(e){bs.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Vr[t]=Vr[e]})});function ko(e,t,o){return t==null||typeof t=="boolean"||t===""?"":o||typeof t!="number"||t===0||Vr.hasOwnProperty(e)&&Vr[e]?(""+t).trim():t+"px"}function zn(e,t){e=e.style;for(var o in t)if(t.hasOwnProperty(o)){var s=o.indexOf("--")===0,a=ko(o,t[o],s);o==="float"&&(o="cssFloat"),s?e.setProperty(o,a):e[o]=a}}var Rs=V({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 Cn(e,t){if(t){if(Rs[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 Ci(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 Ei=null;function bo(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ro=null,sr=null,En=null;function Jt(e){if(e=$i(e)){if(typeof Ro!="function")throw Error(i(280));var t=e.stateNode;t&&(t=Ys(t),Ro(e.stateNode,e.type,t))}}function Ps(e){sr?En?En.push(e):En=[e]:sr=e}function ke(){if(sr){var e=sr,t=En;if(En=sr=null,Jt(e),t)for(e=0;e<t.length;e++)Jt(t[e])}}function Ie(e,t){return e(t)}function Fe(){}var gt=!1;function Et(e,t,o){if(gt)return e(t,o);gt=!0;try{return Ie(e,t,o)}finally{gt=!1,(sr!==null||En!==null)&&(Fe(),ke())}}function kt(e,t){var o=e.stateNode;if(o===null)return null;var s=Ys(o);if(s===null)return null;o=s[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":(s=!s.disabled)||(e=e.type,s=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!s;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 kn(e,t,o,s,a,d,m,k,T){var D=Array.prototype.slice.call(arguments,3);try{t.apply(o,D)}catch(W){this.onError(W)}}var ki=!1,Ts=null,Ms=!1,va=null,py={onError:function(e){ki=!0,Ts=e}};function hy(e,t,o,s,a,d,m,k,T){ki=!1,Ts=null,kn.apply(py,arguments)}function my(e,t,o,s,a,d,m,k,T){if(hy.apply(this,arguments),ki){if(ki){var D=Ts;ki=!1,Ts=null}else throw Error(i(198));Ms||(Ms=!0,va=D)}}function Qr(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 vd(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 yd(e){if(Qr(e)!==e)throw Error(i(188))}function vy(e){var t=e.alternate;if(!t){if(t=Qr(e),t===null)throw Error(i(188));return t!==e?null:e}for(var o=e,s=t;;){var a=o.return;if(a===null)break;var d=a.alternate;if(d===null){if(s=a.return,s!==null){o=s;continue}break}if(a.child===d.child){for(d=a.child;d;){if(d===o)return yd(a),e;if(d===s)return yd(a),t;d=d.sibling}throw Error(i(188))}if(o.return!==s.return)o=a,s=d;else{for(var m=!1,k=a.child;k;){if(k===o){m=!0,o=a,s=d;break}if(k===s){m=!0,s=a,o=d;break}k=k.sibling}if(!m){for(k=d.child;k;){if(k===o){m=!0,o=d,s=a;break}if(k===s){m=!0,s=d,o=a;break}k=k.sibling}if(!m)throw Error(i(189))}}if(o.alternate!==s)throw Error(i(190))}if(o.tag!==3)throw Error(i(188));return o.stateNode.current===o?e:t}function gd(e){return e=vy(e),e!==null?wd(e):null}function wd(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=wd(e);if(t!==null)return t;e=e.sibling}return null}var xd=r.unstable_scheduleCallback,Sd=r.unstable_cancelCallback,yy=r.unstable_shouldYield,gy=r.unstable_requestPaint,Ge=r.unstable_now,wy=r.unstable_getCurrentPriorityLevel,ya=r.unstable_ImmediatePriority,Cd=r.unstable_UserBlockingPriority,Os=r.unstable_NormalPriority,xy=r.unstable_LowPriority,Ed=r.unstable_IdlePriority,Ns=null,bn=null;function Sy(e){if(bn&&typeof bn.onCommitFiberRoot=="function")try{bn.onCommitFiberRoot(Ns,e,void 0,(e.current.flags&128)===128)}catch{}}var tn=Math.clz32?Math.clz32:ky,Cy=Math.log,Ey=Math.LN2;function ky(e){return e>>>=0,e===0?32:31-(Cy(e)/Ey|0)|0}var _s=64,Ls=4194304;function bi(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 Is(e,t){var o=e.pendingLanes;if(o===0)return 0;var s=0,a=e.suspendedLanes,d=e.pingedLanes,m=o&268435455;if(m!==0){var k=m&~a;k!==0?s=bi(k):(d&=m,d!==0&&(s=bi(d)))}else m=o&~a,m!==0?s=bi(m):d!==0&&(s=bi(d));if(s===0)return 0;if(t!==0&&t!==s&&(t&a)===0&&(a=s&-s,d=t&-t,a>=d||a===16&&(d&4194240)!==0))return t;if((s&4)!==0&&(s|=o&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=s;0<t;)o=31-tn(t),a=1<<o,s|=e[o],t&=~a;return s}function by(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 Ry(e,t){for(var o=e.suspendedLanes,s=e.pingedLanes,a=e.expirationTimes,d=e.pendingLanes;0<d;){var m=31-tn(d),k=1<<m,T=a[m];T===-1?((k&o)===0||(k&s)!==0)&&(a[m]=by(k,t)):T<=t&&(e.expiredLanes|=k),d&=~k}}function ga(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function kd(){var e=_s;return _s<<=1,(_s&4194240)===0&&(_s=64),e}function wa(e){for(var t=[],o=0;31>o;o++)t.push(e);return t}function Ri(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 Py(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 s=e.eventTimes;for(e=e.expirationTimes;0<o;){var a=31-tn(o),d=1<<a;t[a]=0,s[a]=-1,e[a]=-1,o&=~d}}function xa(e,t){var o=e.entangledLanes|=t;for(e=e.entanglements;o;){var s=31-tn(o),a=1<<s;a&t|e[s]&t&&(e[s]|=t),o&=~a}}var De=0;function bd(e){return e&=-e,1<e?4<e?(e&268435455)!==0?16:536870912:4:1}var Rd,Sa,Pd,Td,Md,Ca=!1,As=[],lr=null,ar=null,ur=null,Pi=new Map,Ti=new Map,cr=[],Ty="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 Od(e,t){switch(e){case"focusin":case"focusout":lr=null;break;case"dragenter":case"dragleave":ar=null;break;case"mouseover":case"mouseout":ur=null;break;case"pointerover":case"pointerout":Pi.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ti.delete(t.pointerId)}}function Mi(e,t,o,s,a,d){return e===null||e.nativeEvent!==d?(e={blockedOn:t,domEventName:o,eventSystemFlags:s,nativeEvent:d,targetContainers:[a]},t!==null&&(t=$i(t),t!==null&&Sa(t)),e):(e.eventSystemFlags|=s,t=e.targetContainers,a!==null&&t.indexOf(a)===-1&&t.push(a),e)}function My(e,t,o,s,a){switch(t){case"focusin":return lr=Mi(lr,e,t,o,s,a),!0;case"dragenter":return ar=Mi(ar,e,t,o,s,a),!0;case"mouseover":return ur=Mi(ur,e,t,o,s,a),!0;case"pointerover":var d=a.pointerId;return Pi.set(d,Mi(Pi.get(d)||null,e,t,o,s,a)),!0;case"gotpointercapture":return d=a.pointerId,Ti.set(d,Mi(Ti.get(d)||null,e,t,o,s,a)),!0}return!1}function Nd(e){var t=Kr(e.target);if(t!==null){var o=Qr(t);if(o!==null){if(t=o.tag,t===13){if(t=vd(o),t!==null){e.blockedOn=t,Md(e.priority,function(){Pd(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 Ds(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var o=ka(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(o===null){o=e.nativeEvent;var s=new o.constructor(o.type,o);Ei=s,o.target.dispatchEvent(s),Ei=null}else return t=$i(o),t!==null&&Sa(t),e.blockedOn=o,!1;t.shift()}return!0}function _d(e,t,o){Ds(e)&&o.delete(t)}function Oy(){Ca=!1,lr!==null&&Ds(lr)&&(lr=null),ar!==null&&Ds(ar)&&(ar=null),ur!==null&&Ds(ur)&&(ur=null),Pi.forEach(_d),Ti.forEach(_d)}function Oi(e,t){e.blockedOn===t&&(e.blockedOn=null,Ca||(Ca=!0,r.unstable_scheduleCallback(r.unstable_NormalPriority,Oy)))}function Ni(e){function t(a){return Oi(a,e)}if(0<As.length){Oi(As[0],e);for(var o=1;o<As.length;o++){var s=As[o];s.blockedOn===e&&(s.blockedOn=null)}}for(lr!==null&&Oi(lr,e),ar!==null&&Oi(ar,e),ur!==null&&Oi(ur,e),Pi.forEach(t),Ti.forEach(t),o=0;o<cr.length;o++)s=cr[o],s.blockedOn===e&&(s.blockedOn=null);for(;0<cr.length&&(o=cr[0],o.blockedOn===null);)Nd(o),o.blockedOn===null&&cr.shift()}var Po=L.ReactCurrentBatchConfig,Fs=!0;function Ny(e,t,o,s){var a=De,d=Po.transition;Po.transition=null;try{De=1,Ea(e,t,o,s)}finally{De=a,Po.transition=d}}function _y(e,t,o,s){var a=De,d=Po.transition;Po.transition=null;try{De=4,Ea(e,t,o,s)}finally{De=a,Po.transition=d}}function Ea(e,t,o,s){if(Fs){var a=ka(e,t,o,s);if(a===null)Ua(e,t,s,zs,o),Od(e,s);else if(My(a,e,t,o,s))s.stopPropagation();else if(Od(e,s),t&4&&-1<Ty.indexOf(e)){for(;a!==null;){var d=$i(a);if(d!==null&&Rd(d),d=ka(e,t,o,s),d===null&&Ua(e,t,s,zs,o),d===a)break;a=d}a!==null&&s.stopPropagation()}else Ua(e,t,s,null,o)}}var zs=null;function ka(e,t,o,s){if(zs=null,e=bo(s),e=Kr(e),e!==null)if(t=Qr(e),t===null)e=null;else if(o=t.tag,o===13){if(e=vd(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 zs=e,null}function Ld(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(wy()){case ya:return 1;case Cd:return 4;case Os:case xy:return 16;case Ed:return 536870912;default:return 16}default:return 16}}var dr=null,ba=null,js=null;function Id(){if(js)return js;var e,t=ba,o=t.length,s,a="value"in dr?dr.value:dr.textContent,d=a.length;for(e=0;e<o&&t[e]===a[e];e++);var m=o-e;for(s=1;s<=m&&t[o-s]===a[d-s];s++);return js=a.slice(e,1<s?1-s:void 0)}function Bs(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 Us(){return!0}function Ad(){return!1}function At(e){function t(o,s,a,d,m){this._reactName=o,this._targetInst=a,this.type=s,this.nativeEvent=d,this.target=m,this.currentTarget=null;for(var k in e)e.hasOwnProperty(k)&&(o=e[k],this[k]=o?o(d):d[k]);return this.isDefaultPrevented=(d.defaultPrevented!=null?d.defaultPrevented:d.returnValue===!1)?Us:Ad,this.isPropagationStopped=Ad,this}return V(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=Us)},stopPropagation:function(){var o=this.nativeEvent;o&&(o.stopPropagation?o.stopPropagation():typeof o.cancelBubble!="unknown"&&(o.cancelBubble=!0),this.isPropagationStopped=Us)},persist:function(){},isPersistent:Us}),t}var To={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Ra=At(To),_i=V({},To,{view:0,detail:0}),Ly=At(_i),Pa,Ta,Li,Hs=V({},_i,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Oa,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!==Li&&(Li&&e.type==="mousemove"?(Pa=e.screenX-Li.screenX,Ta=e.screenY-Li.screenY):Ta=Pa=0,Li=e),Pa)},movementY:function(e){return"movementY"in e?e.movementY:Ta}}),Dd=At(Hs),Iy=V({},Hs,{dataTransfer:0}),Ay=At(Iy),Dy=V({},_i,{relatedTarget:0}),Ma=At(Dy),Fy=V({},To,{animationName:0,elapsedTime:0,pseudoElement:0}),zy=At(Fy),jy=V({},To,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),By=At(jy),Uy=V({},To,{data:0}),Fd=At(Uy),Hy={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},$y={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"},Wy={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Vy(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Wy[e])?!!t[e]:!1}function Oa(){return Vy}var Qy=V({},_i,{key:function(e){if(e.key){var t=Hy[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Bs(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?$y[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Oa,charCode:function(e){return e.type==="keypress"?Bs(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Bs(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Ky=At(Qy),qy=V({},Hs,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),zd=At(qy),Gy=V({},_i,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Oa}),Yy=At(Gy),Xy=V({},To,{propertyName:0,elapsedTime:0,pseudoElement:0}),Zy=At(Xy),Jy=V({},Hs,{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}),eg=At(Jy),tg=[9,13,27,32],Na=p&&"CompositionEvent"in window,Ii=null;p&&"documentMode"in document&&(Ii=document.documentMode);var ng=p&&"TextEvent"in window&&!Ii,jd=p&&(!Na||Ii&&8<Ii&&11>=Ii),Bd=" ",Ud=!1;function Hd(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 $d(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Mo=!1;function rg(e,t){switch(e){case"compositionend":return $d(t);case"keypress":return t.which!==32?null:(Ud=!0,Bd);case"textInput":return e=t.data,e===Bd&&Ud?null:e;default:return null}}function og(e,t){if(Mo)return e==="compositionend"||!Na&&Hd(e,t)?(e=Id(),js=ba=dr=null,Mo=!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 ig={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 Wd(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!ig[e.type]:t==="textarea"}function Vd(e,t,o,s){Ps(s),t=Ks(t,"onChange"),0<t.length&&(o=new Ra("onChange","change",null,o,s),e.push({event:o,listeners:t}))}var Ai=null,Di=null;function sg(e){cf(e,0)}function $s(e){var t=Io(e);if(Oe(t))return e}function lg(e,t){if(e==="change")return t}var Qd=!1;if(p){var _a;if(p){var La="oninput"in document;if(!La){var Kd=document.createElement("div");Kd.setAttribute("oninput","return;"),La=typeof Kd.oninput=="function"}_a=La}else _a=!1;Qd=_a&&(!document.documentMode||9<document.documentMode)}function qd(){Ai&&(Ai.detachEvent("onpropertychange",Gd),Di=Ai=null)}function Gd(e){if(e.propertyName==="value"&&$s(Di)){var t=[];Vd(t,Di,e,bo(e)),Et(sg,t)}}function ag(e,t,o){e==="focusin"?(qd(),Ai=t,Di=o,Ai.attachEvent("onpropertychange",Gd)):e==="focusout"&&qd()}function ug(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return $s(Di)}function cg(e,t){if(e==="click")return $s(t)}function dg(e,t){if(e==="input"||e==="change")return $s(t)}function fg(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var nn=typeof Object.is=="function"?Object.is:fg;function Fi(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),s=Object.keys(t);if(o.length!==s.length)return!1;for(s=0;s<o.length;s++){var a=o[s];if(!h.call(t,a)||!nn(e[a],t[a]))return!1}return!0}function Yd(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Xd(e,t){var o=Yd(e);e=0;for(var s;o;){if(o.nodeType===3){if(s=e+o.textContent.length,e<=t&&s>=t)return{node:o,offset:t-e};e=s}e:{for(;o;){if(o.nextSibling){o=o.nextSibling;break e}o=o.parentNode}o=void 0}o=Yd(o)}}function Zd(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Zd(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Jd(){for(var e=window,t=qe();t instanceof e.HTMLIFrameElement;){try{var o=typeof t.contentWindow.location.href=="string"}catch{o=!1}if(o)e=t.contentWindow;else break;t=qe(e.document)}return t}function Ia(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 pg(e){var t=Jd(),o=e.focusedElem,s=e.selectionRange;if(t!==o&&o&&o.ownerDocument&&Zd(o.ownerDocument.documentElement,o)){if(s!==null&&Ia(o)){if(t=s.start,e=s.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 a=o.textContent.length,d=Math.min(s.start,a);s=s.end===void 0?d:Math.min(s.end,a),!e.extend&&d>s&&(a=s,s=d,d=a),a=Xd(o,d);var m=Xd(o,s);a&&m&&(e.rangeCount!==1||e.anchorNode!==a.node||e.anchorOffset!==a.offset||e.focusNode!==m.node||e.focusOffset!==m.offset)&&(t=t.createRange(),t.setStart(a.node,a.offset),e.removeAllRanges(),d>s?(e.addRange(t),e.extend(m.node,m.offset)):(t.setEnd(m.node,m.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,Oo=null,Aa=null,zi=null,Da=!1;function ef(e,t,o){var s=o.window===o?o.document:o.nodeType===9?o:o.ownerDocument;Da||Oo==null||Oo!==qe(s)||(s=Oo,"selectionStart"in s&&Ia(s)?s={start:s.selectionStart,end:s.selectionEnd}:(s=(s.ownerDocument&&s.ownerDocument.defaultView||window).getSelection(),s={anchorNode:s.anchorNode,anchorOffset:s.anchorOffset,focusNode:s.focusNode,focusOffset:s.focusOffset}),zi&&Fi(zi,s)||(zi=s,s=Ks(Aa,"onSelect"),0<s.length&&(t=new Ra("onSelect","select",null,t,o),e.push({event:t,listeners:s}),t.target=Oo)))}function Ws(e,t){var o={};return o[e.toLowerCase()]=t.toLowerCase(),o["Webkit"+e]="webkit"+t,o["Moz"+e]="moz"+t,o}var No={animationend:Ws("Animation","AnimationEnd"),animationiteration:Ws("Animation","AnimationIteration"),animationstart:Ws("Animation","AnimationStart"),transitionend:Ws("Transition","TransitionEnd")},Fa={},tf={};p&&(tf=document.createElement("div").style,"AnimationEvent"in window||(delete No.animationend.animation,delete No.animationiteration.animation,delete No.animationstart.animation),"TransitionEvent"in window||delete No.transitionend.transition);function Vs(e){if(Fa[e])return Fa[e];if(!No[e])return e;var t=No[e],o;for(o in t)if(t.hasOwnProperty(o)&&o in tf)return Fa[e]=t[o];return e}var nf=Vs("animationend"),rf=Vs("animationiteration"),of=Vs("animationstart"),sf=Vs("transitionend"),lf=new Map,af="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 fr(e,t){lf.set(e,t),c(t,[e])}for(var za=0;za<af.length;za++){var ja=af[za],mg=ja.toLowerCase(),vg=ja[0].toUpperCase()+ja.slice(1);fr(mg,"on"+vg)}fr(nf,"onAnimationEnd"),fr(rf,"onAnimationIteration"),fr(of,"onAnimationStart"),fr("dblclick","onDoubleClick"),fr("focusin","onFocus"),fr("focusout","onBlur"),fr(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 ji="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(" "),yg=new Set("cancel close invalid load scroll toggle".split(" ").concat(ji));function uf(e,t,o){var s=e.type||"unknown-event";e.currentTarget=o,my(s,t,void 0,e),e.currentTarget=null}function cf(e,t){t=(t&4)!==0;for(var o=0;o<e.length;o++){var s=e[o],a=s.event;s=s.listeners;e:{var d=void 0;if(t)for(var m=s.length-1;0<=m;m--){var k=s[m],T=k.instance,D=k.currentTarget;if(k=k.listener,T!==d&&a.isPropagationStopped())break e;uf(a,k,D),d=T}else for(m=0;m<s.length;m++){if(k=s[m],T=k.instance,D=k.currentTarget,k=k.listener,T!==d&&a.isPropagationStopped())break e;uf(a,k,D),d=T}}}if(Ms)throw e=va,Ms=!1,va=null,e}function je(e,t){var o=t[Ka];o===void 0&&(o=t[Ka]=new Set);var s=e+"__bubble";o.has(s)||(df(t,e,2,!1),o.add(s))}function Ba(e,t,o){var s=0;t&&(s|=4),df(o,e,s,t)}var Qs="_reactListening"+Math.random().toString(36).slice(2);function Bi(e){if(!e[Qs]){e[Qs]=!0,l.forEach(function(o){o!=="selectionchange"&&(yg.has(o)||Ba(o,!1,e),Ba(o,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Qs]||(t[Qs]=!0,Ba("selectionchange",!1,t))}}function df(e,t,o,s){switch(Ld(t)){case 1:var a=Ny;break;case 4:a=_y;break;default:a=Ea}o=a.bind(null,t,o,e),a=void 0,!en||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(a=!0),s?a!==void 0?e.addEventListener(t,o,{capture:!0,passive:a}):e.addEventListener(t,o,!0):a!==void 0?e.addEventListener(t,o,{passive:a}):e.addEventListener(t,o,!1)}function Ua(e,t,o,s,a){var d=s;if((t&1)===0&&(t&2)===0&&s!==null)e:for(;;){if(s===null)return;var m=s.tag;if(m===3||m===4){var k=s.stateNode.containerInfo;if(k===a||k.nodeType===8&&k.parentNode===a)break;if(m===4)for(m=s.return;m!==null;){var T=m.tag;if((T===3||T===4)&&(T=m.stateNode.containerInfo,T===a||T.nodeType===8&&T.parentNode===a))return;m=m.return}for(;k!==null;){if(m=Kr(k),m===null)return;if(T=m.tag,T===5||T===6){s=d=m;continue e}k=k.parentNode}}s=s.return}Et(function(){var D=d,W=bo(o),Q=[];e:{var $=lf.get(e);if($!==void 0){var oe=Ra,le=e;switch(e){case"keypress":if(Bs(o)===0)break e;case"keydown":case"keyup":oe=Ky;break;case"focusin":le="focus",oe=Ma;break;case"focusout":le="blur",oe=Ma;break;case"beforeblur":case"afterblur":oe=Ma;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=Dd;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":oe=Ay;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":oe=Yy;break;case nf:case rf:case of:oe=zy;break;case sf:oe=Zy;break;case"scroll":oe=Ly;break;case"wheel":oe=eg;break;case"copy":case"cut":case"paste":oe=By;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":oe=zd}var ue=(t&4)!==0,Ye=!ue&&e==="scroll",I=ue?$!==null?$+"Capture":null:$;ue=[];for(var _=D,A;_!==null;){A=_;var G=A.stateNode;if(A.tag===5&&G!==null&&(A=G,I!==null&&(G=kt(_,I),G!=null&&ue.push(Ui(_,G,A)))),Ye)break;_=_.return}0<ue.length&&($=new oe($,le,null,o,W),Q.push({event:$,listeners:ue}))}}if((t&7)===0){e:{if($=e==="mouseover"||e==="pointerover",oe=e==="mouseout"||e==="pointerout",$&&o!==Ei&&(le=o.relatedTarget||o.fromElement)&&(Kr(le)||le[jn]))break e;if((oe||$)&&($=W.window===W?W:($=W.ownerDocument)?$.defaultView||$.parentWindow:window,oe?(le=o.relatedTarget||o.toElement,oe=D,le=le?Kr(le):null,le!==null&&(Ye=Qr(le),le!==Ye||le.tag!==5&&le.tag!==6)&&(le=null)):(oe=null,le=D),oe!==le)){if(ue=Dd,G="onMouseLeave",I="onMouseEnter",_="mouse",(e==="pointerout"||e==="pointerover")&&(ue=zd,G="onPointerLeave",I="onPointerEnter",_="pointer"),Ye=oe==null?$:Io(oe),A=le==null?$:Io(le),$=new ue(G,_+"leave",oe,o,W),$.target=Ye,$.relatedTarget=A,G=null,Kr(W)===D&&(ue=new ue(I,_+"enter",le,o,W),ue.target=A,ue.relatedTarget=Ye,G=ue),Ye=G,oe&&le)t:{for(ue=oe,I=le,_=0,A=ue;A;A=_o(A))_++;for(A=0,G=I;G;G=_o(G))A++;for(;0<_-A;)ue=_o(ue),_--;for(;0<A-_;)I=_o(I),A--;for(;_--;){if(ue===I||I!==null&&ue===I.alternate)break t;ue=_o(ue),I=_o(I)}ue=null}else ue=null;oe!==null&&ff(Q,$,oe,ue,!1),le!==null&&Ye!==null&&ff(Q,Ye,le,ue,!0)}}e:{if($=D?Io(D):window,oe=$.nodeName&&$.nodeName.toLowerCase(),oe==="select"||oe==="input"&&$.type==="file")var de=lg;else if(Wd($))if(Qd)de=dg;else{de=ug;var ge=ag}else(oe=$.nodeName)&&oe.toLowerCase()==="input"&&($.type==="checkbox"||$.type==="radio")&&(de=cg);if(de&&(de=de(e,D))){Vd(Q,de,o,W);break e}ge&&ge(e,$,D),e==="focusout"&&(ge=$._wrapperState)&&ge.controlled&&$.type==="number"&&gn($,"number",$.value)}switch(ge=D?Io(D):window,e){case"focusin":(Wd(ge)||ge.contentEditable==="true")&&(Oo=ge,Aa=D,zi=null);break;case"focusout":zi=Aa=Oo=null;break;case"mousedown":Da=!0;break;case"contextmenu":case"mouseup":case"dragend":Da=!1,ef(Q,o,W);break;case"selectionchange":if(hg)break;case"keydown":case"keyup":ef(Q,o,W)}var we;if(Na)e:{switch(e){case"compositionstart":var Ee="onCompositionStart";break e;case"compositionend":Ee="onCompositionEnd";break e;case"compositionupdate":Ee="onCompositionUpdate";break e}Ee=void 0}else Mo?Hd(e,o)&&(Ee="onCompositionEnd"):e==="keydown"&&o.keyCode===229&&(Ee="onCompositionStart");Ee&&(jd&&o.locale!=="ko"&&(Mo||Ee!=="onCompositionStart"?Ee==="onCompositionEnd"&&Mo&&(we=Id()):(dr=W,ba="value"in dr?dr.value:dr.textContent,Mo=!0)),ge=Ks(D,Ee),0<ge.length&&(Ee=new Fd(Ee,e,null,o,W),Q.push({event:Ee,listeners:ge}),we?Ee.data=we:(we=$d(o),we!==null&&(Ee.data=we)))),(we=ng?rg(e,o):og(e,o))&&(D=Ks(D,"onBeforeInput"),0<D.length&&(W=new Fd("onBeforeInput","beforeinput",null,o,W),Q.push({event:W,listeners:D}),W.data=we))}cf(Q,t)})}function Ui(e,t,o){return{instance:e,listener:t,currentTarget:o}}function Ks(e,t){for(var o=t+"Capture",s=[];e!==null;){var a=e,d=a.stateNode;a.tag===5&&d!==null&&(a=d,d=kt(e,o),d!=null&&s.unshift(Ui(e,d,a)),d=kt(e,t),d!=null&&s.push(Ui(e,d,a))),e=e.return}return s}function _o(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function ff(e,t,o,s,a){for(var d=t._reactName,m=[];o!==null&&o!==s;){var k=o,T=k.alternate,D=k.stateNode;if(T!==null&&T===s)break;k.tag===5&&D!==null&&(k=D,a?(T=kt(o,d),T!=null&&m.unshift(Ui(o,T,k))):a||(T=kt(o,d),T!=null&&m.push(Ui(o,T,k)))),o=o.return}m.length!==0&&e.push({event:t,listeners:m})}var gg=/\r\n?/g,wg=/\u0000|\uFFFD/g;function pf(e){return(typeof e=="string"?e:""+e).replace(gg,`
38
+ `).replace(wg,"")}function qs(e,t,o){if(t=pf(t),pf(e)!==t&&o)throw Error(i(425))}function Gs(){}var Ha=null,$a=null;function Wa(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 Va=typeof setTimeout=="function"?setTimeout:void 0,xg=typeof clearTimeout=="function"?clearTimeout:void 0,hf=typeof Promise=="function"?Promise:void 0,Sg=typeof queueMicrotask=="function"?queueMicrotask:typeof hf<"u"?function(e){return hf.resolve(null).then(e).catch(Cg)}:Va;function Cg(e){setTimeout(function(){throw e})}function Qa(e,t){var o=t,s=0;do{var a=o.nextSibling;if(e.removeChild(o),a&&a.nodeType===8)if(o=a.data,o==="/$"){if(s===0){e.removeChild(a),Ni(t);return}s--}else o!=="$"&&o!=="$?"&&o!=="$!"||s++;o=a}while(o);Ni(t)}function pr(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 mf(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 Lo=Math.random().toString(36).slice(2),Rn="__reactFiber$"+Lo,Hi="__reactProps$"+Lo,jn="__reactContainer$"+Lo,Ka="__reactEvents$"+Lo,Eg="__reactListeners$"+Lo,kg="__reactHandles$"+Lo;function Kr(e){var t=e[Rn];if(t)return t;for(var o=e.parentNode;o;){if(t=o[jn]||o[Rn]){if(o=t.alternate,t.child!==null||o!==null&&o.child!==null)for(e=mf(e);e!==null;){if(o=e[Rn])return o;e=mf(e)}return t}e=o,o=e.parentNode}return null}function $i(e){return e=e[Rn]||e[jn],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Io(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(i(33))}function Ys(e){return e[Hi]||null}var qa=[],Ao=-1;function hr(e){return{current:e}}function Be(e){0>Ao||(e.current=qa[Ao],qa[Ao]=null,Ao--)}function ze(e,t){Ao++,qa[Ao]=e.current,e.current=t}var mr={},ft=hr(mr),bt=hr(!1),qr=mr;function Do(e,t){var o=e.type.contextTypes;if(!o)return mr;var s=e.stateNode;if(s&&s.__reactInternalMemoizedUnmaskedChildContext===t)return s.__reactInternalMemoizedMaskedChildContext;var a={},d;for(d in o)a[d]=t[d];return s&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function Rt(e){return e=e.childContextTypes,e!=null}function Xs(){Be(bt),Be(ft)}function vf(e,t,o){if(ft.current!==mr)throw Error(i(168));ze(ft,t),ze(bt,o)}function yf(e,t,o){var s=e.stateNode;if(t=t.childContextTypes,typeof s.getChildContext!="function")return o;s=s.getChildContext();for(var a in s)if(!(a in t))throw Error(i(108,K(e)||"Unknown",a));return V({},o,s)}function Zs(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||mr,qr=ft.current,ze(ft,e),ze(bt,bt.current),!0}function gf(e,t,o){var s=e.stateNode;if(!s)throw Error(i(169));o?(e=yf(e,t,qr),s.__reactInternalMemoizedMergedChildContext=e,Be(bt),Be(ft),ze(ft,e)):Be(bt),ze(bt,o)}var Bn=null,Js=!1,Ga=!1;function wf(e){Bn===null?Bn=[e]:Bn.push(e)}function bg(e){Js=!0,wf(e)}function vr(){if(!Ga&&Bn!==null){Ga=!0;var e=0,t=De;try{var o=Bn;for(De=1;e<o.length;e++){var s=o[e];do s=s(!0);while(s!==null)}Bn=null,Js=!1}catch(a){throw Bn!==null&&(Bn=Bn.slice(e+1)),xd(ya,vr),a}finally{De=t,Ga=!1}}return null}var Fo=[],zo=0,el=null,tl=0,$t=[],Wt=0,Gr=null,Un=1,Hn="";function Yr(e,t){Fo[zo++]=tl,Fo[zo++]=el,el=e,tl=t}function xf(e,t,o){$t[Wt++]=Un,$t[Wt++]=Hn,$t[Wt++]=Gr,Gr=e;var s=Un;e=Hn;var a=32-tn(s)-1;s&=~(1<<a),o+=1;var d=32-tn(t)+a;if(30<d){var m=a-a%5;d=(s&(1<<m)-1).toString(32),s>>=m,a-=m,Un=1<<32-tn(t)+a|o<<a|s,Hn=d+e}else Un=1<<d|o<<a|s,Hn=e}function Ya(e){e.return!==null&&(Yr(e,1),xf(e,1,0))}function Xa(e){for(;e===el;)el=Fo[--zo],Fo[zo]=null,tl=Fo[--zo],Fo[zo]=null;for(;e===Gr;)Gr=$t[--Wt],$t[Wt]=null,Hn=$t[--Wt],$t[Wt]=null,Un=$t[--Wt],$t[Wt]=null}var Dt=null,Ft=null,He=!1,rn=null;function Sf(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 Cf(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=pr(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=Gr!==null?{id:Un,overflow:Hn}: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 Za(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Ja(e){if(He){var t=Ft;if(t){var o=t;if(!Cf(e,t)){if(Za(e))throw Error(i(418));t=pr(o.nextSibling);var s=Dt;t&&Cf(e,t)?Sf(s,o):(e.flags=e.flags&-4097|2,He=!1,Dt=e)}}else{if(Za(e))throw Error(i(418));e.flags=e.flags&-4097|2,He=!1,Dt=e}}}function Ef(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Dt=e}function nl(e){if(e!==Dt)return!1;if(!He)return Ef(e),He=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Wa(e.type,e.memoizedProps)),t&&(t=Ft)){if(Za(e))throw kf(),Error(i(418));for(;t;)Sf(e,t),t=pr(t.nextSibling)}if(Ef(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=pr(e.nextSibling);break e}t--}else o!=="$"&&o!=="$!"&&o!=="$?"||t++}e=e.nextSibling}Ft=null}}else Ft=Dt?pr(e.stateNode.nextSibling):null;return!0}function kf(){for(var e=Ft;e;)e=pr(e.nextSibling)}function jo(){Ft=Dt=null,He=!1}function eu(e){rn===null?rn=[e]:rn.push(e)}var Rg=L.ReactCurrentBatchConfig;function Wi(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 s=o.stateNode}if(!s)throw Error(i(147,e));var a=s,d=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===d?t.ref:(t=function(m){var k=a.refs;m===null?delete k[d]:k[d]=m},t._stringRef=d,t)}if(typeof e!="string")throw Error(i(284));if(!o._owner)throw Error(i(290,e))}return e}function rl(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 Rf(e){function t(I,_){if(e){var A=I.deletions;A===null?(I.deletions=[_],I.flags|=16):A.push(_)}}function o(I,_){if(!e)return null;for(;_!==null;)t(I,_),_=_.sibling;return null}function s(I,_){for(I=new Map;_!==null;)_.key!==null?I.set(_.key,_):I.set(_.index,_),_=_.sibling;return I}function a(I,_){return I=kr(I,_),I.index=0,I.sibling=null,I}function d(I,_,A){return I.index=A,e?(A=I.alternate,A!==null?(A=A.index,A<_?(I.flags|=2,_):A):(I.flags|=2,_)):(I.flags|=1048576,_)}function m(I){return e&&I.alternate===null&&(I.flags|=2),I}function k(I,_,A,G){return _===null||_.tag!==6?(_=Vu(A,I.mode,G),_.return=I,_):(_=a(_,A),_.return=I,_)}function T(I,_,A,G){var de=A.type;return de===H?W(I,_,A.props.children,G,A.key):_!==null&&(_.elementType===de||typeof de=="object"&&de!==null&&de.$$typeof===ae&&bf(de)===_.type)?(G=a(_,A.props),G.ref=Wi(I,_,A),G.return=I,G):(G=Pl(A.type,A.key,A.props,null,I.mode,G),G.ref=Wi(I,_,A),G.return=I,G)}function D(I,_,A,G){return _===null||_.tag!==4||_.stateNode.containerInfo!==A.containerInfo||_.stateNode.implementation!==A.implementation?(_=Qu(A,I.mode,G),_.return=I,_):(_=a(_,A.children||[]),_.return=I,_)}function W(I,_,A,G,de){return _===null||_.tag!==7?(_=oo(A,I.mode,G,de),_.return=I,_):(_=a(_,A),_.return=I,_)}function Q(I,_,A){if(typeof _=="string"&&_!==""||typeof _=="number")return _=Vu(""+_,I.mode,A),_.return=I,_;if(typeof _=="object"&&_!==null){switch(_.$$typeof){case z:return A=Pl(_.type,_.key,_.props,null,I.mode,A),A.ref=Wi(I,null,_),A.return=I,A;case U:return _=Qu(_,I.mode,A),_.return=I,_;case ae:var G=_._init;return Q(I,G(_._payload),A)}if(ir(_)||B(_))return _=oo(_,I.mode,A,null),_.return=I,_;rl(I,_)}return null}function $(I,_,A,G){var de=_!==null?_.key:null;if(typeof A=="string"&&A!==""||typeof A=="number")return de!==null?null:k(I,_,""+A,G);if(typeof A=="object"&&A!==null){switch(A.$$typeof){case z:return A.key===de?T(I,_,A,G):null;case U:return A.key===de?D(I,_,A,G):null;case ae:return de=A._init,$(I,_,de(A._payload),G)}if(ir(A)||B(A))return de!==null?null:W(I,_,A,G,null);rl(I,A)}return null}function oe(I,_,A,G,de){if(typeof G=="string"&&G!==""||typeof G=="number")return I=I.get(A)||null,k(_,I,""+G,de);if(typeof G=="object"&&G!==null){switch(G.$$typeof){case z:return I=I.get(G.key===null?A:G.key)||null,T(_,I,G,de);case U:return I=I.get(G.key===null?A:G.key)||null,D(_,I,G,de);case ae:var ge=G._init;return oe(I,_,A,ge(G._payload),de)}if(ir(G)||B(G))return I=I.get(A)||null,W(_,I,G,de,null);rl(_,G)}return null}function le(I,_,A,G){for(var de=null,ge=null,we=_,Ee=_=0,it=null;we!==null&&Ee<A.length;Ee++){we.index>Ee?(it=we,we=null):it=we.sibling;var Le=$(I,we,A[Ee],G);if(Le===null){we===null&&(we=it);break}e&&we&&Le.alternate===null&&t(I,we),_=d(Le,_,Ee),ge===null?de=Le:ge.sibling=Le,ge=Le,we=it}if(Ee===A.length)return o(I,we),He&&Yr(I,Ee),de;if(we===null){for(;Ee<A.length;Ee++)we=Q(I,A[Ee],G),we!==null&&(_=d(we,_,Ee),ge===null?de=we:ge.sibling=we,ge=we);return He&&Yr(I,Ee),de}for(we=s(I,we);Ee<A.length;Ee++)it=oe(we,I,Ee,A[Ee],G),it!==null&&(e&&it.alternate!==null&&we.delete(it.key===null?Ee:it.key),_=d(it,_,Ee),ge===null?de=it:ge.sibling=it,ge=it);return e&&we.forEach(function(br){return t(I,br)}),He&&Yr(I,Ee),de}function ue(I,_,A,G){var de=B(A);if(typeof de!="function")throw Error(i(150));if(A=de.call(A),A==null)throw Error(i(151));for(var ge=de=null,we=_,Ee=_=0,it=null,Le=A.next();we!==null&&!Le.done;Ee++,Le=A.next()){we.index>Ee?(it=we,we=null):it=we.sibling;var br=$(I,we,Le.value,G);if(br===null){we===null&&(we=it);break}e&&we&&br.alternate===null&&t(I,we),_=d(br,_,Ee),ge===null?de=br:ge.sibling=br,ge=br,we=it}if(Le.done)return o(I,we),He&&Yr(I,Ee),de;if(we===null){for(;!Le.done;Ee++,Le=A.next())Le=Q(I,Le.value,G),Le!==null&&(_=d(Le,_,Ee),ge===null?de=Le:ge.sibling=Le,ge=Le);return He&&Yr(I,Ee),de}for(we=s(I,we);!Le.done;Ee++,Le=A.next())Le=oe(we,I,Ee,Le.value,G),Le!==null&&(e&&Le.alternate!==null&&we.delete(Le.key===null?Ee:Le.key),_=d(Le,_,Ee),ge===null?de=Le:ge.sibling=Le,ge=Le);return e&&we.forEach(function(i0){return t(I,i0)}),He&&Yr(I,Ee),de}function Ye(I,_,A,G){if(typeof A=="object"&&A!==null&&A.type===H&&A.key===null&&(A=A.props.children),typeof A=="object"&&A!==null){switch(A.$$typeof){case z:e:{for(var de=A.key,ge=_;ge!==null;){if(ge.key===de){if(de=A.type,de===H){if(ge.tag===7){o(I,ge.sibling),_=a(ge,A.props.children),_.return=I,I=_;break e}}else if(ge.elementType===de||typeof de=="object"&&de!==null&&de.$$typeof===ae&&bf(de)===ge.type){o(I,ge.sibling),_=a(ge,A.props),_.ref=Wi(I,ge,A),_.return=I,I=_;break e}o(I,ge);break}else t(I,ge);ge=ge.sibling}A.type===H?(_=oo(A.props.children,I.mode,G,A.key),_.return=I,I=_):(G=Pl(A.type,A.key,A.props,null,I.mode,G),G.ref=Wi(I,_,A),G.return=I,I=G)}return m(I);case U:e:{for(ge=A.key;_!==null;){if(_.key===ge)if(_.tag===4&&_.stateNode.containerInfo===A.containerInfo&&_.stateNode.implementation===A.implementation){o(I,_.sibling),_=a(_,A.children||[]),_.return=I,I=_;break e}else{o(I,_);break}else t(I,_);_=_.sibling}_=Qu(A,I.mode,G),_.return=I,I=_}return m(I);case ae:return ge=A._init,Ye(I,_,ge(A._payload),G)}if(ir(A))return le(I,_,A,G);if(B(A))return ue(I,_,A,G);rl(I,A)}return typeof A=="string"&&A!==""||typeof A=="number"?(A=""+A,_!==null&&_.tag===6?(o(I,_.sibling),_=a(_,A),_.return=I,I=_):(o(I,_),_=Vu(A,I.mode,G),_.return=I,I=_),m(I)):o(I,_)}return Ye}var Bo=Rf(!0),Pf=Rf(!1),ol=hr(null),il=null,Uo=null,tu=null;function nu(){tu=Uo=il=null}function ru(e){var t=ol.current;Be(ol),e._currentValue=t}function ou(e,t,o){for(;e!==null;){var s=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,s!==null&&(s.childLanes|=t)):s!==null&&(s.childLanes&t)!==t&&(s.childLanes|=t),e===o)break;e=e.return}}function Ho(e,t){il=e,tu=Uo=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!==0&&(Pt=!0),e.firstContext=null)}function Vt(e){var t=e._currentValue;if(tu!==e)if(e={context:e,memoizedValue:t,next:null},Uo===null){if(il===null)throw Error(i(308));Uo=e,il.dependencies={lanes:0,firstContext:e}}else Uo=Uo.next=e;return t}var Xr=null;function iu(e){Xr===null?Xr=[e]:Xr.push(e)}function Tf(e,t,o,s){var a=t.interleaved;return a===null?(o.next=o,iu(t)):(o.next=a.next,a.next=o),t.interleaved=o,$n(e,s)}function $n(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 yr=!1;function su(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Mf(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 Wn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function gr(e,t,o){var s=e.updateQueue;if(s===null)return null;if(s=s.shared,(_e&2)!==0){var a=s.pending;return a===null?t.next=t:(t.next=a.next,a.next=t),s.pending=t,$n(e,o)}return a=s.interleaved,a===null?(t.next=t,iu(s)):(t.next=a.next,a.next=t),s.interleaved=t,$n(e,o)}function sl(e,t,o){if(t=t.updateQueue,t!==null&&(t=t.shared,(o&4194240)!==0)){var s=t.lanes;s&=e.pendingLanes,o|=s,t.lanes=o,xa(e,o)}}function Of(e,t){var o=e.updateQueue,s=e.alternate;if(s!==null&&(s=s.updateQueue,o===s)){var a=null,d=null;if(o=o.firstBaseUpdate,o!==null){do{var m={eventTime:o.eventTime,lane:o.lane,tag:o.tag,payload:o.payload,callback:o.callback,next:null};d===null?a=d=m:d=d.next=m,o=o.next}while(o!==null);d===null?a=d=t:d=d.next=t}else a=d=t;o={baseState:s.baseState,firstBaseUpdate:a,lastBaseUpdate:d,shared:s.shared,effects:s.effects},e.updateQueue=o;return}e=o.lastBaseUpdate,e===null?o.firstBaseUpdate=t:e.next=t,o.lastBaseUpdate=t}function ll(e,t,o,s){var a=e.updateQueue;yr=!1;var d=a.firstBaseUpdate,m=a.lastBaseUpdate,k=a.shared.pending;if(k!==null){a.shared.pending=null;var T=k,D=T.next;T.next=null,m===null?d=D:m.next=D,m=T;var W=e.alternate;W!==null&&(W=W.updateQueue,k=W.lastBaseUpdate,k!==m&&(k===null?W.firstBaseUpdate=D:k.next=D,W.lastBaseUpdate=T))}if(d!==null){var Q=a.baseState;m=0,W=D=T=null,k=d;do{var $=k.lane,oe=k.eventTime;if((s&$)===$){W!==null&&(W=W.next={eventTime:oe,lane:0,tag:k.tag,payload:k.payload,callback:k.callback,next:null});e:{var le=e,ue=k;switch($=t,oe=o,ue.tag){case 1:if(le=ue.payload,typeof le=="function"){Q=le.call(oe,Q,$);break e}Q=le;break e;case 3:le.flags=le.flags&-65537|128;case 0:if(le=ue.payload,$=typeof le=="function"?le.call(oe,Q,$):le,$==null)break e;Q=V({},Q,$);break e;case 2:yr=!0}}k.callback!==null&&k.lane!==0&&(e.flags|=64,$=a.effects,$===null?a.effects=[k]:$.push(k))}else oe={eventTime:oe,lane:$,tag:k.tag,payload:k.payload,callback:k.callback,next:null},W===null?(D=W=oe,T=Q):W=W.next=oe,m|=$;if(k=k.next,k===null){if(k=a.shared.pending,k===null)break;$=k,k=$.next,$.next=null,a.lastBaseUpdate=$,a.shared.pending=null}}while(!0);if(W===null&&(T=Q),a.baseState=T,a.firstBaseUpdate=D,a.lastBaseUpdate=W,t=a.shared.interleaved,t!==null){a=t;do m|=a.lane,a=a.next;while(a!==t)}else d===null&&(a.shared.lanes=0);eo|=m,e.lanes=m,e.memoizedState=Q}}function Nf(e,t,o){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var s=e[t],a=s.callback;if(a!==null){if(s.callback=null,s=o,typeof a!="function")throw Error(i(191,a));a.call(s)}}}var Vi={},Pn=hr(Vi),Qi=hr(Vi),Ki=hr(Vi);function Zr(e){if(e===Vi)throw Error(i(174));return e}function lu(e,t){switch(ze(Ki,t),ze(Qi,e),ze(Pn,Vi),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:xn(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=xn(t,e)}Be(Pn),ze(Pn,t)}function $o(){Be(Pn),Be(Qi),Be(Ki)}function _f(e){Zr(Ki.current);var t=Zr(Pn.current),o=xn(t,e.type);t!==o&&(ze(Qi,e),ze(Pn,o))}function au(e){Qi.current===e&&(Be(Pn),Be(Qi))}var We=hr(0);function al(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 uu=[];function cu(){for(var e=0;e<uu.length;e++)uu[e]._workInProgressVersionPrimary=null;uu.length=0}var ul=L.ReactCurrentDispatcher,du=L.ReactCurrentBatchConfig,Jr=0,Ve=null,et=null,rt=null,cl=!1,qi=!1,Gi=0,Pg=0;function pt(){throw Error(i(321))}function fu(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 pu(e,t,o,s,a,d){if(Jr=d,Ve=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,ul.current=e===null||e.memoizedState===null?Ng:_g,e=o(s,a),qi){d=0;do{if(qi=!1,Gi=0,25<=d)throw Error(i(301));d+=1,rt=et=null,t.updateQueue=null,ul.current=Lg,e=o(s,a)}while(qi)}if(ul.current=pl,t=et!==null&&et.next!==null,Jr=0,rt=et=Ve=null,cl=!1,t)throw Error(i(300));return e}function hu(){var e=Gi!==0;return Gi=0,e}function Tn(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return rt===null?Ve.memoizedState=rt=e:rt=rt.next=e,rt}function Qt(){if(et===null){var e=Ve.alternate;e=e!==null?e.memoizedState:null}else e=et.next;var t=rt===null?Ve.memoizedState:rt.next;if(t!==null)rt=t,et=e;else{if(e===null)throw Error(i(310));et=e,e={memoizedState:et.memoizedState,baseState:et.baseState,baseQueue:et.baseQueue,queue:et.queue,next:null},rt===null?Ve.memoizedState=rt=e:rt=rt.next=e}return rt}function Yi(e,t){return typeof t=="function"?t(e):t}function mu(e){var t=Qt(),o=t.queue;if(o===null)throw Error(i(311));o.lastRenderedReducer=e;var s=et,a=s.baseQueue,d=o.pending;if(d!==null){if(a!==null){var m=a.next;a.next=d.next,d.next=m}s.baseQueue=a=d,o.pending=null}if(a!==null){d=a.next,s=s.baseState;var k=m=null,T=null,D=d;do{var W=D.lane;if((Jr&W)===W)T!==null&&(T=T.next={lane:0,action:D.action,hasEagerState:D.hasEagerState,eagerState:D.eagerState,next:null}),s=D.hasEagerState?D.eagerState:e(s,D.action);else{var Q={lane:W,action:D.action,hasEagerState:D.hasEagerState,eagerState:D.eagerState,next:null};T===null?(k=T=Q,m=s):T=T.next=Q,Ve.lanes|=W,eo|=W}D=D.next}while(D!==null&&D!==d);T===null?m=s:T.next=k,nn(s,t.memoizedState)||(Pt=!0),t.memoizedState=s,t.baseState=m,t.baseQueue=T,o.lastRenderedState=s}if(e=o.interleaved,e!==null){a=e;do d=a.lane,Ve.lanes|=d,eo|=d,a=a.next;while(a!==e)}else a===null&&(o.lanes=0);return[t.memoizedState,o.dispatch]}function vu(e){var t=Qt(),o=t.queue;if(o===null)throw Error(i(311));o.lastRenderedReducer=e;var s=o.dispatch,a=o.pending,d=t.memoizedState;if(a!==null){o.pending=null;var m=a=a.next;do d=e(d,m.action),m=m.next;while(m!==a);nn(d,t.memoizedState)||(Pt=!0),t.memoizedState=d,t.baseQueue===null&&(t.baseState=d),o.lastRenderedState=d}return[d,s]}function Lf(){}function If(e,t){var o=Ve,s=Qt(),a=t(),d=!nn(s.memoizedState,a);if(d&&(s.memoizedState=a,Pt=!0),s=s.queue,yu(Ff.bind(null,o,s,e),[e]),s.getSnapshot!==t||d||rt!==null&&rt.memoizedState.tag&1){if(o.flags|=2048,Xi(9,Df.bind(null,o,s,a,t),void 0,null),ot===null)throw Error(i(349));(Jr&30)!==0||Af(o,t,a)}return a}function Af(e,t,o){e.flags|=16384,e={getSnapshot:t,value:o},t=Ve.updateQueue,t===null?(t={lastEffect:null,stores:null},Ve.updateQueue=t,t.stores=[e]):(o=t.stores,o===null?t.stores=[e]:o.push(e))}function Df(e,t,o,s){t.value=o,t.getSnapshot=s,zf(t)&&jf(e)}function Ff(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=$n(e,1);t!==null&&an(t,e,1,-1)}function Bf(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:Yi,lastRenderedState:e},t.queue=e,e=e.dispatch=Og.bind(null,Ve,e),[t.memoizedState,e]}function Xi(e,t,o,s){return e={tag:e,create:t,destroy:o,deps:s,next:null},t=Ve.updateQueue,t===null?(t={lastEffect:null,stores:null},Ve.updateQueue=t,t.lastEffect=e.next=e):(o=t.lastEffect,o===null?t.lastEffect=e.next=e:(s=o.next,o.next=e,e.next=s,t.lastEffect=e)),e}function Uf(){return Qt().memoizedState}function dl(e,t,o,s){var a=Tn();Ve.flags|=e,a.memoizedState=Xi(1|t,o,void 0,s===void 0?null:s)}function fl(e,t,o,s){var a=Qt();s=s===void 0?null:s;var d=void 0;if(et!==null){var m=et.memoizedState;if(d=m.destroy,s!==null&&fu(s,m.deps)){a.memoizedState=Xi(t,o,d,s);return}}Ve.flags|=e,a.memoizedState=Xi(1|t,o,d,s)}function Hf(e,t){return dl(8390656,8,e,t)}function yu(e,t){return fl(2048,8,e,t)}function $f(e,t){return fl(4,2,e,t)}function Wf(e,t){return fl(4,4,e,t)}function Vf(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 Qf(e,t,o){return o=o!=null?o.concat([e]):null,fl(4,4,Vf.bind(null,t,e),o)}function gu(){}function Kf(e,t){var o=Qt();t=t===void 0?null:t;var s=o.memoizedState;return s!==null&&t!==null&&fu(t,s[1])?s[0]:(o.memoizedState=[e,t],e)}function qf(e,t){var o=Qt();t=t===void 0?null:t;var s=o.memoizedState;return s!==null&&t!==null&&fu(t,s[1])?s[0]:(e=e(),o.memoizedState=[e,t],e)}function Gf(e,t,o){return(Jr&21)===0?(e.baseState&&(e.baseState=!1,Pt=!0),e.memoizedState=o):(nn(o,t)||(o=kd(),Ve.lanes|=o,eo|=o,e.baseState=!0),t)}function Tg(e,t){var o=De;De=o!==0&&4>o?o:4,e(!0);var s=du.transition;du.transition={};try{e(!1),t()}finally{De=o,du.transition=s}}function Yf(){return Qt().memoizedState}function Mg(e,t,o){var s=Cr(e);if(o={lane:s,action:o,hasEagerState:!1,eagerState:null,next:null},Xf(e))Zf(t,o);else if(o=Tf(e,t,o,s),o!==null){var a=xt();an(o,e,s,a),Jf(o,t,s)}}function Og(e,t,o){var s=Cr(e),a={lane:s,action:o,hasEagerState:!1,eagerState:null,next:null};if(Xf(e))Zf(t,a);else{var d=e.alternate;if(e.lanes===0&&(d===null||d.lanes===0)&&(d=t.lastRenderedReducer,d!==null))try{var m=t.lastRenderedState,k=d(m,o);if(a.hasEagerState=!0,a.eagerState=k,nn(k,m)){var T=t.interleaved;T===null?(a.next=a,iu(t)):(a.next=T.next,T.next=a),t.interleaved=a;return}}catch{}finally{}o=Tf(e,t,a,s),o!==null&&(a=xt(),an(o,e,s,a),Jf(o,t,s))}}function Xf(e){var t=e.alternate;return e===Ve||t!==null&&t===Ve}function Zf(e,t){qi=cl=!0;var o=e.pending;o===null?t.next=t:(t.next=o.next,o.next=t),e.pending=t}function Jf(e,t,o){if((o&4194240)!==0){var s=t.lanes;s&=e.pendingLanes,o|=s,t.lanes=o,xa(e,o)}}var pl={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},Ng={readContext:Vt,useCallback:function(e,t){return Tn().memoizedState=[e,t===void 0?null:t],e},useContext:Vt,useEffect:Hf,useImperativeHandle:function(e,t,o){return o=o!=null?o.concat([e]):null,dl(4194308,4,Vf.bind(null,t,e),o)},useLayoutEffect:function(e,t){return dl(4194308,4,e,t)},useInsertionEffect:function(e,t){return dl(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 s=Tn();return t=o!==void 0?o(t):t,s.memoizedState=s.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},s.queue=e,e=e.dispatch=Mg.bind(null,Ve,e),[s.memoizedState,e]},useRef:function(e){var t=Tn();return e={current:e},t.memoizedState=e},useState:Bf,useDebugValue:gu,useDeferredValue:function(e){return Tn().memoizedState=e},useTransition:function(){var e=Bf(!1),t=e[0];return e=Tg.bind(null,e[1]),Tn().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,o){var s=Ve,a=Tn();if(He){if(o===void 0)throw Error(i(407));o=o()}else{if(o=t(),ot===null)throw Error(i(349));(Jr&30)!==0||Af(s,t,o)}a.memoizedState=o;var d={value:o,getSnapshot:t};return a.queue=d,Hf(Ff.bind(null,s,d,e),[e]),s.flags|=2048,Xi(9,Df.bind(null,s,d,o,t),void 0,null),o},useId:function(){var e=Tn(),t=ot.identifierPrefix;if(He){var o=Hn,s=Un;o=(s&~(1<<32-tn(s)-1)).toString(32)+o,t=":"+t+"R"+o,o=Gi++,0<o&&(t+="H"+o.toString(32)),t+=":"}else o=Pg++,t=":"+t+"r"+o.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},_g={readContext:Vt,useCallback:Kf,useContext:Vt,useEffect:yu,useImperativeHandle:Qf,useInsertionEffect:$f,useLayoutEffect:Wf,useMemo:qf,useReducer:mu,useRef:Uf,useState:function(){return mu(Yi)},useDebugValue:gu,useDeferredValue:function(e){var t=Qt();return Gf(t,et.memoizedState,e)},useTransition:function(){var e=mu(Yi)[0],t=Qt().memoizedState;return[e,t]},useMutableSource:Lf,useSyncExternalStore:If,useId:Yf,unstable_isNewReconciler:!1},Lg={readContext:Vt,useCallback:Kf,useContext:Vt,useEffect:yu,useImperativeHandle:Qf,useInsertionEffect:$f,useLayoutEffect:Wf,useMemo:qf,useReducer:vu,useRef:Uf,useState:function(){return vu(Yi)},useDebugValue:gu,useDeferredValue:function(e){var t=Qt();return et===null?t.memoizedState=e:Gf(t,et.memoizedState,e)},useTransition:function(){var e=vu(Yi)[0],t=Qt().memoizedState;return[e,t]},useMutableSource:Lf,useSyncExternalStore:If,useId:Yf,unstable_isNewReconciler:!1};function on(e,t){if(e&&e.defaultProps){t=V({},t),e=e.defaultProps;for(var o in e)t[o]===void 0&&(t[o]=e[o]);return t}return t}function wu(e,t,o,s){t=e.memoizedState,o=o(s,t),o=o==null?t:V({},t,o),e.memoizedState=o,e.lanes===0&&(e.updateQueue.baseState=o)}var hl={isMounted:function(e){return(e=e._reactInternals)?Qr(e)===e:!1},enqueueSetState:function(e,t,o){e=e._reactInternals;var s=xt(),a=Cr(e),d=Wn(s,a);d.payload=t,o!=null&&(d.callback=o),t=gr(e,d,a),t!==null&&(an(t,e,a,s),sl(t,e,a))},enqueueReplaceState:function(e,t,o){e=e._reactInternals;var s=xt(),a=Cr(e),d=Wn(s,a);d.tag=1,d.payload=t,o!=null&&(d.callback=o),t=gr(e,d,a),t!==null&&(an(t,e,a,s),sl(t,e,a))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var o=xt(),s=Cr(e),a=Wn(o,s);a.tag=2,t!=null&&(a.callback=t),t=gr(e,a,s),t!==null&&(an(t,e,s,o),sl(t,e,s))}};function ep(e,t,o,s,a,d,m){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(s,d,m):t.prototype&&t.prototype.isPureReactComponent?!Fi(o,s)||!Fi(a,d):!0}function tp(e,t,o){var s=!1,a=mr,d=t.contextType;return typeof d=="object"&&d!==null?d=Vt(d):(a=Rt(t)?qr:ft.current,s=t.contextTypes,d=(s=s!=null)?Do(e,a):mr),t=new t(o,d),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=hl,e.stateNode=t,t._reactInternals=e,s&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=a,e.__reactInternalMemoizedMaskedChildContext=d),t}function np(e,t,o,s){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(o,s),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(o,s),t.state!==e&&hl.enqueueReplaceState(t,t.state,null)}function xu(e,t,o,s){var a=e.stateNode;a.props=o,a.state=e.memoizedState,a.refs={},su(e);var d=t.contextType;typeof d=="object"&&d!==null?a.context=Vt(d):(d=Rt(t)?qr:ft.current,a.context=Do(e,d)),a.state=e.memoizedState,d=t.getDerivedStateFromProps,typeof d=="function"&&(wu(e,t,d,o),a.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof a.getSnapshotBeforeUpdate=="function"||typeof a.UNSAFE_componentWillMount!="function"&&typeof a.componentWillMount!="function"||(t=a.state,typeof a.componentWillMount=="function"&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount=="function"&&a.UNSAFE_componentWillMount(),t!==a.state&&hl.enqueueReplaceState(a,a.state,null),ll(e,o,a,s),a.state=e.memoizedState),typeof a.componentDidMount=="function"&&(e.flags|=4194308)}function Wo(e,t){try{var o="",s=t;do o+=ve(s),s=s.return;while(s);var a=o}catch(d){a=`
39
39
  Error generating stack: `+d.message+`
40
- `+d.stack}return{value:e,source:t,stack:a,digest:null}}function Su(e,t,o){return{value:e,source:null,stack:o??null,digest:t??null}}function ku(e,t){try{console.error(t.value)}catch(o){setTimeout(function(){throw o})}}var Ig=typeof WeakMap=="function"?WeakMap:Map;function rp(e,t,o){o=Vn(-1,o),o.tag=3,o.payload={element:null};var s=t.value;return o.callback=function(){Sl||(Sl=!0,Fu=s),ku(e,t)},o}function op(e,t,o){o=Vn(-1,o),o.tag=3;var s=e.type.getDerivedStateFromError;if(typeof s=="function"){var a=t.value;o.payload=function(){return s(a)},o.callback=function(){ku(e,t)}}var d=e.stateNode;return d!==null&&typeof d.componentDidCatch=="function"&&(o.callback=function(){ku(e,t),typeof s!="function"&&(xr===null?xr=new Set([this]):xr.add(this));var m=t.stack;this.componentDidCatch(t.value,{componentStack:m!==null?m:""})}),o}function ip(e,t,o){var s=e.pingCache;if(s===null){s=e.pingCache=new Ig;var a=new Set;s.set(t,a)}else a=s.get(t),a===void 0&&(a=new Set,s.set(t,a));a.has(o)||(a.add(o),e=qg.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 lp(e,t,o,s,a){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,gr(o,t,1))),o.lanes|=1),e):(e.flags|=65536,e.lanes=a,e)}var Ag=L.ReactCurrentOwner,Pt=!1;function wt(e,t,o,s){t.child=e===null?Pf(t,null,o,s):Bo(t,e.child,o,s)}function ap(e,t,o,s,a){o=o.render;var d=t.ref;return Ho(t,a),s=pu(e,t,o,s,d,a),o=hu(),e!==null&&!Pt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,Wn(e,t,a)):(He&&o&&Ga(t),t.flags|=1,wt(e,t,s,a),t.child)}function up(e,t,o,s,a){if(e===null){var d=o.type;return typeof d=="function"&&!Vu(d)&&d.defaultProps===void 0&&o.compare===null&&o.defaultProps===void 0?(t.tag=15,t.type=d,cp(e,t,d,s,a)):(e=Pl(o.type,null,s,t,t.mode,a),e.ref=t.ref,e.return=t,t.child=e)}if(d=e.child,(e.lanes&a)===0){var m=d.memoizedProps;if(o=o.compare,o=o!==null?o:Fi,o(m,s)&&e.ref===t.ref)return Wn(e,t,a)}return t.flags|=1,e=Er(d,s),e.ref=t.ref,e.return=t,t.child=e}function cp(e,t,o,s,a){if(e!==null){var d=e.memoizedProps;if(Fi(d,s)&&e.ref===t.ref)if(Pt=!1,t.pendingProps=s=d,(e.lanes&a)!==0)(e.flags&131072)!==0&&(Pt=!0);else return t.lanes=e.lanes,Wn(e,t,a)}return Cu(e,t,o,s,a)}function dp(e,t,o){var s=t.pendingProps,a=s.children,d=e!==null?e.memoizedState:null;if(s.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},s=d!==null?d.baseLanes:o,ze(Qo,zt),zt|=s}else d!==null?(s=d.baseLanes|o,t.memoizedState=null):s=o,ze(Qo,zt),zt|=s;return wt(e,t,a,o),t.child}function fp(e,t){var o=t.ref;(e===null&&o!==null||e!==null&&e.ref!==o)&&(t.flags|=512,t.flags|=2097152)}function Cu(e,t,o,s,a){var d=Rt(o)?qr:ft.current;return d=Do(t,d),Ho(t,a),o=pu(e,t,o,s,d,a),s=hu(),e!==null&&!Pt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,Wn(e,t,a)):(He&&s&&Ga(t),t.flags|=1,wt(e,t,o,a),t.child)}function pp(e,t,o,s,a){if(Rt(o)){var d=!0;Zs(t)}else d=!1;if(Ho(t,a),t.stateNode===null)yl(e,t),tp(t,o,s),xu(t,o,s,a),s=!0;else if(e===null){var m=t.stateNode,E=t.memoizedProps;m.props=E;var M=m.context,D=o.contextType;typeof D=="object"&&D!==null?D=Wt(D):(D=Rt(o)?qr:ft.current,D=Do(t,D));var V=o.getDerivedStateFromProps,Q=typeof V=="function"||typeof m.getSnapshotBeforeUpdate=="function";Q||typeof m.UNSAFE_componentWillReceiveProps!="function"&&typeof m.componentWillReceiveProps!="function"||(E!==s||M!==D)&&np(t,m,s,D),vr=!1;var $=t.memoizedState;m.state=$,ll(t,s,m,a),M=t.memoizedState,E!==s||$!==M||bt.current||vr?(typeof V=="function"&&(wu(t,o,V,s),M=t.memoizedState),(E=vr||ep(t,o,E,s,$,M,D))?(Q||typeof m.UNSAFE_componentWillMount!="function"&&typeof m.componentWillMount!="function"||(typeof m.componentWillMount=="function"&&m.componentWillMount(),typeof m.UNSAFE_componentWillMount=="function"&&m.UNSAFE_componentWillMount()),typeof m.componentDidMount=="function"&&(t.flags|=4194308)):(typeof m.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=s,t.memoizedState=M),m.props=s,m.state=M,m.context=D,s=E):(typeof m.componentDidMount=="function"&&(t.flags|=4194308),s=!1)}else{m=t.stateNode,Tf(e,t),E=t.memoizedProps,D=t.type===t.elementType?E:on(t.type,E),m.props=D,Q=t.pendingProps,$=m.context,M=o.contextType,typeof M=="object"&&M!==null?M=Wt(M):(M=Rt(o)?qr:ft.current,M=Do(t,M));var oe=o.getDerivedStateFromProps;(V=typeof oe=="function"||typeof m.getSnapshotBeforeUpdate=="function")||typeof m.UNSAFE_componentWillReceiveProps!="function"&&typeof m.componentWillReceiveProps!="function"||(E!==Q||$!==M)&&np(t,m,s,M),vr=!1,$=t.memoizedState,m.state=$,ll(t,s,m,a);var le=t.memoizedState;E!==Q||$!==le||bt.current||vr?(typeof oe=="function"&&(wu(t,o,oe,s),le=t.memoizedState),(D=vr||ep(t,o,D,s,$,le,M)||!1)?(V||typeof m.UNSAFE_componentWillUpdate!="function"&&typeof m.componentWillUpdate!="function"||(typeof m.componentWillUpdate=="function"&&m.componentWillUpdate(s,le,M),typeof m.UNSAFE_componentWillUpdate=="function"&&m.UNSAFE_componentWillUpdate(s,le,M)),typeof m.componentDidUpdate=="function"&&(t.flags|=4),typeof m.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof m.componentDidUpdate!="function"||E===e.memoizedProps&&$===e.memoizedState||(t.flags|=4),typeof m.getSnapshotBeforeUpdate!="function"||E===e.memoizedProps&&$===e.memoizedState||(t.flags|=1024),t.memoizedProps=s,t.memoizedState=le),m.props=s,m.state=le,m.context=M,s=D):(typeof m.componentDidUpdate!="function"||E===e.memoizedProps&&$===e.memoizedState||(t.flags|=4),typeof m.getSnapshotBeforeUpdate!="function"||E===e.memoizedProps&&$===e.memoizedState||(t.flags|=1024),s=!1)}return Eu(e,t,o,s,d,a)}function Eu(e,t,o,s,a,d){fp(e,t);var m=(t.flags&128)!==0;if(!s&&!m)return a&&gf(t,o,!1),Wn(e,t,d);s=t.stateNode,Ag.current=t;var E=m&&typeof o.getDerivedStateFromError!="function"?null:s.render();return t.flags|=1,e!==null&&m?(t.child=Bo(t,e.child,null,d),t.child=Bo(t,null,E,d)):wt(e,t,E,d),t.memoizedState=s.state,a&&gf(t,o,!0),t.child}function hp(e){var t=e.stateNode;t.pendingContext?yf(e,t.pendingContext,t.pendingContext!==t.context):t.context&&yf(e,t.context,!1),lu(e,t.containerInfo)}function mp(e,t,o,s,a){return jo(),eu(a),t.flags|=256,wt(e,t,o,s),t.child}var bu={dehydrated:null,treeContext:null,retryLane:0};function Ru(e){return{baseLanes:e,cachePool:null,transitions:null}}function yp(e,t,o){var s=t.pendingProps,a=Ve.current,d=!1,m=(t.flags&128)!==0,E;if((E=m)||(E=e!==null&&e.memoizedState===null?!1:(a&2)!==0),E?(d=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(a|=1),ze(Ve,a&1),e===null)return Ja(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):(m=s.children,e=s.fallback,d?(s=t.mode,d=t.child,m={mode:"hidden",children:m},(s&1)===0&&d!==null?(d.childLanes=0,d.pendingProps=m):d=Ml(m,s,0,null),e=oo(e,s,o,null),d.return=t,e.return=t,d.sibling=e,t.child=d,t.child.memoizedState=Ru(o),t.memoizedState=bu,e):Pu(t,m));if(a=e.memoizedState,a!==null&&(E=a.dehydrated,E!==null))return Dg(e,t,m,s,E,a,o);if(d){d=s.fallback,m=t.mode,a=e.child,E=a.sibling;var M={mode:"hidden",children:s.children};return(m&1)===0&&t.child!==a?(s=t.child,s.childLanes=0,s.pendingProps=M,t.deletions=null):(s=Er(a,M),s.subtreeFlags=a.subtreeFlags&14680064),E!==null?d=Er(E,d):(d=oo(d,m,o,null),d.flags|=2),d.return=t,s.return=t,s.sibling=d,t.child=s,s=d,d=t.child,m=e.child.memoizedState,m=m===null?Ru(o):{baseLanes:m.baseLanes|o,cachePool:null,transitions:m.transitions},d.memoizedState=m,d.childLanes=e.childLanes&~o,t.memoizedState=bu,s}return d=e.child,e=d.sibling,s=Er(d,{mode:"visible",children:s.children}),(t.mode&1)===0&&(s.lanes=o),s.return=t,s.sibling=null,e!==null&&(o=t.deletions,o===null?(t.deletions=[e],t.flags|=16):o.push(e)),t.child=s,t.memoizedState=null,s}function Pu(e,t){return t=Ml({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function ml(e,t,o,s){return s!==null&&eu(s),Bo(t,e.child,null,o),e=Pu(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Dg(e,t,o,s,a,d,m){if(o)return t.flags&256?(t.flags&=-257,s=Su(Error(i(422))),ml(e,t,m,s)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(d=s.fallback,a=t.mode,s=Ml({mode:"visible",children:s.children},a,0,null),d=oo(d,a,m,null),d.flags|=2,s.return=t,d.return=t,s.sibling=d,t.child=s,(t.mode&1)!==0&&Bo(t,e.child,null,m),t.child.memoizedState=Ru(m),t.memoizedState=bu,d);if((t.mode&1)===0)return ml(e,t,m,null);if(a.data==="$!"){if(s=a.nextSibling&&a.nextSibling.dataset,s)var E=s.dgst;return s=E,d=Error(i(419)),s=Su(d,s,void 0),ml(e,t,m,s)}if(E=(m&e.childLanes)!==0,Pt||E){if(s=ot,s!==null){switch(m&-m){case 4:a=2;break;case 16:a=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:a=32;break;case 536870912:a=268435456;break;default:a=0}a=(a&(s.suspendedLanes|m))!==0?0:a,a!==0&&a!==d.retryLane&&(d.retryLane=a,$n(e,a),an(s,e,a,-1))}return $u(),s=Su(Error(i(421))),ml(e,t,m,s)}return a.data==="$?"?(t.flags|=128,t.child=e.child,t=Yg.bind(null,e),a._reactRetry=t,null):(e=d.treeContext,Ft=pr(a.nextSibling),Dt=t,He=!0,rn=null,e!==null&&($t[Vt++]=Un,$t[Vt++]=Hn,$t[Vt++]=Yr,Un=e.id,Hn=e.overflow,Yr=t),t=Pu(t,s.children),t.flags|=4096,t)}function vp(e,t,o){e.lanes|=t;var s=e.alternate;s!==null&&(s.lanes|=t),ou(e.return,t,o)}function Mu(e,t,o,s,a){var d=e.memoizedState;d===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:s,tail:o,tailMode:a}:(d.isBackwards=t,d.rendering=null,d.renderingStartTime=0,d.last=s,d.tail=o,d.tailMode=a)}function gp(e,t,o){var s=t.pendingProps,a=s.revealOrder,d=s.tail;if(wt(e,t,s.children,o),s=Ve.current,(s&2)!==0)s=s&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&&vp(e,o,t);else if(e.tag===19)vp(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}s&=1}if(ze(Ve,s),(t.mode&1)===0)t.memoizedState=null;else switch(a){case"forwards":for(o=t.child,a=null;o!==null;)e=o.alternate,e!==null&&al(e)===null&&(a=o),o=o.sibling;o=a,o===null?(a=t.child,t.child=null):(a=o.sibling,o.sibling=null),Mu(t,!1,a,o,d);break;case"backwards":for(o=null,a=t.child,t.child=null;a!==null;){if(e=a.alternate,e!==null&&al(e)===null){t.child=a;break}e=a.sibling,a.sibling=o,o=a,a=e}Mu(t,!0,o,null,d);break;case"together":Mu(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function yl(e,t){(t.mode&1)===0&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Wn(e,t,o){if(e!==null&&(t.dependencies=e.dependencies),eo|=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=Er(e,e.pendingProps),t.child=o,o.return=t;e.sibling!==null;)e=e.sibling,o=o.sibling=Er(e,e.pendingProps),o.return=t;o.sibling=null}return t.child}function Fg(e,t,o){switch(t.tag){case 3:hp(t),jo();break;case 5:_f(t);break;case 1:Rt(t.type)&&Zs(t);break;case 4:lu(t,t.stateNode.containerInfo);break;case 10:var s=t.type._context,a=t.memoizedProps.value;ze(ol,s._currentValue),s._currentValue=a;break;case 13:if(s=t.memoizedState,s!==null)return s.dehydrated!==null?(ze(Ve,Ve.current&1),t.flags|=128,null):(o&t.child.childLanes)!==0?yp(e,t,o):(ze(Ve,Ve.current&1),e=Wn(e,t,o),e!==null?e.sibling:null);ze(Ve,Ve.current&1);break;case 19:if(s=(o&t.childLanes)!==0,(e.flags&128)!==0){if(s)return gp(e,t,o);t.flags|=128}if(a=t.memoizedState,a!==null&&(a.rendering=null,a.tail=null,a.lastEffect=null),ze(Ve,Ve.current),s)break;return null;case 22:case 23:return t.lanes=0,dp(e,t,o)}return Wn(e,t,o)}var wp,Tu,xp,Sp;wp=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}},Tu=function(){},xp=function(e,t,o,s){var a=e.memoizedProps;if(a!==s){e=t.stateNode,Zr(Pn.current);var d=null;switch(o){case"input":a=dt(e,a),s=dt(e,s),d=[];break;case"select":a=W({},a,{value:void 0}),s=W({},s,{value:void 0}),d=[];break;case"textarea":a=ko(e,a),s=ko(e,s),d=[];break;default:typeof a.onClick!="function"&&typeof s.onClick=="function"&&(e.onclick=Ys)}kn(o,s);var m;o=null;for(D in a)if(!s.hasOwnProperty(D)&&a.hasOwnProperty(D)&&a[D]!=null)if(D==="style"){var E=a[D];for(m in E)E.hasOwnProperty(m)&&(o||(o={}),o[m]="")}else D!=="dangerouslySetInnerHTML"&&D!=="children"&&D!=="suppressContentEditableWarning"&&D!=="suppressHydrationWarning"&&D!=="autoFocus"&&(u.hasOwnProperty(D)?d||(d=[]):(d=d||[]).push(D,null));for(D in s){var M=s[D];if(E=a!=null?a[D]:void 0,s.hasOwnProperty(D)&&M!==E&&(M!=null||E!=null))if(D==="style")if(E){for(m in E)!E.hasOwnProperty(m)||M&&M.hasOwnProperty(m)||(o||(o={}),o[m]="");for(m in M)M.hasOwnProperty(m)&&E[m]!==M[m]&&(o||(o={}),o[m]=M[m])}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"&&(u.hasOwnProperty(D)?(M!=null&&D==="onScroll"&&je("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)}},Sp=function(e,t,o,s){o!==s&&(t.flags|=4)};function Zi(e,t){if(!He)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 s=null;o!==null;)o.alternate!==null&&(s=o),o=o.sibling;s===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:s.sibling=null}}function ht(e){var t=e.alternate!==null&&e.alternate.child===e.child,o=0,s=0;if(t)for(var a=e.child;a!==null;)o|=a.lanes|a.childLanes,s|=a.subtreeFlags&14680064,s|=a.flags&14680064,a.return=e,a=a.sibling;else for(a=e.child;a!==null;)o|=a.lanes|a.childLanes,s|=a.subtreeFlags,s|=a.flags,a.return=e,a=a.sibling;return e.subtreeFlags|=s,e.childLanes=o,t}function zg(e,t,o){var s=t.pendingProps;switch(Xa(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 Rt(t.type)&&Xs(),ht(t),null;case 3:return s=t.stateNode,$o(),Be(bt),Be(ft),cu(),s.pendingContext&&(s.context=s.pendingContext,s.pendingContext=null),(e===null||e.child===null)&&(nl(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,rn!==null&&(Bu(rn),rn=null))),Tu(e,t),ht(t),null;case 5:au(t);var a=Zr(Ki.current);if(o=t.type,e!==null&&t.stateNode!=null)xp(e,t,o,s,a),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!s){if(t.stateNode===null)throw Error(i(166));return ht(t),null}if(e=Zr(Pn.current),nl(t)){s=t.stateNode,o=t.type;var d=t.memoizedProps;switch(s[Rn]=t,s[Hi]=d,e=(t.mode&1)!==0,o){case"dialog":je("cancel",s),je("close",s);break;case"iframe":case"object":case"embed":je("load",s);break;case"video":case"audio":for(a=0;a<ji.length;a++)je(ji[a],s);break;case"source":je("error",s);break;case"img":case"image":case"link":je("error",s),je("load",s);break;case"details":je("toggle",s);break;case"input":vn(s,d),je("invalid",s);break;case"select":s._wrapperState={wasMultiple:!!d.multiple},je("invalid",s);break;case"textarea":wn(s,d),je("invalid",s)}kn(o,d),a=null;for(var m in d)if(d.hasOwnProperty(m)){var E=d[m];m==="children"?typeof E=="string"?s.textContent!==E&&(d.suppressHydrationWarning!==!0&&qs(s.textContent,E,e),a=["children",E]):typeof E=="number"&&s.textContent!==""+E&&(d.suppressHydrationWarning!==!0&&qs(s.textContent,E,e),a=["children",""+E]):u.hasOwnProperty(m)&&E!=null&&m==="onScroll"&&je("scroll",s)}switch(o){case"input":Me(s),or(s,d,!0);break;case"textarea":Me(s),Cs(s);break;case"select":case"option":break;default:typeof d.onClick=="function"&&(s.onclick=Ys)}s=a,t.updateQueue=s,s!==null&&(t.flags|=4)}else{m=a.nodeType===9?a:a.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=vt(o)),e==="http://www.w3.org/1999/xhtml"?o==="script"?(e=m.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof s.is=="string"?e=m.createElement(o,{is:s.is}):(e=m.createElement(o),o==="select"&&(m=e,s.multiple?m.multiple=!0:s.size&&(m.size=s.size))):e=m.createElementNS(e,o),e[Rn]=t,e[Hi]=s,wp(e,t,!1,!1),t.stateNode=e;e:{switch(m=ki(o,s),o){case"dialog":je("cancel",e),je("close",e),a=s;break;case"iframe":case"object":case"embed":je("load",e),a=s;break;case"video":case"audio":for(a=0;a<ji.length;a++)je(ji[a],e);a=s;break;case"source":je("error",e),a=s;break;case"img":case"image":case"link":je("error",e),je("load",e),a=s;break;case"details":je("toggle",e),a=s;break;case"input":vn(e,s),a=dt(e,s),je("invalid",e);break;case"option":a=s;break;case"select":e._wrapperState={wasMultiple:!!s.multiple},a=W({},s,{value:void 0}),je("invalid",e);break;case"textarea":wn(e,s),a=ko(e,s),je("invalid",e);break;default:a=s}kn(o,a),E=a;for(d in E)if(E.hasOwnProperty(d)){var M=E[d];d==="style"?zn(e,M):d==="dangerouslySetInnerHTML"?(M=M?M.__html:void 0,M!=null&&Es(e,M)):d==="children"?typeof M=="string"?(o!=="textarea"||M!=="")&&Sn(e,M):typeof M=="number"&&Sn(e,""+M):d!=="suppressContentEditableWarning"&&d!=="suppressHydrationWarning"&&d!=="autoFocus"&&(u.hasOwnProperty(d)?M!=null&&d==="onScroll"&&je("scroll",e):M!=null&&R(e,d,M,m))}switch(o){case"input":Me(e),or(e,s,!1);break;case"textarea":Me(e),Cs(e);break;case"option":s.value!=null&&e.setAttribute("value",""+fe(s.value));break;case"select":e.multiple=!!s.multiple,d=s.value,d!=null?Ht(e,!!s.multiple,d,!1):s.defaultValue!=null&&Ht(e,!!s.multiple,s.defaultValue,!0);break;default:typeof a.onClick=="function"&&(e.onclick=Ys)}switch(o){case"button":case"input":case"select":case"textarea":s=!!s.autoFocus;break e;case"img":s=!0;break e;default:s=!1}}s&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return ht(t),null;case 6:if(e&&t.stateNode!=null)Sp(e,t,e.memoizedProps,s);else{if(typeof s!="string"&&t.stateNode===null)throw Error(i(166));if(o=Zr(Ki.current),Zr(Pn.current),nl(t)){if(s=t.stateNode,o=t.memoizedProps,s[Rn]=t,(d=s.nodeValue!==o)&&(e=Dt,e!==null))switch(e.tag){case 3:qs(s.nodeValue,o,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&qs(s.nodeValue,o,(e.mode&1)!==0)}d&&(t.flags|=4)}else s=(o.nodeType===9?o:o.ownerDocument).createTextNode(s),s[Rn]=t,t.stateNode=s}return ht(t),null;case 13:if(Be(Ve),s=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(He&&Ft!==null&&(t.mode&1)!==0&&(t.flags&128)===0)Ef(),jo(),t.flags|=98560,d=!1;else if(d=nl(t),s!==null&&s.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[Rn]=t}else jo(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;ht(t),d=!1}else rn!==null&&(Bu(rn),rn=null),d=!0;if(!d)return t.flags&65536?t:null}return(t.flags&128)!==0?(t.lanes=o,t):(s=s!==null,s!==(e!==null&&e.memoizedState!==null)&&s&&(t.child.flags|=8192,(t.mode&1)!==0&&(e===null||(Ve.current&1)!==0?tt===0&&(tt=3):$u())),t.updateQueue!==null&&(t.flags|=4),ht(t),null);case 4:return $o(),Tu(e,t),e===null&&Bi(t.stateNode.containerInfo),ht(t),null;case 10:return ru(t.type._context),ht(t),null;case 17:return Rt(t.type)&&Xs(),ht(t),null;case 19:if(Be(Ve),d=t.memoizedState,d===null)return ht(t),null;if(s=(t.flags&128)!==0,m=d.rendering,m===null)if(s)Zi(d,!1);else{if(tt!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(m=al(e),m!==null){for(t.flags|=128,Zi(d,!1),s=m.updateQueue,s!==null&&(t.updateQueue=s,t.flags|=4),t.subtreeFlags=0,s=o,o=t.child;o!==null;)d=o,e=s,d.flags&=14680066,m=d.alternate,m===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=m.childLanes,d.lanes=m.lanes,d.child=m.child,d.subtreeFlags=0,d.deletions=null,d.memoizedProps=m.memoizedProps,d.memoizedState=m.memoizedState,d.updateQueue=m.updateQueue,d.type=m.type,e=m.dependencies,d.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),o=o.sibling;return ze(Ve,Ve.current&1|2),t.child}e=e.sibling}d.tail!==null&&Ye()>Ko&&(t.flags|=128,s=!0,Zi(d,!1),t.lanes=4194304)}else{if(!s)if(e=al(m),e!==null){if(t.flags|=128,s=!0,o=e.updateQueue,o!==null&&(t.updateQueue=o,t.flags|=4),Zi(d,!0),d.tail===null&&d.tailMode==="hidden"&&!m.alternate&&!He)return ht(t),null}else 2*Ye()-d.renderingStartTime>Ko&&o!==1073741824&&(t.flags|=128,s=!0,Zi(d,!1),t.lanes=4194304);d.isBackwards?(m.sibling=t.child,t.child=m):(o=d.last,o!==null?o.sibling=m:t.child=m,d.last=m)}return d.tail!==null?(t=d.tail,d.rendering=t,d.tail=t.sibling,d.renderingStartTime=Ye(),t.sibling=null,o=Ve.current,ze(Ve,s?o&1|2:o&1),t):(ht(t),null);case 22:case 23:return Hu(),s=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==s&&(t.flags|=8192),s&&(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 jg(e,t){switch(Xa(t),t.tag){case 1:return Rt(t.type)&&Xs(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return $o(),Be(bt),Be(ft),cu(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 5:return au(t),null;case 13:if(Be(Ve),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(i(340));jo()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Be(Ve),null;case 4:return $o(),null;case 10:return ru(t.type._context),null;case 22:case 23:return Hu(),null;case 24:return null;default:return null}}var vl=!1,mt=!1,Bg=typeof WeakSet=="function"?WeakSet:Set,se=null;function Wo(e,t){var o=e.ref;if(o!==null)if(typeof o=="function")try{o(null)}catch(s){Qe(e,t,s)}else o.current=null}function Ou(e,t,o){try{o()}catch(s){Qe(e,t,s)}}var kp=!1;function Ug(e,t){if(Ha=Fs,e=Jd(),Ia(e)){if("selectionStart"in e)var o={start:e.selectionStart,end:e.selectionEnd};else e:{o=(o=e.ownerDocument)&&o.defaultView||window;var s=o.getSelection&&o.getSelection();if(s&&s.rangeCount!==0){o=s.anchorNode;var a=s.anchorOffset,d=s.focusNode;s=s.focusOffset;try{o.nodeType,d.nodeType}catch{o=null;break e}var m=0,E=-1,M=-1,D=0,V=0,Q=e,$=null;t:for(;;){for(var oe;Q!==o||a!==0&&Q.nodeType!==3||(E=m+a),Q!==d||s!==0&&Q.nodeType!==3||(M=m+s),Q.nodeType===3&&(m+=Q.nodeValue.length),(oe=Q.firstChild)!==null;)$=Q,Q=oe;for(;;){if(Q===e)break t;if($===o&&++D===a&&(E=m),$===d&&++V===s&&(M=m),(oe=Q.nextSibling)!==null)break;Q=$,$=Q.parentNode}Q=oe}o=E===-1||M===-1?null:{start:E,end:M}}else o=null}o=o||{start:0,end:0}}else o=null;for($a={focusedElem:e,selectionRange:o},Fs=!1,se=t;se!==null;)if(t=se,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,se=e;else for(;se!==null;){t=se;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 ue=le.memoizedProps,Ge=le.memoizedState,I=t.stateNode,_=I.getSnapshotBeforeUpdate(t.elementType===t.type?ue:on(t.type,ue),Ge);I.__reactInternalSnapshotBeforeUpdate=_}break;case 3:var A=t.stateNode.containerInfo;A.nodeType===1?A.textContent="":A.nodeType===9&&A.documentElement&&A.removeChild(A.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,se=e;break}se=t.return}return le=kp,kp=!1,le}function Ji(e,t,o){var s=t.updateQueue;if(s=s!==null?s.lastEffect:null,s!==null){var a=s=s.next;do{if((a.tag&e)===e){var d=a.destroy;a.destroy=void 0,d!==void 0&&Ou(t,o,d)}a=a.next}while(a!==s)}}function gl(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 s=o.create;o.destroy=s()}o=o.next}while(o!==t)}}function Nu(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 Cp(e){var t=e.alternate;t!==null&&(e.alternate=null,Cp(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Rn],delete t[Hi],delete t[Ka],delete t[Cg],delete t[Eg])),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 Ep(e){return e.tag===5||e.tag===3||e.tag===4}function bp(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Ep(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 _u(e,t,o){var s=e.tag;if(s===5||s===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=Ys));else if(s!==4&&(e=e.child,e!==null))for(_u(e,t,o),e=e.sibling;e!==null;)_u(e,t,o),e=e.sibling}function Lu(e,t,o){var s=e.tag;if(s===5||s===6)e=e.stateNode,t?o.insertBefore(e,t):o.appendChild(e);else if(s!==4&&(e=e.child,e!==null))for(Lu(e,t,o),e=e.sibling;e!==null;)Lu(e,t,o),e=e.sibling}var at=null,sn=!1;function wr(e,t,o){for(o=o.child;o!==null;)Rp(e,t,o),o=o.sibling}function Rp(e,t,o){if(bn&&typeof bn.onCommitFiberUnmount=="function")try{bn.onCommitFiberUnmount(Ns,o)}catch{}switch(o.tag){case 5:mt||Wo(o,t);case 6:var s=at,a=sn;at=null,wr(e,t,o),at=s,sn=a,at!==null&&(sn?(e=at,o=o.stateNode,e.nodeType===8?e.parentNode.removeChild(o):e.removeChild(o)):at.removeChild(o.stateNode));break;case 18:at!==null&&(sn?(e=at,o=o.stateNode,e.nodeType===8?Qa(e.parentNode,o):e.nodeType===1&&Qa(e,o),Ni(e)):Qa(at,o.stateNode));break;case 4:s=at,a=sn,at=o.stateNode.containerInfo,sn=!0,wr(e,t,o),at=s,sn=a;break;case 0:case 11:case 14:case 15:if(!mt&&(s=o.updateQueue,s!==null&&(s=s.lastEffect,s!==null))){a=s=s.next;do{var d=a,m=d.destroy;d=d.tag,m!==void 0&&((d&2)!==0||(d&4)!==0)&&Ou(o,t,m),a=a.next}while(a!==s)}wr(e,t,o);break;case 1:if(!mt&&(Wo(o,t),s=o.stateNode,typeof s.componentWillUnmount=="function"))try{s.props=o.memoizedProps,s.state=o.memoizedState,s.componentWillUnmount()}catch(E){Qe(o,t,E)}wr(e,t,o);break;case 21:wr(e,t,o);break;case 22:o.mode&1?(mt=(s=mt)||o.memoizedState!==null,wr(e,t,o),mt=s):wr(e,t,o);break;default:wr(e,t,o)}}function Pp(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var o=e.stateNode;o===null&&(o=e.stateNode=new Bg),t.forEach(function(s){var a=Gg.bind(null,e,s);o.has(s)||(o.add(s),s.then(a,a))})}}function ln(e,t){var o=t.deletions;if(o!==null)for(var s=0;s<o.length;s++){var a=o[s];try{var d=e,m=t,E=m;e:for(;E!==null;){switch(E.tag){case 5:at=E.stateNode,sn=!1;break e;case 3:at=E.stateNode.containerInfo,sn=!0;break e;case 4:at=E.stateNode.containerInfo,sn=!0;break e}E=E.return}if(at===null)throw Error(i(160));Rp(d,m,a),at=null,sn=!1;var M=a.alternate;M!==null&&(M.return=null),a.return=null}catch(D){Qe(a,t,D)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Mp(t,e),t=t.sibling}function Mp(e,t){var o=e.alternate,s=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(ln(t,e),Tn(e),s&4){try{Ji(3,e,e.return),gl(3,e)}catch(ue){Qe(e,e.return,ue)}try{Ji(5,e,e.return)}catch(ue){Qe(e,e.return,ue)}}break;case 1:ln(t,e),Tn(e),s&512&&o!==null&&Wo(o,o.return);break;case 5:if(ln(t,e),Tn(e),s&512&&o!==null&&Wo(o,o.return),e.flags&32){var a=e.stateNode;try{Sn(a,"")}catch(ue){Qe(e,e.return,ue)}}if(s&4&&(a=e.stateNode,a!=null)){var d=e.memoizedProps,m=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(a,d),ki(E,m);var D=ki(E,d);for(m=0;m<M.length;m+=2){var V=M[m],Q=M[m+1];V==="style"?zn(a,Q):V==="dangerouslySetInnerHTML"?Es(a,Q):V==="children"?Sn(a,Q):R(a,V,Q,D)}switch(E){case"input":Zt(a,d);break;case"textarea":ks(a,d);break;case"select":var $=a._wrapperState.wasMultiple;a._wrapperState.wasMultiple=!!d.multiple;var oe=d.value;oe!=null?Ht(a,!!d.multiple,oe,!1):$!==!!d.multiple&&(d.defaultValue!=null?Ht(a,!!d.multiple,d.defaultValue,!0):Ht(a,!!d.multiple,d.multiple?[]:"",!1))}a[Hi]=d}catch(ue){Qe(e,e.return,ue)}}break;case 6:if(ln(t,e),Tn(e),s&4){if(e.stateNode===null)throw Error(i(162));a=e.stateNode,d=e.memoizedProps;try{a.nodeValue=d}catch(ue){Qe(e,e.return,ue)}}break;case 3:if(ln(t,e),Tn(e),s&4&&o!==null&&o.memoizedState.isDehydrated)try{Ni(t.containerInfo)}catch(ue){Qe(e,e.return,ue)}break;case 4:ln(t,e),Tn(e);break;case 13:ln(t,e),Tn(e),a=e.child,a.flags&8192&&(d=a.memoizedState!==null,a.stateNode.isHidden=d,!d||a.alternate!==null&&a.alternate.memoizedState!==null||(Du=Ye())),s&4&&Pp(e);break;case 22:if(V=o!==null&&o.memoizedState!==null,e.mode&1?(mt=(D=mt)||V,ln(t,e),mt=D):ln(t,e),Tn(e),s&8192){if(D=e.memoizedState!==null,(e.stateNode.isHidden=D)&&!V&&(e.mode&1)!==0)for(se=e,V=e.child;V!==null;){for(Q=se=V;se!==null;){switch($=se,oe=$.child,$.tag){case 0:case 11:case 14:case 15:Ji(4,$,$.return);break;case 1:Wo($,$.return);var le=$.stateNode;if(typeof le.componentWillUnmount=="function"){s=$,o=$.return;try{t=s,le.props=t.memoizedProps,le.state=t.memoizedState,le.componentWillUnmount()}catch(ue){Qe(s,o,ue)}}break;case 5:Wo($,$.return);break;case 22:if($.memoizedState!==null){Np(Q);continue}}oe!==null?(oe.return=$,se=oe):Np(Q)}V=V.sibling}e:for(V=null,Q=e;;){if(Q.tag===5){if(V===null){V=Q;try{a=Q.stateNode,D?(d=a.style,typeof d.setProperty=="function"?d.setProperty("display","none","important"):d.display="none"):(E=Q.stateNode,M=Q.memoizedProps.style,m=M!=null&&M.hasOwnProperty("display")?M.display:null,E.style.display=Eo("display",m))}catch(ue){Qe(e,e.return,ue)}}}else if(Q.tag===6){if(V===null)try{Q.stateNode.nodeValue=D?"":Q.memoizedProps}catch(ue){Qe(e,e.return,ue)}}else if((Q.tag!==22&&Q.tag!==23||Q.memoizedState===null||Q===e)&&Q.child!==null){Q.child.return=Q,Q=Q.child;continue}if(Q===e)break e;for(;Q.sibling===null;){if(Q.return===null||Q.return===e)break e;V===Q&&(V=null),Q=Q.return}V===Q&&(V=null),Q.sibling.return=Q.return,Q=Q.sibling}}break;case 19:ln(t,e),Tn(e),s&4&&Pp(e);break;case 21:break;default:ln(t,e),Tn(e)}}function Tn(e){var t=e.flags;if(t&2){try{e:{for(var o=e.return;o!==null;){if(Ep(o)){var s=o;break e}o=o.return}throw Error(i(160))}switch(s.tag){case 5:var a=s.stateNode;s.flags&32&&(Sn(a,""),s.flags&=-33);var d=bp(e);Lu(e,d,a);break;case 3:case 4:var m=s.stateNode.containerInfo,E=bp(e);_u(e,E,m);break;default:throw Error(i(161))}}catch(M){Qe(e,e.return,M)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Hg(e,t,o){se=e,Tp(e)}function Tp(e,t,o){for(var s=(e.mode&1)!==0;se!==null;){var a=se,d=a.child;if(a.tag===22&&s){var m=a.memoizedState!==null||vl;if(!m){var E=a.alternate,M=E!==null&&E.memoizedState!==null||mt;E=vl;var D=mt;if(vl=m,(mt=M)&&!D)for(se=a;se!==null;)m=se,M=m.child,m.tag===22&&m.memoizedState!==null?_p(a):M!==null?(M.return=m,se=M):_p(a);for(;d!==null;)se=d,Tp(d),d=d.sibling;se=a,vl=E,mt=D}Op(e)}else(a.subtreeFlags&8772)!==0&&d!==null?(d.return=a,se=d):Op(e)}}function Op(e){for(;se!==null;){var t=se;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||gl(5,t);break;case 1:var s=t.stateNode;if(t.flags&4&&!mt)if(o===null)s.componentDidMount();else{var a=t.elementType===t.type?o.memoizedProps:on(t.type,o.memoizedProps);s.componentDidUpdate(a,o.memoizedState,s.__reactInternalSnapshotBeforeUpdate)}var d=t.updateQueue;d!==null&&Nf(t,d,s);break;case 3:var m=t.updateQueue;if(m!==null){if(o=null,t.child!==null)switch(t.child.tag){case 5:o=t.child.stateNode;break;case 1:o=t.child.stateNode}Nf(t,m,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 V=D.memoizedState;if(V!==null){var Q=V.dehydrated;Q!==null&&Ni(Q)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(i(163))}mt||t.flags&512&&Nu(t)}catch($){Qe(t,t.return,$)}}if(t===e){se=null;break}if(o=t.sibling,o!==null){o.return=t.return,se=o;break}se=t.return}}function Np(e){for(;se!==null;){var t=se;if(t===e){se=null;break}var o=t.sibling;if(o!==null){o.return=t.return,se=o;break}se=t.return}}function _p(e){for(;se!==null;){var t=se;try{switch(t.tag){case 0:case 11:case 15:var o=t.return;try{gl(4,t)}catch(M){Qe(t,o,M)}break;case 1:var s=t.stateNode;if(typeof s.componentDidMount=="function"){var a=t.return;try{s.componentDidMount()}catch(M){Qe(t,a,M)}}var d=t.return;try{Nu(t)}catch(M){Qe(t,d,M)}break;case 5:var m=t.return;try{Nu(t)}catch(M){Qe(t,m,M)}}}catch(M){Qe(t,t.return,M)}if(t===e){se=null;break}var E=t.sibling;if(E!==null){E.return=t.return,se=E;break}se=t.return}}var $g=Math.ceil,wl=L.ReactCurrentDispatcher,Iu=L.ReactCurrentOwner,Kt=L.ReactCurrentBatchConfig,_e=0,ot=null,Ze=null,ut=0,zt=0,Qo=hr(0),tt=0,es=null,eo=0,xl=0,Au=0,ts=null,Mt=null,Du=0,Ko=1/0,Qn=null,Sl=!1,Fu=null,xr=null,kl=!1,Sr=null,Cl=0,ns=0,zu=null,El=-1,bl=0;function xt(){return(_e&6)!==0?Ye():El!==-1?El:El=Ye()}function kr(e){return(e.mode&1)===0?1:(_e&2)!==0&&ut!==0?ut&-ut:Rg.transition!==null?(bl===0&&(bl=Ed()),bl):(e=De,e!==0||(e=window.event,e=e===void 0?16:Ld(e.type)),e)}function an(e,t,o,s){if(50<ns)throw ns=0,zu=null,Error(i(185));Ri(e,o,s),((_e&2)===0||e!==ot)&&(e===ot&&((_e&2)===0&&(xl|=o),tt===4&&Cr(e,ut)),Tt(e,s),o===1&&_e===0&&(t.mode&1)===0&&(Ko=Ye()+500,Js&&yr()))}function Tt(e,t){var o=e.callbackNode;Rv(e,t);var s=Is(e,e===ot?ut:0);if(s===0)o!==null&&Sd(o),e.callbackNode=null,e.callbackPriority=0;else if(t=s&-s,e.callbackPriority!==t){if(o!=null&&Sd(o),t===1)e.tag===0?bg(Ip.bind(null,e)):wf(Ip.bind(null,e)),Sg(function(){(_e&6)===0&&yr()}),o=null;else{switch(bd(s)){case 1:o=va;break;case 4:o=kd;break;case 16:o=Os;break;case 536870912:o=Cd;break;default:o=Os}o=Hp(o,Lp.bind(null,e))}e.callbackPriority=t,e.callbackNode=o}}function Lp(e,t){if(El=-1,bl=0,(_e&6)!==0)throw Error(i(327));var o=e.callbackNode;if(qo()&&e.callbackNode!==o)return null;var s=Is(e,e===ot?ut:0);if(s===0)return null;if((s&30)!==0||(s&e.expiredLanes)!==0||t)t=Rl(e,s);else{t=s;var a=_e;_e|=2;var d=Dp();(ot!==e||ut!==t)&&(Qn=null,Ko=Ye()+500,no(e,t));do try{Qg();break}catch(E){Ap(e,E)}while(!0);nu(),wl.current=d,_e=a,Ze!==null?t=0:(ot=null,ut=0,t=tt)}if(t!==0){if(t===2&&(a=ga(e),a!==0&&(s=a,t=ju(e,a))),t===1)throw o=es,no(e,0),Cr(e,s),Tt(e,Ye()),o;if(t===6)Cr(e,s);else{if(a=e.current.alternate,(s&30)===0&&!Vg(a)&&(t=Rl(e,s),t===2&&(d=ga(e),d!==0&&(s=d,t=ju(e,d))),t===1))throw o=es,no(e,0),Cr(e,s),Tt(e,Ye()),o;switch(e.finishedWork=a,e.finishedLanes=s,t){case 0:case 1:throw Error(i(345));case 2:ro(e,Mt,Qn);break;case 3:if(Cr(e,s),(s&130023424)===s&&(t=Du+500-Ye(),10<t)){if(Is(e,0)!==0)break;if(a=e.suspendedLanes,(a&s)!==s){xt(),e.pingedLanes|=e.suspendedLanes&a;break}e.timeoutHandle=Wa(ro.bind(null,e,Mt,Qn),t);break}ro(e,Mt,Qn);break;case 4:if(Cr(e,s),(s&4194240)===s)break;for(t=e.eventTimes,a=-1;0<s;){var m=31-tn(s);d=1<<m,m=t[m],m>a&&(a=m),s&=~d}if(s=a,s=Ye()-s,s=(120>s?120:480>s?480:1080>s?1080:1920>s?1920:3e3>s?3e3:4320>s?4320:1960*$g(s/1960))-s,10<s){e.timeoutHandle=Wa(ro.bind(null,e,Mt,Qn),s);break}ro(e,Mt,Qn);break;case 5:ro(e,Mt,Qn);break;default:throw Error(i(329))}}}return Tt(e,Ye()),e.callbackNode===o?Lp.bind(null,e):null}function ju(e,t){var o=ts;return e.current.memoizedState.isDehydrated&&(no(e,t).flags|=256),e=Rl(e,t),e!==2&&(t=Mt,Mt=o,t!==null&&Bu(t)),e}function Bu(e){Mt===null?Mt=e:Mt.push.apply(Mt,e)}function Vg(e){for(var t=e;;){if(t.flags&16384){var o=t.updateQueue;if(o!==null&&(o=o.stores,o!==null))for(var s=0;s<o.length;s++){var a=o[s],d=a.getSnapshot;a=a.value;try{if(!nn(d(),a))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 Cr(e,t){for(t&=~Au,t&=~xl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var o=31-tn(t),s=1<<o;e[o]=-1,t&=~s}}function Ip(e){if((_e&6)!==0)throw Error(i(327));qo();var t=Is(e,0);if((t&1)===0)return Tt(e,Ye()),null;var o=Rl(e,t);if(e.tag!==0&&o===2){var s=ga(e);s!==0&&(t=s,o=ju(e,s))}if(o===1)throw o=es,no(e,0),Cr(e,t),Tt(e,Ye()),o;if(o===6)throw Error(i(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,ro(e,Mt,Qn),Tt(e,Ye()),null}function Uu(e,t){var o=_e;_e|=1;try{return e(t)}finally{_e=o,_e===0&&(Ko=Ye()+500,Js&&yr())}}function to(e){Sr!==null&&Sr.tag===0&&(_e&6)===0&&qo();var t=_e;_e|=1;var o=Kt.transition,s=De;try{if(Kt.transition=null,De=1,e)return e()}finally{De=s,Kt.transition=o,_e=t,(_e&6)===0&&yr()}}function Hu(){zt=Qo.current,Be(Qo)}function no(e,t){e.finishedWork=null,e.finishedLanes=0;var o=e.timeoutHandle;if(o!==-1&&(e.timeoutHandle=-1,xg(o)),Ze!==null)for(o=Ze.return;o!==null;){var s=o;switch(Xa(s),s.tag){case 1:s=s.type.childContextTypes,s!=null&&Xs();break;case 3:$o(),Be(bt),Be(ft),cu();break;case 5:au(s);break;case 4:$o();break;case 13:Be(Ve);break;case 19:Be(Ve);break;case 10:ru(s.type._context);break;case 22:case 23:Hu()}o=o.return}if(ot=e,Ze=e=Er(e.current,null),ut=zt=t,tt=0,es=null,Au=xl=eo=0,Mt=ts=null,Xr!==null){for(t=0;t<Xr.length;t++)if(o=Xr[t],s=o.interleaved,s!==null){o.interleaved=null;var a=s.next,d=o.pending;if(d!==null){var m=d.next;d.next=a,s.next=m}o.pending=s}Xr=null}return e}function Ap(e,t){do{var o=Ze;try{if(nu(),ul.current=pl,cl){for(var s=We.memoizedState;s!==null;){var a=s.queue;a!==null&&(a.pending=null),s=s.next}cl=!1}if(Jr=0,rt=et=We=null,qi=!1,Yi=0,Iu.current=null,o===null||o.return===null){tt=1,es=t,Ze=null;break}e:{var d=e,m=o.return,E=o,M=t;if(t=ut,E.flags|=32768,M!==null&&typeof M=="object"&&typeof M.then=="function"){var D=M,V=E,Q=V.tag;if((V.mode&1)===0&&(Q===0||Q===11||Q===15)){var $=V.alternate;$?(V.updateQueue=$.updateQueue,V.memoizedState=$.memoizedState,V.lanes=$.lanes):(V.updateQueue=null,V.memoizedState=null)}var oe=sp(m);if(oe!==null){oe.flags&=-257,lp(oe,m,E,d,t),oe.mode&1&&ip(d,D,t),t=oe,M=D;var le=t.updateQueue;if(le===null){var ue=new Set;ue.add(M),t.updateQueue=ue}else le.add(M);break e}else{if((t&1)===0){ip(d,D,t),$u();break e}M=Error(i(426))}}else if(He&&E.mode&1){var Ge=sp(m);if(Ge!==null){(Ge.flags&65536)===0&&(Ge.flags|=256),lp(Ge,m,E,d,t),eu(Vo(M,E));break e}}d=M=Vo(M,E),tt!==4&&(tt=2),ts===null?ts=[d]:ts.push(d),d=m;do{switch(d.tag){case 3:d.flags|=65536,t&=-t,d.lanes|=t;var I=rp(d,M,t);Of(d,I);break e;case 1:E=M;var _=d.type,A=d.stateNode;if((d.flags&128)===0&&(typeof _.getDerivedStateFromError=="function"||A!==null&&typeof A.componentDidCatch=="function"&&(xr===null||!xr.has(A)))){d.flags|=65536,t&=-t,d.lanes|=t;var Y=op(d,E,t);Of(d,Y);break e}}d=d.return}while(d!==null)}zp(o)}catch(de){t=de,Ze===o&&o!==null&&(Ze=o=o.return);continue}break}while(!0)}function Dp(){var e=wl.current;return wl.current=pl,e===null?pl:e}function $u(){(tt===0||tt===3||tt===2)&&(tt=4),ot===null||(eo&268435455)===0&&(xl&268435455)===0||Cr(ot,ut)}function Rl(e,t){var o=_e;_e|=2;var s=Dp();(ot!==e||ut!==t)&&(Qn=null,no(e,t));do try{Wg();break}catch(a){Ap(e,a)}while(!0);if(nu(),_e=o,wl.current=s,Ze!==null)throw Error(i(261));return ot=null,ut=0,tt}function Wg(){for(;Ze!==null;)Fp(Ze)}function Qg(){for(;Ze!==null&&!vv();)Fp(Ze)}function Fp(e){var t=Up(e.alternate,e,zt);e.memoizedProps=e.pendingProps,t===null?zp(e):Ze=t,Iu.current=null}function zp(e){var t=e;do{var o=t.alternate;if(e=t.return,(t.flags&32768)===0){if(o=zg(o,t,zt),o!==null){Ze=o;return}}else{if(o=jg(o,t),o!==null){o.flags&=32767,Ze=o;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{tt=6,Ze=null;return}}if(t=t.sibling,t!==null){Ze=t;return}Ze=t=e}while(t!==null);tt===0&&(tt=5)}function ro(e,t,o){var s=De,a=Kt.transition;try{Kt.transition=null,De=1,Kg(e,t,o,s)}finally{Kt.transition=a,De=s}return null}function Kg(e,t,o,s){do qo();while(Sr!==null);if((_e&6)!==0)throw Error(i(327));o=e.finishedWork;var a=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(Pv(e,d),e===ot&&(Ze=ot=null,ut=0),(o.subtreeFlags&2064)===0&&(o.flags&2064)===0||kl||(kl=!0,Hp(Os,function(){return qo(),null})),d=(o.flags&15990)!==0,(o.subtreeFlags&15990)!==0||d){d=Kt.transition,Kt.transition=null;var m=De;De=1;var E=_e;_e|=4,Iu.current=null,Ug(e,o),Mp(o,e),pg($a),Fs=!!Ha,$a=Ha=null,e.current=o,Hg(o),gv(),_e=E,De=m,Kt.transition=d}else e.current=o;if(kl&&(kl=!1,Sr=e,Cl=a),d=e.pendingLanes,d===0&&(xr=null),Sv(o.stateNode),Tt(e,Ye()),t!==null)for(s=e.onRecoverableError,o=0;o<t.length;o++)a=t[o],s(a.value,{componentStack:a.stack,digest:a.digest});if(Sl)throw Sl=!1,e=Fu,Fu=null,e;return(Cl&1)!==0&&e.tag!==0&&qo(),d=e.pendingLanes,(d&1)!==0?e===zu?ns++:(ns=0,zu=e):ns=0,yr(),null}function qo(){if(Sr!==null){var e=bd(Cl),t=Kt.transition,o=De;try{if(Kt.transition=null,De=16>e?16:e,Sr===null)var s=!1;else{if(e=Sr,Sr=null,Cl=0,(_e&6)!==0)throw Error(i(331));var a=_e;for(_e|=4,se=e.current;se!==null;){var d=se,m=d.child;if((se.flags&16)!==0){var E=d.deletions;if(E!==null){for(var M=0;M<E.length;M++){var D=E[M];for(se=D;se!==null;){var V=se;switch(V.tag){case 0:case 11:case 15:Ji(8,V,d)}var Q=V.child;if(Q!==null)Q.return=V,se=Q;else for(;se!==null;){V=se;var $=V.sibling,oe=V.return;if(Cp(V),V===D){se=null;break}if($!==null){$.return=oe,se=$;break}se=oe}}}var le=d.alternate;if(le!==null){var ue=le.child;if(ue!==null){le.child=null;do{var Ge=ue.sibling;ue.sibling=null,ue=Ge}while(ue!==null)}}se=d}}if((d.subtreeFlags&2064)!==0&&m!==null)m.return=d,se=m;else e:for(;se!==null;){if(d=se,(d.flags&2048)!==0)switch(d.tag){case 0:case 11:case 15:Ji(9,d,d.return)}var I=d.sibling;if(I!==null){I.return=d.return,se=I;break e}se=d.return}}var _=e.current;for(se=_;se!==null;){m=se;var A=m.child;if((m.subtreeFlags&2064)!==0&&A!==null)A.return=m,se=A;else e:for(m=_;se!==null;){if(E=se,(E.flags&2048)!==0)try{switch(E.tag){case 0:case 11:case 15:gl(9,E)}}catch(de){Qe(E,E.return,de)}if(E===m){se=null;break e}var Y=E.sibling;if(Y!==null){Y.return=E.return,se=Y;break e}se=E.return}}if(_e=a,yr(),bn&&typeof bn.onPostCommitFiberRoot=="function")try{bn.onPostCommitFiberRoot(Ns,e)}catch{}s=!0}return s}finally{De=o,Kt.transition=t}}return!1}function jp(e,t,o){t=Vo(o,t),t=rp(e,t,1),e=gr(e,t,1),t=xt(),e!==null&&(Ri(e,1,t),Tt(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 s=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof s.componentDidCatch=="function"&&(xr===null||!xr.has(s))){e=Vo(o,e),e=op(t,e,1),t=gr(t,e,1),e=xt(),t!==null&&(Ri(t,1,e),Tt(t,e));break}}t=t.return}}function qg(e,t,o){var s=e.pingCache;s!==null&&s.delete(t),t=xt(),e.pingedLanes|=e.suspendedLanes&o,ot===e&&(ut&o)===o&&(tt===4||tt===3&&(ut&130023424)===ut&&500>Ye()-Du?no(e,0):Au|=o),Tt(e,t)}function Bp(e,t){t===0&&((e.mode&1)===0?t=1:(t=Ls,Ls<<=1,(Ls&130023424)===0&&(Ls=4194304)));var o=xt();e=$n(e,t),e!==null&&(Ri(e,t,o),Tt(e,o))}function Yg(e){var t=e.memoizedState,o=0;t!==null&&(o=t.retryLane),Bp(e,o)}function Gg(e,t){var o=0;switch(e.tag){case 13:var s=e.stateNode,a=e.memoizedState;a!==null&&(o=a.retryLane);break;case 19:s=e.stateNode;break;default:throw Error(i(314))}s!==null&&s.delete(t),Bp(e,o)}var Up;Up=function(e,t,o){if(e!==null)if(e.memoizedProps!==t.pendingProps||bt.current)Pt=!0;else{if((e.lanes&o)===0&&(t.flags&128)===0)return Pt=!1,Fg(e,t,o);Pt=(e.flags&131072)!==0}else Pt=!1,He&&(t.flags&1048576)!==0&&xf(t,tl,t.index);switch(t.lanes=0,t.tag){case 2:var s=t.type;yl(e,t),e=t.pendingProps;var a=Do(t,ft.current);Ho(t,o),a=pu(null,t,s,e,a,o);var d=hu();return t.flags|=1,typeof a=="object"&&a!==null&&typeof a.render=="function"&&a.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Rt(s)?(d=!0,Zs(t)):d=!1,t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,su(t),a.updater=hl,t.stateNode=a,a._reactInternals=t,xu(t,s,e,o),t=Eu(null,t,s,!0,d,o)):(t.tag=0,He&&d&&Ga(t),wt(null,t,a,o),t=t.child),t;case 16:s=t.elementType;e:{switch(yl(e,t),e=t.pendingProps,a=s._init,s=a(s._payload),t.type=s,a=t.tag=Zg(s),e=on(s,e),a){case 0:t=Cu(null,t,s,e,o);break e;case 1:t=pp(null,t,s,e,o);break e;case 11:t=ap(null,t,s,e,o);break e;case 14:t=up(null,t,s,on(s.type,e),o);break e}throw Error(i(306,s,""))}return t;case 0:return s=t.type,a=t.pendingProps,a=t.elementType===s?a:on(s,a),Cu(e,t,s,a,o);case 1:return s=t.type,a=t.pendingProps,a=t.elementType===s?a:on(s,a),pp(e,t,s,a,o);case 3:e:{if(hp(t),e===null)throw Error(i(387));s=t.pendingProps,d=t.memoizedState,a=d.element,Tf(e,t),ll(t,s,null,o);var m=t.memoizedState;if(s=m.element,d.isDehydrated)if(d={element:s,isDehydrated:!1,cache:m.cache,pendingSuspenseBoundaries:m.pendingSuspenseBoundaries,transitions:m.transitions},t.updateQueue.baseState=d,t.memoizedState=d,t.flags&256){a=Vo(Error(i(423)),t),t=mp(e,t,s,o,a);break e}else if(s!==a){a=Vo(Error(i(424)),t),t=mp(e,t,s,o,a);break e}else for(Ft=pr(t.stateNode.containerInfo.firstChild),Dt=t,He=!0,rn=null,o=Pf(t,null,s,o),t.child=o;o;)o.flags=o.flags&-3|4096,o=o.sibling;else{if(jo(),s===a){t=Wn(e,t,o);break e}wt(e,t,s,o)}t=t.child}return t;case 5:return _f(t),e===null&&Ja(t),s=t.type,a=t.pendingProps,d=e!==null?e.memoizedProps:null,m=a.children,Va(s,a)?m=null:d!==null&&Va(s,d)&&(t.flags|=32),fp(e,t),wt(e,t,m,o),t.child;case 6:return e===null&&Ja(t),null;case 13:return yp(e,t,o);case 4:return lu(t,t.stateNode.containerInfo),s=t.pendingProps,e===null?t.child=Bo(t,null,s,o):wt(e,t,s,o),t.child;case 11:return s=t.type,a=t.pendingProps,a=t.elementType===s?a:on(s,a),ap(e,t,s,a,o);case 7:return wt(e,t,t.pendingProps,o),t.child;case 8:return wt(e,t,t.pendingProps.children,o),t.child;case 12:return wt(e,t,t.pendingProps.children,o),t.child;case 10:e:{if(s=t.type._context,a=t.pendingProps,d=t.memoizedProps,m=a.value,ze(ol,s._currentValue),s._currentValue=m,d!==null)if(nn(d.value,m)){if(d.children===a.children&&!bt.current){t=Wn(e,t,o);break e}}else for(d=t.child,d!==null&&(d.return=t);d!==null;){var E=d.dependencies;if(E!==null){m=d.child;for(var M=E.firstContext;M!==null;){if(M.context===s){if(d.tag===1){M=Vn(-1,o&-o),M.tag=2;var D=d.updateQueue;if(D!==null){D=D.shared;var V=D.pending;V===null?M.next=M:(M.next=V.next,V.next=M),D.pending=M}}d.lanes|=o,M=d.alternate,M!==null&&(M.lanes|=o),ou(d.return,o,t),E.lanes|=o;break}M=M.next}}else if(d.tag===10)m=d.type===t.type?null:d.child;else if(d.tag===18){if(m=d.return,m===null)throw Error(i(341));m.lanes|=o,E=m.alternate,E!==null&&(E.lanes|=o),ou(m,o,t),m=d.sibling}else m=d.child;if(m!==null)m.return=d;else for(m=d;m!==null;){if(m===t){m=null;break}if(d=m.sibling,d!==null){d.return=m.return,m=d;break}m=m.return}d=m}wt(e,t,a.children,o),t=t.child}return t;case 9:return a=t.type,s=t.pendingProps.children,Ho(t,o),a=Wt(a),s=s(a),t.flags|=1,wt(e,t,s,o),t.child;case 14:return s=t.type,a=on(s,t.pendingProps),a=on(s.type,a),up(e,t,s,a,o);case 15:return cp(e,t,t.type,t.pendingProps,o);case 17:return s=t.type,a=t.pendingProps,a=t.elementType===s?a:on(s,a),yl(e,t),t.tag=1,Rt(s)?(e=!0,Zs(t)):e=!1,Ho(t,o),tp(t,s,a),xu(t,s,a,o),Eu(null,t,s,!0,e,o);case 19:return gp(e,t,o);case 22:return dp(e,t,o)}throw Error(i(156,t.tag))};function Hp(e,t){return xd(e,t)}function Xg(e,t,o,s){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=s,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function qt(e,t,o,s){return new Xg(e,t,o,s)}function Vu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Zg(e){if(typeof e=="function")return Vu(e)?1:0;if(e!=null){if(e=e.$$typeof,e===X)return 11;if(e===xe)return 14}return 2}function Er(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 Pl(e,t,o,s,a,d){var m=2;if(s=e,typeof e=="function")Vu(e)&&(m=1);else if(typeof e=="string")m=5;else e:switch(e){case H:return oo(o.children,a,d,t);case q:m=8,a|=8;break;case Z:return e=qt(12,o,t,a|2),e.elementType=Z,e.lanes=d,e;case ve:return e=qt(13,o,t,a),e.elementType=ve,e.lanes=d,e;case ce:return e=qt(19,o,t,a),e.elementType=ce,e.lanes=d,e;case ie:return Ml(o,a,d,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case te:m=10;break e;case he:m=9;break e;case X:m=11;break e;case xe:m=14;break e;case ae:m=16,s=null;break e}throw Error(i(130,e==null?e:typeof e,""))}return t=qt(m,o,t,a),t.elementType=e,t.type=s,t.lanes=d,t}function oo(e,t,o,s){return e=qt(7,e,s,t),e.lanes=o,e}function Ml(e,t,o,s){return e=qt(22,e,s,t),e.elementType=ie,e.lanes=o,e.stateNode={isHidden:!1},e}function Wu(e,t,o){return e=qt(6,e,null,t),e.lanes=o,e}function Qu(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 Jg(e,t,o,s,a){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=wa(0),this.expirationTimes=wa(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=wa(0),this.identifierPrefix=s,this.onRecoverableError=a,this.mutableSourceEagerHydrationData=null}function Ku(e,t,o,s,a,d,m,E,M){return e=new Jg(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:s,isDehydrated:o,cache:null,transitions:null,pendingSuspenseBoundaries:null},su(d),e}function e0(e,t,o){var s=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:U,key:s==null?null:""+s,children:e,containerInfo:t,implementation:o}}function $p(e){if(!e)return mr;e=e._reactInternals;e:{if(Qr(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(Rt(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(Rt(o))return vf(e,o,t)}return t}function Vp(e,t,o,s,a,d,m,E,M){return e=Ku(o,s,!0,e,a,d,m,E,M),e.context=$p(null),o=e.current,s=xt(),a=kr(o),d=Vn(s,a),d.callback=t??null,gr(o,d,a),e.current.lanes=a,Ri(e,a,s),Tt(e,s),e}function Tl(e,t,o,s){var a=t.current,d=xt(),m=kr(a);return o=$p(o),t.context===null?t.context=o:t.pendingContext=o,t=Vn(d,m),t.payload={element:e},s=s===void 0?null:s,s!==null&&(t.callback=s),e=gr(a,t,m),e!==null&&(an(e,a,m,d),sl(e,a,m)),m}function Ol(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 Wp(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var o=e.retryLane;e.retryLane=o!==0&&o<t?o:t}}function qu(e,t){Wp(e,t),(e=e.alternate)&&Wp(e,t)}function t0(){return null}var Qp=typeof reportError=="function"?reportError:function(e){console.error(e)};function Yu(e){this._internalRoot=e}Nl.prototype.render=Yu.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(i(409));Tl(e,t,null,null)},Nl.prototype.unmount=Yu.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;to(function(){Tl(null,e,null,null)}),t[jn]=null}};function Nl(e){this._internalRoot=e}Nl.prototype.unstable_scheduleHydration=function(e){if(e){var t=Md();e={blockedOn:null,target:e,priority:t};for(var o=0;o<cr.length&&t!==0&&t<cr[o].priority;o++);cr.splice(o,0,e),o===0&&Nd(e)}};function Gu(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function _l(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Kp(){}function n0(e,t,o,s,a){if(a){if(typeof s=="function"){var d=s;s=function(){var D=Ol(m);d.call(D)}}var m=Vp(t,s,e,0,null,!1,!1,"",Kp);return e._reactRootContainer=m,e[jn]=m.current,Bi(e.nodeType===8?e.parentNode:e),to(),m}for(;a=e.lastChild;)e.removeChild(a);if(typeof s=="function"){var E=s;s=function(){var D=Ol(M);E.call(D)}}var M=Ku(e,0,!1,null,null,!1,!1,"",Kp);return e._reactRootContainer=M,e[jn]=M.current,Bi(e.nodeType===8?e.parentNode:e),to(function(){Tl(t,M,o,s)}),M}function Ll(e,t,o,s,a){var d=o._reactRootContainer;if(d){var m=d;if(typeof a=="function"){var E=a;a=function(){var M=Ol(m);E.call(M)}}Tl(t,m,e,a)}else m=n0(o,t,e,a,s);return Ol(m)}Rd=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var o=bi(t.pendingLanes);o!==0&&(xa(t,o|1),Tt(t,Ye()),(_e&6)===0&&(Ko=Ye()+500,yr()))}break;case 13:to(function(){var s=$n(e,1);if(s!==null){var a=xt();an(s,e,1,a)}}),qu(e,1)}},Sa=function(e){if(e.tag===13){var t=$n(e,134217728);if(t!==null){var o=xt();an(t,e,134217728,o)}qu(e,134217728)}},Pd=function(e){if(e.tag===13){var t=kr(e),o=$n(e,t);if(o!==null){var s=xt();an(o,e,t,s)}qu(e,t)}},Md=function(){return De},Td=function(e,t){var o=De;try{return De=e,t()}finally{De=o}},Ro=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 s=o[t];if(s!==e&&s.form===e.form){var a=Gs(s);if(!a)throw Error(i(90));Oe(s),Zt(s,a)}}}break;case"textarea":ks(e,o);break;case"select":t=o.value,t!=null&&Ht(e,!!o.multiple,t,!1)}},Ie=Uu,Fe=to;var r0={usingClientEntryPoint:!1,Events:[$i,Io,Gs,Ps,Ee,Uu]},rs={findFiberByHostInstance:Kr,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},o0={bundleType:rs.bundleType,version:rs.version,rendererPackageName:rs.rendererPackageName,rendererConfig:rs.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=gd(e),e===null?null:e.stateNode},findFiberByHostInstance:rs.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 Il=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Il.isDisabled&&Il.supportsFiber)try{Ns=Il.inject(o0),bn=Il}catch{}}return Ot.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=r0,Ot.createPortal=function(e,t){var o=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Gu(t))throw Error(i(200));return e0(e,t,null,o)},Ot.createRoot=function(e,t){if(!Gu(e))throw Error(i(299));var o=!1,s="",a=Qp;return t!=null&&(t.unstable_strictMode===!0&&(o=!0),t.identifierPrefix!==void 0&&(s=t.identifierPrefix),t.onRecoverableError!==void 0&&(a=t.onRecoverableError)),t=Ku(e,1,!1,null,null,o,!1,s,a),e[jn]=t.current,Bi(e.nodeType===8?e.parentNode:e),new Yu(t)},Ot.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=gd(t),e=e===null?null:e.stateNode,e},Ot.flushSync=function(e){return to(e)},Ot.hydrate=function(e,t,o){if(!_l(t))throw Error(i(200));return Ll(null,e,t,!0,o)},Ot.hydrateRoot=function(e,t,o){if(!Gu(e))throw Error(i(405));var s=o!=null&&o.hydratedSources||null,a=!1,d="",m=Qp;if(o!=null&&(o.unstable_strictMode===!0&&(a=!0),o.identifierPrefix!==void 0&&(d=o.identifierPrefix),o.onRecoverableError!==void 0&&(m=o.onRecoverableError)),t=Vp(t,null,e,1,o??null,a,!1,d,m),e[jn]=t.current,Bi(e),s)for(e=0;e<s.length;e++)o=s[e],a=o._getVersion,a=a(o._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[o,a]:t.mutableSourceEagerHydrationData.push(o,a);return new Nl(t)},Ot.render=function(e,t,o){if(!_l(t))throw Error(i(200));return Ll(null,e,t,!1,o)},Ot.unmountComponentAtNode=function(e){if(!_l(e))throw Error(i(40));return e._reactRootContainer?(to(function(){Ll(null,null,e,!1,function(){e._reactRootContainer=null,e[jn]=null})}),!0):!1},Ot.unstable_batchedUpdates=Uu,Ot.unstable_renderSubtreeIntoContainer=function(e,t,o,s){if(!_l(o))throw Error(i(200));if(e==null||e._reactInternals===void 0)throw Error(i(38));return Ll(e,t,o,!1,s)},Ot.version="18.3.1-next-f1338f8080-20240426",Ot}var nh;function fm(){if(nh)return ec.exports;nh=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(),ec.exports=f0(),ec.exports}var rh;function p0(){if(rh)return Dl;rh=1;var n=fm();return Dl.createRoot=n.createRoot,Dl.hydrateRoot=n.hydrateRoot,Dl}var Vk=p0();/**
40
+ `+d.stack}return{value:e,source:t,stack:a,digest:null}}function Su(e,t,o){return{value:e,source:null,stack:o??null,digest:t??null}}function Cu(e,t){try{console.error(t.value)}catch(o){setTimeout(function(){throw o})}}var Ig=typeof WeakMap=="function"?WeakMap:Map;function rp(e,t,o){o=Wn(-1,o),o.tag=3,o.payload={element:null};var s=t.value;return o.callback=function(){Sl||(Sl=!0,Fu=s),Cu(e,t)},o}function op(e,t,o){o=Wn(-1,o),o.tag=3;var s=e.type.getDerivedStateFromError;if(typeof s=="function"){var a=t.value;o.payload=function(){return s(a)},o.callback=function(){Cu(e,t)}}var d=e.stateNode;return d!==null&&typeof d.componentDidCatch=="function"&&(o.callback=function(){Cu(e,t),typeof s!="function"&&(xr===null?xr=new Set([this]):xr.add(this));var m=t.stack;this.componentDidCatch(t.value,{componentStack:m!==null?m:""})}),o}function ip(e,t,o){var s=e.pingCache;if(s===null){s=e.pingCache=new Ig;var a=new Set;s.set(t,a)}else a=s.get(t),a===void 0&&(a=new Set,s.set(t,a));a.has(o)||(a.add(o),e=qg.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 lp(e,t,o,s,a){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=Wn(-1,1),t.tag=2,gr(o,t,1))),o.lanes|=1),e):(e.flags|=65536,e.lanes=a,e)}var Ag=L.ReactCurrentOwner,Pt=!1;function wt(e,t,o,s){t.child=e===null?Pf(t,null,o,s):Bo(t,e.child,o,s)}function ap(e,t,o,s,a){o=o.render;var d=t.ref;return Ho(t,a),s=pu(e,t,o,s,d,a),o=hu(),e!==null&&!Pt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,Vn(e,t,a)):(He&&o&&Ya(t),t.flags|=1,wt(e,t,s,a),t.child)}function up(e,t,o,s,a){if(e===null){var d=o.type;return typeof d=="function"&&!Wu(d)&&d.defaultProps===void 0&&o.compare===null&&o.defaultProps===void 0?(t.tag=15,t.type=d,cp(e,t,d,s,a)):(e=Pl(o.type,null,s,t,t.mode,a),e.ref=t.ref,e.return=t,t.child=e)}if(d=e.child,(e.lanes&a)===0){var m=d.memoizedProps;if(o=o.compare,o=o!==null?o:Fi,o(m,s)&&e.ref===t.ref)return Vn(e,t,a)}return t.flags|=1,e=kr(d,s),e.ref=t.ref,e.return=t,t.child=e}function cp(e,t,o,s,a){if(e!==null){var d=e.memoizedProps;if(Fi(d,s)&&e.ref===t.ref)if(Pt=!1,t.pendingProps=s=d,(e.lanes&a)!==0)(e.flags&131072)!==0&&(Pt=!0);else return t.lanes=e.lanes,Vn(e,t,a)}return Eu(e,t,o,s,a)}function dp(e,t,o){var s=t.pendingProps,a=s.children,d=e!==null?e.memoizedState:null;if(s.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},s=d!==null?d.baseLanes:o,ze(Qo,zt),zt|=s}else d!==null?(s=d.baseLanes|o,t.memoizedState=null):s=o,ze(Qo,zt),zt|=s;return wt(e,t,a,o),t.child}function fp(e,t){var o=t.ref;(e===null&&o!==null||e!==null&&e.ref!==o)&&(t.flags|=512,t.flags|=2097152)}function Eu(e,t,o,s,a){var d=Rt(o)?qr:ft.current;return d=Do(t,d),Ho(t,a),o=pu(e,t,o,s,d,a),s=hu(),e!==null&&!Pt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,Vn(e,t,a)):(He&&s&&Ya(t),t.flags|=1,wt(e,t,o,a),t.child)}function pp(e,t,o,s,a){if(Rt(o)){var d=!0;Zs(t)}else d=!1;if(Ho(t,a),t.stateNode===null)vl(e,t),tp(t,o,s),xu(t,o,s,a),s=!0;else if(e===null){var m=t.stateNode,k=t.memoizedProps;m.props=k;var T=m.context,D=o.contextType;typeof D=="object"&&D!==null?D=Vt(D):(D=Rt(o)?qr:ft.current,D=Do(t,D));var W=o.getDerivedStateFromProps,Q=typeof W=="function"||typeof m.getSnapshotBeforeUpdate=="function";Q||typeof m.UNSAFE_componentWillReceiveProps!="function"&&typeof m.componentWillReceiveProps!="function"||(k!==s||T!==D)&&np(t,m,s,D),yr=!1;var $=t.memoizedState;m.state=$,ll(t,s,m,a),T=t.memoizedState,k!==s||$!==T||bt.current||yr?(typeof W=="function"&&(wu(t,o,W,s),T=t.memoizedState),(k=yr||ep(t,o,k,s,$,T,D))?(Q||typeof m.UNSAFE_componentWillMount!="function"&&typeof m.componentWillMount!="function"||(typeof m.componentWillMount=="function"&&m.componentWillMount(),typeof m.UNSAFE_componentWillMount=="function"&&m.UNSAFE_componentWillMount()),typeof m.componentDidMount=="function"&&(t.flags|=4194308)):(typeof m.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=s,t.memoizedState=T),m.props=s,m.state=T,m.context=D,s=k):(typeof m.componentDidMount=="function"&&(t.flags|=4194308),s=!1)}else{m=t.stateNode,Mf(e,t),k=t.memoizedProps,D=t.type===t.elementType?k:on(t.type,k),m.props=D,Q=t.pendingProps,$=m.context,T=o.contextType,typeof T=="object"&&T!==null?T=Vt(T):(T=Rt(o)?qr:ft.current,T=Do(t,T));var oe=o.getDerivedStateFromProps;(W=typeof oe=="function"||typeof m.getSnapshotBeforeUpdate=="function")||typeof m.UNSAFE_componentWillReceiveProps!="function"&&typeof m.componentWillReceiveProps!="function"||(k!==Q||$!==T)&&np(t,m,s,T),yr=!1,$=t.memoizedState,m.state=$,ll(t,s,m,a);var le=t.memoizedState;k!==Q||$!==le||bt.current||yr?(typeof oe=="function"&&(wu(t,o,oe,s),le=t.memoizedState),(D=yr||ep(t,o,D,s,$,le,T)||!1)?(W||typeof m.UNSAFE_componentWillUpdate!="function"&&typeof m.componentWillUpdate!="function"||(typeof m.componentWillUpdate=="function"&&m.componentWillUpdate(s,le,T),typeof m.UNSAFE_componentWillUpdate=="function"&&m.UNSAFE_componentWillUpdate(s,le,T)),typeof m.componentDidUpdate=="function"&&(t.flags|=4),typeof m.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof m.componentDidUpdate!="function"||k===e.memoizedProps&&$===e.memoizedState||(t.flags|=4),typeof m.getSnapshotBeforeUpdate!="function"||k===e.memoizedProps&&$===e.memoizedState||(t.flags|=1024),t.memoizedProps=s,t.memoizedState=le),m.props=s,m.state=le,m.context=T,s=D):(typeof m.componentDidUpdate!="function"||k===e.memoizedProps&&$===e.memoizedState||(t.flags|=4),typeof m.getSnapshotBeforeUpdate!="function"||k===e.memoizedProps&&$===e.memoizedState||(t.flags|=1024),s=!1)}return ku(e,t,o,s,d,a)}function ku(e,t,o,s,a,d){fp(e,t);var m=(t.flags&128)!==0;if(!s&&!m)return a&&gf(t,o,!1),Vn(e,t,d);s=t.stateNode,Ag.current=t;var k=m&&typeof o.getDerivedStateFromError!="function"?null:s.render();return t.flags|=1,e!==null&&m?(t.child=Bo(t,e.child,null,d),t.child=Bo(t,null,k,d)):wt(e,t,k,d),t.memoizedState=s.state,a&&gf(t,o,!0),t.child}function hp(e){var t=e.stateNode;t.pendingContext?vf(e,t.pendingContext,t.pendingContext!==t.context):t.context&&vf(e,t.context,!1),lu(e,t.containerInfo)}function mp(e,t,o,s,a){return jo(),eu(a),t.flags|=256,wt(e,t,o,s),t.child}var bu={dehydrated:null,treeContext:null,retryLane:0};function Ru(e){return{baseLanes:e,cachePool:null,transitions:null}}function vp(e,t,o){var s=t.pendingProps,a=We.current,d=!1,m=(t.flags&128)!==0,k;if((k=m)||(k=e!==null&&e.memoizedState===null?!1:(a&2)!==0),k?(d=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(a|=1),ze(We,a&1),e===null)return Ja(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):(m=s.children,e=s.fallback,d?(s=t.mode,d=t.child,m={mode:"hidden",children:m},(s&1)===0&&d!==null?(d.childLanes=0,d.pendingProps=m):d=Tl(m,s,0,null),e=oo(e,s,o,null),d.return=t,e.return=t,d.sibling=e,t.child=d,t.child.memoizedState=Ru(o),t.memoizedState=bu,e):Pu(t,m));if(a=e.memoizedState,a!==null&&(k=a.dehydrated,k!==null))return Dg(e,t,m,s,k,a,o);if(d){d=s.fallback,m=t.mode,a=e.child,k=a.sibling;var T={mode:"hidden",children:s.children};return(m&1)===0&&t.child!==a?(s=t.child,s.childLanes=0,s.pendingProps=T,t.deletions=null):(s=kr(a,T),s.subtreeFlags=a.subtreeFlags&14680064),k!==null?d=kr(k,d):(d=oo(d,m,o,null),d.flags|=2),d.return=t,s.return=t,s.sibling=d,t.child=s,s=d,d=t.child,m=e.child.memoizedState,m=m===null?Ru(o):{baseLanes:m.baseLanes|o,cachePool:null,transitions:m.transitions},d.memoizedState=m,d.childLanes=e.childLanes&~o,t.memoizedState=bu,s}return d=e.child,e=d.sibling,s=kr(d,{mode:"visible",children:s.children}),(t.mode&1)===0&&(s.lanes=o),s.return=t,s.sibling=null,e!==null&&(o=t.deletions,o===null?(t.deletions=[e],t.flags|=16):o.push(e)),t.child=s,t.memoizedState=null,s}function Pu(e,t){return t=Tl({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function ml(e,t,o,s){return s!==null&&eu(s),Bo(t,e.child,null,o),e=Pu(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Dg(e,t,o,s,a,d,m){if(o)return t.flags&256?(t.flags&=-257,s=Su(Error(i(422))),ml(e,t,m,s)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(d=s.fallback,a=t.mode,s=Tl({mode:"visible",children:s.children},a,0,null),d=oo(d,a,m,null),d.flags|=2,s.return=t,d.return=t,s.sibling=d,t.child=s,(t.mode&1)!==0&&Bo(t,e.child,null,m),t.child.memoizedState=Ru(m),t.memoizedState=bu,d);if((t.mode&1)===0)return ml(e,t,m,null);if(a.data==="$!"){if(s=a.nextSibling&&a.nextSibling.dataset,s)var k=s.dgst;return s=k,d=Error(i(419)),s=Su(d,s,void 0),ml(e,t,m,s)}if(k=(m&e.childLanes)!==0,Pt||k){if(s=ot,s!==null){switch(m&-m){case 4:a=2;break;case 16:a=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:a=32;break;case 536870912:a=268435456;break;default:a=0}a=(a&(s.suspendedLanes|m))!==0?0:a,a!==0&&a!==d.retryLane&&(d.retryLane=a,$n(e,a),an(s,e,a,-1))}return $u(),s=Su(Error(i(421))),ml(e,t,m,s)}return a.data==="$?"?(t.flags|=128,t.child=e.child,t=Gg.bind(null,e),a._reactRetry=t,null):(e=d.treeContext,Ft=pr(a.nextSibling),Dt=t,He=!0,rn=null,e!==null&&($t[Wt++]=Un,$t[Wt++]=Hn,$t[Wt++]=Gr,Un=e.id,Hn=e.overflow,Gr=t),t=Pu(t,s.children),t.flags|=4096,t)}function yp(e,t,o){e.lanes|=t;var s=e.alternate;s!==null&&(s.lanes|=t),ou(e.return,t,o)}function Tu(e,t,o,s,a){var d=e.memoizedState;d===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:s,tail:o,tailMode:a}:(d.isBackwards=t,d.rendering=null,d.renderingStartTime=0,d.last=s,d.tail=o,d.tailMode=a)}function gp(e,t,o){var s=t.pendingProps,a=s.revealOrder,d=s.tail;if(wt(e,t,s.children,o),s=We.current,(s&2)!==0)s=s&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&&yp(e,o,t);else if(e.tag===19)yp(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}s&=1}if(ze(We,s),(t.mode&1)===0)t.memoizedState=null;else switch(a){case"forwards":for(o=t.child,a=null;o!==null;)e=o.alternate,e!==null&&al(e)===null&&(a=o),o=o.sibling;o=a,o===null?(a=t.child,t.child=null):(a=o.sibling,o.sibling=null),Tu(t,!1,a,o,d);break;case"backwards":for(o=null,a=t.child,t.child=null;a!==null;){if(e=a.alternate,e!==null&&al(e)===null){t.child=a;break}e=a.sibling,a.sibling=o,o=a,a=e}Tu(t,!0,o,null,d);break;case"together":Tu(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function vl(e,t){(t.mode&1)===0&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Vn(e,t,o){if(e!==null&&(t.dependencies=e.dependencies),eo|=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=kr(e,e.pendingProps),t.child=o,o.return=t;e.sibling!==null;)e=e.sibling,o=o.sibling=kr(e,e.pendingProps),o.return=t;o.sibling=null}return t.child}function Fg(e,t,o){switch(t.tag){case 3:hp(t),jo();break;case 5:_f(t);break;case 1:Rt(t.type)&&Zs(t);break;case 4:lu(t,t.stateNode.containerInfo);break;case 10:var s=t.type._context,a=t.memoizedProps.value;ze(ol,s._currentValue),s._currentValue=a;break;case 13:if(s=t.memoizedState,s!==null)return s.dehydrated!==null?(ze(We,We.current&1),t.flags|=128,null):(o&t.child.childLanes)!==0?vp(e,t,o):(ze(We,We.current&1),e=Vn(e,t,o),e!==null?e.sibling:null);ze(We,We.current&1);break;case 19:if(s=(o&t.childLanes)!==0,(e.flags&128)!==0){if(s)return gp(e,t,o);t.flags|=128}if(a=t.memoizedState,a!==null&&(a.rendering=null,a.tail=null,a.lastEffect=null),ze(We,We.current),s)break;return null;case 22:case 23:return t.lanes=0,dp(e,t,o)}return Vn(e,t,o)}var wp,Mu,xp,Sp;wp=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}},Mu=function(){},xp=function(e,t,o,s){var a=e.memoizedProps;if(a!==s){e=t.stateNode,Zr(Pn.current);var d=null;switch(o){case"input":a=dt(e,a),s=dt(e,s),d=[];break;case"select":a=V({},a,{value:void 0}),s=V({},s,{value:void 0}),d=[];break;case"textarea":a=Co(e,a),s=Co(e,s),d=[];break;default:typeof a.onClick!="function"&&typeof s.onClick=="function"&&(e.onclick=Gs)}Cn(o,s);var m;o=null;for(D in a)if(!s.hasOwnProperty(D)&&a.hasOwnProperty(D)&&a[D]!=null)if(D==="style"){var k=a[D];for(m in k)k.hasOwnProperty(m)&&(o||(o={}),o[m]="")}else D!=="dangerouslySetInnerHTML"&&D!=="children"&&D!=="suppressContentEditableWarning"&&D!=="suppressHydrationWarning"&&D!=="autoFocus"&&(u.hasOwnProperty(D)?d||(d=[]):(d=d||[]).push(D,null));for(D in s){var T=s[D];if(k=a!=null?a[D]:void 0,s.hasOwnProperty(D)&&T!==k&&(T!=null||k!=null))if(D==="style")if(k){for(m in k)!k.hasOwnProperty(m)||T&&T.hasOwnProperty(m)||(o||(o={}),o[m]="");for(m in T)T.hasOwnProperty(m)&&k[m]!==T[m]&&(o||(o={}),o[m]=T[m])}else o||(d||(d=[]),d.push(D,o)),o=T;else D==="dangerouslySetInnerHTML"?(T=T?T.__html:void 0,k=k?k.__html:void 0,T!=null&&k!==T&&(d=d||[]).push(D,T)):D==="children"?typeof T!="string"&&typeof T!="number"||(d=d||[]).push(D,""+T):D!=="suppressContentEditableWarning"&&D!=="suppressHydrationWarning"&&(u.hasOwnProperty(D)?(T!=null&&D==="onScroll"&&je("scroll",e),d||k===T||(d=[])):(d=d||[]).push(D,T))}o&&(d=d||[]).push("style",o);var D=d;(t.updateQueue=D)&&(t.flags|=4)}},Sp=function(e,t,o,s){o!==s&&(t.flags|=4)};function Zi(e,t){if(!He)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 s=null;o!==null;)o.alternate!==null&&(s=o),o=o.sibling;s===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:s.sibling=null}}function ht(e){var t=e.alternate!==null&&e.alternate.child===e.child,o=0,s=0;if(t)for(var a=e.child;a!==null;)o|=a.lanes|a.childLanes,s|=a.subtreeFlags&14680064,s|=a.flags&14680064,a.return=e,a=a.sibling;else for(a=e.child;a!==null;)o|=a.lanes|a.childLanes,s|=a.subtreeFlags,s|=a.flags,a.return=e,a=a.sibling;return e.subtreeFlags|=s,e.childLanes=o,t}function zg(e,t,o){var s=t.pendingProps;switch(Xa(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 Rt(t.type)&&Xs(),ht(t),null;case 3:return s=t.stateNode,$o(),Be(bt),Be(ft),cu(),s.pendingContext&&(s.context=s.pendingContext,s.pendingContext=null),(e===null||e.child===null)&&(nl(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,rn!==null&&(Bu(rn),rn=null))),Mu(e,t),ht(t),null;case 5:au(t);var a=Zr(Ki.current);if(o=t.type,e!==null&&t.stateNode!=null)xp(e,t,o,s,a),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!s){if(t.stateNode===null)throw Error(i(166));return ht(t),null}if(e=Zr(Pn.current),nl(t)){s=t.stateNode,o=t.type;var d=t.memoizedProps;switch(s[Rn]=t,s[Hi]=d,e=(t.mode&1)!==0,o){case"dialog":je("cancel",s),je("close",s);break;case"iframe":case"object":case"embed":je("load",s);break;case"video":case"audio":for(a=0;a<ji.length;a++)je(ji[a],s);break;case"source":je("error",s);break;case"img":case"image":case"link":je("error",s),je("load",s);break;case"details":je("toggle",s);break;case"input":yn(s,d),je("invalid",s);break;case"select":s._wrapperState={wasMultiple:!!d.multiple},je("invalid",s);break;case"textarea":wn(s,d),je("invalid",s)}Cn(o,d),a=null;for(var m in d)if(d.hasOwnProperty(m)){var k=d[m];m==="children"?typeof k=="string"?s.textContent!==k&&(d.suppressHydrationWarning!==!0&&qs(s.textContent,k,e),a=["children",k]):typeof k=="number"&&s.textContent!==""+k&&(d.suppressHydrationWarning!==!0&&qs(s.textContent,k,e),a=["children",""+k]):u.hasOwnProperty(m)&&k!=null&&m==="onScroll"&&je("scroll",s)}switch(o){case"input":Te(s),or(s,d,!0);break;case"textarea":Te(s),Es(s);break;case"select":case"option":break;default:typeof d.onClick=="function"&&(s.onclick=Gs)}s=a,t.updateQueue=s,s!==null&&(t.flags|=4)}else{m=a.nodeType===9?a:a.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=yt(o)),e==="http://www.w3.org/1999/xhtml"?o==="script"?(e=m.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof s.is=="string"?e=m.createElement(o,{is:s.is}):(e=m.createElement(o),o==="select"&&(m=e,s.multiple?m.multiple=!0:s.size&&(m.size=s.size))):e=m.createElementNS(e,o),e[Rn]=t,e[Hi]=s,wp(e,t,!1,!1),t.stateNode=e;e:{switch(m=Ci(o,s),o){case"dialog":je("cancel",e),je("close",e),a=s;break;case"iframe":case"object":case"embed":je("load",e),a=s;break;case"video":case"audio":for(a=0;a<ji.length;a++)je(ji[a],e);a=s;break;case"source":je("error",e),a=s;break;case"img":case"image":case"link":je("error",e),je("load",e),a=s;break;case"details":je("toggle",e),a=s;break;case"input":yn(e,s),a=dt(e,s),je("invalid",e);break;case"option":a=s;break;case"select":e._wrapperState={wasMultiple:!!s.multiple},a=V({},s,{value:void 0}),je("invalid",e);break;case"textarea":wn(e,s),a=Co(e,s),je("invalid",e);break;default:a=s}Cn(o,a),k=a;for(d in k)if(k.hasOwnProperty(d)){var T=k[d];d==="style"?zn(e,T):d==="dangerouslySetInnerHTML"?(T=T?T.__html:void 0,T!=null&&ks(e,T)):d==="children"?typeof T=="string"?(o!=="textarea"||T!=="")&&Sn(e,T):typeof T=="number"&&Sn(e,""+T):d!=="suppressContentEditableWarning"&&d!=="suppressHydrationWarning"&&d!=="autoFocus"&&(u.hasOwnProperty(d)?T!=null&&d==="onScroll"&&je("scroll",e):T!=null&&R(e,d,T,m))}switch(o){case"input":Te(e),or(e,s,!1);break;case"textarea":Te(e),Es(e);break;case"option":s.value!=null&&e.setAttribute("value",""+fe(s.value));break;case"select":e.multiple=!!s.multiple,d=s.value,d!=null?Ht(e,!!s.multiple,d,!1):s.defaultValue!=null&&Ht(e,!!s.multiple,s.defaultValue,!0);break;default:typeof a.onClick=="function"&&(e.onclick=Gs)}switch(o){case"button":case"input":case"select":case"textarea":s=!!s.autoFocus;break e;case"img":s=!0;break e;default:s=!1}}s&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return ht(t),null;case 6:if(e&&t.stateNode!=null)Sp(e,t,e.memoizedProps,s);else{if(typeof s!="string"&&t.stateNode===null)throw Error(i(166));if(o=Zr(Ki.current),Zr(Pn.current),nl(t)){if(s=t.stateNode,o=t.memoizedProps,s[Rn]=t,(d=s.nodeValue!==o)&&(e=Dt,e!==null))switch(e.tag){case 3:qs(s.nodeValue,o,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&qs(s.nodeValue,o,(e.mode&1)!==0)}d&&(t.flags|=4)}else s=(o.nodeType===9?o:o.ownerDocument).createTextNode(s),s[Rn]=t,t.stateNode=s}return ht(t),null;case 13:if(Be(We),s=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(He&&Ft!==null&&(t.mode&1)!==0&&(t.flags&128)===0)kf(),jo(),t.flags|=98560,d=!1;else if(d=nl(t),s!==null&&s.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[Rn]=t}else jo(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;ht(t),d=!1}else rn!==null&&(Bu(rn),rn=null),d=!0;if(!d)return t.flags&65536?t:null}return(t.flags&128)!==0?(t.lanes=o,t):(s=s!==null,s!==(e!==null&&e.memoizedState!==null)&&s&&(t.child.flags|=8192,(t.mode&1)!==0&&(e===null||(We.current&1)!==0?tt===0&&(tt=3):$u())),t.updateQueue!==null&&(t.flags|=4),ht(t),null);case 4:return $o(),Mu(e,t),e===null&&Bi(t.stateNode.containerInfo),ht(t),null;case 10:return ru(t.type._context),ht(t),null;case 17:return Rt(t.type)&&Xs(),ht(t),null;case 19:if(Be(We),d=t.memoizedState,d===null)return ht(t),null;if(s=(t.flags&128)!==0,m=d.rendering,m===null)if(s)Zi(d,!1);else{if(tt!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(m=al(e),m!==null){for(t.flags|=128,Zi(d,!1),s=m.updateQueue,s!==null&&(t.updateQueue=s,t.flags|=4),t.subtreeFlags=0,s=o,o=t.child;o!==null;)d=o,e=s,d.flags&=14680066,m=d.alternate,m===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=m.childLanes,d.lanes=m.lanes,d.child=m.child,d.subtreeFlags=0,d.deletions=null,d.memoizedProps=m.memoizedProps,d.memoizedState=m.memoizedState,d.updateQueue=m.updateQueue,d.type=m.type,e=m.dependencies,d.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),o=o.sibling;return ze(We,We.current&1|2),t.child}e=e.sibling}d.tail!==null&&Ge()>Ko&&(t.flags|=128,s=!0,Zi(d,!1),t.lanes=4194304)}else{if(!s)if(e=al(m),e!==null){if(t.flags|=128,s=!0,o=e.updateQueue,o!==null&&(t.updateQueue=o,t.flags|=4),Zi(d,!0),d.tail===null&&d.tailMode==="hidden"&&!m.alternate&&!He)return ht(t),null}else 2*Ge()-d.renderingStartTime>Ko&&o!==1073741824&&(t.flags|=128,s=!0,Zi(d,!1),t.lanes=4194304);d.isBackwards?(m.sibling=t.child,t.child=m):(o=d.last,o!==null?o.sibling=m:t.child=m,d.last=m)}return d.tail!==null?(t=d.tail,d.rendering=t,d.tail=t.sibling,d.renderingStartTime=Ge(),t.sibling=null,o=We.current,ze(We,s?o&1|2:o&1),t):(ht(t),null);case 22:case 23:return Hu(),s=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==s&&(t.flags|=8192),s&&(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 jg(e,t){switch(Xa(t),t.tag){case 1:return Rt(t.type)&&Xs(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return $o(),Be(bt),Be(ft),cu(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 5:return au(t),null;case 13:if(Be(We),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(i(340));jo()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Be(We),null;case 4:return $o(),null;case 10:return ru(t.type._context),null;case 22:case 23:return Hu(),null;case 24:return null;default:return null}}var yl=!1,mt=!1,Bg=typeof WeakSet=="function"?WeakSet:Set,se=null;function Vo(e,t){var o=e.ref;if(o!==null)if(typeof o=="function")try{o(null)}catch(s){Qe(e,t,s)}else o.current=null}function Ou(e,t,o){try{o()}catch(s){Qe(e,t,s)}}var Cp=!1;function Ug(e,t){if(Ha=Fs,e=Jd(),Ia(e)){if("selectionStart"in e)var o={start:e.selectionStart,end:e.selectionEnd};else e:{o=(o=e.ownerDocument)&&o.defaultView||window;var s=o.getSelection&&o.getSelection();if(s&&s.rangeCount!==0){o=s.anchorNode;var a=s.anchorOffset,d=s.focusNode;s=s.focusOffset;try{o.nodeType,d.nodeType}catch{o=null;break e}var m=0,k=-1,T=-1,D=0,W=0,Q=e,$=null;t:for(;;){for(var oe;Q!==o||a!==0&&Q.nodeType!==3||(k=m+a),Q!==d||s!==0&&Q.nodeType!==3||(T=m+s),Q.nodeType===3&&(m+=Q.nodeValue.length),(oe=Q.firstChild)!==null;)$=Q,Q=oe;for(;;){if(Q===e)break t;if($===o&&++D===a&&(k=m),$===d&&++W===s&&(T=m),(oe=Q.nextSibling)!==null)break;Q=$,$=Q.parentNode}Q=oe}o=k===-1||T===-1?null:{start:k,end:T}}else o=null}o=o||{start:0,end:0}}else o=null;for($a={focusedElem:e,selectionRange:o},Fs=!1,se=t;se!==null;)if(t=se,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,se=e;else for(;se!==null;){t=se;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 ue=le.memoizedProps,Ye=le.memoizedState,I=t.stateNode,_=I.getSnapshotBeforeUpdate(t.elementType===t.type?ue:on(t.type,ue),Ye);I.__reactInternalSnapshotBeforeUpdate=_}break;case 3:var A=t.stateNode.containerInfo;A.nodeType===1?A.textContent="":A.nodeType===9&&A.documentElement&&A.removeChild(A.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(i(163))}}catch(G){Qe(t,t.return,G)}if(e=t.sibling,e!==null){e.return=t.return,se=e;break}se=t.return}return le=Cp,Cp=!1,le}function Ji(e,t,o){var s=t.updateQueue;if(s=s!==null?s.lastEffect:null,s!==null){var a=s=s.next;do{if((a.tag&e)===e){var d=a.destroy;a.destroy=void 0,d!==void 0&&Ou(t,o,d)}a=a.next}while(a!==s)}}function gl(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 s=o.create;o.destroy=s()}o=o.next}while(o!==t)}}function Nu(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 Ep(e){var t=e.alternate;t!==null&&(e.alternate=null,Ep(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Rn],delete t[Hi],delete t[Ka],delete t[Eg],delete t[kg])),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 kp(e){return e.tag===5||e.tag===3||e.tag===4}function bp(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||kp(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 _u(e,t,o){var s=e.tag;if(s===5||s===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=Gs));else if(s!==4&&(e=e.child,e!==null))for(_u(e,t,o),e=e.sibling;e!==null;)_u(e,t,o),e=e.sibling}function Lu(e,t,o){var s=e.tag;if(s===5||s===6)e=e.stateNode,t?o.insertBefore(e,t):o.appendChild(e);else if(s!==4&&(e=e.child,e!==null))for(Lu(e,t,o),e=e.sibling;e!==null;)Lu(e,t,o),e=e.sibling}var at=null,sn=!1;function wr(e,t,o){for(o=o.child;o!==null;)Rp(e,t,o),o=o.sibling}function Rp(e,t,o){if(bn&&typeof bn.onCommitFiberUnmount=="function")try{bn.onCommitFiberUnmount(Ns,o)}catch{}switch(o.tag){case 5:mt||Vo(o,t);case 6:var s=at,a=sn;at=null,wr(e,t,o),at=s,sn=a,at!==null&&(sn?(e=at,o=o.stateNode,e.nodeType===8?e.parentNode.removeChild(o):e.removeChild(o)):at.removeChild(o.stateNode));break;case 18:at!==null&&(sn?(e=at,o=o.stateNode,e.nodeType===8?Qa(e.parentNode,o):e.nodeType===1&&Qa(e,o),Ni(e)):Qa(at,o.stateNode));break;case 4:s=at,a=sn,at=o.stateNode.containerInfo,sn=!0,wr(e,t,o),at=s,sn=a;break;case 0:case 11:case 14:case 15:if(!mt&&(s=o.updateQueue,s!==null&&(s=s.lastEffect,s!==null))){a=s=s.next;do{var d=a,m=d.destroy;d=d.tag,m!==void 0&&((d&2)!==0||(d&4)!==0)&&Ou(o,t,m),a=a.next}while(a!==s)}wr(e,t,o);break;case 1:if(!mt&&(Vo(o,t),s=o.stateNode,typeof s.componentWillUnmount=="function"))try{s.props=o.memoizedProps,s.state=o.memoizedState,s.componentWillUnmount()}catch(k){Qe(o,t,k)}wr(e,t,o);break;case 21:wr(e,t,o);break;case 22:o.mode&1?(mt=(s=mt)||o.memoizedState!==null,wr(e,t,o),mt=s):wr(e,t,o);break;default:wr(e,t,o)}}function Pp(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var o=e.stateNode;o===null&&(o=e.stateNode=new Bg),t.forEach(function(s){var a=Yg.bind(null,e,s);o.has(s)||(o.add(s),s.then(a,a))})}}function ln(e,t){var o=t.deletions;if(o!==null)for(var s=0;s<o.length;s++){var a=o[s];try{var d=e,m=t,k=m;e:for(;k!==null;){switch(k.tag){case 5:at=k.stateNode,sn=!1;break e;case 3:at=k.stateNode.containerInfo,sn=!0;break e;case 4:at=k.stateNode.containerInfo,sn=!0;break e}k=k.return}if(at===null)throw Error(i(160));Rp(d,m,a),at=null,sn=!1;var T=a.alternate;T!==null&&(T.return=null),a.return=null}catch(D){Qe(a,t,D)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Tp(t,e),t=t.sibling}function Tp(e,t){var o=e.alternate,s=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(ln(t,e),Mn(e),s&4){try{Ji(3,e,e.return),gl(3,e)}catch(ue){Qe(e,e.return,ue)}try{Ji(5,e,e.return)}catch(ue){Qe(e,e.return,ue)}}break;case 1:ln(t,e),Mn(e),s&512&&o!==null&&Vo(o,o.return);break;case 5:if(ln(t,e),Mn(e),s&512&&o!==null&&Vo(o,o.return),e.flags&32){var a=e.stateNode;try{Sn(a,"")}catch(ue){Qe(e,e.return,ue)}}if(s&4&&(a=e.stateNode,a!=null)){var d=e.memoizedProps,m=o!==null?o.memoizedProps:d,k=e.type,T=e.updateQueue;if(e.updateQueue=null,T!==null)try{k==="input"&&d.type==="radio"&&d.name!=null&&Xt(a,d),Ci(k,m);var D=Ci(k,d);for(m=0;m<T.length;m+=2){var W=T[m],Q=T[m+1];W==="style"?zn(a,Q):W==="dangerouslySetInnerHTML"?ks(a,Q):W==="children"?Sn(a,Q):R(a,W,Q,D)}switch(k){case"input":Zt(a,d);break;case"textarea":Cs(a,d);break;case"select":var $=a._wrapperState.wasMultiple;a._wrapperState.wasMultiple=!!d.multiple;var oe=d.value;oe!=null?Ht(a,!!d.multiple,oe,!1):$!==!!d.multiple&&(d.defaultValue!=null?Ht(a,!!d.multiple,d.defaultValue,!0):Ht(a,!!d.multiple,d.multiple?[]:"",!1))}a[Hi]=d}catch(ue){Qe(e,e.return,ue)}}break;case 6:if(ln(t,e),Mn(e),s&4){if(e.stateNode===null)throw Error(i(162));a=e.stateNode,d=e.memoizedProps;try{a.nodeValue=d}catch(ue){Qe(e,e.return,ue)}}break;case 3:if(ln(t,e),Mn(e),s&4&&o!==null&&o.memoizedState.isDehydrated)try{Ni(t.containerInfo)}catch(ue){Qe(e,e.return,ue)}break;case 4:ln(t,e),Mn(e);break;case 13:ln(t,e),Mn(e),a=e.child,a.flags&8192&&(d=a.memoizedState!==null,a.stateNode.isHidden=d,!d||a.alternate!==null&&a.alternate.memoizedState!==null||(Du=Ge())),s&4&&Pp(e);break;case 22:if(W=o!==null&&o.memoizedState!==null,e.mode&1?(mt=(D=mt)||W,ln(t,e),mt=D):ln(t,e),Mn(e),s&8192){if(D=e.memoizedState!==null,(e.stateNode.isHidden=D)&&!W&&(e.mode&1)!==0)for(se=e,W=e.child;W!==null;){for(Q=se=W;se!==null;){switch($=se,oe=$.child,$.tag){case 0:case 11:case 14:case 15:Ji(4,$,$.return);break;case 1:Vo($,$.return);var le=$.stateNode;if(typeof le.componentWillUnmount=="function"){s=$,o=$.return;try{t=s,le.props=t.memoizedProps,le.state=t.memoizedState,le.componentWillUnmount()}catch(ue){Qe(s,o,ue)}}break;case 5:Vo($,$.return);break;case 22:if($.memoizedState!==null){Np(Q);continue}}oe!==null?(oe.return=$,se=oe):Np(Q)}W=W.sibling}e:for(W=null,Q=e;;){if(Q.tag===5){if(W===null){W=Q;try{a=Q.stateNode,D?(d=a.style,typeof d.setProperty=="function"?d.setProperty("display","none","important"):d.display="none"):(k=Q.stateNode,T=Q.memoizedProps.style,m=T!=null&&T.hasOwnProperty("display")?T.display:null,k.style.display=ko("display",m))}catch(ue){Qe(e,e.return,ue)}}}else if(Q.tag===6){if(W===null)try{Q.stateNode.nodeValue=D?"":Q.memoizedProps}catch(ue){Qe(e,e.return,ue)}}else if((Q.tag!==22&&Q.tag!==23||Q.memoizedState===null||Q===e)&&Q.child!==null){Q.child.return=Q,Q=Q.child;continue}if(Q===e)break e;for(;Q.sibling===null;){if(Q.return===null||Q.return===e)break e;W===Q&&(W=null),Q=Q.return}W===Q&&(W=null),Q.sibling.return=Q.return,Q=Q.sibling}}break;case 19:ln(t,e),Mn(e),s&4&&Pp(e);break;case 21:break;default:ln(t,e),Mn(e)}}function Mn(e){var t=e.flags;if(t&2){try{e:{for(var o=e.return;o!==null;){if(kp(o)){var s=o;break e}o=o.return}throw Error(i(160))}switch(s.tag){case 5:var a=s.stateNode;s.flags&32&&(Sn(a,""),s.flags&=-33);var d=bp(e);Lu(e,d,a);break;case 3:case 4:var m=s.stateNode.containerInfo,k=bp(e);_u(e,k,m);break;default:throw Error(i(161))}}catch(T){Qe(e,e.return,T)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Hg(e,t,o){se=e,Mp(e)}function Mp(e,t,o){for(var s=(e.mode&1)!==0;se!==null;){var a=se,d=a.child;if(a.tag===22&&s){var m=a.memoizedState!==null||yl;if(!m){var k=a.alternate,T=k!==null&&k.memoizedState!==null||mt;k=yl;var D=mt;if(yl=m,(mt=T)&&!D)for(se=a;se!==null;)m=se,T=m.child,m.tag===22&&m.memoizedState!==null?_p(a):T!==null?(T.return=m,se=T):_p(a);for(;d!==null;)se=d,Mp(d),d=d.sibling;se=a,yl=k,mt=D}Op(e)}else(a.subtreeFlags&8772)!==0&&d!==null?(d.return=a,se=d):Op(e)}}function Op(e){for(;se!==null;){var t=se;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||gl(5,t);break;case 1:var s=t.stateNode;if(t.flags&4&&!mt)if(o===null)s.componentDidMount();else{var a=t.elementType===t.type?o.memoizedProps:on(t.type,o.memoizedProps);s.componentDidUpdate(a,o.memoizedState,s.__reactInternalSnapshotBeforeUpdate)}var d=t.updateQueue;d!==null&&Nf(t,d,s);break;case 3:var m=t.updateQueue;if(m!==null){if(o=null,t.child!==null)switch(t.child.tag){case 5:o=t.child.stateNode;break;case 1:o=t.child.stateNode}Nf(t,m,o)}break;case 5:var k=t.stateNode;if(o===null&&t.flags&4){o=k;var T=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":T.autoFocus&&o.focus();break;case"img":T.src&&(o.src=T.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 Q=W.dehydrated;Q!==null&&Ni(Q)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(i(163))}mt||t.flags&512&&Nu(t)}catch($){Qe(t,t.return,$)}}if(t===e){se=null;break}if(o=t.sibling,o!==null){o.return=t.return,se=o;break}se=t.return}}function Np(e){for(;se!==null;){var t=se;if(t===e){se=null;break}var o=t.sibling;if(o!==null){o.return=t.return,se=o;break}se=t.return}}function _p(e){for(;se!==null;){var t=se;try{switch(t.tag){case 0:case 11:case 15:var o=t.return;try{gl(4,t)}catch(T){Qe(t,o,T)}break;case 1:var s=t.stateNode;if(typeof s.componentDidMount=="function"){var a=t.return;try{s.componentDidMount()}catch(T){Qe(t,a,T)}}var d=t.return;try{Nu(t)}catch(T){Qe(t,d,T)}break;case 5:var m=t.return;try{Nu(t)}catch(T){Qe(t,m,T)}}}catch(T){Qe(t,t.return,T)}if(t===e){se=null;break}var k=t.sibling;if(k!==null){k.return=t.return,se=k;break}se=t.return}}var $g=Math.ceil,wl=L.ReactCurrentDispatcher,Iu=L.ReactCurrentOwner,Kt=L.ReactCurrentBatchConfig,_e=0,ot=null,Ze=null,ut=0,zt=0,Qo=hr(0),tt=0,es=null,eo=0,xl=0,Au=0,ts=null,Tt=null,Du=0,Ko=1/0,Qn=null,Sl=!1,Fu=null,xr=null,Cl=!1,Sr=null,El=0,ns=0,zu=null,kl=-1,bl=0;function xt(){return(_e&6)!==0?Ge():kl!==-1?kl:kl=Ge()}function Cr(e){return(e.mode&1)===0?1:(_e&2)!==0&&ut!==0?ut&-ut:Rg.transition!==null?(bl===0&&(bl=kd()),bl):(e=De,e!==0||(e=window.event,e=e===void 0?16:Ld(e.type)),e)}function an(e,t,o,s){if(50<ns)throw ns=0,zu=null,Error(i(185));Ri(e,o,s),((_e&2)===0||e!==ot)&&(e===ot&&((_e&2)===0&&(xl|=o),tt===4&&Er(e,ut)),Mt(e,s),o===1&&_e===0&&(t.mode&1)===0&&(Ko=Ge()+500,Js&&vr()))}function Mt(e,t){var o=e.callbackNode;Ry(e,t);var s=Is(e,e===ot?ut:0);if(s===0)o!==null&&Sd(o),e.callbackNode=null,e.callbackPriority=0;else if(t=s&-s,e.callbackPriority!==t){if(o!=null&&Sd(o),t===1)e.tag===0?bg(Ip.bind(null,e)):wf(Ip.bind(null,e)),Sg(function(){(_e&6)===0&&vr()}),o=null;else{switch(bd(s)){case 1:o=ya;break;case 4:o=Cd;break;case 16:o=Os;break;case 536870912:o=Ed;break;default:o=Os}o=Hp(o,Lp.bind(null,e))}e.callbackPriority=t,e.callbackNode=o}}function Lp(e,t){if(kl=-1,bl=0,(_e&6)!==0)throw Error(i(327));var o=e.callbackNode;if(qo()&&e.callbackNode!==o)return null;var s=Is(e,e===ot?ut:0);if(s===0)return null;if((s&30)!==0||(s&e.expiredLanes)!==0||t)t=Rl(e,s);else{t=s;var a=_e;_e|=2;var d=Dp();(ot!==e||ut!==t)&&(Qn=null,Ko=Ge()+500,no(e,t));do try{Qg();break}catch(k){Ap(e,k)}while(!0);nu(),wl.current=d,_e=a,Ze!==null?t=0:(ot=null,ut=0,t=tt)}if(t!==0){if(t===2&&(a=ga(e),a!==0&&(s=a,t=ju(e,a))),t===1)throw o=es,no(e,0),Er(e,s),Mt(e,Ge()),o;if(t===6)Er(e,s);else{if(a=e.current.alternate,(s&30)===0&&!Wg(a)&&(t=Rl(e,s),t===2&&(d=ga(e),d!==0&&(s=d,t=ju(e,d))),t===1))throw o=es,no(e,0),Er(e,s),Mt(e,Ge()),o;switch(e.finishedWork=a,e.finishedLanes=s,t){case 0:case 1:throw Error(i(345));case 2:ro(e,Tt,Qn);break;case 3:if(Er(e,s),(s&130023424)===s&&(t=Du+500-Ge(),10<t)){if(Is(e,0)!==0)break;if(a=e.suspendedLanes,(a&s)!==s){xt(),e.pingedLanes|=e.suspendedLanes&a;break}e.timeoutHandle=Va(ro.bind(null,e,Tt,Qn),t);break}ro(e,Tt,Qn);break;case 4:if(Er(e,s),(s&4194240)===s)break;for(t=e.eventTimes,a=-1;0<s;){var m=31-tn(s);d=1<<m,m=t[m],m>a&&(a=m),s&=~d}if(s=a,s=Ge()-s,s=(120>s?120:480>s?480:1080>s?1080:1920>s?1920:3e3>s?3e3:4320>s?4320:1960*$g(s/1960))-s,10<s){e.timeoutHandle=Va(ro.bind(null,e,Tt,Qn),s);break}ro(e,Tt,Qn);break;case 5:ro(e,Tt,Qn);break;default:throw Error(i(329))}}}return Mt(e,Ge()),e.callbackNode===o?Lp.bind(null,e):null}function ju(e,t){var o=ts;return e.current.memoizedState.isDehydrated&&(no(e,t).flags|=256),e=Rl(e,t),e!==2&&(t=Tt,Tt=o,t!==null&&Bu(t)),e}function Bu(e){Tt===null?Tt=e:Tt.push.apply(Tt,e)}function Wg(e){for(var t=e;;){if(t.flags&16384){var o=t.updateQueue;if(o!==null&&(o=o.stores,o!==null))for(var s=0;s<o.length;s++){var a=o[s],d=a.getSnapshot;a=a.value;try{if(!nn(d(),a))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&=~Au,t&=~xl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var o=31-tn(t),s=1<<o;e[o]=-1,t&=~s}}function Ip(e){if((_e&6)!==0)throw Error(i(327));qo();var t=Is(e,0);if((t&1)===0)return Mt(e,Ge()),null;var o=Rl(e,t);if(e.tag!==0&&o===2){var s=ga(e);s!==0&&(t=s,o=ju(e,s))}if(o===1)throw o=es,no(e,0),Er(e,t),Mt(e,Ge()),o;if(o===6)throw Error(i(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,ro(e,Tt,Qn),Mt(e,Ge()),null}function Uu(e,t){var o=_e;_e|=1;try{return e(t)}finally{_e=o,_e===0&&(Ko=Ge()+500,Js&&vr())}}function to(e){Sr!==null&&Sr.tag===0&&(_e&6)===0&&qo();var t=_e;_e|=1;var o=Kt.transition,s=De;try{if(Kt.transition=null,De=1,e)return e()}finally{De=s,Kt.transition=o,_e=t,(_e&6)===0&&vr()}}function Hu(){zt=Qo.current,Be(Qo)}function no(e,t){e.finishedWork=null,e.finishedLanes=0;var o=e.timeoutHandle;if(o!==-1&&(e.timeoutHandle=-1,xg(o)),Ze!==null)for(o=Ze.return;o!==null;){var s=o;switch(Xa(s),s.tag){case 1:s=s.type.childContextTypes,s!=null&&Xs();break;case 3:$o(),Be(bt),Be(ft),cu();break;case 5:au(s);break;case 4:$o();break;case 13:Be(We);break;case 19:Be(We);break;case 10:ru(s.type._context);break;case 22:case 23:Hu()}o=o.return}if(ot=e,Ze=e=kr(e.current,null),ut=zt=t,tt=0,es=null,Au=xl=eo=0,Tt=ts=null,Xr!==null){for(t=0;t<Xr.length;t++)if(o=Xr[t],s=o.interleaved,s!==null){o.interleaved=null;var a=s.next,d=o.pending;if(d!==null){var m=d.next;d.next=a,s.next=m}o.pending=s}Xr=null}return e}function Ap(e,t){do{var o=Ze;try{if(nu(),ul.current=pl,cl){for(var s=Ve.memoizedState;s!==null;){var a=s.queue;a!==null&&(a.pending=null),s=s.next}cl=!1}if(Jr=0,rt=et=Ve=null,qi=!1,Gi=0,Iu.current=null,o===null||o.return===null){tt=1,es=t,Ze=null;break}e:{var d=e,m=o.return,k=o,T=t;if(t=ut,k.flags|=32768,T!==null&&typeof T=="object"&&typeof T.then=="function"){var D=T,W=k,Q=W.tag;if((W.mode&1)===0&&(Q===0||Q===11||Q===15)){var $=W.alternate;$?(W.updateQueue=$.updateQueue,W.memoizedState=$.memoizedState,W.lanes=$.lanes):(W.updateQueue=null,W.memoizedState=null)}var oe=sp(m);if(oe!==null){oe.flags&=-257,lp(oe,m,k,d,t),oe.mode&1&&ip(d,D,t),t=oe,T=D;var le=t.updateQueue;if(le===null){var ue=new Set;ue.add(T),t.updateQueue=ue}else le.add(T);break e}else{if((t&1)===0){ip(d,D,t),$u();break e}T=Error(i(426))}}else if(He&&k.mode&1){var Ye=sp(m);if(Ye!==null){(Ye.flags&65536)===0&&(Ye.flags|=256),lp(Ye,m,k,d,t),eu(Wo(T,k));break e}}d=T=Wo(T,k),tt!==4&&(tt=2),ts===null?ts=[d]:ts.push(d),d=m;do{switch(d.tag){case 3:d.flags|=65536,t&=-t,d.lanes|=t;var I=rp(d,T,t);Of(d,I);break e;case 1:k=T;var _=d.type,A=d.stateNode;if((d.flags&128)===0&&(typeof _.getDerivedStateFromError=="function"||A!==null&&typeof A.componentDidCatch=="function"&&(xr===null||!xr.has(A)))){d.flags|=65536,t&=-t,d.lanes|=t;var G=op(d,k,t);Of(d,G);break e}}d=d.return}while(d!==null)}zp(o)}catch(de){t=de,Ze===o&&o!==null&&(Ze=o=o.return);continue}break}while(!0)}function Dp(){var e=wl.current;return wl.current=pl,e===null?pl:e}function $u(){(tt===0||tt===3||tt===2)&&(tt=4),ot===null||(eo&268435455)===0&&(xl&268435455)===0||Er(ot,ut)}function Rl(e,t){var o=_e;_e|=2;var s=Dp();(ot!==e||ut!==t)&&(Qn=null,no(e,t));do try{Vg();break}catch(a){Ap(e,a)}while(!0);if(nu(),_e=o,wl.current=s,Ze!==null)throw Error(i(261));return ot=null,ut=0,tt}function Vg(){for(;Ze!==null;)Fp(Ze)}function Qg(){for(;Ze!==null&&!yy();)Fp(Ze)}function Fp(e){var t=Up(e.alternate,e,zt);e.memoizedProps=e.pendingProps,t===null?zp(e):Ze=t,Iu.current=null}function zp(e){var t=e;do{var o=t.alternate;if(e=t.return,(t.flags&32768)===0){if(o=zg(o,t,zt),o!==null){Ze=o;return}}else{if(o=jg(o,t),o!==null){o.flags&=32767,Ze=o;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{tt=6,Ze=null;return}}if(t=t.sibling,t!==null){Ze=t;return}Ze=t=e}while(t!==null);tt===0&&(tt=5)}function ro(e,t,o){var s=De,a=Kt.transition;try{Kt.transition=null,De=1,Kg(e,t,o,s)}finally{Kt.transition=a,De=s}return null}function Kg(e,t,o,s){do qo();while(Sr!==null);if((_e&6)!==0)throw Error(i(327));o=e.finishedWork;var a=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(Py(e,d),e===ot&&(Ze=ot=null,ut=0),(o.subtreeFlags&2064)===0&&(o.flags&2064)===0||Cl||(Cl=!0,Hp(Os,function(){return qo(),null})),d=(o.flags&15990)!==0,(o.subtreeFlags&15990)!==0||d){d=Kt.transition,Kt.transition=null;var m=De;De=1;var k=_e;_e|=4,Iu.current=null,Ug(e,o),Tp(o,e),pg($a),Fs=!!Ha,$a=Ha=null,e.current=o,Hg(o),gy(),_e=k,De=m,Kt.transition=d}else e.current=o;if(Cl&&(Cl=!1,Sr=e,El=a),d=e.pendingLanes,d===0&&(xr=null),Sy(o.stateNode),Mt(e,Ge()),t!==null)for(s=e.onRecoverableError,o=0;o<t.length;o++)a=t[o],s(a.value,{componentStack:a.stack,digest:a.digest});if(Sl)throw Sl=!1,e=Fu,Fu=null,e;return(El&1)!==0&&e.tag!==0&&qo(),d=e.pendingLanes,(d&1)!==0?e===zu?ns++:(ns=0,zu=e):ns=0,vr(),null}function qo(){if(Sr!==null){var e=bd(El),t=Kt.transition,o=De;try{if(Kt.transition=null,De=16>e?16:e,Sr===null)var s=!1;else{if(e=Sr,Sr=null,El=0,(_e&6)!==0)throw Error(i(331));var a=_e;for(_e|=4,se=e.current;se!==null;){var d=se,m=d.child;if((se.flags&16)!==0){var k=d.deletions;if(k!==null){for(var T=0;T<k.length;T++){var D=k[T];for(se=D;se!==null;){var W=se;switch(W.tag){case 0:case 11:case 15:Ji(8,W,d)}var Q=W.child;if(Q!==null)Q.return=W,se=Q;else for(;se!==null;){W=se;var $=W.sibling,oe=W.return;if(Ep(W),W===D){se=null;break}if($!==null){$.return=oe,se=$;break}se=oe}}}var le=d.alternate;if(le!==null){var ue=le.child;if(ue!==null){le.child=null;do{var Ye=ue.sibling;ue.sibling=null,ue=Ye}while(ue!==null)}}se=d}}if((d.subtreeFlags&2064)!==0&&m!==null)m.return=d,se=m;else e:for(;se!==null;){if(d=se,(d.flags&2048)!==0)switch(d.tag){case 0:case 11:case 15:Ji(9,d,d.return)}var I=d.sibling;if(I!==null){I.return=d.return,se=I;break e}se=d.return}}var _=e.current;for(se=_;se!==null;){m=se;var A=m.child;if((m.subtreeFlags&2064)!==0&&A!==null)A.return=m,se=A;else e:for(m=_;se!==null;){if(k=se,(k.flags&2048)!==0)try{switch(k.tag){case 0:case 11:case 15:gl(9,k)}}catch(de){Qe(k,k.return,de)}if(k===m){se=null;break e}var G=k.sibling;if(G!==null){G.return=k.return,se=G;break e}se=k.return}}if(_e=a,vr(),bn&&typeof bn.onPostCommitFiberRoot=="function")try{bn.onPostCommitFiberRoot(Ns,e)}catch{}s=!0}return s}finally{De=o,Kt.transition=t}}return!1}function jp(e,t,o){t=Wo(o,t),t=rp(e,t,1),e=gr(e,t,1),t=xt(),e!==null&&(Ri(e,1,t),Mt(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 s=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof s.componentDidCatch=="function"&&(xr===null||!xr.has(s))){e=Wo(o,e),e=op(t,e,1),t=gr(t,e,1),e=xt(),t!==null&&(Ri(t,1,e),Mt(t,e));break}}t=t.return}}function qg(e,t,o){var s=e.pingCache;s!==null&&s.delete(t),t=xt(),e.pingedLanes|=e.suspendedLanes&o,ot===e&&(ut&o)===o&&(tt===4||tt===3&&(ut&130023424)===ut&&500>Ge()-Du?no(e,0):Au|=o),Mt(e,t)}function Bp(e,t){t===0&&((e.mode&1)===0?t=1:(t=Ls,Ls<<=1,(Ls&130023424)===0&&(Ls=4194304)));var o=xt();e=$n(e,t),e!==null&&(Ri(e,t,o),Mt(e,o))}function Gg(e){var t=e.memoizedState,o=0;t!==null&&(o=t.retryLane),Bp(e,o)}function Yg(e,t){var o=0;switch(e.tag){case 13:var s=e.stateNode,a=e.memoizedState;a!==null&&(o=a.retryLane);break;case 19:s=e.stateNode;break;default:throw Error(i(314))}s!==null&&s.delete(t),Bp(e,o)}var Up;Up=function(e,t,o){if(e!==null)if(e.memoizedProps!==t.pendingProps||bt.current)Pt=!0;else{if((e.lanes&o)===0&&(t.flags&128)===0)return Pt=!1,Fg(e,t,o);Pt=(e.flags&131072)!==0}else Pt=!1,He&&(t.flags&1048576)!==0&&xf(t,tl,t.index);switch(t.lanes=0,t.tag){case 2:var s=t.type;vl(e,t),e=t.pendingProps;var a=Do(t,ft.current);Ho(t,o),a=pu(null,t,s,e,a,o);var d=hu();return t.flags|=1,typeof a=="object"&&a!==null&&typeof a.render=="function"&&a.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Rt(s)?(d=!0,Zs(t)):d=!1,t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,su(t),a.updater=hl,t.stateNode=a,a._reactInternals=t,xu(t,s,e,o),t=ku(null,t,s,!0,d,o)):(t.tag=0,He&&d&&Ya(t),wt(null,t,a,o),t=t.child),t;case 16:s=t.elementType;e:{switch(vl(e,t),e=t.pendingProps,a=s._init,s=a(s._payload),t.type=s,a=t.tag=Zg(s),e=on(s,e),a){case 0:t=Eu(null,t,s,e,o);break e;case 1:t=pp(null,t,s,e,o);break e;case 11:t=ap(null,t,s,e,o);break e;case 14:t=up(null,t,s,on(s.type,e),o);break e}throw Error(i(306,s,""))}return t;case 0:return s=t.type,a=t.pendingProps,a=t.elementType===s?a:on(s,a),Eu(e,t,s,a,o);case 1:return s=t.type,a=t.pendingProps,a=t.elementType===s?a:on(s,a),pp(e,t,s,a,o);case 3:e:{if(hp(t),e===null)throw Error(i(387));s=t.pendingProps,d=t.memoizedState,a=d.element,Mf(e,t),ll(t,s,null,o);var m=t.memoizedState;if(s=m.element,d.isDehydrated)if(d={element:s,isDehydrated:!1,cache:m.cache,pendingSuspenseBoundaries:m.pendingSuspenseBoundaries,transitions:m.transitions},t.updateQueue.baseState=d,t.memoizedState=d,t.flags&256){a=Wo(Error(i(423)),t),t=mp(e,t,s,o,a);break e}else if(s!==a){a=Wo(Error(i(424)),t),t=mp(e,t,s,o,a);break e}else for(Ft=pr(t.stateNode.containerInfo.firstChild),Dt=t,He=!0,rn=null,o=Pf(t,null,s,o),t.child=o;o;)o.flags=o.flags&-3|4096,o=o.sibling;else{if(jo(),s===a){t=Vn(e,t,o);break e}wt(e,t,s,o)}t=t.child}return t;case 5:return _f(t),e===null&&Ja(t),s=t.type,a=t.pendingProps,d=e!==null?e.memoizedProps:null,m=a.children,Wa(s,a)?m=null:d!==null&&Wa(s,d)&&(t.flags|=32),fp(e,t),wt(e,t,m,o),t.child;case 6:return e===null&&Ja(t),null;case 13:return vp(e,t,o);case 4:return lu(t,t.stateNode.containerInfo),s=t.pendingProps,e===null?t.child=Bo(t,null,s,o):wt(e,t,s,o),t.child;case 11:return s=t.type,a=t.pendingProps,a=t.elementType===s?a:on(s,a),ap(e,t,s,a,o);case 7:return wt(e,t,t.pendingProps,o),t.child;case 8:return wt(e,t,t.pendingProps.children,o),t.child;case 12:return wt(e,t,t.pendingProps.children,o),t.child;case 10:e:{if(s=t.type._context,a=t.pendingProps,d=t.memoizedProps,m=a.value,ze(ol,s._currentValue),s._currentValue=m,d!==null)if(nn(d.value,m)){if(d.children===a.children&&!bt.current){t=Vn(e,t,o);break e}}else for(d=t.child,d!==null&&(d.return=t);d!==null;){var k=d.dependencies;if(k!==null){m=d.child;for(var T=k.firstContext;T!==null;){if(T.context===s){if(d.tag===1){T=Wn(-1,o&-o),T.tag=2;var D=d.updateQueue;if(D!==null){D=D.shared;var W=D.pending;W===null?T.next=T:(T.next=W.next,W.next=T),D.pending=T}}d.lanes|=o,T=d.alternate,T!==null&&(T.lanes|=o),ou(d.return,o,t),k.lanes|=o;break}T=T.next}}else if(d.tag===10)m=d.type===t.type?null:d.child;else if(d.tag===18){if(m=d.return,m===null)throw Error(i(341));m.lanes|=o,k=m.alternate,k!==null&&(k.lanes|=o),ou(m,o,t),m=d.sibling}else m=d.child;if(m!==null)m.return=d;else for(m=d;m!==null;){if(m===t){m=null;break}if(d=m.sibling,d!==null){d.return=m.return,m=d;break}m=m.return}d=m}wt(e,t,a.children,o),t=t.child}return t;case 9:return a=t.type,s=t.pendingProps.children,Ho(t,o),a=Vt(a),s=s(a),t.flags|=1,wt(e,t,s,o),t.child;case 14:return s=t.type,a=on(s,t.pendingProps),a=on(s.type,a),up(e,t,s,a,o);case 15:return cp(e,t,t.type,t.pendingProps,o);case 17:return s=t.type,a=t.pendingProps,a=t.elementType===s?a:on(s,a),vl(e,t),t.tag=1,Rt(s)?(e=!0,Zs(t)):e=!1,Ho(t,o),tp(t,s,a),xu(t,s,a,o),ku(null,t,s,!0,e,o);case 19:return gp(e,t,o);case 22:return dp(e,t,o)}throw Error(i(156,t.tag))};function Hp(e,t){return xd(e,t)}function Xg(e,t,o,s){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=s,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function qt(e,t,o,s){return new Xg(e,t,o,s)}function Wu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Zg(e){if(typeof e=="function")return Wu(e)?1:0;if(e!=null){if(e=e.$$typeof,e===X)return 11;if(e===xe)return 14}return 2}function kr(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 Pl(e,t,o,s,a,d){var m=2;if(s=e,typeof e=="function")Wu(e)&&(m=1);else if(typeof e=="string")m=5;else e:switch(e){case H:return oo(o.children,a,d,t);case q:m=8,a|=8;break;case Z:return e=qt(12,o,t,a|2),e.elementType=Z,e.lanes=d,e;case ye:return e=qt(13,o,t,a),e.elementType=ye,e.lanes=d,e;case ce:return e=qt(19,o,t,a),e.elementType=ce,e.lanes=d,e;case ie:return Tl(o,a,d,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case te:m=10;break e;case pe:m=9;break e;case X:m=11;break e;case xe:m=14;break e;case ae:m=16,s=null;break e}throw Error(i(130,e==null?e:typeof e,""))}return t=qt(m,o,t,a),t.elementType=e,t.type=s,t.lanes=d,t}function oo(e,t,o,s){return e=qt(7,e,s,t),e.lanes=o,e}function Tl(e,t,o,s){return e=qt(22,e,s,t),e.elementType=ie,e.lanes=o,e.stateNode={isHidden:!1},e}function Vu(e,t,o){return e=qt(6,e,null,t),e.lanes=o,e}function Qu(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 Jg(e,t,o,s,a){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=wa(0),this.expirationTimes=wa(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=wa(0),this.identifierPrefix=s,this.onRecoverableError=a,this.mutableSourceEagerHydrationData=null}function Ku(e,t,o,s,a,d,m,k,T){return e=new Jg(e,t,o,k,T),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:s,isDehydrated:o,cache:null,transitions:null,pendingSuspenseBoundaries:null},su(d),e}function e0(e,t,o){var s=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:U,key:s==null?null:""+s,children:e,containerInfo:t,implementation:o}}function $p(e){if(!e)return mr;e=e._reactInternals;e:{if(Qr(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(Rt(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(Rt(o))return yf(e,o,t)}return t}function Wp(e,t,o,s,a,d,m,k,T){return e=Ku(o,s,!0,e,a,d,m,k,T),e.context=$p(null),o=e.current,s=xt(),a=Cr(o),d=Wn(s,a),d.callback=t??null,gr(o,d,a),e.current.lanes=a,Ri(e,a,s),Mt(e,s),e}function Ml(e,t,o,s){var a=t.current,d=xt(),m=Cr(a);return o=$p(o),t.context===null?t.context=o:t.pendingContext=o,t=Wn(d,m),t.payload={element:e},s=s===void 0?null:s,s!==null&&(t.callback=s),e=gr(a,t,m),e!==null&&(an(e,a,m,d),sl(e,a,m)),m}function Ol(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 Vp(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var o=e.retryLane;e.retryLane=o!==0&&o<t?o:t}}function qu(e,t){Vp(e,t),(e=e.alternate)&&Vp(e,t)}function t0(){return null}var Qp=typeof reportError=="function"?reportError:function(e){console.error(e)};function Gu(e){this._internalRoot=e}Nl.prototype.render=Gu.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(i(409));Ml(e,t,null,null)},Nl.prototype.unmount=Gu.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;to(function(){Ml(null,e,null,null)}),t[jn]=null}};function Nl(e){this._internalRoot=e}Nl.prototype.unstable_scheduleHydration=function(e){if(e){var t=Td();e={blockedOn:null,target:e,priority:t};for(var o=0;o<cr.length&&t!==0&&t<cr[o].priority;o++);cr.splice(o,0,e),o===0&&Nd(e)}};function Yu(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function _l(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Kp(){}function n0(e,t,o,s,a){if(a){if(typeof s=="function"){var d=s;s=function(){var D=Ol(m);d.call(D)}}var m=Wp(t,s,e,0,null,!1,!1,"",Kp);return e._reactRootContainer=m,e[jn]=m.current,Bi(e.nodeType===8?e.parentNode:e),to(),m}for(;a=e.lastChild;)e.removeChild(a);if(typeof s=="function"){var k=s;s=function(){var D=Ol(T);k.call(D)}}var T=Ku(e,0,!1,null,null,!1,!1,"",Kp);return e._reactRootContainer=T,e[jn]=T.current,Bi(e.nodeType===8?e.parentNode:e),to(function(){Ml(t,T,o,s)}),T}function Ll(e,t,o,s,a){var d=o._reactRootContainer;if(d){var m=d;if(typeof a=="function"){var k=a;a=function(){var T=Ol(m);k.call(T)}}Ml(t,m,e,a)}else m=n0(o,t,e,a,s);return Ol(m)}Rd=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var o=bi(t.pendingLanes);o!==0&&(xa(t,o|1),Mt(t,Ge()),(_e&6)===0&&(Ko=Ge()+500,vr()))}break;case 13:to(function(){var s=$n(e,1);if(s!==null){var a=xt();an(s,e,1,a)}}),qu(e,1)}},Sa=function(e){if(e.tag===13){var t=$n(e,134217728);if(t!==null){var o=xt();an(t,e,134217728,o)}qu(e,134217728)}},Pd=function(e){if(e.tag===13){var t=Cr(e),o=$n(e,t);if(o!==null){var s=xt();an(o,e,t,s)}qu(e,t)}},Td=function(){return De},Md=function(e,t){var o=De;try{return De=e,t()}finally{De=o}},Ro=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 s=o[t];if(s!==e&&s.form===e.form){var a=Ys(s);if(!a)throw Error(i(90));Oe(s),Zt(s,a)}}}break;case"textarea":Cs(e,o);break;case"select":t=o.value,t!=null&&Ht(e,!!o.multiple,t,!1)}},Ie=Uu,Fe=to;var r0={usingClientEntryPoint:!1,Events:[$i,Io,Ys,Ps,ke,Uu]},rs={findFiberByHostInstance:Kr,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},o0={bundleType:rs.bundleType,version:rs.version,rendererPackageName:rs.rendererPackageName,rendererConfig:rs.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=gd(e),e===null?null:e.stateNode},findFiberByHostInstance:rs.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 Il=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Il.isDisabled&&Il.supportsFiber)try{Ns=Il.inject(o0),bn=Il}catch{}}return Ot.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=r0,Ot.createPortal=function(e,t){var o=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Yu(t))throw Error(i(200));return e0(e,t,null,o)},Ot.createRoot=function(e,t){if(!Yu(e))throw Error(i(299));var o=!1,s="",a=Qp;return t!=null&&(t.unstable_strictMode===!0&&(o=!0),t.identifierPrefix!==void 0&&(s=t.identifierPrefix),t.onRecoverableError!==void 0&&(a=t.onRecoverableError)),t=Ku(e,1,!1,null,null,o,!1,s,a),e[jn]=t.current,Bi(e.nodeType===8?e.parentNode:e),new Gu(t)},Ot.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=gd(t),e=e===null?null:e.stateNode,e},Ot.flushSync=function(e){return to(e)},Ot.hydrate=function(e,t,o){if(!_l(t))throw Error(i(200));return Ll(null,e,t,!0,o)},Ot.hydrateRoot=function(e,t,o){if(!Yu(e))throw Error(i(405));var s=o!=null&&o.hydratedSources||null,a=!1,d="",m=Qp;if(o!=null&&(o.unstable_strictMode===!0&&(a=!0),o.identifierPrefix!==void 0&&(d=o.identifierPrefix),o.onRecoverableError!==void 0&&(m=o.onRecoverableError)),t=Wp(t,null,e,1,o??null,a,!1,d,m),e[jn]=t.current,Bi(e),s)for(e=0;e<s.length;e++)o=s[e],a=o._getVersion,a=a(o._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[o,a]:t.mutableSourceEagerHydrationData.push(o,a);return new Nl(t)},Ot.render=function(e,t,o){if(!_l(t))throw Error(i(200));return Ll(null,e,t,!1,o)},Ot.unmountComponentAtNode=function(e){if(!_l(e))throw Error(i(40));return e._reactRootContainer?(to(function(){Ll(null,null,e,!1,function(){e._reactRootContainer=null,e[jn]=null})}),!0):!1},Ot.unstable_batchedUpdates=Uu,Ot.unstable_renderSubtreeIntoContainer=function(e,t,o,s){if(!_l(o))throw Error(i(200));if(e==null||e._reactInternals===void 0)throw Error(i(38));return Ll(e,t,o,!1,s)},Ot.version="18.3.1-next-f1338f8080-20240426",Ot}var nh;function fm(){if(nh)return ec.exports;nh=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(),ec.exports=f0(),ec.exports}var rh;function p0(){if(rh)return Dl;rh=1;var n=fm();return Dl.createRoot=n.createRoot,Dl.hydrateRoot=n.hydrateRoot,Dl}var WC=p0();/**
41
41
  * react-router v7.13.0
42
42
  *
43
43
  * Copyright (c) Remix Software Inc.
@@ -46,9 +46,9 @@ 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 oh="popstate";function h0(n={}){function r(l,u){let{pathname:c,search:f,hash:p}=l.location;return yc("",{pathname:c,search:f,hash:p},u.state&&u.state.usr||null,u.state&&u.state.key||"default")}function i(l,u){return typeof u=="string"?u:cs(u)}return y0(r,i,null,n)}function $e(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 m0(){return Math.random().toString(36).substring(2,10)}function ih(n,r){return{usr:n.state,key:n.key,idx:r}}function yc(n,r,i=null,l){return{pathname:typeof n=="string"?n:n.pathname,search:"",hash:"",...typeof r=="string"?hi(r):r,state:i,key:r&&r.key||l||m0()}}function cs({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 hi(n){let r={};if(n){let i=n.indexOf("#");i>=0&&(r.hash=n.substring(i),n=n.substring(0,i));let l=n.indexOf("?");l>=0&&(r.search=n.substring(l),n=n.substring(0,l)),n&&(r.pathname=n)}return r}function y0(n,r,i,l={}){let{window:u=document.defaultView,v5Compat:c=!1}=l,f=u.history,p="POP",h=null,y=w();y==null&&(y=0,f.replaceState({...f.state,idx:y},""));function w(){return(f.state||{idx:null}).idx}function x(){p="POP";let k=w(),P=k==null?null:k-y;y=k,h&&h({action:p,location:S.location,delta:P})}function C(k,P){p="PUSH";let T=yc(S.location,k,P);y=w()+1;let R=ih(T,y),L=S.createHref(T);try{f.pushState(R,"",L)}catch(z){if(z instanceof DOMException&&z.name==="DataCloneError")throw z;u.location.assign(L)}c&&h&&h({action:p,location:S.location,delta:1})}function v(k,P){p="REPLACE";let T=yc(S.location,k,P);y=w();let R=ih(T,y),L=S.createHref(T);f.replaceState(R,"",L),c&&h&&h({action:p,location:S.location,delta:0})}function O(k){return v0(k)}let S={get action(){return p},get location(){return n(u,f)},listen(k){if(h)throw new Error("A history only accepts one active listener");return u.addEventListener(oh,x),h=k,()=>{u.removeEventListener(oh,x),h=null}},createHref(k){return r(u,k)},createURL:O,encodeLocation(k){let P=O(k);return{pathname:P.pathname,search:P.search,hash:P.hash}},push:C,replace:v,go(k){return f.go(k)}};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),$e(i,"No window.location.(origin|href) available to create URL");let l=typeof n=="string"?n:cs(n);return l=l.replace(/ $/,"%20"),!r&&l.startsWith("//")&&(l=i+l),new URL(l,i)}function pm(n,r,i="/"){return g0(n,r,i,!1)}function g0(n,r,i,l){let u=typeof r=="string"?hi(r):r,c=tr(u.pathname||"/",i);if(c==null)return null;let f=hm(n);w0(f);let p=null;for(let h=0;p==null&&h<f.length;++h){let y=O0(c);p=M0(f[h],y,l)}return p}function hm(n,r=[],i=[],l="",u=!1){let c=(f,p,h=u,y)=>{let w={relativePath:y===void 0?f.path||"":y,caseSensitive:f.caseSensitive===!0,childrenIndex:p,route:f};if(w.relativePath.startsWith("/")){if(!w.relativePath.startsWith(l)&&h)return;$e(w.relativePath.startsWith(l),`Absolute route path "${w.relativePath}" nested under path "${l}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),w.relativePath=w.relativePath.slice(l.length)}let x=Jn([l,w.relativePath]),C=i.concat(w);f.children&&f.children.length>0&&($e(f.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${x}".`),hm(f.children,r,C,x,h)),!(f.path==null&&!f.index)&&r.push({path:x,score:R0(x,f.index),routesMeta:C})};return n.forEach((f,p)=>{var h;if(f.path===""||!((h=f.path)!=null&&h.includes("?")))c(f,p);else for(let y of mm(f.path))c(f,p,!0,y)}),r}function mm(n){let r=n.split("/");if(r.length===0)return[];let[i,...l]=r,u=i.endsWith("?"),c=i.replace(/\?$/,"");if(l.length===0)return u?[c,""]:[c];let f=mm(l.join("/")),p=[];return p.push(...f.map(h=>h===""?c:[c,h].join("/"))),u&&p.push(...f),p.map(h=>n.startsWith("/")&&h===""?"/":h)}function w0(n){n.sort((r,i)=>r.score!==i.score?i.score-r.score:P0(r.routesMeta.map(l=>l.childrenIndex),i.routesMeta.map(l=>l.childrenIndex)))}var x0=/^:[\w-]+$/,S0=3,k0=2,C0=1,E0=10,b0=-2,sh=n=>n==="*";function R0(n,r){let i=n.split("/"),l=i.length;return i.some(sh)&&(l+=b0),r&&(l+=k0),i.filter(u=>!sh(u)).reduce((u,c)=>u+(x0.test(c)?S0:c===""?C0:E0),l)}function P0(n,r){return n.length===r.length&&n.slice(0,-1).every((l,u)=>l===r[u])?n[n.length-1]-r[r.length-1]:0}function M0(n,r,i=!1){let{routesMeta:l}=n,u={},c="/",f=[];for(let p=0;p<l.length;++p){let h=l[p],y=p===l.length-1,w=c==="/"?r:r.slice(c.length)||"/",x=Xl({path:h.relativePath,caseSensitive:h.caseSensitive,end:y},w),C=h.route;if(!x&&y&&i&&!l[l.length-1].route.index&&(x=Xl({path:h.relativePath,caseSensitive:h.caseSensitive,end:!1},w)),!x)return null;Object.assign(u,x.params),f.push({params:u,pathname:Jn([c,x.pathname]),pathnameBase:I0(Jn([c,x.pathnameBase])),route:C}),x.pathnameBase!=="/"&&(c=Jn([c,x.pathnameBase]))}return f}function Xl(n,r){typeof n=="string"&&(n={path:n,caseSensitive:!1,end:!0});let[i,l]=T0(n.path,n.caseSensitive,n.end),u=r.match(i);if(!u)return null;let c=u[0],f=c.replace(/(.)\/+$/,"$1"),p=u.slice(1);return{params:l.reduce((y,{paramName:w,isOptional:x},C)=>{if(w==="*"){let O=p[C]||"";f=c.slice(0,c.length-O.length).replace(/(.)\/+$/,"$1")}const v=p[C];return x&&!v?y[w]=void 0:y[w]=(v||"").replace(/%2F/g,"/"),y},{}),pathname:c,pathnameBase:f,pattern:n}}function T0(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 l=[],u="^"+n.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(f,p,h)=>(l.push({paramName:p,isOptional:h!=null}),h?"/?([^\\/]+)?":"/([^\\/]+)")).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return n.endsWith("*")?(l.push({paramName:"*"}),u+=n==="*"||n==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):i?u+="\\/*$":n!==""&&n!=="/"&&(u+="(?:(?=\\/|$))"),[new RegExp(u,r?void 0:"i"),l]}function O0(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 tr(n,r){if(r==="/")return n;if(!n.toLowerCase().startsWith(r.toLowerCase()))return null;let i=r.endsWith("/")?r.length-1:r.length,l=n.charAt(i);return l&&l!=="/"?null:n.slice(i)||"/"}var N0=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function _0(n,r="/"){let{pathname:i,search:l="",hash:u=""}=typeof n=="string"?hi(n):n,c;return i?(i=i.replace(/\/\/+/g,"/"),i.startsWith("/")?c=lh(i.substring(1),"/"):c=lh(i,r)):c=r,{pathname:c,search:A0(l),hash:D0(u)}}function lh(n,r){let i=r.replace(/\/+$/,"").split("/");return n.split("/").forEach(u=>{u===".."?i.length>1&&i.pop():u!=="."&&i.push(u)}),i.length>1?i.join("/"):"/"}function rc(n,r,i,l){return`Cannot include a '${n}' character in a manually specified \`to.${r}\` field [${JSON.stringify(l)}]. 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 L0(n){return n.filter((r,i)=>i===0||r.route.path&&r.route.path.length>0)}function Qc(n){let r=L0(n);return r.map((i,l)=>l===r.length-1?i.pathname:i.pathnameBase)}function Kc(n,r,i,l=!1){let u;typeof n=="string"?u=hi(n):(u={...n},$e(!u.pathname||!u.pathname.includes("?"),rc("?","pathname","search",u)),$e(!u.pathname||!u.pathname.includes("#"),rc("#","pathname","hash",u)),$e(!u.search||!u.search.includes("#"),rc("#","search","hash",u)));let c=n===""||u.pathname==="",f=c?"/":u.pathname,p;if(f==null)p=i;else{let x=r.length-1;if(!l&&f.startsWith("..")){let C=f.split("/");for(;C[0]==="..";)C.shift(),x-=1;u.pathname=C.join("/")}p=x>=0?r[x]:"/"}let h=_0(u,p),y=f&&f!=="/"&&f.endsWith("/"),w=(c||f===".")&&i.endsWith("/");return!h.pathname.endsWith("/")&&(y||w)&&(h.pathname+="/"),h}var Jn=n=>n.join("/").replace(/\/\/+/g,"/"),I0=n=>n.replace(/\/+$/,"").replace(/^\/*/,"/"),A0=n=>!n||n==="?"?"":n.startsWith("?")?n:"?"+n,D0=n=>!n||n==="#"?"":n.startsWith("#")?n:"#"+n,F0=class{constructor(n,r,i,l=!1){this.status=n,this.statusText=r||"",this.internal=l,i instanceof Error?(this.data=i.toString(),this.error=i):this.data=i}};function z0(n){return n!=null&&typeof n.status=="number"&&typeof n.statusText=="string"&&typeof n.internal=="boolean"&&"data"in n}function j0(n){return n.map(r=>r.route.path).filter(Boolean).join("/").replace(/\/\/*/g,"/")||"/"}var ym=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function vm(n,r){let i=n;if(typeof i!="string"||!N0.test(i))return{absoluteURL:void 0,isExternal:!1,to:i};let l=i,u=!1;if(ym)try{let c=new URL(window.location.href),f=i.startsWith("//")?new URL(c.protocol+i):new URL(i),p=tr(f.pathname,r);f.origin===c.origin&&p!=null?i=p+f.search+f.hash:u=!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:l,isExternal:u,to:i}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var gm=["POST","PUT","PATCH","DELETE"];new Set(gm);var B0=["GET",...gm];new Set(B0);var mi=g.createContext(null);mi.displayName="DataRouter";var sa=g.createContext(null);sa.displayName="DataRouterState";var U0=g.createContext(!1),wm=g.createContext({isTransitioning:!1});wm.displayName="ViewTransition";var H0=g.createContext(new Map);H0.displayName="Fetchers";var $0=g.createContext(null);$0.displayName="Await";var Ut=g.createContext(null);Ut.displayName="Navigation";var gs=g.createContext(null);gs.displayName="Location";var yn=g.createContext({outlet:null,matches:[],isDataRoute:!1});yn.displayName="Route";var qc=g.createContext(null);qc.displayName="RouteError";var xm="REACT_ROUTER_ERROR",V0="REDIRECT",W0="ROUTE_ERROR_RESPONSE";function Q0(n){if(n.startsWith(`${xm}:${V0}:{`))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 K0(n){if(n.startsWith(`${xm}:${W0}:{`))try{let r=JSON.parse(n.slice(40));if(typeof r=="object"&&r&&typeof r.status=="number"&&typeof r.statusText=="string")return new F0(r.status,r.statusText,r.data)}catch{}}function q0(n,{relative:r}={}){$e(yi(),"useHref() may be used only in the context of a <Router> component.");let{basename:i,navigator:l}=g.useContext(Ut),{hash:u,pathname:c,search:f}=ws(n,{relative:r}),p=c;return i!=="/"&&(p=c==="/"?i:Jn([i,c])),l.createHref({pathname:p,search:f,hash:u})}function yi(){return g.useContext(gs)!=null}function Hr(){return $e(yi(),"useLocation() may be used only in the context of a <Router> component."),g.useContext(gs).location}var Sm="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function km(n){g.useContext(Ut).static||g.useLayoutEffect(n)}function Cm(){let{isDataRoute:n}=g.useContext(yn);return n?l1():Y0()}function Y0(){$e(yi(),"useNavigate() may be used only in the context of a <Router> component.");let n=g.useContext(mi),{basename:r,navigator:i}=g.useContext(Ut),{matches:l}=g.useContext(yn),{pathname:u}=Hr(),c=JSON.stringify(Qc(l)),f=g.useRef(!1);return km(()=>{f.current=!0}),g.useCallback((h,y={})=>{if(pn(f.current,Sm),!f.current)return;if(typeof h=="number"){i.go(h);return}let w=Kc(h,JSON.parse(c),u,y.relative==="path");n==null&&r!=="/"&&(w.pathname=w.pathname==="/"?r:Jn([r,w.pathname])),(y.replace?i.replace:i.push)(w,y.state,y)},[r,i,c,u,n])}g.createContext(null);function Wk(){let{matches:n}=g.useContext(yn),r=n[n.length-1];return r?r.params:{}}function ws(n,{relative:r}={}){let{matches:i}=g.useContext(yn),{pathname:l}=Hr(),u=JSON.stringify(Qc(i));return g.useMemo(()=>Kc(n,JSON.parse(u),l,r==="path"),[n,u,l,r])}function G0(n,r){return Em(n,r)}function Em(n,r,i,l,u){var T;$e(yi(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:c}=g.useContext(Ut),{matches:f}=g.useContext(yn),p=f[f.length-1],h=p?p.params:{},y=p?p.pathname:"/",w=p?p.pathnameBase:"/",x=p&&p.route;{let R=x&&x.path||"";Rm(y,!x||R.endsWith("*")||R.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${y}" (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 oh="popstate";function h0(n={}){function r(l,u){let{pathname:c,search:f,hash:p}=l.location;return vc("",{pathname:c,search:f,hash:p},u.state&&u.state.usr||null,u.state&&u.state.key||"default")}function i(l,u){return typeof u=="string"?u:cs(u)}return v0(r,i,null,n)}function $e(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 m0(){return Math.random().toString(36).substring(2,10)}function ih(n,r){return{usr:n.state,key:n.key,idx:r}}function vc(n,r,i=null,l){return{pathname:typeof n=="string"?n:n.pathname,search:"",hash:"",...typeof r=="string"?hi(r):r,state:i,key:r&&r.key||l||m0()}}function cs({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 hi(n){let r={};if(n){let i=n.indexOf("#");i>=0&&(r.hash=n.substring(i),n=n.substring(0,i));let l=n.indexOf("?");l>=0&&(r.search=n.substring(l),n=n.substring(0,l)),n&&(r.pathname=n)}return r}function v0(n,r,i,l={}){let{window:u=document.defaultView,v5Compat:c=!1}=l,f=u.history,p="POP",h=null,v=w();v==null&&(v=0,f.replaceState({...f.state,idx:v},""));function w(){return(f.state||{idx:null}).idx}function x(){p="POP";let C=w(),P=C==null?null:C-v;v=C,h&&h({action:p,location:S.location,delta:P})}function E(C,P){p="PUSH";let M=vc(S.location,C,P);v=w()+1;let R=ih(M,v),L=S.createHref(M);try{f.pushState(R,"",L)}catch(z){if(z instanceof DOMException&&z.name==="DataCloneError")throw z;u.location.assign(L)}c&&h&&h({action:p,location:S.location,delta:1})}function y(C,P){p="REPLACE";let M=vc(S.location,C,P);v=w();let R=ih(M,v),L=S.createHref(M);f.replaceState(R,"",L),c&&h&&h({action:p,location:S.location,delta:0})}function O(C){return y0(C)}let S={get action(){return p},get location(){return n(u,f)},listen(C){if(h)throw new Error("A history only accepts one active listener");return u.addEventListener(oh,x),h=C,()=>{u.removeEventListener(oh,x),h=null}},createHref(C){return r(u,C)},createURL:O,encodeLocation(C){let P=O(C);return{pathname:P.pathname,search:P.search,hash:P.hash}},push:E,replace:y,go(C){return f.go(C)}};return S}function y0(n,r=!1){let i="http://localhost";typeof window<"u"&&(i=window.location.origin!=="null"?window.location.origin:window.location.href),$e(i,"No window.location.(origin|href) available to create URL");let l=typeof n=="string"?n:cs(n);return l=l.replace(/ $/,"%20"),!r&&l.startsWith("//")&&(l=i+l),new URL(l,i)}function pm(n,r,i="/"){return g0(n,r,i,!1)}function g0(n,r,i,l){let u=typeof r=="string"?hi(r):r,c=tr(u.pathname||"/",i);if(c==null)return null;let f=hm(n);w0(f);let p=null;for(let h=0;p==null&&h<f.length;++h){let v=O0(c);p=T0(f[h],v,l)}return p}function hm(n,r=[],i=[],l="",u=!1){let c=(f,p,h=u,v)=>{let w={relativePath:v===void 0?f.path||"":v,caseSensitive:f.caseSensitive===!0,childrenIndex:p,route:f};if(w.relativePath.startsWith("/")){if(!w.relativePath.startsWith(l)&&h)return;$e(w.relativePath.startsWith(l),`Absolute route path "${w.relativePath}" nested under path "${l}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),w.relativePath=w.relativePath.slice(l.length)}let x=Jn([l,w.relativePath]),E=i.concat(w);f.children&&f.children.length>0&&($e(f.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${x}".`),hm(f.children,r,E,x,h)),!(f.path==null&&!f.index)&&r.push({path:x,score:R0(x,f.index),routesMeta:E})};return n.forEach((f,p)=>{var h;if(f.path===""||!((h=f.path)!=null&&h.includes("?")))c(f,p);else for(let v of mm(f.path))c(f,p,!0,v)}),r}function mm(n){let r=n.split("/");if(r.length===0)return[];let[i,...l]=r,u=i.endsWith("?"),c=i.replace(/\?$/,"");if(l.length===0)return u?[c,""]:[c];let f=mm(l.join("/")),p=[];return p.push(...f.map(h=>h===""?c:[c,h].join("/"))),u&&p.push(...f),p.map(h=>n.startsWith("/")&&h===""?"/":h)}function w0(n){n.sort((r,i)=>r.score!==i.score?i.score-r.score:P0(r.routesMeta.map(l=>l.childrenIndex),i.routesMeta.map(l=>l.childrenIndex)))}var x0=/^:[\w-]+$/,S0=3,C0=2,E0=1,k0=10,b0=-2,sh=n=>n==="*";function R0(n,r){let i=n.split("/"),l=i.length;return i.some(sh)&&(l+=b0),r&&(l+=C0),i.filter(u=>!sh(u)).reduce((u,c)=>u+(x0.test(c)?S0:c===""?E0:k0),l)}function P0(n,r){return n.length===r.length&&n.slice(0,-1).every((l,u)=>l===r[u])?n[n.length-1]-r[r.length-1]:0}function T0(n,r,i=!1){let{routesMeta:l}=n,u={},c="/",f=[];for(let p=0;p<l.length;++p){let h=l[p],v=p===l.length-1,w=c==="/"?r:r.slice(c.length)||"/",x=Xl({path:h.relativePath,caseSensitive:h.caseSensitive,end:v},w),E=h.route;if(!x&&v&&i&&!l[l.length-1].route.index&&(x=Xl({path:h.relativePath,caseSensitive:h.caseSensitive,end:!1},w)),!x)return null;Object.assign(u,x.params),f.push({params:u,pathname:Jn([c,x.pathname]),pathnameBase:I0(Jn([c,x.pathnameBase])),route:E}),x.pathnameBase!=="/"&&(c=Jn([c,x.pathnameBase]))}return f}function Xl(n,r){typeof n=="string"&&(n={path:n,caseSensitive:!1,end:!0});let[i,l]=M0(n.path,n.caseSensitive,n.end),u=r.match(i);if(!u)return null;let c=u[0],f=c.replace(/(.)\/+$/,"$1"),p=u.slice(1);return{params:l.reduce((v,{paramName:w,isOptional:x},E)=>{if(w==="*"){let O=p[E]||"";f=c.slice(0,c.length-O.length).replace(/(.)\/+$/,"$1")}const y=p[E];return x&&!y?v[w]=void 0:v[w]=(y||"").replace(/%2F/g,"/"),v},{}),pathname:c,pathnameBase:f,pattern:n}}function M0(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 l=[],u="^"+n.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(f,p,h)=>(l.push({paramName:p,isOptional:h!=null}),h?"/?([^\\/]+)?":"/([^\\/]+)")).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return n.endsWith("*")?(l.push({paramName:"*"}),u+=n==="*"||n==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):i?u+="\\/*$":n!==""&&n!=="/"&&(u+="(?:(?=\\/|$))"),[new RegExp(u,r?void 0:"i"),l]}function O0(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 tr(n,r){if(r==="/")return n;if(!n.toLowerCase().startsWith(r.toLowerCase()))return null;let i=r.endsWith("/")?r.length-1:r.length,l=n.charAt(i);return l&&l!=="/"?null:n.slice(i)||"/"}var N0=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function _0(n,r="/"){let{pathname:i,search:l="",hash:u=""}=typeof n=="string"?hi(n):n,c;return i?(i=i.replace(/\/\/+/g,"/"),i.startsWith("/")?c=lh(i.substring(1),"/"):c=lh(i,r)):c=r,{pathname:c,search:A0(l),hash:D0(u)}}function lh(n,r){let i=r.replace(/\/+$/,"").split("/");return n.split("/").forEach(u=>{u===".."?i.length>1&&i.pop():u!=="."&&i.push(u)}),i.length>1?i.join("/"):"/"}function rc(n,r,i,l){return`Cannot include a '${n}' character in a manually specified \`to.${r}\` field [${JSON.stringify(l)}]. 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 L0(n){return n.filter((r,i)=>i===0||r.route.path&&r.route.path.length>0)}function Qc(n){let r=L0(n);return r.map((i,l)=>l===r.length-1?i.pathname:i.pathnameBase)}function Kc(n,r,i,l=!1){let u;typeof n=="string"?u=hi(n):(u={...n},$e(!u.pathname||!u.pathname.includes("?"),rc("?","pathname","search",u)),$e(!u.pathname||!u.pathname.includes("#"),rc("#","pathname","hash",u)),$e(!u.search||!u.search.includes("#"),rc("#","search","hash",u)));let c=n===""||u.pathname==="",f=c?"/":u.pathname,p;if(f==null)p=i;else{let x=r.length-1;if(!l&&f.startsWith("..")){let E=f.split("/");for(;E[0]==="..";)E.shift(),x-=1;u.pathname=E.join("/")}p=x>=0?r[x]:"/"}let h=_0(u,p),v=f&&f!=="/"&&f.endsWith("/"),w=(c||f===".")&&i.endsWith("/");return!h.pathname.endsWith("/")&&(v||w)&&(h.pathname+="/"),h}var Jn=n=>n.join("/").replace(/\/\/+/g,"/"),I0=n=>n.replace(/\/+$/,"").replace(/^\/*/,"/"),A0=n=>!n||n==="?"?"":n.startsWith("?")?n:"?"+n,D0=n=>!n||n==="#"?"":n.startsWith("#")?n:"#"+n,F0=class{constructor(n,r,i,l=!1){this.status=n,this.statusText=r||"",this.internal=l,i instanceof Error?(this.data=i.toString(),this.error=i):this.data=i}};function z0(n){return n!=null&&typeof n.status=="number"&&typeof n.statusText=="string"&&typeof n.internal=="boolean"&&"data"in n}function j0(n){return n.map(r=>r.route.path).filter(Boolean).join("/").replace(/\/\/*/g,"/")||"/"}var vm=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function ym(n,r){let i=n;if(typeof i!="string"||!N0.test(i))return{absoluteURL:void 0,isExternal:!1,to:i};let l=i,u=!1;if(vm)try{let c=new URL(window.location.href),f=i.startsWith("//")?new URL(c.protocol+i):new URL(i),p=tr(f.pathname,r);f.origin===c.origin&&p!=null?i=p+f.search+f.hash:u=!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:l,isExternal:u,to:i}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var gm=["POST","PUT","PATCH","DELETE"];new Set(gm);var B0=["GET",...gm];new Set(B0);var mi=g.createContext(null);mi.displayName="DataRouter";var sa=g.createContext(null);sa.displayName="DataRouterState";var U0=g.createContext(!1),wm=g.createContext({isTransitioning:!1});wm.displayName="ViewTransition";var H0=g.createContext(new Map);H0.displayName="Fetchers";var $0=g.createContext(null);$0.displayName="Await";var Ut=g.createContext(null);Ut.displayName="Navigation";var gs=g.createContext(null);gs.displayName="Location";var vn=g.createContext({outlet:null,matches:[],isDataRoute:!1});vn.displayName="Route";var qc=g.createContext(null);qc.displayName="RouteError";var xm="REACT_ROUTER_ERROR",W0="REDIRECT",V0="ROUTE_ERROR_RESPONSE";function Q0(n){if(n.startsWith(`${xm}:${W0}:{`))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 K0(n){if(n.startsWith(`${xm}:${V0}:{`))try{let r=JSON.parse(n.slice(40));if(typeof r=="object"&&r&&typeof r.status=="number"&&typeof r.statusText=="string")return new F0(r.status,r.statusText,r.data)}catch{}}function q0(n,{relative:r}={}){$e(vi(),"useHref() may be used only in the context of a <Router> component.");let{basename:i,navigator:l}=g.useContext(Ut),{hash:u,pathname:c,search:f}=ws(n,{relative:r}),p=c;return i!=="/"&&(p=c==="/"?i:Jn([i,c])),l.createHref({pathname:p,search:f,hash:u})}function vi(){return g.useContext(gs)!=null}function Hr(){return $e(vi(),"useLocation() may be used only in the context of a <Router> component."),g.useContext(gs).location}var Sm="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function Cm(n){g.useContext(Ut).static||g.useLayoutEffect(n)}function Em(){let{isDataRoute:n}=g.useContext(vn);return n?l1():G0()}function G0(){$e(vi(),"useNavigate() may be used only in the context of a <Router> component.");let n=g.useContext(mi),{basename:r,navigator:i}=g.useContext(Ut),{matches:l}=g.useContext(vn),{pathname:u}=Hr(),c=JSON.stringify(Qc(l)),f=g.useRef(!1);return Cm(()=>{f.current=!0}),g.useCallback((h,v={})=>{if(pn(f.current,Sm),!f.current)return;if(typeof h=="number"){i.go(h);return}let w=Kc(h,JSON.parse(c),u,v.relative==="path");n==null&&r!=="/"&&(w.pathname=w.pathname==="/"?r:Jn([r,w.pathname])),(v.replace?i.replace:i.push)(w,v.state,v)},[r,i,c,u,n])}g.createContext(null);function VC(){let{matches:n}=g.useContext(vn),r=n[n.length-1];return r?r.params:{}}function ws(n,{relative:r}={}){let{matches:i}=g.useContext(vn),{pathname:l}=Hr(),u=JSON.stringify(Qc(i));return g.useMemo(()=>Kc(n,JSON.parse(u),l,r==="path"),[n,u,l,r])}function Y0(n,r){return km(n,r)}function km(n,r,i,l,u){var M;$e(vi(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:c}=g.useContext(Ut),{matches:f}=g.useContext(vn),p=f[f.length-1],h=p?p.params:{},v=p?p.pathname:"/",w=p?p.pathnameBase:"/",x=p&&p.route;{let R=x&&x.path||"";Rm(v,!x||R.endsWith("*")||R.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${v}" (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.
50
50
 
51
- Please change the parent <Route path="${R}"> to <Route path="${R==="/"?"*":`${R}/*`}">.`)}let C=Hr(),v;if(r){let R=typeof r=="string"?hi(r):r;$e(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.`),v=R}else v=C;let O=v.pathname||"/",S=O;if(w!=="/"){let R=w.replace(/^\//,"").split("/");S="/"+O.replace(/^\//,"").split("/").slice(R.length).join("/")}let k=pm(n,{pathname:S});pn(x||k!=null,`No routes matched location "${v.pathname}${v.search}${v.hash}" `),pn(k==null||k[k.length-1].route.element!==void 0||k[k.length-1].route.Component!==void 0||k[k.length-1].route.lazy!==void 0,`Matched leaf route at location "${v.pathname}${v.search}${v.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(k&&k.map(R=>Object.assign({},R,{params:Object.assign({},h,R.params),pathname:Jn([w,c.encodeLocation?c.encodeLocation(R.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:R.pathname]),pathnameBase:R.pathnameBase==="/"?w:Jn([w,c.encodeLocation?c.encodeLocation(R.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:R.pathnameBase])})),f,i,l,u);return r&&P?g.createElement(gs.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...v},navigationType:"POP"}},P):P}function X0(){let n=s1(),r=z0(n)?`${n.status} ${n.statusText}`:n instanceof Error?n.message:JSON.stringify(n),i=n instanceof Error?n.stack:null,l="rgba(200,200,200, 0.5)",u={padding:"0.5rem",backgroundColor:l},c={padding:"2px 4px",backgroundColor:l},f=null;return console.error("Error handled by React Router default ErrorBoundary:",n),f=g.createElement(g.Fragment,null,g.createElement("p",null,"💿 Hey developer 👋"),g.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",g.createElement("code",{style:c},"ErrorBoundary")," or"," ",g.createElement("code",{style:c},"errorElement")," prop on your route.")),g.createElement(g.Fragment,null,g.createElement("h2",null,"Unexpected Application Error!"),g.createElement("h3",{style:{fontStyle:"italic"}},r),i?g.createElement("pre",{style:u},i):null,f)}var Z0=g.createElement(X0,null),bm=class extends g.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=K0(n.digest);i&&(n=i)}let r=n!==void 0?g.createElement(yn.Provider,{value:this.props.routeContext},g.createElement(qc.Provider,{value:n,children:this.props.component})):this.props.children;return this.context?g.createElement(J0,{error:n},r):r}};bm.contextType=U0;var oc=new WeakMap;function J0({children:n,error:r}){let{basename:i}=g.useContext(Ut);if(typeof r=="object"&&r&&"digest"in r&&typeof r.digest=="string"){let l=Q0(r.digest);if(l){let u=oc.get(r);if(u)throw u;let c=vm(l.location,i);if(ym&&!oc.get(r))if(c.isExternal||l.reloadDocument)window.location.href=c.absoluteURL||c.to;else{const f=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(c.to,{replace:l.replace}));throw oc.set(r,f),f}return g.createElement("meta",{httpEquiv:"refresh",content:`0;url=${c.absoluteURL||c.to}`})}}return n}function e1({routeContext:n,match:r,children:i}){let l=g.useContext(mi);return l&&l.static&&l.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(l.staticContext._deepestRenderedBoundaryId=r.route.id),g.createElement(yn.Provider,{value:n},i)}function t1(n,r=[],i=null,l=null,u=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);$e(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:C,errors:v}=i,O=x.route.loader&&!C.hasOwnProperty(x.route.id)&&(!v||v[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 y=i&&l?(w,x)=>{var C,v;l(w,{location:i.location,params:((v=(C=i.matches)==null?void 0:C[0])==null?void 0:v.params)??{},unstable_pattern:j0(i.matches),errorInfo:x})}:void 0;return c.reduceRight((w,x,C)=>{let v,O=!1,S=null,k=null;i&&(v=f&&x.route.id?f[x.route.id]:void 0,S=x.route.errorElement||Z0,p&&(h<0&&C===0?(Rm("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),O=!0,k=null):h===C&&(O=!0,k=x.route.hydrateFallbackElement||null)));let P=r.concat(c.slice(0,C+1)),T=()=>{let R;return v?R=S:O?R=k:x.route.Component?R=g.createElement(x.route.Component,null):x.route.element?R=x.route.element:R=w,g.createElement(e1,{match:x,routeContext:{outlet:w,matches:P,isDataRoute:i!=null},children:R})};return i&&(x.route.ErrorBoundary||x.route.errorElement||C===0)?g.createElement(bm,{location:i.location,revalidation:i.revalidation,component:S,error:v,children:T(),routeContext:{outlet:null,matches:P,isDataRoute:!0},onError:y}):T()},null)}function Yc(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=g.useContext(mi);return $e(r,Yc(n)),r}function r1(n){let r=g.useContext(sa);return $e(r,Yc(n)),r}function o1(n){let r=g.useContext(yn);return $e(r,Yc(n)),r}function Gc(n){let r=o1(n),i=r.matches[r.matches.length-1];return $e(i.route.id,`${n} can only be used on routes that contain a unique "id"`),i.route.id}function i1(){return Gc("useRouteId")}function s1(){var l;let n=g.useContext(qc),r=r1("useRouteError"),i=Gc("useRouteError");return n!==void 0?n:(l=r.errors)==null?void 0:l[i]}function l1(){let{router:n}=n1("useNavigate"),r=Gc("useNavigate"),i=g.useRef(!1);return km(()=>{i.current=!0}),g.useCallback(async(u,c={})=>{pn(i.current,Sm),i.current&&(typeof u=="number"?await n.navigate(u):await n.navigate(u,{fromRouteId:r,...c}))},[n,r])}var ah={};function Rm(n,r,i){!r&&!ah[n]&&(ah[n]=!0,pn(!1,i))}g.memo(a1);function a1({routes:n,future:r,state:i,onError:l}){return Em(n,void 0,i,l,r)}function Qk({to:n,replace:r,state:i,relative:l}){$e(yi(),"<Navigate> may be used only in the context of a <Router> component.");let{static:u}=g.useContext(Ut);pn(!u,"<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}=g.useContext(yn),{pathname:f}=Hr(),p=Cm(),h=Kc(n,Qc(c),f,l==="path"),y=JSON.stringify(h);return g.useEffect(()=>{p(JSON.parse(y),{replace:r,state:i,relative:l})},[p,y,l,r,i]),null}function u1(n){$e(!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 c1({basename:n="/",children:r=null,location:i,navigationType:l="POP",navigator:u,static:c=!1,unstable_useTransitions:f}){$e(!yi(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let p=n.replace(/^\/*/,"/"),h=g.useMemo(()=>({basename:p,navigator:u,static:c,unstable_useTransitions:f,future:{}}),[p,u,c,f]);typeof i=="string"&&(i=hi(i));let{pathname:y="/",search:w="",hash:x="",state:C=null,key:v="default"}=i,O=g.useMemo(()=>{let S=tr(y,p);return S==null?null:{location:{pathname:S,search:w,hash:x,state:C,key:v},navigationType:l}},[p,y,w,x,C,v,l]);return pn(O!=null,`<Router basename="${p}"> is not able to match the URL "${y}${w}${x}" because it does not start with the basename, so the <Router> won't render anything.`),O==null?null:g.createElement(Ut.Provider,{value:h},g.createElement(gs.Provider,{children:r,value:O}))}function Kk({children:n,location:r}){return G0(vc(n),r)}function vc(n,r=[]){let i=[];return g.Children.forEach(n,(l,u)=>{if(!g.isValidElement(l))return;let c=[...r,u];if(l.type===g.Fragment){i.push.apply(i,vc(l.props.children,c));return}$e(l.type===u1,`[${typeof l.type=="string"?l.type:l.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),$e(!l.props.index||!l.props.children,"An index route cannot have child routes.");let f={id:l.props.id||c.join("-"),caseSensitive:l.props.caseSensitive,element:l.props.element,Component:l.props.Component,index:l.props.index,path:l.props.path,middleware:l.props.middleware,loader:l.props.loader,action:l.props.action,hydrateFallbackElement:l.props.hydrateFallbackElement,HydrateFallback:l.props.HydrateFallback,errorElement:l.props.errorElement,ErrorBoundary:l.props.ErrorBoundary,hasErrorBoundary:l.props.hasErrorBoundary===!0||l.props.ErrorBoundary!=null||l.props.errorElement!=null,shouldRevalidate:l.props.shouldRevalidate,handle:l.props.handle,lazy:l.props.lazy};l.props.children&&(f.children=vc(l.props.children,c)),i.push(f)}),i}var Wl="get",Ql="application/x-www-form-urlencoded";function la(n){return typeof HTMLElement<"u"&&n instanceof HTMLElement}function d1(n){return la(n)&&n.tagName.toLowerCase()==="button"}function f1(n){return la(n)&&n.tagName.toLowerCase()==="form"}function p1(n){return la(n)&&n.tagName.toLowerCase()==="input"}function h1(n){return!!(n.metaKey||n.altKey||n.ctrlKey||n.shiftKey)}function m1(n,r){return n.button===0&&(!r||r==="_self")&&!h1(n)}var Fl=null;function y1(){if(Fl===null)try{new FormData(document.createElement("form"),0),Fl=!1}catch{Fl=!0}return Fl}var v1=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function ic(n){return n!=null&&!v1.has(n)?(pn(!1,`"${n}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Ql}"`),null):n}function g1(n,r){let i,l,u,c,f;if(f1(n)){let p=n.getAttribute("action");l=p?tr(p,r):null,i=n.getAttribute("method")||Wl,u=ic(n.getAttribute("enctype"))||Ql,c=new FormData(n)}else if(d1(n)||p1(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(l=h?tr(h,r):null,i=n.getAttribute("formmethod")||p.getAttribute("method")||Wl,u=ic(n.getAttribute("formenctype"))||ic(p.getAttribute("enctype"))||Ql,c=new FormData(p,n),!y1()){let{name:y,type:w,value:x}=n;if(w==="image"){let C=y?`${y}.`:"";c.append(`${C}x`,"0"),c.append(`${C}y`,"0")}else y&&c.append(y,x)}}else{if(la(n))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');i=Wl,l=null,u=Ql,f=n}return c&&u==="text/plain"&&(f=c,c=void 0),{action:l,method:i.toLowerCase(),encType:u,formData:c,body:f}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function Xc(n,r){if(n===!1||n===null||typeof n>"u")throw new Error(r)}function w1(n,r,i,l){let u=typeof n=="string"?new URL(n,typeof window>"u"?"server://singlefetch/":window.location.origin):n;return i?u.pathname.endsWith("/")?u.pathname=`${u.pathname}_.${l}`:u.pathname=`${u.pathname}.${l}`:u.pathname==="/"?u.pathname=`_root.${l}`:r&&tr(u.pathname,r)==="/"?u.pathname=`${r.replace(/\/$/,"")}/_root.${l}`:u.pathname=`${u.pathname.replace(/\/$/,"")}.${l}`,u}async function x1(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 S1(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 k1(n,r,i){let l=await Promise.all(n.map(async u=>{let c=r.routes[u.route.id];if(c){let f=await x1(c,i);return f.links?f.links():[]}return[]}));return R1(l.flat(1).filter(S1).filter(u=>u.rel==="stylesheet"||u.rel==="preload").map(u=>u.rel==="stylesheet"?{...u,rel:"prefetch",as:"style"}:{...u,rel:"prefetch"}))}function uh(n,r,i,l,u,c){let f=(h,y)=>i[y]?h.route.id!==i[y].route.id:!0,p=(h,y)=>{var w;return i[y].pathname!==h.pathname||((w=i[y].route.path)==null?void 0:w.endsWith("*"))&&i[y].params["*"]!==h.params["*"]};return c==="assets"?r.filter((h,y)=>f(h,y)||p(h,y)):c==="data"?r.filter((h,y)=>{var x;let w=l.routes[h.route.id];if(!w||!w.hasLoader)return!1;if(f(h,y)||p(h,y))return!0;if(h.route.shouldRevalidate){let C=h.route.shouldRevalidate({currentUrl:new URL(u.pathname+u.search+u.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 C=="boolean")return C}return!0}):[]}function C1(n,r,{includeHydrateFallback:i}={}){return E1(n.map(l=>{let u=r.routes[l.route.id];if(!u)return[];let c=[u.module];return u.clientActionModule&&(c=c.concat(u.clientActionModule)),u.clientLoaderModule&&(c=c.concat(u.clientLoaderModule)),i&&u.hydrateFallbackModule&&(c=c.concat(u.hydrateFallbackModule)),u.imports&&(c=c.concat(u.imports)),c}).flat(1))}function E1(n){return[...new Set(n)]}function b1(n){let r={},i=Object.keys(n).sort();for(let l of i)r[l]=n[l];return r}function R1(n,r){let i=new Set;return new Set(r),n.reduce((l,u)=>{let c=JSON.stringify(b1(u));return i.has(c)||(i.add(c),l.push({key:c,link:u})),l},[])}function Pm(){let n=g.useContext(mi);return Xc(n,"You must render this element inside a <DataRouterContext.Provider> element"),n}function P1(){let n=g.useContext(sa);return Xc(n,"You must render this element inside a <DataRouterStateContext.Provider> element"),n}var Zc=g.createContext(void 0);Zc.displayName="FrameworkContext";function Mm(){let n=g.useContext(Zc);return Xc(n,"You must render this element inside a <HydratedRouter> element"),n}function M1(n,r){let i=g.useContext(Zc),[l,u]=g.useState(!1),[c,f]=g.useState(!1),{onFocus:p,onBlur:h,onMouseEnter:y,onMouseLeave:w,onTouchStart:x}=r,C=g.useRef(null);g.useEffect(()=>{if(n==="render"&&f(!0),n==="viewport"){let S=P=>{P.forEach(T=>{f(T.isIntersecting)})},k=new IntersectionObserver(S,{threshold:.5});return C.current&&k.observe(C.current),()=>{k.disconnect()}}},[n]),g.useEffect(()=>{if(l){let S=setTimeout(()=>{f(!0)},100);return()=>{clearTimeout(S)}}},[l]);let v=()=>{u(!0)},O=()=>{u(!1),f(!1)};return i?n!=="intent"?[c,C,{}]:[c,C,{onFocus:is(p,v),onBlur:is(h,O),onMouseEnter:is(y,v),onMouseLeave:is(w,O),onTouchStart:is(x,v)}]:[!1,C,{}]}function is(n,r){return i=>{n&&n(i),i.defaultPrevented||r(i)}}function T1({page:n,...r}){let{router:i}=Pm(),l=g.useMemo(()=>pm(i.routes,n,i.basename),[i.routes,n,i.basename]);return l?g.createElement(N1,{page:n,matches:l,...r}):null}function O1(n){let{manifest:r,routeModules:i}=Mm(),[l,u]=g.useState([]);return g.useEffect(()=>{let c=!1;return k1(n,r,i).then(f=>{c||u(f)}),()=>{c=!0}},[n,r,i]),l}function N1({page:n,matches:r,...i}){let l=Hr(),{future:u,manifest:c,routeModules:f}=Mm(),{basename:p}=Pm(),{loaderData:h,matches:y}=P1(),w=g.useMemo(()=>uh(n,r,y,c,l,"data"),[n,r,y,c,l]),x=g.useMemo(()=>uh(n,r,y,c,l,"assets"),[n,r,y,c,l]),C=g.useMemo(()=>{if(n===l.pathname+l.search+l.hash)return[];let S=new Set,k=!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?k=!0:S.add(T.route.id))}),S.size===0)return[];let P=w1(n,p,u.unstable_trailingSlashAwareDataRequests,"data");return k&&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,u.unstable_trailingSlashAwareDataRequests,h,l,c,w,r,n,f]),v=g.useMemo(()=>C1(x,c),[x,c]),O=O1(x);return g.createElement(g.Fragment,null,C.map(S=>g.createElement("link",{key:S,rel:"prefetch",as:"fetch",href:S,...i})),v.map(S=>g.createElement("link",{key:S,rel:"modulepreload",href:S,...i})),O.map(({key:S,link:k})=>g.createElement("link",{key:S,nonce:i.nonce,...k,crossOrigin:k.crossOrigin??i.crossOrigin})))}function _1(...n){return r=>{n.forEach(i=>{typeof i=="function"?i(r):i!=null&&(i.current=r)})}}var L1=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{L1&&(window.__reactRouterVersion="7.13.0")}catch{}function qk({basename:n,children:r,unstable_useTransitions:i,window:l}){let u=g.useRef();u.current==null&&(u.current=h0({window:l,v5Compat:!0}));let c=u.current,[f,p]=g.useState({action:c.action,location:c.location}),h=g.useCallback(y=>{i===!1?p(y):g.startTransition(()=>p(y))},[i]);return g.useLayoutEffect(()=>c.listen(h),[c,h]),g.createElement(c1,{basename:n,children:r,location:f.location,navigationType:f.action,navigator:c,unstable_useTransitions:i})}var Tm=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Om=g.forwardRef(function({onClick:r,discover:i="render",prefetch:l="none",relative:u,reloadDocument:c,replace:f,state:p,target:h,to:y,preventScrollReset:w,viewTransition:x,unstable_defaultShouldRevalidate:C,...v},O){let{basename:S,unstable_useTransitions:k}=g.useContext(Ut),P=typeof y=="string"&&Tm.test(y),T=vm(y,S);y=T.to;let R=q0(y,{relative:u}),[L,z,U]=M1(l,v),H=F1(y,{replace:f,state:p,target:h,preventScrollReset:w,relative:u,viewTransition:x,unstable_defaultShouldRevalidate:C,unstable_useTransitions:k});function q(te){r&&r(te),te.defaultPrevented||H(te)}let Z=g.createElement("a",{...v,...U,href:T.absoluteURL||R,onClick:T.isExternal||c?r:q,ref:_1(O,z),target:h,"data-discover":!P&&i==="render"?"true":void 0});return L&&!P?g.createElement(g.Fragment,null,Z,g.createElement(T1,{page:R})):Z});Om.displayName="Link";var I1=g.forwardRef(function({"aria-current":r="page",caseSensitive:i=!1,className:l="",end:u=!1,style:c,to:f,viewTransition:p,children:h,...y},w){let x=ws(f,{relative:y.relative}),C=Hr(),v=g.useContext(sa),{navigator:O,basename:S}=g.useContext(Ut),k=v!=null&&H1(x)&&p===!0,P=O.encodeLocation?O.encodeLocation(x).pathname:x.pathname,T=C.pathname,R=v&&v.navigation&&v.navigation.location?v.navigation.location.pathname:null;i||(T=T.toLowerCase(),R=R?R.toLowerCase():null,P=P.toLowerCase()),R&&S&&(R=tr(R,S)||R);const L=P!=="/"&&P.endsWith("/")?P.length-1:P.length;let z=T===P||!u&&T.startsWith(P)&&T.charAt(L)==="/",U=R!=null&&(R===P||!u&&R.startsWith(P)&&R.charAt(P.length)==="/"),H={isActive:z,isPending:U,isTransitioning:k},q=z?r:void 0,Z;typeof l=="function"?Z=l(H):Z=[l,z?"active":null,U?"pending":null,k?"transitioning":null].filter(Boolean).join(" ");let te=typeof c=="function"?c(H):c;return g.createElement(Om,{...y,"aria-current":q,className:Z,ref:w,style:te,to:f,viewTransition:p},typeof h=="function"?h(H):h)});I1.displayName="NavLink";var A1=g.forwardRef(({discover:n="render",fetcherKey:r,navigate:i,reloadDocument:l,replace:u,state:c,method:f=Wl,action:p,onSubmit:h,relative:y,preventScrollReset:w,viewTransition:x,unstable_defaultShouldRevalidate:C,...v},O)=>{let{unstable_useTransitions:S}=g.useContext(Ut),k=B1(),P=U1(p,{relative:y}),T=f.toLowerCase()==="get"?"get":"post",R=typeof p=="string"&&Tm.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,q=()=>k(U||z.currentTarget,{fetcherKey:r,method:H,navigate:i,replace:u,state:c,relative:y,preventScrollReset:w,viewTransition:x,unstable_defaultShouldRevalidate:C});S&&i!==!1?g.startTransition(()=>q()):q()};return g.createElement("form",{ref:O,method:T,action:P,onSubmit:l?h:L,...v,"data-discover":!R&&n==="render"?"true":void 0})});A1.displayName="Form";function D1(n){return`${n} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Nm(n){let r=g.useContext(mi);return $e(r,D1(n)),r}function F1(n,{target:r,replace:i,state:l,preventScrollReset:u,relative:c,viewTransition:f,unstable_defaultShouldRevalidate:p,unstable_useTransitions:h}={}){let y=Cm(),w=Hr(),x=ws(n,{relative:c});return g.useCallback(C=>{if(m1(C,r)){C.preventDefault();let v=i!==void 0?i:cs(w)===cs(x),O=()=>y(n,{replace:v,state:l,preventScrollReset:u,relative:c,viewTransition:f,unstable_defaultShouldRevalidate:p});h?g.startTransition(()=>O()):O()}},[w,y,x,i,l,r,n,u,c,f,p,h])}var z1=0,j1=()=>`__${String(++z1)}__`;function B1(){let{router:n}=Nm("useSubmit"),{basename:r}=g.useContext(Ut),i=i1(),l=n.fetch,u=n.navigate;return g.useCallback(async(c,f={})=>{let{action:p,method:h,encType:y,formData:w,body:x}=g1(c,r);if(f.navigate===!1){let C=f.fetcherKey||j1();await l(C,i,f.action||p,{unstable_defaultShouldRevalidate:f.unstable_defaultShouldRevalidate,preventScrollReset:f.preventScrollReset,formData:w,body:x,formMethod:f.method||h,formEncType:f.encType||y,flushSync:f.flushSync})}else await u(f.action||p,{unstable_defaultShouldRevalidate:f.unstable_defaultShouldRevalidate,preventScrollReset:f.preventScrollReset,formData:w,body:x,formMethod:f.method||h,formEncType:f.encType||y,replace:f.replace,state:f.state,fromRouteId:i,flushSync:f.flushSync,viewTransition:f.viewTransition})},[l,u,r,i])}function U1(n,{relative:r}={}){let{basename:i}=g.useContext(Ut),l=g.useContext(yn);$e(l,"useFormAction must be used inside a RouteContext");let[u]=l.matches.slice(-1),c={...ws(n||".",{relative:r})},f=Hr();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===".")&&u.route.index&&(c.search=c.search?c.search.replace(/^\?/,"?index&"):"?index"),i!=="/"&&(c.pathname=c.pathname==="/"?i:Jn([i,c.pathname])),cs(c)}function H1(n,{relative:r}={}){let i=g.useContext(wm);$e(i!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:l}=Nm("useViewTransitionState"),u=ws(n,{relative:r});if(!i.isTransitioning)return!1;let c=tr(i.currentLocation.pathname,l)||i.currentLocation.pathname,f=tr(i.nextLocation.pathname,l)||i.nextLocation.pathname;return Xl(u.pathname,f)!=null||Xl(u.pathname,c)!=null}var xs=fm();const _m=cm(xs);var vi=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(){}},$1={setTimeout:(n,r)=>setTimeout(n,r),clearTimeout:n=>clearTimeout(n),setInterval:(n,r)=>setInterval(n,r),clearInterval:n=>clearInterval(n)},Or,Vc,Jh,V1=(Jh=class{constructor(){me(this,Or,$1);me(this,Vc,!1)}setTimeoutProvider(n){J(this,Or,n)}setTimeout(n,r){return b(this,Or).setTimeout(n,r)}clearTimeout(n){b(this,Or).clearTimeout(n)}setInterval(n,r){return b(this,Or).setInterval(n,r)}clearInterval(n){b(this,Or).clearInterval(n)}},Or=new WeakMap,Vc=new WeakMap,Jh),io=new V1;function W1(n){setTimeout(n,0)}var yo=typeof window>"u"||"Deno"in globalThis;function kt(){}function Q1(n,r){return typeof n=="function"?n(r):n}function gc(n){return typeof n=="number"&&n>=0&&n!==1/0}function Lm(n,r){return Math.max(n+(r||0)-Date.now(),0)}function jr(n,r){return typeof n=="function"?n(r):n}function Gt(n,r){return typeof n=="function"?n(r):n}function ch(n,r){const{type:i="all",exact:l,fetchStatus:u,predicate:c,queryKey:f,stale:p}=n;if(f){if(l){if(r.queryHash!==Jc(f,r.options))return!1}else if(!ds(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||u&&u!==r.state.fetchStatus||c&&!c(r))}function dh(n,r){const{exact:i,status:l,predicate:u,mutationKey:c}=n;if(c){if(!r.options.mutationKey)return!1;if(i){if(vo(r.options.mutationKey)!==vo(c))return!1}else if(!ds(r.options.mutationKey,c))return!1}return!(l&&r.state.status!==l||u&&!u(r))}function Jc(n,r){return((r==null?void 0:r.queryKeyHashFn)||vo)(n)}function vo(n){return JSON.stringify(n,(r,i)=>wc(i)?Object.keys(i).sort().reduce((l,u)=>(l[u]=i[u],l),{}):i)}function ds(n,r){return n===r?!0:typeof n!=typeof r?!1:n&&r&&typeof n=="object"&&typeof r=="object"?Object.keys(r).every(i=>ds(n[i],r[i])):!1}var K1=Object.prototype.hasOwnProperty;function Im(n,r,i=0){if(n===r)return n;if(i>500)return r;const l=fh(n)&&fh(r);if(!l&&!(wc(n)&&wc(r)))return r;const c=(l?n:Object.keys(n)).length,f=l?r:Object.keys(r),p=f.length,h=l?new Array(p):{};let y=0;for(let w=0;w<p;w++){const x=l?w:f[w],C=n[x],v=r[x];if(C===v){h[x]=C,(l?w<c:K1.call(n,x))&&y++;continue}if(C===null||v===null||typeof C!="object"||typeof v!="object"){h[x]=v;continue}const O=Im(C,v,i+1);h[x]=O,O===C&&y++}return c===p&&y===c?n:h}function Zl(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 fh(n){return Array.isArray(n)&&n.length===Object.keys(n).length}function wc(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 q1(n){return new Promise(r=>{io.setTimeout(r,n)})}function xc(n,r,i){return typeof i.structuralSharing=="function"?i.structuralSharing(n,r):i.structuralSharing!==!1?Im(n,r):r}function Y1(n,r,i=0){const l=[...n,r];return i&&l.length>i?l.slice(1):l}function G1(n,r,i=0){const l=[r,...n];return i&&l.length>i?l.slice(0,-1):l}var ed=Symbol();function Am(n,r){return!n.queryFn&&(r!=null&&r.initialPromise)?()=>r.initialPromise:!n.queryFn||n.queryFn===ed?()=>Promise.reject(new Error(`Missing queryFn: '${n.queryHash}'`)):n.queryFn}function td(n,r){return typeof n=="function"?n(...r):!!n}function X1(n,r,i){let l=!1,u;return Object.defineProperty(n,"signal",{enumerable:!0,get:()=>(u??(u=r()),l||(l=!0,u.aborted?i():u.addEventListener("abort",i,{once:!0})),u)}),n}var so,Nr,ti,em,Z1=(em=class extends vi{constructor(){super();me(this,so);me(this,Nr);me(this,ti);J(this,ti,r=>{if(!yo&&window.addEventListener){const i=()=>r();return window.addEventListener("visibilitychange",i,!1),()=>{window.removeEventListener("visibilitychange",i)}}})}onSubscribe(){b(this,Nr)||this.setEventListener(b(this,ti))}onUnsubscribe(){var r;this.hasListeners()||((r=b(this,Nr))==null||r.call(this),J(this,Nr,void 0))}setEventListener(r){var i;J(this,ti,r),(i=b(this,Nr))==null||i.call(this),J(this,Nr,r(l=>{typeof l=="boolean"?this.setFocused(l):this.onFocus()}))}setFocused(r){b(this,so)!==r&&(J(this,so,r),this.onFocus())}onFocus(){const r=this.isFocused();this.listeners.forEach(i=>{i(r)})}isFocused(){var r;return typeof b(this,so)=="boolean"?b(this,so):((r=globalThis.document)==null?void 0:r.visibilityState)!=="hidden"}},so=new WeakMap,Nr=new WeakMap,ti=new WeakMap,em),nd=new Z1;function Sc(){let n,r;const i=new Promise((u,c)=>{n=u,r=c});i.status="pending",i.catch(()=>{});function l(u){Object.assign(i,u),delete i.resolve,delete i.reject}return i.resolve=u=>{l({status:"fulfilled",value:u}),n(u)},i.reject=u=>{l({status:"rejected",reason:u}),r(u)},i}var J1=W1;function ew(){let n=[],r=0,i=p=>{p()},l=p=>{p()},u=J1;const c=p=>{r?n.push(p):u(()=>{i(p)})},f=()=>{const p=n;n=[],p.length&&u(()=>{l(()=>{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=>{l=p},setScheduler:p=>{u=p}}}var nt=ew(),ni,_r,ri,tm,tw=(tm=class extends vi{constructor(){super();me(this,ni,!0);me(this,_r);me(this,ri);J(this,ri,r=>{if(!yo&&window.addEventListener){const i=()=>r(!0),l=()=>r(!1);return window.addEventListener("online",i,!1),window.addEventListener("offline",l,!1),()=>{window.removeEventListener("online",i),window.removeEventListener("offline",l)}}})}onSubscribe(){b(this,_r)||this.setEventListener(b(this,ri))}onUnsubscribe(){var r;this.hasListeners()||((r=b(this,_r))==null||r.call(this),J(this,_r,void 0))}setEventListener(r){var i;J(this,ri,r),(i=b(this,_r))==null||i.call(this),J(this,_r,r(this.setOnline.bind(this)))}setOnline(r){b(this,ni)!==r&&(J(this,ni,r),this.listeners.forEach(l=>{l(r)}))}isOnline(){return b(this,ni)}},ni=new WeakMap,_r=new WeakMap,ri=new WeakMap,tm),Jl=new tw;function nw(n){return Math.min(1e3*2**n,3e4)}function Dm(n){return(n??"online")==="online"?Jl.isOnline():!0}var kc=class extends Error{constructor(n){super("CancelledError"),this.revert=n==null?void 0:n.revert,this.silent=n==null?void 0:n.silent}};function Fm(n){let r=!1,i=0,l;const u=Sc(),c=()=>u.status!=="pending",f=S=>{var k;if(!c()){const P=new kc(S);C(P),(k=n.onCancel)==null||k.call(n,P)}},p=()=>{r=!0},h=()=>{r=!1},y=()=>nd.isFocused()&&(n.networkMode==="always"||Jl.isOnline())&&n.canRun(),w=()=>Dm(n.networkMode)&&n.canRun(),x=S=>{c()||(l==null||l(),u.resolve(S))},C=S=>{c()||(l==null||l(),u.reject(S))},v=()=>new Promise(S=>{var k;l=P=>{(c()||y())&&S(P)},(k=n.onPause)==null||k.call(n)}).then(()=>{var S;l=void 0,c()||(S=n.onContinue)==null||S.call(n)}),O=()=>{if(c())return;let S;const k=i===0?n.initialPromise:void 0;try{S=k??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){C(P);return}i++,(U=n.onFail)==null||U.call(n,i,P),q1(L).then(()=>y()?void 0:v()).then(()=>{r?C(P):O()})})};return{promise:u,status:()=>u.status,cancel:f,continue:()=>(l==null||l(),u),cancelRetry:p,continueRetry:h,canStart:w,start:()=>(w()?O():v().then(O),u)}}var lo,nm,zm=(nm=class{constructor(){me(this,lo)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),gc(this.gcTime)&&J(this,lo,io.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(n){this.gcTime=Math.max(this.gcTime||0,n??(yo?1/0:300*1e3))}clearGcTimeout(){b(this,lo)&&(io.clearTimeout(b(this,lo)),J(this,lo,void 0))}},lo=new WeakMap,nm),ao,oi,Yt,uo,st,ps,co,dn,qn,rm,rw=(rm=class extends zm{constructor(r){super();me(this,dn);me(this,ao);me(this,oi);me(this,Yt);me(this,uo);me(this,st);me(this,ps);me(this,co);J(this,co,!1),J(this,ps,r.defaultOptions),this.setOptions(r.options),this.observers=[],J(this,uo,r.client),J(this,Yt,b(this,uo).getQueryCache()),this.queryKey=r.queryKey,this.queryHash=r.queryHash,J(this,ao,mh(this.options)),this.state=r.state??b(this,ao),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var r;return(r=b(this,st))==null?void 0:r.promise}setOptions(r){if(this.options={...b(this,ps),...r},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const i=mh(this.options);i.data!==void 0&&(this.setState(hh(i.data,i.dataUpdatedAt)),J(this,ao,i))}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&b(this,Yt).remove(this)}setData(r,i){const l=xc(this.state.data,r,this.options);return Pe(this,dn,qn).call(this,{data:l,type:"success",dataUpdatedAt:i==null?void 0:i.updatedAt,manual:i==null?void 0:i.manual}),l}setState(r,i){Pe(this,dn,qn).call(this,{type:"setState",state:r,setStateOptions:i})}cancel(r){var l,u;const i=(l=b(this,st))==null?void 0:l.promise;return(u=b(this,st))==null||u.cancel(r),i?i.then(kt).catch(kt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(b(this,ao))}isActive(){return this.observers.some(r=>Gt(r.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===ed||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(r=>jr(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:!Lm(this.state.dataUpdatedAt,r)}onFocus(){var i;const r=this.observers.find(l=>l.shouldFetchOnWindowFocus());r==null||r.refetch({cancelRefetch:!1}),(i=b(this,st))==null||i.continue()}onOnline(){var i;const r=this.observers.find(l=>l.shouldFetchOnReconnect());r==null||r.refetch({cancelRefetch:!1}),(i=b(this,st))==null||i.continue()}addObserver(r){this.observers.includes(r)||(this.observers.push(r),this.clearGcTimeout(),b(this,Yt).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,st)&&(b(this,co)?b(this,st).cancel({revert:!0}):b(this,st).cancelRetry()),this.scheduleGc()),b(this,Yt).notify({type:"observerRemoved",query:this,observer:r}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Pe(this,dn,qn).call(this,{type:"invalidate"})}async fetch(r,i){var h,y,w,x,C,v,O,S,k,P,T,R;if(this.state.fetchStatus!=="idle"&&((h=b(this,st))==null?void 0:h.status())!=="rejected"){if(this.state.data!==void 0&&(i!=null&&i.cancelRefetch))this.cancel({silent:!0});else if(b(this,st))return b(this,st).continueRetry(),b(this,st).promise}if(r&&this.setOptions(r),!this.options.queryFn){const L=this.observers.find(z=>z.options.queryFn);L&&this.setOptions(L.options)}const l=new AbortController,u=L=>{Object.defineProperty(L,"signal",{enumerable:!0,get:()=>(J(this,co,!0),l.signal)})},c=()=>{const L=Am(this.options,i),U=(()=>{const H={client:b(this,uo),queryKey:this.queryKey,meta:this.meta};return u(H),H})();return J(this,co,!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,uo),state:this.state,fetchFn:c};return u(L),L})();(y=this.options.behavior)==null||y.onFetch(p,this),J(this,oi,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((w=p.fetchOptions)==null?void 0:w.meta))&&Pe(this,dn,qn).call(this,{type:"fetch",meta:(x=p.fetchOptions)==null?void 0:x.meta}),J(this,st,Fm({initialPromise:i==null?void 0:i.initialPromise,fn:p.fetchFn,onCancel:L=>{L instanceof kc&&L.revert&&this.setState({...b(this,oi),fetchStatus:"idle"}),l.abort()},onFail:(L,z)=>{Pe(this,dn,qn).call(this,{type:"failed",failureCount:L,error:z})},onPause:()=>{Pe(this,dn,qn).call(this,{type:"pause"})},onContinue:()=>{Pe(this,dn,qn).call(this,{type:"continue"})},retry:p.options.retry,retryDelay:p.options.retryDelay,networkMode:p.options.networkMode,canRun:()=>!0}));try{const L=await b(this,st).start();if(L===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(L),(v=(C=b(this,Yt).config).onSuccess)==null||v.call(C,L,this),(S=(O=b(this,Yt).config).onSettled)==null||S.call(O,L,this.state.error,this),L}catch(L){if(L instanceof kc){if(L.silent)return b(this,st).promise;if(L.revert){if(this.state.data===void 0)throw L;return this.state.data}}throw Pe(this,dn,qn).call(this,{type:"error",error:L}),(P=(k=b(this,Yt).config).onError)==null||P.call(k,L,this),(R=(T=b(this,Yt).config).onSettled)==null||R.call(T,this.state.data,L,this),L}finally{this.scheduleGc()}}},ao=new WeakMap,oi=new WeakMap,Yt=new WeakMap,uo=new WeakMap,st=new WeakMap,ps=new WeakMap,co=new WeakMap,dn=new WeakSet,qn=function(r){const i=l=>{switch(r.type){case"failed":return{...l,fetchFailureCount:r.failureCount,fetchFailureReason:r.error};case"pause":return{...l,fetchStatus:"paused"};case"continue":return{...l,fetchStatus:"fetching"};case"fetch":return{...l,...jm(l.data,this.options),fetchMeta:r.meta??null};case"success":const u={...l,...hh(r.data,r.dataUpdatedAt),dataUpdateCount:l.dataUpdateCount+1,...!r.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return J(this,oi,r.manual?u:void 0),u;case"error":const c=r.error;return{...l,error:c,errorUpdateCount:l.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:l.fetchFailureCount+1,fetchFailureReason:c,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...l,isInvalidated:!0};case"setState":return{...l,...r.state}}};this.state=i(this.state),nt.batch(()=>{this.observers.forEach(l=>{l.onQueryUpdate()}),b(this,Yt).notify({query:this,type:"updated",action:r})})},rm);function jm(n,r){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Dm(r.networkMode)?"fetching":"paused",...n===void 0&&{error:null,status:"pending"}}}function hh(n,r){return{data:n,dataUpdatedAt:r??Date.now(),error:null,isInvalidated:!1,status:"success"}}function mh(n){const r=typeof n.initialData=="function"?n.initialData():n.initialData,i=r!==void 0,l=i?typeof n.initialDataUpdatedAt=="function"?n.initialDataUpdatedAt():n.initialDataUpdatedAt:0;return{data:r,dataUpdateCount:0,dataUpdatedAt:i?l??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:i?"success":"pending",fetchStatus:"idle"}}var Nt,Ne,hs,St,fo,ii,Yn,Lr,ms,si,li,po,ho,Ir,ai,Ae,as,Cc,Ec,bc,Rc,Pc,Mc,Tc,Bm,om,ow=(om=class extends vi{constructor(r,i){super();me(this,Ae);me(this,Nt);me(this,Ne);me(this,hs);me(this,St);me(this,fo);me(this,ii);me(this,Yn);me(this,Lr);me(this,ms);me(this,si);me(this,li);me(this,po);me(this,ho);me(this,Ir);me(this,ai,new Set);this.options=i,J(this,Nt,r),J(this,Lr,null),J(this,Yn,Sc()),this.bindMethods(),this.setOptions(i)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(b(this,Ne).addObserver(this),yh(b(this,Ne),this.options)?Pe(this,Ae,as).call(this):this.updateResult(),Pe(this,Ae,Rc).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Oc(b(this,Ne),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Oc(b(this,Ne),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,Pe(this,Ae,Pc).call(this),Pe(this,Ae,Mc).call(this),b(this,Ne).removeObserver(this)}setOptions(r){const i=this.options,l=b(this,Ne);if(this.options=b(this,Nt).defaultQueryOptions(r),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof Gt(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,Ae,Tc).call(this),b(this,Ne).setOptions(this.options),i._defaulted&&!Zl(this.options,i)&&b(this,Nt).getQueryCache().notify({type:"observerOptionsUpdated",query:b(this,Ne),observer:this});const u=this.hasListeners();u&&vh(b(this,Ne),l,this.options,i)&&Pe(this,Ae,as).call(this),this.updateResult(),u&&(b(this,Ne)!==l||Gt(this.options.enabled,b(this,Ne))!==Gt(i.enabled,b(this,Ne))||jr(this.options.staleTime,b(this,Ne))!==jr(i.staleTime,b(this,Ne)))&&Pe(this,Ae,Cc).call(this);const c=Pe(this,Ae,Ec).call(this);u&&(b(this,Ne)!==l||Gt(this.options.enabled,b(this,Ne))!==Gt(i.enabled,b(this,Ne))||c!==b(this,Ir))&&Pe(this,Ae,bc).call(this,c)}getOptimisticResult(r){const i=b(this,Nt).getQueryCache().build(b(this,Nt),r),l=this.createResult(i,r);return sw(this,l)&&(J(this,St,l),J(this,ii,this.options),J(this,fo,b(this,Ne).state)),l}getCurrentResult(){return b(this,St)}trackResult(r,i){return new Proxy(r,{get:(l,u)=>(this.trackProp(u),i==null||i(u),u==="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(l,u))})}trackProp(r){b(this,ai).add(r)}getCurrentQuery(){return b(this,Ne)}refetch({...r}={}){return this.fetch({...r})}fetchOptimistic(r){const i=b(this,Nt).defaultQueryOptions(r),l=b(this,Nt).getQueryCache().build(b(this,Nt),i);return l.fetch().then(()=>this.createResult(l,i))}fetch(r){return Pe(this,Ae,as).call(this,{...r,cancelRefetch:r.cancelRefetch??!0}).then(()=>(this.updateResult(),b(this,St)))}createResult(r,i){var Z;const l=b(this,Ne),u=this.options,c=b(this,St),f=b(this,fo),p=b(this,ii),y=r!==l?r.state:b(this,hs),{state:w}=r;let x={...w},C=!1,v;if(i._optimisticResults){const te=this.hasListeners(),he=!te&&yh(r,i),X=te&&vh(r,l,i,u);(he||X)&&(x={...x,...jm(w.data,r.options)}),i._optimisticResults==="isRestoring"&&(x.fetchStatus="idle")}let{error:O,errorUpdatedAt:S,status:k}=x;v=x.data;let P=!1;if(i.placeholderData!==void 0&&v===void 0&&k==="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((Z=b(this,li))==null?void 0:Z.state.data,b(this,li)):i.placeholderData,te!==void 0&&(k="success",v=xc(c==null?void 0:c.data,te,i),C=!0)}if(i.select&&v!==void 0&&!P)if(c&&v===(f==null?void 0:f.data)&&i.select===b(this,ms))v=b(this,si);else try{J(this,ms,i.select),v=i.select(v),v=xc(c==null?void 0:c.data,v,i),J(this,si,v),J(this,Lr,null)}catch(te){J(this,Lr,te)}b(this,Lr)&&(O=b(this,Lr),v=b(this,si),S=Date.now(),k="error");const T=x.fetchStatus==="fetching",R=k==="pending",L=k==="error",z=R&&T,U=v!==void 0,q={status:k,fetchStatus:x.fetchStatus,isPending:R,isSuccess:k==="success",isError:L,isInitialLoading:z,isLoading:z,data:v,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>y.dataUpdateCount||x.errorUpdateCount>y.errorUpdateCount,isFetching:T,isRefetching:T&&!R,isLoadingError:L&&!U,isPaused:x.fetchStatus==="paused",isPlaceholderData:C,isRefetchError:L&&U,isStale:rd(r,i),refetch:this.refetch,promise:b(this,Yn),isEnabled:Gt(i.enabled,r)!==!1};if(this.options.experimental_prefetchInRender){const te=q.data!==void 0,he=q.status==="error"&&!te,X=xe=>{he?xe.reject(q.error):te&&xe.resolve(q.data)},ve=()=>{const xe=J(this,Yn,q.promise=Sc());X(xe)},ce=b(this,Yn);switch(ce.status){case"pending":r.queryHash===l.queryHash&&X(ce);break;case"fulfilled":(he||q.data!==ce.value)&&ve();break;case"rejected":(!he||q.error!==ce.reason)&&ve();break}}return q}updateResult(){const r=b(this,St),i=this.createResult(b(this,Ne),this.options);if(J(this,fo,b(this,Ne).state),J(this,ii,this.options),b(this,fo).data!==void 0&&J(this,li,b(this,Ne)),Zl(i,r))return;J(this,St,i);const l=()=>{if(!r)return!0;const{notifyOnChangeProps:u}=this.options,c=typeof u=="function"?u():u;if(c==="all"||!c&&!b(this,ai).size)return!0;const f=new Set(c??b(this,ai));return this.options.throwOnError&&f.add("error"),Object.keys(b(this,St)).some(p=>{const h=p;return b(this,St)[h]!==r[h]&&f.has(h)})};Pe(this,Ae,Bm).call(this,{listeners:l()})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&Pe(this,Ae,Rc).call(this)}},Nt=new WeakMap,Ne=new WeakMap,hs=new WeakMap,St=new WeakMap,fo=new WeakMap,ii=new WeakMap,Yn=new WeakMap,Lr=new WeakMap,ms=new WeakMap,si=new WeakMap,li=new WeakMap,po=new WeakMap,ho=new WeakMap,Ir=new WeakMap,ai=new WeakMap,Ae=new WeakSet,as=function(r){Pe(this,Ae,Tc).call(this);let i=b(this,Ne).fetch(this.options,r);return r!=null&&r.throwOnError||(i=i.catch(kt)),i},Cc=function(){Pe(this,Ae,Pc).call(this);const r=jr(this.options.staleTime,b(this,Ne));if(yo||b(this,St).isStale||!gc(r))return;const l=Lm(b(this,St).dataUpdatedAt,r)+1;J(this,po,io.setTimeout(()=>{b(this,St).isStale||this.updateResult()},l))},Ec=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(b(this,Ne)):this.options.refetchInterval)??!1},bc=function(r){Pe(this,Ae,Mc).call(this),J(this,Ir,r),!(yo||Gt(this.options.enabled,b(this,Ne))===!1||!gc(b(this,Ir))||b(this,Ir)===0)&&J(this,ho,io.setInterval(()=>{(this.options.refetchIntervalInBackground||nd.isFocused())&&Pe(this,Ae,as).call(this)},b(this,Ir)))},Rc=function(){Pe(this,Ae,Cc).call(this),Pe(this,Ae,bc).call(this,Pe(this,Ae,Ec).call(this))},Pc=function(){b(this,po)&&(io.clearTimeout(b(this,po)),J(this,po,void 0))},Mc=function(){b(this,ho)&&(io.clearInterval(b(this,ho)),J(this,ho,void 0))},Tc=function(){const r=b(this,Nt).getQueryCache().build(b(this,Nt),this.options);if(r===b(this,Ne))return;const i=b(this,Ne);J(this,Ne,r),J(this,hs,r.state),this.hasListeners()&&(i==null||i.removeObserver(this),r.addObserver(this))},Bm=function(r){nt.batch(()=>{r.listeners&&this.listeners.forEach(i=>{i(b(this,St))}),b(this,Nt).getQueryCache().notify({query:b(this,Ne),type:"observerResultsUpdated"})})},om);function iw(n,r){return Gt(r.enabled,n)!==!1&&n.state.data===void 0&&!(n.state.status==="error"&&r.retryOnMount===!1)}function yh(n,r){return iw(n,r)||n.state.data!==void 0&&Oc(n,r,r.refetchOnMount)}function Oc(n,r,i){if(Gt(r.enabled,n)!==!1&&jr(r.staleTime,n)!=="static"){const l=typeof i=="function"?i(n):i;return l==="always"||l!==!1&&rd(n,r)}return!1}function vh(n,r,i,l){return(n!==r||Gt(l.enabled,n)===!1)&&(!i.suspense||n.state.status!=="error")&&rd(n,i)}function rd(n,r){return Gt(r.enabled,n)!==!1&&n.isStaleByTime(jr(r.staleTime,n))}function sw(n,r){return!Zl(n.getCurrentResult(),r)}function gh(n){return{onFetch:(r,i)=>{var w,x,C,v,O;const l=r.options,u=(C=(x=(w=r.fetchOptions)==null?void 0:w.meta)==null?void 0:x.fetchMore)==null?void 0:C.direction,c=((v=r.state.data)==null?void 0:v.pages)||[],f=((O=r.state.data)==null?void 0:O.pageParams)||[];let p={pages:[],pageParams:[]},h=0;const y=async()=>{let S=!1;const k=R=>{X1(R,()=>r.signal,()=>S=!0)},P=Am(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 k(he),he})(),q=await P(H),{maxPages:Z}=r.options,te=z?G1:Y1;return{pages:te(R.pages,q,Z),pageParams:te(R.pageParams,L,Z)}};if(u&&c.length){const R=u==="backward",L=R?lw:wh,z={pages:c,pageParams:f},U=L(l,z);p=await T(z,U,R)}else{const R=n??c.length;do{const L=h===0?f[0]??l.initialPageParam:wh(l,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,k;return(k=(S=r.options).persister)==null?void 0:k.call(S,y,{client:r.client,queryKey:r.queryKey,meta:r.options.meta,signal:r.signal},i)}:r.fetchFn=y}}}function wh(n,{pages:r,pageParams:i}){const l=r.length-1;return r.length>0?n.getNextPageParam(r[l],r,i[l],i):void 0}function lw(n,{pages:r,pageParams:i}){var l;return r.length>0?(l=n.getPreviousPageParam)==null?void 0:l.call(n,r[0],r,i[0],i):void 0}var ys,On,yt,mo,Nn,Mr,im,aw=(im=class extends zm{constructor(r){super();me(this,Nn);me(this,ys);me(this,On);me(this,yt);me(this,mo);J(this,ys,r.client),this.mutationId=r.mutationId,J(this,yt,r.mutationCache),J(this,On,[]),this.state=r.state||Um(),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,On).includes(r)||(b(this,On).push(r),this.clearGcTimeout(),b(this,yt).notify({type:"observerAdded",mutation:this,observer:r}))}removeObserver(r){J(this,On,b(this,On).filter(i=>i!==r)),this.scheduleGc(),b(this,yt).notify({type:"observerRemoved",mutation:this,observer:r})}optionalRemove(){b(this,On).length||(this.state.status==="pending"?this.scheduleGc():b(this,yt).remove(this))}continue(){var r;return((r=b(this,mo))==null?void 0:r.continue())??this.execute(this.state.variables)}async execute(r){var f,p,h,y,w,x,C,v,O,S,k,P,T,R,L,z,U,H;const i=()=>{Pe(this,Nn,Mr).call(this,{type:"continue"})},l={client:b(this,ys),meta:this.options.meta,mutationKey:this.options.mutationKey};J(this,mo,Fm({fn:()=>this.options.mutationFn?this.options.mutationFn(r,l):Promise.reject(new Error("No mutationFn found")),onFail:(q,Z)=>{Pe(this,Nn,Mr).call(this,{type:"failed",failureCount:q,error:Z})},onPause:()=>{Pe(this,Nn,Mr).call(this,{type:"pause"})},onContinue:i,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>b(this,yt).canRun(this)}));const u=this.state.status==="pending",c=!b(this,mo).canStart();try{if(u)i();else{Pe(this,Nn,Mr).call(this,{type:"pending",variables:r,isPaused:c}),b(this,yt).config.onMutate&&await b(this,yt).config.onMutate(r,this,l);const Z=await((p=(f=this.options).onMutate)==null?void 0:p.call(f,r,l));Z!==this.state.context&&Pe(this,Nn,Mr).call(this,{type:"pending",context:Z,variables:r,isPaused:c})}const q=await b(this,mo).start();return await((y=(h=b(this,yt).config).onSuccess)==null?void 0:y.call(h,q,r,this.state.context,this,l)),await((x=(w=this.options).onSuccess)==null?void 0:x.call(w,q,r,this.state.context,l)),await((v=(C=b(this,yt).config).onSettled)==null?void 0:v.call(C,q,null,this.state.variables,this.state.context,this,l)),await((S=(O=this.options).onSettled)==null?void 0:S.call(O,q,null,r,this.state.context,l)),Pe(this,Nn,Mr).call(this,{type:"success",data:q}),q}catch(q){try{await((P=(k=b(this,yt).config).onError)==null?void 0:P.call(k,q,r,this.state.context,this,l))}catch(Z){Promise.reject(Z)}try{await((R=(T=this.options).onError)==null?void 0:R.call(T,q,r,this.state.context,l))}catch(Z){Promise.reject(Z)}try{await((z=(L=b(this,yt).config).onSettled)==null?void 0:z.call(L,void 0,q,this.state.variables,this.state.context,this,l))}catch(Z){Promise.reject(Z)}try{await((H=(U=this.options).onSettled)==null?void 0:H.call(U,void 0,q,r,this.state.context,l))}catch(Z){Promise.reject(Z)}throw Pe(this,Nn,Mr).call(this,{type:"error",error:q}),q}finally{b(this,yt).runNext(this)}}},ys=new WeakMap,On=new WeakMap,yt=new WeakMap,mo=new WeakMap,Nn=new WeakSet,Mr=function(r){const i=l=>{switch(r.type){case"failed":return{...l,failureCount:r.failureCount,failureReason:r.error};case"pause":return{...l,isPaused:!0};case"continue":return{...l,isPaused:!1};case"pending":return{...l,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{...l,data:r.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...l,data:void 0,error:r.error,failureCount:l.failureCount+1,failureReason:r.error,isPaused:!1,status:"error"}}};this.state=i(this.state),nt.batch(()=>{b(this,On).forEach(l=>{l.onMutationUpdate(r)}),b(this,yt).notify({mutation:this,type:"updated",action:r})})},im);function Um(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Gn,fn,vs,sm,uw=(sm=class extends vi{constructor(r={}){super();me(this,Gn);me(this,fn);me(this,vs);this.config=r,J(this,Gn,new Set),J(this,fn,new Map),J(this,vs,0)}build(r,i,l){const u=new aw({client:r,mutationCache:this,mutationId:++Al(this,vs)._,options:r.defaultMutationOptions(i),state:l});return this.add(u),u}add(r){b(this,Gn).add(r);const i=zl(r);if(typeof i=="string"){const l=b(this,fn).get(i);l?l.push(r):b(this,fn).set(i,[r])}this.notify({type:"added",mutation:r})}remove(r){if(b(this,Gn).delete(r)){const i=zl(r);if(typeof i=="string"){const l=b(this,fn).get(i);if(l)if(l.length>1){const u=l.indexOf(r);u!==-1&&l.splice(u,1)}else l[0]===r&&b(this,fn).delete(i)}}this.notify({type:"removed",mutation:r})}canRun(r){const i=zl(r);if(typeof i=="string"){const l=b(this,fn).get(i),u=l==null?void 0:l.find(c=>c.state.status==="pending");return!u||u===r}else return!0}runNext(r){var l;const i=zl(r);if(typeof i=="string"){const u=(l=b(this,fn).get(i))==null?void 0:l.find(c=>c!==r&&c.state.isPaused);return(u==null?void 0:u.continue())??Promise.resolve()}else return Promise.resolve()}clear(){nt.batch(()=>{b(this,Gn).forEach(r=>{this.notify({type:"removed",mutation:r})}),b(this,Gn).clear(),b(this,fn).clear()})}getAll(){return Array.from(b(this,Gn))}find(r){const i={exact:!0,...r};return this.getAll().find(l=>dh(i,l))}findAll(r={}){return this.getAll().filter(i=>dh(r,i))}notify(r){nt.batch(()=>{this.listeners.forEach(i=>{i(r)})})}resumePausedMutations(){const r=this.getAll().filter(i=>i.state.isPaused);return nt.batch(()=>Promise.all(r.map(i=>i.continue().catch(kt))))}},Gn=new WeakMap,fn=new WeakMap,vs=new WeakMap,sm);function zl(n){var r;return(r=n.options.scope)==null?void 0:r.id}var Xn,Ar,_t,Zn,er,Kl,Nc,lm,cw=(lm=class extends vi{constructor(i,l){super();me(this,er);me(this,Xn);me(this,Ar);me(this,_t);me(this,Zn);J(this,Xn,i),this.setOptions(l),this.bindMethods(),Pe(this,er,Kl).call(this)}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(i){var u;const l=this.options;this.options=b(this,Xn).defaultMutationOptions(i),Zl(this.options,l)||b(this,Xn).getMutationCache().notify({type:"observerOptionsUpdated",mutation:b(this,_t),observer:this}),l!=null&&l.mutationKey&&this.options.mutationKey&&vo(l.mutationKey)!==vo(this.options.mutationKey)?this.reset():((u=b(this,_t))==null?void 0:u.state.status)==="pending"&&b(this,_t).setOptions(this.options)}onUnsubscribe(){var i;this.hasListeners()||(i=b(this,_t))==null||i.removeObserver(this)}onMutationUpdate(i){Pe(this,er,Kl).call(this),Pe(this,er,Nc).call(this,i)}getCurrentResult(){return b(this,Ar)}reset(){var i;(i=b(this,_t))==null||i.removeObserver(this),J(this,_t,void 0),Pe(this,er,Kl).call(this),Pe(this,er,Nc).call(this)}mutate(i,l){var u;return J(this,Zn,l),(u=b(this,_t))==null||u.removeObserver(this),J(this,_t,b(this,Xn).getMutationCache().build(b(this,Xn),this.options)),b(this,_t).addObserver(this),b(this,_t).execute(i)}},Xn=new WeakMap,Ar=new WeakMap,_t=new WeakMap,Zn=new WeakMap,er=new WeakSet,Kl=function(){var l;const i=((l=b(this,_t))==null?void 0:l.state)??Um();J(this,Ar,{...i,isPending:i.status==="pending",isSuccess:i.status==="success",isError:i.status==="error",isIdle:i.status==="idle",mutate:this.mutate,reset:this.reset})},Nc=function(i){nt.batch(()=>{var l,u,c,f,p,h,y,w;if(b(this,Zn)&&this.hasListeners()){const x=b(this,Ar).variables,C=b(this,Ar).context,v={client:b(this,Xn),meta:this.options.meta,mutationKey:this.options.mutationKey};if((i==null?void 0:i.type)==="success"){try{(u=(l=b(this,Zn)).onSuccess)==null||u.call(l,i.data,x,C,v)}catch(O){Promise.reject(O)}try{(f=(c=b(this,Zn)).onSettled)==null||f.call(c,i.data,null,x,C,v)}catch(O){Promise.reject(O)}}else if((i==null?void 0:i.type)==="error"){try{(h=(p=b(this,Zn)).onError)==null||h.call(p,i.error,x,C,v)}catch(O){Promise.reject(O)}try{(w=(y=b(this,Zn)).onSettled)==null||w.call(y,void 0,i.error,x,C,v)}catch(O){Promise.reject(O)}}}this.listeners.forEach(x=>{x(b(this,Ar))})})},lm),_n,am,dw=(am=class extends vi{constructor(r={}){super();me(this,_n);this.config=r,J(this,_n,new Map)}build(r,i,l){const u=i.queryKey,c=i.queryHash??Jc(u,i);let f=this.get(c);return f||(f=new rw({client:r,queryKey:u,queryHash:c,options:r.defaultQueryOptions(i),state:l,defaultOptions:r.getQueryDefaults(u)}),this.add(f)),f}add(r){b(this,_n).has(r.queryHash)||(b(this,_n).set(r.queryHash,r),this.notify({type:"added",query:r}))}remove(r){const i=b(this,_n).get(r.queryHash);i&&(r.destroy(),i===r&&b(this,_n).delete(r.queryHash),this.notify({type:"removed",query:r}))}clear(){nt.batch(()=>{this.getAll().forEach(r=>{this.remove(r)})})}get(r){return b(this,_n).get(r)}getAll(){return[...b(this,_n).values()]}find(r){const i={exact:!0,...r};return this.getAll().find(l=>ch(i,l))}findAll(r={}){const i=this.getAll();return Object.keys(r).length>0?i.filter(l=>ch(r,l)):i}notify(r){nt.batch(()=>{this.listeners.forEach(i=>{i(r)})})}onFocus(){nt.batch(()=>{this.getAll().forEach(r=>{r.onFocus()})})}onOnline(){nt.batch(()=>{this.getAll().forEach(r=>{r.onOnline()})})}},_n=new WeakMap,am),Ke,Dr,Fr,ui,ci,zr,di,fi,um,Gk=(um=class{constructor(n={}){me(this,Ke);me(this,Dr);me(this,Fr);me(this,ui);me(this,ci);me(this,zr);me(this,di);me(this,fi);J(this,Ke,n.queryCache||new dw),J(this,Dr,n.mutationCache||new uw),J(this,Fr,n.defaultOptions||{}),J(this,ui,new Map),J(this,ci,new Map),J(this,zr,0)}mount(){Al(this,zr)._++,b(this,zr)===1&&(J(this,di,nd.subscribe(async n=>{n&&(await this.resumePausedMutations(),b(this,Ke).onFocus())})),J(this,fi,Jl.subscribe(async n=>{n&&(await this.resumePausedMutations(),b(this,Ke).onOnline())})))}unmount(){var n,r;Al(this,zr)._--,b(this,zr)===0&&((n=b(this,di))==null||n.call(this),J(this,di,void 0),(r=b(this,fi))==null||r.call(this),J(this,fi,void 0))}isFetching(n){return b(this,Ke).findAll({...n,fetchStatus:"fetching"}).length}isMutating(n){return b(this,Dr).findAll({...n,status:"pending"}).length}getQueryData(n){var i;const r=this.defaultQueryOptions({queryKey:n});return(i=b(this,Ke).get(r.queryHash))==null?void 0:i.state.data}ensureQueryData(n){const r=this.defaultQueryOptions(n),i=b(this,Ke).build(this,r),l=i.state.data;return l===void 0?this.fetchQuery(n):(n.revalidateIfStale&&i.isStaleByTime(jr(r.staleTime,i))&&this.prefetchQuery(r),Promise.resolve(l))}getQueriesData(n){return b(this,Ke).findAll(n).map(({queryKey:r,state:i})=>{const l=i.data;return[r,l]})}setQueryData(n,r,i){const l=this.defaultQueryOptions({queryKey:n}),u=b(this,Ke).get(l.queryHash),c=u==null?void 0:u.state.data,f=Q1(r,c);if(f!==void 0)return b(this,Ke).build(this,l).setData(f,{...i,manual:!0})}setQueriesData(n,r,i){return nt.batch(()=>b(this,Ke).findAll(n).map(({queryKey:l})=>[l,this.setQueryData(l,r,i)]))}getQueryState(n){var i;const r=this.defaultQueryOptions({queryKey:n});return(i=b(this,Ke).get(r.queryHash))==null?void 0:i.state}removeQueries(n){const r=b(this,Ke);nt.batch(()=>{r.findAll(n).forEach(i=>{r.remove(i)})})}resetQueries(n,r){const i=b(this,Ke);return nt.batch(()=>(i.findAll(n).forEach(l=>{l.reset()}),this.refetchQueries({type:"active",...n},r)))}cancelQueries(n,r={}){const i={revert:!0,...r},l=nt.batch(()=>b(this,Ke).findAll(n).map(u=>u.cancel(i)));return Promise.all(l).then(kt).catch(kt)}invalidateQueries(n,r={}){return nt.batch(()=>(b(this,Ke).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},l=nt.batch(()=>b(this,Ke).findAll(n).filter(u=>!u.isDisabled()&&!u.isStatic()).map(u=>{let c=u.fetch(void 0,i);return i.throwOnError||(c=c.catch(kt)),u.state.fetchStatus==="paused"?Promise.resolve():c}));return Promise.all(l).then(kt)}fetchQuery(n){const r=this.defaultQueryOptions(n);r.retry===void 0&&(r.retry=!1);const i=b(this,Ke).build(this,r);return i.isStaleByTime(jr(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=gh(n.pages),this.fetchQuery(n)}prefetchInfiniteQuery(n){return this.fetchInfiniteQuery(n).then(kt).catch(kt)}ensureInfiniteQueryData(n){return n.behavior=gh(n.pages),this.ensureQueryData(n)}resumePausedMutations(){return Jl.isOnline()?b(this,Dr).resumePausedMutations():Promise.resolve()}getQueryCache(){return b(this,Ke)}getMutationCache(){return b(this,Dr)}getDefaultOptions(){return b(this,Fr)}setDefaultOptions(n){J(this,Fr,n)}setQueryDefaults(n,r){b(this,ui).set(vo(n),{queryKey:n,defaultOptions:r})}getQueryDefaults(n){const r=[...b(this,ui).values()],i={};return r.forEach(l=>{ds(n,l.queryKey)&&Object.assign(i,l.defaultOptions)}),i}setMutationDefaults(n,r){b(this,ci).set(vo(n),{mutationKey:n,defaultOptions:r})}getMutationDefaults(n){const r=[...b(this,ci).values()],i={};return r.forEach(l=>{ds(n,l.mutationKey)&&Object.assign(i,l.defaultOptions)}),i}defaultQueryOptions(n){if(n._defaulted)return n;const r={...b(this,Fr).queries,...this.getQueryDefaults(n.queryKey),...n,_defaulted:!0};return r.queryHash||(r.queryHash=Jc(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===ed&&(r.enabled=!1),r}defaultMutationOptions(n){return n!=null&&n._defaulted?n:{...b(this,Fr).mutations,...(n==null?void 0:n.mutationKey)&&this.getMutationDefaults(n.mutationKey),...n,_defaulted:!0}}clear(){b(this,Ke).clear(),b(this,Dr).clear()}},Ke=new WeakMap,Dr=new WeakMap,Fr=new WeakMap,ui=new WeakMap,ci=new WeakMap,zr=new WeakMap,di=new WeakMap,fi=new WeakMap,um),Hm=g.createContext(void 0),$m=n=>{const r=g.useContext(Hm);if(!r)throw new Error("No QueryClient set, use QueryClientProvider to set one");return r},Xk=({client:n,children:r})=>(g.useEffect(()=>(n.mount(),()=>{n.unmount()}),[n]),ee.jsx(Hm.Provider,{value:n,children:r})),Vm=g.createContext(!1),fw=()=>g.useContext(Vm);Vm.Provider;function pw(){let n=!1;return{clearReset:()=>{n=!1},reset:()=>{n=!0},isReset:()=>n}}var hw=g.createContext(pw()),mw=()=>g.useContext(hw),yw=(n,r,i)=>{const l=i!=null&&i.state.error&&typeof n.throwOnError=="function"?td(n.throwOnError,[i.state.error,i]):n.throwOnError;(n.suspense||n.experimental_prefetchInRender||l)&&(r.isReset()||(n.retryOnMount=!1))},vw=n=>{g.useEffect(()=>{n.clearReset()},[n])},gw=({result:n,errorResetBoundary:r,throwOnError:i,query:l,suspense:u})=>n.isError&&!r.isReset()&&!n.isFetching&&l&&(u&&n.data===void 0||td(i,[n.error,l])),ww=n=>{if(n.suspense){const i=u=>u==="static"?u:Math.max(u??1e3,1e3),l=n.staleTime;n.staleTime=typeof l=="function"?(...u)=>i(l(...u)):i(l),typeof n.gcTime=="number"&&(n.gcTime=Math.max(n.gcTime,1e3))}},xw=(n,r)=>n.isLoading&&n.isFetching&&!r,Sw=(n,r)=>(n==null?void 0:n.suspense)&&r.isPending,xh=(n,r,i)=>r.fetchOptimistic(n).catch(()=>{i.clearReset()});function kw(n,r,i){var C,v,O,S;const l=fw(),u=mw(),c=$m(),f=c.defaultQueryOptions(n);(v=(C=c.getDefaultOptions().queries)==null?void 0:C._experimental_beforeQuery)==null||v.call(C,f);const p=c.getQueryCache().get(f.queryHash);f._optimisticResults=l?"isRestoring":"optimistic",ww(f),yw(f,u,p),vw(u);const h=!c.getQueryCache().get(f.queryHash),[y]=g.useState(()=>new r(c,f)),w=y.getOptimisticResult(f),x=!l&&n.subscribed!==!1;if(g.useSyncExternalStore(g.useCallback(k=>{const P=x?y.subscribe(nt.batchCalls(k)):kt;return y.updateResult(),P},[y,x]),()=>y.getCurrentResult(),()=>y.getCurrentResult()),g.useEffect(()=>{y.setOptions(f)},[f,y]),Sw(f,w))throw xh(f,y,u);if(gw({result:w,errorResetBoundary:u,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&&xw(w,l)){const k=h?xh(f,y,u):p==null?void 0:p.promise;k==null||k.catch(kt).finally(()=>{y.updateResult()})}return f.notifyOnChangeProps?w:y.trackResult(w)}function Zk(n,r){return kw(n,ow)}function Jk(n,r){const i=$m(),[l]=g.useState(()=>new cw(i,n));g.useEffect(()=>{l.setOptions(n)},[l,n]);const u=g.useSyncExternalStore(g.useCallback(f=>l.subscribe(nt.batchCalls(f)),[l]),()=>l.getCurrentResult(),()=>l.getCurrentResult()),c=g.useCallback((f,p)=>{l.mutate(f,p).catch(kt)},[l]);if(u.error&&td(l.options.throwOnError,[u.error]))throw u.error;return{...u,mutate:c,mutateAsync:u.mutate}}function Wm(n){var r,i,l="";if(typeof n=="string"||typeof n=="number")l+=n;else if(typeof n=="object")if(Array.isArray(n)){var u=n.length;for(r=0;r<u;r++)n[r]&&(i=Wm(n[r]))&&(l&&(l+=" "),l+=i)}else for(i in n)n[i]&&(l&&(l+=" "),l+=i);return l}function eC(){for(var n,r,i=0,l="",u=arguments.length;i<u;i++)(n=arguments[i])&&(r=Wm(n))&&(l&&(l+=" "),l+=r);return l}const od="-",Cw=n=>{const r=bw(n),{conflictingClassGroups:i,conflictingClassGroupModifiers:l}=n;return{getClassGroupId:f=>{const p=f.split(od);return p[0]===""&&p.length!==1&&p.shift(),Qm(p,r)||Ew(f)},getConflictingClassGroupIds:(f,p)=>{const h=i[f]||[];return p&&l[f]?[...h,...l[f]]:h}}},Qm=(n,r)=>{var f;if(n.length===0)return r.classGroupId;const i=n[0],l=r.nextPart.get(i),u=l?Qm(n.slice(1),l):void 0;if(u)return u;if(r.validators.length===0)return;const c=n.join(od);return(f=r.validators.find(({validator:p})=>p(c)))==null?void 0:f.classGroupId},Sh=/^\[(.+)\]$/,Ew=n=>{if(Sh.test(n)){const r=Sh.exec(n)[1],i=r==null?void 0:r.substring(0,r.indexOf(":"));if(i)return"arbitrary.."+i}},bw=n=>{const{theme:r,prefix:i}=n,l={nextPart:new Map,validators:[]};return Pw(Object.entries(n.classGroups),i).forEach(([c,f])=>{_c(f,l,c,r)}),l},_c=(n,r,i,l)=>{n.forEach(u=>{if(typeof u=="string"){const c=u===""?r:kh(r,u);c.classGroupId=i;return}if(typeof u=="function"){if(Rw(u)){_c(u(l),r,i,l);return}r.validators.push({validator:u,classGroupId:i});return}Object.entries(u).forEach(([c,f])=>{_c(f,kh(r,c),i,l)})})},kh=(n,r)=>{let i=n;return r.split(od).forEach(l=>{i.nextPart.has(l)||i.nextPart.set(l,{nextPart:new Map,validators:[]}),i=i.nextPart.get(l)}),i},Rw=n=>n.isThemeGetter,Pw=(n,r)=>r?n.map(([i,l])=>{const u=l.map(c=>typeof c=="string"?r+c:typeof c=="object"?Object.fromEntries(Object.entries(c).map(([f,p])=>[r+f,p])):c);return[i,u]}):n,Mw=n=>{if(n<1)return{get:()=>{},set:()=>{}};let r=0,i=new Map,l=new Map;const u=(c,f)=>{i.set(c,f),r++,r>n&&(r=0,l=i,i=new Map)};return{get(c){let f=i.get(c);if(f!==void 0)return f;if((f=l.get(c))!==void 0)return u(c,f),f},set(c,f){i.has(c)?i.set(c,f):u(c,f)}}},Km="!",Tw=n=>{const{separator:r,experimentalParseClassName:i}=n,l=r.length===1,u=r[0],c=r.length,f=p=>{const h=[];let y=0,w=0,x;for(let k=0;k<p.length;k++){let P=p[k];if(y===0){if(P===u&&(l||p.slice(k,k+c)===r)){h.push(p.slice(w,k)),w=k+c;continue}if(P==="/"){x=k;continue}}P==="["?y++:P==="]"&&y--}const C=h.length===0?p:p.substring(w),v=C.startsWith(Km),O=v?C.substring(1):C,S=x&&x>w?x-w:void 0;return{modifiers:h,hasImportantModifier:v,baseClassName:O,maybePostfixModifierPosition:S}};return i?p=>i({className:p,parseClassName:f}):f},Ow=n=>{if(n.length<=1)return n;const r=[];let i=[];return n.forEach(l=>{l[0]==="["?(r.push(...i.sort(),l),i=[]):i.push(l)}),r.push(...i.sort()),r},Nw=n=>({cache:Mw(n.cacheSize),parseClassName:Tw(n),...Cw(n)}),_w=/\s+/,Lw=(n,r)=>{const{parseClassName:i,getClassGroupId:l,getConflictingClassGroupIds:u}=r,c=[],f=n.trim().split(_w);let p="";for(let h=f.length-1;h>=0;h-=1){const y=f[h],{modifiers:w,hasImportantModifier:x,baseClassName:C,maybePostfixModifierPosition:v}=i(y);let O=!!v,S=l(O?C.substring(0,v):C);if(!S){if(!O){p=y+(p.length>0?" "+p:p);continue}if(S=l(C),!S){p=y+(p.length>0?" "+p:p);continue}O=!1}const k=Ow(w).join(":"),P=x?k+Km:k,T=P+S;if(c.includes(T))continue;c.push(T);const R=u(S,O);for(let L=0;L<R.length;++L){const z=R[L];c.push(P+z)}p=y+(p.length>0?" "+p:p)}return p};function Iw(){let n=0,r,i,l="";for(;n<arguments.length;)(r=arguments[n++])&&(i=qm(r))&&(l&&(l+=" "),l+=i);return l}const qm=n=>{if(typeof n=="string")return n;let r,i="";for(let l=0;l<n.length;l++)n[l]&&(r=qm(n[l]))&&(i&&(i+=" "),i+=r);return i};function Aw(n,...r){let i,l,u,c=f;function f(h){const y=r.reduce((w,x)=>x(w),n());return i=Nw(y),l=i.cache.get,u=i.cache.set,c=p,p(h)}function p(h){const y=l(h);if(y)return y;const w=Lw(h,i);return u(h,w),w}return function(){return c(Iw.apply(null,arguments))}}const Ue=n=>{const r=i=>i[n]||[];return r.isThemeGetter=!0,r},Ym=/^\[(?:([a-z-]+):)?(.+)\]$/i,Dw=/^\d+\/\d+$/,Fw=new Set(["px","full","screen"]),zw=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,jw=/\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$/,Bw=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Uw=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Hw=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Kn=n=>Zo(n)||Fw.has(n)||Dw.test(n),Rr=n=>gi(n,"length",Gw),Zo=n=>!!n&&!Number.isNaN(Number(n)),sc=n=>gi(n,"number",Zo),ss=n=>!!n&&Number.isInteger(Number(n)),$w=n=>n.endsWith("%")&&Zo(n.slice(0,-1)),Re=n=>Ym.test(n),Pr=n=>zw.test(n),Vw=new Set(["length","size","percentage"]),Ww=n=>gi(n,Vw,Gm),Qw=n=>gi(n,"position",Gm),Kw=new Set(["image","url"]),qw=n=>gi(n,Kw,Zw),Yw=n=>gi(n,"",Xw),ls=()=>!0,gi=(n,r,i)=>{const l=Ym.exec(n);return l?l[1]?typeof r=="string"?l[1]===r:r.has(l[1]):i(l[2]):!1},Gw=n=>jw.test(n)&&!Bw.test(n),Gm=()=>!1,Xw=n=>Uw.test(n),Zw=n=>Hw.test(n),Jw=()=>{const n=Ue("colors"),r=Ue("spacing"),i=Ue("blur"),l=Ue("brightness"),u=Ue("borderColor"),c=Ue("borderRadius"),f=Ue("borderSpacing"),p=Ue("borderWidth"),h=Ue("contrast"),y=Ue("grayscale"),w=Ue("hueRotate"),x=Ue("invert"),C=Ue("gap"),v=Ue("gradientColorStops"),O=Ue("gradientColorStopPositions"),S=Ue("inset"),k=Ue("margin"),P=Ue("opacity"),T=Ue("padding"),R=Ue("saturate"),L=Ue("scale"),z=Ue("sepia"),U=Ue("skew"),H=Ue("space"),q=Ue("translate"),Z=()=>["auto","contain","none"],te=()=>["auto","hidden","clip","visible","scroll"],he=()=>["auto",Re,r],X=()=>[Re,r],ve=()=>["",Kn,Rr],ce=()=>["auto",Zo,Re],xe=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],ae=()=>["solid","dashed","dotted","double","none"],ie=()=>["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],W=()=>["auto","avoid","all","avoid-page","page","left","right","column"],N=()=>[Zo,Re];return{cacheSize:500,separator:":",theme:{colors:[ls],spacing:[Kn,Rr],blur:["none","",Pr,Re],brightness:N(),borderColor:[n],borderRadius:["none","","full",Pr,Re],borderSpacing:X(),borderWidth:ve(),contrast:N(),grayscale:B(),hueRotate:N(),invert:B(),gap:X(),gradientColorStops:[n],gradientColorStopPositions:[$w,Rr],inset:he(),margin:he(),opacity:N(),padding:X(),saturate:N(),scale:N(),sepia:B(),skew:N(),space:X(),translate:X()},classGroups:{aspect:[{aspect:["auto","square","video",Re]}],container:["container"],columns:[{columns:[Pr]}],"break-after":[{"break-after":W()}],"break-before":[{"break-before":W()}],"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:Z()}],"overscroll-x":[{"overscroll-x":Z()}],"overscroll-y":[{"overscroll-y":Z()}],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",ss,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",ss,Re]}],"grid-cols":[{"grid-cols":[ls]}],"col-start-end":[{col:["auto",{span:["full",ss,Re]},Re]}],"col-start":[{"col-start":ce()}],"col-end":[{"col-end":ce()}],"grid-rows":[{"grid-rows":[ls]}],"row-start-end":[{row:["auto",{span:[ss,Re]},Re]}],"row-start":[{"row-start":ce()}],"row-end":[{"row-end":ce()}],"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:[C]}],"gap-x":[{"gap-x":[C]}],"gap-y":[{"gap-y":[C]}],"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:[k]}],mx:[{mx:[k]}],my:[{my:[k]}],ms:[{ms:[k]}],me:[{me:[k]}],mt:[{mt:[k]}],mr:[{mr:[k]}],mb:[{mb:[k]}],ml:[{ml:[k]}],"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:[Pr]},Pr]}],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",Pr,Rr]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",sc]}],"font-family":[{font:[ls]}],"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",Zo,sc]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Kn,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:[...ae(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Kn,Rr]}],"underline-offset":[{"underline-offset":["auto",Kn,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:X()}],"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(),Qw]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Ww]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},qw]}],"bg-color":[{bg:[n]}],"gradient-from-pos":[{from:[O]}],"gradient-via-pos":[{via:[O]}],"gradient-to-pos":[{to:[O]}],"gradient-from":[{from:[v]}],"gradient-via":[{via:[v]}],"gradient-to":[{to:[v]}],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:[...ae(),"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:ae()}],"border-color":[{border:[u]}],"border-color-x":[{"border-x":[u]}],"border-color-y":[{"border-y":[u]}],"border-color-s":[{"border-s":[u]}],"border-color-e":[{"border-e":[u]}],"border-color-t":[{"border-t":[u]}],"border-color-r":[{"border-r":[u]}],"border-color-b":[{"border-b":[u]}],"border-color-l":[{"border-l":[u]}],"divide-color":[{divide:[u]}],"outline-style":[{outline:["",...ae()]}],"outline-offset":[{"outline-offset":[Kn,Re]}],"outline-w":[{outline:[Kn,Rr]}],"outline-color":[{outline:[n]}],"ring-w":[{ring:ve()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[n]}],"ring-opacity":[{"ring-opacity":[P]}],"ring-offset-w":[{"ring-offset":[Kn,Rr]}],"ring-offset-color":[{"ring-offset":[n]}],shadow:[{shadow:["","inner","none",Pr,Yw]}],"shadow-color":[{shadow:[ls]}],opacity:[{opacity:[P]}],"mix-blend":[{"mix-blend":[...ie(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":ie()}],filter:[{filter:["","none"]}],blur:[{blur:[i]}],brightness:[{brightness:[l]}],contrast:[{contrast:[h]}],"drop-shadow":[{"drop-shadow":["","none",Pr,Re]}],grayscale:[{grayscale:[y]}],"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":[l]}],"backdrop-contrast":[{"backdrop-contrast":[h]}],"backdrop-grayscale":[{"backdrop-grayscale":[y]}],"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:[ss,Re]}],"translate-x":[{"translate-x":[q]}],"translate-y":[{"translate-y":[q]}],"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":X()}],"scroll-mx":[{"scroll-mx":X()}],"scroll-my":[{"scroll-my":X()}],"scroll-ms":[{"scroll-ms":X()}],"scroll-me":[{"scroll-me":X()}],"scroll-mt":[{"scroll-mt":X()}],"scroll-mr":[{"scroll-mr":X()}],"scroll-mb":[{"scroll-mb":X()}],"scroll-ml":[{"scroll-ml":X()}],"scroll-p":[{"scroll-p":X()}],"scroll-px":[{"scroll-px":X()}],"scroll-py":[{"scroll-py":X()}],"scroll-ps":[{"scroll-ps":X()}],"scroll-pe":[{"scroll-pe":X()}],"scroll-pt":[{"scroll-pt":X()}],"scroll-pr":[{"scroll-pr":X()}],"scroll-pb":[{"scroll-pb":X()}],"scroll-pl":[{"scroll-pl":X()}],"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:[Kn,Rr,sc]}],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"]}}},tC=Aw(Jw);/**
51
+ Please change the parent <Route path="${R}"> to <Route path="${R==="/"?"*":`${R}/*`}">.`)}let E=Hr(),y;if(r){let R=typeof r=="string"?hi(r):r;$e(w==="/"||((M=R.pathname)==null?void 0:M.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.`),y=R}else y=E;let O=y.pathname||"/",S=O;if(w!=="/"){let R=w.replace(/^\//,"").split("/");S="/"+O.replace(/^\//,"").split("/").slice(R.length).join("/")}let C=pm(n,{pathname:S});pn(x||C!=null,`No routes matched location "${y.pathname}${y.search}${y.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 "${y.pathname}${y.search}${y.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(R=>Object.assign({},R,{params:Object.assign({},h,R.params),pathname:Jn([w,c.encodeLocation?c.encodeLocation(R.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:R.pathname]),pathnameBase:R.pathnameBase==="/"?w:Jn([w,c.encodeLocation?c.encodeLocation(R.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:R.pathnameBase])})),f,i,l,u);return r&&P?g.createElement(gs.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...y},navigationType:"POP"}},P):P}function X0(){let n=s1(),r=z0(n)?`${n.status} ${n.statusText}`:n instanceof Error?n.message:JSON.stringify(n),i=n instanceof Error?n.stack:null,l="rgba(200,200,200, 0.5)",u={padding:"0.5rem",backgroundColor:l},c={padding:"2px 4px",backgroundColor:l},f=null;return console.error("Error handled by React Router default ErrorBoundary:",n),f=g.createElement(g.Fragment,null,g.createElement("p",null,"💿 Hey developer 👋"),g.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",g.createElement("code",{style:c},"ErrorBoundary")," or"," ",g.createElement("code",{style:c},"errorElement")," prop on your route.")),g.createElement(g.Fragment,null,g.createElement("h2",null,"Unexpected Application Error!"),g.createElement("h3",{style:{fontStyle:"italic"}},r),i?g.createElement("pre",{style:u},i):null,f)}var Z0=g.createElement(X0,null),bm=class extends g.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=K0(n.digest);i&&(n=i)}let r=n!==void 0?g.createElement(vn.Provider,{value:this.props.routeContext},g.createElement(qc.Provider,{value:n,children:this.props.component})):this.props.children;return this.context?g.createElement(J0,{error:n},r):r}};bm.contextType=U0;var oc=new WeakMap;function J0({children:n,error:r}){let{basename:i}=g.useContext(Ut);if(typeof r=="object"&&r&&"digest"in r&&typeof r.digest=="string"){let l=Q0(r.digest);if(l){let u=oc.get(r);if(u)throw u;let c=ym(l.location,i);if(vm&&!oc.get(r))if(c.isExternal||l.reloadDocument)window.location.href=c.absoluteURL||c.to;else{const f=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(c.to,{replace:l.replace}));throw oc.set(r,f),f}return g.createElement("meta",{httpEquiv:"refresh",content:`0;url=${c.absoluteURL||c.to}`})}}return n}function e1({routeContext:n,match:r,children:i}){let l=g.useContext(mi);return l&&l.static&&l.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(l.staticContext._deepestRenderedBoundaryId=r.route.id),g.createElement(vn.Provider,{value:n},i)}function t1(n,r=[],i=null,l=null,u=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);$e(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:E,errors:y}=i,O=x.route.loader&&!E.hasOwnProperty(x.route.id)&&(!y||y[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 v=i&&l?(w,x)=>{var E,y;l(w,{location:i.location,params:((y=(E=i.matches)==null?void 0:E[0])==null?void 0:y.params)??{},unstable_pattern:j0(i.matches),errorInfo:x})}:void 0;return c.reduceRight((w,x,E)=>{let y,O=!1,S=null,C=null;i&&(y=f&&x.route.id?f[x.route.id]:void 0,S=x.route.errorElement||Z0,p&&(h<0&&E===0?(Rm("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),O=!0,C=null):h===E&&(O=!0,C=x.route.hydrateFallbackElement||null)));let P=r.concat(c.slice(0,E+1)),M=()=>{let R;return y?R=S:O?R=C:x.route.Component?R=g.createElement(x.route.Component,null):x.route.element?R=x.route.element:R=w,g.createElement(e1,{match:x,routeContext:{outlet:w,matches:P,isDataRoute:i!=null},children:R})};return i&&(x.route.ErrorBoundary||x.route.errorElement||E===0)?g.createElement(bm,{location:i.location,revalidation:i.revalidation,component:S,error:y,children:M(),routeContext:{outlet:null,matches:P,isDataRoute:!0},onError:v}):M()},null)}function Gc(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=g.useContext(mi);return $e(r,Gc(n)),r}function r1(n){let r=g.useContext(sa);return $e(r,Gc(n)),r}function o1(n){let r=g.useContext(vn);return $e(r,Gc(n)),r}function Yc(n){let r=o1(n),i=r.matches[r.matches.length-1];return $e(i.route.id,`${n} can only be used on routes that contain a unique "id"`),i.route.id}function i1(){return Yc("useRouteId")}function s1(){var l;let n=g.useContext(qc),r=r1("useRouteError"),i=Yc("useRouteError");return n!==void 0?n:(l=r.errors)==null?void 0:l[i]}function l1(){let{router:n}=n1("useNavigate"),r=Yc("useNavigate"),i=g.useRef(!1);return Cm(()=>{i.current=!0}),g.useCallback(async(u,c={})=>{pn(i.current,Sm),i.current&&(typeof u=="number"?await n.navigate(u):await n.navigate(u,{fromRouteId:r,...c}))},[n,r])}var ah={};function Rm(n,r,i){!r&&!ah[n]&&(ah[n]=!0,pn(!1,i))}g.memo(a1);function a1({routes:n,future:r,state:i,onError:l}){return km(n,void 0,i,l,r)}function QC({to:n,replace:r,state:i,relative:l}){$e(vi(),"<Navigate> may be used only in the context of a <Router> component.");let{static:u}=g.useContext(Ut);pn(!u,"<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}=g.useContext(vn),{pathname:f}=Hr(),p=Em(),h=Kc(n,Qc(c),f,l==="path"),v=JSON.stringify(h);return g.useEffect(()=>{p(JSON.parse(v),{replace:r,state:i,relative:l})},[p,v,l,r,i]),null}function u1(n){$e(!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 c1({basename:n="/",children:r=null,location:i,navigationType:l="POP",navigator:u,static:c=!1,unstable_useTransitions:f}){$e(!vi(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let p=n.replace(/^\/*/,"/"),h=g.useMemo(()=>({basename:p,navigator:u,static:c,unstable_useTransitions:f,future:{}}),[p,u,c,f]);typeof i=="string"&&(i=hi(i));let{pathname:v="/",search:w="",hash:x="",state:E=null,key:y="default"}=i,O=g.useMemo(()=>{let S=tr(v,p);return S==null?null:{location:{pathname:S,search:w,hash:x,state:E,key:y},navigationType:l}},[p,v,w,x,E,y,l]);return pn(O!=null,`<Router basename="${p}"> is not able to match the URL "${v}${w}${x}" because it does not start with the basename, so the <Router> won't render anything.`),O==null?null:g.createElement(Ut.Provider,{value:h},g.createElement(gs.Provider,{children:r,value:O}))}function KC({children:n,location:r}){return Y0(yc(n),r)}function yc(n,r=[]){let i=[];return g.Children.forEach(n,(l,u)=>{if(!g.isValidElement(l))return;let c=[...r,u];if(l.type===g.Fragment){i.push.apply(i,yc(l.props.children,c));return}$e(l.type===u1,`[${typeof l.type=="string"?l.type:l.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),$e(!l.props.index||!l.props.children,"An index route cannot have child routes.");let f={id:l.props.id||c.join("-"),caseSensitive:l.props.caseSensitive,element:l.props.element,Component:l.props.Component,index:l.props.index,path:l.props.path,middleware:l.props.middleware,loader:l.props.loader,action:l.props.action,hydrateFallbackElement:l.props.hydrateFallbackElement,HydrateFallback:l.props.HydrateFallback,errorElement:l.props.errorElement,ErrorBoundary:l.props.ErrorBoundary,hasErrorBoundary:l.props.hasErrorBoundary===!0||l.props.ErrorBoundary!=null||l.props.errorElement!=null,shouldRevalidate:l.props.shouldRevalidate,handle:l.props.handle,lazy:l.props.lazy};l.props.children&&(f.children=yc(l.props.children,c)),i.push(f)}),i}var Vl="get",Ql="application/x-www-form-urlencoded";function la(n){return typeof HTMLElement<"u"&&n instanceof HTMLElement}function d1(n){return la(n)&&n.tagName.toLowerCase()==="button"}function f1(n){return la(n)&&n.tagName.toLowerCase()==="form"}function p1(n){return la(n)&&n.tagName.toLowerCase()==="input"}function h1(n){return!!(n.metaKey||n.altKey||n.ctrlKey||n.shiftKey)}function m1(n,r){return n.button===0&&(!r||r==="_self")&&!h1(n)}var Fl=null;function v1(){if(Fl===null)try{new FormData(document.createElement("form"),0),Fl=!1}catch{Fl=!0}return Fl}var y1=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function ic(n){return n!=null&&!y1.has(n)?(pn(!1,`"${n}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Ql}"`),null):n}function g1(n,r){let i,l,u,c,f;if(f1(n)){let p=n.getAttribute("action");l=p?tr(p,r):null,i=n.getAttribute("method")||Vl,u=ic(n.getAttribute("enctype"))||Ql,c=new FormData(n)}else if(d1(n)||p1(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(l=h?tr(h,r):null,i=n.getAttribute("formmethod")||p.getAttribute("method")||Vl,u=ic(n.getAttribute("formenctype"))||ic(p.getAttribute("enctype"))||Ql,c=new FormData(p,n),!v1()){let{name:v,type:w,value:x}=n;if(w==="image"){let E=v?`${v}.`:"";c.append(`${E}x`,"0"),c.append(`${E}y`,"0")}else v&&c.append(v,x)}}else{if(la(n))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');i=Vl,l=null,u=Ql,f=n}return c&&u==="text/plain"&&(f=c,c=void 0),{action:l,method:i.toLowerCase(),encType:u,formData:c,body:f}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function Xc(n,r){if(n===!1||n===null||typeof n>"u")throw new Error(r)}function w1(n,r,i,l){let u=typeof n=="string"?new URL(n,typeof window>"u"?"server://singlefetch/":window.location.origin):n;return i?u.pathname.endsWith("/")?u.pathname=`${u.pathname}_.${l}`:u.pathname=`${u.pathname}.${l}`:u.pathname==="/"?u.pathname=`_root.${l}`:r&&tr(u.pathname,r)==="/"?u.pathname=`${r.replace(/\/$/,"")}/_root.${l}`:u.pathname=`${u.pathname.replace(/\/$/,"")}.${l}`,u}async function x1(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 S1(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 C1(n,r,i){let l=await Promise.all(n.map(async u=>{let c=r.routes[u.route.id];if(c){let f=await x1(c,i);return f.links?f.links():[]}return[]}));return R1(l.flat(1).filter(S1).filter(u=>u.rel==="stylesheet"||u.rel==="preload").map(u=>u.rel==="stylesheet"?{...u,rel:"prefetch",as:"style"}:{...u,rel:"prefetch"}))}function uh(n,r,i,l,u,c){let f=(h,v)=>i[v]?h.route.id!==i[v].route.id:!0,p=(h,v)=>{var w;return i[v].pathname!==h.pathname||((w=i[v].route.path)==null?void 0:w.endsWith("*"))&&i[v].params["*"]!==h.params["*"]};return c==="assets"?r.filter((h,v)=>f(h,v)||p(h,v)):c==="data"?r.filter((h,v)=>{var x;let w=l.routes[h.route.id];if(!w||!w.hasLoader)return!1;if(f(h,v)||p(h,v))return!0;if(h.route.shouldRevalidate){let E=h.route.shouldRevalidate({currentUrl:new URL(u.pathname+u.search+u.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 E=="boolean")return E}return!0}):[]}function E1(n,r,{includeHydrateFallback:i}={}){return k1(n.map(l=>{let u=r.routes[l.route.id];if(!u)return[];let c=[u.module];return u.clientActionModule&&(c=c.concat(u.clientActionModule)),u.clientLoaderModule&&(c=c.concat(u.clientLoaderModule)),i&&u.hydrateFallbackModule&&(c=c.concat(u.hydrateFallbackModule)),u.imports&&(c=c.concat(u.imports)),c}).flat(1))}function k1(n){return[...new Set(n)]}function b1(n){let r={},i=Object.keys(n).sort();for(let l of i)r[l]=n[l];return r}function R1(n,r){let i=new Set;return new Set(r),n.reduce((l,u)=>{let c=JSON.stringify(b1(u));return i.has(c)||(i.add(c),l.push({key:c,link:u})),l},[])}function Pm(){let n=g.useContext(mi);return Xc(n,"You must render this element inside a <DataRouterContext.Provider> element"),n}function P1(){let n=g.useContext(sa);return Xc(n,"You must render this element inside a <DataRouterStateContext.Provider> element"),n}var Zc=g.createContext(void 0);Zc.displayName="FrameworkContext";function Tm(){let n=g.useContext(Zc);return Xc(n,"You must render this element inside a <HydratedRouter> element"),n}function T1(n,r){let i=g.useContext(Zc),[l,u]=g.useState(!1),[c,f]=g.useState(!1),{onFocus:p,onBlur:h,onMouseEnter:v,onMouseLeave:w,onTouchStart:x}=r,E=g.useRef(null);g.useEffect(()=>{if(n==="render"&&f(!0),n==="viewport"){let S=P=>{P.forEach(M=>{f(M.isIntersecting)})},C=new IntersectionObserver(S,{threshold:.5});return E.current&&C.observe(E.current),()=>{C.disconnect()}}},[n]),g.useEffect(()=>{if(l){let S=setTimeout(()=>{f(!0)},100);return()=>{clearTimeout(S)}}},[l]);let y=()=>{u(!0)},O=()=>{u(!1),f(!1)};return i?n!=="intent"?[c,E,{}]:[c,E,{onFocus:is(p,y),onBlur:is(h,O),onMouseEnter:is(v,y),onMouseLeave:is(w,O),onTouchStart:is(x,y)}]:[!1,E,{}]}function is(n,r){return i=>{n&&n(i),i.defaultPrevented||r(i)}}function M1({page:n,...r}){let{router:i}=Pm(),l=g.useMemo(()=>pm(i.routes,n,i.basename),[i.routes,n,i.basename]);return l?g.createElement(N1,{page:n,matches:l,...r}):null}function O1(n){let{manifest:r,routeModules:i}=Tm(),[l,u]=g.useState([]);return g.useEffect(()=>{let c=!1;return C1(n,r,i).then(f=>{c||u(f)}),()=>{c=!0}},[n,r,i]),l}function N1({page:n,matches:r,...i}){let l=Hr(),{future:u,manifest:c,routeModules:f}=Tm(),{basename:p}=Pm(),{loaderData:h,matches:v}=P1(),w=g.useMemo(()=>uh(n,r,v,c,l,"data"),[n,r,v,c,l]),x=g.useMemo(()=>uh(n,r,v,c,l,"assets"),[n,r,v,c,l]),E=g.useMemo(()=>{if(n===l.pathname+l.search+l.hash)return[];let S=new Set,C=!1;if(r.forEach(M=>{var L;let R=c.routes[M.route.id];!R||!R.hasLoader||(!w.some(z=>z.route.id===M.route.id)&&M.route.id in h&&((L=f[M.route.id])!=null&&L.shouldRevalidate)||R.hasClientLoader?C=!0:S.add(M.route.id))}),S.size===0)return[];let P=w1(n,p,u.unstable_trailingSlashAwareDataRequests,"data");return C&&S.size>0&&P.searchParams.set("_routes",r.filter(M=>S.has(M.route.id)).map(M=>M.route.id).join(",")),[P.pathname+P.search]},[p,u.unstable_trailingSlashAwareDataRequests,h,l,c,w,r,n,f]),y=g.useMemo(()=>E1(x,c),[x,c]),O=O1(x);return g.createElement(g.Fragment,null,E.map(S=>g.createElement("link",{key:S,rel:"prefetch",as:"fetch",href:S,...i})),y.map(S=>g.createElement("link",{key:S,rel:"modulepreload",href:S,...i})),O.map(({key:S,link:C})=>g.createElement("link",{key:S,nonce:i.nonce,...C,crossOrigin:C.crossOrigin??i.crossOrigin})))}function _1(...n){return r=>{n.forEach(i=>{typeof i=="function"?i(r):i!=null&&(i.current=r)})}}var L1=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{L1&&(window.__reactRouterVersion="7.13.0")}catch{}function qC({basename:n,children:r,unstable_useTransitions:i,window:l}){let u=g.useRef();u.current==null&&(u.current=h0({window:l,v5Compat:!0}));let c=u.current,[f,p]=g.useState({action:c.action,location:c.location}),h=g.useCallback(v=>{i===!1?p(v):g.startTransition(()=>p(v))},[i]);return g.useLayoutEffect(()=>c.listen(h),[c,h]),g.createElement(c1,{basename:n,children:r,location:f.location,navigationType:f.action,navigator:c,unstable_useTransitions:i})}var Mm=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Om=g.forwardRef(function({onClick:r,discover:i="render",prefetch:l="none",relative:u,reloadDocument:c,replace:f,state:p,target:h,to:v,preventScrollReset:w,viewTransition:x,unstable_defaultShouldRevalidate:E,...y},O){let{basename:S,unstable_useTransitions:C}=g.useContext(Ut),P=typeof v=="string"&&Mm.test(v),M=ym(v,S);v=M.to;let R=q0(v,{relative:u}),[L,z,U]=T1(l,y),H=F1(v,{replace:f,state:p,target:h,preventScrollReset:w,relative:u,viewTransition:x,unstable_defaultShouldRevalidate:E,unstable_useTransitions:C});function q(te){r&&r(te),te.defaultPrevented||H(te)}let Z=g.createElement("a",{...y,...U,href:M.absoluteURL||R,onClick:M.isExternal||c?r:q,ref:_1(O,z),target:h,"data-discover":!P&&i==="render"?"true":void 0});return L&&!P?g.createElement(g.Fragment,null,Z,g.createElement(M1,{page:R})):Z});Om.displayName="Link";var I1=g.forwardRef(function({"aria-current":r="page",caseSensitive:i=!1,className:l="",end:u=!1,style:c,to:f,viewTransition:p,children:h,...v},w){let x=ws(f,{relative:v.relative}),E=Hr(),y=g.useContext(sa),{navigator:O,basename:S}=g.useContext(Ut),C=y!=null&&H1(x)&&p===!0,P=O.encodeLocation?O.encodeLocation(x).pathname:x.pathname,M=E.pathname,R=y&&y.navigation&&y.navigation.location?y.navigation.location.pathname:null;i||(M=M.toLowerCase(),R=R?R.toLowerCase():null,P=P.toLowerCase()),R&&S&&(R=tr(R,S)||R);const L=P!=="/"&&P.endsWith("/")?P.length-1:P.length;let z=M===P||!u&&M.startsWith(P)&&M.charAt(L)==="/",U=R!=null&&(R===P||!u&&R.startsWith(P)&&R.charAt(P.length)==="/"),H={isActive:z,isPending:U,isTransitioning:C},q=z?r:void 0,Z;typeof l=="function"?Z=l(H):Z=[l,z?"active":null,U?"pending":null,C?"transitioning":null].filter(Boolean).join(" ");let te=typeof c=="function"?c(H):c;return g.createElement(Om,{...v,"aria-current":q,className:Z,ref:w,style:te,to:f,viewTransition:p},typeof h=="function"?h(H):h)});I1.displayName="NavLink";var A1=g.forwardRef(({discover:n="render",fetcherKey:r,navigate:i,reloadDocument:l,replace:u,state:c,method:f=Vl,action:p,onSubmit:h,relative:v,preventScrollReset:w,viewTransition:x,unstable_defaultShouldRevalidate:E,...y},O)=>{let{unstable_useTransitions:S}=g.useContext(Ut),C=B1(),P=U1(p,{relative:v}),M=f.toLowerCase()==="get"?"get":"post",R=typeof p=="string"&&Mm.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,q=()=>C(U||z.currentTarget,{fetcherKey:r,method:H,navigate:i,replace:u,state:c,relative:v,preventScrollReset:w,viewTransition:x,unstable_defaultShouldRevalidate:E});S&&i!==!1?g.startTransition(()=>q()):q()};return g.createElement("form",{ref:O,method:M,action:P,onSubmit:l?h:L,...y,"data-discover":!R&&n==="render"?"true":void 0})});A1.displayName="Form";function D1(n){return`${n} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Nm(n){let r=g.useContext(mi);return $e(r,D1(n)),r}function F1(n,{target:r,replace:i,state:l,preventScrollReset:u,relative:c,viewTransition:f,unstable_defaultShouldRevalidate:p,unstable_useTransitions:h}={}){let v=Em(),w=Hr(),x=ws(n,{relative:c});return g.useCallback(E=>{if(m1(E,r)){E.preventDefault();let y=i!==void 0?i:cs(w)===cs(x),O=()=>v(n,{replace:y,state:l,preventScrollReset:u,relative:c,viewTransition:f,unstable_defaultShouldRevalidate:p});h?g.startTransition(()=>O()):O()}},[w,v,x,i,l,r,n,u,c,f,p,h])}var z1=0,j1=()=>`__${String(++z1)}__`;function B1(){let{router:n}=Nm("useSubmit"),{basename:r}=g.useContext(Ut),i=i1(),l=n.fetch,u=n.navigate;return g.useCallback(async(c,f={})=>{let{action:p,method:h,encType:v,formData:w,body:x}=g1(c,r);if(f.navigate===!1){let E=f.fetcherKey||j1();await l(E,i,f.action||p,{unstable_defaultShouldRevalidate:f.unstable_defaultShouldRevalidate,preventScrollReset:f.preventScrollReset,formData:w,body:x,formMethod:f.method||h,formEncType:f.encType||v,flushSync:f.flushSync})}else await u(f.action||p,{unstable_defaultShouldRevalidate:f.unstable_defaultShouldRevalidate,preventScrollReset:f.preventScrollReset,formData:w,body:x,formMethod:f.method||h,formEncType:f.encType||v,replace:f.replace,state:f.state,fromRouteId:i,flushSync:f.flushSync,viewTransition:f.viewTransition})},[l,u,r,i])}function U1(n,{relative:r}={}){let{basename:i}=g.useContext(Ut),l=g.useContext(vn);$e(l,"useFormAction must be used inside a RouteContext");let[u]=l.matches.slice(-1),c={...ws(n||".",{relative:r})},f=Hr();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===".")&&u.route.index&&(c.search=c.search?c.search.replace(/^\?/,"?index&"):"?index"),i!=="/"&&(c.pathname=c.pathname==="/"?i:Jn([i,c.pathname])),cs(c)}function H1(n,{relative:r}={}){let i=g.useContext(wm);$e(i!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:l}=Nm("useViewTransitionState"),u=ws(n,{relative:r});if(!i.isTransitioning)return!1;let c=tr(i.currentLocation.pathname,l)||i.currentLocation.pathname,f=tr(i.nextLocation.pathname,l)||i.nextLocation.pathname;return Xl(u.pathname,f)!=null||Xl(u.pathname,c)!=null}var xs=fm();const _m=cm(xs);var yi=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(){}},$1={setTimeout:(n,r)=>setTimeout(n,r),clearTimeout:n=>clearTimeout(n),setInterval:(n,r)=>setInterval(n,r),clearInterval:n=>clearInterval(n)},Or,Wc,Jh,W1=(Jh=class{constructor(){he(this,Or,$1);he(this,Wc,!1)}setTimeoutProvider(n){J(this,Or,n)}setTimeout(n,r){return b(this,Or).setTimeout(n,r)}clearTimeout(n){b(this,Or).clearTimeout(n)}setInterval(n,r){return b(this,Or).setInterval(n,r)}clearInterval(n){b(this,Or).clearInterval(n)}},Or=new WeakMap,Wc=new WeakMap,Jh),io=new W1;function V1(n){setTimeout(n,0)}var vo=typeof window>"u"||"Deno"in globalThis;function Ct(){}function Q1(n,r){return typeof n=="function"?n(r):n}function gc(n){return typeof n=="number"&&n>=0&&n!==1/0}function Lm(n,r){return Math.max(n+(r||0)-Date.now(),0)}function jr(n,r){return typeof n=="function"?n(r):n}function Yt(n,r){return typeof n=="function"?n(r):n}function ch(n,r){const{type:i="all",exact:l,fetchStatus:u,predicate:c,queryKey:f,stale:p}=n;if(f){if(l){if(r.queryHash!==Jc(f,r.options))return!1}else if(!ds(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||u&&u!==r.state.fetchStatus||c&&!c(r))}function dh(n,r){const{exact:i,status:l,predicate:u,mutationKey:c}=n;if(c){if(!r.options.mutationKey)return!1;if(i){if(yo(r.options.mutationKey)!==yo(c))return!1}else if(!ds(r.options.mutationKey,c))return!1}return!(l&&r.state.status!==l||u&&!u(r))}function Jc(n,r){return((r==null?void 0:r.queryKeyHashFn)||yo)(n)}function yo(n){return JSON.stringify(n,(r,i)=>wc(i)?Object.keys(i).sort().reduce((l,u)=>(l[u]=i[u],l),{}):i)}function ds(n,r){return n===r?!0:typeof n!=typeof r?!1:n&&r&&typeof n=="object"&&typeof r=="object"?Object.keys(r).every(i=>ds(n[i],r[i])):!1}var K1=Object.prototype.hasOwnProperty;function Im(n,r,i=0){if(n===r)return n;if(i>500)return r;const l=fh(n)&&fh(r);if(!l&&!(wc(n)&&wc(r)))return r;const c=(l?n:Object.keys(n)).length,f=l?r:Object.keys(r),p=f.length,h=l?new Array(p):{};let v=0;for(let w=0;w<p;w++){const x=l?w:f[w],E=n[x],y=r[x];if(E===y){h[x]=E,(l?w<c:K1.call(n,x))&&v++;continue}if(E===null||y===null||typeof E!="object"||typeof y!="object"){h[x]=y;continue}const O=Im(E,y,i+1);h[x]=O,O===E&&v++}return c===p&&v===c?n:h}function Zl(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 fh(n){return Array.isArray(n)&&n.length===Object.keys(n).length}function wc(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 q1(n){return new Promise(r=>{io.setTimeout(r,n)})}function xc(n,r,i){return typeof i.structuralSharing=="function"?i.structuralSharing(n,r):i.structuralSharing!==!1?Im(n,r):r}function G1(n,r,i=0){const l=[...n,r];return i&&l.length>i?l.slice(1):l}function Y1(n,r,i=0){const l=[r,...n];return i&&l.length>i?l.slice(0,-1):l}var ed=Symbol();function Am(n,r){return!n.queryFn&&(r!=null&&r.initialPromise)?()=>r.initialPromise:!n.queryFn||n.queryFn===ed?()=>Promise.reject(new Error(`Missing queryFn: '${n.queryHash}'`)):n.queryFn}function td(n,r){return typeof n=="function"?n(...r):!!n}function X1(n,r,i){let l=!1,u;return Object.defineProperty(n,"signal",{enumerable:!0,get:()=>(u??(u=r()),l||(l=!0,u.aborted?i():u.addEventListener("abort",i,{once:!0})),u)}),n}var so,Nr,ti,em,Z1=(em=class extends yi{constructor(){super();he(this,so);he(this,Nr);he(this,ti);J(this,ti,r=>{if(!vo&&window.addEventListener){const i=()=>r();return window.addEventListener("visibilitychange",i,!1),()=>{window.removeEventListener("visibilitychange",i)}}})}onSubscribe(){b(this,Nr)||this.setEventListener(b(this,ti))}onUnsubscribe(){var r;this.hasListeners()||((r=b(this,Nr))==null||r.call(this),J(this,Nr,void 0))}setEventListener(r){var i;J(this,ti,r),(i=b(this,Nr))==null||i.call(this),J(this,Nr,r(l=>{typeof l=="boolean"?this.setFocused(l):this.onFocus()}))}setFocused(r){b(this,so)!==r&&(J(this,so,r),this.onFocus())}onFocus(){const r=this.isFocused();this.listeners.forEach(i=>{i(r)})}isFocused(){var r;return typeof b(this,so)=="boolean"?b(this,so):((r=globalThis.document)==null?void 0:r.visibilityState)!=="hidden"}},so=new WeakMap,Nr=new WeakMap,ti=new WeakMap,em),nd=new Z1;function Sc(){let n,r;const i=new Promise((u,c)=>{n=u,r=c});i.status="pending",i.catch(()=>{});function l(u){Object.assign(i,u),delete i.resolve,delete i.reject}return i.resolve=u=>{l({status:"fulfilled",value:u}),n(u)},i.reject=u=>{l({status:"rejected",reason:u}),r(u)},i}var J1=V1;function ew(){let n=[],r=0,i=p=>{p()},l=p=>{p()},u=J1;const c=p=>{r?n.push(p):u(()=>{i(p)})},f=()=>{const p=n;n=[],p.length&&u(()=>{l(()=>{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=>{l=p},setScheduler:p=>{u=p}}}var nt=ew(),ni,_r,ri,tm,tw=(tm=class extends yi{constructor(){super();he(this,ni,!0);he(this,_r);he(this,ri);J(this,ri,r=>{if(!vo&&window.addEventListener){const i=()=>r(!0),l=()=>r(!1);return window.addEventListener("online",i,!1),window.addEventListener("offline",l,!1),()=>{window.removeEventListener("online",i),window.removeEventListener("offline",l)}}})}onSubscribe(){b(this,_r)||this.setEventListener(b(this,ri))}onUnsubscribe(){var r;this.hasListeners()||((r=b(this,_r))==null||r.call(this),J(this,_r,void 0))}setEventListener(r){var i;J(this,ri,r),(i=b(this,_r))==null||i.call(this),J(this,_r,r(this.setOnline.bind(this)))}setOnline(r){b(this,ni)!==r&&(J(this,ni,r),this.listeners.forEach(l=>{l(r)}))}isOnline(){return b(this,ni)}},ni=new WeakMap,_r=new WeakMap,ri=new WeakMap,tm),Jl=new tw;function nw(n){return Math.min(1e3*2**n,3e4)}function Dm(n){return(n??"online")==="online"?Jl.isOnline():!0}var Cc=class extends Error{constructor(n){super("CancelledError"),this.revert=n==null?void 0:n.revert,this.silent=n==null?void 0:n.silent}};function Fm(n){let r=!1,i=0,l;const u=Sc(),c=()=>u.status!=="pending",f=S=>{var C;if(!c()){const P=new Cc(S);E(P),(C=n.onCancel)==null||C.call(n,P)}},p=()=>{r=!0},h=()=>{r=!1},v=()=>nd.isFocused()&&(n.networkMode==="always"||Jl.isOnline())&&n.canRun(),w=()=>Dm(n.networkMode)&&n.canRun(),x=S=>{c()||(l==null||l(),u.resolve(S))},E=S=>{c()||(l==null||l(),u.reject(S))},y=()=>new Promise(S=>{var C;l=P=>{(c()||v())&&S(P)},(C=n.onPause)==null||C.call(n)}).then(()=>{var S;l=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 M=n.retry??(vo?0:3),R=n.retryDelay??nw,L=typeof R=="function"?R(i,P):R,z=M===!0||typeof M=="number"&&i<M||typeof M=="function"&&M(i,P);if(r||!z){E(P);return}i++,(U=n.onFail)==null||U.call(n,i,P),q1(L).then(()=>v()?void 0:y()).then(()=>{r?E(P):O()})})};return{promise:u,status:()=>u.status,cancel:f,continue:()=>(l==null||l(),u),cancelRetry:p,continueRetry:h,canStart:w,start:()=>(w()?O():y().then(O),u)}}var lo,nm,zm=(nm=class{constructor(){he(this,lo)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),gc(this.gcTime)&&J(this,lo,io.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(n){this.gcTime=Math.max(this.gcTime||0,n??(vo?1/0:300*1e3))}clearGcTimeout(){b(this,lo)&&(io.clearTimeout(b(this,lo)),J(this,lo,void 0))}},lo=new WeakMap,nm),ao,oi,Gt,uo,st,ps,co,dn,qn,rm,rw=(rm=class extends zm{constructor(r){super();he(this,dn);he(this,ao);he(this,oi);he(this,Gt);he(this,uo);he(this,st);he(this,ps);he(this,co);J(this,co,!1),J(this,ps,r.defaultOptions),this.setOptions(r.options),this.observers=[],J(this,uo,r.client),J(this,Gt,b(this,uo).getQueryCache()),this.queryKey=r.queryKey,this.queryHash=r.queryHash,J(this,ao,mh(this.options)),this.state=r.state??b(this,ao),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var r;return(r=b(this,st))==null?void 0:r.promise}setOptions(r){if(this.options={...b(this,ps),...r},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const i=mh(this.options);i.data!==void 0&&(this.setState(hh(i.data,i.dataUpdatedAt)),J(this,ao,i))}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&b(this,Gt).remove(this)}setData(r,i){const l=xc(this.state.data,r,this.options);return Pe(this,dn,qn).call(this,{data:l,type:"success",dataUpdatedAt:i==null?void 0:i.updatedAt,manual:i==null?void 0:i.manual}),l}setState(r,i){Pe(this,dn,qn).call(this,{type:"setState",state:r,setStateOptions:i})}cancel(r){var l,u;const i=(l=b(this,st))==null?void 0:l.promise;return(u=b(this,st))==null||u.cancel(r),i?i.then(Ct).catch(Ct):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(b(this,ao))}isActive(){return this.observers.some(r=>Yt(r.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===ed||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(r=>jr(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:!Lm(this.state.dataUpdatedAt,r)}onFocus(){var i;const r=this.observers.find(l=>l.shouldFetchOnWindowFocus());r==null||r.refetch({cancelRefetch:!1}),(i=b(this,st))==null||i.continue()}onOnline(){var i;const r=this.observers.find(l=>l.shouldFetchOnReconnect());r==null||r.refetch({cancelRefetch:!1}),(i=b(this,st))==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,st)&&(b(this,co)?b(this,st).cancel({revert:!0}):b(this,st).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,qn).call(this,{type:"invalidate"})}async fetch(r,i){var h,v,w,x,E,y,O,S,C,P,M,R;if(this.state.fetchStatus!=="idle"&&((h=b(this,st))==null?void 0:h.status())!=="rejected"){if(this.state.data!==void 0&&(i!=null&&i.cancelRefetch))this.cancel({silent:!0});else if(b(this,st))return b(this,st).continueRetry(),b(this,st).promise}if(r&&this.setOptions(r),!this.options.queryFn){const L=this.observers.find(z=>z.options.queryFn);L&&this.setOptions(L.options)}const l=new AbortController,u=L=>{Object.defineProperty(L,"signal",{enumerable:!0,get:()=>(J(this,co,!0),l.signal)})},c=()=>{const L=Am(this.options,i),U=(()=>{const H={client:b(this,uo),queryKey:this.queryKey,meta:this.meta};return u(H),H})();return J(this,co,!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,uo),state:this.state,fetchFn:c};return u(L),L})();(v=this.options.behavior)==null||v.onFetch(p,this),J(this,oi,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((w=p.fetchOptions)==null?void 0:w.meta))&&Pe(this,dn,qn).call(this,{type:"fetch",meta:(x=p.fetchOptions)==null?void 0:x.meta}),J(this,st,Fm({initialPromise:i==null?void 0:i.initialPromise,fn:p.fetchFn,onCancel:L=>{L instanceof Cc&&L.revert&&this.setState({...b(this,oi),fetchStatus:"idle"}),l.abort()},onFail:(L,z)=>{Pe(this,dn,qn).call(this,{type:"failed",failureCount:L,error:z})},onPause:()=>{Pe(this,dn,qn).call(this,{type:"pause"})},onContinue:()=>{Pe(this,dn,qn).call(this,{type:"continue"})},retry:p.options.retry,retryDelay:p.options.retryDelay,networkMode:p.options.networkMode,canRun:()=>!0}));try{const L=await b(this,st).start();if(L===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(L),(y=(E=b(this,Gt).config).onSuccess)==null||y.call(E,L,this),(S=(O=b(this,Gt).config).onSettled)==null||S.call(O,L,this.state.error,this),L}catch(L){if(L instanceof Cc){if(L.silent)return b(this,st).promise;if(L.revert){if(this.state.data===void 0)throw L;return this.state.data}}throw Pe(this,dn,qn).call(this,{type:"error",error:L}),(P=(C=b(this,Gt).config).onError)==null||P.call(C,L,this),(R=(M=b(this,Gt).config).onSettled)==null||R.call(M,this.state.data,L,this),L}finally{this.scheduleGc()}}},ao=new WeakMap,oi=new WeakMap,Gt=new WeakMap,uo=new WeakMap,st=new WeakMap,ps=new WeakMap,co=new WeakMap,dn=new WeakSet,qn=function(r){const i=l=>{switch(r.type){case"failed":return{...l,fetchFailureCount:r.failureCount,fetchFailureReason:r.error};case"pause":return{...l,fetchStatus:"paused"};case"continue":return{...l,fetchStatus:"fetching"};case"fetch":return{...l,...jm(l.data,this.options),fetchMeta:r.meta??null};case"success":const u={...l,...hh(r.data,r.dataUpdatedAt),dataUpdateCount:l.dataUpdateCount+1,...!r.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return J(this,oi,r.manual?u:void 0),u;case"error":const c=r.error;return{...l,error:c,errorUpdateCount:l.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:l.fetchFailureCount+1,fetchFailureReason:c,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...l,isInvalidated:!0};case"setState":return{...l,...r.state}}};this.state=i(this.state),nt.batch(()=>{this.observers.forEach(l=>{l.onQueryUpdate()}),b(this,Gt).notify({query:this,type:"updated",action:r})})},rm);function jm(n,r){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Dm(r.networkMode)?"fetching":"paused",...n===void 0&&{error:null,status:"pending"}}}function hh(n,r){return{data:n,dataUpdatedAt:r??Date.now(),error:null,isInvalidated:!1,status:"success"}}function mh(n){const r=typeof n.initialData=="function"?n.initialData():n.initialData,i=r!==void 0,l=i?typeof n.initialDataUpdatedAt=="function"?n.initialDataUpdatedAt():n.initialDataUpdatedAt:0;return{data:r,dataUpdateCount:0,dataUpdatedAt:i?l??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:i?"success":"pending",fetchStatus:"idle"}}var Nt,Ne,hs,St,fo,ii,Gn,Lr,ms,si,li,po,ho,Ir,ai,Ae,as,Ec,kc,bc,Rc,Pc,Tc,Mc,Bm,om,ow=(om=class extends yi{constructor(r,i){super();he(this,Ae);he(this,Nt);he(this,Ne);he(this,hs);he(this,St);he(this,fo);he(this,ii);he(this,Gn);he(this,Lr);he(this,ms);he(this,si);he(this,li);he(this,po);he(this,ho);he(this,Ir);he(this,ai,new Set);this.options=i,J(this,Nt,r),J(this,Lr,null),J(this,Gn,Sc()),this.bindMethods(),this.setOptions(i)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(b(this,Ne).addObserver(this),vh(b(this,Ne),this.options)?Pe(this,Ae,as).call(this):this.updateResult(),Pe(this,Ae,Rc).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Oc(b(this,Ne),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Oc(b(this,Ne),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,Pe(this,Ae,Pc).call(this),Pe(this,Ae,Tc).call(this),b(this,Ne).removeObserver(this)}setOptions(r){const i=this.options,l=b(this,Ne);if(this.options=b(this,Nt).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,Ae,Mc).call(this),b(this,Ne).setOptions(this.options),i._defaulted&&!Zl(this.options,i)&&b(this,Nt).getQueryCache().notify({type:"observerOptionsUpdated",query:b(this,Ne),observer:this});const u=this.hasListeners();u&&yh(b(this,Ne),l,this.options,i)&&Pe(this,Ae,as).call(this),this.updateResult(),u&&(b(this,Ne)!==l||Yt(this.options.enabled,b(this,Ne))!==Yt(i.enabled,b(this,Ne))||jr(this.options.staleTime,b(this,Ne))!==jr(i.staleTime,b(this,Ne)))&&Pe(this,Ae,Ec).call(this);const c=Pe(this,Ae,kc).call(this);u&&(b(this,Ne)!==l||Yt(this.options.enabled,b(this,Ne))!==Yt(i.enabled,b(this,Ne))||c!==b(this,Ir))&&Pe(this,Ae,bc).call(this,c)}getOptimisticResult(r){const i=b(this,Nt).getQueryCache().build(b(this,Nt),r),l=this.createResult(i,r);return sw(this,l)&&(J(this,St,l),J(this,ii,this.options),J(this,fo,b(this,Ne).state)),l}getCurrentResult(){return b(this,St)}trackResult(r,i){return new Proxy(r,{get:(l,u)=>(this.trackProp(u),i==null||i(u),u==="promise"&&(this.trackProp("data"),!this.options.experimental_prefetchInRender&&b(this,Gn).status==="pending"&&b(this,Gn).reject(new Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(l,u))})}trackProp(r){b(this,ai).add(r)}getCurrentQuery(){return b(this,Ne)}refetch({...r}={}){return this.fetch({...r})}fetchOptimistic(r){const i=b(this,Nt).defaultQueryOptions(r),l=b(this,Nt).getQueryCache().build(b(this,Nt),i);return l.fetch().then(()=>this.createResult(l,i))}fetch(r){return Pe(this,Ae,as).call(this,{...r,cancelRefetch:r.cancelRefetch??!0}).then(()=>(this.updateResult(),b(this,St)))}createResult(r,i){var Z;const l=b(this,Ne),u=this.options,c=b(this,St),f=b(this,fo),p=b(this,ii),v=r!==l?r.state:b(this,hs),{state:w}=r;let x={...w},E=!1,y;if(i._optimisticResults){const te=this.hasListeners(),pe=!te&&vh(r,i),X=te&&yh(r,l,i,u);(pe||X)&&(x={...x,...jm(w.data,r.options)}),i._optimisticResults==="isRestoring"&&(x.fetchStatus="idle")}let{error:O,errorUpdatedAt:S,status:C}=x;y=x.data;let P=!1;if(i.placeholderData!==void 0&&y===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((Z=b(this,li))==null?void 0:Z.state.data,b(this,li)):i.placeholderData,te!==void 0&&(C="success",y=xc(c==null?void 0:c.data,te,i),E=!0)}if(i.select&&y!==void 0&&!P)if(c&&y===(f==null?void 0:f.data)&&i.select===b(this,ms))y=b(this,si);else try{J(this,ms,i.select),y=i.select(y),y=xc(c==null?void 0:c.data,y,i),J(this,si,y),J(this,Lr,null)}catch(te){J(this,Lr,te)}b(this,Lr)&&(O=b(this,Lr),y=b(this,si),S=Date.now(),C="error");const M=x.fetchStatus==="fetching",R=C==="pending",L=C==="error",z=R&&M,U=y!==void 0,q={status:C,fetchStatus:x.fetchStatus,isPending:R,isSuccess:C==="success",isError:L,isInitialLoading:z,isLoading:z,data:y,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>v.dataUpdateCount||x.errorUpdateCount>v.errorUpdateCount,isFetching:M,isRefetching:M&&!R,isLoadingError:L&&!U,isPaused:x.fetchStatus==="paused",isPlaceholderData:E,isRefetchError:L&&U,isStale:rd(r,i),refetch:this.refetch,promise:b(this,Gn),isEnabled:Yt(i.enabled,r)!==!1};if(this.options.experimental_prefetchInRender){const te=q.data!==void 0,pe=q.status==="error"&&!te,X=xe=>{pe?xe.reject(q.error):te&&xe.resolve(q.data)},ye=()=>{const xe=J(this,Gn,q.promise=Sc());X(xe)},ce=b(this,Gn);switch(ce.status){case"pending":r.queryHash===l.queryHash&&X(ce);break;case"fulfilled":(pe||q.data!==ce.value)&&ye();break;case"rejected":(!pe||q.error!==ce.reason)&&ye();break}}return q}updateResult(){const r=b(this,St),i=this.createResult(b(this,Ne),this.options);if(J(this,fo,b(this,Ne).state),J(this,ii,this.options),b(this,fo).data!==void 0&&J(this,li,b(this,Ne)),Zl(i,r))return;J(this,St,i);const l=()=>{if(!r)return!0;const{notifyOnChangeProps:u}=this.options,c=typeof u=="function"?u():u;if(c==="all"||!c&&!b(this,ai).size)return!0;const f=new Set(c??b(this,ai));return this.options.throwOnError&&f.add("error"),Object.keys(b(this,St)).some(p=>{const h=p;return b(this,St)[h]!==r[h]&&f.has(h)})};Pe(this,Ae,Bm).call(this,{listeners:l()})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&Pe(this,Ae,Rc).call(this)}},Nt=new WeakMap,Ne=new WeakMap,hs=new WeakMap,St=new WeakMap,fo=new WeakMap,ii=new WeakMap,Gn=new WeakMap,Lr=new WeakMap,ms=new WeakMap,si=new WeakMap,li=new WeakMap,po=new WeakMap,ho=new WeakMap,Ir=new WeakMap,ai=new WeakMap,Ae=new WeakSet,as=function(r){Pe(this,Ae,Mc).call(this);let i=b(this,Ne).fetch(this.options,r);return r!=null&&r.throwOnError||(i=i.catch(Ct)),i},Ec=function(){Pe(this,Ae,Pc).call(this);const r=jr(this.options.staleTime,b(this,Ne));if(vo||b(this,St).isStale||!gc(r))return;const l=Lm(b(this,St).dataUpdatedAt,r)+1;J(this,po,io.setTimeout(()=>{b(this,St).isStale||this.updateResult()},l))},kc=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(b(this,Ne)):this.options.refetchInterval)??!1},bc=function(r){Pe(this,Ae,Tc).call(this),J(this,Ir,r),!(vo||Yt(this.options.enabled,b(this,Ne))===!1||!gc(b(this,Ir))||b(this,Ir)===0)&&J(this,ho,io.setInterval(()=>{(this.options.refetchIntervalInBackground||nd.isFocused())&&Pe(this,Ae,as).call(this)},b(this,Ir)))},Rc=function(){Pe(this,Ae,Ec).call(this),Pe(this,Ae,bc).call(this,Pe(this,Ae,kc).call(this))},Pc=function(){b(this,po)&&(io.clearTimeout(b(this,po)),J(this,po,void 0))},Tc=function(){b(this,ho)&&(io.clearInterval(b(this,ho)),J(this,ho,void 0))},Mc=function(){const r=b(this,Nt).getQueryCache().build(b(this,Nt),this.options);if(r===b(this,Ne))return;const i=b(this,Ne);J(this,Ne,r),J(this,hs,r.state),this.hasListeners()&&(i==null||i.removeObserver(this),r.addObserver(this))},Bm=function(r){nt.batch(()=>{r.listeners&&this.listeners.forEach(i=>{i(b(this,St))}),b(this,Nt).getQueryCache().notify({query:b(this,Ne),type:"observerResultsUpdated"})})},om);function iw(n,r){return Yt(r.enabled,n)!==!1&&n.state.data===void 0&&!(n.state.status==="error"&&r.retryOnMount===!1)}function vh(n,r){return iw(n,r)||n.state.data!==void 0&&Oc(n,r,r.refetchOnMount)}function Oc(n,r,i){if(Yt(r.enabled,n)!==!1&&jr(r.staleTime,n)!=="static"){const l=typeof i=="function"?i(n):i;return l==="always"||l!==!1&&rd(n,r)}return!1}function yh(n,r,i,l){return(n!==r||Yt(l.enabled,n)===!1)&&(!i.suspense||n.state.status!=="error")&&rd(n,i)}function rd(n,r){return Yt(r.enabled,n)!==!1&&n.isStaleByTime(jr(r.staleTime,n))}function sw(n,r){return!Zl(n.getCurrentResult(),r)}function gh(n){return{onFetch:(r,i)=>{var w,x,E,y,O;const l=r.options,u=(E=(x=(w=r.fetchOptions)==null?void 0:w.meta)==null?void 0:x.fetchMore)==null?void 0:E.direction,c=((y=r.state.data)==null?void 0:y.pages)||[],f=((O=r.state.data)==null?void 0:O.pageParams)||[];let p={pages:[],pageParams:[]},h=0;const v=async()=>{let S=!1;const C=R=>{X1(R,()=>r.signal,()=>S=!0)},P=Am(r.options,r.fetchOptions),M=async(R,L,z)=>{if(S)return Promise.reject();if(L==null&&R.pages.length)return Promise.resolve(R);const H=(()=>{const pe={client:r.client,queryKey:r.queryKey,pageParam:L,direction:z?"backward":"forward",meta:r.options.meta};return C(pe),pe})(),q=await P(H),{maxPages:Z}=r.options,te=z?Y1:G1;return{pages:te(R.pages,q,Z),pageParams:te(R.pageParams,L,Z)}};if(u&&c.length){const R=u==="backward",L=R?lw:wh,z={pages:c,pageParams:f},U=L(l,z);p=await M(z,U,R)}else{const R=n??c.length;do{const L=h===0?f[0]??l.initialPageParam:wh(l,p);if(h>0&&L==null)break;p=await M(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,v,{client:r.client,queryKey:r.queryKey,meta:r.options.meta,signal:r.signal},i)}:r.fetchFn=v}}}function wh(n,{pages:r,pageParams:i}){const l=r.length-1;return r.length>0?n.getNextPageParam(r[l],r,i[l],i):void 0}function lw(n,{pages:r,pageParams:i}){var l;return r.length>0?(l=n.getPreviousPageParam)==null?void 0:l.call(n,r[0],r,i[0],i):void 0}var vs,On,vt,mo,Nn,Tr,im,aw=(im=class extends zm{constructor(r){super();he(this,Nn);he(this,vs);he(this,On);he(this,vt);he(this,mo);J(this,vs,r.client),this.mutationId=r.mutationId,J(this,vt,r.mutationCache),J(this,On,[]),this.state=r.state||Um(),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,On).includes(r)||(b(this,On).push(r),this.clearGcTimeout(),b(this,vt).notify({type:"observerAdded",mutation:this,observer:r}))}removeObserver(r){J(this,On,b(this,On).filter(i=>i!==r)),this.scheduleGc(),b(this,vt).notify({type:"observerRemoved",mutation:this,observer:r})}optionalRemove(){b(this,On).length||(this.state.status==="pending"?this.scheduleGc():b(this,vt).remove(this))}continue(){var r;return((r=b(this,mo))==null?void 0:r.continue())??this.execute(this.state.variables)}async execute(r){var f,p,h,v,w,x,E,y,O,S,C,P,M,R,L,z,U,H;const i=()=>{Pe(this,Nn,Tr).call(this,{type:"continue"})},l={client:b(this,vs),meta:this.options.meta,mutationKey:this.options.mutationKey};J(this,mo,Fm({fn:()=>this.options.mutationFn?this.options.mutationFn(r,l):Promise.reject(new Error("No mutationFn found")),onFail:(q,Z)=>{Pe(this,Nn,Tr).call(this,{type:"failed",failureCount:q,error:Z})},onPause:()=>{Pe(this,Nn,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 u=this.state.status==="pending",c=!b(this,mo).canStart();try{if(u)i();else{Pe(this,Nn,Tr).call(this,{type:"pending",variables:r,isPaused:c}),b(this,vt).config.onMutate&&await b(this,vt).config.onMutate(r,this,l);const Z=await((p=(f=this.options).onMutate)==null?void 0:p.call(f,r,l));Z!==this.state.context&&Pe(this,Nn,Tr).call(this,{type:"pending",context:Z,variables:r,isPaused:c})}const q=await b(this,mo).start();return await((v=(h=b(this,vt).config).onSuccess)==null?void 0:v.call(h,q,r,this.state.context,this,l)),await((x=(w=this.options).onSuccess)==null?void 0:x.call(w,q,r,this.state.context,l)),await((y=(E=b(this,vt).config).onSettled)==null?void 0:y.call(E,q,null,this.state.variables,this.state.context,this,l)),await((S=(O=this.options).onSettled)==null?void 0:S.call(O,q,null,r,this.state.context,l)),Pe(this,Nn,Tr).call(this,{type:"success",data:q}),q}catch(q){try{await((P=(C=b(this,vt).config).onError)==null?void 0:P.call(C,q,r,this.state.context,this,l))}catch(Z){Promise.reject(Z)}try{await((R=(M=this.options).onError)==null?void 0:R.call(M,q,r,this.state.context,l))}catch(Z){Promise.reject(Z)}try{await((z=(L=b(this,vt).config).onSettled)==null?void 0:z.call(L,void 0,q,this.state.variables,this.state.context,this,l))}catch(Z){Promise.reject(Z)}try{await((H=(U=this.options).onSettled)==null?void 0:H.call(U,void 0,q,r,this.state.context,l))}catch(Z){Promise.reject(Z)}throw Pe(this,Nn,Tr).call(this,{type:"error",error:q}),q}finally{b(this,vt).runNext(this)}}},vs=new WeakMap,On=new WeakMap,vt=new WeakMap,mo=new WeakMap,Nn=new WeakSet,Tr=function(r){const i=l=>{switch(r.type){case"failed":return{...l,failureCount:r.failureCount,failureReason:r.error};case"pause":return{...l,isPaused:!0};case"continue":return{...l,isPaused:!1};case"pending":return{...l,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{...l,data:r.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...l,data:void 0,error:r.error,failureCount:l.failureCount+1,failureReason:r.error,isPaused:!1,status:"error"}}};this.state=i(this.state),nt.batch(()=>{b(this,On).forEach(l=>{l.onMutationUpdate(r)}),b(this,vt).notify({mutation:this,type:"updated",action:r})})},im);function Um(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Yn,fn,ys,sm,uw=(sm=class extends yi{constructor(r={}){super();he(this,Yn);he(this,fn);he(this,ys);this.config=r,J(this,Yn,new Set),J(this,fn,new Map),J(this,ys,0)}build(r,i,l){const u=new aw({client:r,mutationCache:this,mutationId:++Al(this,ys)._,options:r.defaultMutationOptions(i),state:l});return this.add(u),u}add(r){b(this,Yn).add(r);const i=zl(r);if(typeof i=="string"){const l=b(this,fn).get(i);l?l.push(r):b(this,fn).set(i,[r])}this.notify({type:"added",mutation:r})}remove(r){if(b(this,Yn).delete(r)){const i=zl(r);if(typeof i=="string"){const l=b(this,fn).get(i);if(l)if(l.length>1){const u=l.indexOf(r);u!==-1&&l.splice(u,1)}else l[0]===r&&b(this,fn).delete(i)}}this.notify({type:"removed",mutation:r})}canRun(r){const i=zl(r);if(typeof i=="string"){const l=b(this,fn).get(i),u=l==null?void 0:l.find(c=>c.state.status==="pending");return!u||u===r}else return!0}runNext(r){var l;const i=zl(r);if(typeof i=="string"){const u=(l=b(this,fn).get(i))==null?void 0:l.find(c=>c!==r&&c.state.isPaused);return(u==null?void 0:u.continue())??Promise.resolve()}else return Promise.resolve()}clear(){nt.batch(()=>{b(this,Yn).forEach(r=>{this.notify({type:"removed",mutation:r})}),b(this,Yn).clear(),b(this,fn).clear()})}getAll(){return Array.from(b(this,Yn))}find(r){const i={exact:!0,...r};return this.getAll().find(l=>dh(i,l))}findAll(r={}){return this.getAll().filter(i=>dh(r,i))}notify(r){nt.batch(()=>{this.listeners.forEach(i=>{i(r)})})}resumePausedMutations(){const r=this.getAll().filter(i=>i.state.isPaused);return nt.batch(()=>Promise.all(r.map(i=>i.continue().catch(Ct))))}},Yn=new WeakMap,fn=new WeakMap,ys=new WeakMap,sm);function zl(n){var r;return(r=n.options.scope)==null?void 0:r.id}var Xn,Ar,_t,Zn,er,Kl,Nc,lm,cw=(lm=class extends yi{constructor(i,l){super();he(this,er);he(this,Xn);he(this,Ar);he(this,_t);he(this,Zn);J(this,Xn,i),this.setOptions(l),this.bindMethods(),Pe(this,er,Kl).call(this)}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(i){var u;const l=this.options;this.options=b(this,Xn).defaultMutationOptions(i),Zl(this.options,l)||b(this,Xn).getMutationCache().notify({type:"observerOptionsUpdated",mutation:b(this,_t),observer:this}),l!=null&&l.mutationKey&&this.options.mutationKey&&yo(l.mutationKey)!==yo(this.options.mutationKey)?this.reset():((u=b(this,_t))==null?void 0:u.state.status)==="pending"&&b(this,_t).setOptions(this.options)}onUnsubscribe(){var i;this.hasListeners()||(i=b(this,_t))==null||i.removeObserver(this)}onMutationUpdate(i){Pe(this,er,Kl).call(this),Pe(this,er,Nc).call(this,i)}getCurrentResult(){return b(this,Ar)}reset(){var i;(i=b(this,_t))==null||i.removeObserver(this),J(this,_t,void 0),Pe(this,er,Kl).call(this),Pe(this,er,Nc).call(this)}mutate(i,l){var u;return J(this,Zn,l),(u=b(this,_t))==null||u.removeObserver(this),J(this,_t,b(this,Xn).getMutationCache().build(b(this,Xn),this.options)),b(this,_t).addObserver(this),b(this,_t).execute(i)}},Xn=new WeakMap,Ar=new WeakMap,_t=new WeakMap,Zn=new WeakMap,er=new WeakSet,Kl=function(){var l;const i=((l=b(this,_t))==null?void 0:l.state)??Um();J(this,Ar,{...i,isPending:i.status==="pending",isSuccess:i.status==="success",isError:i.status==="error",isIdle:i.status==="idle",mutate:this.mutate,reset:this.reset})},Nc=function(i){nt.batch(()=>{var l,u,c,f,p,h,v,w;if(b(this,Zn)&&this.hasListeners()){const x=b(this,Ar).variables,E=b(this,Ar).context,y={client:b(this,Xn),meta:this.options.meta,mutationKey:this.options.mutationKey};if((i==null?void 0:i.type)==="success"){try{(u=(l=b(this,Zn)).onSuccess)==null||u.call(l,i.data,x,E,y)}catch(O){Promise.reject(O)}try{(f=(c=b(this,Zn)).onSettled)==null||f.call(c,i.data,null,x,E,y)}catch(O){Promise.reject(O)}}else if((i==null?void 0:i.type)==="error"){try{(h=(p=b(this,Zn)).onError)==null||h.call(p,i.error,x,E,y)}catch(O){Promise.reject(O)}try{(w=(v=b(this,Zn)).onSettled)==null||w.call(v,void 0,i.error,x,E,y)}catch(O){Promise.reject(O)}}}this.listeners.forEach(x=>{x(b(this,Ar))})})},lm),_n,am,dw=(am=class extends yi{constructor(r={}){super();he(this,_n);this.config=r,J(this,_n,new Map)}build(r,i,l){const u=i.queryKey,c=i.queryHash??Jc(u,i);let f=this.get(c);return f||(f=new rw({client:r,queryKey:u,queryHash:c,options:r.defaultQueryOptions(i),state:l,defaultOptions:r.getQueryDefaults(u)}),this.add(f)),f}add(r){b(this,_n).has(r.queryHash)||(b(this,_n).set(r.queryHash,r),this.notify({type:"added",query:r}))}remove(r){const i=b(this,_n).get(r.queryHash);i&&(r.destroy(),i===r&&b(this,_n).delete(r.queryHash),this.notify({type:"removed",query:r}))}clear(){nt.batch(()=>{this.getAll().forEach(r=>{this.remove(r)})})}get(r){return b(this,_n).get(r)}getAll(){return[...b(this,_n).values()]}find(r){const i={exact:!0,...r};return this.getAll().find(l=>ch(i,l))}findAll(r={}){const i=this.getAll();return Object.keys(r).length>0?i.filter(l=>ch(r,l)):i}notify(r){nt.batch(()=>{this.listeners.forEach(i=>{i(r)})})}onFocus(){nt.batch(()=>{this.getAll().forEach(r=>{r.onFocus()})})}onOnline(){nt.batch(()=>{this.getAll().forEach(r=>{r.onOnline()})})}},_n=new WeakMap,am),Ke,Dr,Fr,ui,ci,zr,di,fi,um,YC=(um=class{constructor(n={}){he(this,Ke);he(this,Dr);he(this,Fr);he(this,ui);he(this,ci);he(this,zr);he(this,di);he(this,fi);J(this,Ke,n.queryCache||new dw),J(this,Dr,n.mutationCache||new uw),J(this,Fr,n.defaultOptions||{}),J(this,ui,new Map),J(this,ci,new Map),J(this,zr,0)}mount(){Al(this,zr)._++,b(this,zr)===1&&(J(this,di,nd.subscribe(async n=>{n&&(await this.resumePausedMutations(),b(this,Ke).onFocus())})),J(this,fi,Jl.subscribe(async n=>{n&&(await this.resumePausedMutations(),b(this,Ke).onOnline())})))}unmount(){var n,r;Al(this,zr)._--,b(this,zr)===0&&((n=b(this,di))==null||n.call(this),J(this,di,void 0),(r=b(this,fi))==null||r.call(this),J(this,fi,void 0))}isFetching(n){return b(this,Ke).findAll({...n,fetchStatus:"fetching"}).length}isMutating(n){return b(this,Dr).findAll({...n,status:"pending"}).length}getQueryData(n){var i;const r=this.defaultQueryOptions({queryKey:n});return(i=b(this,Ke).get(r.queryHash))==null?void 0:i.state.data}ensureQueryData(n){const r=this.defaultQueryOptions(n),i=b(this,Ke).build(this,r),l=i.state.data;return l===void 0?this.fetchQuery(n):(n.revalidateIfStale&&i.isStaleByTime(jr(r.staleTime,i))&&this.prefetchQuery(r),Promise.resolve(l))}getQueriesData(n){return b(this,Ke).findAll(n).map(({queryKey:r,state:i})=>{const l=i.data;return[r,l]})}setQueryData(n,r,i){const l=this.defaultQueryOptions({queryKey:n}),u=b(this,Ke).get(l.queryHash),c=u==null?void 0:u.state.data,f=Q1(r,c);if(f!==void 0)return b(this,Ke).build(this,l).setData(f,{...i,manual:!0})}setQueriesData(n,r,i){return nt.batch(()=>b(this,Ke).findAll(n).map(({queryKey:l})=>[l,this.setQueryData(l,r,i)]))}getQueryState(n){var i;const r=this.defaultQueryOptions({queryKey:n});return(i=b(this,Ke).get(r.queryHash))==null?void 0:i.state}removeQueries(n){const r=b(this,Ke);nt.batch(()=>{r.findAll(n).forEach(i=>{r.remove(i)})})}resetQueries(n,r){const i=b(this,Ke);return nt.batch(()=>(i.findAll(n).forEach(l=>{l.reset()}),this.refetchQueries({type:"active",...n},r)))}cancelQueries(n,r={}){const i={revert:!0,...r},l=nt.batch(()=>b(this,Ke).findAll(n).map(u=>u.cancel(i)));return Promise.all(l).then(Ct).catch(Ct)}invalidateQueries(n,r={}){return nt.batch(()=>(b(this,Ke).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},l=nt.batch(()=>b(this,Ke).findAll(n).filter(u=>!u.isDisabled()&&!u.isStatic()).map(u=>{let c=u.fetch(void 0,i);return i.throwOnError||(c=c.catch(Ct)),u.state.fetchStatus==="paused"?Promise.resolve():c}));return Promise.all(l).then(Ct)}fetchQuery(n){const r=this.defaultQueryOptions(n);r.retry===void 0&&(r.retry=!1);const i=b(this,Ke).build(this,r);return i.isStaleByTime(jr(r.staleTime,i))?i.fetch(r):Promise.resolve(i.state.data)}prefetchQuery(n){return this.fetchQuery(n).then(Ct).catch(Ct)}fetchInfiniteQuery(n){return n.behavior=gh(n.pages),this.fetchQuery(n)}prefetchInfiniteQuery(n){return this.fetchInfiniteQuery(n).then(Ct).catch(Ct)}ensureInfiniteQueryData(n){return n.behavior=gh(n.pages),this.ensureQueryData(n)}resumePausedMutations(){return Jl.isOnline()?b(this,Dr).resumePausedMutations():Promise.resolve()}getQueryCache(){return b(this,Ke)}getMutationCache(){return b(this,Dr)}getDefaultOptions(){return b(this,Fr)}setDefaultOptions(n){J(this,Fr,n)}setQueryDefaults(n,r){b(this,ui).set(yo(n),{queryKey:n,defaultOptions:r})}getQueryDefaults(n){const r=[...b(this,ui).values()],i={};return r.forEach(l=>{ds(n,l.queryKey)&&Object.assign(i,l.defaultOptions)}),i}setMutationDefaults(n,r){b(this,ci).set(yo(n),{mutationKey:n,defaultOptions:r})}getMutationDefaults(n){const r=[...b(this,ci).values()],i={};return r.forEach(l=>{ds(n,l.mutationKey)&&Object.assign(i,l.defaultOptions)}),i}defaultQueryOptions(n){if(n._defaulted)return n;const r={...b(this,Fr).queries,...this.getQueryDefaults(n.queryKey),...n,_defaulted:!0};return r.queryHash||(r.queryHash=Jc(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===ed&&(r.enabled=!1),r}defaultMutationOptions(n){return n!=null&&n._defaulted?n:{...b(this,Fr).mutations,...(n==null?void 0:n.mutationKey)&&this.getMutationDefaults(n.mutationKey),...n,_defaulted:!0}}clear(){b(this,Ke).clear(),b(this,Dr).clear()}},Ke=new WeakMap,Dr=new WeakMap,Fr=new WeakMap,ui=new WeakMap,ci=new WeakMap,zr=new WeakMap,di=new WeakMap,fi=new WeakMap,um),Hm=g.createContext(void 0),$m=n=>{const r=g.useContext(Hm);if(!r)throw new Error("No QueryClient set, use QueryClientProvider to set one");return r},XC=({client:n,children:r})=>(g.useEffect(()=>(n.mount(),()=>{n.unmount()}),[n]),ee.jsx(Hm.Provider,{value:n,children:r})),Wm=g.createContext(!1),fw=()=>g.useContext(Wm);Wm.Provider;function pw(){let n=!1;return{clearReset:()=>{n=!1},reset:()=>{n=!0},isReset:()=>n}}var hw=g.createContext(pw()),mw=()=>g.useContext(hw),vw=(n,r,i)=>{const l=i!=null&&i.state.error&&typeof n.throwOnError=="function"?td(n.throwOnError,[i.state.error,i]):n.throwOnError;(n.suspense||n.experimental_prefetchInRender||l)&&(r.isReset()||(n.retryOnMount=!1))},yw=n=>{g.useEffect(()=>{n.clearReset()},[n])},gw=({result:n,errorResetBoundary:r,throwOnError:i,query:l,suspense:u})=>n.isError&&!r.isReset()&&!n.isFetching&&l&&(u&&n.data===void 0||td(i,[n.error,l])),ww=n=>{if(n.suspense){const i=u=>u==="static"?u:Math.max(u??1e3,1e3),l=n.staleTime;n.staleTime=typeof l=="function"?(...u)=>i(l(...u)):i(l),typeof n.gcTime=="number"&&(n.gcTime=Math.max(n.gcTime,1e3))}},xw=(n,r)=>n.isLoading&&n.isFetching&&!r,Sw=(n,r)=>(n==null?void 0:n.suspense)&&r.isPending,xh=(n,r,i)=>r.fetchOptimistic(n).catch(()=>{i.clearReset()});function Cw(n,r,i){var E,y,O,S;const l=fw(),u=mw(),c=$m(),f=c.defaultQueryOptions(n);(y=(E=c.getDefaultOptions().queries)==null?void 0:E._experimental_beforeQuery)==null||y.call(E,f);const p=c.getQueryCache().get(f.queryHash);f._optimisticResults=l?"isRestoring":"optimistic",ww(f),vw(f,u,p),yw(u);const h=!c.getQueryCache().get(f.queryHash),[v]=g.useState(()=>new r(c,f)),w=v.getOptimisticResult(f),x=!l&&n.subscribed!==!1;if(g.useSyncExternalStore(g.useCallback(C=>{const P=x?v.subscribe(nt.batchCalls(C)):Ct;return v.updateResult(),P},[v,x]),()=>v.getCurrentResult(),()=>v.getCurrentResult()),g.useEffect(()=>{v.setOptions(f)},[f,v]),Sw(f,w))throw xh(f,v,u);if(gw({result:w,errorResetBoundary:u,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&&!vo&&xw(w,l)){const C=h?xh(f,v,u):p==null?void 0:p.promise;C==null||C.catch(Ct).finally(()=>{v.updateResult()})}return f.notifyOnChangeProps?w:v.trackResult(w)}function ZC(n,r){return Cw(n,ow)}function JC(n,r){const i=$m(),[l]=g.useState(()=>new cw(i,n));g.useEffect(()=>{l.setOptions(n)},[l,n]);const u=g.useSyncExternalStore(g.useCallback(f=>l.subscribe(nt.batchCalls(f)),[l]),()=>l.getCurrentResult(),()=>l.getCurrentResult()),c=g.useCallback((f,p)=>{l.mutate(f,p).catch(Ct)},[l]);if(u.error&&td(l.options.throwOnError,[u.error]))throw u.error;return{...u,mutate:c,mutateAsync:u.mutate}}function Vm(n){var r,i,l="";if(typeof n=="string"||typeof n=="number")l+=n;else if(typeof n=="object")if(Array.isArray(n)){var u=n.length;for(r=0;r<u;r++)n[r]&&(i=Vm(n[r]))&&(l&&(l+=" "),l+=i)}else for(i in n)n[i]&&(l&&(l+=" "),l+=i);return l}function eE(){for(var n,r,i=0,l="",u=arguments.length;i<u;i++)(n=arguments[i])&&(r=Vm(n))&&(l&&(l+=" "),l+=r);return l}const od="-",Ew=n=>{const r=bw(n),{conflictingClassGroups:i,conflictingClassGroupModifiers:l}=n;return{getClassGroupId:f=>{const p=f.split(od);return p[0]===""&&p.length!==1&&p.shift(),Qm(p,r)||kw(f)},getConflictingClassGroupIds:(f,p)=>{const h=i[f]||[];return p&&l[f]?[...h,...l[f]]:h}}},Qm=(n,r)=>{var f;if(n.length===0)return r.classGroupId;const i=n[0],l=r.nextPart.get(i),u=l?Qm(n.slice(1),l):void 0;if(u)return u;if(r.validators.length===0)return;const c=n.join(od);return(f=r.validators.find(({validator:p})=>p(c)))==null?void 0:f.classGroupId},Sh=/^\[(.+)\]$/,kw=n=>{if(Sh.test(n)){const r=Sh.exec(n)[1],i=r==null?void 0:r.substring(0,r.indexOf(":"));if(i)return"arbitrary.."+i}},bw=n=>{const{theme:r,prefix:i}=n,l={nextPart:new Map,validators:[]};return Pw(Object.entries(n.classGroups),i).forEach(([c,f])=>{_c(f,l,c,r)}),l},_c=(n,r,i,l)=>{n.forEach(u=>{if(typeof u=="string"){const c=u===""?r:Ch(r,u);c.classGroupId=i;return}if(typeof u=="function"){if(Rw(u)){_c(u(l),r,i,l);return}r.validators.push({validator:u,classGroupId:i});return}Object.entries(u).forEach(([c,f])=>{_c(f,Ch(r,c),i,l)})})},Ch=(n,r)=>{let i=n;return r.split(od).forEach(l=>{i.nextPart.has(l)||i.nextPart.set(l,{nextPart:new Map,validators:[]}),i=i.nextPart.get(l)}),i},Rw=n=>n.isThemeGetter,Pw=(n,r)=>r?n.map(([i,l])=>{const u=l.map(c=>typeof c=="string"?r+c:typeof c=="object"?Object.fromEntries(Object.entries(c).map(([f,p])=>[r+f,p])):c);return[i,u]}):n,Tw=n=>{if(n<1)return{get:()=>{},set:()=>{}};let r=0,i=new Map,l=new Map;const u=(c,f)=>{i.set(c,f),r++,r>n&&(r=0,l=i,i=new Map)};return{get(c){let f=i.get(c);if(f!==void 0)return f;if((f=l.get(c))!==void 0)return u(c,f),f},set(c,f){i.has(c)?i.set(c,f):u(c,f)}}},Km="!",Mw=n=>{const{separator:r,experimentalParseClassName:i}=n,l=r.length===1,u=r[0],c=r.length,f=p=>{const h=[];let v=0,w=0,x;for(let C=0;C<p.length;C++){let P=p[C];if(v===0){if(P===u&&(l||p.slice(C,C+c)===r)){h.push(p.slice(w,C)),w=C+c;continue}if(P==="/"){x=C;continue}}P==="["?v++:P==="]"&&v--}const E=h.length===0?p:p.substring(w),y=E.startsWith(Km),O=y?E.substring(1):E,S=x&&x>w?x-w:void 0;return{modifiers:h,hasImportantModifier:y,baseClassName:O,maybePostfixModifierPosition:S}};return i?p=>i({className:p,parseClassName:f}):f},Ow=n=>{if(n.length<=1)return n;const r=[];let i=[];return n.forEach(l=>{l[0]==="["?(r.push(...i.sort(),l),i=[]):i.push(l)}),r.push(...i.sort()),r},Nw=n=>({cache:Tw(n.cacheSize),parseClassName:Mw(n),...Ew(n)}),_w=/\s+/,Lw=(n,r)=>{const{parseClassName:i,getClassGroupId:l,getConflictingClassGroupIds:u}=r,c=[],f=n.trim().split(_w);let p="";for(let h=f.length-1;h>=0;h-=1){const v=f[h],{modifiers:w,hasImportantModifier:x,baseClassName:E,maybePostfixModifierPosition:y}=i(v);let O=!!y,S=l(O?E.substring(0,y):E);if(!S){if(!O){p=v+(p.length>0?" "+p:p);continue}if(S=l(E),!S){p=v+(p.length>0?" "+p:p);continue}O=!1}const C=Ow(w).join(":"),P=x?C+Km:C,M=P+S;if(c.includes(M))continue;c.push(M);const R=u(S,O);for(let L=0;L<R.length;++L){const z=R[L];c.push(P+z)}p=v+(p.length>0?" "+p:p)}return p};function Iw(){let n=0,r,i,l="";for(;n<arguments.length;)(r=arguments[n++])&&(i=qm(r))&&(l&&(l+=" "),l+=i);return l}const qm=n=>{if(typeof n=="string")return n;let r,i="";for(let l=0;l<n.length;l++)n[l]&&(r=qm(n[l]))&&(i&&(i+=" "),i+=r);return i};function Aw(n,...r){let i,l,u,c=f;function f(h){const v=r.reduce((w,x)=>x(w),n());return i=Nw(v),l=i.cache.get,u=i.cache.set,c=p,p(h)}function p(h){const v=l(h);if(v)return v;const w=Lw(h,i);return u(h,w),w}return function(){return c(Iw.apply(null,arguments))}}const Ue=n=>{const r=i=>i[n]||[];return r.isThemeGetter=!0,r},Gm=/^\[(?:([a-z-]+):)?(.+)\]$/i,Dw=/^\d+\/\d+$/,Fw=new Set(["px","full","screen"]),zw=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,jw=/\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$/,Bw=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Uw=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Hw=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Kn=n=>Zo(n)||Fw.has(n)||Dw.test(n),Rr=n=>gi(n,"length",Yw),Zo=n=>!!n&&!Number.isNaN(Number(n)),sc=n=>gi(n,"number",Zo),ss=n=>!!n&&Number.isInteger(Number(n)),$w=n=>n.endsWith("%")&&Zo(n.slice(0,-1)),Re=n=>Gm.test(n),Pr=n=>zw.test(n),Ww=new Set(["length","size","percentage"]),Vw=n=>gi(n,Ww,Ym),Qw=n=>gi(n,"position",Ym),Kw=new Set(["image","url"]),qw=n=>gi(n,Kw,Zw),Gw=n=>gi(n,"",Xw),ls=()=>!0,gi=(n,r,i)=>{const l=Gm.exec(n);return l?l[1]?typeof r=="string"?l[1]===r:r.has(l[1]):i(l[2]):!1},Yw=n=>jw.test(n)&&!Bw.test(n),Ym=()=>!1,Xw=n=>Uw.test(n),Zw=n=>Hw.test(n),Jw=()=>{const n=Ue("colors"),r=Ue("spacing"),i=Ue("blur"),l=Ue("brightness"),u=Ue("borderColor"),c=Ue("borderRadius"),f=Ue("borderSpacing"),p=Ue("borderWidth"),h=Ue("contrast"),v=Ue("grayscale"),w=Ue("hueRotate"),x=Ue("invert"),E=Ue("gap"),y=Ue("gradientColorStops"),O=Ue("gradientColorStopPositions"),S=Ue("inset"),C=Ue("margin"),P=Ue("opacity"),M=Ue("padding"),R=Ue("saturate"),L=Ue("scale"),z=Ue("sepia"),U=Ue("skew"),H=Ue("space"),q=Ue("translate"),Z=()=>["auto","contain","none"],te=()=>["auto","hidden","clip","visible","scroll"],pe=()=>["auto",Re,r],X=()=>[Re,r],ye=()=>["",Kn,Rr],ce=()=>["auto",Zo,Re],xe=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],ae=()=>["solid","dashed","dotted","double","none"],ie=()=>["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],V=()=>["auto","avoid","all","avoid-page","page","left","right","column"],N=()=>[Zo,Re];return{cacheSize:500,separator:":",theme:{colors:[ls],spacing:[Kn,Rr],blur:["none","",Pr,Re],brightness:N(),borderColor:[n],borderRadius:["none","","full",Pr,Re],borderSpacing:X(),borderWidth:ye(),contrast:N(),grayscale:B(),hueRotate:N(),invert:B(),gap:X(),gradientColorStops:[n],gradientColorStopPositions:[$w,Rr],inset:pe(),margin:pe(),opacity:N(),padding:X(),saturate:N(),scale:N(),sepia:B(),skew:N(),space:X(),translate:X()},classGroups:{aspect:[{aspect:["auto","square","video",Re]}],container:["container"],columns:[{columns:[Pr]}],"break-after":[{"break-after":V()}],"break-before":[{"break-before":V()}],"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:Z()}],"overscroll-x":[{"overscroll-x":Z()}],"overscroll-y":[{"overscroll-y":Z()}],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",ss,Re]}],basis:[{basis:pe()}],"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",ss,Re]}],"grid-cols":[{"grid-cols":[ls]}],"col-start-end":[{col:["auto",{span:["full",ss,Re]},Re]}],"col-start":[{"col-start":ce()}],"col-end":[{"col-end":ce()}],"grid-rows":[{"grid-rows":[ls]}],"row-start-end":[{row:["auto",{span:[ss,Re]},Re]}],"row-start":[{"row-start":ce()}],"row-end":[{"row-end":ce()}],"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:[E]}],"gap-x":[{"gap-x":[E]}],"gap-y":[{"gap-y":[E]}],"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:[M]}],px:[{px:[M]}],py:[{py:[M]}],ps:[{ps:[M]}],pe:[{pe:[M]}],pt:[{pt:[M]}],pr:[{pr:[M]}],pb:[{pb:[M]}],pl:[{pl:[M]}],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:[Pr]},Pr]}],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",Pr,Rr]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",sc]}],"font-family":[{font:[ls]}],"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",Zo,sc]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Kn,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:[...ae(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Kn,Rr]}],"underline-offset":[{"underline-offset":["auto",Kn,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:X()}],"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(),Qw]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Vw]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},qw]}],"bg-color":[{bg:[n]}],"gradient-from-pos":[{from:[O]}],"gradient-via-pos":[{via:[O]}],"gradient-to-pos":[{to:[O]}],"gradient-from":[{from:[y]}],"gradient-via":[{via:[y]}],"gradient-to":[{to:[y]}],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:[...ae(),"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:ae()}],"border-color":[{border:[u]}],"border-color-x":[{"border-x":[u]}],"border-color-y":[{"border-y":[u]}],"border-color-s":[{"border-s":[u]}],"border-color-e":[{"border-e":[u]}],"border-color-t":[{"border-t":[u]}],"border-color-r":[{"border-r":[u]}],"border-color-b":[{"border-b":[u]}],"border-color-l":[{"border-l":[u]}],"divide-color":[{divide:[u]}],"outline-style":[{outline:["",...ae()]}],"outline-offset":[{"outline-offset":[Kn,Re]}],"outline-w":[{outline:[Kn,Rr]}],"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":[Kn,Rr]}],"ring-offset-color":[{"ring-offset":[n]}],shadow:[{shadow:["","inner","none",Pr,Gw]}],"shadow-color":[{shadow:[ls]}],opacity:[{opacity:[P]}],"mix-blend":[{"mix-blend":[...ie(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":ie()}],filter:[{filter:["","none"]}],blur:[{blur:[i]}],brightness:[{brightness:[l]}],contrast:[{contrast:[h]}],"drop-shadow":[{"drop-shadow":["","none",Pr,Re]}],grayscale:[{grayscale:[v]}],"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":[l]}],"backdrop-contrast":[{"backdrop-contrast":[h]}],"backdrop-grayscale":[{"backdrop-grayscale":[v]}],"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:[ss,Re]}],"translate-x":[{"translate-x":[q]}],"translate-y":[{"translate-y":[q]}],"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":X()}],"scroll-mx":[{"scroll-mx":X()}],"scroll-my":[{"scroll-my":X()}],"scroll-ms":[{"scroll-ms":X()}],"scroll-me":[{"scroll-me":X()}],"scroll-mt":[{"scroll-mt":X()}],"scroll-mr":[{"scroll-mr":X()}],"scroll-mb":[{"scroll-mb":X()}],"scroll-ml":[{"scroll-ml":X()}],"scroll-p":[{"scroll-p":X()}],"scroll-px":[{"scroll-px":X()}],"scroll-py":[{"scroll-py":X()}],"scroll-ps":[{"scroll-ps":X()}],"scroll-pe":[{"scroll-pe":X()}],"scroll-pt":[{"scroll-pt":X()}],"scroll-pr":[{"scroll-pr":X()}],"scroll-pb":[{"scroll-pb":X()}],"scroll-pl":[{"scroll-pl":X()}],"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:[Kn,Rr,sc]}],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"]}}},tE=Aw(Jw);/**
52
52
  * @license lucide-react v0.462.0 - ISC
53
53
  *
54
54
  * This source code is licensed under the ISC license.
@@ -63,297 +63,287 @@ Please change the parent <Route path="${R}"> to <Route path="${R==="/"?"*":`${R}
63
63
  *
64
64
  * This source code is licensed under the ISC license.
65
65
  * See the LICENSE file in the root directory of this source tree.
66
- */const nx=g.forwardRef(({color:n="currentColor",size:r=24,strokeWidth:i=2,absoluteStrokeWidth:l,className:u="",children:c,iconNode:f,...p},h)=>g.createElement("svg",{ref:h,...tx,width:r,height:r,stroke:n,strokeWidth:l?Number(i)*24/Number(r):i,className:Xm("lucide",u),...p},[...f.map(([y,w])=>g.createElement(y,w)),...Array.isArray(c)?c:[c]]));/**
66
+ */const nx=g.forwardRef(({color:n="currentColor",size:r=24,strokeWidth:i=2,absoluteStrokeWidth:l,className:u="",children:c,iconNode:f,...p},h)=>g.createElement("svg",{ref:h,...tx,width:r,height:r,stroke:n,strokeWidth:l?Number(i)*24/Number(r):i,className:Xm("lucide",u),...p},[...f.map(([v,w])=>g.createElement(v,w)),...Array.isArray(c)?c:[c]]));/**
67
67
  * @license lucide-react v0.462.0 - ISC
68
68
  *
69
69
  * This source code is licensed under the ISC license.
70
70
  * See the LICENSE file in the root directory of this source tree.
71
- */const pe=(n,r)=>{const i=g.forwardRef(({className:l,...u},c)=>g.createElement(nx,{ref:c,iconNode:r,className:Xm(`lucide-${ex(n)}`,l),...u}));return i.displayName=`${n}`,i};/**
71
+ */const me=(n,r)=>{const i=g.forwardRef(({className:l,...u},c)=>g.createElement(nx,{ref:c,iconNode:r,className:Xm(`lucide-${ex(n)}`,l),...u}));return i.displayName=`${n}`,i};/**
72
72
  * @license lucide-react v0.462.0 - ISC
73
73
  *
74
74
  * This source code is licensed under the ISC license.
75
75
  * See the LICENSE file in the root directory of this source tree.
76
- */const nC=pe("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"}]]);/**
76
+ */const nE=me("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"}]]);/**
77
77
  * @license lucide-react v0.462.0 - ISC
78
78
  *
79
79
  * This source code is licensed under the ISC license.
80
80
  * See the LICENSE file in the root directory of this source tree.
81
- */const rC=pe("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);/**
81
+ */const rE=me("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);/**
82
82
  * @license lucide-react v0.462.0 - ISC
83
83
  *
84
84
  * This source code is licensed under the ISC license.
85
85
  * See the LICENSE file in the root directory of this source tree.
86
- */const oC=pe("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/**
86
+ */const oE=me("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/**
87
87
  * @license lucide-react v0.462.0 - ISC
88
88
  *
89
89
  * This source code is licensed under the ISC license.
90
90
  * See the LICENSE file in the root directory of this source tree.
91
- */const iC=pe("Bell",[["path",{d:"M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9",key:"1qo2s2"}],["path",{d:"M10.3 21a1.94 1.94 0 0 0 3.4 0",key:"qgo35s"}]]);/**
91
+ */const iE=me("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"}]]);/**
92
92
  * @license lucide-react v0.462.0 - ISC
93
93
  *
94
94
  * This source code is licensed under the ISC license.
95
95
  * See the LICENSE file in the root directory of this source tree.
96
- */const sC=pe("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"}]]);/**
96
+ */const sE=me("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"}]]);/**
97
97
  * @license lucide-react v0.462.0 - ISC
98
98
  *
99
99
  * This source code is licensed under the ISC license.
100
100
  * See the LICENSE file in the root directory of this source tree.
101
- */const lC=pe("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"}]]);/**
101
+ */const lE=me("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"}]]);/**
102
102
  * @license lucide-react v0.462.0 - ISC
103
103
  *
104
104
  * This source code is licensed under the ISC license.
105
105
  * See the LICENSE file in the root directory of this source tree.
106
- */const aC=pe("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"}]]);/**
106
+ */const aE=me("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/**
107
107
  * @license lucide-react v0.462.0 - ISC
108
108
  *
109
109
  * This source code is licensed under the ISC license.
110
110
  * See the LICENSE file in the root directory of this source tree.
111
- */const uC=pe("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/**
111
+ */const uE=me("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/**
112
112
  * @license lucide-react v0.462.0 - ISC
113
113
  *
114
114
  * This source code is licensed under the ISC license.
115
115
  * See the LICENSE file in the root directory of this source tree.
116
- */const cC=pe("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/**
116
+ */const cE=me("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);/**
117
117
  * @license lucide-react v0.462.0 - ISC
118
118
  *
119
119
  * This source code is licensed under the ISC license.
120
120
  * See the LICENSE file in the root directory of this source tree.
121
- */const dC=pe("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);/**
121
+ */const dE=me("ChevronsUpDown",[["path",{d:"m7 15 5 5 5-5",key:"1hf1tw"}],["path",{d:"m7 9 5-5 5 5",key:"sgt6xg"}]]);/**
122
122
  * @license lucide-react v0.462.0 - ISC
123
123
  *
124
124
  * This source code is licensed under the ISC license.
125
125
  * See the LICENSE file in the root directory of this source tree.
126
- */const fC=pe("ChevronsUpDown",[["path",{d:"m7 15 5 5 5-5",key:"1hf1tw"}],["path",{d:"m7 9 5-5 5 5",key:"sgt6xg"}]]);/**
126
+ */const fE=me("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"}]]);/**
127
127
  * @license lucide-react v0.462.0 - ISC
128
128
  *
129
129
  * This source code is licensed under the ISC license.
130
130
  * See the LICENSE file in the root directory of this source tree.
131
- */const pC=pe("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"}]]);/**
131
+ */const pE=me("Clock3",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16.5 12",key:"1aq6pp"}]]);/**
132
132
  * @license lucide-react v0.462.0 - ISC
133
133
  *
134
134
  * This source code is licensed under the ISC license.
135
135
  * See the LICENSE file in the root directory of this source tree.
136
- */const hC=pe("Clock3",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16.5 12",key:"1aq6pp"}]]);/**
136
+ */const hE=me("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);/**
137
137
  * @license lucide-react v0.462.0 - ISC
138
138
  *
139
139
  * This source code is licensed under the ISC license.
140
140
  * See the LICENSE file in the root directory of this source tree.
141
- */const mC=pe("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);/**
141
+ */const mE=me("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"}]]);/**
142
142
  * @license lucide-react v0.462.0 - ISC
143
143
  *
144
144
  * This source code is licensed under the ISC license.
145
145
  * See the LICENSE file in the root directory of this source tree.
146
- */const yC=pe("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"}]]);/**
146
+ */const vE=me("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"}]]);/**
147
147
  * @license lucide-react v0.462.0 - ISC
148
148
  *
149
149
  * This source code is licensed under the ISC license.
150
150
  * See the LICENSE file in the root directory of this source tree.
151
- */const vC=pe("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"}]]);/**
151
+ */const yE=me("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"}]]);/**
152
152
  * @license lucide-react v0.462.0 - ISC
153
153
  *
154
154
  * This source code is licensed under the ISC license.
155
155
  * See the LICENSE file in the root directory of this source tree.
156
- */const gC=pe("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"}]]);/**
156
+ */const gE=me("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"}]]);/**
157
157
  * @license lucide-react v0.462.0 - ISC
158
158
  *
159
159
  * This source code is licensed under the ISC license.
160
160
  * See the LICENSE file in the root directory of this source tree.
161
- */const wC=pe("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"}]]);/**
161
+ */const wE=me("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"}]]);/**
162
162
  * @license lucide-react v0.462.0 - ISC
163
163
  *
164
164
  * This source code is licensed under the ISC license.
165
165
  * See the LICENSE file in the root directory of this source tree.
166
- */const xC=pe("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"}]]);/**
166
+ */const xE=me("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"}]]);/**
167
167
  * @license lucide-react v0.462.0 - ISC
168
168
  *
169
169
  * This source code is licensed under the ISC license.
170
170
  * See the LICENSE file in the root directory of this source tree.
171
- */const SC=pe("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"}]]);/**
171
+ */const SE=me("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"}]]);/**
172
172
  * @license lucide-react v0.462.0 - ISC
173
173
  *
174
174
  * This source code is licensed under the ISC license.
175
175
  * See the LICENSE file in the root directory of this source tree.
176
- */const kC=pe("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"}]]);/**
176
+ */const CE=me("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"}]]);/**
177
177
  * @license lucide-react v0.462.0 - ISC
178
178
  *
179
179
  * This source code is licensed under the ISC license.
180
180
  * See the LICENSE file in the root directory of this source tree.
181
- */const CC=pe("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"}]]);/**
181
+ */const EE=me("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"}]]);/**
182
182
  * @license lucide-react v0.462.0 - ISC
183
183
  *
184
184
  * This source code is licensed under the ISC license.
185
185
  * See the LICENSE file in the root directory of this source tree.
186
- */const EC=pe("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"}]]);/**
186
+ */const kE=me("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"}]]);/**
187
187
  * @license lucide-react v0.462.0 - ISC
188
188
  *
189
189
  * This source code is licensed under the ISC license.
190
190
  * See the LICENSE file in the root directory of this source tree.
191
- */const bC=pe("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"}]]);/**
191
+ */const bE=me("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"}]]);/**
192
192
  * @license lucide-react v0.462.0 - ISC
193
193
  *
194
194
  * This source code is licensed under the ISC license.
195
195
  * See the LICENSE file in the root directory of this source tree.
196
- */const RC=pe("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"}]]);/**
196
+ */const RE=me("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"}]]);/**
197
197
  * @license lucide-react v0.462.0 - ISC
198
198
  *
199
199
  * This source code is licensed under the ISC license.
200
200
  * See the LICENSE file in the root directory of this source tree.
201
- */const PC=pe("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"}]]);/**
201
+ */const PE=me("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"}]]);/**
202
202
  * @license lucide-react v0.462.0 - ISC
203
203
  *
204
204
  * This source code is licensed under the ISC license.
205
205
  * See the LICENSE file in the root directory of this source tree.
206
- */const MC=pe("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"}]]);/**
206
+ */const TE=me("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"}]]);/**
207
207
  * @license lucide-react v0.462.0 - ISC
208
208
  *
209
209
  * This source code is licensed under the ISC license.
210
210
  * See the LICENSE file in the root directory of this source tree.
211
- */const TC=pe("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"}]]);/**
211
+ */const ME=me("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);/**
212
212
  * @license lucide-react v0.462.0 - ISC
213
213
  *
214
214
  * This source code is licensed under the ISC license.
215
215
  * See the LICENSE file in the root directory of this source tree.
216
- */const OC=pe("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);/**
216
+ */const OE=me("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"}]]);/**
217
217
  * @license lucide-react v0.462.0 - ISC
218
218
  *
219
219
  * This source code is licensed under the ISC license.
220
220
  * See the LICENSE file in the root directory of this source tree.
221
- */const NC=pe("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"}]]);/**
221
+ */const NE=me("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"}]]);/**
222
222
  * @license lucide-react v0.462.0 - ISC
223
223
  *
224
224
  * This source code is licensed under the ISC license.
225
225
  * See the LICENSE file in the root directory of this source tree.
226
- */const _C=pe("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"}]]);/**
226
+ */const _E=me("MessageCircle",[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}]]);/**
227
227
  * @license lucide-react v0.462.0 - ISC
228
228
  *
229
229
  * This source code is licensed under the ISC license.
230
230
  * See the LICENSE file in the root directory of this source tree.
231
- */const LC=pe("MessageCircle",[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}]]);/**
231
+ */const LE=me("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"}]]);/**
232
232
  * @license lucide-react v0.462.0 - ISC
233
233
  *
234
234
  * This source code is licensed under the ISC license.
235
235
  * See the LICENSE file in the root directory of this source tree.
236
- */const IC=pe("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"}]]);/**
236
+ */const IE=me("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"}]]);/**
237
237
  * @license lucide-react v0.462.0 - ISC
238
238
  *
239
239
  * This source code is licensed under the ISC license.
240
240
  * See the LICENSE file in the root directory of this source tree.
241
- */const AC=pe("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"}]]);/**
241
+ */const AE=me("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"}]]);/**
242
242
  * @license lucide-react v0.462.0 - ISC
243
243
  *
244
244
  * This source code is licensed under the ISC license.
245
245
  * See the LICENSE file in the root directory of this source tree.
246
- */const DC=pe("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"}]]);/**
246
+ */const DE=me("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"}]]);/**
247
247
  * @license lucide-react v0.462.0 - ISC
248
248
  *
249
249
  * This source code is licensed under the ISC license.
250
250
  * See the LICENSE file in the root directory of this source tree.
251
- */const FC=pe("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"}]]);/**
251
+ */const FE=me("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"}]]);/**
252
252
  * @license lucide-react v0.462.0 - ISC
253
253
  *
254
254
  * This source code is licensed under the ISC license.
255
255
  * See the LICENSE file in the root directory of this source tree.
256
- */const zC=pe("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"}]]);/**
256
+ */const zE=me("Play",[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]]);/**
257
257
  * @license lucide-react v0.462.0 - ISC
258
258
  *
259
259
  * This source code is licensed under the ISC license.
260
260
  * See the LICENSE file in the root directory of this source tree.
261
- */const jC=pe("Play",[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]]);/**
261
+ */const jE=me("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"}]]);/**
262
262
  * @license lucide-react v0.462.0 - ISC
263
263
  *
264
264
  * This source code is licensed under the ISC license.
265
265
  * See the LICENSE file in the root directory of this source tree.
266
- */const BC=pe("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"}]]);/**
266
+ */const BE=me("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);/**
267
267
  * @license lucide-react v0.462.0 - ISC
268
268
  *
269
269
  * This source code is licensed under the ISC license.
270
270
  * See the LICENSE file in the root directory of this source tree.
271
- */const UC=pe("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);/**
271
+ */const UE=me("Power",[["path",{d:"M12 2v10",key:"mnfbl"}],["path",{d:"M18.4 6.6a9 9 0 1 1-12.77.04",key:"obofu9"}]]);/**
272
272
  * @license lucide-react v0.462.0 - ISC
273
273
  *
274
274
  * This source code is licensed under the ISC license.
275
275
  * See the LICENSE file in the root directory of this source tree.
276
- */const HC=pe("Power",[["path",{d:"M12 2v10",key:"mnfbl"}],["path",{d:"M18.4 6.6a9 9 0 1 1-12.77.04",key:"obofu9"}]]);/**
276
+ */const HE=me("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"}]]);/**
277
277
  * @license lucide-react v0.462.0 - ISC
278
278
  *
279
279
  * This source code is licensed under the ISC license.
280
280
  * See the LICENSE file in the root directory of this source tree.
281
- */const $C=pe("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"}]]);/**
281
+ */const $E=me("RotateCcw",[["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"}]]);/**
282
282
  * @license lucide-react v0.462.0 - ISC
283
283
  *
284
284
  * This source code is licensed under the ISC license.
285
285
  * See the LICENSE file in the root directory of this source tree.
286
- */const VC=pe("RotateCcw",[["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"}]]);/**
286
+ */const WE=me("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"}]]);/**
287
287
  * @license lucide-react v0.462.0 - ISC
288
288
  *
289
289
  * This source code is licensed under the ISC license.
290
290
  * See the LICENSE file in the root directory of this source tree.
291
- */const WC=pe("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"}]]);/**
291
+ */const VE=me("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);/**
292
292
  * @license lucide-react v0.462.0 - ISC
293
293
  *
294
294
  * This source code is licensed under the ISC license.
295
295
  * See the LICENSE file in the root directory of this source tree.
296
- */const QC=pe("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);/**
296
+ */const QE=me("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"}]]);/**
297
297
  * @license lucide-react v0.462.0 - ISC
298
298
  *
299
299
  * This source code is licensed under the ISC license.
300
300
  * See the LICENSE file in the root directory of this source tree.
301
- */const KC=pe("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"}]]);/**
301
+ */const KE=me("Send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]]);/**
302
302
  * @license lucide-react v0.462.0 - ISC
303
303
  *
304
304
  * This source code is licensed under the ISC license.
305
305
  * See the LICENSE file in the root directory of this source tree.
306
- */const qC=pe("Send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]]);/**
306
+ */const qE=me("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"}]]);/**
307
307
  * @license lucide-react v0.462.0 - ISC
308
308
  *
309
309
  * This source code is licensed under the ISC license.
310
310
  * See the LICENSE file in the root directory of this source tree.
311
- */const YC=pe("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"}]]);/**
311
+ */const GE=me("SlidersVertical",[["line",{x1:"4",x2:"4",y1:"21",y2:"14",key:"1p332r"}],["line",{x1:"4",x2:"4",y1:"10",y2:"3",key:"gb41h5"}],["line",{x1:"12",x2:"12",y1:"21",y2:"12",key:"hf2csr"}],["line",{x1:"12",x2:"12",y1:"8",y2:"3",key:"1kfi7u"}],["line",{x1:"20",x2:"20",y1:"21",y2:"16",key:"1lhrwl"}],["line",{x1:"20",x2:"20",y1:"12",y2:"3",key:"16vvfq"}],["line",{x1:"2",x2:"6",y1:"14",y2:"14",key:"1uebub"}],["line",{x1:"10",x2:"14",y1:"8",y2:"8",key:"1yglbp"}],["line",{x1:"18",x2:"22",y1:"16",y2:"16",key:"1jxqpz"}]]);/**
312
312
  * @license lucide-react v0.462.0 - ISC
313
313
  *
314
314
  * This source code is licensed under the ISC license.
315
315
  * See the LICENSE file in the root directory of this source tree.
316
- */const GC=pe("Slack",[["rect",{width:"3",height:"8",x:"13",y:"2",rx:"1.5",key:"diqz80"}],["path",{d:"M19 8.5V10h1.5A1.5 1.5 0 1 0 19 8.5",key:"183iwg"}],["rect",{width:"3",height:"8",x:"8",y:"14",rx:"1.5",key:"hqg7r1"}],["path",{d:"M5 15.5V14H3.5A1.5 1.5 0 1 0 5 15.5",key:"76g71w"}],["rect",{width:"8",height:"3",x:"14",y:"13",rx:"1.5",key:"1kmz0a"}],["path",{d:"M15.5 19H14v1.5a1.5 1.5 0 1 0 1.5-1.5",key:"jc4sz0"}],["rect",{width:"8",height:"3",x:"2",y:"8",rx:"1.5",key:"1omvl4"}],["path",{d:"M8.5 5H10V3.5A1.5 1.5 0 1 0 8.5 5",key:"16f3cl"}]]);/**
316
+ */const YE=me("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"}]]);/**
317
317
  * @license lucide-react v0.462.0 - ISC
318
318
  *
319
319
  * This source code is licensed under the ISC license.
320
320
  * See the LICENSE file in the root directory of this source tree.
321
- */const XC=pe("SlidersVertical",[["line",{x1:"4",x2:"4",y1:"21",y2:"14",key:"1p332r"}],["line",{x1:"4",x2:"4",y1:"10",y2:"3",key:"gb41h5"}],["line",{x1:"12",x2:"12",y1:"21",y2:"12",key:"hf2csr"}],["line",{x1:"12",x2:"12",y1:"8",y2:"3",key:"1kfi7u"}],["line",{x1:"20",x2:"20",y1:"21",y2:"16",key:"1lhrwl"}],["line",{x1:"20",x2:"20",y1:"12",y2:"3",key:"16vvfq"}],["line",{x1:"2",x2:"6",y1:"14",y2:"14",key:"1uebub"}],["line",{x1:"10",x2:"14",y1:"8",y2:"8",key:"1yglbp"}],["line",{x1:"18",x2:"22",y1:"16",y2:"16",key:"1jxqpz"}]]);/**
321
+ */const XE=me("Terminal",[["polyline",{points:"4 17 10 11 4 5",key:"akl6gq"}],["line",{x1:"12",x2:"20",y1:"19",y2:"19",key:"q2wloq"}]]);/**
322
322
  * @license lucide-react v0.462.0 - ISC
323
323
  *
324
324
  * This source code is licensed under the ISC license.
325
325
  * See the LICENSE file in the root directory of this source tree.
326
- */const ZC=pe("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"}]]);/**
326
+ */const ZE=me("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"}]]);/**
327
327
  * @license lucide-react v0.462.0 - ISC
328
328
  *
329
329
  * This source code is licensed under the ISC license.
330
330
  * See the LICENSE file in the root directory of this source tree.
331
- */const JC=pe("Terminal",[["polyline",{points:"4 17 10 11 4 5",key:"akl6gq"}],["line",{x1:"12",x2:"20",y1:"19",y2:"19",key:"q2wloq"}]]);/**
331
+ */const JE=me("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"}]]);/**
332
332
  * @license lucide-react v0.462.0 - ISC
333
333
  *
334
334
  * This source code is licensed under the ISC license.
335
335
  * See the LICENSE file in the root directory of this source tree.
336
- */const eE=pe("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"}]]);/**
336
+ */const ek=me("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"}]]);/**
337
337
  * @license lucide-react v0.462.0 - ISC
338
338
  *
339
339
  * This source code is licensed under the ISC license.
340
340
  * See the LICENSE file in the root directory of this source tree.
341
- */const tE=pe("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"}]]);/**
341
+ */const tk=me("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"}]]);/**
342
342
  * @license lucide-react v0.462.0 - ISC
343
343
  *
344
344
  * This source code is licensed under the ISC license.
345
345
  * See the LICENSE file in the root directory of this source tree.
346
- */const nE=pe("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"}]]);/**
347
- * @license lucide-react v0.462.0 - ISC
348
- *
349
- * This source code is licensed under the ISC license.
350
- * See the LICENSE file in the root directory of this source tree.
351
- */const rE=pe("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"}]]);/**
352
- * @license lucide-react v0.462.0 - ISC
353
- *
354
- * This source code is licensed under the ISC license.
355
- * See the LICENSE file in the root directory of this source tree.
356
- */const oE=pe("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);function Ch(n,[r,i]){return Math.min(i,Math.max(r,n))}function Je(n,r,{checkForDefaultPrevented:i=!0}={}){return function(u){if(n==null||n(u),i===!1||!u.defaultPrevented)return r==null?void 0:r(u)}}function iE(n,r){const i=g.createContext(r),l=c=>{const{children:f,...p}=c,h=g.useMemo(()=>p,Object.values(p));return ee.jsx(i.Provider,{value:h,children:f})};l.displayName=n+"Provider";function u(c){const f=g.useContext(i);if(f)return f;if(r!==void 0)return r;throw new Error(`\`${c}\` must be used within \`${n}\``)}return[l,u]}function id(n,r=[]){let i=[];function l(c,f){const p=g.createContext(f),h=i.length;i=[...i,f];const y=x=>{var P;const{scope:C,children:v,...O}=x,S=((P=C==null?void 0:C[n])==null?void 0:P[h])||p,k=g.useMemo(()=>O,Object.values(O));return ee.jsx(S.Provider,{value:k,children:v})};y.displayName=c+"Provider";function w(x,C){var S;const v=((S=C==null?void 0:C[n])==null?void 0:S[h])||p,O=g.useContext(v);if(O)return O;if(f!==void 0)return f;throw new Error(`\`${x}\` must be used within \`${c}\``)}return[y,w]}const u=()=>{const c=i.map(f=>g.createContext(f));return function(p){const h=(p==null?void 0:p[n])||c;return g.useMemo(()=>({[`__scope${n}`]:{...p,[n]:h}}),[p,h])}};return u.scopeName=n,[l,rx(u,...r)]}function rx(...n){const r=n[0];if(n.length===1)return r;const i=()=>{const l=n.map(u=>({useScope:u(),scopeName:u.scopeName}));return function(c){const f=l.reduce((p,{useScope:h,scopeName:y})=>{const x=h(c)[`__scope${y}`];return{...p,...x}},{});return g.useMemo(()=>({[`__scope${r.scopeName}`]:f}),[f])}};return i.scopeName=r.scopeName,i}function Eh(n,r){if(typeof n=="function")return n(r);n!=null&&(n.current=r)}function Zm(...n){return r=>{let i=!1;const l=n.map(u=>{const c=Eh(u,r);return!i&&typeof c=="function"&&(i=!0),c});if(i)return()=>{for(let u=0;u<l.length;u++){const c=l[u];typeof c=="function"?c():Eh(n[u],null)}}}}function ct(...n){return g.useCallback(Zm(...n),n)}function ea(n){const r=ox(n),i=g.forwardRef((l,u)=>{const{children:c,...f}=l,p=g.Children.toArray(c),h=p.find(ix);if(h){const y=h.props.children,w=p.map(x=>x===h?g.Children.count(y)>1?g.Children.only(null):g.isValidElement(y)?y.props.children:null:x);return ee.jsx(r,{...f,ref:u,children:g.isValidElement(y)?g.cloneElement(y,void 0,w):null})}return ee.jsx(r,{...f,ref:u,children:c})});return i.displayName=`${n}.Slot`,i}function ox(n){const r=g.forwardRef((i,l)=>{const{children:u,...c}=i;if(g.isValidElement(u)){const f=lx(u),p=sx(c,u.props);return u.type!==g.Fragment&&(p.ref=l?Zm(l,f):f),g.cloneElement(u,p)}return g.Children.count(u)>1?g.Children.only(null):null});return r.displayName=`${n}.SlotClone`,r}var Jm=Symbol("radix.slottable");function sE(n){const r=({children:i})=>ee.jsx(ee.Fragment,{children:i});return r.displayName=`${n}.Slottable`,r.__radixId=Jm,r}function ix(n){return g.isValidElement(n)&&typeof n.type=="function"&&"__radixId"in n.type&&n.type.__radixId===Jm}function sx(n,r){const i={...r};for(const l in r){const u=n[l],c=r[l];/^on[A-Z]/.test(l)?u&&c?i[l]=(...p)=>{const h=c(...p);return u(...p),h}:u&&(i[l]=u):l==="style"?i[l]={...u,...c}:l==="className"&&(i[l]=[u,c].filter(Boolean).join(" "))}return{...n,...i}}function lx(n){var l,u;let r=(l=Object.getOwnPropertyDescriptor(n.props,"ref"))==null?void 0:l.get,i=r&&"isReactWarning"in r&&r.isReactWarning;return i?n.ref:(r=(u=Object.getOwnPropertyDescriptor(n,"ref"))==null?void 0:u.get,i=r&&"isReactWarning"in r&&r.isReactWarning,i?n.props.ref:n.props.ref||n.ref)}function ax(n){const r=n+"CollectionProvider",[i,l]=id(r),[u,c]=i(r,{collectionRef:{current:null},itemMap:new Map}),f=S=>{const{scope:k,children:P}=S,T=G.useRef(null),R=G.useRef(new Map).current;return ee.jsx(u,{scope:k,itemMap:R,collectionRef:T,children:P})};f.displayName=r;const p=n+"CollectionSlot",h=ea(p),y=G.forwardRef((S,k)=>{const{scope:P,children:T}=S,R=c(p,P),L=ct(k,R.collectionRef);return ee.jsx(h,{ref:L,children:T})});y.displayName=p;const w=n+"CollectionItemSlot",x="data-radix-collection-item",C=ea(w),v=G.forwardRef((S,k)=>{const{scope:P,children:T,...R}=S,L=G.useRef(null),z=ct(k,L),U=c(w,P);return G.useEffect(()=>(U.itemMap.set(L,{ref:L,...R}),()=>void U.itemMap.delete(L))),ee.jsx(C,{[x]:"",ref:z,children:T})});v.displayName=w;function O(S){const k=c(n+"CollectionConsumer",S);return G.useCallback(()=>{const T=k.collectionRef.current;if(!T)return[];const R=Array.from(T.querySelectorAll(`[${x}]`));return Array.from(k.itemMap.values()).sort((U,H)=>R.indexOf(U.ref.current)-R.indexOf(H.ref.current))},[k.collectionRef,k.itemMap])}return[{Provider:f,Slot:y,ItemSlot:v},O,l]}var ux=g.createContext(void 0);function cx(n){const r=g.useContext(ux);return n||r||"ltr"}var dx=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Xe=dx.reduce((n,r)=>{const i=ea(`Primitive.${r}`),l=g.forwardRef((u,c)=>{const{asChild:f,...p}=u,h=f?i:r;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),ee.jsx(h,{...p,ref:c})});return l.displayName=`Primitive.${r}`,{...n,[r]:l}},{});function fx(n,r){n&&xs.flushSync(()=>n.dispatchEvent(r))}function go(n){const r=g.useRef(n);return g.useEffect(()=>{r.current=n}),g.useMemo(()=>(...i)=>{var l;return(l=r.current)==null?void 0:l.call(r,...i)},[])}function px(n,r=globalThis==null?void 0:globalThis.document){const i=go(n);g.useEffect(()=>{const l=u=>{u.key==="Escape"&&i(u)};return r.addEventListener("keydown",l,{capture:!0}),()=>r.removeEventListener("keydown",l,{capture:!0})},[i,r])}var hx="DismissableLayer",Lc="dismissableLayer.update",mx="dismissableLayer.pointerDownOutside",yx="dismissableLayer.focusOutside",bh,ey=g.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),ty=g.forwardRef((n,r)=>{const{disableOutsidePointerEvents:i=!1,onEscapeKeyDown:l,onPointerDownOutside:u,onFocusOutside:c,onInteractOutside:f,onDismiss:p,...h}=n,y=g.useContext(ey),[w,x]=g.useState(null),C=(w==null?void 0:w.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,v]=g.useState({}),O=ct(r,H=>x(H)),S=Array.from(y.layers),[k]=[...y.layersWithOutsidePointerEventsDisabled].slice(-1),P=S.indexOf(k),T=w?S.indexOf(w):-1,R=y.layersWithOutsidePointerEventsDisabled.size>0,L=T>=P,z=wx(H=>{const q=H.target,Z=[...y.branches].some(te=>te.contains(q));!L||Z||(u==null||u(H),f==null||f(H),H.defaultPrevented||p==null||p())},C),U=xx(H=>{const q=H.target;[...y.branches].some(te=>te.contains(q))||(c==null||c(H),f==null||f(H),H.defaultPrevented||p==null||p())},C);return px(H=>{T===y.layers.size-1&&(l==null||l(H),!H.defaultPrevented&&p&&(H.preventDefault(),p()))},C),g.useEffect(()=>{if(w)return i&&(y.layersWithOutsidePointerEventsDisabled.size===0&&(bh=C.body.style.pointerEvents,C.body.style.pointerEvents="none"),y.layersWithOutsidePointerEventsDisabled.add(w)),y.layers.add(w),Rh(),()=>{i&&y.layersWithOutsidePointerEventsDisabled.size===1&&(C.body.style.pointerEvents=bh)}},[w,C,i,y]),g.useEffect(()=>()=>{w&&(y.layers.delete(w),y.layersWithOutsidePointerEventsDisabled.delete(w),Rh())},[w,y]),g.useEffect(()=>{const H=()=>v({});return document.addEventListener(Lc,H),()=>document.removeEventListener(Lc,H)},[]),ee.jsx(Xe.div,{...h,ref:O,style:{pointerEvents:R?L?"auto":"none":void 0,...n.style},onFocusCapture:Je(n.onFocusCapture,U.onFocusCapture),onBlurCapture:Je(n.onBlurCapture,U.onBlurCapture),onPointerDownCapture:Je(n.onPointerDownCapture,z.onPointerDownCapture)})});ty.displayName=hx;var vx="DismissableLayerBranch",gx=g.forwardRef((n,r)=>{const i=g.useContext(ey),l=g.useRef(null),u=ct(r,l);return g.useEffect(()=>{const c=l.current;if(c)return i.branches.add(c),()=>{i.branches.delete(c)}},[i.branches]),ee.jsx(Xe.div,{...n,ref:u})});gx.displayName=vx;function wx(n,r=globalThis==null?void 0:globalThis.document){const i=go(n),l=g.useRef(!1),u=g.useRef(()=>{});return g.useEffect(()=>{const c=p=>{if(p.target&&!l.current){let h=function(){ny(mx,i,y,{discrete:!0})};const y={originalEvent:p};p.pointerType==="touch"?(r.removeEventListener("click",u.current),u.current=h,r.addEventListener("click",u.current,{once:!0})):h()}else r.removeEventListener("click",u.current);l.current=!1},f=window.setTimeout(()=>{r.addEventListener("pointerdown",c)},0);return()=>{window.clearTimeout(f),r.removeEventListener("pointerdown",c),r.removeEventListener("click",u.current)}},[r,i]),{onPointerDownCapture:()=>l.current=!0}}function xx(n,r=globalThis==null?void 0:globalThis.document){const i=go(n),l=g.useRef(!1);return g.useEffect(()=>{const u=c=>{c.target&&!l.current&&ny(yx,i,{originalEvent:c},{discrete:!1})};return r.addEventListener("focusin",u),()=>r.removeEventListener("focusin",u)},[r,i]),{onFocusCapture:()=>l.current=!0,onBlurCapture:()=>l.current=!1}}function Rh(){const n=new CustomEvent(Lc);document.dispatchEvent(n)}function ny(n,r,i,{discrete:l}){const u=i.originalEvent.target,c=new CustomEvent(n,{bubbles:!1,cancelable:!0,detail:i});r&&u.addEventListener(n,r,{once:!0}),l?fx(u,c):u.dispatchEvent(c)}var lc=0;function Sx(){g.useEffect(()=>{const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",n[0]??Ph()),document.body.insertAdjacentElement("beforeend",n[1]??Ph()),lc++,()=>{lc===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),lc--}},[])}function Ph(){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 ac="focusScope.autoFocusOnMount",uc="focusScope.autoFocusOnUnmount",Mh={bubbles:!1,cancelable:!0},kx="FocusScope",ry=g.forwardRef((n,r)=>{const{loop:i=!1,trapped:l=!1,onMountAutoFocus:u,onUnmountAutoFocus:c,...f}=n,[p,h]=g.useState(null),y=go(u),w=go(c),x=g.useRef(null),C=ct(r,S=>h(S)),v=g.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;g.useEffect(()=>{if(l){let S=function(R){if(v.paused||!p)return;const L=R.target;p.contains(L)?x.current=L:Tr(x.current,{select:!0})},k=function(R){if(v.paused||!p)return;const L=R.relatedTarget;L!==null&&(p.contains(L)||Tr(x.current,{select:!0}))},P=function(R){if(document.activeElement===document.body)for(const z of R)z.removedNodes.length>0&&Tr(p)};document.addEventListener("focusin",S),document.addEventListener("focusout",k);const T=new MutationObserver(P);return p&&T.observe(p,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",S),document.removeEventListener("focusout",k),T.disconnect()}}},[l,p,v.paused]),g.useEffect(()=>{if(p){Oh.add(v);const S=document.activeElement;if(!p.contains(S)){const P=new CustomEvent(ac,Mh);p.addEventListener(ac,y),p.dispatchEvent(P),P.defaultPrevented||(Cx(Mx(oy(p)),{select:!0}),document.activeElement===S&&Tr(p))}return()=>{p.removeEventListener(ac,y),setTimeout(()=>{const P=new CustomEvent(uc,Mh);p.addEventListener(uc,w),p.dispatchEvent(P),P.defaultPrevented||Tr(S??document.body,{select:!0}),p.removeEventListener(uc,w),Oh.remove(v)},0)}}},[p,y,w,v]);const O=g.useCallback(S=>{if(!i&&!l||v.paused)return;const k=S.key==="Tab"&&!S.altKey&&!S.ctrlKey&&!S.metaKey,P=document.activeElement;if(k&&P){const T=S.currentTarget,[R,L]=Ex(T);R&&L?!S.shiftKey&&P===L?(S.preventDefault(),i&&Tr(R,{select:!0})):S.shiftKey&&P===R&&(S.preventDefault(),i&&Tr(L,{select:!0})):P===T&&S.preventDefault()}},[i,l,v.paused]);return ee.jsx(Xe.div,{tabIndex:-1,...f,ref:C,onKeyDown:O})});ry.displayName=kx;function Cx(n,{select:r=!1}={}){const i=document.activeElement;for(const l of n)if(Tr(l,{select:r}),document.activeElement!==i)return}function Ex(n){const r=oy(n),i=Th(r,n),l=Th(r.reverse(),n);return[i,l]}function oy(n){const r=[],i=document.createTreeWalker(n,NodeFilter.SHOW_ELEMENT,{acceptNode:l=>{const u=l.tagName==="INPUT"&&l.type==="hidden";return l.disabled||l.hidden||u?NodeFilter.FILTER_SKIP:l.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;i.nextNode();)r.push(i.currentNode);return r}function Th(n,r){for(const i of n)if(!bx(i,{upTo:r}))return i}function bx(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 Rx(n){return n instanceof HTMLInputElement&&"select"in n}function Tr(n,{select:r=!1}={}){if(n&&n.focus){const i=document.activeElement;n.focus({preventScroll:!0}),n!==i&&Rx(n)&&r&&n.select()}}var Oh=Px();function Px(){let n=[];return{add(r){const i=n[0];r!==i&&(i==null||i.pause()),n=Nh(n,r),n.unshift(r)},remove(r){var i;n=Nh(n,r),(i=n[0])==null||i.resume()}}}function Nh(n,r){const i=[...n],l=i.indexOf(r);return l!==-1&&i.splice(l,1),i}function Mx(n){return n.filter(r=>r.tagName!=="A")}var It=globalThis!=null&&globalThis.document?g.useLayoutEffect:()=>{},Tx=dm[" useId ".trim().toString()]||(()=>{}),Ox=0;function sd(n){const[r,i]=g.useState(Tx());return It(()=>{i(l=>l??String(Ox++))},[n]),r?`radix-${r}`:""}const Nx=["top","right","bottom","left"],Br=Math.min,jt=Math.max,ta=Math.round,jl=Math.floor,An=n=>({x:n,y:n}),_x={left:"right",right:"left",bottom:"top",top:"bottom"},Lx={start:"end",end:"start"};function Ic(n,r,i){return jt(n,Br(r,i))}function nr(n,r){return typeof n=="function"?n(r):n}function rr(n){return n.split("-")[0]}function wi(n){return n.split("-")[1]}function ld(n){return n==="x"?"y":"x"}function ad(n){return n==="y"?"height":"width"}const Ix=new Set(["top","bottom"]);function In(n){return Ix.has(rr(n))?"y":"x"}function ud(n){return ld(In(n))}function Ax(n,r,i){i===void 0&&(i=!1);const l=wi(n),u=ud(n),c=ad(u);let f=u==="x"?l===(i?"end":"start")?"right":"left":l==="start"?"bottom":"top";return r.reference[c]>r.floating[c]&&(f=na(f)),[f,na(f)]}function Dx(n){const r=na(n);return[Ac(n),r,Ac(r)]}function Ac(n){return n.replace(/start|end/g,r=>Lx[r])}const _h=["left","right"],Lh=["right","left"],Fx=["top","bottom"],zx=["bottom","top"];function jx(n,r,i){switch(n){case"top":case"bottom":return i?r?Lh:_h:r?_h:Lh;case"left":case"right":return r?Fx:zx;default:return[]}}function Bx(n,r,i,l){const u=wi(n);let c=jx(rr(n),i==="start",l);return u&&(c=c.map(f=>f+"-"+u),r&&(c=c.concat(c.map(Ac)))),c}function na(n){return n.replace(/left|right|bottom|top/g,r=>_x[r])}function Ux(n){return{top:0,right:0,bottom:0,left:0,...n}}function iy(n){return typeof n!="number"?Ux(n):{top:n,right:n,bottom:n,left:n}}function ra(n){const{x:r,y:i,width:l,height:u}=n;return{width:l,height:u,top:i,left:r,right:r+l,bottom:i+u,x:r,y:i}}function Ih(n,r,i){let{reference:l,floating:u}=n;const c=In(r),f=ud(r),p=ad(f),h=rr(r),y=c==="y",w=l.x+l.width/2-u.width/2,x=l.y+l.height/2-u.height/2,C=l[p]/2-u[p]/2;let v;switch(h){case"top":v={x:w,y:l.y-u.height};break;case"bottom":v={x:w,y:l.y+l.height};break;case"right":v={x:l.x+l.width,y:x};break;case"left":v={x:l.x-u.width,y:x};break;default:v={x:l.x,y:l.y}}switch(wi(r)){case"start":v[f]-=C*(i&&y?-1:1);break;case"end":v[f]+=C*(i&&y?-1:1);break}return v}async function Hx(n,r){var i;r===void 0&&(r={});const{x:l,y:u,platform:c,rects:f,elements:p,strategy:h}=n,{boundary:y="clippingAncestors",rootBoundary:w="viewport",elementContext:x="floating",altBoundary:C=!1,padding:v=0}=nr(r,n),O=iy(v),k=p[C?x==="floating"?"reference":"floating":x],P=ra(await c.getClippingRect({element:(i=await(c.isElement==null?void 0:c.isElement(k)))==null||i?k:k.contextElement||await(c.getDocumentElement==null?void 0:c.getDocumentElement(p.floating)),boundary:y,rootBoundary:w,strategy:h})),T=x==="floating"?{x:l,y:u,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=ra(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 $x=async(n,r,i)=>{const{placement:l="bottom",strategy:u="absolute",middleware:c=[],platform:f}=i,p=c.filter(Boolean),h=await(f.isRTL==null?void 0:f.isRTL(r));let y=await f.getElementRects({reference:n,floating:r,strategy:u}),{x:w,y:x}=Ih(y,l,h),C=l,v={},O=0;for(let k=0;k<p.length;k++){var S;const{name:P,fn:T}=p[k],{x:R,y:L,data:z,reset:U}=await T({x:w,y:x,initialPlacement:l,placement:C,strategy:u,middlewareData:v,rects:y,platform:{...f,detectOverflow:(S=f.detectOverflow)!=null?S:Hx},elements:{reference:n,floating:r}});w=R??w,x=L??x,v={...v,[P]:{...v[P],...z}},U&&O<=50&&(O++,typeof U=="object"&&(U.placement&&(C=U.placement),U.rects&&(y=U.rects===!0?await f.getElementRects({reference:n,floating:r,strategy:u}):U.rects),{x:w,y:x}=Ih(y,C,h)),k=-1)}return{x:w,y:x,placement:C,strategy:u,middlewareData:v}},Vx=n=>({name:"arrow",options:n,async fn(r){const{x:i,y:l,placement:u,rects:c,platform:f,elements:p,middlewareData:h}=r,{element:y,padding:w=0}=nr(n,r)||{};if(y==null)return{};const x=iy(w),C={x:i,y:l},v=ud(u),O=ad(v),S=await f.getDimensions(y),k=v==="y",P=k?"top":"left",T=k?"bottom":"right",R=k?"clientHeight":"clientWidth",L=c.reference[O]+c.reference[v]-C[v]-c.floating[O],z=C[v]-c.reference[v],U=await(f.getOffsetParent==null?void 0:f.getOffsetParent(y));let H=U?U[R]:0;(!H||!await(f.isElement==null?void 0:f.isElement(U)))&&(H=p.floating[R]||c.floating[O]);const q=L/2-z/2,Z=H/2-S[O]/2-1,te=Br(x[P],Z),he=Br(x[T],Z),X=te,ve=H-S[O]-he,ce=H/2-S[O]/2+q,xe=Ic(X,ce,ve),ae=!h.arrow&&wi(u)!=null&&ce!==xe&&c.reference[O]/2-(ce<X?te:he)-S[O]/2<0,ie=ae?ce<X?ce-X:ce-ve:0;return{[v]:C[v]+ie,data:{[v]:xe,centerOffset:ce-xe-ie,...ae&&{alignmentOffset:ie}},reset:ae}}}),Wx=function(n){return n===void 0&&(n={}),{name:"flip",options:n,async fn(r){var i,l;const{placement:u,middlewareData:c,rects:f,initialPlacement:p,platform:h,elements:y}=r,{mainAxis:w=!0,crossAxis:x=!0,fallbackPlacements:C,fallbackStrategy:v="bestFit",fallbackAxisSideDirection:O="none",flipAlignment:S=!0,...k}=nr(n,r);if((i=c.arrow)!=null&&i.alignmentOffset)return{};const P=rr(u),T=In(p),R=rr(p)===p,L=await(h.isRTL==null?void 0:h.isRTL(y.floating)),z=C||(R||!S?[na(p)]:Dx(p)),U=O!=="none";!C&&U&&z.push(...Bx(p,S,O,L));const H=[p,...z],q=await h.detectOverflow(r,k),Z=[];let te=((l=c.flip)==null?void 0:l.overflows)||[];if(w&&Z.push(q[P]),x){const ce=Ax(u,f,L);Z.push(q[ce[0]],q[ce[1]])}if(te=[...te,{placement:u,overflows:Z}],!Z.every(ce=>ce<=0)){var he,X;const ce=(((he=c.flip)==null?void 0:he.index)||0)+1,xe=H[ce];if(xe&&(!(x==="alignment"?T!==In(xe):!1)||te.every(j=>In(j.placement)===T?j.overflows[0]>0:!0)))return{data:{index:ce,overflows:te},reset:{placement:xe}};let ae=(X=te.filter(ie=>ie.overflows[0]<=0).sort((ie,j)=>ie.overflows[1]-j.overflows[1])[0])==null?void 0:X.placement;if(!ae)switch(v){case"bestFit":{var ve;const ie=(ve=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,W)=>B+W,0)]).sort((j,B)=>j[1]-B[1])[0])==null?void 0:ve[0];ie&&(ae=ie);break}case"initialPlacement":ae=p;break}if(u!==ae)return{reset:{placement:ae}}}return{}}}};function Ah(n,r){return{top:n.top-r.height,right:n.right-r.width,bottom:n.bottom-r.height,left:n.left-r.width}}function Dh(n){return Nx.some(r=>n[r]>=0)}const Qx=function(n){return n===void 0&&(n={}),{name:"hide",options:n,async fn(r){const{rects:i,platform:l}=r,{strategy:u="referenceHidden",...c}=nr(n,r);switch(u){case"referenceHidden":{const f=await l.detectOverflow(r,{...c,elementContext:"reference"}),p=Ah(f,i.reference);return{data:{referenceHiddenOffsets:p,referenceHidden:Dh(p)}}}case"escaped":{const f=await l.detectOverflow(r,{...c,altBoundary:!0}),p=Ah(f,i.floating);return{data:{escapedOffsets:p,escaped:Dh(p)}}}default:return{}}}}},sy=new Set(["left","top"]);async function Kx(n,r){const{placement:i,platform:l,elements:u}=n,c=await(l.isRTL==null?void 0:l.isRTL(u.floating)),f=rr(i),p=wi(i),h=In(i)==="y",y=sy.has(f)?-1:1,w=c&&h?-1:1,x=nr(r,n);let{mainAxis:C,crossAxis:v,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"&&(v=p==="end"?O*-1:O),h?{x:v*w,y:C*y}:{x:C*y,y:v*w}}const qx=function(n){return n===void 0&&(n=0),{name:"offset",options:n,async fn(r){var i,l;const{x:u,y:c,placement:f,middlewareData:p}=r,h=await Kx(r,n);return f===((i=p.offset)==null?void 0:i.placement)&&(l=p.arrow)!=null&&l.alignmentOffset?{}:{x:u+h.x,y:c+h.y,data:{...h,placement:f}}}}},Yx=function(n){return n===void 0&&(n={}),{name:"shift",options:n,async fn(r){const{x:i,y:l,placement:u,platform:c}=r,{mainAxis:f=!0,crossAxis:p=!1,limiter:h={fn:P=>{let{x:T,y:R}=P;return{x:T,y:R}}},...y}=nr(n,r),w={x:i,y:l},x=await c.detectOverflow(r,y),C=In(rr(u)),v=ld(C);let O=w[v],S=w[C];if(f){const P=v==="y"?"top":"left",T=v==="y"?"bottom":"right",R=O+x[P],L=O-x[T];O=Ic(R,O,L)}if(p){const P=C==="y"?"top":"left",T=C==="y"?"bottom":"right",R=S+x[P],L=S-x[T];S=Ic(R,S,L)}const k=h.fn({...r,[v]:O,[C]:S});return{...k,data:{x:k.x-i,y:k.y-l,enabled:{[v]:f,[C]:p}}}}}},Gx=function(n){return n===void 0&&(n={}),{options:n,fn(r){const{x:i,y:l,placement:u,rects:c,middlewareData:f}=r,{offset:p=0,mainAxis:h=!0,crossAxis:y=!0}=nr(n,r),w={x:i,y:l},x=In(u),C=ld(x);let v=w[C],O=w[x];const S=nr(p,r),k=typeof S=="number"?{mainAxis:S,crossAxis:0}:{mainAxis:0,crossAxis:0,...S};if(h){const R=C==="y"?"height":"width",L=c.reference[C]-c.floating[R]+k.mainAxis,z=c.reference[C]+c.reference[R]-k.mainAxis;v<L?v=L:v>z&&(v=z)}if(y){var P,T;const R=C==="y"?"width":"height",L=sy.has(rr(u)),z=c.reference[x]-c.floating[R]+(L&&((P=f.offset)==null?void 0:P[x])||0)+(L?0:k.crossAxis),U=c.reference[x]+c.reference[R]+(L?0:((T=f.offset)==null?void 0:T[x])||0)-(L?k.crossAxis:0);O<z?O=z:O>U&&(O=U)}return{[C]:v,[x]:O}}}},Xx=function(n){return n===void 0&&(n={}),{name:"size",options:n,async fn(r){var i,l;const{placement:u,rects:c,platform:f,elements:p}=r,{apply:h=()=>{},...y}=nr(n,r),w=await f.detectOverflow(r,y),x=rr(u),C=wi(u),v=In(u)==="y",{width:O,height:S}=c.floating;let k,P;x==="top"||x==="bottom"?(k=x,P=C===(await(f.isRTL==null?void 0:f.isRTL(p.floating))?"start":"end")?"left":"right"):(P=x,k=C==="end"?"top":"bottom");const T=S-w.top-w.bottom,R=O-w.left-w.right,L=Br(S-w[k],T),z=Br(O-w[P],R),U=!r.middlewareData.shift;let H=L,q=z;if((i=r.middlewareData.shift)!=null&&i.enabled.x&&(q=R),(l=r.middlewareData.shift)!=null&&l.enabled.y&&(H=T),U&&!C){const te=jt(w.left,0),he=jt(w.right,0),X=jt(w.top,0),ve=jt(w.bottom,0);v?q=O-2*(te!==0||he!==0?te+he:jt(w.left,w.right)):H=S-2*(X!==0||ve!==0?X+ve:jt(w.top,w.bottom))}await h({...r,availableWidth:q,availableHeight:H});const Z=await f.getDimensions(p.floating);return O!==Z.width||S!==Z.height?{reset:{rects:!0}}:{}}}};function aa(){return typeof window<"u"}function xi(n){return ly(n)?(n.nodeName||"").toLowerCase():"#document"}function Bt(n){var r;return(n==null||(r=n.ownerDocument)==null?void 0:r.defaultView)||window}function Fn(n){var r;return(r=(ly(n)?n.ownerDocument:n.document)||window.document)==null?void 0:r.documentElement}function ly(n){return aa()?n instanceof Node||n instanceof Bt(n).Node:!1}function hn(n){return aa()?n instanceof Element||n instanceof Bt(n).Element:!1}function Dn(n){return aa()?n instanceof HTMLElement||n instanceof Bt(n).HTMLElement:!1}function Fh(n){return!aa()||typeof ShadowRoot>"u"?!1:n instanceof ShadowRoot||n instanceof Bt(n).ShadowRoot}const Zx=new Set(["inline","contents"]);function Ss(n){const{overflow:r,overflowX:i,overflowY:l,display:u}=mn(n);return/auto|scroll|overlay|hidden|clip/.test(r+l+i)&&!Zx.has(u)}const Jx=new Set(["table","td","th"]);function eS(n){return Jx.has(xi(n))}const tS=[":popover-open",":modal"];function ua(n){return tS.some(r=>{try{return n.matches(r)}catch{return!1}})}const nS=["transform","translate","scale","rotate","perspective"],rS=["transform","translate","scale","rotate","perspective","filter"],oS=["paint","layout","strict","content"];function cd(n){const r=dd(),i=hn(n)?mn(n):n;return nS.some(l=>i[l]?i[l]!=="none":!1)||(i.containerType?i.containerType!=="normal":!1)||!r&&(i.backdropFilter?i.backdropFilter!=="none":!1)||!r&&(i.filter?i.filter!=="none":!1)||rS.some(l=>(i.willChange||"").includes(l))||oS.some(l=>(i.contain||"").includes(l))}function iS(n){let r=Ur(n);for(;Dn(r)&&!pi(r);){if(cd(r))return r;if(ua(r))return null;r=Ur(r)}return null}function dd(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const sS=new Set(["html","body","#document"]);function pi(n){return sS.has(xi(n))}function mn(n){return Bt(n).getComputedStyle(n)}function ca(n){return hn(n)?{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}:{scrollLeft:n.scrollX,scrollTop:n.scrollY}}function Ur(n){if(xi(n)==="html")return n;const r=n.assignedSlot||n.parentNode||Fh(n)&&n.host||Fn(n);return Fh(r)?r.host:r}function ay(n){const r=Ur(n);return pi(r)?n.ownerDocument?n.ownerDocument.body:n.body:Dn(r)&&Ss(r)?r:ay(r)}function fs(n,r,i){var l;r===void 0&&(r=[]),i===void 0&&(i=!0);const u=ay(n),c=u===((l=n.ownerDocument)==null?void 0:l.body),f=Bt(u);if(c){const p=Dc(f);return r.concat(f,f.visualViewport||[],Ss(u)?u:[],p&&i?fs(p):[])}return r.concat(u,fs(u,[],i))}function Dc(n){return n.parent&&Object.getPrototypeOf(n.parent)?n.frameElement:null}function uy(n){const r=mn(n);let i=parseFloat(r.width)||0,l=parseFloat(r.height)||0;const u=Dn(n),c=u?n.offsetWidth:i,f=u?n.offsetHeight:l,p=ta(i)!==c||ta(l)!==f;return p&&(i=c,l=f),{width:i,height:l,$:p}}function fd(n){return hn(n)?n:n.contextElement}function Jo(n){const r=fd(n);if(!Dn(r))return An(1);const i=r.getBoundingClientRect(),{width:l,height:u,$:c}=uy(r);let f=(c?ta(i.width):i.width)/l,p=(c?ta(i.height):i.height)/u;return(!f||!Number.isFinite(f))&&(f=1),(!p||!Number.isFinite(p))&&(p=1),{x:f,y:p}}const lS=An(0);function cy(n){const r=Bt(n);return!dd()||!r.visualViewport?lS:{x:r.visualViewport.offsetLeft,y:r.visualViewport.offsetTop}}function aS(n,r,i){return r===void 0&&(r=!1),!i||r&&i!==Bt(n)?!1:r}function wo(n,r,i,l){r===void 0&&(r=!1),i===void 0&&(i=!1);const u=n.getBoundingClientRect(),c=fd(n);let f=An(1);r&&(l?hn(l)&&(f=Jo(l)):f=Jo(n));const p=aS(c,i,l)?cy(c):An(0);let h=(u.left+p.x)/f.x,y=(u.top+p.y)/f.y,w=u.width/f.x,x=u.height/f.y;if(c){const C=Bt(c),v=l&&hn(l)?Bt(l):l;let O=C,S=Dc(O);for(;S&&l&&v!==O;){const k=Jo(S),P=S.getBoundingClientRect(),T=mn(S),R=P.left+(S.clientLeft+parseFloat(T.paddingLeft))*k.x,L=P.top+(S.clientTop+parseFloat(T.paddingTop))*k.y;h*=k.x,y*=k.y,w*=k.x,x*=k.y,h+=R,y+=L,O=Bt(S),S=Dc(O)}}return ra({width:w,height:x,x:h,y})}function da(n,r){const i=ca(n).scrollLeft;return r?r.left+i:wo(Fn(n)).left+i}function dy(n,r){const i=n.getBoundingClientRect(),l=i.left+r.scrollLeft-da(n,i),u=i.top+r.scrollTop;return{x:l,y:u}}function uS(n){let{elements:r,rect:i,offsetParent:l,strategy:u}=n;const c=u==="fixed",f=Fn(l),p=r?ua(r.floating):!1;if(l===f||p&&c)return i;let h={scrollLeft:0,scrollTop:0},y=An(1);const w=An(0),x=Dn(l);if((x||!x&&!c)&&((xi(l)!=="body"||Ss(f))&&(h=ca(l)),Dn(l))){const v=wo(l);y=Jo(l),w.x=v.x+l.clientLeft,w.y=v.y+l.clientTop}const C=f&&!x&&!c?dy(f,h):An(0);return{width:i.width*y.x,height:i.height*y.y,x:i.x*y.x-h.scrollLeft*y.x+w.x+C.x,y:i.y*y.y-h.scrollTop*y.y+w.y+C.y}}function cS(n){return Array.from(n.getClientRects())}function dS(n){const r=Fn(n),i=ca(n),l=n.ownerDocument.body,u=jt(r.scrollWidth,r.clientWidth,l.scrollWidth,l.clientWidth),c=jt(r.scrollHeight,r.clientHeight,l.scrollHeight,l.clientHeight);let f=-i.scrollLeft+da(n);const p=-i.scrollTop;return mn(l).direction==="rtl"&&(f+=jt(r.clientWidth,l.clientWidth)-u),{width:u,height:c,x:f,y:p}}const zh=25;function fS(n,r){const i=Bt(n),l=Fn(n),u=i.visualViewport;let c=l.clientWidth,f=l.clientHeight,p=0,h=0;if(u){c=u.width,f=u.height;const w=dd();(!w||w&&r==="fixed")&&(p=u.offsetLeft,h=u.offsetTop)}const y=da(l);if(y<=0){const w=l.ownerDocument,x=w.body,C=getComputedStyle(x),v=w.compatMode==="CSS1Compat"&&parseFloat(C.marginLeft)+parseFloat(C.marginRight)||0,O=Math.abs(l.clientWidth-x.clientWidth-v);O<=zh&&(c-=O)}else y<=zh&&(c+=y);return{width:c,height:f,x:p,y:h}}const pS=new Set(["absolute","fixed"]);function hS(n,r){const i=wo(n,!0,r==="fixed"),l=i.top+n.clientTop,u=i.left+n.clientLeft,c=Dn(n)?Jo(n):An(1),f=n.clientWidth*c.x,p=n.clientHeight*c.y,h=u*c.x,y=l*c.y;return{width:f,height:p,x:h,y}}function jh(n,r,i){let l;if(r==="viewport")l=fS(n,i);else if(r==="document")l=dS(Fn(n));else if(hn(r))l=hS(r,i);else{const u=cy(n);l={x:r.x-u.x,y:r.y-u.y,width:r.width,height:r.height}}return ra(l)}function fy(n,r){const i=Ur(n);return i===r||!hn(i)||pi(i)?!1:mn(i).position==="fixed"||fy(i,r)}function mS(n,r){const i=r.get(n);if(i)return i;let l=fs(n,[],!1).filter(p=>hn(p)&&xi(p)!=="body"),u=null;const c=mn(n).position==="fixed";let f=c?Ur(n):n;for(;hn(f)&&!pi(f);){const p=mn(f),h=cd(f);!h&&p.position==="fixed"&&(u=null),(c?!h&&!u:!h&&p.position==="static"&&!!u&&pS.has(u.position)||Ss(f)&&!h&&fy(n,f))?l=l.filter(w=>w!==f):u=p,f=Ur(f)}return r.set(n,l),l}function yS(n){let{element:r,boundary:i,rootBoundary:l,strategy:u}=n;const f=[...i==="clippingAncestors"?ua(r)?[]:mS(r,this._c):[].concat(i),l],p=f[0],h=f.reduce((y,w)=>{const x=jh(r,w,u);return y.top=jt(x.top,y.top),y.right=Br(x.right,y.right),y.bottom=Br(x.bottom,y.bottom),y.left=jt(x.left,y.left),y},jh(r,p,u));return{width:h.right-h.left,height:h.bottom-h.top,x:h.left,y:h.top}}function vS(n){const{width:r,height:i}=uy(n);return{width:r,height:i}}function gS(n,r,i){const l=Dn(r),u=Fn(r),c=i==="fixed",f=wo(n,!0,c,r);let p={scrollLeft:0,scrollTop:0};const h=An(0);function y(){h.x=da(u)}if(l||!l&&!c)if((xi(r)!=="body"||Ss(u))&&(p=ca(r)),l){const v=wo(r,!0,c,r);h.x=v.x+r.clientLeft,h.y=v.y+r.clientTop}else u&&y();c&&!l&&u&&y();const w=u&&!l&&!c?dy(u,p):An(0),x=f.left+p.scrollLeft-h.x-w.x,C=f.top+p.scrollTop-h.y-w.y;return{x,y:C,width:f.width,height:f.height}}function cc(n){return mn(n).position==="static"}function Bh(n,r){if(!Dn(n)||mn(n).position==="fixed")return null;if(r)return r(n);let i=n.offsetParent;return Fn(n)===i&&(i=i.ownerDocument.body),i}function py(n,r){const i=Bt(n);if(ua(n))return i;if(!Dn(n)){let u=Ur(n);for(;u&&!pi(u);){if(hn(u)&&!cc(u))return u;u=Ur(u)}return i}let l=Bh(n,r);for(;l&&eS(l)&&cc(l);)l=Bh(l,r);return l&&pi(l)&&cc(l)&&!cd(l)?i:l||iS(n)||i}const wS=async function(n){const r=this.getOffsetParent||py,i=this.getDimensions,l=await i(n.floating);return{reference:gS(n.reference,await r(n.floating),n.strategy),floating:{x:0,y:0,width:l.width,height:l.height}}};function xS(n){return mn(n).direction==="rtl"}const SS={convertOffsetParentRelativeRectToViewportRelativeRect:uS,getDocumentElement:Fn,getClippingRect:yS,getOffsetParent:py,getElementRects:wS,getClientRects:cS,getDimensions:vS,getScale:Jo,isElement:hn,isRTL:xS};function hy(n,r){return n.x===r.x&&n.y===r.y&&n.width===r.width&&n.height===r.height}function kS(n,r){let i=null,l;const u=Fn(n);function c(){var p;clearTimeout(l),(p=i)==null||p.disconnect(),i=null}function f(p,h){p===void 0&&(p=!1),h===void 0&&(h=1),c();const y=n.getBoundingClientRect(),{left:w,top:x,width:C,height:v}=y;if(p||r(),!C||!v)return;const O=jl(x),S=jl(u.clientWidth-(w+C)),k=jl(u.clientHeight-(x+v)),P=jl(w),R={rootMargin:-O+"px "+-S+"px "+-k+"px "+-P+"px",threshold:jt(0,Br(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):l=setTimeout(()=>{f(!1,1e-7)},1e3)}H===1&&!hy(y,n.getBoundingClientRect())&&f(),L=!1}try{i=new IntersectionObserver(z,{...R,root:u.ownerDocument})}catch{i=new IntersectionObserver(z,R)}i.observe(n)}return f(!0),c}function CS(n,r,i,l){l===void 0&&(l={});const{ancestorScroll:u=!0,ancestorResize:c=!0,elementResize:f=typeof ResizeObserver=="function",layoutShift:p=typeof IntersectionObserver=="function",animationFrame:h=!1}=l,y=fd(n),w=u||c?[...y?fs(y):[],...fs(r)]:[];w.forEach(P=>{u&&P.addEventListener("scroll",i,{passive:!0}),c&&P.addEventListener("resize",i)});const x=y&&p?kS(y,i):null;let C=-1,v=null;f&&(v=new ResizeObserver(P=>{let[T]=P;T&&T.target===y&&v&&(v.unobserve(r),cancelAnimationFrame(C),C=requestAnimationFrame(()=>{var R;(R=v)==null||R.observe(r)})),i()}),y&&!h&&v.observe(y),v.observe(r));let O,S=h?wo(n):null;h&&k();function k(){const P=wo(n);S&&!hy(S,P)&&i(),S=P,O=requestAnimationFrame(k)}return i(),()=>{var P;w.forEach(T=>{u&&T.removeEventListener("scroll",i),c&&T.removeEventListener("resize",i)}),x==null||x(),(P=v)==null||P.disconnect(),v=null,h&&cancelAnimationFrame(O)}}const ES=qx,bS=Yx,RS=Wx,PS=Xx,MS=Qx,Uh=Vx,TS=Gx,OS=(n,r,i)=>{const l=new Map,u={platform:SS,...i},c={...u.platform,_c:l};return $x(n,r,{...u,platform:c})};var NS=typeof document<"u",_S=function(){},ql=NS?g.useLayoutEffect:_S;function oa(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,l,u;if(n&&r&&typeof n=="object"){if(Array.isArray(n)){if(i=n.length,i!==r.length)return!1;for(l=i;l--!==0;)if(!oa(n[l],r[l]))return!1;return!0}if(u=Object.keys(n),i=u.length,i!==Object.keys(r).length)return!1;for(l=i;l--!==0;)if(!{}.hasOwnProperty.call(r,u[l]))return!1;for(l=i;l--!==0;){const c=u[l];if(!(c==="_owner"&&n.$$typeof)&&!oa(n[c],r[c]))return!1}return!0}return n!==n&&r!==r}function my(n){return typeof window>"u"?1:(n.ownerDocument.defaultView||window).devicePixelRatio||1}function Hh(n,r){const i=my(n);return Math.round(r*i)/i}function dc(n){const r=g.useRef(n);return ql(()=>{r.current=n}),r}function LS(n){n===void 0&&(n={});const{placement:r="bottom",strategy:i="absolute",middleware:l=[],platform:u,elements:{reference:c,floating:f}={},transform:p=!0,whileElementsMounted:h,open:y}=n,[w,x]=g.useState({x:0,y:0,strategy:i,placement:r,middlewareData:{},isPositioned:!1}),[C,v]=g.useState(l);oa(C,l)||v(l);const[O,S]=g.useState(null),[k,P]=g.useState(null),T=g.useCallback(j=>{j!==U.current&&(U.current=j,S(j))},[]),R=g.useCallback(j=>{j!==H.current&&(H.current=j,P(j))},[]),L=c||O,z=f||k,U=g.useRef(null),H=g.useRef(null),q=g.useRef(w),Z=h!=null,te=dc(h),he=dc(u),X=dc(y),ve=g.useCallback(()=>{if(!U.current||!H.current)return;const j={placement:r,strategy:i,middleware:C};he.current&&(j.platform=he.current),OS(U.current,H.current,j).then(B=>{const W={...B,isPositioned:X.current!==!1};ce.current&&!oa(q.current,W)&&(q.current=W,xs.flushSync(()=>{x(W)}))})},[C,r,i,he,X]);ql(()=>{y===!1&&q.current.isPositioned&&(q.current.isPositioned=!1,x(j=>({...j,isPositioned:!1})))},[y]);const ce=g.useRef(!1);ql(()=>(ce.current=!0,()=>{ce.current=!1}),[]),ql(()=>{if(L&&(U.current=L),z&&(H.current=z),L&&z){if(te.current)return te.current(L,z,ve);ve()}},[L,z,ve,te,Z]);const xe=g.useMemo(()=>({reference:U,floating:H,setReference:T,setFloating:R}),[T,R]),ae=g.useMemo(()=>({reference:L,floating:z}),[L,z]),ie=g.useMemo(()=>{const j={position:i,left:0,top:0};if(!ae.floating)return j;const B=Hh(ae.floating,w.x),W=Hh(ae.floating,w.y);return p?{...j,transform:"translate("+B+"px, "+W+"px)",...my(ae.floating)>=1.5&&{willChange:"transform"}}:{position:i,left:B,top:W}},[i,p,ae.floating,w.x,w.y]);return g.useMemo(()=>({...w,update:ve,refs:xe,elements:ae,floatingStyles:ie}),[w,ve,xe,ae,ie])}const IS=n=>{function r(i){return{}.hasOwnProperty.call(i,"current")}return{name:"arrow",options:n,fn(i){const{element:l,padding:u}=typeof n=="function"?n(i):n;return l&&r(l)?l.current!=null?Uh({element:l.current,padding:u}).fn(i):{}:l?Uh({element:l,padding:u}).fn(i):{}}}},AS=(n,r)=>({...ES(n),options:[n,r]}),DS=(n,r)=>({...bS(n),options:[n,r]}),FS=(n,r)=>({...TS(n),options:[n,r]}),zS=(n,r)=>({...RS(n),options:[n,r]}),jS=(n,r)=>({...PS(n),options:[n,r]}),BS=(n,r)=>({...MS(n),options:[n,r]}),US=(n,r)=>({...IS(n),options:[n,r]});var HS="Arrow",yy=g.forwardRef((n,r)=>{const{children:i,width:l=10,height:u=5,...c}=n;return ee.jsx(Xe.svg,{...c,ref:r,width:l,height:u,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:n.asChild?i:ee.jsx("polygon",{points:"0,0 30,0 15,10"})})});yy.displayName=HS;var $S=yy;function VS(n){const[r,i]=g.useState(void 0);return It(()=>{if(n){i({width:n.offsetWidth,height:n.offsetHeight});const l=new ResizeObserver(u=>{if(!Array.isArray(u)||!u.length)return;const c=u[0];let f,p;if("borderBoxSize"in c){const h=c.borderBoxSize,y=Array.isArray(h)?h[0]:h;f=y.inlineSize,p=y.blockSize}else f=n.offsetWidth,p=n.offsetHeight;i({width:f,height:p})});return l.observe(n,{box:"border-box"}),()=>l.unobserve(n)}else i(void 0)},[n]),r}var pd="Popper",[vy,gy]=id(pd),[WS,wy]=vy(pd),xy=n=>{const{__scopePopper:r,children:i}=n,[l,u]=g.useState(null);return ee.jsx(WS,{scope:r,anchor:l,onAnchorChange:u,children:i})};xy.displayName=pd;var Sy="PopperAnchor",ky=g.forwardRef((n,r)=>{const{__scopePopper:i,virtualRef:l,...u}=n,c=wy(Sy,i),f=g.useRef(null),p=ct(r,f),h=g.useRef(null);return g.useEffect(()=>{const y=h.current;h.current=(l==null?void 0:l.current)||f.current,y!==h.current&&c.onAnchorChange(h.current)}),l?null:ee.jsx(Xe.div,{...u,ref:p})});ky.displayName=Sy;var hd="PopperContent",[QS,KS]=vy(hd),Cy=g.forwardRef((n,r)=>{var K,fe,ke,be,Me,Oe;const{__scopePopper:i,side:l="bottom",sideOffset:u=0,align:c="center",alignOffset:f=0,arrowPadding:p=0,avoidCollisions:h=!0,collisionBoundary:y=[],collisionPadding:w=0,sticky:x="partial",hideWhenDetached:C=!1,updatePositionStrategy:v="optimized",onPlaced:O,...S}=n,k=wy(hd,i),[P,T]=g.useState(null),R=ct(r,qe=>T(qe)),[L,z]=g.useState(null),U=VS(L),H=(U==null?void 0:U.width)??0,q=(U==null?void 0:U.height)??0,Z=l+(c!=="center"?"-"+c:""),te=typeof w=="number"?w:{top:0,right:0,bottom:0,left:0,...w},he=Array.isArray(y)?y:[y],X=he.length>0,ve={padding:te,boundary:he.filter(YS),altBoundary:X},{refs:ce,floatingStyles:xe,placement:ae,isPositioned:ie,middlewareData:j}=LS({strategy:"fixed",placement:Z,whileElementsMounted:(...qe)=>CS(...qe,{animationFrame:v==="always"}),elements:{reference:k.anchor},middleware:[AS({mainAxis:u+q,alignmentAxis:f}),h&&DS({mainAxis:!0,crossAxis:!1,limiter:x==="partial"?FS():void 0,...ve}),h&&zS({...ve}),jS({...ve,apply:({elements:qe,rects:dt,availableWidth:vn,availableHeight:Xt})=>{const{width:Zt,height:or}=dt.reference,gn=qe.floating.style;gn.setProperty("--radix-popper-available-width",`${vn}px`),gn.setProperty("--radix-popper-available-height",`${Xt}px`),gn.setProperty("--radix-popper-anchor-width",`${Zt}px`),gn.setProperty("--radix-popper-anchor-height",`${or}px`)}}),L&&US({element:L,padding:p}),GS({arrowWidth:H,arrowHeight:q}),C&&BS({strategy:"referenceHidden",...ve})]}),[B,W]=Ry(ae),N=go(O);It(()=>{ie&&(N==null||N())},[ie,N]);const F=(K=j.arrow)==null?void 0:K.x,ne=(fe=j.arrow)==null?void 0:fe.y,re=((ke=j.arrow)==null?void 0:ke.centerOffset)!==0,[ye,Se]=g.useState();return It(()=>{P&&Se(window.getComputedStyle(P).zIndex)},[P]),ee.jsx("div",{ref:ce.setFloating,"data-radix-popper-content-wrapper":"",style:{...xe,transform:ie?xe.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ye,"--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:ee.jsx(QS,{scope:i,placedSide:B,onArrowChange:z,arrowX:F,arrowY:ne,shouldHideArrow:re,children:ee.jsx(Xe.div,{"data-side":B,"data-align":W,...S,ref:R,style:{...S.style,animation:ie?void 0:"none"}})})})});Cy.displayName=hd;var Ey="PopperArrow",qS={top:"bottom",right:"left",bottom:"top",left:"right"},by=g.forwardRef(function(r,i){const{__scopePopper:l,...u}=r,c=KS(Ey,l),f=qS[c.placedSide];return ee.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:ee.jsx($S,{...u,ref:i,style:{...u.style,display:"block"}})})});by.displayName=Ey;function YS(n){return n!==null}var GS=n=>({name:"transformOrigin",options:n,fn(r){var k,P,T;const{placement:i,rects:l,middlewareData:u}=r,f=((k=u.arrow)==null?void 0:k.centerOffset)!==0,p=f?0:n.arrowWidth,h=f?0:n.arrowHeight,[y,w]=Ry(i),x={start:"0%",center:"50%",end:"100%"}[w],C=(((P=u.arrow)==null?void 0:P.x)??0)+p/2,v=(((T=u.arrow)==null?void 0:T.y)??0)+h/2;let O="",S="";return y==="bottom"?(O=f?x:`${C}px`,S=`${-h}px`):y==="top"?(O=f?x:`${C}px`,S=`${l.floating.height+h}px`):y==="right"?(O=`${-h}px`,S=f?x:`${v}px`):y==="left"&&(O=`${l.floating.width+h}px`,S=f?x:`${v}px`),{data:{x:O,y:S}}}});function Ry(n){const[r,i="center"]=n.split("-");return[r,i]}var XS=xy,ZS=ky,JS=Cy,e2=by,t2="Portal",Py=g.forwardRef((n,r)=>{var p;const{container:i,...l}=n,[u,c]=g.useState(!1);It(()=>c(!0),[]);const f=i||u&&((p=globalThis==null?void 0:globalThis.document)==null?void 0:p.body);return f?_m.createPortal(ee.jsx(Xe.div,{...l,ref:r}),f):null});Py.displayName=t2;var n2=dm[" useInsertionEffect ".trim().toString()]||It;function $h({prop:n,defaultProp:r,onChange:i=()=>{},caller:l}){const[u,c,f]=r2({defaultProp:r,onChange:i}),p=n!==void 0,h=p?n:u;{const w=g.useRef(n!==void 0);g.useEffect(()=>{const x=w.current;x!==p&&console.warn(`${l} 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,l])}const y=g.useCallback(w=>{var x;if(p){const C=o2(w)?w(n):w;C!==n&&((x=f.current)==null||x.call(f,C))}else c(w)},[p,n,c,f]);return[h,y]}function r2({defaultProp:n,onChange:r}){const[i,l]=g.useState(n),u=g.useRef(i),c=g.useRef(r);return n2(()=>{c.current=r},[r]),g.useEffect(()=>{var f;u.current!==i&&((f=c.current)==null||f.call(c,i),u.current=i)},[i,u]),[i,l,c]}function o2(n){return typeof n=="function"}function i2(n){const r=g.useRef({value:n,previous:n});return g.useMemo(()=>(r.current.value!==n&&(r.current.previous=r.current.value,r.current.value=n),r.current.previous),[n])}var My=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"}),s2="VisuallyHidden",Ty=g.forwardRef((n,r)=>ee.jsx(Xe.span,{...n,ref:r,style:{...My,...n.style}}));Ty.displayName=s2;var lE=Ty,l2=function(n){if(typeof document>"u")return null;var r=Array.isArray(n)?n[0]:n;return r.ownerDocument.body},Yo=new WeakMap,Bl=new WeakMap,Ul={},fc=0,Oy=function(n){return n&&(n.host||Oy(n.parentNode))},a2=function(n,r){return r.map(function(i){if(n.contains(i))return i;var l=Oy(i);return l&&n.contains(l)?l:(console.error("aria-hidden",i,"in not contained inside",n,". Doing nothing"),null)}).filter(function(i){return!!i})},u2=function(n,r,i,l){var u=a2(r,Array.isArray(n)?n:[n]);Ul[i]||(Ul[i]=new WeakMap);var c=Ul[i],f=[],p=new Set,h=new Set(u),y=function(x){!x||p.has(x)||(p.add(x),y(x.parentNode))};u.forEach(y);var w=function(x){!x||h.has(x)||Array.prototype.forEach.call(x.children,function(C){if(p.has(C))w(C);else try{var v=C.getAttribute(l),O=v!==null&&v!=="false",S=(Yo.get(C)||0)+1,k=(c.get(C)||0)+1;Yo.set(C,S),c.set(C,k),f.push(C),S===1&&O&&Bl.set(C,!0),k===1&&C.setAttribute(i,"true"),O||C.setAttribute(l,"true")}catch(P){console.error("aria-hidden: cannot operate on ",C,P)}})};return w(r),p.clear(),fc++,function(){f.forEach(function(x){var C=Yo.get(x)-1,v=c.get(x)-1;Yo.set(x,C),c.set(x,v),C||(Bl.has(x)||x.removeAttribute(l),Bl.delete(x)),v||x.removeAttribute(i)}),fc--,fc||(Yo=new WeakMap,Yo=new WeakMap,Bl=new WeakMap,Ul={})}},c2=function(n,r,i){i===void 0&&(i="data-aria-hidden");var l=Array.from(Array.isArray(n)?n:[n]),u=l2(n);return u?(l.push.apply(l,Array.from(u.querySelectorAll("[aria-live], script"))),u2(l,u,i,"aria-hidden")):function(){return null}},Ln=function(){return Ln=Object.assign||function(r){for(var i,l=1,u=arguments.length;l<u;l++){i=arguments[l];for(var c in i)Object.prototype.hasOwnProperty.call(i,c)&&(r[c]=i[c])}return r},Ln.apply(this,arguments)};function Ny(n,r){var i={};for(var l in n)Object.prototype.hasOwnProperty.call(n,l)&&r.indexOf(l)<0&&(i[l]=n[l]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var u=0,l=Object.getOwnPropertySymbols(n);u<l.length;u++)r.indexOf(l[u])<0&&Object.prototype.propertyIsEnumerable.call(n,l[u])&&(i[l[u]]=n[l[u]]);return i}function d2(n,r,i){if(i||arguments.length===2)for(var l=0,u=r.length,c;l<u;l++)(c||!(l in r))&&(c||(c=Array.prototype.slice.call(r,0,l)),c[l]=r[l]);return n.concat(c||Array.prototype.slice.call(r))}var Yl="right-scroll-bar-position",Gl="width-before-scroll-bar",f2="with-scroll-bars-hidden",p2="--removed-body-scroll-bar-size";function pc(n,r){return typeof n=="function"?n(r):n&&(n.current=r),n}function h2(n,r){var i=g.useState(function(){return{value:n,callback:r,facade:{get current(){return i.value},set current(l){var u=i.value;u!==l&&(i.value=l,i.callback(l,u))}}}})[0];return i.callback=r,i.facade}var m2=typeof window<"u"?g.useLayoutEffect:g.useEffect,Vh=new WeakMap;function y2(n,r){var i=h2(null,function(l){return n.forEach(function(u){return pc(u,l)})});return m2(function(){var l=Vh.get(i);if(l){var u=new Set(l),c=new Set(n),f=i.current;u.forEach(function(p){c.has(p)||pc(p,null)}),c.forEach(function(p){u.has(p)||pc(p,f)})}Vh.set(i,n)},[n]),i}function v2(n){return n}function g2(n,r){r===void 0&&(r=v2);var i=[],l=!1,u={read:function(){if(l)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,l);return i.push(f),function(){i=i.filter(function(p){return p!==f})}},assignSyncMedium:function(c){for(l=!0;i.length;){var f=i;i=[],f.forEach(c)}i={push:function(p){return c(p)},filter:function(){return i}}},assignMedium:function(c){l=!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)},y=function(){return Promise.resolve().then(h)};y(),i={push:function(w){f.push(w),y()},filter:function(w){return f=f.filter(w),i}}}};return u}function w2(n){n===void 0&&(n={});var r=g2(null);return r.options=Ln({async:!0,ssr:!1},n),r}var _y=function(n){var r=n.sideCar,i=Ny(n,["sideCar"]);if(!r)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var l=r.read();if(!l)throw new Error("Sidecar medium not found");return g.createElement(l,Ln({},i))};_y.isSideCarExport=!0;function x2(n,r){return n.useMedium(r),_y}var Ly=w2(),hc=function(){},fa=g.forwardRef(function(n,r){var i=g.useRef(null),l=g.useState({onScrollCapture:hc,onWheelCapture:hc,onTouchMoveCapture:hc}),u=l[0],c=l[1],f=n.forwardProps,p=n.children,h=n.className,y=n.removeScrollBar,w=n.enabled,x=n.shards,C=n.sideCar,v=n.noRelative,O=n.noIsolation,S=n.inert,k=n.allowPinchZoom,P=n.as,T=P===void 0?"div":P,R=n.gapMode,L=Ny(n,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),z=C,U=y2([i,r]),H=Ln(Ln({},L),u);return g.createElement(g.Fragment,null,w&&g.createElement(z,{sideCar:Ly,removeScrollBar:y,shards:x,noRelative:v,noIsolation:O,inert:S,setCallbacks:c,allowPinchZoom:!!k,lockRef:i,gapMode:R}),f?g.cloneElement(g.Children.only(p),Ln(Ln({},H),{ref:U})):g.createElement(T,Ln({},H,{className:h,ref:U}),p))});fa.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};fa.classNames={fullWidth:Gl,zeroRight:Yl};var S2=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function k2(){if(!document)return null;var n=document.createElement("style");n.type="text/css";var r=S2();return r&&n.setAttribute("nonce",r),n}function C2(n,r){n.styleSheet?n.styleSheet.cssText=r:n.appendChild(document.createTextNode(r))}function E2(n){var r=document.head||document.getElementsByTagName("head")[0];r.appendChild(n)}var b2=function(){var n=0,r=null;return{add:function(i){n==0&&(r=k2())&&(C2(r,i),E2(r)),n++},remove:function(){n--,!n&&r&&(r.parentNode&&r.parentNode.removeChild(r),r=null)}}},R2=function(){var n=b2();return function(r,i){g.useEffect(function(){return n.add(r),function(){n.remove()}},[r&&i])}},Iy=function(){var n=R2(),r=function(i){var l=i.styles,u=i.dynamic;return n(l,u),null};return r},P2={left:0,top:0,right:0,gap:0},mc=function(n){return parseInt(n||"",10)||0},M2=function(n){var r=window.getComputedStyle(document.body),i=r[n==="padding"?"paddingLeft":"marginLeft"],l=r[n==="padding"?"paddingTop":"marginTop"],u=r[n==="padding"?"paddingRight":"marginRight"];return[mc(i),mc(l),mc(u)]},T2=function(n){if(n===void 0&&(n="margin"),typeof window>"u")return P2;var r=M2(n),i=document.documentElement.clientWidth,l=window.innerWidth;return{left:r[0],top:r[1],right:r[2],gap:Math.max(0,l-i+r[2]-r[0])}},O2=Iy(),ei="data-scroll-locked",N2=function(n,r,i,l){var u=n.left,c=n.top,f=n.right,p=n.gap;return i===void 0&&(i="margin"),`
346
+ */const nk=me("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);function Eh(n,[r,i]){return Math.min(i,Math.max(r,n))}function Je(n,r,{checkForDefaultPrevented:i=!0}={}){return function(u){if(n==null||n(u),i===!1||!u.defaultPrevented)return r==null?void 0:r(u)}}function rk(n,r){const i=g.createContext(r),l=c=>{const{children:f,...p}=c,h=g.useMemo(()=>p,Object.values(p));return ee.jsx(i.Provider,{value:h,children:f})};l.displayName=n+"Provider";function u(c){const f=g.useContext(i);if(f)return f;if(r!==void 0)return r;throw new Error(`\`${c}\` must be used within \`${n}\``)}return[l,u]}function id(n,r=[]){let i=[];function l(c,f){const p=g.createContext(f),h=i.length;i=[...i,f];const v=x=>{var P;const{scope:E,children:y,...O}=x,S=((P=E==null?void 0:E[n])==null?void 0:P[h])||p,C=g.useMemo(()=>O,Object.values(O));return ee.jsx(S.Provider,{value:C,children:y})};v.displayName=c+"Provider";function w(x,E){var S;const y=((S=E==null?void 0:E[n])==null?void 0:S[h])||p,O=g.useContext(y);if(O)return O;if(f!==void 0)return f;throw new Error(`\`${x}\` must be used within \`${c}\``)}return[v,w]}const u=()=>{const c=i.map(f=>g.createContext(f));return function(p){const h=(p==null?void 0:p[n])||c;return g.useMemo(()=>({[`__scope${n}`]:{...p,[n]:h}}),[p,h])}};return u.scopeName=n,[l,rx(u,...r)]}function rx(...n){const r=n[0];if(n.length===1)return r;const i=()=>{const l=n.map(u=>({useScope:u(),scopeName:u.scopeName}));return function(c){const f=l.reduce((p,{useScope:h,scopeName:v})=>{const x=h(c)[`__scope${v}`];return{...p,...x}},{});return g.useMemo(()=>({[`__scope${r.scopeName}`]:f}),[f])}};return i.scopeName=r.scopeName,i}function kh(n,r){if(typeof n=="function")return n(r);n!=null&&(n.current=r)}function Zm(...n){return r=>{let i=!1;const l=n.map(u=>{const c=kh(u,r);return!i&&typeof c=="function"&&(i=!0),c});if(i)return()=>{for(let u=0;u<l.length;u++){const c=l[u];typeof c=="function"?c():kh(n[u],null)}}}}function ct(...n){return g.useCallback(Zm(...n),n)}function ea(n){const r=ox(n),i=g.forwardRef((l,u)=>{const{children:c,...f}=l,p=g.Children.toArray(c),h=p.find(ix);if(h){const v=h.props.children,w=p.map(x=>x===h?g.Children.count(v)>1?g.Children.only(null):g.isValidElement(v)?v.props.children:null:x);return ee.jsx(r,{...f,ref:u,children:g.isValidElement(v)?g.cloneElement(v,void 0,w):null})}return ee.jsx(r,{...f,ref:u,children:c})});return i.displayName=`${n}.Slot`,i}function ox(n){const r=g.forwardRef((i,l)=>{const{children:u,...c}=i;if(g.isValidElement(u)){const f=lx(u),p=sx(c,u.props);return u.type!==g.Fragment&&(p.ref=l?Zm(l,f):f),g.cloneElement(u,p)}return g.Children.count(u)>1?g.Children.only(null):null});return r.displayName=`${n}.SlotClone`,r}var Jm=Symbol("radix.slottable");function ok(n){const r=({children:i})=>ee.jsx(ee.Fragment,{children:i});return r.displayName=`${n}.Slottable`,r.__radixId=Jm,r}function ix(n){return g.isValidElement(n)&&typeof n.type=="function"&&"__radixId"in n.type&&n.type.__radixId===Jm}function sx(n,r){const i={...r};for(const l in r){const u=n[l],c=r[l];/^on[A-Z]/.test(l)?u&&c?i[l]=(...p)=>{const h=c(...p);return u(...p),h}:u&&(i[l]=u):l==="style"?i[l]={...u,...c}:l==="className"&&(i[l]=[u,c].filter(Boolean).join(" "))}return{...n,...i}}function lx(n){var l,u;let r=(l=Object.getOwnPropertyDescriptor(n.props,"ref"))==null?void 0:l.get,i=r&&"isReactWarning"in r&&r.isReactWarning;return i?n.ref:(r=(u=Object.getOwnPropertyDescriptor(n,"ref"))==null?void 0:u.get,i=r&&"isReactWarning"in r&&r.isReactWarning,i?n.props.ref:n.props.ref||n.ref)}function ax(n){const r=n+"CollectionProvider",[i,l]=id(r),[u,c]=i(r,{collectionRef:{current:null},itemMap:new Map}),f=S=>{const{scope:C,children:P}=S,M=Y.useRef(null),R=Y.useRef(new Map).current;return ee.jsx(u,{scope:C,itemMap:R,collectionRef:M,children:P})};f.displayName=r;const p=n+"CollectionSlot",h=ea(p),v=Y.forwardRef((S,C)=>{const{scope:P,children:M}=S,R=c(p,P),L=ct(C,R.collectionRef);return ee.jsx(h,{ref:L,children:M})});v.displayName=p;const w=n+"CollectionItemSlot",x="data-radix-collection-item",E=ea(w),y=Y.forwardRef((S,C)=>{const{scope:P,children:M,...R}=S,L=Y.useRef(null),z=ct(C,L),U=c(w,P);return Y.useEffect(()=>(U.itemMap.set(L,{ref:L,...R}),()=>void U.itemMap.delete(L))),ee.jsx(E,{[x]:"",ref:z,children:M})});y.displayName=w;function O(S){const C=c(n+"CollectionConsumer",S);return Y.useCallback(()=>{const M=C.collectionRef.current;if(!M)return[];const R=Array.from(M.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:v,ItemSlot:y},O,l]}var ux=g.createContext(void 0);function cx(n){const r=g.useContext(ux);return n||r||"ltr"}var dx=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Xe=dx.reduce((n,r)=>{const i=ea(`Primitive.${r}`),l=g.forwardRef((u,c)=>{const{asChild:f,...p}=u,h=f?i:r;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),ee.jsx(h,{...p,ref:c})});return l.displayName=`Primitive.${r}`,{...n,[r]:l}},{});function fx(n,r){n&&xs.flushSync(()=>n.dispatchEvent(r))}function go(n){const r=g.useRef(n);return g.useEffect(()=>{r.current=n}),g.useMemo(()=>(...i)=>{var l;return(l=r.current)==null?void 0:l.call(r,...i)},[])}function px(n,r=globalThis==null?void 0:globalThis.document){const i=go(n);g.useEffect(()=>{const l=u=>{u.key==="Escape"&&i(u)};return r.addEventListener("keydown",l,{capture:!0}),()=>r.removeEventListener("keydown",l,{capture:!0})},[i,r])}var hx="DismissableLayer",Lc="dismissableLayer.update",mx="dismissableLayer.pointerDownOutside",vx="dismissableLayer.focusOutside",bh,ev=g.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),tv=g.forwardRef((n,r)=>{const{disableOutsidePointerEvents:i=!1,onEscapeKeyDown:l,onPointerDownOutside:u,onFocusOutside:c,onInteractOutside:f,onDismiss:p,...h}=n,v=g.useContext(ev),[w,x]=g.useState(null),E=(w==null?void 0:w.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,y]=g.useState({}),O=ct(r,H=>x(H)),S=Array.from(v.layers),[C]=[...v.layersWithOutsidePointerEventsDisabled].slice(-1),P=S.indexOf(C),M=w?S.indexOf(w):-1,R=v.layersWithOutsidePointerEventsDisabled.size>0,L=M>=P,z=wx(H=>{const q=H.target,Z=[...v.branches].some(te=>te.contains(q));!L||Z||(u==null||u(H),f==null||f(H),H.defaultPrevented||p==null||p())},E),U=xx(H=>{const q=H.target;[...v.branches].some(te=>te.contains(q))||(c==null||c(H),f==null||f(H),H.defaultPrevented||p==null||p())},E);return px(H=>{M===v.layers.size-1&&(l==null||l(H),!H.defaultPrevented&&p&&(H.preventDefault(),p()))},E),g.useEffect(()=>{if(w)return i&&(v.layersWithOutsidePointerEventsDisabled.size===0&&(bh=E.body.style.pointerEvents,E.body.style.pointerEvents="none"),v.layersWithOutsidePointerEventsDisabled.add(w)),v.layers.add(w),Rh(),()=>{i&&v.layersWithOutsidePointerEventsDisabled.size===1&&(E.body.style.pointerEvents=bh)}},[w,E,i,v]),g.useEffect(()=>()=>{w&&(v.layers.delete(w),v.layersWithOutsidePointerEventsDisabled.delete(w),Rh())},[w,v]),g.useEffect(()=>{const H=()=>y({});return document.addEventListener(Lc,H),()=>document.removeEventListener(Lc,H)},[]),ee.jsx(Xe.div,{...h,ref:O,style:{pointerEvents:R?L?"auto":"none":void 0,...n.style},onFocusCapture:Je(n.onFocusCapture,U.onFocusCapture),onBlurCapture:Je(n.onBlurCapture,U.onBlurCapture),onPointerDownCapture:Je(n.onPointerDownCapture,z.onPointerDownCapture)})});tv.displayName=hx;var yx="DismissableLayerBranch",gx=g.forwardRef((n,r)=>{const i=g.useContext(ev),l=g.useRef(null),u=ct(r,l);return g.useEffect(()=>{const c=l.current;if(c)return i.branches.add(c),()=>{i.branches.delete(c)}},[i.branches]),ee.jsx(Xe.div,{...n,ref:u})});gx.displayName=yx;function wx(n,r=globalThis==null?void 0:globalThis.document){const i=go(n),l=g.useRef(!1),u=g.useRef(()=>{});return g.useEffect(()=>{const c=p=>{if(p.target&&!l.current){let h=function(){nv(mx,i,v,{discrete:!0})};const v={originalEvent:p};p.pointerType==="touch"?(r.removeEventListener("click",u.current),u.current=h,r.addEventListener("click",u.current,{once:!0})):h()}else r.removeEventListener("click",u.current);l.current=!1},f=window.setTimeout(()=>{r.addEventListener("pointerdown",c)},0);return()=>{window.clearTimeout(f),r.removeEventListener("pointerdown",c),r.removeEventListener("click",u.current)}},[r,i]),{onPointerDownCapture:()=>l.current=!0}}function xx(n,r=globalThis==null?void 0:globalThis.document){const i=go(n),l=g.useRef(!1);return g.useEffect(()=>{const u=c=>{c.target&&!l.current&&nv(vx,i,{originalEvent:c},{discrete:!1})};return r.addEventListener("focusin",u),()=>r.removeEventListener("focusin",u)},[r,i]),{onFocusCapture:()=>l.current=!0,onBlurCapture:()=>l.current=!1}}function Rh(){const n=new CustomEvent(Lc);document.dispatchEvent(n)}function nv(n,r,i,{discrete:l}){const u=i.originalEvent.target,c=new CustomEvent(n,{bubbles:!1,cancelable:!0,detail:i});r&&u.addEventListener(n,r,{once:!0}),l?fx(u,c):u.dispatchEvent(c)}var lc=0;function Sx(){g.useEffect(()=>{const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",n[0]??Ph()),document.body.insertAdjacentElement("beforeend",n[1]??Ph()),lc++,()=>{lc===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),lc--}},[])}function Ph(){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 ac="focusScope.autoFocusOnMount",uc="focusScope.autoFocusOnUnmount",Th={bubbles:!1,cancelable:!0},Cx="FocusScope",rv=g.forwardRef((n,r)=>{const{loop:i=!1,trapped:l=!1,onMountAutoFocus:u,onUnmountAutoFocus:c,...f}=n,[p,h]=g.useState(null),v=go(u),w=go(c),x=g.useRef(null),E=ct(r,S=>h(S)),y=g.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;g.useEffect(()=>{if(l){let S=function(R){if(y.paused||!p)return;const L=R.target;p.contains(L)?x.current=L:Mr(x.current,{select:!0})},C=function(R){if(y.paused||!p)return;const L=R.relatedTarget;L!==null&&(p.contains(L)||Mr(x.current,{select:!0}))},P=function(R){if(document.activeElement===document.body)for(const z of R)z.removedNodes.length>0&&Mr(p)};document.addEventListener("focusin",S),document.addEventListener("focusout",C);const M=new MutationObserver(P);return p&&M.observe(p,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",S),document.removeEventListener("focusout",C),M.disconnect()}}},[l,p,y.paused]),g.useEffect(()=>{if(p){Oh.add(y);const S=document.activeElement;if(!p.contains(S)){const P=new CustomEvent(ac,Th);p.addEventListener(ac,v),p.dispatchEvent(P),P.defaultPrevented||(Ex(Tx(ov(p)),{select:!0}),document.activeElement===S&&Mr(p))}return()=>{p.removeEventListener(ac,v),setTimeout(()=>{const P=new CustomEvent(uc,Th);p.addEventListener(uc,w),p.dispatchEvent(P),P.defaultPrevented||Mr(S??document.body,{select:!0}),p.removeEventListener(uc,w),Oh.remove(y)},0)}}},[p,v,w,y]);const O=g.useCallback(S=>{if(!i&&!l||y.paused)return;const C=S.key==="Tab"&&!S.altKey&&!S.ctrlKey&&!S.metaKey,P=document.activeElement;if(C&&P){const M=S.currentTarget,[R,L]=kx(M);R&&L?!S.shiftKey&&P===L?(S.preventDefault(),i&&Mr(R,{select:!0})):S.shiftKey&&P===R&&(S.preventDefault(),i&&Mr(L,{select:!0})):P===M&&S.preventDefault()}},[i,l,y.paused]);return ee.jsx(Xe.div,{tabIndex:-1,...f,ref:E,onKeyDown:O})});rv.displayName=Cx;function Ex(n,{select:r=!1}={}){const i=document.activeElement;for(const l of n)if(Mr(l,{select:r}),document.activeElement!==i)return}function kx(n){const r=ov(n),i=Mh(r,n),l=Mh(r.reverse(),n);return[i,l]}function ov(n){const r=[],i=document.createTreeWalker(n,NodeFilter.SHOW_ELEMENT,{acceptNode:l=>{const u=l.tagName==="INPUT"&&l.type==="hidden";return l.disabled||l.hidden||u?NodeFilter.FILTER_SKIP:l.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;i.nextNode();)r.push(i.currentNode);return r}function Mh(n,r){for(const i of n)if(!bx(i,{upTo:r}))return i}function bx(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 Rx(n){return n instanceof HTMLInputElement&&"select"in n}function Mr(n,{select:r=!1}={}){if(n&&n.focus){const i=document.activeElement;n.focus({preventScroll:!0}),n!==i&&Rx(n)&&r&&n.select()}}var Oh=Px();function Px(){let n=[];return{add(r){const i=n[0];r!==i&&(i==null||i.pause()),n=Nh(n,r),n.unshift(r)},remove(r){var i;n=Nh(n,r),(i=n[0])==null||i.resume()}}}function Nh(n,r){const i=[...n],l=i.indexOf(r);return l!==-1&&i.splice(l,1),i}function Tx(n){return n.filter(r=>r.tagName!=="A")}var It=globalThis!=null&&globalThis.document?g.useLayoutEffect:()=>{},Mx=dm[" useId ".trim().toString()]||(()=>{}),Ox=0;function sd(n){const[r,i]=g.useState(Mx());return It(()=>{i(l=>l??String(Ox++))},[n]),r?`radix-${r}`:""}const Nx=["top","right","bottom","left"],Br=Math.min,jt=Math.max,ta=Math.round,jl=Math.floor,An=n=>({x:n,y:n}),_x={left:"right",right:"left",bottom:"top",top:"bottom"},Lx={start:"end",end:"start"};function Ic(n,r,i){return jt(n,Br(r,i))}function nr(n,r){return typeof n=="function"?n(r):n}function rr(n){return n.split("-")[0]}function wi(n){return n.split("-")[1]}function ld(n){return n==="x"?"y":"x"}function ad(n){return n==="y"?"height":"width"}const Ix=new Set(["top","bottom"]);function In(n){return Ix.has(rr(n))?"y":"x"}function ud(n){return ld(In(n))}function Ax(n,r,i){i===void 0&&(i=!1);const l=wi(n),u=ud(n),c=ad(u);let f=u==="x"?l===(i?"end":"start")?"right":"left":l==="start"?"bottom":"top";return r.reference[c]>r.floating[c]&&(f=na(f)),[f,na(f)]}function Dx(n){const r=na(n);return[Ac(n),r,Ac(r)]}function Ac(n){return n.replace(/start|end/g,r=>Lx[r])}const _h=["left","right"],Lh=["right","left"],Fx=["top","bottom"],zx=["bottom","top"];function jx(n,r,i){switch(n){case"top":case"bottom":return i?r?Lh:_h:r?_h:Lh;case"left":case"right":return r?Fx:zx;default:return[]}}function Bx(n,r,i,l){const u=wi(n);let c=jx(rr(n),i==="start",l);return u&&(c=c.map(f=>f+"-"+u),r&&(c=c.concat(c.map(Ac)))),c}function na(n){return n.replace(/left|right|bottom|top/g,r=>_x[r])}function Ux(n){return{top:0,right:0,bottom:0,left:0,...n}}function iv(n){return typeof n!="number"?Ux(n):{top:n,right:n,bottom:n,left:n}}function ra(n){const{x:r,y:i,width:l,height:u}=n;return{width:l,height:u,top:i,left:r,right:r+l,bottom:i+u,x:r,y:i}}function Ih(n,r,i){let{reference:l,floating:u}=n;const c=In(r),f=ud(r),p=ad(f),h=rr(r),v=c==="y",w=l.x+l.width/2-u.width/2,x=l.y+l.height/2-u.height/2,E=l[p]/2-u[p]/2;let y;switch(h){case"top":y={x:w,y:l.y-u.height};break;case"bottom":y={x:w,y:l.y+l.height};break;case"right":y={x:l.x+l.width,y:x};break;case"left":y={x:l.x-u.width,y:x};break;default:y={x:l.x,y:l.y}}switch(wi(r)){case"start":y[f]-=E*(i&&v?-1:1);break;case"end":y[f]+=E*(i&&v?-1:1);break}return y}async function Hx(n,r){var i;r===void 0&&(r={});const{x:l,y:u,platform:c,rects:f,elements:p,strategy:h}=n,{boundary:v="clippingAncestors",rootBoundary:w="viewport",elementContext:x="floating",altBoundary:E=!1,padding:y=0}=nr(r,n),O=iv(y),C=p[E?x==="floating"?"reference":"floating":x],P=ra(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:v,rootBoundary:w,strategy:h})),M=x==="floating"?{x:l,y:u,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=ra(c.convertOffsetParentRelativeRectToViewportRelativeRect?await c.convertOffsetParentRelativeRectToViewportRelativeRect({elements:p,rect:M,offsetParent:R,strategy:h}):M);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 $x=async(n,r,i)=>{const{placement:l="bottom",strategy:u="absolute",middleware:c=[],platform:f}=i,p=c.filter(Boolean),h=await(f.isRTL==null?void 0:f.isRTL(r));let v=await f.getElementRects({reference:n,floating:r,strategy:u}),{x:w,y:x}=Ih(v,l,h),E=l,y={},O=0;for(let C=0;C<p.length;C++){var S;const{name:P,fn:M}=p[C],{x:R,y:L,data:z,reset:U}=await M({x:w,y:x,initialPlacement:l,placement:E,strategy:u,middlewareData:y,rects:v,platform:{...f,detectOverflow:(S=f.detectOverflow)!=null?S:Hx},elements:{reference:n,floating:r}});w=R??w,x=L??x,y={...y,[P]:{...y[P],...z}},U&&O<=50&&(O++,typeof U=="object"&&(U.placement&&(E=U.placement),U.rects&&(v=U.rects===!0?await f.getElementRects({reference:n,floating:r,strategy:u}):U.rects),{x:w,y:x}=Ih(v,E,h)),C=-1)}return{x:w,y:x,placement:E,strategy:u,middlewareData:y}},Wx=n=>({name:"arrow",options:n,async fn(r){const{x:i,y:l,placement:u,rects:c,platform:f,elements:p,middlewareData:h}=r,{element:v,padding:w=0}=nr(n,r)||{};if(v==null)return{};const x=iv(w),E={x:i,y:l},y=ud(u),O=ad(y),S=await f.getDimensions(v),C=y==="y",P=C?"top":"left",M=C?"bottom":"right",R=C?"clientHeight":"clientWidth",L=c.reference[O]+c.reference[y]-E[y]-c.floating[O],z=E[y]-c.reference[y],U=await(f.getOffsetParent==null?void 0:f.getOffsetParent(v));let H=U?U[R]:0;(!H||!await(f.isElement==null?void 0:f.isElement(U)))&&(H=p.floating[R]||c.floating[O]);const q=L/2-z/2,Z=H/2-S[O]/2-1,te=Br(x[P],Z),pe=Br(x[M],Z),X=te,ye=H-S[O]-pe,ce=H/2-S[O]/2+q,xe=Ic(X,ce,ye),ae=!h.arrow&&wi(u)!=null&&ce!==xe&&c.reference[O]/2-(ce<X?te:pe)-S[O]/2<0,ie=ae?ce<X?ce-X:ce-ye:0;return{[y]:E[y]+ie,data:{[y]:xe,centerOffset:ce-xe-ie,...ae&&{alignmentOffset:ie}},reset:ae}}}),Vx=function(n){return n===void 0&&(n={}),{name:"flip",options:n,async fn(r){var i,l;const{placement:u,middlewareData:c,rects:f,initialPlacement:p,platform:h,elements:v}=r,{mainAxis:w=!0,crossAxis:x=!0,fallbackPlacements:E,fallbackStrategy:y="bestFit",fallbackAxisSideDirection:O="none",flipAlignment:S=!0,...C}=nr(n,r);if((i=c.arrow)!=null&&i.alignmentOffset)return{};const P=rr(u),M=In(p),R=rr(p)===p,L=await(h.isRTL==null?void 0:h.isRTL(v.floating)),z=E||(R||!S?[na(p)]:Dx(p)),U=O!=="none";!E&&U&&z.push(...Bx(p,S,O,L));const H=[p,...z],q=await h.detectOverflow(r,C),Z=[];let te=((l=c.flip)==null?void 0:l.overflows)||[];if(w&&Z.push(q[P]),x){const ce=Ax(u,f,L);Z.push(q[ce[0]],q[ce[1]])}if(te=[...te,{placement:u,overflows:Z}],!Z.every(ce=>ce<=0)){var pe,X;const ce=(((pe=c.flip)==null?void 0:pe.index)||0)+1,xe=H[ce];if(xe&&(!(x==="alignment"?M!==In(xe):!1)||te.every(j=>In(j.placement)===M?j.overflows[0]>0:!0)))return{data:{index:ce,overflows:te},reset:{placement:xe}};let ae=(X=te.filter(ie=>ie.overflows[0]<=0).sort((ie,j)=>ie.overflows[1]-j.overflows[1])[0])==null?void 0:X.placement;if(!ae)switch(y){case"bestFit":{var ye;const ie=(ye=te.filter(j=>{if(U){const B=In(j.placement);return B===M||B==="y"}return!0}).map(j=>[j.placement,j.overflows.filter(B=>B>0).reduce((B,V)=>B+V,0)]).sort((j,B)=>j[1]-B[1])[0])==null?void 0:ye[0];ie&&(ae=ie);break}case"initialPlacement":ae=p;break}if(u!==ae)return{reset:{placement:ae}}}return{}}}};function Ah(n,r){return{top:n.top-r.height,right:n.right-r.width,bottom:n.bottom-r.height,left:n.left-r.width}}function Dh(n){return Nx.some(r=>n[r]>=0)}const Qx=function(n){return n===void 0&&(n={}),{name:"hide",options:n,async fn(r){const{rects:i,platform:l}=r,{strategy:u="referenceHidden",...c}=nr(n,r);switch(u){case"referenceHidden":{const f=await l.detectOverflow(r,{...c,elementContext:"reference"}),p=Ah(f,i.reference);return{data:{referenceHiddenOffsets:p,referenceHidden:Dh(p)}}}case"escaped":{const f=await l.detectOverflow(r,{...c,altBoundary:!0}),p=Ah(f,i.floating);return{data:{escapedOffsets:p,escaped:Dh(p)}}}default:return{}}}}},sv=new Set(["left","top"]);async function Kx(n,r){const{placement:i,platform:l,elements:u}=n,c=await(l.isRTL==null?void 0:l.isRTL(u.floating)),f=rr(i),p=wi(i),h=In(i)==="y",v=sv.has(f)?-1:1,w=c&&h?-1:1,x=nr(r,n);let{mainAxis:E,crossAxis:y,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"&&(y=p==="end"?O*-1:O),h?{x:y*w,y:E*v}:{x:E*v,y:y*w}}const qx=function(n){return n===void 0&&(n=0),{name:"offset",options:n,async fn(r){var i,l;const{x:u,y:c,placement:f,middlewareData:p}=r,h=await Kx(r,n);return f===((i=p.offset)==null?void 0:i.placement)&&(l=p.arrow)!=null&&l.alignmentOffset?{}:{x:u+h.x,y:c+h.y,data:{...h,placement:f}}}}},Gx=function(n){return n===void 0&&(n={}),{name:"shift",options:n,async fn(r){const{x:i,y:l,placement:u,platform:c}=r,{mainAxis:f=!0,crossAxis:p=!1,limiter:h={fn:P=>{let{x:M,y:R}=P;return{x:M,y:R}}},...v}=nr(n,r),w={x:i,y:l},x=await c.detectOverflow(r,v),E=In(rr(u)),y=ld(E);let O=w[y],S=w[E];if(f){const P=y==="y"?"top":"left",M=y==="y"?"bottom":"right",R=O+x[P],L=O-x[M];O=Ic(R,O,L)}if(p){const P=E==="y"?"top":"left",M=E==="y"?"bottom":"right",R=S+x[P],L=S-x[M];S=Ic(R,S,L)}const C=h.fn({...r,[y]:O,[E]:S});return{...C,data:{x:C.x-i,y:C.y-l,enabled:{[y]:f,[E]:p}}}}}},Yx=function(n){return n===void 0&&(n={}),{options:n,fn(r){const{x:i,y:l,placement:u,rects:c,middlewareData:f}=r,{offset:p=0,mainAxis:h=!0,crossAxis:v=!0}=nr(n,r),w={x:i,y:l},x=In(u),E=ld(x);let y=w[E],O=w[x];const S=nr(p,r),C=typeof S=="number"?{mainAxis:S,crossAxis:0}:{mainAxis:0,crossAxis:0,...S};if(h){const R=E==="y"?"height":"width",L=c.reference[E]-c.floating[R]+C.mainAxis,z=c.reference[E]+c.reference[R]-C.mainAxis;y<L?y=L:y>z&&(y=z)}if(v){var P,M;const R=E==="y"?"width":"height",L=sv.has(rr(u)),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:((M=f.offset)==null?void 0:M[x])||0)-(L?C.crossAxis:0);O<z?O=z:O>U&&(O=U)}return{[E]:y,[x]:O}}}},Xx=function(n){return n===void 0&&(n={}),{name:"size",options:n,async fn(r){var i,l;const{placement:u,rects:c,platform:f,elements:p}=r,{apply:h=()=>{},...v}=nr(n,r),w=await f.detectOverflow(r,v),x=rr(u),E=wi(u),y=In(u)==="y",{width:O,height:S}=c.floating;let C,P;x==="top"||x==="bottom"?(C=x,P=E===(await(f.isRTL==null?void 0:f.isRTL(p.floating))?"start":"end")?"left":"right"):(P=x,C=E==="end"?"top":"bottom");const M=S-w.top-w.bottom,R=O-w.left-w.right,L=Br(S-w[C],M),z=Br(O-w[P],R),U=!r.middlewareData.shift;let H=L,q=z;if((i=r.middlewareData.shift)!=null&&i.enabled.x&&(q=R),(l=r.middlewareData.shift)!=null&&l.enabled.y&&(H=M),U&&!E){const te=jt(w.left,0),pe=jt(w.right,0),X=jt(w.top,0),ye=jt(w.bottom,0);y?q=O-2*(te!==0||pe!==0?te+pe:jt(w.left,w.right)):H=S-2*(X!==0||ye!==0?X+ye:jt(w.top,w.bottom))}await h({...r,availableWidth:q,availableHeight:H});const Z=await f.getDimensions(p.floating);return O!==Z.width||S!==Z.height?{reset:{rects:!0}}:{}}}};function aa(){return typeof window<"u"}function xi(n){return lv(n)?(n.nodeName||"").toLowerCase():"#document"}function Bt(n){var r;return(n==null||(r=n.ownerDocument)==null?void 0:r.defaultView)||window}function Fn(n){var r;return(r=(lv(n)?n.ownerDocument:n.document)||window.document)==null?void 0:r.documentElement}function lv(n){return aa()?n instanceof Node||n instanceof Bt(n).Node:!1}function hn(n){return aa()?n instanceof Element||n instanceof Bt(n).Element:!1}function Dn(n){return aa()?n instanceof HTMLElement||n instanceof Bt(n).HTMLElement:!1}function Fh(n){return!aa()||typeof ShadowRoot>"u"?!1:n instanceof ShadowRoot||n instanceof Bt(n).ShadowRoot}const Zx=new Set(["inline","contents"]);function Ss(n){const{overflow:r,overflowX:i,overflowY:l,display:u}=mn(n);return/auto|scroll|overlay|hidden|clip/.test(r+l+i)&&!Zx.has(u)}const Jx=new Set(["table","td","th"]);function eS(n){return Jx.has(xi(n))}const tS=[":popover-open",":modal"];function ua(n){return tS.some(r=>{try{return n.matches(r)}catch{return!1}})}const nS=["transform","translate","scale","rotate","perspective"],rS=["transform","translate","scale","rotate","perspective","filter"],oS=["paint","layout","strict","content"];function cd(n){const r=dd(),i=hn(n)?mn(n):n;return nS.some(l=>i[l]?i[l]!=="none":!1)||(i.containerType?i.containerType!=="normal":!1)||!r&&(i.backdropFilter?i.backdropFilter!=="none":!1)||!r&&(i.filter?i.filter!=="none":!1)||rS.some(l=>(i.willChange||"").includes(l))||oS.some(l=>(i.contain||"").includes(l))}function iS(n){let r=Ur(n);for(;Dn(r)&&!pi(r);){if(cd(r))return r;if(ua(r))return null;r=Ur(r)}return null}function dd(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const sS=new Set(["html","body","#document"]);function pi(n){return sS.has(xi(n))}function mn(n){return Bt(n).getComputedStyle(n)}function ca(n){return hn(n)?{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}:{scrollLeft:n.scrollX,scrollTop:n.scrollY}}function Ur(n){if(xi(n)==="html")return n;const r=n.assignedSlot||n.parentNode||Fh(n)&&n.host||Fn(n);return Fh(r)?r.host:r}function av(n){const r=Ur(n);return pi(r)?n.ownerDocument?n.ownerDocument.body:n.body:Dn(r)&&Ss(r)?r:av(r)}function fs(n,r,i){var l;r===void 0&&(r=[]),i===void 0&&(i=!0);const u=av(n),c=u===((l=n.ownerDocument)==null?void 0:l.body),f=Bt(u);if(c){const p=Dc(f);return r.concat(f,f.visualViewport||[],Ss(u)?u:[],p&&i?fs(p):[])}return r.concat(u,fs(u,[],i))}function Dc(n){return n.parent&&Object.getPrototypeOf(n.parent)?n.frameElement:null}function uv(n){const r=mn(n);let i=parseFloat(r.width)||0,l=parseFloat(r.height)||0;const u=Dn(n),c=u?n.offsetWidth:i,f=u?n.offsetHeight:l,p=ta(i)!==c||ta(l)!==f;return p&&(i=c,l=f),{width:i,height:l,$:p}}function fd(n){return hn(n)?n:n.contextElement}function Jo(n){const r=fd(n);if(!Dn(r))return An(1);const i=r.getBoundingClientRect(),{width:l,height:u,$:c}=uv(r);let f=(c?ta(i.width):i.width)/l,p=(c?ta(i.height):i.height)/u;return(!f||!Number.isFinite(f))&&(f=1),(!p||!Number.isFinite(p))&&(p=1),{x:f,y:p}}const lS=An(0);function cv(n){const r=Bt(n);return!dd()||!r.visualViewport?lS:{x:r.visualViewport.offsetLeft,y:r.visualViewport.offsetTop}}function aS(n,r,i){return r===void 0&&(r=!1),!i||r&&i!==Bt(n)?!1:r}function wo(n,r,i,l){r===void 0&&(r=!1),i===void 0&&(i=!1);const u=n.getBoundingClientRect(),c=fd(n);let f=An(1);r&&(l?hn(l)&&(f=Jo(l)):f=Jo(n));const p=aS(c,i,l)?cv(c):An(0);let h=(u.left+p.x)/f.x,v=(u.top+p.y)/f.y,w=u.width/f.x,x=u.height/f.y;if(c){const E=Bt(c),y=l&&hn(l)?Bt(l):l;let O=E,S=Dc(O);for(;S&&l&&y!==O;){const C=Jo(S),P=S.getBoundingClientRect(),M=mn(S),R=P.left+(S.clientLeft+parseFloat(M.paddingLeft))*C.x,L=P.top+(S.clientTop+parseFloat(M.paddingTop))*C.y;h*=C.x,v*=C.y,w*=C.x,x*=C.y,h+=R,v+=L,O=Bt(S),S=Dc(O)}}return ra({width:w,height:x,x:h,y:v})}function da(n,r){const i=ca(n).scrollLeft;return r?r.left+i:wo(Fn(n)).left+i}function dv(n,r){const i=n.getBoundingClientRect(),l=i.left+r.scrollLeft-da(n,i),u=i.top+r.scrollTop;return{x:l,y:u}}function uS(n){let{elements:r,rect:i,offsetParent:l,strategy:u}=n;const c=u==="fixed",f=Fn(l),p=r?ua(r.floating):!1;if(l===f||p&&c)return i;let h={scrollLeft:0,scrollTop:0},v=An(1);const w=An(0),x=Dn(l);if((x||!x&&!c)&&((xi(l)!=="body"||Ss(f))&&(h=ca(l)),Dn(l))){const y=wo(l);v=Jo(l),w.x=y.x+l.clientLeft,w.y=y.y+l.clientTop}const E=f&&!x&&!c?dv(f,h):An(0);return{width:i.width*v.x,height:i.height*v.y,x:i.x*v.x-h.scrollLeft*v.x+w.x+E.x,y:i.y*v.y-h.scrollTop*v.y+w.y+E.y}}function cS(n){return Array.from(n.getClientRects())}function dS(n){const r=Fn(n),i=ca(n),l=n.ownerDocument.body,u=jt(r.scrollWidth,r.clientWidth,l.scrollWidth,l.clientWidth),c=jt(r.scrollHeight,r.clientHeight,l.scrollHeight,l.clientHeight);let f=-i.scrollLeft+da(n);const p=-i.scrollTop;return mn(l).direction==="rtl"&&(f+=jt(r.clientWidth,l.clientWidth)-u),{width:u,height:c,x:f,y:p}}const zh=25;function fS(n,r){const i=Bt(n),l=Fn(n),u=i.visualViewport;let c=l.clientWidth,f=l.clientHeight,p=0,h=0;if(u){c=u.width,f=u.height;const w=dd();(!w||w&&r==="fixed")&&(p=u.offsetLeft,h=u.offsetTop)}const v=da(l);if(v<=0){const w=l.ownerDocument,x=w.body,E=getComputedStyle(x),y=w.compatMode==="CSS1Compat"&&parseFloat(E.marginLeft)+parseFloat(E.marginRight)||0,O=Math.abs(l.clientWidth-x.clientWidth-y);O<=zh&&(c-=O)}else v<=zh&&(c+=v);return{width:c,height:f,x:p,y:h}}const pS=new Set(["absolute","fixed"]);function hS(n,r){const i=wo(n,!0,r==="fixed"),l=i.top+n.clientTop,u=i.left+n.clientLeft,c=Dn(n)?Jo(n):An(1),f=n.clientWidth*c.x,p=n.clientHeight*c.y,h=u*c.x,v=l*c.y;return{width:f,height:p,x:h,y:v}}function jh(n,r,i){let l;if(r==="viewport")l=fS(n,i);else if(r==="document")l=dS(Fn(n));else if(hn(r))l=hS(r,i);else{const u=cv(n);l={x:r.x-u.x,y:r.y-u.y,width:r.width,height:r.height}}return ra(l)}function fv(n,r){const i=Ur(n);return i===r||!hn(i)||pi(i)?!1:mn(i).position==="fixed"||fv(i,r)}function mS(n,r){const i=r.get(n);if(i)return i;let l=fs(n,[],!1).filter(p=>hn(p)&&xi(p)!=="body"),u=null;const c=mn(n).position==="fixed";let f=c?Ur(n):n;for(;hn(f)&&!pi(f);){const p=mn(f),h=cd(f);!h&&p.position==="fixed"&&(u=null),(c?!h&&!u:!h&&p.position==="static"&&!!u&&pS.has(u.position)||Ss(f)&&!h&&fv(n,f))?l=l.filter(w=>w!==f):u=p,f=Ur(f)}return r.set(n,l),l}function vS(n){let{element:r,boundary:i,rootBoundary:l,strategy:u}=n;const f=[...i==="clippingAncestors"?ua(r)?[]:mS(r,this._c):[].concat(i),l],p=f[0],h=f.reduce((v,w)=>{const x=jh(r,w,u);return v.top=jt(x.top,v.top),v.right=Br(x.right,v.right),v.bottom=Br(x.bottom,v.bottom),v.left=jt(x.left,v.left),v},jh(r,p,u));return{width:h.right-h.left,height:h.bottom-h.top,x:h.left,y:h.top}}function yS(n){const{width:r,height:i}=uv(n);return{width:r,height:i}}function gS(n,r,i){const l=Dn(r),u=Fn(r),c=i==="fixed",f=wo(n,!0,c,r);let p={scrollLeft:0,scrollTop:0};const h=An(0);function v(){h.x=da(u)}if(l||!l&&!c)if((xi(r)!=="body"||Ss(u))&&(p=ca(r)),l){const y=wo(r,!0,c,r);h.x=y.x+r.clientLeft,h.y=y.y+r.clientTop}else u&&v();c&&!l&&u&&v();const w=u&&!l&&!c?dv(u,p):An(0),x=f.left+p.scrollLeft-h.x-w.x,E=f.top+p.scrollTop-h.y-w.y;return{x,y:E,width:f.width,height:f.height}}function cc(n){return mn(n).position==="static"}function Bh(n,r){if(!Dn(n)||mn(n).position==="fixed")return null;if(r)return r(n);let i=n.offsetParent;return Fn(n)===i&&(i=i.ownerDocument.body),i}function pv(n,r){const i=Bt(n);if(ua(n))return i;if(!Dn(n)){let u=Ur(n);for(;u&&!pi(u);){if(hn(u)&&!cc(u))return u;u=Ur(u)}return i}let l=Bh(n,r);for(;l&&eS(l)&&cc(l);)l=Bh(l,r);return l&&pi(l)&&cc(l)&&!cd(l)?i:l||iS(n)||i}const wS=async function(n){const r=this.getOffsetParent||pv,i=this.getDimensions,l=await i(n.floating);return{reference:gS(n.reference,await r(n.floating),n.strategy),floating:{x:0,y:0,width:l.width,height:l.height}}};function xS(n){return mn(n).direction==="rtl"}const SS={convertOffsetParentRelativeRectToViewportRelativeRect:uS,getDocumentElement:Fn,getClippingRect:vS,getOffsetParent:pv,getElementRects:wS,getClientRects:cS,getDimensions:yS,getScale:Jo,isElement:hn,isRTL:xS};function hv(n,r){return n.x===r.x&&n.y===r.y&&n.width===r.width&&n.height===r.height}function CS(n,r){let i=null,l;const u=Fn(n);function c(){var p;clearTimeout(l),(p=i)==null||p.disconnect(),i=null}function f(p,h){p===void 0&&(p=!1),h===void 0&&(h=1),c();const v=n.getBoundingClientRect(),{left:w,top:x,width:E,height:y}=v;if(p||r(),!E||!y)return;const O=jl(x),S=jl(u.clientWidth-(w+E)),C=jl(u.clientHeight-(x+y)),P=jl(w),R={rootMargin:-O+"px "+-S+"px "+-C+"px "+-P+"px",threshold:jt(0,Br(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):l=setTimeout(()=>{f(!1,1e-7)},1e3)}H===1&&!hv(v,n.getBoundingClientRect())&&f(),L=!1}try{i=new IntersectionObserver(z,{...R,root:u.ownerDocument})}catch{i=new IntersectionObserver(z,R)}i.observe(n)}return f(!0),c}function ES(n,r,i,l){l===void 0&&(l={});const{ancestorScroll:u=!0,ancestorResize:c=!0,elementResize:f=typeof ResizeObserver=="function",layoutShift:p=typeof IntersectionObserver=="function",animationFrame:h=!1}=l,v=fd(n),w=u||c?[...v?fs(v):[],...fs(r)]:[];w.forEach(P=>{u&&P.addEventListener("scroll",i,{passive:!0}),c&&P.addEventListener("resize",i)});const x=v&&p?CS(v,i):null;let E=-1,y=null;f&&(y=new ResizeObserver(P=>{let[M]=P;M&&M.target===v&&y&&(y.unobserve(r),cancelAnimationFrame(E),E=requestAnimationFrame(()=>{var R;(R=y)==null||R.observe(r)})),i()}),v&&!h&&y.observe(v),y.observe(r));let O,S=h?wo(n):null;h&&C();function C(){const P=wo(n);S&&!hv(S,P)&&i(),S=P,O=requestAnimationFrame(C)}return i(),()=>{var P;w.forEach(M=>{u&&M.removeEventListener("scroll",i),c&&M.removeEventListener("resize",i)}),x==null||x(),(P=y)==null||P.disconnect(),y=null,h&&cancelAnimationFrame(O)}}const kS=qx,bS=Gx,RS=Vx,PS=Xx,TS=Qx,Uh=Wx,MS=Yx,OS=(n,r,i)=>{const l=new Map,u={platform:SS,...i},c={...u.platform,_c:l};return $x(n,r,{...u,platform:c})};var NS=typeof document<"u",_S=function(){},ql=NS?g.useLayoutEffect:_S;function oa(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,l,u;if(n&&r&&typeof n=="object"){if(Array.isArray(n)){if(i=n.length,i!==r.length)return!1;for(l=i;l--!==0;)if(!oa(n[l],r[l]))return!1;return!0}if(u=Object.keys(n),i=u.length,i!==Object.keys(r).length)return!1;for(l=i;l--!==0;)if(!{}.hasOwnProperty.call(r,u[l]))return!1;for(l=i;l--!==0;){const c=u[l];if(!(c==="_owner"&&n.$$typeof)&&!oa(n[c],r[c]))return!1}return!0}return n!==n&&r!==r}function mv(n){return typeof window>"u"?1:(n.ownerDocument.defaultView||window).devicePixelRatio||1}function Hh(n,r){const i=mv(n);return Math.round(r*i)/i}function dc(n){const r=g.useRef(n);return ql(()=>{r.current=n}),r}function LS(n){n===void 0&&(n={});const{placement:r="bottom",strategy:i="absolute",middleware:l=[],platform:u,elements:{reference:c,floating:f}={},transform:p=!0,whileElementsMounted:h,open:v}=n,[w,x]=g.useState({x:0,y:0,strategy:i,placement:r,middlewareData:{},isPositioned:!1}),[E,y]=g.useState(l);oa(E,l)||y(l);const[O,S]=g.useState(null),[C,P]=g.useState(null),M=g.useCallback(j=>{j!==U.current&&(U.current=j,S(j))},[]),R=g.useCallback(j=>{j!==H.current&&(H.current=j,P(j))},[]),L=c||O,z=f||C,U=g.useRef(null),H=g.useRef(null),q=g.useRef(w),Z=h!=null,te=dc(h),pe=dc(u),X=dc(v),ye=g.useCallback(()=>{if(!U.current||!H.current)return;const j={placement:r,strategy:i,middleware:E};pe.current&&(j.platform=pe.current),OS(U.current,H.current,j).then(B=>{const V={...B,isPositioned:X.current!==!1};ce.current&&!oa(q.current,V)&&(q.current=V,xs.flushSync(()=>{x(V)}))})},[E,r,i,pe,X]);ql(()=>{v===!1&&q.current.isPositioned&&(q.current.isPositioned=!1,x(j=>({...j,isPositioned:!1})))},[v]);const ce=g.useRef(!1);ql(()=>(ce.current=!0,()=>{ce.current=!1}),[]),ql(()=>{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,Z]);const xe=g.useMemo(()=>({reference:U,floating:H,setReference:M,setFloating:R}),[M,R]),ae=g.useMemo(()=>({reference:L,floating:z}),[L,z]),ie=g.useMemo(()=>{const j={position:i,left:0,top:0};if(!ae.floating)return j;const B=Hh(ae.floating,w.x),V=Hh(ae.floating,w.y);return p?{...j,transform:"translate("+B+"px, "+V+"px)",...mv(ae.floating)>=1.5&&{willChange:"transform"}}:{position:i,left:B,top:V}},[i,p,ae.floating,w.x,w.y]);return g.useMemo(()=>({...w,update:ye,refs:xe,elements:ae,floatingStyles:ie}),[w,ye,xe,ae,ie])}const IS=n=>{function r(i){return{}.hasOwnProperty.call(i,"current")}return{name:"arrow",options:n,fn(i){const{element:l,padding:u}=typeof n=="function"?n(i):n;return l&&r(l)?l.current!=null?Uh({element:l.current,padding:u}).fn(i):{}:l?Uh({element:l,padding:u}).fn(i):{}}}},AS=(n,r)=>({...kS(n),options:[n,r]}),DS=(n,r)=>({...bS(n),options:[n,r]}),FS=(n,r)=>({...MS(n),options:[n,r]}),zS=(n,r)=>({...RS(n),options:[n,r]}),jS=(n,r)=>({...PS(n),options:[n,r]}),BS=(n,r)=>({...TS(n),options:[n,r]}),US=(n,r)=>({...IS(n),options:[n,r]});var HS="Arrow",vv=g.forwardRef((n,r)=>{const{children:i,width:l=10,height:u=5,...c}=n;return ee.jsx(Xe.svg,{...c,ref:r,width:l,height:u,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:n.asChild?i:ee.jsx("polygon",{points:"0,0 30,0 15,10"})})});vv.displayName=HS;var $S=vv;function WS(n){const[r,i]=g.useState(void 0);return It(()=>{if(n){i({width:n.offsetWidth,height:n.offsetHeight});const l=new ResizeObserver(u=>{if(!Array.isArray(u)||!u.length)return;const c=u[0];let f,p;if("borderBoxSize"in c){const h=c.borderBoxSize,v=Array.isArray(h)?h[0]:h;f=v.inlineSize,p=v.blockSize}else f=n.offsetWidth,p=n.offsetHeight;i({width:f,height:p})});return l.observe(n,{box:"border-box"}),()=>l.unobserve(n)}else i(void 0)},[n]),r}var pd="Popper",[yv,gv]=id(pd),[VS,wv]=yv(pd),xv=n=>{const{__scopePopper:r,children:i}=n,[l,u]=g.useState(null);return ee.jsx(VS,{scope:r,anchor:l,onAnchorChange:u,children:i})};xv.displayName=pd;var Sv="PopperAnchor",Cv=g.forwardRef((n,r)=>{const{__scopePopper:i,virtualRef:l,...u}=n,c=wv(Sv,i),f=g.useRef(null),p=ct(r,f),h=g.useRef(null);return g.useEffect(()=>{const v=h.current;h.current=(l==null?void 0:l.current)||f.current,v!==h.current&&c.onAnchorChange(h.current)}),l?null:ee.jsx(Xe.div,{...u,ref:p})});Cv.displayName=Sv;var hd="PopperContent",[QS,KS]=yv(hd),Ev=g.forwardRef((n,r)=>{var K,fe,Ce,be,Te,Oe;const{__scopePopper:i,side:l="bottom",sideOffset:u=0,align:c="center",alignOffset:f=0,arrowPadding:p=0,avoidCollisions:h=!0,collisionBoundary:v=[],collisionPadding:w=0,sticky:x="partial",hideWhenDetached:E=!1,updatePositionStrategy:y="optimized",onPlaced:O,...S}=n,C=wv(hd,i),[P,M]=g.useState(null),R=ct(r,qe=>M(qe)),[L,z]=g.useState(null),U=WS(L),H=(U==null?void 0:U.width)??0,q=(U==null?void 0:U.height)??0,Z=l+(c!=="center"?"-"+c:""),te=typeof w=="number"?w:{top:0,right:0,bottom:0,left:0,...w},pe=Array.isArray(v)?v:[v],X=pe.length>0,ye={padding:te,boundary:pe.filter(GS),altBoundary:X},{refs:ce,floatingStyles:xe,placement:ae,isPositioned:ie,middlewareData:j}=LS({strategy:"fixed",placement:Z,whileElementsMounted:(...qe)=>ES(...qe,{animationFrame:y==="always"}),elements:{reference:C.anchor},middleware:[AS({mainAxis:u+q,alignmentAxis:f}),h&&DS({mainAxis:!0,crossAxis:!1,limiter:x==="partial"?FS():void 0,...ye}),h&&zS({...ye}),jS({...ye,apply:({elements:qe,rects:dt,availableWidth:yn,availableHeight:Xt})=>{const{width:Zt,height:or}=dt.reference,gn=qe.floating.style;gn.setProperty("--radix-popper-available-width",`${yn}px`),gn.setProperty("--radix-popper-available-height",`${Xt}px`),gn.setProperty("--radix-popper-anchor-width",`${Zt}px`),gn.setProperty("--radix-popper-anchor-height",`${or}px`)}}),L&&US({element:L,padding:p}),YS({arrowWidth:H,arrowHeight:q}),E&&BS({strategy:"referenceHidden",...ye})]}),[B,V]=Rv(ae),N=go(O);It(()=>{ie&&(N==null||N())},[ie,N]);const F=(K=j.arrow)==null?void 0:K.x,ne=(fe=j.arrow)==null?void 0:fe.y,re=((Ce=j.arrow)==null?void 0:Ce.centerOffset)!==0,[ve,Se]=g.useState();return It(()=>{P&&Se(window.getComputedStyle(P).zIndex)},[P]),ee.jsx("div",{ref:ce.setFloating,"data-radix-popper-content-wrapper":"",style:{...xe,transform:ie?xe.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ve,"--radix-popper-transform-origin":[(be=j.transformOrigin)==null?void 0:be.x,(Te=j.transformOrigin)==null?void 0:Te.y].join(" "),...((Oe=j.hide)==null?void 0:Oe.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:n.dir,children:ee.jsx(QS,{scope:i,placedSide:B,onArrowChange:z,arrowX:F,arrowY:ne,shouldHideArrow:re,children:ee.jsx(Xe.div,{"data-side":B,"data-align":V,...S,ref:R,style:{...S.style,animation:ie?void 0:"none"}})})})});Ev.displayName=hd;var kv="PopperArrow",qS={top:"bottom",right:"left",bottom:"top",left:"right"},bv=g.forwardRef(function(r,i){const{__scopePopper:l,...u}=r,c=KS(kv,l),f=qS[c.placedSide];return ee.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:ee.jsx($S,{...u,ref:i,style:{...u.style,display:"block"}})})});bv.displayName=kv;function GS(n){return n!==null}var YS=n=>({name:"transformOrigin",options:n,fn(r){var C,P,M;const{placement:i,rects:l,middlewareData:u}=r,f=((C=u.arrow)==null?void 0:C.centerOffset)!==0,p=f?0:n.arrowWidth,h=f?0:n.arrowHeight,[v,w]=Rv(i),x={start:"0%",center:"50%",end:"100%"}[w],E=(((P=u.arrow)==null?void 0:P.x)??0)+p/2,y=(((M=u.arrow)==null?void 0:M.y)??0)+h/2;let O="",S="";return v==="bottom"?(O=f?x:`${E}px`,S=`${-h}px`):v==="top"?(O=f?x:`${E}px`,S=`${l.floating.height+h}px`):v==="right"?(O=`${-h}px`,S=f?x:`${y}px`):v==="left"&&(O=`${l.floating.width+h}px`,S=f?x:`${y}px`),{data:{x:O,y:S}}}});function Rv(n){const[r,i="center"]=n.split("-");return[r,i]}var XS=xv,ZS=Cv,JS=Ev,e2=bv,t2="Portal",Pv=g.forwardRef((n,r)=>{var p;const{container:i,...l}=n,[u,c]=g.useState(!1);It(()=>c(!0),[]);const f=i||u&&((p=globalThis==null?void 0:globalThis.document)==null?void 0:p.body);return f?_m.createPortal(ee.jsx(Xe.div,{...l,ref:r}),f):null});Pv.displayName=t2;var n2=dm[" useInsertionEffect ".trim().toString()]||It;function $h({prop:n,defaultProp:r,onChange:i=()=>{},caller:l}){const[u,c,f]=r2({defaultProp:r,onChange:i}),p=n!==void 0,h=p?n:u;{const w=g.useRef(n!==void 0);g.useEffect(()=>{const x=w.current;x!==p&&console.warn(`${l} 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,l])}const v=g.useCallback(w=>{var x;if(p){const E=o2(w)?w(n):w;E!==n&&((x=f.current)==null||x.call(f,E))}else c(w)},[p,n,c,f]);return[h,v]}function r2({defaultProp:n,onChange:r}){const[i,l]=g.useState(n),u=g.useRef(i),c=g.useRef(r);return n2(()=>{c.current=r},[r]),g.useEffect(()=>{var f;u.current!==i&&((f=c.current)==null||f.call(c,i),u.current=i)},[i,u]),[i,l,c]}function o2(n){return typeof n=="function"}function i2(n){const r=g.useRef({value:n,previous:n});return g.useMemo(()=>(r.current.value!==n&&(r.current.previous=r.current.value,r.current.value=n),r.current.previous),[n])}var Tv=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"}),s2="VisuallyHidden",Mv=g.forwardRef((n,r)=>ee.jsx(Xe.span,{...n,ref:r,style:{...Tv,...n.style}}));Mv.displayName=s2;var ik=Mv,l2=function(n){if(typeof document>"u")return null;var r=Array.isArray(n)?n[0]:n;return r.ownerDocument.body},Go=new WeakMap,Bl=new WeakMap,Ul={},fc=0,Ov=function(n){return n&&(n.host||Ov(n.parentNode))},a2=function(n,r){return r.map(function(i){if(n.contains(i))return i;var l=Ov(i);return l&&n.contains(l)?l:(console.error("aria-hidden",i,"in not contained inside",n,". Doing nothing"),null)}).filter(function(i){return!!i})},u2=function(n,r,i,l){var u=a2(r,Array.isArray(n)?n:[n]);Ul[i]||(Ul[i]=new WeakMap);var c=Ul[i],f=[],p=new Set,h=new Set(u),v=function(x){!x||p.has(x)||(p.add(x),v(x.parentNode))};u.forEach(v);var w=function(x){!x||h.has(x)||Array.prototype.forEach.call(x.children,function(E){if(p.has(E))w(E);else try{var y=E.getAttribute(l),O=y!==null&&y!=="false",S=(Go.get(E)||0)+1,C=(c.get(E)||0)+1;Go.set(E,S),c.set(E,C),f.push(E),S===1&&O&&Bl.set(E,!0),C===1&&E.setAttribute(i,"true"),O||E.setAttribute(l,"true")}catch(P){console.error("aria-hidden: cannot operate on ",E,P)}})};return w(r),p.clear(),fc++,function(){f.forEach(function(x){var E=Go.get(x)-1,y=c.get(x)-1;Go.set(x,E),c.set(x,y),E||(Bl.has(x)||x.removeAttribute(l),Bl.delete(x)),y||x.removeAttribute(i)}),fc--,fc||(Go=new WeakMap,Go=new WeakMap,Bl=new WeakMap,Ul={})}},c2=function(n,r,i){i===void 0&&(i="data-aria-hidden");var l=Array.from(Array.isArray(n)?n:[n]),u=l2(n);return u?(l.push.apply(l,Array.from(u.querySelectorAll("[aria-live], script"))),u2(l,u,i,"aria-hidden")):function(){return null}},Ln=function(){return Ln=Object.assign||function(r){for(var i,l=1,u=arguments.length;l<u;l++){i=arguments[l];for(var c in i)Object.prototype.hasOwnProperty.call(i,c)&&(r[c]=i[c])}return r},Ln.apply(this,arguments)};function Nv(n,r){var i={};for(var l in n)Object.prototype.hasOwnProperty.call(n,l)&&r.indexOf(l)<0&&(i[l]=n[l]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var u=0,l=Object.getOwnPropertySymbols(n);u<l.length;u++)r.indexOf(l[u])<0&&Object.prototype.propertyIsEnumerable.call(n,l[u])&&(i[l[u]]=n[l[u]]);return i}function d2(n,r,i){if(i||arguments.length===2)for(var l=0,u=r.length,c;l<u;l++)(c||!(l in r))&&(c||(c=Array.prototype.slice.call(r,0,l)),c[l]=r[l]);return n.concat(c||Array.prototype.slice.call(r))}var Gl="right-scroll-bar-position",Yl="width-before-scroll-bar",f2="with-scroll-bars-hidden",p2="--removed-body-scroll-bar-size";function pc(n,r){return typeof n=="function"?n(r):n&&(n.current=r),n}function h2(n,r){var i=g.useState(function(){return{value:n,callback:r,facade:{get current(){return i.value},set current(l){var u=i.value;u!==l&&(i.value=l,i.callback(l,u))}}}})[0];return i.callback=r,i.facade}var m2=typeof window<"u"?g.useLayoutEffect:g.useEffect,Wh=new WeakMap;function v2(n,r){var i=h2(null,function(l){return n.forEach(function(u){return pc(u,l)})});return m2(function(){var l=Wh.get(i);if(l){var u=new Set(l),c=new Set(n),f=i.current;u.forEach(function(p){c.has(p)||pc(p,null)}),c.forEach(function(p){u.has(p)||pc(p,f)})}Wh.set(i,n)},[n]),i}function y2(n){return n}function g2(n,r){r===void 0&&(r=y2);var i=[],l=!1,u={read:function(){if(l)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,l);return i.push(f),function(){i=i.filter(function(p){return p!==f})}},assignSyncMedium:function(c){for(l=!0;i.length;){var f=i;i=[],f.forEach(c)}i={push:function(p){return c(p)},filter:function(){return i}}},assignMedium:function(c){l=!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)},v=function(){return Promise.resolve().then(h)};v(),i={push:function(w){f.push(w),v()},filter:function(w){return f=f.filter(w),i}}}};return u}function w2(n){n===void 0&&(n={});var r=g2(null);return r.options=Ln({async:!0,ssr:!1},n),r}var _v=function(n){var r=n.sideCar,i=Nv(n,["sideCar"]);if(!r)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var l=r.read();if(!l)throw new Error("Sidecar medium not found");return g.createElement(l,Ln({},i))};_v.isSideCarExport=!0;function x2(n,r){return n.useMedium(r),_v}var Lv=w2(),hc=function(){},fa=g.forwardRef(function(n,r){var i=g.useRef(null),l=g.useState({onScrollCapture:hc,onWheelCapture:hc,onTouchMoveCapture:hc}),u=l[0],c=l[1],f=n.forwardProps,p=n.children,h=n.className,v=n.removeScrollBar,w=n.enabled,x=n.shards,E=n.sideCar,y=n.noRelative,O=n.noIsolation,S=n.inert,C=n.allowPinchZoom,P=n.as,M=P===void 0?"div":P,R=n.gapMode,L=Nv(n,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),z=E,U=v2([i,r]),H=Ln(Ln({},L),u);return g.createElement(g.Fragment,null,w&&g.createElement(z,{sideCar:Lv,removeScrollBar:v,shards:x,noRelative:y,noIsolation:O,inert:S,setCallbacks:c,allowPinchZoom:!!C,lockRef:i,gapMode:R}),f?g.cloneElement(g.Children.only(p),Ln(Ln({},H),{ref:U})):g.createElement(M,Ln({},H,{className:h,ref:U}),p))});fa.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};fa.classNames={fullWidth:Yl,zeroRight:Gl};var S2=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function C2(){if(!document)return null;var n=document.createElement("style");n.type="text/css";var r=S2();return r&&n.setAttribute("nonce",r),n}function E2(n,r){n.styleSheet?n.styleSheet.cssText=r:n.appendChild(document.createTextNode(r))}function k2(n){var r=document.head||document.getElementsByTagName("head")[0];r.appendChild(n)}var b2=function(){var n=0,r=null;return{add:function(i){n==0&&(r=C2())&&(E2(r,i),k2(r)),n++},remove:function(){n--,!n&&r&&(r.parentNode&&r.parentNode.removeChild(r),r=null)}}},R2=function(){var n=b2();return function(r,i){g.useEffect(function(){return n.add(r),function(){n.remove()}},[r&&i])}},Iv=function(){var n=R2(),r=function(i){var l=i.styles,u=i.dynamic;return n(l,u),null};return r},P2={left:0,top:0,right:0,gap:0},mc=function(n){return parseInt(n||"",10)||0},T2=function(n){var r=window.getComputedStyle(document.body),i=r[n==="padding"?"paddingLeft":"marginLeft"],l=r[n==="padding"?"paddingTop":"marginTop"],u=r[n==="padding"?"paddingRight":"marginRight"];return[mc(i),mc(l),mc(u)]},M2=function(n){if(n===void 0&&(n="margin"),typeof window>"u")return P2;var r=T2(n),i=document.documentElement.clientWidth,l=window.innerWidth;return{left:r[0],top:r[1],right:r[2],gap:Math.max(0,l-i+r[2]-r[0])}},O2=Iv(),ei="data-scroll-locked",N2=function(n,r,i,l){var u=n.left,c=n.top,f=n.right,p=n.gap;return i===void 0&&(i="margin"),`
357
347
  .`.concat(f2,` {
358
348
  overflow: hidden `).concat(l,`;
359
349
  padding-right: `).concat(p,"px ").concat(l,`;
@@ -371,27 +361,27 @@ Please change the parent <Route path="${R}"> to <Route path="${R==="/"?"*":`${R}
371
361
  `),i==="padding"&&"padding-right: ".concat(p,"px ").concat(l,";")].filter(Boolean).join(""),`
372
362
  }
373
363
 
374
- .`).concat(Yl,` {
364
+ .`).concat(Gl,` {
375
365
  right: `).concat(p,"px ").concat(l,`;
376
366
  }
377
367
 
378
- .`).concat(Gl,` {
368
+ .`).concat(Yl,` {
379
369
  margin-right: `).concat(p,"px ").concat(l,`;
380
370
  }
381
371
 
382
- .`).concat(Yl," .").concat(Yl,` {
372
+ .`).concat(Gl," .").concat(Gl,` {
383
373
  right: 0 `).concat(l,`;
384
374
  }
385
375
 
386
- .`).concat(Gl," .").concat(Gl,` {
376
+ .`).concat(Yl," .").concat(Yl,` {
387
377
  margin-right: 0 `).concat(l,`;
388
378
  }
389
379
 
390
380
  body[`).concat(ei,`] {
391
381
  `).concat(p2,": ").concat(p,`px;
392
382
  }
393
- `)},Wh=function(){var n=parseInt(document.body.getAttribute(ei)||"0",10);return isFinite(n)?n:0},_2=function(){g.useEffect(function(){return document.body.setAttribute(ei,(Wh()+1).toString()),function(){var n=Wh()-1;n<=0?document.body.removeAttribute(ei):document.body.setAttribute(ei,n.toString())}},[])},L2=function(n){var r=n.noRelative,i=n.noImportant,l=n.gapMode,u=l===void 0?"margin":l;_2();var c=g.useMemo(function(){return T2(u)},[u]);return g.createElement(O2,{styles:N2(c,!r,u,i?"":"!important")})},Fc=!1;if(typeof window<"u")try{var Hl=Object.defineProperty({},"passive",{get:function(){return Fc=!0,!0}});window.addEventListener("test",Hl,Hl),window.removeEventListener("test",Hl,Hl)}catch{Fc=!1}var Go=Fc?{passive:!1}:!1,I2=function(n){return n.tagName==="TEXTAREA"},Ay=function(n,r){if(!(n instanceof Element))return!1;var i=window.getComputedStyle(n);return i[r]!=="hidden"&&!(i.overflowY===i.overflowX&&!I2(n)&&i[r]==="visible")},A2=function(n){return Ay(n,"overflowY")},D2=function(n){return Ay(n,"overflowX")},Qh=function(n,r){var i=r.ownerDocument,l=r;do{typeof ShadowRoot<"u"&&l instanceof ShadowRoot&&(l=l.host);var u=Dy(n,l);if(u){var c=Fy(n,l),f=c[1],p=c[2];if(f>p)return!0}l=l.parentNode}while(l&&l!==i.body);return!1},F2=function(n){var r=n.scrollTop,i=n.scrollHeight,l=n.clientHeight;return[r,i,l]},z2=function(n){var r=n.scrollLeft,i=n.scrollWidth,l=n.clientWidth;return[r,i,l]},Dy=function(n,r){return n==="v"?A2(r):D2(r)},Fy=function(n,r){return n==="v"?F2(r):z2(r)},j2=function(n,r){return n==="h"&&r==="rtl"?-1:1},B2=function(n,r,i,l,u){var c=j2(n,window.getComputedStyle(r).direction),f=c*l,p=i.target,h=r.contains(p),y=!1,w=f>0,x=0,C=0;do{if(!p)break;var v=Fy(n,p),O=v[0],S=v[1],k=v[2],P=S-k-c*O;(O||P)&&Dy(n,p)&&(x+=P,C+=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(C)<1)&&(y=!0),y},$l=function(n){return"changedTouches"in n?[n.changedTouches[0].clientX,n.changedTouches[0].clientY]:[0,0]},Kh=function(n){return[n.deltaX,n.deltaY]},qh=function(n){return n&&"current"in n?n.current:n},U2=function(n,r){return n[0]===r[0]&&n[1]===r[1]},H2=function(n){return`
383
+ `)},Vh=function(){var n=parseInt(document.body.getAttribute(ei)||"0",10);return isFinite(n)?n:0},_2=function(){g.useEffect(function(){return document.body.setAttribute(ei,(Vh()+1).toString()),function(){var n=Vh()-1;n<=0?document.body.removeAttribute(ei):document.body.setAttribute(ei,n.toString())}},[])},L2=function(n){var r=n.noRelative,i=n.noImportant,l=n.gapMode,u=l===void 0?"margin":l;_2();var c=g.useMemo(function(){return M2(u)},[u]);return g.createElement(O2,{styles:N2(c,!r,u,i?"":"!important")})},Fc=!1;if(typeof window<"u")try{var Hl=Object.defineProperty({},"passive",{get:function(){return Fc=!0,!0}});window.addEventListener("test",Hl,Hl),window.removeEventListener("test",Hl,Hl)}catch{Fc=!1}var Yo=Fc?{passive:!1}:!1,I2=function(n){return n.tagName==="TEXTAREA"},Av=function(n,r){if(!(n instanceof Element))return!1;var i=window.getComputedStyle(n);return i[r]!=="hidden"&&!(i.overflowY===i.overflowX&&!I2(n)&&i[r]==="visible")},A2=function(n){return Av(n,"overflowY")},D2=function(n){return Av(n,"overflowX")},Qh=function(n,r){var i=r.ownerDocument,l=r;do{typeof ShadowRoot<"u"&&l instanceof ShadowRoot&&(l=l.host);var u=Dv(n,l);if(u){var c=Fv(n,l),f=c[1],p=c[2];if(f>p)return!0}l=l.parentNode}while(l&&l!==i.body);return!1},F2=function(n){var r=n.scrollTop,i=n.scrollHeight,l=n.clientHeight;return[r,i,l]},z2=function(n){var r=n.scrollLeft,i=n.scrollWidth,l=n.clientWidth;return[r,i,l]},Dv=function(n,r){return n==="v"?A2(r):D2(r)},Fv=function(n,r){return n==="v"?F2(r):z2(r)},j2=function(n,r){return n==="h"&&r==="rtl"?-1:1},B2=function(n,r,i,l,u){var c=j2(n,window.getComputedStyle(r).direction),f=c*l,p=i.target,h=r.contains(p),v=!1,w=f>0,x=0,E=0;do{if(!p)break;var y=Fv(n,p),O=y[0],S=y[1],C=y[2],P=S-C-c*O;(O||P)&&Dv(n,p)&&(x+=P,E+=O);var M=p.parentNode;p=M&&M.nodeType===Node.DOCUMENT_FRAGMENT_NODE?M.host:M}while(!h&&p!==document.body||h&&(r.contains(p)||r===p));return(w&&Math.abs(x)<1||!w&&Math.abs(E)<1)&&(v=!0),v},$l=function(n){return"changedTouches"in n?[n.changedTouches[0].clientX,n.changedTouches[0].clientY]:[0,0]},Kh=function(n){return[n.deltaX,n.deltaY]},qh=function(n){return n&&"current"in n?n.current:n},U2=function(n,r){return n[0]===r[0]&&n[1]===r[1]},H2=function(n){return`
394
384
  .block-interactivity-`.concat(n,` {pointer-events: none;}
395
385
  .allow-interactivity-`).concat(n,` {pointer-events: all;}
396
- `)},$2=0,Xo=[];function V2(n){var r=g.useRef([]),i=g.useRef([0,0]),l=g.useRef(),u=g.useState($2++)[0],c=g.useState(Iy)[0],f=g.useRef(n);g.useEffect(function(){f.current=n},[n]),g.useEffect(function(){if(n.inert){document.body.classList.add("block-interactivity-".concat(u));var S=d2([n.lockRef.current],(n.shards||[]).map(qh),!0).filter(Boolean);return S.forEach(function(k){return k.classList.add("allow-interactivity-".concat(u))}),function(){document.body.classList.remove("block-interactivity-".concat(u)),S.forEach(function(k){return k.classList.remove("allow-interactivity-".concat(u))})}}},[n.inert,n.lockRef.current,n.shards]);var p=g.useCallback(function(S,k){if("touches"in S&&S.touches.length===2||S.type==="wheel"&&S.ctrlKey)return!f.current.allowPinchZoom;var P=$l(S),T=i.current,R="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(R)>Math.abs(L)?"h":"v";if("touches"in S&&H==="h"&&U.type==="range")return!1;var q=window.getSelection(),Z=q&&q.anchorNode,te=Z?Z===U||Z.contains(U):!1;if(te)return!1;var he=Qh(H,U);if(!he)return!0;if(he?z=H:(z=H==="v"?"h":"v",he=Qh(H,U)),!he)return!1;if(!l.current&&"changedTouches"in S&&(R||L)&&(l.current=z),!z)return!0;var X=l.current||z;return B2(X,k,S,X==="h"?R:L)},[]),h=g.useCallback(function(S){var k=S;if(!(!Xo.length||Xo[Xo.length-1]!==c)){var P="deltaY"in k?Kh(k):$l(k),T=r.current.filter(function(z){return z.name===k.type&&(z.target===k.target||k.target===z.shadowParent)&&U2(z.delta,P)})[0];if(T&&T.should){k.cancelable&&k.preventDefault();return}if(!T){var R=(f.current.shards||[]).map(qh).filter(Boolean).filter(function(z){return z.contains(k.target)}),L=R.length>0?p(k,R[0]):!f.current.noIsolation;L&&k.cancelable&&k.preventDefault()}}},[]),y=g.useCallback(function(S,k,P,T){var R={name:S,delta:k,target:P,should:T,shadowParent:W2(P)};r.current.push(R),setTimeout(function(){r.current=r.current.filter(function(L){return L!==R})},1)},[]),w=g.useCallback(function(S){i.current=$l(S),l.current=void 0},[]),x=g.useCallback(function(S){y(S.type,Kh(S),S.target,p(S,n.lockRef.current))},[]),C=g.useCallback(function(S){y(S.type,$l(S),S.target,p(S,n.lockRef.current))},[]);g.useEffect(function(){return Xo.push(c),n.setCallbacks({onScrollCapture:x,onWheelCapture:x,onTouchMoveCapture:C}),document.addEventListener("wheel",h,Go),document.addEventListener("touchmove",h,Go),document.addEventListener("touchstart",w,Go),function(){Xo=Xo.filter(function(S){return S!==c}),document.removeEventListener("wheel",h,Go),document.removeEventListener("touchmove",h,Go),document.removeEventListener("touchstart",w,Go)}},[]);var v=n.removeScrollBar,O=n.inert;return g.createElement(g.Fragment,null,O?g.createElement(c,{styles:H2(u)}):null,v?g.createElement(L2,{noRelative:n.noRelative,gapMode:n.gapMode}):null)}function W2(n){for(var r=null;n!==null;)n instanceof ShadowRoot&&(r=n.host,n=n.host),n=n.parentNode;return r}const Q2=x2(Ly,V2);var zy=g.forwardRef(function(n,r){return g.createElement(fa,Ln({},n,{ref:r,sideCar:Q2}))});zy.classNames=fa.classNames;var K2=[" ","Enter","ArrowUp","ArrowDown"],q2=[" ","Enter"],xo="Select",[pa,ha,Y2]=ax(xo),[Si]=id(xo,[Y2,gy]),ma=gy(),[G2,$r]=Si(xo),[X2,Z2]=Si(xo),jy=n=>{const{__scopeSelect:r,children:i,open:l,defaultOpen:u,onOpenChange:c,value:f,defaultValue:p,onValueChange:h,dir:y,name:w,autoComplete:x,disabled:C,required:v,form:O}=n,S=ma(r),[k,P]=g.useState(null),[T,R]=g.useState(null),[L,z]=g.useState(!1),U=cx(y),[H,q]=$h({prop:l,defaultProp:u??!1,onChange:c,caller:xo}),[Z,te]=$h({prop:f,defaultProp:p,onChange:h,caller:xo}),he=g.useRef(null),X=k?O||!!k.closest("form"):!0,[ve,ce]=g.useState(new Set),xe=Array.from(ve).map(ae=>ae.props.value).join(";");return ee.jsx(XS,{...S,children:ee.jsxs(G2,{required:v,scope:r,trigger:k,onTriggerChange:P,valueNode:T,onValueNodeChange:R,valueNodeHasChildren:L,onValueNodeHasChildrenChange:z,contentId:sd(),value:Z,onValueChange:te,open:H,onOpenChange:q,dir:U,triggerPointerDownPosRef:he,disabled:C,children:[ee.jsx(pa.Provider,{scope:r,children:ee.jsx(X2,{scope:n.__scopeSelect,onNativeOptionAdd:g.useCallback(ae=>{ce(ie=>new Set(ie).add(ae))},[]),onNativeOptionRemove:g.useCallback(ae=>{ce(ie=>{const j=new Set(ie);return j.delete(ae),j})},[]),children:i})}),X?ee.jsxs(uv,{"aria-hidden":!0,required:v,tabIndex:-1,name:w,autoComplete:x,value:Z,onChange:ae=>te(ae.target.value),disabled:C,form:O,children:[Z===void 0?ee.jsx("option",{value:""}):null,Array.from(ve)]},xe):null]})})};jy.displayName=xo;var By="SelectTrigger",Uy=g.forwardRef((n,r)=>{const{__scopeSelect:i,disabled:l=!1,...u}=n,c=ma(i),f=$r(By,i),p=f.disabled||l,h=ct(r,f.onTriggerChange),y=ha(i),w=g.useRef("touch"),[x,C,v]=dv(S=>{const k=y().filter(R=>!R.disabled),P=k.find(R=>R.value===f.value),T=fv(k,S,P);T!==void 0&&f.onValueChange(T.value)}),O=S=>{p||(f.onOpenChange(!0),v()),S&&(f.triggerPointerDownPosRef.current={x:Math.round(S.pageX),y:Math.round(S.pageY)})};return ee.jsx(ZS,{asChild:!0,...c,children:ee.jsx(Xe.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":cv(f.value)?"":void 0,...u,ref:h,onClick:Je(u.onClick,S=>{S.currentTarget.focus(),w.current!=="mouse"&&O(S)}),onPointerDown:Je(u.onPointerDown,S=>{w.current=S.pointerType;const k=S.target;k.hasPointerCapture(S.pointerId)&&k.releasePointerCapture(S.pointerId),S.button===0&&S.ctrlKey===!1&&S.pointerType==="mouse"&&(O(S),S.preventDefault())}),onKeyDown:Je(u.onKeyDown,S=>{const k=x.current!=="";!(S.ctrlKey||S.altKey||S.metaKey)&&S.key.length===1&&C(S.key),!(k&&S.key===" ")&&K2.includes(S.key)&&(O(),S.preventDefault())})})})});Uy.displayName=By;var Hy="SelectValue",$y=g.forwardRef((n,r)=>{const{__scopeSelect:i,className:l,style:u,children:c,placeholder:f="",...p}=n,h=$r(Hy,i),{onValueNodeHasChildrenChange:y}=h,w=c!==void 0,x=ct(r,h.onValueNodeChange);return It(()=>{y(w)},[y,w]),ee.jsx(Xe.span,{...p,ref:x,style:{pointerEvents:"none"},children:cv(h.value)?ee.jsx(ee.Fragment,{children:f}):c})});$y.displayName=Hy;var J2="SelectIcon",Vy=g.forwardRef((n,r)=>{const{__scopeSelect:i,children:l,...u}=n;return ee.jsx(Xe.span,{"aria-hidden":!0,...u,ref:r,children:l||"▼"})});Vy.displayName=J2;var ek="SelectPortal",Wy=n=>ee.jsx(Py,{asChild:!0,...n});Wy.displayName=ek;var So="SelectContent",Qy=g.forwardRef((n,r)=>{const i=$r(So,n.__scopeSelect),[l,u]=g.useState();if(It(()=>{u(new DocumentFragment)},[]),!i.open){const c=l;return c?xs.createPortal(ee.jsx(Ky,{scope:n.__scopeSelect,children:ee.jsx(pa.Slot,{scope:n.__scopeSelect,children:ee.jsx("div",{children:n.children})})}),c):null}return ee.jsx(qy,{...n,ref:r})});Qy.displayName=So;var cn=10,[Ky,Vr]=Si(So),tk="SelectContentImpl",nk=ea("SelectContent.RemoveScroll"),qy=g.forwardRef((n,r)=>{const{__scopeSelect:i,position:l="item-aligned",onCloseAutoFocus:u,onEscapeKeyDown:c,onPointerDownOutside:f,side:p,sideOffset:h,align:y,alignOffset:w,arrowPadding:x,collisionBoundary:C,collisionPadding:v,sticky:O,hideWhenDetached:S,avoidCollisions:k,...P}=n,T=$r(So,i),[R,L]=g.useState(null),[z,U]=g.useState(null),H=ct(r,K=>L(K)),[q,Z]=g.useState(null),[te,he]=g.useState(null),X=ha(i),[ve,ce]=g.useState(!1),xe=g.useRef(!1);g.useEffect(()=>{if(R)return c2(R)},[R]),Sx();const ae=g.useCallback(K=>{const[fe,...ke]=X().map(Oe=>Oe.ref.current),[be]=ke.slice(-1),Me=document.activeElement;for(const Oe of K)if(Oe===Me||(Oe==null||Oe.scrollIntoView({block:"nearest"}),Oe===fe&&z&&(z.scrollTop=0),Oe===be&&z&&(z.scrollTop=z.scrollHeight),Oe==null||Oe.focus(),document.activeElement!==Me))return},[X,z]),ie=g.useCallback(()=>ae([q,R]),[ae,q,R]);g.useEffect(()=>{ve&&ie()},[ve,ie]);const{onOpenChange:j,triggerPointerDownPosRef:B}=T;g.useEffect(()=>{if(R){let K={x:0,y:0};const fe=be=>{var Me,Oe;K={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))}},ke=be=>{K.x<=10&&K.y<=10?be.preventDefault():R.contains(be.target)||j(!1),document.removeEventListener("pointermove",fe),B.current=null};return B.current!==null&&(document.addEventListener("pointermove",fe),document.addEventListener("pointerup",ke,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",fe),document.removeEventListener("pointerup",ke,{capture:!0})}}},[R,j,B]),g.useEffect(()=>{const K=()=>j(!1);return window.addEventListener("blur",K),window.addEventListener("resize",K),()=>{window.removeEventListener("blur",K),window.removeEventListener("resize",K)}},[j]);const[W,N]=dv(K=>{const fe=X().filter(Me=>!Me.disabled),ke=fe.find(Me=>Me.ref.current===document.activeElement),be=fv(fe,K,ke);be&&setTimeout(()=>be.ref.current.focus())}),F=g.useCallback((K,fe,ke)=>{const be=!xe.current&&!ke;(T.value!==void 0&&T.value===fe||be)&&(Z(K),be&&(xe.current=!0))},[T.value]),ne=g.useCallback(()=>R==null?void 0:R.focus(),[R]),re=g.useCallback((K,fe,ke)=>{const be=!xe.current&&!ke;(T.value!==void 0&&T.value===fe||be)&&he(K)},[T.value]),ye=l==="popper"?zc:Yy,Se=ye===zc?{side:p,sideOffset:h,align:y,alignOffset:w,arrowPadding:x,collisionBoundary:C,collisionPadding:v,sticky:O,hideWhenDetached:S,avoidCollisions:k}:{};return ee.jsx(Ky,{scope:i,content:R,viewport:z,onViewportChange:U,itemRefCallback:F,selectedItem:q,onItemLeave:ne,itemTextRefCallback:re,focusSelectedItem:ie,selectedItemText:te,position:l,isPositioned:ve,searchRef:W,children:ee.jsx(zy,{as:nk,allowPinchZoom:!0,children:ee.jsx(ry,{asChild:!0,trapped:T.open,onMountAutoFocus:K=>{K.preventDefault()},onUnmountAutoFocus:Je(u,K=>{var fe;(fe=T.trigger)==null||fe.focus({preventScroll:!0}),K.preventDefault()}),children:ee.jsx(ty,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:c,onPointerDownOutside:f,onFocusOutside:K=>K.preventDefault(),onDismiss:()=>T.onOpenChange(!1),children:ee.jsx(ye,{role:"listbox",id:T.contentId,"data-state":T.open?"open":"closed",dir:T.dir,onContextMenu:K=>K.preventDefault(),...P,...Se,onPlaced:()=>ce(!0),ref:H,style:{display:"flex",flexDirection:"column",outline:"none",...P.style},onKeyDown:Je(P.onKeyDown,K=>{const fe=K.ctrlKey||K.altKey||K.metaKey;if(K.key==="Tab"&&K.preventDefault(),!fe&&K.key.length===1&&N(K.key),["ArrowUp","ArrowDown","Home","End"].includes(K.key)){let be=X().filter(Me=>!Me.disabled).map(Me=>Me.ref.current);if(["ArrowUp","End"].includes(K.key)&&(be=be.slice().reverse()),["ArrowUp","ArrowDown"].includes(K.key)){const Me=K.target,Oe=be.indexOf(Me);be=be.slice(Oe+1)}setTimeout(()=>ae(be)),K.preventDefault()}})})})})})})});qy.displayName=tk;var rk="SelectItemAlignedPosition",Yy=g.forwardRef((n,r)=>{const{__scopeSelect:i,onPlaced:l,...u}=n,c=$r(So,i),f=Vr(So,i),[p,h]=g.useState(null),[y,w]=g.useState(null),x=ct(r,H=>w(H)),C=ha(i),v=g.useRef(!1),O=g.useRef(!0),{viewport:S,selectedItem:k,selectedItemText:P,focusSelectedItem:T}=f,R=g.useCallback(()=>{if(c.trigger&&c.valueNode&&p&&y&&S&&k&&P){const H=c.trigger.getBoundingClientRect(),q=y.getBoundingClientRect(),Z=c.valueNode.getBoundingClientRect(),te=P.getBoundingClientRect();if(c.dir!=="rtl"){const Me=te.left-q.left,Oe=Z.left-Me,qe=H.left-Oe,dt=H.width+qe,vn=Math.max(dt,q.width),Xt=window.innerWidth-cn,Zt=Ch(Oe,[cn,Math.max(cn,Xt-vn)]);p.style.minWidth=dt+"px",p.style.left=Zt+"px"}else{const Me=q.right-te.right,Oe=window.innerWidth-Z.right-Me,qe=window.innerWidth-H.right-Oe,dt=H.width+qe,vn=Math.max(dt,q.width),Xt=window.innerWidth-cn,Zt=Ch(Oe,[cn,Math.max(cn,Xt-vn)]);p.style.minWidth=dt+"px",p.style.right=Zt+"px"}const he=C(),X=window.innerHeight-cn*2,ve=S.scrollHeight,ce=window.getComputedStyle(y),xe=parseInt(ce.borderTopWidth,10),ae=parseInt(ce.paddingTop,10),ie=parseInt(ce.borderBottomWidth,10),j=parseInt(ce.paddingBottom,10),B=xe+ae+ve+j+ie,W=Math.min(k.offsetHeight*5,B),N=window.getComputedStyle(S),F=parseInt(N.paddingTop,10),ne=parseInt(N.paddingBottom,10),re=H.top+H.height/2-cn,ye=X-re,Se=k.offsetHeight/2,K=k.offsetTop+Se,fe=xe+ae+K,ke=B-fe;if(fe<=re){const Me=he.length>0&&k===he[he.length-1].ref.current;p.style.bottom="0px";const Oe=y.clientHeight-S.offsetTop-S.offsetHeight,qe=Math.max(ye,Se+(Me?ne:0)+Oe+ie),dt=fe+qe;p.style.height=dt+"px"}else{const Me=he.length>0&&k===he[0].ref.current;p.style.top="0px";const qe=Math.max(re,xe+S.offsetTop+(Me?F:0)+Se)+ke;p.style.height=qe+"px",S.scrollTop=fe-re+S.offsetTop}p.style.margin=`${cn}px 0`,p.style.minHeight=W+"px",p.style.maxHeight=X+"px",l==null||l(),requestAnimationFrame(()=>v.current=!0)}},[C,c.trigger,c.valueNode,p,y,S,k,P,c.dir,l]);It(()=>R(),[R]);const[L,z]=g.useState();It(()=>{y&&z(window.getComputedStyle(y).zIndex)},[y]);const U=g.useCallback(H=>{H&&O.current===!0&&(R(),T==null||T(),O.current=!1)},[R,T]);return ee.jsx(ik,{scope:i,contentWrapper:p,shouldExpandOnScrollRef:v,onScrollButtonChange:U,children:ee.jsx("div",{ref:h,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:L},children:ee.jsx(Xe.div,{...u,ref:x,style:{boxSizing:"border-box",maxHeight:"100%",...u.style}})})})});Yy.displayName=rk;var ok="SelectPopperPosition",zc=g.forwardRef((n,r)=>{const{__scopeSelect:i,align:l="start",collisionPadding:u=cn,...c}=n,f=ma(i);return ee.jsx(JS,{...f,...c,ref:r,align:l,collisionPadding:u,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)"}})});zc.displayName=ok;var[ik,md]=Si(So,{}),jc="SelectViewport",Gy=g.forwardRef((n,r)=>{const{__scopeSelect:i,nonce:l,...u}=n,c=Vr(jc,i),f=md(jc,i),p=ct(r,c.onViewportChange),h=g.useRef(0);return ee.jsxs(ee.Fragment,{children:[ee.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:l}),ee.jsx(pa.Slot,{scope:i,children:ee.jsx(Xe.div,{"data-radix-select-viewport":"",role:"presentation",...u,ref:p,style:{position:"relative",flex:1,overflow:"hidden auto",...u.style},onScroll:Je(u.onScroll,y=>{const w=y.currentTarget,{contentWrapper:x,shouldExpandOnScrollRef:C}=f;if(C!=null&&C.current&&x){const v=Math.abs(h.current-w.scrollTop);if(v>0){const O=window.innerHeight-cn*2,S=parseFloat(x.style.minHeight),k=parseFloat(x.style.height),P=Math.max(S,k);if(P<O){const T=P+v,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})})})]})});Gy.displayName=jc;var Xy="SelectGroup",[sk,lk]=Si(Xy),ak=g.forwardRef((n,r)=>{const{__scopeSelect:i,...l}=n,u=sd();return ee.jsx(sk,{scope:i,id:u,children:ee.jsx(Xe.div,{role:"group","aria-labelledby":u,...l,ref:r})})});ak.displayName=Xy;var Zy="SelectLabel",Jy=g.forwardRef((n,r)=>{const{__scopeSelect:i,...l}=n,u=lk(Zy,i);return ee.jsx(Xe.div,{id:u.id,...l,ref:r})});Jy.displayName=Zy;var ia="SelectItem",[uk,ev]=Si(ia),tv=g.forwardRef((n,r)=>{const{__scopeSelect:i,value:l,disabled:u=!1,textValue:c,...f}=n,p=$r(ia,i),h=Vr(ia,i),y=p.value===l,[w,x]=g.useState(c??""),[C,v]=g.useState(!1),O=ct(r,T=>{var R;return(R=h.itemRefCallback)==null?void 0:R.call(h,T,l,u)}),S=sd(),k=g.useRef("touch"),P=()=>{u||(p.onValueChange(l),p.onOpenChange(!1))};if(l==="")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 ee.jsx(uk,{scope:i,value:l,disabled:u,textId:S,isSelected:y,onItemTextChange:g.useCallback(T=>{x(R=>R||((T==null?void 0:T.textContent)??"").trim())},[]),children:ee.jsx(pa.ItemSlot,{scope:i,value:l,disabled:u,textValue:w,children:ee.jsx(Xe.div,{role:"option","aria-labelledby":S,"data-highlighted":C?"":void 0,"aria-selected":y&&C,"data-state":y?"checked":"unchecked","aria-disabled":u||void 0,"data-disabled":u?"":void 0,tabIndex:u?void 0:-1,...f,ref:O,onFocus:Je(f.onFocus,()=>v(!0)),onBlur:Je(f.onBlur,()=>v(!1)),onClick:Je(f.onClick,()=>{k.current!=="mouse"&&P()}),onPointerUp:Je(f.onPointerUp,()=>{k.current==="mouse"&&P()}),onPointerDown:Je(f.onPointerDown,T=>{k.current=T.pointerType}),onPointerMove:Je(f.onPointerMove,T=>{var R;k.current=T.pointerType,u?(R=h.onItemLeave)==null||R.call(h):k.current==="mouse"&&T.currentTarget.focus({preventScroll:!0})}),onPointerLeave:Je(f.onPointerLeave,T=>{var R;T.currentTarget===document.activeElement&&((R=h.onItemLeave)==null||R.call(h))}),onKeyDown:Je(f.onKeyDown,T=>{var L;((L=h.searchRef)==null?void 0:L.current)!==""&&T.key===" "||(q2.includes(T.key)&&P(),T.key===" "&&T.preventDefault())})})})})});tv.displayName=ia;var us="SelectItemText",nv=g.forwardRef((n,r)=>{const{__scopeSelect:i,className:l,style:u,...c}=n,f=$r(us,i),p=Vr(us,i),h=ev(us,i),y=Z2(us,i),[w,x]=g.useState(null),C=ct(r,P=>x(P),h.onItemTextChange,P=>{var T;return(T=p.itemTextRefCallback)==null?void 0:T.call(p,P,h.value,h.disabled)}),v=w==null?void 0:w.textContent,O=g.useMemo(()=>ee.jsx("option",{value:h.value,disabled:h.disabled,children:v},h.value),[h.disabled,h.value,v]),{onNativeOptionAdd:S,onNativeOptionRemove:k}=y;return It(()=>(S(O),()=>k(O)),[S,k,O]),ee.jsxs(ee.Fragment,{children:[ee.jsx(Xe.span,{id:h.textId,...c,ref:C}),h.isSelected&&f.valueNode&&!f.valueNodeHasChildren?xs.createPortal(c.children,f.valueNode):null]})});nv.displayName=us;var rv="SelectItemIndicator",ov=g.forwardRef((n,r)=>{const{__scopeSelect:i,...l}=n;return ev(rv,i).isSelected?ee.jsx(Xe.span,{"aria-hidden":!0,...l,ref:r}):null});ov.displayName=rv;var Bc="SelectScrollUpButton",iv=g.forwardRef((n,r)=>{const i=Vr(Bc,n.__scopeSelect),l=md(Bc,n.__scopeSelect),[u,c]=g.useState(!1),f=ct(r,l.onScrollButtonChange);return It(()=>{if(i.viewport&&i.isPositioned){let p=function(){const y=h.scrollTop>0;c(y)};const h=i.viewport;return p(),h.addEventListener("scroll",p),()=>h.removeEventListener("scroll",p)}},[i.viewport,i.isPositioned]),u?ee.jsx(lv,{...n,ref:f,onAutoScroll:()=>{const{viewport:p,selectedItem:h}=i;p&&h&&(p.scrollTop=p.scrollTop-h.offsetHeight)}}):null});iv.displayName=Bc;var Uc="SelectScrollDownButton",sv=g.forwardRef((n,r)=>{const i=Vr(Uc,n.__scopeSelect),l=md(Uc,n.__scopeSelect),[u,c]=g.useState(!1),f=ct(r,l.onScrollButtonChange);return It(()=>{if(i.viewport&&i.isPositioned){let p=function(){const y=h.scrollHeight-h.clientHeight,w=Math.ceil(h.scrollTop)<y;c(w)};const h=i.viewport;return p(),h.addEventListener("scroll",p),()=>h.removeEventListener("scroll",p)}},[i.viewport,i.isPositioned]),u?ee.jsx(lv,{...n,ref:f,onAutoScroll:()=>{const{viewport:p,selectedItem:h}=i;p&&h&&(p.scrollTop=p.scrollTop+h.offsetHeight)}}):null});sv.displayName=Uc;var lv=g.forwardRef((n,r)=>{const{__scopeSelect:i,onAutoScroll:l,...u}=n,c=Vr("SelectScrollButton",i),f=g.useRef(null),p=ha(i),h=g.useCallback(()=>{f.current!==null&&(window.clearInterval(f.current),f.current=null)},[]);return g.useEffect(()=>()=>h(),[h]),It(()=>{var w;const y=p().find(x=>x.ref.current===document.activeElement);(w=y==null?void 0:y.ref.current)==null||w.scrollIntoView({block:"nearest"})},[p]),ee.jsx(Xe.div,{"aria-hidden":!0,...u,ref:r,style:{flexShrink:0,...u.style},onPointerDown:Je(u.onPointerDown,()=>{f.current===null&&(f.current=window.setInterval(l,50))}),onPointerMove:Je(u.onPointerMove,()=>{var y;(y=c.onItemLeave)==null||y.call(c),f.current===null&&(f.current=window.setInterval(l,50))}),onPointerLeave:Je(u.onPointerLeave,()=>{h()})})}),ck="SelectSeparator",av=g.forwardRef((n,r)=>{const{__scopeSelect:i,...l}=n;return ee.jsx(Xe.div,{"aria-hidden":!0,...l,ref:r})});av.displayName=ck;var Hc="SelectArrow",dk=g.forwardRef((n,r)=>{const{__scopeSelect:i,...l}=n,u=ma(i),c=$r(Hc,i),f=Vr(Hc,i);return c.open&&f.position==="popper"?ee.jsx(e2,{...u,...l,ref:r}):null});dk.displayName=Hc;var fk="SelectBubbleInput",uv=g.forwardRef(({__scopeSelect:n,value:r,...i},l)=>{const u=g.useRef(null),c=ct(l,u),f=i2(r);return g.useEffect(()=>{const p=u.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]),ee.jsx(Xe.select,{...i,style:{...My,...i.style},ref:c,defaultValue:r})});uv.displayName=fk;function cv(n){return n===""||n===void 0}function dv(n){const r=go(n),i=g.useRef(""),l=g.useRef(0),u=g.useCallback(f=>{const p=i.current+f;r(p),(function h(y){i.current=y,window.clearTimeout(l.current),y!==""&&(l.current=window.setTimeout(()=>h(""),1e3))})(p)},[r]),c=g.useCallback(()=>{i.current="",window.clearTimeout(l.current)},[]);return g.useEffect(()=>()=>window.clearTimeout(l.current),[]),[i,u,c]}function fv(n,r,i){const u=r.length>1&&Array.from(r).every(y=>y===r[0])?r[0]:r,c=i?n.indexOf(i):-1;let f=pk(n,Math.max(c,0));u.length===1&&(f=f.filter(y=>y!==i));const h=f.find(y=>y.textValue.toLowerCase().startsWith(u.toLowerCase()));return h!==i?h:void 0}function pk(n,r){return n.map((i,l)=>n[(r+l)%n.length])}var aE=jy,uE=Uy,cE=$y,dE=Vy,fE=Wy,pE=Qy,hE=Gy,mE=Jy,yE=tv,vE=nv,gE=ov,wE=iv,xE=sv,SE=av;const Yh=n=>{let r;const i=new Set,l=(y,w)=>{const x=typeof y=="function"?y(r):y;if(!Object.is(x,r)){const C=r;r=w??(typeof x!="object"||x===null)?x:Object.assign({},r,x),i.forEach(v=>v(r,C))}},u=()=>r,p={setState:l,getState:u,getInitialState:()=>h,subscribe:y=>(i.add(y),()=>i.delete(y))},h=r=n(l,u,p);return p},hk=(n=>n?Yh(n):Yh),mk=n=>n;function yk(n,r=mk){const i=G.useSyncExternalStore(n.subscribe,G.useCallback(()=>r(n.getState()),[n,r]),G.useCallback(()=>r(n.getInitialState()),[n,r]));return G.useDebugValue(i),i}const Gh=n=>{const r=hk(n),i=l=>yk(r,l);return Object.assign(i,r),i},kE=(n=>n?Gh(n):Gh);var vk=n=>{switch(n){case"success":return xk;case"info":return kk;case"warning":return Sk;case"error":return Ck;default:return null}},gk=Array(12).fill(0),wk=({visible:n,className:r})=>G.createElement("div",{className:["sonner-loading-wrapper",r].filter(Boolean).join(" "),"data-visible":n},G.createElement("div",{className:"sonner-spinner"},gk.map((i,l)=>G.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${l}`})))),xk=G.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},G.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"})),Sk=G.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},G.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"})),kk=G.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},G.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"})),Ck=G.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},G.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"})),Ek=G.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"},G.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),G.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),bk=()=>{let[n,r]=G.useState(document.hidden);return G.useEffect(()=>{let i=()=>{r(document.hidden)};return document.addEventListener("visibilitychange",i),()=>window.removeEventListener("visibilitychange",i)},[]),n},$c=1,Rk=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,...l}=n,u=typeof(n==null?void 0:n.id)=="number"||((r=n.id)==null?void 0:r.length)>0?n.id:$c++,c=this.toasts.find(p=>p.id===u),f=n.dismissible===void 0?!0:n.dismissible;return this.dismissedToasts.has(u)&&this.dismissedToasts.delete(u),c?this.toasts=this.toasts.map(p=>p.id===u?(this.publish({...p,...n,id:u,title:i}),{...p,...n,id:u,dismissible:f,title:i}):p):this.addToast({title:i,...l,dismissible:f,id:u}),u},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 l=n instanceof Promise?n:n(),u=i!==void 0,c,f=l.then(async h=>{if(c=["resolve",h],G.isValidElement(h))u=!1,this.create({id:i,type:"default",message:h});else if(Mk(h)&&!h.ok){u=!1;let y=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:y,description:w})}else if(r.success!==void 0){u=!1;let y=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:y,description:w})}}).catch(async h=>{if(c=["reject",h],r.error!==void 0){u=!1;let y=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:y,description:w})}}).finally(()=>{var h;u&&(this.dismiss(i),i=void 0),(h=r.finally)==null||h.call(r)}),p=()=>new Promise((h,y)=>f.then(()=>c[0]==="reject"?y(c[1]):h(c[1])).catch(y));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)||$c++;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}},Lt=new Rk,Pk=(n,r)=>{let i=(r==null?void 0:r.id)||$c++;return Lt.addToast({title:n,...r,id:i}),i},Mk=n=>n&&typeof n=="object"&&"ok"in n&&typeof n.ok=="boolean"&&"status"in n&&typeof n.status=="number",Tk=Pk,Ok=()=>Lt.toasts,Nk=()=>Lt.getActiveToasts(),CE=Object.assign(Tk,{success:Lt.success,info:Lt.info,warning:Lt.warning,error:Lt.error,custom:Lt.custom,message:Lt.message,promise:Lt.promise,dismiss:Lt.dismiss,loading:Lt.loading},{getHistory:Ok,getToasts:Nk});function _k(n,{insertAt:r}={}){if(typeof document>"u")return;let i=document.head||document.getElementsByTagName("head")[0],l=document.createElement("style");l.type="text/css",r==="top"&&i.firstChild?i.insertBefore(l,i.firstChild):i.appendChild(l),l.styleSheet?l.styleSheet.cssText=n:l.appendChild(document.createTextNode(n))}_k(`: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%)}
397
- `);function Vl(n){return n.label!==void 0}var Lk=3,Ik="32px",Ak="16px",Xh=4e3,Dk=356,Fk=14,zk=20,jk=200;function un(...n){return n.filter(Boolean).join(" ")}function Bk(n){let[r,i]=n.split("-"),l=[];return r&&l.push(r),i&&l.push(i),l}var Uk=n=>{var r,i,l,u,c,f,p,h,y,w,x;let{invert:C,toast:v,unstyled:O,interacting:S,setHeights:k,visibleToasts:P,heights:T,index:R,toasts:L,expanded:z,removeToast:U,defaultRichColors:H,closeButton:q,style:Z,cancelButtonStyle:te,actionButtonStyle:he,className:X="",descriptionClassName:ve="",duration:ce,position:xe,gap:ae,loadingIcon:ie,expandByDefault:j,classNames:B,icons:W,closeButtonAriaLabel:N="Close toast",pauseWhenPageIsHidden:F}=n,[ne,re]=G.useState(null),[ye,Se]=G.useState(null),[K,fe]=G.useState(!1),[ke,be]=G.useState(!1),[Me,Oe]=G.useState(!1),[qe,dt]=G.useState(!1),[vn,Xt]=G.useState(!1),[Zt,or]=G.useState(0),[gn,ir]=G.useState(0),Ht=G.useRef(v.duration||ce||Xh),ko=G.useRef(null),wn=G.useRef(null),ks=R===0,Cs=R+1<=P,vt=v.type,xn=v.dismissible!==!1,Co=v.className||"",Es=v.descriptionClassName||"",Sn=G.useMemo(()=>T.findIndex(Ee=>Ee.toastId===v.id)||0,[T,v.id]),Wr=G.useMemo(()=>{var Ee;return(Ee=v.closeButton)!=null?Ee:q},[v.closeButton,q]),bs=G.useMemo(()=>v.duration||ce||Xh,[v.duration,ce]),Eo=G.useRef(0),zn=G.useRef(0),Rs=G.useRef(0),kn=G.useRef(null),[ki,Ci]=xe.split("-"),bo=G.useMemo(()=>T.reduce((Ee,Ie,Fe)=>Fe>=Sn?Ee:Ee+Ie.height,0),[T,Sn]),Ro=bk(),sr=v.invert||C,Cn=vt==="loading";zn.current=G.useMemo(()=>Sn*ae+bo,[Sn,bo]),G.useEffect(()=>{Ht.current=bs},[bs]),G.useEffect(()=>{fe(!0)},[]),G.useEffect(()=>{let Ee=wn.current;if(Ee){let Ie=Ee.getBoundingClientRect().height;return ir(Ie),k(Fe=>[{toastId:v.id,height:Ie,position:v.position},...Fe]),()=>k(Fe=>Fe.filter(gt=>gt.toastId!==v.id))}},[k,v.id]),G.useLayoutEffect(()=>{if(!K)return;let Ee=wn.current,Ie=Ee.style.height;Ee.style.height="auto";let Fe=Ee.getBoundingClientRect().height;Ee.style.height=Ie,ir(Fe),k(gt=>gt.find(Ct=>Ct.toastId===v.id)?gt.map(Ct=>Ct.toastId===v.id?{...Ct,height:Fe}:Ct):[{toastId:v.id,height:Fe,position:v.position},...gt])},[K,v.title,v.description,k,v.id]);let Jt=G.useCallback(()=>{be(!0),or(zn.current),k(Ee=>Ee.filter(Ie=>Ie.toastId!==v.id)),setTimeout(()=>{U(v)},jk)},[v,U,k,zn]);G.useEffect(()=>{if(v.promise&&vt==="loading"||v.duration===1/0||v.type==="loading")return;let Ee;return z||S||F&&Ro?(()=>{if(Rs.current<Eo.current){let Ie=new Date().getTime()-Eo.current;Ht.current=Ht.current-Ie}Rs.current=new Date().getTime()})():Ht.current!==1/0&&(Eo.current=new Date().getTime(),Ee=setTimeout(()=>{var Ie;(Ie=v.onAutoClose)==null||Ie.call(v,v),Jt()},Ht.current)),()=>clearTimeout(Ee)},[z,S,v,vt,F,Ro,Jt]),G.useEffect(()=>{v.delete&&Jt()},[Jt,v.delete]);function Ps(){var Ee,Ie,Fe;return W!=null&&W.loading?G.createElement("div",{className:un(B==null?void 0:B.loader,(Ee=v==null?void 0:v.classNames)==null?void 0:Ee.loader,"sonner-loader"),"data-visible":vt==="loading"},W.loading):ie?G.createElement("div",{className:un(B==null?void 0:B.loader,(Ie=v==null?void 0:v.classNames)==null?void 0:Ie.loader,"sonner-loader"),"data-visible":vt==="loading"},ie):G.createElement(wk,{className:un(B==null?void 0:B.loader,(Fe=v==null?void 0:v.classNames)==null?void 0:Fe.loader),visible:vt==="loading"})}return G.createElement("li",{tabIndex:0,ref:wn,className:un(X,Co,B==null?void 0:B.toast,(r=v==null?void 0:v.classNames)==null?void 0:r.toast,B==null?void 0:B.default,B==null?void 0:B[vt],(i=v==null?void 0:v.classNames)==null?void 0:i[vt]),"data-sonner-toast":"","data-rich-colors":(l=v.richColors)!=null?l:H,"data-styled":!(v.jsx||v.unstyled||O),"data-mounted":K,"data-promise":!!v.promise,"data-swiped":vn,"data-removed":ke,"data-visible":Cs,"data-y-position":ki,"data-x-position":Ci,"data-index":R,"data-front":ks,"data-swiping":Me,"data-dismissible":xn,"data-type":vt,"data-invert":sr,"data-swipe-out":qe,"data-swipe-direction":ye,"data-expanded":!!(z||j&&K),style:{"--index":R,"--toasts-before":R,"--z-index":L.length-R,"--offset":`${ke?Zt:zn.current}px`,"--initial-height":j?"auto":`${gn}px`,...Z,...v.style},onDragEnd:()=>{Oe(!1),re(null),kn.current=null},onPointerDown:Ee=>{Cn||!xn||(ko.current=new Date,or(zn.current),Ee.target.setPointerCapture(Ee.pointerId),Ee.target.tagName!=="BUTTON"&&(Oe(!0),kn.current={x:Ee.clientX,y:Ee.clientY}))},onPointerUp:()=>{var Ee,Ie,Fe,gt;if(qe||!xn)return;kn.current=null;let Ct=Number(((Ee=wn.current)==null?void 0:Ee.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),Et=Number(((Ie=wn.current)==null?void 0:Ie.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),en=new Date().getTime()-((Fe=ko.current)==null?void 0:Fe.getTime()),lt=ne==="x"?Ct:Et,En=Math.abs(lt)/en;if(Math.abs(lt)>=zk||En>.11){or(zn.current),(gt=v.onDismiss)==null||gt.call(v,v),Se(ne==="x"?Ct>0?"right":"left":Et>0?"down":"up"),Jt(),dt(!0),Xt(!1);return}Oe(!1),re(null)},onPointerMove:Ee=>{var Ie,Fe,gt,Ct;if(!kn.current||!xn||((Ie=window.getSelection())==null?void 0:Ie.toString().length)>0)return;let Et=Ee.clientY-kn.current.y,en=Ee.clientX-kn.current.x,lt=(Fe=n.swipeDirections)!=null?Fe:Bk(xe);!ne&&(Math.abs(en)>1||Math.abs(Et)>1)&&re(Math.abs(en)>Math.abs(Et)?"x":"y");let En={x:0,y:0};ne==="y"?(lt.includes("top")||lt.includes("bottom"))&&(lt.includes("top")&&Et<0||lt.includes("bottom")&&Et>0)&&(En.y=Et):ne==="x"&&(lt.includes("left")||lt.includes("right"))&&(lt.includes("left")&&en<0||lt.includes("right")&&en>0)&&(En.x=en),(Math.abs(En.x)>0||Math.abs(En.y)>0)&&Xt(!0),(gt=wn.current)==null||gt.style.setProperty("--swipe-amount-x",`${En.x}px`),(Ct=wn.current)==null||Ct.style.setProperty("--swipe-amount-y",`${En.y}px`)}},Wr&&!v.jsx?G.createElement("button",{"aria-label":N,"data-disabled":Cn,"data-close-button":!0,onClick:Cn||!xn?()=>{}:()=>{var Ee;Jt(),(Ee=v.onDismiss)==null||Ee.call(v,v)},className:un(B==null?void 0:B.closeButton,(u=v==null?void 0:v.classNames)==null?void 0:u.closeButton)},(c=W==null?void 0:W.close)!=null?c:Ek):null,v.jsx||g.isValidElement(v.title)?v.jsx?v.jsx:typeof v.title=="function"?v.title():v.title:G.createElement(G.Fragment,null,vt||v.icon||v.promise?G.createElement("div",{"data-icon":"",className:un(B==null?void 0:B.icon,(f=v==null?void 0:v.classNames)==null?void 0:f.icon)},v.promise||v.type==="loading"&&!v.icon?v.icon||Ps():null,v.type!=="loading"?v.icon||(W==null?void 0:W[vt])||vk(vt):null):null,G.createElement("div",{"data-content":"",className:un(B==null?void 0:B.content,(p=v==null?void 0:v.classNames)==null?void 0:p.content)},G.createElement("div",{"data-title":"",className:un(B==null?void 0:B.title,(h=v==null?void 0:v.classNames)==null?void 0:h.title)},typeof v.title=="function"?v.title():v.title),v.description?G.createElement("div",{"data-description":"",className:un(ve,Es,B==null?void 0:B.description,(y=v==null?void 0:v.classNames)==null?void 0:y.description)},typeof v.description=="function"?v.description():v.description):null),g.isValidElement(v.cancel)?v.cancel:v.cancel&&Vl(v.cancel)?G.createElement("button",{"data-button":!0,"data-cancel":!0,style:v.cancelButtonStyle||te,onClick:Ee=>{var Ie,Fe;Vl(v.cancel)&&xn&&((Fe=(Ie=v.cancel).onClick)==null||Fe.call(Ie,Ee),Jt())},className:un(B==null?void 0:B.cancelButton,(w=v==null?void 0:v.classNames)==null?void 0:w.cancelButton)},v.cancel.label):null,g.isValidElement(v.action)?v.action:v.action&&Vl(v.action)?G.createElement("button",{"data-button":!0,"data-action":!0,style:v.actionButtonStyle||he,onClick:Ee=>{var Ie,Fe;Vl(v.action)&&((Fe=(Ie=v.action).onClick)==null||Fe.call(Ie,Ee),!Ee.defaultPrevented&&Jt())},className:un(B==null?void 0:B.actionButton,(x=v==null?void 0:v.classNames)==null?void 0:x.actionButton)},v.action.label):null))};function Zh(){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 Hk(n,r){let i={};return[n,r].forEach((l,u)=>{let c=u===1,f=c?"--mobile-offset":"--offset",p=c?Ak:Ik;function h(y){["top","right","bottom","left"].forEach(w=>{i[`${f}-${w}`]=typeof y=="number"?`${y}px`:y})}typeof l=="number"||typeof l=="string"?h(l):typeof l=="object"?["top","right","bottom","left"].forEach(y=>{l[y]===void 0?i[`${f}-${y}`]=p:i[`${f}-${y}`]=typeof l[y]=="number"?`${l[y]}px`:l[y]}):h(p)}),i}var EE=g.forwardRef(function(n,r){let{invert:i,position:l="bottom-right",hotkey:u=["altKey","KeyT"],expand:c,closeButton:f,className:p,offset:h,mobileOffset:y,theme:w="light",richColors:x,duration:C,style:v,visibleToasts:O=Lk,toastOptions:S,dir:k=Zh(),gap:P=Fk,loadingIcon:T,icons:R,containerAriaLabel:L="Notifications",pauseWhenPageIsHidden:z}=n,[U,H]=G.useState([]),q=G.useMemo(()=>Array.from(new Set([l].concat(U.filter(F=>F.position).map(F=>F.position)))),[U,l]),[Z,te]=G.useState([]),[he,X]=G.useState(!1),[ve,ce]=G.useState(!1),[xe,ae]=G.useState(w!=="system"?w:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),ie=G.useRef(null),j=u.join("+").replace(/Key/g,"").replace(/Digit/g,""),B=G.useRef(null),W=G.useRef(!1),N=G.useCallback(F=>{H(ne=>{var re;return(re=ne.find(ye=>ye.id===F.id))!=null&&re.delete||Lt.dismiss(F.id),ne.filter(({id:ye})=>ye!==F.id)})},[]);return G.useEffect(()=>Lt.subscribe(F=>{if(F.dismiss){H(ne=>ne.map(re=>re.id===F.id?{...re,delete:!0}:re));return}setTimeout(()=>{_m.flushSync(()=>{H(ne=>{let re=ne.findIndex(ye=>ye.id===F.id);return re!==-1?[...ne.slice(0,re),{...ne[re],...F},...ne.slice(re+1)]:[F,...ne]})})})}),[]),G.useEffect(()=>{if(w!=="system"){ae(w);return}if(w==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?ae("dark"):ae("light")),typeof window>"u")return;let F=window.matchMedia("(prefers-color-scheme: dark)");try{F.addEventListener("change",({matches:ne})=>{ae(ne?"dark":"light")})}catch{F.addListener(({matches:re})=>{try{ae(re?"dark":"light")}catch(ye){console.error(ye)}})}},[w]),G.useEffect(()=>{U.length<=1&&X(!1)},[U]),G.useEffect(()=>{let F=ne=>{var re,ye;u.every(Se=>ne[Se]||ne.code===Se)&&(X(!0),(re=ie.current)==null||re.focus()),ne.code==="Escape"&&(document.activeElement===ie.current||(ye=ie.current)!=null&&ye.contains(document.activeElement))&&X(!1)};return document.addEventListener("keydown",F),()=>document.removeEventListener("keydown",F)},[u]),G.useEffect(()=>{if(ie.current)return()=>{B.current&&(B.current.focus({preventScroll:!0}),B.current=null,W.current=!1)}},[ie.current]),G.createElement("section",{ref:r,"aria-label":`${L} ${j}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},q.map((F,ne)=>{var re;let[ye,Se]=F.split("-");return U.length?G.createElement("ol",{key:F,dir:k==="auto"?Zh():k,tabIndex:-1,ref:ie,className:p,"data-sonner-toaster":!0,"data-theme":xe,"data-y-position":ye,"data-lifted":he&&U.length>1&&!c,"data-x-position":Se,style:{"--front-toast-height":`${((re=Z[0])==null?void 0:re.height)||0}px`,"--width":`${Dk}px`,"--gap":`${P}px`,...v,...Hk(h,y)},onBlur:K=>{W.current&&!K.currentTarget.contains(K.relatedTarget)&&(W.current=!1,B.current&&(B.current.focus({preventScroll:!0}),B.current=null))},onFocus:K=>{K.target instanceof HTMLElement&&K.target.dataset.dismissible==="false"||W.current||(W.current=!0,B.current=K.relatedTarget)},onMouseEnter:()=>X(!0),onMouseMove:()=>X(!0),onMouseLeave:()=>{ve||X(!1)},onDragEnd:()=>X(!1),onPointerDown:K=>{K.target instanceof HTMLElement&&K.target.dataset.dismissible==="false"||ce(!0)},onPointerUp:()=>ce(!1)},U.filter(K=>!K.position&&ne===0||K.position===F).map((K,fe)=>{var ke,be;return G.createElement(Uk,{key:K.id,icons:R,index:fe,toast:K,defaultRichColors:x,duration:(ke=S==null?void 0:S.duration)!=null?ke:C,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:ve,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==K.position),heights:Z.filter(Me=>Me.position==K.position),setHeights:te,expandByDefault:c,gap:P,loadingIcon:T,expanded:he,pauseWhenPageIsHidden:z,swipeDirections:n.swipeDirections})})):null}))});export{EE as $,nC as A,aC as B,cC as C,Vk as D,qk as E,fC as F,kC as G,RC as H,dE as I,SC as J,MC as K,mE as L,LC as M,I1 as N,XC as O,fE as P,Gk as Q,aE as R,wE as S,uE as T,OC as U,hE as V,cm as W,nE as X,lC as Y,rE as Z,JC as _,dC as a,QC as a0,CC as a1,xC as a2,KC as a3,hC as a4,$C as a5,UC as a6,IC as a7,tE as a8,qC as a9,ZS as aA,Xe as aB,Je as aC,gy as aD,Py as aE,id as aF,ty as aG,JS as aH,lE as aI,sE as aJ,e2 as aK,Cm as aL,Wk as aM,DC as aN,It as aO,c2 as aP,zy as aQ,Sx as aR,ry as aS,ea as aT,iE as aU,_C as aV,zC as aW,rC as aX,EC as aY,gC as aa,wC as ab,bC as ac,oE as ad,VC as ae,pC as af,CE as ag,NC as ah,eE as ai,YC as aj,oC as ak,iC as al,GC as am,vC as an,WC as ao,PC as ap,mC as aq,jC as ar,HC as as,Zk as at,$m as au,Jk as av,sd as aw,$h as ax,XS as ay,ct as az,xE as b,eC as c,pE as d,yE as e,gE as f,uC as g,vE as h,SE as i,ee as j,cE as k,yC as l,ZC as m,AC as n,BC as o,FC as p,TC as q,g as r,sC as s,tC as t,kE as u,Hr as v,Xk as w,Kk as x,u1 as y,Qk as z};
386
+ `)},$2=0,Xo=[];function W2(n){var r=g.useRef([]),i=g.useRef([0,0]),l=g.useRef(),u=g.useState($2++)[0],c=g.useState(Iv)[0],f=g.useRef(n);g.useEffect(function(){f.current=n},[n]),g.useEffect(function(){if(n.inert){document.body.classList.add("block-interactivity-".concat(u));var S=d2([n.lockRef.current],(n.shards||[]).map(qh),!0).filter(Boolean);return S.forEach(function(C){return C.classList.add("allow-interactivity-".concat(u))}),function(){document.body.classList.remove("block-interactivity-".concat(u)),S.forEach(function(C){return C.classList.remove("allow-interactivity-".concat(u))})}}},[n.inert,n.lockRef.current,n.shards]);var p=g.useCallback(function(S,C){if("touches"in S&&S.touches.length===2||S.type==="wheel"&&S.ctrlKey)return!f.current.allowPinchZoom;var P=$l(S),M=i.current,R="deltaX"in S?S.deltaX:M[0]-P[0],L="deltaY"in S?S.deltaY:M[1]-P[1],z,U=S.target,H=Math.abs(R)>Math.abs(L)?"h":"v";if("touches"in S&&H==="h"&&U.type==="range")return!1;var q=window.getSelection(),Z=q&&q.anchorNode,te=Z?Z===U||Z.contains(U):!1;if(te)return!1;var pe=Qh(H,U);if(!pe)return!0;if(pe?z=H:(z=H==="v"?"h":"v",pe=Qh(H,U)),!pe)return!1;if(!l.current&&"changedTouches"in S&&(R||L)&&(l.current=z),!z)return!0;var X=l.current||z;return B2(X,C,S,X==="h"?R:L)},[]),h=g.useCallback(function(S){var C=S;if(!(!Xo.length||Xo[Xo.length-1]!==c)){var P="deltaY"in C?Kh(C):$l(C),M=r.current.filter(function(z){return z.name===C.type&&(z.target===C.target||C.target===z.shadowParent)&&U2(z.delta,P)})[0];if(M&&M.should){C.cancelable&&C.preventDefault();return}if(!M){var R=(f.current.shards||[]).map(qh).filter(Boolean).filter(function(z){return z.contains(C.target)}),L=R.length>0?p(C,R[0]):!f.current.noIsolation;L&&C.cancelable&&C.preventDefault()}}},[]),v=g.useCallback(function(S,C,P,M){var R={name:S,delta:C,target:P,should:M,shadowParent:V2(P)};r.current.push(R),setTimeout(function(){r.current=r.current.filter(function(L){return L!==R})},1)},[]),w=g.useCallback(function(S){i.current=$l(S),l.current=void 0},[]),x=g.useCallback(function(S){v(S.type,Kh(S),S.target,p(S,n.lockRef.current))},[]),E=g.useCallback(function(S){v(S.type,$l(S),S.target,p(S,n.lockRef.current))},[]);g.useEffect(function(){return Xo.push(c),n.setCallbacks({onScrollCapture:x,onWheelCapture:x,onTouchMoveCapture:E}),document.addEventListener("wheel",h,Yo),document.addEventListener("touchmove",h,Yo),document.addEventListener("touchstart",w,Yo),function(){Xo=Xo.filter(function(S){return S!==c}),document.removeEventListener("wheel",h,Yo),document.removeEventListener("touchmove",h,Yo),document.removeEventListener("touchstart",w,Yo)}},[]);var y=n.removeScrollBar,O=n.inert;return g.createElement(g.Fragment,null,O?g.createElement(c,{styles:H2(u)}):null,y?g.createElement(L2,{noRelative:n.noRelative,gapMode:n.gapMode}):null)}function V2(n){for(var r=null;n!==null;)n instanceof ShadowRoot&&(r=n.host,n=n.host),n=n.parentNode;return r}const Q2=x2(Lv,W2);var zv=g.forwardRef(function(n,r){return g.createElement(fa,Ln({},n,{ref:r,sideCar:Q2}))});zv.classNames=fa.classNames;var K2=[" ","Enter","ArrowUp","ArrowDown"],q2=[" ","Enter"],xo="Select",[pa,ha,G2]=ax(xo),[Si]=id(xo,[G2,gv]),ma=gv(),[Y2,$r]=Si(xo),[X2,Z2]=Si(xo),jv=n=>{const{__scopeSelect:r,children:i,open:l,defaultOpen:u,onOpenChange:c,value:f,defaultValue:p,onValueChange:h,dir:v,name:w,autoComplete:x,disabled:E,required:y,form:O}=n,S=ma(r),[C,P]=g.useState(null),[M,R]=g.useState(null),[L,z]=g.useState(!1),U=cx(v),[H,q]=$h({prop:l,defaultProp:u??!1,onChange:c,caller:xo}),[Z,te]=$h({prop:f,defaultProp:p,onChange:h,caller:xo}),pe=g.useRef(null),X=C?O||!!C.closest("form"):!0,[ye,ce]=g.useState(new Set),xe=Array.from(ye).map(ae=>ae.props.value).join(";");return ee.jsx(XS,{...S,children:ee.jsxs(Y2,{required:y,scope:r,trigger:C,onTriggerChange:P,valueNode:M,onValueNodeChange:R,valueNodeHasChildren:L,onValueNodeHasChildrenChange:z,contentId:sd(),value:Z,onValueChange:te,open:H,onOpenChange:q,dir:U,triggerPointerDownPosRef:pe,disabled:E,children:[ee.jsx(pa.Provider,{scope:r,children:ee.jsx(X2,{scope:n.__scopeSelect,onNativeOptionAdd:g.useCallback(ae=>{ce(ie=>new Set(ie).add(ae))},[]),onNativeOptionRemove:g.useCallback(ae=>{ce(ie=>{const j=new Set(ie);return j.delete(ae),j})},[]),children:i})}),X?ee.jsxs(uy,{"aria-hidden":!0,required:y,tabIndex:-1,name:w,autoComplete:x,value:Z,onChange:ae=>te(ae.target.value),disabled:E,form:O,children:[Z===void 0?ee.jsx("option",{value:""}):null,Array.from(ye)]},xe):null]})})};jv.displayName=xo;var Bv="SelectTrigger",Uv=g.forwardRef((n,r)=>{const{__scopeSelect:i,disabled:l=!1,...u}=n,c=ma(i),f=$r(Bv,i),p=f.disabled||l,h=ct(r,f.onTriggerChange),v=ha(i),w=g.useRef("touch"),[x,E,y]=dy(S=>{const C=v().filter(R=>!R.disabled),P=C.find(R=>R.value===f.value),M=fy(C,S,P);M!==void 0&&f.onValueChange(M.value)}),O=S=>{p||(f.onOpenChange(!0),y()),S&&(f.triggerPointerDownPosRef.current={x:Math.round(S.pageX),y:Math.round(S.pageY)})};return ee.jsx(ZS,{asChild:!0,...c,children:ee.jsx(Xe.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":cy(f.value)?"":void 0,...u,ref:h,onClick:Je(u.onClick,S=>{S.currentTarget.focus(),w.current!=="mouse"&&O(S)}),onPointerDown:Je(u.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:Je(u.onKeyDown,S=>{const C=x.current!=="";!(S.ctrlKey||S.altKey||S.metaKey)&&S.key.length===1&&E(S.key),!(C&&S.key===" ")&&K2.includes(S.key)&&(O(),S.preventDefault())})})})});Uv.displayName=Bv;var Hv="SelectValue",$v=g.forwardRef((n,r)=>{const{__scopeSelect:i,className:l,style:u,children:c,placeholder:f="",...p}=n,h=$r(Hv,i),{onValueNodeHasChildrenChange:v}=h,w=c!==void 0,x=ct(r,h.onValueNodeChange);return It(()=>{v(w)},[v,w]),ee.jsx(Xe.span,{...p,ref:x,style:{pointerEvents:"none"},children:cy(h.value)?ee.jsx(ee.Fragment,{children:f}):c})});$v.displayName=Hv;var J2="SelectIcon",Wv=g.forwardRef((n,r)=>{const{__scopeSelect:i,children:l,...u}=n;return ee.jsx(Xe.span,{"aria-hidden":!0,...u,ref:r,children:l||"▼"})});Wv.displayName=J2;var eC="SelectPortal",Vv=n=>ee.jsx(Pv,{asChild:!0,...n});Vv.displayName=eC;var So="SelectContent",Qv=g.forwardRef((n,r)=>{const i=$r(So,n.__scopeSelect),[l,u]=g.useState();if(It(()=>{u(new DocumentFragment)},[]),!i.open){const c=l;return c?xs.createPortal(ee.jsx(Kv,{scope:n.__scopeSelect,children:ee.jsx(pa.Slot,{scope:n.__scopeSelect,children:ee.jsx("div",{children:n.children})})}),c):null}return ee.jsx(qv,{...n,ref:r})});Qv.displayName=So;var cn=10,[Kv,Wr]=Si(So),tC="SelectContentImpl",nC=ea("SelectContent.RemoveScroll"),qv=g.forwardRef((n,r)=>{const{__scopeSelect:i,position:l="item-aligned",onCloseAutoFocus:u,onEscapeKeyDown:c,onPointerDownOutside:f,side:p,sideOffset:h,align:v,alignOffset:w,arrowPadding:x,collisionBoundary:E,collisionPadding:y,sticky:O,hideWhenDetached:S,avoidCollisions:C,...P}=n,M=$r(So,i),[R,L]=g.useState(null),[z,U]=g.useState(null),H=ct(r,K=>L(K)),[q,Z]=g.useState(null),[te,pe]=g.useState(null),X=ha(i),[ye,ce]=g.useState(!1),xe=g.useRef(!1);g.useEffect(()=>{if(R)return c2(R)},[R]),Sx();const ae=g.useCallback(K=>{const[fe,...Ce]=X().map(Oe=>Oe.ref.current),[be]=Ce.slice(-1),Te=document.activeElement;for(const Oe of K)if(Oe===Te||(Oe==null||Oe.scrollIntoView({block:"nearest"}),Oe===fe&&z&&(z.scrollTop=0),Oe===be&&z&&(z.scrollTop=z.scrollHeight),Oe==null||Oe.focus(),document.activeElement!==Te))return},[X,z]),ie=g.useCallback(()=>ae([q,R]),[ae,q,R]);g.useEffect(()=>{ye&&ie()},[ye,ie]);const{onOpenChange:j,triggerPointerDownPosRef:B}=M;g.useEffect(()=>{if(R){let K={x:0,y:0};const fe=be=>{var Te,Oe;K={x:Math.abs(Math.round(be.pageX)-(((Te=B.current)==null?void 0:Te.x)??0)),y:Math.abs(Math.round(be.pageY)-(((Oe=B.current)==null?void 0:Oe.y)??0))}},Ce=be=>{K.x<=10&&K.y<=10?be.preventDefault():R.contains(be.target)||j(!1),document.removeEventListener("pointermove",fe),B.current=null};return B.current!==null&&(document.addEventListener("pointermove",fe),document.addEventListener("pointerup",Ce,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",fe),document.removeEventListener("pointerup",Ce,{capture:!0})}}},[R,j,B]),g.useEffect(()=>{const K=()=>j(!1);return window.addEventListener("blur",K),window.addEventListener("resize",K),()=>{window.removeEventListener("blur",K),window.removeEventListener("resize",K)}},[j]);const[V,N]=dy(K=>{const fe=X().filter(Te=>!Te.disabled),Ce=fe.find(Te=>Te.ref.current===document.activeElement),be=fy(fe,K,Ce);be&&setTimeout(()=>be.ref.current.focus())}),F=g.useCallback((K,fe,Ce)=>{const be=!xe.current&&!Ce;(M.value!==void 0&&M.value===fe||be)&&(Z(K),be&&(xe.current=!0))},[M.value]),ne=g.useCallback(()=>R==null?void 0:R.focus(),[R]),re=g.useCallback((K,fe,Ce)=>{const be=!xe.current&&!Ce;(M.value!==void 0&&M.value===fe||be)&&pe(K)},[M.value]),ve=l==="popper"?zc:Gv,Se=ve===zc?{side:p,sideOffset:h,align:v,alignOffset:w,arrowPadding:x,collisionBoundary:E,collisionPadding:y,sticky:O,hideWhenDetached:S,avoidCollisions:C}:{};return ee.jsx(Kv,{scope:i,content:R,viewport:z,onViewportChange:U,itemRefCallback:F,selectedItem:q,onItemLeave:ne,itemTextRefCallback:re,focusSelectedItem:ie,selectedItemText:te,position:l,isPositioned:ye,searchRef:V,children:ee.jsx(zv,{as:nC,allowPinchZoom:!0,children:ee.jsx(rv,{asChild:!0,trapped:M.open,onMountAutoFocus:K=>{K.preventDefault()},onUnmountAutoFocus:Je(u,K=>{var fe;(fe=M.trigger)==null||fe.focus({preventScroll:!0}),K.preventDefault()}),children:ee.jsx(tv,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:c,onPointerDownOutside:f,onFocusOutside:K=>K.preventDefault(),onDismiss:()=>M.onOpenChange(!1),children:ee.jsx(ve,{role:"listbox",id:M.contentId,"data-state":M.open?"open":"closed",dir:M.dir,onContextMenu:K=>K.preventDefault(),...P,...Se,onPlaced:()=>ce(!0),ref:H,style:{display:"flex",flexDirection:"column",outline:"none",...P.style},onKeyDown:Je(P.onKeyDown,K=>{const fe=K.ctrlKey||K.altKey||K.metaKey;if(K.key==="Tab"&&K.preventDefault(),!fe&&K.key.length===1&&N(K.key),["ArrowUp","ArrowDown","Home","End"].includes(K.key)){let be=X().filter(Te=>!Te.disabled).map(Te=>Te.ref.current);if(["ArrowUp","End"].includes(K.key)&&(be=be.slice().reverse()),["ArrowUp","ArrowDown"].includes(K.key)){const Te=K.target,Oe=be.indexOf(Te);be=be.slice(Oe+1)}setTimeout(()=>ae(be)),K.preventDefault()}})})})})})})});qv.displayName=tC;var rC="SelectItemAlignedPosition",Gv=g.forwardRef((n,r)=>{const{__scopeSelect:i,onPlaced:l,...u}=n,c=$r(So,i),f=Wr(So,i),[p,h]=g.useState(null),[v,w]=g.useState(null),x=ct(r,H=>w(H)),E=ha(i),y=g.useRef(!1),O=g.useRef(!0),{viewport:S,selectedItem:C,selectedItemText:P,focusSelectedItem:M}=f,R=g.useCallback(()=>{if(c.trigger&&c.valueNode&&p&&v&&S&&C&&P){const H=c.trigger.getBoundingClientRect(),q=v.getBoundingClientRect(),Z=c.valueNode.getBoundingClientRect(),te=P.getBoundingClientRect();if(c.dir!=="rtl"){const Te=te.left-q.left,Oe=Z.left-Te,qe=H.left-Oe,dt=H.width+qe,yn=Math.max(dt,q.width),Xt=window.innerWidth-cn,Zt=Eh(Oe,[cn,Math.max(cn,Xt-yn)]);p.style.minWidth=dt+"px",p.style.left=Zt+"px"}else{const Te=q.right-te.right,Oe=window.innerWidth-Z.right-Te,qe=window.innerWidth-H.right-Oe,dt=H.width+qe,yn=Math.max(dt,q.width),Xt=window.innerWidth-cn,Zt=Eh(Oe,[cn,Math.max(cn,Xt-yn)]);p.style.minWidth=dt+"px",p.style.right=Zt+"px"}const pe=E(),X=window.innerHeight-cn*2,ye=S.scrollHeight,ce=window.getComputedStyle(v),xe=parseInt(ce.borderTopWidth,10),ae=parseInt(ce.paddingTop,10),ie=parseInt(ce.borderBottomWidth,10),j=parseInt(ce.paddingBottom,10),B=xe+ae+ye+j+ie,V=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=X-re,Se=C.offsetHeight/2,K=C.offsetTop+Se,fe=xe+ae+K,Ce=B-fe;if(fe<=re){const Te=pe.length>0&&C===pe[pe.length-1].ref.current;p.style.bottom="0px";const Oe=v.clientHeight-S.offsetTop-S.offsetHeight,qe=Math.max(ve,Se+(Te?ne:0)+Oe+ie),dt=fe+qe;p.style.height=dt+"px"}else{const Te=pe.length>0&&C===pe[0].ref.current;p.style.top="0px";const qe=Math.max(re,xe+S.offsetTop+(Te?F:0)+Se)+Ce;p.style.height=qe+"px",S.scrollTop=fe-re+S.offsetTop}p.style.margin=`${cn}px 0`,p.style.minHeight=V+"px",p.style.maxHeight=X+"px",l==null||l(),requestAnimationFrame(()=>y.current=!0)}},[E,c.trigger,c.valueNode,p,v,S,C,P,c.dir,l]);It(()=>R(),[R]);const[L,z]=g.useState();It(()=>{v&&z(window.getComputedStyle(v).zIndex)},[v]);const U=g.useCallback(H=>{H&&O.current===!0&&(R(),M==null||M(),O.current=!1)},[R,M]);return ee.jsx(iC,{scope:i,contentWrapper:p,shouldExpandOnScrollRef:y,onScrollButtonChange:U,children:ee.jsx("div",{ref:h,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:L},children:ee.jsx(Xe.div,{...u,ref:x,style:{boxSizing:"border-box",maxHeight:"100%",...u.style}})})})});Gv.displayName=rC;var oC="SelectPopperPosition",zc=g.forwardRef((n,r)=>{const{__scopeSelect:i,align:l="start",collisionPadding:u=cn,...c}=n,f=ma(i);return ee.jsx(JS,{...f,...c,ref:r,align:l,collisionPadding:u,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)"}})});zc.displayName=oC;var[iC,md]=Si(So,{}),jc="SelectViewport",Yv=g.forwardRef((n,r)=>{const{__scopeSelect:i,nonce:l,...u}=n,c=Wr(jc,i),f=md(jc,i),p=ct(r,c.onViewportChange),h=g.useRef(0);return ee.jsxs(ee.Fragment,{children:[ee.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:l}),ee.jsx(pa.Slot,{scope:i,children:ee.jsx(Xe.div,{"data-radix-select-viewport":"",role:"presentation",...u,ref:p,style:{position:"relative",flex:1,overflow:"hidden auto",...u.style},onScroll:Je(u.onScroll,v=>{const w=v.currentTarget,{contentWrapper:x,shouldExpandOnScrollRef:E}=f;if(E!=null&&E.current&&x){const y=Math.abs(h.current-w.scrollTop);if(y>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 M=P+y,R=Math.min(O,M),L=M-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})})})]})});Yv.displayName=jc;var Xv="SelectGroup",[sC,lC]=Si(Xv),aC=g.forwardRef((n,r)=>{const{__scopeSelect:i,...l}=n,u=sd();return ee.jsx(sC,{scope:i,id:u,children:ee.jsx(Xe.div,{role:"group","aria-labelledby":u,...l,ref:r})})});aC.displayName=Xv;var Zv="SelectLabel",Jv=g.forwardRef((n,r)=>{const{__scopeSelect:i,...l}=n,u=lC(Zv,i);return ee.jsx(Xe.div,{id:u.id,...l,ref:r})});Jv.displayName=Zv;var ia="SelectItem",[uC,ey]=Si(ia),ty=g.forwardRef((n,r)=>{const{__scopeSelect:i,value:l,disabled:u=!1,textValue:c,...f}=n,p=$r(ia,i),h=Wr(ia,i),v=p.value===l,[w,x]=g.useState(c??""),[E,y]=g.useState(!1),O=ct(r,M=>{var R;return(R=h.itemRefCallback)==null?void 0:R.call(h,M,l,u)}),S=sd(),C=g.useRef("touch"),P=()=>{u||(p.onValueChange(l),p.onOpenChange(!1))};if(l==="")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 ee.jsx(uC,{scope:i,value:l,disabled:u,textId:S,isSelected:v,onItemTextChange:g.useCallback(M=>{x(R=>R||((M==null?void 0:M.textContent)??"").trim())},[]),children:ee.jsx(pa.ItemSlot,{scope:i,value:l,disabled:u,textValue:w,children:ee.jsx(Xe.div,{role:"option","aria-labelledby":S,"data-highlighted":E?"":void 0,"aria-selected":v&&E,"data-state":v?"checked":"unchecked","aria-disabled":u||void 0,"data-disabled":u?"":void 0,tabIndex:u?void 0:-1,...f,ref:O,onFocus:Je(f.onFocus,()=>y(!0)),onBlur:Je(f.onBlur,()=>y(!1)),onClick:Je(f.onClick,()=>{C.current!=="mouse"&&P()}),onPointerUp:Je(f.onPointerUp,()=>{C.current==="mouse"&&P()}),onPointerDown:Je(f.onPointerDown,M=>{C.current=M.pointerType}),onPointerMove:Je(f.onPointerMove,M=>{var R;C.current=M.pointerType,u?(R=h.onItemLeave)==null||R.call(h):C.current==="mouse"&&M.currentTarget.focus({preventScroll:!0})}),onPointerLeave:Je(f.onPointerLeave,M=>{var R;M.currentTarget===document.activeElement&&((R=h.onItemLeave)==null||R.call(h))}),onKeyDown:Je(f.onKeyDown,M=>{var L;((L=h.searchRef)==null?void 0:L.current)!==""&&M.key===" "||(q2.includes(M.key)&&P(),M.key===" "&&M.preventDefault())})})})})});ty.displayName=ia;var us="SelectItemText",ny=g.forwardRef((n,r)=>{const{__scopeSelect:i,className:l,style:u,...c}=n,f=$r(us,i),p=Wr(us,i),h=ey(us,i),v=Z2(us,i),[w,x]=g.useState(null),E=ct(r,P=>x(P),h.onItemTextChange,P=>{var M;return(M=p.itemTextRefCallback)==null?void 0:M.call(p,P,h.value,h.disabled)}),y=w==null?void 0:w.textContent,O=g.useMemo(()=>ee.jsx("option",{value:h.value,disabled:h.disabled,children:y},h.value),[h.disabled,h.value,y]),{onNativeOptionAdd:S,onNativeOptionRemove:C}=v;return It(()=>(S(O),()=>C(O)),[S,C,O]),ee.jsxs(ee.Fragment,{children:[ee.jsx(Xe.span,{id:h.textId,...c,ref:E}),h.isSelected&&f.valueNode&&!f.valueNodeHasChildren?xs.createPortal(c.children,f.valueNode):null]})});ny.displayName=us;var ry="SelectItemIndicator",oy=g.forwardRef((n,r)=>{const{__scopeSelect:i,...l}=n;return ey(ry,i).isSelected?ee.jsx(Xe.span,{"aria-hidden":!0,...l,ref:r}):null});oy.displayName=ry;var Bc="SelectScrollUpButton",iy=g.forwardRef((n,r)=>{const i=Wr(Bc,n.__scopeSelect),l=md(Bc,n.__scopeSelect),[u,c]=g.useState(!1),f=ct(r,l.onScrollButtonChange);return It(()=>{if(i.viewport&&i.isPositioned){let p=function(){const v=h.scrollTop>0;c(v)};const h=i.viewport;return p(),h.addEventListener("scroll",p),()=>h.removeEventListener("scroll",p)}},[i.viewport,i.isPositioned]),u?ee.jsx(ly,{...n,ref:f,onAutoScroll:()=>{const{viewport:p,selectedItem:h}=i;p&&h&&(p.scrollTop=p.scrollTop-h.offsetHeight)}}):null});iy.displayName=Bc;var Uc="SelectScrollDownButton",sy=g.forwardRef((n,r)=>{const i=Wr(Uc,n.__scopeSelect),l=md(Uc,n.__scopeSelect),[u,c]=g.useState(!1),f=ct(r,l.onScrollButtonChange);return It(()=>{if(i.viewport&&i.isPositioned){let p=function(){const v=h.scrollHeight-h.clientHeight,w=Math.ceil(h.scrollTop)<v;c(w)};const h=i.viewport;return p(),h.addEventListener("scroll",p),()=>h.removeEventListener("scroll",p)}},[i.viewport,i.isPositioned]),u?ee.jsx(ly,{...n,ref:f,onAutoScroll:()=>{const{viewport:p,selectedItem:h}=i;p&&h&&(p.scrollTop=p.scrollTop+h.offsetHeight)}}):null});sy.displayName=Uc;var ly=g.forwardRef((n,r)=>{const{__scopeSelect:i,onAutoScroll:l,...u}=n,c=Wr("SelectScrollButton",i),f=g.useRef(null),p=ha(i),h=g.useCallback(()=>{f.current!==null&&(window.clearInterval(f.current),f.current=null)},[]);return g.useEffect(()=>()=>h(),[h]),It(()=>{var w;const v=p().find(x=>x.ref.current===document.activeElement);(w=v==null?void 0:v.ref.current)==null||w.scrollIntoView({block:"nearest"})},[p]),ee.jsx(Xe.div,{"aria-hidden":!0,...u,ref:r,style:{flexShrink:0,...u.style},onPointerDown:Je(u.onPointerDown,()=>{f.current===null&&(f.current=window.setInterval(l,50))}),onPointerMove:Je(u.onPointerMove,()=>{var v;(v=c.onItemLeave)==null||v.call(c),f.current===null&&(f.current=window.setInterval(l,50))}),onPointerLeave:Je(u.onPointerLeave,()=>{h()})})}),cC="SelectSeparator",ay=g.forwardRef((n,r)=>{const{__scopeSelect:i,...l}=n;return ee.jsx(Xe.div,{"aria-hidden":!0,...l,ref:r})});ay.displayName=cC;var Hc="SelectArrow",dC=g.forwardRef((n,r)=>{const{__scopeSelect:i,...l}=n,u=ma(i),c=$r(Hc,i),f=Wr(Hc,i);return c.open&&f.position==="popper"?ee.jsx(e2,{...u,...l,ref:r}):null});dC.displayName=Hc;var fC="SelectBubbleInput",uy=g.forwardRef(({__scopeSelect:n,value:r,...i},l)=>{const u=g.useRef(null),c=ct(l,u),f=i2(r);return g.useEffect(()=>{const p=u.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]),ee.jsx(Xe.select,{...i,style:{...Tv,...i.style},ref:c,defaultValue:r})});uy.displayName=fC;function cy(n){return n===""||n===void 0}function dy(n){const r=go(n),i=g.useRef(""),l=g.useRef(0),u=g.useCallback(f=>{const p=i.current+f;r(p),(function h(v){i.current=v,window.clearTimeout(l.current),v!==""&&(l.current=window.setTimeout(()=>h(""),1e3))})(p)},[r]),c=g.useCallback(()=>{i.current="",window.clearTimeout(l.current)},[]);return g.useEffect(()=>()=>window.clearTimeout(l.current),[]),[i,u,c]}function fy(n,r,i){const u=r.length>1&&Array.from(r).every(v=>v===r[0])?r[0]:r,c=i?n.indexOf(i):-1;let f=pC(n,Math.max(c,0));u.length===1&&(f=f.filter(v=>v!==i));const h=f.find(v=>v.textValue.toLowerCase().startsWith(u.toLowerCase()));return h!==i?h:void 0}function pC(n,r){return n.map((i,l)=>n[(r+l)%n.length])}var sk=jv,lk=Uv,ak=$v,uk=Wv,ck=Vv,dk=Qv,fk=Yv,pk=Jv,hk=ty,mk=ny,vk=oy,yk=iy,gk=sy,wk=ay;const Gh=n=>{let r;const i=new Set,l=(v,w)=>{const x=typeof v=="function"?v(r):v;if(!Object.is(x,r)){const E=r;r=w??(typeof x!="object"||x===null)?x:Object.assign({},r,x),i.forEach(y=>y(r,E))}},u=()=>r,p={setState:l,getState:u,getInitialState:()=>h,subscribe:v=>(i.add(v),()=>i.delete(v))},h=r=n(l,u,p);return p},hC=(n=>n?Gh(n):Gh),mC=n=>n;function vC(n,r=mC){const i=Y.useSyncExternalStore(n.subscribe,Y.useCallback(()=>r(n.getState()),[n,r]),Y.useCallback(()=>r(n.getInitialState()),[n,r]));return Y.useDebugValue(i),i}const Yh=n=>{const r=hC(n),i=l=>vC(r,l);return Object.assign(i,r),i},xk=(n=>n?Yh(n):Yh);var yC=n=>{switch(n){case"success":return xC;case"info":return CC;case"warning":return SC;case"error":return EC;default:return null}},gC=Array(12).fill(0),wC=({visible:n,className:r})=>Y.createElement("div",{className:["sonner-loading-wrapper",r].filter(Boolean).join(" "),"data-visible":n},Y.createElement("div",{className:"sonner-spinner"},gC.map((i,l)=>Y.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${l}`})))),xC=Y.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},Y.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"})),SC=Y.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},Y.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"})),CC=Y.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},Y.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"})),EC=Y.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},Y.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"})),kC=Y.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"},Y.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),Y.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),bC=()=>{let[n,r]=Y.useState(document.hidden);return Y.useEffect(()=>{let i=()=>{r(document.hidden)};return document.addEventListener("visibilitychange",i),()=>window.removeEventListener("visibilitychange",i)},[]),n},$c=1,RC=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,...l}=n,u=typeof(n==null?void 0:n.id)=="number"||((r=n.id)==null?void 0:r.length)>0?n.id:$c++,c=this.toasts.find(p=>p.id===u),f=n.dismissible===void 0?!0:n.dismissible;return this.dismissedToasts.has(u)&&this.dismissedToasts.delete(u),c?this.toasts=this.toasts.map(p=>p.id===u?(this.publish({...p,...n,id:u,title:i}),{...p,...n,id:u,dismissible:f,title:i}):p):this.addToast({title:i,...l,dismissible:f,id:u}),u},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 l=n instanceof Promise?n:n(),u=i!==void 0,c,f=l.then(async h=>{if(c=["resolve",h],Y.isValidElement(h))u=!1,this.create({id:i,type:"default",message:h});else if(TC(h)&&!h.ok){u=!1;let v=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:v,description:w})}else if(r.success!==void 0){u=!1;let v=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:v,description:w})}}).catch(async h=>{if(c=["reject",h],r.error!==void 0){u=!1;let v=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:v,description:w})}}).finally(()=>{var h;u&&(this.dismiss(i),i=void 0),(h=r.finally)==null||h.call(r)}),p=()=>new Promise((h,v)=>f.then(()=>c[0]==="reject"?v(c[1]):h(c[1])).catch(v));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)||$c++;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}},Lt=new RC,PC=(n,r)=>{let i=(r==null?void 0:r.id)||$c++;return Lt.addToast({title:n,...r,id:i}),i},TC=n=>n&&typeof n=="object"&&"ok"in n&&typeof n.ok=="boolean"&&"status"in n&&typeof n.status=="number",MC=PC,OC=()=>Lt.toasts,NC=()=>Lt.getActiveToasts(),Sk=Object.assign(MC,{success:Lt.success,info:Lt.info,warning:Lt.warning,error:Lt.error,custom:Lt.custom,message:Lt.message,promise:Lt.promise,dismiss:Lt.dismiss,loading:Lt.loading},{getHistory:OC,getToasts:NC});function _C(n,{insertAt:r}={}){if(typeof document>"u")return;let i=document.head||document.getElementsByTagName("head")[0],l=document.createElement("style");l.type="text/css",r==="top"&&i.firstChild?i.insertBefore(l,i.firstChild):i.appendChild(l),l.styleSheet?l.styleSheet.cssText=n:l.appendChild(document.createTextNode(n))}_C(`: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%)}
387
+ `);function Wl(n){return n.label!==void 0}var LC=3,IC="32px",AC="16px",Xh=4e3,DC=356,FC=14,zC=20,jC=200;function un(...n){return n.filter(Boolean).join(" ")}function BC(n){let[r,i]=n.split("-"),l=[];return r&&l.push(r),i&&l.push(i),l}var UC=n=>{var r,i,l,u,c,f,p,h,v,w,x;let{invert:E,toast:y,unstyled:O,interacting:S,setHeights:C,visibleToasts:P,heights:M,index:R,toasts:L,expanded:z,removeToast:U,defaultRichColors:H,closeButton:q,style:Z,cancelButtonStyle:te,actionButtonStyle:pe,className:X="",descriptionClassName:ye="",duration:ce,position:xe,gap:ae,loadingIcon:ie,expandByDefault:j,classNames:B,icons:V,closeButtonAriaLabel:N="Close toast",pauseWhenPageIsHidden:F}=n,[ne,re]=Y.useState(null),[ve,Se]=Y.useState(null),[K,fe]=Y.useState(!1),[Ce,be]=Y.useState(!1),[Te,Oe]=Y.useState(!1),[qe,dt]=Y.useState(!1),[yn,Xt]=Y.useState(!1),[Zt,or]=Y.useState(0),[gn,ir]=Y.useState(0),Ht=Y.useRef(y.duration||ce||Xh),Co=Y.useRef(null),wn=Y.useRef(null),Cs=R===0,Es=R+1<=P,yt=y.type,xn=y.dismissible!==!1,Eo=y.className||"",ks=y.descriptionClassName||"",Sn=Y.useMemo(()=>M.findIndex(ke=>ke.toastId===y.id)||0,[M,y.id]),Vr=Y.useMemo(()=>{var ke;return(ke=y.closeButton)!=null?ke:q},[y.closeButton,q]),bs=Y.useMemo(()=>y.duration||ce||Xh,[y.duration,ce]),ko=Y.useRef(0),zn=Y.useRef(0),Rs=Y.useRef(0),Cn=Y.useRef(null),[Ci,Ei]=xe.split("-"),bo=Y.useMemo(()=>M.reduce((ke,Ie,Fe)=>Fe>=Sn?ke:ke+Ie.height,0),[M,Sn]),Ro=bC(),sr=y.invert||E,En=yt==="loading";zn.current=Y.useMemo(()=>Sn*ae+bo,[Sn,bo]),Y.useEffect(()=>{Ht.current=bs},[bs]),Y.useEffect(()=>{fe(!0)},[]),Y.useEffect(()=>{let ke=wn.current;if(ke){let Ie=ke.getBoundingClientRect().height;return ir(Ie),C(Fe=>[{toastId:y.id,height:Ie,position:y.position},...Fe]),()=>C(Fe=>Fe.filter(gt=>gt.toastId!==y.id))}},[C,y.id]),Y.useLayoutEffect(()=>{if(!K)return;let ke=wn.current,Ie=ke.style.height;ke.style.height="auto";let Fe=ke.getBoundingClientRect().height;ke.style.height=Ie,ir(Fe),C(gt=>gt.find(Et=>Et.toastId===y.id)?gt.map(Et=>Et.toastId===y.id?{...Et,height:Fe}:Et):[{toastId:y.id,height:Fe,position:y.position},...gt])},[K,y.title,y.description,C,y.id]);let Jt=Y.useCallback(()=>{be(!0),or(zn.current),C(ke=>ke.filter(Ie=>Ie.toastId!==y.id)),setTimeout(()=>{U(y)},jC)},[y,U,C,zn]);Y.useEffect(()=>{if(y.promise&&yt==="loading"||y.duration===1/0||y.type==="loading")return;let ke;return z||S||F&&Ro?(()=>{if(Rs.current<ko.current){let Ie=new Date().getTime()-ko.current;Ht.current=Ht.current-Ie}Rs.current=new Date().getTime()})():Ht.current!==1/0&&(ko.current=new Date().getTime(),ke=setTimeout(()=>{var Ie;(Ie=y.onAutoClose)==null||Ie.call(y,y),Jt()},Ht.current)),()=>clearTimeout(ke)},[z,S,y,yt,F,Ro,Jt]),Y.useEffect(()=>{y.delete&&Jt()},[Jt,y.delete]);function Ps(){var ke,Ie,Fe;return V!=null&&V.loading?Y.createElement("div",{className:un(B==null?void 0:B.loader,(ke=y==null?void 0:y.classNames)==null?void 0:ke.loader,"sonner-loader"),"data-visible":yt==="loading"},V.loading):ie?Y.createElement("div",{className:un(B==null?void 0:B.loader,(Ie=y==null?void 0:y.classNames)==null?void 0:Ie.loader,"sonner-loader"),"data-visible":yt==="loading"},ie):Y.createElement(wC,{className:un(B==null?void 0:B.loader,(Fe=y==null?void 0:y.classNames)==null?void 0:Fe.loader),visible:yt==="loading"})}return Y.createElement("li",{tabIndex:0,ref:wn,className:un(X,Eo,B==null?void 0:B.toast,(r=y==null?void 0:y.classNames)==null?void 0:r.toast,B==null?void 0:B.default,B==null?void 0:B[yt],(i=y==null?void 0:y.classNames)==null?void 0:i[yt]),"data-sonner-toast":"","data-rich-colors":(l=y.richColors)!=null?l:H,"data-styled":!(y.jsx||y.unstyled||O),"data-mounted":K,"data-promise":!!y.promise,"data-swiped":yn,"data-removed":Ce,"data-visible":Es,"data-y-position":Ci,"data-x-position":Ei,"data-index":R,"data-front":Cs,"data-swiping":Te,"data-dismissible":xn,"data-type":yt,"data-invert":sr,"data-swipe-out":qe,"data-swipe-direction":ve,"data-expanded":!!(z||j&&K),style:{"--index":R,"--toasts-before":R,"--z-index":L.length-R,"--offset":`${Ce?Zt:zn.current}px`,"--initial-height":j?"auto":`${gn}px`,...Z,...y.style},onDragEnd:()=>{Oe(!1),re(null),Cn.current=null},onPointerDown:ke=>{En||!xn||(Co.current=new Date,or(zn.current),ke.target.setPointerCapture(ke.pointerId),ke.target.tagName!=="BUTTON"&&(Oe(!0),Cn.current={x:ke.clientX,y:ke.clientY}))},onPointerUp:()=>{var ke,Ie,Fe,gt;if(qe||!xn)return;Cn.current=null;let Et=Number(((ke=wn.current)==null?void 0:ke.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),kt=Number(((Ie=wn.current)==null?void 0:Ie.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),en=new Date().getTime()-((Fe=Co.current)==null?void 0:Fe.getTime()),lt=ne==="x"?Et:kt,kn=Math.abs(lt)/en;if(Math.abs(lt)>=zC||kn>.11){or(zn.current),(gt=y.onDismiss)==null||gt.call(y,y),Se(ne==="x"?Et>0?"right":"left":kt>0?"down":"up"),Jt(),dt(!0),Xt(!1);return}Oe(!1),re(null)},onPointerMove:ke=>{var Ie,Fe,gt,Et;if(!Cn.current||!xn||((Ie=window.getSelection())==null?void 0:Ie.toString().length)>0)return;let kt=ke.clientY-Cn.current.y,en=ke.clientX-Cn.current.x,lt=(Fe=n.swipeDirections)!=null?Fe:BC(xe);!ne&&(Math.abs(en)>1||Math.abs(kt)>1)&&re(Math.abs(en)>Math.abs(kt)?"x":"y");let kn={x:0,y:0};ne==="y"?(lt.includes("top")||lt.includes("bottom"))&&(lt.includes("top")&&kt<0||lt.includes("bottom")&&kt>0)&&(kn.y=kt):ne==="x"&&(lt.includes("left")||lt.includes("right"))&&(lt.includes("left")&&en<0||lt.includes("right")&&en>0)&&(kn.x=en),(Math.abs(kn.x)>0||Math.abs(kn.y)>0)&&Xt(!0),(gt=wn.current)==null||gt.style.setProperty("--swipe-amount-x",`${kn.x}px`),(Et=wn.current)==null||Et.style.setProperty("--swipe-amount-y",`${kn.y}px`)}},Vr&&!y.jsx?Y.createElement("button",{"aria-label":N,"data-disabled":En,"data-close-button":!0,onClick:En||!xn?()=>{}:()=>{var ke;Jt(),(ke=y.onDismiss)==null||ke.call(y,y)},className:un(B==null?void 0:B.closeButton,(u=y==null?void 0:y.classNames)==null?void 0:u.closeButton)},(c=V==null?void 0:V.close)!=null?c:kC):null,y.jsx||g.isValidElement(y.title)?y.jsx?y.jsx:typeof y.title=="function"?y.title():y.title:Y.createElement(Y.Fragment,null,yt||y.icon||y.promise?Y.createElement("div",{"data-icon":"",className:un(B==null?void 0:B.icon,(f=y==null?void 0:y.classNames)==null?void 0:f.icon)},y.promise||y.type==="loading"&&!y.icon?y.icon||Ps():null,y.type!=="loading"?y.icon||(V==null?void 0:V[yt])||yC(yt):null):null,Y.createElement("div",{"data-content":"",className:un(B==null?void 0:B.content,(p=y==null?void 0:y.classNames)==null?void 0:p.content)},Y.createElement("div",{"data-title":"",className:un(B==null?void 0:B.title,(h=y==null?void 0:y.classNames)==null?void 0:h.title)},typeof y.title=="function"?y.title():y.title),y.description?Y.createElement("div",{"data-description":"",className:un(ye,ks,B==null?void 0:B.description,(v=y==null?void 0:y.classNames)==null?void 0:v.description)},typeof y.description=="function"?y.description():y.description):null),g.isValidElement(y.cancel)?y.cancel:y.cancel&&Wl(y.cancel)?Y.createElement("button",{"data-button":!0,"data-cancel":!0,style:y.cancelButtonStyle||te,onClick:ke=>{var Ie,Fe;Wl(y.cancel)&&xn&&((Fe=(Ie=y.cancel).onClick)==null||Fe.call(Ie,ke),Jt())},className:un(B==null?void 0:B.cancelButton,(w=y==null?void 0:y.classNames)==null?void 0:w.cancelButton)},y.cancel.label):null,g.isValidElement(y.action)?y.action:y.action&&Wl(y.action)?Y.createElement("button",{"data-button":!0,"data-action":!0,style:y.actionButtonStyle||pe,onClick:ke=>{var Ie,Fe;Wl(y.action)&&((Fe=(Ie=y.action).onClick)==null||Fe.call(Ie,ke),!ke.defaultPrevented&&Jt())},className:un(B==null?void 0:B.actionButton,(x=y==null?void 0:y.classNames)==null?void 0:x.actionButton)},y.action.label):null))};function Zh(){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 HC(n,r){let i={};return[n,r].forEach((l,u)=>{let c=u===1,f=c?"--mobile-offset":"--offset",p=c?AC:IC;function h(v){["top","right","bottom","left"].forEach(w=>{i[`${f}-${w}`]=typeof v=="number"?`${v}px`:v})}typeof l=="number"||typeof l=="string"?h(l):typeof l=="object"?["top","right","bottom","left"].forEach(v=>{l[v]===void 0?i[`${f}-${v}`]=p:i[`${f}-${v}`]=typeof l[v]=="number"?`${l[v]}px`:l[v]}):h(p)}),i}var Ck=g.forwardRef(function(n,r){let{invert:i,position:l="bottom-right",hotkey:u=["altKey","KeyT"],expand:c,closeButton:f,className:p,offset:h,mobileOffset:v,theme:w="light",richColors:x,duration:E,style:y,visibleToasts:O=LC,toastOptions:S,dir:C=Zh(),gap:P=FC,loadingIcon:M,icons:R,containerAriaLabel:L="Notifications",pauseWhenPageIsHidden:z}=n,[U,H]=Y.useState([]),q=Y.useMemo(()=>Array.from(new Set([l].concat(U.filter(F=>F.position).map(F=>F.position)))),[U,l]),[Z,te]=Y.useState([]),[pe,X]=Y.useState(!1),[ye,ce]=Y.useState(!1),[xe,ae]=Y.useState(w!=="system"?w:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),ie=Y.useRef(null),j=u.join("+").replace(/Key/g,"").replace(/Digit/g,""),B=Y.useRef(null),V=Y.useRef(!1),N=Y.useCallback(F=>{H(ne=>{var re;return(re=ne.find(ve=>ve.id===F.id))!=null&&re.delete||Lt.dismiss(F.id),ne.filter(({id:ve})=>ve!==F.id)})},[]);return Y.useEffect(()=>Lt.subscribe(F=>{if(F.dismiss){H(ne=>ne.map(re=>re.id===F.id?{...re,delete:!0}:re));return}setTimeout(()=>{_m.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]})})})}),[]),Y.useEffect(()=>{if(w!=="system"){ae(w);return}if(w==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?ae("dark"):ae("light")),typeof window>"u")return;let F=window.matchMedia("(prefers-color-scheme: dark)");try{F.addEventListener("change",({matches:ne})=>{ae(ne?"dark":"light")})}catch{F.addListener(({matches:re})=>{try{ae(re?"dark":"light")}catch(ve){console.error(ve)}})}},[w]),Y.useEffect(()=>{U.length<=1&&X(!1)},[U]),Y.useEffect(()=>{let F=ne=>{var re,ve;u.every(Se=>ne[Se]||ne.code===Se)&&(X(!0),(re=ie.current)==null||re.focus()),ne.code==="Escape"&&(document.activeElement===ie.current||(ve=ie.current)!=null&&ve.contains(document.activeElement))&&X(!1)};return document.addEventListener("keydown",F),()=>document.removeEventListener("keydown",F)},[u]),Y.useEffect(()=>{if(ie.current)return()=>{B.current&&(B.current.focus({preventScroll:!0}),B.current=null,V.current=!1)}},[ie.current]),Y.createElement("section",{ref:r,"aria-label":`${L} ${j}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},q.map((F,ne)=>{var re;let[ve,Se]=F.split("-");return U.length?Y.createElement("ol",{key:F,dir:C==="auto"?Zh():C,tabIndex:-1,ref:ie,className:p,"data-sonner-toaster":!0,"data-theme":xe,"data-y-position":ve,"data-lifted":pe&&U.length>1&&!c,"data-x-position":Se,style:{"--front-toast-height":`${((re=Z[0])==null?void 0:re.height)||0}px`,"--width":`${DC}px`,"--gap":`${P}px`,...y,...HC(h,v)},onBlur:K=>{V.current&&!K.currentTarget.contains(K.relatedTarget)&&(V.current=!1,B.current&&(B.current.focus({preventScroll:!0}),B.current=null))},onFocus:K=>{K.target instanceof HTMLElement&&K.target.dataset.dismissible==="false"||V.current||(V.current=!0,B.current=K.relatedTarget)},onMouseEnter:()=>X(!0),onMouseMove:()=>X(!0),onMouseLeave:()=>{ye||X(!1)},onDragEnd:()=>X(!1),onPointerDown:K=>{K.target instanceof HTMLElement&&K.target.dataset.dismissible==="false"||ce(!0)},onPointerUp:()=>ce(!1)},U.filter(K=>!K.position&&ne===0||K.position===F).map((K,fe)=>{var Ce,be;return Y.createElement(UC,{key:K.id,icons:R,index:fe,toast:K,defaultRichColors:x,duration:(Ce=S==null?void 0:S.duration)!=null?Ce:E,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(Te=>Te.position==K.position),heights:Z.filter(Te=>Te.position==K.position),setHeights:te,expandByDefault:c,gap:P,loadingIcon:M,expanded:pe,pauseWhenPageIsHidden:z,swipeDirections:n.swipeDirections})})):null}))});export{Ck as $,nE as A,lE as B,uE as C,WC as D,qC as E,dE as F,SE as G,bE as H,uk as I,xE as J,PE as K,pk as L,_E as M,I1 as N,GE as O,ck as P,YC as Q,sk as R,yk as S,lk as T,ME as U,fk as V,cm as W,ek as X,sE as Y,tk as Z,XE as _,cE as a,VE as a0,CE as a1,wE as a2,QE as a3,pE as a4,HE as a5,BE as a6,LE as a7,JE as a8,KE as a9,gv as aA,Pv as aB,id as aC,tv as aD,JS as aE,ik as aF,ok as aG,e2 as aH,Em as aI,VC as aJ,AE as aK,It as aL,c2 as aM,zv as aN,Sx as aO,rv as aP,ea as aQ,rk as aR,NE as aS,FE as aT,rE as aU,oE as aV,EE as aW,yE as aa,gE as ab,kE as ac,nk as ad,$E as ae,fE as af,Sk as ag,OE as ah,ZE as ai,qE as aj,vE as ak,WE as al,RE as am,hE as an,zE as ao,UE as ap,ZC as aq,$m as ar,JC as as,sd as at,$h as au,XS as av,ct as aw,ZS as ax,Xe as ay,Je as az,gk as b,eE as c,dk as d,hk as e,vk as f,aE as g,mk as h,wk as i,ee as j,ak as k,mE as l,YE as m,IE as n,jE as o,DE as p,TE as q,g as r,iE as s,tE as t,xk as u,Hr as v,XC as w,KC as x,u1 as y,QC as z};