@chenpu17/cc-gw 0.8.30 → 0.9.0-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.
Files changed (78) hide show
  1. package/package.json +8 -8
  2. package/src/web/dist/assets/About-DY21fypB.js +1 -0
  3. package/src/web/dist/assets/ApiKeys-FWkRLPTy.js +1 -0
  4. package/src/web/dist/assets/{ConfirmDialog-VrbumD7j.js → ConfirmDialog-CyTpXZeT.js} +1 -1
  5. package/src/web/dist/assets/Dashboard-FKM-9UNt.js +1 -0
  6. package/src/web/dist/assets/DialogShell-CM92wXHo.js +1 -0
  7. package/src/web/dist/assets/Events-x_fSf1mz.js +1 -0
  8. package/src/web/dist/assets/{Help-BiuR792b.js → Help-BMgllYJq.js} +1 -1
  9. package/src/web/dist/assets/Login-DrtDFqbk.js +1 -0
  10. package/src/web/dist/assets/Logs-18flgbiW.js +1 -0
  11. package/src/web/dist/assets/{PageSection-D1vbxAKK.js → PageSection-N34Nu8NO.js} +1 -1
  12. package/src/web/dist/assets/PageState-CFLrRswm.js +1 -0
  13. package/src/web/dist/assets/{PageToolbar-DzpjQ7SY.js → PageToolbar-CWw40AFL.js} +1 -1
  14. package/src/web/dist/assets/ProvidersWorkbench-aHO5-ApY.js +1 -0
  15. package/src/web/dist/assets/Settings-iEjCAGgm.js +1 -0
  16. package/src/web/dist/assets/Setup-B1j2zExa.js +2 -0
  17. package/src/web/dist/assets/{apiKeys-Dl_vgy_U.js → apiKeys-k1jIJuDa.js} +1 -1
  18. package/src/web/dist/assets/app-Citq5KW4.js +61 -0
  19. package/src/web/dist/assets/badge-DpUlf_NW.js +1 -0
  20. package/src/web/dist/assets/{card-DS9KKz-k.js → card-D4YOc5eB.js} +1 -1
  21. package/src/web/dist/assets/{charts-core-CAVUzIcU.js → charts-core-BTTtAoo-.js} +1 -1
  22. package/src/web/dist/assets/{charts-engine-BRCKiVl4.js → charts-engine-CFhx8nba.js} +1 -1
  23. package/src/web/dist/assets/{charts-react-B-D6Gq0w.js → charts-react-BQP6-BFp.js} +1 -1
  24. package/src/web/dist/assets/{disclosure-CqU8C-ET.js → disclosure-l5qsWhr7.js} +1 -1
  25. package/src/web/dist/assets/{gateway-Bt6lPuXq.js → gateway-i49olSPp.js} +1 -1
  26. package/src/web/dist/assets/{global-zt8jbW7F.js → global-BCehxTGJ.js} +1 -1
  27. package/src/web/dist/assets/global-CIVH6GQV.css +1 -0
  28. package/src/web/dist/assets/{i18n-DWfLgqoF.js → i18n-PeX9kBVO.js} +1 -1
  29. package/src/web/dist/assets/{label-CWq3wWgE.js → label-DSVzZIex.js} +1 -1
  30. package/src/web/dist/assets/landing-W4f2Nx8j.js +17 -0
  31. package/src/web/dist/assets/metric-card-G1bbpbiR.js +1 -0
  32. package/src/web/dist/assets/package-B2CgmdJ7.js +1 -0
  33. package/src/web/dist/assets/popover-QZXvcPr8.js +1 -0
  34. package/src/web/dist/assets/{query-CZuclkQv.js → query-DZF7K6hv.js} +1 -1
  35. package/src/web/dist/assets/radix-Bux_1C5J.js +5 -0
  36. package/src/web/dist/assets/{router-C1-ppOz7.js → router-BoBrmro7.js} +2 -2
  37. package/src/web/dist/assets/segmented-control-13KTib6k.js +1 -0
  38. package/src/web/dist/assets/{select-CxIEo3DN.js → select-sOwKYsgI.js} +1 -1
  39. package/src/web/dist/assets/shared-Cuakym23.js +1 -0
  40. package/src/web/dist/assets/switch-7PH_rDz6.js +1 -0
  41. package/src/web/dist/assets/table-CVuTTP1s.js +1 -0
  42. package/src/web/dist/assets/{tabs-BOjStrRw.js → tabs-UWyz9J_W.js} +1 -1
  43. package/src/web/dist/assets/types-DYz12j32.js +1 -0
  44. package/src/web/dist/assets/useAppMutation-CEN5Oa4S.js +1 -0
  45. package/src/web/dist/assets/{useEventStream-DeEWwZq0.js → useEventStream-BYg6oKvQ.js} +1 -1
  46. package/src/web/dist/assets/useProviderForm-DZEYuRhD.js +1 -0
  47. package/src/web/dist/assets/utils-B_Q3Hhgb.js +3 -0
  48. package/src/web/dist/assets/vendor-CITafuNQ.js +409 -0
  49. package/src/web/dist/index.html +15 -9
  50. package/src/web/dist/landing.html +5 -5
  51. package/src/web/dist/assets/About-CGQXnQXw.js +0 -1
  52. package/src/web/dist/assets/ApiKeys-Cse0CWpH.js +0 -1
  53. package/src/web/dist/assets/Dashboard-CtOgjfmM.js +0 -1
  54. package/src/web/dist/assets/DialogShell-TRFN3c58.js +0 -1
  55. package/src/web/dist/assets/EChart-CZqGiync.js +0 -1
  56. package/src/web/dist/assets/Events-C14a-qPg.js +0 -1
  57. package/src/web/dist/assets/Login-B-xiAusP.js +0 -1
  58. package/src/web/dist/assets/Logs-oNopHEDO.js +0 -1
  59. package/src/web/dist/assets/PageState-CPKqNFG7.js +0 -1
  60. package/src/web/dist/assets/ProvidersWorkbench-B5g4UvTf.js +0 -1
  61. package/src/web/dist/assets/Settings-CPpQt_UL.js +0 -1
  62. package/src/web/dist/assets/Setup-DNJ1W4sK.js +0 -2
  63. package/src/web/dist/assets/app-CeLCVbqy.js +0 -61
  64. package/src/web/dist/assets/global-B1Xg1dWA.css +0 -1
  65. package/src/web/dist/assets/landing-D6Ek28oa.js +0 -17
  66. package/src/web/dist/assets/metric-card-CueQ0u3Z.js +0 -1
  67. package/src/web/dist/assets/package-CdOrNWtP.js +0 -1
  68. package/src/web/dist/assets/popover-0fHMO-3Y.js +0 -1
  69. package/src/web/dist/assets/queryKeys-BlGm18Nk.js +0 -1
  70. package/src/web/dist/assets/radix-OaJStcH-.js +0 -5
  71. package/src/web/dist/assets/segmented-control-do2mQidJ.js +0 -1
  72. package/src/web/dist/assets/shared-fOyVvn5H.js +0 -1
  73. package/src/web/dist/assets/switch-B2cQk2bS.js +0 -1
  74. package/src/web/dist/assets/table-BxCEZcKF.js +0 -1
  75. package/src/web/dist/assets/useAppMutation-DY1JJByx.js +0 -1
  76. package/src/web/dist/assets/useProviderForm-DlALMLaD.js +0 -1
  77. package/src/web/dist/assets/utils-DrKJJFzS.js +0 -3
  78. package/src/web/dist/assets/vendor-m8O77Czp.js +0 -390
@@ -1,390 +0,0 @@
1
- var rp=e=>{throw TypeError(e)};var hu=(e,t,n)=>t.has(e)||rp("Cannot "+n);var S=(e,t,n)=>(hu(e,t,"read from private field"),n?n.call(e):t.get(e)),B=(e,t,n)=>t.has(e)?rp("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),_=(e,t,n,r)=>(hu(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),G=(e,t,n)=>(hu(e,t,"access private method"),n);var zo=(e,t,n,r)=>({set _(i){_(e,t,i,n)},get _(){return S(e,t,r)}});function fS(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const i in r)if(i!=="default"&&!(i in e)){const s=Object.getOwnPropertyDescriptor(r,i);s&&Object.defineProperty(e,i,s.get?s:{enumerable:!0,get:()=>r[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}function Zg(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function dS(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return e[r]}})}),n}var Jg={exports:{}},_l={},ev={exports:{}},Y={};/**
2
- * @license React
3
- * react.production.min.js
4
- *
5
- * Copyright (c) Facebook, Inc. and its affiliates.
6
- *
7
- * This source code is licensed under the MIT license found in the
8
- * LICENSE file in the root directory of this source tree.
9
- */var ko=Symbol.for("react.element"),hS=Symbol.for("react.portal"),pS=Symbol.for("react.fragment"),mS=Symbol.for("react.strict_mode"),yS=Symbol.for("react.profiler"),gS=Symbol.for("react.provider"),vS=Symbol.for("react.context"),wS=Symbol.for("react.forward_ref"),xS=Symbol.for("react.suspense"),SS=Symbol.for("react.memo"),kS=Symbol.for("react.lazy"),ip=Symbol.iterator;function CS(e){return e===null||typeof e!="object"?null:(e=ip&&e[ip]||e["@@iterator"],typeof e=="function"?e:null)}var tv={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},nv=Object.assign,rv={};function ns(e,t,n){this.props=e,this.context=t,this.refs=rv,this.updater=n||tv}ns.prototype.isReactComponent={};ns.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};ns.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function iv(){}iv.prototype=ns.prototype;function cd(e,t,n){this.props=e,this.context=t,this.refs=rv,this.updater=n||tv}var fd=cd.prototype=new iv;fd.constructor=cd;nv(fd,ns.prototype);fd.isPureReactComponent=!0;var sp=Array.isArray,sv=Object.prototype.hasOwnProperty,dd={current:null},ov={key:!0,ref:!0,__self:!0,__source:!0};function av(e,t,n){var r,i={},s=null,o=null;if(t!=null)for(r in t.ref!==void 0&&(o=t.ref),t.key!==void 0&&(s=""+t.key),t)sv.call(t,r)&&!ov.hasOwnProperty(r)&&(i[r]=t[r]);var a=arguments.length-2;if(a===1)i.children=n;else if(1<a){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+2];i.children=l}if(e&&e.defaultProps)for(r in a=e.defaultProps,a)i[r]===void 0&&(i[r]=a[r]);return{$$typeof:ko,type:e,key:s,ref:o,props:i,_owner:dd.current}}function ES(e,t){return{$$typeof:ko,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function hd(e){return typeof e=="object"&&e!==null&&e.$$typeof===ko}function bS(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var op=/\/+/g;function pu(e,t){return typeof e=="object"&&e!==null&&e.key!=null?bS(""+e.key):t.toString(36)}function va(e,t,n,r,i){var s=typeof e;(s==="undefined"||s==="boolean")&&(e=null);var o=!1;if(e===null)o=!0;else switch(s){case"string":case"number":o=!0;break;case"object":switch(e.$$typeof){case ko:case hS:o=!0}}if(o)return o=e,i=i(o),e=r===""?"."+pu(o,0):r,sp(i)?(n="",e!=null&&(n=e.replace(op,"$&/")+"/"),va(i,t,n,"",function(u){return u})):i!=null&&(hd(i)&&(i=ES(i,n+(!i.key||o&&o.key===i.key?"":(""+i.key).replace(op,"$&/")+"/")+e)),t.push(i)),1;if(o=0,r=r===""?".":r+":",sp(e))for(var a=0;a<e.length;a++){s=e[a];var l=r+pu(s,a);o+=va(s,t,n,l,i)}else if(l=CS(e),typeof l=="function")for(e=l.call(e),a=0;!(s=e.next()).done;)s=s.value,l=r+pu(s,a++),o+=va(s,t,n,l,i);else if(s==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return o}function Bo(e,t,n){if(e==null)return e;var r=[],i=0;return va(e,r,"","",function(s){return t.call(n,s,i++)}),r}function PS(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var Ge={current:null},wa={transition:null},TS={ReactCurrentDispatcher:Ge,ReactCurrentBatchConfig:wa,ReactCurrentOwner:dd};function lv(){throw Error("act(...) is not supported in production builds of React.")}Y.Children={map:Bo,forEach:function(e,t,n){Bo(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return Bo(e,function(){t++}),t},toArray:function(e){return Bo(e,function(t){return t})||[]},only:function(e){if(!hd(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};Y.Component=ns;Y.Fragment=pS;Y.Profiler=yS;Y.PureComponent=cd;Y.StrictMode=mS;Y.Suspense=xS;Y.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=TS;Y.act=lv;Y.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=nv({},e.props),i=e.key,s=e.ref,o=e._owner;if(t!=null){if(t.ref!==void 0&&(s=t.ref,o=dd.current),t.key!==void 0&&(i=""+t.key),e.type&&e.type.defaultProps)var a=e.type.defaultProps;for(l in t)sv.call(t,l)&&!ov.hasOwnProperty(l)&&(r[l]=t[l]===void 0&&a!==void 0?a[l]:t[l])}var l=arguments.length-2;if(l===1)r.children=n;else if(1<l){a=Array(l);for(var u=0;u<l;u++)a[u]=arguments[u+2];r.children=a}return{$$typeof:ko,type:e.type,key:i,ref:s,props:r,_owner:o}};Y.createContext=function(e){return e={$$typeof:vS,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:gS,_context:e},e.Consumer=e};Y.createElement=av;Y.createFactory=function(e){var t=av.bind(null,e);return t.type=e,t};Y.createRef=function(){return{current:null}};Y.forwardRef=function(e){return{$$typeof:wS,render:e}};Y.isValidElement=hd;Y.lazy=function(e){return{$$typeof:kS,_payload:{_status:-1,_result:e},_init:PS}};Y.memo=function(e,t){return{$$typeof:SS,type:e,compare:t===void 0?null:t}};Y.startTransition=function(e){var t=wa.transition;wa.transition={};try{e()}finally{wa.transition=t}};Y.unstable_act=lv;Y.useCallback=function(e,t){return Ge.current.useCallback(e,t)};Y.useContext=function(e){return Ge.current.useContext(e)};Y.useDebugValue=function(){};Y.useDeferredValue=function(e){return Ge.current.useDeferredValue(e)};Y.useEffect=function(e,t){return Ge.current.useEffect(e,t)};Y.useId=function(){return Ge.current.useId()};Y.useImperativeHandle=function(e,t,n){return Ge.current.useImperativeHandle(e,t,n)};Y.useInsertionEffect=function(e,t){return Ge.current.useInsertionEffect(e,t)};Y.useLayoutEffect=function(e,t){return Ge.current.useLayoutEffect(e,t)};Y.useMemo=function(e,t){return Ge.current.useMemo(e,t)};Y.useReducer=function(e,t,n){return Ge.current.useReducer(e,t,n)};Y.useRef=function(e){return Ge.current.useRef(e)};Y.useState=function(e){return Ge.current.useState(e)};Y.useSyncExternalStore=function(e,t,n){return Ge.current.useSyncExternalStore(e,t,n)};Y.useTransition=function(){return Ge.current.useTransition()};Y.version="18.3.1";ev.exports=Y;var T=ev.exports;const RS=Zg(T),sL=fS({__proto__:null,default:RS},[T]);/**
10
- * @license React
11
- * react-jsx-runtime.production.min.js
12
- *
13
- * Copyright (c) Facebook, Inc. and its affiliates.
14
- *
15
- * This source code is licensed under the MIT license found in the
16
- * LICENSE file in the root directory of this source tree.
17
- */var AS=T,MS=Symbol.for("react.element"),OS=Symbol.for("react.fragment"),DS=Object.prototype.hasOwnProperty,LS=AS.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,_S={key:!0,ref:!0,__self:!0,__source:!0};function uv(e,t,n){var r,i={},s=null,o=null;n!==void 0&&(s=""+n),t.key!==void 0&&(s=""+t.key),t.ref!==void 0&&(o=t.ref);for(r in t)DS.call(t,r)&&!_S.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)i[r]===void 0&&(i[r]=t[r]);return{$$typeof:MS,type:e,key:s,ref:o,props:i,_owner:LS.current}}_l.Fragment=OS;_l.jsx=uv;_l.jsxs=uv;Jg.exports=_l;var xn=Jg.exports,ap={},cv={exports:{}},dt={},fv={exports:{}},dv={};/**
18
- * @license React
19
- * scheduler.production.min.js
20
- *
21
- * Copyright (c) Facebook, Inc. and its affiliates.
22
- *
23
- * This source code is licensed under the MIT license found in the
24
- * LICENSE file in the root directory of this source tree.
25
- */(function(e){function t(A,L){var O=A.length;A.push(L);e:for(;0<O;){var q=O-1>>>1,te=A[q];if(0<i(te,L))A[q]=L,A[O]=te,O=q;else break e}}function n(A){return A.length===0?null:A[0]}function r(A){if(A.length===0)return null;var L=A[0],O=A.pop();if(O!==L){A[0]=O;e:for(var q=0,te=A.length,Pt=te>>>1;q<Pt;){var Ve=2*(q+1)-1,pe=A[Ve],ce=Ve+1,sn=A[ce];if(0>i(pe,O))ce<te&&0>i(sn,pe)?(A[q]=sn,A[ce]=O,q=ce):(A[q]=pe,A[Ve]=O,q=Ve);else if(ce<te&&0>i(sn,O))A[q]=sn,A[ce]=O,q=ce;else break e}}return L}function i(A,L){var O=A.sortIndex-L.sortIndex;return O!==0?O:A.id-L.id}if(typeof performance=="object"&&typeof performance.now=="function"){var s=performance;e.unstable_now=function(){return s.now()}}else{var o=Date,a=o.now();e.unstable_now=function(){return o.now()-a}}var l=[],u=[],c=1,f=null,d=3,p=!1,h=!1,y=!1,w=typeof setTimeout=="function"?setTimeout:null,m=typeof clearTimeout=="function"?clearTimeout:null,g=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function v(A){for(var L=n(u);L!==null;){if(L.callback===null)r(u);else if(L.startTime<=A)r(u),L.sortIndex=L.expirationTime,t(l,L);else break;L=n(u)}}function x(A){if(y=!1,v(A),!h)if(n(l)!==null)h=!0,z(C);else{var L=n(u);L!==null&&ee(x,L.startTime-A)}}function C(A,L){h=!1,y&&(y=!1,m(k),k=-1),p=!0;var O=d;try{for(v(L),f=n(l);f!==null&&(!(f.expirationTime>L)||A&&!F());){var q=f.callback;if(typeof q=="function"){f.callback=null,d=f.priorityLevel;var te=q(f.expirationTime<=L);L=e.unstable_now(),typeof te=="function"?f.callback=te:f===n(l)&&r(l),v(L)}else r(l);f=n(l)}if(f!==null)var Pt=!0;else{var Ve=n(u);Ve!==null&&ee(x,Ve.startTime-L),Pt=!1}return Pt}finally{f=null,d=O,p=!1}}var E=!1,b=null,k=-1,M=5,R=-1;function F(){return!(e.unstable_now()-R<M)}function U(){if(b!==null){var A=e.unstable_now();R=A;var L=!0;try{L=b(!0,A)}finally{L?K():(E=!1,b=null)}}else E=!1}var K;if(typeof g=="function")K=function(){g(U)};else if(typeof MessageChannel<"u"){var W=new MessageChannel,X=W.port2;W.port1.onmessage=U,K=function(){X.postMessage(null)}}else K=function(){w(U,0)};function z(A){b=A,E||(E=!0,K())}function ee(A,L){k=w(function(){A(e.unstable_now())},L)}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(A){A.callback=null},e.unstable_continueExecution=function(){h||p||(h=!0,z(C))},e.unstable_forceFrameRate=function(A){0>A||125<A?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):M=0<A?Math.floor(1e3/A):5},e.unstable_getCurrentPriorityLevel=function(){return d},e.unstable_getFirstCallbackNode=function(){return n(l)},e.unstable_next=function(A){switch(d){case 1:case 2:case 3:var L=3;break;default:L=d}var O=d;d=L;try{return A()}finally{d=O}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(A,L){switch(A){case 1:case 2:case 3:case 4:case 5:break;default:A=3}var O=d;d=A;try{return L()}finally{d=O}},e.unstable_scheduleCallback=function(A,L,O){var q=e.unstable_now();switch(typeof O=="object"&&O!==null?(O=O.delay,O=typeof O=="number"&&0<O?q+O:q):O=q,A){case 1:var te=-1;break;case 2:te=250;break;case 5:te=1073741823;break;case 4:te=1e4;break;default:te=5e3}return te=O+te,A={id:c++,callback:L,priorityLevel:A,startTime:O,expirationTime:te,sortIndex:-1},O>q?(A.sortIndex=O,t(u,A),n(l)===null&&A===n(u)&&(y?(m(k),k=-1):y=!0,ee(x,O-q))):(A.sortIndex=te,t(l,A),h||p||(h=!0,z(C))),A},e.unstable_shouldYield=F,e.unstable_wrapCallback=function(A){var L=d;return function(){var O=d;d=L;try{return A.apply(this,arguments)}finally{d=O}}}})(dv);fv.exports=dv;var FS=fv.exports;/**
26
- * @license React
27
- * react-dom.production.min.js
28
- *
29
- * Copyright (c) Facebook, Inc. and its affiliates.
30
- *
31
- * This source code is licensed under the MIT license found in the
32
- * LICENSE file in the root directory of this source tree.
33
- */var VS=T,ft=FS;function D(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var hv=new Set,Hs={};function Jr(e,t){Wi(e,t),Wi(e+"Capture",t)}function Wi(e,t){for(Hs[e]=t,e=0;e<t.length;e++)hv.add(t[e])}var Cn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),vc=Object.prototype.hasOwnProperty,NS=/^[: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]*$/,lp={},up={};function IS(e){return vc.call(up,e)?!0:vc.call(lp,e)?!1:NS.test(e)?up[e]=!0:(lp[e]=!0,!1)}function jS(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function zS(e,t,n,r){if(t===null||typeof t>"u"||jS(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Qe(e,t,n,r,i,s,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=s,this.removeEmptyString=o}var Fe={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Fe[e]=new Qe(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Fe[t]=new Qe(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Fe[e]=new Qe(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Fe[e]=new Qe(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Fe[e]=new Qe(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Fe[e]=new Qe(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Fe[e]=new Qe(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Fe[e]=new Qe(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Fe[e]=new Qe(e,5,!1,e.toLowerCase(),null,!1,!1)});var pd=/[\-:]([a-z])/g;function md(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(pd,md);Fe[t]=new Qe(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(pd,md);Fe[t]=new Qe(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(pd,md);Fe[t]=new Qe(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Fe[e]=new Qe(e,1,!1,e.toLowerCase(),null,!1,!1)});Fe.xlinkHref=new Qe("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Fe[e]=new Qe(e,1,!1,e.toLowerCase(),null,!0,!0)});function yd(e,t,n,r){var i=Fe.hasOwnProperty(t)?Fe[t]:null;(i!==null?i.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(zS(t,n,i,r)&&(n=null),r||i===null?IS(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=n===null?i.type===3?!1:"":n:(t=i.attributeName,r=i.attributeNamespace,n===null?e.removeAttribute(t):(i=i.type,n=i===3||i===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var An=VS.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Uo=Symbol.for("react.element"),ai=Symbol.for("react.portal"),li=Symbol.for("react.fragment"),gd=Symbol.for("react.strict_mode"),wc=Symbol.for("react.profiler"),pv=Symbol.for("react.provider"),mv=Symbol.for("react.context"),vd=Symbol.for("react.forward_ref"),xc=Symbol.for("react.suspense"),Sc=Symbol.for("react.suspense_list"),wd=Symbol.for("react.memo"),Vn=Symbol.for("react.lazy"),yv=Symbol.for("react.offscreen"),cp=Symbol.iterator;function ds(e){return e===null||typeof e!="object"?null:(e=cp&&e[cp]||e["@@iterator"],typeof e=="function"?e:null)}var he=Object.assign,mu;function Ps(e){if(mu===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);mu=t&&t[1]||""}return`
34
- `+mu+e}var yu=!1;function gu(e,t){if(!e||yu)return"";yu=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}catch(u){if(u&&r&&typeof u.stack=="string"){for(var i=u.stack.split(`
35
- `),s=r.stack.split(`
36
- `),o=i.length-1,a=s.length-1;1<=o&&0<=a&&i[o]!==s[a];)a--;for(;1<=o&&0<=a;o--,a--)if(i[o]!==s[a]){if(o!==1||a!==1)do if(o--,a--,0>a||i[o]!==s[a]){var l=`
37
- `+i[o].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}while(1<=o&&0<=a);break}}}finally{yu=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Ps(e):""}function BS(e){switch(e.tag){case 5:return Ps(e.type);case 16:return Ps("Lazy");case 13:return Ps("Suspense");case 19:return Ps("SuspenseList");case 0:case 2:case 15:return e=gu(e.type,!1),e;case 11:return e=gu(e.type.render,!1),e;case 1:return e=gu(e.type,!0),e;default:return""}}function kc(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case li:return"Fragment";case ai:return"Portal";case wc:return"Profiler";case gd:return"StrictMode";case xc:return"Suspense";case Sc:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case mv:return(e.displayName||"Context")+".Consumer";case pv:return(e._context.displayName||"Context")+".Provider";case vd:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case wd:return t=e.displayName||null,t!==null?t:kc(e.type)||"Memo";case Vn:t=e._payload,e=e._init;try{return kc(e(t))}catch{}}return null}function US(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return kc(t);case 8:return t===gd?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function ar(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function gv(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function $S(e){var t=gv(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,s=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(o){r=""+o,s.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function $o(e){e._valueTracker||(e._valueTracker=$S(e))}function vv(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=gv(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Ka(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Cc(e,t){var n=t.checked;return he({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function fp(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=ar(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function wv(e,t){t=t.checked,t!=null&&yd(e,"checked",t,!1)}function Ec(e,t){wv(e,t);var n=ar(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?bc(e,t.type,n):t.hasOwnProperty("defaultValue")&&bc(e,t.type,ar(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function dp(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function bc(e,t,n){(t!=="number"||Ka(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Ts=Array.isArray;function Ci(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+ar(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function Pc(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(D(91));return he({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function hp(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(D(92));if(Ts(n)){if(1<n.length)throw Error(D(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:ar(n)}}function xv(e,t){var n=ar(t.value),r=ar(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function pp(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function Sv(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Tc(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?Sv(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Wo,kv=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,i){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,i)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(Wo=Wo||document.createElement("div"),Wo.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Wo.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Ks(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Ds={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},WS=["Webkit","ms","Moz","O"];Object.keys(Ds).forEach(function(e){WS.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Ds[t]=Ds[e]})});function Cv(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Ds.hasOwnProperty(e)&&Ds[e]?(""+t).trim():t+"px"}function Ev(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=Cv(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var HS=he({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Rc(e,t){if(t){if(HS[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(D(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(D(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(D(61))}if(t.style!=null&&typeof t.style!="object")throw Error(D(62))}}function Ac(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Mc=null;function xd(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Oc=null,Ei=null,bi=null;function mp(e){if(e=bo(e)){if(typeof Oc!="function")throw Error(D(280));var t=e.stateNode;t&&(t=jl(t),Oc(e.stateNode,e.type,t))}}function bv(e){Ei?bi?bi.push(e):bi=[e]:Ei=e}function Pv(){if(Ei){var e=Ei,t=bi;if(bi=Ei=null,mp(e),t)for(e=0;e<t.length;e++)mp(t[e])}}function Tv(e,t){return e(t)}function Rv(){}var vu=!1;function Av(e,t,n){if(vu)return e(t,n);vu=!0;try{return Tv(e,t,n)}finally{vu=!1,(Ei!==null||bi!==null)&&(Rv(),Pv())}}function qs(e,t){var n=e.stateNode;if(n===null)return null;var r=jl(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(D(231,t,typeof n));return n}var Dc=!1;if(Cn)try{var hs={};Object.defineProperty(hs,"passive",{get:function(){Dc=!0}}),window.addEventListener("test",hs,hs),window.removeEventListener("test",hs,hs)}catch{Dc=!1}function KS(e,t,n,r,i,s,o,a,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(c){this.onError(c)}}var Ls=!1,qa=null,Ga=!1,Lc=null,qS={onError:function(e){Ls=!0,qa=e}};function GS(e,t,n,r,i,s,o,a,l){Ls=!1,qa=null,KS.apply(qS,arguments)}function QS(e,t,n,r,i,s,o,a,l){if(GS.apply(this,arguments),Ls){if(Ls){var u=qa;Ls=!1,qa=null}else throw Error(D(198));Ga||(Ga=!0,Lc=u)}}function ei(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function Mv(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function yp(e){if(ei(e)!==e)throw Error(D(188))}function XS(e){var t=e.alternate;if(!t){if(t=ei(e),t===null)throw Error(D(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(i===null)break;var s=i.alternate;if(s===null){if(r=i.return,r!==null){n=r;continue}break}if(i.child===s.child){for(s=i.child;s;){if(s===n)return yp(i),e;if(s===r)return yp(i),t;s=s.sibling}throw Error(D(188))}if(n.return!==r.return)n=i,r=s;else{for(var o=!1,a=i.child;a;){if(a===n){o=!0,n=i,r=s;break}if(a===r){o=!0,r=i,n=s;break}a=a.sibling}if(!o){for(a=s.child;a;){if(a===n){o=!0,n=s,r=i;break}if(a===r){o=!0,r=s,n=i;break}a=a.sibling}if(!o)throw Error(D(189))}}if(n.alternate!==r)throw Error(D(190))}if(n.tag!==3)throw Error(D(188));return n.stateNode.current===n?e:t}function Ov(e){return e=XS(e),e!==null?Dv(e):null}function Dv(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=Dv(e);if(t!==null)return t;e=e.sibling}return null}var Lv=ft.unstable_scheduleCallback,gp=ft.unstable_cancelCallback,YS=ft.unstable_shouldYield,ZS=ft.unstable_requestPaint,ve=ft.unstable_now,JS=ft.unstable_getCurrentPriorityLevel,Sd=ft.unstable_ImmediatePriority,_v=ft.unstable_UserBlockingPriority,Qa=ft.unstable_NormalPriority,ek=ft.unstable_LowPriority,Fv=ft.unstable_IdlePriority,Fl=null,Zt=null;function tk(e){if(Zt&&typeof Zt.onCommitFiberRoot=="function")try{Zt.onCommitFiberRoot(Fl,e,void 0,(e.current.flags&128)===128)}catch{}}var Ft=Math.clz32?Math.clz32:ik,nk=Math.log,rk=Math.LN2;function ik(e){return e>>>=0,e===0?32:31-(nk(e)/rk|0)|0}var Ho=64,Ko=4194304;function Rs(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Xa(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,s=e.pingedLanes,o=n&268435455;if(o!==0){var a=o&~i;a!==0?r=Rs(a):(s&=o,s!==0&&(r=Rs(s)))}else o=n&~i,o!==0?r=Rs(o):s!==0&&(r=Rs(s));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,s=t&-t,i>=s||i===16&&(s&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-Ft(t),i=1<<n,r|=e[n],t&=~i;return r}function sk(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function ok(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,s=e.pendingLanes;0<s;){var o=31-Ft(s),a=1<<o,l=i[o];l===-1?(!(a&n)||a&r)&&(i[o]=sk(a,t)):l<=t&&(e.expiredLanes|=a),s&=~a}}function _c(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Vv(){var e=Ho;return Ho<<=1,!(Ho&4194240)&&(Ho=64),e}function wu(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Co(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Ft(t),e[t]=n}function ak(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var i=31-Ft(n),s=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~s}}function kd(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Ft(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var re=0;function Nv(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var Iv,Cd,jv,zv,Bv,Fc=!1,qo=[],Zn=null,Jn=null,er=null,Gs=new Map,Qs=new Map,In=[],lk="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function vp(e,t){switch(e){case"focusin":case"focusout":Zn=null;break;case"dragenter":case"dragleave":Jn=null;break;case"mouseover":case"mouseout":er=null;break;case"pointerover":case"pointerout":Gs.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Qs.delete(t.pointerId)}}function ps(e,t,n,r,i,s){return e===null||e.nativeEvent!==s?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:s,targetContainers:[i]},t!==null&&(t=bo(t),t!==null&&Cd(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function uk(e,t,n,r,i){switch(t){case"focusin":return Zn=ps(Zn,e,t,n,r,i),!0;case"dragenter":return Jn=ps(Jn,e,t,n,r,i),!0;case"mouseover":return er=ps(er,e,t,n,r,i),!0;case"pointerover":var s=i.pointerId;return Gs.set(s,ps(Gs.get(s)||null,e,t,n,r,i)),!0;case"gotpointercapture":return s=i.pointerId,Qs.set(s,ps(Qs.get(s)||null,e,t,n,r,i)),!0}return!1}function Uv(e){var t=Er(e.target);if(t!==null){var n=ei(t);if(n!==null){if(t=n.tag,t===13){if(t=Mv(n),t!==null){e.blockedOn=t,Bv(e.priority,function(){jv(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function xa(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Vc(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);Mc=r,n.target.dispatchEvent(r),Mc=null}else return t=bo(n),t!==null&&Cd(t),e.blockedOn=n,!1;t.shift()}return!0}function wp(e,t,n){xa(e)&&n.delete(t)}function ck(){Fc=!1,Zn!==null&&xa(Zn)&&(Zn=null),Jn!==null&&xa(Jn)&&(Jn=null),er!==null&&xa(er)&&(er=null),Gs.forEach(wp),Qs.forEach(wp)}function ms(e,t){e.blockedOn===t&&(e.blockedOn=null,Fc||(Fc=!0,ft.unstable_scheduleCallback(ft.unstable_NormalPriority,ck)))}function Xs(e){function t(i){return ms(i,e)}if(0<qo.length){ms(qo[0],e);for(var n=1;n<qo.length;n++){var r=qo[n];r.blockedOn===e&&(r.blockedOn=null)}}for(Zn!==null&&ms(Zn,e),Jn!==null&&ms(Jn,e),er!==null&&ms(er,e),Gs.forEach(t),Qs.forEach(t),n=0;n<In.length;n++)r=In[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<In.length&&(n=In[0],n.blockedOn===null);)Uv(n),n.blockedOn===null&&In.shift()}var Pi=An.ReactCurrentBatchConfig,Ya=!0;function fk(e,t,n,r){var i=re,s=Pi.transition;Pi.transition=null;try{re=1,Ed(e,t,n,r)}finally{re=i,Pi.transition=s}}function dk(e,t,n,r){var i=re,s=Pi.transition;Pi.transition=null;try{re=4,Ed(e,t,n,r)}finally{re=i,Pi.transition=s}}function Ed(e,t,n,r){if(Ya){var i=Vc(e,t,n,r);if(i===null)Au(e,t,r,Za,n),vp(e,r);else if(uk(i,e,t,n,r))r.stopPropagation();else if(vp(e,r),t&4&&-1<lk.indexOf(e)){for(;i!==null;){var s=bo(i);if(s!==null&&Iv(s),s=Vc(e,t,n,r),s===null&&Au(e,t,r,Za,n),s===i)break;i=s}i!==null&&r.stopPropagation()}else Au(e,t,r,null,n)}}var Za=null;function Vc(e,t,n,r){if(Za=null,e=xd(r),e=Er(e),e!==null)if(t=ei(e),t===null)e=null;else if(n=t.tag,n===13){if(e=Mv(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Za=e,null}function $v(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(JS()){case Sd:return 1;case _v:return 4;case Qa:case ek:return 16;case Fv:return 536870912;default:return 16}default:return 16}}var Qn=null,bd=null,Sa=null;function Wv(){if(Sa)return Sa;var e,t=bd,n=t.length,r,i="value"in Qn?Qn.value:Qn.textContent,s=i.length;for(e=0;e<n&&t[e]===i[e];e++);var o=n-e;for(r=1;r<=o&&t[n-r]===i[s-r];r++);return Sa=i.slice(e,1<r?1-r:void 0)}function ka(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Go(){return!0}function xp(){return!1}function ht(e){function t(n,r,i,s,o){this._reactName=n,this._targetInst=i,this.type=r,this.nativeEvent=s,this.target=o,this.currentTarget=null;for(var a in e)e.hasOwnProperty(a)&&(n=e[a],this[a]=n?n(s):s[a]);return this.isDefaultPrevented=(s.defaultPrevented!=null?s.defaultPrevented:s.returnValue===!1)?Go:xp,this.isPropagationStopped=xp,this}return he(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=Go)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Go)},persist:function(){},isPersistent:Go}),t}var rs={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Pd=ht(rs),Eo=he({},rs,{view:0,detail:0}),hk=ht(Eo),xu,Su,ys,Vl=he({},Eo,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Td,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==ys&&(ys&&e.type==="mousemove"?(xu=e.screenX-ys.screenX,Su=e.screenY-ys.screenY):Su=xu=0,ys=e),xu)},movementY:function(e){return"movementY"in e?e.movementY:Su}}),Sp=ht(Vl),pk=he({},Vl,{dataTransfer:0}),mk=ht(pk),yk=he({},Eo,{relatedTarget:0}),ku=ht(yk),gk=he({},rs,{animationName:0,elapsedTime:0,pseudoElement:0}),vk=ht(gk),wk=he({},rs,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),xk=ht(wk),Sk=he({},rs,{data:0}),kp=ht(Sk),kk={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Ck={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"},Ek={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function bk(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Ek[e])?!!t[e]:!1}function Td(){return bk}var Pk=he({},Eo,{key:function(e){if(e.key){var t=kk[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=ka(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Ck[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Td,charCode:function(e){return e.type==="keypress"?ka(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?ka(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Tk=ht(Pk),Rk=he({},Vl,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Cp=ht(Rk),Ak=he({},Eo,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Td}),Mk=ht(Ak),Ok=he({},rs,{propertyName:0,elapsedTime:0,pseudoElement:0}),Dk=ht(Ok),Lk=he({},Vl,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),_k=ht(Lk),Fk=[9,13,27,32],Rd=Cn&&"CompositionEvent"in window,_s=null;Cn&&"documentMode"in document&&(_s=document.documentMode);var Vk=Cn&&"TextEvent"in window&&!_s,Hv=Cn&&(!Rd||_s&&8<_s&&11>=_s),Ep=" ",bp=!1;function Kv(e,t){switch(e){case"keyup":return Fk.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function qv(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var ui=!1;function Nk(e,t){switch(e){case"compositionend":return qv(t);case"keypress":return t.which!==32?null:(bp=!0,Ep);case"textInput":return e=t.data,e===Ep&&bp?null:e;default:return null}}function Ik(e,t){if(ui)return e==="compositionend"||!Rd&&Kv(e,t)?(e=Wv(),Sa=bd=Qn=null,ui=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Hv&&t.locale!=="ko"?null:t.data;default:return null}}var jk={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 Pp(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!jk[e.type]:t==="textarea"}function Gv(e,t,n,r){bv(r),t=Ja(t,"onChange"),0<t.length&&(n=new Pd("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Fs=null,Ys=null;function zk(e){s0(e,0)}function Nl(e){var t=di(e);if(vv(t))return e}function Bk(e,t){if(e==="change")return t}var Qv=!1;if(Cn){var Cu;if(Cn){var Eu="oninput"in document;if(!Eu){var Tp=document.createElement("div");Tp.setAttribute("oninput","return;"),Eu=typeof Tp.oninput=="function"}Cu=Eu}else Cu=!1;Qv=Cu&&(!document.documentMode||9<document.documentMode)}function Rp(){Fs&&(Fs.detachEvent("onpropertychange",Xv),Ys=Fs=null)}function Xv(e){if(e.propertyName==="value"&&Nl(Ys)){var t=[];Gv(t,Ys,e,xd(e)),Av(zk,t)}}function Uk(e,t,n){e==="focusin"?(Rp(),Fs=t,Ys=n,Fs.attachEvent("onpropertychange",Xv)):e==="focusout"&&Rp()}function $k(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Nl(Ys)}function Wk(e,t){if(e==="click")return Nl(t)}function Hk(e,t){if(e==="input"||e==="change")return Nl(t)}function Kk(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var It=typeof Object.is=="function"?Object.is:Kk;function Zs(e,t){if(It(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!vc.call(t,i)||!It(e[i],t[i]))return!1}return!0}function Ap(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Mp(e,t){var n=Ap(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Ap(n)}}function Yv(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Yv(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Zv(){for(var e=window,t=Ka();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Ka(e.document)}return t}function Ad(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function qk(e){var t=Zv(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Yv(n.ownerDocument.documentElement,n)){if(r!==null&&Ad(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,s=Math.min(r.start,i);r=r.end===void 0?s:Math.min(r.end,i),!e.extend&&s>r&&(i=r,r=s,s=i),i=Mp(n,s);var o=Mp(n,r);i&&o&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),s>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var Gk=Cn&&"documentMode"in document&&11>=document.documentMode,ci=null,Nc=null,Vs=null,Ic=!1;function Op(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Ic||ci==null||ci!==Ka(r)||(r=ci,"selectionStart"in r&&Ad(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Vs&&Zs(Vs,r)||(Vs=r,r=Ja(Nc,"onSelect"),0<r.length&&(t=new Pd("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=ci)))}function Qo(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var fi={animationend:Qo("Animation","AnimationEnd"),animationiteration:Qo("Animation","AnimationIteration"),animationstart:Qo("Animation","AnimationStart"),transitionend:Qo("Transition","TransitionEnd")},bu={},Jv={};Cn&&(Jv=document.createElement("div").style,"AnimationEvent"in window||(delete fi.animationend.animation,delete fi.animationiteration.animation,delete fi.animationstart.animation),"TransitionEvent"in window||delete fi.transitionend.transition);function Il(e){if(bu[e])return bu[e];if(!fi[e])return e;var t=fi[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Jv)return bu[e]=t[n];return e}var e0=Il("animationend"),t0=Il("animationiteration"),n0=Il("animationstart"),r0=Il("transitionend"),i0=new Map,Dp="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function hr(e,t){i0.set(e,t),Jr(t,[e])}for(var Pu=0;Pu<Dp.length;Pu++){var Tu=Dp[Pu],Qk=Tu.toLowerCase(),Xk=Tu[0].toUpperCase()+Tu.slice(1);hr(Qk,"on"+Xk)}hr(e0,"onAnimationEnd");hr(t0,"onAnimationIteration");hr(n0,"onAnimationStart");hr("dblclick","onDoubleClick");hr("focusin","onFocus");hr("focusout","onBlur");hr(r0,"onTransitionEnd");Wi("onMouseEnter",["mouseout","mouseover"]);Wi("onMouseLeave",["mouseout","mouseover"]);Wi("onPointerEnter",["pointerout","pointerover"]);Wi("onPointerLeave",["pointerout","pointerover"]);Jr("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Jr("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Jr("onBeforeInput",["compositionend","keypress","textInput","paste"]);Jr("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Jr("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Jr("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var As="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(" "),Yk=new Set("cancel close invalid load scroll toggle".split(" ").concat(As));function Lp(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,QS(r,t,void 0,e),e.currentTarget=null}function s0(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var s=void 0;if(t)for(var o=r.length-1;0<=o;o--){var a=r[o],l=a.instance,u=a.currentTarget;if(a=a.listener,l!==s&&i.isPropagationStopped())break e;Lp(i,a,u),s=l}else for(o=0;o<r.length;o++){if(a=r[o],l=a.instance,u=a.currentTarget,a=a.listener,l!==s&&i.isPropagationStopped())break e;Lp(i,a,u),s=l}}}if(Ga)throw e=Lc,Ga=!1,Lc=null,e}function ae(e,t){var n=t[$c];n===void 0&&(n=t[$c]=new Set);var r=e+"__bubble";n.has(r)||(o0(t,e,2,!1),n.add(r))}function Ru(e,t,n){var r=0;t&&(r|=4),o0(n,e,r,t)}var Xo="_reactListening"+Math.random().toString(36).slice(2);function Js(e){if(!e[Xo]){e[Xo]=!0,hv.forEach(function(n){n!=="selectionchange"&&(Yk.has(n)||Ru(n,!1,e),Ru(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Xo]||(t[Xo]=!0,Ru("selectionchange",!1,t))}}function o0(e,t,n,r){switch($v(t)){case 1:var i=fk;break;case 4:i=dk;break;default:i=Ed}n=i.bind(null,t,n,e),i=void 0,!Dc||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(i=!0),r?i!==void 0?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):i!==void 0?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function Au(e,t,n,r,i){var s=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var o=r.tag;if(o===3||o===4){var a=r.stateNode.containerInfo;if(a===i||a.nodeType===8&&a.parentNode===i)break;if(o===4)for(o=r.return;o!==null;){var l=o.tag;if((l===3||l===4)&&(l=o.stateNode.containerInfo,l===i||l.nodeType===8&&l.parentNode===i))return;o=o.return}for(;a!==null;){if(o=Er(a),o===null)return;if(l=o.tag,l===5||l===6){r=s=o;continue e}a=a.parentNode}}r=r.return}Av(function(){var u=s,c=xd(n),f=[];e:{var d=i0.get(e);if(d!==void 0){var p=Pd,h=e;switch(e){case"keypress":if(ka(n)===0)break e;case"keydown":case"keyup":p=Tk;break;case"focusin":h="focus",p=ku;break;case"focusout":h="blur",p=ku;break;case"beforeblur":case"afterblur":p=ku;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":p=Sp;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":p=mk;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":p=Mk;break;case e0:case t0:case n0:p=vk;break;case r0:p=Dk;break;case"scroll":p=hk;break;case"wheel":p=_k;break;case"copy":case"cut":case"paste":p=xk;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":p=Cp}var y=(t&4)!==0,w=!y&&e==="scroll",m=y?d!==null?d+"Capture":null:d;y=[];for(var g=u,v;g!==null;){v=g;var x=v.stateNode;if(v.tag===5&&x!==null&&(v=x,m!==null&&(x=qs(g,m),x!=null&&y.push(eo(g,x,v)))),w)break;g=g.return}0<y.length&&(d=new p(d,h,null,n,c),f.push({event:d,listeners:y}))}}if(!(t&7)){e:{if(d=e==="mouseover"||e==="pointerover",p=e==="mouseout"||e==="pointerout",d&&n!==Mc&&(h=n.relatedTarget||n.fromElement)&&(Er(h)||h[En]))break e;if((p||d)&&(d=c.window===c?c:(d=c.ownerDocument)?d.defaultView||d.parentWindow:window,p?(h=n.relatedTarget||n.toElement,p=u,h=h?Er(h):null,h!==null&&(w=ei(h),h!==w||h.tag!==5&&h.tag!==6)&&(h=null)):(p=null,h=u),p!==h)){if(y=Sp,x="onMouseLeave",m="onMouseEnter",g="mouse",(e==="pointerout"||e==="pointerover")&&(y=Cp,x="onPointerLeave",m="onPointerEnter",g="pointer"),w=p==null?d:di(p),v=h==null?d:di(h),d=new y(x,g+"leave",p,n,c),d.target=w,d.relatedTarget=v,x=null,Er(c)===u&&(y=new y(m,g+"enter",h,n,c),y.target=v,y.relatedTarget=w,x=y),w=x,p&&h)t:{for(y=p,m=h,g=0,v=y;v;v=ni(v))g++;for(v=0,x=m;x;x=ni(x))v++;for(;0<g-v;)y=ni(y),g--;for(;0<v-g;)m=ni(m),v--;for(;g--;){if(y===m||m!==null&&y===m.alternate)break t;y=ni(y),m=ni(m)}y=null}else y=null;p!==null&&_p(f,d,p,y,!1),h!==null&&w!==null&&_p(f,w,h,y,!0)}}e:{if(d=u?di(u):window,p=d.nodeName&&d.nodeName.toLowerCase(),p==="select"||p==="input"&&d.type==="file")var C=Bk;else if(Pp(d))if(Qv)C=Hk;else{C=$k;var E=Uk}else(p=d.nodeName)&&p.toLowerCase()==="input"&&(d.type==="checkbox"||d.type==="radio")&&(C=Wk);if(C&&(C=C(e,u))){Gv(f,C,n,c);break e}E&&E(e,d,u),e==="focusout"&&(E=d._wrapperState)&&E.controlled&&d.type==="number"&&bc(d,"number",d.value)}switch(E=u?di(u):window,e){case"focusin":(Pp(E)||E.contentEditable==="true")&&(ci=E,Nc=u,Vs=null);break;case"focusout":Vs=Nc=ci=null;break;case"mousedown":Ic=!0;break;case"contextmenu":case"mouseup":case"dragend":Ic=!1,Op(f,n,c);break;case"selectionchange":if(Gk)break;case"keydown":case"keyup":Op(f,n,c)}var b;if(Rd)e:{switch(e){case"compositionstart":var k="onCompositionStart";break e;case"compositionend":k="onCompositionEnd";break e;case"compositionupdate":k="onCompositionUpdate";break e}k=void 0}else ui?Kv(e,n)&&(k="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(k="onCompositionStart");k&&(Hv&&n.locale!=="ko"&&(ui||k!=="onCompositionStart"?k==="onCompositionEnd"&&ui&&(b=Wv()):(Qn=c,bd="value"in Qn?Qn.value:Qn.textContent,ui=!0)),E=Ja(u,k),0<E.length&&(k=new kp(k,e,null,n,c),f.push({event:k,listeners:E}),b?k.data=b:(b=qv(n),b!==null&&(k.data=b)))),(b=Vk?Nk(e,n):Ik(e,n))&&(u=Ja(u,"onBeforeInput"),0<u.length&&(c=new kp("onBeforeInput","beforeinput",null,n,c),f.push({event:c,listeners:u}),c.data=b))}s0(f,t)})}function eo(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Ja(e,t){for(var n=t+"Capture",r=[];e!==null;){var i=e,s=i.stateNode;i.tag===5&&s!==null&&(i=s,s=qs(e,n),s!=null&&r.unshift(eo(e,s,i)),s=qs(e,t),s!=null&&r.push(eo(e,s,i))),e=e.return}return r}function ni(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function _p(e,t,n,r,i){for(var s=t._reactName,o=[];n!==null&&n!==r;){var a=n,l=a.alternate,u=a.stateNode;if(l!==null&&l===r)break;a.tag===5&&u!==null&&(a=u,i?(l=qs(n,s),l!=null&&o.unshift(eo(n,l,a))):i||(l=qs(n,s),l!=null&&o.push(eo(n,l,a)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}var Zk=/\r\n?/g,Jk=/\u0000|\uFFFD/g;function Fp(e){return(typeof e=="string"?e:""+e).replace(Zk,`
38
- `).replace(Jk,"")}function Yo(e,t,n){if(t=Fp(t),Fp(e)!==t&&n)throw Error(D(425))}function el(){}var jc=null,zc=null;function Bc(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Uc=typeof setTimeout=="function"?setTimeout:void 0,eC=typeof clearTimeout=="function"?clearTimeout:void 0,Vp=typeof Promise=="function"?Promise:void 0,tC=typeof queueMicrotask=="function"?queueMicrotask:typeof Vp<"u"?function(e){return Vp.resolve(null).then(e).catch(nC)}:Uc;function nC(e){setTimeout(function(){throw e})}function Mu(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n==="/$"){if(r===0){e.removeChild(i),Xs(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=i}while(n);Xs(t)}function tr(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function Np(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var is=Math.random().toString(36).slice(2),Qt="__reactFiber$"+is,to="__reactProps$"+is,En="__reactContainer$"+is,$c="__reactEvents$"+is,rC="__reactListeners$"+is,iC="__reactHandles$"+is;function Er(e){var t=e[Qt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[En]||n[Qt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Np(e);e!==null;){if(n=e[Qt])return n;e=Np(e)}return t}e=n,n=e.parentNode}return null}function bo(e){return e=e[Qt]||e[En],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function di(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(D(33))}function jl(e){return e[to]||null}var Wc=[],hi=-1;function pr(e){return{current:e}}function le(e){0>hi||(e.current=Wc[hi],Wc[hi]=null,hi--)}function oe(e,t){hi++,Wc[hi]=e.current,e.current=t}var lr={},Ue=pr(lr),et=pr(!1),Hr=lr;function Hi(e,t){var n=e.type.contextTypes;if(!n)return lr;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},s;for(s in n)i[s]=t[s];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function tt(e){return e=e.childContextTypes,e!=null}function tl(){le(et),le(Ue)}function Ip(e,t,n){if(Ue.current!==lr)throw Error(D(168));oe(Ue,t),oe(et,n)}function a0(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(D(108,US(e)||"Unknown",i));return he({},n,r)}function nl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||lr,Hr=Ue.current,oe(Ue,e),oe(et,et.current),!0}function jp(e,t,n){var r=e.stateNode;if(!r)throw Error(D(169));n?(e=a0(e,t,Hr),r.__reactInternalMemoizedMergedChildContext=e,le(et),le(Ue),oe(Ue,e)):le(et),oe(et,n)}var hn=null,zl=!1,Ou=!1;function l0(e){hn===null?hn=[e]:hn.push(e)}function sC(e){zl=!0,l0(e)}function mr(){if(!Ou&&hn!==null){Ou=!0;var e=0,t=re;try{var n=hn;for(re=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}hn=null,zl=!1}catch(i){throw hn!==null&&(hn=hn.slice(e+1)),Lv(Sd,mr),i}finally{re=t,Ou=!1}}return null}var pi=[],mi=0,rl=null,il=0,vt=[],wt=0,Kr=null,vn=1,wn="";function Sr(e,t){pi[mi++]=il,pi[mi++]=rl,rl=e,il=t}function u0(e,t,n){vt[wt++]=vn,vt[wt++]=wn,vt[wt++]=Kr,Kr=e;var r=vn;e=wn;var i=32-Ft(r)-1;r&=~(1<<i),n+=1;var s=32-Ft(t)+i;if(30<s){var o=i-i%5;s=(r&(1<<o)-1).toString(32),r>>=o,i-=o,vn=1<<32-Ft(t)+i|n<<i|r,wn=s+e}else vn=1<<s|n<<i|r,wn=e}function Md(e){e.return!==null&&(Sr(e,1),u0(e,1,0))}function Od(e){for(;e===rl;)rl=pi[--mi],pi[mi]=null,il=pi[--mi],pi[mi]=null;for(;e===Kr;)Kr=vt[--wt],vt[wt]=null,wn=vt[--wt],vt[wt]=null,vn=vt[--wt],vt[wt]=null}var lt=null,at=null,ue=!1,_t=null;function c0(e,t){var n=xt(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function zp(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,lt=e,at=tr(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,lt=e,at=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=Kr!==null?{id:vn,overflow:wn}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=xt(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,lt=e,at=null,!0):!1;default:return!1}}function Hc(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Kc(e){if(ue){var t=at;if(t){var n=t;if(!zp(e,t)){if(Hc(e))throw Error(D(418));t=tr(n.nextSibling);var r=lt;t&&zp(e,t)?c0(r,n):(e.flags=e.flags&-4097|2,ue=!1,lt=e)}}else{if(Hc(e))throw Error(D(418));e.flags=e.flags&-4097|2,ue=!1,lt=e}}}function Bp(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;lt=e}function Zo(e){if(e!==lt)return!1;if(!ue)return Bp(e),ue=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Bc(e.type,e.memoizedProps)),t&&(t=at)){if(Hc(e))throw f0(),Error(D(418));for(;t;)c0(e,t),t=tr(t.nextSibling)}if(Bp(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(D(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){at=tr(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}at=null}}else at=lt?tr(e.stateNode.nextSibling):null;return!0}function f0(){for(var e=at;e;)e=tr(e.nextSibling)}function Ki(){at=lt=null,ue=!1}function Dd(e){_t===null?_t=[e]:_t.push(e)}var oC=An.ReactCurrentBatchConfig;function gs(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(D(309));var r=n.stateNode}if(!r)throw Error(D(147,e));var i=r,s=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===s?t.ref:(t=function(o){var a=i.refs;o===null?delete a[s]:a[s]=o},t._stringRef=s,t)}if(typeof e!="string")throw Error(D(284));if(!n._owner)throw Error(D(290,e))}return e}function Jo(e,t){throw e=Object.prototype.toString.call(t),Error(D(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Up(e){var t=e._init;return t(e._payload)}function d0(e){function t(m,g){if(e){var v=m.deletions;v===null?(m.deletions=[g],m.flags|=16):v.push(g)}}function n(m,g){if(!e)return null;for(;g!==null;)t(m,g),g=g.sibling;return null}function r(m,g){for(m=new Map;g!==null;)g.key!==null?m.set(g.key,g):m.set(g.index,g),g=g.sibling;return m}function i(m,g){return m=sr(m,g),m.index=0,m.sibling=null,m}function s(m,g,v){return m.index=v,e?(v=m.alternate,v!==null?(v=v.index,v<g?(m.flags|=2,g):v):(m.flags|=2,g)):(m.flags|=1048576,g)}function o(m){return e&&m.alternate===null&&(m.flags|=2),m}function a(m,g,v,x){return g===null||g.tag!==6?(g=Iu(v,m.mode,x),g.return=m,g):(g=i(g,v),g.return=m,g)}function l(m,g,v,x){var C=v.type;return C===li?c(m,g,v.props.children,x,v.key):g!==null&&(g.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===Vn&&Up(C)===g.type)?(x=i(g,v.props),x.ref=gs(m,g,v),x.return=m,x):(x=Aa(v.type,v.key,v.props,null,m.mode,x),x.ref=gs(m,g,v),x.return=m,x)}function u(m,g,v,x){return g===null||g.tag!==4||g.stateNode.containerInfo!==v.containerInfo||g.stateNode.implementation!==v.implementation?(g=ju(v,m.mode,x),g.return=m,g):(g=i(g,v.children||[]),g.return=m,g)}function c(m,g,v,x,C){return g===null||g.tag!==7?(g=Br(v,m.mode,x,C),g.return=m,g):(g=i(g,v),g.return=m,g)}function f(m,g,v){if(typeof g=="string"&&g!==""||typeof g=="number")return g=Iu(""+g,m.mode,v),g.return=m,g;if(typeof g=="object"&&g!==null){switch(g.$$typeof){case Uo:return v=Aa(g.type,g.key,g.props,null,m.mode,v),v.ref=gs(m,null,g),v.return=m,v;case ai:return g=ju(g,m.mode,v),g.return=m,g;case Vn:var x=g._init;return f(m,x(g._payload),v)}if(Ts(g)||ds(g))return g=Br(g,m.mode,v,null),g.return=m,g;Jo(m,g)}return null}function d(m,g,v,x){var C=g!==null?g.key:null;if(typeof v=="string"&&v!==""||typeof v=="number")return C!==null?null:a(m,g,""+v,x);if(typeof v=="object"&&v!==null){switch(v.$$typeof){case Uo:return v.key===C?l(m,g,v,x):null;case ai:return v.key===C?u(m,g,v,x):null;case Vn:return C=v._init,d(m,g,C(v._payload),x)}if(Ts(v)||ds(v))return C!==null?null:c(m,g,v,x,null);Jo(m,v)}return null}function p(m,g,v,x,C){if(typeof x=="string"&&x!==""||typeof x=="number")return m=m.get(v)||null,a(g,m,""+x,C);if(typeof x=="object"&&x!==null){switch(x.$$typeof){case Uo:return m=m.get(x.key===null?v:x.key)||null,l(g,m,x,C);case ai:return m=m.get(x.key===null?v:x.key)||null,u(g,m,x,C);case Vn:var E=x._init;return p(m,g,v,E(x._payload),C)}if(Ts(x)||ds(x))return m=m.get(v)||null,c(g,m,x,C,null);Jo(g,x)}return null}function h(m,g,v,x){for(var C=null,E=null,b=g,k=g=0,M=null;b!==null&&k<v.length;k++){b.index>k?(M=b,b=null):M=b.sibling;var R=d(m,b,v[k],x);if(R===null){b===null&&(b=M);break}e&&b&&R.alternate===null&&t(m,b),g=s(R,g,k),E===null?C=R:E.sibling=R,E=R,b=M}if(k===v.length)return n(m,b),ue&&Sr(m,k),C;if(b===null){for(;k<v.length;k++)b=f(m,v[k],x),b!==null&&(g=s(b,g,k),E===null?C=b:E.sibling=b,E=b);return ue&&Sr(m,k),C}for(b=r(m,b);k<v.length;k++)M=p(b,m,k,v[k],x),M!==null&&(e&&M.alternate!==null&&b.delete(M.key===null?k:M.key),g=s(M,g,k),E===null?C=M:E.sibling=M,E=M);return e&&b.forEach(function(F){return t(m,F)}),ue&&Sr(m,k),C}function y(m,g,v,x){var C=ds(v);if(typeof C!="function")throw Error(D(150));if(v=C.call(v),v==null)throw Error(D(151));for(var E=C=null,b=g,k=g=0,M=null,R=v.next();b!==null&&!R.done;k++,R=v.next()){b.index>k?(M=b,b=null):M=b.sibling;var F=d(m,b,R.value,x);if(F===null){b===null&&(b=M);break}e&&b&&F.alternate===null&&t(m,b),g=s(F,g,k),E===null?C=F:E.sibling=F,E=F,b=M}if(R.done)return n(m,b),ue&&Sr(m,k),C;if(b===null){for(;!R.done;k++,R=v.next())R=f(m,R.value,x),R!==null&&(g=s(R,g,k),E===null?C=R:E.sibling=R,E=R);return ue&&Sr(m,k),C}for(b=r(m,b);!R.done;k++,R=v.next())R=p(b,m,k,R.value,x),R!==null&&(e&&R.alternate!==null&&b.delete(R.key===null?k:R.key),g=s(R,g,k),E===null?C=R:E.sibling=R,E=R);return e&&b.forEach(function(U){return t(m,U)}),ue&&Sr(m,k),C}function w(m,g,v,x){if(typeof v=="object"&&v!==null&&v.type===li&&v.key===null&&(v=v.props.children),typeof v=="object"&&v!==null){switch(v.$$typeof){case Uo:e:{for(var C=v.key,E=g;E!==null;){if(E.key===C){if(C=v.type,C===li){if(E.tag===7){n(m,E.sibling),g=i(E,v.props.children),g.return=m,m=g;break e}}else if(E.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===Vn&&Up(C)===E.type){n(m,E.sibling),g=i(E,v.props),g.ref=gs(m,E,v),g.return=m,m=g;break e}n(m,E);break}else t(m,E);E=E.sibling}v.type===li?(g=Br(v.props.children,m.mode,x,v.key),g.return=m,m=g):(x=Aa(v.type,v.key,v.props,null,m.mode,x),x.ref=gs(m,g,v),x.return=m,m=x)}return o(m);case ai:e:{for(E=v.key;g!==null;){if(g.key===E)if(g.tag===4&&g.stateNode.containerInfo===v.containerInfo&&g.stateNode.implementation===v.implementation){n(m,g.sibling),g=i(g,v.children||[]),g.return=m,m=g;break e}else{n(m,g);break}else t(m,g);g=g.sibling}g=ju(v,m.mode,x),g.return=m,m=g}return o(m);case Vn:return E=v._init,w(m,g,E(v._payload),x)}if(Ts(v))return h(m,g,v,x);if(ds(v))return y(m,g,v,x);Jo(m,v)}return typeof v=="string"&&v!==""||typeof v=="number"?(v=""+v,g!==null&&g.tag===6?(n(m,g.sibling),g=i(g,v),g.return=m,m=g):(n(m,g),g=Iu(v,m.mode,x),g.return=m,m=g),o(m)):n(m,g)}return w}var qi=d0(!0),h0=d0(!1),sl=pr(null),ol=null,yi=null,Ld=null;function _d(){Ld=yi=ol=null}function Fd(e){var t=sl.current;le(sl),e._currentValue=t}function qc(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Ti(e,t){ol=e,Ld=yi=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Je=!0),e.firstContext=null)}function Et(e){var t=e._currentValue;if(Ld!==e)if(e={context:e,memoizedValue:t,next:null},yi===null){if(ol===null)throw Error(D(308));yi=e,ol.dependencies={lanes:0,firstContext:e}}else yi=yi.next=e;return t}var br=null;function Vd(e){br===null?br=[e]:br.push(e)}function p0(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,Vd(t)):(n.next=i.next,i.next=n),t.interleaved=n,bn(e,r)}function bn(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var Nn=!1;function Nd(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function m0(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Sn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function nr(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,J&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,bn(e,n)}return i=r.interleaved,i===null?(t.next=t,Vd(r)):(t.next=i.next,i.next=t),r.interleaved=t,bn(e,n)}function Ca(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,kd(e,n)}}function $p(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,s=null;if(n=n.firstBaseUpdate,n!==null){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};s===null?i=s=o:s=s.next=o,n=n.next}while(n!==null);s===null?i=s=t:s=s.next=t}else i=s=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:s,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function al(e,t,n,r){var i=e.updateQueue;Nn=!1;var s=i.firstBaseUpdate,o=i.lastBaseUpdate,a=i.shared.pending;if(a!==null){i.shared.pending=null;var l=a,u=l.next;l.next=null,o===null?s=u:o.next=u,o=l;var c=e.alternate;c!==null&&(c=c.updateQueue,a=c.lastBaseUpdate,a!==o&&(a===null?c.firstBaseUpdate=u:a.next=u,c.lastBaseUpdate=l))}if(s!==null){var f=i.baseState;o=0,c=u=l=null,a=s;do{var d=a.lane,p=a.eventTime;if((r&d)===d){c!==null&&(c=c.next={eventTime:p,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var h=e,y=a;switch(d=t,p=n,y.tag){case 1:if(h=y.payload,typeof h=="function"){f=h.call(p,f,d);break e}f=h;break e;case 3:h.flags=h.flags&-65537|128;case 0:if(h=y.payload,d=typeof h=="function"?h.call(p,f,d):h,d==null)break e;f=he({},f,d);break e;case 2:Nn=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,d=i.effects,d===null?i.effects=[a]:d.push(a))}else p={eventTime:p,lane:d,tag:a.tag,payload:a.payload,callback:a.callback,next:null},c===null?(u=c=p,l=f):c=c.next=p,o|=d;if(a=a.next,a===null){if(a=i.shared.pending,a===null)break;d=a,a=d.next,d.next=null,i.lastBaseUpdate=d,i.shared.pending=null}}while(!0);if(c===null&&(l=f),i.baseState=l,i.firstBaseUpdate=u,i.lastBaseUpdate=c,t=i.shared.interleaved,t!==null){i=t;do o|=i.lane,i=i.next;while(i!==t)}else s===null&&(i.shared.lanes=0);Gr|=o,e.lanes=o,e.memoizedState=f}}function Wp(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(i!==null){if(r.callback=null,r=n,typeof i!="function")throw Error(D(191,i));i.call(r)}}}var Po={},Jt=pr(Po),no=pr(Po),ro=pr(Po);function Pr(e){if(e===Po)throw Error(D(174));return e}function Id(e,t){switch(oe(ro,t),oe(no,e),oe(Jt,Po),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Tc(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Tc(t,e)}le(Jt),oe(Jt,t)}function Gi(){le(Jt),le(no),le(ro)}function y0(e){Pr(ro.current);var t=Pr(Jt.current),n=Tc(t,e.type);t!==n&&(oe(no,e),oe(Jt,n))}function jd(e){no.current===e&&(le(Jt),le(no))}var fe=pr(0);function ll(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Du=[];function zd(){for(var e=0;e<Du.length;e++)Du[e]._workInProgressVersionPrimary=null;Du.length=0}var Ea=An.ReactCurrentDispatcher,Lu=An.ReactCurrentBatchConfig,qr=0,de=null,Ee=null,Re=null,ul=!1,Ns=!1,io=0,aC=0;function Ne(){throw Error(D(321))}function Bd(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!It(e[n],t[n]))return!1;return!0}function Ud(e,t,n,r,i,s){if(qr=s,de=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Ea.current=e===null||e.memoizedState===null?fC:dC,e=n(r,i),Ns){s=0;do{if(Ns=!1,io=0,25<=s)throw Error(D(301));s+=1,Re=Ee=null,t.updateQueue=null,Ea.current=hC,e=n(r,i)}while(Ns)}if(Ea.current=cl,t=Ee!==null&&Ee.next!==null,qr=0,Re=Ee=de=null,ul=!1,t)throw Error(D(300));return e}function $d(){var e=io!==0;return io=0,e}function $t(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Re===null?de.memoizedState=Re=e:Re=Re.next=e,Re}function bt(){if(Ee===null){var e=de.alternate;e=e!==null?e.memoizedState:null}else e=Ee.next;var t=Re===null?de.memoizedState:Re.next;if(t!==null)Re=t,Ee=e;else{if(e===null)throw Error(D(310));Ee=e,e={memoizedState:Ee.memoizedState,baseState:Ee.baseState,baseQueue:Ee.baseQueue,queue:Ee.queue,next:null},Re===null?de.memoizedState=Re=e:Re=Re.next=e}return Re}function so(e,t){return typeof t=="function"?t(e):t}function _u(e){var t=bt(),n=t.queue;if(n===null)throw Error(D(311));n.lastRenderedReducer=e;var r=Ee,i=r.baseQueue,s=n.pending;if(s!==null){if(i!==null){var o=i.next;i.next=s.next,s.next=o}r.baseQueue=i=s,n.pending=null}if(i!==null){s=i.next,r=r.baseState;var a=o=null,l=null,u=s;do{var c=u.lane;if((qr&c)===c)l!==null&&(l=l.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var f={lane:c,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};l===null?(a=l=f,o=r):l=l.next=f,de.lanes|=c,Gr|=c}u=u.next}while(u!==null&&u!==s);l===null?o=r:l.next=a,It(r,t.memoizedState)||(Je=!0),t.memoizedState=r,t.baseState=o,t.baseQueue=l,n.lastRenderedState=r}if(e=n.interleaved,e!==null){i=e;do s=i.lane,de.lanes|=s,Gr|=s,i=i.next;while(i!==e)}else i===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Fu(e){var t=bt(),n=t.queue;if(n===null)throw Error(D(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,s=t.memoizedState;if(i!==null){n.pending=null;var o=i=i.next;do s=e(s,o.action),o=o.next;while(o!==i);It(s,t.memoizedState)||(Je=!0),t.memoizedState=s,t.baseQueue===null&&(t.baseState=s),n.lastRenderedState=s}return[s,r]}function g0(){}function v0(e,t){var n=de,r=bt(),i=t(),s=!It(r.memoizedState,i);if(s&&(r.memoizedState=i,Je=!0),r=r.queue,Wd(S0.bind(null,n,r,e),[e]),r.getSnapshot!==t||s||Re!==null&&Re.memoizedState.tag&1){if(n.flags|=2048,oo(9,x0.bind(null,n,r,i,t),void 0,null),Ae===null)throw Error(D(349));qr&30||w0(n,t,i)}return i}function w0(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=de.updateQueue,t===null?(t={lastEffect:null,stores:null},de.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function x0(e,t,n,r){t.value=n,t.getSnapshot=r,k0(t)&&C0(e)}function S0(e,t,n){return n(function(){k0(t)&&C0(e)})}function k0(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!It(e,n)}catch{return!0}}function C0(e){var t=bn(e,1);t!==null&&Vt(t,e,1,-1)}function Hp(e){var t=$t();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:so,lastRenderedState:e},t.queue=e,e=e.dispatch=cC.bind(null,de,e),[t.memoizedState,e]}function oo(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=de.updateQueue,t===null?(t={lastEffect:null,stores:null},de.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function E0(){return bt().memoizedState}function ba(e,t,n,r){var i=$t();de.flags|=e,i.memoizedState=oo(1|t,n,void 0,r===void 0?null:r)}function Bl(e,t,n,r){var i=bt();r=r===void 0?null:r;var s=void 0;if(Ee!==null){var o=Ee.memoizedState;if(s=o.destroy,r!==null&&Bd(r,o.deps)){i.memoizedState=oo(t,n,s,r);return}}de.flags|=e,i.memoizedState=oo(1|t,n,s,r)}function Kp(e,t){return ba(8390656,8,e,t)}function Wd(e,t){return Bl(2048,8,e,t)}function b0(e,t){return Bl(4,2,e,t)}function P0(e,t){return Bl(4,4,e,t)}function T0(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function R0(e,t,n){return n=n!=null?n.concat([e]):null,Bl(4,4,T0.bind(null,t,e),n)}function Hd(){}function A0(e,t){var n=bt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Bd(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function M0(e,t){var n=bt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Bd(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function O0(e,t,n){return qr&21?(It(n,t)||(n=Vv(),de.lanes|=n,Gr|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,Je=!0),e.memoizedState=n)}function lC(e,t){var n=re;re=n!==0&&4>n?n:4,e(!0);var r=Lu.transition;Lu.transition={};try{e(!1),t()}finally{re=n,Lu.transition=r}}function D0(){return bt().memoizedState}function uC(e,t,n){var r=ir(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},L0(e))_0(t,n);else if(n=p0(e,t,n,r),n!==null){var i=qe();Vt(n,e,r,i),F0(n,t,r)}}function cC(e,t,n){var r=ir(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(L0(e))_0(t,i);else{var s=e.alternate;if(e.lanes===0&&(s===null||s.lanes===0)&&(s=t.lastRenderedReducer,s!==null))try{var o=t.lastRenderedState,a=s(o,n);if(i.hasEagerState=!0,i.eagerState=a,It(a,o)){var l=t.interleaved;l===null?(i.next=i,Vd(t)):(i.next=l.next,l.next=i),t.interleaved=i;return}}catch{}finally{}n=p0(e,t,i,r),n!==null&&(i=qe(),Vt(n,e,r,i),F0(n,t,r))}}function L0(e){var t=e.alternate;return e===de||t!==null&&t===de}function _0(e,t){Ns=ul=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function F0(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,kd(e,n)}}var cl={readContext:Et,useCallback:Ne,useContext:Ne,useEffect:Ne,useImperativeHandle:Ne,useInsertionEffect:Ne,useLayoutEffect:Ne,useMemo:Ne,useReducer:Ne,useRef:Ne,useState:Ne,useDebugValue:Ne,useDeferredValue:Ne,useTransition:Ne,useMutableSource:Ne,useSyncExternalStore:Ne,useId:Ne,unstable_isNewReconciler:!1},fC={readContext:Et,useCallback:function(e,t){return $t().memoizedState=[e,t===void 0?null:t],e},useContext:Et,useEffect:Kp,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,ba(4194308,4,T0.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ba(4194308,4,e,t)},useInsertionEffect:function(e,t){return ba(4,2,e,t)},useMemo:function(e,t){var n=$t();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=$t();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=uC.bind(null,de,e),[r.memoizedState,e]},useRef:function(e){var t=$t();return e={current:e},t.memoizedState=e},useState:Hp,useDebugValue:Hd,useDeferredValue:function(e){return $t().memoizedState=e},useTransition:function(){var e=Hp(!1),t=e[0];return e=lC.bind(null,e[1]),$t().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=de,i=$t();if(ue){if(n===void 0)throw Error(D(407));n=n()}else{if(n=t(),Ae===null)throw Error(D(349));qr&30||w0(r,t,n)}i.memoizedState=n;var s={value:n,getSnapshot:t};return i.queue=s,Kp(S0.bind(null,r,s,e),[e]),r.flags|=2048,oo(9,x0.bind(null,r,s,n,t),void 0,null),n},useId:function(){var e=$t(),t=Ae.identifierPrefix;if(ue){var n=wn,r=vn;n=(r&~(1<<32-Ft(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=io++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=aC++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},dC={readContext:Et,useCallback:A0,useContext:Et,useEffect:Wd,useImperativeHandle:R0,useInsertionEffect:b0,useLayoutEffect:P0,useMemo:M0,useReducer:_u,useRef:E0,useState:function(){return _u(so)},useDebugValue:Hd,useDeferredValue:function(e){var t=bt();return O0(t,Ee.memoizedState,e)},useTransition:function(){var e=_u(so)[0],t=bt().memoizedState;return[e,t]},useMutableSource:g0,useSyncExternalStore:v0,useId:D0,unstable_isNewReconciler:!1},hC={readContext:Et,useCallback:A0,useContext:Et,useEffect:Wd,useImperativeHandle:R0,useInsertionEffect:b0,useLayoutEffect:P0,useMemo:M0,useReducer:Fu,useRef:E0,useState:function(){return Fu(so)},useDebugValue:Hd,useDeferredValue:function(e){var t=bt();return Ee===null?t.memoizedState=e:O0(t,Ee.memoizedState,e)},useTransition:function(){var e=Fu(so)[0],t=bt().memoizedState;return[e,t]},useMutableSource:g0,useSyncExternalStore:v0,useId:D0,unstable_isNewReconciler:!1};function Mt(e,t){if(e&&e.defaultProps){t=he({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function Gc(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:he({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Ul={isMounted:function(e){return(e=e._reactInternals)?ei(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=qe(),i=ir(e),s=Sn(r,i);s.payload=t,n!=null&&(s.callback=n),t=nr(e,s,i),t!==null&&(Vt(t,e,i,r),Ca(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=qe(),i=ir(e),s=Sn(r,i);s.tag=1,s.payload=t,n!=null&&(s.callback=n),t=nr(e,s,i),t!==null&&(Vt(t,e,i,r),Ca(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=qe(),r=ir(e),i=Sn(n,r);i.tag=2,t!=null&&(i.callback=t),t=nr(e,i,r),t!==null&&(Vt(t,e,r,n),Ca(t,e,r))}};function qp(e,t,n,r,i,s,o){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,s,o):t.prototype&&t.prototype.isPureReactComponent?!Zs(n,r)||!Zs(i,s):!0}function V0(e,t,n){var r=!1,i=lr,s=t.contextType;return typeof s=="object"&&s!==null?s=Et(s):(i=tt(t)?Hr:Ue.current,r=t.contextTypes,s=(r=r!=null)?Hi(e,i):lr),t=new t(n,s),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Ul,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=s),t}function Gp(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Ul.enqueueReplaceState(t,t.state,null)}function Qc(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs={},Nd(e);var s=t.contextType;typeof s=="object"&&s!==null?i.context=Et(s):(s=tt(t)?Hr:Ue.current,i.context=Hi(e,s)),i.state=e.memoizedState,s=t.getDerivedStateFromProps,typeof s=="function"&&(Gc(e,t,s,n),i.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(t=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),t!==i.state&&Ul.enqueueReplaceState(i,i.state,null),al(e,n,i,r),i.state=e.memoizedState),typeof i.componentDidMount=="function"&&(e.flags|=4194308)}function Qi(e,t){try{var n="",r=t;do n+=BS(r),r=r.return;while(r);var i=n}catch(s){i=`
39
- Error generating stack: `+s.message+`
40
- `+s.stack}return{value:e,source:t,stack:i,digest:null}}function Vu(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Xc(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var pC=typeof WeakMap=="function"?WeakMap:Map;function N0(e,t,n){n=Sn(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){dl||(dl=!0,af=r),Xc(e,t)},n}function I0(e,t,n){n=Sn(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){Xc(e,t)}}var s=e.stateNode;return s!==null&&typeof s.componentDidCatch=="function"&&(n.callback=function(){Xc(e,t),typeof r!="function"&&(rr===null?rr=new Set([this]):rr.add(this));var o=t.stack;this.componentDidCatch(t.value,{componentStack:o!==null?o:""})}),n}function Qp(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new pC;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=RC.bind(null,e,t,n),t.then(e,e))}function Xp(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function Yp(e,t,n,r,i){return e.mode&1?(e.flags|=65536,e.lanes=i,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=Sn(-1,1),t.tag=2,nr(n,t,1))),n.lanes|=1),e)}var mC=An.ReactCurrentOwner,Je=!1;function We(e,t,n,r){t.child=e===null?h0(t,null,n,r):qi(t,e.child,n,r)}function Zp(e,t,n,r,i){n=n.render;var s=t.ref;return Ti(t,i),r=Ud(e,t,n,r,s,i),n=$d(),e!==null&&!Je?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Pn(e,t,i)):(ue&&n&&Md(t),t.flags|=1,We(e,t,r,i),t.child)}function Jp(e,t,n,r,i){if(e===null){var s=n.type;return typeof s=="function"&&!Jd(s)&&s.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=s,j0(e,t,s,r,i)):(e=Aa(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(s=e.child,!(e.lanes&i)){var o=s.memoizedProps;if(n=n.compare,n=n!==null?n:Zs,n(o,r)&&e.ref===t.ref)return Pn(e,t,i)}return t.flags|=1,e=sr(s,r),e.ref=t.ref,e.return=t,t.child=e}function j0(e,t,n,r,i){if(e!==null){var s=e.memoizedProps;if(Zs(s,r)&&e.ref===t.ref)if(Je=!1,t.pendingProps=r=s,(e.lanes&i)!==0)e.flags&131072&&(Je=!0);else return t.lanes=e.lanes,Pn(e,t,i)}return Yc(e,t,n,r,i)}function z0(e,t,n){var r=t.pendingProps,i=r.children,s=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},oe(vi,st),st|=n;else{if(!(n&1073741824))return e=s!==null?s.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,oe(vi,st),st|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=s!==null?s.baseLanes:n,oe(vi,st),st|=r}else s!==null?(r=s.baseLanes|n,t.memoizedState=null):r=n,oe(vi,st),st|=r;return We(e,t,i,n),t.child}function B0(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Yc(e,t,n,r,i){var s=tt(n)?Hr:Ue.current;return s=Hi(t,s),Ti(t,i),n=Ud(e,t,n,r,s,i),r=$d(),e!==null&&!Je?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Pn(e,t,i)):(ue&&r&&Md(t),t.flags|=1,We(e,t,n,i),t.child)}function em(e,t,n,r,i){if(tt(n)){var s=!0;nl(t)}else s=!1;if(Ti(t,i),t.stateNode===null)Pa(e,t),V0(t,n,r),Qc(t,n,r,i),r=!0;else if(e===null){var o=t.stateNode,a=t.memoizedProps;o.props=a;var l=o.context,u=n.contextType;typeof u=="object"&&u!==null?u=Et(u):(u=tt(n)?Hr:Ue.current,u=Hi(t,u));var c=n.getDerivedStateFromProps,f=typeof c=="function"||typeof o.getSnapshotBeforeUpdate=="function";f||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(a!==r||l!==u)&&Gp(t,o,r,u),Nn=!1;var d=t.memoizedState;o.state=d,al(t,r,o,i),l=t.memoizedState,a!==r||d!==l||et.current||Nn?(typeof c=="function"&&(Gc(t,n,c,r),l=t.memoizedState),(a=Nn||qp(t,n,a,r,d,l,u))?(f||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount=="function"&&(t.flags|=4194308)):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),o.props=r,o.state=l,o.context=u,r=a):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{o=t.stateNode,m0(e,t),a=t.memoizedProps,u=t.type===t.elementType?a:Mt(t.type,a),o.props=u,f=t.pendingProps,d=o.context,l=n.contextType,typeof l=="object"&&l!==null?l=Et(l):(l=tt(n)?Hr:Ue.current,l=Hi(t,l));var p=n.getDerivedStateFromProps;(c=typeof p=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(a!==f||d!==l)&&Gp(t,o,r,l),Nn=!1,d=t.memoizedState,o.state=d,al(t,r,o,i);var h=t.memoizedState;a!==f||d!==h||et.current||Nn?(typeof p=="function"&&(Gc(t,n,p,r),h=t.memoizedState),(u=Nn||qp(t,n,u,r,d,h,l)||!1)?(c||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(r,h,l),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(r,h,l)),typeof o.componentDidUpdate=="function"&&(t.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof o.componentDidUpdate!="function"||a===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),o.props=r,o.state=h,o.context=l,r=u):(typeof o.componentDidUpdate!="function"||a===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),r=!1)}return Zc(e,t,n,r,s,i)}function Zc(e,t,n,r,i,s){B0(e,t);var o=(t.flags&128)!==0;if(!r&&!o)return i&&jp(t,n,!1),Pn(e,t,s);r=t.stateNode,mC.current=t;var a=o&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&o?(t.child=qi(t,e.child,null,s),t.child=qi(t,null,a,s)):We(e,t,a,s),t.memoizedState=r.state,i&&jp(t,n,!0),t.child}function U0(e){var t=e.stateNode;t.pendingContext?Ip(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Ip(e,t.context,!1),Id(e,t.containerInfo)}function tm(e,t,n,r,i){return Ki(),Dd(i),t.flags|=256,We(e,t,n,r),t.child}var Jc={dehydrated:null,treeContext:null,retryLane:0};function ef(e){return{baseLanes:e,cachePool:null,transitions:null}}function $0(e,t,n){var r=t.pendingProps,i=fe.current,s=!1,o=(t.flags&128)!==0,a;if((a=o)||(a=e!==null&&e.memoizedState===null?!1:(i&2)!==0),a?(s=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),oe(fe,i&1),e===null)return Kc(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(o=r.children,e=r.fallback,s?(r=t.mode,s=t.child,o={mode:"hidden",children:o},!(r&1)&&s!==null?(s.childLanes=0,s.pendingProps=o):s=Hl(o,r,0,null),e=Br(e,r,n,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=ef(n),t.memoizedState=Jc,e):Kd(t,o));if(i=e.memoizedState,i!==null&&(a=i.dehydrated,a!==null))return yC(e,t,o,r,a,i,n);if(s){s=r.fallback,o=t.mode,i=e.child,a=i.sibling;var l={mode:"hidden",children:r.children};return!(o&1)&&t.child!==i?(r=t.child,r.childLanes=0,r.pendingProps=l,t.deletions=null):(r=sr(i,l),r.subtreeFlags=i.subtreeFlags&14680064),a!==null?s=sr(a,s):(s=Br(s,o,n,null),s.flags|=2),s.return=t,r.return=t,r.sibling=s,t.child=r,r=s,s=t.child,o=e.child.memoizedState,o=o===null?ef(n):{baseLanes:o.baseLanes|n,cachePool:null,transitions:o.transitions},s.memoizedState=o,s.childLanes=e.childLanes&~n,t.memoizedState=Jc,r}return s=e.child,e=s.sibling,r=sr(s,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function Kd(e,t){return t=Hl({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function ea(e,t,n,r){return r!==null&&Dd(r),qi(t,e.child,null,n),e=Kd(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function yC(e,t,n,r,i,s,o){if(n)return t.flags&256?(t.flags&=-257,r=Vu(Error(D(422))),ea(e,t,o,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(s=r.fallback,i=t.mode,r=Hl({mode:"visible",children:r.children},i,0,null),s=Br(s,i,o,null),s.flags|=2,r.return=t,s.return=t,r.sibling=s,t.child=r,t.mode&1&&qi(t,e.child,null,o),t.child.memoizedState=ef(o),t.memoizedState=Jc,s);if(!(t.mode&1))return ea(e,t,o,null);if(i.data==="$!"){if(r=i.nextSibling&&i.nextSibling.dataset,r)var a=r.dgst;return r=a,s=Error(D(419)),r=Vu(s,r,void 0),ea(e,t,o,r)}if(a=(o&e.childLanes)!==0,Je||a){if(r=Ae,r!==null){switch(o&-o){case 4:i=2;break;case 16:i=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}i=i&(r.suspendedLanes|o)?0:i,i!==0&&i!==s.retryLane&&(s.retryLane=i,bn(e,i),Vt(r,e,i,-1))}return Zd(),r=Vu(Error(D(421))),ea(e,t,o,r)}return i.data==="$?"?(t.flags|=128,t.child=e.child,t=AC.bind(null,e),i._reactRetry=t,null):(e=s.treeContext,at=tr(i.nextSibling),lt=t,ue=!0,_t=null,e!==null&&(vt[wt++]=vn,vt[wt++]=wn,vt[wt++]=Kr,vn=e.id,wn=e.overflow,Kr=t),t=Kd(t,r.children),t.flags|=4096,t)}function nm(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),qc(e.return,t,n)}function Nu(e,t,n,r,i){var s=e.memoizedState;s===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(s.isBackwards=t,s.rendering=null,s.renderingStartTime=0,s.last=r,s.tail=n,s.tailMode=i)}function W0(e,t,n){var r=t.pendingProps,i=r.revealOrder,s=r.tail;if(We(e,t,r.children,n),r=fe.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&nm(e,n,t);else if(e.tag===19)nm(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(oe(fe,r),!(t.mode&1))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&ll(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Nu(t,!1,i,n,s);break;case"backwards":for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&ll(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Nu(t,!0,n,null,s);break;case"together":Nu(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Pa(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Pn(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Gr|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(D(153));if(t.child!==null){for(e=t.child,n=sr(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=sr(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function gC(e,t,n){switch(t.tag){case 3:U0(t),Ki();break;case 5:y0(t);break;case 1:tt(t.type)&&nl(t);break;case 4:Id(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;oe(sl,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(oe(fe,fe.current&1),t.flags|=128,null):n&t.child.childLanes?$0(e,t,n):(oe(fe,fe.current&1),e=Pn(e,t,n),e!==null?e.sibling:null);oe(fe,fe.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return W0(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),oe(fe,fe.current),r)break;return null;case 22:case 23:return t.lanes=0,z0(e,t,n)}return Pn(e,t,n)}var H0,tf,K0,q0;H0=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};tf=function(){};K0=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,Pr(Jt.current);var s=null;switch(n){case"input":i=Cc(e,i),r=Cc(e,r),s=[];break;case"select":i=he({},i,{value:void 0}),r=he({},r,{value:void 0}),s=[];break;case"textarea":i=Pc(e,i),r=Pc(e,r),s=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=el)}Rc(n,r);var o;n=null;for(u in i)if(!r.hasOwnProperty(u)&&i.hasOwnProperty(u)&&i[u]!=null)if(u==="style"){var a=i[u];for(o in a)a.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(Hs.hasOwnProperty(u)?s||(s=[]):(s=s||[]).push(u,null));for(u in r){var l=r[u];if(a=i!=null?i[u]:void 0,r.hasOwnProperty(u)&&l!==a&&(l!=null||a!=null))if(u==="style")if(a){for(o in a)!a.hasOwnProperty(o)||l&&l.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in l)l.hasOwnProperty(o)&&a[o]!==l[o]&&(n||(n={}),n[o]=l[o])}else n||(s||(s=[]),s.push(u,n)),n=l;else u==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,a=a?a.__html:void 0,l!=null&&a!==l&&(s=s||[]).push(u,l)):u==="children"?typeof l!="string"&&typeof l!="number"||(s=s||[]).push(u,""+l):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(Hs.hasOwnProperty(u)?(l!=null&&u==="onScroll"&&ae("scroll",e),s||a===l||(s=[])):(s=s||[]).push(u,l))}n&&(s=s||[]).push("style",n);var u=s;(t.updateQueue=u)&&(t.flags|=4)}};q0=function(e,t,n,r){n!==r&&(t.flags|=4)};function vs(e,t){if(!ue)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Ie(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&14680064,r|=i.flags&14680064,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function vC(e,t,n){var r=t.pendingProps;switch(Od(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ie(t),null;case 1:return tt(t.type)&&tl(),Ie(t),null;case 3:return r=t.stateNode,Gi(),le(et),le(Ue),zd(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Zo(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,_t!==null&&(cf(_t),_t=null))),tf(e,t),Ie(t),null;case 5:jd(t);var i=Pr(ro.current);if(n=t.type,e!==null&&t.stateNode!=null)K0(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(D(166));return Ie(t),null}if(e=Pr(Jt.current),Zo(t)){r=t.stateNode,n=t.type;var s=t.memoizedProps;switch(r[Qt]=t,r[to]=s,e=(t.mode&1)!==0,n){case"dialog":ae("cancel",r),ae("close",r);break;case"iframe":case"object":case"embed":ae("load",r);break;case"video":case"audio":for(i=0;i<As.length;i++)ae(As[i],r);break;case"source":ae("error",r);break;case"img":case"image":case"link":ae("error",r),ae("load",r);break;case"details":ae("toggle",r);break;case"input":fp(r,s),ae("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!s.multiple},ae("invalid",r);break;case"textarea":hp(r,s),ae("invalid",r)}Rc(n,s),i=null;for(var o in s)if(s.hasOwnProperty(o)){var a=s[o];o==="children"?typeof a=="string"?r.textContent!==a&&(s.suppressHydrationWarning!==!0&&Yo(r.textContent,a,e),i=["children",a]):typeof a=="number"&&r.textContent!==""+a&&(s.suppressHydrationWarning!==!0&&Yo(r.textContent,a,e),i=["children",""+a]):Hs.hasOwnProperty(o)&&a!=null&&o==="onScroll"&&ae("scroll",r)}switch(n){case"input":$o(r),dp(r,s,!0);break;case"textarea":$o(r),pp(r);break;case"select":case"option":break;default:typeof s.onClick=="function"&&(r.onclick=el)}r=i,t.updateQueue=r,r!==null&&(t.flags|=4)}else{o=i.nodeType===9?i:i.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=Sv(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=o.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=o.createElement(n,{is:r.is}):(e=o.createElement(n),n==="select"&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,n),e[Qt]=t,e[to]=r,H0(e,t,!1,!1),t.stateNode=e;e:{switch(o=Ac(n,r),n){case"dialog":ae("cancel",e),ae("close",e),i=r;break;case"iframe":case"object":case"embed":ae("load",e),i=r;break;case"video":case"audio":for(i=0;i<As.length;i++)ae(As[i],e);i=r;break;case"source":ae("error",e),i=r;break;case"img":case"image":case"link":ae("error",e),ae("load",e),i=r;break;case"details":ae("toggle",e),i=r;break;case"input":fp(e,r),i=Cc(e,r),ae("invalid",e);break;case"option":i=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=he({},r,{value:void 0}),ae("invalid",e);break;case"textarea":hp(e,r),i=Pc(e,r),ae("invalid",e);break;default:i=r}Rc(n,i),a=i;for(s in a)if(a.hasOwnProperty(s)){var l=a[s];s==="style"?Ev(e,l):s==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&kv(e,l)):s==="children"?typeof l=="string"?(n!=="textarea"||l!=="")&&Ks(e,l):typeof l=="number"&&Ks(e,""+l):s!=="suppressContentEditableWarning"&&s!=="suppressHydrationWarning"&&s!=="autoFocus"&&(Hs.hasOwnProperty(s)?l!=null&&s==="onScroll"&&ae("scroll",e):l!=null&&yd(e,s,l,o))}switch(n){case"input":$o(e),dp(e,r,!1);break;case"textarea":$o(e),pp(e);break;case"option":r.value!=null&&e.setAttribute("value",""+ar(r.value));break;case"select":e.multiple=!!r.multiple,s=r.value,s!=null?Ci(e,!!r.multiple,s,!1):r.defaultValue!=null&&Ci(e,!!r.multiple,r.defaultValue,!0);break;default:typeof i.onClick=="function"&&(e.onclick=el)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return Ie(t),null;case 6:if(e&&t.stateNode!=null)q0(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(D(166));if(n=Pr(ro.current),Pr(Jt.current),Zo(t)){if(r=t.stateNode,n=t.memoizedProps,r[Qt]=t,(s=r.nodeValue!==n)&&(e=lt,e!==null))switch(e.tag){case 3:Yo(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Yo(r.nodeValue,n,(e.mode&1)!==0)}s&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[Qt]=t,t.stateNode=r}return Ie(t),null;case 13:if(le(fe),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(ue&&at!==null&&t.mode&1&&!(t.flags&128))f0(),Ki(),t.flags|=98560,s=!1;else if(s=Zo(t),r!==null&&r.dehydrated!==null){if(e===null){if(!s)throw Error(D(318));if(s=t.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(D(317));s[Qt]=t}else Ki(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Ie(t),s=!1}else _t!==null&&(cf(_t),_t=null),s=!0;if(!s)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||fe.current&1?be===0&&(be=3):Zd())),t.updateQueue!==null&&(t.flags|=4),Ie(t),null);case 4:return Gi(),tf(e,t),e===null&&Js(t.stateNode.containerInfo),Ie(t),null;case 10:return Fd(t.type._context),Ie(t),null;case 17:return tt(t.type)&&tl(),Ie(t),null;case 19:if(le(fe),s=t.memoizedState,s===null)return Ie(t),null;if(r=(t.flags&128)!==0,o=s.rendering,o===null)if(r)vs(s,!1);else{if(be!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(o=ll(e),o!==null){for(t.flags|=128,vs(s,!1),r=o.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)s=n,e=r,s.flags&=14680066,o=s.alternate,o===null?(s.childLanes=0,s.lanes=e,s.child=null,s.subtreeFlags=0,s.memoizedProps=null,s.memoizedState=null,s.updateQueue=null,s.dependencies=null,s.stateNode=null):(s.childLanes=o.childLanes,s.lanes=o.lanes,s.child=o.child,s.subtreeFlags=0,s.deletions=null,s.memoizedProps=o.memoizedProps,s.memoizedState=o.memoizedState,s.updateQueue=o.updateQueue,s.type=o.type,e=o.dependencies,s.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return oe(fe,fe.current&1|2),t.child}e=e.sibling}s.tail!==null&&ve()>Xi&&(t.flags|=128,r=!0,vs(s,!1),t.lanes=4194304)}else{if(!r)if(e=ll(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),vs(s,!0),s.tail===null&&s.tailMode==="hidden"&&!o.alternate&&!ue)return Ie(t),null}else 2*ve()-s.renderingStartTime>Xi&&n!==1073741824&&(t.flags|=128,r=!0,vs(s,!1),t.lanes=4194304);s.isBackwards?(o.sibling=t.child,t.child=o):(n=s.last,n!==null?n.sibling=o:t.child=o,s.last=o)}return s.tail!==null?(t=s.tail,s.rendering=t,s.tail=t.sibling,s.renderingStartTime=ve(),t.sibling=null,n=fe.current,oe(fe,r?n&1|2:n&1),t):(Ie(t),null);case 22:case 23:return Yd(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?st&1073741824&&(Ie(t),t.subtreeFlags&6&&(t.flags|=8192)):Ie(t),null;case 24:return null;case 25:return null}throw Error(D(156,t.tag))}function wC(e,t){switch(Od(t),t.tag){case 1:return tt(t.type)&&tl(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Gi(),le(et),le(Ue),zd(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return jd(t),null;case 13:if(le(fe),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(D(340));Ki()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return le(fe),null;case 4:return Gi(),null;case 10:return Fd(t.type._context),null;case 22:case 23:return Yd(),null;case 24:return null;default:return null}}var ta=!1,ze=!1,xC=typeof WeakSet=="function"?WeakSet:Set,V=null;function gi(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){ge(e,t,r)}else n.current=null}function nf(e,t,n){try{n()}catch(r){ge(e,t,r)}}var rm=!1;function SC(e,t){if(jc=Ya,e=Zv(),Ad(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,s=r.focusNode;r=r.focusOffset;try{n.nodeType,s.nodeType}catch{n=null;break e}var o=0,a=-1,l=-1,u=0,c=0,f=e,d=null;t:for(;;){for(var p;f!==n||i!==0&&f.nodeType!==3||(a=o+i),f!==s||r!==0&&f.nodeType!==3||(l=o+r),f.nodeType===3&&(o+=f.nodeValue.length),(p=f.firstChild)!==null;)d=f,f=p;for(;;){if(f===e)break t;if(d===n&&++u===i&&(a=o),d===s&&++c===r&&(l=o),(p=f.nextSibling)!==null)break;f=d,d=f.parentNode}f=p}n=a===-1||l===-1?null:{start:a,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(zc={focusedElem:e,selectionRange:n},Ya=!1,V=t;V!==null;)if(t=V,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,V=e;else for(;V!==null;){t=V;try{var h=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(h!==null){var y=h.memoizedProps,w=h.memoizedState,m=t.stateNode,g=m.getSnapshotBeforeUpdate(t.elementType===t.type?y:Mt(t.type,y),w);m.__reactInternalSnapshotBeforeUpdate=g}break;case 3:var v=t.stateNode.containerInfo;v.nodeType===1?v.textContent="":v.nodeType===9&&v.documentElement&&v.removeChild(v.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(D(163))}}catch(x){ge(t,t.return,x)}if(e=t.sibling,e!==null){e.return=t.return,V=e;break}V=t.return}return h=rm,rm=!1,h}function Is(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var s=i.destroy;i.destroy=void 0,s!==void 0&&nf(t,n,s)}i=i.next}while(i!==r)}}function $l(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function rf(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function G0(e){var t=e.alternate;t!==null&&(e.alternate=null,G0(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Qt],delete t[to],delete t[$c],delete t[rC],delete t[iC])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Q0(e){return e.tag===5||e.tag===3||e.tag===4}function im(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Q0(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function sf(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=el));else if(r!==4&&(e=e.child,e!==null))for(sf(e,t,n),e=e.sibling;e!==null;)sf(e,t,n),e=e.sibling}function of(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(of(e,t,n),e=e.sibling;e!==null;)of(e,t,n),e=e.sibling}var Me=null,Lt=!1;function On(e,t,n){for(n=n.child;n!==null;)X0(e,t,n),n=n.sibling}function X0(e,t,n){if(Zt&&typeof Zt.onCommitFiberUnmount=="function")try{Zt.onCommitFiberUnmount(Fl,n)}catch{}switch(n.tag){case 5:ze||gi(n,t);case 6:var r=Me,i=Lt;Me=null,On(e,t,n),Me=r,Lt=i,Me!==null&&(Lt?(e=Me,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Me.removeChild(n.stateNode));break;case 18:Me!==null&&(Lt?(e=Me,n=n.stateNode,e.nodeType===8?Mu(e.parentNode,n):e.nodeType===1&&Mu(e,n),Xs(e)):Mu(Me,n.stateNode));break;case 4:r=Me,i=Lt,Me=n.stateNode.containerInfo,Lt=!0,On(e,t,n),Me=r,Lt=i;break;case 0:case 11:case 14:case 15:if(!ze&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var s=i,o=s.destroy;s=s.tag,o!==void 0&&(s&2||s&4)&&nf(n,t,o),i=i.next}while(i!==r)}On(e,t,n);break;case 1:if(!ze&&(gi(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){ge(n,t,a)}On(e,t,n);break;case 21:On(e,t,n);break;case 22:n.mode&1?(ze=(r=ze)||n.memoizedState!==null,On(e,t,n),ze=r):On(e,t,n);break;default:On(e,t,n)}}function sm(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new xC),t.forEach(function(r){var i=MC.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function Tt(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var i=n[r];try{var s=e,o=t,a=o;e:for(;a!==null;){switch(a.tag){case 5:Me=a.stateNode,Lt=!1;break e;case 3:Me=a.stateNode.containerInfo,Lt=!0;break e;case 4:Me=a.stateNode.containerInfo,Lt=!0;break e}a=a.return}if(Me===null)throw Error(D(160));X0(s,o,i),Me=null,Lt=!1;var l=i.alternate;l!==null&&(l.return=null),i.return=null}catch(u){ge(i,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Y0(t,e),t=t.sibling}function Y0(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Tt(t,e),Ut(e),r&4){try{Is(3,e,e.return),$l(3,e)}catch(y){ge(e,e.return,y)}try{Is(5,e,e.return)}catch(y){ge(e,e.return,y)}}break;case 1:Tt(t,e),Ut(e),r&512&&n!==null&&gi(n,n.return);break;case 5:if(Tt(t,e),Ut(e),r&512&&n!==null&&gi(n,n.return),e.flags&32){var i=e.stateNode;try{Ks(i,"")}catch(y){ge(e,e.return,y)}}if(r&4&&(i=e.stateNode,i!=null)){var s=e.memoizedProps,o=n!==null?n.memoizedProps:s,a=e.type,l=e.updateQueue;if(e.updateQueue=null,l!==null)try{a==="input"&&s.type==="radio"&&s.name!=null&&wv(i,s),Ac(a,o);var u=Ac(a,s);for(o=0;o<l.length;o+=2){var c=l[o],f=l[o+1];c==="style"?Ev(i,f):c==="dangerouslySetInnerHTML"?kv(i,f):c==="children"?Ks(i,f):yd(i,c,f,u)}switch(a){case"input":Ec(i,s);break;case"textarea":xv(i,s);break;case"select":var d=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!s.multiple;var p=s.value;p!=null?Ci(i,!!s.multiple,p,!1):d!==!!s.multiple&&(s.defaultValue!=null?Ci(i,!!s.multiple,s.defaultValue,!0):Ci(i,!!s.multiple,s.multiple?[]:"",!1))}i[to]=s}catch(y){ge(e,e.return,y)}}break;case 6:if(Tt(t,e),Ut(e),r&4){if(e.stateNode===null)throw Error(D(162));i=e.stateNode,s=e.memoizedProps;try{i.nodeValue=s}catch(y){ge(e,e.return,y)}}break;case 3:if(Tt(t,e),Ut(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Xs(t.containerInfo)}catch(y){ge(e,e.return,y)}break;case 4:Tt(t,e),Ut(e);break;case 13:Tt(t,e),Ut(e),i=e.child,i.flags&8192&&(s=i.memoizedState!==null,i.stateNode.isHidden=s,!s||i.alternate!==null&&i.alternate.memoizedState!==null||(Qd=ve())),r&4&&sm(e);break;case 22:if(c=n!==null&&n.memoizedState!==null,e.mode&1?(ze=(u=ze)||c,Tt(t,e),ze=u):Tt(t,e),Ut(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!c&&e.mode&1)for(V=e,c=e.child;c!==null;){for(f=V=c;V!==null;){switch(d=V,p=d.child,d.tag){case 0:case 11:case 14:case 15:Is(4,d,d.return);break;case 1:gi(d,d.return);var h=d.stateNode;if(typeof h.componentWillUnmount=="function"){r=d,n=d.return;try{t=r,h.props=t.memoizedProps,h.state=t.memoizedState,h.componentWillUnmount()}catch(y){ge(r,n,y)}}break;case 5:gi(d,d.return);break;case 22:if(d.memoizedState!==null){am(f);continue}}p!==null?(p.return=d,V=p):am(f)}c=c.sibling}e:for(c=null,f=e;;){if(f.tag===5){if(c===null){c=f;try{i=f.stateNode,u?(s=i.style,typeof s.setProperty=="function"?s.setProperty("display","none","important"):s.display="none"):(a=f.stateNode,l=f.memoizedProps.style,o=l!=null&&l.hasOwnProperty("display")?l.display:null,a.style.display=Cv("display",o))}catch(y){ge(e,e.return,y)}}}else if(f.tag===6){if(c===null)try{f.stateNode.nodeValue=u?"":f.memoizedProps}catch(y){ge(e,e.return,y)}}else if((f.tag!==22&&f.tag!==23||f.memoizedState===null||f===e)&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;f.sibling===null;){if(f.return===null||f.return===e)break e;c===f&&(c=null),f=f.return}c===f&&(c=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:Tt(t,e),Ut(e),r&4&&sm(e);break;case 21:break;default:Tt(t,e),Ut(e)}}function Ut(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(Q0(n)){var r=n;break e}n=n.return}throw Error(D(160))}switch(r.tag){case 5:var i=r.stateNode;r.flags&32&&(Ks(i,""),r.flags&=-33);var s=im(e);of(e,s,i);break;case 3:case 4:var o=r.stateNode.containerInfo,a=im(e);sf(e,a,o);break;default:throw Error(D(161))}}catch(l){ge(e,e.return,l)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function kC(e,t,n){V=e,Z0(e)}function Z0(e,t,n){for(var r=(e.mode&1)!==0;V!==null;){var i=V,s=i.child;if(i.tag===22&&r){var o=i.memoizedState!==null||ta;if(!o){var a=i.alternate,l=a!==null&&a.memoizedState!==null||ze;a=ta;var u=ze;if(ta=o,(ze=l)&&!u)for(V=i;V!==null;)o=V,l=o.child,o.tag===22&&o.memoizedState!==null?lm(i):l!==null?(l.return=o,V=l):lm(i);for(;s!==null;)V=s,Z0(s),s=s.sibling;V=i,ta=a,ze=u}om(e)}else i.subtreeFlags&8772&&s!==null?(s.return=i,V=s):om(e)}}function om(e){for(;V!==null;){var t=V;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:ze||$l(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!ze)if(n===null)r.componentDidMount();else{var i=t.elementType===t.type?n.memoizedProps:Mt(t.type,n.memoizedProps);r.componentDidUpdate(i,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var s=t.updateQueue;s!==null&&Wp(t,s,r);break;case 3:var o=t.updateQueue;if(o!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}Wp(t,o,n)}break;case 5:var a=t.stateNode;if(n===null&&t.flags&4){n=a;var l=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":l.autoFocus&&n.focus();break;case"img":l.src&&(n.src=l.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var u=t.alternate;if(u!==null){var c=u.memoizedState;if(c!==null){var f=c.dehydrated;f!==null&&Xs(f)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(D(163))}ze||t.flags&512&&rf(t)}catch(d){ge(t,t.return,d)}}if(t===e){V=null;break}if(n=t.sibling,n!==null){n.return=t.return,V=n;break}V=t.return}}function am(e){for(;V!==null;){var t=V;if(t===e){V=null;break}var n=t.sibling;if(n!==null){n.return=t.return,V=n;break}V=t.return}}function lm(e){for(;V!==null;){var t=V;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{$l(4,t)}catch(l){ge(t,n,l)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var i=t.return;try{r.componentDidMount()}catch(l){ge(t,i,l)}}var s=t.return;try{rf(t)}catch(l){ge(t,s,l)}break;case 5:var o=t.return;try{rf(t)}catch(l){ge(t,o,l)}}}catch(l){ge(t,t.return,l)}if(t===e){V=null;break}var a=t.sibling;if(a!==null){a.return=t.return,V=a;break}V=t.return}}var CC=Math.ceil,fl=An.ReactCurrentDispatcher,qd=An.ReactCurrentOwner,kt=An.ReactCurrentBatchConfig,J=0,Ae=null,xe=null,_e=0,st=0,vi=pr(0),be=0,ao=null,Gr=0,Wl=0,Gd=0,js=null,Ze=null,Qd=0,Xi=1/0,dn=null,dl=!1,af=null,rr=null,na=!1,Xn=null,hl=0,zs=0,lf=null,Ta=-1,Ra=0;function qe(){return J&6?ve():Ta!==-1?Ta:Ta=ve()}function ir(e){return e.mode&1?J&2&&_e!==0?_e&-_e:oC.transition!==null?(Ra===0&&(Ra=Vv()),Ra):(e=re,e!==0||(e=window.event,e=e===void 0?16:$v(e.type)),e):1}function Vt(e,t,n,r){if(50<zs)throw zs=0,lf=null,Error(D(185));Co(e,n,r),(!(J&2)||e!==Ae)&&(e===Ae&&(!(J&2)&&(Wl|=n),be===4&&jn(e,_e)),nt(e,r),n===1&&J===0&&!(t.mode&1)&&(Xi=ve()+500,zl&&mr()))}function nt(e,t){var n=e.callbackNode;ok(e,t);var r=Xa(e,e===Ae?_e:0);if(r===0)n!==null&&gp(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&gp(n),t===1)e.tag===0?sC(um.bind(null,e)):l0(um.bind(null,e)),tC(function(){!(J&6)&&mr()}),n=null;else{switch(Nv(r)){case 1:n=Sd;break;case 4:n=_v;break;case 16:n=Qa;break;case 536870912:n=Fv;break;default:n=Qa}n=o1(n,J0.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function J0(e,t){if(Ta=-1,Ra=0,J&6)throw Error(D(327));var n=e.callbackNode;if(Ri()&&e.callbackNode!==n)return null;var r=Xa(e,e===Ae?_e:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=pl(e,r);else{t=r;var i=J;J|=2;var s=t1();(Ae!==e||_e!==t)&&(dn=null,Xi=ve()+500,zr(e,t));do try{PC();break}catch(a){e1(e,a)}while(!0);_d(),fl.current=s,J=i,xe!==null?t=0:(Ae=null,_e=0,t=be)}if(t!==0){if(t===2&&(i=_c(e),i!==0&&(r=i,t=uf(e,i))),t===1)throw n=ao,zr(e,0),jn(e,r),nt(e,ve()),n;if(t===6)jn(e,r);else{if(i=e.current.alternate,!(r&30)&&!EC(i)&&(t=pl(e,r),t===2&&(s=_c(e),s!==0&&(r=s,t=uf(e,s))),t===1))throw n=ao,zr(e,0),jn(e,r),nt(e,ve()),n;switch(e.finishedWork=i,e.finishedLanes=r,t){case 0:case 1:throw Error(D(345));case 2:kr(e,Ze,dn);break;case 3:if(jn(e,r),(r&130023424)===r&&(t=Qd+500-ve(),10<t)){if(Xa(e,0)!==0)break;if(i=e.suspendedLanes,(i&r)!==r){qe(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=Uc(kr.bind(null,e,Ze,dn),t);break}kr(e,Ze,dn);break;case 4:if(jn(e,r),(r&4194240)===r)break;for(t=e.eventTimes,i=-1;0<r;){var o=31-Ft(r);s=1<<o,o=t[o],o>i&&(i=o),r&=~s}if(r=i,r=ve()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*CC(r/1960))-r,10<r){e.timeoutHandle=Uc(kr.bind(null,e,Ze,dn),r);break}kr(e,Ze,dn);break;case 5:kr(e,Ze,dn);break;default:throw Error(D(329))}}}return nt(e,ve()),e.callbackNode===n?J0.bind(null,e):null}function uf(e,t){var n=js;return e.current.memoizedState.isDehydrated&&(zr(e,t).flags|=256),e=pl(e,t),e!==2&&(t=Ze,Ze=n,t!==null&&cf(t)),e}function cf(e){Ze===null?Ze=e:Ze.push.apply(Ze,e)}function EC(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var i=n[r],s=i.getSnapshot;i=i.value;try{if(!It(s(),i))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function jn(e,t){for(t&=~Gd,t&=~Wl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Ft(t),r=1<<n;e[n]=-1,t&=~r}}function um(e){if(J&6)throw Error(D(327));Ri();var t=Xa(e,0);if(!(t&1))return nt(e,ve()),null;var n=pl(e,t);if(e.tag!==0&&n===2){var r=_c(e);r!==0&&(t=r,n=uf(e,r))}if(n===1)throw n=ao,zr(e,0),jn(e,t),nt(e,ve()),n;if(n===6)throw Error(D(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,kr(e,Ze,dn),nt(e,ve()),null}function Xd(e,t){var n=J;J|=1;try{return e(t)}finally{J=n,J===0&&(Xi=ve()+500,zl&&mr())}}function Qr(e){Xn!==null&&Xn.tag===0&&!(J&6)&&Ri();var t=J;J|=1;var n=kt.transition,r=re;try{if(kt.transition=null,re=1,e)return e()}finally{re=r,kt.transition=n,J=t,!(J&6)&&mr()}}function Yd(){st=vi.current,le(vi)}function zr(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,eC(n)),xe!==null)for(n=xe.return;n!==null;){var r=n;switch(Od(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&tl();break;case 3:Gi(),le(et),le(Ue),zd();break;case 5:jd(r);break;case 4:Gi();break;case 13:le(fe);break;case 19:le(fe);break;case 10:Fd(r.type._context);break;case 22:case 23:Yd()}n=n.return}if(Ae=e,xe=e=sr(e.current,null),_e=st=t,be=0,ao=null,Gd=Wl=Gr=0,Ze=js=null,br!==null){for(t=0;t<br.length;t++)if(n=br[t],r=n.interleaved,r!==null){n.interleaved=null;var i=r.next,s=n.pending;if(s!==null){var o=s.next;s.next=i,r.next=o}n.pending=r}br=null}return e}function e1(e,t){do{var n=xe;try{if(_d(),Ea.current=cl,ul){for(var r=de.memoizedState;r!==null;){var i=r.queue;i!==null&&(i.pending=null),r=r.next}ul=!1}if(qr=0,Re=Ee=de=null,Ns=!1,io=0,qd.current=null,n===null||n.return===null){be=1,ao=t,xe=null;break}e:{var s=e,o=n.return,a=n,l=t;if(t=_e,a.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){var u=l,c=a,f=c.tag;if(!(c.mode&1)&&(f===0||f===11||f===15)){var d=c.alternate;d?(c.updateQueue=d.updateQueue,c.memoizedState=d.memoizedState,c.lanes=d.lanes):(c.updateQueue=null,c.memoizedState=null)}var p=Xp(o);if(p!==null){p.flags&=-257,Yp(p,o,a,s,t),p.mode&1&&Qp(s,u,t),t=p,l=u;var h=t.updateQueue;if(h===null){var y=new Set;y.add(l),t.updateQueue=y}else h.add(l);break e}else{if(!(t&1)){Qp(s,u,t),Zd();break e}l=Error(D(426))}}else if(ue&&a.mode&1){var w=Xp(o);if(w!==null){!(w.flags&65536)&&(w.flags|=256),Yp(w,o,a,s,t),Dd(Qi(l,a));break e}}s=l=Qi(l,a),be!==4&&(be=2),js===null?js=[s]:js.push(s),s=o;do{switch(s.tag){case 3:s.flags|=65536,t&=-t,s.lanes|=t;var m=N0(s,l,t);$p(s,m);break e;case 1:a=l;var g=s.type,v=s.stateNode;if(!(s.flags&128)&&(typeof g.getDerivedStateFromError=="function"||v!==null&&typeof v.componentDidCatch=="function"&&(rr===null||!rr.has(v)))){s.flags|=65536,t&=-t,s.lanes|=t;var x=I0(s,a,t);$p(s,x);break e}}s=s.return}while(s!==null)}r1(n)}catch(C){t=C,xe===n&&n!==null&&(xe=n=n.return);continue}break}while(!0)}function t1(){var e=fl.current;return fl.current=cl,e===null?cl:e}function Zd(){(be===0||be===3||be===2)&&(be=4),Ae===null||!(Gr&268435455)&&!(Wl&268435455)||jn(Ae,_e)}function pl(e,t){var n=J;J|=2;var r=t1();(Ae!==e||_e!==t)&&(dn=null,zr(e,t));do try{bC();break}catch(i){e1(e,i)}while(!0);if(_d(),J=n,fl.current=r,xe!==null)throw Error(D(261));return Ae=null,_e=0,be}function bC(){for(;xe!==null;)n1(xe)}function PC(){for(;xe!==null&&!YS();)n1(xe)}function n1(e){var t=s1(e.alternate,e,st);e.memoizedProps=e.pendingProps,t===null?r1(e):xe=t,qd.current=null}function r1(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=wC(n,t),n!==null){n.flags&=32767,xe=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{be=6,xe=null;return}}else if(n=vC(n,t,st),n!==null){xe=n;return}if(t=t.sibling,t!==null){xe=t;return}xe=t=e}while(t!==null);be===0&&(be=5)}function kr(e,t,n){var r=re,i=kt.transition;try{kt.transition=null,re=1,TC(e,t,n,r)}finally{kt.transition=i,re=r}return null}function TC(e,t,n,r){do Ri();while(Xn!==null);if(J&6)throw Error(D(327));n=e.finishedWork;var i=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(D(177));e.callbackNode=null,e.callbackPriority=0;var s=n.lanes|n.childLanes;if(ak(e,s),e===Ae&&(xe=Ae=null,_e=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||na||(na=!0,o1(Qa,function(){return Ri(),null})),s=(n.flags&15990)!==0,n.subtreeFlags&15990||s){s=kt.transition,kt.transition=null;var o=re;re=1;var a=J;J|=4,qd.current=null,SC(e,n),Y0(n,e),qk(zc),Ya=!!jc,zc=jc=null,e.current=n,kC(n),ZS(),J=a,re=o,kt.transition=s}else e.current=n;if(na&&(na=!1,Xn=e,hl=i),s=e.pendingLanes,s===0&&(rr=null),tk(n.stateNode),nt(e,ve()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)i=t[n],r(i.value,{componentStack:i.stack,digest:i.digest});if(dl)throw dl=!1,e=af,af=null,e;return hl&1&&e.tag!==0&&Ri(),s=e.pendingLanes,s&1?e===lf?zs++:(zs=0,lf=e):zs=0,mr(),null}function Ri(){if(Xn!==null){var e=Nv(hl),t=kt.transition,n=re;try{if(kt.transition=null,re=16>e?16:e,Xn===null)var r=!1;else{if(e=Xn,Xn=null,hl=0,J&6)throw Error(D(331));var i=J;for(J|=4,V=e.current;V!==null;){var s=V,o=s.child;if(V.flags&16){var a=s.deletions;if(a!==null){for(var l=0;l<a.length;l++){var u=a[l];for(V=u;V!==null;){var c=V;switch(c.tag){case 0:case 11:case 15:Is(8,c,s)}var f=c.child;if(f!==null)f.return=c,V=f;else for(;V!==null;){c=V;var d=c.sibling,p=c.return;if(G0(c),c===u){V=null;break}if(d!==null){d.return=p,V=d;break}V=p}}}var h=s.alternate;if(h!==null){var y=h.child;if(y!==null){h.child=null;do{var w=y.sibling;y.sibling=null,y=w}while(y!==null)}}V=s}}if(s.subtreeFlags&2064&&o!==null)o.return=s,V=o;else e:for(;V!==null;){if(s=V,s.flags&2048)switch(s.tag){case 0:case 11:case 15:Is(9,s,s.return)}var m=s.sibling;if(m!==null){m.return=s.return,V=m;break e}V=s.return}}var g=e.current;for(V=g;V!==null;){o=V;var v=o.child;if(o.subtreeFlags&2064&&v!==null)v.return=o,V=v;else e:for(o=g;V!==null;){if(a=V,a.flags&2048)try{switch(a.tag){case 0:case 11:case 15:$l(9,a)}}catch(C){ge(a,a.return,C)}if(a===o){V=null;break e}var x=a.sibling;if(x!==null){x.return=a.return,V=x;break e}V=a.return}}if(J=i,mr(),Zt&&typeof Zt.onPostCommitFiberRoot=="function")try{Zt.onPostCommitFiberRoot(Fl,e)}catch{}r=!0}return r}finally{re=n,kt.transition=t}}return!1}function cm(e,t,n){t=Qi(n,t),t=N0(e,t,1),e=nr(e,t,1),t=qe(),e!==null&&(Co(e,1,t),nt(e,t))}function ge(e,t,n){if(e.tag===3)cm(e,e,n);else for(;t!==null;){if(t.tag===3){cm(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(rr===null||!rr.has(r))){e=Qi(n,e),e=I0(t,e,1),t=nr(t,e,1),e=qe(),t!==null&&(Co(t,1,e),nt(t,e));break}}t=t.return}}function RC(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=qe(),e.pingedLanes|=e.suspendedLanes&n,Ae===e&&(_e&n)===n&&(be===4||be===3&&(_e&130023424)===_e&&500>ve()-Qd?zr(e,0):Gd|=n),nt(e,t)}function i1(e,t){t===0&&(e.mode&1?(t=Ko,Ko<<=1,!(Ko&130023424)&&(Ko=4194304)):t=1);var n=qe();e=bn(e,t),e!==null&&(Co(e,t,n),nt(e,n))}function AC(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),i1(e,n)}function MC(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(D(314))}r!==null&&r.delete(t),i1(e,n)}var s1;s1=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||et.current)Je=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Je=!1,gC(e,t,n);Je=!!(e.flags&131072)}else Je=!1,ue&&t.flags&1048576&&u0(t,il,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Pa(e,t),e=t.pendingProps;var i=Hi(t,Ue.current);Ti(t,n),i=Ud(null,t,r,e,i,n);var s=$d();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,tt(r)?(s=!0,nl(t)):s=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Nd(t),i.updater=Ul,t.stateNode=i,i._reactInternals=t,Qc(t,r,e,n),t=Zc(null,t,r,!0,s,n)):(t.tag=0,ue&&s&&Md(t),We(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Pa(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=DC(r),e=Mt(r,e),i){case 0:t=Yc(null,t,r,e,n);break e;case 1:t=em(null,t,r,e,n);break e;case 11:t=Zp(null,t,r,e,n);break e;case 14:t=Jp(null,t,r,Mt(r.type,e),n);break e}throw Error(D(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Mt(r,i),Yc(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Mt(r,i),em(e,t,r,i,n);case 3:e:{if(U0(t),e===null)throw Error(D(387));r=t.pendingProps,s=t.memoizedState,i=s.element,m0(e,t),al(t,r,null,n);var o=t.memoizedState;if(r=o.element,s.isDehydrated)if(s={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=s,t.memoizedState=s,t.flags&256){i=Qi(Error(D(423)),t),t=tm(e,t,r,n,i);break e}else if(r!==i){i=Qi(Error(D(424)),t),t=tm(e,t,r,n,i);break e}else for(at=tr(t.stateNode.containerInfo.firstChild),lt=t,ue=!0,_t=null,n=h0(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Ki(),r===i){t=Pn(e,t,n);break e}We(e,t,r,n)}t=t.child}return t;case 5:return y0(t),e===null&&Kc(t),r=t.type,i=t.pendingProps,s=e!==null?e.memoizedProps:null,o=i.children,Bc(r,i)?o=null:s!==null&&Bc(r,s)&&(t.flags|=32),B0(e,t),We(e,t,o,n),t.child;case 6:return e===null&&Kc(t),null;case 13:return $0(e,t,n);case 4:return Id(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=qi(t,null,r,n):We(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Mt(r,i),Zp(e,t,r,i,n);case 7:return We(e,t,t.pendingProps,n),t.child;case 8:return We(e,t,t.pendingProps.children,n),t.child;case 12:return We(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,s=t.memoizedProps,o=i.value,oe(sl,r._currentValue),r._currentValue=o,s!==null)if(It(s.value,o)){if(s.children===i.children&&!et.current){t=Pn(e,t,n);break e}}else for(s=t.child,s!==null&&(s.return=t);s!==null;){var a=s.dependencies;if(a!==null){o=s.child;for(var l=a.firstContext;l!==null;){if(l.context===r){if(s.tag===1){l=Sn(-1,n&-n),l.tag=2;var u=s.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?l.next=l:(l.next=c.next,c.next=l),u.pending=l}}s.lanes|=n,l=s.alternate,l!==null&&(l.lanes|=n),qc(s.return,n,t),a.lanes|=n;break}l=l.next}}else if(s.tag===10)o=s.type===t.type?null:s.child;else if(s.tag===18){if(o=s.return,o===null)throw Error(D(341));o.lanes|=n,a=o.alternate,a!==null&&(a.lanes|=n),qc(o,n,t),o=s.sibling}else o=s.child;if(o!==null)o.return=s;else for(o=s;o!==null;){if(o===t){o=null;break}if(s=o.sibling,s!==null){s.return=o.return,o=s;break}o=o.return}s=o}We(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,Ti(t,n),i=Et(i),r=r(i),t.flags|=1,We(e,t,r,n),t.child;case 14:return r=t.type,i=Mt(r,t.pendingProps),i=Mt(r.type,i),Jp(e,t,r,i,n);case 15:return j0(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Mt(r,i),Pa(e,t),t.tag=1,tt(r)?(e=!0,nl(t)):e=!1,Ti(t,n),V0(t,r,i),Qc(t,r,i,n),Zc(null,t,r,!0,e,n);case 19:return W0(e,t,n);case 22:return z0(e,t,n)}throw Error(D(156,t.tag))};function o1(e,t){return Lv(e,t)}function OC(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function xt(e,t,n,r){return new OC(e,t,n,r)}function Jd(e){return e=e.prototype,!(!e||!e.isReactComponent)}function DC(e){if(typeof e=="function")return Jd(e)?1:0;if(e!=null){if(e=e.$$typeof,e===vd)return 11;if(e===wd)return 14}return 2}function sr(e,t){var n=e.alternate;return n===null?(n=xt(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Aa(e,t,n,r,i,s){var o=2;if(r=e,typeof e=="function")Jd(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case li:return Br(n.children,i,s,t);case gd:o=8,i|=8;break;case wc:return e=xt(12,n,t,i|2),e.elementType=wc,e.lanes=s,e;case xc:return e=xt(13,n,t,i),e.elementType=xc,e.lanes=s,e;case Sc:return e=xt(19,n,t,i),e.elementType=Sc,e.lanes=s,e;case yv:return Hl(n,i,s,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case pv:o=10;break e;case mv:o=9;break e;case vd:o=11;break e;case wd:o=14;break e;case Vn:o=16,r=null;break e}throw Error(D(130,e==null?e:typeof e,""))}return t=xt(o,n,t,i),t.elementType=e,t.type=r,t.lanes=s,t}function Br(e,t,n,r){return e=xt(7,e,r,t),e.lanes=n,e}function Hl(e,t,n,r){return e=xt(22,e,r,t),e.elementType=yv,e.lanes=n,e.stateNode={isHidden:!1},e}function Iu(e,t,n){return e=xt(6,e,null,t),e.lanes=n,e}function ju(e,t,n){return t=xt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function LC(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=wu(0),this.expirationTimes=wu(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=wu(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function eh(e,t,n,r,i,s,o,a,l){return e=new LC(e,t,n,a,l),t===1?(t=1,s===!0&&(t|=8)):t=0,s=xt(3,null,null,t),e.current=s,s.stateNode=e,s.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Nd(s),e}function _C(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:ai,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function a1(e){if(!e)return lr;e=e._reactInternals;e:{if(ei(e)!==e||e.tag!==1)throw Error(D(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(tt(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(D(171))}if(e.tag===1){var n=e.type;if(tt(n))return a0(e,n,t)}return t}function l1(e,t,n,r,i,s,o,a,l){return e=eh(n,r,!0,e,i,s,o,a,l),e.context=a1(null),n=e.current,r=qe(),i=ir(n),s=Sn(r,i),s.callback=t??null,nr(n,s,i),e.current.lanes=i,Co(e,i,r),nt(e,r),e}function Kl(e,t,n,r){var i=t.current,s=qe(),o=ir(i);return n=a1(n),t.context===null?t.context=n:t.pendingContext=n,t=Sn(s,o),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=nr(i,t,o),e!==null&&(Vt(e,i,o,s),Ca(e,i,o)),o}function ml(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function fm(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function th(e,t){fm(e,t),(e=e.alternate)&&fm(e,t)}function FC(){return null}var u1=typeof reportError=="function"?reportError:function(e){console.error(e)};function nh(e){this._internalRoot=e}ql.prototype.render=nh.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(D(409));Kl(e,t,null,null)};ql.prototype.unmount=nh.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Qr(function(){Kl(null,e,null,null)}),t[En]=null}};function ql(e){this._internalRoot=e}ql.prototype.unstable_scheduleHydration=function(e){if(e){var t=zv();e={blockedOn:null,target:e,priority:t};for(var n=0;n<In.length&&t!==0&&t<In[n].priority;n++);In.splice(n,0,e),n===0&&Uv(e)}};function rh(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Gl(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function dm(){}function VC(e,t,n,r,i){if(i){if(typeof r=="function"){var s=r;r=function(){var u=ml(o);s.call(u)}}var o=l1(t,r,e,0,null,!1,!1,"",dm);return e._reactRootContainer=o,e[En]=o.current,Js(e.nodeType===8?e.parentNode:e),Qr(),o}for(;i=e.lastChild;)e.removeChild(i);if(typeof r=="function"){var a=r;r=function(){var u=ml(l);a.call(u)}}var l=eh(e,0,!1,null,null,!1,!1,"",dm);return e._reactRootContainer=l,e[En]=l.current,Js(e.nodeType===8?e.parentNode:e),Qr(function(){Kl(t,l,n,r)}),l}function Ql(e,t,n,r,i){var s=n._reactRootContainer;if(s){var o=s;if(typeof i=="function"){var a=i;i=function(){var l=ml(o);a.call(l)}}Kl(t,o,e,i)}else o=VC(n,t,e,i,r);return ml(o)}Iv=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Rs(t.pendingLanes);n!==0&&(kd(t,n|1),nt(t,ve()),!(J&6)&&(Xi=ve()+500,mr()))}break;case 13:Qr(function(){var r=bn(e,1);if(r!==null){var i=qe();Vt(r,e,1,i)}}),th(e,1)}};Cd=function(e){if(e.tag===13){var t=bn(e,134217728);if(t!==null){var n=qe();Vt(t,e,134217728,n)}th(e,134217728)}};jv=function(e){if(e.tag===13){var t=ir(e),n=bn(e,t);if(n!==null){var r=qe();Vt(n,e,t,r)}th(e,t)}};zv=function(){return re};Bv=function(e,t){var n=re;try{return re=e,t()}finally{re=n}};Oc=function(e,t,n){switch(t){case"input":if(Ec(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=jl(r);if(!i)throw Error(D(90));vv(r),Ec(r,i)}}}break;case"textarea":xv(e,n);break;case"select":t=n.value,t!=null&&Ci(e,!!n.multiple,t,!1)}};Tv=Xd;Rv=Qr;var NC={usingClientEntryPoint:!1,Events:[bo,di,jl,bv,Pv,Xd]},ws={findFiberByHostInstance:Er,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},IC={bundleType:ws.bundleType,version:ws.version,rendererPackageName:ws.rendererPackageName,rendererConfig:ws.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:An.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Ov(e),e===null?null:e.stateNode},findFiberByHostInstance:ws.findFiberByHostInstance||FC,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var ra=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ra.isDisabled&&ra.supportsFiber)try{Fl=ra.inject(IC),Zt=ra}catch{}}dt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=NC;dt.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!rh(t))throw Error(D(200));return _C(e,t,null,n)};dt.createRoot=function(e,t){if(!rh(e))throw Error(D(299));var n=!1,r="",i=u1;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(i=t.onRecoverableError)),t=eh(e,1,!1,null,null,n,!1,r,i),e[En]=t.current,Js(e.nodeType===8?e.parentNode:e),new nh(t)};dt.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(D(188)):(e=Object.keys(e).join(","),Error(D(268,e)));return e=Ov(t),e=e===null?null:e.stateNode,e};dt.flushSync=function(e){return Qr(e)};dt.hydrate=function(e,t,n){if(!Gl(t))throw Error(D(200));return Ql(null,e,t,!0,n)};dt.hydrateRoot=function(e,t,n){if(!rh(e))throw Error(D(405));var r=n!=null&&n.hydratedSources||null,i=!1,s="",o=u1;if(n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(s=n.identifierPrefix),n.onRecoverableError!==void 0&&(o=n.onRecoverableError)),t=l1(t,null,e,1,n??null,i,!1,s,o),e[En]=t.current,Js(e),r)for(e=0;e<r.length;e++)n=r[e],i=n._getVersion,i=i(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,i]:t.mutableSourceEagerHydrationData.push(n,i);return new ql(t)};dt.render=function(e,t,n){if(!Gl(t))throw Error(D(200));return Ql(null,e,t,!1,n)};dt.unmountComponentAtNode=function(e){if(!Gl(e))throw Error(D(40));return e._reactRootContainer?(Qr(function(){Ql(null,null,e,!1,function(){e._reactRootContainer=null,e[En]=null})}),!0):!1};dt.unstable_batchedUpdates=Xd;dt.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Gl(n))throw Error(D(200));if(e==null||e._reactInternals===void 0)throw Error(D(38));return Ql(e,t,n,!1,r)};dt.version="18.3.1-next-f1338f8080-20240426";function c1(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(c1)}catch(e){console.error(e)}}c1(),cv.exports=dt;var ih=cv.exports;const oL=Zg(ih);var hm=ih;ap.createRoot=hm.createRoot,ap.hydrateRoot=hm.hydrateRoot;var ss=class{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(){}},jC={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},zn,ud,Bg,zC=(Bg=class{constructor(){B(this,zn,jC);B(this,ud,!1)}setTimeoutProvider(e){_(this,zn,e)}setTimeout(e,t){return S(this,zn).setTimeout(e,t)}clearTimeout(e){S(this,zn).clearTimeout(e)}setInterval(e,t){return S(this,zn).setInterval(e,t)}clearInterval(e){S(this,zn).clearInterval(e)}},zn=new WeakMap,ud=new WeakMap,Bg),Tr=new zC;function BC(e){setTimeout(e,0)}var Yi=typeof window>"u"||"Deno"in globalThis;function yt(){}function UC(e,t){return typeof e=="function"?e(t):e}function ff(e){return typeof e=="number"&&e>=0&&e!==1/0}function f1(e,t){return Math.max(e+(t||0)-Date.now(),0)}function or(e,t){return typeof e=="function"?e(t):e}function gt(e,t){return typeof e=="function"?e(t):e}function pm(e,t){const{type:n="all",exact:r,fetchStatus:i,predicate:s,queryKey:o,stale:a}=e;if(o){if(r){if(t.queryHash!==sh(o,t.options))return!1}else if(!lo(t.queryKey,o))return!1}if(n!=="all"){const l=t.isActive();if(n==="active"&&!l||n==="inactive"&&l)return!1}return!(typeof a=="boolean"&&t.isStale()!==a||i&&i!==t.state.fetchStatus||s&&!s(t))}function mm(e,t){const{exact:n,status:r,predicate:i,mutationKey:s}=e;if(s){if(!t.options.mutationKey)return!1;if(n){if(Xr(t.options.mutationKey)!==Xr(s))return!1}else if(!lo(t.options.mutationKey,s))return!1}return!(r&&t.state.status!==r||i&&!i(t))}function sh(e,t){return((t==null?void 0:t.queryKeyHashFn)||Xr)(e)}function Xr(e){return JSON.stringify(e,(t,n)=>df(n)?Object.keys(n).sort().reduce((r,i)=>(r[i]=n[i],r),{}):n)}function lo(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>lo(e[n],t[n])):!1}var $C=Object.prototype.hasOwnProperty;function d1(e,t,n=0){if(e===t)return e;if(n>500)return t;const r=ym(e)&&ym(t);if(!r&&!(df(e)&&df(t)))return t;const s=(r?e:Object.keys(e)).length,o=r?t:Object.keys(t),a=o.length,l=r?new Array(a):{};let u=0;for(let c=0;c<a;c++){const f=r?c:o[c],d=e[f],p=t[f];if(d===p){l[f]=d,(r?c<s:$C.call(e,f))&&u++;continue}if(d===null||p===null||typeof d!="object"||typeof p!="object"){l[f]=p;continue}const h=d1(d,p,n+1);l[f]=h,h===d&&u++}return s===a&&u===s?e:l}function yl(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(e[n]!==t[n])return!1;return!0}function ym(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function df(e){if(!gm(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!gm(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function gm(e){return Object.prototype.toString.call(e)==="[object Object]"}function WC(e){return new Promise(t=>{Tr.setTimeout(t,e)})}function hf(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?d1(e,t):t}function aL(e){return e}function HC(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function KC(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var oh=Symbol();function h1(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===oh?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function lL(e,t){return typeof e=="function"?e(...t):!!e}function qC(e,t,n){let r=!1,i;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(i??(i=t()),r||(r=!0,i.aborted?n():i.addEventListener("abort",n,{once:!0})),i)}),e}var Or,Bn,Di,Ug,GC=(Ug=class extends ss{constructor(){super();B(this,Or);B(this,Bn);B(this,Di);_(this,Di,t=>{if(!Yi&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){S(this,Bn)||this.setEventListener(S(this,Di))}onUnsubscribe(){var t;this.hasListeners()||((t=S(this,Bn))==null||t.call(this),_(this,Bn,void 0))}setEventListener(t){var n;_(this,Di,t),(n=S(this,Bn))==null||n.call(this),_(this,Bn,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){S(this,Or)!==t&&(_(this,Or,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof S(this,Or)=="boolean"?S(this,Or):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},Or=new WeakMap,Bn=new WeakMap,Di=new WeakMap,Ug),ah=new GC;function pf(){let e,t;const n=new Promise((i,s)=>{e=i,t=s});n.status="pending",n.catch(()=>{});function r(i){Object.assign(n,i),delete n.resolve,delete n.reject}return n.resolve=i=>{r({status:"fulfilled",value:i}),e(i)},n.reject=i=>{r({status:"rejected",reason:i}),t(i)},n}var QC=BC;function XC(){let e=[],t=0,n=a=>{a()},r=a=>{a()},i=QC;const s=a=>{t?e.push(a):i(()=>{n(a)})},o=()=>{const a=e;e=[],a.length&&i(()=>{r(()=>{a.forEach(l=>{n(l)})})})};return{batch:a=>{let l;t++;try{l=a()}finally{t--,t||o()}return l},batchCalls:a=>(...l)=>{s(()=>{a(...l)})},schedule:s,setNotifyFunction:a=>{n=a},setBatchNotifyFunction:a=>{r=a},setScheduler:a=>{i=a}}}var De=XC(),Li,Un,_i,$g,YC=($g=class extends ss{constructor(){super();B(this,Li,!0);B(this,Un);B(this,_i);_(this,_i,t=>{if(!Yi&&window.addEventListener){const n=()=>t(!0),r=()=>t(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",r)}}})}onSubscribe(){S(this,Un)||this.setEventListener(S(this,_i))}onUnsubscribe(){var t;this.hasListeners()||((t=S(this,Un))==null||t.call(this),_(this,Un,void 0))}setEventListener(t){var n;_(this,_i,t),(n=S(this,Un))==null||n.call(this),_(this,Un,t(this.setOnline.bind(this)))}setOnline(t){S(this,Li)!==t&&(_(this,Li,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return S(this,Li)}},Li=new WeakMap,Un=new WeakMap,_i=new WeakMap,$g),gl=new YC;function ZC(e){return Math.min(1e3*2**e,3e4)}function p1(e){return(e??"online")==="online"?gl.isOnline():!0}var mf=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function m1(e){let t=!1,n=0,r;const i=pf(),s=()=>i.status!=="pending",o=y=>{var w;if(!s()){const m=new mf(y);d(m),(w=e.onCancel)==null||w.call(e,m)}},a=()=>{t=!0},l=()=>{t=!1},u=()=>ah.isFocused()&&(e.networkMode==="always"||gl.isOnline())&&e.canRun(),c=()=>p1(e.networkMode)&&e.canRun(),f=y=>{s()||(r==null||r(),i.resolve(y))},d=y=>{s()||(r==null||r(),i.reject(y))},p=()=>new Promise(y=>{var w;r=m=>{(s()||u())&&y(m)},(w=e.onPause)==null||w.call(e)}).then(()=>{var y;r=void 0,s()||(y=e.onContinue)==null||y.call(e)}),h=()=>{if(s())return;let y;const w=n===0?e.initialPromise:void 0;try{y=w??e.fn()}catch(m){y=Promise.reject(m)}Promise.resolve(y).then(f).catch(m=>{var E;if(s())return;const g=e.retry??(Yi?0:3),v=e.retryDelay??ZC,x=typeof v=="function"?v(n,m):v,C=g===!0||typeof g=="number"&&n<g||typeof g=="function"&&g(n,m);if(t||!C){d(m);return}n++,(E=e.onFail)==null||E.call(e,n,m),WC(x).then(()=>u()?void 0:p()).then(()=>{t?d(m):h()})})};return{promise:i,status:()=>i.status,cancel:o,continue:()=>(r==null||r(),i),cancelRetry:a,continueRetry:l,canStart:c,start:()=>(c()?h():p().then(h),i)}}var Dr,Wg,y1=(Wg=class{constructor(){B(this,Dr)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),ff(this.gcTime)&&_(this,Dr,Tr.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Yi?1/0:5*60*1e3))}clearGcTimeout(){S(this,Dr)&&(Tr.clearTimeout(S(this,Dr)),_(this,Dr,void 0))}},Dr=new WeakMap,Wg),Lr,Fi,mt,_r,Te,go,Fr,Ot,cn,Hg,JC=(Hg=class extends y1{constructor(t){super();B(this,Ot);B(this,Lr);B(this,Fi);B(this,mt);B(this,_r);B(this,Te);B(this,go);B(this,Fr);_(this,Fr,!1),_(this,go,t.defaultOptions),this.setOptions(t.options),this.observers=[],_(this,_r,t.client),_(this,mt,S(this,_r).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,_(this,Lr,wm(this.options)),this.state=t.state??S(this,Lr),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=S(this,Te))==null?void 0:t.promise}setOptions(t){if(this.options={...S(this,go),...t},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const n=wm(this.options);n.data!==void 0&&(this.setState(vm(n.data,n.dataUpdatedAt)),_(this,Lr,n))}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&S(this,mt).remove(this)}setData(t,n){const r=hf(this.state.data,t,this.options);return G(this,Ot,cn).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){G(this,Ot,cn).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,i;const n=(r=S(this,Te))==null?void 0:r.promise;return(i=S(this,Te))==null||i.cancel(t),n?n.then(yt).catch(yt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(S(this,Lr))}isActive(){return this.observers.some(t=>gt(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===oh||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>or(t.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(t=0){return this.state.data===void 0?!0:t==="static"?!1:this.state.isInvalidated?!0:!f1(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=S(this,Te))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=S(this,Te))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),S(this,mt).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(S(this,Te)&&(S(this,Fr)?S(this,Te).cancel({revert:!0}):S(this,Te).cancelRetry()),this.scheduleGc()),S(this,mt).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||G(this,Ot,cn).call(this,{type:"invalidate"})}async fetch(t,n){var l,u,c,f,d,p,h,y,w,m,g,v;if(this.state.fetchStatus!=="idle"&&((l=S(this,Te))==null?void 0:l.status())!=="rejected"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(S(this,Te))return S(this,Te).continueRetry(),S(this,Te).promise}if(t&&this.setOptions(t),!this.options.queryFn){const x=this.observers.find(C=>C.options.queryFn);x&&this.setOptions(x.options)}const r=new AbortController,i=x=>{Object.defineProperty(x,"signal",{enumerable:!0,get:()=>(_(this,Fr,!0),r.signal)})},s=()=>{const x=h1(this.options,n),E=(()=>{const b={client:S(this,_r),queryKey:this.queryKey,meta:this.meta};return i(b),b})();return _(this,Fr,!1),this.options.persister?this.options.persister(x,E,this):x(E)},a=(()=>{const x={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:S(this,_r),state:this.state,fetchFn:s};return i(x),x})();(u=this.options.behavior)==null||u.onFetch(a,this),_(this,Fi,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((c=a.fetchOptions)==null?void 0:c.meta))&&G(this,Ot,cn).call(this,{type:"fetch",meta:(f=a.fetchOptions)==null?void 0:f.meta}),_(this,Te,m1({initialPromise:n==null?void 0:n.initialPromise,fn:a.fetchFn,onCancel:x=>{x instanceof mf&&x.revert&&this.setState({...S(this,Fi),fetchStatus:"idle"}),r.abort()},onFail:(x,C)=>{G(this,Ot,cn).call(this,{type:"failed",failureCount:x,error:C})},onPause:()=>{G(this,Ot,cn).call(this,{type:"pause"})},onContinue:()=>{G(this,Ot,cn).call(this,{type:"continue"})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0}));try{const x=await S(this,Te).start();if(x===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(x),(p=(d=S(this,mt).config).onSuccess)==null||p.call(d,x,this),(y=(h=S(this,mt).config).onSettled)==null||y.call(h,x,this.state.error,this),x}catch(x){if(x instanceof mf){if(x.silent)return S(this,Te).promise;if(x.revert){if(this.state.data===void 0)throw x;return this.state.data}}throw G(this,Ot,cn).call(this,{type:"error",error:x}),(m=(w=S(this,mt).config).onError)==null||m.call(w,x,this),(v=(g=S(this,mt).config).onSettled)==null||v.call(g,this.state.data,x,this),x}finally{this.scheduleGc()}}},Lr=new WeakMap,Fi=new WeakMap,mt=new WeakMap,_r=new WeakMap,Te=new WeakMap,go=new WeakMap,Fr=new WeakMap,Ot=new WeakSet,cn=function(t){const n=r=>{switch(t.type){case"failed":return{...r,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,...g1(r.data,this.options),fetchMeta:t.meta??null};case"success":const i={...r,...vm(t.data,t.dataUpdatedAt),dataUpdateCount:r.dataUpdateCount+1,...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return _(this,Fi,t.manual?i:void 0),i;case"error":const s=t.error;return{...r,error:s,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:s,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),De.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),S(this,mt).notify({query:this,type:"updated",action:t})})},Hg);function g1(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:p1(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function vm(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:"success"}}function wm(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var Xe,Z,vo,$e,Vr,Vi,pn,$n,wo,Ni,Ii,Nr,Ir,Wn,ji,ne,Ms,yf,gf,vf,wf,xf,Sf,kf,v1,Kg,uL=(Kg=class extends ss{constructor(t,n){super();B(this,ne);B(this,Xe);B(this,Z);B(this,vo);B(this,$e);B(this,Vr);B(this,Vi);B(this,pn);B(this,$n);B(this,wo);B(this,Ni);B(this,Ii);B(this,Nr);B(this,Ir);B(this,Wn);B(this,ji,new Set);this.options=n,_(this,Xe,t),_(this,$n,null),_(this,pn,pf()),this.bindMethods(),this.setOptions(n)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(S(this,Z).addObserver(this),xm(S(this,Z),this.options)?G(this,ne,Ms).call(this):this.updateResult(),G(this,ne,wf).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Cf(S(this,Z),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Cf(S(this,Z),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,G(this,ne,xf).call(this),G(this,ne,Sf).call(this),S(this,Z).removeObserver(this)}setOptions(t){const n=this.options,r=S(this,Z);if(this.options=S(this,Xe).defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof gt(this.options.enabled,S(this,Z))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");G(this,ne,kf).call(this),S(this,Z).setOptions(this.options),n._defaulted&&!yl(this.options,n)&&S(this,Xe).getQueryCache().notify({type:"observerOptionsUpdated",query:S(this,Z),observer:this});const i=this.hasListeners();i&&Sm(S(this,Z),r,this.options,n)&&G(this,ne,Ms).call(this),this.updateResult(),i&&(S(this,Z)!==r||gt(this.options.enabled,S(this,Z))!==gt(n.enabled,S(this,Z))||or(this.options.staleTime,S(this,Z))!==or(n.staleTime,S(this,Z)))&&G(this,ne,yf).call(this);const s=G(this,ne,gf).call(this);i&&(S(this,Z)!==r||gt(this.options.enabled,S(this,Z))!==gt(n.enabled,S(this,Z))||s!==S(this,Wn))&&G(this,ne,vf).call(this,s)}getOptimisticResult(t){const n=S(this,Xe).getQueryCache().build(S(this,Xe),t),r=this.createResult(n,t);return t2(this,r)&&(_(this,$e,r),_(this,Vi,this.options),_(this,Vr,S(this,Z).state)),r}getCurrentResult(){return S(this,$e)}trackResult(t,n){return new Proxy(t,{get:(r,i)=>(this.trackProp(i),n==null||n(i),i==="promise"&&(this.trackProp("data"),!this.options.experimental_prefetchInRender&&S(this,pn).status==="pending"&&S(this,pn).reject(new Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(r,i))})}trackProp(t){S(this,ji).add(t)}getCurrentQuery(){return S(this,Z)}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const n=S(this,Xe).defaultQueryOptions(t),r=S(this,Xe).getQueryCache().build(S(this,Xe),n);return r.fetch().then(()=>this.createResult(r,n))}fetch(t){return G(this,ne,Ms).call(this,{...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),S(this,$e)))}createResult(t,n){var M;const r=S(this,Z),i=this.options,s=S(this,$e),o=S(this,Vr),a=S(this,Vi),u=t!==r?t.state:S(this,vo),{state:c}=t;let f={...c},d=!1,p;if(n._optimisticResults){const R=this.hasListeners(),F=!R&&xm(t,n),U=R&&Sm(t,r,n,i);(F||U)&&(f={...f,...g1(c.data,t.options)}),n._optimisticResults==="isRestoring"&&(f.fetchStatus="idle")}let{error:h,errorUpdatedAt:y,status:w}=f;p=f.data;let m=!1;if(n.placeholderData!==void 0&&p===void 0&&w==="pending"){let R;s!=null&&s.isPlaceholderData&&n.placeholderData===(a==null?void 0:a.placeholderData)?(R=s.data,m=!0):R=typeof n.placeholderData=="function"?n.placeholderData((M=S(this,Ii))==null?void 0:M.state.data,S(this,Ii)):n.placeholderData,R!==void 0&&(w="success",p=hf(s==null?void 0:s.data,R,n),d=!0)}if(n.select&&p!==void 0&&!m)if(s&&p===(o==null?void 0:o.data)&&n.select===S(this,wo))p=S(this,Ni);else try{_(this,wo,n.select),p=n.select(p),p=hf(s==null?void 0:s.data,p,n),_(this,Ni,p),_(this,$n,null)}catch(R){_(this,$n,R)}S(this,$n)&&(h=S(this,$n),p=S(this,Ni),y=Date.now(),w="error");const g=f.fetchStatus==="fetching",v=w==="pending",x=w==="error",C=v&&g,E=p!==void 0,k={status:w,fetchStatus:f.fetchStatus,isPending:v,isSuccess:w==="success",isError:x,isInitialLoading:C,isLoading:C,data:p,dataUpdatedAt:f.dataUpdatedAt,error:h,errorUpdatedAt:y,failureCount:f.fetchFailureCount,failureReason:f.fetchFailureReason,errorUpdateCount:f.errorUpdateCount,isFetched:f.dataUpdateCount>0||f.errorUpdateCount>0,isFetchedAfterMount:f.dataUpdateCount>u.dataUpdateCount||f.errorUpdateCount>u.errorUpdateCount,isFetching:g,isRefetching:g&&!v,isLoadingError:x&&!E,isPaused:f.fetchStatus==="paused",isPlaceholderData:d,isRefetchError:x&&E,isStale:lh(t,n),refetch:this.refetch,promise:S(this,pn),isEnabled:gt(n.enabled,t)!==!1};if(this.options.experimental_prefetchInRender){const R=k.data!==void 0,F=k.status==="error"&&!R,U=X=>{F?X.reject(k.error):R&&X.resolve(k.data)},K=()=>{const X=_(this,pn,k.promise=pf());U(X)},W=S(this,pn);switch(W.status){case"pending":t.queryHash===r.queryHash&&U(W);break;case"fulfilled":(F||k.data!==W.value)&&K();break;case"rejected":(!F||k.error!==W.reason)&&K();break}}return k}updateResult(){const t=S(this,$e),n=this.createResult(S(this,Z),this.options);if(_(this,Vr,S(this,Z).state),_(this,Vi,this.options),S(this,Vr).data!==void 0&&_(this,Ii,S(this,Z)),yl(n,t))return;_(this,$e,n);const r=()=>{if(!t)return!0;const{notifyOnChangeProps:i}=this.options,s=typeof i=="function"?i():i;if(s==="all"||!s&&!S(this,ji).size)return!0;const o=new Set(s??S(this,ji));return this.options.throwOnError&&o.add("error"),Object.keys(S(this,$e)).some(a=>{const l=a;return S(this,$e)[l]!==t[l]&&o.has(l)})};G(this,ne,v1).call(this,{listeners:r()})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&G(this,ne,wf).call(this)}},Xe=new WeakMap,Z=new WeakMap,vo=new WeakMap,$e=new WeakMap,Vr=new WeakMap,Vi=new WeakMap,pn=new WeakMap,$n=new WeakMap,wo=new WeakMap,Ni=new WeakMap,Ii=new WeakMap,Nr=new WeakMap,Ir=new WeakMap,Wn=new WeakMap,ji=new WeakMap,ne=new WeakSet,Ms=function(t){G(this,ne,kf).call(this);let n=S(this,Z).fetch(this.options,t);return t!=null&&t.throwOnError||(n=n.catch(yt)),n},yf=function(){G(this,ne,xf).call(this);const t=or(this.options.staleTime,S(this,Z));if(Yi||S(this,$e).isStale||!ff(t))return;const r=f1(S(this,$e).dataUpdatedAt,t)+1;_(this,Nr,Tr.setTimeout(()=>{S(this,$e).isStale||this.updateResult()},r))},gf=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(S(this,Z)):this.options.refetchInterval)??!1},vf=function(t){G(this,ne,Sf).call(this),_(this,Wn,t),!(Yi||gt(this.options.enabled,S(this,Z))===!1||!ff(S(this,Wn))||S(this,Wn)===0)&&_(this,Ir,Tr.setInterval(()=>{(this.options.refetchIntervalInBackground||ah.isFocused())&&G(this,ne,Ms).call(this)},S(this,Wn)))},wf=function(){G(this,ne,yf).call(this),G(this,ne,vf).call(this,G(this,ne,gf).call(this))},xf=function(){S(this,Nr)&&(Tr.clearTimeout(S(this,Nr)),_(this,Nr,void 0))},Sf=function(){S(this,Ir)&&(Tr.clearInterval(S(this,Ir)),_(this,Ir,void 0))},kf=function(){const t=S(this,Xe).getQueryCache().build(S(this,Xe),this.options);if(t===S(this,Z))return;const n=S(this,Z);_(this,Z,t),_(this,vo,t.state),this.hasListeners()&&(n==null||n.removeObserver(this),t.addObserver(this))},v1=function(t){De.batch(()=>{t.listeners&&this.listeners.forEach(n=>{n(S(this,$e))}),S(this,Xe).getQueryCache().notify({query:S(this,Z),type:"observerResultsUpdated"})})},Kg);function e2(e,t){return gt(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&t.retryOnMount===!1)}function xm(e,t){return e2(e,t)||e.state.data!==void 0&&Cf(e,t,t.refetchOnMount)}function Cf(e,t,n){if(gt(t.enabled,e)!==!1&&or(t.staleTime,e)!=="static"){const r=typeof n=="function"?n(e):n;return r==="always"||r!==!1&&lh(e,t)}return!1}function Sm(e,t,n,r){return(e!==t||gt(r.enabled,e)===!1)&&(!n.suspense||e.state.status!=="error")&&lh(e,n)}function lh(e,t){return gt(t.enabled,e)!==!1&&e.isStaleByTime(or(t.staleTime,e))}function t2(e,t){return!yl(e.getCurrentResult(),t)}function km(e){return{onFetch:(t,n)=>{var c,f,d,p,h;const r=t.options,i=(d=(f=(c=t.fetchOptions)==null?void 0:c.meta)==null?void 0:f.fetchMore)==null?void 0:d.direction,s=((p=t.state.data)==null?void 0:p.pages)||[],o=((h=t.state.data)==null?void 0:h.pageParams)||[];let a={pages:[],pageParams:[]},l=0;const u=async()=>{let y=!1;const w=v=>{qC(v,()=>t.signal,()=>y=!0)},m=h1(t.options,t.fetchOptions),g=async(v,x,C)=>{if(y)return Promise.reject();if(x==null&&v.pages.length)return Promise.resolve(v);const b=(()=>{const F={client:t.client,queryKey:t.queryKey,pageParam:x,direction:C?"backward":"forward",meta:t.options.meta};return w(F),F})(),k=await m(b),{maxPages:M}=t.options,R=C?KC:HC;return{pages:R(v.pages,k,M),pageParams:R(v.pageParams,x,M)}};if(i&&s.length){const v=i==="backward",x=v?n2:Cm,C={pages:s,pageParams:o},E=x(r,C);a=await g(C,E,v)}else{const v=e??s.length;do{const x=l===0?o[0]??r.initialPageParam:Cm(r,a);if(l>0&&x==null)break;a=await g(a,x),l++}while(l<v)}return a};t.options.persister?t.fetchFn=()=>{var y,w;return(w=(y=t.options).persister)==null?void 0:w.call(y,u,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=u}}}function Cm(e,{pages:t,pageParams:n}){const r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function n2(e,{pages:t,pageParams:n}){var r;return t.length>0?(r=e.getPreviousPageParam)==null?void 0:r.call(e,t[0],t,n[0],n):void 0}var xo,Ht,je,jr,Kt,_n,qg,r2=(qg=class extends y1{constructor(t){super();B(this,Kt);B(this,xo);B(this,Ht);B(this,je);B(this,jr);_(this,xo,t.client),this.mutationId=t.mutationId,_(this,je,t.mutationCache),_(this,Ht,[]),this.state=t.state||w1(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){S(this,Ht).includes(t)||(S(this,Ht).push(t),this.clearGcTimeout(),S(this,je).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){_(this,Ht,S(this,Ht).filter(n=>n!==t)),this.scheduleGc(),S(this,je).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){S(this,Ht).length||(this.state.status==="pending"?this.scheduleGc():S(this,je).remove(this))}continue(){var t;return((t=S(this,jr))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var o,a,l,u,c,f,d,p,h,y,w,m,g,v,x,C,E,b;const n=()=>{G(this,Kt,_n).call(this,{type:"continue"})},r={client:S(this,xo),meta:this.options.meta,mutationKey:this.options.mutationKey};_(this,jr,m1({fn:()=>this.options.mutationFn?this.options.mutationFn(t,r):Promise.reject(new Error("No mutationFn found")),onFail:(k,M)=>{G(this,Kt,_n).call(this,{type:"failed",failureCount:k,error:M})},onPause:()=>{G(this,Kt,_n).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>S(this,je).canRun(this)}));const i=this.state.status==="pending",s=!S(this,jr).canStart();try{if(i)n();else{G(this,Kt,_n).call(this,{type:"pending",variables:t,isPaused:s}),S(this,je).config.onMutate&&await S(this,je).config.onMutate(t,this,r);const M=await((a=(o=this.options).onMutate)==null?void 0:a.call(o,t,r));M!==this.state.context&&G(this,Kt,_n).call(this,{type:"pending",context:M,variables:t,isPaused:s})}const k=await S(this,jr).start();return await((u=(l=S(this,je).config).onSuccess)==null?void 0:u.call(l,k,t,this.state.context,this,r)),await((f=(c=this.options).onSuccess)==null?void 0:f.call(c,k,t,this.state.context,r)),await((p=(d=S(this,je).config).onSettled)==null?void 0:p.call(d,k,null,this.state.variables,this.state.context,this,r)),await((y=(h=this.options).onSettled)==null?void 0:y.call(h,k,null,t,this.state.context,r)),G(this,Kt,_n).call(this,{type:"success",data:k}),k}catch(k){try{await((m=(w=S(this,je).config).onError)==null?void 0:m.call(w,k,t,this.state.context,this,r))}catch(M){Promise.reject(M)}try{await((v=(g=this.options).onError)==null?void 0:v.call(g,k,t,this.state.context,r))}catch(M){Promise.reject(M)}try{await((C=(x=S(this,je).config).onSettled)==null?void 0:C.call(x,void 0,k,this.state.variables,this.state.context,this,r))}catch(M){Promise.reject(M)}try{await((b=(E=this.options).onSettled)==null?void 0:b.call(E,void 0,k,t,this.state.context,r))}catch(M){Promise.reject(M)}throw G(this,Kt,_n).call(this,{type:"error",error:k}),k}finally{S(this,je).runNext(this)}}},xo=new WeakMap,Ht=new WeakMap,je=new WeakMap,jr=new WeakMap,Kt=new WeakSet,_n=function(t){const n=r=>{switch(t.type){case"failed":return{...r,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"pending":return{...r,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...r,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:t.error,failureCount:r.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=n(this.state),De.batch(()=>{S(this,Ht).forEach(r=>{r.onMutationUpdate(t)}),S(this,je).notify({mutation:this,type:"updated",action:t})})},qg);function w1(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var mn,Dt,So,Gg,i2=(Gg=class extends ss{constructor(t={}){super();B(this,mn);B(this,Dt);B(this,So);this.config=t,_(this,mn,new Set),_(this,Dt,new Map),_(this,So,0)}build(t,n,r){const i=new r2({client:t,mutationCache:this,mutationId:++zo(this,So)._,options:t.defaultMutationOptions(n),state:r});return this.add(i),i}add(t){S(this,mn).add(t);const n=ia(t);if(typeof n=="string"){const r=S(this,Dt).get(n);r?r.push(t):S(this,Dt).set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(S(this,mn).delete(t)){const n=ia(t);if(typeof n=="string"){const r=S(this,Dt).get(n);if(r)if(r.length>1){const i=r.indexOf(t);i!==-1&&r.splice(i,1)}else r[0]===t&&S(this,Dt).delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=ia(t);if(typeof n=="string"){const r=S(this,Dt).get(n),i=r==null?void 0:r.find(s=>s.state.status==="pending");return!i||i===t}else return!0}runNext(t){var r;const n=ia(t);if(typeof n=="string"){const i=(r=S(this,Dt).get(n))==null?void 0:r.find(s=>s!==t&&s.state.isPaused);return(i==null?void 0:i.continue())??Promise.resolve()}else return Promise.resolve()}clear(){De.batch(()=>{S(this,mn).forEach(t=>{this.notify({type:"removed",mutation:t})}),S(this,mn).clear(),S(this,Dt).clear()})}getAll(){return Array.from(S(this,mn))}find(t){const n={exact:!0,...t};return this.getAll().find(r=>mm(n,r))}findAll(t={}){return this.getAll().filter(n=>mm(t,n))}notify(t){De.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return De.batch(()=>Promise.all(t.map(n=>n.continue().catch(yt))))}},mn=new WeakMap,Dt=new WeakMap,So=new WeakMap,Gg);function ia(e){var t;return(t=e.options.scope)==null?void 0:t.id}var yn,Hn,Ye,gn,kn,Ma,Ef,Qg,cL=(Qg=class extends ss{constructor(t,n){super();B(this,kn);B(this,yn);B(this,Hn);B(this,Ye);B(this,gn);_(this,yn,t),this.setOptions(n),this.bindMethods(),G(this,kn,Ma).call(this)}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(t){var r;const n=this.options;this.options=S(this,yn).defaultMutationOptions(t),yl(this.options,n)||S(this,yn).getMutationCache().notify({type:"observerOptionsUpdated",mutation:S(this,Ye),observer:this}),n!=null&&n.mutationKey&&this.options.mutationKey&&Xr(n.mutationKey)!==Xr(this.options.mutationKey)?this.reset():((r=S(this,Ye))==null?void 0:r.state.status)==="pending"&&S(this,Ye).setOptions(this.options)}onUnsubscribe(){var t;this.hasListeners()||(t=S(this,Ye))==null||t.removeObserver(this)}onMutationUpdate(t){G(this,kn,Ma).call(this),G(this,kn,Ef).call(this,t)}getCurrentResult(){return S(this,Hn)}reset(){var t;(t=S(this,Ye))==null||t.removeObserver(this),_(this,Ye,void 0),G(this,kn,Ma).call(this),G(this,kn,Ef).call(this)}mutate(t,n){var r;return _(this,gn,n),(r=S(this,Ye))==null||r.removeObserver(this),_(this,Ye,S(this,yn).getMutationCache().build(S(this,yn),this.options)),S(this,Ye).addObserver(this),S(this,Ye).execute(t)}},yn=new WeakMap,Hn=new WeakMap,Ye=new WeakMap,gn=new WeakMap,kn=new WeakSet,Ma=function(){var n;const t=((n=S(this,Ye))==null?void 0:n.state)??w1();_(this,Hn,{...t,isPending:t.status==="pending",isSuccess:t.status==="success",isError:t.status==="error",isIdle:t.status==="idle",mutate:this.mutate,reset:this.reset})},Ef=function(t){De.batch(()=>{var n,r,i,s,o,a,l,u;if(S(this,gn)&&this.hasListeners()){const c=S(this,Hn).variables,f=S(this,Hn).context,d={client:S(this,yn),meta:this.options.meta,mutationKey:this.options.mutationKey};if((t==null?void 0:t.type)==="success"){try{(r=(n=S(this,gn)).onSuccess)==null||r.call(n,t.data,c,f,d)}catch(p){Promise.reject(p)}try{(s=(i=S(this,gn)).onSettled)==null||s.call(i,t.data,null,c,f,d)}catch(p){Promise.reject(p)}}else if((t==null?void 0:t.type)==="error"){try{(a=(o=S(this,gn)).onError)==null||a.call(o,t.error,c,f,d)}catch(p){Promise.reject(p)}try{(u=(l=S(this,gn)).onSettled)==null||u.call(l,void 0,t.error,c,f,d)}catch(p){Promise.reject(p)}}}this.listeners.forEach(c=>{c(S(this,Hn))})})},Qg),qt,Xg,s2=(Xg=class extends ss{constructor(t={}){super();B(this,qt);this.config=t,_(this,qt,new Map)}build(t,n,r){const i=n.queryKey,s=n.queryHash??sh(i,n);let o=this.get(s);return o||(o=new JC({client:t,queryKey:i,queryHash:s,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(i)}),this.add(o)),o}add(t){S(this,qt).has(t.queryHash)||(S(this,qt).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=S(this,qt).get(t.queryHash);n&&(t.destroy(),n===t&&S(this,qt).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){De.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return S(this,qt).get(t)}getAll(){return[...S(this,qt).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>pm(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>pm(t,r)):n}notify(t){De.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){De.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){De.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},qt=new WeakMap,Xg),me,Kn,qn,zi,Bi,Gn,Ui,$i,Yg,fL=(Yg=class{constructor(e={}){B(this,me);B(this,Kn);B(this,qn);B(this,zi);B(this,Bi);B(this,Gn);B(this,Ui);B(this,$i);_(this,me,e.queryCache||new s2),_(this,Kn,e.mutationCache||new i2),_(this,qn,e.defaultOptions||{}),_(this,zi,new Map),_(this,Bi,new Map),_(this,Gn,0)}mount(){zo(this,Gn)._++,S(this,Gn)===1&&(_(this,Ui,ah.subscribe(async e=>{e&&(await this.resumePausedMutations(),S(this,me).onFocus())})),_(this,$i,gl.subscribe(async e=>{e&&(await this.resumePausedMutations(),S(this,me).onOnline())})))}unmount(){var e,t;zo(this,Gn)._--,S(this,Gn)===0&&((e=S(this,Ui))==null||e.call(this),_(this,Ui,void 0),(t=S(this,$i))==null||t.call(this),_(this,$i,void 0))}isFetching(e){return S(this,me).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return S(this,Kn).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=S(this,me).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=S(this,me).build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(or(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return S(this,me).findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),i=S(this,me).get(r.queryHash),s=i==null?void 0:i.state.data,o=UC(t,s);if(o!==void 0)return S(this,me).build(this,r).setData(o,{...n,manual:!0})}setQueriesData(e,t,n){return De.batch(()=>S(this,me).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=S(this,me).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=S(this,me);De.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=S(this,me);return De.batch(()=>(n.findAll(e).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},r=De.batch(()=>S(this,me).findAll(e).map(i=>i.cancel(n)));return Promise.all(r).then(yt).catch(yt)}invalidateQueries(e,t={}){return De.batch(()=>(S(this,me).findAll(e).forEach(n=>{n.invalidate()}),(e==null?void 0:e.refetchType)==="none"?Promise.resolve():this.refetchQueries({...e,type:(e==null?void 0:e.refetchType)??(e==null?void 0:e.type)??"active"},t)))}refetchQueries(e,t={}){const n={...t,cancelRefetch:t.cancelRefetch??!0},r=De.batch(()=>S(this,me).findAll(e).filter(i=>!i.isDisabled()&&!i.isStatic()).map(i=>{let s=i.fetch(void 0,n);return n.throwOnError||(s=s.catch(yt)),i.state.fetchStatus==="paused"?Promise.resolve():s}));return Promise.all(r).then(yt)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=S(this,me).build(this,t);return n.isStaleByTime(or(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(yt).catch(yt)}fetchInfiniteQuery(e){return e.behavior=km(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(yt).catch(yt)}ensureInfiniteQueryData(e){return e.behavior=km(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return gl.isOnline()?S(this,Kn).resumePausedMutations():Promise.resolve()}getQueryCache(){return S(this,me)}getMutationCache(){return S(this,Kn)}getDefaultOptions(){return S(this,qn)}setDefaultOptions(e){_(this,qn,e)}setQueryDefaults(e,t){S(this,zi).set(Xr(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...S(this,zi).values()],n={};return t.forEach(r=>{lo(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){S(this,Bi).set(Xr(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...S(this,Bi).values()],n={};return t.forEach(r=>{lo(e,r.mutationKey)&&Object.assign(n,r.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...S(this,qn).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=sh(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===oh&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...S(this,qn).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){S(this,me).clear(),S(this,Kn).clear()}},me=new WeakMap,Kn=new WeakMap,qn=new WeakMap,zi=new WeakMap,Bi=new WeakMap,Gn=new WeakMap,Ui=new WeakMap,$i=new WeakMap,Yg);function x1(e,t){return function(){return e.apply(t,arguments)}}const{toString:o2}=Object.prototype,{getPrototypeOf:uh}=Object,{iterator:Xl,toStringTag:S1}=Symbol,Yl=(e=>t=>{const n=o2.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Bt=e=>(e=e.toLowerCase(),t=>Yl(t)===e),Zl=e=>t=>typeof t===e,{isArray:os}=Array,Zi=Zl("undefined");function To(e){return e!==null&&!Zi(e)&&e.constructor!==null&&!Zi(e.constructor)&&rt(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const k1=Bt("ArrayBuffer");function a2(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&k1(e.buffer),t}const l2=Zl("string"),rt=Zl("function"),C1=Zl("number"),Ro=e=>e!==null&&typeof e=="object",u2=e=>e===!0||e===!1,Oa=e=>{if(Yl(e)!=="object")return!1;const t=uh(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(S1 in e)&&!(Xl in e)},c2=e=>{if(!Ro(e)||To(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},f2=Bt("Date"),d2=Bt("File"),h2=e=>!!(e&&typeof e.uri<"u"),p2=e=>e&&typeof e.getParts<"u",m2=Bt("Blob"),y2=Bt("FileList"),g2=e=>Ro(e)&&rt(e.pipe);function v2(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}const Em=v2(),bm=typeof Em.FormData<"u"?Em.FormData:void 0,w2=e=>{let t;return e&&(bm&&e instanceof bm||rt(e.append)&&((t=Yl(e))==="formdata"||t==="object"&&rt(e.toString)&&e.toString()==="[object FormData]"))},x2=Bt("URLSearchParams"),[S2,k2,C2,E2]=["ReadableStream","Request","Response","Headers"].map(Bt),b2=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Ao(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),os(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{if(To(e))return;const s=n?Object.getOwnPropertyNames(e):Object.keys(e),o=s.length;let a;for(r=0;r<o;r++)a=s[r],t.call(null,e[a],a,e)}}function E1(e,t){if(To(e))return null;t=t.toLowerCase();const n=Object.keys(e);let r=n.length,i;for(;r-- >0;)if(i=n[r],t===i.toLowerCase())return i;return null}const Rr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,b1=e=>!Zi(e)&&e!==Rr;function bf(){const{caseless:e,skipUndefined:t}=b1(this)&&this||{},n={},r=(i,s)=>{if(s==="__proto__"||s==="constructor"||s==="prototype")return;const o=e&&E1(n,s)||s;Oa(n[o])&&Oa(i)?n[o]=bf(n[o],i):Oa(i)?n[o]=bf({},i):os(i)?n[o]=i.slice():(!t||!Zi(i))&&(n[o]=i)};for(let i=0,s=arguments.length;i<s;i++)arguments[i]&&Ao(arguments[i],r);return n}const P2=(e,t,n,{allOwnKeys:r}={})=>(Ao(t,(i,s)=>{n&&rt(i)?Object.defineProperty(e,s,{value:x1(i,n),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,s,{value:i,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:r}),e),T2=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),R2=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),Object.defineProperty(e.prototype,"constructor",{value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},A2=(e,t,n,r)=>{let i,s,o;const a={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),s=i.length;s-- >0;)o=i[s],(!r||r(o,e,t))&&!a[o]&&(t[o]=e[o],a[o]=!0);e=n!==!1&&uh(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},M2=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},O2=e=>{if(!e)return null;if(os(e))return e;let t=e.length;if(!C1(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},D2=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&uh(Uint8Array)),L2=(e,t)=>{const r=(e&&e[Xl]).call(e);let i;for(;(i=r.next())&&!i.done;){const s=i.value;t.call(e,s[0],s[1])}},_2=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},F2=Bt("HTMLFormElement"),V2=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,i){return r.toUpperCase()+i}),Pm=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),N2=Bt("RegExp"),P1=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Ao(n,(i,s)=>{let o;(o=t(i,s,e))!==!1&&(r[s]=o||i)}),Object.defineProperties(e,r)},I2=e=>{P1(e,(t,n)=>{if(rt(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(rt(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},j2=(e,t)=>{const n={},r=i=>{i.forEach(s=>{n[s]=!0})};return os(e)?r(e):r(String(e).split(t)),n},z2=()=>{},B2=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function U2(e){return!!(e&&rt(e.append)&&e[S1]==="FormData"&&e[Xl])}const $2=e=>{const t=new Array(10),n=(r,i)=>{if(Ro(r)){if(t.indexOf(r)>=0)return;if(To(r))return r;if(!("toJSON"in r)){t[i]=r;const s=os(r)?[]:{};return Ao(r,(o,a)=>{const l=n(o,i+1);!Zi(l)&&(s[a]=l)}),t[i]=void 0,s}}return r};return n(e,0)},W2=Bt("AsyncFunction"),H2=e=>e&&(Ro(e)||rt(e))&&rt(e.then)&&rt(e.catch),T1=((e,t)=>e?setImmediate:t?((n,r)=>(Rr.addEventListener("message",({source:i,data:s})=>{i===Rr&&s===n&&r.length&&r.shift()()},!1),i=>{r.push(i),Rr.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",rt(Rr.postMessage)),K2=typeof queueMicrotask<"u"?queueMicrotask.bind(Rr):typeof process<"u"&&process.nextTick||T1,q2=e=>e!=null&&rt(e[Xl]),P={isArray:os,isArrayBuffer:k1,isBuffer:To,isFormData:w2,isArrayBufferView:a2,isString:l2,isNumber:C1,isBoolean:u2,isObject:Ro,isPlainObject:Oa,isEmptyObject:c2,isReadableStream:S2,isRequest:k2,isResponse:C2,isHeaders:E2,isUndefined:Zi,isDate:f2,isFile:d2,isReactNativeBlob:h2,isReactNative:p2,isBlob:m2,isRegExp:N2,isFunction:rt,isStream:g2,isURLSearchParams:x2,isTypedArray:D2,isFileList:y2,forEach:Ao,merge:bf,extend:P2,trim:b2,stripBOM:T2,inherits:R2,toFlatObject:A2,kindOf:Yl,kindOfTest:Bt,endsWith:M2,toArray:O2,forEachEntry:L2,matchAll:_2,isHTMLForm:F2,hasOwnProperty:Pm,hasOwnProp:Pm,reduceDescriptors:P1,freezeMethods:I2,toObjectSet:j2,toCamelCase:V2,noop:z2,toFiniteNumber:B2,findKey:E1,global:Rr,isContextDefined:b1,isSpecCompliantForm:U2,toJSONObject:$2,isAsyncFn:W2,isThenable:H2,setImmediate:T1,asap:K2,isIterable:q2};let H=class R1 extends Error{static from(t,n,r,i,s,o){const a=new R1(t.message,n||t.code,r,i,s);return a.cause=t,a.name=t.name,t.status!=null&&a.status==null&&(a.status=t.status),o&&Object.assign(a,o),a}constructor(t,n,r,i,s){super(t),Object.defineProperty(this,"message",{value:t,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,n&&(this.code=n),r&&(this.config=r),i&&(this.request=i),s&&(this.response=s,this.status=s.status)}toJSON(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:P.toJSONObject(this.config),code:this.code,status:this.status}}};H.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";H.ERR_BAD_OPTION="ERR_BAD_OPTION";H.ECONNABORTED="ECONNABORTED";H.ETIMEDOUT="ETIMEDOUT";H.ERR_NETWORK="ERR_NETWORK";H.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";H.ERR_DEPRECATED="ERR_DEPRECATED";H.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";H.ERR_BAD_REQUEST="ERR_BAD_REQUEST";H.ERR_CANCELED="ERR_CANCELED";H.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";H.ERR_INVALID_URL="ERR_INVALID_URL";const G2=null;function Pf(e){return P.isPlainObject(e)||P.isArray(e)}function A1(e){return P.endsWith(e,"[]")?e.slice(0,-2):e}function zu(e,t,n){return e?e.concat(t).map(function(i,s){return i=A1(i),!n&&s?"["+i+"]":i}).join(n?".":""):t}function Q2(e){return P.isArray(e)&&!e.some(Pf)}const X2=P.toFlatObject(P,{},null,function(t){return/^is[A-Z]/.test(t)});function Jl(e,t,n){if(!P.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=P.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(y,w){return!P.isUndefined(w[y])});const r=n.metaTokens,i=n.visitor||c,s=n.dots,o=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&P.isSpecCompliantForm(t);if(!P.isFunction(i))throw new TypeError("visitor must be a function");function u(h){if(h===null)return"";if(P.isDate(h))return h.toISOString();if(P.isBoolean(h))return h.toString();if(!l&&P.isBlob(h))throw new H("Blob is not supported. Use a Buffer instead.");return P.isArrayBuffer(h)||P.isTypedArray(h)?l&&typeof Blob=="function"?new Blob([h]):Buffer.from(h):h}function c(h,y,w){let m=h;if(P.isReactNative(t)&&P.isReactNativeBlob(h))return t.append(zu(w,y,s),u(h)),!1;if(h&&!w&&typeof h=="object"){if(P.endsWith(y,"{}"))y=r?y:y.slice(0,-2),h=JSON.stringify(h);else if(P.isArray(h)&&Q2(h)||(P.isFileList(h)||P.endsWith(y,"[]"))&&(m=P.toArray(h)))return y=A1(y),m.forEach(function(v,x){!(P.isUndefined(v)||v===null)&&t.append(o===!0?zu([y],x,s):o===null?y:y+"[]",u(v))}),!1}return Pf(h)?!0:(t.append(zu(w,y,s),u(h)),!1)}const f=[],d=Object.assign(X2,{defaultVisitor:c,convertValue:u,isVisitable:Pf});function p(h,y){if(!P.isUndefined(h)){if(f.indexOf(h)!==-1)throw Error("Circular reference detected in "+y.join("."));f.push(h),P.forEach(h,function(m,g){(!(P.isUndefined(m)||m===null)&&i.call(t,m,P.isString(g)?g.trim():g,y,d))===!0&&p(m,y?y.concat(g):[g])}),f.pop()}}if(!P.isObject(e))throw new TypeError("data must be an object");return p(e),t}function Tm(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function ch(e,t){this._pairs=[],e&&Jl(e,this,t)}const M1=ch.prototype;M1.append=function(t,n){this._pairs.push([t,n])};M1.toString=function(t){const n=t?function(r){return t.call(this,r,Tm)}:Tm;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function Y2(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function O1(e,t,n){if(!t)return e;const r=n&&n.encode||Y2,i=P.isFunction(n)?{serialize:n}:n,s=i&&i.serialize;let o;if(s?o=s(t,i):o=P.isURLSearchParams(t)?t.toString():new ch(t,i).toString(r),o){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class Rm{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){P.forEach(this.handlers,function(r){r!==null&&t(r)})}}const fh={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0},Z2=typeof URLSearchParams<"u"?URLSearchParams:ch,J2=typeof FormData<"u"?FormData:null,eE=typeof Blob<"u"?Blob:null,tE={isBrowser:!0,classes:{URLSearchParams:Z2,FormData:J2,Blob:eE},protocols:["http","https","file","blob","url","data"]},dh=typeof window<"u"&&typeof document<"u",Tf=typeof navigator=="object"&&navigator||void 0,nE=dh&&(!Tf||["ReactNative","NativeScript","NS"].indexOf(Tf.product)<0),rE=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",iE=dh&&window.location.href||"http://localhost",sE=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:dh,hasStandardBrowserEnv:nE,hasStandardBrowserWebWorkerEnv:rE,navigator:Tf,origin:iE},Symbol.toStringTag,{value:"Module"})),Be={...sE,...tE};function oE(e,t){return Jl(e,new Be.classes.URLSearchParams,{visitor:function(n,r,i,s){return Be.isNode&&P.isBuffer(n)?(this.append(r,n.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)},...t})}function aE(e){return P.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function lE(e){const t={},n=Object.keys(e);let r;const i=n.length;let s;for(r=0;r<i;r++)s=n[r],t[s]=e[s];return t}function D1(e){function t(n,r,i,s){let o=n[s++];if(o==="__proto__")return!0;const a=Number.isFinite(+o),l=s>=n.length;return o=!o&&P.isArray(i)?i.length:o,l?(P.hasOwnProp(i,o)?i[o]=[i[o],r]:i[o]=r,!a):((!i[o]||!P.isObject(i[o]))&&(i[o]=[]),t(n,r,i[o],s)&&P.isArray(i[o])&&(i[o]=lE(i[o])),!a)}if(P.isFormData(e)&&P.isFunction(e.entries)){const n={};return P.forEachEntry(e,(r,i)=>{t(aE(r),i,n,0)}),n}return null}function uE(e,t,n){if(P.isString(e))try{return(t||JSON.parse)(e),P.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const Mo={transitional:fh,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",i=r.indexOf("application/json")>-1,s=P.isObject(t);if(s&&P.isHTMLForm(t)&&(t=new FormData(t)),P.isFormData(t))return i?JSON.stringify(D1(t)):t;if(P.isArrayBuffer(t)||P.isBuffer(t)||P.isStream(t)||P.isFile(t)||P.isBlob(t)||P.isReadableStream(t))return t;if(P.isArrayBufferView(t))return t.buffer;if(P.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(s){if(r.indexOf("application/x-www-form-urlencoded")>-1)return oE(t,this.formSerializer).toString();if((a=P.isFileList(t))||r.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return Jl(a?{"files[]":t}:t,l&&new l,this.formSerializer)}}return s||i?(n.setContentType("application/json",!1),uE(t)):t}],transformResponse:[function(t){const n=this.transitional||Mo.transitional,r=n&&n.forcedJSONParsing,i=this.responseType==="json";if(P.isResponse(t)||P.isReadableStream(t))return t;if(t&&P.isString(t)&&(r&&!this.responseType||i)){const o=!(n&&n.silentJSONParsing)&&i;try{return JSON.parse(t,this.parseReviver)}catch(a){if(o)throw a.name==="SyntaxError"?H.from(a,H.ERR_BAD_RESPONSE,this,null,this.response):a}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Be.classes.FormData,Blob:Be.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};P.forEach(["delete","get","head","post","put","patch"],e=>{Mo.headers[e]={}});const cE=P.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),fE=e=>{const t={};let n,r,i;return e&&e.split(`
41
- `).forEach(function(o){i=o.indexOf(":"),n=o.substring(0,i).trim().toLowerCase(),r=o.substring(i+1).trim(),!(!n||t[n]&&cE[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Am=Symbol("internals");function xs(e){return e&&String(e).trim().toLowerCase()}function Da(e){return e===!1||e==null?e:P.isArray(e)?e.map(Da):String(e)}function dE(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const hE=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Bu(e,t,n,r,i){if(P.isFunction(r))return r.call(this,t,n);if(i&&(t=n),!!P.isString(t)){if(P.isString(r))return t.indexOf(r)!==-1;if(P.isRegExp(r))return r.test(t)}}function pE(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function mE(e,t){const n=P.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(i,s,o){return this[r].call(this,t,i,s,o)},configurable:!0})})}let it=class{constructor(t){t&&this.set(t)}set(t,n,r){const i=this;function s(a,l,u){const c=xs(l);if(!c)throw new Error("header name must be a non-empty string");const f=P.findKey(i,c);(!f||i[f]===void 0||u===!0||u===void 0&&i[f]!==!1)&&(i[f||l]=Da(a))}const o=(a,l)=>P.forEach(a,(u,c)=>s(u,c,l));if(P.isPlainObject(t)||t instanceof this.constructor)o(t,n);else if(P.isString(t)&&(t=t.trim())&&!hE(t))o(fE(t),n);else if(P.isObject(t)&&P.isIterable(t)){let a={},l,u;for(const c of t){if(!P.isArray(c))throw TypeError("Object iterator must return a key-value pair");a[u=c[0]]=(l=a[u])?P.isArray(l)?[...l,c[1]]:[l,c[1]]:c[1]}o(a,n)}else t!=null&&s(n,t,r);return this}get(t,n){if(t=xs(t),t){const r=P.findKey(this,t);if(r){const i=this[r];if(!n)return i;if(n===!0)return dE(i);if(P.isFunction(n))return n.call(this,i,r);if(P.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=xs(t),t){const r=P.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||Bu(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let i=!1;function s(o){if(o=xs(o),o){const a=P.findKey(r,o);a&&(!n||Bu(r,r[a],a,n))&&(delete r[a],i=!0)}}return P.isArray(t)?t.forEach(s):s(t),i}clear(t){const n=Object.keys(this);let r=n.length,i=!1;for(;r--;){const s=n[r];(!t||Bu(this,this[s],s,t,!0))&&(delete this[s],i=!0)}return i}normalize(t){const n=this,r={};return P.forEach(this,(i,s)=>{const o=P.findKey(r,s);if(o){n[o]=Da(i),delete n[s];return}const a=t?pE(s):String(s).trim();a!==s&&delete n[s],n[a]=Da(i),r[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return P.forEach(this,(r,i)=>{r!=null&&r!==!1&&(n[i]=t&&P.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
42
- `)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(i=>r.set(i)),r}static accessor(t){const r=(this[Am]=this[Am]={accessors:{}}).accessors,i=this.prototype;function s(o){const a=xs(o);r[a]||(mE(i,o),r[a]=!0)}return P.isArray(t)?t.forEach(s):s(t),this}};it.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);P.reduceDescriptors(it.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});P.freezeMethods(it);function Uu(e,t){const n=this||Mo,r=t||n,i=it.from(r.headers);let s=r.data;return P.forEach(e,function(a){s=a.call(n,s,i.normalize(),t?t.status:void 0)}),i.normalize(),s}function L1(e){return!!(e&&e.__CANCEL__)}let Oo=class extends H{constructor(t,n,r){super(t??"canceled",H.ERR_CANCELED,n,r),this.name="CanceledError",this.__CANCEL__=!0}};function _1(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new H("Request failed with status code "+n.status,[H.ERR_BAD_REQUEST,H.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function yE(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function gE(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i=0,s=0,o;return t=t!==void 0?t:1e3,function(l){const u=Date.now(),c=r[s];o||(o=u),n[i]=l,r[i]=u;let f=s,d=0;for(;f!==i;)d+=n[f++],f=f%e;if(i=(i+1)%e,i===s&&(s=(s+1)%e),u-o<t)return;const p=c&&u-c;return p?Math.round(d*1e3/p):void 0}}function vE(e,t){let n=0,r=1e3/t,i,s;const o=(u,c=Date.now())=>{n=c,i=null,s&&(clearTimeout(s),s=null),e(...u)};return[(...u)=>{const c=Date.now(),f=c-n;f>=r?o(u,c):(i=u,s||(s=setTimeout(()=>{s=null,o(i)},r-f)))},()=>i&&o(i)]}const vl=(e,t,n=3)=>{let r=0;const i=gE(50,250);return vE(s=>{const o=s.loaded,a=s.lengthComputable?s.total:void 0,l=o-r,u=i(l),c=o<=a;r=o;const f={loaded:o,total:a,progress:a?o/a:void 0,bytes:l,rate:u||void 0,estimated:u&&a&&c?(a-o)/u:void 0,event:s,lengthComputable:a!=null,[t?"download":"upload"]:!0};e(f)},n)},Mm=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},Om=e=>(...t)=>P.asap(()=>e(...t)),wE=Be.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,Be.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(Be.origin),Be.navigator&&/(msie|trident)/i.test(Be.navigator.userAgent)):()=>!0,xE=Be.hasStandardBrowserEnv?{write(e,t,n,r,i,s,o){if(typeof document>"u")return;const a=[`${e}=${encodeURIComponent(t)}`];P.isNumber(n)&&a.push(`expires=${new Date(n).toUTCString()}`),P.isString(r)&&a.push(`path=${r}`),P.isString(i)&&a.push(`domain=${i}`),s===!0&&a.push("secure"),P.isString(o)&&a.push(`SameSite=${o}`),document.cookie=a.join("; ")},read(e){if(typeof document>"u")return null;const t=document.cookie.match(new RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function SE(e){return typeof e!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function kE(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function F1(e,t,n){let r=!SE(t);return e&&(r||n==!1)?kE(e,t):t}const Dm=e=>e instanceof it?{...e}:e;function Yr(e,t){t=t||{};const n={};function r(u,c,f,d){return P.isPlainObject(u)&&P.isPlainObject(c)?P.merge.call({caseless:d},u,c):P.isPlainObject(c)?P.merge({},c):P.isArray(c)?c.slice():c}function i(u,c,f,d){if(P.isUndefined(c)){if(!P.isUndefined(u))return r(void 0,u,f,d)}else return r(u,c,f,d)}function s(u,c){if(!P.isUndefined(c))return r(void 0,c)}function o(u,c){if(P.isUndefined(c)){if(!P.isUndefined(u))return r(void 0,u)}else return r(void 0,c)}function a(u,c,f){if(f in t)return r(u,c);if(f in e)return r(void 0,u)}const l={url:s,method:s,data:s,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:a,headers:(u,c,f)=>i(Dm(u),Dm(c),f,!0)};return P.forEach(Object.keys({...e,...t}),function(c){if(c==="__proto__"||c==="constructor"||c==="prototype")return;const f=P.hasOwnProp(l,c)?l[c]:i,d=f(e[c],t[c],c);P.isUndefined(d)&&f!==a||(n[c]=d)}),n}const V1=e=>{const t=Yr({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:i,xsrfCookieName:s,headers:o,auth:a}=t;if(t.headers=o=it.from(o),t.url=O1(F1(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),a&&o.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):""))),P.isFormData(n)){if(Be.hasStandardBrowserEnv||Be.hasStandardBrowserWebWorkerEnv)o.setContentType(void 0);else if(P.isFunction(n.getHeaders)){const l=n.getHeaders(),u=["content-type","content-length"];Object.entries(l).forEach(([c,f])=>{u.includes(c.toLowerCase())&&o.set(c,f)})}}if(Be.hasStandardBrowserEnv&&(r&&P.isFunction(r)&&(r=r(t)),r||r!==!1&&wE(t.url))){const l=i&&s&&xE.read(s);l&&o.set(i,l)}return t},CE=typeof XMLHttpRequest<"u",EE=CE&&function(e){return new Promise(function(n,r){const i=V1(e);let s=i.data;const o=it.from(i.headers).normalize();let{responseType:a,onUploadProgress:l,onDownloadProgress:u}=i,c,f,d,p,h;function y(){p&&p(),h&&h(),i.cancelToken&&i.cancelToken.unsubscribe(c),i.signal&&i.signal.removeEventListener("abort",c)}let w=new XMLHttpRequest;w.open(i.method.toUpperCase(),i.url,!0),w.timeout=i.timeout;function m(){if(!w)return;const v=it.from("getAllResponseHeaders"in w&&w.getAllResponseHeaders()),C={data:!a||a==="text"||a==="json"?w.responseText:w.response,status:w.status,statusText:w.statusText,headers:v,config:e,request:w};_1(function(b){n(b),y()},function(b){r(b),y()},C),w=null}"onloadend"in w?w.onloadend=m:w.onreadystatechange=function(){!w||w.readyState!==4||w.status===0&&!(w.responseURL&&w.responseURL.indexOf("file:")===0)||setTimeout(m)},w.onabort=function(){w&&(r(new H("Request aborted",H.ECONNABORTED,e,w)),w=null)},w.onerror=function(x){const C=x&&x.message?x.message:"Network Error",E=new H(C,H.ERR_NETWORK,e,w);E.event=x||null,r(E),w=null},w.ontimeout=function(){let x=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const C=i.transitional||fh;i.timeoutErrorMessage&&(x=i.timeoutErrorMessage),r(new H(x,C.clarifyTimeoutError?H.ETIMEDOUT:H.ECONNABORTED,e,w)),w=null},s===void 0&&o.setContentType(null),"setRequestHeader"in w&&P.forEach(o.toJSON(),function(x,C){w.setRequestHeader(C,x)}),P.isUndefined(i.withCredentials)||(w.withCredentials=!!i.withCredentials),a&&a!=="json"&&(w.responseType=i.responseType),u&&([d,h]=vl(u,!0),w.addEventListener("progress",d)),l&&w.upload&&([f,p]=vl(l),w.upload.addEventListener("progress",f),w.upload.addEventListener("loadend",p)),(i.cancelToken||i.signal)&&(c=v=>{w&&(r(!v||v.type?new Oo(null,e,w):v),w.abort(),w=null)},i.cancelToken&&i.cancelToken.subscribe(c),i.signal&&(i.signal.aborted?c():i.signal.addEventListener("abort",c)));const g=yE(i.url);if(g&&Be.protocols.indexOf(g)===-1){r(new H("Unsupported protocol "+g+":",H.ERR_BAD_REQUEST,e));return}w.send(s||null)})},bE=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let r=new AbortController,i;const s=function(u){if(!i){i=!0,a();const c=u instanceof Error?u:this.reason;r.abort(c instanceof H?c:new Oo(c instanceof Error?c.message:c))}};let o=t&&setTimeout(()=>{o=null,s(new H(`timeout of ${t}ms exceeded`,H.ETIMEDOUT))},t);const a=()=>{e&&(o&&clearTimeout(o),o=null,e.forEach(u=>{u.unsubscribe?u.unsubscribe(s):u.removeEventListener("abort",s)}),e=null)};e.forEach(u=>u.addEventListener("abort",s));const{signal:l}=r;return l.unsubscribe=()=>P.asap(a),l}},PE=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let r=0,i;for(;r<n;)i=r+t,yield e.slice(r,i),r=i},TE=async function*(e,t){for await(const n of RE(e))yield*PE(n,t)},RE=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:n,value:r}=await t.read();if(n)break;yield r}}finally{await t.cancel()}},Lm=(e,t,n,r)=>{const i=TE(e,t);let s=0,o,a=l=>{o||(o=!0,r&&r(l))};return new ReadableStream({async pull(l){try{const{done:u,value:c}=await i.next();if(u){a(),l.close();return}let f=c.byteLength;if(n){let d=s+=f;n(d)}l.enqueue(new Uint8Array(c))}catch(u){throw a(u),u}},cancel(l){return a(l),i.return()}},{highWaterMark:2})},_m=64*1024,{isFunction:sa}=P,AE=(({Request:e,Response:t})=>({Request:e,Response:t}))(P.global),{ReadableStream:Fm,TextEncoder:Vm}=P.global,Nm=(e,...t)=>{try{return!!e(...t)}catch{return!1}},ME=e=>{e=P.merge.call({skipUndefined:!0},AE,e);const{fetch:t,Request:n,Response:r}=e,i=t?sa(t):typeof fetch=="function",s=sa(n),o=sa(r);if(!i)return!1;const a=i&&sa(Fm),l=i&&(typeof Vm=="function"?(h=>y=>h.encode(y))(new Vm):async h=>new Uint8Array(await new n(h).arrayBuffer())),u=s&&a&&Nm(()=>{let h=!1;const y=new n(Be.origin,{body:new Fm,method:"POST",get duplex(){return h=!0,"half"}}).headers.has("Content-Type");return h&&!y}),c=o&&a&&Nm(()=>P.isReadableStream(new r("").body)),f={stream:c&&(h=>h.body)};i&&["text","arrayBuffer","blob","formData","stream"].forEach(h=>{!f[h]&&(f[h]=(y,w)=>{let m=y&&y[h];if(m)return m.call(y);throw new H(`Response type '${h}' is not supported`,H.ERR_NOT_SUPPORT,w)})});const d=async h=>{if(h==null)return 0;if(P.isBlob(h))return h.size;if(P.isSpecCompliantForm(h))return(await new n(Be.origin,{method:"POST",body:h}).arrayBuffer()).byteLength;if(P.isArrayBufferView(h)||P.isArrayBuffer(h))return h.byteLength;if(P.isURLSearchParams(h)&&(h=h+""),P.isString(h))return(await l(h)).byteLength},p=async(h,y)=>{const w=P.toFiniteNumber(h.getContentLength());return w??d(y)};return async h=>{let{url:y,method:w,data:m,signal:g,cancelToken:v,timeout:x,onDownloadProgress:C,onUploadProgress:E,responseType:b,headers:k,withCredentials:M="same-origin",fetchOptions:R}=V1(h),F=t||fetch;b=b?(b+"").toLowerCase():"text";let U=bE([g,v&&v.toAbortSignal()],x),K=null;const W=U&&U.unsubscribe&&(()=>{U.unsubscribe()});let X;try{if(E&&u&&w!=="get"&&w!=="head"&&(X=await p(k,m))!==0){let q=new n(y,{method:"POST",body:m,duplex:"half"}),te;if(P.isFormData(m)&&(te=q.headers.get("content-type"))&&k.setContentType(te),q.body){const[Pt,Ve]=Mm(X,vl(Om(E)));m=Lm(q.body,_m,Pt,Ve)}}P.isString(M)||(M=M?"include":"omit");const z=s&&"credentials"in n.prototype,ee={...R,signal:U,method:w.toUpperCase(),headers:k.normalize().toJSON(),body:m,duplex:"half",credentials:z?M:void 0};K=s&&new n(y,ee);let A=await(s?F(K,R):F(y,ee));const L=c&&(b==="stream"||b==="response");if(c&&(C||L&&W)){const q={};["status","statusText","headers"].forEach(pe=>{q[pe]=A[pe]});const te=P.toFiniteNumber(A.headers.get("content-length")),[Pt,Ve]=C&&Mm(te,vl(Om(C),!0))||[];A=new r(Lm(A.body,_m,Pt,()=>{Ve&&Ve(),W&&W()}),q)}b=b||"text";let O=await f[P.findKey(f,b)||"text"](A,h);return!L&&W&&W(),await new Promise((q,te)=>{_1(q,te,{data:O,headers:it.from(A.headers),status:A.status,statusText:A.statusText,config:h,request:K})})}catch(z){throw W&&W(),z&&z.name==="TypeError"&&/Load failed|fetch/i.test(z.message)?Object.assign(new H("Network Error",H.ERR_NETWORK,h,K,z&&z.response),{cause:z.cause||z}):H.from(z,z&&z.code,h,K,z&&z.response)}}},OE=new Map,N1=e=>{let t=e&&e.env||{};const{fetch:n,Request:r,Response:i}=t,s=[r,i,n];let o=s.length,a=o,l,u,c=OE;for(;a--;)l=s[a],u=c.get(l),u===void 0&&c.set(l,u=a?new Map:ME(t)),c=u;return u};N1();const hh={http:G2,xhr:EE,fetch:{get:N1}};P.forEach(hh,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Im=e=>`- ${e}`,DE=e=>P.isFunction(e)||e===null||e===!1;function LE(e,t){e=P.isArray(e)?e:[e];const{length:n}=e;let r,i;const s={};for(let o=0;o<n;o++){r=e[o];let a;if(i=r,!DE(r)&&(i=hh[(a=String(r)).toLowerCase()],i===void 0))throw new H(`Unknown adapter '${a}'`);if(i&&(P.isFunction(i)||(i=i.get(t))))break;s[a||"#"+o]=i}if(!i){const o=Object.entries(s).map(([l,u])=>`adapter ${l} `+(u===!1?"is not supported by the environment":"is not available in the build"));let a=n?o.length>1?`since :
43
- `+o.map(Im).join(`
44
- `):" "+Im(o[0]):"as no adapter specified";throw new H("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return i}const I1={getAdapter:LE,adapters:hh};function $u(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Oo(null,e)}function jm(e){return $u(e),e.headers=it.from(e.headers),e.data=Uu.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),I1.getAdapter(e.adapter||Mo.adapter,e)(e).then(function(r){return $u(e),r.data=Uu.call(e,e.transformResponse,r),r.headers=it.from(r.headers),r},function(r){return L1(r)||($u(e),r&&r.response&&(r.response.data=Uu.call(e,e.transformResponse,r.response),r.response.headers=it.from(r.response.headers))),Promise.reject(r)})}const j1="1.13.6",eu={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{eu[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const zm={};eu.transitional=function(t,n,r){function i(s,o){return"[Axios v"+j1+"] Transitional option '"+s+"'"+o+(r?". "+r:"")}return(s,o,a)=>{if(t===!1)throw new H(i(o," has been removed"+(n?" in "+n:"")),H.ERR_DEPRECATED);return n&&!zm[o]&&(zm[o]=!0,console.warn(i(o," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(s,o,a):!0}};eu.spelling=function(t){return(n,r)=>(console.warn(`${r} is likely a misspelling of ${t}`),!0)};function _E(e,t,n){if(typeof e!="object")throw new H("options must be an object",H.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const s=r[i],o=t[s];if(o){const a=e[s],l=a===void 0||o(a,s,e);if(l!==!0)throw new H("option "+s+" must be "+l,H.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new H("Unknown option "+s,H.ERR_BAD_OPTION)}}const La={assertOptions:_E,validators:eu},pt=La.validators;let Ur=class{constructor(t){this.defaults=t||{},this.interceptors={request:new Rm,response:new Rm}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let i={};Error.captureStackTrace?Error.captureStackTrace(i):i=new Error;const s=i.stack?i.stack.replace(/^.+\n/,""):"";try{r.stack?s&&!String(r.stack).endsWith(s.replace(/^.+\n.+\n/,""))&&(r.stack+=`
45
- `+s):r.stack=s}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Yr(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:s}=n;r!==void 0&&La.assertOptions(r,{silentJSONParsing:pt.transitional(pt.boolean),forcedJSONParsing:pt.transitional(pt.boolean),clarifyTimeoutError:pt.transitional(pt.boolean),legacyInterceptorReqResOrdering:pt.transitional(pt.boolean)},!1),i!=null&&(P.isFunction(i)?n.paramsSerializer={serialize:i}:La.assertOptions(i,{encode:pt.function,serialize:pt.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),La.assertOptions(n,{baseUrl:pt.spelling("baseURL"),withXsrfToken:pt.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let o=s&&P.merge(s.common,s[n.method]);s&&P.forEach(["delete","get","head","post","put","patch","common"],h=>{delete s[h]}),n.headers=it.concat(o,s);const a=[];let l=!0;this.interceptors.request.forEach(function(y){if(typeof y.runWhen=="function"&&y.runWhen(n)===!1)return;l=l&&y.synchronous;const w=n.transitional||fh;w&&w.legacyInterceptorReqResOrdering?a.unshift(y.fulfilled,y.rejected):a.push(y.fulfilled,y.rejected)});const u=[];this.interceptors.response.forEach(function(y){u.push(y.fulfilled,y.rejected)});let c,f=0,d;if(!l){const h=[jm.bind(this),void 0];for(h.unshift(...a),h.push(...u),d=h.length,c=Promise.resolve(n);f<d;)c=c.then(h[f++],h[f++]);return c}d=a.length;let p=n;for(;f<d;){const h=a[f++],y=a[f++];try{p=h(p)}catch(w){y.call(this,w);break}}try{c=jm.call(this,p)}catch(h){return Promise.reject(h)}for(f=0,d=u.length;f<d;)c=c.then(u[f++],u[f++]);return c}getUri(t){t=Yr(this.defaults,t);const n=F1(t.baseURL,t.url,t.allowAbsoluteUrls);return O1(n,t.params,t.paramsSerializer)}};P.forEach(["delete","get","head","options"],function(t){Ur.prototype[t]=function(n,r){return this.request(Yr(r||{},{method:t,url:n,data:(r||{}).data}))}});P.forEach(["post","put","patch"],function(t){function n(r){return function(s,o,a){return this.request(Yr(a||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:s,data:o}))}}Ur.prototype[t]=n(),Ur.prototype[t+"Form"]=n(!0)});let FE=class z1{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(s){n=s});const r=this;this.promise.then(i=>{if(!r._listeners)return;let s=r._listeners.length;for(;s-- >0;)r._listeners[s](i);r._listeners=null}),this.promise.then=i=>{let s;const o=new Promise(a=>{r.subscribe(a),s=a}).then(i);return o.cancel=function(){r.unsubscribe(s)},o},t(function(s,o,a){r.reason||(r.reason=new Oo(s,o,a),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new z1(function(i){t=i}),cancel:t}}};function VE(e){return function(n){return e.apply(null,n)}}function NE(e){return P.isObject(e)&&e.isAxiosError===!0}const Rf={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Rf).forEach(([e,t])=>{Rf[t]=e});function B1(e){const t=new Ur(e),n=x1(Ur.prototype.request,t);return P.extend(n,Ur.prototype,t,{allOwnKeys:!0}),P.extend(n,t,null,{allOwnKeys:!0}),n.create=function(i){return B1(Yr(e,i))},n}const Se=B1(Mo);Se.Axios=Ur;Se.CanceledError=Oo;Se.CancelToken=FE;Se.isCancel=L1;Se.VERSION=j1;Se.toFormData=Jl;Se.AxiosError=H;Se.Cancel=Se.CanceledError;Se.all=function(t){return Promise.all(t)};Se.spread=VE;Se.isAxiosError=NE;Se.mergeConfig=Yr;Se.AxiosHeaders=it;Se.formToJSON=e=>D1(P.isHTMLForm(e)?new FormData(e):e);Se.getAdapter=I1.getAdapter;Se.HttpStatusCode=Rf;Se.default=Se;const{Axios:mL,AxiosError:yL,CanceledError:gL,isCancel:vL,CancelToken:wL,VERSION:xL,all:SL,Cancel:kL,isAxiosError:CL,spread:EL,toFormData:bL,AxiosHeaders:PL,HttpStatusCode:TL,formToJSON:RL,getAdapter:AL,mergeConfig:ML}=Se;/**
46
- * @remix-run/router v1.23.2
47
- *
48
- * Copyright (c) Remix Software Inc.
49
- *
50
- * This source code is licensed under the MIT license found in the
51
- * LICENSE.md file in the root directory of this source tree.
52
- *
53
- * @license MIT
54
- */function uo(){return uo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},uo.apply(this,arguments)}var wi;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(wi||(wi={}));const Bm="popstate";function OL(e){e===void 0&&(e={});function t(r,i){let{pathname:s,search:o,hash:a}=r.location;return Af("",{pathname:s,search:o,hash:a},i.state&&i.state.usr||null,i.state&&i.state.key||"default")}function n(r,i){return typeof i=="string"?i:U1(i)}return jE(t,n,null,e)}function Ai(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function ph(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function IE(){return Math.random().toString(36).substr(2,8)}function Um(e,t){return{usr:e.state,key:e.key,idx:t}}function Af(e,t,n,r){return n===void 0&&(n=null),uo({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?tu(t):t,{state:n,key:t&&t.key||r||IE()})}function U1(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function tu(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function jE(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:s=!1}=r,o=i.history,a=wi.Pop,l=null,u=c();u==null&&(u=0,o.replaceState(uo({},o.state,{idx:u}),""));function c(){return(o.state||{idx:null}).idx}function f(){a=wi.Pop;let w=c(),m=w==null?null:w-u;u=w,l&&l({action:a,location:y.location,delta:m})}function d(w,m){a=wi.Push;let g=Af(y.location,w,m);u=c()+1;let v=Um(g,u),x=y.createHref(g);try{o.pushState(v,"",x)}catch(C){if(C instanceof DOMException&&C.name==="DataCloneError")throw C;i.location.assign(x)}s&&l&&l({action:a,location:y.location,delta:1})}function p(w,m){a=wi.Replace;let g=Af(y.location,w,m);u=c();let v=Um(g,u),x=y.createHref(g);o.replaceState(v,"",x),s&&l&&l({action:a,location:y.location,delta:0})}function h(w){let m=i.location.origin!=="null"?i.location.origin:i.location.href,g=typeof w=="string"?w:U1(w);return g=g.replace(/ $/,"%20"),Ai(m,"No window.location.(origin|href) available to create URL for href: "+g),new URL(g,m)}let y={get action(){return a},get location(){return e(i,o)},listen(w){if(l)throw new Error("A history only accepts one active listener");return i.addEventListener(Bm,f),l=w,()=>{i.removeEventListener(Bm,f),l=null}},createHref(w){return t(i,w)},createURL:h,encodeLocation(w){let m=h(w);return{pathname:m.pathname,search:m.search,hash:m.hash}},push:d,replace:p,go(w){return o.go(w)}};return y}var $m;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})($m||($m={}));function DL(e,t,n){return n===void 0&&(n="/"),zE(e,t,n)}function zE(e,t,n,r){let i=typeof t=="string"?tu(t):t,s=eb(i.pathname||"/",n);if(s==null)return null;let o=$1(e);BE(o);let a=null;for(let l=0;a==null&&l<o.length;++l){let u=JE(s);a=XE(o[l],u)}return a}function $1(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let i=(s,o,a)=>{let l={relativePath:a===void 0?s.path||"":a,caseSensitive:s.caseSensitive===!0,childrenIndex:o,route:s};l.relativePath.startsWith("/")&&(Ai(l.relativePath.startsWith(r),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(r.length));let u=_a([r,l.relativePath]),c=n.concat(l);s.children&&s.children.length>0&&(Ai(s.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),$1(s.children,t,c,u)),!(s.path==null&&!s.index)&&t.push({path:u,score:GE(u,s.index),routesMeta:c})};return e.forEach((s,o)=>{var a;if(s.path===""||!((a=s.path)!=null&&a.includes("?")))i(s,o);else for(let l of W1(s.path))i(s,o,l)}),t}function W1(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,i=n.endsWith("?"),s=n.replace(/\?$/,"");if(r.length===0)return i?[s,""]:[s];let o=W1(r.join("/")),a=[];return a.push(...o.map(l=>l===""?s:[s,l].join("/"))),i&&a.push(...o),a.map(l=>e.startsWith("/")&&l===""?"/":l)}function BE(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:QE(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const UE=/^:[\w-]+$/,$E=3,WE=2,HE=1,KE=10,qE=-2,Wm=e=>e==="*";function GE(e,t){let n=e.split("/"),r=n.length;return n.some(Wm)&&(r+=qE),t&&(r+=WE),n.filter(i=>!Wm(i)).reduce((i,s)=>i+(UE.test(s)?$E:s===""?HE:KE),r)}function QE(e,t){return e.length===t.length&&e.slice(0,-1).every((r,i)=>r===t[i])?e[e.length-1]-t[t.length-1]:0}function XE(e,t,n){let{routesMeta:r}=e,i={},s="/",o=[];for(let a=0;a<r.length;++a){let l=r[a],u=a===r.length-1,c=s==="/"?t:t.slice(s.length)||"/",f=YE({path:l.relativePath,caseSensitive:l.caseSensitive,end:u},c),d=l.route;if(!f)return null;Object.assign(i,f.params),o.push({params:i,pathname:_a([s,f.pathname]),pathnameBase:sb(_a([s,f.pathnameBase])),route:d}),f.pathnameBase!=="/"&&(s=_a([s,f.pathnameBase]))}return o}function YE(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=ZE(e.path,e.caseSensitive,e.end),i=t.match(n);if(!i)return null;let s=i[0],o=s.replace(/(.)\/+$/,"$1"),a=i.slice(1);return{params:r.reduce((u,c,f)=>{let{paramName:d,isOptional:p}=c;if(d==="*"){let y=a[f]||"";o=s.slice(0,s.length-y.length).replace(/(.)\/+$/,"$1")}const h=a[f];return p&&!h?u[d]=void 0:u[d]=(h||"").replace(/%2F/g,"/"),u},{}),pathname:s,pathnameBase:o,pattern:e}}function ZE(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),ph(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 r=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(o,a,l)=>(r.push({paramName:a,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),r]}function JE(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return ph(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function eb(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}const tb=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,nb=e=>tb.test(e);function rb(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?tu(e):e,s;if(n)if(nb(n))s=n;else{if(n.includes("//")){let o=n;n=n.replace(/\/\/+/g,"/"),ph(!1,"Pathnames cannot have embedded double slashes - normalizing "+(o+" -> "+n))}n.startsWith("/")?s=Hm(n.substring(1),"/"):s=Hm(n,t)}else s=t;return{pathname:s,search:ob(r),hash:ab(i)}}function Hm(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function Wu(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function ib(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function LL(e,t){let n=ib(e);return t?n.map((r,i)=>i===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function _L(e,t,n,r){r===void 0&&(r=!1);let i;typeof e=="string"?i=tu(e):(i=uo({},e),Ai(!i.pathname||!i.pathname.includes("?"),Wu("?","pathname","search",i)),Ai(!i.pathname||!i.pathname.includes("#"),Wu("#","pathname","hash",i)),Ai(!i.search||!i.search.includes("#"),Wu("#","search","hash",i)));let s=e===""||i.pathname==="",o=s?"/":i.pathname,a;if(o==null)a=n;else{let f=t.length-1;if(!r&&o.startsWith("..")){let d=o.split("/");for(;d[0]==="..";)d.shift(),f-=1;i.pathname=d.join("/")}a=f>=0?t[f]:"/"}let l=rb(i,a),u=o&&o!=="/"&&o.endsWith("/"),c=(s||o===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(u||c)&&(l.pathname+="/"),l}const _a=e=>e.join("/").replace(/\/\/+/g,"/"),sb=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),ob=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,ab=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function FL(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const H1=["post","put","patch","delete"];new Set(H1);const lb=["get",...H1];new Set(lb);/**
55
- * @license lucide-react v0.344.0 - ISC
56
- *
57
- * This source code is licensed under the ISC license.
58
- * See the LICENSE file in the root directory of this source tree.
59
- */var ub={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"};/**
60
- * @license lucide-react v0.344.0 - ISC
61
- *
62
- * This source code is licensed under the ISC license.
63
- * See the LICENSE file in the root directory of this source tree.
64
- */const cb=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase().trim(),$=(e,t)=>{const n=T.forwardRef(({color:r="currentColor",size:i=24,strokeWidth:s=2,absoluteStrokeWidth:o,className:a="",children:l,...u},c)=>T.createElement("svg",{ref:c,...ub,width:i,height:i,stroke:r,strokeWidth:o?Number(s)*24/Number(i):s,className:["lucide",`lucide-${cb(e)}`,a].join(" "),...u},[...t.map(([f,d])=>T.createElement(f,d)),...Array.isArray(l)?l:[l]]));return n.displayName=`${e}`,n};/**
65
- * @license lucide-react v0.344.0 - ISC
66
- *
67
- * This source code is licensed under the ISC license.
68
- * See the LICENSE file in the root directory of this source tree.
69
- */const VL=$("Activity",[["path",{d:"M22 12h-4l-3 9L9 3l-3 9H2",key:"d5dnw9"}]]);/**
70
- * @license lucide-react v0.344.0 - ISC
71
- *
72
- * This source code is licensed under the ISC license.
73
- * See the LICENSE file in the root directory of this source tree.
74
- */const NL=$("AlertCircle",[["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"}]]);/**
75
- * @license lucide-react v0.344.0 - ISC
76
- *
77
- * This source code is licensed under the ISC license.
78
- * See the LICENSE file in the root directory of this source tree.
79
- */const IL=$("AlertTriangle",[["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-3Z",key:"c3ski4"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);/**
80
- * @license lucide-react v0.344.0 - ISC
81
- *
82
- * This source code is licensed under the ISC license.
83
- * See the LICENSE file in the root directory of this source tree.
84
- */const jL=$("ArrowDownRight",[["path",{d:"m7 7 10 10",key:"1fmybs"}],["path",{d:"M17 7v10H7",key:"6fjiku"}]]);/**
85
- * @license lucide-react v0.344.0 - ISC
86
- *
87
- * This source code is licensed under the ISC license.
88
- * See the LICENSE file in the root directory of this source tree.
89
- */const zL=$("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/**
90
- * @license lucide-react v0.344.0 - ISC
91
- *
92
- * This source code is licensed under the ISC license.
93
- * See the LICENSE file in the root directory of this source tree.
94
- */const BL=$("ArrowUpRight",[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]]);/**
95
- * @license lucide-react v0.344.0 - ISC
96
- *
97
- * This source code is licensed under the ISC license.
98
- * See the LICENSE file in the root directory of this source tree.
99
- */const UL=$("BarChart3",[["path",{d:"M3 3v18h18",key:"1s2lah"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]]);/**
100
- * @license lucide-react v0.344.0 - ISC
101
- *
102
- * This source code is licensed under the ISC license.
103
- * See the LICENSE file in the root directory of this source tree.
104
- */const $L=$("Boxes",[["path",{d:"M2.97 12.92A2 2 0 0 0 2 14.63v3.24a2 2 0 0 0 .97 1.71l3 1.8a2 2 0 0 0 2.06 0L12 19v-5.5l-5-3-4.03 2.42Z",key:"lc1i9w"}],["path",{d:"m7 16.5-4.74-2.85",key:"1o9zyk"}],["path",{d:"m7 16.5 5-3",key:"va8pkn"}],["path",{d:"M7 16.5v5.17",key:"jnp8gn"}],["path",{d:"M12 13.5V19l3.97 2.38a2 2 0 0 0 2.06 0l3-1.8a2 2 0 0 0 .97-1.71v-3.24a2 2 0 0 0-.97-1.71L17 10.5l-5 3Z",key:"8zsnat"}],["path",{d:"m17 16.5-5-3",key:"8arw3v"}],["path",{d:"m17 16.5 4.74-2.85",key:"8rfmw"}],["path",{d:"M17 16.5v5.17",key:"k6z78m"}],["path",{d:"M7.97 4.42A2 2 0 0 0 7 6.13v4.37l5 3 5-3V6.13a2 2 0 0 0-.97-1.71l-3-1.8a2 2 0 0 0-2.06 0l-3 1.8Z",key:"1xygjf"}],["path",{d:"M12 8 7.26 5.15",key:"1vbdud"}],["path",{d:"m12 8 4.74-2.85",key:"3rx089"}],["path",{d:"M12 13.5V8",key:"1io7kd"}]]);/**
105
- * @license lucide-react v0.344.0 - ISC
106
- *
107
- * This source code is licensed under the ISC license.
108
- * See the LICENSE file in the root directory of this source tree.
109
- */const WL=$("CheckCircle2",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/**
110
- * @license lucide-react v0.344.0 - ISC
111
- *
112
- * This source code is licensed under the ISC license.
113
- * See the LICENSE file in the root directory of this source tree.
114
- */const HL=$("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/**
115
- * @license lucide-react v0.344.0 - ISC
116
- *
117
- * This source code is licensed under the ISC license.
118
- * See the LICENSE file in the root directory of this source tree.
119
- */const KL=$("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/**
120
- * @license lucide-react v0.344.0 - ISC
121
- *
122
- * This source code is licensed under the ISC license.
123
- * See the LICENSE file in the root directory of this source tree.
124
- */const qL=$("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);/**
125
- * @license lucide-react v0.344.0 - ISC
126
- *
127
- * This source code is licensed under the ISC license.
128
- * See the LICENSE file in the root directory of this source tree.
129
- */const GL=$("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/**
130
- * @license lucide-react v0.344.0 - ISC
131
- *
132
- * This source code is licensed under the ISC license.
133
- * See the LICENSE file in the root directory of this source tree.
134
- */const QL=$("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);/**
135
- * @license lucide-react v0.344.0 - ISC
136
- *
137
- * This source code is licensed under the ISC license.
138
- * See the LICENSE file in the root directory of this source tree.
139
- */const XL=$("Circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);/**
140
- * @license lucide-react v0.344.0 - ISC
141
- *
142
- * This source code is licensed under the ISC license.
143
- * See the LICENSE file in the root directory of this source tree.
144
- */const YL=$("Cog",[["path",{d:"M12 20a8 8 0 1 0 0-16 8 8 0 0 0 0 16Z",key:"sobvz5"}],["path",{d:"M12 14a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z",key:"11i496"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 22v-2",key:"1osdcq"}],["path",{d:"m17 20.66-1-1.73",key:"eq3orb"}],["path",{d:"M11 10.27 7 3.34",key:"16pf9h"}],["path",{d:"m20.66 17-1.73-1",key:"sg0v6f"}],["path",{d:"m3.34 7 1.73 1",key:"1ulond"}],["path",{d:"M14 12h8",key:"4f43i9"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"m20.66 7-1.73 1",key:"1ow05n"}],["path",{d:"m3.34 17 1.73-1",key:"nuk764"}],["path",{d:"m17 3.34-1 1.73",key:"2wel8s"}],["path",{d:"m11 13.73-4 6.93",key:"794ttg"}]]);/**
145
- * @license lucide-react v0.344.0 - ISC
146
- *
147
- * This source code is licensed under the ISC license.
148
- * See the LICENSE file in the root directory of this source tree.
149
- */const ZL=$("Copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);/**
150
- * @license lucide-react v0.344.0 - ISC
151
- *
152
- * This source code is licensed under the ISC license.
153
- * See the LICENSE file in the root directory of this source tree.
154
- */const JL=$("Download",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"7 10 12 15 17 10",key:"2ggqvy"}],["line",{x1:"12",x2:"12",y1:"15",y2:"3",key:"1vk2je"}]]);/**
155
- * @license lucide-react v0.344.0 - ISC
156
- *
157
- * This source code is licensed under the ISC license.
158
- * See the LICENSE file in the root directory of this source tree.
159
- */const e3=$("EyeOff",[["path",{d:"M9.88 9.88a3 3 0 1 0 4.24 4.24",key:"1jxqfv"}],["path",{d:"M10.73 5.08A10.43 10.43 0 0 1 12 5c7 0 10 7 10 7a13.16 13.16 0 0 1-1.67 2.68",key:"9wicm4"}],["path",{d:"M6.61 6.61A13.526 13.526 0 0 0 2 12s3 7 10 7a9.74 9.74 0 0 0 5.39-1.61",key:"1jreej"}],["line",{x1:"2",x2:"22",y1:"2",y2:"22",key:"a6p6uj"}]]);/**
160
- * @license lucide-react v0.344.0 - ISC
161
- *
162
- * This source code is licensed under the ISC license.
163
- * See the LICENSE file in the root directory of this source tree.
164
- */const t3=$("Eye",[["path",{d:"M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z",key:"rwhkz3"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/**
165
- * @license lucide-react v0.344.0 - ISC
166
- *
167
- * This source code is licensed under the ISC license.
168
- * See the LICENSE file in the root directory of this source tree.
169
- */const n3=$("FileText",[["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"}]]);/**
170
- * @license lucide-react v0.344.0 - ISC
171
- *
172
- * This source code is licensed under the ISC license.
173
- * See the LICENSE file in the root directory of this source tree.
174
- */const r3=$("GitBranch",[["line",{x1:"6",x2:"6",y1:"3",y2:"15",key:"17qcm7"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M18 9a9 9 0 0 1-9 9",key:"n2h4wq"}]]);/**
175
- * @license lucide-react v0.344.0 - ISC
176
- *
177
- * This source code is licensed under the ISC license.
178
- * See the LICENSE file in the root directory of this source tree.
179
- */const i3=$("Github",[["path",{d:"M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4",key:"tonef"}],["path",{d:"M9 18c-4.51 2-5-2-7-2",key:"9comsn"}]]);/**
180
- * @license lucide-react v0.344.0 - ISC
181
- *
182
- * This source code is licensed under the ISC license.
183
- * See the LICENSE file in the root directory of this source tree.
184
- */const s3=$("KeyRound",[["path",{d:"M2 18v3c0 .6.4 1 1 1h4v-3h3v-3h2l1.4-1.4a6.5 6.5 0 1 0-4-4Z",key:"167ctg"}],["circle",{cx:"16.5",cy:"7.5",r:".5",fill:"currentColor",key:"w0ekpg"}]]);/**
185
- * @license lucide-react v0.344.0 - ISC
186
- *
187
- * This source code is licensed under the ISC license.
188
- * See the LICENSE file in the root directory of this source tree.
189
- */const o3=$("Key",[["circle",{cx:"7.5",cy:"15.5",r:"5.5",key:"yqb3hr"}],["path",{d:"m21 2-9.6 9.6",key:"1j0ho8"}],["path",{d:"m15.5 7.5 3 3L22 7l-3-3",key:"1rn1fs"}]]);/**
190
- * @license lucide-react v0.344.0 - ISC
191
- *
192
- * This source code is licensed under the ISC license.
193
- * See the LICENSE file in the root directory of this source tree.
194
- */const a3=$("Languages",[["path",{d:"m5 8 6 6",key:"1wu5hv"}],["path",{d:"m4 14 6-6 2-3",key:"1k1g8d"}],["path",{d:"M2 5h12",key:"or177f"}],["path",{d:"M7 2h1",key:"1t2jsx"}],["path",{d:"m22 22-5-10-5 10",key:"don7ne"}],["path",{d:"M14 18h6",key:"1m8k6r"}]]);/**
195
- * @license lucide-react v0.344.0 - ISC
196
- *
197
- * This source code is licensed under the ISC license.
198
- * See the LICENSE file in the root directory of this source tree.
199
- */const l3=$("Layers",[["path",{d:"m12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83Z",key:"8b97xw"}],["path",{d:"m22 17.65-9.17 4.16a2 2 0 0 1-1.66 0L2 17.65",key:"dd6zsq"}],["path",{d:"m22 12.65-9.17 4.16a2 2 0 0 1-1.66 0L2 12.65",key:"ep9fru"}]]);/**
200
- * @license lucide-react v0.344.0 - ISC
201
- *
202
- * This source code is licensed under the ISC license.
203
- * See the LICENSE file in the root directory of this source tree.
204
- */const u3=$("LayoutGrid",[["rect",{width:"7",height:"7",x:"3",y:"3",rx:"1",key:"1g98yp"}],["rect",{width:"7",height:"7",x:"14",y:"3",rx:"1",key:"6d4xhi"}],["rect",{width:"7",height:"7",x:"14",y:"14",rx:"1",key:"nxv5o0"}],["rect",{width:"7",height:"7",x:"3",y:"14",rx:"1",key:"1bb6yr"}]]);/**
205
- * @license lucide-react v0.344.0 - ISC
206
- *
207
- * This source code is licensed under the ISC license.
208
- * See the LICENSE file in the root directory of this source tree.
209
- */const c3=$("LifeBuoy",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m4.93 4.93 4.24 4.24",key:"1ymg45"}],["path",{d:"m14.83 9.17 4.24-4.24",key:"1cb5xl"}],["path",{d:"m14.83 14.83 4.24 4.24",key:"q42g0n"}],["path",{d:"m9.17 14.83-4.24 4.24",key:"bqpfvv"}],["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}]]);/**
210
- * @license lucide-react v0.344.0 - ISC
211
- *
212
- * This source code is licensed under the ISC license.
213
- * See the LICENSE file in the root directory of this source tree.
214
- */const f3=$("List",[["line",{x1:"8",x2:"21",y1:"6",y2:"6",key:"7ey8pc"}],["line",{x1:"8",x2:"21",y1:"12",y2:"12",key:"rjfblc"}],["line",{x1:"8",x2:"21",y1:"18",y2:"18",key:"c3b1m8"}],["line",{x1:"3",x2:"3.01",y1:"6",y2:"6",key:"1g7gq3"}],["line",{x1:"3",x2:"3.01",y1:"12",y2:"12",key:"1pjlvk"}],["line",{x1:"3",x2:"3.01",y1:"18",y2:"18",key:"28t2mc"}]]);/**
215
- * @license lucide-react v0.344.0 - ISC
216
- *
217
- * This source code is licensed under the ISC license.
218
- * See the LICENSE file in the root directory of this source tree.
219
- */const d3=$("Loader2",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);/**
220
- * @license lucide-react v0.344.0 - ISC
221
- *
222
- * This source code is licensed under the ISC license.
223
- * See the LICENSE file in the root directory of this source tree.
224
- */const h3=$("LockKeyhole",[["circle",{cx:"12",cy:"16",r:"1",key:"1au0dj"}],["rect",{x:"3",y:"10",width:"18",height:"12",rx:"2",key:"6s8ecr"}],["path",{d:"M7 10V7a5 5 0 0 1 10 0v3",key:"1pqi11"}]]);/**
225
- * @license lucide-react v0.344.0 - ISC
226
- *
227
- * This source code is licensed under the ISC license.
228
- * See the LICENSE file in the root directory of this source tree.
229
- */const p3=$("Lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]]);/**
230
- * @license lucide-react v0.344.0 - ISC
231
- *
232
- * This source code is licensed under the ISC license.
233
- * See the LICENSE file in the root directory of this source tree.
234
- */const m3=$("Monitor",[["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["line",{x1:"8",x2:"16",y1:"21",y2:"21",key:"1svkeh"}],["line",{x1:"12",x2:"12",y1:"17",y2:"21",key:"vw1qmm"}]]);/**
235
- * @license lucide-react v0.344.0 - ISC
236
- *
237
- * This source code is licensed under the ISC license.
238
- * See the LICENSE file in the root directory of this source tree.
239
- */const y3=$("Moon",[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]]);/**
240
- * @license lucide-react v0.344.0 - ISC
241
- *
242
- * This source code is licensed under the ISC license.
243
- * See the LICENSE file in the root directory of this source tree.
244
- */const g3=$("MoreHorizontal",[["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"}]]);/**
245
- * @license lucide-react v0.344.0 - ISC
246
- *
247
- * This source code is licensed under the ISC license.
248
- * See the LICENSE file in the root directory of this source tree.
249
- */const v3=$("Network",[["rect",{x:"16",y:"16",width:"6",height:"6",rx:"1",key:"4q2zg0"}],["rect",{x:"2",y:"16",width:"6",height:"6",rx:"1",key:"8cvhb9"}],["rect",{x:"9",y:"2",width:"6",height:"6",rx:"1",key:"1egb70"}],["path",{d:"M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3",key:"1jsf9p"}],["path",{d:"M12 12V8",key:"2874zd"}]]);/**
250
- * @license lucide-react v0.344.0 - ISC
251
- *
252
- * This source code is licensed under the ISC license.
253
- * See the LICENSE file in the root directory of this source tree.
254
- */const w3=$("Pencil",[["path",{d:"M17 3a2.85 2.83 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5Z",key:"5qss01"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]]);/**
255
- * @license lucide-react v0.344.0 - ISC
256
- *
257
- * This source code is licensed under the ISC license.
258
- * See the LICENSE file in the root directory of this source tree.
259
- */const x3=$("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);/**
260
- * @license lucide-react v0.344.0 - ISC
261
- *
262
- * This source code is licensed under the ISC license.
263
- * See the LICENSE file in the root directory of this source tree.
264
- */const S3=$("RefreshCw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);/**
265
- * @license lucide-react v0.344.0 - ISC
266
- *
267
- * This source code is licensed under the ISC license.
268
- * See the LICENSE file in the root directory of this source tree.
269
- */const k3=$("Repeat",[["path",{d:"m17 2 4 4-4 4",key:"nntrym"}],["path",{d:"M3 11v-1a4 4 0 0 1 4-4h14",key:"84bu3i"}],["path",{d:"m7 22-4-4 4-4",key:"1wqhfi"}],["path",{d:"M21 13v1a4 4 0 0 1-4 4H3",key:"1rx37r"}]]);/**
270
- * @license lucide-react v0.344.0 - ISC
271
- *
272
- * This source code is licensed under the ISC license.
273
- * See the LICENSE file in the root directory of this source tree.
274
- */const C3=$("ServerCog",[["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}],["path",{d:"M4.5 10H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2h-.5",key:"tn8das"}],["path",{d:"M4.5 14H4a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2h-.5",key:"1g2pve"}],["path",{d:"M6 6h.01",key:"1utrut"}],["path",{d:"M6 18h.01",key:"uhywen"}],["path",{d:"m15.7 13.4-.9-.3",key:"1jwmzr"}],["path",{d:"m9.2 10.9-.9-.3",key:"qapnim"}],["path",{d:"m10.6 15.7.3-.9",key:"quwk0k"}],["path",{d:"m13.6 15.7-.4-1",key:"cb9xp7"}],["path",{d:"m10.8 9.3-.4-1",key:"1uaiz5"}],["path",{d:"m8.3 13.6 1-.4",key:"s6srou"}],["path",{d:"m14.7 10.8 1-.4",key:"4d31cq"}],["path",{d:"m13.4 8.3-.3.9",key:"1bm987"}]]);/**
275
- * @license lucide-react v0.344.0 - ISC
276
- *
277
- * This source code is licensed under the ISC license.
278
- * See the LICENSE file in the root directory of this source tree.
279
- */const E3=$("Settings",[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/**
280
- * @license lucide-react v0.344.0 - ISC
281
- *
282
- * This source code is licensed under the ISC license.
283
- * See the LICENSE file in the root directory of this source tree.
284
- */const b3=$("ShieldAlert",[["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:"M12 8v4",key:"1got3b"}],["path",{d:"M12 16h.01",key:"1drbdi"}]]);/**
285
- * @license lucide-react v0.344.0 - ISC
286
- *
287
- * This source code is licensed under the ISC license.
288
- * See the LICENSE file in the root directory of this source tree.
289
- */const P3=$("ShieldCheck",[["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"}]]);/**
290
- * @license lucide-react v0.344.0 - ISC
291
- *
292
- * This source code is licensed under the ISC license.
293
- * See the LICENSE file in the root directory of this source tree.
294
- */const T3=$("Shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]]);/**
295
- * @license lucide-react v0.344.0 - ISC
296
- *
297
- * This source code is licensed under the ISC license.
298
- * See the LICENSE file in the root directory of this source tree.
299
- */const R3=$("Sparkles",[["path",{d:"m12 3-1.912 5.813a2 2 0 0 1-1.275 1.275L3 12l5.813 1.912a2 2 0 0 1 1.275 1.275L12 21l1.912-5.813a2 2 0 0 1 1.275-1.275L21 12l-5.813-1.912a2 2 0 0 1-1.275-1.275L12 3Z",key:"17u4zn"}],["path",{d:"M5 3v4",key:"bklmnn"}],["path",{d:"M19 17v4",key:"iiml17"}],["path",{d:"M3 5h4",key:"nem4j1"}],["path",{d:"M17 19h4",key:"lbex7p"}]]);/**
300
- * @license lucide-react v0.344.0 - ISC
301
- *
302
- * This source code is licensed under the ISC license.
303
- * See the LICENSE file in the root directory of this source tree.
304
- */const A3=$("Sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]);/**
305
- * @license lucide-react v0.344.0 - ISC
306
- *
307
- * This source code is licensed under the ISC license.
308
- * See the LICENSE file in the root directory of this source tree.
309
- */const M3=$("Terminal",[["polyline",{points:"4 17 10 11 4 5",key:"akl6gq"}],["line",{x1:"12",x2:"20",y1:"19",y2:"19",key:"q2wloq"}]]);/**
310
- * @license lucide-react v0.344.0 - ISC
311
- *
312
- * This source code is licensed under the ISC license.
313
- * See the LICENSE file in the root directory of this source tree.
314
- */const O3=$("Trash2",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]]);/**
315
- * @license lucide-react v0.344.0 - ISC
316
- *
317
- * This source code is licensed under the ISC license.
318
- * See the LICENSE file in the root directory of this source tree.
319
- */const D3=$("XCircle",[["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"}]]);/**
320
- * @license lucide-react v0.344.0 - ISC
321
- *
322
- * This source code is licensed under the ISC license.
323
- * See the LICENSE file in the root directory of this source tree.
324
- */const L3=$("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);/**
325
- * @license lucide-react v0.344.0 - ISC
326
- *
327
- * This source code is licensed under the ISC license.
328
- * See the LICENSE file in the root directory of this source tree.
329
- */const _3=$("Zap",[["polygon",{points:"13 2 3 14 12 14 11 22 21 10 12 10 13 2",key:"45s27k"}]]);function K1(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=K1(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function fb(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=K1(e))&&(r&&(r+=" "),r+=t);return r}const db=(e,t)=>{const n=new Array(e.length+t.length);for(let r=0;r<e.length;r++)n[r]=e[r];for(let r=0;r<t.length;r++)n[e.length+r]=t[r];return n},hb=(e,t)=>({classGroupId:e,validator:t}),q1=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),wl="-",Km=[],pb="arbitrary..",mb=e=>{const t=gb(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:o=>{if(o.startsWith("[")&&o.endsWith("]"))return yb(o);const a=o.split(wl),l=a[0]===""&&a.length>1?1:0;return G1(a,l,t)},getConflictingClassGroupIds:(o,a)=>{if(a){const l=r[o],u=n[o];return l?u?db(u,l):l:u||Km}return n[o]||Km}}},G1=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;const i=e[t],s=n.nextPart.get(i);if(s){const u=G1(e,t+1,s);if(u)return u}const o=n.validators;if(o===null)return;const a=t===0?e.join(wl):e.slice(t).join(wl),l=o.length;for(let u=0;u<l;u++){const c=o[u];if(c.validator(a))return c.classGroupId}},yb=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const t=e.slice(1,-1),n=t.indexOf(":"),r=t.slice(0,n);return r?pb+r:void 0})(),gb=e=>{const{theme:t,classGroups:n}=e;return vb(n,t)},vb=(e,t)=>{const n=q1();for(const r in e){const i=e[r];mh(i,n,r,t)}return n},mh=(e,t,n,r)=>{const i=e.length;for(let s=0;s<i;s++){const o=e[s];wb(o,t,n,r)}},wb=(e,t,n,r)=>{if(typeof e=="string"){xb(e,t,n);return}if(typeof e=="function"){Sb(e,t,n,r);return}kb(e,t,n,r)},xb=(e,t,n)=>{const r=e===""?t:Q1(t,e);r.classGroupId=n},Sb=(e,t,n,r)=>{if(Cb(e)){mh(e(r),t,n,r);return}t.validators===null&&(t.validators=[]),t.validators.push(hb(n,e))},kb=(e,t,n,r)=>{const i=Object.entries(e),s=i.length;for(let o=0;o<s;o++){const[a,l]=i[o];mh(l,Q1(t,a),n,r)}},Q1=(e,t)=>{let n=e;const r=t.split(wl),i=r.length;for(let s=0;s<i;s++){const o=r[s];let a=n.nextPart.get(o);a||(a=q1(),n.nextPart.set(o,a)),n=a}return n},Cb=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,Eb=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=Object.create(null),r=Object.create(null);const i=(s,o)=>{n[s]=o,t++,t>e&&(t=0,r=n,n=Object.create(null))};return{get(s){let o=n[s];if(o!==void 0)return o;if((o=r[s])!==void 0)return i(s,o),o},set(s,o){s in n?n[s]=o:i(s,o)}}},Mf="!",qm=":",bb=[],Gm=(e,t,n,r,i)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:r,isExternal:i}),Pb=e=>{const{prefix:t,experimentalParseClassName:n}=e;let r=i=>{const s=[];let o=0,a=0,l=0,u;const c=i.length;for(let y=0;y<c;y++){const w=i[y];if(o===0&&a===0){if(w===qm){s.push(i.slice(l,y)),l=y+1;continue}if(w==="/"){u=y;continue}}w==="["?o++:w==="]"?o--:w==="("?a++:w===")"&&a--}const f=s.length===0?i:i.slice(l);let d=f,p=!1;f.endsWith(Mf)?(d=f.slice(0,-1),p=!0):f.startsWith(Mf)&&(d=f.slice(1),p=!0);const h=u&&u>l?u-l:void 0;return Gm(s,p,d,h)};if(t){const i=t+qm,s=r;r=o=>o.startsWith(i)?s(o.slice(i.length)):Gm(bb,!1,o,void 0,!0)}if(n){const i=r;r=s=>n({className:s,parseClassName:i})}return r},Tb=e=>{const t=new Map;return e.orderSensitiveModifiers.forEach((n,r)=>{t.set(n,1e6+r)}),n=>{const r=[];let i=[];for(let s=0;s<n.length;s++){const o=n[s],a=o[0]==="[",l=t.has(o);a||l?(i.length>0&&(i.sort(),r.push(...i),i=[]),r.push(o)):i.push(o)}return i.length>0&&(i.sort(),r.push(...i)),r}},Rb=e=>({cache:Eb(e.cacheSize),parseClassName:Pb(e),sortModifiers:Tb(e),...mb(e)}),Ab=/\s+/,Mb=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i,sortModifiers:s}=t,o=[],a=e.trim().split(Ab);let l="";for(let u=a.length-1;u>=0;u-=1){const c=a[u],{isExternal:f,modifiers:d,hasImportantModifier:p,baseClassName:h,maybePostfixModifierPosition:y}=n(c);if(f){l=c+(l.length>0?" "+l:l);continue}let w=!!y,m=r(w?h.substring(0,y):h);if(!m){if(!w){l=c+(l.length>0?" "+l:l);continue}if(m=r(h),!m){l=c+(l.length>0?" "+l:l);continue}w=!1}const g=d.length===0?"":d.length===1?d[0]:s(d).join(":"),v=p?g+Mf:g,x=v+m;if(o.indexOf(x)>-1)continue;o.push(x);const C=i(m,w);for(let E=0;E<C.length;++E){const b=C[E];o.push(v+b)}l=c+(l.length>0?" "+l:l)}return l},Ob=(...e)=>{let t=0,n,r,i="";for(;t<e.length;)(n=e[t++])&&(r=X1(n))&&(i&&(i+=" "),i+=r);return i},X1=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=X1(e[r]))&&(n&&(n+=" "),n+=t);return n},Db=(e,...t)=>{let n,r,i,s;const o=l=>{const u=t.reduce((c,f)=>f(c),e());return n=Rb(u),r=n.cache.get,i=n.cache.set,s=a,a(l)},a=l=>{const u=r(l);if(u)return u;const c=Mb(l,n);return i(l,c),c};return s=o,(...l)=>s(Ob(...l))},Lb=[],ke=e=>{const t=n=>n[e]||Lb;return t.isThemeGetter=!0,t},Y1=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Z1=/^\((?:(\w[\w-]*):)?(.+)\)$/i,_b=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,Fb=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Vb=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Nb=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Ib=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,jb=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Dn=e=>_b.test(e),Q=e=>!!e&&!Number.isNaN(Number(e)),Ln=e=>!!e&&Number.isInteger(Number(e)),Hu=e=>e.endsWith("%")&&Q(e.slice(0,-1)),on=e=>Fb.test(e),J1=()=>!0,zb=e=>Vb.test(e)&&!Nb.test(e),yh=()=>!1,Bb=e=>Ib.test(e),Ub=e=>jb.test(e),$b=e=>!N(e)&&!j(e),Wb=e=>yr(e,nw,yh),N=e=>Y1.test(e),vr=e=>yr(e,rw,zb),Qm=e=>yr(e,Zb,Q),Hb=e=>yr(e,sw,J1),Kb=e=>yr(e,iw,yh),Xm=e=>yr(e,ew,yh),qb=e=>yr(e,tw,Ub),oa=e=>yr(e,ow,Bb),j=e=>Z1.test(e),Ss=e=>ti(e,rw),Gb=e=>ti(e,iw),Ym=e=>ti(e,ew),Qb=e=>ti(e,nw),Xb=e=>ti(e,tw),aa=e=>ti(e,ow,!0),Yb=e=>ti(e,sw,!0),yr=(e,t,n)=>{const r=Y1.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},ti=(e,t,n=!1)=>{const r=Z1.exec(e);return r?r[1]?t(r[1]):n:!1},ew=e=>e==="position"||e==="percentage",tw=e=>e==="image"||e==="url",nw=e=>e==="length"||e==="size"||e==="bg-size",rw=e=>e==="length",Zb=e=>e==="number",iw=e=>e==="family-name",sw=e=>e==="number"||e==="weight",ow=e=>e==="shadow",Jb=()=>{const e=ke("color"),t=ke("font"),n=ke("text"),r=ke("font-weight"),i=ke("tracking"),s=ke("leading"),o=ke("breakpoint"),a=ke("container"),l=ke("spacing"),u=ke("radius"),c=ke("shadow"),f=ke("inset-shadow"),d=ke("text-shadow"),p=ke("drop-shadow"),h=ke("blur"),y=ke("perspective"),w=ke("aspect"),m=ke("ease"),g=ke("animate"),v=()=>["auto","avoid","all","avoid-page","page","left","right","column"],x=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],C=()=>[...x(),j,N],E=()=>["auto","hidden","clip","visible","scroll"],b=()=>["auto","contain","none"],k=()=>[j,N,l],M=()=>[Dn,"full","auto",...k()],R=()=>[Ln,"none","subgrid",j,N],F=()=>["auto",{span:["full",Ln,j,N]},Ln,j,N],U=()=>[Ln,"auto",j,N],K=()=>["auto","min","max","fr",j,N],W=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],X=()=>["start","end","center","stretch","center-safe","end-safe"],z=()=>["auto",...k()],ee=()=>[Dn,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...k()],A=()=>[Dn,"screen","full","dvw","lvw","svw","min","max","fit",...k()],L=()=>[Dn,"screen","full","lh","dvh","lvh","svh","min","max","fit",...k()],O=()=>[e,j,N],q=()=>[...x(),Ym,Xm,{position:[j,N]}],te=()=>["no-repeat",{repeat:["","x","y","space","round"]}],Pt=()=>["auto","cover","contain",Qb,Wb,{size:[j,N]}],Ve=()=>[Hu,Ss,vr],pe=()=>["","none","full",u,j,N],ce=()=>["",Q,Ss,vr],sn=()=>["solid","dashed","dotted","double"],tp=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Pe=()=>[Q,Hu,Ym,Xm],np=()=>["","none",h,j,N],No=()=>["none",Q,j,N],Io=()=>["none",Q,j,N],du=()=>[Q,j,N],jo=()=>[Dn,"full",...k()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[on],breakpoint:[on],color:[J1],container:[on],"drop-shadow":[on],ease:["in","out","in-out"],font:[$b],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[on],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[on],shadow:[on],spacing:["px",Q],text:[on],"text-shadow":[on],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Dn,N,j,w]}],container:["container"],columns:[{columns:[Q,N,j,a]}],"break-after":[{"break-after":v()}],"break-before":[{"break-before":v()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:C()}],overflow:[{overflow:E()}],"overflow-x":[{"overflow-x":E()}],"overflow-y":[{"overflow-y":E()}],overscroll:[{overscroll:b()}],"overscroll-x":[{"overscroll-x":b()}],"overscroll-y":[{"overscroll-y":b()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:M()}],"inset-x":[{"inset-x":M()}],"inset-y":[{"inset-y":M()}],start:[{"inset-s":M(),start:M()}],end:[{"inset-e":M(),end:M()}],"inset-bs":[{"inset-bs":M()}],"inset-be":[{"inset-be":M()}],top:[{top:M()}],right:[{right:M()}],bottom:[{bottom:M()}],left:[{left:M()}],visibility:["visible","invisible","collapse"],z:[{z:[Ln,"auto",j,N]}],basis:[{basis:[Dn,"full","auto",a,...k()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Q,Dn,"auto","initial","none",N]}],grow:[{grow:["",Q,j,N]}],shrink:[{shrink:["",Q,j,N]}],order:[{order:[Ln,"first","last","none",j,N]}],"grid-cols":[{"grid-cols":R()}],"col-start-end":[{col:F()}],"col-start":[{"col-start":U()}],"col-end":[{"col-end":U()}],"grid-rows":[{"grid-rows":R()}],"row-start-end":[{row:F()}],"row-start":[{"row-start":U()}],"row-end":[{"row-end":U()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":K()}],"auto-rows":[{"auto-rows":K()}],gap:[{gap:k()}],"gap-x":[{"gap-x":k()}],"gap-y":[{"gap-y":k()}],"justify-content":[{justify:[...W(),"normal"]}],"justify-items":[{"justify-items":[...X(),"normal"]}],"justify-self":[{"justify-self":["auto",...X()]}],"align-content":[{content:["normal",...W()]}],"align-items":[{items:[...X(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...X(),{baseline:["","last"]}]}],"place-content":[{"place-content":W()}],"place-items":[{"place-items":[...X(),"baseline"]}],"place-self":[{"place-self":["auto",...X()]}],p:[{p:k()}],px:[{px:k()}],py:[{py:k()}],ps:[{ps:k()}],pe:[{pe:k()}],pbs:[{pbs:k()}],pbe:[{pbe:k()}],pt:[{pt:k()}],pr:[{pr:k()}],pb:[{pb:k()}],pl:[{pl:k()}],m:[{m:z()}],mx:[{mx:z()}],my:[{my:z()}],ms:[{ms:z()}],me:[{me:z()}],mbs:[{mbs:z()}],mbe:[{mbe:z()}],mt:[{mt:z()}],mr:[{mr:z()}],mb:[{mb:z()}],ml:[{ml:z()}],"space-x":[{"space-x":k()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":k()}],"space-y-reverse":["space-y-reverse"],size:[{size:ee()}],"inline-size":[{inline:["auto",...A()]}],"min-inline-size":[{"min-inline":["auto",...A()]}],"max-inline-size":[{"max-inline":["none",...A()]}],"block-size":[{block:["auto",...L()]}],"min-block-size":[{"min-block":["auto",...L()]}],"max-block-size":[{"max-block":["none",...L()]}],w:[{w:[a,"screen",...ee()]}],"min-w":[{"min-w":[a,"screen","none",...ee()]}],"max-w":[{"max-w":[a,"screen","none","prose",{screen:[o]},...ee()]}],h:[{h:["screen","lh",...ee()]}],"min-h":[{"min-h":["screen","lh","none",...ee()]}],"max-h":[{"max-h":["screen","lh",...ee()]}],"font-size":[{text:["base",n,Ss,vr]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,Yb,Hb]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Hu,N]}],"font-family":[{font:[Gb,Kb,t]}],"font-features":[{"font-features":[N]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[i,j,N]}],"line-clamp":[{"line-clamp":[Q,"none",j,Qm]}],leading:[{leading:[s,...k()]}],"list-image":[{"list-image":["none",j,N]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",j,N]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:O()}],"text-color":[{text:O()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...sn(),"wavy"]}],"text-decoration-thickness":[{decoration:[Q,"from-font","auto",j,vr]}],"text-decoration-color":[{decoration:O()}],"underline-offset":[{"underline-offset":[Q,"auto",j,N]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:k()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",j,N]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",j,N]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:q()}],"bg-repeat":[{bg:te()}],"bg-size":[{bg:Pt()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Ln,j,N],radial:["",j,N],conic:[Ln,j,N]},Xb,qb]}],"bg-color":[{bg:O()}],"gradient-from-pos":[{from:Ve()}],"gradient-via-pos":[{via:Ve()}],"gradient-to-pos":[{to:Ve()}],"gradient-from":[{from:O()}],"gradient-via":[{via:O()}],"gradient-to":[{to:O()}],rounded:[{rounded:pe()}],"rounded-s":[{"rounded-s":pe()}],"rounded-e":[{"rounded-e":pe()}],"rounded-t":[{"rounded-t":pe()}],"rounded-r":[{"rounded-r":pe()}],"rounded-b":[{"rounded-b":pe()}],"rounded-l":[{"rounded-l":pe()}],"rounded-ss":[{"rounded-ss":pe()}],"rounded-se":[{"rounded-se":pe()}],"rounded-ee":[{"rounded-ee":pe()}],"rounded-es":[{"rounded-es":pe()}],"rounded-tl":[{"rounded-tl":pe()}],"rounded-tr":[{"rounded-tr":pe()}],"rounded-br":[{"rounded-br":pe()}],"rounded-bl":[{"rounded-bl":pe()}],"border-w":[{border:ce()}],"border-w-x":[{"border-x":ce()}],"border-w-y":[{"border-y":ce()}],"border-w-s":[{"border-s":ce()}],"border-w-e":[{"border-e":ce()}],"border-w-bs":[{"border-bs":ce()}],"border-w-be":[{"border-be":ce()}],"border-w-t":[{"border-t":ce()}],"border-w-r":[{"border-r":ce()}],"border-w-b":[{"border-b":ce()}],"border-w-l":[{"border-l":ce()}],"divide-x":[{"divide-x":ce()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":ce()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...sn(),"hidden","none"]}],"divide-style":[{divide:[...sn(),"hidden","none"]}],"border-color":[{border:O()}],"border-color-x":[{"border-x":O()}],"border-color-y":[{"border-y":O()}],"border-color-s":[{"border-s":O()}],"border-color-e":[{"border-e":O()}],"border-color-bs":[{"border-bs":O()}],"border-color-be":[{"border-be":O()}],"border-color-t":[{"border-t":O()}],"border-color-r":[{"border-r":O()}],"border-color-b":[{"border-b":O()}],"border-color-l":[{"border-l":O()}],"divide-color":[{divide:O()}],"outline-style":[{outline:[...sn(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Q,j,N]}],"outline-w":[{outline:["",Q,Ss,vr]}],"outline-color":[{outline:O()}],shadow:[{shadow:["","none",c,aa,oa]}],"shadow-color":[{shadow:O()}],"inset-shadow":[{"inset-shadow":["none",f,aa,oa]}],"inset-shadow-color":[{"inset-shadow":O()}],"ring-w":[{ring:ce()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:O()}],"ring-offset-w":[{"ring-offset":[Q,vr]}],"ring-offset-color":[{"ring-offset":O()}],"inset-ring-w":[{"inset-ring":ce()}],"inset-ring-color":[{"inset-ring":O()}],"text-shadow":[{"text-shadow":["none",d,aa,oa]}],"text-shadow-color":[{"text-shadow":O()}],opacity:[{opacity:[Q,j,N]}],"mix-blend":[{"mix-blend":[...tp(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":tp()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[Q]}],"mask-image-linear-from-pos":[{"mask-linear-from":Pe()}],"mask-image-linear-to-pos":[{"mask-linear-to":Pe()}],"mask-image-linear-from-color":[{"mask-linear-from":O()}],"mask-image-linear-to-color":[{"mask-linear-to":O()}],"mask-image-t-from-pos":[{"mask-t-from":Pe()}],"mask-image-t-to-pos":[{"mask-t-to":Pe()}],"mask-image-t-from-color":[{"mask-t-from":O()}],"mask-image-t-to-color":[{"mask-t-to":O()}],"mask-image-r-from-pos":[{"mask-r-from":Pe()}],"mask-image-r-to-pos":[{"mask-r-to":Pe()}],"mask-image-r-from-color":[{"mask-r-from":O()}],"mask-image-r-to-color":[{"mask-r-to":O()}],"mask-image-b-from-pos":[{"mask-b-from":Pe()}],"mask-image-b-to-pos":[{"mask-b-to":Pe()}],"mask-image-b-from-color":[{"mask-b-from":O()}],"mask-image-b-to-color":[{"mask-b-to":O()}],"mask-image-l-from-pos":[{"mask-l-from":Pe()}],"mask-image-l-to-pos":[{"mask-l-to":Pe()}],"mask-image-l-from-color":[{"mask-l-from":O()}],"mask-image-l-to-color":[{"mask-l-to":O()}],"mask-image-x-from-pos":[{"mask-x-from":Pe()}],"mask-image-x-to-pos":[{"mask-x-to":Pe()}],"mask-image-x-from-color":[{"mask-x-from":O()}],"mask-image-x-to-color":[{"mask-x-to":O()}],"mask-image-y-from-pos":[{"mask-y-from":Pe()}],"mask-image-y-to-pos":[{"mask-y-to":Pe()}],"mask-image-y-from-color":[{"mask-y-from":O()}],"mask-image-y-to-color":[{"mask-y-to":O()}],"mask-image-radial":[{"mask-radial":[j,N]}],"mask-image-radial-from-pos":[{"mask-radial-from":Pe()}],"mask-image-radial-to-pos":[{"mask-radial-to":Pe()}],"mask-image-radial-from-color":[{"mask-radial-from":O()}],"mask-image-radial-to-color":[{"mask-radial-to":O()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":x()}],"mask-image-conic-pos":[{"mask-conic":[Q]}],"mask-image-conic-from-pos":[{"mask-conic-from":Pe()}],"mask-image-conic-to-pos":[{"mask-conic-to":Pe()}],"mask-image-conic-from-color":[{"mask-conic-from":O()}],"mask-image-conic-to-color":[{"mask-conic-to":O()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:q()}],"mask-repeat":[{mask:te()}],"mask-size":[{mask:Pt()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",j,N]}],filter:[{filter:["","none",j,N]}],blur:[{blur:np()}],brightness:[{brightness:[Q,j,N]}],contrast:[{contrast:[Q,j,N]}],"drop-shadow":[{"drop-shadow":["","none",p,aa,oa]}],"drop-shadow-color":[{"drop-shadow":O()}],grayscale:[{grayscale:["",Q,j,N]}],"hue-rotate":[{"hue-rotate":[Q,j,N]}],invert:[{invert:["",Q,j,N]}],saturate:[{saturate:[Q,j,N]}],sepia:[{sepia:["",Q,j,N]}],"backdrop-filter":[{"backdrop-filter":["","none",j,N]}],"backdrop-blur":[{"backdrop-blur":np()}],"backdrop-brightness":[{"backdrop-brightness":[Q,j,N]}],"backdrop-contrast":[{"backdrop-contrast":[Q,j,N]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Q,j,N]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Q,j,N]}],"backdrop-invert":[{"backdrop-invert":["",Q,j,N]}],"backdrop-opacity":[{"backdrop-opacity":[Q,j,N]}],"backdrop-saturate":[{"backdrop-saturate":[Q,j,N]}],"backdrop-sepia":[{"backdrop-sepia":["",Q,j,N]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":k()}],"border-spacing-x":[{"border-spacing-x":k()}],"border-spacing-y":[{"border-spacing-y":k()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",j,N]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Q,"initial",j,N]}],ease:[{ease:["linear","initial",m,j,N]}],delay:[{delay:[Q,j,N]}],animate:[{animate:["none",g,j,N]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[y,j,N]}],"perspective-origin":[{"perspective-origin":C()}],rotate:[{rotate:No()}],"rotate-x":[{"rotate-x":No()}],"rotate-y":[{"rotate-y":No()}],"rotate-z":[{"rotate-z":No()}],scale:[{scale:Io()}],"scale-x":[{"scale-x":Io()}],"scale-y":[{"scale-y":Io()}],"scale-z":[{"scale-z":Io()}],"scale-3d":["scale-3d"],skew:[{skew:du()}],"skew-x":[{"skew-x":du()}],"skew-y":[{"skew-y":du()}],transform:[{transform:[j,N,"","none","gpu","cpu"]}],"transform-origin":[{origin:C()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:jo()}],"translate-x":[{"translate-x":jo()}],"translate-y":[{"translate-y":jo()}],"translate-z":[{"translate-z":jo()}],"translate-none":["translate-none"],accent:[{accent:O()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:O()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",j,N]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":k()}],"scroll-mx":[{"scroll-mx":k()}],"scroll-my":[{"scroll-my":k()}],"scroll-ms":[{"scroll-ms":k()}],"scroll-me":[{"scroll-me":k()}],"scroll-mbs":[{"scroll-mbs":k()}],"scroll-mbe":[{"scroll-mbe":k()}],"scroll-mt":[{"scroll-mt":k()}],"scroll-mr":[{"scroll-mr":k()}],"scroll-mb":[{"scroll-mb":k()}],"scroll-ml":[{"scroll-ml":k()}],"scroll-p":[{"scroll-p":k()}],"scroll-px":[{"scroll-px":k()}],"scroll-py":[{"scroll-py":k()}],"scroll-ps":[{"scroll-ps":k()}],"scroll-pe":[{"scroll-pe":k()}],"scroll-pbs":[{"scroll-pbs":k()}],"scroll-pbe":[{"scroll-pbe":k()}],"scroll-pt":[{"scroll-pt":k()}],"scroll-pr":[{"scroll-pr":k()}],"scroll-pb":[{"scroll-pb":k()}],"scroll-pl":[{"scroll-pl":k()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",j,N]}],fill:[{fill:["none",...O()]}],"stroke-w":[{stroke:[Q,Ss,vr,Qm]}],stroke:[{stroke:["none",...O()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},F3=Db(Jb),Zm=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,Jm=fb,V3=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return Jm(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:i,defaultVariants:s}=t,o=Object.keys(i).map(u=>{const c=n==null?void 0:n[u],f=s==null?void 0:s[u];if(c===null)return null;const d=Zm(c)||Zm(f);return i[u][d]}),a=n&&Object.entries(n).reduce((u,c)=>{let[f,d]=c;return d===void 0||(u[f]=d),u},{}),l=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((u,c)=>{let{class:f,className:d,...p}=c;return Object.entries(p).every(h=>{let[y,w]=h;return Array.isArray(w)?w.includes({...s,...a}[y]):{...s,...a}[y]===w})?[...u,f,d]:u},[]);return Jm(e,o,l,n==null?void 0:n.class,n==null?void 0:n.className)},eP=["top","right","bottom","left"],ur=Math.min,ot=Math.max,xl=Math.round,la=Math.floor,en=e=>({x:e,y:e}),tP={left:"right",right:"left",bottom:"top",top:"bottom"};function Of(e,t,n){return ot(e,ur(t,n))}function Tn(e,t){return typeof e=="function"?e(t):e}function Rn(e){return e.split("-")[0]}function as(e){return e.split("-")[1]}function gh(e){return e==="x"?"y":"x"}function vh(e){return e==="y"?"height":"width"}function Yt(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function wh(e){return gh(Yt(e))}function nP(e,t,n){n===void 0&&(n=!1);const r=as(e),i=wh(e),s=vh(i);let o=i==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(o=Sl(o)),[o,Sl(o)]}function rP(e){const t=Sl(e);return[Df(e),t,Df(t)]}function Df(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const ey=["left","right"],ty=["right","left"],iP=["top","bottom"],sP=["bottom","top"];function oP(e,t,n){switch(e){case"top":case"bottom":return n?t?ty:ey:t?ey:ty;case"left":case"right":return t?iP:sP;default:return[]}}function aP(e,t,n,r){const i=as(e);let s=oP(Rn(e),n==="start",r);return i&&(s=s.map(o=>o+"-"+i),t&&(s=s.concat(s.map(Df)))),s}function Sl(e){const t=Rn(e);return tP[t]+e.slice(t.length)}function lP(e){return{top:0,right:0,bottom:0,left:0,...e}}function aw(e){return typeof e!="number"?lP(e):{top:e,right:e,bottom:e,left:e}}function kl(e){const{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function ny(e,t,n){let{reference:r,floating:i}=e;const s=Yt(t),o=wh(t),a=vh(o),l=Rn(t),u=s==="y",c=r.x+r.width/2-i.width/2,f=r.y+r.height/2-i.height/2,d=r[a]/2-i[a]/2;let p;switch(l){case"top":p={x:c,y:r.y-i.height};break;case"bottom":p={x:c,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:f};break;case"left":p={x:r.x-i.width,y:f};break;default:p={x:r.x,y:r.y}}switch(as(t)){case"start":p[o]-=d*(n&&u?-1:1);break;case"end":p[o]+=d*(n&&u?-1:1);break}return p}async function uP(e,t){var n;t===void 0&&(t={});const{x:r,y:i,platform:s,rects:o,elements:a,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:f="floating",altBoundary:d=!1,padding:p=0}=Tn(t,e),h=aw(p),w=a[d?f==="floating"?"reference":"floating":f],m=kl(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(w)))==null||n?w:w.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(a.floating)),boundary:u,rootBoundary:c,strategy:l})),g=f==="floating"?{x:r,y:i,width:o.floating.width,height:o.floating.height}:o.reference,v=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a.floating)),x=await(s.isElement==null?void 0:s.isElement(v))?await(s.getScale==null?void 0:s.getScale(v))||{x:1,y:1}:{x:1,y:1},C=kl(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:g,offsetParent:v,strategy:l}):g);return{top:(m.top-C.top+h.top)/x.y,bottom:(C.bottom-m.bottom+h.bottom)/x.y,left:(m.left-C.left+h.left)/x.x,right:(C.right-m.right+h.right)/x.x}}const cP=50,fP=async(e,t,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:s=[],platform:o}=n,a=o.detectOverflow?o:{...o,detectOverflow:uP},l=await(o.isRTL==null?void 0:o.isRTL(t));let u=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:c,y:f}=ny(u,r,l),d=r,p=0;const h={};for(let y=0;y<s.length;y++){const w=s[y];if(!w)continue;const{name:m,fn:g}=w,{x:v,y:x,data:C,reset:E}=await g({x:c,y:f,initialPlacement:r,placement:d,strategy:i,middlewareData:h,rects:u,platform:a,elements:{reference:e,floating:t}});c=v??c,f=x??f,h[m]={...h[m],...C},E&&p<cP&&(p++,typeof E=="object"&&(E.placement&&(d=E.placement),E.rects&&(u=E.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:i}):E.rects),{x:c,y:f}=ny(u,d,l)),y=-1)}return{x:c,y:f,placement:d,strategy:i,middlewareData:h}},dP=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:i,rects:s,platform:o,elements:a,middlewareData:l}=t,{element:u,padding:c=0}=Tn(e,t)||{};if(u==null)return{};const f=aw(c),d={x:n,y:r},p=wh(i),h=vh(p),y=await o.getDimensions(u),w=p==="y",m=w?"top":"left",g=w?"bottom":"right",v=w?"clientHeight":"clientWidth",x=s.reference[h]+s.reference[p]-d[p]-s.floating[h],C=d[p]-s.reference[p],E=await(o.getOffsetParent==null?void 0:o.getOffsetParent(u));let b=E?E[v]:0;(!b||!await(o.isElement==null?void 0:o.isElement(E)))&&(b=a.floating[v]||s.floating[h]);const k=x/2-C/2,M=b/2-y[h]/2-1,R=ur(f[m],M),F=ur(f[g],M),U=R,K=b-y[h]-F,W=b/2-y[h]/2+k,X=Of(U,W,K),z=!l.arrow&&as(i)!=null&&W!==X&&s.reference[h]/2-(W<U?R:F)-y[h]/2<0,ee=z?W<U?W-U:W-K:0;return{[p]:d[p]+ee,data:{[p]:X,centerOffset:W-X-ee,...z&&{alignmentOffset:ee}},reset:z}}}),hP=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:i,middlewareData:s,rects:o,initialPlacement:a,platform:l,elements:u}=t,{mainAxis:c=!0,crossAxis:f=!0,fallbackPlacements:d,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:y=!0,...w}=Tn(e,t);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const m=Rn(i),g=Yt(a),v=Rn(a)===a,x=await(l.isRTL==null?void 0:l.isRTL(u.floating)),C=d||(v||!y?[Sl(a)]:rP(a)),E=h!=="none";!d&&E&&C.push(...aP(a,y,h,x));const b=[a,...C],k=await l.detectOverflow(t,w),M=[];let R=((r=s.flip)==null?void 0:r.overflows)||[];if(c&&M.push(k[m]),f){const W=nP(i,o,x);M.push(k[W[0]],k[W[1]])}if(R=[...R,{placement:i,overflows:M}],!M.every(W=>W<=0)){var F,U;const W=(((F=s.flip)==null?void 0:F.index)||0)+1,X=b[W];if(X&&(!(f==="alignment"?g!==Yt(X):!1)||R.every(A=>Yt(A.placement)===g?A.overflows[0]>0:!0)))return{data:{index:W,overflows:R},reset:{placement:X}};let z=(U=R.filter(ee=>ee.overflows[0]<=0).sort((ee,A)=>ee.overflows[1]-A.overflows[1])[0])==null?void 0:U.placement;if(!z)switch(p){case"bestFit":{var K;const ee=(K=R.filter(A=>{if(E){const L=Yt(A.placement);return L===g||L==="y"}return!0}).map(A=>[A.placement,A.overflows.filter(L=>L>0).reduce((L,O)=>L+O,0)]).sort((A,L)=>A[1]-L[1])[0])==null?void 0:K[0];ee&&(z=ee);break}case"initialPlacement":z=a;break}if(i!==z)return{reset:{placement:z}}}return{}}}};function ry(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function iy(e){return eP.some(t=>e[t]>=0)}const pP=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n,platform:r}=t,{strategy:i="referenceHidden",...s}=Tn(e,t);switch(i){case"referenceHidden":{const o=await r.detectOverflow(t,{...s,elementContext:"reference"}),a=ry(o,n.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:iy(a)}}}case"escaped":{const o=await r.detectOverflow(t,{...s,altBoundary:!0}),a=ry(o,n.floating);return{data:{escapedOffsets:a,escaped:iy(a)}}}default:return{}}}}},lw=new Set(["left","top"]);async function mP(e,t){const{placement:n,platform:r,elements:i}=e,s=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=Rn(n),a=as(n),l=Yt(n)==="y",u=lw.has(o)?-1:1,c=s&&l?-1:1,f=Tn(t,e);let{mainAxis:d,crossAxis:p,alignmentAxis:h}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return a&&typeof h=="number"&&(p=a==="end"?h*-1:h),l?{x:p*c,y:d*u}:{x:d*u,y:p*c}}const yP=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:i,y:s,placement:o,middlewareData:a}=t,l=await mP(t,e);return o===((n=a.offset)==null?void 0:n.placement)&&(r=a.arrow)!=null&&r.alignmentOffset?{}:{x:i+l.x,y:s+l.y,data:{...l,placement:o}}}}},gP=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:i,platform:s}=t,{mainAxis:o=!0,crossAxis:a=!1,limiter:l={fn:m=>{let{x:g,y:v}=m;return{x:g,y:v}}},...u}=Tn(e,t),c={x:n,y:r},f=await s.detectOverflow(t,u),d=Yt(Rn(i)),p=gh(d);let h=c[p],y=c[d];if(o){const m=p==="y"?"top":"left",g=p==="y"?"bottom":"right",v=h+f[m],x=h-f[g];h=Of(v,h,x)}if(a){const m=d==="y"?"top":"left",g=d==="y"?"bottom":"right",v=y+f[m],x=y-f[g];y=Of(v,y,x)}const w=l.fn({...t,[p]:h,[d]:y});return{...w,data:{x:w.x-n,y:w.y-r,enabled:{[p]:o,[d]:a}}}}}},vP=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:i,rects:s,middlewareData:o}=t,{offset:a=0,mainAxis:l=!0,crossAxis:u=!0}=Tn(e,t),c={x:n,y:r},f=Yt(i),d=gh(f);let p=c[d],h=c[f];const y=Tn(a,t),w=typeof y=="number"?{mainAxis:y,crossAxis:0}:{mainAxis:0,crossAxis:0,...y};if(l){const v=d==="y"?"height":"width",x=s.reference[d]-s.floating[v]+w.mainAxis,C=s.reference[d]+s.reference[v]-w.mainAxis;p<x?p=x:p>C&&(p=C)}if(u){var m,g;const v=d==="y"?"width":"height",x=lw.has(Rn(i)),C=s.reference[f]-s.floating[v]+(x&&((m=o.offset)==null?void 0:m[f])||0)+(x?0:w.crossAxis),E=s.reference[f]+s.reference[v]+(x?0:((g=o.offset)==null?void 0:g[f])||0)-(x?w.crossAxis:0);h<C?h=C:h>E&&(h=E)}return{[d]:p,[f]:h}}}},wP=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:i,rects:s,platform:o,elements:a}=t,{apply:l=()=>{},...u}=Tn(e,t),c=await o.detectOverflow(t,u),f=Rn(i),d=as(i),p=Yt(i)==="y",{width:h,height:y}=s.floating;let w,m;f==="top"||f==="bottom"?(w=f,m=d===(await(o.isRTL==null?void 0:o.isRTL(a.floating))?"start":"end")?"left":"right"):(m=f,w=d==="end"?"top":"bottom");const g=y-c.top-c.bottom,v=h-c.left-c.right,x=ur(y-c[w],g),C=ur(h-c[m],v),E=!t.middlewareData.shift;let b=x,k=C;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(k=v),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(b=g),E&&!d){const R=ot(c.left,0),F=ot(c.right,0),U=ot(c.top,0),K=ot(c.bottom,0);p?k=h-2*(R!==0||F!==0?R+F:ot(c.left,c.right)):b=y-2*(U!==0||K!==0?U+K:ot(c.top,c.bottom))}await l({...t,availableWidth:k,availableHeight:b});const M=await o.getDimensions(a.floating);return h!==M.width||y!==M.height?{reset:{rects:!0}}:{}}}};function nu(){return typeof window<"u"}function ls(e){return uw(e)?(e.nodeName||"").toLowerCase():"#document"}function ut(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function rn(e){var t;return(t=(uw(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function uw(e){return nu()?e instanceof Node||e instanceof ut(e).Node:!1}function jt(e){return nu()?e instanceof Element||e instanceof ut(e).Element:!1}function Mn(e){return nu()?e instanceof HTMLElement||e instanceof ut(e).HTMLElement:!1}function sy(e){return!nu()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ut(e).ShadowRoot}function Do(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=zt(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&i!=="inline"&&i!=="contents"}function xP(e){return/^(table|td|th)$/.test(ls(e))}function ru(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const SP=/transform|translate|scale|rotate|perspective|filter/,kP=/paint|layout|strict|content/,wr=e=>!!e&&e!=="none";let Ku;function xh(e){const t=jt(e)?zt(e):e;return wr(t.transform)||wr(t.translate)||wr(t.scale)||wr(t.rotate)||wr(t.perspective)||!Sh()&&(wr(t.backdropFilter)||wr(t.filter))||SP.test(t.willChange||"")||kP.test(t.contain||"")}function CP(e){let t=cr(e);for(;Mn(t)&&!Ji(t);){if(xh(t))return t;if(ru(t))return null;t=cr(t)}return null}function Sh(){return Ku==null&&(Ku=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Ku}function Ji(e){return/^(html|body|#document)$/.test(ls(e))}function zt(e){return ut(e).getComputedStyle(e)}function iu(e){return jt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function cr(e){if(ls(e)==="html")return e;const t=e.assignedSlot||e.parentNode||sy(e)&&e.host||rn(e);return sy(t)?t.host:t}function cw(e){const t=cr(e);return Ji(t)?e.ownerDocument?e.ownerDocument.body:e.body:Mn(t)&&Do(t)?t:cw(t)}function co(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const i=cw(e),s=i===((r=e.ownerDocument)==null?void 0:r.body),o=ut(i);if(s){const a=Lf(o);return t.concat(o,o.visualViewport||[],Do(i)?i:[],a&&n?co(a):[])}else return t.concat(i,co(i,[],n))}function Lf(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function fw(e){const t=zt(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=Mn(e),s=i?e.offsetWidth:n,o=i?e.offsetHeight:r,a=xl(n)!==s||xl(r)!==o;return a&&(n=s,r=o),{width:n,height:r,$:a}}function kh(e){return jt(e)?e:e.contextElement}function Mi(e){const t=kh(e);if(!Mn(t))return en(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:s}=fw(t);let o=(s?xl(n.width):n.width)/r,a=(s?xl(n.height):n.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!a||!Number.isFinite(a))&&(a=1),{x:o,y:a}}const EP=en(0);function dw(e){const t=ut(e);return!Sh()||!t.visualViewport?EP:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function bP(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==ut(e)?!1:t}function Zr(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const i=e.getBoundingClientRect(),s=kh(e);let o=en(1);t&&(r?jt(r)&&(o=Mi(r)):o=Mi(e));const a=bP(s,n,r)?dw(s):en(0);let l=(i.left+a.x)/o.x,u=(i.top+a.y)/o.y,c=i.width/o.x,f=i.height/o.y;if(s){const d=ut(s),p=r&&jt(r)?ut(r):r;let h=d,y=Lf(h);for(;y&&r&&p!==h;){const w=Mi(y),m=y.getBoundingClientRect(),g=zt(y),v=m.left+(y.clientLeft+parseFloat(g.paddingLeft))*w.x,x=m.top+(y.clientTop+parseFloat(g.paddingTop))*w.y;l*=w.x,u*=w.y,c*=w.x,f*=w.y,l+=v,u+=x,h=ut(y),y=Lf(h)}}return kl({width:c,height:f,x:l,y:u})}function su(e,t){const n=iu(e).scrollLeft;return t?t.left+n:Zr(rn(e)).left+n}function hw(e,t){const n=e.getBoundingClientRect(),r=n.left+t.scrollLeft-su(e,n),i=n.top+t.scrollTop;return{x:r,y:i}}function PP(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e;const s=i==="fixed",o=rn(r),a=t?ru(t.floating):!1;if(r===o||a&&s)return n;let l={scrollLeft:0,scrollTop:0},u=en(1);const c=en(0),f=Mn(r);if((f||!f&&!s)&&((ls(r)!=="body"||Do(o))&&(l=iu(r)),f)){const p=Zr(r);u=Mi(r),c.x=p.x+r.clientLeft,c.y=p.y+r.clientTop}const d=o&&!f&&!s?hw(o,l):en(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-l.scrollLeft*u.x+c.x+d.x,y:n.y*u.y-l.scrollTop*u.y+c.y+d.y}}function TP(e){return Array.from(e.getClientRects())}function RP(e){const t=rn(e),n=iu(e),r=e.ownerDocument.body,i=ot(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),s=ot(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let o=-n.scrollLeft+su(e);const a=-n.scrollTop;return zt(r).direction==="rtl"&&(o+=ot(t.clientWidth,r.clientWidth)-i),{width:i,height:s,x:o,y:a}}const oy=25;function AP(e,t){const n=ut(e),r=rn(e),i=n.visualViewport;let s=r.clientWidth,o=r.clientHeight,a=0,l=0;if(i){s=i.width,o=i.height;const c=Sh();(!c||c&&t==="fixed")&&(a=i.offsetLeft,l=i.offsetTop)}const u=su(r);if(u<=0){const c=r.ownerDocument,f=c.body,d=getComputedStyle(f),p=c.compatMode==="CSS1Compat"&&parseFloat(d.marginLeft)+parseFloat(d.marginRight)||0,h=Math.abs(r.clientWidth-f.clientWidth-p);h<=oy&&(s-=h)}else u<=oy&&(s+=u);return{width:s,height:o,x:a,y:l}}function MP(e,t){const n=Zr(e,!0,t==="fixed"),r=n.top+e.clientTop,i=n.left+e.clientLeft,s=Mn(e)?Mi(e):en(1),o=e.clientWidth*s.x,a=e.clientHeight*s.y,l=i*s.x,u=r*s.y;return{width:o,height:a,x:l,y:u}}function ay(e,t,n){let r;if(t==="viewport")r=AP(e,n);else if(t==="document")r=RP(rn(e));else if(jt(t))r=MP(t,n);else{const i=dw(e);r={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return kl(r)}function pw(e,t){const n=cr(e);return n===t||!jt(n)||Ji(n)?!1:zt(n).position==="fixed"||pw(n,t)}function OP(e,t){const n=t.get(e);if(n)return n;let r=co(e,[],!1).filter(a=>jt(a)&&ls(a)!=="body"),i=null;const s=zt(e).position==="fixed";let o=s?cr(e):e;for(;jt(o)&&!Ji(o);){const a=zt(o),l=xh(o);!l&&a.position==="fixed"&&(i=null),(s?!l&&!i:!l&&a.position==="static"&&!!i&&(i.position==="absolute"||i.position==="fixed")||Do(o)&&!l&&pw(e,o))?r=r.filter(c=>c!==o):i=a,o=cr(o)}return t.set(e,r),r}function DP(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const o=[...n==="clippingAncestors"?ru(t)?[]:OP(t,this._c):[].concat(n),r],a=ay(t,o[0],i);let l=a.top,u=a.right,c=a.bottom,f=a.left;for(let d=1;d<o.length;d++){const p=ay(t,o[d],i);l=ot(p.top,l),u=ur(p.right,u),c=ur(p.bottom,c),f=ot(p.left,f)}return{width:u-f,height:c-l,x:f,y:l}}function LP(e){const{width:t,height:n}=fw(e);return{width:t,height:n}}function _P(e,t,n){const r=Mn(t),i=rn(t),s=n==="fixed",o=Zr(e,!0,s,t);let a={scrollLeft:0,scrollTop:0};const l=en(0);function u(){l.x=su(i)}if(r||!r&&!s)if((ls(t)!=="body"||Do(i))&&(a=iu(t)),r){const p=Zr(t,!0,s,t);l.x=p.x+t.clientLeft,l.y=p.y+t.clientTop}else i&&u();s&&!r&&i&&u();const c=i&&!r&&!s?hw(i,a):en(0),f=o.left+a.scrollLeft-l.x-c.x,d=o.top+a.scrollTop-l.y-c.y;return{x:f,y:d,width:o.width,height:o.height}}function qu(e){return zt(e).position==="static"}function ly(e,t){if(!Mn(e)||zt(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return rn(e)===n&&(n=n.ownerDocument.body),n}function mw(e,t){const n=ut(e);if(ru(e))return n;if(!Mn(e)){let i=cr(e);for(;i&&!Ji(i);){if(jt(i)&&!qu(i))return i;i=cr(i)}return n}let r=ly(e,t);for(;r&&xP(r)&&qu(r);)r=ly(r,t);return r&&Ji(r)&&qu(r)&&!xh(r)?n:r||CP(e)||n}const FP=async function(e){const t=this.getOffsetParent||mw,n=this.getDimensions,r=await n(e.floating);return{reference:_P(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function VP(e){return zt(e).direction==="rtl"}const NP={convertOffsetParentRelativeRectToViewportRelativeRect:PP,getDocumentElement:rn,getClippingRect:DP,getOffsetParent:mw,getElementRects:FP,getClientRects:TP,getDimensions:LP,getScale:Mi,isElement:jt,isRTL:VP};function yw(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function IP(e,t){let n=null,r;const i=rn(e);function s(){var a;clearTimeout(r),(a=n)==null||a.disconnect(),n=null}function o(a,l){a===void 0&&(a=!1),l===void 0&&(l=1),s();const u=e.getBoundingClientRect(),{left:c,top:f,width:d,height:p}=u;if(a||t(),!d||!p)return;const h=la(f),y=la(i.clientWidth-(c+d)),w=la(i.clientHeight-(f+p)),m=la(c),v={rootMargin:-h+"px "+-y+"px "+-w+"px "+-m+"px",threshold:ot(0,ur(1,l))||1};let x=!0;function C(E){const b=E[0].intersectionRatio;if(b!==l){if(!x)return o();b?o(!1,b):r=setTimeout(()=>{o(!1,1e-7)},1e3)}b===1&&!yw(u,e.getBoundingClientRect())&&o(),x=!1}try{n=new IntersectionObserver(C,{...v,root:i.ownerDocument})}catch{n=new IntersectionObserver(C,v)}n.observe(e)}return o(!0),s}function N3(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:i=!0,ancestorResize:s=!0,elementResize:o=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,u=kh(e),c=i||s?[...u?co(u):[],...t?co(t):[]]:[];c.forEach(m=>{i&&m.addEventListener("scroll",n,{passive:!0}),s&&m.addEventListener("resize",n)});const f=u&&a?IP(u,n):null;let d=-1,p=null;o&&(p=new ResizeObserver(m=>{let[g]=m;g&&g.target===u&&p&&t&&(p.unobserve(t),cancelAnimationFrame(d),d=requestAnimationFrame(()=>{var v;(v=p)==null||v.observe(t)})),n()}),u&&!l&&p.observe(u),t&&p.observe(t));let h,y=l?Zr(e):null;l&&w();function w(){const m=Zr(e);y&&!yw(y,m)&&n(),y=m,h=requestAnimationFrame(w)}return n(),()=>{var m;c.forEach(g=>{i&&g.removeEventListener("scroll",n),s&&g.removeEventListener("resize",n)}),f==null||f(),(m=p)==null||m.disconnect(),p=null,l&&cancelAnimationFrame(h)}}const jP=yP,zP=gP,BP=hP,UP=wP,$P=pP,uy=dP,WP=vP,HP=(e,t,n)=>{const r=new Map,i={platform:NP,...n},s={...i.platform,_c:r};return fP(e,t,{...i,platform:s})};var KP=typeof document<"u",qP=function(){},Fa=KP?T.useLayoutEffect:qP;function Cl(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 n,r,i;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!Cl(e[r],t[r]))return!1;return!0}if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,i[r]))return!1;for(r=n;r--!==0;){const s=i[r];if(!(s==="_owner"&&e.$$typeof)&&!Cl(e[s],t[s]))return!1}return!0}return e!==e&&t!==t}function gw(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function cy(e,t){const n=gw(e);return Math.round(t*n)/n}function Gu(e){const t=T.useRef(e);return Fa(()=>{t.current=e}),t}function I3(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:i,elements:{reference:s,floating:o}={},transform:a=!0,whileElementsMounted:l,open:u}=e,[c,f]=T.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[d,p]=T.useState(r);Cl(d,r)||p(r);const[h,y]=T.useState(null),[w,m]=T.useState(null),g=T.useCallback(A=>{A!==E.current&&(E.current=A,y(A))},[]),v=T.useCallback(A=>{A!==b.current&&(b.current=A,m(A))},[]),x=s||h,C=o||w,E=T.useRef(null),b=T.useRef(null),k=T.useRef(c),M=l!=null,R=Gu(l),F=Gu(i),U=Gu(u),K=T.useCallback(()=>{if(!E.current||!b.current)return;const A={placement:t,strategy:n,middleware:d};F.current&&(A.platform=F.current),HP(E.current,b.current,A).then(L=>{const O={...L,isPositioned:U.current!==!1};W.current&&!Cl(k.current,O)&&(k.current=O,ih.flushSync(()=>{f(O)}))})},[d,t,n,F,U]);Fa(()=>{u===!1&&k.current.isPositioned&&(k.current.isPositioned=!1,f(A=>({...A,isPositioned:!1})))},[u]);const W=T.useRef(!1);Fa(()=>(W.current=!0,()=>{W.current=!1}),[]),Fa(()=>{if(x&&(E.current=x),C&&(b.current=C),x&&C){if(R.current)return R.current(x,C,K);K()}},[x,C,K,R,M]);const X=T.useMemo(()=>({reference:E,floating:b,setReference:g,setFloating:v}),[g,v]),z=T.useMemo(()=>({reference:x,floating:C}),[x,C]),ee=T.useMemo(()=>{const A={position:n,left:0,top:0};if(!z.floating)return A;const L=cy(z.floating,c.x),O=cy(z.floating,c.y);return a?{...A,transform:"translate("+L+"px, "+O+"px)",...gw(z.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:L,top:O}},[n,a,z.floating,c.x,c.y]);return T.useMemo(()=>({...c,update:K,refs:X,elements:z,floatingStyles:ee}),[c,K,X,z,ee])}const GP=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:i}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?uy({element:r.current,padding:i}).fn(n):{}:r?uy({element:r,padding:i}).fn(n):{}}}},j3=(e,t)=>{const n=jP(e);return{name:n.name,fn:n.fn,options:[e,t]}},z3=(e,t)=>{const n=zP(e);return{name:n.name,fn:n.fn,options:[e,t]}},B3=(e,t)=>({fn:WP(e).fn,options:[e,t]}),U3=(e,t)=>{const n=BP(e);return{name:n.name,fn:n.fn,options:[e,t]}},$3=(e,t)=>{const n=UP(e);return{name:n.name,fn:n.fn,options:[e,t]}},W3=(e,t)=>{const n=$P(e);return{name:n.name,fn:n.fn,options:[e,t]}},H3=(e,t)=>{const n=GP(e);return{name:n.name,fn:n.fn,options:[e,t]}};var QP=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},ri=new WeakMap,ua=new WeakMap,ca={},Qu=0,vw=function(e){return e&&(e.host||vw(e.parentNode))},XP=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=vw(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},YP=function(e,t,n,r){var i=XP(t,Array.isArray(e)?e:[e]);ca[n]||(ca[n]=new WeakMap);var s=ca[n],o=[],a=new Set,l=new Set(i),u=function(f){!f||a.has(f)||(a.add(f),u(f.parentNode))};i.forEach(u);var c=function(f){!f||l.has(f)||Array.prototype.forEach.call(f.children,function(d){if(a.has(d))c(d);else try{var p=d.getAttribute(r),h=p!==null&&p!=="false",y=(ri.get(d)||0)+1,w=(s.get(d)||0)+1;ri.set(d,y),s.set(d,w),o.push(d),y===1&&h&&ua.set(d,!0),w===1&&d.setAttribute(n,"true"),h||d.setAttribute(r,"true")}catch(m){console.error("aria-hidden: cannot operate on ",d,m)}})};return c(t),a.clear(),Qu++,function(){o.forEach(function(f){var d=ri.get(f)-1,p=s.get(f)-1;ri.set(f,d),s.set(f,p),d||(ua.has(f)||f.removeAttribute(r),ua.delete(f)),p||f.removeAttribute(n)}),Qu--,Qu||(ri=new WeakMap,ri=new WeakMap,ua=new WeakMap,ca={})}},K3=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),i=QP(e);return i?(r.push.apply(r,Array.from(i.querySelectorAll("[aria-live], script"))),YP(r,i,n,"aria-hidden")):function(){return null}},Xt=function(){return Xt=Object.assign||function(t){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(t[s]=n[s])}return t},Xt.apply(this,arguments)};function ww(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}function ZP(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,s;r<i;r++)(s||!(r in t))&&(s||(s=Array.prototype.slice.call(t,0,r)),s[r]=t[r]);return e.concat(s||Array.prototype.slice.call(t))}var Va="right-scroll-bar-position",Na="width-before-scroll-bar",JP="with-scroll-bars-hidden",eT="--removed-body-scroll-bar-size";function Xu(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function tT(e,t){var n=T.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var i=n.value;i!==r&&(n.value=r,n.callback(r,i))}}}})[0];return n.callback=t,n.facade}var nT=typeof window<"u"?T.useLayoutEffect:T.useEffect,fy=new WeakMap;function rT(e,t){var n=tT(null,function(r){return e.forEach(function(i){return Xu(i,r)})});return nT(function(){var r=fy.get(n);if(r){var i=new Set(r),s=new Set(e),o=n.current;i.forEach(function(a){s.has(a)||Xu(a,null)}),s.forEach(function(a){i.has(a)||Xu(a,o)})}fy.set(n,e)},[e]),n}function iT(e){return e}function sT(e,t){t===void 0&&(t=iT);var n=[],r=!1,i={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(s){var o=t(s,r);return n.push(o),function(){n=n.filter(function(a){return a!==o})}},assignSyncMedium:function(s){for(r=!0;n.length;){var o=n;n=[],o.forEach(s)}n={push:function(a){return s(a)},filter:function(){return n}}},assignMedium:function(s){r=!0;var o=[];if(n.length){var a=n;n=[],a.forEach(s),o=n}var l=function(){var c=o;o=[],c.forEach(s)},u=function(){return Promise.resolve().then(l)};u(),n={push:function(c){o.push(c),u()},filter:function(c){return o=o.filter(c),n}}}};return i}function oT(e){e===void 0&&(e={});var t=sT(null);return t.options=Xt({async:!0,ssr:!1},e),t}var xw=function(e){var t=e.sideCar,n=ww(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return T.createElement(r,Xt({},n))};xw.isSideCarExport=!0;function aT(e,t){return e.useMedium(t),xw}var Sw=oT(),Yu=function(){},ou=T.forwardRef(function(e,t){var n=T.useRef(null),r=T.useState({onScrollCapture:Yu,onWheelCapture:Yu,onTouchMoveCapture:Yu}),i=r[0],s=r[1],o=e.forwardProps,a=e.children,l=e.className,u=e.removeScrollBar,c=e.enabled,f=e.shards,d=e.sideCar,p=e.noRelative,h=e.noIsolation,y=e.inert,w=e.allowPinchZoom,m=e.as,g=m===void 0?"div":m,v=e.gapMode,x=ww(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),C=d,E=rT([n,t]),b=Xt(Xt({},x),i);return T.createElement(T.Fragment,null,c&&T.createElement(C,{sideCar:Sw,removeScrollBar:u,shards:f,noRelative:p,noIsolation:h,inert:y,setCallbacks:s,allowPinchZoom:!!w,lockRef:n,gapMode:v}),o?T.cloneElement(T.Children.only(a),Xt(Xt({},b),{ref:E})):T.createElement(g,Xt({},b,{className:l,ref:E}),a))});ou.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};ou.classNames={fullWidth:Na,zeroRight:Va};var lT=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function uT(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=lT();return t&&e.setAttribute("nonce",t),e}function cT(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function fT(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var dT=function(){var e=0,t=null;return{add:function(n){e==0&&(t=uT())&&(cT(t,n),fT(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},hT=function(){var e=dT();return function(t,n){T.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},kw=function(){var e=hT(),t=function(n){var r=n.styles,i=n.dynamic;return e(r,i),null};return t},pT={left:0,top:0,right:0,gap:0},Zu=function(e){return parseInt(e||"",10)||0},mT=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],i=t[e==="padding"?"paddingRight":"marginRight"];return[Zu(n),Zu(r),Zu(i)]},yT=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return pT;var t=mT(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},gT=kw(),Oi="data-scroll-locked",vT=function(e,t,n,r){var i=e.left,s=e.top,o=e.right,a=e.gap;return n===void 0&&(n="margin"),`
330
- .`.concat(JP,` {
331
- overflow: hidden `).concat(r,`;
332
- padding-right: `).concat(a,"px ").concat(r,`;
333
- }
334
- body[`).concat(Oi,`] {
335
- overflow: hidden `).concat(r,`;
336
- overscroll-behavior: contain;
337
- `).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&`
338
- padding-left: `.concat(i,`px;
339
- padding-top: `).concat(s,`px;
340
- padding-right: `).concat(o,`px;
341
- margin-left:0;
342
- margin-top:0;
343
- margin-right: `).concat(a,"px ").concat(r,`;
344
- `),n==="padding"&&"padding-right: ".concat(a,"px ").concat(r,";")].filter(Boolean).join(""),`
345
- }
346
-
347
- .`).concat(Va,` {
348
- right: `).concat(a,"px ").concat(r,`;
349
- }
350
-
351
- .`).concat(Na,` {
352
- margin-right: `).concat(a,"px ").concat(r,`;
353
- }
354
-
355
- .`).concat(Va," .").concat(Va,` {
356
- right: 0 `).concat(r,`;
357
- }
358
-
359
- .`).concat(Na," .").concat(Na,` {
360
- margin-right: 0 `).concat(r,`;
361
- }
362
-
363
- body[`).concat(Oi,`] {
364
- `).concat(eT,": ").concat(a,`px;
365
- }
366
- `)},dy=function(){var e=parseInt(document.body.getAttribute(Oi)||"0",10);return isFinite(e)?e:0},wT=function(){T.useEffect(function(){return document.body.setAttribute(Oi,(dy()+1).toString()),function(){var e=dy()-1;e<=0?document.body.removeAttribute(Oi):document.body.setAttribute(Oi,e.toString())}},[])},xT=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,i=r===void 0?"margin":r;wT();var s=T.useMemo(function(){return yT(i)},[i]);return T.createElement(gT,{styles:vT(s,!t,i,n?"":"!important")})},_f=!1;if(typeof window<"u")try{var fa=Object.defineProperty({},"passive",{get:function(){return _f=!0,!0}});window.addEventListener("test",fa,fa),window.removeEventListener("test",fa,fa)}catch{_f=!1}var ii=_f?{passive:!1}:!1,ST=function(e){return e.tagName==="TEXTAREA"},Cw=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!ST(e)&&n[t]==="visible")},kT=function(e){return Cw(e,"overflowY")},CT=function(e){return Cw(e,"overflowX")},hy=function(e,t){var n=t.ownerDocument,r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var i=Ew(e,r);if(i){var s=bw(e,r),o=s[1],a=s[2];if(o>a)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},ET=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},bT=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},Ew=function(e,t){return e==="v"?kT(t):CT(t)},bw=function(e,t){return e==="v"?ET(t):bT(t)},PT=function(e,t){return e==="h"&&t==="rtl"?-1:1},TT=function(e,t,n,r,i){var s=PT(e,window.getComputedStyle(t).direction),o=s*r,a=n.target,l=t.contains(a),u=!1,c=o>0,f=0,d=0;do{if(!a)break;var p=bw(e,a),h=p[0],y=p[1],w=p[2],m=y-w-s*h;(h||m)&&Ew(e,a)&&(f+=m,d+=h);var g=a.parentNode;a=g&&g.nodeType===Node.DOCUMENT_FRAGMENT_NODE?g.host:g}while(!l&&a!==document.body||l&&(t.contains(a)||t===a));return(c&&Math.abs(f)<1||!c&&Math.abs(d)<1)&&(u=!0),u},da=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},py=function(e){return[e.deltaX,e.deltaY]},my=function(e){return e&&"current"in e?e.current:e},RT=function(e,t){return e[0]===t[0]&&e[1]===t[1]},AT=function(e){return`
367
- .block-interactivity-`.concat(e,` {pointer-events: none;}
368
- .allow-interactivity-`).concat(e,` {pointer-events: all;}
369
- `)},MT=0,si=[];function OT(e){var t=T.useRef([]),n=T.useRef([0,0]),r=T.useRef(),i=T.useState(MT++)[0],s=T.useState(kw)[0],o=T.useRef(e);T.useEffect(function(){o.current=e},[e]),T.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var y=ZP([e.lockRef.current],(e.shards||[]).map(my),!0).filter(Boolean);return y.forEach(function(w){return w.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),y.forEach(function(w){return w.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var a=T.useCallback(function(y,w){if("touches"in y&&y.touches.length===2||y.type==="wheel"&&y.ctrlKey)return!o.current.allowPinchZoom;var m=da(y),g=n.current,v="deltaX"in y?y.deltaX:g[0]-m[0],x="deltaY"in y?y.deltaY:g[1]-m[1],C,E=y.target,b=Math.abs(v)>Math.abs(x)?"h":"v";if("touches"in y&&b==="h"&&E.type==="range")return!1;var k=window.getSelection(),M=k&&k.anchorNode,R=M?M===E||M.contains(E):!1;if(R)return!1;var F=hy(b,E);if(!F)return!0;if(F?C=b:(C=b==="v"?"h":"v",F=hy(b,E)),!F)return!1;if(!r.current&&"changedTouches"in y&&(v||x)&&(r.current=C),!C)return!0;var U=r.current||C;return TT(U,w,y,U==="h"?v:x)},[]),l=T.useCallback(function(y){var w=y;if(!(!si.length||si[si.length-1]!==s)){var m="deltaY"in w?py(w):da(w),g=t.current.filter(function(C){return C.name===w.type&&(C.target===w.target||w.target===C.shadowParent)&&RT(C.delta,m)})[0];if(g&&g.should){w.cancelable&&w.preventDefault();return}if(!g){var v=(o.current.shards||[]).map(my).filter(Boolean).filter(function(C){return C.contains(w.target)}),x=v.length>0?a(w,v[0]):!o.current.noIsolation;x&&w.cancelable&&w.preventDefault()}}},[]),u=T.useCallback(function(y,w,m,g){var v={name:y,delta:w,target:m,should:g,shadowParent:DT(m)};t.current.push(v),setTimeout(function(){t.current=t.current.filter(function(x){return x!==v})},1)},[]),c=T.useCallback(function(y){n.current=da(y),r.current=void 0},[]),f=T.useCallback(function(y){u(y.type,py(y),y.target,a(y,e.lockRef.current))},[]),d=T.useCallback(function(y){u(y.type,da(y),y.target,a(y,e.lockRef.current))},[]);T.useEffect(function(){return si.push(s),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:d}),document.addEventListener("wheel",l,ii),document.addEventListener("touchmove",l,ii),document.addEventListener("touchstart",c,ii),function(){si=si.filter(function(y){return y!==s}),document.removeEventListener("wheel",l,ii),document.removeEventListener("touchmove",l,ii),document.removeEventListener("touchstart",c,ii)}},[]);var p=e.removeScrollBar,h=e.inert;return T.createElement(T.Fragment,null,h?T.createElement(s,{styles:AT(i)}):null,p?T.createElement(xT,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function DT(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const LT=aT(Sw,OT);var _T=T.forwardRef(function(e,t){return T.createElement(ou,Xt({},e,{ref:t,sideCar:LT}))});_T.classNames=ou.classNames;const Ch=T.createContext({});function Eh(e){const t=T.useRef(null);return t.current===null&&(t.current=e()),t.current}const FT=typeof window<"u",bh=FT?T.useLayoutEffect:T.useEffect,au=T.createContext(null);function Ph(e,t){e.indexOf(t)===-1&&e.push(t)}function El(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const nn=(e,t,n)=>n>t?t:n<e?e:n;let Th=()=>{};const fr={},Pw=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),Tw=e=>typeof e=="object"&&e!==null,Rw=e=>/^0[^.\s]+$/u.test(e);function Aw(e){let t;return()=>(t===void 0&&(t=e()),t)}const Ct=e=>e,Lo=(...e)=>e.reduce((t,n)=>r=>n(t(r))),fo=(e,t,n)=>{const r=t-e;return r?(n-e)/r:1};class Rh{constructor(){this.subscriptions=[]}add(t){return Ph(this.subscriptions,t),()=>El(this.subscriptions,t)}notify(t,n,r){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](t,n,r);else for(let s=0;s<i;s++){const o=this.subscriptions[s];o&&o(t,n,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const ct=e=>e*1e3,St=e=>e/1e3,Mw=(e,t)=>t?e*(1e3/t):0,Ow=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,VT=1e-7,NT=12;function IT(e,t,n,r,i){let s,o,a=0;do o=t+(n-t)/2,s=Ow(o,r,i)-e,s>0?n=o:t=o;while(Math.abs(s)>VT&&++a<NT);return o}function _o(e,t,n,r){if(e===t&&n===r)return Ct;const i=s=>IT(s,0,1,e,n);return s=>s===0||s===1?s:Ow(i(s),t,r)}const Dw=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Lw=e=>t=>1-e(1-t),_w=_o(.33,1.53,.69,.99),Ah=Lw(_w),Fw=Dw(Ah),Vw=e=>e>=1?1:(e*=2)<1?.5*Ah(e):.5*(2-Math.pow(2,-10*(e-1))),Mh=e=>1-Math.sin(Math.acos(e)),Nw=Lw(Mh),Iw=Dw(Mh),jT=_o(.42,0,1,1),zT=_o(0,0,.58,1),jw=_o(.42,0,.58,1),BT=e=>Array.isArray(e)&&typeof e[0]!="number",zw=e=>Array.isArray(e)&&typeof e[0]=="number",UT={linear:Ct,easeIn:jT,easeInOut:jw,easeOut:zT,circIn:Mh,circInOut:Iw,circOut:Nw,backIn:Ah,backInOut:Fw,backOut:_w,anticipate:Vw},$T=e=>typeof e=="string",yy=e=>{if(zw(e)){Th(e.length===4);const[t,n,r,i]=e;return _o(t,n,r,i)}else if($T(e))return UT[e];return e},ha=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function WT(e){let t=new Set,n=new Set,r=!1,i=!1;const s=new WeakSet;let o={delta:0,timestamp:0,isProcessing:!1};function a(u){s.has(u)&&(l.schedule(u),e()),u(o)}const l={schedule:(u,c=!1,f=!1)=>{const p=f&&r?t:n;return c&&s.add(u),p.add(u),u},cancel:u=>{n.delete(u),s.delete(u)},process:u=>{if(o=u,r){i=!0;return}r=!0;const c=t;t=n,n=c,t.forEach(a),t.clear(),r=!1,i&&(i=!1,l.process(u))}};return l}const HT=40;function Bw(e,t){let n=!1,r=!0;const i={delta:0,timestamp:0,isProcessing:!1},s=()=>n=!0,o=ha.reduce((v,x)=>(v[x]=WT(s),v),{}),{setup:a,read:l,resolveKeyframes:u,preUpdate:c,update:f,preRender:d,render:p,postRender:h}=o,y=()=>{const v=fr.useManualTiming,x=v?i.timestamp:performance.now();n=!1,v||(i.delta=r?1e3/60:Math.max(Math.min(x-i.timestamp,HT),1)),i.timestamp=x,i.isProcessing=!0,a.process(i),l.process(i),u.process(i),c.process(i),f.process(i),d.process(i),p.process(i),h.process(i),i.isProcessing=!1,n&&t&&(r=!1,e(y))},w=()=>{n=!0,r=!0,i.isProcessing||e(y)};return{schedule:ha.reduce((v,x)=>{const C=o[x];return v[x]=(E,b=!1,k=!1)=>(n||w(),C.schedule(E,b,k)),v},{}),cancel:v=>{for(let x=0;x<ha.length;x++)o[ha[x]].cancel(v)},state:i,steps:o}}const{schedule:se,cancel:dr,state:Oe,steps:Ju}=Bw(typeof requestAnimationFrame<"u"?requestAnimationFrame:Ct,!0);let Ia;function KT(){Ia=void 0}const He={now:()=>(Ia===void 0&&He.set(Oe.isProcessing||fr.useManualTiming?Oe.timestamp:performance.now()),Ia),set:e=>{Ia=e,queueMicrotask(KT)}},Uw=e=>t=>typeof t=="string"&&t.startsWith(e),$w=Uw("--"),qT=Uw("var(--"),Oh=e=>qT(e)?GT.test(e.split("/*")[0].trim()):!1,GT=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function gy(e){return typeof e!="string"?!1:e.split("/*")[0].includes("var(--")}const us={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},ho={...us,transform:e=>nn(0,1,e)},pa={...us,default:1},Bs=e=>Math.round(e*1e5)/1e5,Dh=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function QT(e){return e==null}const XT=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Lh=(e,t)=>n=>!!(typeof n=="string"&&XT.test(n)&&n.startsWith(e)||t&&!QT(n)&&Object.prototype.hasOwnProperty.call(n,t)),Ww=(e,t,n)=>r=>{if(typeof r!="string")return r;const[i,s,o,a]=r.match(Dh);return{[e]:parseFloat(i),[t]:parseFloat(s),[n]:parseFloat(o),alpha:a!==void 0?parseFloat(a):1}},YT=e=>nn(0,255,e),ec={...us,transform:e=>Math.round(YT(e))},Ar={test:Lh("rgb","red"),parse:Ww("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+ec.transform(e)+", "+ec.transform(t)+", "+ec.transform(n)+", "+Bs(ho.transform(r))+")"};function ZT(e){let t="",n="",r="",i="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}const Ff={test:Lh("#"),parse:ZT,transform:Ar.transform},Fo=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),fn=Fo("deg"),tn=Fo("%"),I=Fo("px"),JT=Fo("vh"),eR=Fo("vw"),vy={...tn,parse:e=>tn.parse(e)/100,transform:e=>tn.transform(e*100)},xi={test:Lh("hsl","hue"),parse:Ww("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+tn.transform(Bs(t))+", "+tn.transform(Bs(n))+", "+Bs(ho.transform(r))+")"},we={test:e=>Ar.test(e)||Ff.test(e)||xi.test(e),parse:e=>Ar.test(e)?Ar.parse(e):xi.test(e)?xi.parse(e):Ff.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?Ar.transform(e):xi.transform(e),getAnimatableNone:e=>{const t=we.parse(e);return t.alpha=0,we.transform(t)}},tR=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function nR(e){var t,n;return isNaN(e)&&typeof e=="string"&&(((t=e.match(Dh))==null?void 0:t.length)||0)+(((n=e.match(tR))==null?void 0:n.length)||0)>0}const Hw="number",Kw="color",rR="var",iR="var(",wy="${}",sR=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function es(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[];let s=0;const a=t.replace(sR,l=>(we.test(l)?(r.color.push(s),i.push(Kw),n.push(we.parse(l))):l.startsWith(iR)?(r.var.push(s),i.push(rR),n.push(l)):(r.number.push(s),i.push(Hw),n.push(parseFloat(l))),++s,wy)).split(wy);return{values:n,split:a,indexes:r,types:i}}function oR(e){return es(e).values}function qw({split:e,types:t}){const n=e.length;return r=>{let i="";for(let s=0;s<n;s++)if(i+=e[s],r[s]!==void 0){const o=t[s];o===Hw?i+=Bs(r[s]):o===Kw?i+=we.transform(r[s]):i+=r[s]}return i}}function aR(e){return qw(es(e))}const lR=e=>typeof e=="number"?0:we.test(e)?we.getAnimatableNone(e):e,uR=(e,t)=>typeof e=="number"?t!=null&&t.trim().endsWith("/")?e:0:lR(e);function cR(e){const t=es(e);return qw(t)(t.values.map((r,i)=>uR(r,t.split[i])))}const Nt={test:nR,parse:oR,createTransformer:aR,getAnimatableNone:cR};function tc(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function fR({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,s=0,o=0;if(!t)i=s=o=n;else{const a=n<.5?n*(1+t):n+t-n*t,l=2*n-a;i=tc(l,a,e+1/3),s=tc(l,a,e),o=tc(l,a,e-1/3)}return{red:Math.round(i*255),green:Math.round(s*255),blue:Math.round(o*255),alpha:r}}function bl(e,t){return n=>n>0?t:e}const ie=(e,t,n)=>e+(t-e)*n,nc=(e,t,n)=>{const r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},dR=[Ff,Ar,xi],hR=e=>dR.find(t=>t.test(e));function xy(e){const t=hR(e);if(!t)return!1;let n=t.parse(e);return t===xi&&(n=fR(n)),n}const Sy=(e,t)=>{const n=xy(e),r=xy(t);if(!n||!r)return bl(e,t);const i={...n};return s=>(i.red=nc(n.red,r.red,s),i.green=nc(n.green,r.green,s),i.blue=nc(n.blue,r.blue,s),i.alpha=ie(n.alpha,r.alpha,s),Ar.transform(i))},Vf=new Set(["none","hidden"]);function pR(e,t){return Vf.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function mR(e,t){return n=>ie(e,t,n)}function _h(e){return typeof e=="number"?mR:typeof e=="string"?Oh(e)?bl:we.test(e)?Sy:vR:Array.isArray(e)?Gw:typeof e=="object"?we.test(e)?Sy:yR:bl}function Gw(e,t){const n=[...e],r=n.length,i=e.map((s,o)=>_h(s)(s,t[o]));return s=>{for(let o=0;o<r;o++)n[o]=i[o](s);return n}}function yR(e,t){const n={...e,...t},r={};for(const i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=_h(e[i])(e[i],t[i]));return i=>{for(const s in r)n[s]=r[s](i);return n}}function gR(e,t){const n=[],r={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){const s=t.types[i],o=e.indexes[s][r[s]],a=e.values[o]??0;n[i]=a,r[s]++}return n}const vR=(e,t)=>{const n=Nt.createTransformer(t),r=es(e),i=es(t);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?Vf.has(e)&&!i.values.length||Vf.has(t)&&!r.values.length?pR(e,t):Lo(Gw(gR(r,i),i.values),n):bl(e,t)};function Qw(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?ie(e,t,n):_h(e)(e,t)}const wR=e=>{const t=({timestamp:n})=>e(n);return{start:(n=!0)=>se.update(t,n),stop:()=>dr(t),now:()=>Oe.isProcessing?Oe.timestamp:He.now()}},Xw=(e,t,n=10)=>{let r="";const i=Math.max(Math.round(t/n),2);for(let s=0;s<i;s++)r+=Math.round(e(s/(i-1))*1e4)/1e4+", ";return`linear(${r.substring(0,r.length-2)})`},Pl=2e4;function Fh(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t<Pl;)t+=n,r=e.next(t);return t>=Pl?1/0:t}function xR(e,t=100,n){const r=n({...e,keyframes:[0,t]}),i=Math.min(Fh(r),Pl);return{type:"keyframes",ease:s=>r.next(i*s).value/t,duration:St(i)}}const ye={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function Nf(e,t){return e*Math.sqrt(1-t*t)}const SR=12;function kR(e,t,n){let r=n;for(let i=1;i<SR;i++)r=r-e(r)/t(r);return r}const rc=.001;function CR({duration:e=ye.duration,bounce:t=ye.bounce,velocity:n=ye.velocity,mass:r=ye.mass}){let i,s,o=1-t;o=nn(ye.minDamping,ye.maxDamping,o),e=nn(ye.minDuration,ye.maxDuration,St(e)),o<1?(i=u=>{const c=u*o,f=c*e,d=c-n,p=Nf(u,o),h=Math.exp(-f);return rc-d/p*h},s=u=>{const f=u*o*e,d=f*n+n,p=Math.pow(o,2)*Math.pow(u,2)*e,h=Math.exp(-f),y=Nf(Math.pow(u,2),o);return(-i(u)+rc>0?-1:1)*((d-p)*h)/y}):(i=u=>{const c=Math.exp(-u*e),f=(u-n)*e+1;return-rc+c*f},s=u=>{const c=Math.exp(-u*e),f=(n-u)*(e*e);return c*f});const a=5/e,l=kR(i,s,a);if(e=ct(e),isNaN(l))return{stiffness:ye.stiffness,damping:ye.damping,duration:e};{const u=Math.pow(l,2)*r;return{stiffness:u,damping:o*2*Math.sqrt(r*u),duration:e}}}const ER=["duration","bounce"],bR=["stiffness","damping","mass"];function ky(e,t){return t.some(n=>e[n]!==void 0)}function PR(e){let t={velocity:ye.velocity,stiffness:ye.stiffness,damping:ye.damping,mass:ye.mass,isResolvedFromDuration:!1,...e};if(!ky(e,bR)&&ky(e,ER))if(t.velocity=0,e.visualDuration){const n=e.visualDuration,r=2*Math.PI/(n*1.2),i=r*r,s=2*nn(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:ye.mass,stiffness:i,damping:s}}else{const n=CR({...e,velocity:0});t={...t,...n,mass:ye.mass},t.isResolvedFromDuration=!0}return t}function Tl(e=ye.visualDuration,t=ye.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:r,restDelta:i}=n;const s=n.keyframes[0],o=n.keyframes[n.keyframes.length-1],a={done:!1,value:s},{stiffness:l,damping:u,mass:c,duration:f,velocity:d,isResolvedFromDuration:p}=PR({...n,velocity:-St(n.velocity||0)}),h=d||0,y=u/(2*Math.sqrt(l*c)),w=o-s,m=St(Math.sqrt(l/c)),g=Math.abs(w)<5;r||(r=g?ye.restSpeed.granular:ye.restSpeed.default),i||(i=g?ye.restDelta.granular:ye.restDelta.default);let v,x,C,E,b,k;if(y<1)C=Nf(m,y),E=(h+y*m*w)/C,v=R=>{const F=Math.exp(-y*m*R);return o-F*(E*Math.sin(C*R)+w*Math.cos(C*R))},b=y*m*E+w*C,k=y*m*w-E*C,x=R=>Math.exp(-y*m*R)*(b*Math.sin(C*R)+k*Math.cos(C*R));else if(y===1){v=F=>o-Math.exp(-m*F)*(w+(h+m*w)*F);const R=h+m*w;x=F=>Math.exp(-m*F)*(m*R*F-h)}else{const R=m*Math.sqrt(y*y-1);v=W=>{const X=Math.exp(-y*m*W),z=Math.min(R*W,300);return o-X*((h+y*m*w)*Math.sinh(z)+R*w*Math.cosh(z))/R};const F=(h+y*m*w)/R,U=y*m*F-w*R,K=y*m*w-F*R;x=W=>{const X=Math.exp(-y*m*W),z=Math.min(R*W,300);return X*(U*Math.sinh(z)+K*Math.cosh(z))}}const M={calculatedDuration:p&&f||null,velocity:R=>ct(x(R)),next:R=>{if(!p&&y<1){const U=Math.exp(-y*m*R),K=Math.sin(C*R),W=Math.cos(C*R),X=o-U*(E*K+w*W),z=ct(U*(b*K+k*W));return a.done=Math.abs(z)<=r&&Math.abs(o-X)<=i,a.value=a.done?o:X,a}const F=v(R);if(p)a.done=R>=f;else{const U=ct(x(R));a.done=Math.abs(U)<=r&&Math.abs(o-F)<=i}return a.value=a.done?o:F,a},toString:()=>{const R=Math.min(Fh(M),Pl),F=Xw(U=>M.next(R*U).value,R,30);return R+"ms "+F},toTransition:()=>{}};return M}Tl.applyToOptions=e=>{const t=xR(e,100,Tl);return e.ease=t.ease,e.duration=ct(t.duration),e.type="keyframes",e};const TR=5;function Yw(e,t,n){const r=Math.max(t-TR,0);return Mw(n-e(r),t-r)}function If({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:s=500,modifyTarget:o,min:a,max:l,restDelta:u=.5,restSpeed:c}){const f=e[0],d={done:!1,value:f},p=k=>a!==void 0&&k<a||l!==void 0&&k>l,h=k=>a===void 0?l:l===void 0||Math.abs(a-k)<Math.abs(l-k)?a:l;let y=n*t;const w=f+y,m=o===void 0?w:o(w);m!==w&&(y=m-f);const g=k=>-y*Math.exp(-k/r),v=k=>m+g(k),x=k=>{const M=g(k),R=v(k);d.done=Math.abs(M)<=u,d.value=d.done?m:R};let C,E;const b=k=>{p(d.value)&&(C=k,E=Tl({keyframes:[d.value,h(d.value)],velocity:Yw(v,k,d.value),damping:i,stiffness:s,restDelta:u,restSpeed:c}))};return b(0),{calculatedDuration:null,next:k=>{let M=!1;return!E&&C===void 0&&(M=!0,x(k),b(k)),C!==void 0&&k>=C?E.next(k-C):(!M&&x(k),d)}}}function RR(e,t,n){const r=[],i=n||fr.mix||Qw,s=e.length-1;for(let o=0;o<s;o++){let a=i(e[o],e[o+1]);if(t){const l=Array.isArray(t)?t[o]||Ct:t;a=Lo(l,a)}r.push(a)}return r}function AR(e,t,{clamp:n=!0,ease:r,mixer:i}={}){const s=e.length;if(Th(s===t.length),s===1)return()=>t[0];if(s===2&&t[0]===t[1])return()=>t[1];const o=e[0]===e[1];e[0]>e[s-1]&&(e=[...e].reverse(),t=[...t].reverse());const a=RR(t,r,i),l=a.length,u=c=>{if(o&&c<e[0])return t[0];let f=0;if(l>1)for(;f<e.length-2&&!(c<e[f+1]);f++);const d=fo(e[f],e[f+1],c);return a[f](d)};return n?c=>u(nn(e[0],e[s-1],c)):u}function MR(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const i=fo(0,t,r);e.push(ie(n,1,i))}}function OR(e){const t=[0];return MR(t,e.length-1),t}function DR(e,t){return e.map(n=>n*t)}function LR(e,t){return e.map(()=>t||jw).splice(0,e.length-1)}function Us({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const i=BT(r)?r.map(yy):yy(r),s={done:!1,value:t[0]},o=DR(n&&n.length===t.length?n:OR(t),e),a=AR(o,t,{ease:Array.isArray(i)?i:LR(t,i)});return{calculatedDuration:e,next:l=>(s.value=a(l),s.done=l>=e,s)}}const _R=e=>e!==null;function lu(e,{repeat:t,repeatType:n="loop"},r,i=1){const s=e.filter(_R),a=i<0||t&&n!=="loop"&&t%2===1?0:s.length-1;return!a||r===void 0?s[a]:r}const FR={decay:If,inertia:If,tween:Us,keyframes:Us,spring:Tl};function Zw(e){typeof e.type=="string"&&(e.type=FR[e.type])}class Vh{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,n){return this.finished.then(t,n)}}const VR=e=>e/100;class Rl extends Vh{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{var r,i;const{motionValue:n}=this.options;n&&n.updatedAt!==He.now()&&this.tick(He.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),(i=(r=this.options).onStop)==null||i.call(r))},this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){const{options:t}=this;Zw(t);const{type:n=Us,repeat:r=0,repeatDelay:i=0,repeatType:s,velocity:o=0}=t;let{keyframes:a}=t;const l=n||Us;l!==Us&&typeof a[0]!="number"&&(this.mixKeyframes=Lo(VR,Qw(a[0],a[1])),a=[0,100]);const u=l({...t,keyframes:a});s==="mirror"&&(this.mirroredGenerator=l({...t,keyframes:[...a].reverse(),velocity:-o})),u.calculatedDuration===null&&(u.calculatedDuration=Fh(u));const{calculatedDuration:c}=u;this.calculatedDuration=c,this.resolvedDuration=c+i,this.totalDuration=this.resolvedDuration*(r+1)-i,this.generator=u}updateTime(t){const n=Math.round(t-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=n}tick(t,n=!1){const{generator:r,totalDuration:i,mixKeyframes:s,mirroredGenerator:o,resolvedDuration:a,calculatedDuration:l}=this;if(this.startTime===null)return r.next(0);const{delay:u=0,keyframes:c,repeat:f,repeatType:d,repeatDelay:p,type:h,onUpdate:y,finalKeyframe:w}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-i/this.speed,this.startTime)),n?this.currentTime=t:this.updateTime(t);const m=this.currentTime-u*(this.playbackSpeed>=0?1:-1),g=this.playbackSpeed>=0?m<0:m>i;this.currentTime=Math.max(m,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=i);let v=this.currentTime,x=r;if(f){const k=Math.min(this.currentTime,i)/a;let M=Math.floor(k),R=k%1;!R&&k>=1&&(R=1),R===1&&M--,M=Math.min(M,f+1),!!(M%2)&&(d==="reverse"?(R=1-R,p&&(R-=p/a)):d==="mirror"&&(x=o)),v=nn(0,1,R)*a}let C;g?(this.delayState.value=c[0],C=this.delayState):C=x.next(v),s&&!g&&(C.value=s(C.value));let{done:E}=C;!g&&l!==null&&(E=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0);const b=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&E);return b&&h!==If&&(C.value=lu(c,this.options,w,this.speed)),y&&y(C.value),b&&this.finish(),C}then(t,n){return this.finished.then(t,n)}get duration(){return St(this.calculatedDuration)}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+St(t)}get time(){return St(this.currentTime)}set time(t){t=ct(t),this.currentTime=t,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=t,this.tick(t))}getGeneratorVelocity(){const t=this.currentTime;if(t<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(t);const n=this.generator.next(t).value;return Yw(r=>this.generator.next(r).value,t,n)}get speed(){return this.playbackSpeed}set speed(t){const n=this.playbackSpeed!==t;n&&this.driver&&this.updateTime(He.now()),this.playbackSpeed=t,n&&this.driver&&(this.time=St(this.currentTime))}play(){var i,s;if(this.isStopped)return;const{driver:t=wR,startTime:n}=this.options;this.driver||(this.driver=t(o=>this.tick(o))),(s=(i=this.options).onPlay)==null||s.call(i);const r=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=r):this.holdTime!==null?this.startTime=r-this.holdTime:this.startTime||(this.startTime=n??r),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(He.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){var t,n;this.notifyFinished(),this.teardown(),this.state="finished",(n=(t=this.options).onComplete)==null||n.call(t)}cancel(){var t,n;this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),(n=(t=this.options).onCancel)==null||n.call(t)}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){var n;return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),(n=this.driver)==null||n.stop(),t.observe(this)}}function NR(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}const Mr=e=>e*180/Math.PI,jf=e=>{const t=Mr(Math.atan2(e[1],e[0]));return zf(t)},IR={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:jf,rotateZ:jf,skewX:e=>Mr(Math.atan(e[1])),skewY:e=>Mr(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},zf=e=>(e=e%360,e<0&&(e+=360),e),Cy=jf,Ey=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),by=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),jR={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Ey,scaleY:by,scale:e=>(Ey(e)+by(e))/2,rotateX:e=>zf(Mr(Math.atan2(e[6],e[5]))),rotateY:e=>zf(Mr(Math.atan2(-e[2],e[0]))),rotateZ:Cy,rotate:Cy,skewX:e=>Mr(Math.atan(e[4])),skewY:e=>Mr(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function Bf(e){return e.includes("scale")?1:0}function Uf(e,t){if(!e||e==="none")return Bf(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let r,i;if(n)r=jR,i=n;else{const a=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=IR,i=a}if(!i)return Bf(t);const s=r[t],o=i[1].split(",").map(BR);return typeof s=="function"?s(o):o[s]}const zR=(e,t)=>{const{transform:n="none"}=getComputedStyle(e);return Uf(n,t)};function BR(e){return parseFloat(e.trim())}const cs=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],fs=new Set([...cs,"pathRotation"]),Py=e=>e===us||e===I,UR=new Set(["x","y","z"]),$R=cs.filter(e=>!UR.has(e));function WR(e){const t=[];return $R.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}const Yn={width:({x:e},{paddingLeft:t="0",paddingRight:n="0",boxSizing:r})=>{const i=e.max-e.min;return r==="border-box"?i:i-parseFloat(t)-parseFloat(n)},height:({y:e},{paddingTop:t="0",paddingBottom:n="0",boxSizing:r})=>{const i=e.max-e.min;return r==="border-box"?i:i-parseFloat(t)-parseFloat(n)},top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>Uf(t,"x"),y:(e,{transform:t})=>Uf(t,"y")};Yn.translateX=Yn.x;Yn.translateY=Yn.y;const $r=new Set;let $f=!1,Wf=!1,Hf=!1;function Jw(){if(Wf){const e=Array.from($r).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{const i=WR(r);i.length&&(n.set(r,i),r.render())}),e.forEach(r=>r.measureInitialState()),t.forEach(r=>{r.render();const i=n.get(r);i&&i.forEach(([s,o])=>{var a;(a=r.getValue(s))==null||a.set(o)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}Wf=!1,$f=!1,$r.forEach(e=>e.complete(Hf)),$r.clear()}function ex(){$r.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Wf=!0)})}function HR(){Hf=!0,ex(),Jw(),Hf=!1}class Nh{constructor(t,n,r,i,s,o=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=r,this.motionValue=i,this.element=s,this.isAsync=o}scheduleResolve(){this.state="scheduled",this.isAsync?($r.add(this),$f||($f=!0,se.read(ex),se.resolveKeyframes(Jw))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:r,motionValue:i}=this;if(t[0]===null){const s=i==null?void 0:i.get(),o=t[t.length-1];if(s!==void 0)t[0]=s;else if(r&&n){const a=r.readValue(n,o);a!=null&&(t[0]=a)}t[0]===void 0&&(t[0]=o),i&&s===void 0&&i.set(t[0])}NR(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),$r.delete(this)}cancel(){this.state==="scheduled"&&($r.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const KR=e=>e.startsWith("--");function tx(e,t,n){KR(t)?e.style.setProperty(t,n):e.style[t]=n}const qR={};function nx(e,t){const n=Aw(e);return()=>qR[t]??n()}const GR=nx(()=>window.ScrollTimeline!==void 0,"scrollTimeline"),rx=nx(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Os=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,Ty={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Os([0,.65,.55,1]),circOut:Os([.55,0,1,.45]),backIn:Os([.31,.01,.66,-.59]),backOut:Os([.33,1.53,.69,.99])};function ix(e,t){if(e)return typeof e=="function"?rx()?Xw(e,t):"ease-out":zw(e)?Os(e):Array.isArray(e)?e.map(n=>ix(n,t)||Ty.easeOut):Ty[e]}function QR(e,t,n,{delay:r=0,duration:i=300,repeat:s=0,repeatType:o="loop",ease:a="easeOut",times:l}={},u=void 0){const c={[t]:n};l&&(c.offset=l);const f=ix(a,i);Array.isArray(f)&&(c.easing=f);const d={delay:r,duration:i,easing:Array.isArray(f)?"linear":f,fill:"both",iterations:s+1,direction:o==="reverse"?"alternate":"normal"};return u&&(d.pseudoElement=u),e.animate(c,d)}function sx(e){return typeof e=="function"&&"applyToOptions"in e}function XR({type:e,...t}){return sx(e)&&rx()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class ox extends Vh{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;const{element:n,name:r,keyframes:i,pseudoElement:s,allowFlatten:o=!1,finalKeyframe:a,onComplete:l}=t;this.isPseudoElement=!!s,this.allowFlatten=o,this.options=t,Th(typeof t.type!="string");const u=XR(t);this.animation=QR(n,r,i,u,s),u.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!s){const c=lu(i,this.options,a,this.speed);this.updateMotionValue&&this.updateMotionValue(c),tx(n,r,c),this.animation.cancel()}l==null||l(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){var t,n;(n=(t=this.animation).finish)==null||n.call(t)}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:t}=this;t==="idle"||t==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){var n,r,i;const t=(n=this.options)==null?void 0:n.element;!this.isPseudoElement&&(t!=null&&t.isConnected)&&((i=(r=this.animation).commitStyles)==null||i.call(r))}get duration(){var n,r;const t=((r=(n=this.animation.effect)==null?void 0:n.getComputedTiming)==null?void 0:r.call(n).duration)||0;return St(Number(t))}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+St(t)}get time(){return St(Number(this.animation.currentTime)||0)}set time(t){const n=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=ct(t),n&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(t){this.manualStartTime=this.animation.startTime=t}attachTimeline({timeline:t,rangeStart:n,rangeEnd:r,observe:i}){var s;return this.allowFlatten&&((s=this.animation.effect)==null||s.updateTiming({easing:"linear"})),this.animation.onfinish=null,t&&GR()?(this.animation.timeline=t,n&&(this.animation.rangeStart=n),r&&(this.animation.rangeEnd=r),Ct):i(this)}}const ax={anticipate:Vw,backInOut:Fw,circInOut:Iw};function YR(e){return e in ax}function ZR(e){typeof e.ease=="string"&&YR(e.ease)&&(e.ease=ax[e.ease])}const ic=10;class JR extends ox{constructor(t){ZR(t),Zw(t),super(t),t.startTime!==void 0&&t.autoplay!==!1&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){const{motionValue:n,onUpdate:r,onComplete:i,element:s,...o}=this.options;if(!n)return;if(t!==void 0){n.set(t);return}const a=new Rl({...o,autoplay:!1}),l=Math.max(ic,He.now()-this.startTime),u=nn(0,ic,l-ic),c=a.sample(l).value,{name:f}=this.options;s&&f&&tx(s,f,c),n.setWithVelocity(a.sample(Math.max(0,l-u)).value,c,u),a.stop()}}const Ry=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(Nt.test(e)||e==="0")&&!e.startsWith("url("));function eA(e){const t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function tA(e,t,n,r){const i=e[0];if(i===null)return!1;if(t==="display"||t==="visibility")return!0;const s=e[e.length-1],o=Ry(i,t),a=Ry(s,t);return!o||!a?!1:eA(e)||(n==="spring"||sx(n))&&r}function Kf(e){e.duration=0,e.type="keyframes"}const lx=new Set(["opacity","clipPath","filter","transform"]),nA=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function rA(e){for(let t=0;t<e.length;t++)if(typeof e[t]=="string"&&nA.test(e[t]))return!0;return!1}const iA=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),sA=Aw(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function oA(e){var f;const{motionValue:t,name:n,repeatDelay:r,repeatType:i,damping:s,type:o,keyframes:a}=e;if(!(((f=t==null?void 0:t.owner)==null?void 0:f.current)instanceof HTMLElement))return!1;const{onUpdate:u,transformTemplate:c}=t.owner.getProps();return sA()&&n&&(lx.has(n)||iA.has(n)&&rA(a))&&(n!=="transform"||!c)&&!u&&!r&&i!=="mirror"&&s!==0&&o!=="inertia"}const aA=40;class lA extends Vh{constructor({autoplay:t=!0,delay:n=0,type:r="keyframes",repeat:i=0,repeatDelay:s=0,repeatType:o="loop",keyframes:a,name:l,motionValue:u,element:c,...f}){var h;super(),this.stop=()=>{var y,w;this._animation&&(this._animation.stop(),(y=this.stopTimeline)==null||y.call(this)),(w=this.keyframeResolver)==null||w.cancel()},this.createdAt=He.now();const d={autoplay:t,delay:n,type:r,repeat:i,repeatDelay:s,repeatType:o,name:l,motionValue:u,element:c,...f},p=(c==null?void 0:c.KeyframeResolver)||Nh;this.keyframeResolver=new p(a,(y,w,m)=>this.onKeyframesResolved(y,w,d,!m),l,u,c),(h=this.keyframeResolver)==null||h.scheduleResolve()}onKeyframesResolved(t,n,r,i){var m,g;this.keyframeResolver=void 0;const{name:s,type:o,velocity:a,delay:l,isHandoff:u,onUpdate:c}=r;this.resolvedAt=He.now();let f=!0;tA(t,s,o,a)||(f=!1,(fr.instantAnimations||!l)&&(c==null||c(lu(t,r,n))),t[0]=t[t.length-1],Kf(r),r.repeat=0);const p={startTime:i?this.resolvedAt?this.resolvedAt-this.createdAt>aA?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...r,keyframes:t},h=f&&!u&&oA(p),y=(g=(m=p.motionValue)==null?void 0:m.owner)==null?void 0:g.current;let w;if(h)try{w=new JR({...p,element:y})}catch{w=new Rl(p)}else w=new Rl(p);w.finished.then(()=>{this.notifyFinished()}).catch(Ct),this.pendingTimeline&&(this.stopTimeline=w.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=w}get finished(){return this._animation?this.animation.finished:this._finished}then(t,n){return this.finished.finally(t).then(()=>{})}get animation(){var t;return this._animation||((t=this.keyframeResolver)==null||t.resume(),HR()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){var t;this._animation&&this.animation.cancel(),(t=this.keyframeResolver)==null||t.cancel()}}function ux(e,t,n,r=0,i=1){const s=Array.from(e).sort((u,c)=>u.sortNodePosition(c)).indexOf(t),o=e.size,a=(o-1)*r;return typeof n=="function"?n(s,o):i===1?s*r:a-s*r}const Ay=30,uA=e=>!isNaN(parseFloat(e));class cA{constructor(t,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=r=>{var s;const i=He.now();if(this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&((s=this.events.change)==null||s.notify(this.current),this.dependents))for(const o of this.dependents)o.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=He.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=uA(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new Rh);const r=this.events[t].add(n);return t==="change"?()=>{r(),se.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,n,r){this.set(n),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-r}jump(t,n=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){var t;(t=this.events.change)==null||t.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const t=He.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>Ay)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,Ay);return Mw(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){var t,n;(t=this.dependents)==null||t.clear(),(n=this.events.destroy)==null||n.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function ts(e,t){return new cA(e,t)}function cx(e,t){if(e!=null&&e.inherit&&t){const{inherit:n,...r}=e;return{...t,...r}}return e}function Ih(e,t){const n=(e==null?void 0:e[t])??(e==null?void 0:e.default)??e;return n!==e?cx(n,e):n}const fA={type:"spring",stiffness:500,damping:25,restSpeed:10},dA=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),hA={type:"keyframes",duration:.8},pA={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},mA=(e,{keyframes:t})=>t.length>2?hA:fs.has(e)?e.startsWith("scale")?dA(t[1]):fA:pA,yA=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);function gA(e){for(const t in e)if(!yA.has(t))return!0;return!1}const jh=(e,t,n,r={},i,s)=>o=>{const a=Ih(r,e)||{},l=a.delay||r.delay||0;let{elapsed:u=0}=r;u=u-ct(l);const c={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...a,delay:-u,onUpdate:d=>{t.set(d),a.onUpdate&&a.onUpdate(d)},onComplete:()=>{o(),a.onComplete&&a.onComplete()},name:e,motionValue:t,element:s?void 0:i};gA(a)||Object.assign(c,mA(e,c)),c.duration&&(c.duration=ct(c.duration)),c.repeatDelay&&(c.repeatDelay=ct(c.repeatDelay)),c.from!==void 0&&(c.keyframes[0]=c.from);let f=!1;if((c.type===!1||c.duration===0&&!c.repeatDelay)&&(Kf(c),c.delay===0&&(f=!0)),(fr.instantAnimations||fr.skipAnimations||i!=null&&i.shouldSkipAnimations||a.skipAnimations)&&(f=!0,Kf(c),c.delay=0),c.allowFlatten=!a.type&&!a.ease,f&&!s&&t.get()!==void 0){const d=lu(c.keyframes,a);if(d!==void 0){se.update(()=>{c.onUpdate(d),c.onComplete()});return}}return a.isSync?new Rl(c):new lA(c)},vA=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function wA(e){const t=vA.exec(e);if(!t)return[,];const[,n,r,i]=t;return[`--${n??r}`,i]}function fx(e,t,n=1){const[r,i]=wA(e);if(!r)return;const s=window.getComputedStyle(t).getPropertyValue(r);if(s){const o=s.trim();return Pw(o)?parseFloat(o):o}return Oh(i)?fx(i,t,n+1):i}function My(e){const t=[{},{}];return e==null||e.values.forEach((n,r)=>{t[0][r]=n.get(),t[1][r]=n.getVelocity()}),t}function zh(e,t,n,r){if(typeof t=="function"){const[i,s]=My(r);t=t(n!==void 0?n:e.custom,i,s)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[i,s]=My(r);t=t(n!==void 0?n:e.custom,i,s)}return t}function Wr(e,t,n){const r=e.getProps();return zh(r,t,n!==void 0?n:r.custom,e)}const dx=new Set(["width","height","top","left","right","bottom",...cs]),qf=e=>Array.isArray(e);function xA(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,ts(n))}function SA(e){return qf(e)?e[e.length-1]||0:e}function kA(e,t){const n=Wr(e,t);let{transitionEnd:r={},transition:i={},...s}=n||{};s={...s,...r};for(const o in s){const a=SA(s[o]);xA(e,o,a)}}const Le=e=>!!(e&&e.getVelocity);function CA(e){return!!(Le(e)&&e.add)}function Gf(e,t){const n=e.getValue("willChange");if(CA(n))return n.add(t);if(!n&&fr.WillChange){const r=new fr.WillChange("auto");e.addValue("willChange",r),r.add(t)}}function Bh(e){return e.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}const EA="framerAppearId",hx="data-"+Bh(EA);function px(e){return e.props[hx]}function bA({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function mx(e,t,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:s,transitionEnd:o,...a}=t;const l=e.getDefaultTransition();s=s?cx(s,l):l;const u=s==null?void 0:s.reduceMotion,c=s==null?void 0:s.skipAnimations;r&&(s=r);const f=[],d=i&&e.animationState&&e.animationState.getState()[i],p=s==null?void 0:s.path;p&&p.animateVisualElement(e,a,s,n,f);for(const h in a){const y=e.getValue(h,e.latestValues[h]??null),w=a[h];if(w===void 0||d&&bA(d,h))continue;const m={delay:n,...Ih(s||{},h)};c&&(m.skipAnimations=!0);const g=y.get();if(g!==void 0&&!y.isAnimating()&&!Array.isArray(w)&&w===g&&!m.velocity){se.update(()=>y.set(w));continue}let v=!1;if(window.MotionHandoffAnimation){const E=px(e);if(E){const b=window.MotionHandoffAnimation(E,h,se);b!==null&&(m.startTime=b,v=!0)}}Gf(e,h);const x=u??e.shouldReduceMotion;y.start(jh(h,y,w,x&&dx.has(h)?{type:!1}:m,e,v));const C=y.animation;C&&f.push(C)}if(o){const h=()=>se.update(()=>{o&&kA(e,o)});f.length?Promise.all(f).then(h):h()}return f}function Qf(e,t,n={}){var l;const r=Wr(e,t,n.type==="exit"?(l=e.presenceContext)==null?void 0:l.custom:void 0);let{transition:i=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);const s=r?()=>Promise.all(mx(e,r,n)):()=>Promise.resolve(),o=e.variantChildren&&e.variantChildren.size?(u=0)=>{const{delayChildren:c=0,staggerChildren:f,staggerDirection:d}=i;return PA(e,t,u,c,f,d,n)}:()=>Promise.resolve(),{when:a}=i;if(a){const[u,c]=a==="beforeChildren"?[s,o]:[o,s];return u().then(()=>c())}else return Promise.all([s(),o(n.delay)])}function PA(e,t,n=0,r=0,i=0,s=1,o){const a=[];for(const l of e.variantChildren)l.notify("AnimationStart",t),a.push(Qf(l,t,{...o,delay:n+(typeof r=="function"?0:r)+ux(e.variantChildren,l,r,i,s)}).then(()=>l.notify("AnimationComplete",t)));return Promise.all(a)}function TA(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const i=t.map(s=>Qf(e,s,n));r=Promise.all(i)}else if(typeof t=="string")r=Qf(e,t,n);else{const i=typeof t=="function"?Wr(e,t,n.custom):t;r=Promise.all(mx(e,i,n))}return r.then(()=>{e.notify("AnimationComplete",t)})}const RA={test:e=>e==="auto",parse:e=>e},yx=e=>t=>t.test(e),gx=[us,I,tn,fn,eR,JT,RA],Oy=e=>gx.find(yx(e));function AA(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||Rw(e):!0}const MA=new Set(["brightness","contrast","saturate","opacity"]);function OA(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(Dh)||[];if(!r)return e;const i=n.replace(r,"");let s=MA.has(t)?1:0;return r!==n&&(s*=100),t+"("+s+i+")"}const DA=/\b([a-z-]*)\(.*?\)/gu,Xf={...Nt,getAnimatableNone:e=>{const t=e.match(DA);return t?t.map(OA).join(" "):e}},Yf={...Nt,getAnimatableNone:e=>{const t=Nt.parse(e);return Nt.createTransformer(e)(t.map(r=>typeof r=="number"?0:typeof r=="object"?{...r,alpha:1}:r))}},Dy={...us,transform:Math.round},LA={rotate:fn,pathRotation:fn,rotateX:fn,rotateY:fn,rotateZ:fn,scale:pa,scaleX:pa,scaleY:pa,scaleZ:pa,skew:fn,skewX:fn,skewY:fn,distance:I,translateX:I,translateY:I,translateZ:I,x:I,y:I,z:I,perspective:I,transformPerspective:I,opacity:ho,originX:vy,originY:vy,originZ:I},Al={borderWidth:I,borderTopWidth:I,borderRightWidth:I,borderBottomWidth:I,borderLeftWidth:I,borderRadius:I,borderTopLeftRadius:I,borderTopRightRadius:I,borderBottomRightRadius:I,borderBottomLeftRadius:I,width:I,maxWidth:I,height:I,maxHeight:I,top:I,right:I,bottom:I,left:I,inset:I,insetBlock:I,insetBlockStart:I,insetBlockEnd:I,insetInline:I,insetInlineStart:I,insetInlineEnd:I,padding:I,paddingTop:I,paddingRight:I,paddingBottom:I,paddingLeft:I,paddingBlock:I,paddingBlockStart:I,paddingBlockEnd:I,paddingInline:I,paddingInlineStart:I,paddingInlineEnd:I,margin:I,marginTop:I,marginRight:I,marginBottom:I,marginLeft:I,marginBlock:I,marginBlockStart:I,marginBlockEnd:I,marginInline:I,marginInlineStart:I,marginInlineEnd:I,fontSize:I,backgroundPositionX:I,backgroundPositionY:I,...LA,zIndex:Dy,fillOpacity:ho,strokeOpacity:ho,numOctaves:Dy},_A={...Al,color:we,backgroundColor:we,outlineColor:we,fill:we,stroke:we,borderColor:we,borderTopColor:we,borderRightColor:we,borderBottomColor:we,borderLeftColor:we,filter:Xf,WebkitFilter:Xf,mask:Yf,WebkitMask:Yf},vx=e=>_A[e],FA=new Set([Xf,Yf]);function wx(e,t){let n=vx(e);return FA.has(n)||(n=Nt),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const VA=new Set(["auto","none","0"]);function NA(e,t,n){let r=0,i;for(;r<e.length&&!i;){const s=e[r];typeof s=="string"&&!VA.has(s)&&es(s).values.length&&(i=e[r]),r++}if(i&&n)for(const s of t)e[s]=wx(n,i)}class IA extends Nh{constructor(t,n,r,i,s){super(t,n,r,i,s,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:r}=this;if(!n||!n.current)return;super.readKeyframes();for(let c=0;c<t.length;c++){let f=t[c];if(typeof f=="string"&&(f=f.trim(),Oh(f))){const d=fx(f,n.current);d!==void 0&&(t[c]=d),c===t.length-1&&(this.finalKeyframe=f)}}if(this.resolveNoneKeyframes(),!dx.has(r)||t.length!==2)return;const[i,s]=t,o=Oy(i),a=Oy(s),l=gy(i),u=gy(s);if(l!==u&&Yn[r]){this.needsMeasurement=!0;return}if(o!==a)if(Py(o)&&Py(a))for(let c=0;c<t.length;c++){const f=t[c];typeof f=="string"&&(t[c]=parseFloat(f))}else Yn[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,r=[];for(let i=0;i<t.length;i++)(t[i]===null||AA(t[i]))&&r.push(i);r.length&&NA(t,r,n)}measureInitialState(){const{element:t,unresolvedKeyframes:n,name:r}=this;if(!t||!t.current)return;r==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Yn[r](t.measureViewportBox(),window.getComputedStyle(t.current)),n[0]=this.measuredOrigin;const i=n[n.length-1];i!==void 0&&t.getValue(r,i).jump(i,!1)}measureEndState(){var a;const{element:t,name:n,unresolvedKeyframes:r}=this;if(!t||!t.current)return;const i=t.getValue(n);i&&i.jump(this.measuredOrigin,!1);const s=r.length-1,o=r[s];r[s]=Yn[n](t.measureViewportBox(),window.getComputedStyle(t.current)),o!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=o),(a=this.removedTransforms)!=null&&a.length&&this.removedTransforms.forEach(([l,u])=>{t.getValue(l).set(u)}),this.resolveNoneKeyframes()}}const Uh=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"];function xx(e,t,n){if(e==null)return[];if(e instanceof EventTarget)return[e];if(typeof e=="string"){let r=document;const i=(n==null?void 0:n[e])??r.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e).filter(r=>r!=null)}const Zf=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function ja(e){return Tw(e)&&"offsetHeight"in e&&!("ownerSVGElement"in e)}const{schedule:$h}=Bw(queueMicrotask,!1),At={x:!1,y:!1};function Sx(){return At.x||At.y}function jA(e){return e==="x"||e==="y"?At[e]?null:(At[e]=!0,()=>{At[e]=!1}):At.x||At.y?null:(At.x=At.y=!0,()=>{At.x=At.y=!1})}function kx(e,t){const n=xx(e),r=new AbortController,i={passive:!0,...t,signal:r.signal};return[n,i,()=>r.abort()]}function zA(e){return!(e.pointerType==="touch"||Sx())}function BA(e,t,n={}){const[r,i,s]=kx(e,n);return r.forEach(o=>{let a=!1,l=!1,u;const c=()=>{o.removeEventListener("pointerleave",h)},f=w=>{u&&(u(w),u=void 0),c()},d=w=>{a=!1,window.removeEventListener("pointerup",d),window.removeEventListener("pointercancel",d),l&&(l=!1,f(w))},p=()=>{a=!0,window.addEventListener("pointerup",d,i),window.addEventListener("pointercancel",d,i)},h=w=>{if(w.pointerType!=="touch"){if(a){l=!0;return}f(w)}},y=w=>{if(!zA(w))return;l=!1;const m=t(o,w);typeof m=="function"&&(u=m,o.addEventListener("pointerleave",h,i))};o.addEventListener("pointerenter",y,i),o.addEventListener("pointerdown",p,i)}),s}const Cx=(e,t)=>t?e===t?!0:Cx(e,t.parentElement):!1,Wh=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,UA=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function $A(e){return UA.has(e.tagName)||e.isContentEditable===!0}const WA=new Set(["INPUT","SELECT","TEXTAREA"]);function HA(e){return WA.has(e.tagName)||e.isContentEditable===!0}const za=new WeakSet;function Ly(e){return t=>{t.key==="Enter"&&e(t)}}function sc(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const KA=(e,t)=>{const n=e.currentTarget;if(!n)return;const r=Ly(()=>{if(za.has(n))return;sc(n,"down");const i=Ly(()=>{sc(n,"up")}),s=()=>sc(n,"cancel");n.addEventListener("keyup",i,t),n.addEventListener("blur",s,t)});n.addEventListener("keydown",r,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",r),t)};function _y(e){return Wh(e)&&!Sx()}const Fy=new WeakSet;function qA(e,t,n={}){const[r,i,s]=kx(e,n),o=a=>{const l=a.currentTarget;if(!_y(a)||Fy.has(a))return;za.add(l),n.stopPropagation&&Fy.add(a);const u=t(l,a),c={...i,capture:!0},f=(h,y)=>{window.removeEventListener("pointerup",d,c),window.removeEventListener("pointercancel",p,c),za.has(l)&&za.delete(l),_y(h)&&typeof u=="function"&&u(h,{success:y})},d=h=>{f(h,l===window||l===document||n.useGlobalTarget||Cx(l,h.target))},p=h=>{f(h,!1)};window.addEventListener("pointerup",d,c),window.addEventListener("pointercancel",p,c)};return r.forEach(a=>{(n.useGlobalTarget?window:a).addEventListener("pointerdown",o,i),ja(a)&&(a.addEventListener("focus",u=>KA(u,i)),!$A(a)&&!a.hasAttribute("tabindex")&&(a.tabIndex=0))}),s}function Hh(e){return Tw(e)&&"ownerSVGElement"in e}const Ba=new WeakMap;let Fn;const Ex=(e,t,n)=>(r,i)=>i&&i[0]?i[0][e+"Size"]:Hh(r)&&"getBBox"in r?r.getBBox()[t]:r[n],GA=Ex("inline","width","offsetWidth"),QA=Ex("block","height","offsetHeight");function XA({target:e,borderBoxSize:t}){var n;(n=Ba.get(e))==null||n.forEach(r=>{r(e,{get width(){return GA(e,t)},get height(){return QA(e,t)}})})}function YA(e){e.forEach(XA)}function ZA(){typeof ResizeObserver>"u"||(Fn=new ResizeObserver(YA))}function JA(e,t){Fn||ZA();const n=xx(e);return n.forEach(r=>{let i=Ba.get(r);i||(i=new Set,Ba.set(r,i)),i.add(t),Fn==null||Fn.observe(r)}),()=>{n.forEach(r=>{const i=Ba.get(r);i==null||i.delete(t),i!=null&&i.size||Fn==null||Fn.unobserve(r)})}}const Ua=new Set;let Si;function eM(){Si=()=>{const e={get width(){return window.innerWidth},get height(){return window.innerHeight}};Ua.forEach(t=>t(e))},window.addEventListener("resize",Si)}function tM(e){return Ua.add(e),Si||eM(),()=>{Ua.delete(e),!Ua.size&&typeof Si=="function"&&(window.removeEventListener("resize",Si),Si=void 0)}}function Vy(e,t){return typeof e=="function"?tM(e):JA(e,t)}function nM(e){return Hh(e)&&e.tagName==="svg"}const rM=[...gx,we,Nt],iM=e=>rM.find(yx(e)),Ny=()=>({translate:0,scale:1,origin:0,originPoint:0}),ki=()=>({x:Ny(),y:Ny()}),Iy=()=>({min:0,max:0}),Ce=()=>({x:Iy(),y:Iy()}),sM=new WeakMap;function uu(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function po(e){return typeof e=="string"||Array.isArray(e)}const Kh=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],qh=["initial",...Kh];function cu(e){return uu(e.animate)||qh.some(t=>po(e[t]))}function bx(e){return!!(cu(e)||e.variants)}function oM(e,t,n){for(const r in t){const i=t[r],s=n[r];if(Le(i))e.addValue(r,i);else if(Le(s))e.addValue(r,ts(i,{owner:e}));else if(s!==i)if(e.hasValue(r)){const o=e.getValue(r);o.liveStyle===!0?o.jump(i):o.hasAnimated||o.set(i)}else{const o=e.getStaticValue(r);e.addValue(r,ts(o!==void 0?o:i,{owner:e}))}}for(const r in n)t[r]===void 0&&e.removeValue(r);return t}const Jf={current:null},Px={current:!1},aM=typeof window<"u";function lM(){if(Px.current=!0,!!aM)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Jf.current=e.matches;e.addEventListener("change",t),t()}else Jf.current=!1}const jy=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let Ml={};function Tx(e){Ml=e}function uM(){return Ml}class cM{scrapeMotionValuesFromProps(t,n,r){return{}}constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:i,skipAnimations:s,blockInitialAnimation:o,visualState:a},l={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=Nh,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const p=He.now();this.renderScheduledAt<p&&(this.renderScheduledAt=p,se.render(this.render,!1,!0))};const{latestValues:u,renderState:c}=a;this.latestValues=u,this.baseTarget={...u},this.initialValues=n.initial?{...u}:{},this.renderState=c,this.parent=t,this.props=n,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=i,this.skipAnimationsConfig=s,this.options=l,this.blockInitialAnimation=!!o,this.isControllingVariants=cu(n),this.isVariantNode=bx(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:f,...d}=this.scrapeMotionValuesFromProps(n,{},this);for(const p in d){const h=d[p];u[p]!==void 0&&Le(h)&&h.set(u[p])}}mount(t){var n,r;if(this.hasBeenMounted)for(const i in this.initialValues)(n=this.values.get(i))==null||n.jump(this.initialValues[i]),this.latestValues[i]=this.initialValues[i];this.current=t,sM.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((i,s)=>this.bindToMotionValue(s,i)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(Px.current||lM(),this.shouldReduceMotion=Jf.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,(r=this.parent)==null||r.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){var t;this.projection&&this.projection.unmount(),dr(this.notifyUpdate),dr(this.render),this.valueSubscriptions.forEach(n=>n()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),(t=this.parent)==null||t.removeChild(this);for(const n in this.events)this.events[n].clear();for(const n in this.features){const r=this.features[n];r&&(r.unmount(),r.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,n){if(this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)(),n.accelerate&&lx.has(t)&&this.current instanceof HTMLElement){const{factory:o,keyframes:a,times:l,ease:u,duration:c}=n.accelerate,f=new ox({element:this.current,name:t,keyframes:a,times:l,ease:u,duration:ct(c)}),d=o(f);this.valueSubscriptions.set(t,()=>{d(),f.cancel()});return}const r=fs.has(t);r&&this.onBindTransform&&this.onBindTransform();const i=n.on("change",o=>{this.latestValues[t]=o,this.props.onUpdate&&se.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let s;typeof window<"u"&&window.MotionCheckAppearSync&&(s=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{i(),s&&s()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in Ml){const n=Ml[t];if(!n)continue;const{isEnabled:r,Feature:i}=n;if(!this.features[t]&&i&&r(this.props)&&(this.features[t]=new i(this)),this.features[t]){const s=this.features[t];s.isMounted?s.update():(s.mount(),s.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Ce()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let r=0;r<jy.length;r++){const i=jy[r];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);const s="on"+i,o=t[s];o&&(this.propEventSubscriptions[i]=this.on(i,o))}this.prevMotionValues=oM(this,this.scrapeMotionValuesFromProps(t,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(t),()=>n.variantChildren.delete(t)}addValue(t,n){const r=this.values.get(t);n!==r&&(r&&this.removeValue(t),this.bindToMotionValue(t,n),this.values.set(t,n),this.latestValues[t]=n.get())}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return r===void 0&&n!==void 0&&(r=ts(n===null?void 0:n,{owner:this}),this.addValue(t,r)),r}readValue(t,n){let r=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options);return r!=null&&(typeof r=="string"&&(Pw(r)||Rw(r))?r=parseFloat(r):!iM(r)&&Nt.test(n)&&(r=wx(t,n)),this.setBaseTarget(t,Le(r)?r.get():r)),Le(r)?r.get():r}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var s;const{initial:n}=this.props;let r;if(typeof n=="string"||typeof n=="object"){const o=zh(this.props,n,(s=this.presenceContext)==null?void 0:s.custom);o&&(r=o[t])}if(n&&r!==void 0)return r;const i=this.getBaseTargetFromProps(this.props,t);return i!==void 0&&!Le(i)?i:this.initialValues[t]!==void 0&&r===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new Rh),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}scheduleRenderMicrotask(){$h.render(this.render)}}class Rx extends cM{constructor(){super(...arguments),this.KeyframeResolver=IA}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){const r=t.style;return r?r[n]:void 0}removeValueFromRenderState(t,{vars:n,style:r}){delete n[t],delete r[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;Le(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}class gr{constructor(t){this.isMounted=!1,this.node=t}update(){}}function Ax({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function fM({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function dM(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function oc(e){return e===void 0||e===1}function ed({scale:e,scaleX:t,scaleY:n}){return!oc(e)||!oc(t)||!oc(n)}function Cr(e){return ed(e)||Mx(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function Mx(e){return zy(e.x)||zy(e.y)}function zy(e){return e&&e!=="0%"}function Ol(e,t,n){const r=e-n,i=t*r;return n+i}function By(e,t,n,r,i){return i!==void 0&&(e=Ol(e,i,r)),Ol(e,n,r)+t}function td(e,t=0,n=1,r,i){e.min=By(e.min,t,n,r,i),e.max=By(e.max,t,n,r,i)}function Ox(e,{x:t,y:n}){td(e.x,t.translate,t.scale,t.originPoint),td(e.y,n.translate,n.scale,n.originPoint)}const Uy=.999999999999,$y=1.0000000000001;function hM(e,t,n,r=!1){var a;const i=n.length;if(!i)return;t.x=t.y=1;let s,o;for(let l=0;l<i;l++){s=n[l],o=s.projectionDelta;const{visualElement:u}=s.options;u&&u.props.style&&u.props.style.display==="contents"||(r&&s.options.layoutScroll&&s.scroll&&s!==s.root&&(Gt(e.x,-s.scroll.offset.x),Gt(e.y,-s.scroll.offset.y)),o&&(t.x*=o.x.scale,t.y*=o.y.scale,Ox(e,o)),r&&Cr(s.latestValues)&&$a(e,s.latestValues,(a=s.layout)==null?void 0:a.layoutBox))}t.x<$y&&t.x>Uy&&(t.x=1),t.y<$y&&t.y>Uy&&(t.y=1)}function Gt(e,t){e.min+=t,e.max+=t}function Wy(e,t,n,r,i=.5){const s=ie(e.min,e.max,i);td(e,t,n,s,r)}function Hy(e,t){return typeof e=="string"?parseFloat(e)/100*(t.max-t.min):e}function $a(e,t,n){const r=n??e;Wy(e.x,Hy(t.x,r.x),t.scaleX,t.scale,t.originX),Wy(e.y,Hy(t.y,r.y),t.scaleY,t.scale,t.originY)}function Dx(e,t){return Ax(dM(e.getBoundingClientRect(),t))}function pM(e,t,n){const r=Dx(e,n),{scroll:i}=t;return i&&(Gt(r.x,i.offset.x),Gt(r.y,i.offset.y)),r}const mM={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},yM=cs.length;function gM(e,t,n){let r="",i=!0;for(let o=0;o<yM;o++){const a=cs[o],l=e[a];if(l===void 0)continue;let u=!0;if(typeof l=="number")u=l===(a.startsWith("scale")?1:0);else{const c=parseFloat(l);u=a.startsWith("scale")?c===1:c===0}if(!u||n){const c=Zf(l,Al[a]);if(!u){i=!1;const f=mM[a]||a;r+=`${f}(${c}) `}n&&(t[a]=c)}}const s=e.pathRotation;return s&&(i=!1,r+=`rotate(${Zf(s,Al.pathRotation)}) `),r=r.trim(),n?r=n(t,i?"":r):i&&(r="none"),r}function Gh(e,t,n){const{style:r,vars:i,transformOrigin:s}=e;let o=!1,a=!1;for(const l in t){const u=t[l];if(fs.has(l)){o=!0;continue}else if($w(l)){i[l]=u;continue}else{const c=Zf(u,Al[l]);l.startsWith("origin")?(a=!0,s[l]=c):r[l]=c}}if(t.transform||(o||n?r.transform=gM(t,e.transform,n):r.transform&&(r.transform="none")),a){const{originX:l="50%",originY:u="50%",originZ:c=0}=s;r.transformOrigin=`${l} ${u} ${c}`}}function Lx(e,{style:t,vars:n},r,i){const s=e.style;let o;for(o in t)s[o]=t[o];i==null||i.applyProjectionStyles(s,r);for(o in n)s.setProperty(o,n[o])}function Ky(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const ks={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(I.test(e))e=parseFloat(e);else return e;const n=Ky(e,t.target.x),r=Ky(e,t.target.y);return`${n}% ${r}%`}},vM={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,i=Nt.parse(e);if(i.length>5)return r;const s=Nt.createTransformer(e),o=typeof i[0]!="number"?1:0,a=n.x.scale*t.x,l=n.y.scale*t.y;i[0+o]/=a,i[1+o]/=l;const u=ie(a,l,.5);return typeof i[2+o]=="number"&&(i[2+o]/=u),typeof i[3+o]=="number"&&(i[3+o]/=u),s(i)}},nd={borderRadius:{...ks,applyTo:[...Uh]},borderTopLeftRadius:ks,borderTopRightRadius:ks,borderBottomLeftRadius:ks,borderBottomRightRadius:ks,boxShadow:vM};function _x(e,{layout:t,layoutId:n}){return fs.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!nd[e]||e==="opacity")}function Qh(e,t,n){var o;const r=e.style,i=t==null?void 0:t.style,s={};if(!r)return s;for(const a in r)(Le(r[a])||i&&Le(i[a])||_x(a,e)||((o=n==null?void 0:n.getValue(a))==null?void 0:o.liveStyle)!==void 0)&&(s[a]=r[a]);return s}function wM(e){return window.getComputedStyle(e)}class xM extends Rx{constructor(){super(...arguments),this.type="html",this.renderInstance=Lx}readValueFromInstance(t,n){var r;if(fs.has(n))return(r=this.projection)!=null&&r.isProjecting?Bf(n):zR(t,n);{const i=wM(t),s=($w(n)?i.getPropertyValue(n):i[n])||0;return typeof s=="string"?s.trim():s}}measureInstanceViewportBox(t,{transformPagePoint:n}){return Dx(t,n)}build(t,n,r){Gh(t,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return Qh(t,n,r)}}const SM={offset:"stroke-dashoffset",array:"stroke-dasharray"},kM={offset:"strokeDashoffset",array:"strokeDasharray"};function CM(e,t,n=1,r=0,i=!0){e.pathLength=1;const s=i?SM:kM;e[s.offset]=`${-r}`,e[s.array]=`${t} ${n}`}const EM=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function Fx(e,{attrX:t,attrY:n,attrScale:r,pathLength:i,pathSpacing:s=1,pathOffset:o=0,...a},l,u,c){if(Gh(e,a,u),l){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:f,style:d}=e;f.transform&&(d.transform=f.transform,delete f.transform),(d.transform||f.transformOrigin)&&(d.transformOrigin=f.transformOrigin??"50% 50%",delete f.transformOrigin),d.transform&&(d.transformBox=(c==null?void 0:c.transformBox)??"fill-box",delete f.transformBox);for(const p of EM)f[p]!==void 0&&(d[p]=f[p],delete f[p]);t!==void 0&&(f.x=t),n!==void 0&&(f.y=n),r!==void 0&&(f.scale=r),i!==void 0&&CM(f,i,s,o,!1)}const Vx=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]),Nx=e=>typeof e=="string"&&e.toLowerCase()==="svg";function bM(e,t,n,r){Lx(e,t,void 0,r);for(const i in t.attrs)e.setAttribute(Vx.has(i)?i:Bh(i),t.attrs[i])}function Ix(e,t,n){const r=Qh(e,t,n);for(const i in e)if(Le(e[i])||Le(t[i])){const s=cs.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;r[s]=e[i]}return r}class PM extends Rx{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Ce}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(fs.has(n)){const r=vx(n);return r&&r.default||0}return n=Vx.has(n)?n:Bh(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,r){return Ix(t,n,r)}build(t,n,r){Fx(t,n,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(t,n,r,i){bM(t,n,r,i)}mount(t){this.isSVGTag=Nx(t.tagName),super.mount(t)}}const TM=qh.length;function jx(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?jx(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<TM;n++){const r=qh[n],i=e.props[r];(po(i)||i===!1)&&(t[r]=i)}return t}function zx(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}const RM=[...Kh].reverse(),AM=Kh.length;function MM(e){return t=>Promise.all(t.map(({animation:n,options:r})=>TA(e,n,r)))}function OM(e){let t=MM(e),n=qy(),r=!0,i=!1;const s=u=>(c,f)=>{var p;const d=Wr(e,f,u==="exit"?(p=e.presenceContext)==null?void 0:p.custom:void 0);if(d){const{transition:h,transitionEnd:y,...w}=d;c={...c,...w,...y}}return c};function o(u){t=u(e)}function a(u){const{props:c}=e,f=jx(e.parent)||{},d=[],p=new Set;let h={},y=1/0;for(let m=0;m<AM;m++){const g=RM[m],v=n[g],x=c[g]!==void 0?c[g]:f[g],C=po(x),E=g===u?v.isActive:null;E===!1&&(y=m);let b=x===f[g]&&x!==c[g]&&C;if(b&&(r||i)&&e.manuallyAnimateOnMount&&(b=!1),v.protectedKeys={...h},!v.isActive&&E===null||!x&&!v.prevProp||uu(x)||typeof x=="boolean")continue;if(g==="exit"&&v.isActive&&E!==!0){v.prevResolvedValues&&(h={...h,...v.prevResolvedValues});continue}const k=DM(v.prevProp,x);let M=k||g===u&&v.isActive&&!b&&C||m>y&&C,R=!1;const F=Array.isArray(x)?x:[x];let U=F.reduce(s(g),{});E===!1&&(U={});const{prevResolvedValues:K={}}=v,W={...K,...U},X=A=>{M=!0,p.has(A)&&(R=!0,p.delete(A)),v.needsAnimating[A]=!0;const L=e.getValue(A);L&&(L.liveStyle=!1)};for(const A in W){const L=U[A],O=K[A];if(h.hasOwnProperty(A))continue;let q=!1;qf(L)&&qf(O)?q=!zx(L,O)||k:q=L!==O,q?L!=null?X(A):p.add(A):L!==void 0&&p.has(A)?X(A):v.protectedKeys[A]=!0}v.prevProp=x,v.prevResolvedValues=U,v.isActive&&(h={...h,...U}),(r||i)&&e.blockInitialAnimation&&(M=!1);const z=b&&k;M&&(!z||R)&&d.push(...F.map(A=>{const L={type:g};if(typeof A=="string"&&(r||i)&&!z&&e.manuallyAnimateOnMount&&e.parent){const{parent:O}=e,q=Wr(O,A);if(O.enteringChildren&&q){const{delayChildren:te}=q.transition||{};L.delay=ux(O.enteringChildren,e,te)}}return{animation:A,options:L}}))}if(p.size){const m={};if(typeof c.initial!="boolean"){const g=Wr(e,Array.isArray(c.initial)?c.initial[0]:c.initial);g&&g.transition&&(m.transition=g.transition)}p.forEach(g=>{const v=e.getBaseTarget(g),x=e.getValue(g);x&&(x.liveStyle=!0),m[g]=v??null}),d.push({animation:m})}let w=!!d.length;return r&&(c.initial===!1||c.initial===c.animate)&&!e.manuallyAnimateOnMount&&(w=!1),r=!1,i=!1,w?t(d):Promise.resolve()}function l(u,c){var d;if(n[u].isActive===c)return Promise.resolve();(d=e.variantChildren)==null||d.forEach(p=>{var h;return(h=p.animationState)==null?void 0:h.setActive(u,c)}),n[u].isActive=c;const f=a(u);for(const p in n)n[p].protectedKeys={};return f}return{animateChanges:a,setActive:l,setAnimateFunction:o,getState:()=>n,reset:()=>{n=qy(),i=!0}}}function DM(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!zx(t,e):!1}function xr(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function qy(){return{animate:xr(!0),whileInView:xr(),whileHover:xr(),whileTap:xr(),whileDrag:xr(),whileFocus:xr(),exit:xr()}}function rd(e,t){e.min=t.min,e.max=t.max}function Rt(e,t){rd(e.x,t.x),rd(e.y,t.y)}function Gy(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}const Bx=1e-4,LM=1-Bx,_M=1+Bx,Ux=.01,FM=0-Ux,VM=0+Ux;function Ke(e){return e.max-e.min}function NM(e,t,n){return Math.abs(e-t)<=n}function Qy(e,t,n,r=.5){e.origin=r,e.originPoint=ie(t.min,t.max,e.origin),e.scale=Ke(n)/Ke(t),e.translate=ie(n.min,n.max,e.origin)-e.originPoint,(e.scale>=LM&&e.scale<=_M||isNaN(e.scale))&&(e.scale=1),(e.translate>=FM&&e.translate<=VM||isNaN(e.translate))&&(e.translate=0)}function $s(e,t,n,r){Qy(e.x,t.x,n.x,r?r.originX:void 0),Qy(e.y,t.y,n.y,r?r.originY:void 0)}function Xy(e,t,n,r=0){const i=r?ie(n.min,n.max,r):n.min;e.min=i+t.min,e.max=e.min+Ke(t)}function IM(e,t,n,r){Xy(e.x,t.x,n.x,r==null?void 0:r.x),Xy(e.y,t.y,n.y,r==null?void 0:r.y)}function Yy(e,t,n,r=0){const i=r?ie(n.min,n.max,r):n.min;e.min=t.min-i,e.max=e.min+Ke(t)}function Dl(e,t,n,r){Yy(e.x,t.x,n.x,r==null?void 0:r.x),Yy(e.y,t.y,n.y,r==null?void 0:r.y)}function Zy(e,t,n,r,i){return e-=t,e=Ol(e,1/n,r),i!==void 0&&(e=Ol(e,1/i,r)),e}function jM(e,t=0,n=1,r=.5,i,s=e,o=e){if(tn.test(t)&&(t=parseFloat(t),t=ie(o.min,o.max,t/100)-o.min),typeof t!="number")return;let a=ie(s.min,s.max,r);e===s&&(a-=t),e.min=Zy(e.min,t,n,a,i),e.max=Zy(e.max,t,n,a,i)}function Jy(e,t,[n,r,i],s,o){jM(e,t[n],t[r],t[i],t.scale,s,o)}const zM=["x","scaleX","originX"],BM=["y","scaleY","originY"];function eg(e,t,n,r){Jy(e.x,t,zM,n?n.x:void 0,r?r.x:void 0),Jy(e.y,t,BM,n?n.y:void 0,r?r.y:void 0)}function tg(e){return e.translate===0&&e.scale===1}function $x(e){return tg(e.x)&&tg(e.y)}function ng(e,t){return e.min===t.min&&e.max===t.max}function UM(e,t){return ng(e.x,t.x)&&ng(e.y,t.y)}function rg(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function Wx(e,t){return rg(e.x,t.x)&&rg(e.y,t.y)}function ig(e){return Ke(e.x)/Ke(e.y)}function sg(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}function Wt(e){return[e("x"),e("y")]}function $M(e,t,n){let r="";const i=e.x.translate/t.x,s=e.y.translate/t.y,o=(n==null?void 0:n.z)||0;if((i||s||o)&&(r=`translate3d(${i}px, ${s}px, ${o}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:u,rotate:c,pathRotation:f,rotateX:d,rotateY:p,skewX:h,skewY:y}=n;u&&(r=`perspective(${u}px) ${r}`),c&&(r+=`rotate(${c}deg) `),f&&(r+=`rotate(${f}deg) `),d&&(r+=`rotateX(${d}deg) `),p&&(r+=`rotateY(${p}deg) `),h&&(r+=`skewX(${h}deg) `),y&&(r+=`skewY(${y}deg) `)}const a=e.x.scale*t.x,l=e.y.scale*t.y;return(a!==1||l!==1)&&(r+=`scale(${a}, ${l})`),r||"none"}const WM=Uh.length,og=e=>typeof e=="string"?parseFloat(e):e,ag=e=>typeof e=="number"||I.test(e);function HM(e,t,n,r,i,s){i?(e.opacity=ie(0,n.opacity??1,KM(r)),e.opacityExit=ie(t.opacity??1,0,qM(r))):s&&(e.opacity=ie(t.opacity??1,n.opacity??1,r));for(let o=0;o<WM;o++){const a=Uh[o];let l=lg(t,a),u=lg(n,a);if(l===void 0&&u===void 0)continue;l||(l=0),u||(u=0),l===0||u===0||ag(l)===ag(u)?(e[a]=Math.max(ie(og(l),og(u),r),0),(tn.test(u)||tn.test(l))&&(e[a]+="%")):e[a]=u}(t.rotate||n.rotate)&&(e.rotate=ie(t.rotate||0,n.rotate||0,r))}function lg(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const KM=Hx(0,.5,Nw),qM=Hx(.5,.95,Ct);function Hx(e,t,n){return r=>r<e?0:r>t?1:n(fo(e,t,r))}function GM(e,t,n){const r=Le(e)?e:ts(e);return r.start(jh("",r,t,n)),r.animation}function mo(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}const QM=(e,t)=>e.depth-t.depth;class XM{constructor(){this.children=[],this.isDirty=!1}add(t){Ph(this.children,t),this.isDirty=!0}remove(t){El(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(QM),this.isDirty=!1,this.children.forEach(t)}}function YM(e,t){const n=He.now(),r=({timestamp:i})=>{const s=i-n;s>=t&&(dr(r),e(s-t))};return se.setup(r,!0),()=>dr(r)}function Wa(e){return Le(e)?e.get():e}class ZM{constructor(){this.members=[]}add(t){Ph(this.members,t);for(let n=this.members.length-1;n>=0;n--){const r=this.members[n];if(r===t||r===this.lead||r===this.prevLead)continue;const i=r.instance;(!i||i.isConnected===!1)&&!r.snapshot&&(El(this.members,r),r.unmount())}t.scheduleRender()}remove(t){if(El(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){var n;for(let r=this.members.indexOf(t)-1;r>=0;r--){const i=this.members[r];if(i.isPresent!==!1&&((n=i.instance)==null?void 0:n.isConnected)!==!1)return this.promote(i),!0}return!1}promote(t,n){var i;const r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.updateSnapshot(),t.scheduleRender();const{layoutDependency:s}=r.options,{layoutDependency:o}=t.options;(s===void 0||s!==o)&&(t.resumeFrom=r,n&&(r.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),(i=t.root)!=null&&i.isUpdating&&(t.isLayoutDirty=!0)),t.options.crossfade===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{var n,r,i,s,o;(r=(n=t.options).onExitComplete)==null||r.call(n),(o=(i=t.resumingFrom)==null?void 0:(s=i.options).onExitComplete)==null||o.call(s)})}scheduleRender(){this.members.forEach(t=>t.instance&&t.scheduleRender(!1))}removeLeadSnapshot(){var t;(t=this.lead)!=null&&t.snapshot&&(this.lead.snapshot=void 0)}}const Ha={hasAnimatedSinceResize:!0,hasEverUpdated:!1},ac=["","X","Y","Z"],JM=1e3;let eO=0;function lc(e,t,n,r){const{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function Kx(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=px(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:i,layoutId:s}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",se,!(i||s))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&Kx(r)}function qx({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(o={},a=t==null?void 0:t()){this.id=eO++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(rO),this.nodes.forEach(uO),this.nodes.forEach(cO),this.nodes.forEach(iO)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=o,this.root=a?a.root||a:this,this.path=a?[...a.path,a]:[],this.parent=a,this.depth=a?a.depth+1:0;for(let l=0;l<this.path.length;l++)this.path[l].shouldResetTransform=!0;this.root===this&&(this.nodes=new XM)}addEventListener(o,a){return this.eventHandlers.has(o)||this.eventHandlers.set(o,new Rh),this.eventHandlers.get(o).add(a)}notifyListeners(o,...a){const l=this.eventHandlers.get(o);l&&l.notify(...a)}hasListeners(o){return this.eventHandlers.has(o)}mount(o){if(this.instance)return;this.isSVG=Hh(o)&&!nM(o),this.instance=o;const{layoutId:a,layout:l,visualElement:u}=this.options;if(u&&!u.current&&u.mount(o),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(l||a)&&(this.isLayoutDirty=!0),e){let c,f=0;const d=()=>this.root.updateBlockedByResize=!1;se.read(()=>{f=window.innerWidth}),e(o,()=>{const p=window.innerWidth;p!==f&&(f=p,this.root.updateBlockedByResize=!0,c&&c(),c=YM(d,250),Ha.hasAnimatedSinceResize&&(Ha.hasAnimatedSinceResize=!1,this.nodes.forEach(fg)))})}a&&this.root.registerSharedNode(a,this),this.options.animate!==!1&&u&&(a||l)&&this.addEventListener("didUpdate",({delta:c,hasLayoutChanged:f,hasRelativeLayoutChanged:d,layout:p})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const h=this.options.transition||u.getDefaultTransition()||mO,{onLayoutAnimationStart:y,onLayoutAnimationComplete:w}=u.getProps(),m=!this.targetLayout||!Wx(this.targetLayout,p),g=!f&&d;if(this.options.layoutRoot||this.resumeFrom||g||f&&(m||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const v={...Ih(h,"layout"),onPlay:y,onComplete:w};(u.shouldReduceMotion||this.options.layoutRoot)&&(v.delay=0,v.type=!1),this.startAnimation(v),this.setAnimationOrigin(c,g,v.path)}else f||fg(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=p})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const o=this.getStack();o&&o.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),dr(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(fO),this.animationId++)}getTransformTemplate(){const{visualElement:o}=this.options;return o&&o.getProps().transformTemplate}willUpdate(o=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Kx(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let c=0;c<this.path.length;c++){const f=this.path[c];f.shouldResetTransform=!0,(typeof f.latestValues.x=="string"||typeof f.latestValues.y=="string")&&(f.isLayoutDirty=!0),f.updateScroll("snapshot"),f.options.layoutRoot&&f.willUpdate(!1)}const{layoutId:a,layout:l}=this.options;if(a===void 0&&!l)return;const u=this.getTransformTemplate();this.prevTransformTemplateValue=u?u(this.latestValues,""):void 0,this.updateSnapshot(),o&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){const l=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),l&&this.nodes.forEach(oO),this.nodes.forEach(ug);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(cg);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(aO),this.nodes.forEach(lO),this.nodes.forEach(tO),this.nodes.forEach(nO)):this.nodes.forEach(cg),this.clearAllSnapshots();const a=He.now();Oe.delta=nn(0,1e3/60,a-Oe.timestamp),Oe.timestamp=a,Oe.isProcessing=!0,Ju.update.process(Oe),Ju.preRender.process(Oe),Ju.render.process(Oe),Oe.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,$h.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(sO),this.sharedNodes.forEach(dO)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,se.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){se.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Ke(this.snapshot.measuredBox.x)&&!Ke(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let l=0;l<this.path.length;l++)this.path[l].updateScroll();const o=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=Ce()),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:a}=this.options;a&&a.notify("LayoutMeasure",this.layout.layoutBox,o?o.layoutBox:void 0)}updateScroll(o="measure"){let a=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===o&&(a=!1),a&&this.instance){const l=r(this.instance);this.scroll={animationId:this.root.animationId,phase:o,isRoot:l,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:l}}}resetTransform(){if(!i)return;const o=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,a=this.projectionDelta&&!$x(this.projectionDelta),l=this.getTransformTemplate(),u=l?l(this.latestValues,""):void 0,c=u!==this.prevTransformTemplateValue;o&&this.instance&&(a||Cr(this.latestValues)||c)&&(i(this.instance,u),this.shouldResetTransform=!1,this.scheduleRender())}measure(o=!0){const a=this.measurePageBox();let l=this.removeElementScroll(a);return o&&(l=this.removeTransform(l)),yO(l),{animationId:this.root.animationId,measuredBox:a,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){var u;const{visualElement:o}=this.options;if(!o)return Ce();const a=o.measureViewportBox();if(!(((u=this.scroll)==null?void 0:u.wasRoot)||this.path.some(gO))){const{scroll:c}=this.root;c&&(Gt(a.x,c.offset.x),Gt(a.y,c.offset.y))}return a}removeElementScroll(o){var l;const a=Ce();if(Rt(a,o),(l=this.scroll)!=null&&l.wasRoot)return a;for(let u=0;u<this.path.length;u++){const c=this.path[u],{scroll:f,options:d}=c;c!==this.root&&f&&d.layoutScroll&&(f.wasRoot&&Rt(a,o),Gt(a.x,f.offset.x),Gt(a.y,f.offset.y))}return a}applyTransform(o,a=!1,l){var c,f;const u=l||Ce();Rt(u,o);for(let d=0;d<this.path.length;d++){const p=this.path[d];!a&&p.options.layoutScroll&&p.scroll&&p!==p.root&&(Gt(u.x,-p.scroll.offset.x),Gt(u.y,-p.scroll.offset.y)),Cr(p.latestValues)&&$a(u,p.latestValues,(c=p.layout)==null?void 0:c.layoutBox)}return Cr(this.latestValues)&&$a(u,this.latestValues,(f=this.layout)==null?void 0:f.layoutBox),u}removeTransform(o){var l;const a=Ce();Rt(a,o);for(let u=0;u<this.path.length;u++){const c=this.path[u];if(!Cr(c.latestValues))continue;let f;c.instance&&(ed(c.latestValues)&&c.updateSnapshot(),f=Ce(),Rt(f,c.measurePageBox())),eg(a,c.latestValues,(l=c.snapshot)==null?void 0:l.layoutBox,f)}return Cr(this.latestValues)&&eg(a,this.latestValues),a}setTargetDelta(o){this.targetDelta=o,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(o){this.options={...this.options,...o,crossfade:o.crossfade!==void 0?o.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==Oe.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(o=!1){var p;const a=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=a.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=a.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=a.isSharedProjectionDirty);const l=!!this.resumingFrom||this!==a;if(!(o||l&&this.isSharedProjectionDirty||this.isProjectionDirty||(p=this.parent)!=null&&p.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:c,layoutId:f}=this.options;if(!this.layout||!(c||f))return;this.resolvedRelativeTargetAt=Oe.timestamp;const d=this.getClosestProjectingParent();d&&this.linkedParentVersion!==d.layoutVersion&&!d.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&d&&d.layout?this.createRelativeTarget(d,this.layout.layoutBox,d.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=Ce(),this.targetWithTransforms=Ce()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),IM(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):Rt(this.target,this.layout.layoutBox),Ox(this.target,this.targetDelta)):Rt(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&d&&!!d.resumingFrom==!!this.resumingFrom&&!d.options.layoutScroll&&d.target&&this.animationProgress!==1?this.createRelativeTarget(d,this.target,d.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||ed(this.parent.latestValues)||Mx(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(o,a,l){this.relativeParent=o,this.linkedParentVersion=o.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Ce(),this.relativeTargetOrigin=Ce(),Dl(this.relativeTargetOrigin,a,l,this.options.layoutAnchor||void 0),Rt(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){var h;const o=this.getLead(),a=!!this.resumingFrom||this!==o;let l=!0;if((this.isProjectionDirty||(h=this.parent)!=null&&h.isProjectionDirty)&&(l=!1),a&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(l=!1),this.resolvedRelativeTargetAt===Oe.timestamp&&(l=!1),l)return;const{layout:u,layoutId:c}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(u||c))return;Rt(this.layoutCorrected,this.layout.layoutBox);const f=this.treeScale.x,d=this.treeScale.y;hM(this.layoutCorrected,this.treeScale,this.path,a),o.layout&&!o.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(o.target=o.layout.layoutBox,o.targetWithTransforms=Ce());const{target:p}=o;if(!p){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Gy(this.prevProjectionDelta.x,this.projectionDelta.x),Gy(this.prevProjectionDelta.y,this.projectionDelta.y)),$s(this.projectionDelta,this.layoutCorrected,p,this.latestValues),(this.treeScale.x!==f||this.treeScale.y!==d||!sg(this.projectionDelta.x,this.prevProjectionDelta.x)||!sg(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",p))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(o=!0){var a;if((a=this.options.visualElement)==null||a.scheduleRender(),o){const l=this.getStack();l&&l.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=ki(),this.projectionDelta=ki(),this.projectionDeltaWithTransform=ki()}setAnimationOrigin(o,a=!1,l){const u=this.snapshot,c=u?u.latestValues:{},f={...this.latestValues},d=ki();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!a;const p=Ce(),h=u?u.source:void 0,y=this.layout?this.layout.source:void 0,w=h!==y,m=this.getStack(),g=!m||m.members.length<=1,v=!!(w&&!g&&this.options.crossfade===!0&&!this.path.some(pO));this.animationProgress=0;let x;const C=l==null?void 0:l.interpolateProjection(o);this.mixTargetDelta=E=>{const b=E/1e3,k=C==null?void 0:C(b);k?(d.x.translate=k.x,d.x.scale=ie(o.x.scale,1,b),d.x.origin=o.x.origin,d.x.originPoint=o.x.originPoint,d.y.translate=k.y,d.y.scale=ie(o.y.scale,1,b),d.y.origin=o.y.origin,d.y.originPoint=o.y.originPoint):(dg(d.x,o.x,b),dg(d.y,o.y,b)),this.setTargetDelta(d),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Dl(p,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),hO(this.relativeTarget,this.relativeTargetOrigin,p,b),x&&UM(this.relativeTarget,x)&&(this.isProjectionDirty=!1),x||(x=Ce()),Rt(x,this.relativeTarget)),w&&(this.animationValues=f,HM(f,c,this.latestValues,b,v,g)),k&&k.rotate!==void 0&&(this.animationValues||(this.animationValues=f),this.animationValues.pathRotation=k.rotate),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=b},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(o){var a,l,u;this.notifyListeners("animationStart"),(a=this.currentAnimation)==null||a.stop(),(u=(l=this.resumingFrom)==null?void 0:l.currentAnimation)==null||u.stop(),this.pendingAnimation&&(dr(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=se.update(()=>{Ha.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=ts(0)),this.motionValue.jump(0,!1),this.currentAnimation=GM(this.motionValue,[0,1e3],{...o,velocity:0,isSync:!0,onUpdate:c=>{this.mixTargetDelta(c),o.onUpdate&&o.onUpdate(c)},onComplete:()=>{o.onComplete&&o.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const o=this.getStack();o&&o.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(JM),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const o=this.getLead();let{targetWithTransforms:a,target:l,layout:u,latestValues:c}=o;if(!(!a||!l||!u)){if(this!==o&&this.layout&&u&&Gx(this.options.animationType,this.layout.layoutBox,u.layoutBox)){l=this.target||Ce();const f=Ke(this.layout.layoutBox.x);l.x.min=o.target.x.min,l.x.max=l.x.min+f;const d=Ke(this.layout.layoutBox.y);l.y.min=o.target.y.min,l.y.max=l.y.min+d}Rt(a,l),$a(a,c),$s(this.projectionDeltaWithTransform,this.layoutCorrected,a,c)}}registerSharedNode(o,a){this.sharedNodes.has(o)||this.sharedNodes.set(o,new ZM),this.sharedNodes.get(o).add(a);const u=a.options.initialPromotionConfig;a.promote({transition:u?u.transition:void 0,preserveFollowOpacity:u&&u.shouldPreserveFollowOpacity?u.shouldPreserveFollowOpacity(a):void 0})}isLead(){const o=this.getStack();return o?o.lead===this:!0}getLead(){var a;const{layoutId:o}=this.options;return o?((a=this.getStack())==null?void 0:a.lead)||this:this}getPrevLead(){var a;const{layoutId:o}=this.options;return o?(a=this.getStack())==null?void 0:a.prevLead:void 0}getStack(){const{layoutId:o}=this.options;if(o)return this.root.sharedNodes.get(o)}promote({needsReset:o,transition:a,preserveFollowOpacity:l}={}){const u=this.getStack();u&&u.promote(this,l),o&&(this.projectionDelta=void 0,this.needsReset=!0),a&&this.setOptions({transition:a})}relegate(){const o=this.getStack();return o?o.relegate(this):!1}resetSkewAndRotation(){const{visualElement:o}=this.options;if(!o)return;let a=!1;const{latestValues:l}=o;if((l.z||l.rotate||l.rotateX||l.rotateY||l.rotateZ||l.skewX||l.skewY)&&(a=!0),!a)return;const u={};l.z&&lc("z",o,u,this.animationValues);for(let c=0;c<ac.length;c++)lc(`rotate${ac[c]}`,o,u,this.animationValues),lc(`skew${ac[c]}`,o,u,this.animationValues);o.render();for(const c in u)o.setStaticValue(c,u[c]),this.animationValues&&(this.animationValues[c]=u[c]);o.scheduleRender()}applyProjectionStyles(o,a){if(!this.instance||this.isSVG)return;if(!this.isVisible){o.visibility="hidden";return}const l=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,o.visibility="",o.opacity="",o.pointerEvents=Wa(a==null?void 0:a.pointerEvents)||"",o.transform=l?l(this.latestValues,""):"none";return}const u=this.getLead();if(!this.projectionDelta||!this.layout||!u.target){this.options.layoutId&&(o.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,o.pointerEvents=Wa(a==null?void 0:a.pointerEvents)||""),this.hasProjected&&!Cr(this.latestValues)&&(o.transform=l?l({},""):"none",this.hasProjected=!1);return}o.visibility="";const c=u.animationValues||u.latestValues;this.applyTransformsToTarget();let f=$M(this.projectionDeltaWithTransform,this.treeScale,c);l&&(f=l(c,f)),o.transform=f;const{x:d,y:p}=this.projectionDelta;o.transformOrigin=`${d.origin*100}% ${p.origin*100}% 0`,u.animationValues?o.opacity=u===this?c.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:c.opacityExit:o.opacity=u===this?c.opacity!==void 0?c.opacity:"":c.opacityExit!==void 0?c.opacityExit:0;for(const h in nd){if(c[h]===void 0)continue;const{correct:y,applyTo:w,isCSSVariable:m}=nd[h],g=f==="none"?c[h]:y(c[h],u);if(w){const v=w.length;for(let x=0;x<v;x++)o[w[x]]=g}else m?this.options.visualElement.renderState.vars[h]=g:o[h]=g}this.options.layoutId&&(o.pointerEvents=u===this?Wa(a==null?void 0:a.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(o=>{var a;return(a=o.currentAnimation)==null?void 0:a.stop()}),this.root.nodes.forEach(ug),this.root.sharedNodes.clear()}}}function tO(e){e.updateLayout()}function nO(e){var n;const t=((n=e.resumeFrom)==null?void 0:n.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){const{layoutBox:r,measuredBox:i}=e.layout,{animationType:s}=e.options,o=t.source!==e.layout.source;if(s==="size")Wt(f=>{const d=o?t.measuredBox[f]:t.layoutBox[f],p=Ke(d);d.min=r[f].min,d.max=d.min+p});else if(s==="x"||s==="y"){const f=s==="x"?"y":"x";rd(o?t.measuredBox[f]:t.layoutBox[f],r[f])}else Gx(s,t.layoutBox,r)&&Wt(f=>{const d=o?t.measuredBox[f]:t.layoutBox[f],p=Ke(r[f]);d.max=d.min+p,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[f].max=e.relativeTarget[f].min+p)});const a=ki();$s(a,r,t.layoutBox);const l=ki();o?$s(l,e.applyTransform(i,!0),t.measuredBox):$s(l,r,t.layoutBox);const u=!$x(a);let c=!1;if(!e.resumeFrom){const f=e.getClosestProjectingParent();if(f&&!f.resumeFrom){const{snapshot:d,layout:p}=f;if(d&&p){const h=e.options.layoutAnchor||void 0,y=Ce();Dl(y,t.layoutBox,d.layoutBox,h);const w=Ce();Dl(w,r,p.layoutBox,h),Wx(y,w)||(c=!0),f.options.layoutRoot&&(e.relativeTarget=w,e.relativeTargetOrigin=y,e.relativeParent=f)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:t,delta:l,layoutDelta:a,hasLayoutChanged:u,hasRelativeLayoutChanged:c})}else if(e.isLead()){const{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function rO(e){e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function iO(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function sO(e){e.clearSnapshot()}function ug(e){e.clearMeasurements()}function oO(e){e.isLayoutDirty=!0,e.updateLayout()}function cg(e){e.isLayoutDirty=!1}function aO(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function lO(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function fg(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function uO(e){e.resolveTargetDelta()}function cO(e){e.calcProjection()}function fO(e){e.resetSkewAndRotation()}function dO(e){e.removeLeadSnapshot()}function dg(e,t,n){e.translate=ie(t.translate,0,n),e.scale=ie(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function hg(e,t,n,r){e.min=ie(t.min,n.min,r),e.max=ie(t.max,n.max,r)}function hO(e,t,n,r){hg(e.x,t.x,n.x,r),hg(e.y,t.y,n.y,r)}function pO(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const mO={duration:.45,ease:[.4,0,.1,1]},pg=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),mg=pg("applewebkit/")&&!pg("chrome/")?Math.round:Ct;function yg(e){e.min=mg(e.min),e.max=mg(e.max)}function yO(e){yg(e.x),yg(e.y)}function Gx(e,t,n){return e==="position"||e==="preserve-aspect"&&!NM(ig(t),ig(n),.2)}function gO(e){var t;return e!==e.root&&((t=e.scroll)==null?void 0:t.wasRoot)}const vO=qx({attachResizeListener:(e,t)=>mo(e,"resize",t),measureScroll:()=>{var e,t;return{x:document.documentElement.scrollLeft||((e=document.body)==null?void 0:e.scrollLeft)||0,y:document.documentElement.scrollTop||((t=document.body)==null?void 0:t.scrollTop)||0}},checkIsScrollRoot:()=>!0}),uc={current:void 0},Qx=qx({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!uc.current){const e=new vO({});e.mount(window),e.setOptions({layoutScroll:!0}),uc.current=e}return uc.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),Xh=T.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function gg(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function wO(...e){return t=>{let n=!1;const r=e.map(i=>{const s=gg(i,t);return!n&&typeof s=="function"&&(n=!0),s});if(n)return()=>{for(let i=0;i<r.length;i++){const s=r[i];typeof s=="function"?s():gg(e[i],null)}}}}function xO(...e){return T.useCallback(wO(...e),e)}class SO extends T.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(ja(n)&&t.isPresent&&!this.props.isPresent&&this.props.pop!==!1){const r=n.offsetParent,i=ja(r)&&r.offsetWidth||0,s=ja(r)&&r.offsetHeight||0,o=getComputedStyle(n),a=this.props.sizeRef.current;a.height=parseFloat(o.height),a.width=parseFloat(o.width),a.top=n.offsetTop,a.left=n.offsetLeft,a.right=i-a.width-a.left,a.bottom=s-a.height-a.top,a.direction=o.direction}return null}componentDidUpdate(){}render(){return this.props.children}}function kO({children:e,isPresent:t,anchorX:n,anchorY:r,root:i,pop:s}){var d;const o=T.useId(),a=T.useRef(null),l=T.useRef({width:0,height:0,top:0,left:0,right:0,bottom:0,direction:"ltr"}),{nonce:u}=T.useContext(Xh),c=((d=e.props)==null?void 0:d.ref)??(e==null?void 0:e.ref),f=xO(a,c);return T.useInsertionEffect(()=>{const{width:p,height:h,top:y,left:w,right:m,bottom:g,direction:v}=l.current;if(t||s===!1||!a.current||!p||!h)return;const x=v==="rtl",C=n==="left"?x?`right: ${m}`:`left: ${w}`:x?`left: ${w}`:`right: ${m}`,E=r==="bottom"?`bottom: ${g}`:`top: ${y}`;a.current.dataset.motionPopId=o;const b=document.createElement("style");u&&(b.nonce=u);const k=i??document.head;return k.appendChild(b),b.sheet&&b.sheet.insertRule(`
370
- [data-motion-pop-id="${o}"] {
371
- position: absolute !important;
372
- width: ${p}px !important;
373
- height: ${h}px !important;
374
- ${C}px !important;
375
- ${E}px !important;
376
- }
377
- `),()=>{var M;(M=a.current)==null||M.removeAttribute("data-motion-pop-id"),k.contains(b)&&k.removeChild(b)}},[t]),xn.jsx(SO,{isPresent:t,childRef:a,sizeRef:l,pop:s,children:s===!1?e:T.cloneElement(e,{ref:f})})}const CO=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:i,presenceAffectsLayout:s,mode:o,anchorX:a,anchorY:l,root:u})=>{const c=Eh(EO),f=T.useId(),d=T.useRef(n),p=T.useRef(r);bh(()=>{d.current=n,p.current=r});let h=!0,y=T.useMemo(()=>(h=!1,{id:f,initial:t,isPresent:n,custom:i,onExitComplete:w=>{c.set(w,!0);for(const m of c.values())if(!m)return;r&&r()},register:w=>(c.set(w,!1),()=>{var m;c.delete(w),!d.current&&!c.size&&((m=p.current)==null||m.call(p))})}),[n,c,r]);return s&&h&&(y={...y}),T.useMemo(()=>{c.forEach((w,m)=>c.set(m,!1))},[n]),T.useEffect(()=>{!n&&!c.size&&r&&r()},[n]),e=xn.jsx(kO,{pop:o==="popLayout",isPresent:n,anchorX:a,anchorY:l,root:u,children:e}),xn.jsx(au.Provider,{value:y,children:e})};function EO(){return new Map}function Xx(e=!0){const t=T.useContext(au);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:r,register:i}=t,s=T.useId();T.useEffect(()=>{if(e)return i(s)},[e]);const o=T.useCallback(()=>e&&r&&r(s),[s,r,e]);return!n&&r?[!1,o]:[!0]}const ma=e=>e.key||"";function vg(e){const t=[];return T.Children.forEach(e,n=>{T.isValidElement(n)&&t.push(n)}),t}const G3=({children:e,custom:t,initial:n=!0,onExitComplete:r,presenceAffectsLayout:i=!0,mode:s="sync",propagate:o=!1,anchorX:a="left",anchorY:l="top",root:u})=>{const[c,f]=Xx(o),d=T.useMemo(()=>vg(e),[e]),p=o&&!c?[]:d.map(ma),h=T.useRef(!0),y=T.useRef(d),w=Eh(()=>new Map),m=T.useRef(new Set),[g,v]=T.useState(d),[x,C]=T.useState(d);bh(()=>{h.current=!1,y.current=d;for(let k=0;k<x.length;k++){const M=ma(x[k]);p.includes(M)?(w.delete(M),m.current.delete(M)):w.get(M)!==!0&&w.set(M,!1)}},[x,p.length,p.join("-")]);const E=[];if(d!==g){let k=[...d];for(let M=0;M<x.length;M++){const R=x[M],F=ma(R);p.includes(F)||(k.splice(M,0,R),E.push(R))}return s==="wait"&&E.length&&(k=E),C(vg(k)),v(d),null}const{forceRender:b}=T.useContext(Ch);return xn.jsx(xn.Fragment,{children:x.map(k=>{const M=ma(k),R=o&&!c?!1:d===x||p.includes(M),F=()=>{if(m.current.has(M))return;if(w.has(M))m.current.add(M),w.set(M,!0);else return;let U=!0;w.forEach(K=>{K||(U=!1)}),U&&(b==null||b(),C(y.current),o&&(f==null||f()),r&&r())};return xn.jsx(CO,{isPresent:R,initial:!h.current||n?void 0:!1,custom:t,presenceAffectsLayout:i,mode:s,root:u,onExitComplete:R?void 0:F,anchorX:a,anchorY:l,children:k},M)})})},Yx=T.createContext({strict:!1}),wg={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]};let xg=!1;function bO(){if(xg)return;const e={};for(const t in wg)e[t]={isEnabled:n=>wg[t].some(r=>!!n[r])};Tx(e),xg=!0}function Zx(){return bO(),uM()}function PO(e){const t=Zx();for(const n in e)t[n]={...t[n],...e[n]};Tx(t)}const TO=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function Ll(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||TO.has(e)}let Jx=e=>!Ll(e);function RO(e){typeof e=="function"&&(Jx=t=>t.startsWith("on")?!Ll(t):e(t))}try{RO(require("@emotion/is-prop-valid").default)}catch{}function AO(e,t,n){const r={};for(const i in e)i==="values"&&typeof e.values=="object"||Le(e[i])||(Jx(i)||n===!0&&Ll(i)||!t&&!Ll(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}const fu=T.createContext({});function MO(e,t){if(cu(e)){const{initial:n,animate:r}=e;return{initial:n===!1||po(n)?n:void 0,animate:po(r)?r:void 0}}return e.inherit!==!1?t:{}}function OO(e){const{initial:t,animate:n}=MO(e,T.useContext(fu));return T.useMemo(()=>({initial:t,animate:n}),[Sg(t),Sg(n)])}function Sg(e){return Array.isArray(e)?e.join(" "):e}const Yh=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function eS(e,t,n){for(const r in t)!Le(t[r])&&!_x(r,n)&&(e[r]=t[r])}function DO({transformTemplate:e},t){return T.useMemo(()=>{const n=Yh();return Gh(n,t,e),Object.assign({},n.vars,n.style)},[t])}function LO(e,t){const n=e.style||{},r={};return eS(r,n,e),Object.assign(r,DO(e,t)),r}function _O(e,t){const n={},r=LO(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}const tS=()=>({...Yh(),attrs:{}});function FO(e,t,n,r){const i=T.useMemo(()=>{const s=tS();return Fx(s,t,Nx(r),e.transformTemplate,e.style),{...s.attrs,style:{...s.style}}},[t]);if(e.style){const s={};eS(s,e.style,e),i.style={...s,...i.style}}return i}const VO=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function Zh(e){return typeof e!="string"||e.includes("-")?!1:!!(VO.indexOf(e)>-1||/[A-Z]/u.test(e))}function NO(e,t,n,{latestValues:r},i,s=!1,o){const l=(o??Zh(e)?FO:_O)(t,r,i,e),u=AO(t,typeof e=="string",s),c=e!==T.Fragment?{...u,...l,ref:n}:{},{children:f}=t,d=T.useMemo(()=>Le(f)?f.get():f,[f]);return T.createElement(e,{...c,children:d})}function IO({scrapeMotionValuesFromProps:e,createRenderState:t},n,r,i){return{latestValues:jO(n,r,i,e),renderState:t()}}function jO(e,t,n,r){const i={},s=r(e,{});for(const d in s)i[d]=Wa(s[d]);let{initial:o,animate:a}=e;const l=cu(e),u=bx(e);t&&u&&!l&&e.inherit!==!1&&(o===void 0&&(o=t.initial),a===void 0&&(a=t.animate));let c=n?n.initial===!1:!1;c=c||o===!1;const f=c?a:o;if(f&&typeof f!="boolean"&&!uu(f)){const d=Array.isArray(f)?f:[f];for(let p=0;p<d.length;p++){const h=zh(e,d[p]);if(h){const{transitionEnd:y,transition:w,...m}=h;for(const g in m){let v=m[g];if(Array.isArray(v)){const x=c?v.length-1:0;v=v[x]}v!==null&&(i[g]=v)}for(const g in y)i[g]=y[g]}}}return i}const nS=e=>(t,n)=>{const r=T.useContext(fu),i=T.useContext(au),s=()=>IO(e,t,r,i);return n?s():Eh(s)},zO=nS({scrapeMotionValuesFromProps:Qh,createRenderState:Yh}),BO=nS({scrapeMotionValuesFromProps:Ix,createRenderState:tS}),UO=Symbol.for("motionComponentSymbol");function $O(e,t,n){const r=T.useRef(n);T.useInsertionEffect(()=>{r.current=n});const i=T.useRef(null);return T.useCallback(s=>{var a;s&&((a=e.onMount)==null||a.call(e,s)),t&&(s?t.mount(s):t.unmount());const o=r.current;if(typeof o=="function")if(s){const l=o(s);typeof l=="function"&&(i.current=l)}else i.current?(i.current(),i.current=null):o(s);else o&&(o.current=s)},[t])}const rS=T.createContext({});function oi(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function WO(e,t,n,r,i,s){var v,x;const{visualElement:o}=T.useContext(fu),a=T.useContext(Yx),l=T.useContext(au),u=T.useContext(Xh),c=u.reducedMotion,f=u.skipAnimations,d=T.useRef(null),p=T.useRef(!1);r=r||a.renderer,!d.current&&r&&(d.current=r(e,{visualState:t,parent:o,props:n,presenceContext:l,blockInitialAnimation:l?l.initial===!1:!1,reducedMotionConfig:c,skipAnimations:f,isSVG:s}),p.current&&d.current&&(d.current.manuallyAnimateOnMount=!0));const h=d.current,y=T.useContext(rS);h&&!h.projection&&i&&(h.type==="html"||h.type==="svg")&&HO(d.current,n,i,y);const w=T.useRef(!1);T.useInsertionEffect(()=>{h&&w.current&&h.update(n,l)});const m=n[hx],g=T.useRef(!!m&&typeof window<"u"&&!((v=window.MotionHandoffIsComplete)!=null&&v.call(window,m))&&((x=window.MotionHasOptimisedAnimation)==null?void 0:x.call(window,m)));return bh(()=>{p.current=!0,h&&(w.current=!0,window.MotionIsMounted=!0,h.updateFeatures(),h.scheduleRenderMicrotask(),g.current&&h.animationState&&h.animationState.animateChanges())}),T.useEffect(()=>{h&&(!g.current&&h.animationState&&h.animationState.animateChanges(),g.current&&(queueMicrotask(()=>{var C;(C=window.MotionHandoffMarkAsComplete)==null||C.call(window,m)}),g.current=!1),h.enteringChildren=void 0)}),h}function HO(e,t,n,r){const{layoutId:i,layout:s,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:u,layoutAnchor:c,layoutCrossfade:f}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:iS(e.parent)),e.projection.setOptions({layoutId:i,layout:s,alwaysMeasureLayout:!!o||a&&oi(a),visualElement:e,animationType:typeof s=="string"?s:"both",initialPromotionConfig:r,crossfade:f,layoutScroll:l,layoutRoot:u,layoutAnchor:c})}function iS(e){if(e)return e.options.allowProjection!==!1?e.projection:iS(e.parent)}function cc(e,{forwardMotionProps:t=!1,type:n}={},r,i){r&&PO(r);const s=n?n==="svg":Zh(e),o=s?BO:zO;function a(u,c){let f;const d={...T.useContext(Xh),...u,layoutId:KO(u)},{isStatic:p}=d,h=OO(u),y=o(u,p);if(!p&&typeof window<"u"){qO();const w=GO(d);f=w.MeasureLayout,h.visualElement=WO(e,y,d,i,w.ProjectionNode,s)}return xn.jsxs(fu.Provider,{value:h,children:[f&&h.visualElement?xn.jsx(f,{visualElement:h.visualElement,...d}):null,NO(e,u,$O(y,h.visualElement,c),y,p,t,s)]})}a.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;const l=T.forwardRef(a);return l[UO]=e,l}function KO({layoutId:e}){const t=T.useContext(Ch).id;return t&&e!==void 0?t+"-"+e:e}function qO(e,t){T.useContext(Yx).strict}function GO(e){const t=Zx(),{drag:n,layout:r}=t;if(!n&&!r)return{};const i={...n,...r};return{MeasureLayout:n!=null&&n.isEnabled(e)||r!=null&&r.isEnabled(e)?i.MeasureLayout:void 0,ProjectionNode:i.ProjectionNode}}function QO(e,t){if(typeof Proxy>"u")return cc;const n=new Map,r=(s,o)=>cc(s,o,e,t),i=(s,o)=>r(s,o);return new Proxy(i,{get:(s,o)=>o==="create"?r:(n.has(o)||n.set(o,cc(o,void 0,e,t)),n.get(o))})}const XO=(e,t)=>t.isSVG??Zh(e)?new PM(t):new xM(t,{allowProjection:e!==T.Fragment});class YO extends gr{constructor(t){super(t),t.animationState||(t.animationState=OM(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();uu(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),(t=this.unmountControls)==null||t.call(this)}}let ZO=0;class JO extends gr{constructor(){super(...arguments),this.id=ZO++,this.isExitComplete=!1}update(){var s;if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===r)return;if(t&&r===!1){if(this.isExitComplete){const{initial:o,custom:a}=this.node.getProps();if(typeof o=="string"||typeof o=="object"&&o!==null&&!Array.isArray(o)){const l=Wr(this.node,o,a);if(l){const{transition:u,transitionEnd:c,...f}=l;for(const d in f)(s=this.node.getValue(d))==null||s.jump(f[d])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}const i=this.node.animationState.setActive("exit",!t);n&&!t&&i.then(()=>{this.isExitComplete=!0,n(this.id)})}mount(){const{register:t,onExitComplete:n}=this.node.presenceContext||{};n&&n(this.id),t&&(this.unmount=t(this.id))}unmount(){}}const eD={animation:{Feature:YO},exit:{Feature:JO}};function Vo(e){return{point:{x:e.pageX,y:e.pageY}}}const tD=e=>t=>Wh(t)&&e(t,Vo(t));function Ws(e,t,n,r){return mo(e,t,tD(n),r)}const sS=({current:e})=>e?e.ownerDocument.defaultView:null,kg=(e,t)=>Math.abs(e-t);function nD(e,t){const n=kg(e.x,t.x),r=kg(e.y,t.y);return Math.sqrt(n**2+r**2)}const Cg=new Set(["auto","scroll"]);class oS{constructor(t,n,{transformPagePoint:r,contextWindow:i=window,dragSnapToOrigin:s=!1,distanceThreshold:o=3,element:a}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=h=>{this.handleScroll(h.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=ya(this.lastRawMoveEventInfo,this.transformPagePoint));const h=fc(this.lastMoveEventInfo,this.history),y=this.startEvent!==null,w=nD(h.offset,{x:0,y:0})>=this.distanceThreshold;if(!y&&!w)return;const{point:m}=h,{timestamp:g}=Oe;this.history.push({...m,timestamp:g});const{onStart:v,onMove:x}=this.handlers;y||(v&&v(this.lastMoveEvent,h),this.startEvent=this.lastMoveEvent),x&&x(this.lastMoveEvent,h)},this.handlePointerMove=(h,y)=>{this.lastMoveEvent=h,this.lastRawMoveEventInfo=y,this.lastMoveEventInfo=ya(y,this.transformPagePoint),se.update(this.updatePoint,!0)},this.handlePointerUp=(h,y)=>{this.end();const{onEnd:w,onSessionEnd:m,resumeAnimation:g}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&g&&g(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const v=fc(h.type==="pointercancel"?this.lastMoveEventInfo:ya(y,this.transformPagePoint),this.history);this.startEvent&&w&&w(h,v),m&&m(h,v)},!Wh(t))return;this.dragSnapToOrigin=s,this.handlers=n,this.transformPagePoint=r,this.distanceThreshold=o,this.contextWindow=i||window;const l=Vo(t),u=ya(l,this.transformPagePoint),{point:c}=u,{timestamp:f}=Oe;this.history=[{...c,timestamp:f}];const{onSessionStart:d}=n;d&&d(t,fc(u,this.history));const p={passive:!0,capture:!0};this.removeListeners=Lo(Ws(this.contextWindow,"pointermove",this.handlePointerMove,p),Ws(this.contextWindow,"pointerup",this.handlePointerUp,p),Ws(this.contextWindow,"pointercancel",this.handlePointerUp,p)),a&&this.startScrollTracking(a)}startScrollTracking(t){let n=t.parentElement;for(;n;){const r=getComputedStyle(n);(Cg.has(r.overflowX)||Cg.has(r.overflowY))&&this.scrollPositions.set(n,{x:n.scrollLeft,y:n.scrollTop}),n=n.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(t){const n=this.scrollPositions.get(t);if(!n)return;const r=t===window,i=r?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},s={x:i.x-n.x,y:i.y-n.y};s.x===0&&s.y===0||(r?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=s.x,this.lastMoveEventInfo.point.y+=s.y):this.history.length>0&&(this.history[0].x-=s.x,this.history[0].y-=s.y),this.scrollPositions.set(t,i),se.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),dr(this.updatePoint)}}function ya(e,t){return t?{point:t(e.point)}:e}function Eg(e,t){return{x:e.x-t.x,y:e.y-t.y}}function fc({point:e},t){return{point:e,delta:Eg(e,aS(t)),offset:Eg(e,rD(t)),velocity:iD(t,.1)}}function rD(e){return e[0]}function aS(e){return e[e.length-1]}function iD(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const i=aS(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>ct(t)));)n--;if(!r)return{x:0,y:0};r===e[0]&&e.length>2&&i.timestamp-r.timestamp>ct(t)*2&&(r=e[1]);const s=St(i.timestamp-r.timestamp);if(s===0)return{x:0,y:0};const o={x:(i.x-r.x)/s,y:(i.y-r.y)/s};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}function sD(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?ie(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?ie(n,e,r.max):Math.min(e,n)),e}function bg(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function oD(e,{top:t,left:n,bottom:r,right:i}){return{x:bg(e.x,n,i),y:bg(e.y,t,r)}}function Pg(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function aD(e,t){return{x:Pg(e.x,t.x),y:Pg(e.y,t.y)}}function lD(e,t){let n=.5;const r=Ke(e),i=Ke(t);return i>r?n=fo(t.min,t.max-r,e.min):r>i&&(n=fo(e.min,e.max-i,t.min)),nn(0,1,n)}function uD(e,t){const n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}const id=.35;function cD(e=id){return e===!1?e=0:e===!0&&(e=id),{x:Tg(e,"left","right"),y:Tg(e,"top","bottom")}}function Tg(e,t,n){return{min:Rg(e,t),max:Rg(e,n)}}function Rg(e,t){return typeof e=="number"?e:e[t]||0}const fD=new WeakMap;class dD{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Ce(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:n=!1,distanceThreshold:r}={}){const{presenceContext:i}=this.visualElement;if(i&&i.isPresent===!1)return;const s=f=>{n&&this.snapToCursor(Vo(f).point),this.stopAnimation()},o=(f,d)=>{const{drag:p,dragPropagation:h,onDragStart:y}=this.getProps();if(p&&!h&&(this.openDragLock&&this.openDragLock(),this.openDragLock=jA(p),!this.openDragLock))return;this.latestPointerEvent=f,this.latestPanInfo=d,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Wt(m=>{let g=this.getAxisMotionValue(m).get()||0;if(tn.test(g)){const{projection:v}=this.visualElement;if(v&&v.layout){const x=v.layout.layoutBox[m];x&&(g=Ke(x)*(parseFloat(g)/100))}}this.originPoint[m]=g}),y&&se.update(()=>y(f,d),!1,!0),Gf(this.visualElement,"transform");const{animationState:w}=this.visualElement;w&&w.setActive("whileDrag",!0)},a=(f,d)=>{this.latestPointerEvent=f,this.latestPanInfo=d;const{dragPropagation:p,dragDirectionLock:h,onDirectionLock:y,onDrag:w}=this.getProps();if(!p&&!this.openDragLock)return;const{offset:m}=d;if(h&&this.currentDirection===null){this.currentDirection=pD(m),this.currentDirection!==null&&y&&y(this.currentDirection);return}this.updateAxis("x",d.point,m),this.updateAxis("y",d.point,m),this.visualElement.render(),w&&se.update(()=>w(f,d),!1,!0)},l=(f,d)=>{this.latestPointerEvent=f,this.latestPanInfo=d,this.stop(f,d),this.latestPointerEvent=null,this.latestPanInfo=null},u=()=>{const{dragSnapToOrigin:f}=this.getProps();(f||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:c}=this.getProps();this.panSession=new oS(t,{onSessionStart:s,onStart:o,onMove:a,onSessionEnd:l,resumeAnimation:u},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:c,distanceThreshold:r,contextWindow:sS(this.visualElement),element:this.visualElement.current})}stop(t,n){const r=t||this.latestPointerEvent,i=n||this.latestPanInfo,s=this.isDragging;if(this.cancel(),!s||!i||!r)return;const{velocity:o}=i;this.startAnimation(o);const{onDragEnd:a}=this.getProps();a&&se.postRender(()=>a(r,i))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.endPanSession();const{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(t,n,r){const{drag:i}=this.getProps();if(!r||!ga(t,i,this.currentDirection))return;const s=this.getAxisMotionValue(t);let o=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(o=sD(o,this.constraints[t],this.elastic[t])),s.set(o)}resolveConstraints(){var s;const{dragConstraints:t,dragElastic:n}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(s=this.visualElement.projection)==null?void 0:s.layout,i=this.constraints;t&&oi(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&r?this.constraints=oD(r.layoutBox,t):this.constraints=!1,this.elastic=cD(n),i!==this.constraints&&!oi(t)&&r&&this.constraints&&!this.hasMutatedConstraints&&Wt(o=>{this.constraints!==!1&&this.getAxisMotionValue(o)&&(this.constraints[o]=uD(r.layoutBox[o],this.constraints[o]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!oi(t))return!1;const r=t.current,{projection:i}=this.visualElement;if(!i||!i.layout)return!1;i.root&&(i.root.scroll=void 0,i.root.updateScroll());const s=pM(r,i.root,this.visualElement.getTransformPagePoint());let o=aD(i.layout.layoutBox,s);if(n){const a=n(fM(o));this.hasMutatedConstraints=!!a,a&&(o=Ax(a))}return o}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:i,dragTransition:s,dragSnapToOrigin:o,onDragTransitionEnd:a}=this.getProps(),l=this.constraints||{},u=Wt(c=>{if(!ga(c,n,this.currentDirection))return;let f=l&&l[c]||{};(o===!0||o===c)&&(f={min:0,max:0});const d=i?200:1e6,p=i?40:1e7,h={type:"inertia",velocity:r?t[c]:0,bounceStiffness:d,bounceDamping:p,timeConstant:750,restDelta:1,restSpeed:10,...s,...f};return this.startAxisValueAnimation(c,h)});return Promise.all(u).then(a)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return Gf(this.visualElement,t),r.start(jh(t,r,0,n,this.visualElement,!1))}stopAnimation(){Wt(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,i=this.visualElement.getProps()[n];return i||this.visualElement.getValue(t,this.visualElement.latestValues[t]??0)}snapToCursor(t){Wt(n=>{const{drag:r}=this.getProps();if(!ga(n,r,this.currentDirection))return;const{projection:i}=this.visualElement,s=this.getAxisMotionValue(n);if(i&&i.layout){const{min:o,max:a}=i.layout.layoutBox[n],l=s.get()||0;s.set(t[n]-ie(o,a,.5)+l)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!oi(n)||!r||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};Wt(o=>{const a=this.getAxisMotionValue(o);if(a&&this.constraints!==!1){const l=a.get();i[o]=lD({min:l,max:l},this.constraints[o])}});const{transformTemplate:s}=this.visualElement.getProps();this.visualElement.current.style.transform=s?s({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.constraints=!1,this.resolveConstraints(),Wt(o=>{if(!ga(o,t,null))return;const a=this.getAxisMotionValue(o),{min:l,max:u}=this.constraints[o];a.set(ie(l,u,i[o]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;fD.set(this.visualElement,this);const t=this.visualElement.current,n=Ws(t,"pointerdown",u=>{const{drag:c,dragListener:f=!0}=this.getProps(),d=u.target,p=d!==t&&HA(d);c&&f&&!p&&this.start(u)});let r;const i=()=>{const{dragConstraints:u}=this.getProps();oi(u)&&u.current&&(this.constraints=this.resolveRefConstraints(),r||(r=hD(t,u.current,()=>this.scalePositionWithinConstraints())))},{projection:s}=this.visualElement,o=s.addEventListener("measure",i);s&&!s.layout&&(s.root&&s.root.updateScroll(),s.updateLayout()),se.read(i);const a=mo(window,"resize",()=>this.scalePositionWithinConstraints()),l=s.addEventListener("didUpdate",({delta:u,hasLayoutChanged:c})=>{this.isDragging&&c&&(Wt(f=>{const d=this.getAxisMotionValue(f);d&&(this.originPoint[f]+=u[f].translate,d.set(d.get()+u[f].translate))}),this.visualElement.render())});return()=>{a(),n(),o(),l&&l(),r&&r()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:i=!1,dragConstraints:s=!1,dragElastic:o=id,dragMomentum:a=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:i,dragConstraints:s,dragElastic:o,dragMomentum:a}}}function Ag(e){let t=!0;return()=>{if(t){t=!1;return}e()}}function hD(e,t,n){const r=Vy(e,Ag(n)),i=Vy(t,Ag(n));return()=>{r(),i()}}function ga(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function pD(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class mD extends gr{constructor(t){super(t),this.removeGroupControls=Ct,this.removeListeners=Ct,this.controls=new dD(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Ct}update(){const{dragControls:t}=this.node.getProps(),{dragControls:n}=this.node.prevProps||{};t!==n&&(this.removeGroupControls(),t&&(this.removeGroupControls=t.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}const dc=e=>(t,n)=>{e&&se.update(()=>e(t,n),!1,!0)};class yD extends gr{constructor(){super(...arguments),this.removePointerDownListener=Ct}onPointerDown(t){this.session=new oS(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:sS(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:i}=this.node.getProps();return{onSessionStart:dc(t),onStart:dc(n),onMove:dc(r),onEnd:(s,o)=>{delete this.session,i&&se.postRender(()=>i(s,o))}}}mount(){this.removePointerDownListener=Ws(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let hc=!1;class gD extends T.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:i}=this.props,{projection:s}=t;s&&(n.group&&n.group.add(s),r&&r.register&&i&&r.register(s),hc&&s.root.didUpdate(),s.addEventListener("animationComplete",()=>{this.safeToRemove()}),s.setOptions({...s.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),Ha.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:i,isPresent:s}=this.props,{projection:o}=r;return o&&(o.isPresent=s,t.layoutDependency!==n&&o.setOptions({...o.options,layoutDependency:n}),hc=!0,i||t.layoutDependency!==n||n===void 0||t.isPresent!==s?o.willUpdate():this.safeToRemove(),t.isPresent!==s&&(s?o.promote():o.relegate()||se.postRender(()=>{const a=o.getStack();(!a||!a.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{visualElement:t,layoutAnchor:n}=this.props,{projection:r}=t;r&&(r.options.layoutAnchor=n,r.root.didUpdate(),$h.postRender(()=>{!r.currentAnimation&&r.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:i}=t;hc=!0,i&&(i.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(i),r&&r.deregister&&r.deregister(i))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function lS(e){const[t,n]=Xx(),r=T.useContext(Ch);return xn.jsx(gD,{...e,layoutGroup:r,switchLayoutGroup:T.useContext(rS),isPresent:t,safeToRemove:n})}const vD={pan:{Feature:yD},drag:{Feature:mD,ProjectionNode:Qx,MeasureLayout:lS}};function Mg(e,t,n){const{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover",n==="Start");const i="onHover"+n,s=r[i];s&&se.postRender(()=>s(t,Vo(t)))}class wD extends gr{mount(){const{current:t}=this.node;t&&(this.unmount=BA(t,(n,r)=>(Mg(this.node,r,"Start"),i=>Mg(this.node,i,"End"))))}unmount(){}}class xD extends gr{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Lo(mo(this.node.current,"focus",()=>this.onFocus()),mo(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function Og(e,t,n){const{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap",n==="Start");const i="onTap"+(n==="End"?"":n),s=r[i];s&&se.postRender(()=>s(t,Vo(t)))}class SD extends gr{mount(){const{current:t}=this.node;if(!t)return;const{globalTapTarget:n,propagate:r}=this.node.props;this.unmount=qA(t,(i,s)=>(Og(this.node,s,"Start"),(o,{success:a})=>Og(this.node,o,a?"End":"Cancel")),{useGlobalTarget:n,stopPropagation:(r==null?void 0:r.tap)===!1})}unmount(){}}const sd=new WeakMap,pc=new WeakMap,kD=e=>{const t=sd.get(e.target);t&&t(e)},CD=e=>{e.forEach(kD)};function ED({root:e,...t}){const n=e||document;pc.has(n)||pc.set(n,{});const r=pc.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(CD,{root:e,...t})),r[i]}function bD(e,t,n){const r=ED(t);return sd.set(e,n),r.observe(e),()=>{sd.delete(e),r.unobserve(e)}}const PD={some:0,all:1};class TD extends gr{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var l;(l=this.stopObserver)==null||l.call(this);const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:i="some",once:s}=t,o={root:n?n.current:void 0,rootMargin:r,threshold:typeof i=="number"?i:PD[i]},a=u=>{const{isIntersecting:c}=u;if(this.isInView===c||(this.isInView=c,s&&!c&&this.hasEnteredView))return;c&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",c);const{onViewportEnter:f,onViewportLeave:d}=this.node.getProps(),p=c?f:d;p&&p(u)};this.stopObserver=bD(this.node.current,o,a)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(RD(t,n))&&this.startObserver()}unmount(){var t;(t=this.stopObserver)==null||t.call(this),this.hasEnteredView=!1,this.isInView=!1}}function RD({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const AD={inView:{Feature:TD},tap:{Feature:SD},focus:{Feature:xD},hover:{Feature:wD}},MD={layout:{ProjectionNode:Qx,MeasureLayout:lS}},OD={...eD,...AD,...vD,...MD},Q3=QO(OD,XO);/*! *****************************************************************************
378
- Copyright (c) Microsoft Corporation.
379
-
380
- Permission to use, copy, modify, and/or distribute this software for any
381
- purpose with or without fee is hereby granted.
382
-
383
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
384
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
385
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
386
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
387
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
388
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
389
- PERFORMANCE OF THIS SOFTWARE.
390
- ***************************************************************************** */var od=function(e,t){return od=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[i]=r[i])},od(e,t)};function DD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");od(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var ad=function(){return ad=Object.assign||function(t){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(t[s]=n[s])}return t},ad.apply(this,arguments)};function LD(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}function _D(e,t,n,r){var i=arguments.length,s=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s}function FD(e,t){return function(n,r){t(n,r,e)}}function VD(e,t){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(e,t)}function ND(e,t,n,r){function i(s){return s instanceof n?s:new n(function(o){o(s)})}return new(n||(n=Promise))(function(s,o){function a(c){try{u(r.next(c))}catch(f){o(f)}}function l(c){try{u(r.throw(c))}catch(f){o(f)}}function u(c){c.done?s(c.value):i(c.value).then(a,l)}u((r=r.apply(e,t||[])).next())})}function ID(e,t){var n={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},r,i,s,o;return o={next:a(0),throw:a(1),return:a(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function a(u){return function(c){return l([u,c])}}function l(u){if(r)throw new TypeError("Generator is already executing.");for(;n;)try{if(r=1,i&&(s=u[0]&2?i.return:u[0]?i.throw||((s=i.return)&&s.call(i),0):i.next)&&!(s=s.call(i,u[1])).done)return s;switch(i=0,s&&(u=[u[0]&2,s.value]),u[0]){case 0:case 1:s=u;break;case 4:return n.label++,{value:u[1],done:!1};case 5:n.label++,i=u[1],u=[0];continue;case 7:u=n.ops.pop(),n.trys.pop();continue;default:if(s=n.trys,!(s=s.length>0&&s[s.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!s||u[1]>s[0]&&u[1]<s[3])){n.label=u[1];break}if(u[0]===6&&n.label<s[1]){n.label=s[1],s=u;break}if(s&&n.label<s[2]){n.label=s[2],n.ops.push(u);break}s[2]&&n.ops.pop(),n.trys.pop();continue}u=t.call(e,n)}catch(c){u=[6,c],i=0}finally{r=s=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}var Jh=Object.create?function(e,t,n,r){r===void 0&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]};function jD(e,t){for(var n in e)n!=="default"&&!Object.prototype.hasOwnProperty.call(t,n)&&Jh(t,e,n)}function ld(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function uS(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,s=[],o;try{for(;(t===void 0||t-- >0)&&!(i=r.next()).done;)s.push(i.value)}catch(a){o={error:a}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return s}function zD(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(uS(arguments[t]));return e}function BD(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;for(var r=Array(e),i=0,t=0;t<n;t++)for(var s=arguments[t],o=0,a=s.length;o<a;o++,i++)r[i]=s[o];return r}function UD(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,s;r<i;r++)(s||!(r in t))&&(s||(s=Array.prototype.slice.call(t,0,r)),s[r]=t[r]);return e.concat(s||t)}function yo(e){return this instanceof yo?(this.v=e,this):new yo(e)}function $D(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),i,s=[];return i={},o("next"),o("throw"),o("return"),i[Symbol.asyncIterator]=function(){return this},i;function o(d){r[d]&&(i[d]=function(p){return new Promise(function(h,y){s.push([d,p,h,y])>1||a(d,p)})})}function a(d,p){try{l(r[d](p))}catch(h){f(s[0][3],h)}}function l(d){d.value instanceof yo?Promise.resolve(d.value.v).then(u,c):f(s[0][2],d)}function u(d){a("next",d)}function c(d){a("throw",d)}function f(d,p){d(p),s.shift(),s.length&&a(s[0][0],s[0][1])}}function WD(e){var t,n;return t={},r("next"),r("throw",function(i){throw i}),r("return"),t[Symbol.iterator]=function(){return this},t;function r(i,s){t[i]=e[i]?function(o){return(n=!n)?{value:yo(e[i](o)),done:i==="return"}:s?s(o):o}:s}}function HD(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof ld=="function"?ld(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(s){n[s]=e[s]&&function(o){return new Promise(function(a,l){o=e[s](o),i(a,l,o.done,o.value)})}}function i(s,o,a,l){Promise.resolve(l).then(function(u){s({value:u,done:a})},o)}}function KD(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var qD=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};function GD(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)n!=="default"&&Object.prototype.hasOwnProperty.call(e,n)&&Jh(t,e,n);return qD(t,e),t}function QD(e){return e&&e.__esModule?e:{default:e}}function XD(e,t,n,r){if(n==="a"&&!r)throw new TypeError("Private accessor was defined without a getter");if(typeof t=="function"?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return n==="m"?r:n==="a"?r.call(e):r?r.value:t.get(e)}function YD(e,t,n,r,i){if(r==="m")throw new TypeError("Private method is not writable");if(r==="a"&&!i)throw new TypeError("Private accessor was defined without a setter");if(typeof t=="function"?e!==t||!i:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return r==="a"?i.call(e,n):i?i.value=n:t.set(e,n),n}const ZD=Object.freeze(Object.defineProperty({__proto__:null,get __assign(){return ad},__asyncDelegator:WD,__asyncGenerator:$D,__asyncValues:HD,__await:yo,__awaiter:ND,__classPrivateFieldGet:XD,__classPrivateFieldSet:YD,__createBinding:Jh,__decorate:_D,__exportStar:jD,__extends:DD,__generator:ID,__importDefault:QD,__importStar:GD,__makeTemplateObject:KD,__metadata:VD,__param:FD,__read:uS,__rest:LD,__spread:zD,__spreadArray:UD,__spreadArrays:BD,__values:ld},Symbol.toStringTag,{value:"Module"})),X3=dS(ZD);var an={},ln={},mc={},Dg;function JD(){return Dg||(Dg=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=1;e.default=function(){return"".concat(t++)}}(mc)),mc}var Cs={},Es={},yc={},Lg;function cS(){return Lg||(Lg=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default=function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:60,i=null;return function(){for(var s=this,o=arguments.length,a=new Array(o),l=0;l<o;l++)a[l]=arguments[l];clearTimeout(i),i=setTimeout(function(){n.apply(s,a)},r)}}}(yc)),yc}var un={},_g;function ep(){return _g||(_g=1,Object.defineProperty(un,"__esModule",{value:!0}),un.SizeSensorId=un.SensorTabIndex=un.SensorClassName=void 0,un.SizeSensorId="size-sensor-id",un.SensorClassName="size-sensor-object",un.SensorTabIndex="-1"),un}var Fg;function eL(){if(Fg)return Es;Fg=1,Object.defineProperty(Es,"__esModule",{value:!0}),Es.createSensor=void 0;var e=n(cS()),t=ep();function n(r){return r&&r.__esModule?r:{default:r}}return Es.createSensor=function(i,s){var o=void 0,a=[],l=function(){getComputedStyle(i).position==="static"&&(i.style.position="relative");var h=document.createElement("object");return h.onload=function(){h.contentDocument.defaultView.addEventListener("resize",u),u()},h.style.display="block",h.style.position="absolute",h.style.top="0",h.style.left="0",h.style.height="100%",h.style.width="100%",h.style.overflow="hidden",h.style.pointerEvents="none",h.style.zIndex="-1",h.style.opacity="0",h.setAttribute("class",t.SensorClassName),h.setAttribute("tabindex",t.SensorTabIndex),h.type="text/html",i.appendChild(h),h.data="about:blank",h},u=(0,e.default)(function(){a.forEach(function(p){p(i)})}),c=function(h){o||(o=l()),a.indexOf(h)===-1&&a.push(h)},f=function(){o&&o.parentNode&&(o.contentDocument&&o.contentDocument.defaultView.removeEventListener("resize",u),o.parentNode.removeChild(o),i.removeAttribute(t.SizeSensorId),o=void 0,a=[],s&&s())},d=function(h){var y=a.indexOf(h);y!==-1&&a.splice(y,1),a.length===0&&o&&f()};return{element:i,bind:c,destroy:f,unbind:d}},Es}var bs={},Vg;function tL(){if(Vg)return bs;Vg=1,Object.defineProperty(bs,"__esModule",{value:!0}),bs.createSensor=void 0;var e=ep(),t=n(cS());function n(r){return r&&r.__esModule?r:{default:r}}return bs.createSensor=function(i,s){var o=void 0,a=[],l=(0,t.default)(function(){a.forEach(function(p){p(i)})}),u=function(){var h=new ResizeObserver(l);return h.observe(i),l(),h},c=function(h){o||(o=u()),a.indexOf(h)===-1&&a.push(h)},f=function(){o&&o.disconnect(),a=[],o=void 0,i.removeAttribute(e.SizeSensorId),s&&s()},d=function(h){var y=a.indexOf(h);y!==-1&&a.splice(y,1),a.length===0&&o&&f()};return{element:i,bind:c,destroy:f,unbind:d}},bs}var Ng;function nL(){if(Ng)return Cs;Ng=1,Object.defineProperty(Cs,"__esModule",{value:!0}),Cs.createSensor=void 0;var e=eL(),t=tL();return Cs.createSensor=typeof ResizeObserver<"u"?t.createSensor:e.createSensor,Cs}var Ig;function rL(){if(Ig)return ln;Ig=1,Object.defineProperty(ln,"__esModule",{value:!0}),ln.removeSensor=ln.getSensor=ln.Sensors=void 0;var e=r(JD()),t=nL(),n=ep();function r(o){return o&&o.__esModule?o:{default:o}}var i=ln.Sensors={};function s(o){o&&i[o]&&delete i[o]}return ln.getSensor=function(a){var l=a.getAttribute(n.SizeSensorId);if(l&&i[l])return i[l];var u=(0,e.default)();a.setAttribute(n.SizeSensorId,u);var c=(0,t.createSensor)(a,function(){return s(u)});return i[u]=c,c},ln.removeSensor=function(a){var l=a.element.getAttribute(n.SizeSensorId);a.destroy(),s(l)},ln}var jg;function Y3(){if(jg)return an;jg=1,Object.defineProperty(an,"__esModule",{value:!0}),an.ver=an.clear=an.bind=void 0;var e=rL();return an.bind=function(n,r){var i=(0,e.getSensor)(n);return i.bind(r),function(){i.unbind(r)}},an.clear=function(n){var r=(0,e.getSensor)(n);(0,e.removeSensor)(r)},an.ver="1.0.3",an}var gc,zg;function Z3(){return zg||(zg=1,gc=function e(t,n){if(t===n)return!0;if(t&&n&&typeof t=="object"&&typeof n=="object"){if(t.constructor!==n.constructor)return!1;var r,i,s;if(Array.isArray(t)){if(r=t.length,r!=n.length)return!1;for(i=r;i--!==0;)if(!e(t[i],n[i]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if(s=Object.keys(t),r=s.length,r!==Object.keys(n).length)return!1;for(i=r;i--!==0;)if(!Object.prototype.hasOwnProperty.call(n,s[i]))return!1;for(i=r;i--!==0;){var o=s[i];if(!e(t[o],n[o]))return!1}return!0}return t!==t&&n!==n}),gc}export{HL as $,wi as A,N3 as B,B3 as C,oL as D,_T as E,K3 as F,X3 as G,Z3 as H,Y3 as I,fL as J,Se as K,PL as L,cL as M,d3 as N,UL as O,n3 as P,uL as Q,sL as R,l3 as S,IL as T,o3 as U,E3 as V,c3 as W,YL as X,V3 as Y,GL as Z,DD as _,yt as a,XL as a0,A3 as a1,y3 as a2,m3 as a3,a3 as a4,g3 as a5,ap as a6,i3 as a7,M3 as a8,zL as a9,e3 as aA,u3 as aB,f3 as aC,t3 as aD,BL as aE,jL as aF,NL as aG,R3 as aH,C3 as aI,aL as aJ,P3 as aK,h3 as aL,WL as aa,D3 as ab,v3 as ac,p3 as ad,s3 as ae,k3 as af,_3 as ag,KL as ah,ZL as ai,F3 as aj,fb as ak,VL as al,G3 as am,Q3 as an,S3 as ao,QL as ap,L3 as aq,JL as ar,qL as as,b3 as at,x3 as au,r3 as av,w3 as aw,O3 as ax,$L as ay,T3 as az,Ai as b,_a as c,_L as d,eb as e,FL as f,LL as g,U1 as h,Yi as i,xn as j,OL as k,YE as l,DL as m,De as n,ih as o,tu as p,RS as q,T as r,lL as s,j3 as t,I3 as u,z3 as v,U3 as w,$3 as x,H3 as y,W3 as z};