uilint-react 0.2.1 → 0.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/DevTool.d.ts +11 -0
- package/dist/DevTool.d.ts.map +1 -0
- package/dist/ElementBadges-BNRIjtRW.js +672 -0
- package/dist/ElementBadges-BNRIjtRW.js.map +1 -0
- package/dist/VisionIssueBadge-C6vfwtec.js +154 -0
- package/dist/VisionIssueBadge-C6vfwtec.js.map +1 -0
- package/dist/components/Highlighter.d.ts +6 -0
- package/dist/components/Highlighter.d.ts.map +1 -0
- package/dist/components/ui-lint/ElementBadges.d.ts +6 -0
- package/dist/components/ui-lint/ElementBadges.d.ts.map +1 -0
- package/dist/components/ui-lint/InspectionPanel.d.ts +6 -0
- package/dist/components/ui-lint/InspectionPanel.d.ts.map +1 -0
- package/dist/components/ui-lint/LocatorOverlay.d.ts +14 -0
- package/dist/components/ui-lint/LocatorOverlay.d.ts.map +1 -0
- package/dist/components/ui-lint/RegionSelector.d.ts +18 -0
- package/dist/components/ui-lint/RegionSelector.d.ts.map +1 -0
- package/dist/components/ui-lint/ScanResultsPopover.d.ts +6 -0
- package/dist/components/ui-lint/ScanResultsPopover.d.ts.map +1 -0
- package/dist/components/ui-lint/ScreenshotViewer.d.ts +11 -0
- package/dist/components/ui-lint/ScreenshotViewer.d.ts.map +1 -0
- package/dist/components/ui-lint/UILintProvider.d.ts +11 -0
- package/dist/components/ui-lint/UILintProvider.d.ts.map +1 -0
- package/dist/components/ui-lint/VisionIssueBadge.d.ts +6 -0
- package/dist/components/ui-lint/VisionIssueBadge.d.ts.map +1 -0
- package/dist/components/ui-lint/VisionIssuesPanel.d.ts +12 -0
- package/dist/components/ui-lint/VisionIssuesPanel.d.ts.map +1 -0
- package/dist/components/ui-lint/badge-layout.d.ts +91 -0
- package/dist/components/ui-lint/badge-layout.d.ts.map +1 -0
- package/dist/components/ui-lint/code-formatting.d.ts +14 -0
- package/dist/components/ui-lint/code-formatting.d.ts.map +1 -0
- package/dist/components/ui-lint/dom-utils.d.ts +43 -0
- package/dist/components/ui-lint/dom-utils.d.ts.map +1 -0
- package/dist/components/ui-lint/index.d.ts +22 -0
- package/dist/components/ui-lint/index.d.ts.map +1 -0
- package/dist/components/ui-lint/inspection-panel-positioning.d.ts +41 -0
- package/dist/components/ui-lint/inspection-panel-positioning.d.ts.map +1 -0
- package/dist/components/ui-lint/portal-host.d.ts +3 -0
- package/dist/components/ui-lint/portal-host.d.ts.map +1 -0
- package/dist/components/ui-lint/scan-results/FileTree.d.ts +25 -0
- package/dist/components/ui-lint/scan-results/FileTree.d.ts.map +1 -0
- package/dist/components/ui-lint/scan-results/IssueRow.d.ts +16 -0
- package/dist/components/ui-lint/scan-results/IssueRow.d.ts.map +1 -0
- package/dist/components/ui-lint/scan-results/SearchFilter.d.ts +8 -0
- package/dist/components/ui-lint/scan-results/SearchFilter.d.ts.map +1 -0
- package/dist/components/ui-lint/source-fetcher.d.ts +40 -0
- package/dist/components/ui-lint/source-fetcher.d.ts.map +1 -0
- package/dist/components/ui-lint/store.d.ts +194 -0
- package/dist/components/ui-lint/store.d.ts.map +1 -0
- package/dist/components/ui-lint/toolbar/TabbedToolbar.d.ts +2 -0
- package/dist/components/ui-lint/toolbar/TabbedToolbar.d.ts.map +1 -0
- package/dist/components/ui-lint/toolbar/icons.d.ts +29 -0
- package/dist/components/ui-lint/toolbar/icons.d.ts.map +1 -0
- package/dist/components/ui-lint/toolbar/index.d.ts +3 -0
- package/dist/components/ui-lint/toolbar/index.d.ts.map +1 -0
- package/dist/components/ui-lint/toolbar/tabs/ConfigureTab.d.ts +2 -0
- package/dist/components/ui-lint/toolbar/tabs/ConfigureTab.d.ts.map +1 -0
- package/dist/components/ui-lint/toolbar/tabs/ESLintTab.d.ts +2 -0
- package/dist/components/ui-lint/toolbar/tabs/ESLintTab.d.ts.map +1 -0
- package/dist/components/ui-lint/toolbar/tabs/VisionTab.d.ts +2 -0
- package/dist/components/ui-lint/toolbar/tabs/VisionTab.d.ts.map +1 -0
- package/dist/components/ui-lint/toolbar/tokens.d.ts +45 -0
- package/dist/components/ui-lint/toolbar/tokens.d.ts.map +1 -0
- package/dist/components/ui-lint/types.d.ts +170 -0
- package/dist/components/ui-lint/types.d.ts.map +1 -0
- package/dist/components/ui-lint/useDOMObserver.d.ts +11 -0
- package/dist/components/ui-lint/useDOMObserver.d.ts.map +1 -0
- package/dist/components/ui-lint/visibility-utils.d.ts +41 -0
- package/dist/components/ui-lint/visibility-utils.d.ts.map +1 -0
- package/dist/consistency/highlights.d.ts +14 -0
- package/dist/consistency/highlights.d.ts.map +1 -0
- package/dist/consistency/index.d.ts +7 -0
- package/dist/consistency/index.d.ts.map +1 -0
- package/dist/consistency/snapshot.d.ts +14 -0
- package/dist/consistency/snapshot.d.ts.map +1 -0
- package/dist/consistency/types.d.ts +5 -0
- package/dist/consistency/types.d.ts.map +1 -0
- package/dist/devtools.d.ts +8 -0
- package/dist/devtools.d.ts.map +1 -0
- package/dist/devtools.js +259 -0
- package/dist/devtools.js.map +1 -0
- package/dist/environment-DVxa60C6.js +26 -0
- package/dist/environment-DVxa60C6.js.map +1 -0
- package/dist/index-BGzkrD0y.js +12304 -0
- package/dist/index-BGzkrD0y.js.map +1 -0
- package/dist/index-L3Zm-CoX.js +513 -0
- package/dist/index-L3Zm-CoX.js.map +1 -0
- package/dist/index.d.ts +13 -339
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +43 -482
- package/dist/index.js.map +1 -0
- package/dist/lib/utils.d.ts +11 -0
- package/dist/lib/utils.d.ts.map +1 -0
- package/dist/node.d.ts +7 -38
- package/dist/node.d.ts.map +1 -0
- package/dist/node.js +32 -79
- package/dist/node.js.map +1 -0
- package/dist/scanner/dom-scanner.d.ts +7 -0
- package/dist/scanner/dom-scanner.d.ts.map +1 -0
- package/dist/scanner/environment.d.ts +16 -0
- package/dist/scanner/environment.d.ts.map +1 -0
- package/dist/scanner/jsdom-adapter.d.ts +30 -0
- package/dist/scanner/jsdom-adapter.d.ts.map +1 -0
- package/dist/scanner/vision-capture.d.ts +131 -0
- package/dist/scanner/vision-capture.d.ts.map +1 -0
- package/dist/styles/inject-styles.d.ts +2 -0
- package/dist/styles/inject-styles.d.ts.map +1 -0
- package/dist/vision-capture-EIrYA_XF.js +216 -0
- package/dist/vision-capture-EIrYA_XF.js.map +1 -0
- package/dist/web-component.d.ts +2 -0
- package/dist/web-component.d.ts.map +1 -0
- package/package.json +36 -7
- package/dist/ElementBadges-2CTPMJ6L.js +0 -825
- package/dist/InspectionPanel-NXSE7CMH.js +0 -10
- package/dist/LocatorOverlay-3TKK74BD.js +0 -11
- package/dist/UILintToolbar-CLVXQHCZ.js +0 -10
- package/dist/chunk-552GIJIQ.js +0 -1109
- package/dist/chunk-K46BWHFU.js +0 -271
- package/dist/chunk-KKNPFLL2.js +0 -1853
- package/dist/chunk-S4IWHBOQ.js +0 -178
- package/dist/chunk-Z4AAGFIN.js +0 -933
package/dist/devtools.js
ADDED
|
@@ -0,0 +1,259 @@
|
|
|
1
|
+
(function(){"use strict";function z5(i,o){for(var u=0;u<o.length;u++){const f=o[u];if(typeof f!="string"&&!Array.isArray(f)){for(const p in f)if(p!=="default"&&!(p in i)){const g=Object.getOwnPropertyDescriptor(f,p);g&&Object.defineProperty(i,p,g.get?g:{enumerable:!0,get:()=>f[p]})}}}return Object.freeze(Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}))}function R5(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}var fv={exports:{}},Vm={};var D2;function M5(){if(D2)return Vm;D2=1;var i=Symbol.for("react.transitional.element"),o=Symbol.for("react.fragment");function u(f,p,g){var y=null;if(g!==void 0&&(y=""+g),p.key!==void 0&&(y=""+p.key),"key"in p){g={};for(var S in p)S!=="key"&&(g[S]=p[S])}else g=p;return p=g.ref,{$$typeof:i,type:f,key:y,ref:p!==void 0?p:null,props:g}}return Vm.Fragment=o,Vm.jsx=u,Vm.jsxs=u,Vm}var Ym={},dv={exports:{}},st={};var _2;function D5(){if(_2)return st;_2=1;var i=Symbol.for("react.transitional.element"),o=Symbol.for("react.portal"),u=Symbol.for("react.fragment"),f=Symbol.for("react.strict_mode"),p=Symbol.for("react.profiler"),g=Symbol.for("react.consumer"),y=Symbol.for("react.context"),S=Symbol.for("react.forward_ref"),x=Symbol.for("react.suspense"),E=Symbol.for("react.memo"),C=Symbol.for("react.lazy"),T=Symbol.for("react.activity"),z=Symbol.iterator;function N(k){return k===null||typeof k!="object"?null:(k=z&&k[z]||k["@@iterator"],typeof k=="function"?k:null)}var H={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Q=Object.assign,q={};function W(k,te,xe){this.props=k,this.context=te,this.refs=q,this.updater=xe||H}W.prototype.isReactComponent={},W.prototype.setState=function(k,te){if(typeof k!="object"&&typeof k!="function"&&k!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,k,te,"setState")},W.prototype.forceUpdate=function(k){this.updater.enqueueForceUpdate(this,k,"forceUpdate")};function U(){}U.prototype=W.prototype;function $(k,te,xe){this.props=k,this.context=te,this.refs=q,this.updater=xe||H}var le=$.prototype=new U;le.constructor=$,Q(le,W.prototype),le.isPureReactComponent=!0;var pe=Array.isArray;function de(){}var he={H:null,A:null,T:null,S:null},re=Object.prototype.hasOwnProperty;function we(k,te,xe){var Ee=xe.ref;return{$$typeof:i,type:k,key:te,ref:Ee!==void 0?Ee:null,props:xe}}function ye(k,te){return we(k.type,te,k.props)}function je(k){return typeof k=="object"&&k!==null&&k.$$typeof===i}function ee(k){var te={"=":"=0",":":"=2"};return"$"+k.replace(/[=:]/g,function(xe){return te[xe]})}var Re=/\/+/g;function Ke(k,te){return typeof k=="object"&&k!==null&&k.key!=null?ee(""+k.key):te.toString(36)}function lt(k){switch(k.status){case"fulfilled":return k.value;case"rejected":throw k.reason;default:switch(typeof k.status=="string"?k.then(de,de):(k.status="pending",k.then(function(te){k.status==="pending"&&(k.status="fulfilled",k.value=te)},function(te){k.status==="pending"&&(k.status="rejected",k.reason=te)})),k.status){case"fulfilled":return k.value;case"rejected":throw k.reason}}throw k}function G(k,te,xe,Ee,Ye){var et=typeof k;(et==="undefined"||et==="boolean")&&(k=null);var Qe=!1;if(k===null)Qe=!0;else switch(et){case"bigint":case"string":case"number":Qe=!0;break;case"object":switch(k.$$typeof){case i:case o:Qe=!0;break;case C:return Qe=k._init,G(Qe(k._payload),te,xe,Ee,Ye)}}if(Qe)return Ye=Ye(k),Qe=Ee===""?"."+Ke(k,0):Ee,pe(Ye)?(xe="",Qe!=null&&(xe=Qe.replace(Re,"$&/")+"/"),G(Ye,te,xe,"",function(al){return al})):Ye!=null&&(je(Ye)&&(Ye=ye(Ye,xe+(Ye.key==null||k&&k.key===Ye.key?"":(""+Ye.key).replace(Re,"$&/")+"/")+Qe)),te.push(Ye)),1;Qe=0;var Wt=Ee===""?".":Ee+":";if(pe(k))for(var Mt=0;Mt<k.length;Mt++)Ee=k[Mt],et=Wt+Ke(Ee,Mt),Qe+=G(Ee,te,xe,et,Ye);else if(Mt=N(k),typeof Mt=="function")for(k=Mt.call(k),Mt=0;!(Ee=k.next()).done;)Ee=Ee.value,et=Wt+Ke(Ee,Mt++),Qe+=G(Ee,te,xe,et,Ye);else if(et==="object"){if(typeof k.then=="function")return G(lt(k),te,xe,Ee,Ye);throw te=String(k),Error("Objects are not valid as a React child (found: "+(te==="[object Object]"?"object with keys {"+Object.keys(k).join(", ")+"}":te)+"). If you meant to render a collection of children, use an array instead.")}return Qe}function I(k,te,xe){if(k==null)return k;var Ee=[],Ye=0;return G(k,Ee,"","",function(et){return te.call(xe,et,Ye++)}),Ee}function fe(k){if(k._status===-1){var te=k._result;te=te(),te.then(function(xe){(k._status===0||k._status===-1)&&(k._status=1,k._result=xe)},function(xe){(k._status===0||k._status===-1)&&(k._status=2,k._result=xe)}),k._status===-1&&(k._status=0,k._result=te)}if(k._status===1)return k._result.default;throw k._result}var Ae=typeof reportError=="function"?reportError:function(k){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var te=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof k=="object"&&k!==null&&typeof k.message=="string"?String(k.message):String(k),error:k});if(!window.dispatchEvent(te))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",k);return}console.error(k)},De={map:I,forEach:function(k,te,xe){I(k,function(){te.apply(this,arguments)},xe)},count:function(k){var te=0;return I(k,function(){te++}),te},toArray:function(k){return I(k,function(te){return te})||[]},only:function(k){if(!je(k))throw Error("React.Children.only expected to receive a single React element child.");return k}};return st.Activity=T,st.Children=De,st.Component=W,st.Fragment=u,st.Profiler=p,st.PureComponent=$,st.StrictMode=f,st.Suspense=x,st.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=he,st.__COMPILER_RUNTIME={__proto__:null,c:function(k){return he.H.useMemoCache(k)}},st.cache=function(k){return function(){return k.apply(null,arguments)}},st.cacheSignal=function(){return null},st.cloneElement=function(k,te,xe){if(k==null)throw Error("The argument must be a React element, but you passed "+k+".");var Ee=Q({},k.props),Ye=k.key;if(te!=null)for(et in te.key!==void 0&&(Ye=""+te.key),te)!re.call(te,et)||et==="key"||et==="__self"||et==="__source"||et==="ref"&&te.ref===void 0||(Ee[et]=te[et]);var et=arguments.length-2;if(et===1)Ee.children=xe;else if(1<et){for(var Qe=Array(et),Wt=0;Wt<et;Wt++)Qe[Wt]=arguments[Wt+2];Ee.children=Qe}return we(k.type,Ye,Ee)},st.createContext=function(k){return k={$$typeof:y,_currentValue:k,_currentValue2:k,_threadCount:0,Provider:null,Consumer:null},k.Provider=k,k.Consumer={$$typeof:g,_context:k},k},st.createElement=function(k,te,xe){var Ee,Ye={},et=null;if(te!=null)for(Ee in te.key!==void 0&&(et=""+te.key),te)re.call(te,Ee)&&Ee!=="key"&&Ee!=="__self"&&Ee!=="__source"&&(Ye[Ee]=te[Ee]);var Qe=arguments.length-2;if(Qe===1)Ye.children=xe;else if(1<Qe){for(var Wt=Array(Qe),Mt=0;Mt<Qe;Mt++)Wt[Mt]=arguments[Mt+2];Ye.children=Wt}if(k&&k.defaultProps)for(Ee in Qe=k.defaultProps,Qe)Ye[Ee]===void 0&&(Ye[Ee]=Qe[Ee]);return we(k,et,Ye)},st.createRef=function(){return{current:null}},st.forwardRef=function(k){return{$$typeof:S,render:k}},st.isValidElement=je,st.lazy=function(k){return{$$typeof:C,_payload:{_status:-1,_result:k},_init:fe}},st.memo=function(k,te){return{$$typeof:E,type:k,compare:te===void 0?null:te}},st.startTransition=function(k){var te=he.T,xe={};he.T=xe;try{var Ee=k(),Ye=he.S;Ye!==null&&Ye(xe,Ee),typeof Ee=="object"&&Ee!==null&&typeof Ee.then=="function"&&Ee.then(de,Ae)}catch(et){Ae(et)}finally{te!==null&&xe.types!==null&&(te.types=xe.types),he.T=te}},st.unstable_useCacheRefresh=function(){return he.H.useCacheRefresh()},st.use=function(k){return he.H.use(k)},st.useActionState=function(k,te,xe){return he.H.useActionState(k,te,xe)},st.useCallback=function(k,te){return he.H.useCallback(k,te)},st.useContext=function(k){return he.H.useContext(k)},st.useDebugValue=function(){},st.useDeferredValue=function(k,te){return he.H.useDeferredValue(k,te)},st.useEffect=function(k,te){return he.H.useEffect(k,te)},st.useEffectEvent=function(k){return he.H.useEffectEvent(k)},st.useId=function(){return he.H.useId()},st.useImperativeHandle=function(k,te,xe){return he.H.useImperativeHandle(k,te,xe)},st.useInsertionEffect=function(k,te){return he.H.useInsertionEffect(k,te)},st.useLayoutEffect=function(k,te){return he.H.useLayoutEffect(k,te)},st.useMemo=function(k,te){return he.H.useMemo(k,te)},st.useOptimistic=function(k,te){return he.H.useOptimistic(k,te)},st.useReducer=function(k,te,xe){return he.H.useReducer(k,te,xe)},st.useRef=function(k){return he.H.useRef(k)},st.useState=function(k){return he.H.useState(k)},st.useSyncExternalStore=function(k,te,xe){return he.H.useSyncExternalStore(k,te,xe)},st.useTransition=function(){return he.H.useTransition()},st.version="19.2.3",st}var qm={exports:{}};qm.exports;var O2;function _5(){return O2||(O2=1,(function(i,o){process.env.NODE_ENV!=="production"&&(function(){function u(_,F){Object.defineProperty(g.prototype,_,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",F[0],F[1])}})}function f(_){return _===null||typeof _!="object"?null:(_=or&&_[or]||_["@@iterator"],typeof _=="function"?_:null)}function p(_,F){_=(_=_.constructor)&&(_.displayName||_.name)||"ReactClass";var Te=_+"."+F;rr[Te]||(console.error("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",F,_),rr[Te]=!0)}function g(_,F,Te){this.props=_,this.context=F,this.refs=Dt,this.updater=Te||ll}function y(){}function S(_,F,Te){this.props=_,this.context=F,this.refs=Dt,this.updater=Te||ll}function x(){}function E(_){return""+_}function C(_){try{E(_);var F=!1}catch{F=!0}if(F){F=console;var Te=F.error,Ce=typeof Symbol=="function"&&Symbol.toStringTag&&_[Symbol.toStringTag]||_.constructor.name||"Object";return Te.call(F,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",Ce),E(_)}}function T(_){if(_==null)return null;if(typeof _=="function")return _.$$typeof===hf?null:_.displayName||_.name||null;if(typeof _=="string")return _;switch(_){case k:return"Fragment";case xe:return"Profiler";case te:return"StrictMode";case Qe:return"Suspense";case Wt:return"SuspenseList";case _e:return"Activity"}if(typeof _=="object")switch(typeof _.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),_.$$typeof){case De:return"Portal";case Ye:return _.displayName||"Context";case Ee:return(_._context.displayName||"Context")+".Consumer";case et:var F=_.render;return _=_.displayName,_||(_=F.displayName||F.name||"",_=_!==""?"ForwardRef("+_+")":"ForwardRef"),_;case Mt:return F=_.displayName||null,F!==null?F:T(_.type)||"Memo";case al:F=_._payload,_=_._init;try{return T(_(F))}catch{}}return null}function z(_){if(_===k)return"<>";if(typeof _=="object"&&_!==null&&_.$$typeof===al)return"<...>";try{var F=T(_);return F?"<"+F+">":"<...>"}catch{return"<...>"}}function N(){var _=Ue.A;return _===null?null:_.getOwner()}function H(){return Error("react-stack-top-frame")}function Q(_){if(sr.call(_,"key")){var F=Object.getOwnPropertyDescriptor(_,"key").get;if(F&&F.isReactWarning)return!1}return _.key!==void 0}function q(_,F){function Te(){ns||(ns=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",F))}Te.isReactWarning=!0,Object.defineProperty(_,"key",{get:Te,configurable:!0})}function W(){var _=T(this.type);return bh[_]||(bh[_]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),_=this.props.ref,_!==void 0?_:null}function U(_,F,Te,Ce,Le,$e){var He=Te.ref;return _={$$typeof:Ae,type:_,key:F,props:Te,_owner:Ce},(He!==void 0?He:null)!==null?Object.defineProperty(_,"ref",{enumerable:!1,get:W}):Object.defineProperty(_,"ref",{enumerable:!1,value:null}),_._store={},Object.defineProperty(_._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(_,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(_,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:Le}),Object.defineProperty(_,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:$e}),Object.freeze&&(Object.freeze(_.props),Object.freeze(_)),_}function $(_,F){return F=U(_.type,F,_.props,_._owner,_._debugStack,_._debugTask),_._store&&(F._store.validated=_._store.validated),F}function le(_){pe(_)?_._store&&(_._store.validated=1):typeof _=="object"&&_!==null&&_.$$typeof===al&&(_._payload.status==="fulfilled"?pe(_._payload.value)&&_._payload.value._store&&(_._payload.value._store.validated=1):_._store&&(_._store.validated=1))}function pe(_){return typeof _=="object"&&_!==null&&_.$$typeof===Ae}function de(_){var F={"=":"=0",":":"=2"};return"$"+_.replace(/[=:]/g,function(Te){return F[Te]})}function he(_,F){return typeof _=="object"&&_!==null&&_.key!=null?(C(_.key),de(""+_.key)):F.toString(36)}function re(_){switch(_.status){case"fulfilled":return _.value;case"rejected":throw _.reason;default:switch(typeof _.status=="string"?_.then(x,x):(_.status="pending",_.then(function(F){_.status==="pending"&&(_.status="fulfilled",_.value=F)},function(F){_.status==="pending"&&(_.status="rejected",_.reason=F)})),_.status){case"fulfilled":return _.value;case"rejected":throw _.reason}}throw _}function we(_,F,Te,Ce,Le){var $e=typeof _;($e==="undefined"||$e==="boolean")&&(_=null);var He=!1;if(_===null)He=!0;else switch($e){case"bigint":case"string":case"number":He=!0;break;case"object":switch(_.$$typeof){case Ae:case De:He=!0;break;case al:return He=_._init,we(He(_._payload),F,Te,Ce,Le)}}if(He){He=_,Le=Le(He);var yt=Ce===""?"."+he(He,0):Ce;return ts(Le)?(Te="",yt!=null&&(Te=yt.replace(Sh,"$&/")+"/"),we(Le,F,Te,"",function(ma){return ma})):Le!=null&&(pe(Le)&&(Le.key!=null&&(He&&He.key===Le.key||C(Le.key)),Te=$(Le,Te+(Le.key==null||He&&He.key===Le.key?"":(""+Le.key).replace(Sh,"$&/")+"/")+yt),Ce!==""&&He!=null&&pe(He)&&He.key==null&&He._store&&!He._store.validated&&(Te._store.validated=2),Le=Te),F.push(Le)),1}if(He=0,yt=Ce===""?".":Ce+":",ts(_))for(var it=0;it<_.length;it++)Ce=_[it],$e=yt+he(Ce,it),He+=we(Ce,F,Te,$e,Le);else if(it=f(_),typeof it=="function")for(it===_.entries&&(Il||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Il=!0),_=it.call(_),it=0;!(Ce=_.next()).done;)Ce=Ce.value,$e=yt+he(Ce,it++),He+=we(Ce,F,Te,$e,Le);else if($e==="object"){if(typeof _.then=="function")return we(re(_),F,Te,Ce,Le);throw F=String(_),Error("Objects are not valid as a React child (found: "+(F==="[object Object]"?"object with keys {"+Object.keys(_).join(", ")+"}":F)+"). If you meant to render a collection of children, use an array instead.")}return He}function ye(_,F,Te){if(_==null)return _;var Ce=[],Le=0;return we(_,Ce,"","",function($e){return F.call(Te,$e,Le++)}),Ce}function je(_){if(_._status===-1){var F=_._ioInfo;F!=null&&(F.start=F.end=performance.now()),F=_._result;var Te=F();if(Te.then(function(Le){if(_._status===0||_._status===-1){_._status=1,_._result=Le;var $e=_._ioInfo;$e!=null&&($e.end=performance.now()),Te.status===void 0&&(Te.status="fulfilled",Te.value=Le)}},function(Le){if(_._status===0||_._status===-1){_._status=2,_._result=Le;var $e=_._ioInfo;$e!=null&&($e.end=performance.now()),Te.status===void 0&&(Te.status="rejected",Te.reason=Le)}}),F=_._ioInfo,F!=null){F.value=Te;var Ce=Te.displayName;typeof Ce=="string"&&(F.name=Ce)}_._status===-1&&(_._status=0,_._result=Te)}if(_._status===1)return F=_._result,F===void 0&&console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
2
|
+
|
|
3
|
+
Your code should look like:
|
|
4
|
+
const MyComponent = lazy(() => import('./MyComponent'))
|
|
5
|
+
|
|
6
|
+
Did you accidentally put curly braces around the import?`,F),"default"in F||console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
7
|
+
|
|
8
|
+
Your code should look like:
|
|
9
|
+
const MyComponent = lazy(() => import('./MyComponent'))`,F),F.default;throw _._result}function ee(){var _=Ue.H;return _===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
10
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
11
|
+
2. You might be breaking the Rules of Hooks
|
|
12
|
+
3. You might have more than one copy of React in the same app
|
|
13
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),_}function Re(){Ue.asyncTransitions--}function Ke(_){if(as===null)try{var F=("require"+Math.random()).slice(0,7);as=(i&&i[F]).call(i,"timers").setImmediate}catch{as=function(Ce){pf===!1&&(pf=!0,typeof MessageChannel>"u"&&console.error("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var Le=new MessageChannel;Le.port1.onmessage=Ce,Le.port2.postMessage(void 0)}}return as(_)}function lt(_){return 1<_.length&&typeof AggregateError=="function"?new AggregateError(_):_[0]}function G(_,F){F!==_l-1&&console.error("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),_l=F}function I(_,F,Te){var Ce=Ue.actQueue;if(Ce!==null)if(Ce.length!==0)try{fe(Ce),Ke(function(){return I(_,F,Te)});return}catch(Le){Ue.thrownErrors.push(Le)}else Ue.actQueue=null;0<Ue.thrownErrors.length?(Ce=lt(Ue.thrownErrors),Ue.thrownErrors.length=0,Te(Ce)):F(_)}function fe(_){if(!il){il=!0;var F=0;try{for(;F<_.length;F++){var Te=_[F];do{Ue.didUsePromise=!1;var Ce=Te(!1);if(Ce!==null){if(Ue.didUsePromise){_[F]=Te,_.splice(0,F);return}Te=Ce}else break}while(!0)}_.length=0}catch(Le){_.splice(0,F+1),Ue.thrownErrors.push(Le)}finally{il=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var Ae=Symbol.for("react.transitional.element"),De=Symbol.for("react.portal"),k=Symbol.for("react.fragment"),te=Symbol.for("react.strict_mode"),xe=Symbol.for("react.profiler"),Ee=Symbol.for("react.consumer"),Ye=Symbol.for("react.context"),et=Symbol.for("react.forward_ref"),Qe=Symbol.for("react.suspense"),Wt=Symbol.for("react.suspense_list"),Mt=Symbol.for("react.memo"),al=Symbol.for("react.lazy"),_e=Symbol.for("react.activity"),or=Symbol.iterator,rr={},ll={isMounted:function(){return!1},enqueueForceUpdate:function(_){p(_,"forceUpdate")},enqueueReplaceState:function(_){p(_,"replaceState")},enqueueSetState:function(_){p(_,"setState")}},Di=Object.assign,Dt={};Object.freeze(Dt),g.prototype.isReactComponent={},g.prototype.setState=function(_,F){if(typeof _!="object"&&typeof _!="function"&&_!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,_,F,"setState")},g.prototype.forceUpdate=function(_){this.updater.enqueueForceUpdate(this,_,"forceUpdate")};var pa={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]};for(ur in pa)pa.hasOwnProperty(ur)&&u(ur,pa[ur]);y.prototype=g.prototype,pa=S.prototype=new y,pa.constructor=S,Di(pa,g.prototype),pa.isPureReactComponent=!0;var ts=Array.isArray,hf=Symbol.for("react.client.reference"),Ue={H:null,A:null,T:null,S:null,actQueue:null,asyncTransitions:0,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},sr=Object.prototype.hasOwnProperty,_i=console.createTask?console.createTask:function(){return null};pa={react_stack_bottom_frame:function(_){return _()}};var ns,Dn,bh={},Eu=pa.react_stack_bottom_frame.bind(pa,H)(),Tu=_i(z(H)),Il=!1,Sh=/\/+/g,Au=typeof reportError=="function"?reportError:function(_){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var F=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof _=="object"&&_!==null&&typeof _.message=="string"?String(_.message):String(_),error:_});if(!window.dispatchEvent(F))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",_);return}console.error(_)},pf=!1,as=null,_l=0,Nn=!1,il=!1,Xn=typeof queueMicrotask=="function"?function(_){queueMicrotask(function(){return queueMicrotask(_)})}:Ke;pa=Object.freeze({__proto__:null,c:function(_){return ee().useMemoCache(_)}});var ur={map:ye,forEach:function(_,F,Te){ye(_,function(){F.apply(this,arguments)},Te)},count:function(_){var F=0;return ye(_,function(){F++}),F},toArray:function(_){return ye(_,function(F){return F})||[]},only:function(_){if(!pe(_))throw Error("React.Children.only expected to receive a single React element child.");return _}};o.Activity=_e,o.Children=ur,o.Component=g,o.Fragment=k,o.Profiler=xe,o.PureComponent=S,o.StrictMode=te,o.Suspense=Qe,o.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Ue,o.__COMPILER_RUNTIME=pa,o.act=function(_){var F=Ue.actQueue,Te=_l;_l++;var Ce=Ue.actQueue=F!==null?F:[],Le=!1;try{var $e=_()}catch(it){Ue.thrownErrors.push(it)}if(0<Ue.thrownErrors.length)throw G(F,Te),_=lt(Ue.thrownErrors),Ue.thrownErrors.length=0,_;if($e!==null&&typeof $e=="object"&&typeof $e.then=="function"){var He=$e;return Xn(function(){Le||Nn||(Nn=!0,console.error("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))}),{then:function(it,ma){Le=!0,He.then(function(Ol){if(G(F,Te),Te===0){try{fe(Ce),Ke(function(){return I(Ol,it,ma)})}catch(Cu){Ue.thrownErrors.push(Cu)}if(0<Ue.thrownErrors.length){var cr=lt(Ue.thrownErrors);Ue.thrownErrors.length=0,ma(cr)}}else it(Ol)},function(Ol){G(F,Te),0<Ue.thrownErrors.length&&(Ol=lt(Ue.thrownErrors),Ue.thrownErrors.length=0),ma(Ol)})}}}var yt=$e;if(G(F,Te),Te===0&&(fe(Ce),Ce.length!==0&&Xn(function(){Le||Nn||(Nn=!0,console.error("A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\n\nawait act(() => ...)"))}),Ue.actQueue=null),0<Ue.thrownErrors.length)throw _=lt(Ue.thrownErrors),Ue.thrownErrors.length=0,_;return{then:function(it,ma){Le=!0,Te===0?(Ue.actQueue=Ce,Ke(function(){return I(yt,it,ma)})):it(yt)}}},o.cache=function(_){return function(){return _.apply(null,arguments)}},o.cacheSignal=function(){return null},o.captureOwnerStack=function(){var _=Ue.getCurrentStack;return _===null?null:_()},o.cloneElement=function(_,F,Te){if(_==null)throw Error("The argument must be a React element, but you passed "+_+".");var Ce=Di({},_.props),Le=_.key,$e=_._owner;if(F!=null){var He;e:{if(sr.call(F,"ref")&&(He=Object.getOwnPropertyDescriptor(F,"ref").get)&&He.isReactWarning){He=!1;break e}He=F.ref!==void 0}He&&($e=N()),Q(F)&&(C(F.key),Le=""+F.key);for(yt in F)!sr.call(F,yt)||yt==="key"||yt==="__self"||yt==="__source"||yt==="ref"&&F.ref===void 0||(Ce[yt]=F[yt])}var yt=arguments.length-2;if(yt===1)Ce.children=Te;else if(1<yt){He=Array(yt);for(var it=0;it<yt;it++)He[it]=arguments[it+2];Ce.children=He}for(Ce=U(_.type,Le,Ce,$e,_._debugStack,_._debugTask),Le=2;Le<arguments.length;Le++)le(arguments[Le]);return Ce},o.createContext=function(_){return _={$$typeof:Ye,_currentValue:_,_currentValue2:_,_threadCount:0,Provider:null,Consumer:null},_.Provider=_,_.Consumer={$$typeof:Ee,_context:_},_._currentRenderer=null,_._currentRenderer2=null,_},o.createElement=function(_,F,Te){for(var Ce=2;Ce<arguments.length;Ce++)le(arguments[Ce]);Ce={};var Le=null;if(F!=null)for(it in Dn||!("__self"in F)||"key"in F||(Dn=!0,console.warn("Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform")),Q(F)&&(C(F.key),Le=""+F.key),F)sr.call(F,it)&&it!=="key"&&it!=="__self"&&it!=="__source"&&(Ce[it]=F[it]);var $e=arguments.length-2;if($e===1)Ce.children=Te;else if(1<$e){for(var He=Array($e),yt=0;yt<$e;yt++)He[yt]=arguments[yt+2];Object.freeze&&Object.freeze(He),Ce.children=He}if(_&&_.defaultProps)for(it in $e=_.defaultProps,$e)Ce[it]===void 0&&(Ce[it]=$e[it]);Le&&q(Ce,typeof _=="function"?_.displayName||_.name||"Unknown":_);var it=1e4>Ue.recentlyCreatedOwnerStacks++;return U(_,Le,Ce,N(),it?Error("react-stack-top-frame"):Eu,it?_i(z(_)):Tu)},o.createRef=function(){var _={current:null};return Object.seal(_),_},o.forwardRef=function(_){_!=null&&_.$$typeof===Mt?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof _!="function"?console.error("forwardRef requires a render function but was given %s.",_===null?"null":typeof _):_.length!==0&&_.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",_.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),_!=null&&_.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var F={$$typeof:et,render:_},Te;return Object.defineProperty(F,"displayName",{enumerable:!1,configurable:!0,get:function(){return Te},set:function(Ce){Te=Ce,_.name||_.displayName||(Object.defineProperty(_,"name",{value:Ce}),_.displayName=Ce)}}),F},o.isValidElement=pe,o.lazy=function(_){_={_status:-1,_result:_};var F={$$typeof:al,_payload:_,_init:je},Te={name:"lazy",start:-1,end:-1,value:null,owner:null,debugStack:Error("react-stack-top-frame"),debugTask:console.createTask?console.createTask("lazy()"):null};return _._ioInfo=Te,F._debugInfo=[{awaited:Te}],F},o.memo=function(_,F){_==null&&console.error("memo: The first argument must be a component. Instead received: %s",_===null?"null":typeof _),F={$$typeof:Mt,type:_,compare:F===void 0?null:F};var Te;return Object.defineProperty(F,"displayName",{enumerable:!1,configurable:!0,get:function(){return Te},set:function(Ce){Te=Ce,_.name||_.displayName||(Object.defineProperty(_,"name",{value:Ce}),_.displayName=Ce)}}),F},o.startTransition=function(_){var F=Ue.T,Te={};Te._updatedFibers=new Set,Ue.T=Te;try{var Ce=_(),Le=Ue.S;Le!==null&&Le(Te,Ce),typeof Ce=="object"&&Ce!==null&&typeof Ce.then=="function"&&(Ue.asyncTransitions++,Ce.then(Re,Re),Ce.then(x,Au))}catch($e){Au($e)}finally{F===null&&Te._updatedFibers&&(_=Te._updatedFibers.size,Te._updatedFibers.clear(),10<_&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.")),F!==null&&Te.types!==null&&(F.types!==null&&F.types!==Te.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),F.types=Te.types),Ue.T=F}},o.unstable_useCacheRefresh=function(){return ee().useCacheRefresh()},o.use=function(_){return ee().use(_)},o.useActionState=function(_,F,Te){return ee().useActionState(_,F,Te)},o.useCallback=function(_,F){return ee().useCallback(_,F)},o.useContext=function(_){var F=ee();return _.$$typeof===Ee&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),F.useContext(_)},o.useDebugValue=function(_,F){return ee().useDebugValue(_,F)},o.useDeferredValue=function(_,F){return ee().useDeferredValue(_,F)},o.useEffect=function(_,F){return _==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"),ee().useEffect(_,F)},o.useEffectEvent=function(_){return ee().useEffectEvent(_)},o.useId=function(){return ee().useId()},o.useImperativeHandle=function(_,F,Te){return ee().useImperativeHandle(_,F,Te)},o.useInsertionEffect=function(_,F){return _==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),ee().useInsertionEffect(_,F)},o.useLayoutEffect=function(_,F){return _==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),ee().useLayoutEffect(_,F)},o.useMemo=function(_,F){return ee().useMemo(_,F)},o.useOptimistic=function(_,F){return ee().useOptimistic(_,F)},o.useReducer=function(_,F,Te){return ee().useReducer(_,F,Te)},o.useRef=function(_){return ee().useRef(_)},o.useState=function(_){return ee().useState(_)},o.useSyncExternalStore=function(_,F,Te){return ee().useSyncExternalStore(_,F,Te)},o.useTransition=function(){return ee().useTransition()},o.version="19.2.3",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})(qm,qm.exports)),qm.exports}var j2;function eh(){return j2||(j2=1,process.env.NODE_ENV==="production"?dv.exports=D5():dv.exports=_5()),dv.exports}var k2;function O5(){return k2||(k2=1,process.env.NODE_ENV!=="production"&&(function(){function i(k){if(k==null)return null;if(typeof k=="function")return k.$$typeof===je?null:k.displayName||k.name||null;if(typeof k=="string")return k;switch(k){case q:return"Fragment";case U:return"Profiler";case W:return"StrictMode";case de:return"Suspense";case he:return"SuspenseList";case ye:return"Activity"}if(typeof k=="object")switch(typeof k.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),k.$$typeof){case Q:return"Portal";case le:return k.displayName||"Context";case $:return(k._context.displayName||"Context")+".Consumer";case pe:var te=k.render;return k=k.displayName,k||(k=te.displayName||te.name||"",k=k!==""?"ForwardRef("+k+")":"ForwardRef"),k;case re:return te=k.displayName||null,te!==null?te:i(k.type)||"Memo";case we:te=k._payload,k=k._init;try{return i(k(te))}catch{}}return null}function o(k){return""+k}function u(k){try{o(k);var te=!1}catch{te=!0}if(te){te=console;var xe=te.error,Ee=typeof Symbol=="function"&&Symbol.toStringTag&&k[Symbol.toStringTag]||k.constructor.name||"Object";return xe.call(te,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",Ee),o(k)}}function f(k){if(k===q)return"<>";if(typeof k=="object"&&k!==null&&k.$$typeof===we)return"<...>";try{var te=i(k);return te?"<"+te+">":"<...>"}catch{return"<...>"}}function p(){var k=ee.A;return k===null?null:k.getOwner()}function g(){return Error("react-stack-top-frame")}function y(k){if(Re.call(k,"key")){var te=Object.getOwnPropertyDescriptor(k,"key").get;if(te&&te.isReactWarning)return!1}return k.key!==void 0}function S(k,te){function xe(){G||(G=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",te))}xe.isReactWarning=!0,Object.defineProperty(k,"key",{get:xe,configurable:!0})}function x(){var k=i(this.type);return I[k]||(I[k]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),k=this.props.ref,k!==void 0?k:null}function E(k,te,xe,Ee,Ye,et){var Qe=xe.ref;return k={$$typeof:H,type:k,key:te,props:xe,_owner:Ee},(Qe!==void 0?Qe:null)!==null?Object.defineProperty(k,"ref",{enumerable:!1,get:x}):Object.defineProperty(k,"ref",{enumerable:!1,value:null}),k._store={},Object.defineProperty(k._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(k,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(k,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:Ye}),Object.defineProperty(k,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:et}),Object.freeze&&(Object.freeze(k.props),Object.freeze(k)),k}function C(k,te,xe,Ee,Ye,et){var Qe=te.children;if(Qe!==void 0)if(Ee)if(Ke(Qe)){for(Ee=0;Ee<Qe.length;Ee++)T(Qe[Ee]);Object.freeze&&Object.freeze(Qe)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else T(Qe);if(Re.call(te,"key")){Qe=i(k);var Wt=Object.keys(te).filter(function(al){return al!=="key"});Ee=0<Wt.length?"{key: someKey, "+Wt.join(": ..., ")+": ...}":"{key: someKey}",De[Qe+Ee]||(Wt=0<Wt.length?"{"+Wt.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
14
|
+
let props = %s;
|
|
15
|
+
<%s {...props} />
|
|
16
|
+
React keys must be passed directly to JSX without using spread:
|
|
17
|
+
let props = %s;
|
|
18
|
+
<%s key={someKey} {...props} />`,Ee,Qe,Wt,Qe),De[Qe+Ee]=!0)}if(Qe=null,xe!==void 0&&(u(xe),Qe=""+xe),y(te)&&(u(te.key),Qe=""+te.key),"key"in te){xe={};for(var Mt in te)Mt!=="key"&&(xe[Mt]=te[Mt])}else xe=te;return Qe&&S(xe,typeof k=="function"?k.displayName||k.name||"Unknown":k),E(k,Qe,xe,p(),Ye,et)}function T(k){z(k)?k._store&&(k._store.validated=1):typeof k=="object"&&k!==null&&k.$$typeof===we&&(k._payload.status==="fulfilled"?z(k._payload.value)&&k._payload.value._store&&(k._payload.value._store.validated=1):k._store&&(k._store.validated=1))}function z(k){return typeof k=="object"&&k!==null&&k.$$typeof===H}var N=eh(),H=Symbol.for("react.transitional.element"),Q=Symbol.for("react.portal"),q=Symbol.for("react.fragment"),W=Symbol.for("react.strict_mode"),U=Symbol.for("react.profiler"),$=Symbol.for("react.consumer"),le=Symbol.for("react.context"),pe=Symbol.for("react.forward_ref"),de=Symbol.for("react.suspense"),he=Symbol.for("react.suspense_list"),re=Symbol.for("react.memo"),we=Symbol.for("react.lazy"),ye=Symbol.for("react.activity"),je=Symbol.for("react.client.reference"),ee=N.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Re=Object.prototype.hasOwnProperty,Ke=Array.isArray,lt=console.createTask?console.createTask:function(){return null};N={react_stack_bottom_frame:function(k){return k()}};var G,I={},fe=N.react_stack_bottom_frame.bind(N,g)(),Ae=lt(f(g)),De={};Ym.Fragment=q,Ym.jsx=function(k,te,xe){var Ee=1e4>ee.recentlyCreatedOwnerStacks++;return C(k,te,xe,!1,Ee?Error("react-stack-top-frame"):fe,Ee?lt(f(k)):Ae)},Ym.jsxs=function(k,te,xe){var Ee=1e4>ee.recentlyCreatedOwnerStacks++;return C(k,te,xe,!0,Ee?Error("react-stack-top-frame"):fe,Ee?lt(f(k)):Ae)}})()),Ym}var N2;function j5(){return N2||(N2=1,process.env.NODE_ENV==="production"?fv.exports=M5():fv.exports=O5()),fv.exports}var M=j5(),hv={exports:{}},Gm={},pv={exports:{}},mS={};var U2;function k5(){return U2||(U2=1,(function(i){function o(G,I){var fe=G.length;G.push(I);e:for(;0<fe;){var Ae=fe-1>>>1,De=G[Ae];if(0<p(De,I))G[Ae]=I,G[fe]=De,fe=Ae;else break e}}function u(G){return G.length===0?null:G[0]}function f(G){if(G.length===0)return null;var I=G[0],fe=G.pop();if(fe!==I){G[0]=fe;e:for(var Ae=0,De=G.length,k=De>>>1;Ae<k;){var te=2*(Ae+1)-1,xe=G[te],Ee=te+1,Ye=G[Ee];if(0>p(xe,fe))Ee<De&&0>p(Ye,xe)?(G[Ae]=Ye,G[Ee]=fe,Ae=Ee):(G[Ae]=xe,G[te]=fe,Ae=te);else if(Ee<De&&0>p(Ye,fe))G[Ae]=Ye,G[Ee]=fe,Ae=Ee;else break e}}return I}function p(G,I){var fe=G.sortIndex-I.sortIndex;return fe!==0?fe:G.id-I.id}if(i.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var g=performance;i.unstable_now=function(){return g.now()}}else{var y=Date,S=y.now();i.unstable_now=function(){return y.now()-S}}var x=[],E=[],C=1,T=null,z=3,N=!1,H=!1,Q=!1,q=!1,W=typeof setTimeout=="function"?setTimeout:null,U=typeof clearTimeout=="function"?clearTimeout:null,$=typeof setImmediate<"u"?setImmediate:null;function le(G){for(var I=u(E);I!==null;){if(I.callback===null)f(E);else if(I.startTime<=G)f(E),I.sortIndex=I.expirationTime,o(x,I);else break;I=u(E)}}function pe(G){if(Q=!1,le(G),!H)if(u(x)!==null)H=!0,de||(de=!0,ee());else{var I=u(E);I!==null&<(pe,I.startTime-G)}}var de=!1,he=-1,re=5,we=-1;function ye(){return q?!0:!(i.unstable_now()-we<re)}function je(){if(q=!1,de){var G=i.unstable_now();we=G;var I=!0;try{e:{H=!1,Q&&(Q=!1,U(he),he=-1),N=!0;var fe=z;try{t:{for(le(G),T=u(x);T!==null&&!(T.expirationTime>G&&ye());){var Ae=T.callback;if(typeof Ae=="function"){T.callback=null,z=T.priorityLevel;var De=Ae(T.expirationTime<=G);if(G=i.unstable_now(),typeof De=="function"){T.callback=De,le(G),I=!0;break t}T===u(x)&&f(x),le(G)}else f(x);T=u(x)}if(T!==null)I=!0;else{var k=u(E);k!==null&<(pe,k.startTime-G),I=!1}}break e}finally{T=null,z=fe,N=!1}I=void 0}}finally{I?ee():de=!1}}}var ee;if(typeof $=="function")ee=function(){$(je)};else if(typeof MessageChannel<"u"){var Re=new MessageChannel,Ke=Re.port2;Re.port1.onmessage=je,ee=function(){Ke.postMessage(null)}}else ee=function(){W(je,0)};function lt(G,I){he=W(function(){G(i.unstable_now())},I)}i.unstable_IdlePriority=5,i.unstable_ImmediatePriority=1,i.unstable_LowPriority=4,i.unstable_NormalPriority=3,i.unstable_Profiling=null,i.unstable_UserBlockingPriority=2,i.unstable_cancelCallback=function(G){G.callback=null},i.unstable_forceFrameRate=function(G){0>G||125<G?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):re=0<G?Math.floor(1e3/G):5},i.unstable_getCurrentPriorityLevel=function(){return z},i.unstable_next=function(G){switch(z){case 1:case 2:case 3:var I=3;break;default:I=z}var fe=z;z=I;try{return G()}finally{z=fe}},i.unstable_requestPaint=function(){q=!0},i.unstable_runWithPriority=function(G,I){switch(G){case 1:case 2:case 3:case 4:case 5:break;default:G=3}var fe=z;z=G;try{return I()}finally{z=fe}},i.unstable_scheduleCallback=function(G,I,fe){var Ae=i.unstable_now();switch(typeof fe=="object"&&fe!==null?(fe=fe.delay,fe=typeof fe=="number"&&0<fe?Ae+fe:Ae):fe=Ae,G){case 1:var De=-1;break;case 2:De=250;break;case 5:De=1073741823;break;case 4:De=1e4;break;default:De=5e3}return De=fe+De,G={id:C++,callback:I,priorityLevel:G,startTime:fe,expirationTime:De,sortIndex:-1},fe>Ae?(G.sortIndex=fe,o(E,G),u(x)===null&&G===u(E)&&(Q?(U(he),he=-1):Q=!0,lt(pe,fe-Ae))):(G.sortIndex=De,o(x,G),H||N||(H=!0,de||(de=!0,ee()))),G},i.unstable_shouldYield=ye,i.unstable_wrapCallback=function(G){var I=z;return function(){var fe=z;z=I;try{return G.apply(this,arguments)}finally{z=fe}}}})(mS)),mS}var gS={};var L2;function N5(){return L2||(L2=1,(function(i){process.env.NODE_ENV!=="production"&&(function(){function o(){if(pe=!1,we){var G=i.unstable_now();ee=G;var I=!0;try{e:{$=!1,le&&(le=!1,he(ye),ye=-1),U=!0;var fe=W;try{t:{for(y(G),q=f(N);q!==null&&!(q.expirationTime>G&&x());){var Ae=q.callback;if(typeof Ae=="function"){q.callback=null,W=q.priorityLevel;var De=Ae(q.expirationTime<=G);if(G=i.unstable_now(),typeof De=="function"){q.callback=De,y(G),I=!0;break t}q===f(N)&&p(N),y(G)}else p(N);q=f(N)}if(q!==null)I=!0;else{var k=f(H);k!==null&&E(S,k.startTime-G),I=!1}}break e}finally{q=null,W=fe,U=!1}I=void 0}}finally{I?Re():we=!1}}}function u(G,I){var fe=G.length;G.push(I);e:for(;0<fe;){var Ae=fe-1>>>1,De=G[Ae];if(0<g(De,I))G[Ae]=I,G[fe]=De,fe=Ae;else break e}}function f(G){return G.length===0?null:G[0]}function p(G){if(G.length===0)return null;var I=G[0],fe=G.pop();if(fe!==I){G[0]=fe;e:for(var Ae=0,De=G.length,k=De>>>1;Ae<k;){var te=2*(Ae+1)-1,xe=G[te],Ee=te+1,Ye=G[Ee];if(0>g(xe,fe))Ee<De&&0>g(Ye,xe)?(G[Ae]=Ye,G[Ee]=fe,Ae=Ee):(G[Ae]=xe,G[te]=fe,Ae=te);else if(Ee<De&&0>g(Ye,fe))G[Ae]=Ye,G[Ee]=fe,Ae=Ee;else break e}}return I}function g(G,I){var fe=G.sortIndex-I.sortIndex;return fe!==0?fe:G.id-I.id}function y(G){for(var I=f(H);I!==null;){if(I.callback===null)p(H);else if(I.startTime<=G)p(H),I.sortIndex=I.expirationTime,u(N,I);else break;I=f(H)}}function S(G){if(le=!1,y(G),!$)if(f(N)!==null)$=!0,we||(we=!0,Re());else{var I=f(H);I!==null&&E(S,I.startTime-G)}}function x(){return pe?!0:!(i.unstable_now()-ee<je)}function E(G,I){ye=de(function(){G(i.unstable_now())},I)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),i.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var C=performance;i.unstable_now=function(){return C.now()}}else{var T=Date,z=T.now();i.unstable_now=function(){return T.now()-z}}var N=[],H=[],Q=1,q=null,W=3,U=!1,$=!1,le=!1,pe=!1,de=typeof setTimeout=="function"?setTimeout:null,he=typeof clearTimeout=="function"?clearTimeout:null,re=typeof setImmediate<"u"?setImmediate:null,we=!1,ye=-1,je=5,ee=-1;if(typeof re=="function")var Re=function(){re(o)};else if(typeof MessageChannel<"u"){var Ke=new MessageChannel,lt=Ke.port2;Ke.port1.onmessage=o,Re=function(){lt.postMessage(null)}}else Re=function(){de(o,0)};i.unstable_IdlePriority=5,i.unstable_ImmediatePriority=1,i.unstable_LowPriority=4,i.unstable_NormalPriority=3,i.unstable_Profiling=null,i.unstable_UserBlockingPriority=2,i.unstable_cancelCallback=function(G){G.callback=null},i.unstable_forceFrameRate=function(G){0>G||125<G?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):je=0<G?Math.floor(1e3/G):5},i.unstable_getCurrentPriorityLevel=function(){return W},i.unstable_next=function(G){switch(W){case 1:case 2:case 3:var I=3;break;default:I=W}var fe=W;W=I;try{return G()}finally{W=fe}},i.unstable_requestPaint=function(){pe=!0},i.unstable_runWithPriority=function(G,I){switch(G){case 1:case 2:case 3:case 4:case 5:break;default:G=3}var fe=W;W=G;try{return I()}finally{W=fe}},i.unstable_scheduleCallback=function(G,I,fe){var Ae=i.unstable_now();switch(typeof fe=="object"&&fe!==null?(fe=fe.delay,fe=typeof fe=="number"&&0<fe?Ae+fe:Ae):fe=Ae,G){case 1:var De=-1;break;case 2:De=250;break;case 5:De=1073741823;break;case 4:De=1e4;break;default:De=5e3}return De=fe+De,G={id:Q++,callback:I,priorityLevel:G,startTime:fe,expirationTime:De,sortIndex:-1},fe>Ae?(G.sortIndex=fe,u(H,G),f(N)===null&&G===f(H)&&(le?(he(ye),ye=-1):le=!0,E(S,fe-Ae))):(G.sortIndex=De,u(N,G),$||U||($=!0,we||(we=!0,Re()))),G},i.unstable_shouldYield=x,i.unstable_wrapCallback=function(G){var I=W;return function(){var fe=W;W=I;try{return G.apply(this,arguments)}finally{W=fe}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})(gS)),gS}var B2;function H2(){return B2||(B2=1,process.env.NODE_ENV==="production"?pv.exports=k5():pv.exports=N5()),pv.exports}var mv={exports:{}},Ga={};var V2;function U5(){if(V2)return Ga;V2=1;var i=eh();function o(x){var E="https://react.dev/errors/"+x;if(1<arguments.length){E+="?args[]="+encodeURIComponent(arguments[1]);for(var C=2;C<arguments.length;C++)E+="&args[]="+encodeURIComponent(arguments[C])}return"Minified React error #"+x+"; visit "+E+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function u(){}var f={d:{f:u,r:function(){throw Error(o(522))},D:u,C:u,L:u,m:u,X:u,S:u,M:u},p:0,findDOMNode:null},p=Symbol.for("react.portal");function g(x,E,C){var T=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:p,key:T==null?null:""+T,children:x,containerInfo:E,implementation:C}}var y=i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function S(x,E){if(x==="font")return"";if(typeof E=="string")return E==="use-credentials"?E:""}return Ga.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=f,Ga.createPortal=function(x,E){var C=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!E||E.nodeType!==1&&E.nodeType!==9&&E.nodeType!==11)throw Error(o(299));return g(x,E,null,C)},Ga.flushSync=function(x){var E=y.T,C=f.p;try{if(y.T=null,f.p=2,x)return x()}finally{y.T=E,f.p=C,f.d.f()}},Ga.preconnect=function(x,E){typeof x=="string"&&(E?(E=E.crossOrigin,E=typeof E=="string"?E==="use-credentials"?E:"":void 0):E=null,f.d.C(x,E))},Ga.prefetchDNS=function(x){typeof x=="string"&&f.d.D(x)},Ga.preinit=function(x,E){if(typeof x=="string"&&E&&typeof E.as=="string"){var C=E.as,T=S(C,E.crossOrigin),z=typeof E.integrity=="string"?E.integrity:void 0,N=typeof E.fetchPriority=="string"?E.fetchPriority:void 0;C==="style"?f.d.S(x,typeof E.precedence=="string"?E.precedence:void 0,{crossOrigin:T,integrity:z,fetchPriority:N}):C==="script"&&f.d.X(x,{crossOrigin:T,integrity:z,fetchPriority:N,nonce:typeof E.nonce=="string"?E.nonce:void 0})}},Ga.preinitModule=function(x,E){if(typeof x=="string")if(typeof E=="object"&&E!==null){if(E.as==null||E.as==="script"){var C=S(E.as,E.crossOrigin);f.d.M(x,{crossOrigin:C,integrity:typeof E.integrity=="string"?E.integrity:void 0,nonce:typeof E.nonce=="string"?E.nonce:void 0})}}else E==null&&f.d.M(x)},Ga.preload=function(x,E){if(typeof x=="string"&&typeof E=="object"&&E!==null&&typeof E.as=="string"){var C=E.as,T=S(C,E.crossOrigin);f.d.L(x,C,{crossOrigin:T,integrity:typeof E.integrity=="string"?E.integrity:void 0,nonce:typeof E.nonce=="string"?E.nonce:void 0,type:typeof E.type=="string"?E.type:void 0,fetchPriority:typeof E.fetchPriority=="string"?E.fetchPriority:void 0,referrerPolicy:typeof E.referrerPolicy=="string"?E.referrerPolicy:void 0,imageSrcSet:typeof E.imageSrcSet=="string"?E.imageSrcSet:void 0,imageSizes:typeof E.imageSizes=="string"?E.imageSizes:void 0,media:typeof E.media=="string"?E.media:void 0})}},Ga.preloadModule=function(x,E){if(typeof x=="string")if(E){var C=S(E.as,E.crossOrigin);f.d.m(x,{as:typeof E.as=="string"&&E.as!=="script"?E.as:void 0,crossOrigin:C,integrity:typeof E.integrity=="string"?E.integrity:void 0})}else f.d.m(x)},Ga.requestFormReset=function(x){f.d.r(x)},Ga.unstable_batchedUpdates=function(x,E){return x(E)},Ga.useFormState=function(x,E,C){return y.H.useFormState(x,E,C)},Ga.useFormStatus=function(){return y.H.useHostTransitionStatus()},Ga.version="19.2.3",Ga}var Xa={};var Y2;function L5(){return Y2||(Y2=1,process.env.NODE_ENV!=="production"&&(function(){function i(){}function o(T){return""+T}function u(T,z,N){var H=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;try{o(H);var Q=!1}catch{Q=!0}return Q&&(console.error("The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",typeof Symbol=="function"&&Symbol.toStringTag&&H[Symbol.toStringTag]||H.constructor.name||"Object"),o(H)),{$$typeof:E,key:H==null?null:""+H,children:T,containerInfo:z,implementation:N}}function f(T,z){if(T==="font")return"";if(typeof z=="string")return z==="use-credentials"?z:""}function p(T){return T===null?"`null`":T===void 0?"`undefined`":T===""?"an empty string":'something with type "'+typeof T+'"'}function g(T){return T===null?"`null`":T===void 0?"`undefined`":T===""?"an empty string":typeof T=="string"?JSON.stringify(T):typeof T=="number"?"`"+T+"`":'something with type "'+typeof T+'"'}function y(){var T=C.H;return T===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
19
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
20
|
+
2. You might be breaking the Rules of Hooks
|
|
21
|
+
3. You might have more than one copy of React in the same app
|
|
22
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),T}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var S=eh(),x={d:{f:i,r:function(){throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React.")},D:i,C:i,L:i,m:i,X:i,S:i,M:i},p:0,findDOMNode:null},E=Symbol.for("react.portal"),C=S.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;typeof Map=="function"&&Map.prototype!=null&&typeof Map.prototype.forEach=="function"&&typeof Set=="function"&&Set.prototype!=null&&typeof Set.prototype.clear=="function"&&typeof Set.prototype.forEach=="function"||console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),Xa.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=x,Xa.createPortal=function(T,z){var N=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!z||z.nodeType!==1&&z.nodeType!==9&&z.nodeType!==11)throw Error("Target container is not a DOM element.");return u(T,z,null,N)},Xa.flushSync=function(T){var z=C.T,N=x.p;try{if(C.T=null,x.p=2,T)return T()}finally{C.T=z,x.p=N,x.d.f()&&console.error("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task.")}},Xa.preconnect=function(T,z){typeof T=="string"&&T?z!=null&&typeof z!="object"?console.error("ReactDOM.preconnect(): Expected the `options` argument (second) to be an object but encountered %s instead. The only supported option at this time is `crossOrigin` which accepts a string.",g(z)):z!=null&&typeof z.crossOrigin!="string"&&console.error("ReactDOM.preconnect(): Expected the `crossOrigin` option (second argument) to be a string but encountered %s instead. Try removing this option or passing a string value instead.",p(z.crossOrigin)):console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",p(T)),typeof T=="string"&&(z?(z=z.crossOrigin,z=typeof z=="string"?z==="use-credentials"?z:"":void 0):z=null,x.d.C(T,z))},Xa.prefetchDNS=function(T){if(typeof T!="string"||!T)console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",p(T));else if(1<arguments.length){var z=arguments[1];typeof z=="object"&&z.hasOwnProperty("crossOrigin")?console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. It looks like the you are attempting to set a crossOrigin property for this DNS lookup hint. Browsers do not perform DNS queries using CORS and setting this attribute on the resource hint has no effect. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",g(z)):console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",g(z))}typeof T=="string"&&x.d.D(T)},Xa.preinit=function(T,z){if(typeof T=="string"&&T?z==null||typeof z!="object"?console.error("ReactDOM.preinit(): Expected the `options` argument (second) to be an object with an `as` property describing the type of resource to be preinitialized but encountered %s instead.",g(z)):z.as!=="style"&&z.as!=="script"&&console.error('ReactDOM.preinit(): Expected the `as` property in the `options` argument (second) to contain a valid value describing the type of resource to be preinitialized but encountered %s instead. Valid values for `as` are "style" and "script".',g(z.as)):console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",p(T)),typeof T=="string"&&z&&typeof z.as=="string"){var N=z.as,H=f(N,z.crossOrigin),Q=typeof z.integrity=="string"?z.integrity:void 0,q=typeof z.fetchPriority=="string"?z.fetchPriority:void 0;N==="style"?x.d.S(T,typeof z.precedence=="string"?z.precedence:void 0,{crossOrigin:H,integrity:Q,fetchPriority:q}):N==="script"&&x.d.X(T,{crossOrigin:H,integrity:Q,fetchPriority:q,nonce:typeof z.nonce=="string"?z.nonce:void 0})}},Xa.preinitModule=function(T,z){var N="";typeof T=="string"&&T||(N+=" The `href` argument encountered was "+p(T)+"."),z!==void 0&&typeof z!="object"?N+=" The `options` argument encountered was "+p(z)+".":z&&"as"in z&&z.as!=="script"&&(N+=" The `as` option encountered was "+g(z.as)+"."),N?console.error("ReactDOM.preinitModule(): Expected up to two arguments, a non-empty `href` string and, optionally, an `options` object with a valid `as` property.%s",N):(N=z&&typeof z.as=="string"?z.as:"script",N)==="script"||(N=g(N),console.error('ReactDOM.preinitModule(): Currently the only supported "as" type for this function is "script" but received "%s" instead. This warning was generated for `href` "%s". In the future other module types will be supported, aligning with the import-attributes proposal. Learn more here: (https://github.com/tc39/proposal-import-attributes)',N,T)),typeof T=="string"&&(typeof z=="object"&&z!==null?(z.as==null||z.as==="script")&&(N=f(z.as,z.crossOrigin),x.d.M(T,{crossOrigin:N,integrity:typeof z.integrity=="string"?z.integrity:void 0,nonce:typeof z.nonce=="string"?z.nonce:void 0})):z==null&&x.d.M(T))},Xa.preload=function(T,z){var N="";if(typeof T=="string"&&T||(N+=" The `href` argument encountered was "+p(T)+"."),z==null||typeof z!="object"?N+=" The `options` argument encountered was "+p(z)+".":typeof z.as=="string"&&z.as||(N+=" The `as` option encountered was "+p(z.as)+"."),N&&console.error('ReactDOM.preload(): Expected two arguments, a non-empty `href` string and an `options` object with an `as` property valid for a `<link rel="preload" as="..." />` tag.%s',N),typeof T=="string"&&typeof z=="object"&&z!==null&&typeof z.as=="string"){N=z.as;var H=f(N,z.crossOrigin);x.d.L(T,N,{crossOrigin:H,integrity:typeof z.integrity=="string"?z.integrity:void 0,nonce:typeof z.nonce=="string"?z.nonce:void 0,type:typeof z.type=="string"?z.type:void 0,fetchPriority:typeof z.fetchPriority=="string"?z.fetchPriority:void 0,referrerPolicy:typeof z.referrerPolicy=="string"?z.referrerPolicy:void 0,imageSrcSet:typeof z.imageSrcSet=="string"?z.imageSrcSet:void 0,imageSizes:typeof z.imageSizes=="string"?z.imageSizes:void 0,media:typeof z.media=="string"?z.media:void 0})}},Xa.preloadModule=function(T,z){var N="";typeof T=="string"&&T||(N+=" The `href` argument encountered was "+p(T)+"."),z!==void 0&&typeof z!="object"?N+=" The `options` argument encountered was "+p(z)+".":z&&"as"in z&&typeof z.as!="string"&&(N+=" The `as` option encountered was "+p(z.as)+"."),N&&console.error('ReactDOM.preloadModule(): Expected two arguments, a non-empty `href` string and, optionally, an `options` object with an `as` property valid for a `<link rel="modulepreload" as="..." />` tag.%s',N),typeof T=="string"&&(z?(N=f(z.as,z.crossOrigin),x.d.m(T,{as:typeof z.as=="string"&&z.as!=="script"?z.as:void 0,crossOrigin:N,integrity:typeof z.integrity=="string"?z.integrity:void 0})):x.d.m(T))},Xa.requestFormReset=function(T){x.d.r(T)},Xa.unstable_batchedUpdates=function(T,z){return T(z)},Xa.useFormState=function(T,z,N){return y().useFormState(T,z,N)},Xa.useFormStatus=function(){return y().useHostTransitionStatus()},Xa.version="19.2.3",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),Xa}var q2;function yS(){if(q2)return mv.exports;q2=1;function i(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function")){if(process.env.NODE_ENV!=="production")throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(i)}catch(o){console.error(o)}}}return process.env.NODE_ENV==="production"?(i(),mv.exports=U5()):mv.exports=L5(),mv.exports}var G2;function B5(){if(G2)return Gm;G2=1;var i=H2(),o=eh(),u=yS();function f(n){var l="https://react.dev/errors/"+n;if(1<arguments.length){l+="?args[]="+encodeURIComponent(arguments[1]);for(var r=2;r<arguments.length;r++)l+="&args[]="+encodeURIComponent(arguments[r])}return"Minified React error #"+n+"; visit "+l+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function p(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11)}function g(n){var l=n,r=n;if(n.alternate)for(;l.return;)l=l.return;else{n=l;do l=n,(l.flags&4098)!==0&&(r=l.return),n=l.return;while(n)}return l.tag===3?r:null}function y(n){if(n.tag===13){var l=n.memoizedState;if(l===null&&(n=n.alternate,n!==null&&(l=n.memoizedState)),l!==null)return l.dehydrated}return null}function S(n){if(n.tag===31){var l=n.memoizedState;if(l===null&&(n=n.alternate,n!==null&&(l=n.memoizedState)),l!==null)return l.dehydrated}return null}function x(n){if(g(n)!==n)throw Error(f(188))}function E(n){var l=n.alternate;if(!l){if(l=g(n),l===null)throw Error(f(188));return l!==n?null:n}for(var r=n,c=l;;){var m=r.return;if(m===null)break;var v=m.alternate;if(v===null){if(c=m.return,c!==null){r=c;continue}break}if(m.child===v.child){for(v=m.child;v;){if(v===r)return x(m),n;if(v===c)return x(m),l;v=v.sibling}throw Error(f(188))}if(r.return!==c.return)r=m,c=v;else{for(var A=!1,O=m.child;O;){if(O===r){A=!0,r=m,c=v;break}if(O===c){A=!0,c=m,r=v;break}O=O.sibling}if(!A){for(O=v.child;O;){if(O===r){A=!0,r=v,c=m;break}if(O===c){A=!0,c=v,r=m;break}O=O.sibling}if(!A)throw Error(f(189))}}if(r.alternate!==c)throw Error(f(190))}if(r.tag!==3)throw Error(f(188));return r.stateNode.current===r?n:l}function C(n){var l=n.tag;if(l===5||l===26||l===27||l===6)return n;for(n=n.child;n!==null;){if(l=C(n),l!==null)return l;n=n.sibling}return null}var T=Object.assign,z=Symbol.for("react.element"),N=Symbol.for("react.transitional.element"),H=Symbol.for("react.portal"),Q=Symbol.for("react.fragment"),q=Symbol.for("react.strict_mode"),W=Symbol.for("react.profiler"),U=Symbol.for("react.consumer"),$=Symbol.for("react.context"),le=Symbol.for("react.forward_ref"),pe=Symbol.for("react.suspense"),de=Symbol.for("react.suspense_list"),he=Symbol.for("react.memo"),re=Symbol.for("react.lazy"),we=Symbol.for("react.activity"),ye=Symbol.for("react.memo_cache_sentinel"),je=Symbol.iterator;function ee(n){return n===null||typeof n!="object"?null:(n=je&&n[je]||n["@@iterator"],typeof n=="function"?n:null)}var Re=Symbol.for("react.client.reference");function Ke(n){if(n==null)return null;if(typeof n=="function")return n.$$typeof===Re?null:n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case Q:return"Fragment";case W:return"Profiler";case q:return"StrictMode";case pe:return"Suspense";case de:return"SuspenseList";case we:return"Activity"}if(typeof n=="object")switch(n.$$typeof){case H:return"Portal";case $:return n.displayName||"Context";case U:return(n._context.displayName||"Context")+".Consumer";case le:var l=n.render;return n=n.displayName,n||(n=l.displayName||l.name||"",n=n!==""?"ForwardRef("+n+")":"ForwardRef"),n;case he:return l=n.displayName||null,l!==null?l:Ke(n.type)||"Memo";case re:l=n._payload,n=n._init;try{return Ke(n(l))}catch{}}return null}var lt=Array.isArray,G=o.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,I=u.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,fe={pending:!1,data:null,method:null,action:null},Ae=[],De=-1;function k(n){return{current:n}}function te(n){0>De||(n.current=Ae[De],Ae[De]=null,De--)}function xe(n,l){De++,Ae[De]=n.current,n.current=l}var Ee=k(null),Ye=k(null),et=k(null),Qe=k(null);function Wt(n,l){switch(xe(et,l),xe(Ye,n),xe(Ee,null),l.nodeType){case 9:case 11:n=(n=l.documentElement)&&(n=n.namespaceURI)?o1(n):0;break;default:if(n=l.tagName,l=l.namespaceURI)l=o1(l),n=oy(l,n);else switch(n){case"svg":n=1;break;case"math":n=2;break;default:n=0}}te(Ee),xe(Ee,n)}function Mt(){te(Ee),te(Ye),te(et)}function al(n){n.memoizedState!==null&&xe(Qe,n);var l=Ee.current,r=oy(l,n.type);l!==r&&(xe(Ye,n),xe(Ee,r))}function _e(n){Ye.current===n&&(te(Ee),te(Ye)),Qe.current===n&&(te(Qe),zd._currentValue=fe)}var or,rr;function ll(n){if(or===void 0)try{throw Error()}catch(r){var l=r.stack.trim().match(/\n( *(at )?)/);or=l&&l[1]||"",rr=-1<r.stack.indexOf(`
|
|
23
|
+
at`)?" (<anonymous>)":-1<r.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
24
|
+
`+or+n+rr}var Di=!1;function Dt(n,l){if(!n||Di)return"";Di=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var c={DetermineComponentFrameRoot:function(){try{if(l){var be=function(){throw Error()};if(Object.defineProperty(be.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(be,[])}catch(ce){var ie=ce}Reflect.construct(n,[],be)}else{try{be.call()}catch(ce){ie=ce}n.call(be.prototype)}}else{try{throw Error()}catch(ce){ie=ce}(be=n())&&typeof be.catch=="function"&&be.catch(function(){})}}catch(ce){if(ce&&ie&&typeof ce.stack=="string")return[ce.stack,ie.stack]}return[null,null]}};c.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var m=Object.getOwnPropertyDescriptor(c.DetermineComponentFrameRoot,"name");m&&m.configurable&&Object.defineProperty(c.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var v=c.DetermineComponentFrameRoot(),A=v[0],O=v[1];if(A&&O){var Y=A.split(`
|
|
25
|
+
`),ae=O.split(`
|
|
26
|
+
`);for(m=c=0;c<Y.length&&!Y[c].includes("DetermineComponentFrameRoot");)c++;for(;m<ae.length&&!ae[m].includes("DetermineComponentFrameRoot");)m++;if(c===Y.length||m===ae.length)for(c=Y.length-1,m=ae.length-1;1<=c&&0<=m&&Y[c]!==ae[m];)m--;for(;1<=c&&0<=m;c--,m--)if(Y[c]!==ae[m]){if(c!==1||m!==1)do if(c--,m--,0>m||Y[c]!==ae[m]){var me=`
|
|
27
|
+
`+Y[c].replace(" at new "," at ");return n.displayName&&me.includes("<anonymous>")&&(me=me.replace("<anonymous>",n.displayName)),me}while(1<=c&&0<=m);break}}}finally{Di=!1,Error.prepareStackTrace=r}return(r=n?n.displayName||n.name:"")?ll(r):""}function pa(n,l){switch(n.tag){case 26:case 27:case 5:return ll(n.type);case 16:return ll("Lazy");case 13:return n.child!==l&&l!==null?ll("Suspense Fallback"):ll("Suspense");case 19:return ll("SuspenseList");case 0:case 15:return Dt(n.type,!1);case 11:return Dt(n.type.render,!1);case 1:return Dt(n.type,!0);case 31:return ll("Activity");default:return""}}function ts(n){try{var l="",r=null;do l+=pa(n,r),r=n,n=n.return;while(n);return l}catch(c){return`
|
|
28
|
+
Error generating stack: `+c.message+`
|
|
29
|
+
`+c.stack}}var hf=Object.prototype.hasOwnProperty,Ue=i.unstable_scheduleCallback,sr=i.unstable_cancelCallback,_i=i.unstable_shouldYield,ns=i.unstable_requestPaint,Dn=i.unstable_now,bh=i.unstable_getCurrentPriorityLevel,Eu=i.unstable_ImmediatePriority,Tu=i.unstable_UserBlockingPriority,Il=i.unstable_NormalPriority,Sh=i.unstable_LowPriority,Au=i.unstable_IdlePriority,pf=i.log,as=i.unstable_setDisableYieldValue,_l=null,Nn=null;function il(n){if(typeof pf=="function"&&as(n),Nn&&typeof Nn.setStrictMode=="function")try{Nn.setStrictMode(_l,n)}catch{}}var Xn=Math.clz32?Math.clz32:F,ur=Math.log,_=Math.LN2;function F(n){return n>>>=0,n===0?32:31-(ur(n)/_|0)|0}var Te=256,Ce=262144,Le=4194304;function $e(n){var l=n&42;if(l!==0)return l;switch(n&-n){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return n&261888;case 262144:case 524288:case 1048576:case 2097152:return n&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return n&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return n}}function He(n,l,r){var c=n.pendingLanes;if(c===0)return 0;var m=0,v=n.suspendedLanes,A=n.pingedLanes;n=n.warmLanes;var O=c&134217727;return O!==0?(c=O&~v,c!==0?m=$e(c):(A&=O,A!==0?m=$e(A):r||(r=O&~n,r!==0&&(m=$e(r))))):(O=c&~v,O!==0?m=$e(O):A!==0?m=$e(A):r||(r=c&~n,r!==0&&(m=$e(r)))),m===0?0:l!==0&&l!==m&&(l&v)===0&&(v=m&-m,r=l&-l,v>=r||v===32&&(r&4194048)!==0)?l:m}function yt(n,l){return(n.pendingLanes&~(n.suspendedLanes&~n.pingedLanes)&l)===0}function it(n,l){switch(n){case 1:case 2:case 4:case 8:case 64:return l+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return l+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function ma(){var n=Le;return Le<<=1,(Le&62914560)===0&&(Le=4194304),n}function Ol(n){for(var l=[],r=0;31>r;r++)l.push(n);return l}function cr(n,l){n.pendingLanes|=l,l!==268435456&&(n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0)}function Cu(n,l,r,c,m,v){var A=n.pendingLanes;n.pendingLanes=r,n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0,n.expiredLanes&=r,n.entangledLanes&=r,n.errorRecoveryDisabledLanes&=r,n.shellSuspendCounter=0;var O=n.entanglements,Y=n.expirationTimes,ae=n.hiddenUpdates;for(r=A&~r;0<r;){var me=31-Xn(r),be=1<<me;O[me]=0,Y[me]=-1;var ie=ae[me];if(ie!==null)for(ae[me]=null,me=0;me<ie.length;me++){var ce=ie[me];ce!==null&&(ce.lane&=-536870913)}r&=~be}c!==0&&mf(n,c,0),v!==0&&m===0&&n.tag!==0&&(n.suspendedLanes|=v&~(A&~l))}function mf(n,l,r){n.pendingLanes|=l,n.suspendedLanes&=~l;var c=31-Xn(l);n.entangledLanes|=l,n.entanglements[c]=n.entanglements[c]|1073741824|r&261930}function Oi(n,l){var r=n.entangledLanes|=l;for(n=n.entanglements;r;){var c=31-Xn(r),m=1<<c;m&l|n[c]&l&&(n[c]|=l),r&=~m}}function ol(n,l){var r=l&-l;return r=(r&42)!==0?1:xh(r),(r&(n.suspendedLanes|l))!==0?0:r}function xh(n){switch(n){case 2:n=1;break;case 8:n=4;break;case 32:n=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:n=128;break;case 268435456:n=134217728;break;default:n=0}return n}function g0(n){return n&=-n,2<n?8<n?(n&134217727)!==0?32:268435456:8:2}function wh(){var n=I.p;return n!==0?n:(n=window.event,n===void 0?32:Rd(n.type))}function y0(n,l){var r=I.p;try{return I.p=n,l()}finally{I.p=r}}var Fl=Math.random().toString(36).slice(2),Yt="__reactFiber$"+Fl,Ca="__reactProps$"+Fl,fr="__reactContainer$"+Fl,Eh="__reactEvents$"+Fl,v0="__reactListeners$"+Fl,Jv="__reactHandles$"+Fl,b0="__reactResources$"+Fl,ji="__reactMarker$"+Fl;function Th(n){delete n[Yt],delete n[Ca],delete n[Eh],delete n[v0],delete n[Jv]}function ls(n){var l=n[Yt];if(l)return l;for(var r=n.parentNode;r;){if(l=r[fr]||r[Yt]){if(r=l.alternate,l.child!==null||r!==null&&r.child!==null)for(n=vi(n);n!==null;){if(r=n[Yt])return r;n=vi(n)}return l}n=r,r=n.parentNode}return null}function is(n){if(n=n[Yt]||n[fr]){var l=n.tag;if(l===5||l===6||l===13||l===31||l===26||l===27||l===3)return n}return null}function zu(n){var l=n.tag;if(l===5||l===26||l===27||l===6)return n.stateNode;throw Error(f(33))}function os(n){var l=n[b0];return l||(l=n[b0]={hoistableStyles:new Map,hoistableScripts:new Map}),l}function Ut(n){n[ji]=!0}var rs=new Set,dr={};function hr(n,l){ki(n,l),ki(n+"Capture",l)}function ki(n,l){for(dr[n]=l,n=0;n<l.length;n++)rs.add(l[n])}var Ah=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),Ch={},Ru={};function Mu(n){return hf.call(Ru,n)?!0:hf.call(Ch,n)?!1:Ah.test(n)?Ru[n]=!0:(Ch[n]=!0,!1)}function Du(n,l,r){if(Mu(l))if(r===null)n.removeAttribute(l);else{switch(typeof r){case"undefined":case"function":case"symbol":n.removeAttribute(l);return;case"boolean":var c=l.toLowerCase().slice(0,5);if(c!=="data-"&&c!=="aria-"){n.removeAttribute(l);return}}n.setAttribute(l,""+r)}}function zh(n,l,r){if(r===null)n.removeAttribute(l);else{switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":n.removeAttribute(l);return}n.setAttribute(l,""+r)}}function Co(n,l,r,c){if(c===null)n.removeAttribute(r);else{switch(typeof c){case"undefined":case"function":case"symbol":case"boolean":n.removeAttribute(r);return}n.setAttributeNS(l,r,""+c)}}function rl(n){switch(typeof n){case"bigint":case"boolean":case"number":case"string":case"undefined":return n;case"object":return n;default:return""}}function Rh(n){var l=n.type;return(n=n.nodeName)&&n.toLowerCase()==="input"&&(l==="checkbox"||l==="radio")}function S0(n,l,r){var c=Object.getOwnPropertyDescriptor(n.constructor.prototype,l);if(!n.hasOwnProperty(l)&&typeof c<"u"&&typeof c.get=="function"&&typeof c.set=="function"){var m=c.get,v=c.set;return Object.defineProperty(n,l,{configurable:!0,get:function(){return m.call(this)},set:function(A){r=""+A,v.call(this,A)}}),Object.defineProperty(n,l,{enumerable:c.enumerable}),{getValue:function(){return r},setValue:function(A){r=""+A},stopTracking:function(){n._valueTracker=null,delete n[l]}}}}function Mh(n){if(!n._valueTracker){var l=Rh(n)?"checked":"value";n._valueTracker=S0(n,l,""+n[l])}}function x0(n){if(!n)return!1;var l=n._valueTracker;if(!l)return!0;var r=l.getValue(),c="";return n&&(c=Rh(n)?n.checked?"true":"false":n.value),n=c,n!==r?(l.setValue(n),!0):!1}function gf(n){if(n=n||(typeof document<"u"?document:void 0),typeof n>"u")return null;try{return n.activeElement||n.body}catch{return n.body}}var iw=/[\n"\\]/g;function sl(n){return n.replace(iw,function(l){return"\\"+l.charCodeAt(0).toString(16)+" "})}function yf(n,l,r,c,m,v,A,O){n.name="",A!=null&&typeof A!="function"&&typeof A!="symbol"&&typeof A!="boolean"?n.type=A:n.removeAttribute("type"),l!=null?A==="number"?(l===0&&n.value===""||n.value!=l)&&(n.value=""+rl(l)):n.value!==""+rl(l)&&(n.value=""+rl(l)):A!=="submit"&&A!=="reset"||n.removeAttribute("value"),l!=null?ss(n,A,rl(l)):r!=null?ss(n,A,rl(r)):c!=null&&n.removeAttribute("value"),m==null&&v!=null&&(n.defaultChecked=!!v),m!=null&&(n.checked=m&&typeof m!="function"&&typeof m!="symbol"),O!=null&&typeof O!="function"&&typeof O!="symbol"&&typeof O!="boolean"?n.name=""+rl(O):n.removeAttribute("name")}function vf(n,l,r,c,m,v,A,O){if(v!=null&&typeof v!="function"&&typeof v!="symbol"&&typeof v!="boolean"&&(n.type=v),l!=null||r!=null){if(!(v!=="submit"&&v!=="reset"||l!=null)){Mh(n);return}r=r!=null?""+rl(r):"",l=l!=null?""+rl(l):r,O||l===n.value||(n.value=l),n.defaultValue=l}c=c??m,c=typeof c!="function"&&typeof c!="symbol"&&!!c,n.checked=O?n.checked:!!c,n.defaultChecked=!!c,A!=null&&typeof A!="function"&&typeof A!="symbol"&&typeof A!="boolean"&&(n.name=A),Mh(n)}function ss(n,l,r){l==="number"&&gf(n.ownerDocument)===n||n.defaultValue===""+r||(n.defaultValue=""+r)}function _u(n,l,r,c){if(n=n.options,l){l={};for(var m=0;m<r.length;m++)l["$"+r[m]]=!0;for(r=0;r<n.length;r++)m=l.hasOwnProperty("$"+n[r].value),n[r].selected!==m&&(n[r].selected=m),m&&c&&(n[r].defaultSelected=!0)}else{for(r=""+rl(r),l=null,m=0;m<n.length;m++){if(n[m].value===r){n[m].selected=!0,c&&(n[m].defaultSelected=!0);return}l!==null||n[m].disabled||(l=n[m])}l!==null&&(l.selected=!0)}}function w0(n,l,r){if(l!=null&&(l=""+rl(l),l!==n.value&&(n.value=l),r==null)){n.defaultValue!==l&&(n.defaultValue=l);return}n.defaultValue=r!=null?""+rl(r):""}function E0(n,l,r,c){if(l==null){if(c!=null){if(r!=null)throw Error(f(92));if(lt(c)){if(1<c.length)throw Error(f(93));c=c[0]}r=c}r==null&&(r=""),l=r}r=rl(l),n.defaultValue=r,c=n.textContent,c===r&&c!==""&&c!==null&&(n.value=c),Mh(n)}function Ni(n,l){if(l){var r=n.firstChild;if(r&&r===n.lastChild&&r.nodeType===3){r.nodeValue=l;return}}n.textContent=l}var $v=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function Iv(n,l,r){var c=l.indexOf("--")===0;r==null||typeof r=="boolean"||r===""?c?n.setProperty(l,""):l==="float"?n.cssFloat="":n[l]="":c?n.setProperty(l,r):typeof r!="number"||r===0||$v.has(l)?l==="float"?n.cssFloat=r:n[l]=(""+r).trim():n[l]=r+"px"}function Fv(n,l,r){if(l!=null&&typeof l!="object")throw Error(f(62));if(n=n.style,r!=null){for(var c in r)!r.hasOwnProperty(c)||l!=null&&l.hasOwnProperty(c)||(c.indexOf("--")===0?n.setProperty(c,""):c==="float"?n.cssFloat="":n[c]="");for(var m in l)c=l[m],l.hasOwnProperty(m)&&r[m]!==c&&Iv(n,m,c)}else for(var v in l)l.hasOwnProperty(v)&&Iv(n,v,l[v])}function T0(n){if(n.indexOf("-")===-1)return!1;switch(n){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var ow=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),bf=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function jl(n){return bf.test(""+n)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":n}function Pl(){}var Dh=null;function _h(n){return n=n.target||n.srcElement||window,n.correspondingUseElement&&(n=n.correspondingUseElement),n.nodeType===3?n.parentNode:n}var Ui=null,us=null;function Sf(n){var l=is(n);if(l&&(n=l.stateNode)){var r=n[Ca]||null;e:switch(n=l.stateNode,l.type){case"input":if(yf(n,r.value,r.defaultValue,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name),l=r.name,r.type==="radio"&&l!=null){for(r=n;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll('input[name="'+sl(""+l)+'"][type="radio"]'),l=0;l<r.length;l++){var c=r[l];if(c!==n&&c.form===n.form){var m=c[Ca]||null;if(!m)throw Error(f(90));yf(c,m.value,m.defaultValue,m.defaultValue,m.checked,m.defaultChecked,m.type,m.name)}}for(l=0;l<r.length;l++)c=r[l],c.form===n.form&&x0(c)}break e;case"textarea":w0(n,r.value,r.defaultValue);break e;case"select":l=r.value,l!=null&&_u(n,!!r.multiple,l,!1)}}}var Ou=!1;function A0(n,l,r){if(Ou)return n(l,r);Ou=!0;try{var c=n(l);return c}finally{if(Ou=!1,(Ui!==null||us!==null)&&(pc(),Ui&&(l=Ui,n=us,us=Ui=null,Sf(l),n)))for(l=0;l<n.length;l++)Sf(n[l])}}function Qn(n,l){var r=n.stateNode;if(r===null)return null;var c=r[Ca]||null;if(c===null)return null;r=c[l];e:switch(l){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(c=!c.disabled)||(n=n.type,c=!(n==="button"||n==="input"||n==="select"||n==="textarea")),n=!c;break e;default:n=!1}if(n)return null;if(r&&typeof r!="function")throw Error(f(231,l,typeof r));return r}var zo=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),xf=!1;if(zo)try{var ju={};Object.defineProperty(ju,"passive",{get:function(){xf=!0}}),window.addEventListener("test",ju,ju),window.removeEventListener("test",ju,ju)}catch{xf=!1}var Ro=null,C0=null,Oh=null;function z0(){if(Oh)return Oh;var n,l=C0,r=l.length,c,m="value"in Ro?Ro.value:Ro.textContent,v=m.length;for(n=0;n<r&&l[n]===m[n];n++);var A=r-n;for(c=1;c<=A&&l[r-c]===m[v-c];c++);return Oh=m.slice(n,1<c?1-c:void 0)}function jh(n){var l=n.keyCode;return"charCode"in n?(n=n.charCode,n===0&&l===13&&(n=13)):n=l,n===10&&(n=13),32<=n||n===13?n:0}function wf(){return!0}function Pv(){return!1}function ra(n){function l(r,c,m,v,A){this._reactName=r,this._targetInst=m,this.type=c,this.nativeEvent=v,this.target=A,this.currentTarget=null;for(var O in n)n.hasOwnProperty(O)&&(r=n[O],this[O]=r?r(v):v[O]);return this.isDefaultPrevented=(v.defaultPrevented!=null?v.defaultPrevented:v.returnValue===!1)?wf:Pv,this.isPropagationStopped=Pv,this}return T(l.prototype,{preventDefault:function(){this.defaultPrevented=!0;var r=this.nativeEvent;r&&(r.preventDefault?r.preventDefault():typeof r.returnValue!="unknown"&&(r.returnValue=!1),this.isDefaultPrevented=wf)},stopPropagation:function(){var r=this.nativeEvent;r&&(r.stopPropagation?r.stopPropagation():typeof r.cancelBubble!="unknown"&&(r.cancelBubble=!0),this.isPropagationStopped=wf)},persist:function(){},isPersistent:wf}),l}var pr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(n){return n.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Ef=ra(pr),ku=T({},pr,{view:0,detail:0}),rw=ra(ku),R0,M0,Tf,kh=T({},ku,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:kl,button:0,buttons:0,relatedTarget:function(n){return n.relatedTarget===void 0?n.fromElement===n.srcElement?n.toElement:n.fromElement:n.relatedTarget},movementX:function(n){return"movementX"in n?n.movementX:(n!==Tf&&(Tf&&n.type==="mousemove"?(R0=n.screenX-Tf.screenX,M0=n.screenY-Tf.screenY):M0=R0=0,Tf=n),R0)},movementY:function(n){return"movementY"in n?n.movementY:M0}}),Nu=ra(kh),Wv=T({},kh,{dataTransfer:0}),eb=ra(Wv),tb=T({},ku,{relatedTarget:0}),Nh=ra(tb),D0=T({},pr,{animationName:0,elapsedTime:0,pseudoElement:0}),nb=ra(D0),cs=T({},pr,{clipboardData:function(n){return"clipboardData"in n?n.clipboardData:window.clipboardData}}),fs=ra(cs),Wl=T({},pr,{data:0}),ab=ra(Wl),_0={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Li={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"},lb={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function ei(n){var l=this.nativeEvent;return l.getModifierState?l.getModifierState(n):(n=lb[n])?!!l[n]:!1}function kl(){return ei}var Uh=T({},ku,{key:function(n){if(n.key){var l=_0[n.key]||n.key;if(l!=="Unidentified")return l}return n.type==="keypress"?(n=jh(n),n===13?"Enter":String.fromCharCode(n)):n.type==="keydown"||n.type==="keyup"?Li[n.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:kl,charCode:function(n){return n.type==="keypress"?jh(n):0},keyCode:function(n){return n.type==="keydown"||n.type==="keyup"?n.keyCode:0},which:function(n){return n.type==="keypress"?jh(n):n.type==="keydown"||n.type==="keyup"?n.keyCode:0}}),Lh=ra(Uh),O0=T({},kh,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),ti=ra(O0),sw=T({},ku,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:kl}),ib=ra(sw),ob=T({},pr,{propertyName:0,elapsedTime:0,pseudoElement:0}),uw=ra(ob),j0=T({},kh,{deltaX:function(n){return"deltaX"in n?n.deltaX:"wheelDeltaX"in n?-n.wheelDeltaX:0},deltaY:function(n){return"deltaY"in n?n.deltaY:"wheelDeltaY"in n?-n.wheelDeltaY:"wheelDelta"in n?-n.wheelDelta:0},deltaZ:0,deltaMode:0}),cw=ra(j0),rb=T({},pr,{newState:0,oldState:0}),k0=ra(rb),Bh=[9,13,27,32],Uu=zo&&"CompositionEvent"in window,ds=null;zo&&"documentMode"in document&&(ds=document.documentMode);var ga=zo&&"TextEvent"in window&&!ds,N0=zo&&(!Uu||ds&&8<ds&&11>=ds),Af=" ",mr=!1;function Hh(n,l){switch(n){case"keyup":return Bh.indexOf(l.keyCode)!==-1;case"keydown":return l.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function U0(n){return n=n.detail,typeof n=="object"&&"data"in n?n.data:null}var hs=!1;function sb(n,l){switch(n){case"compositionend":return U0(l);case"keypress":return l.which!==32?null:(mr=!0,Af);case"textInput":return n=l.data,n===Af&&mr?null:n;default:return null}}function fw(n,l){if(hs)return n==="compositionend"||!Uu&&Hh(n,l)?(n=z0(),Oh=C0=Ro=null,hs=!1,n):null;switch(n){case"paste":return null;case"keypress":if(!(l.ctrlKey||l.altKey||l.metaKey)||l.ctrlKey&&l.altKey){if(l.char&&1<l.char.length)return l.char;if(l.which)return String.fromCharCode(l.which)}return null;case"compositionend":return N0&&l.locale!=="ko"?null:l.data;default:return null}}var L0={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 Bi(n){var l=n&&n.nodeName&&n.nodeName.toLowerCase();return l==="input"?!!L0[n.type]:l==="textarea"}function B0(n,l,r,c){Ui?us?us.push(c):us=[c]:Ui=c,l=xd(l,"onChange"),0<l.length&&(r=new Ef("onChange","change",null,r,c),n.push({event:r,listeners:l}))}var ps=null,gr=null;function ms(n){a1(n,0)}function Lu(n){var l=zu(n);if(x0(l))return n}function H0(n,l){if(n==="change")return l}var Vh=!1;if(zo){var za;if(zo){var ni="oninput"in document;if(!ni){var V0=document.createElement("div");V0.setAttribute("oninput","return;"),ni=typeof V0.oninput=="function"}za=ni}else za=!1;Vh=za&&(!document.documentMode||9<document.documentMode)}function Yh(){ps&&(ps.detachEvent("onpropertychange",qh),gr=ps=null)}function qh(n){if(n.propertyName==="value"&&Lu(gr)){var l=[];B0(l,gr,n,_h(n)),A0(ms,l)}}function ub(n,l,r){n==="focusin"?(Yh(),ps=l,gr=r,ps.attachEvent("onpropertychange",qh)):n==="focusout"&&Yh()}function cb(n){if(n==="selectionchange"||n==="keyup"||n==="keydown")return Lu(gr)}function yr(n,l){if(n==="click")return Lu(l)}function gs(n,l){if(n==="input"||n==="change")return Lu(l)}function fb(n,l){return n===l&&(n!==0||1/n===1/l)||n!==n&&l!==l}var ya=typeof Object.is=="function"?Object.is:fb;function Nl(n,l){if(ya(n,l))return!0;if(typeof n!="object"||n===null||typeof l!="object"||l===null)return!1;var r=Object.keys(n),c=Object.keys(l);if(r.length!==c.length)return!1;for(c=0;c<r.length;c++){var m=r[c];if(!hf.call(l,m)||!ya(n[m],l[m]))return!1}return!0}function Y0(n){for(;n&&n.firstChild;)n=n.firstChild;return n}function q0(n,l){var r=Y0(n);n=0;for(var c;r;){if(r.nodeType===3){if(c=n+r.textContent.length,n<=l&&c>=l)return{node:r,offset:l-n};n=c}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=Y0(r)}}function ys(n,l){return n&&l?n===l?!0:n&&n.nodeType===3?!1:l&&l.nodeType===3?ys(n,l.parentNode):"contains"in n?n.contains(l):n.compareDocumentPosition?!!(n.compareDocumentPosition(l)&16):!1:!1}function vr(n){n=n!=null&&n.ownerDocument!=null&&n.ownerDocument.defaultView!=null?n.ownerDocument.defaultView:window;for(var l=gf(n.document);l instanceof n.HTMLIFrameElement;){try{var r=typeof l.contentWindow.location.href=="string"}catch{r=!1}if(r)n=l.contentWindow;else break;l=gf(n.document)}return l}function Cf(n){var l=n&&n.nodeName&&n.nodeName.toLowerCase();return l&&(l==="input"&&(n.type==="text"||n.type==="search"||n.type==="tel"||n.type==="url"||n.type==="password")||l==="textarea"||n.contentEditable==="true")}var zf=zo&&"documentMode"in document&&11>=document.documentMode,br=null,Bu=null,Ul=null,ai=!1;function Gh(n,l,r){var c=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;ai||br==null||br!==gf(c)||(c=br,"selectionStart"in c&&Cf(c)?c={start:c.selectionStart,end:c.selectionEnd}:(c=(c.ownerDocument&&c.ownerDocument.defaultView||window).getSelection(),c={anchorNode:c.anchorNode,anchorOffset:c.anchorOffset,focusNode:c.focusNode,focusOffset:c.focusOffset}),Ul&&Nl(Ul,c)||(Ul=c,c=xd(Bu,"onSelect"),0<c.length&&(l=new Ef("onSelect","select",null,l,r),n.push({event:l,listeners:c}),l.target=br)))}function Mo(n,l){var r={};return r[n.toLowerCase()]=l.toLowerCase(),r["Webkit"+n]="webkit"+l,r["Moz"+n]="moz"+l,r}var li={animationend:Mo("Animation","AnimationEnd"),animationiteration:Mo("Animation","AnimationIteration"),animationstart:Mo("Animation","AnimationStart"),transitionrun:Mo("Transition","TransitionRun"),transitionstart:Mo("Transition","TransitionStart"),transitioncancel:Mo("Transition","TransitionCancel"),transitionend:Mo("Transition","TransitionEnd")},Hu={},Sr={};zo&&(Sr=document.createElement("div").style,"AnimationEvent"in window||(delete li.animationend.animation,delete li.animationiteration.animation,delete li.animationstart.animation),"TransitionEvent"in window||delete li.transitionend.transition);function jt(n){if(Hu[n])return Hu[n];if(!li[n])return n;var l=li[n],r;for(r in l)if(l.hasOwnProperty(r)&&r in Sr)return Hu[n]=l[r];return n}var Rf=jt("animationend"),G0=jt("animationiteration"),Xh=jt("animationstart"),vs=jt("transitionrun"),Mf=jt("transitionstart"),Hi=jt("transitioncancel"),db=jt("transitionend"),Vi=new Map,Vu="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");Vu.push("scrollEnd");function Ra(n,l){Vi.set(n,l),hr(l,[n])}var bs=typeof reportError=="function"?reportError:function(n){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var l=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof n=="object"&&n!==null&&typeof n.message=="string"?String(n.message):String(n),error:n});if(!window.dispatchEvent(l))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",n);return}console.error(n)},nn=[],Zn=0,Ll=0;function ul(){for(var n=Zn,l=Ll=Zn=0;l<n;){var r=nn[l];nn[l++]=null;var c=nn[l];nn[l++]=null;var m=nn[l];nn[l++]=null;var v=nn[l];if(nn[l++]=null,c!==null&&m!==null){var A=c.pending;A===null?m.next=m:(m.next=A.next,A.next=m),c.pending=m}v!==0&&Qh(r,m,v)}}function cl(n,l,r,c){nn[Zn++]=n,nn[Zn++]=l,nn[Zn++]=r,nn[Zn++]=c,Ll|=c,n.lanes|=c,n=n.alternate,n!==null&&(n.lanes|=c)}function Bl(n,l,r,c){return cl(n,l,r,c),Df(n)}function Do(n,l){return cl(n,null,null,l),Df(n)}function Qh(n,l,r){n.lanes|=r;var c=n.alternate;c!==null&&(c.lanes|=r);for(var m=!1,v=n.return;v!==null;)v.childLanes|=r,c=v.alternate,c!==null&&(c.childLanes|=r),v.tag===22&&(n=v.stateNode,n===null||n._visibility&1||(m=!0)),n=v,v=v.return;return n.tag===3?(v=n.stateNode,m&&l!==null&&(m=31-Xn(r),n=v.hiddenUpdates,c=n[m],c===null?n[m]=[l]:c.push(l),l.lane=r|536870912),v):null}function Df(n){if(50<hc)throw hc=0,dd=null,Error(f(185));for(var l=n.return;l!==null;)n=l,l=n.return;return n.tag===3?n.stateNode:null}var Ma={};function hb(n,l,r,c){this.tag=n,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=l,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=c,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function gn(n,l,r,c){return new hb(n,l,r,c)}function Ss(n){return n=n.prototype,!(!n||!n.isReactComponent)}function _o(n,l){var r=n.alternate;return r===null?(r=gn(n.tag,l,n.key,n.mode),r.elementType=n.elementType,r.type=n.type,r.stateNode=n.stateNode,r.alternate=n,n.alternate=r):(r.pendingProps=l,r.type=n.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=n.flags&65011712,r.childLanes=n.childLanes,r.lanes=n.lanes,r.child=n.child,r.memoizedProps=n.memoizedProps,r.memoizedState=n.memoizedState,r.updateQueue=n.updateQueue,l=n.dependencies,r.dependencies=l===null?null:{lanes:l.lanes,firstContext:l.firstContext},r.sibling=n.sibling,r.index=n.index,r.ref=n.ref,r.refCleanup=n.refCleanup,r}function X0(n,l){n.flags&=65011714;var r=n.alternate;return r===null?(n.childLanes=0,n.lanes=l,n.child=null,n.subtreeFlags=0,n.memoizedProps=null,n.memoizedState=null,n.updateQueue=null,n.dependencies=null,n.stateNode=null):(n.childLanes=r.childLanes,n.lanes=r.lanes,n.child=r.child,n.subtreeFlags=0,n.deletions=null,n.memoizedProps=r.memoizedProps,n.memoizedState=r.memoizedState,n.updateQueue=r.updateQueue,n.type=r.type,l=r.dependencies,n.dependencies=l===null?null:{lanes:l.lanes,firstContext:l.firstContext}),n}function Zh(n,l,r,c,m,v){var A=0;if(c=n,typeof n=="function")Ss(n)&&(A=1);else if(typeof n=="string")A=hy(n,r,Ee.current)?26:n==="html"||n==="head"||n==="body"?27:5;else e:switch(n){case we:return n=gn(31,r,l,m),n.elementType=we,n.lanes=v,n;case Q:return Oo(r.children,m,v,l);case q:A=8,m|=24;break;case W:return n=gn(12,r,l,m|2),n.elementType=W,n.lanes=v,n;case pe:return n=gn(13,r,l,m),n.elementType=pe,n.lanes=v,n;case de:return n=gn(19,r,l,m),n.elementType=de,n.lanes=v,n;default:if(typeof n=="object"&&n!==null)switch(n.$$typeof){case $:A=10;break e;case U:A=9;break e;case le:A=11;break e;case he:A=14;break e;case re:A=16,c=null;break e}A=29,r=Error(f(130,n===null?"null":typeof n,"")),c=null}return l=gn(A,r,l,m),l.elementType=n,l.type=c,l.lanes=v,l}function Oo(n,l,r,c){return n=gn(7,n,c,l),n.lanes=r,n}function Yu(n,l,r){return n=gn(6,n,null,l),n.lanes=r,n}function Q0(n){var l=gn(18,null,null,0);return l.stateNode=n,l}function Kh(n,l,r){return l=gn(4,n.children!==null?n.children:[],n.key,l),l.lanes=r,l.stateNode={containerInfo:n.containerInfo,pendingChildren:null,implementation:n.implementation},l}var Z0=new WeakMap;function fl(n,l){if(typeof n=="object"&&n!==null){var r=Z0.get(n);return r!==void 0?r:(l={value:n,source:l,stack:ts(l)},Z0.set(n,l),l)}return{value:n,source:l,stack:ts(l)}}var dl=[],xs=0,_f=null,En=0,Za=[],Da=0,ii=null,Ka=1,oi="";function Hl(n,l){dl[xs++]=En,dl[xs++]=_f,_f=n,En=l}function K0(n,l,r){Za[Da++]=Ka,Za[Da++]=oi,Za[Da++]=ii,ii=n;var c=Ka;n=oi;var m=32-Xn(c)-1;c&=~(1<<m),r+=1;var v=32-Xn(l)+m;if(30<v){var A=m-m%5;v=(c&(1<<A)-1).toString(32),c>>=A,m-=A,Ka=1<<32-Xn(l)+m|r<<m|c,oi=v+n}else Ka=1<<v|r<<m|c,oi=n}function qu(n){n.return!==null&&(Hl(n,1),K0(n,1,0))}function Jh(n){for(;n===_f;)_f=dl[--xs],dl[xs]=null,En=dl[--xs],dl[xs]=null;for(;n===ii;)ii=Za[--Da],Za[Da]=null,oi=Za[--Da],Za[Da]=null,Ka=Za[--Da],Za[Da]=null}function Of(n,l){Za[Da++]=Ka,Za[Da++]=oi,Za[Da++]=ii,Ka=l.id,oi=l.overflow,ii=n}var Kn=null,Jt=null,xt=!1,Yi=null,Un=!1,qi=Error(f(519));function Vl(n){var l=Error(f(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Xu(fl(l,n)),qi}function jf(n){var l=n.stateNode,r=n.type,c=n.memoizedProps;switch(l[Yt]=n,l[Ca]=c,r){case"dialog":St("cancel",l),St("close",l);break;case"iframe":case"object":case"embed":St("load",l);break;case"video":case"audio":for(r=0;r<bc.length;r++)St(bc[r],l);break;case"source":St("error",l);break;case"img":case"image":case"link":St("error",l),St("load",l);break;case"details":St("toggle",l);break;case"input":St("invalid",l),vf(l,c.value,c.defaultValue,c.checked,c.defaultChecked,c.type,c.name,!0);break;case"select":St("invalid",l);break;case"textarea":St("invalid",l),E0(l,c.value,c.defaultValue,c.children)}r=c.children,typeof r!="string"&&typeof r!="number"&&typeof r!="bigint"||l.textContent===""+r||c.suppressHydrationWarning===!0||ny(l.textContent,r)?(c.popover!=null&&(St("beforetoggle",l),St("toggle",l)),c.onScroll!=null&&St("scroll",l),c.onScrollEnd!=null&&St("scrollend",l),c.onClick!=null&&(l.onclick=Pl),l=!0):l=!1,l||Vl(n,!0)}function Gu(n){for(Kn=n.return;Kn;)switch(Kn.tag){case 5:case 31:case 13:Un=!1;return;case 27:case 3:Un=!0;return;default:Kn=Kn.return}}function Gi(n){if(n!==Kn)return!1;if(!xt)return Gu(n),xt=!0,!1;var l=n.tag,r;if((r=l!==3&&l!==27)&&((r=l===5)&&(r=n.type,r=!(r!=="form"&&r!=="button")||xc(n.type,n.memoizedProps)),r=!r),r&&Jt&&Vl(n),Gu(n),l===13){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(f(317));Jt=Fp(n)}else if(l===31){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(f(317));Jt=Fp(n)}else l===27?(l=Jt,yi(n.type)?(n=Td,Td=null,Jt=n):Jt=l):Jt=Kn?Va(n.stateNode.nextSibling):null;return!0}function xr(){Jt=Kn=null,xt=!1}function J0(){var n=Yi;return n!==null&&(pn===null?pn=n:pn.push.apply(pn,n),Yi=null),n}function Xu(n){Yi===null?Yi=[n]:Yi.push(n)}var $h=k(null),jo=null,ri=null;function _a(n,l,r){xe($h,l._currentValue),l._currentValue=r}function si(n){n._currentValue=$h.current,te($h)}function Ih(n,l,r){for(;n!==null;){var c=n.alternate;if((n.childLanes&l)!==l?(n.childLanes|=l,c!==null&&(c.childLanes|=l)):c!==null&&(c.childLanes&l)!==l&&(c.childLanes|=l),n===r)break;n=n.return}}function Xi(n,l,r,c){var m=n.child;for(m!==null&&(m.return=n);m!==null;){var v=m.dependencies;if(v!==null){var A=m.child;v=v.firstContext;e:for(;v!==null;){var O=v;v=m;for(var Y=0;Y<l.length;Y++)if(O.context===l[Y]){v.lanes|=r,O=v.alternate,O!==null&&(O.lanes|=r),Ih(v.return,r,n),c||(A=null);break e}v=O.next}}else if(m.tag===18){if(A=m.return,A===null)throw Error(f(341));A.lanes|=r,v=A.alternate,v!==null&&(v.lanes|=r),Ih(A,r,n),A=null}else A=m.child;if(A!==null)A.return=m;else for(A=m;A!==null;){if(A===n){A=null;break}if(m=A.sibling,m!==null){m.return=A.return,A=m;break}A=A.return}m=A}}function Jn(n,l,r,c){n=null;for(var m=l,v=!1;m!==null;){if(!v){if((m.flags&524288)!==0)v=!0;else if((m.flags&262144)!==0)break}if(m.tag===10){var A=m.alternate;if(A===null)throw Error(f(387));if(A=A.memoizedProps,A!==null){var O=m.type;ya(m.pendingProps.value,A.value)||(n!==null?n.push(O):n=[O])}}else if(m===Qe.current){if(A=m.alternate,A===null)throw Error(f(387));A.memoizedState.memoizedState!==m.memoizedState.memoizedState&&(n!==null?n.push(zd):n=[zd])}m=m.return}n!==null&&Xi(l,n,r,c),l.flags|=262144}function ws(n){for(n=n.firstContext;n!==null;){if(!ya(n.context._currentValue,n.memoizedValue))return!0;n=n.next}return!1}function tt(n){jo=n,ri=null,n=n.dependencies,n!==null&&(n.firstContext=null)}function Se(n){return kf(jo,n)}function ko(n,l){return jo===null&&tt(n),kf(n,l)}function kf(n,l){var r=l._currentValue;if(l={context:l,memoizedValue:r,next:null},ri===null){if(n===null)throw Error(f(308));ri=l,n.dependencies={lanes:0,firstContext:l},n.flags|=524288}else ri=ri.next=l;return r}var yn=typeof AbortController<"u"?AbortController:function(){var n=[],l=this.signal={aborted:!1,addEventListener:function(r,c){n.push(c)}};this.abort=function(){l.aborted=!0,n.forEach(function(r){return r()})}},$0=i.unstable_scheduleCallback,I0=i.unstable_NormalPriority,Tn={$$typeof:$,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Nf(){return{controller:new yn,data:new Map,refCount:0}}function Uf(n){n.refCount--,n.refCount===0&&$0(I0,function(){n.controller.abort()})}var Es=null,Lf=0,wr=0,_n=null;function Lt(n,l){if(Es===null){var r=Es=[];Lf=0,wr=Gp(),_n={status:"pending",value:void 0,then:function(c){r.push(c)}}}return Lf++,l.then(Bf,Bf),l}function Bf(){if(--Lf===0&&Es!==null){_n!==null&&(_n.status="fulfilled");var n=Es;Es=null,wr=0,_n=null;for(var l=0;l<n.length;l++)(0,n[l])()}}function Hf(n,l){var r=[],c={status:"pending",value:null,reason:null,then:function(m){r.push(m)}};return n.then(function(){c.status="fulfilled",c.value=l;for(var m=0;m<r.length;m++)(0,r[m])(l)},function(m){for(c.status="rejected",c.reason=m,m=0;m<r.length;m++)(0,r[m])(void 0)}),c}var No=G.S;G.S=function(n,l){Gg=Dn(),typeof l=="object"&&l!==null&&typeof l.then=="function"&&Lt(n,l),No!==null&&No(n,l)};var hl=k(null);function pl(){var n=hl.current;return n!==null?n:Gt.pooledCache}function Qu(n,l){l===null?xe(hl,hl.current):xe(hl,l.pool)}function Ts(){var n=pl();return n===null?null:{parent:Tn._currentValue,pool:n}}var Er=Error(f(460)),As=Error(f(474)),Zu=Error(f(542)),Cs={then:function(){}};function F0(n){return n=n.status,n==="fulfilled"||n==="rejected"}function P0(n,l,r){switch(r=n[r],r===void 0?n.push(l):r!==l&&(l.then(Pl,Pl),l=r),l.status){case"fulfilled":return l.value;case"rejected":throw n=l.reason,Fh(n),n;default:if(typeof l.status=="string")l.then(Pl,Pl);else{if(n=Gt,n!==null&&100<n.shellSuspendCounter)throw Error(f(482));n=l,n.status="pending",n.then(function(c){if(l.status==="pending"){var m=l;m.status="fulfilled",m.value=c}},function(c){if(l.status==="pending"){var m=l;m.status="rejected",m.reason=c}})}switch(l.status){case"fulfilled":return l.value;case"rejected":throw n=l.reason,Fh(n),n}throw Ar=l,Er}}function Tr(n){try{var l=n._init;return l(n._payload)}catch(r){throw r!==null&&typeof r=="object"&&typeof r.then=="function"?(Ar=r,Er):r}}var Ar=null;function W0(){if(Ar===null)throw Error(f(459));var n=Ar;return Ar=null,n}function Fh(n){if(n===Er||n===Zu)throw Error(f(483))}var Cr=null,zs=0;function Vf(n){var l=zs;return zs+=1,Cr===null&&(Cr=[]),P0(Cr,n,l)}function Ku(n,l){l=l.props.ref,n.ref=l!==void 0?l:null}function Yf(n,l){throw l.$$typeof===z?Error(f(525)):(n=Object.prototype.toString.call(l),Error(f(31,n==="[object Object]"?"object with keys {"+Object.keys(l).join(", ")+"}":n)))}function pb(n){function l(P,K){if(n){var ne=P.deletions;ne===null?(P.deletions=[K],P.flags|=16):ne.push(K)}}function r(P,K){if(!n)return null;for(;K!==null;)l(P,K),K=K.sibling;return null}function c(P){for(var K=new Map;P!==null;)P.key!==null?K.set(P.key,P):K.set(P.index,P),P=P.sibling;return K}function m(P,K){return P=_o(P,K),P.index=0,P.sibling=null,P}function v(P,K,ne){return P.index=ne,n?(ne=P.alternate,ne!==null?(ne=ne.index,ne<K?(P.flags|=67108866,K):ne):(P.flags|=67108866,K)):(P.flags|=1048576,K)}function A(P){return n&&P.alternate===null&&(P.flags|=67108866),P}function O(P,K,ne,ve){return K===null||K.tag!==6?(K=Yu(ne,P.mode,ve),K.return=P,K):(K=m(K,ne),K.return=P,K)}function Y(P,K,ne,ve){var Ge=ne.type;return Ge===Q?me(P,K,ne.props.children,ve,ne.key):K!==null&&(K.elementType===Ge||typeof Ge=="object"&&Ge!==null&&Ge.$$typeof===re&&Tr(Ge)===K.type)?(K=m(K,ne.props),Ku(K,ne),K.return=P,K):(K=Zh(ne.type,ne.key,ne.props,null,P.mode,ve),Ku(K,ne),K.return=P,K)}function ae(P,K,ne,ve){return K===null||K.tag!==4||K.stateNode.containerInfo!==ne.containerInfo||K.stateNode.implementation!==ne.implementation?(K=Kh(ne,P.mode,ve),K.return=P,K):(K=m(K,ne.children||[]),K.return=P,K)}function me(P,K,ne,ve,Ge){return K===null||K.tag!==7?(K=Oo(ne,P.mode,ve,Ge),K.return=P,K):(K=m(K,ne),K.return=P,K)}function be(P,K,ne){if(typeof K=="string"&&K!==""||typeof K=="number"||typeof K=="bigint")return K=Yu(""+K,P.mode,ne),K.return=P,K;if(typeof K=="object"&&K!==null){switch(K.$$typeof){case N:return ne=Zh(K.type,K.key,K.props,null,P.mode,ne),Ku(ne,K),ne.return=P,ne;case H:return K=Kh(K,P.mode,ne),K.return=P,K;case re:return K=Tr(K),be(P,K,ne)}if(lt(K)||ee(K))return K=Oo(K,P.mode,ne,null),K.return=P,K;if(typeof K.then=="function")return be(P,Vf(K),ne);if(K.$$typeof===$)return be(P,ko(P,K),ne);Yf(P,K)}return null}function ie(P,K,ne,ve){var Ge=K!==null?K.key:null;if(typeof ne=="string"&&ne!==""||typeof ne=="number"||typeof ne=="bigint")return Ge!==null?null:O(P,K,""+ne,ve);if(typeof ne=="object"&&ne!==null){switch(ne.$$typeof){case N:return ne.key===Ge?Y(P,K,ne,ve):null;case H:return ne.key===Ge?ae(P,K,ne,ve):null;case re:return ne=Tr(ne),ie(P,K,ne,ve)}if(lt(ne)||ee(ne))return Ge!==null?null:me(P,K,ne,ve,null);if(typeof ne.then=="function")return ie(P,K,Vf(ne),ve);if(ne.$$typeof===$)return ie(P,K,ko(P,ne),ve);Yf(P,ne)}return null}function ce(P,K,ne,ve,Ge){if(typeof ve=="string"&&ve!==""||typeof ve=="number"||typeof ve=="bigint")return P=P.get(ne)||null,O(K,P,""+ve,Ge);if(typeof ve=="object"&&ve!==null){switch(ve.$$typeof){case N:return P=P.get(ve.key===null?ne:ve.key)||null,Y(K,P,ve,Ge);case H:return P=P.get(ve.key===null?ne:ve.key)||null,ae(K,P,ve,Ge);case re:return ve=Tr(ve),ce(P,K,ne,ve,Ge)}if(lt(ve)||ee(ve))return P=P.get(ne)||null,me(K,P,ve,Ge,null);if(typeof ve.then=="function")return ce(P,K,ne,Vf(ve),Ge);if(ve.$$typeof===$)return ce(P,K,ne,ko(K,ve),Ge);Yf(K,ve)}return null}function ke(P,K,ne,ve){for(var Ge=null,zt=null,Ve=K,ot=K=0,ct=null;Ve!==null&&ot<ne.length;ot++){Ve.index>ot?(ct=Ve,Ve=null):ct=Ve.sibling;var Ot=ie(P,Ve,ne[ot],ve);if(Ot===null){Ve===null&&(Ve=ct);break}n&&Ve&&Ot.alternate===null&&l(P,Ve),K=v(Ot,K,ot),zt===null?Ge=Ot:zt.sibling=Ot,zt=Ot,Ve=ct}if(ot===ne.length)return r(P,Ve),xt&&Hl(P,ot),Ge;if(Ve===null){for(;ot<ne.length;ot++)Ve=be(P,ne[ot],ve),Ve!==null&&(K=v(Ve,K,ot),zt===null?Ge=Ve:zt.sibling=Ve,zt=Ve);return xt&&Hl(P,ot),Ge}for(Ve=c(Ve);ot<ne.length;ot++)ct=ce(Ve,P,ot,ne[ot],ve),ct!==null&&(n&&ct.alternate!==null&&Ve.delete(ct.key===null?ot:ct.key),K=v(ct,K,ot),zt===null?Ge=ct:zt.sibling=ct,zt=ct);return n&&Ve.forEach(function(Si){return l(P,Si)}),xt&&Hl(P,ot),Ge}function Je(P,K,ne,ve){if(ne==null)throw Error(f(151));for(var Ge=null,zt=null,Ve=K,ot=K=0,ct=null,Ot=ne.next();Ve!==null&&!Ot.done;ot++,Ot=ne.next()){Ve.index>ot?(ct=Ve,Ve=null):ct=Ve.sibling;var Si=ie(P,Ve,Ot.value,ve);if(Si===null){Ve===null&&(Ve=ct);break}n&&Ve&&Si.alternate===null&&l(P,Ve),K=v(Si,K,ot),zt===null?Ge=Si:zt.sibling=Si,zt=Si,Ve=ct}if(Ot.done)return r(P,Ve),xt&&Hl(P,ot),Ge;if(Ve===null){for(;!Ot.done;ot++,Ot=ne.next())Ot=be(P,Ot.value,ve),Ot!==null&&(K=v(Ot,K,ot),zt===null?Ge=Ot:zt.sibling=Ot,zt=Ot);return xt&&Hl(P,ot),Ge}for(Ve=c(Ve);!Ot.done;ot++,Ot=ne.next())Ot=ce(Ve,P,ot,Ot.value,ve),Ot!==null&&(n&&Ot.alternate!==null&&Ve.delete(Ot.key===null?ot:Ot.key),K=v(Ot,K,ot),zt===null?Ge=Ot:zt.sibling=Ot,zt=Ot);return n&&Ve.forEach(function(v1){return l(P,v1)}),xt&&Hl(P,ot),Ge}function Qt(P,K,ne,ve){if(typeof ne=="object"&&ne!==null&&ne.type===Q&&ne.key===null&&(ne=ne.props.children),typeof ne=="object"&&ne!==null){switch(ne.$$typeof){case N:e:{for(var Ge=ne.key;K!==null;){if(K.key===Ge){if(Ge=ne.type,Ge===Q){if(K.tag===7){r(P,K.sibling),ve=m(K,ne.props.children),ve.return=P,P=ve;break e}}else if(K.elementType===Ge||typeof Ge=="object"&&Ge!==null&&Ge.$$typeof===re&&Tr(Ge)===K.type){r(P,K.sibling),ve=m(K,ne.props),Ku(ve,ne),ve.return=P,P=ve;break e}r(P,K);break}else l(P,K);K=K.sibling}ne.type===Q?(ve=Oo(ne.props.children,P.mode,ve,ne.key),ve.return=P,P=ve):(ve=Zh(ne.type,ne.key,ne.props,null,P.mode,ve),Ku(ve,ne),ve.return=P,P=ve)}return A(P);case H:e:{for(Ge=ne.key;K!==null;){if(K.key===Ge)if(K.tag===4&&K.stateNode.containerInfo===ne.containerInfo&&K.stateNode.implementation===ne.implementation){r(P,K.sibling),ve=m(K,ne.children||[]),ve.return=P,P=ve;break e}else{r(P,K);break}else l(P,K);K=K.sibling}ve=Kh(ne,P.mode,ve),ve.return=P,P=ve}return A(P);case re:return ne=Tr(ne),Qt(P,K,ne,ve)}if(lt(ne))return ke(P,K,ne,ve);if(ee(ne)){if(Ge=ee(ne),typeof Ge!="function")throw Error(f(150));return ne=Ge.call(ne),Je(P,K,ne,ve)}if(typeof ne.then=="function")return Qt(P,K,Vf(ne),ve);if(ne.$$typeof===$)return Qt(P,K,ko(P,ne),ve);Yf(P,ne)}return typeof ne=="string"&&ne!==""||typeof ne=="number"||typeof ne=="bigint"?(ne=""+ne,K!==null&&K.tag===6?(r(P,K.sibling),ve=m(K,ne),ve.return=P,P=ve):(r(P,K),ve=Yu(ne,P.mode,ve),ve.return=P,P=ve),A(P)):r(P,K)}return function(P,K,ne,ve){try{zs=0;var Ge=Qt(P,K,ne,ve);return Cr=null,Ge}catch(Ve){if(Ve===Er||Ve===Zu)throw Ve;var zt=gn(29,Ve,null,P.mode);return zt.lanes=ve,zt.return=P,zt}}}var zr=pb(!0),eg=pb(!1),Uo=!1;function qf(n){n.updateQueue={baseState:n.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Ph(n,l){n=n.updateQueue,l.updateQueue===n&&(l.updateQueue={baseState:n.baseState,firstBaseUpdate:n.firstBaseUpdate,lastBaseUpdate:n.lastBaseUpdate,shared:n.shared,callbacks:null})}function Lo(n){return{lane:n,tag:0,payload:null,callback:null,next:null}}function ml(n,l,r){var c=n.updateQueue;if(c===null)return null;if(c=c.shared,(_t&2)!==0){var m=c.pending;return m===null?l.next=l:(l.next=m.next,m.next=l),c.pending=l,l=Df(n),Qh(n,null,r),l}return cl(n,c,l,r),Df(n)}function Rr(n,l,r){if(l=l.updateQueue,l!==null&&(l=l.shared,(r&4194048)!==0)){var c=l.lanes;c&=n.pendingLanes,r|=c,l.lanes=r,Oi(n,r)}}function Wh(n,l){var r=n.updateQueue,c=n.alternate;if(c!==null&&(c=c.updateQueue,r===c)){var m=null,v=null;if(r=r.firstBaseUpdate,r!==null){do{var A={lane:r.lane,tag:r.tag,payload:r.payload,callback:null,next:null};v===null?m=v=A:v=v.next=A,r=r.next}while(r!==null);v===null?m=v=l:v=v.next=l}else m=v=l;r={baseState:c.baseState,firstBaseUpdate:m,lastBaseUpdate:v,shared:c.shared,callbacks:c.callbacks},n.updateQueue=r;return}n=r.lastBaseUpdate,n===null?r.firstBaseUpdate=l:n.next=l,r.lastBaseUpdate=l}var tg=!1;function Mr(){if(tg){var n=_n;if(n!==null)throw n}}function Qi(n,l,r,c){tg=!1;var m=n.updateQueue;Uo=!1;var v=m.firstBaseUpdate,A=m.lastBaseUpdate,O=m.shared.pending;if(O!==null){m.shared.pending=null;var Y=O,ae=Y.next;Y.next=null,A===null?v=ae:A.next=ae,A=Y;var me=n.alternate;me!==null&&(me=me.updateQueue,O=me.lastBaseUpdate,O!==A&&(O===null?me.firstBaseUpdate=ae:O.next=ae,me.lastBaseUpdate=Y))}if(v!==null){var be=m.baseState;A=0,me=ae=Y=null,O=v;do{var ie=O.lane&-536870913,ce=ie!==O.lane;if(ce?(vt&ie)===ie:(c&ie)===ie){ie!==0&&ie===wr&&(tg=!0),me!==null&&(me=me.next={lane:0,tag:O.tag,payload:O.payload,callback:null,next:null});e:{var ke=n,Je=O;ie=l;var Qt=r;switch(Je.tag){case 1:if(ke=Je.payload,typeof ke=="function"){be=ke.call(Qt,be,ie);break e}be=ke;break e;case 3:ke.flags=ke.flags&-65537|128;case 0:if(ke=Je.payload,ie=typeof ke=="function"?ke.call(Qt,be,ie):ke,ie==null)break e;be=T({},be,ie);break e;case 2:Uo=!0}}ie=O.callback,ie!==null&&(n.flags|=64,ce&&(n.flags|=8192),ce=m.callbacks,ce===null?m.callbacks=[ie]:ce.push(ie))}else ce={lane:ie,tag:O.tag,payload:O.payload,callback:O.callback,next:null},me===null?(ae=me=ce,Y=be):me=me.next=ce,A|=ie;if(O=O.next,O===null){if(O=m.shared.pending,O===null)break;ce=O,O=ce.next,ce.next=null,m.lastBaseUpdate=ce,m.shared.pending=null}}while(!0);me===null&&(Y=be),m.baseState=Y,m.firstBaseUpdate=ae,m.lastBaseUpdate=me,v===null&&(m.shared.lanes=0),mi|=A,n.lanes=A,n.memoizedState=be}}function ep(n,l){if(typeof n!="function")throw Error(f(191,n));n.call(l)}function Dr(n,l){var r=n.callbacks;if(r!==null)for(n.callbacks=null,n=0;n<r.length;n++)ep(r[n],l)}var Ln=k(null),Rs=k(0);function mb(n,l){n=pi,xe(Rs,n),xe(Ln,l),pi=n|l.baseLanes}function Gf(){xe(Rs,pi),xe(Ln,Ln.current)}function Ju(){pi=Rs.current,te(Ln),te(Rs)}var Oa=k(null),gl=null;function Zi(n){var l=n.alternate;xe(an,an.current&1),xe(Oa,n),gl===null&&(l===null||Ln.current!==null||l.memoizedState!==null)&&(gl=n)}function $u(n){xe(an,an.current),xe(Oa,n),gl===null&&(gl=n)}function tp(n){n.tag===22?(xe(an,an.current),xe(Oa,n),gl===null&&(gl=n)):ui()}function ui(){xe(an,an.current),xe(Oa,Oa.current)}function ja(n){te(Oa),gl===n&&(gl=null),te(an)}var an=k(0);function Iu(n){for(var l=n;l!==null;){if(l.tag===13){var r=l.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||Xl(r)||qr(r)))return l}else if(l.tag===19&&(l.memoizedProps.revealOrder==="forwards"||l.memoizedProps.revealOrder==="backwards"||l.memoizedProps.revealOrder==="unstable_legacy-backwards"||l.memoizedProps.revealOrder==="together")){if((l.flags&128)!==0)return l}else if(l.child!==null){l.child.return=l,l=l.child;continue}if(l===n)break;for(;l.sibling===null;){if(l.return===null||l.return===n)return null;l=l.return}l.sibling.return=l.return,l=l.sibling}return null}var Ki=0,rt=null,Bt=null,An=null,Ms=!1,Ds=!1,Bo=!1,Xf=0,Fu=0,_r=null,gb=0;function dn(){throw Error(f(321))}function Ho(n,l){if(l===null)return!1;for(var r=0;r<l.length&&r<n.length;r++)if(!ya(n[r],l[r]))return!1;return!0}function Qf(n,l,r,c,m,v){return Ki=v,rt=l,l.memoizedState=null,l.updateQueue=null,l.lanes=0,G.H=n===null||n.memoizedState===null?Tb:vp,Bo=!1,v=r(c,m),Bo=!1,Ds&&(v=yb(l,r,c,m)),np(n),v}function np(n){G.H=ed;var l=Bt!==null&&Bt.next!==null;if(Ki=0,An=Bt=rt=null,Ms=!1,Fu=0,_r=null,l)throw Error(f(300));n===null||Cn||(n=n.dependencies,n!==null&&ws(n)&&(Cn=!0))}function yb(n,l,r,c){rt=n;var m=0;do{if(Ds&&(_r=null),Fu=0,Ds=!1,25<=m)throw Error(f(301));if(m+=1,An=Bt=null,n.updateQueue!=null){var v=n.updateQueue;v.lastEffect=null,v.events=null,v.stores=null,v.memoCache!=null&&(v.memoCache.index=0)}G.H=Ab,v=l(r,c)}while(Ds);return v}function dw(){var n=G.H,l=n.useState()[0];return l=typeof l.then=="function"?Os(l):l,n=n.useState()[0],(Bt!==null?Bt.memoizedState:null)!==n&&(rt.flags|=1024),l}function ap(){var n=Xf!==0;return Xf=0,n}function _s(n,l,r){l.updateQueue=n.updateQueue,l.flags&=-2053,n.lanes&=~r}function Zf(n){if(Ms){for(n=n.memoizedState;n!==null;){var l=n.queue;l!==null&&(l.pending=null),n=n.next}Ms=!1}Ki=0,An=Bt=rt=null,Ds=!1,Fu=Xf=0,_r=null}function $n(){var n={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return An===null?rt.memoizedState=An=n:An=An.next=n,An}function vn(){if(Bt===null){var n=rt.alternate;n=n!==null?n.memoizedState:null}else n=Bt.next;var l=An===null?rt.memoizedState:An.next;if(l!==null)An=l,Bt=n;else{if(n===null)throw rt.alternate===null?Error(f(467)):Error(f(310));Bt=n,n={memoizedState:Bt.memoizedState,baseState:Bt.baseState,baseQueue:Bt.baseQueue,queue:Bt.queue,next:null},An===null?rt.memoizedState=An=n:An=An.next=n}return An}function Kf(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Os(n){var l=Fu;return Fu+=1,_r===null&&(_r=[]),n=P0(_r,n,l),l=rt,(An===null?l.memoizedState:An.next)===null&&(l=l.alternate,G.H=l===null||l.memoizedState===null?Tb:vp),n}function Pu(n){if(n!==null&&typeof n=="object"){if(typeof n.then=="function")return Os(n);if(n.$$typeof===$)return Se(n)}throw Error(f(438,String(n)))}function lp(n){var l=null,r=rt.updateQueue;if(r!==null&&(l=r.memoCache),l==null){var c=rt.alternate;c!==null&&(c=c.updateQueue,c!==null&&(c=c.memoCache,c!=null&&(l={data:c.data.map(function(m){return m.slice()}),index:0})))}if(l==null&&(l={data:[],index:0}),r===null&&(r=Kf(),rt.updateQueue=r),r.memoCache=l,r=l.data[l.index],r===void 0)for(r=l.data[l.index]=Array(n),c=0;c<n;c++)r[c]=ye;return l.index++,r}function Ji(n,l){return typeof l=="function"?l(n):l}function $i(n){var l=vn();return ip(l,Bt,n)}function ip(n,l,r){var c=n.queue;if(c===null)throw Error(f(311));c.lastRenderedReducer=r;var m=n.baseQueue,v=c.pending;if(v!==null){if(m!==null){var A=m.next;m.next=v.next,v.next=A}l.baseQueue=m=v,c.pending=null}if(v=n.baseState,m===null)n.memoizedState=v;else{l=m.next;var O=A=null,Y=null,ae=l,me=!1;do{var be=ae.lane&-536870913;if(be!==ae.lane?(vt&be)===be:(Ki&be)===be){var ie=ae.revertLane;if(ie===0)Y!==null&&(Y=Y.next={lane:0,revertLane:0,gesture:null,action:ae.action,hasEagerState:ae.hasEagerState,eagerState:ae.eagerState,next:null}),be===wr&&(me=!0);else if((Ki&ie)===ie){ae=ae.next,ie===wr&&(me=!0);continue}else be={lane:0,revertLane:ae.revertLane,gesture:null,action:ae.action,hasEagerState:ae.hasEagerState,eagerState:ae.eagerState,next:null},Y===null?(O=Y=be,A=v):Y=Y.next=be,rt.lanes|=ie,mi|=ie;be=ae.action,Bo&&r(v,be),v=ae.hasEagerState?ae.eagerState:r(v,be)}else ie={lane:be,revertLane:ae.revertLane,gesture:ae.gesture,action:ae.action,hasEagerState:ae.hasEagerState,eagerState:ae.eagerState,next:null},Y===null?(O=Y=ie,A=v):Y=Y.next=ie,rt.lanes|=be,mi|=be;ae=ae.next}while(ae!==null&&ae!==l);if(Y===null?A=v:Y.next=O,!ya(v,n.memoizedState)&&(Cn=!0,me&&(r=_n,r!==null)))throw r;n.memoizedState=v,n.baseState=A,n.baseQueue=Y,c.lastRenderedState=v}return m===null&&(c.lanes=0),[n.memoizedState,c.dispatch]}function op(n){var l=vn(),r=l.queue;if(r===null)throw Error(f(311));r.lastRenderedReducer=n;var c=r.dispatch,m=r.pending,v=l.memoizedState;if(m!==null){r.pending=null;var A=m=m.next;do v=n(v,A.action),A=A.next;while(A!==m);ya(v,l.memoizedState)||(Cn=!0),l.memoizedState=v,l.baseQueue===null&&(l.baseState=v),r.lastRenderedState=v}return[v,c]}function ng(n,l,r){var c=rt,m=vn(),v=xt;if(v){if(r===void 0)throw Error(f(407));r=r()}else r=l();var A=!ya((Bt||m).memoizedState,r);if(A&&(m.memoizedState=r,Cn=!0),m=m.queue,fp(rp.bind(null,c,m,n),[n]),m.getSnapshot!==l||A||An!==null&&An.memoizedState.tag&1){if(c.flags|=2048,ks(9,{destroy:void 0},ag.bind(null,c,m,r,l),null),Gt===null)throw Error(f(349));v||(Ki&127)!==0||Jf(c,l,r)}return r}function Jf(n,l,r){n.flags|=16384,n={getSnapshot:l,value:r},l=rt.updateQueue,l===null?(l=Kf(),rt.updateQueue=l,l.stores=[n]):(r=l.stores,r===null?l.stores=[n]:r.push(n))}function ag(n,l,r,c){l.value=r,l.getSnapshot=c,sp(l)&&up(n)}function rp(n,l,r){return r(function(){sp(l)&&up(n)})}function sp(n){var l=n.getSnapshot;n=n.value;try{var r=l();return!ya(n,r)}catch{return!0}}function up(n){var l=Do(n,2);l!==null&&Ha(l,n,2)}function lg(n){var l=$n();if(typeof n=="function"){var r=n;if(n=r(),Bo){il(!0);try{r()}finally{il(!1)}}}return l.memoizedState=l.baseState=n,l.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ji,lastRenderedState:n},l}function In(n,l,r,c){return n.baseState=r,ip(n,Bt,typeof c=="function"?c:Ji)}function vb(n,l,r,c,m){if(Wf(n))throw Error(f(485));if(n=l.action,n!==null){var v={payload:m,action:n,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(A){v.listeners.push(A)}};G.T!==null?r(!0):v.isTransition=!1,c(v),r=l.pending,r===null?(v.next=l.pending=v,ig(l,v)):(v.next=r.next,l.pending=r.next=v)}}function ig(n,l){var r=l.action,c=l.payload,m=n.state;if(l.isTransition){var v=G.T,A={};G.T=A;try{var O=r(m,c),Y=G.S;Y!==null&&Y(A,O),og(n,l,O)}catch(ae){js(n,l,ae)}finally{v!==null&&A.types!==null&&(v.types=A.types),G.T=v}}else try{v=r(m,c),og(n,l,v)}catch(ae){js(n,l,ae)}}function og(n,l,r){r!==null&&typeof r=="object"&&typeof r.then=="function"?r.then(function(c){rg(n,l,c)},function(c){return js(n,l,c)}):rg(n,l,r)}function rg(n,l,r){l.status="fulfilled",l.value=r,sg(l),n.state=r,l=n.pending,l!==null&&(r=l.next,r===l?n.pending=null:(r=r.next,l.next=r,ig(n,r)))}function js(n,l,r){var c=n.pending;if(n.pending=null,c!==null){c=c.next;do l.status="rejected",l.reason=r,sg(l),l=l.next;while(l!==c)}n.action=null}function sg(n){n=n.listeners;for(var l=0;l<n.length;l++)(0,n[l])()}function $f(n,l){return l}function ug(n,l){if(xt){var r=Gt.formState;if(r!==null){e:{var c=rt;if(xt){if(Jt){t:{for(var m=Jt,v=Un;m.nodeType!==8;){if(!v){m=null;break t}if(m=Va(m.nextSibling),m===null){m=null;break t}}v=m.data,m=v==="F!"||v==="F"?m:null}if(m){Jt=Va(m.nextSibling),c=m.data==="F!";break e}}Vl(c)}c=!1}c&&(l=r[0])}}return r=$n(),r.memoizedState=r.baseState=l,c={pending:null,lanes:0,dispatch:null,lastRenderedReducer:$f,lastRenderedState:l},r.queue=c,r=gp.bind(null,rt,c),c.dispatch=r,c=lg(!1),v=Or.bind(null,rt,!1,c.queue),c=$n(),m={state:l,dispatch:null,action:n,pending:null},c.queue=m,r=vb.bind(null,rt,m,v,r),m.dispatch=r,c.memoizedState=n,[l,r,!1]}function bb(n){var l=vn();return If(l,Bt,n)}function If(n,l,r){if(l=ip(n,l,$f)[0],n=$i(Ji)[0],typeof l=="object"&&l!==null&&typeof l.then=="function")try{var c=Os(l)}catch(A){throw A===Er?Zu:A}else c=l;l=vn();var m=l.queue,v=m.dispatch;return r!==l.memoizedState&&(rt.flags|=2048,ks(9,{destroy:void 0},cg.bind(null,m,r),null)),[c,v,n]}function cg(n,l){n.action=l}function fg(n){var l=vn(),r=Bt;if(r!==null)return If(l,r,n);vn(),l=l.memoizedState,r=vn();var c=r.queue.dispatch;return r.memoizedState=n,[l,c,!1]}function ks(n,l,r,c){return n={tag:n,create:r,deps:c,inst:l,next:null},l=rt.updateQueue,l===null&&(l=Kf(),rt.updateQueue=l),r=l.lastEffect,r===null?l.lastEffect=n.next=n:(c=r.next,r.next=n,n.next=c,l.lastEffect=n),n}function dg(){return vn().memoizedState}function Wu(n,l,r,c){var m=$n();rt.flags|=n,m.memoizedState=ks(1|l,{destroy:void 0},r,c===void 0?null:c)}function ec(n,l,r,c){var m=vn();c=c===void 0?null:c;var v=m.memoizedState.inst;Bt!==null&&c!==null&&Ho(c,Bt.memoizedState.deps)?m.memoizedState=ks(l,v,r,c):(rt.flags|=n,m.memoizedState=ks(1|l,v,r,c))}function cp(n,l){Wu(8390656,8,n,l)}function fp(n,l){ec(2048,8,n,l)}function hg(n){rt.flags|=4;var l=rt.updateQueue;if(l===null)l=Kf(),rt.updateQueue=l,l.events=[n];else{var r=l.events;r===null?l.events=[n]:r.push(n)}}function Ff(n){var l=vn().memoizedState;return hg({ref:l,nextImpl:n}),function(){if((_t&2)!==0)throw Error(f(440));return l.impl.apply(void 0,arguments)}}function dp(n,l){return ec(4,2,n,l)}function pg(n,l){return ec(4,4,n,l)}function hp(n,l){if(typeof l=="function"){n=n();var r=l(n);return function(){typeof r=="function"?r():l(null)}}if(l!=null)return n=n(),l.current=n,function(){l.current=null}}function mg(n,l,r){r=r!=null?r.concat([n]):null,ec(4,4,hp.bind(null,l,n),r)}function ci(){}function pp(n,l){var r=vn();l=l===void 0?null:l;var c=r.memoizedState;return l!==null&&Ho(l,c[1])?c[0]:(r.memoizedState=[n,l],n)}function Sb(n,l){var r=vn();l=l===void 0?null:l;var c=r.memoizedState;if(l!==null&&Ho(l,c[1]))return c[0];if(c=n(),Bo){il(!0);try{n()}finally{il(!1)}}return r.memoizedState=[c,l],c}function Pf(n,l,r){return r===void 0||(Ki&1073741824)!==0&&(vt&261930)===0?n.memoizedState=l:(n.memoizedState=r,n=Nb(),rt.lanes|=n,mi|=n,r)}function Ii(n,l,r,c){return ya(r,l)?r:Ln.current!==null?(n=Pf(n,r,c),ya(n,l)||(Cn=!0),n):(Ki&42)===0||(Ki&1073741824)!==0&&(vt&261930)===0?(Cn=!0,n.memoizedState=r):(n=Nb(),rt.lanes|=n,mi|=n,l)}function mp(n,l,r,c,m){var v=I.p;I.p=v!==0&&8>v?v:8;var A=G.T,O={};G.T=O,Or(n,!1,l,r);try{var Y=m(),ae=G.S;if(ae!==null&&ae(O,Y),Y!==null&&typeof Y=="object"&&typeof Y.then=="function"){var me=Hf(Y,c);Vo(n,l,me,Fa(n))}else Vo(n,l,c,Fa(n))}catch(be){Vo(n,l,{then:function(){},status:"rejected",reason:be},Fa())}finally{I.p=v,A!==null&&O.types!==null&&(A.types=O.types),G.T=A}}function xb(){}function tc(n,l,r,c){if(n.tag!==5)throw Error(f(476));var m=nc(n).queue;mp(n,m,l,fe,r===null?xb:function(){return qt(n),r(c)})}function nc(n){var l=n.memoizedState;if(l!==null)return l;l={memoizedState:fe,baseState:fe,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ji,lastRenderedState:fe},next:null};var r={};return l.next={memoizedState:r,baseState:r,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ji,lastRenderedState:r},next:null},n.memoizedState=l,n=n.alternate,n!==null&&(n.memoizedState=l),l}function qt(n){var l=nc(n);l.next===null&&(l=n.alternate.memoizedState),Vo(n,l.next.queue,{},Fa())}function gg(){return Se(zd)}function wb(){return vn().memoizedState}function yg(){return vn().memoizedState}function Fi(n){for(var l=n.return;l!==null;){switch(l.tag){case 24:case 3:var r=Fa();n=Lo(r);var c=ml(l,n,r);c!==null&&(Ha(c,l,r),Rr(c,l,r)),l={cache:Nf()},n.payload=l;return}l=l.return}}function Eb(n,l,r){var c=Fa();r={lane:c,revertLane:0,gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},Wf(n)?yp(l,r):(r=Bl(n,l,r,c),r!==null&&(Ha(r,n,c),vg(r,l,c)))}function gp(n,l,r){var c=Fa();Vo(n,l,r,c)}function Vo(n,l,r,c){var m={lane:c,revertLane:0,gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null};if(Wf(n))yp(l,m);else{var v=n.alternate;if(n.lanes===0&&(v===null||v.lanes===0)&&(v=l.lastRenderedReducer,v!==null))try{var A=l.lastRenderedState,O=v(A,r);if(m.hasEagerState=!0,m.eagerState=O,ya(O,A))return cl(n,l,m,0),Gt===null&&ul(),!1}catch{}if(r=Bl(n,l,m,c),r!==null)return Ha(r,n,c),vg(r,l,c),!0}return!1}function Or(n,l,r,c){if(c={lane:2,revertLane:Gp(),gesture:null,action:c,hasEagerState:!1,eagerState:null,next:null},Wf(n)){if(l)throw Error(f(479))}else l=Bl(n,r,c,2),l!==null&&Ha(l,n,2)}function Wf(n){var l=n.alternate;return n===rt||l!==null&&l===rt}function yp(n,l){Ds=Ms=!0;var r=n.pending;r===null?l.next=l:(l.next=r.next,r.next=l),n.pending=l}function vg(n,l,r){if((r&4194048)!==0){var c=l.lanes;c&=n.pendingLanes,r|=c,l.lanes=r,Oi(n,r)}}var ed={readContext:Se,use:Pu,useCallback:dn,useContext:dn,useEffect:dn,useImperativeHandle:dn,useLayoutEffect:dn,useInsertionEffect:dn,useMemo:dn,useReducer:dn,useRef:dn,useState:dn,useDebugValue:dn,useDeferredValue:dn,useTransition:dn,useSyncExternalStore:dn,useId:dn,useHostTransitionStatus:dn,useFormState:dn,useActionState:dn,useOptimistic:dn,useMemoCache:dn,useCacheRefresh:dn};ed.useEffectEvent=dn;var Tb={readContext:Se,use:Pu,useCallback:function(n,l){return $n().memoizedState=[n,l===void 0?null:l],n},useContext:Se,useEffect:cp,useImperativeHandle:function(n,l,r){r=r!=null?r.concat([n]):null,Wu(4194308,4,hp.bind(null,l,n),r)},useLayoutEffect:function(n,l){return Wu(4194308,4,n,l)},useInsertionEffect:function(n,l){Wu(4,2,n,l)},useMemo:function(n,l){var r=$n();l=l===void 0?null:l;var c=n();if(Bo){il(!0);try{n()}finally{il(!1)}}return r.memoizedState=[c,l],c},useReducer:function(n,l,r){var c=$n();if(r!==void 0){var m=r(l);if(Bo){il(!0);try{r(l)}finally{il(!1)}}}else m=l;return c.memoizedState=c.baseState=m,n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:n,lastRenderedState:m},c.queue=n,n=n.dispatch=Eb.bind(null,rt,n),[c.memoizedState,n]},useRef:function(n){var l=$n();return n={current:n},l.memoizedState=n},useState:function(n){n=lg(n);var l=n.queue,r=gp.bind(null,rt,l);return l.dispatch=r,[n.memoizedState,r]},useDebugValue:ci,useDeferredValue:function(n,l){var r=$n();return Pf(r,n,l)},useTransition:function(){var n=lg(!1);return n=mp.bind(null,rt,n.queue,!0,!1),$n().memoizedState=n,[!1,n]},useSyncExternalStore:function(n,l,r){var c=rt,m=$n();if(xt){if(r===void 0)throw Error(f(407));r=r()}else{if(r=l(),Gt===null)throw Error(f(349));(vt&127)!==0||Jf(c,l,r)}m.memoizedState=r;var v={value:r,getSnapshot:l};return m.queue=v,cp(rp.bind(null,c,v,n),[n]),c.flags|=2048,ks(9,{destroy:void 0},ag.bind(null,c,v,r,l),null),r},useId:function(){var n=$n(),l=Gt.identifierPrefix;if(xt){var r=oi,c=Ka;r=(c&~(1<<32-Xn(c)-1)).toString(32)+r,l="_"+l+"R_"+r,r=Xf++,0<r&&(l+="H"+r.toString(32)),l+="_"}else r=gb++,l="_"+l+"r_"+r.toString(32)+"_";return n.memoizedState=l},useHostTransitionStatus:gg,useFormState:ug,useActionState:ug,useOptimistic:function(n){var l=$n();l.memoizedState=l.baseState=n;var r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return l.queue=r,l=Or.bind(null,rt,!0,r),r.dispatch=l,[n,l]},useMemoCache:lp,useCacheRefresh:function(){return $n().memoizedState=Fi.bind(null,rt)},useEffectEvent:function(n){var l=$n(),r={impl:n};return l.memoizedState=r,function(){if((_t&2)!==0)throw Error(f(440));return r.impl.apply(void 0,arguments)}}},vp={readContext:Se,use:Pu,useCallback:pp,useContext:Se,useEffect:fp,useImperativeHandle:mg,useInsertionEffect:dp,useLayoutEffect:pg,useMemo:Sb,useReducer:$i,useRef:dg,useState:function(){return $i(Ji)},useDebugValue:ci,useDeferredValue:function(n,l){var r=vn();return Ii(r,Bt.memoizedState,n,l)},useTransition:function(){var n=$i(Ji)[0],l=vn().memoizedState;return[typeof n=="boolean"?n:Os(n),l]},useSyncExternalStore:ng,useId:wb,useHostTransitionStatus:gg,useFormState:bb,useActionState:bb,useOptimistic:function(n,l){var r=vn();return In(r,Bt,n,l)},useMemoCache:lp,useCacheRefresh:yg};vp.useEffectEvent=Ff;var Ab={readContext:Se,use:Pu,useCallback:pp,useContext:Se,useEffect:fp,useImperativeHandle:mg,useInsertionEffect:dp,useLayoutEffect:pg,useMemo:Sb,useReducer:op,useRef:dg,useState:function(){return op(Ji)},useDebugValue:ci,useDeferredValue:function(n,l){var r=vn();return Bt===null?Pf(r,n,l):Ii(r,Bt.memoizedState,n,l)},useTransition:function(){var n=op(Ji)[0],l=vn().memoizedState;return[typeof n=="boolean"?n:Os(n),l]},useSyncExternalStore:ng,useId:wb,useHostTransitionStatus:gg,useFormState:fg,useActionState:fg,useOptimistic:function(n,l){var r=vn();return Bt!==null?In(r,Bt,n,l):(r.baseState=n,[n,r.queue.dispatch])},useMemoCache:lp,useCacheRefresh:yg};Ab.useEffectEvent=Ff;function Ns(n,l,r,c){l=n.memoizedState,r=r(c,l),r=r==null?l:T({},l,r),n.memoizedState=r,n.lanes===0&&(n.updateQueue.baseState=r)}var Yl={enqueueSetState:function(n,l,r){n=n._reactInternals;var c=Fa(),m=Lo(c);m.payload=l,r!=null&&(m.callback=r),l=ml(n,m,c),l!==null&&(Ha(l,n,c),Rr(l,n,c))},enqueueReplaceState:function(n,l,r){n=n._reactInternals;var c=Fa(),m=Lo(c);m.tag=1,m.payload=l,r!=null&&(m.callback=r),l=ml(n,m,c),l!==null&&(Ha(l,n,c),Rr(l,n,c))},enqueueForceUpdate:function(n,l){n=n._reactInternals;var r=Fa(),c=Lo(r);c.tag=2,l!=null&&(c.callback=l),l=ml(n,c,r),l!==null&&(Ha(l,n,r),Rr(l,n,r))}};function bg(n,l,r,c,m,v,A){return n=n.stateNode,typeof n.shouldComponentUpdate=="function"?n.shouldComponentUpdate(c,v,A):l.prototype&&l.prototype.isPureReactComponent?!Nl(r,c)||!Nl(m,v):!0}function Cb(n,l,r,c){n=l.state,typeof l.componentWillReceiveProps=="function"&&l.componentWillReceiveProps(r,c),typeof l.UNSAFE_componentWillReceiveProps=="function"&&l.UNSAFE_componentWillReceiveProps(r,c),l.state!==n&&Yl.enqueueReplaceState(l,l.state,null)}function jr(n,l){var r=l;if("ref"in l){r={};for(var c in l)c!=="ref"&&(r[c]=l[c])}if(n=n.defaultProps){r===l&&(r=T({},r));for(var m in n)r[m]===void 0&&(r[m]=n[m])}return r}function bp(n){bs(n)}function Sg(n){console.error(n)}function Sp(n){bs(n)}function ac(n,l){try{var r=n.onUncaughtError;r(l.value,{componentStack:l.stack})}catch(c){setTimeout(function(){throw c})}}function td(n,l,r){try{var c=n.onCaughtError;c(r.value,{componentStack:r.stack,errorBoundary:l.tag===1?l.stateNode:null})}catch(m){setTimeout(function(){throw m})}}function xg(n,l,r){return r=Lo(r),r.tag=3,r.payload={element:null},r.callback=function(){ac(n,l)},r}function wg(n){return n=Lo(n),n.tag=3,n}function Eg(n,l,r,c){var m=r.type.getDerivedStateFromError;if(typeof m=="function"){var v=c.value;n.payload=function(){return m(v)},n.callback=function(){td(l,r,c)}}var A=r.stateNode;A!==null&&typeof A.componentDidCatch=="function"&&(n.callback=function(){td(l,r,c),typeof m!="function"&&(ln===null?ln=new Set([this]):ln.add(this));var O=c.stack;this.componentDidCatch(c.value,{componentStack:O!==null?O:""})})}function hw(n,l,r,c,m){if(r.flags|=32768,c!==null&&typeof c=="object"&&typeof c.then=="function"){if(l=r.alternate,l!==null&&Jn(l,r,m,!0),r=Oa.current,r!==null){switch(r.tag){case 31:case 13:return gl===null?Hp():r.alternate===null&&It===0&&(It=3),r.flags&=-257,r.flags|=65536,r.lanes=m,c===Cs?r.flags|=16384:(l=r.updateQueue,l===null?r.updateQueue=new Set([c]):l.add(c),md(n,c,m)),!1;case 22:return r.flags|=65536,c===Cs?r.flags|=16384:(l=r.updateQueue,l===null?(l={transitions:null,markerInstances:null,retryQueue:new Set([c])},r.updateQueue=l):(r=l.retryQueue,r===null?l.retryQueue=new Set([c]):r.add(c)),md(n,c,m)),!1}throw Error(f(435,r.tag))}return md(n,c,m),Hp(),!1}if(xt)return l=Oa.current,l!==null?((l.flags&65536)===0&&(l.flags|=256),l.flags|=65536,l.lanes=m,c!==qi&&(n=Error(f(422),{cause:c}),Xu(fl(n,r)))):(c!==qi&&(l=Error(f(423),{cause:c}),Xu(fl(l,r))),n=n.current.alternate,n.flags|=65536,m&=-m,n.lanes|=m,c=fl(c,r),m=xg(n.stateNode,c,m),Wh(n,m),It!==4&&(It=2)),!1;var v=Error(f(520),{cause:c});if(v=fl(v,r),fd===null?fd=[v]:fd.push(v),It!==4&&(It=2),l===null)return!0;c=fl(c,r),r=l;do{switch(r.tag){case 3:return r.flags|=65536,n=m&-m,r.lanes|=n,n=xg(r.stateNode,c,n),Wh(r,n),!1;case 1:if(l=r.type,v=r.stateNode,(r.flags&128)===0&&(typeof l.getDerivedStateFromError=="function"||v!==null&&typeof v.componentDidCatch=="function"&&(ln===null||!ln.has(v))))return r.flags|=65536,m&=-m,r.lanes|=m,m=wg(m),Eg(m,n,r,c),Wh(r,m),!1}r=r.return}while(r!==null);return!1}var xp=Error(f(461)),Cn=!1;function en(n,l,r,c){l.child=n===null?eg(l,null,r,c):zr(l,n.child,r,c)}function Tg(n,l,r,c,m){r=r.render;var v=l.ref;if("ref"in c){var A={};for(var O in c)O!=="ref"&&(A[O]=c[O])}else A=c;return tt(l),c=Qf(n,l,r,A,v,m),O=ap(),n!==null&&!Cn?(_s(n,l,m),bl(n,l,m)):(xt&&O&&qu(l),l.flags|=1,en(n,l,c,m),l.child)}function Ag(n,l,r,c,m){if(n===null){var v=r.type;return typeof v=="function"&&!Ss(v)&&v.defaultProps===void 0&&r.compare===null?(l.tag=15,l.type=v,Cg(n,l,v,c,m)):(n=Zh(r.type,null,c,l,l.mode,m),n.ref=l.ref,n.return=l,l.child=n)}if(v=n.child,!Tp(n,m)){var A=v.memoizedProps;if(r=r.compare,r=r!==null?r:Nl,r(A,c)&&n.ref===l.ref)return bl(n,l,m)}return l.flags|=1,n=_o(v,c),n.ref=l.ref,n.return=l,l.child=n}function Cg(n,l,r,c,m){if(n!==null){var v=n.memoizedProps;if(Nl(v,c)&&n.ref===l.ref)if(Cn=!1,l.pendingProps=c=v,Tp(n,m))(n.flags&131072)!==0&&(Cn=!0);else return l.lanes=n.lanes,bl(n,l,m)}return wp(n,l,r,c,m)}function zb(n,l,r,c){var m=c.children,v=n!==null?n.memoizedState:null;if(n===null&&l.stateNode===null&&(l.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),c.mode==="hidden"){if((l.flags&128)!==0){if(v=v!==null?v.baseLanes|r:r,n!==null){for(c=l.child=n.child,m=0;c!==null;)m=m|c.lanes|c.childLanes,c=c.sibling;c=m&~v}else c=0,l.child=null;return ka(n,l,v,r,c)}if((r&536870912)!==0)l.memoizedState={baseLanes:0,cachePool:null},n!==null&&Qu(l,v!==null?v.cachePool:null),v!==null?mb(l,v):Gf(),tp(l);else return c=l.lanes=536870912,ka(n,l,v!==null?v.baseLanes|r:r,r,c)}else v!==null?(Qu(l,v.cachePool),mb(l,v),ui(),l.memoizedState=null):(n!==null&&Qu(l,null),Gf(),ui());return en(n,l,m,r),l.child}function kr(n,l){return n!==null&&n.tag===22||l.stateNode!==null||(l.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),l.sibling}function ka(n,l,r,c,m){var v=pl();return v=v===null?null:{parent:Tn._currentValue,pool:v},l.memoizedState={baseLanes:r,cachePool:v},n!==null&&Qu(l,null),Gf(),tp(l),n!==null&&Jn(n,l,c,!0),l.childLanes=m,null}function nd(n,l){return l=id({mode:l.mode,children:l.children},n.mode),l.ref=n.ref,n.child=l,l.return=n,l}function Na(n,l,r){return zr(l,n.child,null,r),n=nd(l,l.pendingProps),n.flags|=2,ja(l),l.memoizedState=null,n}function Rb(n,l,r){var c=l.pendingProps,m=(l.flags&128)!==0;if(l.flags&=-129,n===null){if(xt){if(c.mode==="hidden")return n=nd(l,c),l.lanes=536870912,kr(null,n);if($u(l),(n=Jt)?(n=u1(n,Un),n=n!==null&&n.data==="&"?n:null,n!==null&&(l.memoizedState={dehydrated:n,treeContext:ii!==null?{id:Ka,overflow:oi}:null,retryLane:536870912,hydrationErrors:null},r=Q0(n),r.return=l,l.child=r,Kn=l,Jt=null)):n=null,n===null)throw Vl(l);return l.lanes=536870912,null}return nd(l,c)}var v=n.memoizedState;if(v!==null){var A=v.dehydrated;if($u(l),m)if(l.flags&256)l.flags&=-257,l=Na(n,l,r);else if(l.memoizedState!==null)l.child=n.child,l.flags|=128,l=null;else throw Error(f(558));else if(Cn||Jn(n,l,r,!1),m=(r&n.childLanes)!==0,Cn||m){if(c=Gt,c!==null&&(A=ol(c,r),A!==0&&A!==v.retryLane))throw v.retryLane=A,Do(n,A),Ha(c,n,A),xp;Hp(),l=Na(n,l,r)}else n=v.treeContext,Jt=Va(A.nextSibling),Kn=l,xt=!0,Yi=null,Un=!1,n!==null&&Of(l,n),l=nd(l,c),l.flags|=4096;return l}return n=_o(n.child,{mode:c.mode,children:c.children}),n.ref=l.ref,l.child=n,n.return=l,n}function yl(n,l){var r=l.ref;if(r===null)n!==null&&n.ref!==null&&(l.flags|=4194816);else{if(typeof r!="function"&&typeof r!="object")throw Error(f(284));(n===null||n.ref!==r)&&(l.flags|=4194816)}}function wp(n,l,r,c,m){return tt(l),r=Qf(n,l,r,c,void 0,m),c=ap(),n!==null&&!Cn?(_s(n,l,m),bl(n,l,m)):(xt&&c&&qu(l),l.flags|=1,en(n,l,r,m),l.child)}function Nr(n,l,r,c,m,v){return tt(l),l.updateQueue=null,r=yb(l,c,r,m),np(n),c=ap(),n!==null&&!Cn?(_s(n,l,v),bl(n,l,v)):(xt&&c&&qu(l),l.flags|=1,en(n,l,r,v),l.child)}function zg(n,l,r,c,m){if(tt(l),l.stateNode===null){var v=Ma,A=r.contextType;typeof A=="object"&&A!==null&&(v=Se(A)),v=new r(c,v),l.memoizedState=v.state!==null&&v.state!==void 0?v.state:null,v.updater=Yl,l.stateNode=v,v._reactInternals=l,v=l.stateNode,v.props=c,v.state=l.memoizedState,v.refs={},qf(l),A=r.contextType,v.context=typeof A=="object"&&A!==null?Se(A):Ma,v.state=l.memoizedState,A=r.getDerivedStateFromProps,typeof A=="function"&&(Ns(l,r,A,c),v.state=l.memoizedState),typeof r.getDerivedStateFromProps=="function"||typeof v.getSnapshotBeforeUpdate=="function"||typeof v.UNSAFE_componentWillMount!="function"&&typeof v.componentWillMount!="function"||(A=v.state,typeof v.componentWillMount=="function"&&v.componentWillMount(),typeof v.UNSAFE_componentWillMount=="function"&&v.UNSAFE_componentWillMount(),A!==v.state&&Yl.enqueueReplaceState(v,v.state,null),Qi(l,c,v,m),Mr(),v.state=l.memoizedState),typeof v.componentDidMount=="function"&&(l.flags|=4194308),c=!0}else if(n===null){v=l.stateNode;var O=l.memoizedProps,Y=jr(r,O);v.props=Y;var ae=v.context,me=r.contextType;A=Ma,typeof me=="object"&&me!==null&&(A=Se(me));var be=r.getDerivedStateFromProps;me=typeof be=="function"||typeof v.getSnapshotBeforeUpdate=="function",O=l.pendingProps!==O,me||typeof v.UNSAFE_componentWillReceiveProps!="function"&&typeof v.componentWillReceiveProps!="function"||(O||ae!==A)&&Cb(l,v,c,A),Uo=!1;var ie=l.memoizedState;v.state=ie,Qi(l,c,v,m),Mr(),ae=l.memoizedState,O||ie!==ae||Uo?(typeof be=="function"&&(Ns(l,r,be,c),ae=l.memoizedState),(Y=Uo||bg(l,r,Y,c,ie,ae,A))?(me||typeof v.UNSAFE_componentWillMount!="function"&&typeof v.componentWillMount!="function"||(typeof v.componentWillMount=="function"&&v.componentWillMount(),typeof v.UNSAFE_componentWillMount=="function"&&v.UNSAFE_componentWillMount()),typeof v.componentDidMount=="function"&&(l.flags|=4194308)):(typeof v.componentDidMount=="function"&&(l.flags|=4194308),l.memoizedProps=c,l.memoizedState=ae),v.props=c,v.state=ae,v.context=A,c=Y):(typeof v.componentDidMount=="function"&&(l.flags|=4194308),c=!1)}else{v=l.stateNode,Ph(n,l),A=l.memoizedProps,me=jr(r,A),v.props=me,be=l.pendingProps,ie=v.context,ae=r.contextType,Y=Ma,typeof ae=="object"&&ae!==null&&(Y=Se(ae)),O=r.getDerivedStateFromProps,(ae=typeof O=="function"||typeof v.getSnapshotBeforeUpdate=="function")||typeof v.UNSAFE_componentWillReceiveProps!="function"&&typeof v.componentWillReceiveProps!="function"||(A!==be||ie!==Y)&&Cb(l,v,c,Y),Uo=!1,ie=l.memoizedState,v.state=ie,Qi(l,c,v,m),Mr();var ce=l.memoizedState;A!==be||ie!==ce||Uo||n!==null&&n.dependencies!==null&&ws(n.dependencies)?(typeof O=="function"&&(Ns(l,r,O,c),ce=l.memoizedState),(me=Uo||bg(l,r,me,c,ie,ce,Y)||n!==null&&n.dependencies!==null&&ws(n.dependencies))?(ae||typeof v.UNSAFE_componentWillUpdate!="function"&&typeof v.componentWillUpdate!="function"||(typeof v.componentWillUpdate=="function"&&v.componentWillUpdate(c,ce,Y),typeof v.UNSAFE_componentWillUpdate=="function"&&v.UNSAFE_componentWillUpdate(c,ce,Y)),typeof v.componentDidUpdate=="function"&&(l.flags|=4),typeof v.getSnapshotBeforeUpdate=="function"&&(l.flags|=1024)):(typeof v.componentDidUpdate!="function"||A===n.memoizedProps&&ie===n.memoizedState||(l.flags|=4),typeof v.getSnapshotBeforeUpdate!="function"||A===n.memoizedProps&&ie===n.memoizedState||(l.flags|=1024),l.memoizedProps=c,l.memoizedState=ce),v.props=c,v.state=ce,v.context=Y,c=me):(typeof v.componentDidUpdate!="function"||A===n.memoizedProps&&ie===n.memoizedState||(l.flags|=4),typeof v.getSnapshotBeforeUpdate!="function"||A===n.memoizedProps&&ie===n.memoizedState||(l.flags|=1024),c=!1)}return v=c,yl(n,l),c=(l.flags&128)!==0,v||c?(v=l.stateNode,r=c&&typeof r.getDerivedStateFromError!="function"?null:v.render(),l.flags|=1,n!==null&&c?(l.child=zr(l,n.child,null,m),l.child=zr(l,null,r,m)):en(n,l,r,m),l.memoizedState=v.state,n=l.child):n=bl(n,l,m),n}function fi(n,l,r,c){return xr(),l.flags|=256,en(n,l,r,c),l.child}var ad={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function ld(n){return{baseLanes:n,cachePool:Ts()}}function vl(n,l,r){return n=n!==null?n.childLanes&~r:0,l&&(n|=Ba),n}function Rg(n,l,r){var c=l.pendingProps,m=!1,v=(l.flags&128)!==0,A;if((A=v)||(A=n!==null&&n.memoizedState===null?!1:(an.current&2)!==0),A&&(m=!0,l.flags&=-129),A=(l.flags&32)!==0,l.flags&=-33,n===null){if(xt){if(m?Zi(l):ui(),(n=Jt)?(n=u1(n,Un),n=n!==null&&n.data!=="&"?n:null,n!==null&&(l.memoizedState={dehydrated:n,treeContext:ii!==null?{id:Ka,overflow:oi}:null,retryLane:536870912,hydrationErrors:null},r=Q0(n),r.return=l,l.child=r,Kn=l,Jt=null)):n=null,n===null)throw Vl(l);return qr(n)?l.lanes=32:l.lanes=536870912,null}var O=c.children;return c=c.fallback,m?(ui(),m=l.mode,O=id({mode:"hidden",children:O},m),c=Oo(c,m,r,null),O.return=l,c.return=l,O.sibling=c,l.child=O,c=l.child,c.memoizedState=ld(r),c.childLanes=vl(n,A,r),l.memoizedState=ad,kr(null,c)):(Zi(l),Ur(l,O))}var Y=n.memoizedState;if(Y!==null&&(O=Y.dehydrated,O!==null)){if(v)l.flags&256?(Zi(l),l.flags&=-257,l=Us(n,l,r)):l.memoizedState!==null?(ui(),l.child=n.child,l.flags|=128,l=null):(ui(),O=c.fallback,m=l.mode,c=id({mode:"visible",children:c.children},m),O=Oo(O,m,r,null),O.flags|=2,c.return=l,O.return=l,c.sibling=O,l.child=c,zr(l,n.child,null,r),c=l.child,c.memoizedState=ld(r),c.childLanes=vl(n,A,r),l.memoizedState=ad,l=kr(null,c));else if(Zi(l),qr(O)){if(A=O.nextSibling&&O.nextSibling.dataset,A)var ae=A.dgst;A=ae,c=Error(f(419)),c.stack="",c.digest=A,Xu({value:c,source:null,stack:null}),l=Us(n,l,r)}else if(Cn||Jn(n,l,r,!1),A=(r&n.childLanes)!==0,Cn||A){if(A=Gt,A!==null&&(c=ol(A,r),c!==0&&c!==Y.retryLane))throw Y.retryLane=c,Do(n,c),Ha(A,n,c),xp;Xl(O)||Hp(),l=Us(n,l,r)}else Xl(O)?(l.flags|=192,l.child=n.child,l=null):(n=Y.treeContext,Jt=Va(O.nextSibling),Kn=l,xt=!0,Yi=null,Un=!1,n!==null&&Of(l,n),l=Ur(l,c.children),l.flags|=4096);return l}return m?(ui(),O=c.fallback,m=l.mode,Y=n.child,ae=Y.sibling,c=_o(Y,{mode:"hidden",children:c.children}),c.subtreeFlags=Y.subtreeFlags&65011712,ae!==null?O=_o(ae,O):(O=Oo(O,m,r,null),O.flags|=2),O.return=l,c.return=l,c.sibling=O,l.child=c,kr(null,c),c=l.child,O=n.child.memoizedState,O===null?O=ld(r):(m=O.cachePool,m!==null?(Y=Tn._currentValue,m=m.parent!==Y?{parent:Y,pool:Y}:m):m=Ts(),O={baseLanes:O.baseLanes|r,cachePool:m}),c.memoizedState=O,c.childLanes=vl(n,A,r),l.memoizedState=ad,kr(n.child,c)):(Zi(l),r=n.child,n=r.sibling,r=_o(r,{mode:"visible",children:c.children}),r.return=l,r.sibling=null,n!==null&&(A=l.deletions,A===null?(l.deletions=[n],l.flags|=16):A.push(n)),l.child=r,l.memoizedState=null,r)}function Ur(n,l){return l=id({mode:"visible",children:l},n.mode),l.return=n,n.child=l}function id(n,l){return n=gn(22,n,null,l),n.lanes=0,n}function Us(n,l,r){return zr(l,n.child,null,r),n=Ur(l,l.pendingProps.children),n.flags|=2,l.memoizedState=null,n}function Ls(n,l,r){n.lanes|=l;var c=n.alternate;c!==null&&(c.lanes|=l),Ih(n.return,l,r)}function Ep(n,l,r,c,m,v){var A=n.memoizedState;A===null?n.memoizedState={isBackwards:l,rendering:null,renderingStartTime:0,last:c,tail:r,tailMode:m,treeForkCount:v}:(A.isBackwards=l,A.rendering=null,A.renderingStartTime=0,A.last=c,A.tail=r,A.tailMode=m,A.treeForkCount=v)}function Mg(n,l,r){var c=l.pendingProps,m=c.revealOrder,v=c.tail;c=c.children;var A=an.current,O=(A&2)!==0;if(O?(A=A&1|2,l.flags|=128):A&=1,xe(an,A),en(n,l,c,r),c=xt?En:0,!O&&n!==null&&(n.flags&128)!==0)e:for(n=l.child;n!==null;){if(n.tag===13)n.memoizedState!==null&&Ls(n,r,l);else if(n.tag===19)Ls(n,r,l);else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===l)break e;for(;n.sibling===null;){if(n.return===null||n.return===l)break e;n=n.return}n.sibling.return=n.return,n=n.sibling}switch(m){case"forwards":for(r=l.child,m=null;r!==null;)n=r.alternate,n!==null&&Iu(n)===null&&(m=r),r=r.sibling;r=m,r===null?(m=l.child,l.child=null):(m=r.sibling,r.sibling=null),Ep(l,!1,m,r,v,c);break;case"backwards":case"unstable_legacy-backwards":for(r=null,m=l.child,l.child=null;m!==null;){if(n=m.alternate,n!==null&&Iu(n)===null){l.child=m;break}n=m.sibling,m.sibling=r,r=m,m=n}Ep(l,!0,r,null,v,c);break;case"together":Ep(l,!1,null,null,void 0,c);break;default:l.memoizedState=null}return l.child}function bl(n,l,r){if(n!==null&&(l.dependencies=n.dependencies),mi|=l.lanes,(r&l.childLanes)===0)if(n!==null){if(Jn(n,l,r,!1),(r&l.childLanes)===0)return null}else return null;if(n!==null&&l.child!==n.child)throw Error(f(153));if(l.child!==null){for(n=l.child,r=_o(n,n.pendingProps),l.child=r,r.return=l;n.sibling!==null;)n=n.sibling,r=r.sibling=_o(n,n.pendingProps),r.return=l;r.sibling=null}return l.child}function Tp(n,l){return(n.lanes&l)!==0?!0:(n=n.dependencies,!!(n!==null&&ws(n)))}function Ap(n,l,r){switch(l.tag){case 3:Wt(l,l.stateNode.containerInfo),_a(l,Tn,n.memoizedState.cache),xr();break;case 27:case 5:al(l);break;case 4:Wt(l,l.stateNode.containerInfo);break;case 10:_a(l,l.type,l.memoizedProps.value);break;case 31:if(l.memoizedState!==null)return l.flags|=128,$u(l),null;break;case 13:var c=l.memoizedState;if(c!==null)return c.dehydrated!==null?(Zi(l),l.flags|=128,null):(r&l.child.childLanes)!==0?Rg(n,l,r):(Zi(l),n=bl(n,l,r),n!==null?n.sibling:null);Zi(l);break;case 19:var m=(n.flags&128)!==0;if(c=(r&l.childLanes)!==0,c||(Jn(n,l,r,!1),c=(r&l.childLanes)!==0),m){if(c)return Mg(n,l,r);l.flags|=128}if(m=l.memoizedState,m!==null&&(m.rendering=null,m.tail=null,m.lastEffect=null),xe(an,an.current),c)break;return null;case 22:return l.lanes=0,zb(n,l,r,l.pendingProps);case 24:_a(l,Tn,n.memoizedState.cache)}return bl(n,l,r)}function Dg(n,l,r){if(n!==null)if(n.memoizedProps!==l.pendingProps)Cn=!0;else{if(!Tp(n,r)&&(l.flags&128)===0)return Cn=!1,Ap(n,l,r);Cn=(n.flags&131072)!==0}else Cn=!1,xt&&(l.flags&1048576)!==0&&K0(l,En,l.index);switch(l.lanes=0,l.tag){case 16:e:{var c=l.pendingProps;if(n=Tr(l.elementType),l.type=n,typeof n=="function")Ss(n)?(c=jr(n,c),l.tag=1,l=zg(null,l,n,c,r)):(l.tag=0,l=wp(null,l,n,c,r));else{if(n!=null){var m=n.$$typeof;if(m===le){l.tag=11,l=Tg(null,l,n,c,r);break e}else if(m===he){l.tag=14,l=Ag(null,l,n,c,r);break e}}throw l=Ke(n)||n,Error(f(306,l,""))}}return l;case 0:return wp(n,l,l.type,l.pendingProps,r);case 1:return c=l.type,m=jr(c,l.pendingProps),zg(n,l,c,m,r);case 3:e:{if(Wt(l,l.stateNode.containerInfo),n===null)throw Error(f(387));c=l.pendingProps;var v=l.memoizedState;m=v.element,Ph(n,l),Qi(l,c,null,r);var A=l.memoizedState;if(c=A.cache,_a(l,Tn,c),c!==v.cache&&Xi(l,[Tn],r,!0),Mr(),c=A.element,v.isDehydrated)if(v={element:c,isDehydrated:!1,cache:A.cache},l.updateQueue.baseState=v,l.memoizedState=v,l.flags&256){l=fi(n,l,c,r);break e}else if(c!==m){m=fl(Error(f(424)),l),Xu(m),l=fi(n,l,c,r);break e}else for(n=l.stateNode.containerInfo,n.nodeType===9?n=n.body:n=n.nodeName==="HTML"?n.ownerDocument.body:n,Jt=Va(n.firstChild),Kn=l,xt=!0,Yi=null,Un=!0,r=eg(l,null,c,r),l.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if(xr(),c===m){l=bl(n,l,r);break e}en(n,l,c,r)}l=l.child}return l;case 26:return yl(n,l),n===null?(r=Ac(l.type,null,l.pendingProps,null))?l.memoizedState=r:xt||(r=l.type,n=l.pendingProps,c=Yr(et.current).createElement(r),c[Yt]=l,c[Ca]=n,sa(c,r,n),Ut(c),l.stateNode=c):l.memoizedState=Ac(l.type,n.memoizedProps,l.pendingProps,n.memoizedState),null;case 27:return al(l),n===null&&xt&&(c=l.stateNode=Ec(l.type,l.pendingProps,et.current),Kn=l,Un=!0,m=Jt,yi(l.type)?(Td=m,Jt=Va(c.firstChild)):Jt=m),en(n,l,l.pendingProps.children,r),yl(n,l),n===null&&(l.flags|=4194304),l.child;case 5:return n===null&&xt&&((m=c=Jt)&&(c=gw(c,l.type,l.pendingProps,Un),c!==null?(l.stateNode=c,Kn=l,Jt=Va(c.firstChild),Un=!1,m=!0):m=!1),m||Vl(l)),al(l),m=l.type,v=l.pendingProps,A=n!==null?n.memoizedProps:null,c=v.children,xc(m,v)?c=null:A!==null&&xc(m,A)&&(l.flags|=32),l.memoizedState!==null&&(m=Qf(n,l,dw,null,null,r),zd._currentValue=m),yl(n,l),en(n,l,c,r),l.child;case 6:return n===null&&xt&&((n=r=Jt)&&(r=dt(r,l.pendingProps,Un),r!==null?(l.stateNode=r,Kn=l,Jt=null,n=!0):n=!1),n||Vl(l)),null;case 13:return Rg(n,l,r);case 4:return Wt(l,l.stateNode.containerInfo),c=l.pendingProps,n===null?l.child=zr(l,null,c,r):en(n,l,c,r),l.child;case 11:return Tg(n,l,l.type,l.pendingProps,r);case 7:return en(n,l,l.pendingProps,r),l.child;case 8:return en(n,l,l.pendingProps.children,r),l.child;case 12:return en(n,l,l.pendingProps.children,r),l.child;case 10:return c=l.pendingProps,_a(l,l.type,c.value),en(n,l,c.children,r),l.child;case 9:return m=l.type._context,c=l.pendingProps.children,tt(l),m=Se(m),c=c(m),l.flags|=1,en(n,l,c,r),l.child;case 14:return Ag(n,l,l.type,l.pendingProps,r);case 15:return Cg(n,l,l.type,l.pendingProps,r);case 19:return Mg(n,l,r);case 31:return Rb(n,l,r);case 22:return zb(n,l,r,l.pendingProps);case 24:return tt(l),c=Se(Tn),n===null?(m=pl(),m===null&&(m=Gt,v=Nf(),m.pooledCache=v,v.refCount++,v!==null&&(m.pooledCacheLanes|=r),m=v),l.memoizedState={parent:c,cache:m},qf(l),_a(l,Tn,m)):((n.lanes&r)!==0&&(Ph(n,l),Qi(l,null,null,r),Mr()),m=n.memoizedState,v=l.memoizedState,m.parent!==c?(m={parent:c,cache:c},l.memoizedState=m,l.lanes===0&&(l.memoizedState=l.updateQueue.baseState=m),_a(l,Tn,c)):(c=v.cache,_a(l,Tn,c),c!==m.cache&&Xi(l,[Tn],r,!0))),en(n,l,l.pendingProps.children,r),l.child;case 29:throw l.pendingProps}throw Error(f(156,l.tag))}function Pi(n){n.flags|=4}function _g(n,l,r,c,m){if((l=(n.mode&32)!==0)&&(l=!1),l){if(n.flags|=16777216,(m&335544128)===m)if(n.stateNode.complete)n.flags|=8192;else if(Bb())n.flags|=8192;else throw Ar=Cs,As}else n.flags&=-16777217}function Og(n,l){if(l.type!=="stylesheet"||(l.state.loading&4)!==0)n.flags&=-16777217;else if(n.flags|=16777216,!Wa(l))if(Bb())n.flags|=8192;else throw Ar=Cs,As}function va(n,l){l!==null&&(n.flags|=4),n.flags&16384&&(l=n.tag!==22?ma():536870912,n.lanes|=l,hn|=l)}function lc(n,l){if(!xt)switch(n.tailMode){case"hidden":l=n.tail;for(var r=null;l!==null;)l.alternate!==null&&(r=l),l=l.sibling;r===null?n.tail=null:r.sibling=null;break;case"collapsed":r=n.tail;for(var c=null;r!==null;)r.alternate!==null&&(c=r),r=r.sibling;c===null?l||n.tail===null?n.tail=null:n.tail.sibling=null:c.sibling=null}}function We(n){var l=n.alternate!==null&&n.alternate.child===n.child,r=0,c=0;if(l)for(var m=n.child;m!==null;)r|=m.lanes|m.childLanes,c|=m.subtreeFlags&65011712,c|=m.flags&65011712,m.return=n,m=m.sibling;else for(m=n.child;m!==null;)r|=m.lanes|m.childLanes,c|=m.subtreeFlags,c|=m.flags,m.return=n,m=m.sibling;return n.subtreeFlags|=c,n.childLanes=r,l}function Mb(n,l,r){var c=l.pendingProps;switch(Jh(l),l.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return We(l),null;case 1:return We(l),null;case 3:return r=l.stateNode,c=null,n!==null&&(c=n.memoizedState.cache),l.memoizedState.cache!==c&&(l.flags|=2048),si(Tn),Mt(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(n===null||n.child===null)&&(Gi(l)?Pi(l):n===null||n.memoizedState.isDehydrated&&(l.flags&256)===0||(l.flags|=1024,J0())),We(l),null;case 26:var m=l.type,v=l.memoizedState;return n===null?(Pi(l),v!==null?(We(l),Og(l,v)):(We(l),_g(l,m,null,c,r))):v?v!==n.memoizedState?(Pi(l),We(l),Og(l,v)):(We(l),l.flags&=-16777217):(n=n.memoizedProps,n!==c&&Pi(l),We(l),_g(l,m,n,c,r)),null;case 27:if(_e(l),r=et.current,m=l.type,n!==null&&l.stateNode!=null)n.memoizedProps!==c&&Pi(l);else{if(!c){if(l.stateNode===null)throw Error(f(166));return We(l),null}n=Ee.current,Gi(l)?jf(l):(n=Ec(m,c,r),l.stateNode=n,Pi(l))}return We(l),null;case 5:if(_e(l),m=l.type,n!==null&&l.stateNode!=null)n.memoizedProps!==c&&Pi(l);else{if(!c){if(l.stateNode===null)throw Error(f(166));return We(l),null}if(v=Ee.current,Gi(l))jf(l);else{var A=Yr(et.current);switch(v){case 1:v=A.createElementNS("http://www.w3.org/2000/svg",m);break;case 2:v=A.createElementNS("http://www.w3.org/1998/Math/MathML",m);break;default:switch(m){case"svg":v=A.createElementNS("http://www.w3.org/2000/svg",m);break;case"math":v=A.createElementNS("http://www.w3.org/1998/Math/MathML",m);break;case"script":v=A.createElement("div"),v.innerHTML="<script><\/script>",v=v.removeChild(v.firstChild);break;case"select":v=typeof c.is=="string"?A.createElement("select",{is:c.is}):A.createElement("select"),c.multiple?v.multiple=!0:c.size&&(v.size=c.size);break;default:v=typeof c.is=="string"?A.createElement(m,{is:c.is}):A.createElement(m)}}v[Yt]=l,v[Ca]=c;e:for(A=l.child;A!==null;){if(A.tag===5||A.tag===6)v.appendChild(A.stateNode);else if(A.tag!==4&&A.tag!==27&&A.child!==null){A.child.return=A,A=A.child;continue}if(A===l)break e;for(;A.sibling===null;){if(A.return===null||A.return===l)break e;A=A.return}A.sibling.return=A.return,A=A.sibling}l.stateNode=v;e:switch(sa(v,m,c),m){case"button":case"input":case"select":case"textarea":c=!!c.autoFocus;break e;case"img":c=!0;break e;default:c=!1}c&&Pi(l)}}return We(l),_g(l,l.type,n===null?null:n.memoizedProps,l.pendingProps,r),null;case 6:if(n&&l.stateNode!=null)n.memoizedProps!==c&&Pi(l);else{if(typeof c!="string"&&l.stateNode===null)throw Error(f(166));if(n=et.current,Gi(l)){if(n=l.stateNode,r=l.memoizedProps,c=null,m=Kn,m!==null)switch(m.tag){case 27:case 5:c=m.memoizedProps}n[Yt]=l,n=!!(n.nodeValue===r||c!==null&&c.suppressHydrationWarning===!0||ny(n.nodeValue,r)),n||Vl(l,!0)}else n=Yr(n).createTextNode(c),n[Yt]=l,l.stateNode=n}return We(l),null;case 31:if(r=l.memoizedState,n===null||n.memoizedState!==null){if(c=Gi(l),r!==null){if(n===null){if(!c)throw Error(f(318));if(n=l.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(f(557));n[Yt]=l}else xr(),(l.flags&128)===0&&(l.memoizedState=null),l.flags|=4;We(l),n=!1}else r=J0(),n!==null&&n.memoizedState!==null&&(n.memoizedState.hydrationErrors=r),n=!0;if(!n)return l.flags&256?(ja(l),l):(ja(l),null);if((l.flags&128)!==0)throw Error(f(558))}return We(l),null;case 13:if(c=l.memoizedState,n===null||n.memoizedState!==null&&n.memoizedState.dehydrated!==null){if(m=Gi(l),c!==null&&c.dehydrated!==null){if(n===null){if(!m)throw Error(f(318));if(m=l.memoizedState,m=m!==null?m.dehydrated:null,!m)throw Error(f(317));m[Yt]=l}else xr(),(l.flags&128)===0&&(l.memoizedState=null),l.flags|=4;We(l),m=!1}else m=J0(),n!==null&&n.memoizedState!==null&&(n.memoizedState.hydrationErrors=m),m=!0;if(!m)return l.flags&256?(ja(l),l):(ja(l),null)}return ja(l),(l.flags&128)!==0?(l.lanes=r,l):(r=c!==null,n=n!==null&&n.memoizedState!==null,r&&(c=l.child,m=null,c.alternate!==null&&c.alternate.memoizedState!==null&&c.alternate.memoizedState.cachePool!==null&&(m=c.alternate.memoizedState.cachePool.pool),v=null,c.memoizedState!==null&&c.memoizedState.cachePool!==null&&(v=c.memoizedState.cachePool.pool),v!==m&&(c.flags|=2048)),r!==n&&r&&(l.child.flags|=8192),va(l,l.updateQueue),We(l),null);case 4:return Mt(),n===null&&Sc(l.stateNode.containerInfo),We(l),null;case 10:return si(l.type),We(l),null;case 19:if(te(an),c=l.memoizedState,c===null)return We(l),null;if(m=(l.flags&128)!==0,v=c.rendering,v===null)if(m)lc(c,!1);else{if(It!==0||n!==null&&(n.flags&128)!==0)for(n=l.child;n!==null;){if(v=Iu(n),v!==null){for(l.flags|=128,lc(c,!1),n=v.updateQueue,l.updateQueue=n,va(l,n),l.subtreeFlags=0,n=r,r=l.child;r!==null;)X0(r,n),r=r.sibling;return xe(an,an.current&1|2),xt&&Hl(l,c.treeForkCount),l.child}n=n.sibling}c.tail!==null&&Dn()>kt&&(l.flags|=128,m=!0,lc(c,!1),l.lanes=4194304)}else{if(!m)if(n=Iu(v),n!==null){if(l.flags|=128,m=!0,n=n.updateQueue,l.updateQueue=n,va(l,n),lc(c,!0),c.tail===null&&c.tailMode==="hidden"&&!v.alternate&&!xt)return We(l),null}else 2*Dn()-c.renderingStartTime>kt&&r!==536870912&&(l.flags|=128,m=!0,lc(c,!1),l.lanes=4194304);c.isBackwards?(v.sibling=l.child,l.child=v):(n=c.last,n!==null?n.sibling=v:l.child=v,c.last=v)}return c.tail!==null?(n=c.tail,c.rendering=n,c.tail=n.sibling,c.renderingStartTime=Dn(),n.sibling=null,r=an.current,xe(an,m?r&1|2:r&1),xt&&Hl(l,c.treeForkCount),n):(We(l),null);case 22:case 23:return ja(l),Ju(),c=l.memoizedState!==null,n!==null?n.memoizedState!==null!==c&&(l.flags|=8192):c&&(l.flags|=8192),c?(r&536870912)!==0&&(l.flags&128)===0&&(We(l),l.subtreeFlags&6&&(l.flags|=8192)):We(l),r=l.updateQueue,r!==null&&va(l,r.retryQueue),r=null,n!==null&&n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(r=n.memoizedState.cachePool.pool),c=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(c=l.memoizedState.cachePool.pool),c!==r&&(l.flags|=2048),n!==null&&te(hl),null;case 24:return r=null,n!==null&&(r=n.memoizedState.cache),l.memoizedState.cache!==r&&(l.flags|=2048),si(Tn),We(l),null;case 25:return null;case 30:return null}throw Error(f(156,l.tag))}function Db(n,l){switch(Jh(l),l.tag){case 1:return n=l.flags,n&65536?(l.flags=n&-65537|128,l):null;case 3:return si(Tn),Mt(),n=l.flags,(n&65536)!==0&&(n&128)===0?(l.flags=n&-65537|128,l):null;case 26:case 27:case 5:return _e(l),null;case 31:if(l.memoizedState!==null){if(ja(l),l.alternate===null)throw Error(f(340));xr()}return n=l.flags,n&65536?(l.flags=n&-65537|128,l):null;case 13:if(ja(l),n=l.memoizedState,n!==null&&n.dehydrated!==null){if(l.alternate===null)throw Error(f(340));xr()}return n=l.flags,n&65536?(l.flags=n&-65537|128,l):null;case 19:return te(an),null;case 4:return Mt(),null;case 10:return si(l.type),null;case 22:case 23:return ja(l),Ju(),n!==null&&te(hl),n=l.flags,n&65536?(l.flags=n&-65537|128,l):null;case 24:return si(Tn),null;case 25:return null;default:return null}}function _b(n,l){switch(Jh(l),l.tag){case 3:si(Tn),Mt();break;case 26:case 27:case 5:_e(l);break;case 4:Mt();break;case 31:l.memoizedState!==null&&ja(l);break;case 13:ja(l);break;case 19:te(an);break;case 10:si(l.type);break;case 22:case 23:ja(l),Ju(),n!==null&&te(hl);break;case 24:si(Tn)}}function ql(n,l){try{var r=l.updateQueue,c=r!==null?r.lastEffect:null;if(c!==null){var m=c.next;r=m;do{if((r.tag&n)===n){c=void 0;var v=r.create,A=r.inst;c=v(),A.destroy=c}r=r.next}while(r!==m)}}catch(O){Vt(l,l.return,O)}}function Sl(n,l,r){try{var c=l.updateQueue,m=c!==null?c.lastEffect:null;if(m!==null){var v=m.next;c=v;do{if((c.tag&n)===n){var A=c.inst,O=A.destroy;if(O!==void 0){A.destroy=void 0,m=l;var Y=r,ae=O;try{ae()}catch(me){Vt(m,Y,me)}}}c=c.next}while(c!==v)}}catch(me){Vt(l,l.return,me)}}function Cp(n){var l=n.updateQueue;if(l!==null){var r=n.stateNode;try{Dr(l,r)}catch(c){Vt(n,n.return,c)}}}function Lr(n,l,r){r.props=jr(n.type,n.memoizedProps),r.state=n.memoizedState;try{r.componentWillUnmount()}catch(c){Vt(n,l,c)}}function Wi(n,l){try{var r=n.ref;if(r!==null){switch(n.tag){case 26:case 27:case 5:var c=n.stateNode;break;case 30:c=n.stateNode;break;default:c=n.stateNode}typeof r=="function"?n.refCleanup=r(c):r.current=c}}catch(m){Vt(n,l,m)}}function di(n,l){var r=n.ref,c=n.refCleanup;if(r!==null)if(typeof c=="function")try{c()}catch(m){Vt(n,l,m)}finally{n.refCleanup=null,n=n.alternate,n!=null&&(n.refCleanup=null)}else if(typeof r=="function")try{r(null)}catch(m){Vt(n,l,m)}else r.current=null}function jg(n){var l=n.type,r=n.memoizedProps,c=n.stateNode;try{e:switch(l){case"button":case"input":case"select":case"textarea":r.autoFocus&&c.focus();break e;case"img":r.src?c.src=r.src:r.srcSet&&(c.srcset=r.srcSet)}}catch(m){Vt(n,n.return,m)}}function zp(n,l,r){try{var c=n.stateNode;ly(c,n.type,r,l),c[Ca]=l}catch(m){Vt(n,n.return,m)}}function kg(n){return n.tag===5||n.tag===3||n.tag===26||n.tag===27&&yi(n.type)||n.tag===4}function ic(n){e:for(;;){for(;n.sibling===null;){if(n.return===null||kg(n.return))return null;n=n.return}for(n.sibling.return=n.return,n=n.sibling;n.tag!==5&&n.tag!==6&&n.tag!==18;){if(n.tag===27&&yi(n.type)||n.flags&2||n.child===null||n.tag===4)continue e;n.child.return=n,n=n.child}if(!(n.flags&2))return n.stateNode}}function oc(n,l,r){var c=n.tag;if(c===5||c===6)n=n.stateNode,l?(r.nodeType===9?r.body:r.nodeName==="HTML"?r.ownerDocument.body:r).insertBefore(n,l):(l=r.nodeType===9?r.body:r.nodeName==="HTML"?r.ownerDocument.body:r,l.appendChild(n),r=r._reactRootContainer,r!=null||l.onclick!==null||(l.onclick=Pl));else if(c!==4&&(c===27&&yi(n.type)&&(r=n.stateNode,l=null),n=n.child,n!==null))for(oc(n,l,r),n=n.sibling;n!==null;)oc(n,l,r),n=n.sibling}function rc(n,l,r){var c=n.tag;if(c===5||c===6)n=n.stateNode,l?r.insertBefore(n,l):r.appendChild(n);else if(c!==4&&(c===27&&yi(n.type)&&(r=n.stateNode),n=n.child,n!==null))for(rc(n,l,r),n=n.sibling;n!==null;)rc(n,l,r),n=n.sibling}function Ng(n){var l=n.stateNode,r=n.memoizedProps;try{for(var c=n.type,m=l.attributes;m.length;)l.removeAttributeNode(m[0]);sa(l,c,r),l[Yt]=n,l[Ca]=r}catch(v){Vt(n,n.return,v)}}var Yo=!1,On=!1,Rp=!1,Ug=typeof WeakSet=="function"?WeakSet:Set,Fn=null;function sc(n,l){if(n=n.containerInfo,Jp=Hn,n=vr(n),Cf(n)){if("selectionStart"in n)var r={start:n.selectionStart,end:n.selectionEnd};else e:{r=(r=n.ownerDocument)&&r.defaultView||window;var c=r.getSelection&&r.getSelection();if(c&&c.rangeCount!==0){r=c.anchorNode;var m=c.anchorOffset,v=c.focusNode;c=c.focusOffset;try{r.nodeType,v.nodeType}catch{r=null;break e}var A=0,O=-1,Y=-1,ae=0,me=0,be=n,ie=null;t:for(;;){for(var ce;be!==r||m!==0&&be.nodeType!==3||(O=A+m),be!==v||c!==0&&be.nodeType!==3||(Y=A+c),be.nodeType===3&&(A+=be.nodeValue.length),(ce=be.firstChild)!==null;)ie=be,be=ce;for(;;){if(be===n)break t;if(ie===r&&++ae===m&&(O=A),ie===v&&++me===c&&(Y=A),(ce=be.nextSibling)!==null)break;be=ie,ie=be.parentNode}be=ce}r=O===-1||Y===-1?null:{start:O,end:Y}}else r=null}r=r||{start:0,end:0}}else r=null;for($p={focusedElem:n,selectionRange:r},Hn=!1,Fn=l;Fn!==null;)if(l=Fn,n=l.child,(l.subtreeFlags&1028)!==0&&n!==null)n.return=l,Fn=n;else for(;Fn!==null;){switch(l=Fn,v=l.alternate,n=l.flags,l.tag){case 0:if((n&4)!==0&&(n=l.updateQueue,n=n!==null?n.events:null,n!==null))for(r=0;r<n.length;r++)m=n[r],m.ref.impl=m.nextImpl;break;case 11:case 15:break;case 1:if((n&1024)!==0&&v!==null){n=void 0,r=l,m=v.memoizedProps,v=v.memoizedState,c=r.stateNode;try{var ke=jr(r.type,m);n=c.getSnapshotBeforeUpdate(ke,v),c.__reactInternalSnapshotBeforeUpdate=n}catch(Je){Vt(r,r.return,Je)}}break;case 3:if((n&1024)!==0){if(n=l.stateNode.containerInfo,r=n.nodeType,r===9)Ed(n);else if(r===1)switch(n.nodeName){case"HEAD":case"HTML":case"BODY":Ed(n);break;default:n.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((n&1024)!==0)throw Error(f(163))}if(n=l.sibling,n!==null){n.return=l.return,Fn=n;break}Fn=l.return}}function od(n,l,r){var c=r.flags;switch(r.tag){case 0:case 11:case 15:qo(n,r),c&4&&ql(5,r);break;case 1:if(qo(n,r),c&4)if(n=r.stateNode,l===null)try{n.componentDidMount()}catch(A){Vt(r,r.return,A)}else{var m=jr(r.type,l.memoizedProps);l=l.memoizedState;try{n.componentDidUpdate(m,l,n.__reactInternalSnapshotBeforeUpdate)}catch(A){Vt(r,r.return,A)}}c&64&&Cp(r),c&512&&Wi(r,r.return);break;case 3:if(qo(n,r),c&64&&(n=r.updateQueue,n!==null)){if(l=null,r.child!==null)switch(r.child.tag){case 27:case 5:l=r.child.stateNode;break;case 1:l=r.child.stateNode}try{Dr(n,l)}catch(A){Vt(r,r.return,A)}}break;case 27:l===null&&c&4&&Ng(r);case 26:case 5:qo(n,r),l===null&&c&4&&jg(r),c&512&&Wi(r,r.return);break;case 12:qo(n,r);break;case 31:qo(n,r),c&4&&Ob(n,r);break;case 13:qo(n,r),c&4&&Hg(n,r),c&64&&(n=r.memoizedState,n!==null&&(n=n.dehydrated,n!==null&&(r=xl.bind(null,r),wc(n,r))));break;case 22:if(c=r.memoizedState!==null||Yo,!c){l=l!==null&&l.memoizedState!==null||On,m=Yo;var v=On;Yo=c,(On=l)&&!v?hi(n,r,(r.subtreeFlags&8772)!==0):qo(n,r),Yo=m,On=v}break;case 30:break;default:qo(n,r)}}function Lg(n){var l=n.alternate;l!==null&&(n.alternate=null,Lg(l)),n.child=null,n.deletions=null,n.sibling=null,n.tag===5&&(l=n.stateNode,l!==null&&Th(l)),n.stateNode=null,n.return=null,n.dependencies=null,n.memoizedProps=null,n.memoizedState=null,n.pendingProps=null,n.stateNode=null,n.updateQueue=null}var $t=null,Ua=!1;function eo(n,l,r){for(r=r.child;r!==null;)Bg(n,l,r),r=r.sibling}function Bg(n,l,r){if(Nn&&typeof Nn.onCommitFiberUnmount=="function")try{Nn.onCommitFiberUnmount(_l,r)}catch{}switch(r.tag){case 26:On||di(r,l),eo(n,l,r),r.memoizedState?r.memoizedState.count--:r.stateNode&&(r=r.stateNode,r.parentNode.removeChild(r));break;case 27:On||di(r,l);var c=$t,m=Ua;yi(r.type)&&($t=r.stateNode,Ua=!1),eo(n,l,r),Qs(r.stateNode),$t=c,Ua=m;break;case 5:On||di(r,l);case 6:if(c=$t,m=Ua,$t=null,eo(n,l,r),$t=c,Ua=m,$t!==null)if(Ua)try{($t.nodeType===9?$t.body:$t.nodeName==="HTML"?$t.ownerDocument.body:$t).removeChild(r.stateNode)}catch(v){Vt(r,l,v)}else try{$t.removeChild(r.stateNode)}catch(v){Vt(r,l,v)}break;case 18:$t!==null&&(Ua?(n=$t,sy(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,r.stateNode),jc(n)):sy($t,r.stateNode));break;case 4:c=$t,m=Ua,$t=r.stateNode.containerInfo,Ua=!0,eo(n,l,r),$t=c,Ua=m;break;case 0:case 11:case 14:case 15:Sl(2,r,l),On||Sl(4,r,l),eo(n,l,r);break;case 1:On||(di(r,l),c=r.stateNode,typeof c.componentWillUnmount=="function"&&Lr(r,l,c)),eo(n,l,r);break;case 21:eo(n,l,r);break;case 22:On=(c=On)||r.memoizedState!==null,eo(n,l,r),On=c;break;default:eo(n,l,r)}}function Ob(n,l){if(l.memoizedState===null&&(n=l.alternate,n!==null&&(n=n.memoizedState,n!==null))){n=n.dehydrated;try{jc(n)}catch(r){Vt(l,l.return,r)}}}function Hg(n,l){if(l.memoizedState===null&&(n=l.alternate,n!==null&&(n=n.memoizedState,n!==null&&(n=n.dehydrated,n!==null))))try{jc(n)}catch(r){Vt(l,l.return,r)}}function rd(n){switch(n.tag){case 31:case 13:case 19:var l=n.stateNode;return l===null&&(l=n.stateNode=new Ug),l;case 22:return n=n.stateNode,l=n._retryCache,l===null&&(l=n._retryCache=new Ug),l;default:throw Error(f(435,n.tag))}}function sd(n,l){var r=rd(n);l.forEach(function(c){if(!r.has(c)){r.add(c);var m=Wb.bind(null,n,c);c.then(m,m)}})}function La(n,l){var r=l.deletions;if(r!==null)for(var c=0;c<r.length;c++){var m=r[c],v=n,A=l,O=A;e:for(;O!==null;){switch(O.tag){case 27:if(yi(O.type)){$t=O.stateNode,Ua=!1;break e}break;case 5:$t=O.stateNode,Ua=!1;break e;case 3:case 4:$t=O.stateNode.containerInfo,Ua=!0;break e}O=O.return}if($t===null)throw Error(f(160));Bg(v,A,m),$t=null,Ua=!1,v=m.alternate,v!==null&&(v.return=null),m.return=null}if(l.subtreeFlags&13886)for(l=l.child;l!==null;)Mp(l,n),l=l.sibling}var ut=null;function Mp(n,l){var r=n.alternate,c=n.flags;switch(n.tag){case 0:case 11:case 14:case 15:La(l,n),Ja(n),c&4&&(Sl(3,n,n.return),ql(3,n),Sl(5,n,n.return));break;case 1:La(l,n),Ja(n),c&512&&(On||r===null||di(r,r.return)),c&64&&Yo&&(n=n.updateQueue,n!==null&&(c=n.callbacks,c!==null&&(r=n.shared.hiddenCallbacks,n.shared.hiddenCallbacks=r===null?c:r.concat(c))));break;case 26:var m=ut;if(La(l,n),Ja(n),c&512&&(On||r===null||di(r,r.return)),c&4){var v=r!==null?r.memoizedState:null;if(c=n.memoizedState,r===null)if(c===null)if(n.stateNode===null){e:{c=n.type,r=n.memoizedProps,m=m.ownerDocument||m;t:switch(c){case"title":v=m.getElementsByTagName("title")[0],(!v||v[ji]||v[Yt]||v.namespaceURI==="http://www.w3.org/2000/svg"||v.hasAttribute("itemprop"))&&(v=m.createElement(c),m.head.insertBefore(v,m.querySelector("head > title"))),sa(v,c,r),v[Yt]=n,Ut(v),c=v;break e;case"link":var A=dy("link","href",m).get(c+(r.href||""));if(A){for(var O=0;O<A.length;O++)if(v=A[O],v.getAttribute("href")===(r.href==null||r.href===""?null:r.href)&&v.getAttribute("rel")===(r.rel==null?null:r.rel)&&v.getAttribute("title")===(r.title==null?null:r.title)&&v.getAttribute("crossorigin")===(r.crossOrigin==null?null:r.crossOrigin)){A.splice(O,1);break t}}v=m.createElement(c),sa(v,c,r),m.head.appendChild(v);break;case"meta":if(A=dy("meta","content",m).get(c+(r.content||""))){for(O=0;O<A.length;O++)if(v=A[O],v.getAttribute("content")===(r.content==null?null:""+r.content)&&v.getAttribute("name")===(r.name==null?null:r.name)&&v.getAttribute("property")===(r.property==null?null:r.property)&&v.getAttribute("http-equiv")===(r.httpEquiv==null?null:r.httpEquiv)&&v.getAttribute("charset")===(r.charSet==null?null:r.charSet)){A.splice(O,1);break t}}v=m.createElement(c),sa(v,c,r),m.head.appendChild(v);break;default:throw Error(f(468,c))}v[Yt]=n,Ut(v),c=v}n.stateNode=c}else em(m,n.type,n.stateNode);else n.stateNode=fy(m,c,n.memoizedProps);else v!==c?(v===null?r.stateNode!==null&&(r=r.stateNode,r.parentNode.removeChild(r)):v.count--,c===null?em(m,n.type,n.stateNode):fy(m,c,n.memoizedProps)):c===null&&n.stateNode!==null&&zp(n,n.memoizedProps,r.memoizedProps)}break;case 27:La(l,n),Ja(n),c&512&&(On||r===null||di(r,r.return)),r!==null&&c&4&&zp(n,n.memoizedProps,r.memoizedProps);break;case 5:if(La(l,n),Ja(n),c&512&&(On||r===null||di(r,r.return)),n.flags&32){m=n.stateNode;try{Ni(m,"")}catch(ke){Vt(n,n.return,ke)}}c&4&&n.stateNode!=null&&(m=n.memoizedProps,zp(n,m,r!==null?r.memoizedProps:m)),c&1024&&(Rp=!0);break;case 6:if(La(l,n),Ja(n),c&4){if(n.stateNode===null)throw Error(f(162));c=n.memoizedProps,r=n.stateNode;try{r.nodeValue=c}catch(ke){Vt(n,n.return,ke)}}break;case 3:if(Rc=null,m=ut,ut=ba(l.containerInfo),La(l,n),ut=m,Ja(n),c&4&&r!==null&&r.memoizedState.isDehydrated)try{jc(l.containerInfo)}catch(ke){Vt(n,n.return,ke)}Rp&&(Rp=!1,Vg(n));break;case 4:c=ut,ut=ba(n.stateNode.containerInfo),La(l,n),Ja(n),ut=c;break;case 12:La(l,n),Ja(n);break;case 31:La(l,n),Ja(n),c&4&&(c=n.updateQueue,c!==null&&(n.updateQueue=null,sd(n,c)));break;case 13:La(l,n),Ja(n),n.child.flags&8192&&n.memoizedState!==null!=(r!==null&&r.memoizedState!==null)&&(gi=Dn()),c&4&&(c=n.updateQueue,c!==null&&(n.updateQueue=null,sd(n,c)));break;case 22:m=n.memoizedState!==null;var Y=r!==null&&r.memoizedState!==null,ae=Yo,me=On;if(Yo=ae||m,On=me||Y,La(l,n),On=me,Yo=ae,Ja(n),c&8192)e:for(l=n.stateNode,l._visibility=m?l._visibility&-2:l._visibility|1,m&&(r===null||Y||Yo||On||Bs(n)),r=null,l=n;;){if(l.tag===5||l.tag===26){if(r===null){Y=r=l;try{if(v=Y.stateNode,m)A=v.style,typeof A.setProperty=="function"?A.setProperty("display","none","important"):A.display="none";else{O=Y.stateNode;var be=Y.memoizedProps.style,ie=be!=null&&be.hasOwnProperty("display")?be.display:null;O.style.display=ie==null||typeof ie=="boolean"?"":(""+ie).trim()}}catch(ke){Vt(Y,Y.return,ke)}}}else if(l.tag===6){if(r===null){Y=l;try{Y.stateNode.nodeValue=m?"":Y.memoizedProps}catch(ke){Vt(Y,Y.return,ke)}}}else if(l.tag===18){if(r===null){Y=l;try{var ce=Y.stateNode;m?zn(ce,!0):zn(Y.stateNode,!1)}catch(ke){Vt(Y,Y.return,ke)}}}else if((l.tag!==22&&l.tag!==23||l.memoizedState===null||l===n)&&l.child!==null){l.child.return=l,l=l.child;continue}if(l===n)break e;for(;l.sibling===null;){if(l.return===null||l.return===n)break e;r===l&&(r=null),l=l.return}r===l&&(r=null),l.sibling.return=l.return,l=l.sibling}c&4&&(c=n.updateQueue,c!==null&&(r=c.retryQueue,r!==null&&(c.retryQueue=null,sd(n,r))));break;case 19:La(l,n),Ja(n),c&4&&(c=n.updateQueue,c!==null&&(n.updateQueue=null,sd(n,c)));break;case 30:break;case 21:break;default:La(l,n),Ja(n)}}function Ja(n){var l=n.flags;if(l&2){try{for(var r,c=n.return;c!==null;){if(kg(c)){r=c;break}c=c.return}if(r==null)throw Error(f(160));switch(r.tag){case 27:var m=r.stateNode,v=ic(n);rc(n,v,m);break;case 5:var A=r.stateNode;r.flags&32&&(Ni(A,""),r.flags&=-33);var O=ic(n);rc(n,O,A);break;case 3:case 4:var Y=r.stateNode.containerInfo,ae=ic(n);oc(n,ae,Y);break;default:throw Error(f(161))}}catch(me){Vt(n,n.return,me)}n.flags&=-3}l&4096&&(n.flags&=-4097)}function Vg(n){if(n.subtreeFlags&1024)for(n=n.child;n!==null;){var l=n;Vg(l),l.tag===5&&l.flags&1024&&l.stateNode.reset(),n=n.sibling}}function qo(n,l){if(l.subtreeFlags&8772)for(l=l.child;l!==null;)od(n,l.alternate,l),l=l.sibling}function Bs(n){for(n=n.child;n!==null;){var l=n;switch(l.tag){case 0:case 11:case 14:case 15:Sl(4,l,l.return),Bs(l);break;case 1:di(l,l.return);var r=l.stateNode;typeof r.componentWillUnmount=="function"&&Lr(l,l.return,r),Bs(l);break;case 27:Qs(l.stateNode);case 26:case 5:di(l,l.return),Bs(l);break;case 22:l.memoizedState===null&&Bs(l);break;case 30:Bs(l);break;default:Bs(l)}n=n.sibling}}function hi(n,l,r){for(r=r&&(l.subtreeFlags&8772)!==0,l=l.child;l!==null;){var c=l.alternate,m=n,v=l,A=v.flags;switch(v.tag){case 0:case 11:case 15:hi(m,v,r),ql(4,v);break;case 1:if(hi(m,v,r),c=v,m=c.stateNode,typeof m.componentDidMount=="function")try{m.componentDidMount()}catch(ae){Vt(c,c.return,ae)}if(c=v,m=c.updateQueue,m!==null){var O=c.stateNode;try{var Y=m.shared.hiddenCallbacks;if(Y!==null)for(m.shared.hiddenCallbacks=null,m=0;m<Y.length;m++)ep(Y[m],O)}catch(ae){Vt(c,c.return,ae)}}r&&A&64&&Cp(v),Wi(v,v.return);break;case 27:Ng(v);case 26:case 5:hi(m,v,r),r&&c===null&&A&4&&jg(v),Wi(v,v.return);break;case 12:hi(m,v,r);break;case 31:hi(m,v,r),r&&A&4&&Ob(m,v);break;case 13:hi(m,v,r),r&&A&4&&Hg(m,v);break;case 22:v.memoizedState===null&&hi(m,v,r),Wi(v,v.return);break;case 30:break;default:hi(m,v,r)}l=l.sibling}}function Dp(n,l){var r=null;n!==null&&n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(r=n.memoizedState.cachePool.pool),n=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(n=l.memoizedState.cachePool.pool),n!==r&&(n!=null&&n.refCount++,r!=null&&Uf(r))}function _p(n,l){n=null,l.alternate!==null&&(n=l.alternate.memoizedState.cache),l=l.memoizedState.cache,l!==n&&(l.refCount++,n!=null&&Uf(n))}function Gl(n,l,r,c){if(l.subtreeFlags&10256)for(l=l.child;l!==null;)uc(n,l,r,c),l=l.sibling}function uc(n,l,r,c){var m=l.flags;switch(l.tag){case 0:case 11:case 15:Gl(n,l,r,c),m&2048&&ql(9,l);break;case 1:Gl(n,l,r,c);break;case 3:Gl(n,l,r,c),m&2048&&(n=null,l.alternate!==null&&(n=l.alternate.memoizedState.cache),l=l.memoizedState.cache,l!==n&&(l.refCount++,n!=null&&Uf(n)));break;case 12:if(m&2048){Gl(n,l,r,c),n=l.stateNode;try{var v=l.memoizedProps,A=v.id,O=v.onPostCommit;typeof O=="function"&&O(A,l.alternate===null?"mount":"update",n.passiveEffectDuration,-0)}catch(Y){Vt(l,l.return,Y)}}else Gl(n,l,r,c);break;case 31:Gl(n,l,r,c);break;case 13:Gl(n,l,r,c);break;case 23:break;case 22:v=l.stateNode,A=l.alternate,l.memoizedState!==null?v._visibility&2?Gl(n,l,r,c):ud(n,l):v._visibility&2?Gl(n,l,r,c):(v._visibility|=2,cc(n,l,r,c,(l.subtreeFlags&10256)!==0||!1)),m&2048&&Dp(A,l);break;case 24:Gl(n,l,r,c),m&2048&&_p(l.alternate,l);break;default:Gl(n,l,r,c)}}function cc(n,l,r,c,m){for(m=m&&((l.subtreeFlags&10256)!==0||!1),l=l.child;l!==null;){var v=n,A=l,O=r,Y=c,ae=A.flags;switch(A.tag){case 0:case 11:case 15:cc(v,A,O,Y,m),ql(8,A);break;case 23:break;case 22:var me=A.stateNode;A.memoizedState!==null?me._visibility&2?cc(v,A,O,Y,m):ud(v,A):(me._visibility|=2,cc(v,A,O,Y,m)),m&&ae&2048&&Dp(A.alternate,A);break;case 24:cc(v,A,O,Y,m),m&&ae&2048&&_p(A.alternate,A);break;default:cc(v,A,O,Y,m)}l=l.sibling}}function ud(n,l){if(l.subtreeFlags&10256)for(l=l.child;l!==null;){var r=n,c=l,m=c.flags;switch(c.tag){case 22:ud(r,c),m&2048&&Dp(c.alternate,c);break;case 24:ud(r,c),m&2048&&_p(c.alternate,c);break;default:ud(r,c)}l=l.sibling}}var $a=8192;function to(n,l,r){if(n.subtreeFlags&$a)for(n=n.child;n!==null;)jb(n,l,r),n=n.sibling}function jb(n,l,r){switch(n.tag){case 26:to(n,l,r),n.flags&$a&&n.memoizedState!==null&&oo(r,ut,n.memoizedState,n.memoizedProps);break;case 5:to(n,l,r);break;case 3:case 4:var c=ut;ut=ba(n.stateNode.containerInfo),to(n,l,r),ut=c;break;case 22:n.memoizedState===null&&(c=n.alternate,c!==null&&c.memoizedState!==null?(c=$a,$a=16777216,to(n,l,r),$a=c):to(n,l,r));break;default:to(n,l,r)}}function Op(n){var l=n.alternate;if(l!==null&&(n=l.child,n!==null)){l.child=null;do l=n.sibling,n.sibling=null,n=l;while(n!==null)}}function fc(n){var l=n.deletions;if((n.flags&16)!==0){if(l!==null)for(var r=0;r<l.length;r++){var c=l[r];Fn=c,jp(c,n)}Op(n)}if(n.subtreeFlags&10256)for(n=n.child;n!==null;)Yg(n),n=n.sibling}function Yg(n){switch(n.tag){case 0:case 11:case 15:fc(n),n.flags&2048&&Sl(9,n,n.return);break;case 3:fc(n);break;case 12:fc(n);break;case 22:var l=n.stateNode;n.memoizedState!==null&&l._visibility&2&&(n.return===null||n.return.tag!==13)?(l._visibility&=-3,cd(n)):fc(n);break;default:fc(n)}}function cd(n){var l=n.deletions;if((n.flags&16)!==0){if(l!==null)for(var r=0;r<l.length;r++){var c=l[r];Fn=c,jp(c,n)}Op(n)}for(n=n.child;n!==null;){switch(l=n,l.tag){case 0:case 11:case 15:Sl(8,l,l.return),cd(l);break;case 22:r=l.stateNode,r._visibility&2&&(r._visibility&=-3,cd(l));break;default:cd(l)}n=n.sibling}}function jp(n,l){for(;Fn!==null;){var r=Fn;switch(r.tag){case 0:case 11:case 15:Sl(8,r,l);break;case 23:case 22:if(r.memoizedState!==null&&r.memoizedState.cachePool!==null){var c=r.memoizedState.cachePool.pool;c!=null&&c.refCount++}break;case 24:Uf(r.memoizedState.cache)}if(c=r.child,c!==null)c.return=r,Fn=c;else e:for(r=n;Fn!==null;){c=Fn;var m=c.sibling,v=c.return;if(Lg(c),c===r){Fn=null;break e}if(m!==null){m.return=v,Fn=m;break e}Fn=v}}}var kb={getCacheForType:function(n){var l=Se(Tn),r=l.data.get(n);return r===void 0&&(r=n(),l.data.set(n,r)),r},cacheSignal:function(){return Se(Tn).controller.signal}},qg=typeof WeakMap=="function"?WeakMap:Map,_t=0,Gt=null,wt=null,vt=0,Ht=0,Fe=null,no=!1,Br=!1,kp=!1,pi=0,It=0,mi=0,Hs=0,Np=0,Ba=0,hn=0,fd=null,pn=null,Up=!1,gi=0,Gg=0,kt=1/0,dc=null,ln=null,Bn=0,Go=null,Hr=null,ao=0,Ia=0,Lp=null,Bp=null,hc=0,dd=null;function Fa(){return(_t&2)!==0&&vt!==0?vt&-vt:G.T!==null?Gp():wh()}function Nb(){if(Ba===0)if((vt&536870912)===0||xt){var n=Ce;Ce<<=1,(Ce&3932160)===0&&(Ce=262144),Ba=n}else Ba=536870912;return n=Oa.current,n!==null&&(n.flags|=32),Ba}function Ha(n,l,r){(n===Gt&&(Ht===2||Ht===9)||n.cancelPendingCommit!==null)&&(lo(n,0),Xo(n,vt,Ba,!1)),cr(n,r),((_t&2)===0||n!==Gt)&&(n===Gt&&((_t&2)===0&&(Hs|=r),It===4&&Xo(n,vt,Ba,!1)),io(n))}function Ub(n,l,r){if((_t&6)!==0)throw Error(f(327));var c=!r&&(l&127)===0&&(l&n.expiredLanes)===0||yt(n,l),m=c?Yb(n,l):Vp(n,l,!0),v=c;do{if(m===0){Br&&!c&&Xo(n,l,0,!1);break}else{if(r=n.current.alternate,v&&!Lb(r)){m=Vp(n,l,!1),v=!1;continue}if(m===2){if(v=l,n.errorRecoveryDisabledLanes&v)var A=0;else A=n.pendingLanes&-536870913,A=A!==0?A:A&536870912?536870912:0;if(A!==0){l=A;e:{var O=n;m=fd;var Y=O.current.memoizedState.isDehydrated;if(Y&&(lo(O,A).flags|=256),A=Vp(O,A,!1),A!==2){if(kp&&!Y){O.errorRecoveryDisabledLanes|=v,Hs|=v,m=4;break e}v=pn,pn=m,v!==null&&(pn===null?pn=v:pn.push.apply(pn,v))}m=A}if(v=!1,m!==2)continue}}if(m===1){lo(n,0),Xo(n,l,0,!0);break}e:{switch(c=n,v=m,v){case 0:case 1:throw Error(f(345));case 4:if((l&4194048)!==l)break;case 6:Xo(c,l,Ba,!no);break e;case 2:pn=null;break;case 3:case 5:break;default:throw Error(f(329))}if((l&62914560)===l&&(m=gi+300-Dn(),10<m)){if(Xo(c,l,Ba,!no),He(c,0,!0)!==0)break e;ao=l,c.timeoutHandle=wd(hd.bind(null,c,r,pn,dc,Up,l,Ba,Hs,hn,no,v,"Throttled",-0,0),m);break e}hd(c,r,pn,dc,Up,l,Ba,Hs,hn,no,v,null,-0,0)}}break}while(!0);io(n)}function hd(n,l,r,c,m,v,A,O,Y,ae,me,be,ie,ce){if(n.timeoutHandle=-1,be=l.subtreeFlags,be&8192||(be&16785408)===16785408){be={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Pl},jb(l,v,be);var ke=(v&62914560)===v?gi-Dn():(v&4194048)===v?Gg-Dn():0;if(ke=py(be,ke),ke!==null){ao=v,n.cancelPendingCommit=ke(Qb.bind(null,n,l,v,r,c,m,A,O,Y,me,be,null,ie,ce)),Xo(n,v,A,!ae);return}}Qb(n,l,v,r,c,m,A,O,Y)}function Lb(n){for(var l=n;;){var r=l.tag;if((r===0||r===11||r===15)&&l.flags&16384&&(r=l.updateQueue,r!==null&&(r=r.stores,r!==null)))for(var c=0;c<r.length;c++){var m=r[c],v=m.getSnapshot;m=m.value;try{if(!ya(v(),m))return!1}catch{return!1}}if(r=l.child,l.subtreeFlags&16384&&r!==null)r.return=l,l=r;else{if(l===n)break;for(;l.sibling===null;){if(l.return===null||l.return===n)return!0;l=l.return}l.sibling.return=l.return,l=l.sibling}}return!0}function Xo(n,l,r,c){l&=~Np,l&=~Hs,n.suspendedLanes|=l,n.pingedLanes&=~l,c&&(n.warmLanes|=l),c=n.expirationTimes;for(var m=l;0<m;){var v=31-Xn(m),A=1<<v;c[v]=-1,m&=~A}r!==0&&mf(n,r,l)}function pc(){return(_t&6)===0?(Zo(0),!1):!0}function Xg(){if(wt!==null){if(Ht===0)var n=wt.return;else n=wt,ri=jo=null,Zf(n),Cr=null,zs=0,n=wt;for(;n!==null;)_b(n.alternate,n),n=n.return;wt=null}}function lo(n,l){var r=n.timeoutHandle;r!==-1&&(n.timeoutHandle=-1,r1(r)),r=n.cancelPendingCommit,r!==null&&(n.cancelPendingCommit=null,r()),ao=0,Xg(),Gt=n,wt=r=_o(n.current,null),vt=l,Ht=0,Fe=null,no=!1,Br=yt(n,l),kp=!1,hn=Ba=Np=Hs=mi=It=0,pn=fd=null,Up=!1,(l&8)!==0&&(l|=l&32);var c=n.entangledLanes;if(c!==0)for(n=n.entanglements,c&=l;0<c;){var m=31-Xn(c),v=1<<m;l|=n[m],c&=~v}return pi=l,ul(),r}function mc(n,l){rt=null,G.H=ed,l===Er||l===Zu?(l=W0(),Ht=3):l===As?(l=W0(),Ht=4):Ht=l===xp?8:l!==null&&typeof l=="object"&&typeof l.then=="function"?6:1,Fe=l,wt===null&&(It=1,ac(n,fl(l,n.current)))}function Bb(){var n=Oa.current;return n===null?!0:(vt&4194048)===vt?gl===null:(vt&62914560)===vt||(vt&536870912)!==0?n===gl:!1}function Hb(){var n=G.H;return G.H=ed,n===null?ed:n}function Vb(){var n=G.A;return G.A=kb,n}function Hp(){It=4,no||(vt&4194048)!==vt&&Oa.current!==null||(Br=!0),(mi&134217727)===0&&(Hs&134217727)===0||Gt===null||Xo(Gt,vt,Ba,!1)}function Vp(n,l,r){var c=_t;_t|=2;var m=Hb(),v=Vb();(Gt!==n||vt!==l)&&(dc=null,lo(n,l)),l=!1;var A=It;e:do try{if(Ht!==0&&wt!==null){var O=wt,Y=Fe;switch(Ht){case 8:Xg(),A=6;break e;case 3:case 2:case 9:case 6:Oa.current===null&&(l=!0);var ae=Ht;if(Ht=0,Fe=null,Vs(n,O,Y,ae),r&&Br){A=0;break e}break;default:ae=Ht,Ht=0,Fe=null,Vs(n,O,Y,ae)}}pw(),A=It;break}catch(me){mc(n,me)}while(!0);return l&&n.shellSuspendCounter++,ri=jo=null,_t=c,G.H=m,G.A=v,wt===null&&(Gt=null,vt=0,ul()),A}function pw(){for(;wt!==null;)qb(wt)}function Yb(n,l){var r=_t;_t|=2;var c=Hb(),m=Vb();Gt!==n||vt!==l?(dc=null,kt=Dn()+500,lo(n,l)):Br=yt(n,l);e:do try{if(Ht!==0&&wt!==null){l=wt;var v=Fe;t:switch(Ht){case 1:Ht=0,Fe=null,Vs(n,l,v,1);break;case 2:case 9:if(F0(v)){Ht=0,Fe=null,Gb(l);break}l=function(){Ht!==2&&Ht!==9||Gt!==n||(Ht=7),io(n)},v.then(l,l);break e;case 3:Ht=7;break e;case 4:Ht=5;break e;case 7:F0(v)?(Ht=0,Fe=null,Gb(l)):(Ht=0,Fe=null,Vs(n,l,v,7));break;case 5:var A=null;switch(wt.tag){case 26:A=wt.memoizedState;case 5:case 27:var O=wt;if(A?Wa(A):O.stateNode.complete){Ht=0,Fe=null;var Y=O.sibling;if(Y!==null)wt=Y;else{var ae=O.return;ae!==null?(wt=ae,pd(ae)):wt=null}break t}}Ht=0,Fe=null,Vs(n,l,v,5);break;case 6:Ht=0,Fe=null,Vs(n,l,v,6);break;case 8:Xg(),It=6;break e;default:throw Error(f(462))}}Vr();break}catch(me){mc(n,me)}while(!0);return ri=jo=null,G.H=c,G.A=m,_t=r,wt!==null?0:(Gt=null,vt=0,ul(),It)}function Vr(){for(;wt!==null&&!_i();)qb(wt)}function qb(n){var l=Dg(n.alternate,n,pi);n.memoizedProps=n.pendingProps,l===null?pd(n):wt=l}function Gb(n){var l=n,r=l.alternate;switch(l.tag){case 15:case 0:l=Nr(r,l,l.pendingProps,l.type,void 0,vt);break;case 11:l=Nr(r,l,l.pendingProps,l.type.render,l.ref,vt);break;case 5:Zf(l);default:_b(r,l),l=wt=X0(l,pi),l=Dg(r,l,pi)}n.memoizedProps=n.pendingProps,l===null?pd(n):wt=l}function Vs(n,l,r,c){ri=jo=null,Zf(l),Cr=null,zs=0;var m=l.return;try{if(hw(n,m,l,r,vt)){It=1,ac(n,fl(r,n.current)),wt=null;return}}catch(v){if(m!==null)throw wt=m,v;It=1,ac(n,fl(r,n.current)),wt=null;return}l.flags&32768?(xt||c===1?n=!0:Br||(vt&536870912)!==0?n=!1:(no=n=!0,(c===2||c===9||c===3||c===6)&&(c=Oa.current,c!==null&&c.tag===13&&(c.flags|=16384))),Xb(l,n)):pd(l)}function pd(n){var l=n;do{if((l.flags&32768)!==0){Xb(l,no);return}n=l.return;var r=Mb(l.alternate,l,pi);if(r!==null){wt=r;return}if(l=l.sibling,l!==null){wt=l;return}wt=l=n}while(l!==null);It===0&&(It=5)}function Xb(n,l){do{var r=Db(n.alternate,n);if(r!==null){r.flags&=32767,wt=r;return}if(r=n.return,r!==null&&(r.flags|=32768,r.subtreeFlags=0,r.deletions=null),!l&&(n=n.sibling,n!==null)){wt=n;return}wt=n=r}while(n!==null);It=6,wt=null}function Qb(n,l,r,c,m,v,A,O,Y){n.cancelPendingCommit=null;do gc();while(Bn!==0);if((_t&6)!==0)throw Error(f(327));if(l!==null){if(l===n.current)throw Error(f(177));if(v=l.lanes|l.childLanes,v|=Ll,Cu(n,r,v,A,O,Y),n===Gt&&(wt=Gt=null,vt=0),Hr=l,Go=n,ao=r,Ia=v,Lp=m,Bp=c,(l.subtreeFlags&10256)!==0||(l.flags&10256)!==0?(n.callbackNode=null,n.callbackPriority=0,e1(Il,function(){return Ib(),null})):(n.callbackNode=null,n.callbackPriority=0),c=(l.flags&13878)!==0,(l.subtreeFlags&13878)!==0||c){c=G.T,G.T=null,m=I.p,I.p=2,A=_t,_t|=4;try{sc(n,l,r)}finally{_t=A,I.p=m,G.T=c}}Bn=1,Zb(),Kb(),Jb()}}function Zb(){if(Bn===1){Bn=0;var n=Go,l=Hr,r=(l.flags&13878)!==0;if((l.subtreeFlags&13878)!==0||r){r=G.T,G.T=null;var c=I.p;I.p=2;var m=_t;_t|=4;try{Mp(l,n);var v=$p,A=vr(n.containerInfo),O=v.focusedElem,Y=v.selectionRange;if(A!==O&&O&&O.ownerDocument&&ys(O.ownerDocument.documentElement,O)){if(Y!==null&&Cf(O)){var ae=Y.start,me=Y.end;if(me===void 0&&(me=ae),"selectionStart"in O)O.selectionStart=ae,O.selectionEnd=Math.min(me,O.value.length);else{var be=O.ownerDocument||document,ie=be&&be.defaultView||window;if(ie.getSelection){var ce=ie.getSelection(),ke=O.textContent.length,Je=Math.min(Y.start,ke),Qt=Y.end===void 0?Je:Math.min(Y.end,ke);!ce.extend&&Je>Qt&&(A=Qt,Qt=Je,Je=A);var P=q0(O,Je),K=q0(O,Qt);if(P&&K&&(ce.rangeCount!==1||ce.anchorNode!==P.node||ce.anchorOffset!==P.offset||ce.focusNode!==K.node||ce.focusOffset!==K.offset)){var ne=be.createRange();ne.setStart(P.node,P.offset),ce.removeAllRanges(),Je>Qt?(ce.addRange(ne),ce.extend(K.node,K.offset)):(ne.setEnd(K.node,K.offset),ce.addRange(ne))}}}}for(be=[],ce=O;ce=ce.parentNode;)ce.nodeType===1&&be.push({element:ce,left:ce.scrollLeft,top:ce.scrollTop});for(typeof O.focus=="function"&&O.focus(),O=0;O<be.length;O++){var ve=be[O];ve.element.scrollLeft=ve.left,ve.element.scrollTop=ve.top}}Hn=!!Jp,$p=Jp=null}finally{_t=m,I.p=c,G.T=r}}n.current=l,Bn=2}}function Kb(){if(Bn===2){Bn=0;var n=Go,l=Hr,r=(l.flags&8772)!==0;if((l.subtreeFlags&8772)!==0||r){r=G.T,G.T=null;var c=I.p;I.p=2;var m=_t;_t|=4;try{od(n,l.alternate,l)}finally{_t=m,I.p=c,G.T=r}}Bn=3}}function Jb(){if(Bn===4||Bn===3){Bn=0,ns();var n=Go,l=Hr,r=ao,c=Bp;(l.subtreeFlags&10256)!==0||(l.flags&10256)!==0?Bn=5:(Bn=0,Hr=Go=null,$b(n,n.pendingLanes));var m=n.pendingLanes;if(m===0&&(ln=null),g0(r),l=l.stateNode,Nn&&typeof Nn.onCommitFiberRoot=="function")try{Nn.onCommitFiberRoot(_l,l,void 0,(l.current.flags&128)===128)}catch{}if(c!==null){l=G.T,m=I.p,I.p=2,G.T=null;try{for(var v=n.onRecoverableError,A=0;A<c.length;A++){var O=c[A];v(O.value,{componentStack:O.stack})}}finally{G.T=l,I.p=m}}(ao&3)!==0&&gc(),io(n),m=n.pendingLanes,(r&261930)!==0&&(m&42)!==0?n===dd?hc++:(hc=0,dd=n):hc=0,Zo(0)}}function $b(n,l){(n.pooledCacheLanes&=l)===0&&(l=n.pooledCache,l!=null&&(n.pooledCache=null,Uf(l)))}function gc(){return Zb(),Kb(),Jb(),Ib()}function Ib(){if(Bn!==5)return!1;var n=Go,l=Ia;Ia=0;var r=g0(ao),c=G.T,m=I.p;try{I.p=32>r?32:r,G.T=null,r=Lp,Lp=null;var v=Go,A=ao;if(Bn=0,Hr=Go=null,ao=0,(_t&6)!==0)throw Error(f(331));var O=_t;if(_t|=4,Yg(v.current),uc(v,v.current,A,r),_t=O,Zo(0,!1),Nn&&typeof Nn.onPostCommitFiberRoot=="function")try{Nn.onPostCommitFiberRoot(_l,v)}catch{}return!0}finally{I.p=m,G.T=c,$b(n,l)}}function Fb(n,l,r){l=fl(r,l),l=xg(n.stateNode,l,2),n=ml(n,l,2),n!==null&&(cr(n,2),io(n))}function Vt(n,l,r){if(n.tag===3)Fb(n,n,r);else for(;l!==null;){if(l.tag===3){Fb(l,n,r);break}else if(l.tag===1){var c=l.stateNode;if(typeof l.type.getDerivedStateFromError=="function"||typeof c.componentDidCatch=="function"&&(ln===null||!ln.has(c))){n=fl(r,n),r=wg(2),c=ml(l,r,2),c!==null&&(Eg(r,c,l,n),cr(c,2),io(c));break}}l=l.return}}function md(n,l,r){var c=n.pingCache;if(c===null){c=n.pingCache=new qg;var m=new Set;c.set(l,m)}else m=c.get(l),m===void 0&&(m=new Set,c.set(l,m));m.has(r)||(kp=!0,m.add(r),n=Qg.bind(null,n,l,r),l.then(n,n))}function Qg(n,l,r){var c=n.pingCache;c!==null&&c.delete(l),n.pingedLanes|=n.suspendedLanes&r,n.warmLanes&=~r,Gt===n&&(vt&r)===r&&(It===4||It===3&&(vt&62914560)===vt&&300>Dn()-gi?(_t&2)===0&&lo(n,0):Np|=r,hn===vt&&(hn=0)),io(n)}function Pb(n,l){l===0&&(l=ma()),n=Do(n,l),n!==null&&(cr(n,l),io(n))}function xl(n){var l=n.memoizedState,r=0;l!==null&&(r=l.retryLane),Pb(n,r)}function Wb(n,l){var r=0;switch(n.tag){case 31:case 13:var c=n.stateNode,m=n.memoizedState;m!==null&&(r=m.retryLane);break;case 19:c=n.stateNode;break;case 22:c=n.stateNode._retryCache;break;default:throw Error(f(314))}c!==null&&c.delete(l),Pb(n,r)}function e1(n,l){return Ue(n,l)}var yc=null,Ys=null,Zg=!1,Yp=!1,Kg=!1,Qo=0;function io(n){n!==Ys&&n.next===null&&(Ys===null?yc=Ys=n:Ys=Ys.next=n),Yp=!0,Zg||(Zg=!0,yd())}function Zo(n,l){if(!Kg&&Yp){Kg=!0;do for(var r=!1,c=yc;c!==null;){if(n!==0){var m=c.pendingLanes;if(m===0)var v=0;else{var A=c.suspendedLanes,O=c.pingedLanes;v=(1<<31-Xn(42|n)+1)-1,v&=m&~(A&~O),v=v&201326741?v&201326741|1:v?v|2:0}v!==0&&(r=!0,qs(c,v))}else v=vt,v=He(c,c===Gt?v:0,c.cancelPendingCommit!==null||c.timeoutHandle!==-1),(v&3)===0||yt(c,v)||(r=!0,qs(c,v));c=c.next}while(r);Kg=!1}}function qp(){Jg()}function Jg(){Yp=Zg=!1;var n=0;Qo!==0&&mw()&&(n=Qo);for(var l=Dn(),r=null,c=yc;c!==null;){var m=c.next,v=$g(c,l);v===0?(c.next=null,r===null?yc=m:r.next=m,m===null&&(Ys=r)):(r=c,(n!==0||(v&3)!==0)&&(Yp=!0)),c=m}Bn!==0&&Bn!==5||Zo(n),Qo!==0&&(Qo=0)}function $g(n,l){for(var r=n.suspendedLanes,c=n.pingedLanes,m=n.expirationTimes,v=n.pendingLanes&-62914561;0<v;){var A=31-Xn(v),O=1<<A,Y=m[A];Y===-1?((O&r)===0||(O&c)!==0)&&(m[A]=it(O,l)):Y<=l&&(n.expiredLanes|=O),v&=~O}if(l=Gt,r=vt,r=He(n,n===l?r:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),c=n.callbackNode,r===0||n===l&&(Ht===2||Ht===9)||n.cancelPendingCommit!==null)return c!==null&&c!==null&&sr(c),n.callbackNode=null,n.callbackPriority=0;if((r&3)===0||yt(n,r)){if(l=r&-r,l===n.callbackPriority)return l;switch(c!==null&&sr(c),g0(r)){case 2:case 8:r=Tu;break;case 32:r=Il;break;case 268435456:r=Au;break;default:r=Il}return c=gd.bind(null,n),r=Ue(r,c),n.callbackPriority=l,n.callbackNode=r,l}return c!==null&&c!==null&&sr(c),n.callbackPriority=2,n.callbackNode=null,2}function gd(n,l){if(Bn!==0&&Bn!==5)return n.callbackNode=null,n.callbackPriority=0,null;var r=n.callbackNode;if(gc()&&n.callbackNode!==r)return null;var c=vt;return c=He(n,n===Gt?c:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),c===0?null:(Ub(n,c,l),$g(n,Dn()),n.callbackNode!=null&&n.callbackNode===r?gd.bind(null,n):null)}function qs(n,l){if(gc())return null;Ub(n,l,!0)}function yd(){s1(function(){(_t&6)!==0?Ue(Eu,qp):Jg()})}function Gp(){if(Qo===0){var n=wr;n===0&&(n=Te,Te<<=1,(Te&261888)===0&&(Te=256)),Qo=n}return Qo}function t1(n){return n==null||typeof n=="symbol"||typeof n=="boolean"?null:typeof n=="function"?n:jl(""+n)}function Gs(n,l){var r=l.ownerDocument.createElement("input");return r.name=l.name,r.value=l.value,n.id&&r.setAttribute("form",n.id),l.parentNode.insertBefore(r,l),n=new FormData(n),r.parentNode.removeChild(r),n}function vd(n,l,r,c,m){if(l==="submit"&&r&&r.stateNode===m){var v=t1((m[Ca]||null).action),A=c.submitter;A&&(l=(l=A[Ca]||null)?t1(l.formAction):A.getAttribute("formAction"),l!==null&&(v=l,A=null));var O=new Ef("action","action",null,c,m);n.push({event:O,listeners:[{instance:null,listener:function(){if(c.defaultPrevented){if(Qo!==0){var Y=A?Gs(m,A):new FormData(m);tc(r,{pending:!0,data:Y,method:m.method,action:v},null,Y)}}else typeof v=="function"&&(O.preventDefault(),Y=A?Gs(m,A):new FormData(m),tc(r,{pending:!0,data:Y,method:m.method,action:v},v,Y))},currentTarget:m}]})}}for(var Xp=0;Xp<Vu.length;Xp++){var vc=Vu[Xp],Ig=vc.toLowerCase(),Fg=vc[0].toUpperCase()+vc.slice(1);Ra(Ig,"on"+Fg)}Ra(Rf,"onAnimationEnd"),Ra(G0,"onAnimationIteration"),Ra(Xh,"onAnimationStart"),Ra("dblclick","onDoubleClick"),Ra("focusin","onFocus"),Ra("focusout","onBlur"),Ra(vs,"onTransitionRun"),Ra(Mf,"onTransitionStart"),Ra(Hi,"onTransitionCancel"),Ra(db,"onTransitionEnd"),ki("onMouseEnter",["mouseout","mouseover"]),ki("onMouseLeave",["mouseout","mouseover"]),ki("onPointerEnter",["pointerout","pointerover"]),ki("onPointerLeave",["pointerout","pointerover"]),hr("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),hr("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),hr("onBeforeInput",["compositionend","keypress","textInput","paste"]),hr("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),hr("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),hr("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var bc="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(" "),n1=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(bc));function a1(n,l){l=(l&4)!==0;for(var r=0;r<n.length;r++){var c=n[r],m=c.event;c=c.listeners;e:{var v=void 0;if(l)for(var A=c.length-1;0<=A;A--){var O=c[A],Y=O.instance,ae=O.currentTarget;if(O=O.listener,Y!==v&&m.isPropagationStopped())break e;v=O,m.currentTarget=ae;try{v(m)}catch(me){bs(me)}m.currentTarget=null,v=Y}else for(A=0;A<c.length;A++){if(O=c[A],Y=O.instance,ae=O.currentTarget,O=O.listener,Y!==v&&m.isPropagationStopped())break e;v=O,m.currentTarget=ae;try{v(m)}catch(me){bs(me)}m.currentTarget=null,v=Y}}}}function St(n,l){var r=l[Eh];r===void 0&&(r=l[Eh]=new Set);var c=n+"__bubble";r.has(c)||(bd(l,n,2,!1),r.add(c))}function Pg(n,l,r){var c=0;l&&(c|=4),bd(r,n,c,l)}var Qp="_reactListening"+Math.random().toString(36).slice(2);function Sc(n){if(!n[Qp]){n[Qp]=!0,rs.forEach(function(r){r!=="selectionchange"&&(n1.has(r)||Pg(r,!1,n),Pg(r,!0,n))});var l=n.nodeType===9?n:n.ownerDocument;l===null||l[Qp]||(l[Qp]=!0,Pg("selectionchange",!1,l))}}function bd(n,l,r,c){switch(Rd(l)){case 2:var m=ro;break;case 8:m=so;break;default:m=ua}r=m.bind(null,l,r,n),m=void 0,!xf||l!=="touchstart"&&l!=="touchmove"&&l!=="wheel"||(m=!0),c?m!==void 0?n.addEventListener(l,r,{capture:!0,passive:m}):n.addEventListener(l,r,!0):m!==void 0?n.addEventListener(l,r,{passive:m}):n.addEventListener(l,r,!1)}function Wg(n,l,r,c,m){var v=c;if((l&1)===0&&(l&2)===0&&c!==null)e:for(;;){if(c===null)return;var A=c.tag;if(A===3||A===4){var O=c.stateNode.containerInfo;if(O===m)break;if(A===4)for(A=c.return;A!==null;){var Y=A.tag;if((Y===3||Y===4)&&A.stateNode.containerInfo===m)return;A=A.return}for(;O!==null;){if(A=ls(O),A===null)return;if(Y=A.tag,Y===5||Y===6||Y===26||Y===27){c=v=A;continue e}O=O.parentNode}}c=c.return}A0(function(){var ae=v,me=_h(r),be=[];e:{var ie=Vi.get(n);if(ie!==void 0){var ce=Ef,ke=n;switch(n){case"keypress":if(jh(r)===0)break e;case"keydown":case"keyup":ce=Lh;break;case"focusin":ke="focus",ce=Nh;break;case"focusout":ke="blur",ce=Nh;break;case"beforeblur":case"afterblur":ce=Nh;break;case"click":if(r.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":ce=Nu;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":ce=eb;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":ce=ib;break;case Rf:case G0:case Xh:ce=nb;break;case db:ce=uw;break;case"scroll":case"scrollend":ce=rw;break;case"wheel":ce=cw;break;case"copy":case"cut":case"paste":ce=fs;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":ce=ti;break;case"toggle":case"beforetoggle":ce=k0}var Je=(l&4)!==0,Qt=!Je&&(n==="scroll"||n==="scrollend"),P=Je?ie!==null?ie+"Capture":null:ie;Je=[];for(var K=ae,ne;K!==null;){var ve=K;if(ne=ve.stateNode,ve=ve.tag,ve!==5&&ve!==26&&ve!==27||ne===null||P===null||(ve=Qn(K,P),ve!=null&&Je.push(Sd(K,ve,ne))),Qt)break;K=K.return}0<Je.length&&(ie=new ce(ie,ke,null,r,me),be.push({event:ie,listeners:Je}))}}if((l&7)===0){e:{if(ie=n==="mouseover"||n==="pointerover",ce=n==="mouseout"||n==="pointerout",ie&&r!==Dh&&(ke=r.relatedTarget||r.fromElement)&&(ls(ke)||ke[fr]))break e;if((ce||ie)&&(ie=me.window===me?me:(ie=me.ownerDocument)?ie.defaultView||ie.parentWindow:window,ce?(ke=r.relatedTarget||r.toElement,ce=ae,ke=ke?ls(ke):null,ke!==null&&(Qt=g(ke),Je=ke.tag,ke!==Qt||Je!==5&&Je!==27&&Je!==6)&&(ke=null)):(ce=null,ke=ae),ce!==ke)){if(Je=Nu,ve="onMouseLeave",P="onMouseEnter",K="mouse",(n==="pointerout"||n==="pointerover")&&(Je=ti,ve="onPointerLeave",P="onPointerEnter",K="pointer"),Qt=ce==null?ie:zu(ce),ne=ke==null?ie:zu(ke),ie=new Je(ve,K+"leave",ce,r,me),ie.target=Qt,ie.relatedTarget=ne,ve=null,ls(me)===ae&&(Je=new Je(P,K+"enter",ke,r,me),Je.target=ne,Je.relatedTarget=Qt,ve=Je),Qt=ve,ce&&ke)t:{for(Je=l1,P=ce,K=ke,ne=0,ve=P;ve;ve=Je(ve))ne++;ve=0;for(var Ge=K;Ge;Ge=Je(Ge))ve++;for(;0<ne-ve;)P=Je(P),ne--;for(;0<ve-ne;)K=Je(K),ve--;for(;ne--;){if(P===K||K!==null&&P===K.alternate){Je=P;break t}P=Je(P),K=Je(K)}Je=null}else Je=null;ce!==null&&Zp(be,ie,ce,Je,!1),ke!==null&&Qt!==null&&Zp(be,Qt,ke,Je,!0)}}e:{if(ie=ae?zu(ae):window,ce=ie.nodeName&&ie.nodeName.toLowerCase(),ce==="select"||ce==="input"&&ie.type==="file")var zt=H0;else if(Bi(ie))if(Vh)zt=gs;else{zt=cb;var Ve=ub}else ce=ie.nodeName,!ce||ce.toLowerCase()!=="input"||ie.type!=="checkbox"&&ie.type!=="radio"?ae&&T0(ae.elementType)&&(zt=H0):zt=yr;if(zt&&(zt=zt(n,ae))){B0(be,zt,r,me);break e}Ve&&Ve(n,ie,ae),n==="focusout"&&ae&&ie.type==="number"&&ae.memoizedProps.value!=null&&ss(ie,"number",ie.value)}switch(Ve=ae?zu(ae):window,n){case"focusin":(Bi(Ve)||Ve.contentEditable==="true")&&(br=Ve,Bu=ae,Ul=null);break;case"focusout":Ul=Bu=br=null;break;case"mousedown":ai=!0;break;case"contextmenu":case"mouseup":case"dragend":ai=!1,Gh(be,r,me);break;case"selectionchange":if(zf)break;case"keydown":case"keyup":Gh(be,r,me)}var ot;if(Uu)e:{switch(n){case"compositionstart":var ct="onCompositionStart";break e;case"compositionend":ct="onCompositionEnd";break e;case"compositionupdate":ct="onCompositionUpdate";break e}ct=void 0}else hs?Hh(n,r)&&(ct="onCompositionEnd"):n==="keydown"&&r.keyCode===229&&(ct="onCompositionStart");ct&&(N0&&r.locale!=="ko"&&(hs||ct!=="onCompositionStart"?ct==="onCompositionEnd"&&hs&&(ot=z0()):(Ro=me,C0="value"in Ro?Ro.value:Ro.textContent,hs=!0)),Ve=xd(ae,ct),0<Ve.length&&(ct=new ab(ct,n,null,r,me),be.push({event:ct,listeners:Ve}),ot?ct.data=ot:(ot=U0(r),ot!==null&&(ct.data=ot)))),(ot=ga?sb(n,r):fw(n,r))&&(ct=xd(ae,"onBeforeInput"),0<ct.length&&(Ve=new ab("onBeforeInput","beforeinput",null,r,me),be.push({event:Ve,listeners:ct}),Ve.data=ot)),vd(be,n,ae,r,me)}a1(be,l)})}function Sd(n,l,r){return{instance:n,listener:l,currentTarget:r}}function xd(n,l){for(var r=l+"Capture",c=[];n!==null;){var m=n,v=m.stateNode;if(m=m.tag,m!==5&&m!==26&&m!==27||v===null||(m=Qn(n,r),m!=null&&c.unshift(Sd(n,m,v)),m=Qn(n,l),m!=null&&c.push(Sd(n,m,v))),n.tag===3)return c;n=n.return}return[]}function l1(n){if(n===null)return null;do n=n.return;while(n&&n.tag!==5&&n.tag!==27);return n||null}function Zp(n,l,r,c,m){for(var v=l._reactName,A=[];r!==null&&r!==c;){var O=r,Y=O.alternate,ae=O.stateNode;if(O=O.tag,Y!==null&&Y===c)break;O!==5&&O!==26&&O!==27||ae===null||(Y=ae,m?(ae=Qn(r,v),ae!=null&&A.unshift(Sd(r,ae,Y))):m||(ae=Qn(r,v),ae!=null&&A.push(Sd(r,ae,Y)))),r=r.return}A.length!==0&&n.push({event:l,listeners:A})}var i1=/\r\n?/g,ey=/\u0000|\uFFFD/g;function ty(n){return(typeof n=="string"?n:""+n).replace(i1,`
|
|
30
|
+
`).replace(ey,"")}function ny(n,l){return l=ty(l),ty(n)===l}function Xt(n,l,r,c,m,v){switch(r){case"children":typeof c=="string"?l==="body"||l==="textarea"&&c===""||Ni(n,c):(typeof c=="number"||typeof c=="bigint")&&l!=="body"&&Ni(n,""+c);break;case"className":zh(n,"class",c);break;case"tabIndex":zh(n,"tabindex",c);break;case"dir":case"role":case"viewBox":case"width":case"height":zh(n,r,c);break;case"style":Fv(n,c,v);break;case"data":if(l!=="object"){zh(n,"data",c);break}case"src":case"href":if(c===""&&(l!=="a"||r!=="href")){n.removeAttribute(r);break}if(c==null||typeof c=="function"||typeof c=="symbol"||typeof c=="boolean"){n.removeAttribute(r);break}c=jl(""+c),n.setAttribute(r,c);break;case"action":case"formAction":if(typeof c=="function"){n.setAttribute(r,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof v=="function"&&(r==="formAction"?(l!=="input"&&Xt(n,l,"name",m.name,m,null),Xt(n,l,"formEncType",m.formEncType,m,null),Xt(n,l,"formMethod",m.formMethod,m,null),Xt(n,l,"formTarget",m.formTarget,m,null)):(Xt(n,l,"encType",m.encType,m,null),Xt(n,l,"method",m.method,m,null),Xt(n,l,"target",m.target,m,null)));if(c==null||typeof c=="symbol"||typeof c=="boolean"){n.removeAttribute(r);break}c=jl(""+c),n.setAttribute(r,c);break;case"onClick":c!=null&&(n.onclick=Pl);break;case"onScroll":c!=null&&St("scroll",n);break;case"onScrollEnd":c!=null&&St("scrollend",n);break;case"dangerouslySetInnerHTML":if(c!=null){if(typeof c!="object"||!("__html"in c))throw Error(f(61));if(r=c.__html,r!=null){if(m.children!=null)throw Error(f(60));n.innerHTML=r}}break;case"multiple":n.multiple=c&&typeof c!="function"&&typeof c!="symbol";break;case"muted":n.muted=c&&typeof c!="function"&&typeof c!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(c==null||typeof c=="function"||typeof c=="boolean"||typeof c=="symbol"){n.removeAttribute("xlink:href");break}r=jl(""+c),n.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",r);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":c!=null&&typeof c!="function"&&typeof c!="symbol"?n.setAttribute(r,""+c):n.removeAttribute(r);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":c&&typeof c!="function"&&typeof c!="symbol"?n.setAttribute(r,""):n.removeAttribute(r);break;case"capture":case"download":c===!0?n.setAttribute(r,""):c!==!1&&c!=null&&typeof c!="function"&&typeof c!="symbol"?n.setAttribute(r,c):n.removeAttribute(r);break;case"cols":case"rows":case"size":case"span":c!=null&&typeof c!="function"&&typeof c!="symbol"&&!isNaN(c)&&1<=c?n.setAttribute(r,c):n.removeAttribute(r);break;case"rowSpan":case"start":c==null||typeof c=="function"||typeof c=="symbol"||isNaN(c)?n.removeAttribute(r):n.setAttribute(r,c);break;case"popover":St("beforetoggle",n),St("toggle",n),Du(n,"popover",c);break;case"xlinkActuate":Co(n,"http://www.w3.org/1999/xlink","xlink:actuate",c);break;case"xlinkArcrole":Co(n,"http://www.w3.org/1999/xlink","xlink:arcrole",c);break;case"xlinkRole":Co(n,"http://www.w3.org/1999/xlink","xlink:role",c);break;case"xlinkShow":Co(n,"http://www.w3.org/1999/xlink","xlink:show",c);break;case"xlinkTitle":Co(n,"http://www.w3.org/1999/xlink","xlink:title",c);break;case"xlinkType":Co(n,"http://www.w3.org/1999/xlink","xlink:type",c);break;case"xmlBase":Co(n,"http://www.w3.org/XML/1998/namespace","xml:base",c);break;case"xmlLang":Co(n,"http://www.w3.org/XML/1998/namespace","xml:lang",c);break;case"xmlSpace":Co(n,"http://www.w3.org/XML/1998/namespace","xml:space",c);break;case"is":Du(n,"is",c);break;case"innerText":case"textContent":break;default:(!(2<r.length)||r[0]!=="o"&&r[0]!=="O"||r[1]!=="n"&&r[1]!=="N")&&(r=ow.get(r)||r,Du(n,r,c))}}function ay(n,l,r,c,m,v){switch(r){case"style":Fv(n,c,v);break;case"dangerouslySetInnerHTML":if(c!=null){if(typeof c!="object"||!("__html"in c))throw Error(f(61));if(r=c.__html,r!=null){if(m.children!=null)throw Error(f(60));n.innerHTML=r}}break;case"children":typeof c=="string"?Ni(n,c):(typeof c=="number"||typeof c=="bigint")&&Ni(n,""+c);break;case"onScroll":c!=null&&St("scroll",n);break;case"onScrollEnd":c!=null&&St("scrollend",n);break;case"onClick":c!=null&&(n.onclick=Pl);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!dr.hasOwnProperty(r))e:{if(r[0]==="o"&&r[1]==="n"&&(m=r.endsWith("Capture"),l=r.slice(2,m?r.length-7:void 0),v=n[Ca]||null,v=v!=null?v[r]:null,typeof v=="function"&&n.removeEventListener(l,v,m),typeof c=="function")){typeof v!="function"&&v!==null&&(r in n?n[r]=null:n.hasAttribute(r)&&n.removeAttribute(r)),n.addEventListener(l,c,m);break e}r in n?n[r]=c:c===!0?n.setAttribute(r,""):Du(n,r,c)}}}function sa(n,l,r){switch(l){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":St("error",n),St("load",n);var c=!1,m=!1,v;for(v in r)if(r.hasOwnProperty(v)){var A=r[v];if(A!=null)switch(v){case"src":c=!0;break;case"srcSet":m=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(f(137,l));default:Xt(n,l,v,A,r,null)}}m&&Xt(n,l,"srcSet",r.srcSet,r,null),c&&Xt(n,l,"src",r.src,r,null);return;case"input":St("invalid",n);var O=v=A=m=null,Y=null,ae=null;for(c in r)if(r.hasOwnProperty(c)){var me=r[c];if(me!=null)switch(c){case"name":m=me;break;case"type":A=me;break;case"checked":Y=me;break;case"defaultChecked":ae=me;break;case"value":v=me;break;case"defaultValue":O=me;break;case"children":case"dangerouslySetInnerHTML":if(me!=null)throw Error(f(137,l));break;default:Xt(n,l,c,me,r,null)}}vf(n,v,O,Y,ae,A,m,!1);return;case"select":St("invalid",n),c=A=v=null;for(m in r)if(r.hasOwnProperty(m)&&(O=r[m],O!=null))switch(m){case"value":v=O;break;case"defaultValue":A=O;break;case"multiple":c=O;default:Xt(n,l,m,O,r,null)}l=v,r=A,n.multiple=!!c,l!=null?_u(n,!!c,l,!1):r!=null&&_u(n,!!c,r,!0);return;case"textarea":St("invalid",n),v=m=c=null;for(A in r)if(r.hasOwnProperty(A)&&(O=r[A],O!=null))switch(A){case"value":c=O;break;case"defaultValue":m=O;break;case"children":v=O;break;case"dangerouslySetInnerHTML":if(O!=null)throw Error(f(91));break;default:Xt(n,l,A,O,r,null)}E0(n,c,m,v);return;case"option":for(Y in r)r.hasOwnProperty(Y)&&(c=r[Y],c!=null)&&(Y==="selected"?n.selected=c&&typeof c!="function"&&typeof c!="symbol":Xt(n,l,Y,c,r,null));return;case"dialog":St("beforetoggle",n),St("toggle",n),St("cancel",n),St("close",n);break;case"iframe":case"object":St("load",n);break;case"video":case"audio":for(c=0;c<bc.length;c++)St(bc[c],n);break;case"image":St("error",n),St("load",n);break;case"details":St("toggle",n);break;case"embed":case"source":case"link":St("error",n),St("load",n);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(ae in r)if(r.hasOwnProperty(ae)&&(c=r[ae],c!=null))switch(ae){case"children":case"dangerouslySetInnerHTML":throw Error(f(137,l));default:Xt(n,l,ae,c,r,null)}return;default:if(T0(l)){for(me in r)r.hasOwnProperty(me)&&(c=r[me],c!==void 0&&ay(n,l,me,c,r,void 0));return}}for(O in r)r.hasOwnProperty(O)&&(c=r[O],c!=null&&Xt(n,l,O,c,r,null))}function ly(n,l,r,c){switch(l){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var m=null,v=null,A=null,O=null,Y=null,ae=null,me=null;for(ce in r){var be=r[ce];if(r.hasOwnProperty(ce)&&be!=null)switch(ce){case"checked":break;case"value":break;case"defaultValue":Y=be;default:c.hasOwnProperty(ce)||Xt(n,l,ce,null,c,be)}}for(var ie in c){var ce=c[ie];if(be=r[ie],c.hasOwnProperty(ie)&&(ce!=null||be!=null))switch(ie){case"type":v=ce;break;case"name":m=ce;break;case"checked":ae=ce;break;case"defaultChecked":me=ce;break;case"value":A=ce;break;case"defaultValue":O=ce;break;case"children":case"dangerouslySetInnerHTML":if(ce!=null)throw Error(f(137,l));break;default:ce!==be&&Xt(n,l,ie,ce,c,be)}}yf(n,A,O,Y,ae,me,v,m);return;case"select":ce=A=O=ie=null;for(v in r)if(Y=r[v],r.hasOwnProperty(v)&&Y!=null)switch(v){case"value":break;case"multiple":ce=Y;default:c.hasOwnProperty(v)||Xt(n,l,v,null,c,Y)}for(m in c)if(v=c[m],Y=r[m],c.hasOwnProperty(m)&&(v!=null||Y!=null))switch(m){case"value":ie=v;break;case"defaultValue":O=v;break;case"multiple":A=v;default:v!==Y&&Xt(n,l,m,v,c,Y)}l=O,r=A,c=ce,ie!=null?_u(n,!!r,ie,!1):!!c!=!!r&&(l!=null?_u(n,!!r,l,!0):_u(n,!!r,r?[]:"",!1));return;case"textarea":ce=ie=null;for(O in r)if(m=r[O],r.hasOwnProperty(O)&&m!=null&&!c.hasOwnProperty(O))switch(O){case"value":break;case"children":break;default:Xt(n,l,O,null,c,m)}for(A in c)if(m=c[A],v=r[A],c.hasOwnProperty(A)&&(m!=null||v!=null))switch(A){case"value":ie=m;break;case"defaultValue":ce=m;break;case"children":break;case"dangerouslySetInnerHTML":if(m!=null)throw Error(f(91));break;default:m!==v&&Xt(n,l,A,m,c,v)}w0(n,ie,ce);return;case"option":for(var ke in r)ie=r[ke],r.hasOwnProperty(ke)&&ie!=null&&!c.hasOwnProperty(ke)&&(ke==="selected"?n.selected=!1:Xt(n,l,ke,null,c,ie));for(Y in c)ie=c[Y],ce=r[Y],c.hasOwnProperty(Y)&&ie!==ce&&(ie!=null||ce!=null)&&(Y==="selected"?n.selected=ie&&typeof ie!="function"&&typeof ie!="symbol":Xt(n,l,Y,ie,c,ce));return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var Je in r)ie=r[Je],r.hasOwnProperty(Je)&&ie!=null&&!c.hasOwnProperty(Je)&&Xt(n,l,Je,null,c,ie);for(ae in c)if(ie=c[ae],ce=r[ae],c.hasOwnProperty(ae)&&ie!==ce&&(ie!=null||ce!=null))switch(ae){case"children":case"dangerouslySetInnerHTML":if(ie!=null)throw Error(f(137,l));break;default:Xt(n,l,ae,ie,c,ce)}return;default:if(T0(l)){for(var Qt in r)ie=r[Qt],r.hasOwnProperty(Qt)&&ie!==void 0&&!c.hasOwnProperty(Qt)&&ay(n,l,Qt,void 0,c,ie);for(me in c)ie=c[me],ce=r[me],!c.hasOwnProperty(me)||ie===ce||ie===void 0&&ce===void 0||ay(n,l,me,ie,c,ce);return}}for(var P in r)ie=r[P],r.hasOwnProperty(P)&&ie!=null&&!c.hasOwnProperty(P)&&Xt(n,l,P,null,c,ie);for(be in c)ie=c[be],ce=r[be],!c.hasOwnProperty(be)||ie===ce||ie==null&&ce==null||Xt(n,l,be,ie,c,ce)}function Kp(n){switch(n){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function iy(){if(typeof performance.getEntriesByType=="function"){for(var n=0,l=0,r=performance.getEntriesByType("resource"),c=0;c<r.length;c++){var m=r[c],v=m.transferSize,A=m.initiatorType,O=m.duration;if(v&&O&&Kp(A)){for(A=0,O=m.responseEnd,c+=1;c<r.length;c++){var Y=r[c],ae=Y.startTime;if(ae>O)break;var me=Y.transferSize,be=Y.initiatorType;me&&Kp(be)&&(Y=Y.responseEnd,A+=me*(Y<O?1:(O-ae)/(Y-ae)))}if(--c,l+=8*(v+A)/(m.duration/1e3),n++,10<n)break}}if(0<n)return l/n/1e6}return navigator.connection&&(n=navigator.connection.downlink,typeof n=="number")?n:5}var Jp=null,$p=null;function Yr(n){return n.nodeType===9?n:n.ownerDocument}function o1(n){switch(n){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function oy(n,l){if(n===0)switch(l){case"svg":return 1;case"math":return 2;default:return 0}return n===1&&l==="foreignObject"?0:n}function xc(n,l){return n==="textarea"||n==="noscript"||typeof l.children=="string"||typeof l.children=="number"||typeof l.children=="bigint"||typeof l.dangerouslySetInnerHTML=="object"&&l.dangerouslySetInnerHTML!==null&&l.dangerouslySetInnerHTML.__html!=null}var Ip=null;function mw(){var n=window.event;return n&&n.type==="popstate"?n===Ip?!1:(Ip=n,!0):(Ip=null,!1)}var wd=typeof setTimeout=="function"?setTimeout:void 0,r1=typeof clearTimeout=="function"?clearTimeout:void 0,Xs=typeof Promise=="function"?Promise:void 0,s1=typeof queueMicrotask=="function"?queueMicrotask:typeof Xs<"u"?function(n){return Xs.resolve(null).then(n).catch(ry)}:wd;function ry(n){setTimeout(function(){throw n})}function yi(n){return n==="head"}function sy(n,l){var r=l,c=0;do{var m=r.nextSibling;if(n.removeChild(r),m&&m.nodeType===8)if(r=m.data,r==="/$"||r==="/&"){if(c===0){n.removeChild(m),jc(l);return}c--}else if(r==="$"||r==="$?"||r==="$~"||r==="$!"||r==="&")c++;else if(r==="html")Qs(n.ownerDocument.documentElement);else if(r==="head"){r=n.ownerDocument.head,Qs(r);for(var v=r.firstChild;v;){var A=v.nextSibling,O=v.nodeName;v[ji]||O==="SCRIPT"||O==="STYLE"||O==="LINK"&&v.rel.toLowerCase()==="stylesheet"||r.removeChild(v),v=A}}else r==="body"&&Qs(n.ownerDocument.body);r=m}while(r);jc(l)}function zn(n,l){var r=n;n=0;do{var c=r.nextSibling;if(r.nodeType===1?l?(r._stashedDisplay=r.style.display,r.style.display="none"):(r.style.display=r._stashedDisplay||"",r.getAttribute("style")===""&&r.removeAttribute("style")):r.nodeType===3&&(l?(r._stashedText=r.nodeValue,r.nodeValue=""):r.nodeValue=r._stashedText||""),c&&c.nodeType===8)if(r=c.data,r==="/$"){if(n===0)break;n--}else r!=="$"&&r!=="$?"&&r!=="$~"&&r!=="$!"||n++;r=c}while(r)}function Ed(n){var l=n.firstChild;for(l&&l.nodeType===10&&(l=l.nextSibling);l;){var r=l;switch(l=l.nextSibling,r.nodeName){case"HTML":case"HEAD":case"BODY":Ed(r),Th(r);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(r.rel.toLowerCase()==="stylesheet")continue}n.removeChild(r)}}function gw(n,l,r,c){for(;n.nodeType===1;){var m=r;if(n.nodeName.toLowerCase()!==l.toLowerCase()){if(!c&&(n.nodeName!=="INPUT"||n.type!=="hidden"))break}else if(c){if(!n[ji])switch(l){case"meta":if(!n.hasAttribute("itemprop"))break;return n;case"link":if(v=n.getAttribute("rel"),v==="stylesheet"&&n.hasAttribute("data-precedence"))break;if(v!==m.rel||n.getAttribute("href")!==(m.href==null||m.href===""?null:m.href)||n.getAttribute("crossorigin")!==(m.crossOrigin==null?null:m.crossOrigin)||n.getAttribute("title")!==(m.title==null?null:m.title))break;return n;case"style":if(n.hasAttribute("data-precedence"))break;return n;case"script":if(v=n.getAttribute("src"),(v!==(m.src==null?null:m.src)||n.getAttribute("type")!==(m.type==null?null:m.type)||n.getAttribute("crossorigin")!==(m.crossOrigin==null?null:m.crossOrigin))&&v&&n.hasAttribute("async")&&!n.hasAttribute("itemprop"))break;return n;default:return n}}else if(l==="input"&&n.type==="hidden"){var v=m.name==null?null:""+m.name;if(m.type==="hidden"&&n.getAttribute("name")===v)return n}else return n;if(n=Va(n.nextSibling),n===null)break}return null}function dt(n,l,r){if(l==="")return null;for(;n.nodeType!==3;)if((n.nodeType!==1||n.nodeName!=="INPUT"||n.type!=="hidden")&&!r||(n=Va(n.nextSibling),n===null))return null;return n}function u1(n,l){for(;n.nodeType!==8;)if((n.nodeType!==1||n.nodeName!=="INPUT"||n.type!=="hidden")&&!l||(n=Va(n.nextSibling),n===null))return null;return n}function Xl(n){return n.data==="$?"||n.data==="$~"}function qr(n){return n.data==="$!"||n.data==="$?"&&n.ownerDocument.readyState!=="loading"}function wc(n,l){var r=n.ownerDocument;if(n.data==="$~")n._reactRetry=l;else if(n.data!=="$?"||r.readyState!=="loading")l();else{var c=function(){l(),r.removeEventListener("DOMContentLoaded",c)};r.addEventListener("DOMContentLoaded",c),n._reactRetry=c}}function Va(n){for(;n!=null;n=n.nextSibling){var l=n.nodeType;if(l===1||l===3)break;if(l===8){if(l=n.data,l==="$"||l==="$!"||l==="$?"||l==="$~"||l==="&"||l==="F!"||l==="F")break;if(l==="/$"||l==="/&")return null}}return n}var Td=null;function Fp(n){n=n.nextSibling;for(var l=0;n;){if(n.nodeType===8){var r=n.data;if(r==="/$"||r==="/&"){if(l===0)return Va(n.nextSibling);l--}else r!=="$"&&r!=="$!"&&r!=="$?"&&r!=="$~"&&r!=="&"||l++}n=n.nextSibling}return null}function vi(n){n=n.previousSibling;for(var l=0;n;){if(n.nodeType===8){var r=n.data;if(r==="$"||r==="$!"||r==="$?"||r==="$~"||r==="&"){if(l===0)return n;l--}else r!=="/$"&&r!=="/&"||l++}n=n.previousSibling}return null}function Ec(n,l,r){switch(l=Yr(r),n){case"html":if(n=l.documentElement,!n)throw Error(f(452));return n;case"head":if(n=l.head,!n)throw Error(f(453));return n;case"body":if(n=l.body,!n)throw Error(f(454));return n;default:throw Error(f(451))}}function Qs(n){for(var l=n.attributes;l.length;)n.removeAttributeNode(l[0]);Th(n)}var Pa=new Map,Ad=new Set;function ba(n){return typeof n.getRootNode=="function"?n.getRootNode():n.nodeType===9?n:n.ownerDocument}var bi=I.d;I.d={f:yw,r:c1,D:ue,C:Nt,L:vw,m:uy,X:Ko,S:cy,M:Gr};function yw(){var n=bi.f(),l=pc();return n||l}function c1(n){var l=is(n);l!==null&&l.tag===5&&l.type==="form"?qt(l):bi.r(n)}var Tc=typeof document>"u"?null:document;function jn(n,l,r){var c=Tc;if(c&&typeof l=="string"&&l){var m=sl(l);m='link[rel="'+n+'"][href="'+m+'"]',typeof r=="string"&&(m+='[crossorigin="'+r+'"]'),Ad.has(m)||(Ad.add(m),n={rel:n,crossOrigin:r,href:l},c.querySelector(m)===null&&(l=c.createElement("link"),sa(l,"link",n),Ut(l),c.head.appendChild(l)))}}function ue(n){bi.D(n),jn("dns-prefetch",n,null)}function Nt(n,l){bi.C(n,l),jn("preconnect",n,l)}function vw(n,l,r){bi.L(n,l,r);var c=Tc;if(c&&n&&l){var m='link[rel="preload"][as="'+sl(l)+'"]';l==="image"&&r&&r.imageSrcSet?(m+='[imagesrcset="'+sl(r.imageSrcSet)+'"]',typeof r.imageSizes=="string"&&(m+='[imagesizes="'+sl(r.imageSizes)+'"]')):m+='[href="'+sl(n)+'"]';var v=m;switch(l){case"style":v=wl(n);break;case"script":v=Zs(n)}Pa.has(v)||(n=T({rel:"preload",href:l==="image"&&r&&r.imageSrcSet?void 0:n,as:l},r),Pa.set(v,n),c.querySelector(m)!==null||l==="style"&&c.querySelector(Xr(v))||l==="script"&&c.querySelector(zc(v))||(l=c.createElement("link"),sa(l,"link",n),Ut(l),c.head.appendChild(l)))}}function uy(n,l){bi.m(n,l);var r=Tc;if(r&&n){var c=l&&typeof l.as=="string"?l.as:"script",m='link[rel="modulepreload"][as="'+sl(c)+'"][href="'+sl(n)+'"]',v=m;switch(c){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":v=Zs(n)}if(!Pa.has(v)&&(n=T({rel:"modulepreload",href:n},l),Pa.set(v,n),r.querySelector(m)===null)){switch(c){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(r.querySelector(zc(v)))return}c=r.createElement("link"),sa(c,"link",n),Ut(c),r.head.appendChild(c)}}}function cy(n,l,r){bi.S(n,l,r);var c=Tc;if(c&&n){var m=os(c).hoistableStyles,v=wl(n);l=l||"default";var A=m.get(v);if(!A){var O={loading:0,preload:null};if(A=c.querySelector(Xr(v)))O.loading=5;else{n=T({rel:"stylesheet",href:n,"data-precedence":l},r),(r=Pa.get(v))&&Pp(n,r);var Y=A=c.createElement("link");Ut(Y),sa(Y,"link",n),Y._p=new Promise(function(ae,me){Y.onload=ae,Y.onerror=me}),Y.addEventListener("load",function(){O.loading|=1}),Y.addEventListener("error",function(){O.loading|=2}),O.loading|=4,Cd(A,l,c)}A={type:"stylesheet",instance:A,count:1,state:O},m.set(v,A)}}}function Ko(n,l){bi.X(n,l);var r=Tc;if(r&&n){var c=os(r).hoistableScripts,m=Zs(n),v=c.get(m);v||(v=r.querySelector(zc(m)),v||(n=T({src:n,async:!0},l),(l=Pa.get(m))&&Wp(n,l),v=r.createElement("script"),Ut(v),sa(v,"link",n),r.head.appendChild(v)),v={type:"script",instance:v,count:1,state:null},c.set(m,v))}}function Gr(n,l){bi.M(n,l);var r=Tc;if(r&&n){var c=os(r).hoistableScripts,m=Zs(n),v=c.get(m);v||(v=r.querySelector(zc(m)),v||(n=T({src:n,async:!0,type:"module"},l),(l=Pa.get(m))&&Wp(n,l),v=r.createElement("script"),Ut(v),sa(v,"link",n),r.head.appendChild(v)),v={type:"script",instance:v,count:1,state:null},c.set(m,v))}}function Ac(n,l,r,c){var m=(m=et.current)?ba(m):null;if(!m)throw Error(f(446));switch(n){case"meta":case"title":return null;case"style":return typeof r.precedence=="string"&&typeof r.href=="string"?(l=wl(r.href),r=os(m).hoistableStyles,c=r.get(l),c||(c={type:"style",instance:null,count:0,state:null},r.set(l,c)),c):{type:"void",instance:null,count:0,state:null};case"link":if(r.rel==="stylesheet"&&typeof r.href=="string"&&typeof r.precedence=="string"){n=wl(r.href);var v=os(m).hoistableStyles,A=v.get(n);if(A||(m=m.ownerDocument||m,A={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},v.set(n,A),(v=m.querySelector(Xr(n)))&&!v._p&&(A.instance=v,A.state.loading=5),Pa.has(n)||(r={rel:"preload",as:"style",href:r.href,crossOrigin:r.crossOrigin,integrity:r.integrity,media:r.media,hrefLang:r.hrefLang,referrerPolicy:r.referrerPolicy},Pa.set(n,r),v||f1(m,n,r,A.state))),l&&c===null)throw Error(f(528,""));return A}if(l&&c!==null)throw Error(f(529,""));return null;case"script":return l=r.async,r=r.src,typeof r=="string"&&l&&typeof l!="function"&&typeof l!="symbol"?(l=Zs(r),r=os(m).hoistableScripts,c=r.get(l),c||(c={type:"script",instance:null,count:0,state:null},r.set(l,c)),c):{type:"void",instance:null,count:0,state:null};default:throw Error(f(444,n))}}function wl(n){return'href="'+sl(n)+'"'}function Xr(n){return'link[rel="stylesheet"]['+n+"]"}function Cc(n){return T({},n,{"data-precedence":n.precedence,precedence:null})}function f1(n,l,r,c){n.querySelector('link[rel="preload"][as="style"]['+l+"]")?c.loading=1:(l=n.createElement("link"),c.preload=l,l.addEventListener("load",function(){return c.loading|=1}),l.addEventListener("error",function(){return c.loading|=2}),sa(l,"link",r),Ut(l),n.head.appendChild(l))}function Zs(n){return'[src="'+sl(n)+'"]'}function zc(n){return"script[async]"+n}function fy(n,l,r){if(l.count++,l.instance===null)switch(l.type){case"style":var c=n.querySelector('style[data-href~="'+sl(r.href)+'"]');if(c)return l.instance=c,Ut(c),c;var m=T({},r,{"data-href":r.href,"data-precedence":r.precedence,href:null,precedence:null});return c=(n.ownerDocument||n).createElement("style"),Ut(c),sa(c,"style",m),Cd(c,r.precedence,n),l.instance=c;case"stylesheet":m=wl(r.href);var v=n.querySelector(Xr(m));if(v)return l.state.loading|=4,l.instance=v,Ut(v),v;c=Cc(r),(m=Pa.get(m))&&Pp(c,m),v=(n.ownerDocument||n).createElement("link"),Ut(v);var A=v;return A._p=new Promise(function(O,Y){A.onload=O,A.onerror=Y}),sa(v,"link",c),l.state.loading|=4,Cd(v,r.precedence,n),l.instance=v;case"script":return v=Zs(r.src),(m=n.querySelector(zc(v)))?(l.instance=m,Ut(m),m):(c=r,(m=Pa.get(v))&&(c=T({},r),Wp(c,m)),n=n.ownerDocument||n,m=n.createElement("script"),Ut(m),sa(m,"link",c),n.head.appendChild(m),l.instance=m);case"void":return null;default:throw Error(f(443,l.type))}else l.type==="stylesheet"&&(l.state.loading&4)===0&&(c=l.instance,l.state.loading|=4,Cd(c,r.precedence,n));return l.instance}function Cd(n,l,r){for(var c=r.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),m=c.length?c[c.length-1]:null,v=m,A=0;A<c.length;A++){var O=c[A];if(O.dataset.precedence===l)v=O;else if(v!==m)break}v?v.parentNode.insertBefore(n,v.nextSibling):(l=r.nodeType===9?r.head:r,l.insertBefore(n,l.firstChild))}function Pp(n,l){n.crossOrigin==null&&(n.crossOrigin=l.crossOrigin),n.referrerPolicy==null&&(n.referrerPolicy=l.referrerPolicy),n.title==null&&(n.title=l.title)}function Wp(n,l){n.crossOrigin==null&&(n.crossOrigin=l.crossOrigin),n.referrerPolicy==null&&(n.referrerPolicy=l.referrerPolicy),n.integrity==null&&(n.integrity=l.integrity)}var Rc=null;function dy(n,l,r){if(Rc===null){var c=new Map,m=Rc=new Map;m.set(r,c)}else m=Rc,c=m.get(r),c||(c=new Map,m.set(r,c));if(c.has(n))return c;for(c.set(n,null),r=r.getElementsByTagName(n),m=0;m<r.length;m++){var v=r[m];if(!(v[ji]||v[Yt]||n==="link"&&v.getAttribute("rel")==="stylesheet")&&v.namespaceURI!=="http://www.w3.org/2000/svg"){var A=v.getAttribute(l)||"";A=n+A;var O=c.get(A);O?O.push(v):c.set(A,[v])}}return c}function em(n,l,r){n=n.ownerDocument||n,n.head.insertBefore(r,l==="title"?n.querySelector("head > title"):null)}function hy(n,l,r){if(r===1||l.itemProp!=null)return!1;switch(n){case"meta":case"title":return!0;case"style":if(typeof l.precedence!="string"||typeof l.href!="string"||l.href==="")break;return!0;case"link":if(typeof l.rel!="string"||typeof l.href!="string"||l.href===""||l.onLoad||l.onError)break;return l.rel==="stylesheet"?(n=l.disabled,typeof l.precedence=="string"&&n==null):!0;case"script":if(l.async&&typeof l.async!="function"&&typeof l.async!="symbol"&&!l.onLoad&&!l.onError&&l.src&&typeof l.src=="string")return!0}return!1}function Wa(n){return!(n.type==="stylesheet"&&(n.state.loading&3)===0)}function oo(n,l,r,c){if(r.type==="stylesheet"&&(typeof c.media!="string"||matchMedia(c.media).matches!==!1)&&(r.state.loading&4)===0){if(r.instance===null){var m=wl(c.href),v=l.querySelector(Xr(m));if(v){l=v._p,l!==null&&typeof l=="object"&&typeof l.then=="function"&&(n.count++,n=tm.bind(n),l.then(n,n)),r.state.loading|=4,r.instance=v,Ut(v);return}v=l.ownerDocument||l,c=Cc(c),(m=Pa.get(m))&&Pp(c,m),v=v.createElement("link"),Ut(v);var A=v;A._p=new Promise(function(O,Y){A.onload=O,A.onerror=Y}),sa(v,"link",c),r.instance=v}n.stylesheets===null&&(n.stylesheets=new Map),n.stylesheets.set(r,l),(l=r.state.preload)&&(r.state.loading&3)===0&&(n.count++,r=tm.bind(n),l.addEventListener("load",r),l.addEventListener("error",r))}}var El=0;function py(n,l){return n.stylesheets&&n.count===0&&am(n,n.stylesheets),0<n.count||0<n.imgCount?function(r){var c=setTimeout(function(){if(n.stylesheets&&am(n,n.stylesheets),n.unsuspend){var v=n.unsuspend;n.unsuspend=null,v()}},6e4+l);0<n.imgBytes&&El===0&&(El=62500*iy());var m=setTimeout(function(){if(n.waitingForImages=!1,n.count===0&&(n.stylesheets&&am(n,n.stylesheets),n.unsuspend)){var v=n.unsuspend;n.unsuspend=null,v()}},(n.imgBytes>El?50:800)+l);return n.unsuspend=r,function(){n.unsuspend=null,clearTimeout(c),clearTimeout(m)}}:null}function tm(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)am(this,this.stylesheets);else if(this.unsuspend){var n=this.unsuspend;this.unsuspend=null,n()}}}var nm=null;function am(n,l){n.stylesheets=null,n.unsuspend!==null&&(n.count++,nm=new Map,l.forEach(Pn,n),nm=null,tm.call(n))}function Pn(n,l){if(!(l.state.loading&4)){var r=nm.get(n);if(r)var c=r.get(null);else{r=new Map,nm.set(n,r);for(var m=n.querySelectorAll("link[data-precedence],style[data-precedence]"),v=0;v<m.length;v++){var A=m[v];(A.nodeName==="LINK"||A.getAttribute("media")!=="not all")&&(r.set(A.dataset.precedence,A),c=A)}c&&r.set(null,c)}m=l.instance,A=m.getAttribute("data-precedence"),v=r.get(A)||c,v===c&&r.set(null,m),r.set(A,m),this.count++,c=tm.bind(this),m.addEventListener("load",c),m.addEventListener("error",c),v?v.parentNode.insertBefore(m,v.nextSibling):(n=n.nodeType===9?n.head:n,n.insertBefore(m,n.firstChild)),l.state.loading|=4}}var zd={$$typeof:$,Provider:null,Consumer:null,_currentValue:fe,_currentValue2:fe,_threadCount:0};function my(n,l,r,c,m,v,A,O,Y){this.tag=1,this.containerInfo=n,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Ol(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ol(0),this.hiddenUpdates=Ol(null),this.identifierPrefix=c,this.onUncaughtError=m,this.onCaughtError=v,this.onRecoverableError=A,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=Y,this.incompleteTransitions=new Map}function lm(n,l,r,c,m,v,A,O,Y,ae,me,be){return n=new my(n,l,r,A,Y,ae,me,be,O),l=1,v===!0&&(l|=24),v=gn(3,null,null,l),n.current=v,v.stateNode=n,l=Nf(),l.refCount++,n.pooledCache=l,l.refCount++,v.memoizedState={element:c,isDehydrated:r,cache:l},qf(v),n}function Ks(n){return n?(n=Ma,n):Ma}function d1(n,l,r,c,m,v){m=Ks(m),c.context===null?c.context=m:c.pendingContext=m,c=Lo(l),c.payload={element:r},v=v===void 0?null:v,v!==null&&(c.callback=v),r=ml(n,c,l),r!==null&&(Ha(r,n,l),Rr(r,n,l))}function im(n,l){if(n=n.memoizedState,n!==null&&n.dehydrated!==null){var r=n.retryLane;n.retryLane=r!==0&&r<l?r:l}}function gy(n,l){im(n,l),(n=n.alternate)&&im(n,l)}function h1(n){if(n.tag===13||n.tag===31){var l=Do(n,67108864);l!==null&&Ha(l,n,67108864),gy(n,67108864)}}function Js(n){if(n.tag===13||n.tag===31){var l=Fa();l=xh(l);var r=Do(n,l);r!==null&&Ha(r,n,l),gy(n,l)}}var Hn=!0;function ro(n,l,r,c){var m=G.T;G.T=null;var v=I.p;try{I.p=2,ua(n,l,r,c)}finally{I.p=v,G.T=m}}function so(n,l,r,c){var m=G.T;G.T=null;var v=I.p;try{I.p=8,ua(n,l,r,c)}finally{I.p=v,G.T=m}}function ua(n,l,r,c){if(Hn){var m=yy(c);if(m===null)Wg(n,l,c,om,r),Jo(n,c);else if(bw(m,n,l,r,c))c.stopPropagation();else if(Jo(n,c),l&4&&-1<Ya.indexOf(n)){for(;m!==null;){var v=is(m);if(v!==null)switch(v.tag){case 3:if(v=v.stateNode,v.current.memoizedState.isDehydrated){var A=$e(v.pendingLanes);if(A!==0){var O=v;for(O.pendingLanes|=2,O.entangledLanes|=2;A;){var Y=1<<31-Xn(A);O.entanglements[1]|=Y,A&=~Y}io(v),(_t&6)===0&&(kt=Dn()+500,Zo(0))}}break;case 31:case 13:O=Do(v,2),O!==null&&Ha(O,v,2),pc(),gy(v,2)}if(v=yy(c),v===null&&Wg(n,l,c,om,r),v===m)break;m=v}m!==null&&c.stopPropagation()}else Wg(n,l,c,null,r)}}function yy(n){return n=_h(n),Mc(n)}var om=null;function Mc(n){if(om=null,n=ls(n),n!==null){var l=g(n);if(l===null)n=null;else{var r=l.tag;if(r===13){if(n=y(l),n!==null)return n;n=null}else if(r===31){if(n=S(l),n!==null)return n;n=null}else if(r===3){if(l.stateNode.current.memoizedState.isDehydrated)return l.tag===3?l.stateNode.containerInfo:null;n=null}else l!==n&&(n=null)}}return om=n,null}function Rd(n){switch(n){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(bh()){case Eu:return 2;case Tu:return 8;case Il:case Sh:return 32;case Au:return 268435456;default:return 32}default:return 32}}var Dc=!1,Vn=null,ca=null,Sa=null,Qr=new Map,Ql=new Map,on=[],Ya="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function Jo(n,l){switch(n){case"focusin":case"focusout":Vn=null;break;case"dragenter":case"dragleave":ca=null;break;case"mouseover":case"mouseout":Sa=null;break;case"pointerover":case"pointerout":Qr.delete(l.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ql.delete(l.pointerId)}}function $s(n,l,r,c,m,v){return n===null||n.nativeEvent!==v?(n={blockedOn:l,domEventName:r,eventSystemFlags:c,nativeEvent:v,targetContainers:[m]},l!==null&&(l=is(l),l!==null&&h1(l)),n):(n.eventSystemFlags|=c,l=n.targetContainers,m!==null&&l.indexOf(m)===-1&&l.push(m),n)}function bw(n,l,r,c,m){switch(l){case"focusin":return Vn=$s(Vn,n,l,r,c,m),!0;case"dragenter":return ca=$s(ca,n,l,r,c,m),!0;case"mouseover":return Sa=$s(Sa,n,l,r,c,m),!0;case"pointerover":var v=m.pointerId;return Qr.set(v,$s(Qr.get(v)||null,n,l,r,c,m)),!0;case"gotpointercapture":return v=m.pointerId,Ql.set(v,$s(Ql.get(v)||null,n,l,r,c,m)),!0}return!1}function p1(n){var l=ls(n.target);if(l!==null){var r=g(l);if(r!==null){if(l=r.tag,l===13){if(l=y(r),l!==null){n.blockedOn=l,y0(n.priority,function(){Js(r)});return}}else if(l===31){if(l=S(r),l!==null){n.blockedOn=l,y0(n.priority,function(){Js(r)});return}}else if(l===3&&r.stateNode.current.memoizedState.isDehydrated){n.blockedOn=r.tag===3?r.stateNode.containerInfo:null;return}}}n.blockedOn=null}function Md(n){if(n.blockedOn!==null)return!1;for(var l=n.targetContainers;0<l.length;){var r=yy(n.nativeEvent);if(r===null){r=n.nativeEvent;var c=new r.constructor(r.type,r);Dh=c,r.target.dispatchEvent(c),Dh=null}else return l=is(r),l!==null&&h1(l),n.blockedOn=r,!1;l.shift()}return!0}function _c(n,l,r){Md(n)&&r.delete(l)}function m1(){Dc=!1,Vn!==null&&Md(Vn)&&(Vn=null),ca!==null&&Md(ca)&&(ca=null),Sa!==null&&Md(Sa)&&(Sa=null),Qr.forEach(_c),Ql.forEach(_c)}function uo(n,l){n.blockedOn===l&&(n.blockedOn=null,Dc||(Dc=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,m1)))}var Oc=null;function g1(n){Oc!==n&&(Oc=n,i.unstable_scheduleCallback(i.unstable_NormalPriority,function(){Oc===n&&(Oc=null);for(var l=0;l<n.length;l+=3){var r=n[l],c=n[l+1],m=n[l+2];if(typeof c!="function"){if(Mc(c||r)===null)continue;break}var v=is(r);v!==null&&(n.splice(l,3),l-=3,tc(v,{pending:!0,data:m,method:r.method,action:c},c,m))}}))}function jc(n){function l(Y){return uo(Y,n)}Vn!==null&&uo(Vn,n),ca!==null&&uo(ca,n),Sa!==null&&uo(Sa,n),Qr.forEach(l),Ql.forEach(l);for(var r=0;r<on.length;r++){var c=on[r];c.blockedOn===n&&(c.blockedOn=null)}for(;0<on.length&&(r=on[0],r.blockedOn===null);)p1(r),r.blockedOn===null&&on.shift();if(r=(n.ownerDocument||n).$$reactFormReplay,r!=null)for(c=0;c<r.length;c+=3){var m=r[c],v=r[c+1],A=m[Ca]||null;if(typeof v=="function")A||g1(r);else if(A){var O=null;if(v&&v.hasAttribute("formAction")){if(m=v,A=v[Ca]||null)O=A.formAction;else if(Mc(m)!==null)continue}else O=A.action;typeof O=="function"?r[c+1]=O:(r.splice(c,3),c-=3),g1(r)}}}function vy(){function n(v){v.canIntercept&&v.info==="react-transition"&&v.intercept({handler:function(){return new Promise(function(A){return m=A})},focusReset:"manual",scroll:"manual"})}function l(){m!==null&&(m(),m=null),c||setTimeout(r,20)}function r(){if(!c&&!navigation.transition){var v=navigation.currentEntry;v&&v.url!=null&&navigation.navigate(v.url,{state:v.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var c=!1,m=null;return navigation.addEventListener("navigate",n),navigation.addEventListener("navigatesuccess",l),navigation.addEventListener("navigateerror",l),setTimeout(r,100),function(){c=!0,navigation.removeEventListener("navigate",n),navigation.removeEventListener("navigatesuccess",l),navigation.removeEventListener("navigateerror",l),m!==null&&(m(),m=null)}}}function rm(n){this._internalRoot=n}sm.prototype.render=rm.prototype.render=function(n){var l=this._internalRoot;if(l===null)throw Error(f(409));var r=l.current,c=Fa();d1(r,c,n,l,null,null)},sm.prototype.unmount=rm.prototype.unmount=function(){var n=this._internalRoot;if(n!==null){this._internalRoot=null;var l=n.containerInfo;d1(n.current,2,null,n,null,null),pc(),l[fr]=null}};function sm(n){this._internalRoot=n}sm.prototype.unstable_scheduleHydration=function(n){if(n){var l=wh();n={blockedOn:null,target:n,priority:l};for(var r=0;r<on.length&&l!==0&&l<on[r].priority;r++);on.splice(r,0,n),r===0&&p1(n)}};var by=o.version;if(by!=="19.2.3")throw Error(f(527,by,"19.2.3"));I.findDOMNode=function(n){var l=n._reactInternals;if(l===void 0)throw typeof n.render=="function"?Error(f(188)):(n=Object.keys(n).join(","),Error(f(268,n)));return n=E(l),n=n!==null?C(n):null,n=n===null?null:n.stateNode,n};var y1={bundleType:0,version:"19.2.3",rendererPackageName:"react-dom",currentDispatcherRef:G,reconcilerVersion:"19.2.3"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Dd=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Dd.isDisabled&&Dd.supportsFiber)try{_l=Dd.inject(y1),Nn=Dd}catch{}}return Gm.createRoot=function(n,l){if(!p(n))throw Error(f(299));var r=!1,c="",m=bp,v=Sg,A=Sp;return l!=null&&(l.unstable_strictMode===!0&&(r=!0),l.identifierPrefix!==void 0&&(c=l.identifierPrefix),l.onUncaughtError!==void 0&&(m=l.onUncaughtError),l.onCaughtError!==void 0&&(v=l.onCaughtError),l.onRecoverableError!==void 0&&(A=l.onRecoverableError)),l=lm(n,1,!1,null,null,r,c,null,m,v,A,vy),n[fr]=l.current,Sc(n),new rm(l)},Gm.hydrateRoot=function(n,l,r){if(!p(n))throw Error(f(299));var c=!1,m="",v=bp,A=Sg,O=Sp,Y=null;return r!=null&&(r.unstable_strictMode===!0&&(c=!0),r.identifierPrefix!==void 0&&(m=r.identifierPrefix),r.onUncaughtError!==void 0&&(v=r.onUncaughtError),r.onCaughtError!==void 0&&(A=r.onCaughtError),r.onRecoverableError!==void 0&&(O=r.onRecoverableError),r.formState!==void 0&&(Y=r.formState)),l=lm(n,1,!0,l,r??null,c,m,Y,v,A,O,vy),l.context=Ks(null),r=l.current,c=Fa(),c=xh(c),m=Lo(c),m.callback=null,ml(r,m,c),r=c,l.current.lanes=r,cr(l,r),io(l),n[fr]=l.current,Sc(n),new sm(l)},Gm.version="19.2.3",Gm}var Xm={};var X2;function H5(){return X2||(X2=1,process.env.NODE_ENV!=="production"&&(function(){function i(e,t){for(e=e.memoizedState;e!==null&&0<t;)e=e.next,t--;return e}function o(e,t,a,s){if(a>=t.length)return s;var d=t[a],h=jn(e)?e.slice():dt({},e);return h[d]=o(e[d],t,a+1,s),h}function u(e,t,a){if(t.length!==a.length)console.warn("copyWithRename() expects paths of the same length");else{for(var s=0;s<a.length-1;s++)if(t[s]!==a[s]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return f(e,t,a,0)}}function f(e,t,a,s){var d=t[s],h=jn(e)?e.slice():dt({},e);return s+1===t.length?(h[a[s]]=h[d],jn(h)?h.splice(d,1):delete h[d]):h[d]=f(e[d],t,a,s+1),h}function p(e,t,a){var s=t[a],d=jn(e)?e.slice():dt({},e);return a+1===t.length?(jn(d)?d.splice(s,1):delete d[s],d):(d[s]=p(e[s],t,a+1),d)}function g(){return!1}function y(){return null}function S(){console.error("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://react.dev/link/rules-of-hooks")}function x(){console.error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().")}function E(){}function C(){}function T(e){var t=[];return e.forEach(function(a){t.push(a)}),t.sort().join(", ")}function z(e,t,a,s){return new fw(e,t,a,s)}function N(e,t){e.context===Lc&&(Zp(e.current,2,t,e,null,null),Sl())}function H(e,t){if(ho!==null){var a=t.staleFamilies;t=t.updatedFamilies,rd(),sb(e.current,t,a),Sl()}}function Q(e){ho=e}function q(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function W(e){var t=e,a=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(a=t.return),e=t.return;while(e)}return t.tag===3?a:null}function U(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 $(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function le(e){if(W(e)!==e)throw Error("Unable to find node on an unmounted component.")}function pe(e){var t=e.alternate;if(!t){if(t=W(e),t===null)throw Error("Unable to find node on an unmounted component.");return t!==e?null:e}for(var a=e,s=t;;){var d=a.return;if(d===null)break;var h=d.alternate;if(h===null){if(s=d.return,s!==null){a=s;continue}break}if(d.child===h.child){for(h=d.child;h;){if(h===a)return le(d),e;if(h===s)return le(d),t;h=h.sibling}throw Error("Unable to find node on an unmounted component.")}if(a.return!==s.return)a=d,s=h;else{for(var b=!1,w=d.child;w;){if(w===a){b=!0,a=d,s=h;break}if(w===s){b=!0,s=d,a=h;break}w=w.sibling}if(!b){for(w=h.child;w;){if(w===a){b=!0,a=h,s=d;break}if(w===s){b=!0,s=h,a=d;break}w=w.sibling}if(!b)throw Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(a.alternate!==s)throw Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(a.tag!==3)throw Error("Unable to find node on an unmounted component.");return a.stateNode.current===a?e:t}function de(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=de(e),t!==null)return t;e=e.sibling}return null}function he(e){return e===null||typeof e!="object"?null:(e=c1&&e[c1]||e["@@iterator"],typeof e=="function"?e:null)}function re(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===Tc?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case wc:return"Fragment";case Td:return"Profiler";case Va:return"StrictMode";case Qs:return"Suspense";case Pa:return"SuspenseList";case bi:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case qr:return"Portal";case vi:return e.displayName||"Context";case Fp:return(e._context.displayName||"Context")+".Consumer";case Ec:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Ad:return t=e.displayName||null,t!==null?t:re(e.type)||"Memo";case ba:t=e._payload,e=e._init;try{return re(e(t))}catch{}}return null}function we(e){return typeof e.tag=="number"?ye(e):typeof e.name=="string"?e.name:null}function ye(e){var t=e.type;switch(e.tag){case 31:return"Activity";case 24:return"Cache";case 9:return(t._context.displayName||"Context")+".Consumer";case 10:return t.displayName||"Context";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 26:case 27:case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return re(t);case 8:return t===Va?"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 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t;break;case 29:if(t=e._debugInfo,t!=null){for(var a=t.length-1;0<=a;a--)if(typeof t[a].name=="string")return t[a].name}if(e.return!==null)return ye(e.return)}return null}function je(e){return{current:e}}function ee(e,t){0>Ko?console.error("Unexpected pop."):(t!==cy[Ko]&&console.error("Unexpected Fiber popped."),e.current=uy[Ko],uy[Ko]=null,cy[Ko]=null,Ko--)}function Re(e,t,a){Ko++,uy[Ko]=e.current,cy[Ko]=a,e.current=t}function Ke(e){return e===null&&console.error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."),e}function lt(e,t){Re(wl,t,e),Re(Ac,e,e),Re(Gr,null,e);var a=t.nodeType;switch(a){case 9:case 11:a=a===9?"#document":"#fragment",t=(t=t.documentElement)&&(t=t.namespaceURI)?Lb(t):uu;break;default:if(a=t.tagName,t=t.namespaceURI)t=Lb(t),t=Xo(t,a);else switch(a){case"svg":t=Bm;break;case"math":t=sS;break;default:t=uu}}a=a.toLowerCase(),a=x0(null,a),a={context:t,ancestorInfo:a},ee(Gr,e),Re(Gr,a,e)}function G(e){ee(Gr,e),ee(Ac,e),ee(wl,e)}function I(){return Ke(Gr.current)}function fe(e){e.memoizedState!==null&&Re(Xr,e,e);var t=Ke(Gr.current),a=e.type,s=Xo(t.context,a);a=x0(t.ancestorInfo,a),s={context:s,ancestorInfo:a},t!==s&&(Re(Ac,e,e),Re(Gr,s,e))}function Ae(e){Ac.current===e&&(ee(Gr,e),ee(Ac,e)),Xr.current===e&&(ee(Xr,e),sv._currentValue=Wd)}function De(){}function k(){if(Cc===0){f1=console.log,Zs=console.info,zc=console.warn,fy=console.error,Cd=console.group,Pp=console.groupCollapsed,Wp=console.groupEnd;var e={configurable:!0,enumerable:!0,value:De,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Cc++}function te(){if(Cc--,Cc===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:dt({},e,{value:f1}),info:dt({},e,{value:Zs}),warn:dt({},e,{value:zc}),error:dt({},e,{value:fy}),group:dt({},e,{value:Cd}),groupCollapsed:dt({},e,{value:Pp}),groupEnd:dt({},e,{value:Wp})})}0>Cc&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function xe(e){var t=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,e=e.stack,Error.prepareStackTrace=t,e.startsWith(`Error: react-stack-top-frame
|
|
31
|
+
`)&&(e=e.slice(29)),t=e.indexOf(`
|
|
32
|
+
`),t!==-1&&(e=e.slice(t+1)),t=e.indexOf("react_stack_bottom_frame"),t!==-1&&(t=e.lastIndexOf(`
|
|
33
|
+
`,t)),t!==-1)e=e.slice(0,t);else return"";return e}function Ee(e){if(Rc===void 0)try{throw Error()}catch(a){var t=a.stack.trim().match(/\n( *(at )?)/);Rc=t&&t[1]||"",dy=-1<a.stack.indexOf(`
|
|
34
|
+
at`)?" (<anonymous>)":-1<a.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
35
|
+
`+Rc+e+dy}function Ye(e,t){if(!e||em)return"";var a=hy.get(e);if(a!==void 0)return a;em=!0,a=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var s=null;s=ue.H,ue.H=null,k();try{var d={DetermineComponentFrameRoot:function(){try{if(t){var B=function(){throw Error()};if(Object.defineProperty(B.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(B,[])}catch(ze){var oe=ze}Reflect.construct(e,[],B)}else{try{B.call()}catch(ze){oe=ze}e.call(B.prototype)}}else{try{throw Error()}catch(ze){oe=ze}(B=e())&&typeof B.catch=="function"&&B.catch(function(){})}}catch(ze){if(ze&&oe&&typeof ze.stack=="string")return[ze.stack,oe.stack]}return[null,null]}};d.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var h=Object.getOwnPropertyDescriptor(d.DetermineComponentFrameRoot,"name");h&&h.configurable&&Object.defineProperty(d.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var b=d.DetermineComponentFrameRoot(),w=b[0],R=b[1];if(w&&R){var D=w.split(`
|
|
36
|
+
`),Z=R.split(`
|
|
37
|
+
`);for(b=h=0;h<D.length&&!D[h].includes("DetermineComponentFrameRoot");)h++;for(;b<Z.length&&!Z[b].includes("DetermineComponentFrameRoot");)b++;if(h===D.length||b===Z.length)for(h=D.length-1,b=Z.length-1;1<=h&&0<=b&&D[h]!==Z[b];)b--;for(;1<=h&&0<=b;h--,b--)if(D[h]!==Z[b]){if(h!==1||b!==1)do if(h--,b--,0>b||D[h]!==Z[b]){var J=`
|
|
38
|
+
`+D[h].replace(" at new "," at ");return e.displayName&&J.includes("<anonymous>")&&(J=J.replace("<anonymous>",e.displayName)),typeof e=="function"&&hy.set(e,J),J}while(1<=h&&0<=b);break}}}finally{em=!1,ue.H=s,te(),Error.prepareStackTrace=a}return D=(D=e?e.displayName||e.name:"")?Ee(D):"",typeof e=="function"&&hy.set(e,D),D}function et(e,t){switch(e.tag){case 26:case 27:case 5:return Ee(e.type);case 16:return Ee("Lazy");case 13:return e.child!==t&&t!==null?Ee("Suspense Fallback"):Ee("Suspense");case 19:return Ee("SuspenseList");case 0:case 15:return Ye(e.type,!1);case 11:return Ye(e.type.render,!1);case 1:return Ye(e.type,!0);case 31:return Ee("Activity");default:return""}}function Qe(e){try{var t="",a=null;do{t+=et(e,a);var s=e._debugInfo;if(s)for(var d=s.length-1;0<=d;d--){var h=s[d];if(typeof h.name=="string"){var b=t;e:{var w=h.name,R=h.env,D=h.debugLocation;if(D!=null){var Z=xe(D),J=Z.lastIndexOf(`
|
|
39
|
+
`),B=J===-1?Z:Z.slice(J+1);if(B.indexOf(w)!==-1){var oe=`
|
|
40
|
+
`+B;break e}}oe=Ee(w+(R?" ["+R+"]":""))}t=b+oe}}a=e,e=e.return}while(e);return t}catch(ze){return`
|
|
41
|
+
Error generating stack: `+ze.message+`
|
|
42
|
+
`+ze.stack}}function Wt(e){return(e=e?e.displayName||e.name:"")?Ee(e):""}function Mt(){if(Wa===null)return null;var e=Wa._debugOwner;return e!=null?we(e):null}function al(){if(Wa===null)return"";var e=Wa;try{var t="";switch(e.tag===6&&(e=e.return),e.tag){case 26:case 27:case 5:t+=Ee(e.type);break;case 13:t+=Ee("Suspense");break;case 19:t+=Ee("SuspenseList");break;case 31:t+=Ee("Activity");break;case 30:case 0:case 15:case 1:e._debugOwner||t!==""||(t+=Wt(e.type));break;case 11:e._debugOwner||t!==""||(t+=Wt(e.type.render))}for(;e;)if(typeof e.tag=="number"){var a=e;e=a._debugOwner;var s=a._debugStack;if(e&&s){var d=xe(s);d!==""&&(t+=`
|
|
43
|
+
`+d)}}else if(e.debugStack!=null){var h=e.debugStack;(e=e.owner)&&h&&(t+=`
|
|
44
|
+
`+xe(h))}else break;var b=t}catch(w){b=`
|
|
45
|
+
Error generating stack: `+w.message+`
|
|
46
|
+
`+w.stack}return b}function _e(e,t,a,s,d,h,b){var w=Wa;or(e);try{return e!==null&&e._debugTask?e._debugTask.run(t.bind(null,a,s,d,h,b)):t(a,s,d,h,b)}finally{or(w)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function or(e){ue.getCurrentStack=e===null?null:al,oo=!1,Wa=e}function rr(e){return typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}function ll(e){try{return Di(e),!1}catch{return!0}}function Di(e){return""+e}function Dt(e,t){if(ll(e))return console.error("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.",t,rr(e)),Di(e)}function pa(e,t){if(ll(e))return console.error("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before using it here.",t,rr(e)),Di(e)}function ts(e){if(ll(e))return console.error("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before using it here.",rr(e)),Di(e)}function hf(e){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled)return!0;if(!t.supportsFiber)return console.error("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://react.dev/link/react-devtools"),!0;try{Js=t.inject(e),Hn=t}catch(a){console.error("React instrumentation encountered an error: %o.",a)}return!!t.checkDCE}function Ue(e){if(typeof gy=="function"&&h1(e),Hn&&typeof Hn.setStrictMode=="function")try{Hn.setStrictMode(Js,e)}catch(t){ro||(ro=!0,console.error("React instrumentation encountered an error: %o",t))}}function sr(e){return e>>>=0,e===0?32:31-(yy(e)/om|0)|0}function _i(e){var t=e&42;if(t!==0)return t;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:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return console.error("Should have found matching lanes. This is a bug in React."),e}}function ns(e,t,a){var s=e.pendingLanes;if(s===0)return 0;var d=0,h=e.suspendedLanes,b=e.pingedLanes;e=e.warmLanes;var w=s&134217727;return w!==0?(s=w&~h,s!==0?d=_i(s):(b&=w,b!==0?d=_i(b):a||(a=w&~e,a!==0&&(d=_i(a))))):(w=s&~h,w!==0?d=_i(w):b!==0?d=_i(b):a||(a=s&~e,a!==0&&(d=_i(a)))),d===0?0:t!==0&&t!==d&&(t&h)===0&&(h=d&-d,a=t&-t,h>=a||h===32&&(a&4194048)!==0)?t:d}function Dn(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function bh(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return console.error("Should have found matching lanes. This is a bug in React."),-1}}function Eu(){var e=Dc;return Dc<<=1,(Dc&62914560)===0&&(Dc=4194304),e}function Tu(e){for(var t=[],a=0;31>a;a++)t.push(e);return t}function Il(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Sh(e,t,a,s,d,h){var b=e.pendingLanes;e.pendingLanes=a,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=a,e.entangledLanes&=a,e.errorRecoveryDisabledLanes&=a,e.shellSuspendCounter=0;var w=e.entanglements,R=e.expirationTimes,D=e.hiddenUpdates;for(a=b&~a;0<a;){var Z=31-ua(a),J=1<<Z;w[Z]=0,R[Z]=-1;var B=D[Z];if(B!==null)for(D[Z]=null,Z=0;Z<B.length;Z++){var oe=B[Z];oe!==null&&(oe.lane&=-536870913)}a&=~J}s!==0&&Au(e,s,0),h!==0&&d===0&&e.tag!==0&&(e.suspendedLanes|=h&~(b&~t))}function Au(e,t,a){e.pendingLanes|=t,e.suspendedLanes&=~t;var s=31-ua(t);e.entangledLanes|=t,e.entanglements[s]=e.entanglements[s]|1073741824|a&261930}function pf(e,t){var a=e.entangledLanes|=t;for(e=e.entanglements;a;){var s=31-ua(a),d=1<<s;d&t|e[s]&t&&(e[s]|=t),a&=~d}}function as(e,t){var a=t&-t;return a=(a&42)!==0?1:_l(a),(a&(e.suspendedLanes|t))!==0?0:a}function _l(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function Nn(e,t,a){if(so)for(e=e.pendingUpdatersLaneMap;0<a;){var s=31-ua(a),d=1<<s;e[s].add(t),a&=~d}}function il(e,t){if(so)for(var a=e.pendingUpdatersLaneMap,s=e.memoizedUpdaters;0<t;){var d=31-ua(t);e=1<<d,d=a[d],0<d.size&&(d.forEach(function(h){var b=h.alternate;b!==null&&s.has(b)||s.add(h)}),d.clear()),t&=~e}}function Xn(e){return e&=-e,Vn<e?ca<e?(e&134217727)!==0?Sa:Qr:ca:Vn}function ur(){var e=Nt.p;return e!==0?e:(e=window.event,e===void 0?Sa:Jp(e.type))}function _(e,t){var a=Nt.p;try{return Nt.p=e,t()}finally{Nt.p=a}}function F(e){delete e[on],delete e[Ya],delete e[$s],delete e[bw],delete e[p1]}function Te(e){var t=e[on];if(t)return t;for(var a=e.parentNode;a;){if(t=a[Jo]||a[on]){if(a=t.alternate,t.child!==null||a!==null&&a.child!==null)for(e=Ys(e);e!==null;){if(a=e[on])return a;e=Ys(e)}return t}e=a,a=e.parentNode}return null}function Ce(e){if(e=e[on]||e[Jo]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function Le(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function $e(e){var t=e[Md];return t||(t=e[Md]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function He(e){e[_c]=!0}function yt(e,t){it(e,t),it(e+"Capture",t)}function it(e,t){uo[e]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),uo[e]=t;var a=e.toLowerCase();for(Oc[a]=e,e==="onDoubleClick"&&(Oc.ondblclick=e),e=0;e<t.length;e++)m1.add(t[e])}function ma(e,t){g1[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||t.value==null||console.error(e==="select"?"You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set `onChange`.":"You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),t.onChange||t.readOnly||t.disabled||t.checked==null||console.error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function Ol(e){return El.call(rm,e)?!0:El.call(vy,e)?!1:jc.test(e)?rm[e]=!0:(vy[e]=!0,console.error("Invalid attribute name: `%s`",e),!1)}function cr(e,t,a){if(Ol(t)){if(!e.hasAttribute(t)){switch(typeof a){case"symbol":case"object":return a;case"function":return a;case"boolean":if(a===!1)return a}return a===void 0?void 0:null}return e=e.getAttribute(t),e===""&&a===!0?!0:(Dt(a,t),e===""+a?a:e)}}function Cu(e,t,a){if(Ol(t))if(a===null)e.removeAttribute(t);else{switch(typeof a){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var s=t.toLowerCase().slice(0,5);if(s!=="data-"&&s!=="aria-"){e.removeAttribute(t);return}}Dt(a,t),e.setAttribute(t,""+a)}}function mf(e,t,a){if(a===null)e.removeAttribute(t);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}Dt(a,t),e.setAttribute(t,""+a)}}function Oi(e,t,a,s){if(s===null)e.removeAttribute(a);else{switch(typeof s){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(a);return}Dt(s,a),e.setAttributeNS(t,a,""+s)}}function ol(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return ts(e),e;default:return""}}function xh(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function g0(e,t,a){var s=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof s<"u"&&typeof s.get=="function"&&typeof s.set=="function"){var d=s.get,h=s.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return d.call(this)},set:function(b){ts(b),a=""+b,h.call(this,b)}}),Object.defineProperty(e,t,{enumerable:s.enumerable}),{getValue:function(){return a},setValue:function(b){ts(b),a=""+b},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function wh(e){if(!e._valueTracker){var t=xh(e)?"checked":"value";e._valueTracker=g0(e,t,""+e[t])}}function y0(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var a=t.getValue(),s="";return e&&(s=xh(e)?e.checked?"true":"false":e.value),e=s,e!==a?(t.setValue(e),!0):!1}function Fl(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 Yt(e){return e.replace(sm,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function Ca(e,t){t.checked===void 0||t.defaultChecked===void 0||y1||(console.error("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components",Mt()||"A component",t.type),y1=!0),t.value===void 0||t.defaultValue===void 0||by||(console.error("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components",Mt()||"A component",t.type),by=!0)}function fr(e,t,a,s,d,h,b,w){e.name="",b!=null&&typeof b!="function"&&typeof b!="symbol"&&typeof b!="boolean"?(Dt(b,"type"),e.type=b):e.removeAttribute("type"),t!=null?b==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+ol(t)):e.value!==""+ol(t)&&(e.value=""+ol(t)):b!=="submit"&&b!=="reset"||e.removeAttribute("value"),t!=null?v0(e,b,ol(t)):a!=null?v0(e,b,ol(a)):s!=null&&e.removeAttribute("value"),d==null&&h!=null&&(e.defaultChecked=!!h),d!=null&&(e.checked=d&&typeof d!="function"&&typeof d!="symbol"),w!=null&&typeof w!="function"&&typeof w!="symbol"&&typeof w!="boolean"?(Dt(w,"name"),e.name=""+ol(w)):e.removeAttribute("name")}function Eh(e,t,a,s,d,h,b,w){if(h!=null&&typeof h!="function"&&typeof h!="symbol"&&typeof h!="boolean"&&(Dt(h,"type"),e.type=h),t!=null||a!=null){if(!(h!=="submit"&&h!=="reset"||t!=null)){wh(e);return}a=a!=null?""+ol(a):"",t=t!=null?""+ol(t):a,w||t===e.value||(e.value=t),e.defaultValue=t}s=s??d,s=typeof s!="function"&&typeof s!="symbol"&&!!s,e.checked=w?e.checked:!!s,e.defaultChecked=!!s,b!=null&&typeof b!="function"&&typeof b!="symbol"&&typeof b!="boolean"&&(Dt(b,"name"),e.name=b),wh(e)}function v0(e,t,a){t==="number"&&Fl(e.ownerDocument)===e||e.defaultValue===""+a||(e.defaultValue=""+a)}function Jv(e,t){t.value==null&&(typeof t.children=="object"&&t.children!==null?Ed.Children.forEach(t.children,function(a){a==null||typeof a=="string"||typeof a=="number"||typeof a=="bigint"||n||(n=!0,console.error("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>."))}):t.dangerouslySetInnerHTML==null||l||(l=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),t.selected==null||Dd||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),Dd=!0)}function b0(){var e=Mt();return e?`
|
|
47
|
+
|
|
48
|
+
Check the render method of \``+e+"`.":""}function ji(e,t,a,s){if(e=e.options,t){t={};for(var d=0;d<a.length;d++)t["$"+a[d]]=!0;for(a=0;a<e.length;a++)d=t.hasOwnProperty("$"+e[a].value),e[a].selected!==d&&(e[a].selected=d),d&&s&&(e[a].defaultSelected=!0)}else{for(a=""+ol(a),t=null,d=0;d<e.length;d++){if(e[d].value===a){e[d].selected=!0,s&&(e[d].defaultSelected=!0);return}t!==null||e[d].disabled||(t=e[d])}t!==null&&(t.selected=!0)}}function Th(e,t){for(e=0;e<c.length;e++){var a=c[e];if(t[a]!=null){var s=jn(t[a]);t.multiple&&!s?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",a,b0()):!t.multiple&&s&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",a,b0())}}t.value===void 0||t.defaultValue===void 0||r||(console.error("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://react.dev/link/controlled-components"),r=!0)}function ls(e,t){t.value===void 0||t.defaultValue===void 0||m||(console.error("%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://react.dev/link/controlled-components",Mt()||"A component"),m=!0),t.children!=null&&t.value==null&&console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.")}function is(e,t,a){if(t!=null&&(t=""+ol(t),t!==e.value&&(e.value=t),a==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=a!=null?""+ol(a):""}function zu(e,t,a,s){if(t==null){if(s!=null){if(a!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(jn(s)){if(1<s.length)throw Error("<textarea> can only have at most one child.");s=s[0]}a=s}a==null&&(a=""),t=a}a=ol(t),e.defaultValue=a,s=e.textContent,s===a&&s!==""&&s!==null&&(e.value=s),wh(e)}function os(e,t){return e.serverProps===void 0&&e.serverTail.length===0&&e.children.length===1&&3<e.distanceFromLeaf&&e.distanceFromLeaf>15-t?os(e.children[0],t):e}function Ut(e){return" "+" ".repeat(e)}function rs(e){return"+ "+" ".repeat(e)}function dr(e){return"- "+" ".repeat(e)}function hr(e){switch(e.tag){case 26:case 27:case 5:return e.type;case 16:return"Lazy";case 31:return"Activity";case 13:return"Suspense";case 19:return"SuspenseList";case 0:case 15:return e=e.type,e.displayName||e.name||null;case 11:return e=e.type.render,e.displayName||e.name||null;case 1:return e=e.type,e.displayName||e.name||null;default:return null}}function ki(e,t){return v.test(e)?(e=JSON.stringify(e),e.length>t-2?8>t?'{"..."}':"{"+e.slice(0,t-7)+'..."}':"{"+e+"}"):e.length>t?5>t?'{"..."}':e.slice(0,t-3)+"...":e}function Ah(e,t,a){var s=120-2*a;if(t===null)return rs(a)+ki(e,s)+`
|
|
49
|
+
`;if(typeof t=="string"){for(var d=0;d<t.length&&d<e.length&&t.charCodeAt(d)===e.charCodeAt(d);d++);return d>s-8&&10<d&&(e="..."+e.slice(d-8),t="..."+t.slice(d-8)),rs(a)+ki(e,s)+`
|
|
50
|
+
`+dr(a)+ki(t,s)+`
|
|
51
|
+
`}return Ut(a)+ki(e,s)+`
|
|
52
|
+
`}function Ch(e){return Object.prototype.toString.call(e).replace(/^\[object (.*)\]$/,function(t,a){return a})}function Ru(e,t){switch(typeof e){case"string":return e=JSON.stringify(e),e.length>t?5>t?'"..."':e.slice(0,t-4)+'..."':e;case"object":if(e===null)return"null";if(jn(e))return"[...]";if(e.$$typeof===Xl)return(t=re(e.type))?"<"+t+">":"<...>";var a=Ch(e);if(a==="Object"){a="",t-=2;for(var s in e)if(e.hasOwnProperty(s)){var d=JSON.stringify(s);if(d!=='"'+s+'"'&&(s=d),t-=s.length-2,d=Ru(e[s],15>t?t:15),t-=d.length,0>t){a+=a===""?"...":", ...";break}a+=(a===""?"":",")+s+":"+d}return"{"+a+"}"}return a;case"function":return(t=e.displayName||e.name)?"function "+t:"function";default:return String(e)}}function Mu(e,t){return typeof e!="string"||v.test(e)?"{"+Ru(e,t-2)+"}":e.length>t-2?5>t?'"..."':'"'+e.slice(0,t-5)+'..."':'"'+e+'"'}function Du(e,t,a){var s=120-a.length-e.length,d=[],h;for(h in t)if(t.hasOwnProperty(h)&&h!=="children"){var b=Mu(t[h],120-a.length-h.length-1);s-=h.length+b.length+2,d.push(h+"="+b)}return d.length===0?a+"<"+e+`>
|
|
53
|
+
`:0<s?a+"<"+e+" "+d.join(" ")+`>
|
|
54
|
+
`:a+"<"+e+`
|
|
55
|
+
`+a+" "+d.join(`
|
|
56
|
+
`+a+" ")+`
|
|
57
|
+
`+a+`>
|
|
58
|
+
`}function zh(e,t,a){var s="",d=dt({},t),h;for(h in e)if(e.hasOwnProperty(h)){delete d[h];var b=120-2*a-h.length-2,w=Ru(e[h],b);t.hasOwnProperty(h)?(b=Ru(t[h],b),s+=rs(a)+h+": "+w+`
|
|
59
|
+
`,s+=dr(a)+h+": "+b+`
|
|
60
|
+
`):s+=rs(a)+h+": "+w+`
|
|
61
|
+
`}for(var R in d)d.hasOwnProperty(R)&&(e=Ru(d[R],120-2*a-R.length-2),s+=dr(a)+R+": "+e+`
|
|
62
|
+
`);return s}function Co(e,t,a,s){var d="",h=new Map;for(D in a)a.hasOwnProperty(D)&&h.set(D.toLowerCase(),D);if(h.size===1&&h.has("children"))d+=Du(e,t,Ut(s));else{for(var b in t)if(t.hasOwnProperty(b)&&b!=="children"){var w=120-2*(s+1)-b.length-1,R=h.get(b.toLowerCase());if(R!==void 0){h.delete(b.toLowerCase());var D=t[b];R=a[R];var Z=Mu(D,w);w=Mu(R,w),typeof D=="object"&&D!==null&&typeof R=="object"&&R!==null&&Ch(D)==="Object"&&Ch(R)==="Object"&&(2<Object.keys(D).length||2<Object.keys(R).length||-1<Z.indexOf("...")||-1<w.indexOf("..."))?d+=Ut(s+1)+b+`={{
|
|
63
|
+
`+zh(D,R,s+2)+Ut(s+1)+`}}
|
|
64
|
+
`:(d+=rs(s+1)+b+"="+Z+`
|
|
65
|
+
`,d+=dr(s+1)+b+"="+w+`
|
|
66
|
+
`)}else d+=Ut(s+1)+b+"="+Mu(t[b],w)+`
|
|
67
|
+
`}h.forEach(function(J){if(J!=="children"){var B=120-2*(s+1)-J.length-1;d+=dr(s+1)+J+"="+Mu(a[J],B)+`
|
|
68
|
+
`}}),d=d===""?Ut(s)+"<"+e+`>
|
|
69
|
+
`:Ut(s)+"<"+e+`
|
|
70
|
+
`+d+Ut(s)+`>
|
|
71
|
+
`}return e=a.children,t=t.children,typeof e=="string"||typeof e=="number"||typeof e=="bigint"?(h="",(typeof t=="string"||typeof t=="number"||typeof t=="bigint")&&(h=""+t),d+=Ah(h,""+e,s+1)):(typeof t=="string"||typeof t=="number"||typeof t=="bigint")&&(d=e==null?d+Ah(""+t,null,s+1):d+Ah(""+t,void 0,s+1)),d}function rl(e,t){var a=hr(e);if(a===null){for(a="",e=e.child;e;)a+=rl(e,t),e=e.sibling;return a}return Ut(t)+"<"+a+`>
|
|
72
|
+
`}function Rh(e,t){var a=os(e,t);if(a!==e&&(e.children.length!==1||e.children[0]!==a))return Ut(t)+`...
|
|
73
|
+
`+Rh(a,t+1);a="";var s=e.fiber._debugInfo;if(s)for(var d=0;d<s.length;d++){var h=s[d].name;typeof h=="string"&&(a+=Ut(t)+"<"+h+`>
|
|
74
|
+
`,t++)}if(s="",d=e.fiber.pendingProps,e.fiber.tag===6)s=Ah(d,e.serverProps,t),t++;else if(h=hr(e.fiber),h!==null)if(e.serverProps===void 0){s=t;var b=120-2*s-h.length-2,w="";for(D in d)if(d.hasOwnProperty(D)&&D!=="children"){var R=Mu(d[D],15);if(b-=D.length+R.length+2,0>b){w+=" ...";break}w+=" "+D+"="+R}s=Ut(s)+"<"+h+w+`>
|
|
75
|
+
`,t++}else e.serverProps===null?(s=Du(h,d,rs(t)),t++):typeof e.serverProps=="string"?console.error("Should not have matched a non HostText fiber to a Text node. This is a bug in React."):(s=Co(h,d,e.serverProps,t),t++);var D="";for(d=e.fiber.child,h=0;d&&h<e.children.length;)b=e.children[h],b.fiber===d?(D+=Rh(b,t),h++):D+=rl(d,t),d=d.sibling;for(d&&0<e.children.length&&(D+=Ut(t)+`...
|
|
76
|
+
`),d=e.serverTail,e.serverProps===null&&t--,e=0;e<d.length;e++)h=d[e],D=typeof h=="string"?D+(dr(t)+ki(h,120-2*t)+`
|
|
77
|
+
`):D+Du(h.type,h.props,dr(t));return a+s+D}function S0(e){try{return`
|
|
78
|
+
|
|
79
|
+
`+Rh(e,0)}catch{return""}}function Mh(e,t,a){for(var s=t,d=null,h=0;s;)s===e&&(h=0),d={fiber:s,children:d!==null?[d]:[],serverProps:s===t?a:s===e?null:void 0,serverTail:[],distanceFromLeaf:h},h++,s=s.return;return d!==null?S0(d).replaceAll(/^[+-]/gm,">"):""}function x0(e,t){var a=dt({},e||me),s={tag:t};return O.indexOf(t)!==-1&&(a.aTagInScope=null,a.buttonTagInScope=null,a.nobrTagInScope=null),Y.indexOf(t)!==-1&&(a.pTagInButtonScope=null),A.indexOf(t)!==-1&&t!=="address"&&t!=="div"&&t!=="p"&&(a.listItemTagAutoclosing=null,a.dlItemTagAutoclosing=null),a.current=s,t==="form"&&(a.formTag=s),t==="a"&&(a.aTagInScope=s),t==="button"&&(a.buttonTagInScope=s),t==="nobr"&&(a.nobrTagInScope=s),t==="p"&&(a.pTagInButtonScope=s),t==="li"&&(a.listItemTagAutoclosing=s),(t==="dd"||t==="dt")&&(a.dlItemTagAutoclosing=s),t==="#document"||t==="html"?a.containerTagInScope=null:a.containerTagInScope||(a.containerTagInScope=s),e!==null||t!=="#document"&&t!=="html"&&t!=="body"?a.implicitRootScope===!0&&(a.implicitRootScope=!1):a.implicitRootScope=!0,a}function gf(e,t,a){switch(t){case"select":return e==="hr"||e==="option"||e==="optgroup"||e==="script"||e==="template"||e==="#text";case"optgroup":return e==="option"||e==="#text";case"option":return e==="#text";case"tr":return e==="th"||e==="td"||e==="style"||e==="script"||e==="template";case"tbody":case"thead":case"tfoot":return e==="tr"||e==="style"||e==="script"||e==="template";case"colgroup":return e==="col"||e==="template";case"table":return e==="caption"||e==="colgroup"||e==="tbody"||e==="tfoot"||e==="thead"||e==="style"||e==="script"||e==="template";case"head":return e==="base"||e==="basefont"||e==="bgsound"||e==="link"||e==="meta"||e==="title"||e==="noscript"||e==="noframes"||e==="style"||e==="script"||e==="template";case"html":if(a)break;return e==="head"||e==="body"||e==="frameset";case"frameset":return e==="frame";case"#document":if(!a)return e==="html"}switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t!=="h1"&&t!=="h2"&&t!=="h3"&&t!=="h4"&&t!=="h5"&&t!=="h6";case"rp":case"rt":return ae.indexOf(t)===-1;case"caption":case"col":case"colgroup":case"frameset":case"frame":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return t==null;case"head":return a||t===null;case"html":return a&&t==="#document"||t===null;case"body":return a&&(t==="#document"||t==="html")||t===null}return!0}function iw(e,t){switch(e){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t.pTagInButtonScope;case"form":return t.formTag||t.pTagInButtonScope;case"li":return t.listItemTagAutoclosing;case"dd":case"dt":return t.dlItemTagAutoclosing;case"button":return t.buttonTagInScope;case"a":return t.aTagInScope;case"nobr":return t.nobrTagInScope}return null}function sl(e,t){for(;e;){switch(e.tag){case 5:case 26:case 27:if(e.type===t)return e}e=e.return}return null}function yf(e,t){t=t||me;var a=t.current;if(t=(a=gf(e,a&&a.tag,t.implicitRootScope)?null:a)?null:iw(e,t),t=a||t,!t)return!0;var s=t.tag;if(t=String(!!a)+"|"+e+"|"+s,be[t])return!1;be[t]=!0;var d=(t=Wa)?sl(t.return,s):null,h=t!==null&&d!==null?Mh(d,t,null):"",b="<"+e+">";return a?(a="",s==="table"&&e==="tr"&&(a+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),console.error(`In HTML, %s cannot be a child of <%s>.%s
|
|
80
|
+
This will cause a hydration error.%s`,b,s,a,h)):console.error(`In HTML, %s cannot be a descendant of <%s>.
|
|
81
|
+
This will cause a hydration error.%s`,b,s,h),t&&(e=t.return,d===null||e===null||d===e&&e._debugOwner===t._debugOwner||_e(d,function(){console.error(`<%s> cannot contain a nested %s.
|
|
82
|
+
See this log for the ancestor stack trace.`,s,b)})),!1}function vf(e,t,a){if(a||gf("#text",t,!1))return!0;if(a="#text|"+t,be[a])return!1;be[a]=!0;var s=(a=Wa)?sl(a,t):null;return a=a!==null&&s!==null?Mh(s,a,a.tag!==6?{children:null}:null):"",/\S/.test(e)?console.error(`In HTML, text nodes cannot be a child of <%s>.
|
|
83
|
+
This will cause a hydration error.%s`,t,a):console.error(`In HTML, whitespace text nodes cannot be a child of <%s>. Make sure you don't have any extra whitespace between tags on each line of your source code.
|
|
84
|
+
This will cause a hydration error.%s`,t,a),!1}function ss(e,t){if(t){var a=e.firstChild;if(a&&a===e.lastChild&&a.nodeType===3){a.nodeValue=t;return}}e.textContent=t}function _u(e){return e.replace(P,function(t,a){return a.toUpperCase()})}function w0(e,t,a){var s=t.indexOf("--")===0;s||(-1<t.indexOf("-")?ne.hasOwnProperty(t)&&ne[t]||(ne[t]=!0,console.error("Unsupported style property %s. Did you mean %s?",t,_u(t.replace(Qt,"ms-")))):Je.test(t)?ne.hasOwnProperty(t)&&ne[t]||(ne[t]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",t,t.charAt(0).toUpperCase()+t.slice(1))):!K.test(a)||ve.hasOwnProperty(a)&&ve[a]||(ve[a]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,t,a.replace(K,""))),typeof a=="number"&&(isNaN(a)?Ge||(Ge=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",t)):isFinite(a)||zt||(zt=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",t)))),a==null||typeof a=="boolean"||a===""?s?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":s?e.setProperty(t,a):typeof a!="number"||a===0||Ve.has(t)?t==="float"?e.cssFloat=a:(pa(a,t),e[t]=(""+a).trim()):e[t]=a+"px"}function E0(e,t,a){if(t!=null&&typeof t!="object")throw Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");if(t&&Object.freeze(t),e=e.style,a!=null){if(t){var s={};if(a){for(var d in a)if(a.hasOwnProperty(d)&&!t.hasOwnProperty(d))for(var h=ie[d]||[d],b=0;b<h.length;b++)s[h[b]]=d}for(var w in t)if(t.hasOwnProperty(w)&&(!a||a[w]!==t[w]))for(d=ie[w]||[w],h=0;h<d.length;h++)s[d[h]]=w;w={};for(var R in t)for(d=ie[R]||[R],h=0;h<d.length;h++)w[d[h]]=R;R={};for(var D in s)if(d=s[D],(h=w[D])&&d!==h&&(b=d+","+h,!R[b])){R[b]=!0,b=console;var Z=t[d];b.error.call(b,"%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.",Z==null||typeof Z=="boolean"||Z===""?"Removing":"Updating",d,h)}}for(var J in a)!a.hasOwnProperty(J)||t!=null&&t.hasOwnProperty(J)||(J.indexOf("--")===0?e.setProperty(J,""):J==="float"?e.cssFloat="":e[J]="");for(var B in t)D=t[B],t.hasOwnProperty(B)&&a[B]!==D&&w0(e,B,D)}else for(s in t)t.hasOwnProperty(s)&&w0(e,s,t[s])}function Ni(e){if(e.indexOf("-")===-1)return!1;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}}function $v(e){return Ot.get(e)||e}function Iv(e,t){if(El.call(um,t)&&um[t])return!0;if(_j.test(t)){if(e="aria-"+t.slice(4).toLowerCase(),e=v1.hasOwnProperty(e)?e:null,e==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),um[t]=!0;if(t!==e)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,e),um[t]=!0}if(Dj.test(t)){if(e=t.toLowerCase(),e=v1.hasOwnProperty(e)?e:null,e==null)return um[t]=!0,!1;t!==e&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,e),um[t]=!0)}return!0}function Fv(e,t){var a=[],s;for(s in t)Iv(e,s)||a.push(s);t=a.map(function(d){return"`"+d+"`"}).join(", "),a.length===1?console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e):1<a.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e)}function T0(e,t,a,s){if(El.call(Tl,t)&&Tl[t])return!0;var d=t.toLowerCase();if(d==="onfocusin"||d==="onfocusout")return console.error("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),Tl[t]=!0;if(typeof a=="function"&&(e==="form"&&t==="action"||e==="input"&&t==="formAction"||e==="button"&&t==="formAction"))return!0;if(s!=null){if(e=s.possibleRegistrationNames,s.registrationNameDependencies.hasOwnProperty(t))return!0;if(s=e.hasOwnProperty(d)?e[d]:null,s!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",t,s),Tl[t]=!0;if(vz.test(t))return console.error("Unknown event handler property `%s`. It will be ignored.",t),Tl[t]=!0}else if(vz.test(t))return Oj.test(t)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),Tl[t]=!0;if(jj.test(t)||kj.test(t))return!0;if(d==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Tl[t]=!0;if(d==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Tl[t]=!0;if(d==="is"&&a!==null&&a!==void 0&&typeof a!="string")return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof a),Tl[t]=!0;if(typeof a=="number"&&isNaN(a))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),Tl[t]=!0;if(Si.hasOwnProperty(d)){if(d=Si[d],d!==t)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",t,d),Tl[t]=!0}else if(t!==d)return console.error("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",t,d),Tl[t]=!0;switch(t){case"dangerouslySetInnerHTML":case"children":case"style":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":return!0;case"innerText":case"textContent":return!0}switch(typeof a){case"boolean":switch(t){case"autoFocus":case"checked":case"multiple":case"muted":case"selected":case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"capture":case"download":case"inert":return!0;default:return d=t.toLowerCase().slice(0,5),d==="data-"||d==="aria-"?!0:(a?console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',a,t,t,a,t):console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',a,t,t,a,t,t,t),Tl[t]=!0)}case"function":case"symbol":return Tl[t]=!0,!1;case"string":if(a==="false"||a==="true"){switch(t){case"checked":case"selected":case"multiple":case"muted":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"inert":break;default:return!0}console.error("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",a,t,a==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',t,a),Tl[t]=!0}}return!0}function ow(e,t,a){var s=[],d;for(d in t)T0(e,d,t[d],a)||s.push(d);t=s.map(function(h){return"`"+h+"`"}).join(", "),s.length===1?console.error("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://react.dev/link/attribute-behavior ",t,e):1<s.length&&console.error("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://react.dev/link/attribute-behavior ",t,e)}function bf(e){return Nj.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function jl(){}function Pl(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}function Dh(e){var t=Ce(e);if(t&&(e=t.stateNode)){var a=e[Ya]||null;e:switch(e=t.stateNode,t.type){case"input":if(fr(e,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name),t=a.name,a.type==="radio"&&t!=null){for(a=e;a.parentNode;)a=a.parentNode;for(Dt(t,"name"),a=a.querySelectorAll('input[name="'+Yt(""+t)+'"][type="radio"]'),t=0;t<a.length;t++){var s=a[t];if(s!==e&&s.form===e.form){var d=s[Ya]||null;if(!d)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");fr(s,d.value,d.defaultValue,d.defaultValue,d.checked,d.defaultChecked,d.type,d.name)}}for(t=0;t<a.length;t++)s=a[t],s.form===e.form&&y0(s)}break e;case"textarea":is(e,a.value,a.defaultValue);break e;case"select":t=a.value,t!=null&&ji(e,!!a.multiple,t,!1)}}}function _h(e,t,a){if(Sw)return e(t,a);Sw=!0;try{var s=e(t);return s}finally{if(Sw=!1,(cm!==null||fm!==null)&&(Sl(),cm&&(t=cm,e=fm,fm=cm=null,Dh(t),e)))for(t=0;t<e.length;t++)Dh(e[t])}}function Ui(e,t){var a=e.stateNode;if(a===null)return null;var s=a[Ya]||null;if(s===null)return null;a=s[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(s=!s.disabled)||(e=e.type,s=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!s;break e;default:e=!1}if(e)return null;if(a&&typeof a!="function")throw Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof a+"` type.");return a}function us(){if(b1)return b1;var e,t=ww,a=t.length,s,d="value"in kc?kc.value:kc.textContent,h=d.length;for(e=0;e<a&&t[e]===d[e];e++);var b=a-e;for(s=1;s<=b&&t[a-s]===d[h-s];s++);return b1=d.slice(e,1<s?1-s:void 0)}function Sf(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 Ou(){return!0}function A0(){return!1}function Qn(e){function t(a,s,d,h,b){this._reactName=a,this._targetInst=d,this.type=s,this.nativeEvent=h,this.target=b,this.currentTarget=null;for(var w in e)e.hasOwnProperty(w)&&(a=e[w],this[w]=a?a(h):h[w]);return this.isDefaultPrevented=(h.defaultPrevented!=null?h.defaultPrevented:h.returnValue===!1)?Ou:A0,this.isPropagationStopped=A0,this}return dt(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():typeof a.returnValue!="unknown"&&(a.returnValue=!1),this.isDefaultPrevented=Ou)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=Ou)},persist:function(){},isPersistent:Ou}),t}function zo(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Jj[e])?!!t[e]:!1}function xf(){return zo}function ju(e,t){switch(e){case"keyup":return ok.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==wz;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ro(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}function C0(e,t){switch(e){case"compositionend":return Ro(t);case"keypress":return t.which!==Tz?null:(Cz=!0,Az);case"textInput":return e=t.data,e===Az&&Cz?null:e;default:return null}}function Oh(e,t){if(dm)return e==="compositionend"||!Cw&&ju(e,t)?(e=us(),b1=ww=kc=null,dm=!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 Ez&&t.locale!=="ko"?null:t.data;default:return null}}function z0(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!sk[e.type]:t==="textarea"}function jh(e){if(!Zr)return!1;e="on"+e;var t=e in document;return t||(t=document.createElement("div"),t.setAttribute(e,"return;"),t=typeof t[e]=="function"),t}function wf(e,t,a,s){cm?fm?fm.push(s):fm=[s]:cm=s,t=mi(t,"onChange"),0<t.length&&(a=new S1("onChange","change",null,a,s),e.push({event:a,listeners:t}))}function Pv(e){Ht(e,0)}function ra(e){var t=Le(e);if(y0(t))return e}function pr(e,t){if(e==="change")return t}function Ef(){Ay&&(Ay.detachEvent("onpropertychange",ku),Cy=Ay=null)}function ku(e){if(e.propertyName==="value"&&ra(Cy)){var t=[];wf(t,Cy,e,Pl(e)),_h(Pv,t)}}function rw(e,t,a){e==="focusin"?(Ef(),Ay=t,Cy=a,Ay.attachEvent("onpropertychange",ku)):e==="focusout"&&Ef()}function R0(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return ra(Cy)}function M0(e,t){if(e==="click")return ra(t)}function Tf(e,t){if(e==="input"||e==="change")return ra(t)}function kh(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}function Nu(e,t){if(Al(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var a=Object.keys(e),s=Object.keys(t);if(a.length!==s.length)return!1;for(s=0;s<a.length;s++){var d=a[s];if(!El.call(t,d)||!Al(e[d],t[d]))return!1}return!0}function Wv(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function eb(e,t){var a=Wv(e);e=0;for(var s;a;){if(a.nodeType===3){if(s=e+a.textContent.length,e<=t&&s>=t)return{node:a,offset:t-e};e=s}e:{for(;a;){if(a.nextSibling){a=a.nextSibling;break e}a=a.parentNode}a=void 0}a=Wv(a)}}function tb(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?tb(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Nh(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Fl(e.document);t instanceof e.HTMLIFrameElement;){try{var a=typeof t.contentWindow.location.href=="string"}catch{a=!1}if(a)e=t.contentWindow;else break;t=Fl(e.document)}return t}function D0(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 nb(e,t,a){var s=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;Rw||hm==null||hm!==Fl(s)||(s=hm,"selectionStart"in s&&D0(s)?s={start:s.selectionStart,end:s.selectionEnd}:(s=(s.ownerDocument&&s.ownerDocument.defaultView||window).getSelection(),s={anchorNode:s.anchorNode,anchorOffset:s.anchorOffset,focusNode:s.focusNode,focusOffset:s.focusOffset}),zy&&Nu(zy,s)||(zy=s,s=mi(zw,"onSelect"),0<s.length&&(t=new S1("onSelect","select",null,t,a),e.push({event:t,listeners:s}),t.target=hm)))}function cs(e,t){var a={};return a[e.toLowerCase()]=t.toLowerCase(),a["Webkit"+e]="webkit"+t,a["Moz"+e]="moz"+t,a}function fs(e){if(Mw[e])return Mw[e];if(!pm[e])return e;var t=pm[e],a;for(a in t)if(t.hasOwnProperty(a)&&a in Rz)return Mw[e]=t[a];return e}function Wl(e,t){jz.set(e,t),yt(t,[e])}function ab(e){for(var t=w1,a=0;a<e.length;a++){var s=e[a];if(typeof s=="object"&&s!==null)if(jn(s)&&s.length===2&&typeof s[0]=="string"){if(t!==w1&&t!==kw)return Ow;t=kw}else return Ow;else{if(typeof s=="function"||typeof s=="string"&&50<s.length||t!==w1&&t!==jw)return Ow;t=jw}}return t}function _0(e,t,a,s){for(var d in e)El.call(e,d)&&d[0]!=="_"&&Li(d,e[d],t,a,s)}function Li(e,t,a,s,d){switch(typeof t){case"object":if(t===null){t="null";break}else{if(t.$$typeof===Xl){var h=re(t.type)||"…",b=t.key;t=t.props;var w=Object.keys(t),R=w.length;if(b==null&&R===0){t="<"+h+" />";break}if(3>s||R===1&&w[0]==="children"&&b==null){t="<"+h+" … />";break}a.push([d+" ".repeat(s)+e,"<"+h]),b!==null&&Li("key",b,a,s+1,d),e=!1;for(var D in t)D==="children"?t.children!=null&&(!jn(t.children)||0<t.children.length)&&(e=!0):El.call(t,D)&&D[0]!=="_"&&Li(D,t[D],a,s+1,d);a.push(["",e?">…</"+h+">":"/>"]);return}if(h=Object.prototype.toString.call(t),h=h.slice(8,h.length-1),h==="Array"){if(D=ab(t),D===jw||D===w1){t=JSON.stringify(t);break}else if(D===kw){for(a.push([d+" ".repeat(s)+e,""]),e=0;e<t.length;e++)h=t[e],Li(h[0],h[1],a,s+1,d);return}}if(h==="Promise"){if(t.status==="fulfilled"){if(h=a.length,Li(e,t.value,a,s,d),a.length>h){a=a[h],a[1]="Promise<"+(a[1]||"Object")+">";return}}else if(t.status==="rejected"&&(h=a.length,Li(e,t.reason,a,s,d),a.length>h)){a=a[h],a[1]="Rejected Promise<"+a[1]+">";return}a.push([" ".repeat(s)+e,"Promise"]);return}h==="Object"&&(D=Object.getPrototypeOf(t))&&typeof D.constructor=="function"&&(h=D.constructor.name),a.push([d+" ".repeat(s)+e,h==="Object"?3>s?"":"…":h]),3>s&&_0(t,a,s+1,d);return}case"function":t=t.name===""?"() => {}":t.name+"() {}";break;case"string":t=t===mk?"…":JSON.stringify(t);break;case"undefined":t="undefined";break;case"boolean":t=t?"true":"false";break;default:t=String(t)}a.push([d+" ".repeat(s)+e,t])}function lb(e,t,a,s){var d=!0;for(b in e)b in t||(a.push([E1+" ".repeat(s)+b,"…"]),d=!1);for(var h in t)if(h in e){var b=e[h],w=t[h];if(b!==w){if(s===0&&h==="children")d=" ".repeat(s)+h,a.push([E1+d,"…"],[T1+d,"…"]);else{if(!(3<=s)){if(typeof b=="object"&&typeof w=="object"&&b!==null&&w!==null&&b.$$typeof===w.$$typeof)if(w.$$typeof===Xl){if(b.type===w.type&&b.key===w.key){b=re(w.type)||"…",d=" ".repeat(s)+h,b="<"+b+" … />",a.push([E1+d,b],[T1+d,b]),d=!1;continue}}else{var R=Object.prototype.toString.call(b),D=Object.prototype.toString.call(w);if(R===D&&(D==="[object Object]"||D==="[object Array]")){R=[Uz+" ".repeat(s)+h,D==="[object Array]"?"Array":""],a.push(R),D=a.length,lb(b,w,a,s+1)?D===a.length&&(R[1]="Referentially unequal but deeply equal objects. Consider memoization."):d=!1;continue}}else if(typeof b=="function"&&typeof w=="function"&&b.name===w.name&&b.length===w.length&&(R=Function.prototype.toString.call(b),D=Function.prototype.toString.call(w),R===D)){b=w.name===""?"() => {}":w.name+"() {}",a.push([Uz+" ".repeat(s)+h,b+" Referentially unequal function closure. Consider memoization."]);continue}}Li(h,b,a,s,E1),Li(h,w,a,s,T1)}d=!1}}else a.push([T1+" ".repeat(s)+h,"…"]),d=!1;return d}function ei(e){Ct=e&63?"Blocking":e&64?"Gesture":e&4194176?"Transition":e&62914560?"Suspense":e&2080374784?"Idle":"Other"}function kl(e,t,a,s){rn&&(Uc.start=t,Uc.end=a,Is.color="warning",Is.tooltipText=s,Is.properties=null,(e=e._debugTask)?e.run(performance.measure.bind(performance,s,Uc)):performance.measure(s,Uc))}function Uh(e,t,a){kl(e,t,a,"Reconnect")}function Lh(e,t,a,s,d){var h=ye(e);if(h!==null&&rn){var b=e.alternate,w=e.actualDuration;if(b===null||b.child!==e.child)for(var R=e.child;R!==null;R=R.sibling)w-=R.actualDuration;s=.5>w?s?"tertiary-light":"primary-light":10>w?s?"tertiary":"primary":100>w?s?"tertiary-dark":"primary-dark":"error";var D=e.memoizedProps;w=e._debugTask,D!==null&&b!==null&&b.memoizedProps!==D?(R=[gk],D=lb(b.memoizedProps,D,R,0),1<R.length&&(D&&!Nc&&(b.lanes&d)===0&&100<e.actualDuration?(Nc=!0,R[0]=yk,Is.color="warning",Is.tooltipText=Lz):(Is.color=s,Is.tooltipText=h),Is.properties=R,Uc.start=t,Uc.end=a,w!=null?w.run(performance.measure.bind(performance,""+h,Uc)):performance.measure(""+h,Uc))):w!=null?w.run(console.timeStamp.bind(console,h,t,a,co,void 0,s)):console.timeStamp(h,t,a,co,void 0,s)}}function O0(e,t,a,s){if(rn){var d=ye(e);if(d!==null){for(var h=null,b=[],w=0;w<s.length;w++){var R=s[w];h==null&&R.source!==null&&(h=R.source._debugTask),R=R.value,b.push(["Error",typeof R=="object"&&R!==null&&typeof R.message=="string"?String(R.message):String(R)])}e.key!==null&&Li("key",e.key,b,0,""),e.memoizedProps!==null&&_0(e.memoizedProps,b,0,""),h==null&&(h=e._debugTask),e={start:t,end:a,detail:{devtools:{color:"error",track:co,tooltipText:e.tag===13?"Hydration failed":"Error boundary caught an error",properties:b}}},h?h.run(performance.measure.bind(performance,""+d,e)):performance.measure(""+d,e)}}}function ti(e,t,a,s,d){if(d!==null){if(rn){var h=ye(e);if(h!==null){s=[];for(var b=0;b<d.length;b++){var w=d[b].value;s.push(["Error",typeof w=="object"&&w!==null&&typeof w.message=="string"?String(w.message):String(w)])}e.key!==null&&Li("key",e.key,s,0,""),e.memoizedProps!==null&&_0(e.memoizedProps,s,0,""),t={start:t,end:a,detail:{devtools:{color:"error",track:co,tooltipText:"A lifecycle or effect errored",properties:s}}},(e=e._debugTask)?e.run(performance.measure.bind(performance,""+h,t)):performance.measure(""+h,t)}}}else h=ye(e),h!==null&&rn&&(d=1>s?"secondary-light":100>s?"secondary":500>s?"secondary-dark":"error",(e=e._debugTask)?e.run(console.timeStamp.bind(console,h,t,a,co,void 0,d)):console.timeStamp(h,t,a,co,void 0,d))}function sw(e,t,a,s){if(rn&&!(t<=e)){var d=(a&738197653)===a?"tertiary-dark":"primary-dark";a=(a&536870912)===a?"Prepared":(a&201326741)===a?"Hydrated":"Render",s?s.run(console.timeStamp.bind(console,a,e,t,Ct,Tt,d)):console.timeStamp(a,e,t,Ct,Tt,d)}}function ib(e,t,a,s){!rn||t<=e||(a=(a&738197653)===a?"tertiary-dark":"primary-dark",s?s.run(console.timeStamp.bind(console,"Prewarm",e,t,Ct,Tt,a)):console.timeStamp("Prewarm",e,t,Ct,Tt,a))}function ob(e,t,a,s){!rn||t<=e||(a=(a&738197653)===a?"tertiary-dark":"primary-dark",s?s.run(console.timeStamp.bind(console,"Suspended",e,t,Ct,Tt,a)):console.timeStamp("Suspended",e,t,Ct,Tt,a))}function uw(e,t,a,s,d,h){if(rn&&!(t<=e)){a=[];for(var b=0;b<s.length;b++){var w=s[b].value;a.push(["Recoverable Error",typeof w=="object"&&w!==null&&typeof w.message=="string"?String(w.message):String(w)])}e={start:e,end:t,detail:{devtools:{color:"primary-dark",track:Ct,trackGroup:Tt,tooltipText:d?"Hydration Failed":"Recovered after Error",properties:a}}},h?h.run(performance.measure.bind(performance,"Recovered",e)):performance.measure("Recovered",e)}}function j0(e,t,a,s){!rn||t<=e||(s?s.run(console.timeStamp.bind(console,"Errored",e,t,Ct,Tt,"error")):console.timeStamp("Errored",e,t,Ct,Tt,"error"))}function cw(e,t,a,s){!rn||t<=e||(s?s.run(console.timeStamp.bind(console,a,e,t,Ct,Tt,"secondary-light")):console.timeStamp(a,e,t,Ct,Tt,"secondary-light"))}function rb(e,t,a,s,d){if(rn&&!(t<=e)){for(var h=[],b=0;b<a.length;b++){var w=a[b].value;h.push(["Error",typeof w=="object"&&w!==null&&typeof w.message=="string"?String(w.message):String(w)])}e={start:e,end:t,detail:{devtools:{color:"error",track:Ct,trackGroup:Tt,tooltipText:s?"Remaining Effects Errored":"Commit Errored",properties:h}}},d?d.run(performance.measure.bind(performance,"Errored",e)):performance.measure("Errored",e)}}function k0(e,t,a){!rn||t<=e||console.timeStamp("Animating",e,t,Ct,Tt,"secondary-dark")}function Bh(){for(var e=mm,t=Nw=mm=0;t<e;){var a=fo[t];fo[t++]=null;var s=fo[t];fo[t++]=null;var d=fo[t];fo[t++]=null;var h=fo[t];if(fo[t++]=null,s!==null&&d!==null){var b=s.pending;b===null?d.next=d:(d.next=b.next,b.next=d),s.pending=d}h!==0&&N0(a,d,h)}}function Uu(e,t,a,s){fo[mm++]=e,fo[mm++]=t,fo[mm++]=a,fo[mm++]=s,Nw|=s,e.lanes|=s,e=e.alternate,e!==null&&(e.lanes|=s)}function ds(e,t,a,s){return Uu(e,t,a,s),Af(e)}function ga(e,t){return Uu(e,null,null,t),Af(e)}function N0(e,t,a){e.lanes|=a;var s=e.alternate;s!==null&&(s.lanes|=a);for(var d=!1,h=e.return;h!==null;)h.childLanes|=a,s=h.alternate,s!==null&&(s.childLanes|=a),h.tag===22&&(e=h.stateNode,e===null||e._visibility&Ry||(d=!0)),e=h,h=h.return;return e.tag===3?(h=e.stateNode,d&&t!==null&&(d=31-ua(a),e=h.hiddenUpdates,s=e[d],s===null?e[d]=[t]:s.push(t),t.lane=a|536870912),h):null}function Af(e){if(tv>jk)throw Kd=tv=0,nv=p2=null,Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");Kd>kk&&(Kd=0,nv=null,console.error("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render.")),e.alternate===null&&(e.flags&4098)!==0&&Gl(e);for(var t=e,a=t.return;a!==null;)t.alternate===null&&(t.flags&4098)!==0&&Gl(e),t=a,a=t.return;return t.tag===3?t.stateNode:null}function mr(e){if(ho===null)return e;var t=ho(e);return t===void 0?e:t.current}function Hh(e){if(ho===null)return e;var t=ho(e);return t===void 0?e!=null&&typeof e.render=="function"&&(t=mr(e.render),e.render!==t)?(t={$$typeof:Ec,render:t},e.displayName!==void 0&&(t.displayName=e.displayName),t):e:t.current}function U0(e,t){if(ho===null)return!1;var a=e.elementType;t=t.type;var s=!1,d=typeof t=="object"&&t!==null?t.$$typeof:null;switch(e.tag){case 1:typeof t=="function"&&(s=!0);break;case 0:(typeof t=="function"||d===ba)&&(s=!0);break;case 11:(d===Ec||d===ba)&&(s=!0);break;case 14:case 15:(d===Ad||d===ba)&&(s=!0);break;default:return!1}return!!(s&&(e=ho(a),e!==void 0&&e===ho(t)))}function hs(e){ho!==null&&typeof WeakSet=="function"&&(gm===null&&(gm=new WeakSet),gm.add(e))}function sb(e,t,a){do{var s=e,d=s.alternate,h=s.child,b=s.sibling,w=s.tag;s=s.type;var R=null;switch(w){case 0:case 15:case 1:R=s;break;case 11:R=s.render}if(ho===null)throw Error("Expected resolveFamily to be set during hot reload.");var D=!1;if(s=!1,R!==null&&(R=ho(R),R!==void 0&&(a.has(R)?s=!0:t.has(R)&&(w===1?s=!0:D=!0))),gm!==null&&(gm.has(e)||d!==null&&gm.has(d))&&(s=!0),s&&(e._debugNeedsRemount=!0),(s||D)&&(d=ga(e,2),d!==null&&We(d,e,2)),h===null||s||sb(h,t,a),b===null)break;e=b}while(!0)}function fw(e,t,a,s){this.tag=e,this.key=a,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=s,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null,this.actualDuration=-0,this.actualStartTime=-1.1,this.treeBaseDuration=this.selfBaseDuration=-0,this._debugTask=this._debugStack=this._debugOwner=this._debugInfo=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,Bz||typeof Object.preventExtensions!="function"||Object.preventExtensions(this)}function L0(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Bi(e,t){var a=e.alternate;switch(a===null?(a=z(e.tag,t,e.key,e.mode),a.elementType=e.elementType,a.type=e.type,a.stateNode=e.stateNode,a._debugOwner=e._debugOwner,a._debugStack=e._debugStack,a._debugTask=e._debugTask,a._debugHookTypes=e._debugHookTypes,a.alternate=e,e.alternate=a):(a.pendingProps=t,a.type=e.type,a.flags=0,a.subtreeFlags=0,a.deletions=null,a.actualDuration=-0,a.actualStartTime=-1.1),a.flags=e.flags&65011712,a.childLanes=e.childLanes,a.lanes=e.lanes,a.child=e.child,a.memoizedProps=e.memoizedProps,a.memoizedState=e.memoizedState,a.updateQueue=e.updateQueue,t=e.dependencies,a.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},a.sibling=e.sibling,a.index=e.index,a.ref=e.ref,a.refCleanup=e.refCleanup,a.selfBaseDuration=e.selfBaseDuration,a.treeBaseDuration=e.treeBaseDuration,a._debugInfo=e._debugInfo,a._debugNeedsRemount=e._debugNeedsRemount,a.tag){case 0:case 15:a.type=mr(e.type);break;case 1:a.type=mr(e.type);break;case 11:a.type=Hh(e.type)}return a}function B0(e,t){e.flags&=65011714;var a=e.alternate;return a===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0):(e.childLanes=a.childLanes,e.lanes=a.lanes,e.child=a.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=a.memoizedProps,e.memoizedState=a.memoizedState,e.updateQueue=a.updateQueue,e.type=a.type,t=a.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},e.selfBaseDuration=a.selfBaseDuration,e.treeBaseDuration=a.treeBaseDuration),e}function ps(e,t,a,s,d,h){var b=0,w=e;if(typeof e=="function")L0(e)&&(b=1),w=mr(w);else if(typeof e=="string")b=I(),b=a1(e,a,b)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case bi:return t=z(31,a,t,d),t.elementType=bi,t.lanes=h,t;case wc:return ms(a.children,d,h,t);case Va:b=8,d|=el,d|=$o;break;case Td:return e=a,s=d,typeof e.id!="string"&&console.error('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id),t=z(12,e,t,s|ht),t.elementType=Td,t.lanes=h,t.stateNode={effectDuration:0,passiveEffectDuration:0},t;case Qs:return t=z(13,a,t,d),t.elementType=Qs,t.lanes=h,t;case Pa:return t=z(19,a,t,d),t.elementType=Pa,t.lanes=h,t;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case vi:b=10;break e;case Fp:b=9;break e;case Ec:b=11,w=Hh(w);break e;case Ad:b=14;break e;case ba:b=16,w=null;break e}w="",(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(w+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),e===null?a="null":jn(e)?a="array":e!==void 0&&e.$$typeof===Xl?(a="<"+(re(e.type)||"Unknown")+" />",w=" Did you accidentally export a JSX literal instead of a component?"):a=typeof e,(b=s?we(s):null)&&(w+=`
|
|
85
|
+
|
|
86
|
+
Check the render method of \``+b+"`."),b=29,a=Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(a+"."+w)),w=null}return t=z(b,a,t,d),t.elementType=e,t.type=w,t.lanes=h,t._debugOwner=s,t}function gr(e,t,a){return t=ps(e.type,e.key,e.props,e._owner,t,a),t._debugOwner=e._owner,t._debugStack=e._debugStack,t._debugTask=e._debugTask,t}function ms(e,t,a,s){return e=z(7,e,s,t),e.lanes=a,e}function Lu(e,t,a){return e=z(6,e,null,t),e.lanes=a,e}function H0(e){var t=z(18,null,null,Pe);return t.stateNode=e,t}function Vh(e,t,a){return t=z(4,e.children!==null?e.children:[],e.key,t),t.lanes=a,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function za(e,t){if(typeof e=="object"&&e!==null){var a=Uw.get(e);return a!==void 0?a:(t={value:e,source:t,stack:Qe(t)},Uw.set(e,t),t)}return{value:e,source:t,stack:Qe(t)}}function ni(e,t){yr(),ym[vm++]=My,ym[vm++]=A1,A1=e,My=t}function V0(e,t,a){yr(),po[mo++]=Ps,po[mo++]=Ws,po[mo++]=Od,Od=e;var s=Ps;e=Ws;var d=32-ua(s)-1;s&=~(1<<d),a+=1;var h=32-ua(t)+d;if(30<h){var b=d-d%5;h=(s&(1<<b)-1).toString(32),s>>=b,d-=b,Ps=1<<32-ua(t)+d|a<<d|s,Ws=h+e}else Ps=1<<h|a<<d|s,Ws=e}function Yh(e){yr(),e.return!==null&&(ni(e,1),V0(e,1,0))}function qh(e){for(;e===A1;)A1=ym[--vm],ym[vm]=null,My=ym[--vm],ym[vm]=null;for(;e===Od;)Od=po[--mo],po[mo]=null,Ws=po[--mo],po[mo]=null,Ps=po[--mo],po[mo]=null}function ub(){return yr(),Od!==null?{id:Ps,overflow:Ws}:null}function cb(e,t){yr(),po[mo++]=Ps,po[mo++]=Ws,po[mo++]=Od,Ps=t.id,Ws=t.overflow,Od=e}function yr(){Et||console.error("Expected to be hydrating. This is a bug in React. Please file an issue.")}function gs(e,t){if(e.return===null){if(xi===null)xi={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t};else{if(xi.fiber!==e)throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React.");xi.distanceFromLeaf>t&&(xi.distanceFromLeaf=t)}return xi}var a=gs(e.return,t+1).children;return 0<a.length&&a[a.length-1].fiber===e?(a=a[a.length-1],a.distanceFromLeaf>t&&(a.distanceFromLeaf=t),a):(t={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t},a.push(t),t)}function fb(){Et&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug.")}function ya(e,t){Kr||(e=gs(e,0),e.serverProps=null,t!==null&&(t=Wb(t),e.serverTail.push(t)))}function Nl(e){var t=1<arguments.length&&arguments[1]!==void 0?arguments[1]:!1,a="",s=xi;throw s!==null&&(xi=null,a=S0(s)),zf(za(Error("Hydration failed because the server rendered "+(t?"text":"HTML")+` didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:
|
|
87
|
+
|
|
88
|
+
- A server/client branch \`if (typeof window !== 'undefined')\`.
|
|
89
|
+
- Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
|
|
90
|
+
- Date formatting in a user's locale which doesn't match the server.
|
|
91
|
+
- External changing data without sending a snapshot of it along with the HTML.
|
|
92
|
+
- Invalid HTML tag nesting.
|
|
93
|
+
|
|
94
|
+
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
|
|
95
|
+
|
|
96
|
+
https://react.dev/link/hydration-mismatch`+a),e)),Lw}function Y0(e){var t=e.stateNode,a=e.type,s=e.memoizedProps;switch(t[on]=e,t[Ya]=s,Ba(a,s),a){case"dialog":Fe("cancel",t),Fe("close",t);break;case"iframe":case"object":case"embed":Fe("load",t);break;case"video":case"audio":for(a=0;a<av.length;a++)Fe(av[a],t);break;case"source":Fe("error",t);break;case"img":case"image":case"link":Fe("error",t),Fe("load",t);break;case"details":Fe("toggle",t);break;case"input":ma("input",s),Fe("invalid",t),Ca(t,s),Eh(t,s.value,s.defaultValue,s.checked,s.defaultChecked,s.type,s.name,!0);break;case"option":Jv(t,s);break;case"select":ma("select",s),Fe("invalid",t),Th(t,s);break;case"textarea":ma("textarea",s),Fe("invalid",t),ls(t,s),zu(t,s.value,s.defaultValue,s.children)}a=s.children,typeof a!="string"&&typeof a!="number"&&typeof a!="bigint"||t.textContent===""+a||s.suppressHydrationWarning===!0||Gg(t.textContent,a)?(s.popover!=null&&(Fe("beforetoggle",t),Fe("toggle",t)),s.onScroll!=null&&Fe("scroll",t),s.onScrollEnd!=null&&Fe("scrollend",t),s.onClick!=null&&(t.onclick=jl),t=!0):t=!1,t||Nl(e,!0)}function q0(e){for(qa=e.return;qa;)switch(qa.tag){case 5:case 31:case 13:go=!1;return;case 27:case 3:go=!0;return;default:qa=qa.return}}function ys(e){if(e!==qa)return!1;if(!Et)return q0(e),Et=!0,!1;var t=e.tag,a;if((a=t!==3&&t!==27)&&((a=t===5)&&(a=e.type,a=!(a!=="form"&&a!=="button")||pc(e.type,e.memoizedProps)),a=!a),a&&sn){for(a=sn;a;){var s=gs(e,0),d=Wb(a);s.serverTail.push(d),a=d.type==="Suspense"?yc(a):xl(a.nextSibling)}Nl(e)}if(q0(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");sn=yc(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");sn=yc(e)}else t===27?(t=sn,Vr(e.type)?(e=C2,C2=null,sn=e):sn=t):sn=qa?xl(e.stateNode.nextSibling):null;return!0}function vr(){sn=qa=null,Kr=Et=!1}function Cf(){var e=Bc;return e!==null&&(Ml===null?Ml=e:Ml.push.apply(Ml,e),Bc=null),e}function zf(e){Bc===null?Bc=[e]:Bc.push(e)}function br(){var e=xi;if(e!==null){xi=null;for(var t=S0(e);0<e.children.length;)e=e.children[0];_e(e.fiber,function(){console.error(`A tree hydrated but some attributes of the server rendered HTML didn't match the client properties. This won't be patched up. This can happen if a SSR-ed Client Component used:
|
|
97
|
+
|
|
98
|
+
- A server/client branch \`if (typeof window !== 'undefined')\`.
|
|
99
|
+
- Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
|
|
100
|
+
- Date formatting in a user's locale which doesn't match the server.
|
|
101
|
+
- External changing data without sending a snapshot of it along with the HTML.
|
|
102
|
+
- Invalid HTML tag nesting.
|
|
103
|
+
|
|
104
|
+
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
|
|
105
|
+
|
|
106
|
+
%s%s`,"https://react.dev/link/hydration-mismatch",t)})}}function Bu(){bm=C1=null,Sm=!1}function Ul(e,t,a){Re(Bw,t._currentValue,e),t._currentValue=a,Re(Hw,t._currentRenderer,e),t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==Vz&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=Vz}function ai(e,t){e._currentValue=Bw.current;var a=Hw.current;ee(Hw,t),e._currentRenderer=a,ee(Bw,t)}function Gh(e,t,a){for(;e!==null;){var s=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,s!==null&&(s.childLanes|=t)):s!==null&&(s.childLanes&t)!==t&&(s.childLanes|=t),e===a)break;e=e.return}e!==a&&console.error("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.")}function Mo(e,t,a,s){var d=e.child;for(d!==null&&(d.return=e);d!==null;){var h=d.dependencies;if(h!==null){var b=d.child;h=h.firstContext;e:for(;h!==null;){var w=h;h=d;for(var R=0;R<t.length;R++)if(w.context===t[R]){h.lanes|=a,w=h.alternate,w!==null&&(w.lanes|=a),Gh(h.return,a,e),s||(b=null);break e}h=w.next}}else if(d.tag===18){if(b=d.return,b===null)throw Error("We just came from a parent so we must have had a parent. This is a bug in React.");b.lanes|=a,h=b.alternate,h!==null&&(h.lanes|=a),Gh(b,a,e),b=null}else b=d.child;if(b!==null)b.return=d;else for(b=d;b!==null;){if(b===e){b=null;break}if(d=b.sibling,d!==null){d.return=b.return,b=d;break}b=b.return}d=b}}function li(e,t,a,s){e=null;for(var d=t,h=!1;d!==null;){if(!h){if((d.flags&524288)!==0)h=!0;else if((d.flags&262144)!==0)break}if(d.tag===10){var b=d.alternate;if(b===null)throw Error("Should have a current fiber. This is a bug in React.");if(b=b.memoizedProps,b!==null){var w=d.type;Al(d.pendingProps.value,b.value)||(e!==null?e.push(w):e=[w])}}else if(d===Xr.current){if(b=d.alternate,b===null)throw Error("Should have a current fiber. This is a bug in React.");b.memoizedState.memoizedState!==d.memoizedState.memoizedState&&(e!==null?e.push(sv):e=[sv])}d=d.return}e!==null&&Mo(t,e,a,s),t.flags|=262144}function Hu(e){for(e=e.firstContext;e!==null;){if(!Al(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Sr(e){C1=e,bm=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function jt(e){return Sm&&console.error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."),G0(C1,e)}function Rf(e,t){return C1===null&&Sr(e),G0(e,t)}function G0(e,t){var a=t._currentValue;if(t={context:t,memoizedValue:a,next:null},bm===null){if(e===null)throw Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");bm=t,e.dependencies={lanes:0,firstContext:t,_debugThenableState:null},e.flags|=524288}else bm=bm.next=t;return a}function Xh(){return{controller:new Sk,data:new Map,refCount:0}}function vs(e){e.controller.signal.aborted&&console.warn("A cache instance was retained after it was already freed. This likely indicates a bug in React."),e.refCount++}function Mf(e){e.refCount--,0>e.refCount&&console.warn("A cache instance was released after it was already freed. This likely indicates a bug in React."),e.refCount===0&&xk(wk,function(){e.controller.abort()})}function Hi(e,t,a){(e&127)!==0?0>Jr&&(Jr=ea(),_y=z1(t),Vw=t,a!=null&&(Yw=ye(a)),(Rt&(da|Ti))!==Ea&&(Rn=!0,Vc=Dy),e=mc(),t=lo(),e!==xm||t!==Oy?xm=-1.1:t!==null&&(Vc=Dy),Nd=e,Oy=t):(e&4194048)!==0&&0>yo&&(yo=ea(),jy=z1(t),Yz=t,a!=null&&(qz=ye(a)),0>au)&&(e=mc(),t=lo(),(e!==qc||t!==Ud)&&(qc=-1.1),Yc=e,Ud=t)}function db(e){if(0>Jr){Jr=ea(),_y=e._debugTask!=null?e._debugTask:null,(Rt&(da|Ti))!==Ea&&(Vc=Dy);var t=mc(),a=lo();t!==xm||a!==Oy?xm=-1.1:a!==null&&(Vc=Dy),Nd=t,Oy=a}0>yo&&(yo=ea(),jy=e._debugTask!=null?e._debugTask:null,0>au)&&(e=mc(),t=lo(),(e!==qc||t!==Ud)&&(qc=-1.1),Yc=e,Ud=t)}function Vi(){var e=jd;return jd=0,e}function Vu(e){var t=jd;return jd=e,t}function Ra(e){var t=jd;return jd+=e,t}function bs(){Ie=Ze=-1.1}function nn(){var e=Ze;return Ze=-1.1,e}function Zn(e){0<=e&&(Ze=e)}function Ll(){var e=bn;return bn=-0,e}function ul(e){0<=e&&(bn=e)}function cl(){var e=mn;return mn=null,e}function Bl(){var e=Rn;return Rn=!1,e}function Do(e){Cl=ea(),0>e.actualStartTime&&(e.actualStartTime=Cl)}function Qh(e){if(0<=Cl){var t=ea()-Cl;e.actualDuration+=t,e.selfBaseDuration=t,Cl=-1}}function Df(e){if(0<=Cl){var t=ea()-Cl;e.actualDuration+=t,Cl=-1}}function Ma(){if(0<=Cl){var e=ea(),t=e-Cl;Cl=-1,jd+=t,bn+=t,Ie=e}}function hb(e){mn===null&&(mn=[]),mn.push(e),tu===null&&(tu=[]),tu.push(e)}function gn(){Cl=ea(),0>Ze&&(Ze=Cl)}function Ss(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function _o(e,t){if(Ny===null){var a=Ny=[];Gw=0,Ld=qg(),wm={status:"pending",value:void 0,then:function(s){a.push(s)}}}return Gw++,t.then(X0,X0),t}function X0(){if(--Gw===0&&(-1<yo||(au=-1.1),Ny!==null)){wm!==null&&(wm.status="fulfilled");var e=Ny;Ny=null,Ld=0,wm=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function Zh(e,t){var a=[],s={status:"pending",value:null,reason:null,then:function(d){a.push(d)}};return e.then(function(){s.status="fulfilled",s.value=t;for(var d=0;d<a.length;d++)(0,a[d])(t)},function(d){for(s.status="rejected",s.reason=d,d=0;d<a.length;d++)(0,a[d])(void 0)}),s}function Oo(){var e=Bd.current;return e!==null?e:Pt.pooledCache}function Yu(e,t){t===null?Re(Bd,Bd.current,e):Re(Bd,t.pool,e)}function Q0(){var e=Oo();return e===null?null:{parent:Wn._currentValue,pool:e}}function Kh(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function Z0(e){return e=e.status,e==="fulfilled"||e==="rejected"}function fl(e,t,a){ue.actQueue!==null&&(ue.didUsePromise=!0);var s=e.thenables;if(a=s[a],a===void 0?s.push(t):a!==t&&(e.didWarnAboutUncachedPromise||(e.didWarnAboutUncachedPromise=!0,console.error("A component was suspended by an uncached promise. Creating promises inside a Client Component or hook is not yet supported, except via a Suspense-compatible library or framework.")),t.then(jl,jl),t=a),t._debugInfo===void 0){e=performance.now(),s=t.displayName;var d={name:typeof s=="string"?s:"Promise",start:e,end:e,value:t};t._debugInfo=[{awaited:d}],t.status!=="fulfilled"&&t.status!=="rejected"&&(e=function(){d.end=performance.now()},t.then(e,e))}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,_f(e),e;default:if(typeof t.status=="string")t.then(jl,jl);else{if(e=Pt,e!==null&&100<e.shellSuspendCounter)throw Error("An unknown Component is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.");e=t,e.status="pending",e.then(function(h){if(t.status==="pending"){var b=t;b.status="fulfilled",b.value=h}},function(h){if(t.status==="pending"){var b=t;b.status="rejected",b.reason=h}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,_f(e),e}throw Vd=t,qy=!0,Em}}function dl(e){try{return zk(e)}catch(t){throw t!==null&&typeof t=="object"&&typeof t.then=="function"?(Vd=t,qy=!0,Em):t}}function xs(){if(Vd===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var e=Vd;return Vd=null,qy=!1,e}function _f(e){if(e===Em||e===N1)throw Error("Hooks are not supported inside an async component. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.")}function En(e){var t=pt;return e!=null&&(pt=t===null?e:t.concat(e)),t}function Za(){var e=pt;if(e!=null){for(var t=e.length-1;0<=t;t--)if(e[t].name!=null){var a=e[t].debugTask;if(a!=null)return a}}return null}function Da(e,t,a){for(var s=Object.keys(e.props),d=0;d<s.length;d++){var h=s[d];if(h!=="children"&&h!=="key"){t===null&&(t=gr(e,a.mode,0),t._debugInfo=pt,t.return=a),_e(t,function(b){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",b)},h);break}}}function ii(e){var t=Gy;return Gy+=1,Tm===null&&(Tm=Kh()),fl(Tm,e,t)}function Ka(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function oi(e,t){throw t.$$typeof===u1?Error(`A React Element from an older version of React was rendered. This is not supported. It can happen if:
|
|
107
|
+
- Multiple copies of the "react" package is used.
|
|
108
|
+
- A library pre-bundled an old copy of "react" or "react/jsx-runtime".
|
|
109
|
+
- A compiler tries to "inline" JSX instead of using the runtime.`):(e=Object.prototype.toString.call(t),Error("Objects are not valid as a React child (found: "+(e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead."))}function Hl(e,t){var a=Za();a!==null?a.run(oi.bind(null,e,t)):oi(e,t)}function K0(e,t){var a=ye(e)||"Component";sR[a]||(sR[a]=!0,t=t.displayName||t.name||"Component",e.tag===3?console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
|
|
110
|
+
root.render(%s)`,t,t,t):console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
|
|
111
|
+
<%s>{%s}</%s>`,t,t,a,t,a))}function qu(e,t){var a=Za();a!==null?a.run(K0.bind(null,e,t)):K0(e,t)}function Jh(e,t){var a=ye(e)||"Component";uR[a]||(uR[a]=!0,t=String(t),e.tag===3?console.error(`Symbols are not valid as a React child.
|
|
112
|
+
root.render(%s)`,t):console.error(`Symbols are not valid as a React child.
|
|
113
|
+
<%s>%s</%s>`,a,t,a))}function Of(e,t){var a=Za();a!==null?a.run(Jh.bind(null,e,t)):Jh(e,t)}function Kn(e){function t(L,V){if(e){var X=L.deletions;X===null?(L.deletions=[V],L.flags|=16):X.push(V)}}function a(L,V){if(!e)return null;for(;V!==null;)t(L,V),V=V.sibling;return null}function s(L){for(var V=new Map;L!==null;)L.key!==null?V.set(L.key,L):V.set(L.index,L),L=L.sibling;return V}function d(L,V){return L=Bi(L,V),L.index=0,L.sibling=null,L}function h(L,V,X){return L.index=X,e?(X=L.alternate,X!==null?(X=X.index,X<V?(L.flags|=67108866,V):X):(L.flags|=67108866,V)):(L.flags|=1048576,V)}function b(L){return e&&L.alternate===null&&(L.flags|=67108866),L}function w(L,V,X,ge){return V===null||V.tag!==6?(V=Lu(X,L.mode,ge),V.return=L,V._debugOwner=L,V._debugTask=L._debugTask,V._debugInfo=pt,V):(V=d(V,X),V.return=L,V._debugInfo=pt,V)}function R(L,V,X,ge){var Me=X.type;return Me===wc?(V=Z(L,V,X.props.children,ge,X.key),Da(X,V,L),V):V!==null&&(V.elementType===Me||U0(V,X)||typeof Me=="object"&&Me!==null&&Me.$$typeof===ba&&dl(Me)===V.type)?(V=d(V,X.props),Ka(V,X),V.return=L,V._debugOwner=X._owner,V._debugInfo=pt,V):(V=gr(X,L.mode,ge),Ka(V,X),V.return=L,V._debugInfo=pt,V)}function D(L,V,X,ge){return V===null||V.tag!==4||V.stateNode.containerInfo!==X.containerInfo||V.stateNode.implementation!==X.implementation?(V=Vh(X,L.mode,ge),V.return=L,V._debugInfo=pt,V):(V=d(V,X.children||[]),V.return=L,V._debugInfo=pt,V)}function Z(L,V,X,ge,Me){return V===null||V.tag!==7?(V=ms(X,L.mode,ge,Me),V.return=L,V._debugOwner=L,V._debugTask=L._debugTask,V._debugInfo=pt,V):(V=d(V,X),V.return=L,V._debugInfo=pt,V)}function J(L,V,X){if(typeof V=="string"&&V!==""||typeof V=="number"||typeof V=="bigint")return V=Lu(""+V,L.mode,X),V.return=L,V._debugOwner=L,V._debugTask=L._debugTask,V._debugInfo=pt,V;if(typeof V=="object"&&V!==null){switch(V.$$typeof){case Xl:return X=gr(V,L.mode,X),Ka(X,V),X.return=L,L=En(V._debugInfo),X._debugInfo=pt,pt=L,X;case qr:return V=Vh(V,L.mode,X),V.return=L,V._debugInfo=pt,V;case ba:var ge=En(V._debugInfo);return V=dl(V),L=J(L,V,X),pt=ge,L}if(jn(V)||he(V))return X=ms(V,L.mode,X,null),X.return=L,X._debugOwner=L,X._debugTask=L._debugTask,L=En(V._debugInfo),X._debugInfo=pt,pt=L,X;if(typeof V.then=="function")return ge=En(V._debugInfo),L=J(L,ii(V),X),pt=ge,L;if(V.$$typeof===vi)return J(L,Rf(L,V),X);Hl(L,V)}return typeof V=="function"&&qu(L,V),typeof V=="symbol"&&Of(L,V),null}function B(L,V,X,ge){var Me=V!==null?V.key:null;if(typeof X=="string"&&X!==""||typeof X=="number"||typeof X=="bigint")return Me!==null?null:w(L,V,""+X,ge);if(typeof X=="object"&&X!==null){switch(X.$$typeof){case Xl:return X.key===Me?(Me=En(X._debugInfo),L=R(L,V,X,ge),pt=Me,L):null;case qr:return X.key===Me?D(L,V,X,ge):null;case ba:return Me=En(X._debugInfo),X=dl(X),L=B(L,V,X,ge),pt=Me,L}if(jn(X)||he(X))return Me!==null?null:(Me=En(X._debugInfo),L=Z(L,V,X,ge,null),pt=Me,L);if(typeof X.then=="function")return Me=En(X._debugInfo),L=B(L,V,ii(X),ge),pt=Me,L;if(X.$$typeof===vi)return B(L,V,Rf(L,X),ge);Hl(L,X)}return typeof X=="function"&&qu(L,X),typeof X=="symbol"&&Of(L,X),null}function oe(L,V,X,ge,Me){if(typeof ge=="string"&&ge!==""||typeof ge=="number"||typeof ge=="bigint")return L=L.get(X)||null,w(V,L,""+ge,Me);if(typeof ge=="object"&&ge!==null){switch(ge.$$typeof){case Xl:return X=L.get(ge.key===null?X:ge.key)||null,L=En(ge._debugInfo),V=R(V,X,ge,Me),pt=L,V;case qr:return L=L.get(ge.key===null?X:ge.key)||null,D(V,L,ge,Me);case ba:var at=En(ge._debugInfo);return ge=dl(ge),V=oe(L,V,X,ge,Me),pt=at,V}if(jn(ge)||he(ge))return X=L.get(X)||null,L=En(ge._debugInfo),V=Z(V,X,ge,Me,null),pt=L,V;if(typeof ge.then=="function")return at=En(ge._debugInfo),V=oe(L,V,X,ii(ge),Me),pt=at,V;if(ge.$$typeof===vi)return oe(L,V,X,Rf(V,ge),Me);Hl(V,ge)}return typeof ge=="function"&&qu(V,ge),typeof ge=="symbol"&&Of(V,ge),null}function ze(L,V,X,ge){if(typeof X!="object"||X===null)return ge;switch(X.$$typeof){case Xl:case qr:C(L,V,X);var Me=X.key;if(typeof Me!="string")break;if(ge===null){ge=new Set,ge.add(Me);break}if(!ge.has(Me)){ge.add(Me);break}_e(V,function(){console.error("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.",Me)});break;case ba:X=dl(X),ze(L,V,X,ge)}return ge}function Oe(L,V,X,ge){for(var Me=null,at=null,Xe=null,qe=V,ft=V=0,un=null;qe!==null&&ft<X.length;ft++){qe.index>ft?(un=qe,qe=null):un=qe.sibling;var qn=B(L,qe,X[ft],ge);if(qn===null){qe===null&&(qe=un);break}Me=ze(L,qn,X[ft],Me),e&&qe&&qn.alternate===null&&t(L,qe),V=h(qn,V,ft),Xe===null?at=qn:Xe.sibling=qn,Xe=qn,qe=un}if(ft===X.length)return a(L,qe),Et&&ni(L,ft),at;if(qe===null){for(;ft<X.length;ft++)qe=J(L,X[ft],ge),qe!==null&&(Me=ze(L,qe,X[ft],Me),V=h(qe,V,ft),Xe===null?at=qe:Xe.sibling=qe,Xe=qe);return Et&&ni(L,ft),at}for(qe=s(qe);ft<X.length;ft++)un=oe(qe,L,ft,X[ft],ge),un!==null&&(Me=ze(L,un,X[ft],Me),e&&un.alternate!==null&&qe.delete(un.key===null?ft:un.key),V=h(un,V,ft),Xe===null?at=un:Xe.sibling=un,Xe=un);return e&&qe.forEach(function(fu){return t(L,fu)}),Et&&ni(L,ft),at}function tn(L,V,X,ge){if(X==null)throw Error("An iterable object provided no iterator.");for(var Me=null,at=null,Xe=V,qe=V=0,ft=null,un=null,qn=X.next();Xe!==null&&!qn.done;qe++,qn=X.next()){Xe.index>qe?(ft=Xe,Xe=null):ft=Xe.sibling;var fu=B(L,Xe,qn.value,ge);if(fu===null){Xe===null&&(Xe=ft);break}un=ze(L,fu,qn.value,un),e&&Xe&&fu.alternate===null&&t(L,Xe),V=h(fu,V,qe),at===null?Me=fu:at.sibling=fu,at=fu,Xe=ft}if(qn.done)return a(L,Xe),Et&&ni(L,qe),Me;if(Xe===null){for(;!qn.done;qe++,qn=X.next())Xe=J(L,qn.value,ge),Xe!==null&&(un=ze(L,Xe,qn.value,un),V=h(Xe,V,qe),at===null?Me=Xe:at.sibling=Xe,at=Xe);return Et&&ni(L,qe),Me}for(Xe=s(Xe);!qn.done;qe++,qn=X.next())ft=oe(Xe,L,qe,qn.value,ge),ft!==null&&(un=ze(L,ft,qn.value,un),e&&ft.alternate!==null&&Xe.delete(ft.key===null?qe:ft.key),V=h(ft,V,qe),at===null?Me=ft:at.sibling=ft,at=ft);return e&&Xe.forEach(function(Fk){return t(L,Fk)}),Et&&ni(L,qe),Me}function At(L,V,X,ge){if(typeof X=="object"&&X!==null&&X.type===wc&&X.key===null&&(Da(X,null,L),X=X.props.children),typeof X=="object"&&X!==null){switch(X.$$typeof){case Xl:var Me=En(X._debugInfo);e:{for(var at=X.key;V!==null;){if(V.key===at){if(at=X.type,at===wc){if(V.tag===7){a(L,V.sibling),ge=d(V,X.props.children),ge.return=L,ge._debugOwner=X._owner,ge._debugInfo=pt,Da(X,ge,L),L=ge;break e}}else if(V.elementType===at||U0(V,X)||typeof at=="object"&&at!==null&&at.$$typeof===ba&&dl(at)===V.type){a(L,V.sibling),ge=d(V,X.props),Ka(ge,X),ge.return=L,ge._debugOwner=X._owner,ge._debugInfo=pt,L=ge;break e}a(L,V);break}else t(L,V);V=V.sibling}X.type===wc?(ge=ms(X.props.children,L.mode,ge,X.key),ge.return=L,ge._debugOwner=L,ge._debugTask=L._debugTask,ge._debugInfo=pt,Da(X,ge,L),L=ge):(ge=gr(X,L.mode,ge),Ka(ge,X),ge.return=L,ge._debugInfo=pt,L=ge)}return L=b(L),pt=Me,L;case qr:e:{for(Me=X,X=Me.key;V!==null;){if(V.key===X)if(V.tag===4&&V.stateNode.containerInfo===Me.containerInfo&&V.stateNode.implementation===Me.implementation){a(L,V.sibling),ge=d(V,Me.children||[]),ge.return=L,L=ge;break e}else{a(L,V);break}else t(L,V);V=V.sibling}ge=Vh(Me,L.mode,ge),ge.return=L,L=ge}return b(L);case ba:return Me=En(X._debugInfo),X=dl(X),L=At(L,V,X,ge),pt=Me,L}if(jn(X))return Me=En(X._debugInfo),L=Oe(L,V,X,ge),pt=Me,L;if(he(X)){if(Me=En(X._debugInfo),at=he(X),typeof at!="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var Xe=at.call(X);return Xe===X?(L.tag!==0||Object.prototype.toString.call(L.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(Xe)!=="[object Generator]")&&(oR||console.error("Using Iterators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. You can also use an Iterable that can iterate multiple times over the same items."),oR=!0):X.entries!==at||Kw||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Kw=!0),L=tn(L,V,Xe,ge),pt=Me,L}if(typeof X.then=="function")return Me=En(X._debugInfo),L=At(L,V,ii(X),ge),pt=Me,L;if(X.$$typeof===vi)return At(L,V,Rf(L,X),ge);Hl(L,X)}return typeof X=="string"&&X!==""||typeof X=="number"||typeof X=="bigint"?(Me=""+X,V!==null&&V.tag===6?(a(L,V.sibling),ge=d(V,Me),ge.return=L,L=ge):(a(L,V),ge=Lu(Me,L.mode,ge),ge.return=L,ge._debugOwner=L,ge._debugTask=L._debugTask,ge._debugInfo=pt,L=ge),b(L)):(typeof X=="function"&&qu(L,X),typeof X=="symbol"&&Of(L,X),a(L,V))}return function(L,V,X,ge){var Me=pt;pt=null;try{Gy=0;var at=At(L,V,X,ge);return Tm=null,at}catch(un){if(un===Em||un===N1)throw un;var Xe=z(29,un,null,L.mode);Xe.lanes=ge,Xe.return=L;var qe=Xe._debugInfo=pt;if(Xe._debugOwner=L._debugOwner,Xe._debugTask=L._debugTask,qe!=null){for(var ft=qe.length-1;0<=ft;ft--)if(typeof qe[ft].stack=="string"){Xe._debugOwner=qe[ft],Xe._debugTask=qe[ft].debugTask;break}}return Xe}finally{pt=Me}}}function Jt(e,t){var a=jn(e);return e=!a&&typeof he(e)=="function",a||e?(a=a?"array":"iterable",console.error("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",a,t,a),!1):!0}function xt(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Yi(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Un(e){return{lane:e,tag:fR,payload:null,callback:null,next:null}}function qi(e,t,a){var s=e.updateQueue;if(s===null)return null;if(s=s.shared,$w===s&&!pR){var d=ye(e);console.error(`An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback.
|
|
114
|
+
|
|
115
|
+
Please update the following component: %s`,d),pR=!0}return(Rt&da)!==Ea?(d=s.pending,d===null?t.next=t:(t.next=d.next,d.next=t),s.pending=t,t=Af(e),N0(e,null,a),t):(Uu(e,s,t,a),Af(e))}function Vl(e,t,a){if(t=t.updateQueue,t!==null&&(t=t.shared,(a&4194048)!==0)){var s=t.lanes;s&=e.pendingLanes,a|=s,t.lanes=a,pf(e,a)}}function jf(e,t){var a=e.updateQueue,s=e.alternate;if(s!==null&&(s=s.updateQueue,a===s)){var d=null,h=null;if(a=a.firstBaseUpdate,a!==null){do{var b={lane:a.lane,tag:a.tag,payload:a.payload,callback:null,next:null};h===null?d=h=b:h=h.next=b,a=a.next}while(a!==null);h===null?d=h=t:h=h.next=t}else d=h=t;a={baseState:s.baseState,firstBaseUpdate:d,lastBaseUpdate:h,shared:s.shared,callbacks:s.callbacks},e.updateQueue=a;return}e=a.lastBaseUpdate,e===null?a.firstBaseUpdate=t:e.next=t,a.lastBaseUpdate=t}function Gu(){if(Iw){var e=wm;if(e!==null)throw e}}function Gi(e,t,a,s){Iw=!1;var d=e.updateQueue;Gc=!1,$w=d.shared;var h=d.firstBaseUpdate,b=d.lastBaseUpdate,w=d.shared.pending;if(w!==null){d.shared.pending=null;var R=w,D=R.next;R.next=null,b===null?h=D:b.next=D,b=R;var Z=e.alternate;Z!==null&&(Z=Z.updateQueue,w=Z.lastBaseUpdate,w!==b&&(w===null?Z.firstBaseUpdate=D:w.next=D,Z.lastBaseUpdate=R))}if(h!==null){var J=d.baseState;b=0,Z=D=R=null,w=h;do{var B=w.lane&-536870913,oe=B!==w.lane;if(oe?(mt&B)===B:(s&B)===B){B!==0&&B===Ld&&(Iw=!0),Z!==null&&(Z=Z.next={lane:0,tag:w.tag,payload:w.payload,callback:null,next:null});e:{B=e;var ze=w,Oe=t,tn=a;switch(ze.tag){case dR:if(ze=ze.payload,typeof ze=="function"){Sm=!0;var At=ze.call(tn,J,Oe);if(B.mode&el){Ue(!0);try{ze.call(tn,J,Oe)}finally{Ue(!1)}}Sm=!1,J=At;break e}J=ze;break e;case Jw:B.flags=B.flags&-65537|128;case fR:if(At=ze.payload,typeof At=="function"){if(Sm=!0,ze=At.call(tn,J,Oe),B.mode&el){Ue(!0);try{At.call(tn,J,Oe)}finally{Ue(!1)}}Sm=!1}else ze=At;if(ze==null)break e;J=dt({},J,ze);break e;case hR:Gc=!0}}B=w.callback,B!==null&&(e.flags|=64,oe&&(e.flags|=8192),oe=d.callbacks,oe===null?d.callbacks=[B]:oe.push(B))}else oe={lane:B,tag:w.tag,payload:w.payload,callback:w.callback,next:null},Z===null?(D=Z=oe,R=J):Z=Z.next=oe,b|=B;if(w=w.next,w===null){if(w=d.shared.pending,w===null)break;oe=w,w=oe.next,oe.next=null,d.lastBaseUpdate=oe,d.shared.pending=null}}while(!0);Z===null&&(R=J),d.baseState=R,d.firstBaseUpdate=D,d.lastBaseUpdate=Z,h===null&&(d.shared.lanes=0),Zc|=b,e.lanes=b,e.memoizedState=J}$w=null}function xr(e,t){if(typeof e!="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+e);e.call(t)}function J0(e,t){var a=e.shared.hiddenCallbacks;if(a!==null)for(e.shared.hiddenCallbacks=null,e=0;e<a.length;e++)xr(a[e],t)}function Xu(e,t){var a=e.callbacks;if(a!==null)for(e.callbacks=null,e=0;e<a.length;e++)xr(a[e],t)}function $h(e,t){var a=Ir;Re(L1,a,e),Re(Am,t,e),Ir=a|t.baseLanes}function jo(e){Re(L1,Ir,e),Re(Am,Am.current,e)}function ri(e){Ir=L1.current,ee(Am,e),ee(L1,e)}function _a(e){var t=e.alternate;Re(Yn,Yn.current&Cm,e),Re(wi,e,e),vo===null&&(t===null||Am.current!==null||t.memoizedState!==null)&&(vo=e)}function si(e){Re(Yn,Yn.current,e),Re(wi,e,e),vo===null&&(vo=e)}function Ih(e){e.tag===22?(Re(Yn,Yn.current,e),Re(wi,e,e),vo===null&&(vo=e)):Xi(e)}function Xi(e){Re(Yn,Yn.current,e),Re(wi,wi.current,e)}function Jn(e){ee(wi,e),vo===e&&(vo=null),ee(Yn,e)}function ws(e){for(var t=e;t!==null;){if(t.tag===13){var a=t.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||md(a)||Qg(a)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder==="forwards"||t.memoizedProps.revealOrder==="backwards"||t.memoizedProps.revealOrder==="unstable_legacy-backwards"||t.memoizedProps.revealOrder==="together")){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function tt(){var e=se;So===null?So=[e]:So.push(e)}function Se(){var e=se;if(So!==null&&(ou++,So[ou]!==e)){var t=ye(nt);if(!mR.has(t)&&(mR.add(t),So!==null)){for(var a="",s=0;s<=ou;s++){var d=So[s],h=s===ou?e:d;for(d=s+1+". "+d;30>d.length;)d+=" ";d+=h+`
|
|
116
|
+
`,a+=d}console.error(`React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://react.dev/link/rules-of-hooks
|
|
117
|
+
|
|
118
|
+
Previous render Next render
|
|
119
|
+
------------------------------------------------------
|
|
120
|
+
%s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
121
|
+
`,t,a)}}}function ko(e){e==null||jn(e)||console.error("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",se,typeof e)}function kf(){var e=ye(nt);yR.has(e)||(yR.add(e),console.error("ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.",e))}function yn(){throw Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
122
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
123
|
+
2. You might be breaking the Rules of Hooks
|
|
124
|
+
3. You might have more than one copy of React in the same app
|
|
125
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function $0(e,t){if(Zy)return!1;if(t===null)return console.error("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",se),!1;e.length!==t.length&&console.error(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
|
|
126
|
+
|
|
127
|
+
Previous: %s
|
|
128
|
+
Incoming: %s`,se,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var a=0;a<t.length&&a<e.length;a++)if(!Al(e[a],t[a]))return!1;return!0}function I0(e,t,a,s,d,h){lu=h,nt=t,So=e!==null?e._debugHookTypes:null,ou=-1,Zy=e!==null&&e.type!==t.type,(Object.prototype.toString.call(a)==="[object AsyncFunction]"||Object.prototype.toString.call(a)==="[object AsyncGeneratorFunction]")&&(h=ye(nt),Fw.has(h)||(Fw.add(h),console.error("%s is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.",h===null?"An unknown Component":"<"+h+">"))),t.memoizedState=null,t.updateQueue=null,t.lanes=0,ue.H=e!==null&&e.memoizedState!==null?Ww:So!==null?vR:Pw,qd=h=(t.mode&el)!==Pe;var b=Xw(a,s,d);if(qd=!1,Rm&&(b=Nf(t,a,s,d)),h){Ue(!0);try{b=Nf(t,a,s,d)}finally{Ue(!1)}}return Tn(e,t),b}function Tn(e,t){t._debugHookTypes=So,t.dependencies===null?iu!==null&&(t.dependencies={lanes:0,firstContext:null,_debugThenableState:iu}):t.dependencies._debugThenableState=iu,ue.H=Ky;var a=Ft!==null&&Ft.next!==null;if(lu=0,So=se=ta=Ft=nt=null,ou=-1,e!==null&&(e.flags&65011712)!==(t.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),H1=!1,Qy=0,iu=null,a)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");e===null||na||(e=e.dependencies,e!==null&&Hu(e)&&(na=!0)),qy?(qy=!1,e=!0):e=!1,e&&(t=ye(t)||"Unknown",gR.has(t)||Fw.has(t)||(gR.add(t),console.error("`use` was called from inside a try/catch block. This is not allowed and can lead to unexpected behavior. To handle errors triggered by `use`, wrap your component in a error boundary.")))}function Nf(e,t,a,s){nt=e;var d=0;do{if(Rm&&(iu=null),Qy=0,Rm=!1,d>=Mk)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(d+=1,Zy=!1,ta=Ft=null,e.updateQueue!=null){var h=e.updateQueue;h.lastEffect=null,h.events=null,h.stores=null,h.memoCache!=null&&(h.memoCache.index=0)}ou=-1,ue.H=bR,h=Xw(t,a,s)}while(Rm);return h}function Uf(){var e=ue.H,t=e.useState()[0];return t=typeof t.then=="function"?Hf(t):t,e=e.useState()[0],(Ft!==null?Ft.memoizedState:null)!==e&&(nt.flags|=1024),t}function Es(){var e=V1!==0;return V1=0,e}function Lf(e,t,a){t.updateQueue=e.updateQueue,t.flags=(t.mode&$o)!==Pe?t.flags&-402655237:t.flags&-2053,e.lanes&=~a}function wr(e){if(H1){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}H1=!1}lu=0,So=ta=Ft=nt=null,ou=-1,se=null,Rm=!1,Qy=V1=0,iu=null}function _n(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ta===null?nt.memoizedState=ta=e:ta=ta.next=e,ta}function Lt(){if(Ft===null){var e=nt.alternate;e=e!==null?e.memoizedState:null}else e=Ft.next;var t=ta===null?nt.memoizedState:ta.next;if(t!==null)ta=t,Ft=e;else{if(e===null)throw nt.alternate===null?Error("Update hook called on initial render. This is likely a bug in React. Please file an issue."):Error("Rendered more hooks than during the previous render.");Ft=e,e={memoizedState:Ft.memoizedState,baseState:Ft.baseState,baseQueue:Ft.baseQueue,queue:Ft.queue,next:null},ta===null?nt.memoizedState=ta=e:ta=ta.next=e}return ta}function Bf(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Hf(e){var t=Qy;return Qy+=1,iu===null&&(iu=Kh()),e=fl(iu,e,t),t=nt,(ta===null?t.memoizedState:ta.next)===null&&(t=t.alternate,ue.H=t!==null&&t.memoizedState!==null?Ww:Pw),e}function No(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return Hf(e);if(e.$$typeof===vi)return jt(e)}throw Error("An unsupported type was passed to use(): "+String(e))}function hl(e){var t=null,a=nt.updateQueue;if(a!==null&&(t=a.memoCache),t==null){var s=nt.alternate;s!==null&&(s=s.updateQueue,s!==null&&(s=s.memoCache,s!=null&&(t={data:s.data.map(function(d){return d.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),a===null&&(a=Bf(),nt.updateQueue=a),a.memoCache=t,a=t.data[t.index],a===void 0||Zy)for(a=t.data[t.index]=Array(e),s=0;s<e;s++)a[s]=yw;else a.length!==e&&console.error("Expected a constant size argument for each invocation of useMemoCache. The previous cache was allocated with size %s but size %s was requested.",a.length,e);return t.index++,a}function pl(e,t){return typeof t=="function"?t(e):t}function Qu(e,t,a){var s=_n();if(a!==void 0){var d=a(t);if(qd){Ue(!0);try{a(t)}finally{Ue(!1)}}}else d=t;return s.memoizedState=s.baseState=d,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:d},s.queue=e,e=e.dispatch=dw.bind(null,nt,e),[s.memoizedState,e]}function Ts(e){var t=Lt();return Er(t,Ft,e)}function Er(e,t,a){var s=e.queue;if(s===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");s.lastRenderedReducer=a;var d=e.baseQueue,h=s.pending;if(h!==null){if(d!==null){var b=d.next;d.next=h.next,h.next=b}t.baseQueue!==d&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),t.baseQueue=d=h,s.pending=null}if(h=e.baseState,d===null)e.memoizedState=h;else{t=d.next;var w=b=null,R=null,D=t,Z=!1;do{var J=D.lane&-536870913;if(J!==D.lane?(mt&J)===J:(lu&J)===J){var B=D.revertLane;if(B===0)R!==null&&(R=R.next={lane:0,revertLane:0,gesture:null,action:D.action,hasEagerState:D.hasEagerState,eagerState:D.eagerState,next:null}),J===Ld&&(Z=!0);else if((lu&B)===B){D=D.next,B===Ld&&(Z=!0);continue}else J={lane:0,revertLane:D.revertLane,gesture:null,action:D.action,hasEagerState:D.hasEagerState,eagerState:D.eagerState,next:null},R===null?(w=R=J,b=h):R=R.next=J,nt.lanes|=B,Zc|=B;J=D.action,qd&&a(h,J),h=D.hasEagerState?D.eagerState:a(h,J)}else B={lane:J,revertLane:D.revertLane,gesture:D.gesture,action:D.action,hasEagerState:D.hasEagerState,eagerState:D.eagerState,next:null},R===null?(w=R=B,b=h):R=R.next=B,nt.lanes|=J,Zc|=J;D=D.next}while(D!==null&&D!==t);if(R===null?b=h:R.next=w,!Al(h,e.memoizedState)&&(na=!0,Z&&(a=wm,a!==null)))throw a;e.memoizedState=h,e.baseState=b,e.baseQueue=R,s.lastRenderedState=h}return d===null&&(s.lanes=0),[e.memoizedState,s.dispatch]}function As(e){var t=Lt(),a=t.queue;if(a===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");a.lastRenderedReducer=e;var s=a.dispatch,d=a.pending,h=t.memoizedState;if(d!==null){a.pending=null;var b=d=d.next;do h=e(h,b.action),b=b.next;while(b!==d);Al(h,t.memoizedState)||(na=!0),t.memoizedState=h,t.baseQueue===null&&(t.baseState=h),a.lastRenderedState=h}return[h,s]}function Zu(e,t,a){var s=nt,d=_n();if(Et){if(a===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var h=a();zm||h===a()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),zm=!0)}else{if(h=t(),zm||(a=t(),Al(h,a)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),zm=!0)),Pt===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(mt&127)!==0||F0(s,t,h)}return d.memoizedState=h,a={value:h,getSnapshot:t},d.queue=a,Rs(Tr.bind(null,s,a,e),[e]),s.flags|=2048,Qi(bo|Rl,{destroy:void 0},P0.bind(null,s,a,h,t),null),h}function Cs(e,t,a){var s=nt,d=Lt(),h=Et;if(h){if(a===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");a=a()}else if(a=t(),!zm){var b=t();Al(a,b)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),zm=!0)}(b=!Al((Ft||d).memoizedState,a))&&(d.memoizedState=a,na=!0),d=d.queue;var w=Tr.bind(null,s,d,e);if(Ln(2048,Rl,w,[e]),d.getSnapshot!==t||b||ta!==null&&ta.memoizedState.tag&bo){if(s.flags|=2048,Qi(bo|Rl,{destroy:void 0},P0.bind(null,s,d,a,t),null),Pt===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");h||(lu&127)!==0||F0(s,t,a)}return a}function F0(e,t,a){e.flags|=16384,e={getSnapshot:t,value:a},t=nt.updateQueue,t===null?(t=Bf(),nt.updateQueue=t,t.stores=[e]):(a=t.stores,a===null?t.stores=[e]:a.push(e))}function P0(e,t,a,s){t.value=a,t.getSnapshot=s,Ar(t)&&W0(e)}function Tr(e,t,a){return a(function(){Ar(t)&&(Hi(2,"updateSyncExternalStore()",e),W0(e))})}function Ar(e){var t=e.getSnapshot;e=e.value;try{var a=t();return!Al(e,a)}catch{return!0}}function W0(e){var t=ga(e,2);t!==null&&We(t,e,2)}function Fh(e){var t=_n();if(typeof e=="function"){var a=e;if(e=a(),qd){Ue(!0);try{a()}finally{Ue(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:pl,lastRenderedState:e},t}function Cr(e){e=Fh(e);var t=e.queue,a=ap.bind(null,nt,t);return t.dispatch=a,[e.memoizedState,a]}function zs(e){var t=_n();t.memoizedState=t.baseState=e;var a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=a,t=Zf.bind(null,nt,!0,a),a.dispatch=t,[e,t]}function Vf(e,t){var a=Lt();return Ku(a,Ft,e,t)}function Ku(e,t,a,s){return e.baseState=a,Er(e,Ft,typeof s=="function"?s:pl)}function Yf(e,t){var a=Lt();return Ft!==null?Ku(a,Ft,e,t):(a.baseState=e,[e,a.queue.dispatch])}function pb(e,t,a,s,d){if($n(e))throw Error("Cannot update form state while rendering.");if(e=t.action,e!==null){var h={payload:d,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(b){h.listeners.push(b)}};ue.T!==null?a(!0):h.isTransition=!1,s(h),a=t.pending,a===null?(h.next=t.pending=h,zr(t,h)):(h.next=a.next,t.pending=a.next=h)}}function zr(e,t){var a=t.action,s=t.payload,d=e.state;if(t.isTransition){var h=ue.T,b={};b._updatedFibers=new Set,ue.T=b;try{var w=a(d,s),R=ue.S;R!==null&&R(b,w),eg(e,t,w)}catch(D){qf(e,t,D)}finally{h!==null&&b.types!==null&&(h.types!==null&&h.types!==b.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),h.types=b.types),ue.T=h,h===null&&b._updatedFibers&&(e=b._updatedFibers.size,b._updatedFibers.clear(),10<e&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}else try{b=a(d,s),eg(e,t,b)}catch(D){qf(e,t,D)}}function eg(e,t,a){a!==null&&typeof a=="object"&&typeof a.then=="function"?(ue.asyncTransitions++,a.then(Ms,Ms),a.then(function(s){Uo(e,t,s)},function(s){return qf(e,t,s)}),t.isTransition||console.error("An async function with useActionState was called outside of a transition. This is likely not what you intended (for example, isPending will not update correctly). Either call the returned function inside startTransition, or pass it to an `action` or `formAction` prop.")):Uo(e,t,a)}function Uo(e,t,a){t.status="fulfilled",t.value=a,Ph(t),e.state=a,t=e.pending,t!==null&&(a=t.next,a===t?e.pending=null:(a=a.next,t.next=a,zr(e,a)))}function qf(e,t,a){var s=e.pending;if(e.pending=null,s!==null){s=s.next;do t.status="rejected",t.reason=a,Ph(t),t=t.next;while(t!==s)}e.action=null}function Ph(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Lo(e,t){return t}function ml(e,t){if(Et){var a=Pt.formState;if(a!==null){e:{var s=nt;if(Et){if(sn){t:{for(var d=sn,h=go;d.nodeType!==8;){if(!h){d=null;break t}if(d=xl(d.nextSibling),d===null){d=null;break t}}h=d.data,d=h===w2||h===l5?d:null}if(d){sn=xl(d.nextSibling),s=d.data===w2;break e}}Nl(s)}s=!1}s&&(t=a[0])}}return a=_n(),a.memoizedState=a.baseState=t,s={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Lo,lastRenderedState:t},a.queue=s,a=ap.bind(null,nt,s),s.dispatch=a,s=Fh(!1),h=Zf.bind(null,nt,!1,s.queue),s=_n(),d={state:t,dispatch:null,action:e,pending:null},s.queue=d,a=pb.bind(null,nt,d,h,a),d.dispatch=a,s.memoizedState=e,[t,a,!1]}function Rr(e){var t=Lt();return Wh(t,Ft,e)}function Wh(e,t,a){if(t=Er(e,t,Lo)[0],e=Ts(pl)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var s=Hf(t)}catch(b){throw b===Em?N1:b}else s=t;t=Lt();var d=t.queue,h=d.dispatch;return a!==t.memoizedState&&(nt.flags|=2048,Qi(bo|Rl,{destroy:void 0},tg.bind(null,d,a),null)),[s,h,e]}function tg(e,t){e.action=t}function Mr(e){var t=Lt(),a=Ft;if(a!==null)return Wh(t,a,e);Lt(),t=t.memoizedState,a=Lt();var s=a.queue.dispatch;return a.memoizedState=e,[t,s,!1]}function Qi(e,t,a,s){return e={tag:e,create:a,deps:s,inst:t,next:null},t=nt.updateQueue,t===null&&(t=Bf(),nt.updateQueue=t),a=t.lastEffect,a===null?t.lastEffect=e.next=e:(s=a.next,a.next=e,e.next=s,t.lastEffect=e),e}function ep(e){var t=_n();return e={current:e},t.memoizedState=e}function Dr(e,t,a,s){var d=_n();nt.flags|=e,d.memoizedState=Qi(bo|t,{destroy:void 0},a,s===void 0?null:s)}function Ln(e,t,a,s){var d=Lt();s=s===void 0?null:s;var h=d.memoizedState.inst;Ft!==null&&s!==null&&$0(s,Ft.memoizedState.deps)?d.memoizedState=Qi(t,h,a,s):(nt.flags|=e,d.memoizedState=Qi(bo|t,h,a,s))}function Rs(e,t){(nt.mode&$o)!==Pe?Dr(276826112,Rl,e,t):Dr(8390656,Rl,e,t)}function mb(e){nt.flags|=4;var t=nt.updateQueue;if(t===null)t=Bf(),nt.updateQueue=t,t.events=[e];else{var a=t.events;a===null?t.events=[e]:a.push(e)}}function Gf(e){var t=_n(),a={impl:e};return t.memoizedState=a,function(){if((Rt&da)!==Ea)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return a.impl.apply(void 0,arguments)}}function Ju(e){var t=Lt().memoizedState;return mb({ref:t,nextImpl:e}),function(){if((Rt&da)!==Ea)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return t.impl.apply(void 0,arguments)}}function Oa(e,t){var a=4194308;return(nt.mode&$o)!==Pe&&(a|=134217728),Dr(a,Ei,e,t)}function gl(e,t){if(typeof t=="function"){e=e();var a=t(e);return function(){typeof a=="function"?a():t(null)}}if(t!=null)return t.hasOwnProperty("current")||console.error("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(t).join(", ")+"}"),e=e(),t.current=e,function(){t.current=null}}function Zi(e,t,a){typeof t!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null"),a=a!=null?a.concat([e]):null;var s=4194308;(nt.mode&$o)!==Pe&&(s|=134217728),Dr(s,Ei,gl.bind(null,t,e),a)}function $u(e,t,a){typeof t!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null"),a=a!=null?a.concat([e]):null,Ln(4,Ei,gl.bind(null,t,e),a)}function tp(e,t){return _n().memoizedState=[e,t===void 0?null:t],e}function ui(e,t){var a=Lt();t=t===void 0?null:t;var s=a.memoizedState;return t!==null&&$0(t,s[1])?s[0]:(a.memoizedState=[e,t],e)}function ja(e,t){var a=_n();t=t===void 0?null:t;var s=e();if(qd){Ue(!0);try{e()}finally{Ue(!1)}}return a.memoizedState=[s,t],s}function an(e,t){var a=Lt();t=t===void 0?null:t;var s=a.memoizedState;if(t!==null&&$0(t,s[1]))return s[0];if(s=e(),qd){Ue(!0);try{e()}finally{Ue(!1)}}return a.memoizedState=[s,t],s}function Iu(e,t){var a=_n();return Bt(a,e,t)}function Ki(e,t){var a=Lt();return An(a,Ft.memoizedState,e,t)}function rt(e,t){var a=Lt();return Ft===null?Bt(a,e,t):An(a,Ft.memoizedState,e,t)}function Bt(e,t,a){return a===void 0||(lu&1073741824)!==0&&(mt&261930)===0?e.memoizedState=t:(e.memoizedState=a,e=lc(),nt.lanes|=e,Zc|=e,a)}function An(e,t,a,s){return Al(a,t)?a:Am.current!==null?(e=Bt(e,a,s),Al(e,t)||(na=!0),e):(lu&42)===0||(lu&1073741824)!==0&&(mt&261930)===0?(na=!0,e.memoizedState=a):(e=lc(),nt.lanes|=e,Zc|=e,t)}function Ms(){ue.asyncTransitions--}function Ds(e,t,a,s,d){var h=Nt.p;Nt.p=h!==0&&h<ca?h:ca;var b=ue.T,w={};w._updatedFibers=new Set,ue.T=w,Zf(e,!1,t,a);try{var R=d(),D=ue.S;if(D!==null&&D(w,R),R!==null&&typeof R=="object"&&typeof R.then=="function"){ue.asyncTransitions++,R.then(Ms,Ms);var Z=Zh(R,s);_s(e,t,Z,va(e))}else _s(e,t,s,va(e))}catch(J){_s(e,t,{then:function(){},status:"rejected",reason:J},va(e))}finally{Nt.p=h,b!==null&&w.types!==null&&(b.types!==null&&b.types!==w.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),b.types=w.types),ue.T=b,b===null&&w._updatedFibers&&(e=w._updatedFibers.size,w._updatedFibers.clear(),10<e&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}function Bo(e,t,a,s){if(e.tag!==5)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var d=Xf(e).queue;db(e),Ds(e,d,t,Wd,a===null?E:function(){return Fu(e),a(s)})}function Xf(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:Wd,baseState:Wd,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:pl,lastRenderedState:Wd},next:null};var a={};return t.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:pl,lastRenderedState:a},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Fu(e){ue.T===null&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var t=Xf(e);t.next===null&&(t=e.alternate.memoizedState),_s(e,t.next.queue,{},va(e))}function _r(){var e=Fh(!1);return e=Ds.bind(null,nt,e.queue,!0,!1),_n().memoizedState=e,[!1,e]}function gb(){var e=Ts(pl)[0],t=Lt().memoizedState;return[typeof e=="boolean"?e:Hf(e),t]}function dn(){var e=As(pl)[0],t=Lt().memoizedState;return[typeof e=="boolean"?e:Hf(e),t]}function Ho(){return jt(sv)}function Qf(){var e=_n(),t=Pt.identifierPrefix;if(Et){var a=Ws,s=Ps;a=(s&~(1<<32-ua(s)-1)).toString(32)+a,t="_"+t+"R_"+a,a=V1++,0<a&&(t+="H"+a.toString(32)),t+="_"}else a=Rk++,t="_"+t+"r_"+a.toString(32)+"_";return e.memoizedState=t}function np(){return _n().memoizedState=yb.bind(null,nt)}function yb(e,t){for(var a=e.return;a!==null;){switch(a.tag){case 24:case 3:var s=va(a),d=Un(s),h=qi(a,d,s);h!==null&&(Hi(s,"refresh()",e),We(h,a,s),Vl(h,a,s)),e=Xh(),t!=null&&h!==null&&console.error("The seed argument is not enabled outside experimental channels."),d.payload={cache:e};return}a=a.return}}function dw(e,t,a){var s=arguments;typeof s[3]=="function"&&console.error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."),s=va(e);var d={lane:s,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null};$n(e)?vn(t,d):(d=ds(e,t,d,s),d!==null&&(Hi(s,"dispatch()",e),We(d,e,s),Kf(d,t,s)))}function ap(e,t,a){var s=arguments;typeof s[3]=="function"&&console.error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."),s=va(e),_s(e,t,a,s)&&Hi(s,"setState()",e)}function _s(e,t,a,s){var d={lane:s,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null};if($n(e))vn(t,d);else{var h=e.alternate;if(e.lanes===0&&(h===null||h.lanes===0)&&(h=t.lastRenderedReducer,h!==null)){var b=ue.H;ue.H=Fo;try{var w=t.lastRenderedState,R=h(w,a);if(d.hasEagerState=!0,d.eagerState=R,Al(R,w))return Uu(e,t,d,0),Pt===null&&Bh(),!1}catch{}finally{ue.H=b}}if(a=ds(e,t,d,s),a!==null)return We(a,e,s),Kf(a,t,s),!0}return!1}function Zf(e,t,a,s){if(ue.T===null&&Ld===0&&console.error("An optimistic state update occurred outside a transition or action. To fix, move the update to an action, or wrap with startTransition."),s={lane:2,revertLane:qg(),gesture:null,action:s,hasEagerState:!1,eagerState:null,next:null},$n(e)){if(t)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else t=ds(e,a,s,2),t!==null&&(Hi(2,"setOptimistic()",e),We(t,e,2))}function $n(e){var t=e.alternate;return e===nt||t!==null&&t===nt}function vn(e,t){Rm=H1=!0;var a=e.pending;a===null?t.next=t:(t.next=a.next,a.next=t),e.pending=t}function Kf(e,t,a){if((a&4194048)!==0){var s=t.lanes;s&=e.pendingLanes,a|=s,t.lanes=a,pf(e,a)}}function Os(e){if(e!==null&&typeof e!="function"){var t=String(e);DR.has(t)||(DR.add(t),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",e))}}function Pu(e,t,a,s){var d=e.memoizedState,h=a(s,d);if(e.mode&el){Ue(!0);try{h=a(s,d)}finally{Ue(!1)}}h===void 0&&(t=re(t)||"Component",CR.has(t)||(CR.add(t),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",t))),d=h==null?d:dt({},d,h),e.memoizedState=d,e.lanes===0&&(e.updateQueue.baseState=d)}function lp(e,t,a,s,d,h,b){var w=e.stateNode;if(typeof w.shouldComponentUpdate=="function"){if(a=w.shouldComponentUpdate(s,h,b),e.mode&el){Ue(!0);try{a=w.shouldComponentUpdate(s,h,b)}finally{Ue(!1)}}return a===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",re(t)||"Component"),a}return t.prototype&&t.prototype.isPureReactComponent?!Nu(a,s)||!Nu(d,h):!0}function Ji(e,t,a,s){var d=t.state;typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(a,s),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(a,s),t.state!==d&&(e=ye(e)||"Component",xR.has(e)||(xR.add(e),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",e)),e2.enqueueReplaceState(t,t.state,null))}function $i(e,t){var a=t;if("ref"in t){a={};for(var s in t)s!=="ref"&&(a[s]=t[s])}if(e=e.defaultProps){a===t&&(a=dt({},a));for(var d in e)a[d]===void 0&&(a[d]=e[d])}return a}function ip(e){_w(e),console.warn(`%s
|
|
129
|
+
|
|
130
|
+
%s
|
|
131
|
+
`,Mm?"An error occurred in the <"+Mm+"> component.":"An error occurred in one of your React components.",`Consider adding an error boundary to your tree to customize error handling behavior.
|
|
132
|
+
Visit https://react.dev/link/error-boundaries to learn more about error boundaries.`)}function op(e){var t=Mm?"The above error occurred in the <"+Mm+"> component.":"The above error occurred in one of your React components.",a="React will try to recreate this component tree from scratch using the error boundary you provided, "+((t2||"Anonymous")+".");if(typeof e=="object"&&e!==null&&typeof e.environmentName=="string"){var s=e.environmentName;e=[`%o
|
|
133
|
+
|
|
134
|
+
%s
|
|
135
|
+
|
|
136
|
+
%s
|
|
137
|
+
`,e,t,a].slice(0),typeof e[0]=="string"?e.splice(0,1,d5+" "+e[0],h5,fS+s+fS,p5):e.splice(0,0,d5,h5,fS+s+fS,p5),e.unshift(console),s=$k.apply(console.error,e),s()}else console.error(`%o
|
|
138
|
+
|
|
139
|
+
%s
|
|
140
|
+
|
|
141
|
+
%s
|
|
142
|
+
`,e,t,a)}function ng(e){_w(e)}function Jf(e,t){try{Mm=t.source?ye(t.source):null,t2=null;var a=t.value;if(ue.actQueue!==null)ue.thrownErrors.push(a);else{var s=e.onUncaughtError;s(a,{componentStack:t.stack})}}catch(d){setTimeout(function(){throw d})}}function ag(e,t,a){try{Mm=a.source?ye(a.source):null,t2=ye(t);var s=e.onCaughtError;s(a.value,{componentStack:a.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(d){setTimeout(function(){throw d})}}function rp(e,t,a){return a=Un(a),a.tag=Jw,a.payload={element:null},a.callback=function(){_e(t.source,Jf,e,t)},a}function sp(e){return e=Un(e),e.tag=Jw,e}function up(e,t,a,s){var d=a.type.getDerivedStateFromError;if(typeof d=="function"){var h=s.value;e.payload=function(){return d(h)},e.callback=function(){hs(a),_e(s.source,ag,t,a,s)}}var b=a.stateNode;b!==null&&typeof b.componentDidCatch=="function"&&(e.callback=function(){hs(a),_e(s.source,ag,t,a,s),typeof d!="function"&&(Jc===null?Jc=new Set([this]):Jc.add(this)),Tk(this,s),typeof d=="function"||(a.lanes&2)===0&&console.error("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",ye(a)||"Unknown")})}function lg(e,t,a,s,d){if(a.flags|=32768,so&&uc(e,d),s!==null&&typeof s=="object"&&typeof s.then=="function"){if(t=a.alternate,t!==null&&li(t,a,d,!0),Et&&(Kr=!0),a=wi.current,a!==null){switch(a.tag){case 31:case 13:return vo===null?oc():a.alternate===null&&Sn===su&&(Sn=G1),a.flags&=-257,a.flags|=65536,a.lanes=d,s===U1?a.flags|=16384:(t=a.updateQueue,t===null?a.updateQueue=new Set([s]):t.add(s),Mp(e,s,d)),!1;case 22:return a.flags|=65536,s===U1?a.flags|=16384:(t=a.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([s])},a.updateQueue=t):(a=t.retryQueue,a===null?t.retryQueue=new Set([s]):a.add(s)),Mp(e,s,d)),!1}throw Error("Unexpected Suspense handler tag ("+a.tag+"). This is a bug in React.")}return Mp(e,s,d),oc(),!1}if(Et)return Kr=!0,t=wi.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=d,s!==Lw&&zf(za(Error("There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.",{cause:s}),a))):(s!==Lw&&zf(za(Error("There was an error while hydrating but React was able to recover by instead client rendering the entire root.",{cause:s}),a)),e=e.current.alternate,e.flags|=65536,d&=-d,e.lanes|=d,s=za(s,a),d=rp(e.stateNode,s,d),jf(e,d),Sn!==Xc&&(Sn=Gd)),!1;var h=za(Error("There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.",{cause:s}),a);if(Wy===null?Wy=[h]:Wy.push(h),Sn!==Xc&&(Sn=Gd),t===null)return!0;s=za(s,a),a=t;do{switch(a.tag){case 3:return a.flags|=65536,e=d&-d,a.lanes|=e,e=rp(a.stateNode,s,e),jf(a,e),!1;case 1:if(t=a.type,h=a.stateNode,(a.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||h!==null&&typeof h.componentDidCatch=="function"&&(Jc===null||!Jc.has(h))))return a.flags|=65536,d&=-d,a.lanes|=d,d=sp(d),up(d,e,a,s),jf(a,d),!1}a=a.return}while(a!==null);return!1}function In(e,t,a,s){t.child=e===null?cR(t,null,a,s):Yd(t,e.child,a,s)}function vb(e,t,a,s,d){a=a.render;var h=t.ref;if("ref"in s){var b={};for(var w in s)w!=="ref"&&(b[w]=s[w])}else b=s;return Sr(t),s=I0(e,t,a,b,h,d),w=Es(),e!==null&&!na?(Lf(e,t,d),ci(e,t,d)):(Et&&w&&Yh(t),t.flags|=1,In(e,t,s,d),t.child)}function ig(e,t,a,s,d){if(e===null){var h=a.type;return typeof h=="function"&&!L0(h)&&h.defaultProps===void 0&&a.compare===null?(a=mr(h),t.tag=15,t.type=a,Wu(t,h),og(e,t,a,s,d)):(e=ps(a.type,null,s,t,t.mode,d),e.ref=t.ref,e.return=t,t.child=e)}if(h=e.child,!pp(e,d)){var b=h.memoizedProps;if(a=a.compare,a=a!==null?a:Nu,a(b,s)&&e.ref===t.ref)return ci(e,t,d)}return t.flags|=1,e=Bi(h,s),e.ref=t.ref,e.return=t,t.child=e}function og(e,t,a,s,d){if(e!==null){var h=e.memoizedProps;if(Nu(h,s)&&e.ref===t.ref&&t.type===e.type)if(na=!1,t.pendingProps=s=h,pp(e,d))(e.flags&131072)!==0&&(na=!0);else return t.lanes=e.lanes,ci(e,t,d)}return cg(e,t,a,s,d)}function rg(e,t,a,s){var d=s.children,h=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:Ry,_pendingMarkers:null,_retryCache:null,_transitions:null}),s.mode==="hidden"){if((t.flags&128)!==0){if(h=h!==null?h.baseLanes|a:a,e!==null){for(s=t.child=e.child,d=0;s!==null;)d=d|s.lanes|s.childLanes,s=s.sibling;s=d&~h}else s=0,t.child=null;return sg(e,t,h,a,s)}if((a&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&Yu(t,h!==null?h.cachePool:null),h!==null?$h(t,h):jo(t),Ih(t);else return s=t.lanes=536870912,sg(e,t,h!==null?h.baseLanes|a:a,a,s)}else h!==null?(Yu(t,h.cachePool),$h(t,h),Xi(t),t.memoizedState=null):(e!==null&&Yu(t,null),jo(t),Xi(t));return In(e,t,d,a),t.child}function js(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:Ry,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function sg(e,t,a,s,d){var h=Oo();return h=h===null?null:{parent:Wn._currentValue,pool:h},t.memoizedState={baseLanes:a,cachePool:h},e!==null&&Yu(t,null),jo(t),Ih(t),e!==null&&li(e,t,s,!0),t.childLanes=d,null}function $f(e,t){var a=t.hidden;return a!==void 0&&console.error(`<Activity> doesn't accept a hidden prop. Use mode="hidden" instead.
|
|
143
|
+
- <Activity %s>
|
|
144
|
+
+ <Activity %s>`,a===!0?"hidden":a===!1?"hidden={false}":"hidden={...}",a?'mode="hidden"':'mode="visible"'),t=Ff({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function ug(e,t,a){return Yd(t,e.child,null,a),e=$f(t,t.pendingProps),e.flags|=2,Jn(t),t.memoizedState=null,e}function bb(e,t,a){var s=t.pendingProps,d=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(Et){if(s.mode==="hidden")return e=$f(t,s),t.lanes=536870912,js(null,e);if(si(t),(e=sn)?(a=Vt(e,go),a=a!==null&&a.data===$d?a:null,a!==null&&(s={dehydrated:a,treeContext:ub(),retryLane:536870912,hydrationErrors:null},t.memoizedState=s,s=H0(a),s.return=t,t.child=s,qa=t,sn=null)):a=null,a===null)throw ya(t,e),Nl(t);return t.lanes=536870912,null}return $f(t,s)}var h=e.memoizedState;if(h!==null){var b=h.dehydrated;if(si(t),d)if(t.flags&256)t.flags&=-257,t=ug(e,t,a);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error("Client rendering an Activity suspended it again. This is a bug in React.");else if(fb(),(a&536870912)!==0&&ic(t),na||li(e,t,a,!1),d=(a&e.childLanes)!==0,na||d){if(s=Pt,s!==null&&(b=as(s,a),b!==0&&b!==h.retryLane))throw h.retryLane=b,ga(e,b),We(s,e,b),n2;oc(),t=ug(e,t,a)}else e=h.treeContext,sn=xl(b.nextSibling),qa=t,Et=!0,Bc=null,Kr=!1,xi=null,go=!1,e!==null&&cb(t,e),t=$f(t,s),t.flags|=4096;return t}return h=e.child,s={mode:s.mode,children:s.children},(a&536870912)!==0&&(a&e.lanes)!==0&&ic(t),e=Bi(h,s),e.ref=t.ref,t.child=e,e.return=t,e}function If(e,t){var a=t.ref;if(a===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof a!="function"&&typeof a!="object")throw Error("Expected ref to be a function, an object returned by React.createRef(), or undefined/null.");(e===null||e.ref!==a)&&(t.flags|=4194816)}}function cg(e,t,a,s,d){if(a.prototype&&typeof a.prototype.render=="function"){var h=re(a)||"Unknown";_R[h]||(console.error("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",h,h),_R[h]=!0)}return t.mode&el&&Io.recordLegacyContextWarning(t,null),e===null&&(Wu(t,t.type),a.contextTypes&&(h=re(a)||"Unknown",jR[h]||(jR[h]=!0,console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with React.useContext() instead. (https://react.dev/link/legacy-context)",h)))),Sr(t),a=I0(e,t,a,s,void 0,d),s=Es(),e!==null&&!na?(Lf(e,t,d),ci(e,t,d)):(Et&&s&&Yh(t),t.flags|=1,In(e,t,a,d),t.child)}function fg(e,t,a,s,d,h){return Sr(t),ou=-1,Zy=e!==null&&e.type!==t.type,t.updateQueue=null,a=Nf(t,s,a,d),Tn(e,t),s=Es(),e!==null&&!na?(Lf(e,t,h),ci(e,t,h)):(Et&&s&&Yh(t),t.flags|=1,In(e,t,a,h),t.child)}function ks(e,t,a,s,d){switch(y(t)){case!1:var h=t.stateNode,b=new t.type(t.memoizedProps,h.context).state;h.updater.enqueueSetState(h,b,null);break;case!0:t.flags|=128,t.flags|=65536,h=Error("Simulated error coming from DevTools");var w=d&-d;if(t.lanes|=w,b=Pt,b===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");w=sp(w),up(w,b,t,za(h,t)),jf(t,w)}if(Sr(t),t.stateNode===null){if(b=Lc,h=a.contextType,"contextType"in a&&h!==null&&(h===void 0||h.$$typeof!==vi)&&!MR.has(a)&&(MR.add(a),w=h===void 0?" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof h!="object"?" However, it is set to a "+typeof h+".":h.$$typeof===Fp?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(h).join(", ")+"}.",console.error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",re(a)||"Component",w)),typeof h=="object"&&h!==null&&(b=jt(h)),h=new a(s,b),t.mode&el){Ue(!0);try{h=new a(s,b)}finally{Ue(!1)}}if(b=t.memoizedState=h.state!==null&&h.state!==void 0?h.state:null,h.updater=e2,t.stateNode=h,h._reactInternals=t,h._reactInternalInstance=SR,typeof a.getDerivedStateFromProps=="function"&&b===null&&(b=re(a)||"Component",wR.has(b)||(wR.add(b),console.error("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",b,h.state===null?"null":"undefined",b))),typeof a.getDerivedStateFromProps=="function"||typeof h.getSnapshotBeforeUpdate=="function"){var R=w=b=null;if(typeof h.componentWillMount=="function"&&h.componentWillMount.__suppressDeprecationWarning!==!0?b="componentWillMount":typeof h.UNSAFE_componentWillMount=="function"&&(b="UNSAFE_componentWillMount"),typeof h.componentWillReceiveProps=="function"&&h.componentWillReceiveProps.__suppressDeprecationWarning!==!0?w="componentWillReceiveProps":typeof h.UNSAFE_componentWillReceiveProps=="function"&&(w="UNSAFE_componentWillReceiveProps"),typeof h.componentWillUpdate=="function"&&h.componentWillUpdate.__suppressDeprecationWarning!==!0?R="componentWillUpdate":typeof h.UNSAFE_componentWillUpdate=="function"&&(R="UNSAFE_componentWillUpdate"),b!==null||w!==null||R!==null){h=re(a)||"Component";var D=typeof a.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";TR.has(h)||(TR.add(h),console.error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
145
|
+
|
|
146
|
+
%s uses %s but also contains the following legacy lifecycles:%s%s%s
|
|
147
|
+
|
|
148
|
+
The above lifecycles should be removed. Learn more about this warning here:
|
|
149
|
+
https://react.dev/link/unsafe-component-lifecycles`,h,D,b!==null?`
|
|
150
|
+
`+b:"",w!==null?`
|
|
151
|
+
`+w:"",R!==null?`
|
|
152
|
+
`+R:""))}}h=t.stateNode,b=re(a)||"Component",h.render||(a.prototype&&typeof a.prototype.render=="function"?console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?",b):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",b)),!h.getInitialState||h.getInitialState.isReactClassApproved||h.state||console.error("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",b),h.getDefaultProps&&!h.getDefaultProps.isReactClassApproved&&console.error("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",b),h.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",b),a.childContextTypes&&!RR.has(a)&&(RR.add(a),console.error("%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)",b)),a.contextTypes&&!zR.has(a)&&(zR.add(a),console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with static contextType instead. (https://react.dev/link/legacy-context)",b)),typeof h.componentShouldUpdate=="function"&&console.error("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",b),a.prototype&&a.prototype.isPureReactComponent&&typeof h.shouldComponentUpdate<"u"&&console.error("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",re(a)||"A pure component"),typeof h.componentDidUnmount=="function"&&console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",b),typeof h.componentDidReceiveProps=="function"&&console.error("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",b),typeof h.componentWillRecieveProps=="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",b),typeof h.UNSAFE_componentWillRecieveProps=="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",b),w=h.props!==s,h.props!==void 0&&w&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",b),h.defaultProps&&console.error("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",b,b),typeof h.getSnapshotBeforeUpdate!="function"||typeof h.componentDidUpdate=="function"||ER.has(a)||(ER.add(a),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",re(a))),typeof h.getDerivedStateFromProps=="function"&&console.error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",b),typeof h.getDerivedStateFromError=="function"&&console.error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",b),typeof a.getSnapshotBeforeUpdate=="function"&&console.error("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",b),(w=h.state)&&(typeof w!="object"||jn(w))&&console.error("%s.state: must be set to an object or null",b),typeof h.getChildContext=="function"&&typeof a.childContextTypes!="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",b),h=t.stateNode,h.props=s,h.state=t.memoizedState,h.refs={},xt(t),b=a.contextType,h.context=typeof b=="object"&&b!==null?jt(b):Lc,h.state===s&&(b=re(a)||"Component",AR.has(b)||(AR.add(b),console.error("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",b))),t.mode&el&&Io.recordLegacyContextWarning(t,h),Io.recordUnsafeLifecycleWarnings(t,h),h.state=t.memoizedState,b=a.getDerivedStateFromProps,typeof b=="function"&&(Pu(t,a,b,s),h.state=t.memoizedState),typeof a.getDerivedStateFromProps=="function"||typeof h.getSnapshotBeforeUpdate=="function"||typeof h.UNSAFE_componentWillMount!="function"&&typeof h.componentWillMount!="function"||(b=h.state,typeof h.componentWillMount=="function"&&h.componentWillMount(),typeof h.UNSAFE_componentWillMount=="function"&&h.UNSAFE_componentWillMount(),b!==h.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",ye(t)||"Component"),e2.enqueueReplaceState(h,h.state,null)),Gi(t,s,h,d),Gu(),h.state=t.memoizedState),typeof h.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&$o)!==Pe&&(t.flags|=134217728),h=!0}else if(e===null){h=t.stateNode;var Z=t.memoizedProps;w=$i(a,Z),h.props=w;var J=h.context;R=a.contextType,b=Lc,typeof R=="object"&&R!==null&&(b=jt(R)),D=a.getDerivedStateFromProps,R=typeof D=="function"||typeof h.getSnapshotBeforeUpdate=="function",Z=t.pendingProps!==Z,R||typeof h.UNSAFE_componentWillReceiveProps!="function"&&typeof h.componentWillReceiveProps!="function"||(Z||J!==b)&&Ji(t,h,s,b),Gc=!1;var B=t.memoizedState;h.state=B,Gi(t,s,h,d),Gu(),J=t.memoizedState,Z||B!==J||Gc?(typeof D=="function"&&(Pu(t,a,D,s),J=t.memoizedState),(w=Gc||lp(t,a,w,s,B,J,b))?(R||typeof h.UNSAFE_componentWillMount!="function"&&typeof h.componentWillMount!="function"||(typeof h.componentWillMount=="function"&&h.componentWillMount(),typeof h.UNSAFE_componentWillMount=="function"&&h.UNSAFE_componentWillMount()),typeof h.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&$o)!==Pe&&(t.flags|=134217728)):(typeof h.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&$o)!==Pe&&(t.flags|=134217728),t.memoizedProps=s,t.memoizedState=J),h.props=s,h.state=J,h.context=b,h=w):(typeof h.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&$o)!==Pe&&(t.flags|=134217728),h=!1)}else{h=t.stateNode,Yi(e,t),b=t.memoizedProps,R=$i(a,b),h.props=R,D=t.pendingProps,B=h.context,J=a.contextType,w=Lc,typeof J=="object"&&J!==null&&(w=jt(J)),Z=a.getDerivedStateFromProps,(J=typeof Z=="function"||typeof h.getSnapshotBeforeUpdate=="function")||typeof h.UNSAFE_componentWillReceiveProps!="function"&&typeof h.componentWillReceiveProps!="function"||(b!==D||B!==w)&&Ji(t,h,s,w),Gc=!1,B=t.memoizedState,h.state=B,Gi(t,s,h,d),Gu();var oe=t.memoizedState;b!==D||B!==oe||Gc||e!==null&&e.dependencies!==null&&Hu(e.dependencies)?(typeof Z=="function"&&(Pu(t,a,Z,s),oe=t.memoizedState),(R=Gc||lp(t,a,R,s,B,oe,w)||e!==null&&e.dependencies!==null&&Hu(e.dependencies))?(J||typeof h.UNSAFE_componentWillUpdate!="function"&&typeof h.componentWillUpdate!="function"||(typeof h.componentWillUpdate=="function"&&h.componentWillUpdate(s,oe,w),typeof h.UNSAFE_componentWillUpdate=="function"&&h.UNSAFE_componentWillUpdate(s,oe,w)),typeof h.componentDidUpdate=="function"&&(t.flags|=4),typeof h.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof h.componentDidUpdate!="function"||b===e.memoizedProps&&B===e.memoizedState||(t.flags|=4),typeof h.getSnapshotBeforeUpdate!="function"||b===e.memoizedProps&&B===e.memoizedState||(t.flags|=1024),t.memoizedProps=s,t.memoizedState=oe),h.props=s,h.state=oe,h.context=w,h=R):(typeof h.componentDidUpdate!="function"||b===e.memoizedProps&&B===e.memoizedState||(t.flags|=4),typeof h.getSnapshotBeforeUpdate!="function"||b===e.memoizedProps&&B===e.memoizedState||(t.flags|=1024),h=!1)}if(w=h,If(e,t),b=(t.flags&128)!==0,w||b){if(w=t.stateNode,or(t),b&&typeof a.getDerivedStateFromError!="function")a=null,Cl=-1;else if(a=Iz(w),t.mode&el){Ue(!0);try{Iz(w)}finally{Ue(!1)}}t.flags|=1,e!==null&&b?(t.child=Yd(t,e.child,null,d),t.child=Yd(t,null,a,d)):In(e,t,a,d),t.memoizedState=w.state,e=t.child}else e=ci(e,t,d);return d=t.stateNode,h&&d.props!==s&&(Dm||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",ye(t)||"a component"),Dm=!0),e}function dg(e,t,a,s){return vr(),t.flags|=256,In(e,t,a,s),t.child}function Wu(e,t){t&&t.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
|
|
153
|
+
%s.childContextTypes = ...`,t.displayName||t.name||"Component"),typeof t.getDerivedStateFromProps=="function"&&(e=re(t)||"Unknown",kR[e]||(console.error("%s: Function components do not support getDerivedStateFromProps.",e),kR[e]=!0)),typeof t.contextType=="object"&&t.contextType!==null&&(t=re(t)||"Unknown",OR[t]||(console.error("%s: Function components do not support contextType.",t),OR[t]=!0))}function ec(e){return{baseLanes:e,cachePool:Q0()}}function cp(e,t,a){return e=e!==null?e.childLanes&~a:0,t&&(e|=Jl),e}function fp(e,t,a){var s,d=t.pendingProps;g(t)&&(t.flags|=128);var h=!1,b=(t.flags&128)!==0;if((s=b)||(s=e!==null&&e.memoizedState===null?!1:(Yn.current&Xy)!==0),s&&(h=!0,t.flags&=-129),s=(t.flags&32)!==0,t.flags&=-33,e===null){if(Et){if(h?_a(t):Xi(t),(e=sn)?(a=Vt(e,go),a=a!==null&&a.data!==$d?a:null,a!==null&&(s={dehydrated:a,treeContext:ub(),retryLane:536870912,hydrationErrors:null},t.memoizedState=s,s=H0(a),s.return=t,t.child=s,qa=t,sn=null)):a=null,a===null)throw ya(t,e),Nl(t);return Qg(a)?t.lanes=32:t.lanes=536870912,null}var w=d.children;if(d=d.fallback,h){Xi(t);var R=t.mode;return w=Ff({mode:"hidden",children:w},R),d=ms(d,R,a,null),w.return=t,d.return=t,w.sibling=d,t.child=w,d=t.child,d.memoizedState=ec(a),d.childLanes=cp(e,s,a),t.memoizedState=a2,js(null,d)}return _a(t),hg(t,w)}var D=e.memoizedState;if(D!==null){var Z=D.dehydrated;if(Z!==null){if(b)t.flags&256?(_a(t),t.flags&=-257,t=dp(e,t,a)):t.memoizedState!==null?(Xi(t),t.child=e.child,t.flags|=128,t=null):(Xi(t),w=d.fallback,R=t.mode,d=Ff({mode:"visible",children:d.children},R),w=ms(w,R,a,null),w.flags|=2,d.return=t,w.return=t,d.sibling=w,t.child=d,Yd(t,e.child,null,a),d=t.child,d.memoizedState=ec(a),d.childLanes=cp(e,s,a),t.memoizedState=a2,t=js(null,d));else if(_a(t),fb(),(a&536870912)!==0&&ic(t),Qg(Z)){if(s=Z.nextSibling&&Z.nextSibling.dataset,s){w=s.dgst;var J=s.msg;R=s.stck;var B=s.cstck}h=J,s=w,d=R,Z=B,w=h,R=Z,w=Error(w||"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),w.stack=d||"",w.digest=s,s=R===void 0?null:R,d={value:w,source:null,stack:s},typeof s=="string"&&Uw.set(w,d),zf(d),t=dp(e,t,a)}else if(na||li(e,t,a,!1),s=(a&e.childLanes)!==0,na||s){if(s=Pt,s!==null&&(d=as(s,a),d!==0&&d!==D.retryLane))throw D.retryLane=d,ga(e,d),We(s,e,d),n2;md(Z)||oc(),t=dp(e,t,a)}else md(Z)?(t.flags|=192,t.child=e.child,t=null):(e=D.treeContext,sn=xl(Z.nextSibling),qa=t,Et=!0,Bc=null,Kr=!1,xi=null,go=!1,e!==null&&cb(t,e),t=hg(t,d.children),t.flags|=4096);return t}}return h?(Xi(t),w=d.fallback,R=t.mode,B=e.child,Z=B.sibling,d=Bi(B,{mode:"hidden",children:d.children}),d.subtreeFlags=B.subtreeFlags&65011712,Z!==null?w=Bi(Z,w):(w=ms(w,R,a,null),w.flags|=2),w.return=t,d.return=t,d.sibling=w,t.child=d,js(null,d),d=t.child,w=e.child.memoizedState,w===null?w=ec(a):(R=w.cachePool,R!==null?(B=Wn._currentValue,R=R.parent!==B?{parent:B,pool:B}:R):R=Q0(),w={baseLanes:w.baseLanes|a,cachePool:R}),d.memoizedState=w,d.childLanes=cp(e,s,a),t.memoizedState=a2,js(e.child,d)):(D!==null&&(a&62914560)===a&&(a&e.lanes)!==0&&ic(t),_a(t),a=e.child,e=a.sibling,a=Bi(a,{mode:"visible",children:d.children}),a.return=t,a.sibling=null,e!==null&&(s=t.deletions,s===null?(t.deletions=[e],t.flags|=16):s.push(e)),t.child=a,t.memoizedState=null,a)}function hg(e,t){return t=Ff({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function Ff(e,t){return e=z(22,e,null,t),e.lanes=0,e}function dp(e,t,a){return Yd(t,e.child,null,a),e=hg(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function pg(e,t,a){e.lanes|=t;var s=e.alternate;s!==null&&(s.lanes|=t),Gh(e.return,t,a)}function hp(e,t,a,s,d,h){var b=e.memoizedState;b===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:s,tail:a,tailMode:d,treeForkCount:h}:(b.isBackwards=t,b.rendering=null,b.renderingStartTime=0,b.last=s,b.tail=a,b.tailMode=d,b.treeForkCount=h)}function mg(e,t,a){var s=t.pendingProps,d=s.revealOrder,h=s.tail,b=s.children,w=Yn.current;if((s=(w&Xy)!==0)?(w=w&Cm|Xy,t.flags|=128):w&=Cm,Re(Yn,w,t),w=d??"null",d!=="forwards"&&d!=="unstable_legacy-backwards"&&d!=="together"&&d!=="independent"&&!NR[w])if(NR[w]=!0,d==null)console.error('The default for the <SuspenseList revealOrder="..."> prop is changing. To be future compatible you must explictly specify either "independent" (the current default), "together", "forwards" or "legacy_unstable-backwards".');else if(d==="backwards")console.error('The rendering order of <SuspenseList revealOrder="backwards"> is changing. To be future compatible you must specify revealOrder="legacy_unstable-backwards" instead.');else if(typeof d=="string")switch(d.toLowerCase()){case"together":case"forwards":case"backwards":case"independent":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',d,d.toLowerCase());break;case"forward":case"backward":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',d,d.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',d)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',d);w=h??"null",q1[w]||(h==null?(d==="forwards"||d==="backwards"||d==="unstable_legacy-backwards")&&(q1[w]=!0,console.error('The default for the <SuspenseList tail="..."> prop is changing. To be future compatible you must explictly specify either "visible" (the current default), "collapsed" or "hidden".')):h!=="visible"&&h!=="collapsed"&&h!=="hidden"?(q1[w]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "visible", "collapsed" or "hidden"?',h)):d!=="forwards"&&d!=="backwards"&&d!=="unstable_legacy-backwards"&&(q1[w]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',h)));e:if((d==="forwards"||d==="backwards"||d==="unstable_legacy-backwards")&&b!==void 0&&b!==null&&b!==!1)if(jn(b)){for(w=0;w<b.length;w++)if(!Jt(b[w],w))break e}else if(w=he(b),typeof w=="function"){if(w=w.call(b))for(var R=w.next(),D=0;!R.done;R=w.next()){if(!Jt(R.value,D))break e;D++}}else console.error('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',d);if(In(e,t,b,a),Et?(yr(),b=My):b=0,!s&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&pg(e,a,t);else if(e.tag===19)pg(e,a,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}switch(d){case"forwards":for(a=t.child,d=null;a!==null;)e=a.alternate,e!==null&&ws(e)===null&&(d=a),a=a.sibling;a=d,a===null?(d=t.child,t.child=null):(d=a.sibling,a.sibling=null),hp(t,!1,d,a,h,b);break;case"backwards":case"unstable_legacy-backwards":for(a=null,d=t.child,t.child=null;d!==null;){if(e=d.alternate,e!==null&&ws(e)===null){t.child=d;break}e=d.sibling,d.sibling=a,a=d,d=e}hp(t,!0,a,null,h,b);break;case"together":hp(t,!1,null,null,void 0,b);break;default:t.memoizedState=null}return t.child}function ci(e,t,a){if(e!==null&&(t.dependencies=e.dependencies),Cl=-1,Zc|=t.lanes,(a&t.childLanes)===0)if(e!==null){if(li(e,t,a,!1),(a&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error("Resuming work not yet implemented.");if(t.child!==null){for(e=t.child,a=Bi(e,e.pendingProps),t.child=a,a.return=t;e.sibling!==null;)e=e.sibling,a=a.sibling=Bi(e,e.pendingProps),a.return=t;a.sibling=null}return t.child}function pp(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&Hu(e)))}function Sb(e,t,a){switch(t.tag){case 3:lt(t,t.stateNode.containerInfo),Ul(t,Wn,e.memoizedState.cache),vr();break;case 27:case 5:fe(t);break;case 4:lt(t,t.stateNode.containerInfo);break;case 10:Ul(t,t.type,t.memoizedProps.value);break;case 12:(a&t.childLanes)!==0&&(t.flags|=4),t.flags|=2048;var s=t.stateNode;s.effectDuration=-0,s.passiveEffectDuration=-0;break;case 31:if(t.memoizedState!==null)return t.flags|=128,si(t),null;break;case 13:if(s=t.memoizedState,s!==null)return s.dehydrated!==null?(_a(t),t.flags|=128,null):(a&t.child.childLanes)!==0?fp(e,t,a):(_a(t),e=ci(e,t,a),e!==null?e.sibling:null);_a(t);break;case 19:var d=(e.flags&128)!==0;if(s=(a&t.childLanes)!==0,s||(li(e,t,a,!1),s=(a&t.childLanes)!==0),d){if(s)return mg(e,t,a);t.flags|=128}if(d=t.memoizedState,d!==null&&(d.rendering=null,d.tail=null,d.lastEffect=null),Re(Yn,Yn.current,t),s)break;return null;case 22:return t.lanes=0,rg(e,t,a,t.pendingProps);case 24:Ul(t,Wn,e.memoizedState.cache)}return ci(e,t,a)}function Pf(e,t,a){if(t._debugNeedsRemount&&e!==null){a=ps(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes),a._debugStack=t._debugStack,a._debugTask=t._debugTask;var s=t.return;if(s===null)throw Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,a.index=t.index,a.sibling=t.sibling,a.return=t.return,a.ref=t.ref,a._debugInfo=t._debugInfo,t===s.child)s.child=a;else{var d=s.child;if(d===null)throw Error("Expected parent to have a child.");for(;d.sibling!==t;)if(d=d.sibling,d===null)throw Error("Expected to find the previous sibling.");d.sibling=a}return t=s.deletions,t===null?(s.deletions=[e],s.flags|=16):t.push(e),a.flags|=2,a}if(e!==null)if(e.memoizedProps!==t.pendingProps||t.type!==e.type)na=!0;else{if(!pp(e,a)&&(t.flags&128)===0)return na=!1,Sb(e,t,a);na=(e.flags&131072)!==0}else na=!1,(s=Et)&&(yr(),s=(t.flags&1048576)!==0),s&&(s=t.index,yr(),V0(t,My,s));switch(t.lanes=0,t.tag){case 16:e:if(s=t.pendingProps,e=dl(t.elementType),t.type=e,typeof e=="function")L0(e)?(s=$i(e,s),t.tag=1,t.type=e=mr(e),t=ks(null,t,e,s,a)):(t.tag=0,Wu(t,e),t.type=e=mr(e),t=cg(null,t,e,s,a));else{if(e!=null){if(d=e.$$typeof,d===Ec){t.tag=11,t.type=e=Hh(e),t=vb(null,t,e,s,a);break e}else if(d===Ad){t.tag=14,t=ig(null,t,e,s,a);break e}}throw t="",e!==null&&typeof e=="object"&&e.$$typeof===ba&&(t=" Did you wrap a component in React.lazy() more than once?"),a=re(e)||e,Error("Element type is invalid. Received a promise that resolves to: "+a+". Lazy element type must resolve to a class or function."+t)}return t;case 0:return cg(e,t,t.type,t.pendingProps,a);case 1:return s=t.type,d=$i(s,t.pendingProps),ks(e,t,s,d,a);case 3:e:{if(lt(t,t.stateNode.containerInfo),e===null)throw Error("Should have a current fiber. This is a bug in React.");s=t.pendingProps;var h=t.memoizedState;d=h.element,Yi(e,t),Gi(t,s,null,a);var b=t.memoizedState;if(s=b.cache,Ul(t,Wn,s),s!==h.cache&&Mo(t,[Wn],a,!0),Gu(),s=b.element,h.isDehydrated)if(h={element:s,isDehydrated:!1,cache:b.cache},t.updateQueue.baseState=h,t.memoizedState=h,t.flags&256){t=dg(e,t,s,a);break e}else if(s!==d){d=za(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t),zf(d),t=dg(e,t,s,a);break e}else for(e=t.stateNode.containerInfo,e.nodeType===9?e=e.body:e=e.nodeName==="HTML"?e.ownerDocument.body:e,sn=xl(e.firstChild),qa=t,Et=!0,Bc=null,Kr=!1,xi=null,go=!0,a=cR(t,null,s,a),t.child=a;a;)a.flags=a.flags&-3|4096,a=a.sibling;else{if(vr(),s===d){t=ci(e,t,a);break e}In(e,t,s,a)}t=t.child}return t;case 26:return If(e,t),e===null?(a=$g(t.type,null,t.pendingProps,null))?t.memoizedState=a:Et||(a=t.type,e=t.pendingProps,s=Ke(wl.current),s=hd(s).createElement(a),s[on]=t,s[Ya]=e,ln(s,a,e),He(s),t.stateNode=s):t.memoizedState=$g(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return fe(t),e===null&&Et&&(s=Ke(wl.current),d=I(),s=t.stateNode=Qo(t.type,t.pendingProps,s,d,!1),Kr||(d=Fa(s,t.type,t.pendingProps,d),d!==null&&(gs(t,0).serverProps=d)),qa=t,go=!0,d=sn,Vr(t.type)?(C2=d,sn=xl(s.firstChild)):sn=d),In(e,t,t.pendingProps.children,a),If(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&Et&&(h=I(),s=yf(t.type,h.ancestorInfo),d=sn,(b=!d)||(b=Ib(d,t.type,t.pendingProps,go),b!==null?(t.stateNode=b,Kr||(h=Fa(b,t.type,t.pendingProps,h),h!==null&&(gs(t,0).serverProps=h)),qa=t,sn=xl(b.firstChild),go=!1,h=!0):h=!1,b=!h),b&&(s&&ya(t,d),Nl(t))),fe(t),d=t.type,h=t.pendingProps,b=e!==null?e.memoizedProps:null,s=h.children,pc(d,h)?s=null:b!==null&&pc(d,b)&&(t.flags|=32),t.memoizedState!==null&&(d=I0(e,t,Uf,null,null,a),sv._currentValue=d),If(e,t),In(e,t,s,a),t.child;case 6:return e===null&&Et&&(a=t.pendingProps,e=I(),s=e.ancestorInfo.current,a=s!=null?vf(a,s.tag,e.ancestorInfo.implicitRootScope):!0,e=sn,(s=!e)||(s=Fb(e,t.pendingProps,go),s!==null?(t.stateNode=s,qa=t,sn=null,s=!0):s=!1,s=!s),s&&(a&&ya(t,e),Nl(t))),null;case 13:return fp(e,t,a);case 4:return lt(t,t.stateNode.containerInfo),s=t.pendingProps,e===null?t.child=Yd(t,null,s,a):In(e,t,s,a),t.child;case 11:return vb(e,t,t.type,t.pendingProps,a);case 7:return In(e,t,t.pendingProps,a),t.child;case 8:return In(e,t,t.pendingProps.children,a),t.child;case 12:return t.flags|=4,t.flags|=2048,s=t.stateNode,s.effectDuration=-0,s.passiveEffectDuration=-0,In(e,t,t.pendingProps.children,a),t.child;case 10:return s=t.type,d=t.pendingProps,h=d.value,"value"in d||UR||(UR=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),Ul(t,s,h),In(e,t,d.children,a),t.child;case 9:return d=t.type._context,s=t.pendingProps.children,typeof s!="function"&&console.error("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."),Sr(t),d=jt(d),s=Xw(s,d,void 0),t.flags|=1,In(e,t,s,a),t.child;case 14:return ig(e,t,t.type,t.pendingProps,a);case 15:return og(e,t,t.type,t.pendingProps,a);case 19:return mg(e,t,a);case 31:return bb(e,t,a);case 22:return rg(e,t,a,t.pendingProps);case 24:return Sr(t),s=jt(Wn),e===null?(d=Oo(),d===null&&(d=Pt,h=Xh(),d.pooledCache=h,vs(h),h!==null&&(d.pooledCacheLanes|=a),d=h),t.memoizedState={parent:s,cache:d},xt(t),Ul(t,Wn,d)):((e.lanes&a)!==0&&(Yi(e,t),Gi(t,null,null,a),Gu()),d=e.memoizedState,h=t.memoizedState,d.parent!==s?(d={parent:s,cache:s},t.memoizedState=d,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=d),Ul(t,Wn,s)):(s=h.cache,Ul(t,Wn,s),s!==d.cache&&Mo(t,[Wn],a,!0))),In(e,t,t.pendingProps.children,a),t.child;case 29:throw t.pendingProps}throw Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Ii(e){e.flags|=4}function mp(e,t,a,s,d){if((t=(e.mode&bk)!==Pe)&&(t=!1),t){if(e.flags|=16777216,(d&335544128)===d)if(e.stateNode.complete)e.flags|=8192;else if(jg())e.flags|=8192;else throw Vd=U1,Zw}else e.flags&=-16777217}function xb(e,t){if(t.type!=="stylesheet"||(t.state.loading&xo)!==Pd)e.flags&=-16777217;else if(e.flags|=16777216,!St(t))if(jg())e.flags|=8192;else throw Vd=U1,Zw}function tc(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?Eu():536870912,e.lanes|=t,Zd|=t)}function nc(e,t){if(!Et)switch(e.tailMode){case"hidden":t=e.tail;for(var a=null;t!==null;)t.alternate!==null&&(a=t),t=t.sibling;a===null?e.tail=null:a.sibling=null;break;case"collapsed":a=e.tail;for(var s=null;a!==null;)a.alternate!==null&&(s=a),a=a.sibling;s===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:s.sibling=null}}function qt(e){var t=e.alternate!==null&&e.alternate.child===e.child,a=0,s=0;if(t)if((e.mode&ht)!==Pe){for(var d=e.selfBaseDuration,h=e.child;h!==null;)a|=h.lanes|h.childLanes,s|=h.subtreeFlags&65011712,s|=h.flags&65011712,d+=h.treeBaseDuration,h=h.sibling;e.treeBaseDuration=d}else for(d=e.child;d!==null;)a|=d.lanes|d.childLanes,s|=d.subtreeFlags&65011712,s|=d.flags&65011712,d.return=e,d=d.sibling;else if((e.mode&ht)!==Pe){d=e.actualDuration,h=e.selfBaseDuration;for(var b=e.child;b!==null;)a|=b.lanes|b.childLanes,s|=b.subtreeFlags,s|=b.flags,d+=b.actualDuration,h+=b.treeBaseDuration,b=b.sibling;e.actualDuration=d,e.treeBaseDuration=h}else for(d=e.child;d!==null;)a|=d.lanes|d.childLanes,s|=d.subtreeFlags,s|=d.flags,d.return=e,d=d.sibling;return e.subtreeFlags|=s,e.childLanes=a,t}function gg(e,t,a){var s=t.pendingProps;switch(qh(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return qt(t),null;case 1:return qt(t),null;case 3:return a=t.stateNode,s=null,e!==null&&(s=e.memoizedState.cache),t.memoizedState.cache!==s&&(t.flags|=2048),ai(Wn,t),G(t),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(e===null||e.child===null)&&(ys(t)?(br(),Ii(t)):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Cf())),qt(t),null;case 26:var d=t.type,h=t.memoizedState;return e===null?(Ii(t),h!==null?(qt(t),xb(t,h)):(qt(t),mp(t,d,null,s,a))):h?h!==e.memoizedState?(Ii(t),qt(t),xb(t,h)):(qt(t),t.flags&=-16777217):(e=e.memoizedProps,e!==s&&Ii(t),qt(t),mp(t,d,e,s,a)),null;case 27:if(Ae(t),a=Ke(wl.current),d=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==s&&Ii(t);else{if(!s){if(t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return qt(t),null}e=I(),ys(t)?Y0(t):(e=Qo(d,s,a,e,!0),t.stateNode=e,Ii(t))}return qt(t),null;case 5:if(Ae(t),d=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==s&&Ii(t);else{if(!s){if(t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return qt(t),null}var b=I();if(ys(t))Y0(t);else{switch(h=Ke(wl.current),yf(d,b.ancestorInfo),b=b.context,h=hd(h),b){case Bm:h=h.createElementNS(ct,d);break;case sS:h=h.createElementNS(ot,d);break;default:switch(d){case"svg":h=h.createElementNS(ct,d);break;case"math":h=h.createElementNS(ot,d);break;case"script":h=h.createElement("div"),h.innerHTML="<script><\/script>",h=h.removeChild(h.firstChild);break;case"select":h=typeof s.is=="string"?h.createElement("select",{is:s.is}):h.createElement("select"),s.multiple?h.multiple=!0:s.size&&(h.size=s.size);break;default:h=typeof s.is=="string"?h.createElement(d,{is:s.is}):h.createElement(d),d.indexOf("-")===-1&&(d!==d.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",d),Object.prototype.toString.call(h)!=="[object HTMLUnknownElement]"||El.call(o5,d)||(o5[d]=!0,console.error("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",d)))}}h[on]=t,h[Ya]=s;e:for(b=t.child;b!==null;){if(b.tag===5||b.tag===6)h.appendChild(b.stateNode);else if(b.tag!==4&&b.tag!==27&&b.child!==null){b.child.return=b,b=b.child;continue}if(b===t)break e;for(;b.sibling===null;){if(b.return===null||b.return===t)break e;b=b.return}b.sibling.return=b.return,b=b.sibling}t.stateNode=h;e:switch(ln(h,d,s),d){case"button":case"input":case"select":case"textarea":s=!!s.autoFocus;break e;case"img":s=!0;break e;default:s=!1}s&&Ii(t)}}return qt(t),mp(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,a),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==s&&Ii(t);else{if(typeof s!="string"&&t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");if(e=Ke(wl.current),a=I(),ys(t)){if(e=t.stateNode,a=t.memoizedProps,d=!Kr,s=null,h=qa,h!==null)switch(h.tag){case 3:d&&(d=e1(e,a,s),d!==null&&(gs(t,0).serverProps=d));break;case 27:case 5:s=h.memoizedProps,d&&(d=e1(e,a,s),d!==null&&(gs(t,0).serverProps=d))}e[on]=t,e=!!(e.nodeValue===a||s!==null&&s.suppressHydrationWarning===!0||Gg(e.nodeValue,a)),e||Nl(t,!0)}else d=a.ancestorInfo.current,d!=null&&vf(s,d.tag,a.ancestorInfo.implicitRootScope),e=hd(e).createTextNode(s),e[on]=t,t.stateNode=e}return qt(t),null;case 31:if(a=t.memoizedState,e===null||e.memoizedState!==null){if(s=ys(t),a!==null){if(e===null){if(!s)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error("Expected to have a hydrated activity instance. This error is likely caused by a bug in React. Please file an issue.");e[on]=t,qt(t),(t.mode&ht)!==Pe&&a!==null&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration))}else br(),vr(),(t.flags&128)===0&&(a=t.memoizedState=null),t.flags|=4,qt(t),(t.mode&ht)!==Pe&&a!==null&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration));e=!1}else a=Cf(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=a),e=!0;if(!e)return t.flags&256?(Jn(t),t):(Jn(t),null);if((t.flags&128)!==0)throw Error("Client rendering an Activity suspended it again. This is a bug in React.")}return qt(t),null;case 13:if(s=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(d=s,h=ys(t),d!==null&&d.dehydrated!==null){if(e===null){if(!h)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(h=t.memoizedState,h=h!==null?h.dehydrated:null,!h)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");h[on]=t,qt(t),(t.mode&ht)!==Pe&&d!==null&&(d=t.child,d!==null&&(t.treeBaseDuration-=d.treeBaseDuration))}else br(),vr(),(t.flags&128)===0&&(d=t.memoizedState=null),t.flags|=4,qt(t),(t.mode&ht)!==Pe&&d!==null&&(d=t.child,d!==null&&(t.treeBaseDuration-=d.treeBaseDuration));d=!1}else d=Cf(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=d),d=!0;if(!d)return t.flags&256?(Jn(t),t):(Jn(t),null)}return Jn(t),(t.flags&128)!==0?(t.lanes=a,(t.mode&ht)!==Pe&&Ss(t),t):(a=s!==null,e=e!==null&&e.memoizedState!==null,a&&(s=t.child,d=null,s.alternate!==null&&s.alternate.memoizedState!==null&&s.alternate.memoizedState.cachePool!==null&&(d=s.alternate.memoizedState.cachePool.pool),h=null,s.memoizedState!==null&&s.memoizedState.cachePool!==null&&(h=s.memoizedState.cachePool.pool),h!==d&&(s.flags|=2048)),a!==e&&a&&(t.child.flags|=8192),tc(t,t.updateQueue),qt(t),(t.mode&ht)!==Pe&&a&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration)),null);case 4:return G(t),e===null&&Br(t.stateNode.containerInfo),qt(t),null;case 10:return ai(t.type,t),qt(t),null;case 19:if(ee(Yn,t),s=t.memoizedState,s===null)return qt(t),null;if(d=(t.flags&128)!==0,h=s.rendering,h===null)if(d)nc(s,!1);else{if(Sn!==su||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(h=ws(e),h!==null){for(t.flags|=128,nc(s,!1),e=h.updateQueue,t.updateQueue=e,tc(t,e),t.subtreeFlags=0,e=a,a=t.child;a!==null;)B0(a,e),a=a.sibling;return Re(Yn,Yn.current&Cm|Xy,t),Et&&ni(t,s.treeForkCount),t.child}e=e.sibling}s.tail!==null&&Pn()>$1&&(t.flags|=128,d=!0,nc(s,!1),t.lanes=4194304)}else{if(!d)if(e=ws(h),e!==null){if(t.flags|=128,d=!0,e=e.updateQueue,t.updateQueue=e,tc(t,e),nc(s,!0),s.tail===null&&s.tailMode==="hidden"&&!h.alternate&&!Et)return qt(t),null}else 2*Pn()-s.renderingStartTime>$1&&a!==536870912&&(t.flags|=128,d=!0,nc(s,!1),t.lanes=4194304);s.isBackwards?(h.sibling=t.child,t.child=h):(e=s.last,e!==null?e.sibling=h:t.child=h,s.last=h)}return s.tail!==null?(e=s.tail,s.rendering=e,s.tail=e.sibling,s.renderingStartTime=Pn(),e.sibling=null,a=Yn.current,a=d?a&Cm|Xy:a&Cm,Re(Yn,a,t),Et&&ni(t,s.treeForkCount),e):(qt(t),null);case 22:case 23:return Jn(t),ri(t),s=t.memoizedState!==null,e!==null?e.memoizedState!==null!==s&&(t.flags|=8192):s&&(t.flags|=8192),s?(a&536870912)!==0&&(t.flags&128)===0&&(qt(t),t.subtreeFlags&6&&(t.flags|=8192)):qt(t),a=t.updateQueue,a!==null&&tc(t,a.retryQueue),a=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),s=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(s=t.memoizedState.cachePool.pool),s!==a&&(t.flags|=2048),e!==null&&ee(Bd,t),null;case 24:return a=null,e!==null&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),ai(Wn,t),qt(t),null;case 25:return null;case 30:return null}throw Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function wb(e,t){switch(qh(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&ht)!==Pe&&Ss(t),t):null;case 3:return ai(Wn,t),G(t),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return Ae(t),null;case 31:if(t.memoizedState!==null){if(Jn(t),t.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");vr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&ht)!==Pe&&Ss(t),t):null;case 13:if(Jn(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");vr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&ht)!==Pe&&Ss(t),t):null;case 19:return ee(Yn,t),null;case 4:return G(t),null;case 10:return ai(t.type,t),null;case 22:case 23:return Jn(t),ri(t),e!==null&&ee(Bd,t),e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&ht)!==Pe&&Ss(t),t):null;case 24:return ai(Wn,t),null;case 25:return null;default:return null}}function yg(e,t){switch(qh(t),t.tag){case 3:ai(Wn,t),G(t);break;case 26:case 27:case 5:Ae(t);break;case 4:G(t);break;case 31:t.memoizedState!==null&&Jn(t);break;case 13:Jn(t);break;case 19:ee(Yn,t);break;case 10:ai(t.type,t);break;case 22:case 23:Jn(t),ri(t),e!==null&&ee(Bd,t);break;case 24:ai(Wn,t)}}function Fi(e){return(e.mode&ht)!==Pe}function Eb(e,t){Fi(e)?(gn(),Vo(t,e),Ma()):Vo(t,e)}function gp(e,t,a){Fi(e)?(gn(),Or(a,e,t),Ma()):Or(a,e,t)}function Vo(e,t){try{var a=t.updateQueue,s=a!==null?a.lastEffect:null;if(s!==null){var d=s.next;a=d;do{if((a.tag&e)===e&&(s=void 0,(e&zl)!==B1&&(Nm=!0),s=_e(t,Ak,a),(e&zl)!==B1&&(Nm=!1),s!==void 0&&typeof s!="function")){var h=void 0;h=(a.tag&Ei)!==0?"useLayoutEffect":(a.tag&zl)!==0?"useInsertionEffect":"useEffect";var b=void 0;b=s===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof s.then=="function"?`
|
|
154
|
+
|
|
155
|
+
It looks like you wrote `+h+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
|
|
156
|
+
|
|
157
|
+
`+h+`(() => {
|
|
158
|
+
async function fetchData() {
|
|
159
|
+
// You can await here
|
|
160
|
+
const response = await MyAPI.getData(someId);
|
|
161
|
+
// ...
|
|
162
|
+
}
|
|
163
|
+
fetchData();
|
|
164
|
+
}, [someId]); // Or [] if effect doesn't need props or state
|
|
165
|
+
|
|
166
|
+
Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:" You returned: "+s,_e(t,function(w,R){console.error("%s must not return anything besides a function, which is used for clean-up.%s",w,R)},h,b)}a=a.next}while(a!==d)}}catch(w){ut(t,t.return,w)}}function Or(e,t,a){try{var s=t.updateQueue,d=s!==null?s.lastEffect:null;if(d!==null){var h=d.next;s=h;do{if((s.tag&e)===e){var b=s.inst,w=b.destroy;w!==void 0&&(b.destroy=void 0,(e&zl)!==B1&&(Nm=!0),d=t,_e(d,Ck,d,a,w),(e&zl)!==B1&&(Nm=!1))}s=s.next}while(s!==h)}}catch(R){ut(t,t.return,R)}}function Wf(e,t){Fi(e)?(gn(),Vo(t,e),Ma()):Vo(t,e)}function yp(e,t,a){Fi(e)?(gn(),Or(a,e,t),Ma()):Or(a,e,t)}function vg(e){var t=e.updateQueue;if(t!==null){var a=e.stateNode;e.type.defaultProps||"ref"in e.memoizedProps||Dm||(a.props!==e.memoizedProps&&console.error("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",ye(e)||"instance"),a.state!==e.memoizedState&&console.error("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",ye(e)||"instance"));try{_e(e,Xu,t,a)}catch(s){ut(e,e.return,s)}}}function ed(e,t,a){return e.getSnapshotBeforeUpdate(t,a)}function Tb(e,t){var a=t.memoizedProps,s=t.memoizedState;t=e.stateNode,e.type.defaultProps||"ref"in e.memoizedProps||Dm||(t.props!==e.memoizedProps&&console.error("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",ye(e)||"instance"),t.state!==e.memoizedState&&console.error("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",ye(e)||"instance"));try{var d=$i(e.type,a),h=_e(e,ed,t,d,s);a=LR,h!==void 0||a.has(e.type)||(a.add(e.type),_e(e,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",ye(e))})),t.__reactInternalSnapshotBeforeUpdate=h}catch(b){ut(e,e.return,b)}}function vp(e,t,a){a.props=$i(e.type,e.memoizedProps),a.state=e.memoizedState,Fi(e)?(gn(),_e(e,nR,e,t,a),Ma()):_e(e,nR,e,t,a)}function Ab(e){var t=e.ref;if(t!==null){switch(e.tag){case 26:case 27:case 5:var a=e.stateNode;break;case 30:a=e.stateNode;break;default:a=e.stateNode}if(typeof t=="function")if(Fi(e))try{gn(),e.refCleanup=t(a)}finally{Ma()}else e.refCleanup=t(a);else typeof t=="string"?console.error("String refs are no longer supported."):t.hasOwnProperty("current")||console.error("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",ye(e)),t.current=a}}function Ns(e,t){try{_e(e,Ab,e)}catch(a){ut(e,t,a)}}function Yl(e,t){var a=e.ref,s=e.refCleanup;if(a!==null)if(typeof s=="function")try{if(Fi(e))try{gn(),_e(e,s)}finally{Ma(e)}else _e(e,s)}catch(d){ut(e,t,d)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof a=="function")try{if(Fi(e))try{gn(),_e(e,a,null)}finally{Ma(e)}else _e(e,a,null)}catch(d){ut(e,t,d)}else a.current=null}function bg(e,t,a,s){var d=e.memoizedProps,h=d.id,b=d.onCommit;d=d.onRender,t=t===null?"mount":"update",O1&&(t="nested-update"),typeof d=="function"&&d(h,t,e.actualDuration,e.treeBaseDuration,e.actualStartTime,a),typeof b=="function"&&b(h,t,s,a)}function Cb(e,t,a,s){var d=e.memoizedProps;e=d.id,d=d.onPostCommit,t=t===null?"mount":"update",O1&&(t="nested-update"),typeof d=="function"&&d(e,t,s,a)}function jr(e){var t=e.type,a=e.memoizedProps,s=e.stateNode;try{_e(e,Hb,s,t,a,e)}catch(d){ut(e,e.return,d)}}function bp(e,t,a){try{_e(e,Hp,e.stateNode,e.type,a,t,e)}catch(s){ut(e,e.return,s)}}function Sg(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Vr(e.type)||e.tag===4}function Sp(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Sg(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.tag===27&&Vr(e.type)||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 ac(e,t,a){var s=e.tag;if(s===5||s===6)e=e.stateNode,t?(Yb(a),(a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a).insertBefore(e,t)):(Yb(a),t=a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a,t.appendChild(e),a=a._reactRootContainer,a!=null||t.onclick!==null||(t.onclick=jl));else if(s!==4&&(s===27&&Vr(e.type)&&(a=e.stateNode,t=null),e=e.child,e!==null))for(ac(e,t,a),e=e.sibling;e!==null;)ac(e,t,a),e=e.sibling}function td(e,t,a){var s=e.tag;if(s===5||s===6)e=e.stateNode,t?a.insertBefore(e,t):a.appendChild(e);else if(s!==4&&(s===27&&Vr(e.type)&&(a=e.stateNode),e=e.child,e!==null))for(td(e,t,a),e=e.sibling;e!==null;)td(e,t,a),e=e.sibling}function xg(e){for(var t,a=e.return;a!==null;){if(Sg(a)){t=a;break}a=a.return}if(t==null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");switch(t.tag){case 27:t=t.stateNode,a=Sp(e),td(e,a,t);break;case 5:a=t.stateNode,t.flags&32&&(Vp(a),t.flags&=-33),t=Sp(e),td(e,t,a);break;case 3:case 4:t=t.stateNode.containerInfo,a=Sp(e),ac(e,a,t);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function wg(e){var t=e.stateNode,a=e.memoizedProps;try{_e(e,io,e.type,a,t,e)}catch(s){ut(e,e.return,s)}}function Eg(e,t){return t.tag===31?(t=t.memoizedState,e.memoizedState!==null&&t===null):t.tag===13?(e=e.memoizedState,t=t.memoizedState,e!==null&&e.dehydrated!==null&&(t===null||t.dehydrated===null)):t.tag===3?e.memoizedState.isDehydrated&&(t.flags&256)===0:!1}function hw(e,t){if(e=e.containerInfo,E2=dS,e=Nh(e),D0(e)){if("selectionStart"in e)var a={start:e.selectionStart,end:e.selectionEnd};else e:{a=(a=e.ownerDocument)&&a.defaultView||window;var s=a.getSelection&&a.getSelection();if(s&&s.rangeCount!==0){a=s.anchorNode;var d=s.anchorOffset,h=s.focusNode;s=s.focusOffset;try{a.nodeType,h.nodeType}catch{a=null;break e}var b=0,w=-1,R=-1,D=0,Z=0,J=e,B=null;t:for(;;){for(var oe;J!==a||d!==0&&J.nodeType!==3||(w=b+d),J!==h||s!==0&&J.nodeType!==3||(R=b+s),J.nodeType===3&&(b+=J.nodeValue.length),(oe=J.firstChild)!==null;)B=J,J=oe;for(;;){if(J===e)break t;if(B===a&&++D===d&&(w=b),B===h&&++Z===s&&(R=b),(oe=J.nextSibling)!==null)break;J=B,B=J.parentNode}J=oe}a=w===-1||R===-1?null:{start:w,end:R}}else a=null}a=a||{start:0,end:0}}else a=null;for(T2={focusedElem:e,selectionRange:a},dS=!1,wa=t;wa!==null;)if(t=wa,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,wa=e;else for(;wa!==null;){switch(e=t=wa,a=e.alternate,d=e.flags,e.tag){case 0:if((d&4)!==0&&(e=e.updateQueue,e=e!==null?e.events:null,e!==null))for(a=0;a<e.length;a++)d=e[a],d.ref.impl=d.nextImpl;break;case 11:case 15:break;case 1:(d&1024)!==0&&a!==null&&Tb(e,a);break;case 3:if((d&1024)!==0){if(e=e.stateNode.containerInfo,a=e.nodeType,a===9)gc(e);else if(a===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":gc(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((d&1024)!==0)throw Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}if(e=t.sibling,e!==null){e.return=t.return,wa=e;break}wa=t.return}}function xp(e,t,a){var s=nn(),d=Ll(),h=cl(),b=Bl(),w=a.flags;switch(a.tag){case 0:case 11:case 15:yl(e,a),w&4&&Eb(a,Ei|bo);break;case 1:if(yl(e,a),w&4)if(e=a.stateNode,t===null)a.type.defaultProps||"ref"in a.memoizedProps||Dm||(e.props!==a.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",ye(a)||"instance"),e.state!==a.memoizedState&&console.error("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",ye(a)||"instance")),Fi(a)?(gn(),_e(a,Qw,a,e),Ma()):_e(a,Qw,a,e);else{var R=$i(a.type,t.memoizedProps);t=t.memoizedState,a.type.defaultProps||"ref"in a.memoizedProps||Dm||(e.props!==a.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",ye(a)||"instance"),e.state!==a.memoizedState&&console.error("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",ye(a)||"instance")),Fi(a)?(gn(),_e(a,Wz,a,e,R,t,e.__reactInternalSnapshotBeforeUpdate),Ma()):_e(a,Wz,a,e,R,t,e.__reactInternalSnapshotBeforeUpdate)}w&64&&vg(a),w&512&&Ns(a,a.return);break;case 3:if(t=Vi(),yl(e,a),w&64&&(w=a.updateQueue,w!==null)){if(R=null,a.child!==null)switch(a.child.tag){case 27:case 5:R=a.child.stateNode;break;case 1:R=a.child.stateNode}try{_e(a,Xu,w,R)}catch(Z){ut(a,a.return,Z)}}e.effectDuration+=Vu(t);break;case 27:t===null&&w&4&&wg(a);case 26:case 5:if(yl(e,a),t===null){if(w&4)jr(a);else if(w&64){e=a.type,t=a.memoizedProps,R=a.stateNode;try{_e(a,Vb,R,e,t,a)}catch(Z){ut(a,a.return,Z)}}}w&512&&Ns(a,a.return);break;case 12:if(w&4){w=Vi(),yl(e,a),e=a.stateNode,e.effectDuration+=Ra(w);try{_e(a,bg,a,t,Hc,e.effectDuration)}catch(Z){ut(a,a.return,Z)}}else yl(e,a);break;case 31:yl(e,a),w&4&&Ag(e,a);break;case 13:yl(e,a),w&4&&Cg(e,a),w&64&&(e=a.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(w=qo.bind(null,a),Pb(e,w))));break;case 22:if(w=a.memoizedState!==null||ru,!w){t=t!==null&&t.memoizedState!==null||aa,R=ru;var D=aa;ru=w,(aa=t)&&!D?(fi(e,a,(a.subtreeFlags&8772)!==0),(a.mode&ht)!==Pe&&0<=Ze&&0<=Ie&&.05<Ie-Ze&&Uh(a,Ze,Ie)):yl(e,a),ru=R,aa=D}break;case 30:break;default:yl(e,a)}(a.mode&ht)!==Pe&&0<=Ze&&0<=Ie&&((Rn||.05<bn)&&ti(a,Ze,Ie,bn,mn),a.alternate===null&&a.return!==null&&a.return.alternate!==null&&.05<Ie-Ze&&(Eg(a.return.alternate,a.return)||kl(a,Ze,Ie,"Mount"))),Zn(s),ul(d),mn=h,Rn=b}function Cn(e){var t=e.alternate;t!==null&&(e.alternate=null,Cn(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&F(t)),e.stateNode=null,e._debugOwner=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function en(e,t,a){for(a=a.child;a!==null;)Tg(e,t,a),a=a.sibling}function Tg(e,t,a){if(Hn&&typeof Hn.onCommitFiberUnmount=="function")try{Hn.onCommitFiberUnmount(Js,a)}catch(D){ro||(ro=!0,console.error("React instrumentation encountered an error: %o",D))}var s=nn(),d=Ll(),h=cl(),b=Bl();switch(a.tag){case 26:aa||Yl(a,t),en(e,t,a),a.memoizedState?a.memoizedState.count--:a.stateNode&&(e=a.stateNode,e.parentNode.removeChild(e));break;case 27:aa||Yl(a,t);var w=la,R=Zl;Vr(a.type)&&(la=a.stateNode,Zl=!1),en(e,t,a),_e(a,Zo,a.stateNode),la=w,Zl=R;break;case 5:aa||Yl(a,t);case 6:if(w=la,R=Zl,la=null,en(e,t,a),la=w,Zl=R,la!==null)if(Zl)try{_e(a,Gb,la,a.stateNode)}catch(D){ut(a,t,D)}else try{_e(a,qb,la,a.stateNode)}catch(D){ut(a,t,D)}break;case 18:la!==null&&(Zl?(e=la,Vs(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,a.stateNode),Xs(e)):Vs(la,a.stateNode));break;case 4:w=la,R=Zl,la=a.stateNode.containerInfo,Zl=!0,en(e,t,a),la=w,Zl=R;break;case 0:case 11:case 14:case 15:Or(zl,a,t),aa||gp(a,t,Ei),en(e,t,a);break;case 1:aa||(Yl(a,t),w=a.stateNode,typeof w.componentWillUnmount=="function"&&vp(a,t,w)),en(e,t,a);break;case 21:en(e,t,a);break;case 22:aa=(w=aa)||a.memoizedState!==null,en(e,t,a),aa=w;break;default:en(e,t,a)}(a.mode&ht)!==Pe&&0<=Ze&&0<=Ie&&(Rn||.05<bn)&&ti(a,Ze,Ie,bn,mn),Zn(s),ul(d),mn=h,Rn=b}function Ag(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{_e(t,Yp,e)}catch(a){ut(t,t.return,a)}}}function Cg(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{_e(t,Kg,e)}catch(a){ut(t,t.return,a)}}function zb(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new BR),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new BR),t;default:throw Error("Unexpected Suspense handler tag ("+e.tag+"). This is a bug in React.")}}function kr(e,t){var a=zb(e);t.forEach(function(s){if(!a.has(s)){if(a.add(s),so)if(_m!==null&&Om!==null)uc(Om,_m);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");var d=Bs.bind(null,e,s);s.then(d,d)}})}function ka(e,t){var a=t.deletions;if(a!==null)for(var s=0;s<a.length;s++){var d=e,h=t,b=a[s],w=nn(),R=h;e:for(;R!==null;){switch(R.tag){case 27:if(Vr(R.type)){la=R.stateNode,Zl=!1;break e}break;case 5:la=R.stateNode,Zl=!1;break e;case 3:case 4:la=R.stateNode.containerInfo,Zl=!0;break e}R=R.return}if(la===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");Tg(d,h,b),la=null,Zl=!1,(b.mode&ht)!==Pe&&0<=Ze&&0<=Ie&&.05<Ie-Ze&&kl(b,Ze,Ie,"Unmount"),Zn(w),d=b,h=d.alternate,h!==null&&(h.return=null),d.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)nd(t,e),t=t.sibling}function nd(e,t){var a=nn(),s=Ll(),d=cl(),h=Bl(),b=e.alternate,w=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:ka(t,e),Na(e),w&4&&(Or(zl|bo,e,e.return),Vo(zl|bo,e),gp(e,e.return,Ei|bo));break;case 1:if(ka(t,e),Na(e),w&512&&(aa||b===null||Yl(b,b.return)),w&64&&ru&&(w=e.updateQueue,w!==null&&(b=w.callbacks,b!==null))){var R=w.shared.hiddenCallbacks;w.shared.hiddenCallbacks=R===null?b:R.concat(b)}break;case 26:if(R=Po,ka(t,e),Na(e),w&512&&(aa||b===null||Yl(b,b.return)),w&4){var D=b!==null?b.memoizedState:null;if(w=e.memoizedState,b===null)if(w===null)if(e.stateNode===null){e:{w=e.type,b=e.memoizedProps,R=R.ownerDocument||R;t:switch(w){case"title":D=R.getElementsByTagName("title")[0],(!D||D[_c]||D[on]||D.namespaceURI===ct||D.hasAttribute("itemprop"))&&(D=R.createElement(w),R.head.insertBefore(D,R.querySelector("head > title"))),ln(D,w,b),D[on]=e,He(D),w=D;break e;case"link":var Z=bc("link","href",R).get(w+(b.href||""));if(Z){for(var J=0;J<Z.length;J++)if(D=Z[J],D.getAttribute("href")===(b.href==null||b.href===""?null:b.href)&&D.getAttribute("rel")===(b.rel==null?null:b.rel)&&D.getAttribute("title")===(b.title==null?null:b.title)&&D.getAttribute("crossorigin")===(b.crossOrigin==null?null:b.crossOrigin)){Z.splice(J,1);break t}}D=R.createElement(w),ln(D,w,b),R.head.appendChild(D);break;case"meta":if(Z=bc("meta","content",R).get(w+(b.content||""))){for(J=0;J<Z.length;J++)if(D=Z[J],Dt(b.content,"content"),D.getAttribute("content")===(b.content==null?null:""+b.content)&&D.getAttribute("name")===(b.name==null?null:b.name)&&D.getAttribute("property")===(b.property==null?null:b.property)&&D.getAttribute("http-equiv")===(b.httpEquiv==null?null:b.httpEquiv)&&D.getAttribute("charset")===(b.charSet==null?null:b.charSet)){Z.splice(J,1);break t}}D=R.createElement(w),ln(D,w,b),R.head.appendChild(D);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+w+'". This is a bug in React.')}D[on]=e,He(D),w=D}e.stateNode=w}else n1(R,e.type,e.stateNode);else e.stateNode=Xp(R,w,e.memoizedProps);else D!==w?(D===null?b.stateNode!==null&&(b=b.stateNode,b.parentNode.removeChild(b)):D.count--,w===null?n1(R,e.type,e.stateNode):Xp(R,w,e.memoizedProps)):w===null&&e.stateNode!==null&&bp(e,e.memoizedProps,b.memoizedProps)}break;case 27:ka(t,e),Na(e),w&512&&(aa||b===null||Yl(b,b.return)),b!==null&&w&4&&bp(e,e.memoizedProps,b.memoizedProps);break;case 5:if(ka(t,e),Na(e),w&512&&(aa||b===null||Yl(b,b.return)),e.flags&32){R=e.stateNode;try{_e(e,Vp,R)}catch(Oe){ut(e,e.return,Oe)}}w&4&&e.stateNode!=null&&(R=e.memoizedProps,bp(e,R,b!==null?b.memoizedProps:R)),w&1024&&(l2=!0,e.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if(ka(t,e),Na(e),w&4){if(e.stateNode===null)throw Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");w=e.memoizedProps,b=b!==null?b.memoizedProps:w,R=e.stateNode;try{_e(e,pw,R,b,w)}catch(Oe){ut(e,e.return,Oe)}}break;case 3:if(R=Vi(),uS=null,D=Po,Po=qp(t.containerInfo),ka(t,e),Po=D,Na(e),w&4&&b!==null&&b.memoizedState.isDehydrated)try{_e(e,Zg,t.containerInfo)}catch(Oe){ut(e,e.return,Oe)}l2&&(l2=!1,Rb(e)),t.effectDuration+=Vu(R);break;case 4:w=Po,Po=qp(e.stateNode.containerInfo),ka(t,e),Na(e),Po=w;break;case 12:w=Vi(),ka(t,e),Na(e),e.stateNode.effectDuration+=Ra(w);break;case 31:ka(t,e),Na(e),w&4&&(w=e.updateQueue,w!==null&&(e.updateQueue=null,kr(e,w)));break;case 13:ka(t,e),Na(e),e.child.flags&8192&&e.memoizedState!==null!=(b!==null&&b.memoizedState!==null)&&(J1=Pn()),w&4&&(w=e.updateQueue,w!==null&&(e.updateQueue=null,kr(e,w)));break;case 22:R=e.memoizedState!==null;var B=b!==null&&b.memoizedState!==null,oe=ru,ze=aa;if(ru=oe||R,aa=ze||B,ka(t,e),aa=ze,ru=oe,B&&!R&&!oe&&!ze&&(e.mode&ht)!==Pe&&0<=Ze&&0<=Ie&&.05<Ie-Ze&&Uh(e,Ze,Ie),Na(e),w&8192)e:for(t=e.stateNode,t._visibility=R?t._visibility&~Ry:t._visibility|Ry,!R||b===null||B||ru||aa||(Nr(e),(e.mode&ht)!==Pe&&0<=Ze&&0<=Ie&&.05<Ie-Ze&&kl(e,Ze,Ie,"Disconnect")),b=null,t=e;;){if(t.tag===5||t.tag===26){if(b===null){B=b=t;try{D=B.stateNode,R?_e(B,Qb,D):_e(B,Jb,B.stateNode,B.memoizedProps)}catch(Oe){ut(B,B.return,Oe)}}}else if(t.tag===6){if(b===null){B=t;try{Z=B.stateNode,R?_e(B,Zb,Z):_e(B,$b,Z,B.memoizedProps)}catch(Oe){ut(B,B.return,Oe)}}}else if(t.tag===18){if(b===null){B=t;try{J=B.stateNode,R?_e(B,Xb,J):_e(B,Kb,B.stateNode)}catch(Oe){ut(B,B.return,Oe)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;b===t&&(b=null),t=t.return}b===t&&(b=null),t.sibling.return=t.return,t=t.sibling}w&4&&(w=e.updateQueue,w!==null&&(b=w.retryQueue,b!==null&&(w.retryQueue=null,kr(e,b))));break;case 19:ka(t,e),Na(e),w&4&&(w=e.updateQueue,w!==null&&(e.updateQueue=null,kr(e,w)));break;case 30:break;case 21:break;default:ka(t,e),Na(e)}(e.mode&ht)!==Pe&&0<=Ze&&0<=Ie&&((Rn||.05<bn)&&ti(e,Ze,Ie,bn,mn),e.alternate===null&&e.return!==null&&e.return.alternate!==null&&.05<Ie-Ze&&(Eg(e.return.alternate,e.return)||kl(e,Ze,Ie,"Mount"))),Zn(a),ul(s),mn=d,Rn=h}function Na(e){var t=e.flags;if(t&2){try{_e(e,xg,e)}catch(a){ut(e,e.return,a)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Rb(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;Rb(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function yl(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)xp(e,t.alternate,t),t=t.sibling}function wp(e){var t=nn(),a=Ll(),s=cl(),d=Bl();switch(e.tag){case 0:case 11:case 14:case 15:gp(e,e.return,Ei),Nr(e);break;case 1:Yl(e,e.return);var h=e.stateNode;typeof h.componentWillUnmount=="function"&&vp(e,e.return,h),Nr(e);break;case 27:_e(e,Zo,e.stateNode);case 26:case 5:Yl(e,e.return),Nr(e);break;case 22:e.memoizedState===null&&Nr(e);break;case 30:Nr(e);break;default:Nr(e)}(e.mode&ht)!==Pe&&0<=Ze&&0<=Ie&&(Rn||.05<bn)&&ti(e,Ze,Ie,bn,mn),Zn(t),ul(a),mn=s,Rn=d}function Nr(e){for(e=e.child;e!==null;)wp(e),e=e.sibling}function zg(e,t,a,s){var d=nn(),h=Ll(),b=cl(),w=Bl(),R=a.flags;switch(a.tag){case 0:case 11:case 15:fi(e,a,s),Eb(a,Ei);break;case 1:if(fi(e,a,s),t=a.stateNode,typeof t.componentDidMount=="function"&&_e(a,Qw,a,t),t=a.updateQueue,t!==null){e=a.stateNode;try{_e(a,J0,t,e)}catch(D){ut(a,a.return,D)}}s&&R&64&&vg(a),Ns(a,a.return);break;case 27:wg(a);case 26:case 5:fi(e,a,s),s&&t===null&&R&4&&jr(a),Ns(a,a.return);break;case 12:if(s&&R&4){R=Vi(),fi(e,a,s),s=a.stateNode,s.effectDuration+=Ra(R);try{_e(a,bg,a,t,Hc,s.effectDuration)}catch(D){ut(a,a.return,D)}}else fi(e,a,s);break;case 31:fi(e,a,s),s&&R&4&&Ag(e,a);break;case 13:fi(e,a,s),s&&R&4&&Cg(e,a);break;case 22:a.memoizedState===null&&fi(e,a,s),Ns(a,a.return);break;case 30:break;default:fi(e,a,s)}(a.mode&ht)!==Pe&&0<=Ze&&0<=Ie&&(Rn||.05<bn)&&ti(a,Ze,Ie,bn,mn),Zn(d),ul(h),mn=b,Rn=w}function fi(e,t,a){for(a=a&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;)zg(e,t.alternate,t,a),t=t.sibling}function ad(e,t){var a=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==a&&(e!=null&&vs(e),a!=null&&Mf(a))}function ld(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(vs(t),e!=null&&Mf(e))}function vl(e,t,a,s,d){if(t.subtreeFlags&10256||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child))for(t=t.child;t!==null;){var h=t.sibling;Rg(e,t,a,s,h!==null?h.actualStartTime:d),t=h}}function Rg(e,t,a,s,d){var h=nn(),b=Ll(),w=cl(),R=Bl(),D=Nc,Z=t.flags;switch(t.tag){case 0:case 11:case 15:(t.mode&ht)!==Pe&&0<t.actualStartTime&&(t.flags&1)!==0&&Lh(t,t.actualStartTime,d,fa,a),vl(e,t,a,s,d),Z&2048&&Wf(t,Rl|bo);break;case 1:(t.mode&ht)!==Pe&&0<t.actualStartTime&&((t.flags&128)!==0?O0(t,t.actualStartTime,d,[]):(t.flags&1)!==0&&Lh(t,t.actualStartTime,d,fa,a)),vl(e,t,a,s,d);break;case 3:var J=Vi(),B=fa;fa=t.alternate!==null&&t.alternate.memoizedState.isDehydrated&&(t.flags&256)===0,vl(e,t,a,s,d),fa=B,Z&2048&&(a=null,t.alternate!==null&&(a=t.alternate.memoizedState.cache),s=t.memoizedState.cache,s!==a&&(vs(s),a!=null&&Mf(a))),e.passiveEffectDuration+=Vu(J);break;case 12:if(Z&2048){Z=Vi(),vl(e,t,a,s,d),e=t.stateNode,e.passiveEffectDuration+=Ra(Z);try{_e(t,Cb,t,t.alternate,Hc,e.passiveEffectDuration)}catch(oe){ut(t,t.return,oe)}}else vl(e,t,a,s,d);break;case 31:Z=fa,J=t.alternate!==null?t.alternate.memoizedState:null,B=t.memoizedState,J!==null&&B===null?(B=t.deletions,B!==null&&0<B.length&&B[0].tag===18?(fa=!1,J=J.hydrationErrors,J!==null&&O0(t,t.actualStartTime,d,J)):fa=!0):fa=!1,vl(e,t,a,s,d),fa=Z;break;case 13:Z=fa,J=t.alternate!==null?t.alternate.memoizedState:null,B=t.memoizedState,J===null||J.dehydrated===null||B!==null&&B.dehydrated!==null?fa=!1:(B=t.deletions,B!==null&&0<B.length&&B[0].tag===18?(fa=!1,J=J.hydrationErrors,J!==null&&O0(t,t.actualStartTime,d,J)):fa=!0),vl(e,t,a,s,d),fa=Z;break;case 23:break;case 22:B=t.stateNode,J=t.alternate,t.memoizedState!==null?B._visibility&Fs?vl(e,t,a,s,d):Us(e,t,a,s,d):B._visibility&Fs?vl(e,t,a,s,d):(B._visibility|=Fs,Ur(e,t,a,s,(t.subtreeFlags&10256)!==0||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child),d),(t.mode&ht)===Pe||fa||(e=t.actualStartTime,0<=e&&.05<d-e&&Uh(t,e,d),0<=Ze&&0<=Ie&&.05<Ie-Ze&&Uh(t,Ze,Ie))),Z&2048&&ad(J,t);break;case 24:vl(e,t,a,s,d),Z&2048&&ld(t.alternate,t);break;default:vl(e,t,a,s,d)}(t.mode&ht)!==Pe&&((e=!fa&&t.alternate===null&&t.return!==null&&t.return.alternate!==null)&&(a=t.actualStartTime,0<=a&&.05<d-a&&kl(t,a,d,"Mount")),0<=Ze&&0<=Ie&&((Rn||.05<bn)&&ti(t,Ze,Ie,bn,mn),e&&.05<Ie-Ze&&kl(t,Ze,Ie,"Mount"))),Zn(h),ul(b),mn=w,Rn=R,Nc=D}function Ur(e,t,a,s,d,h){for(d=d&&((t.subtreeFlags&10256)!==0||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child)),t=t.child;t!==null;){var b=t.sibling;id(e,t,a,s,d,b!==null?b.actualStartTime:h),t=b}}function id(e,t,a,s,d,h){var b=nn(),w=Ll(),R=cl(),D=Bl(),Z=Nc;d&&(t.mode&ht)!==Pe&&0<t.actualStartTime&&(t.flags&1)!==0&&Lh(t,t.actualStartTime,h,fa,a);var J=t.flags;switch(t.tag){case 0:case 11:case 15:Ur(e,t,a,s,d,h),Wf(t,Rl);break;case 23:break;case 22:var B=t.stateNode;t.memoizedState!==null?B._visibility&Fs?Ur(e,t,a,s,d,h):Us(e,t,a,s,h):(B._visibility|=Fs,Ur(e,t,a,s,d,h)),d&&J&2048&&ad(t.alternate,t);break;case 24:Ur(e,t,a,s,d,h),d&&J&2048&&ld(t.alternate,t);break;default:Ur(e,t,a,s,d,h)}(t.mode&ht)!==Pe&&0<=Ze&&0<=Ie&&(Rn||.05<bn)&&ti(t,Ze,Ie,bn,mn),Zn(b),ul(w),mn=R,Rn=D,Nc=Z}function Us(e,t,a,s,d){if(t.subtreeFlags&10256||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child))for(var h=t.child;h!==null;){t=h.sibling;var b=e,w=a,R=s,D=t!==null?t.actualStartTime:d,Z=Nc;(h.mode&ht)!==Pe&&0<h.actualStartTime&&(h.flags&1)!==0&&Lh(h,h.actualStartTime,D,fa,w);var J=h.flags;switch(h.tag){case 22:Us(b,h,w,R,D),J&2048&&ad(h.alternate,h);break;case 24:Us(b,h,w,R,D),J&2048&&ld(h.alternate,h);break;default:Us(b,h,w,R,D)}Nc=Z,h=t}}function Ls(e,t,a){if(e.subtreeFlags&Jy)for(e=e.child;e!==null;)Ep(e,t,a),e=e.sibling}function Ep(e,t,a){switch(e.tag){case 26:Ls(e,t,a),e.flags&Jy&&e.memoizedState!==null&&Pg(a,Po,e.memoizedState,e.memoizedProps);break;case 5:Ls(e,t,a);break;case 3:case 4:var s=Po;Po=qp(e.stateNode.containerInfo),Ls(e,t,a),Po=s;break;case 22:e.memoizedState===null&&(s=e.alternate,s!==null&&s.memoizedState!==null?(s=Jy,Jy=16777216,Ls(e,t,a),Jy=s):Ls(e,t,a));break;default:Ls(e,t,a)}}function Mg(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function bl(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var a=0;a<t.length;a++){var s=t[a],d=nn();wa=s,Pi(s,e),(s.mode&ht)!==Pe&&0<=Ze&&0<=Ie&&.05<Ie-Ze&&kl(s,Ze,Ie,"Unmount"),Zn(d)}Mg(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Tp(e),e=e.sibling}function Tp(e){var t=nn(),a=Ll(),s=cl(),d=Bl();switch(e.tag){case 0:case 11:case 15:bl(e),e.flags&2048&&yp(e,e.return,Rl|bo);break;case 3:var h=Vi();bl(e),e.stateNode.passiveEffectDuration+=Vu(h);break;case 12:h=Vi(),bl(e),e.stateNode.passiveEffectDuration+=Ra(h);break;case 22:h=e.stateNode,e.memoizedState!==null&&h._visibility&Fs&&(e.return===null||e.return.tag!==13)?(h._visibility&=~Fs,Ap(e),(e.mode&ht)!==Pe&&0<=Ze&&0<=Ie&&.05<Ie-Ze&&kl(e,Ze,Ie,"Disconnect")):bl(e);break;default:bl(e)}(e.mode&ht)!==Pe&&0<=Ze&&0<=Ie&&(Rn||.05<bn)&&ti(e,Ze,Ie,bn,mn),Zn(t),ul(a),Rn=d,mn=s}function Ap(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var a=0;a<t.length;a++){var s=t[a],d=nn();wa=s,Pi(s,e),(s.mode&ht)!==Pe&&0<=Ze&&0<=Ie&&.05<Ie-Ze&&kl(s,Ze,Ie,"Unmount"),Zn(d)}Mg(e)}for(e=e.child;e!==null;)Dg(e),e=e.sibling}function Dg(e){var t=nn(),a=Ll(),s=cl(),d=Bl();switch(e.tag){case 0:case 11:case 15:yp(e,e.return,Rl),Ap(e);break;case 22:var h=e.stateNode;h._visibility&Fs&&(h._visibility&=~Fs,Ap(e));break;default:Ap(e)}(e.mode&ht)!==Pe&&0<=Ze&&0<=Ie&&(Rn||.05<bn)&&ti(e,Ze,Ie,bn,mn),Zn(t),ul(a),Rn=d,mn=s}function Pi(e,t){for(;wa!==null;){var a=wa,s=a,d=t,h=nn(),b=Ll(),w=cl(),R=Bl();switch(s.tag){case 0:case 11:case 15:yp(s,d,Rl);break;case 23:case 22:s.memoizedState!==null&&s.memoizedState.cachePool!==null&&(d=s.memoizedState.cachePool.pool,d!=null&&vs(d));break;case 24:Mf(s.memoizedState.cache)}if((s.mode&ht)!==Pe&&0<=Ze&&0<=Ie&&(Rn||.05<bn)&&ti(s,Ze,Ie,bn,mn),Zn(h),ul(b),Rn=R,mn=w,s=a.child,s!==null)s.return=a,wa=s;else e:for(a=e;wa!==null;){if(s=wa,h=s.sibling,b=s.return,Cn(s),s===a){wa=null;break e}if(h!==null){h.return=b,wa=h;break e}wa=b}}}function _g(){_k.forEach(function(e){return e()})}function Og(){var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return e||ue.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),e}function va(e){if((Rt&da)!==Ea&&mt!==0)return mt&-mt;var t=ue.T;return t!==null?(t._updatedFibers||(t._updatedFibers=new Set),t._updatedFibers.add(e),qg()):ur()}function lc(){if(Jl===0)if((mt&536870912)===0||Et){var e=Rd;Rd<<=1,(Rd&3932160)===0&&(Rd=262144),Jl=e}else Jl=536870912;return e=wi.current,e!==null&&(e.flags|=32),Jl}function We(e,t,a){if(Nm&&console.error("useInsertionEffect must not schedule updates."),m2&&(P1=!0),(e===Pt&&(Zt===Xd||Zt===Qd)||e.cancelPendingCommit!==null)&&(Wi(e,0),ql(e,mt,Jl,!1)),Il(e,a),(Rt&da)!==Ea&&e===Pt){if(oo)switch(t.tag){case 0:case 11:case 15:e=bt&&ye(bt)||"Unknown",WR.has(e)||(WR.add(e),t=ye(t)||"Unknown",console.error("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://react.dev/link/setstate-in-render",t,e,e));break;case 1:PR||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),PR=!0)}}else so&&Nn(e,t,a),ud(t),e===Pt&&((Rt&da)===Ea&&(Kc|=a),Sn===Xc&&ql(e,mt,Jl,!1)),$a(e)}function Mb(e,t,a){if((Rt&(da|Ti))!==Ea)throw Error("Should not already be working.");if(mt!==0&&bt!==null){var s=bt,d=Pn();switch(Qz){case Fy:case Xd:var h=ky;rn&&((s=s._debugTask)?s.run(console.timeStamp.bind(console,"Suspended",h,d,co,void 0,"primary-light")):console.timeStamp("Suspended",h,d,co,void 0,"primary-light"));break;case Qd:h=ky,rn&&((s=s._debugTask)?s.run(console.timeStamp.bind(console,"Action",h,d,co,void 0,"primary-light")):console.timeStamp("Action",h,d,co,void 0,"primary-light"));break;default:rn&&(s=d-ky,3>s||console.timeStamp("Blocked",ky,d,co,void 0,5>s?"primary-light":10>s?"primary":100>s?"primary-dark":"error"))}}h=(a=!a&&(t&127)===0&&(t&e.expiredLanes)===0||Dn(e,t))?Yo(e,t):rc(e,t,!0);var b=a;do{if(h===su){jm&&!a&&ql(e,t,0,!1),t=Zt,ky=ea(),Qz=t;break}else{if(s=Pn(),d=e.current.alternate,b&&!_b(d)){ei(t),d=xa,h=s,!rn||h<=d||(kn?kn.run(console.timeStamp.bind(console,"Teared Render",d,h,Ct,Tt,"error")):console.timeStamp("Teared Render",d,h,Ct,Tt,"error")),Lr(t,s),h=rc(e,t,!1),b=!1;continue}if(h===Gd){if(b=t,e.errorRecoveryDisabledLanes&b)var w=0;else w=e.pendingLanes&-536870913,w=w!==0?w:w&536870912?536870912:0;if(w!==0){ei(t),j0(xa,s,t,kn),Lr(t,s),t=w;e:{s=e,h=b,b=Wy;var R=s.current.memoizedState.isDehydrated;if(R&&(Wi(s,w).flags|=256),w=rc(s,w,!1),w!==Gd){if(r2&&!R){s.errorRecoveryDisabledLanes|=h,Kc|=h,h=Xc;break e}s=Ml,Ml=b,s!==null&&(Ml===null?Ml=s:Ml.push.apply(Ml,s))}h=w}if(b=!1,h!==Gd)continue;s=Pn()}}if(h===Iy){ei(t),j0(xa,s,t,kn),Lr(t,s),Wi(e,0),ql(e,t,0,!0);break}e:{switch(a=e,h){case su:case Iy:throw Error("Root did not complete. This is a bug in React.");case Xc:if((t&4194048)!==t)break;case X1:ei(t),ib(xa,s,t,kn),Lr(t,s),d=t,(d&127)!==0?M1=s:(d&4194048)!==0&&(D1=s),ql(a,t,Jl,!Qc);break e;case Gd:Ml=null;break;case G1:case HR:break;default:throw Error("Unknown root exit status.")}if(ue.actQueue!==null)$t(a,d,t,Ml,ev,K1,Jl,Kc,Zd,h,null,null,xa,s);else{if((t&62914560)===t&&(b=J1+qR-Pn(),10<b)){if(ql(a,t,Jl,!Qc),ns(a,0,!0)!==0)break e;Wo=t,a.timeoutHandle=r5(Db.bind(null,a,d,Ml,ev,K1,t,Jl,Kc,Zd,Qc,h,"Throttled",xa,s),b);break e}Db(a,d,Ml,ev,K1,t,Jl,Kc,Zd,Qc,h,null,xa,s)}}}break}while(!0);$a(e)}function Db(e,t,a,s,d,h,b,w,R,D,Z,J,B,oe){e.timeoutHandle=Fd;var ze=t.subtreeFlags,Oe=null;if((ze&8192||(ze&16785408)===16785408)&&(Oe={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:jl},Ep(t,h,Oe),ze=(h&62914560)===h?J1-Pn():(h&4194048)===h?YR-Pn():0,ze=Qp(Oe,ze),ze!==null)){Wo=h,e.cancelPendingCommit=ze($t.bind(null,e,t,h,a,s,d,b,w,R,Z,Oe,Oe.waitingForViewTransition?"Waiting for the previous Animation":0<Oe.count?0<Oe.imgCount?"Suspended on CSS and Images":"Suspended on CSS":Oe.imgCount===1?"Suspended on an Image":0<Oe.imgCount?"Suspended on Images":null,B,oe)),ql(e,h,b,!D);return}$t(e,t,h,a,s,d,b,w,R,Z,Oe,J,B,oe)}function _b(e){for(var t=e;;){var a=t.tag;if((a===0||a===11||a===15)&&t.flags&16384&&(a=t.updateQueue,a!==null&&(a=a.stores,a!==null)))for(var s=0;s<a.length;s++){var d=a[s],h=d.getSnapshot;d=d.value;try{if(!Al(h(),d))return!1}catch{return!1}}if(a=t.child,t.subtreeFlags&16384&&a!==null)a.return=t,t=a;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 ql(e,t,a,s){t&=~s2,t&=~Kc,e.suspendedLanes|=t,e.pingedLanes&=~t,s&&(e.warmLanes|=t),s=e.expirationTimes;for(var d=t;0<d;){var h=31-ua(d),b=1<<h;s[h]=-1,d&=~b}a!==0&&Au(e,a,t)}function Sl(){return(Rt&(da|Ti))===Ea?(to(0),!1):!0}function Cp(){if(bt!==null){if(Zt===Kl)var e=bt.return;else e=bt,Bu(),wr(e),Tm=null,Gy=0,e=bt;for(;e!==null;)yg(e.alternate,e),e=e.return;bt=null}}function Lr(e,t){(e&127)!==0&&(kd=t),(e&4194048)!==0&&(nu=t),(e&62914560)!==0&&(Gz=t),(e&2080374784)!==0&&(Xz=t)}function Wi(e,t){rn&&(console.timeStamp("Blocking Track",.003,.003,"Blocking",Tt,"primary-light"),console.timeStamp("Transition Track",.003,.003,"Transition",Tt,"primary-light"),console.timeStamp("Suspense Track",.003,.003,"Suspense",Tt,"primary-light"),console.timeStamp("Idle Track",.003,.003,"Idle",Tt,"primary-light"));var a=xa;if(xa=ea(),mt!==0&&0<a){if(ei(mt),Sn===G1||Sn===Xc)ib(a,xa,t,kn);else{var s=xa,d=kn;if(rn&&!(s<=a)){var h=(t&738197653)===t?"tertiary-dark":"primary-dark",b=(t&536870912)===t?"Prewarm":(t&201326741)===t?"Interrupted Hydration":"Interrupted Render";d?d.run(console.timeStamp.bind(console,b,a,s,Ct,Tt,h)):console.timeStamp(b,a,s,Ct,Tt,h)}}Lr(mt,xa)}if(a=kn,kn=null,(t&127)!==0){kn=_y,d=0<=Jr&&Jr<kd?kd:Jr,s=0<=Nd&&Nd<kd?kd:Nd,h=0<=s?s:0<=d?d:xa,0<=M1?(ei(2),ob(M1,h,t,a)):_1&127,a=d;var w=s,R=Oy,D=0<xm,Z=Vc===Dy,J=Vc===R1;if(d=xa,s=_y,h=Vw,b=Yw,rn){if(Ct="Blocking",0<a?a>d&&(a=d):a=d,0<w?w>a&&(w=a):w=a,R!==null&&a>w){var B=D?"secondary-light":"warning";s?s.run(console.timeStamp.bind(console,D?"Consecutive":"Event: "+R,w,a,Ct,Tt,B)):console.timeStamp(D?"Consecutive":"Event: "+R,w,a,Ct,Tt,B)}d>a&&(w=Z?"error":(t&738197653)===t?"tertiary-light":"primary-light",Z=J?"Promise Resolved":Z?"Cascading Update":5<d-a?"Update Blocked":"Update",J=[],b!=null&&J.push(["Component name",b]),h!=null&&J.push(["Method name",h]),a={start:a,end:d,detail:{devtools:{properties:J,track:Ct,trackGroup:Tt,color:w}}},s?s.run(performance.measure.bind(performance,Z,a)):performance.measure(Z,a))}Jr=-1.1,Vc=0,Yw=Vw=null,M1=-1.1,xm=Nd,Nd=-1.1,kd=ea()}if((t&4194048)!==0&&(kn=jy,d=0<=au&&au<nu?nu:au,a=0<=yo&&yo<nu?nu:yo,s=0<=Yc&&Yc<nu?nu:Yc,h=0<=s?s:0<=a?a:xa,0<=D1?(ei(256),ob(D1,h,t,kn)):_1&4194048,J=s,w=Ud,R=0<qc,D=qw===R1,h=xa,s=jy,b=Yz,Z=qz,rn&&(Ct="Transition",0<a?a>h&&(a=h):a=h,0<d?d>a&&(d=a):d=a,0<J?J>d&&(J=d):J=d,d>J&&w!==null&&(B=R?"secondary-light":"warning",s?s.run(console.timeStamp.bind(console,R?"Consecutive":"Event: "+w,J,d,Ct,Tt,B)):console.timeStamp(R?"Consecutive":"Event: "+w,J,d,Ct,Tt,B)),a>d&&(s?s.run(console.timeStamp.bind(console,"Action",d,a,Ct,Tt,"primary-dark")):console.timeStamp("Action",d,a,Ct,Tt,"primary-dark")),h>a&&(d=D?"Promise Resolved":5<h-a?"Update Blocked":"Update",J=[],Z!=null&&J.push(["Component name",Z]),b!=null&&J.push(["Method name",b]),a={start:a,end:h,detail:{devtools:{properties:J,track:Ct,trackGroup:Tt,color:"primary-light"}}},s?s.run(performance.measure.bind(performance,d,a)):performance.measure(d,a))),yo=au=-1.1,qw=0,D1=-1.1,qc=Yc,Yc=-1.1,nu=ea()),(t&62914560)!==0&&(_1&62914560)!==0&&(ei(4194304),k0(Gz,xa)),(t&2080374784)!==0&&(_1&2080374784)!==0&&(ei(268435456),k0(Xz,xa)),a=e.timeoutHandle,a!==Fd&&(e.timeoutHandle=Fd,Xk(a)),a=e.cancelPendingCommit,a!==null&&(e.cancelPendingCommit=null,a()),Wo=0,Cp(),Pt=e,bt=a=Bi(e.current,null),mt=t,Zt=Kl,Ai=null,Qc=!1,jm=Dn(e,t),r2=!1,Sn=su,Zd=Jl=s2=Kc=Zc=0,Ml=Wy=null,K1=!1,(t&8)!==0&&(t|=t&32),s=e.entangledLanes,s!==0)for(e=e.entanglements,s&=t;0<s;)d=31-ua(s),h=1<<d,t|=e[d],s&=~h;return Ir=t,Bh(),e=Nz(),1e3<e-kz&&(ue.recentlyCreatedOwnerStacks=0,kz=e),Io.discardPendingWarnings(),a}function di(e,t){nt=null,ue.H=Ky,ue.getCurrentStack=null,oo=!1,Wa=null,t===Em||t===N1?(t=xs(),Zt=Fy):t===Zw?(t=xs(),Zt=VR):Zt=t===n2?o2:t!==null&&typeof t=="object"&&typeof t.then=="function"?Py:Q1,Ai=t;var a=bt;a===null?(Sn=Iy,Jf(e,za(t,e.current))):a.mode&ht&&Qh(a)}function jg(){var e=wi.current;return e===null?!0:(mt&4194048)===mt?vo===null:(mt&62914560)===mt||(mt&536870912)!==0?e===vo:!1}function zp(){var e=ue.H;return ue.H=Ky,e===null?Ky:e}function kg(){var e=ue.A;return ue.A=Dk,e}function ic(e){kn===null&&(kn=e._debugTask==null?null:e._debugTask)}function oc(){Sn=Xc,Qc||(mt&4194048)!==mt&&wi.current!==null||(jm=!0),(Zc&134217727)===0&&(Kc&134217727)===0||Pt===null||ql(Pt,mt,Jl,!1)}function rc(e,t,a){var s=Rt;Rt|=da;var d=zp(),h=kg();if(Pt!==e||mt!==t){if(so){var b=e.memoizedUpdaters;0<b.size&&(uc(e,mt),b.clear()),il(e,t)}ev=null,Wi(e,t)}t=!1,b=Sn;e:do try{if(Zt!==Kl&&bt!==null){var w=bt,R=Ai;switch(Zt){case o2:Cp(),b=X1;break e;case Fy:case Xd:case Qd:case Py:wi.current===null&&(t=!0);var D=Zt;if(Zt=Kl,Ai=null,sc(e,w,R,D),a&&jm){b=su;break e}break;default:D=Zt,Zt=Kl,Ai=null,sc(e,w,R,D)}}Ng(),b=Sn;break}catch(Z){di(e,Z)}while(!0);return t&&e.shellSuspendCounter++,Bu(),Rt=s,ue.H=d,ue.A=h,bt===null&&(Pt=null,mt=0,Bh()),b}function Ng(){for(;bt!==null;)Rp(bt)}function Yo(e,t){var a=Rt;Rt|=da;var s=zp(),d=kg();if(Pt!==e||mt!==t){if(so){var h=e.memoizedUpdaters;0<h.size&&(uc(e,mt),h.clear()),il(e,t)}ev=null,$1=Pn()+GR,Wi(e,t)}else jm=Dn(e,t);e:do try{if(Zt!==Kl&&bt!==null)t:switch(t=bt,h=Ai,Zt){case Q1:Zt=Kl,Ai=null,sc(e,t,h,Q1);break;case Xd:case Qd:if(Z0(h)){Zt=Kl,Ai=null,Ug(t);break}t=function(){Zt!==Xd&&Zt!==Qd||Pt!==e||(Zt=Z1),$a(e)},h.then(t,t);break e;case Fy:Zt=Z1;break e;case VR:Zt=i2;break e;case Z1:Z0(h)?(Zt=Kl,Ai=null,Ug(t)):(Zt=Kl,Ai=null,sc(e,t,h,Z1));break;case i2:var b=null;switch(bt.tag){case 26:b=bt.memoizedState;case 5:case 27:var w=bt;if(b?St(b):w.stateNode.complete){Zt=Kl,Ai=null;var R=w.sibling;if(R!==null)bt=R;else{var D=w.return;D!==null?(bt=D,od(D)):bt=null}break t}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}Zt=Kl,Ai=null,sc(e,t,h,i2);break;case Py:Zt=Kl,Ai=null,sc(e,t,h,Py);break;case o2:Cp(),Sn=X1;break e;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}ue.actQueue!==null?Ng():On();break}catch(Z){di(e,Z)}while(!0);return Bu(),ue.H=s,ue.A=d,Rt=a,bt!==null?su:(Pt=null,mt=0,Bh(),Sn)}function On(){for(;bt!==null&&!nm();)Rp(bt)}function Rp(e){var t=e.alternate;(e.mode&ht)!==Pe?(Do(e),t=_e(e,Pf,t,e,Ir),Qh(e)):t=_e(e,Pf,t,e,Ir),e.memoizedProps=e.pendingProps,t===null?od(e):bt=t}function Ug(e){var t=_e(e,Fn,e);e.memoizedProps=e.pendingProps,t===null?od(e):bt=t}function Fn(e){var t=e.alternate,a=(e.mode&ht)!==Pe;switch(a&&Do(e),e.tag){case 15:case 0:t=fg(t,e,e.pendingProps,e.type,void 0,mt);break;case 11:t=fg(t,e,e.pendingProps,e.type.render,e.ref,mt);break;case 5:wr(e);default:yg(t,e),e=bt=B0(e,Ir),t=Pf(t,e,Ir)}return a&&Qh(e),t}function sc(e,t,a,s){Bu(),wr(t),Tm=null,Gy=0;var d=t.return;try{if(lg(e,d,t,a,mt)){Sn=Iy,Jf(e,za(a,e.current)),bt=null;return}}catch(h){if(d!==null)throw bt=d,h;Sn=Iy,Jf(e,za(a,e.current)),bt=null;return}t.flags&32768?(Et||s===Q1?e=!0:jm||(mt&536870912)!==0?e=!1:(Qc=e=!0,(s===Xd||s===Qd||s===Fy||s===Py)&&(s=wi.current,s!==null&&s.tag===13&&(s.flags|=16384))),Lg(t,e)):od(t)}function od(e){var t=e;do{if((t.flags&32768)!==0){Lg(t,Qc);return}var a=t.alternate;if(e=t.return,Do(t),a=_e(t,gg,a,t,Ir),(t.mode&ht)!==Pe&&Df(t),a!==null){bt=a;return}if(t=t.sibling,t!==null){bt=t;return}bt=t=e}while(t!==null);Sn===su&&(Sn=HR)}function Lg(e,t){do{var a=wb(e.alternate,e);if(a!==null){a.flags&=32767,bt=a;return}if((e.mode&ht)!==Pe){Df(e),a=e.actualDuration;for(var s=e.child;s!==null;)a+=s.actualDuration,s=s.sibling;e.actualDuration=a}if(a=e.return,a!==null&&(a.flags|=32768,a.subtreeFlags=0,a.deletions=null),!t&&(e=e.sibling,e!==null)){bt=e;return}bt=e=a}while(e!==null);Sn=X1,bt=null}function $t(e,t,a,s,d,h,b,w,R,D,Z,J,B,oe){e.cancelPendingCommit=null;do rd();while(ia!==$c);if(Io.flushLegacyContextWarning(),Io.flushPendingUnsafeLifecycleWarnings(),(Rt&(da|Ti))!==Ea)throw Error("Should not already be working.");if(ei(a),D===Gd?j0(B,oe,a,kn):s!==null?uw(B,oe,a,s,t!==null&&t.alternate!==null&&t.alternate.memoizedState.isDehydrated&&(t.flags&256)!==0,kn):sw(B,oe,a,kn),t!==null){if(a===0&&console.error("finishedLanes should not be empty during a commit. This is a bug in React."),t===e.current)throw Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");if(h=t.lanes|t.childLanes,h|=Nw,Sh(e,a,h,b,w,R),e===Pt&&(bt=Pt=null,mt=0),km=t,Ic=e,Wo=a,f2=h,h2=d,$R=s,d2=oe,IR=J,er=I1,FR=null,t.actualDuration!==0||(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,cc(Ks,function(){return ov=window.event,er===I1&&(er=c2),sd(),null})):(e.callbackNode=null,e.callbackPriority=0),tu=null,Hc=ea(),J!==null&&cw(oe,Hc,J,kn),s=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||s){s=ue.T,ue.T=null,d=Nt.p,Nt.p=Vn,b=Rt,Rt|=Ti;try{hw(e,t,a)}finally{Rt=b,Nt.p=d,ue.T=s}}ia=QR,Ua(),eo(),Bg()}}function Ua(){if(ia===QR){ia=$c;var e=Ic,t=km,a=Wo,s=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||s){s=ue.T,ue.T=null;var d=Nt.p;Nt.p=Vn;var h=Rt;Rt|=Ti;try{_m=a,Om=e,bs(),nd(t,e),Om=_m=null,a=T2;var b=Nh(e.containerInfo),w=a.focusedElem,R=a.selectionRange;if(b!==w&&w&&w.ownerDocument&&tb(w.ownerDocument.documentElement,w)){if(R!==null&&D0(w)){var D=R.start,Z=R.end;if(Z===void 0&&(Z=D),"selectionStart"in w)w.selectionStart=D,w.selectionEnd=Math.min(Z,w.value.length);else{var J=w.ownerDocument||document,B=J&&J.defaultView||window;if(B.getSelection){var oe=B.getSelection(),ze=w.textContent.length,Oe=Math.min(R.start,ze),tn=R.end===void 0?Oe:Math.min(R.end,ze);!oe.extend&&Oe>tn&&(b=tn,tn=Oe,Oe=b);var At=eb(w,Oe),L=eb(w,tn);if(At&&L&&(oe.rangeCount!==1||oe.anchorNode!==At.node||oe.anchorOffset!==At.offset||oe.focusNode!==L.node||oe.focusOffset!==L.offset)){var V=J.createRange();V.setStart(At.node,At.offset),oe.removeAllRanges(),Oe>tn?(oe.addRange(V),oe.extend(L.node,L.offset)):(V.setEnd(L.node,L.offset),oe.addRange(V))}}}}for(J=[],oe=w;oe=oe.parentNode;)oe.nodeType===1&&J.push({element:oe,left:oe.scrollLeft,top:oe.scrollTop});for(typeof w.focus=="function"&&w.focus(),w=0;w<J.length;w++){var X=J[w];X.element.scrollLeft=X.left,X.element.scrollTop=X.top}}dS=!!E2,T2=E2=null}finally{Rt=h,Nt.p=d,ue.T=s}}e.current=t,ia=ZR}}function eo(){if(ia===ZR){ia=$c;var e=FR;if(e!==null){Hc=ea();var t=eu,a=Hc;!rn||a<=t||console.timeStamp(e,t,a,Ct,Tt,"secondary-light")}e=Ic,t=km,a=Wo;var s=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||s){s=ue.T,ue.T=null;var d=Nt.p;Nt.p=Vn;var h=Rt;Rt|=Ti;try{_m=a,Om=e,bs(),xp(e,t.alternate,t),Om=_m=null}finally{Rt=h,Nt.p=d,ue.T=s}}e=d2,t=IR,eu=ea(),e=t===null?e:Hc,t=eu,a=er===u2,s=kn,tu!==null?rb(e,t,tu,!1,s):!rn||t<=e||(s?s.run(console.timeStamp.bind(console,a?"Commit Interrupted View Transition":"Commit",e,t,Ct,Tt,a?"error":"secondary-dark")):console.timeStamp(a?"Commit Interrupted View Transition":"Commit",e,t,Ct,Tt,a?"error":"secondary-dark")),ia=KR}}function Bg(){if(ia===JR||ia===KR){if(ia===JR){var e=eu;eu=ea();var t=eu,a=er===u2;!rn||t<=e||console.timeStamp(a?"Interrupted View Transition":"Starting Animation",e,t,Ct,Tt,a?" error":"secondary-light"),er!==u2&&(er=XR)}ia=$c,am(),e=Ic;var s=km;t=Wo,a=$R;var d=s.actualDuration!==0||(s.subtreeFlags&10256)!==0||(s.flags&10256)!==0;d?ia=F1:(ia=$c,km=Ic=null,Hg(e,e.pendingLanes),Kd=0,nv=null);var h=e.pendingLanes;if(h===0&&(Jc=null),d||_p(e),h=Xn(t),s=s.stateNode,Hn&&typeof Hn.onCommitFiberRoot=="function")try{var b=(s.current.flags&128)===128;switch(h){case Vn:var w=my;break;case ca:w=lm;break;case Sa:w=Ks;break;case Qr:w=im;break;default:w=Ks}Hn.onCommitFiberRoot(Js,s,w,b)}catch(J){ro||(ro=!0,console.error("React instrumentation encountered an error: %o",J))}if(so&&e.memoizedUpdaters.clear(),_g(),a!==null){b=ue.T,w=Nt.p,Nt.p=Vn,ue.T=null;try{var R=e.onRecoverableError;for(s=0;s<a.length;s++){var D=a[s],Z=Ob(D.stack);_e(D.source,R,D.value,Z)}}finally{ue.T=b,Nt.p=w}}(Wo&3)!==0&&rd(),$a(e),h=e.pendingLanes,(t&261930)!==0&&(h&42)!==0?(j1=!0,e===p2?tv++:(tv=0,p2=e)):tv=0,d||Lr(t,eu),to(0)}}function Ob(e){return e={componentStack:e},Object.defineProperty(e,"digest",{get:function(){console.error('You are accessing "digest" from the errorInfo object passed to onRecoverableError. This property is no longer provided as part of errorInfo but can be accessed as a property of the Error instance itself.')}}),e}function Hg(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Mf(t)))}function rd(){return Ua(),eo(),Bg(),sd()}function sd(){if(ia!==F1)return!1;var e=Ic,t=f2;f2=0;var a=Xn(Wo),s=Sa>a?Sa:a;a=ue.T;var d=Nt.p;try{Nt.p=s,ue.T=null;var h=h2;h2=null,s=Ic;var b=Wo;if(ia=$c,km=Ic=null,Wo=0,(Rt&(da|Ti))!==Ea)throw Error("Cannot flush passive effects while already rendering.");ei(b),m2=!0,P1=!1;var w=0;if(tu=null,w=Pn(),er===XR)k0(eu,w,Ek);else{var R=eu,D=w,Z=er===c2;!rn||D<=R||(kn?kn.run(console.timeStamp.bind(console,Z?"Waiting for Paint":"Waiting",R,D,Ct,Tt,"secondary-light")):console.timeStamp(Z?"Waiting for Paint":"Waiting",R,D,Ct,Tt,"secondary-light"))}R=Rt,Rt|=Ti;var J=s.current;bs(),Tp(J);var B=s.current;J=d2,bs(),Rg(s,B,b,h,J),_p(s),Rt=R;var oe=Pn();if(B=w,J=kn,tu!==null?rb(B,oe,tu,!0,J):!rn||oe<=B||(J?J.run(console.timeStamp.bind(console,"Remaining Effects",B,oe,Ct,Tt,"secondary-dark")):console.timeStamp("Remaining Effects",B,oe,Ct,Tt,"secondary-dark")),Lr(b,oe),to(0,!1),P1?s===nv?Kd++:(Kd=0,nv=s):Kd=0,P1=m2=!1,Hn&&typeof Hn.onPostCommitFiberRoot=="function")try{Hn.onPostCommitFiberRoot(Js,s)}catch(Oe){ro||(ro=!0,console.error("React instrumentation encountered an error: %o",Oe))}var ze=s.current.stateNode;return ze.effectDuration=0,ze.passiveEffectDuration=0,!0}finally{Nt.p=d,ue.T=a,Hg(e,t)}}function La(e,t,a){t=za(a,t),hb(t),t=rp(e.stateNode,t,2),e=qi(e,t,2),e!==null&&(Il(e,2),$a(e))}function ut(e,t,a){if(Nm=!1,e.tag===3)La(e,e,a);else{for(;t!==null;){if(t.tag===3){La(t,e,a);return}if(t.tag===1){var s=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof s.componentDidCatch=="function"&&(Jc===null||!Jc.has(s))){e=za(a,e),hb(e),a=sp(2),s=qi(t,a,2),s!==null&&(up(a,s,t,e),Il(s,2),$a(s));return}}t=t.return}console.error(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Potential causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
|
|
167
|
+
|
|
168
|
+
Error message:
|
|
169
|
+
|
|
170
|
+
%s`,a)}}function Mp(e,t,a){var s=e.pingCache;if(s===null){s=e.pingCache=new Ok;var d=new Set;s.set(t,d)}else d=s.get(t),d===void 0&&(d=new Set,s.set(t,d));d.has(a)||(r2=!0,d.add(a),s=Ja.bind(null,e,t,a),so&&uc(e,a),t.then(s,s))}function Ja(e,t,a){var s=e.pingCache;s!==null&&s.delete(t),e.pingedLanes|=e.suspendedLanes&a,e.warmLanes&=~a,(a&127)!==0?0>Jr&&(kd=Jr=ea(),_y=z1("Promise Resolved"),Vc=R1):(a&4194048)!==0&&0>yo&&(nu=yo=ea(),jy=z1("Promise Resolved"),qw=R1),Og()&&ue.actQueue===null&&console.error(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
|
|
171
|
+
|
|
172
|
+
When testing, code that resolves suspended data should be wrapped into act(...):
|
|
173
|
+
|
|
174
|
+
act(() => {
|
|
175
|
+
/* finish loading suspended data */
|
|
176
|
+
});
|
|
177
|
+
/* assert on the output */
|
|
178
|
+
|
|
179
|
+
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`),Pt===e&&(mt&a)===a&&(Sn===Xc||Sn===G1&&(mt&62914560)===mt&&Pn()-J1<qR?(Rt&da)===Ea&&Wi(e,0):s2|=a,Zd===mt&&(Zd=0)),$a(e)}function Vg(e,t){t===0&&(t=Eu()),e=ga(e,t),e!==null&&(Il(e,t),$a(e))}function qo(e){var t=e.memoizedState,a=0;t!==null&&(a=t.retryLane),Vg(e,a)}function Bs(e,t){var a=0;switch(e.tag){case 31:case 13:var s=e.stateNode,d=e.memoizedState;d!==null&&(a=d.retryLane);break;case 19:s=e.stateNode;break;case 22:s=e.stateNode._retryCache;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}s!==null&&s.delete(t),Vg(e,a)}function hi(e,t,a){if((t.subtreeFlags&67117056)!==0)for(t=t.child;t!==null;){var s=e,d=t,h=d.type===Va;h=a||h,d.tag!==22?d.flags&67108864?h&&_e(d,Dp,s,d):hi(s,d,h):d.memoizedState===null&&(h&&d.flags&8192?_e(d,Dp,s,d):d.subtreeFlags&67108864&&_e(d,hi,s,d,h)),t=t.sibling}}function Dp(e,t){Ue(!0);try{wp(t),Dg(t),zg(e,t.alternate,t,!1),id(e,t,0,null,!1,0)}finally{Ue(!1)}}function _p(e){var t=!0;e.current.mode&(el|$o)||(t=!1),hi(e,e.current,t)}function Gl(e){if((Rt&da)===Ea){var t=e.tag;if(t===3||t===1||t===0||t===11||t===14||t===15){if(t=ye(e)||"ReactComponent",W1!==null){if(W1.has(t))return;W1.add(t)}else W1=new Set([t]);_e(e,function(){console.error("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously tries to update the component. Move this work to useEffect instead.")})}}}function uc(e,t){so&&e.memoizedUpdaters.forEach(function(a){Nn(e,a,t)})}function cc(e,t){var a=ue.actQueue;return a!==null?(a.push(t),Nk):py(e,t)}function ud(e){Og()&&ue.actQueue===null&&_e(e,function(){console.error(`An update to %s inside a test was not wrapped in act(...).
|
|
180
|
+
|
|
181
|
+
When testing, code that causes React state updates should be wrapped into act(...):
|
|
182
|
+
|
|
183
|
+
act(() => {
|
|
184
|
+
/* fire events that update state */
|
|
185
|
+
});
|
|
186
|
+
/* assert on the output */
|
|
187
|
+
|
|
188
|
+
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`,ye(e))})}function $a(e){e!==Um&&e.next===null&&(Um===null?eS=Um=e:Um=Um.next=e),tS=!0,ue.actQueue!==null?y2||(y2=!0,kb()):g2||(g2=!0,kb())}function to(e,t){if(!v2&&tS){v2=!0;do for(var a=!1,s=eS;s!==null;){if(e!==0){var d=s.pendingLanes;if(d===0)var h=0;else{var b=s.suspendedLanes,w=s.pingedLanes;h=(1<<31-ua(42|e)+1)-1,h&=d&~(b&~w),h=h&201326741?h&201326741|1:h?h|2:0}h!==0&&(a=!0,cd(s,h))}else h=mt,h=ns(s,s===Pt?h:0,s.cancelPendingCommit!==null||s.timeoutHandle!==Fd),(h&3)===0||Dn(s,h)||(a=!0,cd(s,h));s=s.next}while(a);v2=!1}}function jb(){ov=window.event,Op()}function Op(){tS=y2=g2=!1;var e=0;Fc!==0&&Xg()&&(e=Fc);for(var t=Pn(),a=null,s=eS;s!==null;){var d=s.next,h=fc(s,t);h===0?(s.next=null,a===null?eS=d:a.next=d,d===null&&(Um=a)):(a=s,(e!==0||(h&3)!==0)&&(tS=!0)),s=d}ia!==$c&&ia!==F1||to(e),Fc!==0&&(Fc=0)}function fc(e,t){for(var a=e.suspendedLanes,s=e.pingedLanes,d=e.expirationTimes,h=e.pendingLanes&-62914561;0<h;){var b=31-ua(h),w=1<<b,R=d[b];R===-1?((w&a)===0||(w&s)!==0)&&(d[b]=bh(w,t)):R<=t&&(e.expiredLanes|=w),h&=~w}if(t=Pt,a=mt,a=ns(e,e===t?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==Fd),s=e.callbackNode,a===0||e===t&&(Zt===Xd||Zt===Qd)||e.cancelPendingCommit!==null)return s!==null&&jp(s),e.callbackNode=null,e.callbackPriority=0;if((a&3)===0||Dn(e,a)){if(t=a&-a,t!==e.callbackPriority||ue.actQueue!==null&&s!==b2)jp(s);else return t;switch(Xn(a)){case Vn:case ca:a=lm;break;case Sa:a=Ks;break;case Qr:a=im;break;default:a=Ks}return s=Yg.bind(null,e),ue.actQueue!==null?(ue.actQueue.push(s),a=b2):a=py(a,s),e.callbackPriority=t,e.callbackNode=a,t}return s!==null&&jp(s),e.callbackPriority=2,e.callbackNode=null,2}function Yg(e,t){if(j1=O1=!1,ov=window.event,ia!==$c&&ia!==F1)return e.callbackNode=null,e.callbackPriority=0,null;var a=e.callbackNode;if(er===I1&&(er=c2),rd()&&e.callbackNode!==a)return null;var s=mt;return s=ns(e,e===Pt?s:0,e.cancelPendingCommit!==null||e.timeoutHandle!==Fd),s===0?null:(Mb(e,s,t),fc(e,Pn()),e.callbackNode!=null&&e.callbackNode===a?Yg.bind(null,e):null)}function cd(e,t){if(rd())return null;O1=j1,j1=!1,Mb(e,t,!0)}function jp(e){e!==b2&&e!==null&&tm(e)}function kb(){ue.actQueue!==null&&ue.actQueue.push(function(){return Op(),null}),Qk(function(){(Rt&(da|Ti))!==Ea?py(my,jb):Op()})}function qg(){if(Fc===0){var e=Ld;e===0&&(e=Mc,Mc<<=1,(Mc&261888)===0&&(Mc=256)),Fc=e}return Fc}function _t(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:(Dt(e,"action"),bf(""+e))}function Gt(e,t){var a=t.ownerDocument.createElement("input");return a.name=t.name,a.value=t.value,e.id&&a.setAttribute("form",e.id),t.parentNode.insertBefore(a,t),e=new FormData(e),a.parentNode.removeChild(a),e}function wt(e,t,a,s,d){if(t==="submit"&&a&&a.stateNode===d){var h=_t((d[Ya]||null).action),b=s.submitter;b&&(t=(t=b[Ya]||null)?_t(t.formAction):b.getAttribute("formAction"),t!==null&&(h=t,b=null));var w=new S1("action","action",null,s,d);e.push({event:w,listeners:[{instance:null,listener:function(){if(s.defaultPrevented){if(Fc!==0){var R=b?Gt(d,b):new FormData(d),D={pending:!0,data:R,method:d.method,action:h};Object.freeze(D),Bo(a,D,null,R)}}else typeof h=="function"&&(w.preventDefault(),R=b?Gt(d,b):new FormData(d),D={pending:!0,data:R,method:d.method,action:h},Object.freeze(D),Bo(a,D,h,R))},currentTarget:d}]})}}function vt(e,t,a){e.currentTarget=a;try{t(e)}catch(s){_w(s)}e.currentTarget=null}function Ht(e,t){t=(t&4)!==0;for(var a=0;a<e.length;a++){var s=e[a];e:{var d=void 0,h=s.event;if(s=s.listeners,t)for(var b=s.length-1;0<=b;b--){var w=s[b],R=w.instance,D=w.currentTarget;if(w=w.listener,R!==d&&h.isPropagationStopped())break e;R!==null?_e(R,vt,h,w,D):vt(h,w,D),d=R}else for(b=0;b<s.length;b++){if(w=s[b],R=w.instance,D=w.currentTarget,w=w.listener,R!==d&&h.isPropagationStopped())break e;R!==null?_e(R,vt,h,w,D):vt(h,w,D),d=R}}}}function Fe(e,t){S2.has(e)||console.error('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var a=t[$s];a===void 0&&(a=t[$s]=new Set);var s=e+"__bubble";a.has(s)||(kp(t,e,2,!1),a.add(s))}function no(e,t,a){S2.has(e)&&!t&&console.error('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var s=0;t&&(s|=4),kp(a,e,s,t)}function Br(e){if(!e[nS]){e[nS]=!0,m1.forEach(function(a){a!=="selectionchange"&&(S2.has(a)||no(a,!1,e),no(a,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[nS]||(t[nS]=!0,no("selectionchange",!1,t))}}function kp(e,t,a,s){switch(Jp(t)){case Vn:var d=ay;break;case ca:d=sa;break;default:d=ly}a=d.bind(null,t,a,e),d=void 0,!xw||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(d=!0),s?d!==void 0?e.addEventListener(t,a,{capture:!0,passive:d}):e.addEventListener(t,a,!0):d!==void 0?e.addEventListener(t,a,{passive:d}):e.addEventListener(t,a,!1)}function pi(e,t,a,s,d){var h=s;if((t&1)===0&&(t&2)===0&&s!==null)e:for(;;){if(s===null)return;var b=s.tag;if(b===3||b===4){var w=s.stateNode.containerInfo;if(w===d)break;if(b===4)for(b=s.return;b!==null;){var R=b.tag;if((R===3||R===4)&&b.stateNode.containerInfo===d)return;b=b.return}for(;w!==null;){if(b=Te(w),b===null)return;if(R=b.tag,R===5||R===6||R===26||R===27){s=h=b;continue e}w=w.parentNode}}s=s.return}_h(function(){var D=h,Z=Pl(a),J=[];e:{var B=jz.get(e);if(B!==void 0){var oe=S1,ze=e;switch(e){case"keypress":if(Sf(a)===0)break e;case"keydown":case"keyup":oe=Ij;break;case"focusin":ze="focus",oe=Aw;break;case"focusout":ze="blur",oe=Aw;break;case"beforeblur":case"afterblur":oe=Aw;break;case"click":if(a.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":oe=bz;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":oe=Bj;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":oe=Wj;break;case Mz:case Dz:case _z:oe=Yj;break;case Oz:oe=tk;break;case"scroll":case"scrollend":oe=Uj;break;case"wheel":oe=ak;break;case"copy":case"cut":case"paste":oe=Gj;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":oe=xz;break;case"toggle":case"beforetoggle":oe=ik}var Oe=(t&4)!==0,tn=!Oe&&(e==="scroll"||e==="scrollend"),At=Oe?B!==null?B+"Capture":null:B;Oe=[];for(var L=D,V;L!==null;){var X=L;if(V=X.stateNode,X=X.tag,X!==5&&X!==26&&X!==27||V===null||At===null||(X=Ui(L,At),X!=null&&Oe.push(It(L,X,V))),tn)break;L=L.return}0<Oe.length&&(B=new oe(B,ze,null,a,Z),J.push({event:B,listeners:Oe}))}}if((t&7)===0){e:{if(B=e==="mouseover"||e==="pointerover",oe=e==="mouseout"||e==="pointerout",B&&a!==Sy&&(ze=a.relatedTarget||a.fromElement)&&(Te(ze)||ze[Jo]))break e;if((oe||B)&&(B=Z.window===Z?Z:(B=Z.ownerDocument)?B.defaultView||B.parentWindow:window,oe?(ze=a.relatedTarget||a.toElement,oe=D,ze=ze?Te(ze):null,ze!==null&&(tn=W(ze),Oe=ze.tag,ze!==tn||Oe!==5&&Oe!==27&&Oe!==6)&&(ze=null)):(oe=null,ze=D),oe!==ze)){if(Oe=bz,X="onMouseLeave",At="onMouseEnter",L="mouse",(e==="pointerout"||e==="pointerover")&&(Oe=xz,X="onPointerLeave",At="onPointerEnter",L="pointer"),tn=oe==null?B:Le(oe),V=ze==null?B:Le(ze),B=new Oe(X,L+"leave",oe,a,Z),B.target=tn,B.relatedTarget=V,X=null,Te(Z)===D&&(Oe=new Oe(At,L+"enter",ze,a,Z),Oe.target=V,Oe.relatedTarget=tn,X=Oe),tn=X,oe&&ze)t:{for(Oe=Hs,At=oe,L=ze,V=0,X=At;X;X=Oe(X))V++;X=0;for(var ge=L;ge;ge=Oe(ge))X++;for(;0<V-X;)At=Oe(At),V--;for(;0<X-V;)L=Oe(L),X--;for(;V--;){if(At===L||L!==null&&At===L.alternate){Oe=At;break t}At=Oe(At),L=Oe(L)}Oe=null}else Oe=null;oe!==null&&Np(J,B,oe,Oe,!1),ze!==null&&tn!==null&&Np(J,tn,ze,Oe,!0)}}e:{if(B=D?Le(D):window,oe=B.nodeName&&B.nodeName.toLowerCase(),oe==="select"||oe==="input"&&B.type==="file")var Me=pr;else if(z0(B))if(zz)Me=Tf;else{Me=R0;var at=rw}else oe=B.nodeName,!oe||oe.toLowerCase()!=="input"||B.type!=="checkbox"&&B.type!=="radio"?D&&Ni(D.elementType)&&(Me=pr):Me=M0;if(Me&&(Me=Me(e,D))){wf(J,Me,a,Z);break e}at&&at(e,B,D),e==="focusout"&&D&&B.type==="number"&&D.memoizedProps.value!=null&&v0(B,"number",B.value)}switch(at=D?Le(D):window,e){case"focusin":(z0(at)||at.contentEditable==="true")&&(hm=at,zw=D,zy=null);break;case"focusout":zy=zw=hm=null;break;case"mousedown":Rw=!0;break;case"contextmenu":case"mouseup":case"dragend":Rw=!1,nb(J,a,Z);break;case"selectionchange":if(uk)break;case"keydown":case"keyup":nb(J,a,Z)}var Xe;if(Cw)e:{switch(e){case"compositionstart":var qe="onCompositionStart";break e;case"compositionend":qe="onCompositionEnd";break e;case"compositionupdate":qe="onCompositionUpdate";break e}qe=void 0}else dm?ju(e,a)&&(qe="onCompositionEnd"):e==="keydown"&&a.keyCode===wz&&(qe="onCompositionStart");qe&&(Ez&&a.locale!=="ko"&&(dm||qe!=="onCompositionStart"?qe==="onCompositionEnd"&&dm&&(Xe=us()):(kc=Z,ww="value"in kc?kc.value:kc.textContent,dm=!0)),at=mi(D,qe),0<at.length&&(qe=new Sz(qe,e,null,a,Z),J.push({event:qe,listeners:at}),Xe?qe.data=Xe:(Xe=Ro(a),Xe!==null&&(qe.data=Xe)))),(Xe=rk?C0(e,a):Oh(e,a))&&(qe=mi(D,"onBeforeInput"),0<qe.length&&(at=new Qj("onBeforeInput","beforeinput",null,a,Z),J.push({event:at,listeners:qe}),at.data=Xe)),wt(J,e,D,a,Z)}Ht(J,t)})}function It(e,t,a){return{instance:e,listener:t,currentTarget:a}}function mi(e,t){for(var a=t+"Capture",s=[];e!==null;){var d=e,h=d.stateNode;if(d=d.tag,d!==5&&d!==26&&d!==27||h===null||(d=Ui(e,a),d!=null&&s.unshift(It(e,d,h)),d=Ui(e,t),d!=null&&s.push(It(e,d,h))),e.tag===3)return s;e=e.return}return[]}function Hs(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Np(e,t,a,s,d){for(var h=t._reactName,b=[];a!==null&&a!==s;){var w=a,R=w.alternate,D=w.stateNode;if(w=w.tag,R!==null&&R===s)break;w!==5&&w!==26&&w!==27||D===null||(R=D,d?(D=Ui(a,h),D!=null&&b.unshift(It(a,D,R))):d||(D=Ui(a,h),D!=null&&b.push(It(a,D,R)))),a=a.return}b.length!==0&&e.push({event:t,listeners:b})}function Ba(e,t){Fv(e,t),e!=="input"&&e!=="textarea"&&e!=="select"||t==null||t.value!==null||yz||(yz=!0,e==="select"&&t.multiple?console.error("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",e):console.error("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e));var a={registrationNameDependencies:uo,possibleRegistrationNames:Oc};Ni(e)||typeof t.is=="string"||ow(e,t,a),t.contentEditable&&!t.suppressContentEditableWarning&&t.children!=null&&console.error("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional.")}function hn(e,t,a,s){t!==a&&(a=gi(a),gi(t)!==a&&(s[e]=t))}function fd(e,t,a){t.forEach(function(s){a[Go(s)]=s==="style"?Hr(e):e.getAttribute(s)})}function pn(e,t){t===!1?console.error("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",e,e,e):console.error("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)}function Up(e,t){return e=e.namespaceURI===ot||e.namespaceURI===ct?e.ownerDocument.createElementNS(e.namespaceURI,e.tagName):e.ownerDocument.createElement(e.tagName),e.innerHTML=t,e.innerHTML}function gi(e){return ll(e)&&(console.error("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before using it here.",rr(e)),Di(e)),(typeof e=="string"?e:""+e).replace(Uk,`
|
|
189
|
+
`).replace(Lk,"")}function Gg(e,t){return t=gi(t),gi(e)===t}function kt(e,t,a,s,d,h){switch(a){case"children":typeof s=="string"?(vf(s,t,!1),t==="body"||t==="textarea"&&s===""||ss(e,s)):(typeof s=="number"||typeof s=="bigint")&&(vf(""+s,t,!1),t!=="body"&&ss(e,""+s));break;case"className":mf(e,"class",s);break;case"tabIndex":mf(e,"tabindex",s);break;case"dir":case"role":case"viewBox":case"width":case"height":mf(e,a,s);break;case"style":E0(e,s,h);break;case"data":if(t!=="object"){mf(e,"data",s);break}case"src":case"href":if(s===""&&(t!=="a"||a!=="href")){console.error(a==="src"?'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.':'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',a,a),e.removeAttribute(a);break}if(s==null||typeof s=="function"||typeof s=="symbol"||typeof s=="boolean"){e.removeAttribute(a);break}Dt(s,a),s=bf(""+s),e.setAttribute(a,s);break;case"action":case"formAction":if(s!=null&&(t==="form"?a==="formAction"?console.error("You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>."):typeof s=="function"&&(d.encType==null&&d.method==null||iS||(iS=!0,console.error("Cannot specify a encType or method for a form that specifies a function as the action. React provides those automatically. They will get overridden.")),d.target==null||lS||(lS=!0,console.error("Cannot specify a target for a form that specifies a function as the action. The function will always be executed in the same window."))):t==="input"||t==="button"?a==="action"?console.error("You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>."):t!=="input"||d.type==="submit"||d.type==="image"||aS?t!=="button"||d.type==null||d.type==="submit"||aS?typeof s=="function"&&(d.name==null||n5||(n5=!0,console.error('Cannot specify a "name" prop for a button that specifies a function as a formAction. React needs it to encode which action should be invoked. It will get overridden.')),d.formEncType==null&&d.formMethod==null||iS||(iS=!0,console.error("Cannot specify a formEncType or formMethod for a button that specifies a function as a formAction. React provides those automatically. They will get overridden.")),d.formTarget==null||lS||(lS=!0,console.error("Cannot specify a formTarget for a button that specifies a function as a formAction. The function will always be executed in the same window."))):(aS=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(aS=!0,console.error('An input can only specify a formAction along with type="submit" or type="image".')):console.error(a==="action"?"You can only pass the action prop to <form>.":"You can only pass the formAction prop to <input> or <button>.")),typeof s=="function"){e.setAttribute(a,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof h=="function"&&(a==="formAction"?(t!=="input"&&kt(e,t,"name",d.name,d,null),kt(e,t,"formEncType",d.formEncType,d,null),kt(e,t,"formMethod",d.formMethod,d,null),kt(e,t,"formTarget",d.formTarget,d,null)):(kt(e,t,"encType",d.encType,d,null),kt(e,t,"method",d.method,d,null),kt(e,t,"target",d.target,d,null)));if(s==null||typeof s=="symbol"||typeof s=="boolean"){e.removeAttribute(a);break}Dt(s,a),s=bf(""+s),e.setAttribute(a,s);break;case"onClick":s!=null&&(typeof s!="function"&&pn(a,s),e.onclick=jl);break;case"onScroll":s!=null&&(typeof s!="function"&&pn(a,s),Fe("scroll",e));break;case"onScrollEnd":s!=null&&(typeof s!="function"&&pn(a,s),Fe("scrollend",e));break;case"dangerouslySetInnerHTML":if(s!=null){if(typeof s!="object"||!("__html"in s))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(a=s.__html,a!=null){if(d.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=a}}break;case"multiple":e.multiple=s&&typeof s!="function"&&typeof s!="symbol";break;case"muted":e.muted=s&&typeof s!="function"&&typeof s!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(s==null||typeof s=="function"||typeof s=="boolean"||typeof s=="symbol"){e.removeAttribute("xlink:href");break}Dt(s,a),a=bf(""+s),e.setAttributeNS(Jd,"xlink:href",a);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":s!=null&&typeof s!="function"&&typeof s!="symbol"?(Dt(s,a),e.setAttribute(a,""+s)):e.removeAttribute(a);break;case"inert":s!==""||oS[a]||(oS[a]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",a));case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":s&&typeof s!="function"&&typeof s!="symbol"?e.setAttribute(a,""):e.removeAttribute(a);break;case"capture":case"download":s===!0?e.setAttribute(a,""):s!==!1&&s!=null&&typeof s!="function"&&typeof s!="symbol"?(Dt(s,a),e.setAttribute(a,s)):e.removeAttribute(a);break;case"cols":case"rows":case"size":case"span":s!=null&&typeof s!="function"&&typeof s!="symbol"&&!isNaN(s)&&1<=s?(Dt(s,a),e.setAttribute(a,s)):e.removeAttribute(a);break;case"rowSpan":case"start":s==null||typeof s=="function"||typeof s=="symbol"||isNaN(s)?e.removeAttribute(a):(Dt(s,a),e.setAttribute(a,s));break;case"popover":Fe("beforetoggle",e),Fe("toggle",e),Cu(e,"popover",s);break;case"xlinkActuate":Oi(e,Jd,"xlink:actuate",s);break;case"xlinkArcrole":Oi(e,Jd,"xlink:arcrole",s);break;case"xlinkRole":Oi(e,Jd,"xlink:role",s);break;case"xlinkShow":Oi(e,Jd,"xlink:show",s);break;case"xlinkTitle":Oi(e,Jd,"xlink:title",s);break;case"xlinkType":Oi(e,Jd,"xlink:type",s);break;case"xmlBase":Oi(e,x2,"xml:base",s);break;case"xmlLang":Oi(e,x2,"xml:lang",s);break;case"xmlSpace":Oi(e,x2,"xml:space",s);break;case"is":h!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),Cu(e,"is",s);break;case"innerText":case"textContent":break;case"popoverTarget":a5||s==null||typeof s!="object"||(a5=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",s));default:!(2<a.length)||a[0]!=="o"&&a[0]!=="O"||a[1]!=="n"&&a[1]!=="N"?(a=$v(a),Cu(e,a,s)):uo.hasOwnProperty(a)&&s!=null&&typeof s!="function"&&pn(a,s)}}function dc(e,t,a,s,d,h){switch(a){case"style":E0(e,s,h);break;case"dangerouslySetInnerHTML":if(s!=null){if(typeof s!="object"||!("__html"in s))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(a=s.__html,a!=null){if(d.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=a}}break;case"children":typeof s=="string"?ss(e,s):(typeof s=="number"||typeof s=="bigint")&&ss(e,""+s);break;case"onScroll":s!=null&&(typeof s!="function"&&pn(a,s),Fe("scroll",e));break;case"onScrollEnd":s!=null&&(typeof s!="function"&&pn(a,s),Fe("scrollend",e));break;case"onClick":s!=null&&(typeof s!="function"&&pn(a,s),e.onclick=jl);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(uo.hasOwnProperty(a))s!=null&&typeof s!="function"&&pn(a,s);else e:{if(a[0]==="o"&&a[1]==="n"&&(d=a.endsWith("Capture"),t=a.slice(2,d?a.length-7:void 0),h=e[Ya]||null,h=h!=null?h[a]:null,typeof h=="function"&&e.removeEventListener(t,h,d),typeof s=="function")){typeof h!="function"&&h!==null&&(a in e?e[a]=null:e.hasAttribute(a)&&e.removeAttribute(a)),e.addEventListener(t,s,d);break e}a in e?e[a]=s:s===!0?e.setAttribute(a,""):Cu(e,a,s)}}}function ln(e,t,a){switch(Ba(t,a),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Fe("error",e),Fe("load",e);var s=!1,d=!1,h;for(h in a)if(a.hasOwnProperty(h)){var b=a[h];if(b!=null)switch(h){case"src":s=!0;break;case"srcSet":d=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:kt(e,t,h,b,a,null)}}d&&kt(e,t,"srcSet",a.srcSet,a,null),s&&kt(e,t,"src",a.src,a,null);return;case"input":ma("input",a),Fe("invalid",e);var w=h=b=d=null,R=null,D=null;for(s in a)if(a.hasOwnProperty(s)){var Z=a[s];if(Z!=null)switch(s){case"name":d=Z;break;case"type":b=Z;break;case"checked":R=Z;break;case"defaultChecked":D=Z;break;case"value":h=Z;break;case"defaultValue":w=Z;break;case"children":case"dangerouslySetInnerHTML":if(Z!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:kt(e,t,s,Z,a,null)}}Ca(e,a),Eh(e,h,w,R,D,b,d,!1);return;case"select":ma("select",a),Fe("invalid",e),s=b=h=null;for(d in a)if(a.hasOwnProperty(d)&&(w=a[d],w!=null))switch(d){case"value":h=w;break;case"defaultValue":b=w;break;case"multiple":s=w;default:kt(e,t,d,w,a,null)}Th(e,a),t=h,a=b,e.multiple=!!s,t!=null?ji(e,!!s,t,!1):a!=null&&ji(e,!!s,a,!0);return;case"textarea":ma("textarea",a),Fe("invalid",e),h=d=s=null;for(b in a)if(a.hasOwnProperty(b)&&(w=a[b],w!=null))switch(b){case"value":s=w;break;case"defaultValue":d=w;break;case"children":h=w;break;case"dangerouslySetInnerHTML":if(w!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:kt(e,t,b,w,a,null)}ls(e,a),zu(e,s,d,h);return;case"option":Jv(e,a);for(R in a)a.hasOwnProperty(R)&&(s=a[R],s!=null)&&(R==="selected"?e.selected=s&&typeof s!="function"&&typeof s!="symbol":kt(e,t,R,s,a,null));return;case"dialog":Fe("beforetoggle",e),Fe("toggle",e),Fe("cancel",e),Fe("close",e);break;case"iframe":case"object":Fe("load",e);break;case"video":case"audio":for(s=0;s<av.length;s++)Fe(av[s],e);break;case"image":Fe("error",e),Fe("load",e);break;case"details":Fe("toggle",e);break;case"embed":case"source":case"link":Fe("error",e),Fe("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(D in a)if(a.hasOwnProperty(D)&&(s=a[D],s!=null))switch(D){case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:kt(e,t,D,s,a,null)}return;default:if(Ni(t)){for(Z in a)a.hasOwnProperty(Z)&&(s=a[Z],s!==void 0&&dc(e,t,Z,s,a,void 0));return}}for(w in a)a.hasOwnProperty(w)&&(s=a[w],s!=null&&kt(e,t,w,s,a,null))}function Bn(e,t,a,s){switch(Ba(t,s),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var d=null,h=null,b=null,w=null,R=null,D=null,Z=null;for(oe in a){var J=a[oe];if(a.hasOwnProperty(oe)&&J!=null)switch(oe){case"checked":break;case"value":break;case"defaultValue":R=J;default:s.hasOwnProperty(oe)||kt(e,t,oe,null,s,J)}}for(var B in s){var oe=s[B];if(J=a[B],s.hasOwnProperty(B)&&(oe!=null||J!=null))switch(B){case"type":h=oe;break;case"name":d=oe;break;case"checked":D=oe;break;case"defaultChecked":Z=oe;break;case"value":b=oe;break;case"defaultValue":w=oe;break;case"children":case"dangerouslySetInnerHTML":if(oe!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:oe!==J&&kt(e,t,B,oe,s,J)}}t=a.type==="checkbox"||a.type==="radio"?a.checked!=null:a.value!=null,s=s.type==="checkbox"||s.type==="radio"?s.checked!=null:s.value!=null,t||!s||t5||(console.error("A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components"),t5=!0),!t||s||e5||(console.error("A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components"),e5=!0),fr(e,b,w,R,D,Z,h,d);return;case"select":oe=b=w=B=null;for(h in a)if(R=a[h],a.hasOwnProperty(h)&&R!=null)switch(h){case"value":break;case"multiple":oe=R;default:s.hasOwnProperty(h)||kt(e,t,h,null,s,R)}for(d in s)if(h=s[d],R=a[d],s.hasOwnProperty(d)&&(h!=null||R!=null))switch(d){case"value":B=h;break;case"defaultValue":w=h;break;case"multiple":b=h;default:h!==R&&kt(e,t,d,h,s,R)}s=w,t=b,a=oe,B!=null?ji(e,!!t,B,!1):!!a!=!!t&&(s!=null?ji(e,!!t,s,!0):ji(e,!!t,t?[]:"",!1));return;case"textarea":oe=B=null;for(w in a)if(d=a[w],a.hasOwnProperty(w)&&d!=null&&!s.hasOwnProperty(w))switch(w){case"value":break;case"children":break;default:kt(e,t,w,null,s,d)}for(b in s)if(d=s[b],h=a[b],s.hasOwnProperty(b)&&(d!=null||h!=null))switch(b){case"value":B=d;break;case"defaultValue":oe=d;break;case"children":break;case"dangerouslySetInnerHTML":if(d!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:d!==h&&kt(e,t,b,d,s,h)}is(e,B,oe);return;case"option":for(var ze in a)B=a[ze],a.hasOwnProperty(ze)&&B!=null&&!s.hasOwnProperty(ze)&&(ze==="selected"?e.selected=!1:kt(e,t,ze,null,s,B));for(R in s)B=s[R],oe=a[R],s.hasOwnProperty(R)&&B!==oe&&(B!=null||oe!=null)&&(R==="selected"?e.selected=B&&typeof B!="function"&&typeof B!="symbol":kt(e,t,R,B,s,oe));return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var Oe in a)B=a[Oe],a.hasOwnProperty(Oe)&&B!=null&&!s.hasOwnProperty(Oe)&&kt(e,t,Oe,null,s,B);for(D in s)if(B=s[D],oe=a[D],s.hasOwnProperty(D)&&B!==oe&&(B!=null||oe!=null))switch(D){case"children":case"dangerouslySetInnerHTML":if(B!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:kt(e,t,D,B,s,oe)}return;default:if(Ni(t)){for(var tn in a)B=a[tn],a.hasOwnProperty(tn)&&B!==void 0&&!s.hasOwnProperty(tn)&&dc(e,t,tn,void 0,s,B);for(Z in s)B=s[Z],oe=a[Z],!s.hasOwnProperty(Z)||B===oe||B===void 0&&oe===void 0||dc(e,t,Z,B,s,oe);return}}for(var At in a)B=a[At],a.hasOwnProperty(At)&&B!=null&&!s.hasOwnProperty(At)&&kt(e,t,At,null,s,B);for(J in s)B=s[J],oe=a[J],!s.hasOwnProperty(J)||B===oe||B==null&&oe==null||kt(e,t,J,B,s,oe)}function Go(e){switch(e){case"class":return"className";case"for":return"htmlFor";default:return e}}function Hr(e){var t={};e=e.style;for(var a=0;a<e.length;a++){var s=e[a];t[s]=e.getPropertyValue(s)}return t}function ao(e,t,a){if(t!=null&&typeof t!="object")console.error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");else{var s,d=s="",h;for(h in t)if(t.hasOwnProperty(h)){var b=t[h];b!=null&&typeof b!="boolean"&&b!==""&&(h.indexOf("--")===0?(pa(b,h),s+=d+h+":"+(""+b).trim()):typeof b!="number"||b===0||Ve.has(h)?(pa(b,h),s+=d+h.replace(ce,"-$1").toLowerCase().replace(ke,"-ms-")+":"+(""+b).trim()):s+=d+h.replace(ce,"-$1").toLowerCase().replace(ke,"-ms-")+":"+b+"px",d=";")}s=s||null,t=e.getAttribute("style"),t!==s&&(s=gi(s),gi(t)!==s&&(a.style=Hr(e)))}}function Ia(e,t,a,s,d,h){if(d.delete(a),e=e.getAttribute(a),e===null)switch(typeof s){case"undefined":case"function":case"symbol":case"boolean":return}else if(s!=null)switch(typeof s){case"function":case"symbol":case"boolean":break;default:if(Dt(s,t),e===""+s)return}hn(t,e,s,h)}function Lp(e,t,a,s,d,h){if(d.delete(a),e=e.getAttribute(a),e===null){switch(typeof s){case"function":case"symbol":return}if(!s)return}else switch(typeof s){case"function":case"symbol":break;default:if(s)return}hn(t,e,s,h)}function Bp(e,t,a,s,d,h){if(d.delete(a),e=e.getAttribute(a),e===null)switch(typeof s){case"undefined":case"function":case"symbol":return}else if(s!=null)switch(typeof s){case"function":case"symbol":break;default:if(Dt(s,a),e===""+s)return}hn(t,e,s,h)}function hc(e,t,a,s,d,h){if(d.delete(a),e=e.getAttribute(a),e===null)switch(typeof s){case"undefined":case"function":case"symbol":case"boolean":return;default:if(isNaN(s))return}else if(s!=null)switch(typeof s){case"function":case"symbol":case"boolean":break;default:if(!isNaN(s)&&(Dt(s,t),e===""+s))return}hn(t,e,s,h)}function dd(e,t,a,s,d,h){if(d.delete(a),e=e.getAttribute(a),e===null)switch(typeof s){case"undefined":case"function":case"symbol":case"boolean":return}else if(s!=null)switch(typeof s){case"function":case"symbol":case"boolean":break;default:if(Dt(s,t),a=bf(""+s),e===a)return}hn(t,e,s,h)}function Fa(e,t,a,s){for(var d={},h=new Set,b=e.attributes,w=0;w<b.length;w++)switch(b[w].name.toLowerCase()){case"value":break;case"checked":break;case"selected":break;default:h.add(b[w].name)}if(Ni(t)){for(var R in a)if(a.hasOwnProperty(R)){var D=a[R];if(D!=null){if(uo.hasOwnProperty(R))typeof D!="function"&&pn(R,D);else if(a.suppressHydrationWarning!==!0)switch(R){case"children":typeof D!="string"&&typeof D!="number"||hn("children",e.textContent,D,d);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":b=e.innerHTML,D=D?D.__html:void 0,D!=null&&(D=Up(e,D),hn(R,b,D,d));continue;case"style":h.delete(R),ao(e,D,d);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":h.delete(R.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",R);continue;case"className":h.delete("class"),b=cr(e,"class",D),hn("className",b,D,d);continue;default:s.context===uu&&t!=="svg"&&t!=="math"?h.delete(R.toLowerCase()):h.delete(R),b=cr(e,R,D),hn(R,b,D,d)}}}}else for(D in a)if(a.hasOwnProperty(D)&&(R=a[D],R!=null)){if(uo.hasOwnProperty(D))typeof R!="function"&&pn(D,R);else if(a.suppressHydrationWarning!==!0)switch(D){case"children":typeof R!="string"&&typeof R!="number"||hn("children",e.textContent,R,d);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"value":case"checked":case"selected":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":b=e.innerHTML,R=R?R.__html:void 0,R!=null&&(R=Up(e,R),b!==R&&(d[D]={__html:b}));continue;case"className":Ia(e,D,"class",R,h,d);continue;case"tabIndex":Ia(e,D,"tabindex",R,h,d);continue;case"style":h.delete(D),ao(e,R,d);continue;case"multiple":h.delete(D),hn(D,e.multiple,R,d);continue;case"muted":h.delete(D),hn(D,e.muted,R,d);continue;case"autoFocus":h.delete("autofocus"),hn(D,e.autofocus,R,d);continue;case"data":if(t!=="object"){h.delete(D),b=e.getAttribute("data"),hn(D,b,R,d);continue}case"src":case"href":if(!(R!==""||t==="a"&&D==="href"||t==="object"&&D==="data")){console.error(D==="src"?'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.':'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',D,D);continue}dd(e,D,D,R,h,d);continue;case"action":case"formAction":if(b=e.getAttribute(D),typeof R=="function"){h.delete(D.toLowerCase()),D==="formAction"?(h.delete("name"),h.delete("formenctype"),h.delete("formmethod"),h.delete("formtarget")):(h.delete("enctype"),h.delete("method"),h.delete("target"));continue}else if(b===Bk){h.delete(D.toLowerCase()),hn(D,"function",R,d);continue}dd(e,D,D.toLowerCase(),R,h,d);continue;case"xlinkHref":dd(e,D,"xlink:href",R,h,d);continue;case"contentEditable":Bp(e,D,"contenteditable",R,h,d);continue;case"spellCheck":Bp(e,D,"spellcheck",R,h,d);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":Bp(e,D,D,R,h,d);continue;case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":Lp(e,D,D.toLowerCase(),R,h,d);continue;case"capture":case"download":e:{w=e;var Z=b=D,J=d;if(h.delete(Z),w=w.getAttribute(Z),w===null)switch(typeof R){case"undefined":case"function":case"symbol":break e;default:if(R===!1)break e}else if(R!=null)switch(typeof R){case"function":case"symbol":break;case"boolean":if(R===!0&&w==="")break e;break;default:if(Dt(R,b),w===""+R)break e}hn(b,w,R,J)}continue;case"cols":case"rows":case"size":case"span":e:{if(w=e,Z=b=D,J=d,h.delete(Z),w=w.getAttribute(Z),w===null)switch(typeof R){case"undefined":case"function":case"symbol":case"boolean":break e;default:if(isNaN(R)||1>R)break e}else if(R!=null)switch(typeof R){case"function":case"symbol":case"boolean":break;default:if(!(isNaN(R)||1>R)&&(Dt(R,b),w===""+R))break e}hn(b,w,R,J)}continue;case"rowSpan":hc(e,D,"rowspan",R,h,d);continue;case"start":hc(e,D,D,R,h,d);continue;case"xHeight":Ia(e,D,"x-height",R,h,d);continue;case"xlinkActuate":Ia(e,D,"xlink:actuate",R,h,d);continue;case"xlinkArcrole":Ia(e,D,"xlink:arcrole",R,h,d);continue;case"xlinkRole":Ia(e,D,"xlink:role",R,h,d);continue;case"xlinkShow":Ia(e,D,"xlink:show",R,h,d);continue;case"xlinkTitle":Ia(e,D,"xlink:title",R,h,d);continue;case"xlinkType":Ia(e,D,"xlink:type",R,h,d);continue;case"xmlBase":Ia(e,D,"xml:base",R,h,d);continue;case"xmlLang":Ia(e,D,"xml:lang",R,h,d);continue;case"xmlSpace":Ia(e,D,"xml:space",R,h,d);continue;case"inert":R!==""||oS[D]||(oS[D]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",D)),Lp(e,D,D,R,h,d);continue;default:if(!(2<D.length)||D[0]!=="o"&&D[0]!=="O"||D[1]!=="n"&&D[1]!=="N"){w=$v(D),b=!1,s.context===uu&&t!=="svg"&&t!=="math"?h.delete(w.toLowerCase()):(Z=D.toLowerCase(),Z=Si.hasOwnProperty(Z)&&Si[Z]||null,Z!==null&&Z!==D&&(b=!0,h.delete(Z)),h.delete(w));e:if(Z=e,J=w,w=R,Ol(J))if(Z.hasAttribute(J))Z=Z.getAttribute(J),Dt(w,J),w=Z===""+w?w:Z;else{switch(typeof w){case"function":case"symbol":break e;case"boolean":if(Z=J.toLowerCase().slice(0,5),Z!=="data-"&&Z!=="aria-")break e}w=w===void 0?void 0:null}else w=void 0;b||hn(D,w,R,d)}}}return 0<h.size&&a.suppressHydrationWarning!==!0&&fd(e,h,d),Object.keys(d).length===0?null:d}function Nb(e,t){switch(e.length){case 0:return"";case 1:return e[0];case 2:return e[0]+" "+t+" "+e[1];default:return e.slice(0,-1).join(", ")+", "+t+" "+e[e.length-1]}}function Ha(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function Ub(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,a=performance.getEntriesByType("resource"),s=0;s<a.length;s++){var d=a[s],h=d.transferSize,b=d.initiatorType,w=d.duration;if(h&&w&&Ha(b)){for(b=0,w=d.responseEnd,s+=1;s<a.length;s++){var R=a[s],D=R.startTime;if(D>w)break;var Z=R.transferSize,J=R.initiatorType;Z&&Ha(J)&&(R=R.responseEnd,b+=Z*(R<w?1:(w-D)/(R-D)))}if(--s,t+=8*(h+b)/(d.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}function hd(e){return e.nodeType===9?e:e.ownerDocument}function Lb(e){switch(e){case ct:return Bm;case ot:return sS;default:return uu}}function Xo(e,t){if(e===uu)switch(t){case"svg":return Bm;case"math":return sS;default:return uu}return e===Bm&&t==="foreignObject"?uu:e}function pc(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}function Xg(){var e=window.event;return e&&e.type==="popstate"?e===A2?!1:(A2=e,!0):(A2=null,!1)}function lo(){var e=window.event;return e&&e!==ov?e.type:null}function mc(){var e=window.event;return e&&e!==ov?e.timeStamp:-1.1}function Bb(e){setTimeout(function(){throw e})}function Hb(e,t,a){switch(t){case"button":case"input":case"select":case"textarea":a.autoFocus&&e.focus();break;case"img":a.src?e.src=a.src:a.srcSet&&(e.srcset=a.srcSet)}}function Vb(){}function Hp(e,t,a,s){Bn(e,t,a,s),e[Ya]=s}function Vp(e){ss(e,"")}function pw(e,t,a){e.nodeValue=a}function Yb(e){if(!e.__reactWarnedAboutChildrenConflict){var t=e[Ya]||null;if(t!==null){var a=Ce(e);a!==null&&(typeof t.children=="string"||typeof t.children=="number"?(e.__reactWarnedAboutChildrenConflict=!0,_e(a,function(){console.error('Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "children" text content using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.')})):t.dangerouslySetInnerHTML!=null&&(e.__reactWarnedAboutChildrenConflict=!0,_e(a,function(){console.error('Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "dangerouslySetInnerHTML" using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.')})))}}}function Vr(e){return e==="head"}function qb(e,t){e.removeChild(t)}function Gb(e,t){(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e).removeChild(t)}function Vs(e,t){var a=t,s=0;do{var d=a.nextSibling;if(e.removeChild(a),d&&d.nodeType===8)if(a=d.data,a===iv||a===rS){if(s===0){e.removeChild(d),Xs(t);return}s--}else if(a===lv||a===Pc||a===Id||a===Lm||a===$d)s++;else if(a===Vk)Zo(e.ownerDocument.documentElement);else if(a===qk){a=e.ownerDocument.head,Zo(a);for(var h=a.firstChild;h;){var b=h.nextSibling,w=h.nodeName;h[_c]||w==="SCRIPT"||w==="STYLE"||w==="LINK"&&h.rel.toLowerCase()==="stylesheet"||a.removeChild(h),h=b}}else a===Yk&&Zo(e.ownerDocument.body);a=d}while(a);Xs(t)}function pd(e,t){var a=e;e=0;do{var s=a.nextSibling;if(a.nodeType===1?t?(a._stashedDisplay=a.style.display,a.style.display="none"):(a.style.display=a._stashedDisplay||"",a.getAttribute("style")===""&&a.removeAttribute("style")):a.nodeType===3&&(t?(a._stashedText=a.nodeValue,a.nodeValue=""):a.nodeValue=a._stashedText||""),s&&s.nodeType===8)if(a=s.data,a===iv){if(e===0)break;e--}else a!==lv&&a!==Pc&&a!==Id&&a!==Lm||e++;a=s}while(a)}function Xb(e){pd(e,!0)}function Qb(e){e=e.style,typeof e.setProperty=="function"?e.setProperty("display","none","important"):e.display="none"}function Zb(e){e.nodeValue=""}function Kb(e){pd(e,!1)}function Jb(e,t){t=t[Gk],t=t!=null&&t.hasOwnProperty("display")?t.display:null,e.style.display=t==null||typeof t=="boolean"?"":(""+t).trim()}function $b(e,t){e.nodeValue=t}function gc(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var a=t;switch(t=t.nextSibling,a.nodeName){case"HTML":case"HEAD":case"BODY":gc(a),F(a);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(a.rel.toLowerCase()==="stylesheet")continue}e.removeChild(a)}}function Ib(e,t,a,s){for(;e.nodeType===1;){var d=a;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!s&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(s){if(!e[_c])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(h=e.getAttribute("rel"),h==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(h!==d.rel||e.getAttribute("href")!==(d.href==null||d.href===""?null:d.href)||e.getAttribute("crossorigin")!==(d.crossOrigin==null?null:d.crossOrigin)||e.getAttribute("title")!==(d.title==null?null:d.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(h=e.getAttribute("src"),(h!==(d.src==null?null:d.src)||e.getAttribute("type")!==(d.type==null?null:d.type)||e.getAttribute("crossorigin")!==(d.crossOrigin==null?null:d.crossOrigin))&&h&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){Dt(d.name,"name");var h=d.name==null?null:""+d.name;if(d.type==="hidden"&&e.getAttribute("name")===h)return e}else return e;if(e=xl(e.nextSibling),e===null)break}return null}function Fb(e,t,a){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!a||(e=xl(e.nextSibling),e===null))return null;return e}function Vt(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=xl(e.nextSibling),e===null))return null;return e}function md(e){return e.data===Pc||e.data===Id}function Qg(e){return e.data===Lm||e.data===Pc&&e.ownerDocument.readyState!==i5}function Pb(e,t){var a=e.ownerDocument;if(e.data===Id)e._reactRetry=t;else if(e.data!==Pc||a.readyState!==i5)t();else{var s=function(){t(),a.removeEventListener("DOMContentLoaded",s)};a.addEventListener("DOMContentLoaded",s),e._reactRetry=s}}function xl(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===lv||t===Lm||t===Pc||t===Id||t===$d||t===w2||t===l5)break;if(t===iv||t===rS)return null}}return e}function Wb(e){if(e.nodeType===1){for(var t=e.nodeName.toLowerCase(),a={},s=e.attributes,d=0;d<s.length;d++){var h=s[d];a[Go(h.name)]=h.name.toLowerCase()==="style"?Hr(e):h.value}return{type:t,props:a}}return e.nodeType===8?e.data===$d?{type:"Activity",props:{}}:{type:"Suspense",props:{}}:e.nodeValue}function e1(e,t,a){return a===null||a[Hk]!==!0?(e.nodeValue===t?e=null:(t=gi(t),e=gi(e.nodeValue)===t?null:e.nodeValue),e):null}function yc(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var a=e.data;if(a===iv||a===rS){if(t===0)return xl(e.nextSibling);t--}else a!==lv&&a!==Lm&&a!==Pc&&a!==Id&&a!==$d||t++}e=e.nextSibling}return null}function Ys(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var a=e.data;if(a===lv||a===Lm||a===Pc||a===Id||a===$d){if(t===0)return e;t--}else a!==iv&&a!==rS||t++}e=e.previousSibling}return null}function Zg(e){Xs(e)}function Yp(e){Xs(e)}function Kg(e){Xs(e)}function Qo(e,t,a,s,d){switch(d&&yf(e,s.ancestorInfo),t=hd(a),e){case"html":if(e=t.documentElement,!e)throw Error("React expected an <html> element (document.documentElement) to exist in the Document but one was not found. React never removes the documentElement for any Document it renders into so the cause is likely in some other script running on this page.");return e;case"head":if(e=t.head,!e)throw Error("React expected a <head> element (document.head) to exist in the Document but one was not found. React never removes the head for any Document it renders into so the cause is likely in some other script running on this page.");return e;case"body":if(e=t.body,!e)throw Error("React expected a <body> element (document.body) to exist in the Document but one was not found. React never removes the body for any Document it renders into so the cause is likely in some other script running on this page.");return e;default:throw Error("resolveSingletonInstance was called with an element type that is not supported. This is a bug in React.")}}function io(e,t,a,s){if(!a[Jo]&&Ce(a)){var d=a.tagName.toLowerCase();console.error("You are mounting a new %s component when a previous one has not first unmounted. It is an error to render more than one %s component at a time and attributes and children of these components will likely fail in unpredictable ways. Please only render a single instance of <%s> and if you need to mount a new one, ensure any previous ones have unmounted first.",d,d,d)}switch(e){case"html":case"head":case"body":break;default:console.error("acquireSingletonInstance was called with an element type that is not supported. This is a bug in React.")}for(d=a.attributes;d.length;)a.removeAttributeNode(d[0]);ln(a,e,t),a[on]=s,a[Ya]=t}function Zo(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);F(e)}function qp(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}function Jg(e,t,a){var s=Hm;if(s&&typeof t=="string"&&t){var d=Yt(t);d='link[rel="'+e+'"][href="'+d+'"]',typeof a=="string"&&(d+='[crossorigin="'+a+'"]'),f5.has(d)||(f5.add(d),e={rel:e,crossOrigin:a,href:t},s.querySelector(d)===null&&(t=s.createElement("link"),ln(t,"link",e),He(t),s.head.appendChild(t)))}}function $g(e,t,a,s){var d=(d=wl.current)?qp(d):null;if(!d)throw Error('"resourceRoot" was expected to exist. This is a bug in React.');switch(e){case"meta":case"title":return null;case"style":return typeof a.precedence=="string"&&typeof a.href=="string"?(a=qs(a.href),t=$e(d).hoistableStyles,s=t.get(a),s||(s={type:"style",instance:null,count:0,state:null},t.set(a,s)),s):{type:"void",instance:null,count:0,state:null};case"link":if(a.rel==="stylesheet"&&typeof a.href=="string"&&typeof a.precedence=="string"){e=qs(a.href);var h=$e(d).hoistableStyles,b=h.get(e);if(!b&&(d=d.ownerDocument||d,b={type:"stylesheet",instance:null,count:0,state:{loading:Pd,preload:null}},h.set(e,b),(h=d.querySelector(yd(e)))&&!h._p&&(b.instance=h,b.state.loading=rv|xo),!wo.has(e))){var w={rel:"preload",as:"style",href:a.href,crossOrigin:a.crossOrigin,integrity:a.integrity,media:a.media,hrefLang:a.hrefLang,referrerPolicy:a.referrerPolicy};wo.set(e,w),h||t1(d,e,w,b.state)}if(t&&s===null)throw a=`
|
|
190
|
+
|
|
191
|
+
- `+gd(t)+`
|
|
192
|
+
+ `+gd(a),Error("Expected <link> not to update to be updated to a stylesheet with precedence. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+a);return b}if(t&&s!==null)throw a=`
|
|
193
|
+
|
|
194
|
+
- `+gd(t)+`
|
|
195
|
+
+ `+gd(a),Error("Expected stylesheet with precedence to not be updated to a different kind of <link>. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+a);return null;case"script":return t=a.async,a=a.src,typeof a=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(a=Gs(a),t=$e(d).hoistableScripts,s=t.get(a),s||(s={type:"script",instance:null,count:0,state:null},t.set(a,s)),s):{type:"void",instance:null,count:0,state:null};default:throw Error('getResource encountered a type it did not expect: "'+e+'". this is a bug in React.')}}function gd(e){var t=0,a="<link";return typeof e.rel=="string"?(t++,a+=' rel="'+e.rel+'"'):El.call(e,"rel")&&(t++,a+=' rel="'+(e.rel===null?"null":"invalid type "+typeof e.rel)+'"'),typeof e.href=="string"?(t++,a+=' href="'+e.href+'"'):El.call(e,"href")&&(t++,a+=' href="'+(e.href===null?"null":"invalid type "+typeof e.href)+'"'),typeof e.precedence=="string"?(t++,a+=' precedence="'+e.precedence+'"'):El.call(e,"precedence")&&(t++,a+=" precedence={"+(e.precedence===null?"null":"invalid type "+typeof e.precedence)+"}"),Object.getOwnPropertyNames(e).length>t&&(a+=" ..."),a+" />"}function qs(e){return'href="'+Yt(e)+'"'}function yd(e){return'link[rel="stylesheet"]['+e+"]"}function Gp(e){return dt({},e,{"data-precedence":e.precedence,precedence:null})}function t1(e,t,a,s){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?s.loading=rv:(t=e.createElement("link"),s.preload=t,t.addEventListener("load",function(){return s.loading|=rv}),t.addEventListener("error",function(){return s.loading|=u5}),ln(t,"link",a),He(t),e.head.appendChild(t))}function Gs(e){return'[src="'+Yt(e)+'"]'}function vd(e){return"script[async]"+e}function Xp(e,t,a){if(t.count++,t.instance===null)switch(t.type){case"style":var s=e.querySelector('style[data-href~="'+Yt(a.href)+'"]');if(s)return t.instance=s,He(s),s;var d=dt({},a,{"data-href":a.href,"data-precedence":a.precedence,href:null,precedence:null});return s=(e.ownerDocument||e).createElement("style"),He(s),ln(s,"style",d),vc(s,a.precedence,e),t.instance=s;case"stylesheet":d=qs(a.href);var h=e.querySelector(yd(d));if(h)return t.state.loading|=xo,t.instance=h,He(h),h;s=Gp(a),(d=wo.get(d))&&Ig(s,d),h=(e.ownerDocument||e).createElement("link"),He(h);var b=h;return b._p=new Promise(function(w,R){b.onload=w,b.onerror=R}),ln(h,"link",s),t.state.loading|=xo,vc(h,a.precedence,e),t.instance=h;case"script":return h=Gs(a.src),(d=e.querySelector(vd(h)))?(t.instance=d,He(d),d):(s=a,(d=wo.get(h))&&(s=dt({},a),Fg(s,d)),e=e.ownerDocument||e,d=e.createElement("script"),He(d),ln(d,"link",s),e.head.appendChild(d),t.instance=d);case"void":return null;default:throw Error('acquireResource encountered a resource type it did not expect: "'+t.type+'". this is a bug in React.')}else t.type==="stylesheet"&&(t.state.loading&xo)===Pd&&(s=t.instance,t.state.loading|=xo,vc(s,a.precedence,e));return t.instance}function vc(e,t,a){for(var s=a.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),d=s.length?s[s.length-1]:null,h=d,b=0;b<s.length;b++){var w=s[b];if(w.dataset.precedence===t)h=w;else if(h!==d)break}h?h.parentNode.insertBefore(e,h.nextSibling):(t=a.nodeType===9?a.head:a,t.insertBefore(e,t.firstChild))}function Ig(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function Fg(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}function bc(e,t,a){if(uS===null){var s=new Map,d=uS=new Map;d.set(a,s)}else d=uS,s=d.get(a),s||(s=new Map,d.set(a,s));if(s.has(e))return s;for(s.set(e,null),a=a.getElementsByTagName(e),d=0;d<a.length;d++){var h=a[d];if(!(h[_c]||h[on]||e==="link"&&h.getAttribute("rel")==="stylesheet")&&h.namespaceURI!==ct){var b=h.getAttribute(t)||"";b=e+b;var w=s.get(b);w?w.push(h):s.set(b,[h])}}return s}function n1(e,t,a){e=e.ownerDocument||e,e.head.insertBefore(a,t==="title"?e.querySelector("head > title"):null)}function a1(e,t,a){var s=!a.ancestorInfo.containerTagInScope;if(a.context===Bm||t.itemProp!=null)return!s||t.itemProp==null||e!=="meta"&&e!=="title"&&e!=="style"&&e!=="link"&&e!=="script"||console.error("Cannot render a <%s> outside the main document if it has an `itemProp` prop. `itemProp` suggests the tag belongs to an `itemScope` which can appear anywhere in the DOM. If you were intending for React to hoist this <%s> remove the `itemProp` prop. Otherwise, try moving this tag into the <head> or <body> of the Document.",e,e),!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href===""){s&&console.error('Cannot render a <style> outside the main document without knowing its precedence and a unique href key. React can hoist and deduplicate <style> tags if you provide a `precedence` prop along with an `href` prop that does not conflict with the `href` values used in any other hoisted <style> or <link rel="stylesheet" ...> tags. Note that hoisting <style> tags is considered an advanced feature that most will not use directly. Consider moving the <style> tag to the <head> or consider adding a `precedence="default"` and `href="some unique resource identifier"`.');break}return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError){if(t.rel==="stylesheet"&&typeof t.precedence=="string"){e=t.href;var d=t.onError,h=t.disabled;a=[],t.onLoad&&a.push("`onLoad`"),d&&a.push("`onError`"),h!=null&&a.push("`disabled`"),d=Nb(a,"and"),d+=a.length===1?" prop":" props",h=a.length===1?"an "+d:"the "+d,a.length&&console.error('React encountered a <link rel="stylesheet" href="%s" ... /> with a `precedence` prop that also included %s. The presence of loading and error handlers indicates an intent to manage the stylesheet loading state from your from your Component code and React will not hoist or deduplicate this stylesheet. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop remove the %s, otherwise remove the `precedence` prop.',e,h,d)}s&&(typeof t.rel!="string"||typeof t.href!="string"||t.href===""?console.error("Cannot render a <link> outside the main document without a `rel` and `href` prop. Try adding a `rel` and/or `href` prop to this <link> or moving the link into the <head> tag"):(t.onError||t.onLoad)&&console.error("Cannot render a <link> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."));break}return t.rel==="stylesheet"?(e=t.precedence,t=t.disabled,typeof e!="string"&&s&&console.error('Cannot render a <link rel="stylesheet" /> outside the main document without knowing its precedence. Consider adding precedence="default" or moving it into the root <head> tag.'),typeof e=="string"&&t==null):!0;case"script":if(e=t.async&&typeof t.async!="function"&&typeof t.async!="symbol",!e||t.onLoad||t.onError||!t.src||typeof t.src!="string"){s&&(e?t.onLoad||t.onError?console.error("Cannot render a <script> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."):console.error("Cannot render a <script> outside the main document without `async={true}` and a non-empty `src` prop. Ensure there is a valid `src` and either make the script async or move it into the root <head> tag or somewhere in the <body>."):console.error('Cannot render a sync or defer <script> outside the main document without knowing its order. Try adding async="" or moving it into the root <head> tag.'));break}return!0;case"noscript":case"template":s&&console.error("Cannot render <%s> outside the main document. Try moving it into the root <head> tag.",e)}return!1}function St(e){return!(e.type==="stylesheet"&&(e.state.loading&c5)===Pd)}function Pg(e,t,a,s){if(a.type==="stylesheet"&&(typeof s.media!="string"||matchMedia(s.media).matches!==!1)&&(a.state.loading&xo)===Pd){if(a.instance===null){var d=qs(s.href),h=t.querySelector(yd(d));if(h){t=h._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=Sc.bind(e),t.then(e,e)),a.state.loading|=xo,a.instance=h,He(h);return}h=t.ownerDocument||t,s=Gp(s),(d=wo.get(d))&&Ig(s,d),h=h.createElement("link"),He(h);var b=h;b._p=new Promise(function(w,R){b.onload=w,b.onerror=R}),ln(h,"link",s),a.instance=h}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(a,t),(t=a.state.preload)&&(a.state.loading&c5)===Pd&&(e.count++,a=Sc.bind(e),t.addEventListener("load",a),t.addEventListener("error",a))}}function Qp(e,t){return e.stylesheets&&e.count===0&&bd(e,e.stylesheets),0<e.count||0<e.imgCount?function(a){var s=setTimeout(function(){if(e.stylesheets&&bd(e,e.stylesheets),e.unsuspend){var h=e.unsuspend;e.unsuspend=null,h()}},Zk+t);0<e.imgBytes&&z2===0&&(z2=125*Ub()*Jk);var d=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&bd(e,e.stylesheets),e.unsuspend)){var h=e.unsuspend;e.unsuspend=null,h()}},(e.imgBytes>z2?50:Kk)+t);return e.unsuspend=a,function(){e.unsuspend=null,clearTimeout(s),clearTimeout(d)}}:null}function Sc(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)bd(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}function bd(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,cS=new Map,t.forEach(Wg,e),cS=null,Sc.call(e))}function Wg(e,t){if(!(t.state.loading&xo)){var a=cS.get(e);if(a)var s=a.get(R2);else{a=new Map,cS.set(e,a);for(var d=e.querySelectorAll("link[data-precedence],style[data-precedence]"),h=0;h<d.length;h++){var b=d[h];(b.nodeName==="LINK"||b.getAttribute("media")!=="not all")&&(a.set(b.dataset.precedence,b),s=b)}s&&a.set(R2,s)}d=t.instance,b=d.getAttribute("data-precedence"),h=a.get(b)||s,h===s&&a.set(R2,d),a.set(b,d),this.count++,s=Sc.bind(this),d.addEventListener("load",s),d.addEventListener("error",s),h?h.parentNode.insertBefore(d,h.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(d,e.firstChild)),t.state.loading|=xo}}function Sd(e,t,a,s,d,h,b,w,R){for(this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=Fd,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Tu(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Tu(0),this.hiddenUpdates=Tu(null),this.identifierPrefix=s,this.onUncaughtError=d,this.onCaughtError=h,this.onRecoverableError=b,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=R,this.incompleteTransitions=new Map,this.passiveEffectDuration=this.effectDuration=-0,this.memoizedUpdaters=new Set,e=this.pendingUpdatersLaneMap=[],t=0;31>t;t++)e.push(new Set);this._debugRootType=a?"hydrateRoot()":"createRoot()"}function xd(e,t,a,s,d,h,b,w,R,D,Z,J){return e=new Sd(e,t,a,b,R,D,Z,J,w),t=vk,h===!0&&(t|=el|$o),t|=ht,h=z(3,null,null,t),e.current=h,h.stateNode=e,t=Xh(),vs(t),e.pooledCache=t,vs(t),h.memoizedState={element:s,isDehydrated:a,cache:t},xt(h),e}function l1(e){return e?(e=Lc,e):Lc}function Zp(e,t,a,s,d,h){if(Hn&&typeof Hn.onScheduleFiberRoot=="function")try{Hn.onScheduleFiberRoot(Js,s,a)}catch(b){ro||(ro=!0,console.error("React instrumentation encountered an error: %o",b))}d=l1(d),s.context===null?s.context=d:s.pendingContext=d,oo&&Wa!==null&&!m5&&(m5=!0,console.error(`Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.
|
|
196
|
+
|
|
197
|
+
Check the render method of %s.`,ye(Wa)||"Unknown")),s=Un(t),s.payload={element:a},h=h===void 0?null:h,h!==null&&(typeof h!="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",h),s.callback=h),a=qi(e,s,t),a!==null&&(Hi(t,"root.render()",null),We(a,e,t),Vl(a,e,t))}function i1(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var a=e.retryLane;e.retryLane=a!==0&&a<t?a:t}}function ey(e,t){i1(e,t),(e=e.alternate)&&i1(e,t)}function ty(e){if(e.tag===13||e.tag===31){var t=ga(e,67108864);t!==null&&We(t,e,67108864),ey(e,67108864)}}function ny(e){if(e.tag===13||e.tag===31){var t=va(e);t=_l(t);var a=ga(e,t);a!==null&&We(a,e,t),ey(e,t)}}function Xt(){return Wa}function ay(e,t,a,s){var d=ue.T;ue.T=null;var h=Nt.p;try{Nt.p=Vn,ly(e,t,a,s)}finally{Nt.p=h,ue.T=d}}function sa(e,t,a,s){var d=ue.T;ue.T=null;var h=Nt.p;try{Nt.p=ca,ly(e,t,a,s)}finally{Nt.p=h,ue.T=d}}function ly(e,t,a,s){if(dS){var d=Kp(s);if(d===null)pi(e,t,s,hS,a),$p(e,s);else if(o1(d,e,t,a,s))s.stopPropagation();else if($p(e,s),t&4&&-1<Ik.indexOf(e)){for(;d!==null;){var h=Ce(d);if(h!==null)switch(h.tag){case 3:if(h=h.stateNode,h.current.memoizedState.isDehydrated){var b=_i(h.pendingLanes);if(b!==0){var w=h;for(w.pendingLanes|=2,w.entangledLanes|=2;b;){var R=1<<31-ua(b);w.entanglements[1]|=R,b&=~R}$a(h),(Rt&(da|Ti))===Ea&&($1=Pn()+GR,to(0))}}break;case 31:case 13:w=ga(h,2),w!==null&&We(w,h,2),Sl(),ey(h,2)}if(h=Kp(s),h===null&&pi(e,t,s,hS,a),h===d)break;d=h}d!==null&&s.stopPropagation()}else pi(e,t,s,null,a)}}function Kp(e){return e=Pl(e),iy(e)}function iy(e){if(hS=null,e=Te(e),e!==null){var t=W(e);if(t===null)e=null;else{var a=t.tag;if(a===13){if(e=U(t),e!==null)return e;e=null}else if(a===31){if(e=$(t),e!==null)return e;e=null}else if(a===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return hS=e,null}function Jp(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return Vn;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return ca;case"message":switch(zd()){case my:return Vn;case lm:return ca;case Ks:case d1:return Sa;case im:return Qr;default:return Sa}default:return Sa}}function $p(e,t){switch(e){case"focusin":case"focusout":Wc=null;break;case"dragenter":case"dragleave":ef=null;break;case"mouseover":case"mouseout":tf=null;break;case"pointerover":case"pointerout":uv.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":cv.delete(t.pointerId)}}function Yr(e,t,a,s,d,h){return e===null||e.nativeEvent!==h?(e={blockedOn:t,domEventName:a,eventSystemFlags:s,nativeEvent:h,targetContainers:[d]},t!==null&&(t=Ce(t),t!==null&&ty(t)),e):(e.eventSystemFlags|=s,t=e.targetContainers,d!==null&&t.indexOf(d)===-1&&t.push(d),e)}function o1(e,t,a,s,d){switch(t){case"focusin":return Wc=Yr(Wc,e,t,a,s,d),!0;case"dragenter":return ef=Yr(ef,e,t,a,s,d),!0;case"mouseover":return tf=Yr(tf,e,t,a,s,d),!0;case"pointerover":var h=d.pointerId;return uv.set(h,Yr(uv.get(h)||null,e,t,a,s,d)),!0;case"gotpointercapture":return h=d.pointerId,cv.set(h,Yr(cv.get(h)||null,e,t,a,s,d)),!0}return!1}function oy(e){var t=Te(e.target);if(t!==null){var a=W(t);if(a!==null){if(t=a.tag,t===13){if(t=U(a),t!==null){e.blockedOn=t,_(e.priority,function(){ny(a)});return}}else if(t===31){if(t=$(a),t!==null){e.blockedOn=t,_(e.priority,function(){ny(a)});return}}else if(t===3&&a.stateNode.current.memoizedState.isDehydrated){e.blockedOn=a.tag===3?a.stateNode.containerInfo:null;return}}}e.blockedOn=null}function xc(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var a=Kp(e.nativeEvent);if(a===null){a=e.nativeEvent;var s=new a.constructor(a.type,a),d=s;Sy!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),Sy=d,a.target.dispatchEvent(s),Sy===null&&console.error("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),Sy=null}else return t=Ce(a),t!==null&&ty(t),e.blockedOn=a,!1;t.shift()}return!0}function Ip(e,t,a){xc(e)&&a.delete(t)}function mw(){M2=!1,Wc!==null&&xc(Wc)&&(Wc=null),ef!==null&&xc(ef)&&(ef=null),tf!==null&&xc(tf)&&(tf=null),uv.forEach(Ip),cv.forEach(Ip)}function wd(e,t){e.blockedOn===t&&(e.blockedOn=null,M2||(M2=!0,zn.unstable_scheduleCallback(zn.unstable_NormalPriority,mw)))}function r1(e){pS!==e&&(pS=e,zn.unstable_scheduleCallback(zn.unstable_NormalPriority,function(){pS===e&&(pS=null);for(var t=0;t<e.length;t+=3){var a=e[t],s=e[t+1],d=e[t+2];if(typeof s!="function"){if(iy(s||a)===null)continue;break}var h=Ce(a);h!==null&&(e.splice(t,3),t-=3,a={pending:!0,data:d,method:a.method,action:s},Object.freeze(a),Bo(h,a,s,d))}}))}function Xs(e){function t(R){return wd(R,e)}Wc!==null&&wd(Wc,e),ef!==null&&wd(ef,e),tf!==null&&wd(tf,e),uv.forEach(t),cv.forEach(t);for(var a=0;a<nf.length;a++){var s=nf[a];s.blockedOn===e&&(s.blockedOn=null)}for(;0<nf.length&&(a=nf[0],a.blockedOn===null);)oy(a),a.blockedOn===null&&nf.shift();if(a=(e.ownerDocument||e).$$reactFormReplay,a!=null)for(s=0;s<a.length;s+=3){var d=a[s],h=a[s+1],b=d[Ya]||null;if(typeof h=="function")b||r1(a);else if(b){var w=null;if(h&&h.hasAttribute("formAction")){if(d=h,b=h[Ya]||null)w=b.formAction;else if(iy(d)!==null)continue}else w=b.action;typeof w=="function"?a[s+1]=w:(a.splice(s,3),s-=3),r1(a)}}}function s1(){function e(h){h.canIntercept&&h.info==="react-transition"&&h.intercept({handler:function(){return new Promise(function(b){return d=b})},focusReset:"manual",scroll:"manual"})}function t(){d!==null&&(d(),d=null),s||setTimeout(a,20)}function a(){if(!s&&!navigation.transition){var h=navigation.currentEntry;h&&h.url!=null&&navigation.navigate(h.url,{state:h.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var s=!1,d=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(a,100),function(){s=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),d!==null&&(d(),d=null)}}}function ry(e){this._internalRoot=e}function yi(e){this._internalRoot=e}function sy(e){e[Jo]&&(e._reactRootContainer?console.error("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):console.error("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var zn=H2(),Ed=eh(),gw=yS(),dt=Object.assign,u1=Symbol.for("react.element"),Xl=Symbol.for("react.transitional.element"),qr=Symbol.for("react.portal"),wc=Symbol.for("react.fragment"),Va=Symbol.for("react.strict_mode"),Td=Symbol.for("react.profiler"),Fp=Symbol.for("react.consumer"),vi=Symbol.for("react.context"),Ec=Symbol.for("react.forward_ref"),Qs=Symbol.for("react.suspense"),Pa=Symbol.for("react.suspense_list"),Ad=Symbol.for("react.memo"),ba=Symbol.for("react.lazy"),bi=Symbol.for("react.activity"),yw=Symbol.for("react.memo_cache_sentinel"),c1=Symbol.iterator,Tc=Symbol.for("react.client.reference"),jn=Array.isArray,ue=Ed.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Nt=gw.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,vw=Object.freeze({pending:!1,data:null,method:null,action:null}),uy=[],cy=[],Ko=-1,Gr=je(null),Ac=je(null),wl=je(null),Xr=je(null),Cc=0,f1,Zs,zc,fy,Cd,Pp,Wp;De.__reactDisabledLog=!0;var Rc,dy,em=!1,hy=new(typeof WeakMap=="function"?WeakMap:Map),Wa=null,oo=!1,El=Object.prototype.hasOwnProperty,py=zn.unstable_scheduleCallback,tm=zn.unstable_cancelCallback,nm=zn.unstable_shouldYield,am=zn.unstable_requestPaint,Pn=zn.unstable_now,zd=zn.unstable_getCurrentPriorityLevel,my=zn.unstable_ImmediatePriority,lm=zn.unstable_UserBlockingPriority,Ks=zn.unstable_NormalPriority,d1=zn.unstable_LowPriority,im=zn.unstable_IdlePriority,gy=zn.log,h1=zn.unstable_setDisableYieldValue,Js=null,Hn=null,ro=!1,so=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",ua=Math.clz32?Math.clz32:sr,yy=Math.log,om=Math.LN2,Mc=256,Rd=262144,Dc=4194304,Vn=2,ca=8,Sa=32,Qr=268435456,Ql=Math.random().toString(36).slice(2),on="__reactFiber$"+Ql,Ya="__reactProps$"+Ql,Jo="__reactContainer$"+Ql,$s="__reactEvents$"+Ql,bw="__reactListeners$"+Ql,p1="__reactHandles$"+Ql,Md="__reactResources$"+Ql,_c="__reactMarker$"+Ql,m1=new Set,uo={},Oc={},g1={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},jc=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),vy={},rm={},sm=/[\n"\\]/g,by=!1,y1=!1,Dd=!1,n=!1,l=!1,r=!1,c=["value","defaultValue"],m=!1,v=/["'&<>\n\t]|^\s|\s$/,A="address applet area article aside base basefont bgsound blockquote body br button caption center col colgroup dd details dir div dl dt embed fieldset figcaption figure footer form frame frameset h1 h2 h3 h4 h5 h6 head header hgroup hr html iframe img input isindex li link listing main marquee menu menuitem meta nav noembed noframes noscript object ol p param plaintext pre script section select source style summary table tbody td template textarea tfoot th thead title tr track ul wbr xmp".split(" "),O="applet caption html table td th marquee object template foreignObject desc title".split(" "),Y=O.concat(["button"]),ae="dd dt li option optgroup p rp rt".split(" "),me={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},be={},ie={animation:"animationDelay animationDirection animationDuration animationFillMode animationIterationCount animationName animationPlayState animationTimingFunction".split(" "),background:"backgroundAttachment backgroundClip backgroundColor backgroundImage backgroundOrigin backgroundPositionX backgroundPositionY backgroundRepeat backgroundSize".split(" "),backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:"borderBottomColor borderBottomStyle borderBottomWidth borderImageOutset borderImageRepeat borderImageSlice borderImageSource borderImageWidth borderLeftColor borderLeftStyle borderLeftWidth borderRightColor borderRightStyle borderRightWidth borderTopColor borderTopStyle borderTopWidth".split(" "),borderBlockEnd:["borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth"],borderBlockStart:["borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth"],borderBottom:["borderBottomColor","borderBottomStyle","borderBottomWidth"],borderColor:["borderBottomColor","borderLeftColor","borderRightColor","borderTopColor"],borderImage:["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"],borderInlineEnd:["borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth"],borderInlineStart:["borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth"],borderLeft:["borderLeftColor","borderLeftStyle","borderLeftWidth"],borderRadius:["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"],borderRight:["borderRightColor","borderRightStyle","borderRightWidth"],borderStyle:["borderBottomStyle","borderLeftStyle","borderRightStyle","borderTopStyle"],borderTop:["borderTopColor","borderTopStyle","borderTopWidth"],borderWidth:["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth"],columnRule:["columnRuleColor","columnRuleStyle","columnRuleWidth"],columns:["columnCount","columnWidth"],flex:["flexBasis","flexGrow","flexShrink"],flexFlow:["flexDirection","flexWrap"],font:"fontFamily fontFeatureSettings fontKerning fontLanguageOverride fontSize fontSizeAdjust fontStretch fontStyle fontVariant fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition fontWeight lineHeight".split(" "),fontVariant:"fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition".split(" "),gap:["columnGap","rowGap"],grid:"gridAutoColumns gridAutoFlow gridAutoRows gridTemplateAreas gridTemplateColumns gridTemplateRows".split(" "),gridArea:["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"],gridColumn:["gridColumnEnd","gridColumnStart"],gridColumnGap:["columnGap"],gridGap:["columnGap","rowGap"],gridRow:["gridRowEnd","gridRowStart"],gridRowGap:["rowGap"],gridTemplate:["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],listStyle:["listStyleImage","listStylePosition","listStyleType"],margin:["marginBottom","marginLeft","marginRight","marginTop"],marker:["markerEnd","markerMid","markerStart"],mask:"maskClip maskComposite maskImage maskMode maskOrigin maskPositionX maskPositionY maskRepeat maskSize".split(" "),maskPosition:["maskPositionX","maskPositionY"],outline:["outlineColor","outlineStyle","outlineWidth"],overflow:["overflowX","overflowY"],padding:["paddingBottom","paddingLeft","paddingRight","paddingTop"],placeContent:["alignContent","justifyContent"],placeItems:["alignItems","justifyItems"],placeSelf:["alignSelf","justifySelf"],textDecoration:["textDecorationColor","textDecorationLine","textDecorationStyle"],textEmphasis:["textEmphasisColor","textEmphasisStyle"],transition:["transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"],wordWrap:["overflowWrap"]},ce=/([A-Z])/g,ke=/^ms-/,Je=/^(?:webkit|moz|o)[A-Z]/,Qt=/^-ms-/,P=/-(.)/g,K=/;\s*$/,ne={},ve={},Ge=!1,zt=!1,Ve=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")),ot="http://www.w3.org/1998/Math/MathML",ct="http://www.w3.org/2000/svg",Ot=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Si={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",fetchpriority:"fetchPriority",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",inert:"inert",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",popover:"popover",popovertarget:"popoverTarget",popovertargetaction:"popoverTargetAction",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",transformorigin:"transformOrigin","transform-origin":"transformOrigin",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},v1={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0,"aria-braillelabel":0,"aria-brailleroledescription":0,"aria-colindextext":0,"aria-rowindextext":0},um={},Dj=RegExp("^(aria)-[: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]*$"),_j=RegExp("^(aria)[A-Z][: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]*$"),yz=!1,Tl={},vz=/^on./,Oj=/^on[^A-Z]/,jj=RegExp("^(aria)-[: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]*$"),kj=RegExp("^(aria)[A-Z][: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]*$"),Nj=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i,Sy=null,cm=null,fm=null,Sw=!1,Zr=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),xw=!1;if(Zr)try{var xy={};Object.defineProperty(xy,"passive",{get:function(){xw=!0}}),window.addEventListener("test",xy,xy),window.removeEventListener("test",xy,xy)}catch{xw=!1}var kc=null,ww=null,b1=null,_d={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},S1=Qn(_d),wy=dt({},_d,{view:0,detail:0}),Uj=Qn(wy),Ew,Tw,Ey,x1=dt({},wy,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:xf,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!==Ey&&(Ey&&e.type==="mousemove"?(Ew=e.screenX-Ey.screenX,Tw=e.screenY-Ey.screenY):Tw=Ew=0,Ey=e),Ew)},movementY:function(e){return"movementY"in e?e.movementY:Tw}}),bz=Qn(x1),Lj=dt({},x1,{dataTransfer:0}),Bj=Qn(Lj),Hj=dt({},wy,{relatedTarget:0}),Aw=Qn(Hj),Vj=dt({},_d,{animationName:0,elapsedTime:0,pseudoElement:0}),Yj=Qn(Vj),qj=dt({},_d,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Gj=Qn(qj),Xj=dt({},_d,{data:0}),Sz=Qn(Xj),Qj=Sz,Zj={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Kj={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"},Jj={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},$j=dt({},wy,{key:function(e){if(e.key){var t=Zj[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Sf(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Kj[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:xf,charCode:function(e){return e.type==="keypress"?Sf(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Sf(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Ij=Qn($j),Fj=dt({},x1,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),xz=Qn(Fj),Pj=dt({},wy,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:xf}),Wj=Qn(Pj),ek=dt({},_d,{propertyName:0,elapsedTime:0,pseudoElement:0}),tk=Qn(ek),nk=dt({},x1,{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}),ak=Qn(nk),lk=dt({},_d,{newState:0,oldState:0}),ik=Qn(lk),ok=[9,13,27,32],wz=229,Cw=Zr&&"CompositionEvent"in window,Ty=null;Zr&&"documentMode"in document&&(Ty=document.documentMode);var rk=Zr&&"TextEvent"in window&&!Ty,Ez=Zr&&(!Cw||Ty&&8<Ty&&11>=Ty),Tz=32,Az=String.fromCharCode(Tz),Cz=!1,dm=!1,sk={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},Ay=null,Cy=null,zz=!1;Zr&&(zz=jh("input")&&(!document.documentMode||9<document.documentMode));var Al=typeof Object.is=="function"?Object.is:kh,uk=Zr&&"documentMode"in document&&11>=document.documentMode,hm=null,zw=null,zy=null,Rw=!1,pm={animationend:cs("Animation","AnimationEnd"),animationiteration:cs("Animation","AnimationIteration"),animationstart:cs("Animation","AnimationStart"),transitionrun:cs("Transition","TransitionRun"),transitionstart:cs("Transition","TransitionStart"),transitioncancel:cs("Transition","TransitionCancel"),transitionend:cs("Transition","TransitionEnd")},Mw={},Rz={};Zr&&(Rz=document.createElement("div").style,"AnimationEvent"in window||(delete pm.animationend.animation,delete pm.animationiteration.animation,delete pm.animationstart.animation),"TransitionEvent"in window||delete pm.transitionend.transition);var Mz=fs("animationend"),Dz=fs("animationiteration"),_z=fs("animationstart"),ck=fs("transitionrun"),fk=fs("transitionstart"),dk=fs("transitioncancel"),Oz=fs("transitionend"),jz=new Map,Dw="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");Dw.push("scrollEnd");var kz=0;if(typeof performance=="object"&&typeof performance.now=="function")var hk=performance,Nz=function(){return hk.now()};else{var pk=Date;Nz=function(){return pk.now()}}var _w=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},mk="This object has been omitted by React in the console log to avoid sending too much data from the server. Try logging smaller or more specific objects.",w1=0,Ow=1,jw=2,kw=3,E1="– ",T1="+ ",Uz=" ",rn=typeof console<"u"&&typeof console.timeStamp=="function"&&typeof performance<"u"&&typeof performance.measure=="function",co="Components ⚛",Tt="Scheduler ⚛",Ct="Blocking",Nc=!1,Is={color:"primary",properties:null,tooltipText:"",track:co},Uc={start:-0,end:-0,detail:{devtools:Is}},gk=["Changed Props",""],Lz="This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner.",yk=["Changed Props",Lz],Ry=1,Fs=2,fo=[],mm=0,Nw=0,Lc={};Object.freeze(Lc);var ho=null,gm=null,Pe=0,vk=1,ht=2,el=8,$o=16,bk=32,Bz=!1;try{var Hz=Object.preventExtensions({})}catch{Bz=!0}var Uw=new WeakMap,ym=[],vm=0,A1=null,My=0,po=[],mo=0,Od=null,Ps=1,Ws="",qa=null,sn=null,Et=!1,Kr=!1,xi=null,Bc=null,go=!1,Lw=Error("Hydration Mismatch Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),Bw=je(null),Hw=je(null),Vz={},C1=null,bm=null,Sm=!1,Sk=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(a,s){e.push(s)}};this.abort=function(){t.aborted=!0,e.forEach(function(a){return a()})}},xk=zn.unstable_scheduleCallback,wk=zn.unstable_NormalPriority,Wn={$$typeof:vi,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},ea=zn.unstable_now,z1=console.createTask?console.createTask:function(){return null},Dy=1,R1=2,xa=-0,Hc=-0,eu=-0,tu=null,Cl=-1.1,jd=-0,bn=-0,Ze=-1.1,Ie=-1.1,mn=null,Rn=!1,kd=-0,Jr=-1.1,_y=null,Vc=0,Vw=null,Yw=null,Nd=-1.1,Oy=null,xm=-1.1,M1=-1.1,nu=-0,au=-1.1,yo=-1.1,qw=0,jy=null,Yz=null,qz=null,Yc=-1.1,Ud=null,qc=-1.1,D1=-1.1,Gz=-0,Xz=-0,_1=0,Ek=null,Qz=0,ky=-1.1,O1=!1,j1=!1,Ny=null,Gw=0,Ld=0,wm=null,Zz=ue.S;ue.S=function(e,t){if(YR=Pn(),typeof t=="object"&&t!==null&&typeof t.then=="function"){if(0>au&&0>yo){au=ea();var a=mc(),s=lo();(a!==qc||s!==Ud)&&(qc=-1.1),Yc=a,Ud=s}_o(e,t)}Zz!==null&&Zz(e,t)};var Bd=je(null),Io={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},Uy=[],Ly=[],By=[],Hy=[],Vy=[],Yy=[],Hd=new Set;Io.recordUnsafeLifecycleWarnings=function(e,t){Hd.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&Uy.push(e),e.mode&el&&typeof t.UNSAFE_componentWillMount=="function"&&Ly.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&By.push(e),e.mode&el&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&Hy.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&Vy.push(e),e.mode&el&&typeof t.UNSAFE_componentWillUpdate=="function"&&Yy.push(e))},Io.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;0<Uy.length&&(Uy.forEach(function(w){e.add(ye(w)||"Component"),Hd.add(w.type)}),Uy=[]);var t=new Set;0<Ly.length&&(Ly.forEach(function(w){t.add(ye(w)||"Component"),Hd.add(w.type)}),Ly=[]);var a=new Set;0<By.length&&(By.forEach(function(w){a.add(ye(w)||"Component"),Hd.add(w.type)}),By=[]);var s=new Set;0<Hy.length&&(Hy.forEach(function(w){s.add(ye(w)||"Component"),Hd.add(w.type)}),Hy=[]);var d=new Set;0<Vy.length&&(Vy.forEach(function(w){d.add(ye(w)||"Component"),Hd.add(w.type)}),Vy=[]);var h=new Set;if(0<Yy.length&&(Yy.forEach(function(w){h.add(ye(w)||"Component"),Hd.add(w.type)}),Yy=[]),0<t.size){var b=T(t);console.error(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
198
|
+
|
|
199
|
+
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
200
|
+
|
|
201
|
+
Please update the following components: %s`,b)}0<s.size&&(b=T(s),console.error(`Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
202
|
+
|
|
203
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
204
|
+
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state
|
|
205
|
+
|
|
206
|
+
Please update the following components: %s`,b)),0<h.size&&(b=T(h),console.error(`Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
207
|
+
|
|
208
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
209
|
+
|
|
210
|
+
Please update the following components: %s`,b)),0<e.size&&(b=T(e),console.warn(`componentWillMount has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
211
|
+
|
|
212
|
+
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
213
|
+
* Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
214
|
+
|
|
215
|
+
Please update the following components: %s`,b)),0<a.size&&(b=T(a),console.warn(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
216
|
+
|
|
217
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
218
|
+
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state
|
|
219
|
+
* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
220
|
+
|
|
221
|
+
Please update the following components: %s`,b)),0<d.size&&(b=T(d),console.warn(`componentWillUpdate has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
222
|
+
|
|
223
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
224
|
+
* Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
225
|
+
|
|
226
|
+
Please update the following components: %s`,b))};var k1=new Map,Kz=new Set;Io.recordLegacyContextWarning=function(e,t){for(var a=null,s=e;s!==null;)s.mode&el&&(a=s),s=s.return;a===null?console.error("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue."):!Kz.has(e.type)&&(s=k1.get(a),e.type.contextTypes!=null||e.type.childContextTypes!=null||t!==null&&typeof t.getChildContext=="function")&&(s===void 0&&(s=[],k1.set(a,s)),s.push(e))},Io.flushLegacyContextWarning=function(){k1.forEach(function(e){if(e.length!==0){var t=e[0],a=new Set;e.forEach(function(d){a.add(ye(d)||"Component"),Kz.add(d.type)});var s=T(a);_e(t,function(){console.error(`Legacy context API has been detected within a strict-mode tree.
|
|
227
|
+
|
|
228
|
+
The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
|
|
229
|
+
|
|
230
|
+
Please update the following components: %s
|
|
231
|
+
|
|
232
|
+
Learn more about this warning here: https://react.dev/link/legacy-context`,s)})}})},Io.discardPendingWarnings=function(){Uy=[],Ly=[],By=[],Hy=[],Vy=[],Yy=[],k1=new Map};var Jz={react_stack_bottom_frame:function(e,t,a){var s=oo;oo=!0;try{return e(t,a)}finally{oo=s}}},Xw=Jz.react_stack_bottom_frame.bind(Jz),$z={react_stack_bottom_frame:function(e){var t=oo;oo=!0;try{return e.render()}finally{oo=t}}},Iz=$z.react_stack_bottom_frame.bind($z),Fz={react_stack_bottom_frame:function(e,t){try{t.componentDidMount()}catch(a){ut(e,e.return,a)}}},Qw=Fz.react_stack_bottom_frame.bind(Fz),Pz={react_stack_bottom_frame:function(e,t,a,s,d){try{t.componentDidUpdate(a,s,d)}catch(h){ut(e,e.return,h)}}},Wz=Pz.react_stack_bottom_frame.bind(Pz),eR={react_stack_bottom_frame:function(e,t){var a=t.stack;e.componentDidCatch(t.value,{componentStack:a!==null?a:""})}},Tk=eR.react_stack_bottom_frame.bind(eR),tR={react_stack_bottom_frame:function(e,t,a){try{a.componentWillUnmount()}catch(s){ut(e,t,s)}}},nR=tR.react_stack_bottom_frame.bind(tR),aR={react_stack_bottom_frame:function(e){var t=e.create;return e=e.inst,t=t(),e.destroy=t}},Ak=aR.react_stack_bottom_frame.bind(aR),lR={react_stack_bottom_frame:function(e,t,a){try{a()}catch(s){ut(e,t,s)}}},Ck=lR.react_stack_bottom_frame.bind(lR),iR={react_stack_bottom_frame:function(e){var t=e._init;return t(e._payload)}},zk=iR.react_stack_bottom_frame.bind(iR),Em=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."),Zw=Error("Suspense Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),N1=Error("Suspense Exception: This is not a real error! It's an implementation detail of `useActionState` to interrupt the current render. You must either rethrow it immediately, or move the `useActionState` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary."),U1={then:function(){console.error('Internal React error: A listener was unexpectedly attached to a "noop" thenable. This is a bug in React. Please file an issue.')}},Vd=null,qy=!1,Tm=null,Gy=0,pt=null,Kw,oR=Kw=!1,rR={},sR={},uR={};C=function(e,t,a){if(a!==null&&typeof a=="object"&&a._store&&(!a._store.validated&&a.key==null||a._store.validated===2)){if(typeof a._store!="object")throw Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");a._store.validated=1;var s=ye(e),d=s||"null";if(!rR[d]){rR[d]=!0,a=a._owner,e=e._debugOwner;var h="";e&&typeof e.tag=="number"&&(d=ye(e))&&(h=`
|
|
233
|
+
|
|
234
|
+
Check the render method of \``+d+"`."),h||s&&(h=`
|
|
235
|
+
|
|
236
|
+
Check the top-level render call using <`+s+">.");var b="";a!=null&&e!==a&&(s=null,typeof a.tag=="number"?s=ye(a):typeof a.name=="string"&&(s=a.name),s&&(b=" It was passed a child from "+s+".")),_e(t,function(){console.error('Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',h,b)})}}};var Yd=Kn(!0),cR=Kn(!1),fR=0,dR=1,hR=2,Jw=3,Gc=!1,pR=!1,$w=null,Iw=!1,Am=je(null),L1=je(0),wi=je(null),vo=null,Cm=1,Xy=2,Yn=je(0),B1=0,bo=1,zl=2,Ei=4,Rl=8,zm,mR=new Set,gR=new Set,Fw=new Set,yR=new Set,lu=0,nt=null,Ft=null,ta=null,H1=!1,Rm=!1,qd=!1,V1=0,Qy=0,iu=null,Rk=0,Mk=25,se=null,So=null,ou=-1,Zy=!1,Ky={readContext:jt,use:No,useCallback:yn,useContext:yn,useEffect:yn,useImperativeHandle:yn,useLayoutEffect:yn,useInsertionEffect:yn,useMemo:yn,useReducer:yn,useRef:yn,useState:yn,useDebugValue:yn,useDeferredValue:yn,useTransition:yn,useSyncExternalStore:yn,useId:yn,useHostTransitionStatus:yn,useFormState:yn,useActionState:yn,useOptimistic:yn,useMemoCache:yn,useCacheRefresh:yn};Ky.useEffectEvent=yn;var Pw=null,vR=null,Ww=null,bR=null,$r=null,Fo=null,Y1=null;Pw={readContext:function(e){return jt(e)},use:No,useCallback:function(e,t){return se="useCallback",tt(),ko(t),tp(e,t)},useContext:function(e){return se="useContext",tt(),jt(e)},useEffect:function(e,t){return se="useEffect",tt(),ko(t),Rs(e,t)},useImperativeHandle:function(e,t,a){return se="useImperativeHandle",tt(),ko(a),Zi(e,t,a)},useInsertionEffect:function(e,t){se="useInsertionEffect",tt(),ko(t),Dr(4,zl,e,t)},useLayoutEffect:function(e,t){return se="useLayoutEffect",tt(),ko(t),Oa(e,t)},useMemo:function(e,t){se="useMemo",tt(),ko(t);var a=ue.H;ue.H=$r;try{return ja(e,t)}finally{ue.H=a}},useReducer:function(e,t,a){se="useReducer",tt();var s=ue.H;ue.H=$r;try{return Qu(e,t,a)}finally{ue.H=s}},useRef:function(e){return se="useRef",tt(),ep(e)},useState:function(e){se="useState",tt();var t=ue.H;ue.H=$r;try{return Cr(e)}finally{ue.H=t}},useDebugValue:function(){se="useDebugValue",tt()},useDeferredValue:function(e,t){return se="useDeferredValue",tt(),Iu(e,t)},useTransition:function(){return se="useTransition",tt(),_r()},useSyncExternalStore:function(e,t,a){return se="useSyncExternalStore",tt(),Zu(e,t,a)},useId:function(){return se="useId",tt(),Qf()},useFormState:function(e,t){return se="useFormState",tt(),kf(),ml(e,t)},useActionState:function(e,t){return se="useActionState",tt(),ml(e,t)},useOptimistic:function(e){return se="useOptimistic",tt(),zs(e)},useHostTransitionStatus:Ho,useMemoCache:hl,useCacheRefresh:function(){return se="useCacheRefresh",tt(),np()},useEffectEvent:function(e){return se="useEffectEvent",tt(),Gf(e)}},vR={readContext:function(e){return jt(e)},use:No,useCallback:function(e,t){return se="useCallback",Se(),tp(e,t)},useContext:function(e){return se="useContext",Se(),jt(e)},useEffect:function(e,t){return se="useEffect",Se(),Rs(e,t)},useImperativeHandle:function(e,t,a){return se="useImperativeHandle",Se(),Zi(e,t,a)},useInsertionEffect:function(e,t){se="useInsertionEffect",Se(),Dr(4,zl,e,t)},useLayoutEffect:function(e,t){return se="useLayoutEffect",Se(),Oa(e,t)},useMemo:function(e,t){se="useMemo",Se();var a=ue.H;ue.H=$r;try{return ja(e,t)}finally{ue.H=a}},useReducer:function(e,t,a){se="useReducer",Se();var s=ue.H;ue.H=$r;try{return Qu(e,t,a)}finally{ue.H=s}},useRef:function(e){return se="useRef",Se(),ep(e)},useState:function(e){se="useState",Se();var t=ue.H;ue.H=$r;try{return Cr(e)}finally{ue.H=t}},useDebugValue:function(){se="useDebugValue",Se()},useDeferredValue:function(e,t){return se="useDeferredValue",Se(),Iu(e,t)},useTransition:function(){return se="useTransition",Se(),_r()},useSyncExternalStore:function(e,t,a){return se="useSyncExternalStore",Se(),Zu(e,t,a)},useId:function(){return se="useId",Se(),Qf()},useActionState:function(e,t){return se="useActionState",Se(),ml(e,t)},useFormState:function(e,t){return se="useFormState",Se(),kf(),ml(e,t)},useOptimistic:function(e){return se="useOptimistic",Se(),zs(e)},useHostTransitionStatus:Ho,useMemoCache:hl,useCacheRefresh:function(){return se="useCacheRefresh",Se(),np()},useEffectEvent:function(e){return se="useEffectEvent",Se(),Gf(e)}},Ww={readContext:function(e){return jt(e)},use:No,useCallback:function(e,t){return se="useCallback",Se(),ui(e,t)},useContext:function(e){return se="useContext",Se(),jt(e)},useEffect:function(e,t){se="useEffect",Se(),Ln(2048,Rl,e,t)},useImperativeHandle:function(e,t,a){return se="useImperativeHandle",Se(),$u(e,t,a)},useInsertionEffect:function(e,t){return se="useInsertionEffect",Se(),Ln(4,zl,e,t)},useLayoutEffect:function(e,t){return se="useLayoutEffect",Se(),Ln(4,Ei,e,t)},useMemo:function(e,t){se="useMemo",Se();var a=ue.H;ue.H=Fo;try{return an(e,t)}finally{ue.H=a}},useReducer:function(e,t,a){se="useReducer",Se();var s=ue.H;ue.H=Fo;try{return Ts(e,t,a)}finally{ue.H=s}},useRef:function(){return se="useRef",Se(),Lt().memoizedState},useState:function(){se="useState",Se();var e=ue.H;ue.H=Fo;try{return Ts(pl)}finally{ue.H=e}},useDebugValue:function(){se="useDebugValue",Se()},useDeferredValue:function(e,t){return se="useDeferredValue",Se(),Ki(e,t)},useTransition:function(){return se="useTransition",Se(),gb()},useSyncExternalStore:function(e,t,a){return se="useSyncExternalStore",Se(),Cs(e,t,a)},useId:function(){return se="useId",Se(),Lt().memoizedState},useFormState:function(e){return se="useFormState",Se(),kf(),Rr(e)},useActionState:function(e){return se="useActionState",Se(),Rr(e)},useOptimistic:function(e,t){return se="useOptimistic",Se(),Vf(e,t)},useHostTransitionStatus:Ho,useMemoCache:hl,useCacheRefresh:function(){return se="useCacheRefresh",Se(),Lt().memoizedState},useEffectEvent:function(e){return se="useEffectEvent",Se(),Ju(e)}},bR={readContext:function(e){return jt(e)},use:No,useCallback:function(e,t){return se="useCallback",Se(),ui(e,t)},useContext:function(e){return se="useContext",Se(),jt(e)},useEffect:function(e,t){se="useEffect",Se(),Ln(2048,Rl,e,t)},useImperativeHandle:function(e,t,a){return se="useImperativeHandle",Se(),$u(e,t,a)},useInsertionEffect:function(e,t){return se="useInsertionEffect",Se(),Ln(4,zl,e,t)},useLayoutEffect:function(e,t){return se="useLayoutEffect",Se(),Ln(4,Ei,e,t)},useMemo:function(e,t){se="useMemo",Se();var a=ue.H;ue.H=Y1;try{return an(e,t)}finally{ue.H=a}},useReducer:function(e,t,a){se="useReducer",Se();var s=ue.H;ue.H=Y1;try{return As(e,t,a)}finally{ue.H=s}},useRef:function(){return se="useRef",Se(),Lt().memoizedState},useState:function(){se="useState",Se();var e=ue.H;ue.H=Y1;try{return As(pl)}finally{ue.H=e}},useDebugValue:function(){se="useDebugValue",Se()},useDeferredValue:function(e,t){return se="useDeferredValue",Se(),rt(e,t)},useTransition:function(){return se="useTransition",Se(),dn()},useSyncExternalStore:function(e,t,a){return se="useSyncExternalStore",Se(),Cs(e,t,a)},useId:function(){return se="useId",Se(),Lt().memoizedState},useFormState:function(e){return se="useFormState",Se(),kf(),Mr(e)},useActionState:function(e){return se="useActionState",Se(),Mr(e)},useOptimistic:function(e,t){return se="useOptimistic",Se(),Yf(e,t)},useHostTransitionStatus:Ho,useMemoCache:hl,useCacheRefresh:function(){return se="useCacheRefresh",Se(),Lt().memoizedState},useEffectEvent:function(e){return se="useEffectEvent",Se(),Ju(e)}},$r={readContext:function(e){return x(),jt(e)},use:function(e){return S(),No(e)},useCallback:function(e,t){return se="useCallback",S(),tt(),tp(e,t)},useContext:function(e){return se="useContext",S(),tt(),jt(e)},useEffect:function(e,t){return se="useEffect",S(),tt(),Rs(e,t)},useImperativeHandle:function(e,t,a){return se="useImperativeHandle",S(),tt(),Zi(e,t,a)},useInsertionEffect:function(e,t){se="useInsertionEffect",S(),tt(),Dr(4,zl,e,t)},useLayoutEffect:function(e,t){return se="useLayoutEffect",S(),tt(),Oa(e,t)},useMemo:function(e,t){se="useMemo",S(),tt();var a=ue.H;ue.H=$r;try{return ja(e,t)}finally{ue.H=a}},useReducer:function(e,t,a){se="useReducer",S(),tt();var s=ue.H;ue.H=$r;try{return Qu(e,t,a)}finally{ue.H=s}},useRef:function(e){return se="useRef",S(),tt(),ep(e)},useState:function(e){se="useState",S(),tt();var t=ue.H;ue.H=$r;try{return Cr(e)}finally{ue.H=t}},useDebugValue:function(){se="useDebugValue",S(),tt()},useDeferredValue:function(e,t){return se="useDeferredValue",S(),tt(),Iu(e,t)},useTransition:function(){return se="useTransition",S(),tt(),_r()},useSyncExternalStore:function(e,t,a){return se="useSyncExternalStore",S(),tt(),Zu(e,t,a)},useId:function(){return se="useId",S(),tt(),Qf()},useFormState:function(e,t){return se="useFormState",S(),tt(),ml(e,t)},useActionState:function(e,t){return se="useActionState",S(),tt(),ml(e,t)},useOptimistic:function(e){return se="useOptimistic",S(),tt(),zs(e)},useMemoCache:function(e){return S(),hl(e)},useHostTransitionStatus:Ho,useCacheRefresh:function(){return se="useCacheRefresh",tt(),np()},useEffectEvent:function(e){return se="useEffectEvent",S(),tt(),Gf(e)}},Fo={readContext:function(e){return x(),jt(e)},use:function(e){return S(),No(e)},useCallback:function(e,t){return se="useCallback",S(),Se(),ui(e,t)},useContext:function(e){return se="useContext",S(),Se(),jt(e)},useEffect:function(e,t){se="useEffect",S(),Se(),Ln(2048,Rl,e,t)},useImperativeHandle:function(e,t,a){return se="useImperativeHandle",S(),Se(),$u(e,t,a)},useInsertionEffect:function(e,t){return se="useInsertionEffect",S(),Se(),Ln(4,zl,e,t)},useLayoutEffect:function(e,t){return se="useLayoutEffect",S(),Se(),Ln(4,Ei,e,t)},useMemo:function(e,t){se="useMemo",S(),Se();var a=ue.H;ue.H=Fo;try{return an(e,t)}finally{ue.H=a}},useReducer:function(e,t,a){se="useReducer",S(),Se();var s=ue.H;ue.H=Fo;try{return Ts(e,t,a)}finally{ue.H=s}},useRef:function(){return se="useRef",S(),Se(),Lt().memoizedState},useState:function(){se="useState",S(),Se();var e=ue.H;ue.H=Fo;try{return Ts(pl)}finally{ue.H=e}},useDebugValue:function(){se="useDebugValue",S(),Se()},useDeferredValue:function(e,t){return se="useDeferredValue",S(),Se(),Ki(e,t)},useTransition:function(){return se="useTransition",S(),Se(),gb()},useSyncExternalStore:function(e,t,a){return se="useSyncExternalStore",S(),Se(),Cs(e,t,a)},useId:function(){return se="useId",S(),Se(),Lt().memoizedState},useFormState:function(e){return se="useFormState",S(),Se(),Rr(e)},useActionState:function(e){return se="useActionState",S(),Se(),Rr(e)},useOptimistic:function(e,t){return se="useOptimistic",S(),Se(),Vf(e,t)},useMemoCache:function(e){return S(),hl(e)},useHostTransitionStatus:Ho,useCacheRefresh:function(){return se="useCacheRefresh",Se(),Lt().memoizedState},useEffectEvent:function(e){return se="useEffectEvent",S(),Se(),Ju(e)}},Y1={readContext:function(e){return x(),jt(e)},use:function(e){return S(),No(e)},useCallback:function(e,t){return se="useCallback",S(),Se(),ui(e,t)},useContext:function(e){return se="useContext",S(),Se(),jt(e)},useEffect:function(e,t){se="useEffect",S(),Se(),Ln(2048,Rl,e,t)},useImperativeHandle:function(e,t,a){return se="useImperativeHandle",S(),Se(),$u(e,t,a)},useInsertionEffect:function(e,t){return se="useInsertionEffect",S(),Se(),Ln(4,zl,e,t)},useLayoutEffect:function(e,t){return se="useLayoutEffect",S(),Se(),Ln(4,Ei,e,t)},useMemo:function(e,t){se="useMemo",S(),Se();var a=ue.H;ue.H=Fo;try{return an(e,t)}finally{ue.H=a}},useReducer:function(e,t,a){se="useReducer",S(),Se();var s=ue.H;ue.H=Fo;try{return As(e,t,a)}finally{ue.H=s}},useRef:function(){return se="useRef",S(),Se(),Lt().memoizedState},useState:function(){se="useState",S(),Se();var e=ue.H;ue.H=Fo;try{return As(pl)}finally{ue.H=e}},useDebugValue:function(){se="useDebugValue",S(),Se()},useDeferredValue:function(e,t){return se="useDeferredValue",S(),Se(),rt(e,t)},useTransition:function(){return se="useTransition",S(),Se(),dn()},useSyncExternalStore:function(e,t,a){return se="useSyncExternalStore",S(),Se(),Cs(e,t,a)},useId:function(){return se="useId",S(),Se(),Lt().memoizedState},useFormState:function(e){return se="useFormState",S(),Se(),Mr(e)},useActionState:function(e){return se="useActionState",S(),Se(),Mr(e)},useOptimistic:function(e,t){return se="useOptimistic",S(),Se(),Yf(e,t)},useMemoCache:function(e){return S(),hl(e)},useHostTransitionStatus:Ho,useCacheRefresh:function(){return se="useCacheRefresh",Se(),Lt().memoizedState},useEffectEvent:function(e){return se="useEffectEvent",S(),Se(),Ju(e)}};var SR={},xR=new Set,wR=new Set,ER=new Set,TR=new Set,AR=new Set,CR=new Set,zR=new Set,RR=new Set,MR=new Set,DR=new Set;Object.freeze(SR);var e2={enqueueSetState:function(e,t,a){e=e._reactInternals;var s=va(e),d=Un(s);d.payload=t,a!=null&&(Os(a),d.callback=a),t=qi(e,d,s),t!==null&&(Hi(s,"this.setState()",e),We(t,e,s),Vl(t,e,s))},enqueueReplaceState:function(e,t,a){e=e._reactInternals;var s=va(e),d=Un(s);d.tag=dR,d.payload=t,a!=null&&(Os(a),d.callback=a),t=qi(e,d,s),t!==null&&(Hi(s,"this.replaceState()",e),We(t,e,s),Vl(t,e,s))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var a=va(e),s=Un(a);s.tag=hR,t!=null&&(Os(t),s.callback=t),t=qi(e,s,a),t!==null&&(Hi(a,"this.forceUpdate()",e),We(t,e,a),Vl(t,e,a))}},Mm=null,t2=null,n2=Error("This is not a real error. It's an implementation detail of React's selective hydration feature. If this leaks into userspace, it's a bug in React. Please file an issue."),na=!1,_R={},OR={},jR={},kR={},Dm=!1,NR={},q1={},a2={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},UR=!1,LR=null;LR=new Set;var ru=!1,aa=!1,l2=!1,BR=typeof WeakSet=="function"?WeakSet:Set,wa=null,_m=null,Om=null,la=null,Zl=!1,Po=null,fa=!1,Jy=8192,Dk={getCacheForType:function(e){var t=jt(Wn),a=t.data.get(e);return a===void 0&&(a=e(),t.data.set(e,a)),a},cacheSignal:function(){return jt(Wn).controller.signal},getOwner:function(){return Wa}};if(typeof Symbol=="function"&&Symbol.for){var $y=Symbol.for;$y("selector.component"),$y("selector.has_pseudo_class"),$y("selector.role"),$y("selector.test_id"),$y("selector.text")}var _k=[],Ok=typeof WeakMap=="function"?WeakMap:Map,Ea=0,da=2,Ti=4,su=0,Iy=1,Gd=2,G1=3,Xc=4,X1=6,HR=5,Rt=Ea,Pt=null,bt=null,mt=0,Kl=0,Q1=1,Xd=2,Fy=3,VR=4,i2=5,Py=6,Z1=7,o2=8,Qd=9,Zt=Kl,Ai=null,Qc=!1,jm=!1,r2=!1,Ir=0,Sn=su,Zc=0,Kc=0,s2=0,Jl=0,Zd=0,Wy=null,Ml=null,K1=!1,J1=0,YR=0,qR=300,$1=1/0,GR=500,ev=null,kn=null,Jc=null,I1=0,u2=1,c2=2,XR=3,$c=0,QR=1,ZR=2,KR=3,JR=4,F1=5,ia=0,Ic=null,km=null,Wo=0,f2=0,d2=-0,h2=null,$R=null,IR=null,er=I1,FR=null,jk=50,tv=0,p2=null,m2=!1,P1=!1,kk=50,Kd=0,nv=null,Nm=!1,W1=null,PR=!1,WR=new Set,Nk={},eS=null,Um=null,g2=!1,y2=!1,tS=!1,v2=!1,Fc=0,b2={};(function(){for(var e=0;e<Dw.length;e++){var t=Dw[e],a=t.toLowerCase();t=t[0].toUpperCase()+t.slice(1),Wl(a,"on"+t)}Wl(Mz,"onAnimationEnd"),Wl(Dz,"onAnimationIteration"),Wl(_z,"onAnimationStart"),Wl("dblclick","onDoubleClick"),Wl("focusin","onFocus"),Wl("focusout","onBlur"),Wl(ck,"onTransitionRun"),Wl(fk,"onTransitionStart"),Wl(dk,"onTransitionCancel"),Wl(Oz,"onTransitionEnd")})(),it("onMouseEnter",["mouseout","mouseover"]),it("onMouseLeave",["mouseout","mouseover"]),it("onPointerEnter",["pointerout","pointerover"]),it("onPointerLeave",["pointerout","pointerover"]),yt("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),yt("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),yt("onBeforeInput",["compositionend","keypress","textInput","paste"]),yt("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),yt("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),yt("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var av="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(" "),S2=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(av)),nS="_reactListening"+Math.random().toString(36).slice(2),e5=!1,t5=!1,aS=!1,n5=!1,lS=!1,iS=!1,a5=!1,oS={},Uk=/\r\n?/g,Lk=/\u0000|\uFFFD/g,Jd="http://www.w3.org/1999/xlink",x2="http://www.w3.org/XML/1998/namespace",Bk="javascript:throw new Error('React form unexpectedly submitted.')",Hk="suppressHydrationWarning",$d="&",rS="/&",lv="$",iv="/$",Pc="$?",Id="$~",Lm="$!",Vk="html",Yk="body",qk="head",w2="F!",l5="F",i5="loading",Gk="style",uu=0,Bm=1,sS=2,E2=null,T2=null,o5={dialog:!0,webview:!0},A2=null,ov=void 0,r5=typeof setTimeout=="function"?setTimeout:void 0,Xk=typeof clearTimeout=="function"?clearTimeout:void 0,Fd=-1,s5=typeof Promise=="function"?Promise:void 0,Qk=typeof queueMicrotask=="function"?queueMicrotask:typeof s5<"u"?function(e){return s5.resolve(null).then(e).catch(Bb)}:r5,C2=null,Pd=0,rv=1,u5=2,c5=3,xo=4,wo=new Map,f5=new Set,cu=Nt.d;Nt.d={f:function(){var e=cu.f(),t=Sl();return e||t},r:function(e){var t=Ce(e);t!==null&&t.tag===5&&t.type==="form"?Fu(t):cu.r(e)},D:function(e){cu.D(e),Jg("dns-prefetch",e,null)},C:function(e,t){cu.C(e,t),Jg("preconnect",e,t)},L:function(e,t,a){cu.L(e,t,a);var s=Hm;if(s&&e&&t){var d='link[rel="preload"][as="'+Yt(t)+'"]';t==="image"&&a&&a.imageSrcSet?(d+='[imagesrcset="'+Yt(a.imageSrcSet)+'"]',typeof a.imageSizes=="string"&&(d+='[imagesizes="'+Yt(a.imageSizes)+'"]')):d+='[href="'+Yt(e)+'"]';var h=d;switch(t){case"style":h=qs(e);break;case"script":h=Gs(e)}wo.has(h)||(e=dt({rel:"preload",href:t==="image"&&a&&a.imageSrcSet?void 0:e,as:t},a),wo.set(h,e),s.querySelector(d)!==null||t==="style"&&s.querySelector(yd(h))||t==="script"&&s.querySelector(vd(h))||(t=s.createElement("link"),ln(t,"link",e),He(t),s.head.appendChild(t)))}},m:function(e,t){cu.m(e,t);var a=Hm;if(a&&e){var s=t&&typeof t.as=="string"?t.as:"script",d='link[rel="modulepreload"][as="'+Yt(s)+'"][href="'+Yt(e)+'"]',h=d;switch(s){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":h=Gs(e)}if(!wo.has(h)&&(e=dt({rel:"modulepreload",href:e},t),wo.set(h,e),a.querySelector(d)===null)){switch(s){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(a.querySelector(vd(h)))return}s=a.createElement("link"),ln(s,"link",e),He(s),a.head.appendChild(s)}}},X:function(e,t){cu.X(e,t);var a=Hm;if(a&&e){var s=$e(a).hoistableScripts,d=Gs(e),h=s.get(d);h||(h=a.querySelector(vd(d)),h||(e=dt({src:e,async:!0},t),(t=wo.get(d))&&Fg(e,t),h=a.createElement("script"),He(h),ln(h,"link",e),a.head.appendChild(h)),h={type:"script",instance:h,count:1,state:null},s.set(d,h))}},S:function(e,t,a){cu.S(e,t,a);var s=Hm;if(s&&e){var d=$e(s).hoistableStyles,h=qs(e);t=t||"default";var b=d.get(h);if(!b){var w={loading:Pd,preload:null};if(b=s.querySelector(yd(h)))w.loading=rv|xo;else{e=dt({rel:"stylesheet",href:e,"data-precedence":t},a),(a=wo.get(h))&&Ig(e,a);var R=b=s.createElement("link");He(R),ln(R,"link",e),R._p=new Promise(function(D,Z){R.onload=D,R.onerror=Z}),R.addEventListener("load",function(){w.loading|=rv}),R.addEventListener("error",function(){w.loading|=u5}),w.loading|=xo,vc(b,t,s)}b={type:"stylesheet",instance:b,count:1,state:w},d.set(h,b)}}},M:function(e,t){cu.M(e,t);var a=Hm;if(a&&e){var s=$e(a).hoistableScripts,d=Gs(e),h=s.get(d);h||(h=a.querySelector(vd(d)),h||(e=dt({src:e,async:!0,type:"module"},t),(t=wo.get(d))&&Fg(e,t),h=a.createElement("script"),He(h),ln(h,"link",e),a.head.appendChild(h)),h={type:"script",instance:h,count:1,state:null},s.set(d,h))}}};var Hm=typeof document>"u"?null:document,uS=null,Zk=6e4,Kk=800,Jk=500,z2=0,R2=null,cS=null,Wd=vw,sv={$$typeof:vi,Provider:null,Consumer:null,_currentValue:Wd,_currentValue2:Wd,_threadCount:0},d5="%c%s%c",h5="background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px",p5="",fS=" ",$k=Function.prototype.bind,m5=!1,g5=null,y5=null,v5=null,b5=null,S5=null,x5=null,w5=null,E5=null,T5=null,A5=null;g5=function(e,t,a,s){t=i(e,t),t!==null&&(a=o(t.memoizedState,a,0,s),t.memoizedState=a,t.baseState=a,e.memoizedProps=dt({},e.memoizedProps),a=ga(e,2),a!==null&&We(a,e,2))},y5=function(e,t,a){t=i(e,t),t!==null&&(a=p(t.memoizedState,a,0),t.memoizedState=a,t.baseState=a,e.memoizedProps=dt({},e.memoizedProps),a=ga(e,2),a!==null&&We(a,e,2))},v5=function(e,t,a,s){t=i(e,t),t!==null&&(a=u(t.memoizedState,a,s),t.memoizedState=a,t.baseState=a,e.memoizedProps=dt({},e.memoizedProps),a=ga(e,2),a!==null&&We(a,e,2))},b5=function(e,t,a){e.pendingProps=o(e.memoizedProps,t,0,a),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=ga(e,2),t!==null&&We(t,e,2)},S5=function(e,t){e.pendingProps=p(e.memoizedProps,t,0),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=ga(e,2),t!==null&&We(t,e,2)},x5=function(e,t,a){e.pendingProps=u(e.memoizedProps,t,a),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=ga(e,2),t!==null&&We(t,e,2)},w5=function(e){var t=ga(e,2);t!==null&&We(t,e,2)},E5=function(e){var t=Eu(),a=ga(e,t);a!==null&&We(a,e,t)},T5=function(e){y=e},A5=function(e){g=e};var dS=!0,hS=null,M2=!1,Wc=null,ef=null,tf=null,uv=new Map,cv=new Map,nf=[],Ik="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" "),pS=null;if(yi.prototype.render=ry.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error("Cannot update an unmounted root.");var a=arguments;typeof a[1]=="function"?console.error("does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):q(a[1])?console.error("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."):typeof a[1]<"u"&&console.error("You passed a second argument to root.render(...) but it only accepts one argument."),a=e;var s=t.current,d=va(s);Zp(s,d,a,t,null,null)},yi.prototype.unmount=ry.prototype.unmount=function(){var e=arguments;if(typeof e[0]=="function"&&console.error("does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."),e=this._internalRoot,e!==null){this._internalRoot=null;var t=e.containerInfo;(Rt&(da|Ti))!==Ea&&console.error("Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."),Zp(e.current,2,null,e,null,null),Sl(),t[Jo]=null}},yi.prototype.unstable_scheduleHydration=function(e){if(e){var t=ur();e={blockedOn:null,target:e,priority:t};for(var a=0;a<nf.length&&t!==0&&t<nf[a].priority;a++);nf.splice(a,0,e),a===0&&oy(e)}},(function(){var e=Ed.version;if(e!=="19.2.3")throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
|
|
237
|
+
- react: `+(e+`
|
|
238
|
+
- react-dom: 19.2.3
|
|
239
|
+
Learn more: https://react.dev/warnings/version-mismatch`))})(),typeof Map=="function"&&Map.prototype!=null&&typeof Map.prototype.forEach=="function"&&typeof Set=="function"&&Set.prototype!=null&&typeof Set.prototype.clear=="function"&&typeof Set.prototype.forEach=="function"||console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://react.dev/link/react-polyfills"),Nt.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error("Unable to find node on an unmounted component."):(e=Object.keys(e).join(","),Error("Argument appears to not be a ReactComponent. Keys: "+e));return e=pe(t),e=e!==null?de(e):null,e=e===null?null:e.stateNode,e},!(function(){var e={bundleType:1,version:"19.2.3",rendererPackageName:"react-dom",currentDispatcherRef:ue,reconcilerVersion:"19.2.3"};return e.overrideHookState=g5,e.overrideHookStateDeletePath=y5,e.overrideHookStateRenamePath=v5,e.overrideProps=b5,e.overridePropsDeletePath=S5,e.overridePropsRenamePath=x5,e.scheduleUpdate=w5,e.scheduleRetry=E5,e.setErrorHandler=T5,e.setSuspenseHandler=A5,e.scheduleRefresh=H,e.scheduleRoot=N,e.setRefreshHandler=Q,e.getCurrentFiber=Xt,hf(e)})()&&Zr&&window.top===window.self&&(-1<navigator.userAgent.indexOf("Chrome")&&navigator.userAgent.indexOf("Edge")===-1||-1<navigator.userAgent.indexOf("Firefox"))){var C5=window.location.protocol;/^(https?|file):$/.test(C5)&&console.info("%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools"+(C5==="file:"?`
|
|
240
|
+
You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:""),"font-weight:bold")}Xm.createRoot=function(e,t){if(!q(e))throw Error("Target container is not a DOM element.");sy(e);var a=!1,s="",d=ip,h=op,b=ng;return t!=null&&(t.hydrate?console.warn("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof t=="object"&&t!==null&&t.$$typeof===Xl&&console.error(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
|
|
241
|
+
|
|
242
|
+
let root = createRoot(domContainer);
|
|
243
|
+
root.render(<App />);`),t.unstable_strictMode===!0&&(a=!0),t.identifierPrefix!==void 0&&(s=t.identifierPrefix),t.onUncaughtError!==void 0&&(d=t.onUncaughtError),t.onCaughtError!==void 0&&(h=t.onCaughtError),t.onRecoverableError!==void 0&&(b=t.onRecoverableError)),t=xd(e,1,!1,null,null,a,s,null,d,h,b,s1),e[Jo]=t.current,Br(e),new ry(t)},Xm.hydrateRoot=function(e,t,a){if(!q(e))throw Error("Target container is not a DOM element.");sy(e),t===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var s=!1,d="",h=ip,b=op,w=ng,R=null;return a!=null&&(a.unstable_strictMode===!0&&(s=!0),a.identifierPrefix!==void 0&&(d=a.identifierPrefix),a.onUncaughtError!==void 0&&(h=a.onUncaughtError),a.onCaughtError!==void 0&&(b=a.onCaughtError),a.onRecoverableError!==void 0&&(w=a.onRecoverableError),a.formState!==void 0&&(R=a.formState)),t=xd(e,1,!0,t,a??null,s,d,R,h,b,w,s1),t.context=l1(null),a=t.current,s=va(a),s=_l(s),d=Un(s),d.callback=null,qi(a,d,s),Hi(s,"hydrateRoot()",null),a=s,t.current.lanes=a,Il(t,a),$a(t),e[Jo]=t.current,Br(e),new yi(t)},Xm.version="19.2.3",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),Xm}var Q2;function V5(){if(Q2)return hv.exports;Q2=1;function i(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function")){if(process.env.NODE_ENV!=="production")throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(i)}catch(o){console.error(o)}}}return process.env.NODE_ENV==="production"?(i(),hv.exports=B5()):hv.exports=H5(),hv.exports}var Y5=V5(),j=eh();const Ta=R5(j),q5=z5({__proto__:null,default:Ta},[j]),vS="data-ui-lint-id",Z2=["#3B82F6","#8B5CF6","#EC4899","#10B981","#F59E0B","#06B6D4","#EF4444","#84CC16","#6366F1","#F97316","#14B8A6","#A855F7"],G5=new Set(["SCRIPT","STYLE","SVG","NOSCRIPT","TEMPLATE","HEAD","META","LINK"]);function K2(i){const o=i.getAttribute("data-loc");if(!o)return null;const u=o.split(":");if(u.length<2)return null;const f=u[u.length-1],p=u[u.length-2],g=/^\d+$/.test(f),y=/^\d+$/.test(p);if(g&&y){const S=parseInt(f,10),x=parseInt(p,10),E=u.slice(0,-2).join(":");return isNaN(x)||isNaN(S)||!E?null:{fileName:E,lineNumber:x,columnNumber:S}}else if(g){const S=parseInt(f,10),x=u.slice(0,-1).join(":");return isNaN(S)||!x?null:{fileName:x,lineNumber:S}}return null}function J2(i){return i.includes("node_modules")}function X5(i){const o=i.split("/");return o[o.length-1]||i}function Q5(i){if(G5.has(i.tagName.toUpperCase())||i.hasAttribute("data-ui-lint")||i.getAttribute("aria-hidden")==="true")return!0;const o=window.getComputedStyle(i);if(o.display==="none"||o.visibility==="hidden")return!0;const u=i.getBoundingClientRect();return u.width===0||u.height===0}function $2(i=document.body,o=!0){const u=[],f=new Map;Z5();const p=i.querySelectorAll("[data-loc]");for(const g of p){if(Q5(g))continue;const y=K2(g);if(!y||o&&J2(y.fileName))continue;const S=g.getAttribute("data-loc"),x=(f.get(S)??0)+1;f.set(S,x);const E=`loc:${S}#${x}`;g.setAttribute(vS,E),u.push({id:E,element:g,tagName:g.tagName.toLowerCase(),className:typeof g.className=="string"?g.className:"",source:y,rect:g.getBoundingClientRect()})}return u}function Qm(i){const o=new Map;for(const p of i){if(!p.source)continue;const g=p.source.fileName,y=o.get(g)||[];y.push(p),o.set(g,y)}const u=[];let f=0;for(const[p,g]of o)u.push({path:p,displayName:X5(p),color:Z2[f%Z2.length],elements:g}),f++;return u.sort((p,g)=>g.elements.length-p.elements.length),u}function Z5(){document.querySelectorAll(`[${vS}]`).forEach(o=>o.removeAttribute(vS))}function K5(i,o="cursor",u){const{fileName:f,lineNumber:p,columnNumber:g}=i,y=g??1;let S=f;return u&&!f.startsWith("/")&&(S=`${u.endsWith("/")?u.slice(0,-1):u}/${f}`),o==="cursor"?`cursor://file/${encodeURIComponent(S)}:${p}:${y}`:`vscode://file/${encodeURIComponent(S)}:${p}:${y}`}const I2=i=>{let o;const u=new Set,f=(E,C)=>{const T=typeof E=="function"?E(o):E;if(!Object.is(T,o)){const z=o;o=C??(typeof T!="object"||T===null)?T:Object.assign({},o,T),u.forEach(N=>N(o,z))}},p=()=>o,S={setState:f,getState:p,getInitialState:()=>x,subscribe:E=>(u.add(E),()=>u.delete(E))},x=o=i(f,p,S);return S},J5=(i=>i?I2(i):I2),$5=i=>i;function I5(i,o=$5){const u=Ta.useSyncExternalStore(i.subscribe,Ta.useCallback(()=>o(i.getState()),[i,o]),Ta.useCallback(()=>o(i.getInitialState()),[i,o]));return Ta.useDebugValue(u),u}const F5=i=>{const o=J5(i),u=f=>I5(o,f);return Object.assign(u,o),u},P5=(i=>F5),W5={hideNodeModules:!0,autoScanEnabled:!1},bS={status:"idle",currentIndex:0,totalElements:0,elements:[]};function eM(i){return i.startsWith("loc:")&&i.slice(4).split("#")[0]||null}async function F2(i,o){if(i.elements.length===0)return{issues:[]};const u=i.path;let f=[];if(o.wsConnected&&o.wsConnection)try{f=await o.requestFileLint(u),console.log("[UILint] ESLint issues:",f)}catch(p){return console.warn("[UILint] WebSocket lint failed:",p),{issues:[],error:!0}}else return console.warn("[UILint] WebSocket not connected"),{issues:[],error:!0};return{issues:f}}function SS(i,o,u,f,p,g){const y=new Map;for(const E of o){const C=eM(E.id);if(C){const T=y.get(C);T?T.push(E.id):y.set(C,[E.id])}}const S=new Map,x=[];for(const E of i)if(E.dataLoc){const C=y.get(E.dataLoc);if(C&&C.length>0)for(const T of C){const z=S.get(T)||[];z.push(E),S.set(T,z)}else x.push(E)}else x.push(E);for(const E of o){const C=S.get(E.id)||[];f(E.id,{elementId:E.id,issues:C,status:g?"error":"complete"})}x.length>0?p(u,x):p(u,[])}const tM="ws://localhost:9234",P2=5,nM=1e3,du=new Map,Zm=new Map;function aM(i){return i.replace(/\//g,"-").replace(/^-+/,"").replace(/[^a-zA-Z0-9_-]+/g,"-").replace(/-+/g,"-").slice(0,80)}async function xS(i){const o=await fetch("/api/.uilint/screenshots",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(i)}),u=await o.text().catch(()=>"");let f=null;try{f=u?JSON.parse(u):null}catch{f=null}if(!o.ok){const p=f?.error||u||o.statusText;throw new Error(`Screenshot API failed: ${o.status} ${p} (POST /api/.uilint/screenshots)`)}return f}const wS=12e4;function ES(){try{const i=globalThis.crypto;if(i?.randomUUID)return i.randomUUID()}catch{}return`req_${Date.now()}_${Math.random().toString(16).slice(2)}`}const Be=P5()((i,o)=>({settings:W5,updateSettings:u=>i(f=>({settings:{...f.settings,...u}})),altKeyHeld:!1,setAltKeyHeld:u=>i({altKeyHeld:u}),locatorTarget:null,setLocatorTarget:u=>i({locatorTarget:u}),inspectedElement:null,setInspectedElement:u=>i({inspectedElement:u}),liveScanEnabled:!1,autoScanState:bS,elementIssuesCache:new Map,fileIssuesCache:new Map,scanLock:!1,_setScanState:u=>i(f=>({autoScanState:{...f.autoScanState,...u}})),updateElementIssue:(u,f)=>i(p=>{const g=new Map(p.elementIssuesCache);return g.set(u,f),{elementIssuesCache:g}}),updateFileIssues:(u,f)=>i(p=>{const g=new Map(p.fileIssuesCache);return f.length>0?g.set(u,f):g.delete(u),{fileIssuesCache:g}}),enableLiveScan:async u=>{if(o().scanLock){console.warn("UILint: Scan already in progress");return}i({liveScanEnabled:!0,scanLock:!0});const p=$2(document.body,u),g=new Map;for(const y of p)g.set(y.id,{elementId:y.id,issues:[],status:"pending"});i({elementIssuesCache:g,autoScanState:{status:"scanning",currentIndex:0,totalElements:p.length,elements:p}}),await o()._runScanLoop(p)},disableLiveScan:()=>{i({liveScanEnabled:!1,scanLock:!1,autoScanState:bS,elementIssuesCache:new Map,fileIssuesCache:new Map})},scanNewElements:async u=>{if(!o().liveScanEnabled||u.length===0)return;i(g=>{const y=new Map(g.elementIssuesCache);for(const S of u)y.set(S.id,{elementId:S.id,issues:[],status:"pending"});return{elementIssuesCache:y,autoScanState:{...g.autoScanState,elements:[...g.autoScanState.elements,...u],totalElements:g.autoScanState.totalElements+u.length}}});const p=Qm(u);for(const g of p){for(const x of g.elements)o().updateElementIssue(x.id,{elementId:x.id,issues:[],status:"scanning"});await new Promise(x=>requestAnimationFrame(x));const{issues:y,error:S}=await F2(g,o());SS(y,g.elements,g.path,o().updateElementIssue,o().updateFileIssues,S??!1),o().wsConnected&&o().wsConnection&&o().subscribeToFile(g.path),await new Promise(x=>requestAnimationFrame(x))}},_runScanLoop:async u=>{const f=Qm(u);let p=0;for(const g of f){if(!o().liveScanEnabled){i({scanLock:!1,autoScanState:bS});return}o()._setScanState({currentIndex:p});for(const x of g.elements)o().updateElementIssue(x.id,{elementId:x.id,issues:[],status:"scanning"});await new Promise(x=>requestAnimationFrame(x));const{issues:y,error:S}=await F2(g,o());SS(y,g.elements,g.path,o().updateElementIssue,o().updateFileIssues,S??!1),o().wsConnected&&o().wsConnection&&o().subscribeToFile(g.path),p+=g.elements.length,await new Promise(x=>requestAnimationFrame(x))}i({scanLock:!1,autoScanState:{...o().autoScanState,status:"complete",currentIndex:u.length}})},removeStaleResults:u=>i(f=>{const p=new Map(f.elementIssuesCache),g=f.autoScanState.elements.filter(y=>!u.includes(y.id));for(const y of u)p.delete(y);return{elementIssuesCache:p,autoScanState:{...f.autoScanState,elements:g,totalElements:g.length}}}),hoveredFilePath:null,selectedFilePath:null,selectedElementId:null,hoveredElementId:null,setHoveredFilePath:u=>i({hoveredFilePath:u}),setSelectedFilePath:u=>i({selectedFilePath:u}),setSelectedElementId:u=>i({selectedElementId:u}),setHoveredElementId:u=>i({hoveredElementId:u}),wsConnection:null,wsConnected:!1,wsUrl:tM,wsReconnectAttempts:0,eslintIssuesCache:new Map,wsProgressPhase:new Map,wsLastActivity:null,wsRecentResults:[],workspaceRoot:null,appRoot:null,serverCwd:null,connectWebSocket:u=>{const f=u||o().wsUrl,p=o().wsConnection;if(p&&p.readyState!==WebSocket.CLOSED&&p.close(),typeof WebSocket>"u"){console.warn("[UILint] WebSocket not available in this environment");return}try{const g=new WebSocket(f);g.onopen=()=>{console.log("[UILint] WebSocket connected to",f),i({wsConnected:!0,wsReconnectAttempts:0,wsUrl:f})},g.onclose=()=>{console.log("[UILint] WebSocket disconnected"),i({wsConnected:!1,wsConnection:null});const y=o().wsReconnectAttempts;if(y<P2){const S=nM*Math.pow(2,y);console.log(`[UILint] Reconnecting in ${S}ms (attempt ${y+1})`),setTimeout(()=>{i({wsReconnectAttempts:y+1}),o()._reconnectWebSocket()},S)}},g.onerror=y=>{console.error("[UILint] WebSocket error:",y)},g.onmessage=y=>{try{const S=JSON.parse(y.data);o()._handleWsMessage(S)}catch(S){console.error("[UILint] Failed to parse WebSocket message:",S)}},i({wsConnection:g,wsUrl:f})}catch(g){console.error("[UILint] Failed to create WebSocket:",g)}},disconnectWebSocket:()=>{const u=o().wsConnection;u&&(u.close(),i({wsConnection:null,wsConnected:!1,wsReconnectAttempts:P2}))},requestFileLint:async u=>{const{wsConnection:f,wsConnected:p,eslintIssuesCache:g}=o(),y=g.get(u);return y?(console.log("[UILint] using cached issues for",u),y):!p||!f?(console.log("[UILint] WebSocket not connected, using HTTP fallback"),[]):new Promise((S,x)=>{const E=ES();du.set(E,{resolve:S,reject:x});const C={type:"lint:file",filePath:u,requestId:E};f.send(JSON.stringify(C)),setTimeout(()=>{du.has(E)&&(du.delete(E),x(new Error("Request timed out")))},wS)})},requestElementLint:async(u,f)=>{const{wsConnection:p,wsConnected:g}=o();return!g||!p?(console.log("[UILint] WebSocket not connected, using HTTP fallback"),[]):new Promise((y,S)=>{const x=ES();du.set(x,{resolve:y,reject:S});const E={type:"lint:element",filePath:u,dataLoc:f,requestId:x};p.send(JSON.stringify(E)),setTimeout(()=>{du.has(x)&&(du.delete(x),S(new Error("Request timed out")))},wS)})},subscribeToFile:u=>{const{wsConnection:f,wsConnected:p}=o();if(!p||!f)return;const g={type:"subscribe:file",filePath:u};f.send(JSON.stringify(g))},invalidateCache:u=>{const{wsConnection:f,wsConnected:p}=o();if(i(u?g=>{const y=new Map(g.eslintIssuesCache);return y.delete(u),{eslintIssuesCache:y}}:{eslintIssuesCache:new Map}),p&&f){const g={type:"cache:invalidate",filePath:u};f.send(JSON.stringify(g))}},visionAnalyzing:!1,visionProgressPhase:null,visionLastError:null,visionResult:null,visionIssuesCache:new Map,screenshotHistory:new Map,visionCurrentRoute:null,highlightedVisionElementId:null,hoveredVisionIssue:null,captureMode:"full",regionSelectionActive:!1,selectedRegion:null,showResultsPanel:!1,activeResultsTab:"eslint",activeToolbarTab:"configure",triggerVisionAnalysis:async()=>{const{wsConnection:u,wsConnected:f,selectedRegion:p,captureMode:g}=o();if(!f||!u){console.warn("[UILint] WebSocket not connected for vision analysis");const Q=window.location?.pathname||"/";i({visionLastError:{stage:"ws",message:"WebSocket not connected (start `uilint serve` and refresh)",route:Q,timestamp:Date.now()}});return}const{collectElementManifest:y,captureScreenshot:S,captureScreenshotRegion:x,getCurrentRoute:E,generateTimestamp:C}=await Promise.resolve().then(()=>TM),T=E(),z=C(),N=aM(T==="/"?"home":T),H=`uilint-${z}-${N}.png`;i({visionAnalyzing:!0,visionCurrentRoute:T,visionProgressPhase:"Capturing screenshot...",visionLastError:null,showResultsPanel:!0,activeResultsTab:"vision"});try{const Q=g==="region"&&p?await x(p):await S();i({visionProgressPhase:"Collecting elements..."});const q=g==="region"&&p?y(document.body,p):y();if(!q||q.length===0)throw new Error("No elements found for vision analysis (no visible `[data-loc]` elements on the page)");i({visionProgressPhase:`Saving screenshot (${q.length} elements)...`});try{await xS({filename:H,imageData:Q,manifest:q})}catch(le){console.warn("[UILint] Failed to save screenshot to server:",le)}i({visionProgressPhase:`Sending ${q.length} elements...`}),Q&&i(le=>{const pe=new Map(le.screenshotHistory);return pe.set(T,{dataUrl:Q,timestamp:Date.now()}),{screenshotHistory:pe}});const W=ES(),U={type:"vision:analyze",route:T,timestamp:Date.now(),screenshot:Q||void 0,screenshotFile:H,manifest:q,requestId:W};u.send(JSON.stringify(U)),i({visionProgressPhase:"Analyzing (server)..."});const $=await new Promise((le,pe)=>{Zm.set(W,{resolve:le,reject:pe,route:T,filename:H,manifest:q}),setTimeout(()=>{Zm.has(W)&&(Zm.delete(W),pe(new Error("Vision analysis timed out")))},wS)});i(le=>{const pe=new Map(le.visionIssuesCache);pe.set(T,$.issues);const de=$.error?{stage:"vision",message:$.error,route:T,timestamp:Date.now()}:null;return{visionResult:$,visionIssuesCache:pe,visionAnalyzing:!1,visionProgressPhase:null,visionLastError:de}});try{await xS({filename:H,analysisResult:{route:T,timestamp:$.timestamp,issues:$.issues,analysisTime:$.analysisTime,error:$.error}})}catch(le){console.warn("[UILint] Failed to save analysis result to server:",le)}}catch(Q){console.error("[UILint] Vision analysis failed:",Q);const q=Q instanceof Error?Q.message:String(Q),W=q.includes("Screenshot")||q.includes("html-to-image")?"capture":q.includes("[data-loc]")||q.includes("elements found")?"manifest":"vision";i({visionAnalyzing:!1,visionProgressPhase:null,visionLastError:{stage:W,message:q,route:T,timestamp:Date.now()},visionResult:{route:T,timestamp:Date.now(),manifest:[],issues:[],analysisTime:0,error:q}})}},clearVisionLastError:()=>i({visionLastError:null}),setHighlightedVisionElementId:u=>i({highlightedVisionElementId:u}),setHoveredVisionIssue:u=>i({hoveredVisionIssue:u}),setShowResultsPanel:u=>i({showResultsPanel:u}),setActiveResultsTab:u=>i({activeResultsTab:u}),setActiveToolbarTab:u=>i({activeToolbarTab:u}),setCaptureMode:u=>i({captureMode:u}),setRegionSelectionActive:u=>i({regionSelectionActive:u}),setSelectedRegion:u=>i({selectedRegion:u}),clearVisionResults:()=>i({visionResult:null,visionIssuesCache:new Map,visionAnalyzing:!1,visionProgressPhase:null,highlightedVisionElementId:null,hoveredVisionIssue:null,visionLastError:null}),_handleWsMessage:u=>{switch(u.type){case"lint:result":{const{filePath:f,issues:p,requestId:g}=u;i(S=>{const x=new Map(S.eslintIssuesCache);return x.set(f,p),{eslintIssuesCache:x}});const y=o();if(y.liveScanEnabled){const x=Qm(y.autoScanState.elements).find(E=>E.path===f);if(x)SS(p,x.elements,f,y.updateElementIssue,y.updateFileIssues,!1);else{const E=p.filter(C=>!C.dataLoc);E.length>0&&y.updateFileIssues(f,E)}}if(i(S=>{const x=new Map(S.wsProgressPhase);return x.delete(f),{wsProgressPhase:x}}),i(S=>({wsRecentResults:[{filePath:f,issueCount:p.length,updatedAt:Date.now()},...S.wsRecentResults.filter(E=>E.filePath!==f)].slice(0,8)})),i({wsLastActivity:{filePath:f,phase:`Done (${p.length} issues)`,updatedAt:Date.now()}}),g){const S=du.get(g);S&&(S.resolve(p),du.delete(g))}break}case"lint:progress":{const{filePath:f,phase:p}=u;i(g=>{const y=new Map(g.wsProgressPhase);return y.set(f,p),{wsProgressPhase:y,wsLastActivity:{filePath:f,phase:p,updatedAt:Date.now()}}});break}case"file:changed":{const{filePath:f}=u;i(g=>{const y=new Map(g.eslintIssuesCache);return y.delete(f),{eslintIssuesCache:y}});const p=o();if(p.liveScanEnabled){const y=Qm(p.autoScanState.elements).find(S=>S.path===f);if(y){for(const S of y.elements){const x=p.elementIssuesCache.get(S.id);p.updateElementIssue(S.id,{elementId:S.id,issues:x?.issues||[],status:"scanning"})}p.requestFileLint(f).catch(()=>{for(const S of y.elements){const x=p.elementIssuesCache.get(S.id);p.updateElementIssue(S.id,{elementId:S.id,issues:x?.issues||[],status:"error"})}})}}break}case"workspace:info":{const{appRoot:f,workspaceRoot:p,serverCwd:g}=u;console.log("[UILint] Received workspace info:",{appRoot:f,workspaceRoot:p,serverCwd:g}),i({appRoot:f,workspaceRoot:p,serverCwd:g});break}case"vision:result":{const{route:f,issues:p,analysisTime:g,error:y,requestId:S}=u;if(console.log("[UILint] Vision result:",{route:f,issues:p.length,error:y}),i(x=>{const E=new Map(x.visionIssuesCache);return E.set(f,p),{visionIssuesCache:E,visionResult:{route:f,timestamp:Date.now(),manifest:[],issues:p,analysisTime:g,error:y},visionAnalyzing:!1,visionProgressPhase:null,visionLastError:y?{stage:"vision",message:y,route:f,timestamp:Date.now()}:null}}),S){const x=Zm.get(S);x&&(xS({filename:x.filename,analysisResult:{route:x.route,timestamp:Date.now(),issues:p,analysisTime:g,error:y}}).catch(E=>{console.warn("[UILint] Failed to save vision result sidecar:",E)}),x.resolve({route:f,timestamp:Date.now(),manifest:Array.isArray(x.manifest)?x.manifest:[],issues:p,analysisTime:g,error:y}),Zm.delete(S))}break}case"vision:progress":{const{phase:f}=u;i({visionProgressPhase:f});break}}},_reconnectWebSocket:()=>{const{wsUrl:u}=o();o().connectWebSocket(u)}})),lM=100;function iM(i=!0){const o=j.useRef(null),u=j.useRef(null),f=j.useRef(new Set),p=Be(T=>T.liveScanEnabled),g=Be(T=>T.settings),y=Be(T=>T.autoScanState),S=Be(T=>T.removeStaleResults),x=Be(T=>T.scanNewElements);j.useEffect(()=>{if(y.elements.length>0){const T=new Set(y.elements.map(z=>z.id));f.current=T}},[y.elements]);const E=j.useCallback(()=>{if(!p)return;const T=$2(document.body,g.hideNodeModules),z=new Set(T.map(q=>q.id)),N=f.current,H=[];for(const q of T)N.has(q.id)||H.push(q);const Q=[];for(const q of N)z.has(q)||Q.push(q);f.current=z,H.length>0&&x(H),Q.length>0&&S(Q)},[p,g.hideNodeModules,x,S]),C=j.useCallback(()=>{u.current&&clearTimeout(u.current),u.current=setTimeout(()=>{E(),u.current=null},lM)},[E]);j.useEffect(()=>{if(!i||typeof window>"u")return;const T=new MutationObserver(z=>{let N=!1;for(const H of z){for(const Q of H.addedNodes)if(Q instanceof Element){if(Q.hasAttribute("data-loc")){N=!0;break}if(Q.querySelector("[data-loc]")){N=!0;break}}if(N)break;for(const Q of H.removedNodes)if(Q instanceof Element&&(Q.hasAttribute("data-loc")||Q.querySelector("[data-loc]"))){N=!0;break}if(N)break}N&&C()});return T.observe(document.body,{childList:!0,subtree:!0}),o.current=T,()=>{T.disconnect(),o.current=null,u.current&&(clearTimeout(u.current),u.current=null)}},[i,C])}let W2=!1;function eE(i){if(typeof document>"u"||W2)return;const o=document.createElement("style");o.setAttribute("data-uilint-devtools-styles","true"),o.textContent=i,document.head.appendChild(o),W2=!0}const TS="dev-tool-root";function hu(){if(typeof document>"u")throw new Error("getUILintPortalHost() called outside of a DOM environment");return document.querySelector(`.${TS}`)??document.body}const tE='@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial;--tw-content:"";--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-50:oklch(97.1% .013 17.38);--color-red-200:oklch(88.5% .062 18.334);--color-red-300:oklch(80.8% .114 19.571);--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-red-700:oklch(50.5% .213 27.518);--color-red-800:oklch(44.4% .177 26.899);--color-red-900:oklch(39.6% .141 25.723);--color-amber-300:oklch(87.9% .169 91.605);--color-amber-500:oklch(76.9% .188 70.08);--color-amber-700:oklch(55.5% .163 48.998);--color-green-400:oklch(79.2% .209 151.711);--color-green-500:oklch(72.3% .219 149.579);--color-green-600:oklch(62.7% .194 149.214);--color-emerald-300:oklch(84.5% .143 164.978);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-700:oklch(50.8% .118 165.612);--color-blue-300:oklch(80.9% .105 251.813);--color-blue-400:oklch(70.7% .165 254.624);--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-blue-700:oklch(48.8% .243 264.376);--color-zinc-50:oklch(98.5% 0 0);--color-zinc-100:oklch(96.7% .001 286.375);--color-zinc-200:oklch(92% .004 286.32);--color-zinc-300:oklch(87.1% .006 286.286);--color-zinc-400:oklch(70.5% .015 286.067);--color-zinc-500:oklch(55.2% .016 285.938);--color-zinc-600:oklch(44.2% .017 285.786);--color-zinc-700:oklch(37% .013 285.805);--color-zinc-800:oklch(27.4% .006 286.033);--color-zinc-900:oklch(21% .006 285.885);--color-zinc-950:oklch(14.1% .005 285.823);--color-white:#fff;--spacing:.25rem;--container-sm:24rem;--container-lg:32rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--tracking-wider:.05em;--leading-snug:1.375;--leading-relaxed:1.625;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--radius-3xl:1.5rem;--ease-out:cubic-bezier(0,0,.2,1);--ease-in-out:cubic-bezier(.4,0,.2,1);--animate-spin:spin 1s linear infinite;--animate-pulse:pulse 2s cubic-bezier(.4,0,.6,1)infinite;--blur-sm:8px;--blur-md:12px;--blur-lg:16px;--blur-xl:24px;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components{.dev-tool-root{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}}@layer utilities{.pointer-events-auto{pointer-events:auto}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.inset-0{inset:calc(var(--spacing)*0)}.-top-1\\.5{top:calc(var(--spacing)*-1.5)}.top-3{top:calc(var(--spacing)*3)}.-right-2{right:calc(var(--spacing)*-2)}.left-4{left:calc(var(--spacing)*4)}.isolate{isolation:isolate}.z-10{z-index:10}.z-50{z-index:50}.z-90{z-index:90}.z-99998{z-index:99998}.container{width:100%}@media(min-width:40rem){.container{max-width:40rem}}@media(min-width:48rem){.container{max-width:48rem}}@media(min-width:64rem){.container{max-width:64rem}}@media(min-width:80rem){.container{max-width:80rem}}@media(min-width:96rem){.container{max-width:96rem}}.m-0{margin:calc(var(--spacing)*0)}.-mx-3{margin-inline:calc(var(--spacing)*-3)}.mx-3{margin-inline:calc(var(--spacing)*3)}.mx-auto{margin-inline:auto}.my-1{margin-block:calc(var(--spacing)*1)}.mt-0\\.5{margin-top:calc(var(--spacing)*.5)}.mt-2{margin-top:calc(var(--spacing)*2)}.mt-3{margin-top:calc(var(--spacing)*3)}.mr-1\\.5{margin-right:calc(var(--spacing)*1.5)}.mr-3{margin-right:calc(var(--spacing)*3)}.mb-1{margin-bottom:calc(var(--spacing)*1)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-3{margin-bottom:calc(var(--spacing)*3)}.ml-1{margin-left:calc(var(--spacing)*1)}.ml-auto{margin-left:auto}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.table{display:table}.size-full{width:100%;height:100%}.h-1{height:calc(var(--spacing)*1)}.h-2{height:calc(var(--spacing)*2)}.h-2\\.5{height:calc(var(--spacing)*2.5)}.h-3{height:calc(var(--spacing)*3)}.h-3\\.5{height:calc(var(--spacing)*3.5)}.h-4{height:calc(var(--spacing)*4)}.h-5{height:calc(var(--spacing)*5)}.h-6{height:calc(var(--spacing)*6)}.h-7{height:calc(var(--spacing)*7)}.h-8{height:calc(var(--spacing)*8)}.h-9{height:calc(var(--spacing)*9)}.h-10{height:calc(var(--spacing)*10)}.h-11{height:calc(var(--spacing)*11)}.h-\\[200px\\]{height:200px}.h-auto{height:auto}.h-full{height:100%}.h-px{height:1px}.max-h-\\[100px\\]{max-height:100px}.max-h-\\[300px\\]{max-height:300px}.max-h-\\[330px\\]{max-height:330px}.max-h-\\[350px\\]{max-height:350px}.max-h-\\[450px\\]{max-height:450px}.min-h-0{min-height:calc(var(--spacing)*0)}.min-h-\\[44px\\]{min-height:44px}.min-h-\\[100px\\]{min-height:100px}.w-2{width:calc(var(--spacing)*2)}.w-2\\.5{width:calc(var(--spacing)*2.5)}.w-3{width:calc(var(--spacing)*3)}.w-3\\.5{width:calc(var(--spacing)*3.5)}.w-4{width:calc(var(--spacing)*4)}.w-5{width:calc(var(--spacing)*5)}.w-6{width:calc(var(--spacing)*6)}.w-8{width:calc(var(--spacing)*8)}.w-9{width:calc(var(--spacing)*9)}.w-10{width:calc(var(--spacing)*10)}.w-80{width:calc(var(--spacing)*80)}.w-\\[364px\\]{width:364px}.w-\\[450px\\]{width:450px}.w-fit{width:fit-content}.w-full{width:100%}.w-max{width:max-content}.max-w-80{max-width:calc(var(--spacing)*80)}.max-w-\\[calc\\(100\\%-1rem\\)\\]{max-width:calc(100% - 1rem)}.max-w-sm{max-width:var(--container-sm)}.min-w-4{min-width:calc(var(--spacing)*4)}.min-w-5{min-width:calc(var(--spacing)*5)}.min-w-full{min-width:100%}.flex-1{flex:1}.flex-shrink-0,.shrink-0{flex-shrink:0}.flex-grow{flex-grow:1}.origin-center{transform-origin:50%}.scale-100{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x)var(--tw-scale-y)}.rotate-90{rotate:90deg}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.animate-pulse{animation:var(--animate-pulse)}.animate-spin{animation:var(--animate-spin)}.cursor-default{cursor:default}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.resize{resize:both}.resize-none{resize:none}.appearance-none{appearance:none}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.flex-col{flex-direction:column}.items-center{align-items:center}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-1{gap:calc(var(--spacing)*1)}.gap-1\\.5{gap:calc(var(--spacing)*1.5)}.gap-2{gap:calc(var(--spacing)*2)}.gap-2\\.5{gap:calc(var(--spacing)*2.5)}.gap-3{gap:calc(var(--spacing)*3)}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*1)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*1)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-1\\.5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*1.5)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*1.5)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*2)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*3)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*3)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*4)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-y-reverse)))}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-\\[0\\.8rem\\]{border-radius:.8rem}.rounded-\\[inherit\\]{border-radius:inherit}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-sm{border-radius:var(--radius-sm)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-t{border-top-left-radius:.25rem;border-top-right-radius:.25rem}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-l-2{border-left-style:var(--tw-border-style);border-left-width:2px}.border-amber-500{border-color:var(--color-amber-500)}.border-blue-500{border-color:var(--color-blue-500)}.border-red-200{border-color:var(--color-red-200)}.border-red-500{border-color:var(--color-red-500)}.border-transparent{border-color:#0000}.border-zinc-200{border-color:var(--color-zinc-200)}.border-zinc-700{border-color:var(--color-zinc-700)}.border-zinc-700\\/50{border-color:#3f3f4680}@supports (color:color-mix(in lab,red,red)){.border-zinc-700\\/50{border-color:color-mix(in oklab,var(--color-zinc-700)50%,transparent)}}.border-zinc-950\\/10{border-color:#09090b1a}@supports (color:color-mix(in lab,red,red)){.border-zinc-950\\/10{border-color:color-mix(in oklab,var(--color-zinc-950)10%,transparent)}}.border-t-blue-600{border-top-color:var(--color-blue-600)}.border-t-transparent{border-top-color:#0000}.border-l-red-600{border-left-color:var(--color-red-600)}.border-l-transparent{border-left-color:#0000}.bg-amber-500\\/10{background-color:#f99c001a}@supports (color:color-mix(in lab,red,red)){.bg-amber-500\\/10{background-color:color-mix(in oklab,var(--color-amber-500)10%,transparent)}}.bg-amber-500\\/20{background-color:#f99c0033}@supports (color:color-mix(in lab,red,red)){.bg-amber-500\\/20{background-color:color-mix(in oklab,var(--color-amber-500)20%,transparent)}}.bg-blue-300\\/20{background-color:#90c5ff33}@supports (color:color-mix(in lab,red,red)){.bg-blue-300\\/20{background-color:color-mix(in oklab,var(--color-blue-300)20%,transparent)}}.bg-blue-500{background-color:var(--color-blue-500)}.bg-blue-500\\/8{background-color:#3080ff14}@supports (color:color-mix(in lab,red,red)){.bg-blue-500\\/8{background-color:color-mix(in oklab,var(--color-blue-500)8%,transparent)}}.bg-blue-500\\/10{background-color:#3080ff1a}@supports (color:color-mix(in lab,red,red)){.bg-blue-500\\/10{background-color:color-mix(in oklab,var(--color-blue-500)10%,transparent)}}.bg-blue-600{background-color:var(--color-blue-600)}.bg-emerald-500\\/20{background-color:#00bb7f33}@supports (color:color-mix(in lab,red,red)){.bg-emerald-500\\/20{background-color:color-mix(in oklab,var(--color-emerald-500)20%,transparent)}}.bg-green-500{background-color:var(--color-green-500)}.bg-red-50{background-color:var(--color-red-50)}.bg-red-500{background-color:var(--color-red-500)}.bg-red-500\\/8{background-color:#fb2c3614}@supports (color:color-mix(in lab,red,red)){.bg-red-500\\/8{background-color:color-mix(in oklab,var(--color-red-500)8%,transparent)}}.bg-red-500\\/10{background-color:#fb2c361a}@supports (color:color-mix(in lab,red,red)){.bg-red-500\\/10{background-color:color-mix(in oklab,var(--color-red-500)10%,transparent)}}.bg-red-500\\/20{background-color:#fb2c3633}@supports (color:color-mix(in lab,red,red)){.bg-red-500\\/20{background-color:color-mix(in oklab,var(--color-red-500)20%,transparent)}}.bg-transparent{background-color:#0000}.bg-white{background-color:var(--color-white)}.bg-white\\/92{background-color:#ffffffeb}@supports (color:color-mix(in lab,red,red)){.bg-white\\/92{background-color:color-mix(in oklab,var(--color-white)92%,transparent)}}.bg-zinc-50{background-color:var(--color-zinc-50)}.bg-zinc-50\\/40{background-color:#fafafa66}@supports (color:color-mix(in lab,red,red)){.bg-zinc-50\\/40{background-color:color-mix(in oklab,var(--color-zinc-50)40%,transparent)}}.bg-zinc-50\\/50{background-color:#fafafa80}@supports (color:color-mix(in lab,red,red)){.bg-zinc-50\\/50{background-color:color-mix(in oklab,var(--color-zinc-50)50%,transparent)}}.bg-zinc-100{background-color:var(--color-zinc-100)}.bg-zinc-100\\/50{background-color:#f4f4f580}@supports (color:color-mix(in lab,red,red)){.bg-zinc-100\\/50{background-color:color-mix(in oklab,var(--color-zinc-100)50%,transparent)}}.bg-zinc-200{background-color:var(--color-zinc-200)}.bg-zinc-700\\/50{background-color:#3f3f4680}@supports (color:color-mix(in lab,red,red)){.bg-zinc-700\\/50{background-color:color-mix(in oklab,var(--color-zinc-700)50%,transparent)}}.bg-zinc-900{background-color:var(--color-zinc-900)}.bg-zinc-900\\/95{background-color:#18181bf2}@supports (color:color-mix(in lab,red,red)){.bg-zinc-900\\/95{background-color:color-mix(in oklab,var(--color-zinc-900)95%,transparent)}}.object-contain{object-fit:contain}.p-0{padding:calc(var(--spacing)*0)}.p-1{padding:calc(var(--spacing)*1)}.p-2{padding:calc(var(--spacing)*2)}.p-2\\.5{padding:calc(var(--spacing)*2.5)}.p-3{padding:calc(var(--spacing)*3)}.p-4{padding:calc(var(--spacing)*4)}.p-6{padding:calc(var(--spacing)*6)}.p-\\[1px\\],.p-px{padding:1px}.px-1{padding-inline:calc(var(--spacing)*1)}.px-1\\.5{padding-inline:calc(var(--spacing)*1.5)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-2\\.5{padding-inline:calc(var(--spacing)*2.5)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-4{padding-inline:calc(var(--spacing)*4)}.px-8{padding-inline:calc(var(--spacing)*8)}.py-0{padding-block:calc(var(--spacing)*0)}.py-0\\.5{padding-block:calc(var(--spacing)*.5)}.py-1{padding-block:calc(var(--spacing)*1)}.py-1\\.5{padding-block:calc(var(--spacing)*1.5)}.py-2{padding-block:calc(var(--spacing)*2)}.py-3{padding-block:calc(var(--spacing)*3)}.py-4{padding-block:calc(var(--spacing)*4)}.py-6{padding-block:calc(var(--spacing)*6)}.py-8{padding-block:calc(var(--spacing)*8)}.pt-0{padding-top:calc(var(--spacing)*0)}.pt-2{padding-top:calc(var(--spacing)*2)}.pt-3{padding-top:calc(var(--spacing)*3)}.pr-1\\.25{padding-right:calc(var(--spacing)*1.25)}.pr-2{padding-right:calc(var(--spacing)*2)}.pb-0{padding-bottom:calc(var(--spacing)*0)}.pb-1{padding-bottom:calc(var(--spacing)*1)}.pb-3{padding-bottom:calc(var(--spacing)*3)}.pl-2{padding-left:calc(var(--spacing)*2)}.pl-\\[46px\\]{padding-left:46px}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.font-mono{font-family:var(--font-mono)}.font-sans{font-family:var(--font-sans)}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\\[0\\.625rem\\]{font-size:.625rem}.text-\\[9px\\]{font-size:9px}.text-\\[10px\\]{font-size:10px}.text-\\[11px\\]{font-size:11px}.text-\\[13px\\]{font-size:13px}.leading-relaxed{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.leading-snug{--tw-leading:var(--leading-snug);line-height:var(--leading-snug)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-wider{--tw-tracking:var(--tracking-wider);letter-spacing:var(--tracking-wider)}.break-words{overflow-wrap:break-word}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.whitespace-pre{white-space:pre}.text-amber-700{color:var(--color-amber-700)}.text-blue-400{color:var(--color-blue-400)}.text-blue-600{color:var(--color-blue-600)}.text-blue-700{color:var(--color-blue-700)}.text-emerald-700{color:var(--color-emerald-700)}.text-green-600{color:var(--color-green-600)}.text-red-500{color:var(--color-red-500)}.text-red-600{color:var(--color-red-600)}.text-red-700{color:var(--color-red-700)}.text-white{color:var(--color-white)}.text-zinc-50{color:var(--color-zinc-50)}.text-zinc-300{color:var(--color-zinc-300)}.text-zinc-400{color:var(--color-zinc-400)}.text-zinc-500{color:var(--color-zinc-500)}.text-zinc-600{color:var(--color-zinc-600)}.text-zinc-900{color:var(--color-zinc-900)}.text-zinc-950{color:var(--color-zinc-950)}.uppercase{text-transform:uppercase}.no-underline{text-decoration-line:none}.underline-offset-4{text-underline-offset:4px}.placeholder-zinc-500::placeholder{color:var(--color-zinc-500)}.opacity-50{opacity:.5}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\\[0_0_0_1px_rgba\\(0\\,0\\,0\\,0\\.08\\)\\,0px_2px_2px_rgba\\(0\\,0\\,0\\,0\\.04\\)\\,0px_8px_16px_-4px_rgba\\(0\\,0\\,0\\,0\\.04\\)\\]{--tw-shadow:0 0 0 1px var(--tw-shadow-color,#00000014),0px 2px 2px var(--tw-shadow-color,#0000000a),0px 8px 16px -4px var(--tw-shadow-color,#0000000a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\\[0_0_8px_rgb\\(34\\,197\\,94\\)\\]{--tw-shadow:0 0 8px var(--tw-shadow-color,#22c55e);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\\[0_0_8px_rgb\\(239\\,68\\,68\\)\\]{--tw-shadow:0 0 8px var(--tw-shadow-color,#ef4444);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\\[0_0_12px_rgba\\(239\\,68\\,68\\,0\\.4\\)\\]{--tw-shadow:0 0 12px var(--tw-shadow-color,#ef444466);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\\[0_0_12px_rgba\\(245\\,158\\,11\\,0\\.4\\)\\]{--tw-shadow:0 0 12px var(--tw-shadow-color,#f59e0b66);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\\[0px_1px_1px_0px_hsla\\(0\\,0\\%\\,0\\%\\,0\\.02\\)_inset\\,0px_1px_1px_0px_hsla\\(0\\,0\\%\\,0\\%\\,0\\.02\\)_inset\\,0px_0px_0px_1px_rgba\\(255\\,255\\,255\\,0\\.25\\)\\]{--tw-shadow:0px 1px 1px 0px var(--tw-shadow-color,#00000005)inset,0px 1px 1px 0px var(--tw-shadow-color,#00000005)inset,0px 0px 0px 1px var(--tw-shadow-color,#ffffff40);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\\[0px_1px_1px_0px_rgba\\(0\\,0\\,0\\,0\\.05\\)\\,0px_1px_1px_0px_rgba\\(255\\,252\\,240\\,0\\.5\\)_inset\\,0px_0px_0px_1px_hsla\\(0\\,0\\%\\,100\\%\\,0\\.1\\)_inset\\,0px_0px_1px_0px_rgba\\(28\\,27\\,26\\,0\\.5\\)\\]{--tw-shadow:0px 1px 1px 0px var(--tw-shadow-color,#0000000d),0px 1px 1px 0px var(--tw-shadow-color,#fffcf080)inset,0px 0px 0px 1px var(--tw-shadow-color,#ffffff1a)inset,0px 0px 1px 0px var(--tw-shadow-color,#1c1b1a80);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\\[inset_0_0_1px_1px_hsl\\(var\\(--border\\)\\/0\\.3\\)\\]{--tw-shadow:inset 0 0 1px 1px var(--tw-shadow-color,hsl(var(--border)/.3));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a),0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring,.ring-1{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-2{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-blue-500\\/30{--tw-ring-color:#3080ff4d}@supports (color:color-mix(in lab,red,red)){.ring-blue-500\\/30{--tw-ring-color:color-mix(in oklab,var(--color-blue-500)30%,transparent)}}.ring-zinc-200\\/50{--tw-ring-color:#e4e4e780}@supports (color:color-mix(in lab,red,red)){.ring-zinc-200\\/50{--tw-ring-color:color-mix(in oklab,var(--color-zinc-200)50%,transparent)}}.ring-offset-white{--tw-ring-offset-color:var(--color-white)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.blur-lg{--tw-blur:blur(var(--blur-lg));filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.blur-md{--tw-blur:blur(var(--blur-md));filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.blur-sm{--tw-blur:blur(var(--blur-sm));filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.backdrop-blur-xl{--tw-backdrop-blur:blur(var(--blur-xl));-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[colors\\]{transition-property:colors;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[scale\\]{transition-property:scale;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-100{--tw-duration:.1s;transition-duration:.1s}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-300{--tw-duration:.3s;transition-duration:.3s}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:inset-x-0:before{content:var(--tw-content);inset-inline:calc(var(--spacing)*0)}.before\\:inset-y-0:before{content:var(--tw-content);inset-block:calc(var(--spacing)*0)}.before\\:top-0:before{content:var(--tw-content);top:calc(var(--spacing)*0)}.before\\:left-0:before{content:var(--tw-content);left:calc(var(--spacing)*0)}.before\\:h-\\(--top-fade-height\\):before{content:var(--tw-content);height:var(--top-fade-height)}.before\\:w-\\(--left-fade-width\\):before{content:var(--tw-content);width:var(--left-fade-width)}.before\\:bg-gradient-to-b:before{content:var(--tw-content);--tw-gradient-position:to bottom in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.before\\:bg-gradient-to-r:before{content:var(--tw-content);--tw-gradient-position:to right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.before\\:to-transparent:before{content:var(--tw-content);--tw-gradient-to:transparent;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.before\\:opacity-0:before{content:var(--tw-content);opacity:0}.before\\:opacity-100:before{content:var(--tw-content);opacity:1}.before\\:transition-\\[height\\,opacity\\]:before{content:var(--tw-content);transition-property:height,opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.before\\:transition-\\[width\\,opacity\\]:before{content:var(--tw-content);transition-property:width,opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.before\\:duration-300:before{content:var(--tw-content);--tw-duration:.3s;transition-duration:.3s}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:inset-x-0:after{content:var(--tw-content);inset-inline:calc(var(--spacing)*0)}.after\\:inset-y-0:after{content:var(--tw-content);inset-block:calc(var(--spacing)*0)}.after\\:right-0:after{content:var(--tw-content);right:calc(var(--spacing)*0)}.after\\:bottom-0:after{content:var(--tw-content);bottom:calc(var(--spacing)*0)}.after\\:h-\\(--bottom-fade-height\\):after{content:var(--tw-content);height:var(--bottom-fade-height)}.after\\:w-\\(--right-fade-width\\):after{content:var(--tw-content);width:var(--right-fade-width)}.after\\:bg-gradient-to-l:after{content:var(--tw-content);--tw-gradient-position:to left in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.after\\:bg-gradient-to-t:after{content:var(--tw-content);--tw-gradient-position:to top in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.after\\:to-transparent:after{content:var(--tw-content);--tw-gradient-to:transparent;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.after\\:opacity-0:after{content:var(--tw-content);opacity:0}.after\\:opacity-100:after{content:var(--tw-content);opacity:1}.after\\:transition-\\[height\\,opacity\\]:after{content:var(--tw-content);transition-property:height,opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.after\\:transition-\\[width\\,opacity\\]:after{content:var(--tw-content);transition-property:width,opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.after\\:duration-300:after{content:var(--tw-content);--tw-duration:.3s;transition-duration:.3s}@media(hover:hover){.hover\\:bg-blue-500\\/15:hover{background-color:#3080ff26}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-blue-500\\/15:hover{background-color:color-mix(in oklab,var(--color-blue-500)15%,transparent)}}.hover\\:bg-blue-700:hover{background-color:var(--color-blue-700)}.hover\\:bg-red-500\\/80:hover{background-color:#fb2c36cc}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-red-500\\/80:hover{background-color:color-mix(in oklab,var(--color-red-500)80%,transparent)}}.hover\\:bg-red-500\\/90:hover{background-color:#fb2c36e6}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-red-500\\/90:hover{background-color:color-mix(in oklab,var(--color-red-500)90%,transparent)}}.hover\\:bg-zinc-50:hover{background-color:var(--color-zinc-50)}.hover\\:bg-zinc-100:hover{background-color:var(--color-zinc-100)}.hover\\:bg-zinc-100\\/50:hover{background-color:#f4f4f580}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-zinc-100\\/50:hover{background-color:color-mix(in oklab,var(--color-zinc-100)50%,transparent)}}.hover\\:bg-zinc-100\\/60:hover{background-color:#f4f4f599}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-zinc-100\\/60:hover{background-color:color-mix(in oklab,var(--color-zinc-100)60%,transparent)}}.hover\\:bg-zinc-100\\/80:hover{background-color:#f4f4f5cc}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-zinc-100\\/80:hover{background-color:color-mix(in oklab,var(--color-zinc-100)80%,transparent)}}.hover\\:bg-zinc-700:hover{background-color:var(--color-zinc-700)}.hover\\:bg-zinc-900\\/80:hover{background-color:#18181bcc}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-zinc-900\\/80:hover{background-color:color-mix(in oklab,var(--color-zinc-900)80%,transparent)}}.hover\\:bg-zinc-900\\/90:hover{background-color:#18181be6}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-zinc-900\\/90:hover{background-color:color-mix(in oklab,var(--color-zinc-900)90%,transparent)}}.hover\\:text-blue-600:hover{color:var(--color-blue-600)}.hover\\:text-red-700:hover{color:var(--color-red-700)}.hover\\:text-zinc-300:hover{color:var(--color-zinc-300)}.hover\\:text-zinc-800:hover{color:var(--color-zinc-800)}.hover\\:text-zinc-900:hover{color:var(--color-zinc-900)}.hover\\:underline:hover{text-decoration-line:underline}}.focus\\:ring-2:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\\:ring-zinc-950:focus{--tw-ring-color:var(--color-zinc-950)}.focus\\:ring-offset-2:focus{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color)}.focus\\:outline-none:focus{--tw-outline-style:none;outline-style:none}.focus-visible\\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus-visible\\:ring-zinc-950:focus-visible{--tw-ring-color:var(--color-zinc-950)}.focus-visible\\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color)}.focus-visible\\:outline-none:focus-visible{--tw-outline-style:none;outline-style:none}.active\\:scale-x-98:active{--tw-scale-x:98%;scale:var(--tw-scale-x)var(--tw-scale-y)}.active\\:scale-y-95:active{--tw-scale-y:95%;scale:var(--tw-scale-x)var(--tw-scale-y)}.active\\:scale-\\[0\\.98\\]:active{scale:.98}.active\\:bg-zinc-100\\/70:active{background-color:#f4f4f5b3}@supports (color:color-mix(in lab,red,red)){.active\\:bg-zinc-100\\/70:active{background-color:color-mix(in oklab,var(--color-zinc-100)70%,transparent)}}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:opacity-50:disabled{opacity:.5}@media(min-width:40rem){.sm\\:h-5{height:calc(var(--spacing)*5)}.sm\\:min-h-0{min-height:calc(var(--spacing)*0)}.sm\\:w-5{width:calc(var(--spacing)*5)}.sm\\:max-w-\\[calc\\(100\\%-2rem\\)\\]{max-width:calc(100% - 2rem)}.sm\\:max-w-lg{max-width:var(--container-lg)}.sm\\:rounded-lg{border-radius:var(--radius-lg)}.sm\\:rounded-xl{border-radius:var(--radius-xl)}.sm\\:p-1\\.5{padding:calc(var(--spacing)*1.5)}.sm\\:p-3{padding:calc(var(--spacing)*3)}.sm\\:px-0{padding-inline:calc(var(--spacing)*0)}.sm\\:px-2{padding-inline:calc(var(--spacing)*2)}.sm\\:px-4{padding-inline:calc(var(--spacing)*4)}.sm\\:py-4{padding-block:calc(var(--spacing)*4)}.sm\\:text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.sm\\:shadow-\\[inset_0_0_2px_1px_hsl\\(var\\(--border\\)\\/0\\.3\\)\\]{--tw-shadow:inset 0 0 2px 1px var(--tw-shadow-color,hsl(var(--border)/.3));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}}@media(min-width:48rem){.md\\:max-w-\\[calc\\(100\\%-4rem\\)\\]{max-width:calc(100% - 4rem)}.md\\:rounded-3xl{border-radius:var(--radius-3xl)}.md\\:rounded-\\[2rem\\]{border-radius:2rem}.md\\:p-2{padding:calc(var(--spacing)*2)}.md\\:p-4{padding:calc(var(--spacing)*4)}}@media(prefers-color-scheme:dark){.dark\\:border-red-800\\/50{border-color:#9f071280}@supports (color:color-mix(in lab,red,red)){.dark\\:border-red-800\\/50{border-color:color-mix(in oklab,var(--color-red-800)50%,transparent)}}.dark\\:border-zinc-50\\/10{border-color:#fafafa1a}@supports (color:color-mix(in lab,red,red)){.dark\\:border-zinc-50\\/10{border-color:color-mix(in oklab,var(--color-zinc-50)10%,transparent)}}.dark\\:border-zinc-600{border-color:var(--color-zinc-600)}.dark\\:border-zinc-700{border-color:var(--color-zinc-700)}.dark\\:border-zinc-800{border-color:var(--color-zinc-800)}.dark\\:border-t-blue-400{border-top-color:var(--color-blue-400)}.dark\\:border-l-red-400{border-left-color:var(--color-red-400)}.dark\\:bg-amber-500\\/25{background-color:#f99c0040}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-amber-500\\/25{background-color:color-mix(in oklab,var(--color-amber-500)25%,transparent)}}.dark\\:bg-blue-500\\/20{background-color:#3080ff33}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-blue-500\\/20{background-color:color-mix(in oklab,var(--color-blue-500)20%,transparent)}}.dark\\:bg-emerald-500\\/25{background-color:#00bb7f40}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-emerald-500\\/25{background-color:color-mix(in oklab,var(--color-emerald-500)25%,transparent)}}.dark\\:bg-red-500\\/25{background-color:#fb2c3640}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-red-500\\/25{background-color:color-mix(in oklab,var(--color-red-500)25%,transparent)}}.dark\\:bg-red-900{background-color:var(--color-red-900)}.dark\\:bg-red-900\\/20{background-color:#82181a33}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-red-900\\/20{background-color:color-mix(in oklab,var(--color-red-900)20%,transparent)}}.dark\\:bg-zinc-50{background-color:var(--color-zinc-50)}.dark\\:bg-zinc-100{background-color:var(--color-zinc-100)}.dark\\:bg-zinc-700{background-color:var(--color-zinc-700)}.dark\\:bg-zinc-800{background-color:var(--color-zinc-800)}.dark\\:bg-zinc-800\\/50{background-color:#27272a80}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-zinc-800\\/50{background-color:color-mix(in oklab,var(--color-zinc-800)50%,transparent)}}.dark\\:bg-zinc-800\\/60{background-color:#27272a99}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-zinc-800\\/60{background-color:color-mix(in oklab,var(--color-zinc-800)60%,transparent)}}.dark\\:bg-zinc-900{background-color:var(--color-zinc-900)}.dark\\:bg-zinc-900\\/40{background-color:#18181b66}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-zinc-900\\/40{background-color:color-mix(in oklab,var(--color-zinc-900)40%,transparent)}}.dark\\:bg-zinc-900\\/50{background-color:#18181b80}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-zinc-900\\/50{background-color:color-mix(in oklab,var(--color-zinc-900)50%,transparent)}}.dark\\:bg-zinc-900\\/92{background-color:#18181beb}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-zinc-900\\/92{background-color:color-mix(in oklab,var(--color-zinc-900)92%,transparent)}}.dark\\:bg-zinc-950{background-color:var(--color-zinc-950)}.dark\\:bg-zinc-950\\/95{background-color:#09090bf2}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-zinc-950\\/95{background-color:color-mix(in oklab,var(--color-zinc-950)95%,transparent)}}.dark\\:text-amber-300{color:var(--color-amber-300)}.dark\\:text-blue-400{color:var(--color-blue-400)}.dark\\:text-emerald-300{color:var(--color-emerald-300)}.dark\\:text-green-400{color:var(--color-green-400)}.dark\\:text-red-300{color:var(--color-red-300)}.dark\\:text-red-400{color:var(--color-red-400)}.dark\\:text-zinc-50{color:var(--color-zinc-50)}.dark\\:text-zinc-100{color:var(--color-zinc-100)}.dark\\:text-zinc-400{color:var(--color-zinc-400)}.dark\\:text-zinc-500{color:var(--color-zinc-500)}.dark\\:text-zinc-600{color:var(--color-zinc-600)}.dark\\:text-zinc-700{color:var(--color-zinc-700)}.dark\\:text-zinc-900{color:var(--color-zinc-900)}.dark\\:shadow-\\[0_0_0_1px_rgba\\(255\\,252\\,240\\,0\\.08\\)\\,0px_2px_2px_rgba\\(0\\,0\\,0\\,0\\.2\\)\\,0px_8px_16px_-4px_rgba\\(0\\,0\\,0\\,0\\.3\\)\\]{--tw-shadow:0 0 0 1px var(--tw-shadow-color,#fffcf014),0px 2px 2px var(--tw-shadow-color,#0003),0px 8px 16px -4px var(--tw-shadow-color,#0000004d);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.dark\\:shadow-\\[0px_1px_1px_0px_hsla\\(0\\,0\\%\\,100\\%\\,0\\.02\\)_inset\\,0px_1px_1px_0px_rgba\\(255\\,255\\,255\\,0\\.05\\)_inset\\,0px_0px_0px_1px_hsla\\(0\\,0\\%\\,100\\%\\,0\\.05\\)_inset\\,0px_0px_1px_0px_rgba\\(0\\,0\\,0\\,0\\.25\\)\\]{--tw-shadow:0px 1px 1px 0px var(--tw-shadow-color,#ffffff05)inset,0px 1px 1px 0px var(--tw-shadow-color,#ffffff0d)inset,0px 0px 0px 1px var(--tw-shadow-color,#ffffff0d)inset,0px 0px 1px 0px var(--tw-shadow-color,#00000040);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.dark\\:shadow-\\[0px_1px_1px_0px_rgba\\(0\\,0\\,0\\,0\\.2\\)\\,0px_1px_1px_0px_rgba\\(255\\,255\\,255\\,0\\.05\\)_inset\\,0px_0px_0px_1px_hsla\\(0\\,0\\%\\,100\\%\\,0\\.05\\)_inset\\,0px_0px_1px_0px_rgba\\(0\\,0\\,0\\,0\\.8\\)\\]{--tw-shadow:0px 1px 1px 0px var(--tw-shadow-color,#0003),0px 1px 1px 0px var(--tw-shadow-color,#ffffff0d)inset,0px 0px 0px 1px var(--tw-shadow-color,#ffffff0d)inset,0px 0px 1px 0px var(--tw-shadow-color,#000c);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.dark\\:shadow-\\[inset_0_0_1px_1px_hsl\\(var\\(--border\\)\\/0\\.5\\)\\]{--tw-shadow:inset 0 0 1px 1px var(--tw-shadow-color,hsl(var(--border)/.5));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.dark\\:ring-zinc-800\\/50{--tw-ring-color:#27272a80}@supports (color:color-mix(in lab,red,red)){.dark\\:ring-zinc-800\\/50{--tw-ring-color:color-mix(in oklab,var(--color-zinc-800)50%,transparent)}}.dark\\:ring-offset-zinc-950{--tw-ring-offset-color:var(--color-zinc-950)}@media(hover:hover){.dark\\:dark\\:hover\\:bg-zinc-800\\/50:hover{background-color:#27272a80}@supports (color:color-mix(in lab,red,red)){.dark\\:dark\\:hover\\:bg-zinc-800\\/50:hover{background-color:color-mix(in oklab,var(--color-zinc-800)50%,transparent)}}}@media(hover:hover){.dark\\:hover\\:bg-red-900\\/80:hover{background-color:#82181acc}@supports (color:color-mix(in lab,red,red)){.dark\\:hover\\:bg-red-900\\/80:hover{background-color:color-mix(in oklab,var(--color-red-900)80%,transparent)}}.dark\\:hover\\:bg-red-900\\/90:hover{background-color:#82181ae6}@supports (color:color-mix(in lab,red,red)){.dark\\:hover\\:bg-red-900\\/90:hover{background-color:color-mix(in oklab,var(--color-red-900)90%,transparent)}}.dark\\:hover\\:bg-zinc-50\\/80:hover{background-color:#fafafacc}@supports (color:color-mix(in lab,red,red)){.dark\\:hover\\:bg-zinc-50\\/80:hover{background-color:color-mix(in oklab,var(--color-zinc-50)80%,transparent)}}.dark\\:hover\\:bg-zinc-50\\/90:hover{background-color:#fafafae6}@supports (color:color-mix(in lab,red,red)){.dark\\:hover\\:bg-zinc-50\\/90:hover{background-color:color-mix(in oklab,var(--color-zinc-50)90%,transparent)}}.dark\\:hover\\:bg-zinc-100\\/50:hover{background-color:#f4f4f580}@supports (color:color-mix(in lab,red,red)){.dark\\:hover\\:bg-zinc-100\\/50:hover{background-color:color-mix(in oklab,var(--color-zinc-100)50%,transparent)}}.dark\\:hover\\:bg-zinc-700:hover{background-color:var(--color-zinc-700)}.dark\\:hover\\:bg-zinc-800:hover{background-color:var(--color-zinc-800)}.dark\\:hover\\:bg-zinc-800\\/50:hover{background-color:#27272a80}@supports (color:color-mix(in lab,red,red)){.dark\\:hover\\:bg-zinc-800\\/50:hover{background-color:color-mix(in oklab,var(--color-zinc-800)50%,transparent)}}.dark\\:hover\\:bg-zinc-800\\/60:hover{background-color:#27272a99}@supports (color:color-mix(in lab,red,red)){.dark\\:hover\\:bg-zinc-800\\/60:hover{background-color:color-mix(in oklab,var(--color-zinc-800)60%,transparent)}}.dark\\:hover\\:bg-zinc-800\\/80:hover{background-color:#27272acc}@supports (color:color-mix(in lab,red,red)){.dark\\:hover\\:bg-zinc-800\\/80:hover{background-color:color-mix(in oklab,var(--color-zinc-800)80%,transparent)}}.dark\\:hover\\:bg-zinc-900\\/50:hover{background-color:#18181b80}@supports (color:color-mix(in lab,red,red)){.dark\\:hover\\:bg-zinc-900\\/50:hover{background-color:color-mix(in oklab,var(--color-zinc-900)50%,transparent)}}.dark\\:hover\\:text-blue-400:hover{color:var(--color-blue-400)}.dark\\:hover\\:text-zinc-50:hover{color:var(--color-zinc-50)}.dark\\:hover\\:text-zinc-100:hover{color:var(--color-zinc-100)}}.dark\\:focus\\:ring-zinc-300:focus,.dark\\:focus-visible\\:ring-zinc-300:focus-visible{--tw-ring-color:var(--color-zinc-300)}.dark\\:active\\:bg-zinc-800\\/70:active{background-color:#27272ab3}@supports (color:color-mix(in lab,red,red)){.dark\\:active\\:bg-zinc-800\\/70:active{background-color:color-mix(in oklab,var(--color-zinc-800)70%,transparent)}}@media(min-width:40rem){.dark\\:sm\\:shadow-\\[inset_0_0_2px_1px_hsl\\(var\\(--border\\)\\/0\\.5\\)\\]{--tw-shadow:inset 0 0 2px 1px var(--tw-shadow-color,hsl(var(--border)/.5));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}}}.\\[\\&_svg\\]\\:pointer-events-none svg{pointer-events:none}.\\[\\&_svg\\]\\:size-4 svg{width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.\\[\\&_svg\\]\\:shrink-0 svg{flex-shrink:0}.\\[\\&_svg\\:not\\(\\[class\\*\\=size-\\]\\)\\]\\:size-3 svg:not([class*=size-]){width:calc(var(--spacing)*3);height:calc(var(--spacing)*3)}[data-slot=tooltip-content] .\\[\\[data-slot\\=tooltip-content\\]_\\&\\]\\:bg-white\\/20{background-color:#fff3}@supports (color:color-mix(in lab,red,red)){[data-slot=tooltip-content] .\\[\\[data-slot\\=tooltip-content\\]_\\&\\]\\:bg-white\\/20{background-color:color-mix(in oklab,var(--color-white)20%,transparent)}}[data-slot=tooltip-content] .\\[\\[data-slot\\=tooltip-content\\]_\\&\\]\\:text-white{color:var(--color-white)}@media(prefers-color-scheme:dark){[data-slot=tooltip-content] .dark\\:\\[\\[data-slot\\=tooltip-content\\]_\\&\\]\\:bg-white\\/10{background-color:#ffffff1a}@supports (color:color-mix(in lab,red,red)){[data-slot=tooltip-content] .dark\\:\\[\\[data-slot\\=tooltip-content\\]_\\&\\]\\:bg-white\\/10{background-color:color-mix(in oklab,var(--color-white)10%,transparent)}}[data-slot=tooltip-content] .dark\\:\\[\\[data-slot\\=tooltip-content\\]_\\&\\]\\:bg-zinc-950\\/20{background-color:#09090b33}@supports (color:color-mix(in lab,red,red)){[data-slot=tooltip-content] .dark\\:\\[\\[data-slot\\=tooltip-content\\]_\\&\\]\\:bg-zinc-950\\/20{background-color:color-mix(in oklab,var(--color-zinc-950)20%,transparent)}}[data-slot=tooltip-content] .dark\\:dark\\:\\[\\[data-slot\\=tooltip-content\\]_\\&\\]\\:bg-zinc-950\\/10{background-color:#09090b1a}@supports (color:color-mix(in lab,red,red)){[data-slot=tooltip-content] .dark\\:dark\\:\\[\\[data-slot\\=tooltip-content\\]_\\&\\]\\:bg-zinc-950\\/10{background-color:color-mix(in oklab,var(--color-zinc-950)10%,transparent)}}[data-slot=tooltip-content] .dark\\:\\[\\[data-slot\\=tooltip-content\\]_\\&\\]\\:text-zinc-950{color:var(--color-zinc-950)}}}:root{--uilint-background:oklch(98.5% 0 0);--uilint-background-elevated:oklch(97% 0 0);--uilint-foreground:oklch(14.5% 0 0);--uilint-surface:oklch(98.5% 0 0);--uilint-surface-elevated:oklch(97% 0 0);--uilint-text-primary:oklch(14.5% 0 0);--uilint-text-secondary:oklch(37.1% 0 0);--uilint-text-muted:oklch(55.6% 0 0);--uilint-text-disabled:oklch(70.8% 0 0);--uilint-hover:oklch(14.5% 0 0/.08);--uilint-active:oklch(14.5% 0 0/.12);--uilint-border:oklch(92.2% 0 0);--uilint-border-focus:oklch(58.8% .158 241.966);--uilint-accent:oklch(58.8% .158 241.966);--uilint-accent-foreground:oklch(98.5% 0 0);--uilint-success:oklch(72.3% .191 142.5);--uilint-success-bg:oklch(72.3% .191 142.5/.15);--uilint-warning:oklch(75% .183 55.934);--uilint-warning-bg:oklch(75% .183 55.934/.15);--uilint-error:oklch(63.7% .237 25.331);--uilint-error-bg:oklch(63.7% .237 25.331/.15);--uilint-shadow:0 4px 20px oklch(0% 0 0/.15);--uilint-backdrop:oklch(98.5% 0 0/.92);--uilint-scrollbar-track:oklch(92.2% 0 0);--uilint-scrollbar-thumb:oklch(70.8% 0 0);--uilint-scrollbar-thumb-hover:oklch(55.6% 0 0);--uilint-radius:12px;color-scheme:light}.dev-tool-root{color-scheme:light}.dark,.dark .dev-tool-root,.dev-tool-root.dark,.dev-tool-root[data-theme=dark]{--uilint-background:oklch(14.5% 0 0);--uilint-background-elevated:oklch(20.5% 0 0);--uilint-foreground:oklch(98.5% 0 0);--uilint-surface:oklch(14.5% 0 0);--uilint-surface-elevated:oklch(20.5% 0 0);--uilint-text-primary:oklch(98.5% 0 0);--uilint-text-secondary:oklch(86.9% 0 0);--uilint-text-muted:oklch(70.8% 0 0);--uilint-text-disabled:oklch(43.9% 0 0);--uilint-hover:oklch(100% 0 0/.08);--uilint-active:oklch(100% 0 0/.12);--uilint-border:oklch(100% 0 0/.1);--uilint-border-focus:oklch(70% .15 241.966);--uilint-accent:oklch(70% .15 241.966);--uilint-accent-foreground:oklch(14.5% 0 0);--uilint-success:oklch(72.3% .191 142.5);--uilint-success-bg:oklch(72.3% .191 142.5/.2);--uilint-warning:oklch(75% .183 55.934);--uilint-warning-bg:oklch(75% .183 55.934/.2);--uilint-error:oklch(63.7% .237 25.331);--uilint-error-bg:oklch(63.7% .237 25.331/.2);--uilint-shadow:0 4px 20px oklch(0% 0 0/.4);--uilint-backdrop:oklch(10% 0 0/.92);--uilint-scrollbar-track:oklch(20.5% 0 0);--uilint-scrollbar-thumb:oklch(37.1% 0 0);--uilint-scrollbar-thumb-hover:oklch(43.9% 0 0);color-scheme:dark}@media(prefers-color-scheme:dark){:root:not(.light) .dev-tool-root:not(.light):not([data-theme=light]),.dev-tool-root:not(.light):not([data-theme=light]){--uilint-background:oklch(14.5% 0 0);--uilint-background-elevated:oklch(20.5% 0 0);--uilint-foreground:oklch(98.5% 0 0);--uilint-surface:oklch(14.5% 0 0);--uilint-surface-elevated:oklch(20.5% 0 0);--uilint-text-primary:oklch(98.5% 0 0);--uilint-text-secondary:oklch(86.9% 0 0);--uilint-text-muted:oklch(70.8% 0 0);--uilint-text-disabled:oklch(43.9% 0 0);--uilint-hover:oklch(100% 0 0/.08);--uilint-active:oklch(100% 0 0/.12);--uilint-border:oklch(100% 0 0/.1);--uilint-border-focus:oklch(70% .15 241.966);--uilint-accent:oklch(70% .15 241.966);--uilint-accent-foreground:oklch(14.5% 0 0);--uilint-success:oklch(72.3% .191 142.5);--uilint-success-bg:oklch(72.3% .191 142.5/.2);--uilint-warning:oklch(75% .183 55.934);--uilint-warning-bg:oklch(75% .183 55.934/.2);--uilint-error:oklch(63.7% .237 25.331);--uilint-error-bg:oklch(63.7% .237 25.331/.2);--uilint-shadow:0 4px 20px oklch(0% 0 0/.4);--uilint-backdrop:oklch(10% 0 0/.92);--uilint-scrollbar-track:oklch(20.5% 0 0);--uilint-scrollbar-thumb:oklch(37.1% 0 0);--uilint-scrollbar-thumb-hover:oklch(43.9% 0 0);color-scheme:dark}}.light,.light .dev-tool-root,.dev-tool-root.light,.dev-tool-root[data-theme=light]{--uilint-background:oklch(98.5% 0 0);--uilint-background-elevated:oklch(97% 0 0);--uilint-foreground:oklch(14.5% 0 0);--uilint-surface:oklch(98.5% 0 0);--uilint-surface-elevated:oklch(97% 0 0);--uilint-text-primary:oklch(14.5% 0 0);--uilint-text-secondary:oklch(37.1% 0 0);--uilint-text-muted:oklch(55.6% 0 0);--uilint-text-disabled:oklch(70.8% 0 0);--uilint-hover:oklch(14.5% 0 0/.08);--uilint-active:oklch(14.5% 0 0/.12);--uilint-border:oklch(92.2% 0 0);--uilint-border-focus:oklch(58.8% .158 241.966);--uilint-accent:oklch(58.8% .158 241.966);--uilint-accent-foreground:oklch(98.5% 0 0);--uilint-success:oklch(72.3% .191 142.5);--uilint-success-bg:oklch(72.3% .191 142.5/.15);--uilint-warning:oklch(75% .183 55.934);--uilint-warning-bg:oklch(75% .183 55.934/.15);--uilint-error:oklch(63.7% .237 25.331);--uilint-error-bg:oklch(63.7% .237 25.331/.15);--uilint-shadow:0 4px 20px oklch(0% 0 0/.15);--uilint-backdrop:oklch(98.5% 0 0/.92);--uilint-scrollbar-track:oklch(92.2% 0 0);--uilint-scrollbar-thumb:oklch(70.8% 0 0);--uilint-scrollbar-thumb-hover:oklch(55.6% 0 0);color-scheme:light}@keyframes uilint-fade-in{0%{opacity:0;transform:translateY(8px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}@keyframes uilint-fade-out{0%{opacity:1;transform:translateY(0)scale(1)}to{opacity:0;transform:translateY(8px)scale(.98)}}@keyframes uilint-pulse{0%,to{opacity:1}50%{opacity:.6}}@keyframes uilint-slide-up{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@keyframes uilint-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes uilint-popover-appear{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}[data-ui-lint] *{scrollbar-width:thin;scrollbar-color:var(--uilint-scrollbar-thumb)var(--uilint-scrollbar-track)}[data-ui-lint] ::-webkit-scrollbar{width:8px;height:8px}[data-ui-lint] ::-webkit-scrollbar-track{background:var(--uilint-scrollbar-track);border-radius:4px}[data-ui-lint] ::-webkit-scrollbar-thumb{background:var(--uilint-scrollbar-thumb);border-radius:4px}[data-ui-lint] ::-webkit-scrollbar-thumb:hover{background:var(--uilint-scrollbar-thumb-hover)}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}',nE=j.createContext(null);function oM(i,o){const u=j.useRef(null),f=j.useRef(null);j.useEffect(()=>{if(!i||!th())return;const p=()=>{const S=window.location.pathname;if(S===u.current)return;const x=u.current;u.current=S,f.current&&clearTimeout(f.current),f.current=setTimeout(()=>{o(S,x)},500)};p(),window.addEventListener("popstate",p);const g=new MutationObserver(()=>{p()});g.observe(document.head,{subtree:!0,childList:!0});const y=setInterval(p,1e3);return()=>{window.removeEventListener("popstate",p),g.disconnect(),clearInterval(y),f.current&&clearTimeout(f.current)}},[i,o])}function af(){const i=j.useContext(nE);if(!i)throw new Error("useUILintContext must be used within a UILintProvider");return i}function th(){return typeof window<"u"}function rM({children:i,enabled:o=!0}){const[u,f]=j.useState(!1),p=j.useRef(null),g=j.useRef(!1),y=Be(ee=>ee.settings),S=Be(ee=>ee.updateSettings),x=Be(ee=>ee.altKeyHeld),E=Be(ee=>ee.setAltKeyHeld),C=Be(ee=>ee.locatorTarget),T=Be(ee=>ee.setLocatorTarget),z=Be(ee=>ee.inspectedElement),N=Be(ee=>ee.setInspectedElement),H=Be(ee=>ee.liveScanEnabled),Q=Be(ee=>ee.autoScanState),q=Be(ee=>ee.elementIssuesCache),W=Be(ee=>ee.enableLiveScan),U=Be(ee=>ee.disableLiveScan),$=Be(ee=>ee.connectWebSocket),le=Be(ee=>ee.disconnectWebSocket);Be(ee=>ee.visionCurrentRoute),iM(o&&u);const pe=j.useCallback((ee,Re)=>{console.log("[UILint] Navigation detected:",{route:ee,previousRoute:Re})},[]);oM(o&&u&&H,pe);const de=j.useCallback(ee=>{if(ee.closest("[data-ui-lint]"))return null;const Re=K2(ee);return!Re||y.hideNodeModules&&J2(Re.fileName)?null:{element:ee,source:Re,rect:ee.getBoundingClientRect()}},[y.hideNodeModules]),he=j.useCallback(ee=>{if(!x)return;const Re=document.elementFromPoint(ee.clientX,ee.clientY);if(!Re){T(null);return}let Ke=Re;for(;Ke;){const lt=de(Ke);if(lt){T(lt);return}Ke=Ke.parentElement}T(null)},[x,de,T]),re=j.useCallback(ee=>{!x||!C||ee.target?.closest?.("[data-ui-lint]")||(ee.preventDefault(),ee.stopPropagation(),N({element:C.element,source:C.source,rect:C.rect}),T(null))},[x,C,N,T]);j.useEffect(()=>{if(!th()||!o)return;const ee=lt=>{lt.key==="Alt"&&E(!0)},Re=lt=>{lt.key==="Alt"&&(E(!1),T(null))},Ke=()=>{E(!1),T(null)};return window.addEventListener("keydown",ee),window.addEventListener("keyup",Re),window.addEventListener("blur",Ke),()=>{window.removeEventListener("keydown",ee),window.removeEventListener("keyup",Re),window.removeEventListener("blur",Ke)}},[o,E,T]),j.useEffect(()=>{if(!(!th()||!o)&&x)return window.addEventListener("mousemove",he),window.addEventListener("click",re,!0),()=>{window.removeEventListener("mousemove",he),window.removeEventListener("click",re,!0)}},[o,x,he,re]),j.useEffect(()=>{if(!th()||!o)return;const ee=Re=>{Re.key==="Escape"&&z&&N(null)};return window.addEventListener("keydown",ee),()=>window.removeEventListener("keydown",ee)},[o,z,N]),j.useEffect(()=>{f(!0)},[]),j.useEffect(()=>{if(!th()||!o)return;eE(tE);const ee=document.querySelector(`.${TS}`);if(ee){p.current=ee,g.current=!1;return}const Re=document.createElement("div");return Re.className=TS,Re.setAttribute("data-ui-lint-root","true"),document.body.appendChild(Re),p.current=Re,g.current=!0,()=>{g.current&&p.current?.remove(),p.current=null,g.current=!1}},[o]),j.useEffect(()=>{if(!(!th()||!o)&&u)return $(),()=>{le()}},[o,u,$,le]);const we=j.useCallback(()=>{W(y.hideNodeModules)},[W,y.hideNodeModules]),ye=j.useMemo(()=>({settings:y,updateSettings:S,altKeyHeld:x,locatorTarget:C,inspectedElement:z,setInspectedElement:N,liveScanEnabled:H,autoScanState:Q,elementIssuesCache:q,enableLiveScan:we,disableLiveScan:U}),[y,S,x,C,z,N,H,Q,q,we,U]),je=o&&u;return M.jsxs(nE.Provider,{value:ye,children:[i,je&&M.jsx(sM,{})]})}function sM(){const{altKeyHeld:i,inspectedElement:o,liveScanEnabled:u}=af(),f=Be(H=>H.visionIssuesCache),[p,g]=j.useState(null);if(j.useEffect(()=>{Promise.all([Promise.resolve().then(()=>j6),Promise.resolve().then(()=>a8),Promise.resolve().then(()=>u8),Promise.resolve().then(()=>M8),Promise.resolve().then(()=>k8)]).then(([H,Q,q,W,U])=>{g({Toolbar:H.UILintToolbar,Panel:Q.InspectionPanel,LocatorOverlay:q.LocatorOverlay,VisionIssueHighlight:q.VisionIssueHighlight,InspectedHighlight:q.InspectedElementHighlight,ElementBadges:W.ElementBadges,VisionIssueBadges:U.VisionIssueBadges})})},[]),!p)return null;const{Toolbar:y,Panel:S,LocatorOverlay:x,VisionIssueHighlight:E,InspectedHighlight:C,ElementBadges:T,VisionIssueBadges:z}=p,N=f.size>0;return M.jsxs(M.Fragment,{children:[M.jsx(y,{}),(i||o)&&M.jsx(x,{}),M.jsx(E,{}),u&&M.jsx(T,{}),N&&M.jsx(z,{}),o&&M.jsxs(M.Fragment,{children:[M.jsx(C,{}),M.jsx(S,{})]})]})}function uM({enabled:i=!0}){return M.jsx(rM,{enabled:i,children:M.jsx(Ta.Fragment,{})})}function aE(i,o){i.setAttribute("data-position",o)}function cM(){if(typeof document>"u")return"light";const i=document.documentElement,o=document.body;if(i.classList.contains("dark")||o.classList.contains("dark"))return"dark";if(i.classList.contains("light")||o.classList.contains("light"))return"light";const u=i.getAttribute("data-theme"),f=o.getAttribute("data-theme");if(u==="dark"||f==="dark")return"dark";if(u==="light"||f==="light")return"light";const p=i.getAttribute("data-mode"),g=o.getAttribute("data-mode");return p==="dark"||g==="dark"?"dark":p==="light"||g==="light"?"light":window.matchMedia?.("(prefers-color-scheme: dark)").matches?"dark":"light"}function lE(i,o){i.classList.remove("light","dark"),i.removeAttribute("data-theme"),o!=="system"&&(i.classList.add(o),i.setAttribute("data-theme",o))}function fM(){if(typeof window>"u"||customElements.get("uilint-devtools"))return;class i extends HTMLElement{static get observedAttributes(){return["enabled","position","theme"]}rootEl=null;reactRoot=null;themeObserver=null;mediaQueryListener=null;connectedCallback(){eE(tE);const u=document.createElement("div");u.className="dev-tool-root",u.setAttribute("data-ui-lint-root","true"),document.body.appendChild(u),this.rootEl=u,aE(u,this.getPosition()),this.syncTheme(),this.setupThemeObserver(),this.reactRoot=Y5.createRoot(u),this.render()}disconnectedCallback(){this.reactRoot?.unmount(),this.reactRoot=null,this.rootEl?.remove(),this.rootEl=null,this.themeObserver?.disconnect(),this.themeObserver=null,this.mediaQueryListener&&(window.matchMedia("(prefers-color-scheme: dark)").removeEventListener("change",this.mediaQueryListener),this.mediaQueryListener=null)}attributeChangedCallback(){this.rootEl&&(aE(this.rootEl,this.getPosition()),this.syncTheme(),this.render())}getEnabled(){const u=this.getAttribute("enabled");return u==null?!0:u!=="false"}getPosition(){const u=this.getAttribute("position");switch(u){case"bottom-right":case"top-left":case"top-right":case"bottom-left":return u;default:return"bottom-left"}}getTheme(){const u=this.getAttribute("theme");switch(u){case"light":case"dark":return u;default:return"system"}}syncTheme(){if(!this.rootEl)return;const u=this.getTheme();if(u==="system"){const f=cM();lE(this.rootEl,f)}else lE(this.rootEl,u)}setupThemeObserver(){this.themeObserver=new MutationObserver(()=>{this.getTheme()==="system"&&this.syncTheme()});const u={attributes:!0,attributeFilter:["class","data-theme","data-mode"]};this.themeObserver.observe(document.documentElement,u),this.themeObserver.observe(document.body,u);const f=window.matchMedia("(prefers-color-scheme: dark)");this.mediaQueryListener=()=>{this.getTheme()==="system"&&this.syncTheme()},f.addEventListener("change",this.mediaQueryListener)}render(){this.reactRoot&&this.reactRoot.render(M.jsx(uM,{enabled:this.getEnabled()}))}}customElements.define("uilint-devtools",i)}fM();const dM=new Set(["SCRIPT","STYLE","SVG","PATH","CIRCLE","RECT","LINE","POLYGON","POLYLINE","ELLIPSE","NOSCRIPT","TEMPLATE","SLOT"]),hM=3,iE=100;function pM(i){const o=i.tagName.toUpperCase(),u=i.getAttribute("role");if(u)return u;switch(o){case"BUTTON":return"button";case"A":return"link";case"H1":case"H2":case"H3":case"H4":case"H5":case"H6":return"heading";case"INPUT":{const f=i.type;return f==="submit"||f==="button"?"button":f==="checkbox"?"checkbox":f==="radio"?"radio":"textbox"}case"TEXTAREA":return"textbox";case"SELECT":return"combobox";case"IMG":return"img";case"NAV":return"navigation";case"MAIN":return"main";case"HEADER":return"banner";case"FOOTER":return"contentinfo";case"ASIDE":return"complementary";case"ARTICLE":return"article";case"SECTION":return"region";case"FORM":return"form";case"TABLE":return"table";case"UL":case"OL":return"list";case"LI":return"listitem";default:return}}function mM(i){const o=i.innerText?.trim();if(o)return o.length>iE?o.slice(0,iE)+"…":o;const u=i.getAttribute("aria-label");if(u)return u;const f=i.getAttribute("title");if(f)return f;const p=i.getAttribute("placeholder");if(p)return p;const g=i.getAttribute("alt");return g||""}function gM(i){const o=i,u=window.getComputedStyle(o);if(u.display==="none"||u.visibility==="hidden"||u.opacity==="0")return!1;const f=i.getBoundingClientRect();return!(f.width===0&&f.height===0||f.bottom<-100||f.top>window.innerHeight+100||f.right<-100||f.left>window.innerWidth+100)}function yM(i,o){const u=i.left+i.width,f=i.top+i.height,p=o.x+o.width,g=o.y+o.height;return!(i.left>p||u<o.x||i.top>g||f<o.y)}function vM(i=document.body,o){const u=[],f=new Map,p=new Map,g=i.querySelectorAll("[data-loc]");for(const y of g){if(y.closest("[data-ui-lint]")||dM.has(y.tagName)||!gM(y))continue;const S=y.getBoundingClientRect();if(o&&!yM(S,o))continue;const x=y.getAttribute("data-loc");if(!x)continue;const E=f.get(x)||0;f.set(x,E+1);let C=p.get(x);if(C||(C=[],p.set(x,C)),C.length>=hM)continue;const T=mM(y),N={id:y.getAttribute("data-ui-lint-id")||`loc:${x}#${E}`,text:T,dataLoc:x,rect:{x:S.x,y:S.y,width:S.width,height:S.height},tagName:y.tagName.toLowerCase(),role:pM(y)};C.push(N)}for(const[y,S]of p){const x=f.get(y)||S.length;S.forEach((E,C)=>{C===0&&x>S.length&&(E.instanceCount=x),u.push(E)})}return u}async function bM(){const i=await Promise.resolve().then(()=>gz).catch(()=>null);if(!i)throw new Error("Screenshot capture unavailable: `html-to-image` failed to load (check the uilint-react bundle/deps)");try{return await i.toPng(document.body,{pixelRatio:1,cacheBust:!0,filter:u=>!(u instanceof Element&&u.closest("[data-ui-lint]"))})}catch(o){const f=(o instanceof Error?o:new Error(String(o))).message||"Unknown error",p=/tainted|cross[- ]origin|CORS|security/i.test(f)?" Hint: this is often caused by cross-origin images/fonts; try removing external images or ensuring they allow CORS.":"";throw new Error(`Screenshot capture failed (html-to-image): ${f}.${p}`)}}async function SM(i){const o=await Promise.resolve().then(()=>gz).catch(()=>null);if(!o)throw new Error("Screenshot capture unavailable: `html-to-image` failed to load (check the uilint-react bundle/deps)");try{const u=await o.toPng(document.body,{pixelRatio:1,cacheBust:!0,filter:f=>!(f instanceof Element&&f.closest("[data-ui-lint]"))});return await xM(u,i)}catch(u){const p=(u instanceof Error?u:new Error(String(u))).message||"Unknown error",g=/tainted|cross[- ]origin|CORS|security/i.test(p)?" Hint: this is often caused by cross-origin images/fonts; try removing external images or ensuring they allow CORS.":"";throw new Error(`Screenshot capture failed (html-to-image): ${p}.${g}`)}}async function xM(i,o){return new Promise((u,f)=>{const p=new Image;p.onload=()=>{try{const g=document.createElement("canvas");g.width=o.width,g.height=o.height;const y=g.getContext("2d");if(!y){f(new Error("Failed to get canvas context"));return}y.drawImage(p,o.x,o.y,o.width,o.height,0,0,o.width,o.height);const S=g.toDataURL("image/png");u(S)}catch(g){f(new Error(`Failed to crop image: ${g instanceof Error?g.message:String(g)}`))}},p.onerror=()=>{f(new Error("Failed to load image for cropping"))},p.src=i})}function wM(){return window.location.pathname.replace(/\/+$/,"")||"/"}function EM(){return new Date().toISOString().replace(/[:.]/g,"-")}const TM=Object.freeze(Object.defineProperty({__proto__:null,captureScreenshot:bM,captureScreenshotRegion:SM,collectElementManifest:vM,generateTimestamp:EM,getCurrentRoute:wM},Symbol.toStringTag,{value:"Module"}));var pu=yS();const Eo={overlayBg:"rgba(0, 0, 0, 0.5)",selectionBorder:"var(--uilint-accent)",selectionBg:"var(--uilint-accent)",textBg:"var(--uilint-backdrop)",textColor:"var(--uilint-text-primary)",fontFamily:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif',fontMono:'"SF Mono", Monaco, "Cascadia Code", monospace'};function AM({active:i,onRegionSelected:o,onCancel:u}){const[f,p]=j.useState(!1),[g,y]=j.useState(null),[S,x]=j.useState(null),[E,C]=j.useState(!1),T=j.useRef(null);j.useEffect(()=>{C(!0)},[]);const z=j.useCallback(()=>{if(!g||!S)return null;const U=Math.min(g.x,S.x),$=Math.min(g.y,S.y),le=Math.abs(S.x-g.x),pe=Math.abs(S.y-g.y);return{x:U,y:$,width:le,height:pe}},[g,S]),N=j.useCallback(U=>{U.button===0&&(p(!0),y({x:U.clientX,y:U.clientY}),x({x:U.clientX,y:U.clientY}))},[]),H=j.useCallback(U=>{!f||!g||x({x:U.clientX,y:U.clientY})},[f,g]),Q=j.useCallback(U=>{if(!f||!g)return;const $=z();$&&$.width>10&&$.height>10?o($):u(),p(!1),y(null),x(null)},[f,g,z,o,u]);if(j.useEffect(()=>{if(!i)return;const U=$=>{$.key==="Escape"&&($.preventDefault(),$.stopPropagation(),u())};return document.addEventListener("keydown",U,!0),()=>{document.removeEventListener("keydown",U,!0)}},[i,u]),j.useEffect(()=>{if(!i)return;const U=$=>{$.preventDefault()};return document.body.style.overflow="hidden",document.addEventListener("wheel",U,{passive:!1}),document.addEventListener("touchmove",U,{passive:!1}),()=>{document.body.style.overflow="",document.removeEventListener("wheel",U),document.removeEventListener("touchmove",U)}},[i]),!i||!E)return null;const q=z(),W=M.jsxs("div",{ref:T,onMouseDown:N,onMouseMove:H,onMouseUp:Q,style:{position:"fixed",top:0,left:0,right:0,bottom:0,zIndex:999999,cursor:"crosshair",backgroundColor:Eo.overlayBg,fontFamily:Eo.fontFamily},"data-ui-lint":!0,children:[M.jsxs("div",{style:{position:"absolute",top:"20px",left:"50%",transform:"translateX(-50%)",padding:"12px 20px",borderRadius:"12px",backgroundColor:Eo.textBg,color:Eo.textColor,fontSize:"14px",fontWeight:500,boxShadow:"0 4px 20px rgba(0, 0, 0, 0.4)",backdropFilter:"blur(16px)",WebkitBackdropFilter:"blur(16px)",pointerEvents:"none",userSelect:"none"},children:["Click and drag to select a region • Press"," ",M.jsx("kbd",{style:{padding:"2px 6px",borderRadius:"4px",backgroundColor:"rgba(255, 255, 255, 0.1)",border:"1px solid rgba(255, 255, 255, 0.2)",fontSize:"11px",fontFamily:Eo.fontMono,marginLeft:"4px"},children:"Esc"})," ","to cancel"]}),q&&q.width>0&&q.height>0&&M.jsxs(M.Fragment,{children:[M.jsx("div",{style:{position:"absolute",left:`${q.x}px`,top:`${q.y}px`,width:`${q.width}px`,height:`${q.height}px`,border:`2px solid ${Eo.selectionBorder}`,backgroundColor:Eo.selectionBg,pointerEvents:"none",boxShadow:`0 0 0 9999px ${Eo.overlayBg}`}}),M.jsxs("div",{style:{position:"absolute",left:`${q.x}px`,top:`${q.y-32}px`,padding:"6px 10px",borderRadius:"6px",backgroundColor:Eo.textBg,color:Eo.textColor,fontSize:"12px",fontFamily:Eo.fontMono,fontWeight:500,boxShadow:"0 2px 8px rgba(0, 0, 0, 0.3)",pointerEvents:"none",userSelect:"none",whiteSpace:"nowrap"},children:[Math.round(q.width)," ×"," ",Math.round(q.height)]})]})]});return pu.createPortal(W,hu())}function oE(i,o){if(typeof i=="function")return i(o);i!=null&&(i.current=o)}function AS(...i){return o=>{let u=!1;const f=i.map(p=>{const g=oE(p,o);return!u&&typeof g=="function"&&(u=!0),g});if(u)return()=>{for(let p=0;p<f.length;p++){const g=f[p];typeof g=="function"?g():oE(i[p],null)}}}}function lf(...i){return j.useCallback(AS(...i),i)}function CM(i){const o=zM(i),u=j.forwardRef((f,p)=>{const{children:g,...y}=f,S=j.Children.toArray(g),x=S.find(MM);if(x){const E=x.props.children,C=S.map(T=>T===x?j.Children.count(E)>1?j.Children.only(null):j.isValidElement(E)?E.props.children:null:T);return M.jsx(o,{...y,ref:p,children:j.isValidElement(E)?j.cloneElement(E,void 0,C):null})}return M.jsx(o,{...y,ref:p,children:g})});return u.displayName=`${i}.Slot`,u}function zM(i){const o=j.forwardRef((u,f)=>{const{children:p,...g}=u;if(j.isValidElement(p)){const y=_M(p),S=DM(g,p.props);return p.type!==j.Fragment&&(S.ref=f?AS(f,y):y),j.cloneElement(p,S)}return j.Children.count(p)>1?j.Children.only(null):null});return o.displayName=`${i}.SlotClone`,o}var RM=Symbol("radix.slottable");function MM(i){return j.isValidElement(i)&&typeof i.type=="function"&&"__radixId"in i.type&&i.type.__radixId===RM}function DM(i,o){const u={...o};for(const f in o){const p=i[f],g=o[f];/^on[A-Z]/.test(f)?p&&g?u[f]=(...S)=>{const x=g(...S);return p(...S),x}:p&&(u[f]=p):f==="style"?u[f]={...p,...g}:f==="className"&&(u[f]=[p,g].filter(Boolean).join(" "))}return{...i,...u}}function _M(i){let o=Object.getOwnPropertyDescriptor(i.props,"ref")?.get,u=o&&"isReactWarning"in o&&o.isReactWarning;return u?i.ref:(o=Object.getOwnPropertyDescriptor(i,"ref")?.get,u=o&&"isReactWarning"in o&&o.isReactWarning,u?i.props.ref:i.props.ref||i.ref)}var OM=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Km=OM.reduce((i,o)=>{const u=CM(`Primitive.${o}`),f=j.forwardRef((p,g)=>{const{asChild:y,...S}=p,x=y?u:o;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),M.jsx(x,{...S,ref:g})});return f.displayName=`Primitive.${o}`,{...i,[o]:f}},{}),CS=globalThis?.document?j.useLayoutEffect:()=>{};function jM(i,o){return j.useReducer((u,f)=>o[u][f]??u,i)}var Jm=i=>{const{present:o,children:u}=i,f=kM(o),p=typeof u=="function"?u({present:f.isPresent}):j.Children.only(u),g=lf(f.ref,NM(p));return typeof u=="function"||f.isPresent?j.cloneElement(p,{ref:g}):null};Jm.displayName="Presence";function kM(i){const[o,u]=j.useState(),f=j.useRef(null),p=j.useRef(i),g=j.useRef("none"),y=i?"mounted":"unmounted",[S,x]=jM(y,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return j.useEffect(()=>{const E=gv(f.current);g.current=S==="mounted"?E:"none"},[S]),CS(()=>{const E=f.current,C=p.current;if(C!==i){const z=g.current,N=gv(E);i?x("MOUNT"):N==="none"||E?.display==="none"?x("UNMOUNT"):x(C&&z!==N?"ANIMATION_OUT":"UNMOUNT"),p.current=i}},[i,x]),CS(()=>{if(o){let E;const C=o.ownerDocument.defaultView??window,T=N=>{const Q=gv(f.current).includes(CSS.escape(N.animationName));if(N.target===o&&Q&&(x("ANIMATION_END"),!p.current)){const q=o.style.animationFillMode;o.style.animationFillMode="forwards",E=C.setTimeout(()=>{o.style.animationFillMode==="forwards"&&(o.style.animationFillMode=q)})}},z=N=>{N.target===o&&(g.current=gv(f.current))};return o.addEventListener("animationstart",z),o.addEventListener("animationcancel",T),o.addEventListener("animationend",T),()=>{C.clearTimeout(E),o.removeEventListener("animationstart",z),o.removeEventListener("animationcancel",T),o.removeEventListener("animationend",T)}}else x("ANIMATION_END")},[o,x]),{isPresent:["mounted","unmountSuspended"].includes(S),ref:j.useCallback(E=>{f.current=E?getComputedStyle(E):null,u(E)},[])}}function gv(i){return i?.animationName||"none"}function NM(i){let o=Object.getOwnPropertyDescriptor(i.props,"ref")?.get,u=o&&"isReactWarning"in o&&o.isReactWarning;return u?i.ref:(o=Object.getOwnPropertyDescriptor(i,"ref")?.get,u=o&&"isReactWarning"in o&&o.isReactWarning,u?i.props.ref:i.props.ref||i.ref)}function UM(i,o=[]){let u=[];function f(g,y){const S=j.createContext(y),x=u.length;u=[...u,y];const E=T=>{const{scope:z,children:N,...H}=T,Q=z?.[i]?.[x]||S,q=j.useMemo(()=>H,Object.values(H));return M.jsx(Q.Provider,{value:q,children:N})};E.displayName=g+"Provider";function C(T,z){const N=z?.[i]?.[x]||S,H=j.useContext(N);if(H)return H;if(y!==void 0)return y;throw new Error(`\`${T}\` must be used within \`${g}\``)}return[E,C]}const p=()=>{const g=u.map(y=>j.createContext(y));return function(S){const x=S?.[i]||g;return j.useMemo(()=>({[`__scope${i}`]:{...S,[i]:x}}),[S,x])}};return p.scopeName=i,[f,LM(p,...o)]}function LM(...i){const o=i[0];if(i.length===1)return o;const u=()=>{const f=i.map(p=>({useScope:p(),scopeName:p.scopeName}));return function(g){const y=f.reduce((S,{useScope:x,scopeName:E})=>{const T=x(g)[`__scope${E}`];return{...S,...T}},{});return j.useMemo(()=>({[`__scope${o.scopeName}`]:y}),[y])}};return u.scopeName=o.scopeName,u}function of(i){const o=j.useRef(i);return j.useEffect(()=>{o.current=i}),j.useMemo(()=>(...u)=>o.current?.(...u),[])}var BM=j.createContext(void 0);function HM(i){const o=j.useContext(BM);return i||o||"ltr"}function VM(i,[o,u]){return Math.min(u,Math.max(o,i))}function rf(i,o,{checkForDefaultPrevented:u=!0}={}){return function(p){if(i?.(p),u===!1||!p.defaultPrevented)return o?.(p)}}function YM(i,o){return j.useReducer((u,f)=>o[u][f]??u,i)}var zS="ScrollArea",[rE]=UM(zS),[qM,Ci]=rE(zS),sE=j.forwardRef((i,o)=>{const{__scopeScrollArea:u,type:f="hover",dir:p,scrollHideDelay:g=600,...y}=i,[S,x]=j.useState(null),[E,C]=j.useState(null),[T,z]=j.useState(null),[N,H]=j.useState(null),[Q,q]=j.useState(null),[W,U]=j.useState(0),[$,le]=j.useState(0),[pe,de]=j.useState(!1),[he,re]=j.useState(!1),we=lf(o,je=>x(je)),ye=HM(p);return M.jsx(qM,{scope:u,type:f,dir:ye,scrollHideDelay:g,scrollArea:S,viewport:E,onViewportChange:C,content:T,onContentChange:z,scrollbarX:N,onScrollbarXChange:H,scrollbarXEnabled:pe,onScrollbarXEnabledChange:de,scrollbarY:Q,onScrollbarYChange:q,scrollbarYEnabled:he,onScrollbarYEnabledChange:re,onCornerWidthChange:U,onCornerHeightChange:le,children:M.jsx(Km.div,{dir:ye,...y,ref:we,style:{position:"relative","--radix-scroll-area-corner-width":W+"px","--radix-scroll-area-corner-height":$+"px",...i.style}})})});sE.displayName=zS;var uE="ScrollAreaViewport",cE=j.forwardRef((i,o)=>{const{__scopeScrollArea:u,children:f,nonce:p,...g}=i,y=Ci(uE,u),S=j.useRef(null),x=lf(o,S,y.onViewportChange);return M.jsxs(M.Fragment,{children:[M.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}"},nonce:p}),M.jsx(Km.div,{"data-radix-scroll-area-viewport":"",...g,ref:x,style:{overflowX:y.scrollbarXEnabled?"scroll":"hidden",overflowY:y.scrollbarYEnabled?"scroll":"hidden",...i.style},children:M.jsx("div",{ref:y.onContentChange,style:{minWidth:"100%",display:"table"},children:f})})]})});cE.displayName=uE;var tr="ScrollAreaScrollbar",$m=j.forwardRef((i,o)=>{const{forceMount:u,...f}=i,p=Ci(tr,i.__scopeScrollArea),{onScrollbarXEnabledChange:g,onScrollbarYEnabledChange:y}=p,S=i.orientation==="horizontal";return j.useEffect(()=>(S?g(!0):y(!0),()=>{S?g(!1):y(!1)}),[S,g,y]),p.type==="hover"?M.jsx(GM,{...f,ref:o,forceMount:u}):p.type==="scroll"?M.jsx(XM,{...f,ref:o,forceMount:u}):p.type==="auto"?M.jsx(fE,{...f,ref:o,forceMount:u}):p.type==="always"?M.jsx(RS,{...f,ref:o}):null});$m.displayName=tr;var GM=j.forwardRef((i,o)=>{const{forceMount:u,...f}=i,p=Ci(tr,i.__scopeScrollArea),[g,y]=j.useState(!1);return j.useEffect(()=>{const S=p.scrollArea;let x=0;if(S){const E=()=>{window.clearTimeout(x),y(!0)},C=()=>{x=window.setTimeout(()=>y(!1),p.scrollHideDelay)};return S.addEventListener("pointerenter",E),S.addEventListener("pointerleave",C),()=>{window.clearTimeout(x),S.removeEventListener("pointerenter",E),S.removeEventListener("pointerleave",C)}}},[p.scrollArea,p.scrollHideDelay]),M.jsx(Jm,{present:u||g,children:M.jsx(fE,{"data-state":g?"visible":"hidden",...f,ref:o})})}),XM=j.forwardRef((i,o)=>{const{forceMount:u,...f}=i,p=Ci(tr,i.__scopeScrollArea),g=i.orientation==="horizontal",y=Sv(()=>x("SCROLL_END"),100),[S,x]=YM("hidden",{hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}});return j.useEffect(()=>{if(S==="idle"){const E=window.setTimeout(()=>x("HIDE"),p.scrollHideDelay);return()=>window.clearTimeout(E)}},[S,p.scrollHideDelay,x]),j.useEffect(()=>{const E=p.viewport,C=g?"scrollLeft":"scrollTop";if(E){let T=E[C];const z=()=>{const N=E[C];T!==N&&(x("SCROLL"),y()),T=N};return E.addEventListener("scroll",z),()=>E.removeEventListener("scroll",z)}},[p.viewport,g,x,y]),M.jsx(Jm,{present:u||S!=="hidden",children:M.jsx(RS,{"data-state":S==="hidden"?"hidden":"visible",...f,ref:o,onPointerEnter:rf(i.onPointerEnter,()=>x("POINTER_ENTER")),onPointerLeave:rf(i.onPointerLeave,()=>x("POINTER_LEAVE"))})})}),fE=j.forwardRef((i,o)=>{const u=Ci(tr,i.__scopeScrollArea),{forceMount:f,...p}=i,[g,y]=j.useState(!1),S=i.orientation==="horizontal",x=Sv(()=>{if(u.viewport){const E=u.viewport.offsetWidth<u.viewport.scrollWidth,C=u.viewport.offsetHeight<u.viewport.scrollHeight;y(S?E:C)}},10);return nh(u.viewport,x),nh(u.content,x),M.jsx(Jm,{present:f||g,children:M.jsx(RS,{"data-state":g?"visible":"hidden",...p,ref:o})})}),RS=j.forwardRef((i,o)=>{const{orientation:u="vertical",...f}=i,p=Ci(tr,i.__scopeScrollArea),g=j.useRef(null),y=j.useRef(0),[S,x]=j.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),E=mE(S.viewport,S.content),C={...f,sizes:S,onSizesChange:x,hasThumb:E>0&&E<1,onThumbChange:z=>g.current=z,onThumbPointerUp:()=>y.current=0,onThumbPointerDown:z=>y.current=z};function T(z,N){return IM(z,y.current,S,N)}return u==="horizontal"?M.jsx(QM,{...C,ref:o,onThumbPositionChange:()=>{if(p.viewport&&g.current){const z=p.viewport.scrollLeft,N=gE(z,S,p.dir);g.current.style.transform=`translate3d(${N}px, 0, 0)`}},onWheelScroll:z=>{p.viewport&&(p.viewport.scrollLeft=z)},onDragScroll:z=>{p.viewport&&(p.viewport.scrollLeft=T(z,p.dir))}}):u==="vertical"?M.jsx(ZM,{...C,ref:o,onThumbPositionChange:()=>{if(p.viewport&&g.current){const z=p.viewport.scrollTop,N=gE(z,S);g.current.style.transform=`translate3d(0, ${N}px, 0)`}},onWheelScroll:z=>{p.viewport&&(p.viewport.scrollTop=z)},onDragScroll:z=>{p.viewport&&(p.viewport.scrollTop=T(z))}}):null}),QM=j.forwardRef((i,o)=>{const{sizes:u,onSizesChange:f,...p}=i,g=Ci(tr,i.__scopeScrollArea),[y,S]=j.useState(),x=j.useRef(null),E=lf(o,x,g.onScrollbarXChange);return j.useEffect(()=>{x.current&&S(getComputedStyle(x.current))},[x]),M.jsx(hE,{"data-orientation":"horizontal",...p,ref:E,sizes:u,style:{bottom:0,left:g.dir==="rtl"?"var(--radix-scroll-area-corner-width)":0,right:g.dir==="ltr"?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":bv(u)+"px",...i.style},onThumbPointerDown:C=>i.onThumbPointerDown(C.x),onDragScroll:C=>i.onDragScroll(C.x),onWheelScroll:(C,T)=>{if(g.viewport){const z=g.viewport.scrollLeft+C.deltaX;i.onWheelScroll(z),vE(z,T)&&C.preventDefault()}},onResize:()=>{x.current&&g.viewport&&y&&f({content:g.viewport.scrollWidth,viewport:g.viewport.offsetWidth,scrollbar:{size:x.current.clientWidth,paddingStart:vv(y.paddingLeft),paddingEnd:vv(y.paddingRight)}})}})}),ZM=j.forwardRef((i,o)=>{const{sizes:u,onSizesChange:f,...p}=i,g=Ci(tr,i.__scopeScrollArea),[y,S]=j.useState(),x=j.useRef(null),E=lf(o,x,g.onScrollbarYChange);return j.useEffect(()=>{x.current&&S(getComputedStyle(x.current))},[x]),M.jsx(hE,{"data-orientation":"vertical",...p,ref:E,sizes:u,style:{top:0,right:g.dir==="ltr"?0:void 0,left:g.dir==="rtl"?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":bv(u)+"px",...i.style},onThumbPointerDown:C=>i.onThumbPointerDown(C.y),onDragScroll:C=>i.onDragScroll(C.y),onWheelScroll:(C,T)=>{if(g.viewport){const z=g.viewport.scrollTop+C.deltaY;i.onWheelScroll(z),vE(z,T)&&C.preventDefault()}},onResize:()=>{x.current&&g.viewport&&y&&f({content:g.viewport.scrollHeight,viewport:g.viewport.offsetHeight,scrollbar:{size:x.current.clientHeight,paddingStart:vv(y.paddingTop),paddingEnd:vv(y.paddingBottom)}})}})}),[KM,dE]=rE(tr),hE=j.forwardRef((i,o)=>{const{__scopeScrollArea:u,sizes:f,hasThumb:p,onThumbChange:g,onThumbPointerUp:y,onThumbPointerDown:S,onThumbPositionChange:x,onDragScroll:E,onWheelScroll:C,onResize:T,...z}=i,N=Ci(tr,u),[H,Q]=j.useState(null),q=lf(o,we=>Q(we)),W=j.useRef(null),U=j.useRef(""),$=N.viewport,le=f.content-f.viewport,pe=of(C),de=of(x),he=Sv(T,10);function re(we){if(W.current){const ye=we.clientX-W.current.left,je=we.clientY-W.current.top;E({x:ye,y:je})}}return j.useEffect(()=>{const we=ye=>{const je=ye.target;H?.contains(je)&&pe(ye,le)};return document.addEventListener("wheel",we,{passive:!1}),()=>document.removeEventListener("wheel",we,{passive:!1})},[$,H,le,pe]),j.useEffect(de,[f,de]),nh(H,he),nh(N.content,he),M.jsx(KM,{scope:u,scrollbar:H,hasThumb:p,onThumbChange:of(g),onThumbPointerUp:of(y),onThumbPositionChange:de,onThumbPointerDown:of(S),children:M.jsx(Km.div,{...z,ref:q,style:{position:"absolute",...z.style},onPointerDown:rf(i.onPointerDown,we=>{we.button===0&&(we.target.setPointerCapture(we.pointerId),W.current=H.getBoundingClientRect(),U.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",N.viewport&&(N.viewport.style.scrollBehavior="auto"),re(we))}),onPointerMove:rf(i.onPointerMove,re),onPointerUp:rf(i.onPointerUp,we=>{const ye=we.target;ye.hasPointerCapture(we.pointerId)&&ye.releasePointerCapture(we.pointerId),document.body.style.webkitUserSelect=U.current,N.viewport&&(N.viewport.style.scrollBehavior=""),W.current=null})})})}),yv="ScrollAreaThumb",MS=j.forwardRef((i,o)=>{const{forceMount:u,...f}=i,p=dE(yv,i.__scopeScrollArea);return M.jsx(Jm,{present:u||p.hasThumb,children:M.jsx(JM,{ref:o,...f})})}),JM=j.forwardRef((i,o)=>{const{__scopeScrollArea:u,style:f,...p}=i,g=Ci(yv,u),y=dE(yv,u),{onThumbPositionChange:S}=y,x=lf(o,T=>y.onThumbChange(T)),E=j.useRef(void 0),C=Sv(()=>{E.current&&(E.current(),E.current=void 0)},100);return j.useEffect(()=>{const T=g.viewport;if(T){const z=()=>{if(C(),!E.current){const N=FM(T,S);E.current=N,S()}};return S(),T.addEventListener("scroll",z),()=>T.removeEventListener("scroll",z)}},[g.viewport,C,S]),M.jsx(Km.div,{"data-state":y.hasThumb?"visible":"hidden",...p,ref:x,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...f},onPointerDownCapture:rf(i.onPointerDownCapture,T=>{const N=T.target.getBoundingClientRect(),H=T.clientX-N.left,Q=T.clientY-N.top;y.onThumbPointerDown({x:H,y:Q})}),onPointerUp:rf(i.onPointerUp,y.onThumbPointerUp)})});MS.displayName=yv;var DS="ScrollAreaCorner",pE=j.forwardRef((i,o)=>{const u=Ci(DS,i.__scopeScrollArea),f=!!(u.scrollbarX&&u.scrollbarY);return u.type!=="scroll"&&f?M.jsx($M,{...i,ref:o}):null});pE.displayName=DS;var $M=j.forwardRef((i,o)=>{const{__scopeScrollArea:u,...f}=i,p=Ci(DS,u),[g,y]=j.useState(0),[S,x]=j.useState(0),E=!!(g&&S);return nh(p.scrollbarX,()=>{const C=p.scrollbarX?.offsetHeight||0;p.onCornerHeightChange(C),x(C)}),nh(p.scrollbarY,()=>{const C=p.scrollbarY?.offsetWidth||0;p.onCornerWidthChange(C),y(C)}),E?M.jsx(Km.div,{...f,ref:o,style:{width:g,height:S,position:"absolute",right:p.dir==="ltr"?0:void 0,left:p.dir==="rtl"?0:void 0,bottom:0,...i.style}}):null});function vv(i){return i?parseInt(i,10):0}function mE(i,o){const u=i/o;return isNaN(u)?0:u}function bv(i){const o=mE(i.viewport,i.content),u=i.scrollbar.paddingStart+i.scrollbar.paddingEnd,f=(i.scrollbar.size-u)*o;return Math.max(f,18)}function IM(i,o,u,f="ltr"){const p=bv(u),g=p/2,y=o||g,S=p-y,x=u.scrollbar.paddingStart+y,E=u.scrollbar.size-u.scrollbar.paddingEnd-S,C=u.content-u.viewport,T=f==="ltr"?[0,C]:[C*-1,0];return yE([x,E],T)(i)}function gE(i,o,u="ltr"){const f=bv(o),p=o.scrollbar.paddingStart+o.scrollbar.paddingEnd,g=o.scrollbar.size-p,y=o.content-o.viewport,S=g-f,x=u==="ltr"?[0,y]:[y*-1,0],E=VM(i,x);return yE([0,y],[0,S])(E)}function yE(i,o){return u=>{if(i[0]===i[1]||o[0]===o[1])return o[0];const f=(o[1]-o[0])/(i[1]-i[0]);return o[0]+f*(u-i[0])}}function vE(i,o){return i>0&&i<o}var FM=(i,o=()=>{})=>{let u={left:i.scrollLeft,top:i.scrollTop},f=0;return(function p(){const g={left:i.scrollLeft,top:i.scrollTop},y=u.left!==g.left,S=u.top!==g.top;(y||S)&&o(),u=g,f=window.requestAnimationFrame(p)})(),()=>window.cancelAnimationFrame(f)};function Sv(i,o){const u=of(i),f=j.useRef(0);return j.useEffect(()=>()=>window.clearTimeout(f.current),[]),j.useCallback(()=>{window.clearTimeout(f.current),f.current=window.setTimeout(u,o)},[u,o])}function nh(i,o){const u=of(o);CS(()=>{let f=0;if(i){const p=new ResizeObserver(()=>{cancelAnimationFrame(f),f=window.requestAnimationFrame(u)});return p.observe(i),()=>{window.cancelAnimationFrame(f),p.unobserve(i)}}},[i,u])}var xv=sE,bE=cE,SE=pE;const _S=j.createContext({});function wv(i){const o=j.useRef(null);return o.current===null&&(o.current=i()),o.current}const OS=typeof window<"u",xE=OS?j.useLayoutEffect:j.useEffect,Ev=j.createContext(null);function jS(i,o){i.indexOf(o)===-1&&i.push(o)}function kS(i,o){const u=i.indexOf(o);u>-1&&i.splice(u,1)}const nr=(i,o,u)=>u>o?o:u<i?i:u;function NS(i,o){return o?`${i}. For more information and steps for solving, visit https://motion.dev/troubleshooting/${o}`:i}let ah=()=>{},Fr=()=>{};typeof process<"u"&&process.env?.NODE_ENV!=="production"&&(ah=(i,o,u)=>{!i&&typeof console<"u"&&console.warn(NS(o,u))},Fr=(i,o,u)=>{if(!i)throw new Error(NS(o,u))});const Pr={},wE=i=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(i);function EE(i){return typeof i=="object"&&i!==null}const TE=i=>/^0[^.\s]+$/u.test(i);function US(i){let o;return()=>(o===void 0&&(o=i()),o)}const zi=i=>i,PM=(i,o)=>u=>o(i(u)),Im=(...i)=>i.reduce(PM),Fm=(i,o,u)=>{const f=o-i;return f===0?1:(u-i)/f};class LS{constructor(){this.subscriptions=[]}add(o){return jS(this.subscriptions,o),()=>kS(this.subscriptions,o)}notify(o,u,f){const p=this.subscriptions.length;if(p)if(p===1)this.subscriptions[0](o,u,f);else for(let g=0;g<p;g++){const y=this.subscriptions[g];y&&y(o,u,f)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const ar=i=>i*1e3,Ri=i=>i/1e3;function AE(i,o){return o?i*(1e3/o):0}const CE=new Set;function BS(i,o,u){i||CE.has(o)||(console.warn(NS(o,u)),CE.add(o))}const zE=(i,o,u)=>(((1-3*u+3*o)*i+(3*u-6*o))*i+3*o)*i,WM=1e-7,e3=12;function t3(i,o,u,f,p){let g,y,S=0;do y=o+(u-o)/2,g=zE(y,f,p)-i,g>0?u=y:o=y;while(Math.abs(g)>WM&&++S<e3);return y}function Pm(i,o,u,f){if(i===o&&u===f)return zi;const p=g=>t3(g,0,1,i,u);return g=>g===0||g===1?g:zE(p(g),o,f)}const RE=i=>o=>o<=.5?i(2*o)/2:(2-i(2*(1-o)))/2,ME=i=>o=>1-i(1-o),DE=Pm(.33,1.53,.69,.99),HS=ME(DE),_E=RE(HS),OE=i=>(i*=2)<1?.5*HS(i):.5*(2-Math.pow(2,-10*(i-1))),VS=i=>1-Math.sin(Math.acos(i)),jE=ME(VS),kE=RE(VS),n3=Pm(.42,0,1,1),a3=Pm(0,0,.58,1),NE=Pm(.42,0,.58,1),l3=i=>Array.isArray(i)&&typeof i[0]!="number",UE=i=>Array.isArray(i)&&typeof i[0]=="number",LE={linear:zi,easeIn:n3,easeInOut:NE,easeOut:a3,circIn:VS,circInOut:kE,circOut:jE,backIn:HS,backInOut:_E,backOut:DE,anticipate:OE},i3=i=>typeof i=="string",BE=i=>{if(UE(i)){Fr(i.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");const[o,u,f,p]=i;return Pm(o,u,f,p)}else if(i3(i))return Fr(LE[i]!==void 0,`Invalid easing type '${i}'`,"invalid-easing-type"),LE[i];return i},Tv=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function o3(i,o){let u=new Set,f=new Set,p=!1,g=!1;const y=new WeakSet;let S={delta:0,timestamp:0,isProcessing:!1};function x(C){y.has(C)&&(E.schedule(C),i()),C(S)}const E={schedule:(C,T=!1,z=!1)=>{const H=z&&p?u:f;return T&&y.add(C),H.has(C)||H.add(C),C},cancel:C=>{f.delete(C),y.delete(C)},process:C=>{if(S=C,p){g=!0;return}p=!0,[u,f]=[f,u],u.forEach(x),u.clear(),p=!1,g&&(g=!1,E.process(C))}};return E}const r3=40;function HE(i,o){let u=!1,f=!0;const p={delta:0,timestamp:0,isProcessing:!1},g=()=>u=!0,y=Tv.reduce(($,le)=>($[le]=o3(g),$),{}),{setup:S,read:x,resolveKeyframes:E,preUpdate:C,update:T,preRender:z,render:N,postRender:H}=y,Q=()=>{const $=Pr.useManualTiming?p.timestamp:performance.now();u=!1,Pr.useManualTiming||(p.delta=f?1e3/60:Math.max(Math.min($-p.timestamp,r3),1)),p.timestamp=$,p.isProcessing=!0,S.process(p),x.process(p),E.process(p),C.process(p),T.process(p),z.process(p),N.process(p),H.process(p),p.isProcessing=!1,u&&o&&(f=!1,i(Q))},q=()=>{u=!0,f=!0,p.isProcessing||i(Q)};return{schedule:Tv.reduce(($,le)=>{const pe=y[le];return $[le]=(de,he=!1,re=!1)=>(u||q(),pe.schedule(de,he,re)),$},{}),cancel:$=>{for(let le=0;le<Tv.length;le++)y[Tv[le]].cancel($)},state:p,steps:y}}const{schedule:cn,cancel:mu,state:Aa,steps:YS}=HE(typeof requestAnimationFrame<"u"?requestAnimationFrame:zi,!0);let Av;function s3(){Av=void 0}const tl={now:()=>(Av===void 0&&tl.set(Aa.isProcessing||Pr.useManualTiming?Aa.timestamp:performance.now()),Av),set:i=>{Av=i,queueMicrotask(s3)}},VE=i=>o=>typeof o=="string"&&o.startsWith(i),YE=VE("--"),u3=VE("var(--"),qS=i=>u3(i)?c3.test(i.split("/*")[0].trim()):!1,c3=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function qE(i){return typeof i!="string"?!1:i.split("/*")[0].includes("var(--")}const lh={test:i=>typeof i=="number",parse:parseFloat,transform:i=>i},Wm={...lh,transform:i=>nr(0,1,i)},Cv={...lh,default:1},e0=i=>Math.round(i*1e5)/1e5,GS=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function f3(i){return i==null}const d3=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,XS=(i,o)=>u=>!!(typeof u=="string"&&d3.test(u)&&u.startsWith(i)||o&&!f3(u)&&Object.prototype.hasOwnProperty.call(u,o)),GE=(i,o,u)=>f=>{if(typeof f!="string")return f;const[p,g,y,S]=f.match(GS);return{[i]:parseFloat(p),[o]:parseFloat(g),[u]:parseFloat(y),alpha:S!==void 0?parseFloat(S):1}},h3=i=>nr(0,255,i),QS={...lh,transform:i=>Math.round(h3(i))},sf={test:XS("rgb","red"),parse:GE("red","green","blue"),transform:({red:i,green:o,blue:u,alpha:f=1})=>"rgba("+QS.transform(i)+", "+QS.transform(o)+", "+QS.transform(u)+", "+e0(Wm.transform(f))+")"};function p3(i){let o="",u="",f="",p="";return i.length>5?(o=i.substring(1,3),u=i.substring(3,5),f=i.substring(5,7),p=i.substring(7,9)):(o=i.substring(1,2),u=i.substring(2,3),f=i.substring(3,4),p=i.substring(4,5),o+=o,u+=u,f+=f,p+=p),{red:parseInt(o,16),green:parseInt(u,16),blue:parseInt(f,16),alpha:p?parseInt(p,16)/255:1}}const ZS={test:XS("#"),parse:p3,transform:sf.transform},t0=i=>({test:o=>typeof o=="string"&&o.endsWith(i)&&o.split(" ").length===1,parse:parseFloat,transform:o=>`${o}${i}`}),gu=t0("deg"),lr=t0("%"),Ne=t0("px"),m3=t0("vh"),g3=t0("vw"),XE={...lr,parse:i=>lr.parse(i)/100,transform:i=>lr.transform(i*100)},ih={test:XS("hsl","hue"),parse:GE("hue","saturation","lightness"),transform:({hue:i,saturation:o,lightness:u,alpha:f=1})=>"hsla("+Math.round(i)+", "+lr.transform(e0(o))+", "+lr.transform(e0(u))+", "+e0(Wm.transform(f))+")"},Gn={test:i=>sf.test(i)||ZS.test(i)||ih.test(i),parse:i=>sf.test(i)?sf.parse(i):ih.test(i)?ih.parse(i):ZS.parse(i),transform:i=>typeof i=="string"?i:i.hasOwnProperty("red")?sf.transform(i):ih.transform(i),getAnimatableNone:i=>{const o=Gn.parse(i);return o.alpha=0,Gn.transform(o)}},y3=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function v3(i){return isNaN(i)&&typeof i=="string"&&(i.match(GS)?.length||0)+(i.match(y3)?.length||0)>0}const QE="number",ZE="color",b3="var",S3="var(",KE="${}",x3=/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 n0(i){const o=i.toString(),u=[],f={color:[],number:[],var:[]},p=[];let g=0;const S=o.replace(x3,x=>(Gn.test(x)?(f.color.push(g),p.push(ZE),u.push(Gn.parse(x))):x.startsWith(S3)?(f.var.push(g),p.push(b3),u.push(x)):(f.number.push(g),p.push(QE),u.push(parseFloat(x))),++g,KE)).split(KE);return{values:u,split:S,indexes:f,types:p}}function JE(i){return n0(i).values}function $E(i){const{split:o,types:u}=n0(i),f=o.length;return p=>{let g="";for(let y=0;y<f;y++)if(g+=o[y],p[y]!==void 0){const S=u[y];S===QE?g+=e0(p[y]):S===ZE?g+=Gn.transform(p[y]):g+=p[y]}return g}}const w3=i=>typeof i=="number"?0:Gn.test(i)?Gn.getAnimatableNone(i):i;function E3(i){const o=JE(i);return $E(i)(o.map(w3))}const yu={test:v3,parse:JE,createTransformer:$E,getAnimatableNone:E3};function KS(i,o,u){return u<0&&(u+=1),u>1&&(u-=1),u<1/6?i+(o-i)*6*u:u<1/2?o:u<2/3?i+(o-i)*(2/3-u)*6:i}function T3({hue:i,saturation:o,lightness:u,alpha:f}){i/=360,o/=100,u/=100;let p=0,g=0,y=0;if(!o)p=g=y=u;else{const S=u<.5?u*(1+o):u+o-u*o,x=2*u-S;p=KS(x,S,i+1/3),g=KS(x,S,i),y=KS(x,S,i-1/3)}return{red:Math.round(p*255),green:Math.round(g*255),blue:Math.round(y*255),alpha:f}}function zv(i,o){return u=>u>0?o:i}const xn=(i,o,u)=>i+(o-i)*u,JS=(i,o,u)=>{const f=i*i,p=u*(o*o-f)+f;return p<0?0:Math.sqrt(p)},A3=[ZS,sf,ih],C3=i=>A3.find(o=>o.test(i));function IE(i){const o=C3(i);if(ah(!!o,`'${i}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!o)return!1;let u=o.parse(i);return o===ih&&(u=T3(u)),u}const FE=(i,o)=>{const u=IE(i),f=IE(o);if(!u||!f)return zv(i,o);const p={...u};return g=>(p.red=JS(u.red,f.red,g),p.green=JS(u.green,f.green,g),p.blue=JS(u.blue,f.blue,g),p.alpha=xn(u.alpha,f.alpha,g),sf.transform(p))},$S=new Set(["none","hidden"]);function z3(i,o){return $S.has(i)?u=>u<=0?i:o:u=>u>=1?o:i}function R3(i,o){return u=>xn(i,o,u)}function IS(i){return typeof i=="number"?R3:typeof i=="string"?qS(i)?zv:Gn.test(i)?FE:_3:Array.isArray(i)?PE:typeof i=="object"?Gn.test(i)?FE:M3:zv}function PE(i,o){const u=[...i],f=u.length,p=i.map((g,y)=>IS(g)(g,o[y]));return g=>{for(let y=0;y<f;y++)u[y]=p[y](g);return u}}function M3(i,o){const u={...i,...o},f={};for(const p in u)i[p]!==void 0&&o[p]!==void 0&&(f[p]=IS(i[p])(i[p],o[p]));return p=>{for(const g in f)u[g]=f[g](p);return u}}function D3(i,o){const u=[],f={color:0,var:0,number:0};for(let p=0;p<o.values.length;p++){const g=o.types[p],y=i.indexes[g][f[g]],S=i.values[y]??0;u[p]=S,f[g]++}return u}const _3=(i,o)=>{const u=yu.createTransformer(o),f=n0(i),p=n0(o);return f.indexes.var.length===p.indexes.var.length&&f.indexes.color.length===p.indexes.color.length&&f.indexes.number.length>=p.indexes.number.length?$S.has(i)&&!p.values.length||$S.has(o)&&!f.values.length?z3(i,o):Im(PE(D3(f,p),p.values),u):(ah(!0,`Complex values '${i}' and '${o}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),zv(i,o))};function WE(i,o,u){return typeof i=="number"&&typeof o=="number"&&typeof u=="number"?xn(i,o,u):IS(i)(i,o)}const O3=i=>{const o=({timestamp:u})=>i(u);return{start:(u=!0)=>cn.update(o,u),stop:()=>mu(o),now:()=>Aa.isProcessing?Aa.timestamp:tl.now()}},eT=(i,o,u=10)=>{let f="";const p=Math.max(Math.round(o/u),2);for(let g=0;g<p;g++)f+=Math.round(i(g/(p-1))*1e4)/1e4+", ";return`linear(${f.substring(0,f.length-2)})`},Rv=2e4;function FS(i){let o=0;const u=50;let f=i.next(o);for(;!f.done&&o<Rv;)o+=u,f=i.next(o);return o>=Rv?1/0:o}function j3(i,o=100,u){const f=u({...i,keyframes:[0,o]}),p=Math.min(FS(f),Rv);return{type:"keyframes",ease:g=>f.next(p*g).value/o,duration:Ri(p)}}const k3=5;function tT(i,o,u){const f=Math.max(o-k3,0);return AE(u-i(f),o-f)}const wn={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},PS=.001;function N3({duration:i=wn.duration,bounce:o=wn.bounce,velocity:u=wn.velocity,mass:f=wn.mass}){let p,g;ah(i<=ar(wn.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let y=1-o;y=nr(wn.minDamping,wn.maxDamping,y),i=nr(wn.minDuration,wn.maxDuration,Ri(i)),y<1?(p=E=>{const C=E*y,T=C*i,z=C-u,N=WS(E,y),H=Math.exp(-T);return PS-z/N*H},g=E=>{const T=E*y*i,z=T*u+u,N=Math.pow(y,2)*Math.pow(E,2)*i,H=Math.exp(-T),Q=WS(Math.pow(E,2),y);return(-p(E)+PS>0?-1:1)*((z-N)*H)/Q}):(p=E=>{const C=Math.exp(-E*i),T=(E-u)*i+1;return-PS+C*T},g=E=>{const C=Math.exp(-E*i),T=(u-E)*(i*i);return C*T});const S=5/i,x=L3(p,g,S);if(i=ar(i),isNaN(x))return{stiffness:wn.stiffness,damping:wn.damping,duration:i};{const E=Math.pow(x,2)*f;return{stiffness:E,damping:y*2*Math.sqrt(f*E),duration:i}}}const U3=12;function L3(i,o,u){let f=u;for(let p=1;p<U3;p++)f=f-i(f)/o(f);return f}function WS(i,o){return i*Math.sqrt(1-o*o)}const B3=["duration","bounce"],H3=["stiffness","damping","mass"];function nT(i,o){return o.some(u=>i[u]!==void 0)}function V3(i){let o={velocity:wn.velocity,stiffness:wn.stiffness,damping:wn.damping,mass:wn.mass,isResolvedFromDuration:!1,...i};if(!nT(i,H3)&&nT(i,B3))if(i.visualDuration){const u=i.visualDuration,f=2*Math.PI/(u*1.2),p=f*f,g=2*nr(.05,1,1-(i.bounce||0))*Math.sqrt(p);o={...o,mass:wn.mass,stiffness:p,damping:g}}else{const u=N3(i);o={...o,...u,mass:wn.mass},o.isResolvedFromDuration=!0}return o}function Mv(i=wn.visualDuration,o=wn.bounce){const u=typeof i!="object"?{visualDuration:i,keyframes:[0,1],bounce:o}:i;let{restSpeed:f,restDelta:p}=u;const g=u.keyframes[0],y=u.keyframes[u.keyframes.length-1],S={done:!1,value:g},{stiffness:x,damping:E,mass:C,duration:T,velocity:z,isResolvedFromDuration:N}=V3({...u,velocity:-Ri(u.velocity||0)}),H=z||0,Q=E/(2*Math.sqrt(x*C)),q=y-g,W=Ri(Math.sqrt(x/C)),U=Math.abs(q)<5;f||(f=U?wn.restSpeed.granular:wn.restSpeed.default),p||(p=U?wn.restDelta.granular:wn.restDelta.default);let $;if(Q<1){const pe=WS(W,Q);$=de=>{const he=Math.exp(-Q*W*de);return y-he*((H+Q*W*q)/pe*Math.sin(pe*de)+q*Math.cos(pe*de))}}else if(Q===1)$=pe=>y-Math.exp(-W*pe)*(q+(H+W*q)*pe);else{const pe=W*Math.sqrt(Q*Q-1);$=de=>{const he=Math.exp(-Q*W*de),re=Math.min(pe*de,300);return y-he*((H+Q*W*q)*Math.sinh(re)+pe*q*Math.cosh(re))/pe}}const le={calculatedDuration:N&&T||null,next:pe=>{const de=$(pe);if(N)S.done=pe>=T;else{let he=pe===0?H:0;Q<1&&(he=pe===0?ar(H):tT($,pe,de));const re=Math.abs(he)<=f,we=Math.abs(y-de)<=p;S.done=re&&we}return S.value=S.done?y:de,S},toString:()=>{const pe=Math.min(FS(le),Rv),de=eT(he=>le.next(pe*he).value,pe,30);return pe+"ms "+de},toTransition:()=>{}};return le}Mv.applyToOptions=i=>{const o=j3(i,100,Mv);return i.ease=o.ease,i.duration=ar(o.duration),i.type="keyframes",i};function ex({keyframes:i,velocity:o=0,power:u=.8,timeConstant:f=325,bounceDamping:p=10,bounceStiffness:g=500,modifyTarget:y,min:S,max:x,restDelta:E=.5,restSpeed:C}){const T=i[0],z={done:!1,value:T},N=re=>S!==void 0&&re<S||x!==void 0&&re>x,H=re=>S===void 0?x:x===void 0||Math.abs(S-re)<Math.abs(x-re)?S:x;let Q=u*o;const q=T+Q,W=y===void 0?q:y(q);W!==q&&(Q=W-T);const U=re=>-Q*Math.exp(-re/f),$=re=>W+U(re),le=re=>{const we=U(re),ye=$(re);z.done=Math.abs(we)<=E,z.value=z.done?W:ye};let pe,de;const he=re=>{N(z.value)&&(pe=re,de=Mv({keyframes:[z.value,H(z.value)],velocity:tT($,re,z.value),damping:p,stiffness:g,restDelta:E,restSpeed:C}))};return he(0),{calculatedDuration:null,next:re=>{let we=!1;return!de&&pe===void 0&&(we=!0,le(re),he(re)),pe!==void 0&&re>=pe?de.next(re-pe):(!we&&le(re),z)}}}function Y3(i,o,u){const f=[],p=u||Pr.mix||WE,g=i.length-1;for(let y=0;y<g;y++){let S=p(i[y],i[y+1]);if(o){const x=Array.isArray(o)?o[y]||zi:o;S=Im(x,S)}f.push(S)}return f}function q3(i,o,{clamp:u=!0,ease:f,mixer:p}={}){const g=i.length;if(Fr(g===o.length,"Both input and output ranges must be the same length","range-length"),g===1)return()=>o[0];if(g===2&&o[0]===o[1])return()=>o[1];const y=i[0]===i[1];i[0]>i[g-1]&&(i=[...i].reverse(),o=[...o].reverse());const S=Y3(o,f,p),x=S.length,E=C=>{if(y&&C<i[0])return o[0];let T=0;if(x>1)for(;T<i.length-2&&!(C<i[T+1]);T++);const z=Fm(i[T],i[T+1],C);return S[T](z)};return u?C=>E(nr(i[0],i[g-1],C)):E}function G3(i,o){const u=i[i.length-1];for(let f=1;f<=o;f++){const p=Fm(0,o,f);i.push(xn(u,1,p))}}function X3(i){const o=[0];return G3(o,i.length-1),o}function Q3(i,o){return i.map(u=>u*o)}function Z3(i,o){return i.map(()=>o||NE).splice(0,i.length-1)}function oh({duration:i=300,keyframes:o,times:u,ease:f="easeInOut"}){const p=l3(f)?f.map(BE):BE(f),g={done:!1,value:o[0]},y=Q3(u&&u.length===o.length?u:X3(o),i),S=q3(y,o,{ease:Array.isArray(p)?p:Z3(o,p)});return{calculatedDuration:i,next:x=>(g.value=S(x),g.done=x>=i,g)}}const K3=i=>i!==null;function tx(i,{repeat:o,repeatType:u="loop"},f,p=1){const g=i.filter(K3),S=p<0||o&&u!=="loop"&&o%2===1?0:g.length-1;return!S||f===void 0?g[S]:f}const J3={decay:ex,inertia:ex,tween:oh,keyframes:oh,spring:Mv};function aT(i){typeof i.type=="string"&&(i.type=J3[i.type])}class nx{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(o=>{this.resolve=o})}notifyFinished(){this.resolve()}then(o,u){return this.finished.then(o,u)}}const $3=i=>i/100;class ax extends nx{constructor(o){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{const{motionValue:u}=this.options;u&&u.updatedAt!==tl.now()&&this.tick(tl.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},this.options=o,this.initAnimation(),this.play(),o.autoplay===!1&&this.pause()}initAnimation(){const{options:o}=this;aT(o);const{type:u=oh,repeat:f=0,repeatDelay:p=0,repeatType:g,velocity:y=0}=o;let{keyframes:S}=o;const x=u||oh;process.env.NODE_ENV!=="production"&&x!==oh&&Fr(S.length<=2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${S}`,"spring-two-frames"),x!==oh&&typeof S[0]!="number"&&(this.mixKeyframes=Im($3,WE(S[0],S[1])),S=[0,100]);const E=x({...o,keyframes:S});g==="mirror"&&(this.mirroredGenerator=x({...o,keyframes:[...S].reverse(),velocity:-y})),E.calculatedDuration===null&&(E.calculatedDuration=FS(E));const{calculatedDuration:C}=E;this.calculatedDuration=C,this.resolvedDuration=C+p,this.totalDuration=this.resolvedDuration*(f+1)-p,this.generator=E}updateTime(o){const u=Math.round(o-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=u}tick(o,u=!1){const{generator:f,totalDuration:p,mixKeyframes:g,mirroredGenerator:y,resolvedDuration:S,calculatedDuration:x}=this;if(this.startTime===null)return f.next(0);const{delay:E=0,keyframes:C,repeat:T,repeatType:z,repeatDelay:N,type:H,onUpdate:Q,finalKeyframe:q}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,o):this.speed<0&&(this.startTime=Math.min(o-p/this.speed,this.startTime)),u?this.currentTime=o:this.updateTime(o);const W=this.currentTime-E*(this.playbackSpeed>=0?1:-1),U=this.playbackSpeed>=0?W<0:W>p;this.currentTime=Math.max(W,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=p);let $=this.currentTime,le=f;if(T){const re=Math.min(this.currentTime,p)/S;let we=Math.floor(re),ye=re%1;!ye&&re>=1&&(ye=1),ye===1&&we--,we=Math.min(we,T+1),we%2&&(z==="reverse"?(ye=1-ye,N&&(ye-=N/S)):z==="mirror"&&(le=y)),$=nr(0,1,ye)*S}const pe=U?{done:!1,value:C[0]}:le.next($);g&&(pe.value=g(pe.value));let{done:de}=pe;!U&&x!==null&&(de=this.playbackSpeed>=0?this.currentTime>=p:this.currentTime<=0);const he=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&de);return he&&H!==ex&&(pe.value=tx(C,this.options,q,this.speed)),Q&&Q(pe.value),he&&this.finish(),pe}then(o,u){return this.finished.then(o,u)}get duration(){return Ri(this.calculatedDuration)}get iterationDuration(){const{delay:o=0}=this.options||{};return this.duration+Ri(o)}get time(){return Ri(this.currentTime)}set time(o){o=ar(o),this.currentTime=o,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=o:this.driver&&(this.startTime=this.driver.now()-o/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(o){this.updateTime(tl.now());const u=this.playbackSpeed!==o;this.playbackSpeed=o,u&&(this.time=Ri(this.currentTime))}play(){if(this.isStopped)return;const{driver:o=O3,startTime:u}=this.options;this.driver||(this.driver=o(p=>this.tick(p))),this.options.onPlay?.();const f=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=f):this.holdTime!==null?this.startTime=f-this.holdTime:this.startTime||(this.startTime=u??f),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(tl.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(o){return this.startTime=0,this.tick(o,!0)}attachTimeline(o){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),o.observe(this)}}function I3(i){for(let o=1;o<i.length;o++)i[o]??(i[o]=i[o-1])}const uf=i=>i*180/Math.PI,lx=i=>{const o=uf(Math.atan2(i[1],i[0]));return ix(o)},F3={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:i=>(Math.abs(i[0])+Math.abs(i[3]))/2,rotate:lx,rotateZ:lx,skewX:i=>uf(Math.atan(i[1])),skewY:i=>uf(Math.atan(i[2])),skew:i=>(Math.abs(i[1])+Math.abs(i[2]))/2},ix=i=>(i=i%360,i<0&&(i+=360),i),lT=lx,iT=i=>Math.sqrt(i[0]*i[0]+i[1]*i[1]),oT=i=>Math.sqrt(i[4]*i[4]+i[5]*i[5]),P3={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:iT,scaleY:oT,scale:i=>(iT(i)+oT(i))/2,rotateX:i=>ix(uf(Math.atan2(i[6],i[5]))),rotateY:i=>ix(uf(Math.atan2(-i[2],i[0]))),rotateZ:lT,rotate:lT,skewX:i=>uf(Math.atan(i[4])),skewY:i=>uf(Math.atan(i[1])),skew:i=>(Math.abs(i[1])+Math.abs(i[4]))/2};function ox(i){return i.includes("scale")?1:0}function rx(i,o){if(!i||i==="none")return ox(o);const u=i.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let f,p;if(u)f=P3,p=u;else{const S=i.match(/^matrix\(([-\d.e\s,]+)\)$/u);f=F3,p=S}if(!p)return ox(o);const g=f[o],y=p[1].split(",").map(eD);return typeof g=="function"?g(y):y[g]}const W3=(i,o)=>{const{transform:u="none"}=getComputedStyle(i);return rx(u,o)};function eD(i){return parseFloat(i.trim())}const rh=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],sh=new Set(rh),rT=i=>i===lh||i===Ne,tD=new Set(["x","y","z"]),nD=rh.filter(i=>!tD.has(i));function aD(i){const o=[];return nD.forEach(u=>{const f=i.getValue(u);f!==void 0&&(o.push([u,f.get()]),f.set(u.startsWith("scale")?1:0))}),o}const vu={width:({x:i},{paddingLeft:o="0",paddingRight:u="0"})=>i.max-i.min-parseFloat(o)-parseFloat(u),height:({y:i},{paddingTop:o="0",paddingBottom:u="0"})=>i.max-i.min-parseFloat(o)-parseFloat(u),top:(i,{top:o})=>parseFloat(o),left:(i,{left:o})=>parseFloat(o),bottom:({y:i},{top:o})=>parseFloat(o)+(i.max-i.min),right:({x:i},{left:o})=>parseFloat(o)+(i.max-i.min),x:(i,{transform:o})=>rx(o,"x"),y:(i,{transform:o})=>rx(o,"y")};vu.translateX=vu.x,vu.translateY=vu.y;const cf=new Set;let sx=!1,ux=!1,cx=!1;function sT(){if(ux){const i=Array.from(cf).filter(f=>f.needsMeasurement),o=new Set(i.map(f=>f.element)),u=new Map;o.forEach(f=>{const p=aD(f);p.length&&(u.set(f,p),f.render())}),i.forEach(f=>f.measureInitialState()),o.forEach(f=>{f.render();const p=u.get(f);p&&p.forEach(([g,y])=>{f.getValue(g)?.set(y)})}),i.forEach(f=>f.measureEndState()),i.forEach(f=>{f.suspendedScrollY!==void 0&&window.scrollTo(0,f.suspendedScrollY)})}ux=!1,sx=!1,cf.forEach(i=>i.complete(cx)),cf.clear()}function uT(){cf.forEach(i=>{i.readKeyframes(),i.needsMeasurement&&(ux=!0)})}function lD(){cx=!0,uT(),sT(),cx=!1}class fx{constructor(o,u,f,p,g,y=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...o],this.onComplete=u,this.name=f,this.motionValue=p,this.element=g,this.isAsync=y}scheduleResolve(){this.state="scheduled",this.isAsync?(cf.add(this),sx||(sx=!0,cn.read(uT),cn.resolveKeyframes(sT))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:o,name:u,element:f,motionValue:p}=this;if(o[0]===null){const g=p?.get(),y=o[o.length-1];if(g!==void 0)o[0]=g;else if(f&&u){const S=f.readValue(u,y);S!=null&&(o[0]=S)}o[0]===void 0&&(o[0]=y),p&&g===void 0&&p.set(o[0])}I3(o)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(o=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,o),cf.delete(this)}cancel(){this.state==="scheduled"&&(cf.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const iD=i=>i.startsWith("--");function oD(i,o,u){iD(o)?i.style.setProperty(o,u):i.style[o]=u}const rD=US(()=>window.ScrollTimeline!==void 0),sD={};function uD(i,o){const u=US(i);return()=>sD[o]??u()}const cT=uD(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),a0=([i,o,u,f])=>`cubic-bezier(${i}, ${o}, ${u}, ${f})`,fT={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:a0([0,.65,.55,1]),circOut:a0([.55,0,1,.45]),backIn:a0([.31,.01,.66,-.59]),backOut:a0([.33,1.53,.69,.99])};function dT(i,o){if(i)return typeof i=="function"?cT()?eT(i,o):"ease-out":UE(i)?a0(i):Array.isArray(i)?i.map(u=>dT(u,o)||fT.easeOut):fT[i]}function cD(i,o,u,{delay:f=0,duration:p=300,repeat:g=0,repeatType:y="loop",ease:S="easeOut",times:x}={},E=void 0){const C={[o]:u};x&&(C.offset=x);const T=dT(S,p);Array.isArray(T)&&(C.easing=T);const z={delay:f,duration:p,easing:Array.isArray(T)?"linear":T,fill:"both",iterations:g+1,direction:y==="reverse"?"alternate":"normal"};return E&&(z.pseudoElement=E),i.animate(C,z)}function hT(i){return typeof i=="function"&&"applyToOptions"in i}function fD({type:i,...o}){return hT(i)&&cT()?i.applyToOptions(o):(o.duration??(o.duration=300),o.ease??(o.ease="easeOut"),o)}class dD extends nx{constructor(o){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!o)return;const{element:u,name:f,keyframes:p,pseudoElement:g,allowFlatten:y=!1,finalKeyframe:S,onComplete:x}=o;this.isPseudoElement=!!g,this.allowFlatten=y,this.options=o,Fr(typeof o.type!="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");const E=fD(o);this.animation=cD(u,f,p,E,g),E.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!g){const C=tx(p,this.options,S,this.speed);this.updateMotionValue?this.updateMotionValue(C):oD(u,f,C),this.animation.cancel()}x?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:o}=this;o==="idle"||o==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){const o=this.animation.effect?.getComputedTiming?.().duration||0;return Ri(Number(o))}get iterationDuration(){const{delay:o=0}=this.options||{};return this.duration+Ri(o)}get time(){return Ri(Number(this.animation.currentTime)||0)}set time(o){this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=ar(o)}get speed(){return this.animation.playbackRate}set speed(o){o<0&&(this.finishedTime=null),this.animation.playbackRate=o}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(o){this.manualStartTime=this.animation.startTime=o}attachTimeline({timeline:o,observe:u}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,o&&rD()?(this.animation.timeline=o,zi):u(this)}}const pT={anticipate:OE,backInOut:_E,circInOut:kE};function hD(i){return i in pT}function pD(i){typeof i.ease=="string"&&hD(i.ease)&&(i.ease=pT[i.ease])}const dx=10;class mD extends dD{constructor(o){pD(o),aT(o),super(o),o.startTime!==void 0&&(this.startTime=o.startTime),this.options=o}updateMotionValue(o){const{motionValue:u,onUpdate:f,onComplete:p,element:g,...y}=this.options;if(!u)return;if(o!==void 0){u.set(o);return}const S=new ax({...y,autoplay:!1}),x=Math.max(dx,tl.now()-this.startTime),E=nr(0,dx,x-dx);u.setWithVelocity(S.sample(Math.max(0,x-E)).value,S.sample(x).value,E),S.stop()}}const mT=(i,o)=>o==="zIndex"?!1:!!(typeof i=="number"||Array.isArray(i)||typeof i=="string"&&(yu.test(i)||i==="0")&&!i.startsWith("url("));function gD(i){const o=i[0];if(i.length===1)return!0;for(let u=0;u<i.length;u++)if(i[u]!==o)return!0}function yD(i,o,u,f){const p=i[0];if(p===null)return!1;if(o==="display"||o==="visibility")return!0;const g=i[i.length-1],y=mT(p,o),S=mT(g,o);return ah(y===S,`You are trying to animate ${o} from "${p}" to "${g}". "${y?g:p}" is not an animatable value.`,"value-not-animatable"),!y||!S?!1:gD(i)||(u==="spring"||hT(u))&&f}function hx(i){i.duration=0,i.type="keyframes"}const vD=new Set(["opacity","clipPath","filter","transform"]),bD=US(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function SD(i){const{motionValue:o,name:u,repeatDelay:f,repeatType:p,damping:g,type:y}=i;if(!(o?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:x,transformTemplate:E}=o.owner.getProps();return bD()&&u&&vD.has(u)&&(u!=="transform"||!E)&&!x&&!f&&p!=="mirror"&&g!==0&&y!=="inertia"}const xD=40;class wD extends nx{constructor({autoplay:o=!0,delay:u=0,type:f="keyframes",repeat:p=0,repeatDelay:g=0,repeatType:y="loop",keyframes:S,name:x,motionValue:E,element:C,...T}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=tl.now();const z={autoplay:o,delay:u,type:f,repeat:p,repeatDelay:g,repeatType:y,name:x,motionValue:E,element:C,...T},N=C?.KeyframeResolver||fx;this.keyframeResolver=new N(S,(H,Q,q)=>this.onKeyframesResolved(H,Q,z,!q),x,E,C),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(o,u,f,p){this.keyframeResolver=void 0;const{name:g,type:y,velocity:S,delay:x,isHandoff:E,onUpdate:C}=f;this.resolvedAt=tl.now(),yD(o,g,y,S)||((Pr.instantAnimations||!x)&&C?.(tx(o,f,u)),o[0]=o[o.length-1],hx(f),f.repeat=0);const z={startTime:p?this.resolvedAt?this.resolvedAt-this.createdAt>xD?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:u,...f,keyframes:o},N=!E&&SD(z)?new mD({...z,element:z.motionValue.owner.current}):new ax(z);N.finished.then(()=>this.notifyFinished()).catch(zi),this.pendingTimeline&&(this.stopTimeline=N.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=N}get finished(){return this._animation?this.animation.finished:this._finished}then(o,u){return this.finished.finally(o).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),lD()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(o){this.animation.time=o}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(o){this.animation.speed=o}get startTime(){return this.animation.startTime}attachTimeline(o){return this._animation?this.stopTimeline=this.animation.attachTimeline(o):this.pendingTimeline=o,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}const ED=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function TD(i){const o=ED.exec(i);if(!o)return[,];const[,u,f,p]=o;return[`--${u??f}`,p]}const AD=4;function gT(i,o,u=1){Fr(u<=AD,`Max CSS variable fallback depth detected in property "${i}". This may indicate a circular fallback dependency.`,"max-css-var-depth");const[f,p]=TD(i);if(!f)return;const g=window.getComputedStyle(o).getPropertyValue(f);if(g){const y=g.trim();return wE(y)?parseFloat(y):y}return qS(p)?gT(p,o,u+1):p}function px(i,o){return i?.[o]??i?.default??i}const yT=new Set(["width","height","top","left","right","bottom",...rh]),CD={test:i=>i==="auto",parse:i=>i},vT=i=>o=>o.test(i),bT=[lh,Ne,lr,gu,g3,m3,CD],ST=i=>bT.find(vT(i));function zD(i){return typeof i=="number"?i===0:i!==null?i==="none"||i==="0"||TE(i):!0}const RD=new Set(["brightness","contrast","saturate","opacity"]);function MD(i){const[o,u]=i.slice(0,-1).split("(");if(o==="drop-shadow")return i;const[f]=u.match(GS)||[];if(!f)return i;const p=u.replace(f,"");let g=RD.has(o)?1:0;return f!==u&&(g*=100),o+"("+g+p+")"}const DD=/\b([a-z-]*)\(.*?\)/gu,mx={...yu,getAnimatableNone:i=>{const o=i.match(DD);return o?o.map(MD).join(" "):i}},xT={...lh,transform:Math.round},gx={borderWidth:Ne,borderTopWidth:Ne,borderRightWidth:Ne,borderBottomWidth:Ne,borderLeftWidth:Ne,borderRadius:Ne,radius:Ne,borderTopLeftRadius:Ne,borderTopRightRadius:Ne,borderBottomRightRadius:Ne,borderBottomLeftRadius:Ne,width:Ne,maxWidth:Ne,height:Ne,maxHeight:Ne,top:Ne,right:Ne,bottom:Ne,left:Ne,inset:Ne,insetBlock:Ne,insetBlockStart:Ne,insetBlockEnd:Ne,insetInline:Ne,insetInlineStart:Ne,insetInlineEnd:Ne,padding:Ne,paddingTop:Ne,paddingRight:Ne,paddingBottom:Ne,paddingLeft:Ne,paddingBlock:Ne,paddingBlockStart:Ne,paddingBlockEnd:Ne,paddingInline:Ne,paddingInlineStart:Ne,paddingInlineEnd:Ne,margin:Ne,marginTop:Ne,marginRight:Ne,marginBottom:Ne,marginLeft:Ne,marginBlock:Ne,marginBlockStart:Ne,marginBlockEnd:Ne,marginInline:Ne,marginInlineStart:Ne,marginInlineEnd:Ne,backgroundPositionX:Ne,backgroundPositionY:Ne,...{rotate:gu,rotateX:gu,rotateY:gu,rotateZ:gu,scale:Cv,scaleX:Cv,scaleY:Cv,scaleZ:Cv,skew:gu,skewX:gu,skewY:gu,distance:Ne,translateX:Ne,translateY:Ne,translateZ:Ne,x:Ne,y:Ne,z:Ne,perspective:Ne,transformPerspective:Ne,opacity:Wm,originX:XE,originY:XE,originZ:Ne},zIndex:xT,fillOpacity:Wm,strokeOpacity:Wm,numOctaves:xT},_D={...gx,color:Gn,backgroundColor:Gn,outlineColor:Gn,fill:Gn,stroke:Gn,borderColor:Gn,borderTopColor:Gn,borderRightColor:Gn,borderBottomColor:Gn,borderLeftColor:Gn,filter:mx,WebkitFilter:mx},wT=i=>_D[i];function ET(i,o){let u=wT(i);return u!==mx&&(u=yu),u.getAnimatableNone?u.getAnimatableNone(o):void 0}const OD=new Set(["auto","none","0"]);function jD(i,o,u){let f=0,p;for(;f<i.length&&!p;){const g=i[f];typeof g=="string"&&!OD.has(g)&&n0(g).values.length&&(p=i[f]),f++}if(p&&u)for(const g of o)i[g]=ET(u,p)}class kD extends fx{constructor(o,u,f,p,g){super(o,u,f,p,g,!0)}readKeyframes(){const{unresolvedKeyframes:o,element:u,name:f}=this;if(!u||!u.current)return;super.readKeyframes();for(let C=0;C<o.length;C++){let T=o[C];if(typeof T=="string"&&(T=T.trim(),qS(T))){const z=gT(T,u.current);z!==void 0&&(o[C]=z),C===o.length-1&&(this.finalKeyframe=T)}}if(this.resolveNoneKeyframes(),!yT.has(f)||o.length!==2)return;const[p,g]=o,y=ST(p),S=ST(g),x=qE(p),E=qE(g);if(x!==E&&vu[f]){this.needsMeasurement=!0;return}if(y!==S)if(rT(y)&&rT(S))for(let C=0;C<o.length;C++){const T=o[C];typeof T=="string"&&(o[C]=parseFloat(T))}else vu[f]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:o,name:u}=this,f=[];for(let p=0;p<o.length;p++)(o[p]===null||zD(o[p]))&&f.push(p);f.length&&jD(o,f,u)}measureInitialState(){const{element:o,unresolvedKeyframes:u,name:f}=this;if(!o||!o.current)return;f==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=vu[f](o.measureViewportBox(),window.getComputedStyle(o.current)),u[0]=this.measuredOrigin;const p=u[u.length-1];p!==void 0&&o.getValue(f,p).jump(p,!1)}measureEndState(){const{element:o,name:u,unresolvedKeyframes:f}=this;if(!o||!o.current)return;const p=o.getValue(u);p&&p.jump(this.measuredOrigin,!1);const g=f.length-1,y=f[g];f[g]=vu[u](o.measureViewportBox(),window.getComputedStyle(o.current)),y!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=y),this.removedTransforms?.length&&this.removedTransforms.forEach(([S,x])=>{o.getValue(S).set(x)}),this.resolveNoneKeyframes()}}function ND(i,o,u){if(i instanceof EventTarget)return[i];if(typeof i=="string"){let f=document;const p=u?.[i]??f.querySelectorAll(i);return p?Array.from(p):[]}return Array.from(i)}const TT=(i,o)=>o&&typeof i=="number"?o.transform(i):i;function AT(i){return EE(i)&&"offsetHeight"in i}const CT=30,UD=i=>!isNaN(parseFloat(i));class LD{constructor(o,u={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=f=>{const p=tl.now();if(this.updatedAt!==p&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(f),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const g of this.dependents)g.dirty()},this.hasAnimated=!1,this.setCurrent(o),this.owner=u.owner}setCurrent(o){this.current=o,this.updatedAt=tl.now(),this.canTrackVelocity===null&&o!==void 0&&(this.canTrackVelocity=UD(this.current))}setPrevFrameValue(o=this.current){this.prevFrameValue=o,this.prevUpdatedAt=this.updatedAt}onChange(o){return process.env.NODE_ENV!=="production"&&BS(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",o)}on(o,u){this.events[o]||(this.events[o]=new LS);const f=this.events[o].add(u);return o==="change"?()=>{f(),cn.read(()=>{this.events.change.getSize()||this.stop()})}:f}clearListeners(){for(const o in this.events)this.events[o].clear()}attach(o,u){this.passiveEffect=o,this.stopPassiveEffect=u}set(o){this.passiveEffect?this.passiveEffect(o,this.updateAndNotify):this.updateAndNotify(o)}setWithVelocity(o,u,f){this.set(u),this.prev=void 0,this.prevFrameValue=o,this.prevUpdatedAt=this.updatedAt-f}jump(o,u=!0){this.updateAndNotify(o),this.prev=o,this.prevUpdatedAt=this.prevFrameValue=void 0,u&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(o){this.dependents||(this.dependents=new Set),this.dependents.add(o)}removeDependent(o){this.dependents&&this.dependents.delete(o)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const o=tl.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||o-this.updatedAt>CT)return 0;const u=Math.min(this.updatedAt-this.prevUpdatedAt,CT);return AE(parseFloat(this.current)-parseFloat(this.prevFrameValue),u)}start(o){return this.stop(),new Promise(u=>{this.hasAnimated=!0,this.animation=o(u),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(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function uh(i,o){return new LD(i,o)}const{schedule:yx}=HE(queueMicrotask,!1),To={x:!1,y:!1};function zT(){return To.x||To.y}function BD(i){return i==="x"||i==="y"?To[i]?null:(To[i]=!0,()=>{To[i]=!1}):To.x||To.y?null:(To.x=To.y=!0,()=>{To.x=To.y=!1})}function RT(i,o){const u=ND(i),f=new AbortController,p={passive:!0,...o,signal:f.signal};return[u,p,()=>f.abort()]}function MT(i){return!(i.pointerType==="touch"||zT())}function HD(i,o,u={}){const[f,p,g]=RT(i,u),y=S=>{if(!MT(S))return;const{target:x}=S,E=o(x,S);if(typeof E!="function"||!x)return;const C=T=>{MT(T)&&(E(T),x.removeEventListener("pointerleave",C))};x.addEventListener("pointerleave",C,p)};return f.forEach(S=>{S.addEventListener("pointerenter",y,p)}),g}const DT=(i,o)=>o?i===o?!0:DT(i,o.parentElement):!1,vx=i=>i.pointerType==="mouse"?typeof i.button!="number"||i.button<=0:i.isPrimary!==!1,VD=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function _T(i){return VD.has(i.tagName)||i.isContentEditable===!0}const Dv=new WeakSet;function OT(i){return o=>{o.key==="Enter"&&i(o)}}function bx(i,o){i.dispatchEvent(new PointerEvent("pointer"+o,{isPrimary:!0,bubbles:!0}))}const YD=(i,o)=>{const u=i.currentTarget;if(!u)return;const f=OT(()=>{if(Dv.has(u))return;bx(u,"down");const p=OT(()=>{bx(u,"up")}),g=()=>bx(u,"cancel");u.addEventListener("keyup",p,o),u.addEventListener("blur",g,o)});u.addEventListener("keydown",f,o),u.addEventListener("blur",()=>u.removeEventListener("keydown",f),o)};function jT(i){return vx(i)&&!zT()}function qD(i,o,u={}){const[f,p,g]=RT(i,u),y=S=>{const x=S.currentTarget;if(!jT(S))return;Dv.add(x);const E=o(x,S),C=(N,H)=>{window.removeEventListener("pointerup",T),window.removeEventListener("pointercancel",z),Dv.has(x)&&Dv.delete(x),jT(N)&&typeof E=="function"&&E(N,{success:H})},T=N=>{C(N,x===window||x===document||u.useGlobalTarget||DT(x,N.target))},z=N=>{C(N,!1)};window.addEventListener("pointerup",T,p),window.addEventListener("pointercancel",z,p)};return f.forEach(S=>{(u.useGlobalTarget?window:S).addEventListener("pointerdown",y,p),AT(S)&&(S.addEventListener("focus",E=>YD(E,p)),!_T(S)&&!S.hasAttribute("tabindex")&&(S.tabIndex=0))}),g}function kT(i){return EE(i)&&"ownerSVGElement"in i}function GD(i){return kT(i)&&i.tagName==="svg"}const Qa=i=>!!(i&&i.getVelocity),XD=[...bT,Gn,yu],QD=i=>XD.find(vT(i)),l0=j.createContext({transformPagePoint:i=>i,isStatic:!1,reducedMotion:"never"});function NT(i,o){if(typeof i=="function")return i(o);i!=null&&(i.current=o)}function ZD(...i){return o=>{let u=!1;const f=i.map(p=>{const g=NT(p,o);return!u&&typeof g=="function"&&(u=!0),g});if(u)return()=>{for(let p=0;p<f.length;p++){const g=f[p];typeof g=="function"?g():NT(i[p],null)}}}}function KD(...i){return j.useCallback(ZD(...i),i)}class JD extends j.Component{getSnapshotBeforeUpdate(o){const u=this.props.childRef.current;if(u&&o.isPresent&&!this.props.isPresent){const f=u.offsetParent,p=AT(f)&&f.offsetWidth||0,g=this.props.sizeRef.current;g.height=u.offsetHeight||0,g.width=u.offsetWidth||0,g.top=u.offsetTop,g.left=u.offsetLeft,g.right=p-g.width-g.left}return null}componentDidUpdate(){}render(){return this.props.children}}function $D({children:i,isPresent:o,anchorX:u,root:f}){const p=j.useId(),g=j.useRef(null),y=j.useRef({width:0,height:0,top:0,left:0,right:0}),{nonce:S}=j.useContext(l0),x=i.props?.ref??i?.ref,E=KD(g,x);return j.useInsertionEffect(()=>{const{width:C,height:T,top:z,left:N,right:H}=y.current;if(o||!g.current||!C||!T)return;const Q=u==="left"?`left: ${N}`:`right: ${H}`;g.current.dataset.motionPopId=p;const q=document.createElement("style");S&&(q.nonce=S);const W=f??document.head;return W.appendChild(q),q.sheet&&q.sheet.insertRule(`
|
|
244
|
+
[data-motion-pop-id="${p}"] {
|
|
245
|
+
position: absolute !important;
|
|
246
|
+
width: ${C}px !important;
|
|
247
|
+
height: ${T}px !important;
|
|
248
|
+
${Q}px !important;
|
|
249
|
+
top: ${z}px !important;
|
|
250
|
+
}
|
|
251
|
+
`),()=>{W.contains(q)&&W.removeChild(q)}},[o]),M.jsx(JD,{isPresent:o,childRef:g,sizeRef:y,children:j.cloneElement(i,{ref:E})})}const ID=({children:i,initial:o,isPresent:u,onExitComplete:f,custom:p,presenceAffectsLayout:g,mode:y,anchorX:S,root:x})=>{const E=wv(FD),C=j.useId();let T=!0,z=j.useMemo(()=>(T=!1,{id:C,initial:o,isPresent:u,custom:p,onExitComplete:N=>{E.set(N,!0);for(const H of E.values())if(!H)return;f&&f()},register:N=>(E.set(N,!1),()=>E.delete(N))}),[u,E,f]);return g&&T&&(z={...z}),j.useMemo(()=>{E.forEach((N,H)=>E.set(H,!1))},[u]),j.useEffect(()=>{!u&&!E.size&&f&&f()},[u]),y==="popLayout"&&(i=M.jsx($D,{isPresent:u,anchorX:S,root:x,children:i})),M.jsx(Ev.Provider,{value:z,children:i})};function FD(){return new Map}function UT(i=!0){const o=j.useContext(Ev);if(o===null)return[!0,null];const{isPresent:u,onExitComplete:f,register:p}=o,g=j.useId();j.useEffect(()=>{if(i)return p(g)},[i]);const y=j.useCallback(()=>i&&f&&f(g),[g,f,i]);return!u&&f?[!1,y]:[!0]}const _v=i=>i.key||"";function LT(i){const o=[];return j.Children.forEach(i,u=>{j.isValidElement(u)&&o.push(u)}),o}const PD=({children:i,custom:o,initial:u=!0,onExitComplete:f,presenceAffectsLayout:p=!0,mode:g="sync",propagate:y=!1,anchorX:S="left",root:x})=>{const[E,C]=UT(y),T=j.useMemo(()=>LT(i),[i]),z=y&&!E?[]:T.map(_v),N=j.useRef(!0),H=j.useRef(T),Q=wv(()=>new Map),q=j.useRef(new Set),[W,U]=j.useState(T),[$,le]=j.useState(T);xE(()=>{N.current=!1,H.current=T;for(let he=0;he<$.length;he++){const re=_v($[he]);z.includes(re)?(Q.delete(re),q.current.delete(re)):Q.get(re)!==!0&&Q.set(re,!1)}},[$,z.length,z.join("-")]);const pe=[];if(T!==W){let he=[...T];for(let re=0;re<$.length;re++){const we=$[re],ye=_v(we);z.includes(ye)||(he.splice(re,0,we),pe.push(we))}return g==="wait"&&pe.length&&(he=pe),le(LT(he)),U(T),null}process.env.NODE_ENV!=="production"&&g==="wait"&&$.length>1&&console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`);const{forceRender:de}=j.useContext(_S);return M.jsx(M.Fragment,{children:$.map(he=>{const re=_v(he),we=y&&!E?!1:T===$||z.includes(re),ye=()=>{if(q.current.has(re))return;if(q.current.add(re),Q.has(re))Q.set(re,!0);else return;let je=!0;Q.forEach(ee=>{ee||(je=!1)}),je&&(de?.(),le(H.current),y&&C?.(),f&&f())};return M.jsx(ID,{isPresent:we,initial:!N.current||u?void 0:!1,custom:o,presenceAffectsLayout:p,mode:g,root:x,onExitComplete:we?void 0:ye,anchorX:S,children:he},re)})})},BT=j.createContext({strict:!1}),HT={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"]},ch={};for(const i in HT)ch[i]={isEnabled:o=>HT[i].some(u=>!!o[u])};function WD(i){for(const o in i)ch[o]={...ch[o],...i[o]}}const e_=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","ignoreStrict","viewport"]);function Ov(i){return i.startsWith("while")||i.startsWith("drag")&&i!=="draggable"||i.startsWith("layout")||i.startsWith("onTap")||i.startsWith("onPan")||i.startsWith("onLayout")||e_.has(i)}let VT=i=>!Ov(i);function YT(i){typeof i=="function"&&(VT=o=>o.startsWith("on")?!Ov(o):i(o))}try{YT(require("@emotion/is-prop-valid").default)}catch{}function t_(i,o,u){const f={};for(const p in i)p==="values"&&typeof i.values=="object"||(VT(p)||u===!0&&Ov(p)||!o&&!Ov(p)||i.draggable&&p.startsWith("onDrag"))&&(f[p]=i[p]);return f}function n_({children:i,isValidProp:o,...u}){o&&YT(o),u={...j.useContext(l0),...u},u.isStatic=wv(()=>u.isStatic);const f=j.useMemo(()=>u,[JSON.stringify(u.transition),u.transformPagePoint,u.reducedMotion]);return M.jsx(l0.Provider,{value:f,children:i})}const jv=j.createContext({});function kv(i){return i!==null&&typeof i=="object"&&typeof i.start=="function"}function i0(i){return typeof i=="string"||Array.isArray(i)}const Sx=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],xx=["initial",...Sx];function Nv(i){return kv(i.animate)||xx.some(o=>i0(i[o]))}function qT(i){return!!(Nv(i)||i.variants)}function a_(i,o){if(Nv(i)){const{initial:u,animate:f}=i;return{initial:u===!1||i0(u)?u:void 0,animate:i0(f)?f:void 0}}return i.inherit!==!1?o:{}}function l_(i){const{initial:o,animate:u}=a_(i,j.useContext(jv));return j.useMemo(()=>({initial:o,animate:u}),[GT(o),GT(u)])}function GT(i){return Array.isArray(i)?i.join(" "):i}function XT(i,o){return o.max===o.min?0:i/(o.max-o.min)*100}const o0={correct:(i,o)=>{if(!o.target)return i;if(typeof i=="string")if(Ne.test(i))i=parseFloat(i);else return i;const u=XT(i,o.target.x),f=XT(i,o.target.y);return`${u}% ${f}%`}},i_={correct:(i,{treeScale:o,projectionDelta:u})=>{const f=i,p=yu.parse(i);if(p.length>5)return f;const g=yu.createTransformer(i),y=typeof p[0]!="number"?1:0,S=u.x.scale*o.x,x=u.y.scale*o.y;p[0+y]/=S,p[1+y]/=x;const E=xn(S,x,.5);return typeof p[2+y]=="number"&&(p[2+y]/=E),typeof p[3+y]=="number"&&(p[3+y]/=E),g(p)}},wx={borderRadius:{...o0,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:o0,borderTopRightRadius:o0,borderBottomLeftRadius:o0,borderBottomRightRadius:o0,boxShadow:i_};function QT(i,{layout:o,layoutId:u}){return sh.has(i)||i.startsWith("origin")||(o||u!==void 0)&&(!!wx[i]||i==="opacity")}const o_={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},r_=rh.length;function s_(i,o,u){let f="",p=!0;for(let g=0;g<r_;g++){const y=rh[g],S=i[y];if(S===void 0)continue;let x=!0;if(typeof S=="number"?x=S===(y.startsWith("scale")?1:0):x=parseFloat(S)===0,!x||u){const E=TT(S,gx[y]);if(!x){p=!1;const C=o_[y]||y;f+=`${C}(${E}) `}u&&(o[y]=E)}}return f=f.trim(),u?f=u(o,p?"":f):p&&(f="none"),f}function Ex(i,o,u){const{style:f,vars:p,transformOrigin:g}=i;let y=!1,S=!1;for(const x in o){const E=o[x];if(sh.has(x)){y=!0;continue}else if(YE(x)){p[x]=E;continue}else{const C=TT(E,gx[x]);x.startsWith("origin")?(S=!0,g[x]=C):f[x]=C}}if(o.transform||(y||u?f.transform=s_(o,i.transform,u):f.transform&&(f.transform="none")),S){const{originX:x="50%",originY:E="50%",originZ:C=0}=g;f.transformOrigin=`${x} ${E} ${C}`}}const Tx=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function ZT(i,o,u){for(const f in o)!Qa(o[f])&&!QT(f,u)&&(i[f]=o[f])}function u_({transformTemplate:i},o){return j.useMemo(()=>{const u=Tx();return Ex(u,o,i),Object.assign({},u.vars,u.style)},[o])}function c_(i,o){const u=i.style||{},f={};return ZT(f,u,i),Object.assign(f,u_(i,o)),f}function f_(i,o){const u={},f=c_(i,o);return i.drag&&i.dragListener!==!1&&(u.draggable=!1,f.userSelect=f.WebkitUserSelect=f.WebkitTouchCallout="none",f.touchAction=i.drag===!0?"none":`pan-${i.drag==="x"?"y":"x"}`),i.tabIndex===void 0&&(i.onTap||i.onTapStart||i.whileTap)&&(u.tabIndex=0),u.style=f,u}const d_={offset:"stroke-dashoffset",array:"stroke-dasharray"},h_={offset:"strokeDashoffset",array:"strokeDasharray"};function p_(i,o,u=1,f=0,p=!0){i.pathLength=1;const g=p?d_:h_;i[g.offset]=Ne.transform(-f);const y=Ne.transform(o),S=Ne.transform(u);i[g.array]=`${y} ${S}`}const m_=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function KT(i,{attrX:o,attrY:u,attrScale:f,pathLength:p,pathSpacing:g=1,pathOffset:y=0,...S},x,E,C){if(Ex(i,S,E),x){i.style.viewBox&&(i.attrs.viewBox=i.style.viewBox);return}i.attrs=i.style,i.style={};const{attrs:T,style:z}=i;T.transform&&(z.transform=T.transform,delete T.transform),(z.transform||T.transformOrigin)&&(z.transformOrigin=T.transformOrigin??"50% 50%",delete T.transformOrigin),z.transform&&(z.transformBox=C?.transformBox??"fill-box",delete T.transformBox);for(const N of m_)T[N]!==void 0&&(z[N]=T[N],delete T[N]);o!==void 0&&(T.x=o),u!==void 0&&(T.y=u),f!==void 0&&(T.scale=f),p!==void 0&&p_(T,p,g,y,!1)}const JT=()=>({...Tx(),attrs:{}}),$T=i=>typeof i=="string"&&i.toLowerCase()==="svg";function g_(i,o,u,f){const p=j.useMemo(()=>{const g=JT();return KT(g,o,$T(f),i.transformTemplate,i.style),{...g.attrs,style:{...g.style}}},[o]);if(i.style){const g={};ZT(g,i.style,i),p.style={...g,...p.style}}return p}const y_=["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 Ax(i){return typeof i!="string"||i.includes("-")?!1:!!(y_.indexOf(i)>-1||/[A-Z]/u.test(i))}function v_(i,o,u,{latestValues:f},p,g=!1,y){const x=(y??Ax(i)?g_:f_)(o,f,p,i),E=t_(o,typeof i=="string",g),C=i!==j.Fragment?{...E,...x,ref:u}:{},{children:T}=o,z=j.useMemo(()=>Qa(T)?T.get():T,[T]);return j.createElement(i,{...C,children:z})}function IT(i){const o=[{},{}];return i?.values.forEach((u,f)=>{o[0][f]=u.get(),o[1][f]=u.getVelocity()}),o}function Cx(i,o,u,f){if(typeof o=="function"){const[p,g]=IT(f);o=o(u!==void 0?u:i.custom,p,g)}if(typeof o=="string"&&(o=i.variants&&i.variants[o]),typeof o=="function"){const[p,g]=IT(f);o=o(u!==void 0?u:i.custom,p,g)}return o}function Uv(i){return Qa(i)?i.get():i}function b_({scrapeMotionValuesFromProps:i,createRenderState:o},u,f,p){return{latestValues:S_(u,f,p,i),renderState:o()}}function S_(i,o,u,f){const p={},g=f(i,{});for(const z in g)p[z]=Uv(g[z]);let{initial:y,animate:S}=i;const x=Nv(i),E=qT(i);o&&E&&!x&&i.inherit!==!1&&(y===void 0&&(y=o.initial),S===void 0&&(S=o.animate));let C=u?u.initial===!1:!1;C=C||y===!1;const T=C?S:y;if(T&&typeof T!="boolean"&&!kv(T)){const z=Array.isArray(T)?T:[T];for(let N=0;N<z.length;N++){const H=Cx(i,z[N]);if(H){const{transitionEnd:Q,transition:q,...W}=H;for(const U in W){let $=W[U];if(Array.isArray($)){const le=C?$.length-1:0;$=$[le]}$!==null&&(p[U]=$)}for(const U in Q)p[U]=Q[U]}}}return p}const FT=i=>(o,u)=>{const f=j.useContext(jv),p=j.useContext(Ev),g=()=>b_(i,o,f,p);return u?g():wv(g)};function zx(i,o,u){const{style:f}=i,p={};for(const g in f)(Qa(f[g])||o.style&&Qa(o.style[g])||QT(g,i)||u?.getValue(g)?.liveStyle!==void 0)&&(p[g]=f[g]);return p}const x_=FT({scrapeMotionValuesFromProps:zx,createRenderState:Tx});function PT(i,o,u){const f=zx(i,o,u);for(const p in i)if(Qa(i[p])||Qa(o[p])){const g=rh.indexOf(p)!==-1?"attr"+p.charAt(0).toUpperCase()+p.substring(1):p;f[g]=i[p]}return f}const w_=FT({scrapeMotionValuesFromProps:PT,createRenderState:JT}),E_=Symbol.for("motionComponentSymbol");function T_(i,o,u){const f=j.useRef(u);j.useInsertionEffect(()=>{f.current=u});const p=j.useRef(null);return j.useCallback(g=>{g&&i.onMount?.(g),o&&(g?o.mount(g):o.unmount());const y=f.current;if(typeof y=="function")if(g){const S=y(g);typeof S=="function"&&(p.current=S)}else p.current?(p.current(),p.current=null):y(g);else y&&(y.current=g)},[o])}const Rx=i=>i.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),WT="data-"+Rx("framerAppearId"),eA=j.createContext({});function r0(i){return i&&typeof i=="object"&&Object.prototype.hasOwnProperty.call(i,"current")}function A_(i,o,u,f,p,g){const{visualElement:y}=j.useContext(jv),S=j.useContext(BT),x=j.useContext(Ev),E=j.useContext(l0).reducedMotion,C=j.useRef(null);f=f||S.renderer,!C.current&&f&&(C.current=f(i,{visualState:o,parent:y,props:u,presenceContext:x,blockInitialAnimation:x?x.initial===!1:!1,reducedMotionConfig:E,isSVG:g}));const T=C.current,z=j.useContext(eA);T&&!T.projection&&p&&(T.type==="html"||T.type==="svg")&&C_(C.current,u,p,z);const N=j.useRef(!1);j.useInsertionEffect(()=>{T&&N.current&&T.update(u,x)});const H=u[WT],Q=j.useRef(!!H&&!window.MotionHandoffIsComplete?.(H)&&window.MotionHasOptimisedAnimation?.(H));return xE(()=>{T&&(N.current=!0,window.MotionIsMounted=!0,T.updateFeatures(),T.scheduleRenderMicrotask(),Q.current&&T.animationState&&T.animationState.animateChanges())}),j.useEffect(()=>{T&&(!Q.current&&T.animationState&&T.animationState.animateChanges(),Q.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(H)}),Q.current=!1),T.enteringChildren=void 0)}),T}function C_(i,o,u,f){const{layoutId:p,layout:g,drag:y,dragConstraints:S,layoutScroll:x,layoutRoot:E,layoutCrossfade:C}=o;i.projection=new u(i.latestValues,o["data-framer-portal-id"]?void 0:tA(i.parent)),i.projection.setOptions({layoutId:p,layout:g,alwaysMeasureLayout:!!y||S&&r0(S),visualElement:i,animationType:typeof g=="string"?g:"both",initialPromotionConfig:f,crossfade:C,layoutScroll:x,layoutRoot:E})}function tA(i){if(i)return i.options.allowProjection!==!1?i.projection:tA(i.parent)}function Mx(i,{forwardMotionProps:o=!1,type:u}={},f,p){f&&WD(f);const g=u?u==="svg":Ax(i),y=g?w_:x_;function S(E,C){let T;const z={...j.useContext(l0),...E,layoutId:z_(E)},{isStatic:N}=z,H=l_(E),Q=y(E,N);if(!N&&OS){R_(z,f);const q=M_(z);T=q.MeasureLayout,H.visualElement=A_(i,Q,z,p,q.ProjectionNode,g)}return M.jsxs(jv.Provider,{value:H,children:[T&&H.visualElement?M.jsx(T,{visualElement:H.visualElement,...z}):null,v_(i,E,T_(Q,H.visualElement,C),Q,N,o,g)]})}S.displayName=`motion.${typeof i=="string"?i:`create(${i.displayName??i.name??""})`}`;const x=j.forwardRef(S);return x[E_]=i,x}function z_({layoutId:i}){const o=j.useContext(_S).id;return o&&i!==void 0?o+"-"+i:i}function R_(i,o){const u=j.useContext(BT).strict;if(process.env.NODE_ENV!=="production"&&o&&u){const f="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";i.ignoreStrict?ah(!1,f,"lazy-strict-mode"):Fr(!1,f,"lazy-strict-mode")}}function M_(i){const{drag:o,layout:u}=ch;if(!o&&!u)return{};const f={...o,...u};return{MeasureLayout:o?.isEnabled(i)||u?.isEnabled(i)?f.MeasureLayout:void 0,ProjectionNode:f.ProjectionNode}}function D_(i,o){if(typeof Proxy>"u")return Mx;const u=new Map,f=(g,y)=>Mx(g,y,i,o),p=(g,y)=>(process.env.NODE_ENV!=="production"&&BS(!1,"motion() is deprecated. Use motion.create() instead."),f(g,y));return new Proxy(p,{get:(g,y)=>y==="create"?f:(u.has(y)||u.set(y,Mx(y,void 0,i,o)),u.get(y))})}function nA({top:i,left:o,right:u,bottom:f}){return{x:{min:o,max:u},y:{min:i,max:f}}}function __({x:i,y:o}){return{top:o.min,right:i.max,bottom:o.max,left:i.min}}function O_(i,o){if(!o)return i;const u=o({x:i.left,y:i.top}),f=o({x:i.right,y:i.bottom});return{top:u.y,left:u.x,bottom:f.y,right:f.x}}function Dx(i){return i===void 0||i===1}function _x({scale:i,scaleX:o,scaleY:u}){return!Dx(i)||!Dx(o)||!Dx(u)}function ff(i){return _x(i)||aA(i)||i.z||i.rotate||i.rotateX||i.rotateY||i.skewX||i.skewY}function aA(i){return lA(i.x)||lA(i.y)}function lA(i){return i&&i!=="0%"}function Lv(i,o,u){const f=i-u,p=o*f;return u+p}function iA(i,o,u,f,p){return p!==void 0&&(i=Lv(i,p,f)),Lv(i,u,f)+o}function Ox(i,o=0,u=1,f,p){i.min=iA(i.min,o,u,f,p),i.max=iA(i.max,o,u,f,p)}function oA(i,{x:o,y:u}){Ox(i.x,o.translate,o.scale,o.originPoint),Ox(i.y,u.translate,u.scale,u.originPoint)}const rA=.999999999999,sA=1.0000000000001;function j_(i,o,u,f=!1){const p=u.length;if(!p)return;o.x=o.y=1;let g,y;for(let S=0;S<p;S++){g=u[S],y=g.projectionDelta;const{visualElement:x}=g.options;x&&x.props.style&&x.props.style.display==="contents"||(f&&g.options.layoutScroll&&g.scroll&&g!==g.root&&dh(i,{x:-g.scroll.offset.x,y:-g.scroll.offset.y}),y&&(o.x*=y.x.scale,o.y*=y.y.scale,oA(i,y)),f&&ff(g.latestValues)&&dh(i,g.latestValues))}o.x<sA&&o.x>rA&&(o.x=1),o.y<sA&&o.y>rA&&(o.y=1)}function fh(i,o){i.min=i.min+o,i.max=i.max+o}function uA(i,o,u,f,p=.5){const g=xn(i.min,i.max,p);Ox(i,o,u,g,f)}function dh(i,o){uA(i.x,o.x,o.scaleX,o.scale,o.originX),uA(i.y,o.y,o.scaleY,o.scale,o.originY)}function cA(i,o){return nA(O_(i.getBoundingClientRect(),o))}function k_(i,o,u){const f=cA(i,u),{scroll:p}=o;return p&&(fh(f.x,p.offset.x),fh(f.y,p.offset.y)),f}const fA=()=>({translate:0,scale:1,origin:0,originPoint:0}),hh=()=>({x:fA(),y:fA()}),dA=()=>({min:0,max:0}),oa=()=>({x:dA(),y:dA()}),jx={current:null},hA={current:!1};function N_(){if(hA.current=!0,!!OS)if(window.matchMedia){const i=window.matchMedia("(prefers-reduced-motion)"),o=()=>jx.current=i.matches;i.addEventListener("change",o),o()}else jx.current=!1}const U_=new WeakMap;function L_(i,o,u){for(const f in o){const p=o[f],g=u[f];if(Qa(p))i.addValue(f,p);else if(Qa(g))i.addValue(f,uh(p,{owner:i}));else if(g!==p)if(i.hasValue(f)){const y=i.getValue(f);y.liveStyle===!0?y.jump(p):y.hasAnimated||y.set(p)}else{const y=i.getStaticValue(f);i.addValue(f,uh(y!==void 0?y:p,{owner:i}))}}for(const f in u)o[f]===void 0&&i.removeValue(f);return o}const pA=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class B_{scrapeMotionValuesFromProps(o,u,f){return{}}constructor({parent:o,props:u,presenceContext:f,reducedMotionConfig:p,blockInitialAnimation:g,visualState:y},S={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=fx,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},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 z=tl.now();this.renderScheduledAt<z&&(this.renderScheduledAt=z,cn.render(this.render,!1,!0))};const{latestValues:x,renderState:E}=y;this.latestValues=x,this.baseTarget={...x},this.initialValues=u.initial?{...x}:{},this.renderState=E,this.parent=o,this.props=u,this.presenceContext=f,this.depth=o?o.depth+1:0,this.reducedMotionConfig=p,this.options=S,this.blockInitialAnimation=!!g,this.isControllingVariants=Nv(u),this.isVariantNode=qT(u),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(o&&o.current);const{willChange:C,...T}=this.scrapeMotionValuesFromProps(u,{},this);for(const z in T){const N=T[z];x[z]!==void 0&&Qa(N)&&N.set(x[z])}}mount(o){this.current=o,U_.set(o,this),this.projection&&!this.projection.instance&&this.projection.mount(o),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((u,f)=>this.bindToMotionValue(f,u)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(hA.current||N_(),this.shouldReduceMotion=jx.current),process.env.NODE_ENV!=="production"&&BS(this.shouldReduceMotion!==!0,"You have Reduced Motion enabled on your device. Animations may not appear as expected.","reduced-motion-disabled"),this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&&this.projection.unmount(),mu(this.notifyUpdate),mu(this.render),this.valueSubscriptions.forEach(o=>o()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(const o in this.events)this.events[o].clear();for(const o in this.features){const u=this.features[o];u&&(u.unmount(),u.isMounted=!1)}this.current=null}addChild(o){this.children.add(o),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(o)}removeChild(o){this.children.delete(o),this.enteringChildren&&this.enteringChildren.delete(o)}bindToMotionValue(o,u){this.valueSubscriptions.has(o)&&this.valueSubscriptions.get(o)();const f=sh.has(o);f&&this.onBindTransform&&this.onBindTransform();const p=u.on("change",y=>{this.latestValues[o]=y,this.props.onUpdate&&cn.preRender(this.notifyUpdate),f&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let g;window.MotionCheckAppearSync&&(g=window.MotionCheckAppearSync(this,o,u)),this.valueSubscriptions.set(o,()=>{p(),g&&g(),u.owner&&u.stop()})}sortNodePosition(o){return!this.current||!this.sortInstanceNodePosition||this.type!==o.type?0:this.sortInstanceNodePosition(this.current,o.current)}updateFeatures(){let o="animation";for(o in ch){const u=ch[o];if(!u)continue;const{isEnabled:f,Feature:p}=u;if(!this.features[o]&&p&&f(this.props)&&(this.features[o]=new p(this)),this.features[o]){const g=this.features[o];g.isMounted?g.update():(g.mount(),g.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):oa()}getStaticValue(o){return this.latestValues[o]}setStaticValue(o,u){this.latestValues[o]=u}update(o,u){(o.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=o,this.prevPresenceContext=this.presenceContext,this.presenceContext=u;for(let f=0;f<pA.length;f++){const p=pA[f];this.propEventSubscriptions[p]&&(this.propEventSubscriptions[p](),delete this.propEventSubscriptions[p]);const g="on"+p,y=o[g];y&&(this.propEventSubscriptions[p]=this.on(p,y))}this.prevMotionValues=L_(this,this.scrapeMotionValuesFromProps(o,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(o){return this.props.variants?this.props.variants[o]: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(o){const u=this.getClosestVariantNode();if(u)return u.variantChildren&&u.variantChildren.add(o),()=>u.variantChildren.delete(o)}addValue(o,u){const f=this.values.get(o);u!==f&&(f&&this.removeValue(o),this.bindToMotionValue(o,u),this.values.set(o,u),this.latestValues[o]=u.get())}removeValue(o){this.values.delete(o);const u=this.valueSubscriptions.get(o);u&&(u(),this.valueSubscriptions.delete(o)),delete this.latestValues[o],this.removeValueFromRenderState(o,this.renderState)}hasValue(o){return this.values.has(o)}getValue(o,u){if(this.props.values&&this.props.values[o])return this.props.values[o];let f=this.values.get(o);return f===void 0&&u!==void 0&&(f=uh(u===null?void 0:u,{owner:this}),this.addValue(o,f)),f}readValue(o,u){let f=this.latestValues[o]!==void 0||!this.current?this.latestValues[o]:this.getBaseTargetFromProps(this.props,o)??this.readValueFromInstance(this.current,o,this.options);return f!=null&&(typeof f=="string"&&(wE(f)||TE(f))?f=parseFloat(f):!QD(f)&&yu.test(u)&&(f=ET(o,u)),this.setBaseTarget(o,Qa(f)?f.get():f)),Qa(f)?f.get():f}setBaseTarget(o,u){this.baseTarget[o]=u}getBaseTarget(o){const{initial:u}=this.props;let f;if(typeof u=="string"||typeof u=="object"){const g=Cx(this.props,u,this.presenceContext?.custom);g&&(f=g[o])}if(u&&f!==void 0)return f;const p=this.getBaseTargetFromProps(this.props,o);return p!==void 0&&!Qa(p)?p:this.initialValues[o]!==void 0&&f===void 0?void 0:this.baseTarget[o]}on(o,u){return this.events[o]||(this.events[o]=new LS),this.events[o].add(u)}notify(o,...u){this.events[o]&&this.events[o].notify(...u)}scheduleRenderMicrotask(){yx.render(this.render)}}class mA extends B_{constructor(){super(...arguments),this.KeyframeResolver=kD}sortInstanceNodePosition(o,u){return o.compareDocumentPosition(u)&2?1:-1}getBaseTargetFromProps(o,u){return o.style?o.style[u]:void 0}removeValueFromRenderState(o,{vars:u,style:f}){delete u[o],delete f[o]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:o}=this.props;Qa(o)&&(this.childSubscription=o.on("change",u=>{this.current&&(this.current.textContent=`${u}`)}))}}function gA(i,{style:o,vars:u},f,p){const g=i.style;let y;for(y in o)g[y]=o[y];p?.applyProjectionStyles(g,f);for(y in u)g.setProperty(y,u[y])}function H_(i){return window.getComputedStyle(i)}class V_ extends mA{constructor(){super(...arguments),this.type="html",this.renderInstance=gA}readValueFromInstance(o,u){if(sh.has(u))return this.projection?.isProjecting?ox(u):W3(o,u);{const f=H_(o),p=(YE(u)?f.getPropertyValue(u):f[u])||0;return typeof p=="string"?p.trim():p}}measureInstanceViewportBox(o,{transformPagePoint:u}){return cA(o,u)}build(o,u,f){Ex(o,u,f.transformTemplate)}scrapeMotionValuesFromProps(o,u,f){return zx(o,u,f)}}const yA=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"]);function Y_(i,o,u,f){gA(i,o,void 0,f);for(const p in o.attrs)i.setAttribute(yA.has(p)?p:Rx(p),o.attrs[p])}class q_ extends mA{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=oa}getBaseTargetFromProps(o,u){return o[u]}readValueFromInstance(o,u){if(sh.has(u)){const f=wT(u);return f&&f.default||0}return u=yA.has(u)?u:Rx(u),o.getAttribute(u)}scrapeMotionValuesFromProps(o,u,f){return PT(o,u,f)}build(o,u,f){KT(o,u,this.isSVGTag,f.transformTemplate,f.style)}renderInstance(o,u,f,p){Y_(o,u,f,p)}mount(o){this.isSVGTag=$T(o.tagName),super.mount(o)}}const G_=(i,o)=>o.isSVG??Ax(i)?new q_(o):new V_(o,{allowProjection:i!==j.Fragment});function ph(i,o,u){const f=i.getProps();return Cx(f,o,u!==void 0?u:f.custom,i)}const kx=i=>Array.isArray(i);function X_(i,o,u){i.hasValue(o)?i.getValue(o).set(u):i.addValue(o,uh(u))}function Q_(i){return kx(i)?i[i.length-1]||0:i}function Z_(i,o){const u=ph(i,o);let{transitionEnd:f={},transition:p={},...g}=u||{};g={...g,...f};for(const y in g){const S=Q_(g[y]);X_(i,y,S)}}function K_(i){return!!(Qa(i)&&i.add)}function Nx(i,o){const u=i.getValue("willChange");if(K_(u))return u.add(o);if(!u&&Pr.WillChange){const f=new Pr.WillChange("auto");i.addValue("willChange",f),f.add(o)}}function vA(i){return i.props[WT]}const J_=i=>i!==null;function $_(i,{repeat:o,repeatType:u="loop"},f){const p=i.filter(J_),g=o&&u!=="loop"&&o%2===1?0:p.length-1;return p[g]}const I_={type:"spring",stiffness:500,damping:25,restSpeed:10},F_=i=>({type:"spring",stiffness:550,damping:i===0?2*Math.sqrt(550):30,restSpeed:10}),P_={type:"keyframes",duration:.8},W_={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},eO=(i,{keyframes:o})=>o.length>2?P_:sh.has(i)?i.startsWith("scale")?F_(o[1]):I_:W_;function tO({when:i,delay:o,delayChildren:u,staggerChildren:f,staggerDirection:p,repeat:g,repeatType:y,repeatDelay:S,from:x,elapsed:E,...C}){return!!Object.keys(C).length}const Ux=(i,o,u,f={},p,g)=>y=>{const S=px(f,i)||{},x=S.delay||f.delay||0;let{elapsed:E=0}=f;E=E-ar(x);const C={keyframes:Array.isArray(u)?u:[null,u],ease:"easeOut",velocity:o.getVelocity(),...S,delay:-E,onUpdate:z=>{o.set(z),S.onUpdate&&S.onUpdate(z)},onComplete:()=>{y(),S.onComplete&&S.onComplete()},name:i,motionValue:o,element:g?void 0:p};tO(S)||Object.assign(C,eO(i,C)),C.duration&&(C.duration=ar(C.duration)),C.repeatDelay&&(C.repeatDelay=ar(C.repeatDelay)),C.from!==void 0&&(C.keyframes[0]=C.from);let T=!1;if((C.type===!1||C.duration===0&&!C.repeatDelay)&&(hx(C),C.delay===0&&(T=!0)),(Pr.instantAnimations||Pr.skipAnimations)&&(T=!0,hx(C),C.delay=0),C.allowFlatten=!S.type&&!S.ease,T&&!g&&o.get()!==void 0){const z=$_(C.keyframes,S);if(z!==void 0){cn.update(()=>{C.onUpdate(z),C.onComplete()});return}}return S.isSync?new ax(C):new wD(C)};function nO({protectedKeys:i,needsAnimating:o},u){const f=i.hasOwnProperty(u)&&o[u]!==!0;return o[u]=!1,f}function bA(i,o,{delay:u=0,transitionOverride:f,type:p}={}){let{transition:g=i.getDefaultTransition(),transitionEnd:y,...S}=o;f&&(g=f);const x=[],E=p&&i.animationState&&i.animationState.getState()[p];for(const C in S){const T=i.getValue(C,i.latestValues[C]??null),z=S[C];if(z===void 0||E&&nO(E,C))continue;const N={delay:u,...px(g||{},C)},H=T.get();if(H!==void 0&&!T.isAnimating&&!Array.isArray(z)&&z===H&&!N.velocity)continue;let Q=!1;if(window.MotionHandoffAnimation){const W=vA(i);if(W){const U=window.MotionHandoffAnimation(W,C,cn);U!==null&&(N.startTime=U,Q=!0)}}Nx(i,C),T.start(Ux(C,T,z,i.shouldReduceMotion&&yT.has(C)?{type:!1}:N,i,Q));const q=T.animation;q&&x.push(q)}return y&&Promise.all(x).then(()=>{cn.update(()=>{y&&Z_(i,y)})}),x}function SA(i,o,u,f=0,p=1){const g=Array.from(i).sort((E,C)=>E.sortNodePosition(C)).indexOf(o),y=i.size,S=(y-1)*f;return typeof u=="function"?u(g,y):p===1?g*f:S-g*f}function Lx(i,o,u={}){const f=ph(i,o,u.type==="exit"?i.presenceContext?.custom:void 0);let{transition:p=i.getDefaultTransition()||{}}=f||{};u.transitionOverride&&(p=u.transitionOverride);const g=f?()=>Promise.all(bA(i,f,u)):()=>Promise.resolve(),y=i.variantChildren&&i.variantChildren.size?(x=0)=>{const{delayChildren:E=0,staggerChildren:C,staggerDirection:T}=p;return aO(i,o,x,E,C,T,u)}:()=>Promise.resolve(),{when:S}=p;if(S){const[x,E]=S==="beforeChildren"?[g,y]:[y,g];return x().then(()=>E())}else return Promise.all([g(),y(u.delay)])}function aO(i,o,u=0,f=0,p=0,g=1,y){const S=[];for(const x of i.variantChildren)x.notify("AnimationStart",o),S.push(Lx(x,o,{...y,delay:u+(typeof f=="function"?0:f)+SA(i.variantChildren,x,f,p,g)}).then(()=>x.notify("AnimationComplete",o)));return Promise.all(S)}function lO(i,o,u={}){i.notify("AnimationStart",o);let f;if(Array.isArray(o)){const p=o.map(g=>Lx(i,g,u));f=Promise.all(p)}else if(typeof o=="string")f=Lx(i,o,u);else{const p=typeof o=="function"?ph(i,o,u.custom):o;f=Promise.all(bA(i,p,u))}return f.then(()=>{i.notify("AnimationComplete",o)})}function xA(i,o){if(!Array.isArray(o))return!1;const u=o.length;if(u!==i.length)return!1;for(let f=0;f<u;f++)if(o[f]!==i[f])return!1;return!0}const iO=xx.length;function wA(i){if(!i)return;if(!i.isControllingVariants){const u=i.parent?wA(i.parent)||{}:{};return i.props.initial!==void 0&&(u.initial=i.props.initial),u}const o={};for(let u=0;u<iO;u++){const f=xx[u],p=i.props[f];(i0(p)||p===!1)&&(o[f]=p)}return o}const oO=[...Sx].reverse(),rO=Sx.length;function sO(i){return o=>Promise.all(o.map(({animation:u,options:f})=>lO(i,u,f)))}function uO(i){let o=sO(i),u=EA(),f=!0;const p=x=>(E,C)=>{const T=ph(i,C,x==="exit"?i.presenceContext?.custom:void 0);if(T){const{transition:z,transitionEnd:N,...H}=T;E={...E,...H,...N}}return E};function g(x){o=x(i)}function y(x){const{props:E}=i,C=wA(i.parent)||{},T=[],z=new Set;let N={},H=1/0;for(let q=0;q<rO;q++){const W=oO[q],U=u[W],$=E[W]!==void 0?E[W]:C[W],le=i0($),pe=W===x?U.isActive:null;pe===!1&&(H=q);let de=$===C[W]&&$!==E[W]&≤if(de&&f&&i.manuallyAnimateOnMount&&(de=!1),U.protectedKeys={...N},!U.isActive&&pe===null||!$&&!U.prevProp||kv($)||typeof $=="boolean")continue;const he=cO(U.prevProp,$);let re=he||W===x&&U.isActive&&!de&&le||q>H&&le,we=!1;const ye=Array.isArray($)?$:[$];let je=ye.reduce(p(W),{});pe===!1&&(je={});const{prevResolvedValues:ee={}}=U,Re={...ee,...je},Ke=I=>{re=!0,z.has(I)&&(we=!0,z.delete(I)),U.needsAnimating[I]=!0;const fe=i.getValue(I);fe&&(fe.liveStyle=!1)};for(const I in Re){const fe=je[I],Ae=ee[I];if(N.hasOwnProperty(I))continue;let De=!1;kx(fe)&&kx(Ae)?De=!xA(fe,Ae):De=fe!==Ae,De?fe!=null?Ke(I):z.add(I):fe!==void 0&&z.has(I)?Ke(I):U.protectedKeys[I]=!0}U.prevProp=$,U.prevResolvedValues=je,U.isActive&&(N={...N,...je}),f&&i.blockInitialAnimation&&(re=!1);const lt=de&&he;re&&(!lt||we)&&T.push(...ye.map(I=>{const fe={type:W};if(typeof I=="string"&&f&&!lt&&i.manuallyAnimateOnMount&&i.parent){const{parent:Ae}=i,De=ph(Ae,I);if(Ae.enteringChildren&&De){const{delayChildren:k}=De.transition||{};fe.delay=SA(Ae.enteringChildren,i,k)}}return{animation:I,options:fe}}))}if(z.size){const q={};if(typeof E.initial!="boolean"){const W=ph(i,Array.isArray(E.initial)?E.initial[0]:E.initial);W&&W.transition&&(q.transition=W.transition)}z.forEach(W=>{const U=i.getBaseTarget(W),$=i.getValue(W);$&&($.liveStyle=!0),q[W]=U??null}),T.push({animation:q})}let Q=!!T.length;return f&&(E.initial===!1||E.initial===E.animate)&&!i.manuallyAnimateOnMount&&(Q=!1),f=!1,Q?o(T):Promise.resolve()}function S(x,E){if(u[x].isActive===E)return Promise.resolve();i.variantChildren?.forEach(T=>T.animationState?.setActive(x,E)),u[x].isActive=E;const C=y(x);for(const T in u)u[T].protectedKeys={};return C}return{animateChanges:y,setActive:S,setAnimateFunction:g,getState:()=>u,reset:()=>{u=EA()}}}function cO(i,o){return typeof o=="string"?o!==i:Array.isArray(o)?!xA(o,i):!1}function df(i=!1){return{isActive:i,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function EA(){return{animate:df(!0),whileInView:df(),whileHover:df(),whileTap:df(),whileDrag:df(),whileFocus:df(),exit:df()}}class bu{constructor(o){this.isMounted=!1,this.node=o}update(){}}class fO extends bu{constructor(o){super(o),o.animationState||(o.animationState=uO(o))}updateAnimationControlsSubscription(){const{animate:o}=this.node.getProps();kv(o)&&(this.unmountControls=o.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:o}=this.node.getProps(),{animate:u}=this.node.prevProps||{};o!==u&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let dO=0;class hO extends bu{constructor(){super(...arguments),this.id=dO++}update(){if(!this.node.presenceContext)return;const{isPresent:o,onExitComplete:u}=this.node.presenceContext,{isPresent:f}=this.node.prevPresenceContext||{};if(!this.node.animationState||o===f)return;const p=this.node.animationState.setActive("exit",!o);u&&!o&&p.then(()=>{u(this.id)})}mount(){const{register:o,onExitComplete:u}=this.node.presenceContext||{};u&&u(this.id),o&&(this.unmount=o(this.id))}unmount(){}}const pO={animation:{Feature:fO},exit:{Feature:hO}};function s0(i,o,u,f={passive:!0}){return i.addEventListener(o,u,f),()=>i.removeEventListener(o,u)}function u0(i){return{point:{x:i.pageX,y:i.pageY}}}const mO=i=>o=>vx(o)&&i(o,u0(o));function c0(i,o,u,f){return s0(i,o,mO(u),f)}const TA=1e-4,gO=1-TA,yO=1+TA,AA=.01,vO=0-AA,bO=0+AA;function nl(i){return i.max-i.min}function SO(i,o,u){return Math.abs(i-o)<=u}function CA(i,o,u,f=.5){i.origin=f,i.originPoint=xn(o.min,o.max,i.origin),i.scale=nl(u)/nl(o),i.translate=xn(u.min,u.max,i.origin)-i.originPoint,(i.scale>=gO&&i.scale<=yO||isNaN(i.scale))&&(i.scale=1),(i.translate>=vO&&i.translate<=bO||isNaN(i.translate))&&(i.translate=0)}function f0(i,o,u,f){CA(i.x,o.x,u.x,f?f.originX:void 0),CA(i.y,o.y,u.y,f?f.originY:void 0)}function zA(i,o,u){i.min=u.min+o.min,i.max=i.min+nl(o)}function xO(i,o,u){zA(i.x,o.x,u.x),zA(i.y,o.y,u.y)}function RA(i,o,u){i.min=o.min-u.min,i.max=i.min+nl(o)}function Bv(i,o,u){RA(i.x,o.x,u.x),RA(i.y,o.y,u.y)}function Mi(i){return[i("x"),i("y")]}const MA=({current:i})=>i?i.ownerDocument.defaultView:null,DA=(i,o)=>Math.abs(i-o);function wO(i,o){const u=DA(i.x,o.x),f=DA(i.y,o.y);return Math.sqrt(u**2+f**2)}const _A=new Set(["auto","scroll"]);class OA{constructor(o,u,{transformPagePoint:f,contextWindow:p=window,dragSnapToOrigin:g=!1,distanceThreshold:y=3,element:S}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=N=>{this.handleScroll(N.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const N=Hx(this.lastMoveEventInfo,this.history),H=this.startEvent!==null,Q=wO(N.offset,{x:0,y:0})>=this.distanceThreshold;if(!H&&!Q)return;const{point:q}=N,{timestamp:W}=Aa;this.history.push({...q,timestamp:W});const{onStart:U,onMove:$}=this.handlers;H||(U&&U(this.lastMoveEvent,N),this.startEvent=this.lastMoveEvent),$&&$(this.lastMoveEvent,N)},this.handlePointerMove=(N,H)=>{this.lastMoveEvent=N,this.lastMoveEventInfo=Bx(H,this.transformPagePoint),cn.update(this.updatePoint,!0)},this.handlePointerUp=(N,H)=>{this.end();const{onEnd:Q,onSessionEnd:q,resumeAnimation:W}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&W&&W(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const U=Hx(N.type==="pointercancel"?this.lastMoveEventInfo:Bx(H,this.transformPagePoint),this.history);this.startEvent&&Q&&Q(N,U),q&&q(N,U)},!vx(o))return;this.dragSnapToOrigin=g,this.handlers=u,this.transformPagePoint=f,this.distanceThreshold=y,this.contextWindow=p||window;const x=u0(o),E=Bx(x,this.transformPagePoint),{point:C}=E,{timestamp:T}=Aa;this.history=[{...C,timestamp:T}];const{onSessionStart:z}=u;z&&z(o,Hx(E,this.history)),this.removeListeners=Im(c0(this.contextWindow,"pointermove",this.handlePointerMove),c0(this.contextWindow,"pointerup",this.handlePointerUp),c0(this.contextWindow,"pointercancel",this.handlePointerUp)),S&&this.startScrollTracking(S)}startScrollTracking(o){let u=o.parentElement;for(;u;){const f=getComputedStyle(u);(_A.has(f.overflowX)||_A.has(f.overflowY))&&this.scrollPositions.set(u,{x:u.scrollLeft,y:u.scrollTop}),u=u.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0,passive:!0}),window.addEventListener("scroll",this.onWindowScroll,{passive:!0}),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(o){const u=this.scrollPositions.get(o);if(!u)return;const f=o===window,p=f?{x:window.scrollX,y:window.scrollY}:{x:o.scrollLeft,y:o.scrollTop},g={x:p.x-u.x,y:p.y-u.y};g.x===0&&g.y===0||(f?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=g.x,this.lastMoveEventInfo.point.y+=g.y):this.history.length>0&&(this.history[0].x-=g.x,this.history[0].y-=g.y),this.scrollPositions.set(o,p),cn.update(this.updatePoint,!0))}updateHandlers(o){this.handlers=o}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),mu(this.updatePoint)}}function Bx(i,o){return o?{point:o(i.point)}:i}function jA(i,o){return{x:i.x-o.x,y:i.y-o.y}}function Hx({point:i},o){return{point:i,delta:jA(i,kA(o)),offset:jA(i,EO(o)),velocity:TO(o,.1)}}function EO(i){return i[0]}function kA(i){return i[i.length-1]}function TO(i,o){if(i.length<2)return{x:0,y:0};let u=i.length-1,f=null;const p=kA(i);for(;u>=0&&(f=i[u],!(p.timestamp-f.timestamp>ar(o)));)u--;if(!f)return{x:0,y:0};const g=Ri(p.timestamp-f.timestamp);if(g===0)return{x:0,y:0};const y={x:(p.x-f.x)/g,y:(p.y-f.y)/g};return y.x===1/0&&(y.x=0),y.y===1/0&&(y.y=0),y}function AO(i,{min:o,max:u},f){return o!==void 0&&i<o?i=f?xn(o,i,f.min):Math.max(i,o):u!==void 0&&i>u&&(i=f?xn(u,i,f.max):Math.min(i,u)),i}function NA(i,o,u){return{min:o!==void 0?i.min+o:void 0,max:u!==void 0?i.max+u-(i.max-i.min):void 0}}function CO(i,{top:o,left:u,bottom:f,right:p}){return{x:NA(i.x,u,p),y:NA(i.y,o,f)}}function UA(i,o){let u=o.min-i.min,f=o.max-i.max;return o.max-o.min<i.max-i.min&&([u,f]=[f,u]),{min:u,max:f}}function zO(i,o){return{x:UA(i.x,o.x),y:UA(i.y,o.y)}}function RO(i,o){let u=.5;const f=nl(i),p=nl(o);return p>f?u=Fm(o.min,o.max-f,i.min):f>p&&(u=Fm(i.min,i.max-p,o.min)),nr(0,1,u)}function MO(i,o){const u={};return o.min!==void 0&&(u.min=o.min-i.min),o.max!==void 0&&(u.max=o.max-i.min),u}const Vx=.35;function DO(i=Vx){return i===!1?i=0:i===!0&&(i=Vx),{x:LA(i,"left","right"),y:LA(i,"top","bottom")}}function LA(i,o,u){return{min:BA(i,o),max:BA(i,u)}}function BA(i,o){return typeof i=="number"?i:i[o]||0}const _O=new WeakMap;class OO{constructor(o){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=oa(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=o}start(o,{snapToCursor:u=!1,distanceThreshold:f}={}){const{presenceContext:p}=this.visualElement;if(p&&p.isPresent===!1)return;const g=T=>{u?(this.stopAnimation(),this.snapToCursor(u0(T).point)):this.pauseAnimation()},y=(T,z)=>{this.stopAnimation();const{drag:N,dragPropagation:H,onDragStart:Q}=this.getProps();if(N&&!H&&(this.openDragLock&&this.openDragLock(),this.openDragLock=BD(N),!this.openDragLock))return;this.latestPointerEvent=T,this.latestPanInfo=z,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Mi(W=>{let U=this.getAxisMotionValue(W).get()||0;if(lr.test(U)){const{projection:$}=this.visualElement;if($&&$.layout){const le=$.layout.layoutBox[W];le&&(U=nl(le)*(parseFloat(U)/100))}}this.originPoint[W]=U}),Q&&cn.postRender(()=>Q(T,z)),Nx(this.visualElement,"transform");const{animationState:q}=this.visualElement;q&&q.setActive("whileDrag",!0)},S=(T,z)=>{this.latestPointerEvent=T,this.latestPanInfo=z;const{dragPropagation:N,dragDirectionLock:H,onDirectionLock:Q,onDrag:q}=this.getProps();if(!N&&!this.openDragLock)return;const{offset:W}=z;if(H&&this.currentDirection===null){this.currentDirection=jO(W),this.currentDirection!==null&&Q&&Q(this.currentDirection);return}this.updateAxis("x",z.point,W),this.updateAxis("y",z.point,W),this.visualElement.render(),q&&q(T,z)},x=(T,z)=>{this.latestPointerEvent=T,this.latestPanInfo=z,this.stop(T,z),this.latestPointerEvent=null,this.latestPanInfo=null},E=()=>Mi(T=>this.getAnimationState(T)==="paused"&&this.getAxisMotionValue(T).animation?.play()),{dragSnapToOrigin:C}=this.getProps();this.panSession=new OA(o,{onSessionStart:g,onStart:y,onMove:S,onSessionEnd:x,resumeAnimation:E},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:C,distanceThreshold:f,contextWindow:MA(this.visualElement),element:this.visualElement.current})}stop(o,u){const f=o||this.latestPointerEvent,p=u||this.latestPanInfo,g=this.isDragging;if(this.cancel(),!g||!p||!f)return;const{velocity:y}=p;this.startAnimation(y);const{onDragEnd:S}=this.getProps();S&&cn.postRender(()=>S(f,p))}cancel(){this.isDragging=!1;const{projection:o,animationState:u}=this.visualElement;o&&(o.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:f}=this.getProps();!f&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),u&&u.setActive("whileDrag",!1)}updateAxis(o,u,f){const{drag:p}=this.getProps();if(!f||!Hv(o,p,this.currentDirection))return;const g=this.getAxisMotionValue(o);let y=this.originPoint[o]+f[o];this.constraints&&this.constraints[o]&&(y=AO(y,this.constraints[o],this.elastic[o])),g.set(y)}resolveConstraints(){const{dragConstraints:o,dragElastic:u}=this.getProps(),f=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,p=this.constraints;o&&r0(o)?this.constraints||(this.constraints=this.resolveRefConstraints()):o&&f?this.constraints=CO(f.layoutBox,o):this.constraints=!1,this.elastic=DO(u),p!==this.constraints&&f&&this.constraints&&!this.hasMutatedConstraints&&Mi(g=>{this.constraints!==!1&&this.getAxisMotionValue(g)&&(this.constraints[g]=MO(f.layoutBox[g],this.constraints[g]))})}resolveRefConstraints(){const{dragConstraints:o,onMeasureDragConstraints:u}=this.getProps();if(!o||!r0(o))return!1;const f=o.current;Fr(f!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");const{projection:p}=this.visualElement;if(!p||!p.layout)return!1;const g=k_(f,p.root,this.visualElement.getTransformPagePoint());let y=zO(p.layout.layoutBox,g);if(u){const S=u(__(y));this.hasMutatedConstraints=!!S,S&&(y=nA(S))}return y}startAnimation(o){const{drag:u,dragMomentum:f,dragElastic:p,dragTransition:g,dragSnapToOrigin:y,onDragTransitionEnd:S}=this.getProps(),x=this.constraints||{},E=Mi(C=>{if(!Hv(C,u,this.currentDirection))return;let T=x&&x[C]||{};y&&(T={min:0,max:0});const z=p?200:1e6,N=p?40:1e7,H={type:"inertia",velocity:f?o[C]:0,bounceStiffness:z,bounceDamping:N,timeConstant:750,restDelta:1,restSpeed:10,...g,...T};return this.startAxisValueAnimation(C,H)});return Promise.all(E).then(S)}startAxisValueAnimation(o,u){const f=this.getAxisMotionValue(o);return Nx(this.visualElement,o),f.start(Ux(o,f,0,u,this.visualElement,!1))}stopAnimation(){Mi(o=>this.getAxisMotionValue(o).stop())}pauseAnimation(){Mi(o=>this.getAxisMotionValue(o).animation?.pause())}getAnimationState(o){return this.getAxisMotionValue(o).animation?.state}getAxisMotionValue(o){const u=`_drag${o.toUpperCase()}`,f=this.visualElement.getProps(),p=f[u];return p||this.visualElement.getValue(o,(f.initial?f.initial[o]:void 0)||0)}snapToCursor(o){Mi(u=>{const{drag:f}=this.getProps();if(!Hv(u,f,this.currentDirection))return;const{projection:p}=this.visualElement,g=this.getAxisMotionValue(u);if(p&&p.layout){const{min:y,max:S}=p.layout.layoutBox[u],x=g.get()||0;g.set(o[u]-xn(y,S,.5)+x)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:o,dragConstraints:u}=this.getProps(),{projection:f}=this.visualElement;if(!r0(u)||!f||!this.constraints)return;this.stopAnimation();const p={x:0,y:0};Mi(y=>{const S=this.getAxisMotionValue(y);if(S&&this.constraints!==!1){const x=S.get();p[y]=RO({min:x,max:x},this.constraints[y])}});const{transformTemplate:g}=this.visualElement.getProps();this.visualElement.current.style.transform=g?g({},""):"none",f.root&&f.root.updateScroll(),f.updateLayout(),this.resolveConstraints(),Mi(y=>{if(!Hv(y,o,null))return;const S=this.getAxisMotionValue(y),{min:x,max:E}=this.constraints[y];S.set(xn(x,E,p[y]))})}addListeners(){if(!this.visualElement.current)return;_O.set(this.visualElement,this);const o=this.visualElement.current,u=c0(o,"pointerdown",x=>{const{drag:E,dragListener:C=!0}=this.getProps();E&&C&&!_T(x.target)&&this.start(x)}),f=()=>{const{dragConstraints:x}=this.getProps();r0(x)&&x.current&&(this.constraints=this.resolveRefConstraints())},{projection:p}=this.visualElement,g=p.addEventListener("measure",f);p&&!p.layout&&(p.root&&p.root.updateScroll(),p.updateLayout()),cn.read(f);const y=s0(window,"resize",()=>this.scalePositionWithinConstraints()),S=p.addEventListener("didUpdate",(({delta:x,hasLayoutChanged:E})=>{this.isDragging&&E&&(Mi(C=>{const T=this.getAxisMotionValue(C);T&&(this.originPoint[C]+=x[C].translate,T.set(T.get()+x[C].translate))}),this.visualElement.render())}));return()=>{y(),u(),g(),S&&S()}}getProps(){const o=this.visualElement.getProps(),{drag:u=!1,dragDirectionLock:f=!1,dragPropagation:p=!1,dragConstraints:g=!1,dragElastic:y=Vx,dragMomentum:S=!0}=o;return{...o,drag:u,dragDirectionLock:f,dragPropagation:p,dragConstraints:g,dragElastic:y,dragMomentum:S}}}function Hv(i,o,u){return(o===!0||o===i)&&(u===null||u===i)}function jO(i,o=10){let u=null;return Math.abs(i.y)>o?u="y":Math.abs(i.x)>o&&(u="x"),u}class kO extends bu{constructor(o){super(o),this.removeGroupControls=zi,this.removeListeners=zi,this.controls=new OO(o)}mount(){const{dragControls:o}=this.node.getProps();o&&(this.removeGroupControls=o.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||zi}update(){const{dragControls:o}=this.node.getProps(),{dragControls:u}=this.node.prevProps||{};o!==u&&(this.removeGroupControls(),o&&(this.removeGroupControls=o.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners()}}const HA=i=>(o,u)=>{i&&cn.postRender(()=>i(o,u))};class NO extends bu{constructor(){super(...arguments),this.removePointerDownListener=zi}onPointerDown(o){this.session=new OA(o,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:MA(this.node)})}createPanHandlers(){const{onPanSessionStart:o,onPanStart:u,onPan:f,onPanEnd:p}=this.node.getProps();return{onSessionStart:HA(o),onStart:HA(u),onMove:f,onEnd:(g,y)=>{delete this.session,p&&cn.postRender(()=>p(g,y))}}}mount(){this.removePointerDownListener=c0(this.node.current,"pointerdown",o=>this.onPointerDown(o))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const Vv={hasAnimatedSinceResize:!0,hasEverUpdated:!1};let Yx=!1;class UO extends j.Component{componentDidMount(){const{visualElement:o,layoutGroup:u,switchLayoutGroup:f,layoutId:p}=this.props,{projection:g}=o;g&&(u.group&&u.group.add(g),f&&f.register&&p&&f.register(g),Yx&&g.root.didUpdate(),g.addEventListener("animationComplete",()=>{this.safeToRemove()}),g.setOptions({...g.options,onExitComplete:()=>this.safeToRemove()})),Vv.hasEverUpdated=!0}getSnapshotBeforeUpdate(o){const{layoutDependency:u,visualElement:f,drag:p,isPresent:g}=this.props,{projection:y}=f;return y&&(y.isPresent=g,Yx=!0,p||o.layoutDependency!==u||u===void 0||o.isPresent!==g?y.willUpdate():this.safeToRemove(),o.isPresent!==g&&(g?y.promote():y.relegate()||cn.postRender(()=>{const S=y.getStack();(!S||!S.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:o}=this.props.visualElement;o&&(o.root.didUpdate(),yx.postRender(()=>{!o.currentAnimation&&o.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:o,layoutGroup:u,switchLayoutGroup:f}=this.props,{projection:p}=o;Yx=!0,p&&(p.scheduleCheckAfterUnmount(),u&&u.group&&u.group.remove(p),f&&f.deregister&&f.deregister(p))}safeToRemove(){const{safeToRemove:o}=this.props;o&&o()}render(){return null}}function VA(i){const[o,u]=UT(),f=j.useContext(_S);return M.jsx(UO,{...i,layoutGroup:f,switchLayoutGroup:j.useContext(eA),isPresent:o,safeToRemove:u})}function LO(i,o,u){const f=Qa(i)?i:uh(i);return f.start(Ux("",f,o,u)),f.animation}const BO=(i,o)=>i.depth-o.depth;class HO{constructor(){this.children=[],this.isDirty=!1}add(o){jS(this.children,o),this.isDirty=!0}remove(o){kS(this.children,o),this.isDirty=!0}forEach(o){this.isDirty&&this.children.sort(BO),this.isDirty=!1,this.children.forEach(o)}}function VO(i,o){const u=tl.now(),f=({timestamp:p})=>{const g=p-u;g>=o&&(mu(f),i(g-o))};return cn.setup(f,!0),()=>mu(f)}const YA=["TopLeft","TopRight","BottomLeft","BottomRight"],YO=YA.length,qA=i=>typeof i=="string"?parseFloat(i):i,GA=i=>typeof i=="number"||Ne.test(i);function qO(i,o,u,f,p,g){p?(i.opacity=xn(0,u.opacity??1,GO(f)),i.opacityExit=xn(o.opacity??1,0,XO(f))):g&&(i.opacity=xn(o.opacity??1,u.opacity??1,f));for(let y=0;y<YO;y++){const S=`border${YA[y]}Radius`;let x=XA(o,S),E=XA(u,S);if(x===void 0&&E===void 0)continue;x||(x=0),E||(E=0),x===0||E===0||GA(x)===GA(E)?(i[S]=Math.max(xn(qA(x),qA(E),f),0),(lr.test(E)||lr.test(x))&&(i[S]+="%")):i[S]=E}(o.rotate||u.rotate)&&(i.rotate=xn(o.rotate||0,u.rotate||0,f))}function XA(i,o){return i[o]!==void 0?i[o]:i.borderRadius}const GO=QA(0,.5,jE),XO=QA(.5,.95,zi);function QA(i,o,u){return f=>f<i?0:f>o?1:u(Fm(i,o,f))}function ZA(i,o){i.min=o.min,i.max=o.max}function Ao(i,o){ZA(i.x,o.x),ZA(i.y,o.y)}function KA(i,o){i.translate=o.translate,i.scale=o.scale,i.originPoint=o.originPoint,i.origin=o.origin}function JA(i,o,u,f,p){return i-=o,i=Lv(i,1/u,f),p!==void 0&&(i=Lv(i,1/p,f)),i}function QO(i,o=0,u=1,f=.5,p,g=i,y=i){if(lr.test(o)&&(o=parseFloat(o),o=xn(y.min,y.max,o/100)-y.min),typeof o!="number")return;let S=xn(g.min,g.max,f);i===g&&(S-=o),i.min=JA(i.min,o,u,S,p),i.max=JA(i.max,o,u,S,p)}function $A(i,o,[u,f,p],g,y){QO(i,o[u],o[f],o[p],o.scale,g,y)}const ZO=["x","scaleX","originX"],KO=["y","scaleY","originY"];function IA(i,o,u,f){$A(i.x,o,ZO,u?u.x:void 0,f?f.x:void 0),$A(i.y,o,KO,u?u.y:void 0,f?f.y:void 0)}function FA(i){return i.translate===0&&i.scale===1}function PA(i){return FA(i.x)&&FA(i.y)}function WA(i,o){return i.min===o.min&&i.max===o.max}function JO(i,o){return WA(i.x,o.x)&&WA(i.y,o.y)}function eC(i,o){return Math.round(i.min)===Math.round(o.min)&&Math.round(i.max)===Math.round(o.max)}function tC(i,o){return eC(i.x,o.x)&&eC(i.y,o.y)}function nC(i){return nl(i.x)/nl(i.y)}function aC(i,o){return i.translate===o.translate&&i.scale===o.scale&&i.originPoint===o.originPoint}class $O{constructor(){this.members=[]}add(o){jS(this.members,o),o.scheduleRender()}remove(o){if(kS(this.members,o),o===this.prevLead&&(this.prevLead=void 0),o===this.lead){const u=this.members[this.members.length-1];u&&this.promote(u)}}relegate(o){const u=this.members.findIndex(p=>o===p);if(u===0)return!1;let f;for(let p=u;p>=0;p--){const g=this.members[p];if(g.isPresent!==!1){f=g;break}}return f?(this.promote(f),!0):!1}promote(o,u){const f=this.lead;if(o!==f&&(this.prevLead=f,this.lead=o,o.show(),f)){f.instance&&f.scheduleRender(),o.scheduleRender(),o.resumeFrom=f,u&&(o.resumeFrom.preserveOpacity=!0),f.snapshot&&(o.snapshot=f.snapshot,o.snapshot.latestValues=f.animationValues||f.latestValues),o.root&&o.root.isUpdating&&(o.isLayoutDirty=!0);const{crossfade:p}=o.options;p===!1&&f.hide()}}exitAnimationComplete(){this.members.forEach(o=>{const{options:u,resumingFrom:f}=o;u.onExitComplete&&u.onExitComplete(),f&&f.options.onExitComplete&&f.options.onExitComplete()})}scheduleRender(){this.members.forEach(o=>{o.instance&&o.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function IO(i,o,u){let f="";const p=i.x.translate/o.x,g=i.y.translate/o.y,y=u?.z||0;if((p||g||y)&&(f=`translate3d(${p}px, ${g}px, ${y}px) `),(o.x!==1||o.y!==1)&&(f+=`scale(${1/o.x}, ${1/o.y}) `),u){const{transformPerspective:E,rotate:C,rotateX:T,rotateY:z,skewX:N,skewY:H}=u;E&&(f=`perspective(${E}px) ${f}`),C&&(f+=`rotate(${C}deg) `),T&&(f+=`rotateX(${T}deg) `),z&&(f+=`rotateY(${z}deg) `),N&&(f+=`skewX(${N}deg) `),H&&(f+=`skewY(${H}deg) `)}const S=i.x.scale*o.x,x=i.y.scale*o.y;return(S!==1||x!==1)&&(f+=`scale(${S}, ${x})`),f||"none"}const qx=["","X","Y","Z"],FO=1e3;let PO=0;function Gx(i,o,u,f){const{latestValues:p}=o;p[i]&&(u[i]=p[i],o.setStaticValue(i,0),f&&(f[i]=0))}function lC(i){if(i.hasCheckedOptimisedAppear=!0,i.root===i)return;const{visualElement:o}=i.options;if(!o)return;const u=vA(o);if(window.MotionHasOptimisedAnimation(u,"transform")){const{layout:p,layoutId:g}=i.options;window.MotionCancelOptimisedAnimation(u,"transform",cn,!(p||g))}const{parent:f}=i;f&&!f.hasCheckedOptimisedAppear&&lC(f)}function iC({attachResizeListener:i,defaultParent:o,measureScroll:u,checkIsScrollRoot:f,resetTransform:p}){return class{constructor(y={},S=o?.()){this.id=PO++,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(t4),this.nodes.forEach(i4),this.nodes.forEach(o4),this.nodes.forEach(n4)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=y,this.root=S?S.root||S:this,this.path=S?[...S.path,S]:[],this.parent=S,this.depth=S?S.depth+1:0;for(let x=0;x<this.path.length;x++)this.path[x].shouldResetTransform=!0;this.root===this&&(this.nodes=new HO)}addEventListener(y,S){return this.eventHandlers.has(y)||this.eventHandlers.set(y,new LS),this.eventHandlers.get(y).add(S)}notifyListeners(y,...S){const x=this.eventHandlers.get(y);x&&x.notify(...S)}hasListeners(y){return this.eventHandlers.has(y)}mount(y){if(this.instance)return;this.isSVG=kT(y)&&!GD(y),this.instance=y;const{layoutId:S,layout:x,visualElement:E}=this.options;if(E&&!E.current&&E.mount(y),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(x||S)&&(this.isLayoutDirty=!0),i){let C,T=0;const z=()=>this.root.updateBlockedByResize=!1;cn.read(()=>{T=window.innerWidth}),i(y,()=>{const N=window.innerWidth;N!==T&&(T=N,this.root.updateBlockedByResize=!0,C&&C(),C=VO(z,250),Vv.hasAnimatedSinceResize&&(Vv.hasAnimatedSinceResize=!1,this.nodes.forEach(sC)))})}S&&this.root.registerSharedNode(S,this),this.options.animate!==!1&&E&&(S||x)&&this.addEventListener("didUpdate",({delta:C,hasLayoutChanged:T,hasRelativeLayoutChanged:z,layout:N})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const H=this.options.transition||E.getDefaultTransition()||f4,{onLayoutAnimationStart:Q,onLayoutAnimationComplete:q}=E.getProps(),W=!this.targetLayout||!tC(this.targetLayout,N),U=!T&&z;if(this.options.layoutRoot||this.resumeFrom||U||T&&(W||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const $={...px(H,"layout"),onPlay:Q,onComplete:q};(E.shouldReduceMotion||this.options.layoutRoot)&&($.delay=0,$.type=!1),this.startAnimation($),this.setAnimationOrigin(C,U)}else T||sC(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=N})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const y=this.getStack();y&&y.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),mu(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(r4),this.animationId++)}getTransformTemplate(){const{visualElement:y}=this.options;return y&&y.getProps().transformTemplate}willUpdate(y=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&lC(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let C=0;C<this.path.length;C++){const T=this.path[C];T.shouldResetTransform=!0,T.updateScroll("snapshot"),T.options.layoutRoot&&T.willUpdate(!1)}const{layoutId:S,layout:x}=this.options;if(S===void 0&&!x)return;const E=this.getTransformTemplate();this.prevTransformTemplateValue=E?E(this.latestValues,""):void 0,this.updateSnapshot(),y&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(oC);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(rC);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(l4),this.nodes.forEach(WO),this.nodes.forEach(e4)):this.nodes.forEach(rC),this.clearAllSnapshots();const S=tl.now();Aa.delta=nr(0,1e3/60,S-Aa.timestamp),Aa.timestamp=S,Aa.isProcessing=!0,YS.update.process(Aa),YS.preRender.process(Aa),YS.render.process(Aa),Aa.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,yx.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(a4),this.sharedNodes.forEach(s4)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,cn.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){cn.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!nl(this.snapshot.measuredBox.x)&&!nl(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 x=0;x<this.path.length;x++)this.path[x].updateScroll();const y=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected=oa(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:S}=this.options;S&&S.notify("LayoutMeasure",this.layout.layoutBox,y?y.layoutBox:void 0)}updateScroll(y="measure"){let S=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===y&&(S=!1),S&&this.instance){const x=f(this.instance);this.scroll={animationId:this.root.animationId,phase:y,isRoot:x,offset:u(this.instance),wasRoot:this.scroll?this.scroll.isRoot:x}}}resetTransform(){if(!p)return;const y=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,S=this.projectionDelta&&!PA(this.projectionDelta),x=this.getTransformTemplate(),E=x?x(this.latestValues,""):void 0,C=E!==this.prevTransformTemplateValue;y&&this.instance&&(S||ff(this.latestValues)||C)&&(p(this.instance,E),this.shouldResetTransform=!1,this.scheduleRender())}measure(y=!0){const S=this.measurePageBox();let x=this.removeElementScroll(S);return y&&(x=this.removeTransform(x)),d4(x),{animationId:this.root.animationId,measuredBox:S,layoutBox:x,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:y}=this.options;if(!y)return oa();const S=y.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(h4))){const{scroll:E}=this.root;E&&(fh(S.x,E.offset.x),fh(S.y,E.offset.y))}return S}removeElementScroll(y){const S=oa();if(Ao(S,y),this.scroll?.wasRoot)return S;for(let x=0;x<this.path.length;x++){const E=this.path[x],{scroll:C,options:T}=E;E!==this.root&&C&&T.layoutScroll&&(C.wasRoot&&Ao(S,y),fh(S.x,C.offset.x),fh(S.y,C.offset.y))}return S}applyTransform(y,S=!1){const x=oa();Ao(x,y);for(let E=0;E<this.path.length;E++){const C=this.path[E];!S&&C.options.layoutScroll&&C.scroll&&C!==C.root&&dh(x,{x:-C.scroll.offset.x,y:-C.scroll.offset.y}),ff(C.latestValues)&&dh(x,C.latestValues)}return ff(this.latestValues)&&dh(x,this.latestValues),x}removeTransform(y){const S=oa();Ao(S,y);for(let x=0;x<this.path.length;x++){const E=this.path[x];if(!E.instance||!ff(E.latestValues))continue;_x(E.latestValues)&&E.updateSnapshot();const C=oa(),T=E.measurePageBox();Ao(C,T),IA(S,E.latestValues,E.snapshot?E.snapshot.layoutBox:void 0,C)}return ff(this.latestValues)&&IA(S,this.latestValues),S}setTargetDelta(y){this.targetDelta=y,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(y){this.options={...this.options,...y,crossfade:y.crossfade!==void 0?y.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!==Aa.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(y=!1){const S=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=S.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=S.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=S.isSharedProjectionDirty);const x=!!this.resumingFrom||this!==S;if(!(y||x&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:C,layoutId:T}=this.options;if(!this.layout||!(C||T))return;this.resolvedRelativeTargetAt=Aa.timestamp;const z=this.getClosestProjectingParent();z&&this.linkedParentVersion!==z.layoutVersion&&!z.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(z&&z.layout?this.createRelativeTarget(z,this.layout.layoutBox,z.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=oa(),this.targetWithTransforms=oa()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),xO(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Ao(this.target,this.layout.layoutBox),oA(this.target,this.targetDelta)):Ao(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,z&&!!z.resumingFrom==!!this.resumingFrom&&!z.options.layoutScroll&&z.target&&this.animationProgress!==1?this.createRelativeTarget(z,this.target,z.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||_x(this.parent.latestValues)||aA(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(y,S,x){this.relativeParent=y,this.linkedParentVersion=y.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=oa(),this.relativeTargetOrigin=oa(),Bv(this.relativeTargetOrigin,S,x),Ao(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){const y=this.getLead(),S=!!this.resumingFrom||this!==y;let x=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(x=!1),S&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(x=!1),this.resolvedRelativeTargetAt===Aa.timestamp&&(x=!1),x)return;const{layout:E,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||!(E||C))return;Ao(this.layoutCorrected,this.layout.layoutBox);const T=this.treeScale.x,z=this.treeScale.y;j_(this.layoutCorrected,this.treeScale,this.path,S),y.layout&&!y.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(y.target=y.layout.layoutBox,y.targetWithTransforms=oa());const{target:N}=y;if(!N){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(KA(this.prevProjectionDelta.x,this.projectionDelta.x),KA(this.prevProjectionDelta.y,this.projectionDelta.y)),f0(this.projectionDelta,this.layoutCorrected,N,this.latestValues),(this.treeScale.x!==T||this.treeScale.y!==z||!aC(this.projectionDelta.x,this.prevProjectionDelta.x)||!aC(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",N))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(y=!0){if(this.options.visualElement?.scheduleRender(),y){const S=this.getStack();S&&S.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=hh(),this.projectionDelta=hh(),this.projectionDeltaWithTransform=hh()}setAnimationOrigin(y,S=!1){const x=this.snapshot,E=x?x.latestValues:{},C={...this.latestValues},T=hh();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!S;const z=oa(),N=x?x.source:void 0,H=this.layout?this.layout.source:void 0,Q=N!==H,q=this.getStack(),W=!q||q.members.length<=1,U=!!(Q&&!W&&this.options.crossfade===!0&&!this.path.some(c4));this.animationProgress=0;let $;this.mixTargetDelta=le=>{const pe=le/1e3;uC(T.x,y.x,pe),uC(T.y,y.y,pe),this.setTargetDelta(T),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Bv(z,this.layout.layoutBox,this.relativeParent.layout.layoutBox),u4(this.relativeTarget,this.relativeTargetOrigin,z,pe),$&&JO(this.relativeTarget,$)&&(this.isProjectionDirty=!1),$||($=oa()),Ao($,this.relativeTarget)),Q&&(this.animationValues=C,qO(C,E,this.latestValues,pe,U,W)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=pe},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(y){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(mu(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=cn.update(()=>{Vv.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=uh(0)),this.currentAnimation=LO(this.motionValue,[0,1e3],{...y,velocity:0,isSync:!0,onUpdate:S=>{this.mixTargetDelta(S),y.onUpdate&&y.onUpdate(S)},onStop:()=>{},onComplete:()=>{y.onComplete&&y.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 y=this.getStack();y&&y.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(FO),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const y=this.getLead();let{targetWithTransforms:S,target:x,layout:E,latestValues:C}=y;if(!(!S||!x||!E)){if(this!==y&&this.layout&&E&&pC(this.options.animationType,this.layout.layoutBox,E.layoutBox)){x=this.target||oa();const T=nl(this.layout.layoutBox.x);x.x.min=y.target.x.min,x.x.max=x.x.min+T;const z=nl(this.layout.layoutBox.y);x.y.min=y.target.y.min,x.y.max=x.y.min+z}Ao(S,x),dh(S,C),f0(this.projectionDeltaWithTransform,this.layoutCorrected,S,C)}}registerSharedNode(y,S){this.sharedNodes.has(y)||this.sharedNodes.set(y,new $O),this.sharedNodes.get(y).add(S);const E=S.options.initialPromotionConfig;S.promote({transition:E?E.transition:void 0,preserveFollowOpacity:E&&E.shouldPreserveFollowOpacity?E.shouldPreserveFollowOpacity(S):void 0})}isLead(){const y=this.getStack();return y?y.lead===this:!0}getLead(){const{layoutId:y}=this.options;return y?this.getStack()?.lead||this:this}getPrevLead(){const{layoutId:y}=this.options;return y?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:y}=this.options;if(y)return this.root.sharedNodes.get(y)}promote({needsReset:y,transition:S,preserveFollowOpacity:x}={}){const E=this.getStack();E&&E.promote(this,x),y&&(this.projectionDelta=void 0,this.needsReset=!0),S&&this.setOptions({transition:S})}relegate(){const y=this.getStack();return y?y.relegate(this):!1}resetSkewAndRotation(){const{visualElement:y}=this.options;if(!y)return;let S=!1;const{latestValues:x}=y;if((x.z||x.rotate||x.rotateX||x.rotateY||x.rotateZ||x.skewX||x.skewY)&&(S=!0),!S)return;const E={};x.z&&Gx("z",y,E,this.animationValues);for(let C=0;C<qx.length;C++)Gx(`rotate${qx[C]}`,y,E,this.animationValues),Gx(`skew${qx[C]}`,y,E,this.animationValues);y.render();for(const C in E)y.setStaticValue(C,E[C]),this.animationValues&&(this.animationValues[C]=E[C]);y.scheduleRender()}applyProjectionStyles(y,S){if(!this.instance||this.isSVG)return;if(!this.isVisible){y.visibility="hidden";return}const x=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,y.visibility="",y.opacity="",y.pointerEvents=Uv(S?.pointerEvents)||"",y.transform=x?x(this.latestValues,""):"none";return}const E=this.getLead();if(!this.projectionDelta||!this.layout||!E.target){this.options.layoutId&&(y.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,y.pointerEvents=Uv(S?.pointerEvents)||""),this.hasProjected&&!ff(this.latestValues)&&(y.transform=x?x({},""):"none",this.hasProjected=!1);return}y.visibility="";const C=E.animationValues||E.latestValues;this.applyTransformsToTarget();let T=IO(this.projectionDeltaWithTransform,this.treeScale,C);x&&(T=x(C,T)),y.transform=T;const{x:z,y:N}=this.projectionDelta;y.transformOrigin=`${z.origin*100}% ${N.origin*100}% 0`,E.animationValues?y.opacity=E===this?C.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:C.opacityExit:y.opacity=E===this?C.opacity!==void 0?C.opacity:"":C.opacityExit!==void 0?C.opacityExit:0;for(const H in wx){if(C[H]===void 0)continue;const{correct:Q,applyTo:q,isCSSVariable:W}=wx[H],U=T==="none"?C[H]:Q(C[H],E);if(q){const $=q.length;for(let le=0;le<$;le++)y[q[le]]=U}else W?this.options.visualElement.renderState.vars[H]=U:y[H]=U}this.options.layoutId&&(y.pointerEvents=E===this?Uv(S?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(y=>y.currentAnimation?.stop()),this.root.nodes.forEach(oC),this.root.sharedNodes.clear()}}}function WO(i){i.updateLayout()}function e4(i){const o=i.resumeFrom?.snapshot||i.snapshot;if(i.isLead()&&i.layout&&o&&i.hasListeners("didUpdate")){const{layoutBox:u,measuredBox:f}=i.layout,{animationType:p}=i.options,g=o.source!==i.layout.source;p==="size"?Mi(C=>{const T=g?o.measuredBox[C]:o.layoutBox[C],z=nl(T);T.min=u[C].min,T.max=T.min+z}):pC(p,o.layoutBox,u)&&Mi(C=>{const T=g?o.measuredBox[C]:o.layoutBox[C],z=nl(u[C]);T.max=T.min+z,i.relativeTarget&&!i.currentAnimation&&(i.isProjectionDirty=!0,i.relativeTarget[C].max=i.relativeTarget[C].min+z)});const y=hh();f0(y,u,o.layoutBox);const S=hh();g?f0(S,i.applyTransform(f,!0),o.measuredBox):f0(S,u,o.layoutBox);const x=!PA(y);let E=!1;if(!i.resumeFrom){const C=i.getClosestProjectingParent();if(C&&!C.resumeFrom){const{snapshot:T,layout:z}=C;if(T&&z){const N=oa();Bv(N,o.layoutBox,T.layoutBox);const H=oa();Bv(H,u,z.layoutBox),tC(N,H)||(E=!0),C.options.layoutRoot&&(i.relativeTarget=H,i.relativeTargetOrigin=N,i.relativeParent=C)}}}i.notifyListeners("didUpdate",{layout:u,snapshot:o,delta:S,layoutDelta:y,hasLayoutChanged:x,hasRelativeLayoutChanged:E})}else if(i.isLead()){const{onExitComplete:u}=i.options;u&&u()}i.options.transition=void 0}function t4(i){i.parent&&(i.isProjecting()||(i.isProjectionDirty=i.parent.isProjectionDirty),i.isSharedProjectionDirty||(i.isSharedProjectionDirty=!!(i.isProjectionDirty||i.parent.isProjectionDirty||i.parent.isSharedProjectionDirty)),i.isTransformDirty||(i.isTransformDirty=i.parent.isTransformDirty))}function n4(i){i.isProjectionDirty=i.isSharedProjectionDirty=i.isTransformDirty=!1}function a4(i){i.clearSnapshot()}function oC(i){i.clearMeasurements()}function rC(i){i.isLayoutDirty=!1}function l4(i){const{visualElement:o}=i.options;o&&o.getProps().onBeforeLayoutMeasure&&o.notify("BeforeLayoutMeasure"),i.resetTransform()}function sC(i){i.finishAnimation(),i.targetDelta=i.relativeTarget=i.target=void 0,i.isProjectionDirty=!0}function i4(i){i.resolveTargetDelta()}function o4(i){i.calcProjection()}function r4(i){i.resetSkewAndRotation()}function s4(i){i.removeLeadSnapshot()}function uC(i,o,u){i.translate=xn(o.translate,0,u),i.scale=xn(o.scale,1,u),i.origin=o.origin,i.originPoint=o.originPoint}function cC(i,o,u,f){i.min=xn(o.min,u.min,f),i.max=xn(o.max,u.max,f)}function u4(i,o,u,f){cC(i.x,o.x,u.x,f),cC(i.y,o.y,u.y,f)}function c4(i){return i.animationValues&&i.animationValues.opacityExit!==void 0}const f4={duration:.45,ease:[.4,0,.1,1]},fC=i=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(i),dC=fC("applewebkit/")&&!fC("chrome/")?Math.round:zi;function hC(i){i.min=dC(i.min),i.max=dC(i.max)}function d4(i){hC(i.x),hC(i.y)}function pC(i,o,u){return i==="position"||i==="preserve-aspect"&&!SO(nC(o),nC(u),.2)}function h4(i){return i!==i.root&&i.scroll?.wasRoot}const p4=iC({attachResizeListener:(i,o)=>s0(i,"resize",o),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Xx={current:void 0},mC=iC({measureScroll:i=>({x:i.scrollLeft,y:i.scrollTop}),defaultParent:()=>{if(!Xx.current){const i=new p4({});i.mount(window),i.setOptions({layoutScroll:!0}),Xx.current=i}return Xx.current},resetTransform:(i,o)=>{i.style.transform=o!==void 0?o:"none"},checkIsScrollRoot:i=>window.getComputedStyle(i).position==="fixed"}),m4={pan:{Feature:NO},drag:{Feature:kO,ProjectionNode:mC,MeasureLayout:VA}};function gC(i,o,u){const{props:f}=i;i.animationState&&f.whileHover&&i.animationState.setActive("whileHover",u==="Start");const p="onHover"+u,g=f[p];g&&cn.postRender(()=>g(o,u0(o)))}class g4 extends bu{mount(){const{current:o}=this.node;o&&(this.unmount=HD(o,(u,f)=>(gC(this.node,f,"Start"),p=>gC(this.node,p,"End"))))}unmount(){}}class y4 extends bu{constructor(){super(...arguments),this.isActive=!1}onFocus(){let o=!1;try{o=this.node.current.matches(":focus-visible")}catch{o=!0}!o||!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=Im(s0(this.node.current,"focus",()=>this.onFocus()),s0(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function yC(i,o,u){const{props:f}=i;if(i.current instanceof HTMLButtonElement&&i.current.disabled)return;i.animationState&&f.whileTap&&i.animationState.setActive("whileTap",u==="Start");const p="onTap"+(u==="End"?"":u),g=f[p];g&&cn.postRender(()=>g(o,u0(o)))}class v4 extends bu{mount(){const{current:o}=this.node;o&&(this.unmount=qD(o,(u,f)=>(yC(this.node,f,"Start"),(p,{success:g})=>yC(this.node,p,g?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const Qx=new WeakMap,Zx=new WeakMap,b4=i=>{const o=Qx.get(i.target);o&&o(i)},S4=i=>{i.forEach(b4)};function x4({root:i,...o}){const u=i||document;Zx.has(u)||Zx.set(u,{});const f=Zx.get(u),p=JSON.stringify(o);return f[p]||(f[p]=new IntersectionObserver(S4,{root:i,...o})),f[p]}function w4(i,o,u){const f=x4(o);return Qx.set(i,u),f.observe(i),()=>{Qx.delete(i),f.unobserve(i)}}const E4={some:0,all:1};class T4 extends bu{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:o={}}=this.node.getProps(),{root:u,margin:f,amount:p="some",once:g}=o,y={root:u?u.current:void 0,rootMargin:f,threshold:typeof p=="number"?p:E4[p]},S=x=>{const{isIntersecting:E}=x;if(this.isInView===E||(this.isInView=E,g&&!E&&this.hasEnteredView))return;E&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",E);const{onViewportEnter:C,onViewportLeave:T}=this.node.getProps(),z=E?C:T;z&&z(x)};return w4(this.node.current,y,S)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:o,prevProps:u}=this.node;["amount","margin","root"].some(A4(o,u))&&this.startObserver()}unmount(){}}function A4({viewport:i={}},{viewport:o={}}={}){return u=>i[u]!==o[u]}const C4={...pO,...{inView:{Feature:T4},tap:{Feature:v4},focus:{Feature:y4},hover:{Feature:g4}},...m4,...{layout:{ProjectionNode:mC,MeasureLayout:VA}}},z4=D_(C4,G_);function vC(i){var o,u,f="";if(typeof i=="string"||typeof i=="number")f+=i;else if(typeof i=="object")if(Array.isArray(i)){var p=i.length;for(o=0;o<p;o++)i[o]&&(u=vC(i[o]))&&(f&&(f+=" "),f+=u)}else for(u in i)i[u]&&(f&&(f+=" "),f+=u);return f}function bC(){for(var i,o,u=0,f="",p=arguments.length;u<p;u++)(i=arguments[u])&&(o=vC(i))&&(f&&(f+=" "),f+=o);return f}const Kx="-",R4=i=>{const o=D4(i),{conflictingClassGroups:u,conflictingClassGroupModifiers:f}=i;return{getClassGroupId:y=>{const S=y.split(Kx);return S[0]===""&&S.length!==1&&S.shift(),SC(S,o)||M4(y)},getConflictingClassGroupIds:(y,S)=>{const x=u[y]||[];return S&&f[y]?[...x,...f[y]]:x}}},SC=(i,o)=>{if(i.length===0)return o.classGroupId;const u=i[0],f=o.nextPart.get(u),p=f?SC(i.slice(1),f):void 0;if(p)return p;if(o.validators.length===0)return;const g=i.join(Kx);return o.validators.find(({validator:y})=>y(g))?.classGroupId},xC=/^\[(.+)\]$/,M4=i=>{if(xC.test(i)){const o=xC.exec(i)[1],u=o?.substring(0,o.indexOf(":"));if(u)return"arbitrary.."+u}},D4=i=>{const{theme:o,prefix:u}=i,f={nextPart:new Map,validators:[]};return O4(Object.entries(i.classGroups),u).forEach(([g,y])=>{Jx(y,f,g,o)}),f},Jx=(i,o,u,f)=>{i.forEach(p=>{if(typeof p=="string"){const g=p===""?o:wC(o,p);g.classGroupId=u;return}if(typeof p=="function"){if(_4(p)){Jx(p(f),o,u,f);return}o.validators.push({validator:p,classGroupId:u});return}Object.entries(p).forEach(([g,y])=>{Jx(y,wC(o,g),u,f)})})},wC=(i,o)=>{let u=i;return o.split(Kx).forEach(f=>{u.nextPart.has(f)||u.nextPart.set(f,{nextPart:new Map,validators:[]}),u=u.nextPart.get(f)}),u},_4=i=>i.isThemeGetter,O4=(i,o)=>o?i.map(([u,f])=>{const p=f.map(g=>typeof g=="string"?o+g:typeof g=="object"?Object.fromEntries(Object.entries(g).map(([y,S])=>[o+y,S])):g);return[u,p]}):i,j4=i=>{if(i<1)return{get:()=>{},set:()=>{}};let o=0,u=new Map,f=new Map;const p=(g,y)=>{u.set(g,y),o++,o>i&&(o=0,f=u,u=new Map)};return{get(g){let y=u.get(g);if(y!==void 0)return y;if((y=f.get(g))!==void 0)return p(g,y),y},set(g,y){u.has(g)?u.set(g,y):p(g,y)}}},EC="!",k4=i=>{const{separator:o,experimentalParseClassName:u}=i,f=o.length===1,p=o[0],g=o.length,y=S=>{const x=[];let E=0,C=0,T;for(let q=0;q<S.length;q++){let W=S[q];if(E===0){if(W===p&&(f||S.slice(q,q+g)===o)){x.push(S.slice(C,q)),C=q+g;continue}if(W==="/"){T=q;continue}}W==="["?E++:W==="]"&&E--}const z=x.length===0?S:S.substring(C),N=z.startsWith(EC),H=N?z.substring(1):z,Q=T&&T>C?T-C:void 0;return{modifiers:x,hasImportantModifier:N,baseClassName:H,maybePostfixModifierPosition:Q}};return u?S=>u({className:S,parseClassName:y}):y},N4=i=>{if(i.length<=1)return i;const o=[];let u=[];return i.forEach(f=>{f[0]==="["?(o.push(...u.sort(),f),u=[]):u.push(f)}),o.push(...u.sort()),o},U4=i=>({cache:j4(i.cacheSize),parseClassName:k4(i),...R4(i)}),L4=/\s+/,B4=(i,o)=>{const{parseClassName:u,getClassGroupId:f,getConflictingClassGroupIds:p}=o,g=[],y=i.trim().split(L4);let S="";for(let x=y.length-1;x>=0;x-=1){const E=y[x],{modifiers:C,hasImportantModifier:T,baseClassName:z,maybePostfixModifierPosition:N}=u(E);let H=!!N,Q=f(H?z.substring(0,N):z);if(!Q){if(!H){S=E+(S.length>0?" "+S:S);continue}if(Q=f(z),!Q){S=E+(S.length>0?" "+S:S);continue}H=!1}const q=N4(C).join(":"),W=T?q+EC:q,U=W+Q;if(g.includes(U))continue;g.push(U);const $=p(Q,H);for(let le=0;le<$.length;++le){const pe=$[le];g.push(W+pe)}S=E+(S.length>0?" "+S:S)}return S};function H4(){let i=0,o,u,f="";for(;i<arguments.length;)(o=arguments[i++])&&(u=TC(o))&&(f&&(f+=" "),f+=u);return f}const TC=i=>{if(typeof i=="string")return i;let o,u="";for(let f=0;f<i.length;f++)i[f]&&(o=TC(i[f]))&&(u&&(u+=" "),u+=o);return u};function V4(i,...o){let u,f,p,g=y;function y(x){const E=o.reduce((C,T)=>T(C),i());return u=U4(E),f=u.cache.get,p=u.cache.set,g=S,S(x)}function S(x){const E=f(x);if(E)return E;const C=B4(x,u);return p(x,C),C}return function(){return g(H4.apply(null,arguments))}}const fn=i=>{const o=u=>u[i]||[];return o.isThemeGetter=!0,o},AC=/^\[(?:([a-z-]+):)?(.+)\]$/i,Y4=/^\d+\/\d+$/,q4=new Set(["px","full","screen"]),G4=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,X4=/\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$/,Q4=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Z4=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,K4=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Wr=i=>mh(i)||q4.has(i)||Y4.test(i),Su=i=>gh(i,"length",t6),mh=i=>!!i&&!Number.isNaN(Number(i)),$x=i=>gh(i,"number",mh),d0=i=>!!i&&Number.isInteger(Number(i)),J4=i=>i.endsWith("%")&&mh(i.slice(0,-1)),gt=i=>AC.test(i),xu=i=>G4.test(i),$4=new Set(["length","size","percentage"]),I4=i=>gh(i,$4,CC),F4=i=>gh(i,"position",CC),P4=new Set(["image","url"]),W4=i=>gh(i,P4,a6),e6=i=>gh(i,"",n6),h0=()=>!0,gh=(i,o,u)=>{const f=AC.exec(i);return f?f[1]?typeof o=="string"?f[1]===o:o.has(f[1]):u(f[2]):!1},t6=i=>X4.test(i)&&!Q4.test(i),CC=()=>!1,n6=i=>Z4.test(i),a6=i=>K4.test(i),l6=V4(()=>{const i=fn("colors"),o=fn("spacing"),u=fn("blur"),f=fn("brightness"),p=fn("borderColor"),g=fn("borderRadius"),y=fn("borderSpacing"),S=fn("borderWidth"),x=fn("contrast"),E=fn("grayscale"),C=fn("hueRotate"),T=fn("invert"),z=fn("gap"),N=fn("gradientColorStops"),H=fn("gradientColorStopPositions"),Q=fn("inset"),q=fn("margin"),W=fn("opacity"),U=fn("padding"),$=fn("saturate"),le=fn("scale"),pe=fn("sepia"),de=fn("skew"),he=fn("space"),re=fn("translate"),we=()=>["auto","contain","none"],ye=()=>["auto","hidden","clip","visible","scroll"],je=()=>["auto",gt,o],ee=()=>[gt,o],Re=()=>["",Wr,Su],Ke=()=>["auto",mh,gt],lt=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],G=()=>["solid","dashed","dotted","double","none"],I=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],fe=()=>["start","end","center","between","around","evenly","stretch"],Ae=()=>["","0",gt],De=()=>["auto","avoid","all","avoid-page","page","left","right","column"],k=()=>[mh,gt];return{cacheSize:500,separator:":",theme:{colors:[h0],spacing:[Wr,Su],blur:["none","",xu,gt],brightness:k(),borderColor:[i],borderRadius:["none","","full",xu,gt],borderSpacing:ee(),borderWidth:Re(),contrast:k(),grayscale:Ae(),hueRotate:k(),invert:Ae(),gap:ee(),gradientColorStops:[i],gradientColorStopPositions:[J4,Su],inset:je(),margin:je(),opacity:k(),padding:ee(),saturate:k(),scale:k(),sepia:Ae(),skew:k(),space:ee(),translate:ee()},classGroups:{aspect:[{aspect:["auto","square","video",gt]}],container:["container"],columns:[{columns:[xu]}],"break-after":[{"break-after":De()}],"break-before":[{"break-before":De()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...lt(),gt]}],overflow:[{overflow:ye()}],"overflow-x":[{"overflow-x":ye()}],"overflow-y":[{"overflow-y":ye()}],overscroll:[{overscroll:we()}],"overscroll-x":[{"overscroll-x":we()}],"overscroll-y":[{"overscroll-y":we()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[Q]}],"inset-x":[{"inset-x":[Q]}],"inset-y":[{"inset-y":[Q]}],start:[{start:[Q]}],end:[{end:[Q]}],top:[{top:[Q]}],right:[{right:[Q]}],bottom:[{bottom:[Q]}],left:[{left:[Q]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",d0,gt]}],basis:[{basis:je()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",gt]}],grow:[{grow:Ae()}],shrink:[{shrink:Ae()}],order:[{order:["first","last","none",d0,gt]}],"grid-cols":[{"grid-cols":[h0]}],"col-start-end":[{col:["auto",{span:["full",d0,gt]},gt]}],"col-start":[{"col-start":Ke()}],"col-end":[{"col-end":Ke()}],"grid-rows":[{"grid-rows":[h0]}],"row-start-end":[{row:["auto",{span:[d0,gt]},gt]}],"row-start":[{"row-start":Ke()}],"row-end":[{"row-end":Ke()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",gt]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",gt]}],gap:[{gap:[z]}],"gap-x":[{"gap-x":[z]}],"gap-y":[{"gap-y":[z]}],"justify-content":[{justify:["normal",...fe()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...fe(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...fe(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[U]}],px:[{px:[U]}],py:[{py:[U]}],ps:[{ps:[U]}],pe:[{pe:[U]}],pt:[{pt:[U]}],pr:[{pr:[U]}],pb:[{pb:[U]}],pl:[{pl:[U]}],m:[{m:[q]}],mx:[{mx:[q]}],my:[{my:[q]}],ms:[{ms:[q]}],me:[{me:[q]}],mt:[{mt:[q]}],mr:[{mr:[q]}],mb:[{mb:[q]}],ml:[{ml:[q]}],"space-x":[{"space-x":[he]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[he]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",gt,o]}],"min-w":[{"min-w":[gt,o,"min","max","fit"]}],"max-w":[{"max-w":[gt,o,"none","full","min","max","fit","prose",{screen:[xu]},xu]}],h:[{h:[gt,o,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[gt,o,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[gt,o,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[gt,o,"auto","min","max","fit"]}],"font-size":[{text:["base",xu,Su]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",$x]}],"font-family":[{font:[h0]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",gt]}],"line-clamp":[{"line-clamp":["none",mh,$x]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Wr,gt]}],"list-image":[{"list-image":["none",gt]}],"list-style-type":[{list:["none","disc","decimal",gt]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[i]}],"placeholder-opacity":[{"placeholder-opacity":[W]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[i]}],"text-opacity":[{"text-opacity":[W]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...G(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Wr,Su]}],"underline-offset":[{"underline-offset":["auto",Wr,gt]}],"text-decoration-color":[{decoration:[i]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:ee()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",gt]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",gt]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[W]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...lt(),F4]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",I4]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},W4]}],"bg-color":[{bg:[i]}],"gradient-from-pos":[{from:[H]}],"gradient-via-pos":[{via:[H]}],"gradient-to-pos":[{to:[H]}],"gradient-from":[{from:[N]}],"gradient-via":[{via:[N]}],"gradient-to":[{to:[N]}],rounded:[{rounded:[g]}],"rounded-s":[{"rounded-s":[g]}],"rounded-e":[{"rounded-e":[g]}],"rounded-t":[{"rounded-t":[g]}],"rounded-r":[{"rounded-r":[g]}],"rounded-b":[{"rounded-b":[g]}],"rounded-l":[{"rounded-l":[g]}],"rounded-ss":[{"rounded-ss":[g]}],"rounded-se":[{"rounded-se":[g]}],"rounded-ee":[{"rounded-ee":[g]}],"rounded-es":[{"rounded-es":[g]}],"rounded-tl":[{"rounded-tl":[g]}],"rounded-tr":[{"rounded-tr":[g]}],"rounded-br":[{"rounded-br":[g]}],"rounded-bl":[{"rounded-bl":[g]}],"border-w":[{border:[S]}],"border-w-x":[{"border-x":[S]}],"border-w-y":[{"border-y":[S]}],"border-w-s":[{"border-s":[S]}],"border-w-e":[{"border-e":[S]}],"border-w-t":[{"border-t":[S]}],"border-w-r":[{"border-r":[S]}],"border-w-b":[{"border-b":[S]}],"border-w-l":[{"border-l":[S]}],"border-opacity":[{"border-opacity":[W]}],"border-style":[{border:[...G(),"hidden"]}],"divide-x":[{"divide-x":[S]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[S]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[W]}],"divide-style":[{divide:G()}],"border-color":[{border:[p]}],"border-color-x":[{"border-x":[p]}],"border-color-y":[{"border-y":[p]}],"border-color-s":[{"border-s":[p]}],"border-color-e":[{"border-e":[p]}],"border-color-t":[{"border-t":[p]}],"border-color-r":[{"border-r":[p]}],"border-color-b":[{"border-b":[p]}],"border-color-l":[{"border-l":[p]}],"divide-color":[{divide:[p]}],"outline-style":[{outline:["",...G()]}],"outline-offset":[{"outline-offset":[Wr,gt]}],"outline-w":[{outline:[Wr,Su]}],"outline-color":[{outline:[i]}],"ring-w":[{ring:Re()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[i]}],"ring-opacity":[{"ring-opacity":[W]}],"ring-offset-w":[{"ring-offset":[Wr,Su]}],"ring-offset-color":[{"ring-offset":[i]}],shadow:[{shadow:["","inner","none",xu,e6]}],"shadow-color":[{shadow:[h0]}],opacity:[{opacity:[W]}],"mix-blend":[{"mix-blend":[...I(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":I()}],filter:[{filter:["","none"]}],blur:[{blur:[u]}],brightness:[{brightness:[f]}],contrast:[{contrast:[x]}],"drop-shadow":[{"drop-shadow":["","none",xu,gt]}],grayscale:[{grayscale:[E]}],"hue-rotate":[{"hue-rotate":[C]}],invert:[{invert:[T]}],saturate:[{saturate:[$]}],sepia:[{sepia:[pe]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[u]}],"backdrop-brightness":[{"backdrop-brightness":[f]}],"backdrop-contrast":[{"backdrop-contrast":[x]}],"backdrop-grayscale":[{"backdrop-grayscale":[E]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[C]}],"backdrop-invert":[{"backdrop-invert":[T]}],"backdrop-opacity":[{"backdrop-opacity":[W]}],"backdrop-saturate":[{"backdrop-saturate":[$]}],"backdrop-sepia":[{"backdrop-sepia":[pe]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[y]}],"border-spacing-x":[{"border-spacing-x":[y]}],"border-spacing-y":[{"border-spacing-y":[y]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",gt]}],duration:[{duration:k()}],ease:[{ease:["linear","in","out","in-out",gt]}],delay:[{delay:k()}],animate:[{animate:["none","spin","ping","pulse","bounce",gt]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[le]}],"scale-x":[{"scale-x":[le]}],"scale-y":[{"scale-y":[le]}],rotate:[{rotate:[d0,gt]}],"translate-x":[{"translate-x":[re]}],"translate-y":[{"translate-y":[re]}],"skew-x":[{"skew-x":[de]}],"skew-y":[{"skew-y":[de]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",gt]}],accent:[{accent:["auto",i]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",gt]}],"caret-color":[{caret:[i]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":ee()}],"scroll-mx":[{"scroll-mx":ee()}],"scroll-my":[{"scroll-my":ee()}],"scroll-ms":[{"scroll-ms":ee()}],"scroll-me":[{"scroll-me":ee()}],"scroll-mt":[{"scroll-mt":ee()}],"scroll-mr":[{"scroll-mr":ee()}],"scroll-mb":[{"scroll-mb":ee()}],"scroll-ml":[{"scroll-ml":ee()}],"scroll-p":[{"scroll-p":ee()}],"scroll-px":[{"scroll-px":ee()}],"scroll-py":[{"scroll-py":ee()}],"scroll-ps":[{"scroll-ps":ee()}],"scroll-pe":[{"scroll-pe":ee()}],"scroll-pt":[{"scroll-pt":ee()}],"scroll-pr":[{"scroll-pr":ee()}],"scroll-pb":[{"scroll-pb":ee()}],"scroll-pl":[{"scroll-pl":ee()}],"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",gt]}],fill:[{fill:[i,"none"]}],"stroke-w":[{stroke:[Wr,Su,$x]}],stroke:[{stroke:[i,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}});function Kt(...i){return l6(bC(i))}const zC=i=>typeof i=="boolean"?`${i}`:i===0?"0":i,RC=bC,MC=(i,o)=>u=>{var f;if(o?.variants==null)return RC(i,u?.class,u?.className);const{variants:p,defaultVariants:g}=o,y=Object.keys(p).map(E=>{const C=u?.[E],T=g?.[E];if(C===null)return null;const z=zC(C)||zC(T);return p[E][z]}),S=u&&Object.entries(u).reduce((E,C)=>{let[T,z]=C;return z===void 0||(E[T]=z),E},{}),x=o==null||(f=o.compoundVariants)===null||f===void 0?void 0:f.reduce((E,C)=>{let{class:T,className:z,...N}=C;return Object.entries(N).every(H=>{let[Q,q]=H;return Array.isArray(q)?q.includes({...g,...S}[Q]):{...g,...S}[Q]===q})?[...E,T,z]:E},[]);return RC(i,y,x,u?.class,u?.className)},i6=MC("inline-flex items-center justify-center rounded-full font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-zinc-950 focus:ring-offset-2 dark:focus:ring-zinc-300",{variants:{variant:{default:"border border-transparent bg-zinc-900 text-zinc-50 hover:bg-zinc-900/80 dark:bg-zinc-50 dark:text-zinc-900 dark:hover:bg-zinc-50/80",secondary:"border border-transparent bg-zinc-100 text-zinc-900 hover:bg-zinc-100/80 dark:bg-zinc-800 dark:text-zinc-50 dark:hover:bg-zinc-800/80",destructive:"border border-transparent bg-red-500 text-zinc-50 hover:bg-red-500/80 dark:bg-red-900 dark:text-zinc-50 dark:hover:bg-red-900/80",outline:"border border-zinc-200 text-zinc-950 dark:border-zinc-800 dark:text-zinc-50",success:"border-0 bg-emerald-500/20 text-emerald-700 dark:bg-emerald-500/25 dark:text-emerald-300 font-bold",warning:"border-0 bg-amber-500/20 text-amber-700 dark:bg-amber-500/25 dark:text-amber-300 font-bold",error:"border-0 bg-red-500/20 text-red-700 dark:bg-red-500/25 dark:text-red-300 font-bold"},size:{default:"px-2.5 py-0.5 text-xs h-5",sm:"px-1.5 py-0 text-[10px] h-4 min-w-4",lg:"px-3 py-1 text-sm h-6"}},defaultVariants:{variant:"default",size:"default"}});function DC({className:i,variant:o,size:u,...f}){return M.jsx("div",{className:Kt(i6({variant:o,size:u}),i),...f})}function p0({count:i,className:o,size:u="sm",error:f=!1}){const p=f?"error":i===0?"success":"warning";return M.jsx(DC,{variant:p,size:u,className:Kt("font-mono",o),children:i})}const o6={type:"spring",bounce:.1,duration:.25},_C=Ta.memo(function({steps:o,badgeText:u,className:f,expanded:p,onExpandedChange:g,activeStep:y,onActiveStepChange:S}){const[x,E]=j.useState(null),[C,T]=j.useState(!1),z=y!==void 0?y:x,N=p!==void 0?p:C,H=j.useCallback(I=>{S?S(I):E(I)},[S]),Q=j.useCallback(I=>{g?g(I):T(I)},[g]),[q,W]=j.useState(null),[U,$]=OC(),[le,pe]=OC(),de=j.useRef(null),he=j.useRef(null),[re,we]=j.useState(0),ye=$.height,je=pe.width,ee=j.useCallback(()=>{Q(!1),H(null)},[Q,H]);r6(he,ee),j.useEffect(()=>{!je||re>0||we(je)},[je,re]);const Re=j.useCallback((I,fe)=>{if(!de.current)return;const Ae=fe!==null&&I>fe,De=fe!==null&&I<fe;let k=I;if(Ae){const xe=I+1;xe<o.length&&(k=xe)}else if(De){const xe=I-1;xe>=0&&(k=xe)}const te=de.current.querySelector(`[data-step-index="${k}"]`);te&&te.scrollIntoView({behavior:"smooth",block:"nearest",inline:"center"})},[o.length]),Ke=j.useCallback(I=>{if(z===I&&N){Q(!1),H(null);return}const fe=o.findIndex(Ae=>Ae.id===I);H(I),Q(!0),fe>=0&&(setTimeout(()=>{Re(fe,q)},100),W(fe))},[z,N,o,Re,q,H,Q]),lt=j.useCallback(()=>{if(!z)return null;const I=o.find(fe=>fe.id===z);return I?M.jsxs("div",{className:"space-y-4 pb-3",children:[M.jsxs("div",{className:"space-y-2",children:[M.jsx("h3",{className:"text-lg font-medium text-zinc-950 dark:text-zinc-50",children:I.title}),M.jsx("p",{className:"text-sm text-zinc-500 dark:text-zinc-400",children:I.description})]}),I.content]}):null},[z,o]);j.useMemo(()=>z&&o.find(fe=>fe.id===z)?.title||"",[z,o]);const G=j.useMemo(()=>o.map((I,fe)=>({id:I.id,label:I.title,step:(fe+1).toString(),onClick:()=>Ke(I.id),isActive:z===I.id,isFirst:fe===0,isLast:fe===o.length-1})),[o,z,Ke]);return M.jsxs("div",{className:Kt("space-y-2 w-full max-w-sm sm:max-w-lg mx-auto px-2 sm:px-0",f),children:[u&&M.jsx(DC,{variant:"outline",className:"bg-zinc-100 border-zinc-200 text-zinc-500 dark:bg-zinc-800 dark:border-zinc-800 dark:text-zinc-400",children:u}),M.jsx(n_,{transition:o6,children:M.jsx("div",{className:"w-full rounded-2xl shadow-[0_0_0_1px_rgba(0,0,0,0.08),0px_2px_2px_rgba(0,0,0,0.04),0px_8px_16px_-4px_rgba(0,0,0,0.04)] dark:shadow-[0_0_0_1px_rgba(255,252,240,0.08),0px_2px_2px_rgba(0,0,0,0.2),0px_8px_16px_-4px_rgba(0,0,0,0.3)] bg-white overflow-hidden dark:bg-zinc-950",ref:he,children:M.jsxs("div",{className:"rounded-2xl",children:[M.jsx("div",{className:"overflow-hidden",children:M.jsx(PD,{initial:!1,mode:"wait",children:N?M.jsx(z4.div,{initial:{height:0},animate:{height:ye||0},exit:{height:0},className:"",children:M.jsx("div",{ref:U,className:"px-2 sm:px-2",children:M.jsx("div",{className:"pb-1",children:M.jsx("div",{className:"shadow-[0px_1px_1px_0px_rgba(0,0,0,0.05),0px_1px_1px_0px_rgba(255,252,240,0.5)_inset,0px_0px_0px_1px_hsla(0,0%,100%,0.1)_inset,0px_0px_1px_0px_rgba(28,27,26,0.5)] dark:shadow-[0px_1px_1px_0px_rgba(0,0,0,0.2),0px_1px_1px_0px_rgba(255,255,255,0.05)_inset,0px_0px_0px_1px_hsla(0,0%,100%,0.05)_inset,0px_0px_1px_0px_rgba(0,0,0,0.8)] bg-zinc-100/50 rounded-[0.8rem] px-3 py-4 mt-3 mb-2 dark:bg-zinc-800/50",children:lt()})})})},"expanded-content"):null})}),M.jsx("div",{className:"relative z-10",children:M.jsx(kC,{className:"w-full",viewportClassName:"scrollbar-hide",maskHeight:16,ref:I=>{I&&(de.current=I,le(I))},children:M.jsx("div",{className:"flex items-center p-[1px] w-max min-w-full",children:G.map((I,fe)=>M.jsxs("button",{"data-step-index":fe,onClick:I.onClick,className:Kt("text-sm text-zinc-500 transition-colors py-3 px-3 sm:py-4 sm:px-4 whitespace-nowrap shrink-0 flex items-center gap-2 min-h-[44px] sm:min-h-0 dark:text-zinc-400",I.isActive?"text-zinc-950 font-medium bg-zinc-100/50 dark:text-zinc-50 dark:bg-zinc-800/50":"hover:bg-zinc-100/60 active:bg-zinc-100/70 dark:hover:bg-zinc-800/60 dark:active:bg-zinc-800/70"),children:[M.jsx("div",{className:"text-[10px] w-5 h-5 sm:w-5 sm:h-5 flex items-center justify-center shadow-[0px_1px_1px_0px_hsla(0,0%,0%,0.02)_inset,0px_1px_1px_0px_hsla(0,0%,0%,0.02)_inset,0px_0px_0px_1px_rgba(255,255,255,0.25)] dark:shadow-[0px_1px_1px_0px_hsla(0,0%,100%,0.02)_inset,0px_1px_1px_0px_rgba(255,255,255,0.05)_inset,0px_0px_0px_1px_hsla(0,0%,100%,0.05)_inset,0px_0px_1px_0px_rgba(0,0,0,0.25)] font-bold rounded-md transition-all duration-300",children:M.jsx("span",{className:Kt("w-full rounded-md",I.isActive?"bg-blue-300/20 dark:bg-blue-500/20 text-blue-700 dark:text-blue-400":"bg-zinc-100/50 text-zinc-500 dark:bg-zinc-800/50 dark:text-zinc-400"),children:I.step})}),M.jsx("span",{className:"text-xs sm:text-sm font-medium text-zinc-950 dark:text-zinc-50",children:I.label})]},I.id))})})})]})})})]})});_C.displayName="DynamicToolbarExpandable";function OC(){const[i,o]=j.useState({left:0,top:0,width:0,height:0}),[u,f]=j.useState(null),p=j.useRef(null),g=j.useCallback(()=>{p.current&&p.current.disconnect()},[]),y=j.useCallback(S=>{f(S)},[]);return j.useEffect(()=>{if(u)return p.current&&p.current.disconnect(),p.current=new ResizeObserver(([S])=>{if(S&&S.contentRect){const{left:x,top:E,width:C,height:T}=S.contentRect;o({left:x,top:E,width:C,height:T})}}),p.current.observe(u),()=>{p.current&&p.current.disconnect()}},[u]),[y,i,g]}function r6(i,o){j.useEffect(()=>{const u=f=>{const p=i?.current;!p||p.contains(f?.target||null)||o(f)};return document.addEventListener("mousedown",u),document.addEventListener("touchstart",u),()=>{document.removeEventListener("mousedown",u),document.removeEventListener("touchstart",u)}},[i,o])}function s6(){const[i,o]=j.useState(!1);return j.useEffect(()=>{if(typeof window>"u")return;const u=new AbortController,{signal:f}=u,p=()=>{const y="ontouchstart"in window||navigator.maxTouchPoints>0,S=window.matchMedia("(pointer: coarse)").matches;o(y&&S)};return window.matchMedia("(pointer: coarse)").addEventListener("change",p,{signal:f}),window.addEventListener("pointerdown",p,{signal:f}),p(),()=>u.abort()},[]),i}const jC=Ta.createContext(!1),kC=Ta.forwardRef(({className:i,children:o,scrollHideDelay:u=0,viewportClassName:f,maskClassName:p,maskHeight:g=30,...y},S)=>{const[x,E]=Ta.useState({top:!1,bottom:!1,left:!1,right:!1}),C=Ta.useRef(null),T=s6(),z=Ta.useCallback(()=>{const N=C.current;if(!N)return;const{scrollTop:H,scrollLeft:Q,scrollWidth:q,clientWidth:W,scrollHeight:U,clientHeight:$}=N;E(le=>({...le,top:H>0,bottom:H+$<U-1,left:Q>0,right:Q+W<q-1}))},[]);return Ta.useEffect(()=>{if(typeof window>"u")return;const N=C.current;if(!N)return;const H=new AbortController,{signal:Q}=H,q=new ResizeObserver(z);return q.observe(N),N.addEventListener("scroll",z,{signal:Q}),window.addEventListener("resize",z,{signal:Q}),z(),()=>{H.abort(),q.disconnect()}},[z,T]),M.jsx(jC.Provider,{value:T,children:T?M.jsxs("div",{ref:S,role:"group","data-slot":"scroll-area","aria-roledescription":"scroll area",className:Kt("relative overflow-hidden",i),...y,children:[M.jsx("div",{ref:C,"data-slot":"scroll-area-viewport",className:Kt("size-full overflow-auto rounded-[inherit]",f),tabIndex:0,children:o}),g>0&&M.jsx(UC,{showMask:x,className:p,maskHeight:g})]}):M.jsxs(xv,{ref:S,"data-slot":"scroll-area",scrollHideDelay:u,className:Kt("relative overflow-hidden",i),...y,children:[M.jsx(bE,{ref:C,"data-slot":"scroll-area-viewport",className:Kt("size-full rounded-[inherit]",f),children:o}),g>0&&M.jsx(UC,{showMask:x,className:p,maskHeight:g}),M.jsx(NC,{}),M.jsx(SE,{})]})})});kC.displayName=xv.displayName;const NC=Ta.forwardRef(({className:i,orientation:o="vertical",...u},f)=>Ta.useContext(jC)?null:M.jsx($m,{ref:f,orientation:o,"data-slot":"scroll-area-scrollbar",className:Kt("hover:bg-zinc-100 dark:hover:bg-zinc-100/50 data-[state=visible]:fade-in-0 data-[state=hidden]:fade-out-0 data-[state=visible]:animate-in data-[state=hidden]:animate-out flex touch-none p-px transition-[colors] duration-150 select-none dark:hover:bg-zinc-800 dark:dark:hover:bg-zinc-800/50",o==="vertical"&&"h-full w-2.5 border-l border-l-transparent",o==="horizontal"&&"h-2.5 flex-col border-t border-t-transparent px-1 pr-1.25",i),...u,children:M.jsx(MS,{"data-slot":"scroll-area-thumb",className:Kt("bg-zinc-200 relative flex-1 origin-center rounded-full transition-[scale] dark:bg-zinc-800",o==="vertical"&&"my-1 active:scale-y-95",o==="horizontal"&&"active:scale-x-98")})}));NC.displayName=$m.displayName;const UC=({showMask:i,maskHeight:o,className:u,...f})=>M.jsxs(M.Fragment,{children:[M.jsx("div",{...f,"aria-hidden":"true",style:{"--top-fade-height":i.top?`${o}px`:"0px","--bottom-fade-height":i.bottom?`${o}px`:"0px"},className:Kt("pointer-events-none absolute inset-0 z-10","before:absolute before:inset-x-0 before:top-0 before:transition-[height,opacity] before:duration-300 before:content-[]","after:absolute after:inset-x-0 after:bottom-0 after:transition-[height,opacity] after:duration-300 after:content-[]","before:h-(--top-fade-height) after:h-(--bottom-fade-height)",i.top?"before:opacity-100":"before:opacity-0",i.bottom?"after:opacity-100":"after:opacity-0","before:from-background before:bg-gradient-to-b before:to-transparent","after:from-background after:bg-gradient-to-t after:to-transparent",u)}),M.jsx("div",{...f,"aria-hidden":"true",style:{"--left-fade-width":i.left?`${o}px`:"0px","--right-fade-width":i.right?`${o}px`:"0px"},className:Kt("pointer-events-none absolute inset-0 z-10","before:absolute before:inset-y-0 before:left-0 before:transition-[width,opacity] before:duration-300 before:content-[]","after:absolute after:inset-y-0 after:right-0 after:transition-[width,opacity] after:duration-300 after:content-[]","before:w-(--left-fade-width) after:w-(--right-fade-width)",i.left?"before:opacity-100":"before:opacity-0",i.right?"after:opacity-100":"after:opacity-0","before:from-background before:bg-gradient-to-r before:to-transparent","after:from-background after:bg-gradient-to-l after:to-transparent",u)})]});function u6(i){return M.jsx(_C,{...i})}var c6=Symbol.for("react.lazy"),Yv=q5[" use ".trim().toString()];function f6(i){return typeof i=="object"&&i!==null&&"then"in i}function LC(i){return i!=null&&typeof i=="object"&&"$$typeof"in i&&i.$$typeof===c6&&"_payload"in i&&f6(i._payload)}function d6(i){const o=p6(i),u=j.forwardRef((f,p)=>{let{children:g,...y}=f;LC(g)&&typeof Yv=="function"&&(g=Yv(g._payload));const S=j.Children.toArray(g),x=S.find(g6);if(x){const E=x.props.children,C=S.map(T=>T===x?j.Children.count(E)>1?j.Children.only(null):j.isValidElement(E)?E.props.children:null:T);return M.jsx(o,{...y,ref:p,children:j.isValidElement(E)?j.cloneElement(E,void 0,C):null})}return M.jsx(o,{...y,ref:p,children:g})});return u.displayName=`${i}.Slot`,u}var h6=d6("Slot");function p6(i){const o=j.forwardRef((u,f)=>{let{children:p,...g}=u;if(LC(p)&&typeof Yv=="function"&&(p=Yv(p._payload)),j.isValidElement(p)){const y=v6(p),S=y6(g,p.props);return p.type!==j.Fragment&&(S.ref=f?AS(f,y):y),j.cloneElement(p,S)}return j.Children.count(p)>1?j.Children.only(null):null});return o.displayName=`${i}.SlotClone`,o}var m6=Symbol("radix.slottable");function g6(i){return j.isValidElement(i)&&typeof i.type=="function"&&"__radixId"in i.type&&i.type.__radixId===m6}function y6(i,o){const u={...o};for(const f in o){const p=i[f],g=o[f];/^on[A-Z]/.test(f)?p&&g?u[f]=(...S)=>{const x=g(...S);return p(...S),x}:p&&(u[f]=p):f==="style"?u[f]={...p,...g}:f==="className"&&(u[f]=[p,g].filter(Boolean).join(" "))}return{...i,...u}}function v6(i){let o=Object.getOwnPropertyDescriptor(i.props,"ref")?.get,u=o&&"isReactWarning"in o&&o.isReactWarning;return u?i.ref:(o=Object.getOwnPropertyDescriptor(i,"ref")?.get,u=o&&"isReactWarning"in o&&o.isReactWarning,u?i.props.ref:i.props.ref||i.ref)}const b6=MC("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-white transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-zinc-950 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 dark:ring-offset-zinc-950 dark:focus-visible:ring-zinc-300",{variants:{variant:{default:"bg-zinc-900 text-zinc-50 hover:bg-zinc-900/90 dark:bg-zinc-50 dark:text-zinc-900 dark:hover:bg-zinc-50/90",destructive:"bg-red-500 text-zinc-50 hover:bg-red-500/90 dark:bg-red-900 dark:text-zinc-50 dark:hover:bg-red-900/90",outline:"border border-zinc-200 bg-white hover:bg-zinc-100 hover:text-zinc-900 dark:border-zinc-800 dark:bg-zinc-950 dark:hover:bg-zinc-800 dark:hover:text-zinc-50",secondary:"bg-zinc-100 text-zinc-900 hover:bg-zinc-100/80 dark:bg-zinc-800 dark:text-zinc-50 dark:hover:bg-zinc-800/80",ghost:"hover:bg-zinc-100 hover:text-zinc-900 dark:hover:bg-zinc-800 dark:hover:text-zinc-50",link:"text-zinc-900 underline-offset-4 hover:underline dark:text-zinc-50"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),es=j.forwardRef(({className:i,variant:o,size:u,asChild:f=!1,...p},g)=>{const y=f?h6:"button";return M.jsx(y,{className:Kt(b6({variant:o,size:u,className:i})),ref:g,...p})});es.displayName="Button";const ha={Eye:i=>M.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",...i,children:[M.jsx("path",{d:"M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"}),M.jsx("circle",{cx:"12",cy:"12",r:"3"})]}),Settings:i=>M.jsxs("svg",{width:"15",height:"15",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",...i,children:[M.jsx("circle",{cx:"12",cy:"12",r:"3"}),M.jsx("path",{d:"M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z"})]}),X:i=>M.jsxs("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",...i,children:[M.jsx("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),M.jsx("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]}),Scan:i=>M.jsxs("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",...i,children:[M.jsx("path",{d:"M3 7V5a2 2 0 0 1 2-2h2"}),M.jsx("path",{d:"M17 3h2a2 2 0 0 1 2 2v2"}),M.jsx("path",{d:"M21 17v2a2 2 0 0 1-2 2h-2"}),M.jsx("path",{d:"M7 21H5a2 2 0 0 1-2-2v-2"}),M.jsx("line",{x1:"7",y1:"12",x2:"17",y2:"12"})]}),Camera:i=>M.jsxs("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",...i,children:[M.jsx("path",{d:"M23 19a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h4l2-3h6l2 3h4a2 2 0 0 1 2 2z"}),M.jsx("circle",{cx:"12",cy:"13",r:"4"})]}),Crop:i=>M.jsxs("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",...i,children:[M.jsx("path",{d:"M6.13 1L6 16a2 2 0 0 0 2 2h15"}),M.jsx("path",{d:"M1 6.13L16 6a2 2 0 0 1 2 2v15"})]}),Spinner:i=>M.jsx("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",style:{animation:"uilint-spin 1s linear infinite"},...i,children:M.jsx("path",{d:"M21 12a9 9 0 1 1-6.219-8.56"})}),Play:i=>M.jsx("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",...i,children:M.jsx("polygon",{points:"5 3 19 12 5 21 5 3"})}),Layout:i=>M.jsxs("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",...i,children:[M.jsx("rect",{x:"3",y:"3",width:"18",height:"18",rx:"2",ry:"2"}),M.jsx("line",{x1:"3",y1:"9",x2:"21",y2:"9"}),M.jsx("line",{x1:"9",y1:"21",x2:"9",y2:"9"})]}),Type:i=>M.jsxs("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",...i,children:[M.jsx("polyline",{points:"4 7 4 4 20 4 20 7"}),M.jsx("line",{x1:"9",y1:"20",x2:"15",y2:"20"}),M.jsx("line",{x1:"12",y1:"4",x2:"12",y2:"20"})]}),Palette:i=>M.jsx("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",...i,children:M.jsx("path",{d:"M12 2.69l5.66 5.66a8 8 0 1 1-11.31 0z"})}),AlignLeft:i=>M.jsxs("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",...i,children:[M.jsx("line",{x1:"17",y1:"10",x2:"3",y2:"10"}),M.jsx("line",{x1:"21",y1:"6",x2:"3",y2:"6"}),M.jsx("line",{x1:"21",y1:"14",x2:"3",y2:"14"}),M.jsx("line",{x1:"17",y1:"18",x2:"3",y2:"18"})]}),Grid:i=>M.jsxs("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",...i,children:[M.jsx("rect",{x:"3",y:"3",width:"7",height:"7"}),M.jsx("rect",{x:"14",y:"3",width:"7",height:"7"}),M.jsx("rect",{x:"14",y:"14",width:"7",height:"7"}),M.jsx("rect",{x:"3",y:"14",width:"7",height:"7"})]}),Contrast:i=>M.jsxs("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",...i,children:[M.jsx("circle",{cx:"12",cy:"12",r:"10"}),M.jsx("path",{d:"M12 18a6 6 0 0 0 0-12v12z"})]}),AlertCircle:i=>M.jsxs("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",...i,children:[M.jsx("circle",{cx:"12",cy:"12",r:"10"}),M.jsx("line",{x1:"12",y1:"8",x2:"12",y2:"12"}),M.jsx("line",{x1:"12",y1:"16",x2:"12.01",y2:"16"})]})};function S6(){const i=Be(S=>S.wsConnected),o=Be(S=>S.wsUrl),u=Be(S=>S.connectWebSocket),f=Be(S=>S.disconnectWebSocket),p=Be(S=>S.liveScanEnabled),g=Be(S=>S.enableLiveScan),y=Be(S=>S.disableLiveScan);return M.jsxs("div",{className:"space-y-4",children:[M.jsxs("div",{className:"space-y-2",children:[M.jsxs("div",{className:"flex items-center justify-between",children:[M.jsxs("div",{className:"flex items-center gap-2",children:[M.jsx("div",{className:Kt("w-2 h-2 rounded-full",i?"bg-green-500 shadow-[0_0_8px_rgb(34,197,94)]":"bg-red-500 shadow-[0_0_8px_rgb(239,68,68)]")}),M.jsx("span",{className:"text-xs font-medium",children:i?"Server Connected":"Server Disconnected"})]}),M.jsx("span",{className:"text-[10px] text-zinc-500 font-mono",children:o})]}),!i&&M.jsx("div",{className:"p-2 rounded bg-zinc-100 dark:bg-zinc-800 border border-zinc-200 dark:border-zinc-700",children:M.jsxs("p",{className:"text-[10px] text-zinc-600 dark:text-zinc-400",children:["Run"," ",M.jsx("code",{className:"bg-zinc-200 dark:bg-zinc-700 px-1 rounded",children:"npx uilint serve"})," ","in your project root to connect."]})}),M.jsxs("div",{className:"flex gap-2",children:[M.jsx(es,{onClick:()=>u(o),variant:i?"outline":"default",size:"sm",className:"flex-1 h-8 text-xs",children:i?"Reconnect":"Connect"}),i&&M.jsx(es,{onClick:()=>f(),variant:"outline",size:"sm",className:"h-8 text-xs",children:"Disconnect"})]})]}),M.jsx("div",{className:"h-px bg-zinc-200 dark:bg-zinc-800"}),M.jsxs("div",{className:"space-y-2",children:[M.jsx("h4",{className:"text-[11px] font-semibold uppercase tracking-wider text-zinc-500",children:"ESLint Scanning"}),M.jsx(es,{onClick:()=>p?y():g(!1),variant:p?"destructive":"default",size:"sm",className:"w-full gap-2",children:p?M.jsxs(M.Fragment,{children:[M.jsx(ha.X,{className:"w-3 h-3"}),"Stop Scanning"]}):M.jsxs(M.Fragment,{children:[M.jsx(ha.Play,{className:"w-3 h-3"}),"Start Scanning"]})})]})]})}const x6=i=>i.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),BC=(...i)=>i.filter((o,u,f)=>!!o&&o.trim()!==""&&f.indexOf(o)===u).join(" ").trim();var w6={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"};const E6=j.forwardRef(({color:i="currentColor",size:o=24,strokeWidth:u=2,absoluteStrokeWidth:f,className:p="",children:g,iconNode:y,...S},x)=>j.createElement("svg",{ref:x,...w6,width:o,height:o,stroke:i,strokeWidth:f?Number(u)*24/Number(o):u,className:BC("lucide",p),...S},[...y.map(([E,C])=>j.createElement(E,C)),...Array.isArray(g)?g:[g]]));const HC=(i,o)=>{const u=j.forwardRef(({className:f,...p},g)=>j.createElement(E6,{ref:g,iconNode:o,className:BC(`lucide-${x6(i)}`,f),...p}));return u.displayName=`${i}`,u};const T6=HC("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);const A6=HC("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);function VC({element:i,issue:o,issueCount:u,tagName:f,lineNumber:p,columnNumber:g,onHover:y,onClick:S,onFileLevelIssueClick:x,isFileLevel:E=!1}){const C=()=>{i&&y&&y(i)},T=()=>{y&&y(null)},z=()=>{i&&S?S(i):E&&x&&x()};return M.jsxs("div",{className:Kt("flex items-center px-3 py-1.5 cursor-pointer transition-colors","hover:bg-blue-500/15 bg-transparent"),onMouseEnter:C,onMouseLeave:T,onClick:z,children:[M.jsxs("div",{className:"flex items-center gap-1 flex-1 mr-3",children:[M.jsxs("span",{className:"text-xs font-mono text-blue-600 dark:text-blue-400",children:["<",f,">"]}),M.jsxs("span",{className:"text-[10px] text-zinc-500 dark:text-zinc-400",children:[":",p,g?`:${g}`:""]})]}),M.jsx(p0,{count:u})]})}function C6({files:i,expandedFiles:o,onToggleFile:u,onElementHover:f,onElementClick:p,onFileLevelIssueClick:g}){return i.length===0?null:M.jsx("div",{className:"py-1",children:i.map(y=>{const S=o.has(y.path);return M.jsxs("div",{children:[M.jsxs("div",{className:Kt("flex items-center px-3 py-2 cursor-pointer transition-colors",S?"bg-blue-500/8":"hover:bg-zinc-100/50 dark:hover:bg-zinc-800/50"),title:y.path,onClick:()=>u(y.path),children:[M.jsx(T6,{className:Kt("w-4 h-4 mr-1.5 text-zinc-500 transition-transform",S&&"rotate-90")}),M.jsx("span",{className:"text-xs font-mono text-zinc-900 dark:text-zinc-100 overflow-hidden text-ellipsis whitespace-nowrap flex-1 mr-3",children:y.disambiguatedName}),M.jsx(p0,{count:y.issueCount})]}),S&&M.jsxs("div",{className:"bg-zinc-50/40 dark:bg-zinc-900/40 border-t border-b border-zinc-200 dark:border-zinc-800",children:[y.fileLevelIssues.length>0&&M.jsxs(M.Fragment,{children:[M.jsx("div",{className:"px-3 pt-2 pb-1 text-xs font-semibold text-zinc-500 dark:text-zinc-400 uppercase tracking-wider text-[0.625rem]",children:"File-level issues"}),y.fileLevelIssues.map((x,E)=>M.jsx(VC,{issue:x,issueCount:1,tagName:y.displayName,lineNumber:x.line,columnNumber:x.column,onFileLevelIssueClick:()=>g(y.path,x),isFileLevel:!0},`${x.line}-${x.column}-${E}`)),y.elementsWithIssues.length>0&&M.jsx("div",{className:"h-px bg-zinc-200 dark:bg-zinc-800 mx-3 my-1"})]}),y.elementsWithIssues.map(x=>M.jsx(VC,{element:x.element,issueCount:x.issueCount,tagName:x.element.tagName,lineNumber:x.element.source.lineNumber,columnNumber:x.element.source.columnNumber,onHover:f,onClick:p},x.element.id))]})]},y.path)})})}function z6({value:i,onChange:o,placeholder:u="Filter by file or tag..."}){return M.jsxs("div",{className:"relative flex items-center gap-2 px-2.5 py-1.5 bg-zinc-100 dark:bg-zinc-800/60 rounded-md border border-zinc-200 dark:border-zinc-800",children:[M.jsx("div",{className:"flex-shrink-0",children:M.jsxs("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",className:"text-zinc-500",children:[M.jsx("circle",{cx:"11",cy:"11",r:"7",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"}),M.jsx("path",{d:"M21 21l-4.35-4.35",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"})]})}),M.jsx("input",{type:"text",value:i,onChange:f=>o(f.target.value),placeholder:u,className:"flex-1 bg-transparent border-0 outline-none text-xs text-zinc-900 dark:text-zinc-100 placeholder-zinc-500"}),i&&M.jsx("button",{onClick:()=>o(""),className:"flex-shrink-0 flex items-center justify-center w-4 h-4 rounded-full bg-zinc-700/50 text-zinc-400 hover:bg-zinc-700 hover:text-zinc-300 transition-colors",title:"Clear search",children:M.jsx(A6,{className:"h-2 w-2"})})]})}const Ix=j.forwardRef(({className:i,children:o,...u},f)=>M.jsxs(xv,{ref:f,className:Kt("relative overflow-hidden",i),...u,children:[M.jsx(bE,{className:"h-full w-full rounded-[inherit]",children:o}),M.jsx(YC,{}),M.jsx(SE,{})]}));Ix.displayName=xv.displayName;const YC=j.forwardRef(({className:i,orientation:o="vertical",...u},f)=>M.jsx($m,{ref:f,orientation:o,className:Kt("flex touch-none select-none transition-colors",o==="vertical"&&"h-full w-2.5 border-l border-l-transparent p-[1px]",o==="horizontal"&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",i),...u,children:M.jsx(MS,{className:"relative flex-1 rounded-full bg-zinc-200 dark:bg-zinc-800"})}));YC.displayName=$m.displayName;function qC(i,o){const u=i.split("/"),f=u[u.length-1]||i;return o.filter(g=>{const y=g.split("/");return y[y.length-1]===f&&g!==i}).length===0?f:u.length>=2?`${u[u.length-2]}/${f}`:f}function R6(){const{autoScanState:i}=af(),o=Be(U=>U.elementIssuesCache),u=Be(U=>U.fileIssuesCache),f=Be(U=>U.setLocatorTarget),p=Be(U=>U.setInspectedElement),[g,y]=j.useState(new Set),[S,x]=j.useState(""),E=i.status==="scanning",C=i.status==="complete",T=j.useMemo(()=>{const U=Qm(i.elements),$=U.map(de=>de.path),le=new Set($),pe=[];for(const de of U){const he=[];for(const ye of de.elements){const je=o.get(ye.id),ee=je?.issues.length||0;if(ee>0){const Re=Array.from(new Set((je?.issues||[]).map(Ke=>Ke.ruleId).filter(Ke=>typeof Ke=="string")));he.push({element:ye,issueCount:ee,ruleIds:Re})}}const re=u.get(de.path)||[],we=he.reduce((ye,je)=>ye+je.issueCount,0)+re.length;we>0&&(he.sort((ye,je)=>ye.element.source.lineNumber-je.element.source.lineNumber),pe.push({path:de.path,displayName:de.displayName,disambiguatedName:qC(de.path,$),issueCount:we,elementsWithIssues:he,fileLevelIssues:re}))}for(const[de,he]of u.entries())if(!le.has(de)&&he.length>0){const re=de.split("/"),we=re[re.length-1]||de;pe.push({path:de,displayName:we,disambiguatedName:qC(de,[...$,de]),issueCount:he.length,elementsWithIssues:[],fileLevelIssues:he})}return pe.sort((de,he)=>he.issueCount-de.issueCount)},[i.elements,o,u]),z=j.useMemo(()=>{if(!S.trim())return T;const U=S.toLowerCase().trim(),$=U.replace(/[<>]/g,"").replace("/","").trim();return T.map(le=>{const pe=le.path.toLowerCase().includes(U)||le.displayName.toLowerCase().includes(U),de=le.elementsWithIssues.filter(he=>he.element.tagName.toLowerCase().includes($)||he.ruleIds.some(re=>re.toLowerCase().includes(U)));return pe?le:de.length>0?{...le,elementsWithIssues:de,issueCount:de.reduce((he,re)=>he+re.issueCount,0)}:null}).filter(le=>le!==null)},[T,S]),N=j.useCallback(U=>{y($=>{const le=new Set($);return le.has(U)?le.delete(U):le.add(U),le})},[]),H=j.useCallback(U=>{if(!U){f(null);return}f({element:U.element,source:U.source,rect:U.element.getBoundingClientRect()})},[f]),Q=j.useCallback(U=>{U.element.scrollIntoView({behavior:"smooth",block:"center"}),p({element:U.element,source:U.source,rect:U.element.getBoundingClientRect(),scannedElementId:U.id}),f(null)},[p,f]),q=j.useCallback((U,$)=>{const le=document.createElement("div");le.style.position="fixed",le.style.top="-9999px",document.body.appendChild(le),p({element:le,source:{fileName:U,lineNumber:$.line,columnNumber:$.column},rect:new DOMRect(0,0,0,0)})},[p]),W=i.totalElements>0?i.currentIndex/i.totalElements*100:0;return M.jsxs("div",{className:"space-y-4",children:[T.length>0&&M.jsx(z6,{value:S,onChange:x}),E&&M.jsxs("div",{className:"space-y-1 px-1",children:[M.jsxs("div",{className:"flex justify-between text-[10px] text-zinc-500",children:[M.jsx("span",{children:"Scanning..."}),M.jsxs("span",{children:[i.currentIndex," / ",i.totalElements]})]}),M.jsx("div",{className:"h-1 bg-zinc-200 dark:bg-zinc-800 rounded-full overflow-hidden",children:M.jsx("div",{className:"h-full bg-blue-600 transition-all duration-200",style:{width:`${W}%`}})})]}),M.jsx(Ix,{className:"max-h-[300px] -mx-3",children:M.jsx("div",{className:"px-3",onMouseLeave:()=>H(null),children:z.length===0?M.jsx("div",{className:"py-8 text-center text-xs text-zinc-500",children:E?"Scanning page elements...":S?`No matches for "${S}"`:C?"✓ No issues found":"No files scanned"}):M.jsx(C6,{files:z,expandedFiles:g,onToggleFile:N,onElementHover:H,onElementClick:Q,onFileLevelIssueClick:q})})})]})}const GC={spacing:"oklch(0.585 0.233 283.04)",typography:"oklch(0.656 0.241 354.31)",color:"var(--uilint-success)",alignment:"oklch(0.715 0.143 215.22)",layout:"oklch(0.702 0.191 41.12)",contrast:"var(--uilint-error)","visual-hierarchy":"oklch(0.627 0.265 303.9)",other:"var(--uilint-text-muted)"};function XC(i){switch(i){case"error":return"var(--uilint-error)";case"warning":return"var(--uilint-warning)";case"info":return"var(--uilint-accent)";default:return"var(--uilint-text-secondary)"}}function M6({category:i}){const o=GC[i]||GC.other;switch(i){case"spacing":return M.jsx(ha.Layout,{className:"w-3.5 h-3.5",style:{color:o}});case"typography":return M.jsx(ha.Type,{className:"w-3.5 h-3.5",style:{color:o}});case"color":return M.jsx(ha.Palette,{className:"w-3.5 h-3.5",style:{color:o}});case"alignment":return M.jsx(ha.AlignLeft,{className:"w-3.5 h-3.5",style:{color:o}});case"layout":return M.jsx(ha.Grid,{className:"w-3.5 h-3.5",style:{color:o}});case"contrast":return M.jsx(ha.Contrast,{className:"w-3.5 h-3.5",style:{color:o}});default:return M.jsx(ha.AlertCircle,{className:"w-3.5 h-3.5",style:{color:o}})}}function D6(){const i=Be(U=>U.visionIssuesCache),o=Be(U=>U.visionAnalyzing),u=Be(U=>U.visionProgressPhase),f=Be(U=>U.visionLastError),p=Be(U=>U.clearVisionLastError),g=Be(U=>U.triggerVisionAnalysis),y=Be(U=>U.highlightedVisionElementId),S=Be(U=>U.setHighlightedVisionElementId),x=Be(U=>U.setHoveredVisionIssue),E=Be(U=>U.setRegionSelectionActive),C=Be(U=>U.screenshotHistory),T=j.useMemo(()=>{const U=[];return i.forEach($=>U.push(...$)),U},[i]),z=j.useMemo(()=>{const U=new Map;return T.forEach($=>{const le=U.get($.category)||[];le.push($),U.set($.category,le)}),U},[T]),N=j.useMemo(()=>typeof window<"u"?window.location.pathname:"/",[]),H=j.useMemo(()=>C.get(N),[C,N]),Q=j.useCallback(()=>{g()},[g]),q=j.useCallback(()=>{E(!0)},[E]),W=j.useCallback(U=>{if(!U.dataLoc)return;S(U.elementId||null);const $=document.querySelector(`[data-loc="${U.dataLoc}"]`);$&&$.scrollIntoView({behavior:"smooth",block:"center"})},[S]);return M.jsxs("div",{className:"space-y-4",children:[M.jsxs("div",{className:"flex gap-2",children:[M.jsx(es,{onClick:Q,disabled:o,className:"flex-1 h-10 gap-2",variant:"default",children:o?M.jsxs(M.Fragment,{children:[M.jsx(ha.Spinner,{className:"w-4 h-4"}),u||"Analyzing..."]}):M.jsxs(M.Fragment,{children:[M.jsx(ha.Camera,{className:"w-4 h-4"}),"Full Page"]})}),M.jsxs(es,{onClick:q,disabled:o,className:"flex-1 h-10 gap-2",variant:"outline",children:[M.jsx(ha.Crop,{className:"w-4 h-4"}),"Region"]})]}),H?M.jsxs("div",{className:"rounded-lg border border-zinc-200 dark:border-zinc-700 overflow-hidden bg-zinc-50 dark:bg-zinc-900/50",children:[M.jsx("img",{src:H.dataUrl,alt:"Last capture",className:"w-full h-auto max-h-[100px] object-contain"}),M.jsxs("div",{className:"px-2 py-1.5 text-[10px] text-zinc-500 dark:text-zinc-400 border-t border-zinc-200 dark:border-zinc-700",children:["Last captured: ",new Date(H.timestamp).toLocaleTimeString()]})]}):M.jsxs("div",{className:"rounded-lg border border-zinc-200 dark:border-zinc-700 bg-zinc-50 dark:bg-zinc-900/50 p-4 flex flex-col items-center justify-center min-h-[100px]",children:[M.jsx(ha.Camera,{className:"w-8 h-8 text-zinc-300 dark:text-zinc-600 mb-2"}),M.jsx("p",{className:"text-[10px] text-zinc-400 dark:text-zinc-500 text-center",children:"No capture yet"})]}),f&&!o&&M.jsxs("div",{className:"p-3 rounded-lg border border-red-200 bg-red-50 dark:bg-red-900/20 dark:border-red-800/50",children:[M.jsxs("div",{className:"flex items-center justify-between mb-1",children:[M.jsx("span",{className:"text-[11px] font-bold text-red-700 dark:text-red-400 uppercase",children:"Vision Failed"}),M.jsx("button",{onClick:p,className:"text-[10px] text-red-500 hover:text-red-700",children:"Dismiss"})]}),M.jsx("p",{className:"text-xs text-red-600 dark:text-red-300 font-mono break-words",children:f.message})]}),M.jsx(Ix,{className:"max-h-[350px] -mx-3",children:M.jsxs("div",{className:"px-3 space-y-4",children:[!o&&T.length===0&&M.jsxs("div",{className:"py-8 text-center space-y-2",children:[M.jsx(ha.Camera,{className:"w-8 h-8 mx-auto text-zinc-300 dark:text-zinc-700"}),M.jsxs("p",{className:"text-xs text-zinc-500",children:["No vision issues found yet.",M.jsx("br",{}),"Capture the page to start analysis."]})]}),Array.from(z.entries()).map(([U,$])=>M.jsxs("div",{className:"space-y-1",children:[M.jsxs("div",{className:"flex items-center gap-2 px-1 text-[10px] font-bold uppercase tracking-wider text-zinc-500",children:[M.jsx(M6,{category:U}),U,M.jsx("span",{className:"ml-auto opacity-50",children:$.length})]}),M.jsx("div",{className:"space-y-1",children:$.map((le,pe)=>M.jsxs("div",{onMouseEnter:()=>x(le),onMouseLeave:()=>x(null),className:Kt("p-2 rounded-md border border-transparent transition-all cursor-default",y===le.elementId?"bg-zinc-100 dark:bg-zinc-800 border-zinc-200 dark:border-zinc-700":"hover:bg-zinc-50 dark:hover:bg-zinc-900/50"),children:[M.jsxs("div",{className:"flex items-center justify-between gap-2 mb-1",children:[M.jsxs("span",{className:"text-xs font-semibold truncate flex-1",children:['"',le.elementText||"Element",'"']}),M.jsx("span",{className:"text-[9px] font-bold uppercase px-1.5 py-0.5 rounded",style:{backgroundColor:`${XC(le.severity)}20`,color:XC(le.severity)},children:le.severity})]}),M.jsx("p",{className:"text-[11px] text-zinc-500 dark:text-zinc-400 leading-relaxed",children:le.message}),M.jsx("div",{className:"flex gap-2 mt-2",children:M.jsxs("button",{onClick:()=>W(le),className:"text-[10px] text-zinc-500 hover:text-zinc-900 dark:hover:text-zinc-100 flex items-center gap-1",children:[M.jsx(ha.Eye,{className:"w-3 h-3"})," Show in page"]})})]},`${le.elementId}-${pe}`))})]},U))]})})]})}function _6(){const i=Be(x=>x.activeToolbarTab),o=Be(x=>x.setActiveToolbarTab),u=Be(x=>x.elementIssuesCache),f=Be(x=>x.fileIssuesCache),p=Be(x=>x.visionIssuesCache),g=j.useMemo(()=>{let x=0;return u.forEach(E=>x+=E.issues.length),f.forEach(E=>x+=E.length),x},[u,f]),y=j.useMemo(()=>{let x=0;return p.forEach(E=>x+=E.length),x},[p]),S=[{id:"configure",title:"Configure",description:"Manage connection and scan settings",icon:ha.Settings,content:M.jsx(S6,{})},{id:"eslint",title:"ESLint",description:"View and filter code quality issues",icon:x=>M.jsxs("div",{className:"relative",children:[M.jsx(ha.Scan,{...x}),g>0&&M.jsx("div",{className:"absolute -top-1.5 -right-2",children:M.jsx(p0,{count:g})})]}),content:M.jsx(R6,{})},{id:"vision",title:"Vision",description:"AI-powered visual consistency analysis",icon:x=>M.jsxs("div",{className:"relative",children:[M.jsx(ha.Camera,{...x}),y>0&&M.jsx("div",{className:"absolute -top-1.5 -right-2",children:M.jsx(p0,{count:y})})]}),content:M.jsx(D6,{})}];return M.jsx("div",{className:"flex items-center justify-center w-full",children:M.jsx(u6,{steps:S,activeStep:i,onActiveStepChange:x=>x&&o(x)})})}const QC={fontFamily:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif',transitionSlow:"300ms cubic-bezier(0.4, 0, 0.2, 1)"};function O6(){const{settings:i}=af();Be(U=>U.wsConnected);const o=Be(U=>U.showResultsPanel),u=Be(U=>U.setShowResultsPanel),f=Be(U=>U.regionSelectionActive),p=Be(U=>U.setRegionSelectionActive),g=Be(U=>U.setSelectedRegion),y=Be(U=>U.triggerVisionAnalysis),[S,x]=j.useState(!1),[E,C]=j.useState(!1),T=j.useRef(null);j.useEffect(()=>{const U=()=>{const pe=["nextjs-portal","[data-nextjs-dialog]","[data-nextjs-dialog-overlay]","#__next-build-watcher","[data-nextjs-toast]"].some(de=>{const he=document.querySelector(de);if(!he)return!1;const re=window.getComputedStyle(he);return re.display!=="none"&&re.visibility!=="hidden"});C(pe)};U();const $=new MutationObserver(U);return $.observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["style","class"]}),()=>$.disconnect()},[]),j.useEffect(()=>{x(!0)},[]),j.useEffect(()=>{const U=$=>{$.key==="Escape"&&o&&u(!1)};return document.addEventListener("keydown",U),()=>{document.removeEventListener("keydown",U)}},[o,u]);const z=j.useCallback(U=>{p(!1),g(U),y()},[p,g,y]),N=j.useCallback(()=>{p(!1),g(null)},[p,g]),H=j.useCallback(U=>{U.stopPropagation()},[]);if(!S)return null;const Q=E?"80px":"20px",q=typeof document<"u"?document.querySelector(".dev-tool-root")?.getAttribute("data-position")??"bottom-left":"bottom-left",W=M.jsxs("div",{"data-ui-lint":!0,onMouseDown:H,onPointerDown:H,onClick:H,onKeyDown:H,style:{position:"fixed",...q.startsWith("top")?{top:"20px",bottom:"auto"}:{bottom:Q,top:"auto"},...q.endsWith("right")?{right:"20px",left:"auto"}:{left:"20px",right:"auto"},zIndex:99999,fontFamily:QC.fontFamily,transition:`bottom ${QC.transitionSlow}`,pointerEvents:"none"},children:[M.jsx("div",{ref:T,role:"toolbar","aria-label":"UI Lint toolbar",style:{pointerEvents:"auto"},children:M.jsx(_6,{})}),M.jsx(AM,{active:f,onRegionSelected:z,onCancel:N})]});return pu.createPortal(W,hu())}const j6=Object.freeze(Object.defineProperty({__proto__:null,UILintToolbar:O6},Symbol.toStringTag,{value:"Module"})),ZC=new Map,k6=300*1e3,N6="/api/.uilint/source";async function U6(i){const o=ZC.get(i);if(o&&Date.now()-o.fetchedAt<k6)return{content:o.content,relativePath:o.relativePath};try{const u=await fetch(`${N6}?path=${encodeURIComponent(i)}`);if(!u.ok)return console.warn(`[UILint] Failed to fetch source: ${u.statusText}`),null;const f=await u.json();return ZC.set(i,{...f,fetchedAt:Date.now()}),f}catch(u){return console.error("[UILint] Error fetching source:",u),null}}async function L6(i,o){const u=await U6(i.fileName);if(!u)return null;const f=u.content.split(`
|
|
252
|
+
`),p=i.lineNumber-1,g=Math.max(0,p-Math.max(0,o.linesAbove)),y=Math.min(f.length,p+Math.max(0,o.linesBelow)+1);return{lines:f.slice(g,y),startLine:g+1,highlightLine:i.lineNumber,relativePath:u.relativePath}}function B6(i){const o=i.match(/^[\t ]+/);return o?o[0]:""}function H6(i){if(!i.length)return{lines:i,removed:0};const o=i.filter(f=>f.trim().length>0);if(!o.length)return{lines:i,removed:0};let u=1/0;for(const f of o)if(u=Math.min(u,B6(f).length),u===0)break;return!Number.isFinite(u)||u<=0?{lines:i,removed:0}:{removed:u,lines:i.map(f=>f.length>=u?f.slice(u):"")}}function qv(i,o,u){return Math.max(o,Math.min(u,i))}function V6(i,o,u,f,p){const g=i+u.width,y=o+u.height,S=Math.max(0,p-i),x=Math.max(0,p-o),E=Math.max(0,g-(f.width-p)),C=Math.max(0,y-(f.height-p));return S*2+E*2+x+C}function Y6(i,o){const u=Math.max(i.left,o.left),f=Math.max(i.top,o.top),p=Math.min(i.right,o.right),g=Math.min(i.bottom,o.bottom),y=Math.max(0,p-u),S=Math.max(0,g-f);return y*S}function q6(i){const{rect:o,popover:u,viewport:f}=i,p=i.padding,g={x:o.right,y:o.top},y=f.width-u.width-p,S=f.height-u.height-p,E=[{placement:"right",left:o.right+p,top:o.top},{placement:"left",left:o.right-u.width-p,top:o.top},{placement:"bottom",left:o.right-u.width,top:o.bottom+p},{placement:"top",left:o.right-u.width,top:o.top-u.height-p}].map(H=>({raw:H,clamped:{...H,left:qv(H.left,p,y),top:qv(H.top,p,S)}})),C=H=>{const Q=qv(g.x,H.left,H.left+u.width),q=qv(g.y,H.top,H.top+u.height),W=g.x-Q,U=g.y-q;return W*W+U*U},T=(H,Q)=>{const q=V6(Q.left,Q.top,u,f,p),W=Math.abs(H.left-Q.left)+Math.abs(H.top-Q.top),U={left:Q.left,top:Q.top,right:Q.left+u.width,bottom:Q.top+u.height},$=Y6(U,o),le=C(Q);return q*1e6+W*1e3+$*10+le};let z=E[0].clamped,N=T(E[0].raw,E[0].clamped);for(const H of E.slice(1)){const Q=T(H.raw,H.clamped);Q<N&&(z=H.clamped,N=Q)}return z}j.createContext(void 0);function G6({children:i,className:o}){return M.jsx("div",{className:Kt("flex justify-between px-4 py-3",o),children:i},"close")}function X6({children:i,className:o}){return M.jsx("div",{className:Kt("px-4 py-2 font-semibold text-zinc-900 dark:text-zinc-100",o),children:i})}const KC=450,Q6=450;function Z6(){const{inspectedElement:i,setInspectedElement:o,elementIssuesCache:u,autoScanState:f}=af(),p=Be(de=>de.fileIssuesCache),g=Be(de=>de.appRoot),y=Be(de=>de.workspaceRoot),S=g||y,[x,E]=j.useState(!1),[C,T]=j.useState(!0),z=j.useRef(null),[N,H]=j.useState({top:0,left:0});j.useEffect(()=>{E(!0)},[]),j.useEffect(()=>{if(!i)return;const de=re=>{if(re.target?.closest?.("[data-ui-lint]"))return;const ye=i.element.getBoundingClientRect();(ye.top<-1e3||ye.left<-1e3)&&i.element.remove(),o(null)},he=setTimeout(()=>{document.addEventListener("click",de,!0)},50);return()=>{clearTimeout(he),document.removeEventListener("click",de,!0)}},[i,o]);const Q=j.useMemo(()=>{if(!i)return!1;const de=i.element.getBoundingClientRect();return de.top<-1e3||de.left<-1e3},[i]),q=j.useMemo(()=>{if(!i)return null;if(Q&&i.source){const de=p.get(i.source.fileName);if(de&&de.length>0){const he=de.filter(re=>!(re.line!==i.source.lineNumber||i.source.columnNumber&&re.column!==i.source.columnNumber));return{elementId:`file:${i.source.fileName}`,issues:he.length>0?he:de,status:"complete"}}return null}if(i.scannedElementId){const de=u.get(i.scannedElementId);if(de)return de}if(i.source){for(const[,de]of u)if(f.elements.find(re=>re.id===de.elementId)?.source?.fileName===i.source.fileName)return de}return null},[i,u,p,f.elements,Q]),W=j.useMemo(()=>q?.issues||[],[q]),U=j.useMemo(()=>{if(!W.length)return i?.source.lineNumber.toString()||"0";const de=W.map(we=>we.line).sort((we,ye)=>we-ye),he=de[0],re=de[de.length-1];return he===re?he.toString():`${he}-${re}`},[W,i]);j.useEffect(()=>{if(!i)return;let de=null;const he=()=>{if(de=null,Q){const Ke=(z.current?{width:z.current.offsetWidth,height:z.current.offsetHeight}:null)??{width:KC},lt=document.querySelectorAll("[data-ui-lint]");let G=null;for(const Ae of lt){const De=Ae;if(De===z.current)continue;const k=window.getComputedStyle(De),te=De.offsetWidth,xe=te>=310&&te<=330,Ee=k.position==="relative"||k.position==="absolute",Ye=De.getBoundingClientRect(),et=Ye.width>0&&Ye.height>0;if(xe&&Ee&&et){G=De;break}}const I=12,fe=12;if(G){const Ae=G.getBoundingClientRect(),De=Ae.right+I,k=Ae.top,te=window.innerWidth-Ke.width-fe,xe=Math.min(De,te),Ee=Math.max(fe,k);H({top:Ee,left:xe})}else{const Ae=fe,De=Math.max(fe,window.innerWidth-Ke.width-fe);H({top:Ae,left:De})}return}const we=i.element.getBoundingClientRect(),je=(z.current?{width:z.current.offsetWidth,height:z.current.offsetHeight}:null)??{width:KC,height:Q6},ee=q6({rect:we,popover:je,viewport:{width:window.innerWidth,height:window.innerHeight},padding:12});H({top:ee.top,left:ee.left})},re=()=>{de==null&&(de=window.requestAnimationFrame(he))};return re(),Q||window.addEventListener("scroll",re,!0),window.addEventListener("resize",re),()=>{de!=null&&window.cancelAnimationFrame(de),Q||window.removeEventListener("scroll",re,!0),window.removeEventListener("resize",re)}},[i,C,Q]);const $=j.useCallback(()=>{if(!i)return;const de=K5(i.source,"cursor",S);window.open(de,"_blank")},[i,S]),le=j.useCallback(de=>{de.stopPropagation()},[]);if(!x||!i)return null;const pe=M.jsxs("div",{ref:z,"data-ui-lint":!0,onMouseDown:le,onPointerDown:le,onClick:le,onKeyDown:le,className:"fixed w-[450px] max-h-[450px] overflow-hidden z-99998 pointer-events-auto bg-white/92 dark:bg-zinc-900/92 backdrop-blur-xl border border-zinc-200 dark:border-zinc-800 rounded-xl shadow-lg animate-in fade-in-0 zoom-in-95 duration-150",style:{top:N.top,left:N.left},children:[M.jsx(K6,{element:i,issueCount:W.length,lineRange:U,onClose:()=>o(null)}),M.jsxs("div",{className:"max-h-[330px] overflow-y-auto",children:[q?.status==="scanning"&&M.jsxs("div",{className:"flex items-center justify-center py-8 gap-3",children:[M.jsx("div",{className:"w-5 h-5 border-2 border-zinc-200 dark:border-zinc-800 border-t-blue-600 dark:border-t-blue-400 rounded-full animate-spin"}),M.jsx("span",{className:"text-sm text-zinc-500 dark:text-zinc-400",children:"Scanning..."})]}),q?.status==="complete"&&W.length===0&&M.jsxs("div",{className:"flex items-center justify-center py-8 gap-2 text-green-600 dark:text-green-400 text-sm",children:[M.jsx(F6,{}),"No issues found"]}),q?.status==="complete"&&W.length>0&&M.jsx(J6,{issues:W,source:i.source,showFullContext:C}),!q&&M.jsx("div",{className:"py-6 px-4 text-center text-zinc-500 dark:text-zinc-400 text-xs",children:"Enable live scanning to analyze this element"})]}),q?.status==="complete"&&W.length>0&&M.jsxs(G6,{className:"flex items-center justify-between border-t border-zinc-200 dark:border-zinc-800 bg-zinc-50/50 dark:bg-zinc-900/50",children:[M.jsxs(es,{onClick:()=>T(!C),variant:"outline",size:"sm",className:"h-7 text-xs gap-1.5",children:[C?M.jsx(n8,{}):M.jsx(t8,{}),C?"Hide context":"Show full context"]}),M.jsxs(es,{onClick:$,size:"sm",className:"h-7 text-xs gap-1 bg-blue-600 hover:bg-blue-700 text-white",children:[M.jsx(P6,{}),"Open in Cursor"]})]})]});return pu.createPortal(pe,hu())}function K6({element:i,issueCount:o,lineRange:u,onClose:f}){const p=i.source.fileName.split("/").pop()||"Unknown";return M.jsxs(X6,{className:"flex items-center justify-between border-b border-zinc-200 dark:border-zinc-800 bg-zinc-50/50 dark:bg-zinc-900/50",children:[M.jsxs("div",{className:"flex items-center gap-2.5",children:[M.jsxs("div",{className:"flex items-center gap-1.5 text-sm font-semibold",children:[M.jsx("span",{className:"font-mono",children:p}),M.jsxs("span",{className:"text-zinc-500 dark:text-zinc-400 font-normal",children:[":",u]})]}),o>0&&M.jsx(p0,{count:o,error:!0})]}),M.jsx(es,{onClick:f,variant:"ghost",size:"icon",className:"h-6 w-6",children:M.jsx(W6,{})})]})}function J6({issues:i,source:o,showFullContext:u}){const f=j.useMemo(()=>{const g=new Map;return i.forEach(y=>{const S=g.get(y.line)||[];S.push(y),g.set(y.line,S)}),g},[i]),p=j.useMemo(()=>Array.from(f.keys()).sort((g,y)=>g-y),[f]);return M.jsx("div",{className:"p-3",children:p.map((g,y)=>M.jsx($6,{lineNumber:g,issues:f.get(g),source:o,showFullContext:u,isLast:y===p.length-1},g))})}function $6({lineNumber:i,issues:o,source:u,showFullContext:f,isLast:p}){const[g,y]=j.useState(null),[S,x]=j.useState(!0),E=f?5:0;return j.useEffect(()=>{const C={fileName:u.fileName,lineNumber:i,columnNumber:o[0]?.column||0};x(!0),L6(C,{linesAbove:E,linesBelow:E}).then(T=>{T&&y({lines:T.lines,startLine:T.startLine,highlightLine:T.highlightLine})}).finally(()=>{x(!1)})},[u.fileName,i,o,E]),M.jsx("div",{className:Kt("rounded-lg overflow-hidden border border-zinc-200 dark:border-zinc-800",!p&&"mb-3"),children:S?M.jsx("div",{className:"p-3 text-center text-zinc-400 dark:text-zinc-500 text-xs",children:"Loading..."}):g?M.jsx("div",{children:M.jsx("pre",{className:"m-0 py-2 overflow-auto text-xs leading-relaxed font-mono",children:H6(g.lines).lines.map((C,T)=>{const z=g.startLine+T,N=z===g.highlightLine;return M.jsxs(Ta.Fragment,{children:[M.jsxs("div",{className:Kt("flex",N&&"bg-red-500/10 border-l-2 border-l-red-600 dark:border-l-red-400"),children:[M.jsx("span",{className:Kt("inline-block w-9 pr-2 pl-2 text-right select-none shrink-0",N?"text-red-600 dark:text-red-400":"text-zinc-400 dark:text-zinc-500"),children:z}),M.jsx("code",{className:Kt("whitespace-pre pr-2",N?"text-zinc-900 dark:text-zinc-100":"text-zinc-500 dark:text-zinc-400"),children:C||" "})]}),N&&o.map((H,Q)=>M.jsx(I6,{issue:H},Q))]},z)})})}):M.jsx("div",{className:"p-3 text-center text-zinc-400 dark:text-zinc-500 text-xs",children:"Could not load source"})})}function I6({issue:i}){const o=i.ruleId?`https://github.com/peter-suggate/uilint/blob/main/packages/uilint-eslint/src/rules/${i.ruleId.split("/").pop()}.ts`:null;return M.jsxs("div",{className:"flex items-start gap-2 py-1.5 px-2 pl-[46px] bg-red-500/8 border-l-2 border-l-red-600 dark:border-l-red-400",children:[M.jsx(e8,{}),M.jsxs("div",{className:"flex-1 text-xs leading-snug",children:[M.jsx("span",{className:"text-zinc-900 dark:text-zinc-100",children:i.message}),i.ruleId&&M.jsxs(M.Fragment,{children:[" ",M.jsxs("a",{href:o||"#",target:"_blank",rel:"noopener noreferrer",className:"text-zinc-400 dark:text-zinc-500 font-mono text-[10px] no-underline hover:text-blue-600 dark:hover:text-blue-400 transition-colors",children:["(",i.ruleId,")"]})]})]})]})}function F6(){return M.jsx("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",children:M.jsx("path",{d:"M20 6L9 17l-5-5",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})}function P6(){return M.jsx("svg",{width:"11",height:"11",viewBox:"0 0 24 24",fill:"none",children:M.jsx("path",{d:"M18 13v6a2 2 0 01-2 2H5a2 2 0 01-2-2V8a2 2 0 012-2h6M15 3h6v6M10 14L21 3",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})}function W6(){return M.jsx("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",children:M.jsx("path",{d:"M18 6L6 18M6 6l12 12",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})}function e8(){return M.jsx("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",className:"shrink-0 mt-0.5",children:M.jsx("path",{d:"M12 9v4M12 17h.01M10.29 3.86L1.82 18a2 2 0 001.71 3h16.94a2 2 0 001.71-3L13.71 3.86a2 2 0 00-3.42 0z",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"text-red-600 dark:text-red-400"})})}function t8(){return M.jsx("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",children:M.jsx("path",{d:"M8 3H5a2 2 0 00-2 2v3m18 0V5a2 2 0 00-2-2h-3m0 18h3a2 2 0 002-2v-3M3 16v3a2 2 0 002 2h3",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})}function n8(){return M.jsx("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",children:M.jsx("path",{d:"M4 14h6m0 0v6m0-6l-7 7m17-11h-6m0 0V4m0 6l7-7",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})}const a8=Object.freeze(Object.defineProperty({__proto__:null,InspectionPanel:Z6},Symbol.toStringTag,{value:"Module"}));function l8(i){const o=i.split("/");return o[o.length-1]||i}function i8(){const{locatorTarget:i}=af(),[o,u]=j.useState(!1),f=x=>{x.stopPropagation()};j.useEffect(()=>{u(!0)},[]);const p=j.useMemo(()=>i?i.source:null,[i]),g=j.useMemo(()=>i?i.element.tagName.toLowerCase():"",[i]);if(!o||!i)return null;const{rect:y}=i,S=M.jsxs("div",{"data-ui-lint":!0,onMouseDown:f,onPointerDown:f,onClick:f,onKeyDown:f,className:"pointer-events-none",children:[M.jsx("div",{className:"fixed border-2 border-blue-500 rounded ring-2 ring-blue-500/30 animate-in fade-in duration-100",style:{top:y.top-2,left:y.left-2,width:y.width+4,height:y.height+4,zIndex:99997}}),M.jsx(r8,{rect:y,source:p,componentName:g})]});return pu.createPortal(S,hu())}function o8(){const i=Be(y=>y.hoveredVisionIssue),[o,u]=j.useState(!1),[f,p]=j.useState(null);if(j.useEffect(()=>{u(!0)},[]),j.useEffect(()=>{if(!i?.dataLoc){p(null);return}const y=()=>{const S=document.querySelector(`[data-loc="${i.dataLoc}"]`);p(S?S.getBoundingClientRect():null)};return y(),window.addEventListener("scroll",y,!0),window.addEventListener("resize",y),()=>{window.removeEventListener("scroll",y,!0),window.removeEventListener("resize",y)}},[i]),!o||!i||!f)return null;const g=i.severity==="error";return pu.createPortal(M.jsx("div",{"data-ui-lint":!0,className:Kt("fixed rounded-lg pointer-events-none animate-in fade-in duration-100",g?"border-2 border-red-500 bg-red-500/10 shadow-[0_0_12px_rgba(239,68,68,0.4)]":"border-2 border-amber-500 bg-amber-500/10 shadow-[0_0_12px_rgba(245,158,11,0.4)]"),style:{top:f.top-4,left:f.left-4,width:f.width+8,height:f.height+8,zIndex:99997}}),hu())}function r8({rect:i,source:o,componentName:u}){const f=window.innerHeight,p=i.top,g=f-i.bottom,y=p>100||g<100,S={position:"fixed",left:Math.max(8,Math.min(i.left,window.innerWidth-320)),zIndex:99999};return y?S.bottom=f-i.top+8:S.top=i.bottom+8,M.jsxs("div",{style:S,className:"flex flex-col gap-1.5 p-2.5 px-3 rounded-lg bg-zinc-900/95 dark:bg-zinc-950/95 backdrop-blur-xl border border-zinc-700 dark:border-zinc-600 shadow-lg max-w-80 pointer-events-auto animate-in fade-in duration-150",children:[M.jsx("div",{className:"flex items-center gap-2",children:M.jsxs("span",{className:"text-[13px] font-semibold text-blue-400",children:["<",u," />"]})}),o&&M.jsxs("div",{className:"flex items-center gap-1.5 text-[11px] font-mono text-zinc-300",children:[M.jsx("span",{children:l8(o.fileName)}),M.jsx("span",{className:"text-zinc-500",children:":"}),M.jsx("span",{className:"text-blue-400",children:o.lineNumber})]}),M.jsx("div",{className:"flex items-center gap-3 text-[10px] text-zinc-500 border-t border-zinc-700/50 pt-2 mt-0.5",children:M.jsx("span",{children:"Click to inspect"})})]})}function s8(){const{inspectedElement:i}=af(),[o,u]=j.useState(!1),[f,p]=j.useState(null),g=S=>{S.stopPropagation()};if(j.useEffect(()=>{u(!0)},[]),j.useEffect(()=>{if(!i?.element)return;const S=()=>{i.element&&p(i.element.getBoundingClientRect())};return S(),window.addEventListener("scroll",S,!0),window.addEventListener("resize",S),()=>{window.removeEventListener("scroll",S,!0),window.removeEventListener("resize",S)}},[i?.element]),!o||!i||!f)return null;const y=M.jsxs("div",{"data-ui-lint":!0,onMouseDown:g,onPointerDown:g,onClick:g,onKeyDown:g,className:"pointer-events-none",children:[M.jsx("div",{className:"fixed border-2 border-blue-500 rounded-md bg-blue-500/10 animate-pulse",style:{top:f.top-3,left:f.left-3,width:f.width+6,height:f.height+6,boxShadow:"0 0 0 2px rgba(59, 130, 246, 0.6), 0 0 8px rgba(59, 130, 246, 0.3)",zIndex:99996}}),M.jsx("div",{className:"fixed px-2 py-0.5 bg-blue-500 text-white text-[10px] font-semibold rounded-t",style:{top:f.top-22,left:f.left-3,zIndex:99996},children:"Inspecting"})]});return pu.createPortal(y,hu())}const u8=Object.freeze(Object.defineProperty({__proto__:null,InspectedElementHighlight:s8,LocatorOverlay:i8,VisionIssueHighlight:o8},Symbol.toStringTag,{value:"Module"})),c8={repulsionForce:50,anchorStrength:.3,minDistance:24,iterations:50,damping:.9};function f8(i,o){if(i.length===0)return[];if(i.length===1)return[{...i[0],nudgedX:i[0].x,nudgedY:i[0].y}];const u=i.map(f=>({position:f,nudgedX:f.x,nudgedY:f.y,velocityX:0,velocityY:0}));for(let f=0;f<o.iterations;f++)for(let p=0;p<u.length;p++){let g=0,y=0;for(let E=0;E<u.length;E++){if(p===E)continue;const C=u[p].nudgedX-u[E].nudgedX,T=u[p].nudgedY-u[E].nudgedY,z=Math.max(Math.hypot(C,T),1);if(z<o.minDistance){const N=o.repulsionForce/(z*z);g+=C/z*N,y+=T/z*N}}const S=i[p].x-u[p].nudgedX,x=i[p].y-u[p].nudgedY;g+=S*o.anchorStrength,y+=x*o.anchorStrength,u[p].velocityX=(u[p].velocityX+g)*o.damping,u[p].velocityY=(u[p].velocityY+y)*o.damping,u[p].nudgedX+=u[p].velocityX,u[p].nudgedY+=u[p].velocityY}return u.map(f=>({...f.position,nudgedX:f.nudgedX,nudgedY:f.nudgedY}))}class Fx{config;positions;constructor(o){this.positions=o,this.config={...c8}}static create(o){return new Fx(o)}repulsion(o){return this.config.repulsionForce=o,this}anchorStrength(o){return this.config.anchorStrength=o,this}minDistance(o){return this.config.minDistance=o,this}iterations(o){return this.config.iterations=o,this}damping(o){return this.config.damping=o,this}compute(){return f8(this.positions,this.config)}}function d8(i,o,u,f){return i.filter(p=>Math.hypot(p.nudgedX-o,p.nudgedY-u)<=f)}function Gv(i,o,u,f){const p=Math.max(0,u-i),g=Math.max(0,f-o);return{left:i,top:o,right:u,bottom:f,width:p,height:g}}function JC(i,o){const u=Math.max(i.left,o.left),f=Math.max(i.top,o.top),p=Math.min(i.right,o.right),g=Math.min(i.bottom,o.bottom);return p<=u||g<=f?null:Gv(u,f,p,g)}function h8(i){return[i.overflow,i.overflowX,i.overflowY].some(u=>u&&u!=="visible")}function p8(i){const o=i,u=o.getBoundingClientRect();let f=Gv(u.left,u.top,u.right,u.bottom);const p=Gv(0,0,window.innerWidth,window.innerHeight);if(f=JC(f,p),!f)return null;let g=o.parentElement;for(;g;){const y=window.getComputedStyle(g);if(h8(y)){const S=g.getBoundingClientRect(),x=Gv(S.left,S.top,S.right,S.bottom);if(f=JC(f,x),!f)return null}g=g.parentElement}return f}function m8(i,o,u){const f=document.elementsFromPoint(o,u);for(const p of f){if(p.hasAttribute("data-ui-lint"))continue;if(p===i||i.contains(p)||p.contains(i))return!1;const g=window.getComputedStyle(p),y=g.position,S=parseInt(g.zIndex,10);if((y==="fixed"||y==="absolute")&&(S>0||g.zIndex==="auto"||g.zIndex==="inherit"))return!0}return!1}const Mn={bg:"var(--uilint-backdrop)",success:"var(--uilint-success)",warning:"var(--uilint-warning)",error:"var(--uilint-error)",text:"var(--uilint-text-primary)",border:"var(--uilint-border)",highlight:"var(--uilint-accent)",font:'system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif',shadow:"var(--uilint-shadow)"},Px=0,$C=150,IC=.5,Wx=1;function g8(i){if(i<=Px)return Wx;if(i>=$C)return IC;const o=(i-Px)/($C-Px);return Wx-o*(Wx-IC)}function FC(i){return i===0?Mn.success:Mn.warning}function y8(i){const o=i.tagName.toLowerCase(),u=i.source;if(u){const f=u.fileName.split("/").pop()||"Unknown";return`${o} > ${f}`}return o}const v8=30,Xv=20,PC=18;function b8(i,o){const u=Xv,f=window.innerWidth-PC-Xv,p=Xv,g=window.innerHeight-PC-Xv;return{x:Math.max(u,Math.min(f,i)),y:Math.max(p,Math.min(g,o))}}function S8(i,o){return i.status==="complete"&&i.issues.length===0?!1:i.status==="error"||i.status==="complete"&&i.issues.length>0?!0:i.status==="scanning"||i.status==="pending"?o:!1}function x8(){return M.jsx("style",{children:`
|
|
253
|
+
@keyframes uilint-badge-spin {
|
|
254
|
+
from { transform: rotate(0deg); }
|
|
255
|
+
to { transform: rotate(360deg); }
|
|
256
|
+
}
|
|
257
|
+
`})}function w8(){const{autoScanState:i,elementIssuesCache:o,setInspectedElement:u}=af(),[f,p]=j.useState(!1),[g,y]=j.useState({x:0,y:0}),[S,x]=j.useState([]),[E,C]=j.useState(!1),T=Be(U=>U.hoveredFilePath),z=Be(U=>U.selectedFilePath);j.useEffect(()=>{p(!0)},[]),j.useEffect(()=>{const U=pe=>{pe.altKey&&C(!0)},$=pe=>{pe.altKey||C(!1)},le=()=>{C(!1)};return window.addEventListener("keydown",U),window.addEventListener("keyup",$),window.addEventListener("blur",le),()=>{window.removeEventListener("keydown",U),window.removeEventListener("keyup",$),window.removeEventListener("blur",le)}},[]),j.useEffect(()=>{const U=$=>{y({x:$.clientX,y:$.clientY})};return window.addEventListener("mousemove",U),()=>window.removeEventListener("mousemove",U)},[]),j.useEffect(()=>{if(i.status==="idle"){x([]);return}const U=()=>{const re=[];for(const we of i.elements){const ye=o.get(we.id);if(!ye||!we.element||!document.contains(we.element))continue;const je=we.element.getBoundingClientRect(),ee=p8(we.element);if(!ee)continue;const Re=je.right-8,Ke=je.top-8,lt=Math.min(Re,ee.right-8),G=Math.max(ee.top+2,Ke),I=ee.left+Math.min(8,ee.width/2),fe=ee.top+Math.min(8,ee.height/2);if(m8(we.element,I,fe))continue;const Ae=DOMRect.fromRect({x:ee.left,y:ee.top,width:ee.width,height:ee.height});re.push({element:we,issue:ye,x:lt,y:G,rect:Ae})}x(re)};let $=null;const le=()=>{$===null&&($=requestAnimationFrame(()=>{$=null,U()}))};le();const pe=()=>le(),de=()=>le(),he=()=>{document.visibilityState==="visible"&&le()};return window.addEventListener("scroll",pe,!0),window.addEventListener("resize",de),document.addEventListener("visibilitychange",he),()=>{$!==null&&cancelAnimationFrame($),window.removeEventListener("scroll",pe,!0),window.removeEventListener("resize",de),document.removeEventListener("visibilitychange",he)}},[i.status,i.elements,o]);const N=j.useCallback((U,$)=>{const le={element:U.element,source:U.source,rect:U.element.getBoundingClientRect(),scannedElementId:U.id};u(le)},[u]),H=j.useMemo(()=>Fx.create(S).minDistance(24).repulsion(50).anchorStrength(.3).iterations(50).compute(),[S]),Q=j.useMemo(()=>{let U=H.filter(le=>S8(le.issue,E));const $=z||T;return $&&(U=U.filter(le=>le.element.source.fileName===$)),U},[H,E,z,T]),q=j.useCallback(U=>{U.stopPropagation()},[]);if(!f||i.status==="idle")return null;const W=M.jsxs("div",{"data-ui-lint":!0,onMouseDown:q,onPointerDown:q,onClick:q,onKeyDown:q,style:{pointerEvents:"none"},children:[M.jsx(x8,{}),Q.filter((U,$,le)=>{const pe=U.element.id;return le.findIndex(de=>de.element.id===pe)===$}).map(U=>{const $=Math.hypot(U.nudgedX-g.x,U.nudgedY-g.y),le=d8(Q,U.nudgedX,U.nudgedY,v8);return M.jsx(E8,{position:U,distance:$,nearbyBadges:le,cursorPos:g,onSelect:N},U.element.id)})]});return pu.createPortal(W,hu())}function E8({position:i,distance:o,nearbyBadges:u,cursorPos:f,onSelect:p}){const[g,y]=j.useState(!1),[S,x]=j.useState(null),E=Ta.useRef(null),{element:C,issue:T,rect:z,nudgedX:N,nudgedY:H}=i,Q=u.length>1,q=j.useMemo(()=>b8(N,H),[N,H]),W=j.useMemo(()=>T.status==="error"?Mn.error:T.status==="scanning"?Mn.highlight:T.status==="pending"?"rgba(156, 163, 175, 0.7)":T.status==="complete"?FC(T.issues.length):Mn.success,[T]),U=j.useCallback(()=>{E.current&&(clearTimeout(E.current),E.current=null),y(!0)},[]),$=j.useCallback(()=>{E.current=setTimeout(()=>{y(!1),x(null)},150)},[]),le=j.useCallback(we=>{we.preventDefault(),we.stopPropagation(),p(C,T)},[C,T,p]),pe=j.useMemo(()=>S===null?null:u[S]??null,[S,u]),de=j.useMemo(()=>{const we=q.x<window.innerWidth-220,ye=q.y<window.innerHeight-200;return{position:"fixed",top:ye?q.y+12:void 0,bottom:ye?void 0:window.innerHeight-q.y+12,left:we?q.x-8:void 0,right:we?void 0:window.innerWidth-q.x-8,zIndex:1e5,backgroundColor:Mn.bg,borderRadius:"8px",border:`1px solid ${Mn.border}`,boxShadow:"0 4px 20px rgba(0, 0, 0, 0.4)",padding:"4px 0",minWidth:"200px",fontFamily:Mn.font,pointerEvents:"auto"}},[q]),he=g?1.1:g8(o),re=T.status==="complete"?T.issues.length:0;return M.jsxs(M.Fragment,{children:[g&&!pe&&M.jsx("div",{style:{position:"fixed",top:z.top-2,left:z.left-2,width:z.width+4,height:z.height+4,border:`2px solid ${Mn.highlight}`,borderRadius:"4px",pointerEvents:"none",zIndex:99994,boxShadow:"0 0 0 1px rgba(59, 130, 246, 0.3)"},"data-ui-lint":!0}),pe&&M.jsx("div",{style:{position:"fixed",top:pe.rect.top-2,left:pe.rect.left-2,width:pe.rect.width+4,height:pe.rect.height+4,border:`2px solid ${Mn.highlight}`,borderRadius:"4px",pointerEvents:"none",zIndex:99994,boxShadow:"0 0 0 1px rgba(59, 130, 246, 0.3)"},"data-ui-lint":!0}),M.jsx("div",{style:{position:"fixed",top:q.y-0,left:q.x-0,zIndex:g?99999:99995,cursor:"pointer",transition:"transform 0.1s ease-out",transform:`scale(${he})`,transformOrigin:"center center",pointerEvents:"auto"},"data-ui-lint":!0,onMouseEnter:U,onMouseLeave:$,onClick:le,children:M.jsx("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",width:"18px",height:"18px",borderRadius:"50%",backgroundColor:W,boxShadow:Mn.shadow,border:`1px solid ${Mn.border}`},children:T.status==="scanning"?M.jsx("div",{style:{width:"10px",height:"10px",border:"2px solid rgba(255, 255, 255, 0.3)",borderTopColor:"#FFFFFF",borderRadius:"50%",animation:"uilint-badge-spin 0.8s linear infinite"}}):T.status==="error"?M.jsx(z8,{}):T.status==="pending"?M.jsx("div",{style:{width:"6px",height:"6px",borderRadius:"50%",backgroundColor:"rgba(255, 255, 255, 0.4)"}}):re===0?M.jsx(C8,{}):M.jsx("span",{style:{color:Mn.text,fontSize:"10px",fontWeight:700,fontFamily:Mn.font},children:re>9?"9+":re})})}),g&&Q&&M.jsx("div",{style:de,"data-ui-lint":!0,onMouseEnter:U,onMouseLeave:$,children:u.map((we,ye)=>M.jsx(T8,{badge:we,isHovered:S===ye,onMouseEnter:()=>x(ye),onMouseLeave:()=>x(null),onClick:()=>p(we.element,we.issue)},we.element.id))})]})}function T8({badge:i,isHovered:o,onMouseEnter:u,onMouseLeave:f,onClick:p}){const g=y8(i.element),y=i.issue.status==="complete"?i.issue.issues.length:0,S=FC(y);return M.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:"8px 12px",cursor:"pointer",backgroundColor:o?"rgba(59, 130, 246, 0.15)":"transparent",transition:"background-color 0.1s"},onMouseEnter:u,onMouseLeave:f,onClick:p,children:[M.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"8px"},children:[M.jsx("div",{style:{width:"6px",height:"6px",borderRadius:"50%",backgroundColor:S}}),M.jsx("span",{style:{fontSize:"12px",color:Mn.text,maxWidth:"160px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:g})]}),i.issue.status==="complete"&&(y===0?M.jsx("div",{style:{width:"14px",height:"14px",borderRadius:"50%",backgroundColor:S,display:"flex",alignItems:"center",justifyContent:"center"},children:M.jsx(A8,{})}):M.jsx("div",{style:{minWidth:"16px",height:"16px",padding:"0 4px",borderRadius:"8px",backgroundColor:S,color:Mn.text,fontSize:"10px",fontWeight:700,display:"flex",alignItems:"center",justifyContent:"center"},children:y>9?"9+":y})),i.issue.status==="scanning"&&M.jsx("div",{style:{width:"12px",height:"12px",border:"2px solid rgba(59, 130, 246, 0.3)",borderTopColor:Mn.highlight,borderRadius:"50%",animation:"uilint-badge-spin 0.8s linear infinite"}}),i.issue.status==="error"&&M.jsx("div",{style:{width:"14px",height:"14px",borderRadius:"50%",backgroundColor:Mn.error,display:"flex",alignItems:"center",justifyContent:"center"},children:M.jsx(R8,{})}),i.issue.status==="pending"&&M.jsx("div",{style:{width:"8px",height:"8px",borderRadius:"50%",backgroundColor:"rgba(156, 163, 175, 0.5)"}})]})}function A8(){return M.jsx("svg",{width:"10",height:"10",viewBox:"0 0 24 24",fill:"none",children:M.jsx("path",{d:"M20 6L9 17l-5-5",stroke:Mn.text,strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round"})})}function C8(){return M.jsx("svg",{width:"8",height:"8",viewBox:"0 0 24 24",fill:"none",children:M.jsx("path",{d:"M20 6L9 17l-5-5",stroke:Mn.text,strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round"})})}function z8(){return M.jsx("svg",{width:"8",height:"8",viewBox:"0 0 24 24",fill:"none",children:M.jsx("path",{d:"M12 8v4M12 16h.01",stroke:Mn.text,strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round"})})}function R8(){return M.jsx("svg",{width:"10",height:"10",viewBox:"0 0 24 24",fill:"none",children:M.jsx("path",{d:"M12 8v4M12 16h.01",stroke:Mn.text,strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round"})})}const M8=Object.freeze(Object.defineProperty({__proto__:null,ElementBadges:w8},Symbol.toStringTag,{value:"Module"})),ir={badgeBg:"oklch(0.585 0.233 283.04 / 95%)",badgeBgWarning:"var(--uilint-warning)",badgeBgInfo:"var(--uilint-accent)",badgeText:"var(--uilint-text-primary)",badgeShadow:"var(--uilint-shadow)",highlightBorder:"oklch(0.585 0.233 283.04 / 80%)",error:"var(--uilint-error)",warning:"var(--uilint-warning)",info:"var(--uilint-accent)"};function D8(i){switch(i){case"error":return ir.badgeBg;case"warning":return ir.badgeBgWarning;case"info":return ir.badgeBgInfo;default:return ir.badgeBg}}function _8(i){return i.some(o=>o.severity==="error")?"error":i.some(o=>o.severity==="warning")?"warning":"info"}function O8({element:i,issues:o,isHighlighted:u,onBadgeClick:f}){const p=j.useMemo(()=>i.getBoundingClientRect(),[i]),g=_8(o),y=D8(g),S=j.useMemo(()=>{switch(g){case"error":return ir.error;case"warning":return ir.warning;case"info":return ir.info;default:return ir.highlightBorder}},[g]),x={position:"fixed",top:p.top-8,left:p.right-8,zIndex:99997,display:"flex",alignItems:"center",justifyContent:"center",minWidth:"18px",height:"18px",padding:"0 5px",borderRadius:"9px",backgroundColor:y,color:ir.badgeText,fontSize:"10px",fontWeight:600,fontFamily:'system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif',boxShadow:ir.badgeShadow,cursor:"pointer",transition:"transform 0.15s ease",transform:u?"scale(1.2)":"scale(1)",pointerEvents:"auto"},E=u?{position:"fixed",top:p.top-2,left:p.left-2,width:p.width+4,height:p.height+4,border:`2px solid ${S}`,backgroundColor:`${S}15`,borderRadius:"4px",zIndex:99996,pointerEvents:"none"}:{},C=j.useCallback(T=>{T.stopPropagation(),T.preventDefault(),f()},[f]);return M.jsxs(M.Fragment,{children:[u&&M.jsx("div",{style:E}),M.jsx("div",{style:x,onClick:C,title:`${o.length} vision issue${o.length!==1?"s":""}`,role:"button","aria-label":`${o.length} vision issues detected`,children:o.length})]})}function j8(){const i=Be(y=>y.visionIssuesCache),o=Be(y=>y.highlightedVisionElementId),u=Be(y=>y.setHighlightedVisionElementId),f=j.useMemo(()=>{const y=new Map;return i.forEach(S=>{S.forEach(x=>{if(x.elementId){const E=y.get(x.elementId)||[];E.push(x),y.set(x.elementId,E)}})}),y},[i]),p=j.useMemo(()=>{const y=[];return f.forEach((S,x)=>{const E=S[0]?.dataLoc;if(!E)return;const C=document.querySelector(`[data-loc="${E}"]`);C&&!C.closest("[data-ui-lint]")&&y.push({element:C,issues:S,elementId:x})}),y},[f]),g=j.useCallback(y=>{u(o===y?null:y)},[o,u]);return p.length===0?null:pu.createPortal(M.jsx("div",{"data-ui-lint":!0,style:{pointerEvents:"none"},children:p.map(({element:y,issues:S,elementId:x})=>M.jsx(O8,{element:y,issues:S,isHighlighted:o===x,onBadgeClick:()=>g(x)},x))}),hu())}const k8=Object.freeze(Object.defineProperty({__proto__:null,VisionIssueBadges:j8},Symbol.toStringTag,{value:"Module"}));function N8(i,o){if(i.match(/^[a-z]+:\/\//i))return i;if(i.match(/^\/\//))return window.location.protocol+i;if(i.match(/^[a-z]+:/i))return i;const u=document.implementation.createHTMLDocument(),f=u.createElement("base"),p=u.createElement("a");return u.head.appendChild(f),u.body.appendChild(p),o&&(f.href=o),p.href=i,p.href}const U8=(()=>{let i=0;const o=()=>`0000${(Math.random()*36**4<<0).toString(36)}`.slice(-4);return()=>(i+=1,`u${o()}${i}`)})();function wu(i){const o=[];for(let u=0,f=i.length;u<f;u++)o.push(i[u]);return o}let yh=null;function WC(i={}){return yh||(i.includeStyleProperties?(yh=i.includeStyleProperties,yh):(yh=wu(window.getComputedStyle(document.documentElement)),yh))}function Qv(i,o){const f=(i.ownerDocument.defaultView||window).getComputedStyle(i).getPropertyValue(o);return f?parseFloat(f.replace("px","")):0}function L8(i){const o=Qv(i,"border-left-width"),u=Qv(i,"border-right-width");return i.clientWidth+o+u}function B8(i){const o=Qv(i,"border-top-width"),u=Qv(i,"border-bottom-width");return i.clientHeight+o+u}function ew(i,o={}){const u=o.width||L8(i),f=o.height||B8(i);return{width:u,height:f}}function H8(){let i,o;try{o=process}catch{}const u=o&&o.env?o.env.devicePixelRatio:null;return u&&(i=parseInt(u,10),Number.isNaN(i)&&(i=1)),i||window.devicePixelRatio||1}const $l=16384;function V8(i){(i.width>$l||i.height>$l)&&(i.width>$l&&i.height>$l?i.width>i.height?(i.height*=$l/i.width,i.width=$l):(i.width*=$l/i.height,i.height=$l):i.width>$l?(i.height*=$l/i.width,i.width=$l):(i.width*=$l/i.height,i.height=$l))}function Y8(i,o={}){return i.toBlob?new Promise(u=>{i.toBlob(u,o.type?o.type:"image/png",o.quality?o.quality:1)}):new Promise(u=>{const f=window.atob(i.toDataURL(o.type?o.type:void 0,o.quality?o.quality:void 0).split(",")[1]),p=f.length,g=new Uint8Array(p);for(let y=0;y<p;y+=1)g[y]=f.charCodeAt(y);u(new Blob([g],{type:o.type?o.type:"image/png"}))})}function Zv(i){return new Promise((o,u)=>{const f=new Image;f.onload=()=>{f.decode().then(()=>{requestAnimationFrame(()=>o(f))})},f.onerror=u,f.crossOrigin="anonymous",f.decoding="async",f.src=i})}async function q8(i){return Promise.resolve().then(()=>new XMLSerializer().serializeToString(i)).then(encodeURIComponent).then(o=>`data:image/svg+xml;charset=utf-8,${o}`)}async function G8(i,o,u){const f="http://www.w3.org/2000/svg",p=document.createElementNS(f,"svg"),g=document.createElementNS(f,"foreignObject");return p.setAttribute("width",`${o}`),p.setAttribute("height",`${u}`),p.setAttribute("viewBox",`0 0 ${o} ${u}`),g.setAttribute("width","100%"),g.setAttribute("height","100%"),g.setAttribute("x","0"),g.setAttribute("y","0"),g.setAttribute("externalResourcesRequired","true"),p.appendChild(g),g.appendChild(i),q8(p)}const Dl=(i,o)=>{if(i instanceof o)return!0;const u=Object.getPrototypeOf(i);return u===null?!1:u.constructor.name===o.name||Dl(u,o)};function X8(i){const o=i.getPropertyValue("content");return`${i.cssText} content: '${o.replace(/'|"/g,"")}';`}function Q8(i,o){return WC(o).map(u=>{const f=i.getPropertyValue(u),p=i.getPropertyPriority(u);return`${u}: ${f}${p?" !important":""};`}).join(" ")}function Z8(i,o,u,f){const p=`.${i}:${o}`,g=u.cssText?X8(u):Q8(u,f);return document.createTextNode(`${p}{${g}}`)}function ez(i,o,u,f){const p=window.getComputedStyle(i,u),g=p.getPropertyValue("content");if(g===""||g==="none")return;const y=U8();try{o.className=`${o.className} ${y}`}catch{return}const S=document.createElement("style");S.appendChild(Z8(y,u,p,f)),o.appendChild(S)}function K8(i,o,u){ez(i,o,":before",u),ez(i,o,":after",u)}const tz="application/font-woff",nz="image/jpeg",J8={woff:tz,woff2:tz,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:nz,jpeg:nz,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function $8(i){const o=/\.([^./]*?)$/g.exec(i);return o?o[1]:""}function tw(i){const o=$8(i).toLowerCase();return J8[o]||""}function I8(i){return i.split(/,/)[1]}function nw(i){return i.search(/^(data:)/)!==-1}function F8(i,o){return`data:${o};base64,${i}`}async function az(i,o,u){const f=await fetch(i,o);if(f.status===404)throw new Error(`Resource "${f.url}" not found`);const p=await f.blob();return new Promise((g,y)=>{const S=new FileReader;S.onerror=y,S.onloadend=()=>{try{g(u({res:f,result:S.result}))}catch(x){y(x)}},S.readAsDataURL(p)})}const aw={};function P8(i,o,u){let f=i.replace(/\?.*/,"");return u&&(f=i),/ttf|otf|eot|woff2?/i.test(f)&&(f=f.replace(/.*\//,"")),o?`[${o}]${f}`:f}async function lw(i,o,u){const f=P8(i,o,u.includeQueryParams);if(aw[f]!=null)return aw[f];u.cacheBust&&(i+=(/\?/.test(i)?"&":"?")+new Date().getTime());let p;try{const g=await az(i,u.fetchRequestInit,({res:y,result:S})=>(o||(o=y.headers.get("Content-Type")||""),I8(S)));p=F8(g,o)}catch(g){p=u.imagePlaceholder||"";let y=`Failed to fetch resource: ${i}`;g&&(y=typeof g=="string"?g:g.message),y&&console.warn(y)}return aw[f]=p,p}async function W8(i){const o=i.toDataURL();return o==="data:,"?i.cloneNode(!1):Zv(o)}async function ej(i,o){if(i.currentSrc){const g=document.createElement("canvas"),y=g.getContext("2d");g.width=i.clientWidth,g.height=i.clientHeight,y?.drawImage(i,0,0,g.width,g.height);const S=g.toDataURL();return Zv(S)}const u=i.poster,f=tw(u),p=await lw(u,f,o);return Zv(p)}async function tj(i,o){var u;try{if(!((u=i?.contentDocument)===null||u===void 0)&&u.body)return await Kv(i.contentDocument.body,o,!0)}catch{}return i.cloneNode(!1)}async function nj(i,o){return Dl(i,HTMLCanvasElement)?W8(i):Dl(i,HTMLVideoElement)?ej(i,o):Dl(i,HTMLIFrameElement)?tj(i,o):i.cloneNode(lz(i))}const aj=i=>i.tagName!=null&&i.tagName.toUpperCase()==="SLOT",lz=i=>i.tagName!=null&&i.tagName.toUpperCase()==="SVG";async function lj(i,o,u){var f,p;if(lz(o))return o;let g=[];return aj(i)&&i.assignedNodes?g=wu(i.assignedNodes()):Dl(i,HTMLIFrameElement)&&(!((f=i.contentDocument)===null||f===void 0)&&f.body)?g=wu(i.contentDocument.body.childNodes):g=wu(((p=i.shadowRoot)!==null&&p!==void 0?p:i).childNodes),g.length===0||Dl(i,HTMLVideoElement)||await g.reduce((y,S)=>y.then(()=>Kv(S,u)).then(x=>{x&&o.appendChild(x)}),Promise.resolve()),o}function ij(i,o,u){const f=o.style;if(!f)return;const p=window.getComputedStyle(i);p.cssText?(f.cssText=p.cssText,f.transformOrigin=p.transformOrigin):WC(u).forEach(g=>{let y=p.getPropertyValue(g);g==="font-size"&&y.endsWith("px")&&(y=`${Math.floor(parseFloat(y.substring(0,y.length-2)))-.1}px`),Dl(i,HTMLIFrameElement)&&g==="display"&&y==="inline"&&(y="block"),g==="d"&&o.getAttribute("d")&&(y=`path(${o.getAttribute("d")})`),f.setProperty(g,y,p.getPropertyPriority(g))})}function oj(i,o){Dl(i,HTMLTextAreaElement)&&(o.innerHTML=i.value),Dl(i,HTMLInputElement)&&o.setAttribute("value",i.value)}function rj(i,o){if(Dl(i,HTMLSelectElement)){const f=Array.from(o.children).find(p=>i.value===p.getAttribute("value"));f&&f.setAttribute("selected","")}}function sj(i,o,u){return Dl(o,Element)&&(ij(i,o,u),K8(i,o,u),oj(i,o),rj(i,o)),o}async function uj(i,o){const u=i.querySelectorAll?i.querySelectorAll("use"):[];if(u.length===0)return i;const f={};for(let g=0;g<u.length;g++){const S=u[g].getAttribute("xlink:href");if(S){const x=i.querySelector(S),E=document.querySelector(S);!x&&E&&!f[S]&&(f[S]=await Kv(E,o,!0))}}const p=Object.values(f);if(p.length){const g="http://www.w3.org/1999/xhtml",y=document.createElementNS(g,"svg");y.setAttribute("xmlns",g),y.style.position="absolute",y.style.width="0",y.style.height="0",y.style.overflow="hidden",y.style.display="none";const S=document.createElementNS(g,"defs");y.appendChild(S);for(let x=0;x<p.length;x++)S.appendChild(p[x]);i.appendChild(y)}return i}async function Kv(i,o,u){return!u&&o.filter&&!o.filter(i)?null:Promise.resolve(i).then(f=>nj(f,o)).then(f=>lj(i,f,o)).then(f=>sj(i,f,o)).then(f=>uj(f,o))}const iz=/url\((['"]?)([^'"]+?)\1\)/g,cj=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,fj=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function dj(i){const o=i.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp(`(url\\(['"]?)(${o})(['"]?\\))`,"g")}function hj(i){const o=[];return i.replace(iz,(u,f,p)=>(o.push(p),u)),o.filter(u=>!nw(u))}async function pj(i,o,u,f,p){try{const g=u?N8(o,u):o,y=tw(o);let S;return p||(S=await lw(g,y,f)),i.replace(dj(o),`$1${S}$3`)}catch{}return i}function mj(i,{preferredFontFormat:o}){return o?i.replace(fj,u=>{for(;;){const[f,,p]=cj.exec(u)||[];if(!p)return"";if(p===o)return`src: ${f};`}}):i}function oz(i){return i.search(iz)!==-1}async function rz(i,o,u){if(!oz(i))return i;const f=mj(i,u);return hj(f).reduce((g,y)=>g.then(S=>pj(S,y,o,u)),Promise.resolve(f))}async function vh(i,o,u){var f;const p=(f=o.style)===null||f===void 0?void 0:f.getPropertyValue(i);if(p){const g=await rz(p,null,u);return o.style.setProperty(i,g,o.style.getPropertyPriority(i)),!0}return!1}async function gj(i,o){await vh("background",i,o)||await vh("background-image",i,o),await vh("mask",i,o)||await vh("-webkit-mask",i,o)||await vh("mask-image",i,o)||await vh("-webkit-mask-image",i,o)}async function yj(i,o){const u=Dl(i,HTMLImageElement);if(!(u&&!nw(i.src))&&!(Dl(i,SVGImageElement)&&!nw(i.href.baseVal)))return;const f=u?i.src:i.href.baseVal,p=await lw(f,tw(f),o);await new Promise((g,y)=>{i.onload=g,i.onerror=o.onImageErrorHandler?(...x)=>{try{g(o.onImageErrorHandler(...x))}catch(E){y(E)}}:y;const S=i;S.decode&&(S.decode=g),S.loading==="lazy"&&(S.loading="eager"),u?(i.srcset="",i.src=p):i.href.baseVal=p})}async function vj(i,o){const f=wu(i.childNodes).map(p=>sz(p,o));await Promise.all(f).then(()=>i)}async function sz(i,o){Dl(i,Element)&&(await gj(i,o),await yj(i,o),await vj(i,o))}function bj(i,o){const{style:u}=i;o.backgroundColor&&(u.backgroundColor=o.backgroundColor),o.width&&(u.width=`${o.width}px`),o.height&&(u.height=`${o.height}px`);const f=o.style;return f!=null&&Object.keys(f).forEach(p=>{u[p]=f[p]}),i}const uz={};async function cz(i){let o=uz[i];if(o!=null)return o;const f=await(await fetch(i)).text();return o={url:i,cssText:f},uz[i]=o,o}async function fz(i,o){let u=i.cssText;const f=/url\(["']?([^"')]+)["']?\)/g,g=(u.match(/url\([^)]+\)/g)||[]).map(async y=>{let S=y.replace(f,"$1");return S.startsWith("https://")||(S=new URL(S,i.url).href),az(S,o.fetchRequestInit,({result:x})=>(u=u.replace(y,`url(${x})`),[y,x]))});return Promise.all(g).then(()=>u)}function dz(i){if(i==null)return[];const o=[],u=/(\/\*[\s\S]*?\*\/)/gi;let f=i.replace(u,"");const p=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");for(;;){const x=p.exec(f);if(x===null)break;o.push(x[0])}f=f.replace(p,"");const g=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,y="((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})",S=new RegExp(y,"gi");for(;;){let x=g.exec(f);if(x===null){if(x=S.exec(f),x===null)break;g.lastIndex=S.lastIndex}else S.lastIndex=g.lastIndex;o.push(x[0])}return o}async function Sj(i,o){const u=[],f=[];return i.forEach(p=>{if("cssRules"in p)try{wu(p.cssRules||[]).forEach((g,y)=>{if(g.type===CSSRule.IMPORT_RULE){let S=y+1;const x=g.href,E=cz(x).then(C=>fz(C,o)).then(C=>dz(C).forEach(T=>{try{p.insertRule(T,T.startsWith("@import")?S+=1:p.cssRules.length)}catch(z){console.error("Error inserting rule from remote css",{rule:T,error:z})}})).catch(C=>{console.error("Error loading remote css",C.toString())});f.push(E)}})}catch(g){const y=i.find(S=>S.href==null)||document.styleSheets[0];p.href!=null&&f.push(cz(p.href).then(S=>fz(S,o)).then(S=>dz(S).forEach(x=>{y.insertRule(x,y.cssRules.length)})).catch(S=>{console.error("Error loading remote stylesheet",S)})),console.error("Error inlining remote css file",g)}}),Promise.all(f).then(()=>(i.forEach(p=>{if("cssRules"in p)try{wu(p.cssRules||[]).forEach(g=>{u.push(g)})}catch(g){console.error(`Error while reading CSS rules from ${p.href}`,g)}}),u))}function xj(i){return i.filter(o=>o.type===CSSRule.FONT_FACE_RULE).filter(o=>oz(o.style.getPropertyValue("src")))}async function wj(i,o){if(i.ownerDocument==null)throw new Error("Provided element is not within a Document");const u=wu(i.ownerDocument.styleSheets),f=await Sj(u,o);return xj(f)}function hz(i){return i.trim().replace(/["']/g,"")}function Ej(i){const o=new Set;function u(f){(f.style.fontFamily||getComputedStyle(f).fontFamily).split(",").forEach(g=>{o.add(hz(g))}),Array.from(f.children).forEach(g=>{g instanceof HTMLElement&&u(g)})}return u(i),o}async function pz(i,o){const u=await wj(i,o),f=Ej(i);return(await Promise.all(u.filter(g=>f.has(hz(g.style.fontFamily))).map(g=>{const y=g.parentStyleSheet?g.parentStyleSheet.href:null;return rz(g.cssText,y,o)}))).join(`
|
|
258
|
+
`)}async function Tj(i,o){const u=o.fontEmbedCSS!=null?o.fontEmbedCSS:o.skipFonts?null:await pz(i,o);if(u){const f=document.createElement("style"),p=document.createTextNode(u);f.appendChild(p),i.firstChild?i.insertBefore(f,i.firstChild):i.appendChild(f)}}async function mz(i,o={}){const{width:u,height:f}=ew(i,o),p=await Kv(i,o,!0);return await Tj(p,o),await sz(p,o),bj(p,o),await G8(p,u,f)}async function m0(i,o={}){const{width:u,height:f}=ew(i,o),p=await mz(i,o),g=await Zv(p),y=document.createElement("canvas"),S=y.getContext("2d"),x=o.pixelRatio||H8(),E=o.canvasWidth||u,C=o.canvasHeight||f;return y.width=E*x,y.height=C*x,o.skipAutoScale||V8(y),y.style.width=`${E}`,y.style.height=`${C}`,o.backgroundColor&&(S.fillStyle=o.backgroundColor,S.fillRect(0,0,y.width,y.height)),S.drawImage(g,0,0,y.width,y.height),y}async function Aj(i,o={}){const{width:u,height:f}=ew(i,o);return(await m0(i,o)).getContext("2d").getImageData(0,0,u,f).data}async function Cj(i,o={}){return(await m0(i,o)).toDataURL()}async function zj(i,o={}){return(await m0(i,o)).toDataURL("image/jpeg",o.quality||1)}async function Rj(i,o={}){const u=await m0(i,o);return await Y8(u)}async function Mj(i,o={}){return pz(i,o)}const gz=Object.freeze(Object.defineProperty({__proto__:null,getFontEmbedCSS:Mj,toBlob:Rj,toCanvas:m0,toJpeg:zj,toPixelData:Aj,toPng:Cj,toSvg:mz},Symbol.toStringTag,{value:"Module"}))})();
|
|
259
|
+
//# sourceMappingURL=devtools.js.map
|