nextclaw 0.8.21 → 0.8.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/templates/USAGE.md +1 -1
- package/ui-dist/assets/ChannelsList-GW0rzJh0.js +1 -0
- package/ui-dist/assets/CronConfig-DJv3pHG6.js +1 -0
- package/ui-dist/assets/DocBrowser-IzD4Evlq.js +1 -0
- package/ui-dist/assets/MarketplacePage-rd97G8xD.js +1 -0
- package/ui-dist/assets/ModelConfig-Dp5iCAC-.js +1 -0
- package/ui-dist/assets/ProvidersList-csOpEGSj.js +1 -0
- package/ui-dist/assets/RuntimeConfig-H0SSIQ3f.js +1 -0
- package/ui-dist/assets/SessionsConfig-8nUD5SGB.js +2 -0
- package/ui-dist/assets/action-link-DXGkm9Hk.js +1 -0
- package/ui-dist/assets/card-7BTaMTaL.js +1 -0
- package/ui-dist/assets/config-hints-CApS3K_7.js +1 -0
- package/ui-dist/assets/dialog-CXsWIUTk.js +5 -0
- package/ui-dist/assets/index-CJRpyLXg.js +2 -0
- package/ui-dist/assets/index-DdpR1fdj.css +1 -0
- package/ui-dist/assets/label-BAzOr1uc.js +1 -0
- package/ui-dist/assets/page-layout-DJ75nLW5.js +1 -0
- package/ui-dist/assets/switch-DyifnPNj.js +1 -0
- package/ui-dist/assets/tabs-custom-PWZmQDBG.js +1 -0
- package/ui-dist/assets/useConfig-B43ymz0l.js +1 -0
- package/ui-dist/assets/useConfirmDialog-Bd2fAZGR.js +1 -0
- package/ui-dist/assets/vendor-Dkx07DIh.js +342 -0
- package/ui-dist/index.html +3 -2
- package/ui-dist/assets/index-CZnQJKDU.js +0 -347
- package/ui-dist/assets/index-CfkfeqC5.css +0 -1
|
@@ -0,0 +1,342 @@
|
|
|
1
|
+
var Gp=n=>{throw TypeError(n)};var Xu=(n,r,i)=>r.has(n)||Gp("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)?Gp("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
|
+
* @license React
|
|
3
|
+
* react.production.min.js
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
6
|
+
*
|
|
7
|
+
* This source code is licensed under the MIT license found in the
|
|
8
|
+
* LICENSE file in the root directory of this source tree.
|
|
9
|
+
*/var Yp;function l0(){if(Yp)return Me;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"),v=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 y={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},O=Object.assign,S={};function E(N,F,ne){this.props=N,this.context=F,this.refs=S,this.updater=ne||y}E.prototype.isReactComponent={},E.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")},E.prototype.forceUpdate=function(N){this.updater.enqueueForceUpdate(this,N,"forceUpdate")};function P(){}P.prototype=E.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,E.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 G(N,F,ne){var re,me={},xe=null,K=null;if(F!=null)for(re in F.ref!==void 0&&(K=F.ref),F.key!==void 0&&(xe=""+F.key),F)z.call(F,re)&&!H.hasOwnProperty(re)&&(me[re]=F[re]);var fe=arguments.length-2;if(fe===1)me.children=ne;else if(1<fe){for(var Se=Array(fe),be=0;be<fe;be++)Se[be]=arguments[be+2];me.children=Se}if(N&&N.defaultProps)for(re in fe=N.defaultProps,fe)me[re]===void 0&&(me[re]=fe[re]);return{$$typeof:n,type:N,key:xe,ref:K,props:me,_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 ve(N,F){return typeof N=="object"&&N!==null&&N.key!=null?pe(""+N.key):F.toString(36)}function ce(N,F,ne,re,me){var xe=typeof N;(xe==="undefined"||xe==="boolean")&&(N=null);var K=!1;if(N===null)K=!0;else switch(xe){case"string":case"number":K=!0;break;case"object":switch(N.$$typeof){case n:case r:K=!0}}if(K)return K=N,me=me(K),N=re===""?"."+ve(K,0):re,L(me)?(ne="",N!=null&&(ne=N.replace(X,"$&/")+"/"),ce(me,F,ne,"",function(be){return be})):me!=null&&(te(me)&&(me=Z(me,ne+(!me.key||K&&K.key===me.key?"":(""+me.key).replace(X,"$&/")+"/")+N)),F.push(me)),1;if(K=0,re=re===""?".":re+":",L(N))for(var fe=0;fe<N.length;fe++){xe=N[fe];var Se=re+ve(xe,fe);K+=ce(xe,F,ne,Se,me)}else if(Se=C(N),typeof Se=="function")for(N=Se.call(N),fe=0;!(xe=N.next()).done;)xe=xe.value,Se=re+ve(xe,fe++),K+=ce(xe,F,ne,Se,me);else if(xe==="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 we(N,F,ne){if(N==null)return N;var re=[],me=0;return ce(N,re,"","",function(xe){return F.call(ne,xe,me++)}),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:we,forEach:function(N,F,ne){we(N,function(){F.apply(this,arguments)},ne)},count:function(N){var F=0;return we(N,function(){F++}),F},toArray:function(N){return we(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=E,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),me=N.key,xe=N.ref,K=N._owner;if(F!=null){if(F.ref!==void 0&&(xe=F.ref,K=U.current),F.key!==void 0&&(me=""+F.key),N.type&&N.type.defaultProps)var fe=N.type.defaultProps;for(Se in F)z.call(F,Se)&&!H.hasOwnProperty(Se)&&(re[Se]=F[Se]===void 0&&fe!==void 0?fe[Se]:F[Se])}var Se=arguments.length-2;if(Se===1)re.children=ne;else if(1<Se){fe=Array(Se);for(var be=0;be<Se;be++)fe[be]=arguments[be+2];re.children=fe}return{$$typeof:n,type:N.type,key:me,ref:xe,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=G,Me.createFactory=function(N){var F=G.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 qp;function Vc(){return qp||(qp=1,Ju.exports=l0()),Ju.exports}/**
|
|
10
|
+
* @license React
|
|
11
|
+
* react-jsx-runtime.production.min.js
|
|
12
|
+
*
|
|
13
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
14
|
+
*
|
|
15
|
+
* This source code is licensed under the MIT license found in the
|
|
16
|
+
* LICENSE file in the root directory of this source tree.
|
|
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={},C=null,y=null;v!==void 0&&(C=""+v),h.key!==void 0&&(C=""+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:C,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 q=cm(g),dm=s0({__proto__:null,default:q},[g]);var Dl={},ec={exports:{}},Ot={},tc={exports:{}},nc={};/**
|
|
18
|
+
* @license React
|
|
19
|
+
* scheduler.production.min.js
|
|
20
|
+
*
|
|
21
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
22
|
+
*
|
|
23
|
+
* This source code is licensed under the MIT license found in the
|
|
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 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,me=j[re],xe=re+1,K=j[xe];if(0>u(me,V))xe<F&&0>u(K,me)?(j[N]=K,j[xe]=V,N=xe):(j[N]=me,j[re]=V,N=re);else if(xe<F&&0>u(K,V))j[N]=K,j[xe]=V,N=xe;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,C=3,y=!1,O=!1,S=!1,E=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(G),G=-1),y=!0;var V=C;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,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(v);re!==null&&ie(L,re.startTime-B),ne=!1}return ne}finally{x=null,C=V,y=!1}}var U=!1,H=null,G=-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?ve():(U=!1,H=null)}}else U=!1}var ve;if(typeof M=="function")ve=function(){M(X)};else if(typeof MessageChannel<"u"){var ce=new MessageChannel,we=ce.port2;ce.port1.onmessage=X,ve=function(){we.postMessage(null)}}else ve=function(){E(X,0)};function ae(j){H=j,U||(U=!0,ve())}function ie(j,B){G=E(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 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 V=C;C=B;try{return j()}finally{C=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=C;C=j;try{return B()}finally{C=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(G),G=-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=C;return function(){var V=C;C=B;try{return j.apply(this,arguments)}finally{C=V}}}})(nc)),nc}var eh;function d0(){return eh||(eh=1,tc.exports=c0()),tc.exports}/**
|
|
26
|
+
* @license React
|
|
27
|
+
* react-dom.production.min.js
|
|
28
|
+
*
|
|
29
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
30
|
+
*
|
|
31
|
+
* This source code is licensed under the MIT license found in the
|
|
32
|
+
* LICENSE file in the root directory of this source tree.
|
|
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 C(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 E={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){E[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];E[t]=new S(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){E[e]=new S(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){E[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){E[e]=new S(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){E[e]=new S(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){E[e]=new S(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){E[e]=new S(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){E[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);E[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);E[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);E[t]=new S(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){E[e]=new S(e,1,!1,e.toLowerCase(),null,!1,!1)}),E.xlinkHref=new S("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){E[e]=new S(e,1,!1,e.toLowerCase(),null,!0,!0)});function R(e,t,o,s){var a=E.hasOwnProperty(t)?E[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"),G=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"),ve=Symbol.for("react.suspense"),ce=Symbol.for("react.suspense_list"),we=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
|
+
`+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
|
+
`),d=s.stack.split(`
|
|
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 me(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 xe(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 G:return"StrictMode";case ve: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 we:return t=e.displayName||null,t!==null?t:xe(e.type)||"Memo";case ae:t=e._payload,e=e._init;try{return xe(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 xe(t);case 8:return t===G?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function fe(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Se(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function be(e){var t=Se(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=Se(e)?e.checked?"true":"false":e.value),e=s,e!==o?(t.setValue(e),!0):!1}function Ge(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"||Ge(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 Eo(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 Es(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 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 Co,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(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 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 En(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 Ei(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=qs(t),Ro(e.stateNode,e.type,t))}}function Ps(e){sr?Cn?Cn.push(e):Cn=[e]:sr=e}function Ce(){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(),Ce())}}function kt(e,t){var o=e.stateNode;if(o===null)return null;var s=qs(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,Ye=r.unstable_now,wy=r.unstable_getCurrentPriorityLevel,ya=r.unstable_ImmediatePriority,Ed=r.unstable_UserBlockingPriority,Os=r.unstable_NormalPriority,xy=r.unstable_LowPriority,Cd=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,Ey=Math.log,Cy=Math.LN2;function ky(e){return e>>>=0,e===0?32:31-(Ey(e)/Cy|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,Ea=!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);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 Oy(){Ea=!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,Ea||(Ea=!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,Ca(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,Ca(e,t,o,s)}finally{De=a,Po.transition=d}}function Ca(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 Ed:return 4;case Os:case xy: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 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),Gy=V({},Hs,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),zd=At(Gy),Yy=V({},_i,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Oa}),qy=At(Yy),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 Gd(){Ai&&(Ai.detachEvent("onpropertychange",Yd),Di=Ai=null)}function Yd(e){if(e.propertyName==="value"&&$s(Di)){var t=[];Vd(t,Di,e,bo(e)),Ct(sg,t)}}function ag(e,t,o){e==="focusin"?(Gd(),Ai=t,Di=o,Ai.attachEvent("onpropertychange",Yd)):e==="focusout"&&Gd()}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 qd(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Xd(e,t){var o=qd(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=qd(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=Ge();t instanceof e.HTMLIFrameElement;){try{var o=typeof t.contentWindow.location.href=="string"}catch{o=!1}if(o)e=t.contentWindow;else break;t=Ge(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!==Ge(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=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 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}Ct(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=qy;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,qe=!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=kt(_,I),Y!=null&&ue.push(Ui(_,Y,A)))),qe)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!==Ci&&(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&&(qe=Qr(le),le!==qe||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"),qe=oe==null?$:Io(oe),A=le==null?$:Io(le),$=new ue(Y,_+"leave",oe,o,W),$.target=qe,$.relatedTarget=A,Y=null,Kr(W)===D&&(ue=new ue(I,_+"enter",le,o,W),ue.target=A,ue.relatedTarget=qe,Y=ue),qe=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&&qe!==null&&ff(Q,qe,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 ye=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}ye&&ye(e,$,D),e==="focusout"&&(ye=$._wrapperState)&&ye.controlled&&$.type==="number"&&gn($,"number",$.value)}switch(ye=D?Io(D):window,e){case"focusin":(Wd(ye)||ye.contentEditable==="true")&&(Oo=ye,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 ge;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&&(ge=Id()):(dr=W,ba="value"in dr?dr.value:dr.textContent,Mo=!0)),ye=Ks(D,Ee),0<ye.length&&(Ee=new Fd(Ee,e,null,o,W),Q.push({event:Ee,listeners:ye}),ge?Ee.data=ge:(ge=$d(o),ge!==null&&(Ee.data=ge)))),(ge=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=ge))}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 Gs(e,t,o){if(t=pf(t),pf(e)!==t&&o)throw Error(i(425))}function Ys(){}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(Eg)}:Va;function Eg(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,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 qs(e){return e[Hi]||null}var Ga=[],Ao=-1;function hr(e){return{current:e}}function Be(e){0>Ao||(e.current=Ga[Ao],Ga[Ao]=null,Ao--)}function ze(e,t){Ao++,Ga[Ao]=e.current,e.current=t}var mr={},ft=hr(mr),bt=hr(!1),Gr=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,Gr=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,Gr),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 vr(){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(ya,vr),a}finally{De=t,Ya=!1}}return null}var Fo=[],zo=0,el=null,tl=0,$t=[],Wt=0,Yr=null,Un=1,Hn="";function qr(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++]=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 qa(e){e.return!==null&&(qr(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[--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=Gt(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 Ef(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=Gt(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(!Ef(e,t)){if(Za(e))throw Error(i(418));t=pr(o.nextSibling);var s=Dt;t&&Ef(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"&&!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(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 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,Y){return _===null||_.tag!==6?(_=Vu(A,I.mode,Y),_.return=I,_):(_=a(_,A),_.return=I,_)}function T(I,_,A,Y){var de=A.type;return de===H?W(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=Wi(I,_,A),Y.return=I,Y):(Y=Pl(A.type,A.key,A.props,null,I.mode,Y),Y.ref=Wi(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 W(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 _=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 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:k(I,_,""+A,Y);if(typeof A=="object"&&A!==null){switch(A.$$typeof){case z:return A.key===de?T(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:W(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,k(_,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,T(_,I,Y,de);case U:return I=I.get(Y.key===null?A:Y.key)||null,D(_,I,Y,de);case ae:var ye=Y._init;return oe(I,_,A,ye(Y._payload),de)}if(ir(Y)||B(Y))return I=I.get(A)||null,W(_,I,Y,de,null);rl(_,Y)}return null}function le(I,_,A,Y){for(var de=null,ye=null,ge=_,Ee=_=0,it=null;ge!==null&&Ee<A.length;Ee++){ge.index>Ee?(it=ge,ge=null):it=ge.sibling;var Le=$(I,ge,A[Ee],Y);if(Le===null){ge===null&&(ge=it);break}e&&ge&&Le.alternate===null&&t(I,ge),_=d(Le,_,Ee),ye===null?de=Le:ye.sibling=Le,ye=Le,ge=it}if(Ee===A.length)return o(I,ge),He&&qr(I,Ee),de;if(ge===null){for(;Ee<A.length;Ee++)ge=Q(I,A[Ee],Y),ge!==null&&(_=d(ge,_,Ee),ye===null?de=ge:ye.sibling=ge,ye=ge);return He&&qr(I,Ee),de}for(ge=s(I,ge);Ee<A.length;Ee++)it=oe(ge,I,Ee,A[Ee],Y),it!==null&&(e&&it.alternate!==null&&ge.delete(it.key===null?Ee:it.key),_=d(it,_,Ee),ye===null?de=it:ye.sibling=it,ye=it);return e&&ge.forEach(function(br){return t(I,br)}),He&&qr(I,Ee),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 ye=de=null,ge=_,Ee=_=0,it=null,Le=A.next();ge!==null&&!Le.done;Ee++,Le=A.next()){ge.index>Ee?(it=ge,ge=null):it=ge.sibling;var br=$(I,ge,Le.value,Y);if(br===null){ge===null&&(ge=it);break}e&&ge&&br.alternate===null&&t(I,ge),_=d(br,_,Ee),ye===null?de=br:ye.sibling=br,ye=br,ge=it}if(Le.done)return o(I,ge),He&&qr(I,Ee),de;if(ge===null){for(;!Le.done;Ee++,Le=A.next())Le=Q(I,Le.value,Y),Le!==null&&(_=d(Le,_,Ee),ye===null?de=Le:ye.sibling=Le,ye=Le);return He&&qr(I,Ee),de}for(ge=s(I,ge);!Le.done;Ee++,Le=A.next())Le=oe(ge,I,Ee,Le.value,Y),Le!==null&&(e&&Le.alternate!==null&&ge.delete(Le.key===null?Ee:Le.key),_=d(Le,_,Ee),ye===null?de=Le:ye.sibling=Le,ye=Le);return e&&ge.forEach(function(i0){return t(I,i0)}),He&&qr(I,Ee),de}function qe(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,ye=_;ye!==null;){if(ye.key===de){if(de=A.type,de===H){if(ye.tag===7){o(I,ye.sibling),_=a(ye,A.props.children),_.return=I,I=_;break e}}else if(ye.elementType===de||typeof de=="object"&&de!==null&&de.$$typeof===ae&&bf(de)===ye.type){o(I,ye.sibling),_=a(ye,A.props),_.ref=Wi(I,ye,A),_.return=I,I=_;break e}o(I,ye);break}else t(I,ye);ye=ye.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=Wi(I,_,A),Y.return=I,I=Y)}return m(I);case U:e:{for(ye=A.key;_!==null;){if(_.key===ye)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 ye=A._init,qe(I,_,ye(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,_),_=Vu(A,I.mode,Y),_.return=I,I=_),m(I)):o(I,_)}return qe}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,Gi=!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,Ve=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,ul.current=e===null||e.memoizedState===null?Ng:_g,e=o(s,a),Gi){d=0;do{if(Gi=!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(Gi)}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=Yi!==0;return Yi=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 qi(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:qi,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 Gf(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=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 qf(){return Qt().memoizedState}function Mg(e,t,o){var s=Er(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=Er(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){Gi=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=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:Vt,useCallback:Kf,useContext:Vt,useEffect:yu,useImperativeHandle:Qf,useInsertionEffect:$f,useLayoutEffect:Wf,useMemo:Gf,useReducer:mu,useRef:Uf,useState:function(){return mu(qi)},useDebugValue:gu,useDeferredValue:function(e){var t=Qt();return Yf(t,et.memoizedState,e)},useTransition:function(){var e=mu(qi)[0],t=Qt().memoizedState;return[e,t]},useMutableSource:Lf,useSyncExternalStore:If,useId:qf,unstable_isNewReconciler:!1},Lg={readContext:Vt,useCallback:Kf,useContext:Vt,useEffect:yu,useImperativeHandle:Qf,useInsertionEffect:$f,useLayoutEffect:Wf,useMemo:Gf,useReducer:vu,useRef:Uf,useState:function(){return vu(qi)},useDebugValue:gu,useDeferredValue:function(e){var t=Qt();return et===null?t.memoizedState=e:Yf(t,et.memoizedState,e)},useTransition:function(){var e=vu(qi)[0],t=Qt().memoizedState;return[e,t]},useMutableSource:Lf,useSyncExternalStore:If,useId:qf,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=Er(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=Er(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=Er(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)?Gr: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)?Gr: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+=me(s),s=s.return;while(s);var a=o}catch(d){a=`
|
|
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 Eu(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),Eu(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(){Eu(e,t)}}var d=e.stateNode;return d!==null&&typeof d.componentDidCatch=="function"&&(o.callback=function(){Eu(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=Gg.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&&qa(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 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)?Gr: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&&qa(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)?Gr: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)?Gr: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=Yg.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++]=Yr,Un=e.id,Hn=e.overflow,Yr=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=Eo(e,a),s=Eo(e,s),d=[];break;default:typeof a.onClick!="function"&&typeof s.onClick=="function"&&(e.onclick=Ys)}En(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)}En(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&&Gs(s.textContent,k,e),a=["children",k]):typeof k=="number"&&s.textContent!==""+k&&(d.suppressHydrationWarning!==!0&&Gs(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),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=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=Ei(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=Eo(e,s),je("invalid",e);break;default:a=s}En(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),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:Gs(s.nodeValue,o,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Gs(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&&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=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 Ep=!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,qe=le.memoizedState,I=t.stateNode,_=I.getSnapshotBeforeUpdate(t.elementType===t.type?ue:on(t.type,ue),qe);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=Ep,Ep=!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[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=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||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=qg.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),Ei(k,m);var D=Ei(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":Es(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=Ye())),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,El=!1,Sr=null,Cl=0,ns=0,zu=null,kl=-1,bl=0;function xt(){return(_e&6)!==0?Ye():kl!==-1?kl:kl=Ye()}function Er(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&&Cr(e,ut)),Mt(e,s),o===1&&_e===0&&(t.mode&1)===0&&(Ko=Ye()+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=Ed;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(kl=-1,bl=0,(_e&6)!==0)throw Error(i(327));var o=e.callbackNode;if(Go()&&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(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),Cr(e,s),Mt(e,Ye()),o;if(t===6)Cr(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),Cr(e,s),Mt(e,Ye()),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(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=Va(ro.bind(null,e,Tt,Qn),t);break}ro(e,Tt,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=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,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=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 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));Go();var t=Is(e,0);if((t&1)===0)return Mt(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),Mt(e,Ye()),o;if(o===6)throw Error(i(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,ro(e,Tt,Qn),Mt(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&&vr())}}function to(e){Sr!==null&&Sr.tag===0&&(_e&6)===0&&Go();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,Gi=!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,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 qe=sp(m);if(qe!==null){(qe.flags&65536)===0&&(qe.flags|=256),lp(qe,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 Y=op(d,k,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{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 Go();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||El||(El=!0,Hp(Os,function(){return Go(),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(El&&(El=!1,Sr=e,Cl=a),d=e.pendingLanes,d===0&&(xr=null),Sy(o.stateNode),Mt(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&&Go(),d=e.pendingLanes,(d&1)!==0?e===zu?ns++:(ns=0,zu=e):ns=0,vr(),null}function Go(){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 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(Cp(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 qe=ue.sibling;ue.sibling=null,ue=qe}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 Y=k.sibling;if(Y!==null){Y.return=k.return,se=Y;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 Gg(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),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 Yg(e){var t=e.memoizedState,o=0;t!==null&&(o=t.retryLane),Bp(e,o)}function qg(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&&qa(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=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,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 Gt(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===we)return 14}return 2}function kr(e,t){var o=e.alternate;return o===null?(o=Gt(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 G:m=8,a|=8;break;case Z:return e=Gt(12,o,t,a|2),e.elementType=Z,e.lanes=d,e;case ve:return e=Gt(13,o,t,a),e.elementType=ve,e.lanes=d,e;case ce:return e=Gt(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 we:m=14;break e;case ae:m=16,s=null;break e}throw Error(i(130,e==null?e:typeof e,""))}return t=Gt(m,o,t,a),t.elementType=e,t.type=s,t.lanes=d,t}function oo(e,t,o,s){return e=Gt(7,e,s,t),e.lanes=o,e}function Tl(e,t,o,s){return e=Gt(22,e,s,t),e.elementType=ie,e.lanes=o,e.stateNode={isHidden:!1},e}function Vu(e,t,o){return e=Gt(6,e,null,t),e.lanes=o,e}function Qu(e,t,o){return t=Gt(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=Gt(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=Er(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=Er(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 Gu(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 Yu(e){this._internalRoot=e}Nl.prototype.render=Yu.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(i(409));Ml(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(){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 qu(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,Ye()),(_e&6)===0&&(Ko=Ye()+500,vr()))}break;case 13:to(function(){var s=$n(e,1);if(s!==null){var a=xt();an(s,e,1,a)}}),Gu(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)}Gu(e,134217728)}},Pd=function(e){if(e.tag===13){var t=Er(e),o=$n(e,t);if(o!==null){var s=xt();an(o,e,t,s)}Gu(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=qs(s);if(!a)throw Error(i(90));Oe(s),Zt(s,a)}}}break;case"textarea":Es(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,qs,Ps,Ce,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(!qu(t))throw Error(i(200));return e0(e,t,null,o)},Ot.createRoot=function(e,t){if(!qu(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(!qu(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 WE=p0();/**
|
|
41
|
+
* react-router v7.13.0
|
|
42
|
+
*
|
|
43
|
+
* Copyright (c) Remix Software Inc.
|
|
44
|
+
*
|
|
45
|
+
* This source code is licensed under the MIT license found in the
|
|
46
|
+
* LICENSE.md file in the root directory of this source tree.
|
|
47
|
+
*
|
|
48
|
+
* @license MIT
|
|
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 E=w(),P=E==null?null:E-v;v=E,h&&h({action:p,location:S.location,delta:P})}function C(E,P){p="PUSH";let M=vc(S.location,E,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(E,P){p="REPLACE";let M=vc(S.location,E,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(E){return y0(E)}let S={get action(){return p},get location(){return n(u,f)},listen(E){if(h)throw new Error("A history only accepts one active listener");return u.addEventListener(oh,x),h=E,()=>{u.removeEventListener(oh,x),h=null}},createHref(E){return r(u,E)},createURL:O,encodeLocation(E){let P=O(E);return{pathname:P.pathname,search:P.search,hash:P.hash}},push:C,replace:y,go(E){return f.go(E)}};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]),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 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,E0=2,C0=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+=E0),i.filter(u=>!sh(u)).reduce((u,c)=>u+(x0.test(c)?S0:c===""?C0: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),C=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: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]=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},C)=>{if(w==="*"){let O=p[C]||"";f=c.slice(0,c.length-O.length).replace(/(.)\/+$/,"$1")}const y=p[C];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 C=f.split("/");for(;C[0]==="..";)C.shift(),x-=1;u.pathname=C.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 Gc=g.createContext(null);Gc.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 G0(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 Em(n){g.useContext(Ut).static||g.useLayoutEffect(n)}function Cm(){let{isDataRoute:n}=g.useContext(vn);return n?l1():Y0()}function Y0(){$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 Em(()=>{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 VE(){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 q0(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
|
+
|
|
51
|
+
Please change the parent <Route path="${R}"> to <Route path="${R==="/"?"*":`${R}/*`}">.`)}let C=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=C;let O=y.pathname||"/",S=O;if(w!=="/"){let R=w.replace(/^\//,"").split("/");S="/"+O.replace(/^\//,"").split("/").slice(R.length).join("/")}let E=pm(n,{pathname:S});pn(x||E!=null,`No routes matched location "${y.pathname}${y.search}${y.hash}" `),pn(E==null||E[E.length-1].route.element!==void 0||E[E.length-1].route.Component!==void 0||E[E.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(E&&E.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(Gc.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:C,errors:y}=i,O=x.route.loader&&!C.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 C,y;l(w,{location:i.location,params:((y=(C=i.matches)==null?void 0:C[0])==null?void 0:y.params)??{},unstable_pattern:j0(i.matches),errorInfo:x})}:void 0;return c.reduceRight((w,x,C)=>{let y,O=!1,S=null,E=null;i&&(y=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,E=null):h===C&&(O=!0,E=x.route.hydrateFallbackElement||null)));let P=r.concat(c.slice(0,C+1)),M=()=>{let R;return y?R=S:O?R=E: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:y,children:M(),routeContext:{outlet:null,matches:P,isDataRoute:!0},onError:v}):M()},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(vn);return $e(r,Yc(n)),r}function qc(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 qc("useRouteId")}function s1(){var l;let n=g.useContext(Gc),r=r1("useRouteError"),i=qc("useRouteError");return n!==void 0?n:(l=r.errors)==null?void 0:l[i]}function l1(){let{router:n}=n1("useNavigate"),r=qc("useNavigate"),i=g.useRef(!1);return Em(()=>{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 QE({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=Cm(),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:C=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:C,key:y},navigationType:l}},[p,v,w,x,C,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 KE({children:n,location:r}){return q0(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 C=v?`${v}.`:"";c.append(`${C}x`,"0"),c.append(`${C}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 E1(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 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 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,C=g.useRef(null);g.useEffect(()=>{if(n==="render"&&f(!0),n==="viewport"){let S=P=>{P.forEach(M=>{f(M.isIntersecting)})},E=new IntersectionObserver(S,{threshold:.5});return C.current&&E.observe(C.current),()=>{E.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,C,{}]:[c,C,{onFocus:is(p,y),onBlur:is(h,O),onMouseEnter:is(v,y),onMouseLeave:is(w,O),onTouchStart:is(x,y)}]:[!1,C,{}]}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 E1(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]),C=g.useMemo(()=>{if(n===l.pathname+l.search+l.hash)return[];let S=new Set,E=!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?E=!0:S.add(M.route.id))}),S.size===0)return[];let P=w1(n,p,u.unstable_trailingSlashAwareDataRequests,"data");return E&&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(()=>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})),y.map(S=>g.createElement("link",{key:S,rel:"modulepreload",href:S,...i})),O.map(({key:S,link:E})=>g.createElement("link",{key:S,nonce:i.nonce,...E,crossOrigin:E.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 GE({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:C,...y},O){let{basename:S,unstable_useTransitions:E}=g.useContext(Ut),P=typeof v=="string"&&Mm.test(v),M=ym(v,S);v=M.to;let R=G0(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:C,unstable_useTransitions:E});function G(te){r&&r(te),te.defaultPrevented||H(te)}let Z=g.createElement("a",{...y,...U,href:M.absoluteURL||R,onClick:M.isExternal||c?r:G,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}),C=Hr(),y=g.useContext(sa),{navigator:O,basename:S}=g.useContext(Ut),E=y!=null&&H1(x)&&p===!0,P=O.encodeLocation?O.encodeLocation(x).pathname:x.pathname,M=C.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:E},G=z?r:void 0,Z;typeof l=="function"?Z=l(H):Z=[l,z?"active":null,U?"pending":null,E?"transitioning":null].filter(Boolean).join(" ");let te=typeof c=="function"?c(H):c;return g.createElement(Om,{...v,"aria-current":G,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:C,...y},O)=>{let{unstable_useTransitions:S}=g.useContext(Ut),E=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,G=()=>E(U||z.currentTarget,{fetcherKey:r,method:H,navigate:i,replace:u,state:c,relative:v,preventScrollReset:w,viewTransition:x,unstable_defaultShouldRevalidate:C});S&&i!==!1?g.startTransition(()=>G()):G()};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=Cm(),w=Hr(),x=ws(n,{relative:c});return g.useCallback(C=>{if(m1(C,r)){C.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 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||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 Et(){}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 qt(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],C=n[x],y=r[x];if(C===y){h[x]=C,(l?w<c:K1.call(n,x))&&v++;continue}if(C===null||y===null||typeof C!="object"||typeof y!="object"){h[x]=y;continue}const O=Im(C,y,i+1);h[x]=O,O===C&&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 G1(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 q1(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 Ec=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 E;if(!c()){const P=new Ec(S);C(P),(E=n.onCancel)==null||E.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))},C=S=>{c()||(l==null||l(),u.reject(S))},y=()=>new Promise(S=>{var E;l=P=>{(c()||v())&&S(P)},(E=n.onPause)==null||E.call(n)}).then(()=>{var S;l=void 0,c()||(S=n.onContinue)==null||S.call(n)}),O=()=>{if(c())return;let S;const E=i===0?n.initialPromise:void 0;try{S=E??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){C(P);return}i++,(U=n.onFail)==null||U.call(n,i,P),G1(L).then(()=>v()?void 0:y()).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():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,Yt,uo,st,ps,co,dn,Gn,rm,rw=(rm=class extends zm{constructor(r){super();he(this,dn);he(this,ao);he(this,oi);he(this,Yt);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,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,Gn).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,Gn).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(Et).catch(Et):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(b(this,ao))}isActive(){return this.observers.some(r=>qt(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,Gn).call(this,{type:"invalidate"})}async fetch(r,i){var h,v,w,x,C,y,O,S,E,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,Gn).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 Ec&&L.revert&&this.setState({...b(this,oi),fetchStatus:"idle"}),l.abort()},onFail:(L,z)=>{Pe(this,dn,Gn).call(this,{type:"failed",failureCount:L,error:z})},onPause:()=>{Pe(this,dn,Gn).call(this,{type:"pause"})},onContinue:()=>{Pe(this,dn,Gn).call(this,{type:"continue"})},retry:p.options.retry,retryDelay:p.options.retryDelay,networkMode:p.options.networkMode,canRun:()=>!0}));try{const L=await b(this,st).start();if(L===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(L),(y=(C=b(this,Yt).config).onSuccess)==null||y.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 Ec){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,Gn).call(this,{type:"error",error:L}),(P=(E=b(this,Yt).config).onError)==null||P.call(E,L,this),(R=(M=b(this,Yt).config).onSettled)==null||R.call(M,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,Gn=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,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,Yn);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,Yn,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 qt(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||qt(this.options.enabled,b(this,Ne))!==qt(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,kc).call(this);u&&(b(this,Ne)!==l||qt(this.options.enabled,b(this,Ne))!==qt(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),v=r!==l?r.state:b(this,hs),{state:w}=r;let x={...w},C=!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:E}=x;y=x.data;let P=!1;if(i.placeholderData!==void 0&&y===void 0&&E==="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&&(E="success",y=xc(c==null?void 0:c.data,te,i),C=!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(),E="error");const M=x.fetchStatus==="fetching",R=E==="pending",L=E==="error",z=R&&M,U=y!==void 0,G={status:E,fetchStatus:x.fetchStatus,isPending:R,isSuccess:E==="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:C,isRefetchError:L&&U,isStale:rd(r,i),refetch:this.refetch,promise:b(this,Yn),isEnabled:qt(i.enabled,r)!==!1};if(this.options.experimental_prefetchInRender){const te=G.data!==void 0,pe=G.status==="error"&&!te,X=we=>{pe?we.reject(G.error):te&&we.resolve(G.data)},ve=()=>{const we=J(this,Yn,G.promise=Sc());X(we)},ce=b(this,Yn);switch(ce.status){case"pending":r.queryHash===l.queryHash&&X(ce);break;case"fulfilled":(pe||G.data!==ce.value)&&ve();break;case"rejected":(!pe||G.error!==ce.reason)&&ve();break}}return G}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,Mc).call(this);let i=b(this,Ne).fetch(this.options,r);return r!=null&&r.throwOnError||(i=i.catch(Et)),i},Cc=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||qt(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,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 qt(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(qt(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||qt(l.enabled,n)===!1)&&(!i.suspense||n.state.status!=="error")&&rd(n,i)}function rd(n,r){return qt(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,y,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=((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 E=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 E(pe),pe})(),G=await P(H),{maxPages:Z}=r.options,te=z?q1:Y1;return{pages:te(R.pages,G,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,E;return(E=(S=r.options).persister)==null?void 0:E.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,C,y,O,S,E,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:(G,Z)=>{Pe(this,Nn,Tr).call(this,{type:"failed",failureCount:G,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 G=await b(this,mo).start();return await((v=(h=b(this,vt).config).onSuccess)==null?void 0:v.call(h,G,r,this.state.context,this,l)),await((x=(w=this.options).onSuccess)==null?void 0:x.call(w,G,r,this.state.context,l)),await((y=(C=b(this,vt).config).onSettled)==null?void 0:y.call(C,G,null,this.state.variables,this.state.context,this,l)),await((S=(O=this.options).onSettled)==null?void 0:S.call(O,G,null,r,this.state.context,l)),Pe(this,Nn,Tr).call(this,{type:"success",data:G}),G}catch(G){try{await((P=(E=b(this,vt).config).onError)==null?void 0:P.call(E,G,r,this.state.context,this,l))}catch(Z){Promise.reject(Z)}try{await((R=(M=this.options).onError)==null?void 0:R.call(M,G,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,G,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,G,r,this.state.context,l))}catch(Z){Promise.reject(Z)}throw Pe(this,Nn,Tr).call(this,{type:"error",error:G}),G}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 qn,fn,ys,sm,uw=(sm=class extends yi{constructor(r={}){super();he(this,qn);he(this,fn);he(this,ys);this.config=r,J(this,qn,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,qn).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,qn).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,qn).forEach(r=>{this.notify({type:"removed",mutation:r})}),b(this,qn).clear(),b(this,fn).clear()})}getAll(){return Array.from(b(this,qn))}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(Et))))}},qn=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,C=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,C,y)}catch(O){Promise.reject(O)}try{(f=(c=b(this,Zn)).onSettled)==null||f.call(c,i.data,null,x,C,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,C,y)}catch(O){Promise.reject(O)}try{(w=(v=b(this,Zn)).onSettled)==null||w.call(v,void 0,i.error,x,C,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,qE=(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(Et).catch(Et)}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(Et)),u.state.fetchStatus==="paused"?Promise.resolve():c}));return Promise.all(l).then(Et)}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(Et).catch(Et)}fetchInfiniteQuery(n){return n.behavior=gh(n.pages),this.fetchQuery(n)}prefetchInfiniteQuery(n){return this.fetchInfiniteQuery(n).then(Et).catch(Et)}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},XE=({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 Ew(n,r,i){var C,y,O,S;const l=fw(),u=mw(),c=$m(),f=c.defaultQueryOptions(n);(y=(C=c.getDefaultOptions().queries)==null?void 0:C._experimental_beforeQuery)==null||y.call(C,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(E=>{const P=x?v.subscribe(nt.batchCalls(E)):Et;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 E=h?xh(f,v,u):p==null?void 0:p.promise;E==null||E.catch(Et).finally(()=>{v.updateResult()})}return f.notifyOnChangeProps?w:v.trackResult(w)}function ZE(n,r){return Ew(n,ow)}function JE(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(Et)},[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 eC(){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="-",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)||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:Eh(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,Eh(r,c),i,l)})})},Eh=(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 E=0;E<p.length;E++){let P=p[E];if(v===0){if(P===u&&(l||p.slice(E,E+c)===r)){h.push(p.slice(w,E)),w=E+c;continue}if(P==="/"){x=E;continue}}P==="["?v++:P==="]"&&v--}const C=h.length===0?p:p.substring(w),y=C.startsWith(Km),O=y?C.substring(1):C,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),...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 v=f[h],{modifiers:w,hasImportantModifier:x,baseClassName:C,maybePostfixModifierPosition:y}=i(v);let O=!!y,S=l(O?C.substring(0,y):C);if(!S){if(!O){p=v+(p.length>0?" "+p:p);continue}if(S=l(C),!S){p=v+(p.length>0?" "+p:p);continue}O=!1}const E=Ow(w).join(":"),P=x?E+Km:E,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=Gm(r))&&(l&&(l+=" "),l+=i);return l}const Gm=n=>{if(typeof n=="string")return n;let r,i="";for(let l=0;l<n.length;l++)n[l]&&(r=Gm(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},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",qw),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),Ww=new Set(["length","size","percentage"]),Vw=n=>gi(n,Ww,qm),Qw=n=>gi(n,"position",qm),Kw=new Set(["image","url"]),Gw=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},qw=n=>jw.test(n)&&!Bw.test(n),qm=()=>!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"),C=Ue("gap"),y=Ue("gradientColorStops"),O=Ue("gradientColorStopPositions"),S=Ue("inset"),E=Ue("margin"),P=Ue("opacity"),M=Ue("padding"),R=Ue("saturate"),L=Ue("scale"),z=Ue("sepia"),U=Ue("skew"),H=Ue("space"),G=Ue("translate"),Z=()=>["auto","contain","none"],te=()=>["auto","hidden","clip","visible","scroll"],pe=()=>["auto",Re,r],X=()=>[Re,r],ve=()=>["",Kn,Rr],ce=()=>["auto",Zo,Re],we=()=>["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:ve(),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:[...we(),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:[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:[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:[E]}],mx:[{mx:[E]}],my:[{my:[E]}],ms:[{ms:[E]}],me:[{me:[E]}],mt:[{mt:[E]}],mr:[{mr:[E]}],mb:[{mb:[E]}],ml:[{ml:[E]}],"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:[...we(),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"]},Gw]}],"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: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:[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":[G]}],"translate-y":[{"translate-y":[G]}],"skew-x":[{"skew-x":[U]}],"skew-y":[{"skew-y":[U]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",Re]}],accent:[{accent:["auto",n]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Re]}],"caret-color":[{caret:[n]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":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);/**
|
|
52
|
+
* @license lucide-react v0.462.0 - ISC
|
|
53
|
+
*
|
|
54
|
+
* This source code is licensed under the ISC license.
|
|
55
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
56
|
+
*/const ex=n=>n.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Xm=(...n)=>n.filter((r,i,l)=>!!r&&r.trim()!==""&&l.indexOf(r)===i).join(" ").trim();/**
|
|
57
|
+
* @license lucide-react v0.462.0 - ISC
|
|
58
|
+
*
|
|
59
|
+
* This source code is licensed under the ISC license.
|
|
60
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
61
|
+
*/var tx={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
|
|
62
|
+
* @license lucide-react v0.462.0 - ISC
|
|
63
|
+
*
|
|
64
|
+
* This source code is licensed under the ISC license.
|
|
65
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
66
|
+
*/const 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
|
+
* @license lucide-react v0.462.0 - ISC
|
|
68
|
+
*
|
|
69
|
+
* This source code is licensed under the ISC license.
|
|
70
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
71
|
+
*/const ke=(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
|
+
* @license lucide-react v0.462.0 - ISC
|
|
73
|
+
*
|
|
74
|
+
* This source code is licensed under the ISC license.
|
|
75
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
76
|
+
*/const nC=ke("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
|
+
* @license lucide-react v0.462.0 - ISC
|
|
78
|
+
*
|
|
79
|
+
* This source code is licensed under the ISC license.
|
|
80
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
81
|
+
*/const rC=ke("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);/**
|
|
82
|
+
* @license lucide-react v0.462.0 - ISC
|
|
83
|
+
*
|
|
84
|
+
* This source code is licensed under the ISC license.
|
|
85
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
86
|
+
*/const oC=ke("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/**
|
|
87
|
+
* @license lucide-react v0.462.0 - ISC
|
|
88
|
+
*
|
|
89
|
+
* This source code is licensed under the ISC license.
|
|
90
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
91
|
+
*/const iC=ke("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"}]]);/**
|
|
92
|
+
* @license lucide-react v0.462.0 - ISC
|
|
93
|
+
*
|
|
94
|
+
* This source code is licensed under the ISC license.
|
|
95
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
96
|
+
*/const sC=ke("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"}]]);/**
|
|
97
|
+
* @license lucide-react v0.462.0 - ISC
|
|
98
|
+
*
|
|
99
|
+
* This source code is licensed under the ISC license.
|
|
100
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
101
|
+
*/const lC=ke("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"}]]);/**
|
|
102
|
+
* @license lucide-react v0.462.0 - ISC
|
|
103
|
+
*
|
|
104
|
+
* This source code is licensed under the ISC license.
|
|
105
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
106
|
+
*/const aC=ke("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/**
|
|
107
|
+
* @license lucide-react v0.462.0 - ISC
|
|
108
|
+
*
|
|
109
|
+
* This source code is licensed under the ISC license.
|
|
110
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
111
|
+
*/const uC=ke("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/**
|
|
112
|
+
* @license lucide-react v0.462.0 - ISC
|
|
113
|
+
*
|
|
114
|
+
* This source code is licensed under the ISC license.
|
|
115
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
116
|
+
*/const cC=ke("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);/**
|
|
117
|
+
* @license lucide-react v0.462.0 - ISC
|
|
118
|
+
*
|
|
119
|
+
* This source code is licensed under the ISC license.
|
|
120
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
121
|
+
*/const dC=ke("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);/**
|
|
122
|
+
* @license lucide-react v0.462.0 - ISC
|
|
123
|
+
*
|
|
124
|
+
* This source code is licensed under the ISC license.
|
|
125
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
126
|
+
*/const fC=ke("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"}]]);/**
|
|
127
|
+
* @license lucide-react v0.462.0 - ISC
|
|
128
|
+
*
|
|
129
|
+
* This source code is licensed under the ISC license.
|
|
130
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
131
|
+
*/const pC=ke("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"}]]);/**
|
|
132
|
+
* @license lucide-react v0.462.0 - ISC
|
|
133
|
+
*
|
|
134
|
+
* This source code is licensed under the ISC license.
|
|
135
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
136
|
+
*/const hC=ke("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"}]]);/**
|
|
137
|
+
* @license lucide-react v0.462.0 - ISC
|
|
138
|
+
*
|
|
139
|
+
* This source code is licensed under the ISC license.
|
|
140
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
141
|
+
*/const mC=ke("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"}]]);/**
|
|
142
|
+
* @license lucide-react v0.462.0 - ISC
|
|
143
|
+
*
|
|
144
|
+
* This source code is licensed under the ISC license.
|
|
145
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
146
|
+
*/const vC=ke("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"}]]);/**
|
|
147
|
+
* @license lucide-react v0.462.0 - ISC
|
|
148
|
+
*
|
|
149
|
+
* This source code is licensed under the ISC license.
|
|
150
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
151
|
+
*/const yC=ke("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"}]]);/**
|
|
152
|
+
* @license lucide-react v0.462.0 - ISC
|
|
153
|
+
*
|
|
154
|
+
* This source code is licensed under the ISC license.
|
|
155
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
156
|
+
*/const gC=ke("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"}]]);/**
|
|
157
|
+
* @license lucide-react v0.462.0 - ISC
|
|
158
|
+
*
|
|
159
|
+
* This source code is licensed under the ISC license.
|
|
160
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
161
|
+
*/const wC=ke("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"}]]);/**
|
|
162
|
+
* @license lucide-react v0.462.0 - ISC
|
|
163
|
+
*
|
|
164
|
+
* This source code is licensed under the ISC license.
|
|
165
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
166
|
+
*/const xC=ke("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"}]]);/**
|
|
167
|
+
* @license lucide-react v0.462.0 - ISC
|
|
168
|
+
*
|
|
169
|
+
* This source code is licensed under the ISC license.
|
|
170
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
171
|
+
*/const SC=ke("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"}]]);/**
|
|
172
|
+
* @license lucide-react v0.462.0 - ISC
|
|
173
|
+
*
|
|
174
|
+
* This source code is licensed under the ISC license.
|
|
175
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
176
|
+
*/const EC=ke("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"}]]);/**
|
|
177
|
+
* @license lucide-react v0.462.0 - ISC
|
|
178
|
+
*
|
|
179
|
+
* This source code is licensed under the ISC license.
|
|
180
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
181
|
+
*/const CC=ke("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"}]]);/**
|
|
182
|
+
* @license lucide-react v0.462.0 - ISC
|
|
183
|
+
*
|
|
184
|
+
* This source code is licensed under the ISC license.
|
|
185
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
186
|
+
*/const kC=ke("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"}]]);/**
|
|
187
|
+
* @license lucide-react v0.462.0 - ISC
|
|
188
|
+
*
|
|
189
|
+
* This source code is licensed under the ISC license.
|
|
190
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
191
|
+
*/const bC=ke("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);/**
|
|
192
|
+
* @license lucide-react v0.462.0 - ISC
|
|
193
|
+
*
|
|
194
|
+
* This source code is licensed under the ISC license.
|
|
195
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
196
|
+
*/const RC=ke("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"}]]);/**
|
|
197
|
+
* @license lucide-react v0.462.0 - ISC
|
|
198
|
+
*
|
|
199
|
+
* This source code is licensed under the ISC license.
|
|
200
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
201
|
+
*/const PC=ke("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"}]]);/**
|
|
202
|
+
* @license lucide-react v0.462.0 - ISC
|
|
203
|
+
*
|
|
204
|
+
* This source code is licensed under the ISC license.
|
|
205
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
206
|
+
*/const TC=ke("MessageCircle",[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}]]);/**
|
|
207
|
+
* @license lucide-react v0.462.0 - ISC
|
|
208
|
+
*
|
|
209
|
+
* This source code is licensed under the ISC license.
|
|
210
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
211
|
+
*/const MC=ke("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"}]]);/**
|
|
212
|
+
* @license lucide-react v0.462.0 - ISC
|
|
213
|
+
*
|
|
214
|
+
* This source code is licensed under the ISC license.
|
|
215
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
216
|
+
*/const OC=ke("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"}]]);/**
|
|
217
|
+
* @license lucide-react v0.462.0 - ISC
|
|
218
|
+
*
|
|
219
|
+
* This source code is licensed under the ISC license.
|
|
220
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
221
|
+
*/const NC=ke("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"}]]);/**
|
|
222
|
+
* @license lucide-react v0.462.0 - ISC
|
|
223
|
+
*
|
|
224
|
+
* This source code is licensed under the ISC license.
|
|
225
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
226
|
+
*/const _C=ke("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"}]]);/**
|
|
227
|
+
* @license lucide-react v0.462.0 - ISC
|
|
228
|
+
*
|
|
229
|
+
* This source code is licensed under the ISC license.
|
|
230
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
231
|
+
*/const LC=ke("Play",[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]]);/**
|
|
232
|
+
* @license lucide-react v0.462.0 - ISC
|
|
233
|
+
*
|
|
234
|
+
* This source code is licensed under the ISC license.
|
|
235
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
236
|
+
*/const IC=ke("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);/**
|
|
237
|
+
* @license lucide-react v0.462.0 - ISC
|
|
238
|
+
*
|
|
239
|
+
* This source code is licensed under the ISC license.
|
|
240
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
241
|
+
*/const AC=ke("Power",[["path",{d:"M12 2v10",key:"mnfbl"}],["path",{d:"M18.4 6.6a9 9 0 1 1-12.77.04",key:"obofu9"}]]);/**
|
|
242
|
+
* @license lucide-react v0.462.0 - ISC
|
|
243
|
+
*
|
|
244
|
+
* This source code is licensed under the ISC license.
|
|
245
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
246
|
+
*/const DC=ke("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"}]]);/**
|
|
247
|
+
* @license lucide-react v0.462.0 - ISC
|
|
248
|
+
*
|
|
249
|
+
* This source code is licensed under the ISC license.
|
|
250
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
251
|
+
*/const FC=ke("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"}]]);/**
|
|
252
|
+
* @license lucide-react v0.462.0 - ISC
|
|
253
|
+
*
|
|
254
|
+
* This source code is licensed under the ISC license.
|
|
255
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
256
|
+
*/const zC=ke("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);/**
|
|
257
|
+
* @license lucide-react v0.462.0 - ISC
|
|
258
|
+
*
|
|
259
|
+
* This source code is licensed under the ISC license.
|
|
260
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
261
|
+
*/const jC=ke("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"}]]);/**
|
|
262
|
+
* @license lucide-react v0.462.0 - ISC
|
|
263
|
+
*
|
|
264
|
+
* This source code is licensed under the ISC license.
|
|
265
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
266
|
+
*/const BC=ke("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"}]]);/**
|
|
267
|
+
* @license lucide-react v0.462.0 - ISC
|
|
268
|
+
*
|
|
269
|
+
* This source code is licensed under the ISC license.
|
|
270
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
271
|
+
*/const UC=ke("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"}]]);/**
|
|
272
|
+
* @license lucide-react v0.462.0 - ISC
|
|
273
|
+
*
|
|
274
|
+
* This source code is licensed under the ISC license.
|
|
275
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
276
|
+
*/const HC=ke("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"}]]);/**
|
|
277
|
+
* @license lucide-react v0.462.0 - ISC
|
|
278
|
+
*
|
|
279
|
+
* This source code is licensed under the ISC license.
|
|
280
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
281
|
+
*/const $C=ke("Store",[["path",{d:"m2 7 4.41-4.41A2 2 0 0 1 7.83 2h8.34a2 2 0 0 1 1.42.59L22 7",key:"ztvudi"}],["path",{d:"M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8",key:"1b2hhj"}],["path",{d:"M15 22v-4a2 2 0 0 0-2-2h-2a2 2 0 0 0-2 2v4",key:"2ebpfo"}],["path",{d:"M2 7h20",key:"1fcdvo"}],["path",{d:"M22 7v3a2 2 0 0 1-2 2a2.7 2.7 0 0 1-1.59-.63.7.7 0 0 0-.82 0A2.7 2.7 0 0 1 16 12a2.7 2.7 0 0 1-1.59-.63.7.7 0 0 0-.82 0A2.7 2.7 0 0 1 12 12a2.7 2.7 0 0 1-1.59-.63.7.7 0 0 0-.82 0A2.7 2.7 0 0 1 8 12a2.7 2.7 0 0 1-1.59-.63.7.7 0 0 0-.82 0A2.7 2.7 0 0 1 4 12a2 2 0 0 1-2-2V7",key:"6c3vgh"}]]);/**
|
|
282
|
+
* @license lucide-react v0.462.0 - ISC
|
|
283
|
+
*
|
|
284
|
+
* This source code is licensed under the ISC license.
|
|
285
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
286
|
+
*/const WC=ke("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"}]]);/**
|
|
287
|
+
* @license lucide-react v0.462.0 - ISC
|
|
288
|
+
*
|
|
289
|
+
* This source code is licensed under the ISC license.
|
|
290
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
291
|
+
*/const VC=ke("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"}]]);/**
|
|
292
|
+
* @license lucide-react v0.462.0 - ISC
|
|
293
|
+
*
|
|
294
|
+
* This source code is licensed under the ISC license.
|
|
295
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
296
|
+
*/const QC=ke("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"}]]);/**
|
|
297
|
+
* @license lucide-react v0.462.0 - ISC
|
|
298
|
+
*
|
|
299
|
+
* This source code is licensed under the ISC license.
|
|
300
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
301
|
+
*/const KC=ke("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 GC(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:C,children:y,...O}=x,S=((P=C==null?void 0:C[n])==null?void 0:P[h])||p,E=g.useMemo(()=>O,Object.values(O));return ee.jsx(S.Provider,{value:E,children:y})};v.displayName=c+"Provider";function w(x,C){var S;const y=((S=C==null?void 0:C[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 YC(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:E,children:P}=S,M=q.useRef(null),R=q.useRef(new Map).current;return ee.jsx(u,{scope:E,itemMap:R,collectionRef:M,children:P})};f.displayName=r;const p=n+"CollectionSlot",h=ea(p),v=q.forwardRef((S,E)=>{const{scope:P,children:M}=S,R=c(p,P),L=ct(E,R.collectionRef);return ee.jsx(h,{ref:L,children:M})});v.displayName=p;const w=n+"CollectionItemSlot",x="data-radix-collection-item",C=ea(w),y=q.forwardRef((S,E)=>{const{scope:P,children:M,...R}=S,L=q.useRef(null),z=ct(E,L),U=c(w,P);return q.useEffect(()=>(U.itemMap.set(L,{ref:L,...R}),()=>void U.itemMap.delete(L))),ee.jsx(C,{[x]:"",ref:z,children:M})});y.displayName=w;function O(S){const E=c(n+"CollectionConsumer",S);return q.useCallback(()=>{const M=E.collectionRef.current;if(!M)return[];const R=Array.from(M.querySelectorAll(`[${x}]`));return Array.from(E.itemMap.values()).sort((U,H)=>R.indexOf(U.ref.current)-R.indexOf(H.ref.current))},[E.collectionRef,E.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),C=(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),[E]=[...v.layersWithOutsidePointerEventsDisabled].slice(-1),P=S.indexOf(E),M=w?S.indexOf(w):-1,R=v.layersWithOutsidePointerEventsDisabled.size>0,L=M>=P,z=wx(H=>{const G=H.target,Z=[...v.branches].some(te=>te.contains(G));!L||Z||(u==null||u(H),f==null||f(H),H.defaultPrevented||p==null||p())},C),U=xx(H=>{const G=H.target;[...v.branches].some(te=>te.contains(G))||(c==null||c(H),f==null||f(H),H.defaultPrevented||p==null||p())},C);return px(H=>{M===v.layers.size-1&&(l==null||l(H),!H.defaultPrevented&&p&&(H.preventDefault(),p()))},C),g.useEffect(()=>{if(w)return i&&(v.layersWithOutsidePointerEventsDisabled.size===0&&(bh=C.body.style.pointerEvents,C.body.style.pointerEvents="none"),v.layersWithOutsidePointerEventsDisabled.add(w)),v.layers.add(w),Rh(),()=>{i&&v.layersWithOutsidePointerEventsDisabled.size===1&&(C.body.style.pointerEvents=bh)}},[w,C,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},Ex="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),C=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})},E=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",E);const M=new MutationObserver(P);return p&&M.observe(p,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",S),document.removeEventListener("focusout",E),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||(Cx(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 E=S.key==="Tab"&&!S.altKey&&!S.ctrlKey&&!S.metaKey,P=document.activeElement;if(E&&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:C,onKeyDown:O})});rv.displayName=Ex;function Cx(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,C=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]-=C*(i&&v?-1:1);break;case"end":y[f]+=C*(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:C=!1,padding:y=0}=nr(r,n),O=iv(y),E=p[C?x==="floating"?"reference":"floating":x],P=ra(await c.getClippingRect({element:(i=await(c.isElement==null?void 0:c.isElement(E)))==null||i?E:E.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),C=l,y={},O=0;for(let E=0;E<p.length;E++){var S;const{name:P,fn:M}=p[E],{x:R,y:L,data:z,reset:U}=await M({x:w,y:x,initialPlacement:l,placement:C,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&&(C=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,C,h)),E=-1)}return{x:w,y:x,placement:C,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),C={x:i,y:l},y=ud(u),O=ad(y),S=await f.getDimensions(v),E=y==="y",P=E?"top":"left",M=E?"bottom":"right",R=E?"clientHeight":"clientWidth",L=c.reference[O]+c.reference[y]-C[y]-c.floating[O],z=C[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 G=L/2-z/2,Z=H/2-S[O]/2-1,te=Br(x[P],Z),pe=Br(x[M],Z),X=te,ve=H-S[O]-pe,ce=H/2-S[O]/2+G,we=Ic(X,ce,ve),ae=!h.arrow&&wi(u)!=null&&ce!==we&&c.reference[O]/2-(ce<X?te:pe)-S[O]/2<0,ie=ae?ce<X?ce-X:ce-ve:0;return{[y]:C[y]+ie,data:{[y]:we,centerOffset:ce-we-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:C,fallbackStrategy:y="bestFit",fallbackAxisSideDirection:O="none",flipAlignment:S=!0,...E}=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=C||(R||!S?[na(p)]:Dx(p)),U=O!=="none";!C&&U&&z.push(...Bx(p,S,O,L));const H=[p,...z],G=await h.detectOverflow(r,E),Z=[];let te=((l=c.flip)==null?void 0:l.overflows)||[];if(w&&Z.push(G[P]),x){const ce=Ax(u,f,L);Z.push(G[ce[0]],G[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,we=H[ce];if(we&&(!(x==="alignment"?M!==In(we):!1)||te.every(j=>In(j.placement)===M?j.overflows[0]>0:!0)))return{data:{index:ce,overflows:te},reset:{placement:we}};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 ve;const ie=(ve=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: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{}}}}},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:C,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:C*v}:{x:C*v,y:y*w}}const Gx=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:M,y:R}=P;return{x:M,y:R}}},...v}=nr(n,r),w={x:i,y:l},x=await c.detectOverflow(r,v),C=In(rr(u)),y=ld(C);let O=w[y],S=w[C];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=C==="y"?"top":"left",M=C==="y"?"bottom":"right",R=S+x[P],L=S-x[M];S=Ic(R,S,L)}const E=h.fn({...r,[y]:O,[C]:S});return{...E,data:{x:E.x-i,y:E.y-l,enabled:{[y]:f,[C]:p}}}}}},qx=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),C=ld(x);let y=w[C],O=w[x];const S=nr(p,r),E=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]+E.mainAxis,z=c.reference[C]+c.reference[R]-E.mainAxis;y<L?y=L:y>z&&(y=z)}if(v){var P,M;const R=C==="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:E.crossAxis),U=c.reference[x]+c.reference[R]+(L?0:((M=f.offset)==null?void 0:M[x])||0)-(L?E.crossAxis:0);O<z?O=z:O>U&&(O=U)}return{[C]: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),C=wi(u),y=In(u)==="y",{width:O,height:S}=c.floating;let E,P;x==="top"||x==="bottom"?(E=x,P=C===(await(f.isRTL==null?void 0:f.isRTL(p.floating))?"start":"end")?"left":"right"):(P=x,E=C==="end"?"top":"bottom");const M=S-w.top-w.bottom,R=O-w.left-w.right,L=Br(S-w[E],M),z=Br(O-w[P],R),U=!r.middlewareData.shift;let H=L,G=z;if((i=r.middlewareData.shift)!=null&&i.enabled.x&&(G=R),(l=r.middlewareData.shift)!=null&&l.enabled.y&&(H=M),U&&!C){const te=jt(w.left,0),pe=jt(w.right,0),X=jt(w.top,0),ve=jt(w.bottom,0);y?G=O-2*(te!==0||pe!==0?te+pe:jt(w.left,w.right)):H=S-2*(X!==0||ve!==0?X+ve:jt(w.top,w.bottom))}await h({...r,availableWidth:G,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 C=Bt(c),y=l&&hn(l)?Bt(l):l;let O=C,S=Dc(O);for(;S&&l&&y!==O;){const E=Jo(S),P=S.getBoundingClientRect(),M=mn(S),R=P.left+(S.clientLeft+parseFloat(M.paddingLeft))*E.x,L=P.top+(S.clientTop+parseFloat(M.paddingTop))*E.y;h*=E.x,v*=E.y,w*=E.x,x*=E.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 C=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+C.x,y:i.y*v.y-h.scrollTop*v.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 v=da(l);if(v<=0){const w=l.ownerDocument,x=w.body,C=getComputedStyle(x),y=w.compatMode==="CSS1Compat"&&parseFloat(C.marginLeft)+parseFloat(C.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,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 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 ES(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:C,height:y}=v;if(p||r(),!C||!y)return;const O=jl(x),S=jl(u.clientWidth-(w+C)),E=jl(u.clientHeight-(x+y)),P=jl(w),R={rootMargin:-O+"px "+-S+"px "+-E+"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 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,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?ES(v,i):null;let C=-1,y=null;f&&(y=new ResizeObserver(P=>{let[M]=P;M&&M.target===v&&y&&(y.unobserve(r),cancelAnimationFrame(C),C=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&&E();function E(){const P=wo(n);S&&!hv(S,P)&&i(),S=P,O=requestAnimationFrame(E)}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=Gx,bS=Yx,RS=Vx,PS=Xx,TS=Qx,Uh=Wx,MS=qx,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(){},Gl=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 Gl(()=>{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}),[C,y]=g.useState(l);oa(C,l)||y(l);const[O,S]=g.useState(null),[E,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||E,U=g.useRef(null),H=g.useRef(null),G=g.useRef(w),Z=h!=null,te=dc(h),pe=dc(u),X=dc(v),ve=g.useCallback(()=>{if(!U.current||!H.current)return;const j={placement:r,strategy:i,middleware:C};pe.current&&(j.platform=pe.current),OS(U.current,H.current,j).then(B=>{const V={...B,isPositioned:X.current!==!1};ce.current&&!oa(G.current,V)&&(G.current=V,xs.flushSync(()=>{x(V)}))})},[C,r,i,pe,X]);Gl(()=>{v===!1&&G.current.isPositioned&&(G.current.isPositioned=!1,x(j=>({...j,isPositioned:!1})))},[v]);const ce=g.useRef(!1);Gl(()=>(ce.current=!0,()=>{ce.current=!1}),[]),Gl(()=>{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 we=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:ve,refs:we,elements:ae,floatingStyles:ie}),[w,ve,we,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",Ev=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})});Ev.displayName=Sv;var hd="PopperContent",[QS,KS]=yv(hd),Cv=g.forwardRef((n,r)=>{var K,fe,Se,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:C=!1,updatePositionStrategy:y="optimized",onPlaced:O,...S}=n,E=wv(hd,i),[P,M]=g.useState(null),R=ct(r,Ge=>M(Ge)),[L,z]=g.useState(null),U=WS(L),H=(U==null?void 0:U.width)??0,G=(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,ve={padding:te,boundary:pe.filter(YS),altBoundary:X},{refs:ce,floatingStyles:we,placement:ae,isPositioned:ie,middlewareData:j}=LS({strategy:"fixed",placement:Z,whileElementsMounted:(...Ge)=>CS(...Ge,{animationFrame:y==="always"}),elements:{reference:E.anchor},middleware:[AS({mainAxis:u+G,alignmentAxis:f}),h&&DS({mainAxis:!0,crossAxis:!1,limiter:x==="partial"?FS():void 0,...ve}),h&&zS({...ve}),jS({...ve,apply:({elements:Ge,rects:dt,availableWidth:yn,availableHeight:Xt})=>{const{width:Zt,height:or}=dt.reference,gn=Ge.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}),qS({arrowWidth:H,arrowHeight:G}),C&&BS({strategy:"referenceHidden",...ve})]}),[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=((Se=j.arrow)==null?void 0:Se.centerOffset)!==0,[me,xe]=g.useState();return It(()=>{P&&xe(window.getComputedStyle(P).zIndex)},[P]),ee.jsx("div",{ref:ce.setFloating,"data-radix-popper-content-wrapper":"",style:{...we,transform:ie?we.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:me,"--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"}})})})});Cv.displayName=hd;var kv="PopperArrow",GS={top:"bottom",right:"left",bottom:"top",left:"right"},bv=g.forwardRef(function(r,i){const{__scopePopper:l,...u}=r,c=KS(kv,l),f=GS[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 YS(n){return n!==null}var qS=n=>({name:"transformOrigin",options:n,fn(r){var E,P,M;const{placement:i,rects:l,middlewareData:u}=r,f=((E=u.arrow)==null?void 0:E.centerOffset)!==0,p=f?0:n.arrowWidth,h=f?0:n.arrowHeight,[v,w]=Rv(i),x={start:"0%",center:"50%",end:"100%"}[w],C=(((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:`${C}px`,S=`${-h}px`):v==="top"?(O=f?x:`${C}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=Ev,JS=Cv,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 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,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 qC=Mv,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,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(C){if(p.has(C))w(C);else try{var y=C.getAttribute(l),O=y!==null&&y!=="false",S=(Yo.get(C)||0)+1,E=(c.get(C)||0)+1;Yo.set(C,S),c.set(C,E),f.push(C),S===1&&O&&Bl.set(C,!0),E===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,y=c.get(x)-1;Yo.set(x,C),c.set(x,y),C||(Bl.has(x)||x.removeAttribute(l),Bl.delete(x)),y||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 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 Yl="right-scroll-bar-position",ql="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,C=n.sideCar,y=n.noRelative,O=n.noIsolation,S=n.inert,E=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=C,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:!!E,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:ql,zeroRight:Yl};var S2=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function E2(){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 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=E2())&&(C2(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"),`
|
|
302
|
+
.`.concat(f2,` {
|
|
303
|
+
overflow: hidden `).concat(l,`;
|
|
304
|
+
padding-right: `).concat(p,"px ").concat(l,`;
|
|
305
|
+
}
|
|
306
|
+
body[`).concat(ei,`] {
|
|
307
|
+
overflow: hidden `).concat(l,`;
|
|
308
|
+
overscroll-behavior: contain;
|
|
309
|
+
`).concat([r&&"position: relative ".concat(l,";"),i==="margin"&&`
|
|
310
|
+
padding-left: `.concat(u,`px;
|
|
311
|
+
padding-top: `).concat(c,`px;
|
|
312
|
+
padding-right: `).concat(f,`px;
|
|
313
|
+
margin-left:0;
|
|
314
|
+
margin-top:0;
|
|
315
|
+
margin-right: `).concat(p,"px ").concat(l,`;
|
|
316
|
+
`),i==="padding"&&"padding-right: ".concat(p,"px ").concat(l,";")].filter(Boolean).join(""),`
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
.`).concat(Yl,` {
|
|
320
|
+
right: `).concat(p,"px ").concat(l,`;
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
.`).concat(ql,` {
|
|
324
|
+
margin-right: `).concat(p,"px ").concat(l,`;
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
.`).concat(Yl," .").concat(Yl,` {
|
|
328
|
+
right: 0 `).concat(l,`;
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
.`).concat(ql," .").concat(ql,` {
|
|
332
|
+
margin-right: 0 `).concat(l,`;
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
body[`).concat(ei,`] {
|
|
336
|
+
`).concat(p2,": ").concat(p,`px;
|
|
337
|
+
}
|
|
338
|
+
`)},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 qo=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,C=0;do{if(!p)break;var y=Fv(n,p),O=y[0],S=y[1],E=y[2],P=S-E-c*O;(O||P)&&Dv(n,p)&&(x+=P,C+=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(C)<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]},Gh=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`
|
|
339
|
+
.block-interactivity-`.concat(n,` {pointer-events: none;}
|
|
340
|
+
.allow-interactivity-`).concat(n,` {pointer-events: all;}
|
|
341
|
+
`)},$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(Gh),!0).filter(Boolean);return S.forEach(function(E){return E.classList.add("allow-interactivity-".concat(u))}),function(){document.body.classList.remove("block-interactivity-".concat(u)),S.forEach(function(E){return E.classList.remove("allow-interactivity-".concat(u))})}}},[n.inert,n.lockRef.current,n.shards]);var p=g.useCallback(function(S,E){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 G=window.getSelection(),Z=G&&G.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,E,S,X==="h"?R:L)},[]),h=g.useCallback(function(S){var E=S;if(!(!Xo.length||Xo[Xo.length-1]!==c)){var P="deltaY"in E?Kh(E):$l(E),M=r.current.filter(function(z){return z.name===E.type&&(z.target===E.target||E.target===z.shadowParent)&&U2(z.delta,P)})[0];if(M&&M.should){E.cancelable&&E.preventDefault();return}if(!M){var R=(f.current.shards||[]).map(Gh).filter(Boolean).filter(function(z){return z.contains(E.target)}),L=R.length>0?p(E,R[0]):!f.current.noIsolation;L&&E.cancelable&&E.preventDefault()}}},[]),v=g.useCallback(function(S,E,P,M){var R={name:S,delta:E,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))},[]),C=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:C}),document.addEventListener("wheel",h,qo),document.addEventListener("touchmove",h,qo),document.addEventListener("touchstart",w,qo),function(){Xo=Xo.filter(function(S){return S!==c}),document.removeEventListener("wheel",h,qo),document.removeEventListener("touchmove",h,qo),document.removeEventListener("touchstart",w,qo)}},[]);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"],G2=[" ","Enter"],xo="Select",[pa,ha,Y2]=ax(xo),[Si]=id(xo,[Y2,gv]),ma=gv(),[q2,$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:C,required:y,form:O}=n,S=ma(r),[E,P]=g.useState(null),[M,R]=g.useState(null),[L,z]=g.useState(!1),U=cx(v),[H,G]=$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=E?O||!!E.closest("form"):!0,[ve,ce]=g.useState(new Set),we=Array.from(ve).map(ae=>ae.props.value).join(";");return ee.jsx(XS,{...S,children:ee.jsxs(q2,{required:y,scope:r,trigger:E,onTriggerChange:P,valueNode:M,onValueNodeChange:R,valueNodeHasChildren:L,onValueNodeHasChildrenChange:z,contentId:sd(),value:Z,onValueChange:te,open:H,onOpenChange:G,dir:U,triggerPointerDownPosRef:pe,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(uy,{"aria-hidden":!0,required:y,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)]},we):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,C,y]=dy(S=>{const E=v().filter(R=>!R.disabled),P=E.find(R=>R.value===f.value),M=fy(E,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 E=S.target;E.hasPointerCapture(S.pointerId)&&E.releasePointerCapture(S.pointerId),S.button===0&&S.ctrlKey===!1&&S.pointerType==="mouse"&&(O(S),S.preventDefault())}),onKeyDown:Je(u.onKeyDown,S=>{const E=x.current!=="";!(S.ctrlKey||S.altKey||S.metaKey)&&S.key.length===1&&C(S.key),!(E&&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 eE="SelectPortal",Vv=n=>ee.jsx(Pv,{asChild:!0,...n});Vv.displayName=eE;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(Gv,{...n,ref:r})});Qv.displayName=So;var cn=10,[Kv,Wr]=Si(So),tE="SelectContentImpl",nE=ea("SelectContent.RemoveScroll"),Gv=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:C,collisionPadding:y,sticky:O,hideWhenDetached:S,avoidCollisions:E,...P}=n,M=$r(So,i),[R,L]=g.useState(null),[z,U]=g.useState(null),H=ct(r,K=>L(K)),[G,Z]=g.useState(null),[te,pe]=g.useState(null),X=ha(i),[ve,ce]=g.useState(!1),we=g.useRef(!1);g.useEffect(()=>{if(R)return c2(R)},[R]),Sx();const ae=g.useCallback(K=>{const[fe,...Se]=X().map(Oe=>Oe.ref.current),[be]=Se.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([G,R]),[ae,G,R]);g.useEffect(()=>{ve&&ie()},[ve,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))}},Se=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",Se,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",fe),document.removeEventListener("pointerup",Se,{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),Se=fe.find(Te=>Te.ref.current===document.activeElement),be=fy(fe,K,Se);be&&setTimeout(()=>be.ref.current.focus())}),F=g.useCallback((K,fe,Se)=>{const be=!we.current&&!Se;(M.value!==void 0&&M.value===fe||be)&&(Z(K),be&&(we.current=!0))},[M.value]),ne=g.useCallback(()=>R==null?void 0:R.focus(),[R]),re=g.useCallback((K,fe,Se)=>{const be=!we.current&&!Se;(M.value!==void 0&&M.value===fe||be)&&pe(K)},[M.value]),me=l==="popper"?zc:Yv,xe=me===zc?{side:p,sideOffset:h,align:v,alignOffset:w,arrowPadding:x,collisionBoundary:C,collisionPadding:y,sticky:O,hideWhenDetached:S,avoidCollisions:E}:{};return ee.jsx(Kv,{scope:i,content:R,viewport:z,onViewportChange:U,itemRefCallback:F,selectedItem:G,onItemLeave:ne,itemTextRefCallback:re,focusSelectedItem:ie,selectedItemText:te,position:l,isPositioned:ve,searchRef:V,children:ee.jsx(zv,{as:nE,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(me,{role:"listbox",id:M.contentId,"data-state":M.open?"open":"closed",dir:M.dir,onContextMenu:K=>K.preventDefault(),...P,...xe,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()}})})})})})})});Gv.displayName=tE;var rE="SelectItemAlignedPosition",Yv=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)),C=ha(i),y=g.useRef(!1),O=g.useRef(!0),{viewport:S,selectedItem:E,selectedItemText:P,focusSelectedItem:M}=f,R=g.useCallback(()=>{if(c.trigger&&c.valueNode&&p&&v&&S&&E&&P){const H=c.trigger.getBoundingClientRect(),G=v.getBoundingClientRect(),Z=c.valueNode.getBoundingClientRect(),te=P.getBoundingClientRect();if(c.dir!=="rtl"){const Te=te.left-G.left,Oe=Z.left-Te,Ge=H.left-Oe,dt=H.width+Ge,yn=Math.max(dt,G.width),Xt=window.innerWidth-cn,Zt=Ch(Oe,[cn,Math.max(cn,Xt-yn)]);p.style.minWidth=dt+"px",p.style.left=Zt+"px"}else{const Te=G.right-te.right,Oe=window.innerWidth-Z.right-Te,Ge=window.innerWidth-H.right-Oe,dt=H.width+Ge,yn=Math.max(dt,G.width),Xt=window.innerWidth-cn,Zt=Ch(Oe,[cn,Math.max(cn,Xt-yn)]);p.style.minWidth=dt+"px",p.style.right=Zt+"px"}const pe=C(),X=window.innerHeight-cn*2,ve=S.scrollHeight,ce=window.getComputedStyle(v),we=parseInt(ce.borderTopWidth,10),ae=parseInt(ce.paddingTop,10),ie=parseInt(ce.borderBottomWidth,10),j=parseInt(ce.paddingBottom,10),B=we+ae+ve+j+ie,V=Math.min(E.offsetHeight*5,B),N=window.getComputedStyle(S),F=parseInt(N.paddingTop,10),ne=parseInt(N.paddingBottom,10),re=H.top+H.height/2-cn,me=X-re,xe=E.offsetHeight/2,K=E.offsetTop+xe,fe=we+ae+K,Se=B-fe;if(fe<=re){const Te=pe.length>0&&E===pe[pe.length-1].ref.current;p.style.bottom="0px";const Oe=v.clientHeight-S.offsetTop-S.offsetHeight,Ge=Math.max(me,xe+(Te?ne:0)+Oe+ie),dt=fe+Ge;p.style.height=dt+"px"}else{const Te=pe.length>0&&E===pe[0].ref.current;p.style.top="0px";const Ge=Math.max(re,we+S.offsetTop+(Te?F:0)+xe)+Se;p.style.height=Ge+"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)}},[C,c.trigger,c.valueNode,p,v,S,E,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(iE,{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}})})})});Yv.displayName=rE;var oE="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=oE;var[iE,md]=Si(So,{}),jc="SelectViewport",qv=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:C}=f;if(C!=null&&C.current&&x){const y=Math.abs(h.current-w.scrollTop);if(y>0){const O=window.innerHeight-cn*2,S=parseFloat(x.style.minHeight),E=parseFloat(x.style.height),P=Math.max(S,E);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})})})]})});qv.displayName=jc;var Xv="SelectGroup",[sE,lE]=Si(Xv),aE=g.forwardRef((n,r)=>{const{__scopeSelect:i,...l}=n,u=sd();return ee.jsx(sE,{scope:i,id:u,children:ee.jsx(Xe.div,{role:"group","aria-labelledby":u,...l,ref:r})})});aE.displayName=Xv;var Zv="SelectLabel",Jv=g.forwardRef((n,r)=>{const{__scopeSelect:i,...l}=n,u=lE(Zv,i);return ee.jsx(Xe.div,{id:u.id,...l,ref:r})});Jv.displayName=Zv;var ia="SelectItem",[uE,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??""),[C,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(),E=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(uE,{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":C?"":void 0,"aria-selected":v&&C,"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,()=>{E.current!=="mouse"&&P()}),onPointerUp:Je(f.onPointerUp,()=>{E.current==="mouse"&&P()}),onPointerDown:Je(f.onPointerDown,M=>{E.current=M.pointerType}),onPointerMove:Je(f.onPointerMove,M=>{var R;E.current=M.pointerType,u?(R=h.onItemLeave)==null||R.call(h):E.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===" "||(G2.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),C=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:E}=v;return It(()=>(S(O),()=>E(O)),[S,E,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]})});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()})})}),cE="SelectSeparator",ay=g.forwardRef((n,r)=>{const{__scopeSelect:i,...l}=n;return ee.jsx(Xe.div,{"aria-hidden":!0,...l,ref:r})});ay.displayName=cE;var Hc="SelectArrow",dE=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});dE.displayName=Hc;var fE="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=fE;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=pE(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 pE(n,r){return n.map((i,l)=>n[(r+l)%n.length])}var XC=jv,ZC=Uv,JC=$v,ek=Wv,tk=Vv,nk=Qv,rk=qv,ok=Jv,ik=ty,sk=ny,lk=oy,ak=iy,uk=sy,ck=ay;const Yh=n=>{let r;const i=new Set,l=(v,w)=>{const x=typeof v=="function"?v(r):v;if(!Object.is(x,r)){const C=r;r=w??(typeof x!="object"||x===null)?x:Object.assign({},r,x),i.forEach(y=>y(r,C))}},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},hE=(n=>n?Yh(n):Yh),mE=n=>n;function vE(n,r=mE){const i=q.useSyncExternalStore(n.subscribe,q.useCallback(()=>r(n.getState()),[n,r]),q.useCallback(()=>r(n.getInitialState()),[n,r]));return q.useDebugValue(i),i}const qh=n=>{const r=hE(n),i=l=>vE(r,l);return Object.assign(i,r),i},dk=(n=>n?qh(n):qh);var yE=n=>{switch(n){case"success":return xE;case"info":return EE;case"warning":return SE;case"error":return CE;default:return null}},gE=Array(12).fill(0),wE=({visible:n,className:r})=>q.createElement("div",{className:["sonner-loading-wrapper",r].filter(Boolean).join(" "),"data-visible":n},q.createElement("div",{className:"sonner-spinner"},gE.map((i,l)=>q.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${l}`})))),xE=q.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},q.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"})),SE=q.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},q.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"})),EE=q.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},q.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"})),CE=q.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},q.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"})),kE=q.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"},q.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),q.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),bE=()=>{let[n,r]=q.useState(document.hidden);return q.useEffect(()=>{let i=()=>{r(document.hidden)};return document.addEventListener("visibilitychange",i),()=>window.removeEventListener("visibilitychange",i)},[]),n},$c=1,RE=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],q.isValidElement(h))u=!1,this.create({id:i,type:"default",message:h});else if(TE(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 RE,PE=(n,r)=>{let i=(r==null?void 0:r.id)||$c++;return Lt.addToast({title:n,...r,id:i}),i},TE=n=>n&&typeof n=="object"&&"ok"in n&&typeof n.ok=="boolean"&&"status"in n&&typeof n.status=="number",ME=PE,OE=()=>Lt.toasts,NE=()=>Lt.getActiveToasts(),fk=Object.assign(ME,{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:OE,getToasts:NE});function _E(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))}_E(`: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%)}
|
|
342
|
+
`);function Wl(n){return n.label!==void 0}var LE=3,IE="32px",AE="16px",Xh=4e3,DE=356,FE=14,zE=20,jE=200;function un(...n){return n.filter(Boolean).join(" ")}function BE(n){let[r,i]=n.split("-"),l=[];return r&&l.push(r),i&&l.push(i),l}var UE=n=>{var r,i,l,u,c,f,p,h,v,w,x;let{invert:C,toast:y,unstyled:O,interacting:S,setHeights:E,visibleToasts:P,heights:M,index:R,toasts:L,expanded:z,removeToast:U,defaultRichColors:H,closeButton:G,style:Z,cancelButtonStyle:te,actionButtonStyle:pe,className:X="",descriptionClassName:ve="",duration:ce,position:we,gap:ae,loadingIcon:ie,expandByDefault:j,classNames:B,icons:V,closeButtonAriaLabel:N="Close toast",pauseWhenPageIsHidden:F}=n,[ne,re]=q.useState(null),[me,xe]=q.useState(null),[K,fe]=q.useState(!1),[Se,be]=q.useState(!1),[Te,Oe]=q.useState(!1),[Ge,dt]=q.useState(!1),[yn,Xt]=q.useState(!1),[Zt,or]=q.useState(0),[gn,ir]=q.useState(0),Ht=q.useRef(y.duration||ce||Xh),Eo=q.useRef(null),wn=q.useRef(null),Es=R===0,Cs=R+1<=P,yt=y.type,xn=y.dismissible!==!1,Co=y.className||"",ks=y.descriptionClassName||"",Sn=q.useMemo(()=>M.findIndex(Ce=>Ce.toastId===y.id)||0,[M,y.id]),Vr=q.useMemo(()=>{var Ce;return(Ce=y.closeButton)!=null?Ce:G},[y.closeButton,G]),bs=q.useMemo(()=>y.duration||ce||Xh,[y.duration,ce]),ko=q.useRef(0),zn=q.useRef(0),Rs=q.useRef(0),En=q.useRef(null),[Ei,Ci]=we.split("-"),bo=q.useMemo(()=>M.reduce((Ce,Ie,Fe)=>Fe>=Sn?Ce:Ce+Ie.height,0),[M,Sn]),Ro=bE(),sr=y.invert||C,Cn=yt==="loading";zn.current=q.useMemo(()=>Sn*ae+bo,[Sn,bo]),q.useEffect(()=>{Ht.current=bs},[bs]),q.useEffect(()=>{fe(!0)},[]),q.useEffect(()=>{let Ce=wn.current;if(Ce){let Ie=Ce.getBoundingClientRect().height;return ir(Ie),E(Fe=>[{toastId:y.id,height:Ie,position:y.position},...Fe]),()=>E(Fe=>Fe.filter(gt=>gt.toastId!==y.id))}},[E,y.id]),q.useLayoutEffect(()=>{if(!K)return;let Ce=wn.current,Ie=Ce.style.height;Ce.style.height="auto";let Fe=Ce.getBoundingClientRect().height;Ce.style.height=Ie,ir(Fe),E(gt=>gt.find(Ct=>Ct.toastId===y.id)?gt.map(Ct=>Ct.toastId===y.id?{...Ct,height:Fe}:Ct):[{toastId:y.id,height:Fe,position:y.position},...gt])},[K,y.title,y.description,E,y.id]);let Jt=q.useCallback(()=>{be(!0),or(zn.current),E(Ce=>Ce.filter(Ie=>Ie.toastId!==y.id)),setTimeout(()=>{U(y)},jE)},[y,U,E,zn]);q.useEffect(()=>{if(y.promise&&yt==="loading"||y.duration===1/0||y.type==="loading")return;let Ce;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(),Ce=setTimeout(()=>{var Ie;(Ie=y.onAutoClose)==null||Ie.call(y,y),Jt()},Ht.current)),()=>clearTimeout(Ce)},[z,S,y,yt,F,Ro,Jt]),q.useEffect(()=>{y.delete&&Jt()},[Jt,y.delete]);function Ps(){var Ce,Ie,Fe;return V!=null&&V.loading?q.createElement("div",{className:un(B==null?void 0:B.loader,(Ce=y==null?void 0:y.classNames)==null?void 0:Ce.loader,"sonner-loader"),"data-visible":yt==="loading"},V.loading):ie?q.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):q.createElement(wE,{className:un(B==null?void 0:B.loader,(Fe=y==null?void 0:y.classNames)==null?void 0:Fe.loader),visible:yt==="loading"})}return q.createElement("li",{tabIndex:0,ref:wn,className:un(X,Co,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":Se,"data-visible":Cs,"data-y-position":Ei,"data-x-position":Ci,"data-index":R,"data-front":Es,"data-swiping":Te,"data-dismissible":xn,"data-type":yt,"data-invert":sr,"data-swipe-out":Ge,"data-swipe-direction":me,"data-expanded":!!(z||j&&K),style:{"--index":R,"--toasts-before":R,"--z-index":L.length-R,"--offset":`${Se?Zt:zn.current}px`,"--initial-height":j?"auto":`${gn}px`,...Z,...y.style},onDragEnd:()=>{Oe(!1),re(null),En.current=null},onPointerDown:Ce=>{Cn||!xn||(Eo.current=new Date,or(zn.current),Ce.target.setPointerCapture(Ce.pointerId),Ce.target.tagName!=="BUTTON"&&(Oe(!0),En.current={x:Ce.clientX,y:Ce.clientY}))},onPointerUp:()=>{var Ce,Ie,Fe,gt;if(Ge||!xn)return;En.current=null;let Ct=Number(((Ce=wn.current)==null?void 0:Ce.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=Eo.current)==null?void 0:Fe.getTime()),lt=ne==="x"?Ct:kt,kn=Math.abs(lt)/en;if(Math.abs(lt)>=zE||kn>.11){or(zn.current),(gt=y.onDismiss)==null||gt.call(y,y),xe(ne==="x"?Ct>0?"right":"left":kt>0?"down":"up"),Jt(),dt(!0),Xt(!1);return}Oe(!1),re(null)},onPointerMove:Ce=>{var Ie,Fe,gt,Ct;if(!En.current||!xn||((Ie=window.getSelection())==null?void 0:Ie.toString().length)>0)return;let kt=Ce.clientY-En.current.y,en=Ce.clientX-En.current.x,lt=(Fe=n.swipeDirections)!=null?Fe:BE(we);!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`),(Ct=wn.current)==null||Ct.style.setProperty("--swipe-amount-y",`${kn.y}px`)}},Vr&&!y.jsx?q.createElement("button",{"aria-label":N,"data-disabled":Cn,"data-close-button":!0,onClick:Cn||!xn?()=>{}:()=>{var Ce;Jt(),(Ce=y.onDismiss)==null||Ce.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:kE):null,y.jsx||g.isValidElement(y.title)?y.jsx?y.jsx:typeof y.title=="function"?y.title():y.title:q.createElement(q.Fragment,null,yt||y.icon||y.promise?q.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])||yE(yt):null):null,q.createElement("div",{"data-content":"",className:un(B==null?void 0:B.content,(p=y==null?void 0:y.classNames)==null?void 0:p.content)},q.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?q.createElement("div",{"data-description":"",className:un(ve,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)?q.createElement("button",{"data-button":!0,"data-cancel":!0,style:y.cancelButtonStyle||te,onClick:Ce=>{var Ie,Fe;Wl(y.cancel)&&xn&&((Fe=(Ie=y.cancel).onClick)==null||Fe.call(Ie,Ce),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)?q.createElement("button",{"data-button":!0,"data-action":!0,style:y.actionButtonStyle||pe,onClick:Ce=>{var Ie,Fe;Wl(y.action)&&((Fe=(Ie=y.action).onClick)==null||Fe.call(Ie,Ce),!Ce.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 HE(n,r){let i={};return[n,r].forEach((l,u)=>{let c=u===1,f=c?"--mobile-offset":"--offset",p=c?AE:IE;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 pk=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:C,style:y,visibleToasts:O=LE,toastOptions:S,dir:E=Zh(),gap:P=FE,loadingIcon:M,icons:R,containerAriaLabel:L="Notifications",pauseWhenPageIsHidden:z}=n,[U,H]=q.useState([]),G=q.useMemo(()=>Array.from(new Set([l].concat(U.filter(F=>F.position).map(F=>F.position)))),[U,l]),[Z,te]=q.useState([]),[pe,X]=q.useState(!1),[ve,ce]=q.useState(!1),[we,ae]=q.useState(w!=="system"?w:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),ie=q.useRef(null),j=u.join("+").replace(/Key/g,"").replace(/Digit/g,""),B=q.useRef(null),V=q.useRef(!1),N=q.useCallback(F=>{H(ne=>{var re;return(re=ne.find(me=>me.id===F.id))!=null&&re.delete||Lt.dismiss(F.id),ne.filter(({id:me})=>me!==F.id)})},[]);return q.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(me=>me.id===F.id);return re!==-1?[...ne.slice(0,re),{...ne[re],...F},...ne.slice(re+1)]:[F,...ne]})})})}),[]),q.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(me){console.error(me)}})}},[w]),q.useEffect(()=>{U.length<=1&&X(!1)},[U]),q.useEffect(()=>{let F=ne=>{var re,me;u.every(xe=>ne[xe]||ne.code===xe)&&(X(!0),(re=ie.current)==null||re.focus()),ne.code==="Escape"&&(document.activeElement===ie.current||(me=ie.current)!=null&&me.contains(document.activeElement))&&X(!1)};return document.addEventListener("keydown",F),()=>document.removeEventListener("keydown",F)},[u]),q.useEffect(()=>{if(ie.current)return()=>{B.current&&(B.current.focus({preventScroll:!0}),B.current=null,V.current=!1)}},[ie.current]),q.createElement("section",{ref:r,"aria-label":`${L} ${j}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},G.map((F,ne)=>{var re;let[me,xe]=F.split("-");return U.length?q.createElement("ol",{key:F,dir:E==="auto"?Zh():E,tabIndex:-1,ref:ie,className:p,"data-sonner-toaster":!0,"data-theme":we,"data-y-position":me,"data-lifted":pe&&U.length>1&&!c,"data-x-position":xe,style:{"--front-toast-height":`${((re=Z[0])==null?void 0:re.height)||0}px`,"--width":`${DE}px`,"--gap":`${P}px`,...y,...HE(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:()=>{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 Se,be;return q.createElement(UE,{key:K.id,icons:R,index:fe,toast:K,defaultRichColors:x,duration:(Se=S==null?void 0:S.duration)!=null?Se: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(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{pk as $,nC as A,sC as B,uC as C,UC as D,bC as E,vC as F,yC as G,SC as H,ek as I,hC as J,mC as K,ok as L,MC as M,I1 as N,VC as O,tk as P,qE as Q,XC as R,ak as S,ZC as T,IC as U,rk as V,CC as W,gC as X,xC as Y,KC as Z,TC as _,cC as a,RC as a0,fk as a1,WC as a2,jC as a3,iC as a4,BC as a5,pC as a6,oC as a7,FC as a8,DC as a9,VE as aA,OC as aB,It as aC,c2 as aD,zv as aE,Sx as aF,rv as aG,ea as aH,GC as aI,PC as aJ,_C as aK,rC as aL,wC as aM,zC as aa,EC as ab,dC as ac,QC as ad,lC as ae,LC as af,AC as ag,ZE as ah,$m as ai,JE as aj,sd as ak,$h as al,XS as am,ct as an,ZS as ao,Xe as ap,Je as aq,gv as ar,Pv as as,id as at,tv as au,JS as av,qC as aw,YC as ax,e2 as ay,Cm as az,uk as b,eC as c,nk as d,ik as e,lk as f,aC as g,sk as h,ck as i,ee as j,JC as k,fC as l,HC as m,$C as n,NC as o,kC as p,dk as q,g as r,XE as s,tC as t,Hr as u,KE as v,u1 as w,QE as x,WE as y,GE as z};
|