@elizaos/client 1.6.2-alpha.8 → 1.6.2-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/{main-CpHBkAFA.js → main-BtcZiEuQ.js} +3 -3
- package/dist/assets/{main-CpHBkAFA.js.map → main-BtcZiEuQ.js.map} +1 -1
- package/dist/assets/{main-CNv6B3RZ.css → main-DrN44Cbu.css} +1 -1
- package/dist/assets/main-r3TR7Sku.js +155 -0
- package/dist/assets/{main-SfTqS-Wp.js.map → main-r3TR7Sku.js.map} +1 -1
- package/dist/assets/react-vendor-DPGVcrXi.js +611 -0
- package/dist/assets/react-vendor-DPGVcrXi.js.map +1 -0
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/src/lib/api-type-mappers.ts +7 -3
- package/dist/assets/main-SfTqS-Wp.js +0 -155
- package/dist/assets/react-vendor-C1OK-nqm.js +0 -611
- package/dist/assets/react-vendor-C1OK-nqm.js.map +0 -1
|
@@ -1,611 +0,0 @@
|
|
|
1
|
-
var d_=Object.defineProperty;var a=(e,t)=>d_(e,"name",{value:t,configurable:!0});import{c as ge,a as wh}from"./ui-vendor-B7JxFfFk.js";function p_(e,t){for(var r=0;r<t.length;r++){const o=t[r];if(typeof o!="string"&&!Array.isArray(o)){for(const l in o)if(l!=="default"&&!(l in e)){const u=Object.getOwnPropertyDescriptor(o,l);u&&Object.defineProperty(e,l,u.get?u:{enumerable:!0,get:a(()=>o[l],"get")})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}a(p_,"_mergeNamespaces");function vr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}a(vr,"getDefaultExportFromCjs");function DU(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var r=a(function o(){var l=!1;try{l=this instanceof o}catch{}return l?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)},"a2");r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(o){var l=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(r,o,l.get?l:{enumerable:!0,get:a(function(){return e[o]},"get")})}),r}a(DU,"getAugmentedNamespace");var Ap={exports:{}},Ml={};/**
|
|
2
|
-
* @license React
|
|
3
|
-
* react-jsx-runtime.production.js
|
|
4
|
-
*
|
|
5
|
-
* Copyright (c) Meta Platforms, Inc. and 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 T0;function h_(){if(T0)return Ml;T0=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function r(o,l,u){var c=null;if(u!==void 0&&(c=""+u),l.key!==void 0&&(c=""+l.key),"key"in l){u={};for(var d in l)d!=="key"&&(u[d]=l[d])}else u=l;return l=u.ref,{$$typeof:e,type:o,key:c,ref:l!==void 0?l:null,props:u}}return a(r,"jsxProd"),Ml.Fragment=t,Ml.jsx=r,Ml.jsxs=r,Ml}a(h_,"requireReactJsxRuntime_production");var R0;function m_(){return R0||(R0=1,Ap.exports=h_()),Ap.exports}a(m_,"requireJsxRuntime");var k=m_(),_p={exports:{}},je={};/**
|
|
10
|
-
* @license React
|
|
11
|
-
* react.production.js
|
|
12
|
-
*
|
|
13
|
-
* Copyright (c) Meta Platforms, Inc. and 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 O0;function y_(){if(O0)return je;O0=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),u=Symbol.for("react.consumer"),c=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),h=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),g=Symbol.iterator;function b(A){return A===null||typeof A!="object"?null:(A=g&&A[g]||A["@@iterator"],typeof A=="function"?A:null)}a(b,"getIteratorFn");var S={isMounted:a(function(){return!1},"isMounted"),enqueueForceUpdate:a(function(){},"enqueueForceUpdate"),enqueueReplaceState:a(function(){},"enqueueReplaceState"),enqueueSetState:a(function(){},"enqueueSetState")},E=Object.assign,w={};function R(A,K,de){this.props=A,this.context=K,this.refs=w,this.updater=de||S}a(R,"Component"),R.prototype.isReactComponent={},R.prototype.setState=function(A,K){if(typeof A!="object"&&typeof A!="function"&&A!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,A,K,"setState")},R.prototype.forceUpdate=function(A){this.updater.enqueueForceUpdate(this,A,"forceUpdate")};function C(){}a(C,"ComponentDummy"),C.prototype=R.prototype;function O(A,K,de){this.props=A,this.context=K,this.refs=w,this.updater=de||S}a(O,"PureComponent");var N=O.prototype=new C;N.constructor=O,E(N,R.prototype),N.isPureReactComponent=!0;var L=Array.isArray,z={H:null,A:null,T:null,S:null,V:null},D=Object.prototype.hasOwnProperty;function j(A,K,de,_,re,me){return de=me.ref,{$$typeof:e,type:A,key:K,ref:de!==void 0?de:null,props:me}}a(j,"ReactElement");function G(A,K){return j(A.type,K,void 0,void 0,void 0,A.props)}a(G,"cloneAndReplaceKey");function Y(A){return typeof A=="object"&&A!==null&&A.$$typeof===e}a(Y,"isValidElement");function J(A){var K={"=":"=0",":":"=2"};return"$"+A.replace(/[=:]/g,function(de){return K[de]})}a(J,"escape");var X=/\/+/g;function Z(A,K){return typeof A=="object"&&A!==null&&A.key!=null?J(""+A.key):K.toString(36)}a(Z,"getElementKey");function ce(){}a(ce,"noop$1");function q(A){switch(A.status){case"fulfilled":return A.value;case"rejected":throw A.reason;default:switch(typeof A.status=="string"?A.then(ce,ce):(A.status="pending",A.then(function(K){A.status==="pending"&&(A.status="fulfilled",A.value=K)},function(K){A.status==="pending"&&(A.status="rejected",A.reason=K)})),A.status){case"fulfilled":return A.value;case"rejected":throw A.reason}}throw A}a(q,"resolveThenable");function te(A,K,de,_,re){var me=typeof A;(me==="undefined"||me==="boolean")&&(A=null);var ae=!1;if(A===null)ae=!0;else switch(me){case"bigint":case"string":case"number":ae=!0;break;case"object":switch(A.$$typeof){case e:case t:ae=!0;break;case m:return ae=A._init,te(ae(A._payload),K,de,_,re)}}if(ae)return re=re(A),ae=_===""?"."+Z(A,0):_,L(re)?(de="",ae!=null&&(de=ae.replace(X,"$&/")+"/"),te(re,K,de,"",function(Ce){return Ce})):re!=null&&(Y(re)&&(re=G(re,de+(re.key==null||A&&A.key===re.key?"":(""+re.key).replace(X,"$&/")+"/")+ae)),K.push(re)),1;ae=0;var Q=_===""?".":_+":";if(L(A))for(var fe=0;fe<A.length;fe++)_=A[fe],me=Q+Z(_,fe),ae+=te(_,K,de,me,re);else if(fe=b(A),typeof fe=="function")for(A=fe.call(A),fe=0;!(_=A.next()).done;)_=_.value,me=Q+Z(_,fe++),ae+=te(_,K,de,me,re);else if(me==="object"){if(typeof A.then=="function")return te(q(A),K,de,_,re);throw K=String(A),Error("Objects are not valid as a React child (found: "+(K==="[object Object]"?"object with keys {"+Object.keys(A).join(", ")+"}":K)+"). If you meant to render a collection of children, use an array instead.")}return ae}a(te,"mapIntoArray");function I(A,K,de){if(A==null)return A;var _=[],re=0;return te(A,_,"","",function(me){return K.call(de,me,re++)}),_}a(I,"mapChildren");function W(A){if(A._status===-1){var K=A._result;K=K(),K.then(function(de){(A._status===0||A._status===-1)&&(A._status=1,A._result=de)},function(de){(A._status===0||A._status===-1)&&(A._status=2,A._result=de)}),A._status===-1&&(A._status=0,A._result=K)}if(A._status===1)return A._result.default;throw A._result}a(W,"lazyInitializer");var ne=typeof reportError=="function"?reportError:function(A){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var K=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof A=="object"&&A!==null&&typeof A.message=="string"?String(A.message):String(A),error:A});if(!window.dispatchEvent(K))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",A);return}console.error(A)};function se(){}return a(se,"noop"),je.Children={map:I,forEach:a(function(A,K,de){I(A,function(){K.apply(this,arguments)},de)},"forEach"),count:a(function(A){var K=0;return I(A,function(){K++}),K},"count"),toArray:a(function(A){return I(A,function(K){return K})||[]},"toArray"),only:a(function(A){if(!Y(A))throw Error("React.Children.only expected to receive a single React element child.");return A},"only")},je.Component=R,je.Fragment=r,je.Profiler=l,je.PureComponent=O,je.StrictMode=o,je.Suspense=p,je.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=z,je.__COMPILER_RUNTIME={__proto__:null,c:a(function(A){return z.H.useMemoCache(A)},"c")},je.cache=function(A){return function(){return A.apply(null,arguments)}},je.cloneElement=function(A,K,de){if(A==null)throw Error("The argument must be a React element, but you passed "+A+".");var _=E({},A.props),re=A.key,me=void 0;if(K!=null)for(ae in K.ref!==void 0&&(me=void 0),K.key!==void 0&&(re=""+K.key),K)!D.call(K,ae)||ae==="key"||ae==="__self"||ae==="__source"||ae==="ref"&&K.ref===void 0||(_[ae]=K[ae]);var ae=arguments.length-2;if(ae===1)_.children=de;else if(1<ae){for(var Q=Array(ae),fe=0;fe<ae;fe++)Q[fe]=arguments[fe+2];_.children=Q}return j(A.type,re,void 0,void 0,me,_)},je.createContext=function(A){return A={$$typeof:c,_currentValue:A,_currentValue2:A,_threadCount:0,Provider:null,Consumer:null},A.Provider=A,A.Consumer={$$typeof:u,_context:A},A},je.createElement=function(A,K,de){var _,re={},me=null;if(K!=null)for(_ in K.key!==void 0&&(me=""+K.key),K)D.call(K,_)&&_!=="key"&&_!=="__self"&&_!=="__source"&&(re[_]=K[_]);var ae=arguments.length-2;if(ae===1)re.children=de;else if(1<ae){for(var Q=Array(ae),fe=0;fe<ae;fe++)Q[fe]=arguments[fe+2];re.children=Q}if(A&&A.defaultProps)for(_ in ae=A.defaultProps,ae)re[_]===void 0&&(re[_]=ae[_]);return j(A,me,void 0,void 0,null,re)},je.createRef=function(){return{current:null}},je.forwardRef=function(A){return{$$typeof:d,render:A}},je.isValidElement=Y,je.lazy=function(A){return{$$typeof:m,_payload:{_status:-1,_result:A},_init:W}},je.memo=function(A,K){return{$$typeof:h,type:A,compare:K===void 0?null:K}},je.startTransition=function(A){var K=z.T,de={};z.T=de;try{var _=A(),re=z.S;re!==null&&re(de,_),typeof _=="object"&&_!==null&&typeof _.then=="function"&&_.then(se,ne)}catch(me){ne(me)}finally{z.T=K}},je.unstable_useCacheRefresh=function(){return z.H.useCacheRefresh()},je.use=function(A){return z.H.use(A)},je.useActionState=function(A,K,de){return z.H.useActionState(A,K,de)},je.useCallback=function(A,K){return z.H.useCallback(A,K)},je.useContext=function(A){return z.H.useContext(A)},je.useDebugValue=function(){},je.useDeferredValue=function(A,K){return z.H.useDeferredValue(A,K)},je.useEffect=function(A,K,de){var _=z.H;if(typeof de=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return _.useEffect(A,K)},je.useId=function(){return z.H.useId()},je.useImperativeHandle=function(A,K,de){return z.H.useImperativeHandle(A,K,de)},je.useInsertionEffect=function(A,K){return z.H.useInsertionEffect(A,K)},je.useLayoutEffect=function(A,K){return z.H.useLayoutEffect(A,K)},je.useMemo=function(A,K){return z.H.useMemo(A,K)},je.useOptimistic=function(A,K){return z.H.useOptimistic(A,K)},je.useReducer=function(A,K,de){return z.H.useReducer(A,K,de)},je.useRef=function(A){return z.H.useRef(A)},je.useState=function(A){return z.H.useState(A)},je.useSyncExternalStore=function(A,K,de){return z.H.useSyncExternalStore(A,K,de)},je.useTransition=function(){return z.H.useTransition()},je.version="19.1.1",je}a(y_,"requireReact_production");var A0;function ss(){return A0||(A0=1,_p.exports=y_()),_p.exports}a(ss,"requireReact");var x=ss();const Me=vr(x),pm=p_({__proto__:null,default:Me},[x]);var Mp={exports:{}},Nl={},Np={exports:{}},kp={};/**
|
|
18
|
-
* @license React
|
|
19
|
-
* scheduler.production.js
|
|
20
|
-
*
|
|
21
|
-
* Copyright (c) Meta Platforms, Inc. and 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 _0;function g_(){return _0||(_0=1,(function(e){function t(I,W){var ne=I.length;I.push(W);e:for(;0<ne;){var se=ne-1>>>1,A=I[se];if(0<l(A,W))I[se]=W,I[ne]=A,ne=se;else break e}}a(t,"push");function r(I){return I.length===0?null:I[0]}a(r,"peek");function o(I){if(I.length===0)return null;var W=I[0],ne=I.pop();if(ne!==W){I[0]=ne;e:for(var se=0,A=I.length,K=A>>>1;se<K;){var de=2*(se+1)-1,_=I[de],re=de+1,me=I[re];if(0>l(_,ne))re<A&&0>l(me,_)?(I[se]=me,I[re]=ne,se=re):(I[se]=_,I[de]=ne,se=de);else if(re<A&&0>l(me,ne))I[se]=me,I[re]=ne,se=re;else break e}}return W}a(o,"pop");function l(I,W){var ne=I.sortIndex-W.sortIndex;return ne!==0?ne:I.id-W.id}if(a(l,"compare"),e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var u=performance;e.unstable_now=function(){return u.now()}}else{var c=Date,d=c.now();e.unstable_now=function(){return c.now()-d}}var p=[],h=[],m=1,g=null,b=3,S=!1,E=!1,w=!1,R=!1,C=typeof setTimeout=="function"?setTimeout:null,O=typeof clearTimeout=="function"?clearTimeout:null,N=typeof setImmediate<"u"?setImmediate:null;function L(I){for(var W=r(h);W!==null;){if(W.callback===null)o(h);else if(W.startTime<=I)o(h),W.sortIndex=W.expirationTime,t(p,W);else break;W=r(h)}}a(L,"advanceTimers");function z(I){if(w=!1,L(I),!E)if(r(p)!==null)E=!0,D||(D=!0,Z());else{var W=r(h);W!==null&&te(z,W.startTime-I)}}a(z,"handleTimeout");var D=!1,j=-1,G=5,Y=-1;function J(){return R?!0:!(e.unstable_now()-Y<G)}a(J,"shouldYieldToHost");function X(){if(R=!1,D){var I=e.unstable_now();Y=I;var W=!0;try{e:{E=!1,w&&(w=!1,O(j),j=-1),S=!0;var ne=b;try{t:{for(L(I),g=r(p);g!==null&&!(g.expirationTime>I&&J());){var se=g.callback;if(typeof se=="function"){g.callback=null,b=g.priorityLevel;var A=se(g.expirationTime<=I);if(I=e.unstable_now(),typeof A=="function"){g.callback=A,L(I),W=!0;break t}g===r(p)&&o(p),L(I)}else o(p);g=r(p)}if(g!==null)W=!0;else{var K=r(h);K!==null&&te(z,K.startTime-I),W=!1}}break e}finally{g=null,b=ne,S=!1}W=void 0}}finally{W?Z():D=!1}}}a(X,"performWorkUntilDeadline");var Z;if(typeof N=="function")Z=a(function(){N(X)},"schedulePerformWorkUntilDeadline");else if(typeof MessageChannel<"u"){var ce=new MessageChannel,q=ce.port2;ce.port1.onmessage=X,Z=a(function(){q.postMessage(null)},"schedulePerformWorkUntilDeadline")}else Z=a(function(){C(X,0)},"schedulePerformWorkUntilDeadline");function te(I,W){j=C(function(){I(e.unstable_now())},W)}a(te,"requestHostTimeout"),e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(I){I.callback=null},e.unstable_forceFrameRate=function(I){0>I||125<I?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):G=0<I?Math.floor(1e3/I):5},e.unstable_getCurrentPriorityLevel=function(){return b},e.unstable_next=function(I){switch(b){case 1:case 2:case 3:var W=3;break;default:W=b}var ne=b;b=W;try{return I()}finally{b=ne}},e.unstable_requestPaint=function(){R=!0},e.unstable_runWithPriority=function(I,W){switch(I){case 1:case 2:case 3:case 4:case 5:break;default:I=3}var ne=b;b=I;try{return W()}finally{b=ne}},e.unstable_scheduleCallback=function(I,W,ne){var se=e.unstable_now();switch(typeof ne=="object"&&ne!==null?(ne=ne.delay,ne=typeof ne=="number"&&0<ne?se+ne:se):ne=se,I){case 1:var A=-1;break;case 2:A=250;break;case 5:A=1073741823;break;case 4:A=1e4;break;default:A=5e3}return A=ne+A,I={id:m++,callback:W,priorityLevel:I,startTime:ne,expirationTime:A,sortIndex:-1},ne>se?(I.sortIndex=ne,t(h,I),r(p)===null&&I===r(h)&&(w?(O(j),j=-1):w=!0,te(z,ne-se))):(I.sortIndex=A,t(p,I),E||S||(E=!0,D||(D=!0,Z()))),I},e.unstable_shouldYield=J,e.unstable_wrapCallback=function(I){var W=b;return function(){var ne=b;b=W;try{return I.apply(this,arguments)}finally{b=ne}}}})(kp)),kp}a(g_,"requireScheduler_production");var M0;function v_(){return M0||(M0=1,Np.exports=g_()),Np.exports}a(v_,"requireScheduler");var Dp={exports:{}},Bt={};/**
|
|
26
|
-
* @license React
|
|
27
|
-
* react-dom.production.js
|
|
28
|
-
*
|
|
29
|
-
* Copyright (c) Meta Platforms, Inc. and 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 N0;function b_(){if(N0)return Bt;N0=1;var e=ss();function t(p){var h="https://react.dev/errors/"+p;if(1<arguments.length){h+="?args[]="+encodeURIComponent(arguments[1]);for(var m=2;m<arguments.length;m++)h+="&args[]="+encodeURIComponent(arguments[m])}return"Minified React error #"+p+"; visit "+h+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}a(t,"formatProdErrorMessage");function r(){}a(r,"noop");var o={d:{f:r,r:a(function(){throw Error(t(522))},"r"),D:r,C:r,L:r,m:r,X:r,S:r,M:r},p:0,findDOMNode:null},l=Symbol.for("react.portal");function u(p,h,m){var g=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:l,key:g==null?null:""+g,children:p,containerInfo:h,implementation:m}}a(u,"createPortal$1");var c=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function d(p,h){if(p==="font")return"";if(typeof h=="string")return h==="use-credentials"?h:""}return a(d,"getCrossOriginStringAs"),Bt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=o,Bt.createPortal=function(p,h){var m=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!h||h.nodeType!==1&&h.nodeType!==9&&h.nodeType!==11)throw Error(t(299));return u(p,h,null,m)},Bt.flushSync=function(p){var h=c.T,m=o.p;try{if(c.T=null,o.p=2,p)return p()}finally{c.T=h,o.p=m,o.d.f()}},Bt.preconnect=function(p,h){typeof p=="string"&&(h?(h=h.crossOrigin,h=typeof h=="string"?h==="use-credentials"?h:"":void 0):h=null,o.d.C(p,h))},Bt.prefetchDNS=function(p){typeof p=="string"&&o.d.D(p)},Bt.preinit=function(p,h){if(typeof p=="string"&&h&&typeof h.as=="string"){var m=h.as,g=d(m,h.crossOrigin),b=typeof h.integrity=="string"?h.integrity:void 0,S=typeof h.fetchPriority=="string"?h.fetchPriority:void 0;m==="style"?o.d.S(p,typeof h.precedence=="string"?h.precedence:void 0,{crossOrigin:g,integrity:b,fetchPriority:S}):m==="script"&&o.d.X(p,{crossOrigin:g,integrity:b,fetchPriority:S,nonce:typeof h.nonce=="string"?h.nonce:void 0})}},Bt.preinitModule=function(p,h){if(typeof p=="string")if(typeof h=="object"&&h!==null){if(h.as==null||h.as==="script"){var m=d(h.as,h.crossOrigin);o.d.M(p,{crossOrigin:m,integrity:typeof h.integrity=="string"?h.integrity:void 0,nonce:typeof h.nonce=="string"?h.nonce:void 0})}}else h==null&&o.d.M(p)},Bt.preload=function(p,h){if(typeof p=="string"&&typeof h=="object"&&h!==null&&typeof h.as=="string"){var m=h.as,g=d(m,h.crossOrigin);o.d.L(p,m,{crossOrigin:g,integrity:typeof h.integrity=="string"?h.integrity:void 0,nonce:typeof h.nonce=="string"?h.nonce:void 0,type:typeof h.type=="string"?h.type:void 0,fetchPriority:typeof h.fetchPriority=="string"?h.fetchPriority:void 0,referrerPolicy:typeof h.referrerPolicy=="string"?h.referrerPolicy:void 0,imageSrcSet:typeof h.imageSrcSet=="string"?h.imageSrcSet:void 0,imageSizes:typeof h.imageSizes=="string"?h.imageSizes:void 0,media:typeof h.media=="string"?h.media:void 0})}},Bt.preloadModule=function(p,h){if(typeof p=="string")if(h){var m=d(h.as,h.crossOrigin);o.d.m(p,{as:typeof h.as=="string"&&h.as!=="script"?h.as:void 0,crossOrigin:m,integrity:typeof h.integrity=="string"?h.integrity:void 0})}else o.d.m(p)},Bt.requestFormReset=function(p){o.d.r(p)},Bt.unstable_batchedUpdates=function(p,h){return p(h)},Bt.useFormState=function(p,h,m){return c.H.useFormState(p,h,m)},Bt.useFormStatus=function(){return c.H.useHostTransitionStatus()},Bt.version="19.1.1",Bt}a(b_,"requireReactDom_production");var k0;function nx(){if(k0)return Dp.exports;k0=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return a(e,"checkDCE"),e(),Dp.exports=b_(),Dp.exports}a(nx,"requireReactDom");var D0;function S_(){if(D0)return Nl;D0=1;/**
|
|
34
|
-
* @license React
|
|
35
|
-
* react-dom-client.production.js
|
|
36
|
-
*
|
|
37
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
38
|
-
*
|
|
39
|
-
* This source code is licensed under the MIT license found in the
|
|
40
|
-
* LICENSE file in the root directory of this source tree.
|
|
41
|
-
*/var e=v_(),t=ss(),r=nx();function o(n){var i="https://react.dev/errors/"+n;if(1<arguments.length){i+="?args[]="+encodeURIComponent(arguments[1]);for(var s=2;s<arguments.length;s++)i+="&args[]="+encodeURIComponent(arguments[s])}return"Minified React error #"+n+"; visit "+i+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}a(o,"formatProdErrorMessage");function l(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11)}a(l,"isValidContainer");function u(n){var i=n,s=n;if(n.alternate)for(;i.return;)i=i.return;else{n=i;do i=n,(i.flags&4098)!==0&&(s=i.return),n=i.return;while(n)}return i.tag===3?s:null}a(u,"getNearestMountedFiber");function c(n){if(n.tag===13){var i=n.memoizedState;if(i===null&&(n=n.alternate,n!==null&&(i=n.memoizedState)),i!==null)return i.dehydrated}return null}a(c,"getSuspenseInstanceFromFiber");function d(n){if(u(n)!==n)throw Error(o(188))}a(d,"assertIsMounted");function p(n){var i=n.alternate;if(!i){if(i=u(n),i===null)throw Error(o(188));return i!==n?null:n}for(var s=n,f=i;;){var y=s.return;if(y===null)break;var v=y.alternate;if(v===null){if(f=y.return,f!==null){s=f;continue}break}if(y.child===v.child){for(v=y.child;v;){if(v===s)return d(y),n;if(v===f)return d(y),i;v=v.sibling}throw Error(o(188))}if(s.return!==f.return)s=y,f=v;else{for(var T=!1,M=y.child;M;){if(M===s){T=!0,s=y,f=v;break}if(M===f){T=!0,f=y,s=v;break}M=M.sibling}if(!T){for(M=v.child;M;){if(M===s){T=!0,s=v,f=y;break}if(M===f){T=!0,f=v,s=y;break}M=M.sibling}if(!T)throw Error(o(189))}}if(s.alternate!==f)throw Error(o(190))}if(s.tag!==3)throw Error(o(188));return s.stateNode.current===s?n:i}a(p,"findCurrentFiberUsingSlowPath");function h(n){var i=n.tag;if(i===5||i===26||i===27||i===6)return n;for(n=n.child;n!==null;){if(i=h(n),i!==null)return i;n=n.sibling}return null}a(h,"findCurrentHostFiberImpl");var m=Object.assign,g=Symbol.for("react.element"),b=Symbol.for("react.transitional.element"),S=Symbol.for("react.portal"),E=Symbol.for("react.fragment"),w=Symbol.for("react.strict_mode"),R=Symbol.for("react.profiler"),C=Symbol.for("react.provider"),O=Symbol.for("react.consumer"),N=Symbol.for("react.context"),L=Symbol.for("react.forward_ref"),z=Symbol.for("react.suspense"),D=Symbol.for("react.suspense_list"),j=Symbol.for("react.memo"),G=Symbol.for("react.lazy"),Y=Symbol.for("react.activity"),J=Symbol.for("react.memo_cache_sentinel"),X=Symbol.iterator;function Z(n){return n===null||typeof n!="object"?null:(n=X&&n[X]||n["@@iterator"],typeof n=="function"?n:null)}a(Z,"getIteratorFn");var ce=Symbol.for("react.client.reference");function q(n){if(n==null)return null;if(typeof n=="function")return n.$$typeof===ce?null:n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case E:return"Fragment";case R:return"Profiler";case w:return"StrictMode";case z:return"Suspense";case D:return"SuspenseList";case Y:return"Activity"}if(typeof n=="object")switch(n.$$typeof){case S:return"Portal";case N:return(n.displayName||"Context")+".Provider";case O:return(n._context.displayName||"Context")+".Consumer";case L:var i=n.render;return n=n.displayName,n||(n=i.displayName||i.name||"",n=n!==""?"ForwardRef("+n+")":"ForwardRef"),n;case j:return i=n.displayName||null,i!==null?i:q(n.type)||"Memo";case G:i=n._payload,n=n._init;try{return q(n(i))}catch{}}return null}a(q,"getComponentNameFromType");var te=Array.isArray,I=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,W=r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ne={pending:!1,data:null,method:null,action:null},se=[],A=-1;function K(n){return{current:n}}a(K,"createCursor");function de(n){0>A||(n.current=se[A],se[A]=null,A--)}a(de,"pop");function _(n,i){A++,se[A]=n.current,n.current=i}a(_,"push");var re=K(null),me=K(null),ae=K(null),Q=K(null);function fe(n,i){switch(_(ae,i),_(me,n),_(re,null),i.nodeType){case 9:case 11:n=(n=i.documentElement)&&(n=n.namespaceURI)?Jb(n):0;break;default:if(n=i.tagName,i=i.namespaceURI)i=Jb(i),n=e0(i,n);else switch(n){case"svg":n=1;break;case"math":n=2;break;default:n=0}}de(re),_(re,n)}a(fe,"pushHostContainer");function Ce(){de(re),de(me),de(ae)}a(Ce,"popHostContainer");function Te(n){n.memoizedState!==null&&_(Q,n);var i=re.current,s=e0(i,n.type);i!==s&&(_(me,n),_(re,s))}a(Te,"pushHostContext");function Pe(n){me.current===n&&(de(re),de(me)),Q.current===n&&(de(Q),Tl._currentValue=ne)}a(Pe,"popHostContext");var qe=Object.prototype.hasOwnProperty,Ie=e.unstable_scheduleCallback,ut=e.unstable_cancelCallback,Kt=e.unstable_shouldYield,an=e.unstable_requestPaint,St=e.unstable_now,At=e.unstable_getCurrentPriorityLevel,Yr=e.unstable_ImmediatePriority,Mi=e.unstable_UserBlockingPriority,xn=e.unstable_NormalPriority,po=e.unstable_LowPriority,ho=e.unstable_IdlePriority,mf=e.log,yf=e.unstable_setDisableYieldValue,ie=null,pe=null;function Oe(n){if(typeof mf=="function"&&yf(n),pe&&typeof pe.setStrictMode=="function")try{pe.setStrictMode(ie,n)}catch{}}a(Oe,"setIsStrictModeForDevtools");var Ne=Math.clz32?Math.clz32:Er,Je=Math.log,ln=Math.LN2;function Er(n){return n>>>=0,n===0?32:31-(Je(n)/ln|0)|0}a(Er,"clz32Fallback");var Qt=256,Jn=4194304;function sn(n){var i=n&42;if(i!==0)return i;switch(n&-n){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return n&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return n&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return n}}a(sn,"getHighestPriorityLanes");function _t(n,i,s){var f=n.pendingLanes;if(f===0)return 0;var y=0,v=n.suspendedLanes,T=n.pingedLanes;n=n.warmLanes;var M=f&134217727;return M!==0?(f=M&~v,f!==0?y=sn(f):(T&=M,T!==0?y=sn(T):s||(s=M&~n,s!==0&&(y=sn(s))))):(M=f&~v,M!==0?y=sn(M):T!==0?y=sn(T):s||(s=f&~n,s!==0&&(y=sn(s)))),y===0?0:i!==0&&i!==y&&(i&v)===0&&(v=y&-y,s=i&-i,v>=s||v===32&&(s&4194048)!==0)?i:y}a(_t,"getNextLanes");function wn(n,i){return(n.pendingLanes&~(n.suspendedLanes&~n.pingedLanes)&i)===0}a(wn,"checkIfRootIsPrerendering");function jn(n,i){switch(n){case 1:case 2:case 4:case 8:case 64:return i+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return i+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}a(jn,"computeExpirationTime");function zy(){var n=Qt;return Qt<<=1,(Qt&4194048)===0&&(Qt=256),n}a(zy,"claimNextTransitionLane");function Iy(){var n=Jn;return Jn<<=1,(Jn&62914560)===0&&(Jn=4194304),n}a(Iy,"claimNextRetryLane");function gf(n){for(var i=[],s=0;31>s;s++)i.push(n);return i}a(gf,"createLaneMap");function La(n,i){n.pendingLanes|=i,i!==268435456&&(n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0)}a(La,"markRootUpdated$1");function eO(n,i,s,f,y,v){var T=n.pendingLanes;n.pendingLanes=s,n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0,n.expiredLanes&=s,n.entangledLanes&=s,n.errorRecoveryDisabledLanes&=s,n.shellSuspendCounter=0;var M=n.entanglements,P=n.expirationTimes,F=n.hiddenUpdates;for(s=T&~s;0<s;){var oe=31-Ne(s),ue=1<<oe;M[oe]=0,P[oe]=-1;var $=F[oe];if($!==null)for(F[oe]=null,oe=0;oe<$.length;oe++){var V=$[oe];V!==null&&(V.lane&=-536870913)}s&=~ue}f!==0&&jy(n,f,0),v!==0&&y===0&&n.tag!==0&&(n.suspendedLanes|=v&~(T&~i))}a(eO,"markRootFinished");function jy(n,i,s){n.pendingLanes|=i,n.suspendedLanes&=~i;var f=31-Ne(i);n.entangledLanes|=i,n.entanglements[f]=n.entanglements[f]|1073741824|s&4194090}a(jy,"markSpawnedDeferredLane");function Uy(n,i){var s=n.entangledLanes|=i;for(n=n.entanglements;s;){var f=31-Ne(s),y=1<<f;y&i|n[f]&i&&(n[f]|=i),s&=~y}}a(Uy,"markRootEntangled");function vf(n){switch(n){case 2:n=1;break;case 8:n=4;break;case 32:n=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:n=128;break;case 268435456:n=134217728;break;default:n=0}return n}a(vf,"getBumpedLaneForHydrationByLane");function bf(n){return n&=-n,2<n?8<n?(n&134217727)!==0?32:268435456:8:2}a(bf,"lanesToEventPriority");function By(){var n=W.p;return n!==0?n:(n=window.event,n===void 0?32:b0(n.type))}a(By,"resolveUpdatePriority");function tO(n,i){var s=W.p;try{return W.p=n,i()}finally{W.p=s}}a(tO,"runWithPriority");var Kr=Math.random().toString(36).slice(2),jt="__reactFiber$"+Kr,Xt="__reactProps$"+Kr,mo="__reactContainer$"+Kr,Sf="__reactEvents$"+Kr,nO="__reactListeners$"+Kr,rO="__reactHandles$"+Kr,Hy="__reactResources$"+Kr,za="__reactMarker$"+Kr;function xf(n){delete n[jt],delete n[Xt],delete n[Sf],delete n[nO],delete n[rO]}a(xf,"detachDeletedInstance");function yo(n){var i=n[jt];if(i)return i;for(var s=n.parentNode;s;){if(i=s[mo]||s[jt]){if(s=i.alternate,i.child!==null||s!==null&&s.child!==null)for(n=i0(n);n!==null;){if(s=n[jt])return s;n=i0(n)}return i}n=s,s=n.parentNode}return null}a(yo,"getClosestInstanceFromNode");function go(n){if(n=n[jt]||n[mo]){var i=n.tag;if(i===5||i===6||i===13||i===26||i===27||i===3)return n}return null}a(go,"getInstanceFromNode");function Ia(n){var i=n.tag;if(i===5||i===26||i===27||i===6)return n.stateNode;throw Error(o(33))}a(Ia,"getNodeFromInstance");function vo(n){var i=n[Hy];return i||(i=n[Hy]={hoistableStyles:new Map,hoistableScripts:new Map}),i}a(vo,"getResourcesFromRoot");function Mt(n){n[za]=!0}a(Mt,"markNodeAsHoistable");var Fy=new Set,qy={};function Ni(n,i){bo(n,i),bo(n+"Capture",i)}a(Ni,"registerTwoPhaseEvent");function bo(n,i){for(qy[n]=i,n=0;n<i.length;n++)Fy.add(i[n])}a(bo,"registerDirectEvent");var iO=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),$y={},Vy={};function oO(n){return qe.call(Vy,n)?!0:qe.call($y,n)?!1:iO.test(n)?Vy[n]=!0:($y[n]=!0,!1)}a(oO,"isAttributeNameSafe");function As(n,i,s){if(oO(i))if(s===null)n.removeAttribute(i);else{switch(typeof s){case"undefined":case"function":case"symbol":n.removeAttribute(i);return;case"boolean":var f=i.toLowerCase().slice(0,5);if(f!=="data-"&&f!=="aria-"){n.removeAttribute(i);return}}n.setAttribute(i,""+s)}}a(As,"setValueForAttribute");function _s(n,i,s){if(s===null)n.removeAttribute(i);else{switch(typeof s){case"undefined":case"function":case"symbol":case"boolean":n.removeAttribute(i);return}n.setAttribute(i,""+s)}}a(_s,"setValueForKnownAttribute");function Cr(n,i,s,f){if(f===null)n.removeAttribute(s);else{switch(typeof f){case"undefined":case"function":case"symbol":case"boolean":n.removeAttribute(s);return}n.setAttributeNS(i,s,""+f)}}a(Cr,"setValueForNamespacedAttribute");var wf,Gy;function So(n){if(wf===void 0)try{throw Error()}catch(s){var i=s.stack.trim().match(/\n( *(at )?)/);wf=i&&i[1]||"",Gy=-1<s.stack.indexOf(`
|
|
42
|
-
at`)?" (<anonymous>)":-1<s.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
43
|
-
`+wf+n+Gy}a(So,"describeBuiltInComponentFrame");var Ef=!1;function Cf(n,i){if(!n||Ef)return"";Ef=!0;var s=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var f={DetermineComponentFrameRoot:a(function(){try{if(i){var ue=a(function(){throw Error()},"Fake");if(Object.defineProperty(ue.prototype,"props",{set:a(function(){throw Error()},"set")}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(ue,[])}catch(V){var $=V}Reflect.construct(n,[],ue)}else{try{ue.call()}catch(V){$=V}n.call(ue.prototype)}}else{try{throw Error()}catch(V){$=V}(ue=n())&&typeof ue.catch=="function"&&ue.catch(function(){})}}catch(V){if(V&&$&&typeof V.stack=="string")return[V.stack,$.stack]}return[null,null]},"DetermineComponentFrameRoot")};f.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var y=Object.getOwnPropertyDescriptor(f.DetermineComponentFrameRoot,"name");y&&y.configurable&&Object.defineProperty(f.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var v=f.DetermineComponentFrameRoot(),T=v[0],M=v[1];if(T&&M){var P=T.split(`
|
|
44
|
-
`),F=M.split(`
|
|
45
|
-
`);for(y=f=0;f<P.length&&!P[f].includes("DetermineComponentFrameRoot");)f++;for(;y<F.length&&!F[y].includes("DetermineComponentFrameRoot");)y++;if(f===P.length||y===F.length)for(f=P.length-1,y=F.length-1;1<=f&&0<=y&&P[f]!==F[y];)y--;for(;1<=f&&0<=y;f--,y--)if(P[f]!==F[y]){if(f!==1||y!==1)do if(f--,y--,0>y||P[f]!==F[y]){var oe=`
|
|
46
|
-
`+P[f].replace(" at new "," at ");return n.displayName&&oe.includes("<anonymous>")&&(oe=oe.replace("<anonymous>",n.displayName)),oe}while(1<=f&&0<=y);break}}}finally{Ef=!1,Error.prepareStackTrace=s}return(s=n?n.displayName||n.name:"")?So(s):""}a(Cf,"describeNativeComponentFrame");function aO(n){switch(n.tag){case 26:case 27:case 5:return So(n.type);case 16:return So("Lazy");case 13:return So("Suspense");case 19:return So("SuspenseList");case 0:case 15:return Cf(n.type,!1);case 11:return Cf(n.type.render,!1);case 1:return Cf(n.type,!0);case 31:return So("Activity");default:return""}}a(aO,"describeFiber");function Yy(n){try{var i="";do i+=aO(n),n=n.return;while(n);return i}catch(s){return`
|
|
47
|
-
Error generating stack: `+s.message+`
|
|
48
|
-
`+s.stack}}a(Yy,"getStackByFiberInDevAndProd");function En(n){switch(typeof n){case"bigint":case"boolean":case"number":case"string":case"undefined":return n;case"object":return n;default:return""}}a(En,"getToStringValue");function Ky(n){var i=n.type;return(n=n.nodeName)&&n.toLowerCase()==="input"&&(i==="checkbox"||i==="radio")}a(Ky,"isCheckable");function lO(n){var i=Ky(n)?"checked":"value",s=Object.getOwnPropertyDescriptor(n.constructor.prototype,i),f=""+n[i];if(!n.hasOwnProperty(i)&&typeof s<"u"&&typeof s.get=="function"&&typeof s.set=="function"){var y=s.get,v=s.set;return Object.defineProperty(n,i,{configurable:!0,get:a(function(){return y.call(this)},"get"),set:a(function(T){f=""+T,v.call(this,T)},"set")}),Object.defineProperty(n,i,{enumerable:s.enumerable}),{getValue:a(function(){return f},"getValue"),setValue:a(function(T){f=""+T},"setValue"),stopTracking:a(function(){n._valueTracker=null,delete n[i]},"stopTracking")}}}a(lO,"trackValueOnNode");function Ms(n){n._valueTracker||(n._valueTracker=lO(n))}a(Ms,"track");function Qy(n){if(!n)return!1;var i=n._valueTracker;if(!i)return!0;var s=i.getValue(),f="";return n&&(f=Ky(n)?n.checked?"true":"false":n.value),n=f,n!==s?(i.setValue(n),!0):!1}a(Qy,"updateValueIfChanged");function Ns(n){if(n=n||(typeof document<"u"?document:void 0),typeof n>"u")return null;try{return n.activeElement||n.body}catch{return n.body}}a(Ns,"getActiveElement");var sO=/[\n"\\]/g;function Cn(n){return n.replace(sO,function(i){return"\\"+i.charCodeAt(0).toString(16)+" "})}a(Cn,"escapeSelectorAttributeValueInsideDoubleQuotes");function Tf(n,i,s,f,y,v,T,M){n.name="",T!=null&&typeof T!="function"&&typeof T!="symbol"&&typeof T!="boolean"?n.type=T:n.removeAttribute("type"),i!=null?T==="number"?(i===0&&n.value===""||n.value!=i)&&(n.value=""+En(i)):n.value!==""+En(i)&&(n.value=""+En(i)):T!=="submit"&&T!=="reset"||n.removeAttribute("value"),i!=null?Rf(n,T,En(i)):s!=null?Rf(n,T,En(s)):f!=null&&n.removeAttribute("value"),y==null&&v!=null&&(n.defaultChecked=!!v),y!=null&&(n.checked=y&&typeof y!="function"&&typeof y!="symbol"),M!=null&&typeof M!="function"&&typeof M!="symbol"&&typeof M!="boolean"?n.name=""+En(M):n.removeAttribute("name")}a(Tf,"updateInput");function Xy(n,i,s,f,y,v,T,M){if(v!=null&&typeof v!="function"&&typeof v!="symbol"&&typeof v!="boolean"&&(n.type=v),i!=null||s!=null){if(!(v!=="submit"&&v!=="reset"||i!=null))return;s=s!=null?""+En(s):"",i=i!=null?""+En(i):s,M||i===n.value||(n.value=i),n.defaultValue=i}f=f??y,f=typeof f!="function"&&typeof f!="symbol"&&!!f,n.checked=M?n.checked:!!f,n.defaultChecked=!!f,T!=null&&typeof T!="function"&&typeof T!="symbol"&&typeof T!="boolean"&&(n.name=T)}a(Xy,"initInput");function Rf(n,i,s){i==="number"&&Ns(n.ownerDocument)===n||n.defaultValue===""+s||(n.defaultValue=""+s)}a(Rf,"setDefaultValue");function xo(n,i,s,f){if(n=n.options,i){i={};for(var y=0;y<s.length;y++)i["$"+s[y]]=!0;for(s=0;s<n.length;s++)y=i.hasOwnProperty("$"+n[s].value),n[s].selected!==y&&(n[s].selected=y),y&&f&&(n[s].defaultSelected=!0)}else{for(s=""+En(s),i=null,y=0;y<n.length;y++){if(n[y].value===s){n[y].selected=!0,f&&(n[y].defaultSelected=!0);return}i!==null||n[y].disabled||(i=n[y])}i!==null&&(i.selected=!0)}}a(xo,"updateOptions");function Wy(n,i,s){if(i!=null&&(i=""+En(i),i!==n.value&&(n.value=i),s==null)){n.defaultValue!==i&&(n.defaultValue=i);return}n.defaultValue=s!=null?""+En(s):""}a(Wy,"updateTextarea");function Zy(n,i,s,f){if(i==null){if(f!=null){if(s!=null)throw Error(o(92));if(te(f)){if(1<f.length)throw Error(o(93));f=f[0]}s=f}s==null&&(s=""),i=s}s=En(i),n.defaultValue=s,f=n.textContent,f===s&&f!==""&&f!==null&&(n.value=f)}a(Zy,"initTextarea");function wo(n,i){if(i){var s=n.firstChild;if(s&&s===n.lastChild&&s.nodeType===3){s.nodeValue=i;return}}n.textContent=i}a(wo,"setTextContent");var uO=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function Jy(n,i,s){var f=i.indexOf("--")===0;s==null||typeof s=="boolean"||s===""?f?n.setProperty(i,""):i==="float"?n.cssFloat="":n[i]="":f?n.setProperty(i,s):typeof s!="number"||s===0||uO.has(i)?i==="float"?n.cssFloat=s:n[i]=(""+s).trim():n[i]=s+"px"}a(Jy,"setValueForStyle");function eg(n,i,s){if(i!=null&&typeof i!="object")throw Error(o(62));if(n=n.style,s!=null){for(var f in s)!s.hasOwnProperty(f)||i!=null&&i.hasOwnProperty(f)||(f.indexOf("--")===0?n.setProperty(f,""):f==="float"?n.cssFloat="":n[f]="");for(var y in i)f=i[y],i.hasOwnProperty(y)&&s[y]!==f&&Jy(n,y,f)}else for(var v in i)i.hasOwnProperty(v)&&Jy(n,v,i[v])}a(eg,"setValueForStyles");function Of(n){if(n.indexOf("-")===-1)return!1;switch(n){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}}a(Of,"isCustomElement");var cO=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),fO=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function ks(n){return fO.test(""+n)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":n}a(ks,"sanitizeURL");var Af=null;function _f(n){return n=n.target||n.srcElement||window,n.correspondingUseElement&&(n=n.correspondingUseElement),n.nodeType===3?n.parentNode:n}a(_f,"getEventTarget");var Eo=null,Co=null;function tg(n){var i=go(n);if(i&&(n=i.stateNode)){var s=n[Xt]||null;e:switch(n=i.stateNode,i.type){case"input":if(Tf(n,s.value,s.defaultValue,s.defaultValue,s.checked,s.defaultChecked,s.type,s.name),i=s.name,s.type==="radio"&&i!=null){for(s=n;s.parentNode;)s=s.parentNode;for(s=s.querySelectorAll('input[name="'+Cn(""+i)+'"][type="radio"]'),i=0;i<s.length;i++){var f=s[i];if(f!==n&&f.form===n.form){var y=f[Xt]||null;if(!y)throw Error(o(90));Tf(f,y.value,y.defaultValue,y.defaultValue,y.checked,y.defaultChecked,y.type,y.name)}}for(i=0;i<s.length;i++)f=s[i],f.form===n.form&&Qy(f)}break e;case"textarea":Wy(n,s.value,s.defaultValue);break e;case"select":i=s.value,i!=null&&xo(n,!!s.multiple,i,!1)}}}a(tg,"restoreStateOfTarget");var Mf=!1;function ng(n,i,s){if(Mf)return n(i,s);Mf=!0;try{var f=n(i);return f}finally{if(Mf=!1,(Eo!==null||Co!==null)&&(gu(),Eo&&(i=Eo,n=Co,Co=Eo=null,tg(i),n)))for(i=0;i<n.length;i++)tg(n[i])}}a(ng,"batchedUpdates$1");function ja(n,i){var s=n.stateNode;if(s===null)return null;var f=s[Xt]||null;if(f===null)return null;s=f[i];e:switch(i){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(f=!f.disabled)||(n=n.type,f=!(n==="button"||n==="input"||n==="select"||n==="textarea")),n=!f;break e;default:n=!1}if(n)return null;if(s&&typeof s!="function")throw Error(o(231,i,typeof s));return s}a(ja,"getListener");var Tr=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Nf=!1;if(Tr)try{var Ua={};Object.defineProperty(Ua,"passive",{get:a(function(){Nf=!0},"get")}),window.addEventListener("test",Ua,Ua),window.removeEventListener("test",Ua,Ua)}catch{Nf=!1}var Qr=null,kf=null,Ds=null;function rg(){if(Ds)return Ds;var n,i=kf,s=i.length,f,y="value"in Qr?Qr.value:Qr.textContent,v=y.length;for(n=0;n<s&&i[n]===y[n];n++);var T=s-n;for(f=1;f<=T&&i[s-f]===y[v-f];f++);return Ds=y.slice(n,1<f?1-f:void 0)}a(rg,"getData");function Ps(n){var i=n.keyCode;return"charCode"in n?(n=n.charCode,n===0&&i===13&&(n=13)):n=i,n===10&&(n=13),32<=n||n===13?n:0}a(Ps,"getEventCharCode");function Ls(){return!0}a(Ls,"functionThatReturnsTrue");function ig(){return!1}a(ig,"functionThatReturnsFalse");function Wt(n){function i(s,f,y,v,T){this._reactName=s,this._targetInst=y,this.type=f,this.nativeEvent=v,this.target=T,this.currentTarget=null;for(var M in n)n.hasOwnProperty(M)&&(s=n[M],this[M]=s?s(v):v[M]);return this.isDefaultPrevented=(v.defaultPrevented!=null?v.defaultPrevented:v.returnValue===!1)?Ls:ig,this.isPropagationStopped=ig,this}return a(i,"SyntheticBaseEvent"),m(i.prototype,{preventDefault:a(function(){this.defaultPrevented=!0;var s=this.nativeEvent;s&&(s.preventDefault?s.preventDefault():typeof s.returnValue!="unknown"&&(s.returnValue=!1),this.isDefaultPrevented=Ls)},"preventDefault"),stopPropagation:a(function(){var s=this.nativeEvent;s&&(s.stopPropagation?s.stopPropagation():typeof s.cancelBubble!="unknown"&&(s.cancelBubble=!0),this.isPropagationStopped=Ls)},"stopPropagation"),persist:a(function(){},"persist"),isPersistent:Ls}),i}a(Wt,"createSyntheticEvent");var ki={eventPhase:0,bubbles:0,cancelable:0,timeStamp:a(function(n){return n.timeStamp||Date.now()},"timeStamp"),defaultPrevented:0,isTrusted:0},zs=Wt(ki),Ba=m({},ki,{view:0,detail:0}),dO=Wt(Ba),Df,Pf,Ha,Is=m({},Ba,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:zf,button:0,buttons:0,relatedTarget:a(function(n){return n.relatedTarget===void 0?n.fromElement===n.srcElement?n.toElement:n.fromElement:n.relatedTarget},"relatedTarget"),movementX:a(function(n){return"movementX"in n?n.movementX:(n!==Ha&&(Ha&&n.type==="mousemove"?(Df=n.screenX-Ha.screenX,Pf=n.screenY-Ha.screenY):Pf=Df=0,Ha=n),Df)},"movementX"),movementY:a(function(n){return"movementY"in n?n.movementY:Pf},"movementY")}),og=Wt(Is),pO=m({},Is,{dataTransfer:0}),hO=Wt(pO),mO=m({},Ba,{relatedTarget:0}),Lf=Wt(mO),yO=m({},ki,{animationName:0,elapsedTime:0,pseudoElement:0}),gO=Wt(yO),vO=m({},ki,{clipboardData:a(function(n){return"clipboardData"in n?n.clipboardData:window.clipboardData},"clipboardData")}),bO=Wt(vO),SO=m({},ki,{data:0}),ag=Wt(SO),xO={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},wO={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"},EO={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function CO(n){var i=this.nativeEvent;return i.getModifierState?i.getModifierState(n):(n=EO[n])?!!i[n]:!1}a(CO,"modifierStateGetter");function zf(){return CO}a(zf,"getEventModifierState");var TO=m({},Ba,{key:a(function(n){if(n.key){var i=xO[n.key]||n.key;if(i!=="Unidentified")return i}return n.type==="keypress"?(n=Ps(n),n===13?"Enter":String.fromCharCode(n)):n.type==="keydown"||n.type==="keyup"?wO[n.keyCode]||"Unidentified":""},"key"),code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:zf,charCode:a(function(n){return n.type==="keypress"?Ps(n):0},"charCode"),keyCode:a(function(n){return n.type==="keydown"||n.type==="keyup"?n.keyCode:0},"keyCode"),which:a(function(n){return n.type==="keypress"?Ps(n):n.type==="keydown"||n.type==="keyup"?n.keyCode:0},"which")}),RO=Wt(TO),OO=m({},Is,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),lg=Wt(OO),AO=m({},Ba,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:zf}),_O=Wt(AO),MO=m({},ki,{propertyName:0,elapsedTime:0,pseudoElement:0}),NO=Wt(MO),kO=m({},Is,{deltaX:a(function(n){return"deltaX"in n?n.deltaX:"wheelDeltaX"in n?-n.wheelDeltaX:0},"deltaX"),deltaY:a(function(n){return"deltaY"in n?n.deltaY:"wheelDeltaY"in n?-n.wheelDeltaY:"wheelDelta"in n?-n.wheelDelta:0},"deltaY"),deltaZ:0,deltaMode:0}),DO=Wt(kO),PO=m({},ki,{newState:0,oldState:0}),LO=Wt(PO),zO=[9,13,27,32],If=Tr&&"CompositionEvent"in window,Fa=null;Tr&&"documentMode"in document&&(Fa=document.documentMode);var IO=Tr&&"TextEvent"in window&&!Fa,sg=Tr&&(!If||Fa&&8<Fa&&11>=Fa),ug=" ",cg=!1;function fg(n,i){switch(n){case"keyup":return zO.indexOf(i.keyCode)!==-1;case"keydown":return i.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}a(fg,"isFallbackCompositionEnd");function dg(n){return n=n.detail,typeof n=="object"&&"data"in n?n.data:null}a(dg,"getDataFromCustomEvent");var To=!1;function jO(n,i){switch(n){case"compositionend":return dg(i);case"keypress":return i.which!==32?null:(cg=!0,ug);case"textInput":return n=i.data,n===ug&&cg?null:n;default:return null}}a(jO,"getNativeBeforeInputChars");function UO(n,i){if(To)return n==="compositionend"||!If&&fg(n,i)?(n=rg(),Ds=kf=Qr=null,To=!1,n):null;switch(n){case"paste":return null;case"keypress":if(!(i.ctrlKey||i.altKey||i.metaKey)||i.ctrlKey&&i.altKey){if(i.char&&1<i.char.length)return i.char;if(i.which)return String.fromCharCode(i.which)}return null;case"compositionend":return sg&&i.locale!=="ko"?null:i.data;default:return null}}a(UO,"getFallbackBeforeInputChars");var BO={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 pg(n){var i=n&&n.nodeName&&n.nodeName.toLowerCase();return i==="input"?!!BO[n.type]:i==="textarea"}a(pg,"isTextInputElement");function hg(n,i,s,f){Eo?Co?Co.push(f):Co=[f]:Eo=f,i=Eu(i,"onChange"),0<i.length&&(s=new zs("onChange","change",null,s,f),n.push({event:s,listeners:i}))}a(hg,"createAndAccumulateChangeEvent");var qa=null,$a=null;function HO(n){Kb(n,0)}a(HO,"runEventInBatch");function js(n){var i=Ia(n);if(Qy(i))return n}a(js,"getInstIfValueChanged");function mg(n,i){if(n==="change")return i}a(mg,"getTargetInstForChangeEvent");var yg=!1;if(Tr){var jf;if(Tr){var Uf="oninput"in document;if(!Uf){var gg=document.createElement("div");gg.setAttribute("oninput","return;"),Uf=typeof gg.oninput=="function"}jf=Uf}else jf=!1;yg=jf&&(!document.documentMode||9<document.documentMode)}function vg(){qa&&(qa.detachEvent("onpropertychange",bg),$a=qa=null)}a(vg,"stopWatchingForValueChange");function bg(n){if(n.propertyName==="value"&&js($a)){var i=[];hg(i,$a,n,_f(n)),ng(HO,i)}}a(bg,"handlePropertyChange");function FO(n,i,s){n==="focusin"?(vg(),qa=i,$a=s,qa.attachEvent("onpropertychange",bg)):n==="focusout"&&vg()}a(FO,"handleEventsForInputEventPolyfill");function qO(n){if(n==="selectionchange"||n==="keyup"||n==="keydown")return js($a)}a(qO,"getTargetInstForInputEventPolyfill");function $O(n,i){if(n==="click")return js(i)}a($O,"getTargetInstForClickEvent");function VO(n,i){if(n==="input"||n==="change")return js(i)}a(VO,"getTargetInstForInputOrChangeEvent");function GO(n,i){return n===i&&(n!==0||1/n===1/i)||n!==n&&i!==i}a(GO,"is");var un=typeof Object.is=="function"?Object.is:GO;function Va(n,i){if(un(n,i))return!0;if(typeof n!="object"||n===null||typeof i!="object"||i===null)return!1;var s=Object.keys(n),f=Object.keys(i);if(s.length!==f.length)return!1;for(f=0;f<s.length;f++){var y=s[f];if(!qe.call(i,y)||!un(n[y],i[y]))return!1}return!0}a(Va,"shallowEqual");function Sg(n){for(;n&&n.firstChild;)n=n.firstChild;return n}a(Sg,"getLeafNode");function xg(n,i){var s=Sg(n);n=0;for(var f;s;){if(s.nodeType===3){if(f=n+s.textContent.length,n<=i&&f>=i)return{node:s,offset:i-n};n=f}e:{for(;s;){if(s.nextSibling){s=s.nextSibling;break e}s=s.parentNode}s=void 0}s=Sg(s)}}a(xg,"getNodeForCharacterOffset");function wg(n,i){return n&&i?n===i?!0:n&&n.nodeType===3?!1:i&&i.nodeType===3?wg(n,i.parentNode):"contains"in n?n.contains(i):n.compareDocumentPosition?!!(n.compareDocumentPosition(i)&16):!1:!1}a(wg,"containsNode");function Eg(n){n=n!=null&&n.ownerDocument!=null&&n.ownerDocument.defaultView!=null?n.ownerDocument.defaultView:window;for(var i=Ns(n.document);i instanceof n.HTMLIFrameElement;){try{var s=typeof i.contentWindow.location.href=="string"}catch{s=!1}if(s)n=i.contentWindow;else break;i=Ns(n.document)}return i}a(Eg,"getActiveElementDeep");function Bf(n){var i=n&&n.nodeName&&n.nodeName.toLowerCase();return i&&(i==="input"&&(n.type==="text"||n.type==="search"||n.type==="tel"||n.type==="url"||n.type==="password")||i==="textarea"||n.contentEditable==="true")}a(Bf,"hasSelectionCapabilities");var YO=Tr&&"documentMode"in document&&11>=document.documentMode,Ro=null,Hf=null,Ga=null,Ff=!1;function Cg(n,i,s){var f=s.window===s?s.document:s.nodeType===9?s:s.ownerDocument;Ff||Ro==null||Ro!==Ns(f)||(f=Ro,"selectionStart"in f&&Bf(f)?f={start:f.selectionStart,end:f.selectionEnd}:(f=(f.ownerDocument&&f.ownerDocument.defaultView||window).getSelection(),f={anchorNode:f.anchorNode,anchorOffset:f.anchorOffset,focusNode:f.focusNode,focusOffset:f.focusOffset}),Ga&&Va(Ga,f)||(Ga=f,f=Eu(Hf,"onSelect"),0<f.length&&(i=new zs("onSelect","select",null,i,s),n.push({event:i,listeners:f}),i.target=Ro)))}a(Cg,"constructSelectEvent");function Di(n,i){var s={};return s[n.toLowerCase()]=i.toLowerCase(),s["Webkit"+n]="webkit"+i,s["Moz"+n]="moz"+i,s}a(Di,"makePrefixMap");var Oo={animationend:Di("Animation","AnimationEnd"),animationiteration:Di("Animation","AnimationIteration"),animationstart:Di("Animation","AnimationStart"),transitionrun:Di("Transition","TransitionRun"),transitionstart:Di("Transition","TransitionStart"),transitioncancel:Di("Transition","TransitionCancel"),transitionend:Di("Transition","TransitionEnd")},qf={},Tg={};Tr&&(Tg=document.createElement("div").style,"AnimationEvent"in window||(delete Oo.animationend.animation,delete Oo.animationiteration.animation,delete Oo.animationstart.animation),"TransitionEvent"in window||delete Oo.transitionend.transition);function Pi(n){if(qf[n])return qf[n];if(!Oo[n])return n;var i=Oo[n],s;for(s in i)if(i.hasOwnProperty(s)&&s in Tg)return qf[n]=i[s];return n}a(Pi,"getVendorPrefixedEventName");var Rg=Pi("animationend"),Og=Pi("animationiteration"),Ag=Pi("animationstart"),KO=Pi("transitionrun"),QO=Pi("transitionstart"),XO=Pi("transitioncancel"),_g=Pi("transitionend"),Mg=new Map,$f="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");$f.push("scrollEnd");function Un(n,i){Mg.set(n,i),Ni(i,[n])}a(Un,"registerSimpleEvent");var Ng=new WeakMap;function Tn(n,i){if(typeof n=="object"&&n!==null){var s=Ng.get(n);return s!==void 0?s:(i={value:n,source:i,stack:Yy(i)},Ng.set(n,i),i)}return{value:n,source:i,stack:Yy(i)}}a(Tn,"createCapturedValueAtFiber");var Rn=[],Ao=0,Vf=0;function Us(){for(var n=Ao,i=Vf=Ao=0;i<n;){var s=Rn[i];Rn[i++]=null;var f=Rn[i];Rn[i++]=null;var y=Rn[i];Rn[i++]=null;var v=Rn[i];if(Rn[i++]=null,f!==null&&y!==null){var T=f.pending;T===null?y.next=y:(y.next=T.next,T.next=y),f.pending=y}v!==0&&kg(s,y,v)}}a(Us,"finishQueueingConcurrentUpdates");function Bs(n,i,s,f){Rn[Ao++]=n,Rn[Ao++]=i,Rn[Ao++]=s,Rn[Ao++]=f,Vf|=f,n.lanes|=f,n=n.alternate,n!==null&&(n.lanes|=f)}a(Bs,"enqueueUpdate$1");function Gf(n,i,s,f){return Bs(n,i,s,f),Hs(n)}a(Gf,"enqueueConcurrentHookUpdate");function _o(n,i){return Bs(n,null,null,i),Hs(n)}a(_o,"enqueueConcurrentRenderForLane");function kg(n,i,s){n.lanes|=s;var f=n.alternate;f!==null&&(f.lanes|=s);for(var y=!1,v=n.return;v!==null;)v.childLanes|=s,f=v.alternate,f!==null&&(f.childLanes|=s),v.tag===22&&(n=v.stateNode,n===null||n._visibility&1||(y=!0)),n=v,v=v.return;return n.tag===3?(v=n.stateNode,y&&i!==null&&(y=31-Ne(s),n=v.hiddenUpdates,f=n[y],f===null?n[y]=[i]:f.push(i),i.lane=s|536870912),v):null}a(kg,"markUpdateLaneFromFiberToRoot");function Hs(n){if(50<gl)throw gl=0,Zd=null,Error(o(185));for(var i=n.return;i!==null;)n=i,i=n.return;return n.tag===3?n.stateNode:null}a(Hs,"getRootForUpdatedFiber");var Mo={};function WO(n,i,s,f){this.tag=n,this.key=s,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=i,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=f,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}a(WO,"FiberNode");function cn(n,i,s,f){return new WO(n,i,s,f)}a(cn,"createFiberImplClass");function Yf(n){return n=n.prototype,!(!n||!n.isReactComponent)}a(Yf,"shouldConstruct");function Rr(n,i){var s=n.alternate;return s===null?(s=cn(n.tag,i,n.key,n.mode),s.elementType=n.elementType,s.type=n.type,s.stateNode=n.stateNode,s.alternate=n,n.alternate=s):(s.pendingProps=i,s.type=n.type,s.flags=0,s.subtreeFlags=0,s.deletions=null),s.flags=n.flags&65011712,s.childLanes=n.childLanes,s.lanes=n.lanes,s.child=n.child,s.memoizedProps=n.memoizedProps,s.memoizedState=n.memoizedState,s.updateQueue=n.updateQueue,i=n.dependencies,s.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext},s.sibling=n.sibling,s.index=n.index,s.ref=n.ref,s.refCleanup=n.refCleanup,s}a(Rr,"createWorkInProgress");function Dg(n,i){n.flags&=65011714;var s=n.alternate;return s===null?(n.childLanes=0,n.lanes=i,n.child=null,n.subtreeFlags=0,n.memoizedProps=null,n.memoizedState=null,n.updateQueue=null,n.dependencies=null,n.stateNode=null):(n.childLanes=s.childLanes,n.lanes=s.lanes,n.child=s.child,n.subtreeFlags=0,n.deletions=null,n.memoizedProps=s.memoizedProps,n.memoizedState=s.memoizedState,n.updateQueue=s.updateQueue,n.type=s.type,i=s.dependencies,n.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext}),n}a(Dg,"resetWorkInProgress");function Fs(n,i,s,f,y,v){var T=0;if(f=n,typeof n=="function")Yf(n)&&(T=1);else if(typeof n=="string")T=JA(n,s,re.current)?26:n==="html"||n==="head"||n==="body"?27:5;else e:switch(n){case Y:return n=cn(31,s,i,y),n.elementType=Y,n.lanes=v,n;case E:return Li(s.children,y,v,i);case w:T=8,y|=24;break;case R:return n=cn(12,s,i,y|2),n.elementType=R,n.lanes=v,n;case z:return n=cn(13,s,i,y),n.elementType=z,n.lanes=v,n;case D:return n=cn(19,s,i,y),n.elementType=D,n.lanes=v,n;default:if(typeof n=="object"&&n!==null)switch(n.$$typeof){case C:case N:T=10;break e;case O:T=9;break e;case L:T=11;break e;case j:T=14;break e;case G:T=16,f=null;break e}T=29,s=Error(o(130,n===null?"null":typeof n,"")),f=null}return i=cn(T,s,i,y),i.elementType=n,i.type=f,i.lanes=v,i}a(Fs,"createFiberFromTypeAndProps");function Li(n,i,s,f){return n=cn(7,n,f,i),n.lanes=s,n}a(Li,"createFiberFromFragment");function Kf(n,i,s){return n=cn(6,n,null,i),n.lanes=s,n}a(Kf,"createFiberFromText");function Qf(n,i,s){return i=cn(4,n.children!==null?n.children:[],n.key,i),i.lanes=s,i.stateNode={containerInfo:n.containerInfo,pendingChildren:null,implementation:n.implementation},i}a(Qf,"createFiberFromPortal");var No=[],ko=0,qs=null,$s=0,On=[],An=0,zi=null,Or=1,Ar="";function Ii(n,i){No[ko++]=$s,No[ko++]=qs,qs=n,$s=i}a(Ii,"pushTreeFork");function Pg(n,i,s){On[An++]=Or,On[An++]=Ar,On[An++]=zi,zi=n;var f=Or;n=Ar;var y=32-Ne(f)-1;f&=~(1<<y),s+=1;var v=32-Ne(i)+y;if(30<v){var T=y-y%5;v=(f&(1<<T)-1).toString(32),f>>=T,y-=T,Or=1<<32-Ne(i)+y|s<<y|f,Ar=v+n}else Or=1<<v|s<<y|f,Ar=n}a(Pg,"pushTreeId");function Xf(n){n.return!==null&&(Ii(n,1),Pg(n,1,0))}a(Xf,"pushMaterializedTreeId");function Wf(n){for(;n===qs;)qs=No[--ko],No[ko]=null,$s=No[--ko],No[ko]=null;for(;n===zi;)zi=On[--An],On[An]=null,Ar=On[--An],On[An]=null,Or=On[--An],On[An]=null}a(Wf,"popTreeContext");var $t=null,ht=null,Xe=!1,ji=null,er=!1,Zf=Error(o(519));function Ui(n){var i=Error(o(418,""));throw Qa(Tn(i,n)),Zf}a(Ui,"throwOnHydrationMismatch");function Lg(n){var i=n.stateNode,s=n.type,f=n.memoizedProps;switch(i[jt]=n,i[Xt]=f,s){case"dialog":Ve("cancel",i),Ve("close",i);break;case"iframe":case"object":case"embed":Ve("load",i);break;case"video":case"audio":for(s=0;s<bl.length;s++)Ve(bl[s],i);break;case"source":Ve("error",i);break;case"img":case"image":case"link":Ve("error",i),Ve("load",i);break;case"details":Ve("toggle",i);break;case"input":Ve("invalid",i),Xy(i,f.value,f.defaultValue,f.checked,f.defaultChecked,f.type,f.name,!0),Ms(i);break;case"select":Ve("invalid",i);break;case"textarea":Ve("invalid",i),Zy(i,f.value,f.defaultValue,f.children),Ms(i)}s=f.children,typeof s!="string"&&typeof s!="number"&&typeof s!="bigint"||i.textContent===""+s||f.suppressHydrationWarning===!0||Zb(i.textContent,s)?(f.popover!=null&&(Ve("beforetoggle",i),Ve("toggle",i)),f.onScroll!=null&&Ve("scroll",i),f.onScrollEnd!=null&&Ve("scrollend",i),f.onClick!=null&&(i.onclick=Cu),i=!0):i=!1,i||Ui(n)}a(Lg,"prepareToHydrateHostInstance");function zg(n){for($t=n.return;$t;)switch($t.tag){case 5:case 13:er=!1;return;case 27:case 3:er=!0;return;default:$t=$t.return}}a(zg,"popToNextHostParent");function Ya(n){if(n!==$t)return!1;if(!Xe)return zg(n),Xe=!0,!1;var i=n.tag,s;if((s=i!==3&&i!==27)&&((s=i===5)&&(s=n.type,s=!(s!=="form"&&s!=="button")||hp(n.type,n.memoizedProps)),s=!s),s&&ht&&Ui(n),zg(n),i===13){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(o(317));e:{for(n=n.nextSibling,i=0;n;){if(n.nodeType===8)if(s=n.data,s==="/$"){if(i===0){ht=Hn(n.nextSibling);break e}i--}else s!=="$"&&s!=="$!"&&s!=="$?"||i++;n=n.nextSibling}ht=null}}else i===27?(i=ht,fi(n.type)?(n=vp,vp=null,ht=n):ht=i):ht=$t?Hn(n.stateNode.nextSibling):null;return!0}a(Ya,"popHydrationState");function Ka(){ht=$t=null,Xe=!1}a(Ka,"resetHydrationState");function Ig(){var n=ji;return n!==null&&(en===null?en=n:en.push.apply(en,n),ji=null),n}a(Ig,"upgradeHydrationErrorsToRecoverable");function Qa(n){ji===null?ji=[n]:ji.push(n)}a(Qa,"queueHydrationError");var Jf=K(null),Bi=null,_r=null;function Xr(n,i,s){_(Jf,i._currentValue),i._currentValue=s}a(Xr,"pushProvider");function Mr(n){n._currentValue=Jf.current,de(Jf)}a(Mr,"popProvider");function ed(n,i,s){for(;n!==null;){var f=n.alternate;if((n.childLanes&i)!==i?(n.childLanes|=i,f!==null&&(f.childLanes|=i)):f!==null&&(f.childLanes&i)!==i&&(f.childLanes|=i),n===s)break;n=n.return}}a(ed,"scheduleContextWorkOnParentPath");function td(n,i,s,f){var y=n.child;for(y!==null&&(y.return=n);y!==null;){var v=y.dependencies;if(v!==null){var T=y.child;v=v.firstContext;e:for(;v!==null;){var M=v;v=y;for(var P=0;P<i.length;P++)if(M.context===i[P]){v.lanes|=s,M=v.alternate,M!==null&&(M.lanes|=s),ed(v.return,s,n),f||(T=null);break e}v=M.next}}else if(y.tag===18){if(T=y.return,T===null)throw Error(o(341));T.lanes|=s,v=T.alternate,v!==null&&(v.lanes|=s),ed(T,s,n),T=null}else T=y.child;if(T!==null)T.return=y;else for(T=y;T!==null;){if(T===n){T=null;break}if(y=T.sibling,y!==null){y.return=T.return,T=y;break}T=T.return}y=T}}a(td,"propagateContextChanges");function Xa(n,i,s,f){n=null;for(var y=i,v=!1;y!==null;){if(!v){if((y.flags&524288)!==0)v=!0;else if((y.flags&262144)!==0)break}if(y.tag===10){var T=y.alternate;if(T===null)throw Error(o(387));if(T=T.memoizedProps,T!==null){var M=y.type;un(y.pendingProps.value,T.value)||(n!==null?n.push(M):n=[M])}}else if(y===Q.current){if(T=y.alternate,T===null)throw Error(o(387));T.memoizedState.memoizedState!==y.memoizedState.memoizedState&&(n!==null?n.push(Tl):n=[Tl])}y=y.return}n!==null&&td(i,n,s,f),i.flags|=262144}a(Xa,"propagateParentContextChanges");function Vs(n){for(n=n.firstContext;n!==null;){if(!un(n.context._currentValue,n.memoizedValue))return!0;n=n.next}return!1}a(Vs,"checkIfContextChanged");function Hi(n){Bi=n,_r=null,n=n.dependencies,n!==null&&(n.firstContext=null)}a(Hi,"prepareToReadContext");function Ut(n){return jg(Bi,n)}a(Ut,"readContext");function Gs(n,i){return Bi===null&&Hi(n),jg(n,i)}a(Gs,"readContextDuringReconciliation");function jg(n,i){var s=i._currentValue;if(i={context:i,memoizedValue:s,next:null},_r===null){if(n===null)throw Error(o(308));_r=i,n.dependencies={lanes:0,firstContext:i},n.flags|=524288}else _r=_r.next=i;return s}a(jg,"readContextForConsumer");var ZO=typeof AbortController<"u"?AbortController:function(){var n=[],i=this.signal={aborted:!1,addEventListener:a(function(s,f){n.push(f)},"addEventListener")};this.abort=function(){i.aborted=!0,n.forEach(function(s){return s()})}},JO=e.unstable_scheduleCallback,eA=e.unstable_NormalPriority,Rt={$$typeof:N,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function nd(){return{controller:new ZO,data:new Map,refCount:0}}a(nd,"createCache");function Wa(n){n.refCount--,n.refCount===0&&JO(eA,function(){n.controller.abort()})}a(Wa,"releaseCache");var Za=null,rd=0,Do=0,Po=null;function tA(n,i){if(Za===null){var s=Za=[];rd=0,Do=op(),Po={status:"pending",value:void 0,then:a(function(f){s.push(f)},"then")}}return rd++,i.then(Ug,Ug),i}a(tA,"entangleAsyncAction");function Ug(){if(--rd===0&&Za!==null){Po!==null&&(Po.status="fulfilled");var n=Za;Za=null,Do=0,Po=null;for(var i=0;i<n.length;i++)(0,n[i])()}}a(Ug,"pingEngtangledActionScope");function nA(n,i){var s=[],f={status:"pending",value:null,reason:null,then:a(function(y){s.push(y)},"then")};return n.then(function(){f.status="fulfilled",f.value=i;for(var y=0;y<s.length;y++)(0,s[y])(i)},function(y){for(f.status="rejected",f.reason=y,y=0;y<s.length;y++)(0,s[y])(void 0)}),f}a(nA,"chainThenableValue");var Bg=I.S;I.S=function(n,i){typeof i=="object"&&i!==null&&typeof i.then=="function"&&tA(n,i),Bg!==null&&Bg(n,i)};var Fi=K(null);function id(){var n=Fi.current;return n!==null?n:at.pooledCache}a(id,"peekCacheFromPool");function Ys(n,i){i===null?_(Fi,Fi.current):_(Fi,i.pool)}a(Ys,"pushTransition");function Hg(){var n=id();return n===null?null:{parent:Rt._currentValue,pool:n}}a(Hg,"getSuspendedCache");var Ja=Error(o(460)),Fg=Error(o(474)),Ks=Error(o(542)),od={then:a(function(){},"then")};function qg(n){return n=n.status,n==="fulfilled"||n==="rejected"}a(qg,"isThenableResolved");function Qs(){}a(Qs,"noop$3");function $g(n,i,s){switch(s=n[s],s===void 0?n.push(i):s!==i&&(i.then(Qs,Qs),i=s),i.status){case"fulfilled":return i.value;case"rejected":throw n=i.reason,Gg(n),n;default:if(typeof i.status=="string")i.then(Qs,Qs);else{if(n=at,n!==null&&100<n.shellSuspendCounter)throw Error(o(482));n=i,n.status="pending",n.then(function(f){if(i.status==="pending"){var y=i;y.status="fulfilled",y.value=f}},function(f){if(i.status==="pending"){var y=i;y.status="rejected",y.reason=f}})}switch(i.status){case"fulfilled":return i.value;case"rejected":throw n=i.reason,Gg(n),n}throw el=i,Ja}}a($g,"trackUsedThenable");var el=null;function Vg(){if(el===null)throw Error(o(459));var n=el;return el=null,n}a(Vg,"getSuspendedThenable");function Gg(n){if(n===Ja||n===Ks)throw Error(o(483))}a(Gg,"checkIfUseWrappedInAsyncCatch");var Wr=!1;function ad(n){n.updateQueue={baseState:n.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}a(ad,"initializeUpdateQueue");function ld(n,i){n=n.updateQueue,i.updateQueue===n&&(i.updateQueue={baseState:n.baseState,firstBaseUpdate:n.firstBaseUpdate,lastBaseUpdate:n.lastBaseUpdate,shared:n.shared,callbacks:null})}a(ld,"cloneUpdateQueue");function Zr(n){return{lane:n,tag:0,payload:null,callback:null,next:null}}a(Zr,"createUpdate");function Jr(n,i,s){var f=n.updateQueue;if(f===null)return null;if(f=f.shared,(et&2)!==0){var y=f.pending;return y===null?i.next=i:(i.next=y.next,y.next=i),f.pending=i,i=Hs(n),kg(n,null,s),i}return Bs(n,f,i,s),Hs(n)}a(Jr,"enqueueUpdate");function tl(n,i,s){if(i=i.updateQueue,i!==null&&(i=i.shared,(s&4194048)!==0)){var f=i.lanes;f&=n.pendingLanes,s|=f,i.lanes=s,Uy(n,s)}}a(tl,"entangleTransitions");function sd(n,i){var s=n.updateQueue,f=n.alternate;if(f!==null&&(f=f.updateQueue,s===f)){var y=null,v=null;if(s=s.firstBaseUpdate,s!==null){do{var T={lane:s.lane,tag:s.tag,payload:s.payload,callback:null,next:null};v===null?y=v=T:v=v.next=T,s=s.next}while(s!==null);v===null?y=v=i:v=v.next=i}else y=v=i;s={baseState:f.baseState,firstBaseUpdate:y,lastBaseUpdate:v,shared:f.shared,callbacks:f.callbacks},n.updateQueue=s;return}n=s.lastBaseUpdate,n===null?s.firstBaseUpdate=i:n.next=i,s.lastBaseUpdate=i}a(sd,"enqueueCapturedUpdate");var ud=!1;function nl(){if(ud){var n=Po;if(n!==null)throw n}}a(nl,"suspendIfUpdateReadFromEntangledAsyncAction");function rl(n,i,s,f){ud=!1;var y=n.updateQueue;Wr=!1;var v=y.firstBaseUpdate,T=y.lastBaseUpdate,M=y.shared.pending;if(M!==null){y.shared.pending=null;var P=M,F=P.next;P.next=null,T===null?v=F:T.next=F,T=P;var oe=n.alternate;oe!==null&&(oe=oe.updateQueue,M=oe.lastBaseUpdate,M!==T&&(M===null?oe.firstBaseUpdate=F:M.next=F,oe.lastBaseUpdate=P))}if(v!==null){var ue=y.baseState;T=0,oe=F=P=null,M=v;do{var $=M.lane&-536870913,V=$!==M.lane;if(V?(Ye&$)===$:(f&$)===$){$!==0&&$===Do&&(ud=!0),oe!==null&&(oe=oe.next={lane:0,tag:M.tag,payload:M.payload,callback:null,next:null});e:{var ke=n,Ae=M;$=i;var it=s;switch(Ae.tag){case 1:if(ke=Ae.payload,typeof ke=="function"){ue=ke.call(it,ue,$);break e}ue=ke;break e;case 3:ke.flags=ke.flags&-65537|128;case 0:if(ke=Ae.payload,$=typeof ke=="function"?ke.call(it,ue,$):ke,$==null)break e;ue=m({},ue,$);break e;case 2:Wr=!0}}$=M.callback,$!==null&&(n.flags|=64,V&&(n.flags|=8192),V=y.callbacks,V===null?y.callbacks=[$]:V.push($))}else V={lane:$,tag:M.tag,payload:M.payload,callback:M.callback,next:null},oe===null?(F=oe=V,P=ue):oe=oe.next=V,T|=$;if(M=M.next,M===null){if(M=y.shared.pending,M===null)break;V=M,M=V.next,V.next=null,y.lastBaseUpdate=V,y.shared.pending=null}}while(!0);oe===null&&(P=ue),y.baseState=P,y.firstBaseUpdate=F,y.lastBaseUpdate=oe,v===null&&(y.shared.lanes=0),li|=T,n.lanes=T,n.memoizedState=ue}}a(rl,"processUpdateQueue");function Yg(n,i){if(typeof n!="function")throw Error(o(191,n));n.call(i)}a(Yg,"callCallback");function Kg(n,i){var s=n.callbacks;if(s!==null)for(n.callbacks=null,n=0;n<s.length;n++)Yg(s[n],i)}a(Kg,"commitCallbacks");var Lo=K(null),Xs=K(0);function Qg(n,i){n=Ir,_(Xs,n),_(Lo,i),Ir=n|i.baseLanes}a(Qg,"pushHiddenContext");function cd(){_(Xs,Ir),_(Lo,Lo.current)}a(cd,"reuseHiddenContextOnStack");function fd(){Ir=Xs.current,de(Lo),de(Xs)}a(fd,"popHiddenContext");var ei=0,He=null,nt=null,Et=null,Ws=!1,zo=!1,qi=!1,Zs=0,il=0,Io=null,rA=0;function xt(){throw Error(o(321))}a(xt,"throwInvalidHookError");function dd(n,i){if(i===null)return!1;for(var s=0;s<i.length&&s<n.length;s++)if(!un(n[s],i[s]))return!1;return!0}a(dd,"areHookInputsEqual");function pd(n,i,s,f,y,v){return ei=v,He=i,i.memoizedState=null,i.updateQueue=null,i.lanes=0,I.H=n===null||n.memoizedState===null?kv:Dv,qi=!1,v=s(f,y),qi=!1,zo&&(v=Wg(i,s,f,y)),Xg(n),v}a(pd,"renderWithHooks");function Xg(n){I.H=iu;var i=nt!==null&&nt.next!==null;if(ei=0,Et=nt=He=null,Ws=!1,il=0,Io=null,i)throw Error(o(300));n===null||Nt||(n=n.dependencies,n!==null&&Vs(n)&&(Nt=!0))}a(Xg,"finishRenderingHooks");function Wg(n,i,s,f){He=n;var y=0;do{if(zo&&(Io=null),il=0,zo=!1,25<=y)throw Error(o(301));if(y+=1,Et=nt=null,n.updateQueue!=null){var v=n.updateQueue;v.lastEffect=null,v.events=null,v.stores=null,v.memoCache!=null&&(v.memoCache.index=0)}I.H=cA,v=i(s,f)}while(zo);return v}a(Wg,"renderWithHooksAgain");function iA(){var n=I.H,i=n.useState()[0];return i=typeof i.then=="function"?ol(i):i,n=n.useState()[0],(nt!==null?nt.memoizedState:null)!==n&&(He.flags|=1024),i}a(iA,"TransitionAwareHostComponent");function hd(){var n=Zs!==0;return Zs=0,n}a(hd,"checkDidRenderIdHook");function md(n,i,s){i.updateQueue=n.updateQueue,i.flags&=-2053,n.lanes&=~s}a(md,"bailoutHooks");function yd(n){if(Ws){for(n=n.memoizedState;n!==null;){var i=n.queue;i!==null&&(i.pending=null),n=n.next}Ws=!1}ei=0,Et=nt=He=null,zo=!1,il=Zs=0,Io=null}a(yd,"resetHooksOnUnwind");function Zt(){var n={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Et===null?He.memoizedState=Et=n:Et=Et.next=n,Et}a(Zt,"mountWorkInProgressHook");function Ct(){if(nt===null){var n=He.alternate;n=n!==null?n.memoizedState:null}else n=nt.next;var i=Et===null?He.memoizedState:Et.next;if(i!==null)Et=i,nt=n;else{if(n===null)throw He.alternate===null?Error(o(467)):Error(o(310));nt=n,n={memoizedState:nt.memoizedState,baseState:nt.baseState,baseQueue:nt.baseQueue,queue:nt.queue,next:null},Et===null?He.memoizedState=Et=n:Et=Et.next=n}return Et}a(Ct,"updateWorkInProgressHook");function gd(){return{lastEffect:null,events:null,stores:null,memoCache:null}}a(gd,"createFunctionComponentUpdateQueue");function ol(n){var i=il;return il+=1,Io===null&&(Io=[]),n=$g(Io,n,i),i=He,(Et===null?i.memoizedState:Et.next)===null&&(i=i.alternate,I.H=i===null||i.memoizedState===null?kv:Dv),n}a(ol,"useThenable");function Js(n){if(n!==null&&typeof n=="object"){if(typeof n.then=="function")return ol(n);if(n.$$typeof===N)return Ut(n)}throw Error(o(438,String(n)))}a(Js,"use");function vd(n){var i=null,s=He.updateQueue;if(s!==null&&(i=s.memoCache),i==null){var f=He.alternate;f!==null&&(f=f.updateQueue,f!==null&&(f=f.memoCache,f!=null&&(i={data:f.data.map(function(y){return y.slice()}),index:0})))}if(i==null&&(i={data:[],index:0}),s===null&&(s=gd(),He.updateQueue=s),s.memoCache=i,s=i.data[i.index],s===void 0)for(s=i.data[i.index]=Array(n),f=0;f<n;f++)s[f]=J;return i.index++,s}a(vd,"useMemoCache");function Nr(n,i){return typeof i=="function"?i(n):i}a(Nr,"basicStateReducer");function eu(n){var i=Ct();return bd(i,nt,n)}a(eu,"updateReducer");function bd(n,i,s){var f=n.queue;if(f===null)throw Error(o(311));f.lastRenderedReducer=s;var y=n.baseQueue,v=f.pending;if(v!==null){if(y!==null){var T=y.next;y.next=v.next,v.next=T}i.baseQueue=y=v,f.pending=null}if(v=n.baseState,y===null)n.memoizedState=v;else{i=y.next;var M=T=null,P=null,F=i,oe=!1;do{var ue=F.lane&-536870913;if(ue!==F.lane?(Ye&ue)===ue:(ei&ue)===ue){var $=F.revertLane;if($===0)P!==null&&(P=P.next={lane:0,revertLane:0,action:F.action,hasEagerState:F.hasEagerState,eagerState:F.eagerState,next:null}),ue===Do&&(oe=!0);else if((ei&$)===$){F=F.next,$===Do&&(oe=!0);continue}else ue={lane:0,revertLane:F.revertLane,action:F.action,hasEagerState:F.hasEagerState,eagerState:F.eagerState,next:null},P===null?(M=P=ue,T=v):P=P.next=ue,He.lanes|=$,li|=$;ue=F.action,qi&&s(v,ue),v=F.hasEagerState?F.eagerState:s(v,ue)}else $={lane:ue,revertLane:F.revertLane,action:F.action,hasEagerState:F.hasEagerState,eagerState:F.eagerState,next:null},P===null?(M=P=$,T=v):P=P.next=$,He.lanes|=ue,li|=ue;F=F.next}while(F!==null&&F!==i);if(P===null?T=v:P.next=M,!un(v,n.memoizedState)&&(Nt=!0,oe&&(s=Po,s!==null)))throw s;n.memoizedState=v,n.baseState=T,n.baseQueue=P,f.lastRenderedState=v}return y===null&&(f.lanes=0),[n.memoizedState,f.dispatch]}a(bd,"updateReducerImpl");function Sd(n){var i=Ct(),s=i.queue;if(s===null)throw Error(o(311));s.lastRenderedReducer=n;var f=s.dispatch,y=s.pending,v=i.memoizedState;if(y!==null){s.pending=null;var T=y=y.next;do v=n(v,T.action),T=T.next;while(T!==y);un(v,i.memoizedState)||(Nt=!0),i.memoizedState=v,i.baseQueue===null&&(i.baseState=v),s.lastRenderedState=v}return[v,f]}a(Sd,"rerenderReducer");function Zg(n,i,s){var f=He,y=Ct(),v=Xe;if(v){if(s===void 0)throw Error(o(407));s=s()}else s=i();var T=!un((nt||y).memoizedState,s);T&&(y.memoizedState=s,Nt=!0),y=y.queue;var M=tv.bind(null,f,y,n);if(al(2048,8,M,[n]),y.getSnapshot!==i||T||Et!==null&&Et.memoizedState.tag&1){if(f.flags|=2048,jo(9,tu(),ev.bind(null,f,y,s,i),null),at===null)throw Error(o(349));v||(ei&124)!==0||Jg(f,i,s)}return s}a(Zg,"updateSyncExternalStore");function Jg(n,i,s){n.flags|=16384,n={getSnapshot:i,value:s},i=He.updateQueue,i===null?(i=gd(),He.updateQueue=i,i.stores=[n]):(s=i.stores,s===null?i.stores=[n]:s.push(n))}a(Jg,"pushStoreConsistencyCheck");function ev(n,i,s,f){i.value=s,i.getSnapshot=f,nv(i)&&rv(n)}a(ev,"updateStoreInstance");function tv(n,i,s){return s(function(){nv(i)&&rv(n)})}a(tv,"subscribeToStore");function nv(n){var i=n.getSnapshot;n=n.value;try{var s=i();return!un(n,s)}catch{return!0}}a(nv,"checkIfSnapshotChanged");function rv(n){var i=_o(n,2);i!==null&&mn(i,n,2)}a(rv,"forceStoreRerender");function xd(n){var i=Zt();if(typeof n=="function"){var s=n;if(n=s(),qi){Oe(!0);try{s()}finally{Oe(!1)}}}return i.memoizedState=i.baseState=n,i.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Nr,lastRenderedState:n},i}a(xd,"mountStateImpl");function iv(n,i,s,f){return n.baseState=s,bd(n,nt,typeof f=="function"?f:Nr)}a(iv,"updateOptimisticImpl");function oA(n,i,s,f,y){if(ru(n))throw Error(o(485));if(n=i.action,n!==null){var v={payload:y,action:n,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:a(function(T){v.listeners.push(T)},"then")};I.T!==null?s(!0):v.isTransition=!1,f(v),s=i.pending,s===null?(v.next=i.pending=v,ov(i,v)):(v.next=s.next,i.pending=s.next=v)}}a(oA,"dispatchActionState");function ov(n,i){var s=i.action,f=i.payload,y=n.state;if(i.isTransition){var v=I.T,T={};I.T=T;try{var M=s(y,f),P=I.S;P!==null&&P(T,M),av(n,i,M)}catch(F){wd(n,i,F)}finally{I.T=v}}else try{v=s(y,f),av(n,i,v)}catch(F){wd(n,i,F)}}a(ov,"runActionStateAction");function av(n,i,s){s!==null&&typeof s=="object"&&typeof s.then=="function"?s.then(function(f){lv(n,i,f)},function(f){return wd(n,i,f)}):lv(n,i,s)}a(av,"handleActionReturnValue");function lv(n,i,s){i.status="fulfilled",i.value=s,sv(i),n.state=s,i=n.pending,i!==null&&(s=i.next,s===i?n.pending=null:(s=s.next,i.next=s,ov(n,s)))}a(lv,"onActionSuccess");function wd(n,i,s){var f=n.pending;if(n.pending=null,f!==null){f=f.next;do i.status="rejected",i.reason=s,sv(i),i=i.next;while(i!==f)}n.action=null}a(wd,"onActionError");function sv(n){n=n.listeners;for(var i=0;i<n.length;i++)(0,n[i])()}a(sv,"notifyActionListeners");function uv(n,i){return i}a(uv,"actionStateReducer");function cv(n,i){if(Xe){var s=at.formState;if(s!==null){e:{var f=He;if(Xe){if(ht){t:{for(var y=ht,v=er;y.nodeType!==8;){if(!v){y=null;break t}if(y=Hn(y.nextSibling),y===null){y=null;break t}}v=y.data,y=v==="F!"||v==="F"?y:null}if(y){ht=Hn(y.nextSibling),f=y.data==="F!";break e}}Ui(f)}f=!1}f&&(i=s[0])}}return s=Zt(),s.memoizedState=s.baseState=i,f={pending:null,lanes:0,dispatch:null,lastRenderedReducer:uv,lastRenderedState:i},s.queue=f,s=_v.bind(null,He,f),f.dispatch=s,f=xd(!1),v=Od.bind(null,He,!1,f.queue),f=Zt(),y={state:i,dispatch:null,action:n,pending:null},f.queue=y,s=oA.bind(null,He,y,v,s),y.dispatch=s,f.memoizedState=n,[i,s,!1]}a(cv,"mountActionState");function fv(n){var i=Ct();return dv(i,nt,n)}a(fv,"updateActionState");function dv(n,i,s){if(i=bd(n,i,uv)[0],n=eu(Nr)[0],typeof i=="object"&&i!==null&&typeof i.then=="function")try{var f=ol(i)}catch(T){throw T===Ja?Ks:T}else f=i;i=Ct();var y=i.queue,v=y.dispatch;return s!==i.memoizedState&&(He.flags|=2048,jo(9,tu(),aA.bind(null,y,s),null)),[f,v,n]}a(dv,"updateActionStateImpl");function aA(n,i){n.action=i}a(aA,"actionStateActionEffect");function pv(n){var i=Ct(),s=nt;if(s!==null)return dv(i,s,n);Ct(),i=i.memoizedState,s=Ct();var f=s.queue.dispatch;return s.memoizedState=n,[i,f,!1]}a(pv,"rerenderActionState");function jo(n,i,s,f){return n={tag:n,create:s,deps:f,inst:i,next:null},i=He.updateQueue,i===null&&(i=gd(),He.updateQueue=i),s=i.lastEffect,s===null?i.lastEffect=n.next=n:(f=s.next,s.next=n,n.next=f,i.lastEffect=n),n}a(jo,"pushSimpleEffect");function tu(){return{destroy:void 0,resource:void 0}}a(tu,"createEffectInstance");function hv(){return Ct().memoizedState}a(hv,"updateRef");function nu(n,i,s,f){var y=Zt();f=f===void 0?null:f,He.flags|=n,y.memoizedState=jo(1|i,tu(),s,f)}a(nu,"mountEffectImpl");function al(n,i,s,f){var y=Ct();f=f===void 0?null:f;var v=y.memoizedState.inst;nt!==null&&f!==null&&dd(f,nt.memoizedState.deps)?y.memoizedState=jo(i,v,s,f):(He.flags|=n,y.memoizedState=jo(1|i,v,s,f))}a(al,"updateEffectImpl");function mv(n,i){nu(8390656,8,n,i)}a(mv,"mountEffect");function yv(n,i){al(2048,8,n,i)}a(yv,"updateEffect");function gv(n,i){return al(4,2,n,i)}a(gv,"updateInsertionEffect");function vv(n,i){return al(4,4,n,i)}a(vv,"updateLayoutEffect");function bv(n,i){if(typeof i=="function"){n=n();var s=i(n);return function(){typeof s=="function"?s():i(null)}}if(i!=null)return n=n(),i.current=n,function(){i.current=null}}a(bv,"imperativeHandleEffect");function Sv(n,i,s){s=s!=null?s.concat([n]):null,al(4,4,bv.bind(null,i,n),s)}a(Sv,"updateImperativeHandle");function Ed(){}a(Ed,"mountDebugValue");function xv(n,i){var s=Ct();i=i===void 0?null:i;var f=s.memoizedState;return i!==null&&dd(i,f[1])?f[0]:(s.memoizedState=[n,i],n)}a(xv,"updateCallback");function wv(n,i){var s=Ct();i=i===void 0?null:i;var f=s.memoizedState;if(i!==null&&dd(i,f[1]))return f[0];if(f=n(),qi){Oe(!0);try{n()}finally{Oe(!1)}}return s.memoizedState=[f,i],f}a(wv,"updateMemo");function Cd(n,i,s){return s===void 0||(ei&1073741824)!==0?n.memoizedState=i:(n.memoizedState=s,n=Tb(),He.lanes|=n,li|=n,s)}a(Cd,"mountDeferredValueImpl");function Ev(n,i,s,f){return un(s,i)?s:Lo.current!==null?(n=Cd(n,s,f),un(n,i)||(Nt=!0),n):(ei&42)===0?(Nt=!0,n.memoizedState=s):(n=Tb(),He.lanes|=n,li|=n,i)}a(Ev,"updateDeferredValueImpl");function Cv(n,i,s,f,y){var v=W.p;W.p=v!==0&&8>v?v:8;var T=I.T,M={};I.T=M,Od(n,!1,i,s);try{var P=y(),F=I.S;if(F!==null&&F(M,P),P!==null&&typeof P=="object"&&typeof P.then=="function"){var oe=nA(P,f);ll(n,i,oe,hn(n))}else ll(n,i,f,hn(n))}catch(ue){ll(n,i,{then:a(function(){},"then"),status:"rejected",reason:ue},hn())}finally{W.p=v,I.T=T}}a(Cv,"startTransition");function lA(){}a(lA,"noop$2");function Td(n,i,s,f){if(n.tag!==5)throw Error(o(476));var y=Tv(n).queue;Cv(n,y,i,ne,s===null?lA:function(){return Rv(n),s(f)})}a(Td,"startHostTransition");function Tv(n){var i=n.memoizedState;if(i!==null)return i;i={memoizedState:ne,baseState:ne,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Nr,lastRenderedState:ne},next:null};var s={};return i.next={memoizedState:s,baseState:s,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Nr,lastRenderedState:s},next:null},n.memoizedState=i,n=n.alternate,n!==null&&(n.memoizedState=i),i}a(Tv,"ensureFormComponentIsStateful");function Rv(n){var i=Tv(n).next.queue;ll(n,i,{},hn())}a(Rv,"requestFormReset$1");function Rd(){return Ut(Tl)}a(Rd,"useHostTransitionStatus");function Ov(){return Ct().memoizedState}a(Ov,"updateId");function Av(){return Ct().memoizedState}a(Av,"updateRefresh");function sA(n){for(var i=n.return;i!==null;){switch(i.tag){case 24:case 3:var s=hn();n=Zr(s);var f=Jr(i,n,s);f!==null&&(mn(f,i,s),tl(f,i,s)),i={cache:nd()},n.payload=i;return}i=i.return}}a(sA,"refreshCache");function uA(n,i,s){var f=hn();s={lane:f,revertLane:0,action:s,hasEagerState:!1,eagerState:null,next:null},ru(n)?Mv(i,s):(s=Gf(n,i,s,f),s!==null&&(mn(s,n,f),Nv(s,i,f)))}a(uA,"dispatchReducerAction");function _v(n,i,s){var f=hn();ll(n,i,s,f)}a(_v,"dispatchSetState");function ll(n,i,s,f){var y={lane:f,revertLane:0,action:s,hasEagerState:!1,eagerState:null,next:null};if(ru(n))Mv(i,y);else{var v=n.alternate;if(n.lanes===0&&(v===null||v.lanes===0)&&(v=i.lastRenderedReducer,v!==null))try{var T=i.lastRenderedState,M=v(T,s);if(y.hasEagerState=!0,y.eagerState=M,un(M,T))return Bs(n,i,y,0),at===null&&Us(),!1}catch{}finally{}if(s=Gf(n,i,y,f),s!==null)return mn(s,n,f),Nv(s,i,f),!0}return!1}a(ll,"dispatchSetStateInternal");function Od(n,i,s,f){if(f={lane:2,revertLane:op(),action:f,hasEagerState:!1,eagerState:null,next:null},ru(n)){if(i)throw Error(o(479))}else i=Gf(n,s,f,2),i!==null&&mn(i,n,2)}a(Od,"dispatchOptimisticSetState");function ru(n){var i=n.alternate;return n===He||i!==null&&i===He}a(ru,"isRenderPhaseUpdate");function Mv(n,i){zo=Ws=!0;var s=n.pending;s===null?i.next=i:(i.next=s.next,s.next=i),n.pending=i}a(Mv,"enqueueRenderPhaseUpdate");function Nv(n,i,s){if((s&4194048)!==0){var f=i.lanes;f&=n.pendingLanes,s|=f,i.lanes=s,Uy(n,s)}}a(Nv,"entangleTransitionUpdate");var iu={readContext:Ut,use:Js,useCallback:xt,useContext:xt,useEffect:xt,useImperativeHandle:xt,useLayoutEffect:xt,useInsertionEffect:xt,useMemo:xt,useReducer:xt,useRef:xt,useState:xt,useDebugValue:xt,useDeferredValue:xt,useTransition:xt,useSyncExternalStore:xt,useId:xt,useHostTransitionStatus:xt,useFormState:xt,useActionState:xt,useOptimistic:xt,useMemoCache:xt,useCacheRefresh:xt},kv={readContext:Ut,use:Js,useCallback:a(function(n,i){return Zt().memoizedState=[n,i===void 0?null:i],n},"useCallback"),useContext:Ut,useEffect:mv,useImperativeHandle:a(function(n,i,s){s=s!=null?s.concat([n]):null,nu(4194308,4,bv.bind(null,i,n),s)},"useImperativeHandle"),useLayoutEffect:a(function(n,i){return nu(4194308,4,n,i)},"useLayoutEffect"),useInsertionEffect:a(function(n,i){nu(4,2,n,i)},"useInsertionEffect"),useMemo:a(function(n,i){var s=Zt();i=i===void 0?null:i;var f=n();if(qi){Oe(!0);try{n()}finally{Oe(!1)}}return s.memoizedState=[f,i],f},"useMemo"),useReducer:a(function(n,i,s){var f=Zt();if(s!==void 0){var y=s(i);if(qi){Oe(!0);try{s(i)}finally{Oe(!1)}}}else y=i;return f.memoizedState=f.baseState=y,n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:n,lastRenderedState:y},f.queue=n,n=n.dispatch=uA.bind(null,He,n),[f.memoizedState,n]},"useReducer"),useRef:a(function(n){var i=Zt();return n={current:n},i.memoizedState=n},"useRef"),useState:a(function(n){n=xd(n);var i=n.queue,s=_v.bind(null,He,i);return i.dispatch=s,[n.memoizedState,s]},"useState"),useDebugValue:Ed,useDeferredValue:a(function(n,i){var s=Zt();return Cd(s,n,i)},"useDeferredValue"),useTransition:a(function(){var n=xd(!1);return n=Cv.bind(null,He,n.queue,!0,!1),Zt().memoizedState=n,[!1,n]},"useTransition"),useSyncExternalStore:a(function(n,i,s){var f=He,y=Zt();if(Xe){if(s===void 0)throw Error(o(407));s=s()}else{if(s=i(),at===null)throw Error(o(349));(Ye&124)!==0||Jg(f,i,s)}y.memoizedState=s;var v={value:s,getSnapshot:i};return y.queue=v,mv(tv.bind(null,f,v,n),[n]),f.flags|=2048,jo(9,tu(),ev.bind(null,f,v,s,i),null),s},"useSyncExternalStore"),useId:a(function(){var n=Zt(),i=at.identifierPrefix;if(Xe){var s=Ar,f=Or;s=(f&~(1<<32-Ne(f)-1)).toString(32)+s,i="«"+i+"R"+s,s=Zs++,0<s&&(i+="H"+s.toString(32)),i+="»"}else s=rA++,i="«"+i+"r"+s.toString(32)+"»";return n.memoizedState=i},"useId"),useHostTransitionStatus:Rd,useFormState:cv,useActionState:cv,useOptimistic:a(function(n){var i=Zt();i.memoizedState=i.baseState=n;var s={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return i.queue=s,i=Od.bind(null,He,!0,s),s.dispatch=i,[n,i]},"useOptimistic"),useMemoCache:vd,useCacheRefresh:a(function(){return Zt().memoizedState=sA.bind(null,He)},"useCacheRefresh")},Dv={readContext:Ut,use:Js,useCallback:xv,useContext:Ut,useEffect:yv,useImperativeHandle:Sv,useInsertionEffect:gv,useLayoutEffect:vv,useMemo:wv,useReducer:eu,useRef:hv,useState:a(function(){return eu(Nr)},"useState"),useDebugValue:Ed,useDeferredValue:a(function(n,i){var s=Ct();return Ev(s,nt.memoizedState,n,i)},"useDeferredValue"),useTransition:a(function(){var n=eu(Nr)[0],i=Ct().memoizedState;return[typeof n=="boolean"?n:ol(n),i]},"useTransition"),useSyncExternalStore:Zg,useId:Ov,useHostTransitionStatus:Rd,useFormState:fv,useActionState:fv,useOptimistic:a(function(n,i){var s=Ct();return iv(s,nt,n,i)},"useOptimistic"),useMemoCache:vd,useCacheRefresh:Av},cA={readContext:Ut,use:Js,useCallback:xv,useContext:Ut,useEffect:yv,useImperativeHandle:Sv,useInsertionEffect:gv,useLayoutEffect:vv,useMemo:wv,useReducer:Sd,useRef:hv,useState:a(function(){return Sd(Nr)},"useState"),useDebugValue:Ed,useDeferredValue:a(function(n,i){var s=Ct();return nt===null?Cd(s,n,i):Ev(s,nt.memoizedState,n,i)},"useDeferredValue"),useTransition:a(function(){var n=Sd(Nr)[0],i=Ct().memoizedState;return[typeof n=="boolean"?n:ol(n),i]},"useTransition"),useSyncExternalStore:Zg,useId:Ov,useHostTransitionStatus:Rd,useFormState:pv,useActionState:pv,useOptimistic:a(function(n,i){var s=Ct();return nt!==null?iv(s,nt,n,i):(s.baseState=n,[n,s.queue.dispatch])},"useOptimistic"),useMemoCache:vd,useCacheRefresh:Av},Uo=null,sl=0;function ou(n){var i=sl;return sl+=1,Uo===null&&(Uo=[]),$g(Uo,n,i)}a(ou,"unwrapThenable");function ul(n,i){i=i.props.ref,n.ref=i!==void 0?i:null}a(ul,"coerceRef");function au(n,i){throw i.$$typeof===g?Error(o(525)):(n=Object.prototype.toString.call(i),Error(o(31,n==="[object Object]"?"object with keys {"+Object.keys(i).join(", ")+"}":n)))}a(au,"throwOnInvalidObjectType");function Pv(n){var i=n._init;return i(n._payload)}a(Pv,"resolveLazy");function Lv(n){function i(B,U){if(n){var H=B.deletions;H===null?(B.deletions=[U],B.flags|=16):H.push(U)}}a(i,"deleteChild");function s(B,U){if(!n)return null;for(;U!==null;)i(B,U),U=U.sibling;return null}a(s,"deleteRemainingChildren");function f(B){for(var U=new Map;B!==null;)B.key!==null?U.set(B.key,B):U.set(B.index,B),B=B.sibling;return U}a(f,"mapRemainingChildren");function y(B,U){return B=Rr(B,U),B.index=0,B.sibling=null,B}a(y,"useFiber");function v(B,U,H){return B.index=H,n?(H=B.alternate,H!==null?(H=H.index,H<U?(B.flags|=67108866,U):H):(B.flags|=67108866,U)):(B.flags|=1048576,U)}a(v,"placeChild");function T(B){return n&&B.alternate===null&&(B.flags|=67108866),B}a(T,"placeSingleChild");function M(B,U,H,le){return U===null||U.tag!==6?(U=Kf(H,B.mode,le),U.return=B,U):(U=y(U,H),U.return=B,U)}a(M,"updateTextNode");function P(B,U,H,le){var Se=H.type;return Se===E?oe(B,U,H.props.children,le,H.key):U!==null&&(U.elementType===Se||typeof Se=="object"&&Se!==null&&Se.$$typeof===G&&Pv(Se)===U.type)?(U=y(U,H.props),ul(U,H),U.return=B,U):(U=Fs(H.type,H.key,H.props,null,B.mode,le),ul(U,H),U.return=B,U)}a(P,"updateElement");function F(B,U,H,le){return U===null||U.tag!==4||U.stateNode.containerInfo!==H.containerInfo||U.stateNode.implementation!==H.implementation?(U=Qf(H,B.mode,le),U.return=B,U):(U=y(U,H.children||[]),U.return=B,U)}a(F,"updatePortal");function oe(B,U,H,le,Se){return U===null||U.tag!==7?(U=Li(H,B.mode,le,Se),U.return=B,U):(U=y(U,H),U.return=B,U)}a(oe,"updateFragment");function ue(B,U,H){if(typeof U=="string"&&U!==""||typeof U=="number"||typeof U=="bigint")return U=Kf(""+U,B.mode,H),U.return=B,U;if(typeof U=="object"&&U!==null){switch(U.$$typeof){case b:return H=Fs(U.type,U.key,U.props,null,B.mode,H),ul(H,U),H.return=B,H;case S:return U=Qf(U,B.mode,H),U.return=B,U;case G:var le=U._init;return U=le(U._payload),ue(B,U,H)}if(te(U)||Z(U))return U=Li(U,B.mode,H,null),U.return=B,U;if(typeof U.then=="function")return ue(B,ou(U),H);if(U.$$typeof===N)return ue(B,Gs(B,U),H);au(B,U)}return null}a(ue,"createChild");function $(B,U,H,le){var Se=U!==null?U.key:null;if(typeof H=="string"&&H!==""||typeof H=="number"||typeof H=="bigint")return Se!==null?null:M(B,U,""+H,le);if(typeof H=="object"&&H!==null){switch(H.$$typeof){case b:return H.key===Se?P(B,U,H,le):null;case S:return H.key===Se?F(B,U,H,le):null;case G:return Se=H._init,H=Se(H._payload),$(B,U,H,le)}if(te(H)||Z(H))return Se!==null?null:oe(B,U,H,le,null);if(typeof H.then=="function")return $(B,U,ou(H),le);if(H.$$typeof===N)return $(B,U,Gs(B,H),le);au(B,H)}return null}a($,"updateSlot");function V(B,U,H,le,Se){if(typeof le=="string"&&le!==""||typeof le=="number"||typeof le=="bigint")return B=B.get(H)||null,M(U,B,""+le,Se);if(typeof le=="object"&&le!==null){switch(le.$$typeof){case b:return B=B.get(le.key===null?H:le.key)||null,P(U,B,le,Se);case S:return B=B.get(le.key===null?H:le.key)||null,F(U,B,le,Se);case G:var Fe=le._init;return le=Fe(le._payload),V(B,U,H,le,Se)}if(te(le)||Z(le))return B=B.get(H)||null,oe(U,B,le,Se,null);if(typeof le.then=="function")return V(B,U,H,ou(le),Se);if(le.$$typeof===N)return V(B,U,H,Gs(U,le),Se);au(U,le)}return null}a(V,"updateFromMap");function ke(B,U,H,le){for(var Se=null,Fe=null,Re=U,_e=U=0,Dt=null;Re!==null&&_e<H.length;_e++){Re.index>_e?(Dt=Re,Re=null):Dt=Re.sibling;var Qe=$(B,Re,H[_e],le);if(Qe===null){Re===null&&(Re=Dt);break}n&&Re&&Qe.alternate===null&&i(B,Re),U=v(Qe,U,_e),Fe===null?Se=Qe:Fe.sibling=Qe,Fe=Qe,Re=Dt}if(_e===H.length)return s(B,Re),Xe&&Ii(B,_e),Se;if(Re===null){for(;_e<H.length;_e++)Re=ue(B,H[_e],le),Re!==null&&(U=v(Re,U,_e),Fe===null?Se=Re:Fe.sibling=Re,Fe=Re);return Xe&&Ii(B,_e),Se}for(Re=f(Re);_e<H.length;_e++)Dt=V(Re,B,_e,H[_e],le),Dt!==null&&(n&&Dt.alternate!==null&&Re.delete(Dt.key===null?_e:Dt.key),U=v(Dt,U,_e),Fe===null?Se=Dt:Fe.sibling=Dt,Fe=Dt);return n&&Re.forEach(function(yi){return i(B,yi)}),Xe&&Ii(B,_e),Se}a(ke,"reconcileChildrenArray");function Ae(B,U,H,le){if(H==null)throw Error(o(151));for(var Se=null,Fe=null,Re=U,_e=U=0,Dt=null,Qe=H.next();Re!==null&&!Qe.done;_e++,Qe=H.next()){Re.index>_e?(Dt=Re,Re=null):Dt=Re.sibling;var yi=$(B,Re,Qe.value,le);if(yi===null){Re===null&&(Re=Dt);break}n&&Re&&yi.alternate===null&&i(B,Re),U=v(yi,U,_e),Fe===null?Se=yi:Fe.sibling=yi,Fe=yi,Re=Dt}if(Qe.done)return s(B,Re),Xe&&Ii(B,_e),Se;if(Re===null){for(;!Qe.done;_e++,Qe=H.next())Qe=ue(B,Qe.value,le),Qe!==null&&(U=v(Qe,U,_e),Fe===null?Se=Qe:Fe.sibling=Qe,Fe=Qe);return Xe&&Ii(B,_e),Se}for(Re=f(Re);!Qe.done;_e++,Qe=H.next())Qe=V(Re,B,_e,Qe.value,le),Qe!==null&&(n&&Qe.alternate!==null&&Re.delete(Qe.key===null?_e:Qe.key),U=v(Qe,U,_e),Fe===null?Se=Qe:Fe.sibling=Qe,Fe=Qe);return n&&Re.forEach(function(f_){return i(B,f_)}),Xe&&Ii(B,_e),Se}a(Ae,"reconcileChildrenIterator");function it(B,U,H,le){if(typeof H=="object"&&H!==null&&H.type===E&&H.key===null&&(H=H.props.children),typeof H=="object"&&H!==null){switch(H.$$typeof){case b:e:{for(var Se=H.key;U!==null;){if(U.key===Se){if(Se=H.type,Se===E){if(U.tag===7){s(B,U.sibling),le=y(U,H.props.children),le.return=B,B=le;break e}}else if(U.elementType===Se||typeof Se=="object"&&Se!==null&&Se.$$typeof===G&&Pv(Se)===U.type){s(B,U.sibling),le=y(U,H.props),ul(le,H),le.return=B,B=le;break e}s(B,U);break}else i(B,U);U=U.sibling}H.type===E?(le=Li(H.props.children,B.mode,le,H.key),le.return=B,B=le):(le=Fs(H.type,H.key,H.props,null,B.mode,le),ul(le,H),le.return=B,B=le)}return T(B);case S:e:{for(Se=H.key;U!==null;){if(U.key===Se)if(U.tag===4&&U.stateNode.containerInfo===H.containerInfo&&U.stateNode.implementation===H.implementation){s(B,U.sibling),le=y(U,H.children||[]),le.return=B,B=le;break e}else{s(B,U);break}else i(B,U);U=U.sibling}le=Qf(H,B.mode,le),le.return=B,B=le}return T(B);case G:return Se=H._init,H=Se(H._payload),it(B,U,H,le)}if(te(H))return ke(B,U,H,le);if(Z(H)){if(Se=Z(H),typeof Se!="function")throw Error(o(150));return H=Se.call(H),Ae(B,U,H,le)}if(typeof H.then=="function")return it(B,U,ou(H),le);if(H.$$typeof===N)return it(B,U,Gs(B,H),le);au(B,H)}return typeof H=="string"&&H!==""||typeof H=="number"||typeof H=="bigint"?(H=""+H,U!==null&&U.tag===6?(s(B,U.sibling),le=y(U,H),le.return=B,B=le):(s(B,U),le=Kf(H,B.mode,le),le.return=B,B=le),T(B)):s(B,U)}return a(it,"reconcileChildFibersImpl"),function(B,U,H,le){try{sl=0;var Se=it(B,U,H,le);return Uo=null,Se}catch(Re){if(Re===Ja||Re===Ks)throw Re;var Fe=cn(29,Re,null,B.mode);return Fe.lanes=le,Fe.return=B,Fe}finally{}}}a(Lv,"createChildReconciler");var Bo=Lv(!0),zv=Lv(!1),_n=K(null),tr=null;function ti(n){var i=n.alternate;_(Ot,Ot.current&1),_(_n,n),tr===null&&(i===null||Lo.current!==null||i.memoizedState!==null)&&(tr=n)}a(ti,"pushPrimaryTreeSuspenseHandler");function Iv(n){if(n.tag===22){if(_(Ot,Ot.current),_(_n,n),tr===null){var i=n.alternate;i!==null&&i.memoizedState!==null&&(tr=n)}}else ni()}a(Iv,"pushOffscreenSuspenseHandler");function ni(){_(Ot,Ot.current),_(_n,_n.current)}a(ni,"reuseSuspenseHandlerOnStack");function kr(n){de(_n),tr===n&&(tr=null),de(Ot)}a(kr,"popSuspenseHandler");var Ot=K(0);function lu(n){for(var i=n;i!==null;){if(i.tag===13){var s=i.memoizedState;if(s!==null&&(s=s.dehydrated,s===null||s.data==="$?"||gp(s)))return i}else if(i.tag===19&&i.memoizedProps.revealOrder!==void 0){if((i.flags&128)!==0)return i}else if(i.child!==null){i.child.return=i,i=i.child;continue}if(i===n)break;for(;i.sibling===null;){if(i.return===null||i.return===n)return null;i=i.return}i.sibling.return=i.return,i=i.sibling}return null}a(lu,"findFirstSuspended");function Ad(n,i,s,f){i=n.memoizedState,s=s(f,i),s=s==null?i:m({},i,s),n.memoizedState=s,n.lanes===0&&(n.updateQueue.baseState=s)}a(Ad,"applyDerivedStateFromProps");var _d={enqueueSetState:a(function(n,i,s){n=n._reactInternals;var f=hn(),y=Zr(f);y.payload=i,s!=null&&(y.callback=s),i=Jr(n,y,f),i!==null&&(mn(i,n,f),tl(i,n,f))},"enqueueSetState"),enqueueReplaceState:a(function(n,i,s){n=n._reactInternals;var f=hn(),y=Zr(f);y.tag=1,y.payload=i,s!=null&&(y.callback=s),i=Jr(n,y,f),i!==null&&(mn(i,n,f),tl(i,n,f))},"enqueueReplaceState"),enqueueForceUpdate:a(function(n,i){n=n._reactInternals;var s=hn(),f=Zr(s);f.tag=2,i!=null&&(f.callback=i),i=Jr(n,f,s),i!==null&&(mn(i,n,s),tl(i,n,s))},"enqueueForceUpdate")};function jv(n,i,s,f,y,v,T){return n=n.stateNode,typeof n.shouldComponentUpdate=="function"?n.shouldComponentUpdate(f,v,T):i.prototype&&i.prototype.isPureReactComponent?!Va(s,f)||!Va(y,v):!0}a(jv,"checkShouldComponentUpdate");function Uv(n,i,s,f){n=i.state,typeof i.componentWillReceiveProps=="function"&&i.componentWillReceiveProps(s,f),typeof i.UNSAFE_componentWillReceiveProps=="function"&&i.UNSAFE_componentWillReceiveProps(s,f),i.state!==n&&_d.enqueueReplaceState(i,i.state,null)}a(Uv,"callComponentWillReceiveProps");function $i(n,i){var s=i;if("ref"in i){s={};for(var f in i)f!=="ref"&&(s[f]=i[f])}if(n=n.defaultProps){s===i&&(s=m({},s));for(var y in n)s[y]===void 0&&(s[y]=n[y])}return s}a($i,"resolveClassComponentProps");var su=typeof reportError=="function"?reportError:function(n){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var i=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof n=="object"&&n!==null&&typeof n.message=="string"?String(n.message):String(n),error:n});if(!window.dispatchEvent(i))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",n);return}console.error(n)};function Bv(n){su(n)}a(Bv,"defaultOnUncaughtError");function Hv(n){console.error(n)}a(Hv,"defaultOnCaughtError");function Fv(n){su(n)}a(Fv,"defaultOnRecoverableError");function uu(n,i){try{var s=n.onUncaughtError;s(i.value,{componentStack:i.stack})}catch(f){setTimeout(function(){throw f})}}a(uu,"logUncaughtError");function qv(n,i,s){try{var f=n.onCaughtError;f(s.value,{componentStack:s.stack,errorBoundary:i.tag===1?i.stateNode:null})}catch(y){setTimeout(function(){throw y})}}a(qv,"logCaughtError");function Md(n,i,s){return s=Zr(s),s.tag=3,s.payload={element:null},s.callback=function(){uu(n,i)},s}a(Md,"createRootErrorUpdate");function $v(n){return n=Zr(n),n.tag=3,n}a($v,"createClassErrorUpdate");function Vv(n,i,s,f){var y=s.type.getDerivedStateFromError;if(typeof y=="function"){var v=f.value;n.payload=function(){return y(v)},n.callback=function(){qv(i,s,f)}}var T=s.stateNode;T!==null&&typeof T.componentDidCatch=="function"&&(n.callback=function(){qv(i,s,f),typeof y!="function"&&(si===null?si=new Set([this]):si.add(this));var M=f.stack;this.componentDidCatch(f.value,{componentStack:M!==null?M:""})})}a(Vv,"initializeClassErrorUpdate");function fA(n,i,s,f,y){if(s.flags|=32768,f!==null&&typeof f=="object"&&typeof f.then=="function"){if(i=s.alternate,i!==null&&Xa(i,s,y,!0),s=_n.current,s!==null){switch(s.tag){case 13:return tr===null?ep():s.alternate===null&&mt===0&&(mt=3),s.flags&=-257,s.flags|=65536,s.lanes=y,f===od?s.flags|=16384:(i=s.updateQueue,i===null?s.updateQueue=new Set([f]):i.add(f),np(n,f,y)),!1;case 22:return s.flags|=65536,f===od?s.flags|=16384:(i=s.updateQueue,i===null?(i={transitions:null,markerInstances:null,retryQueue:new Set([f])},s.updateQueue=i):(s=i.retryQueue,s===null?i.retryQueue=new Set([f]):s.add(f)),np(n,f,y)),!1}throw Error(o(435,s.tag))}return np(n,f,y),ep(),!1}if(Xe)return i=_n.current,i!==null?((i.flags&65536)===0&&(i.flags|=256),i.flags|=65536,i.lanes=y,f!==Zf&&(n=Error(o(422),{cause:f}),Qa(Tn(n,s)))):(f!==Zf&&(i=Error(o(423),{cause:f}),Qa(Tn(i,s))),n=n.current.alternate,n.flags|=65536,y&=-y,n.lanes|=y,f=Tn(f,s),y=Md(n.stateNode,f,y),sd(n,y),mt!==4&&(mt=2)),!1;var v=Error(o(520),{cause:f});if(v=Tn(v,s),yl===null?yl=[v]:yl.push(v),mt!==4&&(mt=2),i===null)return!0;f=Tn(f,s),s=i;do{switch(s.tag){case 3:return s.flags|=65536,n=y&-y,s.lanes|=n,n=Md(s.stateNode,f,n),sd(s,n),!1;case 1:if(i=s.type,v=s.stateNode,(s.flags&128)===0&&(typeof i.getDerivedStateFromError=="function"||v!==null&&typeof v.componentDidCatch=="function"&&(si===null||!si.has(v))))return s.flags|=65536,y&=-y,s.lanes|=y,y=$v(y),Vv(y,n,s,f),sd(s,y),!1}s=s.return}while(s!==null);return!1}a(fA,"throwException");var Gv=Error(o(461)),Nt=!1;function Pt(n,i,s,f){i.child=n===null?zv(i,null,s,f):Bo(i,n.child,s,f)}a(Pt,"reconcileChildren");function Yv(n,i,s,f,y){s=s.render;var v=i.ref;if("ref"in f){var T={};for(var M in f)M!=="ref"&&(T[M]=f[M])}else T=f;return Hi(i),f=pd(n,i,s,T,v,y),M=hd(),n!==null&&!Nt?(md(n,i,y),Dr(n,i,y)):(Xe&&M&&Xf(i),i.flags|=1,Pt(n,i,f,y),i.child)}a(Yv,"updateForwardRef");function Kv(n,i,s,f,y){if(n===null){var v=s.type;return typeof v=="function"&&!Yf(v)&&v.defaultProps===void 0&&s.compare===null?(i.tag=15,i.type=v,Qv(n,i,v,f,y)):(n=Fs(s.type,null,f,i,i.mode,y),n.ref=i.ref,n.return=i,i.child=n)}if(v=n.child,!jd(n,y)){var T=v.memoizedProps;if(s=s.compare,s=s!==null?s:Va,s(T,f)&&n.ref===i.ref)return Dr(n,i,y)}return i.flags|=1,n=Rr(v,f),n.ref=i.ref,n.return=i,i.child=n}a(Kv,"updateMemoComponent");function Qv(n,i,s,f,y){if(n!==null){var v=n.memoizedProps;if(Va(v,f)&&n.ref===i.ref)if(Nt=!1,i.pendingProps=f=v,jd(n,y))(n.flags&131072)!==0&&(Nt=!0);else return i.lanes=n.lanes,Dr(n,i,y)}return Nd(n,i,s,f,y)}a(Qv,"updateSimpleMemoComponent");function Xv(n,i,s){var f=i.pendingProps,y=f.children,v=n!==null?n.memoizedState:null;if(f.mode==="hidden"){if((i.flags&128)!==0){if(f=v!==null?v.baseLanes|s:s,n!==null){for(y=i.child=n.child,v=0;y!==null;)v=v|y.lanes|y.childLanes,y=y.sibling;i.childLanes=v&~f}else i.childLanes=0,i.child=null;return Wv(n,i,f,s)}if((s&536870912)!==0)i.memoizedState={baseLanes:0,cachePool:null},n!==null&&Ys(i,v!==null?v.cachePool:null),v!==null?Qg(i,v):cd(),Iv(i);else return i.lanes=i.childLanes=536870912,Wv(n,i,v!==null?v.baseLanes|s:s,s)}else v!==null?(Ys(i,v.cachePool),Qg(i,v),ni(),i.memoizedState=null):(n!==null&&Ys(i,null),cd(),ni());return Pt(n,i,y,s),i.child}a(Xv,"updateOffscreenComponent");function Wv(n,i,s,f){var y=id();return y=y===null?null:{parent:Rt._currentValue,pool:y},i.memoizedState={baseLanes:s,cachePool:y},n!==null&&Ys(i,null),cd(),Iv(i),n!==null&&Xa(n,i,f,!0),null}a(Wv,"deferHiddenOffscreenComponent");function cu(n,i){var s=i.ref;if(s===null)n!==null&&n.ref!==null&&(i.flags|=4194816);else{if(typeof s!="function"&&typeof s!="object")throw Error(o(284));(n===null||n.ref!==s)&&(i.flags|=4194816)}}a(cu,"markRef");function Nd(n,i,s,f,y){return Hi(i),s=pd(n,i,s,f,void 0,y),f=hd(),n!==null&&!Nt?(md(n,i,y),Dr(n,i,y)):(Xe&&f&&Xf(i),i.flags|=1,Pt(n,i,s,y),i.child)}a(Nd,"updateFunctionComponent");function Zv(n,i,s,f,y,v){return Hi(i),i.updateQueue=null,s=Wg(i,f,s,y),Xg(n),f=hd(),n!==null&&!Nt?(md(n,i,v),Dr(n,i,v)):(Xe&&f&&Xf(i),i.flags|=1,Pt(n,i,s,v),i.child)}a(Zv,"replayFunctionComponent");function Jv(n,i,s,f,y){if(Hi(i),i.stateNode===null){var v=Mo,T=s.contextType;typeof T=="object"&&T!==null&&(v=Ut(T)),v=new s(f,v),i.memoizedState=v.state!==null&&v.state!==void 0?v.state:null,v.updater=_d,i.stateNode=v,v._reactInternals=i,v=i.stateNode,v.props=f,v.state=i.memoizedState,v.refs={},ad(i),T=s.contextType,v.context=typeof T=="object"&&T!==null?Ut(T):Mo,v.state=i.memoizedState,T=s.getDerivedStateFromProps,typeof T=="function"&&(Ad(i,s,T,f),v.state=i.memoizedState),typeof s.getDerivedStateFromProps=="function"||typeof v.getSnapshotBeforeUpdate=="function"||typeof v.UNSAFE_componentWillMount!="function"&&typeof v.componentWillMount!="function"||(T=v.state,typeof v.componentWillMount=="function"&&v.componentWillMount(),typeof v.UNSAFE_componentWillMount=="function"&&v.UNSAFE_componentWillMount(),T!==v.state&&_d.enqueueReplaceState(v,v.state,null),rl(i,f,v,y),nl(),v.state=i.memoizedState),typeof v.componentDidMount=="function"&&(i.flags|=4194308),f=!0}else if(n===null){v=i.stateNode;var M=i.memoizedProps,P=$i(s,M);v.props=P;var F=v.context,oe=s.contextType;T=Mo,typeof oe=="object"&&oe!==null&&(T=Ut(oe));var ue=s.getDerivedStateFromProps;oe=typeof ue=="function"||typeof v.getSnapshotBeforeUpdate=="function",M=i.pendingProps!==M,oe||typeof v.UNSAFE_componentWillReceiveProps!="function"&&typeof v.componentWillReceiveProps!="function"||(M||F!==T)&&Uv(i,v,f,T),Wr=!1;var $=i.memoizedState;v.state=$,rl(i,f,v,y),nl(),F=i.memoizedState,M||$!==F||Wr?(typeof ue=="function"&&(Ad(i,s,ue,f),F=i.memoizedState),(P=Wr||jv(i,s,P,f,$,F,T))?(oe||typeof v.UNSAFE_componentWillMount!="function"&&typeof v.componentWillMount!="function"||(typeof v.componentWillMount=="function"&&v.componentWillMount(),typeof v.UNSAFE_componentWillMount=="function"&&v.UNSAFE_componentWillMount()),typeof v.componentDidMount=="function"&&(i.flags|=4194308)):(typeof v.componentDidMount=="function"&&(i.flags|=4194308),i.memoizedProps=f,i.memoizedState=F),v.props=f,v.state=F,v.context=T,f=P):(typeof v.componentDidMount=="function"&&(i.flags|=4194308),f=!1)}else{v=i.stateNode,ld(n,i),T=i.memoizedProps,oe=$i(s,T),v.props=oe,ue=i.pendingProps,$=v.context,F=s.contextType,P=Mo,typeof F=="object"&&F!==null&&(P=Ut(F)),M=s.getDerivedStateFromProps,(F=typeof M=="function"||typeof v.getSnapshotBeforeUpdate=="function")||typeof v.UNSAFE_componentWillReceiveProps!="function"&&typeof v.componentWillReceiveProps!="function"||(T!==ue||$!==P)&&Uv(i,v,f,P),Wr=!1,$=i.memoizedState,v.state=$,rl(i,f,v,y),nl();var V=i.memoizedState;T!==ue||$!==V||Wr||n!==null&&n.dependencies!==null&&Vs(n.dependencies)?(typeof M=="function"&&(Ad(i,s,M,f),V=i.memoizedState),(oe=Wr||jv(i,s,oe,f,$,V,P)||n!==null&&n.dependencies!==null&&Vs(n.dependencies))?(F||typeof v.UNSAFE_componentWillUpdate!="function"&&typeof v.componentWillUpdate!="function"||(typeof v.componentWillUpdate=="function"&&v.componentWillUpdate(f,V,P),typeof v.UNSAFE_componentWillUpdate=="function"&&v.UNSAFE_componentWillUpdate(f,V,P)),typeof v.componentDidUpdate=="function"&&(i.flags|=4),typeof v.getSnapshotBeforeUpdate=="function"&&(i.flags|=1024)):(typeof v.componentDidUpdate!="function"||T===n.memoizedProps&&$===n.memoizedState||(i.flags|=4),typeof v.getSnapshotBeforeUpdate!="function"||T===n.memoizedProps&&$===n.memoizedState||(i.flags|=1024),i.memoizedProps=f,i.memoizedState=V),v.props=f,v.state=V,v.context=P,f=oe):(typeof v.componentDidUpdate!="function"||T===n.memoizedProps&&$===n.memoizedState||(i.flags|=4),typeof v.getSnapshotBeforeUpdate!="function"||T===n.memoizedProps&&$===n.memoizedState||(i.flags|=1024),f=!1)}return v=f,cu(n,i),f=(i.flags&128)!==0,v||f?(v=i.stateNode,s=f&&typeof s.getDerivedStateFromError!="function"?null:v.render(),i.flags|=1,n!==null&&f?(i.child=Bo(i,n.child,null,y),i.child=Bo(i,null,s,y)):Pt(n,i,s,y),i.memoizedState=v.state,n=i.child):n=Dr(n,i,y),n}a(Jv,"updateClassComponent");function eb(n,i,s,f){return Ka(),i.flags|=256,Pt(n,i,s,f),i.child}a(eb,"mountHostRootWithoutHydrating");var kd={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Dd(n){return{baseLanes:n,cachePool:Hg()}}a(Dd,"mountSuspenseOffscreenState");function Pd(n,i,s){return n=n!==null?n.childLanes&~s:0,i&&(n|=Mn),n}a(Pd,"getRemainingWorkInPrimaryTree");function tb(n,i,s){var f=i.pendingProps,y=!1,v=(i.flags&128)!==0,T;if((T=v)||(T=n!==null&&n.memoizedState===null?!1:(Ot.current&2)!==0),T&&(y=!0,i.flags&=-129),T=(i.flags&32)!==0,i.flags&=-33,n===null){if(Xe){if(y?ti(i):ni(),Xe){var M=ht,P;if(P=M){e:{for(P=M,M=er;P.nodeType!==8;){if(!M){M=null;break e}if(P=Hn(P.nextSibling),P===null){M=null;break e}}M=P}M!==null?(i.memoizedState={dehydrated:M,treeContext:zi!==null?{id:Or,overflow:Ar}:null,retryLane:536870912,hydrationErrors:null},P=cn(18,null,null,0),P.stateNode=M,P.return=i,i.child=P,$t=i,ht=null,P=!0):P=!1}P||Ui(i)}if(M=i.memoizedState,M!==null&&(M=M.dehydrated,M!==null))return gp(M)?i.lanes=32:i.lanes=536870912,null;kr(i)}return M=f.children,f=f.fallback,y?(ni(),y=i.mode,M=fu({mode:"hidden",children:M},y),f=Li(f,y,s,null),M.return=i,f.return=i,M.sibling=f,i.child=M,y=i.child,y.memoizedState=Dd(s),y.childLanes=Pd(n,T,s),i.memoizedState=kd,f):(ti(i),Ld(i,M))}if(P=n.memoizedState,P!==null&&(M=P.dehydrated,M!==null)){if(v)i.flags&256?(ti(i),i.flags&=-257,i=zd(n,i,s)):i.memoizedState!==null?(ni(),i.child=n.child,i.flags|=128,i=null):(ni(),y=f.fallback,M=i.mode,f=fu({mode:"visible",children:f.children},M),y=Li(y,M,s,null),y.flags|=2,f.return=i,y.return=i,f.sibling=y,i.child=f,Bo(i,n.child,null,s),f=i.child,f.memoizedState=Dd(s),f.childLanes=Pd(n,T,s),i.memoizedState=kd,i=y);else if(ti(i),gp(M)){if(T=M.nextSibling&&M.nextSibling.dataset,T)var F=T.dgst;T=F,f=Error(o(419)),f.stack="",f.digest=T,Qa({value:f,source:null,stack:null}),i=zd(n,i,s)}else if(Nt||Xa(n,i,s,!1),T=(s&n.childLanes)!==0,Nt||T){if(T=at,T!==null&&(f=s&-s,f=(f&42)!==0?1:vf(f),f=(f&(T.suspendedLanes|s))!==0?0:f,f!==0&&f!==P.retryLane))throw P.retryLane=f,_o(n,f),mn(T,n,f),Gv;M.data==="$?"||ep(),i=zd(n,i,s)}else M.data==="$?"?(i.flags|=192,i.child=n.child,i=null):(n=P.treeContext,ht=Hn(M.nextSibling),$t=i,Xe=!0,ji=null,er=!1,n!==null&&(On[An++]=Or,On[An++]=Ar,On[An++]=zi,Or=n.id,Ar=n.overflow,zi=i),i=Ld(i,f.children),i.flags|=4096);return i}return y?(ni(),y=f.fallback,M=i.mode,P=n.child,F=P.sibling,f=Rr(P,{mode:"hidden",children:f.children}),f.subtreeFlags=P.subtreeFlags&65011712,F!==null?y=Rr(F,y):(y=Li(y,M,s,null),y.flags|=2),y.return=i,f.return=i,f.sibling=y,i.child=f,f=y,y=i.child,M=n.child.memoizedState,M===null?M=Dd(s):(P=M.cachePool,P!==null?(F=Rt._currentValue,P=P.parent!==F?{parent:F,pool:F}:P):P=Hg(),M={baseLanes:M.baseLanes|s,cachePool:P}),y.memoizedState=M,y.childLanes=Pd(n,T,s),i.memoizedState=kd,f):(ti(i),s=n.child,n=s.sibling,s=Rr(s,{mode:"visible",children:f.children}),s.return=i,s.sibling=null,n!==null&&(T=i.deletions,T===null?(i.deletions=[n],i.flags|=16):T.push(n)),i.child=s,i.memoizedState=null,s)}a(tb,"updateSuspenseComponent");function Ld(n,i){return i=fu({mode:"visible",children:i},n.mode),i.return=n,n.child=i}a(Ld,"mountSuspensePrimaryChildren");function fu(n,i){return n=cn(22,n,null,i),n.lanes=0,n.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},n}a(fu,"mountWorkInProgressOffscreenFiber");function zd(n,i,s){return Bo(i,n.child,null,s),n=Ld(i,i.pendingProps.children),n.flags|=2,i.memoizedState=null,n}a(zd,"retrySuspenseComponentWithoutHydrating");function nb(n,i,s){n.lanes|=i;var f=n.alternate;f!==null&&(f.lanes|=i),ed(n.return,i,s)}a(nb,"scheduleSuspenseWorkOnFiber");function Id(n,i,s,f,y){var v=n.memoizedState;v===null?n.memoizedState={isBackwards:i,rendering:null,renderingStartTime:0,last:f,tail:s,tailMode:y}:(v.isBackwards=i,v.rendering=null,v.renderingStartTime=0,v.last=f,v.tail=s,v.tailMode=y)}a(Id,"initSuspenseListRenderState");function rb(n,i,s){var f=i.pendingProps,y=f.revealOrder,v=f.tail;if(Pt(n,i,f.children,s),f=Ot.current,(f&2)!==0)f=f&1|2,i.flags|=128;else{if(n!==null&&(n.flags&128)!==0)e:for(n=i.child;n!==null;){if(n.tag===13)n.memoizedState!==null&&nb(n,s,i);else if(n.tag===19)nb(n,s,i);else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===i)break e;for(;n.sibling===null;){if(n.return===null||n.return===i)break e;n=n.return}n.sibling.return=n.return,n=n.sibling}f&=1}switch(_(Ot,f),y){case"forwards":for(s=i.child,y=null;s!==null;)n=s.alternate,n!==null&&lu(n)===null&&(y=s),s=s.sibling;s=y,s===null?(y=i.child,i.child=null):(y=s.sibling,s.sibling=null),Id(i,!1,y,s,v);break;case"backwards":for(s=null,y=i.child,i.child=null;y!==null;){if(n=y.alternate,n!==null&&lu(n)===null){i.child=y;break}n=y.sibling,y.sibling=s,s=y,y=n}Id(i,!0,s,null,v);break;case"together":Id(i,!1,null,null,void 0);break;default:i.memoizedState=null}return i.child}a(rb,"updateSuspenseListComponent");function Dr(n,i,s){if(n!==null&&(i.dependencies=n.dependencies),li|=i.lanes,(s&i.childLanes)===0)if(n!==null){if(Xa(n,i,s,!1),(s&i.childLanes)===0)return null}else return null;if(n!==null&&i.child!==n.child)throw Error(o(153));if(i.child!==null){for(n=i.child,s=Rr(n,n.pendingProps),i.child=s,s.return=i;n.sibling!==null;)n=n.sibling,s=s.sibling=Rr(n,n.pendingProps),s.return=i;s.sibling=null}return i.child}a(Dr,"bailoutOnAlreadyFinishedWork");function jd(n,i){return(n.lanes&i)!==0?!0:(n=n.dependencies,!!(n!==null&&Vs(n)))}a(jd,"checkScheduledUpdateOrContext");function dA(n,i,s){switch(i.tag){case 3:fe(i,i.stateNode.containerInfo),Xr(i,Rt,n.memoizedState.cache),Ka();break;case 27:case 5:Te(i);break;case 4:fe(i,i.stateNode.containerInfo);break;case 10:Xr(i,i.type,i.memoizedProps.value);break;case 13:var f=i.memoizedState;if(f!==null)return f.dehydrated!==null?(ti(i),i.flags|=128,null):(s&i.child.childLanes)!==0?tb(n,i,s):(ti(i),n=Dr(n,i,s),n!==null?n.sibling:null);ti(i);break;case 19:var y=(n.flags&128)!==0;if(f=(s&i.childLanes)!==0,f||(Xa(n,i,s,!1),f=(s&i.childLanes)!==0),y){if(f)return rb(n,i,s);i.flags|=128}if(y=i.memoizedState,y!==null&&(y.rendering=null,y.tail=null,y.lastEffect=null),_(Ot,Ot.current),f)break;return null;case 22:case 23:return i.lanes=0,Xv(n,i,s);case 24:Xr(i,Rt,n.memoizedState.cache)}return Dr(n,i,s)}a(dA,"attemptEarlyBailoutIfNoScheduledUpdate");function ib(n,i,s){if(n!==null)if(n.memoizedProps!==i.pendingProps)Nt=!0;else{if(!jd(n,s)&&(i.flags&128)===0)return Nt=!1,dA(n,i,s);Nt=(n.flags&131072)!==0}else Nt=!1,Xe&&(i.flags&1048576)!==0&&Pg(i,$s,i.index);switch(i.lanes=0,i.tag){case 16:e:{n=i.pendingProps;var f=i.elementType,y=f._init;if(f=y(f._payload),i.type=f,typeof f=="function")Yf(f)?(n=$i(f,n),i.tag=1,i=Jv(null,i,f,n,s)):(i.tag=0,i=Nd(null,i,f,n,s));else{if(f!=null){if(y=f.$$typeof,y===L){i.tag=11,i=Yv(null,i,f,n,s);break e}else if(y===j){i.tag=14,i=Kv(null,i,f,n,s);break e}}throw i=q(f)||f,Error(o(306,i,""))}}return i;case 0:return Nd(n,i,i.type,i.pendingProps,s);case 1:return f=i.type,y=$i(f,i.pendingProps),Jv(n,i,f,y,s);case 3:e:{if(fe(i,i.stateNode.containerInfo),n===null)throw Error(o(387));f=i.pendingProps;var v=i.memoizedState;y=v.element,ld(n,i),rl(i,f,null,s);var T=i.memoizedState;if(f=T.cache,Xr(i,Rt,f),f!==v.cache&&td(i,[Rt],s,!0),nl(),f=T.element,v.isDehydrated)if(v={element:f,isDehydrated:!1,cache:T.cache},i.updateQueue.baseState=v,i.memoizedState=v,i.flags&256){i=eb(n,i,f,s);break e}else if(f!==y){y=Tn(Error(o(424)),i),Qa(y),i=eb(n,i,f,s);break e}else{switch(n=i.stateNode.containerInfo,n.nodeType){case 9:n=n.body;break;default:n=n.nodeName==="HTML"?n.ownerDocument.body:n}for(ht=Hn(n.firstChild),$t=i,Xe=!0,ji=null,er=!0,s=zv(i,null,f,s),i.child=s;s;)s.flags=s.flags&-3|4096,s=s.sibling}else{if(Ka(),f===y){i=Dr(n,i,s);break e}Pt(n,i,f,s)}i=i.child}return i;case 26:return cu(n,i),n===null?(s=s0(i.type,null,i.pendingProps,null))?i.memoizedState=s:Xe||(s=i.type,n=i.pendingProps,f=Tu(ae.current).createElement(s),f[jt]=i,f[Xt]=n,zt(f,s,n),Mt(f),i.stateNode=f):i.memoizedState=s0(i.type,n.memoizedProps,i.pendingProps,n.memoizedState),null;case 27:return Te(i),n===null&&Xe&&(f=i.stateNode=o0(i.type,i.pendingProps,ae.current),$t=i,er=!0,y=ht,fi(i.type)?(vp=y,ht=Hn(f.firstChild)):ht=y),Pt(n,i,i.pendingProps.children,s),cu(n,i),n===null&&(i.flags|=4194304),i.child;case 5:return n===null&&Xe&&((y=f=ht)&&(f=BA(f,i.type,i.pendingProps,er),f!==null?(i.stateNode=f,$t=i,ht=Hn(f.firstChild),er=!1,y=!0):y=!1),y||Ui(i)),Te(i),y=i.type,v=i.pendingProps,T=n!==null?n.memoizedProps:null,f=v.children,hp(y,v)?f=null:T!==null&&hp(y,T)&&(i.flags|=32),i.memoizedState!==null&&(y=pd(n,i,iA,null,null,s),Tl._currentValue=y),cu(n,i),Pt(n,i,f,s),i.child;case 6:return n===null&&Xe&&((n=s=ht)&&(s=HA(s,i.pendingProps,er),s!==null?(i.stateNode=s,$t=i,ht=null,n=!0):n=!1),n||Ui(i)),null;case 13:return tb(n,i,s);case 4:return fe(i,i.stateNode.containerInfo),f=i.pendingProps,n===null?i.child=Bo(i,null,f,s):Pt(n,i,f,s),i.child;case 11:return Yv(n,i,i.type,i.pendingProps,s);case 7:return Pt(n,i,i.pendingProps,s),i.child;case 8:return Pt(n,i,i.pendingProps.children,s),i.child;case 12:return Pt(n,i,i.pendingProps.children,s),i.child;case 10:return f=i.pendingProps,Xr(i,i.type,f.value),Pt(n,i,f.children,s),i.child;case 9:return y=i.type._context,f=i.pendingProps.children,Hi(i),y=Ut(y),f=f(y),i.flags|=1,Pt(n,i,f,s),i.child;case 14:return Kv(n,i,i.type,i.pendingProps,s);case 15:return Qv(n,i,i.type,i.pendingProps,s);case 19:return rb(n,i,s);case 31:return f=i.pendingProps,s=i.mode,f={mode:f.mode,children:f.children},n===null?(s=fu(f,s),s.ref=i.ref,i.child=s,s.return=i,i=s):(s=Rr(n.child,f),s.ref=i.ref,i.child=s,s.return=i,i=s),i;case 22:return Xv(n,i,s);case 24:return Hi(i),f=Ut(Rt),n===null?(y=id(),y===null&&(y=at,v=nd(),y.pooledCache=v,v.refCount++,v!==null&&(y.pooledCacheLanes|=s),y=v),i.memoizedState={parent:f,cache:y},ad(i),Xr(i,Rt,y)):((n.lanes&s)!==0&&(ld(n,i),rl(i,null,null,s),nl()),y=n.memoizedState,v=i.memoizedState,y.parent!==f?(y={parent:f,cache:f},i.memoizedState=y,i.lanes===0&&(i.memoizedState=i.updateQueue.baseState=y),Xr(i,Rt,f)):(f=v.cache,Xr(i,Rt,f),f!==y.cache&&td(i,[Rt],s,!0))),Pt(n,i,i.pendingProps.children,s),i.child;case 29:throw i.pendingProps}throw Error(o(156,i.tag))}a(ib,"beginWork");function Pr(n){n.flags|=4}a(Pr,"markUpdate");function ob(n,i){if(i.type!=="stylesheet"||(i.state.loading&4)!==0)n.flags&=-16777217;else if(n.flags|=16777216,!p0(i)){if(i=_n.current,i!==null&&((Ye&4194048)===Ye?tr!==null:(Ye&62914560)!==Ye&&(Ye&536870912)===0||i!==tr))throw el=od,Fg;n.flags|=8192}}a(ob,"preloadResourceAndSuspendIfNeeded");function du(n,i){i!==null&&(n.flags|=4),n.flags&16384&&(i=n.tag!==22?Iy():536870912,n.lanes|=i,$o|=i)}a(du,"scheduleRetryEffect");function cl(n,i){if(!Xe)switch(n.tailMode){case"hidden":i=n.tail;for(var s=null;i!==null;)i.alternate!==null&&(s=i),i=i.sibling;s===null?n.tail=null:s.sibling=null;break;case"collapsed":s=n.tail;for(var f=null;s!==null;)s.alternate!==null&&(f=s),s=s.sibling;f===null?i||n.tail===null?n.tail=null:n.tail.sibling=null:f.sibling=null}}a(cl,"cutOffTailIfNeeded");function dt(n){var i=n.alternate!==null&&n.alternate.child===n.child,s=0,f=0;if(i)for(var y=n.child;y!==null;)s|=y.lanes|y.childLanes,f|=y.subtreeFlags&65011712,f|=y.flags&65011712,y.return=n,y=y.sibling;else for(y=n.child;y!==null;)s|=y.lanes|y.childLanes,f|=y.subtreeFlags,f|=y.flags,y.return=n,y=y.sibling;return n.subtreeFlags|=f,n.childLanes=s,i}a(dt,"bubbleProperties");function pA(n,i,s){var f=i.pendingProps;switch(Wf(i),i.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return dt(i),null;case 1:return dt(i),null;case 3:return s=i.stateNode,f=null,n!==null&&(f=n.memoizedState.cache),i.memoizedState.cache!==f&&(i.flags|=2048),Mr(Rt),Ce(),s.pendingContext&&(s.context=s.pendingContext,s.pendingContext=null),(n===null||n.child===null)&&(Ya(i)?Pr(i):n===null||n.memoizedState.isDehydrated&&(i.flags&256)===0||(i.flags|=1024,Ig())),dt(i),null;case 26:return s=i.memoizedState,n===null?(Pr(i),s!==null?(dt(i),ob(i,s)):(dt(i),i.flags&=-16777217)):s?s!==n.memoizedState?(Pr(i),dt(i),ob(i,s)):(dt(i),i.flags&=-16777217):(n.memoizedProps!==f&&Pr(i),dt(i),i.flags&=-16777217),null;case 27:Pe(i),s=ae.current;var y=i.type;if(n!==null&&i.stateNode!=null)n.memoizedProps!==f&&Pr(i);else{if(!f){if(i.stateNode===null)throw Error(o(166));return dt(i),null}n=re.current,Ya(i)?Lg(i):(n=o0(y,f,s),i.stateNode=n,Pr(i))}return dt(i),null;case 5:if(Pe(i),s=i.type,n!==null&&i.stateNode!=null)n.memoizedProps!==f&&Pr(i);else{if(!f){if(i.stateNode===null)throw Error(o(166));return dt(i),null}if(n=re.current,Ya(i))Lg(i);else{switch(y=Tu(ae.current),n){case 1:n=y.createElementNS("http://www.w3.org/2000/svg",s);break;case 2:n=y.createElementNS("http://www.w3.org/1998/Math/MathML",s);break;default:switch(s){case"svg":n=y.createElementNS("http://www.w3.org/2000/svg",s);break;case"math":n=y.createElementNS("http://www.w3.org/1998/Math/MathML",s);break;case"script":n=y.createElement("div"),n.innerHTML="<script><\/script>",n=n.removeChild(n.firstChild);break;case"select":n=typeof f.is=="string"?y.createElement("select",{is:f.is}):y.createElement("select"),f.multiple?n.multiple=!0:f.size&&(n.size=f.size);break;default:n=typeof f.is=="string"?y.createElement(s,{is:f.is}):y.createElement(s)}}n[jt]=i,n[Xt]=f;e:for(y=i.child;y!==null;){if(y.tag===5||y.tag===6)n.appendChild(y.stateNode);else if(y.tag!==4&&y.tag!==27&&y.child!==null){y.child.return=y,y=y.child;continue}if(y===i)break e;for(;y.sibling===null;){if(y.return===null||y.return===i)break e;y=y.return}y.sibling.return=y.return,y=y.sibling}i.stateNode=n;e:switch(zt(n,s,f),s){case"button":case"input":case"select":case"textarea":n=!!f.autoFocus;break e;case"img":n=!0;break e;default:n=!1}n&&Pr(i)}}return dt(i),i.flags&=-16777217,null;case 6:if(n&&i.stateNode!=null)n.memoizedProps!==f&&Pr(i);else{if(typeof f!="string"&&i.stateNode===null)throw Error(o(166));if(n=ae.current,Ya(i)){if(n=i.stateNode,s=i.memoizedProps,f=null,y=$t,y!==null)switch(y.tag){case 27:case 5:f=y.memoizedProps}n[jt]=i,n=!!(n.nodeValue===s||f!==null&&f.suppressHydrationWarning===!0||Zb(n.nodeValue,s)),n||Ui(i)}else n=Tu(n).createTextNode(f),n[jt]=i,i.stateNode=n}return dt(i),null;case 13:if(f=i.memoizedState,n===null||n.memoizedState!==null&&n.memoizedState.dehydrated!==null){if(y=Ya(i),f!==null&&f.dehydrated!==null){if(n===null){if(!y)throw Error(o(318));if(y=i.memoizedState,y=y!==null?y.dehydrated:null,!y)throw Error(o(317));y[jt]=i}else Ka(),(i.flags&128)===0&&(i.memoizedState=null),i.flags|=4;dt(i),y=!1}else y=Ig(),n!==null&&n.memoizedState!==null&&(n.memoizedState.hydrationErrors=y),y=!0;if(!y)return i.flags&256?(kr(i),i):(kr(i),null)}if(kr(i),(i.flags&128)!==0)return i.lanes=s,i;if(s=f!==null,n=n!==null&&n.memoizedState!==null,s){f=i.child,y=null,f.alternate!==null&&f.alternate.memoizedState!==null&&f.alternate.memoizedState.cachePool!==null&&(y=f.alternate.memoizedState.cachePool.pool);var v=null;f.memoizedState!==null&&f.memoizedState.cachePool!==null&&(v=f.memoizedState.cachePool.pool),v!==y&&(f.flags|=2048)}return s!==n&&s&&(i.child.flags|=8192),du(i,i.updateQueue),dt(i),null;case 4:return Ce(),n===null&&up(i.stateNode.containerInfo),dt(i),null;case 10:return Mr(i.type),dt(i),null;case 19:if(de(Ot),y=i.memoizedState,y===null)return dt(i),null;if(f=(i.flags&128)!==0,v=y.rendering,v===null)if(f)cl(y,!1);else{if(mt!==0||n!==null&&(n.flags&128)!==0)for(n=i.child;n!==null;){if(v=lu(n),v!==null){for(i.flags|=128,cl(y,!1),n=v.updateQueue,i.updateQueue=n,du(i,n),i.subtreeFlags=0,n=s,s=i.child;s!==null;)Dg(s,n),s=s.sibling;return _(Ot,Ot.current&1|2),i.child}n=n.sibling}y.tail!==null&&St()>mu&&(i.flags|=128,f=!0,cl(y,!1),i.lanes=4194304)}else{if(!f)if(n=lu(v),n!==null){if(i.flags|=128,f=!0,n=n.updateQueue,i.updateQueue=n,du(i,n),cl(y,!0),y.tail===null&&y.tailMode==="hidden"&&!v.alternate&&!Xe)return dt(i),null}else 2*St()-y.renderingStartTime>mu&&s!==536870912&&(i.flags|=128,f=!0,cl(y,!1),i.lanes=4194304);y.isBackwards?(v.sibling=i.child,i.child=v):(n=y.last,n!==null?n.sibling=v:i.child=v,y.last=v)}return y.tail!==null?(i=y.tail,y.rendering=i,y.tail=i.sibling,y.renderingStartTime=St(),i.sibling=null,n=Ot.current,_(Ot,f?n&1|2:n&1),i):(dt(i),null);case 22:case 23:return kr(i),fd(),f=i.memoizedState!==null,n!==null?n.memoizedState!==null!==f&&(i.flags|=8192):f&&(i.flags|=8192),f?(s&536870912)!==0&&(i.flags&128)===0&&(dt(i),i.subtreeFlags&6&&(i.flags|=8192)):dt(i),s=i.updateQueue,s!==null&&du(i,s.retryQueue),s=null,n!==null&&n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(s=n.memoizedState.cachePool.pool),f=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(f=i.memoizedState.cachePool.pool),f!==s&&(i.flags|=2048),n!==null&&de(Fi),null;case 24:return s=null,n!==null&&(s=n.memoizedState.cache),i.memoizedState.cache!==s&&(i.flags|=2048),Mr(Rt),dt(i),null;case 25:return null;case 30:return null}throw Error(o(156,i.tag))}a(pA,"completeWork");function hA(n,i){switch(Wf(i),i.tag){case 1:return n=i.flags,n&65536?(i.flags=n&-65537|128,i):null;case 3:return Mr(Rt),Ce(),n=i.flags,(n&65536)!==0&&(n&128)===0?(i.flags=n&-65537|128,i):null;case 26:case 27:case 5:return Pe(i),null;case 13:if(kr(i),n=i.memoizedState,n!==null&&n.dehydrated!==null){if(i.alternate===null)throw Error(o(340));Ka()}return n=i.flags,n&65536?(i.flags=n&-65537|128,i):null;case 19:return de(Ot),null;case 4:return Ce(),null;case 10:return Mr(i.type),null;case 22:case 23:return kr(i),fd(),n!==null&&de(Fi),n=i.flags,n&65536?(i.flags=n&-65537|128,i):null;case 24:return Mr(Rt),null;case 25:return null;default:return null}}a(hA,"unwindWork");function ab(n,i){switch(Wf(i),i.tag){case 3:Mr(Rt),Ce();break;case 26:case 27:case 5:Pe(i);break;case 4:Ce();break;case 13:kr(i);break;case 19:de(Ot);break;case 10:Mr(i.type);break;case 22:case 23:kr(i),fd(),n!==null&&de(Fi);break;case 24:Mr(Rt)}}a(ab,"unwindInterruptedWork");function fl(n,i){try{var s=i.updateQueue,f=s!==null?s.lastEffect:null;if(f!==null){var y=f.next;s=y;do{if((s.tag&n)===n){f=void 0;var v=s.create,T=s.inst;f=v(),T.destroy=f}s=s.next}while(s!==y)}}catch(M){ot(i,i.return,M)}}a(fl,"commitHookEffectListMount");function ri(n,i,s){try{var f=i.updateQueue,y=f!==null?f.lastEffect:null;if(y!==null){var v=y.next;f=v;do{if((f.tag&n)===n){var T=f.inst,M=T.destroy;if(M!==void 0){T.destroy=void 0,y=i;var P=s,F=M;try{F()}catch(oe){ot(y,P,oe)}}}f=f.next}while(f!==v)}}catch(oe){ot(i,i.return,oe)}}a(ri,"commitHookEffectListUnmount");function lb(n){var i=n.updateQueue;if(i!==null){var s=n.stateNode;try{Kg(i,s)}catch(f){ot(n,n.return,f)}}}a(lb,"commitClassCallbacks");function sb(n,i,s){s.props=$i(n.type,n.memoizedProps),s.state=n.memoizedState;try{s.componentWillUnmount()}catch(f){ot(n,i,f)}}a(sb,"safelyCallComponentWillUnmount");function dl(n,i){try{var s=n.ref;if(s!==null){switch(n.tag){case 26:case 27:case 5:var f=n.stateNode;break;case 30:f=n.stateNode;break;default:f=n.stateNode}typeof s=="function"?n.refCleanup=s(f):s.current=f}}catch(y){ot(n,i,y)}}a(dl,"safelyAttachRef");function nr(n,i){var s=n.ref,f=n.refCleanup;if(s!==null)if(typeof f=="function")try{f()}catch(y){ot(n,i,y)}finally{n.refCleanup=null,n=n.alternate,n!=null&&(n.refCleanup=null)}else if(typeof s=="function")try{s(null)}catch(y){ot(n,i,y)}else s.current=null}a(nr,"safelyDetachRef");function ub(n){var i=n.type,s=n.memoizedProps,f=n.stateNode;try{e:switch(i){case"button":case"input":case"select":case"textarea":s.autoFocus&&f.focus();break e;case"img":s.src?f.src=s.src:s.srcSet&&(f.srcset=s.srcSet)}}catch(y){ot(n,n.return,y)}}a(ub,"commitHostMount");function Ud(n,i,s){try{var f=n.stateNode;LA(f,n.type,s,i),f[Xt]=i}catch(y){ot(n,n.return,y)}}a(Ud,"commitHostUpdate");function cb(n){return n.tag===5||n.tag===3||n.tag===26||n.tag===27&&fi(n.type)||n.tag===4}a(cb,"isHostParent");function Bd(n){e:for(;;){for(;n.sibling===null;){if(n.return===null||cb(n.return))return null;n=n.return}for(n.sibling.return=n.return,n=n.sibling;n.tag!==5&&n.tag!==6&&n.tag!==18;){if(n.tag===27&&fi(n.type)||n.flags&2||n.child===null||n.tag===4)continue e;n.child.return=n,n=n.child}if(!(n.flags&2))return n.stateNode}}a(Bd,"getHostSibling");function Hd(n,i,s){var f=n.tag;if(f===5||f===6)n=n.stateNode,i?(s.nodeType===9?s.body:s.nodeName==="HTML"?s.ownerDocument.body:s).insertBefore(n,i):(i=s.nodeType===9?s.body:s.nodeName==="HTML"?s.ownerDocument.body:s,i.appendChild(n),s=s._reactRootContainer,s!=null||i.onclick!==null||(i.onclick=Cu));else if(f!==4&&(f===27&&fi(n.type)&&(s=n.stateNode,i=null),n=n.child,n!==null))for(Hd(n,i,s),n=n.sibling;n!==null;)Hd(n,i,s),n=n.sibling}a(Hd,"insertOrAppendPlacementNodeIntoContainer");function pu(n,i,s){var f=n.tag;if(f===5||f===6)n=n.stateNode,i?s.insertBefore(n,i):s.appendChild(n);else if(f!==4&&(f===27&&fi(n.type)&&(s=n.stateNode),n=n.child,n!==null))for(pu(n,i,s),n=n.sibling;n!==null;)pu(n,i,s),n=n.sibling}a(pu,"insertOrAppendPlacementNode");function fb(n){var i=n.stateNode,s=n.memoizedProps;try{for(var f=n.type,y=i.attributes;y.length;)i.removeAttributeNode(y[0]);zt(i,f,s),i[jt]=n,i[Xt]=s}catch(v){ot(n,n.return,v)}}a(fb,"commitHostSingletonAcquisition");var Lr=!1,wt=!1,Fd=!1,db=typeof WeakSet=="function"?WeakSet:Set,kt=null;function mA(n,i){if(n=n.containerInfo,dp=Nu,n=Eg(n),Bf(n)){if("selectionStart"in n)var s={start:n.selectionStart,end:n.selectionEnd};else e:{s=(s=n.ownerDocument)&&s.defaultView||window;var f=s.getSelection&&s.getSelection();if(f&&f.rangeCount!==0){s=f.anchorNode;var y=f.anchorOffset,v=f.focusNode;f=f.focusOffset;try{s.nodeType,v.nodeType}catch{s=null;break e}var T=0,M=-1,P=-1,F=0,oe=0,ue=n,$=null;t:for(;;){for(var V;ue!==s||y!==0&&ue.nodeType!==3||(M=T+y),ue!==v||f!==0&&ue.nodeType!==3||(P=T+f),ue.nodeType===3&&(T+=ue.nodeValue.length),(V=ue.firstChild)!==null;)$=ue,ue=V;for(;;){if(ue===n)break t;if($===s&&++F===y&&(M=T),$===v&&++oe===f&&(P=T),(V=ue.nextSibling)!==null)break;ue=$,$=ue.parentNode}ue=V}s=M===-1||P===-1?null:{start:M,end:P}}else s=null}s=s||{start:0,end:0}}else s=null;for(pp={focusedElem:n,selectionRange:s},Nu=!1,kt=i;kt!==null;)if(i=kt,n=i.child,(i.subtreeFlags&1024)!==0&&n!==null)n.return=i,kt=n;else for(;kt!==null;){switch(i=kt,v=i.alternate,n=i.flags,i.tag){case 0:break;case 11:case 15:break;case 1:if((n&1024)!==0&&v!==null){n=void 0,s=i,y=v.memoizedProps,v=v.memoizedState,f=s.stateNode;try{var ke=$i(s.type,y,s.elementType===s.type);n=f.getSnapshotBeforeUpdate(ke,v),f.__reactInternalSnapshotBeforeUpdate=n}catch(Ae){ot(s,s.return,Ae)}}break;case 3:if((n&1024)!==0){if(n=i.stateNode.containerInfo,s=n.nodeType,s===9)yp(n);else if(s===1)switch(n.nodeName){case"HEAD":case"HTML":case"BODY":yp(n);break;default:n.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((n&1024)!==0)throw Error(o(163))}if(n=i.sibling,n!==null){n.return=i.return,kt=n;break}kt=i.return}}a(mA,"commitBeforeMutationEffects");function pb(n,i,s){var f=s.flags;switch(s.tag){case 0:case 11:case 15:ii(n,s),f&4&&fl(5,s);break;case 1:if(ii(n,s),f&4)if(n=s.stateNode,i===null)try{n.componentDidMount()}catch(T){ot(s,s.return,T)}else{var y=$i(s.type,i.memoizedProps);i=i.memoizedState;try{n.componentDidUpdate(y,i,n.__reactInternalSnapshotBeforeUpdate)}catch(T){ot(s,s.return,T)}}f&64&&lb(s),f&512&&dl(s,s.return);break;case 3:if(ii(n,s),f&64&&(n=s.updateQueue,n!==null)){if(i=null,s.child!==null)switch(s.child.tag){case 27:case 5:i=s.child.stateNode;break;case 1:i=s.child.stateNode}try{Kg(n,i)}catch(T){ot(s,s.return,T)}}break;case 27:i===null&&f&4&&fb(s);case 26:case 5:ii(n,s),i===null&&f&4&&ub(s),f&512&&dl(s,s.return);break;case 12:ii(n,s);break;case 13:ii(n,s),f&4&&yb(n,s),f&64&&(n=s.memoizedState,n!==null&&(n=n.dehydrated,n!==null&&(s=CA.bind(null,s),FA(n,s))));break;case 22:if(f=s.memoizedState!==null||Lr,!f){i=i!==null&&i.memoizedState!==null||wt,y=Lr;var v=wt;Lr=f,(wt=i)&&!v?oi(n,s,(s.subtreeFlags&8772)!==0):ii(n,s),Lr=y,wt=v}break;case 30:break;default:ii(n,s)}}a(pb,"commitLayoutEffectOnFiber");function hb(n){var i=n.alternate;i!==null&&(n.alternate=null,hb(i)),n.child=null,n.deletions=null,n.sibling=null,n.tag===5&&(i=n.stateNode,i!==null&&xf(i)),n.stateNode=null,n.return=null,n.dependencies=null,n.memoizedProps=null,n.memoizedState=null,n.pendingProps=null,n.stateNode=null,n.updateQueue=null}a(hb,"detachFiberAfterEffects");var ct=null,Jt=!1;function zr(n,i,s){for(s=s.child;s!==null;)mb(n,i,s),s=s.sibling}a(zr,"recursivelyTraverseDeletionEffects");function mb(n,i,s){if(pe&&typeof pe.onCommitFiberUnmount=="function")try{pe.onCommitFiberUnmount(ie,s)}catch{}switch(s.tag){case 26:wt||nr(s,i),zr(n,i,s),s.memoizedState?s.memoizedState.count--:s.stateNode&&(s=s.stateNode,s.parentNode.removeChild(s));break;case 27:wt||nr(s,i);var f=ct,y=Jt;fi(s.type)&&(ct=s.stateNode,Jt=!1),zr(n,i,s),xl(s.stateNode),ct=f,Jt=y;break;case 5:wt||nr(s,i);case 6:if(f=ct,y=Jt,ct=null,zr(n,i,s),ct=f,Jt=y,ct!==null)if(Jt)try{(ct.nodeType===9?ct.body:ct.nodeName==="HTML"?ct.ownerDocument.body:ct).removeChild(s.stateNode)}catch(v){ot(s,i,v)}else try{ct.removeChild(s.stateNode)}catch(v){ot(s,i,v)}break;case 18:ct!==null&&(Jt?(n=ct,r0(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,s.stateNode),_l(n)):r0(ct,s.stateNode));break;case 4:f=ct,y=Jt,ct=s.stateNode.containerInfo,Jt=!0,zr(n,i,s),ct=f,Jt=y;break;case 0:case 11:case 14:case 15:wt||ri(2,s,i),wt||ri(4,s,i),zr(n,i,s);break;case 1:wt||(nr(s,i),f=s.stateNode,typeof f.componentWillUnmount=="function"&&sb(s,i,f)),zr(n,i,s);break;case 21:zr(n,i,s);break;case 22:wt=(f=wt)||s.memoizedState!==null,zr(n,i,s),wt=f;break;default:zr(n,i,s)}}a(mb,"commitDeletionEffectsOnFiber");function yb(n,i){if(i.memoizedState===null&&(n=i.alternate,n!==null&&(n=n.memoizedState,n!==null&&(n=n.dehydrated,n!==null))))try{_l(n)}catch(s){ot(i,i.return,s)}}a(yb,"commitSuspenseHydrationCallbacks");function yA(n){switch(n.tag){case 13:case 19:var i=n.stateNode;return i===null&&(i=n.stateNode=new db),i;case 22:return n=n.stateNode,i=n._retryCache,i===null&&(i=n._retryCache=new db),i;default:throw Error(o(435,n.tag))}}a(yA,"getRetryCache");function qd(n,i){var s=yA(n);i.forEach(function(f){var y=TA.bind(null,n,f);s.has(f)||(s.add(f),f.then(y,y))})}a(qd,"attachSuspenseRetryListeners");function fn(n,i){var s=i.deletions;if(s!==null)for(var f=0;f<s.length;f++){var y=s[f],v=n,T=i,M=T;e:for(;M!==null;){switch(M.tag){case 27:if(fi(M.type)){ct=M.stateNode,Jt=!1;break e}break;case 5:ct=M.stateNode,Jt=!1;break e;case 3:case 4:ct=M.stateNode.containerInfo,Jt=!0;break e}M=M.return}if(ct===null)throw Error(o(160));mb(v,T,y),ct=null,Jt=!1,v=y.alternate,v!==null&&(v.return=null),y.return=null}if(i.subtreeFlags&13878)for(i=i.child;i!==null;)gb(i,n),i=i.sibling}a(fn,"recursivelyTraverseMutationEffects");var Bn=null;function gb(n,i){var s=n.alternate,f=n.flags;switch(n.tag){case 0:case 11:case 14:case 15:fn(i,n),dn(n),f&4&&(ri(3,n,n.return),fl(3,n),ri(5,n,n.return));break;case 1:fn(i,n),dn(n),f&512&&(wt||s===null||nr(s,s.return)),f&64&&Lr&&(n=n.updateQueue,n!==null&&(f=n.callbacks,f!==null&&(s=n.shared.hiddenCallbacks,n.shared.hiddenCallbacks=s===null?f:s.concat(f))));break;case 26:var y=Bn;if(fn(i,n),dn(n),f&512&&(wt||s===null||nr(s,s.return)),f&4){var v=s!==null?s.memoizedState:null;if(f=n.memoizedState,s===null)if(f===null)if(n.stateNode===null){e:{f=n.type,s=n.memoizedProps,y=y.ownerDocument||y;t:switch(f){case"title":v=y.getElementsByTagName("title")[0],(!v||v[za]||v[jt]||v.namespaceURI==="http://www.w3.org/2000/svg"||v.hasAttribute("itemprop"))&&(v=y.createElement(f),y.head.insertBefore(v,y.querySelector("head > title"))),zt(v,f,s),v[jt]=n,Mt(v),f=v;break e;case"link":var T=f0("link","href",y).get(f+(s.href||""));if(T){for(var M=0;M<T.length;M++)if(v=T[M],v.getAttribute("href")===(s.href==null||s.href===""?null:s.href)&&v.getAttribute("rel")===(s.rel==null?null:s.rel)&&v.getAttribute("title")===(s.title==null?null:s.title)&&v.getAttribute("crossorigin")===(s.crossOrigin==null?null:s.crossOrigin)){T.splice(M,1);break t}}v=y.createElement(f),zt(v,f,s),y.head.appendChild(v);break;case"meta":if(T=f0("meta","content",y).get(f+(s.content||""))){for(M=0;M<T.length;M++)if(v=T[M],v.getAttribute("content")===(s.content==null?null:""+s.content)&&v.getAttribute("name")===(s.name==null?null:s.name)&&v.getAttribute("property")===(s.property==null?null:s.property)&&v.getAttribute("http-equiv")===(s.httpEquiv==null?null:s.httpEquiv)&&v.getAttribute("charset")===(s.charSet==null?null:s.charSet)){T.splice(M,1);break t}}v=y.createElement(f),zt(v,f,s),y.head.appendChild(v);break;default:throw Error(o(468,f))}v[jt]=n,Mt(v),f=v}n.stateNode=f}else d0(y,n.type,n.stateNode);else n.stateNode=c0(y,f,n.memoizedProps);else v!==f?(v===null?s.stateNode!==null&&(s=s.stateNode,s.parentNode.removeChild(s)):v.count--,f===null?d0(y,n.type,n.stateNode):c0(y,f,n.memoizedProps)):f===null&&n.stateNode!==null&&Ud(n,n.memoizedProps,s.memoizedProps)}break;case 27:fn(i,n),dn(n),f&512&&(wt||s===null||nr(s,s.return)),s!==null&&f&4&&Ud(n,n.memoizedProps,s.memoizedProps);break;case 5:if(fn(i,n),dn(n),f&512&&(wt||s===null||nr(s,s.return)),n.flags&32){y=n.stateNode;try{wo(y,"")}catch(V){ot(n,n.return,V)}}f&4&&n.stateNode!=null&&(y=n.memoizedProps,Ud(n,y,s!==null?s.memoizedProps:y)),f&1024&&(Fd=!0);break;case 6:if(fn(i,n),dn(n),f&4){if(n.stateNode===null)throw Error(o(162));f=n.memoizedProps,s=n.stateNode;try{s.nodeValue=f}catch(V){ot(n,n.return,V)}}break;case 3:if(Au=null,y=Bn,Bn=Ru(i.containerInfo),fn(i,n),Bn=y,dn(n),f&4&&s!==null&&s.memoizedState.isDehydrated)try{_l(i.containerInfo)}catch(V){ot(n,n.return,V)}Fd&&(Fd=!1,vb(n));break;case 4:f=Bn,Bn=Ru(n.stateNode.containerInfo),fn(i,n),dn(n),Bn=f;break;case 12:fn(i,n),dn(n);break;case 13:fn(i,n),dn(n),n.child.flags&8192&&n.memoizedState!==null!=(s!==null&&s.memoizedState!==null)&&(Qd=St()),f&4&&(f=n.updateQueue,f!==null&&(n.updateQueue=null,qd(n,f)));break;case 22:y=n.memoizedState!==null;var P=s!==null&&s.memoizedState!==null,F=Lr,oe=wt;if(Lr=F||y,wt=oe||P,fn(i,n),wt=oe,Lr=F,dn(n),f&8192)e:for(i=n.stateNode,i._visibility=y?i._visibility&-2:i._visibility|1,y&&(s===null||P||Lr||wt||Vi(n)),s=null,i=n;;){if(i.tag===5||i.tag===26){if(s===null){P=s=i;try{if(v=P.stateNode,y)T=v.style,typeof T.setProperty=="function"?T.setProperty("display","none","important"):T.display="none";else{M=P.stateNode;var ue=P.memoizedProps.style,$=ue!=null&&ue.hasOwnProperty("display")?ue.display:null;M.style.display=$==null||typeof $=="boolean"?"":(""+$).trim()}}catch(V){ot(P,P.return,V)}}}else if(i.tag===6){if(s===null){P=i;try{P.stateNode.nodeValue=y?"":P.memoizedProps}catch(V){ot(P,P.return,V)}}}else if((i.tag!==22&&i.tag!==23||i.memoizedState===null||i===n)&&i.child!==null){i.child.return=i,i=i.child;continue}if(i===n)break e;for(;i.sibling===null;){if(i.return===null||i.return===n)break e;s===i&&(s=null),i=i.return}s===i&&(s=null),i.sibling.return=i.return,i=i.sibling}f&4&&(f=n.updateQueue,f!==null&&(s=f.retryQueue,s!==null&&(f.retryQueue=null,qd(n,s))));break;case 19:fn(i,n),dn(n),f&4&&(f=n.updateQueue,f!==null&&(n.updateQueue=null,qd(n,f)));break;case 30:break;case 21:break;default:fn(i,n),dn(n)}}a(gb,"commitMutationEffectsOnFiber");function dn(n){var i=n.flags;if(i&2){try{for(var s,f=n.return;f!==null;){if(cb(f)){s=f;break}f=f.return}if(s==null)throw Error(o(160));switch(s.tag){case 27:var y=s.stateNode,v=Bd(n);pu(n,v,y);break;case 5:var T=s.stateNode;s.flags&32&&(wo(T,""),s.flags&=-33);var M=Bd(n);pu(n,M,T);break;case 3:case 4:var P=s.stateNode.containerInfo,F=Bd(n);Hd(n,F,P);break;default:throw Error(o(161))}}catch(oe){ot(n,n.return,oe)}n.flags&=-3}i&4096&&(n.flags&=-4097)}a(dn,"commitReconciliationEffects");function vb(n){if(n.subtreeFlags&1024)for(n=n.child;n!==null;){var i=n;vb(i),i.tag===5&&i.flags&1024&&i.stateNode.reset(),n=n.sibling}}a(vb,"recursivelyResetForms");function ii(n,i){if(i.subtreeFlags&8772)for(i=i.child;i!==null;)pb(n,i.alternate,i),i=i.sibling}a(ii,"recursivelyTraverseLayoutEffects");function Vi(n){for(n=n.child;n!==null;){var i=n;switch(i.tag){case 0:case 11:case 14:case 15:ri(4,i,i.return),Vi(i);break;case 1:nr(i,i.return);var s=i.stateNode;typeof s.componentWillUnmount=="function"&&sb(i,i.return,s),Vi(i);break;case 27:xl(i.stateNode);case 26:case 5:nr(i,i.return),Vi(i);break;case 22:i.memoizedState===null&&Vi(i);break;case 30:Vi(i);break;default:Vi(i)}n=n.sibling}}a(Vi,"recursivelyTraverseDisappearLayoutEffects");function oi(n,i,s){for(s=s&&(i.subtreeFlags&8772)!==0,i=i.child;i!==null;){var f=i.alternate,y=n,v=i,T=v.flags;switch(v.tag){case 0:case 11:case 15:oi(y,v,s),fl(4,v);break;case 1:if(oi(y,v,s),f=v,y=f.stateNode,typeof y.componentDidMount=="function")try{y.componentDidMount()}catch(F){ot(f,f.return,F)}if(f=v,y=f.updateQueue,y!==null){var M=f.stateNode;try{var P=y.shared.hiddenCallbacks;if(P!==null)for(y.shared.hiddenCallbacks=null,y=0;y<P.length;y++)Yg(P[y],M)}catch(F){ot(f,f.return,F)}}s&&T&64&&lb(v),dl(v,v.return);break;case 27:fb(v);case 26:case 5:oi(y,v,s),s&&f===null&&T&4&&ub(v),dl(v,v.return);break;case 12:oi(y,v,s);break;case 13:oi(y,v,s),s&&T&4&&yb(y,v);break;case 22:v.memoizedState===null&&oi(y,v,s),dl(v,v.return);break;case 30:break;default:oi(y,v,s)}i=i.sibling}}a(oi,"recursivelyTraverseReappearLayoutEffects");function $d(n,i){var s=null;n!==null&&n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(s=n.memoizedState.cachePool.pool),n=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(n=i.memoizedState.cachePool.pool),n!==s&&(n!=null&&n.refCount++,s!=null&&Wa(s))}a($d,"commitOffscreenPassiveMountEffects");function Vd(n,i){n=null,i.alternate!==null&&(n=i.alternate.memoizedState.cache),i=i.memoizedState.cache,i!==n&&(i.refCount++,n!=null&&Wa(n))}a(Vd,"commitCachePassiveMountEffect");function rr(n,i,s,f){if(i.subtreeFlags&10256)for(i=i.child;i!==null;)bb(n,i,s,f),i=i.sibling}a(rr,"recursivelyTraversePassiveMountEffects");function bb(n,i,s,f){var y=i.flags;switch(i.tag){case 0:case 11:case 15:rr(n,i,s,f),y&2048&&fl(9,i);break;case 1:rr(n,i,s,f);break;case 3:rr(n,i,s,f),y&2048&&(n=null,i.alternate!==null&&(n=i.alternate.memoizedState.cache),i=i.memoizedState.cache,i!==n&&(i.refCount++,n!=null&&Wa(n)));break;case 12:if(y&2048){rr(n,i,s,f),n=i.stateNode;try{var v=i.memoizedProps,T=v.id,M=v.onPostCommit;typeof M=="function"&&M(T,i.alternate===null?"mount":"update",n.passiveEffectDuration,-0)}catch(P){ot(i,i.return,P)}}else rr(n,i,s,f);break;case 13:rr(n,i,s,f);break;case 23:break;case 22:v=i.stateNode,T=i.alternate,i.memoizedState!==null?v._visibility&2?rr(n,i,s,f):pl(n,i):v._visibility&2?rr(n,i,s,f):(v._visibility|=2,Ho(n,i,s,f,(i.subtreeFlags&10256)!==0)),y&2048&&$d(T,i);break;case 24:rr(n,i,s,f),y&2048&&Vd(i.alternate,i);break;default:rr(n,i,s,f)}}a(bb,"commitPassiveMountOnFiber");function Ho(n,i,s,f,y){for(y=y&&(i.subtreeFlags&10256)!==0,i=i.child;i!==null;){var v=n,T=i,M=s,P=f,F=T.flags;switch(T.tag){case 0:case 11:case 15:Ho(v,T,M,P,y),fl(8,T);break;case 23:break;case 22:var oe=T.stateNode;T.memoizedState!==null?oe._visibility&2?Ho(v,T,M,P,y):pl(v,T):(oe._visibility|=2,Ho(v,T,M,P,y)),y&&F&2048&&$d(T.alternate,T);break;case 24:Ho(v,T,M,P,y),y&&F&2048&&Vd(T.alternate,T);break;default:Ho(v,T,M,P,y)}i=i.sibling}}a(Ho,"recursivelyTraverseReconnectPassiveEffects");function pl(n,i){if(i.subtreeFlags&10256)for(i=i.child;i!==null;){var s=n,f=i,y=f.flags;switch(f.tag){case 22:pl(s,f),y&2048&&$d(f.alternate,f);break;case 24:pl(s,f),y&2048&&Vd(f.alternate,f);break;default:pl(s,f)}i=i.sibling}}a(pl,"recursivelyTraverseAtomicPassiveEffects");var hl=8192;function Fo(n){if(n.subtreeFlags&hl)for(n=n.child;n!==null;)Sb(n),n=n.sibling}a(Fo,"recursivelyAccumulateSuspenseyCommit");function Sb(n){switch(n.tag){case 26:Fo(n),n.flags&hl&&n.memoizedState!==null&&t_(Bn,n.memoizedState,n.memoizedProps);break;case 5:Fo(n);break;case 3:case 4:var i=Bn;Bn=Ru(n.stateNode.containerInfo),Fo(n),Bn=i;break;case 22:n.memoizedState===null&&(i=n.alternate,i!==null&&i.memoizedState!==null?(i=hl,hl=16777216,Fo(n),hl=i):Fo(n));break;default:Fo(n)}}a(Sb,"accumulateSuspenseyCommitOnFiber");function xb(n){var i=n.alternate;if(i!==null&&(n=i.child,n!==null)){i.child=null;do i=n.sibling,n.sibling=null,n=i;while(n!==null)}}a(xb,"detachAlternateSiblings");function ml(n){var i=n.deletions;if((n.flags&16)!==0){if(i!==null)for(var s=0;s<i.length;s++){var f=i[s];kt=f,Eb(f,n)}xb(n)}if(n.subtreeFlags&10256)for(n=n.child;n!==null;)wb(n),n=n.sibling}a(ml,"recursivelyTraversePassiveUnmountEffects");function wb(n){switch(n.tag){case 0:case 11:case 15:ml(n),n.flags&2048&&ri(9,n,n.return);break;case 3:ml(n);break;case 12:ml(n);break;case 22:var i=n.stateNode;n.memoizedState!==null&&i._visibility&2&&(n.return===null||n.return.tag!==13)?(i._visibility&=-3,hu(n)):ml(n);break;default:ml(n)}}a(wb,"commitPassiveUnmountOnFiber");function hu(n){var i=n.deletions;if((n.flags&16)!==0){if(i!==null)for(var s=0;s<i.length;s++){var f=i[s];kt=f,Eb(f,n)}xb(n)}for(n=n.child;n!==null;){switch(i=n,i.tag){case 0:case 11:case 15:ri(8,i,i.return),hu(i);break;case 22:s=i.stateNode,s._visibility&2&&(s._visibility&=-3,hu(i));break;default:hu(i)}n=n.sibling}}a(hu,"recursivelyTraverseDisconnectPassiveEffects");function Eb(n,i){for(;kt!==null;){var s=kt;switch(s.tag){case 0:case 11:case 15:ri(8,s,i);break;case 23:case 22:if(s.memoizedState!==null&&s.memoizedState.cachePool!==null){var f=s.memoizedState.cachePool.pool;f!=null&&f.refCount++}break;case 24:Wa(s.memoizedState.cache)}if(f=s.child,f!==null)f.return=s,kt=f;else e:for(s=n;kt!==null;){f=kt;var y=f.sibling,v=f.return;if(hb(f),f===s){kt=null;break e}if(y!==null){y.return=v,kt=y;break e}kt=v}}}a(Eb,"commitPassiveUnmountEffectsInsideOfDeletedTree_begin");var gA={getCacheForType:a(function(n){var i=Ut(Rt),s=i.data.get(n);return s===void 0&&(s=n(),i.data.set(n,s)),s},"getCacheForType")},vA=typeof WeakMap=="function"?WeakMap:Map,et=0,at=null,$e=null,Ye=0,tt=0,pn=null,ai=!1,qo=!1,Gd=!1,Ir=0,mt=0,li=0,Gi=0,Yd=0,Mn=0,$o=0,yl=null,en=null,Kd=!1,Qd=0,mu=1/0,yu=null,si=null,Lt=0,ui=null,Vo=null,Go=0,Xd=0,Wd=null,Cb=null,gl=0,Zd=null;function hn(){if((et&2)!==0&&Ye!==0)return Ye&-Ye;if(I.T!==null){var n=Do;return n!==0?n:op()}return By()}a(hn,"requestUpdateLane");function Tb(){Mn===0&&(Mn=(Ye&536870912)===0||Xe?zy():536870912);var n=_n.current;return n!==null&&(n.flags|=32),Mn}a(Tb,"requestDeferredLane");function mn(n,i,s){(n===at&&(tt===2||tt===9)||n.cancelPendingCommit!==null)&&(Yo(n,0),ci(n,Ye,Mn,!1)),La(n,s),((et&2)===0||n!==at)&&(n===at&&((et&2)===0&&(Gi|=s),mt===4&&ci(n,Ye,Mn,!1)),ir(n))}a(mn,"scheduleUpdateOnFiber");function Rb(n,i,s){if((et&6)!==0)throw Error(o(327));var f=!s&&(i&124)===0&&(i&n.expiredLanes)===0||wn(n,i),y=f?xA(n,i):tp(n,i,!0),v=f;do{if(y===0){qo&&!f&&ci(n,i,0,!1);break}else{if(s=n.current.alternate,v&&!bA(s)){y=tp(n,i,!1),v=!1;continue}if(y===2){if(v=i,n.errorRecoveryDisabledLanes&v)var T=0;else T=n.pendingLanes&-536870913,T=T!==0?T:T&536870912?536870912:0;if(T!==0){i=T;e:{var M=n;y=yl;var P=M.current.memoizedState.isDehydrated;if(P&&(Yo(M,T).flags|=256),T=tp(M,T,!1),T!==2){if(Gd&&!P){M.errorRecoveryDisabledLanes|=v,Gi|=v,y=4;break e}v=en,en=y,v!==null&&(en===null?en=v:en.push.apply(en,v))}y=T}if(v=!1,y!==2)continue}}if(y===1){Yo(n,0),ci(n,i,0,!0);break}e:{switch(f=n,v=y,v){case 0:case 1:throw Error(o(345));case 4:if((i&4194048)!==i)break;case 6:ci(f,i,Mn,!ai);break e;case 2:en=null;break;case 3:case 5:break;default:throw Error(o(329))}if((i&62914560)===i&&(y=Qd+300-St(),10<y)){if(ci(f,i,Mn,!ai),_t(f,0,!0)!==0)break e;f.timeoutHandle=t0(Ob.bind(null,f,s,en,yu,Kd,i,Mn,Gi,$o,ai,v,2,-0,0),y);break e}Ob(f,s,en,yu,Kd,i,Mn,Gi,$o,ai,v,0,-0,0)}}break}while(!0);ir(n)}a(Rb,"performWorkOnRoot");function Ob(n,i,s,f,y,v,T,M,P,F,oe,ue,$,V){if(n.timeoutHandle=-1,ue=i.subtreeFlags,(ue&8192||(ue&16785408)===16785408)&&(Cl={stylesheets:null,count:0,unsuspend:e_},Sb(i),ue=n_(),ue!==null)){n.cancelPendingCommit=ue(Pb.bind(null,n,i,v,s,f,y,T,M,P,oe,1,$,V)),ci(n,v,T,!F);return}Pb(n,i,v,s,f,y,T,M,P)}a(Ob,"commitRootWhenReady");function bA(n){for(var i=n;;){var s=i.tag;if((s===0||s===11||s===15)&&i.flags&16384&&(s=i.updateQueue,s!==null&&(s=s.stores,s!==null)))for(var f=0;f<s.length;f++){var y=s[f],v=y.getSnapshot;y=y.value;try{if(!un(v(),y))return!1}catch{return!1}}if(s=i.child,i.subtreeFlags&16384&&s!==null)s.return=i,i=s;else{if(i===n)break;for(;i.sibling===null;){if(i.return===null||i.return===n)return!0;i=i.return}i.sibling.return=i.return,i=i.sibling}}return!0}a(bA,"isRenderConsistentWithExternalStores");function ci(n,i,s,f){i&=~Yd,i&=~Gi,n.suspendedLanes|=i,n.pingedLanes&=~i,f&&(n.warmLanes|=i),f=n.expirationTimes;for(var y=i;0<y;){var v=31-Ne(y),T=1<<v;f[v]=-1,y&=~T}s!==0&&jy(n,s,i)}a(ci,"markRootSuspended");function gu(){return(et&6)===0?(vl(0),!1):!0}a(gu,"flushSyncWork$1");function Jd(){if($e!==null){if(tt===0)var n=$e.return;else n=$e,_r=Bi=null,yd(n),Uo=null,sl=0,n=$e;for(;n!==null;)ab(n.alternate,n),n=n.return;$e=null}}a(Jd,"resetWorkInProgressStack");function Yo(n,i){var s=n.timeoutHandle;s!==-1&&(n.timeoutHandle=-1,IA(s)),s=n.cancelPendingCommit,s!==null&&(n.cancelPendingCommit=null,s()),Jd(),at=n,$e=s=Rr(n.current,null),Ye=i,tt=0,pn=null,ai=!1,qo=wn(n,i),Gd=!1,$o=Mn=Yd=Gi=li=mt=0,en=yl=null,Kd=!1,(i&8)!==0&&(i|=i&32);var f=n.entangledLanes;if(f!==0)for(n=n.entanglements,f&=i;0<f;){var y=31-Ne(f),v=1<<y;i|=n[y],f&=~v}return Ir=i,Us(),s}a(Yo,"prepareFreshStack");function Ab(n,i){He=null,I.H=iu,i===Ja||i===Ks?(i=Vg(),tt=3):i===Fg?(i=Vg(),tt=4):tt=i===Gv?8:i!==null&&typeof i=="object"&&typeof i.then=="function"?6:1,pn=i,$e===null&&(mt=1,uu(n,Tn(i,n.current)))}a(Ab,"handleThrow");function _b(){var n=I.H;return I.H=iu,n===null?iu:n}a(_b,"pushDispatcher");function Mb(){var n=I.A;return I.A=gA,n}a(Mb,"pushAsyncDispatcher");function ep(){mt=4,ai||(Ye&4194048)!==Ye&&_n.current!==null||(qo=!0),(li&134217727)===0&&(Gi&134217727)===0||at===null||ci(at,Ye,Mn,!1)}a(ep,"renderDidSuspendDelayIfPossible");function tp(n,i,s){var f=et;et|=2;var y=_b(),v=Mb();(at!==n||Ye!==i)&&(yu=null,Yo(n,i)),i=!1;var T=mt;e:do try{if(tt!==0&&$e!==null){var M=$e,P=pn;switch(tt){case 8:Jd(),T=6;break e;case 3:case 2:case 9:case 6:_n.current===null&&(i=!0);var F=tt;if(tt=0,pn=null,Ko(n,M,P,F),s&&qo){T=0;break e}break;default:F=tt,tt=0,pn=null,Ko(n,M,P,F)}}SA(),T=mt;break}catch(oe){Ab(n,oe)}while(!0);return i&&n.shellSuspendCounter++,_r=Bi=null,et=f,I.H=y,I.A=v,$e===null&&(at=null,Ye=0,Us()),T}a(tp,"renderRootSync");function SA(){for(;$e!==null;)Nb($e)}a(SA,"workLoopSync");function xA(n,i){var s=et;et|=2;var f=_b(),y=Mb();at!==n||Ye!==i?(yu=null,mu=St()+500,Yo(n,i)):qo=wn(n,i);e:do try{if(tt!==0&&$e!==null){i=$e;var v=pn;t:switch(tt){case 1:tt=0,pn=null,Ko(n,i,v,1);break;case 2:case 9:if(qg(v)){tt=0,pn=null,kb(i);break}i=a(function(){tt!==2&&tt!==9||at!==n||(tt=7),ir(n)},"lanes"),v.then(i,i);break e;case 3:tt=7;break e;case 4:tt=5;break e;case 7:qg(v)?(tt=0,pn=null,kb(i)):(tt=0,pn=null,Ko(n,i,v,7));break;case 5:var T=null;switch($e.tag){case 26:T=$e.memoizedState;case 5:case 27:var M=$e;if(!T||p0(T)){tt=0,pn=null;var P=M.sibling;if(P!==null)$e=P;else{var F=M.return;F!==null?($e=F,vu(F)):$e=null}break t}}tt=0,pn=null,Ko(n,i,v,5);break;case 6:tt=0,pn=null,Ko(n,i,v,6);break;case 8:Jd(),mt=6;break e;default:throw Error(o(462))}}wA();break}catch(oe){Ab(n,oe)}while(!0);return _r=Bi=null,I.H=f,I.A=y,et=s,$e!==null?0:(at=null,Ye=0,Us(),mt)}a(xA,"renderRootConcurrent");function wA(){for(;$e!==null&&!Kt();)Nb($e)}a(wA,"workLoopConcurrentByScheduler");function Nb(n){var i=ib(n.alternate,n,Ir);n.memoizedProps=n.pendingProps,i===null?vu(n):$e=i}a(Nb,"performUnitOfWork");function kb(n){var i=n,s=i.alternate;switch(i.tag){case 15:case 0:i=Zv(s,i,i.pendingProps,i.type,void 0,Ye);break;case 11:i=Zv(s,i,i.pendingProps,i.type.render,i.ref,Ye);break;case 5:yd(i);default:ab(s,i),i=$e=Dg(i,Ir),i=ib(s,i,Ir)}n.memoizedProps=n.pendingProps,i===null?vu(n):$e=i}a(kb,"replaySuspendedUnitOfWork");function Ko(n,i,s,f){_r=Bi=null,yd(i),Uo=null,sl=0;var y=i.return;try{if(fA(n,y,i,s,Ye)){mt=1,uu(n,Tn(s,n.current)),$e=null;return}}catch(v){if(y!==null)throw $e=y,v;mt=1,uu(n,Tn(s,n.current)),$e=null;return}i.flags&32768?(Xe||f===1?n=!0:qo||(Ye&536870912)!==0?n=!1:(ai=n=!0,(f===2||f===9||f===3||f===6)&&(f=_n.current,f!==null&&f.tag===13&&(f.flags|=16384))),Db(i,n)):vu(i)}a(Ko,"throwAndUnwindWorkLoop");function vu(n){var i=n;do{if((i.flags&32768)!==0){Db(i,ai);return}n=i.return;var s=pA(i.alternate,i,Ir);if(s!==null){$e=s;return}if(i=i.sibling,i!==null){$e=i;return}$e=i=n}while(i!==null);mt===0&&(mt=5)}a(vu,"completeUnitOfWork");function Db(n,i){do{var s=hA(n.alternate,n);if(s!==null){s.flags&=32767,$e=s;return}if(s=n.return,s!==null&&(s.flags|=32768,s.subtreeFlags=0,s.deletions=null),!i&&(n=n.sibling,n!==null)){$e=n;return}$e=n=s}while(n!==null);mt=6,$e=null}a(Db,"unwindUnitOfWork");function Pb(n,i,s,f,y,v,T,M,P){n.cancelPendingCommit=null;do bu();while(Lt!==0);if((et&6)!==0)throw Error(o(327));if(i!==null){if(i===n.current)throw Error(o(177));if(v=i.lanes|i.childLanes,v|=Vf,eO(n,s,v,T,M,P),n===at&&($e=at=null,Ye=0),Vo=i,ui=n,Go=s,Xd=v,Wd=y,Cb=f,(i.subtreeFlags&10256)!==0||(i.flags&10256)!==0?(n.callbackNode=null,n.callbackPriority=0,RA(xn,function(){return Ub(),null})):(n.callbackNode=null,n.callbackPriority=0),f=(i.flags&13878)!==0,(i.subtreeFlags&13878)!==0||f){f=I.T,I.T=null,y=W.p,W.p=2,T=et,et|=4;try{mA(n,i,s)}finally{et=T,W.p=y,I.T=f}}Lt=1,Lb(),zb(),Ib()}}a(Pb,"commitRoot");function Lb(){if(Lt===1){Lt=0;var n=ui,i=Vo,s=(i.flags&13878)!==0;if((i.subtreeFlags&13878)!==0||s){s=I.T,I.T=null;var f=W.p;W.p=2;var y=et;et|=4;try{gb(i,n);var v=pp,T=Eg(n.containerInfo),M=v.focusedElem,P=v.selectionRange;if(T!==M&&M&&M.ownerDocument&&wg(M.ownerDocument.documentElement,M)){if(P!==null&&Bf(M)){var F=P.start,oe=P.end;if(oe===void 0&&(oe=F),"selectionStart"in M)M.selectionStart=F,M.selectionEnd=Math.min(oe,M.value.length);else{var ue=M.ownerDocument||document,$=ue&&ue.defaultView||window;if($.getSelection){var V=$.getSelection(),ke=M.textContent.length,Ae=Math.min(P.start,ke),it=P.end===void 0?Ae:Math.min(P.end,ke);!V.extend&&Ae>it&&(T=it,it=Ae,Ae=T);var B=xg(M,Ae),U=xg(M,it);if(B&&U&&(V.rangeCount!==1||V.anchorNode!==B.node||V.anchorOffset!==B.offset||V.focusNode!==U.node||V.focusOffset!==U.offset)){var H=ue.createRange();H.setStart(B.node,B.offset),V.removeAllRanges(),Ae>it?(V.addRange(H),V.extend(U.node,U.offset)):(H.setEnd(U.node,U.offset),V.addRange(H))}}}}for(ue=[],V=M;V=V.parentNode;)V.nodeType===1&&ue.push({element:V,left:V.scrollLeft,top:V.scrollTop});for(typeof M.focus=="function"&&M.focus(),M=0;M<ue.length;M++){var le=ue[M];le.element.scrollLeft=le.left,le.element.scrollTop=le.top}}Nu=!!dp,pp=dp=null}finally{et=y,W.p=f,I.T=s}}n.current=i,Lt=2}}a(Lb,"flushMutationEffects");function zb(){if(Lt===2){Lt=0;var n=ui,i=Vo,s=(i.flags&8772)!==0;if((i.subtreeFlags&8772)!==0||s){s=I.T,I.T=null;var f=W.p;W.p=2;var y=et;et|=4;try{pb(n,i.alternate,i)}finally{et=y,W.p=f,I.T=s}}Lt=3}}a(zb,"flushLayoutEffects");function Ib(){if(Lt===4||Lt===3){Lt=0,an();var n=ui,i=Vo,s=Go,f=Cb;(i.subtreeFlags&10256)!==0||(i.flags&10256)!==0?Lt=5:(Lt=0,Vo=ui=null,jb(n,n.pendingLanes));var y=n.pendingLanes;if(y===0&&(si=null),bf(s),i=i.stateNode,pe&&typeof pe.onCommitFiberRoot=="function")try{pe.onCommitFiberRoot(ie,i,void 0,(i.current.flags&128)===128)}catch{}if(f!==null){i=I.T,y=W.p,W.p=2,I.T=null;try{for(var v=n.onRecoverableError,T=0;T<f.length;T++){var M=f[T];v(M.value,{componentStack:M.stack})}}finally{I.T=i,W.p=y}}(Go&3)!==0&&bu(),ir(n),y=n.pendingLanes,(s&4194090)!==0&&(y&42)!==0?n===Zd?gl++:(gl=0,Zd=n):gl=0,vl(0)}}a(Ib,"flushSpawnedWork");function jb(n,i){(n.pooledCacheLanes&=i)===0&&(i=n.pooledCache,i!=null&&(n.pooledCache=null,Wa(i)))}a(jb,"releaseRootPooledCache");function bu(n){return Lb(),zb(),Ib(),Ub()}a(bu,"flushPendingEffects");function Ub(){if(Lt!==5)return!1;var n=ui,i=Xd;Xd=0;var s=bf(Go),f=I.T,y=W.p;try{W.p=32>s?32:s,I.T=null,s=Wd,Wd=null;var v=ui,T=Go;if(Lt=0,Vo=ui=null,Go=0,(et&6)!==0)throw Error(o(331));var M=et;if(et|=4,wb(v.current),bb(v,v.current,T,s),et=M,vl(0,!1),pe&&typeof pe.onPostCommitFiberRoot=="function")try{pe.onPostCommitFiberRoot(ie,v)}catch{}return!0}finally{W.p=y,I.T=f,jb(n,i)}}a(Ub,"flushPassiveEffects");function Bb(n,i,s){i=Tn(s,i),i=Md(n.stateNode,i,2),n=Jr(n,i,2),n!==null&&(La(n,2),ir(n))}a(Bb,"captureCommitPhaseErrorOnRoot");function ot(n,i,s){if(n.tag===3)Bb(n,n,s);else for(;i!==null;){if(i.tag===3){Bb(i,n,s);break}else if(i.tag===1){var f=i.stateNode;if(typeof i.type.getDerivedStateFromError=="function"||typeof f.componentDidCatch=="function"&&(si===null||!si.has(f))){n=Tn(s,n),s=$v(2),f=Jr(i,s,2),f!==null&&(Vv(s,f,i,n),La(f,2),ir(f));break}}i=i.return}}a(ot,"captureCommitPhaseError");function np(n,i,s){var f=n.pingCache;if(f===null){f=n.pingCache=new vA;var y=new Set;f.set(i,y)}else y=f.get(i),y===void 0&&(y=new Set,f.set(i,y));y.has(s)||(Gd=!0,y.add(s),n=EA.bind(null,n,i,s),i.then(n,n))}a(np,"attachPingListener");function EA(n,i,s){var f=n.pingCache;f!==null&&f.delete(i),n.pingedLanes|=n.suspendedLanes&s,n.warmLanes&=~s,at===n&&(Ye&s)===s&&(mt===4||mt===3&&(Ye&62914560)===Ye&&300>St()-Qd?(et&2)===0&&Yo(n,0):Yd|=s,$o===Ye&&($o=0)),ir(n)}a(EA,"pingSuspendedRoot");function Hb(n,i){i===0&&(i=Iy()),n=_o(n,i),n!==null&&(La(n,i),ir(n))}a(Hb,"retryTimedOutBoundary");function CA(n){var i=n.memoizedState,s=0;i!==null&&(s=i.retryLane),Hb(n,s)}a(CA,"retryDehydratedSuspenseBoundary");function TA(n,i){var s=0;switch(n.tag){case 13:var f=n.stateNode,y=n.memoizedState;y!==null&&(s=y.retryLane);break;case 19:f=n.stateNode;break;case 22:f=n.stateNode._retryCache;break;default:throw Error(o(314))}f!==null&&f.delete(i),Hb(n,s)}a(TA,"resolveRetryWakeable");function RA(n,i){return Ie(n,i)}a(RA,"scheduleCallback$1");var Su=null,Qo=null,rp=!1,xu=!1,ip=!1,Yi=0;function ir(n){n!==Qo&&n.next===null&&(Qo===null?Su=Qo=n:Qo=Qo.next=n),xu=!0,rp||(rp=!0,AA())}a(ir,"ensureRootIsScheduled");function vl(n,i){if(!ip&&xu){ip=!0;do for(var s=!1,f=Su;f!==null;){if(n!==0){var y=f.pendingLanes;if(y===0)var v=0;else{var T=f.suspendedLanes,M=f.pingedLanes;v=(1<<31-Ne(42|n)+1)-1,v&=y&~(T&~M),v=v&201326741?v&201326741|1:v?v|2:0}v!==0&&(s=!0,Vb(f,v))}else v=Ye,v=_t(f,f===at?v:0,f.cancelPendingCommit!==null||f.timeoutHandle!==-1),(v&3)===0||wn(f,v)||(s=!0,Vb(f,v));f=f.next}while(s);ip=!1}}a(vl,"flushSyncWorkAcrossRoots_impl");function OA(){Fb()}a(OA,"processRootScheduleInImmediateTask");function Fb(){xu=rp=!1;var n=0;Yi!==0&&(zA()&&(n=Yi),Yi=0);for(var i=St(),s=null,f=Su;f!==null;){var y=f.next,v=qb(f,i);v===0?(f.next=null,s===null?Su=y:s.next=y,y===null&&(Qo=s)):(s=f,(n!==0||(v&3)!==0)&&(xu=!0)),f=y}vl(n)}a(Fb,"processRootScheduleInMicrotask");function qb(n,i){for(var s=n.suspendedLanes,f=n.pingedLanes,y=n.expirationTimes,v=n.pendingLanes&-62914561;0<v;){var T=31-Ne(v),M=1<<T,P=y[T];P===-1?((M&s)===0||(M&f)!==0)&&(y[T]=jn(M,i)):P<=i&&(n.expiredLanes|=M),v&=~M}if(i=at,s=Ye,s=_t(n,n===i?s:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),f=n.callbackNode,s===0||n===i&&(tt===2||tt===9)||n.cancelPendingCommit!==null)return f!==null&&f!==null&&ut(f),n.callbackNode=null,n.callbackPriority=0;if((s&3)===0||wn(n,s)){if(i=s&-s,i===n.callbackPriority)return i;switch(f!==null&&ut(f),bf(s)){case 2:case 8:s=Mi;break;case 32:s=xn;break;case 268435456:s=ho;break;default:s=xn}return f=$b.bind(null,n),s=Ie(s,f),n.callbackPriority=i,n.callbackNode=s,i}return f!==null&&f!==null&&ut(f),n.callbackPriority=2,n.callbackNode=null,2}a(qb,"scheduleTaskForRootDuringMicrotask");function $b(n,i){if(Lt!==0&&Lt!==5)return n.callbackNode=null,n.callbackPriority=0,null;var s=n.callbackNode;if(bu()&&n.callbackNode!==s)return null;var f=Ye;return f=_t(n,n===at?f:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),f===0?null:(Rb(n,f,i),qb(n,St()),n.callbackNode!=null&&n.callbackNode===s?$b.bind(null,n):null)}a($b,"performWorkOnRootViaSchedulerTask");function Vb(n,i){if(bu())return null;Rb(n,i,!0)}a(Vb,"performSyncWorkOnRoot");function AA(){jA(function(){(et&6)!==0?Ie(Yr,OA):Fb()})}a(AA,"scheduleImmediateRootScheduleTask");function op(){return Yi===0&&(Yi=zy()),Yi}a(op,"requestTransitionLane");function Gb(n){return n==null||typeof n=="symbol"||typeof n=="boolean"?null:typeof n=="function"?n:ks(""+n)}a(Gb,"coerceFormActionProp");function Yb(n,i){var s=i.ownerDocument.createElement("input");return s.name=i.name,s.value=i.value,n.id&&s.setAttribute("form",n.id),i.parentNode.insertBefore(s,i),n=new FormData(n),s.parentNode.removeChild(s),n}a(Yb,"createFormDataWithSubmitter");function _A(n,i,s,f,y){if(i==="submit"&&s&&s.stateNode===y){var v=Gb((y[Xt]||null).action),T=f.submitter;T&&(i=(i=T[Xt]||null)?Gb(i.formAction):T.getAttribute("formAction"),i!==null&&(v=i,T=null));var M=new zs("action","action",null,f,y);n.push({event:M,listeners:[{instance:null,listener:a(function(){if(f.defaultPrevented){if(Yi!==0){var P=T?Yb(y,T):new FormData(y);Td(s,{pending:!0,data:P,method:y.method,action:v},null,P)}}else typeof v=="function"&&(M.preventDefault(),P=T?Yb(y,T):new FormData(y),Td(s,{pending:!0,data:P,method:y.method,action:v},v,P))},"listener"),currentTarget:y}]})}}a(_A,"extractEvents$1");for(var ap=0;ap<$f.length;ap++){var lp=$f[ap],MA=lp.toLowerCase(),NA=lp[0].toUpperCase()+lp.slice(1);Un(MA,"on"+NA)}Un(Rg,"onAnimationEnd"),Un(Og,"onAnimationIteration"),Un(Ag,"onAnimationStart"),Un("dblclick","onDoubleClick"),Un("focusin","onFocus"),Un("focusout","onBlur"),Un(KO,"onTransitionRun"),Un(QO,"onTransitionStart"),Un(XO,"onTransitionCancel"),Un(_g,"onTransitionEnd"),bo("onMouseEnter",["mouseout","mouseover"]),bo("onMouseLeave",["mouseout","mouseover"]),bo("onPointerEnter",["pointerout","pointerover"]),bo("onPointerLeave",["pointerout","pointerover"]),Ni("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Ni("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Ni("onBeforeInput",["compositionend","keypress","textInput","paste"]),Ni("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Ni("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Ni("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var bl="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(" "),kA=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(bl));function Kb(n,i){i=(i&4)!==0;for(var s=0;s<n.length;s++){var f=n[s],y=f.event;f=f.listeners;e:{var v=void 0;if(i)for(var T=f.length-1;0<=T;T--){var M=f[T],P=M.instance,F=M.currentTarget;if(M=M.listener,P!==v&&y.isPropagationStopped())break e;v=M,y.currentTarget=F;try{v(y)}catch(oe){su(oe)}y.currentTarget=null,v=P}else for(T=0;T<f.length;T++){if(M=f[T],P=M.instance,F=M.currentTarget,M=M.listener,P!==v&&y.isPropagationStopped())break e;v=M,y.currentTarget=F;try{v(y)}catch(oe){su(oe)}y.currentTarget=null,v=P}}}}a(Kb,"processDispatchQueue");function Ve(n,i){var s=i[Sf];s===void 0&&(s=i[Sf]=new Set);var f=n+"__bubble";s.has(f)||(Qb(i,n,2,!1),s.add(f))}a(Ve,"listenToNonDelegatedEvent");function sp(n,i,s){var f=0;i&&(f|=4),Qb(s,n,f,i)}a(sp,"listenToNativeEvent");var wu="_reactListening"+Math.random().toString(36).slice(2);function up(n){if(!n[wu]){n[wu]=!0,Fy.forEach(function(s){s!=="selectionchange"&&(kA.has(s)||sp(s,!1,n),sp(s,!0,n))});var i=n.nodeType===9?n:n.ownerDocument;i===null||i[wu]||(i[wu]=!0,sp("selectionchange",!1,i))}}a(up,"listenToAllSupportedEvents");function Qb(n,i,s,f){switch(b0(i)){case 2:var y=o_;break;case 8:y=a_;break;default:y=Ep}s=y.bind(null,i,s,n),y=void 0,!Nf||i!=="touchstart"&&i!=="touchmove"&&i!=="wheel"||(y=!0),f?y!==void 0?n.addEventListener(i,s,{capture:!0,passive:y}):n.addEventListener(i,s,!0):y!==void 0?n.addEventListener(i,s,{passive:y}):n.addEventListener(i,s,!1)}a(Qb,"addTrappedEventListener");function cp(n,i,s,f,y){var v=f;if((i&1)===0&&(i&2)===0&&f!==null)e:for(;;){if(f===null)return;var T=f.tag;if(T===3||T===4){var M=f.stateNode.containerInfo;if(M===y)break;if(T===4)for(T=f.return;T!==null;){var P=T.tag;if((P===3||P===4)&&T.stateNode.containerInfo===y)return;T=T.return}for(;M!==null;){if(T=yo(M),T===null)return;if(P=T.tag,P===5||P===6||P===26||P===27){f=v=T;continue e}M=M.parentNode}}f=f.return}ng(function(){var F=v,oe=_f(s),ue=[];e:{var $=Mg.get(n);if($!==void 0){var V=zs,ke=n;switch(n){case"keypress":if(Ps(s)===0)break e;case"keydown":case"keyup":V=RO;break;case"focusin":ke="focus",V=Lf;break;case"focusout":ke="blur",V=Lf;break;case"beforeblur":case"afterblur":V=Lf;break;case"click":if(s.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":V=og;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":V=hO;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":V=_O;break;case Rg:case Og:case Ag:V=gO;break;case _g:V=NO;break;case"scroll":case"scrollend":V=dO;break;case"wheel":V=DO;break;case"copy":case"cut":case"paste":V=bO;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":V=lg;break;case"toggle":case"beforetoggle":V=LO}var Ae=(i&4)!==0,it=!Ae&&(n==="scroll"||n==="scrollend"),B=Ae?$!==null?$+"Capture":null:$;Ae=[];for(var U=F,H;U!==null;){var le=U;if(H=le.stateNode,le=le.tag,le!==5&&le!==26&&le!==27||H===null||B===null||(le=ja(U,B),le!=null&&Ae.push(Sl(U,le,H))),it)break;U=U.return}0<Ae.length&&($=new V($,ke,null,s,oe),ue.push({event:$,listeners:Ae}))}}if((i&7)===0){e:{if($=n==="mouseover"||n==="pointerover",V=n==="mouseout"||n==="pointerout",$&&s!==Af&&(ke=s.relatedTarget||s.fromElement)&&(yo(ke)||ke[mo]))break e;if((V||$)&&($=oe.window===oe?oe:($=oe.ownerDocument)?$.defaultView||$.parentWindow:window,V?(ke=s.relatedTarget||s.toElement,V=F,ke=ke?yo(ke):null,ke!==null&&(it=u(ke),Ae=ke.tag,ke!==it||Ae!==5&&Ae!==27&&Ae!==6)&&(ke=null)):(V=null,ke=F),V!==ke)){if(Ae=og,le="onMouseLeave",B="onMouseEnter",U="mouse",(n==="pointerout"||n==="pointerover")&&(Ae=lg,le="onPointerLeave",B="onPointerEnter",U="pointer"),it=V==null?$:Ia(V),H=ke==null?$:Ia(ke),$=new Ae(le,U+"leave",V,s,oe),$.target=it,$.relatedTarget=H,le=null,yo(oe)===F&&(Ae=new Ae(B,U+"enter",ke,s,oe),Ae.target=H,Ae.relatedTarget=it,le=Ae),it=le,V&&ke)t:{for(Ae=V,B=ke,U=0,H=Ae;H;H=Xo(H))U++;for(H=0,le=B;le;le=Xo(le))H++;for(;0<U-H;)Ae=Xo(Ae),U--;for(;0<H-U;)B=Xo(B),H--;for(;U--;){if(Ae===B||B!==null&&Ae===B.alternate)break t;Ae=Xo(Ae),B=Xo(B)}Ae=null}else Ae=null;V!==null&&Xb(ue,$,V,Ae,!1),ke!==null&&it!==null&&Xb(ue,it,ke,Ae,!0)}}e:{if($=F?Ia(F):window,V=$.nodeName&&$.nodeName.toLowerCase(),V==="select"||V==="input"&&$.type==="file")var Se=mg;else if(pg($))if(yg)Se=VO;else{Se=qO;var Fe=FO}else V=$.nodeName,!V||V.toLowerCase()!=="input"||$.type!=="checkbox"&&$.type!=="radio"?F&&Of(F.elementType)&&(Se=mg):Se=$O;if(Se&&(Se=Se(n,F))){hg(ue,Se,s,oe);break e}Fe&&Fe(n,$,F),n==="focusout"&&F&&$.type==="number"&&F.memoizedProps.value!=null&&Rf($,"number",$.value)}switch(Fe=F?Ia(F):window,n){case"focusin":(pg(Fe)||Fe.contentEditable==="true")&&(Ro=Fe,Hf=F,Ga=null);break;case"focusout":Ga=Hf=Ro=null;break;case"mousedown":Ff=!0;break;case"contextmenu":case"mouseup":case"dragend":Ff=!1,Cg(ue,s,oe);break;case"selectionchange":if(YO)break;case"keydown":case"keyup":Cg(ue,s,oe)}var Re;if(If)e:{switch(n){case"compositionstart":var _e="onCompositionStart";break e;case"compositionend":_e="onCompositionEnd";break e;case"compositionupdate":_e="onCompositionUpdate";break e}_e=void 0}else To?fg(n,s)&&(_e="onCompositionEnd"):n==="keydown"&&s.keyCode===229&&(_e="onCompositionStart");_e&&(sg&&s.locale!=="ko"&&(To||_e!=="onCompositionStart"?_e==="onCompositionEnd"&&To&&(Re=rg()):(Qr=oe,kf="value"in Qr?Qr.value:Qr.textContent,To=!0)),Fe=Eu(F,_e),0<Fe.length&&(_e=new ag(_e,n,null,s,oe),ue.push({event:_e,listeners:Fe}),Re?_e.data=Re:(Re=dg(s),Re!==null&&(_e.data=Re)))),(Re=IO?jO(n,s):UO(n,s))&&(_e=Eu(F,"onBeforeInput"),0<_e.length&&(Fe=new ag("onBeforeInput","beforeinput",null,s,oe),ue.push({event:Fe,listeners:_e}),Fe.data=Re)),_A(ue,n,F,s,oe)}Kb(ue,i)})}a(cp,"dispatchEventForPluginEventSystem");function Sl(n,i,s){return{instance:n,listener:i,currentTarget:s}}a(Sl,"createDispatchListener");function Eu(n,i){for(var s=i+"Capture",f=[];n!==null;){var y=n,v=y.stateNode;if(y=y.tag,y!==5&&y!==26&&y!==27||v===null||(y=ja(n,s),y!=null&&f.unshift(Sl(n,y,v)),y=ja(n,i),y!=null&&f.push(Sl(n,y,v))),n.tag===3)return f;n=n.return}return[]}a(Eu,"accumulateTwoPhaseListeners");function Xo(n){if(n===null)return null;do n=n.return;while(n&&n.tag!==5&&n.tag!==27);return n||null}a(Xo,"getParent");function Xb(n,i,s,f,y){for(var v=i._reactName,T=[];s!==null&&s!==f;){var M=s,P=M.alternate,F=M.stateNode;if(M=M.tag,P!==null&&P===f)break;M!==5&&M!==26&&M!==27||F===null||(P=F,y?(F=ja(s,v),F!=null&&T.unshift(Sl(s,F,P))):y||(F=ja(s,v),F!=null&&T.push(Sl(s,F,P)))),s=s.return}T.length!==0&&n.push({event:i,listeners:T})}a(Xb,"accumulateEnterLeaveListenersForEvent");var DA=/\r\n?/g,PA=/\u0000|\uFFFD/g;function Wb(n){return(typeof n=="string"?n:""+n).replace(DA,`
|
|
49
|
-
`).replace(PA,"")}a(Wb,"normalizeMarkupForTextOrAttribute");function Zb(n,i){return i=Wb(i),Wb(n)===i}a(Zb,"checkForUnmatchedText");function Cu(){}a(Cu,"noop$1");function rt(n,i,s,f,y,v){switch(s){case"children":typeof f=="string"?i==="body"||i==="textarea"&&f===""||wo(n,f):(typeof f=="number"||typeof f=="bigint")&&i!=="body"&&wo(n,""+f);break;case"className":_s(n,"class",f);break;case"tabIndex":_s(n,"tabindex",f);break;case"dir":case"role":case"viewBox":case"width":case"height":_s(n,s,f);break;case"style":eg(n,f,v);break;case"data":if(i!=="object"){_s(n,"data",f);break}case"src":case"href":if(f===""&&(i!=="a"||s!=="href")){n.removeAttribute(s);break}if(f==null||typeof f=="function"||typeof f=="symbol"||typeof f=="boolean"){n.removeAttribute(s);break}f=ks(""+f),n.setAttribute(s,f);break;case"action":case"formAction":if(typeof f=="function"){n.setAttribute(s,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof v=="function"&&(s==="formAction"?(i!=="input"&&rt(n,i,"name",y.name,y,null),rt(n,i,"formEncType",y.formEncType,y,null),rt(n,i,"formMethod",y.formMethod,y,null),rt(n,i,"formTarget",y.formTarget,y,null)):(rt(n,i,"encType",y.encType,y,null),rt(n,i,"method",y.method,y,null),rt(n,i,"target",y.target,y,null)));if(f==null||typeof f=="symbol"||typeof f=="boolean"){n.removeAttribute(s);break}f=ks(""+f),n.setAttribute(s,f);break;case"onClick":f!=null&&(n.onclick=Cu);break;case"onScroll":f!=null&&Ve("scroll",n);break;case"onScrollEnd":f!=null&&Ve("scrollend",n);break;case"dangerouslySetInnerHTML":if(f!=null){if(typeof f!="object"||!("__html"in f))throw Error(o(61));if(s=f.__html,s!=null){if(y.children!=null)throw Error(o(60));n.innerHTML=s}}break;case"multiple":n.multiple=f&&typeof f!="function"&&typeof f!="symbol";break;case"muted":n.muted=f&&typeof f!="function"&&typeof f!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(f==null||typeof f=="function"||typeof f=="boolean"||typeof f=="symbol"){n.removeAttribute("xlink:href");break}s=ks(""+f),n.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",s);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":f!=null&&typeof f!="function"&&typeof f!="symbol"?n.setAttribute(s,""+f):n.removeAttribute(s);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":f&&typeof f!="function"&&typeof f!="symbol"?n.setAttribute(s,""):n.removeAttribute(s);break;case"capture":case"download":f===!0?n.setAttribute(s,""):f!==!1&&f!=null&&typeof f!="function"&&typeof f!="symbol"?n.setAttribute(s,f):n.removeAttribute(s);break;case"cols":case"rows":case"size":case"span":f!=null&&typeof f!="function"&&typeof f!="symbol"&&!isNaN(f)&&1<=f?n.setAttribute(s,f):n.removeAttribute(s);break;case"rowSpan":case"start":f==null||typeof f=="function"||typeof f=="symbol"||isNaN(f)?n.removeAttribute(s):n.setAttribute(s,f);break;case"popover":Ve("beforetoggle",n),Ve("toggle",n),As(n,"popover",f);break;case"xlinkActuate":Cr(n,"http://www.w3.org/1999/xlink","xlink:actuate",f);break;case"xlinkArcrole":Cr(n,"http://www.w3.org/1999/xlink","xlink:arcrole",f);break;case"xlinkRole":Cr(n,"http://www.w3.org/1999/xlink","xlink:role",f);break;case"xlinkShow":Cr(n,"http://www.w3.org/1999/xlink","xlink:show",f);break;case"xlinkTitle":Cr(n,"http://www.w3.org/1999/xlink","xlink:title",f);break;case"xlinkType":Cr(n,"http://www.w3.org/1999/xlink","xlink:type",f);break;case"xmlBase":Cr(n,"http://www.w3.org/XML/1998/namespace","xml:base",f);break;case"xmlLang":Cr(n,"http://www.w3.org/XML/1998/namespace","xml:lang",f);break;case"xmlSpace":Cr(n,"http://www.w3.org/XML/1998/namespace","xml:space",f);break;case"is":As(n,"is",f);break;case"innerText":case"textContent":break;default:(!(2<s.length)||s[0]!=="o"&&s[0]!=="O"||s[1]!=="n"&&s[1]!=="N")&&(s=cO.get(s)||s,As(n,s,f))}}a(rt,"setProp");function fp(n,i,s,f,y,v){switch(s){case"style":eg(n,f,v);break;case"dangerouslySetInnerHTML":if(f!=null){if(typeof f!="object"||!("__html"in f))throw Error(o(61));if(s=f.__html,s!=null){if(y.children!=null)throw Error(o(60));n.innerHTML=s}}break;case"children":typeof f=="string"?wo(n,f):(typeof f=="number"||typeof f=="bigint")&&wo(n,""+f);break;case"onScroll":f!=null&&Ve("scroll",n);break;case"onScrollEnd":f!=null&&Ve("scrollend",n);break;case"onClick":f!=null&&(n.onclick=Cu);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!qy.hasOwnProperty(s))e:{if(s[0]==="o"&&s[1]==="n"&&(y=s.endsWith("Capture"),i=s.slice(2,y?s.length-7:void 0),v=n[Xt]||null,v=v!=null?v[s]:null,typeof v=="function"&&n.removeEventListener(i,v,y),typeof f=="function")){typeof v!="function"&&v!==null&&(s in n?n[s]=null:n.hasAttribute(s)&&n.removeAttribute(s)),n.addEventListener(i,f,y);break e}s in n?n[s]=f:f===!0?n.setAttribute(s,""):As(n,s,f)}}}a(fp,"setPropOnCustomElement");function zt(n,i,s){switch(i){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Ve("error",n),Ve("load",n);var f=!1,y=!1,v;for(v in s)if(s.hasOwnProperty(v)){var T=s[v];if(T!=null)switch(v){case"src":f=!0;break;case"srcSet":y=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(o(137,i));default:rt(n,i,v,T,s,null)}}y&&rt(n,i,"srcSet",s.srcSet,s,null),f&&rt(n,i,"src",s.src,s,null);return;case"input":Ve("invalid",n);var M=v=T=y=null,P=null,F=null;for(f in s)if(s.hasOwnProperty(f)){var oe=s[f];if(oe!=null)switch(f){case"name":y=oe;break;case"type":T=oe;break;case"checked":P=oe;break;case"defaultChecked":F=oe;break;case"value":v=oe;break;case"defaultValue":M=oe;break;case"children":case"dangerouslySetInnerHTML":if(oe!=null)throw Error(o(137,i));break;default:rt(n,i,f,oe,s,null)}}Xy(n,v,M,P,F,T,y,!1),Ms(n);return;case"select":Ve("invalid",n),f=T=v=null;for(y in s)if(s.hasOwnProperty(y)&&(M=s[y],M!=null))switch(y){case"value":v=M;break;case"defaultValue":T=M;break;case"multiple":f=M;default:rt(n,i,y,M,s,null)}i=v,s=T,n.multiple=!!f,i!=null?xo(n,!!f,i,!1):s!=null&&xo(n,!!f,s,!0);return;case"textarea":Ve("invalid",n),v=y=f=null;for(T in s)if(s.hasOwnProperty(T)&&(M=s[T],M!=null))switch(T){case"value":f=M;break;case"defaultValue":y=M;break;case"children":v=M;break;case"dangerouslySetInnerHTML":if(M!=null)throw Error(o(91));break;default:rt(n,i,T,M,s,null)}Zy(n,f,y,v),Ms(n);return;case"option":for(P in s)if(s.hasOwnProperty(P)&&(f=s[P],f!=null))switch(P){case"selected":n.selected=f&&typeof f!="function"&&typeof f!="symbol";break;default:rt(n,i,P,f,s,null)}return;case"dialog":Ve("beforetoggle",n),Ve("toggle",n),Ve("cancel",n),Ve("close",n);break;case"iframe":case"object":Ve("load",n);break;case"video":case"audio":for(f=0;f<bl.length;f++)Ve(bl[f],n);break;case"image":Ve("error",n),Ve("load",n);break;case"details":Ve("toggle",n);break;case"embed":case"source":case"link":Ve("error",n),Ve("load",n);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(F in s)if(s.hasOwnProperty(F)&&(f=s[F],f!=null))switch(F){case"children":case"dangerouslySetInnerHTML":throw Error(o(137,i));default:rt(n,i,F,f,s,null)}return;default:if(Of(i)){for(oe in s)s.hasOwnProperty(oe)&&(f=s[oe],f!==void 0&&fp(n,i,oe,f,s,void 0));return}}for(M in s)s.hasOwnProperty(M)&&(f=s[M],f!=null&&rt(n,i,M,f,s,null))}a(zt,"setInitialProperties");function LA(n,i,s,f){switch(i){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var y=null,v=null,T=null,M=null,P=null,F=null,oe=null;for(V in s){var ue=s[V];if(s.hasOwnProperty(V)&&ue!=null)switch(V){case"checked":break;case"value":break;case"defaultValue":P=ue;default:f.hasOwnProperty(V)||rt(n,i,V,null,f,ue)}}for(var $ in f){var V=f[$];if(ue=s[$],f.hasOwnProperty($)&&(V!=null||ue!=null))switch($){case"type":v=V;break;case"name":y=V;break;case"checked":F=V;break;case"defaultChecked":oe=V;break;case"value":T=V;break;case"defaultValue":M=V;break;case"children":case"dangerouslySetInnerHTML":if(V!=null)throw Error(o(137,i));break;default:V!==ue&&rt(n,i,$,V,f,ue)}}Tf(n,T,M,P,F,oe,v,y);return;case"select":V=T=M=$=null;for(v in s)if(P=s[v],s.hasOwnProperty(v)&&P!=null)switch(v){case"value":break;case"multiple":V=P;default:f.hasOwnProperty(v)||rt(n,i,v,null,f,P)}for(y in f)if(v=f[y],P=s[y],f.hasOwnProperty(y)&&(v!=null||P!=null))switch(y){case"value":$=v;break;case"defaultValue":M=v;break;case"multiple":T=v;default:v!==P&&rt(n,i,y,v,f,P)}i=M,s=T,f=V,$!=null?xo(n,!!s,$,!1):!!f!=!!s&&(i!=null?xo(n,!!s,i,!0):xo(n,!!s,s?[]:"",!1));return;case"textarea":V=$=null;for(M in s)if(y=s[M],s.hasOwnProperty(M)&&y!=null&&!f.hasOwnProperty(M))switch(M){case"value":break;case"children":break;default:rt(n,i,M,null,f,y)}for(T in f)if(y=f[T],v=s[T],f.hasOwnProperty(T)&&(y!=null||v!=null))switch(T){case"value":$=y;break;case"defaultValue":V=y;break;case"children":break;case"dangerouslySetInnerHTML":if(y!=null)throw Error(o(91));break;default:y!==v&&rt(n,i,T,y,f,v)}Wy(n,$,V);return;case"option":for(var ke in s)if($=s[ke],s.hasOwnProperty(ke)&&$!=null&&!f.hasOwnProperty(ke))switch(ke){case"selected":n.selected=!1;break;default:rt(n,i,ke,null,f,$)}for(P in f)if($=f[P],V=s[P],f.hasOwnProperty(P)&&$!==V&&($!=null||V!=null))switch(P){case"selected":n.selected=$&&typeof $!="function"&&typeof $!="symbol";break;default:rt(n,i,P,$,f,V)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var Ae in s)$=s[Ae],s.hasOwnProperty(Ae)&&$!=null&&!f.hasOwnProperty(Ae)&&rt(n,i,Ae,null,f,$);for(F in f)if($=f[F],V=s[F],f.hasOwnProperty(F)&&$!==V&&($!=null||V!=null))switch(F){case"children":case"dangerouslySetInnerHTML":if($!=null)throw Error(o(137,i));break;default:rt(n,i,F,$,f,V)}return;default:if(Of(i)){for(var it in s)$=s[it],s.hasOwnProperty(it)&&$!==void 0&&!f.hasOwnProperty(it)&&fp(n,i,it,void 0,f,$);for(oe in f)$=f[oe],V=s[oe],!f.hasOwnProperty(oe)||$===V||$===void 0&&V===void 0||fp(n,i,oe,$,f,V);return}}for(var B in s)$=s[B],s.hasOwnProperty(B)&&$!=null&&!f.hasOwnProperty(B)&&rt(n,i,B,null,f,$);for(ue in f)$=f[ue],V=s[ue],!f.hasOwnProperty(ue)||$===V||$==null&&V==null||rt(n,i,ue,$,f,V)}a(LA,"updateProperties");var dp=null,pp=null;function Tu(n){return n.nodeType===9?n:n.ownerDocument}a(Tu,"getOwnerDocumentFromRootContainer");function Jb(n){switch(n){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}a(Jb,"getOwnHostContext");function e0(n,i){if(n===0)switch(i){case"svg":return 1;case"math":return 2;default:return 0}return n===1&&i==="foreignObject"?0:n}a(e0,"getChildHostContextProd");function hp(n,i){return n==="textarea"||n==="noscript"||typeof i.children=="string"||typeof i.children=="number"||typeof i.children=="bigint"||typeof i.dangerouslySetInnerHTML=="object"&&i.dangerouslySetInnerHTML!==null&&i.dangerouslySetInnerHTML.__html!=null}a(hp,"shouldSetTextContent");var mp=null;function zA(){var n=window.event;return n&&n.type==="popstate"?n===mp?!1:(mp=n,!0):(mp=null,!1)}a(zA,"shouldAttemptEagerTransition");var t0=typeof setTimeout=="function"?setTimeout:void 0,IA=typeof clearTimeout=="function"?clearTimeout:void 0,n0=typeof Promise=="function"?Promise:void 0,jA=typeof queueMicrotask=="function"?queueMicrotask:typeof n0<"u"?function(n){return n0.resolve(null).then(n).catch(UA)}:t0;function UA(n){setTimeout(function(){throw n})}a(UA,"handleErrorInNextTick");function fi(n){return n==="head"}a(fi,"isSingletonScope");function r0(n,i){var s=i,f=0,y=0;do{var v=s.nextSibling;if(n.removeChild(s),v&&v.nodeType===8)if(s=v.data,s==="/$"){if(0<f&&8>f){s=f;var T=n.ownerDocument;if(s&1&&xl(T.documentElement),s&2&&xl(T.body),s&4)for(s=T.head,xl(s),T=s.firstChild;T;){var M=T.nextSibling,P=T.nodeName;T[za]||P==="SCRIPT"||P==="STYLE"||P==="LINK"&&T.rel.toLowerCase()==="stylesheet"||s.removeChild(T),T=M}}if(y===0){n.removeChild(v),_l(i);return}y--}else s==="$"||s==="$?"||s==="$!"?y++:f=s.charCodeAt(0)-48;else f=0;s=v}while(s);_l(i)}a(r0,"clearSuspenseBoundary");function yp(n){var i=n.firstChild;for(i&&i.nodeType===10&&(i=i.nextSibling);i;){var s=i;switch(i=i.nextSibling,s.nodeName){case"HTML":case"HEAD":case"BODY":yp(s),xf(s);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(s.rel.toLowerCase()==="stylesheet")continue}n.removeChild(s)}}a(yp,"clearContainerSparingly");function BA(n,i,s,f){for(;n.nodeType===1;){var y=s;if(n.nodeName.toLowerCase()!==i.toLowerCase()){if(!f&&(n.nodeName!=="INPUT"||n.type!=="hidden"))break}else if(f){if(!n[za])switch(i){case"meta":if(!n.hasAttribute("itemprop"))break;return n;case"link":if(v=n.getAttribute("rel"),v==="stylesheet"&&n.hasAttribute("data-precedence"))break;if(v!==y.rel||n.getAttribute("href")!==(y.href==null||y.href===""?null:y.href)||n.getAttribute("crossorigin")!==(y.crossOrigin==null?null:y.crossOrigin)||n.getAttribute("title")!==(y.title==null?null:y.title))break;return n;case"style":if(n.hasAttribute("data-precedence"))break;return n;case"script":if(v=n.getAttribute("src"),(v!==(y.src==null?null:y.src)||n.getAttribute("type")!==(y.type==null?null:y.type)||n.getAttribute("crossorigin")!==(y.crossOrigin==null?null:y.crossOrigin))&&v&&n.hasAttribute("async")&&!n.hasAttribute("itemprop"))break;return n;default:return n}}else if(i==="input"&&n.type==="hidden"){var v=y.name==null?null:""+y.name;if(y.type==="hidden"&&n.getAttribute("name")===v)return n}else return n;if(n=Hn(n.nextSibling),n===null)break}return null}a(BA,"canHydrateInstance");function HA(n,i,s){if(i==="")return null;for(;n.nodeType!==3;)if((n.nodeType!==1||n.nodeName!=="INPUT"||n.type!=="hidden")&&!s||(n=Hn(n.nextSibling),n===null))return null;return n}a(HA,"canHydrateTextInstance");function gp(n){return n.data==="$!"||n.data==="$?"&&n.ownerDocument.readyState==="complete"}a(gp,"isSuspenseInstanceFallback");function FA(n,i){var s=n.ownerDocument;if(n.data!=="$?"||s.readyState==="complete")i();else{var f=a(function(){i(),s.removeEventListener("DOMContentLoaded",f)},"listener");s.addEventListener("DOMContentLoaded",f),n._reactRetry=f}}a(FA,"registerSuspenseInstanceRetry");function Hn(n){for(;n!=null;n=n.nextSibling){var i=n.nodeType;if(i===1||i===3)break;if(i===8){if(i=n.data,i==="$"||i==="$!"||i==="$?"||i==="F!"||i==="F")break;if(i==="/$")return null}}return n}a(Hn,"getNextHydratable");var vp=null;function i0(n){n=n.previousSibling;for(var i=0;n;){if(n.nodeType===8){var s=n.data;if(s==="$"||s==="$!"||s==="$?"){if(i===0)return n;i--}else s==="/$"&&i++}n=n.previousSibling}return null}a(i0,"getParentSuspenseInstance");function o0(n,i,s){switch(i=Tu(s),n){case"html":if(n=i.documentElement,!n)throw Error(o(452));return n;case"head":if(n=i.head,!n)throw Error(o(453));return n;case"body":if(n=i.body,!n)throw Error(o(454));return n;default:throw Error(o(451))}}a(o0,"resolveSingletonInstance");function xl(n){for(var i=n.attributes;i.length;)n.removeAttributeNode(i[0]);xf(n)}a(xl,"releaseSingletonInstance");var Nn=new Map,a0=new Set;function Ru(n){return typeof n.getRootNode=="function"?n.getRootNode():n.nodeType===9?n:n.ownerDocument}a(Ru,"getHoistableRoot");var jr=W.d;W.d={f:qA,r:$A,D:VA,C:GA,L:YA,m:KA,X:XA,S:QA,M:WA};function qA(){var n=jr.f(),i=gu();return n||i}a(qA,"flushSyncWork");function $A(n){var i=go(n);i!==null&&i.tag===5&&i.type==="form"?Rv(i):jr.r(n)}a($A,"requestFormReset");var Wo=typeof document>"u"?null:document;function l0(n,i,s){var f=Wo;if(f&&typeof i=="string"&&i){var y=Cn(i);y='link[rel="'+n+'"][href="'+y+'"]',typeof s=="string"&&(y+='[crossorigin="'+s+'"]'),a0.has(y)||(a0.add(y),n={rel:n,crossOrigin:s,href:i},f.querySelector(y)===null&&(i=f.createElement("link"),zt(i,"link",n),Mt(i),f.head.appendChild(i)))}}a(l0,"preconnectAs");function VA(n){jr.D(n),l0("dns-prefetch",n,null)}a(VA,"prefetchDNS");function GA(n,i){jr.C(n,i),l0("preconnect",n,i)}a(GA,"preconnect");function YA(n,i,s){jr.L(n,i,s);var f=Wo;if(f&&n&&i){var y='link[rel="preload"][as="'+Cn(i)+'"]';i==="image"&&s&&s.imageSrcSet?(y+='[imagesrcset="'+Cn(s.imageSrcSet)+'"]',typeof s.imageSizes=="string"&&(y+='[imagesizes="'+Cn(s.imageSizes)+'"]')):y+='[href="'+Cn(n)+'"]';var v=y;switch(i){case"style":v=Zo(n);break;case"script":v=Jo(n)}Nn.has(v)||(n=m({rel:"preload",href:i==="image"&&s&&s.imageSrcSet?void 0:n,as:i},s),Nn.set(v,n),f.querySelector(y)!==null||i==="style"&&f.querySelector(wl(v))||i==="script"&&f.querySelector(El(v))||(i=f.createElement("link"),zt(i,"link",n),Mt(i),f.head.appendChild(i)))}}a(YA,"preload");function KA(n,i){jr.m(n,i);var s=Wo;if(s&&n){var f=i&&typeof i.as=="string"?i.as:"script",y='link[rel="modulepreload"][as="'+Cn(f)+'"][href="'+Cn(n)+'"]',v=y;switch(f){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":v=Jo(n)}if(!Nn.has(v)&&(n=m({rel:"modulepreload",href:n},i),Nn.set(v,n),s.querySelector(y)===null)){switch(f){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(s.querySelector(El(v)))return}f=s.createElement("link"),zt(f,"link",n),Mt(f),s.head.appendChild(f)}}}a(KA,"preloadModule");function QA(n,i,s){jr.S(n,i,s);var f=Wo;if(f&&n){var y=vo(f).hoistableStyles,v=Zo(n);i=i||"default";var T=y.get(v);if(!T){var M={loading:0,preload:null};if(T=f.querySelector(wl(v)))M.loading=5;else{n=m({rel:"stylesheet",href:n,"data-precedence":i},s),(s=Nn.get(v))&&bp(n,s);var P=T=f.createElement("link");Mt(P),zt(P,"link",n),P._p=new Promise(function(F,oe){P.onload=F,P.onerror=oe}),P.addEventListener("load",function(){M.loading|=1}),P.addEventListener("error",function(){M.loading|=2}),M.loading|=4,Ou(T,i,f)}T={type:"stylesheet",instance:T,count:1,state:M},y.set(v,T)}}}a(QA,"preinitStyle");function XA(n,i){jr.X(n,i);var s=Wo;if(s&&n){var f=vo(s).hoistableScripts,y=Jo(n),v=f.get(y);v||(v=s.querySelector(El(y)),v||(n=m({src:n,async:!0},i),(i=Nn.get(y))&&Sp(n,i),v=s.createElement("script"),Mt(v),zt(v,"link",n),s.head.appendChild(v)),v={type:"script",instance:v,count:1,state:null},f.set(y,v))}}a(XA,"preinitScript");function WA(n,i){jr.M(n,i);var s=Wo;if(s&&n){var f=vo(s).hoistableScripts,y=Jo(n),v=f.get(y);v||(v=s.querySelector(El(y)),v||(n=m({src:n,async:!0,type:"module"},i),(i=Nn.get(y))&&Sp(n,i),v=s.createElement("script"),Mt(v),zt(v,"link",n),s.head.appendChild(v)),v={type:"script",instance:v,count:1,state:null},f.set(y,v))}}a(WA,"preinitModuleScript");function s0(n,i,s,f){var y=(y=ae.current)?Ru(y):null;if(!y)throw Error(o(446));switch(n){case"meta":case"title":return null;case"style":return typeof s.precedence=="string"&&typeof s.href=="string"?(i=Zo(s.href),s=vo(y).hoistableStyles,f=s.get(i),f||(f={type:"style",instance:null,count:0,state:null},s.set(i,f)),f):{type:"void",instance:null,count:0,state:null};case"link":if(s.rel==="stylesheet"&&typeof s.href=="string"&&typeof s.precedence=="string"){n=Zo(s.href);var v=vo(y).hoistableStyles,T=v.get(n);if(T||(y=y.ownerDocument||y,T={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},v.set(n,T),(v=y.querySelector(wl(n)))&&!v._p&&(T.instance=v,T.state.loading=5),Nn.has(n)||(s={rel:"preload",as:"style",href:s.href,crossOrigin:s.crossOrigin,integrity:s.integrity,media:s.media,hrefLang:s.hrefLang,referrerPolicy:s.referrerPolicy},Nn.set(n,s),v||ZA(y,n,s,T.state))),i&&f===null)throw Error(o(528,""));return T}if(i&&f!==null)throw Error(o(529,""));return null;case"script":return i=s.async,s=s.src,typeof s=="string"&&i&&typeof i!="function"&&typeof i!="symbol"?(i=Jo(s),s=vo(y).hoistableScripts,f=s.get(i),f||(f={type:"script",instance:null,count:0,state:null},s.set(i,f)),f):{type:"void",instance:null,count:0,state:null};default:throw Error(o(444,n))}}a(s0,"getResource");function Zo(n){return'href="'+Cn(n)+'"'}a(Zo,"getStyleKey");function wl(n){return'link[rel="stylesheet"]['+n+"]"}a(wl,"getStylesheetSelectorFromKey");function u0(n){return m({},n,{"data-precedence":n.precedence,precedence:null})}a(u0,"stylesheetPropsFromRawProps");function ZA(n,i,s,f){n.querySelector('link[rel="preload"][as="style"]['+i+"]")?f.loading=1:(i=n.createElement("link"),f.preload=i,i.addEventListener("load",function(){return f.loading|=1}),i.addEventListener("error",function(){return f.loading|=2}),zt(i,"link",s),Mt(i),n.head.appendChild(i))}a(ZA,"preloadStylesheet");function Jo(n){return'[src="'+Cn(n)+'"]'}a(Jo,"getScriptKey");function El(n){return"script[async]"+n}a(El,"getScriptSelectorFromKey");function c0(n,i,s){if(i.count++,i.instance===null)switch(i.type){case"style":var f=n.querySelector('style[data-href~="'+Cn(s.href)+'"]');if(f)return i.instance=f,Mt(f),f;var y=m({},s,{"data-href":s.href,"data-precedence":s.precedence,href:null,precedence:null});return f=(n.ownerDocument||n).createElement("style"),Mt(f),zt(f,"style",y),Ou(f,s.precedence,n),i.instance=f;case"stylesheet":y=Zo(s.href);var v=n.querySelector(wl(y));if(v)return i.state.loading|=4,i.instance=v,Mt(v),v;f=u0(s),(y=Nn.get(y))&&bp(f,y),v=(n.ownerDocument||n).createElement("link"),Mt(v);var T=v;return T._p=new Promise(function(M,P){T.onload=M,T.onerror=P}),zt(v,"link",f),i.state.loading|=4,Ou(v,s.precedence,n),i.instance=v;case"script":return v=Jo(s.src),(y=n.querySelector(El(v)))?(i.instance=y,Mt(y),y):(f=s,(y=Nn.get(v))&&(f=m({},s),Sp(f,y)),n=n.ownerDocument||n,y=n.createElement("script"),Mt(y),zt(y,"link",f),n.head.appendChild(y),i.instance=y);case"void":return null;default:throw Error(o(443,i.type))}else i.type==="stylesheet"&&(i.state.loading&4)===0&&(f=i.instance,i.state.loading|=4,Ou(f,s.precedence,n));return i.instance}a(c0,"acquireResource");function Ou(n,i,s){for(var f=s.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),y=f.length?f[f.length-1]:null,v=y,T=0;T<f.length;T++){var M=f[T];if(M.dataset.precedence===i)v=M;else if(v!==y)break}v?v.parentNode.insertBefore(n,v.nextSibling):(i=s.nodeType===9?s.head:s,i.insertBefore(n,i.firstChild))}a(Ou,"insertStylesheet");function bp(n,i){n.crossOrigin==null&&(n.crossOrigin=i.crossOrigin),n.referrerPolicy==null&&(n.referrerPolicy=i.referrerPolicy),n.title==null&&(n.title=i.title)}a(bp,"adoptPreloadPropsForStylesheet");function Sp(n,i){n.crossOrigin==null&&(n.crossOrigin=i.crossOrigin),n.referrerPolicy==null&&(n.referrerPolicy=i.referrerPolicy),n.integrity==null&&(n.integrity=i.integrity)}a(Sp,"adoptPreloadPropsForScript");var Au=null;function f0(n,i,s){if(Au===null){var f=new Map,y=Au=new Map;y.set(s,f)}else y=Au,f=y.get(s),f||(f=new Map,y.set(s,f));if(f.has(n))return f;for(f.set(n,null),s=s.getElementsByTagName(n),y=0;y<s.length;y++){var v=s[y];if(!(v[za]||v[jt]||n==="link"&&v.getAttribute("rel")==="stylesheet")&&v.namespaceURI!=="http://www.w3.org/2000/svg"){var T=v.getAttribute(i)||"";T=n+T;var M=f.get(T);M?M.push(v):f.set(T,[v])}}return f}a(f0,"getHydratableHoistableCache");function d0(n,i,s){n=n.ownerDocument||n,n.head.insertBefore(s,i==="title"?n.querySelector("head > title"):null)}a(d0,"mountHoistable");function JA(n,i,s){if(s===1||i.itemProp!=null)return!1;switch(n){case"meta":case"title":return!0;case"style":if(typeof i.precedence!="string"||typeof i.href!="string"||i.href==="")break;return!0;case"link":if(typeof i.rel!="string"||typeof i.href!="string"||i.href===""||i.onLoad||i.onError)break;switch(i.rel){case"stylesheet":return n=i.disabled,typeof i.precedence=="string"&&n==null;default:return!0}case"script":if(i.async&&typeof i.async!="function"&&typeof i.async!="symbol"&&!i.onLoad&&!i.onError&&i.src&&typeof i.src=="string")return!0}return!1}a(JA,"isHostHoistableType");function p0(n){return!(n.type==="stylesheet"&&(n.state.loading&3)===0)}a(p0,"preloadResource");var Cl=null;function e_(){}a(e_,"noop");function t_(n,i,s){if(Cl===null)throw Error(o(475));var f=Cl;if(i.type==="stylesheet"&&(typeof s.media!="string"||matchMedia(s.media).matches!==!1)&&(i.state.loading&4)===0){if(i.instance===null){var y=Zo(s.href),v=n.querySelector(wl(y));if(v){n=v._p,n!==null&&typeof n=="object"&&typeof n.then=="function"&&(f.count++,f=_u.bind(f),n.then(f,f)),i.state.loading|=4,i.instance=v,Mt(v);return}v=n.ownerDocument||n,s=u0(s),(y=Nn.get(y))&&bp(s,y),v=v.createElement("link"),Mt(v);var T=v;T._p=new Promise(function(M,P){T.onload=M,T.onerror=P}),zt(v,"link",s),i.instance=v}f.stylesheets===null&&(f.stylesheets=new Map),f.stylesheets.set(i,n),(n=i.state.preload)&&(i.state.loading&3)===0&&(f.count++,i=_u.bind(f),n.addEventListener("load",i),n.addEventListener("error",i))}}a(t_,"suspendResource");function n_(){if(Cl===null)throw Error(o(475));var n=Cl;return n.stylesheets&&n.count===0&&xp(n,n.stylesheets),0<n.count?function(i){var s=setTimeout(function(){if(n.stylesheets&&xp(n,n.stylesheets),n.unsuspend){var f=n.unsuspend;n.unsuspend=null,f()}},6e4);return n.unsuspend=i,function(){n.unsuspend=null,clearTimeout(s)}}:null}a(n_,"waitForCommitToBeReady");function _u(){if(this.count--,this.count===0){if(this.stylesheets)xp(this,this.stylesheets);else if(this.unsuspend){var n=this.unsuspend;this.unsuspend=null,n()}}}a(_u,"onUnsuspend");var Mu=null;function xp(n,i){n.stylesheets=null,n.unsuspend!==null&&(n.count++,Mu=new Map,i.forEach(r_,n),Mu=null,_u.call(n))}a(xp,"insertSuspendedStylesheets");function r_(n,i){if(!(i.state.loading&4)){var s=Mu.get(n);if(s)var f=s.get(null);else{s=new Map,Mu.set(n,s);for(var y=n.querySelectorAll("link[data-precedence],style[data-precedence]"),v=0;v<y.length;v++){var T=y[v];(T.nodeName==="LINK"||T.getAttribute("media")!=="not all")&&(s.set(T.dataset.precedence,T),f=T)}f&&s.set(null,f)}y=i.instance,T=y.getAttribute("data-precedence"),v=s.get(T)||f,v===f&&s.set(null,y),s.set(T,y),this.count++,f=_u.bind(this),y.addEventListener("load",f),y.addEventListener("error",f),v?v.parentNode.insertBefore(y,v.nextSibling):(n=n.nodeType===9?n.head:n,n.insertBefore(y,n.firstChild)),i.state.loading|=4}}a(r_,"insertStylesheetIntoRoot");var Tl={$$typeof:N,Provider:null,Consumer:null,_currentValue:ne,_currentValue2:ne,_threadCount:0};function i_(n,i,s,f,y,v,T,M){this.tag=1,this.containerInfo=n,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=gf(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=gf(0),this.hiddenUpdates=gf(null),this.identifierPrefix=f,this.onUncaughtError=y,this.onCaughtError=v,this.onRecoverableError=T,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=M,this.incompleteTransitions=new Map}a(i_,"FiberRootNode");function h0(n,i,s,f,y,v,T,M,P,F,oe,ue){return n=new i_(n,i,s,T,M,P,F,ue),i=1,v===!0&&(i|=24),v=cn(3,null,null,i),n.current=v,v.stateNode=n,i=nd(),i.refCount++,n.pooledCache=i,i.refCount++,v.memoizedState={element:f,isDehydrated:s,cache:i},ad(v),n}a(h0,"createFiberRoot");function m0(n){return n?(n=Mo,n):Mo}a(m0,"getContextForSubtree");function y0(n,i,s,f,y,v){y=m0(y),f.context===null?f.context=y:f.pendingContext=y,f=Zr(i),f.payload={element:s},v=v===void 0?null:v,v!==null&&(f.callback=v),s=Jr(n,f,i),s!==null&&(mn(s,n,i),tl(s,n,i))}a(y0,"updateContainerImpl");function g0(n,i){if(n=n.memoizedState,n!==null&&n.dehydrated!==null){var s=n.retryLane;n.retryLane=s!==0&&s<i?s:i}}a(g0,"markRetryLaneImpl");function wp(n,i){g0(n,i),(n=n.alternate)&&g0(n,i)}a(wp,"markRetryLaneIfNotHydrated");function v0(n){if(n.tag===13){var i=_o(n,67108864);i!==null&&mn(i,n,67108864),wp(n,67108864)}}a(v0,"attemptContinuousHydration");var Nu=!0;function o_(n,i,s,f){var y=I.T;I.T=null;var v=W.p;try{W.p=2,Ep(n,i,s,f)}finally{W.p=v,I.T=y}}a(o_,"dispatchDiscreteEvent");function a_(n,i,s,f){var y=I.T;I.T=null;var v=W.p;try{W.p=8,Ep(n,i,s,f)}finally{W.p=v,I.T=y}}a(a_,"dispatchContinuousEvent");function Ep(n,i,s,f){if(Nu){var y=Cp(f);if(y===null)cp(n,i,f,ku,s),S0(n,f);else if(s_(y,n,i,s,f))f.stopPropagation();else if(S0(n,f),i&4&&-1<l_.indexOf(n)){for(;y!==null;){var v=go(y);if(v!==null)switch(v.tag){case 3:if(v=v.stateNode,v.current.memoizedState.isDehydrated){var T=sn(v.pendingLanes);if(T!==0){var M=v;for(M.pendingLanes|=2,M.entangledLanes|=2;T;){var P=1<<31-Ne(T);M.entanglements[1]|=P,T&=~P}ir(v),(et&6)===0&&(mu=St()+500,vl(0))}}break;case 13:M=_o(v,2),M!==null&&mn(M,v,2),gu(),wp(v,2)}if(v=Cp(f),v===null&&cp(n,i,f,ku,s),v===y)break;y=v}y!==null&&f.stopPropagation()}else cp(n,i,f,null,s)}}a(Ep,"dispatchEvent");function Cp(n){return n=_f(n),Tp(n)}a(Cp,"findInstanceBlockingEvent");var ku=null;function Tp(n){if(ku=null,n=yo(n),n!==null){var i=u(n);if(i===null)n=null;else{var s=i.tag;if(s===13){if(n=c(i),n!==null)return n;n=null}else if(s===3){if(i.stateNode.current.memoizedState.isDehydrated)return i.tag===3?i.stateNode.containerInfo:null;n=null}else i!==n&&(n=null)}}return ku=n,null}a(Tp,"findInstanceBlockingTarget");function b0(n){switch(n){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(At()){case Yr:return 2;case Mi:return 8;case xn:case po:return 32;case ho:return 268435456;default:return 32}default:return 32}}a(b0,"getEventPriority");var Rp=!1,di=null,pi=null,hi=null,Rl=new Map,Ol=new Map,mi=[],l_="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function S0(n,i){switch(n){case"focusin":case"focusout":di=null;break;case"dragenter":case"dragleave":pi=null;break;case"mouseover":case"mouseout":hi=null;break;case"pointerover":case"pointerout":Rl.delete(i.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ol.delete(i.pointerId)}}a(S0,"clearIfContinuousEvent");function Al(n,i,s,f,y,v){return n===null||n.nativeEvent!==v?(n={blockedOn:i,domEventName:s,eventSystemFlags:f,nativeEvent:v,targetContainers:[y]},i!==null&&(i=go(i),i!==null&&v0(i)),n):(n.eventSystemFlags|=f,i=n.targetContainers,y!==null&&i.indexOf(y)===-1&&i.push(y),n)}a(Al,"accumulateOrCreateContinuousQueuedReplayableEvent");function s_(n,i,s,f,y){switch(i){case"focusin":return di=Al(di,n,i,s,f,y),!0;case"dragenter":return pi=Al(pi,n,i,s,f,y),!0;case"mouseover":return hi=Al(hi,n,i,s,f,y),!0;case"pointerover":var v=y.pointerId;return Rl.set(v,Al(Rl.get(v)||null,n,i,s,f,y)),!0;case"gotpointercapture":return v=y.pointerId,Ol.set(v,Al(Ol.get(v)||null,n,i,s,f,y)),!0}return!1}a(s_,"queueIfContinuousEvent");function x0(n){var i=yo(n.target);if(i!==null){var s=u(i);if(s!==null){if(i=s.tag,i===13){if(i=c(s),i!==null){n.blockedOn=i,tO(n.priority,function(){if(s.tag===13){var f=hn();f=vf(f);var y=_o(s,f);y!==null&&mn(y,s,f),wp(s,f)}});return}}else if(i===3&&s.stateNode.current.memoizedState.isDehydrated){n.blockedOn=s.tag===3?s.stateNode.containerInfo:null;return}}}n.blockedOn=null}a(x0,"attemptExplicitHydrationTarget");function Du(n){if(n.blockedOn!==null)return!1;for(var i=n.targetContainers;0<i.length;){var s=Cp(n.nativeEvent);if(s===null){s=n.nativeEvent;var f=new s.constructor(s.type,s);Af=f,s.target.dispatchEvent(f),Af=null}else return i=go(s),i!==null&&v0(i),n.blockedOn=s,!1;i.shift()}return!0}a(Du,"attemptReplayContinuousQueuedEvent");function w0(n,i,s){Du(n)&&s.delete(i)}a(w0,"attemptReplayContinuousQueuedEventInMap");function u_(){Rp=!1,di!==null&&Du(di)&&(di=null),pi!==null&&Du(pi)&&(pi=null),hi!==null&&Du(hi)&&(hi=null),Rl.forEach(w0),Ol.forEach(w0)}a(u_,"replayUnblockedEvents");function Pu(n,i){n.blockedOn===i&&(n.blockedOn=null,Rp||(Rp=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,u_)))}a(Pu,"scheduleCallbackIfUnblocked");var Lu=null;function E0(n){Lu!==n&&(Lu=n,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){Lu===n&&(Lu=null);for(var i=0;i<n.length;i+=3){var s=n[i],f=n[i+1],y=n[i+2];if(typeof f!="function"){if(Tp(f||s)===null)continue;break}var v=go(s);v!==null&&(n.splice(i,3),i-=3,Td(v,{pending:!0,data:y,method:s.method,action:f},f,y))}}))}a(E0,"scheduleReplayQueueIfNeeded");function _l(n){function i(P){return Pu(P,n)}a(i,"unblock"),di!==null&&Pu(di,n),pi!==null&&Pu(pi,n),hi!==null&&Pu(hi,n),Rl.forEach(i),Ol.forEach(i);for(var s=0;s<mi.length;s++){var f=mi[s];f.blockedOn===n&&(f.blockedOn=null)}for(;0<mi.length&&(s=mi[0],s.blockedOn===null);)x0(s),s.blockedOn===null&&mi.shift();if(s=(n.ownerDocument||n).$$reactFormReplay,s!=null)for(f=0;f<s.length;f+=3){var y=s[f],v=s[f+1],T=y[Xt]||null;if(typeof v=="function")T||E0(s);else if(T){var M=null;if(v&&v.hasAttribute("formAction")){if(y=v,T=v[Xt]||null)M=T.formAction;else if(Tp(y)!==null)continue}else M=T.action;typeof M=="function"?s[f+1]=M:(s.splice(f,3),f-=3),E0(s)}}}a(_l,"retryIfBlockedOn");function Op(n){this._internalRoot=n}a(Op,"ReactDOMRoot"),zu.prototype.render=Op.prototype.render=function(n){var i=this._internalRoot;if(i===null)throw Error(o(409));var s=i.current,f=hn();y0(s,f,n,i,null,null)},zu.prototype.unmount=Op.prototype.unmount=function(){var n=this._internalRoot;if(n!==null){this._internalRoot=null;var i=n.containerInfo;y0(n.current,2,null,n,null,null),gu(),i[mo]=null}};function zu(n){this._internalRoot=n}a(zu,"ReactDOMHydrationRoot"),zu.prototype.unstable_scheduleHydration=function(n){if(n){var i=By();n={blockedOn:null,target:n,priority:i};for(var s=0;s<mi.length&&i!==0&&i<mi[s].priority;s++);mi.splice(s,0,n),s===0&&x0(n)}};var C0=t.version;if(C0!=="19.1.1")throw Error(o(527,C0,"19.1.1"));W.findDOMNode=function(n){var i=n._reactInternals;if(i===void 0)throw typeof n.render=="function"?Error(o(188)):(n=Object.keys(n).join(","),Error(o(268,n)));return n=p(i),n=n!==null?h(n):null,n=n===null?null:n.stateNode,n};var c_={bundleType:0,version:"19.1.1",rendererPackageName:"react-dom",currentDispatcherRef:I,reconcilerVersion:"19.1.1"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Iu=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Iu.isDisabled&&Iu.supportsFiber)try{ie=Iu.inject(c_),pe=Iu}catch{}}return Nl.createRoot=function(n,i){if(!l(n))throw Error(o(299));var s=!1,f="",y=Bv,v=Hv,T=Fv,M=null;return i!=null&&(i.unstable_strictMode===!0&&(s=!0),i.identifierPrefix!==void 0&&(f=i.identifierPrefix),i.onUncaughtError!==void 0&&(y=i.onUncaughtError),i.onCaughtError!==void 0&&(v=i.onCaughtError),i.onRecoverableError!==void 0&&(T=i.onRecoverableError),i.unstable_transitionCallbacks!==void 0&&(M=i.unstable_transitionCallbacks)),i=h0(n,1,!1,null,null,s,f,y,v,T,M,null),n[mo]=i.current,up(n),new Op(i)},Nl.hydrateRoot=function(n,i,s){if(!l(n))throw Error(o(299));var f=!1,y="",v=Bv,T=Hv,M=Fv,P=null,F=null;return s!=null&&(s.unstable_strictMode===!0&&(f=!0),s.identifierPrefix!==void 0&&(y=s.identifierPrefix),s.onUncaughtError!==void 0&&(v=s.onUncaughtError),s.onCaughtError!==void 0&&(T=s.onCaughtError),s.onRecoverableError!==void 0&&(M=s.onRecoverableError),s.unstable_transitionCallbacks!==void 0&&(P=s.unstable_transitionCallbacks),s.formState!==void 0&&(F=s.formState)),i=h0(n,1,!0,i,s??null,f,y,v,T,M,P,F),i.context=m0(null),s=i.current,f=hn(),f=vf(f),y=Zr(f),y.callback=null,Jr(s,y,f),s=f,i.current.lanes=s,La(i,s),ir(i),n[mo]=i.current,up(n),new zu(i)},Nl.version="19.1.1",Nl}a(S_,"requireReactDomClient_production");var P0;function x_(){if(P0)return Mp.exports;P0=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return a(e,"checkDCE"),e(),Mp.exports=S_(),Mp.exports}a(x_,"requireClient");var PU=x_();function L0(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}a(L0,"setRef");function _c(...e){return t=>{let r=!1;const o=e.map(l=>{const u=L0(l,t);return!r&&typeof u=="function"&&(r=!0),u});if(r)return()=>{for(let l=0;l<o.length;l++){const u=o[l];typeof u=="function"?u():L0(e[l],null)}}}}a(_c,"composeRefs");function ze(...e){return x.useCallback(_c(...e),e)}a(ze,"useComposedRefs");function Zi(e){const t=w_(e),r=x.forwardRef((o,l)=>{const{children:u,...c}=o,d=x.Children.toArray(u),p=d.find(E_);if(p){const h=p.props.children,m=d.map(g=>g===p?x.Children.count(h)>1?x.Children.only(null):x.isValidElement(h)?h.props.children:null:g);return k.jsx(t,{...c,ref:l,children:x.isValidElement(h)?x.cloneElement(h,void 0,m):null})}return k.jsx(t,{...c,ref:l,children:u})});return r.displayName=`${e}.Slot`,r}a(Zi,"createSlot");var LU=Zi("Slot");function w_(e){const t=x.forwardRef((r,o)=>{const{children:l,...u}=r;if(x.isValidElement(l)){const c=T_(l),d=C_(u,l.props);return l.type!==x.Fragment&&(d.ref=o?_c(o,c):c),x.cloneElement(l,d)}return x.Children.count(l)>1?x.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}a(w_,"createSlotClone");var rx=Symbol("radix.slottable");function ix(e){const t=a(({children:r})=>k.jsx(k.Fragment,{children:r}),"Slottable2");return t.displayName=`${e}.Slottable`,t.__radixId=rx,t}a(ix,"createSlottable");function E_(e){return x.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===rx}a(E_,"isSlottable");function C_(e,t){const r={...t};for(const o in t){const l=e[o],u=t[o];/^on[A-Z]/.test(o)?l&&u?r[o]=(...d)=>{const p=u(...d);return l(...d),p}:l&&(r[o]=l):o==="style"?r[o]={...l,...u}:o==="className"&&(r[o]=[l,u].filter(Boolean).join(" "))}return{...e,...r}}a(C_,"mergeProps");function T_(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}a(T_,"getElementRef$1");var pr=nx();const Gl=vr(pr);var R_=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Ee=R_.reduce((e,t)=>{const r=Zi(`Primitive.${t}`),o=x.forwardRef((l,u)=>{const{asChild:c,...d}=l,p=c?r:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),k.jsx(p,{...d,ref:u})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{});function hm(e,t){e&&pr.flushSync(()=>e.dispatchEvent(t))}a(hm,"dispatchDiscreteCustomEvent");var O_="Separator",z0="horizontal",A_=["horizontal","vertical"],ox=x.forwardRef((e,t)=>{const{decorative:r,orientation:o=z0,...l}=e,u=__(o)?o:z0,d=r?{role:"none"}:{"aria-orientation":u==="vertical"?u:void 0,role:"separator"};return k.jsx(Ee.div,{"data-orientation":u,...d,...l,ref:t})});ox.displayName=O_;function __(e){return A_.includes(e)}a(__,"isValidOrientation");var zU=ox;function M_(e,t){const r=x.createContext(t),o=a(u=>{const{children:c,...d}=u,p=x.useMemo(()=>d,Object.values(d));return k.jsx(r.Provider,{value:p,children:c})},"Provider");o.displayName=e+"Provider";function l(u){const c=x.useContext(r);if(c)return c;if(t!==void 0)return t;throw new Error(`\`${u}\` must be used within \`${e}\``)}return a(l,"useContext2"),[o,l]}a(M_,"createContext2");function Gt(e,t=[]){let r=[];function o(u,c){const d=x.createContext(c),p=r.length;r=[...r,c];const h=a(g=>{const{scope:b,children:S,...E}=g,w=b?.[e]?.[p]||d,R=x.useMemo(()=>E,Object.values(E));return k.jsx(w.Provider,{value:R,children:S})},"Provider");h.displayName=u+"Provider";function m(g,b){const S=b?.[e]?.[p]||d,E=x.useContext(S);if(E)return E;if(c!==void 0)return c;throw new Error(`\`${g}\` must be used within \`${u}\``)}return a(m,"useContext2"),[h,m]}a(o,"createContext3");const l=a(()=>{const u=r.map(c=>x.createContext(c));return a(function(d){const p=d?.[e]||u;return x.useMemo(()=>({[`__scope${e}`]:{...d,[e]:p}}),[d,p])},"useScope")},"createScope");return l.scopeName=e,[o,N_(l,...t)]}a(Gt,"createContextScope");function N_(...e){const t=e[0];if(e.length===1)return t;const r=a(()=>{const o=e.map(l=>({useScope:l(),scopeName:l.scopeName}));return a(function(u){const c=o.reduce((d,{useScope:p,scopeName:h})=>{const g=p(u)[`__scope${h}`];return{...d,...g}},{});return x.useMemo(()=>({[`__scope${t.scopeName}`]:c}),[c])},"useComposedScopes")},"createScope");return r.scopeName=t.scopeName,r}a(N_,"composeContextScopes");var bt=globalThis?.document?x.useLayoutEffect:()=>{},k_=pm[" useId ".trim().toString()]||(()=>{}),D_=0;function Ln(e){const[t,r]=x.useState(k_());return bt(()=>{r(o=>o??String(D_++))},[e]),e||(t?`radix-${t}`:"")}a(Ln,"useId$1");var P_=pm[" useInsertionEffect ".trim().toString()]||bt;function mr({prop:e,defaultProp:t,onChange:r=a(()=>{},"onChange"),caller:o}){const[l,u,c]=L_({defaultProp:t,onChange:r}),d=e!==void 0,p=d?e:l;{const m=x.useRef(e!==void 0);x.useEffect(()=>{const g=m.current;g!==d&&console.warn(`${o} is changing from ${g?"controlled":"uncontrolled"} to ${d?"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.`),m.current=d},[d,o])}const h=x.useCallback(m=>{if(d){const g=z_(m)?m(e):m;g!==e&&c.current?.(g)}else u(m)},[d,e,u,c]);return[p,h]}a(mr,"useControllableState");function L_({defaultProp:e,onChange:t}){const[r,o]=x.useState(e),l=x.useRef(r),u=x.useRef(t);return P_(()=>{u.current=t},[t]),x.useEffect(()=>{l.current!==r&&(u.current?.(r),l.current=r)},[r,l]),[r,o,u]}a(L_,"useUncontrolledState");function z_(e){return typeof e=="function"}a(z_,"isFunction$3");function vt(e){const t=x.useRef(e);return x.useEffect(()=>{t.current=e}),x.useMemo(()=>(...r)=>t.current?.(...r),[])}a(vt,"useCallbackRef$1");function I_(e,t=globalThis?.document){const r=vt(e);x.useEffect(()=>{const o=a(l=>{l.key==="Escape"&&r(l)},"handleKeyDown");return t.addEventListener("keydown",o,{capture:!0}),()=>t.removeEventListener("keydown",o,{capture:!0})},[r,t])}a(I_,"useEscapeKeydown");var j_="DismissableLayer",Eh="dismissableLayer.update",U_="dismissableLayer.pointerDownOutside",B_="dismissableLayer.focusOutside",I0,ax=x.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),wa=x.forwardRef((e,t)=>{const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:o,onPointerDownOutside:l,onFocusOutside:u,onInteractOutside:c,onDismiss:d,...p}=e,h=x.useContext(ax),[m,g]=x.useState(null),b=m?.ownerDocument??globalThis?.document,[,S]=x.useState({}),E=ze(t,j=>g(j)),w=Array.from(h.layers),[R]=[...h.layersWithOutsidePointerEventsDisabled].slice(-1),C=w.indexOf(R),O=m?w.indexOf(m):-1,N=h.layersWithOutsidePointerEventsDisabled.size>0,L=O>=C,z=F_(j=>{const G=j.target,Y=[...h.branches].some(J=>J.contains(G));!L||Y||(l?.(j),c?.(j),j.defaultPrevented||d?.())},b),D=q_(j=>{const G=j.target;[...h.branches].some(J=>J.contains(G))||(u?.(j),c?.(j),j.defaultPrevented||d?.())},b);return I_(j=>{O===h.layers.size-1&&(o?.(j),!j.defaultPrevented&&d&&(j.preventDefault(),d()))},b),x.useEffect(()=>{if(m)return r&&(h.layersWithOutsidePointerEventsDisabled.size===0&&(I0=b.body.style.pointerEvents,b.body.style.pointerEvents="none"),h.layersWithOutsidePointerEventsDisabled.add(m)),h.layers.add(m),j0(),()=>{r&&h.layersWithOutsidePointerEventsDisabled.size===1&&(b.body.style.pointerEvents=I0)}},[m,b,r,h]),x.useEffect(()=>()=>{m&&(h.layers.delete(m),h.layersWithOutsidePointerEventsDisabled.delete(m),j0())},[m,h]),x.useEffect(()=>{const j=a(()=>S({}),"handleUpdate");return document.addEventListener(Eh,j),()=>document.removeEventListener(Eh,j)},[]),k.jsx(Ee.div,{...p,ref:E,style:{pointerEvents:N?L?"auto":"none":void 0,...e.style},onFocusCapture:ge(e.onFocusCapture,D.onFocusCapture),onBlurCapture:ge(e.onBlurCapture,D.onBlurCapture),onPointerDownCapture:ge(e.onPointerDownCapture,z.onPointerDownCapture)})});wa.displayName=j_;var H_="DismissableLayerBranch",lx=x.forwardRef((e,t)=>{const r=x.useContext(ax),o=x.useRef(null),l=ze(t,o);return x.useEffect(()=>{const u=o.current;if(u)return r.branches.add(u),()=>{r.branches.delete(u)}},[r.branches]),k.jsx(Ee.div,{...e,ref:l})});lx.displayName=H_;function F_(e,t=globalThis?.document){const r=vt(e),o=x.useRef(!1),l=x.useRef(()=>{});return x.useEffect(()=>{const u=a(d=>{if(d.target&&!o.current){let p=a(function(){sx(U_,r,h,{discrete:!0})},"handleAndDispatchPointerDownOutsideEvent2");const h={originalEvent:d};d.pointerType==="touch"?(t.removeEventListener("click",l.current),l.current=p,t.addEventListener("click",l.current,{once:!0})):p()}else t.removeEventListener("click",l.current);o.current=!1},"handlePointerDown"),c=window.setTimeout(()=>{t.addEventListener("pointerdown",u)},0);return()=>{window.clearTimeout(c),t.removeEventListener("pointerdown",u),t.removeEventListener("click",l.current)}},[t,r]),{onPointerDownCapture:a(()=>o.current=!0,"onPointerDownCapture")}}a(F_,"usePointerDownOutside");function q_(e,t=globalThis?.document){const r=vt(e),o=x.useRef(!1);return x.useEffect(()=>{const l=a(u=>{u.target&&!o.current&&sx(B_,r,{originalEvent:u},{discrete:!1})},"handleFocus");return t.addEventListener("focusin",l),()=>t.removeEventListener("focusin",l)},[t,r]),{onFocusCapture:a(()=>o.current=!0,"onFocusCapture"),onBlurCapture:a(()=>o.current=!1,"onBlurCapture")}}a(q_,"useFocusOutside");function j0(){const e=new CustomEvent(Eh);document.dispatchEvent(e)}a(j0,"dispatchUpdate");function sx(e,t,r,{discrete:o}){const l=r.originalEvent.target,u=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&l.addEventListener(e,t,{once:!0}),o?hm(l,u):l.dispatchEvent(u)}a(sx,"handleAndDispatchCustomEvent$1");var $_=wa,V_=lx,Pp="focusScope.autoFocusOnMount",Lp="focusScope.autoFocusOnUnmount",U0={bubbles:!1,cancelable:!0},G_="FocusScope",Mc=x.forwardRef((e,t)=>{const{loop:r=!1,trapped:o=!1,onMountAutoFocus:l,onUnmountAutoFocus:u,...c}=e,[d,p]=x.useState(null),h=vt(l),m=vt(u),g=x.useRef(null),b=ze(t,w=>p(w)),S=x.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;x.useEffect(()=>{if(o){let w=a(function(N){if(S.paused||!d)return;const L=N.target;d.contains(L)?g.current=L:vi(g.current,{select:!0})},"handleFocusIn2"),R=a(function(N){if(S.paused||!d)return;const L=N.relatedTarget;L!==null&&(d.contains(L)||vi(g.current,{select:!0}))},"handleFocusOut2"),C=a(function(N){if(document.activeElement===document.body)for(const z of N)z.removedNodes.length>0&&vi(d)},"handleMutations2");document.addEventListener("focusin",w),document.addEventListener("focusout",R);const O=new MutationObserver(C);return d&&O.observe(d,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",w),document.removeEventListener("focusout",R),O.disconnect()}}},[o,d,S.paused]),x.useEffect(()=>{if(d){H0.add(S);const w=document.activeElement;if(!d.contains(w)){const C=new CustomEvent(Pp,U0);d.addEventListener(Pp,h),d.dispatchEvent(C),C.defaultPrevented||(Y_(Z_(ux(d)),{select:!0}),document.activeElement===w&&vi(d))}return()=>{d.removeEventListener(Pp,h),setTimeout(()=>{const C=new CustomEvent(Lp,U0);d.addEventListener(Lp,m),d.dispatchEvent(C),C.defaultPrevented||vi(w??document.body,{select:!0}),d.removeEventListener(Lp,m),H0.remove(S)},0)}}},[d,h,m,S]);const E=x.useCallback(w=>{if(!r&&!o||S.paused)return;const R=w.key==="Tab"&&!w.altKey&&!w.ctrlKey&&!w.metaKey,C=document.activeElement;if(R&&C){const O=w.currentTarget,[N,L]=K_(O);N&&L?!w.shiftKey&&C===L?(w.preventDefault(),r&&vi(N,{select:!0})):w.shiftKey&&C===N&&(w.preventDefault(),r&&vi(L,{select:!0})):C===O&&w.preventDefault()}},[r,o,S.paused]);return k.jsx(Ee.div,{tabIndex:-1,...c,ref:b,onKeyDown:E})});Mc.displayName=G_;function Y_(e,{select:t=!1}={}){const r=document.activeElement;for(const o of e)if(vi(o,{select:t}),document.activeElement!==r)return}a(Y_,"focusFirst$3");function K_(e){const t=ux(e),r=B0(t,e),o=B0(t.reverse(),e);return[r,o]}a(K_,"getTabbableEdges");function ux(e){const t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:a(o=>{const l=o.tagName==="INPUT"&&o.type==="hidden";return o.disabled||o.hidden||l?NodeFilter.FILTER_SKIP:o.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP},"acceptNode")});for(;r.nextNode();)t.push(r.currentNode);return t}a(ux,"getTabbableCandidates$1");function B0(e,t){for(const r of e)if(!Q_(r,{upTo:t}))return r}a(B0,"findVisible");function Q_(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}a(Q_,"isHidden");function X_(e){return e instanceof HTMLInputElement&&"select"in e}a(X_,"isSelectableInput");function vi(e,{select:t=!1}={}){if(e&&e.focus){const r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&X_(e)&&t&&e.select()}}a(vi,"focus");var H0=W_();function W_(){let e=[];return{add(t){const r=e[0];t!==r&&r?.pause(),e=F0(e,t),e.unshift(t)},remove(t){e=F0(e,t),e[0]?.resume()}}}a(W_,"createFocusScopesStack");function F0(e,t){const r=[...e],o=r.indexOf(t);return o!==-1&&r.splice(o,1),r}a(F0,"arrayRemove");function Z_(e){return e.filter(t=>t.tagName!=="A")}a(Z_,"removeLinks");var J_="Portal",Ea=x.forwardRef((e,t)=>{const{container:r,...o}=e,[l,u]=x.useState(!1);bt(()=>u(!0),[]);const c=r||l&&globalThis?.document?.body;return c?Gl.createPortal(k.jsx(Ee.div,{...o,ref:t}),c):null});Ea.displayName=J_;function eM(e,t){return x.useReducer((r,o)=>t[r][o]??r,e)}a(eM,"useStateMachine$1");var It=a(e=>{const{present:t,children:r}=e,o=tM(t),l=typeof r=="function"?r({present:o.isPresent}):x.Children.only(r),u=ze(o.ref,nM(l));return typeof r=="function"||o.isPresent?x.cloneElement(l,{ref:u}):null},"Presence");It.displayName="Presence";function tM(e){const[t,r]=x.useState(),o=x.useRef(null),l=x.useRef(e),u=x.useRef("none"),c=e?"mounted":"unmounted",[d,p]=eM(c,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return x.useEffect(()=>{const h=ju(o.current);u.current=d==="mounted"?h:"none"},[d]),bt(()=>{const h=o.current,m=l.current;if(m!==e){const b=u.current,S=ju(h);e?p("MOUNT"):S==="none"||h?.display==="none"?p("UNMOUNT"):p(m&&b!==S?"ANIMATION_OUT":"UNMOUNT"),l.current=e}},[e,p]),bt(()=>{if(t){let h;const m=t.ownerDocument.defaultView??window,g=a(S=>{const w=ju(o.current).includes(CSS.escape(S.animationName));if(S.target===t&&w&&(p("ANIMATION_END"),!l.current)){const R=t.style.animationFillMode;t.style.animationFillMode="forwards",h=m.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=R)})}},"handleAnimationEnd"),b=a(S=>{S.target===t&&(u.current=ju(o.current))},"handleAnimationStart");return t.addEventListener("animationstart",b),t.addEventListener("animationcancel",g),t.addEventListener("animationend",g),()=>{m.clearTimeout(h),t.removeEventListener("animationstart",b),t.removeEventListener("animationcancel",g),t.removeEventListener("animationend",g)}}else p("ANIMATION_END")},[t,p]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:x.useCallback(h=>{o.current=h?getComputedStyle(h):null,r(h)},[])}}a(tM,"usePresence");function ju(e){return e?.animationName||"none"}a(ju,"getAnimationName");function nM(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}a(nM,"getElementRef");var zp=0;function mm(){x.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??q0()),document.body.insertAdjacentElement("beforeend",e[1]??q0()),zp++,()=>{zp===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),zp--}},[])}a(mm,"useFocusGuards");function q0(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}a(q0,"createFocusGuard");var sr=a(function(){return sr=Object.assign||a(function(t){for(var r,o=1,l=arguments.length;o<l;o++){r=arguments[o];for(var u in r)Object.prototype.hasOwnProperty.call(r,u)&&(t[u]=r[u])}return t},"__assign2"),sr.apply(this,arguments)},"__assign");function cx(e,t){var r={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,o=Object.getOwnPropertySymbols(e);l<o.length;l++)t.indexOf(o[l])<0&&Object.prototype.propertyIsEnumerable.call(e,o[l])&&(r[o[l]]=e[o[l]]);return r}a(cx,"__rest");function rM(e,t,r){if(r||arguments.length===2)for(var o=0,l=t.length,u;o<l;o++)(u||!(o in t))&&(u||(u=Array.prototype.slice.call(t,0,o)),u[o]=t[o]);return e.concat(u||Array.prototype.slice.call(t))}a(rM,"__spreadArray");var Zu="right-scroll-bar-position",Ju="width-before-scroll-bar",iM="with-scroll-bars-hidden",oM="--removed-body-scroll-bar-size";function Ip(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}a(Ip,"assignRef");function aM(e,t){var r=x.useState(function(){return{value:e,callback:t,facade:{get current(){return r.value},set current(o){var l=r.value;l!==o&&(r.value=o,r.callback(o,l))}}}})[0];return r.callback=t,r.facade}a(aM,"useCallbackRef");var lM=typeof window<"u"?x.useLayoutEffect:x.useEffect,$0=new WeakMap;function sM(e,t){var r=aM(null,function(o){return e.forEach(function(l){return Ip(l,o)})});return lM(function(){var o=$0.get(r);if(o){var l=new Set(o),u=new Set(e),c=r.current;l.forEach(function(d){u.has(d)||Ip(d,null)}),u.forEach(function(d){l.has(d)||Ip(d,c)})}$0.set(r,e)},[e]),r}a(sM,"useMergeRefs");function uM(e){return e}a(uM,"ItoI");function cM(e,t){t===void 0&&(t=uM);var r=[],o=!1,l={read:a(function(){if(o)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:e},"read"),useMedium:a(function(u){var c=t(u,o);return r.push(c),function(){r=r.filter(function(d){return d!==c})}},"useMedium"),assignSyncMedium:a(function(u){for(o=!0;r.length;){var c=r;r=[],c.forEach(u)}r={push:a(function(d){return u(d)},"push"),filter:a(function(){return r},"filter")}},"assignSyncMedium"),assignMedium:a(function(u){o=!0;var c=[];if(r.length){var d=r;r=[],d.forEach(u),c=r}var p=a(function(){var m=c;c=[],m.forEach(u)},"executeQueue"),h=a(function(){return Promise.resolve().then(p)},"cycle");h(),r={push:a(function(m){c.push(m),h()},"push"),filter:a(function(m){return c=c.filter(m),r},"filter")}},"assignMedium")};return l}a(cM,"innerCreateMedium");function fM(e){e===void 0&&(e={});var t=cM(null);return t.options=sr({async:!0,ssr:!1},e),t}a(fM,"createSidecarMedium");var fx=a(function(e){var t=e.sideCar,r=cx(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var o=t.read();if(!o)throw new Error("Sidecar medium not found");return x.createElement(o,sr({},r))},"SideCar$1");fx.isSideCarExport=!0;function dM(e,t){return e.useMedium(t),fx}a(dM,"exportSidecar");var dx=fM(),jp=a(function(){},"nothing"),Nc=x.forwardRef(function(e,t){var r=x.useRef(null),o=x.useState({onScrollCapture:jp,onWheelCapture:jp,onTouchMoveCapture:jp}),l=o[0],u=o[1],c=e.forwardProps,d=e.children,p=e.className,h=e.removeScrollBar,m=e.enabled,g=e.shards,b=e.sideCar,S=e.noRelative,E=e.noIsolation,w=e.inert,R=e.allowPinchZoom,C=e.as,O=C===void 0?"div":C,N=e.gapMode,L=cx(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),z=b,D=sM([r,t]),j=sr(sr({},L),l);return x.createElement(x.Fragment,null,m&&x.createElement(z,{sideCar:dx,removeScrollBar:h,shards:g,noRelative:S,noIsolation:E,inert:w,setCallbacks:u,allowPinchZoom:!!R,lockRef:r,gapMode:N}),c?x.cloneElement(x.Children.only(d),sr(sr({},j),{ref:D})):x.createElement(O,sr({},j,{className:p,ref:D}),d))});Nc.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Nc.classNames={fullWidth:Ju,zeroRight:Zu};var pM=a(function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__},"getNonce");function hM(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=pM();return t&&e.setAttribute("nonce",t),e}a(hM,"makeStyleTag");function mM(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}a(mM,"injectStyles");function yM(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}a(yM,"insertStyleTag");var gM=a(function(){var e=0,t=null;return{add:a(function(r){e==0&&(t=hM())&&(mM(t,r),yM(t)),e++},"add"),remove:a(function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)},"remove")}},"stylesheetSingleton"),vM=a(function(){var e=gM();return function(t,r){x.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},"styleHookSingleton"),px=a(function(){var e=vM(),t=a(function(r){var o=r.styles,l=r.dynamic;return e(o,l),null},"Sheet");return t},"styleSingleton"),bM={left:0,top:0,right:0,gap:0},Up=a(function(e){return parseInt(e||"",10)||0},"parse$1"),SM=a(function(e){var t=window.getComputedStyle(document.body),r=t[e==="padding"?"paddingLeft":"marginLeft"],o=t[e==="padding"?"paddingTop":"marginTop"],l=t[e==="padding"?"paddingRight":"marginRight"];return[Up(r),Up(o),Up(l)]},"getOffset"),xM=a(function(e){if(e===void 0&&(e="margin"),typeof window>"u")return bM;var t=SM(e),r=document.documentElement.clientWidth,o=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,o-r+t[2]-t[0])}},"getGapWidth"),wM=px(),ua="data-scroll-locked",EM=a(function(e,t,r,o){var l=e.left,u=e.top,c=e.right,d=e.gap;return r===void 0&&(r="margin"),`
|
|
50
|
-
.`.concat(iM,` {
|
|
51
|
-
overflow: hidden `).concat(o,`;
|
|
52
|
-
padding-right: `).concat(d,"px ").concat(o,`;
|
|
53
|
-
}
|
|
54
|
-
body[`).concat(ua,`] {
|
|
55
|
-
overflow: hidden `).concat(o,`;
|
|
56
|
-
overscroll-behavior: contain;
|
|
57
|
-
`).concat([t&&"position: relative ".concat(o,";"),r==="margin"&&`
|
|
58
|
-
padding-left: `.concat(l,`px;
|
|
59
|
-
padding-top: `).concat(u,`px;
|
|
60
|
-
padding-right: `).concat(c,`px;
|
|
61
|
-
margin-left:0;
|
|
62
|
-
margin-top:0;
|
|
63
|
-
margin-right: `).concat(d,"px ").concat(o,`;
|
|
64
|
-
`),r==="padding"&&"padding-right: ".concat(d,"px ").concat(o,";")].filter(Boolean).join(""),`
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
.`).concat(Zu,` {
|
|
68
|
-
right: `).concat(d,"px ").concat(o,`;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
.`).concat(Ju,` {
|
|
72
|
-
margin-right: `).concat(d,"px ").concat(o,`;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
.`).concat(Zu," .").concat(Zu,` {
|
|
76
|
-
right: 0 `).concat(o,`;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
.`).concat(Ju," .").concat(Ju,` {
|
|
80
|
-
margin-right: 0 `).concat(o,`;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
body[`).concat(ua,`] {
|
|
84
|
-
`).concat(oM,": ").concat(d,`px;
|
|
85
|
-
}
|
|
86
|
-
`)},"getStyles$2"),V0=a(function(){var e=parseInt(document.body.getAttribute(ua)||"0",10);return isFinite(e)?e:0},"getCurrentUseCounter"),CM=a(function(){x.useEffect(function(){return document.body.setAttribute(ua,(V0()+1).toString()),function(){var e=V0()-1;e<=0?document.body.removeAttribute(ua):document.body.setAttribute(ua,e.toString())}},[])},"useLockAttribute"),TM=a(function(e){var t=e.noRelative,r=e.noImportant,o=e.gapMode,l=o===void 0?"margin":o;CM();var u=x.useMemo(function(){return xM(l)},[l]);return x.createElement(wM,{styles:EM(u,!t,l,r?"":"!important")})},"RemoveScrollBar"),Ch=!1;if(typeof window<"u")try{var Uu=Object.defineProperty({},"passive",{get:a(function(){return Ch=!0,!0},"get")});window.addEventListener("test",Uu,Uu),window.removeEventListener("test",Uu,Uu)}catch{Ch=!1}var ea=Ch?{passive:!1}:!1,RM=a(function(e){return e.tagName==="TEXTAREA"},"alwaysContainsScroll"),hx=a(function(e,t){if(!(e instanceof Element))return!1;var r=window.getComputedStyle(e);return r[t]!=="hidden"&&!(r.overflowY===r.overflowX&&!RM(e)&&r[t]==="visible")},"elementCanBeScrolled"),OM=a(function(e){return hx(e,"overflowY")},"elementCouldBeVScrolled"),AM=a(function(e){return hx(e,"overflowX")},"elementCouldBeHScrolled"),G0=a(function(e,t){var r=t.ownerDocument,o=t;do{typeof ShadowRoot<"u"&&o instanceof ShadowRoot&&(o=o.host);var l=mx(e,o);if(l){var u=yx(e,o),c=u[1],d=u[2];if(c>d)return!0}o=o.parentNode}while(o&&o!==r.body);return!1},"locationCouldBeScrolled"),_M=a(function(e){var t=e.scrollTop,r=e.scrollHeight,o=e.clientHeight;return[t,r,o]},"getVScrollVariables"),MM=a(function(e){var t=e.scrollLeft,r=e.scrollWidth,o=e.clientWidth;return[t,r,o]},"getHScrollVariables"),mx=a(function(e,t){return e==="v"?OM(t):AM(t)},"elementCouldBeScrolled"),yx=a(function(e,t){return e==="v"?_M(t):MM(t)},"getScrollVariables"),NM=a(function(e,t){return e==="h"&&t==="rtl"?-1:1},"getDirectionFactor"),kM=a(function(e,t,r,o,l){var u=NM(e,window.getComputedStyle(t).direction),c=u*o,d=r.target,p=t.contains(d),h=!1,m=c>0,g=0,b=0;do{if(!d)break;var S=yx(e,d),E=S[0],w=S[1],R=S[2],C=w-R-u*E;(E||C)&&mx(e,d)&&(g+=C,b+=E);var O=d.parentNode;d=O&&O.nodeType===Node.DOCUMENT_FRAGMENT_NODE?O.host:O}while(!p&&d!==document.body||p&&(t.contains(d)||t===d));return(m&&Math.abs(g)<1||!m&&Math.abs(b)<1)&&(h=!0),h},"handleScroll"),Bu=a(function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},"getTouchXY"),Y0=a(function(e){return[e.deltaX,e.deltaY]},"getDeltaXY"),K0=a(function(e){return e&&"current"in e?e.current:e},"extractRef"),DM=a(function(e,t){return e[0]===t[0]&&e[1]===t[1]},"deltaCompare"),PM=a(function(e){return`
|
|
87
|
-
.block-interactivity-`.concat(e,` {pointer-events: none;}
|
|
88
|
-
.allow-interactivity-`).concat(e,` {pointer-events: all;}
|
|
89
|
-
`)},"generateStyle"),LM=0,ta=[];function zM(e){var t=x.useRef([]),r=x.useRef([0,0]),o=x.useRef(),l=x.useState(LM++)[0],u=x.useState(px)[0],c=x.useRef(e);x.useEffect(function(){c.current=e},[e]),x.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(l));var w=rM([e.lockRef.current],(e.shards||[]).map(K0),!0).filter(Boolean);return w.forEach(function(R){return R.classList.add("allow-interactivity-".concat(l))}),function(){document.body.classList.remove("block-interactivity-".concat(l)),w.forEach(function(R){return R.classList.remove("allow-interactivity-".concat(l))})}}},[e.inert,e.lockRef.current,e.shards]);var d=x.useCallback(function(w,R){if("touches"in w&&w.touches.length===2||w.type==="wheel"&&w.ctrlKey)return!c.current.allowPinchZoom;var C=Bu(w),O=r.current,N="deltaX"in w?w.deltaX:O[0]-C[0],L="deltaY"in w?w.deltaY:O[1]-C[1],z,D=w.target,j=Math.abs(N)>Math.abs(L)?"h":"v";if("touches"in w&&j==="h"&&D.type==="range")return!1;var G=G0(j,D);if(!G)return!0;if(G?z=j:(z=j==="v"?"h":"v",G=G0(j,D)),!G)return!1;if(!o.current&&"changedTouches"in w&&(N||L)&&(o.current=z),!z)return!0;var Y=o.current||z;return kM(Y,R,w,Y==="h"?N:L)},[]),p=x.useCallback(function(w){var R=w;if(!(!ta.length||ta[ta.length-1]!==u)){var C="deltaY"in R?Y0(R):Bu(R),O=t.current.filter(function(z){return z.name===R.type&&(z.target===R.target||R.target===z.shadowParent)&&DM(z.delta,C)})[0];if(O&&O.should){R.cancelable&&R.preventDefault();return}if(!O){var N=(c.current.shards||[]).map(K0).filter(Boolean).filter(function(z){return z.contains(R.target)}),L=N.length>0?d(R,N[0]):!c.current.noIsolation;L&&R.cancelable&&R.preventDefault()}}},[]),h=x.useCallback(function(w,R,C,O){var N={name:w,delta:R,target:C,should:O,shadowParent:IM(C)};t.current.push(N),setTimeout(function(){t.current=t.current.filter(function(L){return L!==N})},1)},[]),m=x.useCallback(function(w){r.current=Bu(w),o.current=void 0},[]),g=x.useCallback(function(w){h(w.type,Y0(w),w.target,d(w,e.lockRef.current))},[]),b=x.useCallback(function(w){h(w.type,Bu(w),w.target,d(w,e.lockRef.current))},[]);x.useEffect(function(){return ta.push(u),e.setCallbacks({onScrollCapture:g,onWheelCapture:g,onTouchMoveCapture:b}),document.addEventListener("wheel",p,ea),document.addEventListener("touchmove",p,ea),document.addEventListener("touchstart",m,ea),function(){ta=ta.filter(function(w){return w!==u}),document.removeEventListener("wheel",p,ea),document.removeEventListener("touchmove",p,ea),document.removeEventListener("touchstart",m,ea)}},[]);var S=e.removeScrollBar,E=e.inert;return x.createElement(x.Fragment,null,E?x.createElement(u,{styles:PM(l)}):null,S?x.createElement(TM,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}a(zM,"RemoveScrollSideCar");function IM(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}a(IM,"getOutermostShadowParent");const jM=dM(dx,zM);var kc=x.forwardRef(function(e,t){return x.createElement(Nc,sr({},e,{ref:t,sideCar:jM}))});kc.classNames=Nc.classNames;var UM=a(function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},"getDefaultParent"),na=new WeakMap,Hu=new WeakMap,Fu={},Bp=0,gx=a(function(e){return e&&(e.host||gx(e.parentNode))},"unwrapHost"),BM=a(function(e,t){return t.map(function(r){if(e.contains(r))return r;var o=gx(r);return o&&e.contains(o)?o:(console.error("aria-hidden",r,"in not contained inside",e,". Doing nothing"),null)}).filter(function(r){return!!r})},"correctTargets"),HM=a(function(e,t,r,o){var l=BM(t,Array.isArray(e)?e:[e]);Fu[r]||(Fu[r]=new WeakMap);var u=Fu[r],c=[],d=new Set,p=new Set(l),h=a(function(g){!g||d.has(g)||(d.add(g),h(g.parentNode))},"keep");l.forEach(h);var m=a(function(g){!g||p.has(g)||Array.prototype.forEach.call(g.children,function(b){if(d.has(b))m(b);else try{var S=b.getAttribute(o),E=S!==null&&S!=="false",w=(na.get(b)||0)+1,R=(u.get(b)||0)+1;na.set(b,w),u.set(b,R),c.push(b),w===1&&E&&Hu.set(b,!0),R===1&&b.setAttribute(r,"true"),E||b.setAttribute(o,"true")}catch(C){console.error("aria-hidden: cannot operate on ",b,C)}})},"deep");return m(t),d.clear(),Bp++,function(){c.forEach(function(g){var b=na.get(g)-1,S=u.get(g)-1;na.set(g,b),u.set(g,S),b||(Hu.has(g)||g.removeAttribute(o),Hu.delete(g)),S||g.removeAttribute(r)}),Bp--,Bp||(na=new WeakMap,na=new WeakMap,Hu=new WeakMap,Fu={})}},"applyAttributeToOthers"),ym=a(function(e,t,r){r===void 0&&(r="data-aria-hidden");var o=Array.from(Array.isArray(e)?e:[e]),l=UM(e);return l?(o.push.apply(o,Array.from(l.querySelectorAll("[aria-live], script"))),HM(o,l,r,"aria-hidden")):function(){return null}},"hideOthers"),Dc="Dialog",[vx,bx]=Gt(Dc),[FM,Xn]=vx(Dc),Sx=a(e=>{const{__scopeDialog:t,children:r,open:o,defaultOpen:l,onOpenChange:u,modal:c=!0}=e,d=x.useRef(null),p=x.useRef(null),[h,m]=mr({prop:o,defaultProp:l??!1,onChange:u,caller:Dc});return k.jsx(FM,{scope:t,triggerRef:d,contentRef:p,contentId:Ln(),titleId:Ln(),descriptionId:Ln(),open:h,onOpenChange:m,onOpenToggle:x.useCallback(()=>m(g=>!g),[m]),modal:c,children:r})},"Dialog");Sx.displayName=Dc;var xx="DialogTrigger",wx=x.forwardRef((e,t)=>{const{__scopeDialog:r,...o}=e,l=Xn(xx,r),u=ze(t,l.triggerRef);return k.jsx(Ee.button,{type:"button","aria-haspopup":"dialog","aria-expanded":l.open,"aria-controls":l.contentId,"data-state":bm(l.open),...o,ref:u,onClick:ge(e.onClick,l.onOpenToggle)})});wx.displayName=xx;var gm="DialogPortal",[qM,Ex]=vx(gm,{forceMount:void 0}),Cx=a(e=>{const{__scopeDialog:t,forceMount:r,children:o,container:l}=e,u=Xn(gm,t);return k.jsx(qM,{scope:t,forceMount:r,children:x.Children.map(o,c=>k.jsx(It,{present:r||u.open,children:k.jsx(Ea,{asChild:!0,container:l,children:c})}))})},"DialogPortal");Cx.displayName=gm;var lc="DialogOverlay",Tx=x.forwardRef((e,t)=>{const r=Ex(lc,e.__scopeDialog),{forceMount:o=r.forceMount,...l}=e,u=Xn(lc,e.__scopeDialog);return u.modal?k.jsx(It,{present:o||u.open,children:k.jsx(VM,{...l,ref:t})}):null});Tx.displayName=lc;var $M=Zi("DialogOverlay.RemoveScroll"),VM=x.forwardRef((e,t)=>{const{__scopeDialog:r,...o}=e,l=Xn(lc,r);return k.jsx(kc,{as:$M,allowPinchZoom:!0,shards:[l.contentRef],children:k.jsx(Ee.div,{"data-state":bm(l.open),...o,ref:t,style:{pointerEvents:"auto",...o.style}})})}),Ji="DialogContent",Rx=x.forwardRef((e,t)=>{const r=Ex(Ji,e.__scopeDialog),{forceMount:o=r.forceMount,...l}=e,u=Xn(Ji,e.__scopeDialog);return k.jsx(It,{present:o||u.open,children:u.modal?k.jsx(GM,{...l,ref:t}):k.jsx(YM,{...l,ref:t})})});Rx.displayName=Ji;var GM=x.forwardRef((e,t)=>{const r=Xn(Ji,e.__scopeDialog),o=x.useRef(null),l=ze(t,r.contentRef,o);return x.useEffect(()=>{const u=o.current;if(u)return ym(u)},[]),k.jsx(Ox,{...e,ref:l,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:ge(e.onCloseAutoFocus,u=>{u.preventDefault(),r.triggerRef.current?.focus()}),onPointerDownOutside:ge(e.onPointerDownOutside,u=>{const c=u.detail.originalEvent,d=c.button===0&&c.ctrlKey===!0;(c.button===2||d)&&u.preventDefault()}),onFocusOutside:ge(e.onFocusOutside,u=>u.preventDefault())})}),YM=x.forwardRef((e,t)=>{const r=Xn(Ji,e.__scopeDialog),o=x.useRef(!1),l=x.useRef(!1);return k.jsx(Ox,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:a(u=>{e.onCloseAutoFocus?.(u),u.defaultPrevented||(o.current||r.triggerRef.current?.focus(),u.preventDefault()),o.current=!1,l.current=!1},"onCloseAutoFocus"),onInteractOutside:a(u=>{e.onInteractOutside?.(u),u.defaultPrevented||(o.current=!0,u.detail.originalEvent.type==="pointerdown"&&(l.current=!0));const c=u.target;r.triggerRef.current?.contains(c)&&u.preventDefault(),u.detail.originalEvent.type==="focusin"&&l.current&&u.preventDefault()},"onInteractOutside")})}),Ox=x.forwardRef((e,t)=>{const{__scopeDialog:r,trapFocus:o,onOpenAutoFocus:l,onCloseAutoFocus:u,...c}=e,d=Xn(Ji,r),p=x.useRef(null),h=ze(t,p);return mm(),k.jsxs(k.Fragment,{children:[k.jsx(Mc,{asChild:!0,loop:!0,trapped:o,onMountAutoFocus:l,onUnmountAutoFocus:u,children:k.jsx(wa,{role:"dialog",id:d.contentId,"aria-describedby":d.descriptionId,"aria-labelledby":d.titleId,"data-state":bm(d.open),...c,ref:h,onDismiss:a(()=>d.onOpenChange(!1),"onDismiss")})}),k.jsxs(k.Fragment,{children:[k.jsx(QM,{titleId:d.titleId}),k.jsx(WM,{contentRef:p,descriptionId:d.descriptionId})]})]})}),vm="DialogTitle",Ax=x.forwardRef((e,t)=>{const{__scopeDialog:r,...o}=e,l=Xn(vm,r);return k.jsx(Ee.h2,{id:l.titleId,...o,ref:t})});Ax.displayName=vm;var _x="DialogDescription",Mx=x.forwardRef((e,t)=>{const{__scopeDialog:r,...o}=e,l=Xn(_x,r);return k.jsx(Ee.p,{id:l.descriptionId,...o,ref:t})});Mx.displayName=_x;var Nx="DialogClose",kx=x.forwardRef((e,t)=>{const{__scopeDialog:r,...o}=e,l=Xn(Nx,r);return k.jsx(Ee.button,{type:"button",...o,ref:t,onClick:ge(e.onClick,()=>l.onOpenChange(!1))})});kx.displayName=Nx;function bm(e){return e?"open":"closed"}a(bm,"getState$2");var Dx="DialogTitleWarning",[KM,Px]=M_(Dx,{contentName:Ji,titleName:vm,docsSlug:"dialog"}),QM=a(({titleId:e})=>{const t=Px(Dx),r=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
|
|
90
|
-
|
|
91
|
-
If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
|
|
92
|
-
|
|
93
|
-
For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return x.useEffect(()=>{e&&(document.getElementById(e)||console.error(r))},[r,e]),null},"TitleWarning"),XM="DialogDescriptionWarning",WM=a(({contentRef:e,descriptionId:t})=>{const o=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${Px(XM).contentName}}.`;return x.useEffect(()=>{const l=e.current?.getAttribute("aria-describedby");t&&l&&(document.getElementById(t)||console.warn(o))},[o,e,t]),null},"DescriptionWarning$1"),ZM=Sx,JM=wx,eN=Cx,tN=Tx,nN=Rx,rN=Ax,iN=Mx,Lx=kx;/**
|
|
94
|
-
* @license lucide-react v0.544.0 - ISC
|
|
95
|
-
*
|
|
96
|
-
* This source code is licensed under the ISC license.
|
|
97
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
98
|
-
*/const oN=a(e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),"toKebabCase"),aN=a(e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,r,o)=>o?o.toUpperCase():r.toLowerCase()),"toCamelCase"),Q0=a(e=>{const t=aN(e);return t.charAt(0).toUpperCase()+t.slice(1)},"toPascalCase"),zx=a((...e)=>e.filter((t,r,o)=>!!t&&t.trim()!==""&&o.indexOf(t)===r).join(" ").trim(),"mergeClasses"),lN=a(e=>{for(const t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0},"hasA11yProp");/**
|
|
99
|
-
* @license lucide-react v0.544.0 - ISC
|
|
100
|
-
*
|
|
101
|
-
* This source code is licensed under the ISC license.
|
|
102
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
103
|
-
*/var sN={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"};/**
|
|
104
|
-
* @license lucide-react v0.544.0 - ISC
|
|
105
|
-
*
|
|
106
|
-
* This source code is licensed under the ISC license.
|
|
107
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
108
|
-
*/const uN=x.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:r=2,absoluteStrokeWidth:o,className:l="",children:u,iconNode:c,...d},p)=>x.createElement("svg",{ref:p,...sN,width:t,height:t,stroke:e,strokeWidth:o?Number(r)*24/Number(t):r,className:zx("lucide",l),...!u&&!lN(d)&&{"aria-hidden":"true"},...d},[...c.map(([h,m])=>x.createElement(h,m)),...Array.isArray(u)?u:[u]]));/**
|
|
109
|
-
* @license lucide-react v0.544.0 - ISC
|
|
110
|
-
*
|
|
111
|
-
* This source code is licensed under the ISC license.
|
|
112
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
113
|
-
*/const ve=a((e,t)=>{const r=x.forwardRef(({className:o,...l},u)=>x.createElement(uN,{ref:u,iconNode:t,className:zx(`lucide-${oN(Q0(e))}`,`lucide-${e}`,o),...l}));return r.displayName=Q0(e),r},"createLucideIcon");/**
|
|
114
|
-
* @license lucide-react v0.544.0 - ISC
|
|
115
|
-
*
|
|
116
|
-
* This source code is licensed under the ISC license.
|
|
117
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
118
|
-
*/const cN=[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]],IU=ve("activity",cN);/**
|
|
119
|
-
* @license lucide-react v0.544.0 - ISC
|
|
120
|
-
*
|
|
121
|
-
* This source code is licensed under the ISC license.
|
|
122
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
123
|
-
*/const fN=[["path",{d:"M12 17V3",key:"1cwfxf"}],["path",{d:"m6 11 6 6 6-6",key:"12ii2o"}],["path",{d:"M19 21H5",key:"150jfl"}]],jU=ve("arrow-down-to-line",fN);/**
|
|
124
|
-
* @license lucide-react v0.544.0 - ISC
|
|
125
|
-
*
|
|
126
|
-
* This source code is licensed under the ISC license.
|
|
127
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
128
|
-
*/const dN=[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]],UU=ve("arrow-down",dN);/**
|
|
129
|
-
* @license lucide-react v0.544.0 - ISC
|
|
130
|
-
*
|
|
131
|
-
* This source code is licensed under the ISC license.
|
|
132
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
133
|
-
*/const pN=[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]],BU=ve("arrow-left",pN);/**
|
|
134
|
-
* @license lucide-react v0.544.0 - ISC
|
|
135
|
-
*
|
|
136
|
-
* This source code is licensed under the ISC license.
|
|
137
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
138
|
-
*/const hN=[["path",{d:"m16 3 4 4-4 4",key:"1x1c3m"}],["path",{d:"M20 7H4",key:"zbl0bi"}],["path",{d:"m8 21-4-4 4-4",key:"h9nckh"}],["path",{d:"M4 17h16",key:"g4d7ey"}]],HU=ve("arrow-right-left",hN);/**
|
|
139
|
-
* @license lucide-react v0.544.0 - ISC
|
|
140
|
-
*
|
|
141
|
-
* This source code is licensed under the ISC license.
|
|
142
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
143
|
-
*/const mN=[["path",{d:"m18 9-6-6-6 6",key:"kcunyi"}],["path",{d:"M12 3v14",key:"7cf3v8"}],["path",{d:"M5 21h14",key:"11awu3"}]],FU=ve("arrow-up-from-line",mN);/**
|
|
144
|
-
* @license lucide-react v0.544.0 - ISC
|
|
145
|
-
*
|
|
146
|
-
* This source code is licensed under the ISC license.
|
|
147
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
148
|
-
*/const yN=[["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}]],qU=ve("book",yN);/**
|
|
149
|
-
* @license lucide-react v0.544.0 - ISC
|
|
150
|
-
*
|
|
151
|
-
* This source code is licensed under the ISC license.
|
|
152
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
153
|
-
*/const gN=[["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"}]],$U=ve("bot",gN);/**
|
|
154
|
-
* @license lucide-react v0.544.0 - ISC
|
|
155
|
-
*
|
|
156
|
-
* This source code is licensed under the ISC license.
|
|
157
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
158
|
-
*/const vN=[["path",{d:"M12 18V5",key:"adv99a"}],["path",{d:"M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4",key:"1e3is1"}],["path",{d:"M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5",key:"1gqd8o"}],["path",{d:"M17.997 5.125a4 4 0 0 1 2.526 5.77",key:"iwvgf7"}],["path",{d:"M18 18a4 4 0 0 0 2-7.464",key:"efp6ie"}],["path",{d:"M19.967 17.483A4 4 0 1 1 12 18a4 4 0 1 1-7.967-.517",key:"1gq6am"}],["path",{d:"M6 18a4 4 0 0 1-2-7.464",key:"k1g0md"}],["path",{d:"M6.003 5.125a4 4 0 0 0-2.526 5.77",key:"q97ue3"}]],VU=ve("brain",vN);/**
|
|
159
|
-
* @license lucide-react v0.544.0 - ISC
|
|
160
|
-
*
|
|
161
|
-
* This source code is licensed under the ISC license.
|
|
162
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
163
|
-
*/const bN=[["path",{d:"M5 21v-6",key:"1hz6c0"}],["path",{d:"M12 21V3",key:"1lcnhd"}],["path",{d:"M19 21V9",key:"unv183"}]],GU=ve("chart-no-axes-column",bN);/**
|
|
164
|
-
* @license lucide-react v0.544.0 - ISC
|
|
165
|
-
*
|
|
166
|
-
* This source code is licensed under the ISC license.
|
|
167
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
168
|
-
*/const SN=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],YU=ve("check",SN);/**
|
|
169
|
-
* @license lucide-react v0.544.0 - ISC
|
|
170
|
-
*
|
|
171
|
-
* This source code is licensed under the ISC license.
|
|
172
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
173
|
-
*/const xN=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],KU=ve("chevron-down",xN);/**
|
|
174
|
-
* @license lucide-react v0.544.0 - ISC
|
|
175
|
-
*
|
|
176
|
-
* This source code is licensed under the ISC license.
|
|
177
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
178
|
-
*/const wN=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],QU=ve("chevron-left",wN);/**
|
|
179
|
-
* @license lucide-react v0.544.0 - ISC
|
|
180
|
-
*
|
|
181
|
-
* This source code is licensed under the ISC license.
|
|
182
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
183
|
-
*/const EN=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],XU=ve("chevron-right",EN);/**
|
|
184
|
-
* @license lucide-react v0.544.0 - ISC
|
|
185
|
-
*
|
|
186
|
-
* This source code is licensed under the ISC license.
|
|
187
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
188
|
-
*/const CN=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],WU=ve("chevron-up",CN);/**
|
|
189
|
-
* @license lucide-react v0.544.0 - ISC
|
|
190
|
-
*
|
|
191
|
-
* This source code is licensed under the ISC license.
|
|
192
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
193
|
-
*/const TN=[["path",{d:"m7 20 5-5 5 5",key:"13a0gw"}],["path",{d:"m7 4 5 5 5-5",key:"1kwcof"}]],ZU=ve("chevrons-down-up",TN);/**
|
|
194
|
-
* @license lucide-react v0.544.0 - ISC
|
|
195
|
-
*
|
|
196
|
-
* This source code is licensed under the ISC license.
|
|
197
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
198
|
-
*/const RN=[["path",{d:"m7 15 5 5 5-5",key:"1hf1tw"}],["path",{d:"m7 9 5-5 5 5",key:"sgt6xg"}]],JU=ve("chevrons-up-down",RN);/**
|
|
199
|
-
* @license lucide-react v0.544.0 - ISC
|
|
200
|
-
*
|
|
201
|
-
* This source code is licensed under the ISC license.
|
|
202
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
203
|
-
*/const ON=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]],eB=ve("circle-alert",ON);/**
|
|
204
|
-
* @license lucide-react v0.544.0 - ISC
|
|
205
|
-
*
|
|
206
|
-
* This source code is licensed under the ISC license.
|
|
207
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
208
|
-
*/const AN=[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],tB=ve("circle-check-big",AN);/**
|
|
209
|
-
* @license lucide-react v0.544.0 - ISC
|
|
210
|
-
*
|
|
211
|
-
* This source code is licensed under the ISC license.
|
|
212
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
213
|
-
*/const _N=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}]],nB=ve("circle-dot",_N);/**
|
|
214
|
-
* @license lucide-react v0.544.0 - ISC
|
|
215
|
-
*
|
|
216
|
-
* This source code is licensed under the ISC license.
|
|
217
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
218
|
-
*/const MN=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]],rB=ve("circle-question-mark",MN);/**
|
|
219
|
-
* @license lucide-react v0.544.0 - ISC
|
|
220
|
-
*
|
|
221
|
-
* This source code is licensed under the ISC license.
|
|
222
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
223
|
-
*/const NN=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["rect",{x:"9",y:"9",width:"6",height:"6",rx:"1",key:"1ssd4o"}]],iB=ve("circle-stop",NN);/**
|
|
224
|
-
* @license lucide-react v0.544.0 - ISC
|
|
225
|
-
*
|
|
226
|
-
* This source code is licensed under the ISC license.
|
|
227
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
228
|
-
*/const kN=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]],oB=ve("circle-x",kN);/**
|
|
229
|
-
* @license lucide-react v0.544.0 - ISC
|
|
230
|
-
*
|
|
231
|
-
* This source code is licensed under the ISC license.
|
|
232
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
233
|
-
*/const DN=[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],aB=ve("clock",DN);/**
|
|
234
|
-
* @license lucide-react v0.544.0 - ISC
|
|
235
|
-
*
|
|
236
|
-
* This source code is licensed under the ISC license.
|
|
237
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
238
|
-
*/const PN=[["path",{d:"M12 13v8",key:"1l5pq0"}],["path",{d:"M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242",key:"1pljnt"}],["path",{d:"m8 17 4-4 4 4",key:"1quai1"}]],lB=ve("cloud-upload",PN);/**
|
|
239
|
-
* @license lucide-react v0.544.0 - ISC
|
|
240
|
-
*
|
|
241
|
-
* This source code is licensed under the ISC license.
|
|
242
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
243
|
-
*/const LN=[["path",{d:"m16 18 6-6-6-6",key:"eg8j8"}],["path",{d:"m8 6-6 6 6 6",key:"ppft3o"}]],sB=ve("code",LN);/**
|
|
244
|
-
* @license lucide-react v0.544.0 - ISC
|
|
245
|
-
*
|
|
246
|
-
* This source code is licensed under the ISC license.
|
|
247
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
248
|
-
*/const zN=[["path",{d:"M11 10.27 7 3.34",key:"16pf9h"}],["path",{d:"m11 13.73-4 6.93",key:"794ttg"}],["path",{d:"M12 22v-2",key:"1osdcq"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M14 12h8",key:"4f43i9"}],["path",{d:"m17 20.66-1-1.73",key:"eq3orb"}],["path",{d:"m17 3.34-1 1.73",key:"2wel8s"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"m20.66 17-1.73-1",key:"sg0v6f"}],["path",{d:"m20.66 7-1.73 1",key:"1ow05n"}],["path",{d:"m3.34 17 1.73-1",key:"nuk764"}],["path",{d:"m3.34 7 1.73 1",key:"1ulond"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}],["circle",{cx:"12",cy:"12",r:"8",key:"46899m"}]],uB=ve("cog",zN);/**
|
|
249
|
-
* @license lucide-react v0.544.0 - ISC
|
|
250
|
-
*
|
|
251
|
-
* This source code is licensed under the ISC license.
|
|
252
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
253
|
-
*/const IN=[["circle",{cx:"8",cy:"8",r:"6",key:"3yglwk"}],["path",{d:"M18.09 10.37A6 6 0 1 1 10.34 18",key:"t5s6rm"}],["path",{d:"M7 6h1v4",key:"1obek4"}],["path",{d:"m16.71 13.88.7.71-2.82 2.82",key:"1rbuyh"}]],cB=ve("coins",IN);/**
|
|
254
|
-
* @license lucide-react v0.544.0 - ISC
|
|
255
|
-
*
|
|
256
|
-
* This source code is licensed under the ISC license.
|
|
257
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
258
|
-
*/const jN=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"M15 3v18",key:"14nvp0"}]],fB=ve("columns-3",jN);/**
|
|
259
|
-
* @license lucide-react v0.544.0 - ISC
|
|
260
|
-
*
|
|
261
|
-
* This source code is licensed under the ISC license.
|
|
262
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
263
|
-
*/const UN=[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],dB=ve("copy",UN);/**
|
|
264
|
-
* @license lucide-react v0.544.0 - ISC
|
|
265
|
-
*
|
|
266
|
-
* This source code is licensed under the ISC license.
|
|
267
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
268
|
-
*/const BN=[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]],pB=ve("database",BN);/**
|
|
269
|
-
* @license lucide-react v0.544.0 - ISC
|
|
270
|
-
*
|
|
271
|
-
* This source code is licensed under the ISC license.
|
|
272
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
273
|
-
*/const HN=[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]],hB=ve("download",HN);/**
|
|
274
|
-
* @license lucide-react v0.544.0 - ISC
|
|
275
|
-
*
|
|
276
|
-
* This source code is licensed under the ISC license.
|
|
277
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
278
|
-
*/const FN=[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"12",cy:"5",r:"1",key:"gxeob9"}],["circle",{cx:"12",cy:"19",r:"1",key:"lyex9k"}]],mB=ve("ellipsis-vertical",FN);/**
|
|
279
|
-
* @license lucide-react v0.544.0 - ISC
|
|
280
|
-
*
|
|
281
|
-
* This source code is licensed under the ISC license.
|
|
282
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
283
|
-
*/const qN=[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]],yB=ve("ellipsis",qN);/**
|
|
284
|
-
* @license lucide-react v0.544.0 - ISC
|
|
285
|
-
*
|
|
286
|
-
* This source code is licensed under the ISC license.
|
|
287
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
288
|
-
*/const $N=[["path",{d:"M21 21H8a2 2 0 0 1-1.42-.587l-3.994-3.999a2 2 0 0 1 0-2.828l10-10a2 2 0 0 1 2.829 0l5.999 6a2 2 0 0 1 0 2.828L12.834 21",key:"g5wo59"}],["path",{d:"m5.082 11.09 8.828 8.828",key:"1wx5vj"}]],gB=ve("eraser",$N);/**
|
|
289
|
-
* @license lucide-react v0.544.0 - ISC
|
|
290
|
-
*
|
|
291
|
-
* This source code is licensed under the ISC license.
|
|
292
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
293
|
-
*/const VN=[["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"}]],vB=ve("external-link",VN);/**
|
|
294
|
-
* @license lucide-react v0.544.0 - ISC
|
|
295
|
-
*
|
|
296
|
-
* This source code is licensed under the ISC license.
|
|
297
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
298
|
-
*/const GN=[["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"}]],bB=ve("eye-off",GN);/**
|
|
299
|
-
* @license lucide-react v0.544.0 - ISC
|
|
300
|
-
*
|
|
301
|
-
* This source code is licensed under the ISC license.
|
|
302
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
303
|
-
*/const YN=[["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"}]],SB=ve("eye",YN);/**
|
|
304
|
-
* @license lucide-react v0.544.0 - ISC
|
|
305
|
-
*
|
|
306
|
-
* This source code is licensed under the ISC license.
|
|
307
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
308
|
-
*/const KN=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]],xB=ve("file-text",KN);/**
|
|
309
|
-
* @license lucide-react v0.544.0 - ISC
|
|
310
|
-
*
|
|
311
|
-
* This source code is licensed under the ISC license.
|
|
312
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
313
|
-
*/const QN=[["path",{d:"M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z",key:"sc7q7i"}]],wB=ve("funnel",QN);/**
|
|
314
|
-
* @license lucide-react v0.544.0 - ISC
|
|
315
|
-
*
|
|
316
|
-
* This source code is licensed under the ISC license.
|
|
317
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
318
|
-
*/const XN=[["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"}]],EB=ve("globe",XN);/**
|
|
319
|
-
* @license lucide-react v0.544.0 - ISC
|
|
320
|
-
*
|
|
321
|
-
* This source code is licensed under the ISC license.
|
|
322
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
323
|
-
*/const WN=[["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"}]],CB=ve("grip-vertical",WN);/**
|
|
324
|
-
* @license lucide-react v0.544.0 - ISC
|
|
325
|
-
*
|
|
326
|
-
* This source code is licensed under the ISC license.
|
|
327
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
328
|
-
*/const ZN=[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"r6nss1"}]],TB=ve("house",ZN);/**
|
|
329
|
-
* @license lucide-react v0.544.0 - ISC
|
|
330
|
-
*
|
|
331
|
-
* This source code is licensed under the ISC license.
|
|
332
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
333
|
-
*/const JN=[["path",{d:"M16 5h6",key:"1vod17"}],["path",{d:"M19 2v6",key:"4bpg5p"}],["path",{d:"M21 11.5V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h7.5",key:"1ue2ih"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}]],RB=ve("image-plus",JN);/**
|
|
334
|
-
* @license lucide-react v0.544.0 - ISC
|
|
335
|
-
*
|
|
336
|
-
* This source code is licensed under the ISC license.
|
|
337
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
338
|
-
*/const ek=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]],OB=ve("image",ek);/**
|
|
339
|
-
* @license lucide-react v0.544.0 - ISC
|
|
340
|
-
*
|
|
341
|
-
* This source code is licensed under the ISC license.
|
|
342
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
343
|
-
*/const tk=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],AB=ve("info",tk);/**
|
|
344
|
-
* @license lucide-react v0.544.0 - ISC
|
|
345
|
-
*
|
|
346
|
-
* This source code is licensed under the ISC license.
|
|
347
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
348
|
-
*/const nk=[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]],_B=ve("link",nk);/**
|
|
349
|
-
* @license lucide-react v0.544.0 - ISC
|
|
350
|
-
*
|
|
351
|
-
* This source code is licensed under the ISC license.
|
|
352
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
353
|
-
*/const rk=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],MB=ve("loader-circle",rk);/**
|
|
354
|
-
* @license lucide-react v0.544.0 - ISC
|
|
355
|
-
*
|
|
356
|
-
* This source code is licensed under the ISC license.
|
|
357
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
358
|
-
*/const ik=[["path",{d:"M12 2v4",key:"3427ic"}],["path",{d:"m16.2 7.8 2.9-2.9",key:"r700ao"}],["path",{d:"M18 12h4",key:"wj9ykh"}],["path",{d:"m16.2 16.2 2.9 2.9",key:"1bxg5t"}],["path",{d:"M12 18v4",key:"jadmvz"}],["path",{d:"m4.9 19.1 2.9-2.9",key:"bwix9q"}],["path",{d:"M2 12h4",key:"j09sii"}],["path",{d:"m4.9 4.9 2.9 2.9",key:"giyufr"}]],NB=ve("loader",ik);/**
|
|
359
|
-
* @license lucide-react v0.544.0 - ISC
|
|
360
|
-
*
|
|
361
|
-
* This source code is licensed under the ISC license.
|
|
362
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
363
|
-
*/const ok=[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]],kB=ve("menu",ok);/**
|
|
364
|
-
* @license lucide-react v0.544.0 - ISC
|
|
365
|
-
*
|
|
366
|
-
* This source code is licensed under the ISC license.
|
|
367
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
368
|
-
*/const ak=[["path",{d:"M12 19v3",key:"npa21l"}],["path",{d:"M19 10v2a7 7 0 0 1-14 0v-2",key:"1vc78b"}],["rect",{x:"9",y:"2",width:"6",height:"13",rx:"3",key:"s6n7sd"}]],DB=ve("mic",ak);/**
|
|
369
|
-
* @license lucide-react v0.544.0 - ISC
|
|
370
|
-
*
|
|
371
|
-
* This source code is licensed under the ISC license.
|
|
372
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
373
|
-
*/const lk=[["path",{d:"m18 8 4 4-4 4",key:"1ak13k"}],["path",{d:"M2 12h20",key:"9i4pu4"}],["path",{d:"m6 8-4 4 4 4",key:"15zrgr"}]],PB=ve("move-horizontal",lk);/**
|
|
374
|
-
* @license lucide-react v0.544.0 - ISC
|
|
375
|
-
*
|
|
376
|
-
* This source code is licensed under the ISC license.
|
|
377
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
378
|
-
*/const sk=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}]],LB=ve("panel-left",sk);/**
|
|
379
|
-
* @license lucide-react v0.544.0 - ISC
|
|
380
|
-
*
|
|
381
|
-
* This source code is licensed under the ISC license.
|
|
382
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
383
|
-
*/const uk=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M15 3v18",key:"14nvp0"}],["path",{d:"m8 9 3 3-3 3",key:"12hl5m"}]],zB=ve("panel-right-close",uk);/**
|
|
384
|
-
* @license lucide-react v0.544.0 - ISC
|
|
385
|
-
*
|
|
386
|
-
* This source code is licensed under the ISC license.
|
|
387
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
388
|
-
*/const ck=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M15 3v18",key:"14nvp0"}]],IB=ve("panel-right",ck);/**
|
|
389
|
-
* @license lucide-react v0.544.0 - ISC
|
|
390
|
-
*
|
|
391
|
-
* This source code is licensed under the ISC license.
|
|
392
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
393
|
-
*/const fk=[["path",{d:"m16 6-8.414 8.586a2 2 0 0 0 2.829 2.829l8.414-8.586a4 4 0 1 0-5.657-5.657l-8.379 8.551a6 6 0 1 0 8.485 8.485l8.379-8.551",key:"1miecu"}]],jB=ve("paperclip",fk);/**
|
|
394
|
-
* @license lucide-react v0.544.0 - ISC
|
|
395
|
-
*
|
|
396
|
-
* This source code is licensed under the ISC license.
|
|
397
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
398
|
-
*/const dk=[["path",{d:"M13 21h8",key:"1jsn5i"}],["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}]],UB=ve("pen-line",dk);/**
|
|
399
|
-
* @license lucide-react v0.544.0 - ISC
|
|
400
|
-
*
|
|
401
|
-
* This source code is licensed under the ISC license.
|
|
402
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
403
|
-
*/const pk=[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]],BB=ve("pencil",pk);/**
|
|
404
|
-
* @license lucide-react v0.544.0 - ISC
|
|
405
|
-
*
|
|
406
|
-
* This source code is licensed under the ISC license.
|
|
407
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
408
|
-
*/const hk=[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",key:"10ikf1"}]],HB=ve("play",hk);/**
|
|
409
|
-
* @license lucide-react v0.544.0 - ISC
|
|
410
|
-
*
|
|
411
|
-
* This source code is licensed under the ISC license.
|
|
412
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
413
|
-
*/const mk=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],FB=ve("plus",mk);/**
|
|
414
|
-
* @license lucide-react v0.544.0 - ISC
|
|
415
|
-
*
|
|
416
|
-
* This source code is licensed under the ISC license.
|
|
417
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
418
|
-
*/const yk=[["path",{d:"M21 12a9 9 0 0 0-9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"14sxne"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M3 12a9 9 0 0 0 9 9 9.75 9.75 0 0 0 6.74-2.74L21 16",key:"1hlbsb"}],["path",{d:"M16 16h5v5",key:"ccwih5"}]],qB=ve("refresh-ccw",yk);/**
|
|
419
|
-
* @license lucide-react v0.544.0 - ISC
|
|
420
|
-
*
|
|
421
|
-
* This source code is licensed under the ISC license.
|
|
422
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
423
|
-
*/const gk=[["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"}]],$B=ve("refresh-cw",gk);/**
|
|
424
|
-
* @license lucide-react v0.544.0 - ISC
|
|
425
|
-
*
|
|
426
|
-
* This source code is licensed under the ISC license.
|
|
427
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
428
|
-
*/const vk=[["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"}]],VB=ve("rotate-ccw",vk);/**
|
|
429
|
-
* @license lucide-react v0.544.0 - ISC
|
|
430
|
-
*
|
|
431
|
-
* This source code is licensed under the ISC license.
|
|
432
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
433
|
-
*/const bk=[["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"}]],GB=ve("save",bk);/**
|
|
434
|
-
* @license lucide-react v0.544.0 - ISC
|
|
435
|
-
*
|
|
436
|
-
* This source code is licensed under the ISC license.
|
|
437
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
438
|
-
*/const Sk=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],YB=ve("search",Sk);/**
|
|
439
|
-
* @license lucide-react v0.544.0 - ISC
|
|
440
|
-
*
|
|
441
|
-
* This source code is licensed under the ISC license.
|
|
442
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
443
|
-
*/const xk=[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]],KB=ve("send",xk);/**
|
|
444
|
-
* @license lucide-react v0.544.0 - ISC
|
|
445
|
-
*
|
|
446
|
-
* This source code is licensed under the ISC license.
|
|
447
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
448
|
-
*/const wk=[["path",{d:"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",key:"1i5ecw"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],QB=ve("settings",wk);/**
|
|
449
|
-
* @license lucide-react v0.544.0 - ISC
|
|
450
|
-
*
|
|
451
|
-
* This source code is licensed under the ISC license.
|
|
452
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
453
|
-
*/const Ek=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],XB=ve("shield-check",Ek);/**
|
|
454
|
-
* @license lucide-react v0.544.0 - ISC
|
|
455
|
-
*
|
|
456
|
-
* This source code is licensed under the ISC license.
|
|
457
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
458
|
-
*/const Ck=[["path",{d:"M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7",key:"1m0v6g"}],["path",{d:"M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z",key:"ohrbg2"}]],WB=ve("square-pen",Ck);/**
|
|
459
|
-
* @license lucide-react v0.544.0 - ISC
|
|
460
|
-
*
|
|
461
|
-
* This source code is licensed under the ISC license.
|
|
462
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
463
|
-
*/const Tk=[["path",{d:"m7 11 2-2-2-2",key:"1lz0vl"}],["path",{d:"M11 13h4",key:"1p7l4v"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}]],ZB=ve("square-terminal",Tk);/**
|
|
464
|
-
* @license lucide-react v0.544.0 - ISC
|
|
465
|
-
*
|
|
466
|
-
* This source code is licensed under the ISC license.
|
|
467
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
468
|
-
*/const Rk=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]],JB=ve("square",Rk);/**
|
|
469
|
-
* @license lucide-react v0.544.0 - ISC
|
|
470
|
-
*
|
|
471
|
-
* This source code is licensed under the ISC license.
|
|
472
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
473
|
-
*/const Ok=[["path",{d:"M13.172 2a2 2 0 0 1 1.414.586l6.71 6.71a2.4 2.4 0 0 1 0 3.408l-4.592 4.592a2.4 2.4 0 0 1-3.408 0l-6.71-6.71A2 2 0 0 1 6 9.172V3a1 1 0 0 1 1-1z",key:"16rjxf"}],["path",{d:"M2 7v6.172a2 2 0 0 0 .586 1.414l6.71 6.71a2.4 2.4 0 0 0 3.191.193",key:"178nd4"}],["circle",{cx:"10.5",cy:"6.5",r:".5",fill:"currentColor",key:"12ikhr"}]],eH=ve("tags",Ok);/**
|
|
474
|
-
* @license lucide-react v0.544.0 - ISC
|
|
475
|
-
*
|
|
476
|
-
* This source code is licensed under the ISC license.
|
|
477
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
478
|
-
*/const Ak=[["path",{d:"M12 19h8",key:"baeox8"}],["path",{d:"m4 17 6-6-6-6",key:"1yngyt"}]],tH=ve("terminal",Ak);/**
|
|
479
|
-
* @license lucide-react v0.544.0 - ISC
|
|
480
|
-
*
|
|
481
|
-
* This source code is licensed under the ISC license.
|
|
482
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
483
|
-
*/const _k=[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]],nH=ve("trash-2",_k);/**
|
|
484
|
-
* @license lucide-react v0.544.0 - ISC
|
|
485
|
-
*
|
|
486
|
-
* This source code is licensed under the ISC license.
|
|
487
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
488
|
-
*/const Mk=[["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]],rH=ve("trash",Mk);/**
|
|
489
|
-
* @license lucide-react v0.544.0 - ISC
|
|
490
|
-
*
|
|
491
|
-
* This source code is licensed under the ISC license.
|
|
492
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
493
|
-
*/const Nk=[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],iH=ve("triangle-alert",Nk);/**
|
|
494
|
-
* @license lucide-react v0.544.0 - ISC
|
|
495
|
-
*
|
|
496
|
-
* This source code is licensed under the ISC license.
|
|
497
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
498
|
-
*/const kk=[["path",{d:"M12 3v12",key:"1x0j5s"}],["path",{d:"m17 8-5-5-5 5",key:"7q97r8"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}]],oH=ve("upload",kk);/**
|
|
499
|
-
* @license lucide-react v0.544.0 - ISC
|
|
500
|
-
*
|
|
501
|
-
* This source code is licensed under the ISC license.
|
|
502
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
503
|
-
*/const Dk=[["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"}]],aH=ve("user",Dk);/**
|
|
504
|
-
* @license lucide-react v0.544.0 - ISC
|
|
505
|
-
*
|
|
506
|
-
* This source code is licensed under the ISC license.
|
|
507
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
508
|
-
*/const Pk=[["path",{d:"M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z",key:"uqj9uw"}],["path",{d:"M16 9a5 5 0 0 1 0 6",key:"1q6k2b"}],["path",{d:"M19.364 18.364a9 9 0 0 0 0-12.728",key:"ijwkga"}]],lH=ve("volume-2",Pk);/**
|
|
509
|
-
* @license lucide-react v0.544.0 - ISC
|
|
510
|
-
*
|
|
511
|
-
* This source code is licensed under the ISC license.
|
|
512
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
513
|
-
*/const Lk=[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z",key:"1ngwbx"}]],sH=ve("wrench",Lk);/**
|
|
514
|
-
* @license lucide-react v0.544.0 - ISC
|
|
515
|
-
*
|
|
516
|
-
* This source code is licensed under the ISC license.
|
|
517
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
518
|
-
*/const zk=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],uH=ve("x",zk);/**
|
|
519
|
-
* @license lucide-react v0.544.0 - ISC
|
|
520
|
-
*
|
|
521
|
-
* This source code is licensed under the ISC license.
|
|
522
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
523
|
-
*/const Ik=[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]],cH=ve("zap",Ik),jk=["top","right","bottom","left"],Ei=Math.min,vn=Math.max,sc=Math.round,qu=Math.floor,hr=a(e=>({x:e,y:e}),"createCoords"),Uk={left:"right",right:"left",bottom:"top",top:"bottom"},Bk={start:"end",end:"start"};function Th(e,t,r){return vn(e,Ei(t,r))}a(Th,"clamp");function qr(e,t){return typeof e=="function"?e(t):e}a(qr,"evaluate");function $r(e){return e.split("-")[0]}a($r,"getSide");function Ca(e){return e.split("-")[1]}a(Ca,"getAlignment");function Sm(e){return e==="x"?"y":"x"}a(Sm,"getOppositeAxis");function xm(e){return e==="y"?"height":"width"}a(xm,"getAxisLength");const Hk=new Set(["top","bottom"]);function cr(e){return Hk.has($r(e))?"y":"x"}a(cr,"getSideAxis");function wm(e){return Sm(cr(e))}a(wm,"getAlignmentAxis");function Fk(e,t,r){r===void 0&&(r=!1);const o=Ca(e),l=wm(e),u=xm(l);let c=l==="x"?o===(r?"end":"start")?"right":"left":o==="start"?"bottom":"top";return t.reference[u]>t.floating[u]&&(c=uc(c)),[c,uc(c)]}a(Fk,"getAlignmentSides");function qk(e){const t=uc(e);return[Rh(e),t,Rh(t)]}a(qk,"getExpandedPlacements");function Rh(e){return e.replace(/start|end/g,t=>Bk[t])}a(Rh,"getOppositeAlignmentPlacement");const X0=["left","right"],W0=["right","left"],$k=["top","bottom"],Vk=["bottom","top"];function Gk(e,t,r){switch(e){case"top":case"bottom":return r?t?W0:X0:t?X0:W0;case"left":case"right":return t?$k:Vk;default:return[]}}a(Gk,"getSideList");function Yk(e,t,r,o){const l=Ca(e);let u=Gk($r(e),r==="start",o);return l&&(u=u.map(c=>c+"-"+l),t&&(u=u.concat(u.map(Rh)))),u}a(Yk,"getOppositeAxisPlacements");function uc(e){return e.replace(/left|right|bottom|top/g,t=>Uk[t])}a(uc,"getOppositePlacement$1");function Kk(e){return{top:0,right:0,bottom:0,left:0,...e}}a(Kk,"expandPaddingObject");function Ix(e){return typeof e!="number"?Kk(e):{top:e,right:e,bottom:e,left:e}}a(Ix,"getPaddingObject");function cc(e){const{x:t,y:r,width:o,height:l}=e;return{width:o,height:l,top:r,left:t,right:t+o,bottom:r+l,x:t,y:r}}a(cc,"rectToClientRect");function Z0(e,t,r){let{reference:o,floating:l}=e;const u=cr(t),c=wm(t),d=xm(c),p=$r(t),h=u==="y",m=o.x+o.width/2-l.width/2,g=o.y+o.height/2-l.height/2,b=o[d]/2-l[d]/2;let S;switch(p){case"top":S={x:m,y:o.y-l.height};break;case"bottom":S={x:m,y:o.y+o.height};break;case"right":S={x:o.x+o.width,y:g};break;case"left":S={x:o.x-l.width,y:g};break;default:S={x:o.x,y:o.y}}switch(Ca(t)){case"start":S[c]-=b*(r&&h?-1:1);break;case"end":S[c]+=b*(r&&h?-1:1);break}return S}a(Z0,"computeCoordsFromPlacement");const Qk=a(async(e,t,r)=>{const{placement:o="bottom",strategy:l="absolute",middleware:u=[],platform:c}=r,d=u.filter(Boolean),p=await(c.isRTL==null?void 0:c.isRTL(t));let h=await c.getElementRects({reference:e,floating:t,strategy:l}),{x:m,y:g}=Z0(h,o,p),b=o,S={},E=0;for(let w=0;w<d.length;w++){const{name:R,fn:C}=d[w],{x:O,y:N,data:L,reset:z}=await C({x:m,y:g,initialPlacement:o,placement:b,strategy:l,middlewareData:S,rects:h,platform:c,elements:{reference:e,floating:t}});m=O??m,g=N??g,S={...S,[R]:{...S[R],...L}},z&&E<=50&&(E++,typeof z=="object"&&(z.placement&&(b=z.placement),z.rects&&(h=z.rects===!0?await c.getElementRects({reference:e,floating:t,strategy:l}):z.rects),{x:m,y:g}=Z0(h,b,p)),w=-1)}return{x:m,y:g,placement:b,strategy:l,middlewareData:S}},"computePosition$1");async function Ql(e,t){var r;t===void 0&&(t={});const{x:o,y:l,platform:u,rects:c,elements:d,strategy:p}=e,{boundary:h="clippingAncestors",rootBoundary:m="viewport",elementContext:g="floating",altBoundary:b=!1,padding:S=0}=qr(t,e),E=Ix(S),R=d[b?g==="floating"?"reference":"floating":g],C=cc(await u.getClippingRect({element:(r=await(u.isElement==null?void 0:u.isElement(R)))==null||r?R:R.contextElement||await(u.getDocumentElement==null?void 0:u.getDocumentElement(d.floating)),boundary:h,rootBoundary:m,strategy:p})),O=g==="floating"?{x:o,y:l,width:c.floating.width,height:c.floating.height}:c.reference,N=await(u.getOffsetParent==null?void 0:u.getOffsetParent(d.floating)),L=await(u.isElement==null?void 0:u.isElement(N))?await(u.getScale==null?void 0:u.getScale(N))||{x:1,y:1}:{x:1,y:1},z=cc(u.convertOffsetParentRelativeRectToViewportRelativeRect?await u.convertOffsetParentRelativeRectToViewportRelativeRect({elements:d,rect:O,offsetParent:N,strategy:p}):O);return{top:(C.top-z.top+E.top)/L.y,bottom:(z.bottom-C.bottom+E.bottom)/L.y,left:(C.left-z.left+E.left)/L.x,right:(z.right-C.right+E.right)/L.x}}a(Ql,"detectOverflow");const Xk=a(e=>({name:"arrow",options:e,async fn(t){const{x:r,y:o,placement:l,rects:u,platform:c,elements:d,middlewareData:p}=t,{element:h,padding:m=0}=qr(e,t)||{};if(h==null)return{};const g=Ix(m),b={x:r,y:o},S=wm(l),E=xm(S),w=await c.getDimensions(h),R=S==="y",C=R?"top":"left",O=R?"bottom":"right",N=R?"clientHeight":"clientWidth",L=u.reference[E]+u.reference[S]-b[S]-u.floating[E],z=b[S]-u.reference[S],D=await(c.getOffsetParent==null?void 0:c.getOffsetParent(h));let j=D?D[N]:0;(!j||!await(c.isElement==null?void 0:c.isElement(D)))&&(j=d.floating[N]||u.floating[E]);const G=L/2-z/2,Y=j/2-w[E]/2-1,J=Ei(g[C],Y),X=Ei(g[O],Y),Z=J,ce=j-w[E]-X,q=j/2-w[E]/2+G,te=Th(Z,q,ce),I=!p.arrow&&Ca(l)!=null&&q!==te&&u.reference[E]/2-(q<Z?J:X)-w[E]/2<0,W=I?q<Z?q-Z:q-ce:0;return{[S]:b[S]+W,data:{[S]:te,centerOffset:q-te-W,...I&&{alignmentOffset:W}},reset:I}}}),"arrow$4"),Wk=a(function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var r,o;const{placement:l,middlewareData:u,rects:c,initialPlacement:d,platform:p,elements:h}=t,{mainAxis:m=!0,crossAxis:g=!0,fallbackPlacements:b,fallbackStrategy:S="bestFit",fallbackAxisSideDirection:E="none",flipAlignment:w=!0,...R}=qr(e,t);if((r=u.arrow)!=null&&r.alignmentOffset)return{};const C=$r(l),O=cr(d),N=$r(d)===d,L=await(p.isRTL==null?void 0:p.isRTL(h.floating)),z=b||(N||!w?[uc(d)]:qk(d)),D=E!=="none";!b&&D&&z.push(...Yk(d,w,E,L));const j=[d,...z],G=await Ql(t,R),Y=[];let J=((o=u.flip)==null?void 0:o.overflows)||[];if(m&&Y.push(G[C]),g){const q=Fk(l,c,L);Y.push(G[q[0]],G[q[1]])}if(J=[...J,{placement:l,overflows:Y}],!Y.every(q=>q<=0)){var X,Z;const q=(((X=u.flip)==null?void 0:X.index)||0)+1,te=j[q];if(te&&(!(g==="alignment"?O!==cr(te):!1)||J.every(ne=>cr(ne.placement)===O?ne.overflows[0]>0:!0)))return{data:{index:q,overflows:J},reset:{placement:te}};let I=(Z=J.filter(W=>W.overflows[0]<=0).sort((W,ne)=>W.overflows[1]-ne.overflows[1])[0])==null?void 0:Z.placement;if(!I)switch(S){case"bestFit":{var ce;const W=(ce=J.filter(ne=>{if(D){const se=cr(ne.placement);return se===O||se==="y"}return!0}).map(ne=>[ne.placement,ne.overflows.filter(se=>se>0).reduce((se,A)=>se+A,0)]).sort((ne,se)=>ne[1]-se[1])[0])==null?void 0:ce[0];W&&(I=W);break}case"initialPlacement":I=d;break}if(l!==I)return{reset:{placement:I}}}return{}}}},"flip$3");function J0(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}a(J0,"getSideOffsets");function e1(e){return jk.some(t=>e[t]>=0)}a(e1,"isAnySideFullyClipped");const Zk=a(function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:r}=t,{strategy:o="referenceHidden",...l}=qr(e,t);switch(o){case"referenceHidden":{const u=await Ql(t,{...l,elementContext:"reference"}),c=J0(u,r.reference);return{data:{referenceHiddenOffsets:c,referenceHidden:e1(c)}}}case"escaped":{const u=await Ql(t,{...l,altBoundary:!0}),c=J0(u,r.floating);return{data:{escapedOffsets:c,escaped:e1(c)}}}default:return{}}}}},"hide$3"),jx=new Set(["left","top"]);async function Jk(e,t){const{placement:r,platform:o,elements:l}=e,u=await(o.isRTL==null?void 0:o.isRTL(l.floating)),c=$r(r),d=Ca(r),p=cr(r)==="y",h=jx.has(c)?-1:1,m=u&&p?-1:1,g=qr(t,e);let{mainAxis:b,crossAxis:S,alignmentAxis:E}=typeof g=="number"?{mainAxis:g,crossAxis:0,alignmentAxis:null}:{mainAxis:g.mainAxis||0,crossAxis:g.crossAxis||0,alignmentAxis:g.alignmentAxis};return d&&typeof E=="number"&&(S=d==="end"?E*-1:E),p?{x:S*m,y:b*h}:{x:b*h,y:S*m}}a(Jk,"convertValueToCoords");const eD=a(function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var r,o;const{x:l,y:u,placement:c,middlewareData:d}=t,p=await Jk(t,e);return c===((r=d.offset)==null?void 0:r.placement)&&(o=d.arrow)!=null&&o.alignmentOffset?{}:{x:l+p.x,y:u+p.y,data:{...p,placement:c}}}}},"offset$3"),tD=a(function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:o,placement:l}=t,{mainAxis:u=!0,crossAxis:c=!1,limiter:d={fn:a(R=>{let{x:C,y:O}=R;return{x:C,y:O}},"fn")},...p}=qr(e,t),h={x:r,y:o},m=await Ql(t,p),g=cr($r(l)),b=Sm(g);let S=h[b],E=h[g];if(u){const R=b==="y"?"top":"left",C=b==="y"?"bottom":"right",O=S+m[R],N=S-m[C];S=Th(O,S,N)}if(c){const R=g==="y"?"top":"left",C=g==="y"?"bottom":"right",O=E+m[R],N=E-m[C];E=Th(O,E,N)}const w=d.fn({...t,[b]:S,[g]:E});return{...w,data:{x:w.x-r,y:w.y-o,enabled:{[b]:u,[g]:c}}}}}},"shift$3"),nD=a(function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:r,y:o,placement:l,rects:u,middlewareData:c}=t,{offset:d=0,mainAxis:p=!0,crossAxis:h=!0}=qr(e,t),m={x:r,y:o},g=cr(l),b=Sm(g);let S=m[b],E=m[g];const w=qr(d,t),R=typeof w=="number"?{mainAxis:w,crossAxis:0}:{mainAxis:0,crossAxis:0,...w};if(p){const N=b==="y"?"height":"width",L=u.reference[b]-u.floating[N]+R.mainAxis,z=u.reference[b]+u.reference[N]-R.mainAxis;S<L?S=L:S>z&&(S=z)}if(h){var C,O;const N=b==="y"?"width":"height",L=jx.has($r(l)),z=u.reference[g]-u.floating[N]+(L&&((C=c.offset)==null?void 0:C[g])||0)+(L?0:R.crossAxis),D=u.reference[g]+u.reference[N]+(L?0:((O=c.offset)==null?void 0:O[g])||0)-(L?R.crossAxis:0);E<z?E=z:E>D&&(E=D)}return{[b]:S,[g]:E}}}},"limitShift$2"),rD=a(function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var r,o;const{placement:l,rects:u,platform:c,elements:d}=t,{apply:p=a(()=>{},"apply"),...h}=qr(e,t),m=await Ql(t,h),g=$r(l),b=Ca(l),S=cr(l)==="y",{width:E,height:w}=u.floating;let R,C;g==="top"||g==="bottom"?(R=g,C=b===(await(c.isRTL==null?void 0:c.isRTL(d.floating))?"start":"end")?"left":"right"):(C=g,R=b==="end"?"top":"bottom");const O=w-m.top-m.bottom,N=E-m.left-m.right,L=Ei(w-m[R],O),z=Ei(E-m[C],N),D=!t.middlewareData.shift;let j=L,G=z;if((r=t.middlewareData.shift)!=null&&r.enabled.x&&(G=N),(o=t.middlewareData.shift)!=null&&o.enabled.y&&(j=O),D&&!b){const J=vn(m.left,0),X=vn(m.right,0),Z=vn(m.top,0),ce=vn(m.bottom,0);S?G=E-2*(J!==0||X!==0?J+X:vn(m.left,m.right)):j=w-2*(Z!==0||ce!==0?Z+ce:vn(m.top,m.bottom))}await p({...t,availableWidth:G,availableHeight:j});const Y=await c.getDimensions(d.floating);return E!==Y.width||w!==Y.height?{reset:{rects:!0}}:{}}}},"size$2");function Pc(){return typeof window<"u"}a(Pc,"hasWindow");function Ta(e){return Ux(e)?(e.nodeName||"").toLowerCase():"#document"}a(Ta,"getNodeName");function Sn(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}a(Sn,"getWindow$1");function br(e){var t;return(t=(Ux(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}a(br,"getDocumentElement");function Ux(e){return Pc()?e instanceof Node||e instanceof Sn(e).Node:!1}a(Ux,"isNode");function Yn(e){return Pc()?e instanceof Element||e instanceof Sn(e).Element:!1}a(Yn,"isElement");function yr(e){return Pc()?e instanceof HTMLElement||e instanceof Sn(e).HTMLElement:!1}a(yr,"isHTMLElement$2");function t1(e){return!Pc()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Sn(e).ShadowRoot}a(t1,"isShadowRoot");const iD=new Set(["inline","contents"]);function us(e){const{overflow:t,overflowX:r,overflowY:o,display:l}=Kn(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+r)&&!iD.has(l)}a(us,"isOverflowElement");const oD=new Set(["table","td","th"]);function aD(e){return oD.has(Ta(e))}a(aD,"isTableElement");const lD=[":popover-open",":modal"];function Lc(e){return lD.some(t=>{try{return e.matches(t)}catch{return!1}})}a(Lc,"isTopLayer");const sD=["transform","translate","scale","rotate","perspective"],uD=["transform","translate","scale","rotate","perspective","filter"],cD=["paint","layout","strict","content"];function Em(e){const t=Cm(),r=Yn(e)?Kn(e):e;return sD.some(o=>r[o]?r[o]!=="none":!1)||(r.containerType?r.containerType!=="normal":!1)||!t&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!t&&(r.filter?r.filter!=="none":!1)||uD.some(o=>(r.willChange||"").includes(o))||cD.some(o=>(r.contain||"").includes(o))}a(Em,"isContainingBlock");function fD(e){let t=Ci(e);for(;yr(t)&&!ma(t);){if(Em(t))return t;if(Lc(t))return null;t=Ci(t)}return null}a(fD,"getContainingBlock");function Cm(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}a(Cm,"isWebKit");const dD=new Set(["html","body","#document"]);function ma(e){return dD.has(Ta(e))}a(ma,"isLastTraversableNode");function Kn(e){return Sn(e).getComputedStyle(e)}a(Kn,"getComputedStyle$1");function zc(e){return Yn(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}a(zc,"getNodeScroll");function Ci(e){if(Ta(e)==="html")return e;const t=e.assignedSlot||e.parentNode||t1(e)&&e.host||br(e);return t1(t)?t.host:t}a(Ci,"getParentNode$1");function Bx(e){const t=Ci(e);return ma(t)?e.ownerDocument?e.ownerDocument.body:e.body:yr(t)&&us(t)?t:Bx(t)}a(Bx,"getNearestOverflowAncestor");function Xl(e,t,r){var o;t===void 0&&(t=[]),r===void 0&&(r=!0);const l=Bx(e),u=l===((o=e.ownerDocument)==null?void 0:o.body),c=Sn(l);if(u){const d=Oh(c);return t.concat(c,c.visualViewport||[],us(l)?l:[],d&&r?Xl(d):[])}return t.concat(l,Xl(l,[],r))}a(Xl,"getOverflowAncestors");function Oh(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}a(Oh,"getFrameElement");function Hx(e){const t=Kn(e);let r=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const l=yr(e),u=l?e.offsetWidth:r,c=l?e.offsetHeight:o,d=sc(r)!==u||sc(o)!==c;return d&&(r=u,o=c),{width:r,height:o,$:d}}a(Hx,"getCssDimensions");function Tm(e){return Yn(e)?e:e.contextElement}a(Tm,"unwrapElement");function ca(e){const t=Tm(e);if(!yr(t))return hr(1);const r=t.getBoundingClientRect(),{width:o,height:l,$:u}=Hx(t);let c=(u?sc(r.width):r.width)/o,d=(u?sc(r.height):r.height)/l;return(!c||!Number.isFinite(c))&&(c=1),(!d||!Number.isFinite(d))&&(d=1),{x:c,y:d}}a(ca,"getScale");const pD=hr(0);function Fx(e){const t=Sn(e);return!Cm()||!t.visualViewport?pD:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}a(Fx,"getVisualOffsets");function hD(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==Sn(e)?!1:t}a(hD,"shouldAddVisualOffsets");function eo(e,t,r,o){t===void 0&&(t=!1),r===void 0&&(r=!1);const l=e.getBoundingClientRect(),u=Tm(e);let c=hr(1);t&&(o?Yn(o)&&(c=ca(o)):c=ca(e));const d=hD(u,r,o)?Fx(u):hr(0);let p=(l.left+d.x)/c.x,h=(l.top+d.y)/c.y,m=l.width/c.x,g=l.height/c.y;if(u){const b=Sn(u),S=o&&Yn(o)?Sn(o):o;let E=b,w=Oh(E);for(;w&&o&&S!==E;){const R=ca(w),C=w.getBoundingClientRect(),O=Kn(w),N=C.left+(w.clientLeft+parseFloat(O.paddingLeft))*R.x,L=C.top+(w.clientTop+parseFloat(O.paddingTop))*R.y;p*=R.x,h*=R.y,m*=R.x,g*=R.y,p+=N,h+=L,E=Sn(w),w=Oh(E)}}return cc({width:m,height:g,x:p,y:h})}a(eo,"getBoundingClientRect$1");function Ic(e,t){const r=zc(e).scrollLeft;return t?t.left+r:eo(br(e)).left+r}a(Ic,"getWindowScrollBarX");function qx(e,t){const r=e.getBoundingClientRect(),o=r.left+t.scrollLeft-Ic(e,r),l=r.top+t.scrollTop;return{x:o,y:l}}a(qx,"getHTMLOffset");function mD(e){let{elements:t,rect:r,offsetParent:o,strategy:l}=e;const u=l==="fixed",c=br(o),d=t?Lc(t.floating):!1;if(o===c||d&&u)return r;let p={scrollLeft:0,scrollTop:0},h=hr(1);const m=hr(0),g=yr(o);if((g||!g&&!u)&&((Ta(o)!=="body"||us(c))&&(p=zc(o)),yr(o))){const S=eo(o);h=ca(o),m.x=S.x+o.clientLeft,m.y=S.y+o.clientTop}const b=c&&!g&&!u?qx(c,p):hr(0);return{width:r.width*h.x,height:r.height*h.y,x:r.x*h.x-p.scrollLeft*h.x+m.x+b.x,y:r.y*h.y-p.scrollTop*h.y+m.y+b.y}}a(mD,"convertOffsetParentRelativeRectToViewportRelativeRect");function yD(e){return Array.from(e.getClientRects())}a(yD,"getClientRects");function gD(e){const t=br(e),r=zc(e),o=e.ownerDocument.body,l=vn(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),u=vn(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight);let c=-r.scrollLeft+Ic(e);const d=-r.scrollTop;return Kn(o).direction==="rtl"&&(c+=vn(t.clientWidth,o.clientWidth)-l),{width:l,height:u,x:c,y:d}}a(gD,"getDocumentRect");const n1=25;function vD(e,t){const r=Sn(e),o=br(e),l=r.visualViewport;let u=o.clientWidth,c=o.clientHeight,d=0,p=0;if(l){u=l.width,c=l.height;const m=Cm();(!m||m&&t==="fixed")&&(d=l.offsetLeft,p=l.offsetTop)}const h=Ic(o);if(h<=0){const m=o.ownerDocument,g=m.body,b=getComputedStyle(g),S=m.compatMode==="CSS1Compat"&&parseFloat(b.marginLeft)+parseFloat(b.marginRight)||0,E=Math.abs(o.clientWidth-g.clientWidth-S);E<=n1&&(u-=E)}else h<=n1&&(u+=h);return{width:u,height:c,x:d,y:p}}a(vD,"getViewportRect");const bD=new Set(["absolute","fixed"]);function SD(e,t){const r=eo(e,!0,t==="fixed"),o=r.top+e.clientTop,l=r.left+e.clientLeft,u=yr(e)?ca(e):hr(1),c=e.clientWidth*u.x,d=e.clientHeight*u.y,p=l*u.x,h=o*u.y;return{width:c,height:d,x:p,y:h}}a(SD,"getInnerBoundingClientRect");function r1(e,t,r){let o;if(t==="viewport")o=vD(e,r);else if(t==="document")o=gD(br(e));else if(Yn(t))o=SD(t,r);else{const l=Fx(e);o={x:t.x-l.x,y:t.y-l.y,width:t.width,height:t.height}}return cc(o)}a(r1,"getClientRectFromClippingAncestor");function $x(e,t){const r=Ci(e);return r===t||!Yn(r)||ma(r)?!1:Kn(r).position==="fixed"||$x(r,t)}a($x,"hasFixedPositionAncestor");function xD(e,t){const r=t.get(e);if(r)return r;let o=Xl(e,[],!1).filter(d=>Yn(d)&&Ta(d)!=="body"),l=null;const u=Kn(e).position==="fixed";let c=u?Ci(e):e;for(;Yn(c)&&!ma(c);){const d=Kn(c),p=Em(c);!p&&d.position==="fixed"&&(l=null),(u?!p&&!l:!p&&d.position==="static"&&!!l&&bD.has(l.position)||us(c)&&!p&&$x(e,c))?o=o.filter(m=>m!==c):l=d,c=Ci(c)}return t.set(e,o),o}a(xD,"getClippingElementAncestors");function wD(e){let{element:t,boundary:r,rootBoundary:o,strategy:l}=e;const c=[...r==="clippingAncestors"?Lc(t)?[]:xD(t,this._c):[].concat(r),o],d=c[0],p=c.reduce((h,m)=>{const g=r1(t,m,l);return h.top=vn(g.top,h.top),h.right=Ei(g.right,h.right),h.bottom=Ei(g.bottom,h.bottom),h.left=vn(g.left,h.left),h},r1(t,d,l));return{width:p.right-p.left,height:p.bottom-p.top,x:p.left,y:p.top}}a(wD,"getClippingRect");function ED(e){const{width:t,height:r}=Hx(e);return{width:t,height:r}}a(ED,"getDimensions");function CD(e,t,r){const o=yr(t),l=br(t),u=r==="fixed",c=eo(e,!0,u,t);let d={scrollLeft:0,scrollTop:0};const p=hr(0);function h(){p.x=Ic(l)}if(a(h,"setLeftRTLScrollbarOffset"),o||!o&&!u)if((Ta(t)!=="body"||us(l))&&(d=zc(t)),o){const S=eo(t,!0,u,t);p.x=S.x+t.clientLeft,p.y=S.y+t.clientTop}else l&&h();u&&!o&&l&&h();const m=l&&!o&&!u?qx(l,d):hr(0),g=c.left+d.scrollLeft-p.x-m.x,b=c.top+d.scrollTop-p.y-m.y;return{x:g,y:b,width:c.width,height:c.height}}a(CD,"getRectRelativeToOffsetParent");function Hp(e){return Kn(e).position==="static"}a(Hp,"isStaticPositioned");function i1(e,t){if(!yr(e)||Kn(e).position==="fixed")return null;if(t)return t(e);let r=e.offsetParent;return br(e)===r&&(r=r.ownerDocument.body),r}a(i1,"getTrueOffsetParent");function Vx(e,t){const r=Sn(e);if(Lc(e))return r;if(!yr(e)){let l=Ci(e);for(;l&&!ma(l);){if(Yn(l)&&!Hp(l))return l;l=Ci(l)}return r}let o=i1(e,t);for(;o&&aD(o)&&Hp(o);)o=i1(o,t);return o&&ma(o)&&Hp(o)&&!Em(o)?r:o||fD(e)||r}a(Vx,"getOffsetParent$1");const TD=a(async function(e){const t=this.getOffsetParent||Vx,r=this.getDimensions,o=await r(e.floating);return{reference:CD(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}},"getElementRects");function RD(e){return Kn(e).direction==="rtl"}a(RD,"isRTL");const OD={convertOffsetParentRelativeRectToViewportRelativeRect:mD,getDocumentElement:br,getClippingRect:wD,getOffsetParent:Vx,getElementRects:TD,getClientRects:yD,getDimensions:ED,getScale:ca,isElement:Yn,isRTL:RD};function Gx(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}a(Gx,"rectsAreEqual");function AD(e,t){let r=null,o;const l=br(e);function u(){var d;clearTimeout(o),(d=r)==null||d.disconnect(),r=null}a(u,"cleanup");function c(d,p){d===void 0&&(d=!1),p===void 0&&(p=1),u();const h=e.getBoundingClientRect(),{left:m,top:g,width:b,height:S}=h;if(d||t(),!b||!S)return;const E=qu(g),w=qu(l.clientWidth-(m+b)),R=qu(l.clientHeight-(g+S)),C=qu(m),N={rootMargin:-E+"px "+-w+"px "+-R+"px "+-C+"px",threshold:vn(0,Ei(1,p))||1};let L=!0;function z(D){const j=D[0].intersectionRatio;if(j!==p){if(!L)return c();j?c(!1,j):o=setTimeout(()=>{c(!1,1e-7)},1e3)}j===1&&!Gx(h,e.getBoundingClientRect())&&c(),L=!1}a(z,"handleObserve");try{r=new IntersectionObserver(z,{...N,root:l.ownerDocument})}catch{r=new IntersectionObserver(z,N)}r.observe(e)}return a(c,"refresh"),c(!0),u}a(AD,"observeMove");function _D(e,t,r,o){o===void 0&&(o={});const{ancestorScroll:l=!0,ancestorResize:u=!0,elementResize:c=typeof ResizeObserver=="function",layoutShift:d=typeof IntersectionObserver=="function",animationFrame:p=!1}=o,h=Tm(e),m=l||u?[...h?Xl(h):[],...Xl(t)]:[];m.forEach(C=>{l&&C.addEventListener("scroll",r,{passive:!0}),u&&C.addEventListener("resize",r)});const g=h&&d?AD(h,r):null;let b=-1,S=null;c&&(S=new ResizeObserver(C=>{let[O]=C;O&&O.target===h&&S&&(S.unobserve(t),cancelAnimationFrame(b),b=requestAnimationFrame(()=>{var N;(N=S)==null||N.observe(t)})),r()}),h&&!p&&S.observe(h),S.observe(t));let E,w=p?eo(e):null;p&&R();function R(){const C=eo(e);w&&!Gx(w,C)&&r(),w=C,E=requestAnimationFrame(R)}return a(R,"frameLoop"),r(),()=>{var C;m.forEach(O=>{l&&O.removeEventListener("scroll",r),u&&O.removeEventListener("resize",r)}),g?.(),(C=S)==null||C.disconnect(),S=null,p&&cancelAnimationFrame(E)}}a(_D,"autoUpdate");const MD=eD,ND=tD,kD=Wk,DD=rD,PD=Zk,o1=Xk,LD=nD,zD=a((e,t,r)=>{const o=new Map,l={platform:OD,...r},u={...l.platform,_c:o};return Qk(e,t,{...l,platform:u})},"computePosition");var ID=typeof document<"u",jD=a(function(){},"noop"),ec=ID?x.useLayoutEffect:jD;function fc(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let r,o,l;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(r=e.length,r!==t.length)return!1;for(o=r;o--!==0;)if(!fc(e[o],t[o]))return!1;return!0}if(l=Object.keys(e),r=l.length,r!==Object.keys(t).length)return!1;for(o=r;o--!==0;)if(!{}.hasOwnProperty.call(t,l[o]))return!1;for(o=r;o--!==0;){const u=l[o];if(!(u==="_owner"&&e.$$typeof)&&!fc(e[u],t[u]))return!1}return!0}return e!==e&&t!==t}a(fc,"deepEqual");function Yx(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}a(Yx,"getDPR");function a1(e,t){const r=Yx(e);return Math.round(t*r)/r}a(a1,"roundByDPR");function Fp(e){const t=x.useRef(e);return ec(()=>{t.current=e}),t}a(Fp,"useLatestRef");function UD(e){e===void 0&&(e={});const{placement:t="bottom",strategy:r="absolute",middleware:o=[],platform:l,elements:{reference:u,floating:c}={},transform:d=!0,whileElementsMounted:p,open:h}=e,[m,g]=x.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[b,S]=x.useState(o);fc(b,o)||S(o);const[E,w]=x.useState(null),[R,C]=x.useState(null),O=x.useCallback(ne=>{ne!==D.current&&(D.current=ne,w(ne))},[]),N=x.useCallback(ne=>{ne!==j.current&&(j.current=ne,C(ne))},[]),L=u||E,z=c||R,D=x.useRef(null),j=x.useRef(null),G=x.useRef(m),Y=p!=null,J=Fp(p),X=Fp(l),Z=Fp(h),ce=x.useCallback(()=>{if(!D.current||!j.current)return;const ne={placement:t,strategy:r,middleware:b};X.current&&(ne.platform=X.current),zD(D.current,j.current,ne).then(se=>{const A={...se,isPositioned:Z.current!==!1};q.current&&!fc(G.current,A)&&(G.current=A,pr.flushSync(()=>{g(A)}))})},[b,t,r,X,Z]);ec(()=>{h===!1&&G.current.isPositioned&&(G.current.isPositioned=!1,g(ne=>({...ne,isPositioned:!1})))},[h]);const q=x.useRef(!1);ec(()=>(q.current=!0,()=>{q.current=!1}),[]),ec(()=>{if(L&&(D.current=L),z&&(j.current=z),L&&z){if(J.current)return J.current(L,z,ce);ce()}},[L,z,ce,J,Y]);const te=x.useMemo(()=>({reference:D,floating:j,setReference:O,setFloating:N}),[O,N]),I=x.useMemo(()=>({reference:L,floating:z}),[L,z]),W=x.useMemo(()=>{const ne={position:r,left:0,top:0};if(!I.floating)return ne;const se=a1(I.floating,m.x),A=a1(I.floating,m.y);return d?{...ne,transform:"translate("+se+"px, "+A+"px)",...Yx(I.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:se,top:A}},[r,d,I.floating,m.x,m.y]);return x.useMemo(()=>({...m,update:ce,refs:te,elements:I,floatingStyles:W}),[m,ce,te,I,W])}a(UD,"useFloating");const BD=a(e=>{function t(r){return{}.hasOwnProperty.call(r,"current")}return a(t,"isRef"),{name:"arrow",options:e,fn(r){const{element:o,padding:l}=typeof e=="function"?e(r):e;return o&&t(o)?o.current!=null?o1({element:o.current,padding:l}).fn(r):{}:o?o1({element:o,padding:l}).fn(r):{}}}},"arrow$1"),HD=a((e,t)=>({...MD(e),options:[e,t]}),"offset$1"),FD=a((e,t)=>({...ND(e),options:[e,t]}),"shift$1"),qD=a((e,t)=>({...LD(e),options:[e,t]}),"limitShift"),$D=a((e,t)=>({...kD(e),options:[e,t]}),"flip$1"),VD=a((e,t)=>({...DD(e),options:[e,t]}),"size"),GD=a((e,t)=>({...PD(e),options:[e,t]}),"hide$1"),YD=a((e,t)=>({...BD(e),options:[e,t]}),"arrow$2");var KD="Arrow",Kx=x.forwardRef((e,t)=>{const{children:r,width:o=10,height:l=5,...u}=e;return k.jsx(Ee.svg,{...u,ref:t,width:o,height:l,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?r:k.jsx("polygon",{points:"0,0 30,0 15,10"})})});Kx.displayName=KD;var QD=Kx;function Qx(e){const[t,r]=x.useState(void 0);return bt(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});const o=new ResizeObserver(l=>{if(!Array.isArray(l)||!l.length)return;const u=l[0];let c,d;if("borderBoxSize"in u){const p=u.borderBoxSize,h=Array.isArray(p)?p[0]:p;c=h.inlineSize,d=h.blockSize}else c=e.offsetWidth,d=e.offsetHeight;r({width:c,height:d})});return o.observe(e,{box:"border-box"}),()=>o.unobserve(e)}else r(void 0)},[e]),t}a(Qx,"useSize");var Rm="Popper",[Xx,Ra]=Gt(Rm),[XD,Wx]=Xx(Rm),Zx=a(e=>{const{__scopePopper:t,children:r}=e,[o,l]=x.useState(null);return k.jsx(XD,{scope:t,anchor:o,onAnchorChange:l,children:r})},"Popper$1");Zx.displayName=Rm;var Jx="PopperAnchor",ew=x.forwardRef((e,t)=>{const{__scopePopper:r,virtualRef:o,...l}=e,u=Wx(Jx,r),c=x.useRef(null),d=ze(t,c),p=x.useRef(null);return x.useEffect(()=>{const h=p.current;p.current=o?.current||c.current,h!==p.current&&u.onAnchorChange(p.current)}),o?null:k.jsx(Ee.div,{...l,ref:d})});ew.displayName=Jx;var Om="PopperContent",[WD,ZD]=Xx(Om),tw=x.forwardRef((e,t)=>{const{__scopePopper:r,side:o="bottom",sideOffset:l=0,align:u="center",alignOffset:c=0,arrowPadding:d=0,avoidCollisions:p=!0,collisionBoundary:h=[],collisionPadding:m=0,sticky:g="partial",hideWhenDetached:b=!1,updatePositionStrategy:S="optimized",onPlaced:E,...w}=e,R=Wx(Om,r),[C,O]=x.useState(null),N=ze(t,Q=>O(Q)),[L,z]=x.useState(null),D=Qx(L),j=D?.width??0,G=D?.height??0,Y=o+(u!=="center"?"-"+u:""),J=typeof m=="number"?m:{top:0,right:0,bottom:0,left:0,...m},X=Array.isArray(h)?h:[h],Z=X.length>0,ce={padding:J,boundary:X.filter(eP),altBoundary:Z},{refs:q,floatingStyles:te,placement:I,isPositioned:W,middlewareData:ne}=UD({strategy:"fixed",placement:Y,whileElementsMounted:a((...Q)=>_D(...Q,{animationFrame:S==="always"}),"whileElementsMounted"),elements:{reference:R.anchor},middleware:[HD({mainAxis:l+G,alignmentAxis:c}),p&&FD({mainAxis:!0,crossAxis:!1,limiter:g==="partial"?qD():void 0,...ce}),p&&$D({...ce}),VD({...ce,apply:a(({elements:Q,rects:fe,availableWidth:Ce,availableHeight:Te})=>{const{width:Pe,height:qe}=fe.reference,Ie=Q.floating.style;Ie.setProperty("--radix-popper-available-width",`${Ce}px`),Ie.setProperty("--radix-popper-available-height",`${Te}px`),Ie.setProperty("--radix-popper-anchor-width",`${Pe}px`),Ie.setProperty("--radix-popper-anchor-height",`${qe}px`)},"apply")}),L&&YD({element:L,padding:d}),tP({arrowWidth:j,arrowHeight:G}),b&&GD({strategy:"referenceHidden",...ce})]}),[se,A]=iw(I),K=vt(E);bt(()=>{W&&K?.()},[W,K]);const de=ne.arrow?.x,_=ne.arrow?.y,re=ne.arrow?.centerOffset!==0,[me,ae]=x.useState();return bt(()=>{C&&ae(window.getComputedStyle(C).zIndex)},[C]),k.jsx("div",{ref:q.setFloating,"data-radix-popper-content-wrapper":"",style:{...te,transform:W?te.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:me,"--radix-popper-transform-origin":[ne.transformOrigin?.x,ne.transformOrigin?.y].join(" "),...ne.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:k.jsx(WD,{scope:r,placedSide:se,onArrowChange:z,arrowX:de,arrowY:_,shouldHideArrow:re,children:k.jsx(Ee.div,{"data-side":se,"data-align":A,...w,ref:N,style:{...w.style,animation:W?void 0:"none"}})})})});tw.displayName=Om;var nw="PopperArrow",JD={top:"bottom",right:"left",bottom:"top",left:"right"},rw=x.forwardRef(a(function(t,r){const{__scopePopper:o,...l}=t,u=ZD(nw,o),c=JD[u.placedSide];return k.jsx("span",{ref:u.onArrowChange,style:{position:"absolute",left:u.arrowX,top:u.arrowY,[c]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[u.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[u.placedSide],visibility:u.shouldHideArrow?"hidden":void 0},children:k.jsx(QD,{...l,ref:r,style:{...l.style,display:"block"}})})},"PopperArrow2"));rw.displayName=nw;function eP(e){return e!==null}a(eP,"isNotNull");var tP=a(e=>({name:"transformOrigin",options:e,fn(t){const{placement:r,rects:o,middlewareData:l}=t,c=l.arrow?.centerOffset!==0,d=c?0:e.arrowWidth,p=c?0:e.arrowHeight,[h,m]=iw(r),g={start:"0%",center:"50%",end:"100%"}[m],b=(l.arrow?.x??0)+d/2,S=(l.arrow?.y??0)+p/2;let E="",w="";return h==="bottom"?(E=c?g:`${b}px`,w=`${-p}px`):h==="top"?(E=c?g:`${b}px`,w=`${o.floating.height+p}px`):h==="right"?(E=`${-p}px`,w=c?g:`${S}px`):h==="left"&&(E=`${o.floating.width+p}px`,w=c?g:`${S}px`),{data:{x:E,y:w}}}}),"transformOrigin");function iw(e){const[t,r="center"]=e.split("-");return[t,r]}a(iw,"getSideAndAlignFromPlacement");var Am=Zx,_m=ew,Mm=tw,Nm=rw,ow=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"}),nP="VisuallyHidden",jc=x.forwardRef((e,t)=>k.jsx(Ee.span,{...e,ref:t,style:{...ow,...e.style}}));jc.displayName=nP;var rP=jc,[Uc]=Gt("Tooltip",[Ra]),Bc=Ra(),aw="TooltipProvider",iP=700,Ah="tooltip.open",[oP,km]=Uc(aw),lw=a(e=>{const{__scopeTooltip:t,delayDuration:r=iP,skipDelayDuration:o=300,disableHoverableContent:l=!1,children:u}=e,c=x.useRef(!0),d=x.useRef(!1),p=x.useRef(0);return x.useEffect(()=>{const h=p.current;return()=>window.clearTimeout(h)},[]),k.jsx(oP,{scope:t,isOpenDelayedRef:c,delayDuration:r,onOpen:x.useCallback(()=>{window.clearTimeout(p.current),c.current=!1},[]),onClose:x.useCallback(()=>{window.clearTimeout(p.current),p.current=window.setTimeout(()=>c.current=!0,o)},[o]),isPointerInTransitRef:d,onPointerInTransitChange:x.useCallback(h=>{d.current=h},[]),disableHoverableContent:l,children:u})},"TooltipProvider");lw.displayName=aw;var Wl="Tooltip",[aP,cs]=Uc(Wl),sw=a(e=>{const{__scopeTooltip:t,children:r,open:o,defaultOpen:l,onOpenChange:u,disableHoverableContent:c,delayDuration:d}=e,p=km(Wl,e.__scopeTooltip),h=Bc(t),[m,g]=x.useState(null),b=Ln(),S=x.useRef(0),E=c??p.disableHoverableContent,w=d??p.delayDuration,R=x.useRef(!1),[C,O]=mr({prop:o,defaultProp:l??!1,onChange:a(j=>{j?(p.onOpen(),document.dispatchEvent(new CustomEvent(Ah))):p.onClose(),u?.(j)},"onChange"),caller:Wl}),N=x.useMemo(()=>C?R.current?"delayed-open":"instant-open":"closed",[C]),L=x.useCallback(()=>{window.clearTimeout(S.current),S.current=0,R.current=!1,O(!0)},[O]),z=x.useCallback(()=>{window.clearTimeout(S.current),S.current=0,O(!1)},[O]),D=x.useCallback(()=>{window.clearTimeout(S.current),S.current=window.setTimeout(()=>{R.current=!0,O(!0),S.current=0},w)},[w,O]);return x.useEffect(()=>()=>{S.current&&(window.clearTimeout(S.current),S.current=0)},[]),k.jsx(Am,{...h,children:k.jsx(aP,{scope:t,contentId:b,open:C,stateAttribute:N,trigger:m,onTriggerChange:g,onTriggerEnter:x.useCallback(()=>{p.isOpenDelayedRef.current?D():L()},[p.isOpenDelayedRef,D,L]),onTriggerLeave:x.useCallback(()=>{E?z():(window.clearTimeout(S.current),S.current=0)},[z,E]),onOpen:L,onClose:z,disableHoverableContent:E,children:r})})},"Tooltip");sw.displayName=Wl;var _h="TooltipTrigger",uw=x.forwardRef((e,t)=>{const{__scopeTooltip:r,...o}=e,l=cs(_h,r),u=km(_h,r),c=Bc(r),d=x.useRef(null),p=ze(t,d,l.onTriggerChange),h=x.useRef(!1),m=x.useRef(!1),g=x.useCallback(()=>h.current=!1,[]);return x.useEffect(()=>()=>document.removeEventListener("pointerup",g),[g]),k.jsx(_m,{asChild:!0,...c,children:k.jsx(Ee.button,{"aria-describedby":l.open?l.contentId:void 0,"data-state":l.stateAttribute,...o,ref:p,onPointerMove:ge(e.onPointerMove,b=>{b.pointerType!=="touch"&&!m.current&&!u.isPointerInTransitRef.current&&(l.onTriggerEnter(),m.current=!0)}),onPointerLeave:ge(e.onPointerLeave,()=>{l.onTriggerLeave(),m.current=!1}),onPointerDown:ge(e.onPointerDown,()=>{l.open&&l.onClose(),h.current=!0,document.addEventListener("pointerup",g,{once:!0})}),onFocus:ge(e.onFocus,()=>{h.current||l.onOpen()}),onBlur:ge(e.onBlur,l.onClose),onClick:ge(e.onClick,l.onClose)})})});uw.displayName=_h;var Dm="TooltipPortal",[lP,sP]=Uc(Dm,{forceMount:void 0}),cw=a(e=>{const{__scopeTooltip:t,forceMount:r,children:o,container:l}=e,u=cs(Dm,t);return k.jsx(lP,{scope:t,forceMount:r,children:k.jsx(It,{present:r||u.open,children:k.jsx(Ea,{asChild:!0,container:l,children:o})})})},"TooltipPortal");cw.displayName=Dm;var ya="TooltipContent",fw=x.forwardRef((e,t)=>{const r=sP(ya,e.__scopeTooltip),{forceMount:o=r.forceMount,side:l="top",...u}=e,c=cs(ya,e.__scopeTooltip);return k.jsx(It,{present:o||c.open,children:c.disableHoverableContent?k.jsx(dw,{side:l,...u,ref:t}):k.jsx(uP,{side:l,...u,ref:t})})}),uP=x.forwardRef((e,t)=>{const r=cs(ya,e.__scopeTooltip),o=km(ya,e.__scopeTooltip),l=x.useRef(null),u=ze(t,l),[c,d]=x.useState(null),{trigger:p,onClose:h}=r,m=l.current,{onPointerInTransitChange:g}=o,b=x.useCallback(()=>{d(null),g(!1)},[g]),S=x.useCallback((E,w)=>{const R=E.currentTarget,C={x:E.clientX,y:E.clientY},O=hP(C,R.getBoundingClientRect()),N=mP(C,O),L=yP(w.getBoundingClientRect()),z=vP([...N,...L]);d(z),g(!0)},[g]);return x.useEffect(()=>()=>b(),[b]),x.useEffect(()=>{if(p&&m){const E=a(R=>S(R,m),"handleTriggerLeave"),w=a(R=>S(R,p),"handleContentLeave");return p.addEventListener("pointerleave",E),m.addEventListener("pointerleave",w),()=>{p.removeEventListener("pointerleave",E),m.removeEventListener("pointerleave",w)}}},[p,m,S,b]),x.useEffect(()=>{if(c){const E=a(w=>{const R=w.target,C={x:w.clientX,y:w.clientY},O=p?.contains(R)||m?.contains(R),N=!gP(C,c);O?b():N&&(b(),h())},"handleTrackPointerGrace");return document.addEventListener("pointermove",E),()=>document.removeEventListener("pointermove",E)}},[p,m,c,h,b]),k.jsx(dw,{...e,ref:u})}),[cP,fP]=Uc(Wl,{isInside:!1}),dP=ix("TooltipContent"),dw=x.forwardRef((e,t)=>{const{__scopeTooltip:r,children:o,"aria-label":l,onEscapeKeyDown:u,onPointerDownOutside:c,...d}=e,p=cs(ya,r),h=Bc(r),{onClose:m}=p;return x.useEffect(()=>(document.addEventListener(Ah,m),()=>document.removeEventListener(Ah,m)),[m]),x.useEffect(()=>{if(p.trigger){const g=a(b=>{b.target?.contains(p.trigger)&&m()},"handleScroll");return window.addEventListener("scroll",g,{capture:!0}),()=>window.removeEventListener("scroll",g,{capture:!0})}},[p.trigger,m]),k.jsx(wa,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:u,onPointerDownOutside:c,onFocusOutside:a(g=>g.preventDefault(),"onFocusOutside"),onDismiss:m,children:k.jsxs(Mm,{"data-state":p.stateAttribute,...h,...d,ref:t,style:{...d.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[k.jsx(dP,{children:o}),k.jsx(cP,{scope:r,isInside:!0,children:k.jsx(rP,{id:p.contentId,role:"tooltip",children:l||o})})]})})});fw.displayName=ya;var pw="TooltipArrow",pP=x.forwardRef((e,t)=>{const{__scopeTooltip:r,...o}=e,l=Bc(r);return fP(pw,r).isInside?null:k.jsx(Nm,{...l,...o,ref:t})});pP.displayName=pw;function hP(e,t){const r=Math.abs(t.top-e.y),o=Math.abs(t.bottom-e.y),l=Math.abs(t.right-e.x),u=Math.abs(t.left-e.x);switch(Math.min(r,o,l,u)){case u:return"left";case l:return"right";case r:return"top";case o:return"bottom";default:throw new Error("unreachable")}}a(hP,"getExitSideFromRect");function mP(e,t,r=5){const o=[];switch(t){case"top":o.push({x:e.x-r,y:e.y+r},{x:e.x+r,y:e.y+r});break;case"bottom":o.push({x:e.x-r,y:e.y-r},{x:e.x+r,y:e.y-r});break;case"left":o.push({x:e.x+r,y:e.y-r},{x:e.x+r,y:e.y+r});break;case"right":o.push({x:e.x-r,y:e.y-r},{x:e.x-r,y:e.y+r});break}return o}a(mP,"getPaddedExitPoints");function yP(e){const{top:t,right:r,bottom:o,left:l}=e;return[{x:l,y:t},{x:r,y:t},{x:r,y:o},{x:l,y:o}]}a(yP,"getPointsFromRect");function gP(e,t){const{x:r,y:o}=e;let l=!1;for(let u=0,c=t.length-1;u<t.length;c=u++){const d=t[u],p=t[c],h=d.x,m=d.y,g=p.x,b=p.y;m>o!=b>o&&r<(g-h)*(o-m)/(b-m)+h&&(l=!l)}return l}a(gP,"isPointInPolygon$1");function vP(e){const t=e.slice();return t.sort((r,o)=>r.x<o.x?-1:r.x>o.x?1:r.y<o.y?-1:r.y>o.y?1:0),bP(t)}a(vP,"getHull");function bP(e){if(e.length<=1)return e.slice();const t=[];for(let o=0;o<e.length;o++){const l=e[o];for(;t.length>=2;){const u=t[t.length-1],c=t[t.length-2];if((u.x-c.x)*(l.y-c.y)>=(u.y-c.y)*(l.x-c.x))t.pop();else break}t.push(l)}t.pop();const r=[];for(let o=e.length-1;o>=0;o--){const l=e[o];for(;r.length>=2;){const u=r[r.length-1],c=r[r.length-2];if((u.x-c.x)*(l.y-c.y)>=(u.y-c.y)*(l.x-c.x))r.pop();else break}r.push(l)}return r.pop(),t.length===1&&r.length===1&&t[0].x===r[0].x&&t[0].y===r[0].y?t:t.concat(r)}a(bP,"getHullPresorted");var fH=lw,dH=sw,pH=uw,hH=cw,mH=fw,lo=class{static{a(this,"Subscribable")}constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},SP={setTimeout:a((e,t)=>setTimeout(e,t),"setTimeout"),clearTimeout:a(e=>clearTimeout(e),"clearTimeout"),setInterval:a((e,t)=>setInterval(e,t),"setInterval"),clearInterval:a(e=>clearInterval(e),"clearInterval")},xP=class{static{a(this,"TimeoutManager")}#t=SP;#e=!1;setTimeoutProvider(e){this.#t=e}setTimeout(e,t){return this.#t.setTimeout(e,t)}clearTimeout(e){this.#t.clearTimeout(e)}setInterval(e,t){return this.#t.setInterval(e,t)}clearInterval(e){this.#t.clearInterval(e)}},Qi=new xP;function wP(e){setTimeout(e,0)}a(wP,"systemSetTimeoutZero");var to=typeof window>"u"||"Deno"in globalThis;function Ht(){}a(Ht,"noop$2");function EP(e,t){return typeof e=="function"?e(t):e}a(EP,"functionalUpdate");function Mh(e){return typeof e=="number"&&e>=0&&e!==1/0}a(Mh,"isValidTimeout");function hw(e,t){return Math.max(e+(t||0)-Date.now(),0)}a(hw,"timeUntilStale");function wi(e,t){return typeof e=="function"?e(t):e}a(wi,"resolveStaleTime");function kn(e,t){return typeof e=="function"?e(t):e}a(kn,"resolveEnabled");function l1(e,t){const{type:r="all",exact:o,fetchStatus:l,predicate:u,queryKey:c,stale:d}=e;if(c){if(o){if(t.queryHash!==Pm(c,t.options))return!1}else if(!Zl(t.queryKey,c))return!1}if(r!=="all"){const p=t.isActive();if(r==="active"&&!p||r==="inactive"&&p)return!1}return!(typeof d=="boolean"&&t.isStale()!==d||l&&l!==t.state.fetchStatus||u&&!u(t))}a(l1,"matchQuery");function s1(e,t){const{exact:r,status:o,predicate:l,mutationKey:u}=e;if(u){if(!t.options.mutationKey)return!1;if(r){if(no(t.options.mutationKey)!==no(u))return!1}else if(!Zl(t.options.mutationKey,u))return!1}return!(o&&t.state.status!==o||l&&!l(t))}a(s1,"matchMutation");function Pm(e,t){return(t?.queryKeyHashFn||no)(e)}a(Pm,"hashQueryKeyByOptions");function no(e){return JSON.stringify(e,(t,r)=>Nh(r)?Object.keys(r).sort().reduce((o,l)=>(o[l]=r[l],o),{}):r)}a(no,"hashKey");function Zl(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(r=>Zl(e[r],t[r])):!1}a(Zl,"partialMatchKey");var CP=Object.prototype.hasOwnProperty;function Lm(e,t){if(e===t)return e;const r=u1(e)&&u1(t);if(!r&&!(Nh(e)&&Nh(t)))return t;const l=(r?e:Object.keys(e)).length,u=r?t:Object.keys(t),c=u.length,d=r?new Array(c):{};let p=0;for(let h=0;h<c;h++){const m=r?h:u[h],g=e[m],b=t[m];if(g===b){d[m]=g,(r?h<l:CP.call(e,m))&&p++;continue}if(g===null||b===null||typeof g!="object"||typeof b!="object"){d[m]=b;continue}const S=Lm(g,b);d[m]=S,S===g&&p++}return l===c&&p===l?e:d}a(Lm,"replaceEqualDeep");function Jl(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(const r in e)if(e[r]!==t[r])return!1;return!0}a(Jl,"shallowEqualObjects");function u1(e){return Array.isArray(e)&&e.length===Object.keys(e).length}a(u1,"isPlainArray");function Nh(e){if(!c1(e))return!1;const t=e.constructor;if(t===void 0)return!0;const r=t.prototype;return!(!c1(r)||!r.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}a(Nh,"isPlainObject$1");function c1(e){return Object.prototype.toString.call(e)==="[object Object]"}a(c1,"hasObjectPrototype");function TP(e){return new Promise(t=>{Qi.setTimeout(t,e)})}a(TP,"sleep");function kh(e,t,r){return typeof r.structuralSharing=="function"?r.structuralSharing(e,t):r.structuralSharing!==!1?Lm(e,t):t}a(kh,"replaceData");function RP(e,t,r=0){const o=[...e,t];return r&&o.length>r?o.slice(1):o}a(RP,"addToEnd");function OP(e,t,r=0){const o=[t,...e];return r&&o.length>r?o.slice(0,-1):o}a(OP,"addToStart");var zm=Symbol();function mw(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:!e.queryFn||e.queryFn===zm?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}a(mw,"ensureQueryFn");function yw(e,t){return typeof e=="function"?e(...t):!!e}a(yw,"shouldThrowError");var AP=class extends lo{static{a(this,"FocusManager")}#t;#e;#n;constructor(){super(),this.#n=e=>{if(!to&&window.addEventListener){const t=a(()=>e(),"listener");return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}}}onSubscribe(){this.#e||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#e?.(),this.#e=void 0)}setEventListener(e){this.#n=e,this.#e?.(),this.#e=e(t=>{typeof t=="boolean"?this.setFocused(t):this.onFocus()})}setFocused(e){this.#t!==e&&(this.#t=e,this.onFocus())}onFocus(){const e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){return typeof this.#t=="boolean"?this.#t:globalThis.document?.visibilityState!=="hidden"}},Im=new AP;function Dh(){let e,t;const r=new Promise((l,u)=>{e=l,t=u});r.status="pending",r.catch(()=>{});function o(l){Object.assign(r,l),delete r.resolve,delete r.reject}return a(o,"finalize"),r.resolve=l=>{o({status:"fulfilled",value:l}),e(l)},r.reject=l=>{o({status:"rejected",reason:l}),t(l)},r}a(Dh,"pendingThenable");var _P=wP;function MP(){let e=[],t=0,r=a(d=>{d()},"notifyFn"),o=a(d=>{d()},"batchNotifyFn"),l=_P;const u=a(d=>{t?e.push(d):l(()=>{r(d)})},"schedule"),c=a(()=>{const d=e;e=[],d.length&&l(()=>{o(()=>{d.forEach(p=>{r(p)})})})},"flush");return{batch:a(d=>{let p;t++;try{p=d()}finally{t--,t||c()}return p},"batch"),batchCalls:a(d=>(...p)=>{u(()=>{d(...p)})},"batchCalls"),schedule:u,setNotifyFunction:a(d=>{r=d},"setNotifyFunction"),setBatchNotifyFunction:a(d=>{o=d},"setBatchNotifyFunction"),setScheduler:a(d=>{l=d},"setScheduler")}}a(MP,"createNotifyManager");var gt=MP(),NP=class extends lo{static{a(this,"OnlineManager")}#t=!0;#e;#n;constructor(){super(),this.#n=e=>{if(!to&&window.addEventListener){const t=a(()=>e(!0),"onlineListener"),r=a(()=>e(!1),"offlineListener");return window.addEventListener("online",t,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",r)}}}}onSubscribe(){this.#e||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#e?.(),this.#e=void 0)}setEventListener(e){this.#n=e,this.#e?.(),this.#e=e(this.setOnline.bind(this))}setOnline(e){this.#t!==e&&(this.#t=e,this.listeners.forEach(r=>{r(e)}))}isOnline(){return this.#t}},dc=new NP;function kP(e){return Math.min(1e3*2**e,3e4)}a(kP,"defaultRetryDelay");function gw(e){return(e??"online")==="online"?dc.isOnline():!0}a(gw,"canFetch");var Ph=class extends Error{static{a(this,"CancelledError")}constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function vw(e){let t=!1,r=0,o;const l=Dh(),u=a(()=>l.status!=="pending","isResolved"),c=a(w=>{if(!u()){const R=new Ph(w);b(R),e.onCancel?.(R)}},"cancel"),d=a(()=>{t=!0},"cancelRetry"),p=a(()=>{t=!1},"continueRetry"),h=a(()=>Im.isFocused()&&(e.networkMode==="always"||dc.isOnline())&&e.canRun(),"canContinue"),m=a(()=>gw(e.networkMode)&&e.canRun(),"canStart"),g=a(w=>{u()||(o?.(),l.resolve(w))},"resolve"),b=a(w=>{u()||(o?.(),l.reject(w))},"reject"),S=a(()=>new Promise(w=>{o=a(R=>{(u()||h())&&w(R)},"continueFn"),e.onPause?.()}).then(()=>{o=void 0,u()||e.onContinue?.()}),"pause"),E=a(()=>{if(u())return;let w;const R=r===0?e.initialPromise:void 0;try{w=R??e.fn()}catch(C){w=Promise.reject(C)}Promise.resolve(w).then(g).catch(C=>{if(u())return;const O=e.retry??(to?0:3),N=e.retryDelay??kP,L=typeof N=="function"?N(r,C):N,z=O===!0||typeof O=="number"&&r<O||typeof O=="function"&&O(r,C);if(t||!z){b(C);return}r++,e.onFail?.(r,C),TP(L).then(()=>h()?void 0:S()).then(()=>{t?b(C):E()})})},"run");return{promise:l,status:a(()=>l.status,"status"),cancel:c,continue:a(()=>(o?.(),l),"continue"),cancelRetry:d,continueRetry:p,canStart:m,start:a(()=>(m()?E():S().then(E),l),"start")}}a(vw,"createRetryer");var bw=class{static{a(this,"Removable")}#t;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Mh(this.gcTime)&&(this.#t=Qi.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(to?1/0:300*1e3))}clearGcTimeout(){this.#t&&(Qi.clearTimeout(this.#t),this.#t=void 0)}},DP=class extends bw{static{a(this,"Query")}#t;#e;#n;#i;#r;#o;#l;constructor(e){super(),this.#l=!1,this.#o=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#i=e.client,this.#n=this.#i.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#t=f1(this.options),this.state=e.state??this.#t,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#r?.promise}setOptions(e){if(this.options={...this.#o,...e},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const t=f1(this.options);t.data!==void 0&&(this.setData(t.data,{updatedAt:t.dataUpdatedAt,manual:!0}),this.#t=t)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.#n.remove(this)}setData(e,t){const r=kh(this.state.data,e,this.options);return this.#a({data:r,type:"success",dataUpdatedAt:t?.updatedAt,manual:t?.manual}),r}setState(e,t){this.#a({type:"setState",state:e,setStateOptions:t})}cancel(e){const t=this.#r?.promise;return this.#r?.cancel(e),t?t.then(Ht).catch(Ht):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#t)}isActive(){return this.observers.some(e=>kn(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===zm||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(e=>wi(e.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(e=0){return this.state.data===void 0?!0:e==="static"?!1:this.state.isInvalidated?!0:!hw(this.state.dataUpdatedAt,e)}onFocus(){this.observers.find(t=>t.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#r?.continue()}onOnline(){this.observers.find(t=>t.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#r?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#n.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(this.#r&&(this.#l?this.#r.cancel({revert:!0}):this.#r.cancelRetry()),this.scheduleGc()),this.#n.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#a({type:"invalidate"})}async fetch(e,t){if(this.state.fetchStatus!=="idle"&&this.#r?.status()!=="rejected"){if(this.state.data!==void 0&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#r)return this.#r.continueRetry(),this.#r.promise}if(e&&this.setOptions(e),!this.options.queryFn){const d=this.observers.find(p=>p.options.queryFn);d&&this.setOptions(d.options)}const r=new AbortController,o=a(d=>{Object.defineProperty(d,"signal",{enumerable:!0,get:a(()=>(this.#l=!0,r.signal),"get")})},"addSignalProperty"),l=a(()=>{const d=mw(this.options,t),h=a(()=>{const m={client:this.#i,queryKey:this.queryKey,meta:this.meta};return o(m),m},"createQueryFnContext")();return this.#l=!1,this.options.persister?this.options.persister(d,h,this):d(h)},"fetchFn"),c=a(()=>{const d={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:this.#i,state:this.state,fetchFn:l};return o(d),d},"createFetchContext")();this.options.behavior?.onFetch(c,this),this.#e=this.state,(this.state.fetchStatus==="idle"||this.state.fetchMeta!==c.fetchOptions?.meta)&&this.#a({type:"fetch",meta:c.fetchOptions?.meta}),this.#r=vw({initialPromise:t?.initialPromise,fn:c.fetchFn,onCancel:a(d=>{d instanceof Ph&&d.revert&&this.setState({...this.#e,fetchStatus:"idle"}),r.abort()},"onCancel"),onFail:a((d,p)=>{this.#a({type:"failed",failureCount:d,error:p})},"onFail"),onPause:a(()=>{this.#a({type:"pause"})},"onPause"),onContinue:a(()=>{this.#a({type:"continue"})},"onContinue"),retry:c.options.retry,retryDelay:c.options.retryDelay,networkMode:c.options.networkMode,canRun:a(()=>!0,"canRun")});try{const d=await this.#r.start();if(d===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(d),this.#n.config.onSuccess?.(d,this),this.#n.config.onSettled?.(d,this.state.error,this),d}catch(d){if(d instanceof Ph){if(d.silent)return this.#r.promise;if(d.revert){if(this.state.data===void 0)throw d;return this.state.data}}throw this.#a({type:"error",error:d}),this.#n.config.onError?.(d,this),this.#n.config.onSettled?.(this.state.data,d,this),d}finally{this.scheduleGc()}}#a(e){const t=a(r=>{switch(e.type){case"failed":return{...r,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,...Sw(r.data,this.options),fetchMeta:e.meta??null};case"success":const o={...r,data:e.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:e.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#e=e.manual?o:void 0,o;case"error":const l=e.error;return{...r,error:l,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:l,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...e.state}}},"reducer");this.state=t(this.state),gt.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),this.#n.notify({query:this,type:"updated",action:e})})}};function Sw(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:gw(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}a(Sw,"fetchState");function f1(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,r=t!==void 0,o=r?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:r?o??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:r?"success":"pending",fetchStatus:"idle"}}a(f1,"getDefaultState$1");var jm=class extends lo{static{a(this,"QueryObserver")}constructor(e,t){super(),this.options=t,this.#t=e,this.#a=null,this.#l=Dh(),this.bindMethods(),this.setOptions(t)}#t;#e=void 0;#n=void 0;#i=void 0;#r;#o;#l;#a;#p;#f;#d;#u;#c;#s;#m=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(this.#e.addObserver(this),d1(this.#e,this.options)?this.#h():this.updateResult(),this.#b())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Lh(this.#e,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Lh(this.#e,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#S(),this.#x(),this.#e.removeObserver(this)}setOptions(e){const t=this.options,r=this.#e;if(this.options=this.#t.defaultQueryOptions(e),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof kn(this.options.enabled,this.#e)!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#w(),this.#e.setOptions(this.options),t._defaulted&&!Jl(this.options,t)&&this.#t.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#e,observer:this});const o=this.hasListeners();o&&p1(this.#e,r,this.options,t)&&this.#h(),this.updateResult(),o&&(this.#e!==r||kn(this.options.enabled,this.#e)!==kn(t.enabled,this.#e)||wi(this.options.staleTime,this.#e)!==wi(t.staleTime,this.#e))&&this.#y();const l=this.#g();o&&(this.#e!==r||kn(this.options.enabled,this.#e)!==kn(t.enabled,this.#e)||l!==this.#s)&&this.#v(l)}getOptimisticResult(e){const t=this.#t.getQueryCache().build(this.#t,e),r=this.createResult(t,e);return LP(this,r)&&(this.#i=r,this.#o=this.options,this.#r=this.#e.state),r}getCurrentResult(){return this.#i}trackResult(e,t){return new Proxy(e,{get:a((r,o)=>(this.trackProp(o),t?.(o),o==="promise"&&!this.options.experimental_prefetchInRender&&this.#l.status==="pending"&&this.#l.reject(new Error("experimental_prefetchInRender feature flag is not enabled")),Reflect.get(r,o)),"get")})}trackProp(e){this.#m.add(e)}getCurrentQuery(){return this.#e}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){const t=this.#t.defaultQueryOptions(e),r=this.#t.getQueryCache().build(this.#t,t);return r.fetch().then(()=>this.createResult(r,t))}fetch(e){return this.#h({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#i))}#h(e){this.#w();let t=this.#e.fetch(this.options,e);return e?.throwOnError||(t=t.catch(Ht)),t}#y(){this.#S();const e=wi(this.options.staleTime,this.#e);if(to||this.#i.isStale||!Mh(e))return;const r=hw(this.#i.dataUpdatedAt,e)+1;this.#u=Qi.setTimeout(()=>{this.#i.isStale||this.updateResult()},r)}#g(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(this.#e):this.options.refetchInterval)??!1}#v(e){this.#x(),this.#s=e,!(to||kn(this.options.enabled,this.#e)===!1||!Mh(this.#s)||this.#s===0)&&(this.#c=Qi.setInterval(()=>{(this.options.refetchIntervalInBackground||Im.isFocused())&&this.#h()},this.#s))}#b(){this.#y(),this.#v(this.#g())}#S(){this.#u&&(Qi.clearTimeout(this.#u),this.#u=void 0)}#x(){this.#c&&(Qi.clearInterval(this.#c),this.#c=void 0)}createResult(e,t){const r=this.#e,o=this.options,l=this.#i,u=this.#r,c=this.#o,p=e!==r?e.state:this.#n,{state:h}=e;let m={...h},g=!1,b;if(t._optimisticResults){const G=this.hasListeners(),Y=!G&&d1(e,t),J=G&&p1(e,r,t,o);(Y||J)&&(m={...m,...Sw(h.data,e.options)}),t._optimisticResults==="isRestoring"&&(m.fetchStatus="idle")}let{error:S,errorUpdatedAt:E,status:w}=m;b=m.data;let R=!1;if(t.placeholderData!==void 0&&b===void 0&&w==="pending"){let G;l?.isPlaceholderData&&t.placeholderData===c?.placeholderData?(G=l.data,R=!0):G=typeof t.placeholderData=="function"?t.placeholderData(this.#d?.state.data,this.#d):t.placeholderData,G!==void 0&&(w="success",b=kh(l?.data,G,t),g=!0)}if(t.select&&b!==void 0&&!R)if(l&&b===u?.data&&t.select===this.#p)b=this.#f;else try{this.#p=t.select,b=t.select(b),b=kh(l?.data,b,t),this.#f=b,this.#a=null}catch(G){this.#a=G}this.#a&&(S=this.#a,b=this.#f,E=Date.now(),w="error");const C=m.fetchStatus==="fetching",O=w==="pending",N=w==="error",L=O&&C,z=b!==void 0,j={status:w,fetchStatus:m.fetchStatus,isPending:O,isSuccess:w==="success",isError:N,isInitialLoading:L,isLoading:L,data:b,dataUpdatedAt:m.dataUpdatedAt,error:S,errorUpdatedAt:E,failureCount:m.fetchFailureCount,failureReason:m.fetchFailureReason,errorUpdateCount:m.errorUpdateCount,isFetched:m.dataUpdateCount>0||m.errorUpdateCount>0,isFetchedAfterMount:m.dataUpdateCount>p.dataUpdateCount||m.errorUpdateCount>p.errorUpdateCount,isFetching:C,isRefetching:C&&!O,isLoadingError:N&&!z,isPaused:m.fetchStatus==="paused",isPlaceholderData:g,isRefetchError:N&&z,isStale:Um(e,t),refetch:this.refetch,promise:this.#l,isEnabled:kn(t.enabled,e)!==!1};if(this.options.experimental_prefetchInRender){const G=a(X=>{j.status==="error"?X.reject(j.error):j.data!==void 0&&X.resolve(j.data)},"finalizeThenableIfPossible"),Y=a(()=>{const X=this.#l=j.promise=Dh();G(X)},"recreateThenable"),J=this.#l;switch(J.status){case"pending":e.queryHash===r.queryHash&&G(J);break;case"fulfilled":(j.status==="error"||j.data!==J.value)&&Y();break;case"rejected":(j.status!=="error"||j.error!==J.reason)&&Y();break}}return j}updateResult(){const e=this.#i,t=this.createResult(this.#e,this.options);if(this.#r=this.#e.state,this.#o=this.options,this.#r.data!==void 0&&(this.#d=this.#e),Jl(t,e))return;this.#i=t;const r=a(()=>{if(!e)return!0;const{notifyOnChangeProps:o}=this.options,l=typeof o=="function"?o():o;if(l==="all"||!l&&!this.#m.size)return!0;const u=new Set(l??this.#m);return this.options.throwOnError&&u.add("error"),Object.keys(this.#i).some(c=>{const d=c;return this.#i[d]!==e[d]&&u.has(d)})},"shouldNotifyListeners");this.#E({listeners:r()})}#w(){const e=this.#t.getQueryCache().build(this.#t,this.options);if(e===this.#e)return;const t=this.#e;this.#e=e,this.#n=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#b()}#E(e){gt.batch(()=>{e.listeners&&this.listeners.forEach(t=>{t(this.#i)}),this.#t.getQueryCache().notify({query:this.#e,type:"observerResultsUpdated"})})}};function PP(e,t){return kn(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&t.retryOnMount===!1)}a(PP,"shouldLoadOnMount");function d1(e,t){return PP(e,t)||e.state.data!==void 0&&Lh(e,t,t.refetchOnMount)}a(d1,"shouldFetchOnMount");function Lh(e,t,r){if(kn(t.enabled,e)!==!1&&wi(t.staleTime,e)!=="static"){const o=typeof r=="function"?r(e):r;return o==="always"||o!==!1&&Um(e,t)}return!1}a(Lh,"shouldFetchOn");function p1(e,t,r,o){return(e!==t||kn(o.enabled,e)===!1)&&(!r.suspense||e.state.status!=="error")&&Um(e,r)}a(p1,"shouldFetchOptionally");function Um(e,t){return kn(t.enabled,e)!==!1&&e.isStaleByTime(wi(t.staleTime,e))}a(Um,"isStale");function LP(e,t){return!Jl(e.getCurrentResult(),t)}a(LP,"shouldAssignObserverCurrentProperties");function h1(e){return{onFetch:a((t,r)=>{const o=t.options,l=t.fetchOptions?.meta?.fetchMore?.direction,u=t.state.data?.pages||[],c=t.state.data?.pageParams||[];let d={pages:[],pageParams:[]},p=0;const h=a(async()=>{let m=!1;const g=a(E=>{Object.defineProperty(E,"signal",{enumerable:!0,get:a(()=>(t.signal.aborted?m=!0:t.signal.addEventListener("abort",()=>{m=!0}),t.signal),"get")})},"addSignalProperty"),b=mw(t.options,t.fetchOptions),S=a(async(E,w,R)=>{if(m)return Promise.reject();if(w==null&&E.pages.length)return Promise.resolve(E);const O=a(()=>{const D={client:t.client,queryKey:t.queryKey,pageParam:w,direction:R?"backward":"forward",meta:t.options.meta};return g(D),D},"createQueryFnContext")(),N=await b(O),{maxPages:L}=t.options,z=R?OP:RP;return{pages:z(E.pages,N,L),pageParams:z(E.pageParams,w,L)}},"fetchPage");if(l&&u.length){const E=l==="backward",w=E?zP:m1,R={pages:u,pageParams:c},C=w(o,R);d=await S(R,C,E)}else{const E=e??u.length;do{const w=p===0?c[0]??o.initialPageParam:m1(o,d);if(p>0&&w==null)break;d=await S(d,w),p++}while(p<E)}return d},"fetchFn");t.options.persister?t.fetchFn=()=>t.options.persister?.(h,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},r):t.fetchFn=h},"onFetch")}}a(h1,"infiniteQueryBehavior");function m1(e,{pages:t,pageParams:r}){const o=t.length-1;return t.length>0?e.getNextPageParam(t[o],t,r[o],r):void 0}a(m1,"getNextPageParam");function zP(e,{pages:t,pageParams:r}){return t.length>0?e.getPreviousPageParam?.(t[0],t,r[0],r):void 0}a(zP,"getPreviousPageParam");var IP=class extends bw{static{a(this,"Mutation")}#t;#e;#n;#i;constructor(e){super(),this.#t=e.client,this.mutationId=e.mutationId,this.#n=e.mutationCache,this.#e=[],this.state=e.state||xw(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#e.includes(e)||(this.#e.push(e),this.clearGcTimeout(),this.#n.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.#e=this.#e.filter(t=>t!==e),this.scheduleGc(),this.#n.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.#e.length||(this.state.status==="pending"?this.scheduleGc():this.#n.remove(this))}continue(){return this.#i?.continue()??this.execute(this.state.variables)}async execute(e){const t=a(()=>{this.#r({type:"continue"})},"onContinue"),r={client:this.#t,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#i=vw({fn:a(()=>this.options.mutationFn?this.options.mutationFn(e,r):Promise.reject(new Error("No mutationFn found")),"fn"),onFail:a((u,c)=>{this.#r({type:"failed",failureCount:u,error:c})},"onFail"),onPause:a(()=>{this.#r({type:"pause"})},"onPause"),onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:a(()=>this.#n.canRun(this),"canRun")});const o=this.state.status==="pending",l=!this.#i.canStart();try{if(o)t();else{this.#r({type:"pending",variables:e,isPaused:l}),await this.#n.config.onMutate?.(e,this,r);const c=await this.options.onMutate?.(e,r);c!==this.state.context&&this.#r({type:"pending",context:c,variables:e,isPaused:l})}const u=await this.#i.start();return await this.#n.config.onSuccess?.(u,e,this.state.context,this,r),await this.options.onSuccess?.(u,e,this.state.context,r),await this.#n.config.onSettled?.(u,null,this.state.variables,this.state.context,this,r),await this.options.onSettled?.(u,null,e,this.state.context,r),this.#r({type:"success",data:u}),u}catch(u){try{throw await this.#n.config.onError?.(u,e,this.state.context,this,r),await this.options.onError?.(u,e,this.state.context,r),await this.#n.config.onSettled?.(void 0,u,this.state.variables,this.state.context,this,r),await this.options.onSettled?.(void 0,u,e,this.state.context,r),u}finally{this.#r({type:"error",error:u})}}finally{this.#n.runNext(this)}}#r(e){const t=a(r=>{switch(e.type){case"failed":return{...r,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"pending":return{...r,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...r,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:e.error,failureCount:r.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}},"reducer");this.state=t(this.state),gt.batch(()=>{this.#e.forEach(r=>{r.onMutationUpdate(e)}),this.#n.notify({mutation:this,type:"updated",action:e})})}};function xw(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}a(xw,"getDefaultState");var jP=class extends lo{static{a(this,"MutationCache")}constructor(e={}){super(),this.config=e,this.#t=new Set,this.#e=new Map,this.#n=0}#t;#e;#n;build(e,t,r){const o=new IP({client:e,mutationCache:this,mutationId:++this.#n,options:e.defaultMutationOptions(t),state:r});return this.add(o),o}add(e){this.#t.add(e);const t=$u(e);if(typeof t=="string"){const r=this.#e.get(t);r?r.push(e):this.#e.set(t,[e])}this.notify({type:"added",mutation:e})}remove(e){if(this.#t.delete(e)){const t=$u(e);if(typeof t=="string"){const r=this.#e.get(t);if(r)if(r.length>1){const o=r.indexOf(e);o!==-1&&r.splice(o,1)}else r[0]===e&&this.#e.delete(t)}}this.notify({type:"removed",mutation:e})}canRun(e){const t=$u(e);if(typeof t=="string"){const o=this.#e.get(t)?.find(l=>l.state.status==="pending");return!o||o===e}else return!0}runNext(e){const t=$u(e);return typeof t=="string"?this.#e.get(t)?.find(o=>o!==e&&o.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){gt.batch(()=>{this.#t.forEach(e=>{this.notify({type:"removed",mutation:e})}),this.#t.clear(),this.#e.clear()})}getAll(){return Array.from(this.#t)}find(e){const t={exact:!0,...e};return this.getAll().find(r=>s1(t,r))}findAll(e={}){return this.getAll().filter(t=>s1(e,t))}notify(e){gt.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){const e=this.getAll().filter(t=>t.state.isPaused);return gt.batch(()=>Promise.all(e.map(t=>t.continue().catch(Ht))))}};function $u(e){return e.options.scope?.id}a($u,"scopeFor");var UP=class extends lo{static{a(this,"MutationObserver")}#t;#e=void 0;#n;#i;constructor(t,r){super(),this.#t=t,this.setOptions(r),this.bindMethods(),this.#r()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(t){const r=this.options;this.options=this.#t.defaultMutationOptions(t),Jl(this.options,r)||this.#t.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#n,observer:this}),r?.mutationKey&&this.options.mutationKey&&no(r.mutationKey)!==no(this.options.mutationKey)?this.reset():this.#n?.state.status==="pending"&&this.#n.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#n?.removeObserver(this)}onMutationUpdate(t){this.#r(),this.#o(t)}getCurrentResult(){return this.#e}reset(){this.#n?.removeObserver(this),this.#n=void 0,this.#r(),this.#o()}mutate(t,r){return this.#i=r,this.#n?.removeObserver(this),this.#n=this.#t.getMutationCache().build(this.#t,this.options),this.#n.addObserver(this),this.#n.execute(t)}#r(){const t=this.#n?.state??xw();this.#e={...t,isPending:t.status==="pending",isSuccess:t.status==="success",isError:t.status==="error",isIdle:t.status==="idle",mutate:this.mutate,reset:this.reset}}#o(t){gt.batch(()=>{if(this.#i&&this.hasListeners()){const r=this.#e.variables,o=this.#e.context,l={client:this.#t,meta:this.options.meta,mutationKey:this.options.mutationKey};t?.type==="success"?(this.#i.onSuccess?.(t.data,r,o,l),this.#i.onSettled?.(t.data,null,r,o,l)):t?.type==="error"&&(this.#i.onError?.(t.error,r,o,l),this.#i.onSettled?.(void 0,t.error,r,o,l))}this.listeners.forEach(r=>{r(this.#e)})})}};function y1(e,t){const r=new Set(t);return e.filter(o=>!r.has(o))}a(y1,"difference");function BP(e,t,r){const o=e.slice(0);return o[t]=r,o}a(BP,"replaceAt");var HP=class extends lo{static{a(this,"QueriesObserver")}#t;#e;#n;#i;#r;#o;#l;#a;#p=[];constructor(e,t,r){super(),this.#t=e,this.#i=r,this.#n=[],this.#r=[],this.#e=[],this.setQueries(t)}onSubscribe(){this.listeners.size===1&&this.#r.forEach(e=>{e.subscribe(t=>{this.#c(e,t)})})}onUnsubscribe(){this.listeners.size||this.destroy()}destroy(){this.listeners=new Set,this.#r.forEach(e=>{e.destroy()})}setQueries(e,t){this.#n=e,this.#i=t,gt.batch(()=>{const r=this.#r,o=this.#u(this.#n);this.#p=o,o.forEach(m=>m.observer.setOptions(m.defaultedQueryOptions));const l=o.map(m=>m.observer),u=l.map(m=>m.getCurrentResult()),c=r.length!==l.length,d=l.some((m,g)=>m!==r[g]),p=c||d,h=p?!0:u.some((m,g)=>{const b=this.#e[g];return!b||!Jl(m,b)});!p&&!h||(p&&(this.#r=l),this.#e=u,this.hasListeners()&&(p&&(y1(r,l).forEach(m=>{m.destroy()}),y1(l,r).forEach(m=>{m.subscribe(g=>{this.#c(m,g)})})),this.#s()))})}getCurrentResult(){return this.#e}getQueries(){return this.#r.map(e=>e.getCurrentQuery())}getObservers(){return this.#r}getOptimisticResult(e,t){const r=this.#u(e),o=r.map(l=>l.observer.getOptimisticResult(l.defaultedQueryOptions));return[o,l=>this.#d(l??o,t),()=>this.#f(o,r)]}#f(e,t){return t.map((r,o)=>{const l=e[o];return r.defaultedQueryOptions.notifyOnChangeProps?l:r.observer.trackResult(l,u=>{t.forEach(c=>{c.observer.trackProp(u)})})})}#d(e,t){return t?((!this.#o||this.#e!==this.#a||t!==this.#l)&&(this.#l=t,this.#a=this.#e,this.#o=Lm(this.#o,t(e))),this.#o):e}#u(e){const t=new Map(this.#r.map(o=>[o.options.queryHash,o])),r=[];return e.forEach(o=>{const l=this.#t.defaultQueryOptions(o),u=t.get(l.queryHash);u?r.push({defaultedQueryOptions:l,observer:u}):r.push({defaultedQueryOptions:l,observer:new jm(this.#t,l)})}),r}#c(e,t){const r=this.#r.indexOf(e);r!==-1&&(this.#e=BP(this.#e,r,t),this.#s())}#s(){if(this.hasListeners()){const e=this.#o,t=this.#f(this.#e,this.#p),r=this.#d(t,this.#i?.combine);e!==r&>.batch(()=>{this.listeners.forEach(o=>{o(this.#e)})})}}},FP=class extends lo{static{a(this,"QueryCache")}constructor(e={}){super(),this.config=e,this.#t=new Map}#t;build(e,t,r){const o=t.queryKey,l=t.queryHash??Pm(o,t);let u=this.get(l);return u||(u=new DP({client:e,queryKey:o,queryHash:l,options:e.defaultQueryOptions(t),state:r,defaultOptions:e.getQueryDefaults(o)}),this.add(u)),u}add(e){this.#t.has(e.queryHash)||(this.#t.set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const t=this.#t.get(e.queryHash);t&&(e.destroy(),t===e&&this.#t.delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){gt.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#t.get(e)}getAll(){return[...this.#t.values()]}find(e){const t={exact:!0,...e};return this.getAll().find(r=>l1(t,r))}findAll(e={}){const t=this.getAll();return Object.keys(e).length>0?t.filter(r=>l1(e,r)):t}notify(e){gt.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){gt.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){gt.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},gH=class{static{a(this,"QueryClient")}#t;#e;#n;#i;#r;#o;#l;#a;constructor(e={}){this.#t=e.queryCache||new FP,this.#e=e.mutationCache||new jP,this.#n=e.defaultOptions||{},this.#i=new Map,this.#r=new Map,this.#o=0}mount(){this.#o++,this.#o===1&&(this.#l=Im.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#t.onFocus())}),this.#a=dc.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#t.onOnline())}))}unmount(){this.#o--,this.#o===0&&(this.#l?.(),this.#l=void 0,this.#a?.(),this.#a=void 0)}isFetching(e){return this.#t.findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return this.#e.findAll({...e,status:"pending"}).length}getQueryData(e){const t=this.defaultQueryOptions({queryKey:e});return this.#t.get(t.queryHash)?.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),r=this.#t.build(this,t),o=r.state.data;return o===void 0?this.fetchQuery(e):(e.revalidateIfStale&&r.isStaleByTime(wi(t.staleTime,r))&&this.prefetchQuery(t),Promise.resolve(o))}getQueriesData(e){return this.#t.findAll(e).map(({queryKey:t,state:r})=>{const o=r.data;return[t,o]})}setQueryData(e,t,r){const o=this.defaultQueryOptions({queryKey:e}),u=this.#t.get(o.queryHash)?.state.data,c=EP(t,u);if(c!==void 0)return this.#t.build(this,o).setData(c,{...r,manual:!0})}setQueriesData(e,t,r){return gt.batch(()=>this.#t.findAll(e).map(({queryKey:o})=>[o,this.setQueryData(o,t,r)]))}getQueryState(e){const t=this.defaultQueryOptions({queryKey:e});return this.#t.get(t.queryHash)?.state}removeQueries(e){const t=this.#t;gt.batch(()=>{t.findAll(e).forEach(r=>{t.remove(r)})})}resetQueries(e,t){const r=this.#t;return gt.batch(()=>(r.findAll(e).forEach(o=>{o.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const r={revert:!0,...t},o=gt.batch(()=>this.#t.findAll(e).map(l=>l.cancel(r)));return Promise.all(o).then(Ht).catch(Ht)}invalidateQueries(e,t={}){return gt.batch(()=>(this.#t.findAll(e).forEach(r=>{r.invalidate()}),e?.refetchType==="none"?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??"active"},t)))}refetchQueries(e,t={}){const r={...t,cancelRefetch:t.cancelRefetch??!0},o=gt.batch(()=>this.#t.findAll(e).filter(l=>!l.isDisabled()&&!l.isStatic()).map(l=>{let u=l.fetch(void 0,r);return r.throwOnError||(u=u.catch(Ht)),l.state.fetchStatus==="paused"?Promise.resolve():u}));return Promise.all(o).then(Ht)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const r=this.#t.build(this,t);return r.isStaleByTime(wi(t.staleTime,r))?r.fetch(t):Promise.resolve(r.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(Ht).catch(Ht)}fetchInfiniteQuery(e){return e.behavior=h1(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Ht).catch(Ht)}ensureInfiniteQueryData(e){return e.behavior=h1(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return dc.isOnline()?this.#e.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#t}getMutationCache(){return this.#e}getDefaultOptions(){return this.#n}setDefaultOptions(e){this.#n=e}setQueryDefaults(e,t){this.#i.set(no(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...this.#i.values()],r={};return t.forEach(o=>{Zl(e,o.queryKey)&&Object.assign(r,o.defaultOptions)}),r}setMutationDefaults(e,t){this.#r.set(no(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...this.#r.values()],r={};return t.forEach(o=>{Zl(e,o.mutationKey)&&Object.assign(r,o.defaultOptions)}),r}defaultQueryOptions(e){if(e._defaulted)return e;const t={...this.#n.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=Pm(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===zm&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#n.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#t.clear(),this.#e.clear()}},ww=x.createContext(void 0),Bm=a(e=>{const t=x.useContext(ww);if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},"useQueryClient"),vH=a(({client:e,children:t})=>(x.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),k.jsx(ww.Provider,{value:e,children:t})),"QueryClientProvider"),Ew=x.createContext(!1),Cw=a(()=>x.useContext(Ew),"useIsRestoring");Ew.Provider;function qP(){let e=!1;return{clearReset:a(()=>{e=!1},"clearReset"),reset:a(()=>{e=!0},"reset"),isReset:a(()=>e,"isReset")}}a(qP,"createValue");var $P=x.createContext(qP()),Tw=a(()=>x.useContext($P),"useQueryErrorResetBoundary"),Rw=a((e,t)=>{(e.suspense||e.throwOnError||e.experimental_prefetchInRender)&&(t.isReset()||(e.retryOnMount=!1))},"ensurePreventErrorBoundaryRetry"),Ow=a(e=>{x.useEffect(()=>{e.clearReset()},[e])},"useClearResetErrorBoundary"),Aw=a(({result:e,errorResetBoundary:t,throwOnError:r,query:o,suspense:l})=>e.isError&&!t.isReset()&&!e.isFetching&&o&&(l&&e.data===void 0||yw(r,[e.error,o])),"getHasError"),_w=a(e=>{if(e.suspense){const r=a(l=>l==="static"?l:Math.max(l??1e3,1e3),"clamp"),o=e.staleTime;e.staleTime=typeof o=="function"?(...l)=>r(o(...l)):r(o),typeof e.gcTime=="number"&&(e.gcTime=Math.max(e.gcTime,1e3))}},"ensureSuspenseTimers"),Mw=a((e,t)=>e.isLoading&&e.isFetching&&!t,"willFetch"),zh=a((e,t)=>e?.suspense&&t.isPending,"shouldSuspend"),pc=a((e,t,r)=>t.fetchOptimistic(e).catch(()=>{r.clearReset()}),"fetchOptimistic");function bH({queries:e,...t},r){const o=Bm(),l=Cw(),u=Tw(),c=x.useMemo(()=>e.map(w=>{const R=o.defaultQueryOptions(w);return R._optimisticResults=l?"isRestoring":"optimistic",R}),[e,o,l]);c.forEach(w=>{_w(w),Rw(w,u)}),Ow(u);const[d]=x.useState(()=>new HP(o,c,t)),[p,h,m]=d.getOptimisticResult(c,t.combine),g=!l&&t.subscribed!==!1;x.useSyncExternalStore(x.useCallback(w=>g?d.subscribe(gt.batchCalls(w)):Ht,[d,g]),()=>d.getCurrentResult(),()=>d.getCurrentResult()),x.useEffect(()=>{d.setQueries(c,t)},[c,t,d]);const S=p.some((w,R)=>zh(c[R],w))?p.flatMap((w,R)=>{const C=c[R];if(C){const O=new jm(o,C);if(zh(C,w))return pc(C,O,u);Mw(w,l)&&pc(C,O,u)}return[]}):[];if(S.length>0)throw Promise.all(S);const E=p.find((w,R)=>{const C=c[R];return C&&Aw({result:w,errorResetBoundary:u,throwOnError:C.throwOnError,query:o.getQueryCache().get(C.queryHash),suspense:C.suspense})});if(E?.error)throw E.error;return h(m())}a(bH,"useQueries");function VP(e,t,r){const o=Cw(),l=Tw(),u=Bm(),c=u.defaultQueryOptions(e);u.getDefaultOptions().queries?._experimental_beforeQuery?.(c),c._optimisticResults=o?"isRestoring":"optimistic",_w(c),Rw(c,l),Ow(l);const d=!u.getQueryCache().get(c.queryHash),[p]=x.useState(()=>new t(u,c)),h=p.getOptimisticResult(c),m=!o&&e.subscribed!==!1;if(x.useSyncExternalStore(x.useCallback(g=>{const b=m?p.subscribe(gt.batchCalls(g)):Ht;return p.updateResult(),b},[p,m]),()=>p.getCurrentResult(),()=>p.getCurrentResult()),x.useEffect(()=>{p.setOptions(c)},[c,p]),zh(c,h))throw pc(c,p,l);if(Aw({result:h,errorResetBoundary:l,throwOnError:c.throwOnError,query:u.getQueryCache().get(c.queryHash),suspense:c.suspense}))throw h.error;return u.getDefaultOptions().queries?._experimental_afterQuery?.(c,h),c.experimental_prefetchInRender&&!to&&Mw(h,o)&&(d?pc(c,p,l):u.getQueryCache().get(c.queryHash)?.promise)?.catch(Ht).finally(()=>{p.updateResult()}),c.notifyOnChangeProps?h:p.trackResult(h)}a(VP,"useBaseQuery");function SH(e,t){return VP(e,jm)}a(SH,"useQuery");function xH(e,t){const r=Bm(),[o]=x.useState(()=>new UP(r,e));x.useEffect(()=>{o.setOptions(e)},[o,e]);const l=x.useSyncExternalStore(x.useCallback(c=>o.subscribe(gt.batchCalls(c)),[o]),()=>o.getCurrentResult(),()=>o.getCurrentResult()),u=x.useCallback((c,d)=>{o.mutate(c,d).catch(Ht)},[o]);if(l.error&&yw(o.options.throwOnError,[l.error]))throw l.error;return{...l,mutate:u,mutateAsync:l.mutate}}a(xH,"useMutation");/**
|
|
524
|
-
* react-router v7.9.3
|
|
525
|
-
*
|
|
526
|
-
* Copyright (c) Remix Software Inc.
|
|
527
|
-
*
|
|
528
|
-
* This source code is licensed under the MIT license found in the
|
|
529
|
-
* LICENSE.md file in the root directory of this source tree.
|
|
530
|
-
*
|
|
531
|
-
* @license MIT
|
|
532
|
-
*/var g1="popstate";function GP(e={}){function t(o,l){let{pathname:u,search:c,hash:d}=o.location;return Ih("",{pathname:u,search:c,hash:d},l.state&&l.state.usr||null,l.state&&l.state.key||"default")}a(t,"createBrowserLocation");function r(o,l){return typeof l=="string"?l:es(l)}return a(r,"createBrowserHref"),KP(t,r,null,e)}a(GP,"createBrowserHistory");function pt(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}a(pt,"invariant");function Qn(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}a(Qn,"warning");function YP(){return Math.random().toString(36).substring(2,10)}a(YP,"createKey");function v1(e,t){return{usr:e.state,key:e.key,idx:t}}a(v1,"getHistoryState");function Ih(e,t,r=null,o){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?Oa(t):t,state:r,key:t&&t.key||o||YP()}}a(Ih,"createLocation");function es({pathname:e="/",search:t="",hash:r=""}){return t&&t!=="?"&&(e+=t.charAt(0)==="?"?t:"?"+t),r&&r!=="#"&&(e+=r.charAt(0)==="#"?r:"#"+r),e}a(es,"createPath");function Oa(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substring(r),e=e.substring(0,r));let o=e.indexOf("?");o>=0&&(t.search=e.substring(o),e=e.substring(0,o)),e&&(t.pathname=e)}return t}a(Oa,"parsePath");function KP(e,t,r,o={}){let{window:l=document.defaultView,v5Compat:u=!1}=o,c=l.history,d="POP",p=null,h=m();h==null&&(h=0,c.replaceState({...c.state,idx:h},""));function m(){return(c.state||{idx:null}).idx}a(m,"getIndex");function g(){d="POP";let R=m(),C=R==null?null:R-h;h=R,p&&p({action:d,location:w.location,delta:C})}a(g,"handlePop");function b(R,C){d="PUSH";let O=Ih(w.location,R,C);h=m()+1;let N=v1(O,h),L=w.createHref(O);try{c.pushState(N,"",L)}catch(z){if(z instanceof DOMException&&z.name==="DataCloneError")throw z;l.location.assign(L)}u&&p&&p({action:d,location:w.location,delta:1})}a(b,"push");function S(R,C){d="REPLACE";let O=Ih(w.location,R,C);h=m();let N=v1(O,h),L=w.createHref(O);c.replaceState(N,"",L),u&&p&&p({action:d,location:w.location,delta:0})}a(S,"replace2");function E(R){return QP(R)}a(E,"createURL");let w={get action(){return d},get location(){return e(l,c)},listen(R){if(p)throw new Error("A history only accepts one active listener");return l.addEventListener(g1,g),p=R,()=>{l.removeEventListener(g1,g),p=null}},createHref(R){return t(l,R)},createURL:E,encodeLocation(R){let C=E(R);return{pathname:C.pathname,search:C.search,hash:C.hash}},push:b,replace:S,go(R){return c.go(R)}};return w}a(KP,"getUrlBasedHistory");function QP(e,t=!1){let r="http://localhost";typeof window<"u"&&(r=window.location.origin!=="null"?window.location.origin:window.location.href),pt(r,"No window.location.(origin|href) available to create URL");let o=typeof e=="string"?e:es(e);return o=o.replace(/ $/,"%20"),!t&&o.startsWith("//")&&(o=r+o),new URL(o,r)}a(QP,"createBrowserURLImpl");function Nw(e,t,r="/"){return XP(e,t,r,!1)}a(Nw,"matchRoutes");function XP(e,t,r,o){let l=typeof t=="string"?Oa(t):t,u=Vr(l.pathname||"/",r);if(u==null)return null;let c=kw(e);WP(c);let d=null;for(let p=0;d==null&&p<c.length;++p){let h=s3(u);d=a3(c[p],h,o)}return d}a(XP,"matchRoutesImpl");function kw(e,t=[],r=[],o="",l=!1){let u=a((c,d,p=l,h)=>{let m={relativePath:h===void 0?c.path||"":h,caseSensitive:c.caseSensitive===!0,childrenIndex:d,route:c};if(m.relativePath.startsWith("/")){if(!m.relativePath.startsWith(o)&&p)return;pt(m.relativePath.startsWith(o),`Absolute route path "${m.relativePath}" nested under path "${o}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),m.relativePath=m.relativePath.slice(o.length)}let g=Fr([o,m.relativePath]),b=r.concat(m);c.children&&c.children.length>0&&(pt(c.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${g}".`),kw(c.children,t,b,g,p)),!(c.path==null&&!c.index)&&t.push({path:g,score:i3(g,c.index),routesMeta:b})},"flattenRoute");return e.forEach((c,d)=>{if(c.path===""||!c.path?.includes("?"))u(c,d);else for(let p of Dw(c.path))u(c,d,!0,p)}),t}a(kw,"flattenRoutes");function Dw(e){let t=e.split("/");if(t.length===0)return[];let[r,...o]=t,l=r.endsWith("?"),u=r.replace(/\?$/,"");if(o.length===0)return l?[u,""]:[u];let c=Dw(o.join("/")),d=[];return d.push(...c.map(p=>p===""?u:[u,p].join("/"))),l&&d.push(...c),d.map(p=>e.startsWith("/")&&p===""?"/":p)}a(Dw,"explodeOptionalSegments");function WP(e){e.sort((t,r)=>t.score!==r.score?r.score-t.score:o3(t.routesMeta.map(o=>o.childrenIndex),r.routesMeta.map(o=>o.childrenIndex)))}a(WP,"rankRouteBranches");var ZP=/^:[\w-]+$/,JP=3,e3=2,t3=1,n3=10,r3=-2,b1=a(e=>e==="*","isSplat");function i3(e,t){let r=e.split("/"),o=r.length;return r.some(b1)&&(o+=r3),t&&(o+=e3),r.filter(l=>!b1(l)).reduce((l,u)=>l+(ZP.test(u)?JP:u===""?t3:n3),o)}a(i3,"computeScore");function o3(e,t){return e.length===t.length&&e.slice(0,-1).every((o,l)=>o===t[l])?e[e.length-1]-t[t.length-1]:0}a(o3,"compareIndexes");function a3(e,t,r=!1){let{routesMeta:o}=e,l={},u="/",c=[];for(let d=0;d<o.length;++d){let p=o[d],h=d===o.length-1,m=u==="/"?t:t.slice(u.length)||"/",g=hc({path:p.relativePath,caseSensitive:p.caseSensitive,end:h},m),b=p.route;if(!g&&h&&r&&!o[o.length-1].route.index&&(g=hc({path:p.relativePath,caseSensitive:p.caseSensitive,end:!1},m)),!g)return null;Object.assign(l,g.params),c.push({params:l,pathname:Fr([u,g.pathname]),pathnameBase:d3(Fr([u,g.pathnameBase])),route:b}),g.pathnameBase!=="/"&&(u=Fr([u,g.pathnameBase]))}return c}a(a3,"matchRouteBranch");function hc(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[r,o]=l3(e.path,e.caseSensitive,e.end),l=t.match(r);if(!l)return null;let u=l[0],c=u.replace(/(.)\/+$/,"$1"),d=l.slice(1);return{params:o.reduce((h,{paramName:m,isOptional:g},b)=>{if(m==="*"){let E=d[b]||"";c=u.slice(0,u.length-E.length).replace(/(.)\/+$/,"$1")}const S=d[b];return g&&!S?h[m]=void 0:h[m]=(S||"").replace(/%2F/g,"/"),h},{}),pathname:u,pathnameBase:c,pattern:e}}a(hc,"matchPath");function l3(e,t=!1,r=!0){Qn(e==="*"||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let o=[],l="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(c,d,p)=>(o.push({paramName:d,isOptional:p!=null}),p?"/?([^\\/]+)?":"/([^\\/]+)")).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return e.endsWith("*")?(o.push({paramName:"*"}),l+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?l+="\\/*$":e!==""&&e!=="/"&&(l+="(?:(?=\\/|$))"),[new RegExp(l,t?void 0:"i"),o]}a(l3,"compilePath");function s3(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Qn(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}a(s3,"decodePath");function Vr(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,o=e.charAt(r);return o&&o!=="/"?null:e.slice(r)||"/"}a(Vr,"stripBasename");function u3(e,t="/"){let{pathname:r,search:o="",hash:l=""}=typeof e=="string"?Oa(e):e;return{pathname:r?r.startsWith("/")?r:c3(r,t):t,search:p3(o),hash:h3(l)}}a(u3,"resolvePath");function c3(e,t){let r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(l=>{l===".."?r.length>1&&r.pop():l!=="."&&r.push(l)}),r.length>1?r.join("/"):"/"}a(c3,"resolvePathname");function qp(e,t,r,o){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(o)}]. Please separate it out to the \`to.${r}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}a(qp,"getInvalidPathError");function f3(e){return e.filter((t,r)=>r===0||t.route.path&&t.route.path.length>0)}a(f3,"getPathContributingMatches");function Pw(e){let t=f3(e);return t.map((r,o)=>o===t.length-1?r.pathname:r.pathnameBase)}a(Pw,"getResolveToMatches");function Lw(e,t,r,o=!1){let l;typeof e=="string"?l=Oa(e):(l={...e},pt(!l.pathname||!l.pathname.includes("?"),qp("?","pathname","search",l)),pt(!l.pathname||!l.pathname.includes("#"),qp("#","pathname","hash",l)),pt(!l.search||!l.search.includes("#"),qp("#","search","hash",l)));let u=e===""||l.pathname==="",c=u?"/":l.pathname,d;if(c==null)d=r;else{let g=t.length-1;if(!o&&c.startsWith("..")){let b=c.split("/");for(;b[0]==="..";)b.shift(),g-=1;l.pathname=b.join("/")}d=g>=0?t[g]:"/"}let p=u3(l,d),h=c&&c!=="/"&&c.endsWith("/"),m=(u||c===".")&&r.endsWith("/");return!p.pathname.endsWith("/")&&(h||m)&&(p.pathname+="/"),p}a(Lw,"resolveTo");var Fr=a(e=>e.join("/").replace(/\/\/+/g,"/"),"joinPaths"),d3=a(e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),"normalizePathname"),p3=a(e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,"normalizeSearch"),h3=a(e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e,"normalizeHash");function m3(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}a(m3,"isRouteErrorResponse");var zw=["POST","PUT","PATCH","DELETE"];new Set(zw);var y3=["GET",...zw];new Set(y3);var Aa=x.createContext(null);Aa.displayName="DataRouter";var Hc=x.createContext(null);Hc.displayName="DataRouterState";x.createContext(!1);var Iw=x.createContext({isTransitioning:!1});Iw.displayName="ViewTransition";var g3=x.createContext(new Map);g3.displayName="Fetchers";var v3=x.createContext(null);v3.displayName="Await";var Sr=x.createContext(null);Sr.displayName="Navigation";var fs=x.createContext(null);fs.displayName="Location";var xr=x.createContext({outlet:null,matches:[],isDataRoute:!1});xr.displayName="Route";var Hm=x.createContext(null);Hm.displayName="RouteError";function b3(e,{relative:t}={}){pt(ds(),"useHref() may be used only in the context of a <Router> component.");let{basename:r,navigator:o}=x.useContext(Sr),{hash:l,pathname:u,search:c}=ps(e,{relative:t}),d=u;return r!=="/"&&(d=u==="/"?r:Fr([r,u])),o.createHref({pathname:d,search:c,hash:l})}a(b3,"useHref");function ds(){return x.useContext(fs)!=null}a(ds,"useInRouterContext");function Ri(){return pt(ds(),"useLocation() may be used only in the context of a <Router> component."),x.useContext(fs).location}a(Ri,"useLocation");var jw="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function Uw(e){x.useContext(Sr).static||x.useLayoutEffect(e)}a(Uw,"useIsomorphicLayoutEffect$1");function Bw(){let{isDataRoute:e}=x.useContext(xr);return e?k3():S3()}a(Bw,"useNavigate");function S3(){pt(ds(),"useNavigate() may be used only in the context of a <Router> component.");let e=x.useContext(Aa),{basename:t,navigator:r}=x.useContext(Sr),{matches:o}=x.useContext(xr),{pathname:l}=Ri(),u=JSON.stringify(Pw(o)),c=x.useRef(!1);return Uw(()=>{c.current=!0}),x.useCallback((p,h={})=>{if(Qn(c.current,jw),!c.current)return;if(typeof p=="number"){r.go(p);return}let m=Lw(p,JSON.parse(u),l,h.relative==="path");e==null&&t!=="/"&&(m.pathname=m.pathname==="/"?t:Fr([t,m.pathname])),(h.replace?r.replace:r.push)(m,h.state,h)},[t,r,u,l,e])}a(S3,"useNavigateUnstable");x.createContext(null);function wH(){let{matches:e}=x.useContext(xr),t=e[e.length-1];return t?t.params:{}}a(wH,"useParams");function ps(e,{relative:t}={}){let{matches:r}=x.useContext(xr),{pathname:o}=Ri(),l=JSON.stringify(Pw(r));return x.useMemo(()=>Lw(e,JSON.parse(l),o,t==="path"),[e,l,o,t])}a(ps,"useResolvedPath");function x3(e,t){return Hw(e,t)}a(x3,"useRoutes");function Hw(e,t,r,o,l){pt(ds(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:u}=x.useContext(Sr),{matches:c}=x.useContext(xr),d=c[c.length-1],p=d?d.params:{},h=d?d.pathname:"/",m=d?d.pathnameBase:"/",g=d&&d.route;{let O=g&&g.path||"";Fw(h,!g||O.endsWith("*")||O.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${h}" (under <Route path="${O}">) 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.
|
|
533
|
-
|
|
534
|
-
Please change the parent <Route path="${O}"> to <Route path="${O==="/"?"*":`${O}/*`}">.`)}let b=Ri(),S;if(t){let O=typeof t=="string"?Oa(t):t;pt(m==="/"||O.pathname?.startsWith(m),`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 "${m}" but pathname "${O.pathname}" was given in the \`location\` prop.`),S=O}else S=b;let E=S.pathname||"/",w=E;if(m!=="/"){let O=m.replace(/^\//,"").split("/");w="/"+E.replace(/^\//,"").split("/").slice(O.length).join("/")}let R=Nw(e,{pathname:w});Qn(g||R!=null,`No routes matched location "${S.pathname}${S.search}${S.hash}" `),Qn(R==null||R[R.length-1].route.element!==void 0||R[R.length-1].route.Component!==void 0||R[R.length-1].route.lazy!==void 0,`Matched leaf route at location "${S.pathname}${S.search}${S.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 C=R3(R&&R.map(O=>Object.assign({},O,{params:Object.assign({},p,O.params),pathname:Fr([m,u.encodeLocation?u.encodeLocation(O.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:O.pathname]),pathnameBase:O.pathnameBase==="/"?m:Fr([m,u.encodeLocation?u.encodeLocation(O.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:O.pathnameBase])})),c,r,o,l);return t&&C?x.createElement(fs.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...S},navigationType:"POP"}},C):C}a(Hw,"useRoutesImpl");function w3(){let e=N3(),t=m3(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,o="rgba(200,200,200, 0.5)",l={padding:"0.5rem",backgroundColor:o},u={padding:"2px 4px",backgroundColor:o},c=null;return console.error("Error handled by React Router default ErrorBoundary:",e),c=x.createElement(x.Fragment,null,x.createElement("p",null,"💿 Hey developer 👋"),x.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",x.createElement("code",{style:u},"ErrorBoundary")," or"," ",x.createElement("code",{style:u},"errorElement")," prop on your route.")),x.createElement(x.Fragment,null,x.createElement("h2",null,"Unexpected Application Error!"),x.createElement("h3",{style:{fontStyle:"italic"}},t),r?x.createElement("pre",{style:l},r):null,c)}a(w3,"DefaultErrorComponent");var E3=x.createElement(w3,null),C3=class extends x.Component{static{a(this,"RenderErrorBoundary")}constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||t.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){this.props.unstable_onError?this.props.unstable_onError(e,t):console.error("React Router caught the following error during render",e)}render(){return this.state.error!==void 0?x.createElement(xr.Provider,{value:this.props.routeContext},x.createElement(Hm.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function T3({routeContext:e,match:t,children:r}){let o=x.useContext(Aa);return o&&o.static&&o.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=t.route.id),x.createElement(xr.Provider,{value:e},r)}a(T3,"RenderedRoute");function R3(e,t=[],r=null,o=null,l=null){if(e==null){if(!r)return null;if(r.errors)e=r.matches;else if(t.length===0&&!r.initialized&&r.matches.length>0)e=r.matches;else return null}let u=e,c=r?.errors;if(c!=null){let h=u.findIndex(m=>m.route.id&&c?.[m.route.id]!==void 0);pt(h>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(c).join(",")}`),u=u.slice(0,Math.min(u.length,h+1))}let d=!1,p=-1;if(r)for(let h=0;h<u.length;h++){let m=u[h];if((m.route.HydrateFallback||m.route.hydrateFallbackElement)&&(p=h),m.route.id){let{loaderData:g,errors:b}=r,S=m.route.loader&&!g.hasOwnProperty(m.route.id)&&(!b||b[m.route.id]===void 0);if(m.route.lazy||S){d=!0,p>=0?u=u.slice(0,p+1):u=[u[0]];break}}}return u.reduceRight((h,m,g)=>{let b,S=!1,E=null,w=null;r&&(b=c&&m.route.id?c[m.route.id]:void 0,E=m.route.errorElement||E3,d&&(p<0&&g===0?(Fw("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),S=!0,w=null):p===g&&(S=!0,w=m.route.hydrateFallbackElement||null)));let R=t.concat(u.slice(0,g+1)),C=a(()=>{let O;return b?O=E:S?O=w:m.route.Component?O=x.createElement(m.route.Component,null):m.route.element?O=m.route.element:O=h,x.createElement(T3,{match:m,routeContext:{outlet:h,matches:R,isDataRoute:r!=null},children:O})},"getChildren");return r&&(m.route.ErrorBoundary||m.route.errorElement||g===0)?x.createElement(C3,{location:r.location,revalidation:r.revalidation,component:E,error:b,children:C(),routeContext:{outlet:null,matches:R,isDataRoute:!0},unstable_onError:o}):C()},null)}a(R3,"_renderMatches");function Fm(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}a(Fm,"getDataRouterConsoleError");function O3(e){let t=x.useContext(Aa);return pt(t,Fm(e)),t}a(O3,"useDataRouterContext");function A3(e){let t=x.useContext(Hc);return pt(t,Fm(e)),t}a(A3,"useDataRouterState");function _3(e){let t=x.useContext(xr);return pt(t,Fm(e)),t}a(_3,"useRouteContext");function qm(e){let t=_3(e),r=t.matches[t.matches.length-1];return pt(r.route.id,`${e} can only be used on routes that contain a unique "id"`),r.route.id}a(qm,"useCurrentRouteId");function M3(){return qm("useRouteId")}a(M3,"useRouteId");function N3(){let e=x.useContext(Hm),t=A3("useRouteError"),r=qm("useRouteError");return e!==void 0?e:t.errors?.[r]}a(N3,"useRouteError");function k3(){let{router:e}=O3("useNavigate"),t=qm("useNavigate"),r=x.useRef(!1);return Uw(()=>{r.current=!0}),x.useCallback(async(l,u={})=>{Qn(r.current,jw),r.current&&(typeof l=="number"?e.navigate(l):await e.navigate(l,{fromRouteId:t,...u}))},[e,t])}a(k3,"useNavigateStable");var S1={};function Fw(e,t,r){!t&&!S1[e]&&(S1[e]=!0,Qn(!1,r))}a(Fw,"warningOnce");x.memo(D3);function D3({routes:e,future:t,state:r,unstable_onError:o}){return Hw(e,void 0,r,o,t)}a(D3,"DataRoutes");function P3(e){pt(!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>.")}a(P3,"Route");function L3({basename:e="/",children:t=null,location:r,navigationType:o="POP",navigator:l,static:u=!1}){pt(!ds(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let c=e.replace(/^\/*/,"/"),d=x.useMemo(()=>({basename:c,navigator:l,static:u,future:{}}),[c,l,u]);typeof r=="string"&&(r=Oa(r));let{pathname:p="/",search:h="",hash:m="",state:g=null,key:b="default"}=r,S=x.useMemo(()=>{let E=Vr(p,c);return E==null?null:{location:{pathname:E,search:h,hash:m,state:g,key:b},navigationType:o}},[c,p,h,m,g,b,o]);return Qn(S!=null,`<Router basename="${c}"> is not able to match the URL "${p}${h}${m}" because it does not start with the basename, so the <Router> won't render anything.`),S==null?null:x.createElement(Sr.Provider,{value:d},x.createElement(fs.Provider,{children:t,value:S}))}a(L3,"Router");function EH({children:e,location:t}){return x3(jh(e),t)}a(EH,"Routes");function jh(e,t=[]){let r=[];return x.Children.forEach(e,(o,l)=>{if(!x.isValidElement(o))return;let u=[...t,l];if(o.type===x.Fragment){r.push.apply(r,jh(o.props.children,u));return}pt(o.type===P3,`[${typeof o.type=="string"?o.type:o.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),pt(!o.props.index||!o.props.children,"An index route cannot have child routes.");let c={id:o.props.id||u.join("-"),caseSensitive:o.props.caseSensitive,element:o.props.element,Component:o.props.Component,index:o.props.index,path:o.props.path,middleware:o.props.middleware,loader:o.props.loader,action:o.props.action,hydrateFallbackElement:o.props.hydrateFallbackElement,HydrateFallback:o.props.HydrateFallback,errorElement:o.props.errorElement,ErrorBoundary:o.props.ErrorBoundary,hasErrorBoundary:o.props.hasErrorBoundary===!0||o.props.ErrorBoundary!=null||o.props.errorElement!=null,shouldRevalidate:o.props.shouldRevalidate,handle:o.props.handle,lazy:o.props.lazy};o.props.children&&(c.children=jh(o.props.children,u)),r.push(c)}),r}a(jh,"createRoutesFromChildren");var tc="get",nc="application/x-www-form-urlencoded";function Fc(e){return e!=null&&typeof e.tagName=="string"}a(Fc,"isHtmlElement");function z3(e){return Fc(e)&&e.tagName.toLowerCase()==="button"}a(z3,"isButtonElement");function I3(e){return Fc(e)&&e.tagName.toLowerCase()==="form"}a(I3,"isFormElement");function j3(e){return Fc(e)&&e.tagName.toLowerCase()==="input"}a(j3,"isInputElement");function U3(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}a(U3,"isModifiedEvent");function B3(e,t){return e.button===0&&(!t||t==="_self")&&!U3(e)}a(B3,"shouldProcessLinkClick");function Uh(e=""){return new URLSearchParams(typeof e=="string"||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,r)=>{let o=e[r];return t.concat(Array.isArray(o)?o.map(l=>[r,l]):[[r,o]])},[]))}a(Uh,"createSearchParams");function H3(e,t){let r=Uh(e);return t&&t.forEach((o,l)=>{r.has(l)||t.getAll(l).forEach(u=>{r.append(l,u)})}),r}a(H3,"getSearchParamsForLocation");var Vu=null;function F3(){if(Vu===null)try{new FormData(document.createElement("form"),0),Vu=!1}catch{Vu=!0}return Vu}a(F3,"isFormDataSubmitterSupported");var q3=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function $p(e){return e!=null&&!q3.has(e)?(Qn(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${nc}"`),null):e}a($p,"getFormEncType");function $3(e,t){let r,o,l,u,c;if(I3(e)){let d=e.getAttribute("action");o=d?Vr(d,t):null,r=e.getAttribute("method")||tc,l=$p(e.getAttribute("enctype"))||nc,u=new FormData(e)}else if(z3(e)||j3(e)&&(e.type==="submit"||e.type==="image")){let d=e.form;if(d==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let p=e.getAttribute("formaction")||d.getAttribute("action");if(o=p?Vr(p,t):null,r=e.getAttribute("formmethod")||d.getAttribute("method")||tc,l=$p(e.getAttribute("formenctype"))||$p(d.getAttribute("enctype"))||nc,u=new FormData(d,e),!F3()){let{name:h,type:m,value:g}=e;if(m==="image"){let b=h?`${h}.`:"";u.append(`${b}x`,"0"),u.append(`${b}y`,"0")}else h&&u.append(h,g)}}else{if(Fc(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');r=tc,o=null,l=nc,c=e}return u&&l==="text/plain"&&(c=u,u=void 0),{action:o,method:r.toLowerCase(),encType:l,formData:u,body:c}}a($3,"getFormSubmissionInfo");Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function $m(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}a($m,"invariant2");function V3(e,t,r){let o=typeof e=="string"?new URL(e,typeof window>"u"?"server://singlefetch/":window.location.origin):e;return o.pathname==="/"?o.pathname=`_root.${r}`:t&&Vr(o.pathname,t)==="/"?o.pathname=`${t.replace(/\/$/,"")}/_root.${r}`:o.pathname=`${o.pathname.replace(/\/$/,"")}.${r}`,o}a(V3,"singleFetchUrl");async function G3(e,t){if(e.id in t)return t[e.id];try{let r=await import(e.module);return t[e.id]=r,r}catch(r){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(r),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}a(G3,"loadRouteModule");function Y3(e){return e==null?!1:e.href==null?e.rel==="preload"&&typeof e.imageSrcSet=="string"&&typeof e.imageSizes=="string":typeof e.rel=="string"&&typeof e.href=="string"}a(Y3,"isHtmlLinkDescriptor");async function K3(e,t,r){let o=await Promise.all(e.map(async l=>{let u=t.routes[l.route.id];if(u){let c=await G3(u,r);return c.links?c.links():[]}return[]}));return Z3(o.flat(1).filter(Y3).filter(l=>l.rel==="stylesheet"||l.rel==="preload").map(l=>l.rel==="stylesheet"?{...l,rel:"prefetch",as:"style"}:{...l,rel:"prefetch"}))}a(K3,"getKeyedPrefetchLinks");function x1(e,t,r,o,l,u){let c=a((p,h)=>r[h]?p.route.id!==r[h].route.id:!0,"isNew"),d=a((p,h)=>r[h].pathname!==p.pathname||r[h].route.path?.endsWith("*")&&r[h].params["*"]!==p.params["*"],"matchPathChanged");return u==="assets"?t.filter((p,h)=>c(p,h)||d(p,h)):u==="data"?t.filter((p,h)=>{let m=o.routes[p.route.id];if(!m||!m.hasLoader)return!1;if(c(p,h)||d(p,h))return!0;if(p.route.shouldRevalidate){let g=p.route.shouldRevalidate({currentUrl:new URL(l.pathname+l.search+l.hash,window.origin),currentParams:r[0]?.params||{},nextUrl:new URL(e,window.origin),nextParams:p.params,defaultShouldRevalidate:!0});if(typeof g=="boolean")return g}return!0}):[]}a(x1,"getNewMatchesForLinks");function Q3(e,t,{includeHydrateFallback:r}={}){return X3(e.map(o=>{let l=t.routes[o.route.id];if(!l)return[];let u=[l.module];return l.clientActionModule&&(u=u.concat(l.clientActionModule)),l.clientLoaderModule&&(u=u.concat(l.clientLoaderModule)),r&&l.hydrateFallbackModule&&(u=u.concat(l.hydrateFallbackModule)),l.imports&&(u=u.concat(l.imports)),u}).flat(1))}a(Q3,"getModuleLinkHrefs");function X3(e){return[...new Set(e)]}a(X3,"dedupeHrefs");function W3(e){let t={},r=Object.keys(e).sort();for(let o of r)t[o]=e[o];return t}a(W3,"sortKeys");function Z3(e,t){let r=new Set;return new Set(t),e.reduce((o,l)=>{let u=JSON.stringify(W3(l));return r.has(u)||(r.add(u),o.push({key:u,link:l})),o},[])}a(Z3,"dedupeLinkDescriptors");function qw(){let e=x.useContext(Aa);return $m(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}a(qw,"useDataRouterContext2");function J3(){let e=x.useContext(Hc);return $m(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}a(J3,"useDataRouterStateContext");var Vm=x.createContext(void 0);Vm.displayName="FrameworkContext";function $w(){let e=x.useContext(Vm);return $m(e,"You must render this element inside a <HydratedRouter> element"),e}a($w,"useFrameworkContext");function eL(e,t){let r=x.useContext(Vm),[o,l]=x.useState(!1),[u,c]=x.useState(!1),{onFocus:d,onBlur:p,onMouseEnter:h,onMouseLeave:m,onTouchStart:g}=t,b=x.useRef(null);x.useEffect(()=>{if(e==="render"&&c(!0),e==="viewport"){let w=a(C=>{C.forEach(O=>{c(O.isIntersecting)})},"callback"),R=new IntersectionObserver(w,{threshold:.5});return b.current&&R.observe(b.current),()=>{R.disconnect()}}},[e]),x.useEffect(()=>{if(o){let w=setTimeout(()=>{c(!0)},100);return()=>{clearTimeout(w)}}},[o]);let S=a(()=>{l(!0)},"setIntent"),E=a(()=>{l(!1),c(!1)},"cancelIntent");return r?e!=="intent"?[u,b,{}]:[u,b,{onFocus:kl(d,S),onBlur:kl(p,E),onMouseEnter:kl(h,S),onMouseLeave:kl(m,E),onTouchStart:kl(g,S)}]:[!1,b,{}]}a(eL,"usePrefetchBehavior");function kl(e,t){return r=>{e&&e(r),r.defaultPrevented||t(r)}}a(kl,"composeEventHandlers");function tL({page:e,...t}){let{router:r}=qw(),o=x.useMemo(()=>Nw(r.routes,e,r.basename),[r.routes,e,r.basename]);return o?x.createElement(rL,{page:e,matches:o,...t}):null}a(tL,"PrefetchPageLinks");function nL(e){let{manifest:t,routeModules:r}=$w(),[o,l]=x.useState([]);return x.useEffect(()=>{let u=!1;return K3(e,t,r).then(c=>{u||l(c)}),()=>{u=!0}},[e,t,r]),o}a(nL,"useKeyedPrefetchLinks");function rL({page:e,matches:t,...r}){let o=Ri(),{manifest:l,routeModules:u}=$w(),{basename:c}=qw(),{loaderData:d,matches:p}=J3(),h=x.useMemo(()=>x1(e,t,p,l,o,"data"),[e,t,p,l,o]),m=x.useMemo(()=>x1(e,t,p,l,o,"assets"),[e,t,p,l,o]),g=x.useMemo(()=>{if(e===o.pathname+o.search+o.hash)return[];let E=new Set,w=!1;if(t.forEach(C=>{let O=l.routes[C.route.id];!O||!O.hasLoader||(!h.some(N=>N.route.id===C.route.id)&&C.route.id in d&&u[C.route.id]?.shouldRevalidate||O.hasClientLoader?w=!0:E.add(C.route.id))}),E.size===0)return[];let R=V3(e,c,"data");return w&&E.size>0&&R.searchParams.set("_routes",t.filter(C=>E.has(C.route.id)).map(C=>C.route.id).join(",")),[R.pathname+R.search]},[c,d,o,l,h,t,e,u]),b=x.useMemo(()=>Q3(m,l),[m,l]),S=nL(m);return x.createElement(x.Fragment,null,g.map(E=>x.createElement("link",{key:E,rel:"prefetch",as:"fetch",href:E,...r})),b.map(E=>x.createElement("link",{key:E,rel:"modulepreload",href:E,...r})),S.map(({key:E,link:w})=>x.createElement("link",{key:E,nonce:r.nonce,...w})))}a(rL,"PrefetchPageLinksImpl");function iL(...e){return t=>{e.forEach(r=>{typeof r=="function"?r(t):r!=null&&(r.current=t)})}}a(iL,"mergeRefs");var Vw=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{Vw&&(window.__reactRouterVersion="7.9.3")}catch{}function CH({basename:e,children:t,window:r}){let o=x.useRef();o.current==null&&(o.current=GP({window:r,v5Compat:!0}));let l=o.current,[u,c]=x.useState({action:l.action,location:l.location}),d=x.useCallback(p=>{x.startTransition(()=>c(p))},[c]);return x.useLayoutEffect(()=>l.listen(d),[l,d]),x.createElement(L3,{basename:e,children:t,location:u.location,navigationType:u.action,navigator:l})}a(CH,"BrowserRouter");var Gw=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Yw=x.forwardRef(a(function({onClick:t,discover:r="render",prefetch:o="none",relative:l,reloadDocument:u,replace:c,state:d,target:p,to:h,preventScrollReset:m,viewTransition:g,...b},S){let{basename:E}=x.useContext(Sr),w=typeof h=="string"&&Gw.test(h),R,C=!1;if(typeof h=="string"&&w&&(R=h,Vw))try{let Y=new URL(window.location.href),J=h.startsWith("//")?new URL(Y.protocol+h):new URL(h),X=Vr(J.pathname,E);J.origin===Y.origin&&X!=null?h=X+J.search+J.hash:C=!0}catch{Qn(!1,`<Link to="${h}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}let O=b3(h,{relative:l}),[N,L,z]=eL(o,b),D=sL(h,{replace:c,state:d,target:p,preventScrollReset:m,relative:l,viewTransition:g});function j(Y){t&&t(Y),Y.defaultPrevented||D(Y)}a(j,"handleClick");let G=x.createElement("a",{...b,...z,href:R||O,onClick:C||u?t:j,ref:iL(S,L),target:p,"data-discover":!w&&r==="render"?"true":void 0});return N&&!w?x.createElement(x.Fragment,null,G,x.createElement(tL,{page:O})):G},"LinkWithRef"));Yw.displayName="Link";var oL=x.forwardRef(a(function({"aria-current":t="page",caseSensitive:r=!1,className:o="",end:l=!1,style:u,to:c,viewTransition:d,children:p,...h},m){let g=ps(c,{relative:h.relative}),b=Ri(),S=x.useContext(Hc),{navigator:E,basename:w}=x.useContext(Sr),R=S!=null&&pL(g)&&d===!0,C=E.encodeLocation?E.encodeLocation(g).pathname:g.pathname,O=b.pathname,N=S&&S.navigation&&S.navigation.location?S.navigation.location.pathname:null;r||(O=O.toLowerCase(),N=N?N.toLowerCase():null,C=C.toLowerCase()),N&&w&&(N=Vr(N,w)||N);const L=C!=="/"&&C.endsWith("/")?C.length-1:C.length;let z=O===C||!l&&O.startsWith(C)&&O.charAt(L)==="/",D=N!=null&&(N===C||!l&&N.startsWith(C)&&N.charAt(C.length)==="/"),j={isActive:z,isPending:D,isTransitioning:R},G=z?t:void 0,Y;typeof o=="function"?Y=o(j):Y=[o,z?"active":null,D?"pending":null,R?"transitioning":null].filter(Boolean).join(" ");let J=typeof u=="function"?u(j):u;return x.createElement(Yw,{...h,"aria-current":G,className:Y,ref:m,style:J,to:c,viewTransition:d},typeof p=="function"?p(j):p)},"NavLinkWithRef"));oL.displayName="NavLink";var aL=x.forwardRef(({discover:e="render",fetcherKey:t,navigate:r,reloadDocument:o,replace:l,state:u,method:c=tc,action:d,onSubmit:p,relative:h,preventScrollReset:m,viewTransition:g,...b},S)=>{let E=fL(),w=dL(d,{relative:h}),R=c.toLowerCase()==="get"?"get":"post",C=typeof d=="string"&&Gw.test(d),O=a(N=>{if(p&&p(N),N.defaultPrevented)return;N.preventDefault();let L=N.nativeEvent.submitter,z=L?.getAttribute("formmethod")||c;E(L||N.currentTarget,{fetcherKey:t,method:z,navigate:r,replace:l,state:u,relative:h,preventScrollReset:m,viewTransition:g})},"submitHandler");return x.createElement("form",{ref:S,method:R,action:w,onSubmit:o?p:O,...b,"data-discover":!C&&e==="render"?"true":void 0})});aL.displayName="Form";function lL(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}a(lL,"getDataRouterConsoleError2");function Kw(e){let t=x.useContext(Aa);return pt(t,lL(e)),t}a(Kw,"useDataRouterContext3");function sL(e,{target:t,replace:r,state:o,preventScrollReset:l,relative:u,viewTransition:c}={}){let d=Bw(),p=Ri(),h=ps(e,{relative:u});return x.useCallback(m=>{if(B3(m,t)){m.preventDefault();let g=r!==void 0?r:es(p)===es(h);d(e,{replace:g,state:o,preventScrollReset:l,relative:u,viewTransition:c})}},[p,d,h,r,o,t,e,l,u,c])}a(sL,"useLinkClickHandler");function TH(e){Qn(typeof URLSearchParams<"u","You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");let t=x.useRef(Uh(e)),r=x.useRef(!1),o=Ri(),l=x.useMemo(()=>H3(o.search,r.current?null:t.current),[o.search]),u=Bw(),c=x.useCallback((d,p)=>{const h=Uh(typeof d=="function"?d(new URLSearchParams(l)):d);r.current=!0,u("?"+h,p)},[u,l]);return[l,c]}a(TH,"useSearchParams");var uL=0,cL=a(()=>`__${String(++uL)}__`,"getUniqueFetcherId");function fL(){let{router:e}=Kw("useSubmit"),{basename:t}=x.useContext(Sr),r=M3();return x.useCallback(async(o,l={})=>{let{action:u,method:c,encType:d,formData:p,body:h}=$3(o,t);if(l.navigate===!1){let m=l.fetcherKey||cL();await e.fetch(m,r,l.action||u,{preventScrollReset:l.preventScrollReset,formData:p,body:h,formMethod:l.method||c,formEncType:l.encType||d,flushSync:l.flushSync})}else await e.navigate(l.action||u,{preventScrollReset:l.preventScrollReset,formData:p,body:h,formMethod:l.method||c,formEncType:l.encType||d,replace:l.replace,state:l.state,fromRouteId:r,flushSync:l.flushSync,viewTransition:l.viewTransition})},[e,t,r])}a(fL,"useSubmit");function dL(e,{relative:t}={}){let{basename:r}=x.useContext(Sr),o=x.useContext(xr);pt(o,"useFormAction must be used inside a RouteContext");let[l]=o.matches.slice(-1),u={...ps(e||".",{relative:t})},c=Ri();if(e==null){u.search=c.search;let d=new URLSearchParams(u.search),p=d.getAll("index");if(p.some(m=>m==="")){d.delete("index"),p.filter(g=>g).forEach(g=>d.append("index",g));let m=d.toString();u.search=m?`?${m}`:""}}return(!e||e===".")&&l.route.index&&(u.search=u.search?u.search.replace(/^\?/,"?index&"):"?index"),r!=="/"&&(u.pathname=u.pathname==="/"?r:Fr([r,u.pathname])),es(u)}a(dL,"useFormAction");function pL(e,{relative:t}={}){let r=x.useContext(Iw);pt(r!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:o}=Kw("useViewTransitionState"),l=ps(e,{relative:t});if(!r.isTransitioning)return!1;let u=Vr(r.currentLocation.pathname,o)||r.currentLocation.pathname,c=Vr(r.nextLocation.pathname,o)||r.nextLocation.pathname;return hc(l.pathname,c)!=null||hc(l.pathname,u)!=null}a(pL,"useViewTransitionState");var hL="Label",Qw=x.forwardRef((e,t)=>k.jsx(Ee.label,{...e,ref:t,onMouseDown:a(r=>{r.target.closest("button, input, select, textarea")||(e.onMouseDown?.(r),!r.defaultPrevented&&r.detail>1&&r.preventDefault())},"onMouseDown")}));Qw.displayName=hL;var RH=Qw;function qc(e){const t=e+"CollectionProvider",[r,o]=Gt(t),[l,u]=r(t,{collectionRef:{current:null},itemMap:new Map}),c=a(w=>{const{scope:R,children:C}=w,O=Me.useRef(null),N=Me.useRef(new Map).current;return k.jsx(l,{scope:R,itemMap:N,collectionRef:O,children:C})},"CollectionProvider");c.displayName=t;const d=e+"CollectionSlot",p=Zi(d),h=Me.forwardRef((w,R)=>{const{scope:C,children:O}=w,N=u(d,C),L=ze(R,N.collectionRef);return k.jsx(p,{ref:L,children:O})});h.displayName=d;const m=e+"CollectionItemSlot",g="data-radix-collection-item",b=Zi(m),S=Me.forwardRef((w,R)=>{const{scope:C,children:O,...N}=w,L=Me.useRef(null),z=ze(R,L),D=u(m,C);return Me.useEffect(()=>(D.itemMap.set(L,{ref:L,...N}),()=>void D.itemMap.delete(L))),k.jsx(b,{[g]:"",ref:z,children:O})});S.displayName=m;function E(w){const R=u(e+"CollectionConsumer",w);return Me.useCallback(()=>{const O=R.collectionRef.current;if(!O)return[];const N=Array.from(O.querySelectorAll(`[${g}]`));return Array.from(R.itemMap.values()).sort((D,j)=>N.indexOf(D.ref.current)-N.indexOf(j.ref.current))},[R.collectionRef,R.itemMap])}return a(E,"useCollection"),[{Provider:c,Slot:h,ItemSlot:S},E,o]}a(qc,"createCollection");var mL=x.createContext(void 0);function hs(e){const t=x.useContext(mL);return e||t||"ltr"}a(hs,"useDirection");var Vp="rovingFocusGroup.onEntryFocus",yL={bubbles:!1,cancelable:!0},ms="RovingFocusGroup",[Bh,Xw,gL]=qc(ms),[vL,$c]=Gt(ms,[gL]),[bL,SL]=vL(ms),Ww=x.forwardRef((e,t)=>k.jsx(Bh.Provider,{scope:e.__scopeRovingFocusGroup,children:k.jsx(Bh.Slot,{scope:e.__scopeRovingFocusGroup,children:k.jsx(xL,{...e,ref:t})})}));Ww.displayName=ms;var xL=x.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:r,orientation:o,loop:l=!1,dir:u,currentTabStopId:c,defaultCurrentTabStopId:d,onCurrentTabStopIdChange:p,onEntryFocus:h,preventScrollOnEntryFocus:m=!1,...g}=e,b=x.useRef(null),S=ze(t,b),E=hs(u),[w,R]=mr({prop:c,defaultProp:d??null,onChange:p,caller:ms}),[C,O]=x.useState(!1),N=vt(h),L=Xw(r),z=x.useRef(!1),[D,j]=x.useState(0);return x.useEffect(()=>{const G=b.current;if(G)return G.addEventListener(Vp,N),()=>G.removeEventListener(Vp,N)},[N]),k.jsx(bL,{scope:r,orientation:o,dir:E,loop:l,currentTabStopId:w,onItemFocus:x.useCallback(G=>R(G),[R]),onItemShiftTab:x.useCallback(()=>O(!0),[]),onFocusableItemAdd:x.useCallback(()=>j(G=>G+1),[]),onFocusableItemRemove:x.useCallback(()=>j(G=>G-1),[]),children:k.jsx(Ee.div,{tabIndex:C||D===0?-1:0,"data-orientation":o,...g,ref:S,style:{outline:"none",...e.style},onMouseDown:ge(e.onMouseDown,()=>{z.current=!0}),onFocus:ge(e.onFocus,G=>{const Y=!z.current;if(G.target===G.currentTarget&&Y&&!C){const J=new CustomEvent(Vp,yL);if(G.currentTarget.dispatchEvent(J),!J.defaultPrevented){const X=L().filter(I=>I.focusable),Z=X.find(I=>I.active),ce=X.find(I=>I.id===w),te=[Z,ce,...X].filter(Boolean).map(I=>I.ref.current);eE(te,m)}}z.current=!1}),onBlur:ge(e.onBlur,()=>O(!1))})})}),Zw="RovingFocusGroupItem",Jw=x.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:r,focusable:o=!0,active:l=!1,tabStopId:u,children:c,...d}=e,p=Ln(),h=u||p,m=SL(Zw,r),g=m.currentTabStopId===h,b=Xw(r),{onFocusableItemAdd:S,onFocusableItemRemove:E,currentTabStopId:w}=m;return x.useEffect(()=>{if(o)return S(),()=>E()},[o,S,E]),k.jsx(Bh.ItemSlot,{scope:r,id:h,focusable:o,active:l,children:k.jsx(Ee.span,{tabIndex:g?0:-1,"data-orientation":m.orientation,...d,ref:t,onMouseDown:ge(e.onMouseDown,R=>{o?m.onItemFocus(h):R.preventDefault()}),onFocus:ge(e.onFocus,()=>m.onItemFocus(h)),onKeyDown:ge(e.onKeyDown,R=>{if(R.key==="Tab"&&R.shiftKey){m.onItemShiftTab();return}if(R.target!==R.currentTarget)return;const C=CL(R,m.orientation,m.dir);if(C!==void 0){if(R.metaKey||R.ctrlKey||R.altKey||R.shiftKey)return;R.preventDefault();let N=b().filter(L=>L.focusable).map(L=>L.ref.current);if(C==="last")N.reverse();else if(C==="prev"||C==="next"){C==="prev"&&N.reverse();const L=N.indexOf(R.currentTarget);N=m.loop?TL(N,L+1):N.slice(L+1)}setTimeout(()=>eE(N))}}),children:typeof c=="function"?c({isCurrentTabStop:g,hasTabStop:w!=null}):c})})});Jw.displayName=Zw;var wL={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function EL(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}a(EL,"getDirectionAwareKey");function CL(e,t,r){const o=EL(e.key,r);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(o))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(o)))return wL[o]}a(CL,"getFocusIntent");function eE(e,t=!1){const r=document.activeElement;for(const o of e)if(o===r||(o.focus({preventScroll:t}),document.activeElement!==r))return}a(eE,"focusFirst$2");function TL(e,t){return e.map((r,o)=>e[(t+o)%e.length])}a(TL,"wrapArray$2");var tE=Ww,nE=Jw,Vc="Tabs",[RL]=Gt(Vc,[$c]),rE=$c(),[OL,Gm]=RL(Vc),iE=x.forwardRef((e,t)=>{const{__scopeTabs:r,value:o,onValueChange:l,defaultValue:u,orientation:c="horizontal",dir:d,activationMode:p="automatic",...h}=e,m=hs(d),[g,b]=mr({prop:o,onChange:l,defaultProp:u??"",caller:Vc});return k.jsx(OL,{scope:r,baseId:Ln(),value:g,onValueChange:b,orientation:c,dir:m,activationMode:p,children:k.jsx(Ee.div,{dir:m,"data-orientation":c,...h,ref:t})})});iE.displayName=Vc;var oE="TabsList",aE=x.forwardRef((e,t)=>{const{__scopeTabs:r,loop:o=!0,...l}=e,u=Gm(oE,r),c=rE(r);return k.jsx(tE,{asChild:!0,...c,orientation:u.orientation,dir:u.dir,loop:o,children:k.jsx(Ee.div,{role:"tablist","aria-orientation":u.orientation,...l,ref:t})})});aE.displayName=oE;var lE="TabsTrigger",sE=x.forwardRef((e,t)=>{const{__scopeTabs:r,value:o,disabled:l=!1,...u}=e,c=Gm(lE,r),d=rE(r),p=fE(c.baseId,o),h=dE(c.baseId,o),m=o===c.value;return k.jsx(nE,{asChild:!0,...d,focusable:!l,active:m,children:k.jsx(Ee.button,{type:"button",role:"tab","aria-selected":m,"aria-controls":h,"data-state":m?"active":"inactive","data-disabled":l?"":void 0,disabled:l,id:p,...u,ref:t,onMouseDown:ge(e.onMouseDown,g=>{!l&&g.button===0&&g.ctrlKey===!1?c.onValueChange(o):g.preventDefault()}),onKeyDown:ge(e.onKeyDown,g=>{[" ","Enter"].includes(g.key)&&c.onValueChange(o)}),onFocus:ge(e.onFocus,()=>{const g=c.activationMode!=="manual";!m&&!l&&g&&c.onValueChange(o)})})})});sE.displayName=lE;var uE="TabsContent",cE=x.forwardRef((e,t)=>{const{__scopeTabs:r,value:o,forceMount:l,children:u,...c}=e,d=Gm(uE,r),p=fE(d.baseId,o),h=dE(d.baseId,o),m=o===d.value,g=x.useRef(m);return x.useEffect(()=>{const b=requestAnimationFrame(()=>g.current=!1);return()=>cancelAnimationFrame(b)},[]),k.jsx(It,{present:l||m,children:a(({present:b})=>k.jsx(Ee.div,{"data-state":m?"active":"inactive","data-orientation":d.orientation,role:"tabpanel","aria-labelledby":p,hidden:!b,id:h,tabIndex:0,...c,ref:t,style:{...e.style,animationDuration:g.current?"0s":void 0},children:b&&u}),"children")})});cE.displayName=uE;function fE(e,t){return`${e}-trigger-${t}`}a(fE,"makeTriggerId");function dE(e,t){return`${e}-content-${t}`}a(dE,"makeContentId");var OH=iE,AH=aE,_H=sE,MH=cE;function pE(e){const t=x.useRef({value:e,previous:e});return x.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}a(pE,"usePrevious");var AL=[" ","Enter","ArrowUp","ArrowDown"],_L=[" ","Enter"],ro="Select",[Gc,Yc,ML]=qc(ro),[_a]=Gt(ro,[ML,Ra]),Kc=Ra(),[NL,Oi]=_a(ro),[kL,DL]=_a(ro),hE=a(e=>{const{__scopeSelect:t,children:r,open:o,defaultOpen:l,onOpenChange:u,value:c,defaultValue:d,onValueChange:p,dir:h,name:m,autoComplete:g,disabled:b,required:S,form:E}=e,w=Kc(t),[R,C]=x.useState(null),[O,N]=x.useState(null),[L,z]=x.useState(!1),D=hs(h),[j,G]=mr({prop:o,defaultProp:l??!1,onChange:u,caller:ro}),[Y,J]=mr({prop:c,defaultProp:d,onChange:p,caller:ro}),X=x.useRef(null),Z=R?E||!!R.closest("form"):!0,[ce,q]=x.useState(new Set),te=Array.from(ce).map(I=>I.props.value).join(";");return k.jsx(Am,{...w,children:k.jsxs(NL,{required:S,scope:t,trigger:R,onTriggerChange:C,valueNode:O,onValueNodeChange:N,valueNodeHasChildren:L,onValueNodeHasChildrenChange:z,contentId:Ln(),value:Y,onValueChange:J,open:j,onOpenChange:G,dir:D,triggerPointerDownPosRef:X,disabled:b,children:[k.jsx(Gc.Provider,{scope:t,children:k.jsx(kL,{scope:e.__scopeSelect,onNativeOptionAdd:x.useCallback(I=>{q(W=>new Set(W).add(I))},[]),onNativeOptionRemove:x.useCallback(I=>{q(W=>{const ne=new Set(W);return ne.delete(I),ne})},[]),children:r})}),Z?k.jsxs(UE,{"aria-hidden":!0,required:S,tabIndex:-1,name:m,autoComplete:g,value:Y,onChange:a(I=>J(I.target.value),"onChange"),disabled:b,form:E,children:[Y===void 0?k.jsx("option",{value:""}):null,Array.from(ce)]},te):null]})})},"Select");hE.displayName=ro;var mE="SelectTrigger",yE=x.forwardRef((e,t)=>{const{__scopeSelect:r,disabled:o=!1,...l}=e,u=Kc(r),c=Oi(mE,r),d=c.disabled||o,p=ze(t,c.onTriggerChange),h=Yc(r),m=x.useRef("touch"),[g,b,S]=HE(w=>{const R=h().filter(N=>!N.disabled),C=R.find(N=>N.value===c.value),O=FE(R,w,C);O!==void 0&&c.onValueChange(O.value)}),E=a(w=>{d||(c.onOpenChange(!0),S()),w&&(c.triggerPointerDownPosRef.current={x:Math.round(w.pageX),y:Math.round(w.pageY)})},"handleOpen");return k.jsx(_m,{asChild:!0,...u,children:k.jsx(Ee.button,{type:"button",role:"combobox","aria-controls":c.contentId,"aria-expanded":c.open,"aria-required":c.required,"aria-autocomplete":"none",dir:c.dir,"data-state":c.open?"open":"closed",disabled:d,"data-disabled":d?"":void 0,"data-placeholder":BE(c.value)?"":void 0,...l,ref:p,onClick:ge(l.onClick,w=>{w.currentTarget.focus(),m.current!=="mouse"&&E(w)}),onPointerDown:ge(l.onPointerDown,w=>{m.current=w.pointerType;const R=w.target;R.hasPointerCapture(w.pointerId)&&R.releasePointerCapture(w.pointerId),w.button===0&&w.ctrlKey===!1&&w.pointerType==="mouse"&&(E(w),w.preventDefault())}),onKeyDown:ge(l.onKeyDown,w=>{const R=g.current!=="";!(w.ctrlKey||w.altKey||w.metaKey)&&w.key.length===1&&b(w.key),!(R&&w.key===" ")&&AL.includes(w.key)&&(E(),w.preventDefault())})})})});yE.displayName=mE;var gE="SelectValue",vE=x.forwardRef((e,t)=>{const{__scopeSelect:r,className:o,style:l,children:u,placeholder:c="",...d}=e,p=Oi(gE,r),{onValueNodeHasChildrenChange:h}=p,m=u!==void 0,g=ze(t,p.onValueNodeChange);return bt(()=>{h(m)},[h,m]),k.jsx(Ee.span,{...d,ref:g,style:{pointerEvents:"none"},children:BE(p.value)?k.jsx(k.Fragment,{children:c}):u})});vE.displayName=gE;var PL="SelectIcon",bE=x.forwardRef((e,t)=>{const{__scopeSelect:r,children:o,...l}=e;return k.jsx(Ee.span,{"aria-hidden":!0,...l,ref:t,children:o||"▼"})});bE.displayName=PL;var LL="SelectPortal",SE=a(e=>k.jsx(Ea,{asChild:!0,...e}),"SelectPortal");SE.displayName=LL;var io="SelectContent",xE=x.forwardRef((e,t)=>{const r=Oi(io,e.__scopeSelect),[o,l]=x.useState();if(bt(()=>{l(new DocumentFragment)},[]),!r.open){const u=o;return u?pr.createPortal(k.jsx(wE,{scope:e.__scopeSelect,children:k.jsx(Gc.Slot,{scope:e.__scopeSelect,children:k.jsx("div",{children:e.children})})}),u):null}return k.jsx(EE,{...e,ref:t})});xE.displayName=io;var qn=10,[wE,Ai]=_a(io),zL="SelectContentImpl",IL=Zi("SelectContent.RemoveScroll"),EE=x.forwardRef((e,t)=>{const{__scopeSelect:r,position:o="item-aligned",onCloseAutoFocus:l,onEscapeKeyDown:u,onPointerDownOutside:c,side:d,sideOffset:p,align:h,alignOffset:m,arrowPadding:g,collisionBoundary:b,collisionPadding:S,sticky:E,hideWhenDetached:w,avoidCollisions:R,...C}=e,O=Oi(io,r),[N,L]=x.useState(null),[z,D]=x.useState(null),j=ze(t,Q=>L(Q)),[G,Y]=x.useState(null),[J,X]=x.useState(null),Z=Yc(r),[ce,q]=x.useState(!1),te=x.useRef(!1);x.useEffect(()=>{if(N)return ym(N)},[N]),mm();const I=x.useCallback(Q=>{const[fe,...Ce]=Z().map(qe=>qe.ref.current),[Te]=Ce.slice(-1),Pe=document.activeElement;for(const qe of Q)if(qe===Pe||(qe?.scrollIntoView({block:"nearest"}),qe===fe&&z&&(z.scrollTop=0),qe===Te&&z&&(z.scrollTop=z.scrollHeight),qe?.focus(),document.activeElement!==Pe))return},[Z,z]),W=x.useCallback(()=>I([G,N]),[I,G,N]);x.useEffect(()=>{ce&&W()},[ce,W]);const{onOpenChange:ne,triggerPointerDownPosRef:se}=O;x.useEffect(()=>{if(N){let Q={x:0,y:0};const fe=a(Te=>{Q={x:Math.abs(Math.round(Te.pageX)-(se.current?.x??0)),y:Math.abs(Math.round(Te.pageY)-(se.current?.y??0))}},"handlePointerMove"),Ce=a(Te=>{Q.x<=10&&Q.y<=10?Te.preventDefault():N.contains(Te.target)||ne(!1),document.removeEventListener("pointermove",fe),se.current=null},"handlePointerUp");return se.current!==null&&(document.addEventListener("pointermove",fe),document.addEventListener("pointerup",Ce,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",fe),document.removeEventListener("pointerup",Ce,{capture:!0})}}},[N,ne,se]),x.useEffect(()=>{const Q=a(()=>ne(!1),"close");return window.addEventListener("blur",Q),window.addEventListener("resize",Q),()=>{window.removeEventListener("blur",Q),window.removeEventListener("resize",Q)}},[ne]);const[A,K]=HE(Q=>{const fe=Z().filter(Pe=>!Pe.disabled),Ce=fe.find(Pe=>Pe.ref.current===document.activeElement),Te=FE(fe,Q,Ce);Te&&setTimeout(()=>Te.ref.current.focus())}),de=x.useCallback((Q,fe,Ce)=>{const Te=!te.current&&!Ce;(O.value!==void 0&&O.value===fe||Te)&&(Y(Q),Te&&(te.current=!0))},[O.value]),_=x.useCallback(()=>N?.focus(),[N]),re=x.useCallback((Q,fe,Ce)=>{const Te=!te.current&&!Ce;(O.value!==void 0&&O.value===fe||Te)&&X(Q)},[O.value]),me=o==="popper"?Hh:CE,ae=me===Hh?{side:d,sideOffset:p,align:h,alignOffset:m,arrowPadding:g,collisionBoundary:b,collisionPadding:S,sticky:E,hideWhenDetached:w,avoidCollisions:R}:{};return k.jsx(wE,{scope:r,content:N,viewport:z,onViewportChange:D,itemRefCallback:de,selectedItem:G,onItemLeave:_,itemTextRefCallback:re,focusSelectedItem:W,selectedItemText:J,position:o,isPositioned:ce,searchRef:A,children:k.jsx(kc,{as:IL,allowPinchZoom:!0,children:k.jsx(Mc,{asChild:!0,trapped:O.open,onMountAutoFocus:a(Q=>{Q.preventDefault()},"onMountAutoFocus"),onUnmountAutoFocus:ge(l,Q=>{O.trigger?.focus({preventScroll:!0}),Q.preventDefault()}),children:k.jsx(wa,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:u,onPointerDownOutside:c,onFocusOutside:a(Q=>Q.preventDefault(),"onFocusOutside"),onDismiss:a(()=>O.onOpenChange(!1),"onDismiss"),children:k.jsx(me,{role:"listbox",id:O.contentId,"data-state":O.open?"open":"closed",dir:O.dir,onContextMenu:a(Q=>Q.preventDefault(),"onContextMenu"),...C,...ae,onPlaced:a(()=>q(!0),"onPlaced"),ref:j,style:{display:"flex",flexDirection:"column",outline:"none",...C.style},onKeyDown:ge(C.onKeyDown,Q=>{const fe=Q.ctrlKey||Q.altKey||Q.metaKey;if(Q.key==="Tab"&&Q.preventDefault(),!fe&&Q.key.length===1&&K(Q.key),["ArrowUp","ArrowDown","Home","End"].includes(Q.key)){let Te=Z().filter(Pe=>!Pe.disabled).map(Pe=>Pe.ref.current);if(["ArrowUp","End"].includes(Q.key)&&(Te=Te.slice().reverse()),["ArrowUp","ArrowDown"].includes(Q.key)){const Pe=Q.target,qe=Te.indexOf(Pe);Te=Te.slice(qe+1)}setTimeout(()=>I(Te)),Q.preventDefault()}})})})})})})});EE.displayName=zL;var jL="SelectItemAlignedPosition",CE=x.forwardRef((e,t)=>{const{__scopeSelect:r,onPlaced:o,...l}=e,u=Oi(io,r),c=Ai(io,r),[d,p]=x.useState(null),[h,m]=x.useState(null),g=ze(t,j=>m(j)),b=Yc(r),S=x.useRef(!1),E=x.useRef(!0),{viewport:w,selectedItem:R,selectedItemText:C,focusSelectedItem:O}=c,N=x.useCallback(()=>{if(u.trigger&&u.valueNode&&d&&h&&w&&R&&C){const j=u.trigger.getBoundingClientRect(),G=h.getBoundingClientRect(),Y=u.valueNode.getBoundingClientRect(),J=C.getBoundingClientRect();if(u.dir!=="rtl"){const Pe=J.left-G.left,qe=Y.left-Pe,Ie=j.left-qe,ut=j.width+Ie,Kt=Math.max(ut,G.width),an=window.innerWidth-qn,St=wh(qe,[qn,Math.max(qn,an-Kt)]);d.style.minWidth=ut+"px",d.style.left=St+"px"}else{const Pe=G.right-J.right,qe=window.innerWidth-Y.right-Pe,Ie=window.innerWidth-j.right-qe,ut=j.width+Ie,Kt=Math.max(ut,G.width),an=window.innerWidth-qn,St=wh(qe,[qn,Math.max(qn,an-Kt)]);d.style.minWidth=ut+"px",d.style.right=St+"px"}const X=b(),Z=window.innerHeight-qn*2,ce=w.scrollHeight,q=window.getComputedStyle(h),te=parseInt(q.borderTopWidth,10),I=parseInt(q.paddingTop,10),W=parseInt(q.borderBottomWidth,10),ne=parseInt(q.paddingBottom,10),se=te+I+ce+ne+W,A=Math.min(R.offsetHeight*5,se),K=window.getComputedStyle(w),de=parseInt(K.paddingTop,10),_=parseInt(K.paddingBottom,10),re=j.top+j.height/2-qn,me=Z-re,ae=R.offsetHeight/2,Q=R.offsetTop+ae,fe=te+I+Q,Ce=se-fe;if(fe<=re){const Pe=X.length>0&&R===X[X.length-1].ref.current;d.style.bottom="0px";const qe=h.clientHeight-w.offsetTop-w.offsetHeight,Ie=Math.max(me,ae+(Pe?_:0)+qe+W),ut=fe+Ie;d.style.height=ut+"px"}else{const Pe=X.length>0&&R===X[0].ref.current;d.style.top="0px";const Ie=Math.max(re,te+w.offsetTop+(Pe?de:0)+ae)+Ce;d.style.height=Ie+"px",w.scrollTop=fe-re+w.offsetTop}d.style.margin=`${qn}px 0`,d.style.minHeight=A+"px",d.style.maxHeight=Z+"px",o?.(),requestAnimationFrame(()=>S.current=!0)}},[b,u.trigger,u.valueNode,d,h,w,R,C,u.dir,o]);bt(()=>N(),[N]);const[L,z]=x.useState();bt(()=>{h&&z(window.getComputedStyle(h).zIndex)},[h]);const D=x.useCallback(j=>{j&&E.current===!0&&(N(),O?.(),E.current=!1)},[N,O]);return k.jsx(BL,{scope:r,contentWrapper:d,shouldExpandOnScrollRef:S,onScrollButtonChange:D,children:k.jsx("div",{ref:p,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:L},children:k.jsx(Ee.div,{...l,ref:g,style:{boxSizing:"border-box",maxHeight:"100%",...l.style}})})})});CE.displayName=jL;var UL="SelectPopperPosition",Hh=x.forwardRef((e,t)=>{const{__scopeSelect:r,align:o="start",collisionPadding:l=qn,...u}=e,c=Kc(r);return k.jsx(Mm,{...c,...u,ref:t,align:o,collisionPadding:l,style:{boxSizing:"border-box",...u.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)"}})});Hh.displayName=UL;var[BL,Ym]=_a(io,{}),Fh="SelectViewport",TE=x.forwardRef((e,t)=>{const{__scopeSelect:r,nonce:o,...l}=e,u=Ai(Fh,r),c=Ym(Fh,r),d=ze(t,u.onViewportChange),p=x.useRef(0);return k.jsxs(k.Fragment,{children:[k.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:o}),k.jsx(Gc.Slot,{scope:r,children:k.jsx(Ee.div,{"data-radix-select-viewport":"",role:"presentation",...l,ref:d,style:{position:"relative",flex:1,overflow:"hidden auto",...l.style},onScroll:ge(l.onScroll,h=>{const m=h.currentTarget,{contentWrapper:g,shouldExpandOnScrollRef:b}=c;if(b?.current&&g){const S=Math.abs(p.current-m.scrollTop);if(S>0){const E=window.innerHeight-qn*2,w=parseFloat(g.style.minHeight),R=parseFloat(g.style.height),C=Math.max(w,R);if(C<E){const O=C+S,N=Math.min(E,O),L=O-N;g.style.height=N+"px",g.style.bottom==="0px"&&(m.scrollTop=L>0?L:0,g.style.justifyContent="flex-end")}}}p.current=m.scrollTop})})})]})});TE.displayName=Fh;var RE="SelectGroup",[HL,FL]=_a(RE),OE=x.forwardRef((e,t)=>{const{__scopeSelect:r,...o}=e,l=Ln();return k.jsx(HL,{scope:r,id:l,children:k.jsx(Ee.div,{role:"group","aria-labelledby":l,...o,ref:t})})});OE.displayName=RE;var AE="SelectLabel",_E=x.forwardRef((e,t)=>{const{__scopeSelect:r,...o}=e,l=FL(AE,r);return k.jsx(Ee.div,{id:l.id,...o,ref:t})});_E.displayName=AE;var mc="SelectItem",[qL,ME]=_a(mc),NE=x.forwardRef((e,t)=>{const{__scopeSelect:r,value:o,disabled:l=!1,textValue:u,...c}=e,d=Oi(mc,r),p=Ai(mc,r),h=d.value===o,[m,g]=x.useState(u??""),[b,S]=x.useState(!1),E=ze(t,O=>p.itemRefCallback?.(O,o,l)),w=Ln(),R=x.useRef("touch"),C=a(()=>{l||(d.onValueChange(o),d.onOpenChange(!1))},"handleSelect");if(o==="")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 k.jsx(qL,{scope:r,value:o,disabled:l,textId:w,isSelected:h,onItemTextChange:x.useCallback(O=>{g(N=>N||(O?.textContent??"").trim())},[]),children:k.jsx(Gc.ItemSlot,{scope:r,value:o,disabled:l,textValue:m,children:k.jsx(Ee.div,{role:"option","aria-labelledby":w,"data-highlighted":b?"":void 0,"aria-selected":h&&b,"data-state":h?"checked":"unchecked","aria-disabled":l||void 0,"data-disabled":l?"":void 0,tabIndex:l?void 0:-1,...c,ref:E,onFocus:ge(c.onFocus,()=>S(!0)),onBlur:ge(c.onBlur,()=>S(!1)),onClick:ge(c.onClick,()=>{R.current!=="mouse"&&C()}),onPointerUp:ge(c.onPointerUp,()=>{R.current==="mouse"&&C()}),onPointerDown:ge(c.onPointerDown,O=>{R.current=O.pointerType}),onPointerMove:ge(c.onPointerMove,O=>{R.current=O.pointerType,l?p.onItemLeave?.():R.current==="mouse"&&O.currentTarget.focus({preventScroll:!0})}),onPointerLeave:ge(c.onPointerLeave,O=>{O.currentTarget===document.activeElement&&p.onItemLeave?.()}),onKeyDown:ge(c.onKeyDown,O=>{p.searchRef?.current!==""&&O.key===" "||(_L.includes(O.key)&&C(),O.key===" "&&O.preventDefault())})})})})});NE.displayName=mc;var Fl="SelectItemText",kE=x.forwardRef((e,t)=>{const{__scopeSelect:r,className:o,style:l,...u}=e,c=Oi(Fl,r),d=Ai(Fl,r),p=ME(Fl,r),h=DL(Fl,r),[m,g]=x.useState(null),b=ze(t,C=>g(C),p.onItemTextChange,C=>d.itemTextRefCallback?.(C,p.value,p.disabled)),S=m?.textContent,E=x.useMemo(()=>k.jsx("option",{value:p.value,disabled:p.disabled,children:S},p.value),[p.disabled,p.value,S]),{onNativeOptionAdd:w,onNativeOptionRemove:R}=h;return bt(()=>(w(E),()=>R(E)),[w,R,E]),k.jsxs(k.Fragment,{children:[k.jsx(Ee.span,{id:p.textId,...u,ref:b}),p.isSelected&&c.valueNode&&!c.valueNodeHasChildren?pr.createPortal(u.children,c.valueNode):null]})});kE.displayName=Fl;var DE="SelectItemIndicator",PE=x.forwardRef((e,t)=>{const{__scopeSelect:r,...o}=e;return ME(DE,r).isSelected?k.jsx(Ee.span,{"aria-hidden":!0,...o,ref:t}):null});PE.displayName=DE;var qh="SelectScrollUpButton",LE=x.forwardRef((e,t)=>{const r=Ai(qh,e.__scopeSelect),o=Ym(qh,e.__scopeSelect),[l,u]=x.useState(!1),c=ze(t,o.onScrollButtonChange);return bt(()=>{if(r.viewport&&r.isPositioned){let d=a(function(){const h=p.scrollTop>0;u(h)},"handleScroll2");const p=r.viewport;return d(),p.addEventListener("scroll",d),()=>p.removeEventListener("scroll",d)}},[r.viewport,r.isPositioned]),l?k.jsx(IE,{...e,ref:c,onAutoScroll:a(()=>{const{viewport:d,selectedItem:p}=r;d&&p&&(d.scrollTop=d.scrollTop-p.offsetHeight)},"onAutoScroll")}):null});LE.displayName=qh;var $h="SelectScrollDownButton",zE=x.forwardRef((e,t)=>{const r=Ai($h,e.__scopeSelect),o=Ym($h,e.__scopeSelect),[l,u]=x.useState(!1),c=ze(t,o.onScrollButtonChange);return bt(()=>{if(r.viewport&&r.isPositioned){let d=a(function(){const h=p.scrollHeight-p.clientHeight,m=Math.ceil(p.scrollTop)<h;u(m)},"handleScroll2");const p=r.viewport;return d(),p.addEventListener("scroll",d),()=>p.removeEventListener("scroll",d)}},[r.viewport,r.isPositioned]),l?k.jsx(IE,{...e,ref:c,onAutoScroll:a(()=>{const{viewport:d,selectedItem:p}=r;d&&p&&(d.scrollTop=d.scrollTop+p.offsetHeight)},"onAutoScroll")}):null});zE.displayName=$h;var IE=x.forwardRef((e,t)=>{const{__scopeSelect:r,onAutoScroll:o,...l}=e,u=Ai("SelectScrollButton",r),c=x.useRef(null),d=Yc(r),p=x.useCallback(()=>{c.current!==null&&(window.clearInterval(c.current),c.current=null)},[]);return x.useEffect(()=>()=>p(),[p]),bt(()=>{d().find(m=>m.ref.current===document.activeElement)?.ref.current?.scrollIntoView({block:"nearest"})},[d]),k.jsx(Ee.div,{"aria-hidden":!0,...l,ref:t,style:{flexShrink:0,...l.style},onPointerDown:ge(l.onPointerDown,()=>{c.current===null&&(c.current=window.setInterval(o,50))}),onPointerMove:ge(l.onPointerMove,()=>{u.onItemLeave?.(),c.current===null&&(c.current=window.setInterval(o,50))}),onPointerLeave:ge(l.onPointerLeave,()=>{p()})})}),$L="SelectSeparator",jE=x.forwardRef((e,t)=>{const{__scopeSelect:r,...o}=e;return k.jsx(Ee.div,{"aria-hidden":!0,...o,ref:t})});jE.displayName=$L;var Vh="SelectArrow",VL=x.forwardRef((e,t)=>{const{__scopeSelect:r,...o}=e,l=Kc(r),u=Oi(Vh,r),c=Ai(Vh,r);return u.open&&c.position==="popper"?k.jsx(Nm,{...l,...o,ref:t}):null});VL.displayName=Vh;var GL="SelectBubbleInput",UE=x.forwardRef(({__scopeSelect:e,value:t,...r},o)=>{const l=x.useRef(null),u=ze(o,l),c=pE(t);return x.useEffect(()=>{const d=l.current;if(!d)return;const p=window.HTMLSelectElement.prototype,m=Object.getOwnPropertyDescriptor(p,"value").set;if(c!==t&&m){const g=new Event("change",{bubbles:!0});m.call(d,t),d.dispatchEvent(g)}},[c,t]),k.jsx(Ee.select,{...r,style:{...ow,...r.style},ref:u,defaultValue:t})});UE.displayName=GL;function BE(e){return e===""||e===void 0}a(BE,"shouldShowPlaceholder");function HE(e){const t=vt(e),r=x.useRef(""),o=x.useRef(0),l=x.useCallback(c=>{const d=r.current+c;t(d),a((function p(h){r.current=h,window.clearTimeout(o.current),h!==""&&(o.current=window.setTimeout(()=>p(""),1e3))}),"updateSearch")(d)},[t]),u=x.useCallback(()=>{r.current="",window.clearTimeout(o.current)},[]);return x.useEffect(()=>()=>window.clearTimeout(o.current),[]),[r,l,u]}a(HE,"useTypeaheadSearch");function FE(e,t,r){const l=t.length>1&&Array.from(t).every(h=>h===t[0])?t[0]:t,u=r?e.indexOf(r):-1;let c=YL(e,Math.max(u,0));l.length===1&&(c=c.filter(h=>h!==r));const p=c.find(h=>h.textValue.toLowerCase().startsWith(l.toLowerCase()));return p!==r?p:void 0}a(FE,"findNextItem");function YL(e,t){return e.map((r,o)=>e[(t+o)%e.length])}a(YL,"wrapArray$1");var NH=hE,kH=yE,DH=vE,PH=bE,LH=SE,zH=xE,IH=TE,jH=OE,UH=_E,BH=NE,HH=kE,FH=PE,qH=LE,$H=zE,VH=jE,Gh=["Enter"," "],KL=["ArrowDown","PageUp","Home"],qE=["ArrowUp","PageDown","End"],QL=[...KL,...qE],XL={ltr:[...Gh,"ArrowRight"],rtl:[...Gh,"ArrowLeft"]},WL={ltr:["ArrowLeft"],rtl:["ArrowRight"]},ys="Menu",[ts,ZL,JL]=qc(ys),[so,$E]=Gt(ys,[JL,Ra,$c]),Qc=Ra(),VE=$c(),[e4,uo]=so(ys),[t4,gs]=so(ys),GE=a(e=>{const{__scopeMenu:t,open:r=!1,children:o,dir:l,onOpenChange:u,modal:c=!0}=e,d=Qc(t),[p,h]=x.useState(null),m=x.useRef(!1),g=vt(u),b=hs(l);return x.useEffect(()=>{const S=a(()=>{m.current=!0,document.addEventListener("pointerdown",E,{capture:!0,once:!0}),document.addEventListener("pointermove",E,{capture:!0,once:!0})},"handleKeyDown"),E=a(()=>m.current=!1,"handlePointer");return document.addEventListener("keydown",S,{capture:!0}),()=>{document.removeEventListener("keydown",S,{capture:!0}),document.removeEventListener("pointerdown",E,{capture:!0}),document.removeEventListener("pointermove",E,{capture:!0})}},[]),k.jsx(Am,{...d,children:k.jsx(e4,{scope:t,open:r,onOpenChange:g,content:p,onContentChange:h,children:k.jsx(t4,{scope:t,onClose:x.useCallback(()=>g(!1),[g]),isUsingKeyboardRef:m,dir:b,modal:c,children:o})})})},"Menu");GE.displayName=ys;var n4="MenuAnchor",Km=x.forwardRef((e,t)=>{const{__scopeMenu:r,...o}=e,l=Qc(r);return k.jsx(_m,{...l,...o,ref:t})});Km.displayName=n4;var Qm="MenuPortal",[r4,YE]=so(Qm,{forceMount:void 0}),KE=a(e=>{const{__scopeMenu:t,forceMount:r,children:o,container:l}=e,u=uo(Qm,t);return k.jsx(r4,{scope:t,forceMount:r,children:k.jsx(It,{present:r||u.open,children:k.jsx(Ea,{asChild:!0,container:l,children:o})})})},"MenuPortal");KE.displayName=Qm;var zn="MenuContent",[i4,Xm]=so(zn),QE=x.forwardRef((e,t)=>{const r=YE(zn,e.__scopeMenu),{forceMount:o=r.forceMount,...l}=e,u=uo(zn,e.__scopeMenu),c=gs(zn,e.__scopeMenu);return k.jsx(ts.Provider,{scope:e.__scopeMenu,children:k.jsx(It,{present:o||u.open,children:k.jsx(ts.Slot,{scope:e.__scopeMenu,children:c.modal?k.jsx(o4,{...l,ref:t}):k.jsx(a4,{...l,ref:t})})})})}),o4=x.forwardRef((e,t)=>{const r=uo(zn,e.__scopeMenu),o=x.useRef(null),l=ze(t,o);return x.useEffect(()=>{const u=o.current;if(u)return ym(u)},[]),k.jsx(Wm,{...e,ref:l,trapFocus:r.open,disableOutsidePointerEvents:r.open,disableOutsideScroll:!0,onFocusOutside:ge(e.onFocusOutside,u=>u.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:a(()=>r.onOpenChange(!1),"onDismiss")})}),a4=x.forwardRef((e,t)=>{const r=uo(zn,e.__scopeMenu);return k.jsx(Wm,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:a(()=>r.onOpenChange(!1),"onDismiss")})}),l4=Zi("MenuContent.ScrollLock"),Wm=x.forwardRef((e,t)=>{const{__scopeMenu:r,loop:o=!1,trapFocus:l,onOpenAutoFocus:u,onCloseAutoFocus:c,disableOutsidePointerEvents:d,onEntryFocus:p,onEscapeKeyDown:h,onPointerDownOutside:m,onFocusOutside:g,onInteractOutside:b,onDismiss:S,disableOutsideScroll:E,...w}=e,R=uo(zn,r),C=gs(zn,r),O=Qc(r),N=VE(r),L=ZL(r),[z,D]=x.useState(null),j=x.useRef(null),G=ze(t,j,R.onContentChange),Y=x.useRef(0),J=x.useRef(""),X=x.useRef(0),Z=x.useRef(null),ce=x.useRef("right"),q=x.useRef(0),te=E?kc:x.Fragment,I=E?{as:l4,allowPinchZoom:!0}:void 0,W=a(se=>{const A=J.current+se,K=L().filter(Q=>!Q.disabled),de=document.activeElement,_=K.find(Q=>Q.ref.current===de)?.textValue,re=K.map(Q=>Q.textValue),me=b4(re,A,_),ae=K.find(Q=>Q.textValue===me)?.ref.current;a((function Q(fe){J.current=fe,window.clearTimeout(Y.current),fe!==""&&(Y.current=window.setTimeout(()=>Q(""),1e3))}),"updateSearch")(A),ae&&setTimeout(()=>ae.focus())},"handleTypeaheadSearch");x.useEffect(()=>()=>window.clearTimeout(Y.current),[]),mm();const ne=x.useCallback(se=>ce.current===Z.current?.side&&x4(se,Z.current?.area),[]);return k.jsx(i4,{scope:r,searchRef:J,onItemEnter:x.useCallback(se=>{ne(se)&&se.preventDefault()},[ne]),onItemLeave:x.useCallback(se=>{ne(se)||(j.current?.focus(),D(null))},[ne]),onTriggerLeave:x.useCallback(se=>{ne(se)&&se.preventDefault()},[ne]),pointerGraceTimerRef:X,onPointerGraceIntentChange:x.useCallback(se=>{Z.current=se},[]),children:k.jsx(te,{...I,children:k.jsx(Mc,{asChild:!0,trapped:l,onMountAutoFocus:ge(u,se=>{se.preventDefault(),j.current?.focus({preventScroll:!0})}),onUnmountAutoFocus:c,children:k.jsx(wa,{asChild:!0,disableOutsidePointerEvents:d,onEscapeKeyDown:h,onPointerDownOutside:m,onFocusOutside:g,onInteractOutside:b,onDismiss:S,children:k.jsx(tE,{asChild:!0,...N,dir:C.dir,orientation:"vertical",loop:o,currentTabStopId:z,onCurrentTabStopIdChange:D,onEntryFocus:ge(p,se=>{C.isUsingKeyboardRef.current||se.preventDefault()}),preventScrollOnEntryFocus:!0,children:k.jsx(Mm,{role:"menu","aria-orientation":"vertical","data-state":fC(R.open),"data-radix-menu-content":"",dir:C.dir,...O,...w,ref:G,style:{outline:"none",...w.style},onKeyDown:ge(w.onKeyDown,se=>{const K=se.target.closest("[data-radix-menu-content]")===se.currentTarget,de=se.ctrlKey||se.altKey||se.metaKey,_=se.key.length===1;K&&(se.key==="Tab"&&se.preventDefault(),!de&&_&&W(se.key));const re=j.current;if(se.target!==re||!QL.includes(se.key))return;se.preventDefault();const ae=L().filter(Q=>!Q.disabled).map(Q=>Q.ref.current);qE.includes(se.key)&&ae.reverse(),g4(ae)}),onBlur:ge(e.onBlur,se=>{se.currentTarget.contains(se.target)||(window.clearTimeout(Y.current),J.current="")}),onPointerMove:ge(e.onPointerMove,ns(se=>{const A=se.target,K=q.current!==se.clientX;if(se.currentTarget.contains(A)&&K){const de=se.clientX>q.current?"right":"left";ce.current=de,q.current=se.clientX}}))})})})})})})});QE.displayName=zn;var s4="MenuGroup",Zm=x.forwardRef((e,t)=>{const{__scopeMenu:r,...o}=e;return k.jsx(Ee.div,{role:"group",...o,ref:t})});Zm.displayName=s4;var u4="MenuLabel",XE=x.forwardRef((e,t)=>{const{__scopeMenu:r,...o}=e;return k.jsx(Ee.div,{...o,ref:t})});XE.displayName=u4;var yc="MenuItem",w1="menu.itemSelect",Xc=x.forwardRef((e,t)=>{const{disabled:r=!1,onSelect:o,...l}=e,u=x.useRef(null),c=gs(yc,e.__scopeMenu),d=Xm(yc,e.__scopeMenu),p=ze(t,u),h=x.useRef(!1),m=a(()=>{const g=u.current;if(!r&&g){const b=new CustomEvent(w1,{bubbles:!0,cancelable:!0});g.addEventListener(w1,S=>o?.(S),{once:!0}),hm(g,b),b.defaultPrevented?h.current=!1:c.onClose()}},"handleSelect");return k.jsx(WE,{...l,ref:p,disabled:r,onClick:ge(e.onClick,m),onPointerDown:a(g=>{e.onPointerDown?.(g),h.current=!0},"onPointerDown"),onPointerUp:ge(e.onPointerUp,g=>{h.current||g.currentTarget?.click()}),onKeyDown:ge(e.onKeyDown,g=>{const b=d.searchRef.current!=="";r||b&&g.key===" "||Gh.includes(g.key)&&(g.currentTarget.click(),g.preventDefault())})})});Xc.displayName=yc;var WE=x.forwardRef((e,t)=>{const{__scopeMenu:r,disabled:o=!1,textValue:l,...u}=e,c=Xm(yc,r),d=VE(r),p=x.useRef(null),h=ze(t,p),[m,g]=x.useState(!1),[b,S]=x.useState("");return x.useEffect(()=>{const E=p.current;E&&S((E.textContent??"").trim())},[u.children]),k.jsx(ts.ItemSlot,{scope:r,disabled:o,textValue:l??b,children:k.jsx(nE,{asChild:!0,...d,focusable:!o,children:k.jsx(Ee.div,{role:"menuitem","data-highlighted":m?"":void 0,"aria-disabled":o||void 0,"data-disabled":o?"":void 0,...u,ref:h,onPointerMove:ge(e.onPointerMove,ns(E=>{o?c.onItemLeave(E):(c.onItemEnter(E),E.defaultPrevented||E.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:ge(e.onPointerLeave,ns(E=>c.onItemLeave(E))),onFocus:ge(e.onFocus,()=>g(!0)),onBlur:ge(e.onBlur,()=>g(!1))})})})}),c4="MenuCheckboxItem",ZE=x.forwardRef((e,t)=>{const{checked:r=!1,onCheckedChange:o,...l}=e;return k.jsx(rC,{scope:e.__scopeMenu,checked:r,children:k.jsx(Xc,{role:"menuitemcheckbox","aria-checked":gc(r)?"mixed":r,...l,ref:t,"data-state":ey(r),onSelect:ge(l.onSelect,()=>o?.(gc(r)?!0:!r),{checkForDefaultPrevented:!1})})})});ZE.displayName=c4;var JE="MenuRadioGroup",[f4,d4]=so(JE,{value:void 0,onValueChange:a(()=>{},"onValueChange")}),eC=x.forwardRef((e,t)=>{const{value:r,onValueChange:o,...l}=e,u=vt(o);return k.jsx(f4,{scope:e.__scopeMenu,value:r,onValueChange:u,children:k.jsx(Zm,{...l,ref:t})})});eC.displayName=JE;var tC="MenuRadioItem",nC=x.forwardRef((e,t)=>{const{value:r,...o}=e,l=d4(tC,e.__scopeMenu),u=r===l.value;return k.jsx(rC,{scope:e.__scopeMenu,checked:u,children:k.jsx(Xc,{role:"menuitemradio","aria-checked":u,...o,ref:t,"data-state":ey(u),onSelect:ge(o.onSelect,()=>l.onValueChange?.(r),{checkForDefaultPrevented:!1})})})});nC.displayName=tC;var Jm="MenuItemIndicator",[rC,p4]=so(Jm,{checked:!1}),iC=x.forwardRef((e,t)=>{const{__scopeMenu:r,forceMount:o,...l}=e,u=p4(Jm,r);return k.jsx(It,{present:o||gc(u.checked)||u.checked===!0,children:k.jsx(Ee.span,{...l,ref:t,"data-state":ey(u.checked)})})});iC.displayName=Jm;var h4="MenuSeparator",oC=x.forwardRef((e,t)=>{const{__scopeMenu:r,...o}=e;return k.jsx(Ee.div,{role:"separator","aria-orientation":"horizontal",...o,ref:t})});oC.displayName=h4;var m4="MenuArrow",aC=x.forwardRef((e,t)=>{const{__scopeMenu:r,...o}=e,l=Qc(r);return k.jsx(Nm,{...l,...o,ref:t})});aC.displayName=m4;var y4="MenuSub",[GH,lC]=so(y4),ql="MenuSubTrigger",sC=x.forwardRef((e,t)=>{const r=uo(ql,e.__scopeMenu),o=gs(ql,e.__scopeMenu),l=lC(ql,e.__scopeMenu),u=Xm(ql,e.__scopeMenu),c=x.useRef(null),{pointerGraceTimerRef:d,onPointerGraceIntentChange:p}=u,h={__scopeMenu:e.__scopeMenu},m=x.useCallback(()=>{c.current&&window.clearTimeout(c.current),c.current=null},[]);return x.useEffect(()=>m,[m]),x.useEffect(()=>{const g=d.current;return()=>{window.clearTimeout(g),p(null)}},[d,p]),k.jsx(Km,{asChild:!0,...h,children:k.jsx(WE,{id:l.triggerId,"aria-haspopup":"menu","aria-expanded":r.open,"aria-controls":l.contentId,"data-state":fC(r.open),...e,ref:_c(t,l.onTriggerChange),onClick:a(g=>{e.onClick?.(g),!(e.disabled||g.defaultPrevented)&&(g.currentTarget.focus(),r.open||r.onOpenChange(!0))},"onClick"),onPointerMove:ge(e.onPointerMove,ns(g=>{u.onItemEnter(g),!g.defaultPrevented&&!e.disabled&&!r.open&&!c.current&&(u.onPointerGraceIntentChange(null),c.current=window.setTimeout(()=>{r.onOpenChange(!0),m()},100))})),onPointerLeave:ge(e.onPointerLeave,ns(g=>{m();const b=r.content?.getBoundingClientRect();if(b){const S=r.content?.dataset.side,E=S==="right",w=E?-5:5,R=b[E?"left":"right"],C=b[E?"right":"left"];u.onPointerGraceIntentChange({area:[{x:g.clientX+w,y:g.clientY},{x:R,y:b.top},{x:C,y:b.top},{x:C,y:b.bottom},{x:R,y:b.bottom}],side:S}),window.clearTimeout(d.current),d.current=window.setTimeout(()=>u.onPointerGraceIntentChange(null),300)}else{if(u.onTriggerLeave(g),g.defaultPrevented)return;u.onPointerGraceIntentChange(null)}})),onKeyDown:ge(e.onKeyDown,g=>{const b=u.searchRef.current!=="";e.disabled||b&&g.key===" "||XL[o.dir].includes(g.key)&&(r.onOpenChange(!0),r.content?.focus(),g.preventDefault())})})})});sC.displayName=ql;var uC="MenuSubContent",cC=x.forwardRef((e,t)=>{const r=YE(zn,e.__scopeMenu),{forceMount:o=r.forceMount,...l}=e,u=uo(zn,e.__scopeMenu),c=gs(zn,e.__scopeMenu),d=lC(uC,e.__scopeMenu),p=x.useRef(null),h=ze(t,p);return k.jsx(ts.Provider,{scope:e.__scopeMenu,children:k.jsx(It,{present:o||u.open,children:k.jsx(ts.Slot,{scope:e.__scopeMenu,children:k.jsx(Wm,{id:d.contentId,"aria-labelledby":d.triggerId,...l,ref:h,align:"start",side:c.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:a(m=>{c.isUsingKeyboardRef.current&&p.current?.focus(),m.preventDefault()},"onOpenAutoFocus"),onCloseAutoFocus:a(m=>m.preventDefault(),"onCloseAutoFocus"),onFocusOutside:ge(e.onFocusOutside,m=>{m.target!==d.trigger&&u.onOpenChange(!1)}),onEscapeKeyDown:ge(e.onEscapeKeyDown,m=>{c.onClose(),m.preventDefault()}),onKeyDown:ge(e.onKeyDown,m=>{const g=m.currentTarget.contains(m.target),b=WL[c.dir].includes(m.key);g&&b&&(u.onOpenChange(!1),d.trigger?.focus(),m.preventDefault())})})})})})});cC.displayName=uC;function fC(e){return e?"open":"closed"}a(fC,"getOpenState");function gc(e){return e==="indeterminate"}a(gc,"isIndeterminate");function ey(e){return gc(e)?"indeterminate":e?"checked":"unchecked"}a(ey,"getCheckedState");function g4(e){const t=document.activeElement;for(const r of e)if(r===t||(r.focus(),document.activeElement!==t))return}a(g4,"focusFirst$1");function v4(e,t){return e.map((r,o)=>e[(t+o)%e.length])}a(v4,"wrapArray");function b4(e,t,r){const l=t.length>1&&Array.from(t).every(h=>h===t[0])?t[0]:t,u=r?e.indexOf(r):-1;let c=v4(e,Math.max(u,0));l.length===1&&(c=c.filter(h=>h!==r));const p=c.find(h=>h.toLowerCase().startsWith(l.toLowerCase()));return p!==r?p:void 0}a(b4,"getNextMatch");function S4(e,t){const{x:r,y:o}=e;let l=!1;for(let u=0,c=t.length-1;u<t.length;c=u++){const d=t[u],p=t[c],h=d.x,m=d.y,g=p.x,b=p.y;m>o!=b>o&&r<(g-h)*(o-m)/(b-m)+h&&(l=!l)}return l}a(S4,"isPointInPolygon");function x4(e,t){if(!t)return!1;const r={x:e.clientX,y:e.clientY};return S4(r,t)}a(x4,"isPointerInGraceArea");function ns(e){return t=>t.pointerType==="mouse"?e(t):void 0}a(ns,"whenMouse");var w4=GE,E4=Km,C4=KE,T4=QE,R4=Zm,O4=XE,A4=Xc,_4=ZE,M4=eC,N4=nC,k4=iC,D4=oC,P4=aC,L4=sC,z4=cC,Wc="DropdownMenu",[I4]=Gt(Wc,[$E]),Yt=$E(),[j4,dC]=I4(Wc),pC=a(e=>{const{__scopeDropdownMenu:t,children:r,dir:o,open:l,defaultOpen:u,onOpenChange:c,modal:d=!0}=e,p=Yt(t),h=x.useRef(null),[m,g]=mr({prop:l,defaultProp:u??!1,onChange:c,caller:Wc});return k.jsx(j4,{scope:t,triggerId:Ln(),triggerRef:h,contentId:Ln(),open:m,onOpenChange:g,onOpenToggle:x.useCallback(()=>g(b=>!b),[g]),modal:d,children:k.jsx(w4,{...p,open:m,onOpenChange:g,dir:o,modal:d,children:r})})},"DropdownMenu");pC.displayName=Wc;var hC="DropdownMenuTrigger",mC=x.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,disabled:o=!1,...l}=e,u=dC(hC,r),c=Yt(r);return k.jsx(E4,{asChild:!0,...c,children:k.jsx(Ee.button,{type:"button",id:u.triggerId,"aria-haspopup":"menu","aria-expanded":u.open,"aria-controls":u.open?u.contentId:void 0,"data-state":u.open?"open":"closed","data-disabled":o?"":void 0,disabled:o,...l,ref:_c(t,u.triggerRef),onPointerDown:ge(e.onPointerDown,d=>{!o&&d.button===0&&d.ctrlKey===!1&&(u.onOpenToggle(),u.open||d.preventDefault())}),onKeyDown:ge(e.onKeyDown,d=>{o||(["Enter"," "].includes(d.key)&&u.onOpenToggle(),d.key==="ArrowDown"&&u.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(d.key)&&d.preventDefault())})})})});mC.displayName=hC;var U4="DropdownMenuPortal",yC=a(e=>{const{__scopeDropdownMenu:t,...r}=e,o=Yt(t);return k.jsx(C4,{...o,...r})},"DropdownMenuPortal");yC.displayName=U4;var gC="DropdownMenuContent",vC=x.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...o}=e,l=dC(gC,r),u=Yt(r),c=x.useRef(!1);return k.jsx(T4,{id:l.contentId,"aria-labelledby":l.triggerId,...u,...o,ref:t,onCloseAutoFocus:ge(e.onCloseAutoFocus,d=>{c.current||l.triggerRef.current?.focus(),c.current=!1,d.preventDefault()}),onInteractOutside:ge(e.onInteractOutside,d=>{const p=d.detail.originalEvent,h=p.button===0&&p.ctrlKey===!0,m=p.button===2||h;(!l.modal||m)&&(c.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});vC.displayName=gC;var B4="DropdownMenuGroup",H4=x.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...o}=e,l=Yt(r);return k.jsx(R4,{...l,...o,ref:t})});H4.displayName=B4;var F4="DropdownMenuLabel",bC=x.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...o}=e,l=Yt(r);return k.jsx(O4,{...l,...o,ref:t})});bC.displayName=F4;var q4="DropdownMenuItem",SC=x.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...o}=e,l=Yt(r);return k.jsx(A4,{...l,...o,ref:t})});SC.displayName=q4;var $4="DropdownMenuCheckboxItem",V4=x.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...o}=e,l=Yt(r);return k.jsx(_4,{...l,...o,ref:t})});V4.displayName=$4;var G4="DropdownMenuRadioGroup",Y4=x.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...o}=e,l=Yt(r);return k.jsx(M4,{...l,...o,ref:t})});Y4.displayName=G4;var K4="DropdownMenuRadioItem",Q4=x.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...o}=e,l=Yt(r);return k.jsx(N4,{...l,...o,ref:t})});Q4.displayName=K4;var X4="DropdownMenuItemIndicator",W4=x.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...o}=e,l=Yt(r);return k.jsx(k4,{...l,...o,ref:t})});W4.displayName=X4;var Z4="DropdownMenuSeparator",xC=x.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...o}=e,l=Yt(r);return k.jsx(D4,{...l,...o,ref:t})});xC.displayName=Z4;var J4="DropdownMenuArrow",ez=x.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...o}=e,l=Yt(r);return k.jsx(P4,{...l,...o,ref:t})});ez.displayName=J4;var tz="DropdownMenuSubTrigger",nz=x.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...o}=e,l=Yt(r);return k.jsx(L4,{...l,...o,ref:t})});nz.displayName=tz;var rz="DropdownMenuSubContent",iz=x.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...o}=e,l=Yt(r);return k.jsx(z4,{...l,...o,ref:t,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});iz.displayName=rz;var YH=pC,KH=mC,QH=yC,XH=vC,WH=bC,ZH=SC,JH=xC,wC="AlertDialog",[oz]=Gt(wC,[bx]),Gr=bx(),EC=a(e=>{const{__scopeAlertDialog:t,...r}=e,o=Gr(t);return k.jsx(ZM,{...o,...r,modal:!0})},"AlertDialog");EC.displayName=wC;var az="AlertDialogTrigger",lz=x.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...o}=e,l=Gr(r);return k.jsx(JM,{...l,...o,ref:t})});lz.displayName=az;var sz="AlertDialogPortal",CC=a(e=>{const{__scopeAlertDialog:t,...r}=e,o=Gr(t);return k.jsx(eN,{...o,...r})},"AlertDialogPortal");CC.displayName=sz;var uz="AlertDialogOverlay",TC=x.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...o}=e,l=Gr(r);return k.jsx(tN,{...l,...o,ref:t})});TC.displayName=uz;var fa="AlertDialogContent",[cz,fz]=oz(fa),dz=ix("AlertDialogContent"),RC=x.forwardRef((e,t)=>{const{__scopeAlertDialog:r,children:o,...l}=e,u=Gr(r),c=x.useRef(null),d=ze(t,c),p=x.useRef(null);return k.jsx(KM,{contentName:fa,titleName:OC,docsSlug:"alert-dialog",children:k.jsx(cz,{scope:r,cancelRef:p,children:k.jsxs(nN,{role:"alertdialog",...u,...l,ref:d,onOpenAutoFocus:ge(l.onOpenAutoFocus,h=>{h.preventDefault(),p.current?.focus({preventScroll:!0})}),onPointerDownOutside:a(h=>h.preventDefault(),"onPointerDownOutside"),onInteractOutside:a(h=>h.preventDefault(),"onInteractOutside"),children:[k.jsx(dz,{children:o}),k.jsx(hz,{contentRef:c})]})})})});RC.displayName=fa;var OC="AlertDialogTitle",AC=x.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...o}=e,l=Gr(r);return k.jsx(rN,{...l,...o,ref:t})});AC.displayName=OC;var _C="AlertDialogDescription",MC=x.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...o}=e,l=Gr(r);return k.jsx(iN,{...l,...o,ref:t})});MC.displayName=_C;var pz="AlertDialogAction",NC=x.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...o}=e,l=Gr(r);return k.jsx(Lx,{...l,...o,ref:t})});NC.displayName=pz;var kC="AlertDialogCancel",DC=x.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...o}=e,{cancelRef:l}=fz(kC,r),u=Gr(r),c=ze(t,l);return k.jsx(Lx,{...u,...o,ref:c})});DC.displayName=kC;var hz=a(({contentRef:e})=>{const t=`\`${fa}\` requires a description for the component to be accessible for screen reader users.
|
|
535
|
-
|
|
536
|
-
You can add a description to the \`${fa}\` by passing a \`${_C}\` component as a child, which also benefits sighted users by adding visible context to the dialog.
|
|
537
|
-
|
|
538
|
-
Alternatively, you can use your own component as a description by assigning it an \`id\` and passing the same value to the \`aria-describedby\` prop in \`${fa}\`. If the description is confusing or duplicative for sighted users, you can use the \`@radix-ui/react-visually-hidden\` primitive as a wrapper around your description component.
|
|
539
|
-
|
|
540
|
-
For more information, see https://radix-ui.com/primitives/docs/components/alert-dialog`;return x.useEffect(()=>{document.getElementById(e.current?.getAttribute("aria-describedby"))||console.warn(t)},[t,e]),null},"DescriptionWarning"),eF=EC,tF=CC,nF=TC,rF=RC,iF=NC,oF=DC,aF=AC,lF=MC;function mz(e,t){return x.useReducer((r,o)=>t[r][o]??r,e)}a(mz,"useStateMachine");var ty="ScrollArea",[PC]=Gt(ty),[yz,In]=PC(ty),LC=x.forwardRef((e,t)=>{const{__scopeScrollArea:r,type:o="hover",dir:l,scrollHideDelay:u=600,...c}=e,[d,p]=x.useState(null),[h,m]=x.useState(null),[g,b]=x.useState(null),[S,E]=x.useState(null),[w,R]=x.useState(null),[C,O]=x.useState(0),[N,L]=x.useState(0),[z,D]=x.useState(!1),[j,G]=x.useState(!1),Y=ze(t,X=>p(X)),J=hs(l);return k.jsx(yz,{scope:r,type:o,dir:J,scrollHideDelay:u,scrollArea:d,viewport:h,onViewportChange:m,content:g,onContentChange:b,scrollbarX:S,onScrollbarXChange:E,scrollbarXEnabled:z,onScrollbarXEnabledChange:D,scrollbarY:w,onScrollbarYChange:R,scrollbarYEnabled:j,onScrollbarYEnabledChange:G,onCornerWidthChange:O,onCornerHeightChange:L,children:k.jsx(Ee.div,{dir:J,...c,ref:Y,style:{position:"relative","--radix-scroll-area-corner-width":C+"px","--radix-scroll-area-corner-height":N+"px",...e.style}})})});LC.displayName=ty;var zC="ScrollAreaViewport",IC=x.forwardRef((e,t)=>{const{__scopeScrollArea:r,children:o,nonce:l,...u}=e,c=In(zC,r),d=x.useRef(null),p=ze(t,d,c.onViewportChange);return k.jsxs(k.Fragment,{children:[k.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}"},nonce:l}),k.jsx(Ee.div,{"data-radix-scroll-area-viewport":"",...u,ref:p,style:{overflowX:c.scrollbarXEnabled?"scroll":"hidden",overflowY:c.scrollbarYEnabled?"scroll":"hidden",...e.style},children:k.jsx("div",{ref:c.onContentChange,style:{minWidth:"100%",display:"table"},children:o})})]})});IC.displayName=zC;var wr="ScrollAreaScrollbar",gz=x.forwardRef((e,t)=>{const{forceMount:r,...o}=e,l=In(wr,e.__scopeScrollArea),{onScrollbarXEnabledChange:u,onScrollbarYEnabledChange:c}=l,d=e.orientation==="horizontal";return x.useEffect(()=>(d?u(!0):c(!0),()=>{d?u(!1):c(!1)}),[d,u,c]),l.type==="hover"?k.jsx(vz,{...o,ref:t,forceMount:r}):l.type==="scroll"?k.jsx(bz,{...o,ref:t,forceMount:r}):l.type==="auto"?k.jsx(jC,{...o,ref:t,forceMount:r}):l.type==="always"?k.jsx(ny,{...o,ref:t}):null});gz.displayName=wr;var vz=x.forwardRef((e,t)=>{const{forceMount:r,...o}=e,l=In(wr,e.__scopeScrollArea),[u,c]=x.useState(!1);return x.useEffect(()=>{const d=l.scrollArea;let p=0;if(d){const h=a(()=>{window.clearTimeout(p),c(!0)},"handlePointerEnter"),m=a(()=>{p=window.setTimeout(()=>c(!1),l.scrollHideDelay)},"handlePointerLeave");return d.addEventListener("pointerenter",h),d.addEventListener("pointerleave",m),()=>{window.clearTimeout(p),d.removeEventListener("pointerenter",h),d.removeEventListener("pointerleave",m)}}},[l.scrollArea,l.scrollHideDelay]),k.jsx(It,{present:r||u,children:k.jsx(jC,{"data-state":u?"visible":"hidden",...o,ref:t})})}),bz=x.forwardRef((e,t)=>{const{forceMount:r,...o}=e,l=In(wr,e.__scopeScrollArea),u=e.orientation==="horizontal",c=Jc(()=>p("SCROLL_END"),100),[d,p]=mz("hidden",{hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}});return x.useEffect(()=>{if(d==="idle"){const h=window.setTimeout(()=>p("HIDE"),l.scrollHideDelay);return()=>window.clearTimeout(h)}},[d,l.scrollHideDelay,p]),x.useEffect(()=>{const h=l.viewport,m=u?"scrollLeft":"scrollTop";if(h){let g=h[m];const b=a(()=>{const S=h[m];g!==S&&(p("SCROLL"),c()),g=S},"handleScroll");return h.addEventListener("scroll",b),()=>h.removeEventListener("scroll",b)}},[l.viewport,u,p,c]),k.jsx(It,{present:r||d!=="hidden",children:k.jsx(ny,{"data-state":d==="hidden"?"hidden":"visible",...o,ref:t,onPointerEnter:ge(e.onPointerEnter,()=>p("POINTER_ENTER")),onPointerLeave:ge(e.onPointerLeave,()=>p("POINTER_LEAVE"))})})}),jC=x.forwardRef((e,t)=>{const r=In(wr,e.__scopeScrollArea),{forceMount:o,...l}=e,[u,c]=x.useState(!1),d=e.orientation==="horizontal",p=Jc(()=>{if(r.viewport){const h=r.viewport.offsetWidth<r.viewport.scrollWidth,m=r.viewport.offsetHeight<r.viewport.scrollHeight;c(d?h:m)}},10);return ga(r.viewport,p),ga(r.content,p),k.jsx(It,{present:o||u,children:k.jsx(ny,{"data-state":u?"visible":"hidden",...l,ref:t})})}),ny=x.forwardRef((e,t)=>{const{orientation:r="vertical",...o}=e,l=In(wr,e.__scopeScrollArea),u=x.useRef(null),c=x.useRef(0),[d,p]=x.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),h=FC(d.viewport,d.content),m={...o,sizes:d,onSizesChange:p,hasThumb:h>0&&h<1,onThumbChange:a(b=>u.current=b,"onThumbChange"),onThumbPointerUp:a(()=>c.current=0,"onThumbPointerUp"),onThumbPointerDown:a(b=>c.current=b,"onThumbPointerDown")};function g(b,S){return Rz(b,c.current,d,S)}return a(g,"getScrollPosition"),r==="horizontal"?k.jsx(Sz,{...m,ref:t,onThumbPositionChange:a(()=>{if(l.viewport&&u.current){const b=l.viewport.scrollLeft,S=E1(b,d,l.dir);u.current.style.transform=`translate3d(${S}px, 0, 0)`}},"onThumbPositionChange"),onWheelScroll:a(b=>{l.viewport&&(l.viewport.scrollLeft=b)},"onWheelScroll"),onDragScroll:a(b=>{l.viewport&&(l.viewport.scrollLeft=g(b,l.dir))},"onDragScroll")}):r==="vertical"?k.jsx(xz,{...m,ref:t,onThumbPositionChange:a(()=>{if(l.viewport&&u.current){const b=l.viewport.scrollTop,S=E1(b,d);u.current.style.transform=`translate3d(0, ${S}px, 0)`}},"onThumbPositionChange"),onWheelScroll:a(b=>{l.viewport&&(l.viewport.scrollTop=b)},"onWheelScroll"),onDragScroll:a(b=>{l.viewport&&(l.viewport.scrollTop=g(b))},"onDragScroll")}):null}),Sz=x.forwardRef((e,t)=>{const{sizes:r,onSizesChange:o,...l}=e,u=In(wr,e.__scopeScrollArea),[c,d]=x.useState(),p=x.useRef(null),h=ze(t,p,u.onScrollbarXChange);return x.useEffect(()=>{p.current&&d(getComputedStyle(p.current))},[p]),k.jsx(BC,{"data-orientation":"horizontal",...l,ref:h,sizes:r,style:{bottom:0,left:u.dir==="rtl"?"var(--radix-scroll-area-corner-width)":0,right:u.dir==="ltr"?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":Zc(r)+"px",...e.style},onThumbPointerDown:a(m=>e.onThumbPointerDown(m.x),"onThumbPointerDown"),onDragScroll:a(m=>e.onDragScroll(m.x),"onDragScroll"),onWheelScroll:a((m,g)=>{if(u.viewport){const b=u.viewport.scrollLeft+m.deltaX;e.onWheelScroll(b),$C(b,g)&&m.preventDefault()}},"onWheelScroll"),onResize:a(()=>{p.current&&u.viewport&&c&&o({content:u.viewport.scrollWidth,viewport:u.viewport.offsetWidth,scrollbar:{size:p.current.clientWidth,paddingStart:bc(c.paddingLeft),paddingEnd:bc(c.paddingRight)}})},"onResize")})}),xz=x.forwardRef((e,t)=>{const{sizes:r,onSizesChange:o,...l}=e,u=In(wr,e.__scopeScrollArea),[c,d]=x.useState(),p=x.useRef(null),h=ze(t,p,u.onScrollbarYChange);return x.useEffect(()=>{p.current&&d(getComputedStyle(p.current))},[p]),k.jsx(BC,{"data-orientation":"vertical",...l,ref:h,sizes:r,style:{top:0,right:u.dir==="ltr"?0:void 0,left:u.dir==="rtl"?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":Zc(r)+"px",...e.style},onThumbPointerDown:a(m=>e.onThumbPointerDown(m.y),"onThumbPointerDown"),onDragScroll:a(m=>e.onDragScroll(m.y),"onDragScroll"),onWheelScroll:a((m,g)=>{if(u.viewport){const b=u.viewport.scrollTop+m.deltaY;e.onWheelScroll(b),$C(b,g)&&m.preventDefault()}},"onWheelScroll"),onResize:a(()=>{p.current&&u.viewport&&c&&o({content:u.viewport.scrollHeight,viewport:u.viewport.offsetHeight,scrollbar:{size:p.current.clientHeight,paddingStart:bc(c.paddingTop),paddingEnd:bc(c.paddingBottom)}})},"onResize")})}),[wz,UC]=PC(wr),BC=x.forwardRef((e,t)=>{const{__scopeScrollArea:r,sizes:o,hasThumb:l,onThumbChange:u,onThumbPointerUp:c,onThumbPointerDown:d,onThumbPositionChange:p,onDragScroll:h,onWheelScroll:m,onResize:g,...b}=e,S=In(wr,r),[E,w]=x.useState(null),R=ze(t,Y=>w(Y)),C=x.useRef(null),O=x.useRef(""),N=S.viewport,L=o.content-o.viewport,z=vt(m),D=vt(p),j=Jc(g,10);function G(Y){if(C.current){const J=Y.clientX-C.current.left,X=Y.clientY-C.current.top;h({x:J,y:X})}}return a(G,"handleDragScroll"),x.useEffect(()=>{const Y=a(J=>{const X=J.target;E?.contains(X)&&z(J,L)},"handleWheel");return document.addEventListener("wheel",Y,{passive:!1}),()=>document.removeEventListener("wheel",Y,{passive:!1})},[N,E,L,z]),x.useEffect(D,[o,D]),ga(E,j),ga(S.content,j),k.jsx(wz,{scope:r,scrollbar:E,hasThumb:l,onThumbChange:vt(u),onThumbPointerUp:vt(c),onThumbPositionChange:D,onThumbPointerDown:vt(d),children:k.jsx(Ee.div,{...b,ref:R,style:{position:"absolute",...b.style},onPointerDown:ge(e.onPointerDown,Y=>{Y.button===0&&(Y.target.setPointerCapture(Y.pointerId),C.current=E.getBoundingClientRect(),O.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",S.viewport&&(S.viewport.style.scrollBehavior="auto"),G(Y))}),onPointerMove:ge(e.onPointerMove,G),onPointerUp:ge(e.onPointerUp,Y=>{const J=Y.target;J.hasPointerCapture(Y.pointerId)&&J.releasePointerCapture(Y.pointerId),document.body.style.webkitUserSelect=O.current,S.viewport&&(S.viewport.style.scrollBehavior=""),C.current=null})})})}),vc="ScrollAreaThumb",Ez=x.forwardRef((e,t)=>{const{forceMount:r,...o}=e,l=UC(vc,e.__scopeScrollArea);return k.jsx(It,{present:r||l.hasThumb,children:k.jsx(Cz,{ref:t,...o})})}),Cz=x.forwardRef((e,t)=>{const{__scopeScrollArea:r,style:o,...l}=e,u=In(vc,r),c=UC(vc,r),{onThumbPositionChange:d}=c,p=ze(t,g=>c.onThumbChange(g)),h=x.useRef(void 0),m=Jc(()=>{h.current&&(h.current(),h.current=void 0)},100);return x.useEffect(()=>{const g=u.viewport;if(g){const b=a(()=>{if(m(),!h.current){const S=Oz(g,d);h.current=S,d()}},"handleScroll");return d(),g.addEventListener("scroll",b),()=>g.removeEventListener("scroll",b)}},[u.viewport,m,d]),k.jsx(Ee.div,{"data-state":c.hasThumb?"visible":"hidden",...l,ref:p,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...o},onPointerDownCapture:ge(e.onPointerDownCapture,g=>{const S=g.target.getBoundingClientRect(),E=g.clientX-S.left,w=g.clientY-S.top;c.onThumbPointerDown({x:E,y:w})}),onPointerUp:ge(e.onPointerUp,c.onThumbPointerUp)})});Ez.displayName=vc;var ry="ScrollAreaCorner",HC=x.forwardRef((e,t)=>{const r=In(ry,e.__scopeScrollArea),o=!!(r.scrollbarX&&r.scrollbarY);return r.type!=="scroll"&&o?k.jsx(Tz,{...e,ref:t}):null});HC.displayName=ry;var Tz=x.forwardRef((e,t)=>{const{__scopeScrollArea:r,...o}=e,l=In(ry,r),[u,c]=x.useState(0),[d,p]=x.useState(0),h=!!(u&&d);return ga(l.scrollbarX,()=>{const m=l.scrollbarX?.offsetHeight||0;l.onCornerHeightChange(m),p(m)}),ga(l.scrollbarY,()=>{const m=l.scrollbarY?.offsetWidth||0;l.onCornerWidthChange(m),c(m)}),h?k.jsx(Ee.div,{...o,ref:t,style:{width:u,height:d,position:"absolute",right:l.dir==="ltr"?0:void 0,left:l.dir==="rtl"?0:void 0,bottom:0,...e.style}}):null});function bc(e){return e?parseInt(e,10):0}a(bc,"toInt");function FC(e,t){const r=e/t;return isNaN(r)?0:r}a(FC,"getThumbRatio");function Zc(e){const t=FC(e.viewport,e.content),r=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,o=(e.scrollbar.size-r)*t;return Math.max(o,18)}a(Zc,"getThumbSize");function Rz(e,t,r,o="ltr"){const l=Zc(r),u=l/2,c=t||u,d=l-c,p=r.scrollbar.paddingStart+c,h=r.scrollbar.size-r.scrollbar.paddingEnd-d,m=r.content-r.viewport,g=o==="ltr"?[0,m]:[m*-1,0];return qC([p,h],g)(e)}a(Rz,"getScrollPositionFromPointer");function E1(e,t,r="ltr"){const o=Zc(t),l=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,u=t.scrollbar.size-l,c=t.content-t.viewport,d=u-o,p=r==="ltr"?[0,c]:[c*-1,0],h=wh(e,p);return qC([0,c],[0,d])(h)}a(E1,"getThumbOffsetFromScroll");function qC(e,t){return r=>{if(e[0]===e[1]||t[0]===t[1])return t[0];const o=(t[1]-t[0])/(e[1]-e[0]);return t[0]+o*(r-e[0])}}a(qC,"linearScale");function $C(e,t){return e>0&&e<t}a($C,"isScrollingWithinScrollbarBounds");var Oz=a((e,t=()=>{})=>{let r={left:e.scrollLeft,top:e.scrollTop},o=0;return a((function l(){const u={left:e.scrollLeft,top:e.scrollTop},c=r.left!==u.left,d=r.top!==u.top;(c||d)&&t(),r=u,o=window.requestAnimationFrame(l)}),"loop")(),()=>window.cancelAnimationFrame(o)},"addUnlinkedScrollListener");function Jc(e,t){const r=vt(e),o=x.useRef(0);return x.useEffect(()=>()=>window.clearTimeout(o.current),[]),x.useCallback(()=>{window.clearTimeout(o.current),o.current=window.setTimeout(r,t)},[r,t])}a(Jc,"useDebounceCallback");function ga(e,t){const r=vt(t);bt(()=>{let o=0;if(e){const l=new ResizeObserver(()=>{cancelAnimationFrame(o),o=window.requestAnimationFrame(r)});return l.observe(e),()=>{window.cancelAnimationFrame(o),l.unobserve(e)}}},[e,r])}a(ga,"useResizeObserver");var sF=LC,uF=IC,cF=HC,Gp={exports:{}},Yp={};/**
|
|
541
|
-
* @license React
|
|
542
|
-
* use-sync-external-store-shim.production.js
|
|
543
|
-
*
|
|
544
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
545
|
-
*
|
|
546
|
-
* This source code is licensed under the MIT license found in the
|
|
547
|
-
* LICENSE file in the root directory of this source tree.
|
|
548
|
-
*/var C1;function Az(){if(C1)return Yp;C1=1;var e=ss();function t(g,b){return g===b&&(g!==0||1/g===1/b)||g!==g&&b!==b}a(t,"is");var r=typeof Object.is=="function"?Object.is:t,o=e.useState,l=e.useEffect,u=e.useLayoutEffect,c=e.useDebugValue;function d(g,b){var S=b(),E=o({inst:{value:S,getSnapshot:b}}),w=E[0].inst,R=E[1];return u(function(){w.value=S,w.getSnapshot=b,p(w)&&R({inst:w})},[g,S,b]),l(function(){return p(w)&&R({inst:w}),g(function(){p(w)&&R({inst:w})})},[g]),c(S),S}a(d,"useSyncExternalStore$2");function p(g){var b=g.getSnapshot;g=g.value;try{var S=b();return!r(g,S)}catch{return!0}}a(p,"checkIfSnapshotChanged");function h(g,b){return b()}a(h,"useSyncExternalStore$1");var m=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?h:d;return Yp.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:m,Yp}a(Az,"requireUseSyncExternalStoreShim_production");var T1;function _z(){return T1||(T1=1,Gp.exports=Az()),Gp.exports}a(_z,"requireShim");var Mz=_z();function Nz(){return Mz.useSyncExternalStore(kz,()=>!0,()=>!1)}a(Nz,"useIsHydrated");function kz(){return()=>{}}a(kz,"subscribe");var iy="Avatar",[Dz]=Gt(iy),[Pz,VC]=Dz(iy),GC=x.forwardRef((e,t)=>{const{__scopeAvatar:r,...o}=e,[l,u]=x.useState("idle");return k.jsx(Pz,{scope:r,imageLoadingStatus:l,onImageLoadingStatusChange:u,children:k.jsx(Ee.span,{...o,ref:t})})});GC.displayName=iy;var YC="AvatarImage",KC=x.forwardRef((e,t)=>{const{__scopeAvatar:r,src:o,onLoadingStatusChange:l=a(()=>{},"onLoadingStatusChange"),...u}=e,c=VC(YC,r),d=Lz(o,u),p=vt(h=>{l(h),c.onImageLoadingStatusChange(h)});return bt(()=>{d!=="idle"&&p(d)},[d,p]),d==="loaded"?k.jsx(Ee.img,{...u,ref:t,src:o}):null});KC.displayName=YC;var QC="AvatarFallback",XC=x.forwardRef((e,t)=>{const{__scopeAvatar:r,delayMs:o,...l}=e,u=VC(QC,r),[c,d]=x.useState(o===void 0);return x.useEffect(()=>{if(o!==void 0){const p=window.setTimeout(()=>d(!0),o);return()=>window.clearTimeout(p)}},[o]),c&&u.imageLoadingStatus!=="loaded"?k.jsx(Ee.span,{...l,ref:t}):null});XC.displayName=QC;function R1(e,t){return e?t?(e.src!==t&&(e.src=t),e.complete&&e.naturalWidth>0?"loaded":"loading"):"error":"idle"}a(R1,"resolveLoadingStatus");function Lz(e,{referrerPolicy:t,crossOrigin:r}){const o=Nz(),l=x.useRef(null),u=o?(l.current||(l.current=new window.Image),l.current):null,[c,d]=x.useState(()=>R1(u,e));return bt(()=>{d(R1(u,e))},[u,e]),bt(()=>{const p=a(g=>()=>{d(g)},"updateStatus");if(!u)return;const h=p("loaded"),m=p("error");return u.addEventListener("load",h),u.addEventListener("error",m),t&&(u.referrerPolicy=t),typeof r=="string"&&(u.crossOrigin=r),()=>{u.removeEventListener("load",h),u.removeEventListener("error",m)}},[u,r,t]),c}a(Lz,"useImageLoadingStatus");var fF=GC,dF=KC,pF=XC;function WC(e){return t=>typeof t===e}a(WC,"isOfType$3");var zz=WC("function"),Iz=a(e=>e===null,"isNull$1"),O1=a(e=>Object.prototype.toString.call(e).slice(8,-1)==="RegExp","isRegex$1"),A1=a(e=>!jz(e)&&!Iz(e)&&(zz(e)||typeof e=="object"),"isObject$1"),jz=WC("undefined");function Uz(e,t){const{length:r}=e;if(r!==t.length)return!1;for(let o=r;o--!==0;)if(!Vt(e[o],t[o]))return!1;return!0}a(Uz,"equalArray$1");function Bz(e,t){if(e.byteLength!==t.byteLength)return!1;const r=new DataView(e.buffer),o=new DataView(t.buffer);let l=e.byteLength;for(;l--;)if(r.getUint8(l)!==o.getUint8(l))return!1;return!0}a(Bz,"equalArrayBuffer$1");function Hz(e,t){if(e.size!==t.size)return!1;for(const r of e.entries())if(!t.has(r[0]))return!1;for(const r of e.entries())if(!Vt(r[1],t.get(r[0])))return!1;return!0}a(Hz,"equalMap$1");function Fz(e,t){if(e.size!==t.size)return!1;for(const r of e.entries())if(!t.has(r[0]))return!1;return!0}a(Fz,"equalSet$1");function Vt(e,t){if(e===t)return!0;if(e&&A1(e)&&t&&A1(t)){if(e.constructor!==t.constructor)return!1;if(Array.isArray(e)&&Array.isArray(t))return Uz(e,t);if(e instanceof Map&&t instanceof Map)return Hz(e,t);if(e instanceof Set&&t instanceof Set)return Fz(e,t);if(ArrayBuffer.isView(e)&&ArrayBuffer.isView(t))return Bz(e,t);if(O1(e)&&O1(t))return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();const r=Object.keys(e),o=Object.keys(t);if(r.length!==o.length)return!1;for(let l=r.length;l--!==0;)if(!Object.prototype.hasOwnProperty.call(t,r[l]))return!1;for(let l=r.length;l--!==0;){const u=r[l];if(!(u==="_owner"&&e.$$typeof)&&!Vt(e[u],t[u]))return!1}return!0}return Number.isNaN(e)&&Number.isNaN(t)?!0:e===t}a(Vt,"equal$1");var qz=["Array","ArrayBuffer","AsyncFunction","AsyncGenerator","AsyncGeneratorFunction","Date","Error","Function","Generator","GeneratorFunction","HTMLElement","Map","Object","Promise","RegExp","Set","WeakMap","WeakSet"],$z=["bigint","boolean","null","number","string","symbol","undefined"];function ef(e){const t=Object.prototype.toString.call(e).slice(8,-1);if(/HTML\w+Element/.test(t))return"HTMLElement";if(Vz(t))return t}a(ef,"getObjectType$2");function Wn(e){return t=>ef(t)===e}a(Wn,"isObjectOfType$1");function Vz(e){return qz.includes(e)}a(Vz,"isObjectType$1");function Ma(e){return t=>typeof t===e}a(Ma,"isOfType$2");function Gz(e){return $z.includes(e)}a(Gz,"isPrimitiveType$1");var Yz=["innerHTML","ownerDocument","style","attributes","nodeValue"];function be(e){if(e===null)return"null";switch(typeof e){case"bigint":return"bigint";case"boolean":return"boolean";case"number":return"number";case"string":return"string";case"symbol":return"symbol";case"undefined":return"undefined"}if(be.array(e))return"Array";if(be.plainFunction(e))return"Function";const t=ef(e);return t||"Object"}a(be,"is$1");be.array=Array.isArray;be.arrayOf=(e,t)=>!be.array(e)&&!be.function(t)?!1:e.every(r=>t(r));be.asyncGeneratorFunction=e=>ef(e)==="AsyncGeneratorFunction";be.asyncFunction=Wn("AsyncFunction");be.bigint=Ma("bigint");be.boolean=e=>e===!0||e===!1;be.date=Wn("Date");be.defined=e=>!be.undefined(e);be.domElement=e=>be.object(e)&&!be.plainObject(e)&&e.nodeType===1&&be.string(e.nodeName)&&Yz.every(t=>t in e);be.empty=e=>be.string(e)&&e.length===0||be.array(e)&&e.length===0||be.object(e)&&!be.map(e)&&!be.set(e)&&Object.keys(e).length===0||be.set(e)&&e.size===0||be.map(e)&&e.size===0;be.error=Wn("Error");be.function=Ma("function");be.generator=e=>be.iterable(e)&&be.function(e.next)&&be.function(e.throw);be.generatorFunction=Wn("GeneratorFunction");be.instanceOf=(e,t)=>!e||!t?!1:Object.getPrototypeOf(e)===t.prototype;be.iterable=e=>!be.nullOrUndefined(e)&&be.function(e[Symbol.iterator]);be.map=Wn("Map");be.nan=e=>Number.isNaN(e);be.null=e=>e===null;be.nullOrUndefined=e=>be.null(e)||be.undefined(e);be.number=e=>Ma("number")(e)&&!be.nan(e);be.numericString=e=>be.string(e)&&e.length>0&&!Number.isNaN(Number(e));be.object=e=>!be.nullOrUndefined(e)&&(be.function(e)||typeof e=="object");be.oneOf=(e,t)=>be.array(e)?e.indexOf(t)>-1:!1;be.plainFunction=Wn("Function");be.plainObject=e=>{if(ef(e)!=="Object")return!1;const t=Object.getPrototypeOf(e);return t===null||t===Object.getPrototypeOf({})};be.primitive=e=>be.null(e)||Gz(typeof e);be.promise=Wn("Promise");be.propertyOf=(e,t,r)=>{if(!be.object(e)||!t)return!1;const o=e[t];return be.function(r)?r(o):be.defined(o)};be.regexp=Wn("RegExp");be.set=Wn("Set");be.string=Ma("string");be.symbol=Ma("symbol");be.undefined=Ma("undefined");be.weakMap=Wn("WeakMap");be.weakSet=Wn("WeakSet");var xe=be;function Kz(...e){return e.every(t=>xe.string(t)||xe.array(t)||xe.plainObject(t))}a(Kz,"canHaveLength$1");function Qz(e,t,r){return ZC(e,t)?[e,t].every(xe.array)?!e.some(D1(r))&&t.some(D1(r)):[e,t].every(xe.plainObject)?!Object.entries(e).some(k1(r))&&Object.entries(t).some(k1(r)):t===r:!1}a(Qz,"checkEquality$1");function _1(e,t,r){const{actual:o,key:l,previous:u,type:c}=r,d=fr(e,l),p=fr(t,l);let h=[d,p].every(xe.number)&&(c==="increased"?d<p:d>p);return xe.undefined(o)||(h=h&&p===o),xe.undefined(u)||(h=h&&d===u),h}a(_1,"compareNumbers$1");function M1(e,t,r){const{key:o,type:l,value:u}=r,c=fr(e,o),d=fr(t,o),p=l==="added"?c:d,h=l==="added"?d:c;if(!xe.nullOrUndefined(u)){if(xe.defined(p)){if(xe.array(p)||xe.plainObject(p))return Qz(p,h,u)}else return Vt(h,u);return!1}return[c,d].every(xe.array)?!h.every(oy(p)):[c,d].every(xe.plainObject)?Xz(Object.keys(p),Object.keys(h)):![c,d].every(m=>xe.primitive(m)&&xe.defined(m))&&(l==="added"?!xe.defined(c)&&xe.defined(d):xe.defined(c)&&!xe.defined(d))}a(M1,"compareValues$1");function N1(e,t,{key:r}={}){let o=fr(e,r),l=fr(t,r);if(!ZC(o,l))throw new TypeError("Inputs have different types");if(!Kz(o,l))throw new TypeError("Inputs don't have length");return[o,l].every(xe.plainObject)&&(o=Object.keys(o),l=Object.keys(l)),[o,l]}a(N1,"getIterables$1");function k1(e){return([t,r])=>xe.array(e)?Vt(e,r)||e.some(o=>Vt(o,r)||xe.array(r)&&oy(r)(o)):xe.plainObject(e)&&e[t]?!!e[t]&&Vt(e[t],r):Vt(e,r)}a(k1,"hasEntry$1");function Xz(e,t){return t.some(r=>!e.includes(r))}a(Xz,"hasExtraKeys$1");function D1(e){return t=>xe.array(e)?e.some(r=>Vt(r,t)||xe.array(t)&&oy(t)(r)):Vt(e,t)}a(D1,"hasValue$1");function Dl(e,t){return xe.array(e)?e.some(r=>Vt(r,t)):Vt(e,t)}a(Dl,"includesOrEqualsTo$1");function oy(e){return t=>e.some(r=>Vt(r,t))}a(oy,"isEqualPredicate$1");function ZC(...e){return e.every(xe.array)||e.every(xe.number)||e.every(xe.plainObject)||e.every(xe.string)}a(ZC,"isSameType$1");function fr(e,t){return xe.plainObject(e)||xe.array(e)?xe.string(t)?t.split(".").reduce((o,l)=>o&&o[l],e):xe.number(t)?e[t]:e:e}a(fr,"nested$1");function Sc(e,t){if([e,t].some(xe.nullOrUndefined))throw new Error("Missing required parameters");if(![e,t].every(m=>xe.plainObject(m)||xe.array(m)))throw new Error("Expected plain objects or array");return{added:a((m,g)=>{try{return M1(e,t,{key:m,type:"added",value:g})}catch{return!1}},"added"),changed:a((m,g,b)=>{try{const S=fr(e,m),E=fr(t,m),w=xe.defined(g),R=xe.defined(b);if(w||R){const C=R?Dl(b,S):!Dl(g,S),O=Dl(g,E);return C&&O}return[S,E].every(xe.array)||[S,E].every(xe.plainObject)?!Vt(S,E):S!==E}catch{return!1}},"changed"),changedFrom:a((m,g,b)=>{if(!xe.defined(m))return!1;try{const S=fr(e,m),E=fr(t,m),w=xe.defined(b);return Dl(g,S)&&(w?Dl(b,E):!w)}catch{return!1}},"changedFrom"),decreased:a((m,g,b)=>{if(!xe.defined(m))return!1;try{return _1(e,t,{key:m,actual:g,previous:b,type:"decreased"})}catch{return!1}},"decreased"),emptied:a(m=>{try{const[g,b]=N1(e,t,{key:m});return!!g.length&&!b.length}catch{return!1}},"emptied"),filled:a(m=>{try{const[g,b]=N1(e,t,{key:m});return!g.length&&!!b.length}catch{return!1}},"filled"),increased:a((m,g,b)=>{if(!xe.defined(m))return!1;try{return _1(e,t,{key:m,actual:g,previous:b,type:"increased"})}catch{return!1}},"increased"),removed:a((m,g)=>{try{return M1(e,t,{key:m,type:"removed",value:g})}catch{return!1}},"removed")}}a(Sc,"treeChanges$1");var Kp,P1;function Wz(){if(P1)return Kp;P1=1;var e=new Error("Element already at target scroll position"),t=new Error("Scroll cancelled"),r=Math.min,o=Date.now;Kp={left:l("scrollLeft"),top:l("scrollTop")};function l(d){return a(function(h,m,g,b){g=g||{},typeof g=="function"&&(b=g,g={}),typeof b!="function"&&(b=c);var S=o(),E=h[d],w=g.ease||u,R=isNaN(g.duration)?350:+g.duration,C=!1;return E===m?b(e,h[d]):requestAnimationFrame(N),O;function O(){C=!0}function N(L){if(C)return b(t,h[d]);var z=o(),D=r(1,(z-S)/R),j=w(D);h[d]=j*(m-E)+E,D<1?requestAnimationFrame(N):requestAnimationFrame(function(){b(null,h[d])})}},"scroll")}a(l,"make");function u(d){return .5*(1-Math.cos(Math.PI*d))}a(u,"inOutSine");function c(){}return a(c,"noop"),Kp}a(Wz,"requireScroll");var Zz=Wz();const Jz=vr(Zz);var rc={exports:{}},e6=rc.exports,L1;function t6(){return L1||(L1=1,(function(e){(function(t,r){e.exports?e.exports=r():t.Scrollparent=r()})(e6,function(){function t(o){var l=getComputedStyle(o,null).getPropertyValue("overflow");return l.indexOf("scroll")>-1||l.indexOf("auto")>-1}a(t,"isScrolling");function r(o){if(o instanceof HTMLElement||o instanceof SVGElement){for(var l=o.parentNode;l.parentNode;){if(t(l))return l;l=l.parentNode}return document.scrollingElement||document.documentElement}}return a(r,"scrollParent"),r})})(rc)),rc.exports}a(t6,"requireScrollparent");var n6=t6();const JC=vr(n6);var Qp,z1;function r6(){if(z1)return Qp;z1=1;var e=a(function(o){return Object.prototype.hasOwnProperty.call(o,"props")},"hasProps"),t=a(function(o,l){return o+r(l)},"reduceJsxToString"),r=a(function(o){return o===null||typeof o=="boolean"||typeof o>"u"?"":typeof o=="number"?o.toString():typeof o=="string"?o:Array.isArray(o)?o.reduce(t,""):e(o)&&Object.prototype.hasOwnProperty.call(o.props,"children")?r(o.props.children):""},"innerText");return r.default=r,Qp=r,Qp}a(r6,"requireReactInnertext");var i6=r6();const I1=vr(i6);var Xp,j1;function o6(){if(j1)return Xp;j1=1;var e=a(function(O){return t(O)&&!r(O)},"isMergeableObject");function t(C){return!!C&&typeof C=="object"}a(t,"isNonNullObject");function r(C){var O=Object.prototype.toString.call(C);return O==="[object RegExp]"||O==="[object Date]"||u(C)}a(r,"isSpecial");var o=typeof Symbol=="function"&&Symbol.for,l=o?Symbol.for("react.element"):60103;function u(C){return C.$$typeof===l}a(u,"isReactElement");function c(C){return Array.isArray(C)?[]:{}}a(c,"emptyTarget");function d(C,O){return O.clone!==!1&&O.isMergeableObject(C)?w(c(C),C,O):C}a(d,"cloneUnlessOtherwiseSpecified");function p(C,O,N){return C.concat(O).map(function(L){return d(L,N)})}a(p,"defaultArrayMerge");function h(C,O){if(!O.customMerge)return w;var N=O.customMerge(C);return typeof N=="function"?N:w}a(h,"getMergeFunction");function m(C){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(C).filter(function(O){return Object.propertyIsEnumerable.call(C,O)}):[]}a(m,"getEnumerableOwnPropertySymbols");function g(C){return Object.keys(C).concat(m(C))}a(g,"getKeys");function b(C,O){try{return O in C}catch{return!1}}a(b,"propertyIsOnObject");function S(C,O){return b(C,O)&&!(Object.hasOwnProperty.call(C,O)&&Object.propertyIsEnumerable.call(C,O))}a(S,"propertyIsUnsafe");function E(C,O,N){var L={};return N.isMergeableObject(C)&&g(C).forEach(function(z){L[z]=d(C[z],N)}),g(O).forEach(function(z){S(C,z)||(b(C,z)&&N.isMergeableObject(O[z])?L[z]=h(z,N)(C[z],O[z],N):L[z]=d(O[z],N))}),L}a(E,"mergeObject");function w(C,O,N){N=N||{},N.arrayMerge=N.arrayMerge||p,N.isMergeableObject=N.isMergeableObject||e,N.cloneUnlessOtherwiseSpecified=d;var L=Array.isArray(O),z=Array.isArray(C),D=L===z;return D?L?N.arrayMerge(C,O,N):E(C,O,N):d(O,N)}a(w,"deepmerge"),w.all=a(function(O,N){if(!Array.isArray(O))throw new Error("first argument should be an array");return O.reduce(function(L,z){return w(L,z,N)},{})},"deepmergeAll");var R=w;return Xp=R,Xp}a(o6,"requireCjs$2");var a6=o6();const Vn=vr(a6);var Wp={exports:{}},Zp,U1;function l6(){if(U1)return Zp;U1=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return Zp=e,Zp}a(l6,"requireReactPropTypesSecret");var Jp,B1;function s6(){if(B1)return Jp;B1=1;var e=l6();function t(){}a(t,"emptyFunction");function r(){}return a(r,"emptyFunctionWithReset"),r.resetWarningCache=t,Jp=a(function(){function o(c,d,p,h,m,g){if(g!==e){var b=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw b.name="Invariant Violation",b}}a(o,"shim"),o.isRequired=o;function l(){return o}a(l,"getShim");var u={array:o,bigint:o,bool:o,func:o,number:o,object:o,string:o,symbol:o,any:o,arrayOf:l,element:o,elementType:o,instanceOf:l,node:o,objectOf:l,oneOf:l,oneOfType:l,shape:l,exact:l,checkPropTypes:r,resetWarningCache:t};return u.PropTypes=u,u},"factoryWithThrowingShims"),Jp}a(s6,"requireFactoryWithThrowingShims");var H1;function eT(){return H1||(H1=1,Wp.exports=s6()()),Wp.exports}a(eT,"requirePropTypes");var u6=eT();const ye=vr(u6);/**!
|
|
549
|
-
* @fileOverview Kickass library to create and place poppers near their reference elements.
|
|
550
|
-
* @version 1.16.1
|
|
551
|
-
* @license
|
|
552
|
-
* Copyright (c) 2016 Federico Zivolo and contributors
|
|
553
|
-
*
|
|
554
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
555
|
-
* of this software and associated documentation files (the "Software"), to deal
|
|
556
|
-
* in the Software without restriction, including without limitation the rights
|
|
557
|
-
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
558
|
-
* copies of the Software, and to permit persons to whom the Software is
|
|
559
|
-
* furnished to do so, subject to the following conditions:
|
|
560
|
-
*
|
|
561
|
-
* The above copyright notice and this permission notice shall be included in all
|
|
562
|
-
* copies or substantial portions of the Software.
|
|
563
|
-
*
|
|
564
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
565
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
566
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
567
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
568
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
569
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
570
|
-
* SOFTWARE.
|
|
571
|
-
*/var vs=typeof window<"u"&&typeof document<"u"&&typeof navigator<"u",c6=(function(){for(var e=["Edge","Trident","Firefox"],t=0;t<e.length;t+=1)if(vs&&navigator.userAgent.indexOf(e[t])>=0)return 1;return 0})();function f6(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1,e()}))}}a(f6,"microtaskDebounce");function d6(e){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1,e()},c6))}}a(d6,"taskDebounce");var p6=vs&&window.Promise,h6=p6?f6:d6;function tT(e){var t={};return e&&t.toString.call(e)==="[object Function]"}a(tT,"isFunction$1");function co(e,t){if(e.nodeType!==1)return[];var r=e.ownerDocument.defaultView,o=r.getComputedStyle(e,null);return t?o[t]:o}a(co,"getStyleComputedProperty$1");function ay(e){return e.nodeName==="HTML"?e:e.parentNode||e.host}a(ay,"getParentNode");function bs(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=co(e),r=t.overflow,o=t.overflowX,l=t.overflowY;return/(auto|scroll|overlay)/.test(r+l+o)?e:bs(ay(e))}a(bs,"getScrollParent$1");function nT(e){return e&&e.referenceNode?e.referenceNode:e}a(nT,"getReferenceNode");var F1=vs&&!!(window.MSInputMethodContext&&document.documentMode),q1=vs&&/MSIE 10/.test(navigator.userAgent);function Na(e){return e===11?F1:e===10?q1:F1||q1}a(Na,"isIE");function va(e){if(!e)return document.documentElement;for(var t=Na(10)?document.body:null,r=e.offsetParent||null;r===t&&e.nextElementSibling;)r=(e=e.nextElementSibling).offsetParent;var o=r&&r.nodeName;return!o||o==="BODY"||o==="HTML"?e?e.ownerDocument.documentElement:document.documentElement:["TH","TD","TABLE"].indexOf(r.nodeName)!==-1&&co(r,"position")==="static"?va(r):r}a(va,"getOffsetParent");function m6(e){var t=e.nodeName;return t==="BODY"?!1:t==="HTML"||va(e.firstElementChild)===e}a(m6,"isOffsetContainer");function Yh(e){return e.parentNode!==null?Yh(e.parentNode):e}a(Yh,"getRoot");function xc(e,t){if(!e||!e.nodeType||!t||!t.nodeType)return document.documentElement;var r=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,o=r?e:t,l=r?t:e,u=document.createRange();u.setStart(o,0),u.setEnd(l,0);var c=u.commonAncestorContainer;if(e!==c&&t!==c||o.contains(l))return m6(c)?c:va(c);var d=Yh(e);return d.host?xc(d.host,t):xc(e,Yh(t).host)}a(xc,"findCommonOffsetParent");function ba(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"top",r=t==="top"?"scrollTop":"scrollLeft",o=e.nodeName;if(o==="BODY"||o==="HTML"){var l=e.ownerDocument.documentElement,u=e.ownerDocument.scrollingElement||l;return u[r]}return e[r]}a(ba,"getScroll");function y6(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,o=ba(t,"top"),l=ba(t,"left"),u=r?-1:1;return e.top+=o*u,e.bottom+=o*u,e.left+=l*u,e.right+=l*u,e}a(y6,"includeScroll");function $1(e,t){var r=t==="x"?"Left":"Top",o=r==="Left"?"Right":"Bottom";return parseFloat(e["border"+r+"Width"])+parseFloat(e["border"+o+"Width"])}a($1,"getBordersSize");function V1(e,t,r,o){return Math.max(t["offset"+e],t["scroll"+e],r["client"+e],r["offset"+e],r["scroll"+e],Na(10)?parseInt(r["offset"+e])+parseInt(o["margin"+(e==="Height"?"Top":"Left")])+parseInt(o["margin"+(e==="Height"?"Bottom":"Right")]):0)}a(V1,"getSize");function rT(e){var t=e.body,r=e.documentElement,o=Na(10)&&getComputedStyle(r);return{height:V1("Height",t,r,o),width:V1("Width",t,r,o)}}a(rT,"getWindowSizes");var g6=a(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},"classCallCheck"),v6=(function(){function e(t,r){for(var o=0;o<r.length;o++){var l=r[o];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(t,l.key,l)}}return a(e,"defineProperties"),function(t,r,o){return r&&e(t.prototype,r),o&&e(t,o),t}})(),Sa=a(function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e},"defineProperty"),Pn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e};function Ti(e){return Pn({},e,{right:e.left+e.width,bottom:e.top+e.height})}a(Ti,"getClientRect$1");function Kh(e){var t={};try{if(Na(10)){t=e.getBoundingClientRect();var r=ba(e,"top"),o=ba(e,"left");t.top+=r,t.left+=o,t.bottom+=r,t.right+=o}else t=e.getBoundingClientRect()}catch{}var l={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},u=e.nodeName==="HTML"?rT(e.ownerDocument):{},c=u.width||e.clientWidth||l.width,d=u.height||e.clientHeight||l.height,p=e.offsetWidth-c,h=e.offsetHeight-d;if(p||h){var m=co(e);p-=$1(m,"x"),h-=$1(m,"y"),l.width-=p,l.height-=h}return Ti(l)}a(Kh,"getBoundingClientRect");function ly(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,o=Na(10),l=t.nodeName==="HTML",u=Kh(e),c=Kh(t),d=bs(e),p=co(t),h=parseFloat(p.borderTopWidth),m=parseFloat(p.borderLeftWidth);r&&l&&(c.top=Math.max(c.top,0),c.left=Math.max(c.left,0));var g=Ti({top:u.top-c.top-h,left:u.left-c.left-m,width:u.width,height:u.height});if(g.marginTop=0,g.marginLeft=0,!o&&l){var b=parseFloat(p.marginTop),S=parseFloat(p.marginLeft);g.top-=h-b,g.bottom-=h-b,g.left-=m-S,g.right-=m-S,g.marginTop=b,g.marginLeft=S}return(o&&!r?t.contains(d):t===d&&d.nodeName!=="BODY")&&(g=y6(g,t)),g}a(ly,"getOffsetRectRelativeToArbitraryNode");function b6(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=e.ownerDocument.documentElement,o=ly(e,r),l=Math.max(r.clientWidth,window.innerWidth||0),u=Math.max(r.clientHeight,window.innerHeight||0),c=t?0:ba(r),d=t?0:ba(r,"left"),p={top:c-o.top+o.marginTop,left:d-o.left+o.marginLeft,width:l,height:u};return Ti(p)}a(b6,"getViewportOffsetRectRelativeToArtbitraryNode");function iT(e){var t=e.nodeName;if(t==="BODY"||t==="HTML")return!1;if(co(e,"position")==="fixed")return!0;var r=ay(e);return r?iT(r):!1}a(iT,"isFixed");function oT(e){if(!e||!e.parentElement||Na())return document.documentElement;for(var t=e.parentElement;t&&co(t,"transform")==="none";)t=t.parentElement;return t||document.documentElement}a(oT,"getFixedPositionOffsetParent");function sy(e,t,r,o){var l=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1,u={top:0,left:0},c=l?oT(e):xc(e,nT(t));if(o==="viewport")u=b6(c,l);else{var d=void 0;o==="scrollParent"?(d=bs(ay(t)),d.nodeName==="BODY"&&(d=e.ownerDocument.documentElement)):o==="window"?d=e.ownerDocument.documentElement:d=o;var p=ly(d,c,l);if(d.nodeName==="HTML"&&!iT(c)){var h=rT(e.ownerDocument),m=h.height,g=h.width;u.top+=p.top-p.marginTop,u.bottom=m+p.top,u.left+=p.left-p.marginLeft,u.right=g+p.left}else u=p}r=r||0;var b=typeof r=="number";return u.left+=b?r:r.left||0,u.top+=b?r:r.top||0,u.right-=b?r:r.right||0,u.bottom-=b?r:r.bottom||0,u}a(sy,"getBoundaries");function S6(e){var t=e.width,r=e.height;return t*r}a(S6,"getArea");function aT(e,t,r,o,l){var u=arguments.length>5&&arguments[5]!==void 0?arguments[5]:0;if(e.indexOf("auto")===-1)return e;var c=sy(r,o,u,l),d={top:{width:c.width,height:t.top-c.top},right:{width:c.right-t.right,height:c.height},bottom:{width:c.width,height:c.bottom-t.bottom},left:{width:t.left-c.left,height:c.height}},p=Object.keys(d).map(function(b){return Pn({key:b},d[b],{area:S6(d[b])})}).sort(function(b,S){return S.area-b.area}),h=p.filter(function(b){var S=b.width,E=b.height;return S>=r.clientWidth&&E>=r.clientHeight}),m=h.length>0?h[0].key:p[0].key,g=e.split("-")[1];return m+(g?"-"+g:"")}a(aT,"computeAutoPlacement");function lT(e,t,r){var o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,l=o?oT(t):xc(t,nT(r));return ly(r,l,o)}a(lT,"getReferenceOffsets");function sT(e){var t=e.ownerDocument.defaultView,r=t.getComputedStyle(e),o=parseFloat(r.marginTop||0)+parseFloat(r.marginBottom||0),l=parseFloat(r.marginLeft||0)+parseFloat(r.marginRight||0),u={width:e.offsetWidth+l,height:e.offsetHeight+o};return u}a(sT,"getOuterSizes");function wc(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,function(r){return t[r]})}a(wc,"getOppositePlacement");function uT(e,t,r){r=r.split("-")[0];var o=sT(e),l={width:o.width,height:o.height},u=["right","left"].indexOf(r)!==-1,c=u?"top":"left",d=u?"left":"top",p=u?"height":"width",h=u?"width":"height";return l[c]=t[c]+t[p]/2-o[p]/2,r===d?l[d]=t[d]-o[h]:l[d]=t[wc(d)],l}a(uT,"getPopperOffsets");function Ss(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}a(Ss,"find$1");function x6(e,t,r){if(Array.prototype.findIndex)return e.findIndex(function(l){return l[t]===r});var o=Ss(e,function(l){return l[t]===r});return e.indexOf(o)}a(x6,"findIndex");function cT(e,t,r){var o=r===void 0?e:e.slice(0,x6(e,"name",r));return o.forEach(function(l){l.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var u=l.function||l.fn;l.enabled&&tT(u)&&(t.offsets.popper=Ti(t.offsets.popper),t.offsets.reference=Ti(t.offsets.reference),t=u(t,l))}),t}a(cT,"runModifiers");function w6(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=lT(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=aT(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=uT(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=cT(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}a(w6,"update");function fT(e,t){return e.some(function(r){var o=r.name,l=r.enabled;return l&&o===t})}a(fT,"isModifierEnabled");function uy(e){for(var t=[!1,"ms","Webkit","Moz","O"],r=e.charAt(0).toUpperCase()+e.slice(1),o=0;o<t.length;o++){var l=t[o],u=l?""+l+r:e;if(typeof document.body.style[u]<"u")return u}return null}a(uy,"getSupportedPropertyName");function E6(){return this.state.isDestroyed=!0,fT(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[uy("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}a(E6,"destroy");function dT(e){var t=e.ownerDocument;return t?t.defaultView:window}a(dT,"getWindow");function pT(e,t,r,o){var l=e.nodeName==="BODY",u=l?e.ownerDocument.defaultView:e;u.addEventListener(t,r,{passive:!0}),l||pT(bs(u.parentNode),t,r,o),o.push(u)}a(pT,"attachToScrollParents");function C6(e,t,r,o){r.updateBound=o,dT(e).addEventListener("resize",r.updateBound,{passive:!0});var l=bs(e);return pT(l,"scroll",r.updateBound,r.scrollParents),r.scrollElement=l,r.eventsEnabled=!0,r}a(C6,"setupEventListeners");function T6(){this.state.eventsEnabled||(this.state=C6(this.reference,this.options,this.state,this.scheduleUpdate))}a(T6,"enableEventListeners");function R6(e,t){return dT(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEach(function(r){r.removeEventListener("scroll",t.updateBound)}),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t}a(R6,"removeEventListeners");function O6(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=R6(this.reference,this.state))}a(O6,"disableEventListeners");function cy(e){return e!==""&&!isNaN(parseFloat(e))&&isFinite(e)}a(cy,"isNumeric");function Qh(e,t){Object.keys(t).forEach(function(r){var o="";["width","height","top","right","bottom","left"].indexOf(r)!==-1&&cy(t[r])&&(o="px"),e.style[r]=t[r]+o})}a(Qh,"setStyles");function A6(e,t){Object.keys(t).forEach(function(r){var o=t[r];o!==!1?e.setAttribute(r,t[r]):e.removeAttribute(r)})}a(A6,"setAttributes");function _6(e){return Qh(e.instance.popper,e.styles),A6(e.instance.popper,e.attributes),e.arrowElement&&Object.keys(e.arrowStyles).length&&Qh(e.arrowElement,e.arrowStyles),e}a(_6,"applyStyle");function M6(e,t,r,o,l){var u=lT(l,t,e,r.positionFixed),c=aT(r.placement,u,t,e,r.modifiers.flip.boundariesElement,r.modifiers.flip.padding);return t.setAttribute("x-placement",c),Qh(t,{position:r.positionFixed?"fixed":"absolute"}),r}a(M6,"applyStyleOnLoad");function N6(e,t){var r=e.offsets,o=r.popper,l=r.reference,u=Math.round,c=Math.floor,d=a(function(C){return C},"noRound2"),p=u(l.width),h=u(o.width),m=["left","right"].indexOf(e.placement)!==-1,g=e.placement.indexOf("-")!==-1,b=p%2===h%2,S=p%2===1&&h%2===1,E=t?m||g||b?u:c:d,w=t?u:d;return{left:E(S&&!g&&t?o.left-1:o.left),top:w(o.top),bottom:w(o.bottom),right:E(o.right)}}a(N6,"getRoundedOffsets");var k6=vs&&/Firefox/i.test(navigator.userAgent);function D6(e,t){var r=t.x,o=t.y,l=e.offsets.popper,u=Ss(e.instance.modifiers,function(N){return N.name==="applyStyle"}).gpuAcceleration;u!==void 0&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var c=u!==void 0?u:t.gpuAcceleration,d=va(e.instance.popper),p=Kh(d),h={position:l.position},m=N6(e,window.devicePixelRatio<2||!k6),g=r==="bottom"?"top":"bottom",b=o==="right"?"left":"right",S=uy("transform"),E=void 0,w=void 0;if(g==="bottom"?d.nodeName==="HTML"?w=-d.clientHeight+m.bottom:w=-p.height+m.bottom:w=m.top,b==="right"?d.nodeName==="HTML"?E=-d.clientWidth+m.right:E=-p.width+m.right:E=m.left,c&&S)h[S]="translate3d("+E+"px, "+w+"px, 0)",h[g]=0,h[b]=0,h.willChange="transform";else{var R=g==="bottom"?-1:1,C=b==="right"?-1:1;h[g]=w*R,h[b]=E*C,h.willChange=g+", "+b}var O={"x-placement":e.placement};return e.attributes=Pn({},O,e.attributes),e.styles=Pn({},h,e.styles),e.arrowStyles=Pn({},e.offsets.arrow,e.arrowStyles),e}a(D6,"computeStyle");function hT(e,t,r){var o=Ss(e,function(d){var p=d.name;return p===t}),l=!!o&&e.some(function(d){return d.name===r&&d.enabled&&d.order<o.order});if(!l){var u="`"+t+"`",c="`"+r+"`";console.warn(c+" modifier is required by "+u+" modifier in order to work, be sure to include it before "+u+"!")}return l}a(hT,"isModifierRequired");function P6(e,t){var r;if(!hT(e.instance.modifiers,"arrow","keepTogether"))return e;var o=t.element;if(typeof o=="string"){if(o=e.instance.popper.querySelector(o),!o)return e}else if(!e.instance.popper.contains(o))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var l=e.placement.split("-")[0],u=e.offsets,c=u.popper,d=u.reference,p=["left","right"].indexOf(l)!==-1,h=p?"height":"width",m=p?"Top":"Left",g=m.toLowerCase(),b=p?"left":"top",S=p?"bottom":"right",E=sT(o)[h];d[S]-E<c[g]&&(e.offsets.popper[g]-=c[g]-(d[S]-E)),d[g]+E>c[S]&&(e.offsets.popper[g]+=d[g]+E-c[S]),e.offsets.popper=Ti(e.offsets.popper);var w=d[g]+d[h]/2-E/2,R=co(e.instance.popper),C=parseFloat(R["margin"+m]),O=parseFloat(R["border"+m+"Width"]),N=w-e.offsets.popper[g]-C-O;return N=Math.max(Math.min(c[h]-E,N),0),e.arrowElement=o,e.offsets.arrow=(r={},Sa(r,g,Math.round(N)),Sa(r,b,""),r),e}a(P6,"arrow");function L6(e){return e==="end"?"start":e==="start"?"end":e}a(L6,"getOppositeVariation");var mT=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],eh=mT.slice(3);function G1(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=eh.indexOf(e),o=eh.slice(r+1).concat(eh.slice(0,r));return t?o.reverse():o}a(G1,"clockwise");var th={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"};function z6(e,t){if(fT(e.instance.modifiers,"inner")||e.flipped&&e.placement===e.originalPlacement)return e;var r=sy(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),o=e.placement.split("-")[0],l=wc(o),u=e.placement.split("-")[1]||"",c=[];switch(t.behavior){case th.FLIP:c=[o,l];break;case th.CLOCKWISE:c=G1(o);break;case th.COUNTERCLOCKWISE:c=G1(o,!0);break;default:c=t.behavior}return c.forEach(function(d,p){if(o!==d||c.length===p+1)return e;o=e.placement.split("-")[0],l=wc(o);var h=e.offsets.popper,m=e.offsets.reference,g=Math.floor,b=o==="left"&&g(h.right)>g(m.left)||o==="right"&&g(h.left)<g(m.right)||o==="top"&&g(h.bottom)>g(m.top)||o==="bottom"&&g(h.top)<g(m.bottom),S=g(h.left)<g(r.left),E=g(h.right)>g(r.right),w=g(h.top)<g(r.top),R=g(h.bottom)>g(r.bottom),C=o==="left"&&S||o==="right"&&E||o==="top"&&w||o==="bottom"&&R,O=["top","bottom"].indexOf(o)!==-1,N=!!t.flipVariations&&(O&&u==="start"&&S||O&&u==="end"&&E||!O&&u==="start"&&w||!O&&u==="end"&&R),L=!!t.flipVariationsByContent&&(O&&u==="start"&&E||O&&u==="end"&&S||!O&&u==="start"&&R||!O&&u==="end"&&w),z=N||L;(b||C||z)&&(e.flipped=!0,(b||C)&&(o=c[p+1]),z&&(u=L6(u)),e.placement=o+(u?"-"+u:""),e.offsets.popper=Pn({},e.offsets.popper,uT(e.instance.popper,e.offsets.reference,e.placement)),e=cT(e.instance.modifiers,e,"flip"))}),e}a(z6,"flip");function I6(e){var t=e.offsets,r=t.popper,o=t.reference,l=e.placement.split("-")[0],u=Math.floor,c=["top","bottom"].indexOf(l)!==-1,d=c?"right":"bottom",p=c?"left":"top",h=c?"width":"height";return r[d]<u(o[p])&&(e.offsets.popper[p]=u(o[p])-r[h]),r[p]>u(o[d])&&(e.offsets.popper[p]=u(o[d])),e}a(I6,"keepTogether");function j6(e,t,r,o){var l=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),u=+l[1],c=l[2];if(!u)return e;if(c.indexOf("%")===0){var d=void 0;switch(c){case"%p":d=r;break;case"%":case"%r":default:d=o}var p=Ti(d);return p[t]/100*u}else if(c==="vh"||c==="vw"){var h=void 0;return c==="vh"?h=Math.max(document.documentElement.clientHeight,window.innerHeight||0):h=Math.max(document.documentElement.clientWidth,window.innerWidth||0),h/100*u}else return u}a(j6,"toValue");function U6(e,t,r,o){var l=[0,0],u=["right","left"].indexOf(o)!==-1,c=e.split(/(\+|\-)/).map(function(m){return m.trim()}),d=c.indexOf(Ss(c,function(m){return m.search(/,|\s/)!==-1}));c[d]&&c[d].indexOf(",")===-1&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var p=/\s*,\s*|\s+/,h=d!==-1?[c.slice(0,d).concat([c[d].split(p)[0]]),[c[d].split(p)[1]].concat(c.slice(d+1))]:[c];return h=h.map(function(m,g){var b=(g===1?!u:u)?"height":"width",S=!1;return m.reduce(function(E,w){return E[E.length-1]===""&&["+","-"].indexOf(w)!==-1?(E[E.length-1]=w,S=!0,E):S?(E[E.length-1]+=w,S=!1,E):E.concat(w)},[]).map(function(E){return j6(E,b,t,r)})}),h.forEach(function(m,g){m.forEach(function(b,S){cy(b)&&(l[g]+=b*(m[S-1]==="-"?-1:1))})}),l}a(U6,"parseOffset");function B6(e,t){var r=t.offset,o=e.placement,l=e.offsets,u=l.popper,c=l.reference,d=o.split("-")[0],p=void 0;return cy(+r)?p=[+r,0]:p=U6(r,u,c,d),d==="left"?(u.top+=p[0],u.left-=p[1]):d==="right"?(u.top+=p[0],u.left+=p[1]):d==="top"?(u.left+=p[0],u.top-=p[1]):d==="bottom"&&(u.left+=p[0],u.top+=p[1]),e.popper=u,e}a(B6,"offset");function H6(e,t){var r=t.boundariesElement||va(e.instance.popper);e.instance.reference===r&&(r=va(r));var o=uy("transform"),l=e.instance.popper.style,u=l.top,c=l.left,d=l[o];l.top="",l.left="",l[o]="";var p=sy(e.instance.popper,e.instance.reference,t.padding,r,e.positionFixed);l.top=u,l.left=c,l[o]=d,t.boundaries=p;var h=t.priority,m=e.offsets.popper,g={primary:a(function(S){var E=m[S];return m[S]<p[S]&&!t.escapeWithReference&&(E=Math.max(m[S],p[S])),Sa({},S,E)},"primary"),secondary:a(function(S){var E=S==="right"?"left":"top",w=m[E];return m[S]>p[S]&&!t.escapeWithReference&&(w=Math.min(m[E],p[S]-(S==="right"?m.width:m.height))),Sa({},E,w)},"secondary")};return h.forEach(function(b){var S=["left","top"].indexOf(b)!==-1?"primary":"secondary";m=Pn({},m,g[S](b))}),e.offsets.popper=m,e}a(H6,"preventOverflow");function F6(e){var t=e.placement,r=t.split("-")[0],o=t.split("-")[1];if(o){var l=e.offsets,u=l.reference,c=l.popper,d=["bottom","top"].indexOf(r)!==-1,p=d?"left":"top",h=d?"width":"height",m={start:Sa({},p,u[p]),end:Sa({},p,u[p]+u[h]-c[h])};e.offsets.popper=Pn({},c,m[o])}return e}a(F6,"shift");function q6(e){if(!hT(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,r=Ss(e.instance.modifiers,function(o){return o.name==="preventOverflow"}).boundaries;if(t.bottom<r.top||t.left>r.right||t.top>r.bottom||t.right<r.left){if(e.hide===!0)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(e.hide===!1)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}return e}a(q6,"hide");function $6(e){var t=e.placement,r=t.split("-")[0],o=e.offsets,l=o.popper,u=o.reference,c=["left","right"].indexOf(r)!==-1,d=["top","left"].indexOf(r)===-1;return l[c?"left":"top"]=u[r]-(d?l[c?"width":"height"]:0),e.placement=wc(t),e.offsets.popper=Ti(l),e}a($6,"inner");var V6={shift:{order:100,enabled:!0,fn:F6},offset:{order:200,enabled:!0,fn:B6,offset:0},preventOverflow:{order:300,enabled:!0,fn:H6,priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:I6},arrow:{order:500,enabled:!0,fn:P6,element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:z6,behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:$6},hide:{order:800,enabled:!0,fn:q6},computeStyle:{order:850,enabled:!0,fn:D6,gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:_6,onLoad:M6,gpuAcceleration:void 0}},G6={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:a(function(){},"onCreate"),onUpdate:a(function(){},"onUpdate"),modifiers:V6},rs=(function(){function e(t,r){var o=this,l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};g6(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(o.update)},this.update=h6(this.update.bind(this)),this.options=Pn({},e.Defaults,l),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=r&&r.jquery?r[0]:r,this.options.modifiers={},Object.keys(Pn({},e.Defaults.modifiers,l.modifiers)).forEach(function(c){o.options.modifiers[c]=Pn({},e.Defaults.modifiers[c]||{},l.modifiers?l.modifiers[c]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(c){return Pn({name:c},o.options.modifiers[c])}).sort(function(c,d){return c.order-d.order}),this.modifiers.forEach(function(c){c.enabled&&tT(c.onLoad)&&c.onLoad(o.reference,o.popper,o.options,c,o.state)}),this.update();var u=this.options.eventsEnabled;u&&this.enableEventListeners(),this.state.eventsEnabled=u}return a(e,"Popper2"),v6(e,[{key:"update",value:a(function(){return w6.call(this)},"update$$1")},{key:"destroy",value:a(function(){return E6.call(this)},"destroy$$1")},{key:"enableEventListeners",value:a(function(){return T6.call(this)},"enableEventListeners$$1")},{key:"disableEventListeners",value:a(function(){return O6.call(this)},"disableEventListeners$$1")}]),e})();rs.Utils=(typeof window<"u"?window:globalThis).PopperUtils;rs.placements=mT;rs.Defaults=G6;var Y6=["innerHTML","ownerDocument","style","attributes","nodeValue"],K6=["Array","ArrayBuffer","AsyncFunction","AsyncGenerator","AsyncGeneratorFunction","Date","Error","Function","Generator","GeneratorFunction","HTMLElement","Map","Object","Promise","RegExp","Set","WeakMap","WeakSet"],Q6=["bigint","boolean","null","number","string","symbol","undefined"];function tf(e){var t=Object.prototype.toString.call(e).slice(8,-1);if(/HTML\w+Element/.test(t))return"HTMLElement";if(X6(t))return t}a(tf,"getObjectType$1");function Zn(e){return function(t){return tf(t)===e}}a(Zn,"isObjectOfType");function X6(e){return K6.includes(e)}a(X6,"isObjectType");function ka(e){return function(t){return typeof t===e}}a(ka,"isOfType$1");function W6(e){return Q6.includes(e)}a(W6,"isPrimitiveType");function ee(e){if(e===null)return"null";switch(typeof e){case"bigint":return"bigint";case"boolean":return"boolean";case"number":return"number";case"string":return"string";case"symbol":return"symbol";case"undefined":return"undefined"}if(ee.array(e))return"Array";if(ee.plainFunction(e))return"Function";var t=tf(e);return t||"Object"}a(ee,"is");ee.array=Array.isArray;ee.arrayOf=function(e,t){return!ee.array(e)&&!ee.function(t)?!1:e.every(function(r){return t(r)})};ee.asyncGeneratorFunction=function(e){return tf(e)==="AsyncGeneratorFunction"};ee.asyncFunction=Zn("AsyncFunction");ee.bigint=ka("bigint");ee.boolean=function(e){return e===!0||e===!1};ee.date=Zn("Date");ee.defined=function(e){return!ee.undefined(e)};ee.domElement=function(e){return ee.object(e)&&!ee.plainObject(e)&&e.nodeType===1&&ee.string(e.nodeName)&&Y6.every(function(t){return t in e})};ee.empty=function(e){return ee.string(e)&&e.length===0||ee.array(e)&&e.length===0||ee.object(e)&&!ee.map(e)&&!ee.set(e)&&Object.keys(e).length===0||ee.set(e)&&e.size===0||ee.map(e)&&e.size===0};ee.error=Zn("Error");ee.function=ka("function");ee.generator=function(e){return ee.iterable(e)&&ee.function(e.next)&&ee.function(e.throw)};ee.generatorFunction=Zn("GeneratorFunction");ee.instanceOf=function(e,t){return!e||!t?!1:Object.getPrototypeOf(e)===t.prototype};ee.iterable=function(e){return!ee.nullOrUndefined(e)&&ee.function(e[Symbol.iterator])};ee.map=Zn("Map");ee.nan=function(e){return Number.isNaN(e)};ee.null=function(e){return e===null};ee.nullOrUndefined=function(e){return ee.null(e)||ee.undefined(e)};ee.number=function(e){return ka("number")(e)&&!ee.nan(e)};ee.numericString=function(e){return ee.string(e)&&e.length>0&&!Number.isNaN(Number(e))};ee.object=function(e){return!ee.nullOrUndefined(e)&&(ee.function(e)||typeof e=="object")};ee.oneOf=function(e,t){return ee.array(e)?e.indexOf(t)>-1:!1};ee.plainFunction=Zn("Function");ee.plainObject=function(e){if(tf(e)!=="Object")return!1;var t=Object.getPrototypeOf(e);return t===null||t===Object.getPrototypeOf({})};ee.primitive=function(e){return ee.null(e)||W6(typeof e)};ee.promise=Zn("Promise");ee.propertyOf=function(e,t,r){if(!ee.object(e)||!t)return!1;var o=e[t];return ee.function(r)?r(o):ee.defined(o)};ee.regexp=Zn("RegExp");ee.set=Zn("Set");ee.string=ka("string");ee.symbol=ka("symbol");ee.undefined=ka("undefined");ee.weakMap=Zn("WeakMap");ee.weakSet=Zn("WeakSet");function yT(e){return function(t){return typeof t===e}}a(yT,"isOfType");var Z6=yT("function"),J6=a(function(e){return e===null},"isNull"),Y1=a(function(e){return Object.prototype.toString.call(e).slice(8,-1)==="RegExp"},"isRegex"),K1=a(function(e){return!e5(e)&&!J6(e)&&(Z6(e)||typeof e=="object")},"isObject"),e5=yT("undefined"),Xh=function(e){var t=typeof Symbol=="function"&&Symbol.iterator,r=t&&e[t],o=0;if(r)return r.call(e);if(e&&typeof e.length=="number")return{next:a(function(){return e&&o>=e.length&&(e=void 0),{value:e&&e[o++],done:!e}},"next")};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};function t5(e,t){var r=e.length;if(r!==t.length)return!1;for(var o=r;o--!==0;)if(!nn(e[o],t[o]))return!1;return!0}a(t5,"equalArray");function n5(e,t){if(e.byteLength!==t.byteLength)return!1;for(var r=new DataView(e.buffer),o=new DataView(t.buffer),l=e.byteLength;l--;)if(r.getUint8(l)!==o.getUint8(l))return!1;return!0}a(n5,"equalArrayBuffer");function r5(e,t){var r,o,l,u;if(e.size!==t.size)return!1;try{for(var c=Xh(e.entries()),d=c.next();!d.done;d=c.next()){var p=d.value;if(!t.has(p[0]))return!1}}catch(g){r={error:g}}finally{try{d&&!d.done&&(o=c.return)&&o.call(c)}finally{if(r)throw r.error}}try{for(var h=Xh(e.entries()),m=h.next();!m.done;m=h.next()){var p=m.value;if(!nn(p[1],t.get(p[0])))return!1}}catch(g){l={error:g}}finally{try{m&&!m.done&&(u=h.return)&&u.call(h)}finally{if(l)throw l.error}}return!0}a(r5,"equalMap");function i5(e,t){var r,o;if(e.size!==t.size)return!1;try{for(var l=Xh(e.entries()),u=l.next();!u.done;u=l.next()){var c=u.value;if(!t.has(c[0]))return!1}}catch(d){r={error:d}}finally{try{u&&!u.done&&(o=l.return)&&o.call(l)}finally{if(r)throw r.error}}return!0}a(i5,"equalSet");function nn(e,t){if(e===t)return!0;if(e&&K1(e)&&t&&K1(t)){if(e.constructor!==t.constructor)return!1;if(Array.isArray(e)&&Array.isArray(t))return t5(e,t);if(e instanceof Map&&t instanceof Map)return r5(e,t);if(e instanceof Set&&t instanceof Set)return i5(e,t);if(ArrayBuffer.isView(e)&&ArrayBuffer.isView(t))return n5(e,t);if(Y1(e)&&Y1(t))return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();var r=Object.keys(e),o=Object.keys(t);if(r.length!==o.length)return!1;for(var l=r.length;l--!==0;)if(!Object.prototype.hasOwnProperty.call(t,r[l]))return!1;for(var l=r.length;l--!==0;){var u=r[l];if(!(u==="_owner"&&e.$$typeof)&&!nn(e[u],t[u]))return!1}return!0}return Number.isNaN(e)&&Number.isNaN(t)?!0:e===t}a(nn,"equal");function o5(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.every(function(r){return ee.string(r)||ee.array(r)||ee.plainObject(r)})}a(o5,"canHaveLength");function a5(e,t,r){return gT(e,t)?[e,t].every(ee.array)?!e.some(J1(r))&&t.some(J1(r)):[e,t].every(ee.plainObject)?!Object.entries(e).some(Z1(r))&&Object.entries(t).some(Z1(r)):t===r:!1}a(a5,"checkEquality");function Q1(e,t,r){var o=r.actual,l=r.key,u=r.previous,c=r.type,d=dr(e,l),p=dr(t,l),h=[d,p].every(ee.number)&&(c==="increased"?d<p:d>p);return ee.undefined(o)||(h=h&&p===o),ee.undefined(u)||(h=h&&d===u),h}a(Q1,"compareNumbers");function X1(e,t,r){var o=r.key,l=r.type,u=r.value,c=dr(e,o),d=dr(t,o),p=l==="added"?c:d,h=l==="added"?d:c;if(!ee.nullOrUndefined(u)){if(ee.defined(p)){if(ee.array(p)||ee.plainObject(p))return a5(p,h,u)}else return nn(h,u);return!1}return[c,d].every(ee.array)?!h.every(fy(p)):[c,d].every(ee.plainObject)?l5(Object.keys(p),Object.keys(h)):![c,d].every(function(m){return ee.primitive(m)&&ee.defined(m)})&&(l==="added"?!ee.defined(c)&&ee.defined(d):ee.defined(c)&&!ee.defined(d))}a(X1,"compareValues");function W1(e,t,r){var o=r===void 0?{}:r,l=o.key,u=dr(e,l),c=dr(t,l);if(!gT(u,c))throw new TypeError("Inputs have different types");if(!o5(u,c))throw new TypeError("Inputs don't have length");return[u,c].every(ee.plainObject)&&(u=Object.keys(u),c=Object.keys(c)),[u,c]}a(W1,"getIterables");function Z1(e){return function(t){var r=t[0],o=t[1];return ee.array(e)?nn(e,o)||e.some(function(l){return nn(l,o)||ee.array(o)&&fy(o)(l)}):ee.plainObject(e)&&e[r]?!!e[r]&&nn(e[r],o):nn(e,o)}}a(Z1,"hasEntry");function l5(e,t){return t.some(function(r){return!e.includes(r)})}a(l5,"hasExtraKeys");function J1(e){return function(t){return ee.array(e)?e.some(function(r){return nn(r,t)||ee.array(t)&&fy(t)(r)}):nn(e,t)}}a(J1,"hasValue");function Pl(e,t){return ee.array(e)?e.some(function(r){return nn(r,t)}):nn(e,t)}a(Pl,"includesOrEqualsTo");function fy(e){return function(t){return e.some(function(r){return nn(r,t)})}}a(fy,"isEqualPredicate");function gT(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.every(ee.array)||e.every(ee.number)||e.every(ee.plainObject)||e.every(ee.string)}a(gT,"isSameType");function dr(e,t){if(ee.plainObject(e)||ee.array(e)){if(ee.string(t)){var r=t.split(".");return r.reduce(function(o,l){return o&&o[l]},e)}return ee.number(t)?e[t]:e}return e}a(dr,"nested");function s5(e,t){if([e,t].some(ee.nullOrUndefined))throw new Error("Missing required parameters");if(![e,t].every(function(g){return ee.plainObject(g)||ee.array(g)}))throw new Error("Expected plain objects or array");var r=a(function(g,b){try{return X1(e,t,{key:g,type:"added",value:b})}catch{return!1}},"added"),o=a(function(g,b,S){try{var E=dr(e,g),w=dr(t,g),R=ee.defined(b),C=ee.defined(S);if(R||C){var O=C?Pl(S,E):!Pl(b,E),N=Pl(b,w);return O&&N}return[E,w].every(ee.array)||[E,w].every(ee.plainObject)?!nn(E,w):E!==w}catch{return!1}},"changed"),l=a(function(g,b,S){if(!ee.defined(g))return!1;try{var E=dr(e,g),w=dr(t,g),R=ee.defined(S);return Pl(b,E)&&(R?Pl(S,w):!R)}catch{return!1}},"changedFrom"),u=a(function(g,b){return ee.defined(g)?o(g,b):!1},"changedTo"),c=a(function(g,b,S){if(!ee.defined(g))return!1;try{return Q1(e,t,{key:g,actual:b,previous:S,type:"decreased"})}catch{return!1}},"decreased"),d=a(function(g){try{var b=W1(e,t,{key:g}),S=b[0],E=b[1];return!!S.length&&!E.length}catch{return!1}},"emptied"),p=a(function(g){try{var b=W1(e,t,{key:g}),S=b[0],E=b[1];return!S.length&&!!E.length}catch{return!1}},"filled"),h=a(function(g,b,S){if(!ee.defined(g))return!1;try{return Q1(e,t,{key:g,actual:b,previous:S,type:"increased"})}catch{return!1}},"increased"),m=a(function(g,b){try{return X1(e,t,{key:g,type:"removed",value:b})}catch{return!1}},"removed");return{added:r,changed:o,changedFrom:l,changedTo:u,decreased:c,emptied:d,filled:p,increased:h,removed:m}}a(s5,"treeChanges");function eS(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),r.push.apply(r,o)}return r}a(eS,"ownKeys");function ft(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?eS(Object(r),!0).forEach(function(o){Ft(e,o,r[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):eS(Object(r)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(r,o))})}return e}a(ft,"_objectSpread2");function xs(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}a(xs,"_classCallCheck");function u5(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,bT(o.key),o)}}a(u5,"_defineProperties");function ws(e,t,r){return t&&u5(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}a(ws,"_createClass");function Ft(e,t,r){return t=bT(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}a(Ft,"_defineProperty");function Es(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Wh(e,t)}a(Es,"_inherits");function Ec(e){return Ec=Object.setPrototypeOf?Object.getPrototypeOf.bind():a(function(r){return r.__proto__||Object.getPrototypeOf(r)},"_getPrototypeOf"),Ec(e)}a(Ec,"_getPrototypeOf");function Wh(e,t){return Wh=Object.setPrototypeOf?Object.setPrototypeOf.bind():a(function(o,l){return o.__proto__=l,o},"_setPrototypeOf"),Wh(e,t)}a(Wh,"_setPrototypeOf");function c5(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}a(c5,"_isNativeReflectConstruct");function f5(e,t){if(e==null)return{};var r={},o=Object.keys(e),l,u;for(u=0;u<o.length;u++)l=o[u],!(t.indexOf(l)>=0)&&(r[l]=e[l]);return r}a(f5,"_objectWithoutPropertiesLoose");function vT(e,t){if(e==null)return{};var r=f5(e,t),o,l;if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);for(l=0;l<u.length;l++)o=u[l],!(t.indexOf(o)>=0)&&Object.prototype.propertyIsEnumerable.call(e,o)&&(r[o]=e[o])}return r}a(vT,"_objectWithoutProperties");function Ur(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}a(Ur,"_assertThisInitialized");function d5(e,t){if(t&&(typeof t=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Ur(e)}a(d5,"_possibleConstructorReturn");function Cs(e){var t=c5();return a(function(){var o=Ec(e),l;if(t){var u=Ec(this).constructor;l=Reflect.construct(o,arguments,u)}else l=o.apply(this,arguments);return d5(this,l)},"_createSuperInternal")}a(Cs,"_createSuper");function p5(e,t){if(typeof e!="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var o=r.call(e,t);if(typeof o!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}a(p5,"_toPrimitive");function bT(e){var t=p5(e,"string");return typeof t=="symbol"?t:String(t)}a(bT,"_toPropertyKey");var h5={flip:{padding:20},preventOverflow:{padding:10}},m5="The typeValidator argument must be a function with the signature function(props, propName, componentName).",y5="The error message is optional, but must be a string if provided.";function g5(e,t,r,o){return typeof e=="boolean"?e:typeof e=="function"?e(t,r,o):e?!!e:!1}a(g5,"propIsRequired");function v5(e,t){return Object.hasOwnProperty.call(e,t)}a(v5,"propExists");function b5(e,t,r,o){return new Error("Required ".concat(e[t]," `").concat(t,"` was not specified in `").concat(r,"`."))}a(b5,"missingPropError");function S5(e,t){if(typeof e!="function")throw new TypeError(m5);if(t&&typeof t!="string")throw new TypeError(y5)}a(S5,"guardAgainstInvalidArgTypes");function tS(e,t,r){return S5(e,r),function(o,l,u){for(var c=arguments.length,d=new Array(c>3?c-3:0),p=3;p<c;p++)d[p-3]=arguments[p];return g5(t,o,l,u)?v5(o,l)?e.apply(void 0,[o,l,u].concat(d)):b5(o,l,u):e.apply(void 0,[o,l,u].concat(d))}}a(tS,"isRequiredIf");var Ke={INIT:"init",IDLE:"idle",OPENING:"opening",OPEN:"open",CLOSING:"closing"},Ll=Gl.createPortal!==void 0;function ar(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}a(ar,"canUseDOM$1");function nh(){return"ontouchstart"in window&&/Mobi/.test(navigator.userAgent)}a(nh,"isMobile");function Gu(e){var t=e.title,r=e.data,o=e.warn,l=o===void 0?!1:o,u=e.debug,c=u===void 0?!1:u,d=l?console.warn||console.error:console.log;c&&t&&r&&(console.groupCollapsed("%creact-floater: ".concat(t),"color: #9b00ff; font-weight: bold; font-size: 12px;"),Array.isArray(r)?r.forEach(function(p){ee.plainObject(p)&&p.key?d.apply(console,[p.key,p.value]):d.apply(console,[p])}):d.apply(console,[r]),console.groupEnd())}a(Gu,"log$1");function x5(e,t,r){var o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;e.addEventListener(t,r,o)}a(x5,"on");function w5(e,t,r){var o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;e.removeEventListener(t,r,o)}a(w5,"off");function E5(e,t,r){var o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,l;l=a(function(c){r(c),w5(e,t,l)},"nextCB"),x5(e,t,l,o)}a(E5,"once");function nS(){}a(nS,"noop$1");var ST=(function(e){Es(r,e);var t=Cs(r);function r(){return xs(this,r),t.apply(this,arguments)}return a(r,"ReactFloaterPortal"),ws(r,[{key:"componentDidMount",value:a(function(){ar()&&(this.node||this.appendNode(),Ll||this.renderPortal())},"componentDidMount")},{key:"componentDidUpdate",value:a(function(){ar()&&(Ll||this.renderPortal())},"componentDidUpdate")},{key:"componentWillUnmount",value:a(function(){!ar()||!this.node||(Ll||Gl.unmountComponentAtNode(this.node),this.node&&this.node.parentNode===document.body&&(document.body.removeChild(this.node),this.node=void 0))},"componentWillUnmount")},{key:"appendNode",value:a(function(){var l=this.props,u=l.id,c=l.zIndex;this.node||(this.node=document.createElement("div"),u&&(this.node.id=u),c&&(this.node.style.zIndex=c),document.body.appendChild(this.node))},"appendNode")},{key:"renderPortal",value:a(function(){if(!ar())return null;var l=this.props,u=l.children,c=l.setRef;if(this.node||this.appendNode(),Ll)return Gl.createPortal(u,this.node);var d=Gl.unstable_renderSubtreeIntoContainer(this,u.length>1?Me.createElement("div",null,u):u[0],this.node);return c(d),null},"renderPortal")},{key:"renderReact16",value:a(function(){var l=this.props,u=l.hasChildren,c=l.placement,d=l.target;return u?this.renderPortal():d||c==="center"?this.renderPortal():null},"renderReact16")},{key:"render",value:a(function(){return Ll?this.renderReact16():null},"render")}]),r})(Me.Component);Ft(ST,"propTypes",{children:ye.oneOfType([ye.element,ye.array]),hasChildren:ye.bool,id:ye.oneOfType([ye.string,ye.number]),placement:ye.string,setRef:ye.func.isRequired,target:ye.oneOfType([ye.object,ye.string]),zIndex:ye.number});var xT=(function(e){Es(r,e);var t=Cs(r);function r(){return xs(this,r),t.apply(this,arguments)}return a(r,"FloaterArrow"),ws(r,[{key:"parentStyle",get:a(function(){var l=this.props,u=l.placement,c=l.styles,d=c.arrow.length,p={pointerEvents:"none",position:"absolute",width:"100%"};return u.startsWith("top")?(p.bottom=0,p.left=0,p.right=0,p.height=d):u.startsWith("bottom")?(p.left=0,p.right=0,p.top=0,p.height=d):u.startsWith("left")?(p.right=0,p.top=0,p.bottom=0):u.startsWith("right")&&(p.left=0,p.top=0),p},"get")},{key:"render",value:a(function(){var l=this.props,u=l.placement,c=l.setArrowRef,d=l.styles,p=d.arrow,h=p.color,m=p.display,g=p.length,b=p.margin,S=p.position,E=p.spread,w={display:m,position:S},R,C=E,O=g;return u.startsWith("top")?(R="0,0 ".concat(C/2,",").concat(O," ").concat(C,",0"),w.bottom=0,w.marginLeft=b,w.marginRight=b):u.startsWith("bottom")?(R="".concat(C,",").concat(O," ").concat(C/2,",0 0,").concat(O),w.top=0,w.marginLeft=b,w.marginRight=b):u.startsWith("left")?(O=E,C=g,R="0,0 ".concat(C,",").concat(O/2," 0,").concat(O),w.right=0,w.marginTop=b,w.marginBottom=b):u.startsWith("right")&&(O=E,C=g,R="".concat(C,",").concat(O," ").concat(C,",0 0,").concat(O/2),w.left=0,w.marginTop=b,w.marginBottom=b),Me.createElement("div",{className:"__floater__arrow",style:this.parentStyle},Me.createElement("span",{ref:c,style:w},Me.createElement("svg",{width:C,height:O,version:"1.1",xmlns:"http://www.w3.org/2000/svg"},Me.createElement("polygon",{points:R,fill:h}))))},"render")}]),r})(Me.Component);Ft(xT,"propTypes",{placement:ye.string.isRequired,setArrowRef:ye.func.isRequired,styles:ye.object.isRequired});var C5=["color","height","width"];function wT(e){var t=e.handleClick,r=e.styles,o=r.color,l=r.height,u=r.width,c=vT(r,C5);return Me.createElement("button",{"aria-label":"close",onClick:t,style:c,type:"button"},Me.createElement("svg",{width:"".concat(u,"px"),height:"".concat(l,"px"),viewBox:"0 0 18 18",version:"1.1",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid"},Me.createElement("g",null,Me.createElement("path",{d:"M8.13911129,9.00268191 L0.171521827,17.0258467 C-0.0498027049,17.248715 -0.0498027049,17.6098394 0.171521827,17.8327545 C0.28204354,17.9443526 0.427188206,17.9998706 0.572051765,17.9998706 C0.71714958,17.9998706 0.862013139,17.9443526 0.972581703,17.8327545 L9.0000937,9.74924618 L17.0276057,17.8327545 C17.1384085,17.9443526 17.2832721,17.9998706 17.4281356,17.9998706 C17.5729992,17.9998706 17.718097,17.9443526 17.8286656,17.8327545 C18.0499901,17.6098862 18.0499901,17.2487618 17.8286656,17.0258467 L9.86135722,9.00268191 L17.8340066,0.973848225 C18.0553311,0.750979934 18.0553311,0.389855532 17.8340066,0.16694039 C17.6126821,-0.0556467968 17.254037,-0.0556467968 17.0329467,0.16694039 L9.00042166,8.25611765 L0.967006424,0.167268345 C0.745681892,-0.0553188426 0.387317931,-0.0553188426 0.165993399,0.167268345 C-0.0553311331,0.390136635 -0.0553311331,0.751261038 0.165993399,0.974176179 L8.13920499,9.00268191 L8.13911129,9.00268191 Z",fill:o}))))}a(wT,"FloaterCloseBtn");wT.propTypes={handleClick:ye.func.isRequired,styles:ye.object.isRequired};function ET(e){var t=e.content,r=e.footer,o=e.handleClick,l=e.open,u=e.positionWrapper,c=e.showCloseButton,d=e.title,p=e.styles,h={content:Me.isValidElement(t)?t:Me.createElement("div",{className:"__floater__content",style:p.content},t)};return d&&(h.title=Me.isValidElement(d)?d:Me.createElement("div",{className:"__floater__title",style:p.title},d)),r&&(h.footer=Me.isValidElement(r)?r:Me.createElement("div",{className:"__floater__footer",style:p.footer},r)),(c||u)&&!ee.boolean(l)&&(h.close=Me.createElement(wT,{styles:p.close,handleClick:o})),Me.createElement("div",{className:"__floater__container",style:p.container},h.close,h.title,h.content,h.footer)}a(ET,"FloaterContainer");ET.propTypes={content:ye.node.isRequired,footer:ye.node,handleClick:ye.func.isRequired,open:ye.bool,positionWrapper:ye.bool.isRequired,showCloseButton:ye.bool.isRequired,styles:ye.object.isRequired,title:ye.node};var CT=(function(e){Es(r,e);var t=Cs(r);function r(){return xs(this,r),t.apply(this,arguments)}return a(r,"Floater"),ws(r,[{key:"style",get:a(function(){var l=this.props,u=l.disableAnimation,c=l.component,d=l.placement,p=l.hideArrow,h=l.status,m=l.styles,g=m.arrow.length,b=m.floater,S=m.floaterCentered,E=m.floaterClosing,w=m.floaterOpening,R=m.floaterWithAnimation,C=m.floaterWithComponent,O={};return p||(d.startsWith("top")?O.padding="0 0 ".concat(g,"px"):d.startsWith("bottom")?O.padding="".concat(g,"px 0 0"):d.startsWith("left")?O.padding="0 ".concat(g,"px 0 0"):d.startsWith("right")&&(O.padding="0 0 0 ".concat(g,"px"))),[Ke.OPENING,Ke.OPEN].indexOf(h)!==-1&&(O=ft(ft({},O),w)),h===Ke.CLOSING&&(O=ft(ft({},O),E)),h===Ke.OPEN&&!u&&(O=ft(ft({},O),R)),d==="center"&&(O=ft(ft({},O),S)),c&&(O=ft(ft({},O),C)),ft(ft({},b),O)},"get")},{key:"render",value:a(function(){var l=this.props,u=l.component,c=l.handleClick,d=l.hideArrow,p=l.setFloaterRef,h=l.status,m={},g=["__floater"];return u?Me.isValidElement(u)?m.content=Me.cloneElement(u,{closeFn:c}):m.content=u({closeFn:c}):m.content=Me.createElement(ET,this.props),h===Ke.OPEN&&g.push("__floater__open"),d||(m.arrow=Me.createElement(xT,this.props)),Me.createElement("div",{ref:p,className:g.join(" "),style:this.style},Me.createElement("div",{className:"__floater__body"},m.content,m.arrow))},"render")}]),r})(Me.Component);Ft(CT,"propTypes",{component:ye.oneOfType([ye.func,ye.element]),content:ye.node,disableAnimation:ye.bool.isRequired,footer:ye.node,handleClick:ye.func.isRequired,hideArrow:ye.bool.isRequired,open:ye.bool,placement:ye.string.isRequired,positionWrapper:ye.bool.isRequired,setArrowRef:ye.func.isRequired,setFloaterRef:ye.func.isRequired,showCloseButton:ye.bool,status:ye.string.isRequired,styles:ye.object.isRequired,title:ye.node});var TT=(function(e){Es(r,e);var t=Cs(r);function r(){return xs(this,r),t.apply(this,arguments)}return a(r,"ReactFloaterWrapper"),ws(r,[{key:"render",value:a(function(){var l=this.props,u=l.children,c=l.handleClick,d=l.handleMouseEnter,p=l.handleMouseLeave,h=l.setChildRef,m=l.setWrapperRef,g=l.style,b=l.styles,S;if(u)if(Me.Children.count(u)===1)if(!Me.isValidElement(u))S=Me.createElement("span",null,u);else{var E=ee.function(u.type)?"innerRef":"ref";S=Me.cloneElement(Me.Children.only(u),Ft({},E,h))}else S=u;return S?Me.createElement("span",{ref:m,style:ft(ft({},b),g),onClick:c,onMouseEnter:d,onMouseLeave:p},S):null},"render")}]),r})(Me.Component);Ft(TT,"propTypes",{children:ye.node,handleClick:ye.func.isRequired,handleMouseEnter:ye.func.isRequired,handleMouseLeave:ye.func.isRequired,setChildRef:ye.func.isRequired,setWrapperRef:ye.func.isRequired,style:ye.object,styles:ye.object.isRequired});var T5={zIndex:100};function R5(e){var t=Vn(T5,e.options||{});return{wrapper:{cursor:"help",display:"inline-flex",flexDirection:"column",zIndex:t.zIndex},wrapperPosition:{left:-1e3,position:"absolute",top:-1e3,visibility:"hidden"},floater:{display:"inline-block",filter:"drop-shadow(0 0 3px rgba(0, 0, 0, 0.3))",maxWidth:300,opacity:0,position:"relative",transition:"opacity 0.3s",visibility:"hidden",zIndex:t.zIndex},floaterOpening:{opacity:1,visibility:"visible"},floaterWithAnimation:{opacity:1,transition:"opacity 0.3s, transform 0.2s",visibility:"visible"},floaterWithComponent:{maxWidth:"100%"},floaterClosing:{opacity:0,visibility:"visible"},floaterCentered:{left:"50%",position:"fixed",top:"50%",transform:"translate(-50%, -50%)"},container:{backgroundColor:"#fff",color:"#666",minHeight:60,minWidth:200,padding:20,position:"relative",zIndex:10},title:{borderBottom:"1px solid #555",color:"#555",fontSize:18,marginBottom:5,paddingBottom:6,paddingRight:18},content:{fontSize:15},close:{backgroundColor:"transparent",border:0,borderRadius:0,color:"#555",fontSize:0,height:15,outline:"none",padding:10,position:"absolute",right:0,top:0,width:15,WebkitAppearance:"none"},footer:{borderTop:"1px solid #ccc",fontSize:13,marginTop:10,paddingTop:5},arrow:{color:"#fff",display:"inline-flex",length:16,margin:8,position:"absolute",spread:32},options:t}}a(R5,"getStyles$1");var O5=["arrow","flip","offset"],A5=["position","top","right","bottom","left"],dy=(function(e){Es(r,e);var t=Cs(r);function r(o){var l;return xs(this,r),l=t.call(this,o),Ft(Ur(l),"setArrowRef",function(u){l.arrowRef=u}),Ft(Ur(l),"setChildRef",function(u){l.childRef=u}),Ft(Ur(l),"setFloaterRef",function(u){l.floaterRef=u}),Ft(Ur(l),"setWrapperRef",function(u){l.wrapperRef=u}),Ft(Ur(l),"handleTransitionEnd",function(){var u=l.state.status,c=l.props.callback;l.wrapperPopper&&l.wrapperPopper.instance.update(),l.setState({status:u===Ke.OPENING?Ke.OPEN:Ke.IDLE},function(){var d=l.state.status;c(d===Ke.OPEN?"open":"close",l.props)})}),Ft(Ur(l),"handleClick",function(){var u=l.props,c=u.event,d=u.open;if(!ee.boolean(d)){var p=l.state,h=p.positionWrapper,m=p.status;(l.event==="click"||l.event==="hover"&&h)&&(Gu({title:"click",data:[{event:c,status:m===Ke.OPEN?"closing":"opening"}],debug:l.debug}),l.toggle())}}),Ft(Ur(l),"handleMouseEnter",function(){var u=l.props,c=u.event,d=u.open;if(!(ee.boolean(d)||nh())){var p=l.state.status;l.event==="hover"&&p===Ke.IDLE&&(Gu({title:"mouseEnter",data:[{key:"originalEvent",value:c}],debug:l.debug}),clearTimeout(l.eventDelayTimeout),l.toggle())}}),Ft(Ur(l),"handleMouseLeave",function(){var u=l.props,c=u.event,d=u.eventDelay,p=u.open;if(!(ee.boolean(p)||nh())){var h=l.state,m=h.status,g=h.positionWrapper;l.event==="hover"&&(Gu({title:"mouseLeave",data:[{key:"originalEvent",value:c}],debug:l.debug}),d?[Ke.OPENING,Ke.OPEN].indexOf(m)!==-1&&!g&&!l.eventDelayTimeout&&(l.eventDelayTimeout=setTimeout(function(){delete l.eventDelayTimeout,l.toggle()},d*1e3)):l.toggle(Ke.IDLE))}}),l.state={currentPlacement:o.placement,needsUpdate:!1,positionWrapper:o.wrapperOptions.position&&!!o.target,status:Ke.INIT,statusWrapper:Ke.INIT},l._isMounted=!1,l.hasMounted=!1,ar()&&window.addEventListener("load",function(){l.popper&&l.popper.instance.update(),l.wrapperPopper&&l.wrapperPopper.instance.update()}),l}return a(r,"ReactFloater"),ws(r,[{key:"componentDidMount",value:a(function(){if(ar()){var l=this.state.positionWrapper,u=this.props,c=u.children,d=u.open,p=u.target;this._isMounted=!0,Gu({title:"init",data:{hasChildren:!!c,hasTarget:!!p,isControlled:ee.boolean(d),positionWrapper:l,target:this.target,floater:this.floaterRef},debug:this.debug}),this.hasMounted||(this.initPopper(),this.hasMounted=!0),!c&&p&&ee.boolean(d)}},"componentDidMount")},{key:"componentDidUpdate",value:a(function(l,u){if(ar()){var c=this.props,d=c.autoOpen,p=c.open,h=c.target,m=c.wrapperOptions,g=s5(u,this.state),b=g.changedFrom,S=g.changed;if(l.open!==p){var E;ee.boolean(p)&&(E=p?Ke.OPENING:Ke.CLOSING),this.toggle(E)}(l.wrapperOptions.position!==m.position||l.target!==h)&&this.changeWrapperPosition(this.props),S("status",Ke.IDLE)&&p?this.toggle(Ke.OPEN):b("status",Ke.INIT,Ke.IDLE)&&d&&this.toggle(Ke.OPEN),this.popper&&S("status",Ke.OPENING)&&this.popper.instance.update(),this.floaterRef&&(S("status",Ke.OPENING)||S("status",Ke.CLOSING))&&E5(this.floaterRef,"transitionend",this.handleTransitionEnd),S("needsUpdate",!0)&&this.rebuildPopper()}},"componentDidUpdate")},{key:"componentWillUnmount",value:a(function(){ar()&&(this._isMounted=!1,this.popper&&this.popper.instance.destroy(),this.wrapperPopper&&this.wrapperPopper.instance.destroy())},"componentWillUnmount")},{key:"initPopper",value:a(function(){var l=this,u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.target,c=this.state.positionWrapper,d=this.props,p=d.disableFlip,h=d.getPopper,m=d.hideArrow,g=d.offset,b=d.placement,S=d.wrapperOptions,E=b==="top"||b==="bottom"?"flip":["right","bottom-end","top-end","left","top-start","bottom-start"];if(b==="center")this.setState({status:Ke.IDLE});else if(u&&this.floaterRef){var w=this.options,R=w.arrow,C=w.flip,O=w.offset,N=vT(w,O5);new rs(u,this.floaterRef,{placement:b,modifiers:ft({arrow:ft({enabled:!m,element:this.arrowRef},R),flip:ft({enabled:!p,behavior:E},C),offset:ft({offset:"0, ".concat(g,"px")},O)},N),onCreate:a(function(D){var j;if(l.popper=D,!((j=l.floaterRef)!==null&&j!==void 0&&j.isConnected)){l.setState({needsUpdate:!0});return}h(D,"floater"),l._isMounted&&l.setState({currentPlacement:D.placement,status:Ke.IDLE}),b!==D.placement&&setTimeout(function(){D.instance.update()},1)},"onCreate"),onUpdate:a(function(D){l.popper=D;var j=l.state.currentPlacement;l._isMounted&&D.placement!==j&&l.setState({currentPlacement:D.placement})},"onUpdate")})}if(c){var L=ee.undefined(S.offset)?0:S.offset;new rs(this.target,this.wrapperRef,{placement:S.placement||b,modifiers:{arrow:{enabled:!1},offset:{offset:"0, ".concat(L,"px")},flip:{enabled:!1}},onCreate:a(function(D){l.wrapperPopper=D,l._isMounted&&l.setState({statusWrapper:Ke.IDLE}),h(D,"wrapper"),b!==D.placement&&setTimeout(function(){D.instance.update()},1)},"onCreate")})}},"initPopper")},{key:"rebuildPopper",value:a(function(){var l=this;this.floaterRefInterval=setInterval(function(){var u;(u=l.floaterRef)!==null&&u!==void 0&&u.isConnected&&(clearInterval(l.floaterRefInterval),l.setState({needsUpdate:!1}),l.initPopper())},50)},"rebuildPopper")},{key:"changeWrapperPosition",value:a(function(l){var u=l.target,c=l.wrapperOptions;this.setState({positionWrapper:c.position&&!!u})},"changeWrapperPosition")},{key:"toggle",value:a(function(l){var u=this.state.status,c=u===Ke.OPEN?Ke.CLOSING:Ke.OPENING;ee.undefined(l)||(c=l),this.setState({status:c})},"toggle")},{key:"debug",get:a(function(){var l=this.props.debug;return l||ar()&&"ReactFloaterDebug"in window&&!!window.ReactFloaterDebug},"get")},{key:"event",get:a(function(){var l=this.props,u=l.disableHoverToClick,c=l.event;return c==="hover"&&nh()&&!u?"click":c},"get")},{key:"options",get:a(function(){var l=this.props.options;return Vn(h5,l||{})},"get")},{key:"styles",get:a(function(){var l=this,u=this.state,c=u.status,d=u.positionWrapper,p=u.statusWrapper,h=this.props.styles,m=Vn(R5(h),h);if(d){var g;[Ke.IDLE].indexOf(c)===-1||[Ke.IDLE].indexOf(p)===-1?g=m.wrapperPosition:g=this.wrapperPopper.styles,m.wrapper=ft(ft({},m.wrapper),g)}if(this.target){var b=window.getComputedStyle(this.target);this.wrapperStyles?m.wrapper=ft(ft({},m.wrapper),this.wrapperStyles):["relative","static"].indexOf(b.position)===-1&&(this.wrapperStyles={},d||(A5.forEach(function(S){l.wrapperStyles[S]=b[S]}),m.wrapper=ft(ft({},m.wrapper),this.wrapperStyles),this.target.style.position="relative",this.target.style.top="auto",this.target.style.right="auto",this.target.style.bottom="auto",this.target.style.left="auto"))}return m},"get")},{key:"target",get:a(function(){if(!ar())return null;var l=this.props.target;return l?ee.domElement(l)?l:document.querySelector(l):this.childRef||this.wrapperRef},"get")},{key:"render",value:a(function(){var l=this.state,u=l.currentPlacement,c=l.positionWrapper,d=l.status,p=this.props,h=p.children,m=p.component,g=p.content,b=p.disableAnimation,S=p.footer,E=p.hideArrow,w=p.id,R=p.open,C=p.showCloseButton,O=p.style,N=p.target,L=p.title,z=Me.createElement(TT,{handleClick:this.handleClick,handleMouseEnter:this.handleMouseEnter,handleMouseLeave:this.handleMouseLeave,setChildRef:this.setChildRef,setWrapperRef:this.setWrapperRef,style:O,styles:this.styles.wrapper},h),D={};return c?D.wrapperInPortal=z:D.wrapperAsChildren=z,Me.createElement("span",null,Me.createElement(ST,{hasChildren:!!h,id:w,placement:u,setRef:this.setFloaterRef,target:N,zIndex:this.styles.options.zIndex},Me.createElement(CT,{component:m,content:g,disableAnimation:b,footer:S,handleClick:this.handleClick,hideArrow:E||u==="center",open:R,placement:u,positionWrapper:c,setArrowRef:this.setArrowRef,setFloaterRef:this.setFloaterRef,showCloseButton:C,status:d,styles:this.styles,title:L}),D.wrapperInPortal),D.wrapperAsChildren)},"render")}]),r})(Me.Component);Ft(dy,"propTypes",{autoOpen:ye.bool,callback:ye.func,children:ye.node,component:tS(ye.oneOfType([ye.func,ye.element]),function(e){return!e.content}),content:tS(ye.node,function(e){return!e.component}),debug:ye.bool,disableAnimation:ye.bool,disableFlip:ye.bool,disableHoverToClick:ye.bool,event:ye.oneOf(["hover","click"]),eventDelay:ye.number,footer:ye.node,getPopper:ye.func,hideArrow:ye.bool,id:ye.oneOfType([ye.string,ye.number]),offset:ye.number,open:ye.bool,options:ye.object,placement:ye.oneOf(["top","top-start","top-end","bottom","bottom-start","bottom-end","left","left-start","left-end","right","right-start","right-end","auto","center"]),showCloseButton:ye.bool,style:ye.object,styles:ye.object,target:ye.oneOfType([ye.object,ye.string]),title:ye.node,wrapperOptions:ye.shape({offset:ye.number,placement:ye.oneOf(["top","top-start","top-end","bottom","bottom-start","bottom-end","left","left-start","left-end","right","right-start","right-end","auto"]),position:ye.bool})});Ft(dy,"defaultProps",{autoOpen:!1,callback:nS,debug:!1,disableAnimation:!1,disableFlip:!1,disableHoverToClick:!1,event:"click",eventDelay:.4,getPopper:nS,hideArrow:!1,offset:15,placement:"bottom",showCloseButton:!1,styles:{},target:null,wrapperOptions:{position:!1}});var _5=Object.defineProperty,M5=a((e,t,r)=>t in e?_5(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,"__defNormalProp"),we=a((e,t,r)=>M5(e,typeof t!="symbol"?t+"":t,r),"__publicField"),Ze={INIT:"init",START:"start",STOP:"stop",RESET:"reset",PREV:"prev",NEXT:"next",GO:"go",CLOSE:"close",SKIP:"skip",UPDATE:"update"},$n={TOUR_START:"tour:start",STEP_BEFORE:"step:before",BEACON:"beacon",TOOLTIP:"tooltip",STEP_AFTER:"step:after",TOUR_END:"tour:end",TOUR_STATUS:"tour:status",TARGET_NOT_FOUND:"error:target_not_found"},Le={INIT:"init",READY:"ready",BEACON:"beacon",TOOLTIP:"tooltip",COMPLETE:"complete",ERROR:"error"},Ge={IDLE:"idle",READY:"ready",WAITING:"waiting",RUNNING:"running",PAUSED:"paused",SKIPPED:"skipped",FINISHED:"finished"};function bi(){var e;return!!(typeof window<"u"&&((e=window.document)!=null&&e.createElement))}a(bi,"canUseDOM");function RT(e){return e?e.getBoundingClientRect():null}a(RT,"getClientRect");function N5(e=!1){const{body:t,documentElement:r}=document;if(!t||!r)return 0;if(e){const o=[t.scrollHeight,t.offsetHeight,r.clientHeight,r.scrollHeight,r.offsetHeight].sort((u,c)=>u-c),l=Math.floor(o.length/2);return o.length%2===0?(o[l-1]+o[l])/2:o[l]}return Math.max(t.scrollHeight,t.offsetHeight,r.clientHeight,r.scrollHeight,r.offsetHeight)}a(N5,"getDocumentHeight");function Hr(e){if(typeof e=="string")try{return document.querySelector(e)}catch{return null}return e}a(Hr,"getElement");function k5(e){return!e||e.nodeType!==1?null:getComputedStyle(e)}a(k5,"getStyleComputedProperty");function is(e,t,r){if(!e)return Xi();const o=JC(e);if(o){if(o.isSameNode(Xi()))return r?document:Xi();if(!(o.scrollHeight>o.offsetHeight)&&!t)return o.style.overflow="initial",Xi()}return o}a(is,"getScrollParent");function nf(e,t){if(!e)return!1;const r=is(e,t);return r?!r.isSameNode(Xi()):!1}a(nf,"hasCustomScrollParent");function D5(e){return e.offsetParent!==document.body}a(D5,"hasCustomOffsetParent");function xa(e,t="fixed"){if(!e||!(e instanceof HTMLElement))return!1;const{nodeName:r}=e,o=k5(e);return r==="BODY"||r==="HTML"?!1:o&&o.position===t?!0:e.parentNode?xa(e.parentNode,t):!1}a(xa,"hasPosition");function P5(e){var t;if(!e)return!1;let r=e;for(;r&&r!==document.body;){if(r instanceof HTMLElement){const{display:o,visibility:l}=getComputedStyle(r);if(o==="none"||l==="hidden")return!1}r=(t=r.parentElement)!=null?t:null}return!0}a(P5,"isElementVisible");function L5(e,t,r){var o,l,u;const c=RT(e),d=is(e,r),p=nf(e,r),h=xa(e);let m=0,g=(o=c?.top)!=null?o:0;if(p&&h){const b=(l=e?.offsetTop)!=null?l:0,S=(u=d?.scrollTop)!=null?u:0;g=b-S}else d instanceof HTMLElement&&(m=d.scrollTop,!p&&!xa(e)&&(g+=m),d.isSameNode(Xi())||(g+=Xi().scrollTop));return Math.floor(g-t)}a(L5,"getElementPosition");function z5(e,t,r){var o;if(!e)return 0;const{offsetTop:l=0,scrollTop:u=0}=(o=JC(e))!=null?o:{};let c=e.getBoundingClientRect().top+u;l&&(nf(e,r)||D5(e))&&(c-=l);const d=Math.floor(c-t);return d<0?0:d}a(z5,"getScrollTo");function Xi(){var e;return(e=document.scrollingElement)!=null?e:document.documentElement}a(Xi,"scrollDocument");function I5(e,t){const{duration:r,element:o}=t;return new Promise((l,u)=>{const{scrollTop:c}=o,d=e>c?e-c:c-e;Jz.top(o,e,{duration:d<100?50:r},p=>p&&p.message!=="Element already at target scroll position"?u(p):l())})}a(I5,"scrollTo");var zl=pr.createPortal!==void 0;function OT(e=navigator.userAgent){let t=e;return typeof window>"u"?t="node":document.documentMode?t="ie":/Edge/.test(e)?t="edge":window.opera||e.includes(" OPR/")?t="opera":typeof window.InstallTrigger<"u"?t="firefox":window.chrome?t="chrome":/(Version\/([\d._]+).*Safari|CriOS|FxiOS| Mobile\/)/.test(e)&&(t="safari"),t}a(OT,"getBrowser");function ic(e){return Object.prototype.toString.call(e).slice(8,-1).toLowerCase()}a(ic,"getObjectType");function lr(e,t={}){const{defaultValue:r,step:o,steps:l}=t;let u=I1(e);if(u)(u.includes("{step}")||u.includes("{steps}"))&&o&&l&&(u=u.replace("{step}",o.toString()).replace("{steps}",l.toString()));else if(x.isValidElement(e)&&!Object.values(e.props).length&&ic(e.type)==="function"){const c=e.type({});u=lr(c,t)}else u=I1(r);return u}a(lr,"getReactNodeText");function j5(e,t){return!xe.plainObject(e)||!xe.array(t)?!1:Object.keys(e).every(r=>t.includes(r))}a(j5,"hasValidKeys");function U5(e){const t=/^#?([\da-f])([\da-f])([\da-f])$/i,r=e.replace(t,(l,u,c,d)=>u+u+c+c+d+d),o=/^#?([\da-f]{2})([\da-f]{2})([\da-f]{2})$/i.exec(r);return o?[parseInt(o[1],16),parseInt(o[2],16),parseInt(o[3],16)]:[]}a(U5,"hexToRGB");function rS(e){return e.disableBeacon||e.placement==="center"}a(rS,"hideBeacon");function iS(){return!["chrome","safari","firefox","opera"].includes(OT())}a(iS,"isLegacy");function oo({data:e,debug:t=!1,title:r,warn:o=!1}){const l=o?console.warn||console.error:console.log;t&&(r&&e?(console.groupCollapsed(`%creact-joyride: ${r}`,"color: #ff0044; font-weight: bold; font-size: 12px;"),Array.isArray(e)?e.forEach(u=>{xe.plainObject(u)&&u.key?l.apply(console,[u.key,u.value]):l.apply(console,[u])}):l.apply(console,[e]),console.groupEnd()):console.error("Missing title or data props"))}a(oo,"log");function B5(e){return Object.keys(e)}a(B5,"objectKeys");function AT(e,...t){if(!xe.plainObject(e))throw new TypeError("Expected an object");const r={};for(const o in e)({}).hasOwnProperty.call(e,o)&&(t.includes(o)||(r[o]=e[o]));return r}a(AT,"omit");function H5(e,...t){if(!xe.plainObject(e))throw new TypeError("Expected an object");if(!t.length)return e;const r={};for(const o in e)({}).hasOwnProperty.call(e,o)&&t.includes(o)&&(r[o]=e[o]);return r}a(H5,"pick");function Zh(e,t,r){const o=a(u=>u.replace("{step}",String(t)).replace("{steps}",String(r)),"replacer");if(ic(e)==="string")return o(e);if(!x.isValidElement(e))return e;const{children:l}=e.props;if(ic(l)==="string"&&l.includes("{step}"))return x.cloneElement(e,{children:o(l)});if(Array.isArray(l))return x.cloneElement(e,{children:l.map(u=>typeof u=="string"?o(u):Zh(u,t,r))});if(ic(e.type)==="function"&&!Object.values(e.props).length){const u=e.type({});return Zh(u,t,r)}return e}a(Zh,"replaceLocaleContent");function F5(e){const{isFirstStep:t,lifecycle:r,previousLifecycle:o,scrollToFirstStep:l,step:u,target:c}=e;return!u.disableScrolling&&(!t||l||r===Le.TOOLTIP)&&u.placement!=="center"&&(!u.isFixed||!xa(c))&&o!==r&&[Le.BEACON,Le.TOOLTIP].includes(r)}a(F5,"shouldScroll");var q5={options:{preventOverflow:{boundariesElement:"scrollParent"}},wrapperOptions:{offset:-18,position:!0}},_T={back:"Back",close:"Close",last:"Last",next:"Next",nextLabelWithProgress:"Next (Step {step} of {steps})",open:"Open the dialog",skip:"Skip"},$5={event:"click",placement:"bottom",offset:10,disableBeacon:!1,disableCloseOnEsc:!1,disableOverlay:!1,disableOverlayClose:!1,disableScrollParentFix:!1,disableScrolling:!1,hideBackButton:!1,hideCloseButton:!1,hideFooter:!1,isFixed:!1,locale:_T,showProgress:!1,showSkipButton:!1,spotlightClicks:!1,spotlightPadding:10},V5={continuous:!1,debug:!1,disableCloseOnEsc:!1,disableOverlay:!1,disableOverlayClose:!1,disableScrolling:!1,disableScrollParentFix:!1,getHelpers:void 0,hideBackButton:!1,run:!0,scrollOffset:20,scrollDuration:300,scrollToFirstStep:!1,showSkipButton:!1,showProgress:!1,spotlightClicks:!1,spotlightPadding:10,steps:[]},G5={arrowColor:"#fff",backgroundColor:"#fff",beaconSize:36,overlayColor:"rgba(0, 0, 0, 0.5)",primaryColor:"#f04",spotlightShadow:"0 0 15px rgba(0, 0, 0, 0.5)",textColor:"#333",width:380,zIndex:100},Il={backgroundColor:"transparent",border:0,borderRadius:0,color:"#555",cursor:"pointer",fontSize:16,lineHeight:1,padding:8,WebkitAppearance:"none"},oS={borderRadius:4,position:"absolute"};function Y5(e,t){var r,o,l,u,c;const{floaterProps:d,styles:p}=e,h=Vn((r=t.floaterProps)!=null?r:{},d??{}),m=Vn(p??{},(o=t.styles)!=null?o:{}),g=Vn(G5,m.options||{}),b=t.placement==="center"||t.disableBeacon;let{width:S}=g;window.innerWidth>480&&(S=380),"width"in g&&(S=typeof g.width=="number"&&window.innerWidth<g.width?window.innerWidth-30:g.width);const E={bottom:0,left:0,overflow:"hidden",position:"absolute",right:0,top:0,zIndex:g.zIndex},w={beacon:{...Il,display:b?"none":"inline-block",height:g.beaconSize,position:"relative",width:g.beaconSize,zIndex:g.zIndex},beaconInner:{animation:"joyride-beacon-inner 1.2s infinite ease-in-out",backgroundColor:g.primaryColor,borderRadius:"50%",display:"block",height:"50%",left:"50%",opacity:.7,position:"absolute",top:"50%",transform:"translate(-50%, -50%)",width:"50%"},beaconOuter:{animation:"joyride-beacon-outer 1.2s infinite ease-in-out",backgroundColor:`rgba(${U5(g.primaryColor).join(",")}, 0.2)`,border:`2px solid ${g.primaryColor}`,borderRadius:"50%",boxSizing:"border-box",display:"block",height:"100%",left:0,opacity:.9,position:"absolute",top:0,transformOrigin:"center",width:"100%"},tooltip:{backgroundColor:g.backgroundColor,borderRadius:5,boxSizing:"border-box",color:g.textColor,fontSize:16,maxWidth:"100%",padding:15,position:"relative",width:S},tooltipContainer:{lineHeight:1.4,textAlign:"center"},tooltipTitle:{fontSize:18,margin:0},tooltipContent:{padding:"20px 10px"},tooltipFooter:{alignItems:"center",display:"flex",justifyContent:"flex-end",marginTop:15},tooltipFooterSpacer:{flex:1},buttonNext:{...Il,backgroundColor:g.primaryColor,borderRadius:4,color:"#fff"},buttonBack:{...Il,color:g.primaryColor,marginLeft:"auto",marginRight:5},buttonClose:{...Il,color:g.textColor,height:14,padding:15,position:"absolute",right:0,top:0,width:14},buttonSkip:{...Il,color:g.textColor,fontSize:14},overlay:{...E,backgroundColor:g.overlayColor,mixBlendMode:"hard-light"},overlayLegacy:{...E},overlayLegacyCenter:{...E,backgroundColor:g.overlayColor},spotlight:{...oS,backgroundColor:"gray"},spotlightLegacy:{...oS,boxShadow:`0 0 0 9999px ${g.overlayColor}, ${g.spotlightShadow}`},floaterStyles:{arrow:{color:(c=(u=(l=h?.styles)==null?void 0:l.arrow)==null?void 0:u.color)!=null?c:g.arrowColor},options:{zIndex:g.zIndex+100}},options:g};return Vn(w,m)}a(Y5,"getStyles");function K5(e){return H5(e,"beaconComponent","disableCloseOnEsc","disableOverlay","disableOverlayClose","disableScrolling","disableScrollParentFix","floaterProps","hideBackButton","hideCloseButton","locale","showProgress","showSkipButton","spotlightClicks","spotlightPadding","styles","tooltipComponent")}a(K5,"getTourProps");function ra(e,t){var r,o,l,u,c,d;const p=t??{},h=Vn.all([$5,K5(e),p],{isMergeableObject:xe.plainObject}),m=Y5(e,h),g=nf(Hr(h.target),h.disableScrollParentFix),b=Vn.all([q5,(r=e.floaterProps)!=null?r:{},(o=h.floaterProps)!=null?o:{}]);return b.offset=h.offset,b.styles=Vn((l=b.styles)!=null?l:{},m.floaterStyles),b.offset+=(c=(u=e.spotlightPadding)!=null?u:h.spotlightPadding)!=null?c:0,h.placementBeacon&&b.wrapperOptions&&(b.wrapperOptions.placement=h.placementBeacon),g&&b.options.preventOverflow&&(b.options.preventOverflow.boundariesElement="window"),{...h,locale:Vn.all([_T,(d=e.locale)!=null?d:{},h.locale||{}]),floaterProps:b,styles:AT(m,"floaterStyles")}}a(ra,"getMergedStep");function MT(e,t=!1){return xe.plainObject(e)?e.target?!0:(oo({title:"validateStep",data:"target is missing from the step",warn:!0,debug:t}),!1):(oo({title:"validateStep",data:"step must be an object",warn:!0,debug:t}),!1)}a(MT,"validateStep");function aS(e,t=!1){return xe.array(e)?e.every(r=>MT(r,t)):(oo({title:"validateSteps",data:"steps must be an array",warn:!0,debug:t}),!1)}a(aS,"validateSteps");var NT={action:"init",controlled:!1,index:0,lifecycle:Le.INIT,origin:null,size:0,status:Ge.IDLE},lS=B5(AT(NT,"controlled","size")),Q5=class{static{a(this,"Store")}constructor(e){we(this,"beaconPopper"),we(this,"tooltipPopper"),we(this,"data",new Map),we(this,"listener"),we(this,"store",new Map),we(this,"addListener",l=>{this.listener=l}),we(this,"setSteps",l=>{const{size:u,status:c}=this.getState(),d={size:l.length,status:c};this.data.set("steps",l),c===Ge.WAITING&&!u&&l.length&&(d.status=Ge.RUNNING),this.setState(d)}),we(this,"getPopper",l=>l==="beacon"?this.beaconPopper:this.tooltipPopper),we(this,"setPopper",(l,u)=>{l==="beacon"?this.beaconPopper=u:this.tooltipPopper=u}),we(this,"cleanupPoppers",()=>{this.beaconPopper=null,this.tooltipPopper=null}),we(this,"close",(l=null)=>{const{index:u,status:c}=this.getState();c===Ge.RUNNING&&this.setState({...this.getNextState({action:Ze.CLOSE,index:u+1,origin:l})})}),we(this,"go",l=>{const{controlled:u,status:c}=this.getState();if(u||c!==Ge.RUNNING)return;const d=this.getSteps()[l];this.setState({...this.getNextState({action:Ze.GO,index:l}),status:d?c:Ge.FINISHED})}),we(this,"info",()=>this.getState()),we(this,"next",()=>{const{index:l,status:u}=this.getState();u===Ge.RUNNING&&this.setState(this.getNextState({action:Ze.NEXT,index:l+1}))}),we(this,"open",()=>{const{status:l}=this.getState();l===Ge.RUNNING&&this.setState({...this.getNextState({action:Ze.UPDATE,lifecycle:Le.TOOLTIP})})}),we(this,"prev",()=>{const{index:l,status:u}=this.getState();u===Ge.RUNNING&&this.setState({...this.getNextState({action:Ze.PREV,index:l-1})})}),we(this,"reset",(l=!1)=>{const{controlled:u}=this.getState();u||this.setState({...this.getNextState({action:Ze.RESET,index:0}),status:l?Ge.RUNNING:Ge.READY})}),we(this,"skip",()=>{const{status:l}=this.getState();l===Ge.RUNNING&&this.setState({action:Ze.SKIP,lifecycle:Le.INIT,status:Ge.SKIPPED})}),we(this,"start",l=>{const{index:u,size:c}=this.getState();this.setState({...this.getNextState({action:Ze.START,index:xe.number(l)?l:u},!0),status:c?Ge.RUNNING:Ge.WAITING})}),we(this,"stop",(l=!1)=>{const{index:u,status:c}=this.getState();[Ge.FINISHED,Ge.SKIPPED].includes(c)||this.setState({...this.getNextState({action:Ze.STOP,index:u+(l?1:0)}),status:Ge.PAUSED})}),we(this,"update",l=>{var u,c;if(!j5(l,lS))throw new Error(`State is not valid. Valid keys: ${lS.join(", ")}`);this.setState({...this.getNextState({...this.getState(),...l,action:(u=l.action)!=null?u:Ze.UPDATE,origin:(c=l.origin)!=null?c:null},!0)})});const{continuous:t=!1,stepIndex:r,steps:o=[]}=e??{};this.setState({action:Ze.INIT,controlled:xe.number(r),continuous:t,index:xe.number(r)?r:0,lifecycle:Le.INIT,origin:null,status:o.length?Ge.READY:Ge.IDLE},!0),this.beaconPopper=null,this.tooltipPopper=null,this.listener=null,this.setSteps(o)}getState(){return this.store.size?{action:this.store.get("action")||"",controlled:this.store.get("controlled")||!1,index:parseInt(this.store.get("index"),10),lifecycle:this.store.get("lifecycle")||"",origin:this.store.get("origin")||null,size:this.store.get("size")||0,status:this.store.get("status")||""}:{...NT}}getNextState(e,t=!1){var r,o,l,u,c;const{action:d,controlled:p,index:h,size:m,status:g}=this.getState(),b=xe.number(e.index)?e.index:h,S=p&&!t?h:Math.min(Math.max(b,0),m);return{action:(r=e.action)!=null?r:d,controlled:p,index:S,lifecycle:(o=e.lifecycle)!=null?o:Le.INIT,origin:(l=e.origin)!=null?l:null,size:(u=e.size)!=null?u:m,status:S===m?Ge.FINISHED:(c=e.status)!=null?c:g}}getSteps(){const e=this.data.get("steps");return Array.isArray(e)?e:[]}hasUpdatedState(e){const t=JSON.stringify(e),r=JSON.stringify(this.getState());return t!==r}setState(e,t=!1){const r=this.getState(),{action:o,index:l,lifecycle:u,origin:c=null,size:d,status:p}={...r,...e};this.store.set("action",o),this.store.set("index",l),this.store.set("lifecycle",u),this.store.set("origin",c),this.store.set("size",d),this.store.set("status",p),t&&(this.store.set("controlled",e.controlled),this.store.set("continuous",e.continuous)),this.listener&&this.hasUpdatedState(r)&&this.listener(this.getState())}getHelpers(){return{close:this.close,go:this.go,info:this.info,next:this.next,open:this.open,prev:this.prev,reset:this.reset,skip:this.skip}}};function X5(e){return new Q5(e)}a(X5,"createStore");function W5({styles:e}){return x.createElement("div",{key:"JoyrideSpotlight",className:"react-joyride__spotlight","data-test-id":"spotlight",style:e})}a(W5,"JoyrideSpotlight");var Z5=W5,J5=class extends x.Component{static{a(this,"JoyrideOverlay")}constructor(){super(...arguments),we(this,"isActive",!1),we(this,"resizeTimeout"),we(this,"scrollTimeout"),we(this,"scrollParent"),we(this,"state",{isScrolling:!1,mouseOverSpotlight:!1,showSpotlight:!0}),we(this,"hideSpotlight",()=>{const{continuous:e,disableOverlay:t,lifecycle:r}=this.props,o=[Le.INIT,Le.BEACON,Le.COMPLETE,Le.ERROR];return t||(e?o.includes(r):r!==Le.TOOLTIP)}),we(this,"handleMouseMove",e=>{const{mouseOverSpotlight:t}=this.state,{height:r,left:o,position:l,top:u,width:c}=this.spotlightStyles,d=l==="fixed"?e.clientY:e.pageY,p=l==="fixed"?e.clientX:e.pageX,h=d>=u&&d<=u+r,g=p>=o&&p<=o+c&&h;g!==t&&this.updateState({mouseOverSpotlight:g})}),we(this,"handleScroll",()=>{const{target:e}=this.props,t=Hr(e);if(this.scrollParent!==document){const{isScrolling:r}=this.state;r||this.updateState({isScrolling:!0,showSpotlight:!1}),clearTimeout(this.scrollTimeout),this.scrollTimeout=window.setTimeout(()=>{this.updateState({isScrolling:!1,showSpotlight:!0})},50)}else xa(t,"sticky")&&this.updateState({})}),we(this,"handleResize",()=>{clearTimeout(this.resizeTimeout),this.resizeTimeout=window.setTimeout(()=>{this.isActive&&this.forceUpdate()},100)})}componentDidMount(){const{debug:e,disableScrolling:t,disableScrollParentFix:r=!1,target:o}=this.props,l=Hr(o);this.scrollParent=is(l??document.body,r,!0),this.isActive=!0,window.addEventListener("resize",this.handleResize)}componentDidUpdate(e){var t;const{disableScrollParentFix:r,lifecycle:o,spotlightClicks:l,target:u}=this.props,{changed:c}=Sc(e,this.props);if(c("target")||c("disableScrollParentFix")){const d=Hr(u);this.scrollParent=is(d??document.body,r,!0)}c("lifecycle",Le.TOOLTIP)&&((t=this.scrollParent)==null||t.addEventListener("scroll",this.handleScroll,{passive:!0}),setTimeout(()=>{const{isScrolling:d}=this.state;d||this.updateState({showSpotlight:!0})},100)),(c("spotlightClicks")||c("disableOverlay")||c("lifecycle"))&&(l&&o===Le.TOOLTIP?window.addEventListener("mousemove",this.handleMouseMove,!1):o!==Le.TOOLTIP&&window.removeEventListener("mousemove",this.handleMouseMove))}componentWillUnmount(){var e;this.isActive=!1,window.removeEventListener("mousemove",this.handleMouseMove),window.removeEventListener("resize",this.handleResize),clearTimeout(this.resizeTimeout),clearTimeout(this.scrollTimeout),(e=this.scrollParent)==null||e.removeEventListener("scroll",this.handleScroll)}get overlayStyles(){const{mouseOverSpotlight:e}=this.state,{disableOverlayClose:t,placement:r,styles:o}=this.props;let l=o.overlay;return iS()&&(l=r==="center"?o.overlayLegacyCenter:o.overlayLegacy),{cursor:t?"default":"pointer",height:N5(),pointerEvents:e?"none":"auto",...l}}get spotlightStyles(){var e,t,r;const{showSpotlight:o}=this.state,{disableScrollParentFix:l=!1,spotlightClicks:u,spotlightPadding:c=0,styles:d,target:p}=this.props,h=Hr(p),m=RT(h),g=xa(h),b=L5(h,c,l);return{...iS()?d.spotlightLegacy:d.spotlight,height:Math.round(((e=m?.height)!=null?e:0)+c*2),left:Math.round(((t=m?.left)!=null?t:0)-c),opacity:o?1:0,pointerEvents:u?"none":"auto",position:g?"fixed":"absolute",top:b,transition:"opacity 0.2s",width:Math.round(((r=m?.width)!=null?r:0)+c*2)}}updateState(e){this.isActive&&this.setState(t=>({...t,...e}))}render(){const{showSpotlight:e}=this.state,{onClickOverlay:t,placement:r}=this.props,{hideSpotlight:o,overlayStyles:l,spotlightStyles:u}=this;if(o())return null;let c=r!=="center"&&e&&x.createElement(Z5,{styles:u});if(OT()==="safari"){const{mixBlendMode:d,zIndex:p,...h}=l;c=x.createElement("div",{style:{...h}},c),delete l.backgroundColor}return x.createElement("div",{className:"react-joyride__overlay","data-test-id":"overlay",onClick:t,role:"presentation",style:l},c)}},eI=class extends x.Component{static{a(this,"JoyridePortal")}constructor(){super(...arguments),we(this,"node",null)}componentDidMount(){const{id:e}=this.props;bi()&&(this.node=document.createElement("div"),this.node.id=e,document.body.appendChild(this.node),zl||this.renderReact15())}componentDidUpdate(){bi()&&(zl||this.renderReact15())}componentWillUnmount(){!bi()||!this.node||(zl||pr.unmountComponentAtNode(this.node),this.node.parentNode===document.body&&(document.body.removeChild(this.node),this.node=null))}renderReact15(){if(!bi())return;const{children:e}=this.props;this.node&&pr.unstable_renderSubtreeIntoContainer(this,e,this.node)}renderReact16(){if(!bi()||!zl)return null;const{children:e}=this.props;return this.node?pr.createPortal(e,this.node):null}render(){return zl?this.renderReact16():null}},tI=class{static{a(this,"Scope")}constructor(e,t){if(we(this,"element"),we(this,"options"),we(this,"canBeTabbed",r=>{const{tabIndex:o}=r;return o===null||o<0?!1:this.canHaveFocus(r)}),we(this,"canHaveFocus",r=>{const o=/input|select|textarea|button|object/,l=r.nodeName.toLowerCase();return(o.test(l)&&!r.getAttribute("disabled")||l==="a"&&!!r.getAttribute("href"))&&this.isVisible(r)}),we(this,"findValidTabElements",()=>[].slice.call(this.element.querySelectorAll("*"),0).filter(this.canBeTabbed)),we(this,"handleKeyDown",r=>{const{code:o="Tab"}=this.options;r.code===o&&this.interceptTab(r)}),we(this,"interceptTab",r=>{r.preventDefault();const o=this.findValidTabElements(),{shiftKey:l}=r;if(!o.length)return;let u=document.activeElement?o.indexOf(document.activeElement):0;u===-1||!l&&u+1===o.length?u=0:l&&u===0?u=o.length-1:u+=l?-1:1,o[u].focus()}),we(this,"isHidden",r=>{const o=r.offsetWidth<=0&&r.offsetHeight<=0,l=window.getComputedStyle(r);return o&&!r.innerHTML?!0:o&&l.getPropertyValue("overflow")!=="visible"||l.getPropertyValue("display")==="none"}),we(this,"isVisible",r=>{let o=r;for(;o;)if(o instanceof HTMLElement){if(o===document.body)break;if(this.isHidden(o))return!1;o=o.parentNode}return!0}),we(this,"removeScope",()=>{window.removeEventListener("keydown",this.handleKeyDown)}),we(this,"checkFocus",r=>{document.activeElement!==r&&(r.focus(),window.requestAnimationFrame(()=>this.checkFocus(r)))}),we(this,"setFocus",()=>{const{selector:r}=this.options;if(!r)return;const o=this.element.querySelector(r);o&&window.requestAnimationFrame(()=>this.checkFocus(o))}),!(e instanceof HTMLElement))throw new TypeError("Invalid parameter: element must be an HTMLElement");this.element=e,this.options=t,window.addEventListener("keydown",this.handleKeyDown,!1),this.setFocus()}},nI=class extends x.Component{static{a(this,"JoyrideBeacon")}constructor(e){if(super(e),we(this,"beacon",null),we(this,"setBeaconRef",l=>{this.beacon=l}),e.beaconComponent)return;const t=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.id="joyride-beacon-animation",e.nonce&&r.setAttribute("nonce",e.nonce),r.appendChild(document.createTextNode(`
|
|
572
|
-
@keyframes joyride-beacon-inner {
|
|
573
|
-
20% {
|
|
574
|
-
opacity: 0.9;
|
|
575
|
-
}
|
|
576
|
-
|
|
577
|
-
90% {
|
|
578
|
-
opacity: 0.7;
|
|
579
|
-
}
|
|
580
|
-
}
|
|
581
|
-
|
|
582
|
-
@keyframes joyride-beacon-outer {
|
|
583
|
-
0% {
|
|
584
|
-
transform: scale(1);
|
|
585
|
-
}
|
|
586
|
-
|
|
587
|
-
45% {
|
|
588
|
-
opacity: 0.7;
|
|
589
|
-
transform: scale(0.75);
|
|
590
|
-
}
|
|
591
|
-
|
|
592
|
-
100% {
|
|
593
|
-
opacity: 0.9;
|
|
594
|
-
transform: scale(1);
|
|
595
|
-
}
|
|
596
|
-
}
|
|
597
|
-
`)),t.appendChild(r)}componentDidMount(){const{shouldFocus:e}=this.props;setTimeout(()=>{xe.domElement(this.beacon)&&e&&this.beacon.focus()},0)}componentWillUnmount(){const e=document.getElementById("joyride-beacon-animation");e?.parentNode&&e.parentNode.removeChild(e)}render(){const{beaconComponent:e,continuous:t,index:r,isLastStep:o,locale:l,onClickOrHover:u,size:c,step:d,styles:p}=this.props,h=lr(l.open),m={"aria-label":h,onClick:u,onMouseEnter:u,ref:this.setBeaconRef,title:h};let g;if(e){const b=e;g=x.createElement(b,{continuous:t,index:r,isLastStep:o,size:c,step:d,...m})}else g=x.createElement("button",{key:"JoyrideBeacon",className:"react-joyride__beacon","data-test-id":"button-beacon",style:p.beacon,type:"button",...m},x.createElement("span",{style:p.beaconInner}),x.createElement("span",{style:p.beaconOuter}));return g}};function rI({styles:e,...t}){const{color:r,height:o,width:l,...u}=e;return Me.createElement("button",{style:u,type:"button",...t},Me.createElement("svg",{height:typeof o=="number"?`${o}px`:o,preserveAspectRatio:"xMidYMid",version:"1.1",viewBox:"0 0 18 18",width:typeof l=="number"?`${l}px`:l,xmlns:"http://www.w3.org/2000/svg"},Me.createElement("g",null,Me.createElement("path",{d:"M8.13911129,9.00268191 L0.171521827,17.0258467 C-0.0498027049,17.248715 -0.0498027049,17.6098394 0.171521827,17.8327545 C0.28204354,17.9443526 0.427188206,17.9998706 0.572051765,17.9998706 C0.71714958,17.9998706 0.862013139,17.9443526 0.972581703,17.8327545 L9.0000937,9.74924618 L17.0276057,17.8327545 C17.1384085,17.9443526 17.2832721,17.9998706 17.4281356,17.9998706 C17.5729992,17.9998706 17.718097,17.9443526 17.8286656,17.8327545 C18.0499901,17.6098862 18.0499901,17.2487618 17.8286656,17.0258467 L9.86135722,9.00268191 L17.8340066,0.973848225 C18.0553311,0.750979934 18.0553311,0.389855532 17.8340066,0.16694039 C17.6126821,-0.0556467968 17.254037,-0.0556467968 17.0329467,0.16694039 L9.00042166,8.25611765 L0.967006424,0.167268345 C0.745681892,-0.0553188426 0.387317931,-0.0553188426 0.165993399,0.167268345 C-0.0553311331,0.390136635 -0.0553311331,0.751261038 0.165993399,0.974176179 L8.13920499,9.00268191 L8.13911129,9.00268191 Z",fill:r}))))}a(rI,"JoyrideTooltipCloseButton");var iI=rI;function oI(e){const{backProps:t,closeProps:r,index:o,isLastStep:l,primaryProps:u,skipProps:c,step:d,tooltipProps:p}=e,{content:h,hideBackButton:m,hideCloseButton:g,hideFooter:b,showSkipButton:S,styles:E,title:w}=d,R={};return R.primary=x.createElement("button",{"data-test-id":"button-primary",style:E.buttonNext,type:"button",...u}),S&&!l&&(R.skip=x.createElement("button",{"aria-live":"off","data-test-id":"button-skip",style:E.buttonSkip,type:"button",...c})),!m&&o>0&&(R.back=x.createElement("button",{"data-test-id":"button-back",style:E.buttonBack,type:"button",...t})),R.close=!g&&x.createElement(iI,{"data-test-id":"button-close",styles:E.buttonClose,...r}),x.createElement("div",{key:"JoyrideTooltip","aria-label":lr(w??h),className:"react-joyride__tooltip",style:E.tooltip,...p},x.createElement("div",{style:E.tooltipContainer},w&&x.createElement("h1",{"aria-label":lr(w),style:E.tooltipTitle},w),x.createElement("div",{style:E.tooltipContent},h)),!b&&x.createElement("div",{style:E.tooltipFooter},x.createElement("div",{style:E.tooltipFooterSpacer},R.skip),R.back,R.primary),R.close)}a(oI,"JoyrideTooltipContainer");var aI=oI,lI=class extends x.Component{static{a(this,"JoyrideTooltip")}constructor(){super(...arguments),we(this,"handleClickBack",e=>{e.preventDefault();const{helpers:t}=this.props;t.prev()}),we(this,"handleClickClose",e=>{e.preventDefault();const{helpers:t}=this.props;t.close("button_close")}),we(this,"handleClickPrimary",e=>{e.preventDefault();const{continuous:t,helpers:r}=this.props;if(!t){r.close("button_primary");return}r.next()}),we(this,"handleClickSkip",e=>{e.preventDefault();const{helpers:t}=this.props;t.skip()}),we(this,"getElementsProps",()=>{const{continuous:e,index:t,isLastStep:r,setTooltipRef:o,size:l,step:u}=this.props,{back:c,close:d,last:p,next:h,nextLabelWithProgress:m,skip:g}=u.locale,b=lr(c),S=lr(d),E=lr(p),w=lr(h),R=lr(g);let C=d,O=S;if(e){if(C=h,O=w,u.showProgress&&!r){const N=lr(m,{step:t+1,steps:l});C=Zh(m,t+1,l),O=N}r&&(C=p,O=E)}return{backProps:{"aria-label":b,children:c,"data-action":"back",onClick:this.handleClickBack,role:"button",title:b},closeProps:{"aria-label":S,children:d,"data-action":"close",onClick:this.handleClickClose,role:"button",title:S},primaryProps:{"aria-label":O,children:C,"data-action":"primary",onClick:this.handleClickPrimary,role:"button",title:O},skipProps:{"aria-label":R,children:g,"data-action":"skip",onClick:this.handleClickSkip,role:"button",title:R},tooltipProps:{"aria-modal":!0,ref:o,role:"alertdialog"}}})}render(){const{continuous:e,index:t,isLastStep:r,setTooltipRef:o,size:l,step:u}=this.props,{beaconComponent:c,tooltipComponent:d,...p}=u;let h;if(d){const m={...this.getElementsProps(),continuous:e,index:t,isLastStep:r,size:l,step:p,setTooltipRef:o},g=d;h=x.createElement(g,{...m})}else h=x.createElement(aI,{...this.getElementsProps(),continuous:e,index:t,isLastStep:r,size:l,step:u});return h}},sI=class extends x.Component{static{a(this,"JoyrideStep")}constructor(){super(...arguments),we(this,"scope",null),we(this,"tooltip",null),we(this,"handleClickHoverBeacon",e=>{const{step:t,store:r}=this.props;e.type==="mouseenter"&&t.event!=="hover"||r.update({lifecycle:Le.TOOLTIP})}),we(this,"setTooltipRef",e=>{this.tooltip=e}),we(this,"setPopper",(e,t)=>{var r;const{action:o,lifecycle:l,step:u,store:c}=this.props;t==="wrapper"?c.setPopper("beacon",e):c.setPopper("tooltip",e),c.getPopper("beacon")&&(c.getPopper("tooltip")||u.placement==="center")&&l===Le.INIT&&c.update({action:o,lifecycle:Le.READY}),(r=u.floaterProps)!=null&&r.getPopper&&u.floaterProps.getPopper(e,t)}),we(this,"renderTooltip",e=>{const{continuous:t,helpers:r,index:o,size:l,step:u}=this.props;return x.createElement(lI,{continuous:t,helpers:r,index:o,isLastStep:o+1===l,setTooltipRef:this.setTooltipRef,size:l,step:u,...e})})}componentDidMount(){const{debug:e,index:t}=this.props;oo({title:`step:${t}`,data:[{key:"props",value:this.props}],debug:e})}componentDidUpdate(e){var t;const{action:r,callback:o,continuous:l,controlled:u,debug:c,helpers:d,index:p,lifecycle:h,shouldScroll:m,status:g,step:b,store:S}=this.props,{changed:E,changedFrom:w}=Sc(e,this.props),R=d.info(),C=l&&r!==Ze.CLOSE&&(p>0||r===Ze.PREV),O=E("action")||E("index")||E("lifecycle")||E("status"),N=w("lifecycle",[Le.TOOLTIP,Le.INIT],Le.INIT),L=E("action",[Ze.NEXT,Ze.PREV,Ze.SKIP,Ze.CLOSE]),z=u&&p===e.index;if(L&&(N||z)&&o({...R,index:e.index,lifecycle:Le.COMPLETE,step:e.step,type:$n.STEP_AFTER}),b.placement==="center"&&g===Ge.RUNNING&&E("index")&&r!==Ze.START&&h===Le.INIT&&S.update({lifecycle:Le.READY}),O){const D=Hr(b.target),j=!!D;j&&P5(D)?(w("status",Ge.READY,Ge.RUNNING)||w("lifecycle",Le.INIT,Le.READY))&&o({...R,step:b,type:$n.STEP_BEFORE}):(console.warn(j?"Target not visible":"Target not mounted",b),o({...R,type:$n.TARGET_NOT_FOUND,step:b}),u||S.update({index:p+(r===Ze.PREV?-1:1)}))}w("lifecycle",Le.INIT,Le.READY)&&S.update({lifecycle:rS(b)||C?Le.TOOLTIP:Le.BEACON}),E("index")&&oo({title:`step:${h}`,data:[{key:"props",value:this.props}],debug:c}),E("lifecycle",Le.BEACON)&&o({...R,step:b,type:$n.BEACON}),E("lifecycle",Le.TOOLTIP)&&(o({...R,step:b,type:$n.TOOLTIP}),m&&this.tooltip&&(this.scope=new tI(this.tooltip,{selector:"[data-action=primary]"}),this.scope.setFocus())),w("lifecycle",[Le.TOOLTIP,Le.INIT],Le.INIT)&&((t=this.scope)==null||t.removeScope(),S.cleanupPoppers())}componentWillUnmount(){var e;(e=this.scope)==null||e.removeScope()}get open(){const{lifecycle:e,step:t}=this.props;return rS(t)||e===Le.TOOLTIP}render(){const{continuous:e,debug:t,index:r,nonce:o,shouldScroll:l,size:u,step:c}=this.props,d=Hr(c.target);return!MT(c)||!xe.domElement(d)?null:x.createElement("div",{key:`JoyrideStep-${r}`,className:"react-joyride__step"},x.createElement(dy,{...c.floaterProps,component:this.renderTooltip,debug:t,getPopper:this.setPopper,id:`react-joyride-step-${r}`,open:this.open,placement:c.placement,target:c.target},x.createElement(nI,{beaconComponent:c.beaconComponent,continuous:e,index:r,isLastStep:r+1===u,locale:c.locale,nonce:o,onClickOrHover:this.handleClickHoverBeacon,shouldFocus:l,size:u,step:c,styles:c.styles})))}},kT=class extends x.Component{static{a(this,"Joyride")}constructor(e){super(e),we(this,"helpers"),we(this,"store"),we(this,"callback",c=>{const{callback:d}=this.props;xe.function(d)&&d(c)}),we(this,"handleKeyboard",c=>{const{index:d,lifecycle:p}=this.state,{steps:h}=this.props,m=h[d];p===Le.TOOLTIP&&c.code==="Escape"&&m&&!m.disableCloseOnEsc&&this.store.close("keyboard")}),we(this,"handleClickOverlay",()=>{const{index:c}=this.state,{steps:d}=this.props;ra(this.props,d[c]).disableOverlayClose||this.helpers.close("overlay")}),we(this,"syncState",c=>{this.setState(c)});const{debug:t,getHelpers:r,run:o=!0,stepIndex:l}=e;this.store=X5({...e,controlled:o&&xe.number(l)}),this.helpers=this.store.getHelpers();const{addListener:u}=this.store;oo({title:"init",data:[{key:"props",value:this.props},{key:"state",value:this.state}],debug:t}),u(this.syncState),r&&r(this.helpers),this.state=this.store.getState()}componentDidMount(){if(!bi())return;const{debug:e,disableCloseOnEsc:t,run:r,steps:o}=this.props,{start:l}=this.store;aS(o,e)&&r&&l(),t||document.body.addEventListener("keydown",this.handleKeyboard,{passive:!0})}componentDidUpdate(e,t){if(!bi())return;const{action:r,controlled:o,index:l,status:u}=this.state,{debug:c,run:d,stepIndex:p,steps:h}=this.props,{stepIndex:m,steps:g}=e,{reset:b,setSteps:S,start:E,stop:w,update:R}=this.store,{changed:C}=Sc(e,this.props),{changed:O,changedFrom:N}=Sc(t,this.state),L=ra(this.props,h[l]),z=!Vt(g,h),D=xe.number(p)&&C("stepIndex"),j=Hr(L.target);if(z&&(aS(h,c)?S(h):console.warn("Steps are not valid",h)),C("run")&&(d?E(p):w()),D){let J=xe.number(m)&&m<p?Ze.NEXT:Ze.PREV;r===Ze.STOP&&(J=Ze.START),[Ge.FINISHED,Ge.SKIPPED].includes(u)||R({action:r===Ze.CLOSE?Ze.CLOSE:J,index:p,lifecycle:Le.INIT})}!o&&u===Ge.RUNNING&&l===0&&!j&&(this.store.update({index:l+1}),this.callback({...this.state,type:$n.TARGET_NOT_FOUND,step:L}));const G={...this.state,index:l,step:L};if(O("action",[Ze.NEXT,Ze.PREV,Ze.SKIP,Ze.CLOSE])&&O("status",Ge.PAUSED)){const J=ra(this.props,h[t.index]);this.callback({...G,index:t.index,lifecycle:Le.COMPLETE,step:J,type:$n.STEP_AFTER})}if(O("status",[Ge.FINISHED,Ge.SKIPPED])){const J=ra(this.props,h[t.index]);o||this.callback({...G,index:t.index,lifecycle:Le.COMPLETE,step:J,type:$n.STEP_AFTER}),this.callback({...G,type:$n.TOUR_END,step:J,index:t.index}),b()}else N("status",[Ge.IDLE,Ge.READY],Ge.RUNNING)?this.callback({...G,type:$n.TOUR_START}):(O("status")||O("action",Ze.RESET))&&this.callback({...G,type:$n.TOUR_STATUS});this.scrollToStep(t)}componentWillUnmount(){const{disableCloseOnEsc:e}=this.props;e||document.body.removeEventListener("keydown",this.handleKeyboard)}scrollToStep(e){const{index:t,lifecycle:r,status:o}=this.state,{debug:l,disableScrollParentFix:u=!1,scrollDuration:c,scrollOffset:d=20,scrollToFirstStep:p=!1,steps:h}=this.props,m=ra(this.props,h[t]),g=Hr(m.target),b=F5({isFirstStep:t===0,lifecycle:r,previousLifecycle:e.lifecycle,scrollToFirstStep:p,step:m,target:g});if(o===Ge.RUNNING&&b){const S=nf(g,u),E=is(g,u);let w=Math.floor(z5(g,d,u))||0;oo({title:"scrollToStep",data:[{key:"index",value:t},{key:"lifecycle",value:r},{key:"status",value:o}],debug:l});const R=this.store.getPopper("beacon"),C=this.store.getPopper("tooltip");if(r===Le.BEACON&&R){const{offsets:O,placement:N}=R;!["bottom"].includes(N)&&!S&&(w=Math.floor(O.popper.top-d))}else if(r===Le.TOOLTIP&&C){const{flipped:O,offsets:N,placement:L}=C;["top","right","left"].includes(L)&&!O&&!S?w=Math.floor(N.popper.top-d):w-=m.spotlightPadding}w=w>=0?w:0,o===Ge.RUNNING&&I5(w,{element:E,duration:c}).then(()=>{setTimeout(()=>{var O;(O=this.store.getPopper("tooltip"))==null||O.instance.update()},10)})}}render(){if(!bi())return null;const{index:e,lifecycle:t,status:r}=this.state,{continuous:o=!1,debug:l=!1,nonce:u,scrollToFirstStep:c=!1,steps:d}=this.props,p=r===Ge.RUNNING,h={};if(p&&d[e]){const m=ra(this.props,d[e]);h.step=x.createElement(sI,{...this.state,callback:this.callback,continuous:o,debug:l,helpers:this.helpers,nonce:u,shouldScroll:!m.disableScrolling&&(e!==0||c),step:m,store:this.store}),h.overlay=x.createElement(eI,{id:"react-joyride-portal"},x.createElement(J5,{...m,continuous:o,debug:l,lifecycle:t,onClickOverlay:this.handleClickOverlay}))}return x.createElement("div",{className:"react-joyride"},h.step,h.overlay)}};we(kT,"defaultProps",V5);var hF=kT,py="ToastProvider",[hy,uI,cI]=qc("Toast"),[DT]=Gt("Toast",[cI]),[fI,rf]=DT(py),PT=a(e=>{const{__scopeToast:t,label:r="Notification",duration:o=5e3,swipeDirection:l="right",swipeThreshold:u=50,children:c}=e,[d,p]=x.useState(null),[h,m]=x.useState(0),g=x.useRef(!1),b=x.useRef(!1);return r.trim()||console.error(`Invalid prop \`label\` supplied to \`${py}\`. Expected non-empty \`string\`.`),k.jsx(hy.Provider,{scope:t,children:k.jsx(fI,{scope:t,label:r,duration:o,swipeDirection:l,swipeThreshold:u,toastCount:h,viewport:d,onViewportChange:p,onToastAdd:x.useCallback(()=>m(S=>S+1),[]),onToastRemove:x.useCallback(()=>m(S=>S-1),[]),isFocusedToastEscapeKeyDownRef:g,isClosePausedRef:b,children:c})})},"ToastProvider");PT.displayName=py;var LT="ToastViewport",dI=["F8"],Jh="toast.viewportPause",em="toast.viewportResume",zT=x.forwardRef((e,t)=>{const{__scopeToast:r,hotkey:o=dI,label:l="Notifications ({hotkey})",...u}=e,c=rf(LT,r),d=uI(r),p=x.useRef(null),h=x.useRef(null),m=x.useRef(null),g=x.useRef(null),b=ze(t,g,c.onViewportChange),S=o.join("+").replace(/Key/g,"").replace(/Digit/g,""),E=c.toastCount>0;x.useEffect(()=>{const R=a(C=>{o.length!==0&&o.every(N=>C[N]||C.code===N)&&g.current?.focus()},"handleKeyDown");return document.addEventListener("keydown",R),()=>document.removeEventListener("keydown",R)},[o]),x.useEffect(()=>{const R=p.current,C=g.current;if(E&&R&&C){const O=a(()=>{if(!c.isClosePausedRef.current){const D=new CustomEvent(Jh);C.dispatchEvent(D),c.isClosePausedRef.current=!0}},"handlePause"),N=a(()=>{if(c.isClosePausedRef.current){const D=new CustomEvent(em);C.dispatchEvent(D),c.isClosePausedRef.current=!1}},"handleResume"),L=a(D=>{!R.contains(D.relatedTarget)&&N()},"handleFocusOutResume"),z=a(()=>{R.contains(document.activeElement)||N()},"handlePointerLeaveResume");return R.addEventListener("focusin",O),R.addEventListener("focusout",L),R.addEventListener("pointermove",O),R.addEventListener("pointerleave",z),window.addEventListener("blur",O),window.addEventListener("focus",N),()=>{R.removeEventListener("focusin",O),R.removeEventListener("focusout",L),R.removeEventListener("pointermove",O),R.removeEventListener("pointerleave",z),window.removeEventListener("blur",O),window.removeEventListener("focus",N)}}},[E,c.isClosePausedRef]);const w=x.useCallback(({tabbingDirection:R})=>{const O=d().map(N=>{const L=N.ref.current,z=[L,...TI(L)];return R==="forwards"?z:z.reverse()});return(R==="forwards"?O.reverse():O).flat()},[d]);return x.useEffect(()=>{const R=g.current;if(R){const C=a(O=>{const N=O.altKey||O.ctrlKey||O.metaKey;if(O.key==="Tab"&&!N){const z=document.activeElement,D=O.shiftKey;if(O.target===R&&D){h.current?.focus();return}const Y=w({tabbingDirection:D?"backwards":"forwards"}),J=Y.findIndex(X=>X===z);rh(Y.slice(J+1))?O.preventDefault():D?h.current?.focus():m.current?.focus()}},"handleKeyDown");return R.addEventListener("keydown",C),()=>R.removeEventListener("keydown",C)}},[d,w]),k.jsxs(V_,{ref:p,role:"region","aria-label":l.replace("{hotkey}",S),tabIndex:-1,style:{pointerEvents:E?void 0:"none"},children:[E&&k.jsx(tm,{ref:h,onFocusFromOutsideViewport:a(()=>{const R=w({tabbingDirection:"forwards"});rh(R)},"onFocusFromOutsideViewport")}),k.jsx(hy.Slot,{scope:r,children:k.jsx(Ee.ol,{tabIndex:-1,...u,ref:b})}),E&&k.jsx(tm,{ref:m,onFocusFromOutsideViewport:a(()=>{const R=w({tabbingDirection:"backwards"});rh(R)},"onFocusFromOutsideViewport")})]})});zT.displayName=LT;var IT="ToastFocusProxy",tm=x.forwardRef((e,t)=>{const{__scopeToast:r,onFocusFromOutsideViewport:o,...l}=e,u=rf(IT,r);return k.jsx(jc,{tabIndex:0,...l,ref:t,style:{position:"fixed"},onFocus:a(c=>{const d=c.relatedTarget;!u.viewport?.contains(d)&&o()},"onFocus")})});tm.displayName=IT;var Ts="Toast",pI="toast.swipeStart",hI="toast.swipeMove",mI="toast.swipeCancel",yI="toast.swipeEnd",jT=x.forwardRef((e,t)=>{const{forceMount:r,open:o,defaultOpen:l,onOpenChange:u,...c}=e,[d,p]=mr({prop:o,defaultProp:l??!0,onChange:u,caller:Ts});return k.jsx(It,{present:r||d,children:k.jsx(bI,{open:d,...c,ref:t,onClose:a(()=>p(!1),"onClose"),onPause:vt(e.onPause),onResume:vt(e.onResume),onSwipeStart:ge(e.onSwipeStart,h=>{h.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:ge(e.onSwipeMove,h=>{const{x:m,y:g}=h.detail.delta;h.currentTarget.setAttribute("data-swipe","move"),h.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${m}px`),h.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${g}px`)}),onSwipeCancel:ge(e.onSwipeCancel,h=>{h.currentTarget.setAttribute("data-swipe","cancel"),h.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),h.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),h.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),h.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:ge(e.onSwipeEnd,h=>{const{x:m,y:g}=h.detail.delta;h.currentTarget.setAttribute("data-swipe","end"),h.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),h.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),h.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${m}px`),h.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${g}px`),p(!1)})})})});jT.displayName=Ts;var[gI,vI]=DT(Ts,{onClose(){}}),bI=x.forwardRef((e,t)=>{const{__scopeToast:r,type:o="foreground",duration:l,open:u,onClose:c,onEscapeKeyDown:d,onPause:p,onResume:h,onSwipeStart:m,onSwipeMove:g,onSwipeCancel:b,onSwipeEnd:S,...E}=e,w=rf(Ts,r),[R,C]=x.useState(null),O=ze(t,q=>C(q)),N=x.useRef(null),L=x.useRef(null),z=l||w.duration,D=x.useRef(0),j=x.useRef(z),G=x.useRef(0),{onToastAdd:Y,onToastRemove:J}=w,X=vt(()=>{R?.contains(document.activeElement)&&w.viewport?.focus(),c()}),Z=x.useCallback(q=>{!q||q===1/0||(window.clearTimeout(G.current),D.current=new Date().getTime(),G.current=window.setTimeout(X,q))},[X]);x.useEffect(()=>{const q=w.viewport;if(q){const te=a(()=>{Z(j.current),h?.()},"handleResume"),I=a(()=>{const W=new Date().getTime()-D.current;j.current=j.current-W,window.clearTimeout(G.current),p?.()},"handlePause");return q.addEventListener(Jh,I),q.addEventListener(em,te),()=>{q.removeEventListener(Jh,I),q.removeEventListener(em,te)}}},[w.viewport,z,p,h,Z]),x.useEffect(()=>{u&&!w.isClosePausedRef.current&&Z(z)},[u,z,w.isClosePausedRef,Z]),x.useEffect(()=>(Y(),()=>J()),[Y,J]);const ce=x.useMemo(()=>R?VT(R):null,[R]);return w.viewport?k.jsxs(k.Fragment,{children:[ce&&k.jsx(SI,{__scopeToast:r,role:"status","aria-live":o==="foreground"?"assertive":"polite",children:ce}),k.jsx(gI,{scope:r,onClose:X,children:pr.createPortal(k.jsx(hy.ItemSlot,{scope:r,children:k.jsx($_,{asChild:!0,onEscapeKeyDown:ge(d,()=>{w.isFocusedToastEscapeKeyDownRef.current||X(),w.isFocusedToastEscapeKeyDownRef.current=!1}),children:k.jsx(Ee.li,{tabIndex:0,"data-state":u?"open":"closed","data-swipe-direction":w.swipeDirection,...E,ref:O,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:ge(e.onKeyDown,q=>{q.key==="Escape"&&(d?.(q.nativeEvent),q.nativeEvent.defaultPrevented||(w.isFocusedToastEscapeKeyDownRef.current=!0,X()))}),onPointerDown:ge(e.onPointerDown,q=>{q.button===0&&(N.current={x:q.clientX,y:q.clientY})}),onPointerMove:ge(e.onPointerMove,q=>{if(!N.current)return;const te=q.clientX-N.current.x,I=q.clientY-N.current.y,W=!!L.current,ne=["left","right"].includes(w.swipeDirection),se=["left","up"].includes(w.swipeDirection)?Math.min:Math.max,A=ne?se(0,te):0,K=ne?0:se(0,I),de=q.pointerType==="touch"?10:2,_={x:A,y:K},re={originalEvent:q,delta:_};W?(L.current=_,Yu(hI,g,re,{discrete:!1})):sS(_,w.swipeDirection,de)?(L.current=_,Yu(pI,m,re,{discrete:!1}),q.target.setPointerCapture(q.pointerId)):(Math.abs(te)>de||Math.abs(I)>de)&&(N.current=null)}),onPointerUp:ge(e.onPointerUp,q=>{const te=L.current,I=q.target;if(I.hasPointerCapture(q.pointerId)&&I.releasePointerCapture(q.pointerId),L.current=null,N.current=null,te){const W=q.currentTarget,ne={originalEvent:q,delta:te};sS(te,w.swipeDirection,w.swipeThreshold)?Yu(yI,S,ne,{discrete:!0}):Yu(mI,b,ne,{discrete:!0}),W.addEventListener("click",se=>se.preventDefault(),{once:!0})}})})})}),w.viewport)})]}):null}),SI=a(e=>{const{__scopeToast:t,children:r,...o}=e,l=rf(Ts,t),[u,c]=x.useState(!1),[d,p]=x.useState(!1);return EI(()=>c(!0)),x.useEffect(()=>{const h=window.setTimeout(()=>p(!0),1e3);return()=>window.clearTimeout(h)},[]),d?null:k.jsx(Ea,{asChild:!0,children:k.jsx(jc,{...o,children:u&&k.jsxs(k.Fragment,{children:[l.label," ",r]})})})},"ToastAnnounce"),xI="ToastTitle",UT=x.forwardRef((e,t)=>{const{__scopeToast:r,...o}=e;return k.jsx(Ee.div,{...o,ref:t})});UT.displayName=xI;var wI="ToastDescription",BT=x.forwardRef((e,t)=>{const{__scopeToast:r,...o}=e;return k.jsx(Ee.div,{...o,ref:t})});BT.displayName=wI;var HT="ToastAction",FT=x.forwardRef((e,t)=>{const{altText:r,...o}=e;return r.trim()?k.jsx($T,{altText:r,asChild:!0,children:k.jsx(my,{...o,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${HT}\`. Expected non-empty \`string\`.`),null)});FT.displayName=HT;var qT="ToastClose",my=x.forwardRef((e,t)=>{const{__scopeToast:r,...o}=e,l=vI(qT,r);return k.jsx($T,{asChild:!0,children:k.jsx(Ee.button,{type:"button",...o,ref:t,onClick:ge(e.onClick,l.onClose)})})});my.displayName=qT;var $T=x.forwardRef((e,t)=>{const{__scopeToast:r,altText:o,...l}=e;return k.jsx(Ee.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":o||void 0,...l,ref:t})});function VT(e){const t=[];return Array.from(e.childNodes).forEach(o=>{if(o.nodeType===o.TEXT_NODE&&o.textContent&&t.push(o.textContent),CI(o)){const l=o.ariaHidden||o.hidden||o.style.display==="none",u=o.dataset.radixToastAnnounceExclude==="";if(!l)if(u){const c=o.dataset.radixToastAnnounceAlt;c&&t.push(c)}else t.push(...VT(o))}}),t}a(VT,"getAnnounceTextContent");function Yu(e,t,r,{discrete:o}){const l=r.originalEvent.currentTarget,u=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:r});t&&l.addEventListener(e,t,{once:!0}),o?hm(l,u):l.dispatchEvent(u)}a(Yu,"handleAndDispatchCustomEvent");var sS=a((e,t,r=0)=>{const o=Math.abs(e.x),l=Math.abs(e.y),u=o>l;return t==="left"||t==="right"?u&&o>r:!u&&l>r},"isDeltaInDirection");function EI(e=()=>{}){const t=vt(e);bt(()=>{let r=0,o=0;return r=window.requestAnimationFrame(()=>o=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(r),window.cancelAnimationFrame(o)}},[t])}a(EI,"useNextFrame");function CI(e){return e.nodeType===e.ELEMENT_NODE}a(CI,"isHTMLElement$1");function TI(e){const t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:a(o=>{const l=o.tagName==="INPUT"&&o.type==="hidden";return o.disabled||o.hidden||l?NodeFilter.FILTER_SKIP:o.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP},"acceptNode")});for(;r.nextNode();)t.push(r.currentNode);return t}a(TI,"getTabbableCandidates");function rh(e){const t=document.activeElement;return e.some(r=>r===t?!0:(r.focus(),document.activeElement!==t))}a(rh,"focusFirst");var mF=PT,yF=zT,gF=jT,vF=UT,bF=BT,SF=FT,xF=my;function wF(){}a(wF,"ok$1");function RI(e,t){const r={};return(e[e.length-1]===""?[...e,""]:e).join((r.padRight?" ":"")+","+(r.padLeft===!1?"":" ")).trim()}a(RI,"stringify$1");const OI=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,AI=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,_I={};function uS(e,t){return(_I.jsx?AI:OI).test(e)}a(uS,"name");const MI=/[ \t\n\f\r]/g;function NI(e){return typeof e=="object"?e.type==="text"?cS(e.value):!1:cS(e)}a(NI,"whitespace");function cS(e){return e.replace(MI,"")===""}a(cS,"empty$1");class Rs{static{a(this,"Schema")}constructor(t,r,o){this.normal=r,this.property=t,o&&(this.space=o)}}Rs.prototype.normal={};Rs.prototype.property={};Rs.prototype.space=void 0;function GT(e,t){const r={},o={};for(const l of e)Object.assign(r,l.property),Object.assign(o,l.normal);return new Rs(r,o,t)}a(GT,"merge");function nm(e){return e.toLowerCase()}a(nm,"normalize$1");class on{static{a(this,"Info")}constructor(t,r){this.attribute=r,this.property=t}}on.prototype.attribute="";on.prototype.booleanish=!1;on.prototype.boolean=!1;on.prototype.commaOrSpaceSeparated=!1;on.prototype.commaSeparated=!1;on.prototype.defined=!1;on.prototype.mustUseProperty=!1;on.prototype.number=!1;on.prototype.overloadedBoolean=!1;on.prototype.property="";on.prototype.spaceSeparated=!1;on.prototype.space=void 0;let kI=0;const Ue=fo(),Tt=fo(),rm=fo(),he=fo(),lt=fo(),da=fo(),yn=fo();function fo(){return 2**++kI}a(fo,"increment");const im=Object.freeze(Object.defineProperty({__proto__:null,boolean:Ue,booleanish:Tt,commaOrSpaceSeparated:yn,commaSeparated:da,number:he,overloadedBoolean:rm,spaceSeparated:lt},Symbol.toStringTag,{value:"Module"})),ih=Object.keys(im);class yy extends on{static{a(this,"DefinedInfo")}constructor(t,r,o,l){let u=-1;if(super(t,r),fS(this,"space",l),typeof o=="number")for(;++u<ih.length;){const c=ih[u];fS(this,ih[u],(o&im[c])===im[c])}}}yy.prototype.defined=!0;function fS(e,t,r){r&&(e[t]=r)}a(fS,"mark");function Da(e){const t={},r={};for(const[o,l]of Object.entries(e.properties)){const u=new yy(o,e.transform(e.attributes||{},o),l,e.space);e.mustUseProperty&&e.mustUseProperty.includes(o)&&(u.mustUseProperty=!0),t[o]=u,r[nm(o)]=o,r[nm(u.attribute)]=o}return new Rs(t,r,e.space)}a(Da,"create");const YT=Da({properties:{ariaActiveDescendant:null,ariaAtomic:Tt,ariaAutoComplete:null,ariaBusy:Tt,ariaChecked:Tt,ariaColCount:he,ariaColIndex:he,ariaColSpan:he,ariaControls:lt,ariaCurrent:null,ariaDescribedBy:lt,ariaDetails:null,ariaDisabled:Tt,ariaDropEffect:lt,ariaErrorMessage:null,ariaExpanded:Tt,ariaFlowTo:lt,ariaGrabbed:Tt,ariaHasPopup:null,ariaHidden:Tt,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:lt,ariaLevel:he,ariaLive:null,ariaModal:Tt,ariaMultiLine:Tt,ariaMultiSelectable:Tt,ariaOrientation:null,ariaOwns:lt,ariaPlaceholder:null,ariaPosInSet:he,ariaPressed:Tt,ariaReadOnly:Tt,ariaRelevant:null,ariaRequired:Tt,ariaRoleDescription:lt,ariaRowCount:he,ariaRowIndex:he,ariaRowSpan:he,ariaSelected:Tt,ariaSetSize:he,ariaSort:null,ariaValueMax:he,ariaValueMin:he,ariaValueNow:he,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function KT(e,t){return t in e?e[t]:t}a(KT,"caseSensitiveTransform");function QT(e,t){return KT(e,t.toLowerCase())}a(QT,"caseInsensitiveTransform");const DI=Da({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:da,acceptCharset:lt,accessKey:lt,action:null,allow:null,allowFullScreen:Ue,allowPaymentRequest:Ue,allowUserMedia:Ue,alt:null,as:null,async:Ue,autoCapitalize:null,autoComplete:lt,autoFocus:Ue,autoPlay:Ue,blocking:lt,capture:null,charSet:null,checked:Ue,cite:null,className:lt,cols:he,colSpan:null,content:null,contentEditable:Tt,controls:Ue,controlsList:lt,coords:he|da,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Ue,defer:Ue,dir:null,dirName:null,disabled:Ue,download:rm,draggable:Tt,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Ue,formTarget:null,headers:lt,height:he,hidden:rm,high:he,href:null,hrefLang:null,htmlFor:lt,httpEquiv:lt,id:null,imageSizes:null,imageSrcSet:null,inert:Ue,inputMode:null,integrity:null,is:null,isMap:Ue,itemId:null,itemProp:lt,itemRef:lt,itemScope:Ue,itemType:lt,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Ue,low:he,manifest:null,max:null,maxLength:he,media:null,method:null,min:null,minLength:he,multiple:Ue,muted:Ue,name:null,nonce:null,noModule:Ue,noValidate:Ue,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:Ue,optimum:he,pattern:null,ping:lt,placeholder:null,playsInline:Ue,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Ue,referrerPolicy:null,rel:lt,required:Ue,reversed:Ue,rows:he,rowSpan:he,sandbox:lt,scope:null,scoped:Ue,seamless:Ue,selected:Ue,shadowRootClonable:Ue,shadowRootDelegatesFocus:Ue,shadowRootMode:null,shape:null,size:he,sizes:null,slot:null,span:he,spellCheck:Tt,src:null,srcDoc:null,srcLang:null,srcSet:null,start:he,step:null,style:null,tabIndex:he,target:null,title:null,translate:null,type:null,typeMustMatch:Ue,useMap:null,value:Tt,width:he,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:lt,axis:null,background:null,bgColor:null,border:he,borderColor:null,bottomMargin:he,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Ue,declare:Ue,event:null,face:null,frame:null,frameBorder:null,hSpace:he,leftMargin:he,link:null,longDesc:null,lowSrc:null,marginHeight:he,marginWidth:he,noResize:Ue,noHref:Ue,noShade:Ue,noWrap:Ue,object:null,profile:null,prompt:null,rev:null,rightMargin:he,rules:null,scheme:null,scrolling:Tt,standby:null,summary:null,text:null,topMargin:he,valueType:null,version:null,vAlign:null,vLink:null,vSpace:he,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Ue,disableRemotePlayback:Ue,prefix:null,property:null,results:he,security:null,unselectable:null},space:"html",transform:QT}),PI=Da({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:yn,accentHeight:he,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:he,amplitude:he,arabicForm:null,ascent:he,attributeName:null,attributeType:null,azimuth:he,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:he,by:null,calcMode:null,capHeight:he,className:lt,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:he,diffuseConstant:he,direction:null,display:null,dur:null,divisor:he,dominantBaseline:null,download:Ue,dx:null,dy:null,edgeMode:null,editable:null,elevation:he,enableBackground:null,end:null,event:null,exponent:he,externalResourcesRequired:null,fill:null,fillOpacity:he,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:da,g2:da,glyphName:da,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:he,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:he,horizOriginX:he,horizOriginY:he,id:null,ideographic:he,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:he,k:he,k1:he,k2:he,k3:he,k4:he,kernelMatrix:yn,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:he,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:he,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:he,overlineThickness:he,paintOrder:null,panose1:null,path:null,pathLength:he,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:lt,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:he,pointsAtY:he,pointsAtZ:he,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:yn,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:yn,rev:yn,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:yn,requiredFeatures:yn,requiredFonts:yn,requiredFormats:yn,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:he,specularExponent:he,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:he,strikethroughThickness:he,string:null,stroke:null,strokeDashArray:yn,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:he,strokeOpacity:he,strokeWidth:null,style:null,surfaceScale:he,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:yn,tabIndex:he,tableValues:null,target:null,targetX:he,targetY:he,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:yn,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:he,underlineThickness:he,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:he,values:null,vAlphabetic:he,vMathematical:he,vectorEffect:null,vHanging:he,vIdeographic:he,version:null,vertAdvY:he,vertOriginX:he,vertOriginY:he,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:he,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:KT}),XT=Da({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}}),WT=Da({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:QT}),ZT=Da({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),LI={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},zI=/[A-Z]/g,dS=/-[a-z]/g,II=/^data[-\w.:]+$/i;function jI(e,t){const r=nm(t);let o=t,l=on;if(r in e.normal)return e.property[e.normal[r]];if(r.length>4&&r.slice(0,4)==="data"&&II.test(t)){if(t.charAt(4)==="-"){const u=t.slice(5).replace(dS,BI);o="data"+u.charAt(0).toUpperCase()+u.slice(1)}else{const u=t.slice(4);if(!dS.test(u)){let c=u.replace(zI,UI);c.charAt(0)!=="-"&&(c="-"+c),t="data"+c}}l=yy}return new l(o,t)}a(jI,"find");function UI(e){return"-"+e.toLowerCase()}a(UI,"kebab");function BI(e){return e.charAt(1).toUpperCase()}a(BI,"camelcase");const HI=GT([YT,DI,XT,WT,ZT],"html"),gy=GT([YT,PI,XT,WT,ZT],"svg");function FI(e){return e.join(" ").trim()}a(FI,"stringify");var ia={},oh,pS;function qI(){if(pS)return oh;pS=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,r=/^\s*/,o=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,l=/^:\s*/,u=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,c=/^[;\s]*/,d=/^\s+|\s+$/g,p=`
|
|
598
|
-
`,h="/",m="*",g="",b="comment",S="declaration";oh=a(function(w,R){if(typeof w!="string")throw new TypeError("First argument must be a string");if(!w)return[];R=R||{};var C=1,O=1;function N(ce){var q=ce.match(t);q&&(C+=q.length);var te=ce.lastIndexOf(p);O=~te?ce.length-te:O+ce.length}a(N,"updatePosition");function L(){var ce={line:C,column:O};return function(q){return q.position=new z(ce),G(),q}}a(L,"position");function z(ce){this.start=ce,this.end={line:C,column:O},this.source=R.source}a(z,"Position"),z.prototype.content=w;function D(ce){var q=new Error(R.source+":"+C+":"+O+": "+ce);if(q.reason=ce,q.filename=R.source,q.line=C,q.column=O,q.source=w,!R.silent)throw q}a(D,"error");function j(ce){var q=ce.exec(w);if(q){var te=q[0];return N(te),w=w.slice(te.length),q}}a(j,"match");function G(){j(r)}a(G,"whitespace");function Y(ce){var q;for(ce=ce||[];q=J();)q!==!1&&ce.push(q);return ce}a(Y,"comments");function J(){var ce=L();if(!(h!=w.charAt(0)||m!=w.charAt(1))){for(var q=2;g!=w.charAt(q)&&(m!=w.charAt(q)||h!=w.charAt(q+1));)++q;if(q+=2,g===w.charAt(q-1))return D("End of comment missing");var te=w.slice(2,q-2);return O+=2,N(te),w=w.slice(q),O+=2,ce({type:b,comment:te})}}a(J,"comment");function X(){var ce=L(),q=j(o);if(q){if(J(),!j(l))return D("property missing ':'");var te=j(u),I=ce({type:S,property:E(q[0].replace(e,g)),value:te?E(te[0].replace(e,g)):g});return j(c),I}}a(X,"declaration");function Z(){var ce=[];Y(ce);for(var q;q=X();)q!==!1&&(ce.push(q),Y(ce));return ce}return a(Z,"declarations"),G(),Z()},"inlineStyleParser");function E(w){return w?w.replace(d,g):g}return a(E,"trim"),oh}a(qI,"requireInlineStyleParser");var hS;function $I(){if(hS)return ia;hS=1;var e=ia&&ia.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(ia,"__esModule",{value:!0}),ia.default=r;var t=e(qI());function r(o,l){var u=null;if(!o||typeof o!="string")return u;var c=(0,t.default)(o),d=typeof l=="function";return c.forEach(function(p){if(p.type==="declaration"){var h=p.property,m=p.value;d?l(h,m,p):m&&(u=u||{},u[h]=m)}}),u}return a(r,"StyleToObject"),ia}a($I,"requireCjs$1");var jl={},mS;function VI(){if(mS)return jl;mS=1,Object.defineProperty(jl,"__esModule",{value:!0}),jl.camelCase=void 0;var e=/^--[a-zA-Z0-9_-]+$/,t=/-([a-z])/g,r=/^[^-]+$/,o=/^-(webkit|moz|ms|o|khtml)-/,l=/^-(ms)-/,u=a(function(h){return!h||r.test(h)||e.test(h)},"skipCamelCase"),c=a(function(h,m){return m.toUpperCase()},"capitalize"),d=a(function(h,m){return"".concat(m,"-")},"trimHyphen"),p=a(function(h,m){return m===void 0&&(m={}),u(h)?h:(h=h.toLowerCase(),m.reactCompat?h=h.replace(l,d):h=h.replace(o,d),h.replace(t,c))},"camelCase");return jl.camelCase=p,jl}a(VI,"requireUtilities");var Ul,yS;function GI(){if(yS)return Ul;yS=1;var e=Ul&&Ul.__importDefault||function(l){return l&&l.__esModule?l:{default:l}},t=e($I()),r=VI();function o(l,u){var c={};return!l||typeof l!="string"||(0,t.default)(l,function(d,p){d&&p&&(c[(0,r.camelCase)(d,u)]=p)}),c}return a(o,"StyleToJS"),o.default=o,Ul=o,Ul}a(GI,"requireCjs");var YI=GI();const KI=vr(YI),JT=eR("end"),vy=eR("start");function eR(e){return t;function t(r){const o=r&&r.position&&r.position[e]||{};if(typeof o.line=="number"&&o.line>0&&typeof o.column=="number"&&o.column>0)return{line:o.line,column:o.column,offset:typeof o.offset=="number"&&o.offset>-1?o.offset:void 0}}}a(eR,"point$2");function QI(e){const t=vy(e),r=JT(e);if(t&&r)return{start:t,end:r}}a(QI,"position$1");function Yl(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?gS(e.position):"start"in e||"end"in e?gS(e):"line"in e||"column"in e?om(e):""}a(Yl,"stringifyPosition");function om(e){return vS(e&&e.line)+":"+vS(e&&e.column)}a(om,"point$1");function gS(e){return om(e&&e.start)+"-"+om(e&&e.end)}a(gS,"position");function vS(e){return e&&typeof e=="number"?e:1}a(vS,"index");class qt extends Error{static{a(this,"VFileMessage")}constructor(t,r,o){super(),typeof r=="string"&&(o=r,r=void 0);let l="",u={},c=!1;if(r&&("line"in r&&"column"in r?u={place:r}:"start"in r&&"end"in r?u={place:r}:"type"in r?u={ancestors:[r],place:r.position}:u={...r}),typeof t=="string"?l=t:!u.cause&&t&&(c=!0,l=t.message,u.cause=t),!u.ruleId&&!u.source&&typeof o=="string"){const p=o.indexOf(":");p===-1?u.ruleId=o:(u.source=o.slice(0,p),u.ruleId=o.slice(p+1))}if(!u.place&&u.ancestors&&u.ancestors){const p=u.ancestors[u.ancestors.length-1];p&&(u.place=p.position)}const d=u.place&&"start"in u.place?u.place.start:u.place;this.ancestors=u.ancestors||void 0,this.cause=u.cause||void 0,this.column=d?d.column:void 0,this.fatal=void 0,this.file="",this.message=l,this.line=d?d.line:void 0,this.name=Yl(u.place)||"1:1",this.place=u.place||void 0,this.reason=this.message,this.ruleId=u.ruleId||void 0,this.source=u.source||void 0,this.stack=c&&u.cause&&typeof u.cause.stack=="string"?u.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}qt.prototype.file="";qt.prototype.name="";qt.prototype.reason="";qt.prototype.message="";qt.prototype.stack="";qt.prototype.column=void 0;qt.prototype.line=void 0;qt.prototype.ancestors=void 0;qt.prototype.cause=void 0;qt.prototype.fatal=void 0;qt.prototype.place=void 0;qt.prototype.ruleId=void 0;qt.prototype.source=void 0;const by={}.hasOwnProperty,XI=new Map,WI=/[A-Z]/g,ZI=new Set(["table","tbody","thead","tfoot","tr"]),JI=new Set(["td","th"]),tR="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function ej(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const r=t.filePath||void 0;let o;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");o=sj(r,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");o=lj(r,t.jsx,t.jsxs)}const l={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:o,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:r,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?gy:HI,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},u=nR(l,e,void 0);return u&&typeof u!="string"?u:l.create(e,l.Fragment,{children:u||void 0},void 0)}a(ej,"toJsxRuntime");function nR(e,t,r){if(t.type==="element")return tj(e,t,r);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return nj(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return ij(e,t,r);if(t.type==="mdxjsEsm")return rj(e,t);if(t.type==="root")return oj(e,t,r);if(t.type==="text")return aj(e,t)}a(nR,"one$1");function tj(e,t,r){const o=e.schema;let l=o;t.tagName.toLowerCase()==="svg"&&o.space==="html"&&(l=gy,e.schema=l),e.ancestors.push(t);const u=iR(e,t.tagName,!1),c=uj(e,t);let d=xy(e,t);return ZI.has(t.tagName)&&(d=d.filter(function(p){return typeof p=="string"?!NI(p):!0})),rR(e,c,u,t),Sy(c,d),e.ancestors.pop(),e.schema=o,e.create(t,u,c,r)}a(tj,"element$1");function nj(e,t){if(t.data&&t.data.estree&&e.evaluater){const o=t.data.estree.body[0];return o.type,e.evaluater.evaluateExpression(o.expression)}os(e,t.position)}a(nj,"mdxExpression");function rj(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);os(e,t.position)}a(rj,"mdxEsm");function ij(e,t,r){const o=e.schema;let l=o;t.name==="svg"&&o.space==="html"&&(l=gy,e.schema=l),e.ancestors.push(t);const u=t.name===null?e.Fragment:iR(e,t.name,!0),c=cj(e,t),d=xy(e,t);return rR(e,c,u,t),Sy(c,d),e.ancestors.pop(),e.schema=o,e.create(t,u,c,r)}a(ij,"mdxJsxElement");function oj(e,t,r){const o={};return Sy(o,xy(e,t)),e.create(t,e.Fragment,o,r)}a(oj,"root$1");function aj(e,t){return t.value}a(aj,"text$3");function rR(e,t,r,o){typeof r!="string"&&r!==e.Fragment&&e.passNode&&(t.node=o)}a(rR,"addNode");function Sy(e,t){if(t.length>0){const r=t.length>1?t:t[0];r&&(e.children=r)}}a(Sy,"addChildren");function lj(e,t,r){return o;function o(l,u,c,d){const h=Array.isArray(c.children)?r:t;return d?h(u,c,d):h(u,c)}}a(lj,"productionCreate");function sj(e,t){return r;function r(o,l,u,c){const d=Array.isArray(u.children),p=vy(o);return t(l,u,c,d,{columnNumber:p?p.column-1:void 0,fileName:e,lineNumber:p?p.line:void 0},void 0)}}a(sj,"developmentCreate");function uj(e,t){const r={};let o,l;for(l in t.properties)if(l!=="children"&&by.call(t.properties,l)){const u=fj(e,l,t.properties[l]);if(u){const[c,d]=u;e.tableCellAlignToStyle&&c==="align"&&typeof d=="string"&&JI.has(t.tagName)?o=d:r[c]=d}}if(o){const u=r.style||(r.style={});u[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=o}return r}a(uj,"createElementProps");function cj(e,t){const r={};for(const o of t.attributes)if(o.type==="mdxJsxExpressionAttribute")if(o.data&&o.data.estree&&e.evaluater){const u=o.data.estree.body[0];u.type;const c=u.expression;c.type;const d=c.properties[0];d.type,Object.assign(r,e.evaluater.evaluateExpression(d.argument))}else os(e,t.position);else{const l=o.name;let u;if(o.value&&typeof o.value=="object")if(o.value.data&&o.value.data.estree&&e.evaluater){const d=o.value.data.estree.body[0];d.type,u=e.evaluater.evaluateExpression(d.expression)}else os(e,t.position);else u=o.value===null?!0:o.value;r[l]=u}return r}a(cj,"createJsxElementProps");function xy(e,t){const r=[];let o=-1;const l=e.passKeys?new Map:XI;for(;++o<t.children.length;){const u=t.children[o];let c;if(e.passKeys){const p=u.type==="element"?u.tagName:u.type==="mdxJsxFlowElement"||u.type==="mdxJsxTextElement"?u.name:void 0;if(p){const h=l.get(p)||0;c=p+"-"+h,l.set(p,h+1)}}const d=nR(e,u,c);d!==void 0&&r.push(d)}return r}a(xy,"createChildren");function fj(e,t,r){const o=jI(e.schema,t);if(!(r==null||typeof r=="number"&&Number.isNaN(r))){if(Array.isArray(r)&&(r=o.commaSeparated?RI(r):FI(r)),o.property==="style"){let l=typeof r=="object"?r:dj(e,String(r));return e.stylePropertyNameCase==="css"&&(l=pj(l)),["style",l]}return[e.elementAttributeNameCase==="react"&&o.space?LI[o.property]||o.property:o.attribute,r]}}a(fj,"createProperty");function dj(e,t){try{return KI(t,{reactCompat:!0})}catch(r){if(e.ignoreInvalidStyle)return{};const o=r,l=new qt("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:o,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw l.file=e.filePath||void 0,l.url=tR+"#cannot-parse-style-attribute",l}}a(dj,"parseStyle");function iR(e,t,r){let o;if(!r)o={type:"Literal",value:t};else if(t.includes(".")){const l=t.split(".");let u=-1,c;for(;++u<l.length;){const d=uS(l[u])?{type:"Identifier",name:l[u]}:{type:"Literal",value:l[u]};c=c?{type:"MemberExpression",object:c,property:d,computed:!!(u&&d.type==="Literal"),optional:!1}:d}o=c}else o=uS(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(o.type==="Literal"){const l=o.value;return by.call(e.components,l)?e.components[l]:l}if(e.evaluater)return e.evaluater.evaluateExpression(o);os(e)}a(iR,"findComponentFromName");function os(e,t){const r=new qt("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw r.file=e.filePath||void 0,r.url=tR+"#cannot-handle-mdx-estrees-without-createevaluater",r}a(os,"crashEstree");function pj(e){const t={};let r;for(r in e)by.call(e,r)&&(t[hj(r)]=e[r]);return t}a(pj,"transformStylesToCssCasing");function hj(e){let t=e.replace(WI,mj);return t.slice(0,3)==="ms-"&&(t="-"+t),t}a(hj,"transformStyleToCssCasing");function mj(e){return"-"+e.toLowerCase()}a(mj,"toDash");const ah={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},yj={};function gj(e,t){const r=yj,o=typeof r.includeImageAlt=="boolean"?r.includeImageAlt:!0,l=typeof r.includeHtml=="boolean"?r.includeHtml:!0;return oR(e,o,l)}a(gj,"toString$1");function oR(e,t,r){if(vj(e)){if("value"in e)return e.type==="html"&&!r?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return bS(e.children,t,r)}return Array.isArray(e)?bS(e,t,r):""}a(oR,"one");function bS(e,t,r){const o=[];let l=-1;for(;++l<e.length;)o[l]=oR(e[l],t,r);return o.join("")}a(bS,"all");function vj(e){return!!(e&&typeof e=="object")}a(vj,"node");const SS=document.createElement("i");function wy(e){const t="&"+e+";";SS.innerHTML=t;const r=SS.textContent;return r.charCodeAt(r.length-1)===59&&e!=="semi"||r===t?!1:r}a(wy,"decodeNamedCharacterReference");function gr(e,t,r,o){const l=e.length;let u=0,c;if(t<0?t=-t>l?0:l+t:t=t>l?l:t,r=r>0?r:0,o.length<1e4)c=Array.from(o),c.unshift(t,r),e.splice(...c);else for(r&&e.splice(t,r);u<o.length;)c=o.slice(u,u+1e4),c.unshift(t,0),e.splice(...c),u+=1e4,t+=1e4}a(gr,"splice");function Dn(e,t){return e.length>0?(gr(e,e.length,0,t),e):t}a(Dn,"push");const xS={}.hasOwnProperty;function bj(e){const t={};let r=-1;for(;++r<e.length;)Sj(t,e[r]);return t}a(bj,"combineExtensions");function Sj(e,t){let r;for(r in t){const l=(xS.call(e,r)?e[r]:void 0)||(e[r]={}),u=t[r];let c;if(u)for(c in u){xS.call(l,c)||(l[c]=[]);const d=u[c];xj(l[c],Array.isArray(d)?d:d?[d]:[])}}}a(Sj,"syntaxExtension");function xj(e,t){let r=-1;const o=[];for(;++r<t.length;)(t[r].add==="after"?e:o).push(t[r]);gr(e,0,0,o)}a(xj,"constructs");function aR(e,t){const r=Number.parseInt(e,t);return r<9||r===11||r>13&&r<32||r>126&&r<160||r>55295&&r<57344||r>64975&&r<65008||(r&65535)===65535||(r&65535)===65534||r>1114111?"�":String.fromCodePoint(r)}a(aR,"decodeNumericCharacterReference");function pa(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}a(pa,"normalizeIdentifier");const ur=_i(/[A-Za-z]/),bn=_i(/[\dA-Za-z]/),wj=_i(/[#-'*+\--9=?A-Z^-~]/);function am(e){return e!==null&&(e<32||e===127)}a(am,"asciiControl");const lm=_i(/\d/),Ej=_i(/[\dA-Fa-f]/),Cj=_i(/[!-/:-@[-`{-~]/);function De(e){return e!==null&&e<-2}a(De,"markdownLineEnding");function rn(e){return e!==null&&(e<0||e===32)}a(rn,"markdownLineEndingOrSpace");function We(e){return e===-2||e===-1||e===32}a(We,"markdownSpace");const Tj=_i(/\p{P}|\p{S}/u),Rj=_i(/\s/);function _i(e){return t;function t(r){return r!==null&&r>-1&&e.test(String.fromCharCode(r))}}a(_i,"regexCheck");function Pa(e){const t=[];let r=-1,o=0,l=0;for(;++r<e.length;){const u=e.charCodeAt(r);let c="";if(u===37&&bn(e.charCodeAt(r+1))&&bn(e.charCodeAt(r+2)))l=2;else if(u<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(u))||(c=String.fromCharCode(u));else if(u>55295&&u<57344){const d=e.charCodeAt(r+1);u<56320&&d>56319&&d<57344?(c=String.fromCharCode(u,d),l=1):c="�"}else c=String.fromCharCode(u);c&&(t.push(e.slice(o,r),encodeURIComponent(c)),o=r+l+1,c=""),l&&(r+=l,l=0)}return t.join("")+e.slice(o)}a(Pa,"normalizeUri");function st(e,t,r,o){const l=o?o-1:Number.POSITIVE_INFINITY;let u=0;return c;function c(p){return We(p)?(e.enter(r),d(p)):t(p)}function d(p){return We(p)&&u++<l?(e.consume(p),d):(e.exit(r),t(p))}}a(st,"factorySpace");const Oj={tokenize:Aj};function Aj(e){const t=e.attempt(this.parser.constructs.contentInitial,o,l);let r;return t;function o(d){if(d===null){e.consume(d);return}return e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),st(e,t,"linePrefix")}function l(d){return e.enter("paragraph"),u(d)}function u(d){const p=e.enter("chunkText",{contentType:"text",previous:r});return r&&(r.next=p),r=p,c(d)}function c(d){if(d===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(d);return}return De(d)?(e.consume(d),e.exit("chunkText"),u):(e.consume(d),c)}}a(Aj,"initializeContent");const _j={tokenize:Mj},wS={tokenize:Nj};function Mj(e){const t=this,r=[];let o=0,l,u,c;return d;function d(N){if(o<r.length){const L=r[o];return t.containerState=L[1],e.attempt(L[0].continuation,p,h)(N)}return h(N)}function p(N){if(o++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,l&&O();const L=t.events.length;let z=L,D;for(;z--;)if(t.events[z][0]==="exit"&&t.events[z][1].type==="chunkFlow"){D=t.events[z][1].end;break}C(o);let j=L;for(;j<t.events.length;)t.events[j][1].end={...D},j++;return gr(t.events,z+1,0,t.events.slice(L)),t.events.length=j,h(N)}return d(N)}function h(N){if(o===r.length){if(!l)return b(N);if(l.currentConstruct&&l.currentConstruct.concrete)return E(N);t.interrupt=!!(l.currentConstruct&&!l._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(wS,m,g)(N)}function m(N){return l&&O(),C(o),b(N)}function g(N){return t.parser.lazy[t.now().line]=o!==r.length,c=t.now().offset,E(N)}function b(N){return t.containerState={},e.attempt(wS,S,E)(N)}function S(N){return o++,r.push([t.currentConstruct,t.containerState]),b(N)}function E(N){if(N===null){l&&O(),C(0),e.consume(N);return}return l=l||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:l,contentType:"flow",previous:u}),w(N)}function w(N){if(N===null){R(e.exit("chunkFlow"),!0),C(0),e.consume(N);return}return De(N)?(e.consume(N),R(e.exit("chunkFlow")),o=0,t.interrupt=void 0,d):(e.consume(N),w)}function R(N,L){const z=t.sliceStream(N);if(L&&z.push(null),N.previous=u,u&&(u.next=N),u=N,l.defineSkip(N.start),l.write(z),t.parser.lazy[N.start.line]){let D=l.events.length;for(;D--;)if(l.events[D][1].start.offset<c&&(!l.events[D][1].end||l.events[D][1].end.offset>c))return;const j=t.events.length;let G=j,Y,J;for(;G--;)if(t.events[G][0]==="exit"&&t.events[G][1].type==="chunkFlow"){if(Y){J=t.events[G][1].end;break}Y=!0}for(C(o),D=j;D<t.events.length;)t.events[D][1].end={...J},D++;gr(t.events,G+1,0,t.events.slice(j)),t.events.length=D}}function C(N){let L=r.length;for(;L-- >N;){const z=r[L];t.containerState=z[1],z[0].exit.call(t,e)}r.length=N}function O(){l.write([null]),u=void 0,l=void 0,t.containerState._closeFlow=void 0}}a(Mj,"initializeDocument");function Nj(e,t,r){return st(e,e.attempt(this.parser.constructs.document,t,r),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}a(Nj,"tokenizeContainer");function ES(e){if(e===null||rn(e)||Rj(e))return 1;if(Tj(e))return 2}a(ES,"classifyCharacter");function Ey(e,t,r){const o=[];let l=-1;for(;++l<e.length;){const u=e[l].resolveAll;u&&!o.includes(u)&&(t=u(t,r),o.push(u))}return t}a(Ey,"resolveAll");const sm={name:"attention",resolveAll:kj,tokenize:Dj};function kj(e,t){let r=-1,o,l,u,c,d,p,h,m;for(;++r<e.length;)if(e[r][0]==="enter"&&e[r][1].type==="attentionSequence"&&e[r][1]._close){for(o=r;o--;)if(e[o][0]==="exit"&&e[o][1].type==="attentionSequence"&&e[o][1]._open&&t.sliceSerialize(e[o][1]).charCodeAt(0)===t.sliceSerialize(e[r][1]).charCodeAt(0)){if((e[o][1]._close||e[r][1]._open)&&(e[r][1].end.offset-e[r][1].start.offset)%3&&!((e[o][1].end.offset-e[o][1].start.offset+e[r][1].end.offset-e[r][1].start.offset)%3))continue;p=e[o][1].end.offset-e[o][1].start.offset>1&&e[r][1].end.offset-e[r][1].start.offset>1?2:1;const g={...e[o][1].end},b={...e[r][1].start};CS(g,-p),CS(b,p),c={type:p>1?"strongSequence":"emphasisSequence",start:g,end:{...e[o][1].end}},d={type:p>1?"strongSequence":"emphasisSequence",start:{...e[r][1].start},end:b},u={type:p>1?"strongText":"emphasisText",start:{...e[o][1].end},end:{...e[r][1].start}},l={type:p>1?"strong":"emphasis",start:{...c.start},end:{...d.end}},e[o][1].end={...c.start},e[r][1].start={...d.end},h=[],e[o][1].end.offset-e[o][1].start.offset&&(h=Dn(h,[["enter",e[o][1],t],["exit",e[o][1],t]])),h=Dn(h,[["enter",l,t],["enter",c,t],["exit",c,t],["enter",u,t]]),h=Dn(h,Ey(t.parser.constructs.insideSpan.null,e.slice(o+1,r),t)),h=Dn(h,[["exit",u,t],["enter",d,t],["exit",d,t],["exit",l,t]]),e[r][1].end.offset-e[r][1].start.offset?(m=2,h=Dn(h,[["enter",e[r][1],t],["exit",e[r][1],t]])):m=0,gr(e,o-1,r-o+3,h),r=o+h.length-m-2;break}}for(r=-1;++r<e.length;)e[r][1].type==="attentionSequence"&&(e[r][1].type="data");return e}a(kj,"resolveAllAttention");function Dj(e,t){const r=this.parser.constructs.attentionMarkers.null,o=this.previous,l=ES(o);let u;return c;function c(p){return u=p,e.enter("attentionSequence"),d(p)}function d(p){if(p===u)return e.consume(p),d;const h=e.exit("attentionSequence"),m=ES(p),g=!m||m===2&&l||r.includes(p),b=!l||l===2&&m||r.includes(o);return h._open=!!(u===42?g:g&&(l||!b)),h._close=!!(u===42?b:b&&(m||!g)),t(p)}}a(Dj,"tokenizeAttention");function CS(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}a(CS,"movePoint");const Pj={name:"autolink",tokenize:Lj};function Lj(e,t,r){let o=0;return l;function l(S){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(S),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),u}function u(S){return ur(S)?(e.consume(S),c):S===64?r(S):h(S)}function c(S){return S===43||S===45||S===46||bn(S)?(o=1,d(S)):h(S)}function d(S){return S===58?(e.consume(S),o=0,p):(S===43||S===45||S===46||bn(S))&&o++<32?(e.consume(S),d):(o=0,h(S))}function p(S){return S===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(S),e.exit("autolinkMarker"),e.exit("autolink"),t):S===null||S===32||S===60||am(S)?r(S):(e.consume(S),p)}function h(S){return S===64?(e.consume(S),m):wj(S)?(e.consume(S),h):r(S)}function m(S){return bn(S)?g(S):r(S)}function g(S){return S===46?(e.consume(S),o=0,m):S===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(S),e.exit("autolinkMarker"),e.exit("autolink"),t):b(S)}function b(S){if((S===45||bn(S))&&o++<63){const E=S===45?b:g;return e.consume(S),E}return r(S)}}a(Lj,"tokenizeAutolink");const of={partial:!0,tokenize:zj};function zj(e,t,r){return o;function o(u){return We(u)?st(e,l,"linePrefix")(u):l(u)}function l(u){return u===null||De(u)?t(u):r(u)}}a(zj,"tokenizeBlankLine");const lR={continuation:{tokenize:jj},exit:Uj,name:"blockQuote",tokenize:Ij};function Ij(e,t,r){const o=this;return l;function l(c){if(c===62){const d=o.containerState;return d.open||(e.enter("blockQuote",{_container:!0}),d.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(c),e.exit("blockQuoteMarker"),u}return r(c)}function u(c){return We(c)?(e.enter("blockQuotePrefixWhitespace"),e.consume(c),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(c))}}a(Ij,"tokenizeBlockQuoteStart");function jj(e,t,r){const o=this;return l;function l(c){return We(c)?st(e,u,"linePrefix",o.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(c):u(c)}function u(c){return e.attempt(lR,t,r)(c)}}a(jj,"tokenizeBlockQuoteContinuation");function Uj(e){e.exit("blockQuote")}a(Uj,"exit");const sR={name:"characterEscape",tokenize:Bj};function Bj(e,t,r){return o;function o(u){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(u),e.exit("escapeMarker"),l}function l(u){return Cj(u)?(e.enter("characterEscapeValue"),e.consume(u),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):r(u)}}a(Bj,"tokenizeCharacterEscape");const uR={name:"characterReference",tokenize:Hj};function Hj(e,t,r){const o=this;let l=0,u,c;return d;function d(g){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(g),e.exit("characterReferenceMarker"),p}function p(g){return g===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(g),e.exit("characterReferenceMarkerNumeric"),h):(e.enter("characterReferenceValue"),u=31,c=bn,m(g))}function h(g){return g===88||g===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(g),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),u=6,c=Ej,m):(e.enter("characterReferenceValue"),u=7,c=lm,m(g))}function m(g){if(g===59&&l){const b=e.exit("characterReferenceValue");return c===bn&&!wy(o.sliceSerialize(b))?r(g):(e.enter("characterReferenceMarker"),e.consume(g),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return c(g)&&l++<u?(e.consume(g),m):r(g)}}a(Hj,"tokenizeCharacterReference");const TS={partial:!0,tokenize:qj},RS={concrete:!0,name:"codeFenced",tokenize:Fj};function Fj(e,t,r){const o=this,l={partial:!0,tokenize:z};let u=0,c=0,d;return p;function p(D){return h(D)}function h(D){const j=o.events[o.events.length-1];return u=j&&j[1].type==="linePrefix"?j[2].sliceSerialize(j[1],!0).length:0,d=D,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),m(D)}function m(D){return D===d?(c++,e.consume(D),m):c<3?r(D):(e.exit("codeFencedFenceSequence"),We(D)?st(e,g,"whitespace")(D):g(D))}function g(D){return D===null||De(D)?(e.exit("codeFencedFence"),o.interrupt?t(D):e.check(TS,w,L)(D)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),b(D))}function b(D){return D===null||De(D)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),g(D)):We(D)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),st(e,S,"whitespace")(D)):D===96&&D===d?r(D):(e.consume(D),b)}function S(D){return D===null||De(D)?g(D):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),E(D))}function E(D){return D===null||De(D)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),g(D)):D===96&&D===d?r(D):(e.consume(D),E)}function w(D){return e.attempt(l,L,R)(D)}function R(D){return e.enter("lineEnding"),e.consume(D),e.exit("lineEnding"),C}function C(D){return u>0&&We(D)?st(e,O,"linePrefix",u+1)(D):O(D)}function O(D){return D===null||De(D)?e.check(TS,w,L)(D):(e.enter("codeFlowValue"),N(D))}function N(D){return D===null||De(D)?(e.exit("codeFlowValue"),O(D)):(e.consume(D),N)}function L(D){return e.exit("codeFenced"),t(D)}function z(D,j,G){let Y=0;return J;function J(te){return D.enter("lineEnding"),D.consume(te),D.exit("lineEnding"),X}function X(te){return D.enter("codeFencedFence"),We(te)?st(D,Z,"linePrefix",o.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(te):Z(te)}function Z(te){return te===d?(D.enter("codeFencedFenceSequence"),ce(te)):G(te)}function ce(te){return te===d?(Y++,D.consume(te),ce):Y>=c?(D.exit("codeFencedFenceSequence"),We(te)?st(D,q,"whitespace")(te):q(te)):G(te)}function q(te){return te===null||De(te)?(D.exit("codeFencedFence"),j(te)):G(te)}}}a(Fj,"tokenizeCodeFenced");function qj(e,t,r){const o=this;return l;function l(c){return c===null?r(c):(e.enter("lineEnding"),e.consume(c),e.exit("lineEnding"),u)}function u(c){return o.parser.lazy[o.now().line]?r(c):t(c)}}a(qj,"tokenizeNonLazyContinuation");const lh={name:"codeIndented",tokenize:Vj},$j={partial:!0,tokenize:Gj};function Vj(e,t,r){const o=this;return l;function l(h){return e.enter("codeIndented"),st(e,u,"linePrefix",5)(h)}function u(h){const m=o.events[o.events.length-1];return m&&m[1].type==="linePrefix"&&m[2].sliceSerialize(m[1],!0).length>=4?c(h):r(h)}function c(h){return h===null?p(h):De(h)?e.attempt($j,c,p)(h):(e.enter("codeFlowValue"),d(h))}function d(h){return h===null||De(h)?(e.exit("codeFlowValue"),c(h)):(e.consume(h),d)}function p(h){return e.exit("codeIndented"),t(h)}}a(Vj,"tokenizeCodeIndented");function Gj(e,t,r){const o=this;return l;function l(c){return o.parser.lazy[o.now().line]?r(c):De(c)?(e.enter("lineEnding"),e.consume(c),e.exit("lineEnding"),l):st(e,u,"linePrefix",5)(c)}function u(c){const d=o.events[o.events.length-1];return d&&d[1].type==="linePrefix"&&d[2].sliceSerialize(d[1],!0).length>=4?t(c):De(c)?l(c):r(c)}}a(Gj,"tokenizeFurtherStart");const Yj={name:"codeText",previous:Qj,resolve:Kj,tokenize:Xj};function Kj(e){let t=e.length-4,r=3,o,l;if((e[r][1].type==="lineEnding"||e[r][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(o=r;++o<t;)if(e[o][1].type==="codeTextData"){e[r][1].type="codeTextPadding",e[t][1].type="codeTextPadding",r+=2,t-=2;break}}for(o=r-1,t++;++o<=t;)l===void 0?o!==t&&e[o][1].type!=="lineEnding"&&(l=o):(o===t||e[o][1].type==="lineEnding")&&(e[l][1].type="codeTextData",o!==l+2&&(e[l][1].end=e[o-1][1].end,e.splice(l+2,o-l-2),t-=o-l-2,o=l+2),l=void 0);return e}a(Kj,"resolveCodeText");function Qj(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}a(Qj,"previous");function Xj(e,t,r){let o=0,l,u;return c;function c(g){return e.enter("codeText"),e.enter("codeTextSequence"),d(g)}function d(g){return g===96?(e.consume(g),o++,d):(e.exit("codeTextSequence"),p(g))}function p(g){return g===null?r(g):g===32?(e.enter("space"),e.consume(g),e.exit("space"),p):g===96?(u=e.enter("codeTextSequence"),l=0,m(g)):De(g)?(e.enter("lineEnding"),e.consume(g),e.exit("lineEnding"),p):(e.enter("codeTextData"),h(g))}function h(g){return g===null||g===32||g===96||De(g)?(e.exit("codeTextData"),p(g)):(e.consume(g),h)}function m(g){return g===96?(e.consume(g),l++,m):l===o?(e.exit("codeTextSequence"),e.exit("codeText"),t(g)):(u.type="codeTextData",h(g))}}a(Xj,"tokenizeCodeText");class Wj{static{a(this,"SpliceBuffer")}constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,r){const o=r??Number.POSITIVE_INFINITY;return o<this.left.length?this.left.slice(t,o):t>this.left.length?this.right.slice(this.right.length-o+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-o+this.left.length).reverse())}splice(t,r,o){const l=r||0;this.setCursor(Math.trunc(t));const u=this.right.splice(this.right.length-l,Number.POSITIVE_INFINITY);return o&&Bl(this.left,o),u.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),Bl(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),Bl(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){const r=this.left.splice(t,Number.POSITIVE_INFINITY);Bl(this.right,r.reverse())}else{const r=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);Bl(this.left,r.reverse())}}}function Bl(e,t){let r=0;if(t.length<1e4)e.push(...t);else for(;r<t.length;)e.push(...t.slice(r,r+1e4)),r+=1e4}a(Bl,"chunkedPush");function cR(e){const t={};let r=-1,o,l,u,c,d,p,h;const m=new Wj(e);for(;++r<m.length;){for(;r in t;)r=t[r];if(o=m.get(r),r&&o[1].type==="chunkFlow"&&m.get(r-1)[1].type==="listItemPrefix"&&(p=o[1]._tokenizer.events,u=0,u<p.length&&p[u][1].type==="lineEndingBlank"&&(u+=2),u<p.length&&p[u][1].type==="content"))for(;++u<p.length&&p[u][1].type!=="content";)p[u][1].type==="chunkText"&&(p[u][1]._isInFirstContentOfListItem=!0,u++);if(o[0]==="enter")o[1].contentType&&(Object.assign(t,Zj(m,r)),r=t[r],h=!0);else if(o[1]._container){for(u=r,l=void 0;u--;)if(c=m.get(u),c[1].type==="lineEnding"||c[1].type==="lineEndingBlank")c[0]==="enter"&&(l&&(m.get(l)[1].type="lineEndingBlank"),c[1].type="lineEnding",l=u);else if(!(c[1].type==="linePrefix"||c[1].type==="listItemIndent"))break;l&&(o[1].end={...m.get(l)[1].start},d=m.slice(l,r),d.unshift(o),m.splice(l,r-l+1,d))}}return gr(e,0,Number.POSITIVE_INFINITY,m.slice(0)),!h}a(cR,"subtokenize");function Zj(e,t){const r=e.get(t)[1],o=e.get(t)[2];let l=t-1;const u=[];let c=r._tokenizer;c||(c=o.parser[r.contentType](r.start),r._contentTypeTextTrailing&&(c._contentTypeTextTrailing=!0));const d=c.events,p=[],h={};let m,g,b=-1,S=r,E=0,w=0;const R=[w];for(;S;){for(;e.get(++l)[1]!==S;);u.push(l),S._tokenizer||(m=o.sliceStream(S),S.next||m.push(null),g&&c.defineSkip(S.start),S._isInFirstContentOfListItem&&(c._gfmTasklistFirstContentOfListItem=!0),c.write(m),S._isInFirstContentOfListItem&&(c._gfmTasklistFirstContentOfListItem=void 0)),g=S,S=S.next}for(S=r;++b<d.length;)d[b][0]==="exit"&&d[b-1][0]==="enter"&&d[b][1].type===d[b-1][1].type&&d[b][1].start.line!==d[b][1].end.line&&(w=b+1,R.push(w),S._tokenizer=void 0,S.previous=void 0,S=S.next);for(c.events=[],S?(S._tokenizer=void 0,S.previous=void 0):R.pop(),b=R.length;b--;){const C=d.slice(R[b],R[b+1]),O=u.pop();p.push([O,O+C.length-1]),e.splice(O,2,C)}for(p.reverse(),b=-1;++b<p.length;)h[E+p[b][0]]=E+p[b][1],E+=p[b][1]-p[b][0]-1;return h}a(Zj,"subcontent");const Jj={resolve:t9,tokenize:n9},e9={partial:!0,tokenize:r9};function t9(e){return cR(e),e}a(t9,"resolveContent");function n9(e,t){let r;return o;function o(d){return e.enter("content"),r=e.enter("chunkContent",{contentType:"content"}),l(d)}function l(d){return d===null?u(d):De(d)?e.check(e9,c,u)(d):(e.consume(d),l)}function u(d){return e.exit("chunkContent"),e.exit("content"),t(d)}function c(d){return e.consume(d),e.exit("chunkContent"),r.next=e.enter("chunkContent",{contentType:"content",previous:r}),r=r.next,l}}a(n9,"tokenizeContent");function r9(e,t,r){const o=this;return l;function l(c){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(c),e.exit("lineEnding"),st(e,u,"linePrefix")}function u(c){if(c===null||De(c))return r(c);const d=o.events[o.events.length-1];return!o.parser.constructs.disable.null.includes("codeIndented")&&d&&d[1].type==="linePrefix"&&d[2].sliceSerialize(d[1],!0).length>=4?t(c):e.interrupt(o.parser.constructs.flow,r,t)(c)}}a(r9,"tokenizeContinuation");function fR(e,t,r,o,l,u,c,d,p){const h=p||Number.POSITIVE_INFINITY;let m=0;return g;function g(C){return C===60?(e.enter(o),e.enter(l),e.enter(u),e.consume(C),e.exit(u),b):C===null||C===32||C===41||am(C)?r(C):(e.enter(o),e.enter(c),e.enter(d),e.enter("chunkString",{contentType:"string"}),w(C))}function b(C){return C===62?(e.enter(u),e.consume(C),e.exit(u),e.exit(l),e.exit(o),t):(e.enter(d),e.enter("chunkString",{contentType:"string"}),S(C))}function S(C){return C===62?(e.exit("chunkString"),e.exit(d),b(C)):C===null||C===60||De(C)?r(C):(e.consume(C),C===92?E:S)}function E(C){return C===60||C===62||C===92?(e.consume(C),S):S(C)}function w(C){return!m&&(C===null||C===41||rn(C))?(e.exit("chunkString"),e.exit(d),e.exit(c),e.exit(o),t(C)):m<h&&C===40?(e.consume(C),m++,w):C===41?(e.consume(C),m--,w):C===null||C===32||C===40||am(C)?r(C):(e.consume(C),C===92?R:w)}function R(C){return C===40||C===41||C===92?(e.consume(C),w):w(C)}}a(fR,"factoryDestination");function dR(e,t,r,o,l,u){const c=this;let d=0,p;return h;function h(S){return e.enter(o),e.enter(l),e.consume(S),e.exit(l),e.enter(u),m}function m(S){return d>999||S===null||S===91||S===93&&!p||S===94&&!d&&"_hiddenFootnoteSupport"in c.parser.constructs?r(S):S===93?(e.exit(u),e.enter(l),e.consume(S),e.exit(l),e.exit(o),t):De(S)?(e.enter("lineEnding"),e.consume(S),e.exit("lineEnding"),m):(e.enter("chunkString",{contentType:"string"}),g(S))}function g(S){return S===null||S===91||S===93||De(S)||d++>999?(e.exit("chunkString"),m(S)):(e.consume(S),p||(p=!We(S)),S===92?b:g)}function b(S){return S===91||S===92||S===93?(e.consume(S),d++,g):g(S)}}a(dR,"factoryLabel");function pR(e,t,r,o,l,u){let c;return d;function d(b){return b===34||b===39||b===40?(e.enter(o),e.enter(l),e.consume(b),e.exit(l),c=b===40?41:b,p):r(b)}function p(b){return b===c?(e.enter(l),e.consume(b),e.exit(l),e.exit(o),t):(e.enter(u),h(b))}function h(b){return b===c?(e.exit(u),p(c)):b===null?r(b):De(b)?(e.enter("lineEnding"),e.consume(b),e.exit("lineEnding"),st(e,h,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),m(b))}function m(b){return b===c||b===null||De(b)?(e.exit("chunkString"),h(b)):(e.consume(b),b===92?g:m)}function g(b){return b===c||b===92?(e.consume(b),m):m(b)}}a(pR,"factoryTitle");function Kl(e,t){let r;return o;function o(l){return De(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),r=!0,o):We(l)?st(e,o,r?"linePrefix":"lineSuffix")(l):t(l)}}a(Kl,"factoryWhitespace");const i9={name:"definition",tokenize:a9},o9={partial:!0,tokenize:l9};function a9(e,t,r){const o=this;let l;return u;function u(S){return e.enter("definition"),c(S)}function c(S){return dR.call(o,e,d,r,"definitionLabel","definitionLabelMarker","definitionLabelString")(S)}function d(S){return l=pa(o.sliceSerialize(o.events[o.events.length-1][1]).slice(1,-1)),S===58?(e.enter("definitionMarker"),e.consume(S),e.exit("definitionMarker"),p):r(S)}function p(S){return rn(S)?Kl(e,h)(S):h(S)}function h(S){return fR(e,m,r,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(S)}function m(S){return e.attempt(o9,g,g)(S)}function g(S){return We(S)?st(e,b,"whitespace")(S):b(S)}function b(S){return S===null||De(S)?(e.exit("definition"),o.parser.defined.push(l),t(S)):r(S)}}a(a9,"tokenizeDefinition");function l9(e,t,r){return o;function o(d){return rn(d)?Kl(e,l)(d):r(d)}function l(d){return pR(e,u,r,"definitionTitle","definitionTitleMarker","definitionTitleString")(d)}function u(d){return We(d)?st(e,c,"whitespace")(d):c(d)}function c(d){return d===null||De(d)?t(d):r(d)}}a(l9,"tokenizeTitleBefore");const s9={name:"hardBreakEscape",tokenize:u9};function u9(e,t,r){return o;function o(u){return e.enter("hardBreakEscape"),e.consume(u),l}function l(u){return De(u)?(e.exit("hardBreakEscape"),t(u)):r(u)}}a(u9,"tokenizeHardBreakEscape");const c9={name:"headingAtx",resolve:f9,tokenize:d9};function f9(e,t){let r=e.length-2,o=3,l,u;return e[o][1].type==="whitespace"&&(o+=2),r-2>o&&e[r][1].type==="whitespace"&&(r-=2),e[r][1].type==="atxHeadingSequence"&&(o===r-1||r-4>o&&e[r-2][1].type==="whitespace")&&(r-=o+1===r?2:4),r>o&&(l={type:"atxHeadingText",start:e[o][1].start,end:e[r][1].end},u={type:"chunkText",start:e[o][1].start,end:e[r][1].end,contentType:"text"},gr(e,o,r-o+1,[["enter",l,t],["enter",u,t],["exit",u,t],["exit",l,t]])),e}a(f9,"resolveHeadingAtx");function d9(e,t,r){let o=0;return l;function l(m){return e.enter("atxHeading"),u(m)}function u(m){return e.enter("atxHeadingSequence"),c(m)}function c(m){return m===35&&o++<6?(e.consume(m),c):m===null||rn(m)?(e.exit("atxHeadingSequence"),d(m)):r(m)}function d(m){return m===35?(e.enter("atxHeadingSequence"),p(m)):m===null||De(m)?(e.exit("atxHeading"),t(m)):We(m)?st(e,d,"whitespace")(m):(e.enter("atxHeadingText"),h(m))}function p(m){return m===35?(e.consume(m),p):(e.exit("atxHeadingSequence"),d(m))}function h(m){return m===null||m===35||rn(m)?(e.exit("atxHeadingText"),d(m)):(e.consume(m),h)}}a(d9,"tokenizeHeadingAtx");const p9=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],OS=["pre","script","style","textarea"],h9={concrete:!0,name:"htmlFlow",resolveTo:g9,tokenize:v9},m9={partial:!0,tokenize:S9},y9={partial:!0,tokenize:b9};function g9(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}a(g9,"resolveToHtmlFlow");function v9(e,t,r){const o=this;let l,u,c,d,p;return h;function h(_){return m(_)}function m(_){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(_),g}function g(_){return _===33?(e.consume(_),b):_===47?(e.consume(_),u=!0,w):_===63?(e.consume(_),l=3,o.interrupt?t:A):ur(_)?(e.consume(_),c=String.fromCharCode(_),R):r(_)}function b(_){return _===45?(e.consume(_),l=2,S):_===91?(e.consume(_),l=5,d=0,E):ur(_)?(e.consume(_),l=4,o.interrupt?t:A):r(_)}function S(_){return _===45?(e.consume(_),o.interrupt?t:A):r(_)}function E(_){const re="CDATA[";return _===re.charCodeAt(d++)?(e.consume(_),d===re.length?o.interrupt?t:Z:E):r(_)}function w(_){return ur(_)?(e.consume(_),c=String.fromCharCode(_),R):r(_)}function R(_){if(_===null||_===47||_===62||rn(_)){const re=_===47,me=c.toLowerCase();return!re&&!u&&OS.includes(me)?(l=1,o.interrupt?t(_):Z(_)):p9.includes(c.toLowerCase())?(l=6,re?(e.consume(_),C):o.interrupt?t(_):Z(_)):(l=7,o.interrupt&&!o.parser.lazy[o.now().line]?r(_):u?O(_):N(_))}return _===45||bn(_)?(e.consume(_),c+=String.fromCharCode(_),R):r(_)}function C(_){return _===62?(e.consume(_),o.interrupt?t:Z):r(_)}function O(_){return We(_)?(e.consume(_),O):J(_)}function N(_){return _===47?(e.consume(_),J):_===58||_===95||ur(_)?(e.consume(_),L):We(_)?(e.consume(_),N):J(_)}function L(_){return _===45||_===46||_===58||_===95||bn(_)?(e.consume(_),L):z(_)}function z(_){return _===61?(e.consume(_),D):We(_)?(e.consume(_),z):N(_)}function D(_){return _===null||_===60||_===61||_===62||_===96?r(_):_===34||_===39?(e.consume(_),p=_,j):We(_)?(e.consume(_),D):G(_)}function j(_){return _===p?(e.consume(_),p=null,Y):_===null||De(_)?r(_):(e.consume(_),j)}function G(_){return _===null||_===34||_===39||_===47||_===60||_===61||_===62||_===96||rn(_)?z(_):(e.consume(_),G)}function Y(_){return _===47||_===62||We(_)?N(_):r(_)}function J(_){return _===62?(e.consume(_),X):r(_)}function X(_){return _===null||De(_)?Z(_):We(_)?(e.consume(_),X):r(_)}function Z(_){return _===45&&l===2?(e.consume(_),I):_===60&&l===1?(e.consume(_),W):_===62&&l===4?(e.consume(_),K):_===63&&l===3?(e.consume(_),A):_===93&&l===5?(e.consume(_),se):De(_)&&(l===6||l===7)?(e.exit("htmlFlowData"),e.check(m9,de,ce)(_)):_===null||De(_)?(e.exit("htmlFlowData"),ce(_)):(e.consume(_),Z)}function ce(_){return e.check(y9,q,de)(_)}function q(_){return e.enter("lineEnding"),e.consume(_),e.exit("lineEnding"),te}function te(_){return _===null||De(_)?ce(_):(e.enter("htmlFlowData"),Z(_))}function I(_){return _===45?(e.consume(_),A):Z(_)}function W(_){return _===47?(e.consume(_),c="",ne):Z(_)}function ne(_){if(_===62){const re=c.toLowerCase();return OS.includes(re)?(e.consume(_),K):Z(_)}return ur(_)&&c.length<8?(e.consume(_),c+=String.fromCharCode(_),ne):Z(_)}function se(_){return _===93?(e.consume(_),A):Z(_)}function A(_){return _===62?(e.consume(_),K):_===45&&l===2?(e.consume(_),A):Z(_)}function K(_){return _===null||De(_)?(e.exit("htmlFlowData"),de(_)):(e.consume(_),K)}function de(_){return e.exit("htmlFlow"),t(_)}}a(v9,"tokenizeHtmlFlow");function b9(e,t,r){const o=this;return l;function l(c){return De(c)?(e.enter("lineEnding"),e.consume(c),e.exit("lineEnding"),u):r(c)}function u(c){return o.parser.lazy[o.now().line]?r(c):t(c)}}a(b9,"tokenizeNonLazyContinuationStart");function S9(e,t,r){return o;function o(l){return e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),e.attempt(of,t,r)}}a(S9,"tokenizeBlankLineBefore");const x9={name:"htmlText",tokenize:w9};function w9(e,t,r){const o=this;let l,u,c;return d;function d(A){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(A),p}function p(A){return A===33?(e.consume(A),h):A===47?(e.consume(A),z):A===63?(e.consume(A),N):ur(A)?(e.consume(A),G):r(A)}function h(A){return A===45?(e.consume(A),m):A===91?(e.consume(A),u=0,E):ur(A)?(e.consume(A),O):r(A)}function m(A){return A===45?(e.consume(A),S):r(A)}function g(A){return A===null?r(A):A===45?(e.consume(A),b):De(A)?(c=g,W(A)):(e.consume(A),g)}function b(A){return A===45?(e.consume(A),S):g(A)}function S(A){return A===62?I(A):A===45?b(A):g(A)}function E(A){const K="CDATA[";return A===K.charCodeAt(u++)?(e.consume(A),u===K.length?w:E):r(A)}function w(A){return A===null?r(A):A===93?(e.consume(A),R):De(A)?(c=w,W(A)):(e.consume(A),w)}function R(A){return A===93?(e.consume(A),C):w(A)}function C(A){return A===62?I(A):A===93?(e.consume(A),C):w(A)}function O(A){return A===null||A===62?I(A):De(A)?(c=O,W(A)):(e.consume(A),O)}function N(A){return A===null?r(A):A===63?(e.consume(A),L):De(A)?(c=N,W(A)):(e.consume(A),N)}function L(A){return A===62?I(A):N(A)}function z(A){return ur(A)?(e.consume(A),D):r(A)}function D(A){return A===45||bn(A)?(e.consume(A),D):j(A)}function j(A){return De(A)?(c=j,W(A)):We(A)?(e.consume(A),j):I(A)}function G(A){return A===45||bn(A)?(e.consume(A),G):A===47||A===62||rn(A)?Y(A):r(A)}function Y(A){return A===47?(e.consume(A),I):A===58||A===95||ur(A)?(e.consume(A),J):De(A)?(c=Y,W(A)):We(A)?(e.consume(A),Y):I(A)}function J(A){return A===45||A===46||A===58||A===95||bn(A)?(e.consume(A),J):X(A)}function X(A){return A===61?(e.consume(A),Z):De(A)?(c=X,W(A)):We(A)?(e.consume(A),X):Y(A)}function Z(A){return A===null||A===60||A===61||A===62||A===96?r(A):A===34||A===39?(e.consume(A),l=A,ce):De(A)?(c=Z,W(A)):We(A)?(e.consume(A),Z):(e.consume(A),q)}function ce(A){return A===l?(e.consume(A),l=void 0,te):A===null?r(A):De(A)?(c=ce,W(A)):(e.consume(A),ce)}function q(A){return A===null||A===34||A===39||A===60||A===61||A===96?r(A):A===47||A===62||rn(A)?Y(A):(e.consume(A),q)}function te(A){return A===47||A===62||rn(A)?Y(A):r(A)}function I(A){return A===62?(e.consume(A),e.exit("htmlTextData"),e.exit("htmlText"),t):r(A)}function W(A){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(A),e.exit("lineEnding"),ne}function ne(A){return We(A)?st(e,se,"linePrefix",o.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(A):se(A)}function se(A){return e.enter("htmlTextData"),c(A)}}a(w9,"tokenizeHtmlText");const Cy={name:"labelEnd",resolveAll:R9,resolveTo:O9,tokenize:A9},E9={tokenize:_9},C9={tokenize:M9},T9={tokenize:N9};function R9(e){let t=-1;const r=[];for(;++t<e.length;){const o=e[t][1];if(r.push(e[t]),o.type==="labelImage"||o.type==="labelLink"||o.type==="labelEnd"){const l=o.type==="labelImage"?4:2;o.type="data",t+=l}}return e.length!==r.length&&gr(e,0,e.length,r),e}a(R9,"resolveAllLabelEnd");function O9(e,t){let r=e.length,o=0,l,u,c,d;for(;r--;)if(l=e[r][1],u){if(l.type==="link"||l.type==="labelLink"&&l._inactive)break;e[r][0]==="enter"&&l.type==="labelLink"&&(l._inactive=!0)}else if(c){if(e[r][0]==="enter"&&(l.type==="labelImage"||l.type==="labelLink")&&!l._balanced&&(u=r,l.type!=="labelLink")){o=2;break}}else l.type==="labelEnd"&&(c=r);const p={type:e[u][1].type==="labelLink"?"link":"image",start:{...e[u][1].start},end:{...e[e.length-1][1].end}},h={type:"label",start:{...e[u][1].start},end:{...e[c][1].end}},m={type:"labelText",start:{...e[u+o+2][1].end},end:{...e[c-2][1].start}};return d=[["enter",p,t],["enter",h,t]],d=Dn(d,e.slice(u+1,u+o+3)),d=Dn(d,[["enter",m,t]]),d=Dn(d,Ey(t.parser.constructs.insideSpan.null,e.slice(u+o+4,c-3),t)),d=Dn(d,[["exit",m,t],e[c-2],e[c-1],["exit",h,t]]),d=Dn(d,e.slice(c+1)),d=Dn(d,[["exit",p,t]]),gr(e,u,e.length,d),e}a(O9,"resolveToLabelEnd");function A9(e,t,r){const o=this;let l=o.events.length,u,c;for(;l--;)if((o.events[l][1].type==="labelImage"||o.events[l][1].type==="labelLink")&&!o.events[l][1]._balanced){u=o.events[l][1];break}return d;function d(b){return u?u._inactive?g(b):(c=o.parser.defined.includes(pa(o.sliceSerialize({start:u.end,end:o.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(b),e.exit("labelMarker"),e.exit("labelEnd"),p):r(b)}function p(b){return b===40?e.attempt(E9,m,c?m:g)(b):b===91?e.attempt(C9,m,c?h:g)(b):c?m(b):g(b)}function h(b){return e.attempt(T9,m,g)(b)}function m(b){return t(b)}function g(b){return u._balanced=!0,r(b)}}a(A9,"tokenizeLabelEnd");function _9(e,t,r){return o;function o(g){return e.enter("resource"),e.enter("resourceMarker"),e.consume(g),e.exit("resourceMarker"),l}function l(g){return rn(g)?Kl(e,u)(g):u(g)}function u(g){return g===41?m(g):fR(e,c,d,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(g)}function c(g){return rn(g)?Kl(e,p)(g):m(g)}function d(g){return r(g)}function p(g){return g===34||g===39||g===40?pR(e,h,r,"resourceTitle","resourceTitleMarker","resourceTitleString")(g):m(g)}function h(g){return rn(g)?Kl(e,m)(g):m(g)}function m(g){return g===41?(e.enter("resourceMarker"),e.consume(g),e.exit("resourceMarker"),e.exit("resource"),t):r(g)}}a(_9,"tokenizeResource");function M9(e,t,r){const o=this;return l;function l(d){return dR.call(o,e,u,c,"reference","referenceMarker","referenceString")(d)}function u(d){return o.parser.defined.includes(pa(o.sliceSerialize(o.events[o.events.length-1][1]).slice(1,-1)))?t(d):r(d)}function c(d){return r(d)}}a(M9,"tokenizeReferenceFull");function N9(e,t,r){return o;function o(u){return e.enter("reference"),e.enter("referenceMarker"),e.consume(u),e.exit("referenceMarker"),l}function l(u){return u===93?(e.enter("referenceMarker"),e.consume(u),e.exit("referenceMarker"),e.exit("reference"),t):r(u)}}a(N9,"tokenizeReferenceCollapsed");const k9={name:"labelStartImage",resolveAll:Cy.resolveAll,tokenize:D9};function D9(e,t,r){const o=this;return l;function l(d){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(d),e.exit("labelImageMarker"),u}function u(d){return d===91?(e.enter("labelMarker"),e.consume(d),e.exit("labelMarker"),e.exit("labelImage"),c):r(d)}function c(d){return d===94&&"_hiddenFootnoteSupport"in o.parser.constructs?r(d):t(d)}}a(D9,"tokenizeLabelStartImage");const P9={name:"labelStartLink",resolveAll:Cy.resolveAll,tokenize:L9};function L9(e,t,r){const o=this;return l;function l(c){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(c),e.exit("labelMarker"),e.exit("labelLink"),u}function u(c){return c===94&&"_hiddenFootnoteSupport"in o.parser.constructs?r(c):t(c)}}a(L9,"tokenizeLabelStartLink");const sh={name:"lineEnding",tokenize:z9};function z9(e,t){return r;function r(o){return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),st(e,t,"linePrefix")}}a(z9,"tokenizeLineEnding");const oc={name:"thematicBreak",tokenize:I9};function I9(e,t,r){let o=0,l;return u;function u(h){return e.enter("thematicBreak"),c(h)}function c(h){return l=h,d(h)}function d(h){return h===l?(e.enter("thematicBreakSequence"),p(h)):o>=3&&(h===null||De(h))?(e.exit("thematicBreak"),t(h)):r(h)}function p(h){return h===l?(e.consume(h),o++,p):(e.exit("thematicBreakSequence"),We(h)?st(e,d,"whitespace")(h):d(h))}}a(I9,"tokenizeThematicBreak");const tn={continuation:{tokenize:H9},exit:q9,name:"list",tokenize:B9},j9={partial:!0,tokenize:$9},U9={partial:!0,tokenize:F9};function B9(e,t,r){const o=this,l=o.events[o.events.length-1];let u=l&&l[1].type==="linePrefix"?l[2].sliceSerialize(l[1],!0).length:0,c=0;return d;function d(S){const E=o.containerState.type||(S===42||S===43||S===45?"listUnordered":"listOrdered");if(E==="listUnordered"?!o.containerState.marker||S===o.containerState.marker:lm(S)){if(o.containerState.type||(o.containerState.type=E,e.enter(E,{_container:!0})),E==="listUnordered")return e.enter("listItemPrefix"),S===42||S===45?e.check(oc,r,h)(S):h(S);if(!o.interrupt||S===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),p(S)}return r(S)}function p(S){return lm(S)&&++c<10?(e.consume(S),p):(!o.interrupt||c<2)&&(o.containerState.marker?S===o.containerState.marker:S===41||S===46)?(e.exit("listItemValue"),h(S)):r(S)}function h(S){return e.enter("listItemMarker"),e.consume(S),e.exit("listItemMarker"),o.containerState.marker=o.containerState.marker||S,e.check(of,o.interrupt?r:m,e.attempt(j9,b,g))}function m(S){return o.containerState.initialBlankLine=!0,u++,b(S)}function g(S){return We(S)?(e.enter("listItemPrefixWhitespace"),e.consume(S),e.exit("listItemPrefixWhitespace"),b):r(S)}function b(S){return o.containerState.size=u+o.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(S)}}a(B9,"tokenizeListStart");function H9(e,t,r){const o=this;return o.containerState._closeFlow=void 0,e.check(of,l,u);function l(d){return o.containerState.furtherBlankLines=o.containerState.furtherBlankLines||o.containerState.initialBlankLine,st(e,t,"listItemIndent",o.containerState.size+1)(d)}a(l,"onBlank");function u(d){return o.containerState.furtherBlankLines||!We(d)?(o.containerState.furtherBlankLines=void 0,o.containerState.initialBlankLine=void 0,c(d)):(o.containerState.furtherBlankLines=void 0,o.containerState.initialBlankLine=void 0,e.attempt(U9,t,c)(d))}a(u,"notBlank");function c(d){return o.containerState._closeFlow=!0,o.interrupt=void 0,st(e,e.attempt(tn,t,r),"linePrefix",o.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(d)}a(c,"notInCurrentItem")}a(H9,"tokenizeListContinuation");function F9(e,t,r){const o=this;return st(e,l,"listItemIndent",o.containerState.size+1);function l(u){const c=o.events[o.events.length-1];return c&&c[1].type==="listItemIndent"&&c[2].sliceSerialize(c[1],!0).length===o.containerState.size?t(u):r(u)}}a(F9,"tokenizeIndent");function q9(e){e.exit(this.containerState.type)}a(q9,"tokenizeListEnd");function $9(e,t,r){const o=this;return st(e,l,"listItemPrefixWhitespace",o.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function l(u){const c=o.events[o.events.length-1];return!We(u)&&c&&c[1].type==="listItemPrefixWhitespace"?t(u):r(u)}}a($9,"tokenizeListItemPrefixWhitespace");const AS={name:"setextUnderline",resolveTo:V9,tokenize:G9};function V9(e,t){let r=e.length,o,l,u;for(;r--;)if(e[r][0]==="enter"){if(e[r][1].type==="content"){o=r;break}e[r][1].type==="paragraph"&&(l=r)}else e[r][1].type==="content"&&e.splice(r,1),!u&&e[r][1].type==="definition"&&(u=r);const c={type:"setextHeading",start:{...e[o][1].start},end:{...e[e.length-1][1].end}};return e[l][1].type="setextHeadingText",u?(e.splice(l,0,["enter",c,t]),e.splice(u+1,0,["exit",e[o][1],t]),e[o][1].end={...e[u][1].end}):e[o][1]=c,e.push(["exit",c,t]),e}a(V9,"resolveToSetextUnderline");function G9(e,t,r){const o=this;let l;return u;function u(h){let m=o.events.length,g;for(;m--;)if(o.events[m][1].type!=="lineEnding"&&o.events[m][1].type!=="linePrefix"&&o.events[m][1].type!=="content"){g=o.events[m][1].type==="paragraph";break}return!o.parser.lazy[o.now().line]&&(o.interrupt||g)?(e.enter("setextHeadingLine"),l=h,c(h)):r(h)}function c(h){return e.enter("setextHeadingLineSequence"),d(h)}function d(h){return h===l?(e.consume(h),d):(e.exit("setextHeadingLineSequence"),We(h)?st(e,p,"lineSuffix")(h):p(h))}function p(h){return h===null||De(h)?(e.exit("setextHeadingLine"),t(h)):r(h)}}a(G9,"tokenizeSetextUnderline");const Y9={tokenize:K9};function K9(e){const t=this,r=e.attempt(of,o,e.attempt(this.parser.constructs.flowInitial,l,st(e,e.attempt(this.parser.constructs.flow,l,e.attempt(Jj,l)),"linePrefix")));return r;function o(u){if(u===null){e.consume(u);return}return e.enter("lineEndingBlank"),e.consume(u),e.exit("lineEndingBlank"),t.currentConstruct=void 0,r}function l(u){if(u===null){e.consume(u);return}return e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),t.currentConstruct=void 0,r}}a(K9,"initializeFlow");const Q9={resolveAll:mR()},X9=hR("string"),W9=hR("text");function hR(e){return{resolveAll:mR(e==="text"?Z9:void 0),tokenize:t};function t(r){const o=this,l=this.parser.constructs[e],u=r.attempt(l,c,d);return c;function c(m){return h(m)?u(m):d(m)}function d(m){if(m===null){r.consume(m);return}return r.enter("data"),r.consume(m),p}function p(m){return h(m)?(r.exit("data"),u(m)):(r.consume(m),p)}function h(m){if(m===null)return!0;const g=l[m];let b=-1;if(g)for(;++b<g.length;){const S=g[b];if(!S.previous||S.previous.call(o,o.previous))return!0}return!1}}}a(hR,"initializeFactory");function mR(e){return t;function t(r,o){let l=-1,u;for(;++l<=r.length;)u===void 0?r[l]&&r[l][1].type==="data"&&(u=l,l++):(!r[l]||r[l][1].type!=="data")&&(l!==u+2&&(r[u][1].end=r[l-1][1].end,r.splice(u+2,l-u-2),l=u+2),u=void 0);return e?e(r,o):r}}a(mR,"createResolver");function Z9(e,t){let r=0;for(;++r<=e.length;)if((r===e.length||e[r][1].type==="lineEnding")&&e[r-1][1].type==="data"){const o=e[r-1][1],l=t.sliceStream(o);let u=l.length,c=-1,d=0,p;for(;u--;){const h=l[u];if(typeof h=="string"){for(c=h.length;h.charCodeAt(c-1)===32;)d++,c--;if(c)break;c=-1}else if(h===-2)p=!0,d++;else if(h!==-1){u++;break}}if(t._contentTypeTextTrailing&&r===e.length&&(d=0),d){const h={type:r===e.length||p||d<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:u?c:o.start._bufferIndex+c,_index:o.start._index+u,line:o.end.line,column:o.end.column-d,offset:o.end.offset-d},end:{...o.end}};o.end={...h.start},o.start.offset===o.end.offset?Object.assign(o,h):(e.splice(r,0,["enter",h,t],["exit",h,t]),r+=2)}r++}return e}a(Z9,"resolveAllLineSuffixes");const J9={42:tn,43:tn,45:tn,48:tn,49:tn,50:tn,51:tn,52:tn,53:tn,54:tn,55:tn,56:tn,57:tn,62:lR},e7={91:i9},t7={[-2]:lh,[-1]:lh,32:lh},n7={35:c9,42:oc,45:[AS,oc],60:h9,61:AS,95:oc,96:RS,126:RS},r7={38:uR,92:sR},i7={[-5]:sh,[-4]:sh,[-3]:sh,33:k9,38:uR,42:sm,60:[Pj,x9],91:P9,92:[s9,sR],93:Cy,95:sm,96:Yj},o7={null:[sm,Q9]},a7={null:[42,95]},l7={null:[]},s7=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:a7,contentInitial:e7,disable:l7,document:J9,flow:n7,flowInitial:t7,insideSpan:o7,string:r7,text:i7},Symbol.toStringTag,{value:"Module"}));function u7(e,t,r){let o={_bufferIndex:-1,_index:0,line:r&&r.line||1,column:r&&r.column||1,offset:r&&r.offset||0};const l={},u=[];let c=[],d=[];const p={attempt:j(z),check:j(D),consume:O,enter:N,exit:L,interrupt:j(D,{interrupt:!0})},h={code:null,containerState:{},defineSkip:w,events:[],now:E,parser:e,previous:null,sliceSerialize:b,sliceStream:S,write:g};let m=t.tokenize.call(h,p);return t.resolveAll&&u.push(t),h;function g(X){return c=Dn(c,X),R(),c[c.length-1]!==null?[]:(G(t,0),h.events=Ey(u,h.events,h),h.events)}a(g,"write");function b(X,Z){return f7(S(X),Z)}a(b,"sliceSerialize");function S(X){return c7(c,X)}a(S,"sliceStream");function E(){const{_bufferIndex:X,_index:Z,line:ce,column:q,offset:te}=o;return{_bufferIndex:X,_index:Z,line:ce,column:q,offset:te}}a(E,"now");function w(X){l[X.line]=X.column,J()}a(w,"defineSkip");function R(){let X;for(;o._index<c.length;){const Z=c[o._index];if(typeof Z=="string")for(X=o._index,o._bufferIndex<0&&(o._bufferIndex=0);o._index===X&&o._bufferIndex<Z.length;)C(Z.charCodeAt(o._bufferIndex));else C(Z)}}a(R,"main");function C(X){m=m(X)}a(C,"go");function O(X){De(X)?(o.line++,o.column=1,o.offset+=X===-3?2:1,J()):X!==-1&&(o.column++,o.offset++),o._bufferIndex<0?o._index++:(o._bufferIndex++,o._bufferIndex===c[o._index].length&&(o._bufferIndex=-1,o._index++)),h.previous=X}a(O,"consume");function N(X,Z){const ce=Z||{};return ce.type=X,ce.start=E(),h.events.push(["enter",ce,h]),d.push(ce),ce}a(N,"enter");function L(X){const Z=d.pop();return Z.end=E(),h.events.push(["exit",Z,h]),Z}a(L,"exit");function z(X,Z){G(X,Z.from)}a(z,"onsuccessfulconstruct");function D(X,Z){Z.restore()}a(D,"onsuccessfulcheck");function j(X,Z){return ce;function ce(q,te,I){let W,ne,se,A;return Array.isArray(q)?de(q):"tokenize"in q?de([q]):K(q);function K(ae){return Q;function Q(fe){const Ce=fe!==null&&ae[fe],Te=fe!==null&&ae.null,Pe=[...Array.isArray(Ce)?Ce:Ce?[Ce]:[],...Array.isArray(Te)?Te:Te?[Te]:[]];return de(Pe)(fe)}}function de(ae){return W=ae,ne=0,ae.length===0?I:_(ae[ne])}function _(ae){return Q;function Q(fe){return A=Y(),se=ae,ae.partial||(h.currentConstruct=ae),ae.name&&h.parser.constructs.disable.null.includes(ae.name)?me():ae.tokenize.call(Z?Object.assign(Object.create(h),Z):h,p,re,me)(fe)}}function re(ae){return X(se,A),te}function me(ae){return A.restore(),++ne<W.length?_(W[ne]):I}}}a(j,"constructFactory");function G(X,Z){X.resolveAll&&!u.includes(X)&&u.push(X),X.resolve&&gr(h.events,Z,h.events.length-Z,X.resolve(h.events.slice(Z),h)),X.resolveTo&&(h.events=X.resolveTo(h.events,h))}a(G,"addResult");function Y(){const X=E(),Z=h.previous,ce=h.currentConstruct,q=h.events.length,te=Array.from(d);return{from:q,restore:I};function I(){o=X,h.previous=Z,h.currentConstruct=ce,h.events.length=q,d=te,J()}}a(Y,"store");function J(){o.line in l&&o.column<2&&(o.column=l[o.line],o.offset+=l[o.line]-1)}a(J,"accountForPotentialSkip")}a(u7,"createTokenizer");function c7(e,t){const r=t.start._index,o=t.start._bufferIndex,l=t.end._index,u=t.end._bufferIndex;let c;if(r===l)c=[e[r].slice(o,u)];else{if(c=e.slice(r,l),o>-1){const d=c[0];typeof d=="string"?c[0]=d.slice(o):c.shift()}u>0&&c.push(e[l].slice(0,u))}return c}a(c7,"sliceChunks");function f7(e,t){let r=-1;const o=[];let l;for(;++r<e.length;){const u=e[r];let c;if(typeof u=="string")c=u;else switch(u){case-5:{c="\r";break}case-4:{c=`
|
|
599
|
-
`;break}case-3:{c=`\r
|
|
600
|
-
`;break}case-2:{c=t?" ":" ";break}case-1:{if(!t&&l)continue;c=" ";break}default:c=String.fromCharCode(u)}l=u===-2,o.push(c)}return o.join("")}a(f7,"serializeChunks");function d7(e){const o={constructs:bj([s7,...(e||{}).extensions||[]]),content:l(Oj),defined:[],document:l(_j),flow:l(Y9),lazy:{},string:l(X9),text:l(W9)};return o;function l(u){return c;function c(d){return u7(o,u,d)}}}a(d7,"parse");function p7(e){for(;!cR(e););return e}a(p7,"postprocess");const _S=/[\0\t\n\r]/g;function h7(){let e=1,t="",r=!0,o;return l;function l(u,c,d){const p=[];let h,m,g,b,S;for(u=t+(typeof u=="string"?u.toString():new TextDecoder(c||void 0).decode(u)),g=0,t="",r&&(u.charCodeAt(0)===65279&&g++,r=void 0);g<u.length;){if(_S.lastIndex=g,h=_S.exec(u),b=h&&h.index!==void 0?h.index:u.length,S=u.charCodeAt(b),!h){t=u.slice(g);break}if(S===10&&g===b&&o)p.push(-3),o=void 0;else switch(o&&(p.push(-5),o=void 0),g<b&&(p.push(u.slice(g,b)),e+=b-g),S){case 0:{p.push(65533),e++;break}case 9:{for(m=Math.ceil(e/4)*4,p.push(-2);e++<m;)p.push(-1);break}case 10:{p.push(-4),e=1;break}default:o=!0,e=1}g=b+1}return d&&(o&&p.push(-5),t&&p.push(t),p.push(null)),p}}a(h7,"preprocess");const m7=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function y7(e){return e.replace(m7,g7)}a(y7,"decodeString");function g7(e,t,r){if(t)return t;if(r.charCodeAt(0)===35){const l=r.charCodeAt(1),u=l===120||l===88;return aR(r.slice(u?2:1),u?16:10)}return wy(r)||e}a(g7,"decode");const yR={}.hasOwnProperty;function v7(e,t,r){return typeof t!="string"&&(r=t,t=void 0),b7(r)(p7(d7(r).document().write(h7()(e,t,!0))))}a(v7,"fromMarkdown");function b7(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:u(Yr),autolinkProtocol:Y,autolinkEmail:Y,atxHeading:u(Kt),blockQuote:u(Te),characterEscape:Y,characterReference:Y,codeFenced:u(Pe),codeFencedFenceInfo:c,codeFencedFenceMeta:c,codeIndented:u(Pe,c),codeText:u(qe,c),codeTextData:Y,data:Y,codeFlowValue:Y,definition:u(Ie),definitionDestinationString:c,definitionLabelString:c,definitionTitleString:c,emphasis:u(ut),hardBreakEscape:u(an),hardBreakTrailing:u(an),htmlFlow:u(St,c),htmlFlowData:Y,htmlText:u(St,c),htmlTextData:Y,image:u(At),label:c,link:u(Yr),listItem:u(xn),listItemValue:b,listOrdered:u(Mi,g),listUnordered:u(Mi),paragraph:u(po),reference:_,referenceString:c,resourceDestinationString:c,resourceTitleString:c,setextHeading:u(Kt),strong:u(ho),thematicBreak:u(yf)},exit:{atxHeading:p(),atxHeadingSequence:z,autolink:p(),autolinkEmail:Ce,autolinkProtocol:fe,blockQuote:p(),characterEscapeValue:J,characterReferenceMarkerHexadecimal:me,characterReferenceMarkerNumeric:me,characterReferenceValue:ae,characterReference:Q,codeFenced:p(R),codeFencedFence:w,codeFencedFenceInfo:S,codeFencedFenceMeta:E,codeFlowValue:J,codeIndented:p(C),codeText:p(te),codeTextData:J,data:J,definition:p(),definitionDestinationString:L,definitionLabelString:O,definitionTitleString:N,emphasis:p(),hardBreakEscape:p(Z),hardBreakTrailing:p(Z),htmlFlow:p(ce),htmlFlowData:J,htmlText:p(q),htmlTextData:J,image:p(W),label:se,labelText:ne,lineEnding:X,link:p(I),listItem:p(),listOrdered:p(),listUnordered:p(),paragraph:p(),referenceString:re,resourceDestinationString:A,resourceTitleString:K,resource:de,setextHeading:p(G),setextHeadingLineSequence:j,setextHeadingText:D,strong:p(),thematicBreak:p()}};gR(t,(e||{}).mdastExtensions||[]);const r={};return o;function o(ie){let pe={type:"root",children:[]};const Oe={stack:[pe],tokenStack:[],config:t,enter:d,exit:h,buffer:c,resume:m,data:r},Ne=[];let Je=-1;for(;++Je<ie.length;)if(ie[Je][1].type==="listOrdered"||ie[Je][1].type==="listUnordered")if(ie[Je][0]==="enter")Ne.push(Je);else{const ln=Ne.pop();Je=l(ie,ln,Je)}for(Je=-1;++Je<ie.length;){const ln=t[ie[Je][0]];yR.call(ln,ie[Je][1].type)&&ln[ie[Je][1].type].call(Object.assign({sliceSerialize:ie[Je][2].sliceSerialize},Oe),ie[Je][1])}if(Oe.tokenStack.length>0){const ln=Oe.tokenStack[Oe.tokenStack.length-1];(ln[1]||MS).call(Oe,void 0,ln[0])}for(pe.position={start:gi(ie.length>0?ie[0][1].start:{line:1,column:1,offset:0}),end:gi(ie.length>0?ie[ie.length-2][1].end:{line:1,column:1,offset:0})},Je=-1;++Je<t.transforms.length;)pe=t.transforms[Je](pe)||pe;return pe}function l(ie,pe,Oe){let Ne=pe-1,Je=-1,ln=!1,Er,Qt,Jn,sn;for(;++Ne<=Oe;){const _t=ie[Ne];switch(_t[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{_t[0]==="enter"?Je++:Je--,sn=void 0;break}case"lineEndingBlank":{_t[0]==="enter"&&(Er&&!sn&&!Je&&!Jn&&(Jn=Ne),sn=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:sn=void 0}if(!Je&&_t[0]==="enter"&&_t[1].type==="listItemPrefix"||Je===-1&&_t[0]==="exit"&&(_t[1].type==="listUnordered"||_t[1].type==="listOrdered")){if(Er){let wn=Ne;for(Qt=void 0;wn--;){const jn=ie[wn];if(jn[1].type==="lineEnding"||jn[1].type==="lineEndingBlank"){if(jn[0]==="exit")continue;Qt&&(ie[Qt][1].type="lineEndingBlank",ln=!0),jn[1].type="lineEnding",Qt=wn}else if(!(jn[1].type==="linePrefix"||jn[1].type==="blockQuotePrefix"||jn[1].type==="blockQuotePrefixWhitespace"||jn[1].type==="blockQuoteMarker"||jn[1].type==="listItemIndent"))break}Jn&&(!Qt||Jn<Qt)&&(Er._spread=!0),Er.end=Object.assign({},Qt?ie[Qt][1].start:_t[1].end),ie.splice(Qt||Ne,0,["exit",Er,_t[2]]),Ne++,Oe++}if(_t[1].type==="listItemPrefix"){const wn={type:"listItem",_spread:!1,start:Object.assign({},_t[1].start),end:void 0};Er=wn,ie.splice(Ne,0,["enter",wn,_t[2]]),Ne++,Oe++,Jn=void 0,sn=!0}}}return ie[pe][1]._spread=ln,Oe}function u(ie,pe){return Oe;function Oe(Ne){d.call(this,ie(Ne),Ne),pe&&pe.call(this,Ne)}}function c(){this.stack.push({type:"fragment",children:[]})}function d(ie,pe,Oe){this.stack[this.stack.length-1].children.push(ie),this.stack.push(ie),this.tokenStack.push([pe,Oe||void 0]),ie.position={start:gi(pe.start),end:void 0}}function p(ie){return pe;function pe(Oe){ie&&ie.call(this,Oe),h.call(this,Oe)}}function h(ie,pe){const Oe=this.stack.pop(),Ne=this.tokenStack.pop();if(Ne)Ne[0].type!==ie.type&&(pe?pe.call(this,ie,Ne[0]):(Ne[1]||MS).call(this,ie,Ne[0]));else throw new Error("Cannot close `"+ie.type+"` ("+Yl({start:ie.start,end:ie.end})+"): it’s not open");Oe.position.end=gi(ie.end)}function m(){return gj(this.stack.pop())}function g(){this.data.expectingFirstListItemValue=!0}function b(ie){if(this.data.expectingFirstListItemValue){const pe=this.stack[this.stack.length-2];pe.start=Number.parseInt(this.sliceSerialize(ie),10),this.data.expectingFirstListItemValue=void 0}}function S(){const ie=this.resume(),pe=this.stack[this.stack.length-1];pe.lang=ie}function E(){const ie=this.resume(),pe=this.stack[this.stack.length-1];pe.meta=ie}function w(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function R(){const ie=this.resume(),pe=this.stack[this.stack.length-1];pe.value=ie.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function C(){const ie=this.resume(),pe=this.stack[this.stack.length-1];pe.value=ie.replace(/(\r?\n|\r)$/g,"")}function O(ie){const pe=this.resume(),Oe=this.stack[this.stack.length-1];Oe.label=pe,Oe.identifier=pa(this.sliceSerialize(ie)).toLowerCase()}function N(){const ie=this.resume(),pe=this.stack[this.stack.length-1];pe.title=ie}function L(){const ie=this.resume(),pe=this.stack[this.stack.length-1];pe.url=ie}function z(ie){const pe=this.stack[this.stack.length-1];if(!pe.depth){const Oe=this.sliceSerialize(ie).length;pe.depth=Oe}}function D(){this.data.setextHeadingSlurpLineEnding=!0}function j(ie){const pe=this.stack[this.stack.length-1];pe.depth=this.sliceSerialize(ie).codePointAt(0)===61?1:2}function G(){this.data.setextHeadingSlurpLineEnding=void 0}function Y(ie){const Oe=this.stack[this.stack.length-1].children;let Ne=Oe[Oe.length-1];(!Ne||Ne.type!=="text")&&(Ne=mf(),Ne.position={start:gi(ie.start),end:void 0},Oe.push(Ne)),this.stack.push(Ne)}function J(ie){const pe=this.stack.pop();pe.value+=this.sliceSerialize(ie),pe.position.end=gi(ie.end)}function X(ie){const pe=this.stack[this.stack.length-1];if(this.data.atHardBreak){const Oe=pe.children[pe.children.length-1];Oe.position.end=gi(ie.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(pe.type)&&(Y.call(this,ie),J.call(this,ie))}function Z(){this.data.atHardBreak=!0}function ce(){const ie=this.resume(),pe=this.stack[this.stack.length-1];pe.value=ie}function q(){const ie=this.resume(),pe=this.stack[this.stack.length-1];pe.value=ie}function te(){const ie=this.resume(),pe=this.stack[this.stack.length-1];pe.value=ie}function I(){const ie=this.stack[this.stack.length-1];if(this.data.inReference){const pe=this.data.referenceType||"shortcut";ie.type+="Reference",ie.referenceType=pe,delete ie.url,delete ie.title}else delete ie.identifier,delete ie.label;this.data.referenceType=void 0}function W(){const ie=this.stack[this.stack.length-1];if(this.data.inReference){const pe=this.data.referenceType||"shortcut";ie.type+="Reference",ie.referenceType=pe,delete ie.url,delete ie.title}else delete ie.identifier,delete ie.label;this.data.referenceType=void 0}function ne(ie){const pe=this.sliceSerialize(ie),Oe=this.stack[this.stack.length-2];Oe.label=y7(pe),Oe.identifier=pa(pe).toLowerCase()}function se(){const ie=this.stack[this.stack.length-1],pe=this.resume(),Oe=this.stack[this.stack.length-1];if(this.data.inReference=!0,Oe.type==="link"){const Ne=ie.children;Oe.children=Ne}else Oe.alt=pe}function A(){const ie=this.resume(),pe=this.stack[this.stack.length-1];pe.url=ie}function K(){const ie=this.resume(),pe=this.stack[this.stack.length-1];pe.title=ie}function de(){this.data.inReference=void 0}function _(){this.data.referenceType="collapsed"}function re(ie){const pe=this.resume(),Oe=this.stack[this.stack.length-1];Oe.label=pe,Oe.identifier=pa(this.sliceSerialize(ie)).toLowerCase(),this.data.referenceType="full"}function me(ie){this.data.characterReferenceType=ie.type}function ae(ie){const pe=this.sliceSerialize(ie),Oe=this.data.characterReferenceType;let Ne;Oe?(Ne=aR(pe,Oe==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):Ne=wy(pe);const Je=this.stack[this.stack.length-1];Je.value+=Ne}function Q(ie){const pe=this.stack.pop();pe.position.end=gi(ie.end)}function fe(ie){J.call(this,ie);const pe=this.stack[this.stack.length-1];pe.url=this.sliceSerialize(ie)}function Ce(ie){J.call(this,ie);const pe=this.stack[this.stack.length-1];pe.url="mailto:"+this.sliceSerialize(ie)}function Te(){return{type:"blockquote",children:[]}}function Pe(){return{type:"code",lang:null,meta:null,value:""}}function qe(){return{type:"inlineCode",value:""}}function Ie(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function ut(){return{type:"emphasis",children:[]}}function Kt(){return{type:"heading",depth:0,children:[]}}function an(){return{type:"break"}}function St(){return{type:"html",value:""}}function At(){return{type:"image",title:null,url:"",alt:null}}function Yr(){return{type:"link",title:null,url:"",children:[]}}function Mi(ie){return{type:"list",ordered:ie.type==="listOrdered",start:null,spread:ie._spread,children:[]}}function xn(ie){return{type:"listItem",spread:ie._spread,checked:null,children:[]}}function po(){return{type:"paragraph",children:[]}}function ho(){return{type:"strong",children:[]}}function mf(){return{type:"text",value:""}}function yf(){return{type:"thematicBreak"}}}a(b7,"compiler");function gi(e){return{line:e.line,column:e.column,offset:e.offset}}a(gi,"point");function gR(e,t){let r=-1;for(;++r<t.length;){const o=t[r];Array.isArray(o)?gR(e,o):S7(e,o)}}a(gR,"configure");function S7(e,t){let r;for(r in t)if(yR.call(t,r))switch(r){case"canContainEols":{const o=t[r];o&&e[r].push(...o);break}case"transforms":{const o=t[r];o&&e[r].push(...o);break}case"enter":case"exit":{const o=t[r];o&&Object.assign(e[r],o);break}}}a(S7,"extension");function MS(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+Yl({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Yl({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+Yl({start:t.start,end:t.end})+") is still open")}a(MS,"defaultOnError");function x7(e){const t=this;t.parser=r;function r(o){return v7(o,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}a(r,"parser")}a(x7,"remarkParse");function w7(e,t){const r={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,r),e.applyData(t,r)}a(w7,"blockquote");function E7(e,t){const r={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,r),[e.applyData(t,r),{type:"text",value:`
|
|
601
|
-
`}]}a(E7,"hardBreak");function C7(e,t){const r=t.value?t.value+`
|
|
602
|
-
`:"",o={};t.lang&&(o.className=["language-"+t.lang]);let l={type:"element",tagName:"code",properties:o,children:[{type:"text",value:r}]};return t.meta&&(l.data={meta:t.meta}),e.patch(t,l),l=e.applyData(t,l),l={type:"element",tagName:"pre",properties:{},children:[l]},e.patch(t,l),l}a(C7,"code");function T7(e,t){const r={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}a(T7,"strikethrough");function R7(e,t){const r={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}a(R7,"emphasis");function O7(e,t){const r=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",o=String(t.identifier).toUpperCase(),l=Pa(o.toLowerCase()),u=e.footnoteOrder.indexOf(o);let c,d=e.footnoteCounts.get(o);d===void 0?(d=0,e.footnoteOrder.push(o),c=e.footnoteOrder.length):c=u+1,d+=1,e.footnoteCounts.set(o,d);const p={type:"element",tagName:"a",properties:{href:"#"+r+"fn-"+l,id:r+"fnref-"+l+(d>1?"-"+d:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(c)}]};e.patch(t,p);const h={type:"element",tagName:"sup",properties:{},children:[p]};return e.patch(t,h),e.applyData(t,h)}a(O7,"footnoteReference");function A7(e,t){const r={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}a(A7,"heading");function _7(e,t){if(e.options.allowDangerousHtml){const r={type:"raw",value:t.value};return e.patch(t,r),e.applyData(t,r)}}a(_7,"html");function vR(e,t){const r=t.referenceType;let o="]";if(r==="collapsed"?o+="[]":r==="full"&&(o+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return[{type:"text",value:"!["+t.alt+o}];const l=e.all(t),u=l[0];u&&u.type==="text"?u.value="["+u.value:l.unshift({type:"text",value:"["});const c=l[l.length-1];return c&&c.type==="text"?c.value+=o:l.push({type:"text",value:o}),l}a(vR,"revert");function M7(e,t){const r=String(t.identifier).toUpperCase(),o=e.definitionById.get(r);if(!o)return vR(e,t);const l={src:Pa(o.url||""),alt:t.alt};o.title!==null&&o.title!==void 0&&(l.title=o.title);const u={type:"element",tagName:"img",properties:l,children:[]};return e.patch(t,u),e.applyData(t,u)}a(M7,"imageReference");function N7(e,t){const r={src:Pa(t.url)};t.alt!==null&&t.alt!==void 0&&(r.alt=t.alt),t.title!==null&&t.title!==void 0&&(r.title=t.title);const o={type:"element",tagName:"img",properties:r,children:[]};return e.patch(t,o),e.applyData(t,o)}a(N7,"image");function k7(e,t){const r={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,r);const o={type:"element",tagName:"code",properties:{},children:[r]};return e.patch(t,o),e.applyData(t,o)}a(k7,"inlineCode");function D7(e,t){const r=String(t.identifier).toUpperCase(),o=e.definitionById.get(r);if(!o)return vR(e,t);const l={href:Pa(o.url||"")};o.title!==null&&o.title!==void 0&&(l.title=o.title);const u={type:"element",tagName:"a",properties:l,children:e.all(t)};return e.patch(t,u),e.applyData(t,u)}a(D7,"linkReference");function P7(e,t){const r={href:Pa(t.url)};t.title!==null&&t.title!==void 0&&(r.title=t.title);const o={type:"element",tagName:"a",properties:r,children:e.all(t)};return e.patch(t,o),e.applyData(t,o)}a(P7,"link");function L7(e,t,r){const o=e.all(t),l=r?z7(r):bR(t),u={},c=[];if(typeof t.checked=="boolean"){const m=o[0];let g;m&&m.type==="element"&&m.tagName==="p"?g=m:(g={type:"element",tagName:"p",properties:{},children:[]},o.unshift(g)),g.children.length>0&&g.children.unshift({type:"text",value:" "}),g.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),u.className=["task-list-item"]}let d=-1;for(;++d<o.length;){const m=o[d];(l||d!==0||m.type!=="element"||m.tagName!=="p")&&c.push({type:"text",value:`
|
|
603
|
-
`}),m.type==="element"&&m.tagName==="p"&&!l?c.push(...m.children):c.push(m)}const p=o[o.length-1];p&&(l||p.type!=="element"||p.tagName!=="p")&&c.push({type:"text",value:`
|
|
604
|
-
`});const h={type:"element",tagName:"li",properties:u,children:c};return e.patch(t,h),e.applyData(t,h)}a(L7,"listItem");function z7(e){let t=!1;if(e.type==="list"){t=e.spread||!1;const r=e.children;let o=-1;for(;!t&&++o<r.length;)t=bR(r[o])}return t}a(z7,"listLoose");function bR(e){const t=e.spread;return t??e.children.length>1}a(bR,"listItemLoose");function I7(e,t){const r={},o=e.all(t);let l=-1;for(typeof t.start=="number"&&t.start!==1&&(r.start=t.start);++l<o.length;){const c=o[l];if(c.type==="element"&&c.tagName==="li"&&c.properties&&Array.isArray(c.properties.className)&&c.properties.className.includes("task-list-item")){r.className=["contains-task-list"];break}}const u={type:"element",tagName:t.ordered?"ol":"ul",properties:r,children:e.wrap(o,!0)};return e.patch(t,u),e.applyData(t,u)}a(I7,"list");function j7(e,t){const r={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}a(j7,"paragraph");function U7(e,t){const r={type:"root",children:e.wrap(e.all(t))};return e.patch(t,r),e.applyData(t,r)}a(U7,"root");function B7(e,t){const r={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}a(B7,"strong");function H7(e,t){const r=e.all(t),o=r.shift(),l=[];if(o){const c={type:"element",tagName:"thead",properties:{},children:e.wrap([o],!0)};e.patch(t.children[0],c),l.push(c)}if(r.length>0){const c={type:"element",tagName:"tbody",properties:{},children:e.wrap(r,!0)},d=vy(t.children[1]),p=JT(t.children[t.children.length-1]);d&&p&&(c.position={start:d,end:p}),l.push(c)}const u={type:"element",tagName:"table",properties:{},children:e.wrap(l,!0)};return e.patch(t,u),e.applyData(t,u)}a(H7,"table");function F7(e,t,r){const o=r?r.children:void 0,u=(o?o.indexOf(t):1)===0?"th":"td",c=r&&r.type==="table"?r.align:void 0,d=c?c.length:t.children.length;let p=-1;const h=[];for(;++p<d;){const g=t.children[p],b={},S=c?c[p]:void 0;S&&(b.align=S);let E={type:"element",tagName:u,properties:b,children:[]};g&&(E.children=e.all(g),e.patch(g,E),E=e.applyData(g,E)),h.push(E)}const m={type:"element",tagName:"tr",properties:{},children:e.wrap(h,!0)};return e.patch(t,m),e.applyData(t,m)}a(F7,"tableRow");function q7(e,t){const r={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}a(q7,"tableCell");const NS=9,kS=32;function $7(e){const t=String(e),r=/\r?\n|\r/g;let o=r.exec(t),l=0;const u=[];for(;o;)u.push(DS(t.slice(l,o.index),l>0,!0),o[0]),l=o.index+o[0].length,o=r.exec(t);return u.push(DS(t.slice(l),l>0,!1)),u.join("")}a($7,"trimLines");function DS(e,t,r){let o=0,l=e.length;if(t){let u=e.codePointAt(o);for(;u===NS||u===kS;)o++,u=e.codePointAt(o)}if(r){let u=e.codePointAt(l-1);for(;u===NS||u===kS;)l--,u=e.codePointAt(l-1)}return l>o?e.slice(o,l):""}a(DS,"trimLine");function V7(e,t){const r={type:"text",value:$7(String(t.value))};return e.patch(t,r),e.applyData(t,r)}a(V7,"text");function G7(e,t){const r={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,r),e.applyData(t,r)}a(G7,"thematicBreak");const Y7={blockquote:w7,break:E7,code:C7,delete:T7,emphasis:R7,footnoteReference:O7,heading:A7,html:_7,imageReference:M7,image:N7,inlineCode:k7,linkReference:D7,link:P7,listItem:L7,list:I7,paragraph:j7,root:U7,strong:B7,table:H7,tableCell:q7,tableRow:F7,text:V7,thematicBreak:G7,toml:Ku,yaml:Ku,definition:Ku,footnoteDefinition:Ku};function Ku(){}a(Ku,"ignore");const SR=-1,af=0,Cc=1,Tc=2,Ty=3,Ry=4,Oy=5,Ay=6,xR=7,wR=8,PS=typeof self=="object"?self:globalThis,K7=a((e,t)=>{const r=a((l,u)=>(e.set(u,l),l),"as"),o=a(l=>{if(e.has(l))return e.get(l);const[u,c]=t[l];switch(u){case af:case SR:return r(c,l);case Cc:{const d=r([],l);for(const p of c)d.push(o(p));return d}case Tc:{const d=r({},l);for(const[p,h]of c)d[o(p)]=o(h);return d}case Ty:return r(new Date(c),l);case Ry:{const{source:d,flags:p}=c;return r(new RegExp(d,p),l)}case Oy:{const d=r(new Map,l);for(const[p,h]of c)d.set(o(p),o(h));return d}case Ay:{const d=r(new Set,l);for(const p of c)d.add(o(p));return d}case xR:{const{name:d,message:p}=c;return r(new PS[d](p),l)}case wR:return r(BigInt(c),l);case"BigInt":return r(Object(BigInt(c)),l)}return r(new PS[u](c),l)},"unpair");return o},"deserializer"),LS=a(e=>K7(new Map,e)(0),"deserialize"),oa="",{toString:Q7}={},{keys:X7}=Object,Hl=a(e=>{const t=typeof e;if(t!=="object"||!e)return[af,t];const r=Q7.call(e).slice(8,-1);switch(r){case"Array":return[Cc,oa];case"Object":return[Tc,oa];case"Date":return[Ty,oa];case"RegExp":return[Ry,oa];case"Map":return[Oy,oa];case"Set":return[Ay,oa]}return r.includes("Array")?[Cc,r]:r.includes("Error")?[xR,r]:[Tc,r]},"typeOf"),Qu=a(([e,t])=>e===af&&(t==="function"||t==="symbol"),"shouldSkip"),W7=a((e,t,r,o)=>{const l=a((c,d)=>{const p=o.push(c)-1;return r.set(d,p),p},"as"),u=a(c=>{if(r.has(c))return r.get(c);let[d,p]=Hl(c);switch(d){case af:{let m=c;switch(p){case"bigint":d=wR,m=c.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+p);m=null;break;case"undefined":return l([SR],c)}return l([d,m],c)}case Cc:{if(p)return l([p,[...c]],c);const m=[],g=l([d,m],c);for(const b of c)m.push(u(b));return g}case Tc:{if(p)switch(p){case"BigInt":return l([p,c.toString()],c);case"Boolean":case"Number":case"String":return l([p,c.valueOf()],c)}if(t&&"toJSON"in c)return u(c.toJSON());const m=[],g=l([d,m],c);for(const b of X7(c))(e||!Qu(Hl(c[b])))&&m.push([u(b),u(c[b])]);return g}case Ty:return l([d,c.toISOString()],c);case Ry:{const{source:m,flags:g}=c;return l([d,{source:m,flags:g}],c)}case Oy:{const m=[],g=l([d,m],c);for(const[b,S]of c)(e||!(Qu(Hl(b))||Qu(Hl(S))))&&m.push([u(b),u(S)]);return g}case Ay:{const m=[],g=l([d,m],c);for(const b of c)(e||!Qu(Hl(b)))&&m.push(u(b));return g}}const{message:h}=c;return l([d,{name:p,message:h}],c)},"pair");return u},"serializer"),zS=a((e,{json:t,lossy:r}={})=>{const o=[];return W7(!(t||r),!!t,new Map,o)(e),o},"serialize"),Rc=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?LS(zS(e,t)):structuredClone(e):(e,t)=>LS(zS(e,t));function Z7(e,t){const r=[{type:"text",value:"↩"}];return t>1&&r.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),r}a(Z7,"defaultFootnoteBackContent");function J7(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}a(J7,"defaultFootnoteBackLabel");function e8(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=e.options.footnoteBackContent||Z7,o=e.options.footnoteBackLabel||J7,l=e.options.footnoteLabel||"Footnotes",u=e.options.footnoteLabelTagName||"h2",c=e.options.footnoteLabelProperties||{className:["sr-only"]},d=[];let p=-1;for(;++p<e.footnoteOrder.length;){const h=e.footnoteById.get(e.footnoteOrder[p]);if(!h)continue;const m=e.all(h),g=String(h.identifier).toUpperCase(),b=Pa(g.toLowerCase());let S=0;const E=[],w=e.footnoteCounts.get(g);for(;w!==void 0&&++S<=w;){E.length>0&&E.push({type:"text",value:" "});let O=typeof r=="string"?r:r(p,S);typeof O=="string"&&(O={type:"text",value:O}),E.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+b+(S>1?"-"+S:""),dataFootnoteBackref:"",ariaLabel:typeof o=="string"?o:o(p,S),className:["data-footnote-backref"]},children:Array.isArray(O)?O:[O]})}const R=m[m.length-1];if(R&&R.type==="element"&&R.tagName==="p"){const O=R.children[R.children.length-1];O&&O.type==="text"?O.value+=" ":R.children.push({type:"text",value:" "}),R.children.push(...E)}else m.push(...E);const C={type:"element",tagName:"li",properties:{id:t+"fn-"+b},children:e.wrap(m,!0)};e.patch(h,C),d.push(C)}if(d.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:u,properties:{...Rc(c),id:"footnote-label"},children:[{type:"text",value:l}]},{type:"text",value:`
|
|
605
|
-
`},{type:"element",tagName:"ol",properties:{},children:e.wrap(d,!0)},{type:"text",value:`
|
|
606
|
-
`}]}}a(e8,"footer");const ER=a((function(e){if(e==null)return i8;if(typeof e=="function")return lf(e);if(typeof e=="object")return Array.isArray(e)?t8(e):n8(e);if(typeof e=="string")return r8(e);throw new Error("Expected function, string, or object as test")}),"convert");function t8(e){const t=[];let r=-1;for(;++r<e.length;)t[r]=ER(e[r]);return lf(o);function o(...l){let u=-1;for(;++u<t.length;)if(t[u].apply(this,l))return!0;return!1}}a(t8,"anyFactory");function n8(e){const t=e;return lf(r);function r(o){const l=o;let u;for(u in e)if(l[u]!==t[u])return!1;return!0}}a(n8,"propsFactory");function r8(e){return lf(t);function t(r){return r&&r.type===e}}a(r8,"typeFactory");function lf(e){return t;function t(r,o,l){return!!(o8(r)&&e.call(this,r,typeof o=="number"?o:void 0,l||void 0))}}a(lf,"castFactory");function i8(){return!0}a(i8,"ok");function o8(e){return e!==null&&typeof e=="object"&&"type"in e}a(o8,"looksLikeANode");const CR=[],a8=!0,IS=!1,l8="skip";function s8(e,t,r,o){let l;typeof t=="function"&&typeof r!="function"?(o=r,r=t):l=t;const u=ER(l),c=o?-1:1;d(e,void 0,[])();function d(p,h,m){const g=p&&typeof p=="object"?p:{};if(typeof g.type=="string"){const S=typeof g.tagName=="string"?g.tagName:typeof g.name=="string"?g.name:void 0;Object.defineProperty(b,"name",{value:"node ("+(p.type+(S?"<"+S+">":""))+")"})}return b;function b(){let S=CR,E,w,R;if((!t||u(p,h,m[m.length-1]||void 0))&&(S=u8(r(p,m)),S[0]===IS))return S;if("children"in p&&p.children){const C=p;if(C.children&&S[0]!==l8)for(w=(o?C.children.length:-1)+c,R=m.concat(C);w>-1&&w<C.children.length;){const O=C.children[w];if(E=d(O,w,R)(),E[0]===IS)return E;w=typeof E[1]=="number"?E[1]:w+c}}return S}}a(d,"factory")}a(s8,"visitParents");function u8(e){return Array.isArray(e)?e:typeof e=="number"?[a8,e]:e==null?CR:[e]}a(u8,"toResult");function TR(e,t,r,o){let l,u,c;typeof t=="function"&&typeof r!="function"?(u=void 0,c=t,l=r):(u=t,c=r,l=o),s8(e,u,d,l);function d(p,h){const m=h[h.length-1],g=m?m.children.indexOf(p):void 0;return c(p,g,m)}a(d,"overload")}a(TR,"visit");const um={}.hasOwnProperty,c8={};function f8(e,t){const r=t||c8,o=new Map,l=new Map,u=new Map,c={...Y7,...r.handlers},d={all:h,applyData:p8,definitionById:o,footnoteById:l,footnoteCounts:u,footnoteOrder:[],handlers:c,one:p,options:r,patch:d8,wrap:m8};return TR(e,function(m){if(m.type==="definition"||m.type==="footnoteDefinition"){const g=m.type==="definition"?o:l,b=String(m.identifier).toUpperCase();g.has(b)||g.set(b,m)}}),d;function p(m,g){const b=m.type,S=d.handlers[b];if(um.call(d.handlers,b)&&S)return S(d,m,g);if(d.options.passThrough&&d.options.passThrough.includes(b)){if("children"in m){const{children:w,...R}=m,C=Rc(R);return C.children=d.all(m),C}return Rc(m)}return(d.options.unknownHandler||h8)(d,m,g)}a(p,"one");function h(m){const g=[];if("children"in m){const b=m.children;let S=-1;for(;++S<b.length;){const E=d.one(b[S],m);if(E){if(S&&b[S-1].type==="break"&&(!Array.isArray(E)&&E.type==="text"&&(E.value=jS(E.value)),!Array.isArray(E)&&E.type==="element")){const w=E.children[0];w&&w.type==="text"&&(w.value=jS(w.value))}Array.isArray(E)?g.push(...E):g.push(E)}}}return g}a(h,"all")}a(f8,"createState");function d8(e,t){e.position&&(t.position=QI(e))}a(d8,"patch");function p8(e,t){let r=t;if(e&&e.data){const o=e.data.hName,l=e.data.hChildren,u=e.data.hProperties;if(typeof o=="string")if(r.type==="element")r.tagName=o;else{const c="children"in r?r.children:[r];r={type:"element",tagName:o,properties:{},children:c}}r.type==="element"&&u&&Object.assign(r.properties,Rc(u)),"children"in r&&r.children&&l!==null&&l!==void 0&&(r.children=l)}return r}a(p8,"applyData");function h8(e,t){const r=t.data||{},o="value"in t&&!(um.call(r,"hProperties")||um.call(r,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,o),e.applyData(t,o)}a(h8,"defaultUnknownHandler");function m8(e,t){const r=[];let o=-1;for(t&&r.push({type:"text",value:`
|
|
607
|
-
`});++o<e.length;)o&&r.push({type:"text",value:`
|
|
608
|
-
`}),r.push(e[o]);return t&&e.length>0&&r.push({type:"text",value:`
|
|
609
|
-
`}),r}a(m8,"wrap$1");function jS(e){let t=0,r=e.charCodeAt(t);for(;r===9||r===32;)t++,r=e.charCodeAt(t);return e.slice(t)}a(jS,"trimMarkdownSpaceStart");function US(e,t){const r=f8(e,t),o=r.one(e,void 0),l=e8(r),u=Array.isArray(o)?{type:"root",children:o}:o||{type:"root",children:[]};return l&&u.children.push({type:"text",value:`
|
|
610
|
-
`},l),u}a(US,"toHast");function y8(e,t){return e&&"run"in e?async function(r,o){const l=US(r,{file:o,...t});await e.run(l,o)}:function(r,o){return US(r,{file:o,...e||t})}}a(y8,"remarkRehype");function BS(e){if(e)throw e}a(BS,"bail");var uh,HS;function g8(){if(HS)return uh;HS=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,l=a(function(h){return typeof Array.isArray=="function"?Array.isArray(h):t.call(h)==="[object Array]"},"isArray"),u=a(function(h){if(!h||t.call(h)!=="[object Object]")return!1;var m=e.call(h,"constructor"),g=h.constructor&&h.constructor.prototype&&e.call(h.constructor.prototype,"isPrototypeOf");if(h.constructor&&!m&&!g)return!1;var b;for(b in h);return typeof b>"u"||e.call(h,b)},"isPlainObject"),c=a(function(h,m){r&&m.name==="__proto__"?r(h,m.name,{enumerable:!0,configurable:!0,value:m.newValue,writable:!0}):h[m.name]=m.newValue},"setProperty"),d=a(function(h,m){if(m==="__proto__")if(e.call(h,m)){if(o)return o(h,m).value}else return;return h[m]},"getProperty");return uh=a(function p(){var h,m,g,b,S,E,w=arguments[0],R=1,C=arguments.length,O=!1;for(typeof w=="boolean"&&(O=w,w=arguments[1]||{},R=2),(w==null||typeof w!="object"&&typeof w!="function")&&(w={});R<C;++R)if(h=arguments[R],h!=null)for(m in h)g=d(w,m),b=d(h,m),w!==b&&(O&&b&&(u(b)||(S=l(b)))?(S?(S=!1,E=g&&l(g)?g:[]):E=g&&u(g)?g:{},c(w,{name:m,newValue:p(O,E,b)})):typeof b<"u"&&c(w,{name:m,newValue:b}));return w},"extend"),uh}a(g8,"requireExtend");var v8=g8();const ch=vr(v8);function cm(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}a(cm,"isPlainObject");function b8(){const e=[],t={run:r,use:o};return t;function r(...l){let u=-1;const c=l.pop();if(typeof c!="function")throw new TypeError("Expected function as last argument, not "+c);d(null,...l);function d(p,...h){const m=e[++u];let g=-1;if(p){c(p);return}for(;++g<l.length;)(h[g]===null||h[g]===void 0)&&(h[g]=l[g]);l=h,m?S8(m,d)(...h):c(null,...h)}a(d,"next")}function o(l){if(typeof l!="function")throw new TypeError("Expected `middelware` to be a function, not "+l);return e.push(l),t}}a(b8,"trough");function S8(e,t){let r;return o;function o(...c){const d=e.length>c.length;let p;d&&c.push(l);try{p=e.apply(this,c)}catch(h){const m=h;if(d&&r)throw m;return l(m)}d||(p&&p.then&&typeof p.then=="function"?p.then(u,l):p instanceof Error?l(p):u(p))}function l(c,...d){r||(r=!0,t(c,...d))}function u(c){l(null,c)}}a(S8,"wrap");const or={basename:x8,dirname:w8,extname:E8,join:C8,sep:"/"};function x8(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');Os(e);let r=0,o=-1,l=e.length,u;if(t===void 0||t.length===0||t.length>e.length){for(;l--;)if(e.codePointAt(l)===47){if(u){r=l+1;break}}else o<0&&(u=!0,o=l+1);return o<0?"":e.slice(r,o)}if(t===e)return"";let c=-1,d=t.length-1;for(;l--;)if(e.codePointAt(l)===47){if(u){r=l+1;break}}else c<0&&(u=!0,c=l+1),d>-1&&(e.codePointAt(l)===t.codePointAt(d--)?d<0&&(o=l):(d=-1,o=c));return r===o?o=c:o<0&&(o=e.length),e.slice(r,o)}a(x8,"basename");function w8(e){if(Os(e),e.length===0)return".";let t=-1,r=e.length,o;for(;--r;)if(e.codePointAt(r)===47){if(o){t=r;break}}else o||(o=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}a(w8,"dirname");function E8(e){Os(e);let t=e.length,r=-1,o=0,l=-1,u=0,c;for(;t--;){const d=e.codePointAt(t);if(d===47){if(c){o=t+1;break}continue}r<0&&(c=!0,r=t+1),d===46?l<0?l=t:u!==1&&(u=1):l>-1&&(u=-1)}return l<0||r<0||u===0||u===1&&l===r-1&&l===o+1?"":e.slice(l,r)}a(E8,"extname");function C8(...e){let t=-1,r;for(;++t<e.length;)Os(e[t]),e[t]&&(r=r===void 0?e[t]:r+"/"+e[t]);return r===void 0?".":T8(r)}a(C8,"join");function T8(e){Os(e);const t=e.codePointAt(0)===47;let r=R8(e,!t);return r.length===0&&!t&&(r="."),r.length>0&&e.codePointAt(e.length-1)===47&&(r+="/"),t?"/"+r:r}a(T8,"normalize");function R8(e,t){let r="",o=0,l=-1,u=0,c=-1,d,p;for(;++c<=e.length;){if(c<e.length)d=e.codePointAt(c);else{if(d===47)break;d=47}if(d===47){if(!(l===c-1||u===1))if(l!==c-1&&u===2){if(r.length<2||o!==2||r.codePointAt(r.length-1)!==46||r.codePointAt(r.length-2)!==46){if(r.length>2){if(p=r.lastIndexOf("/"),p!==r.length-1){p<0?(r="",o=0):(r=r.slice(0,p),o=r.length-1-r.lastIndexOf("/")),l=c,u=0;continue}}else if(r.length>0){r="",o=0,l=c,u=0;continue}}t&&(r=r.length>0?r+"/..":"..",o=2)}else r.length>0?r+="/"+e.slice(l+1,c):r=e.slice(l+1,c),o=c-l-1;l=c,u=0}else d===46&&u>-1?u++:u=-1}return r}a(R8,"normalizeString");function Os(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}a(Os,"assertPath$1");const O8={cwd:A8};function A8(){return"/"}a(A8,"cwd");function fm(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}a(fm,"isUrl");function _8(e){if(typeof e=="string")e=new URL(e);else if(!fm(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return M8(e)}a(_8,"urlToPath");function M8(e){if(e.hostname!==""){const o=new TypeError('File URL host must be "localhost" or empty on darwin');throw o.code="ERR_INVALID_FILE_URL_HOST",o}const t=e.pathname;let r=-1;for(;++r<t.length;)if(t.codePointAt(r)===37&&t.codePointAt(r+1)===50){const o=t.codePointAt(r+2);if(o===70||o===102){const l=new TypeError("File URL path must not include encoded / characters");throw l.code="ERR_INVALID_FILE_URL_PATH",l}}return decodeURIComponent(t)}a(M8,"getPathFromURLPosix");const fh=["history","path","basename","stem","extname","dirname"];class RR{static{a(this,"VFile")}constructor(t){let r;t?fm(t)?r={path:t}:typeof t=="string"||N8(t)?r={value:t}:r=t:r={},this.cwd="cwd"in r?"":O8.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let o=-1;for(;++o<fh.length;){const u=fh[o];u in r&&r[u]!==void 0&&r[u]!==null&&(this[u]=u==="history"?[...r[u]]:r[u])}let l;for(l in r)fh.includes(l)||(this[l]=r[l])}get basename(){return typeof this.path=="string"?or.basename(this.path):void 0}set basename(t){ph(t,"basename"),dh(t,"basename"),this.path=or.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?or.dirname(this.path):void 0}set dirname(t){FS(this.basename,"dirname"),this.path=or.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?or.extname(this.path):void 0}set extname(t){if(dh(t,"extname"),FS(this.dirname,"extname"),t){if(t.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(t.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=or.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){fm(t)&&(t=_8(t)),ph(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?or.basename(this.path,this.extname):void 0}set stem(t){ph(t,"stem"),dh(t,"stem"),this.path=or.join(this.dirname||"",t+(this.extname||""))}fail(t,r,o){const l=this.message(t,r,o);throw l.fatal=!0,l}info(t,r,o){const l=this.message(t,r,o);return l.fatal=void 0,l}message(t,r,o){const l=new qt(t,r,o);return this.path&&(l.name=this.path+":"+l.name,l.file=this.path),l.fatal=!1,this.messages.push(l),l}toString(t){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(t||void 0).decode(this.value)}}function dh(e,t){if(e&&e.includes(or.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+or.sep+"`")}a(dh,"assertPart");function ph(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}a(ph,"assertNonEmpty");function FS(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}a(FS,"assertPath");function N8(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}a(N8,"isUint8Array$1");const k8=a((function(e){const o=this.constructor.prototype,l=o[e],u=a(function(){return l.apply(u,arguments)},"apply");return Object.setPrototypeOf(u,o),u}),"CallableInstance"),D8={}.hasOwnProperty;class _y extends k8{static{a(this,"Processor")}constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=b8()}copy(){const t=new _y;let r=-1;for(;++r<this.attachers.length;){const o=this.attachers[r];t.use(...o)}return t.data(ch(!0,{},this.namespace)),t}data(t,r){return typeof t=="string"?arguments.length===2?(yh("data",this.frozen),this.namespace[t]=r,this):D8.call(this.namespace,t)&&this.namespace[t]||void 0:t?(yh("data",this.frozen),this.namespace=t,this):this.namespace}freeze(){if(this.frozen)return this;const t=this;for(;++this.freezeIndex<this.attachers.length;){const[r,...o]=this.attachers[this.freezeIndex];if(o[0]===!1)continue;o[0]===!0&&(o[0]=void 0);const l=r.call(t,...o);typeof l=="function"&&this.transformers.use(l)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();const r=Xu(t),o=this.parser||this.Parser;return hh("parse",o),o(String(r),r)}process(t,r){const o=this;return this.freeze(),hh("process",this.parser||this.Parser),mh("process",this.compiler||this.Compiler),r?l(void 0,r):new Promise(l);function l(u,c){const d=Xu(t),p=o.parse(d);o.run(p,d,function(m,g,b){if(m||!g||!b)return h(m);const S=g,E=o.stringify(S,b);z8(E)?b.value=E:b.result=E,h(m,b)});function h(m,g){m||!g?c(m):u?u(g):r(void 0,g)}a(h,"realDone")}a(l,"executor")}processSync(t){let r=!1,o;return this.freeze(),hh("processSync",this.parser||this.Parser),mh("processSync",this.compiler||this.Compiler),this.process(t,l),$S("processSync","process",r),o;function l(u,c){r=!0,BS(u),o=c}a(l,"realDone")}run(t,r,o){qS(t),this.freeze();const l=this.transformers;return!o&&typeof r=="function"&&(o=r,r=void 0),o?u(void 0,o):new Promise(u);function u(c,d){const p=Xu(r);l.run(t,p,h);function h(m,g,b){const S=g||t;m?d(m):c?c(S):o(void 0,S,b)}a(h,"realDone")}a(u,"executor")}runSync(t,r){let o=!1,l;return this.run(t,r,u),$S("runSync","run",o),l;function u(c,d){BS(c),l=d,o=!0}a(u,"realDone")}stringify(t,r){this.freeze();const o=Xu(r),l=this.compiler||this.Compiler;return mh("stringify",l),qS(t),l(t,o)}use(t,...r){const o=this.attachers,l=this.namespace;if(yh("use",this.frozen),t!=null)if(typeof t=="function")p(t,r);else if(typeof t=="object")Array.isArray(t)?d(t):c(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function u(h){if(typeof h=="function")p(h,[]);else if(typeof h=="object")if(Array.isArray(h)){const[m,...g]=h;p(m,g)}else c(h);else throw new TypeError("Expected usable value, not `"+h+"`")}function c(h){if(!("plugins"in h)&&!("settings"in h))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");d(h.plugins),h.settings&&(l.settings=ch(!0,l.settings,h.settings))}function d(h){let m=-1;if(h!=null)if(Array.isArray(h))for(;++m<h.length;){const g=h[m];u(g)}else throw new TypeError("Expected a list of plugins, not `"+h+"`")}function p(h,m){let g=-1,b=-1;for(;++g<o.length;)if(o[g][0]===h){b=g;break}if(b===-1)o.push([h,...m]);else if(m.length>0){let[S,...E]=m;const w=o[b][1];cm(w)&&cm(S)&&(S=ch(!0,w,S)),o[b]=[h,S,...E]}}}}const P8=new _y().freeze();function hh(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}a(hh,"assertParser");function mh(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}a(mh,"assertCompiler");function yh(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}a(yh,"assertUnfrozen");function qS(e){if(!cm(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}a(qS,"assertNode");function $S(e,t,r){if(!r)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}a($S,"assertDone");function Xu(e){return L8(e)?e:new RR(e)}a(Xu,"vfile");function L8(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}a(L8,"looksLikeAVFile");function z8(e){return typeof e=="string"||I8(e)}a(z8,"looksLikeAValue");function I8(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}a(I8,"isUint8Array");const j8="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",VS=[],GS={allowDangerousHtml:!0},U8=/^(https?|ircs?|mailto|xmpp)$/i,B8=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"className",id:"remove-classname"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function EF(e){const t=H8(e),r=F8(e);return q8(t.runSync(t.parse(r),r),e)}a(EF,"Markdown");function H8(e){const t=e.rehypePlugins||VS,r=e.remarkPlugins||VS,o=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...GS}:GS;return P8().use(x7).use(r).use(y8,o).use(t)}a(H8,"createProcessor");function F8(e){const t=e.children||"",r=new RR;return typeof t=="string"&&(r.value=t),r}a(F8,"createFile");function q8(e,t){const r=t.allowedElements,o=t.allowElement,l=t.components,u=t.disallowedElements,c=t.skipHtml,d=t.unwrapDisallowed,p=t.urlTransform||$8;for(const m of B8)Object.hasOwn(t,m.from)&&(""+m.from+(m.to?"use `"+m.to+"` instead":"remove it")+j8+m.id,void 0);return TR(e,h),ej(e,{Fragment:k.Fragment,components:l,ignoreInvalidStyle:!0,jsx:k.jsx,jsxs:k.jsxs,passKeys:!0,passNode:!0});function h(m,g,b){if(m.type==="raw"&&b&&typeof g=="number")return c?b.children.splice(g,1):b.children[g]={type:"text",value:m.value},g;if(m.type==="element"){let S;for(S in ah)if(Object.hasOwn(ah,S)&&Object.hasOwn(m.properties,S)){const E=m.properties[S],w=ah[S];(w===null||w.includes(m.tagName))&&(m.properties[S]=p(String(E||""),S,m))}}if(m.type==="element"){let S=r?!r.includes(m.tagName):u?u.includes(m.tagName):!1;if(!S&&o&&typeof g=="number"&&(S=!o(m,g,b)),S&&b&&typeof g=="number")return d&&m.children?b.children.splice(g,1,...m.children):b.children.splice(g,1),g}}a(h,"transform")}a(q8,"post");function $8(e){const t=e.indexOf(":"),r=e.indexOf("?"),o=e.indexOf("#"),l=e.indexOf("/");return t===-1||l!==-1&&t>l||r!==-1&&t>r||o!==-1&&t>o||U8.test(e.slice(0,t))?e:""}a($8,"defaultUrlTransform");const sf=x.createContext(null);sf.displayName="PanelGroupContext";const yt={group:"data-panel-group",groupDirection:"data-panel-group-direction",groupId:"data-panel-group-id",panel:"data-panel",panelCollapsible:"data-panel-collapsible",panelId:"data-panel-id",panelSize:"data-panel-size",resizeHandle:"data-resize-handle",resizeHandleActive:"data-resize-handle-active",resizeHandleEnabled:"data-panel-resize-handle-enabled",resizeHandleId:"data-panel-resize-handle-id",resizeHandleState:"data-resize-handle-state"},My=10,Wi=x.useLayoutEffect,YS=pm.useId,V8=typeof YS=="function"?YS:()=>null;let G8=0;function Ny(e=null){const t=V8(),r=x.useRef(e||t||null);return r.current===null&&(r.current=""+G8++),e??r.current}a(Ny,"useUniqueId");function OR({children:e,className:t="",collapsedSize:r,collapsible:o,defaultSize:l,forwardedRef:u,id:c,maxSize:d,minSize:p,onCollapse:h,onExpand:m,onResize:g,order:b,style:S,tagName:E="div",...w}){const R=x.useContext(sf);if(R===null)throw Error("Panel components must be rendered within a PanelGroup container");const{collapsePanel:C,expandPanel:O,getPanelSize:N,getPanelStyle:L,groupId:z,isPanelCollapsed:D,reevaluatePanelConstraints:j,registerPanel:G,resizePanel:Y,unregisterPanel:J}=R,X=Ny(c),Z=x.useRef({callbacks:{onCollapse:h,onExpand:m,onResize:g},constraints:{collapsedSize:r,collapsible:o,defaultSize:l,maxSize:d,minSize:p},id:X,idIsFromProps:c!==void 0,order:b});x.useRef({didLogMissingDefaultSizeWarning:!1}),Wi(()=>{const{callbacks:q,constraints:te}=Z.current,I={...te};Z.current.id=X,Z.current.idIsFromProps=c!==void 0,Z.current.order=b,q.onCollapse=h,q.onExpand=m,q.onResize=g,te.collapsedSize=r,te.collapsible=o,te.defaultSize=l,te.maxSize=d,te.minSize=p,(I.collapsedSize!==te.collapsedSize||I.collapsible!==te.collapsible||I.maxSize!==te.maxSize||I.minSize!==te.minSize)&&j(Z.current,I)}),Wi(()=>{const q=Z.current;return G(q),()=>{J(q)}},[b,X,G,J]),x.useImperativeHandle(u,()=>({collapse:a(()=>{C(Z.current)},"collapse"),expand:a(q=>{O(Z.current,q)},"expand"),getId(){return X},getSize(){return N(Z.current)},isCollapsed(){return D(Z.current)},isExpanded(){return!D(Z.current)},resize:a(q=>{Y(Z.current,q)},"resize")}),[C,O,N,D,X,Y]);const ce=L(Z.current,l);return x.createElement(E,{...w,children:e,className:t,id:X,style:{...ce,...S},[yt.groupId]:z,[yt.panel]:"",[yt.panelCollapsible]:o||void 0,[yt.panelId]:X,[yt.panelSize]:parseFloat(""+ce.flexGrow).toFixed(1)})}a(OR,"PanelWithForwardedRef");const Y8=x.forwardRef((e,t)=>x.createElement(OR,{...e,forwardedRef:t}));OR.displayName="Panel";Y8.displayName="forwardRef(Panel)";let dm=null,ac=-1,Si=null;function K8(e,t,r){const o=(t&kR)!==0,l=(t&DR)!==0,u=(t&PR)!==0,c=(t&LR)!==0;if(t){if(o)return u?"se-resize":c?"ne-resize":"e-resize";if(l)return u?"sw-resize":c?"nw-resize":"w-resize";if(u)return"s-resize";if(c)return"n-resize"}switch(e){case"horizontal":return"ew-resize";case"intersection":return"move";case"vertical":return"ns-resize"}}a(K8,"getCursorStyle");function Q8(){Si!==null&&(document.head.removeChild(Si),dm=null,Si=null,ac=-1)}a(Q8,"resetGlobalCursorStyle");function gh(e,t,r){var o,l;const u=K8(e,t);if(dm!==u){if(dm=u,Si===null&&(Si=document.createElement("style"),document.head.appendChild(Si)),ac>=0){var c;(c=Si.sheet)===null||c===void 0||c.removeRule(ac)}ac=(o=(l=Si.sheet)===null||l===void 0?void 0:l.insertRule(`*{cursor: ${u} !important;}`))!==null&&o!==void 0?o:-1}}a(gh,"setGlobalCursorStyle");function AR(e){return e.type==="keydown"}a(AR,"isKeyDown");function _R(e){return e.type.startsWith("pointer")}a(_R,"isPointerEvent");function MR(e){return e.type.startsWith("mouse")}a(MR,"isMouseEvent");function uf(e){if(_R(e)){if(e.isPrimary)return{x:e.clientX,y:e.clientY}}else if(MR(e))return{x:e.clientX,y:e.clientY};return{x:1/0,y:1/0}}a(uf,"getResizeEventCoordinates");function X8(){if(typeof matchMedia=="function")return matchMedia("(pointer:coarse)").matches?"coarse":"fine"}a(X8,"getInputType");function W8(e,t,r){return e.x<t.x+t.width&&e.x+e.width>t.x&&e.y<t.y+t.height&&e.y+e.height>t.y}a(W8,"intersects");function Z8(e,t){if(e===t)throw new Error("Cannot compare node with itself");const r={a:XS(e),b:XS(t)};let o;for(;r.a.at(-1)===r.b.at(-1);)e=r.a.pop(),t=r.b.pop(),o=e;Be(o,"Stacking order can only be calculated for elements with a common ancestor");const l={a:QS(KS(r.a)),b:QS(KS(r.b))};if(l.a===l.b){const u=o.childNodes,c={a:r.a.at(-1),b:r.b.at(-1)};let d=u.length;for(;d--;){const p=u[d];if(p===c.a)return 1;if(p===c.b)return-1}}return Math.sign(l.a-l.b)}a(Z8,"compare");const J8=/\b(?:position|zIndex|opacity|transform|webkitTransform|mixBlendMode|filter|webkitFilter|isolation)\b/;function eU(e){var t;const r=getComputedStyle((t=NR(e))!==null&&t!==void 0?t:e).display;return r==="flex"||r==="inline-flex"}a(eU,"is_flex_item");function tU(e){const t=getComputedStyle(e);return!!(t.position==="fixed"||t.zIndex!=="auto"&&(t.position!=="static"||eU(e))||+t.opacity<1||"transform"in t&&t.transform!=="none"||"webkitTransform"in t&&t.webkitTransform!=="none"||"mixBlendMode"in t&&t.mixBlendMode!=="normal"||"filter"in t&&t.filter!=="none"||"webkitFilter"in t&&t.webkitFilter!=="none"||"isolation"in t&&t.isolation==="isolate"||J8.test(t.willChange)||t.webkitOverflowScrolling==="touch")}a(tU,"creates_stacking_context");function KS(e){let t=e.length;for(;t--;){const r=e[t];if(Be(r,"Missing node"),tU(r))return r}return null}a(KS,"find_stacking_context");function QS(e){return e&&Number(getComputedStyle(e).zIndex)||0}a(QS,"get_z_index");function XS(e){const t=[];for(;e;)t.push(e),e=NR(e);return t}a(XS,"get_ancestors");function NR(e){const{parentNode:t}=e;return t&&t instanceof ShadowRoot?t.host:t}a(NR,"get_parent");const kR=1,DR=2,PR=4,LR=8,nU=X8()==="coarse";let Gn=[],ha=!1,xi=new Map,cf=new Map;const as=new Set;function rU(e,t,r,o,l){var u;const{ownerDocument:c}=t,d={direction:r,element:t,hitAreaMargins:o,setResizeHandlerState:l},p=(u=xi.get(c))!==null&&u!==void 0?u:0;return xi.set(c,p+1),as.add(d),Oc(),a(function(){var m;cf.delete(e),as.delete(d);const g=(m=xi.get(c))!==null&&m!==void 0?m:1;if(xi.set(c,g-1),Oc(),g===1&&xi.delete(c),Gn.includes(d)){const b=Gn.indexOf(d);b>=0&&Gn.splice(b,1),ff(),l("up",!0,null)}},"unregisterResizeHandle")}a(rU,"registerResizeHandle");function iU(e){const{target:t}=e,{x:r,y:o}=uf(e);ha=!0,ky({target:t,x:r,y:o}),Oc(),Gn.length>0&&(Ac("down",e),ff(),e.preventDefault(),zR(t)||e.stopImmediatePropagation())}a(iU,"handlePointerDown");function vh(e){const{x:t,y:r}=uf(e);if(ha&&e.type!=="pointerleave"&&e.buttons===0&&(ha=!1,Ac("up",e)),!ha){const{target:o}=e;ky({target:o,x:t,y:r})}Ac("move",e),ff(),Gn.length>0&&e.preventDefault()}a(vh,"handlePointerMove");function bh(e){const{target:t}=e,{x:r,y:o}=uf(e);cf.clear(),ha=!1,Gn.length>0&&(e.preventDefault(),zR(t)||e.stopImmediatePropagation()),Ac("up",e),ky({target:t,x:r,y:o}),ff(),Oc()}a(bh,"handlePointerUp");function zR(e){let t=e;for(;t;){if(t.hasAttribute(yt.resizeHandle))return!0;t=t.parentElement}return!1}a(zR,"isWithinResizeHandle");function ky({target:e,x:t,y:r}){Gn.splice(0);let o=null;(e instanceof HTMLElement||e instanceof SVGElement)&&(o=e),as.forEach(l=>{const{element:u,hitAreaMargins:c}=l,d=u.getBoundingClientRect(),{bottom:p,left:h,right:m,top:g}=d,b=nU?c.coarse:c.fine;if(t>=h-b&&t<=m+b&&r>=g-b&&r<=p+b){if(o!==null&&document.contains(o)&&u!==o&&!u.contains(o)&&!o.contains(u)&&Z8(o,u)>0){let E=o,w=!1;for(;E&&!E.contains(u);){if(W8(E.getBoundingClientRect(),d)){w=!0;break}E=E.parentElement}if(w)return}Gn.push(l)}})}a(ky,"recalculateIntersectingHandles");function Sh(e,t){cf.set(e,t)}a(Sh,"reportConstraintsViolation");function ff(){let e=!1,t=!1;Gn.forEach(o=>{const{direction:l}=o;l==="horizontal"?e=!0:t=!0});let r=0;cf.forEach(o=>{r|=o}),e&&t?gh("intersection",r):e?gh("horizontal",r):t?gh("vertical",r):Q8()}a(ff,"updateCursor");let xh;function Oc(){var e;(e=xh)===null||e===void 0||e.abort(),xh=new AbortController;const t={capture:!0,signal:xh.signal};as.size&&(ha?(Gn.length>0&&xi.forEach((r,o)=>{const{body:l}=o;r>0&&(l.addEventListener("contextmenu",bh,t),l.addEventListener("pointerleave",vh,t),l.addEventListener("pointermove",vh,t))}),xi.forEach((r,o)=>{const{body:l}=o;l.addEventListener("pointerup",bh,t),l.addEventListener("pointercancel",bh,t)})):xi.forEach((r,o)=>{const{body:l}=o;r>0&&(l.addEventListener("pointerdown",iU,t),l.addEventListener("pointermove",vh,t))}))}a(Oc,"updateListeners");function Ac(e,t){as.forEach(r=>{const{setResizeHandlerState:o}=r,l=Gn.includes(r);o(e,l,t)})}a(Ac,"updateResizeHandlerStates");function oU(){const[e,t]=x.useState(0);return x.useCallback(()=>t(r=>r+1),[])}a(oU,"useForceUpdate");function Be(e,t){if(!e)throw console.error(t),Error(t)}a(Be,"assert");function ao(e,t,r=My){return e.toFixed(r)===t.toFixed(r)?0:e>t?1:-1}a(ao,"fuzzyCompareNumbers");function Br(e,t,r=My){return ao(e,t,r)===0}a(Br,"fuzzyNumbersEqual$1");function gn(e,t,r){return ao(e,t,r)===0}a(gn,"fuzzyNumbersEqual");function aU(e,t,r){if(e.length!==t.length)return!1;for(let o=0;o<e.length;o++){const l=e[o],u=t[o];if(!gn(l,u,r))return!1}return!0}a(aU,"fuzzyLayoutsEqual");function sa({panelConstraints:e,panelIndex:t,size:r}){const o=e[t];Be(o!=null,`Panel constraints not found for index ${t}`);let{collapsedSize:l=0,collapsible:u,maxSize:c=100,minSize:d=0}=o;if(ao(r,d)<0)if(u){const p=(l+d)/2;ao(r,p)<0?r=l:r=d}else r=d;return r=Math.min(c,r),r=parseFloat(r.toFixed(My)),r}a(sa,"resizePanel");function $l({delta:e,initialLayout:t,panelConstraints:r,pivotIndices:o,prevLayout:l,trigger:u}){if(gn(e,0))return t;const c=[...t],[d,p]=o;Be(d!=null,"Invalid first pivot index"),Be(p!=null,"Invalid second pivot index");let h=0;if(u==="keyboard"){{const g=e<0?p:d,b=r[g];Be(b,`Panel constraints not found for index ${g}`);const{collapsedSize:S=0,collapsible:E,minSize:w=0}=b;if(E){const R=t[g];if(Be(R!=null,`Previous layout not found for panel index ${g}`),gn(R,S)){const C=w-R;ao(C,Math.abs(e))>0&&(e=e<0?0-C:C)}}}{const g=e<0?d:p,b=r[g];Be(b,`No panel constraints found for index ${g}`);const{collapsedSize:S=0,collapsible:E,minSize:w=0}=b;if(E){const R=t[g];if(Be(R!=null,`Previous layout not found for panel index ${g}`),gn(R,w)){const C=R-S;ao(C,Math.abs(e))>0&&(e=e<0?0-C:C)}}}}{const g=e<0?1:-1;let b=e<0?p:d,S=0;for(;;){const w=t[b];Be(w!=null,`Previous layout not found for panel index ${b}`);const C=sa({panelConstraints:r,panelIndex:b,size:100})-w;if(S+=C,b+=g,b<0||b>=r.length)break}const E=Math.min(Math.abs(e),Math.abs(S));e=e<0?0-E:E}{let b=e<0?d:p;for(;b>=0&&b<r.length;){const S=Math.abs(e)-Math.abs(h),E=t[b];Be(E!=null,`Previous layout not found for panel index ${b}`);const w=E-S,R=sa({panelConstraints:r,panelIndex:b,size:w});if(!gn(E,R)&&(h+=E-R,c[b]=R,h.toFixed(3).localeCompare(Math.abs(e).toFixed(3),void 0,{numeric:!0})>=0))break;e<0?b--:b++}}if(aU(l,c))return l;{const g=e<0?p:d,b=t[g];Be(b!=null,`Previous layout not found for panel index ${g}`);const S=b+h,E=sa({panelConstraints:r,panelIndex:g,size:S});if(c[g]=E,!gn(E,S)){let w=S-E,C=e<0?p:d;for(;C>=0&&C<r.length;){const O=c[C];Be(O!=null,`Previous layout not found for panel index ${C}`);const N=O+w,L=sa({panelConstraints:r,panelIndex:C,size:N});if(gn(O,L)||(w-=L-O,c[C]=L),gn(w,0))break;e>0?C--:C++}}}const m=c.reduce((g,b)=>b+g,0);return gn(m,100)?c:l}a($l,"adjustLayoutByDelta");function lU({layout:e,panelsArray:t,pivotIndices:r}){let o=0,l=100,u=0,c=0;const d=r[0];Be(d!=null,"No pivot index found"),t.forEach((g,b)=>{const{constraints:S}=g,{maxSize:E=100,minSize:w=0}=S;b===d?(o=w,l=E):(u+=w,c+=E)});const p=Math.min(l,100-u),h=Math.max(o,100-c),m=e[d];return{valueMax:p,valueMin:h,valueNow:m}}a(lU,"calculateAriaValues");function ls(e,t=document){return Array.from(t.querySelectorAll(`[${yt.resizeHandleId}][data-panel-group-id="${e}"]`))}a(ls,"getResizeHandleElementsForGroup");function IR(e,t,r=document){const l=ls(e,r).findIndex(u=>u.getAttribute(yt.resizeHandleId)===t);return l??null}a(IR,"getResizeHandleElementIndex");function jR(e,t,r){const o=IR(e,t,r);return o!=null?[o,o+1]:[-1,-1]}a(jR,"determinePivotIndices");function sU(e){return e instanceof HTMLElement?!0:typeof e=="object"&&e!==null&&"tagName"in e&&"getAttribute"in e}a(sU,"isHTMLElement");function UR(e,t=document){if(sU(t)&&t.dataset.panelGroupId==e)return t;const r=t.querySelector(`[data-panel-group][data-panel-group-id="${e}"]`);return r||null}a(UR,"getPanelGroupElement");function df(e,t=document){const r=t.querySelector(`[${yt.resizeHandleId}="${e}"]`);return r||null}a(df,"getResizeHandleElement");function uU(e,t,r,o=document){var l,u,c,d;const p=df(t,o),h=ls(e,o),m=p?h.indexOf(p):-1,g=(l=(u=r[m])===null||u===void 0?void 0:u.id)!==null&&l!==void 0?l:null,b=(c=(d=r[m+1])===null||d===void 0?void 0:d.id)!==null&&c!==void 0?c:null;return[g,b]}a(uU,"getResizeHandlePanelIds");function cU({committedValuesRef:e,eagerValuesRef:t,groupId:r,layout:o,panelDataArray:l,panelGroupElement:u,setLayout:c}){x.useRef({didWarnAboutMissingResizeHandle:!1}),Wi(()=>{if(!u)return;const d=ls(r,u);for(let p=0;p<l.length-1;p++){const{valueMax:h,valueMin:m,valueNow:g}=lU({layout:o,panelsArray:l,pivotIndices:[p,p+1]}),b=d[p];if(b!=null){const S=l[p];Be(S,`No panel data found for index "${p}"`),b.setAttribute("aria-controls",S.id),b.setAttribute("aria-valuemax",""+Math.round(h)),b.setAttribute("aria-valuemin",""+Math.round(m)),b.setAttribute("aria-valuenow",g!=null?""+Math.round(g):"")}}return()=>{d.forEach((p,h)=>{p.removeAttribute("aria-controls"),p.removeAttribute("aria-valuemax"),p.removeAttribute("aria-valuemin"),p.removeAttribute("aria-valuenow")})}},[r,o,l,u]),x.useEffect(()=>{if(!u)return;const d=t.current;Be(d,"Eager values not found");const{panelDataArray:p}=d,h=UR(r,u);Be(h!=null,`No group found for id "${r}"`);const m=ls(r,u);Be(m,`No resize handles found for group id "${r}"`);const g=m.map(b=>{const S=b.getAttribute(yt.resizeHandleId);Be(S,"Resize handle element has no handle id attribute");const[E,w]=uU(r,S,p,u);if(E==null||w==null)return()=>{};const R=a(C=>{if(!C.defaultPrevented)switch(C.key){case"Enter":{C.preventDefault();const O=p.findIndex(N=>N.id===E);if(O>=0){const N=p[O];Be(N,`No panel data found for index ${O}`);const L=o[O],{collapsedSize:z=0,collapsible:D,minSize:j=0}=N.constraints;if(L!=null&&D){const G=$l({delta:gn(L,z)?j-z:z-L,initialLayout:o,panelConstraints:p.map(Y=>Y.constraints),pivotIndices:jR(r,S,u),prevLayout:o,trigger:"keyboard"});o!==G&&c(G)}}break}}},"onKeyDown");return b.addEventListener("keydown",R),()=>{b.removeEventListener("keydown",R)}});return()=>{g.forEach(b=>b())}},[u,e,t,r,o,l,c])}a(cU,"useWindowSplitterPanelGroupBehavior");function WS(e,t){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}a(WS,"areEqual");function BR(e,t){const r=e==="horizontal",{x:o,y:l}=uf(t);return r?o:l}a(BR,"getResizeEventCursorPosition");function fU(e,t,r,o,l){const u=r==="horizontal",c=df(t,l);Be(c,`No resize handle element found for id "${t}"`);const d=c.getAttribute(yt.groupId);Be(d,"Resize handle element has no group id attribute");let{initialCursorPosition:p}=o;const h=BR(r,e),m=UR(d,l);Be(m,`No group element found for id "${d}"`);const g=m.getBoundingClientRect(),b=u?g.width:g.height;return(h-p)/b*100}a(fU,"calculateDragOffsetPercentage");function dU(e,t,r,o,l,u){if(AR(e)){const c=r==="horizontal";let d=0;e.shiftKey?d=100:l!=null?d=l:d=10;let p=0;switch(e.key){case"ArrowDown":p=c?0:d;break;case"ArrowLeft":p=c?-d:0;break;case"ArrowRight":p=c?d:0;break;case"ArrowUp":p=c?0:-d;break;case"End":p=100;break;case"Home":p=-100;break}return p}else return o==null?0:fU(e,t,r,o,u)}a(dU,"calculateDeltaPercentage");function pU({panelDataArray:e}){const t=Array(e.length),r=e.map(u=>u.constraints);let o=0,l=100;for(let u=0;u<e.length;u++){const c=r[u];Be(c,`Panel constraints not found for index ${u}`);const{defaultSize:d}=c;d!=null&&(o++,t[u]=d,l-=d)}for(let u=0;u<e.length;u++){const c=r[u];Be(c,`Panel constraints not found for index ${u}`);const{defaultSize:d}=c;if(d!=null)continue;const p=e.length-o,h=l/p;o++,t[u]=h,l-=h}return t}a(pU,"calculateUnsafeDefaultLayout");function aa(e,t,r){t.forEach((o,l)=>{const u=e[l];Be(u,`Panel data not found for index ${l}`);const{callbacks:c,constraints:d,id:p}=u,{collapsedSize:h=0,collapsible:m}=d,g=r[p];if(g==null||o!==g){r[p]=o;const{onCollapse:b,onExpand:S,onResize:E}=c;E&&E(o,g),m&&(b||S)&&(S&&(g==null||Br(g,h))&&!Br(o,h)&&S(),b&&(g==null||!Br(g,h))&&Br(o,h)&&b())}})}a(aa,"callPanelCallbacks");function Wu(e,t){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!=t[r])return!1;return!0}a(Wu,"compareLayouts");function hU({defaultSize:e,dragState:t,layout:r,panelData:o,panelIndex:l,precision:u=3}){const c=r[l];let d;return c==null?d=e!=null?e.toFixed(u):"1":o.length===1?d="1":d=c.toFixed(u),{flexBasis:0,flexGrow:d,flexShrink:1,overflow:"hidden",pointerEvents:t!==null?"none":void 0}}a(hU,"computePanelFlexBoxStyle");function mU(e,t=10){let r=null;return a((...l)=>{r!==null&&clearTimeout(r),r=setTimeout(()=>{e(...l)},t)},"callable")}a(mU,"debounce");function ZS(e){try{if(typeof localStorage<"u")e.getItem=t=>localStorage.getItem(t),e.setItem=(t,r)=>{localStorage.setItem(t,r)};else throw new Error("localStorage not supported in this environment")}catch(t){console.error(t),e.getItem=()=>null,e.setItem=()=>{}}}a(ZS,"initializeDefaultStorage");function HR(e){return`react-resizable-panels:${e}`}a(HR,"getPanelGroupKey");function FR(e){return e.map(t=>{const{constraints:r,id:o,idIsFromProps:l,order:u}=t;return l?o:u?`${u}:${JSON.stringify(r)}`:JSON.stringify(r)}).sort((t,r)=>t.localeCompare(r)).join(",")}a(FR,"getPanelKey");function qR(e,t){try{const r=HR(e),o=t.getItem(r);if(o){const l=JSON.parse(o);if(typeof l=="object"&&l!=null)return l}}catch{}return null}a(qR,"loadSerializedPanelGroupState");function yU(e,t,r){var o,l;const u=(o=qR(e,r))!==null&&o!==void 0?o:{},c=FR(t);return(l=u[c])!==null&&l!==void 0?l:null}a(yU,"loadPanelGroupState");function gU(e,t,r,o,l){var u;const c=HR(e),d=FR(t),p=(u=qR(e,l))!==null&&u!==void 0?u:{};p[d]={expandToSizes:Object.fromEntries(r.entries()),layout:o};try{l.setItem(c,JSON.stringify(p))}catch(h){console.error(h)}}a(gU,"savePanelGroupState");function JS({layout:e,panelConstraints:t}){const r=[...e],o=r.reduce((u,c)=>u+c,0);if(r.length!==t.length)throw Error(`Invalid ${t.length} panel layout: ${r.map(u=>`${u}%`).join(", ")}`);if(!gn(o,100)&&r.length>0)for(let u=0;u<t.length;u++){const c=r[u];Be(c!=null,`No layout data found for index ${u}`);const d=100/o*c;r[u]=d}let l=0;for(let u=0;u<t.length;u++){const c=r[u];Be(c!=null,`No layout data found for index ${u}`);const d=sa({panelConstraints:t,panelIndex:u,size:c});c!=d&&(l+=c-d,r[u]=d)}if(!gn(l,0))for(let u=0;u<t.length;u++){const c=r[u];Be(c!=null,`No layout data found for index ${u}`);const d=c+l,p=sa({panelConstraints:t,panelIndex:u,size:d});if(c!==p&&(l-=p-c,r[u]=p,gn(l,0)))break}return r}a(JS,"validatePanelGroupLayout");const vU=100,Vl={getItem:a(e=>(ZS(Vl),Vl.getItem(e)),"getItem"),setItem:a((e,t)=>{ZS(Vl),Vl.setItem(e,t)},"setItem")},ex={};function $R({autoSaveId:e=null,children:t,className:r="",direction:o,forwardedRef:l,id:u=null,onLayout:c=null,keyboardResizeBy:d=null,storage:p=Vl,style:h,tagName:m="div",...g}){const b=Ny(u),S=x.useRef(null),[E,w]=x.useState(null),[R,C]=x.useState([]),O=oU(),N=x.useRef({}),L=x.useRef(new Map),z=x.useRef(0),D=x.useRef({autoSaveId:e,direction:o,dragState:E,id:b,keyboardResizeBy:d,onLayout:c,storage:p}),j=x.useRef({layout:R,panelDataArray:[],panelDataArrayChanged:!1});x.useRef({didLogIdAndOrderWarning:!1,didLogPanelConstraintsWarning:!1,prevPanelIds:[]}),x.useImperativeHandle(l,()=>({getId:a(()=>D.current.id,"getId"),getLayout:a(()=>{const{layout:_}=j.current;return _},"getLayout"),setLayout:a(_=>{const{onLayout:re}=D.current,{layout:me,panelDataArray:ae}=j.current,Q=JS({layout:_,panelConstraints:ae.map(fe=>fe.constraints)});WS(me,Q)||(C(Q),j.current.layout=Q,re&&re(Q),aa(ae,Q,N.current))},"setLayout")}),[]),Wi(()=>{D.current.autoSaveId=e,D.current.direction=o,D.current.dragState=E,D.current.id=b,D.current.onLayout=c,D.current.storage=p}),cU({committedValuesRef:D,eagerValuesRef:j,groupId:b,layout:R,panelDataArray:j.current.panelDataArray,setLayout:C,panelGroupElement:S.current}),x.useEffect(()=>{const{panelDataArray:_}=j.current;if(e){if(R.length===0||R.length!==_.length)return;let re=ex[e];re==null&&(re=mU(gU,vU),ex[e]=re);const me=[..._],ae=new Map(L.current);re(e,me,ae,R,p)}},[e,R,p]),x.useEffect(()=>{});const G=x.useCallback(_=>{const{onLayout:re}=D.current,{layout:me,panelDataArray:ae}=j.current;if(_.constraints.collapsible){const Q=ae.map(Pe=>Pe.constraints),{collapsedSize:fe=0,panelSize:Ce,pivotIndices:Te}=Ki(ae,_,me);if(Be(Ce!=null,`Panel size not found for panel "${_.id}"`),!Br(Ce,fe)){L.current.set(_.id,Ce);const qe=la(ae,_)===ae.length-1?Ce-fe:fe-Ce,Ie=$l({delta:qe,initialLayout:me,panelConstraints:Q,pivotIndices:Te,prevLayout:me,trigger:"imperative-api"});Wu(me,Ie)||(C(Ie),j.current.layout=Ie,re&&re(Ie),aa(ae,Ie,N.current))}}},[]),Y=x.useCallback((_,re)=>{const{onLayout:me}=D.current,{layout:ae,panelDataArray:Q}=j.current;if(_.constraints.collapsible){const fe=Q.map(ut=>ut.constraints),{collapsedSize:Ce=0,panelSize:Te=0,minSize:Pe=0,pivotIndices:qe}=Ki(Q,_,ae),Ie=re??Pe;if(Br(Te,Ce)){const ut=L.current.get(_.id),Kt=ut!=null&&ut>=Ie?ut:Ie,St=la(Q,_)===Q.length-1?Te-Kt:Kt-Te,At=$l({delta:St,initialLayout:ae,panelConstraints:fe,pivotIndices:qe,prevLayout:ae,trigger:"imperative-api"});Wu(ae,At)||(C(At),j.current.layout=At,me&&me(At),aa(Q,At,N.current))}}},[]),J=x.useCallback(_=>{const{layout:re,panelDataArray:me}=j.current,{panelSize:ae}=Ki(me,_,re);return Be(ae!=null,`Panel size not found for panel "${_.id}"`),ae},[]),X=x.useCallback((_,re)=>{const{panelDataArray:me}=j.current,ae=la(me,_);return hU({defaultSize:re,dragState:E,layout:R,panelData:me,panelIndex:ae})},[E,R]),Z=x.useCallback(_=>{const{layout:re,panelDataArray:me}=j.current,{collapsedSize:ae=0,collapsible:Q,panelSize:fe}=Ki(me,_,re);return Be(fe!=null,`Panel size not found for panel "${_.id}"`),Q===!0&&Br(fe,ae)},[]),ce=x.useCallback(_=>{const{layout:re,panelDataArray:me}=j.current,{collapsedSize:ae=0,collapsible:Q,panelSize:fe}=Ki(me,_,re);return Be(fe!=null,`Panel size not found for panel "${_.id}"`),!Q||ao(fe,ae)>0},[]),q=x.useCallback(_=>{const{panelDataArray:re}=j.current;re.push(_),re.sort((me,ae)=>{const Q=me.order,fe=ae.order;return Q==null&&fe==null?0:Q==null?-1:fe==null?1:Q-fe}),j.current.panelDataArrayChanged=!0,O()},[O]);Wi(()=>{if(j.current.panelDataArrayChanged){j.current.panelDataArrayChanged=!1;const{autoSaveId:_,onLayout:re,storage:me}=D.current,{layout:ae,panelDataArray:Q}=j.current;let fe=null;if(_){const Te=yU(_,Q,me);Te&&(L.current=new Map(Object.entries(Te.expandToSizes)),fe=Te.layout)}fe==null&&(fe=pU({panelDataArray:Q}));const Ce=JS({layout:fe,panelConstraints:Q.map(Te=>Te.constraints)});WS(ae,Ce)||(C(Ce),j.current.layout=Ce,re&&re(Ce),aa(Q,Ce,N.current))}}),Wi(()=>{const _=j.current;return()=>{_.layout=[]}},[]);const te=x.useCallback(_=>{let re=!1;const me=S.current;return me&&window.getComputedStyle(me,null).getPropertyValue("direction")==="rtl"&&(re=!0),a(function(Q){Q.preventDefault();const fe=S.current;if(!fe)return()=>null;const{direction:Ce,dragState:Te,id:Pe,keyboardResizeBy:qe,onLayout:Ie}=D.current,{layout:ut,panelDataArray:Kt}=j.current,{initialLayout:an}=Te??{},St=jR(Pe,_,fe);let At=dU(Q,_,Ce,Te,qe,fe);const Yr=Ce==="horizontal";Yr&&re&&(At=-At);const Mi=Kt.map(ho=>ho.constraints),xn=$l({delta:At,initialLayout:an??ut,panelConstraints:Mi,pivotIndices:St,prevLayout:ut,trigger:AR(Q)?"keyboard":"mouse-or-touch"}),po=!Wu(ut,xn);(_R(Q)||MR(Q))&&z.current!=At&&(z.current=At,!po&&At!==0?Yr?Sh(_,At<0?kR:DR):Sh(_,At<0?PR:LR):Sh(_,0)),po&&(C(xn),j.current.layout=xn,Ie&&Ie(xn),aa(Kt,xn,N.current))},"resizeHandler")},[]),I=x.useCallback((_,re)=>{const{onLayout:me}=D.current,{layout:ae,panelDataArray:Q}=j.current,fe=Q.map(ut=>ut.constraints),{panelSize:Ce,pivotIndices:Te}=Ki(Q,_,ae);Be(Ce!=null,`Panel size not found for panel "${_.id}"`);const qe=la(Q,_)===Q.length-1?Ce-re:re-Ce,Ie=$l({delta:qe,initialLayout:ae,panelConstraints:fe,pivotIndices:Te,prevLayout:ae,trigger:"imperative-api"});Wu(ae,Ie)||(C(Ie),j.current.layout=Ie,me&&me(Ie),aa(Q,Ie,N.current))},[]),W=x.useCallback((_,re)=>{const{layout:me,panelDataArray:ae}=j.current,{collapsedSize:Q=0,collapsible:fe}=re,{collapsedSize:Ce=0,collapsible:Te,maxSize:Pe=100,minSize:qe=0}=_.constraints,{panelSize:Ie}=Ki(ae,_,me);Ie!=null&&(fe&&Te&&Br(Ie,Q)?Br(Q,Ce)||I(_,Ce):Ie<qe?I(_,qe):Ie>Pe&&I(_,Pe))},[I]),ne=x.useCallback((_,re)=>{const{direction:me}=D.current,{layout:ae}=j.current;if(!S.current)return;const Q=df(_,S.current);Be(Q,`Drag handle element not found for id "${_}"`);const fe=BR(me,re);w({dragHandleId:_,dragHandleRect:Q.getBoundingClientRect(),initialCursorPosition:fe,initialLayout:ae})},[]),se=x.useCallback(()=>{w(null)},[]),A=x.useCallback(_=>{const{panelDataArray:re}=j.current,me=la(re,_);me>=0&&(re.splice(me,1),delete N.current[_.id],j.current.panelDataArrayChanged=!0,O())},[O]),K=x.useMemo(()=>({collapsePanel:G,direction:o,dragState:E,expandPanel:Y,getPanelSize:J,getPanelStyle:X,groupId:b,isPanelCollapsed:Z,isPanelExpanded:ce,reevaluatePanelConstraints:W,registerPanel:q,registerResizeHandle:te,resizePanel:I,startDragging:ne,stopDragging:se,unregisterPanel:A,panelGroupElement:S.current}),[G,E,o,Y,J,X,b,Z,ce,W,q,te,I,ne,se,A]),de={display:"flex",flexDirection:o==="horizontal"?"row":"column",height:"100%",overflow:"hidden",width:"100%"};return x.createElement(sf.Provider,{value:K},x.createElement(m,{...g,children:t,className:r,id:u,ref:S,style:{...de,...h},[yt.group]:"",[yt.groupDirection]:o,[yt.groupId]:b}))}a($R,"PanelGroupWithForwardedRef");const bU=x.forwardRef((e,t)=>x.createElement($R,{...e,forwardedRef:t}));$R.displayName="PanelGroup";bU.displayName="forwardRef(PanelGroup)";function la(e,t){return e.findIndex(r=>r===t||r.id===t.id)}a(la,"findPanelDataIndex");function Ki(e,t,r){const o=la(e,t),u=o===e.length-1?[o-1,o]:[o,o+1],c=r[o];return{...t.constraints,panelSize:c,pivotIndices:u}}a(Ki,"panelDataHelper");function SU({disabled:e,handleId:t,resizeHandler:r,panelGroupElement:o}){x.useEffect(()=>{if(e||r==null||o==null)return;const l=df(t,o);if(l==null)return;const u=a(c=>{if(!c.defaultPrevented)switch(c.key){case"ArrowDown":case"ArrowLeft":case"ArrowRight":case"ArrowUp":case"End":case"Home":{c.preventDefault(),r(c);break}case"F6":{c.preventDefault();const d=l.getAttribute(yt.groupId);Be(d,`No group element found for id "${d}"`);const p=ls(d,o),h=IR(d,t,o);Be(h!==null,`No resize element found for id "${t}"`);const m=c.shiftKey?h>0?h-1:p.length-1:h+1<p.length?h+1:0;p[m].focus();break}}},"onKeyDown");return l.addEventListener("keydown",u),()=>{l.removeEventListener("keydown",u)}},[o,e,t,r])}a(SU,"useWindowSplitterResizeHandlerBehavior");function xU({children:e=null,className:t="",disabled:r=!1,hitAreaMargins:o,id:l,onBlur:u,onClick:c,onDragging:d,onFocus:p,onPointerDown:h,onPointerUp:m,style:g={},tabIndex:b=0,tagName:S="div",...E}){var w,R;const C=x.useRef(null),O=x.useRef({onClick:c,onDragging:d,onPointerDown:h,onPointerUp:m});x.useEffect(()=>{O.current.onClick=c,O.current.onDragging=d,O.current.onPointerDown=h,O.current.onPointerUp=m});const N=x.useContext(sf);if(N===null)throw Error("PanelResizeHandle components must be rendered within a PanelGroup container");const{direction:L,groupId:z,registerResizeHandle:D,startDragging:j,stopDragging:G,panelGroupElement:Y}=N,J=Ny(l),[X,Z]=x.useState("inactive"),[ce,q]=x.useState(!1),[te,I]=x.useState(null),W=x.useRef({state:X});Wi(()=>{W.current.state=X}),x.useEffect(()=>{if(r)I(null);else{const K=D(J);I(()=>K)}},[r,J,D]);const ne=(w=o?.coarse)!==null&&w!==void 0?w:15,se=(R=o?.fine)!==null&&R!==void 0?R:5;x.useEffect(()=>{if(r||te==null)return;const K=C.current;Be(K,"Element ref not attached");let de=!1;return rU(J,K,L,{coarse:ne,fine:se},a((re,me,ae)=>{if(!me){Z("inactive");return}switch(re){case"down":{Z("drag"),de=!1,Be(ae,'Expected event to be defined for "down" action'),j(J,ae);const{onDragging:Q,onPointerDown:fe}=O.current;Q?.(!0),fe?.();break}case"move":{const{state:Q}=W.current;de=!0,Q!=="drag"&&Z("hover"),Be(ae,'Expected event to be defined for "move" action'),te(ae);break}case"up":{Z("hover"),G();const{onClick:Q,onDragging:fe,onPointerUp:Ce}=O.current;fe?.(!1),Ce?.(),de||Q?.();break}}},"setResizeHandlerState"))},[ne,L,r,se,D,J,te,j,G]),SU({disabled:r,handleId:J,resizeHandler:te,panelGroupElement:Y});const A={touchAction:"none",userSelect:"none"};return x.createElement(S,{...E,children:e,className:t,id:l,onBlur:a(()=>{q(!1),u?.()},"onBlur"),onFocus:a(()=>{q(!0),p?.()},"onFocus"),ref:C,role:"separator",style:{...A,...g},tabIndex:b,[yt.groupDirection]:L,[yt.groupId]:z,[yt.resizeHandle]:"",[yt.resizeHandleActive]:X==="drag"?"pointer":ce?"keyboard":void 0,[yt.resizeHandleEnabled]:!r,[yt.resizeHandleId]:J,[yt.resizeHandleState]:X})}a(xU,"PanelResizeHandle");xU.displayName="PanelResizeHandle";var pf="Collapsible",[wU]=Gt(pf),[EU,Dy]=wU(pf),VR=x.forwardRef((e,t)=>{const{__scopeCollapsible:r,open:o,defaultOpen:l,disabled:u,onOpenChange:c,...d}=e,[p,h]=mr({prop:o,defaultProp:l??!1,onChange:c,caller:pf});return k.jsx(EU,{scope:r,disabled:u,contentId:Ln(),open:p,onOpenToggle:x.useCallback(()=>h(m=>!m),[h]),children:k.jsx(Ee.div,{"data-state":Ly(p),"data-disabled":u?"":void 0,...d,ref:t})})});VR.displayName=pf;var GR="CollapsibleTrigger",YR=x.forwardRef((e,t)=>{const{__scopeCollapsible:r,...o}=e,l=Dy(GR,r);return k.jsx(Ee.button,{type:"button","aria-controls":l.contentId,"aria-expanded":l.open||!1,"data-state":Ly(l.open),"data-disabled":l.disabled?"":void 0,disabled:l.disabled,...o,ref:t,onClick:ge(e.onClick,l.onOpenToggle)})});YR.displayName=GR;var Py="CollapsibleContent",KR=x.forwardRef((e,t)=>{const{forceMount:r,...o}=e,l=Dy(Py,e.__scopeCollapsible);return k.jsx(It,{present:r||l.open,children:a(({present:u})=>k.jsx(CU,{...o,ref:t,present:u}),"children")})});KR.displayName=Py;var CU=x.forwardRef((e,t)=>{const{__scopeCollapsible:r,present:o,children:l,...u}=e,c=Dy(Py,r),[d,p]=x.useState(o),h=x.useRef(null),m=ze(t,h),g=x.useRef(0),b=g.current,S=x.useRef(0),E=S.current,w=c.open||d,R=x.useRef(w),C=x.useRef(void 0);return x.useEffect(()=>{const O=requestAnimationFrame(()=>R.current=!1);return()=>cancelAnimationFrame(O)},[]),bt(()=>{const O=h.current;if(O){C.current=C.current||{transitionDuration:O.style.transitionDuration,animationName:O.style.animationName},O.style.transitionDuration="0s",O.style.animationName="none";const N=O.getBoundingClientRect();g.current=N.height,S.current=N.width,R.current||(O.style.transitionDuration=C.current.transitionDuration,O.style.animationName=C.current.animationName),p(o)}},[c.open,o]),k.jsx(Ee.div,{"data-state":Ly(c.open),"data-disabled":c.disabled?"":void 0,id:c.contentId,hidden:!w,...u,ref:m,style:{"--radix-collapsible-content-height":b?`${b}px`:void 0,"--radix-collapsible-content-width":E?`${E}px`:void 0,...e.style},children:w&&l})});function Ly(e){return e?"open":"closed"}a(Ly,"getState$1");var CF=VR,TF=YR,RF=KR,Fn,tx;function TU(){if(tx)return Fn;tx=1;var e=Fn&&Fn.__extends||(function(){var g=a(function(b,S){return g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(E,w){E.__proto__=w}||function(E,w){for(var R in w)w.hasOwnProperty(R)&&(E[R]=w[R])},g(b,S)},"extendStatics");return function(b,S){g(b,S);function E(){this.constructor=b}a(E,"__"),b.prototype=S===null?Object.create(S):(E.prototype=S.prototype,new E)}})(),t=Fn&&Fn.__assign||function(){return t=Object.assign||function(g){for(var b,S=1,E=arguments.length;S<E;S++){b=arguments[S];for(var w in b)Object.prototype.hasOwnProperty.call(b,w)&&(g[w]=b[w])}return g},t.apply(this,arguments)},r=Fn&&Fn.__rest||function(g,b){var S={};for(var E in g)Object.prototype.hasOwnProperty.call(g,E)&&b.indexOf(E)<0&&(S[E]=g[E]);if(g!=null&&typeof Object.getOwnPropertySymbols=="function")for(var w=0,E=Object.getOwnPropertySymbols(g);w<E.length;w++)b.indexOf(E[w])<0&&(S[E[w]]=g[E[w]]);return S},o=Fn&&Fn.__importStar||function(g){if(g&&g.__esModule)return g;var b={};if(g!=null)for(var S in g)Object.hasOwnProperty.call(g,S)&&(b[S]=g[S]);return b.default=g,b},l=o(eT()),u=o(ss());function c(g,b,S){var E=S[g+"Style"]||"",w=b&&b[g]||"";return E?E+";"+w:w}a(c,"getStyleValue");function d(g,b,S){var E=c(g,b,S);return E?' style="'+E+'"':""}a(d,"getStyle");var p={'"':""","'":"'","&":"&",">":">","<":"<"};function h(g){return g&&g.replace(/<|>|&|"|'/g,function(b){return p[b]})}a(h,"xss");var m=(function(g){e(b,g);function b(){return g!==null&&g.apply(this,arguments)||this}return a(b,"JSONPretty"),b.prototype.render=function(){var S=this.props,E=S.json,w=S.data,R=S.replacer,C=S.space,O=S.themeClassName,N=S.theme,L=S.onJSONPrettyError,z=S.onError,D=S.silent,j=S.mainStyle,G=S.keyStyle,Y=S.valueStyle,J=S.stringStyle,X=S.booleanStyle,Z=S.errorStyle,ce=r(S,["json","data","replacer","space","themeClassName","theme","onJSONPrettyError","onError","silent","mainStyle","keyStyle","valueStyle","stringStyle","booleanStyle","errorStyle"]),q={mainStyle:j,keyStyle:G,valueStyle:Y,stringStyle:J,booleanStyle:X,errorStyle:Z},te=w||E;if(typeof te=="string")try{te=JSON.parse(te)}catch(I){return D||console.warn("[react-json-pretty]: "+I.message),L&&L(I),!L&&z&&(z(I),console.warn("JSONPretty#onError is deprecated, please use JSONPretty#onJSONPrettyError instead")),u.createElement("div",t({},ce,{dangerouslySetInnerHTML:{__html:'<pre class="__json-pretty-error__"'+d("error",N,q)+">"+h(te)+"</pre>"}}))}return u.createElement("div",t({},ce,{dangerouslySetInnerHTML:{__html:'<pre class="'+O+'"'+d("main",N,q)+">"+this._pretty(N,te,R,+C,q)+"</pre>"}}))},b.prototype._pretty=function(S,E,w,R,C){var O=/^( *)("[^"]+": )?("[^"]*"|[\w.+-]*)?([,[{]|\[\s*\],?|\{\s*\},?)?$/mg,N=JSON.stringify(E,typeof w=="function"?w:null,isNaN(R)?2:R);return N&&N.replace(/&/g,"&").replace(/\\"([^,])/g,"\\"$1").replace(/</g,"<").replace(/>/g,">").replace(O,this._replace.bind(null,S,C))},b.prototype._replace=function(S,E,w,R,C,O,N){var L="</span>",z='<span class="__json-key__"'+d("key",S,E)+">",D='<span class="__json-value__"'+d("value",S,E)+">",j='<span class="__json-string__"'+d("string",S,E)+">",G='<span class="__json-boolean__"'+d("boolean",S,E)+">",Y=R||"";return C&&(Y=Y+'"'+z+C.replace(/^"|":\s$/g,"")+L+'": '),O&&(O==="true"||O==="false"?Y=Y+G+O+L:Y=Y+(O[0]==='"'?j:D)+O+L),Y+(N||"")},b.propTypes={data:l.any,json:l.any,replacer:l.func,silent:l.bool,space:l.oneOfType([l.number,l.string]),theme:l.object,themeClassName:l.string,onJSONPrettyError:l.func},b.defaultProps={data:"",json:"",silent:!0,space:2,themeClassName:"__json-pretty__"},b})(u.Component);return Fn=m,Fn}a(TU,"requireJSONPretty");var RU=TU();const OF=vr(RU);var hf="Switch",[OU]=Gt(hf),[AU,_U]=OU(hf),QR=x.forwardRef((e,t)=>{const{__scopeSwitch:r,name:o,checked:l,defaultChecked:u,required:c,disabled:d,value:p="on",onCheckedChange:h,form:m,...g}=e,[b,S]=x.useState(null),E=ze(t,N=>S(N)),w=x.useRef(!1),R=b?m||!!b.closest("form"):!0,[C,O]=mr({prop:l,defaultProp:u??!1,onChange:h,caller:hf});return k.jsxs(AU,{scope:r,checked:C,disabled:d,children:[k.jsx(Ee.button,{type:"button",role:"switch","aria-checked":C,"aria-required":c,"data-state":JR(C),"data-disabled":d?"":void 0,disabled:d,value:p,...g,ref:E,onClick:ge(e.onClick,N=>{O(L=>!L),R&&(w.current=N.isPropagationStopped(),w.current||N.stopPropagation())})}),R&&k.jsx(ZR,{control:b,bubbles:!w.current,name:o,value:p,checked:C,required:c,disabled:d,form:m,style:{transform:"translateX(-100%)"}})]})});QR.displayName=hf;var XR="SwitchThumb",WR=x.forwardRef((e,t)=>{const{__scopeSwitch:r,...o}=e,l=_U(XR,r);return k.jsx(Ee.span,{"data-state":JR(l.checked),"data-disabled":l.disabled?"":void 0,...o,ref:t})});WR.displayName=XR;var MU="SwitchBubbleInput",ZR=x.forwardRef(({__scopeSwitch:e,control:t,checked:r,bubbles:o=!0,...l},u)=>{const c=x.useRef(null),d=ze(c,u),p=pE(r),h=Qx(t);return x.useEffect(()=>{const m=c.current;if(!m)return;const g=window.HTMLInputElement.prototype,S=Object.getOwnPropertyDescriptor(g,"checked").set;if(p!==r&&S){const E=new Event("click",{bubbles:o});S.call(m,r),m.dispatchEvent(E)}},[p,r,o]),k.jsx("input",{type:"checkbox","aria-hidden":!0,defaultChecked:r,...l,tabIndex:-1,ref:d,style:{...l.style,...h,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});ZR.displayName=MU;function JR(e){return e?"checked":"unchecked"}a(JR,"getState");var AF=QR,_F=WR;export{rF as $,VH as A,UH as B,nN as C,iN as D,qH as E,WU as F,jH as G,$H as H,PH as I,SH as J,YH as K,AH as L,KH as M,QH as N,tN as O,eN as P,XH as Q,zU as R,LU as S,JM as T,ZH as U,DH as V,JH as W,uH as X,WH as Y,eF as Z,tF as _,ZM as a,xF as a$,aF as a0,lF as a1,oF as a2,iF as a3,nF as a4,eB as a5,DU as a6,QU as a7,XU as a8,mB as a9,fF as aA,dF as aB,pF as aC,bH as aD,xH as aE,Ri as aF,qU as aG,tH as aH,uB as aI,FB as aJ,oL as aK,vB as aL,QB as aM,pB as aN,$B as aO,wB as aP,YB as aQ,aB as aR,NB as aS,hF as aT,Ge as aU,Ze as aV,SF as aW,mF as aX,gF as aY,vF as aZ,bF as a_,jU as aa,FU as ab,MB as ac,iB as ad,rH as ae,VB as af,GB as ag,OB as ah,oH as ai,AB as aj,sF as ak,uF as al,cF as am,gz as an,Ez as ao,xB as ap,EB as aq,bB as ar,SB as as,UB as at,nH as au,lB as av,dB as aw,Bw as ax,Bm as ay,tB as az,Lx as b,sB as b$,yF as b0,qB as b1,HB as b2,lH as b3,hB as b4,JB as b5,VU as b6,yB as b7,ER as b8,s8 as b9,KR as bA,oB as bB,cH as bC,$U as bD,RB as bE,IU as bF,iH as bG,BB as bH,aH as bI,rB as bJ,XB as bK,nB as bL,PB as bM,GU as bN,_B as bO,sH as bP,JU as bQ,ZU as bR,TF as bS,RF as bT,OF as bU,cB as bV,HU as bW,eH as bX,ZB as bY,BU as bZ,fB as b_,wF as ba,Rj as bb,Tj as bc,pa as bd,ES as be,TR as bf,gj as bg,IS as bh,bn as bi,ur as bj,rn as bk,am as bl,of as bm,st as bn,gr as bo,Ey as bp,De as bq,We as br,bj as bs,EF as bt,Y8 as bu,bU as bv,xU as bw,CB as bx,CF as by,YR as bz,rN as c,Me as c0,DB as c1,KB as c2,jB as c3,UU as c4,zB as c5,gB as c6,IB as c7,WB as c8,wH as c9,AF as ca,_F as cb,Yw as cc,TB as cd,TH as ce,vH as cf,gH as cg,CH as ch,kB as ci,EH as cj,P3 as ck,PU as cl,fH as d,dH as e,pH as f,vr as g,hH as h,mH as i,k as j,LB as k,RH as l,OH as m,_H as n,MH as o,NH as p,kH as q,x as r,KU as s,LH as t,zH as u,IH as v,BH as w,FH as x,YU as y,HH as z};
|
|
611
|
-
//# sourceMappingURL=react-vendor-C1OK-nqm.js.map
|