liquid-glass-for-react 0.0.1 → 0.0.2
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/my-liquid-ui.es.js +282 -0
- package/dist/my-liquid-ui.umd.js +22 -0
- package/package.json +3 -1
- package/dist/assets/index-Dci6c7or.js +0 -168
- package/dist/assets/index-fVSU2EcT.css +0 -1
- package/dist/index.html +0 -14
|
@@ -1,168 +0,0 @@
|
|
|
1
|
-
(function(){const l=document.createElement("link").relList;if(l&&l.supports&&l.supports("modulepreload"))return;for(const c of document.querySelectorAll('link[rel="modulepreload"]'))r(c);new MutationObserver(c=>{for(const d of c)if(d.type==="childList")for(const f of d.addedNodes)f.tagName==="LINK"&&f.rel==="modulepreload"&&r(f)}).observe(document,{childList:!0,subtree:!0});function u(c){const d={};return c.integrity&&(d.integrity=c.integrity),c.referrerPolicy&&(d.referrerPolicy=c.referrerPolicy),c.crossOrigin==="use-credentials"?d.credentials="include":c.crossOrigin==="anonymous"?d.credentials="omit":d.credentials="same-origin",d}function r(c){if(c.ep)return;c.ep=!0;const d=u(c);fetch(c.href,d)}})();function fy(a){return a&&a.__esModule&&Object.prototype.hasOwnProperty.call(a,"default")?a.default:a}var Eo={exports:{}},ul={};/**
|
|
2
|
-
* @license React
|
|
3
|
-
* react-jsx-runtime.production.js
|
|
4
|
-
*
|
|
5
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
6
|
-
*
|
|
7
|
-
* This source code is licensed under the MIT license found in the
|
|
8
|
-
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/var Hm;function p1(){if(Hm)return ul;Hm=1;var a=Symbol.for("react.transitional.element"),l=Symbol.for("react.fragment");function u(r,c,d){var f=null;if(d!==void 0&&(f=""+d),c.key!==void 0&&(f=""+c.key),"key"in c){d={};for(var y in c)y!=="key"&&(d[y]=c[y])}else d=c;return c=d.ref,{$$typeof:a,type:r,key:f,ref:c!==void 0?c:null,props:d}}return ul.Fragment=l,ul.jsx=u,ul.jsxs=u,ul}var Lm;function y1(){return Lm||(Lm=1,Eo.exports=p1()),Eo.exports}var S=y1(),Mo={exports:{}},st={};/**
|
|
10
|
-
* @license React
|
|
11
|
-
* react.production.js
|
|
12
|
-
*
|
|
13
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
14
|
-
*
|
|
15
|
-
* This source code is licensed under the MIT license found in the
|
|
16
|
-
* LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/var qm;function g1(){if(qm)return st;qm=1;var a=Symbol.for("react.transitional.element"),l=Symbol.for("react.portal"),u=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),c=Symbol.for("react.profiler"),d=Symbol.for("react.consumer"),f=Symbol.for("react.context"),y=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),m=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),b=Symbol.iterator;function T(A){return A===null||typeof A!="object"?null:(A=b&&A[b]||A["@@iterator"],typeof A=="function"?A:null)}var C={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},U=Object.assign,q={};function Z(A,_,Q){this.props=A,this.context=_,this.refs=q,this.updater=Q||C}Z.prototype.isReactComponent={},Z.prototype.setState=function(A,_){if(typeof A!="object"&&typeof A!="function"&&A!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,A,_,"setState")},Z.prototype.forceUpdate=function(A){this.updater.enqueueForceUpdate(this,A,"forceUpdate")};function G(){}G.prototype=Z.prototype;function K(A,_,Q){this.props=A,this.context=_,this.refs=q,this.updater=Q||C}var L=K.prototype=new G;L.constructor=K,U(L,Z.prototype),L.isPureReactComponent=!0;var tt=Array.isArray,H={H:null,A:null,T:null,S:null,V:null},F=Object.prototype.hasOwnProperty;function nt(A,_,Q,X,W,ht){return Q=ht.ref,{$$typeof:a,type:A,key:_,ref:Q!==void 0?Q:null,props:ht}}function J(A,_){return nt(A.type,_,void 0,void 0,void 0,A.props)}function yt(A){return typeof A=="object"&&A!==null&&A.$$typeof===a}function wt(A){var _={"=":"=0",":":"=2"};return"$"+A.replace(/[=:]/g,function(Q){return _[Q]})}var Xt=/\/+/g;function qt(A,_){return typeof A=="object"&&A!==null&&A.key!=null?wt(""+A.key):_.toString(36)}function Pe(){}function He(A){switch(A.status){case"fulfilled":return A.value;case"rejected":throw A.reason;default:switch(typeof A.status=="string"?A.then(Pe,Pe):(A.status="pending",A.then(function(_){A.status==="pending"&&(A.status="fulfilled",A.value=_)},function(_){A.status==="pending"&&(A.status="rejected",A.reason=_)})),A.status){case"fulfilled":return A.value;case"rejected":throw A.reason}}throw A}function Jt(A,_,Q,X,W){var ht=typeof A;(ht==="undefined"||ht==="boolean")&&(A=null);var lt=!1;if(A===null)lt=!0;else switch(ht){case"bigint":case"string":case"number":lt=!0;break;case"object":switch(A.$$typeof){case a:case l:lt=!0;break;case v:return lt=A._init,Jt(lt(A._payload),_,Q,X,W)}}if(lt)return W=W(A),lt=X===""?"."+qt(A,0):X,tt(W)?(Q="",lt!=null&&(Q=lt.replace(Xt,"$&/")+"/"),Jt(W,_,Q,"",function(dn){return dn})):W!=null&&(yt(W)&&(W=J(W,Q+(W.key==null||A&&A.key===W.key?"":(""+W.key).replace(Xt,"$&/")+"/")+lt)),_.push(W)),1;lt=0;var he=X===""?".":X+":";if(tt(A))for(var Et=0;Et<A.length;Et++)X=A[Et],ht=he+qt(X,Et),lt+=Jt(X,_,Q,ht,W);else if(Et=T(A),typeof Et=="function")for(A=Et.call(A),Et=0;!(X=A.next()).done;)X=X.value,ht=he+qt(X,Et++),lt+=Jt(X,_,Q,ht,W);else if(ht==="object"){if(typeof A.then=="function")return Jt(He(A),_,Q,X,W);throw _=String(A),Error("Objects are not valid as a React child (found: "+(_==="[object Object]"?"object with keys {"+Object.keys(A).join(", ")+"}":_)+"). If you meant to render a collection of children, use an array instead.")}return lt}function N(A,_,Q){if(A==null)return A;var X=[],W=0;return Jt(A,X,"","",function(ht){return _.call(Q,ht,W++)}),X}function B(A){if(A._status===-1){var _=A._result;_=_(),_.then(function(Q){(A._status===0||A._status===-1)&&(A._status=1,A._result=Q)},function(Q){(A._status===0||A._status===-1)&&(A._status=2,A._result=Q)}),A._status===-1&&(A._status=0,A._result=_)}if(A._status===1)return A._result.default;throw A._result}var P=typeof reportError=="function"?reportError:function(A){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var _=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof A=="object"&&A!==null&&typeof A.message=="string"?String(A.message):String(A),error:A});if(!window.dispatchEvent(_))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",A);return}console.error(A)};function mt(){}return st.Children={map:N,forEach:function(A,_,Q){N(A,function(){_.apply(this,arguments)},Q)},count:function(A){var _=0;return N(A,function(){_++}),_},toArray:function(A){return N(A,function(_){return _})||[]},only:function(A){if(!yt(A))throw Error("React.Children.only expected to receive a single React element child.");return A}},st.Component=Z,st.Fragment=u,st.Profiler=c,st.PureComponent=K,st.StrictMode=r,st.Suspense=p,st.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=H,st.__COMPILER_RUNTIME={__proto__:null,c:function(A){return H.H.useMemoCache(A)}},st.cache=function(A){return function(){return A.apply(null,arguments)}},st.cloneElement=function(A,_,Q){if(A==null)throw Error("The argument must be a React element, but you passed "+A+".");var X=U({},A.props),W=A.key,ht=void 0;if(_!=null)for(lt in _.ref!==void 0&&(ht=void 0),_.key!==void 0&&(W=""+_.key),_)!F.call(_,lt)||lt==="key"||lt==="__self"||lt==="__source"||lt==="ref"&&_.ref===void 0||(X[lt]=_[lt]);var lt=arguments.length-2;if(lt===1)X.children=Q;else if(1<lt){for(var he=Array(lt),Et=0;Et<lt;Et++)he[Et]=arguments[Et+2];X.children=he}return nt(A.type,W,void 0,void 0,ht,X)},st.createContext=function(A){return A={$$typeof:f,_currentValue:A,_currentValue2:A,_threadCount:0,Provider:null,Consumer:null},A.Provider=A,A.Consumer={$$typeof:d,_context:A},A},st.createElement=function(A,_,Q){var X,W={},ht=null;if(_!=null)for(X in _.key!==void 0&&(ht=""+_.key),_)F.call(_,X)&&X!=="key"&&X!=="__self"&&X!=="__source"&&(W[X]=_[X]);var lt=arguments.length-2;if(lt===1)W.children=Q;else if(1<lt){for(var he=Array(lt),Et=0;Et<lt;Et++)he[Et]=arguments[Et+2];W.children=he}if(A&&A.defaultProps)for(X in lt=A.defaultProps,lt)W[X]===void 0&&(W[X]=lt[X]);return nt(A,ht,void 0,void 0,null,W)},st.createRef=function(){return{current:null}},st.forwardRef=function(A){return{$$typeof:y,render:A}},st.isValidElement=yt,st.lazy=function(A){return{$$typeof:v,_payload:{_status:-1,_result:A},_init:B}},st.memo=function(A,_){return{$$typeof:m,type:A,compare:_===void 0?null:_}},st.startTransition=function(A){var _=H.T,Q={};H.T=Q;try{var X=A(),W=H.S;W!==null&&W(Q,X),typeof X=="object"&&X!==null&&typeof X.then=="function"&&X.then(mt,P)}catch(ht){P(ht)}finally{H.T=_}},st.unstable_useCacheRefresh=function(){return H.H.useCacheRefresh()},st.use=function(A){return H.H.use(A)},st.useActionState=function(A,_,Q){return H.H.useActionState(A,_,Q)},st.useCallback=function(A,_){return H.H.useCallback(A,_)},st.useContext=function(A){return H.H.useContext(A)},st.useDebugValue=function(){},st.useDeferredValue=function(A,_){return H.H.useDeferredValue(A,_)},st.useEffect=function(A,_,Q){var X=H.H;if(typeof Q=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return X.useEffect(A,_)},st.useId=function(){return H.H.useId()},st.useImperativeHandle=function(A,_,Q){return H.H.useImperativeHandle(A,_,Q)},st.useInsertionEffect=function(A,_){return H.H.useInsertionEffect(A,_)},st.useLayoutEffect=function(A,_){return H.H.useLayoutEffect(A,_)},st.useMemo=function(A,_){return H.H.useMemo(A,_)},st.useOptimistic=function(A,_){return H.H.useOptimistic(A,_)},st.useReducer=function(A,_,Q){return H.H.useReducer(A,_,Q)},st.useRef=function(A){return H.H.useRef(A)},st.useState=function(A){return H.H.useState(A)},st.useSyncExternalStore=function(A,_,Q){return H.H.useSyncExternalStore(A,_,Q)},st.useTransition=function(){return H.H.useTransition()},st.version="19.1.0",st}var Ym;function oc(){return Ym||(Ym=1,Mo.exports=g1()),Mo.exports}var Y=oc();const Ln=fy(Y);var Do={exports:{}},rl={},Ro={exports:{}},Oo={};/**
|
|
18
|
-
* @license React
|
|
19
|
-
* scheduler.production.js
|
|
20
|
-
*
|
|
21
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
22
|
-
*
|
|
23
|
-
* This source code is licensed under the MIT license found in the
|
|
24
|
-
* LICENSE file in the root directory of this source tree.
|
|
25
|
-
*/var Gm;function v1(){return Gm||(Gm=1,function(a){function l(N,B){var P=N.length;N.push(B);t:for(;0<P;){var mt=P-1>>>1,A=N[mt];if(0<c(A,B))N[mt]=B,N[P]=A,P=mt;else break t}}function u(N){return N.length===0?null:N[0]}function r(N){if(N.length===0)return null;var B=N[0],P=N.pop();if(P!==B){N[0]=P;t:for(var mt=0,A=N.length,_=A>>>1;mt<_;){var Q=2*(mt+1)-1,X=N[Q],W=Q+1,ht=N[W];if(0>c(X,P))W<A&&0>c(ht,X)?(N[mt]=ht,N[W]=P,mt=W):(N[mt]=X,N[Q]=P,mt=Q);else if(W<A&&0>c(ht,P))N[mt]=ht,N[W]=P,mt=W;else break t}}return B}function c(N,B){var P=N.sortIndex-B.sortIndex;return P!==0?P:N.id-B.id}if(a.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var d=performance;a.unstable_now=function(){return d.now()}}else{var f=Date,y=f.now();a.unstable_now=function(){return f.now()-y}}var p=[],m=[],v=1,b=null,T=3,C=!1,U=!1,q=!1,Z=!1,G=typeof setTimeout=="function"?setTimeout:null,K=typeof clearTimeout=="function"?clearTimeout:null,L=typeof setImmediate<"u"?setImmediate:null;function tt(N){for(var B=u(m);B!==null;){if(B.callback===null)r(m);else if(B.startTime<=N)r(m),B.sortIndex=B.expirationTime,l(p,B);else break;B=u(m)}}function H(N){if(q=!1,tt(N),!U)if(u(p)!==null)U=!0,F||(F=!0,qt());else{var B=u(m);B!==null&&Jt(H,B.startTime-N)}}var F=!1,nt=-1,J=5,yt=-1;function wt(){return Z?!0:!(a.unstable_now()-yt<J)}function Xt(){if(Z=!1,F){var N=a.unstable_now();yt=N;var B=!0;try{t:{U=!1,q&&(q=!1,K(nt),nt=-1),C=!0;var P=T;try{e:{for(tt(N),b=u(p);b!==null&&!(b.expirationTime>N&&wt());){var mt=b.callback;if(typeof mt=="function"){b.callback=null,T=b.priorityLevel;var A=mt(b.expirationTime<=N);if(N=a.unstable_now(),typeof A=="function"){b.callback=A,tt(N),B=!0;break e}b===u(p)&&r(p),tt(N)}else r(p);b=u(p)}if(b!==null)B=!0;else{var _=u(m);_!==null&&Jt(H,_.startTime-N),B=!1}}break t}finally{b=null,T=P,C=!1}B=void 0}}finally{B?qt():F=!1}}}var qt;if(typeof L=="function")qt=function(){L(Xt)};else if(typeof MessageChannel<"u"){var Pe=new MessageChannel,He=Pe.port2;Pe.port1.onmessage=Xt,qt=function(){He.postMessage(null)}}else qt=function(){G(Xt,0)};function Jt(N,B){nt=G(function(){N(a.unstable_now())},B)}a.unstable_IdlePriority=5,a.unstable_ImmediatePriority=1,a.unstable_LowPriority=4,a.unstable_NormalPriority=3,a.unstable_Profiling=null,a.unstable_UserBlockingPriority=2,a.unstable_cancelCallback=function(N){N.callback=null},a.unstable_forceFrameRate=function(N){0>N||125<N?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):J=0<N?Math.floor(1e3/N):5},a.unstable_getCurrentPriorityLevel=function(){return T},a.unstable_next=function(N){switch(T){case 1:case 2:case 3:var B=3;break;default:B=T}var P=T;T=B;try{return N()}finally{T=P}},a.unstable_requestPaint=function(){Z=!0},a.unstable_runWithPriority=function(N,B){switch(N){case 1:case 2:case 3:case 4:case 5:break;default:N=3}var P=T;T=N;try{return B()}finally{T=P}},a.unstable_scheduleCallback=function(N,B,P){var mt=a.unstable_now();switch(typeof P=="object"&&P!==null?(P=P.delay,P=typeof P=="number"&&0<P?mt+P:mt):P=mt,N){case 1:var A=-1;break;case 2:A=250;break;case 5:A=1073741823;break;case 4:A=1e4;break;default:A=5e3}return A=P+A,N={id:v++,callback:B,priorityLevel:N,startTime:P,expirationTime:A,sortIndex:-1},P>mt?(N.sortIndex=P,l(m,N),u(p)===null&&N===u(m)&&(q?(K(nt),nt=-1):q=!0,Jt(H,P-mt))):(N.sortIndex=A,l(p,N),U||C||(U=!0,F||(F=!0,qt()))),N},a.unstable_shouldYield=wt,a.unstable_wrapCallback=function(N){var B=T;return function(){var P=T;T=B;try{return N.apply(this,arguments)}finally{T=P}}}}(Oo)),Oo}var Xm;function b1(){return Xm||(Xm=1,Ro.exports=v1()),Ro.exports}var wo={exports:{}},ne={};/**
|
|
26
|
-
* @license React
|
|
27
|
-
* react-dom.production.js
|
|
28
|
-
*
|
|
29
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
30
|
-
*
|
|
31
|
-
* This source code is licensed under the MIT license found in the
|
|
32
|
-
* LICENSE file in the root directory of this source tree.
|
|
33
|
-
*/var Zm;function x1(){if(Zm)return ne;Zm=1;var a=oc();function l(p){var m="https://react.dev/errors/"+p;if(1<arguments.length){m+="?args[]="+encodeURIComponent(arguments[1]);for(var v=2;v<arguments.length;v++)m+="&args[]="+encodeURIComponent(arguments[v])}return"Minified React error #"+p+"; visit "+m+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function u(){}var r={d:{f:u,r:function(){throw Error(l(522))},D:u,C:u,L:u,m:u,X:u,S:u,M:u},p:0,findDOMNode:null},c=Symbol.for("react.portal");function d(p,m,v){var b=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:c,key:b==null?null:""+b,children:p,containerInfo:m,implementation:v}}var f=a.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function y(p,m){if(p==="font")return"";if(typeof m=="string")return m==="use-credentials"?m:""}return ne.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r,ne.createPortal=function(p,m){var v=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!m||m.nodeType!==1&&m.nodeType!==9&&m.nodeType!==11)throw Error(l(299));return d(p,m,null,v)},ne.flushSync=function(p){var m=f.T,v=r.p;try{if(f.T=null,r.p=2,p)return p()}finally{f.T=m,r.p=v,r.d.f()}},ne.preconnect=function(p,m){typeof p=="string"&&(m?(m=m.crossOrigin,m=typeof m=="string"?m==="use-credentials"?m:"":void 0):m=null,r.d.C(p,m))},ne.prefetchDNS=function(p){typeof p=="string"&&r.d.D(p)},ne.preinit=function(p,m){if(typeof p=="string"&&m&&typeof m.as=="string"){var v=m.as,b=y(v,m.crossOrigin),T=typeof m.integrity=="string"?m.integrity:void 0,C=typeof m.fetchPriority=="string"?m.fetchPriority:void 0;v==="style"?r.d.S(p,typeof m.precedence=="string"?m.precedence:void 0,{crossOrigin:b,integrity:T,fetchPriority:C}):v==="script"&&r.d.X(p,{crossOrigin:b,integrity:T,fetchPriority:C,nonce:typeof m.nonce=="string"?m.nonce:void 0})}},ne.preinitModule=function(p,m){if(typeof p=="string")if(typeof m=="object"&&m!==null){if(m.as==null||m.as==="script"){var v=y(m.as,m.crossOrigin);r.d.M(p,{crossOrigin:v,integrity:typeof m.integrity=="string"?m.integrity:void 0,nonce:typeof m.nonce=="string"?m.nonce:void 0})}}else m==null&&r.d.M(p)},ne.preload=function(p,m){if(typeof p=="string"&&typeof m=="object"&&m!==null&&typeof m.as=="string"){var v=m.as,b=y(v,m.crossOrigin);r.d.L(p,v,{crossOrigin:b,integrity:typeof m.integrity=="string"?m.integrity:void 0,nonce:typeof m.nonce=="string"?m.nonce:void 0,type:typeof m.type=="string"?m.type:void 0,fetchPriority:typeof m.fetchPriority=="string"?m.fetchPriority:void 0,referrerPolicy:typeof m.referrerPolicy=="string"?m.referrerPolicy:void 0,imageSrcSet:typeof m.imageSrcSet=="string"?m.imageSrcSet:void 0,imageSizes:typeof m.imageSizes=="string"?m.imageSizes:void 0,media:typeof m.media=="string"?m.media:void 0})}},ne.preloadModule=function(p,m){if(typeof p=="string")if(m){var v=y(m.as,m.crossOrigin);r.d.m(p,{as:typeof m.as=="string"&&m.as!=="script"?m.as:void 0,crossOrigin:v,integrity:typeof m.integrity=="string"?m.integrity:void 0})}else r.d.m(p)},ne.requestFormReset=function(p){r.d.r(p)},ne.unstable_batchedUpdates=function(p,m){return p(m)},ne.useFormState=function(p,m,v){return f.H.useFormState(p,m,v)},ne.useFormStatus=function(){return f.H.useHostTransitionStatus()},ne.version="19.1.0",ne}var Km;function S1(){if(Km)return wo.exports;Km=1;function a(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(a)}catch(l){console.error(l)}}return a(),wo.exports=x1(),wo.exports}/**
|
|
34
|
-
* @license React
|
|
35
|
-
* react-dom-client.production.js
|
|
36
|
-
*
|
|
37
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
38
|
-
*
|
|
39
|
-
* This source code is licensed under the MIT license found in the
|
|
40
|
-
* LICENSE file in the root directory of this source tree.
|
|
41
|
-
*/var Qm;function T1(){if(Qm)return rl;Qm=1;var a=b1(),l=oc(),u=S1();function r(t){var e="https://react.dev/errors/"+t;if(1<arguments.length){e+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)e+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function c(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function d(t){var e=t,n=t;if(t.alternate)for(;e.return;)e=e.return;else{t=e;do e=t,(e.flags&4098)!==0&&(n=e.return),t=e.return;while(t)}return e.tag===3?n:null}function f(t){if(t.tag===13){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function y(t){if(d(t)!==t)throw Error(r(188))}function p(t){var e=t.alternate;if(!e){if(e=d(t),e===null)throw Error(r(188));return e!==t?null:t}for(var n=t,i=e;;){var s=n.return;if(s===null)break;var o=s.alternate;if(o===null){if(i=s.return,i!==null){n=i;continue}break}if(s.child===o.child){for(o=s.child;o;){if(o===n)return y(s),t;if(o===i)return y(s),e;o=o.sibling}throw Error(r(188))}if(n.return!==i.return)n=s,i=o;else{for(var h=!1,g=s.child;g;){if(g===n){h=!0,n=s,i=o;break}if(g===i){h=!0,i=s,n=o;break}g=g.sibling}if(!h){for(g=o.child;g;){if(g===n){h=!0,n=o,i=s;break}if(g===i){h=!0,i=o,n=s;break}g=g.sibling}if(!h)throw Error(r(189))}}if(n.alternate!==i)throw Error(r(190))}if(n.tag!==3)throw Error(r(188));return n.stateNode.current===n?t:e}function m(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t;for(t=t.child;t!==null;){if(e=m(t),e!==null)return e;t=t.sibling}return null}var v=Object.assign,b=Symbol.for("react.element"),T=Symbol.for("react.transitional.element"),C=Symbol.for("react.portal"),U=Symbol.for("react.fragment"),q=Symbol.for("react.strict_mode"),Z=Symbol.for("react.profiler"),G=Symbol.for("react.provider"),K=Symbol.for("react.consumer"),L=Symbol.for("react.context"),tt=Symbol.for("react.forward_ref"),H=Symbol.for("react.suspense"),F=Symbol.for("react.suspense_list"),nt=Symbol.for("react.memo"),J=Symbol.for("react.lazy"),yt=Symbol.for("react.activity"),wt=Symbol.for("react.memo_cache_sentinel"),Xt=Symbol.iterator;function qt(t){return t===null||typeof t!="object"?null:(t=Xt&&t[Xt]||t["@@iterator"],typeof t=="function"?t:null)}var Pe=Symbol.for("react.client.reference");function He(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===Pe?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case U:return"Fragment";case Z:return"Profiler";case q:return"StrictMode";case H:return"Suspense";case F:return"SuspenseList";case yt:return"Activity"}if(typeof t=="object")switch(t.$$typeof){case C:return"Portal";case L:return(t.displayName||"Context")+".Provider";case K:return(t._context.displayName||"Context")+".Consumer";case tt:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case nt:return e=t.displayName||null,e!==null?e:He(t.type)||"Memo";case J:e=t._payload,t=t._init;try{return He(t(e))}catch{}}return null}var Jt=Array.isArray,N=l.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,B=u.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,P={pending:!1,data:null,method:null,action:null},mt=[],A=-1;function _(t){return{current:t}}function Q(t){0>A||(t.current=mt[A],mt[A]=null,A--)}function X(t,e){A++,mt[A]=t.current,t.current=e}var W=_(null),ht=_(null),lt=_(null),he=_(null);function Et(t,e){switch(X(lt,e),X(ht,t),X(W,null),e.nodeType){case 9:case 11:t=(t=e.documentElement)&&(t=t.namespaceURI)?hm(t):0;break;default:if(t=e.tagName,e=e.namespaceURI)e=hm(e),t=dm(e,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}Q(W),X(W,t)}function dn(){Q(W),Q(ht),Q(lt)}function ru(t){t.memoizedState!==null&&X(he,t);var e=W.current,n=dm(e,t.type);e!==n&&(X(ht,t),X(W,n))}function Ol(t){ht.current===t&&(Q(W),Q(ht)),he.current===t&&(Q(he),nl._currentValue=P)}var ou=Object.prototype.hasOwnProperty,cu=a.unstable_scheduleCallback,fu=a.unstable_cancelCallback,kg=a.unstable_shouldYield,Pg=a.unstable_requestPaint,Le=a.unstable_now,Jg=a.unstable_getCurrentPriorityLevel,Kc=a.unstable_ImmediatePriority,Qc=a.unstable_UserBlockingPriority,wl=a.unstable_NormalPriority,$g=a.unstable_LowPriority,kc=a.unstable_IdlePriority,Fg=a.log,Wg=a.unstable_setDisableYieldValue,ci=null,de=null;function mn(t){if(typeof Fg=="function"&&Wg(t),de&&typeof de.setStrictMode=="function")try{de.setStrictMode(ci,t)}catch{}}var me=Math.clz32?Math.clz32:e0,Ig=Math.log,t0=Math.LN2;function e0(t){return t>>>=0,t===0?32:31-(Ig(t)/t0|0)|0}var Cl=256,jl=4194304;function Xn(t){var e=t&42;if(e!==0)return e;switch(t&-t){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function Nl(t,e,n){var i=t.pendingLanes;if(i===0)return 0;var s=0,o=t.suspendedLanes,h=t.pingedLanes;t=t.warmLanes;var g=i&134217727;return g!==0?(i=g&~o,i!==0?s=Xn(i):(h&=g,h!==0?s=Xn(h):n||(n=g&~t,n!==0&&(s=Xn(n))))):(g=i&~o,g!==0?s=Xn(g):h!==0?s=Xn(h):n||(n=i&~t,n!==0&&(s=Xn(n)))),s===0?0:e!==0&&e!==s&&(e&o)===0&&(o=s&-s,n=e&-e,o>=n||o===32&&(n&4194048)!==0)?e:s}function fi(t,e){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&e)===0}function n0(t,e){switch(t){case 1:case 2:case 4:case 8:case 64:return e+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 e+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 Pc(){var t=Cl;return Cl<<=1,(Cl&4194048)===0&&(Cl=256),t}function Jc(){var t=jl;return jl<<=1,(jl&62914560)===0&&(jl=4194304),t}function hu(t){for(var e=[],n=0;31>n;n++)e.push(t);return e}function hi(t,e){t.pendingLanes|=e,e!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function a0(t,e,n,i,s,o){var h=t.pendingLanes;t.pendingLanes=n,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=n,t.entangledLanes&=n,t.errorRecoveryDisabledLanes&=n,t.shellSuspendCounter=0;var g=t.entanglements,x=t.expirationTimes,R=t.hiddenUpdates;for(n=h&~n;0<n;){var j=31-me(n),z=1<<j;g[j]=0,x[j]=-1;var O=R[j];if(O!==null)for(R[j]=null,j=0;j<O.length;j++){var w=O[j];w!==null&&(w.lane&=-536870913)}n&=~z}i!==0&&$c(t,i,0),o!==0&&s===0&&t.tag!==0&&(t.suspendedLanes|=o&~(h&~e))}function $c(t,e,n){t.pendingLanes|=e,t.suspendedLanes&=~e;var i=31-me(e);t.entangledLanes|=e,t.entanglements[i]=t.entanglements[i]|1073741824|n&4194090}function Fc(t,e){var n=t.entangledLanes|=e;for(t=t.entanglements;n;){var i=31-me(n),s=1<<i;s&e|t[i]&e&&(t[i]|=e),n&=~s}}function du(t){switch(t){case 2:t=1;break;case 8:t=4;break;case 32:t=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:t=128;break;case 268435456:t=134217728;break;default:t=0}return t}function mu(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function Wc(){var t=B.p;return t!==0?t:(t=window.event,t===void 0?32:Nm(t.type))}function i0(t,e){var n=B.p;try{return B.p=t,e()}finally{B.p=n}}var pn=Math.random().toString(36).slice(2),te="__reactFiber$"+pn,se="__reactProps$"+pn,da="__reactContainer$"+pn,pu="__reactEvents$"+pn,l0="__reactListeners$"+pn,s0="__reactHandles$"+pn,Ic="__reactResources$"+pn,di="__reactMarker$"+pn;function yu(t){delete t[te],delete t[se],delete t[pu],delete t[l0],delete t[s0]}function ma(t){var e=t[te];if(e)return e;for(var n=t.parentNode;n;){if(e=n[da]||n[te]){if(n=e.alternate,e.child!==null||n!==null&&n.child!==null)for(t=gm(t);t!==null;){if(n=t[te])return n;t=gm(t)}return e}t=n,n=t.parentNode}return null}function pa(t){if(t=t[te]||t[da]){var e=t.tag;if(e===5||e===6||e===13||e===26||e===27||e===3)return t}return null}function mi(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t.stateNode;throw Error(r(33))}function ya(t){var e=t[Ic];return e||(e=t[Ic]={hoistableStyles:new Map,hoistableScripts:new Map}),e}function Zt(t){t[di]=!0}var tf=new Set,ef={};function Zn(t,e){ga(t,e),ga(t+"Capture",e)}function ga(t,e){for(ef[t]=e,t=0;t<e.length;t++)tf.add(e[t])}var u0=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]*$"),nf={},af={};function r0(t){return ou.call(af,t)?!0:ou.call(nf,t)?!1:u0.test(t)?af[t]=!0:(nf[t]=!0,!1)}function Vl(t,e,n){if(r0(e))if(n===null)t.removeAttribute(e);else{switch(typeof n){case"undefined":case"function":case"symbol":t.removeAttribute(e);return;case"boolean":var i=e.toLowerCase().slice(0,5);if(i!=="data-"&&i!=="aria-"){t.removeAttribute(e);return}}t.setAttribute(e,""+n)}}function zl(t,e,n){if(n===null)t.removeAttribute(e);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(e);return}t.setAttribute(e,""+n)}}function Je(t,e,n,i){if(i===null)t.removeAttribute(n);else{switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(n);return}t.setAttributeNS(e,n,""+i)}}var gu,lf;function va(t){if(gu===void 0)try{throw Error()}catch(n){var e=n.stack.trim().match(/\n( *(at )?)/);gu=e&&e[1]||"",lf=-1<n.stack.indexOf(`
|
|
42
|
-
at`)?" (<anonymous>)":-1<n.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
43
|
-
`+gu+t+lf}var vu=!1;function bu(t,e){if(!t||vu)return"";vu=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var i={DetermineComponentFrameRoot:function(){try{if(e){var z=function(){throw Error()};if(Object.defineProperty(z.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(z,[])}catch(w){var O=w}Reflect.construct(t,[],z)}else{try{z.call()}catch(w){O=w}t.call(z.prototype)}}else{try{throw Error()}catch(w){O=w}(z=t())&&typeof z.catch=="function"&&z.catch(function(){})}}catch(w){if(w&&O&&typeof w.stack=="string")return[w.stack,O.stack]}return[null,null]}};i.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var s=Object.getOwnPropertyDescriptor(i.DetermineComponentFrameRoot,"name");s&&s.configurable&&Object.defineProperty(i.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var o=i.DetermineComponentFrameRoot(),h=o[0],g=o[1];if(h&&g){var x=h.split(`
|
|
44
|
-
`),R=g.split(`
|
|
45
|
-
`);for(s=i=0;i<x.length&&!x[i].includes("DetermineComponentFrameRoot");)i++;for(;s<R.length&&!R[s].includes("DetermineComponentFrameRoot");)s++;if(i===x.length||s===R.length)for(i=x.length-1,s=R.length-1;1<=i&&0<=s&&x[i]!==R[s];)s--;for(;1<=i&&0<=s;i--,s--)if(x[i]!==R[s]){if(i!==1||s!==1)do if(i--,s--,0>s||x[i]!==R[s]){var j=`
|
|
46
|
-
`+x[i].replace(" at new "," at ");return t.displayName&&j.includes("<anonymous>")&&(j=j.replace("<anonymous>",t.displayName)),j}while(1<=i&&0<=s);break}}}finally{vu=!1,Error.prepareStackTrace=n}return(n=t?t.displayName||t.name:"")?va(n):""}function o0(t){switch(t.tag){case 26:case 27:case 5:return va(t.type);case 16:return va("Lazy");case 13:return va("Suspense");case 19:return va("SuspenseList");case 0:case 15:return bu(t.type,!1);case 11:return bu(t.type.render,!1);case 1:return bu(t.type,!0);case 31:return va("Activity");default:return""}}function sf(t){try{var e="";do e+=o0(t),t=t.return;while(t);return e}catch(n){return`
|
|
47
|
-
Error generating stack: `+n.message+`
|
|
48
|
-
`+n.stack}}function Te(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function uf(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function c0(t){var e=uf(t)?"checked":"value",n=Object.getOwnPropertyDescriptor(t.constructor.prototype,e),i=""+t[e];if(!t.hasOwnProperty(e)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var s=n.get,o=n.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return s.call(this)},set:function(h){i=""+h,o.call(this,h)}}),Object.defineProperty(t,e,{enumerable:n.enumerable}),{getValue:function(){return i},setValue:function(h){i=""+h},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function _l(t){t._valueTracker||(t._valueTracker=c0(t))}function rf(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var n=e.getValue(),i="";return t&&(i=uf(t)?t.checked?"true":"false":t.value),t=i,t!==n?(e.setValue(t),!0):!1}function Ul(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}var f0=/[\n"\\]/g;function Ae(t){return t.replace(f0,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function xu(t,e,n,i,s,o,h,g){t.name="",h!=null&&typeof h!="function"&&typeof h!="symbol"&&typeof h!="boolean"?t.type=h:t.removeAttribute("type"),e!=null?h==="number"?(e===0&&t.value===""||t.value!=e)&&(t.value=""+Te(e)):t.value!==""+Te(e)&&(t.value=""+Te(e)):h!=="submit"&&h!=="reset"||t.removeAttribute("value"),e!=null?Su(t,h,Te(e)):n!=null?Su(t,h,Te(n)):i!=null&&t.removeAttribute("value"),s==null&&o!=null&&(t.defaultChecked=!!o),s!=null&&(t.checked=s&&typeof s!="function"&&typeof s!="symbol"),g!=null&&typeof g!="function"&&typeof g!="symbol"&&typeof g!="boolean"?t.name=""+Te(g):t.removeAttribute("name")}function of(t,e,n,i,s,o,h,g){if(o!=null&&typeof o!="function"&&typeof o!="symbol"&&typeof o!="boolean"&&(t.type=o),e!=null||n!=null){if(!(o!=="submit"&&o!=="reset"||e!=null))return;n=n!=null?""+Te(n):"",e=e!=null?""+Te(e):n,g||e===t.value||(t.value=e),t.defaultValue=e}i=i??s,i=typeof i!="function"&&typeof i!="symbol"&&!!i,t.checked=g?t.checked:!!i,t.defaultChecked=!!i,h!=null&&typeof h!="function"&&typeof h!="symbol"&&typeof h!="boolean"&&(t.name=h)}function Su(t,e,n){e==="number"&&Ul(t.ownerDocument)===t||t.defaultValue===""+n||(t.defaultValue=""+n)}function ba(t,e,n,i){if(t=t.options,e){e={};for(var s=0;s<n.length;s++)e["$"+n[s]]=!0;for(n=0;n<t.length;n++)s=e.hasOwnProperty("$"+t[n].value),t[n].selected!==s&&(t[n].selected=s),s&&i&&(t[n].defaultSelected=!0)}else{for(n=""+Te(n),e=null,s=0;s<t.length;s++){if(t[s].value===n){t[s].selected=!0,i&&(t[s].defaultSelected=!0);return}e!==null||t[s].disabled||(e=t[s])}e!==null&&(e.selected=!0)}}function cf(t,e,n){if(e!=null&&(e=""+Te(e),e!==t.value&&(t.value=e),n==null)){t.defaultValue!==e&&(t.defaultValue=e);return}t.defaultValue=n!=null?""+Te(n):""}function ff(t,e,n,i){if(e==null){if(i!=null){if(n!=null)throw Error(r(92));if(Jt(i)){if(1<i.length)throw Error(r(93));i=i[0]}n=i}n==null&&(n=""),e=n}n=Te(e),t.defaultValue=n,i=t.textContent,i===n&&i!==""&&i!==null&&(t.value=i)}function xa(t,e){if(e){var n=t.firstChild;if(n&&n===t.lastChild&&n.nodeType===3){n.nodeValue=e;return}}t.textContent=e}var h0=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 hf(t,e,n){var i=e.indexOf("--")===0;n==null||typeof n=="boolean"||n===""?i?t.setProperty(e,""):e==="float"?t.cssFloat="":t[e]="":i?t.setProperty(e,n):typeof n!="number"||n===0||h0.has(e)?e==="float"?t.cssFloat=n:t[e]=(""+n).trim():t[e]=n+"px"}function df(t,e,n){if(e!=null&&typeof e!="object")throw Error(r(62));if(t=t.style,n!=null){for(var i in n)!n.hasOwnProperty(i)||e!=null&&e.hasOwnProperty(i)||(i.indexOf("--")===0?t.setProperty(i,""):i==="float"?t.cssFloat="":t[i]="");for(var s in e)i=e[s],e.hasOwnProperty(s)&&n[s]!==i&&hf(t,s,i)}else for(var o in e)e.hasOwnProperty(o)&&hf(t,o,e[o])}function Tu(t){if(t.indexOf("-")===-1)return!1;switch(t){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 d0=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"]]),m0=/^[\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 Bl(t){return m0.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}var Au=null;function Eu(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var Sa=null,Ta=null;function mf(t){var e=pa(t);if(e&&(t=e.stateNode)){var n=t[se]||null;t:switch(t=e.stateNode,e.type){case"input":if(xu(t,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),e=n.name,n.type==="radio"&&e!=null){for(n=t;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll('input[name="'+Ae(""+e)+'"][type="radio"]'),e=0;e<n.length;e++){var i=n[e];if(i!==t&&i.form===t.form){var s=i[se]||null;if(!s)throw Error(r(90));xu(i,s.value,s.defaultValue,s.defaultValue,s.checked,s.defaultChecked,s.type,s.name)}}for(e=0;e<n.length;e++)i=n[e],i.form===t.form&&rf(i)}break t;case"textarea":cf(t,n.value,n.defaultValue);break t;case"select":e=n.value,e!=null&&ba(t,!!n.multiple,e,!1)}}}var Mu=!1;function pf(t,e,n){if(Mu)return t(e,n);Mu=!0;try{var i=t(e);return i}finally{if(Mu=!1,(Sa!==null||Ta!==null)&&(Ts(),Sa&&(e=Sa,t=Ta,Ta=Sa=null,mf(e),t)))for(e=0;e<t.length;e++)mf(t[e])}}function pi(t,e){var n=t.stateNode;if(n===null)return null;var i=n[se]||null;if(i===null)return null;n=i[e];t:switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(i=!i.disabled)||(t=t.type,i=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!i;break t;default:t=!1}if(t)return null;if(n&&typeof n!="function")throw Error(r(231,e,typeof n));return n}var $e=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Du=!1;if($e)try{var yi={};Object.defineProperty(yi,"passive",{get:function(){Du=!0}}),window.addEventListener("test",yi,yi),window.removeEventListener("test",yi,yi)}catch{Du=!1}var yn=null,Ru=null,Hl=null;function yf(){if(Hl)return Hl;var t,e=Ru,n=e.length,i,s="value"in yn?yn.value:yn.textContent,o=s.length;for(t=0;t<n&&e[t]===s[t];t++);var h=n-t;for(i=1;i<=h&&e[n-i]===s[o-i];i++);return Hl=s.slice(t,1<i?1-i:void 0)}function Ll(t){var e=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&e===13&&(t=13)):t=e,t===10&&(t=13),32<=t||t===13?t:0}function ql(){return!0}function gf(){return!1}function ue(t){function e(n,i,s,o,h){this._reactName=n,this._targetInst=s,this.type=i,this.nativeEvent=o,this.target=h,this.currentTarget=null;for(var g in t)t.hasOwnProperty(g)&&(n=t[g],this[g]=n?n(o):o[g]);return this.isDefaultPrevented=(o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===!1)?ql:gf,this.isPropagationStopped=gf,this}return v(e.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=ql)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=ql)},persist:function(){},isPersistent:ql}),e}var Kn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Yl=ue(Kn),gi=v({},Kn,{view:0,detail:0}),p0=ue(gi),Ou,wu,vi,Gl=v({},gi,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:ju,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==vi&&(vi&&t.type==="mousemove"?(Ou=t.screenX-vi.screenX,wu=t.screenY-vi.screenY):wu=Ou=0,vi=t),Ou)},movementY:function(t){return"movementY"in t?t.movementY:wu}}),vf=ue(Gl),y0=v({},Gl,{dataTransfer:0}),g0=ue(y0),v0=v({},gi,{relatedTarget:0}),Cu=ue(v0),b0=v({},Kn,{animationName:0,elapsedTime:0,pseudoElement:0}),x0=ue(b0),S0=v({},Kn,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),T0=ue(S0),A0=v({},Kn,{data:0}),bf=ue(A0),E0={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},M0={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"},D0={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function R0(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):(t=D0[t])?!!e[t]:!1}function ju(){return R0}var O0=v({},gi,{key:function(t){if(t.key){var e=E0[t.key]||t.key;if(e!=="Unidentified")return e}return t.type==="keypress"?(t=Ll(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?M0[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:ju,charCode:function(t){return t.type==="keypress"?Ll(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?Ll(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),w0=ue(O0),C0=v({},Gl,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),xf=ue(C0),j0=v({},gi,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:ju}),N0=ue(j0),V0=v({},Kn,{propertyName:0,elapsedTime:0,pseudoElement:0}),z0=ue(V0),_0=v({},Gl,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),U0=ue(_0),B0=v({},Kn,{newState:0,oldState:0}),H0=ue(B0),L0=[9,13,27,32],Nu=$e&&"CompositionEvent"in window,bi=null;$e&&"documentMode"in document&&(bi=document.documentMode);var q0=$e&&"TextEvent"in window&&!bi,Sf=$e&&(!Nu||bi&&8<bi&&11>=bi),Tf=" ",Af=!1;function Ef(t,e){switch(t){case"keyup":return L0.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Mf(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var Aa=!1;function Y0(t,e){switch(t){case"compositionend":return Mf(e);case"keypress":return e.which!==32?null:(Af=!0,Tf);case"textInput":return t=e.data,t===Tf&&Af?null:t;default:return null}}function G0(t,e){if(Aa)return t==="compositionend"||!Nu&&Ef(t,e)?(t=yf(),Hl=Ru=yn=null,Aa=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1<e.char.length)return e.char;if(e.which)return String.fromCharCode(e.which)}return null;case"compositionend":return Sf&&e.locale!=="ko"?null:e.data;default:return null}}var X0={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 Df(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e==="input"?!!X0[t.type]:e==="textarea"}function Rf(t,e,n,i){Sa?Ta?Ta.push(i):Ta=[i]:Sa=i,e=Os(e,"onChange"),0<e.length&&(n=new Yl("onChange","change",null,n,i),t.push({event:n,listeners:e}))}var xi=null,Si=null;function Z0(t){um(t,0)}function Xl(t){var e=mi(t);if(rf(e))return t}function Of(t,e){if(t==="change")return e}var wf=!1;if($e){var Vu;if($e){var zu="oninput"in document;if(!zu){var Cf=document.createElement("div");Cf.setAttribute("oninput","return;"),zu=typeof Cf.oninput=="function"}Vu=zu}else Vu=!1;wf=Vu&&(!document.documentMode||9<document.documentMode)}function jf(){xi&&(xi.detachEvent("onpropertychange",Nf),Si=xi=null)}function Nf(t){if(t.propertyName==="value"&&Xl(Si)){var e=[];Rf(e,Si,t,Eu(t)),pf(Z0,e)}}function K0(t,e,n){t==="focusin"?(jf(),xi=e,Si=n,xi.attachEvent("onpropertychange",Nf)):t==="focusout"&&jf()}function Q0(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return Xl(Si)}function k0(t,e){if(t==="click")return Xl(e)}function P0(t,e){if(t==="input"||t==="change")return Xl(e)}function J0(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}var pe=typeof Object.is=="function"?Object.is:J0;function Ti(t,e){if(pe(t,e))return!0;if(typeof t!="object"||t===null||typeof e!="object"||e===null)return!1;var n=Object.keys(t),i=Object.keys(e);if(n.length!==i.length)return!1;for(i=0;i<n.length;i++){var s=n[i];if(!ou.call(e,s)||!pe(t[s],e[s]))return!1}return!0}function Vf(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function zf(t,e){var n=Vf(t);t=0;for(var i;n;){if(n.nodeType===3){if(i=t+n.textContent.length,t<=e&&i>=e)return{node:n,offset:e-t};t=i}t:{for(;n;){if(n.nextSibling){n=n.nextSibling;break t}n=n.parentNode}n=void 0}n=Vf(n)}}function _f(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?_f(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function Uf(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var e=Ul(t.document);e instanceof t.HTMLIFrameElement;){try{var n=typeof e.contentWindow.location.href=="string"}catch{n=!1}if(n)t=e.contentWindow;else break;e=Ul(t.document)}return e}function _u(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(e==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||e==="textarea"||t.contentEditable==="true")}var $0=$e&&"documentMode"in document&&11>=document.documentMode,Ea=null,Uu=null,Ai=null,Bu=!1;function Bf(t,e,n){var i=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Bu||Ea==null||Ea!==Ul(i)||(i=Ea,"selectionStart"in i&&_u(i)?i={start:i.selectionStart,end:i.selectionEnd}:(i=(i.ownerDocument&&i.ownerDocument.defaultView||window).getSelection(),i={anchorNode:i.anchorNode,anchorOffset:i.anchorOffset,focusNode:i.focusNode,focusOffset:i.focusOffset}),Ai&&Ti(Ai,i)||(Ai=i,i=Os(Uu,"onSelect"),0<i.length&&(e=new Yl("onSelect","select",null,e,n),t.push({event:e,listeners:i}),e.target=Ea)))}function Qn(t,e){var n={};return n[t.toLowerCase()]=e.toLowerCase(),n["Webkit"+t]="webkit"+e,n["Moz"+t]="moz"+e,n}var Ma={animationend:Qn("Animation","AnimationEnd"),animationiteration:Qn("Animation","AnimationIteration"),animationstart:Qn("Animation","AnimationStart"),transitionrun:Qn("Transition","TransitionRun"),transitionstart:Qn("Transition","TransitionStart"),transitioncancel:Qn("Transition","TransitionCancel"),transitionend:Qn("Transition","TransitionEnd")},Hu={},Hf={};$e&&(Hf=document.createElement("div").style,"AnimationEvent"in window||(delete Ma.animationend.animation,delete Ma.animationiteration.animation,delete Ma.animationstart.animation),"TransitionEvent"in window||delete Ma.transitionend.transition);function kn(t){if(Hu[t])return Hu[t];if(!Ma[t])return t;var e=Ma[t],n;for(n in e)if(e.hasOwnProperty(n)&&n in Hf)return Hu[t]=e[n];return t}var Lf=kn("animationend"),qf=kn("animationiteration"),Yf=kn("animationstart"),F0=kn("transitionrun"),W0=kn("transitionstart"),I0=kn("transitioncancel"),Gf=kn("transitionend"),Xf=new Map,Lu="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(" ");Lu.push("scrollEnd");function ze(t,e){Xf.set(t,e),Zn(e,[t])}var Zf=new WeakMap;function Ee(t,e){if(typeof t=="object"&&t!==null){var n=Zf.get(t);return n!==void 0?n:(e={value:t,source:e,stack:sf(e)},Zf.set(t,e),e)}return{value:t,source:e,stack:sf(e)}}var Me=[],Da=0,qu=0;function Zl(){for(var t=Da,e=qu=Da=0;e<t;){var n=Me[e];Me[e++]=null;var i=Me[e];Me[e++]=null;var s=Me[e];Me[e++]=null;var o=Me[e];if(Me[e++]=null,i!==null&&s!==null){var h=i.pending;h===null?s.next=s:(s.next=h.next,h.next=s),i.pending=s}o!==0&&Kf(n,s,o)}}function Kl(t,e,n,i){Me[Da++]=t,Me[Da++]=e,Me[Da++]=n,Me[Da++]=i,qu|=i,t.lanes|=i,t=t.alternate,t!==null&&(t.lanes|=i)}function Yu(t,e,n,i){return Kl(t,e,n,i),Ql(t)}function Ra(t,e){return Kl(t,null,null,e),Ql(t)}function Kf(t,e,n){t.lanes|=n;var i=t.alternate;i!==null&&(i.lanes|=n);for(var s=!1,o=t.return;o!==null;)o.childLanes|=n,i=o.alternate,i!==null&&(i.childLanes|=n),o.tag===22&&(t=o.stateNode,t===null||t._visibility&1||(s=!0)),t=o,o=o.return;return t.tag===3?(o=t.stateNode,s&&e!==null&&(s=31-me(n),t=o.hiddenUpdates,i=t[s],i===null?t[s]=[e]:i.push(e),e.lane=n|536870912),o):null}function Ql(t){if(50<Pi)throw Pi=0,kr=null,Error(r(185));for(var e=t.return;e!==null;)t=e,e=t.return;return t.tag===3?t.stateNode:null}var Oa={};function tv(t,e,n,i){this.tag=t,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=i,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ye(t,e,n,i){return new tv(t,e,n,i)}function Gu(t){return t=t.prototype,!(!t||!t.isReactComponent)}function Fe(t,e){var n=t.alternate;return n===null?(n=ye(t.tag,e,t.key,t.mode),n.elementType=t.elementType,n.type=t.type,n.stateNode=t.stateNode,n.alternate=t,t.alternate=n):(n.pendingProps=e,n.type=t.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=t.flags&65011712,n.childLanes=t.childLanes,n.lanes=t.lanes,n.child=t.child,n.memoizedProps=t.memoizedProps,n.memoizedState=t.memoizedState,n.updateQueue=t.updateQueue,e=t.dependencies,n.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext},n.sibling=t.sibling,n.index=t.index,n.ref=t.ref,n.refCleanup=t.refCleanup,n}function Qf(t,e){t.flags&=65011714;var n=t.alternate;return n===null?(t.childLanes=0,t.lanes=e,t.child=null,t.subtreeFlags=0,t.memoizedProps=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.stateNode=null):(t.childLanes=n.childLanes,t.lanes=n.lanes,t.child=n.child,t.subtreeFlags=0,t.deletions=null,t.memoizedProps=n.memoizedProps,t.memoizedState=n.memoizedState,t.updateQueue=n.updateQueue,t.type=n.type,e=n.dependencies,t.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),t}function kl(t,e,n,i,s,o){var h=0;if(i=t,typeof t=="function")Gu(t)&&(h=1);else if(typeof t=="string")h=n1(t,n,W.current)?26:t==="html"||t==="head"||t==="body"?27:5;else t:switch(t){case yt:return t=ye(31,n,e,s),t.elementType=yt,t.lanes=o,t;case U:return Pn(n.children,s,o,e);case q:h=8,s|=24;break;case Z:return t=ye(12,n,e,s|2),t.elementType=Z,t.lanes=o,t;case H:return t=ye(13,n,e,s),t.elementType=H,t.lanes=o,t;case F:return t=ye(19,n,e,s),t.elementType=F,t.lanes=o,t;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case G:case L:h=10;break t;case K:h=9;break t;case tt:h=11;break t;case nt:h=14;break t;case J:h=16,i=null;break t}h=29,n=Error(r(130,t===null?"null":typeof t,"")),i=null}return e=ye(h,n,e,s),e.elementType=t,e.type=i,e.lanes=o,e}function Pn(t,e,n,i){return t=ye(7,t,i,e),t.lanes=n,t}function Xu(t,e,n){return t=ye(6,t,null,e),t.lanes=n,t}function Zu(t,e,n){return e=ye(4,t.children!==null?t.children:[],t.key,e),e.lanes=n,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}var wa=[],Ca=0,Pl=null,Jl=0,De=[],Re=0,Jn=null,We=1,Ie="";function $n(t,e){wa[Ca++]=Jl,wa[Ca++]=Pl,Pl=t,Jl=e}function kf(t,e,n){De[Re++]=We,De[Re++]=Ie,De[Re++]=Jn,Jn=t;var i=We;t=Ie;var s=32-me(i)-1;i&=~(1<<s),n+=1;var o=32-me(e)+s;if(30<o){var h=s-s%5;o=(i&(1<<h)-1).toString(32),i>>=h,s-=h,We=1<<32-me(e)+s|n<<s|i,Ie=o+t}else We=1<<o|n<<s|i,Ie=t}function Ku(t){t.return!==null&&($n(t,1),kf(t,1,0))}function Qu(t){for(;t===Pl;)Pl=wa[--Ca],wa[Ca]=null,Jl=wa[--Ca],wa[Ca]=null;for(;t===Jn;)Jn=De[--Re],De[Re]=null,Ie=De[--Re],De[Re]=null,We=De[--Re],De[Re]=null}var ie=null,Ct=null,pt=!1,Fn=null,qe=!1,ku=Error(r(519));function Wn(t){var e=Error(r(418,""));throw Di(Ee(e,t)),ku}function Pf(t){var e=t.stateNode,n=t.type,i=t.memoizedProps;switch(e[te]=t,e[se]=i,n){case"dialog":ct("cancel",e),ct("close",e);break;case"iframe":case"object":case"embed":ct("load",e);break;case"video":case"audio":for(n=0;n<$i.length;n++)ct($i[n],e);break;case"source":ct("error",e);break;case"img":case"image":case"link":ct("error",e),ct("load",e);break;case"details":ct("toggle",e);break;case"input":ct("invalid",e),of(e,i.value,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name,!0),_l(e);break;case"select":ct("invalid",e);break;case"textarea":ct("invalid",e),ff(e,i.value,i.defaultValue,i.children),_l(e)}n=i.children,typeof n!="string"&&typeof n!="number"&&typeof n!="bigint"||e.textContent===""+n||i.suppressHydrationWarning===!0||fm(e.textContent,n)?(i.popover!=null&&(ct("beforetoggle",e),ct("toggle",e)),i.onScroll!=null&&ct("scroll",e),i.onScrollEnd!=null&&ct("scrollend",e),i.onClick!=null&&(e.onclick=ws),e=!0):e=!1,e||Wn(t)}function Jf(t){for(ie=t.return;ie;)switch(ie.tag){case 5:case 13:qe=!1;return;case 27:case 3:qe=!0;return;default:ie=ie.return}}function Ei(t){if(t!==ie)return!1;if(!pt)return Jf(t),pt=!0,!1;var e=t.tag,n;if((n=e!==3&&e!==27)&&((n=e===5)&&(n=t.type,n=!(n!=="form"&&n!=="button")||oo(t.type,t.memoizedProps)),n=!n),n&&Ct&&Wn(t),Jf(t),e===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(r(317));t:{for(t=t.nextSibling,e=0;t;){if(t.nodeType===8)if(n=t.data,n==="/$"){if(e===0){Ct=Ue(t.nextSibling);break t}e--}else n!=="$"&&n!=="$!"&&n!=="$?"||e++;t=t.nextSibling}Ct=null}}else e===27?(e=Ct,Nn(t.type)?(t=mo,mo=null,Ct=t):Ct=e):Ct=ie?Ue(t.stateNode.nextSibling):null;return!0}function Mi(){Ct=ie=null,pt=!1}function $f(){var t=Fn;return t!==null&&(ce===null?ce=t:ce.push.apply(ce,t),Fn=null),t}function Di(t){Fn===null?Fn=[t]:Fn.push(t)}var Pu=_(null),In=null,tn=null;function gn(t,e,n){X(Pu,e._currentValue),e._currentValue=n}function en(t){t._currentValue=Pu.current,Q(Pu)}function Ju(t,e,n){for(;t!==null;){var i=t.alternate;if((t.childLanes&e)!==e?(t.childLanes|=e,i!==null&&(i.childLanes|=e)):i!==null&&(i.childLanes&e)!==e&&(i.childLanes|=e),t===n)break;t=t.return}}function $u(t,e,n,i){var s=t.child;for(s!==null&&(s.return=t);s!==null;){var o=s.dependencies;if(o!==null){var h=s.child;o=o.firstContext;t:for(;o!==null;){var g=o;o=s;for(var x=0;x<e.length;x++)if(g.context===e[x]){o.lanes|=n,g=o.alternate,g!==null&&(g.lanes|=n),Ju(o.return,n,t),i||(h=null);break t}o=g.next}}else if(s.tag===18){if(h=s.return,h===null)throw Error(r(341));h.lanes|=n,o=h.alternate,o!==null&&(o.lanes|=n),Ju(h,n,t),h=null}else h=s.child;if(h!==null)h.return=s;else for(h=s;h!==null;){if(h===t){h=null;break}if(s=h.sibling,s!==null){s.return=h.return,h=s;break}h=h.return}s=h}}function Ri(t,e,n,i){t=null;for(var s=e,o=!1;s!==null;){if(!o){if((s.flags&524288)!==0)o=!0;else if((s.flags&262144)!==0)break}if(s.tag===10){var h=s.alternate;if(h===null)throw Error(r(387));if(h=h.memoizedProps,h!==null){var g=s.type;pe(s.pendingProps.value,h.value)||(t!==null?t.push(g):t=[g])}}else if(s===he.current){if(h=s.alternate,h===null)throw Error(r(387));h.memoizedState.memoizedState!==s.memoizedState.memoizedState&&(t!==null?t.push(nl):t=[nl])}s=s.return}t!==null&&$u(e,t,n,i),e.flags|=262144}function $l(t){for(t=t.firstContext;t!==null;){if(!pe(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function ta(t){In=t,tn=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function ee(t){return Ff(In,t)}function Fl(t,e){return In===null&&ta(t),Ff(t,e)}function Ff(t,e){var n=e._currentValue;if(e={context:e,memoizedValue:n,next:null},tn===null){if(t===null)throw Error(r(308));tn=e,t.dependencies={lanes:0,firstContext:e},t.flags|=524288}else tn=tn.next=e;return n}var ev=typeof AbortController<"u"?AbortController:function(){var t=[],e=this.signal={aborted:!1,addEventListener:function(n,i){t.push(i)}};this.abort=function(){e.aborted=!0,t.forEach(function(n){return n()})}},nv=a.unstable_scheduleCallback,av=a.unstable_NormalPriority,Yt={$$typeof:L,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Fu(){return{controller:new ev,data:new Map,refCount:0}}function Oi(t){t.refCount--,t.refCount===0&&nv(av,function(){t.controller.abort()})}var wi=null,Wu=0,ja=0,Na=null;function iv(t,e){if(wi===null){var n=wi=[];Wu=0,ja=to(),Na={status:"pending",value:void 0,then:function(i){n.push(i)}}}return Wu++,e.then(Wf,Wf),e}function Wf(){if(--Wu===0&&wi!==null){Na!==null&&(Na.status="fulfilled");var t=wi;wi=null,ja=0,Na=null;for(var e=0;e<t.length;e++)(0,t[e])()}}function lv(t,e){var n=[],i={status:"pending",value:null,reason:null,then:function(s){n.push(s)}};return t.then(function(){i.status="fulfilled",i.value=e;for(var s=0;s<n.length;s++)(0,n[s])(e)},function(s){for(i.status="rejected",i.reason=s,s=0;s<n.length;s++)(0,n[s])(void 0)}),i}var If=N.S;N.S=function(t,e){typeof e=="object"&&e!==null&&typeof e.then=="function"&&iv(t,e),If!==null&&If(t,e)};var ea=_(null);function Iu(){var t=ea.current;return t!==null?t:At.pooledCache}function Wl(t,e){e===null?X(ea,ea.current):X(ea,e.pool)}function th(){var t=Iu();return t===null?null:{parent:Yt._currentValue,pool:t}}var Ci=Error(r(460)),eh=Error(r(474)),Il=Error(r(542)),tr={then:function(){}};function nh(t){return t=t.status,t==="fulfilled"||t==="rejected"}function ts(){}function ah(t,e,n){switch(n=t[n],n===void 0?t.push(e):n!==e&&(e.then(ts,ts),e=n),e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,lh(t),t;default:if(typeof e.status=="string")e.then(ts,ts);else{if(t=At,t!==null&&100<t.shellSuspendCounter)throw Error(r(482));t=e,t.status="pending",t.then(function(i){if(e.status==="pending"){var s=e;s.status="fulfilled",s.value=i}},function(i){if(e.status==="pending"){var s=e;s.status="rejected",s.reason=i}})}switch(e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,lh(t),t}throw ji=e,Ci}}var ji=null;function ih(){if(ji===null)throw Error(r(459));var t=ji;return ji=null,t}function lh(t){if(t===Ci||t===Il)throw Error(r(483))}var vn=!1;function er(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function nr(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function bn(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function xn(t,e,n){var i=t.updateQueue;if(i===null)return null;if(i=i.shared,(gt&2)!==0){var s=i.pending;return s===null?e.next=e:(e.next=s.next,s.next=e),i.pending=e,e=Ql(t),Kf(t,null,n),e}return Kl(t,i,e,n),Ql(t)}function Ni(t,e,n){if(e=e.updateQueue,e!==null&&(e=e.shared,(n&4194048)!==0)){var i=e.lanes;i&=t.pendingLanes,n|=i,e.lanes=n,Fc(t,n)}}function ar(t,e){var n=t.updateQueue,i=t.alternate;if(i!==null&&(i=i.updateQueue,n===i)){var s=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var h={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};o===null?s=o=h:o=o.next=h,n=n.next}while(n!==null);o===null?s=o=e:o=o.next=e}else s=o=e;n={baseState:i.baseState,firstBaseUpdate:s,lastBaseUpdate:o,shared:i.shared,callbacks:i.callbacks},t.updateQueue=n;return}t=n.lastBaseUpdate,t===null?n.firstBaseUpdate=e:t.next=e,n.lastBaseUpdate=e}var ir=!1;function Vi(){if(ir){var t=Na;if(t!==null)throw t}}function zi(t,e,n,i){ir=!1;var s=t.updateQueue;vn=!1;var o=s.firstBaseUpdate,h=s.lastBaseUpdate,g=s.shared.pending;if(g!==null){s.shared.pending=null;var x=g,R=x.next;x.next=null,h===null?o=R:h.next=R,h=x;var j=t.alternate;j!==null&&(j=j.updateQueue,g=j.lastBaseUpdate,g!==h&&(g===null?j.firstBaseUpdate=R:g.next=R,j.lastBaseUpdate=x))}if(o!==null){var z=s.baseState;h=0,j=R=x=null,g=o;do{var O=g.lane&-536870913,w=O!==g.lane;if(w?(ft&O)===O:(i&O)===O){O!==0&&O===ja&&(ir=!0),j!==null&&(j=j.next={lane:0,tag:g.tag,payload:g.payload,callback:null,next:null});t:{var at=t,I=g;O=e;var St=n;switch(I.tag){case 1:if(at=I.payload,typeof at=="function"){z=at.call(St,z,O);break t}z=at;break t;case 3:at.flags=at.flags&-65537|128;case 0:if(at=I.payload,O=typeof at=="function"?at.call(St,z,O):at,O==null)break t;z=v({},z,O);break t;case 2:vn=!0}}O=g.callback,O!==null&&(t.flags|=64,w&&(t.flags|=8192),w=s.callbacks,w===null?s.callbacks=[O]:w.push(O))}else w={lane:O,tag:g.tag,payload:g.payload,callback:g.callback,next:null},j===null?(R=j=w,x=z):j=j.next=w,h|=O;if(g=g.next,g===null){if(g=s.shared.pending,g===null)break;w=g,g=w.next,w.next=null,s.lastBaseUpdate=w,s.shared.pending=null}}while(!0);j===null&&(x=z),s.baseState=x,s.firstBaseUpdate=R,s.lastBaseUpdate=j,o===null&&(s.shared.lanes=0),On|=h,t.lanes=h,t.memoizedState=z}}function sh(t,e){if(typeof t!="function")throw Error(r(191,t));t.call(e)}function uh(t,e){var n=t.callbacks;if(n!==null)for(t.callbacks=null,t=0;t<n.length;t++)sh(n[t],e)}var Va=_(null),es=_(0);function rh(t,e){t=on,X(es,t),X(Va,e),on=t|e.baseLanes}function lr(){X(es,on),X(Va,Va.current)}function sr(){on=es.current,Q(Va),Q(es)}var Sn=0,ut=null,bt=null,Bt=null,ns=!1,za=!1,na=!1,as=0,_i=0,_a=null,sv=0;function zt(){throw Error(r(321))}function ur(t,e){if(e===null)return!1;for(var n=0;n<e.length&&n<t.length;n++)if(!pe(t[n],e[n]))return!1;return!0}function rr(t,e,n,i,s,o){return Sn=o,ut=e,e.memoizedState=null,e.updateQueue=null,e.lanes=0,N.H=t===null||t.memoizedState===null?Kh:Qh,na=!1,o=n(i,s),na=!1,za&&(o=ch(e,n,i,s)),oh(t),o}function oh(t){N.H=os;var e=bt!==null&&bt.next!==null;if(Sn=0,Bt=bt=ut=null,ns=!1,_i=0,_a=null,e)throw Error(r(300));t===null||Kt||(t=t.dependencies,t!==null&&$l(t)&&(Kt=!0))}function ch(t,e,n,i){ut=t;var s=0;do{if(za&&(_a=null),_i=0,za=!1,25<=s)throw Error(r(301));if(s+=1,Bt=bt=null,t.updateQueue!=null){var o=t.updateQueue;o.lastEffect=null,o.events=null,o.stores=null,o.memoCache!=null&&(o.memoCache.index=0)}N.H=dv,o=e(n,i)}while(za);return o}function uv(){var t=N.H,e=t.useState()[0];return e=typeof e.then=="function"?Ui(e):e,t=t.useState()[0],(bt!==null?bt.memoizedState:null)!==t&&(ut.flags|=1024),e}function or(){var t=as!==0;return as=0,t}function cr(t,e,n){e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~n}function fr(t){if(ns){for(t=t.memoizedState;t!==null;){var e=t.queue;e!==null&&(e.pending=null),t=t.next}ns=!1}Sn=0,Bt=bt=ut=null,za=!1,_i=as=0,_a=null}function re(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Bt===null?ut.memoizedState=Bt=t:Bt=Bt.next=t,Bt}function Ht(){if(bt===null){var t=ut.alternate;t=t!==null?t.memoizedState:null}else t=bt.next;var e=Bt===null?ut.memoizedState:Bt.next;if(e!==null)Bt=e,bt=t;else{if(t===null)throw ut.alternate===null?Error(r(467)):Error(r(310));bt=t,t={memoizedState:bt.memoizedState,baseState:bt.baseState,baseQueue:bt.baseQueue,queue:bt.queue,next:null},Bt===null?ut.memoizedState=Bt=t:Bt=Bt.next=t}return Bt}function hr(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Ui(t){var e=_i;return _i+=1,_a===null&&(_a=[]),t=ah(_a,t,e),e=ut,(Bt===null?e.memoizedState:Bt.next)===null&&(e=e.alternate,N.H=e===null||e.memoizedState===null?Kh:Qh),t}function is(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return Ui(t);if(t.$$typeof===L)return ee(t)}throw Error(r(438,String(t)))}function dr(t){var e=null,n=ut.updateQueue;if(n!==null&&(e=n.memoCache),e==null){var i=ut.alternate;i!==null&&(i=i.updateQueue,i!==null&&(i=i.memoCache,i!=null&&(e={data:i.data.map(function(s){return s.slice()}),index:0})))}if(e==null&&(e={data:[],index:0}),n===null&&(n=hr(),ut.updateQueue=n),n.memoCache=e,n=e.data[e.index],n===void 0)for(n=e.data[e.index]=Array(t),i=0;i<t;i++)n[i]=wt;return e.index++,n}function nn(t,e){return typeof e=="function"?e(t):e}function ls(t){var e=Ht();return mr(e,bt,t)}function mr(t,e,n){var i=t.queue;if(i===null)throw Error(r(311));i.lastRenderedReducer=n;var s=t.baseQueue,o=i.pending;if(o!==null){if(s!==null){var h=s.next;s.next=o.next,o.next=h}e.baseQueue=s=o,i.pending=null}if(o=t.baseState,s===null)t.memoizedState=o;else{e=s.next;var g=h=null,x=null,R=e,j=!1;do{var z=R.lane&-536870913;if(z!==R.lane?(ft&z)===z:(Sn&z)===z){var O=R.revertLane;if(O===0)x!==null&&(x=x.next={lane:0,revertLane:0,action:R.action,hasEagerState:R.hasEagerState,eagerState:R.eagerState,next:null}),z===ja&&(j=!0);else if((Sn&O)===O){R=R.next,O===ja&&(j=!0);continue}else z={lane:0,revertLane:R.revertLane,action:R.action,hasEagerState:R.hasEagerState,eagerState:R.eagerState,next:null},x===null?(g=x=z,h=o):x=x.next=z,ut.lanes|=O,On|=O;z=R.action,na&&n(o,z),o=R.hasEagerState?R.eagerState:n(o,z)}else O={lane:z,revertLane:R.revertLane,action:R.action,hasEagerState:R.hasEagerState,eagerState:R.eagerState,next:null},x===null?(g=x=O,h=o):x=x.next=O,ut.lanes|=z,On|=z;R=R.next}while(R!==null&&R!==e);if(x===null?h=o:x.next=g,!pe(o,t.memoizedState)&&(Kt=!0,j&&(n=Na,n!==null)))throw n;t.memoizedState=o,t.baseState=h,t.baseQueue=x,i.lastRenderedState=o}return s===null&&(i.lanes=0),[t.memoizedState,i.dispatch]}function pr(t){var e=Ht(),n=e.queue;if(n===null)throw Error(r(311));n.lastRenderedReducer=t;var i=n.dispatch,s=n.pending,o=e.memoizedState;if(s!==null){n.pending=null;var h=s=s.next;do o=t(o,h.action),h=h.next;while(h!==s);pe(o,e.memoizedState)||(Kt=!0),e.memoizedState=o,e.baseQueue===null&&(e.baseState=o),n.lastRenderedState=o}return[o,i]}function fh(t,e,n){var i=ut,s=Ht(),o=pt;if(o){if(n===void 0)throw Error(r(407));n=n()}else n=e();var h=!pe((bt||s).memoizedState,n);h&&(s.memoizedState=n,Kt=!0),s=s.queue;var g=mh.bind(null,i,s,t);if(Bi(2048,8,g,[t]),s.getSnapshot!==e||h||Bt!==null&&Bt.memoizedState.tag&1){if(i.flags|=2048,Ua(9,ss(),dh.bind(null,i,s,n,e),null),At===null)throw Error(r(349));o||(Sn&124)!==0||hh(i,e,n)}return n}function hh(t,e,n){t.flags|=16384,t={getSnapshot:e,value:n},e=ut.updateQueue,e===null?(e=hr(),ut.updateQueue=e,e.stores=[t]):(n=e.stores,n===null?e.stores=[t]:n.push(t))}function dh(t,e,n,i){e.value=n,e.getSnapshot=i,ph(e)&&yh(t)}function mh(t,e,n){return n(function(){ph(e)&&yh(t)})}function ph(t){var e=t.getSnapshot;t=t.value;try{var n=e();return!pe(t,n)}catch{return!0}}function yh(t){var e=Ra(t,2);e!==null&&Se(e,t,2)}function yr(t){var e=re();if(typeof t=="function"){var n=t;if(t=n(),na){mn(!0);try{n()}finally{mn(!1)}}}return e.memoizedState=e.baseState=t,e.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:nn,lastRenderedState:t},e}function gh(t,e,n,i){return t.baseState=n,mr(t,bt,typeof i=="function"?i:nn)}function rv(t,e,n,i,s){if(rs(t))throw Error(r(485));if(t=e.action,t!==null){var o={payload:s,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(h){o.listeners.push(h)}};N.T!==null?n(!0):o.isTransition=!1,i(o),n=e.pending,n===null?(o.next=e.pending=o,vh(e,o)):(o.next=n.next,e.pending=n.next=o)}}function vh(t,e){var n=e.action,i=e.payload,s=t.state;if(e.isTransition){var o=N.T,h={};N.T=h;try{var g=n(s,i),x=N.S;x!==null&&x(h,g),bh(t,e,g)}catch(R){gr(t,e,R)}finally{N.T=o}}else try{o=n(s,i),bh(t,e,o)}catch(R){gr(t,e,R)}}function bh(t,e,n){n!==null&&typeof n=="object"&&typeof n.then=="function"?n.then(function(i){xh(t,e,i)},function(i){return gr(t,e,i)}):xh(t,e,n)}function xh(t,e,n){e.status="fulfilled",e.value=n,Sh(e),t.state=n,e=t.pending,e!==null&&(n=e.next,n===e?t.pending=null:(n=n.next,e.next=n,vh(t,n)))}function gr(t,e,n){var i=t.pending;if(t.pending=null,i!==null){i=i.next;do e.status="rejected",e.reason=n,Sh(e),e=e.next;while(e!==i)}t.action=null}function Sh(t){t=t.listeners;for(var e=0;e<t.length;e++)(0,t[e])()}function Th(t,e){return e}function Ah(t,e){if(pt){var n=At.formState;if(n!==null){t:{var i=ut;if(pt){if(Ct){e:{for(var s=Ct,o=qe;s.nodeType!==8;){if(!o){s=null;break e}if(s=Ue(s.nextSibling),s===null){s=null;break e}}o=s.data,s=o==="F!"||o==="F"?s:null}if(s){Ct=Ue(s.nextSibling),i=s.data==="F!";break t}}Wn(i)}i=!1}i&&(e=n[0])}}return n=re(),n.memoizedState=n.baseState=e,i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Th,lastRenderedState:e},n.queue=i,n=Gh.bind(null,ut,i),i.dispatch=n,i=yr(!1),o=Tr.bind(null,ut,!1,i.queue),i=re(),s={state:e,dispatch:null,action:t,pending:null},i.queue=s,n=rv.bind(null,ut,s,o,n),s.dispatch=n,i.memoizedState=t,[e,n,!1]}function Eh(t){var e=Ht();return Mh(e,bt,t)}function Mh(t,e,n){if(e=mr(t,e,Th)[0],t=ls(nn)[0],typeof e=="object"&&e!==null&&typeof e.then=="function")try{var i=Ui(e)}catch(h){throw h===Ci?Il:h}else i=e;e=Ht();var s=e.queue,o=s.dispatch;return n!==e.memoizedState&&(ut.flags|=2048,Ua(9,ss(),ov.bind(null,s,n),null)),[i,o,t]}function ov(t,e){t.action=e}function Dh(t){var e=Ht(),n=bt;if(n!==null)return Mh(e,n,t);Ht(),e=e.memoizedState,n=Ht();var i=n.queue.dispatch;return n.memoizedState=t,[e,i,!1]}function Ua(t,e,n,i){return t={tag:t,create:n,deps:i,inst:e,next:null},e=ut.updateQueue,e===null&&(e=hr(),ut.updateQueue=e),n=e.lastEffect,n===null?e.lastEffect=t.next=t:(i=n.next,n.next=t,t.next=i,e.lastEffect=t),t}function ss(){return{destroy:void 0,resource:void 0}}function Rh(){return Ht().memoizedState}function us(t,e,n,i){var s=re();i=i===void 0?null:i,ut.flags|=t,s.memoizedState=Ua(1|e,ss(),n,i)}function Bi(t,e,n,i){var s=Ht();i=i===void 0?null:i;var o=s.memoizedState.inst;bt!==null&&i!==null&&ur(i,bt.memoizedState.deps)?s.memoizedState=Ua(e,o,n,i):(ut.flags|=t,s.memoizedState=Ua(1|e,o,n,i))}function Oh(t,e){us(8390656,8,t,e)}function wh(t,e){Bi(2048,8,t,e)}function Ch(t,e){return Bi(4,2,t,e)}function jh(t,e){return Bi(4,4,t,e)}function Nh(t,e){if(typeof e=="function"){t=t();var n=e(t);return function(){typeof n=="function"?n():e(null)}}if(e!=null)return t=t(),e.current=t,function(){e.current=null}}function Vh(t,e,n){n=n!=null?n.concat([t]):null,Bi(4,4,Nh.bind(null,e,t),n)}function vr(){}function zh(t,e){var n=Ht();e=e===void 0?null:e;var i=n.memoizedState;return e!==null&&ur(e,i[1])?i[0]:(n.memoizedState=[t,e],t)}function _h(t,e){var n=Ht();e=e===void 0?null:e;var i=n.memoizedState;if(e!==null&&ur(e,i[1]))return i[0];if(i=t(),na){mn(!0);try{t()}finally{mn(!1)}}return n.memoizedState=[i,e],i}function br(t,e,n){return n===void 0||(Sn&1073741824)!==0?t.memoizedState=e:(t.memoizedState=n,t=Hd(),ut.lanes|=t,On|=t,n)}function Uh(t,e,n,i){return pe(n,e)?n:Va.current!==null?(t=br(t,n,i),pe(t,e)||(Kt=!0),t):(Sn&42)===0?(Kt=!0,t.memoizedState=n):(t=Hd(),ut.lanes|=t,On|=t,e)}function Bh(t,e,n,i,s){var o=B.p;B.p=o!==0&&8>o?o:8;var h=N.T,g={};N.T=g,Tr(t,!1,e,n);try{var x=s(),R=N.S;if(R!==null&&R(g,x),x!==null&&typeof x=="object"&&typeof x.then=="function"){var j=lv(x,i);Hi(t,e,j,xe(t))}else Hi(t,e,i,xe(t))}catch(z){Hi(t,e,{then:function(){},status:"rejected",reason:z},xe())}finally{B.p=o,N.T=h}}function cv(){}function xr(t,e,n,i){if(t.tag!==5)throw Error(r(476));var s=Hh(t).queue;Bh(t,s,e,P,n===null?cv:function(){return Lh(t),n(i)})}function Hh(t){var e=t.memoizedState;if(e!==null)return e;e={memoizedState:P,baseState:P,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:nn,lastRenderedState:P},next:null};var n={};return e.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:nn,lastRenderedState:n},next:null},t.memoizedState=e,t=t.alternate,t!==null&&(t.memoizedState=e),e}function Lh(t){var e=Hh(t).next.queue;Hi(t,e,{},xe())}function Sr(){return ee(nl)}function qh(){return Ht().memoizedState}function Yh(){return Ht().memoizedState}function fv(t){for(var e=t.return;e!==null;){switch(e.tag){case 24:case 3:var n=xe();t=bn(n);var i=xn(e,t,n);i!==null&&(Se(i,e,n),Ni(i,e,n)),e={cache:Fu()},t.payload=e;return}e=e.return}}function hv(t,e,n){var i=xe();n={lane:i,revertLane:0,action:n,hasEagerState:!1,eagerState:null,next:null},rs(t)?Xh(e,n):(n=Yu(t,e,n,i),n!==null&&(Se(n,t,i),Zh(n,e,i)))}function Gh(t,e,n){var i=xe();Hi(t,e,n,i)}function Hi(t,e,n,i){var s={lane:i,revertLane:0,action:n,hasEagerState:!1,eagerState:null,next:null};if(rs(t))Xh(e,s);else{var o=t.alternate;if(t.lanes===0&&(o===null||o.lanes===0)&&(o=e.lastRenderedReducer,o!==null))try{var h=e.lastRenderedState,g=o(h,n);if(s.hasEagerState=!0,s.eagerState=g,pe(g,h))return Kl(t,e,s,0),At===null&&Zl(),!1}catch{}finally{}if(n=Yu(t,e,s,i),n!==null)return Se(n,t,i),Zh(n,e,i),!0}return!1}function Tr(t,e,n,i){if(i={lane:2,revertLane:to(),action:i,hasEagerState:!1,eagerState:null,next:null},rs(t)){if(e)throw Error(r(479))}else e=Yu(t,n,i,2),e!==null&&Se(e,t,2)}function rs(t){var e=t.alternate;return t===ut||e!==null&&e===ut}function Xh(t,e){za=ns=!0;var n=t.pending;n===null?e.next=e:(e.next=n.next,n.next=e),t.pending=e}function Zh(t,e,n){if((n&4194048)!==0){var i=e.lanes;i&=t.pendingLanes,n|=i,e.lanes=n,Fc(t,n)}}var os={readContext:ee,use:is,useCallback:zt,useContext:zt,useEffect:zt,useImperativeHandle:zt,useLayoutEffect:zt,useInsertionEffect:zt,useMemo:zt,useReducer:zt,useRef:zt,useState:zt,useDebugValue:zt,useDeferredValue:zt,useTransition:zt,useSyncExternalStore:zt,useId:zt,useHostTransitionStatus:zt,useFormState:zt,useActionState:zt,useOptimistic:zt,useMemoCache:zt,useCacheRefresh:zt},Kh={readContext:ee,use:is,useCallback:function(t,e){return re().memoizedState=[t,e===void 0?null:e],t},useContext:ee,useEffect:Oh,useImperativeHandle:function(t,e,n){n=n!=null?n.concat([t]):null,us(4194308,4,Nh.bind(null,e,t),n)},useLayoutEffect:function(t,e){return us(4194308,4,t,e)},useInsertionEffect:function(t,e){us(4,2,t,e)},useMemo:function(t,e){var n=re();e=e===void 0?null:e;var i=t();if(na){mn(!0);try{t()}finally{mn(!1)}}return n.memoizedState=[i,e],i},useReducer:function(t,e,n){var i=re();if(n!==void 0){var s=n(e);if(na){mn(!0);try{n(e)}finally{mn(!1)}}}else s=e;return i.memoizedState=i.baseState=s,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:s},i.queue=t,t=t.dispatch=hv.bind(null,ut,t),[i.memoizedState,t]},useRef:function(t){var e=re();return t={current:t},e.memoizedState=t},useState:function(t){t=yr(t);var e=t.queue,n=Gh.bind(null,ut,e);return e.dispatch=n,[t.memoizedState,n]},useDebugValue:vr,useDeferredValue:function(t,e){var n=re();return br(n,t,e)},useTransition:function(){var t=yr(!1);return t=Bh.bind(null,ut,t.queue,!0,!1),re().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,e,n){var i=ut,s=re();if(pt){if(n===void 0)throw Error(r(407));n=n()}else{if(n=e(),At===null)throw Error(r(349));(ft&124)!==0||hh(i,e,n)}s.memoizedState=n;var o={value:n,getSnapshot:e};return s.queue=o,Oh(mh.bind(null,i,o,t),[t]),i.flags|=2048,Ua(9,ss(),dh.bind(null,i,o,n,e),null),n},useId:function(){var t=re(),e=At.identifierPrefix;if(pt){var n=Ie,i=We;n=(i&~(1<<32-me(i)-1)).toString(32)+n,e="«"+e+"R"+n,n=as++,0<n&&(e+="H"+n.toString(32)),e+="»"}else n=sv++,e="«"+e+"r"+n.toString(32)+"»";return t.memoizedState=e},useHostTransitionStatus:Sr,useFormState:Ah,useActionState:Ah,useOptimistic:function(t){var e=re();e.memoizedState=e.baseState=t;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return e.queue=n,e=Tr.bind(null,ut,!0,n),n.dispatch=e,[t,e]},useMemoCache:dr,useCacheRefresh:function(){return re().memoizedState=fv.bind(null,ut)}},Qh={readContext:ee,use:is,useCallback:zh,useContext:ee,useEffect:wh,useImperativeHandle:Vh,useInsertionEffect:Ch,useLayoutEffect:jh,useMemo:_h,useReducer:ls,useRef:Rh,useState:function(){return ls(nn)},useDebugValue:vr,useDeferredValue:function(t,e){var n=Ht();return Uh(n,bt.memoizedState,t,e)},useTransition:function(){var t=ls(nn)[0],e=Ht().memoizedState;return[typeof t=="boolean"?t:Ui(t),e]},useSyncExternalStore:fh,useId:qh,useHostTransitionStatus:Sr,useFormState:Eh,useActionState:Eh,useOptimistic:function(t,e){var n=Ht();return gh(n,bt,t,e)},useMemoCache:dr,useCacheRefresh:Yh},dv={readContext:ee,use:is,useCallback:zh,useContext:ee,useEffect:wh,useImperativeHandle:Vh,useInsertionEffect:Ch,useLayoutEffect:jh,useMemo:_h,useReducer:pr,useRef:Rh,useState:function(){return pr(nn)},useDebugValue:vr,useDeferredValue:function(t,e){var n=Ht();return bt===null?br(n,t,e):Uh(n,bt.memoizedState,t,e)},useTransition:function(){var t=pr(nn)[0],e=Ht().memoizedState;return[typeof t=="boolean"?t:Ui(t),e]},useSyncExternalStore:fh,useId:qh,useHostTransitionStatus:Sr,useFormState:Dh,useActionState:Dh,useOptimistic:function(t,e){var n=Ht();return bt!==null?gh(n,bt,t,e):(n.baseState=t,[t,n.queue.dispatch])},useMemoCache:dr,useCacheRefresh:Yh},Ba=null,Li=0;function cs(t){var e=Li;return Li+=1,Ba===null&&(Ba=[]),ah(Ba,t,e)}function qi(t,e){e=e.props.ref,t.ref=e!==void 0?e:null}function fs(t,e){throw e.$$typeof===b?Error(r(525)):(t=Object.prototype.toString.call(e),Error(r(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)))}function kh(t){var e=t._init;return e(t._payload)}function Ph(t){function e(M,E){if(t){var D=M.deletions;D===null?(M.deletions=[E],M.flags|=16):D.push(E)}}function n(M,E){if(!t)return null;for(;E!==null;)e(M,E),E=E.sibling;return null}function i(M){for(var E=new Map;M!==null;)M.key!==null?E.set(M.key,M):E.set(M.index,M),M=M.sibling;return E}function s(M,E){return M=Fe(M,E),M.index=0,M.sibling=null,M}function o(M,E,D){return M.index=D,t?(D=M.alternate,D!==null?(D=D.index,D<E?(M.flags|=67108866,E):D):(M.flags|=67108866,E)):(M.flags|=1048576,E)}function h(M){return t&&M.alternate===null&&(M.flags|=67108866),M}function g(M,E,D,V){return E===null||E.tag!==6?(E=Xu(D,M.mode,V),E.return=M,E):(E=s(E,D),E.return=M,E)}function x(M,E,D,V){var k=D.type;return k===U?j(M,E,D.props.children,V,D.key):E!==null&&(E.elementType===k||typeof k=="object"&&k!==null&&k.$$typeof===J&&kh(k)===E.type)?(E=s(E,D.props),qi(E,D),E.return=M,E):(E=kl(D.type,D.key,D.props,null,M.mode,V),qi(E,D),E.return=M,E)}function R(M,E,D,V){return E===null||E.tag!==4||E.stateNode.containerInfo!==D.containerInfo||E.stateNode.implementation!==D.implementation?(E=Zu(D,M.mode,V),E.return=M,E):(E=s(E,D.children||[]),E.return=M,E)}function j(M,E,D,V,k){return E===null||E.tag!==7?(E=Pn(D,M.mode,V,k),E.return=M,E):(E=s(E,D),E.return=M,E)}function z(M,E,D){if(typeof E=="string"&&E!==""||typeof E=="number"||typeof E=="bigint")return E=Xu(""+E,M.mode,D),E.return=M,E;if(typeof E=="object"&&E!==null){switch(E.$$typeof){case T:return D=kl(E.type,E.key,E.props,null,M.mode,D),qi(D,E),D.return=M,D;case C:return E=Zu(E,M.mode,D),E.return=M,E;case J:var V=E._init;return E=V(E._payload),z(M,E,D)}if(Jt(E)||qt(E))return E=Pn(E,M.mode,D,null),E.return=M,E;if(typeof E.then=="function")return z(M,cs(E),D);if(E.$$typeof===L)return z(M,Fl(M,E),D);fs(M,E)}return null}function O(M,E,D,V){var k=E!==null?E.key:null;if(typeof D=="string"&&D!==""||typeof D=="number"||typeof D=="bigint")return k!==null?null:g(M,E,""+D,V);if(typeof D=="object"&&D!==null){switch(D.$$typeof){case T:return D.key===k?x(M,E,D,V):null;case C:return D.key===k?R(M,E,D,V):null;case J:return k=D._init,D=k(D._payload),O(M,E,D,V)}if(Jt(D)||qt(D))return k!==null?null:j(M,E,D,V,null);if(typeof D.then=="function")return O(M,E,cs(D),V);if(D.$$typeof===L)return O(M,E,Fl(M,D),V);fs(M,D)}return null}function w(M,E,D,V,k){if(typeof V=="string"&&V!==""||typeof V=="number"||typeof V=="bigint")return M=M.get(D)||null,g(E,M,""+V,k);if(typeof V=="object"&&V!==null){switch(V.$$typeof){case T:return M=M.get(V.key===null?D:V.key)||null,x(E,M,V,k);case C:return M=M.get(V.key===null?D:V.key)||null,R(E,M,V,k);case J:var rt=V._init;return V=rt(V._payload),w(M,E,D,V,k)}if(Jt(V)||qt(V))return M=M.get(D)||null,j(E,M,V,k,null);if(typeof V.then=="function")return w(M,E,D,cs(V),k);if(V.$$typeof===L)return w(M,E,D,Fl(E,V),k);fs(E,V)}return null}function at(M,E,D,V){for(var k=null,rt=null,$=E,et=E=0,kt=null;$!==null&&et<D.length;et++){$.index>et?(kt=$,$=null):kt=$.sibling;var dt=O(M,$,D[et],V);if(dt===null){$===null&&($=kt);break}t&&$&&dt.alternate===null&&e(M,$),E=o(dt,E,et),rt===null?k=dt:rt.sibling=dt,rt=dt,$=kt}if(et===D.length)return n(M,$),pt&&$n(M,et),k;if($===null){for(;et<D.length;et++)$=z(M,D[et],V),$!==null&&(E=o($,E,et),rt===null?k=$:rt.sibling=$,rt=$);return pt&&$n(M,et),k}for($=i($);et<D.length;et++)kt=w($,M,et,D[et],V),kt!==null&&(t&&kt.alternate!==null&&$.delete(kt.key===null?et:kt.key),E=o(kt,E,et),rt===null?k=kt:rt.sibling=kt,rt=kt);return t&&$.forEach(function(Bn){return e(M,Bn)}),pt&&$n(M,et),k}function I(M,E,D,V){if(D==null)throw Error(r(151));for(var k=null,rt=null,$=E,et=E=0,kt=null,dt=D.next();$!==null&&!dt.done;et++,dt=D.next()){$.index>et?(kt=$,$=null):kt=$.sibling;var Bn=O(M,$,dt.value,V);if(Bn===null){$===null&&($=kt);break}t&&$&&Bn.alternate===null&&e(M,$),E=o(Bn,E,et),rt===null?k=Bn:rt.sibling=Bn,rt=Bn,$=kt}if(dt.done)return n(M,$),pt&&$n(M,et),k;if($===null){for(;!dt.done;et++,dt=D.next())dt=z(M,dt.value,V),dt!==null&&(E=o(dt,E,et),rt===null?k=dt:rt.sibling=dt,rt=dt);return pt&&$n(M,et),k}for($=i($);!dt.done;et++,dt=D.next())dt=w($,M,et,dt.value,V),dt!==null&&(t&&dt.alternate!==null&&$.delete(dt.key===null?et:dt.key),E=o(dt,E,et),rt===null?k=dt:rt.sibling=dt,rt=dt);return t&&$.forEach(function(m1){return e(M,m1)}),pt&&$n(M,et),k}function St(M,E,D,V){if(typeof D=="object"&&D!==null&&D.type===U&&D.key===null&&(D=D.props.children),typeof D=="object"&&D!==null){switch(D.$$typeof){case T:t:{for(var k=D.key;E!==null;){if(E.key===k){if(k=D.type,k===U){if(E.tag===7){n(M,E.sibling),V=s(E,D.props.children),V.return=M,M=V;break t}}else if(E.elementType===k||typeof k=="object"&&k!==null&&k.$$typeof===J&&kh(k)===E.type){n(M,E.sibling),V=s(E,D.props),qi(V,D),V.return=M,M=V;break t}n(M,E);break}else e(M,E);E=E.sibling}D.type===U?(V=Pn(D.props.children,M.mode,V,D.key),V.return=M,M=V):(V=kl(D.type,D.key,D.props,null,M.mode,V),qi(V,D),V.return=M,M=V)}return h(M);case C:t:{for(k=D.key;E!==null;){if(E.key===k)if(E.tag===4&&E.stateNode.containerInfo===D.containerInfo&&E.stateNode.implementation===D.implementation){n(M,E.sibling),V=s(E,D.children||[]),V.return=M,M=V;break t}else{n(M,E);break}else e(M,E);E=E.sibling}V=Zu(D,M.mode,V),V.return=M,M=V}return h(M);case J:return k=D._init,D=k(D._payload),St(M,E,D,V)}if(Jt(D))return at(M,E,D,V);if(qt(D)){if(k=qt(D),typeof k!="function")throw Error(r(150));return D=k.call(D),I(M,E,D,V)}if(typeof D.then=="function")return St(M,E,cs(D),V);if(D.$$typeof===L)return St(M,E,Fl(M,D),V);fs(M,D)}return typeof D=="string"&&D!==""||typeof D=="number"||typeof D=="bigint"?(D=""+D,E!==null&&E.tag===6?(n(M,E.sibling),V=s(E,D),V.return=M,M=V):(n(M,E),V=Xu(D,M.mode,V),V.return=M,M=V),h(M)):n(M,E)}return function(M,E,D,V){try{Li=0;var k=St(M,E,D,V);return Ba=null,k}catch($){if($===Ci||$===Il)throw $;var rt=ye(29,$,null,M.mode);return rt.lanes=V,rt.return=M,rt}finally{}}}var Ha=Ph(!0),Jh=Ph(!1),Oe=_(null),Ye=null;function Tn(t){var e=t.alternate;X(Gt,Gt.current&1),X(Oe,t),Ye===null&&(e===null||Va.current!==null||e.memoizedState!==null)&&(Ye=t)}function $h(t){if(t.tag===22){if(X(Gt,Gt.current),X(Oe,t),Ye===null){var e=t.alternate;e!==null&&e.memoizedState!==null&&(Ye=t)}}else An()}function An(){X(Gt,Gt.current),X(Oe,Oe.current)}function an(t){Q(Oe),Ye===t&&(Ye=null),Q(Gt)}var Gt=_(0);function hs(t){for(var e=t;e!==null;){if(e.tag===13){var n=e.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||ho(n)))return e}else if(e.tag===19&&e.memoizedProps.revealOrder!==void 0){if((e.flags&128)!==0)return e}else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}function Ar(t,e,n,i){e=t.memoizedState,n=n(i,e),n=n==null?e:v({},e,n),t.memoizedState=n,t.lanes===0&&(t.updateQueue.baseState=n)}var Er={enqueueSetState:function(t,e,n){t=t._reactInternals;var i=xe(),s=bn(i);s.payload=e,n!=null&&(s.callback=n),e=xn(t,s,i),e!==null&&(Se(e,t,i),Ni(e,t,i))},enqueueReplaceState:function(t,e,n){t=t._reactInternals;var i=xe(),s=bn(i);s.tag=1,s.payload=e,n!=null&&(s.callback=n),e=xn(t,s,i),e!==null&&(Se(e,t,i),Ni(e,t,i))},enqueueForceUpdate:function(t,e){t=t._reactInternals;var n=xe(),i=bn(n);i.tag=2,e!=null&&(i.callback=e),e=xn(t,i,n),e!==null&&(Se(e,t,n),Ni(e,t,n))}};function Fh(t,e,n,i,s,o,h){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(i,o,h):e.prototype&&e.prototype.isPureReactComponent?!Ti(n,i)||!Ti(s,o):!0}function Wh(t,e,n,i){t=e.state,typeof e.componentWillReceiveProps=="function"&&e.componentWillReceiveProps(n,i),typeof e.UNSAFE_componentWillReceiveProps=="function"&&e.UNSAFE_componentWillReceiveProps(n,i),e.state!==t&&Er.enqueueReplaceState(e,e.state,null)}function aa(t,e){var n=e;if("ref"in e){n={};for(var i in e)i!=="ref"&&(n[i]=e[i])}if(t=t.defaultProps){n===e&&(n=v({},n));for(var s in t)n[s]===void 0&&(n[s]=t[s])}return n}var ds=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var e=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(e))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)};function Ih(t){ds(t)}function td(t){console.error(t)}function ed(t){ds(t)}function ms(t,e){try{var n=t.onUncaughtError;n(e.value,{componentStack:e.stack})}catch(i){setTimeout(function(){throw i})}}function nd(t,e,n){try{var i=t.onCaughtError;i(n.value,{componentStack:n.stack,errorBoundary:e.tag===1?e.stateNode:null})}catch(s){setTimeout(function(){throw s})}}function Mr(t,e,n){return n=bn(n),n.tag=3,n.payload={element:null},n.callback=function(){ms(t,e)},n}function ad(t){return t=bn(t),t.tag=3,t}function id(t,e,n,i){var s=n.type.getDerivedStateFromError;if(typeof s=="function"){var o=i.value;t.payload=function(){return s(o)},t.callback=function(){nd(e,n,i)}}var h=n.stateNode;h!==null&&typeof h.componentDidCatch=="function"&&(t.callback=function(){nd(e,n,i),typeof s!="function"&&(wn===null?wn=new Set([this]):wn.add(this));var g=i.stack;this.componentDidCatch(i.value,{componentStack:g!==null?g:""})})}function mv(t,e,n,i,s){if(n.flags|=32768,i!==null&&typeof i=="object"&&typeof i.then=="function"){if(e=n.alternate,e!==null&&Ri(e,n,s,!0),n=Oe.current,n!==null){switch(n.tag){case 13:return Ye===null?Jr():n.alternate===null&&jt===0&&(jt=3),n.flags&=-257,n.flags|=65536,n.lanes=s,i===tr?n.flags|=16384:(e=n.updateQueue,e===null?n.updateQueue=new Set([i]):e.add(i),Fr(t,i,s)),!1;case 22:return n.flags|=65536,i===tr?n.flags|=16384:(e=n.updateQueue,e===null?(e={transitions:null,markerInstances:null,retryQueue:new Set([i])},n.updateQueue=e):(n=e.retryQueue,n===null?e.retryQueue=new Set([i]):n.add(i)),Fr(t,i,s)),!1}throw Error(r(435,n.tag))}return Fr(t,i,s),Jr(),!1}if(pt)return e=Oe.current,e!==null?((e.flags&65536)===0&&(e.flags|=256),e.flags|=65536,e.lanes=s,i!==ku&&(t=Error(r(422),{cause:i}),Di(Ee(t,n)))):(i!==ku&&(e=Error(r(423),{cause:i}),Di(Ee(e,n))),t=t.current.alternate,t.flags|=65536,s&=-s,t.lanes|=s,i=Ee(i,n),s=Mr(t.stateNode,i,s),ar(t,s),jt!==4&&(jt=2)),!1;var o=Error(r(520),{cause:i});if(o=Ee(o,n),ki===null?ki=[o]:ki.push(o),jt!==4&&(jt=2),e===null)return!0;i=Ee(i,n),n=e;do{switch(n.tag){case 3:return n.flags|=65536,t=s&-s,n.lanes|=t,t=Mr(n.stateNode,i,t),ar(n,t),!1;case 1:if(e=n.type,o=n.stateNode,(n.flags&128)===0&&(typeof e.getDerivedStateFromError=="function"||o!==null&&typeof o.componentDidCatch=="function"&&(wn===null||!wn.has(o))))return n.flags|=65536,s&=-s,n.lanes|=s,s=ad(s),id(s,t,n,i),ar(n,s),!1}n=n.return}while(n!==null);return!1}var ld=Error(r(461)),Kt=!1;function $t(t,e,n,i){e.child=t===null?Jh(e,null,n,i):Ha(e,t.child,n,i)}function sd(t,e,n,i,s){n=n.render;var o=e.ref;if("ref"in i){var h={};for(var g in i)g!=="ref"&&(h[g]=i[g])}else h=i;return ta(e),i=rr(t,e,n,h,o,s),g=or(),t!==null&&!Kt?(cr(t,e,s),ln(t,e,s)):(pt&&g&&Ku(e),e.flags|=1,$t(t,e,i,s),e.child)}function ud(t,e,n,i,s){if(t===null){var o=n.type;return typeof o=="function"&&!Gu(o)&&o.defaultProps===void 0&&n.compare===null?(e.tag=15,e.type=o,rd(t,e,o,i,s)):(t=kl(n.type,null,i,e,e.mode,s),t.ref=e.ref,t.return=e,e.child=t)}if(o=t.child,!Vr(t,s)){var h=o.memoizedProps;if(n=n.compare,n=n!==null?n:Ti,n(h,i)&&t.ref===e.ref)return ln(t,e,s)}return e.flags|=1,t=Fe(o,i),t.ref=e.ref,t.return=e,e.child=t}function rd(t,e,n,i,s){if(t!==null){var o=t.memoizedProps;if(Ti(o,i)&&t.ref===e.ref)if(Kt=!1,e.pendingProps=i=o,Vr(t,s))(t.flags&131072)!==0&&(Kt=!0);else return e.lanes=t.lanes,ln(t,e,s)}return Dr(t,e,n,i,s)}function od(t,e,n){var i=e.pendingProps,s=i.children,o=t!==null?t.memoizedState:null;if(i.mode==="hidden"){if((e.flags&128)!==0){if(i=o!==null?o.baseLanes|n:n,t!==null){for(s=e.child=t.child,o=0;s!==null;)o=o|s.lanes|s.childLanes,s=s.sibling;e.childLanes=o&~i}else e.childLanes=0,e.child=null;return cd(t,e,i,n)}if((n&536870912)!==0)e.memoizedState={baseLanes:0,cachePool:null},t!==null&&Wl(e,o!==null?o.cachePool:null),o!==null?rh(e,o):lr(),$h(e);else return e.lanes=e.childLanes=536870912,cd(t,e,o!==null?o.baseLanes|n:n,n)}else o!==null?(Wl(e,o.cachePool),rh(e,o),An(),e.memoizedState=null):(t!==null&&Wl(e,null),lr(),An());return $t(t,e,s,n),e.child}function cd(t,e,n,i){var s=Iu();return s=s===null?null:{parent:Yt._currentValue,pool:s},e.memoizedState={baseLanes:n,cachePool:s},t!==null&&Wl(e,null),lr(),$h(e),t!==null&&Ri(t,e,i,!0),null}function ps(t,e){var n=e.ref;if(n===null)t!==null&&t.ref!==null&&(e.flags|=4194816);else{if(typeof n!="function"&&typeof n!="object")throw Error(r(284));(t===null||t.ref!==n)&&(e.flags|=4194816)}}function Dr(t,e,n,i,s){return ta(e),n=rr(t,e,n,i,void 0,s),i=or(),t!==null&&!Kt?(cr(t,e,s),ln(t,e,s)):(pt&&i&&Ku(e),e.flags|=1,$t(t,e,n,s),e.child)}function fd(t,e,n,i,s,o){return ta(e),e.updateQueue=null,n=ch(e,i,n,s),oh(t),i=or(),t!==null&&!Kt?(cr(t,e,o),ln(t,e,o)):(pt&&i&&Ku(e),e.flags|=1,$t(t,e,n,o),e.child)}function hd(t,e,n,i,s){if(ta(e),e.stateNode===null){var o=Oa,h=n.contextType;typeof h=="object"&&h!==null&&(o=ee(h)),o=new n(i,o),e.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,o.updater=Er,e.stateNode=o,o._reactInternals=e,o=e.stateNode,o.props=i,o.state=e.memoizedState,o.refs={},er(e),h=n.contextType,o.context=typeof h=="object"&&h!==null?ee(h):Oa,o.state=e.memoizedState,h=n.getDerivedStateFromProps,typeof h=="function"&&(Ar(e,n,h,i),o.state=e.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof o.getSnapshotBeforeUpdate=="function"||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(h=o.state,typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount(),h!==o.state&&Er.enqueueReplaceState(o,o.state,null),zi(e,i,o,s),Vi(),o.state=e.memoizedState),typeof o.componentDidMount=="function"&&(e.flags|=4194308),i=!0}else if(t===null){o=e.stateNode;var g=e.memoizedProps,x=aa(n,g);o.props=x;var R=o.context,j=n.contextType;h=Oa,typeof j=="object"&&j!==null&&(h=ee(j));var z=n.getDerivedStateFromProps;j=typeof z=="function"||typeof o.getSnapshotBeforeUpdate=="function",g=e.pendingProps!==g,j||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(g||R!==h)&&Wh(e,o,i,h),vn=!1;var O=e.memoizedState;o.state=O,zi(e,i,o,s),Vi(),R=e.memoizedState,g||O!==R||vn?(typeof z=="function"&&(Ar(e,n,z,i),R=e.memoizedState),(x=vn||Fh(e,n,x,i,O,R,h))?(j||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount=="function"&&(e.flags|=4194308)):(typeof o.componentDidMount=="function"&&(e.flags|=4194308),e.memoizedProps=i,e.memoizedState=R),o.props=i,o.state=R,o.context=h,i=x):(typeof o.componentDidMount=="function"&&(e.flags|=4194308),i=!1)}else{o=e.stateNode,nr(t,e),h=e.memoizedProps,j=aa(n,h),o.props=j,z=e.pendingProps,O=o.context,R=n.contextType,x=Oa,typeof R=="object"&&R!==null&&(x=ee(R)),g=n.getDerivedStateFromProps,(R=typeof g=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(h!==z||O!==x)&&Wh(e,o,i,x),vn=!1,O=e.memoizedState,o.state=O,zi(e,i,o,s),Vi();var w=e.memoizedState;h!==z||O!==w||vn||t!==null&&t.dependencies!==null&&$l(t.dependencies)?(typeof g=="function"&&(Ar(e,n,g,i),w=e.memoizedState),(j=vn||Fh(e,n,j,i,O,w,x)||t!==null&&t.dependencies!==null&&$l(t.dependencies))?(R||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(i,w,x),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(i,w,x)),typeof o.componentDidUpdate=="function"&&(e.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(e.flags|=1024)):(typeof o.componentDidUpdate!="function"||h===t.memoizedProps&&O===t.memoizedState||(e.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||h===t.memoizedProps&&O===t.memoizedState||(e.flags|=1024),e.memoizedProps=i,e.memoizedState=w),o.props=i,o.state=w,o.context=x,i=j):(typeof o.componentDidUpdate!="function"||h===t.memoizedProps&&O===t.memoizedState||(e.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||h===t.memoizedProps&&O===t.memoizedState||(e.flags|=1024),i=!1)}return o=i,ps(t,e),i=(e.flags&128)!==0,o||i?(o=e.stateNode,n=i&&typeof n.getDerivedStateFromError!="function"?null:o.render(),e.flags|=1,t!==null&&i?(e.child=Ha(e,t.child,null,s),e.child=Ha(e,null,n,s)):$t(t,e,n,s),e.memoizedState=o.state,t=e.child):t=ln(t,e,s),t}function dd(t,e,n,i){return Mi(),e.flags|=256,$t(t,e,n,i),e.child}var Rr={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Or(t){return{baseLanes:t,cachePool:th()}}function wr(t,e,n){return t=t!==null?t.childLanes&~n:0,e&&(t|=we),t}function md(t,e,n){var i=e.pendingProps,s=!1,o=(e.flags&128)!==0,h;if((h=o)||(h=t!==null&&t.memoizedState===null?!1:(Gt.current&2)!==0),h&&(s=!0,e.flags&=-129),h=(e.flags&32)!==0,e.flags&=-33,t===null){if(pt){if(s?Tn(e):An(),pt){var g=Ct,x;if(x=g){t:{for(x=g,g=qe;x.nodeType!==8;){if(!g){g=null;break t}if(x=Ue(x.nextSibling),x===null){g=null;break t}}g=x}g!==null?(e.memoizedState={dehydrated:g,treeContext:Jn!==null?{id:We,overflow:Ie}:null,retryLane:536870912,hydrationErrors:null},x=ye(18,null,null,0),x.stateNode=g,x.return=e,e.child=x,ie=e,Ct=null,x=!0):x=!1}x||Wn(e)}if(g=e.memoizedState,g!==null&&(g=g.dehydrated,g!==null))return ho(g)?e.lanes=32:e.lanes=536870912,null;an(e)}return g=i.children,i=i.fallback,s?(An(),s=e.mode,g=ys({mode:"hidden",children:g},s),i=Pn(i,s,n,null),g.return=e,i.return=e,g.sibling=i,e.child=g,s=e.child,s.memoizedState=Or(n),s.childLanes=wr(t,h,n),e.memoizedState=Rr,i):(Tn(e),Cr(e,g))}if(x=t.memoizedState,x!==null&&(g=x.dehydrated,g!==null)){if(o)e.flags&256?(Tn(e),e.flags&=-257,e=jr(t,e,n)):e.memoizedState!==null?(An(),e.child=t.child,e.flags|=128,e=null):(An(),s=i.fallback,g=e.mode,i=ys({mode:"visible",children:i.children},g),s=Pn(s,g,n,null),s.flags|=2,i.return=e,s.return=e,i.sibling=s,e.child=i,Ha(e,t.child,null,n),i=e.child,i.memoizedState=Or(n),i.childLanes=wr(t,h,n),e.memoizedState=Rr,e=s);else if(Tn(e),ho(g)){if(h=g.nextSibling&&g.nextSibling.dataset,h)var R=h.dgst;h=R,i=Error(r(419)),i.stack="",i.digest=h,Di({value:i,source:null,stack:null}),e=jr(t,e,n)}else if(Kt||Ri(t,e,n,!1),h=(n&t.childLanes)!==0,Kt||h){if(h=At,h!==null&&(i=n&-n,i=(i&42)!==0?1:du(i),i=(i&(h.suspendedLanes|n))!==0?0:i,i!==0&&i!==x.retryLane))throw x.retryLane=i,Ra(t,i),Se(h,t,i),ld;g.data==="$?"||Jr(),e=jr(t,e,n)}else g.data==="$?"?(e.flags|=192,e.child=t.child,e=null):(t=x.treeContext,Ct=Ue(g.nextSibling),ie=e,pt=!0,Fn=null,qe=!1,t!==null&&(De[Re++]=We,De[Re++]=Ie,De[Re++]=Jn,We=t.id,Ie=t.overflow,Jn=e),e=Cr(e,i.children),e.flags|=4096);return e}return s?(An(),s=i.fallback,g=e.mode,x=t.child,R=x.sibling,i=Fe(x,{mode:"hidden",children:i.children}),i.subtreeFlags=x.subtreeFlags&65011712,R!==null?s=Fe(R,s):(s=Pn(s,g,n,null),s.flags|=2),s.return=e,i.return=e,i.sibling=s,e.child=i,i=s,s=e.child,g=t.child.memoizedState,g===null?g=Or(n):(x=g.cachePool,x!==null?(R=Yt._currentValue,x=x.parent!==R?{parent:R,pool:R}:x):x=th(),g={baseLanes:g.baseLanes|n,cachePool:x}),s.memoizedState=g,s.childLanes=wr(t,h,n),e.memoizedState=Rr,i):(Tn(e),n=t.child,t=n.sibling,n=Fe(n,{mode:"visible",children:i.children}),n.return=e,n.sibling=null,t!==null&&(h=e.deletions,h===null?(e.deletions=[t],e.flags|=16):h.push(t)),e.child=n,e.memoizedState=null,n)}function Cr(t,e){return e=ys({mode:"visible",children:e},t.mode),e.return=t,t.child=e}function ys(t,e){return t=ye(22,t,null,e),t.lanes=0,t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},t}function jr(t,e,n){return Ha(e,t.child,null,n),t=Cr(e,e.pendingProps.children),t.flags|=2,e.memoizedState=null,t}function pd(t,e,n){t.lanes|=e;var i=t.alternate;i!==null&&(i.lanes|=e),Ju(t.return,e,n)}function Nr(t,e,n,i,s){var o=t.memoizedState;o===null?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:i,tail:n,tailMode:s}:(o.isBackwards=e,o.rendering=null,o.renderingStartTime=0,o.last=i,o.tail=n,o.tailMode=s)}function yd(t,e,n){var i=e.pendingProps,s=i.revealOrder,o=i.tail;if($t(t,e,i.children,n),i=Gt.current,(i&2)!==0)i=i&1|2,e.flags|=128;else{if(t!==null&&(t.flags&128)!==0)t:for(t=e.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&pd(t,n,e);else if(t.tag===19)pd(t,n,e);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break t;for(;t.sibling===null;){if(t.return===null||t.return===e)break t;t=t.return}t.sibling.return=t.return,t=t.sibling}i&=1}switch(X(Gt,i),s){case"forwards":for(n=e.child,s=null;n!==null;)t=n.alternate,t!==null&&hs(t)===null&&(s=n),n=n.sibling;n=s,n===null?(s=e.child,e.child=null):(s=n.sibling,n.sibling=null),Nr(e,!1,s,n,o);break;case"backwards":for(n=null,s=e.child,e.child=null;s!==null;){if(t=s.alternate,t!==null&&hs(t)===null){e.child=s;break}t=s.sibling,s.sibling=n,n=s,s=t}Nr(e,!0,n,null,o);break;case"together":Nr(e,!1,null,null,void 0);break;default:e.memoizedState=null}return e.child}function ln(t,e,n){if(t!==null&&(e.dependencies=t.dependencies),On|=e.lanes,(n&e.childLanes)===0)if(t!==null){if(Ri(t,e,n,!1),(n&e.childLanes)===0)return null}else return null;if(t!==null&&e.child!==t.child)throw Error(r(153));if(e.child!==null){for(t=e.child,n=Fe(t,t.pendingProps),e.child=n,n.return=e;t.sibling!==null;)t=t.sibling,n=n.sibling=Fe(t,t.pendingProps),n.return=e;n.sibling=null}return e.child}function Vr(t,e){return(t.lanes&e)!==0?!0:(t=t.dependencies,!!(t!==null&&$l(t)))}function pv(t,e,n){switch(e.tag){case 3:Et(e,e.stateNode.containerInfo),gn(e,Yt,t.memoizedState.cache),Mi();break;case 27:case 5:ru(e);break;case 4:Et(e,e.stateNode.containerInfo);break;case 10:gn(e,e.type,e.memoizedProps.value);break;case 13:var i=e.memoizedState;if(i!==null)return i.dehydrated!==null?(Tn(e),e.flags|=128,null):(n&e.child.childLanes)!==0?md(t,e,n):(Tn(e),t=ln(t,e,n),t!==null?t.sibling:null);Tn(e);break;case 19:var s=(t.flags&128)!==0;if(i=(n&e.childLanes)!==0,i||(Ri(t,e,n,!1),i=(n&e.childLanes)!==0),s){if(i)return yd(t,e,n);e.flags|=128}if(s=e.memoizedState,s!==null&&(s.rendering=null,s.tail=null,s.lastEffect=null),X(Gt,Gt.current),i)break;return null;case 22:case 23:return e.lanes=0,od(t,e,n);case 24:gn(e,Yt,t.memoizedState.cache)}return ln(t,e,n)}function gd(t,e,n){if(t!==null)if(t.memoizedProps!==e.pendingProps)Kt=!0;else{if(!Vr(t,n)&&(e.flags&128)===0)return Kt=!1,pv(t,e,n);Kt=(t.flags&131072)!==0}else Kt=!1,pt&&(e.flags&1048576)!==0&&kf(e,Jl,e.index);switch(e.lanes=0,e.tag){case 16:t:{t=e.pendingProps;var i=e.elementType,s=i._init;if(i=s(i._payload),e.type=i,typeof i=="function")Gu(i)?(t=aa(i,t),e.tag=1,e=hd(null,e,i,t,n)):(e.tag=0,e=Dr(null,e,i,t,n));else{if(i!=null){if(s=i.$$typeof,s===tt){e.tag=11,e=sd(null,e,i,t,n);break t}else if(s===nt){e.tag=14,e=ud(null,e,i,t,n);break t}}throw e=He(i)||i,Error(r(306,e,""))}}return e;case 0:return Dr(t,e,e.type,e.pendingProps,n);case 1:return i=e.type,s=aa(i,e.pendingProps),hd(t,e,i,s,n);case 3:t:{if(Et(e,e.stateNode.containerInfo),t===null)throw Error(r(387));i=e.pendingProps;var o=e.memoizedState;s=o.element,nr(t,e),zi(e,i,null,n);var h=e.memoizedState;if(i=h.cache,gn(e,Yt,i),i!==o.cache&&$u(e,[Yt],n,!0),Vi(),i=h.element,o.isDehydrated)if(o={element:i,isDehydrated:!1,cache:h.cache},e.updateQueue.baseState=o,e.memoizedState=o,e.flags&256){e=dd(t,e,i,n);break t}else if(i!==s){s=Ee(Error(r(424)),e),Di(s),e=dd(t,e,i,n);break t}else{switch(t=e.stateNode.containerInfo,t.nodeType){case 9:t=t.body;break;default:t=t.nodeName==="HTML"?t.ownerDocument.body:t}for(Ct=Ue(t.firstChild),ie=e,pt=!0,Fn=null,qe=!0,n=Jh(e,null,i,n),e.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling}else{if(Mi(),i===s){e=ln(t,e,n);break t}$t(t,e,i,n)}e=e.child}return e;case 26:return ps(t,e),t===null?(n=Sm(e.type,null,e.pendingProps,null))?e.memoizedState=n:pt||(n=e.type,t=e.pendingProps,i=Cs(lt.current).createElement(n),i[te]=e,i[se]=t,Wt(i,n,t),Zt(i),e.stateNode=i):e.memoizedState=Sm(e.type,t.memoizedProps,e.pendingProps,t.memoizedState),null;case 27:return ru(e),t===null&&pt&&(i=e.stateNode=vm(e.type,e.pendingProps,lt.current),ie=e,qe=!0,s=Ct,Nn(e.type)?(mo=s,Ct=Ue(i.firstChild)):Ct=s),$t(t,e,e.pendingProps.children,n),ps(t,e),t===null&&(e.flags|=4194304),e.child;case 5:return t===null&&pt&&((s=i=Ct)&&(i=Xv(i,e.type,e.pendingProps,qe),i!==null?(e.stateNode=i,ie=e,Ct=Ue(i.firstChild),qe=!1,s=!0):s=!1),s||Wn(e)),ru(e),s=e.type,o=e.pendingProps,h=t!==null?t.memoizedProps:null,i=o.children,oo(s,o)?i=null:h!==null&&oo(s,h)&&(e.flags|=32),e.memoizedState!==null&&(s=rr(t,e,uv,null,null,n),nl._currentValue=s),ps(t,e),$t(t,e,i,n),e.child;case 6:return t===null&&pt&&((t=n=Ct)&&(n=Zv(n,e.pendingProps,qe),n!==null?(e.stateNode=n,ie=e,Ct=null,t=!0):t=!1),t||Wn(e)),null;case 13:return md(t,e,n);case 4:return Et(e,e.stateNode.containerInfo),i=e.pendingProps,t===null?e.child=Ha(e,null,i,n):$t(t,e,i,n),e.child;case 11:return sd(t,e,e.type,e.pendingProps,n);case 7:return $t(t,e,e.pendingProps,n),e.child;case 8:return $t(t,e,e.pendingProps.children,n),e.child;case 12:return $t(t,e,e.pendingProps.children,n),e.child;case 10:return i=e.pendingProps,gn(e,e.type,i.value),$t(t,e,i.children,n),e.child;case 9:return s=e.type._context,i=e.pendingProps.children,ta(e),s=ee(s),i=i(s),e.flags|=1,$t(t,e,i,n),e.child;case 14:return ud(t,e,e.type,e.pendingProps,n);case 15:return rd(t,e,e.type,e.pendingProps,n);case 19:return yd(t,e,n);case 31:return i=e.pendingProps,n=e.mode,i={mode:i.mode,children:i.children},t===null?(n=ys(i,n),n.ref=e.ref,e.child=n,n.return=e,e=n):(n=Fe(t.child,i),n.ref=e.ref,e.child=n,n.return=e,e=n),e;case 22:return od(t,e,n);case 24:return ta(e),i=ee(Yt),t===null?(s=Iu(),s===null&&(s=At,o=Fu(),s.pooledCache=o,o.refCount++,o!==null&&(s.pooledCacheLanes|=n),s=o),e.memoizedState={parent:i,cache:s},er(e),gn(e,Yt,s)):((t.lanes&n)!==0&&(nr(t,e),zi(e,null,null,n),Vi()),s=t.memoizedState,o=e.memoizedState,s.parent!==i?(s={parent:i,cache:i},e.memoizedState=s,e.lanes===0&&(e.memoizedState=e.updateQueue.baseState=s),gn(e,Yt,i)):(i=o.cache,gn(e,Yt,i),i!==s.cache&&$u(e,[Yt],n,!0))),$t(t,e,e.pendingProps.children,n),e.child;case 29:throw e.pendingProps}throw Error(r(156,e.tag))}function sn(t){t.flags|=4}function vd(t,e){if(e.type!=="stylesheet"||(e.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!Dm(e)){if(e=Oe.current,e!==null&&((ft&4194048)===ft?Ye!==null:(ft&62914560)!==ft&&(ft&536870912)===0||e!==Ye))throw ji=tr,eh;t.flags|=8192}}function gs(t,e){e!==null&&(t.flags|=4),t.flags&16384&&(e=t.tag!==22?Jc():536870912,t.lanes|=e,Ga|=e)}function Yi(t,e){if(!pt)switch(t.tailMode){case"hidden":e=t.tail;for(var n=null;e!==null;)e.alternate!==null&&(n=e),e=e.sibling;n===null?t.tail=null:n.sibling=null;break;case"collapsed":n=t.tail;for(var i=null;n!==null;)n.alternate!==null&&(i=n),n=n.sibling;i===null?e||t.tail===null?t.tail=null:t.tail.sibling=null:i.sibling=null}}function Rt(t){var e=t.alternate!==null&&t.alternate.child===t.child,n=0,i=0;if(e)for(var s=t.child;s!==null;)n|=s.lanes|s.childLanes,i|=s.subtreeFlags&65011712,i|=s.flags&65011712,s.return=t,s=s.sibling;else for(s=t.child;s!==null;)n|=s.lanes|s.childLanes,i|=s.subtreeFlags,i|=s.flags,s.return=t,s=s.sibling;return t.subtreeFlags|=i,t.childLanes=n,e}function yv(t,e,n){var i=e.pendingProps;switch(Qu(e),e.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Rt(e),null;case 1:return Rt(e),null;case 3:return n=e.stateNode,i=null,t!==null&&(i=t.memoizedState.cache),e.memoizedState.cache!==i&&(e.flags|=2048),en(Yt),dn(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(t===null||t.child===null)&&(Ei(e)?sn(e):t===null||t.memoizedState.isDehydrated&&(e.flags&256)===0||(e.flags|=1024,$f())),Rt(e),null;case 26:return n=e.memoizedState,t===null?(sn(e),n!==null?(Rt(e),vd(e,n)):(Rt(e),e.flags&=-16777217)):n?n!==t.memoizedState?(sn(e),Rt(e),vd(e,n)):(Rt(e),e.flags&=-16777217):(t.memoizedProps!==i&&sn(e),Rt(e),e.flags&=-16777217),null;case 27:Ol(e),n=lt.current;var s=e.type;if(t!==null&&e.stateNode!=null)t.memoizedProps!==i&&sn(e);else{if(!i){if(e.stateNode===null)throw Error(r(166));return Rt(e),null}t=W.current,Ei(e)?Pf(e):(t=vm(s,i,n),e.stateNode=t,sn(e))}return Rt(e),null;case 5:if(Ol(e),n=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==i&&sn(e);else{if(!i){if(e.stateNode===null)throw Error(r(166));return Rt(e),null}if(t=W.current,Ei(e))Pf(e);else{switch(s=Cs(lt.current),t){case 1:t=s.createElementNS("http://www.w3.org/2000/svg",n);break;case 2:t=s.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;default:switch(n){case"svg":t=s.createElementNS("http://www.w3.org/2000/svg",n);break;case"math":t=s.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;case"script":t=s.createElement("div"),t.innerHTML="<script><\/script>",t=t.removeChild(t.firstChild);break;case"select":t=typeof i.is=="string"?s.createElement("select",{is:i.is}):s.createElement("select"),i.multiple?t.multiple=!0:i.size&&(t.size=i.size);break;default:t=typeof i.is=="string"?s.createElement(n,{is:i.is}):s.createElement(n)}}t[te]=e,t[se]=i;t:for(s=e.child;s!==null;){if(s.tag===5||s.tag===6)t.appendChild(s.stateNode);else if(s.tag!==4&&s.tag!==27&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===e)break t;for(;s.sibling===null;){if(s.return===null||s.return===e)break t;s=s.return}s.sibling.return=s.return,s=s.sibling}e.stateNode=t;t:switch(Wt(t,n,i),n){case"button":case"input":case"select":case"textarea":t=!!i.autoFocus;break t;case"img":t=!0;break t;default:t=!1}t&&sn(e)}}return Rt(e),e.flags&=-16777217,null;case 6:if(t&&e.stateNode!=null)t.memoizedProps!==i&&sn(e);else{if(typeof i!="string"&&e.stateNode===null)throw Error(r(166));if(t=lt.current,Ei(e)){if(t=e.stateNode,n=e.memoizedProps,i=null,s=ie,s!==null)switch(s.tag){case 27:case 5:i=s.memoizedProps}t[te]=e,t=!!(t.nodeValue===n||i!==null&&i.suppressHydrationWarning===!0||fm(t.nodeValue,n)),t||Wn(e)}else t=Cs(t).createTextNode(i),t[te]=e,e.stateNode=t}return Rt(e),null;case 13:if(i=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(s=Ei(e),i!==null&&i.dehydrated!==null){if(t===null){if(!s)throw Error(r(318));if(s=e.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(r(317));s[te]=e}else Mi(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;Rt(e),s=!1}else s=$f(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=s),s=!0;if(!s)return e.flags&256?(an(e),e):(an(e),null)}if(an(e),(e.flags&128)!==0)return e.lanes=n,e;if(n=i!==null,t=t!==null&&t.memoizedState!==null,n){i=e.child,s=null,i.alternate!==null&&i.alternate.memoizedState!==null&&i.alternate.memoizedState.cachePool!==null&&(s=i.alternate.memoizedState.cachePool.pool);var o=null;i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(o=i.memoizedState.cachePool.pool),o!==s&&(i.flags|=2048)}return n!==t&&n&&(e.child.flags|=8192),gs(e,e.updateQueue),Rt(e),null;case 4:return dn(),t===null&&io(e.stateNode.containerInfo),Rt(e),null;case 10:return en(e.type),Rt(e),null;case 19:if(Q(Gt),s=e.memoizedState,s===null)return Rt(e),null;if(i=(e.flags&128)!==0,o=s.rendering,o===null)if(i)Yi(s,!1);else{if(jt!==0||t!==null&&(t.flags&128)!==0)for(t=e.child;t!==null;){if(o=hs(t),o!==null){for(e.flags|=128,Yi(s,!1),t=o.updateQueue,e.updateQueue=t,gs(e,t),e.subtreeFlags=0,t=n,n=e.child;n!==null;)Qf(n,t),n=n.sibling;return X(Gt,Gt.current&1|2),e.child}t=t.sibling}s.tail!==null&&Le()>xs&&(e.flags|=128,i=!0,Yi(s,!1),e.lanes=4194304)}else{if(!i)if(t=hs(o),t!==null){if(e.flags|=128,i=!0,t=t.updateQueue,e.updateQueue=t,gs(e,t),Yi(s,!0),s.tail===null&&s.tailMode==="hidden"&&!o.alternate&&!pt)return Rt(e),null}else 2*Le()-s.renderingStartTime>xs&&n!==536870912&&(e.flags|=128,i=!0,Yi(s,!1),e.lanes=4194304);s.isBackwards?(o.sibling=e.child,e.child=o):(t=s.last,t!==null?t.sibling=o:e.child=o,s.last=o)}return s.tail!==null?(e=s.tail,s.rendering=e,s.tail=e.sibling,s.renderingStartTime=Le(),e.sibling=null,t=Gt.current,X(Gt,i?t&1|2:t&1),e):(Rt(e),null);case 22:case 23:return an(e),sr(),i=e.memoizedState!==null,t!==null?t.memoizedState!==null!==i&&(e.flags|=8192):i&&(e.flags|=8192),i?(n&536870912)!==0&&(e.flags&128)===0&&(Rt(e),e.subtreeFlags&6&&(e.flags|=8192)):Rt(e),n=e.updateQueue,n!==null&&gs(e,n.retryQueue),n=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(n=t.memoizedState.cachePool.pool),i=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(i=e.memoizedState.cachePool.pool),i!==n&&(e.flags|=2048),t!==null&&Q(ea),null;case 24:return n=null,t!==null&&(n=t.memoizedState.cache),e.memoizedState.cache!==n&&(e.flags|=2048),en(Yt),Rt(e),null;case 25:return null;case 30:return null}throw Error(r(156,e.tag))}function gv(t,e){switch(Qu(e),e.tag){case 1:return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return en(Yt),dn(),t=e.flags,(t&65536)!==0&&(t&128)===0?(e.flags=t&-65537|128,e):null;case 26:case 27:case 5:return Ol(e),null;case 13:if(an(e),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(r(340));Mi()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return Q(Gt),null;case 4:return dn(),null;case 10:return en(e.type),null;case 22:case 23:return an(e),sr(),t!==null&&Q(ea),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 24:return en(Yt),null;case 25:return null;default:return null}}function bd(t,e){switch(Qu(e),e.tag){case 3:en(Yt),dn();break;case 26:case 27:case 5:Ol(e);break;case 4:dn();break;case 13:an(e);break;case 19:Q(Gt);break;case 10:en(e.type);break;case 22:case 23:an(e),sr(),t!==null&&Q(ea);break;case 24:en(Yt)}}function Gi(t,e){try{var n=e.updateQueue,i=n!==null?n.lastEffect:null;if(i!==null){var s=i.next;n=s;do{if((n.tag&t)===t){i=void 0;var o=n.create,h=n.inst;i=o(),h.destroy=i}n=n.next}while(n!==s)}}catch(g){Tt(e,e.return,g)}}function En(t,e,n){try{var i=e.updateQueue,s=i!==null?i.lastEffect:null;if(s!==null){var o=s.next;i=o;do{if((i.tag&t)===t){var h=i.inst,g=h.destroy;if(g!==void 0){h.destroy=void 0,s=e;var x=n,R=g;try{R()}catch(j){Tt(s,x,j)}}}i=i.next}while(i!==o)}}catch(j){Tt(e,e.return,j)}}function xd(t){var e=t.updateQueue;if(e!==null){var n=t.stateNode;try{uh(e,n)}catch(i){Tt(t,t.return,i)}}}function Sd(t,e,n){n.props=aa(t.type,t.memoizedProps),n.state=t.memoizedState;try{n.componentWillUnmount()}catch(i){Tt(t,e,i)}}function Xi(t,e){try{var n=t.ref;if(n!==null){switch(t.tag){case 26:case 27:case 5:var i=t.stateNode;break;case 30:i=t.stateNode;break;default:i=t.stateNode}typeof n=="function"?t.refCleanup=n(i):n.current=i}}catch(s){Tt(t,e,s)}}function Ge(t,e){var n=t.ref,i=t.refCleanup;if(n!==null)if(typeof i=="function")try{i()}catch(s){Tt(t,e,s)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof n=="function")try{n(null)}catch(s){Tt(t,e,s)}else n.current=null}function Td(t){var e=t.type,n=t.memoizedProps,i=t.stateNode;try{t:switch(e){case"button":case"input":case"select":case"textarea":n.autoFocus&&i.focus();break t;case"img":n.src?i.src=n.src:n.srcSet&&(i.srcset=n.srcSet)}}catch(s){Tt(t,t.return,s)}}function zr(t,e,n){try{var i=t.stateNode;Hv(i,t.type,n,e),i[se]=e}catch(s){Tt(t,t.return,s)}}function Ad(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&Nn(t.type)||t.tag===4}function _r(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||Ad(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.tag===27&&Nn(t.type)||t.flags&2||t.child===null||t.tag===4)continue t;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function Ur(t,e,n){var i=t.tag;if(i===5||i===6)t=t.stateNode,e?(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n).insertBefore(t,e):(e=n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,e.appendChild(t),n=n._reactRootContainer,n!=null||e.onclick!==null||(e.onclick=ws));else if(i!==4&&(i===27&&Nn(t.type)&&(n=t.stateNode,e=null),t=t.child,t!==null))for(Ur(t,e,n),t=t.sibling;t!==null;)Ur(t,e,n),t=t.sibling}function vs(t,e,n){var i=t.tag;if(i===5||i===6)t=t.stateNode,e?n.insertBefore(t,e):n.appendChild(t);else if(i!==4&&(i===27&&Nn(t.type)&&(n=t.stateNode),t=t.child,t!==null))for(vs(t,e,n),t=t.sibling;t!==null;)vs(t,e,n),t=t.sibling}function Ed(t){var e=t.stateNode,n=t.memoizedProps;try{for(var i=t.type,s=e.attributes;s.length;)e.removeAttributeNode(s[0]);Wt(e,i,n),e[te]=t,e[se]=n}catch(o){Tt(t,t.return,o)}}var un=!1,_t=!1,Br=!1,Md=typeof WeakSet=="function"?WeakSet:Set,Qt=null;function vv(t,e){if(t=t.containerInfo,uo=Us,t=Uf(t),_u(t)){if("selectionStart"in t)var n={start:t.selectionStart,end:t.selectionEnd};else t:{n=(n=t.ownerDocument)&&n.defaultView||window;var i=n.getSelection&&n.getSelection();if(i&&i.rangeCount!==0){n=i.anchorNode;var s=i.anchorOffset,o=i.focusNode;i=i.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break t}var h=0,g=-1,x=-1,R=0,j=0,z=t,O=null;e:for(;;){for(var w;z!==n||s!==0&&z.nodeType!==3||(g=h+s),z!==o||i!==0&&z.nodeType!==3||(x=h+i),z.nodeType===3&&(h+=z.nodeValue.length),(w=z.firstChild)!==null;)O=z,z=w;for(;;){if(z===t)break e;if(O===n&&++R===s&&(g=h),O===o&&++j===i&&(x=h),(w=z.nextSibling)!==null)break;z=O,O=z.parentNode}z=w}n=g===-1||x===-1?null:{start:g,end:x}}else n=null}n=n||{start:0,end:0}}else n=null;for(ro={focusedElem:t,selectionRange:n},Us=!1,Qt=e;Qt!==null;)if(e=Qt,t=e.child,(e.subtreeFlags&1024)!==0&&t!==null)t.return=e,Qt=t;else for(;Qt!==null;){switch(e=Qt,o=e.alternate,t=e.flags,e.tag){case 0:break;case 11:case 15:break;case 1:if((t&1024)!==0&&o!==null){t=void 0,n=e,s=o.memoizedProps,o=o.memoizedState,i=n.stateNode;try{var at=aa(n.type,s,n.elementType===n.type);t=i.getSnapshotBeforeUpdate(at,o),i.__reactInternalSnapshotBeforeUpdate=t}catch(I){Tt(n,n.return,I)}}break;case 3:if((t&1024)!==0){if(t=e.stateNode.containerInfo,n=t.nodeType,n===9)fo(t);else if(n===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":fo(t);break;default:t.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((t&1024)!==0)throw Error(r(163))}if(t=e.sibling,t!==null){t.return=e.return,Qt=t;break}Qt=e.return}}function Dd(t,e,n){var i=n.flags;switch(n.tag){case 0:case 11:case 15:Mn(t,n),i&4&&Gi(5,n);break;case 1:if(Mn(t,n),i&4)if(t=n.stateNode,e===null)try{t.componentDidMount()}catch(h){Tt(n,n.return,h)}else{var s=aa(n.type,e.memoizedProps);e=e.memoizedState;try{t.componentDidUpdate(s,e,t.__reactInternalSnapshotBeforeUpdate)}catch(h){Tt(n,n.return,h)}}i&64&&xd(n),i&512&&Xi(n,n.return);break;case 3:if(Mn(t,n),i&64&&(t=n.updateQueue,t!==null)){if(e=null,n.child!==null)switch(n.child.tag){case 27:case 5:e=n.child.stateNode;break;case 1:e=n.child.stateNode}try{uh(t,e)}catch(h){Tt(n,n.return,h)}}break;case 27:e===null&&i&4&&Ed(n);case 26:case 5:Mn(t,n),e===null&&i&4&&Td(n),i&512&&Xi(n,n.return);break;case 12:Mn(t,n);break;case 13:Mn(t,n),i&4&&wd(t,n),i&64&&(t=n.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(n=Rv.bind(null,n),Kv(t,n))));break;case 22:if(i=n.memoizedState!==null||un,!i){e=e!==null&&e.memoizedState!==null||_t,s=un;var o=_t;un=i,(_t=e)&&!o?Dn(t,n,(n.subtreeFlags&8772)!==0):Mn(t,n),un=s,_t=o}break;case 30:break;default:Mn(t,n)}}function Rd(t){var e=t.alternate;e!==null&&(t.alternate=null,Rd(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&yu(e)),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}var Mt=null,oe=!1;function rn(t,e,n){for(n=n.child;n!==null;)Od(t,e,n),n=n.sibling}function Od(t,e,n){if(de&&typeof de.onCommitFiberUnmount=="function")try{de.onCommitFiberUnmount(ci,n)}catch{}switch(n.tag){case 26:_t||Ge(n,e),rn(t,e,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:_t||Ge(n,e);var i=Mt,s=oe;Nn(n.type)&&(Mt=n.stateNode,oe=!1),rn(t,e,n),Wi(n.stateNode),Mt=i,oe=s;break;case 5:_t||Ge(n,e);case 6:if(i=Mt,s=oe,Mt=null,rn(t,e,n),Mt=i,oe=s,Mt!==null)if(oe)try{(Mt.nodeType===9?Mt.body:Mt.nodeName==="HTML"?Mt.ownerDocument.body:Mt).removeChild(n.stateNode)}catch(o){Tt(n,e,o)}else try{Mt.removeChild(n.stateNode)}catch(o){Tt(n,e,o)}break;case 18:Mt!==null&&(oe?(t=Mt,ym(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,n.stateNode),sl(t)):ym(Mt,n.stateNode));break;case 4:i=Mt,s=oe,Mt=n.stateNode.containerInfo,oe=!0,rn(t,e,n),Mt=i,oe=s;break;case 0:case 11:case 14:case 15:_t||En(2,n,e),_t||En(4,n,e),rn(t,e,n);break;case 1:_t||(Ge(n,e),i=n.stateNode,typeof i.componentWillUnmount=="function"&&Sd(n,e,i)),rn(t,e,n);break;case 21:rn(t,e,n);break;case 22:_t=(i=_t)||n.memoizedState!==null,rn(t,e,n),_t=i;break;default:rn(t,e,n)}}function wd(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{sl(t)}catch(n){Tt(e,e.return,n)}}function bv(t){switch(t.tag){case 13:case 19:var e=t.stateNode;return e===null&&(e=t.stateNode=new Md),e;case 22:return t=t.stateNode,e=t._retryCache,e===null&&(e=t._retryCache=new Md),e;default:throw Error(r(435,t.tag))}}function Hr(t,e){var n=bv(t);e.forEach(function(i){var s=Ov.bind(null,t,i);n.has(i)||(n.add(i),i.then(s,s))})}function ge(t,e){var n=e.deletions;if(n!==null)for(var i=0;i<n.length;i++){var s=n[i],o=t,h=e,g=h;t:for(;g!==null;){switch(g.tag){case 27:if(Nn(g.type)){Mt=g.stateNode,oe=!1;break t}break;case 5:Mt=g.stateNode,oe=!1;break t;case 3:case 4:Mt=g.stateNode.containerInfo,oe=!0;break t}g=g.return}if(Mt===null)throw Error(r(160));Od(o,h,s),Mt=null,oe=!1,o=s.alternate,o!==null&&(o.return=null),s.return=null}if(e.subtreeFlags&13878)for(e=e.child;e!==null;)Cd(e,t),e=e.sibling}var _e=null;function Cd(t,e){var n=t.alternate,i=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:ge(e,t),ve(t),i&4&&(En(3,t,t.return),Gi(3,t),En(5,t,t.return));break;case 1:ge(e,t),ve(t),i&512&&(_t||n===null||Ge(n,n.return)),i&64&&un&&(t=t.updateQueue,t!==null&&(i=t.callbacks,i!==null&&(n=t.shared.hiddenCallbacks,t.shared.hiddenCallbacks=n===null?i:n.concat(i))));break;case 26:var s=_e;if(ge(e,t),ve(t),i&512&&(_t||n===null||Ge(n,n.return)),i&4){var o=n!==null?n.memoizedState:null;if(i=t.memoizedState,n===null)if(i===null)if(t.stateNode===null){t:{i=t.type,n=t.memoizedProps,s=s.ownerDocument||s;e:switch(i){case"title":o=s.getElementsByTagName("title")[0],(!o||o[di]||o[te]||o.namespaceURI==="http://www.w3.org/2000/svg"||o.hasAttribute("itemprop"))&&(o=s.createElement(i),s.head.insertBefore(o,s.querySelector("head > title"))),Wt(o,i,n),o[te]=t,Zt(o),i=o;break t;case"link":var h=Em("link","href",s).get(i+(n.href||""));if(h){for(var g=0;g<h.length;g++)if(o=h[g],o.getAttribute("href")===(n.href==null||n.href===""?null:n.href)&&o.getAttribute("rel")===(n.rel==null?null:n.rel)&&o.getAttribute("title")===(n.title==null?null:n.title)&&o.getAttribute("crossorigin")===(n.crossOrigin==null?null:n.crossOrigin)){h.splice(g,1);break e}}o=s.createElement(i),Wt(o,i,n),s.head.appendChild(o);break;case"meta":if(h=Em("meta","content",s).get(i+(n.content||""))){for(g=0;g<h.length;g++)if(o=h[g],o.getAttribute("content")===(n.content==null?null:""+n.content)&&o.getAttribute("name")===(n.name==null?null:n.name)&&o.getAttribute("property")===(n.property==null?null:n.property)&&o.getAttribute("http-equiv")===(n.httpEquiv==null?null:n.httpEquiv)&&o.getAttribute("charset")===(n.charSet==null?null:n.charSet)){h.splice(g,1);break e}}o=s.createElement(i),Wt(o,i,n),s.head.appendChild(o);break;default:throw Error(r(468,i))}o[te]=t,Zt(o),i=o}t.stateNode=i}else Mm(s,t.type,t.stateNode);else t.stateNode=Am(s,i,t.memoizedProps);else o!==i?(o===null?n.stateNode!==null&&(n=n.stateNode,n.parentNode.removeChild(n)):o.count--,i===null?Mm(s,t.type,t.stateNode):Am(s,i,t.memoizedProps)):i===null&&t.stateNode!==null&&zr(t,t.memoizedProps,n.memoizedProps)}break;case 27:ge(e,t),ve(t),i&512&&(_t||n===null||Ge(n,n.return)),n!==null&&i&4&&zr(t,t.memoizedProps,n.memoizedProps);break;case 5:if(ge(e,t),ve(t),i&512&&(_t||n===null||Ge(n,n.return)),t.flags&32){s=t.stateNode;try{xa(s,"")}catch(w){Tt(t,t.return,w)}}i&4&&t.stateNode!=null&&(s=t.memoizedProps,zr(t,s,n!==null?n.memoizedProps:s)),i&1024&&(Br=!0);break;case 6:if(ge(e,t),ve(t),i&4){if(t.stateNode===null)throw Error(r(162));i=t.memoizedProps,n=t.stateNode;try{n.nodeValue=i}catch(w){Tt(t,t.return,w)}}break;case 3:if(Vs=null,s=_e,_e=js(e.containerInfo),ge(e,t),_e=s,ve(t),i&4&&n!==null&&n.memoizedState.isDehydrated)try{sl(e.containerInfo)}catch(w){Tt(t,t.return,w)}Br&&(Br=!1,jd(t));break;case 4:i=_e,_e=js(t.stateNode.containerInfo),ge(e,t),ve(t),_e=i;break;case 12:ge(e,t),ve(t);break;case 13:ge(e,t),ve(t),t.child.flags&8192&&t.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(Zr=Le()),i&4&&(i=t.updateQueue,i!==null&&(t.updateQueue=null,Hr(t,i)));break;case 22:s=t.memoizedState!==null;var x=n!==null&&n.memoizedState!==null,R=un,j=_t;if(un=R||s,_t=j||x,ge(e,t),_t=j,un=R,ve(t),i&8192)t:for(e=t.stateNode,e._visibility=s?e._visibility&-2:e._visibility|1,s&&(n===null||x||un||_t||ia(t)),n=null,e=t;;){if(e.tag===5||e.tag===26){if(n===null){x=n=e;try{if(o=x.stateNode,s)h=o.style,typeof h.setProperty=="function"?h.setProperty("display","none","important"):h.display="none";else{g=x.stateNode;var z=x.memoizedProps.style,O=z!=null&&z.hasOwnProperty("display")?z.display:null;g.style.display=O==null||typeof O=="boolean"?"":(""+O).trim()}}catch(w){Tt(x,x.return,w)}}}else if(e.tag===6){if(n===null){x=e;try{x.stateNode.nodeValue=s?"":x.memoizedProps}catch(w){Tt(x,x.return,w)}}}else if((e.tag!==22&&e.tag!==23||e.memoizedState===null||e===t)&&e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break t;for(;e.sibling===null;){if(e.return===null||e.return===t)break t;n===e&&(n=null),e=e.return}n===e&&(n=null),e.sibling.return=e.return,e=e.sibling}i&4&&(i=t.updateQueue,i!==null&&(n=i.retryQueue,n!==null&&(i.retryQueue=null,Hr(t,n))));break;case 19:ge(e,t),ve(t),i&4&&(i=t.updateQueue,i!==null&&(t.updateQueue=null,Hr(t,i)));break;case 30:break;case 21:break;default:ge(e,t),ve(t)}}function ve(t){var e=t.flags;if(e&2){try{for(var n,i=t.return;i!==null;){if(Ad(i)){n=i;break}i=i.return}if(n==null)throw Error(r(160));switch(n.tag){case 27:var s=n.stateNode,o=_r(t);vs(t,o,s);break;case 5:var h=n.stateNode;n.flags&32&&(xa(h,""),n.flags&=-33);var g=_r(t);vs(t,g,h);break;case 3:case 4:var x=n.stateNode.containerInfo,R=_r(t);Ur(t,R,x);break;default:throw Error(r(161))}}catch(j){Tt(t,t.return,j)}t.flags&=-3}e&4096&&(t.flags&=-4097)}function jd(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var e=t;jd(e),e.tag===5&&e.flags&1024&&e.stateNode.reset(),t=t.sibling}}function Mn(t,e){if(e.subtreeFlags&8772)for(e=e.child;e!==null;)Dd(t,e.alternate,e),e=e.sibling}function ia(t){for(t=t.child;t!==null;){var e=t;switch(e.tag){case 0:case 11:case 14:case 15:En(4,e,e.return),ia(e);break;case 1:Ge(e,e.return);var n=e.stateNode;typeof n.componentWillUnmount=="function"&&Sd(e,e.return,n),ia(e);break;case 27:Wi(e.stateNode);case 26:case 5:Ge(e,e.return),ia(e);break;case 22:e.memoizedState===null&&ia(e);break;case 30:ia(e);break;default:ia(e)}t=t.sibling}}function Dn(t,e,n){for(n=n&&(e.subtreeFlags&8772)!==0,e=e.child;e!==null;){var i=e.alternate,s=t,o=e,h=o.flags;switch(o.tag){case 0:case 11:case 15:Dn(s,o,n),Gi(4,o);break;case 1:if(Dn(s,o,n),i=o,s=i.stateNode,typeof s.componentDidMount=="function")try{s.componentDidMount()}catch(R){Tt(i,i.return,R)}if(i=o,s=i.updateQueue,s!==null){var g=i.stateNode;try{var x=s.shared.hiddenCallbacks;if(x!==null)for(s.shared.hiddenCallbacks=null,s=0;s<x.length;s++)sh(x[s],g)}catch(R){Tt(i,i.return,R)}}n&&h&64&&xd(o),Xi(o,o.return);break;case 27:Ed(o);case 26:case 5:Dn(s,o,n),n&&i===null&&h&4&&Td(o),Xi(o,o.return);break;case 12:Dn(s,o,n);break;case 13:Dn(s,o,n),n&&h&4&&wd(s,o);break;case 22:o.memoizedState===null&&Dn(s,o,n),Xi(o,o.return);break;case 30:break;default:Dn(s,o,n)}e=e.sibling}}function Lr(t,e){var n=null;t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(n=t.memoizedState.cachePool.pool),t=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(t=e.memoizedState.cachePool.pool),t!==n&&(t!=null&&t.refCount++,n!=null&&Oi(n))}function qr(t,e){t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&Oi(t))}function Xe(t,e,n,i){if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Nd(t,e,n,i),e=e.sibling}function Nd(t,e,n,i){var s=e.flags;switch(e.tag){case 0:case 11:case 15:Xe(t,e,n,i),s&2048&&Gi(9,e);break;case 1:Xe(t,e,n,i);break;case 3:Xe(t,e,n,i),s&2048&&(t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&Oi(t)));break;case 12:if(s&2048){Xe(t,e,n,i),t=e.stateNode;try{var o=e.memoizedProps,h=o.id,g=o.onPostCommit;typeof g=="function"&&g(h,e.alternate===null?"mount":"update",t.passiveEffectDuration,-0)}catch(x){Tt(e,e.return,x)}}else Xe(t,e,n,i);break;case 13:Xe(t,e,n,i);break;case 23:break;case 22:o=e.stateNode,h=e.alternate,e.memoizedState!==null?o._visibility&2?Xe(t,e,n,i):Zi(t,e):o._visibility&2?Xe(t,e,n,i):(o._visibility|=2,La(t,e,n,i,(e.subtreeFlags&10256)!==0)),s&2048&&Lr(h,e);break;case 24:Xe(t,e,n,i),s&2048&&qr(e.alternate,e);break;default:Xe(t,e,n,i)}}function La(t,e,n,i,s){for(s=s&&(e.subtreeFlags&10256)!==0,e=e.child;e!==null;){var o=t,h=e,g=n,x=i,R=h.flags;switch(h.tag){case 0:case 11:case 15:La(o,h,g,x,s),Gi(8,h);break;case 23:break;case 22:var j=h.stateNode;h.memoizedState!==null?j._visibility&2?La(o,h,g,x,s):Zi(o,h):(j._visibility|=2,La(o,h,g,x,s)),s&&R&2048&&Lr(h.alternate,h);break;case 24:La(o,h,g,x,s),s&&R&2048&&qr(h.alternate,h);break;default:La(o,h,g,x,s)}e=e.sibling}}function Zi(t,e){if(e.subtreeFlags&10256)for(e=e.child;e!==null;){var n=t,i=e,s=i.flags;switch(i.tag){case 22:Zi(n,i),s&2048&&Lr(i.alternate,i);break;case 24:Zi(n,i),s&2048&&qr(i.alternate,i);break;default:Zi(n,i)}e=e.sibling}}var Ki=8192;function qa(t){if(t.subtreeFlags&Ki)for(t=t.child;t!==null;)Vd(t),t=t.sibling}function Vd(t){switch(t.tag){case 26:qa(t),t.flags&Ki&&t.memoizedState!==null&&i1(_e,t.memoizedState,t.memoizedProps);break;case 5:qa(t);break;case 3:case 4:var e=_e;_e=js(t.stateNode.containerInfo),qa(t),_e=e;break;case 22:t.memoizedState===null&&(e=t.alternate,e!==null&&e.memoizedState!==null?(e=Ki,Ki=16777216,qa(t),Ki=e):qa(t));break;default:qa(t)}}function zd(t){var e=t.alternate;if(e!==null&&(t=e.child,t!==null)){e.child=null;do e=t.sibling,t.sibling=null,t=e;while(t!==null)}}function Qi(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var n=0;n<e.length;n++){var i=e[n];Qt=i,Ud(i,t)}zd(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)_d(t),t=t.sibling}function _d(t){switch(t.tag){case 0:case 11:case 15:Qi(t),t.flags&2048&&En(9,t,t.return);break;case 3:Qi(t);break;case 12:Qi(t);break;case 22:var e=t.stateNode;t.memoizedState!==null&&e._visibility&2&&(t.return===null||t.return.tag!==13)?(e._visibility&=-3,bs(t)):Qi(t);break;default:Qi(t)}}function bs(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var n=0;n<e.length;n++){var i=e[n];Qt=i,Ud(i,t)}zd(t)}for(t=t.child;t!==null;){switch(e=t,e.tag){case 0:case 11:case 15:En(8,e,e.return),bs(e);break;case 22:n=e.stateNode,n._visibility&2&&(n._visibility&=-3,bs(e));break;default:bs(e)}t=t.sibling}}function Ud(t,e){for(;Qt!==null;){var n=Qt;switch(n.tag){case 0:case 11:case 15:En(8,n,e);break;case 23:case 22:if(n.memoizedState!==null&&n.memoizedState.cachePool!==null){var i=n.memoizedState.cachePool.pool;i!=null&&i.refCount++}break;case 24:Oi(n.memoizedState.cache)}if(i=n.child,i!==null)i.return=n,Qt=i;else t:for(n=t;Qt!==null;){i=Qt;var s=i.sibling,o=i.return;if(Rd(i),i===n){Qt=null;break t}if(s!==null){s.return=o,Qt=s;break t}Qt=o}}}var xv={getCacheForType:function(t){var e=ee(Yt),n=e.data.get(t);return n===void 0&&(n=t(),e.data.set(t,n)),n}},Sv=typeof WeakMap=="function"?WeakMap:Map,gt=0,At=null,ot=null,ft=0,vt=0,be=null,Rn=!1,Ya=!1,Yr=!1,on=0,jt=0,On=0,la=0,Gr=0,we=0,Ga=0,ki=null,ce=null,Xr=!1,Zr=0,xs=1/0,Ss=null,wn=null,Ft=0,Cn=null,Xa=null,Za=0,Kr=0,Qr=null,Bd=null,Pi=0,kr=null;function xe(){if((gt&2)!==0&&ft!==0)return ft&-ft;if(N.T!==null){var t=ja;return t!==0?t:to()}return Wc()}function Hd(){we===0&&(we=(ft&536870912)===0||pt?Pc():536870912);var t=Oe.current;return t!==null&&(t.flags|=32),we}function Se(t,e,n){(t===At&&(vt===2||vt===9)||t.cancelPendingCommit!==null)&&(Ka(t,0),jn(t,ft,we,!1)),hi(t,n),((gt&2)===0||t!==At)&&(t===At&&((gt&2)===0&&(la|=n),jt===4&&jn(t,ft,we,!1)),Ze(t))}function Ld(t,e,n){if((gt&6)!==0)throw Error(r(327));var i=!n&&(e&124)===0&&(e&t.expiredLanes)===0||fi(t,e),s=i?Ev(t,e):$r(t,e,!0),o=i;do{if(s===0){Ya&&!i&&jn(t,e,0,!1);break}else{if(n=t.current.alternate,o&&!Tv(n)){s=$r(t,e,!1),o=!1;continue}if(s===2){if(o=e,t.errorRecoveryDisabledLanes&o)var h=0;else h=t.pendingLanes&-536870913,h=h!==0?h:h&536870912?536870912:0;if(h!==0){e=h;t:{var g=t;s=ki;var x=g.current.memoizedState.isDehydrated;if(x&&(Ka(g,h).flags|=256),h=$r(g,h,!1),h!==2){if(Yr&&!x){g.errorRecoveryDisabledLanes|=o,la|=o,s=4;break t}o=ce,ce=s,o!==null&&(ce===null?ce=o:ce.push.apply(ce,o))}s=h}if(o=!1,s!==2)continue}}if(s===1){Ka(t,0),jn(t,e,0,!0);break}t:{switch(i=t,o=s,o){case 0:case 1:throw Error(r(345));case 4:if((e&4194048)!==e)break;case 6:jn(i,e,we,!Rn);break t;case 2:ce=null;break;case 3:case 5:break;default:throw Error(r(329))}if((e&62914560)===e&&(s=Zr+300-Le(),10<s)){if(jn(i,e,we,!Rn),Nl(i,0,!0)!==0)break t;i.timeoutHandle=mm(qd.bind(null,i,n,ce,Ss,Xr,e,we,la,Ga,Rn,o,2,-0,0),s);break t}qd(i,n,ce,Ss,Xr,e,we,la,Ga,Rn,o,0,-0,0)}}break}while(!0);Ze(t)}function qd(t,e,n,i,s,o,h,g,x,R,j,z,O,w){if(t.timeoutHandle=-1,z=e.subtreeFlags,(z&8192||(z&16785408)===16785408)&&(el={stylesheets:null,count:0,unsuspend:a1},Vd(e),z=l1(),z!==null)){t.cancelPendingCommit=z(kd.bind(null,t,e,o,n,i,s,h,g,x,j,1,O,w)),jn(t,o,h,!R);return}kd(t,e,o,n,i,s,h,g,x)}function Tv(t){for(var e=t;;){var n=e.tag;if((n===0||n===11||n===15)&&e.flags&16384&&(n=e.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var i=0;i<n.length;i++){var s=n[i],o=s.getSnapshot;s=s.value;try{if(!pe(o(),s))return!1}catch{return!1}}if(n=e.child,e.subtreeFlags&16384&&n!==null)n.return=e,e=n;else{if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return!0;e=e.return}e.sibling.return=e.return,e=e.sibling}}return!0}function jn(t,e,n,i){e&=~Gr,e&=~la,t.suspendedLanes|=e,t.pingedLanes&=~e,i&&(t.warmLanes|=e),i=t.expirationTimes;for(var s=e;0<s;){var o=31-me(s),h=1<<o;i[o]=-1,s&=~h}n!==0&&$c(t,n,e)}function Ts(){return(gt&6)===0?(Ji(0),!1):!0}function Pr(){if(ot!==null){if(vt===0)var t=ot.return;else t=ot,tn=In=null,fr(t),Ba=null,Li=0,t=ot;for(;t!==null;)bd(t.alternate,t),t=t.return;ot=null}}function Ka(t,e){var n=t.timeoutHandle;n!==-1&&(t.timeoutHandle=-1,qv(n)),n=t.cancelPendingCommit,n!==null&&(t.cancelPendingCommit=null,n()),Pr(),At=t,ot=n=Fe(t.current,null),ft=e,vt=0,be=null,Rn=!1,Ya=fi(t,e),Yr=!1,Ga=we=Gr=la=On=jt=0,ce=ki=null,Xr=!1,(e&8)!==0&&(e|=e&32);var i=t.entangledLanes;if(i!==0)for(t=t.entanglements,i&=e;0<i;){var s=31-me(i),o=1<<s;e|=t[s],i&=~o}return on=e,Zl(),n}function Yd(t,e){ut=null,N.H=os,e===Ci||e===Il?(e=ih(),vt=3):e===eh?(e=ih(),vt=4):vt=e===ld?8:e!==null&&typeof e=="object"&&typeof e.then=="function"?6:1,be=e,ot===null&&(jt=1,ms(t,Ee(e,t.current)))}function Gd(){var t=N.H;return N.H=os,t===null?os:t}function Xd(){var t=N.A;return N.A=xv,t}function Jr(){jt=4,Rn||(ft&4194048)!==ft&&Oe.current!==null||(Ya=!0),(On&134217727)===0&&(la&134217727)===0||At===null||jn(At,ft,we,!1)}function $r(t,e,n){var i=gt;gt|=2;var s=Gd(),o=Xd();(At!==t||ft!==e)&&(Ss=null,Ka(t,e)),e=!1;var h=jt;t:do try{if(vt!==0&&ot!==null){var g=ot,x=be;switch(vt){case 8:Pr(),h=6;break t;case 3:case 2:case 9:case 6:Oe.current===null&&(e=!0);var R=vt;if(vt=0,be=null,Qa(t,g,x,R),n&&Ya){h=0;break t}break;default:R=vt,vt=0,be=null,Qa(t,g,x,R)}}Av(),h=jt;break}catch(j){Yd(t,j)}while(!0);return e&&t.shellSuspendCounter++,tn=In=null,gt=i,N.H=s,N.A=o,ot===null&&(At=null,ft=0,Zl()),h}function Av(){for(;ot!==null;)Zd(ot)}function Ev(t,e){var n=gt;gt|=2;var i=Gd(),s=Xd();At!==t||ft!==e?(Ss=null,xs=Le()+500,Ka(t,e)):Ya=fi(t,e);t:do try{if(vt!==0&&ot!==null){e=ot;var o=be;e:switch(vt){case 1:vt=0,be=null,Qa(t,e,o,1);break;case 2:case 9:if(nh(o)){vt=0,be=null,Kd(e);break}e=function(){vt!==2&&vt!==9||At!==t||(vt=7),Ze(t)},o.then(e,e);break t;case 3:vt=7;break t;case 4:vt=5;break t;case 7:nh(o)?(vt=0,be=null,Kd(e)):(vt=0,be=null,Qa(t,e,o,7));break;case 5:var h=null;switch(ot.tag){case 26:h=ot.memoizedState;case 5:case 27:var g=ot;if(!h||Dm(h)){vt=0,be=null;var x=g.sibling;if(x!==null)ot=x;else{var R=g.return;R!==null?(ot=R,As(R)):ot=null}break e}}vt=0,be=null,Qa(t,e,o,5);break;case 6:vt=0,be=null,Qa(t,e,o,6);break;case 8:Pr(),jt=6;break t;default:throw Error(r(462))}}Mv();break}catch(j){Yd(t,j)}while(!0);return tn=In=null,N.H=i,N.A=s,gt=n,ot!==null?0:(At=null,ft=0,Zl(),jt)}function Mv(){for(;ot!==null&&!kg();)Zd(ot)}function Zd(t){var e=gd(t.alternate,t,on);t.memoizedProps=t.pendingProps,e===null?As(t):ot=e}function Kd(t){var e=t,n=e.alternate;switch(e.tag){case 15:case 0:e=fd(n,e,e.pendingProps,e.type,void 0,ft);break;case 11:e=fd(n,e,e.pendingProps,e.type.render,e.ref,ft);break;case 5:fr(e);default:bd(n,e),e=ot=Qf(e,on),e=gd(n,e,on)}t.memoizedProps=t.pendingProps,e===null?As(t):ot=e}function Qa(t,e,n,i){tn=In=null,fr(e),Ba=null,Li=0;var s=e.return;try{if(mv(t,s,e,n,ft)){jt=1,ms(t,Ee(n,t.current)),ot=null;return}}catch(o){if(s!==null)throw ot=s,o;jt=1,ms(t,Ee(n,t.current)),ot=null;return}e.flags&32768?(pt||i===1?t=!0:Ya||(ft&536870912)!==0?t=!1:(Rn=t=!0,(i===2||i===9||i===3||i===6)&&(i=Oe.current,i!==null&&i.tag===13&&(i.flags|=16384))),Qd(e,t)):As(e)}function As(t){var e=t;do{if((e.flags&32768)!==0){Qd(e,Rn);return}t=e.return;var n=yv(e.alternate,e,on);if(n!==null){ot=n;return}if(e=e.sibling,e!==null){ot=e;return}ot=e=t}while(e!==null);jt===0&&(jt=5)}function Qd(t,e){do{var n=gv(t.alternate,t);if(n!==null){n.flags&=32767,ot=n;return}if(n=t.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!e&&(t=t.sibling,t!==null)){ot=t;return}ot=t=n}while(t!==null);jt=6,ot=null}function kd(t,e,n,i,s,o,h,g,x){t.cancelPendingCommit=null;do Es();while(Ft!==0);if((gt&6)!==0)throw Error(r(327));if(e!==null){if(e===t.current)throw Error(r(177));if(o=e.lanes|e.childLanes,o|=qu,a0(t,n,o,h,g,x),t===At&&(ot=At=null,ft=0),Xa=e,Cn=t,Za=n,Kr=o,Qr=s,Bd=i,(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,wv(wl,function(){return Wd(),null})):(t.callbackNode=null,t.callbackPriority=0),i=(e.flags&13878)!==0,(e.subtreeFlags&13878)!==0||i){i=N.T,N.T=null,s=B.p,B.p=2,h=gt,gt|=4;try{vv(t,e,n)}finally{gt=h,B.p=s,N.T=i}}Ft=1,Pd(),Jd(),$d()}}function Pd(){if(Ft===1){Ft=0;var t=Cn,e=Xa,n=(e.flags&13878)!==0;if((e.subtreeFlags&13878)!==0||n){n=N.T,N.T=null;var i=B.p;B.p=2;var s=gt;gt|=4;try{Cd(e,t);var o=ro,h=Uf(t.containerInfo),g=o.focusedElem,x=o.selectionRange;if(h!==g&&g&&g.ownerDocument&&_f(g.ownerDocument.documentElement,g)){if(x!==null&&_u(g)){var R=x.start,j=x.end;if(j===void 0&&(j=R),"selectionStart"in g)g.selectionStart=R,g.selectionEnd=Math.min(j,g.value.length);else{var z=g.ownerDocument||document,O=z&&z.defaultView||window;if(O.getSelection){var w=O.getSelection(),at=g.textContent.length,I=Math.min(x.start,at),St=x.end===void 0?I:Math.min(x.end,at);!w.extend&&I>St&&(h=St,St=I,I=h);var M=zf(g,I),E=zf(g,St);if(M&&E&&(w.rangeCount!==1||w.anchorNode!==M.node||w.anchorOffset!==M.offset||w.focusNode!==E.node||w.focusOffset!==E.offset)){var D=z.createRange();D.setStart(M.node,M.offset),w.removeAllRanges(),I>St?(w.addRange(D),w.extend(E.node,E.offset)):(D.setEnd(E.node,E.offset),w.addRange(D))}}}}for(z=[],w=g;w=w.parentNode;)w.nodeType===1&&z.push({element:w,left:w.scrollLeft,top:w.scrollTop});for(typeof g.focus=="function"&&g.focus(),g=0;g<z.length;g++){var V=z[g];V.element.scrollLeft=V.left,V.element.scrollTop=V.top}}Us=!!uo,ro=uo=null}finally{gt=s,B.p=i,N.T=n}}t.current=e,Ft=2}}function Jd(){if(Ft===2){Ft=0;var t=Cn,e=Xa,n=(e.flags&8772)!==0;if((e.subtreeFlags&8772)!==0||n){n=N.T,N.T=null;var i=B.p;B.p=2;var s=gt;gt|=4;try{Dd(t,e.alternate,e)}finally{gt=s,B.p=i,N.T=n}}Ft=3}}function $d(){if(Ft===4||Ft===3){Ft=0,Pg();var t=Cn,e=Xa,n=Za,i=Bd;(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?Ft=5:(Ft=0,Xa=Cn=null,Fd(t,t.pendingLanes));var s=t.pendingLanes;if(s===0&&(wn=null),mu(n),e=e.stateNode,de&&typeof de.onCommitFiberRoot=="function")try{de.onCommitFiberRoot(ci,e,void 0,(e.current.flags&128)===128)}catch{}if(i!==null){e=N.T,s=B.p,B.p=2,N.T=null;try{for(var o=t.onRecoverableError,h=0;h<i.length;h++){var g=i[h];o(g.value,{componentStack:g.stack})}}finally{N.T=e,B.p=s}}(Za&3)!==0&&Es(),Ze(t),s=t.pendingLanes,(n&4194090)!==0&&(s&42)!==0?t===kr?Pi++:(Pi=0,kr=t):Pi=0,Ji(0)}}function Fd(t,e){(t.pooledCacheLanes&=e)===0&&(e=t.pooledCache,e!=null&&(t.pooledCache=null,Oi(e)))}function Es(t){return Pd(),Jd(),$d(),Wd()}function Wd(){if(Ft!==5)return!1;var t=Cn,e=Kr;Kr=0;var n=mu(Za),i=N.T,s=B.p;try{B.p=32>n?32:n,N.T=null,n=Qr,Qr=null;var o=Cn,h=Za;if(Ft=0,Xa=Cn=null,Za=0,(gt&6)!==0)throw Error(r(331));var g=gt;if(gt|=4,_d(o.current),Nd(o,o.current,h,n),gt=g,Ji(0,!1),de&&typeof de.onPostCommitFiberRoot=="function")try{de.onPostCommitFiberRoot(ci,o)}catch{}return!0}finally{B.p=s,N.T=i,Fd(t,e)}}function Id(t,e,n){e=Ee(n,e),e=Mr(t.stateNode,e,2),t=xn(t,e,2),t!==null&&(hi(t,2),Ze(t))}function Tt(t,e,n){if(t.tag===3)Id(t,t,n);else for(;e!==null;){if(e.tag===3){Id(e,t,n);break}else if(e.tag===1){var i=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof i.componentDidCatch=="function"&&(wn===null||!wn.has(i))){t=Ee(n,t),n=ad(2),i=xn(e,n,2),i!==null&&(id(n,i,e,t),hi(i,2),Ze(i));break}}e=e.return}}function Fr(t,e,n){var i=t.pingCache;if(i===null){i=t.pingCache=new Sv;var s=new Set;i.set(e,s)}else s=i.get(e),s===void 0&&(s=new Set,i.set(e,s));s.has(n)||(Yr=!0,s.add(n),t=Dv.bind(null,t,e,n),e.then(t,t))}function Dv(t,e,n){var i=t.pingCache;i!==null&&i.delete(e),t.pingedLanes|=t.suspendedLanes&n,t.warmLanes&=~n,At===t&&(ft&n)===n&&(jt===4||jt===3&&(ft&62914560)===ft&&300>Le()-Zr?(gt&2)===0&&Ka(t,0):Gr|=n,Ga===ft&&(Ga=0)),Ze(t)}function tm(t,e){e===0&&(e=Jc()),t=Ra(t,e),t!==null&&(hi(t,e),Ze(t))}function Rv(t){var e=t.memoizedState,n=0;e!==null&&(n=e.retryLane),tm(t,n)}function Ov(t,e){var n=0;switch(t.tag){case 13:var i=t.stateNode,s=t.memoizedState;s!==null&&(n=s.retryLane);break;case 19:i=t.stateNode;break;case 22:i=t.stateNode._retryCache;break;default:throw Error(r(314))}i!==null&&i.delete(e),tm(t,n)}function wv(t,e){return cu(t,e)}var Ms=null,ka=null,Wr=!1,Ds=!1,Ir=!1,sa=0;function Ze(t){t!==ka&&t.next===null&&(ka===null?Ms=ka=t:ka=ka.next=t),Ds=!0,Wr||(Wr=!0,jv())}function Ji(t,e){if(!Ir&&Ds){Ir=!0;do for(var n=!1,i=Ms;i!==null;){if(t!==0){var s=i.pendingLanes;if(s===0)var o=0;else{var h=i.suspendedLanes,g=i.pingedLanes;o=(1<<31-me(42|t)+1)-1,o&=s&~(h&~g),o=o&201326741?o&201326741|1:o?o|2:0}o!==0&&(n=!0,im(i,o))}else o=ft,o=Nl(i,i===At?o:0,i.cancelPendingCommit!==null||i.timeoutHandle!==-1),(o&3)===0||fi(i,o)||(n=!0,im(i,o));i=i.next}while(n);Ir=!1}}function Cv(){em()}function em(){Ds=Wr=!1;var t=0;sa!==0&&(Lv()&&(t=sa),sa=0);for(var e=Le(),n=null,i=Ms;i!==null;){var s=i.next,o=nm(i,e);o===0?(i.next=null,n===null?Ms=s:n.next=s,s===null&&(ka=n)):(n=i,(t!==0||(o&3)!==0)&&(Ds=!0)),i=s}Ji(t)}function nm(t,e){for(var n=t.suspendedLanes,i=t.pingedLanes,s=t.expirationTimes,o=t.pendingLanes&-62914561;0<o;){var h=31-me(o),g=1<<h,x=s[h];x===-1?((g&n)===0||(g&i)!==0)&&(s[h]=n0(g,e)):x<=e&&(t.expiredLanes|=g),o&=~g}if(e=At,n=ft,n=Nl(t,t===e?n:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),i=t.callbackNode,n===0||t===e&&(vt===2||vt===9)||t.cancelPendingCommit!==null)return i!==null&&i!==null&&fu(i),t.callbackNode=null,t.callbackPriority=0;if((n&3)===0||fi(t,n)){if(e=n&-n,e===t.callbackPriority)return e;switch(i!==null&&fu(i),mu(n)){case 2:case 8:n=Qc;break;case 32:n=wl;break;case 268435456:n=kc;break;default:n=wl}return i=am.bind(null,t),n=cu(n,i),t.callbackPriority=e,t.callbackNode=n,e}return i!==null&&i!==null&&fu(i),t.callbackPriority=2,t.callbackNode=null,2}function am(t,e){if(Ft!==0&&Ft!==5)return t.callbackNode=null,t.callbackPriority=0,null;var n=t.callbackNode;if(Es()&&t.callbackNode!==n)return null;var i=ft;return i=Nl(t,t===At?i:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),i===0?null:(Ld(t,i,e),nm(t,Le()),t.callbackNode!=null&&t.callbackNode===n?am.bind(null,t):null)}function im(t,e){if(Es())return null;Ld(t,e,!0)}function jv(){Yv(function(){(gt&6)!==0?cu(Kc,Cv):em()})}function to(){return sa===0&&(sa=Pc()),sa}function lm(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:Bl(""+t)}function sm(t,e){var n=e.ownerDocument.createElement("input");return n.name=e.name,n.value=e.value,t.id&&n.setAttribute("form",t.id),e.parentNode.insertBefore(n,e),t=new FormData(t),n.parentNode.removeChild(n),t}function Nv(t,e,n,i,s){if(e==="submit"&&n&&n.stateNode===s){var o=lm((s[se]||null).action),h=i.submitter;h&&(e=(e=h[se]||null)?lm(e.formAction):h.getAttribute("formAction"),e!==null&&(o=e,h=null));var g=new Yl("action","action",null,i,s);t.push({event:g,listeners:[{instance:null,listener:function(){if(i.defaultPrevented){if(sa!==0){var x=h?sm(s,h):new FormData(s);xr(n,{pending:!0,data:x,method:s.method,action:o},null,x)}}else typeof o=="function"&&(g.preventDefault(),x=h?sm(s,h):new FormData(s),xr(n,{pending:!0,data:x,method:s.method,action:o},o,x))},currentTarget:s}]})}}for(var eo=0;eo<Lu.length;eo++){var no=Lu[eo],Vv=no.toLowerCase(),zv=no[0].toUpperCase()+no.slice(1);ze(Vv,"on"+zv)}ze(Lf,"onAnimationEnd"),ze(qf,"onAnimationIteration"),ze(Yf,"onAnimationStart"),ze("dblclick","onDoubleClick"),ze("focusin","onFocus"),ze("focusout","onBlur"),ze(F0,"onTransitionRun"),ze(W0,"onTransitionStart"),ze(I0,"onTransitionCancel"),ze(Gf,"onTransitionEnd"),ga("onMouseEnter",["mouseout","mouseover"]),ga("onMouseLeave",["mouseout","mouseover"]),ga("onPointerEnter",["pointerout","pointerover"]),ga("onPointerLeave",["pointerout","pointerover"]),Zn("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Zn("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Zn("onBeforeInput",["compositionend","keypress","textInput","paste"]),Zn("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Zn("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Zn("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var $i="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(" "),_v=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat($i));function um(t,e){e=(e&4)!==0;for(var n=0;n<t.length;n++){var i=t[n],s=i.event;i=i.listeners;t:{var o=void 0;if(e)for(var h=i.length-1;0<=h;h--){var g=i[h],x=g.instance,R=g.currentTarget;if(g=g.listener,x!==o&&s.isPropagationStopped())break t;o=g,s.currentTarget=R;try{o(s)}catch(j){ds(j)}s.currentTarget=null,o=x}else for(h=0;h<i.length;h++){if(g=i[h],x=g.instance,R=g.currentTarget,g=g.listener,x!==o&&s.isPropagationStopped())break t;o=g,s.currentTarget=R;try{o(s)}catch(j){ds(j)}s.currentTarget=null,o=x}}}}function ct(t,e){var n=e[pu];n===void 0&&(n=e[pu]=new Set);var i=t+"__bubble";n.has(i)||(rm(e,t,2,!1),n.add(i))}function ao(t,e,n){var i=0;e&&(i|=4),rm(n,t,i,e)}var Rs="_reactListening"+Math.random().toString(36).slice(2);function io(t){if(!t[Rs]){t[Rs]=!0,tf.forEach(function(n){n!=="selectionchange"&&(_v.has(n)||ao(n,!1,t),ao(n,!0,t))});var e=t.nodeType===9?t:t.ownerDocument;e===null||e[Rs]||(e[Rs]=!0,ao("selectionchange",!1,e))}}function rm(t,e,n,i){switch(Nm(e)){case 2:var s=r1;break;case 8:s=o1;break;default:s=bo}n=s.bind(null,e,n,t),s=void 0,!Du||e!=="touchstart"&&e!=="touchmove"&&e!=="wheel"||(s=!0),i?s!==void 0?t.addEventListener(e,n,{capture:!0,passive:s}):t.addEventListener(e,n,!0):s!==void 0?t.addEventListener(e,n,{passive:s}):t.addEventListener(e,n,!1)}function lo(t,e,n,i,s){var o=i;if((e&1)===0&&(e&2)===0&&i!==null)t:for(;;){if(i===null)return;var h=i.tag;if(h===3||h===4){var g=i.stateNode.containerInfo;if(g===s)break;if(h===4)for(h=i.return;h!==null;){var x=h.tag;if((x===3||x===4)&&h.stateNode.containerInfo===s)return;h=h.return}for(;g!==null;){if(h=ma(g),h===null)return;if(x=h.tag,x===5||x===6||x===26||x===27){i=o=h;continue t}g=g.parentNode}}i=i.return}pf(function(){var R=o,j=Eu(n),z=[];t:{var O=Xf.get(t);if(O!==void 0){var w=Yl,at=t;switch(t){case"keypress":if(Ll(n)===0)break t;case"keydown":case"keyup":w=w0;break;case"focusin":at="focus",w=Cu;break;case"focusout":at="blur",w=Cu;break;case"beforeblur":case"afterblur":w=Cu;break;case"click":if(n.button===2)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":w=vf;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":w=g0;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":w=N0;break;case Lf:case qf:case Yf:w=x0;break;case Gf:w=z0;break;case"scroll":case"scrollend":w=p0;break;case"wheel":w=U0;break;case"copy":case"cut":case"paste":w=T0;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":w=xf;break;case"toggle":case"beforetoggle":w=H0}var I=(e&4)!==0,St=!I&&(t==="scroll"||t==="scrollend"),M=I?O!==null?O+"Capture":null:O;I=[];for(var E=R,D;E!==null;){var V=E;if(D=V.stateNode,V=V.tag,V!==5&&V!==26&&V!==27||D===null||M===null||(V=pi(E,M),V!=null&&I.push(Fi(E,V,D))),St)break;E=E.return}0<I.length&&(O=new w(O,at,null,n,j),z.push({event:O,listeners:I}))}}if((e&7)===0){t:{if(O=t==="mouseover"||t==="pointerover",w=t==="mouseout"||t==="pointerout",O&&n!==Au&&(at=n.relatedTarget||n.fromElement)&&(ma(at)||at[da]))break t;if((w||O)&&(O=j.window===j?j:(O=j.ownerDocument)?O.defaultView||O.parentWindow:window,w?(at=n.relatedTarget||n.toElement,w=R,at=at?ma(at):null,at!==null&&(St=d(at),I=at.tag,at!==St||I!==5&&I!==27&&I!==6)&&(at=null)):(w=null,at=R),w!==at)){if(I=vf,V="onMouseLeave",M="onMouseEnter",E="mouse",(t==="pointerout"||t==="pointerover")&&(I=xf,V="onPointerLeave",M="onPointerEnter",E="pointer"),St=w==null?O:mi(w),D=at==null?O:mi(at),O=new I(V,E+"leave",w,n,j),O.target=St,O.relatedTarget=D,V=null,ma(j)===R&&(I=new I(M,E+"enter",at,n,j),I.target=D,I.relatedTarget=St,V=I),St=V,w&&at)e:{for(I=w,M=at,E=0,D=I;D;D=Pa(D))E++;for(D=0,V=M;V;V=Pa(V))D++;for(;0<E-D;)I=Pa(I),E--;for(;0<D-E;)M=Pa(M),D--;for(;E--;){if(I===M||M!==null&&I===M.alternate)break e;I=Pa(I),M=Pa(M)}I=null}else I=null;w!==null&&om(z,O,w,I,!1),at!==null&&St!==null&&om(z,St,at,I,!0)}}t:{if(O=R?mi(R):window,w=O.nodeName&&O.nodeName.toLowerCase(),w==="select"||w==="input"&&O.type==="file")var k=Of;else if(Df(O))if(wf)k=P0;else{k=Q0;var rt=K0}else w=O.nodeName,!w||w.toLowerCase()!=="input"||O.type!=="checkbox"&&O.type!=="radio"?R&&Tu(R.elementType)&&(k=Of):k=k0;if(k&&(k=k(t,R))){Rf(z,k,n,j);break t}rt&&rt(t,O,R),t==="focusout"&&R&&O.type==="number"&&R.memoizedProps.value!=null&&Su(O,"number",O.value)}switch(rt=R?mi(R):window,t){case"focusin":(Df(rt)||rt.contentEditable==="true")&&(Ea=rt,Uu=R,Ai=null);break;case"focusout":Ai=Uu=Ea=null;break;case"mousedown":Bu=!0;break;case"contextmenu":case"mouseup":case"dragend":Bu=!1,Bf(z,n,j);break;case"selectionchange":if($0)break;case"keydown":case"keyup":Bf(z,n,j)}var $;if(Nu)t:{switch(t){case"compositionstart":var et="onCompositionStart";break t;case"compositionend":et="onCompositionEnd";break t;case"compositionupdate":et="onCompositionUpdate";break t}et=void 0}else Aa?Ef(t,n)&&(et="onCompositionEnd"):t==="keydown"&&n.keyCode===229&&(et="onCompositionStart");et&&(Sf&&n.locale!=="ko"&&(Aa||et!=="onCompositionStart"?et==="onCompositionEnd"&&Aa&&($=yf()):(yn=j,Ru="value"in yn?yn.value:yn.textContent,Aa=!0)),rt=Os(R,et),0<rt.length&&(et=new bf(et,t,null,n,j),z.push({event:et,listeners:rt}),$?et.data=$:($=Mf(n),$!==null&&(et.data=$)))),($=q0?Y0(t,n):G0(t,n))&&(et=Os(R,"onBeforeInput"),0<et.length&&(rt=new bf("onBeforeInput","beforeinput",null,n,j),z.push({event:rt,listeners:et}),rt.data=$)),Nv(z,t,R,n,j)}um(z,e)})}function Fi(t,e,n){return{instance:t,listener:e,currentTarget:n}}function Os(t,e){for(var n=e+"Capture",i=[];t!==null;){var s=t,o=s.stateNode;if(s=s.tag,s!==5&&s!==26&&s!==27||o===null||(s=pi(t,n),s!=null&&i.unshift(Fi(t,s,o)),s=pi(t,e),s!=null&&i.push(Fi(t,s,o))),t.tag===3)return i;t=t.return}return[]}function Pa(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function om(t,e,n,i,s){for(var o=e._reactName,h=[];n!==null&&n!==i;){var g=n,x=g.alternate,R=g.stateNode;if(g=g.tag,x!==null&&x===i)break;g!==5&&g!==26&&g!==27||R===null||(x=R,s?(R=pi(n,o),R!=null&&h.unshift(Fi(n,R,x))):s||(R=pi(n,o),R!=null&&h.push(Fi(n,R,x)))),n=n.return}h.length!==0&&t.push({event:e,listeners:h})}var Uv=/\r\n?/g,Bv=/\u0000|\uFFFD/g;function cm(t){return(typeof t=="string"?t:""+t).replace(Uv,`
|
|
49
|
-
`).replace(Bv,"")}function fm(t,e){return e=cm(e),cm(t)===e}function ws(){}function xt(t,e,n,i,s,o){switch(n){case"children":typeof i=="string"?e==="body"||e==="textarea"&&i===""||xa(t,i):(typeof i=="number"||typeof i=="bigint")&&e!=="body"&&xa(t,""+i);break;case"className":zl(t,"class",i);break;case"tabIndex":zl(t,"tabindex",i);break;case"dir":case"role":case"viewBox":case"width":case"height":zl(t,n,i);break;case"style":df(t,i,o);break;case"data":if(e!=="object"){zl(t,"data",i);break}case"src":case"href":if(i===""&&(e!=="a"||n!=="href")){t.removeAttribute(n);break}if(i==null||typeof i=="function"||typeof i=="symbol"||typeof i=="boolean"){t.removeAttribute(n);break}i=Bl(""+i),t.setAttribute(n,i);break;case"action":case"formAction":if(typeof i=="function"){t.setAttribute(n,"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 o=="function"&&(n==="formAction"?(e!=="input"&&xt(t,e,"name",s.name,s,null),xt(t,e,"formEncType",s.formEncType,s,null),xt(t,e,"formMethod",s.formMethod,s,null),xt(t,e,"formTarget",s.formTarget,s,null)):(xt(t,e,"encType",s.encType,s,null),xt(t,e,"method",s.method,s,null),xt(t,e,"target",s.target,s,null)));if(i==null||typeof i=="symbol"||typeof i=="boolean"){t.removeAttribute(n);break}i=Bl(""+i),t.setAttribute(n,i);break;case"onClick":i!=null&&(t.onclick=ws);break;case"onScroll":i!=null&&ct("scroll",t);break;case"onScrollEnd":i!=null&&ct("scrollend",t);break;case"dangerouslySetInnerHTML":if(i!=null){if(typeof i!="object"||!("__html"in i))throw Error(r(61));if(n=i.__html,n!=null){if(s.children!=null)throw Error(r(60));t.innerHTML=n}}break;case"multiple":t.multiple=i&&typeof i!="function"&&typeof i!="symbol";break;case"muted":t.muted=i&&typeof i!="function"&&typeof i!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(i==null||typeof i=="function"||typeof i=="boolean"||typeof i=="symbol"){t.removeAttribute("xlink:href");break}n=Bl(""+i),t.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":i!=null&&typeof i!="function"&&typeof i!="symbol"?t.setAttribute(n,""+i):t.removeAttribute(n);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":i&&typeof i!="function"&&typeof i!="symbol"?t.setAttribute(n,""):t.removeAttribute(n);break;case"capture":case"download":i===!0?t.setAttribute(n,""):i!==!1&&i!=null&&typeof i!="function"&&typeof i!="symbol"?t.setAttribute(n,i):t.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":i!=null&&typeof i!="function"&&typeof i!="symbol"&&!isNaN(i)&&1<=i?t.setAttribute(n,i):t.removeAttribute(n);break;case"rowSpan":case"start":i==null||typeof i=="function"||typeof i=="symbol"||isNaN(i)?t.removeAttribute(n):t.setAttribute(n,i);break;case"popover":ct("beforetoggle",t),ct("toggle",t),Vl(t,"popover",i);break;case"xlinkActuate":Je(t,"http://www.w3.org/1999/xlink","xlink:actuate",i);break;case"xlinkArcrole":Je(t,"http://www.w3.org/1999/xlink","xlink:arcrole",i);break;case"xlinkRole":Je(t,"http://www.w3.org/1999/xlink","xlink:role",i);break;case"xlinkShow":Je(t,"http://www.w3.org/1999/xlink","xlink:show",i);break;case"xlinkTitle":Je(t,"http://www.w3.org/1999/xlink","xlink:title",i);break;case"xlinkType":Je(t,"http://www.w3.org/1999/xlink","xlink:type",i);break;case"xmlBase":Je(t,"http://www.w3.org/XML/1998/namespace","xml:base",i);break;case"xmlLang":Je(t,"http://www.w3.org/XML/1998/namespace","xml:lang",i);break;case"xmlSpace":Je(t,"http://www.w3.org/XML/1998/namespace","xml:space",i);break;case"is":Vl(t,"is",i);break;case"innerText":case"textContent":break;default:(!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N")&&(n=d0.get(n)||n,Vl(t,n,i))}}function so(t,e,n,i,s,o){switch(n){case"style":df(t,i,o);break;case"dangerouslySetInnerHTML":if(i!=null){if(typeof i!="object"||!("__html"in i))throw Error(r(61));if(n=i.__html,n!=null){if(s.children!=null)throw Error(r(60));t.innerHTML=n}}break;case"children":typeof i=="string"?xa(t,i):(typeof i=="number"||typeof i=="bigint")&&xa(t,""+i);break;case"onScroll":i!=null&&ct("scroll",t);break;case"onScrollEnd":i!=null&&ct("scrollend",t);break;case"onClick":i!=null&&(t.onclick=ws);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!ef.hasOwnProperty(n))t:{if(n[0]==="o"&&n[1]==="n"&&(s=n.endsWith("Capture"),e=n.slice(2,s?n.length-7:void 0),o=t[se]||null,o=o!=null?o[n]:null,typeof o=="function"&&t.removeEventListener(e,o,s),typeof i=="function")){typeof o!="function"&&o!==null&&(n in t?t[n]=null:t.hasAttribute(n)&&t.removeAttribute(n)),t.addEventListener(e,i,s);break t}n in t?t[n]=i:i===!0?t.setAttribute(n,""):Vl(t,n,i)}}}function Wt(t,e,n){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":ct("error",t),ct("load",t);var i=!1,s=!1,o;for(o in n)if(n.hasOwnProperty(o)){var h=n[o];if(h!=null)switch(o){case"src":i=!0;break;case"srcSet":s=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(r(137,e));default:xt(t,e,o,h,n,null)}}s&&xt(t,e,"srcSet",n.srcSet,n,null),i&&xt(t,e,"src",n.src,n,null);return;case"input":ct("invalid",t);var g=o=h=s=null,x=null,R=null;for(i in n)if(n.hasOwnProperty(i)){var j=n[i];if(j!=null)switch(i){case"name":s=j;break;case"type":h=j;break;case"checked":x=j;break;case"defaultChecked":R=j;break;case"value":o=j;break;case"defaultValue":g=j;break;case"children":case"dangerouslySetInnerHTML":if(j!=null)throw Error(r(137,e));break;default:xt(t,e,i,j,n,null)}}of(t,o,g,x,R,h,s,!1),_l(t);return;case"select":ct("invalid",t),i=h=o=null;for(s in n)if(n.hasOwnProperty(s)&&(g=n[s],g!=null))switch(s){case"value":o=g;break;case"defaultValue":h=g;break;case"multiple":i=g;default:xt(t,e,s,g,n,null)}e=o,n=h,t.multiple=!!i,e!=null?ba(t,!!i,e,!1):n!=null&&ba(t,!!i,n,!0);return;case"textarea":ct("invalid",t),o=s=i=null;for(h in n)if(n.hasOwnProperty(h)&&(g=n[h],g!=null))switch(h){case"value":i=g;break;case"defaultValue":s=g;break;case"children":o=g;break;case"dangerouslySetInnerHTML":if(g!=null)throw Error(r(91));break;default:xt(t,e,h,g,n,null)}ff(t,i,s,o),_l(t);return;case"option":for(x in n)if(n.hasOwnProperty(x)&&(i=n[x],i!=null))switch(x){case"selected":t.selected=i&&typeof i!="function"&&typeof i!="symbol";break;default:xt(t,e,x,i,n,null)}return;case"dialog":ct("beforetoggle",t),ct("toggle",t),ct("cancel",t),ct("close",t);break;case"iframe":case"object":ct("load",t);break;case"video":case"audio":for(i=0;i<$i.length;i++)ct($i[i],t);break;case"image":ct("error",t),ct("load",t);break;case"details":ct("toggle",t);break;case"embed":case"source":case"link":ct("error",t),ct("load",t);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(R in n)if(n.hasOwnProperty(R)&&(i=n[R],i!=null))switch(R){case"children":case"dangerouslySetInnerHTML":throw Error(r(137,e));default:xt(t,e,R,i,n,null)}return;default:if(Tu(e)){for(j in n)n.hasOwnProperty(j)&&(i=n[j],i!==void 0&&so(t,e,j,i,n,void 0));return}}for(g in n)n.hasOwnProperty(g)&&(i=n[g],i!=null&&xt(t,e,g,i,n,null))}function Hv(t,e,n,i){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var s=null,o=null,h=null,g=null,x=null,R=null,j=null;for(w in n){var z=n[w];if(n.hasOwnProperty(w)&&z!=null)switch(w){case"checked":break;case"value":break;case"defaultValue":x=z;default:i.hasOwnProperty(w)||xt(t,e,w,null,i,z)}}for(var O in i){var w=i[O];if(z=n[O],i.hasOwnProperty(O)&&(w!=null||z!=null))switch(O){case"type":o=w;break;case"name":s=w;break;case"checked":R=w;break;case"defaultChecked":j=w;break;case"value":h=w;break;case"defaultValue":g=w;break;case"children":case"dangerouslySetInnerHTML":if(w!=null)throw Error(r(137,e));break;default:w!==z&&xt(t,e,O,w,i,z)}}xu(t,h,g,x,R,j,o,s);return;case"select":w=h=g=O=null;for(o in n)if(x=n[o],n.hasOwnProperty(o)&&x!=null)switch(o){case"value":break;case"multiple":w=x;default:i.hasOwnProperty(o)||xt(t,e,o,null,i,x)}for(s in i)if(o=i[s],x=n[s],i.hasOwnProperty(s)&&(o!=null||x!=null))switch(s){case"value":O=o;break;case"defaultValue":g=o;break;case"multiple":h=o;default:o!==x&&xt(t,e,s,o,i,x)}e=g,n=h,i=w,O!=null?ba(t,!!n,O,!1):!!i!=!!n&&(e!=null?ba(t,!!n,e,!0):ba(t,!!n,n?[]:"",!1));return;case"textarea":w=O=null;for(g in n)if(s=n[g],n.hasOwnProperty(g)&&s!=null&&!i.hasOwnProperty(g))switch(g){case"value":break;case"children":break;default:xt(t,e,g,null,i,s)}for(h in i)if(s=i[h],o=n[h],i.hasOwnProperty(h)&&(s!=null||o!=null))switch(h){case"value":O=s;break;case"defaultValue":w=s;break;case"children":break;case"dangerouslySetInnerHTML":if(s!=null)throw Error(r(91));break;default:s!==o&&xt(t,e,h,s,i,o)}cf(t,O,w);return;case"option":for(var at in n)if(O=n[at],n.hasOwnProperty(at)&&O!=null&&!i.hasOwnProperty(at))switch(at){case"selected":t.selected=!1;break;default:xt(t,e,at,null,i,O)}for(x in i)if(O=i[x],w=n[x],i.hasOwnProperty(x)&&O!==w&&(O!=null||w!=null))switch(x){case"selected":t.selected=O&&typeof O!="function"&&typeof O!="symbol";break;default:xt(t,e,x,O,i,w)}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 I in n)O=n[I],n.hasOwnProperty(I)&&O!=null&&!i.hasOwnProperty(I)&&xt(t,e,I,null,i,O);for(R in i)if(O=i[R],w=n[R],i.hasOwnProperty(R)&&O!==w&&(O!=null||w!=null))switch(R){case"children":case"dangerouslySetInnerHTML":if(O!=null)throw Error(r(137,e));break;default:xt(t,e,R,O,i,w)}return;default:if(Tu(e)){for(var St in n)O=n[St],n.hasOwnProperty(St)&&O!==void 0&&!i.hasOwnProperty(St)&&so(t,e,St,void 0,i,O);for(j in i)O=i[j],w=n[j],!i.hasOwnProperty(j)||O===w||O===void 0&&w===void 0||so(t,e,j,O,i,w);return}}for(var M in n)O=n[M],n.hasOwnProperty(M)&&O!=null&&!i.hasOwnProperty(M)&&xt(t,e,M,null,i,O);for(z in i)O=i[z],w=n[z],!i.hasOwnProperty(z)||O===w||O==null&&w==null||xt(t,e,z,O,i,w)}var uo=null,ro=null;function Cs(t){return t.nodeType===9?t:t.ownerDocument}function hm(t){switch(t){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function dm(t,e){if(t===0)switch(e){case"svg":return 1;case"math":return 2;default:return 0}return t===1&&e==="foreignObject"?0:t}function oo(t,e){return t==="textarea"||t==="noscript"||typeof e.children=="string"||typeof e.children=="number"||typeof e.children=="bigint"||typeof e.dangerouslySetInnerHTML=="object"&&e.dangerouslySetInnerHTML!==null&&e.dangerouslySetInnerHTML.__html!=null}var co=null;function Lv(){var t=window.event;return t&&t.type==="popstate"?t===co?!1:(co=t,!0):(co=null,!1)}var mm=typeof setTimeout=="function"?setTimeout:void 0,qv=typeof clearTimeout=="function"?clearTimeout:void 0,pm=typeof Promise=="function"?Promise:void 0,Yv=typeof queueMicrotask=="function"?queueMicrotask:typeof pm<"u"?function(t){return pm.resolve(null).then(t).catch(Gv)}:mm;function Gv(t){setTimeout(function(){throw t})}function Nn(t){return t==="head"}function ym(t,e){var n=e,i=0,s=0;do{var o=n.nextSibling;if(t.removeChild(n),o&&o.nodeType===8)if(n=o.data,n==="/$"){if(0<i&&8>i){n=i;var h=t.ownerDocument;if(n&1&&Wi(h.documentElement),n&2&&Wi(h.body),n&4)for(n=h.head,Wi(n),h=n.firstChild;h;){var g=h.nextSibling,x=h.nodeName;h[di]||x==="SCRIPT"||x==="STYLE"||x==="LINK"&&h.rel.toLowerCase()==="stylesheet"||n.removeChild(h),h=g}}if(s===0){t.removeChild(o),sl(e);return}s--}else n==="$"||n==="$?"||n==="$!"?s++:i=n.charCodeAt(0)-48;else i=0;n=o}while(n);sl(e)}function fo(t){var e=t.firstChild;for(e&&e.nodeType===10&&(e=e.nextSibling);e;){var n=e;switch(e=e.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":fo(n),yu(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(n.rel.toLowerCase()==="stylesheet")continue}t.removeChild(n)}}function Xv(t,e,n,i){for(;t.nodeType===1;){var s=n;if(t.nodeName.toLowerCase()!==e.toLowerCase()){if(!i&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(i){if(!t[di])switch(e){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(o=t.getAttribute("rel"),o==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(o!==s.rel||t.getAttribute("href")!==(s.href==null||s.href===""?null:s.href)||t.getAttribute("crossorigin")!==(s.crossOrigin==null?null:s.crossOrigin)||t.getAttribute("title")!==(s.title==null?null:s.title))break;return t;case"style":if(t.hasAttribute("data-precedence"))break;return t;case"script":if(o=t.getAttribute("src"),(o!==(s.src==null?null:s.src)||t.getAttribute("type")!==(s.type==null?null:s.type)||t.getAttribute("crossorigin")!==(s.crossOrigin==null?null:s.crossOrigin))&&o&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(e==="input"&&t.type==="hidden"){var o=s.name==null?null:""+s.name;if(s.type==="hidden"&&t.getAttribute("name")===o)return t}else return t;if(t=Ue(t.nextSibling),t===null)break}return null}function Zv(t,e,n){if(e==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!n||(t=Ue(t.nextSibling),t===null))return null;return t}function ho(t){return t.data==="$!"||t.data==="$?"&&t.ownerDocument.readyState==="complete"}function Kv(t,e){var n=t.ownerDocument;if(t.data!=="$?"||n.readyState==="complete")e();else{var i=function(){e(),n.removeEventListener("DOMContentLoaded",i)};n.addEventListener("DOMContentLoaded",i),t._reactRetry=i}}function Ue(t){for(;t!=null;t=t.nextSibling){var e=t.nodeType;if(e===1||e===3)break;if(e===8){if(e=t.data,e==="$"||e==="$!"||e==="$?"||e==="F!"||e==="F")break;if(e==="/$")return null}}return t}var mo=null;function gm(t){t=t.previousSibling;for(var e=0;t;){if(t.nodeType===8){var n=t.data;if(n==="$"||n==="$!"||n==="$?"){if(e===0)return t;e--}else n==="/$"&&e++}t=t.previousSibling}return null}function vm(t,e,n){switch(e=Cs(n),t){case"html":if(t=e.documentElement,!t)throw Error(r(452));return t;case"head":if(t=e.head,!t)throw Error(r(453));return t;case"body":if(t=e.body,!t)throw Error(r(454));return t;default:throw Error(r(451))}}function Wi(t){for(var e=t.attributes;e.length;)t.removeAttributeNode(e[0]);yu(t)}var Ce=new Map,bm=new Set;function js(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}var cn=B.d;B.d={f:Qv,r:kv,D:Pv,C:Jv,L:$v,m:Fv,X:Iv,S:Wv,M:t1};function Qv(){var t=cn.f(),e=Ts();return t||e}function kv(t){var e=pa(t);e!==null&&e.tag===5&&e.type==="form"?Lh(e):cn.r(t)}var Ja=typeof document>"u"?null:document;function xm(t,e,n){var i=Ja;if(i&&typeof e=="string"&&e){var s=Ae(e);s='link[rel="'+t+'"][href="'+s+'"]',typeof n=="string"&&(s+='[crossorigin="'+n+'"]'),bm.has(s)||(bm.add(s),t={rel:t,crossOrigin:n,href:e},i.querySelector(s)===null&&(e=i.createElement("link"),Wt(e,"link",t),Zt(e),i.head.appendChild(e)))}}function Pv(t){cn.D(t),xm("dns-prefetch",t,null)}function Jv(t,e){cn.C(t,e),xm("preconnect",t,e)}function $v(t,e,n){cn.L(t,e,n);var i=Ja;if(i&&t&&e){var s='link[rel="preload"][as="'+Ae(e)+'"]';e==="image"&&n&&n.imageSrcSet?(s+='[imagesrcset="'+Ae(n.imageSrcSet)+'"]',typeof n.imageSizes=="string"&&(s+='[imagesizes="'+Ae(n.imageSizes)+'"]')):s+='[href="'+Ae(t)+'"]';var o=s;switch(e){case"style":o=$a(t);break;case"script":o=Fa(t)}Ce.has(o)||(t=v({rel:"preload",href:e==="image"&&n&&n.imageSrcSet?void 0:t,as:e},n),Ce.set(o,t),i.querySelector(s)!==null||e==="style"&&i.querySelector(Ii(o))||e==="script"&&i.querySelector(tl(o))||(e=i.createElement("link"),Wt(e,"link",t),Zt(e),i.head.appendChild(e)))}}function Fv(t,e){cn.m(t,e);var n=Ja;if(n&&t){var i=e&&typeof e.as=="string"?e.as:"script",s='link[rel="modulepreload"][as="'+Ae(i)+'"][href="'+Ae(t)+'"]',o=s;switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":o=Fa(t)}if(!Ce.has(o)&&(t=v({rel:"modulepreload",href:t},e),Ce.set(o,t),n.querySelector(s)===null)){switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(tl(o)))return}i=n.createElement("link"),Wt(i,"link",t),Zt(i),n.head.appendChild(i)}}}function Wv(t,e,n){cn.S(t,e,n);var i=Ja;if(i&&t){var s=ya(i).hoistableStyles,o=$a(t);e=e||"default";var h=s.get(o);if(!h){var g={loading:0,preload:null};if(h=i.querySelector(Ii(o)))g.loading=5;else{t=v({rel:"stylesheet",href:t,"data-precedence":e},n),(n=Ce.get(o))&&po(t,n);var x=h=i.createElement("link");Zt(x),Wt(x,"link",t),x._p=new Promise(function(R,j){x.onload=R,x.onerror=j}),x.addEventListener("load",function(){g.loading|=1}),x.addEventListener("error",function(){g.loading|=2}),g.loading|=4,Ns(h,e,i)}h={type:"stylesheet",instance:h,count:1,state:g},s.set(o,h)}}}function Iv(t,e){cn.X(t,e);var n=Ja;if(n&&t){var i=ya(n).hoistableScripts,s=Fa(t),o=i.get(s);o||(o=n.querySelector(tl(s)),o||(t=v({src:t,async:!0},e),(e=Ce.get(s))&&yo(t,e),o=n.createElement("script"),Zt(o),Wt(o,"link",t),n.head.appendChild(o)),o={type:"script",instance:o,count:1,state:null},i.set(s,o))}}function t1(t,e){cn.M(t,e);var n=Ja;if(n&&t){var i=ya(n).hoistableScripts,s=Fa(t),o=i.get(s);o||(o=n.querySelector(tl(s)),o||(t=v({src:t,async:!0,type:"module"},e),(e=Ce.get(s))&&yo(t,e),o=n.createElement("script"),Zt(o),Wt(o,"link",t),n.head.appendChild(o)),o={type:"script",instance:o,count:1,state:null},i.set(s,o))}}function Sm(t,e,n,i){var s=(s=lt.current)?js(s):null;if(!s)throw Error(r(446));switch(t){case"meta":case"title":return null;case"style":return typeof n.precedence=="string"&&typeof n.href=="string"?(e=$a(n.href),n=ya(s).hoistableStyles,i=n.get(e),i||(i={type:"style",instance:null,count:0,state:null},n.set(e,i)),i):{type:"void",instance:null,count:0,state:null};case"link":if(n.rel==="stylesheet"&&typeof n.href=="string"&&typeof n.precedence=="string"){t=$a(n.href);var o=ya(s).hoistableStyles,h=o.get(t);if(h||(s=s.ownerDocument||s,h={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},o.set(t,h),(o=s.querySelector(Ii(t)))&&!o._p&&(h.instance=o,h.state.loading=5),Ce.has(t)||(n={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},Ce.set(t,n),o||e1(s,t,n,h.state))),e&&i===null)throw Error(r(528,""));return h}if(e&&i!==null)throw Error(r(529,""));return null;case"script":return e=n.async,n=n.src,typeof n=="string"&&e&&typeof e!="function"&&typeof e!="symbol"?(e=Fa(n),n=ya(s).hoistableScripts,i=n.get(e),i||(i={type:"script",instance:null,count:0,state:null},n.set(e,i)),i):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,t))}}function $a(t){return'href="'+Ae(t)+'"'}function Ii(t){return'link[rel="stylesheet"]['+t+"]"}function Tm(t){return v({},t,{"data-precedence":t.precedence,precedence:null})}function e1(t,e,n,i){t.querySelector('link[rel="preload"][as="style"]['+e+"]")?i.loading=1:(e=t.createElement("link"),i.preload=e,e.addEventListener("load",function(){return i.loading|=1}),e.addEventListener("error",function(){return i.loading|=2}),Wt(e,"link",n),Zt(e),t.head.appendChild(e))}function Fa(t){return'[src="'+Ae(t)+'"]'}function tl(t){return"script[async]"+t}function Am(t,e,n){if(e.count++,e.instance===null)switch(e.type){case"style":var i=t.querySelector('style[data-href~="'+Ae(n.href)+'"]');if(i)return e.instance=i,Zt(i),i;var s=v({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return i=(t.ownerDocument||t).createElement("style"),Zt(i),Wt(i,"style",s),Ns(i,n.precedence,t),e.instance=i;case"stylesheet":s=$a(n.href);var o=t.querySelector(Ii(s));if(o)return e.state.loading|=4,e.instance=o,Zt(o),o;i=Tm(n),(s=Ce.get(s))&&po(i,s),o=(t.ownerDocument||t).createElement("link"),Zt(o);var h=o;return h._p=new Promise(function(g,x){h.onload=g,h.onerror=x}),Wt(o,"link",i),e.state.loading|=4,Ns(o,n.precedence,t),e.instance=o;case"script":return o=Fa(n.src),(s=t.querySelector(tl(o)))?(e.instance=s,Zt(s),s):(i=n,(s=Ce.get(o))&&(i=v({},n),yo(i,s)),t=t.ownerDocument||t,s=t.createElement("script"),Zt(s),Wt(s,"link",i),t.head.appendChild(s),e.instance=s);case"void":return null;default:throw Error(r(443,e.type))}else e.type==="stylesheet"&&(e.state.loading&4)===0&&(i=e.instance,e.state.loading|=4,Ns(i,n.precedence,t));return e.instance}function Ns(t,e,n){for(var i=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),s=i.length?i[i.length-1]:null,o=s,h=0;h<i.length;h++){var g=i[h];if(g.dataset.precedence===e)o=g;else if(o!==s)break}o?o.parentNode.insertBefore(t,o.nextSibling):(e=n.nodeType===9?n.head:n,e.insertBefore(t,e.firstChild))}function po(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.title==null&&(t.title=e.title)}function yo(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.integrity==null&&(t.integrity=e.integrity)}var Vs=null;function Em(t,e,n){if(Vs===null){var i=new Map,s=Vs=new Map;s.set(n,i)}else s=Vs,i=s.get(n),i||(i=new Map,s.set(n,i));if(i.has(t))return i;for(i.set(t,null),n=n.getElementsByTagName(t),s=0;s<n.length;s++){var o=n[s];if(!(o[di]||o[te]||t==="link"&&o.getAttribute("rel")==="stylesheet")&&o.namespaceURI!=="http://www.w3.org/2000/svg"){var h=o.getAttribute(e)||"";h=t+h;var g=i.get(h);g?g.push(o):i.set(h,[o])}}return i}function Mm(t,e,n){t=t.ownerDocument||t,t.head.insertBefore(n,e==="title"?t.querySelector("head > title"):null)}function n1(t,e,n){if(n===1||e.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof e.precedence!="string"||typeof e.href!="string"||e.href==="")break;return!0;case"link":if(typeof e.rel!="string"||typeof e.href!="string"||e.href===""||e.onLoad||e.onError)break;switch(e.rel){case"stylesheet":return t=e.disabled,typeof e.precedence=="string"&&t==null;default:return!0}case"script":if(e.async&&typeof e.async!="function"&&typeof e.async!="symbol"&&!e.onLoad&&!e.onError&&e.src&&typeof e.src=="string")return!0}return!1}function Dm(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}var el=null;function a1(){}function i1(t,e,n){if(el===null)throw Error(r(475));var i=el;if(e.type==="stylesheet"&&(typeof n.media!="string"||matchMedia(n.media).matches!==!1)&&(e.state.loading&4)===0){if(e.instance===null){var s=$a(n.href),o=t.querySelector(Ii(s));if(o){t=o._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(i.count++,i=zs.bind(i),t.then(i,i)),e.state.loading|=4,e.instance=o,Zt(o);return}o=t.ownerDocument||t,n=Tm(n),(s=Ce.get(s))&&po(n,s),o=o.createElement("link"),Zt(o);var h=o;h._p=new Promise(function(g,x){h.onload=g,h.onerror=x}),Wt(o,"link",n),e.instance=o}i.stylesheets===null&&(i.stylesheets=new Map),i.stylesheets.set(e,t),(t=e.state.preload)&&(e.state.loading&3)===0&&(i.count++,e=zs.bind(i),t.addEventListener("load",e),t.addEventListener("error",e))}}function l1(){if(el===null)throw Error(r(475));var t=el;return t.stylesheets&&t.count===0&&go(t,t.stylesheets),0<t.count?function(e){var n=setTimeout(function(){if(t.stylesheets&&go(t,t.stylesheets),t.unsuspend){var i=t.unsuspend;t.unsuspend=null,i()}},6e4);return t.unsuspend=e,function(){t.unsuspend=null,clearTimeout(n)}}:null}function zs(){if(this.count--,this.count===0){if(this.stylesheets)go(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var _s=null;function go(t,e){t.stylesheets=null,t.unsuspend!==null&&(t.count++,_s=new Map,e.forEach(s1,t),_s=null,zs.call(t))}function s1(t,e){if(!(e.state.loading&4)){var n=_s.get(t);if(n)var i=n.get(null);else{n=new Map,_s.set(t,n);for(var s=t.querySelectorAll("link[data-precedence],style[data-precedence]"),o=0;o<s.length;o++){var h=s[o];(h.nodeName==="LINK"||h.getAttribute("media")!=="not all")&&(n.set(h.dataset.precedence,h),i=h)}i&&n.set(null,i)}s=e.instance,h=s.getAttribute("data-precedence"),o=n.get(h)||i,o===i&&n.set(null,s),n.set(h,s),this.count++,i=zs.bind(this),s.addEventListener("load",i),s.addEventListener("error",i),o?o.parentNode.insertBefore(s,o.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(s,t.firstChild)),e.state.loading|=4}}var nl={$$typeof:L,Provider:null,Consumer:null,_currentValue:P,_currentValue2:P,_threadCount:0};function u1(t,e,n,i,s,o,h,g){this.tag=1,this.containerInfo=t,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=hu(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=hu(0),this.hiddenUpdates=hu(null),this.identifierPrefix=i,this.onUncaughtError=s,this.onCaughtError=o,this.onRecoverableError=h,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=g,this.incompleteTransitions=new Map}function Rm(t,e,n,i,s,o,h,g,x,R,j,z){return t=new u1(t,e,n,h,g,x,R,z),e=1,o===!0&&(e|=24),o=ye(3,null,null,e),t.current=o,o.stateNode=t,e=Fu(),e.refCount++,t.pooledCache=e,e.refCount++,o.memoizedState={element:i,isDehydrated:n,cache:e},er(o),t}function Om(t){return t?(t=Oa,t):Oa}function wm(t,e,n,i,s,o){s=Om(s),i.context===null?i.context=s:i.pendingContext=s,i=bn(e),i.payload={element:n},o=o===void 0?null:o,o!==null&&(i.callback=o),n=xn(t,i,e),n!==null&&(Se(n,t,e),Ni(n,t,e))}function Cm(t,e){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var n=t.retryLane;t.retryLane=n!==0&&n<e?n:e}}function vo(t,e){Cm(t,e),(t=t.alternate)&&Cm(t,e)}function jm(t){if(t.tag===13){var e=Ra(t,67108864);e!==null&&Se(e,t,67108864),vo(t,67108864)}}var Us=!0;function r1(t,e,n,i){var s=N.T;N.T=null;var o=B.p;try{B.p=2,bo(t,e,n,i)}finally{B.p=o,N.T=s}}function o1(t,e,n,i){var s=N.T;N.T=null;var o=B.p;try{B.p=8,bo(t,e,n,i)}finally{B.p=o,N.T=s}}function bo(t,e,n,i){if(Us){var s=xo(i);if(s===null)lo(t,e,i,Bs,n),Vm(t,i);else if(f1(s,t,e,n,i))i.stopPropagation();else if(Vm(t,i),e&4&&-1<c1.indexOf(t)){for(;s!==null;){var o=pa(s);if(o!==null)switch(o.tag){case 3:if(o=o.stateNode,o.current.memoizedState.isDehydrated){var h=Xn(o.pendingLanes);if(h!==0){var g=o;for(g.pendingLanes|=2,g.entangledLanes|=2;h;){var x=1<<31-me(h);g.entanglements[1]|=x,h&=~x}Ze(o),(gt&6)===0&&(xs=Le()+500,Ji(0))}}break;case 13:g=Ra(o,2),g!==null&&Se(g,o,2),Ts(),vo(o,2)}if(o=xo(i),o===null&&lo(t,e,i,Bs,n),o===s)break;s=o}s!==null&&i.stopPropagation()}else lo(t,e,i,null,n)}}function xo(t){return t=Eu(t),So(t)}var Bs=null;function So(t){if(Bs=null,t=ma(t),t!==null){var e=d(t);if(e===null)t=null;else{var n=e.tag;if(n===13){if(t=f(e),t!==null)return t;t=null}else if(n===3){if(e.stateNode.current.memoizedState.isDehydrated)return e.tag===3?e.stateNode.containerInfo:null;t=null}else e!==t&&(t=null)}}return Bs=t,null}function Nm(t){switch(t){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(Jg()){case Kc:return 2;case Qc:return 8;case wl:case $g:return 32;case kc:return 268435456;default:return 32}default:return 32}}var To=!1,Vn=null,zn=null,_n=null,al=new Map,il=new Map,Un=[],c1="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 Vm(t,e){switch(t){case"focusin":case"focusout":Vn=null;break;case"dragenter":case"dragleave":zn=null;break;case"mouseover":case"mouseout":_n=null;break;case"pointerover":case"pointerout":al.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":il.delete(e.pointerId)}}function ll(t,e,n,i,s,o){return t===null||t.nativeEvent!==o?(t={blockedOn:e,domEventName:n,eventSystemFlags:i,nativeEvent:o,targetContainers:[s]},e!==null&&(e=pa(e),e!==null&&jm(e)),t):(t.eventSystemFlags|=i,e=t.targetContainers,s!==null&&e.indexOf(s)===-1&&e.push(s),t)}function f1(t,e,n,i,s){switch(e){case"focusin":return Vn=ll(Vn,t,e,n,i,s),!0;case"dragenter":return zn=ll(zn,t,e,n,i,s),!0;case"mouseover":return _n=ll(_n,t,e,n,i,s),!0;case"pointerover":var o=s.pointerId;return al.set(o,ll(al.get(o)||null,t,e,n,i,s)),!0;case"gotpointercapture":return o=s.pointerId,il.set(o,ll(il.get(o)||null,t,e,n,i,s)),!0}return!1}function zm(t){var e=ma(t.target);if(e!==null){var n=d(e);if(n!==null){if(e=n.tag,e===13){if(e=f(n),e!==null){t.blockedOn=e,i0(t.priority,function(){if(n.tag===13){var i=xe();i=du(i);var s=Ra(n,i);s!==null&&Se(s,n,i),vo(n,i)}});return}}else if(e===3&&n.stateNode.current.memoizedState.isDehydrated){t.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}t.blockedOn=null}function Hs(t){if(t.blockedOn!==null)return!1;for(var e=t.targetContainers;0<e.length;){var n=xo(t.nativeEvent);if(n===null){n=t.nativeEvent;var i=new n.constructor(n.type,n);Au=i,n.target.dispatchEvent(i),Au=null}else return e=pa(n),e!==null&&jm(e),t.blockedOn=n,!1;e.shift()}return!0}function _m(t,e,n){Hs(t)&&n.delete(e)}function h1(){To=!1,Vn!==null&&Hs(Vn)&&(Vn=null),zn!==null&&Hs(zn)&&(zn=null),_n!==null&&Hs(_n)&&(_n=null),al.forEach(_m),il.forEach(_m)}function Ls(t,e){t.blockedOn===e&&(t.blockedOn=null,To||(To=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,h1)))}var qs=null;function Um(t){qs!==t&&(qs=t,a.unstable_scheduleCallback(a.unstable_NormalPriority,function(){qs===t&&(qs=null);for(var e=0;e<t.length;e+=3){var n=t[e],i=t[e+1],s=t[e+2];if(typeof i!="function"){if(So(i||n)===null)continue;break}var o=pa(n);o!==null&&(t.splice(e,3),e-=3,xr(o,{pending:!0,data:s,method:n.method,action:i},i,s))}}))}function sl(t){function e(x){return Ls(x,t)}Vn!==null&&Ls(Vn,t),zn!==null&&Ls(zn,t),_n!==null&&Ls(_n,t),al.forEach(e),il.forEach(e);for(var n=0;n<Un.length;n++){var i=Un[n];i.blockedOn===t&&(i.blockedOn=null)}for(;0<Un.length&&(n=Un[0],n.blockedOn===null);)zm(n),n.blockedOn===null&&Un.shift();if(n=(t.ownerDocument||t).$$reactFormReplay,n!=null)for(i=0;i<n.length;i+=3){var s=n[i],o=n[i+1],h=s[se]||null;if(typeof o=="function")h||Um(n);else if(h){var g=null;if(o&&o.hasAttribute("formAction")){if(s=o,h=o[se]||null)g=h.formAction;else if(So(s)!==null)continue}else g=h.action;typeof g=="function"?n[i+1]=g:(n.splice(i,3),i-=3),Um(n)}}}function Ao(t){this._internalRoot=t}Ys.prototype.render=Ao.prototype.render=function(t){var e=this._internalRoot;if(e===null)throw Error(r(409));var n=e.current,i=xe();wm(n,i,t,e,null,null)},Ys.prototype.unmount=Ao.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var e=t.containerInfo;wm(t.current,2,null,t,null,null),Ts(),e[da]=null}};function Ys(t){this._internalRoot=t}Ys.prototype.unstable_scheduleHydration=function(t){if(t){var e=Wc();t={blockedOn:null,target:t,priority:e};for(var n=0;n<Un.length&&e!==0&&e<Un[n].priority;n++);Un.splice(n,0,t),n===0&&zm(t)}};var Bm=l.version;if(Bm!=="19.1.0")throw Error(r(527,Bm,"19.1.0"));B.findDOMNode=function(t){var e=t._reactInternals;if(e===void 0)throw typeof t.render=="function"?Error(r(188)):(t=Object.keys(t).join(","),Error(r(268,t)));return t=p(e),t=t!==null?m(t):null,t=t===null?null:t.stateNode,t};var d1={bundleType:0,version:"19.1.0",rendererPackageName:"react-dom",currentDispatcherRef:N,reconcilerVersion:"19.1.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Gs=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Gs.isDisabled&&Gs.supportsFiber)try{ci=Gs.inject(d1),de=Gs}catch{}}return rl.createRoot=function(t,e){if(!c(t))throw Error(r(299));var n=!1,i="",s=Ih,o=td,h=ed,g=null;return e!=null&&(e.unstable_strictMode===!0&&(n=!0),e.identifierPrefix!==void 0&&(i=e.identifierPrefix),e.onUncaughtError!==void 0&&(s=e.onUncaughtError),e.onCaughtError!==void 0&&(o=e.onCaughtError),e.onRecoverableError!==void 0&&(h=e.onRecoverableError),e.unstable_transitionCallbacks!==void 0&&(g=e.unstable_transitionCallbacks)),e=Rm(t,1,!1,null,null,n,i,s,o,h,g,null),t[da]=e.current,io(t),new Ao(e)},rl.hydrateRoot=function(t,e,n){if(!c(t))throw Error(r(299));var i=!1,s="",o=Ih,h=td,g=ed,x=null,R=null;return n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(s=n.identifierPrefix),n.onUncaughtError!==void 0&&(o=n.onUncaughtError),n.onCaughtError!==void 0&&(h=n.onCaughtError),n.onRecoverableError!==void 0&&(g=n.onRecoverableError),n.unstable_transitionCallbacks!==void 0&&(x=n.unstable_transitionCallbacks),n.formState!==void 0&&(R=n.formState)),e=Rm(t,1,!0,e,n??null,i,s,o,h,g,x,R),e.context=Om(null),n=e.current,i=xe(),i=du(i),s=bn(i),s.callback=null,xn(n,s,i),n=i,e.current.lanes=n,hi(e,n),Ze(e),t[da]=e.current,io(t),new Ys(e)},rl.version="19.1.0",rl}var km;function A1(){if(km)return Do.exports;km=1;function a(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(a)}catch(l){console.error(l)}}return a(),Do.exports=T1(),Do.exports}var E1=A1();const M1=fy(E1),cc=Y.createContext({});function fc(a){const l=Y.useRef(null);return l.current===null&&(l.current=a()),l.current}const hc=typeof window<"u",hy=hc?Y.useLayoutEffect:Y.useEffect,iu=Y.createContext(null);function dc(a,l){a.indexOf(l)===-1&&a.push(l)}function mc(a,l){const u=a.indexOf(l);u>-1&&a.splice(u,1)}const fn=(a,l,u)=>u>l?l:u<a?a:u;let pc=()=>{};const hn={},dy=a=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(a);function my(a){return typeof a=="object"&&a!==null}const py=a=>/^0[^.\s]+$/u.test(a);function yc(a){let l;return()=>(l===void 0&&(l=a()),l)}const Ve=a=>a,D1=(a,l)=>u=>l(a(u)),El=(...a)=>a.reduce(D1),yl=(a,l,u)=>{const r=l-a;return r===0?1:(u-a)/r};class gc{constructor(){this.subscriptions=[]}add(l){return dc(this.subscriptions,l),()=>mc(this.subscriptions,l)}notify(l,u,r){const c=this.subscriptions.length;if(c)if(c===1)this.subscriptions[0](l,u,r);else for(let d=0;d<c;d++){const f=this.subscriptions[d];f&&f(l,u,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Ke=a=>a*1e3,Qe=a=>a/1e3;function yy(a,l){return l?a*(1e3/l):0}const gy=(a,l,u)=>(((1-3*u+3*l)*a+(3*u-6*l))*a+3*l)*a,R1=1e-7,O1=12;function w1(a,l,u,r,c){let d,f,y=0;do f=l+(u-l)/2,d=gy(f,r,c)-a,d>0?u=f:l=f;while(Math.abs(d)>R1&&++y<O1);return f}function Ml(a,l,u,r){if(a===l&&u===r)return Ve;const c=d=>w1(d,0,1,a,u);return d=>d===0||d===1?d:gy(c(d),l,r)}const vy=a=>l=>l<=.5?a(2*l)/2:(2-a(2*(1-l)))/2,by=a=>l=>1-a(1-l),xy=Ml(.33,1.53,.69,.99),vc=by(xy),Sy=vy(vc),Ty=a=>(a*=2)<1?.5*vc(a):.5*(2-Math.pow(2,-10*(a-1))),bc=a=>1-Math.sin(Math.acos(a)),Ay=by(bc),Ey=vy(bc),C1=Ml(.42,0,1,1),j1=Ml(0,0,.58,1),My=Ml(.42,0,.58,1),N1=a=>Array.isArray(a)&&typeof a[0]!="number",Dy=a=>Array.isArray(a)&&typeof a[0]=="number",V1={linear:Ve,easeIn:C1,easeInOut:My,easeOut:j1,circIn:bc,circInOut:Ey,circOut:Ay,backIn:vc,backInOut:Sy,backOut:xy,anticipate:Ty},z1=a=>typeof a=="string",Pm=a=>{if(Dy(a)){pc(a.length===4);const[l,u,r,c]=a;return Ml(l,u,r,c)}else if(z1(a))return V1[a];return a},Xs=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"],Jm={value:null};function _1(a,l){let u=new Set,r=new Set,c=!1,d=!1;const f=new WeakSet;let y={delta:0,timestamp:0,isProcessing:!1},p=0;function m(b){f.has(b)&&(v.schedule(b),a()),p++,b(y)}const v={schedule:(b,T=!1,C=!1)=>{const q=C&&c?u:r;return T&&f.add(b),q.has(b)||q.add(b),b},cancel:b=>{r.delete(b),f.delete(b)},process:b=>{if(y=b,c){d=!0;return}c=!0,[u,r]=[r,u],u.forEach(m),l&&Jm.value&&Jm.value.frameloop[l].push(p),p=0,u.clear(),c=!1,d&&(d=!1,v.process(b))}};return v}const U1=40;function Ry(a,l){let u=!1,r=!0;const c={delta:0,timestamp:0,isProcessing:!1},d=()=>u=!0,f=Xs.reduce((L,tt)=>(L[tt]=_1(d,l?tt:void 0),L),{}),{setup:y,read:p,resolveKeyframes:m,preUpdate:v,update:b,preRender:T,render:C,postRender:U}=f,q=()=>{const L=hn.useManualTiming?c.timestamp:performance.now();u=!1,hn.useManualTiming||(c.delta=r?1e3/60:Math.max(Math.min(L-c.timestamp,U1),1)),c.timestamp=L,c.isProcessing=!0,y.process(c),p.process(c),m.process(c),v.process(c),b.process(c),T.process(c),C.process(c),U.process(c),c.isProcessing=!1,u&&l&&(r=!1,a(q))},Z=()=>{u=!0,r=!0,c.isProcessing||a(q)};return{schedule:Xs.reduce((L,tt)=>{const H=f[tt];return L[tt]=(F,nt=!1,J=!1)=>(u||Z(),H.schedule(F,nt,J)),L},{}),cancel:L=>{for(let tt=0;tt<Xs.length;tt++)f[Xs[tt]].cancel(L)},state:c,steps:f}}const{schedule:Dt,cancel:qn,state:It,steps:Co}=Ry(typeof requestAnimationFrame<"u"?requestAnimationFrame:Ve,!0);let ks;function B1(){ks=void 0}const fe={now:()=>(ks===void 0&&fe.set(It.isProcessing||hn.useManualTiming?It.timestamp:performance.now()),ks),set:a=>{ks=a,queueMicrotask(B1)}},Oy=a=>l=>typeof l=="string"&&l.startsWith(a),xc=Oy("--"),H1=Oy("var(--"),Sc=a=>H1(a)?L1.test(a.split("/*")[0].trim()):!1,L1=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,li={test:a=>typeof a=="number",parse:parseFloat,transform:a=>a},gl={...li,transform:a=>fn(0,1,a)},Zs={...li,default:1},fl=a=>Math.round(a*1e5)/1e5,Tc=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function q1(a){return a==null}const Y1=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Ac=(a,l)=>u=>!!(typeof u=="string"&&Y1.test(u)&&u.startsWith(a)||l&&!q1(u)&&Object.prototype.hasOwnProperty.call(u,l)),wy=(a,l,u)=>r=>{if(typeof r!="string")return r;const[c,d,f,y]=r.match(Tc);return{[a]:parseFloat(c),[l]:parseFloat(d),[u]:parseFloat(f),alpha:y!==void 0?parseFloat(y):1}},G1=a=>fn(0,255,a),jo={...li,transform:a=>Math.round(G1(a))},oa={test:Ac("rgb","red"),parse:wy("red","green","blue"),transform:({red:a,green:l,blue:u,alpha:r=1})=>"rgba("+jo.transform(a)+", "+jo.transform(l)+", "+jo.transform(u)+", "+fl(gl.transform(r))+")"};function X1(a){let l="",u="",r="",c="";return a.length>5?(l=a.substring(1,3),u=a.substring(3,5),r=a.substring(5,7),c=a.substring(7,9)):(l=a.substring(1,2),u=a.substring(2,3),r=a.substring(3,4),c=a.substring(4,5),l+=l,u+=u,r+=r,c+=c),{red:parseInt(l,16),green:parseInt(u,16),blue:parseInt(r,16),alpha:c?parseInt(c,16)/255:1}}const Xo={test:Ac("#"),parse:X1,transform:oa.transform},Dl=a=>({test:l=>typeof l=="string"&&l.endsWith(a)&&l.split(" ").length===1,parse:parseFloat,transform:l=>`${l}${a}`}),Hn=Dl("deg"),ke=Dl("%"),it=Dl("px"),Z1=Dl("vh"),K1=Dl("vw"),$m={...ke,parse:a=>ke.parse(a)/100,transform:a=>ke.transform(a*100)},Wa={test:Ac("hsl","hue"),parse:wy("hue","saturation","lightness"),transform:({hue:a,saturation:l,lightness:u,alpha:r=1})=>"hsla("+Math.round(a)+", "+ke.transform(fl(l))+", "+ke.transform(fl(u))+", "+fl(gl.transform(r))+")"},Lt={test:a=>oa.test(a)||Xo.test(a)||Wa.test(a),parse:a=>oa.test(a)?oa.parse(a):Wa.test(a)?Wa.parse(a):Xo.parse(a),transform:a=>typeof a=="string"?a:a.hasOwnProperty("red")?oa.transform(a):Wa.transform(a),getAnimatableNone:a=>{const l=Lt.parse(a);return l.alpha=0,Lt.transform(l)}},Q1=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function k1(a){return isNaN(a)&&typeof a=="string"&&(a.match(Tc)?.length||0)+(a.match(Q1)?.length||0)>0}const Cy="number",jy="color",P1="var",J1="var(",Fm="${}",$1=/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 vl(a){const l=a.toString(),u=[],r={color:[],number:[],var:[]},c=[];let d=0;const y=l.replace($1,p=>(Lt.test(p)?(r.color.push(d),c.push(jy),u.push(Lt.parse(p))):p.startsWith(J1)?(r.var.push(d),c.push(P1),u.push(p)):(r.number.push(d),c.push(Cy),u.push(parseFloat(p))),++d,Fm)).split(Fm);return{values:u,split:y,indexes:r,types:c}}function Ny(a){return vl(a).values}function Vy(a){const{split:l,types:u}=vl(a),r=l.length;return c=>{let d="";for(let f=0;f<r;f++)if(d+=l[f],c[f]!==void 0){const y=u[f];y===Cy?d+=fl(c[f]):y===jy?d+=Lt.transform(c[f]):d+=c[f]}return d}}const F1=a=>typeof a=="number"?0:Lt.test(a)?Lt.getAnimatableNone(a):a;function W1(a){const l=Ny(a);return Vy(a)(l.map(F1))}const Yn={test:k1,parse:Ny,createTransformer:Vy,getAnimatableNone:W1};function No(a,l,u){return u<0&&(u+=1),u>1&&(u-=1),u<1/6?a+(l-a)*6*u:u<1/2?l:u<2/3?a+(l-a)*(2/3-u)*6:a}function I1({hue:a,saturation:l,lightness:u,alpha:r}){a/=360,l/=100,u/=100;let c=0,d=0,f=0;if(!l)c=d=f=u;else{const y=u<.5?u*(1+l):u+l-u*l,p=2*u-y;c=No(p,y,a+1/3),d=No(p,y,a),f=No(p,y,a-1/3)}return{red:Math.round(c*255),green:Math.round(d*255),blue:Math.round(f*255),alpha:r}}function Fs(a,l){return u=>u>0?l:a}const Ot=(a,l,u)=>a+(l-a)*u,Vo=(a,l,u)=>{const r=a*a,c=u*(l*l-r)+r;return c<0?0:Math.sqrt(c)},tb=[Xo,oa,Wa],eb=a=>tb.find(l=>l.test(a));function Wm(a){const l=eb(a);if(!l)return!1;let u=l.parse(a);return l===Wa&&(u=I1(u)),u}const Im=(a,l)=>{const u=Wm(a),r=Wm(l);if(!u||!r)return Fs(a,l);const c={...u};return d=>(c.red=Vo(u.red,r.red,d),c.green=Vo(u.green,r.green,d),c.blue=Vo(u.blue,r.blue,d),c.alpha=Ot(u.alpha,r.alpha,d),oa.transform(c))},Zo=new Set(["none","hidden"]);function nb(a,l){return Zo.has(a)?u=>u<=0?a:l:u=>u>=1?l:a}function ab(a,l){return u=>Ot(a,l,u)}function Ec(a){return typeof a=="number"?ab:typeof a=="string"?Sc(a)?Fs:Lt.test(a)?Im:sb:Array.isArray(a)?zy:typeof a=="object"?Lt.test(a)?Im:ib:Fs}function zy(a,l){const u=[...a],r=u.length,c=a.map((d,f)=>Ec(d)(d,l[f]));return d=>{for(let f=0;f<r;f++)u[f]=c[f](d);return u}}function ib(a,l){const u={...a,...l},r={};for(const c in u)a[c]!==void 0&&l[c]!==void 0&&(r[c]=Ec(a[c])(a[c],l[c]));return c=>{for(const d in r)u[d]=r[d](c);return u}}function lb(a,l){const u=[],r={color:0,var:0,number:0};for(let c=0;c<l.values.length;c++){const d=l.types[c],f=a.indexes[d][r[d]],y=a.values[f]??0;u[c]=y,r[d]++}return u}const sb=(a,l)=>{const u=Yn.createTransformer(l),r=vl(a),c=vl(l);return r.indexes.var.length===c.indexes.var.length&&r.indexes.color.length===c.indexes.color.length&&r.indexes.number.length>=c.indexes.number.length?Zo.has(a)&&!c.values.length||Zo.has(l)&&!r.values.length?nb(a,l):El(zy(lb(r,c),c.values),u):Fs(a,l)};function _y(a,l,u){return typeof a=="number"&&typeof l=="number"&&typeof u=="number"?Ot(a,l,u):Ec(a)(a,l)}const ub=a=>{const l=({timestamp:u})=>a(u);return{start:(u=!0)=>Dt.update(l,u),stop:()=>qn(l),now:()=>It.isProcessing?It.timestamp:fe.now()}},Uy=(a,l,u=10)=>{let r="";const c=Math.max(Math.round(l/u),2);for(let d=0;d<c;d++)r+=Math.round(a(d/(c-1))*1e4)/1e4+", ";return`linear(${r.substring(0,r.length-2)})`},Ws=2e4;function Mc(a){let l=0;const u=50;let r=a.next(l);for(;!r.done&&l<Ws;)l+=u,r=a.next(l);return l>=Ws?1/0:l}function rb(a,l=100,u){const r=u({...a,keyframes:[0,l]}),c=Math.min(Mc(r),Ws);return{type:"keyframes",ease:d=>r.next(c*d).value/l,duration:Qe(c)}}const ob=5;function By(a,l,u){const r=Math.max(l-ob,0);return yy(u-a(r),l-r)}const Nt={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},zo=.001;function cb({duration:a=Nt.duration,bounce:l=Nt.bounce,velocity:u=Nt.velocity,mass:r=Nt.mass}){let c,d,f=1-l;f=fn(Nt.minDamping,Nt.maxDamping,f),a=fn(Nt.minDuration,Nt.maxDuration,Qe(a)),f<1?(c=m=>{const v=m*f,b=v*a,T=v-u,C=Ko(m,f),U=Math.exp(-b);return zo-T/C*U},d=m=>{const b=m*f*a,T=b*u+u,C=Math.pow(f,2)*Math.pow(m,2)*a,U=Math.exp(-b),q=Ko(Math.pow(m,2),f);return(-c(m)+zo>0?-1:1)*((T-C)*U)/q}):(c=m=>{const v=Math.exp(-m*a),b=(m-u)*a+1;return-zo+v*b},d=m=>{const v=Math.exp(-m*a),b=(u-m)*(a*a);return v*b});const y=5/a,p=hb(c,d,y);if(a=Ke(a),isNaN(p))return{stiffness:Nt.stiffness,damping:Nt.damping,duration:a};{const m=Math.pow(p,2)*r;return{stiffness:m,damping:f*2*Math.sqrt(r*m),duration:a}}}const fb=12;function hb(a,l,u){let r=u;for(let c=1;c<fb;c++)r=r-a(r)/l(r);return r}function Ko(a,l){return a*Math.sqrt(1-l*l)}const db=["duration","bounce"],mb=["stiffness","damping","mass"];function tp(a,l){return l.some(u=>a[u]!==void 0)}function pb(a){let l={velocity:Nt.velocity,stiffness:Nt.stiffness,damping:Nt.damping,mass:Nt.mass,isResolvedFromDuration:!1,...a};if(!tp(a,mb)&&tp(a,db))if(a.visualDuration){const u=a.visualDuration,r=2*Math.PI/(u*1.2),c=r*r,d=2*fn(.05,1,1-(a.bounce||0))*Math.sqrt(c);l={...l,mass:Nt.mass,stiffness:c,damping:d}}else{const u=cb(a);l={...l,...u,mass:Nt.mass},l.isResolvedFromDuration=!0}return l}function Is(a=Nt.visualDuration,l=Nt.bounce){const u=typeof a!="object"?{visualDuration:a,keyframes:[0,1],bounce:l}:a;let{restSpeed:r,restDelta:c}=u;const d=u.keyframes[0],f=u.keyframes[u.keyframes.length-1],y={done:!1,value:d},{stiffness:p,damping:m,mass:v,duration:b,velocity:T,isResolvedFromDuration:C}=pb({...u,velocity:-Qe(u.velocity||0)}),U=T||0,q=m/(2*Math.sqrt(p*v)),Z=f-d,G=Qe(Math.sqrt(p/v)),K=Math.abs(Z)<5;r||(r=K?Nt.restSpeed.granular:Nt.restSpeed.default),c||(c=K?Nt.restDelta.granular:Nt.restDelta.default);let L;if(q<1){const H=Ko(G,q);L=F=>{const nt=Math.exp(-q*G*F);return f-nt*((U+q*G*Z)/H*Math.sin(H*F)+Z*Math.cos(H*F))}}else if(q===1)L=H=>f-Math.exp(-G*H)*(Z+(U+G*Z)*H);else{const H=G*Math.sqrt(q*q-1);L=F=>{const nt=Math.exp(-q*G*F),J=Math.min(H*F,300);return f-nt*((U+q*G*Z)*Math.sinh(J)+H*Z*Math.cosh(J))/H}}const tt={calculatedDuration:C&&b||null,next:H=>{const F=L(H);if(C)y.done=H>=b;else{let nt=H===0?U:0;q<1&&(nt=H===0?Ke(U):By(L,H,F));const J=Math.abs(nt)<=r,yt=Math.abs(f-F)<=c;y.done=J&&yt}return y.value=y.done?f:F,y},toString:()=>{const H=Math.min(Mc(tt),Ws),F=Uy(nt=>tt.next(H*nt).value,H,30);return H+"ms "+F},toTransition:()=>{}};return tt}Is.applyToOptions=a=>{const l=rb(a,100,Is);return a.ease=l.ease,a.duration=Ke(l.duration),a.type="keyframes",a};function Qo({keyframes:a,velocity:l=0,power:u=.8,timeConstant:r=325,bounceDamping:c=10,bounceStiffness:d=500,modifyTarget:f,min:y,max:p,restDelta:m=.5,restSpeed:v}){const b=a[0],T={done:!1,value:b},C=J=>y!==void 0&&J<y||p!==void 0&&J>p,U=J=>y===void 0?p:p===void 0||Math.abs(y-J)<Math.abs(p-J)?y:p;let q=u*l;const Z=b+q,G=f===void 0?Z:f(Z);G!==Z&&(q=G-b);const K=J=>-q*Math.exp(-J/r),L=J=>G+K(J),tt=J=>{const yt=K(J),wt=L(J);T.done=Math.abs(yt)<=m,T.value=T.done?G:wt};let H,F;const nt=J=>{C(T.value)&&(H=J,F=Is({keyframes:[T.value,U(T.value)],velocity:By(L,J,T.value),damping:c,stiffness:d,restDelta:m,restSpeed:v}))};return nt(0),{calculatedDuration:null,next:J=>{let yt=!1;return!F&&H===void 0&&(yt=!0,tt(J),nt(J)),H!==void 0&&J>=H?F.next(J-H):(!yt&&tt(J),T)}}}function yb(a,l,u){const r=[],c=u||hn.mix||_y,d=a.length-1;for(let f=0;f<d;f++){let y=c(a[f],a[f+1]);if(l){const p=Array.isArray(l)?l[f]||Ve:l;y=El(p,y)}r.push(y)}return r}function gb(a,l,{clamp:u=!0,ease:r,mixer:c}={}){const d=a.length;if(pc(d===l.length),d===1)return()=>l[0];if(d===2&&l[0]===l[1])return()=>l[1];const f=a[0]===a[1];a[0]>a[d-1]&&(a=[...a].reverse(),l=[...l].reverse());const y=yb(l,r,c),p=y.length,m=v=>{if(f&&v<a[0])return l[0];let b=0;if(p>1)for(;b<a.length-2&&!(v<a[b+1]);b++);const T=yl(a[b],a[b+1],v);return y[b](T)};return u?v=>m(fn(a[0],a[d-1],v)):m}function vb(a,l){const u=a[a.length-1];for(let r=1;r<=l;r++){const c=yl(0,l,r);a.push(Ot(u,1,c))}}function bb(a){const l=[0];return vb(l,a.length-1),l}function xb(a,l){return a.map(u=>u*l)}function Sb(a,l){return a.map(()=>l||My).splice(0,a.length-1)}function hl({duration:a=300,keyframes:l,times:u,ease:r="easeInOut"}){const c=N1(r)?r.map(Pm):Pm(r),d={done:!1,value:l[0]},f=xb(u&&u.length===l.length?u:bb(l),a),y=gb(f,l,{ease:Array.isArray(c)?c:Sb(l,c)});return{calculatedDuration:a,next:p=>(d.value=y(p),d.done=p>=a,d)}}const Tb=a=>a!==null;function Dc(a,{repeat:l,repeatType:u="loop"},r,c=1){const d=a.filter(Tb),y=c<0||l&&u!=="loop"&&l%2===1?0:d.length-1;return!y||r===void 0?d[y]:r}const Ab={decay:Qo,inertia:Qo,tween:hl,keyframes:hl,spring:Is};function Hy(a){typeof a.type=="string"&&(a.type=Ab[a.type])}class Rc{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(l=>{this.resolve=l})}notifyFinished(){this.resolve()}then(l,u){return this.finished.then(l,u)}}const Eb=a=>a/100;class Oc extends Rc{constructor(l){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!==fe.now()&&this.tick(fe.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},this.options=l,this.initAnimation(),this.play(),l.autoplay===!1&&this.pause()}initAnimation(){const{options:l}=this;Hy(l);const{type:u=hl,repeat:r=0,repeatDelay:c=0,repeatType:d,velocity:f=0}=l;let{keyframes:y}=l;const p=u||hl;p!==hl&&typeof y[0]!="number"&&(this.mixKeyframes=El(Eb,_y(y[0],y[1])),y=[0,100]);const m=p({...l,keyframes:y});d==="mirror"&&(this.mirroredGenerator=p({...l,keyframes:[...y].reverse(),velocity:-f})),m.calculatedDuration===null&&(m.calculatedDuration=Mc(m));const{calculatedDuration:v}=m;this.calculatedDuration=v,this.resolvedDuration=v+c,this.totalDuration=this.resolvedDuration*(r+1)-c,this.generator=m}updateTime(l){const u=Math.round(l-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=u}tick(l,u=!1){const{generator:r,totalDuration:c,mixKeyframes:d,mirroredGenerator:f,resolvedDuration:y,calculatedDuration:p}=this;if(this.startTime===null)return r.next(0);const{delay:m=0,keyframes:v,repeat:b,repeatType:T,repeatDelay:C,type:U,onUpdate:q,finalKeyframe:Z}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,l):this.speed<0&&(this.startTime=Math.min(l-c/this.speed,this.startTime)),u?this.currentTime=l:this.updateTime(l);const G=this.currentTime-m*(this.playbackSpeed>=0?1:-1),K=this.playbackSpeed>=0?G<0:G>c;this.currentTime=Math.max(G,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=c);let L=this.currentTime,tt=r;if(b){const J=Math.min(this.currentTime,c)/y;let yt=Math.floor(J),wt=J%1;!wt&&J>=1&&(wt=1),wt===1&&yt--,yt=Math.min(yt,b+1),!!(yt%2)&&(T==="reverse"?(wt=1-wt,C&&(wt-=C/y)):T==="mirror"&&(tt=f)),L=fn(0,1,wt)*y}const H=K?{done:!1,value:v[0]}:tt.next(L);d&&(H.value=d(H.value));let{done:F}=H;!K&&p!==null&&(F=this.playbackSpeed>=0?this.currentTime>=c:this.currentTime<=0);const nt=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&F);return nt&&U!==Qo&&(H.value=Dc(v,this.options,Z,this.speed)),q&&q(H.value),nt&&this.finish(),H}then(l,u){return this.finished.then(l,u)}get duration(){return Qe(this.calculatedDuration)}get time(){return Qe(this.currentTime)}set time(l){l=Ke(l),this.currentTime=l,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=l:this.driver&&(this.startTime=this.driver.now()-l/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(l){this.updateTime(fe.now());const u=this.playbackSpeed!==l;this.playbackSpeed=l,u&&(this.time=Qe(this.currentTime))}play(){if(this.isStopped)return;const{driver:l=ub,startTime:u}=this.options;this.driver||(this.driver=l(c=>this.tick(c))),this.options.onPlay?.();const r=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=r):this.holdTime!==null?this.startTime=r-this.holdTime:this.startTime||(this.startTime=u??r),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(fe.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(l){return this.startTime=0,this.tick(l,!0)}attachTimeline(l){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),l.observe(this)}}function Mb(a){for(let l=1;l<a.length;l++)a[l]??(a[l]=a[l-1])}const ca=a=>a*180/Math.PI,ko=a=>{const l=ca(Math.atan2(a[1],a[0]));return Po(l)},Db={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:a=>(Math.abs(a[0])+Math.abs(a[3]))/2,rotate:ko,rotateZ:ko,skewX:a=>ca(Math.atan(a[1])),skewY:a=>ca(Math.atan(a[2])),skew:a=>(Math.abs(a[1])+Math.abs(a[2]))/2},Po=a=>(a=a%360,a<0&&(a+=360),a),ep=ko,np=a=>Math.sqrt(a[0]*a[0]+a[1]*a[1]),ap=a=>Math.sqrt(a[4]*a[4]+a[5]*a[5]),Rb={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:np,scaleY:ap,scale:a=>(np(a)+ap(a))/2,rotateX:a=>Po(ca(Math.atan2(a[6],a[5]))),rotateY:a=>Po(ca(Math.atan2(-a[2],a[0]))),rotateZ:ep,rotate:ep,skewX:a=>ca(Math.atan(a[4])),skewY:a=>ca(Math.atan(a[1])),skew:a=>(Math.abs(a[1])+Math.abs(a[4]))/2};function Jo(a){return a.includes("scale")?1:0}function $o(a,l){if(!a||a==="none")return Jo(l);const u=a.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let r,c;if(u)r=Rb,c=u;else{const y=a.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=Db,c=y}if(!c)return Jo(l);const d=r[l],f=c[1].split(",").map(wb);return typeof d=="function"?d(f):f[d]}const Ob=(a,l)=>{const{transform:u="none"}=getComputedStyle(a);return $o(u,l)};function wb(a){return parseFloat(a.trim())}const si=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],ui=new Set(si),ip=a=>a===li||a===it,Cb=new Set(["x","y","z"]),jb=si.filter(a=>!Cb.has(a));function Nb(a){const l=[];return jb.forEach(u=>{const r=a.getValue(u);r!==void 0&&(l.push([u,r.get()]),r.set(u.startsWith("scale")?1:0))}),l}const fa={width:({x:a},{paddingLeft:l="0",paddingRight:u="0"})=>a.max-a.min-parseFloat(l)-parseFloat(u),height:({y:a},{paddingTop:l="0",paddingBottom:u="0"})=>a.max-a.min-parseFloat(l)-parseFloat(u),top:(a,{top:l})=>parseFloat(l),left:(a,{left:l})=>parseFloat(l),bottom:({y:a},{top:l})=>parseFloat(l)+(a.max-a.min),right:({x:a},{left:l})=>parseFloat(l)+(a.max-a.min),x:(a,{transform:l})=>$o(l,"x"),y:(a,{transform:l})=>$o(l,"y")};fa.translateX=fa.x;fa.translateY=fa.y;const ha=new Set;let Fo=!1,Wo=!1,Io=!1;function Ly(){if(Wo){const a=Array.from(ha).filter(r=>r.needsMeasurement),l=new Set(a.map(r=>r.element)),u=new Map;l.forEach(r=>{const c=Nb(r);c.length&&(u.set(r,c),r.render())}),a.forEach(r=>r.measureInitialState()),l.forEach(r=>{r.render();const c=u.get(r);c&&c.forEach(([d,f])=>{r.getValue(d)?.set(f)})}),a.forEach(r=>r.measureEndState()),a.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}Wo=!1,Fo=!1,ha.forEach(a=>a.complete(Io)),ha.clear()}function qy(){ha.forEach(a=>{a.readKeyframes(),a.needsMeasurement&&(Wo=!0)})}function Vb(){Io=!0,qy(),Ly(),Io=!1}class wc{constructor(l,u,r,c,d,f=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...l],this.onComplete=u,this.name=r,this.motionValue=c,this.element=d,this.isAsync=f}scheduleResolve(){this.state="scheduled",this.isAsync?(ha.add(this),Fo||(Fo=!0,Dt.read(qy),Dt.resolveKeyframes(Ly))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:l,name:u,element:r,motionValue:c}=this;if(l[0]===null){const d=c?.get(),f=l[l.length-1];if(d!==void 0)l[0]=d;else if(r&&u){const y=r.readValue(u,f);y!=null&&(l[0]=y)}l[0]===void 0&&(l[0]=f),c&&d===void 0&&c.set(l[0])}Mb(l)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(l=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,l),ha.delete(this)}cancel(){this.state==="scheduled"&&(ha.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const zb=a=>a.startsWith("--");function _b(a,l,u){zb(l)?a.style.setProperty(l,u):a.style[l]=u}const Ub=yc(()=>window.ScrollTimeline!==void 0),Bb={};function Hb(a,l){const u=yc(a);return()=>Bb[l]??u()}const Yy=Hb(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),cl=([a,l,u,r])=>`cubic-bezier(${a}, ${l}, ${u}, ${r})`,lp={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:cl([0,.65,.55,1]),circOut:cl([.55,0,1,.45]),backIn:cl([.31,.01,.66,-.59]),backOut:cl([.33,1.53,.69,.99])};function Gy(a,l){if(a)return typeof a=="function"?Yy()?Uy(a,l):"ease-out":Dy(a)?cl(a):Array.isArray(a)?a.map(u=>Gy(u,l)||lp.easeOut):lp[a]}function Lb(a,l,u,{delay:r=0,duration:c=300,repeat:d=0,repeatType:f="loop",ease:y="easeOut",times:p}={},m=void 0){const v={[l]:u};p&&(v.offset=p);const b=Gy(y,c);Array.isArray(b)&&(v.easing=b);const T={delay:r,duration:c,easing:Array.isArray(b)?"linear":b,fill:"both",iterations:d+1,direction:f==="reverse"?"alternate":"normal"};return m&&(T.pseudoElement=m),a.animate(v,T)}function Xy(a){return typeof a=="function"&&"applyToOptions"in a}function qb({type:a,...l}){return Xy(a)&&Yy()?a.applyToOptions(l):(l.duration??(l.duration=300),l.ease??(l.ease="easeOut"),l)}class Yb extends Rc{constructor(l){if(super(),this.finishedTime=null,this.isStopped=!1,!l)return;const{element:u,name:r,keyframes:c,pseudoElement:d,allowFlatten:f=!1,finalKeyframe:y,onComplete:p}=l;this.isPseudoElement=!!d,this.allowFlatten=f,this.options=l,pc(typeof l.type!="string");const m=qb(l);this.animation=Lb(u,r,c,m,d),m.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!d){const v=Dc(c,this.options,y,this.speed);this.updateMotionValue?this.updateMotionValue(v):_b(u,r,v),this.animation.cancel()}p?.(),this.notifyFinished()}}play(){this.isStopped||(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:l}=this;l==="idle"||l==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){const l=this.animation.effect?.getComputedTiming?.().duration||0;return Qe(Number(l))}get time(){return Qe(Number(this.animation.currentTime)||0)}set time(l){this.finishedTime=null,this.animation.currentTime=Ke(l)}get speed(){return this.animation.playbackRate}set speed(l){l<0&&(this.finishedTime=null),this.animation.playbackRate=l}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(l){this.animation.startTime=l}attachTimeline({timeline:l,observe:u}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,l&&Ub()?(this.animation.timeline=l,Ve):u(this)}}const Zy={anticipate:Ty,backInOut:Sy,circInOut:Ey};function Gb(a){return a in Zy}function Xb(a){typeof a.ease=="string"&&Gb(a.ease)&&(a.ease=Zy[a.ease])}const sp=10;class Zb extends Yb{constructor(l){Xb(l),Hy(l),super(l),l.startTime&&(this.startTime=l.startTime),this.options=l}updateMotionValue(l){const{motionValue:u,onUpdate:r,onComplete:c,element:d,...f}=this.options;if(!u)return;if(l!==void 0){u.set(l);return}const y=new Oc({...f,autoplay:!1}),p=Ke(this.finishedTime??this.time);u.setWithVelocity(y.sample(p-sp).value,y.sample(p).value,sp),y.stop()}}const up=(a,l)=>l==="zIndex"?!1:!!(typeof a=="number"||Array.isArray(a)||typeof a=="string"&&(Yn.test(a)||a==="0")&&!a.startsWith("url("));function Kb(a){const l=a[0];if(a.length===1)return!0;for(let u=0;u<a.length;u++)if(a[u]!==l)return!0}function Qb(a,l,u,r){const c=a[0];if(c===null)return!1;if(l==="display"||l==="visibility")return!0;const d=a[a.length-1],f=up(c,l),y=up(d,l);return!f||!y?!1:Kb(a)||(u==="spring"||Xy(u))&&r}function Cc(a){return my(a)&&"offsetHeight"in a}const kb=new Set(["opacity","clipPath","filter","transform"]),Pb=yc(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function Jb(a){const{motionValue:l,name:u,repeatDelay:r,repeatType:c,damping:d,type:f}=a;if(!Cc(l?.owner?.current))return!1;const{onUpdate:y,transformTemplate:p}=l.owner.getProps();return Pb()&&u&&kb.has(u)&&(u!=="transform"||!p)&&!y&&!r&&c!=="mirror"&&d!==0&&f!=="inertia"}const $b=40;class Fb extends Rc{constructor({autoplay:l=!0,delay:u=0,type:r="keyframes",repeat:c=0,repeatDelay:d=0,repeatType:f="loop",keyframes:y,name:p,motionValue:m,element:v,...b}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=fe.now();const T={autoplay:l,delay:u,type:r,repeat:c,repeatDelay:d,repeatType:f,name:p,motionValue:m,element:v,...b},C=v?.KeyframeResolver||wc;this.keyframeResolver=new C(y,(U,q,Z)=>this.onKeyframesResolved(U,q,T,!Z),p,m,v),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(l,u,r,c){this.keyframeResolver=void 0;const{name:d,type:f,velocity:y,delay:p,isHandoff:m,onUpdate:v}=r;this.resolvedAt=fe.now(),Qb(l,d,f,y)||((hn.instantAnimations||!p)&&v?.(Dc(l,r,u)),l[0]=l[l.length-1],r.duration=0,r.repeat=0);const T={startTime:c?this.resolvedAt?this.resolvedAt-this.createdAt>$b?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:u,...r,keyframes:l},C=!m&&Jb(T)?new Zb({...T,element:T.motionValue.owner.current}):new Oc(T);C.finished.then(()=>this.notifyFinished()).catch(Ve),this.pendingTimeline&&(this.stopTimeline=C.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=C}get finished(){return this._animation?this.animation.finished:this._finished}then(l,u){return this.finished.finally(l).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),Vb()),this._animation}get duration(){return this.animation.duration}get time(){return this.animation.time}set time(l){this.animation.time=l}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(l){this.animation.speed=l}get startTime(){return this.animation.startTime}attachTimeline(l){return this._animation?this.stopTimeline=this.animation.attachTimeline(l):this.pendingTimeline=l,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}const Wb=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Ib(a){const l=Wb.exec(a);if(!l)return[,];const[,u,r,c]=l;return[`--${u??r}`,c]}function Ky(a,l,u=1){const[r,c]=Ib(a);if(!r)return;const d=window.getComputedStyle(l).getPropertyValue(r);if(d){const f=d.trim();return dy(f)?parseFloat(f):f}return Sc(c)?Ky(c,l,u+1):c}function jc(a,l){return a?.[l]??a?.default??a}const Qy=new Set(["width","height","top","left","right","bottom",...si]),tx={test:a=>a==="auto",parse:a=>a},ky=a=>l=>l.test(a),Py=[li,it,ke,Hn,K1,Z1,tx],rp=a=>Py.find(ky(a));function ex(a){return typeof a=="number"?a===0:a!==null?a==="none"||a==="0"||py(a):!0}const nx=new Set(["brightness","contrast","saturate","opacity"]);function ax(a){const[l,u]=a.slice(0,-1).split("(");if(l==="drop-shadow")return a;const[r]=u.match(Tc)||[];if(!r)return a;const c=u.replace(r,"");let d=nx.has(l)?1:0;return r!==u&&(d*=100),l+"("+d+c+")"}const ix=/\b([a-z-]*)\(.*?\)/gu,tc={...Yn,getAnimatableNone:a=>{const l=a.match(ix);return l?l.map(ax).join(" "):a}},op={...li,transform:Math.round},lx={rotate:Hn,rotateX:Hn,rotateY:Hn,rotateZ:Hn,scale:Zs,scaleX:Zs,scaleY:Zs,scaleZ:Zs,skew:Hn,skewX:Hn,skewY:Hn,distance:it,translateX:it,translateY:it,translateZ:it,x:it,y:it,z:it,perspective:it,transformPerspective:it,opacity:gl,originX:$m,originY:$m,originZ:it},Nc={borderWidth:it,borderTopWidth:it,borderRightWidth:it,borderBottomWidth:it,borderLeftWidth:it,borderRadius:it,radius:it,borderTopLeftRadius:it,borderTopRightRadius:it,borderBottomRightRadius:it,borderBottomLeftRadius:it,width:it,maxWidth:it,height:it,maxHeight:it,top:it,right:it,bottom:it,left:it,padding:it,paddingTop:it,paddingRight:it,paddingBottom:it,paddingLeft:it,margin:it,marginTop:it,marginRight:it,marginBottom:it,marginLeft:it,backgroundPositionX:it,backgroundPositionY:it,...lx,zIndex:op,fillOpacity:gl,strokeOpacity:gl,numOctaves:op},sx={...Nc,color:Lt,backgroundColor:Lt,outlineColor:Lt,fill:Lt,stroke:Lt,borderColor:Lt,borderTopColor:Lt,borderRightColor:Lt,borderBottomColor:Lt,borderLeftColor:Lt,filter:tc,WebkitFilter:tc},Jy=a=>sx[a];function $y(a,l){let u=Jy(a);return u!==tc&&(u=Yn),u.getAnimatableNone?u.getAnimatableNone(l):void 0}const ux=new Set(["auto","none","0"]);function rx(a,l,u){let r=0,c;for(;r<a.length&&!c;){const d=a[r];typeof d=="string"&&!ux.has(d)&&vl(d).values.length&&(c=a[r]),r++}if(c&&u)for(const d of l)a[d]=$y(u,c)}class ox extends wc{constructor(l,u,r,c,d){super(l,u,r,c,d,!0)}readKeyframes(){const{unresolvedKeyframes:l,element:u,name:r}=this;if(!u||!u.current)return;super.readKeyframes();for(let p=0;p<l.length;p++){let m=l[p];if(typeof m=="string"&&(m=m.trim(),Sc(m))){const v=Ky(m,u.current);v!==void 0&&(l[p]=v),p===l.length-1&&(this.finalKeyframe=m)}}if(this.resolveNoneKeyframes(),!Qy.has(r)||l.length!==2)return;const[c,d]=l,f=rp(c),y=rp(d);if(f!==y)if(ip(f)&&ip(y))for(let p=0;p<l.length;p++){const m=l[p];typeof m=="string"&&(l[p]=parseFloat(m))}else fa[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:l,name:u}=this,r=[];for(let c=0;c<l.length;c++)(l[c]===null||ex(l[c]))&&r.push(c);r.length&&rx(l,r,u)}measureInitialState(){const{element:l,unresolvedKeyframes:u,name:r}=this;if(!l||!l.current)return;r==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=fa[r](l.measureViewportBox(),window.getComputedStyle(l.current)),u[0]=this.measuredOrigin;const c=u[u.length-1];c!==void 0&&l.getValue(r,c).jump(c,!1)}measureEndState(){const{element:l,name:u,unresolvedKeyframes:r}=this;if(!l||!l.current)return;const c=l.getValue(u);c&&c.jump(this.measuredOrigin,!1);const d=r.length-1,f=r[d];r[d]=fa[u](l.measureViewportBox(),window.getComputedStyle(l.current)),f!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=f),this.removedTransforms?.length&&this.removedTransforms.forEach(([y,p])=>{l.getValue(y).set(p)}),this.resolveNoneKeyframes()}}function cx(a,l,u){if(a instanceof EventTarget)return[a];if(typeof a=="string"){let r=document;const c=u?.[a]??r.querySelectorAll(a);return c?Array.from(c):[]}return Array.from(a)}const Fy=(a,l)=>l&&typeof a=="number"?l.transform(a):a,cp=30,fx=a=>!isNaN(parseFloat(a));class hx{constructor(l,u={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=(r,c=!0)=>{const d=fe.now();if(this.updatedAt!==d&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const f of this.dependents)f.dirty();c&&this.events.renderRequest?.notify(this.current)},this.hasAnimated=!1,this.setCurrent(l),this.owner=u.owner}setCurrent(l){this.current=l,this.updatedAt=fe.now(),this.canTrackVelocity===null&&l!==void 0&&(this.canTrackVelocity=fx(this.current))}setPrevFrameValue(l=this.current){this.prevFrameValue=l,this.prevUpdatedAt=this.updatedAt}onChange(l){return this.on("change",l)}on(l,u){this.events[l]||(this.events[l]=new gc);const r=this.events[l].add(u);return l==="change"?()=>{r(),Dt.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const l in this.events)this.events[l].clear()}attach(l,u){this.passiveEffect=l,this.stopPassiveEffect=u}set(l,u=!0){!u||!this.passiveEffect?this.updateAndNotify(l,u):this.passiveEffect(l,this.updateAndNotify)}setWithVelocity(l,u,r){this.set(u),this.prev=void 0,this.prevFrameValue=l,this.prevUpdatedAt=this.updatedAt-r}jump(l,u=!0){this.updateAndNotify(l),this.prev=l,this.prevUpdatedAt=this.prevFrameValue=void 0,u&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(l){this.dependents||(this.dependents=new Set),this.dependents.add(l)}removeDependent(l){this.dependents&&this.dependents.delete(l)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const l=fe.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||l-this.updatedAt>cp)return 0;const u=Math.min(this.updatedAt-this.prevUpdatedAt,cp);return yy(parseFloat(this.current)-parseFloat(this.prevFrameValue),u)}start(l){return this.stop(),new Promise(u=>{this.hasAnimated=!0,this.animation=l(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 ai(a,l){return new hx(a,l)}const{schedule:Vc}=Ry(queueMicrotask,!1),Be={x:!1,y:!1};function Wy(){return Be.x||Be.y}function dx(a){return a==="x"||a==="y"?Be[a]?null:(Be[a]=!0,()=>{Be[a]=!1}):Be.x||Be.y?null:(Be.x=Be.y=!0,()=>{Be.x=Be.y=!1})}function Iy(a,l){const u=cx(a),r=new AbortController,c={passive:!0,...l,signal:r.signal};return[u,c,()=>r.abort()]}function fp(a){return!(a.pointerType==="touch"||Wy())}function mx(a,l,u={}){const[r,c,d]=Iy(a,u),f=y=>{if(!fp(y))return;const{target:p}=y,m=l(p,y);if(typeof m!="function"||!p)return;const v=b=>{fp(b)&&(m(b),p.removeEventListener("pointerleave",v))};p.addEventListener("pointerleave",v,c)};return r.forEach(y=>{y.addEventListener("pointerenter",f,c)}),d}const tg=(a,l)=>l?a===l?!0:tg(a,l.parentElement):!1,zc=a=>a.pointerType==="mouse"?typeof a.button!="number"||a.button<=0:a.isPrimary!==!1,px=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function yx(a){return px.has(a.tagName)||a.tabIndex!==-1}const Ps=new WeakSet;function hp(a){return l=>{l.key==="Enter"&&a(l)}}function _o(a,l){a.dispatchEvent(new PointerEvent("pointer"+l,{isPrimary:!0,bubbles:!0}))}const gx=(a,l)=>{const u=a.currentTarget;if(!u)return;const r=hp(()=>{if(Ps.has(u))return;_o(u,"down");const c=hp(()=>{_o(u,"up")}),d=()=>_o(u,"cancel");u.addEventListener("keyup",c,l),u.addEventListener("blur",d,l)});u.addEventListener("keydown",r,l),u.addEventListener("blur",()=>u.removeEventListener("keydown",r),l)};function dp(a){return zc(a)&&!Wy()}function vx(a,l,u={}){const[r,c,d]=Iy(a,u),f=y=>{const p=y.currentTarget;if(!dp(y))return;Ps.add(p);const m=l(p,y),v=(C,U)=>{window.removeEventListener("pointerup",b),window.removeEventListener("pointercancel",T),Ps.has(p)&&Ps.delete(p),dp(C)&&typeof m=="function"&&m(C,{success:U})},b=C=>{v(C,p===window||p===document||u.useGlobalTarget||tg(p,C.target))},T=C=>{v(C,!1)};window.addEventListener("pointerup",b,c),window.addEventListener("pointercancel",T,c)};return r.forEach(y=>{(u.useGlobalTarget?window:y).addEventListener("pointerdown",f,c),Cc(y)&&(y.addEventListener("focus",m=>gx(m,c)),!yx(y)&&!y.hasAttribute("tabindex")&&(y.tabIndex=0))}),d}function eg(a){return my(a)&&"ownerSVGElement"in a}function bx(a){return eg(a)&&a.tagName==="svg"}const ae=a=>!!(a&&a.getVelocity),xx=[...Py,Lt,Yn],Sx=a=>xx.find(ky(a)),_c=Y.createContext({transformPagePoint:a=>a,isStatic:!1,reducedMotion:"never"});class Tx extends Y.Component{getSnapshotBeforeUpdate(l){const u=this.props.childRef.current;if(u&&l.isPresent&&!this.props.isPresent){const r=u.offsetParent,c=Cc(r)&&r.offsetWidth||0,d=this.props.sizeRef.current;d.height=u.offsetHeight||0,d.width=u.offsetWidth||0,d.top=u.offsetTop,d.left=u.offsetLeft,d.right=c-d.width-d.left}return null}componentDidUpdate(){}render(){return this.props.children}}function Ax({children:a,isPresent:l,anchorX:u,root:r}){const c=Y.useId(),d=Y.useRef(null),f=Y.useRef({width:0,height:0,top:0,left:0,right:0}),{nonce:y}=Y.useContext(_c);return Y.useInsertionEffect(()=>{const{width:p,height:m,top:v,left:b,right:T}=f.current;if(l||!d.current||!p||!m)return;const C=u==="left"?`left: ${b}`:`right: ${T}`;d.current.dataset.motionPopId=c;const U=document.createElement("style");y&&(U.nonce=y);const q=r??document.head;return q.appendChild(U),U.sheet&&U.sheet.insertRule(`
|
|
50
|
-
[data-motion-pop-id="${c}"] {
|
|
51
|
-
position: absolute !important;
|
|
52
|
-
width: ${p}px !important;
|
|
53
|
-
height: ${m}px !important;
|
|
54
|
-
${C}px !important;
|
|
55
|
-
top: ${v}px !important;
|
|
56
|
-
}
|
|
57
|
-
`),()=>{q.removeChild(U),q.contains(U)&&q.removeChild(U)}},[l]),S.jsx(Tx,{isPresent:l,childRef:d,sizeRef:f,children:Y.cloneElement(a,{ref:d})})}const Ex=({children:a,initial:l,isPresent:u,onExitComplete:r,custom:c,presenceAffectsLayout:d,mode:f,anchorX:y,root:p})=>{const m=fc(Mx),v=Y.useId();let b=!0,T=Y.useMemo(()=>(b=!1,{id:v,initial:l,isPresent:u,custom:c,onExitComplete:C=>{m.set(C,!0);for(const U of m.values())if(!U)return;r&&r()},register:C=>(m.set(C,!1),()=>m.delete(C))}),[u,m,r]);return d&&b&&(T={...T}),Y.useMemo(()=>{m.forEach((C,U)=>m.set(U,!1))},[u]),Y.useEffect(()=>{!u&&!m.size&&r&&r()},[u]),f==="popLayout"&&(a=S.jsx(Ax,{isPresent:u,anchorX:y,root:p,children:a})),S.jsx(iu.Provider,{value:T,children:a})};function Mx(){return new Map}function ng(a=!0){const l=Y.useContext(iu);if(l===null)return[!0,null];const{isPresent:u,onExitComplete:r,register:c}=l,d=Y.useId();Y.useEffect(()=>{if(a)return c(d)},[a]);const f=Y.useCallback(()=>a&&r&&r(d),[d,r,a]);return!u&&r?[!1,f]:[!0]}const Ks=a=>a.key||"";function mp(a){const l=[];return Y.Children.forEach(a,u=>{Y.isValidElement(u)&&l.push(u)}),l}const ri=({children:a,custom:l,initial:u=!0,onExitComplete:r,presenceAffectsLayout:c=!0,mode:d="sync",propagate:f=!1,anchorX:y="left",root:p})=>{const[m,v]=ng(f),b=Y.useMemo(()=>mp(a),[a]),T=f&&!m?[]:b.map(Ks),C=Y.useRef(!0),U=Y.useRef(b),q=fc(()=>new Map),[Z,G]=Y.useState(b),[K,L]=Y.useState(b);hy(()=>{C.current=!1,U.current=b;for(let F=0;F<K.length;F++){const nt=Ks(K[F]);T.includes(nt)?q.delete(nt):q.get(nt)!==!0&&q.set(nt,!1)}},[K,T.length,T.join("-")]);const tt=[];if(b!==Z){let F=[...b];for(let nt=0;nt<K.length;nt++){const J=K[nt],yt=Ks(J);T.includes(yt)||(F.splice(nt,0,J),tt.push(J))}return d==="wait"&&tt.length&&(F=tt),L(mp(F)),G(b),null}const{forceRender:H}=Y.useContext(cc);return S.jsx(S.Fragment,{children:K.map(F=>{const nt=Ks(F),J=f&&!m?!1:b===K||T.includes(nt),yt=()=>{if(q.has(nt))q.set(nt,!0);else return;let wt=!0;q.forEach(Xt=>{Xt||(wt=!1)}),wt&&(H?.(),L(U.current),f&&v?.(),r&&r())};return S.jsx(Ex,{isPresent:J,initial:!C.current||u?void 0:!1,custom:l,presenceAffectsLayout:c,mode:d,root:p,onExitComplete:J?void 0:yt,anchorX:y,children:F},nt)})})},ag=Y.createContext({strict:!1}),pp={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"]},ii={};for(const a in pp)ii[a]={isEnabled:l=>pp[a].some(u=>!!l[u])};function Dx(a){for(const l in a)ii[l]={...ii[l],...a[l]}}const Rx=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 tu(a){return a.startsWith("while")||a.startsWith("drag")&&a!=="draggable"||a.startsWith("layout")||a.startsWith("onTap")||a.startsWith("onPan")||a.startsWith("onLayout")||Rx.has(a)}let ig=a=>!tu(a);function Ox(a){typeof a=="function"&&(ig=l=>l.startsWith("on")?!tu(l):a(l))}try{Ox(require("@emotion/is-prop-valid").default)}catch{}function wx(a,l,u){const r={};for(const c in a)c==="values"&&typeof a.values=="object"||(ig(c)||u===!0&&tu(c)||!l&&!tu(c)||a.draggable&&c.startsWith("onDrag"))&&(r[c]=a[c]);return r}function Cx(a){if(typeof Proxy>"u")return a;const l=new Map,u=(...r)=>a(...r);return new Proxy(u,{get:(r,c)=>c==="create"?a:(l.has(c)||l.set(c,a(c)),l.get(c))})}const lu=Y.createContext({});function su(a){return a!==null&&typeof a=="object"&&typeof a.start=="function"}function bl(a){return typeof a=="string"||Array.isArray(a)}const Uc=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Bc=["initial",...Uc];function uu(a){return su(a.animate)||Bc.some(l=>bl(a[l]))}function lg(a){return!!(uu(a)||a.variants)}function jx(a,l){if(uu(a)){const{initial:u,animate:r}=a;return{initial:u===!1||bl(u)?u:void 0,animate:bl(r)?r:void 0}}return a.inherit!==!1?l:{}}function Nx(a){const{initial:l,animate:u}=jx(a,Y.useContext(lu));return Y.useMemo(()=>({initial:l,animate:u}),[yp(l),yp(u)])}function yp(a){return Array.isArray(a)?a.join(" "):a}const Vx=Symbol.for("motionComponentSymbol");function Ia(a){return a&&typeof a=="object"&&Object.prototype.hasOwnProperty.call(a,"current")}function zx(a,l,u){return Y.useCallback(r=>{r&&a.onMount&&a.onMount(r),l&&(r?l.mount(r):l.unmount()),u&&(typeof u=="function"?u(r):Ia(u)&&(u.current=r))},[l])}const Hc=a=>a.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),_x="framerAppearId",sg="data-"+Hc(_x),ug=Y.createContext({});function Ux(a,l,u,r,c){const{visualElement:d}=Y.useContext(lu),f=Y.useContext(ag),y=Y.useContext(iu),p=Y.useContext(_c).reducedMotion,m=Y.useRef(null);r=r||f.renderer,!m.current&&r&&(m.current=r(a,{visualState:l,parent:d,props:u,presenceContext:y,blockInitialAnimation:y?y.initial===!1:!1,reducedMotionConfig:p}));const v=m.current,b=Y.useContext(ug);v&&!v.projection&&c&&(v.type==="html"||v.type==="svg")&&Bx(m.current,u,c,b);const T=Y.useRef(!1);Y.useInsertionEffect(()=>{v&&T.current&&v.update(u,y)});const C=u[sg],U=Y.useRef(!!C&&!window.MotionHandoffIsComplete?.(C)&&window.MotionHasOptimisedAnimation?.(C));return hy(()=>{v&&(T.current=!0,window.MotionIsMounted=!0,v.updateFeatures(),Vc.render(v.render),U.current&&v.animationState&&v.animationState.animateChanges())}),Y.useEffect(()=>{v&&(!U.current&&v.animationState&&v.animationState.animateChanges(),U.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(C)}),U.current=!1))}),v}function Bx(a,l,u,r){const{layoutId:c,layout:d,drag:f,dragConstraints:y,layoutScroll:p,layoutRoot:m,layoutCrossfade:v}=l;a.projection=new u(a.latestValues,l["data-framer-portal-id"]?void 0:rg(a.parent)),a.projection.setOptions({layoutId:c,layout:d,alwaysMeasureLayout:!!f||y&&Ia(y),visualElement:a,animationType:typeof d=="string"?d:"both",initialPromotionConfig:r,crossfade:v,layoutScroll:p,layoutRoot:m})}function rg(a){if(a)return a.options.allowProjection!==!1?a.projection:rg(a.parent)}function Hx({preloadedFeatures:a,createVisualElement:l,useRender:u,useVisualState:r,Component:c}){a&&Dx(a);function d(y,p){let m;const v={...Y.useContext(_c),...y,layoutId:Lx(y)},{isStatic:b}=v,T=Nx(y),C=r(y,b);if(!b&&hc){qx();const U=Yx(v);m=U.MeasureLayout,T.visualElement=Ux(c,C,v,l,U.ProjectionNode)}return S.jsxs(lu.Provider,{value:T,children:[m&&T.visualElement?S.jsx(m,{visualElement:T.visualElement,...v}):null,u(c,y,zx(C,T.visualElement,p),C,b,T.visualElement)]})}d.displayName=`motion.${typeof c=="string"?c:`create(${c.displayName??c.name??""})`}`;const f=Y.forwardRef(d);return f[Vx]=c,f}function Lx({layoutId:a}){const l=Y.useContext(cc).id;return l&&a!==void 0?l+"-"+a:a}function qx(a,l){Y.useContext(ag).strict}function Yx(a){const{drag:l,layout:u}=ii;if(!l&&!u)return{};const r={...l,...u};return{MeasureLayout:l?.isEnabled(a)||u?.isEnabled(a)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}const xl={};function Gx(a){for(const l in a)xl[l]=a[l],xc(l)&&(xl[l].isCSSVariable=!0)}function og(a,{layout:l,layoutId:u}){return ui.has(a)||a.startsWith("origin")||(l||u!==void 0)&&(!!xl[a]||a==="opacity")}const Xx={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Zx=si.length;function Kx(a,l,u){let r="",c=!0;for(let d=0;d<Zx;d++){const f=si[d],y=a[f];if(y===void 0)continue;let p=!0;if(typeof y=="number"?p=y===(f.startsWith("scale")?1:0):p=parseFloat(y)===0,!p||u){const m=Fy(y,Nc[f]);if(!p){c=!1;const v=Xx[f]||f;r+=`${v}(${m}) `}u&&(l[f]=m)}}return r=r.trim(),u?r=u(l,c?"":r):c&&(r="none"),r}function Lc(a,l,u){const{style:r,vars:c,transformOrigin:d}=a;let f=!1,y=!1;for(const p in l){const m=l[p];if(ui.has(p)){f=!0;continue}else if(xc(p)){c[p]=m;continue}else{const v=Fy(m,Nc[p]);p.startsWith("origin")?(y=!0,d[p]=v):r[p]=v}}if(l.transform||(f||u?r.transform=Kx(l,a.transform,u):r.transform&&(r.transform="none")),y){const{originX:p="50%",originY:m="50%",originZ:v=0}=d;r.transformOrigin=`${p} ${m} ${v}`}}const qc=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function cg(a,l,u){for(const r in l)!ae(l[r])&&!og(r,u)&&(a[r]=l[r])}function Qx({transformTemplate:a},l){return Y.useMemo(()=>{const u=qc();return Lc(u,l,a),Object.assign({},u.vars,u.style)},[l])}function kx(a,l){const u=a.style||{},r={};return cg(r,u,a),Object.assign(r,Qx(a,l)),r}function Px(a,l){const u={},r=kx(a,l);return a.drag&&a.dragListener!==!1&&(u.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=a.drag===!0?"none":`pan-${a.drag==="x"?"y":"x"}`),a.tabIndex===void 0&&(a.onTap||a.onTapStart||a.whileTap)&&(u.tabIndex=0),u.style=r,u}const Jx={offset:"stroke-dashoffset",array:"stroke-dasharray"},$x={offset:"strokeDashoffset",array:"strokeDasharray"};function Fx(a,l,u=1,r=0,c=!0){a.pathLength=1;const d=c?Jx:$x;a[d.offset]=it.transform(-r);const f=it.transform(l),y=it.transform(u);a[d.array]=`${f} ${y}`}function fg(a,{attrX:l,attrY:u,attrScale:r,pathLength:c,pathSpacing:d=1,pathOffset:f=0,...y},p,m,v){if(Lc(a,y,m),p){a.style.viewBox&&(a.attrs.viewBox=a.style.viewBox);return}a.attrs=a.style,a.style={};const{attrs:b,style:T}=a;b.transform&&(T.transform=b.transform,delete b.transform),(T.transform||b.transformOrigin)&&(T.transformOrigin=b.transformOrigin??"50% 50%",delete b.transformOrigin),T.transform&&(T.transformBox=v?.transformBox??"fill-box",delete b.transformBox),l!==void 0&&(b.x=l),u!==void 0&&(b.y=u),r!==void 0&&(b.scale=r),c!==void 0&&Fx(b,c,d,f,!1)}const hg=()=>({...qc(),attrs:{}}),dg=a=>typeof a=="string"&&a.toLowerCase()==="svg";function Wx(a,l,u,r){const c=Y.useMemo(()=>{const d=hg();return fg(d,l,dg(r),a.transformTemplate,a.style),{...d.attrs,style:{...d.style}}},[l]);if(a.style){const d={};cg(d,a.style,a),c.style={...d,...c.style}}return c}const Ix=["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 Yc(a){return typeof a!="string"||a.includes("-")?!1:!!(Ix.indexOf(a)>-1||/[A-Z]/u.test(a))}function tS(a=!1){return(u,r,c,{latestValues:d},f)=>{const p=(Yc(u)?Wx:Px)(r,d,f,u),m=wx(r,typeof u=="string",a),v=u!==Y.Fragment?{...m,...p,ref:c}:{},{children:b}=r,T=Y.useMemo(()=>ae(b)?b.get():b,[b]);return Y.createElement(u,{...v,children:T})}}function gp(a){const l=[{},{}];return a?.values.forEach((u,r)=>{l[0][r]=u.get(),l[1][r]=u.getVelocity()}),l}function Gc(a,l,u,r){if(typeof l=="function"){const[c,d]=gp(r);l=l(u!==void 0?u:a.custom,c,d)}if(typeof l=="string"&&(l=a.variants&&a.variants[l]),typeof l=="function"){const[c,d]=gp(r);l=l(u!==void 0?u:a.custom,c,d)}return l}function Js(a){return ae(a)?a.get():a}function eS({scrapeMotionValuesFromProps:a,createRenderState:l},u,r,c){return{latestValues:nS(u,r,c,a),renderState:l()}}const mg=a=>(l,u)=>{const r=Y.useContext(lu),c=Y.useContext(iu),d=()=>eS(a,l,r,c);return u?d():fc(d)};function nS(a,l,u,r){const c={},d=r(a,{});for(const T in d)c[T]=Js(d[T]);let{initial:f,animate:y}=a;const p=uu(a),m=lg(a);l&&m&&!p&&a.inherit!==!1&&(f===void 0&&(f=l.initial),y===void 0&&(y=l.animate));let v=u?u.initial===!1:!1;v=v||f===!1;const b=v?y:f;if(b&&typeof b!="boolean"&&!su(b)){const T=Array.isArray(b)?b:[b];for(let C=0;C<T.length;C++){const U=Gc(a,T[C]);if(U){const{transitionEnd:q,transition:Z,...G}=U;for(const K in G){let L=G[K];if(Array.isArray(L)){const tt=v?L.length-1:0;L=L[tt]}L!==null&&(c[K]=L)}for(const K in q)c[K]=q[K]}}}return c}function Xc(a,l,u){const{style:r}=a,c={};for(const d in r)(ae(r[d])||l.style&&ae(l.style[d])||og(d,a)||u?.getValue(d)?.liveStyle!==void 0)&&(c[d]=r[d]);return c}const aS={useVisualState:mg({scrapeMotionValuesFromProps:Xc,createRenderState:qc})};function pg(a,l,u){const r=Xc(a,l,u);for(const c in a)if(ae(a[c])||ae(l[c])){const d=si.indexOf(c)!==-1?"attr"+c.charAt(0).toUpperCase()+c.substring(1):c;r[d]=a[c]}return r}const iS={useVisualState:mg({scrapeMotionValuesFromProps:pg,createRenderState:hg})};function lS(a,l){return function(r,{forwardMotionProps:c}={forwardMotionProps:!1}){const f={...Yc(r)?iS:aS,preloadedFeatures:a,useRender:tS(c),createVisualElement:l,Component:r};return Hx(f)}}function Sl(a,l,u){const r=a.getProps();return Gc(r,l,u!==void 0?u:r.custom,a)}const ec=a=>Array.isArray(a);function sS(a,l,u){a.hasValue(l)?a.getValue(l).set(u):a.addValue(l,ai(u))}function uS(a){return ec(a)?a[a.length-1]||0:a}function rS(a,l){const u=Sl(a,l);let{transitionEnd:r={},transition:c={},...d}=u||{};d={...d,...r};for(const f in d){const y=uS(d[f]);sS(a,f,y)}}function oS(a){return!!(ae(a)&&a.add)}function nc(a,l){const u=a.getValue("willChange");if(oS(u))return u.add(l);if(!u&&hn.WillChange){const r=new hn.WillChange("auto");a.addValue("willChange",r),r.add(l)}}function yg(a){return a.props[sg]}const cS=a=>a!==null;function fS(a,{repeat:l,repeatType:u="loop"},r){const c=a.filter(cS),d=l&&u!=="loop"&&l%2===1?0:c.length-1;return c[d]}const hS={type:"spring",stiffness:500,damping:25,restSpeed:10},dS=a=>({type:"spring",stiffness:550,damping:a===0?2*Math.sqrt(550):30,restSpeed:10}),mS={type:"keyframes",duration:.8},pS={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},yS=(a,{keyframes:l})=>l.length>2?mS:ui.has(a)?a.startsWith("scale")?dS(l[1]):hS:pS;function gS({when:a,delay:l,delayChildren:u,staggerChildren:r,staggerDirection:c,repeat:d,repeatType:f,repeatDelay:y,from:p,elapsed:m,...v}){return!!Object.keys(v).length}const Zc=(a,l,u,r={},c,d)=>f=>{const y=jc(r,a)||{},p=y.delay||r.delay||0;let{elapsed:m=0}=r;m=m-Ke(p);const v={keyframes:Array.isArray(u)?u:[null,u],ease:"easeOut",velocity:l.getVelocity(),...y,delay:-m,onUpdate:T=>{l.set(T),y.onUpdate&&y.onUpdate(T)},onComplete:()=>{f(),y.onComplete&&y.onComplete()},name:a,motionValue:l,element:d?void 0:c};gS(y)||Object.assign(v,yS(a,v)),v.duration&&(v.duration=Ke(v.duration)),v.repeatDelay&&(v.repeatDelay=Ke(v.repeatDelay)),v.from!==void 0&&(v.keyframes[0]=v.from);let b=!1;if((v.type===!1||v.duration===0&&!v.repeatDelay)&&(v.duration=0,v.delay===0&&(b=!0)),(hn.instantAnimations||hn.skipAnimations)&&(b=!0,v.duration=0,v.delay=0),v.allowFlatten=!y.type&&!y.ease,b&&!d&&l.get()!==void 0){const T=fS(v.keyframes,y);if(T!==void 0){Dt.update(()=>{v.onUpdate(T),v.onComplete()});return}}return y.isSync?new Oc(v):new Fb(v)};function vS({protectedKeys:a,needsAnimating:l},u){const r=a.hasOwnProperty(u)&&l[u]!==!0;return l[u]=!1,r}function gg(a,l,{delay:u=0,transitionOverride:r,type:c}={}){let{transition:d=a.getDefaultTransition(),transitionEnd:f,...y}=l;r&&(d=r);const p=[],m=c&&a.animationState&&a.animationState.getState()[c];for(const v in y){const b=a.getValue(v,a.latestValues[v]??null),T=y[v];if(T===void 0||m&&vS(m,v))continue;const C={delay:u,...jc(d||{},v)},U=b.get();if(U!==void 0&&!b.isAnimating&&!Array.isArray(T)&&T===U&&!C.velocity)continue;let q=!1;if(window.MotionHandoffAnimation){const G=yg(a);if(G){const K=window.MotionHandoffAnimation(G,v,Dt);K!==null&&(C.startTime=K,q=!0)}}nc(a,v),b.start(Zc(v,b,T,a.shouldReduceMotion&&Qy.has(v)?{type:!1}:C,a,q));const Z=b.animation;Z&&p.push(Z)}return f&&Promise.all(p).then(()=>{Dt.update(()=>{f&&rS(a,f)})}),p}function ac(a,l,u={}){const r=Sl(a,l,u.type==="exit"?a.presenceContext?.custom:void 0);let{transition:c=a.getDefaultTransition()||{}}=r||{};u.transitionOverride&&(c=u.transitionOverride);const d=r?()=>Promise.all(gg(a,r,u)):()=>Promise.resolve(),f=a.variantChildren&&a.variantChildren.size?(p=0)=>{const{delayChildren:m=0,staggerChildren:v,staggerDirection:b}=c;return bS(a,l,p,m,v,b,u)}:()=>Promise.resolve(),{when:y}=c;if(y){const[p,m]=y==="beforeChildren"?[d,f]:[f,d];return p().then(()=>m())}else return Promise.all([d(),f(u.delay)])}function bS(a,l,u=0,r=0,c=0,d=1,f){const y=[],p=a.variantChildren.size,m=(p-1)*c,v=typeof r=="function",b=v?T=>r(T,p):d===1?(T=0)=>T*c:(T=0)=>m-T*c;return Array.from(a.variantChildren).sort(xS).forEach((T,C)=>{T.notify("AnimationStart",l),y.push(ac(T,l,{...f,delay:u+(v?0:r)+b(C)}).then(()=>T.notify("AnimationComplete",l)))}),Promise.all(y)}function xS(a,l){return a.sortNodePosition(l)}function SS(a,l,u={}){a.notify("AnimationStart",l);let r;if(Array.isArray(l)){const c=l.map(d=>ac(a,d,u));r=Promise.all(c)}else if(typeof l=="string")r=ac(a,l,u);else{const c=typeof l=="function"?Sl(a,l,u.custom):l;r=Promise.all(gg(a,c,u))}return r.then(()=>{a.notify("AnimationComplete",l)})}function vg(a,l){if(!Array.isArray(l))return!1;const u=l.length;if(u!==a.length)return!1;for(let r=0;r<u;r++)if(l[r]!==a[r])return!1;return!0}const TS=Bc.length;function bg(a){if(!a)return;if(!a.isControllingVariants){const u=a.parent?bg(a.parent)||{}:{};return a.props.initial!==void 0&&(u.initial=a.props.initial),u}const l={};for(let u=0;u<TS;u++){const r=Bc[u],c=a.props[r];(bl(c)||c===!1)&&(l[r]=c)}return l}const AS=[...Uc].reverse(),ES=Uc.length;function MS(a){return l=>Promise.all(l.map(({animation:u,options:r})=>SS(a,u,r)))}function DS(a){let l=MS(a),u=vp(),r=!0;const c=p=>(m,v)=>{const b=Sl(a,v,p==="exit"?a.presenceContext?.custom:void 0);if(b){const{transition:T,transitionEnd:C,...U}=b;m={...m,...U,...C}}return m};function d(p){l=p(a)}function f(p){const{props:m}=a,v=bg(a.parent)||{},b=[],T=new Set;let C={},U=1/0;for(let Z=0;Z<ES;Z++){const G=AS[Z],K=u[G],L=m[G]!==void 0?m[G]:v[G],tt=bl(L),H=G===p?K.isActive:null;H===!1&&(U=Z);let F=L===v[G]&&L!==m[G]&&tt;if(F&&r&&a.manuallyAnimateOnMount&&(F=!1),K.protectedKeys={...C},!K.isActive&&H===null||!L&&!K.prevProp||su(L)||typeof L=="boolean")continue;const nt=RS(K.prevProp,L);let J=nt||G===p&&K.isActive&&!F&&tt||Z>U&&tt,yt=!1;const wt=Array.isArray(L)?L:[L];let Xt=wt.reduce(c(G),{});H===!1&&(Xt={});const{prevResolvedValues:qt={}}=K,Pe={...qt,...Xt},He=B=>{J=!0,T.has(B)&&(yt=!0,T.delete(B)),K.needsAnimating[B]=!0;const P=a.getValue(B);P&&(P.liveStyle=!1)};for(const B in Pe){const P=Xt[B],mt=qt[B];if(C.hasOwnProperty(B))continue;let A=!1;ec(P)&&ec(mt)?A=!vg(P,mt):A=P!==mt,A?P!=null?He(B):T.add(B):P!==void 0&&T.has(B)?He(B):K.protectedKeys[B]=!0}K.prevProp=L,K.prevResolvedValues=Xt,K.isActive&&(C={...C,...Xt}),r&&a.blockInitialAnimation&&(J=!1),J&&(!(F&&nt)||yt)&&b.push(...wt.map(B=>({animation:B,options:{type:G}})))}if(T.size){const Z={};if(typeof m.initial!="boolean"){const G=Sl(a,Array.isArray(m.initial)?m.initial[0]:m.initial);G&&G.transition&&(Z.transition=G.transition)}T.forEach(G=>{const K=a.getBaseTarget(G),L=a.getValue(G);L&&(L.liveStyle=!0),Z[G]=K??null}),b.push({animation:Z})}let q=!!b.length;return r&&(m.initial===!1||m.initial===m.animate)&&!a.manuallyAnimateOnMount&&(q=!1),r=!1,q?l(b):Promise.resolve()}function y(p,m){if(u[p].isActive===m)return Promise.resolve();a.variantChildren?.forEach(b=>b.animationState?.setActive(p,m)),u[p].isActive=m;const v=f(p);for(const b in u)u[b].protectedKeys={};return v}return{animateChanges:f,setActive:y,setAnimateFunction:d,getState:()=>u,reset:()=>{u=vp(),r=!0}}}function RS(a,l){return typeof l=="string"?l!==a:Array.isArray(l)?!vg(l,a):!1}function ua(a=!1){return{isActive:a,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function vp(){return{animate:ua(!0),whileInView:ua(),whileHover:ua(),whileTap:ua(),whileDrag:ua(),whileFocus:ua(),exit:ua()}}class Gn{constructor(l){this.isMounted=!1,this.node=l}update(){}}class OS extends Gn{constructor(l){super(l),l.animationState||(l.animationState=DS(l))}updateAnimationControlsSubscription(){const{animate:l}=this.node.getProps();su(l)&&(this.unmountControls=l.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:l}=this.node.getProps(),{animate:u}=this.node.prevProps||{};l!==u&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let wS=0;class CS extends Gn{constructor(){super(...arguments),this.id=wS++}update(){if(!this.node.presenceContext)return;const{isPresent:l,onExitComplete:u}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||l===r)return;const c=this.node.animationState.setActive("exit",!l);u&&!l&&c.then(()=>{u(this.id)})}mount(){const{register:l,onExitComplete:u}=this.node.presenceContext||{};u&&u(this.id),l&&(this.unmount=l(this.id))}unmount(){}}const jS={animation:{Feature:OS},exit:{Feature:CS}};function Tl(a,l,u,r={passive:!0}){return a.addEventListener(l,u,r),()=>a.removeEventListener(l,u)}function Rl(a){return{point:{x:a.pageX,y:a.pageY}}}const NS=a=>l=>zc(l)&&a(l,Rl(l));function dl(a,l,u,r){return Tl(a,l,NS(u),r)}function xg({top:a,left:l,right:u,bottom:r}){return{x:{min:l,max:u},y:{min:a,max:r}}}function VS({x:a,y:l}){return{top:l.min,right:a.max,bottom:l.max,left:a.min}}function zS(a,l){if(!l)return a;const u=l({x:a.left,y:a.top}),r=l({x:a.right,y:a.bottom});return{top:u.y,left:u.x,bottom:r.y,right:r.x}}const Sg=1e-4,_S=1-Sg,US=1+Sg,Tg=.01,BS=0-Tg,HS=0+Tg;function le(a){return a.max-a.min}function LS(a,l,u){return Math.abs(a-l)<=u}function bp(a,l,u,r=.5){a.origin=r,a.originPoint=Ot(l.min,l.max,a.origin),a.scale=le(u)/le(l),a.translate=Ot(u.min,u.max,a.origin)-a.originPoint,(a.scale>=_S&&a.scale<=US||isNaN(a.scale))&&(a.scale=1),(a.translate>=BS&&a.translate<=HS||isNaN(a.translate))&&(a.translate=0)}function ml(a,l,u,r){bp(a.x,l.x,u.x,r?r.originX:void 0),bp(a.y,l.y,u.y,r?r.originY:void 0)}function xp(a,l,u){a.min=u.min+l.min,a.max=a.min+le(l)}function qS(a,l,u){xp(a.x,l.x,u.x),xp(a.y,l.y,u.y)}function Sp(a,l,u){a.min=l.min-u.min,a.max=a.min+le(l)}function pl(a,l,u){Sp(a.x,l.x,u.x),Sp(a.y,l.y,u.y)}const Tp=()=>({translate:0,scale:1,origin:0,originPoint:0}),ti=()=>({x:Tp(),y:Tp()}),Ap=()=>({min:0,max:0}),Ut=()=>({x:Ap(),y:Ap()});function Ne(a){return[a("x"),a("y")]}function Uo(a){return a===void 0||a===1}function ic({scale:a,scaleX:l,scaleY:u}){return!Uo(a)||!Uo(l)||!Uo(u)}function ra(a){return ic(a)||Ag(a)||a.z||a.rotate||a.rotateX||a.rotateY||a.skewX||a.skewY}function Ag(a){return Ep(a.x)||Ep(a.y)}function Ep(a){return a&&a!=="0%"}function eu(a,l,u){const r=a-u,c=l*r;return u+c}function Mp(a,l,u,r,c){return c!==void 0&&(a=eu(a,c,r)),eu(a,u,r)+l}function lc(a,l=0,u=1,r,c){a.min=Mp(a.min,l,u,r,c),a.max=Mp(a.max,l,u,r,c)}function Eg(a,{x:l,y:u}){lc(a.x,l.translate,l.scale,l.originPoint),lc(a.y,u.translate,u.scale,u.originPoint)}const Dp=.999999999999,Rp=1.0000000000001;function YS(a,l,u,r=!1){const c=u.length;if(!c)return;l.x=l.y=1;let d,f;for(let y=0;y<c;y++){d=u[y],f=d.projectionDelta;const{visualElement:p}=d.options;p&&p.props.style&&p.props.style.display==="contents"||(r&&d.options.layoutScroll&&d.scroll&&d!==d.root&&ni(a,{x:-d.scroll.offset.x,y:-d.scroll.offset.y}),f&&(l.x*=f.x.scale,l.y*=f.y.scale,Eg(a,f)),r&&ra(d.latestValues)&&ni(a,d.latestValues))}l.x<Rp&&l.x>Dp&&(l.x=1),l.y<Rp&&l.y>Dp&&(l.y=1)}function ei(a,l){a.min=a.min+l,a.max=a.max+l}function Op(a,l,u,r,c=.5){const d=Ot(a.min,a.max,c);lc(a,l,u,d,r)}function ni(a,l){Op(a.x,l.x,l.scaleX,l.scale,l.originX),Op(a.y,l.y,l.scaleY,l.scale,l.originY)}function Mg(a,l){return xg(zS(a.getBoundingClientRect(),l))}function GS(a,l,u){const r=Mg(a,u),{scroll:c}=l;return c&&(ei(r.x,c.offset.x),ei(r.y,c.offset.y)),r}const Dg=({current:a})=>a?a.ownerDocument.defaultView:null,wp=(a,l)=>Math.abs(a-l);function XS(a,l){const u=wp(a.x,l.x),r=wp(a.y,l.y);return Math.sqrt(u**2+r**2)}class Rg{constructor(l,u,{transformPagePoint:r,contextWindow:c=window,dragSnapToOrigin:d=!1,distanceThreshold:f=3}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const T=Ho(this.lastMoveEventInfo,this.history),C=this.startEvent!==null,U=XS(T.offset,{x:0,y:0})>=this.distanceThreshold;if(!C&&!U)return;const{point:q}=T,{timestamp:Z}=It;this.history.push({...q,timestamp:Z});const{onStart:G,onMove:K}=this.handlers;C||(G&&G(this.lastMoveEvent,T),this.startEvent=this.lastMoveEvent),K&&K(this.lastMoveEvent,T)},this.handlePointerMove=(T,C)=>{this.lastMoveEvent=T,this.lastMoveEventInfo=Bo(C,this.transformPagePoint),Dt.update(this.updatePoint,!0)},this.handlePointerUp=(T,C)=>{this.end();const{onEnd:U,onSessionEnd:q,resumeAnimation:Z}=this.handlers;if(this.dragSnapToOrigin&&Z&&Z(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const G=Ho(T.type==="pointercancel"?this.lastMoveEventInfo:Bo(C,this.transformPagePoint),this.history);this.startEvent&&U&&U(T,G),q&&q(T,G)},!zc(l))return;this.dragSnapToOrigin=d,this.handlers=u,this.transformPagePoint=r,this.distanceThreshold=f,this.contextWindow=c||window;const y=Rl(l),p=Bo(y,this.transformPagePoint),{point:m}=p,{timestamp:v}=It;this.history=[{...m,timestamp:v}];const{onSessionStart:b}=u;b&&b(l,Ho(p,this.history)),this.removeListeners=El(dl(this.contextWindow,"pointermove",this.handlePointerMove),dl(this.contextWindow,"pointerup",this.handlePointerUp),dl(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(l){this.handlers=l}end(){this.removeListeners&&this.removeListeners(),qn(this.updatePoint)}}function Bo(a,l){return l?{point:l(a.point)}:a}function Cp(a,l){return{x:a.x-l.x,y:a.y-l.y}}function Ho({point:a},l){return{point:a,delta:Cp(a,Og(l)),offset:Cp(a,ZS(l)),velocity:KS(l,.1)}}function ZS(a){return a[0]}function Og(a){return a[a.length-1]}function KS(a,l){if(a.length<2)return{x:0,y:0};let u=a.length-1,r=null;const c=Og(a);for(;u>=0&&(r=a[u],!(c.timestamp-r.timestamp>Ke(l)));)u--;if(!r)return{x:0,y:0};const d=Qe(c.timestamp-r.timestamp);if(d===0)return{x:0,y:0};const f={x:(c.x-r.x)/d,y:(c.y-r.y)/d};return f.x===1/0&&(f.x=0),f.y===1/0&&(f.y=0),f}function QS(a,{min:l,max:u},r){return l!==void 0&&a<l?a=r?Ot(l,a,r.min):Math.max(a,l):u!==void 0&&a>u&&(a=r?Ot(u,a,r.max):Math.min(a,u)),a}function jp(a,l,u){return{min:l!==void 0?a.min+l:void 0,max:u!==void 0?a.max+u-(a.max-a.min):void 0}}function kS(a,{top:l,left:u,bottom:r,right:c}){return{x:jp(a.x,u,c),y:jp(a.y,l,r)}}function Np(a,l){let u=l.min-a.min,r=l.max-a.max;return l.max-l.min<a.max-a.min&&([u,r]=[r,u]),{min:u,max:r}}function PS(a,l){return{x:Np(a.x,l.x),y:Np(a.y,l.y)}}function JS(a,l){let u=.5;const r=le(a),c=le(l);return c>r?u=yl(l.min,l.max-r,a.min):r>c&&(u=yl(a.min,a.max-c,l.min)),fn(0,1,u)}function $S(a,l){const u={};return l.min!==void 0&&(u.min=l.min-a.min),l.max!==void 0&&(u.max=l.max-a.min),u}const sc=.35;function FS(a=sc){return a===!1?a=0:a===!0&&(a=sc),{x:Vp(a,"left","right"),y:Vp(a,"top","bottom")}}function Vp(a,l,u){return{min:zp(a,l),max:zp(a,u)}}function zp(a,l){return typeof a=="number"?a:a[l]||0}const WS=new WeakMap;class IS{constructor(l){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Ut(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=l}start(l,{snapToCursor:u=!1,distanceThreshold:r}={}){const{presenceContext:c}=this.visualElement;if(c&&c.isPresent===!1)return;const d=b=>{const{dragSnapToOrigin:T}=this.getProps();T?this.pauseAnimation():this.stopAnimation(),u&&this.snapToCursor(Rl(b).point)},f=(b,T)=>{const{drag:C,dragPropagation:U,onDragStart:q}=this.getProps();if(C&&!U&&(this.openDragLock&&this.openDragLock(),this.openDragLock=dx(C),!this.openDragLock))return;this.latestPointerEvent=b,this.latestPanInfo=T,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Ne(G=>{let K=this.getAxisMotionValue(G).get()||0;if(ke.test(K)){const{projection:L}=this.visualElement;if(L&&L.layout){const tt=L.layout.layoutBox[G];tt&&(K=le(tt)*(parseFloat(K)/100))}}this.originPoint[G]=K}),q&&Dt.postRender(()=>q(b,T)),nc(this.visualElement,"transform");const{animationState:Z}=this.visualElement;Z&&Z.setActive("whileDrag",!0)},y=(b,T)=>{this.latestPointerEvent=b,this.latestPanInfo=T;const{dragPropagation:C,dragDirectionLock:U,onDirectionLock:q,onDrag:Z}=this.getProps();if(!C&&!this.openDragLock)return;const{offset:G}=T;if(U&&this.currentDirection===null){this.currentDirection=tT(G),this.currentDirection!==null&&q&&q(this.currentDirection);return}this.updateAxis("x",T.point,G),this.updateAxis("y",T.point,G),this.visualElement.render(),Z&&Z(b,T)},p=(b,T)=>{this.latestPointerEvent=b,this.latestPanInfo=T,this.stop(b,T),this.latestPointerEvent=null,this.latestPanInfo=null},m=()=>Ne(b=>this.getAnimationState(b)==="paused"&&this.getAxisMotionValue(b).animation?.play()),{dragSnapToOrigin:v}=this.getProps();this.panSession=new Rg(l,{onSessionStart:d,onStart:f,onMove:y,onSessionEnd:p,resumeAnimation:m},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:v,distanceThreshold:r,contextWindow:Dg(this.visualElement)})}stop(l,u){const r=l||this.latestPointerEvent,c=u||this.latestPanInfo,d=this.isDragging;if(this.cancel(),!d||!c||!r)return;const{velocity:f}=c;this.startAnimation(f);const{onDragEnd:y}=this.getProps();y&&Dt.postRender(()=>y(r,c))}cancel(){this.isDragging=!1;const{projection:l,animationState:u}=this.visualElement;l&&(l.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),u&&u.setActive("whileDrag",!1)}updateAxis(l,u,r){const{drag:c}=this.getProps();if(!r||!Qs(l,c,this.currentDirection))return;const d=this.getAxisMotionValue(l);let f=this.originPoint[l]+r[l];this.constraints&&this.constraints[l]&&(f=QS(f,this.constraints[l],this.elastic[l])),d.set(f)}resolveConstraints(){const{dragConstraints:l,dragElastic:u}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,c=this.constraints;l&&Ia(l)?this.constraints||(this.constraints=this.resolveRefConstraints()):l&&r?this.constraints=kS(r.layoutBox,l):this.constraints=!1,this.elastic=FS(u),c!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&Ne(d=>{this.constraints!==!1&&this.getAxisMotionValue(d)&&(this.constraints[d]=$S(r.layoutBox[d],this.constraints[d]))})}resolveRefConstraints(){const{dragConstraints:l,onMeasureDragConstraints:u}=this.getProps();if(!l||!Ia(l))return!1;const r=l.current,{projection:c}=this.visualElement;if(!c||!c.layout)return!1;const d=GS(r,c.root,this.visualElement.getTransformPagePoint());let f=PS(c.layout.layoutBox,d);if(u){const y=u(VS(f));this.hasMutatedConstraints=!!y,y&&(f=xg(y))}return f}startAnimation(l){const{drag:u,dragMomentum:r,dragElastic:c,dragTransition:d,dragSnapToOrigin:f,onDragTransitionEnd:y}=this.getProps(),p=this.constraints||{},m=Ne(v=>{if(!Qs(v,u,this.currentDirection))return;let b=p&&p[v]||{};f&&(b={min:0,max:0});const T=c?200:1e6,C=c?40:1e7,U={type:"inertia",velocity:r?l[v]:0,bounceStiffness:T,bounceDamping:C,timeConstant:750,restDelta:1,restSpeed:10,...d,...b};return this.startAxisValueAnimation(v,U)});return Promise.all(m).then(y)}startAxisValueAnimation(l,u){const r=this.getAxisMotionValue(l);return nc(this.visualElement,l),r.start(Zc(l,r,0,u,this.visualElement,!1))}stopAnimation(){Ne(l=>this.getAxisMotionValue(l).stop())}pauseAnimation(){Ne(l=>this.getAxisMotionValue(l).animation?.pause())}getAnimationState(l){return this.getAxisMotionValue(l).animation?.state}getAxisMotionValue(l){const u=`_drag${l.toUpperCase()}`,r=this.visualElement.getProps(),c=r[u];return c||this.visualElement.getValue(l,(r.initial?r.initial[l]:void 0)||0)}snapToCursor(l){Ne(u=>{const{drag:r}=this.getProps();if(!Qs(u,r,this.currentDirection))return;const{projection:c}=this.visualElement,d=this.getAxisMotionValue(u);if(c&&c.layout){const{min:f,max:y}=c.layout.layoutBox[u];d.set(l[u]-Ot(f,y,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:l,dragConstraints:u}=this.getProps(),{projection:r}=this.visualElement;if(!Ia(u)||!r||!this.constraints)return;this.stopAnimation();const c={x:0,y:0};Ne(f=>{const y=this.getAxisMotionValue(f);if(y&&this.constraints!==!1){const p=y.get();c[f]=JS({min:p,max:p},this.constraints[f])}});const{transformTemplate:d}=this.visualElement.getProps();this.visualElement.current.style.transform=d?d({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),Ne(f=>{if(!Qs(f,l,null))return;const y=this.getAxisMotionValue(f),{min:p,max:m}=this.constraints[f];y.set(Ot(p,m,c[f]))})}addListeners(){if(!this.visualElement.current)return;WS.set(this.visualElement,this);const l=this.visualElement.current,u=dl(l,"pointerdown",p=>{const{drag:m,dragListener:v=!0}=this.getProps();m&&v&&this.start(p)}),r=()=>{const{dragConstraints:p}=this.getProps();Ia(p)&&p.current&&(this.constraints=this.resolveRefConstraints())},{projection:c}=this.visualElement,d=c.addEventListener("measure",r);c&&!c.layout&&(c.root&&c.root.updateScroll(),c.updateLayout()),Dt.read(r);const f=Tl(window,"resize",()=>this.scalePositionWithinConstraints()),y=c.addEventListener("didUpdate",({delta:p,hasLayoutChanged:m})=>{this.isDragging&&m&&(Ne(v=>{const b=this.getAxisMotionValue(v);b&&(this.originPoint[v]+=p[v].translate,b.set(b.get()+p[v].translate))}),this.visualElement.render())});return()=>{f(),u(),d(),y&&y()}}getProps(){const l=this.visualElement.getProps(),{drag:u=!1,dragDirectionLock:r=!1,dragPropagation:c=!1,dragConstraints:d=!1,dragElastic:f=sc,dragMomentum:y=!0}=l;return{...l,drag:u,dragDirectionLock:r,dragPropagation:c,dragConstraints:d,dragElastic:f,dragMomentum:y}}}function Qs(a,l,u){return(l===!0||l===a)&&(u===null||u===a)}function tT(a,l=10){let u=null;return Math.abs(a.y)>l?u="y":Math.abs(a.x)>l&&(u="x"),u}class eT extends Gn{constructor(l){super(l),this.removeGroupControls=Ve,this.removeListeners=Ve,this.controls=new IS(l)}mount(){const{dragControls:l}=this.node.getProps();l&&(this.removeGroupControls=l.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Ve}unmount(){this.removeGroupControls(),this.removeListeners()}}const _p=a=>(l,u)=>{a&&Dt.postRender(()=>a(l,u))};class nT extends Gn{constructor(){super(...arguments),this.removePointerDownListener=Ve}onPointerDown(l){this.session=new Rg(l,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Dg(this.node)})}createPanHandlers(){const{onPanSessionStart:l,onPanStart:u,onPan:r,onPanEnd:c}=this.node.getProps();return{onSessionStart:_p(l),onStart:_p(u),onMove:r,onEnd:(d,f)=>{delete this.session,c&&Dt.postRender(()=>c(d,f))}}}mount(){this.removePointerDownListener=dl(this.node.current,"pointerdown",l=>this.onPointerDown(l))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const $s={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Up(a,l){return l.max===l.min?0:a/(l.max-l.min)*100}const ol={correct:(a,l)=>{if(!l.target)return a;if(typeof a=="string")if(it.test(a))a=parseFloat(a);else return a;const u=Up(a,l.target.x),r=Up(a,l.target.y);return`${u}% ${r}%`}},aT={correct:(a,{treeScale:l,projectionDelta:u})=>{const r=a,c=Yn.parse(a);if(c.length>5)return r;const d=Yn.createTransformer(a),f=typeof c[0]!="number"?1:0,y=u.x.scale*l.x,p=u.y.scale*l.y;c[0+f]/=y,c[1+f]/=p;const m=Ot(y,p,.5);return typeof c[2+f]=="number"&&(c[2+f]/=m),typeof c[3+f]=="number"&&(c[3+f]/=m),d(c)}};let Bp=!1;class iT extends Y.Component{componentDidMount(){const{visualElement:l,layoutGroup:u,switchLayoutGroup:r,layoutId:c}=this.props,{projection:d}=l;Gx(lT),d&&(u.group&&u.group.add(d),r&&r.register&&c&&r.register(d),Bp&&d.root.didUpdate(),d.addEventListener("animationComplete",()=>{this.safeToRemove()}),d.setOptions({...d.options,onExitComplete:()=>this.safeToRemove()})),$s.hasEverUpdated=!0}getSnapshotBeforeUpdate(l){const{layoutDependency:u,visualElement:r,drag:c,isPresent:d}=this.props,{projection:f}=r;return f&&(f.isPresent=d,Bp=!0,c||l.layoutDependency!==u||u===void 0||l.isPresent!==d?f.willUpdate():this.safeToRemove(),l.isPresent!==d&&(d?f.promote():f.relegate()||Dt.postRender(()=>{const y=f.getStack();(!y||!y.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:l}=this.props.visualElement;l&&(l.root.didUpdate(),Vc.postRender(()=>{!l.currentAnimation&&l.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:l,layoutGroup:u,switchLayoutGroup:r}=this.props,{projection:c}=l;c&&(c.scheduleCheckAfterUnmount(),u&&u.group&&u.group.remove(c),r&&r.deregister&&r.deregister(c))}safeToRemove(){const{safeToRemove:l}=this.props;l&&l()}render(){return null}}function wg(a){const[l,u]=ng(),r=Y.useContext(cc);return S.jsx(iT,{...a,layoutGroup:r,switchLayoutGroup:Y.useContext(ug),isPresent:l,safeToRemove:u})}const lT={borderRadius:{...ol,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:ol,borderTopRightRadius:ol,borderBottomLeftRadius:ol,borderBottomRightRadius:ol,boxShadow:aT};function sT(a,l,u){const r=ae(a)?a:ai(a);return r.start(Zc("",r,l,u)),r.animation}const uT=(a,l)=>a.depth-l.depth;class rT{constructor(){this.children=[],this.isDirty=!1}add(l){dc(this.children,l),this.isDirty=!0}remove(l){mc(this.children,l),this.isDirty=!0}forEach(l){this.isDirty&&this.children.sort(uT),this.isDirty=!1,this.children.forEach(l)}}function oT(a,l){const u=fe.now(),r=({timestamp:c})=>{const d=c-u;d>=l&&(qn(r),a(d-l))};return Dt.setup(r,!0),()=>qn(r)}const Cg=["TopLeft","TopRight","BottomLeft","BottomRight"],cT=Cg.length,Hp=a=>typeof a=="string"?parseFloat(a):a,Lp=a=>typeof a=="number"||it.test(a);function fT(a,l,u,r,c,d){c?(a.opacity=Ot(0,u.opacity??1,hT(r)),a.opacityExit=Ot(l.opacity??1,0,dT(r))):d&&(a.opacity=Ot(l.opacity??1,u.opacity??1,r));for(let f=0;f<cT;f++){const y=`border${Cg[f]}Radius`;let p=qp(l,y),m=qp(u,y);if(p===void 0&&m===void 0)continue;p||(p=0),m||(m=0),p===0||m===0||Lp(p)===Lp(m)?(a[y]=Math.max(Ot(Hp(p),Hp(m),r),0),(ke.test(m)||ke.test(p))&&(a[y]+="%")):a[y]=m}(l.rotate||u.rotate)&&(a.rotate=Ot(l.rotate||0,u.rotate||0,r))}function qp(a,l){return a[l]!==void 0?a[l]:a.borderRadius}const hT=jg(0,.5,Ay),dT=jg(.5,.95,Ve);function jg(a,l,u){return r=>r<a?0:r>l?1:u(yl(a,l,r))}function Yp(a,l){a.min=l.min,a.max=l.max}function je(a,l){Yp(a.x,l.x),Yp(a.y,l.y)}function Gp(a,l){a.translate=l.translate,a.scale=l.scale,a.originPoint=l.originPoint,a.origin=l.origin}function Xp(a,l,u,r,c){return a-=l,a=eu(a,1/u,r),c!==void 0&&(a=eu(a,1/c,r)),a}function mT(a,l=0,u=1,r=.5,c,d=a,f=a){if(ke.test(l)&&(l=parseFloat(l),l=Ot(f.min,f.max,l/100)-f.min),typeof l!="number")return;let y=Ot(d.min,d.max,r);a===d&&(y-=l),a.min=Xp(a.min,l,u,y,c),a.max=Xp(a.max,l,u,y,c)}function Zp(a,l,[u,r,c],d,f){mT(a,l[u],l[r],l[c],l.scale,d,f)}const pT=["x","scaleX","originX"],yT=["y","scaleY","originY"];function Kp(a,l,u,r){Zp(a.x,l,pT,u?u.x:void 0,r?r.x:void 0),Zp(a.y,l,yT,u?u.y:void 0,r?r.y:void 0)}function Qp(a){return a.translate===0&&a.scale===1}function Ng(a){return Qp(a.x)&&Qp(a.y)}function kp(a,l){return a.min===l.min&&a.max===l.max}function gT(a,l){return kp(a.x,l.x)&&kp(a.y,l.y)}function Pp(a,l){return Math.round(a.min)===Math.round(l.min)&&Math.round(a.max)===Math.round(l.max)}function Vg(a,l){return Pp(a.x,l.x)&&Pp(a.y,l.y)}function Jp(a){return le(a.x)/le(a.y)}function $p(a,l){return a.translate===l.translate&&a.scale===l.scale&&a.originPoint===l.originPoint}class vT{constructor(){this.members=[]}add(l){dc(this.members,l),l.scheduleRender()}remove(l){if(mc(this.members,l),l===this.prevLead&&(this.prevLead=void 0),l===this.lead){const u=this.members[this.members.length-1];u&&this.promote(u)}}relegate(l){const u=this.members.findIndex(c=>l===c);if(u===0)return!1;let r;for(let c=u;c>=0;c--){const d=this.members[c];if(d.isPresent!==!1){r=d;break}}return r?(this.promote(r),!0):!1}promote(l,u){const r=this.lead;if(l!==r&&(this.prevLead=r,this.lead=l,l.show(),r)){r.instance&&r.scheduleRender(),l.scheduleRender(),l.resumeFrom=r,u&&(l.resumeFrom.preserveOpacity=!0),r.snapshot&&(l.snapshot=r.snapshot,l.snapshot.latestValues=r.animationValues||r.latestValues),l.root&&l.root.isUpdating&&(l.isLayoutDirty=!0);const{crossfade:c}=l.options;c===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(l=>{const{options:u,resumingFrom:r}=l;u.onExitComplete&&u.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(l=>{l.instance&&l.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function bT(a,l,u){let r="";const c=a.x.translate/l.x,d=a.y.translate/l.y,f=u?.z||0;if((c||d||f)&&(r=`translate3d(${c}px, ${d}px, ${f}px) `),(l.x!==1||l.y!==1)&&(r+=`scale(${1/l.x}, ${1/l.y}) `),u){const{transformPerspective:m,rotate:v,rotateX:b,rotateY:T,skewX:C,skewY:U}=u;m&&(r=`perspective(${m}px) ${r}`),v&&(r+=`rotate(${v}deg) `),b&&(r+=`rotateX(${b}deg) `),T&&(r+=`rotateY(${T}deg) `),C&&(r+=`skewX(${C}deg) `),U&&(r+=`skewY(${U}deg) `)}const y=a.x.scale*l.x,p=a.y.scale*l.y;return(y!==1||p!==1)&&(r+=`scale(${y}, ${p})`),r||"none"}const Lo=["","X","Y","Z"],xT=1e3;let ST=0;function qo(a,l,u,r){const{latestValues:c}=l;c[a]&&(u[a]=c[a],l.setStaticValue(a,0),r&&(r[a]=0))}function zg(a){if(a.hasCheckedOptimisedAppear=!0,a.root===a)return;const{visualElement:l}=a.options;if(!l)return;const u=yg(l);if(window.MotionHasOptimisedAnimation(u,"transform")){const{layout:c,layoutId:d}=a.options;window.MotionCancelOptimisedAnimation(u,"transform",Dt,!(c||d))}const{parent:r}=a;r&&!r.hasCheckedOptimisedAppear&&zg(r)}function _g({attachResizeListener:a,defaultParent:l,measureScroll:u,checkIsScrollRoot:r,resetTransform:c}){return class{constructor(f={},y=l?.()){this.id=ST++,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.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(ET),this.nodes.forEach(OT),this.nodes.forEach(wT),this.nodes.forEach(MT)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=f,this.root=y?y.root||y:this,this.path=y?[...y.path,y]:[],this.parent=y,this.depth=y?y.depth+1:0;for(let p=0;p<this.path.length;p++)this.path[p].shouldResetTransform=!0;this.root===this&&(this.nodes=new rT)}addEventListener(f,y){return this.eventHandlers.has(f)||this.eventHandlers.set(f,new gc),this.eventHandlers.get(f).add(y)}notifyListeners(f,...y){const p=this.eventHandlers.get(f);p&&p.notify(...y)}hasListeners(f){return this.eventHandlers.has(f)}mount(f){if(this.instance)return;this.isSVG=eg(f)&&!bx(f),this.instance=f;const{layoutId:y,layout:p,visualElement:m}=this.options;if(m&&!m.current&&m.mount(f),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(p||y)&&(this.isLayoutDirty=!0),a){let v,b=0;const T=()=>this.root.updateBlockedByResize=!1;Dt.read(()=>{b=window.innerWidth}),a(f,()=>{const C=window.innerWidth;C!==b&&(b=C,this.root.updateBlockedByResize=!0,v&&v(),v=oT(T,250),$s.hasAnimatedSinceResize&&($s.hasAnimatedSinceResize=!1,this.nodes.forEach(Ip)))})}y&&this.root.registerSharedNode(y,this),this.options.animate!==!1&&m&&(y||p)&&this.addEventListener("didUpdate",({delta:v,hasLayoutChanged:b,hasRelativeLayoutChanged:T,layout:C})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const U=this.options.transition||m.getDefaultTransition()||zT,{onLayoutAnimationStart:q,onLayoutAnimationComplete:Z}=m.getProps(),G=!this.targetLayout||!Vg(this.targetLayout,C),K=!b&&T;if(this.options.layoutRoot||this.resumeFrom||K||b&&(G||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const L={...jc(U,"layout"),onPlay:q,onComplete:Z};(m.shouldReduceMotion||this.options.layoutRoot)&&(L.delay=0,L.type=!1),this.startAnimation(L),this.setAnimationOrigin(v,K)}else b||Ip(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=C})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const f=this.getStack();f&&f.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),qn(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(CT),this.animationId++)}getTransformTemplate(){const{visualElement:f}=this.options;return f&&f.getProps().transformTemplate}willUpdate(f=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&zg(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let v=0;v<this.path.length;v++){const b=this.path[v];b.shouldResetTransform=!0,b.updateScroll("snapshot"),b.options.layoutRoot&&b.willUpdate(!1)}const{layoutId:y,layout:p}=this.options;if(y===void 0&&!p)return;const m=this.getTransformTemplate();this.prevTransformTemplateValue=m?m(this.latestValues,""):void 0,this.updateSnapshot(),f&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(Fp);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(Wp);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(RT),this.nodes.forEach(TT),this.nodes.forEach(AT)):this.nodes.forEach(Wp),this.clearAllSnapshots();const y=fe.now();It.delta=fn(0,1e3/60,y-It.timestamp),It.timestamp=y,It.isProcessing=!0,Co.update.process(It),Co.preRender.process(It),Co.render.process(It),It.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Vc.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(DT),this.sharedNodes.forEach(jT)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Dt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Dt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!le(this.snapshot.measuredBox.x)&&!le(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 p=0;p<this.path.length;p++)this.path[p].updateScroll();const f=this.layout;this.layout=this.measure(!1),this.layoutCorrected=Ut(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:y}=this.options;y&&y.notify("LayoutMeasure",this.layout.layoutBox,f?f.layoutBox:void 0)}updateScroll(f="measure"){let y=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===f&&(y=!1),y&&this.instance){const p=r(this.instance);this.scroll={animationId:this.root.animationId,phase:f,isRoot:p,offset:u(this.instance),wasRoot:this.scroll?this.scroll.isRoot:p}}}resetTransform(){if(!c)return;const f=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,y=this.projectionDelta&&!Ng(this.projectionDelta),p=this.getTransformTemplate(),m=p?p(this.latestValues,""):void 0,v=m!==this.prevTransformTemplateValue;f&&this.instance&&(y||ra(this.latestValues)||v)&&(c(this.instance,m),this.shouldResetTransform=!1,this.scheduleRender())}measure(f=!0){const y=this.measurePageBox();let p=this.removeElementScroll(y);return f&&(p=this.removeTransform(p)),_T(p),{animationId:this.root.animationId,measuredBox:y,layoutBox:p,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:f}=this.options;if(!f)return Ut();const y=f.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(UT))){const{scroll:m}=this.root;m&&(ei(y.x,m.offset.x),ei(y.y,m.offset.y))}return y}removeElementScroll(f){const y=Ut();if(je(y,f),this.scroll?.wasRoot)return y;for(let p=0;p<this.path.length;p++){const m=this.path[p],{scroll:v,options:b}=m;m!==this.root&&v&&b.layoutScroll&&(v.wasRoot&&je(y,f),ei(y.x,v.offset.x),ei(y.y,v.offset.y))}return y}applyTransform(f,y=!1){const p=Ut();je(p,f);for(let m=0;m<this.path.length;m++){const v=this.path[m];!y&&v.options.layoutScroll&&v.scroll&&v!==v.root&&ni(p,{x:-v.scroll.offset.x,y:-v.scroll.offset.y}),ra(v.latestValues)&&ni(p,v.latestValues)}return ra(this.latestValues)&&ni(p,this.latestValues),p}removeTransform(f){const y=Ut();je(y,f);for(let p=0;p<this.path.length;p++){const m=this.path[p];if(!m.instance||!ra(m.latestValues))continue;ic(m.latestValues)&&m.updateSnapshot();const v=Ut(),b=m.measurePageBox();je(v,b),Kp(y,m.latestValues,m.snapshot?m.snapshot.layoutBox:void 0,v)}return ra(this.latestValues)&&Kp(y,this.latestValues),y}setTargetDelta(f){this.targetDelta=f,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(f){this.options={...this.options,...f,crossfade:f.crossfade!==void 0?f.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!==It.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(f=!1){const y=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=y.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=y.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=y.isSharedProjectionDirty);const p=!!this.resumingFrom||this!==y;if(!(f||p&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:v,layoutId:b}=this.options;if(!(!this.layout||!(v||b))){if(this.resolvedRelativeTargetAt=It.timestamp,!this.targetDelta&&!this.relativeTarget){const T=this.getClosestProjectingParent();T&&T.layout&&this.animationProgress!==1?(this.relativeParent=T,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Ut(),this.relativeTargetOrigin=Ut(),pl(this.relativeTargetOrigin,this.layout.layoutBox,T.layout.layoutBox),je(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=Ut(),this.targetWithTransforms=Ut()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),qS(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):je(this.target,this.layout.layoutBox),Eg(this.target,this.targetDelta)):je(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget)){this.attemptToResolveRelativeTarget=!1;const T=this.getClosestProjectingParent();T&&!!T.resumingFrom==!!this.resumingFrom&&!T.options.layoutScroll&&T.target&&this.animationProgress!==1?(this.relativeParent=T,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Ut(),this.relativeTargetOrigin=Ut(),pl(this.relativeTargetOrigin,this.target,T.target),je(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}}}getClosestProjectingParent(){if(!(!this.parent||ic(this.parent.latestValues)||Ag(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){const f=this.getLead(),y=!!this.resumingFrom||this!==f;let p=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(p=!1),y&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(p=!1),this.resolvedRelativeTargetAt===It.timestamp&&(p=!1),p)return;const{layout:m,layoutId:v}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(m||v))return;je(this.layoutCorrected,this.layout.layoutBox);const b=this.treeScale.x,T=this.treeScale.y;YS(this.layoutCorrected,this.treeScale,this.path,y),f.layout&&!f.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(f.target=f.layout.layoutBox,f.targetWithTransforms=Ut());const{target:C}=f;if(!C){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Gp(this.prevProjectionDelta.x,this.projectionDelta.x),Gp(this.prevProjectionDelta.y,this.projectionDelta.y)),ml(this.projectionDelta,this.layoutCorrected,C,this.latestValues),(this.treeScale.x!==b||this.treeScale.y!==T||!$p(this.projectionDelta.x,this.prevProjectionDelta.x)||!$p(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",C))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(f=!0){if(this.options.visualElement?.scheduleRender(),f){const y=this.getStack();y&&y.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=ti(),this.projectionDelta=ti(),this.projectionDeltaWithTransform=ti()}setAnimationOrigin(f,y=!1){const p=this.snapshot,m=p?p.latestValues:{},v={...this.latestValues},b=ti();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!y;const T=Ut(),C=p?p.source:void 0,U=this.layout?this.layout.source:void 0,q=C!==U,Z=this.getStack(),G=!Z||Z.members.length<=1,K=!!(q&&!G&&this.options.crossfade===!0&&!this.path.some(VT));this.animationProgress=0;let L;this.mixTargetDelta=tt=>{const H=tt/1e3;ty(b.x,f.x,H),ty(b.y,f.y,H),this.setTargetDelta(b),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(pl(T,this.layout.layoutBox,this.relativeParent.layout.layoutBox),NT(this.relativeTarget,this.relativeTargetOrigin,T,H),L&&gT(this.relativeTarget,L)&&(this.isProjectionDirty=!1),L||(L=Ut()),je(L,this.relativeTarget)),q&&(this.animationValues=v,fT(v,m,this.latestValues,H,K,G)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=H},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(f){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(qn(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Dt.update(()=>{$s.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=ai(0)),this.currentAnimation=sT(this.motionValue,[0,1e3],{...f,velocity:0,isSync:!0,onUpdate:y=>{this.mixTargetDelta(y),f.onUpdate&&f.onUpdate(y)},onStop:()=>{},onComplete:()=>{f.onComplete&&f.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 f=this.getStack();f&&f.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(xT),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const f=this.getLead();let{targetWithTransforms:y,target:p,layout:m,latestValues:v}=f;if(!(!y||!p||!m)){if(this!==f&&this.layout&&m&&Ug(this.options.animationType,this.layout.layoutBox,m.layoutBox)){p=this.target||Ut();const b=le(this.layout.layoutBox.x);p.x.min=f.target.x.min,p.x.max=p.x.min+b;const T=le(this.layout.layoutBox.y);p.y.min=f.target.y.min,p.y.max=p.y.min+T}je(y,p),ni(y,v),ml(this.projectionDeltaWithTransform,this.layoutCorrected,y,v)}}registerSharedNode(f,y){this.sharedNodes.has(f)||this.sharedNodes.set(f,new vT),this.sharedNodes.get(f).add(y);const m=y.options.initialPromotionConfig;y.promote({transition:m?m.transition:void 0,preserveFollowOpacity:m&&m.shouldPreserveFollowOpacity?m.shouldPreserveFollowOpacity(y):void 0})}isLead(){const f=this.getStack();return f?f.lead===this:!0}getLead(){const{layoutId:f}=this.options;return f?this.getStack()?.lead||this:this}getPrevLead(){const{layoutId:f}=this.options;return f?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:f}=this.options;if(f)return this.root.sharedNodes.get(f)}promote({needsReset:f,transition:y,preserveFollowOpacity:p}={}){const m=this.getStack();m&&m.promote(this,p),f&&(this.projectionDelta=void 0,this.needsReset=!0),y&&this.setOptions({transition:y})}relegate(){const f=this.getStack();return f?f.relegate(this):!1}resetSkewAndRotation(){const{visualElement:f}=this.options;if(!f)return;let y=!1;const{latestValues:p}=f;if((p.z||p.rotate||p.rotateX||p.rotateY||p.rotateZ||p.skewX||p.skewY)&&(y=!0),!y)return;const m={};p.z&&qo("z",f,m,this.animationValues);for(let v=0;v<Lo.length;v++)qo(`rotate${Lo[v]}`,f,m,this.animationValues),qo(`skew${Lo[v]}`,f,m,this.animationValues);f.render();for(const v in m)f.setStaticValue(v,m[v]),this.animationValues&&(this.animationValues[v]=m[v]);f.scheduleRender()}applyProjectionStyles(f,y){if(!this.instance||this.isSVG)return;if(!this.isVisible){f.visibility="hidden";return}const p=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,f.visibility="",f.opacity="",f.pointerEvents=Js(y?.pointerEvents)||"",f.transform=p?p(this.latestValues,""):"none";return}const m=this.getLead();if(!this.projectionDelta||!this.layout||!m.target){this.options.layoutId&&(f.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,f.pointerEvents=Js(y?.pointerEvents)||""),this.hasProjected&&!ra(this.latestValues)&&(f.transform=p?p({},""):"none",this.hasProjected=!1);return}f.visibility="";const v=m.animationValues||m.latestValues;this.applyTransformsToTarget();let b=bT(this.projectionDeltaWithTransform,this.treeScale,v);p&&(b=p(v,b)),f.transform=b;const{x:T,y:C}=this.projectionDelta;f.transformOrigin=`${T.origin*100}% ${C.origin*100}% 0`,m.animationValues?f.opacity=m===this?v.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:v.opacityExit:f.opacity=m===this?v.opacity!==void 0?v.opacity:"":v.opacityExit!==void 0?v.opacityExit:0;for(const U in xl){if(v[U]===void 0)continue;const{correct:q,applyTo:Z,isCSSVariable:G}=xl[U],K=b==="none"?v[U]:q(v[U],m);if(Z){const L=Z.length;for(let tt=0;tt<L;tt++)f[Z[tt]]=K}else G?this.options.visualElement.renderState.vars[U]=K:f[U]=K}this.options.layoutId&&(f.pointerEvents=m===this?Js(y?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(f=>f.currentAnimation?.stop()),this.root.nodes.forEach(Fp),this.root.sharedNodes.clear()}}}function TT(a){a.updateLayout()}function AT(a){const l=a.resumeFrom?.snapshot||a.snapshot;if(a.isLead()&&a.layout&&l&&a.hasListeners("didUpdate")){const{layoutBox:u,measuredBox:r}=a.layout,{animationType:c}=a.options,d=l.source!==a.layout.source;c==="size"?Ne(v=>{const b=d?l.measuredBox[v]:l.layoutBox[v],T=le(b);b.min=u[v].min,b.max=b.min+T}):Ug(c,l.layoutBox,u)&&Ne(v=>{const b=d?l.measuredBox[v]:l.layoutBox[v],T=le(u[v]);b.max=b.min+T,a.relativeTarget&&!a.currentAnimation&&(a.isProjectionDirty=!0,a.relativeTarget[v].max=a.relativeTarget[v].min+T)});const f=ti();ml(f,u,l.layoutBox);const y=ti();d?ml(y,a.applyTransform(r,!0),l.measuredBox):ml(y,u,l.layoutBox);const p=!Ng(f);let m=!1;if(!a.resumeFrom){const v=a.getClosestProjectingParent();if(v&&!v.resumeFrom){const{snapshot:b,layout:T}=v;if(b&&T){const C=Ut();pl(C,l.layoutBox,b.layoutBox);const U=Ut();pl(U,u,T.layoutBox),Vg(C,U)||(m=!0),v.options.layoutRoot&&(a.relativeTarget=U,a.relativeTargetOrigin=C,a.relativeParent=v)}}}a.notifyListeners("didUpdate",{layout:u,snapshot:l,delta:y,layoutDelta:f,hasLayoutChanged:p,hasRelativeLayoutChanged:m})}else if(a.isLead()){const{onExitComplete:u}=a.options;u&&u()}a.options.transition=void 0}function ET(a){a.parent&&(a.isProjecting()||(a.isProjectionDirty=a.parent.isProjectionDirty),a.isSharedProjectionDirty||(a.isSharedProjectionDirty=!!(a.isProjectionDirty||a.parent.isProjectionDirty||a.parent.isSharedProjectionDirty)),a.isTransformDirty||(a.isTransformDirty=a.parent.isTransformDirty))}function MT(a){a.isProjectionDirty=a.isSharedProjectionDirty=a.isTransformDirty=!1}function DT(a){a.clearSnapshot()}function Fp(a){a.clearMeasurements()}function Wp(a){a.isLayoutDirty=!1}function RT(a){const{visualElement:l}=a.options;l&&l.getProps().onBeforeLayoutMeasure&&l.notify("BeforeLayoutMeasure"),a.resetTransform()}function Ip(a){a.finishAnimation(),a.targetDelta=a.relativeTarget=a.target=void 0,a.isProjectionDirty=!0}function OT(a){a.resolveTargetDelta()}function wT(a){a.calcProjection()}function CT(a){a.resetSkewAndRotation()}function jT(a){a.removeLeadSnapshot()}function ty(a,l,u){a.translate=Ot(l.translate,0,u),a.scale=Ot(l.scale,1,u),a.origin=l.origin,a.originPoint=l.originPoint}function ey(a,l,u,r){a.min=Ot(l.min,u.min,r),a.max=Ot(l.max,u.max,r)}function NT(a,l,u,r){ey(a.x,l.x,u.x,r),ey(a.y,l.y,u.y,r)}function VT(a){return a.animationValues&&a.animationValues.opacityExit!==void 0}const zT={duration:.45,ease:[.4,0,.1,1]},ny=a=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(a),ay=ny("applewebkit/")&&!ny("chrome/")?Math.round:Ve;function iy(a){a.min=ay(a.min),a.max=ay(a.max)}function _T(a){iy(a.x),iy(a.y)}function Ug(a,l,u){return a==="position"||a==="preserve-aspect"&&!LS(Jp(l),Jp(u),.2)}function UT(a){return a!==a.root&&a.scroll?.wasRoot}const BT=_g({attachResizeListener:(a,l)=>Tl(a,"resize",l),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Yo={current:void 0},Bg=_g({measureScroll:a=>({x:a.scrollLeft,y:a.scrollTop}),defaultParent:()=>{if(!Yo.current){const a=new BT({});a.mount(window),a.setOptions({layoutScroll:!0}),Yo.current=a}return Yo.current},resetTransform:(a,l)=>{a.style.transform=l!==void 0?l:"none"},checkIsScrollRoot:a=>window.getComputedStyle(a).position==="fixed"}),HT={pan:{Feature:nT},drag:{Feature:eT,ProjectionNode:Bg,MeasureLayout:wg}};function ly(a,l,u){const{props:r}=a;a.animationState&&r.whileHover&&a.animationState.setActive("whileHover",u==="Start");const c="onHover"+u,d=r[c];d&&Dt.postRender(()=>d(l,Rl(l)))}class LT extends Gn{mount(){const{current:l}=this.node;l&&(this.unmount=mx(l,(u,r)=>(ly(this.node,r,"Start"),c=>ly(this.node,c,"End"))))}unmount(){}}class qT extends Gn{constructor(){super(...arguments),this.isActive=!1}onFocus(){let l=!1;try{l=this.node.current.matches(":focus-visible")}catch{l=!0}!l||!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=El(Tl(this.node.current,"focus",()=>this.onFocus()),Tl(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function sy(a,l,u){const{props:r}=a;if(a.current instanceof HTMLButtonElement&&a.current.disabled)return;a.animationState&&r.whileTap&&a.animationState.setActive("whileTap",u==="Start");const c="onTap"+(u==="End"?"":u),d=r[c];d&&Dt.postRender(()=>d(l,Rl(l)))}class YT extends Gn{mount(){const{current:l}=this.node;l&&(this.unmount=vx(l,(u,r)=>(sy(this.node,r,"Start"),(c,{success:d})=>sy(this.node,c,d?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const uc=new WeakMap,Go=new WeakMap,GT=a=>{const l=uc.get(a.target);l&&l(a)},XT=a=>{a.forEach(GT)};function ZT({root:a,...l}){const u=a||document;Go.has(u)||Go.set(u,{});const r=Go.get(u),c=JSON.stringify(l);return r[c]||(r[c]=new IntersectionObserver(XT,{root:a,...l})),r[c]}function KT(a,l,u){const r=ZT(l);return uc.set(a,u),r.observe(a),()=>{uc.delete(a),r.unobserve(a)}}const QT={some:0,all:1};class kT extends Gn{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:l={}}=this.node.getProps(),{root:u,margin:r,amount:c="some",once:d}=l,f={root:u?u.current:void 0,rootMargin:r,threshold:typeof c=="number"?c:QT[c]},y=p=>{const{isIntersecting:m}=p;if(this.isInView===m||(this.isInView=m,d&&!m&&this.hasEnteredView))return;m&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",m);const{onViewportEnter:v,onViewportLeave:b}=this.node.getProps(),T=m?v:b;T&&T(p)};return KT(this.node.current,f,y)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:l,prevProps:u}=this.node;["amount","margin","root"].some(PT(l,u))&&this.startObserver()}unmount(){}}function PT({viewport:a={}},{viewport:l={}}={}){return u=>a[u]!==l[u]}const JT={inView:{Feature:kT},tap:{Feature:YT},focus:{Feature:qT},hover:{Feature:LT}},$T={layout:{ProjectionNode:Bg,MeasureLayout:wg}},rc={current:null},Hg={current:!1};function FT(){if(Hg.current=!0,!!hc)if(window.matchMedia){const a=window.matchMedia("(prefers-reduced-motion)"),l=()=>rc.current=a.matches;a.addEventListener("change",l),l()}else rc.current=!1}const WT=new WeakMap;function IT(a,l,u){for(const r in l){const c=l[r],d=u[r];if(ae(c))a.addValue(r,c);else if(ae(d))a.addValue(r,ai(c,{owner:a}));else if(d!==c)if(a.hasValue(r)){const f=a.getValue(r);f.liveStyle===!0?f.jump(c):f.hasAnimated||f.set(c)}else{const f=a.getStaticValue(r);a.addValue(r,ai(f!==void 0?f:c,{owner:a}))}}for(const r in u)l[r]===void 0&&a.removeValue(r);return l}const uy=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class t2{scrapeMotionValuesFromProps(l,u,r){return{}}constructor({parent:l,props:u,presenceContext:r,reducedMotionConfig:c,blockInitialAnimation:d,visualState:f},y={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=wc,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 T=fe.now();this.renderScheduledAt<T&&(this.renderScheduledAt=T,Dt.render(this.render,!1,!0))};const{latestValues:p,renderState:m}=f;this.latestValues=p,this.baseTarget={...p},this.initialValues=u.initial?{...p}:{},this.renderState=m,this.parent=l,this.props=u,this.presenceContext=r,this.depth=l?l.depth+1:0,this.reducedMotionConfig=c,this.options=y,this.blockInitialAnimation=!!d,this.isControllingVariants=uu(u),this.isVariantNode=lg(u),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(l&&l.current);const{willChange:v,...b}=this.scrapeMotionValuesFromProps(u,{},this);for(const T in b){const C=b[T];p[T]!==void 0&&ae(C)&&C.set(p[T],!1)}}mount(l){this.current=l,WT.set(l,this),this.projection&&!this.projection.instance&&this.projection.mount(l),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((u,r)=>this.bindToMotionValue(r,u)),Hg.current||FT(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:rc.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&&this.projection.unmount(),qn(this.notifyUpdate),qn(this.render),this.valueSubscriptions.forEach(l=>l()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const l in this.events)this.events[l].clear();for(const l in this.features){const u=this.features[l];u&&(u.unmount(),u.isMounted=!1)}this.current=null}bindToMotionValue(l,u){this.valueSubscriptions.has(l)&&this.valueSubscriptions.get(l)();const r=ui.has(l);r&&this.onBindTransform&&this.onBindTransform();const c=u.on("change",y=>{this.latestValues[l]=y,this.props.onUpdate&&Dt.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0)}),d=u.on("renderRequest",this.scheduleRender);let f;window.MotionCheckAppearSync&&(f=window.MotionCheckAppearSync(this,l,u)),this.valueSubscriptions.set(l,()=>{c(),d(),f&&f(),u.owner&&u.stop()})}sortNodePosition(l){return!this.current||!this.sortInstanceNodePosition||this.type!==l.type?0:this.sortInstanceNodePosition(this.current,l.current)}updateFeatures(){let l="animation";for(l in ii){const u=ii[l];if(!u)continue;const{isEnabled:r,Feature:c}=u;if(!this.features[l]&&c&&r(this.props)&&(this.features[l]=new c(this)),this.features[l]){const d=this.features[l];d.isMounted?d.update():(d.mount(),d.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Ut()}getStaticValue(l){return this.latestValues[l]}setStaticValue(l,u){this.latestValues[l]=u}update(l,u){(l.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=l,this.prevPresenceContext=this.presenceContext,this.presenceContext=u;for(let r=0;r<uy.length;r++){const c=uy[r];this.propEventSubscriptions[c]&&(this.propEventSubscriptions[c](),delete this.propEventSubscriptions[c]);const d="on"+c,f=l[d];f&&(this.propEventSubscriptions[c]=this.on(c,f))}this.prevMotionValues=IT(this,this.scrapeMotionValuesFromProps(l,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(l){return this.props.variants?this.props.variants[l]: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(l){const u=this.getClosestVariantNode();if(u)return u.variantChildren&&u.variantChildren.add(l),()=>u.variantChildren.delete(l)}addValue(l,u){const r=this.values.get(l);u!==r&&(r&&this.removeValue(l),this.bindToMotionValue(l,u),this.values.set(l,u),this.latestValues[l]=u.get())}removeValue(l){this.values.delete(l);const u=this.valueSubscriptions.get(l);u&&(u(),this.valueSubscriptions.delete(l)),delete this.latestValues[l],this.removeValueFromRenderState(l,this.renderState)}hasValue(l){return this.values.has(l)}getValue(l,u){if(this.props.values&&this.props.values[l])return this.props.values[l];let r=this.values.get(l);return r===void 0&&u!==void 0&&(r=ai(u===null?void 0:u,{owner:this}),this.addValue(l,r)),r}readValue(l,u){let r=this.latestValues[l]!==void 0||!this.current?this.latestValues[l]:this.getBaseTargetFromProps(this.props,l)??this.readValueFromInstance(this.current,l,this.options);return r!=null&&(typeof r=="string"&&(dy(r)||py(r))?r=parseFloat(r):!Sx(r)&&Yn.test(u)&&(r=$y(l,u)),this.setBaseTarget(l,ae(r)?r.get():r)),ae(r)?r.get():r}setBaseTarget(l,u){this.baseTarget[l]=u}getBaseTarget(l){const{initial:u}=this.props;let r;if(typeof u=="string"||typeof u=="object"){const d=Gc(this.props,u,this.presenceContext?.custom);d&&(r=d[l])}if(u&&r!==void 0)return r;const c=this.getBaseTargetFromProps(this.props,l);return c!==void 0&&!ae(c)?c:this.initialValues[l]!==void 0&&r===void 0?void 0:this.baseTarget[l]}on(l,u){return this.events[l]||(this.events[l]=new gc),this.events[l].add(u)}notify(l,...u){this.events[l]&&this.events[l].notify(...u)}}class Lg extends t2{constructor(){super(...arguments),this.KeyframeResolver=ox}sortInstanceNodePosition(l,u){return l.compareDocumentPosition(u)&2?1:-1}getBaseTargetFromProps(l,u){return l.style?l.style[u]:void 0}removeValueFromRenderState(l,{vars:u,style:r}){delete u[l],delete r[l]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:l}=this.props;ae(l)&&(this.childSubscription=l.on("change",u=>{this.current&&(this.current.textContent=`${u}`)}))}}function qg(a,{style:l,vars:u},r,c){const d=a.style;let f;for(f in l)d[f]=l[f];c?.applyProjectionStyles(d,r);for(f in u)d.setProperty(f,u[f])}function e2(a){return window.getComputedStyle(a)}class n2 extends Lg{constructor(){super(...arguments),this.type="html",this.renderInstance=qg}readValueFromInstance(l,u){if(ui.has(u))return this.projection?.isProjecting?Jo(u):Ob(l,u);{const r=e2(l),c=(xc(u)?r.getPropertyValue(u):r[u])||0;return typeof c=="string"?c.trim():c}}measureInstanceViewportBox(l,{transformPagePoint:u}){return Mg(l,u)}build(l,u,r){Lc(l,u,r.transformTemplate)}scrapeMotionValuesFromProps(l,u,r){return Xc(l,u,r)}}const Yg=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 a2(a,l,u,r){qg(a,l,void 0,r);for(const c in l.attrs)a.setAttribute(Yg.has(c)?c:Hc(c),l.attrs[c])}class i2 extends Lg{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Ut}getBaseTargetFromProps(l,u){return l[u]}readValueFromInstance(l,u){if(ui.has(u)){const r=Jy(u);return r&&r.default||0}return u=Yg.has(u)?u:Hc(u),l.getAttribute(u)}scrapeMotionValuesFromProps(l,u,r){return pg(l,u,r)}build(l,u,r){fg(l,u,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(l,u,r,c){a2(l,u,r,c)}mount(l){this.isSVGTag=dg(l.tagName),super.mount(l)}}const l2=(a,l)=>Yc(a)?new i2(l):new n2(l,{allowProjection:a!==Y.Fragment}),s2=lS({...jS,...JT,...HT,...$T},l2),Vt=Cx(s2),u2="backdrop-blur-lg shadow-lg";function Pt(a){const{children:l,variant:u,color:r,className:c,onPress:d,isIconOnly:f}=a;let y="px-6 py-3";f&&(y="p-2");let p="",m="",v="",b="",T="",C="";switch(r){case"primary":p="text-white",m="bg-blue-500",v="hover:bg-sky-400",b="",T="bg-[conic-gradient(from_-45deg,#38bdf8,#3b82f6,#38bdf8,#3b82f6,#38bdf8)] shadow-md shadow-sky-400/40",C="p-[1px]";break;case"success":p="text-white",m="bg-emerald-500",v="hover:bg-green-400",b="",T="bg-[conic-gradient(from_-45deg,#22c55e,#34d399,#22c55e,#34d399,#22c55e)] shadow-md shadow-green-400/40",C="p-[1px]";break;case"secondary":p="text-white",m="bg-slate-500",v="hover:bg-gray-400",b="",T="bg-[conic-gradient(from_-45deg,#94a3b8,#d1d5db,#94a3b8,#d1d5db,#94a3b8)] shadow-md shadow-gray-400/40",C="p-[1px]";break;case"warning":p="text-white",m="bg-amber-500",v="hover:bg-yellow-400",b="",T="bg-[conic-gradient(from_-45deg,#eab308,#fbbf24,#eab308,#fbbf24,#eab308)] shadow-md shadow-amber-400/40",C="p-[1px]";break;case"danger":p="text-white",m="bg-red-600",v="hover:bg-rose-400",b="",T="bg-[conic-gradient(from_-45deg,#fb7185,#dc2626,#fb7185,#dc2626,#fb7185)] shadow-md shadow-rose-400/40",C="p-[1px]";break;default:p="text-black",m="bg-white/80",v="hover:bg-white/40",b="",T="bg-[conic-gradient(from_-45deg,#fafafa,#e2e8f0,#fafafa,#e2e8f0,#fafafa)] shadow-sm shadow-white/30",C="p-[1px]";break}return S.jsx(Vt.button,{whileTap:{scale:1.75},whileHover:{scale:1.25},onClick:d,children:S.jsx("div",{className:`
|
|
58
|
-
rounded-full
|
|
59
|
-
${b}
|
|
60
|
-
${C}
|
|
61
|
-
${T}
|
|
62
|
-
`,children:S.jsx("div",{className:`
|
|
63
|
-
${y}
|
|
64
|
-
${u2}
|
|
65
|
-
rounded-full
|
|
66
|
-
${p}
|
|
67
|
-
${m}
|
|
68
|
-
font-semibold
|
|
69
|
-
transition-colors
|
|
70
|
-
duration-300
|
|
71
|
-
${v}
|
|
72
|
-
${c}
|
|
73
|
-
`,children:l})})})}var Gg={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},ry=Ln.createContext&&Ln.createContext(Gg),r2=["attr","size","title"];function o2(a,l){if(a==null)return{};var u=c2(a,l),r,c;if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(a);for(c=0;c<d.length;c++)r=d[c],!(l.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(a,r)&&(u[r]=a[r])}return u}function c2(a,l){if(a==null)return{};var u={};for(var r in a)if(Object.prototype.hasOwnProperty.call(a,r)){if(l.indexOf(r)>=0)continue;u[r]=a[r]}return u}function nu(){return nu=Object.assign?Object.assign.bind():function(a){for(var l=1;l<arguments.length;l++){var u=arguments[l];for(var r in u)Object.prototype.hasOwnProperty.call(u,r)&&(a[r]=u[r])}return a},nu.apply(this,arguments)}function oy(a,l){var u=Object.keys(a);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(a);l&&(r=r.filter(function(c){return Object.getOwnPropertyDescriptor(a,c).enumerable})),u.push.apply(u,r)}return u}function au(a){for(var l=1;l<arguments.length;l++){var u=arguments[l]!=null?arguments[l]:{};l%2?oy(Object(u),!0).forEach(function(r){f2(a,r,u[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(u)):oy(Object(u)).forEach(function(r){Object.defineProperty(a,r,Object.getOwnPropertyDescriptor(u,r))})}return a}function f2(a,l,u){return l=h2(l),l in a?Object.defineProperty(a,l,{value:u,enumerable:!0,configurable:!0,writable:!0}):a[l]=u,a}function h2(a){var l=d2(a,"string");return typeof l=="symbol"?l:l+""}function d2(a,l){if(typeof a!="object"||!a)return a;var u=a[Symbol.toPrimitive];if(u!==void 0){var r=u.call(a,l);if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(l==="string"?String:Number)(a)}function Xg(a){return a&&a.map((l,u)=>Ln.createElement(l.tag,au({key:u},l.attr),Xg(l.child)))}function m2(a){return l=>Ln.createElement(p2,nu({attr:au({},a.attr)},l),Xg(a.child))}function p2(a){var l=u=>{var{attr:r,size:c,title:d}=a,f=o2(a,r2),y=c||u.size||"1em",p;return u.className&&(p=u.className),a.className&&(p=(p?p+" ":"")+a.className),Ln.createElement("svg",nu({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},u.attr,r,f,{className:p,style:au(au({color:a.color||u.color},u.style),a.style),height:y,width:y,xmlns:"http://www.w3.org/2000/svg"}),d&&Ln.createElement("title",null,d),a.children)};return ry!==void 0?Ln.createElement(ry.Consumer,null,u=>l(u)):l(Gg)}function y2(a){return m2({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"m289.94 256 95-95A24 24 0 0 0 351 127l-95 95-95-95a24 24 0 0 0-34 34l95 95-95 95a24 24 0 1 0 34 34l95-95 95 95a24 24 0 0 0 34-34z"},child:[]}]})(a)}const g2={hidden:{opacity:0,scale:.9},visible:{opacity:1,scale:1},exit:{opacity:0,scale:.9}},v2={hidden:{opacity:0},visible:{opacity:1}},b2="backdrop-blur-lg shadow-lg";function x2(a){const{isOpen:l,children:u,onClose:r,title:c}=a;let d="bg-white/80 ";return S.jsx(ri,{children:l&&S.jsx(Vt.div,{variants:v2,initial:"hidden",animate:"visible",exit:"hidden",className:"fixed inset-0 text-black bg-black/10 backdrop-blur-sm flex items-center justify-center z-50 p-4",onClick:r,children:S.jsxs(Vt.div,{variants:g2,className:`${b2} rounded-3xl w-full max-w-md overflow-hidden`,onClick:y=>y.stopPropagation(),children:[S.jsxs("div",{className:`p-6 border-b border-white/20 flex justify-between items-center ${d}`,children:[S.jsx("h3",{className:"text-xl font-bold",children:c}),S.jsx(Pt,{onPress:r,isIconOnly:!0,children:S.jsx(y2,{})})]}),S.jsx("div",{className:`${d} p-6`,children:u}),S.jsxs("div",{className:`${d} p-4 flex justify-end space-x-3`,children:[S.jsx(Pt,{onPress:r,color:"default",variant:"solid",children:"キャンセル"}),S.jsx(Pt,{onPress:r,color:"primary",variant:"solid",children:"OK"})]})]})})})}/**
|
|
74
|
-
* @license lucide-react v0.525.0 - ISC
|
|
75
|
-
*
|
|
76
|
-
* This source code is licensed under the ISC license.
|
|
77
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
78
|
-
*/const S2=a=>a.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),T2=a=>a.replace(/^([A-Z])|[\s-_]+(\w)/g,(l,u,r)=>r?r.toUpperCase():u.toLowerCase()),cy=a=>{const l=T2(a);return l.charAt(0).toUpperCase()+l.slice(1)},Zg=(...a)=>a.filter((l,u,r)=>!!l&&l.trim()!==""&&r.indexOf(l)===u).join(" ").trim(),A2=a=>{for(const l in a)if(l.startsWith("aria-")||l==="role"||l==="title")return!0};/**
|
|
79
|
-
* @license lucide-react v0.525.0 - ISC
|
|
80
|
-
*
|
|
81
|
-
* This source code is licensed under the ISC license.
|
|
82
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
83
|
-
*/var E2={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"};/**
|
|
84
|
-
* @license lucide-react v0.525.0 - ISC
|
|
85
|
-
*
|
|
86
|
-
* This source code is licensed under the ISC license.
|
|
87
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
88
|
-
*/const M2=Y.forwardRef(({color:a="currentColor",size:l=24,strokeWidth:u=2,absoluteStrokeWidth:r,className:c="",children:d,iconNode:f,...y},p)=>Y.createElement("svg",{ref:p,...E2,width:l,height:l,stroke:a,strokeWidth:r?Number(u)*24/Number(l):u,className:Zg("lucide",c),...!d&&!A2(y)&&{"aria-hidden":"true"},...y},[...f.map(([m,v])=>Y.createElement(m,v)),...Array.isArray(d)?d:[d]]));/**
|
|
89
|
-
* @license lucide-react v0.525.0 - ISC
|
|
90
|
-
*
|
|
91
|
-
* This source code is licensed under the ISC license.
|
|
92
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
93
|
-
*/const oi=(a,l)=>{const u=Y.forwardRef(({className:r,...c},d)=>Y.createElement(M2,{ref:d,iconNode:l,className:Zg(`lucide-${S2(cy(a))}`,`lucide-${a}`,r),...c}));return u.displayName=cy(a),u};/**
|
|
94
|
-
* @license lucide-react v0.525.0 - ISC
|
|
95
|
-
*
|
|
96
|
-
* This source code is licensed under the ISC license.
|
|
97
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
98
|
-
*/const D2=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],R2=oi("check",D2);/**
|
|
99
|
-
* @license lucide-react v0.525.0 - ISC
|
|
100
|
-
*
|
|
101
|
-
* This source code is licensed under the ISC license.
|
|
102
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
103
|
-
*/const O2=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],w2=oi("chevron-down",O2);/**
|
|
104
|
-
* @license lucide-react v0.525.0 - ISC
|
|
105
|
-
*
|
|
106
|
-
* This source code is licensed under the ISC license.
|
|
107
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
108
|
-
*/const C2=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],Al=oi("chevron-right",C2);/**
|
|
109
|
-
* @license lucide-react v0.525.0 - ISC
|
|
110
|
-
*
|
|
111
|
-
* This source code is licensed under the ISC license.
|
|
112
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
113
|
-
*/const j2=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]],N2=oi("circle-alert",j2);/**
|
|
114
|
-
* @license lucide-react v0.525.0 - ISC
|
|
115
|
-
*
|
|
116
|
-
* This source code is licensed under the ISC license.
|
|
117
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
118
|
-
*/const V2=[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"1d0kgt"}]],z2=oi("house",V2);/**
|
|
119
|
-
* @license lucide-react v0.525.0 - ISC
|
|
120
|
-
*
|
|
121
|
-
* This source code is licensed under the ISC license.
|
|
122
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
123
|
-
*/const _2=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Kg=oi("x",_2),U2="bg-white/10 backdrop-blur-md border border-white/20 shadow-inner";function B2(a){const{isDefaultChecked:l,label:u,onValueChange:r}=a,[c,d]=Y.useState(l);function f(){r&&r(!c),d(!c)}return S.jsxs("label",{className:"flex items-center space-x-3 cursor-pointer text-white",children:[S.jsx(Vt.div,{whileTap:{scale:1.75},whileHover:{scale:1.25},className:`
|
|
124
|
-
${U2}
|
|
125
|
-
w-6
|
|
126
|
-
h-6
|
|
127
|
-
rounded-md
|
|
128
|
-
flex
|
|
129
|
-
items-center
|
|
130
|
-
justify-center
|
|
131
|
-
transition-colors
|
|
132
|
-
${c?"bg-blue-500/50":""}
|
|
133
|
-
`,onClick:()=>f(),children:S.jsx(ri,{children:c&&S.jsx(Vt.div,{initial:{scale:0},animate:{scale:1},exit:{scale:0},children:S.jsx(R2,{size:16})})})}),S.jsx("span",{children:u})]})}const H2="bg-white/20 backdrop-blur-lg border border-white/30 shadow-lg",L2={hidden:{opacity:0,scale:.9},visible:{opacity:1,scale:1},exit:{opacity:0,scale:.9}};function q2(a){const{message:l,isDefaultVisible:u,onClose:r}=a,[c,d]=Y.useState(u);function f(){d(!1),r&&r()}return S.jsx(ri,{children:c&&S.jsxs(Vt.div,{variants:L2,initial:"hidden",animate:"visible",exit:"exit",className:`${H2} rounded-2xl p-4 flex items-center space-x-4 w-full max-w-md`,children:[S.jsx(N2,{className:"text-yellow-300",size:24}),S.jsx("span",{className:"text-white flex-grow",children:l}),S.jsx(Vt.button,{whileHover:{scale:1.2},whileTap:{scale:.8},onClick:f,children:S.jsx(Kg,{className:"text-white/70 hover:text-white",size:20})})]})})}const Y2="bg-white/20 backdrop-blur-lg border border-white/30 shadow-lg";function G2(a){const{children:l,className:u}=a;return S.jsx(Vt.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},className:`
|
|
134
|
-
${Y2}
|
|
135
|
-
rounded-full
|
|
136
|
-
px-4
|
|
137
|
-
py-1.5
|
|
138
|
-
text-sm
|
|
139
|
-
text-white
|
|
140
|
-
font-medium
|
|
141
|
-
${u}
|
|
142
|
-
`,children:l})}function X2(a){const{children:l}=a;return S.jsx("div",{className:"flex space-x-2 p-2 bg-white/10 rounded-full",children:l})}const Z2="bg-white/20 backdrop-blur-lg border border-white/30 shadow-lg";function K2(){const a=[{label:"ホーム",icon:S.jsx(z2,{size:16})},{label:"製品",icon:null},{label:"カテゴリA",icon:null}];return S.jsx("nav",{className:`${Z2} rounded-full px-4 py-2`,children:S.jsx("ol",{className:"flex items-center space-x-2",children:a.map((l,u)=>S.jsxs("li",{className:"flex items-center space-x-2 text-white/80",children:[S.jsxs(Vt.a,{href:"#",className:"flex items-center space-x-1 hover:text-white",whileHover:{scale:1.05},children:[l.icon,S.jsx("span",{className:"text-sm",children:l.label})]}),u<a.length-1&&S.jsx(Al,{size:16,className:"text-white/50"})]},l.label))})})}const Q2="bg-white/20 backdrop-blur-lg border border-white/30 shadow-lg";function k2(a){const{children:l,className:u}=a;return S.jsx(Vt.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5},className:`
|
|
143
|
-
${Q2}
|
|
144
|
-
rounded-3xl
|
|
145
|
-
overflow-hidden
|
|
146
|
-
w-full
|
|
147
|
-
max-w-sm
|
|
148
|
-
${u}
|
|
149
|
-
`,children:l})}function P2(a){const{children:l}=a;return S.jsx("div",{className:"p-6 border-b border-white/20",children:l})}function J2(a){const{children:l}=a;return S.jsx("div",{className:"p-6",children:l})}function $2(a){const{children:l}=a;return S.jsx("div",{className:"p-6 bg-black/10",children:l})}const F2="bg-white/20 backdrop-blur-lg border border-white/30 shadow-lg";function W2(a){const{label:l,onRemove:u}=a;return S.jsxs(Vt.div,{layout:!0,initial:{scale:.8,opacity:0},animate:{scale:1,opacity:1},exit:{scale:.8,opacity:0},className:`
|
|
150
|
-
${F2}
|
|
151
|
-
rounded-full
|
|
152
|
-
px-4
|
|
153
|
-
py-1.5
|
|
154
|
-
text-sm
|
|
155
|
-
text-white
|
|
156
|
-
font-medium
|
|
157
|
-
flex
|
|
158
|
-
items-center
|
|
159
|
-
space-x-2`,children:[S.jsx("span",{children:l}),u&&S.jsx(Vt.button,{whileHover:{scale:1.2},whileTap:{scale:.8},onClick:u,children:S.jsx(Kg,{size:14,className:"text-white/70 hover:text-white"})})]})}const I2="bg-white/10 backdrop-blur-md border border-white/20 shadow-inner";function tA(a){const{children:l}=a;return S.jsx("pre",{className:`${I2} p-4 rounded-xl overflow-x-auto`,children:S.jsx("code",{className:"text-sm text-white/90 font-mono",children:l})})}const eA={hidden:{opacity:0,scale:.9},visible:{opacity:1,scale:1},exit:{opacity:0,scale:.9}},nA="bg-white/20 backdrop-blur-lg border border-white/30 shadow-lg";function Qg(a){const{onDateSelect:l}=a;function u(v){l&&l(v)}const[r,c]=Y.useState(new Date),d=new Date(r.getFullYear(),r.getMonth()+1,0).getDate(),f=new Date(r.getFullYear(),r.getMonth(),1).getDay(),y=new Date,p=Y.useMemo(()=>Array.from({length:d},(v,b)=>b+1).map(v=>{const b=new Date(r.getFullYear(),r.getMonth(),v),T=b.toDateString()===y.toDateString();return S.jsx(Vt.div,{whileHover:{scale:1.1},whileTap:{scale:.9},onClick:()=>u(b),className:`w-10 h-10 flex items-center justify-center rounded-full cursor-pointer transition-colors ${T?"bg-blue-500/50 text-white font-bold":"text-white/80 hover:bg-white/20"}`,children:v},v)}),[r,d,f,l,y]),m=v=>c(b=>new Date(b.getFullYear(),b.getMonth()+v,1));return S.jsxs(Vt.div,{variants:eA,initial:"hidden",animate:"visible",exit:"exit",className:`${nA} p-6 rounded-3xl w-full max-w-xs`,children:[S.jsxs("div",{className:"flex items-center justify-between mb-4 text-white",children:[S.jsx(Vt.button,{whileHover:{scale:1.05},whileTap:{scale:.95},onClick:()=>m(-1),className:"p-2 rounded-full hover:bg-white/20",children:S.jsx(Al,{className:"rotate-180",size:20})}),S.jsxs("h3",{className:"font-bold text-lg",children:[r.toLocaleString("default",{month:"long"})," ",r.getFullYear()]}),S.jsx(Vt.button,{whileHover:{scale:1.05},whileTap:{scale:.95},onClick:()=>m(1),className:"p-2 rounded-full hover:bg-white/20",children:S.jsx(Al,{size:20})})]}),S.jsx("div",{className:"grid grid-cols-7 gap-2 text-center text-white/60 text-sm mb-2",children:["日","月","火","水","木","金","土"].map(v=>S.jsx("div",{children:v},v))}),S.jsxs("div",{className:"grid grid-cols-7 gap-y-2",children:[Array.from({length:f}).map((v,b)=>S.jsx("div",{},`empty-${b}`)),p]})]})}const aA="bg-white/10 backdrop-blur-md border border-white/20 shadow-inner",iA=a=>S.jsx("input",{...a,className:`${aA} w-full px-4 py-3 rounded-full text-white placeholder-white/50 focus:outline-none focus:ring-2 focus:ring-white/50 ${a.className}`});function lA(){const[a,l]=Y.useState(null),[u,r]=Y.useState(!1),c=Y.useRef(null);Y.useEffect(()=>{const f=y=>{c.current&&!c.current.contains(y.target)&&r(!1)};return document.addEventListener("mousedown",f),()=>document.removeEventListener("mousedown",f)},[]);const d=f=>{l(f),r(!1)};return S.jsxs("div",{className:"relative",ref:c,children:[S.jsx(iA,{readOnly:!0,value:a?a.toLocaleDateString("ja-JP"):"",onClick:()=>r(!u),placeholder:"日付を選択"}),S.jsx(ri,{children:u&&S.jsx("div",{className:"absolute top-full mt-2 z-20",children:S.jsx(Qg,{onDateSelect:d})})})]})}const sA="bg-white/20 backdrop-blur-lg border border-white/30 shadow-lg";function uA(){const[a,l]=Y.useState(!1),u=["プロフィール","設定","ヘルプ","ログアウト"];return S.jsxs("div",{className:"relative",children:[S.jsxs(Pt,{onPress:()=>l(!a),className:"flex items-center space-x-2",children:[S.jsx("span",{children:"メニュー"}),S.jsx(Vt.div,{animate:{rotate:a?180:0},children:S.jsx(w2,{size:20})})]}),S.jsx(ri,{children:a&&S.jsx(Vt.ul,{initial:{opacity:0,y:-10},animate:{opacity:1,y:10},exit:{opacity:0,y:-10},className:`${sA} absolute top-full mt-2 w-48 rounded-2xl p-2 z-10`,children:u.map(r=>S.jsx("li",{className:"text-white/80 hover:bg-white/20 hover:text-white p-2 rounded-lg cursor-pointer transition-colors",onClick:()=>l(!1),children:r},r))})})]})}function rA(a){const{defaultPage:l,totalPages:u,onPageChange:r}=a,c=Array.from({length:u},(p,m)=>m+1),[d,f]=Y.useState(l);function y(p){f(p),r&&r(p)}return S.jsxs("div",{className:"flex items-center justify-center space-x-2",children:[S.jsx(Vt.button,{whileHover:{scale:1.05},whileTap:{scale:.95},disabled:d===1,onClick:()=>y(d-1),className:"p-2 rounded-full disabled:opacity-50 disabled:cursor-not-allowed hover:bg-white/20",children:S.jsx(Al,{className:"rotate-180"})}),c.map(p=>S.jsx(Vt.button,{whileHover:{scale:1.05},whileTap:{scale:.95},onClick:()=>y(p),className:`w-10 h-10 rounded-full transition-colors ${d===p?"bg-blue-500/50":"hover:bg-white/20"}`,children:p},p)),S.jsx(Vt.button,{whileHover:{scale:1.05},whileTap:{scale:.95},disabled:d===u,onClick:()=>y(d+1),className:"p-2 rounded-full disabled:opacity-50 disabled:cursor-not-allowed hover:bg-white/20",children:S.jsx(Al,{})})]})}const oA="bg-white/10 backdrop-blur-md border border-white/20 shadow-inner";function cA(a){const{label:l,value:u,selected:r,onChange:c}=a;return S.jsxs("label",{className:"flex items-center space-x-3 cursor-pointer text-white",onClick:()=>c(u),children:[S.jsx("div",{className:`
|
|
160
|
-
${oA}
|
|
161
|
-
w-6
|
|
162
|
-
h-6
|
|
163
|
-
rounded-full
|
|
164
|
-
flex
|
|
165
|
-
items-center
|
|
166
|
-
justify-center
|
|
167
|
-
transition-colors
|
|
168
|
-
`,children:S.jsx(ri,{children:r===u&&S.jsx(Vt.div,{initial:{scale:0},animate:{scale:1},exit:{scale:0},className:"w-3 h-3 bg-blue-400 rounded-full"})})}),S.jsx("span",{children:l})]})}function fA(){const[a,l]=Y.useState(!1);return S.jsx("div",{className:"min-h-screen w-full bg-gradient-to-br from-indigo-500 via-purple-500 to-pink-500 p-8 pt-28 font-sans text-white",children:S.jsxs("div",{className:"container mx-auto",children:[S.jsx("h1",{className:"text-5xl font-bold text-center mb-4 text-shadow",children:"Liquid Glass UI"}),S.jsx("p",{className:"text-center text-white/80 mb-12 text-shadow-sm",children:"React, TailwindCSS, Framer Motion"}),S.jsxs("div",{className:"w-full flex flex-col gap-4",children:[S.jsxs("div",{className:"w-full",children:[S.jsx("div",{className:"w-full",children:S.jsx("p",{className:"text-xl font-bold",children:"アラート"})}),S.jsx("div",{className:"w-full",children:S.jsx("p",{className:"text-lg",children:"variant : solid"})}),S.jsx("div",{className:"w-full flex gap-4 flex-wrap",children:S.jsx(q2,{message:"aaa",isDefaultVisible:!0})})]}),S.jsxs("div",{className:"w-full",children:[S.jsx("div",{className:"w-full",children:S.jsx("p",{className:"text-xl font-bold",children:"バッジ"})}),S.jsx("div",{className:"w-full",children:S.jsx("p",{className:"text-lg",children:"variant : solid"})}),S.jsx("div",{className:"w-full flex gap-4 flex-wrap",children:S.jsx(G2,{children:"aaa"})})]}),S.jsxs("div",{className:"w-full",children:[S.jsx("div",{className:"w-full",children:S.jsx("p",{className:"text-xl font-bold",children:"ボタン"})}),S.jsx("div",{className:"w-full",children:S.jsx("p",{className:"text-lg",children:"variant : solid"})}),S.jsxs("div",{className:"w-full flex gap-4 flex-wrap",children:[S.jsx(Pt,{color:"primary",onPress:()=>{},children:"primary"}),S.jsx(Pt,{color:"success",onPress:()=>{},children:"success"}),S.jsx(Pt,{color:"secondary",onPress:()=>{},children:"secondary"}),S.jsx(Pt,{color:"warning",onPress:()=>{},children:"warning"}),S.jsx(Pt,{color:"danger",onPress:()=>{},children:"danger"}),S.jsx(Pt,{color:"default",onPress:()=>{},children:"default"})]})]}),S.jsxs("div",{className:"w-full",children:[S.jsx("div",{className:"w-full",children:S.jsx("p",{className:"text-xl font-bold",children:"ボタングループ"})}),S.jsx("div",{className:"w-full",children:S.jsx("p",{className:"text-lg",children:"variant : solid"})}),S.jsx("div",{className:"w-full flex gap-4 flex-wrap",children:S.jsxs(X2,{children:[S.jsx(Pt,{color:"primary",onPress:()=>{},children:"primary"}),S.jsx(Pt,{color:"success",onPress:()=>{},children:"success"}),S.jsx(Pt,{color:"secondary",onPress:()=>{},children:"secondary"}),S.jsx(Pt,{color:"warning",onPress:()=>{},children:"warning"}),S.jsx(Pt,{color:"danger",onPress:()=>{},children:"danger"}),S.jsx(Pt,{color:"default",onPress:()=>{},children:"default"})]})})]}),S.jsxs("div",{className:"w-full",children:[S.jsx("div",{className:"w-full",children:S.jsx("p",{className:"text-xl font-bold",children:"パンくずリスト"})}),S.jsx("div",{className:"w-full",children:S.jsx("p",{className:"text-lg",children:"variant : solid"})}),S.jsx("div",{className:"w-full flex gap-4 flex-wrap",children:S.jsx(K2,{})})]}),S.jsxs("div",{className:"w-full",children:[S.jsx("div",{className:"w-full",children:S.jsx("p",{className:"text-xl font-bold",children:"カード"})}),S.jsx("div",{className:"w-full",children:S.jsx("p",{className:"text-lg",children:"variant : solid"})}),S.jsx("div",{className:"w-full flex gap-4 flex-wrap",children:S.jsxs(k2,{children:[S.jsx(P2,{children:S.jsx("h3",{className:"text-xl font-bold",children:"Glass Card"})}),S.jsx(J2,{children:S.jsx("p",{children:"カードの本文です。"})}),S.jsx($2,{children:S.jsx(Pt,{className:"w-full",children:"アクション"})})]})})]}),S.jsxs("div",{className:"w-full",children:[S.jsx("div",{className:"w-full",children:S.jsx("p",{className:"text-xl font-bold",children:"チップ"})}),S.jsx("div",{className:"w-full",children:S.jsx("p",{className:"text-lg",children:"variant : solid"})}),S.jsx("div",{className:"w-full flex gap-4 flex-wrap",children:S.jsx(W2,{label:"aaa"})})]}),S.jsxs("div",{className:"w-full",children:[S.jsx("div",{className:"w-full",children:S.jsx("p",{className:"text-xl font-bold",children:"チェックボックス"})}),S.jsx("div",{className:"w-full",children:S.jsx("p",{className:"text-lg",children:"variant : solid"})}),S.jsx("div",{className:"w-full flex gap-4 flex-wrap",children:S.jsx(B2,{label:"あああ",isDefaultChecked:!0})})]}),S.jsxs("div",{className:"w-full",children:[S.jsx("div",{className:"w-full",children:S.jsx("p",{className:"text-xl font-bold",children:"コード"})}),S.jsx("div",{className:"w-full",children:S.jsx("p",{className:"text-lg",children:"variant : solid"})}),S.jsx("div",{className:"w-full flex gap-4 flex-wrap",children:S.jsx(tA,{children:"aaaaa"})})]}),S.jsxs("div",{className:"w-full",children:[S.jsx("div",{className:"w-full",children:S.jsx("p",{className:"text-xl font-bold",children:"カレンダー"})}),S.jsx("div",{className:"w-full",children:S.jsx("p",{className:"text-lg",children:"variant : solid"})}),S.jsx("div",{className:"w-full flex gap-4 flex-wrap",children:S.jsx(Qg,{})})]}),S.jsxs("div",{className:"w-full",children:[S.jsx("div",{className:"w-full",children:S.jsx("p",{className:"text-xl font-bold",children:"日付選択"})}),S.jsx("div",{className:"w-full",children:S.jsx("p",{className:"text-lg",children:"variant : solid"})}),S.jsx("div",{className:"w-full flex gap-4 flex-wrap",children:S.jsx(lA,{})})]}),S.jsxs("div",{className:"w-full",children:[S.jsx("div",{className:"w-full",children:S.jsx("p",{className:"text-xl font-bold",children:"ドロップダウン"})}),S.jsx("div",{className:"w-full",children:S.jsx("p",{className:"text-lg",children:"variant : solid"})}),S.jsx("div",{className:"w-full flex gap-4 flex-wrap",children:S.jsx(uA,{})})]}),S.jsxs("div",{className:"w-full",children:[S.jsx("div",{className:"w-full",children:S.jsx("p",{className:"text-xl font-bold",children:"ページ"})}),S.jsx("div",{className:"w-full",children:S.jsx("p",{className:"text-lg",children:"variant : solid"})}),S.jsx("div",{className:"w-full flex gap-4 flex-wrap",children:S.jsx(rA,{defaultPage:2,totalPages:10})})]}),S.jsxs("div",{className:"w-full",children:[S.jsx("div",{className:"w-full",children:S.jsx("p",{className:"text-xl font-bold",children:"ラジオボタン"})}),S.jsx("div",{className:"w-full",children:S.jsx("p",{className:"text-lg",children:"variant : solid"})}),S.jsx("div",{className:"w-full flex gap-4 flex-wrap",children:S.jsx(cA,{label:"aaaa",value:"1",selected:"",onChange:function(u){throw new Error("Function not implemented.")}})})]}),S.jsx("div",{className:"w-full",children:S.jsxs("div",{className:"w-full",children:[S.jsx("p",{className:"text-xl font-bold",children:"モーダル"}),S.jsx(x2,{isOpen:a,onClose:()=>l(!1),title:"テストモーダル",children:S.jsx("p",{children:"これはテストモーダルです。"})}),S.jsx(Pt,{color:"default",onPress:()=>l(!0),children:"モーダル"})]})})]})]})})}M1.createRoot(document.getElementById("root")).render(S.jsx(Ln.StrictMode,{children:S.jsx(fA,{})}));
|