vendor: 5,794 bytes, lines 1-9
1function nb(e,n){for(var i=0;i<n.length;i++){const s=n[i];if(typeof s!="string"&&!Array.isArray(s)){for(const a in s)if(a!=="default"&&!(a in e)){const c=Object.getOwnPropertyDescriptor(s,a);c&&Object.defineProperty(e,a,c.get?c:{enumerable:!0,get:()=>s[a]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))s(a);new MutationObserver(a=>{for(const c of a)if(c.type==="childList")for(const u of c.addedNodes)u.tagName==="LINK"&&u.rel==="modulepreload"&&s(u)}).observe(document,{childList:!0,subtree:!0});function i(a){const c={};return a.integrity&&(c.integrity=a.integrity),a.referrerPolicy&&(c.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?c.credentials="include":a.crossOrigin==="anonymous"?c.credentials="omit":c.credentials="same-origin",c}function s(a){if(a.ep)return;a.ep=!0;const c=i(a);fetch(a.href,c)}})();function _y(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var wu={exports:{}},Gs={},bu={exports:{}},_e={};/** 2 * @license React 3 * react.production.min.js 4 * 5 * Copyright (c) Facebook, Inc. and its affiliates. 6 * 7 * This source code is licensed under the MIT license found in the 8 * LICENSE file in the root directory of this source tree. 9 */var wm;function rb(){if(wm)return _e;wm=1;var e=Symbol.for("react.element"),n=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),u=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),y=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),x=Symbol.iterator;function v(A){return A===null||typeof A!="object"?null:(A=x&&A[x]||A["@@iterator"],typeof A=="function"?A:null)}var b={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},C=Object.assign,S={};function E(A,$,ge){this.props=A,this.context=$,this.refs=S,this.updater=ge||b}E.prototype.isReactComponent={},E.prototype.setState=function(A,$){if(typeof A!="object"&&typeof A!="function"&&A!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,A,$,"setState")},E.prototype.forceUpdate=function(A){this.updater.enqueueForceUpdate(this,A,"forceUpdate")};function j(){}j.prototype=E.prototype;function N(A,$,ge){this.props=A,this.context=$,this.refs=S,this.updater=ge||b}var F=N.prototype=new j;F.constructor=N,C(F,E.prototype),F.isPureReactComponent=!0;var I=Array.isArray,L=Object.prototype.hasOwnProperty,H={current:null},U={key:!0,ref:!0,__self:!0,__source:!0};function z(A,$,ge){var be,Fe={},Te=null,te=null;if($!=null)for(be in $.ref!==void 0&&(te=$.ref),$.key!==void 0&&(Te=""+$.key),$)L.call($,be)&&!U.hasOwnProperty(be)&&(Fe[be]=$[be]);var ke=arguments.length-2;if(ke===1)Fe.children=ge;else if(1<ke){for(var De=Array(ke),je=0;je<ke;je++)De[je]=arguments[je+2];Fe.children=De}if(A&&A.defaultProps)for(be in ke=A.defaultProps,ke)Fe[be]===void 0&&(Fe[be]=ke[be]);return{$$typeof:e,type:A,key:Te,ref:te,props:Fe,_owner:H.current}}function q(A,$){return{$$typeof:e,type:A.type,key:$,ref:A.ref,props:A.props,_owner:A._owner}}function K(A){return typeof A=="object"&&A!==null&&A.$$typeof===e}function le(A){var $={"=":"=0",":":"=2"};return"$"+A.replace(/[=:]/g,function(ge){return $[ge]})}var ee=/\/+/g;function ne(A,$){return typeof A=="object"&&A!==null&&A.key!=null?le(""+A.key):$.toString(36)}function oe(A,$,ge,be,Fe){var Te=typeof A;(Te==="undefined"||Te==="boolean")&&(A=null);var te=!1;if(A===null)te=!0;else switch(Te){case"string":case"number":te=!0;break;case"object":switch(A.$$typeof){case e:case n:te=!0}}if(te)return te=A,Fe=Fe(te),A=be===""?"."+ne(te,0):be,I(Fe)?(ge="",A!=null&&(ge=A.replace(ee,"$&/")+"/"),oe(Fe,$,ge,"",function(je){return je})):Fe!=null&&(K(Fe)&&(Fe=q(Fe,ge+(!Fe.key||te&&te.key===Fe.key?"":(""+Fe.key).replace(ee,"$&/")+"/")+A)),$.push(Fe)),1;if(te=0,be=be===""?".":be+":",I(A))for(var ke=0;ke<A.length;ke++){Te=A[ke];var De=be+ne(Te,ke);te+=oe(Te,$,ge,De,Fe)}else if(De=v(A),typeof De=="function")for(A=De.call(A),ke=0;!(Te=A.next()).done;)Te=Te.value,De=be+ne(Te,ke++),te+=oe(Te,$,ge,De,Fe);else if(Te==="object")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 te}function pe(A,$,ge){if(A==null)return A;var be=[],Fe=0;return oe(A,be,"","",function(Te){return $.call(ge,Te,Fe++)}),be}function se(A){if(A._status===-1){var $=A._result;$=$(),$.then(function(ge){(A._status===0||A._status===-1)&&(A._status=1,A._result=ge)},function(ge){(A._status===0||A._status===-1)&&(A._status=2,A._result=ge)}),A._status===-1&&(A._status=0,A._result=$)}if(A._status===1)return A._result.default;throw A._result}var ce={current:null},R={transition:null},X={ReactCurrentDispatcher:ce,ReactCurrentBatchConfig:R,ReactCurrentOwner:H};function Q(){throw Error("act(...) is not supported in production builds of React.")}return _e.Children={map:pe,forEach:function(A,$,ge){pe(A,function(){$.apply(this,arguments)},ge)},count:function(A){var $=0;return pe(A,function(){$++}),$},toArray:function(A){return pe(A,function($){return $})||[]},only:function(A){if(!K(A))throw Error("React.Children.only expected to receive a single React element child.");return A}},_e.Component=E,_e.Fragment=i,_e.Profiler=a,_e.PureComponent=N,_e.StrictMode=s,_e.Suspense=m,_e.__SECRET_INT
vendor: 2,338 bytes, line 9
9ERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=X,_e.act=Q,_e.cloneElement=function(A,$,ge){if(A==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+A+".");var be=C({},A.props),Fe=A.key,Te=A.ref,te=A._owner;if($!=null){if($.ref!==void 0&&(Te=$.ref,te=H.current),$.key!==void 0&&(Fe=""+$.key),A.type&&A.type.defaultProps)var ke=A.type.defaultProps;for(De in $)L.call($,De)&&!U.hasOwnProperty(De)&&(be[De]=$[De]===void 0&&ke!==void 0?ke[De]:$[De])}var De=arguments.length-2;if(De===1)be.children=ge;else if(1<De){ke=Array(De);for(var je=0;je<De;je++)ke[je]=arguments[je+2];be.children=ke}return{$$typeof:e,type:A.type,key:Fe,ref:Te,props:be,_owner:te}},_e.createContext=function(A){return A={$$typeof:u,_currentValue:A,_currentValue2:A,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},A.Provider={$$typeof:c,_context:A},A.Consumer=A},_e.createElement=z,_e.createFactory=function(A){var $=z.bind(null,A);return $.type=A,$},_e.createRef=function(){return{current:null}},_e.forwardRef=function(A){return{$$typeof:d,render:A}},_e.isValidElement=K,_e.lazy=function(A){return{$$typeof:g,_payload:{_status:-1,_result:A},_init:se}},_e.memo=function(A,$){return{$$typeof:y,type:A,compare:$===void 0?null:$}},_e.startTransition=function(A){var $=R.transition;R.transition={};try{A()}finally{R.transition=$}},_e.unstable_act=Q,_e.useCallback=function(A,$){return ce.current.useCallback(A,$)},_e.useContext=function(A){return ce.current.useContext(A)},_e.useDebugValue=function(){},_e.useDeferredValue=function(A){return ce.current.useDeferredValue(A)},_e.useEffect=function(A,$){return ce.current.useEffect(A,$)},_e.useId=function(){return ce.current.useId()},_e.useImperativeHandle=function(A,$,ge){return ce.current.useImperativeHandle(A,$,ge)},_e.useInsertionEffect=function(A,$){return ce.current.useInsertionEffect(A,$)},_e.useLayoutEffect=function(A,$){return ce.current.useLayoutEffect(A,$)},_e.useMemo=function(A,$){return ce.current.useMemo(A,$)},_e.useReducer=function(A,$,ge){return ce.current.useReducer(A,$,ge)},_e.useRef=function(A){return ce.current.useRef(A)},_e.useState=function(A){return ce.current.useState(A)},_e.useSyncExternalStore=function(A,$,ge){return ce.current.useSyncExternalStore(A,$,ge)},_e.useTransition=function(){return ce.current.useTransition()}
vendor: 5,227 bytes, lines 9-25
9,_e.version="18.3.1",_e}var bm;function Bd(){return bm||(bm=1,bu.exports=rb()),bu.exports}/** 10 * @license React 11 * react-jsx-runtime.production.min.js 12 * 13 * Copyright (c) Facebook, Inc. and its affiliates. 14 * 15 * This source code is licensed under the MIT license found in the 16 * LICENSE file in the root directory of this source tree. 17 */var Sm;function ib(){if(Sm)return Gs;Sm=1;var e=Bd(),n=Symbol.for("react.element"),i=Symbol.for("react.fragment"),s=Object.prototype.hasOwnProperty,a=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c={key:!0,ref:!0,__self:!0,__source:!0};function u(d,m,y){var g,x={},v=null,b=null;y!==void 0&&(v=""+y),m.key!==void 0&&(v=""+m.key),m.ref!==void 0&&(b=m.ref);for(g in m)s.call(m,g)&&!c.hasOwnProperty(g)&&(x[g]=m[g]);if(d&&d.defaultProps)for(g in m=d.defaultProps,m)x[g]===void 0&&(x[g]=m[g]);return{$$typeof:n,type:d,key:v,ref:b,props:x,_owner:a.current}}return Gs.Fragment=i,Gs.jsx=u,Gs.jsxs=u,Gs}var km;function sb(){return km||(km=1,wu.exports=ib()),wu.exports}var h=sb(),Da={},Su={exports:{}},zt={},ku={exports:{}},Cu={};/** 18 * @license React 19 * scheduler.production.min.js 20 * 21 * Copyright (c) Facebook, Inc. and its affiliates. 22 * 23 * This source code is licensed under the MIT license found in the 24 * LICENSE file in the root directory of this source tree. 25 */var Cm;function ob(){return Cm||(Cm=1,(function(e){function n(R,X){var Q=R.length;R.push(X);e:for(;0<Q;){var A=Q-1>>>1,$=R[A];if(0<a($,X))R[A]=X,R[Q]=$,Q=A;else break e}}function i(R){return R.length===0?null:R[0]}function s(R){if(R.length===0)return null;var X=R[0],Q=R.pop();if(Q!==X){R[0]=Q;e:for(var A=0,$=R.length,ge=$>>>1;A<ge;){var be=2*(A+1)-1,Fe=R[be],Te=be+1,te=R[Te];if(0>a(Fe,Q))Te<$&&0>a(te,Fe)?(R[A]=te,R[Te]=Q,A=Te):(R[A]=Fe,R[be]=Q,A=be);else if(Te<$&&0>a(te,Q))R[A]=te,R[Te]=Q,A=Te;else break e}}return X}function a(R,X){var Q=R.sortIndex-X.sortIndex;return Q!==0?Q:R.id-X.id}if(typeof performance=="object"&&typeof performance.now=="function"){var c=performance;e.unstable_now=function(){return c.now()}}else{var u=Date,d=u.now();e.unstable_now=function(){return u.now()-d}}var m=[],y=[],g=1,x=null,v=3,b=!1,C=!1,S=!1,E=typeof setTimeout=="function"?setTimeout:null,j=typeof clearTimeout=="function"?clearTimeout:null,N=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function F(R){for(var X=i(y);X!==null;){if(X.callback===null)s(y);else if(X.startTime<=R)s(y),X.sortIndex=X.expirationTime,n(m,X);else break;X=i(y)}}function I(R){if(S=!1,F(R),!C)if(i(m)!==null)C=!0,se(L);else{var X=i(y);X!==null&&ce(I,X.startTime-R)}}function L(R,X){C=!1,S&&(S=!1,j(z),z=-1),b=!0;var Q=v;try{for(F(X),x=i(m);x!==null&&(!(x.expirationTime>X)||R&&!le());){var A=x.callback;if(typeof A=="function"){x.callback=null,v=x.priorityLevel;var $=A(x.expirationTime<=X);X=e.unstable_now(),typeof $=="function"?x.callback=$:x===i(m)&&s(m),F(X)}else s(m);x=i(m)}if(x!==null)var ge=!0;else{var be=i(y);be!==null&&ce(I,be.startTime-X),ge=!1}return ge}finally{x=null,v=Q,b=!1}}var H=!1,U=null,z=-1,q=5,K=-1;function le(){return!(e.unstable_now()-K<q)}function ee(){if(U!==null){var R=e.unstable_now();K=R;var X=!0;try{X=U(!0,R)}finally{X?ne():(H=!1,U=null)}}else H=!1}var ne;if(typeof N=="function")ne=function(){N(ee)};else if(typeof MessageChannel<"u"){var oe=new MessageChannel,pe=oe.port2;oe.port1.onmessage=ee,ne=function(){pe.postMessage(null)}}else ne=function(){E(ee,0)};function se(R){U=R,H||(H=!0,ne())}function ce(R,X){z=E(function(){R(e.unstable_now())},X)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(R){R.callback=null},e.unstable_continueExecution=function(){C||b||(C=!0,se(L))},e.unstable_forceFrameRate=function(R){0>R||125<R?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):q=0<R?Math.floor(1e3/R):5},e.unstable_getCurrentPriorityLevel=function(){return v},e.unstable_getFirstCallbackNode=function(){return i(m)},e.unstable_next=function(R){switch(v){case 1:case 2:case 3:var X=3;break;default:X=v}var Q=v;v=X;try{return R()}finally{v=Q}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(R,X){switch(R){case 1:case 2:case 3:case 4:case 5:break;default:R=3}var Q=v;v=R;try{return X()}finally{v=Q}},e.unstable_scheduleCallback=function(R,X,Q){var A=e.unstable_now();switch(typeof Q=="object"&&Q!==null?(Q=Q.delay,Q=typeof Q=="number"&&0<Q?A+Q:A):Q=A,R){case 1:var $=-1;break;case 2:$=250;break;case 5:$=1073741823;break;case 4:$=1e4;break;default:$=5e3}return $=Q+$,R={id:g++,callback:X,priorityLevel:R,startTime:Q,expirationTime:$,sortIndex:-1},Q>A?(R.sortIndex=Q,n(y,R),i(m)===null&&R===i(y)&&(S?(j(z),z=-1):S=!0,ce(I,Q-A))):(R.sortIndex=$,n(m,R),C||b||(C=!0,se(L))),R},e.unstable_shouldYield=le,e.unstable_wrapCallback=function(R){var X=v;return function(){var Q=v;v=X;try{return R.apply(this,arguments)}finally{v=Q}}}})(Cu)),Cu}var Em;
vendor: 4,268 bytes, lines 25-33
25function ab(){return Em||(Em=1,ku.exports=ob()),ku.exports}/** 26 * @license React 27 * react-dom.production.min.js 28 * 29 * Copyright (c) Facebook, Inc. and its affiliates. 30 * 31 * This source code is licensed under the MIT license found in the 32 * LICENSE file in the root directory of this source tree. 33 */var Nm;function lb(){if(Nm)return zt;Nm=1;var e=Bd(),n=ab();function i(t){for(var r="https://reactjs.org/docs/error-decoder.html?invariant="+t,o=1;o<arguments.length;o++)r+="&args[]="+encodeURIComponent(arguments[o]);return"Minified React error #"+t+"; visit "+r+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var s=new Set,a={};function c(t,r){u(t,r),u(t+"Capture",r)}function u(t,r){for(a[t]=r,t=0;t<r.length;t++)s.add(r[t])}var d=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),m=Object.prototype.hasOwnProperty,y=/^[: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]*$/,g={},x={};function v(t){return m.call(x,t)?!0:m.call(g,t)?!1:y.test(t)?x[t]=!0:(g[t]=!0,!1)}function b(t,r,o,l){if(o!==null&&o.type===0)return!1;switch(typeof r){case"function":case"symbol":return!0;case"boolean":return l?!1:o!==null?!o.acceptsBooleans:(t=t.toLowerCase().slice(0,5),t!=="data-"&&t!=="aria-");default:return!1}}function C(t,r,o,l){if(r===null||typeof r>"u"||b(t,r,o,l))return!0;if(l)return!1;if(o!==null)switch(o.type){case 3:return!r;case 4:return r===!1;case 5:return isNaN(r);case 6:return isNaN(r)||1>r}return!1}function S(t,r,o,l,f,p,w){this.acceptsBooleans=r===2||r===3||r===4,this.attributeName=l,this.attributeNamespace=f,this.mustUseProperty=o,this.propertyName=t,this.type=r,this.sanitizeURL=p,this.removeEmptyString=w}var E={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(t){E[t]=new S(t,0,!1,t,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(t){var r=t[0];E[r]=new S(r,1,!1,t[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(t){E[t]=new S(t,2,!1,t.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(t){E[t]=new S(t,2,!1,t,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(t){E[t]=new S(t,3,!1,t.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(t){E[t]=new S(t,3,!0,t,null,!1,!1)}),["capture","download"].forEach(function(t){E[t]=new S(t,4,!1,t,null,!1,!1)}),["cols","rows","size","span"].forEach(function(t){E[t]=new S(t,6,!1,t,null,!1,!1)}),["rowSpan","start"].forEach(function(t){E[t]=new S(t,5,!1,t.toLowerCase(),null,!1,!1)});var j=/[\-:]([a-z])/g;function N(t){return t[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode
33-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(t){var r=t.replace(j,N);E[r]=new S(r,1,!1,t,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(t){var r=t.replace(j,N);E[r]=new S(r,1,!1,t,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(t){var r=t.replace(j,N);E[r]=new S(r,1,!1,t,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(t){E[t]=new S(t,1,!1,t.toLowerCase(),null,!1,!1)}),E.xlinkHref=new S("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(t){E[t]=new S(t,1,!1,t.toLowerCase(),null,!0,!0)});function F(t,r,o,l){var f=E.hasOwnProperty(r)?E[r]:null;(f!==null?f.type!==0:l||!(2<r.length)||r[0]!=="o"&&r[0]!=="O"||r[1]!=="n"&&r[1]!=="N")&&(C(r,o,f,l)&&(o=null),l||f===null?v(r)&&(o===null?t.removeAttribute(r):t.setAttribute(r,""+o)):f.mustUseProperty?t[f.propertyName]=o===null?f.type===3?!1:"":o:(r=f.attributeName,l=f.attributeNamespace,o===null?t.removeAttribute(r):(f=f.type,o=f===3||f===4&&o===!0?"":""+o,l?t.setAttributeNS(l,r,o):t.setAttribute(r,o))))}var I=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,L=Symbol.for("react.element"),H=Symbol.for("react.portal"),U=Symbol.for("react.fragment"),z=Symbol.for("react.strict_mode"),q=Symbol.for("react.profiler"),K=Symbol.for("react.provider"),le=Symbol.for("react.context"),ee=Symbol.for("react.forward_ref"),ne=Symbol.for("react.suspense"),oe=Symbol.for("react.suspense_list"),pe=Symbol.for("react.memo"),se=Symbol.for("react.lazy"),ce=Symbol.for("react.offscreen"),R=Symbol.iterator;function X(t){return t===null||typeof t!="object"?null:(t=R&&t[R]||t["@@iterator"],typeof t=="function"?t:null)}var Q=Object.assign,A;function $(t){if(A===void 0)try{throw Error()}catch(o){var r=o.stack.trim().match(/\n( *(at )?)/);A=r&&r[1]||""}return` 34`+A+t}var ge=!1;function be(t,r){if(!t||ge)return"";ge=!0;var o=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(r)if(r=function(){throw Error()},Object.defineProperty(r.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(r,[])}catch(B){var l=B}Reflect.construct(t,[],r)}else{try{r.call()}catch(B){l=B}t.call(r.prototype)}else{try{throw Error()}catch(B){l=B}t()}}catch(B){if(B&&l&&typeof B.stack=="string"){for(var f=B.stack.split(` 35`),p=l.stack.split(` 36`),w=f.length-1,D=p.length-1;1<=w&&0<=D&&f[w]!==p[D];)D--;for(;1<=w&&0<=D;w--,D--)if(f[w]!==p[D]){if(w!==1||D!==1)do if(w--,D--,0>D||f[w]!==p[D]){var T=` 37`+f[w].replace(" at new "," at ");return t.displayName&&T.includes("<anonymous>")&&(T=T.replace("<anonymous>",t.displayName)),T}while(1<=w&&0<=D);break}}}finally{ge=!1,Error.prepareStackTrace=o}return(t=t?t.displayName||t.name:"")?$(t):""}function Fe(t){switch(t.tag){case 5:return $(t.type);case 16:return $("Lazy");case 13:return $("Suspense");case 19:return $("SuspenseList");case 0:case 2:case 15:return t=be(t.type,!1),t;case 11:return t=be(t.type.render,!1),t;case 1:return t=be(t.type,!0),t;default:return""}}function Te(t){if(t==null)return null;if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case U:return"Fragment";case H:return"Portal";case q:return"Profiler";case z:return"StrictMode";case ne:return"Suspense";case oe:return"SuspenseList"}if(typeof t=="object")switch(t.$$typeof){case le:return(t.displayName||"Context")+".Consumer";case K:return(t._context.displayName||"Context")+".Provider";case ee:var r=t.render;return t=t.displayName,t||(t=r.displayName||r.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case pe:return r=t.displayName||null,r!==null?r:Te(t.type)||"Memo";case se:r=t._payload,t=t._init;try{return Te(t(r))}catch{}}return null}function te(t){var r=t.type;switch(t.tag){case 24:return"Cache";case 9:return(r.displayName||"Context")+".Consumer";case 10:return(r._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return t=r.render,t=t.displayName||t.name||"",r.displayName||(t!==""?"ForwardRef("+t+")":"ForwardRef");case 7:return"Fragment";case 5:return r;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Te(r);case 8:return r===z?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof r=="function")return r.displayName||r.name||null;if(typeof r=="string")return r}return null}function ke(t){switch(typeof t){case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function De(t){var r=t.type;
vendor: 6,040 bytes, line 37
37return(t=t.nodeName)&&t.toLowerCase()==="input"&&(r==="checkbox"||r==="radio")}function je(t){var r=De(t)?"checked":"value",o=Object.getOwnPropertyDescriptor(t.constructor.prototype,r),l=""+t[r];if(!t.hasOwnProperty(r)&&typeof o<"u"&&typeof o.get=="function"&&typeof o.set=="function"){var f=o.get,p=o.set;return Object.defineProperty(t,r,{configurable:!0,get:function(){return f.call(this)},set:function(w){l=""+w,p.call(this,w)}}),Object.defineProperty(t,r,{enumerable:o.enumerable}),{getValue:function(){return l},setValue:function(w){l=""+w},stopTracking:function(){t._valueTracker=null,delete t[r]}}}}function Ae(t){t._valueTracker||(t._valueTracker=je(t))}function Re(t){if(!t)return!1;var r=t._valueTracker;if(!r)return!0;var o=r.getValue(),l="";return t&&(l=De(t)?t.checked?"true":"false":t.value),t=l,t!==o?(r.setValue(t),!0):!1}function at(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}}function xt(t,r){var o=r.checked;return Q({},r,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:o??t._wrapperState.initialChecked})}function kn(t,r){var o=r.defaultValue==null?"":r.defaultValue,l=r.checked!=null?r.checked:r.defaultChecked;o=ke(r.value!=null?r.value:o),t._wrapperState={initialChecked:l,initialValue:o,controlled:r.type==="checkbox"||r.type==="radio"?r.checked!=null:r.value!=null}}function an(t,r){r=r.checked,r!=null&&F(t,"checked",r,!1)}function Qt(t,r){an(t,r);var o=ke(r.value),l=r.type;if(o!=null)l==="number"?(o===0&&t.value===""||t.value!=o)&&(t.value=""+o):t.value!==""+o&&(t.value=""+o);else if(l==="submit"||l==="reset"){t.removeAttribute("value");return}r.hasOwnProperty("value")?Cn(t,r.type,o):r.hasOwnProperty("defaultValue")&&Cn(t,r.type,ke(r.defaultValue)),r.checked==null&&r.defaultChecked!=null&&(t.defaultChecked=!!r.defaultChecked)}function si(t,r,o){if(r.hasOwnProperty("value")||r.hasOwnProperty("defaultValue")){var l=r.type;if(!(l!=="submit"&&l!=="reset"||r.value!==void 0&&r.value!==null))return;r=""+t._wrapperState.initialValue,o||r===t.value||(t.value=r),t.defaultValue=r}o=t.name,o!==""&&(t.name=""),t.defaultChecked=!!t._wrapperState.initialChecked,o!==""&&(t.name=o)}function Cn(t,r,o){(r!=="number"||at(t.ownerDocument)!==t)&&(o==null?t.defaultValue=""+t._wrapperState.initialValue:t.defaultValue!==""+o&&(t.defaultValue=""+o))}var oi=Array.isArray;function Bn(t,r,o,l){if(t=t.options,r){r={};for(var f=0;f<o.length;f++)r["$"+o[f]]=!0;for(o=0;o<t.length;o++)f=r.hasOwnProperty("$"+t[o].value),t[o].selected!==f&&(t[o].selected=f),f&&l&&(t[o].defaultSelected=!0)}else{for(o=""+ke(o),r=null,f=0;f<t.length;f++){if(t[f].value===o){t[f].selected=!0,l&&(t[f].defaultSelected=!0);return}r!==null||t[f].disabled||(r=t[f])}r!==null&&(r.selected=!0)}}function P(t,r){if(r.dangerouslySetInnerHTML!=null)throw Error(i(91));return Q({},r,{value:void 0,defaultValue:void 0,children:""+t._wrapperState.initialValue})}function O(t,r){var o=r.value;if(o==null){if(o=r.children,r=r.defaultValue,o!=null){if(r!=null)throw Error(i(92));if(oi(o)){if(1<o.length)throw Error(i(93));o=o[0]}r=o}r==null&&(r=""),o=r}t._wrapperState={initialValue:ke(o)}}function W(t,r){var o=ke(r.value),l=ke(r.defaultValue);o!=null&&(o=""+o,o!==t.value&&(t.value=o),r.defaultValue==null&&t.defaultValue!==o&&(t.defaultValue=o)),l!=null&&(t.defaultValue=""+l)}function de(t){var r=t.textContent;r===t._wrapperState.initialValue&&r!==""&&r!==null&&(t.value=r)}function ae(t){switch(t){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function re(t,r){return t==null||t==="http://www.w3.org/1999/xhtml"?ae(r):t==="http://www.w3.org/2000/svg"&&r==="foreignObject"?"http://www.w3.org/1999/xhtml":t}var he,Le=(function(t){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(r,o,l,f){MSApp.execUnsafeLocalFunction(function(){return t(r,o,l,f)})}:t})(function(t,r){if(t.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in t)t.innerHTML=r;else{for(he=he||document.createElement("div"),he.innerHTML="<svg>"+r.valueOf().toString()+"</svg>",r=he.firstChild;t.firstChild;)t.removeChild(t.firstChild);for(;r.firstChild;)t.appendChild(r.firstChild)}});function $e(t,r){if(r){var o=t.firstChild;if(o&&o===t.lastChild&&o.nodeType===3){o.nodeValue=r;return}}t.textContent=r}var Je={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Ml=["Webkit","ms","Moz","O"];Object.keys(Je).forEach(function(t){Ml.forEach(function(r){r=r+t.charAt(0).toUpperCase()+t.substring(1),Je[r]=Je[t]})});function ai(t,r,o){return r==null||typeof r=="boolean"||r===""?"":o||typeof r!="number"||r===0||Je.hasOwnProperty(t)&&Je[t]?(""+r).trim():r+"px"}function li(t,r){t=t.style;for(var o in r)if(r.hasOwnProperty(o)){var l=o.indexOf("--")===0,f=ai(o,r[o],l);o==="float"&&(o="cssFloat"),l?t.setProperty(o,f):t[o]=f}}var Rl=Q({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ci(t,r){if(r){if(Rl[t]&&(r.children!=null||r.dangerouslySetInnerHTML!=null))throw Error(i(137,t));if(r.dangerouslySetInnerHTML!=null){if(r.children!=null)throw Error(i(60));if(typeof r.dangerouslySetInnerHTML!="object"||!("__html"in r.dangerouslySetInnerHTML))throw Error(i(61))}if(r.style!=null&&typeof r.style!="object")throw Error(i(62))}}function us(t,r){if(t.indexOf("-")===-1)return typeof r.is=="str
37ing";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 ui=null;function Il(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var _l=null,di=null,fi=null;function Lf(t){if(t=As(t)){if(typeof _l!="function")throw Error(i(280));var r=t.stateNode;r&&(r=Wo(r),_l(t.stateNode,t.type,r))}}function Vf(t){di?fi?fi.push(t):fi=[t]:di=t}function Of(){if(di){var t=di,r=fi;if(fi=di=null,Lf(t),r)for(t=0;t<r.length;t++)Lf(r[t])}}function Bf(t,r){return t(r)}function zf(){}var Ll=!1;function Wf(t,r,o){if(Ll)return t(r,o);Ll=!0;try{return Bf(t,r,o)}finally{Ll=!1,(di!==null||fi!==null)&&(zf(),Of())}}function ds(t,r){var o=t.stateNode;if(o===null)return null;var l=Wo(o);if(l===null)return null;o=l[r];e:switch(r){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(l=!l.disabled)||(t=t.type,l=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!l;break e;default:t=!1}if(t)return null;if(o&&typeof o!="function")throw Error(i(231,r,typeof o));return o}var Vl=!1;if(d)try{var fs={};Object.defineProperty(fs,"passive",{get:function(){Vl=!0}}),window.addEventListener("test",fs,fs),window.removeEventListener("test",fs,fs)}catch{Vl=!1}function lw(t,r,o,l,f,p,w,D,T){var B=Array.prototype.slice.call(arguments,3);try{r.apply(o,B)}catch(Y){this.onError(Y)}}var hs=!1,wo=null,bo=!1,Ol=null,cw={onError:function(t){hs=!0,wo=t}};function uw(t,r,o,l,f,p,w,D,T){hs=!1,wo=null,lw.apply(cw,arguments)}function dw(t,r,o,l,f,p,w,D,T){if(uw.apply(this,arguments),hs){if(hs){var B=wo;hs=!1,wo=null}else throw Error(i(198));bo||(bo=!0,Ol=B)}}function Ir(t){var r=t,o=t;if(t.alternate)for(;r.return;)r=r.return;else{t=r;do r=t,(r.flags&4098)!==0&&(o=r.return),t=r.return;while(t)}return r.tag===3?o:null}function Uf(t){if(t.tag===13){var r=t.memoizedState;if(r===null&&(t=t.alternate,t!==null&&(r=t.memoizedState)),r!==null)return r.dehydrated}return null}function $f(t){if(Ir(t)!==t)throw Error(i(188))}function fw(t){var r=t.alternate;if(!r){if(r=Ir(t),r===null)throw Error(i(188));return r!==t?null:t}for(var o=t,l=r;;){var f=o.return;if(f===null)break;var p=f.alternate;if(p===null){if(l=f.return,l!==null){o=l;continue}break}if(f.child===p.child){for(p=f.child;p;){if(p===o)return $f(f),t;if(p===l)return $f(f),r;p=p.sibling}throw Error(i(188))}if(o.return!==l.return)o=f,l=p;else{for(var w=!1,D=f.child;D;){if(D===o){w=!0,o=f,l=p;break}if(D===l){w=!0,l=f,o=p;break}D=D.sibling}if(!w){for(D=p.child;D;){if(D===o){w=!0,o=p,l=f;break}if(D===l){w=!0,l=p,o=f;break}D=D.sibling}if(!w)throw Error(i(189))}}if(o.alternate!==l)throw Error(i(190))}if(o.tag!==3)throw Error(i(188));return o.stateNode.current===o?t:r}function Hf(t){return t=fw(t),t!==null?Kf(t):null}function Kf(t){if(t.tag===5||t.tag===6)return t;for(t=t.child;t!==null;){var r=Kf(t);if(r!==null)return r;t=t.sibling}return null}var Gf=n.unstable_scheduleCallback,Yf=n.unstable_cancelCallback,hw=n.unstable_shouldYield,pw=n.unstable_requestPaint,nt=n.unstable_now,mw=n.unstable_getCurrentPriorityLevel,Bl=n.unstable_ImmediatePriority,Xf=n.unstable_UserBlockingPriority,So=n.unstable_NormalPriority,gw=n.unstable_LowPriority,qf=n.unstable_IdlePriority,ko=null,En=null;function yw(t){if(En&&typeof En.onCommitFiberRoot=="function")try{En.onCommitFiberRoot(ko,t,void 0,(t.current.flags&128)===128)}catch{}}var ln=Math.clz32?Math.clz32:ww,vw=Math.log,xw=Math.LN2;function ww(t){return t>>>=0,t===0?32:31-(vw(t)/xw|0)|0}var Co=64,Eo=4194304;function ps(t){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:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return t&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return t}}function No(t,r){var o=t.pendingLanes;if(o===0)return 0;var l=0,f=t.suspendedLanes,p=t.pingedLanes,w=o&268435455;if(w!==0){var D=w&~f;D!==0?l=ps(D):(p&=w,p!==0&&(l=ps(p)))}else w=o&~f,w!==0?l=ps(w):p!==0&&(l=ps(p));if(l===0)return 0;if(r!==0&&r!==l&&(r&f)===0&&(f=l&-l,p=r&-r,f>=p||f===16&&(p&4194240)!==0))return r;if((l&4)!==0&&(l|=o&16),r=t.entangledLanes,r!==0)for(t=t.entanglements,r&=l;0<r;)o=31-ln(r),f=1<<o,l|=t[o],r&=~f;return l}function bw(t,r){switch(t){case 1:case 2:case 4:return r+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return r+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Sw(t,r){for(var o=t.suspendedLanes,l=t.pingedLanes,f=t.expirationTimes,p=t.pendingLanes;0<p;){var w=31-ln(p),D=1<<w,T=f[w];T===-1?((D&o)===0||(D&l)!==0)&&(f[w]=bw(D,r)):T<=r&&(t.expiredLanes|=D),p&=~D}}function zl(t){return t=t.pendingLanes&-1073741825,t!==0?t:t&1073741824?1073741824:0}function Qf(){var t=Co;return Co<<=1,(Co&4194240)===0&&(Co=64),t}function Wl(t){for(var r=[],o=0;31>o;o++)r.push(t);return r}function ms(t,r,o){t.pendingLanes|=r,r!==536870912&&(t.suspendedLanes=0,t.pingedLanes=0),t=t.eventTimes,r=31-ln(r),t[r]=o}function kw(t,r){var o=t.pendingLanes&~r;t.pendingLanes=r,t.suspendedLanes=0,t.pingedLanes=0,t.expiredLanes&=r,t.mutableReadLanes&=r,t.entangledLanes&=r,r=t.entanglements;var l=t.eventTimes;for(t=t.expirationTimes;0<o;){var f=31-ln(o),p=1<<f;r[f]=0,l[f]=-1,t[f]=-1,o&=~p}}function Ul(t,r){var o=t.entangledLanes|=r;for(t=t.entanglements;o;){var l=31-ln(o),f=1<<l;f&r|t[l]&r&&(t[l]|=r),o&=~f}}var Be=0;function Zf(t){return t&=-t,1<t?4<t?(t&268435455)!==0?16:536870912:4:1}var Jf,$l,eh,th,nh,Hl=!1,Do=[],rr=null,ir=null,sr=null,gs=new Map,ys=new Map,or=[],Cw="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function rh(t,r){switch(t){case"focusin":case"focusout":rr=null;break;case"dragenter":case"dragleave":ir=null;break;case"mouseover":case"mouseout":sr=null;break;case"pointerover":case"pointerout":gs.delete(r.pointerId);break;case"gotpointercapture":case"lostpointercapture":ys.delete(r.pointerId)}}function vs(t,r,o,l,f,p){return t===null||t.nativeEvent!==p?(t={blockedOn:r,domEventName:o,eventSystemFlags:l,nativeEvent:p,targetContainers:[f]},r!==null&&(r=As(r),r!==null&&$l(r)),t):(t.eventSystemFlags|=l,r=t.targetContainers,f!==null&&r.indexOf(f)===-1&&r.push(f),t)}function Ew(t,r,o,l,f){switch(r){case"focusin":return rr=vs(rr,t,r,o,l,f),!0;case"dragenter":return ir=vs(ir,t,r,o,l,f),!0;case"mouseover":return sr=vs(sr,t,r,o,l,f),!0;case"pointerover":var p=f.pointerId;return gs.set(p,vs(gs.get(p)||null,t,r,o,l,f)),!0;case"gotpointercapture":return p=f.pointerId,ys.set(p,vs(ys.get(p)||null,t,r,o,l,f)),!0}return!1}function ih(t){var r=_r(t.target);if(r!==null){var o=Ir(r);if(o!==null){if(r=o.tag,r===13){if(r=Uf(o),r!==null){t.blockedOn=r,nh(t.priority,function(){eh(o)});return}}else if(r===3&&o.stateNode.current.memoizedState.isDehydrated){t.blockedOn=o.tag===3?o.stateNode.containerInfo:null;return}}}t.blockedOn=null}function jo(t){if(t.blockedOn!==null)return!1;for(var r=t.targetContainers;0<r.length;){var o=Gl(t.domEventName,t.eventSystemFlags,r[0],t.nativeEvent);if(o===null){o=t.nativeEvent;var l=new o.constructor(o.type,o);ui=l,o.target.dispatchEvent(l),ui=null}else return r=As(o),r!==null&&$l(r),t.blockedOn=o,!1;r.shift()}return!0}function sh(t,r,o){jo(t)&&o.delete(r)}function Nw(){Hl=!1,rr!==null&&jo(rr)&&(rr=null),ir!==null&&jo(ir)&&(ir=null),sr!==null&&jo(sr)&&(sr=null),gs.forEac
vendor: 24,917 bytes, lines 37-38
37h(sh),ys.forEach(sh)}function xs(t,r){t.blockedOn===r&&(t.blockedOn=null,Hl||(Hl=!0,n.unstable_scheduleCallback(n.unstable_NormalPriority,Nw)))}function ws(t){function r(f){return xs(f,t)}if(0<Do.length){xs(Do[0],t);for(var o=1;o<Do.length;o++){var l=Do[o];l.blockedOn===t&&(l.blockedOn=null)}}for(rr!==null&&xs(rr,t),ir!==null&&xs(ir,t),sr!==null&&xs(sr,t),gs.forEach(r),ys.forEach(r),o=0;o<or.length;o++)l=or[o],l.blockedOn===t&&(l.blockedOn=null);for(;0<or.length&&(o=or[0],o.blockedOn===null);)ih(o),o.blockedOn===null&&or.shift()}var hi=I.ReactCurrentBatchConfig,Fo=!0;function Dw(t,r,o,l){var f=Be,p=hi.transition;hi.transition=null;try{Be=1,Kl(t,r,o,l)}finally{Be=f,hi.transition=p}}function jw(t,r,o,l){var f=Be,p=hi.transition;hi.transition=null;try{Be=4,Kl(t,r,o,l)}finally{Be=f,hi.transition=p}}function Kl(t,r,o,l){if(Fo){var f=Gl(t,r,o,l);if(f===null)uc(t,r,l,Po,o),rh(t,l);else if(Ew(f,t,r,o,l))l.stopPropagation();else if(rh(t,l),r&4&&-1<Cw.indexOf(t)){for(;f!==null;){var p=As(f);if(p!==null&&Jf(p),p=Gl(t,r,o,l),p===null&&uc(t,r,l,Po,o),p===f)break;f=p}f!==null&&l.stopPropagation()}else uc(t,r,l,null,o)}}var Po=null;function Gl(t,r,o,l){if(Po=null,t=Il(l),t=_r(t),t!==null)if(r=Ir(t),r===null)t=null;else if(o=r.tag,o===13){if(t=Uf(r),t!==null)return t;t=null}else if(o===3){if(r.stateNode.current.memoizedState.isDehydrated)return r.tag===3?r.stateNode.containerInfo:null;t=null}else r!==t&&(t=null);return Po=t,null}function oh(t){switch(t){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(mw()){case Bl:return 1;case Xf:return 4;case So:case gw:return 16;case qf:return 536870912;default:return 16}default:return 16}}var ar=null,Yl=null,To=null;function ah(){if(To)return To;var t,r=Yl,o=r.length,l,f="value"in ar?ar.value:ar.textContent,p=f.length;for(t=0;t<o&&r[t]===f[t];t++);var w=o-t;for(l=1;l<=w&&r[o-l]===f[p-l];l++);return To=f.slice(t,1<l?1-l:void 0)}function Ao(t){var r=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&r===13&&(t=13)):t=r,t===10&&(t=13),32<=t||t===13?t:0}function Mo(){return!0}function lh(){return!1}function Wt(t){function r(o,l,f,p,w){this._reactName=o,this._targetInst=f,this.type=l,this.nativeEvent=p,this.target=w,this.currentTarget=null;for(var D in t)t.hasOwnProperty(D)&&(o=t[D],this[D]=o?o(p):p[D]);return this.isDefaultPrevented=(p.defaultPrevented!=null?p.defaultPrevented:p.returnValue===!1)?Mo:lh,this.isPropagationStopped=lh,this}return Q(r.prototype,{preventDefault:function(){this.defaultPrevented=!0;var o=this.nativeEvent;o&&(o.preventDefault?o.preventDefault():typeof o.returnValue!="unknown"&&(o.returnValue=!1),this.isDefaultPrevented=Mo)},stopPropagation:function(){var o=this.nativeEvent;o&&(o.stopPropagation?o.stopPropagation():typeof o.cancelBubble!="unknown"&&(o.cancelBubble=!0),this.isPropagationStopped=Mo)},persist:function(){},isPersistent:Mo}),r}var pi={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Xl=Wt(pi),bs=Q({},pi,{view:0,detail:0}),Fw=Wt(bs),ql,Ql,Ss,Ro=Q({},bs,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Jl,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!==Ss&&(Ss&&t.type==="mousemove"?(ql=t.screenX-Ss.screenX,Ql=t.screenY-Ss.screenY):Ql=ql=0,Ss=t),ql)},movementY:function(t){return"movementY"in t?t.movementY:Ql}}),ch=Wt(Ro),Pw=Q({},Ro,{dataTransfer:0}),Tw=Wt(Pw),Aw=Q({},bs,{relatedTarget:0}),Zl=Wt(Aw),Mw=Q({},pi,{animationName:0,elapsedTime:0,pseudoElement:0}),Rw=Wt(Mw),Iw=Q({},pi,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),_w=Wt(Iw),Lw=Q({},pi,{data:0}),uh=Wt(Lw),Vw={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Ow={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"},Bw={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function zw(t){var r=this.nativeEvent;return r.getModifierState?r.getModifierState(t):(t=Bw[t])?!!r[t]:!1}function Jl(){return zw}var Ww=Q({},bs,{key:function(t){if(t.key){var r=Vw[t.key]||t.key;if(r!=="Unidentified")return r}return t.type==="keypress"?(t=Ao(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?Ow[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Jl,charCode:function(t){return t.type==="keypress"?Ao(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?Ao(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),Uw=Wt(Ww),$w=Q({},Ro,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),dh=Wt($w),Hw=Q({},bs,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Jl}),Kw=Wt(Hw),Gw=Q({},pi,{propertyName:0,elapsedTime:0,pseudoElement:0}),Yw=Wt(Gw),Xw=Q({},Ro,{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}),qw=Wt(Xw),Qw=[9,13,27,32],ec=d&&"CompositionEvent"in window,ks=null;d&&"documentMode"in document&&(ks=document.documentMode);var Zw=d&&"TextEvent"in window&&!ks,fh=d&&(!ec||ks&&8<ks&&11>=ks),hh=" ",ph=!1;function mh(t,r){switch(t){case"keyup":return Qw.indexOf(r.keyCode)!==-1;case"keydown":return r.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function gh(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var mi=!1;function Jw(t,r){switch(t){case"compositionend":return gh(r);case"keypress":return r.which!==32?null:(ph=!0,hh);case"textInput":return t=r.data,t===hh&&ph?null:t;default:return null}}function e1(t,r){if(mi)return t==="compositionend"||!ec&&mh(t,r)?(t=ah(),To=Yl=ar=null,mi=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(r.ctrlKey||r.altKey||r.metaKey)||r.ctrlKey&&r.altKey){if(r.char&&1<r.char.length)return r.char;if(r.which)return String.fromCharCode(r.which)}return null;case"compositionend":return fh&&r.locale!=="ko"?null:r.data;default:return null}}var t1={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 yh(t){var r=t&&t.nodeName&&t.nodeName.toLowerCase();return r==="input"?!!t1[t.type]:r==="textarea"}function vh(t,r,o,l){Vf(l),r=Oo(r,"onChange"),0<r.length&&(o=new Xl("onChange","change",null,o,l),t.push({event:o,listeners:r}))}var Cs=null,Es=null;function n1(t){_h(t,0)}function Io(t){var r=wi(t);if(Re(r))return t}function r1(t,r){if(t==="change")return r}var xh=!1;if(d){var tc;if(d){var nc="oninput"in document;if(!nc){var wh=document.createElement("div");wh.setAttribute("oninput","return;"),nc=typeof wh.oninput=="function"}tc=nc}else tc=!1;xh=tc&&(!document.documentMode||9<document.documentMode)}function bh(){Cs&&(Cs.detachEvent("onpropertychange",Sh),Es=Cs=null)}function Sh(t){if(t.propertyName==="value"&&Io(Es)){var r=[];vh(r,Es,t,Il(t)),Wf(n1,r)}}function i1(t,r,o){t==="focusin"?(bh(),Cs=r,Es=o,Cs.attachEvent("onpropertychange",Sh)):t==="focusout"&&bh()}function s1(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return Io(Es)}function o1(t,r){if(t==="click")return Io(r)}function a1(t,r){if(t==="input"||t==="change")return Io(r)}function l1(t,r){return t===r&&(t!==0||1/t===1/r)||t!==t&&r!==r}var cn=typeof Object.is=="function"?Object.is:l1;function Ns(t,r){if(cn(t,r))return!0;if(typeof t!="object"||t===null||typeof r!="object"||r===null)return!1;var o=Object.keys(t),l=Object.keys(r);if(o.length!==l.length)return!1;for(l=0;l<o.length;l++){var f=o[l];if(!m.call(r,f)||!cn(t[f],r[f]))return!1}return!0}function kh(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function Ch(t,r){var o=kh(t);t=0;for(var l;o;){if(o.nodeType===3){if(l=t+o.textContent.length,t<=r&&l>=r)return{node:o,offset:r-t};t=l}e:{for(;o;){if(o.nextSibling){o=o.nextSibling;break e}o=o.parentNode}o=void 0}o=kh(o)}}function Eh(t,r){return t&&r?t===r?!0:t&&t.nodeType===3?!1:r&&r.nodeType===3?Eh(t,r.parentNode):"contains"in t?t.contains(r):t.compareDocumentPosition?!!(t.compareDocumentPosition(r)&16):!1:!1}function Nh(){for(var t=window,r=at();r instanceof t.HTMLIFrameElement;){try{var o=typeof r.contentWindow.location.href=="string"}catch{o=!1}if(o)t=r.contentWindow;else break;r=at(t.document)}return r}function rc(t){var r=t&&t.nodeName&&t.nodeName.toLowerCase();return r&&(r==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||r==="textarea"||t.contentEditable==="true")}function c1(t){var r=Nh(),o=t.focusedElem,l=t.selectionRange;if(r!==o&&o&&o.ownerDocument&&Eh(o.ownerDocument.documentElement,o)){if(l!==null&&rc(o)){if(r=l.start,t=l.end,t===void 0&&(t=r),"selectionStart"in o)o.selectionStart=r,o.selectionEnd=Math.min(t,o.value.length);else if(t=(r=o.ownerDocument||document)&&r.defaultView||window,t.getSelection){t=t.getSelection();var f=o.textContent.length,p=Math.min(l.start,f);l=l.end===void 0?p:Math.min(l.end,f),!t.extend&&p>l&&(f=l,l=p,p=f),f=Ch(o,p);var w=Ch(o,l);f&&w&&(t.rangeCount!==1||t.anchorNode!==f.node||t.anchorOffset!==f.offset||t.focusNode!==w.node||t.focusOffset!==w.offset)&&(r=r.createRange(),r.setStart(f.node,f.offset),t.removeAllRanges(),p>l?(t.addRange(r),t.extend(w.node,w.offset)):(r.setEnd(w.node,w.offset),t.addRange(r)))}}for(r=[],t=o;t=t.parentNode;)t.nodeType===1&&r.push({element:t,left:t.scrollLeft,top:t.scrollTop});for(typeof o.focus=="function"&&o.focus(),o=0;o<r.length;o++)t=r[o],t.element.scrollLeft=t.left,t.element.scrollTop=t.top}}var u1=d&&"documentMode"in document&&11>=document.documentMode,gi=null,ic=null,Ds=null,sc=!1;function Dh(t,r,o){var l=o.window===o?o.document:o.nodeType===9?o:o.ownerDocument;sc||gi==null||gi!==at(l)||(l=gi,"selectionStart"in l&&rc(l)?l={start:l.selectionStart,end:l.selectionEnd}:(l=(l.ownerDocument&&l.ownerDocument.defaultView||window).getSelection(),l={anchorNode:l.anchorNode,anchorOffset:l.anchorOffset,focusNode:l.focusNode,focusOffset:l.focusOffset}),Ds&&Ns(Ds,l)||(Ds=l,l=Oo(ic,"onSelect"),0<l.length&&(r=new Xl("onSelect","select",null,r,o),t.push({event:r,listeners:l}),r.target=gi)))}function _o(t,r){var o={};return o[t.toLowerCase()]=r.toLowerCase(),o["Webkit"+t]="webkit"+r,o["Moz"+t]="moz"+r,o}var yi={animationend:_o("Animation","AnimationEnd"),animationiteration:_o("Animation","AnimationIteration"),animationstart:_o("Animation","AnimationStart"),transitionend:_o("Transition","TransitionEnd")},oc={},jh={};d&&(jh=document.createElement("div").style,"AnimationEvent"in window||(delete yi.animationend.animation,delete yi.animationiteration.animation,delete yi.animationstart.animation),"TransitionEvent"in window||delete yi.transitionend.transition);function Lo(t){if(oc[t])return oc[t];if(!yi[t])return t;var r=yi[t],o;for(o in r)if(r.hasOwnProperty(o)&&o in jh)return oc[t]=r[o];return t}var Fh=Lo("animationend"),Ph=Lo("animationiteration"),Th=Lo("animationstart"),Ah=Lo("transitionend"),Mh=new Map,Rh="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function lr(t,r){Mh.set(t,r),c(r,[t])}for(var ac=0;ac<Rh.length;ac++){var lc=Rh[ac],d1=lc.toLowerCase(),f1=lc[0].toUpperCase()+lc.slice(1);lr(d1,"on"+f1)}lr(Fh,"onAnimationEnd"),lr(Ph,"onAnimationIteration"),lr(Th,"onAnimationStart"),lr("dblclick","onDoubleClick"),lr("focusin","onFocus"),lr("focusout","onBlur"),lr(Ah,"onTransitionEnd"),u("onMouseEnter",["mouseout","mouseover"]),u("onMouseLeave",["mouseout","mouseover"]),u("onPointerEnter",["pointerout","pointerover"]),u("onPointerLeave",["pointerout","pointerover"]),c("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),c("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),c("onBeforeInput",["compositionend","keypress","textInput","paste"]),c("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var js="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(" "),h1=new Set("cancel close invalid load scroll toggle".split(" ").concat(js));function Ih(t,r,o){var l=t.type||"unknown-event";t.currentTarget=o,dw(l,r,void 0,t),t.currentTarget=null}function _h(t,r){r=(r&4)!==0;for(var o=0;o<t.length;o++){var l=t[o],f=l.event;l=l.listeners;e:{var p=void 0;if(r)for(var w=l.length-1;0<=w;w--){var D=l[w],T=D.instance,B=D.currentTarget;if(D=D.listener,T!==p&&f.isPropagationStopped())break e;Ih(f,D,B),p=T}else for(w=0;w<l.length;w++){if(D=l[w],T=D.instance,B=D.currentTarget,D=D.listener,T!==p&&f.isPropagationStopped())break e;Ih(f,D,B),p=T}}}if(bo)throw t=Ol,bo=!1,Ol=null,t}function Ge(t,r){var o=r[gc];o===void 0&&(o=r[gc]=new Set);var l=t+"__bubble";o.has(l)||(Lh(r,t,2,!1),o.add(l))}function cc(t,r,o){var l=0;r&&(l|=4),Lh(o,t,l,r)}var Vo="_reactListening"+Math.random().toString(36).slice(2);function Fs(t){if(!t[Vo]){t[Vo]=!0,s.forEach(function(o){o!=="selectionchange"&&(h1.has(o)||cc(o,!1,t),cc(o,!0,t))});var r=t.nodeType===9?t:t.ownerDocument;r===null||r[Vo]||(r[Vo]=!0,cc("selectionchange",!1,r))}}function Lh(t,r,o,l){switch(oh(r)){case 1:var f=Dw;break;case 4:f=jw;break;default:f=Kl}o=f.bind(null,r,o,t),f=void 0,!Vl||r!=="touchstart"&&r!=="touchmove"&&r!=="wheel"||(f=!0),l?f!==void 0?t.addEventListener(r,o,{capture:!0,passive:f}):t.addEventListener(r,o,!0):f!==void 0?t.addEventListener(r,o,{passive:f}):t.addEventListener(r,o,!1)}function uc(t,r,o,l,f){var p=l;if((r&1)===0&&(r&2)===0&&l!==null)e:for(;;){if(l===null)return;var w=l.tag;if(w===3||w===4){var D=l.stateNode.containerInfo;if(D===f||D.nodeType===8&&D.parentNode===f)break;if(w===4)for(w=l.return;w!==null;){var T=w.tag;if((T===3||T===4)&&(T=w.stateNode.containerInfo,T===f||T.nodeType===8&&T.parentNode===f))return;w=w.return}for(;D!==null;){if(w=_r(D),w===null)return;if(T=w.tag,T===5||T===6){l=p=w;continue e}D=D.parentNode}}l=l.return}Wf(function(){var B=p,Y=Il(o),Z=[];e:{var G=Mh.get(t);if(G!==void 0){var fe=Xl,ye=t;switch(t){case"keypress":if(Ao(o)===0)break e;case"keydown":case"keyup":fe=Uw;break;case"focusin":ye="focus",fe=Zl;break;case"focusout":ye="blur",fe=Zl;break;case"beforeblur":case"afterblur":fe=Zl;break;case"click":if(o.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":fe=ch;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":fe=Tw;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":fe=Kw;break;case Fh:case Ph:case Th:fe=Rw;break;case Ah:fe=Yw;break;case"scroll":fe=Fw;break;case"wheel":fe=qw;break;case"copy":case"cut":case"paste":fe=_w;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":fe=dh}var Se=(r&4)!==0,rt=!Se&&t==="scroll",_=Se?G!==null?G+"Capture":null:G;Se=[];for(var M=B,V;M!==null;){V=M;var ie=V.stateNode;if(V.tag===5&&ie!==null&&(V=ie,_!==null&&(ie=ds(M,_),ie!=null&&Se.push(Ps(M,ie,V)))),rt)break;M=M.return}0<Se.length&&(G=new fe(G,ye,null,o,Y),Z.push({event:G,listeners:Se}))}}if((r&7)===0){e:{if(G=t==="mouseover"||t==="pointerover",fe=t==="mouseout"||t==="pointerout",G&&o!==ui&&(ye=o.relatedTarget||o.fromElement)&&(_r(ye)||ye[zn]))break e;if((fe||G)&&(G=Y.window===Y?Y:(G=Y.ownerDocument)?G.defaultView||G.parentWindow:window,fe?(ye=o.relatedTarget||o.toElement,fe=B,ye=ye?_r(ye):null,ye!==null&&(rt=Ir(ye),ye!==rt||ye.tag!==5&&ye.tag!==6)&&(ye=null)):(fe=null,ye=B),fe!==ye)){if(Se=ch,ie="onMouseLeave",_="onMouseEnter",M="mouse",(t==="pointerout"||t==="pointerover")&&(Se=dh,ie="onPointerLeave",_="onPointerEnter",M="pointer"),rt=fe==null?G:wi(fe),V=ye==null?G:wi(ye),G=new Se(ie,M+"leave",fe,o,Y),G.target=rt,G.relatedTarget=V,ie=null,_r(Y)===B&&(Se=new Se(_,M+"enter",ye,o,Y),Se.target=V,Se.relatedTarget=rt,ie=Se),rt=ie,fe&&ye)t:{for(Se=fe,_=ye,M=0,V=Se;V;V=vi(V))M++;for(V=0,ie=_;ie;ie=vi(ie))V++;for(;0<M-V;)Se=vi(Se),M--;for(;0<V-M;)_=vi(_),V--;for(;M--;){if(Se===_||_!==null&&Se===_.alternate)break t;Se=vi(Se),_=vi(_)}Se=null}else Se=null;fe!==null&&Vh(Z,G,fe,Se,!1),ye!==null&&rt!==null&&Vh(Z,rt,ye,Se,!0)}}e:{if(G=B?wi(B):window,fe=G.nodeName&&G.nodeName.toLowerCase(),fe==="select"||fe==="input"&&G.type==="file")var Ce=r1;else if(yh(G))if(xh)Ce=a1;else{Ce=s1;var Ee=i1}else(fe=G.nodeName)&&fe.toLowerCase()==="input"&&(G.type==="checkbox"||G.type==="radio")&&(Ce=o1);if(Ce&&(Ce=Ce(t,B))){vh(Z,Ce,o,Y);break e}Ee&&Ee(t,G,B),t==="focusout"&&(Ee=G._wrapperState)&&Ee.controlled&&G.type==="number"&&Cn(G,"number",G.value)}switch(Ee=B?wi(B):window,t){case"focusin":(yh(Ee)||Ee.contentEditable==="true")&&(gi=Ee,ic=B,Ds=null);break;case"focusout":Ds=ic=gi=null;break;case"mousedown":sc=!0;break;case"contextmenu":case"mouseup":case"dragend":sc=!1,Dh(Z,o,Y);break;case"selectionchange":if(u1)break;case"keydown":case"keyup":Dh(Z,o,Y)}var Ne;if(ec)e:{switch(t){case"compositionstart":var Pe="onCompositionStart";break e;case"compositionend":Pe="onCompositionEnd";break e;case"compositionupdate":Pe="onCompositionUpdate";break e}Pe=void 0}else mi?mh(t,o)&&(Pe="onCompositionEnd"):t==="keydown"&&o.keyCode===229&&(Pe="onCompositionStart");Pe&&(fh&&o.locale!=="ko"&&(mi||Pe!=="onCompositionStart"?Pe==="onCompositionEnd"&&mi&&(Ne=ah()):(ar=Y,Yl="value"in ar?ar.value:ar.textContent,mi=!0)),Ee=Oo(B,Pe),0<Ee.length&&(Pe=new uh(Pe,t,null,o,Y),Z.push({event:Pe,listeners:Ee}),Ne?Pe.data=Ne:(Ne=gh(o),Ne!==null&&(Pe.data=Ne)))),(Ne=Zw?Jw(t,o):e1(t,o))&&(B=Oo(B,"onBeforeInput"),0<B.length&&(Y=new uh("onBeforeInput","beforeinput",null,o,Y),Z.push({event:Y,listeners:B}),Y.data=Ne))}_h(Z,r)})}function Ps(t,r,o){return{instance:t,listener:r,currentTarget:o}}function Oo(t,r){for(var o=r+"Capture",l=[];t!==null;){var f=t,p=f.stateNode;f.tag===5&&p!==null&&(f=p,p=ds(t,o),p!=null&&l.unshift(Ps(t,p,f)),p=ds(t,r),p!=null&&l.push(Ps(t,p,f))),t=t.return}return l}function vi(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5);return t||null}function Vh(t,r,o,l,f){for(var p=r._reactName,w=[];o!==null&&o!==l;){var D=o,T=D.alternate,B=D.stateNode;if(T!==null&&T===l)break;D.tag===5&&B!==null&&(D=B,f?(T=ds(o,p),T!=null&&w.unshift(Ps(o,T,D))):f||(T=ds(o,p),T!=null&&w.push(Ps(o,T,D)))),o=o.return}w.length!==0&&t.push({event:r,listeners:w})}var p1=/\r\n?/g,m1=/\u0000|\uFFFD/g;function Oh(t){return(typeof t=="string"?t:""+t).replace(p1,` 38`).replace(m1,"")}function Bo(t,r,o){if(r=Oh(r),Oh(t)!==r&&o)throw Error(i(425))}function zo(){}var dc=null,fc=null;function hc(t,r){return t==="textarea"||t==="noscript"||typeof r.children=="string"||typeof r.children=="number"||typeof r.dangerouslySetInnerHTML=="object"&&r.dangerouslySetInnerHTML!==null&&r.dangerouslySetInnerHTML.__html!=null}var pc=typeof setTimeout=="function"?setTimeout:void 0,g1=typeof clearTimeout=="function"?clearTimeout:void 0,Bh=typeof Promise=="function"?Promise:void 0,y1=typeof queueMicrotask=="function"?queueMicrotask:typeof Bh<"u"?function(t){return Bh.resolve(null).then(t).catch(v1)}:pc;function v1(t){setTimeout(function(){throw t})}function mc(t,r){var o=r,l=0;do{var f=o.nextSibling;if(t.removeChild(o),f&&f.nodeType===8)if(o=f.data,o==="/$"){if(l===0){t.removeChild(f),ws(r);return}l--}else o!=="$"&&o!=="$?"&&o!=="$!"||l++;o=f}while(o);ws(r)}function cr(t){for(;t!=null;t=t.nextSibling){var r=t.nodeType;if(r===1||r===3)break;if(r===8){if(r=t.data,r==="$"||r==="$!"||r==="$?")break;if(r==="/$")return null}}return t}function zh(t){t=t.previousSibling;for(var r=0;t;){if(t.nodeType===8){var o=t.data;if(o==="$"||o==="$!"||o==="$?"){if(r===0)return t;r--}else o==="/$"&&r++}t=t.previousSibling}return null}var xi=Math.random().toString(36).slice(2),Nn="__reactFiber$"+xi,Ts="__reactProps$"+xi,zn="__reactContainer$"+xi,gc="__reactEvents$"+xi,x1="__reactListeners$"+xi,w1="__reactHandles$"+xi;function _r(t){var r=t[Nn];if(r)return r;for(var o=t.parentNode;o;){if(r=o[zn]||o[Nn]){if(o=r.alternate,r.child!==null||o!==null&&o.child!==null)for(t=zh(t);t!==null;){if(o=t[Nn])return o;t=zh(t)}return r}t=o,o=t.parentNode}return null}function As(t){return t=t[Nn]||t[zn],!t||t.tag!==5&&t.tag!==6&&t.tag!==13&&t.tag!==3?null:t}function wi(t){if(t.tag===5||t.tag===6)return t.stateNode;throw Error(i(33))}function Wo(t){return t[Ts]||null}var yc=[],bi=-1;function ur(t){return{current:t}}function Ye(t){0>bi||(t.current=yc[bi],yc[bi]=null,bi--)}function He(t,r){bi++,yc[bi]=t.current,t.current=r}var dr={},Nt=ur(dr),_t=ur(!1),Lr=dr;function Si(t,r){var o=t.type.contextTypes;if(!o)return dr;var l=t.stateNode;if(l&&l.__reactInternalMemoizedUnmaskedChildContext===r)return l.__reactInternalMemoizedMaskedChildContext;var f={},p;for(p in o)f[p]=r[p];return l&&(t=t.stateNode,t.__reactInternalMemoizedUnmaskedChildContext=r,t.__reactInternalMemoizedMaskedChildContext=f),f}function Lt(t){return t=t.childContextTypes,t!=null}function Uo(){Ye(_t),Ye(Nt)}function Wh(t,r,o){if(Nt.current!==dr)throw Error(i(168));He(Nt,r),He(_t,o)}function Uh(t,r,o){var l=t.stateNode;if(r=r.childContextTypes,typeof l.getChildContext!="function")return o;l=l.getChildContext();for(var f in l)if(!(f in r))throw Error(i(108,te(t)||"Unknown",f));return Q({},o,l)}function $o(t){return t=(t=t.stateNode)&&t.__reactInternalMemoizedMergedChildContext||dr,Lr=Nt.current,He(Nt,t),He(_t,_t.current),!0}function $h(t,r,o){var l=t.stateNode;if(!l)throw Error(i(169));o?(t=Uh(t,r,Lr),l.__reactInternalMemoizedMergedChildContext=t,Ye(_t),Ye(Nt),He(Nt,t)):Ye(_t),He(_t,o)}var Wn=null,Ho=!1,vc=!1;function Hh(t){Wn===null?Wn=[t]:Wn.push(t)}function b1(t){Ho=!0,Hh(t)}function fr(){if(!vc&&Wn!==null){vc=!0;var t=0,r=Be;try{var o=Wn;for(Be=1;t<o.length;t++){var l=o[t];do l=l(!0);while(l!==null)}Wn=null,Ho=!1}catch(f){throw Wn!==null&&(Wn=Wn.slice(t+1)),Gf(Bl,fr),f}finally{Be=r,vc=!1}}return null}var ki=[],Ci=0,Ko=null,Go=0,Zt=[],Jt=0,Vr=null,Un=1,$n="";function Or(t,r){ki[Ci++]=Go,ki[Ci++]=Ko,Ko=t,Go=r}function Kh(t,r,o){Zt[Jt++]=Un,Zt[Jt++]=$n,Zt[Jt++]=Vr,Vr=t;var l=Un;t=$n;var f=32-ln(l)-1;l&=~(1<<f),o+=1;var p=32-ln(r)+f;if(30<p){var w=f-f%5;p=(l&(1<<w)-1).toString(32),l>>=w,f-=w,Un=1<<32-ln(r)+f|o<<f|l,$n=p+t}else Un=1<<p|o<<f|l,$n=t}
vendor: 6,238 bytes, line 38
38function xc(t){t.return!==null&&(Or(t,1),Kh(t,1,0))}function wc(t){for(;t===Ko;)Ko=ki[--Ci],ki[Ci]=null,Go=ki[--Ci],ki[Ci]=null;for(;t===Vr;)Vr=Zt[--Jt],Zt[Jt]=null,$n=Zt[--Jt],Zt[Jt]=null,Un=Zt[--Jt],Zt[Jt]=null}var Ut=null,$t=null,qe=!1,un=null;function Gh(t,r){var o=rn(5,null,null,0);o.elementType="DELETED",o.stateNode=r,o.return=t,r=t.deletions,r===null?(t.deletions=[o],t.flags|=16):r.push(o)}function Yh(t,r){switch(t.tag){case 5:var o=t.type;return r=r.nodeType!==1||o.toLowerCase()!==r.nodeName.toLowerCase()?null:r,r!==null?(t.stateNode=r,Ut=t,$t=cr(r.firstChild),!0):!1;case 6:return r=t.pendingProps===""||r.nodeType!==3?null:r,r!==null?(t.stateNode=r,Ut=t,$t=null,!0):!1;case 13:return r=r.nodeType!==8?null:r,r!==null?(o=Vr!==null?{id:Un,overflow:$n}:null,t.memoizedState={dehydrated:r,treeContext:o,retryLane:1073741824},o=rn(18,null,null,0),o.stateNode=r,o.return=t,t.child=o,Ut=t,$t=null,!0):!1;default:return!1}}function bc(t){return(t.mode&1)!==0&&(t.flags&128)===0}function Sc(t){if(qe){var r=$t;if(r){var o=r;if(!Yh(t,r)){if(bc(t))throw Error(i(418));r=cr(o.nextSibling);var l=Ut;r&&Yh(t,r)?Gh(l,o):(t.flags=t.flags&-4097|2,qe=!1,Ut=t)}}else{if(bc(t))throw Error(i(418));t.flags=t.flags&-4097|2,qe=!1,Ut=t}}}function Xh(t){for(t=t.return;t!==null&&t.tag!==5&&t.tag!==3&&t.tag!==13;)t=t.return;Ut=t}function Yo(t){if(t!==Ut)return!1;if(!qe)return Xh(t),qe=!0,!1;var r;if((r=t.tag!==3)&&!(r=t.tag!==5)&&(r=t.type,r=r!=="head"&&r!=="body"&&!hc(t.type,t.memoizedProps)),r&&(r=$t)){if(bc(t))throw qh(),Error(i(418));for(;r;)Gh(t,r),r=cr(r.nextSibling)}if(Xh(t),t.tag===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(i(317));e:{for(t=t.nextSibling,r=0;t;){if(t.nodeType===8){var o=t.data;if(o==="/$"){if(r===0){$t=cr(t.nextSibling);break e}r--}else o!=="$"&&o!=="$!"&&o!=="$?"||r++}t=t.nextSibling}$t=null}}else $t=Ut?cr(t.stateNode.nextSibling):null;return!0}function qh(){for(var t=$t;t;)t=cr(t.nextSibling)}function Ei(){$t=Ut=null,qe=!1}function kc(t){un===null?un=[t]:un.push(t)}var S1=I.ReactCurrentBatchConfig;function Ms(t,r,o){if(t=o.ref,t!==null&&typeof t!="function"&&typeof t!="object"){if(o._owner){if(o=o._owner,o){if(o.tag!==1)throw Error(i(309));var l=o.stateNode}if(!l)throw Error(i(147,t));var f=l,p=""+t;return r!==null&&r.ref!==null&&typeof r.ref=="function"&&r.ref._stringRef===p?r.ref:(r=function(w){var D=f.refs;w===null?delete D[p]:D[p]=w},r._stringRef=p,r)}if(typeof t!="string")throw Error(i(284));if(!o._owner)throw Error(i(290,t))}return t}function Xo(t,r){throw t=Object.prototype.toString.call(r),Error(i(31,t==="[object Object]"?"object with keys {"+Object.keys(r).join(", ")+"}":t))}function Qh(t){var r=t._init;return r(t._payload)}function Zh(t){function r(_,M){if(t){var V=_.deletions;V===null?(_.deletions=[M],_.flags|=16):V.push(M)}}function o(_,M){if(!t)return null;for(;M!==null;)r(_,M),M=M.sibling;return null}function l(_,M){for(_=new Map;M!==null;)M.key!==null?_.set(M.key,M):_.set(M.index,M),M=M.sibling;return _}function f(_,M){return _=wr(_,M),_.index=0,_.sibling=null,_}function p(_,M,V){return _.index=V,t?(V=_.alternate,V!==null?(V=V.index,V<M?(_.flags|=2,M):V):(_.flags|=2,M)):(_.flags|=1048576,M)}function w(_){return t&&_.alternate===null&&(_.flags|=2),_}function D(_,M,V,ie){return M===null||M.tag!==6?(M=pu(V,_.mode,ie),M.return=_,M):(M=f(M,V),M.return=_,M)}function T(_,M,V,ie){var Ce=V.type;return Ce===U?Y(_,M,V.props.children,ie,V.key):M!==null&&(M.elementType===Ce||typeof Ce=="object"&&Ce!==null&&Ce.$$typeof===se&&Qh(Ce)===M.type)?(ie=f(M,V.props),ie.ref=Ms(_,M,V),ie.return=_,ie):(ie=xa(V.type,V.key,V.props,null,_.mode,ie),ie.ref=Ms(_,M,V),ie.return=_,ie)}function B(_,M,V,ie){return M===null||M.tag!==4||M.stateNode.containerInfo!==V.containerInfo||M.stateNode.implementation!==V.implementation?(M=mu(V,_.mode,ie),M.return=_,M):(M=f(M,V.children||[]),M.return=_,M)}function Y(_,M,V,ie,Ce){return M===null||M.tag!==7?(M=Gr(V,_.mode,ie,Ce),M.return=_,M):(M=f(M,V),M.return=_,M)}function Z(_,M,V){if(typeof M=="string"&&M!==""||typeof M=="number")return M=pu(""+M,_.mode,V),M.return=_,M;if(typeof M=="object"&&M!==null){switch(M.$$typeof){case L:return V=xa(M.type,M.key,M.props,null,_.mode,V),V.ref=Ms(_,null,M),V.return=_,V;case H:return M=mu(M,_.mode,V),M.return=_,M;case se:var ie=M._init;return Z(_,ie(M._payload),V)}if(oi(M)||X(M))return M=Gr(M,_.mode,V,null),M.return=_,M;Xo(_,M)}return null}function G(_,M,V,ie){var Ce=M!==null?M.key:null;if(typeof V=="string"&&V!==""||typeof V=="number")return Ce!==null?null:D(_,M,""+V,ie);if(typeof V=="object"&&V!==null){switch(V.$$typeof){case L:return V.key===Ce?T(_,M,V,ie):null;case H:return V.key===Ce?B(_,M,V,ie):null;case se:return Ce=V._init,G(_,M,Ce(V._payload),ie)}if(oi(V)||X(V))return Ce!==null?null:Y(_,M,V,ie,null);Xo(_,V)}return null}function fe(_,M,V,ie,Ce){if(typeof ie=="string"&&ie!==""||typeof ie=="number")return _=_.get(V)||null,D(M,_,""+ie,Ce);if(typeof ie=="object"&&ie!==null){switch(ie.$$typeof){case L:return _=_.get(ie.key===null?V:ie.key)||null,T(M,_,ie,Ce);case H:return _=_.get(ie.key===null?V:ie.key)||null,B(M,_,ie,Ce);case se:var Ee=ie._init;return fe(_,M,V,Ee(ie._payload),Ce)}if(oi(ie)||X(ie))return _=_.get(V)||null,Y(M,_,ie,Ce,null);Xo(M,ie)}return null}function ye(_,M,V,ie){for(var Ce=null,Ee=null,Ne=M,Pe=M=0,vt=null;Ne!==null&&Pe<V.length;Pe++){Ne.index>Pe?(vt=Ne,Ne=null):vt=Ne.sibling;var Oe=G(_,Ne,V[Pe],ie);if(Oe===null){Ne===null&&(Ne=vt);break}t&&Ne&&Oe.alternate===null&&r(_,Ne),M=p(Oe,M,Pe),Ee===null?Ce=Oe:Ee.sibling=Oe,Ee=Oe,Ne=vt}if(Pe===V.length)return o(_,Ne),qe&&Or(_,Pe),Ce;if(Ne===null){for(;Pe<V.length;Pe++)Ne=Z(_,V[Pe],ie),Ne!==null&&(M=p(Ne,M,Pe),Ee===null?Ce=Ne:Ee.sibling=Ne,Ee=Ne);return qe&&Or(_,Pe),Ce}for(Ne=l(_,Ne);Pe<V.length;Pe++)vt=fe(Ne,_,Pe,V[Pe],ie),vt!==null&&(t&&vt.alternate!==null&&Ne.delete(vt.key===null?Pe:vt.key),M=p(vt,M,Pe),Ee===null?Ce=vt:Ee.sibling=vt,Ee=vt);return t&&Ne.forEach(function(br){return r(_,br)}),qe&&Or(_,Pe),Ce}function Se(_,M,V,ie){var Ce=X(V);if(typeof Ce!="function")throw Error(i(150));if(V=Ce.call(V),V==null)throw Error(i(151));for(var Ee=Ce=null,Ne=M,Pe=M=0,vt=null,Oe=V.next();Ne!==null&&!Oe.done;Pe++,Oe=V.next()){Ne.index>Pe?(vt=Ne,Ne=null):vt=Ne.sibling;var br=G(_,Ne,Oe.value,ie);
vendor: 10,452 bytes, line 38
38if(br===null){Ne===null&&(Ne=vt);break}t&&Ne&&br.alternate===null&&r(_,Ne),M=p(br,M,Pe),Ee===null?Ce=br:Ee.sibling=br,Ee=br,Ne=vt}if(Oe.done)return o(_,Ne),qe&&Or(_,Pe),Ce;if(Ne===null){for(;!Oe.done;Pe++,Oe=V.next())Oe=Z(_,Oe.value,ie),Oe!==null&&(M=p(Oe,M,Pe),Ee===null?Ce=Oe:Ee.sibling=Oe,Ee=Oe);return qe&&Or(_,Pe),Ce}for(Ne=l(_,Ne);!Oe.done;Pe++,Oe=V.next())Oe=fe(Ne,_,Pe,Oe.value,ie),Oe!==null&&(t&&Oe.alternate!==null&&Ne.delete(Oe.key===null?Pe:Oe.key),M=p(Oe,M,Pe),Ee===null?Ce=Oe:Ee.sibling=Oe,Ee=Oe);return t&&Ne.forEach(function(tb){return r(_,tb)}),qe&&Or(_,Pe),Ce}function rt(_,M,V,ie){if(typeof V=="object"&&V!==null&&V.type===U&&V.key===null&&(V=V.props.children),typeof V=="object"&&V!==null){switch(V.$$typeof){case L:e:{for(var Ce=V.key,Ee=M;Ee!==null;){if(Ee.key===Ce){if(Ce=V.type,Ce===U){if(Ee.tag===7){o(_,Ee.sibling),M=f(Ee,V.props.children),M.return=_,_=M;break e}}else if(Ee.elementType===Ce||typeof Ce=="object"&&Ce!==null&&Ce.$$typeof===se&&Qh(Ce)===Ee.type){o(_,Ee.sibling),M=f(Ee,V.props),M.ref=Ms(_,Ee,V),M.return=_,_=M;break e}o(_,Ee);break}else r(_,Ee);Ee=Ee.sibling}V.type===U?(M=Gr(V.props.children,_.mode,ie,V.key),M.return=_,_=M):(ie=xa(V.type,V.key,V.props,null,_.mode,ie),ie.ref=Ms(_,M,V),ie.return=_,_=ie)}return w(_);case H:e:{for(Ee=V.key;M!==null;){if(M.key===Ee)if(M.tag===4&&M.stateNode.containerInfo===V.containerInfo&&M.stateNode.implementation===V.implementation){o(_,M.sibling),M=f(M,V.children||[]),M.return=_,_=M;break e}else{o(_,M);break}else r(_,M);M=M.sibling}M=mu(V,_.mode,ie),M.return=_,_=M}return w(_);case se:return Ee=V._init,rt(_,M,Ee(V._payload),ie)}if(oi(V))return ye(_,M,V,ie);if(X(V))return Se(_,M,V,ie);Xo(_,V)}return typeof V=="string"&&V!==""||typeof V=="number"?(V=""+V,M!==null&&M.tag===6?(o(_,M.sibling),M=f(M,V),M.return=_,_=M):(o(_,M),M=pu(V,_.mode,ie),M.return=_,_=M),w(_)):o(_,M)}return rt}var Ni=Zh(!0),Jh=Zh(!1),qo=ur(null),Qo=null,Di=null,Cc=null;function Ec(){Cc=Di=Qo=null}function Nc(t){var r=qo.current;Ye(qo),t._currentValue=r}function Dc(t,r,o){for(;t!==null;){var l=t.alternate;if((t.childLanes&r)!==r?(t.childLanes|=r,l!==null&&(l.childLanes|=r)):l!==null&&(l.childLanes&r)!==r&&(l.childLanes|=r),t===o)break;t=t.return}}function ji(t,r){Qo=t,Cc=Di=null,t=t.dependencies,t!==null&&t.firstContext!==null&&((t.lanes&r)!==0&&(Vt=!0),t.firstContext=null)}function en(t){var r=t._currentValue;if(Cc!==t)if(t={context:t,memoizedValue:r,next:null},Di===null){if(Qo===null)throw Error(i(308));Di=t,Qo.dependencies={lanes:0,firstContext:t}}else Di=Di.next=t;return r}var Br=null;function jc(t){Br===null?Br=[t]:Br.push(t)}function ep(t,r,o,l){var f=r.interleaved;return f===null?(o.next=o,jc(r)):(o.next=f.next,f.next=o),r.interleaved=o,Hn(t,l)}function Hn(t,r){t.lanes|=r;var o=t.alternate;for(o!==null&&(o.lanes|=r),o=t,t=t.return;t!==null;)t.childLanes|=r,o=t.alternate,o!==null&&(o.childLanes|=r),o=t,t=t.return;return o.tag===3?o.stateNode:null}var hr=!1;function Fc(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function tp(t,r){t=t.updateQueue,r.updateQueue===t&&(r.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,effects:t.effects})}function Kn(t,r){return{eventTime:t,lane:r,tag:0,payload:null,callback:null,next:null}}function pr(t,r,o){var l=t.updateQueue;if(l===null)return null;if(l=l.shared,(Ve&2)!==0){var f=l.pending;return f===null?r.next=r:(r.next=f.next,f.next=r),l.pending=r,Hn(t,o)}return f=l.interleaved,f===null?(r.next=r,jc(l)):(r.next=f.next,f.next=r),l.interleaved=r,Hn(t,o)}function Zo(t,r,o){if(r=r.updateQueue,r!==null&&(r=r.shared,(o&4194240)!==0)){var l=r.lanes;l&=t.pendingLanes,o|=l,r.lanes=o,Ul(t,o)}}function np(t,r){var o=t.updateQueue,l=t.alternate;if(l!==null&&(l=l.updateQueue,o===l)){var f=null,p=null;if(o=o.firstBaseUpdate,o!==null){do{var w={eventTime:o.eventTime,lane:o.lane,tag:o.tag,payload:o.payload,callback:o.callback,next:null};p===null?f=p=w:p=p.next=w,o=o.next}while(o!==null);p===null?f=p=r:p=p.next=r}else f=p=r;o={baseState:l.baseState,firstBaseUpdate:f,lastBaseUpdate:p,shared:l.shared,effects:l.effects},t.updateQueue=o;return}t=o.lastBaseUpdate,t===null?o.firstBaseUpdate=r:t.next=r,o.lastBaseUpdate=r}function Jo(t,r,o,l){var f=t.updateQueue;hr=!1;var p=f.firstBaseUpdate,w=f.lastBaseUpdate,D=f.shared.pending;if(D!==null){f.shared.pending=null;var T=D,B=T.next;T.next=null,w===null?p=B:w.next=B,w=T;var Y=t.alternate;Y!==null&&(Y=Y.updateQueue,D=Y.lastBaseUpdate,D!==w&&(D===null?Y.firstBaseUpdate=B:D.next=B,Y.lastBaseUpdate=T))}if(p!==null){var Z=f.baseState;w=0,Y=B=T=null,D=p;do{var G=D.lane,fe=D.eventTime;if((l&G)===G){Y!==null&&(Y=Y.next={eventTime:fe,lane:0,tag:D.tag,payload:D.payload,callback:D.callback,next:null});e:{var ye=t,Se=D;switch(G=r,fe=o,Se.tag){case 1:if(ye=Se.payload,typeof ye=="function"){Z=ye.call(fe,Z,G);break e}Z=ye;break e;case 3:ye.flags=ye.flags&-65537|128;case 0:if(ye=Se.payload,G=typeof ye=="function"?ye.call(fe,Z,G):ye,G==null)break e;Z=Q({},Z,G);break e;case 2:hr=!0}}D.callback!==null&&D.lane!==0&&(t.flags|=64,G=f.effects,G===null?f.effects=[D]:G.push(D))}else fe={eventTime:fe,lane:G,tag:D.tag,payload:D.payload,callback:D.callback,next:null},Y===null?(B=Y=fe,T=Z):Y=Y.next=fe,w|=G;if(D=D.next,D===null){if(D=f.shared.pending,D===null)break;G=D,D=G.next,G.next=null,f.lastBaseUpdate=G,f.shared.pending=null}}while(!0);if(Y===null&&(T=Z),f.baseState=T,f.firstBaseUpdate=B,f.lastBaseUpdate=Y,r=f.shared.interleaved,r!==null){f=r;do w|=f.lane,f=f.next;while(f!==r)}else p===null&&(f.shared.lanes=0);Ur|=w,t.lanes=w,t.memoizedState=Z}}function rp(t,r,o){if(t=r.effects,r.effects=null,t!==null)for(r=0;r<t.length;r++){var l=t[r],f=l.callback;if(f!==null){if(l.callback=null,l=o,typeof f!="function")throw Error(i(191,f));f.call(l)}}}var Rs={},Dn=ur(Rs),Is=ur(Rs),_s=ur(Rs);function zr(t){if(t===Rs)throw Error(i(174));return t}function Pc(t,r){switch(He(_s,r),He(Is,t),He(Dn,Rs),t=r.nodeType,t){case 9:case 11:r=(r=r.documentElement)?r.namespaceURI:re(null,"");break;default:t=t===8?r.parentNode:r,r=t.namespaceURI||null,t=t.tagName,r=re(r,t)}Ye(Dn),He(Dn,r)}function Fi(){Ye(Dn),Ye(Is),Ye(_s)}function ip(t){zr(_s.current);var r=zr(Dn.current),o=re(r,t.type);r!==o&&(He(Is,t),He(Dn,o))}function Tc(t){Is.current===t&&(Ye(Dn),Ye(Is))}var Qe=ur(0);function ea(t){for(var r=t;r!==null;){if(r.tag===13){var o=r.memoizedState;if(o!==null&&(o=o.dehydrated,o===null||o.data==="$?"||o.data==="$!"))return r}else if(r.tag===19&&r.memoizedProps.revealOrder!==void 0){if((r.flags&128)!==0)return r}else if(r.child!==null){r.child.return=r,r=r.child;continue}if(r===t)break;for(;r.sibling===null;){if(r.return===null||r.return===t)return null;r=r.return}r.sibling.return=r.return,r=r.sibling}return null}var Ac=[];function Mc(){for(var t=0;t<Ac.length;t++)Ac[t]._workInProgressVersionPrimary=null;Ac.length=0}var ta=I.ReactCurrentDispatcher,Rc=I.ReactCurrentBatchConfig,Wr=0,Ze=null,dt=null,gt=null,na=!1,Ls=!1,Vs=0,k1=0;function Dt(){throw Error(i(321))}function Ic(t,r){if(r===null)return!1;for(var o=0;o<r.length&&o<t.length;o++)if(!cn(t[o],r[o]))return!1;return!0}function _c(t,r,o,l,f,p){if(Wr=p,Ze=r,r.memoizedState=null,r.updateQueue=null,r.lanes=0,ta.current=t===null||t.memoizedState===null?D1:j1,t=o(l,f),Ls){p=0;do{if(Ls=!1,Vs=0,25<=p)throw Error(i(301));p+=1,gt=dt=null,r.updateQueue=null,ta.current=F1,t=o(l,f)}while(Ls)}if(ta.current=sa,r=dt!==null&&dt.next!==null,Wr=0,gt=dt=Ze=null,na=!1,r)throw Error(i(300));return t}function Lc(){var t=Vs!==0;return Vs=0,t}function jn(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return gt===null?Ze.memoizedState=gt=t:gt=gt.next=t,gt}function tn(){if(dt===null){var t=Ze.alternate;t=t!==null?t.memoizedState:null}else t=dt.next;var r=gt===null?Ze.memoizedState:gt.next;if(r!==null)gt=r,dt=t;else{if(t===null)throw Error(i(310));dt=t,t={memoizedState:dt.memoizedState,baseState:dt.baseState,baseQueue:dt.baseQueue,queue:dt.queue,next:null},gt===null?Ze.memoizedState=gt=t:gt=gt.next=t}return gt}function Os(t,r){return typeof r=="function"?r(t):r}function Vc(t){var r=tn(),o=r.queue;if(o===null)throw Error(i(311));o.lastRenderedReducer=t;var l=dt,f=l.baseQueue,p=o.pending;if(p!==null){if(f!==null){var w=f.next;f.next=p.next,p.next=w}l.baseQueue=f=p,o.pending=null}if(f!==null){p=f.next,l=l.baseState;var D=w=null,T=null,B=p;do{var Y=B.lane;if((Wr&Y)===Y)T!==null&&(T=T.next={lane:0,action:B.action,hasEagerState:B.hasEagerState,eagerState:B.eagerState,next:null}),l=B.hasEagerState?B.eagerState:t(l,B.action);else{var Z={lane:Y,action:B.action,hasEagerState:B.hasEagerState,eagerState:B.eagerState,next:null};T===null?(D=T=Z,w=l):T=T.next=Z,Ze.lanes|=Y,Ur|=Y}B=B.next}while(B!==null&&B!==p);T===null?w=l:T.next=D,cn(l,r.memoizedState)||(Vt=!0),r.memoizedState=l,r.baseState=w,r.baseQueue=T,o.lastRenderedState=l}if(t=o.interleaved,t!==null){f=t;do p=f.lane,Ze.lanes|=p,Ur|=p,f=f.next;while(f!==t)}else f===null&&(o.lanes=0);return[r.memoizedState,o.dispatch]}function Oc(t){var r=tn(),o=r.queue;if(o===null)throw Error(i(311));o.lastRenderedReducer=t;var l=o.dispatch,f=o.pending,p=r.memoizedState;if(f!==null){o.pending=null;var w=f=f.next;do p=t(p,w.action),w=w.next;while(w!==f);cn(p,r.memoizedState)||(Vt=!0),r.memoizedState=p,r.baseQueue===null&&(r.baseState=p),o.lastRenderedState=p}return[p,l]}function sp(){}function op(t,r){var o=Ze,l=tn(),f=r(),p=!cn(l.memoizedState,f);if(p&&(l.memoizedState=f,Vt=!0),l=l.queue,Bc(cp.bind(null,o,l,t),[t]),l.getSnapshot!==r||p||gt!==null&>.memoizedState.tag&1){if(o.flags|=2048,Bs(9,lp.bind(null,o,l,f,r),void 0,null),yt===null)throw Error(i(349));(Wr&30)!==0||ap(o,r,f)}return f}function ap(t,r,o){t.flags|=16384,t={getSnapshot:r,value:o},r=Ze.updateQueue,r===null?(r={lastEffect:null,stores:null},Ze.updateQueue=r,r.stores=[t]):(o=r.stores,o===null?r.stores=[t]:o.push(t))}function lp(t,r,o,l){r.value=o,r.getSnapshot=l,up(r)&&dp(t)}function cp(t,r,o){return o(function(){up(r)&&dp(t)})}function up(t){var r=t.getSnapshot;t=t.value;try{var o=r();return!cn(t,o)}catch{return!0}}function dp(t){var r=Hn(t,1);r!==null&&pn(r,t,1,-1)}function fp(t){var r=jn();return typeof t=="function"&&(t=t()),r.memoizedState=r.baseState=t,t={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Os,lastRenderedState:t},r.queue=t,t=t.dispatch=N1.bind(null,Ze,t),[r.memoizedState,t]}
vendor: 4,739 bytes, line 38
38function Bs(t,r,o,l){return t={tag:t,create:r,destroy:o,deps:l,next:null},r=Ze.updateQueue,r===null?(r={lastEffect:null,stores:null},Ze.updateQueue=r,r.lastEffect=t.next=t):(o=r.lastEffect,o===null?r.lastEffect=t.next=t:(l=o.next,o.next=t,t.next=l,r.lastEffect=t)),t}function hp(){return tn().memoizedState}function ra(t,r,o,l){var f=jn();Ze.flags|=t,f.memoizedState=Bs(1|r,o,void 0,l===void 0?null:l)}function ia(t,r,o,l){var f=tn();l=l===void 0?null:l;var p=void 0;if(dt!==null){var w=dt.memoizedState;if(p=w.destroy,l!==null&&Ic(l,w.deps)){f.memoizedState=Bs(r,o,p,l);return}}Ze.flags|=t,f.memoizedState=Bs(1|r,o,p,l)}function pp(t,r){return ra(8390656,8,t,r)}function Bc(t,r){return ia(2048,8,t,r)}function mp(t,r){return ia(4,2,t,r)}function gp(t,r){return ia(4,4,t,r)}function yp(t,r){if(typeof r=="function")return t=t(),r(t),function(){r(null)};if(r!=null)return t=t(),r.current=t,function(){r.current=null}}function vp(t,r,o){return o=o!=null?o.concat([t]):null,ia(4,4,yp.bind(null,r,t),o)}function zc(){}function xp(t,r){var o=tn();r=r===void 0?null:r;var l=o.memoizedState;return l!==null&&r!==null&&Ic(r,l[1])?l[0]:(o.memoizedState=[t,r],t)}function wp(t,r){var o=tn();r=r===void 0?null:r;var l=o.memoizedState;return l!==null&&r!==null&&Ic(r,l[1])?l[0]:(t=t(),o.memoizedState=[t,r],t)}function bp(t,r,o){return(Wr&21)===0?(t.baseState&&(t.baseState=!1,Vt=!0),t.memoizedState=o):(cn(o,r)||(o=Qf(),Ze.lanes|=o,Ur|=o,t.baseState=!0),r)}function C1(t,r){var o=Be;Be=o!==0&&4>o?o:4,t(!0);var l=Rc.transition;Rc.transition={};try{t(!1),r()}finally{Be=o,Rc.transition=l}}function Sp(){return tn().memoizedState}function E1(t,r,o){var l=vr(t);if(o={lane:l,action:o,hasEagerState:!1,eagerState:null,next:null},kp(t))Cp(r,o);else if(o=ep(t,r,o,l),o!==null){var f=Tt();pn(o,t,l,f),Ep(o,r,l)}}function N1(t,r,o){var l=vr(t),f={lane:l,action:o,hasEagerState:!1,eagerState:null,next:null};if(kp(t))Cp(r,f);else{var p=t.alternate;if(t.lanes===0&&(p===null||p.lanes===0)&&(p=r.lastRenderedReducer,p!==null))try{var w=r.lastRenderedState,D=p(w,o);if(f.hasEagerState=!0,f.eagerState=D,cn(D,w)){var T=r.interleaved;T===null?(f.next=f,jc(r)):(f.next=T.next,T.next=f),r.interleaved=f;return}}catch{}finally{}o=ep(t,r,f,l),o!==null&&(f=Tt(),pn(o,t,l,f),Ep(o,r,l))}}function kp(t){var r=t.alternate;return t===Ze||r!==null&&r===Ze}function Cp(t,r){Ls=na=!0;var o=t.pending;o===null?r.next=r:(r.next=o.next,o.next=r),t.pending=r}function Ep(t,r,o){if((o&4194240)!==0){var l=r.lanes;l&=t.pendingLanes,o|=l,r.lanes=o,Ul(t,o)}}var sa={readContext:en,useCallback:Dt,useContext:Dt,useEffect:Dt,useImperativeHandle:Dt,useInsertionEffect:Dt,useLayoutEffect:Dt,useMemo:Dt,useReducer:Dt,useRef:Dt,useState:Dt,useDebugValue:Dt,useDeferredValue:Dt,useTransition:Dt,useMutableSource:Dt,useSyncExternalStore:Dt,useId:Dt,unstable_isNewReconciler:!1},D1={readContext:en,useCallback:function(t,r){return jn().memoizedState=[t,r===void 0?null:r],t},useContext:en,useEffect:pp,useImperativeHandle:function(t,r,o){return o=o!=null?o.concat([t]):null,ra(4194308,4,yp.bind(null,r,t),o)},useLayoutEffect:function(t,r){return ra(4194308,4,t,r)},useInsertionEffect:function(t,r){return ra(4,2,t,r)},useMemo:function(t,r){var o=jn();return r=r===void 0?null:r,t=t(),o.memoizedState=[t,r],t},useReducer:function(t,r,o){var l=jn();return r=o!==void 0?o(r):r,l.memoizedState=l.baseState=r,t={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:r},l.queue=t,t=t.dispatch=E1.bind(null,Ze,t),[l.memoizedState,t]},useRef:function(t){var r=jn();return t={current:t},r.memoizedState=t},useState:fp,useDebugValue:zc,useDeferredValue:function(t){return jn().memoizedState=t},useTransition:function(){var t=fp(!1),r=t[0];return t=C1.bind(null,t[1]),jn().memoizedState=t,[r,t]},useMutableSource:function(){},useSyncExternalStore:function(t,r,o){var l=Ze,f=jn();if(qe){if(o===void 0)throw Error(i(407));o=o()}else{if(o=r(),yt===null)throw Error(i(349));(Wr&30)!==0||ap(l,r,o)}f.memoizedState=o;var p={value:o,getSnapshot:r};return f.queue=p,pp(cp.bind(null,l,p,t),[t]),l.flags|=2048,Bs(9,lp.bind(null,l,p,o,r),void 0,null),o},useId:function(){var t=jn(),r=yt.identifierPrefix;if(qe){var o=$n,l=Un;o=(l&~(1<<32-ln(l)-1)).toString(32)+o,r=":"+r+"R"+o,o=Vs++,0<o&&(r+="H"+o.toString(32)),r+=":"}else o=k1++,r=":"+r+"r"+o.toString(32)+":";return t.memoizedState=r},unstable_isNewReconciler:!1},j1={readContext:en,useCallback:xp,useContext:en,useEffect:Bc,useImperativeHandle:vp,useInsertionEffect:mp,useLayoutEffect:gp,useMemo:wp,useReducer:Vc,useRef:hp,useState:function(){return Vc(Os)},useDebugValue:zc,useDeferredValue:function(t){var r=tn();return bp(r,dt.memoizedState,t)},useTransition:function(){var t=Vc(Os)[0],r=tn().memoizedState;return[t,r]}
vendor: 4,121 bytes, lines 38-40
38,useMutableSource:sp,useSyncExternalStore:op,useId:Sp,unstable_isNewReconciler:!1},F1={readContext:en,useCallback:xp,useContext:en,useEffect:Bc,useImperativeHandle:vp,useInsertionEffect:mp,useLayoutEffect:gp,useMemo:wp,useReducer:Oc,useRef:hp,useState:function(){return Oc(Os)},useDebugValue:zc,useDeferredValue:function(t){var r=tn();return dt===null?r.memoizedState=t:bp(r,dt.memoizedState,t)},useTransition:function(){var t=Oc(Os)[0],r=tn().memoizedState;return[t,r]},useMutableSource:sp,useSyncExternalStore:op,useId:Sp,unstable_isNewReconciler:!1};function dn(t,r){if(t&&t.defaultProps){r=Q({},r),t=t.defaultProps;for(var o in t)r[o]===void 0&&(r[o]=t[o]);return r}return r}function Wc(t,r,o,l){r=t.memoizedState,o=o(l,r),o=o==null?r:Q({},r,o),t.memoizedState=o,t.lanes===0&&(t.updateQueue.baseState=o)}var oa={isMounted:function(t){return(t=t._reactInternals)?Ir(t)===t:!1},enqueueSetState:function(t,r,o){t=t._reactInternals;var l=Tt(),f=vr(t),p=Kn(l,f);p.payload=r,o!=null&&(p.callback=o),r=pr(t,p,f),r!==null&&(pn(r,t,f,l),Zo(r,t,f))},enqueueReplaceState:function(t,r,o){t=t._reactInternals;var l=Tt(),f=vr(t),p=Kn(l,f);p.tag=1,p.payload=r,o!=null&&(p.callback=o),r=pr(t,p,f),r!==null&&(pn(r,t,f,l),Zo(r,t,f))},enqueueForceUpdate:function(t,r){t=t._reactInternals;var o=Tt(),l=vr(t),f=Kn(o,l);f.tag=2,r!=null&&(f.callback=r),r=pr(t,f,l),r!==null&&(pn(r,t,l,o),Zo(r,t,l))}};function Np(t,r,o,l,f,p,w){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(l,p,w):r.prototype&&r.prototype.isPureReactComponent?!Ns(o,l)||!Ns(f,p):!0}function Dp(t,r,o){var l=!1,f=dr,p=r.contextType;return typeof p=="object"&&p!==null?p=en(p):(f=Lt(r)?Lr:Nt.current,l=r.contextTypes,p=(l=l!=null)?Si(t,f):dr),r=new r(o,p),t.memoizedState=r.state!==null&&r.state!==void 0?r.state:null,r.updater=oa,t.stateNode=r,r._reactInternals=t,l&&(t=t.stateNode,t.__reactInternalMemoizedUnmaskedChildContext=f,t.__reactInternalMemoizedMaskedChildContext=p),r}function jp(t,r,o,l){t=r.state,typeof r.componentWillReceiveProps=="function"&&r.componentWillReceiveProps(o,l),typeof r.UNSAFE_componentWillReceiveProps=="function"&&r.UNSAFE_componentWillReceiveProps(o,l),r.state!==t&&oa.enqueueReplaceState(r,r.state,null)}function Uc(t,r,o,l){var f=t.stateNode;f.props=o,f.state=t.memoizedState,f.refs={},Fc(t);var p=r.contextType;typeof p=="object"&&p!==null?f.context=en(p):(p=Lt(r)?Lr:Nt.current,f.context=Si(t,p)),f.state=t.memoizedState,p=r.getDerivedStateFromProps,typeof p=="function"&&(Wc(t,r,p,o),f.state=t.memoizedState),typeof r.getDerivedStateFromProps=="function"||typeof f.getSnapshotBeforeUpdate=="function"||typeof f.UNSAFE_componentWillMount!="function"&&typeof f.componentWillMount!="function"||(r=f.state,typeof f.componentWillMount=="function"&&f.componentWillMount(),typeof f.UNSAFE_componentWillMount=="function"&&f.UNSAFE_componentWillMount(),r!==f.state&&oa.enqueueReplaceState(f,f.state,null),Jo(t,o,f,l),f.state=t.memoizedState),typeof f.componentDidMount=="function"&&(t.flags|=4194308)}function Pi(t,r){try{var o="",l=r;do o+=Fe(l),l=l.return;while(l);var f=o}catch(p){f=` 39Error generating stack: `+p.message+` 40`+p.stack}return{value:t,source:r,stack:f,digest:null}}function $c(t,r,o){return{value:t,source:null,stack:o??null,digest:r??null}}function Hc(t,r){try{console.error(r.value)}catch(o){setTimeout(function(){throw o})}}var P1=typeof WeakMap=="function"?WeakMap:Map;function Fp(t,r,o){o=Kn(-1,o),o.tag=3,o.payload={element:null};var l=r.value;return o.callback=function(){ha||(ha=!0,ou=l),Hc(t,r)},o}function Pp(t,r,o){o=Kn(-1,o),o.tag=3;var l=t.type.getDerivedStateFromError;if(typeof l=="function"){var f=r.value;o.payload=function(){return l(f)},o.callback=function(){Hc(t,r)}}var p=t.stateNode;return p!==null&&typeof p.componentDidCatch=="function"&&(o.callback=function(){Hc(t,r),typeof l!="function"&&(gr===null?gr=new Set([this]):gr.add(this));var w=r.stack;this.componentDidCatch(r.value,{componentStack:w!==null?w:""})}),o}function Tp(t,r,o){var l=t.pingCache;if(l===null){l=t.pingCache=new P1;var f=new Set;l.set(r,f)}else f=l.get(r),f===void 0&&(f=new Set,l.set(r,f));
vendor: 40,895 bytes, line 40
40f.has(o)||(f.add(o),t=$1.bind(null,t,r,o),r.then(t,t))}function Ap(t){do{var r;if((r=t.tag===13)&&(r=t.memoizedState,r=r!==null?r.dehydrated!==null:!0),r)return t;t=t.return}while(t!==null);return null}function Mp(t,r,o,l,f){return(t.mode&1)===0?(t===r?t.flags|=65536:(t.flags|=128,o.flags|=131072,o.flags&=-52805,o.tag===1&&(o.alternate===null?o.tag=17:(r=Kn(-1,1),r.tag=2,pr(o,r,1))),o.lanes|=1),t):(t.flags|=65536,t.lanes=f,t)}var T1=I.ReactCurrentOwner,Vt=!1;function Pt(t,r,o,l){r.child=t===null?Jh(r,null,o,l):Ni(r,t.child,o,l)}function Rp(t,r,o,l,f){o=o.render;var p=r.ref;return ji(r,f),l=_c(t,r,o,l,p,f),o=Lc(),t!==null&&!Vt?(r.updateQueue=t.updateQueue,r.flags&=-2053,t.lanes&=~f,Gn(t,r,f)):(qe&&o&&xc(r),r.flags|=1,Pt(t,r,l,f),r.child)}function Ip(t,r,o,l,f){if(t===null){var p=o.type;return typeof p=="function"&&!hu(p)&&p.defaultProps===void 0&&o.compare===null&&o.defaultProps===void 0?(r.tag=15,r.type=p,_p(t,r,p,l,f)):(t=xa(o.type,null,l,r,r.mode,f),t.ref=r.ref,t.return=r,r.child=t)}if(p=t.child,(t.lanes&f)===0){var w=p.memoizedProps;if(o=o.compare,o=o!==null?o:Ns,o(w,l)&&t.ref===r.ref)return Gn(t,r,f)}return r.flags|=1,t=wr(p,l),t.ref=r.ref,t.return=r,r.child=t}function _p(t,r,o,l,f){if(t!==null){var p=t.memoizedProps;if(Ns(p,l)&&t.ref===r.ref)if(Vt=!1,r.pendingProps=l=p,(t.lanes&f)!==0)(t.flags&131072)!==0&&(Vt=!0);else return r.lanes=t.lanes,Gn(t,r,f)}return Kc(t,r,o,l,f)}function Lp(t,r,o){var l=r.pendingProps,f=l.children,p=t!==null?t.memoizedState:null;if(l.mode==="hidden")if((r.mode&1)===0)r.memoizedState={baseLanes:0,cachePool:null,transitions:null},He(Ai,Ht),Ht|=o;else{if((o&1073741824)===0)return t=p!==null?p.baseLanes|o:o,r.lanes=r.childLanes=1073741824,r.memoizedState={baseLanes:t,cachePool:null,transitions:null},r.updateQueue=null,He(Ai,Ht),Ht|=t,null;r.memoizedState={baseLanes:0,cachePool:null,transitions:null},l=p!==null?p.baseLanes:o,He(Ai,Ht),Ht|=l}else p!==null?(l=p.baseLanes|o,r.memoizedState=null):l=o,He(Ai,Ht),Ht|=l;return Pt(t,r,f,o),r.child}function Vp(t,r){var o=r.ref;(t===null&&o!==null||t!==null&&t.ref!==o)&&(r.flags|=512,r.flags|=2097152)}function Kc(t,r,o,l,f){var p=Lt(o)?Lr:Nt.current;return p=Si(r,p),ji(r,f),o=_c(t,r,o,l,p,f),l=Lc(),t!==null&&!Vt?(r.updateQueue=t.updateQueue,r.flags&=-2053,t.lanes&=~f,Gn(t,r,f)):(qe&&l&&xc(r),r.flags|=1,Pt(t,r,o,f),r.child)}function Op(t,r,o,l,f){if(Lt(o)){var p=!0;$o(r)}else p=!1;if(ji(r,f),r.stateNode===null)la(t,r),Dp(r,o,l),Uc(r,o,l,f),l=!0;else if(t===null){var w=r.stateNode,D=r.memoizedProps;w.props=D;var T=w.context,B=o.contextType;typeof B=="object"&&B!==null?B=en(B):(B=Lt(o)?Lr:Nt.current,B=Si(r,B));var Y=o.getDerivedStateFromProps,Z=typeof Y=="function"||typeof w.getSnapshotBeforeUpdate=="function";Z||typeof w.UNSAFE_componentWillReceiveProps!="function"&&typeof w.componentWillReceiveProps!="function"||(D!==l||T!==B)&&jp(r,w,l,B),hr=!1;var G=r.memoizedState;w.state=G,Jo(r,l,w,f),T=r.memoizedState,D!==l||G!==T||_t.current||hr?(typeof Y=="function"&&(Wc(r,o,Y,l),T=r.memoizedState),(D=hr||Np(r,o,D,l,G,T,B))?(Z||typeof w.UNSAFE_componentWillMount!="function"&&typeof w.componentWillMount!="function"||(typeof w.componentWillMount=="function"&&w.componentWillMount(),typeof w.UNSAFE_componentWillMount=="function"&&w.UNSAFE_componentWillMount()),typeof w.componentDidMount=="function"&&(r.flags|=4194308)):(typeof w.componentDidMount=="function"&&(r.flags|=4194308),r.memoizedProps=l,r.memoizedState=T),w.props=l,w.state=T,w.context=B,l=D):(typeof w.componentDidMount=="function"&&(r.flags|=4194308),l=!1)}else{w=r.stateNode,tp(t,r),D=r.memoizedProps,B=r.type===r.elementType?D:dn(r.type,D),w.props=B,Z=r.pendingProps,G=w.context,T=o.contextType,typeof T=="object"&&T!==null?T=en(T):(T=Lt(o)?Lr:Nt.current,T=Si(r,T));var fe=o.getDerivedStateFromProps;(Y=typeof fe=="function"||typeof w.getSnapshotBeforeUpdate=="function")||typeof w.UNSAFE_componentWillReceiveProps!="function"&&typeof w.componentWillReceiveProps!="function"||(D!==Z||G!==T)&&jp(r,w,l,T),hr=!1,G=r.memoizedState,w.state=G,Jo(r,l,w,f);var ye=r.memoizedState;D!==Z||G!==ye||_t.current||hr?(typeof fe=="function"&&(Wc(r,o,fe,l),ye=r.memoizedState),(B=hr||Np(r,o,B,l,G,ye,T)||!1)?(Y||typeof w.UNSAFE_componentWillUpdate!="function"&&typeof w.componentWillUpdate!="function"||(typeof w.componentWillUpdate=="function"&&w.componentWillUpdate(l,ye,T),typeof w.UNSAFE_componentWillUpdate=="function"&&w.UNSAFE_componentWillUpdate(l,ye,T)),typeof w.componentDidUpdate=="function"&&(r.flags|=4),typeof w.getSnapshotBeforeUpdate=="function"&&(r.flags|=1024)):(typeof w.componentDidUpdate!="function"||D===t.memoizedProps&&G===t.memoizedState||(r.flags|=4),typeof w.getSnapshotBeforeUpdate!="function"||D===t.memoizedProps&&G===t.memoizedState||(r.flags|=1024),r.memoizedProps=l,r.memoizedState=ye),w.props=l,w.state=ye,w.context=T,l=B):(typeof w.componentDidUpdate!="function"||D===t.memoizedProps&&G===t.memoizedState||(r.flags|=4),typeof w.getSnapshotBeforeUpdate!="function"||D===t.memoizedProps&&G===t.memoizedState||(r.flags|=1024),l=!1)}return Gc(t,r,o,l,p,f)}function Gc(t,r,o,l,f,p){Vp(t,r);var w=(r.flags&128)!==0;if(!l&&!w)return f&&$h(r,o,!1),Gn(t,r,p);l=r.stateNode,T1.current=r;var D=w&&typeof o.getDerivedStateFromError!="function"?null:l.render();return r.flags|=1,t!==null&&w?(r.child=Ni(r,t.child,null,p),r.child=Ni(r,null,D,p)):Pt(t,r,D,p),r.memoizedState=l.state,f&&$h(r,o,!0),r.child}function Bp(t){var r=t.stateNode;r.pendingContext?Wh(t,r.pendingContext,r.pendingContext!==r.context):r.context&&Wh(t,r.context,!1),Pc(t,r.containerInfo)}function zp(t,r,o,l,f){return Ei(),kc(f),r.flags|=256,Pt(t,r,o,l),r.child}var Yc={dehydrated:null,treeContext:null,retryLane:0};function Xc(t){return{baseLanes:t,cachePool:null,transitions:null}}function Wp(t,r,o){var l=r.pendingProps,f=Qe.current,p=!1,w=(r.flags&128)!==0,D;if((D=w)||(D=t!==null&&t.memoizedState===null?!1:(f&2)!==0),D?(p=!0,r.flags&=-129):(t===null||t.memoizedState!==null)&&(f|=1),He(Qe,f&1),t===null)return Sc(r),t=r.memoizedState,t!==null&&(t=t.dehydrated,t!==null)?((r.mode&1)===0?r.lanes=1:t.data==="$!"?r.lanes=8:r.lanes=1073741824,null):(w=l.children,t=l.fallback,p?(l=r.mode,p=r.child,w={mode:"hidden",children:w},(l&1)===0&&p!==null?(p.childLanes=0,p.pendingProps=w):p=wa(w,l,0,null),t=Gr(t,l,o,null),p.return=r,t.return=r,p.sibling=t,r.child=p,r.child.memoizedState=Xc(o),r.memoizedState=Yc,t):qc(r,w));if(f=t.memoizedState,f!==null&&(D=f.dehydrated,D!==null))return A1(t,r,w,l,D,f,o);if(p){p=l.fallback,w=r.mode,f=t.child,D=f.sibling;var T={mode:"hidden",children:l.children};return(w&1)===0&&r.child!==f?(l=r.child,l.childLanes=0,l.pendingProps=T,r.deletions=null):(l=wr(f,T),l.subtreeFlags=f.subtreeFlags&14680064),D!==null?p=wr(D,p):(p=Gr(p,w,o,null),p.flags|=2),p.return=r,l.return=r,l.sibling=p,r.child=l,l=p,p=r.child,w=t.child.memoizedState,w=w===null?Xc(o):{baseLanes:w.baseLanes|o,cachePool:null,transitions:w.transitions},p.memoizedState=w,p.childLanes=t.childLanes&~o,r.memoizedState=Yc,l}return p=t.child,t=p.sibling,l=wr(p,{mode:"visible",children:l.children}),(r.mode&1)===0&&(l.lanes=o),l.return=r,l.sibling=null,t!==null&&(o=r.deletions,o===null?(r.deletions=[t],r.flags|=16):o.push(t)),r.child=l,r.memoizedState=null,l}function qc(t,r){return r=wa({mode:"visible",children:r},t.mode,0,null),r.return=t,t.child=r}function aa(t,r,o,l){return l!==null&&kc(l),Ni(r,t.child,null,o),t=qc(r,r.pendingProps.children),t.flags|=2,r.memoizedState=null,t}function A1(t,r,o,l,f,p,w){if(o)return r.flags&256?(r.flags&=-257,l=$c(Error(i(422))),aa(t,r,w,l)):r.memoizedState!==null?(r.child=t.child,r.flags|=128,null):(p=l.fallback,f=r.mode,l=wa({mode:"visible",children:l.children},f,0,null),p=Gr(p,f,w,null),p.flags|=2,l.return=r,p.return=r,l.sibling=p,r.child=l,(r.mode&1)!==0&&Ni(r,t.child,null,w),r.child.memoizedState=Xc(w),r.memoizedState=Yc,p);if((r.mode&1)===0)return aa(t,r,w,null);if(f.data==="$!"){if(l=f.nextSibling&&f.nextSibling.dataset,l)var D=l.dgst;return l=D,p=Error(i(419)),l=$c(p,l,void 0),aa(t,r,w,l)}if(D=(w&t.childLanes)!==0,Vt||D){if(l=yt,l!==null){switch(w&-w){case 4:f=2;break;case 16:f=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:f=32;break;case 536870912:f=268435456;break;default:f=0}f=(f&(l.suspendedLanes|w))!==0?0:f,f!==0&&f!==p.retryLane&&(p.retryLane=f,Hn(t,f),pn(l,t,f,-1))}return fu(),l=$c(Error(i(421))),aa(t,r,w,l)}return f.data==="$?"?(r.flags|=128,r.child=t.child,r=H1.bind(null,t),f._reactRetry=r,null):(t=p.treeContext,$t=cr(f.nextSibling),Ut=r,qe=!0,un=null,t!==null&&(Zt[Jt++]=Un,Zt[Jt++]=$n,Zt[Jt++]=Vr,Un=t.id,$n=t.overflow,Vr=r),r=qc(r,l.children),r.flags|=4096,r)}function Up(t,r,o){t.lanes|=r;var l=t.alternate;l!==null&&(l.lanes|=r),Dc(t.return,r,o)}function Qc(t,r,o,l,f){var p=t.memoizedState;p===null?t.memoizedState={isBackwards:r,rendering:null,renderingStartTime:0,last:l,tail:o,tailMode:f}:(p.isBackwards=r,p.rendering=null,p.renderingStartTime=0,p.last=l,p.tail=o,p.tailMode=f)}function $p(t,r,o){var l=r.pendingProps,f=l.revealOrder,p=l.tail;if(Pt(t,r,l.children,o),l=Qe.current,(l&2)!==0)l=l&1|2,r.flags|=128;else{if(t!==null&&(t.flags&128)!==0)e:for(t=r.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&Up(t,o,r);else if(t.tag===19)Up(t,o,r);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===r)break e;for(;t.sibling===null;){if(t.return===null||t.return===r)break e;t=t.return}t.sibling.return=t.return,t=t.sibling}l&=1}if(He(Qe,l),(r.mode&1)===0)r.memoizedState=null;else switch(f){case"forwards":for(o=r.child,f=null;o!==null;)t=o.alternate,t!==null&&ea(t)===null&&(f=o),o=o.sibling;o=f,o===null?(f=r.child,r.child=null):(f=o.sibling,o.sibling=null),Qc(r,!1,f,o,p);break;case"backwards":for(o=null,f=r.child,r.child=null;f!==null;){if(t=f.alternate,t!==null&&ea(t)===null){r.child=f;break}t=f.sibling,f.sibling=o,o=f,f=t}Qc(r,!0,o,null,p);break;case"together":Qc(r,!1,null,null,void 0);break;default:r.memoizedState=null}return r.child}function la(t,r){(r.mode&1)===0&&t!==null&&(t.alternate=null,r.alternate=null,r.flags|=2)}function Gn(t,r,o){if(t!==null&&(r.dependencies=t.dependencies),Ur|=r.lanes,(o&r.childLanes)===0)return null;if(t!==null&&r.child!==t.child)throw Error(i(153));if(r.child!==null){for(t=r.child,o=wr(t,t.pendingProps),r.child=o,o.return=r;t.sibling!==null;)t=t.sibling,o=o.sibling=wr(t,t.pendingProps),o.return=r;o.sibling=null}return r.child}function M1(t,r,o){switch(r.tag){case 3:Bp(r),Ei();break;case 5:ip(r);break;case 1:Lt(r.type)&&$o(r);break;case 4:Pc(r,r.stateNode.containerInfo);break;case 10:var l=r.type._context,f=r.memoizedProps.value;He(qo,l._currentValue),l._currentValue=f;break;case 13:if(l=r.memoizedState,l!==null)return l.dehydrated!==null?(He(Qe,Qe.current&1),r.flags|=128,null):(o&r.child.childLanes)!==0?Wp(t,r,o):(He(Qe,Qe.current&1),t=Gn(t,r,o),t!==null?t.sibling:null);He(Qe,Qe.current&1);break;case 19:if(l=(o&r.childLanes)!==0,(t.flags&128)!==0){if(l)return $p(t,r,o);r.flags|=128}if(f=r.memoizedState,f!==null&&(f.rendering=null,f.tail=null,f.lastEffect=null),He(Qe,Qe.current),l)break;return null;case 22:case 23:return r.lanes=0,Lp(t,r,o)}return Gn(t,r,o)}var Hp,Zc,Kp,Gp;Hp=function(t,r){for(var o=r.child;o!==null;){if(o.tag===5||o.tag===6)t.appendChild(o.stateNode);else if(o.tag!==4&&o.child!==null){o.child.return=o,o=o.child;continue}if(o===r)break;for(;o.sibling===null;){if(o.return===null||o.return===r)return;o=o.return}o.sibling.return=o.return,o=o.sibling}},Zc=function(){},Kp=function(t,r,o,l){var f=t.memoizedProps;if(f!==l){t=r.stateNode,zr(Dn.current);var p=null;switch(o){case"input":f=xt(t,f),l=xt(t,l),p=[];break;case"select":f=Q({},f,{value:void 0}),l=Q({},l,{value:void 0}),p=[];break;case"textarea":f=P(t,f),l=P(t,l),p=[];break;default:typeof f.onClick!="function"&&typeof l.onClick=="function"&&(t.onclick=zo)}ci(o,l);var w;o=null;for(B in f)if(!l.hasOwnProperty(B)&&f.hasOwnProperty(B)&&f[B]!=null)if(B==="style"){var D=f[B];for(w in D)D.hasOwnProperty(w)&&(o||(o={}),o[w]="")}else B!=="dangerouslySetInnerHTML"&&B!=="children"&&B!=="suppressContentEditableWarning"&&B!=="suppressHydrationWarning"&&B!=="autoFocus"&&(a.hasOwnProperty(B)?p||(p=[]):(p=p||[]).push(B,null));for(B in l){var T=l[B];if(D=f!=null?f[B]:void 0,l.hasOwnProperty(B)&&T!==D&&(T!=null||D!=null))if(B==="style")if(D){for(w in D)!D.hasOwnProperty(w)||T&&T.hasOwnProperty(w)||(o||(o={}),o[w]="");for(w in T)T.hasOwnProperty(w)&&D[w]!==T[w]&&(o||(o={}),o[w]=T[w])}else o||(p||(p=[]),p.push(B,o)),o=T;else B==="dangerouslySetInnerHTML"?(T=T?T.__html:void 0,D=D?D.__html:void 0,T!=null&&D!==T&&(p=p||[]).push(B,T)):B==="children"?typeof T!="string"&&typeof T!="number"||(p=p||[]).push(B,""+T):B!=="suppressContentEditableWarning"&&B!=="suppressHydrationWarning"&&(a.hasOwnProperty(B)?(T!=null&&B==="onScroll"&&Ge("scroll",t),p||D===T||(p=[])):(p=p||[]).push(B,T))}o&&(p=p||[]).push("style",o);var B=p;(r.updateQueue=B)&&(r.flags|=4)}},Gp=function(t,r,o,l){o!==l&&(r.flags|=4)};function zs(t,r){if(!qe)switch(t.tailMode){case"hidden":r=t.tail;for(var o=null;r!==null;)r.alternate!==null&&(o=r),r=r.sibling;o===null?t.tail=null:o.sibling=null;break;case"collapsed":o=t.tail;for(var l=null;o!==null;)o.alternate!==null&&(l=o),o=o.sibling;l===null?r||t.tail===null?t.tail=null:t.tail.sibling=null:l.sibling=null}}function jt(t){var r=t.alternate!==null&&t.alternate.child===t.child,o=0,l=0;if(r)for(var f=t.child;f!==null;)o|=f.lanes|f.childLanes,l|=f.subtreeFlags&14680064,l|=f.flags&14680064,f.return=t,f=f.sibling;else for(f=t.child;f!==null;)o|=f.lanes|f.childLanes,l|=f.subtreeFlags,l|=f.flags,f.return=t,f=f.sibling;return t.subtreeFlags|=l,t.childLanes=o,r}function R1(t,r,o){var l=r.pendingProps;switch(wc(r),r.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return jt(r),null;case 1:return Lt(r.type)&&Uo(),jt(r),null;case 3:return l=r.stateNode,Fi(),Ye(_t),Ye(Nt),Mc(),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),(t===null||t.child===null)&&(Yo(r)?r.flags|=4:t===null||t.memoizedState.isDehydrated&&(r.flags&256)===0||(r.flags|=1024,un!==null&&(cu(un),un=null))),Zc(t,r),jt(r),null;case 5:Tc(r);var f=zr(_s.current);if(o=r.type,t!==null&&r.stateNode!=null)Kp(t,r,o,l,f),t.ref!==r.ref&&(r.flags|=512,r.flags|=2097152);else{if(!l){if(r.stateNode===null)throw Error(i(166));return jt(r),null}if(t=zr(Dn.current),Yo(r)){l=r.stateNode,o=r.type;var p=r.memoizedProps;switch(l[Nn]=r,l[Ts]=p,t=(r.mode&1)!==0,o){case"dialog":Ge("cancel",l),Ge("close",l);break;case"iframe":case"object":case"embed":Ge("load",l);break;case"video":case"audio":for(f=0;f<js.length;f++)Ge(js[f],l);break;case"source":Ge("error",l);break;case"img":case"image":case"link":Ge("error",l),Ge("load",l);break;case"details":Ge("toggle",l);break;case"input":kn(l,p),Ge("invalid",l);break;case"select":l._wrapperState={wasMultiple:!!p.multiple},Ge("invalid",l);break;case"textarea":O(l,p),Ge("invalid",l)}ci(o,p),f=null;for(var w in p)if(p.hasOwnProperty(w)){var D=p[w];w==="children"?typeof D=="string"?l.textContent!==D&&(p.suppressHydrationWarning!==!0&&Bo(l.textContent,D,t),f=["children",D]):typeof D=="number"&&l.textContent!==""+D&&(p.suppressHydrationWarning!==!0&&Bo(l.textContent,D,t),f=["children",""+D]):a.hasOwnProperty(w)&&D!=null&&w==="onScroll"&&Ge("scroll",l)}switch(o){case"input":Ae(l),si(l,p,!0);break;case"textarea":Ae(l),de(l);break;case"select":case"option":break;default:typeof p.onClick=="function"&&(l.onclick=zo)}l=f,r.updateQueue=l,l!==null&&(r.flags|=4)}else{w=f.nodeType===9?f:f.ownerDocument,t==="http://www.w3.org/1999/xhtml"&&(t=ae(o)),t==="http://www.w3.org/1999/xhtml"?o==="script"?(t=w.createElement("div"),t.innerHTML="<script><\/script>",t=t.removeChild(t.firstChild)):typeof l.is=="string"?t=w.createElement(o,{is:l.is}):(t=w.createElement(o),o==="select"&&(w=t,l.multiple?w.multiple=!0:l.size&&(w.size=l.size))):t=w.createElementNS(t,o),t[Nn]=r,t[Ts]=l,Hp(t,r,!1,!1),r.stateNode=t;e:{switch(w=us(o,l),o){case"dialog":Ge("cancel",t),Ge("close",t),f=l;break;case"iframe":case"object":case"embed":Ge("load",t),f=l;break;case"video":case"audio":for(f=0;f<js.length;f++)Ge(js[f],t);f=l;break;case"source":Ge("error",t),f=l;break;case"img":case"image":case"link":Ge("error",t),Ge("load",t),f=l;break;case"details":Ge("toggle",t),f=l;break;case"input":kn(t,l),f=xt(t,l),Ge("invalid",t);break;case"option":f=l;break;case"select":t._wrapperState={wasMultiple:!!l.multiple},f=Q({},l,{value:void 0}),Ge("invalid",t);break;case"textarea":O(t,l),f=P(t,l),Ge("invalid",t);break;default:f=l}ci(o,f),D=f;for(p in D)if(D.hasOwnProperty(p)){var T=D[p];p==="style"?li(t,T):p==="dangerouslySetInnerHTML"?(T=T?T.__html:void 0,T!=null&&Le(t,T)):p==="children"?typeof T=="string"?(o!=="textarea"||T!=="")&&$e(t,T):typeof T=="number"&&$e(t,""+T):p!=="suppressContentEditableWarning"&&p!=="suppressHydrationWarning"&&p!=="autoFocus"&&(a.hasOwnProperty(p)?T!=null&&p==="onScroll"&&Ge("scroll",t):T!=null&&F(t,p,T,w))}switch(o){case"input":Ae(t),si(t,l,!1);break;case"textarea":Ae(t),de(t);break;case"option":l.value!=null&&t.setAttribute("value",""+ke(l.value));break;case"select":t.multiple=!!l.multiple,p=l.value,p!=null?Bn(t,!!l.multiple,p,!1):l.defaultValue!=null&&Bn(t,!!l.multiple,l.defaultValue,!0);break;default:typeof f.onClick=="function"&&(t.onclick=zo)}switch(o){case"button":case"input":case"select":case"textarea":l=!!l.autoFocus;break e;case"img":l=!0;break e;default:l=!1}}l&&(r.flags|=4)}r.ref!==null&&(r.flags|=512,r.flags|=2097152)}return jt(r),null;case 6:if(t&&r.stateNode!=null)Gp(t,r,t.memoizedProps,l);else{if(typeof l!="string"&&r.stateNode===null)throw Error(i(166));if(o=zr(_s.current),zr(Dn.current),Yo(r)){if(l=r.stateNode,o=r.memoizedProps,l[Nn]=r,(p=l.nodeValue!==o)&&(t=Ut,t!==null))switch(t.tag){case 3:Bo(l.nodeValue,o,(t.mode&1)!==0);break;case 5:t.memoizedProps.suppressHydrationWarning!==!0&&Bo(l.nodeValue,o,(t.mode&1)!==0)}p&&(r.flags|=4)}else l=(o.nodeType===9?o:o.ownerDocument).createTextNode(l),l[Nn]=r,r.stateNode=l}return jt(r),null;case 13:if(Ye(Qe),l=r.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(qe&&$t!==null&&(r.mode&1)!==0&&(r.flags&128)===0)qh(),Ei(),r.flags|=98560,p=!1;else if(p=Yo(r),l!==null&&l.dehydrated!==null){if(t===null){if(!p)throw Error(i(318));if(p=r.memoizedState,p=p!==null?p.dehydrated:null,!p)throw Error(i(317));p[Nn]=r}else Ei(),(r.flags&128)===0&&(r.memoizedState=null),r.flags|=4;jt(r),p=!1}else un!==null&&(cu(un),un=null),p=!0;if(!p)return r.flags&65536?r:null}return(r.flags&128)!==0?(r.lanes=o,r):(l=l!==null,l!==(t!==null&&t.memoizedState!==null)&&l&&(r.child.flags|=8192,(r.mode&1)!==0&&(t===null||(Qe.current&1)!==0?ft===0&&(ft=3):fu())),r.updateQueue!==null&&(r.flags|=4),jt(r),null);case 4:return Fi(),Zc(t,r),t===null&&Fs(r.stateNode.containerInfo),jt(r),null;case 10:return Nc(r.type._context),jt(r),null;case 17:return Lt(r.type)&&Uo(),jt(r),null;case 19:if(Ye(Qe),p=r.memoizedState,p===null)return jt(r),null;if(l=(r.flags&128)!==0,w=p.rendering,w===null)if(l)zs(p,!1);else{if(ft!==0||t!==null&&(t.flags&128)!==0)for(t=r.child;t!==null;){if(w=ea(t),w!==null){for(r.flags|=128,zs(p,!1),l=w.updateQueue,l!==null&&(r.updateQueue=l,r.flags|=4),r.subtreeFlags=0,l=o,o=r.child;o!==null;)p=o,t=l,p.flags&=14680066,w=p.alternate,w===null?(p.childLanes=0,p.lanes=t,p.child=null,p.subtreeFlags=0,p.memoizedProps=null,p.memoizedState=null,p.updateQueue=null,p.dependencies=null,p.stateNode=null):(p.childLanes=w.childLanes,p.lanes=w.lanes,p.child=w.child,p.subtreeFlags=0,p.deletions=null,p.memoizedProps=w.memoizedProps,p.memoizedState=w.memoizedState,p.updateQueue=w.updateQueue,p.type=w.type,t=w.dependencies,p.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),o=o.sibling;return He(Qe,Qe.current&1|2),r.child}t=t.sibling}p.tail!==null&&nt()>Mi&&(r.flags|=128,l=!0,zs(p,!1),r.lanes=4194304)}else{if(!l)if(t=ea(w),t!==null){if(r.flags|=128,l=!0,o=t.updateQueue,o!==null&&(r.updateQueue=o,r.flags|=4),zs(p,!0),p.tail===null&&p.tailMode==="hidden"&&!w.alternate&&!qe)return jt(r),null}else 2*nt()-p.renderingStartTime>Mi&&o!==1073741824&&(r.flags|=128,l=!0,zs(p,!1),r.lanes=4194304);p.isBackwards?(w.sibling=r.child,r.child=w):(o=p.last,o!==null?o.sibling=w:r.child=w,p.last=w)}return p.tail!==null?(r=p.tail,p.rendering=r,p.tail=r.sibling,p.renderingStartTime=nt(),r.sibling=null,o=Qe.current,He(Qe,l?o&1|2:o&1),r):(jt(r),null);case 22:case 23:return du(),l=r.memoizedState!==null,t!==null&&t.memoizedState!==null!==l&&(r.flags|=8192),l&&(r.mode&1)!==0?(Ht&1073741824)!==0&&(jt(r),r.subtreeFlags&6&&(r.flags|=8192)):jt(r),null;case 24:return null;case 25:return null}throw Error(i(156,r.tag))}function I1(t,r){switch(wc(r),r.tag){case 1:return Lt(r.type)&&Uo(),t=r.flags,t&65536?(r.flags=t&-65537|128,r):null;case 3:return Fi(),Ye(_t),Ye(Nt),Mc(),t=r.flags,(t&65536)!==0&&(t&128)===0?(r.flags=t&-65537|128,r):null;case 5:return Tc(r),null;case 13:if(Ye(Qe),t=r.memoizedState,t!==null&&t.dehydrated!==null){if(r.alternate===null)throw Error(i(340));Ei()}return t=r.flags,t&65536?(r.flags=t&-65537|128,r):null;case 19:return Ye(Qe),null;case 4:return Fi(),null;case 10:return Nc(r.type._context),null;case 22:case 23:return du(),null;case 24:return null;default:return null}}var ca=!1,Ft=!1,_1=typeof WeakSet=="function"?WeakSet:Set,me=null;function Ti(t,r){var o=t.ref;if(o!==null)if(typeof o=="function")try{o(null)}catch(l){et(t,r,l)}else o.current=null}function Jc(t,r,o){try{o()}catch(l){et(t,r,l)}}var Yp=!1;function L1(t,r){if(dc=Fo,t=Nh(),rc(t)){if("selectionStart"in t)var o={start:t.selectionStart,end:t.selectionEnd};else e:{o=(o=t.ownerDocument)&&o.defaultView||window;var l=o.getSelection&&o.getSelection();if(l&&l.rangeCount!==0){o=l.anchorNode;var f=l.anchorOffset,p=l.focusNode;l=l.focusOffset;try{o.nodeType,p.nodeType}catch{o=null;break e}var w=0,D=-1,T=-1,B=0,Y=0,Z=t,G=null;t:for(;;){for(var fe;Z!==o||f!==0&&Z.nodeType!==3||(D=w+f),Z!==p||l!==0&&Z.nodeType!==3||(T=w+l),Z.nodeType===3&&(w+=Z.nodeValue.length),(fe=Z.firstChild)!==null;)G=Z,Z=fe;for(;;){if(Z===t)break t;if(G===o&&++B===f&&(D=w),G===p&&++Y===l&&(T=w),(fe=Z.nextSibling)!==null)break;Z=G,G=Z.parentNode}Z=fe}o=D===-1||T===-1?null:{start:D,end:T}}else o=null}o=o||{start:0,end:0}}else o=null;for(fc={focusedElem:t,selectionRange:o},Fo=!1,me=r;me!==null;)if(r=me,t=r.child,(r.subtreeFlags&1028)!==0&&t!==null)t.return=r,me=t;else for(;me!==null;){r=me;try{var ye=r.alternate;if((r.flags&1024)!==0)switch(r.tag){case 0:case 11:case 15:break;case 1:if(ye!==null){var Se=ye.memoizedProps,rt=ye.memoizedState,_=r.stateNode,M=_.getSnapshotBeforeUpdate(r.elementType===r.type?Se:dn(r.type,Se),rt);_.__reactInternalSnapshotBeforeUpdate=M}break;case 3:var V=r.stateNode.containerInfo;V.nodeType===1?V.textContent="":V.nodeType===9&&V.documentElement&&V.removeChild(V.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(i(163))}}catch(ie){et(r,r.return,ie)}if(t=r.sibling,t!==null){t.return=r.return,me=t;break}me=r.return}return ye=Yp,Yp=!1,ye}function Ws(t,r,o){var l=r.updateQueue;if(l=l!==null?l.lastEffect:null,l!==null){var f=l=l.next;do{if((f.tag&t)===t){var p=f.destroy;f.destroy=void 0,p!==void 0&&Jc(r,o,p)}f=f.next}while(f!==l)}}function ua(t,r){if(r=r.updateQueue,r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&t)===t){var l=o.create;o.destroy=l()}o=o.next}while(o!==r)}}function eu(t){var r=t.ref;if(r!==null){var o=t.stateNode;switch(t.tag){case 5:t=o;break;default:t=o}typeof r=="function"?r(t):r.current=t}}function Xp(t){var r=t.alternate;r!==null&&(t.alternate=null,Xp(r)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(r=t.stateNode,r!==null&&(delete r[Nn],delete r[Ts],delete r[gc],delete r[x1],delete r[w1])),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}function qp(t){return t.tag===5||t.tag===3||t.tag===4}function Qp(t){e:for(;;){for(;t.sibling===null;){if(t.return===null||qp(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.flags&2||t.child===null||t.tag===4)continue e;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function tu(t,r,o){var l=t.tag;if(l===5||l===6)t=t.stateNode,r?o.nodeType===8?o.parentNode.insertBefore(t,r):o.insertBefore(t,r):(o.nodeType===8?(r=o.parentNode,r.insertBefore(t,o)):(r=o,r.appendChild(t)),o=o._reactRootContainer,o!=null||r.onclick!==null||(r.onclick=zo));else if(l!==4&&(t=t.child,t!==null))for(tu(t,r,o),t=t.sibling;t!==null;)tu(t,r,o),t=t.sibling}function nu(t,r,o){var l=t.tag;if(l===5||l===6)t=t.stateNode,r?o.insertBefore(t,r):o.appendChild(t);else if(l!==4&&(t=t.child,t!==null))for(nu(t,r,o),t=t.sibling;t!==null;)nu(t,r,o),t=t.sibling}var wt=null,fn=!1;function mr(t,r,o){for(o=o.child;o!==null;)Zp(t,r,o),o=o.sibling}function Zp(t,r,o){if(En&&typeof En.onCommitFiberUnmount=="function")try{En.onCommitFiberUnmount(ko,o)}catch{}switch(o.tag){case 5:Ft||Ti(o,r);case 6:var l=wt,f=fn;wt=null,mr(t,r,o),wt=l,fn=f,wt!==null&&(fn?(t=wt,o=o.stateNode,t.nodeType===8?t.parentNode.removeChild(o):t.removeChild(o)):wt.removeChild(o.stateNode));break;case 18:wt!==null&&(fn?(t=wt,o=o.stateNode,t.nodeType===8?mc(t.parentNode,o):t.nodeType===1&&mc(t,o),ws(t)):mc(wt,o.stateNode));break;case 4:l=wt,f=fn,wt=o.stateNode.containerInfo,fn=!0,mr(t,r,o),wt=l,fn=f;break;case 0:case 11:case 14:case 15:if(!Ft&&(l=o.updateQueue,l!==null&&(l=l.lastEffect,l!==null))){f=l=l.next;do{var p=f,w=p.destroy;p=p.tag,w!==void 0&&((p&2)!==0||(p&4)!==0)&&Jc(o,r,w),f=f.next}while(f!==l)}mr(t,r,o);break;case 1:if(!Ft&&(Ti(o,r),l=o.stateNode,typeof l.componentWillUnmount=="function"))try{l.props=o.memoizedProps,l.state=o.memoizedState,l.componentWillUnmount()}catch(D){et(o,r,D)}mr(t,r,o);break;case 21:mr(t,r,o);break;case 22:o.mode&1?(Ft=(l=Ft)||o.memoizedState!==null,mr(t,r,o),Ft=l):mr(t,r,o);break;default:mr(t,r,o)}}function Jp(t){var r=t.updateQueue;if(r!==null){t.updateQueue=null;var o=t.stateNode;o===null&&(o=t.stateNode=new _1),r.forEach(function(l){var f=K1.bind(null,t,l);o.has(l)||(o.add(l),l.then(f,f))})}}function hn(t,r){var o=r.deletions;if(o!==null)for(var l=0;l<o.length;l++){var f=o[l];try{var p=t,w=r,D=w;e:for(;D!==null;){switch(D.tag){case 5:wt=D.stateNode,fn=!1;break e;case 3:wt=D.stateNode.containerInfo,fn=!0;break e;case 4:wt=D.stateNode.containerInfo,fn=!0;break e}D=D.return}if(wt===null)throw Error(i(160));Zp(p,w,f),wt=null,fn=!1;var T=f.alternate;T!==null&&(T.return=null),f.return=null}catch(B){et(f,r,B)}}if(r.subtreeFlags&12854)for(r=r.child;r!==null;)em(r,t),r=r.sibling}function em(t,r){var o=t.alternate,l=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:if(hn(r,t),Fn(t),l&4){try{Ws(3,t,t.return),ua(3,t)}catch(Se){et(t,t.return,Se)}try{Ws(5,t,t.return)}catch(Se){et(t,t.return,Se)}}break;case 1:hn(r,t),Fn(t),l&512&&o!==null&&Ti(o,o.return);break;case 5:if(hn(r,t),Fn(t),l&512&&o!==null&&Ti(o,o.return),t.flags&32){var f=t.stateNode;try{$e(f,"")}catch(Se){et(t,t.return,Se)}}if(l&4&&(f=t.stateNode,f!=null)){var p=t.memoizedProps,w=o!==null?o.memoizedProps:p,D=t.type,T=t.updateQueue;if(t.updateQueue=null,T!==null)try{D==="input"&&p.type==="radio"&&p.name!=null&&an(f,p),us(D,w);var B=us(D,p);for(w=0;w<T.length;w+=2){var Y=T[w],Z=T[w+1];Y==="style"?li(f,Z):Y==="dangerouslySetInnerHTML"?Le(f,Z):Y==="children"?$e(f,Z):F(f,Y,Z,B)}switch(D){case"input":Qt(f,p);break;case"textarea":W(f,p);break;case"select":var G=f._wrapperState.wasMultiple;f._wrapperState.wasMultiple=!!p.multiple;var fe=p.value;fe!=null?Bn(f,!!p.multiple,fe,!1):G!==!!p.multiple&&(p.defaultValue!=null?Bn(f,!!p.multiple,p.defaultValue,!0):Bn(f,!!p.multiple,p.multiple?[]:"",!1))}f[Ts]=p}catch(Se){et(t,t.return,Se)}}break;case 6:if(hn(r,t),Fn(t),l&4){if(t.stateNode===null)throw Error(i(162));f=t.stateNode,p=t.memoizedProps;try{f.nodeValue=p}catch(Se){et(t,t.return,Se)}}break;case 3:if(hn(r,t),Fn(t),l&4&&o!==null&&o.memoizedState.isDehydrated)try{ws(r.containerInfo)}catch(Se){et(t,t.return,Se)}break;case 4:hn(r,t),Fn(t);break;case 13:hn(r,t),Fn(t),f=t.child,f.flags&8192&&(p=f.memoizedState!==null,f.stateNode.isHidden=p,!p||f.alternate!==null&&f.alternate.memoizedState!==null||(su=nt())),l&4&&Jp(t);break;case 22:if(Y=o!==null&&o.memoizedState!==null,t.mode&1?(Ft=(B=Ft)||Y,hn(r,t),Ft=B):hn(r,t),Fn(t),l&8192){if(B=t.memoizedState!==null,(t.stateNode.isHidden=B)&&!Y&&(t.mode&1)!==0)for(me=t,Y=t.child;Y!==null;){for(Z=me=Y;me!==null;){switch(G=me,fe=G.child,G.tag){case 0:case 11:case 14:case 15:Ws(4,G,G.return);break;case 1:Ti(G,G.return);var ye=G.stateNode;if(typeof ye.componentWillUnmount=="function"){l=G,o=G.return;try{r=l,ye.props=r.memoizedProps,ye.state=r.memoizedState,ye.componentWillUnmount()}catch(Se){et(l,o,Se)}}break;case 5:Ti(G,G.return);break;case 22:if(G.memoizedState!==null){rm(Z);continue}}fe!==null?(fe.return=G,me=fe):rm(Z)}Y=Y.sibling}e:for(Y=null,Z=t;;){if(Z.tag===5){if(Y===null){Y=Z;try{f=Z.stateNode,B?(p=f.style,typeof p.setProperty=="function"?p.setProperty("display","none","important"):p.display="none"):(D=Z.stateNode,T=Z.memoizedProps.style,w=T!=null&&T.hasOwnProperty("display")?T.display:null,D.style.display=ai("display",w))}catch(Se){et(t,t.return,Se)}}}else if(Z.tag===6){if(Y===null)try{Z.stateNode.nodeValue=B?"":Z.memoizedProps}catch(Se){et(t,t.return,Se)}}else if((Z.tag!==22&&Z.tag!==23||Z.memoizedState===null||Z===t)&&Z.child!==null){Z.child.return=Z,Z=Z.child;continue}if(Z===t)break e;for(;Z.sibling===null;){if(Z.return===null||Z.return===t)break e;Y===Z&&(Y=null),Z=Z.return}Y===Z&&(Y=null),Z.sibling.return=Z.return,Z=Z.sibling}}break;case 19:hn(r,t),Fn(t),l&4&&Jp(t);break;case 21:break;default:hn(r,t),Fn(t)}}function Fn(t){var r=t.flags;if(r&2){try{e:{for(var o=t.return;o!==null;){if(qp(o)){var l=o;break e}o=o.return}throw Error(i(160))}switch(l.tag){case 5:var f=l.stateNode;l.flags&32&&($e(f,""),l.flags&=-33);var p=Qp(t);nu(t,p,f);break;case 3:case 4:var w=l.stateNode.containerInfo,D=Qp(t);tu(t,D,w);break;default:throw Error(i(161))}}catch(T){et(t,t.return,T)}t.flags&=-3}r&4096&&(t.flags&=-4097)}function V1(t,r,o){me=t,tm(t)}function tm(t,r,o){for(var l=(t.mode&1)!==0;me!==null;){var f=me,p=f.child;if(f.tag===22&&l){var w=f.memoizedState!==null||ca;if(!w){var D=f.alternate,T=D!==null&&D.memoizedState!==null||Ft;D=ca;var B=Ft;if(ca=w,(Ft=T)&&!B)for(me=f;me!==null;)w=me,T=w.child,w.tag===22&&w.memoizedState!==null?im(f):T!==null?(T.return=w,me=T):im(f);for(;p!==null;)me=p,tm(p),p=p.sibling;me=f,ca=D,Ft=B}nm(t)}else(f.subtreeFlags&8772)!==0&&p!==null?(p.return=f,me=p):nm(t)}}function nm(t){for(;me!==null;){var r=me;if((r.flags&8772)!==0){var o=r.alternate;try{if((r.flags&8772)!==0)switch(r.tag){case 0:case 11:case 15:Ft||ua(5,r);break;case 1:var l=r.stateNode;if(r.flags&4&&!Ft)if(o===null)l.componentDidMount();else{var f=r.elementType===r.type?o.memoizedProps:dn(r.type,o.memoizedProps);l.componentDidUpdate(f,o.memoizedState,l.__reactInternalSnapshotBeforeUpdate)}var p=r.updateQueue;p!==null&&rp(r,p,l);break;case 3:var w=r.updateQueue;if(w!==null){if(o=null,r.child!==null)switch(r.child.tag){case 5:o=r.child.stateNode;break;case 1:o=r.child.stateNode}rp(r,w,o)}break;case 5:var D=r.stateNode;if(o===null&&r.flags&4){o=D;var T=r.memoizedProps;switch(r.type){case"button":case"input":case"select":case"textarea":T.autoFocus&&o.focus();break;case"img":T.src&&(o.src=T.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(r.memoizedState===null){var B=r.alternate;if(B!==null){var Y=B.memoizedState;if(Y!==null){var Z=Y.dehydrated;Z!==null&&ws(Z)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(i(163))}Ft||r.flags&512&&eu(r)}catch(G){et(r,r.return,G)}}if(r===t){me=null;break}if(o=r.sibling,o!==null){o.return=r.return,me=o;break}me=r.return}}function rm(t){for(;me!==null;){var r=me;if(r===t){me=null;break}var o=r.sibling;if(o!==null){o.return=r.return,me=o;break}me=r.return}}function im(t){for(;me!==null;){var r=me;try{switch(r.tag){case 0:case 11:case 15:var o=r.return;try{ua(4,r)}catch(T){et(r,o,T)}break;case 1:var l=r.stateNode;if(typeof l.componentDidMount=="function"){var f=r.return;try{l.componentDidMount()}catch(T){et(r,f,T)}}var p=r.return;try{eu(r)}catch(T){et(r,p,T)}break;case 5:var w=r.return;try{eu(r)}catch(T){et(r,w,T)}}}catch(T){et(r,r.return,T)}if(r===t){me=null;break}var D=r.sibling;if(D!==null){D.return=r.return,me=D;break}me=r.return}}var O1=Math.ceil,da=I.ReactCurrentDispatcher,ru=I.ReactCurrentOwner,nn=I.ReactCurrentBatchConfig,Ve=0,yt=null,lt=null,bt=0,Ht=0,Ai=ur(0),ft=0,Us=null,Ur=0,fa=0,iu=0,$s=null,Ot=null,su=0,Mi=1/0,Yn=null,ha=!1,ou=null,gr=null,pa=!1,yr=null,ma=0,Hs=0,au=null,ga=-1,ya=0;function Tt(){return(Ve&6)!==0?nt():ga!==-1?ga:ga=nt()}function vr(t){return(t.mode&1)===0?1:(Ve&2)!==0&&bt!==0?bt&-bt:S1.transition!==null?(ya===0&&(ya=Qf()),ya):(t=Be,t!==0||(t=window.event,t=t===void 0?16:oh(t.type)),t)}function pn(t,r,o,l){if(50<Hs)throw Hs=0,au=null,Error(i(185));ms(t,o,l),((Ve&2)===0||t!==yt)&&(t===yt&&((Ve&2)===0&&(fa|=o),ft===4&&xr(t,bt)),Bt(t,l),o===1&&Ve===0&&(r.mode&1)===0&&(Mi=nt()+500,Ho&&fr()))}function Bt(t,r){var o=t.callbackNode;Sw(t,r);var l=No(t,t===yt?bt:0);if(l===0)o!==null&&Yf(o),t.callbackNode=null,t.callbackPriority=0;else if(r=l&-l,t.callbackPriority!==r){if(o!=null&&Yf(o),r===1)t.tag===0?b1(om.bind(null,t)):Hh(om.bind(null,t)),y1(function(){(Ve&6)===0&&fr()}),o=null;else{switch(Zf(l)){case 1:o=Bl;break;case 4:o=Xf;break;case 16:o=So;break;case 536870912:o=qf;break;default:o=So}o=pm(o,sm.bind(null,t))}t.callbackPriority=r,t.callbackNode=o}}function sm(t,r){if(ga=-1,ya=0,(Ve&6)!==0)throw Error(i(327));var o=t.callbackNode;if(Ri()&&t.callbackNode!==o)return null;var l=No(t,t===yt?bt:0);if(l===0)return null;if((l&30)!==0||(l&t.expiredLanes)!==0||r)r=va(t,l);else{r=l;var f=Ve;Ve|=2;var p=lm();(yt!==t||bt!==r)&&(Yn=null,Mi=nt()+500,Hr(t,r));do try{W1();break}catch(D){am(t,D)}while(!0);Ec(),da.current=p,Ve=f,lt!==null?r=0:(yt=null,bt=0,r=ft)}if(r!==0){if(r===2&&(f=zl(t),f!==0&&(l=f,r=lu(t,f))),r===1)throw o=Us,Hr(t,0),xr(t,l),Bt(t,nt()),o;if(r===6)xr(t,l);else{if(f=t.current.alternate,(l&30)===0&&!B1(f)&&(r=va(t,l),r===2&&(p=zl(t),p!==0&&(l=p,r=lu(t,p))),r===1))throw o=Us,Hr(t,0),xr(t,l),Bt(t,nt()),o;switch(t.finishedWork=f,t.finishedLanes=l,r){case 0:case 1:throw Error(i(345));case 2:Kr(t,Ot,Yn);break;case 3:if(xr(t,l),(l&130023424)===l&&(r=su+500-nt(),10<r)){if(No(t,0)!==0)break;if(f=t.suspendedLanes,(f&l)!==l){Tt(),t.pingedLanes|=t.suspendedLanes&f;break}t.timeoutHandle=pc(Kr.bind(null,t,Ot,Yn),r);break}Kr(t,Ot,Yn);break;case 4:if(xr(t,l),(l&4194240)===l)break;for(r=t.eventTimes,f=-1;0<l;){var w=31-ln(l);p=1<<w,w=r[w],w>f&&(f=w),l&=~p}if(l=f,l=nt()-l,l=(120>l?120:480>l?480:1080>l?1080:1920>l?1920:3e3>l?3e3:4320>l?4320:1960*O1(l/1960))-l,10<l){t.timeoutHandle=pc(Kr.bind(null,t,Ot,Yn),l);break}Kr(t,Ot,Yn);break;case 5:Kr(t,Ot,Yn);break;default:throw Error(i(329))}}}return Bt(t,nt()),t.callbackNode===o?sm.bind(null,t):null}function lu(t,r){var o=$s;return t.current.memoizedState.isDehydrated&&(Hr(t,r).flags|=256),t=va(t,r),t!==2&&(r=Ot,Ot=o,r!==null&&cu(r)),t}function cu(t){Ot===null?Ot=t:Ot.push.apply(Ot,t)}function B1(t){for(var r=t;;){if(r.flags&16384){var o=r.updateQueue;if(o!==null&&(o=o.stores,o!==null))for(var l=0;l<o.length;l++){var f=o[l],p=f.getSnapshot;f=f.value;try{if(!cn(p(),f))return!1}catch{return!1}}}if(o=r.child,r.subtreeFlags&16384&&o!==null)o.return=r,r=o;else{if(r===t)break;for(;r.sibling===null;){if(r.return===null||r.return===t)return!0;r=r.return}r.sibling.return=r.return,r=r.sibling}}return!0}function xr(t,r){for(r&=~iu,r&=~fa,t.suspendedLanes|=r,t.pingedLanes&=~r,t=t.expirationTimes;0<r;){var o=31-ln(r),l=1<<o;t[o]=-1,r&=~l}}function om(t){if((Ve&6)!==0)throw Error(i(327));Ri();var r=No(t,0);if((r&1)===0)return Bt(t,nt()),null;var o=va(t,r);if(t.tag!==0&&o===2){var l=zl(t);l!==0&&(r=l,o=lu(t,l))}if(o===1)throw o=Us,Hr(t,0),xr(t,r),Bt(t,nt()),o;if(o===6)throw Error(i(345));return t.finishedWork=t.current.alternate,t.finishedLanes=r,Kr(t,Ot,Yn),Bt(t,nt()),null}function uu(t,r){var o=Ve;Ve|=1;try{return t(r)}finally{Ve=o,Ve===0&&(Mi=nt()+500,Ho&&fr())}}function $r(t){yr!==null&&yr.tag===0&&(Ve&6)===0&&Ri();var r=Ve;Ve|=1;var o=nn.transition,l=Be;try{if(nn.transition=null,Be=1,t)return t()}finally{Be=l,nn.transition=o,Ve=r,(Ve&6)===0&&fr()}}function du(){Ht=Ai.current,Ye(Ai)}function Hr(t,r){t.finishedWork=null,t.finishedLanes=0;var o=t.timeoutHandle;if(o!==-1&&(t.timeoutHandle=-1,g1(o)),lt!==null)for(o=lt.return;o!==null;){var l=o;switch(wc(l),l.tag){case 1:l=l.type.childContextTypes,l!=null&&Uo();break;case 3:Fi(),Ye(_t),Ye(Nt),Mc();break;case 5:Tc(l);break;case 4:Fi();break;case 13:Ye(Qe);break;case 19:Ye(Qe);break;case 10:Nc(l.type._context);break;case 22:case 23:du()}o=o.return}if(yt=t,lt=t=wr(t.current,null),bt=Ht=r,ft=0,Us=null,iu=fa=Ur=0,Ot=$s=null,Br!==null){for(r=0;r<Br.length;r++)if(o=Br[r],l=o.interleaved,l!==null){o.interleaved=null;var f=l.next,p=o.pending;if(p!==null){var w=p.next;p.next=f,l.next=w}o.pending=l}Br=null}return t}function am(t,r){do{var o=lt;try{if(Ec(),ta.current=sa,na){for(var l=Ze.memoizedState;l!==null;){var f=l.queue;f!==null&&(f.pending=null),l=l.next}na=!1}if(Wr=0,gt=dt=Ze=null,Ls=!1,Vs=0,ru.current=null,o===null||o.return===null){ft=1,Us=r,lt=null;break}e:{var p=t,w=o.return,D=o,T=r;if(r=bt,D.flags|=32768,T!==null&&typeof T=="object"&&typeof T.then=="function"){var B=T,Y=D,Z=Y.tag;if((Y.mode&1)===0&&(Z===0||Z===11||Z===15)){var G=Y.alternate;G?(Y.updateQueue=G.updateQueue,Y.memoizedState=G.memoizedState,Y.lanes=G.lanes):(Y.updateQueue=null,Y.memoizedState=null)}var fe=Ap(w);if(fe!==null){fe.flags&=-257,Mp(fe,w,D,p,r),fe.mode&1&&Tp(p,B,r),r=fe,T=B;var ye=r.updateQueue;if(ye===null){var Se=new Set;Se.add(T),r.updateQueue=Se}else ye.add(T);break e}else{if((r&1)===0){Tp(p,B,r),fu();break e}T=Error(i(426))}}else if(qe&&D.mode&1){var rt=Ap(w);if(rt!==null){(rt.flags&65536)===0&&(rt.flags|=256),Mp(rt,w,D,p,r),kc(Pi(T,D));break e}}p=T=Pi(T,D),ft!==4&&(ft=2),$s===null?$s=[p]:$s.push(p),p=w;do{switch(p.tag){case 3:p.flags|=65536,r&=-r,p.lanes|=r;var _=Fp(p,T,r);np(p,_);break e;case 1:D=T;var M=p.type,V=p.stateNode;if((p.flags&128)===0&&(typeof M.getDerivedStateFromError=="function"||V!==null&&typeof V.componentDidCatch=="function"&&(gr===null||!gr.has(V)))){p.flags|=65536,r&=-r,p.lanes|=r;var ie=Pp(p,D,r);np(p,ie);break e}}p=p.return}while(p!==null)}um(o)}catch(Ce){r=Ce,lt===o&&o!==null&&(lt=o=o.return);continue}break}while(!0)}function lm(){var t=da.current;return da.current=sa,t===null?sa:t}function fu(){(ft===0||ft===3||ft===2)&&(ft=4),yt===null||(Ur&268435455)===0&&(fa&268435455)===0||xr(yt,bt)}function va(t,r){var o=Ve;Ve|=2;var l=lm();(yt!==t||bt!==r)&&(Yn=null,Hr(t,r));do try{z1();break}catch(f){am(t,f)}while(!0);if(Ec(),Ve=o,da.current=l,lt!==null)throw Error(i(261));return yt=null,bt=0,ft}function z1(){for(;lt!==null;)cm(lt)}function W1(){for(;lt!==null&&!hw();)cm(lt)}function cm(t){var r=hm(t.alternate,t,Ht);t.memoizedProps=t.pendingProps,r===null?um(t):lt=r,ru.current=null}function um(t){var r=t;do{var o=r.alternate;if(t=r.return,(r.flags&32768)===0){if(o=R1(o,r,Ht),o!==null){lt=o;return}}else{if(o=I1(o,r),o!==null){o.flags&=32767,lt=o;return}if(t!==null)t.flags|=32768,t.subtreeFlags=0,t.deletions=null;else{ft=6,lt=null;return}}if(r=r.sibling,r!==null){lt=r;return}lt=r=t}while(r!==null);ft===0&&(ft=5)}function Kr(t,r,o){var l=Be,f=nn.transition;try{nn.transition=null,Be=1,U1(t,r,o,l)}finally{nn.transition=f,Be=l}return null}function U1(t,r,o,l){do Ri();while(yr!==null);if((Ve&6)!==0)throw Error(i(327));o=t.finishedWork;var f=t.finishedLanes;if(o===null)return null;if(t.finishedWork=null,t.finishedLanes=0,o===t.current)throw Error(i(177));t.callbackNode=null,t.callbackPriority=0;var p=o.lanes|o.childLanes;if(kw(t,p),t===yt&&(lt=yt=null,bt=0),(o.subtreeFlags&2064)===0&&(o.flags&2064)===0||pa||(pa=!0,pm(So,function(){return Ri(),null})),p=(o.flags&15990)!==0,(o.subtreeFlags&15990)!==0||p){p=nn.transition,nn.transition=null;var w=Be;Be=1;var D=Ve;Ve|=4,ru.current=null,L1(t,o),em(o,t),c1(fc),Fo=!!dc,fc=dc=null,t.current=o,V1(o),pw(),Ve=D,Be=w,nn.transition=p}else t.current=o;if(pa&&(pa=!1,yr=t,ma=f),p=t.pendingLanes,p===0&&(gr=null),yw(o.stateNode),Bt(t,nt()),r!==null)for(l=t.onRecoverableError,o=0;o<r.length;o++)f=r[o],l(f.value,{componentStack:f.stack,digest:f.digest});if(ha)throw ha=!1,t=ou,ou=null,t;return(ma&1)!==0&&t.tag!==0&&Ri(),p=t.pendingLanes,(p&1)!==0?t===au?Hs++:(Hs=0,au=t):Hs=0,fr(),null}function Ri(){if(yr!==null){var t=Zf(ma),r=nn.transition,o=Be;try{if(nn.transition=null,Be=16>t?16:t,yr===null)var l=!1;else{if(t=yr,yr=null,ma=0,(Ve&6)!==0)throw Error(i(331));var f=Ve;for(Ve|=4,me=t.current;me!==null;){var p=me,w=p.child;
vendor: 4,745 bytes, line 40
40if((me.flags&16)!==0){var D=p.deletions;if(D!==null){for(var T=0;T<D.length;T++){var B=D[T];for(me=B;me!==null;){var Y=me;switch(Y.tag){case 0:case 11:case 15:Ws(8,Y,p)}var Z=Y.child;if(Z!==null)Z.return=Y,me=Z;else for(;me!==null;){Y=me;var G=Y.sibling,fe=Y.return;if(Xp(Y),Y===B){me=null;break}if(G!==null){G.return=fe,me=G;break}me=fe}}}var ye=p.alternate;if(ye!==null){var Se=ye.child;if(Se!==null){ye.child=null;do{var rt=Se.sibling;Se.sibling=null,Se=rt}while(Se!==null)}}me=p}}if((p.subtreeFlags&2064)!==0&&w!==null)w.return=p,me=w;else e:for(;me!==null;){if(p=me,(p.flags&2048)!==0)switch(p.tag){case 0:case 11:case 15:Ws(9,p,p.return)}var _=p.sibling;if(_!==null){_.return=p.return,me=_;break e}me=p.return}}var M=t.current;for(me=M;me!==null;){w=me;var V=w.child;if((w.subtreeFlags&2064)!==0&&V!==null)V.return=w,me=V;else e:for(w=M;me!==null;){if(D=me,(D.flags&2048)!==0)try{switch(D.tag){case 0:case 11:case 15:ua(9,D)}}catch(Ce){et(D,D.return,Ce)}if(D===w){me=null;break e}var ie=D.sibling;if(ie!==null){ie.return=D.return,me=ie;break e}me=D.return}}if(Ve=f,fr(),En&&typeof En.onPostCommitFiberRoot=="function")try{En.onPostCommitFiberRoot(ko,t)}catch{}l=!0}return l}finally{Be=o,nn.transition=r}}return!1}function dm(t,r,o){r=Pi(o,r),r=Fp(t,r,1),t=pr(t,r,1),r=Tt(),t!==null&&(ms(t,1,r),Bt(t,r))}function et(t,r,o){if(t.tag===3)dm(t,t,o);else for(;r!==null;){if(r.tag===3){dm(r,t,o);break}else if(r.tag===1){var l=r.stateNode;if(typeof r.type.getDerivedStateFromError=="function"||typeof l.componentDidCatch=="function"&&(gr===null||!gr.has(l))){t=Pi(o,t),t=Pp(r,t,1),r=pr(r,t,1),t=Tt(),r!==null&&(ms(r,1,t),Bt(r,t));break}}r=r.return}}function $1(t,r,o){var l=t.pingCache;l!==null&&l.delete(r),r=Tt(),t.pingedLanes|=t.suspendedLanes&o,yt===t&&(bt&o)===o&&(ft===4||ft===3&&(bt&130023424)===bt&&500>nt()-su?Hr(t,0):iu|=o),Bt(t,r)}function fm(t,r){r===0&&((t.mode&1)===0?r=1:(r=Eo,Eo<<=1,(Eo&130023424)===0&&(Eo=4194304)));var o=Tt();t=Hn(t,r),t!==null&&(ms(t,r,o),Bt(t,o))}function H1(t){var r=t.memoizedState,o=0;r!==null&&(o=r.retryLane),fm(t,o)}function K1(t,r){var o=0;switch(t.tag){case 13:var l=t.stateNode,f=t.memoizedState;f!==null&&(o=f.retryLane);break;case 19:l=t.stateNode;break;default:throw Error(i(314))}l!==null&&l.delete(r),fm(t,o)}var hm;hm=function(t,r,o){if(t!==null)if(t.memoizedProps!==r.pendingProps||_t.current)Vt=!0;else{if((t.lanes&o)===0&&(r.flags&128)===0)return Vt=!1,M1(t,r,o);Vt=(t.flags&131072)!==0}else Vt=!1,qe&&(r.flags&1048576)!==0&&Kh(r,Go,r.index);switch(r.lanes=0,r.tag){case 2:var l=r.type;la(t,r),t=r.pendingProps;var f=Si(r,Nt.current);ji(r,o),f=_c(null,r,l,t,f,o);var p=Lc();return r.flags|=1,typeof f=="object"&&f!==null&&typeof f.render=="function"&&f.$$typeof===void 0?(r.tag=1,r.memoizedState=null,r.updateQueue=null,Lt(l)?(p=!0,$o(r)):p=!1,r.memoizedState=f.state!==null&&f.state!==void 0?f.state:null,Fc(r),f.updater=oa,r.stateNode=f,f._reactInternals=r,Uc(r,l,t,o),r=Gc(null,r,l,!0,p,o)):(r.tag=0,qe&&p&&xc(r),Pt(null,r,f,o),r=r.child),r;case 16:l=r.elementType;e:{switch(la(t,r),t=r.pendingProps,f=l._init,l=f(l._payload),r.type=l,f=r.tag=Y1(l),t=dn(l,t),f){case 0:r=Kc(null,r,l,t,o);break e;case 1:r=Op(null,r,l,t,o);break e;case 11:r=Rp(null,r,l,t,o);break e;case 14:r=Ip(null,r,l,dn(l.type,t),o);break e}throw Error(i(306,l,""))}return r;case 0:return l=r.type,f=r.pendingProps,f=r.elementType===l?f:dn(l,f),Kc(t,r,l,f,o);case 1:return l=r.type,f=r.pendingProps,f=r.elementType===l?f:dn(l,f),Op(t,r,l,f,o);case 3:e:{if(Bp(r),t===null)throw Error(i(387));l=r.pendingProps,p=r.memoizedState,f=p.element,tp(t,r),Jo(r,l,null,o);var w=r.memoizedState;if(l=w.element,p.isDehydrated)if(p={element:l,isDehydrated:!1,cache:w.cache,pendingSuspenseBoundaries:w.pendingSuspenseBoundaries,transitions:w.transitions},r.updateQueue.baseState=p,r.memoizedState=p,r.flags&256){f=Pi(Error(i(423)),r),r=zp(t,r,l,o,f);break e}else if(l!==f){f=Pi(Error(i(424)),r),r=zp(t,r,l,o,f);break e}else for($t=cr(r.stateNode.containerInfo.firstChild),Ut=r,qe=!0,un=null,o=Jh(r,null,l,o),r.child=o;o;)o.flags=o.flags&-3|4096,o=o.sibling;else{if(Ei(),l===f){r=Gn(t,r,o);break e}Pt(t,r,l,o)}r=r.child}return r;case 5:return ip(r),t===null&&Sc(r),l=r.type,f=r.pendingProps,p=t!==null?t.memoizedProps:null,w=f.children,hc(l,f)?w=null:p!==null&&hc(l,p)&&(r.flags|=32),Vp(t,r),Pt(t,r,w,o),r.child;case 6:return t===null&&Sc(r),null;case 13:return Wp(t,r,o);case 4:return Pc(r,r.stateNode.containerInfo),l=r.pendingProps,t===null?r.child=Ni(r,null,l,o):Pt(t,r,l,o),r.child;case 11:return l=r.type,f=r.pendingProps,f=r.elementType===l?f:dn(l,f),Rp(t,r,l,f,o);case 7:return Pt(t,r,r.pendingProps,o),r.child;case 8:return Pt(t,r,r.pendingProps.children,o),r.child;case 12:return Pt(t,r,r.pendingProps.children,o),r.child;
vendor: 11,111 bytes, line 40
40case 10:e:{if(l=r.type._context,f=r.pendingProps,p=r.memoizedProps,w=f.value,He(qo,l._currentValue),l._currentValue=w,p!==null)if(cn(p.value,w)){if(p.children===f.children&&!_t.current){r=Gn(t,r,o);break e}}else for(p=r.child,p!==null&&(p.return=r);p!==null;){var D=p.dependencies;if(D!==null){w=p.child;for(var T=D.firstContext;T!==null;){if(T.context===l){if(p.tag===1){T=Kn(-1,o&-o),T.tag=2;var B=p.updateQueue;if(B!==null){B=B.shared;var Y=B.pending;Y===null?T.next=T:(T.next=Y.next,Y.next=T),B.pending=T}}p.lanes|=o,T=p.alternate,T!==null&&(T.lanes|=o),Dc(p.return,o,r),D.lanes|=o;break}T=T.next}}else if(p.tag===10)w=p.type===r.type?null:p.child;else if(p.tag===18){if(w=p.return,w===null)throw Error(i(341));w.lanes|=o,D=w.alternate,D!==null&&(D.lanes|=o),Dc(w,o,r),w=p.sibling}else w=p.child;if(w!==null)w.return=p;else for(w=p;w!==null;){if(w===r){w=null;break}if(p=w.sibling,p!==null){p.return=w.return,w=p;break}w=w.return}p=w}Pt(t,r,f.children,o),r=r.child}return r;case 9:return f=r.type,l=r.pendingProps.children,ji(r,o),f=en(f),l=l(f),r.flags|=1,Pt(t,r,l,o),r.child;case 14:return l=r.type,f=dn(l,r.pendingProps),f=dn(l.type,f),Ip(t,r,l,f,o);case 15:return _p(t,r,r.type,r.pendingProps,o);case 17:return l=r.type,f=r.pendingProps,f=r.elementType===l?f:dn(l,f),la(t,r),r.tag=1,Lt(l)?(t=!0,$o(r)):t=!1,ji(r,o),Dp(r,l,f),Uc(r,l,f,o),Gc(null,r,l,!0,t,o);case 19:return $p(t,r,o);case 22:return Lp(t,r,o)}throw Error(i(156,r.tag))};function pm(t,r){return Gf(t,r)}function G1(t,r,o,l){this.tag=t,this.key=o,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=r,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=l,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function rn(t,r,o,l){return new G1(t,r,o,l)}function hu(t){return t=t.prototype,!(!t||!t.isReactComponent)}function Y1(t){if(typeof t=="function")return hu(t)?1:0;if(t!=null){if(t=t.$$typeof,t===ee)return 11;if(t===pe)return 14}return 2}function wr(t,r){var o=t.alternate;return o===null?(o=rn(t.tag,r,t.key,t.mode),o.elementType=t.elementType,o.type=t.type,o.stateNode=t.stateNode,o.alternate=t,t.alternate=o):(o.pendingProps=r,o.type=t.type,o.flags=0,o.subtreeFlags=0,o.deletions=null),o.flags=t.flags&14680064,o.childLanes=t.childLanes,o.lanes=t.lanes,o.child=t.child,o.memoizedProps=t.memoizedProps,o.memoizedState=t.memoizedState,o.updateQueue=t.updateQueue,r=t.dependencies,o.dependencies=r===null?null:{lanes:r.lanes,firstContext:r.firstContext},o.sibling=t.sibling,o.index=t.index,o.ref=t.ref,o}function xa(t,r,o,l,f,p){var w=2;if(l=t,typeof t=="function")hu(t)&&(w=1);else if(typeof t=="string")w=5;else e:switch(t){case U:return Gr(o.children,f,p,r);case z:w=8,f|=8;break;case q:return t=rn(12,o,r,f|2),t.elementType=q,t.lanes=p,t;case ne:return t=rn(13,o,r,f),t.elementType=ne,t.lanes=p,t;case oe:return t=rn(19,o,r,f),t.elementType=oe,t.lanes=p,t;case ce:return wa(o,f,p,r);default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case K:w=10;break e;case le:w=9;break e;case ee:w=11;break e;case pe:w=14;break e;case se:w=16,l=null;break e}throw Error(i(130,t==null?t:typeof t,""))}return r=rn(w,o,r,f),r.elementType=t,r.type=l,r.lanes=p,r}function Gr(t,r,o,l){return t=rn(7,t,l,r),t.lanes=o,t}function wa(t,r,o,l){return t=rn(22,t,l,r),t.elementType=ce,t.lanes=o,t.stateNode={isHidden:!1},t}function pu(t,r,o){return t=rn(6,t,null,r),t.lanes=o,t}function mu(t,r,o){return r=rn(4,t.children!==null?t.children:[],t.key,r),r.lanes=o,r.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},r}function X1(t,r,o,l,f){this.tag=r,this.containerInfo=t,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Wl(0),this.expirationTimes=Wl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Wl(0),this.identifierPrefix=l,this.onRecoverableError=f,this.mutableSourceEagerHydrationData=null}function gu(t,r,o,l,f,p,w,D,T){return t=new X1(t,r,o,D,T),r===1?(r=1,p===!0&&(r|=8)):r=0,p=rn(3,null,null,r),t.current=p,p.stateNode=t,p.memoizedState={element:l,isDehydrated:o,cache:null,transitions:null,pendingSuspenseBoundaries:null},Fc(p),t}function q1(t,r,o){var l=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:H,key:l==null?null:""+l,children:t,containerInfo:r,implementation:o}}function mm(t){if(!t)return dr;t=t._reactInternals;e:{if(Ir(t)!==t||t.tag!==1)throw Error(i(170));var r=t;do{switch(r.tag){case 3:r=r.stateNode.context;break e;case 1:if(Lt(r.type)){r=r.stateNode.__reactInternalMemoizedMergedChildContext;break e}}r=r.return}while(r!==null);throw Error(i(171))}if(t.tag===1){var o=t.type;if(Lt(o))return Uh(t,o,r)}return r}function gm(t,r,o,l,f,p,w,D,T){return t=gu(o,l,!0,t,f,p,w,D,T),t.context=mm(null),o=t.current,l=Tt(),f=vr(o),p=Kn(l,f),p.callback=r??null,pr(o,p,f),t.current.lanes=f,ms(t,f,l),Bt(t,l),t}function ba(t,r,o,l){var f=r.current,p=Tt(),w=vr(f);return o=mm(o),r.context===null?r.context=o:r.pendingContext=o,r=Kn(p,w),r.payload={element:t},l=l===void 0?null:l,l!==null&&(r.callback=l),t=pr(f,r,w),t!==null&&(pn(t,f,w,p),Zo(t,f,w)),w}function Sa(t){if(t=t.current,!t.child)return null;switch(t.child.tag){case 5:return t.child.stateNode;default:return t.child.stateNode}}function ym(t,r){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var o=t.retryLane;t.retryLane=o!==0&&o<r?o:r}}function yu(t,r){ym(t,r),(t=t.alternate)&&ym(t,r)}function Q1(){return null}var vm=typeof reportError=="function"?reportError:function(t){console.error(t)};function vu(t){this._internalRoot=t}ka.prototype.render=vu.prototype.render=function(t){var r=this._internalRoot;if(r===null)throw Error(i(409));ba(t,r,null,null)},ka.prototype.unmount=vu.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var r=t.containerInfo;$r(function(){ba(null,t,null,null)}),r[zn]=null}};function ka(t){this._internalRoot=t}ka.prototype.unstable_scheduleHydration=function(t){if(t){var r=th();t={blockedOn:null,target:t,priority:r};for(var o=0;o<or.length&&r!==0&&r<or[o].priority;o++);or.splice(o,0,t),o===0&&ih(t)}};function xu(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function Ca(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11&&(t.nodeType!==8||t.nodeValue!==" react-mount-point-unstable "))}function xm(){}function Z1(t,r,o,l,f){if(f){if(typeof l=="function"){var p=l;l=function(){var B=Sa(w);p.call(B)}}var w=gm(r,l,t,0,null,!1,!1,"",xm);return t._reactRootContainer=w,t[zn]=w.current,Fs(t.nodeType===8?t.parentNode:t),$r(),w}for(;f=t.lastChild;)t.removeChild(f);if(typeof l=="function"){var D=l;l=function(){var B=Sa(T);D.call(B)}}var T=gu(t,0,!1,null,null,!1,!1,"",xm);return t._reactRootContainer=T,t[zn]=T.current,Fs(t.nodeType===8?t.parentNode:t),$r(function(){ba(r,T,o,l)}),T}function Ea(t,r,o,l,f){var p=o._reactRootContainer;if(p){var w=p;if(typeof f=="function"){var D=f;f=function(){var T=Sa(w);D.call(T)}}ba(r,w,t,f)}else w=Z1(o,r,t,f,l);return Sa(w)}Jf=function(t){switch(t.tag){case 3:var r=t.stateNode;if(r.current.memoizedState.isDehydrated){var o=ps(r.pendingLanes);o!==0&&(Ul(r,o|1),Bt(r,nt()),(Ve&6)===0&&(Mi=nt()+500,fr()))}break;case 13:$r(function(){var l=Hn(t,1);if(l!==null){var f=Tt();pn(l,t,1,f)}}),yu(t,1)}},$l=function(t){if(t.tag===13){var r=Hn(t,134217728);if(r!==null){var o=Tt();pn(r,t,134217728,o)}yu(t,134217728)}},eh=function(t){if(t.tag===13){var r=vr(t),o=Hn(t,r);if(o!==null){var l=Tt();pn(o,t,r,l)}yu(t,r)}},th=function(){return Be},nh=function(t,r){var o=Be;try{return Be=t,r()}finally{Be=o}},_l=function(t,r,o){switch(r){case"input":if(Qt(t,o),r=o.name,o.type==="radio"&&r!=null){for(o=t;o.parentNode;)o=o.parentNode;for(o=o.querySelectorAll("input[name="+JSON.stringify(""+r)+'][type="radio"]'),r=0;r<o.length;r++){var l=o[r];if(l!==t&&l.form===t.form){var f=Wo(l);if(!f)throw Error(i(90));Re(l),Qt(l,f)}}}break;case"textarea":W(t,o);break;case"select":r=o.value,r!=null&&Bn(t,!!o.multiple,r,!1)}},Bf=uu,zf=$r;var J1={usingClientEntryPoint:!1,Events:[As,wi,Wo,Vf,Of,uu]},Ks={findFiberByHostInstance:_r,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},eb={bundleType:Ks.bundleType,version:Ks.version,rendererPackageName:Ks.rendererPackageName,rendererConfig:Ks.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:I.ReactCurrentDispatcher,findHostInstanceByFiber:function(t){return t=Hf(t),t===null?null:t.stateNode},findFiberByHostInstance:Ks.findFiberByHostInstance||Q1,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Na=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Na.isDisabled&&Na.supportsFiber)try{ko=Na.inject(eb),En=Na}catch{}}return zt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=J1,zt.createPortal=function(t,r){var o=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!xu(r))throw Error(i(200));return q1(t,r,null,o)},zt.createRoot=function(t,r){if(!xu(t))throw Error(i(299));var o=!1,l="",f=vm;return r!=null&&(r.unstable_strictMode===!0&&(o=!0),r.identifierPrefix!==void 0&&(l=r.identifierPrefix),r.onRecoverableError!==void 0&&(f=r.onRecoverableError)),r=gu(t,1,!1,null,null,o,!1,l,f),t[zn]=r.current,Fs(t.nodeType===8?t.parentNode:t),new vu(r)},zt.findDOMNode=function(t){if(t==null)return null;if(t.nodeType===1)return t;var r=t._reactInternals;if(r===void 0)throw typeof t.render=="function"?Error(i(188)):(t=Object.keys(t).join(","),Error(i(268,t)));return t=Hf(r),t=t===null?null:t.stateNode,t},zt.flushSync=function(t){return $r(t)},zt.hydrate=function(t,r,o){if(!Ca(r))throw Error(i(200));return Ea(null,t,r,!0,o)},zt.hydrateRoot=function(t,r,o){if(!xu(t))throw Error(i(405));var l=o!=null&&o.hydratedSources||null,f=!1,p="",w=vm;if(o!=null&&(o.unstable_strictMode===!0&&(f=!0),o.identifierPrefix!==void 0&&(p=o.identifierPrefix),o.onRecoverableError!==void 0&&(w=o.onRecoverableError)),r=gm(r,null,t,1,o??null,f,!1,p,w),t[zn]=r.current,Fs(t),l)for(t=0;t<l.length;t++)o=l[t],f=o._getVersion,f=f(o._source),r.mutableSourceEagerHydrationData==null?r.mutableSourceEagerHydrationData=[o,f]:r.mutableSourceEagerHydrationData.push(o,f);return new ka(r)},zt.render=function(t,r,o){if(!Ca(r))throw Error(i(200));return Ea(null,t,r,!1,o)},zt.unmountComponentAtNode=function(t){if(!Ca(t))throw Error(i(40));return t._reactRootContainer?($r(function(){Ea(null,null,t,!1,function(){t._reactRootContainer=null,t[zn]=null})}),!0):!1},zt.unstable_batchedUpdates=uu,zt.unstable_renderSubtreeIntoContainer=function(t,r,o,l){if(!Ca(o)
vendor: 2,288 bytes, lines 40-60
40)throw Error(i(200));if(t==null||t._reactInternals===void 0)throw Error(i(38));return Ea(t,r,o,!1,l)},zt.version="18.3.1-next-f1338f8080-20240426",zt}var Dm;function Ly(){if(Dm)return Su.exports;Dm=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(n){console.error(n)}}return e(),Su.exports=lb(),Su.exports}var jm;function cb(){if(jm)return Da;jm=1;var e=Ly();return Da.createRoot=e.createRoot,Da.hydrateRoot=e.hydrateRoot,Da}var ub=cb(),k=Bd();const Me=_y(k),db=nb({__proto__:null,default:Me},[k]);/** 41 * @license lucide-react v0.487.0 - ISC 42 * 43 * This source code is licensed under the ISC license. 44 * See the LICENSE file in the root directory of this source tree. 45 */const fb=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),hb=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(n,i,s)=>s?s.toUpperCase():i.toLowerCase()),Fm=e=>{const n=hb(e);return n.charAt(0).toUpperCase()+n.slice(1)},Vy=(...e)=>e.filter((n,i,s)=>!!n&&n.trim()!==""&&s.indexOf(n)===i).join(" ").trim();/** 46 * @license lucide-react v0.487.0 - ISC 47 * 48 * This source code is licensed under the ISC license. 49 * See the LICENSE file in the root directory of this source tree. 50 */var pb={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"};/** 51 * @license lucide-react v0.487.0 - ISC 52 * 53 * This source code is licensed under the ISC license. 54 * See the LICENSE file in the root directory of this source tree. 55 */const mb=k.forwardRef(({color:e="currentColor",size:n=24,strokeWidth:i=2,absoluteStrokeWidth:s,className:a="",children:c,iconNode:u,...d},m)=>k.createElement("svg",{ref:m,...pb,width:n,height:n,stroke:e,strokeWidth:s?Number(i)*24/Number(n):i,className:Vy("lucide",a),...d},[...u.map(([y,g])=>k.createElement(y,g)),...Array.isArray(c)?c:[c]]));/** 56 * @license lucide-react v0.487.0 - ISC 57 * 58 * This source code is licensed under the ISC license. 59 * See the LICENSE file in the root directory of this source tree. 60 */const Ue=(e,n)=>{const i=k.forwardRef(({className:s,...a},c)=>k.createElement(mb,{ref:c,iconNode:n,className:Vy(`lucide-${fb(Fm(e))}`,`lucide-${e}`,s),...a}
60));return i.displayName=Fm(e),i};/** 61 * @license lucide-react v0.487.0 - ISC 62 * 63 * This source code is licensed under the ISC license. 64 * See the LICENSE file in the root directory of this source tree. 65 */const gb=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],ed=Ue("arrow-right",gb);/** 66 * @license lucide-react v0.487.0 - ISC 67 * 68 * This source code is licensed under the ISC license. 69 * See the LICENSE file in the root directory of this source tree. 70 */const yb=[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]],vb=Ue("bot",yb);/** 71 * @license lucide-react v0.487.0 - ISC 72 * 73 * This source code is licensed under the ISC license. 74 * See the LICENSE file in the root directory of this source tree. 75 */const xb=[["path",{d:"M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z",key:"1b4qmf"}],["path",{d:"M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2",key:"i71pzd"}],["path",{d:"M18 9h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-2",key:"10jefs"}],["path",{d:"M10 6h4",key:"1itunk"}],["path",{d:"M10 10h4",key:"tcdvrf"}],["path",{d:"M10 14h4",key:"kelpxr"}],["path",{d:"M10 18h4",key:"1ulq68"}]],wb=Ue("building-2",xb);/** 76 * @license lucide-react v0.487.0 - ISC 77 * 78 * This source code is licensed under the ISC license. 79 * See the LICENSE file in the root directory of this source tree. 80 */const bb=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],Sb=Ue("check",bb);/** 81 * @license lucide-react v0.487.0 - ISC 82 * 83 * This source code is licensed under the ISC license. 84 * See the LICENSE file in the root directory of this source tree. 85 */const kb=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],Oy=Ue("chevron-down",kb);/** 86 * @license lucide-react v0.487.0 - ISC 87 * 88 * This source code is licensed under the ISC license. 89 * See the LICENSE file in the root directory of this source tree. 90 */const Cb=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],Eb=Ue("chevron-up",Cb);/** 91 * @license lucide-react v0.487.0 - ISC 92 * 93 * This source code is licensed under the ISC license. 94 * See the LICENSE file in the root directory of this source tree. 95 */const Nb=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],Db=Ue("circle-check",Nb);/** 96 * @license lucide-react v0.487.0 - ISC 97 * 98 * This source code is licensed under the ISC license. 99 * See the LICENSE file in the root directory of this source tree. 100 */const jb=[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],Fb=Ue("eye",jb);/** 101 * @license lucide-react v0.487.0 - ISC 102 * 103 * This source code is licensed under the ISC license. 104 * See the LICENSE file in the root directory of this source tree. 105 */const Pb=[["path",{d:"M14 2v6a2 2 0 0 0 .245.96l5.51 10.08A2 2 0 0 1 18 22H6a2 2 0 0 1-1.755-2.96l5.51-10.08A2 2 0 0 0 10 8V2",key:"18mbvz"}],["path",{d:"M6.453 15h11.094",key:"3shlmq"}],["path",{d:"M8.5 2h7",key:"csnxdl"}]],Tb=Ue("flask-conical",Pb);/** 106 * @license lucide-react v0.487.0 - ISC 107 * 108 * This source code is licensed under the ISC license. 109 * See the LICENSE file in the root directory of this source tree. 110 */const Ab=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]],Mb=Ue("globe",Ab);/** 111 * @license lucide-react v0.487.0 - ISC 112 * 113 * This source code is licensed under the ISC license. 114 * See the LICENSE file in the root directory of this source tree. 115 */const Rb=[["path",{d:"M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0z",key:"j76jl0"}],["path",{d:"M22 10v6",key:"1lu8f3"}],["path",{d:"M6 12.5V16a6 3 0 0 0 12 0v-3.5",key:"1r8lef"}]],Ib=Ue("graduation-cap",Rb);/** 116 * @license lucide-react v0.487.0 - ISC 117 * 118 * This source code is licensed under the ISC license. 119 * See the LICENSE file in the root directory of this source tree. 120 */const _b=[["path",{d:"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5",key:"1gvzjb"}],["path",{d:"M9 18h6",key:"x1upvd"}],["path",{d:"M10 22h4",key:"ceow96"}]],Lb=Ue("lightbulb",_b);/** 121 * @license lucide-react v0.487.0 - ISC 122 * 123 * This source code is licensed under the ISC license. 124 * See the LICENSE file in the root directory of this source tree. 125 */const Vb=[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]],Ob=Ue("lock",Vb);/** 126 * @license lucide-react v0.487.0 - ISC 127 * 128 * This source code is licensed under the ISC license. 129 * See the LICENSE file in the root directory of this source tree. 130 */const Bb=[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]],zb=Ue("menu",Bb);/** 131 * @license lucide-react v0.487.0 - ISC 132 * 133 * This source code is licensed under the ISC license. 134 * See the LICENSE file in the root directory of this source tree. 135 */const Wb=[["path",{d:"M17.8 19.2 16 11l3.5-3.5C21 6 21.5 4 21 3c-1-.5-3 0-4.5 1.5L13 8 4.8 6.2c-.5-.
1351-.9.1-1.1.5l-.3.5c-.2.5-.1 1 .3 1.3L9 12l-2 3H4l-1 1 3 2 2 3 1-1v-3l3-2 3.5 5.3c.3.4.8.5 1.3.3l.5-.2c.4-.3.6-.7.5-1.2z",key:"1v9wt8"}]],Ub=Ue("plane",Wb);/** 136 * @license lucide-react v0.487.0 - ISC 137 * 138 * This source code is licensed under the ISC license. 139 * See the LICENSE file in the root directory of this source tree. 140 */const $b=[["path",{d:"M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09z",key:"m3kijz"}],["path",{d:"m12 15-3-3a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.35 22.35 0 0 1-4 2z",key:"1fmvmk"}],["path",{d:"M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0",key:"1f8sc4"}],["path",{d:"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5",key:"qeys4"}]],Hb=Ue("rocket",$b);/** 141 * @license lucide-react v0.487.0 - ISC 142 * 143 * This source code is licensed under the ISC license. 144 * See the LICENSE file in the root directory of this source tree. 145 */const Kb=[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]],zd=Ue("send",Kb);/** 146 * @license lucide-react v0.487.0 - ISC 147 * 148 * This source code is licensed under the ISC license. 149 * See the LICENSE file in the root directory of this source tree. 150 */const Gb=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],Yb=Ue("shield-check",Gb);/** 151 * @license lucide-react v0.487.0 - ISC 152 * 153 * This source code is licensed under the ISC license. 154 * See the LICENSE file in the root directory of this source tree. 155 */const Xb=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]],Pm=Ue("shield",Xb);/** 156 * @license lucide-react v0.487.0 - ISC 157 * 158 * This source code is licensed under the ISC license. 159 * See the LICENSE file in the root directory of this source tree. 160 */const qb=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]],Qb=Ue("target",qb);/** 161 * @license lucide-react v0.487.0 - ISC 162 * 163 * This source code is licensed under the ISC license. 164 * See the LICENSE file in the root directory of this source tree. 165 */const Zb=[["polyline",{points:"22 17 13.5 8.5 8.5 13.5 2 7",key:"1r2t7k"}],["polyline",{points:"16 17 22 17 22 11",key:"11uiuu"}]],Jb=Ue("trending-down",Zb);/** 166 * @license lucide-react v0.487.0 - ISC 167 * 168 * This source code is licensed under the ISC license. 169 * See the LICENSE file in the root directory of this source tree. 170 */const eS=[["polyline",{points:"22 7 13.5 15.5 8.5 10.5 2 17",key:"126l90"}],["polyline",{points:"16 7 22 7 22 13",key:"kwv8wd"}]],tS=Ue("trending-up",eS);/** 171 * @license lucide-react v0.487.0 - ISC 172 * 173 * This source code is licensed under the ISC license. 174 * See the LICENSE file in the root directory of this source tree. 175 */const nS=[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]],By=Ue("user",nS);/** 176 * @license lucide-react v0.487.0 - ISC 177 * 178 * This source code is licensed under the ISC license. 179 * See the LICENSE file in the root directory of this source tree. 180 */const rS=[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]],iS=Ue("users",rS);/** 181 * @license lucide-react v0.487.0 - ISC 182 * 183 * This source code is licensed under the ISC license. 184 * See the LICENSE file in the root directory of this source tree. 185 */const sS=[["path",{d:"m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5",key:"ftymec"}],["rect",{x:"2",y:"6",width:"14",height:"12",rx:"2",key:"158x01"}]],oS=Ue("video",sS);/** 186 * @license lucide-react v0.487.0 - ISC 187 * 188 * This source code is licensed under the ISC license. 189 * See the LICENSE file in the root directory of this source tree. 190 */const aS=[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z",key:"cbrjhi"}]],lS=Ue("wrench",aS);/** 191 * @license lucide-react v0.487.0 - ISC 192 * 193 * This source code is licensed under the ISC license. 194 * See the LICENSE file in the root directory of this source tree. 195 */const cS=[["path",{d:"M18 6 6 18",key:"1bl5f8"}
vendor: 5,216 bytes, line 195
195],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],gl=Ue("x",cS);function Tm(e,n){if(typeof e=="function")return e(n);e!=null&&(e.current=n)}function zy(...e){return n=>{let i=!1;const s=e.map(a=>{const c=Tm(a,n);return!i&&typeof c=="function"&&(i=!0),c});if(i)return()=>{for(let a=0;a<s.length;a++){const c=s[a];typeof c=="function"?c():Tm(e[a],null)}}}}function Et(...e){return k.useCallback(zy(...e),e)}var Qi=k.forwardRef((e,n)=>{const{children:i,...s}=e,a=k.Children.toArray(i),c=a.find(dS);if(c){const u=c.props.children,d=a.map(m=>m===c?k.Children.count(u)>1?k.Children.only(null):k.isValidElement(u)?u.props.children:null:m);return h.jsx(td,{...s,ref:n,children:k.isValidElement(u)?k.cloneElement(u,void 0,d):null})}return h.jsx(td,{...s,ref:n,children:i})});Qi.displayName="Slot";var td=k.forwardRef((e,n)=>{const{children:i,...s}=e;if(k.isValidElement(i)){const a=hS(i),c=fS(s,i.props);return i.type!==k.Fragment&&(c.ref=n?zy(n,a):a),k.cloneElement(i,c)}return k.Children.count(i)>1?k.Children.only(null):null});td.displayName="SlotClone";var uS=({children:e})=>h.jsx(h.Fragment,{children:e});function dS(e){return k.isValidElement(e)&&e.type===uS}function fS(e,n){const i={...n};for(const s in n){const a=e[s],c=n[s];/^on[A-Z]/.test(s)?a&&c?i[s]=(...d)=>{c(...d),a(...d)}:a&&(i[s]=a):s==="style"?i[s]={...a,...c}:s==="className"&&(i[s]=[a,c].filter(Boolean).join(" "))}return{...e,...i}}function hS(e){var s,a;let n=(s=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:s.get,i=n&&"isReactWarning"in n&&n.isReactWarning;return i?e.ref:(n=(a=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:a.get,i=n&&"isReactWarning"in n&&n.isReactWarning,i?e.props.ref:e.props.ref||e.ref)}function Wy(e){var n,i,s="";if(typeof e=="string"||typeof e=="number")s+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(n=0;n<a;n++)e[n]&&(i=Wy(e[n]))&&(s&&(s+=" "),s+=i)}else for(i in e)e[i]&&(s&&(s+=" "),s+=i);return s}function Uy(){for(var e,n,i=0,s="",a=arguments.length;i<a;i++)(e=arguments[i])&&(n=Wy(e))&&(s&&(s+=" "),s+=n);return s}const Am=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,Mm=Uy,pS=(e,n)=>i=>{var s;if((n==null?void 0:n.variants)==null)return Mm(e,i==null?void 0:i.class,i==null?void 0:i.className);const{variants:a,defaultVariants:c}=n,u=Object.keys(a).map(y=>{const g=i==null?void 0:i[y],x=c==null?void 0:c[y];if(g===null)return null;const v=Am(g)||Am(x);return a[y][v]}),d=i&&Object.entries(i).reduce((y,g)=>{let[x,v]=g;return v===void 0||(y[x]=v),y},{}),m=n==null||(s=n.compoundVariants)===null||s===void 0?void 0:s.reduce((y,g)=>{let{class:x,className:v,...b}=g;return Object.entries(b).every(C=>{let[S,E]=C;return Array.isArray(E)?E.includes({...c,...d}[S]):{...c,...d}[S]===E})?[...y,x,v]:y},[]);return Mm(e,u,m,i==null?void 0:i.class,i==null?void 0:i.className)},Wd="-",mS=e=>{const n=yS(e),{conflictingClassGroups:i,conflictingClassGroupModifiers:s}=e;return{getClassGroupId:u=>{const d=u.split(Wd);return d[0]===""&&d.length!==1&&d.shift(),$y(d,n)||gS(u)},getConflictingClassGroupIds:(u,d)=>{const m=i[u]||[];return d&&s[u]?[...m,...s[u]]:m}}},$y=(e,n)=>{var u;if(e.length===0)return n.classGroupId;const i=e[0],s=n.nextPart.get(i),a=s?$y(e.slice(1),s):void 0;if(a)return a;if(n.validators.length===0)return;const c=e.join(Wd);return(u=n.validators.find(({validator:d})=>d(c)))==null?void 0:u.classGroupId},Rm=/^\[(.+)\]$/,gS=e=>{if(Rm.test(e)){const n=Rm.exec(e)[1],i=n==null?void 0:n.substring(0,n.indexOf(":"));if(i)return"arbitrary.."+i}},yS=e=>{const{theme:n,classGroups:i}=e,s={nextPart:new Map,validators:[]};for(const a in i)nd(i[a],s,a,n);return s},nd=(e,n,i,s)=>{e.forEach(a=>{if(typeof a=="string"){const c=a===""?n:Im(n,a);c.classGroupId=i;return}if(typeof a=="function"){if(vS(a)){nd(a(s),n,i,s);return}n.validators.push({validator:a,classGroupId:i});return}Object.entries(a).forEach(([c,u])=>{nd(u,Im(n,c),i,s)})})},Im=(e,n)=>{let i=e;return n.split(Wd).forEach(s=>{i.nextPart.has(s)||i.nextPart.set(s,{nextPart:new Map,validators:[]}),i=i.nextPart.get(s)}),i},vS=e=>e.isThemeGetter,xS=e=>{if(e<1)return{get:()=>{},set:()=>{}};let n=0,i=new Map,s=new Map;const a=(c,u)=>{i.set(c,u),n++,n>e&&(n=0,s=i,i=new Map)};return{get(c){let u=i.get(c);if(u!==void 0)return u;if((u=s.get(c))!==void 0)return a(c,u),u},set(c,u){i.has(c)?i.set(c,u):a(c,u)}}},rd="!",id=":",wS=id.length,bS=e=>{const{prefix:n,experimentalParseClassName:i}=e;let s=a=>{const c=[];let u=0,d=0,m=0,y;for(let C=0;C<a.length;C++){let S=a[C];if(u===0&&d===0){if(S===id){c.push(a.slice(m,C)),m=C+wS;continue}if(S==="/"){y=C;continue}}S==="["?u++:S==="]"?u--:S==="("?d++:S===")"&&d--}const g=c.length===0?a:a.substring(m),x=SS(g),v=x!==g,b=y&&y>m?y-m:void 0;return{modifiers:c,hasImportantModifier:v,baseClassName:x,maybePostfixModifierPosition:b}};if(n){const a=n+id,c=s;s=u=>u.startsWith(a)?c(u.substring(a.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:u,maybePostfixModifierPosition:void 0}}if(i){const a=s;s=c=>i({className:c,parseClassName:a})}return s},SS=e=>e.endsWith(rd)?e.substring(0,e.length-1):e.startsWith(rd)?e.substring(1):e,kS=e=>{const n=Object.fromEntries(e.orderSensitiveModifiers.map(s=>[s,!0]));return s=>{if(s.length<=1)return s;const a=[];let c=[];
vendor: 5,055 bytes, line 195
195return s.forEach(u=>{u[0]==="["||n[u]?(a.push(...c.sort(),u),c=[]):c.push(u)}),a.push(...c.sort()),a}},CS=e=>({cache:xS(e.cacheSize),parseClassName:bS(e),sortModifiers:kS(e),...mS(e)}),ES=/\s+/,NS=(e,n)=>{const{parseClassName:i,getClassGroupId:s,getConflictingClassGroupIds:a,sortModifiers:c}=n,u=[],d=e.trim().split(ES);let m="";for(let y=d.length-1;y>=0;y-=1){const g=d[y],{isExternal:x,modifiers:v,hasImportantModifier:b,baseClassName:C,maybePostfixModifierPosition:S}=i(g);if(x){m=g+(m.length>0?" "+m:m);continue}let E=!!S,j=s(E?C.substring(0,S):C);if(!j){if(!E){m=g+(m.length>0?" "+m:m);continue}if(j=s(C),!j){m=g+(m.length>0?" "+m:m);continue}E=!1}const N=c(v).join(":"),F=b?N+rd:N,I=F+j;if(u.includes(I))continue;u.push(I);const L=a(j,E);for(let H=0;H<L.length;++H){const U=L[H];u.push(F+U)}m=g+(m.length>0?" "+m:m)}return m};function DS(){let e=0,n,i,s="";for(;e<arguments.length;)(n=arguments[e++])&&(i=Hy(n))&&(s&&(s+=" "),s+=i);return s}const Hy=e=>{if(typeof e=="string")return e;let n,i="";for(let s=0;s<e.length;s++)e[s]&&(n=Hy(e[s]))&&(i&&(i+=" "),i+=n);return i};function jS(e,...n){let i,s,a,c=u;function u(m){const y=n.reduce((g,x)=>x(g),e());return i=CS(y),s=i.cache.get,a=i.cache.set,c=d,d(m)}function d(m){const y=s(m);if(y)return y;const g=NS(m,i);return a(m,g),g}return function(){return c(DS.apply(null,arguments))}}const ht=e=>{const n=i=>i[e]||[];return n.isThemeGetter=!0,n},Ky=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Gy=/^\((?:(\w[\w-]*):)?(.+)\)$/i,FS=/^\d+\/\d+$/,PS=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,TS=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,AS=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,MS=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,RS=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Ii=e=>FS.test(e),Ie=e=>!!e&&!Number.isNaN(Number(e)),Sr=e=>!!e&&Number.isInteger(Number(e)),Eu=e=>e.endsWith("%")&&Ie(e.slice(0,-1)),Xn=e=>PS.test(e),IS=()=>!0,_S=e=>TS.test(e)&&!AS.test(e),Yy=()=>!1,LS=e=>MS.test(e),VS=e=>RS.test(e),OS=e=>!ve(e)&&!xe(e),BS=e=>ts(e,Qy,Yy),ve=e=>Ky.test(e),Yr=e=>ts(e,Zy,_S),Nu=e=>ts(e,HS,Ie),_m=e=>ts(e,Xy,Yy),zS=e=>ts(e,qy,VS),ja=e=>ts(e,Jy,LS),xe=e=>Gy.test(e),Ys=e=>ns(e,Zy),WS=e=>ns(e,KS),Lm=e=>ns(e,Xy),US=e=>ns(e,Qy),$S=e=>ns(e,qy),Fa=e=>ns(e,Jy,!0),ts=(e,n,i)=>{const s=Ky.exec(e);return s?s[1]?n(s[1]):i(s[2]):!1},ns=(e,n,i=!1)=>{const s=Gy.exec(e);return s?s[1]?n(s[1]):i:!1},Xy=e=>e==="position"||e==="percentage",qy=e=>e==="image"||e==="url",Qy=e=>e==="length"||e==="size"||e==="bg-size",Zy=e=>e==="length",HS=e=>e==="number",KS=e=>e==="family-name",Jy=e=>e==="shadow",GS=()=>{const e=ht("color"),n=ht("font"),i=ht("text"),s=ht("font-weight"),a=ht("tracking"),c=ht("leading"),u=ht("breakpoint"),d=ht("container"),m=ht("spacing"),y=ht("radius"),g=ht("shadow"),x=ht("inset-shadow"),v=ht("text-shadow"),b=ht("drop-shadow"),C=ht("blur"),S=ht("perspective"),E=ht("aspect"),j=ht("ease"),N=ht("animate"),F=()=>["auto","avoid","all","avoid-page","page","left","right","column"],I=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],L=()=>[...I(),xe,ve],H=()=>["auto","hidden","clip","visible","scroll"],U=()=>["auto","contain","none"],z=()=>[xe,ve,m],q=()=>[Ii,"full","auto",...z()],K=()=>[Sr,"none","subgrid",xe,ve],le=()=>["auto",{span:["full",Sr,xe,ve]},Sr,xe,ve],ee=()=>[Sr,"auto",xe,ve],ne=()=>["auto","min","max","fr",xe,ve],oe=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],pe=()=>["start","end","center","stretch","center-safe","end-safe"],se=()=>["auto",...z()],ce=()=>[Ii,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...z()],R=()=>[e,xe,ve],X=()=>[...I(),Lm,_m,{position:[xe,ve]}],Q=()=>["no-repeat",{repeat:["","x","y","space","round"]}],A=()=>["auto","cover","contain",US,BS,{size:[xe,ve]}],$=()=>[Eu,Ys,Yr],ge=()=>["","none","full",y,xe,ve],be=()=>["",Ie,Ys,Yr],Fe=()=>["solid","dashed","dotted","double"],Te=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],te=()=>[Ie,Eu,Lm,_m],ke=()=>["","none",C,xe,ve],De=()=>["none",Ie,xe,ve],je=()=>["none",Ie,xe,ve],Ae=()=>[Ie,xe,ve],Re=()=>[Ii,"full",...z()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Xn],breakpoint:[Xn],color:[IS],container:[Xn],"drop-shadow":[Xn],ease:["in","out","in-out"],font:[OS],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Xn],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Xn],shadow:[Xn],spacing:["px",Ie],text:[Xn],"text-shadow":[Xn],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Ii,ve,xe,E]}
vendor: 5,581 bytes, line 195
195],container:["container"],columns:[{columns:[Ie,ve,xe,d]}],"break-after":[{"break-after":F()}],"break-before":[{"break-before":F()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:L()}],overflow:[{overflow:H()}],"overflow-x":[{"overflow-x":H()}],"overflow-y":[{"overflow-y":H()}],overscroll:[{overscroll:U()}],"overscroll-x":[{"overscroll-x":U()}],"overscroll-y":[{"overscroll-y":U()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:q()}],"inset-x":[{"inset-x":q()}],"inset-y":[{"inset-y":q()}],start:[{start:q()}],end:[{end:q()}],top:[{top:q()}],right:[{right:q()}],bottom:[{bottom:q()}],left:[{left:q()}],visibility:["visible","invisible","collapse"],z:[{z:[Sr,"auto",xe,ve]}],basis:[{basis:[Ii,"full","auto",d,...z()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Ie,Ii,"auto","initial","none",ve]}],grow:[{grow:["",Ie,xe,ve]}],shrink:[{shrink:["",Ie,xe,ve]}],order:[{order:[Sr,"first","last","none",xe,ve]}],"grid-cols":[{"grid-cols":K()}],"col-start-end":[{col:le()}],"col-start":[{"col-start":ee()}],"col-end":[{"col-end":ee()}],"grid-rows":[{"grid-rows":K()}],"row-start-end":[{row:le()}],"row-start":[{"row-start":ee()}],"row-end":[{"row-end":ee()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":ne()}],"auto-rows":[{"auto-rows":ne()}],gap:[{gap:z()}],"gap-x":[{"gap-x":z()}],"gap-y":[{"gap-y":z()}],"justify-content":[{justify:[...oe(),"normal"]}],"justify-items":[{"justify-items":[...pe(),"normal"]}],"justify-self":[{"justify-self":["auto",...pe()]}],"align-content":[{content:["normal",...oe()]}],"align-items":[{items:[...pe(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...pe(),{baseline:["","last"]}]}],"place-content":[{"place-content":oe()}],"place-items":[{"place-items":[...pe(),"baseline"]}],"place-self":[{"place-self":["auto",...pe()]}],p:[{p:z()}],px:[{px:z()}],py:[{py:z()}],ps:[{ps:z()}],pe:[{pe:z()}],pt:[{pt:z()}],pr:[{pr:z()}],pb:[{pb:z()}],pl:[{pl:z()}],m:[{m:se()}],mx:[{mx:se()}],my:[{my:se()}],ms:[{ms:se()}],me:[{me:se()}],mt:[{mt:se()}],mr:[{mr:se()}],mb:[{mb:se()}],ml:[{ml:se()}],"space-x":[{"space-x":z()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":z()}],"space-y-reverse":["space-y-reverse"],size:[{size:ce()}],w:[{w:[d,"screen",...ce()]}],"min-w":[{"min-w":[d,"screen","none",...ce()]}],"max-w":[{"max-w":[d,"screen","none","prose",{screen:[u]},...ce()]}],h:[{h:["screen",...ce()]}],"min-h":[{"min-h":["screen","none",...ce()]}],"max-h":[{"max-h":["screen",...ce()]}],"font-size":[{text:["base",i,Ys,Yr]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[s,xe,Nu]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Eu,ve]}],"font-family":[{font:[WS,ve,n]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[a,xe,ve]}],"line-clamp":[{"line-clamp":[Ie,"none",xe,Nu]}],leading:[{leading:[c,...z()]}],"list-image":[{"list-image":["none",xe,ve]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",xe,ve]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:R()}],"text-color":[{text:R()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Fe(),"wavy"]}],"text-decoration-thickness":[{decoration:[Ie,"from-font","auto",xe,Yr]}],"text-decoration-color":[{decoration:R()}],"underline-offset":[{"underline-offset":[Ie,"auto",xe,ve]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:z()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",xe,ve]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",xe,ve]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:X()}],"bg-repeat":[{bg:Q()}],"bg-size":[{bg:A()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Sr,xe,ve],radial:["",xe,ve],conic:[Sr,xe,ve]},$S,zS]}
195],"bg-color":[{bg:R()}],"gradient-from-pos":[{from:$()}],"gradient-via-pos":[{via:$()}],"gradient-to-pos":[{to:$()}],"gradient-from":[{from:R()}],"gradient-via":[{via:R()}],"gradient-to":[{to:R()}],rounded:[{rounded:ge()}],"rounded-s":[{"rounded-s":ge()}],"rounded-e":[{"rounded-e":ge()}],"rounded-t":[{"rounded-t":ge()}],"rounded-r":[{"rounded-r":ge()}],"rounded-b":[{"rounded-b":ge()}],"rounded-l":[{"rounded-l":ge()}],"rounded-ss":[{"rounded-ss":ge()}],"rounded-se":[{"rounded-se":ge()}],"rounded-ee":[{"rounded-ee":ge()}],"rounded-es":[{"rounded-es":ge()}],"rounded-tl":[{"rounded-tl":ge()}],"rounded-tr":[{"rounded-tr":ge()}],"rounded-br":[{"rounded-br":ge()}],"rounded-bl":[{"rounded-bl":ge()}],"border-w":[{border:be()}],"border-w-x":[{"border-x":be()}],"border-w-y":[{"border-y":be()}],"border-w-s":[{"border-s":be()}],"border-w-e":[{"border-e":be()}],"border-w-t":[{"border-t":be()}],"border-w-r":[{"border-r":be()}],"border-w-b":[{"border-b":be()}],"border-w-l":[{"border-l":be()}],"divide-x":[{"divide-x":be()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":be()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...Fe(),"hidden","none"]}],"divide-style":[{divide:[...Fe(),"hidden","none"]}],"border-color":[{border:R()}],"border-color-x":[{"border-x":R()}],"border-color-y":[{"border-y":R()}],"border-color-s":[{"border-s":R()}],"border-color-e":[{"border-e":R()}],"border-color-t":[{"border-t":R()}],"border-color-r":[{"border-r":R()}],"border-color-b":[{"border-b":R()}],"border-color-l":[{"border-l":R()}
vendor: 5,755 bytes, line 195
195],"divide-color":[{divide:R()}],"outline-style":[{outline:[...Fe(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Ie,xe,ve]}],"outline-w":[{outline:["",Ie,Ys,Yr]}],"outline-color":[{outline:R()}],shadow:[{shadow:["","none",g,Fa,ja]}],"shadow-color":[{shadow:R()}],"inset-shadow":[{"inset-shadow":["none",x,Fa,ja]}],"inset-shadow-color":[{"inset-shadow":R()}],"ring-w":[{ring:be()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:R()}],"ring-offset-w":[{"ring-offset":[Ie,Yr]}],"ring-offset-color":[{"ring-offset":R()}],"inset-ring-w":[{"inset-ring":be()}],"inset-ring-color":[{"inset-ring":R()}],"text-shadow":[{"text-shadow":["none",v,Fa,ja]}],"text-shadow-color":[{"text-shadow":R()}],opacity:[{opacity:[Ie,xe,ve]}],"mix-blend":[{"mix-blend":[...Te(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Te()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[Ie]}],"mask-image-linear-from-pos":[{"mask-linear-from":te()}],"mask-image-linear-to-pos":[{"mask-linear-to":te()}],"mask-image-linear-from-color":[{"mask-linear-from":R()}],"mask-image-linear-to-color":[{"mask-linear-to":R()}],"mask-image-t-from-pos":[{"mask-t-from":te()}],"mask-image-t-to-pos":[{"mask-t-to":te()}],"mask-image-t-from-color":[{"mask-t-from":R()}],"mask-image-t-to-color":[{"mask-t-to":R()}],"mask-image-r-from-pos":[{"mask-r-from":te()}],"mask-image-r-to-pos":[{"mask-r-to":te()}],"mask-image-r-from-color":[{"mask-r-from":R()}],"mask-image-r-to-color":[{"mask-r-to":R()}],"mask-image-b-from-pos":[{"mask-b-from":te()}],"mask-image-b-to-pos":[{"mask-b-to":te()}],"mask-image-b-from-color":[{"mask-b-from":R()}],"mask-image-b-to-color":[{"mask-b-to":R()}],"mask-image-l-from-pos":[{"mask-l-from":te()}],"mask-image-l-to-pos":[{"mask-l-to":te()}],"mask-image-l-from-color":[{"mask-l-from":R()}],"mask-image-l-to-color":[{"mask-l-to":R()}],"mask-image-x-from-pos":[{"mask-x-from":te()}],"mask-image-x-to-pos":[{"mask-x-to":te()}],"mask-image-x-from-color":[{"mask-x-from":R()}],"mask-image-x-to-color":[{"mask-x-to":R()}],"mask-image-y-from-pos":[{"mask-y-from":te()}],"mask-image-y-to-pos":[{"mask-y-to":te()}],"mask-image-y-from-color":[{"mask-y-from":R()}],"mask-image-y-to-color":[{"mask-y-to":R()}],"mask-image-radial":[{"mask-radial":[xe,ve]}],"mask-image-radial-from-pos":[{"mask-radial-from":te()}],"mask-image-radial-to-pos":[{"mask-radial-to":te()}],"mask-image-radial-from-color":[{"mask-radial-from":R()}],"mask-image-radial-to-color":[{"mask-radial-to":R()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":I()}],"mask-image-conic-pos":[{"mask-conic":[Ie]}],"mask-image-conic-from-pos":[{"mask-conic-from":te()}],"mask-image-conic-to-pos":[{"mask-conic-to":te()}],"mask-image-conic-from-color":[{"mask-conic-from":R()}],"mask-image-conic-to-color":[{"mask-conic-to":R()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:X()}],"mask-repeat":[{mask:Q()}],"mask-size":[{mask:A()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",xe,ve]}],filter:[{filter:["","none",xe,ve]}],blur:[{blur:ke()}],brightness:[{brightness:[Ie,xe,ve]}],contrast:[{contrast:[Ie,xe,ve]}],"drop-shadow":[{"drop-shadow":["","none",b,Fa,ja]}],"drop-shadow-color":[{"drop-shadow":R()}],grayscale:[{grayscale:["",Ie,xe,ve]}],"hue-rotate":[{"hue-rotate":[Ie,xe,ve]}],invert:[{invert:["",Ie,xe,ve]}],saturate:[{saturate:[Ie,xe,ve]}],sepia:[{sepia:["",Ie,xe,ve]}],"backdrop-filter":[{"backdrop-filter":["","none",xe,ve]}],"backdrop-blur":[{"backdrop-blur":ke()}],"backdrop-brightness":[{"backdrop-brightness":[Ie,xe,ve]}],"backdrop-contrast":[{"backdrop-contrast":[Ie,xe,ve]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Ie,xe,ve]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Ie,xe,ve]}],"backdrop-invert":[{"backdrop-invert":["",Ie,xe,ve]}],"backdrop-opacity":[{"backdrop-opacity":[Ie,xe,ve]}],"backdrop-saturate":[{"backdrop-saturate":[Ie,xe,ve]}],"backdrop-sepia":[{"backdrop-sepia":["",Ie,xe,ve]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":z()}],"border-spacing-x":[{"border-spacing-x":z()}],"border-spacing-y":[{"border-spacing-y":z()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",xe,ve]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Ie,"initial",xe,ve]}],ease:[{ease:["linear","initial",j,xe,ve]}],delay:[{delay:[Ie,xe,ve]}],animate:[{animate:["none",N,xe,ve]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[S,xe,ve]}],"perspective-origin":[{"perspective-origin":L()}],rotate:[{rotate:De()}],"rotate-x":[{"rotate-x":De()}],"rotate-y":[{"rotate-y":De()}],"rotate-z":[{"rotate-z":De()}],scale:[{scale:je()}],"scale-x":[{"scale-x":je()}],"scale-y":[{"scale-y":je()}],"scale-z":[{"scale-z":je()}],"scale-3d":["scale-3d"],skew:[{skew:Ae()}],"skew-x":[{"skew-x":Ae()}],"skew-y":[{"skew-y":Ae()}],transform:[{transform:[xe,ve,"","none","gpu","cpu"]}],"transform-origin":[{origin:L()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Re()}],"translate-x":[{"translate-x":Re()}],"translate-y":[{"translate-y":Re()}],"translate-z":[{"translate-z":Re()}],"translate-none":["translate-none"],accent:[{accent:R()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:R()}
vendor: 5,923 bytes, line 195
195],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",xe,ve]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":z()}],"scroll-mx":[{"scroll-mx":z()}],"scroll-my":[{"scroll-my":z()}],"scroll-ms":[{"scroll-ms":z()}],"scroll-me":[{"scroll-me":z()}],"scroll-mt":[{"scroll-mt":z()}],"scroll-mr":[{"scroll-mr":z()}],"scroll-mb":[{"scroll-mb":z()}],"scroll-ml":[{"scroll-ml":z()}],"scroll-p":[{"scroll-p":z()}],"scroll-px":[{"scroll-px":z()}],"scroll-py":[{"scroll-py":z()}],"scroll-ps":[{"scroll-ps":z()}],"scroll-pe":[{"scroll-pe":z()}],"scroll-pt":[{"scroll-pt":z()}],"scroll-pr":[{"scroll-pr":z()}],"scroll-pb":[{"scroll-pb":z()}],"scroll-pl":[{"scroll-pl":z()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",xe,ve]}],fill:[{fill:["none",...R()]}],"stroke-w":[{stroke:[Ie,Ys,Yr,Nu]}],stroke:[{stroke:["none",...R()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},YS=jS(GS);function Zn(...e){return YS(Uy(e))}const XS=pS("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-white hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background text-foreground hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9 rounded-md"}},defaultVariants:{variant:"default",size:"default"}});function In({className:e,variant:n,size:i,asChild:s=!1,...a}){const c=s?Qi:"button";return h.jsx(c,{"data-slot":"button",className:Zn(XS({variant:n,size:i,className:e})),...a}
vendor: 1,228 bytes, line 195
195)}const Ud=k.createContext({});function $d(e){const n=k.useRef(null);return n.current===null&&(n.current=e()),n.current}const qS=typeof window<"u",ev=qS?k.useLayoutEffect:k.useEffect,yl=k.createContext(null);function Hd(e,n){e.indexOf(n)===-1&&e.push(n)}function Za(e,n){const i=e.indexOf(n);i>-1&&e.splice(i,1)}const Vn=(e,n,i)=>i>n?n:i<e?e:i;let Kd=()=>{};const jr={},tv=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function nv(e){return typeof e=="object"&&e!==null}const rv=e=>/^0[^.\s]+$/u.test(e);function iv(e){let n;return()=>(n===void 0&&(n=e()),n)}const on=e=>e,QS=(e,n)=>i=>n(e(i)),fo=(...e)=>e.reduce(QS),oo=(e,n,i)=>{const s=n-e;return s===0?1:(i-e)/s};class Gd{constructor(){this.subscriptions=[]}add(n){return Hd(this.subscriptions,n),()=>Za(this.subscriptions,n)}notify(n,i,s){const a=this.subscriptions.length;if(a)if(a===1)this.subscriptions[0](n,i,s);else for(let c=0;c<a;c++){const u=this.subscriptions[c];u&&u(n,i,s)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Yt=e=>e*1e3,sn=e=>e/1e3;function sv(e,n){return n?e*(1e3/n):0}const ov=(e,n,i)=>(((1-3*i+3*n)*e+(3*i-6*n))*e+3*n)*e,ZS=1e-7,JS=12;function ek(e,n,i,s,a){let c,u,d=0;do u=n+(i-n)/2,c=ov(u,s,a)-e,c>0?i=u:n=u;
vendor: 27,962 bytes, line 195
195while(Math.abs(c)>ZS&&++d<JS);return u}function ho(e,n,i,s){if(e===n&&i===s)return on;const a=c=>ek(c,0,1,e,i);return c=>c===0||c===1?c:ov(a(c),n,s)}const av=e=>n=>n<=.5?e(2*n)/2:(2-e(2*(1-n)))/2,lv=e=>n=>1-e(1-n),cv=ho(.33,1.53,.69,.99),Yd=lv(cv),uv=av(Yd),dv=e=>e>=1?1:(e*=2)<1?.5*Yd(e):.5*(2-Math.pow(2,-10*(e-1))),Xd=e=>1-Math.sin(Math.acos(e)),fv=lv(Xd),hv=av(Xd),tk=ho(.42,0,1,1),nk=ho(0,0,.58,1),pv=ho(.42,0,.58,1),rk=e=>Array.isArray(e)&&typeof e[0]!="number",mv=e=>Array.isArray(e)&&typeof e[0]=="number",ik={linear:on,easeIn:tk,easeInOut:pv,easeOut:nk,circIn:Xd,circInOut:hv,circOut:fv,backIn:Yd,backInOut:uv,backOut:cv,anticipate:dv},sk=e=>typeof e=="string",Vm=e=>{if(mv(e)){Kd(e.length===4);const[n,i,s,a]=e;return ho(n,i,s,a)}else if(sk(e))return ik[e];return e},Pa=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function ok(e,n){let i=new Set,s=new Set,a=!1,c=!1;const u=new WeakSet;let d={delta:0,timestamp:0,isProcessing:!1};function m(g){u.has(g)&&(y.schedule(g),e()),g(d)}const y={schedule:(g,x=!1,v=!1)=>{const C=v&&a?i:s;return x&&u.add(g),C.add(g),g},cancel:g=>{s.delete(g),u.delete(g)},process:g=>{if(d=g,a){c=!0;return}a=!0;const x=i;i=s,s=x,i.forEach(m),i.clear(),a=!1,c&&(c=!1,y.process(g))}};return y}const ak=40;function gv(e,n){let i=!1,s=!0;const a={delta:0,timestamp:0,isProcessing:!1},c=()=>i=!0,u=Pa.reduce((F,I)=>(F[I]=ok(c),F),{}),{setup:d,read:m,resolveKeyframes:y,preUpdate:g,update:x,preRender:v,render:b,postRender:C}=u,S=()=>{const F=jr.useManualTiming,I=F?a.timestamp:performance.now();i=!1,F||(a.delta=s?1e3/60:Math.max(Math.min(I-a.timestamp,ak),1)),a.timestamp=I,a.isProcessing=!0,d.process(a),m.process(a),y.process(a),g.process(a),x.process(a),v.process(a),b.process(a),C.process(a),a.isProcessing=!1,i&&n&&(s=!1,e(S))},E=()=>{i=!0,s=!0,a.isProcessing||e(S)};return{schedule:Pa.reduce((F,I)=>{const L=u[I];return F[I]=(H,U=!1,z=!1)=>(i||E(),L.schedule(H,U,z)),F},{}),cancel:F=>{for(let I=0;I<Pa.length;I++)u[Pa[I]].cancel(F)},state:a,steps:u}}const{schedule:We,cancel:Fr,state:kt,steps:Du}=gv(typeof requestAnimationFrame<"u"?requestAnimationFrame:on,!0);let Ba;function lk(){Ba=void 0}const Rt={now:()=>(Ba===void 0&&Rt.set(kt.isProcessing||jr.useManualTiming?kt.timestamp:performance.now()),Ba),set:e=>{Ba=e,queueMicrotask(lk)}},yv=e=>n=>typeof n=="string"&&n.startsWith(e),vv=yv("--"),ck=yv("var(--"),qd=e=>ck(e)?uk.test(e.split("/*")[0].trim()):!1,uk=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function Om(e){return typeof e!="string"?!1:e.split("/*")[0].includes("var(--")}const rs={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},ao={...rs,transform:e=>Vn(0,1,e)},Ta={...rs,default:1},eo=e=>Math.round(e*1e5)/1e5,Qd=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function dk(e){return e==null}const fk=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Zd=(e,n)=>i=>!!(typeof i=="string"&&fk.test(i)&&i.startsWith(e)||n&&!dk(i)&&Object.prototype.hasOwnProperty.call(i,n)),xv=(e,n,i)=>s=>{if(typeof s!="string")return s;const[a,c,u,d]=s.match(Qd);return{[e]:parseFloat(a),[n]:parseFloat(c),[i]:parseFloat(u),alpha:d!==void 0?parseFloat(d):1}},hk=e=>Vn(0,255,e),ju={...rs,transform:e=>Math.round(hk(e))},Zr={test:Zd("rgb","red"),parse:xv("red","green","blue"),transform:({red:e,green:n,blue:i,alpha:s=1})=>"rgba("+ju.transform(e)+", "+ju.transform(n)+", "+ju.transform(i)+", "+eo(ao.transform(s))+")"};function pk(e){let n="",i="",s="",a="";return e.length>5?(n=e.substring(1,3),i=e.substring(3,5),s=e.substring(5,7),a=e.substring(7,9)):(n=e.substring(1,2),i=e.substring(2,3),s=e.substring(3,4),a=e.substring(4,5),n+=n,i+=i,s+=s,a+=a),{red:parseInt(n,16),green:parseInt(i,16),blue:parseInt(s,16),alpha:a?parseInt(a,16)/255:1}}const sd={test:Zd("#"),parse:pk,transform:Zr.transform},po=e=>({test:n=>typeof n=="string"&&n.endsWith(e)&&n.split(" ").length===1,parse:parseFloat,transform:n=>`${n}${e}`}),kr=po("deg"),_n=po("%"),we=po("px"),mk=po("vh"),gk=po("vw"),Bm={..._n,parse:e=>_n.parse(e)/100,transform:e=>_n.transform(e*100)},zi={test:Zd("hsl","hue"),parse:xv("hue","saturation","lightness"),transform:({hue:e,saturation:n,lightness:i,alpha:s=1})=>"hsla("+Math.round(e)+", "+_n.transform(eo(n))+", "+_n.transform(eo(i))+", "+eo(ao.transform(s))+")"},ct={test:e=>Zr.test(e)||sd.test(e)||zi.test(e),parse:e=>Zr.test(e)?Zr.parse(e):zi.test(e)?zi.parse(e):sd.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?Zr.transform(e):zi.transform(e),getAnimatableNone:e=>{const n=ct.parse(e);return n.alpha=0,ct.transform(n)}},yk=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function vk(e){var n,i;return isNaN(e)&&typeof e=="string"&&(((n=e.match(Qd))==null?void 0:n.length)||0)+(((i=e.match(yk))==null?void 0:i.length)||0)>0}const wv="number",bv="color",xk="var",wk="var(",zm="${}",bk=/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 Zi(e){const n=e.toString(),i=[],s={color:[],number:[],var:[]},a=[];let c=0;const d=n.replace(bk,m=>(ct.test(m)?(s.color.push(c),a.push(bv),i.push(ct.parse(m))):m.startsWith(wk)?(s.var.push(c),a.push(xk),i.push(m)):(s.number.push(c),a.push(wv),i.push(parseFloat(m))),++c,zm)).split(zm);return{values:i,split:d,indexes:s,types:a}}function Sk(e){return Zi(e).values}function Sv({split:e,types:n}){const i=e.length;return s=>{let a="";for(let c=0;c<i;c++)if(a+=e[c],s[c]!==void 0){const u=n[c];u===wv?a+=eo(s[c]):u===bv?a+=ct.transform(s[c]):a+=s[c]}return a}}function kk(e){return Sv(Zi(e))}const Ck=e=>typeof e=="number"?0:ct.test(e)?ct.getAnimatableNone(e):e,Ek=(e,n)=>typeof e=="number"?n!=null&&n.trim().endsWith("/")?e:0:Ck(e);function Nk(e){const n=Zi(e);return Sv(n)(n.values.map((s,a)=>Ek(s,n.split[a])))}const wn={test:vk,parse:Sk,createTransformer:kk,getAnimatableNone:Nk};function Fu(e,n,i){return i<0&&(i+=1),i>1&&(i-=1),i<1/6?e+(n-e)*6*i:i<1/2?n:i<2/3?e+(n-e)*(2/3-i)*6:e}function Dk({hue:e,saturation:n,lightness:i,alpha:s}){e/=360,n/=100,i/=100;let a=0,c=0,u=0;if(!n)a=c=u=i;else{const d=i<.5?i*(1+n):i+n-i*n,m=2*i-d;a=Fu(m,d,e+1/3),c=Fu(m,d,e),u=Fu(m,d,e-1/3)}return{red:Math.round(a*255),green:Math.round(c*255),blue:Math.round(u*255),alpha:s}}function Ja(e,n){return i=>i>0?n:e}const Xe=(e,n,i)=>e+(n-e)*i,Pu=(e,n,i)=>{const s=e*e,a=i*(n*n-s)+s;return a<0?0:Math.sqrt(a)},jk=[sd,Zr,zi],Fk=e=>jk.find(n=>n.test(e));function Wm(e){const n=Fk(e);if(!n)return!1;let i=n.parse(e);return n===zi&&(i=Dk(i)),i}const Um=(e,n)=>{const i=Wm(e),s=Wm(n);if(!i||!s)return Ja(e,n);const a={...i};return c=>(a.red=Pu(i.red,s.red,c),a.green=Pu(i.green,s.green,c),a.blue=Pu(i.blue,s.blue,c),a.alpha=Xe(i.alpha,s.alpha,c),Zr.transform(a))},od=new Set(["none","hidden"]);function Pk(e,n){return od.has(e)?i=>i<=0?e:n:i=>i>=1?n:e}function Tk(e,n){return i=>Xe(e,n,i)}function Jd(e){return typeof e=="number"?Tk:typeof e=="string"?qd(e)?Ja:ct.test(e)?Um:Rk:Array.isArray(e)?kv:typeof e=="object"?ct.test(e)?Um:Ak:Ja}function kv(e,n){const i=[...e],s=i.length,a=e.map((c,u)=>Jd(c)(c,n[u]));return c=>{for(let u=0;u<s;u++)i[u]=a[u](c);return i}}function Ak(e,n){const i={...e,...n},s={};for(const a in i)e[a]!==void 0&&n[a]!==void 0&&(s[a]=Jd(e[a])(e[a],n[a]));return a=>{for(const c in s)i[c]=s[c](a);return i}}function Mk(e,n){const i=[],s={color:0,var:0,number:0};for(let a=0;a<n.values.length;a++){const c=n.types[a],u=e.indexes[c][s[c]],d=e.values[u]??0;i[a]=d,s[c]++}return i}const Rk=(e,n)=>{const i=wn.createTransformer(n),s=Zi(e),a=Zi(n);return s.indexes.var.length===a.indexes.var.length&&s.indexes.color.length===a.indexes.color.length&&s.indexes.number.length>=a.indexes.number.length?od.has(e)&&!a.values.length||od.has(n)&&!s.values.length?Pk(e,n):fo(kv(Mk(s,a),a.values),i):Ja(e,n)};function Cv(e,n,i){return typeof e=="number"&&typeof n=="number"&&typeof i=="number"?Xe(e,n,i):Jd(e)(e,n)}const Ik=e=>{const n=({timestamp:i})=>e(i);return{start:(i=!0)=>We.update(n,i),stop:()=>Fr(n),now:()=>kt.isProcessing?kt.timestamp:Rt.now()}},Ev=(e,n,i=10)=>{let s="";const a=Math.max(Math.round(n/i),2);for(let c=0;c<a;c++)s+=Math.round(e(c/(a-1))*1e4)/1e4+", ";return`linear(${s.substring(0,s.length-2)})`},el=2e4;function ef(e){let n=0;const i=50;let s=e.next(n);for(;!s.done&&n<el;)n+=i,s=e.next(n);return n>=el?1/0:n}function _k(e,n=100,i){const s=i({...e,keyframes:[0,n]}),a=Math.min(ef(s),el);return{type:"keyframes",ease:c=>s.next(a*c).value/n,duration:sn(a)}}const tt={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function ad(e,n){return e*Math.sqrt(1-n*n)}const Lk=12;function Vk(e,n,i){let s=i;for(let a=1;a<Lk;a++)s=s-e(s)/n(s);return s}const Tu=.001;function Ok({duration:e=tt.duration,bounce:n=tt.bounce,velocity:i=tt.velocity,mass:s=tt.mass}){let a,c,u=1-n;u=Vn(tt.minDamping,tt.maxDamping,u),e=Vn(tt.minDuration,tt.maxDuration,sn(e)),u<1?(a=y=>{const g=y*u,x=g*e,v=g-i,b=ad(y,u),C=Math.exp(-x);return Tu-v/b*C},c=y=>{const x=y*u*e,v=x*i+i,b=Math.pow(u,2)*Math.pow(y,2)*e,C=Math.exp(-x),S=ad(Math.pow(y,2),u);return(-a(y)+Tu>0?-1:1)*((v-b)*C)/S}):(a=y=>{const g=Math.exp(-y*e),x=(y-i)*e+1;return-Tu+g*x},c=y=>{const g=Math.exp(-y*e),x=(i-y)*(e*e);return g*x});const d=5/e,m=Vk(a,c,d);if(e=Yt(e),isNaN(m))return{stiffness:tt.stiffness,damping:tt.damping,duration:e};{const y=Math.pow(m,2)*s;return{stiffness:y,damping:u*2*Math.sqrt(s*y),duration:e}}}const Bk=["duration","bounce"],zk=["stiffness","damping","mass"];function $m(e,n){return n.some(i=>e[i]!==void 0)}function Wk(e){let n={velocity:tt.velocity,stiffness:tt.stiffness,damping:tt.damping,mass:tt.mass,isResolvedFromDuration:!1,...e};if(!$m(e,zk)&&$m(e,Bk))if(n.velocity=0,e.visualDuration){const i=e.visualDuration,s=2*Math.PI/(i*1.2),a=s*s,c=2*Vn(.05,1,1-(e.bounce||0))*Math.sqrt(a);n={...n,mass:tt.mass,stiffness:a,damping:c}}else{const i=Ok({...e,velocity:0});n={...n,...i,mass:tt.mass},n.isResolvedFromDuration=!0}return n}function tl(e=tt.visualDuration,n=tt.bounce){const i=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:n}:e;let{restSpeed:s,restDelta:a}=i;const c=i.keyframes[0],u=i.keyframes[i.keyframes.length-1],d={done:!1,value:c},{stiffness:m,damping:y,mass:g,duration:x,velocity:v,isResolvedFromDuration:b}=Wk({...i,velocity:-sn(i.velocity||0)}),C=v||0,S=y/(2*Math.sqrt(m*g)),E=u-c,j=sn(Math.sqrt(m/g)),N=Math.abs(E)<5;s||(s=N?tt.restSpeed.granular:tt.restSpeed.default),a||(a=N?tt.restDelta.granular:tt.restDelta.default);let F,I,L,H,U,z;if(S<1)L=ad(j,S),H=(C+S*j*E)/L,F=K=>{const le=Math.exp(-S*j*K);return u-le*(H*Math.sin(L*K)+E*Math.cos(L*K))},U=S*j*H+E*L,z=S*j*E-H*L,I=K=>Math.exp(-S*j*K)*(U*Math.sin(L*K)+z*Math.cos(L*K));else if(S===1){F=le=>u-Math.exp(-j*le)*(E+(C+j*E)*le);const K=C+j*E;I=le=>Math.exp(-j*le)*(j*K*le-C)}else{const K=j*Math.sqrt(S*S-1);F=oe=>{const pe=Math.exp(-S*j*oe),se=Math.min(K*oe,300);return u-pe*((C+S*j*E)*Math.sinh(se)+K*E*Math.cosh(se))/K};const le=(C+S*j*E)/K,ee=S*j*le-E*K,ne=S*j*E-le*K;I=oe=>{const pe=Math.exp(-S*j*oe),se=Math.min(K*oe,300);return pe*(ee*Math.sinh(se)+ne*Math.cosh(se))}}const q={calculatedDuration:b&&x||null,velocity:K=>Yt(I(K)),next:K=>{if(!b&&S<1){const ee=Math.exp(-S*j*K),ne=Math.sin(L*K),oe=Math.cos(L*K),pe=u-ee*(H*ne+E*oe),se=Yt(ee*(U*ne+z*oe));return d.done=Math.abs(se)<=s&&Math.abs(u-pe)<=a,d.value=d.done?u:pe,d}const le=F(K);if(b)d.done=K>=x;else{const ee=Yt(I(K));d.done=Math.abs(ee)<=s&&Math.abs(u-le)<=a}return d.value=d.done?u:le,d},toString:()=>{const K=Math.min(ef(q),el),le=Ev(ee=>q.next(K*ee).value,K,30);return K+"ms "+le},toTransition:()=>{}};return q}tl.applyToOptions=e=>{const n=_k(e,100,tl);return e.ease=n.ease,e.duration=Yt(n.duration),e.type="keyframes",e};const Uk=5;function Nv(e,n,i){const s=Math.max(n-Uk,0);return sv(i-e(s),n-s)}function ld({keyframes:e,velocity:n=0,power:i=.8,timeConstant:s=325,bounceDamping:a=10,bounceStiffness:c=500,modifyTarget:u,min:d,max:m,restDelta:y=.5,restSpeed:g}){const x=e[0],v={done:!1,value:x},b=z=>d!==void 0&&z<d||m!==void 0&&z>m,C=z=>d===void 0?m:m===void 0||Math.abs(d-z)<Math.abs(m-z)?d:m;let S=i*n;const E=x+S,j=u===void 0?E:u(E);j!==E&&(S=j-x);const N=z=>-S*Math.exp(-z/s),F=z=>j+N(z),I=z=>{const q=N(z),K=F(z);v.done=Math.abs(q)<=y,v.value=v.done?j:K};let L,H;const U=z=>{b(v.value)&&(L=z,H=tl({keyframes:[v.value,C(v.value)],velocity:Nv(F,z,v.value),damping:a,stiffness:c,restDelta:y,restSpeed:g}))};return U(0),{calculatedDuration:null,next:z=>{let q=!1;return!H&&L===void 0&&(q=!0,I(z),U(z)),L!==void 0&&z>=L?H.next(z-L):(!q&&I(z),v)}}}function $k(e,n,i){const s=[],a=i||jr.mix||Cv,c=e.length-1;for(let u=0;u<c;u++){let d=a(e[u],e[u+1]);if(n){const m=Array.isArray(n)?n[u]||on:n;d=fo(m,d)}s.push(d)}return s}function Hk(e,n,{clamp:i=!0,ease:s,mixer:a}={}){const c=e.length;if(Kd(c===n.length),c===1)return()=>n[0];if(c===2&&n[0]===n[1])return()=>n[1];const u=e[0]===e[1];e[0]>e[c-1]&&(e=[...e].reverse(),n=[...n].reverse());const d=$k(n,s,a),m=d.length,y=g=>{if(u&&g<e[0])return n[0];let x=0;if(m>1)for(;x<e.length-2&&!(g<e[x+1]);x++);const v=oo(e[x],e[x+1],g);return d[x](v)};return i?g=>y(Vn(e[0],e[c-1],g)):y}function Kk(e,n){const i=e[e.length-1];for(let s=1;s<=n;s++){const a=oo(0,n,s);e.push(Xe(i,1,a))}}function Gk(e){const n=[0];return Kk(n,e.length-1),n}function Yk(e,n){return e.map(i=>i*n)}function Xk(e,n){return e.map(()=>n||pv).splice(0,e.length-1)}function to({duration:e=300,keyframes:n,times:i,ease:s="easeInOut"}){const a=rk(s)?s.map(Vm):Vm(s),c={done:!1,value:n[0]},u=Yk(i&&i.length===n.length?i:Gk(n),e),d=Hk(u,n,{ease:Array.isArray(a)?a:Xk(n,a)});return{calculatedDuration:e,next:m=>(c.value=d(m),c.done=m>=e,c)}}const qk=e=>e!==null;function vl(e,{repeat:n,repeatType:i="loop"},s,a=1){const c=e.filter(qk),d=a<0||n&&i!=="loop"&&n%2===1?0:c.length-1;return!d||s===void 0?c[d]:s}const Qk={decay:ld,inertia:ld,tween:to,keyframes:to,spring:tl};function Dv(e){typeof e.type=="string"&&(e.type=Qk[e.type])}class tf{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(n=>{this.resolve=n})}notifyFinished(){this.resolve()}then(n,i){return this.finished.then(n,i)}}const Zk=e=>e/100;class nl extends tf{constructor(n){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{var s,a;const{motionValue:i}=this.options;i&&i.updatedAt!==Rt.now()&&this.tick(Rt.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),(a=(s=this.options).onStop)==null||a.call(s))},this.options=n,this.initAnimation(),this.play(),n.autoplay===!1&&this.pause()}initAnimation(){const{options:n}=this;Dv(n);const{type:i=to,repeat:s=0,repeatDelay:a=0,repeatType:c,velocity:u=0}=n;let{keyframes:d}=n;const m=i||to;m!==to&&typeof d[0]!="number"&&(this.mixKeyframes=fo(Zk,Cv(d[0],d[1])),d=[0,100]);const y=m({...n,keyframes:d});c==="mirror"&&(this.mirroredGenerator=m({...n,keyframes:[...d].reverse(),velocity:-u})),y.calculatedDuration===null&&(y.calculatedDuration=ef(y));const{calculatedDuration:g}=y;this.calculatedDuration=g,this.resolvedDuration=g+a,this.totalDuration=this.resolvedDuration*(s+1)-a,this.generator=y}updateTime(n){const i=Math.round(n-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=i}tick(n,i=!1){const{generator:s,totalDuration:a,mixKeyframes:c,mirroredGenerator:u,resolvedDuration:d,calculatedDuration:m}=this;if(this.startTime===null)return s.next(0);const{delay:y=0,keyframes:g,repeat:x,repeatType:v,repeatDelay:b,type:C,onUpdate:S,finalKeyframe:E}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,n):this.speed<0&&(this.startTime=Math.min(n-a/this.speed,this.startTime)),i?this.currentTime=n:this.updateTime(n);const j=this.currentTime-y*(this.playbackSpeed>=0?1:-1),N=this.playbackSpeed>=0?j<0:j>a;this.currentTime=Math.max(j,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=a);let F=this.currentTime,I=s;if(x){const z=Math.min(this.currentTime,a)/d;let q=Math.floor(z),K=z%1;!K&&z>=1&&(K=1),K===1&&q--,q=Math.min(q,x+1),!!(q%2)&&(v==="reverse"?(K=1-K,b&&(K-=b/d)):v==="mirror"&&(I=u)),F=Vn(0,1,K)*d}let L;N?(this.delayState.value=g[0],L=this.delayState):L=I.next(F),c&&!N&&(L.value=c(L.value));let{done:H}=L;!N&&m!==null&&(H=this.playbackSpeed>=0?this.currentTime>=a:this.currentTime<=0);const U=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&H);return U&&C!==ld&&(L.value=vl(g,this.options,E,this.speed)),S&&S(L.value),U&&this.finish(),L}then(n,i){return this.finished.then(n,i)}get duration(){return sn(this.calculatedDuration)}get iterationDuration(){const{delay:n=0}=this.options||{};return this.duration+sn(n)}get time(){return sn(this.currentTime)}set time(n){n=Yt(n),this.currentTime=n,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=n:this.driver&&(this.startTime=this.driver.now()-n/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=n,this.tick(n))}getGeneratorVelocity(){const n=this.currentTime;if(n<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(n);const i=this.generator.next(n).value;return Nv(s=>this.generator.next(s).value,n,i)}get speed(){return this.playbackSpeed}set speed(n){const i=this.playbackSpeed!==n;i&&this.driver&&this.updateTime(Rt.now()),this.playbackSpeed=n,i&&this.driver&&(this.time=sn(this.currentTime))}play(){var a,c;if(this.isStopped)return;const{driver:n=Ik,startTime:i}=this.options;this.driver||(this.driver=n(u=>this.tick(u))),(c=(a=this.options).onPlay)==null||c.call(a);const s=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=s):this.holdTime!==null?this.startTime=s-this.holdTime:this.startTime||(this.startTime=i??s),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(Rt.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){var n,i;this.notifyFinished(),this.teardown(),this.state="finished",(i=(n=this.options).onComplete)==null||i.call(n)}cancel(){var n,i;this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),(i=(n=this.options).onCancel)==null||i.call(n)}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(n){return this.startTime=0,this.tick(n,!0)}attachTimeline(n){var i;return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),(i=this.driver)==null||i.stop(),n.observe(this)}}function Jk(e){for(let n=1;n<e.length;n++)e[n]??(e[n]=e[n-1])}const Jr=e=>e*180/Math.PI,cd=e=>{const n=Jr(Math.atan2(e[1],e[0]));return ud(n)},e2={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:cd,rotateZ:cd,skewX:e=>Jr(Math.atan(e[1])),skewY:e=>Jr(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},ud=e=>(e=e%360,e<0&&(e+=360),e),Hm=cd,Km=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),Gm=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),t2={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Km,scaleY:Gm,scale:e=>(Km(e)+Gm(e))/2,rotateX:e=>ud(Jr(Math.atan2(e[6],e[5]))),rotateY:e=>ud(Jr(Math.atan2(-e[2],e[0]))),rotateZ:Hm,rotate:Hm,skewX:e=>Jr(Math.atan(e[4])),skewY:e=>Jr(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function dd(e){return e.includes("scale")?1:0}function fd(e,n){if(!e||e==="none")return dd(n);const i=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let s,a;if(i)s=t2,a=i;else{const d=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);s=e2,a=d}if(!a)return dd(n);const c=s[n],u=a[1].split(",").map(r2);return typeof c=="function"?c(u):u[c]}const n2=(e,n)=>{const{transform:i="none"}=getComputedStyle(e);return fd(i,n)};function r2(e){return parseFloat(e.trim())}const is=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],ss=new Set(is),Ym=e=>e===rs||e===we,i2=new Set(["x","y","z"]),s2=is.filter(e=>!i2.has(e));function o2(e){const n=[];return s2.forEach(i=>{const s=e.getValue(i);s!==void 0&&(n.push([i,s.get()]),s.set(i.startsWith("scale")?1:0))}),n}const Dr={width:({x:e},{paddingLeft:n="0",paddingRight:i="0",boxSizing:s})=>{const a=e.max-e.min;return s==="border-box"?a:a-parseFloat(n)-parseFloat(i)},height:({y:e},{paddingTop:n="0",paddingBottom:i="0",boxSizing:s})=>{const a=e.max-e.min;return s==="border-box"?a:a-parseFloat(n)-parseFloat(i)},top:(e,{top:n})=>parseFloat(n),left:(e,{left:n})=>parseFloat(n),bottom:({y:e},{top:n})=>parseFloat(n)+(e.max-e.min),right:({x:e},{left:n})=>parseFloat(n)+(e.max-e.min),x:(e,{transform:n})=>fd(n,"x"),y:(e,{transform:n})=>fd(n,"y")};Dr.translateX=Dr.x;Dr.translateY=Dr.y;const ti=new Set;let hd=!1,pd=!1,md=!1;function jv(){if(pd){const e=Array.from(ti).filter(s=>s.needsMeasurement),n=new Set(e.map(s=>s.element)),i=new Map;n.forEach(s=>{const a=o2(s);a.length&&(i.set(s,a),s.render())}),e.forEach(s=>s.measureInitialState()),n.forEach(s=>{s.render();const a=i.get(s);a&&a.forEach(([c,u])=>{var d;(d=s.getValue(c))==null||d.set(u)})}),e.forEach(s=>s.measureEndState()),e.forEach(s=>{s.suspendedScrollY!==void 0&&window.scrollTo(0,s.suspendedScrollY)})}pd=!1,hd=!1,ti.forEach(e=>e.complete(md)),ti.clear()}function Fv(){ti.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(pd=!0)})}function a2(){md=!0,Fv(),jv(),md=!1}class nf{constructor(n,i,s,a,c,u=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...n],this.onComplete=i,this.name=s,this.motionValue=a,this.element=c,this.isAsync=u}scheduleResolve(){this.state="scheduled",this.isAsync?(ti.add(this),hd||(hd=!0,We.read(Fv),We.resolveKeyframes(jv))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:n,name:i,element:s,motionValue:a}=this;if(n[0]===null){const c=a==null?void 0:a.get(),u=n[n.length-1];if(c!==void 0)n[0]=c;else if(s&&i){const d=s.readValue(i,u);d!=null&&(n[0]=d)}n[0]===void 0&&(n[0]=u),a&&c===void 0&&a.set(n[0])}Jk(n)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(n=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,n),ti.delete(this)}cancel(){this.state==="scheduled"&&(ti.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const l2=e=>e.startsWith("--");function Pv(e,n,i){l2(n)?e.style.setProperty(n,i):e.style[n]=i}const c2={};function Tv(e,n){const i=iv(e);return()=>c2[n]??i()}const u2=Tv(()=>window.ScrollTimeline!==void 0,"scrollTimeline"),Av=Tv(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Zs=([e,n,i,s])=>`cubic-bezier(${e}, ${n}, ${i}, ${s})`,Xm={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Zs([0,.65,.55,1]),circOut:Zs([.55,0,1,.45]),backIn:Zs([.31,.01,.66,-.59]),backOut:Zs([.33,1.53,.69,.99])};function Mv(e,n){if(e)return typeof e=="function"?Av()?Ev(e,n):"ease-out":mv(e)?Zs(e):Array.isArray(e)?e.map(i=>Mv(i,n)||Xm.easeOut):Xm[e]}function d2(e,n,i,{delay:s=0,duration:a=300,repeat:c=0,repeatType:u="loop",ease:d="easeOut",times:m}={},y=void 0){const g={[n]:i};m&&(g.offset=m);const x=Mv(d,a);Array.isArray(x)&&(g.easing=x);const v={delay:s,duration:a,easing:Array.isArray(x)?"linear":x,fill:"both",iterations:c+1,direction:u==="reverse"?"alternate":"normal"};return y&&(v.pseudoElement=y),e.animate(g,v)}function Rv(e){return typeof e=="function"&&"applyToOptions"in e}function f2({type:e,...n}){return Rv(e)&&Av()?e.applyToOptions(n):(n.duration??(n.duration=300),n.ease??(n.ease="easeOut"),n)}class Iv extends tf{constructor(n){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!n)return;const{element:i,name:s,keyframes:a,pseudoElement:c,allowFlatten:u=!1,finalKeyframe:d,onComplete:m}=n;this.isPseudoElement=!!c,this.allowFlatten=u,this.options=n,Kd(typeof n.type!="string");const y=f2(n);this.animation=d2(i,s,a,y,c),y.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!c){const g=vl(a,this.options,d,this.speed);this.updateMotionValue&&this.updateMotionValue(g),Pv(i,s,g),this.animation.cancel()}m==null||m(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){var n,i;(i=(n=this.animation).finish)==null||i.call(n)}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:n}=this;n==="idle"||n==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){var i,s,a;const n=(i=this.options)==null?void 0:i.element;!this.isPseudoElement&&(n!=null&&n.isConnected)&&((a=(s=this.animation).commitStyles)==null||a.call(s))}get duration(){var i,s;const n=((s=(i=this.animation.effect)==null?void 0:i.getComputedTiming)==null?void 0:s.call(i).duration)||0;return sn(Number(n))}get iterationDuration(){const{delay:n=0}=this.options||{};return this.duration+sn(n)}get time(){return sn(Number(this.animation.currentTime)||0)}set time(n){const i=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=Yt(n),i&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(n){n<0&&(this.finishedTime=null),this.animation.playbackRate=n}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(n){this.manualStartTime=this.animation.startTime=n}attachTimeline({timeline:n,rangeStart:i,rangeEnd:s,observe:a}){var c;return this.allowFlatten&&((c=this.animation.effect)==null||c.updateTiming({easing:"linear"})),this.animation.onfinish=null,n&&u2()?(this.animation.timeline=n,i&&(this.animation.rangeStart=i),s&&(this.animation.rangeEnd=s),on):a(this)}}const _v={anticipate:dv,backInOut:uv,circInOut:hv};function h2(e){return e in _v}function p2(e){typeof e.ease=="string"&&h2(e.ease)&&(e.ease=_v[e.ease])}const Au=10;class m2 extends Iv{constructor(n){p2(n),Dv(n),super(n),n.startTime!==void 0&&n.autoplay!==!1&&(this.startTime=n.startTime),this.options=n}updateMotionValue(n){const{motionValue:i,onUpdate:s,onComplete:a,element:c,...u}=this.options;if(!i)return;if(n!==void 0){i.set(n);return}const d=new nl({...u,autoplay:!1}),m=Math.max(Au,Rt.now()-this.startTime),y=Vn(0,Au,m-Au),g=d.sample(m).value,{name:x}=this.options;c&&x&&Pv(c,x,g),i.setWithVelocity(d.sample(Math.max(0,m-y)).value,g,y),d.stop()}}const qm=(e,n)=>n==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(wn.test(e)||e==="0")&&!e.startsWith("url("));function g2(e){const n=e[0];if(e.length===1)return!0;for(let i=0;i<e.length;i++)if(e[i]!==n)return!0}function y2(e,n,i,s){const a=e[0];if(a===null)return!1;if(n==="display"||n==="visibility")return!0;const c=e[e.length-1],u=qm(a,n),d=qm(c,n);return!u||!d?!1:g2(e)||(i==="spring"||Rv(i))&&s}function gd(e){e.duration=0,e.type="keyframes"}const Lv=new Set(["opacity","clipPath","filter","transform"]),v2=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function x2(e){for(let n=0;n<e.length;n++)if(typeof e[n]=="string"&&v2.test(e[n]))return!0;return!1}
195const w2=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),b2=iv(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function S2(e){var x;const{motionValue:n,name:i,repeatDelay:s,repeatType:a,damping:c,type:u,keyframes:d}=e;if(!(((x=n==null?void 0:n.owner)==null?void 0:x.current)instanceof HTMLElement))return!1;const{onUpdate:y,transformTemplate:g}=n.owner.getProps();return b2()&&i&&(Lv.has(i)||w2.has(i)&&x2(d))&&(i!=="transform"||!g)&&!y&&!s&&a!=="mirror"&&c!==0&&u!=="inertia"}const k2=40;class C2 extends tf{constructor({autoplay:n=!0,delay:i=0,type:s="keyframes",repeat:a=0,repeatDelay:c=0,repeatType:u="loop",keyframes:d,name:m,motionValue:y,element:g,...x}){var C;super(),this.stop=()=>{var S,E;this._animation&&(this._animation.stop(),(S=this.stopTimeline)==null||S.call(this)),(E=this.keyframeResolver)==null||E.cancel()},this.createdAt=Rt.now();const v={autoplay:n,delay:i,type:s,repeat:a,repeatDelay:c,repeatType:u,name:m,motionValue:y,element:g,...x},b=(g==null?void 0:g.KeyframeResolver)||nf;this.keyframeResolver=new b(d,(S,E,j)=>this.onKeyframesResolved(S,E,v,!j),m,y,g),(C=this.keyframeResolver)==null||C.scheduleResolve()}onKeyframesResolved(n,i,s,a){var j,N;this.keyframeResolver=void 0;const{name:c,type:u,velocity:d,delay:m,isHandoff:y,onUpdate:g}=s;this.resolvedAt=Rt.now();let x=!0;y2(n,c,u,d)||(x=!1,(jr.instantAnimations||!m)&&(g==null||g(vl(n,s,i))),n[0]=n[n.length-1],gd(s),s.repeat=0);const b={startTime:a?this.resolvedAt?this.resolvedAt-this.createdAt>k2?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:i,...s,keyframes:n},C=x&&!y&&S2(b),S=(N=(j=b.motionValue)==null?void 0:j.owner)==null?void 0:N.current;let E;if(C)try{E=new m2({...b,element:S})}catch{E=new nl(b)}else E=new nl(b);E.finished.then(()=>{this.notifyFinished()}).catch(on),this.pendingTimeline&&(this.stopTimeline=E.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=E}get finished(){return this._animation?this.animation.finished:this._finished}then(n,i){return this.finished.finally(n).then(()=>{})}get animation(){var n;return this._animation||((n=this.keyframeResolver)==null||n.resume(),a2()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(n){this.animation.time=n}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(n){this.animation.speed=n}get startTime(){return this.animation.startTime}attachTimeline(n){return this._animation?this.stopTimeline=this.animation.attachTimeline(n):this.pendingTimeline=n,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){var n;this._animation&&this.animation.cancel(),(n=this.keyframeResolver)==null||n.cancel()}}function Vv(e,n,i,s=0,a=1){const c=Array.from(e).sort((y,g)=>y.sortNodePosition(g)).indexOf(n),u=e.size,d=(u-1)*s;return typeof i=="function"?i(c,u):a===1?c*s:d-c*s}const E2=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function N2(e){const n=E2.exec(e);if(!n)return[,];const[,i,s,a]=n;return[`--${i??s}`,a]}function Ov(e,n,i=1){const[s,a]=N2(e);if(!s)return;const c=window.getComputedStyle(n).getPropertyValue(s);if(c){const u=c.trim();return tv(u)?parseFloat(u):u}return qd(a)?Ov(a,n,i+1):a}const D2={type:"spring",stiffness:500,damping:25,restSpeed:10},j2=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),F2={type:"keyframes",duration:.8},P2={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},T2=(e,{keyframes:n})=>n.length>2?F2:ss.has(e)?e.startsWith("scale")?j2(n[1]):D2:P2;function Bv(e,n){if(e!=null&&e.inherit&&n){const{inherit:i,...s}=e;return{...n,...s}}return e}function rf(e,n){const i=(e==null?void 0:e[n])??(e==null?void 0:e.default)??e;return i!==e?Bv(i,e):i}const A2=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);function M2(e){for(const n in e)if(!A2.has(n))return!0;return!1}const sf=(e,n,i,s={},a,c)=>u=>{const d=rf(s,e)||{},m=d.delay||s.delay||0;let{elapsed:y=0}=s;y=y-Yt(m);const g={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:n.getVelocity(),...d,delay:-y,onUpdate:v=>{n.set(v),d.onUpdate&&d.onUpdate(v)},onComplete:()=>{u(),d.onComplete&&d.onComplete()},name:e,motionValue:n,element:c?void 0:a};M2(d)||Object.assign(g,T2(e,g)),g.duration&&(g.duration=Yt(g.duration)),g.repeatDelay&&(g.repeatDelay=Yt(g.repeatDelay)),g.from!==void 0&&(g.keyframes[0]=g.from);let x=!1;if((g.type===!1||g.duration===0&&!g.repeatDelay)&&(gd(g),g.delay===0&&(x=!0)),(jr.instantAnimations||jr.skipAnimations||a!=null&&a.shouldSkipAnimations)&&(x=!0,gd(g),g.delay=0),g.allowFlatten=!d.type&&!d.ease,x&&!c&&n.get()!==void 0){const v=vl(g.keyframes,d);if(v!==void 0){We.update(()=>{g.onUpdate(v),g.onComplete()});return}}return d.isSync?new nl(g):new C2(g)};function Qm(e){const n=[{},{}];
vendor: 60,465 bytes, line 195
195return e==null||e.values.forEach((i,s)=>{n[0][s]=i.get(),n[1][s]=i.getVelocity()}),n}function of(e,n,i,s){if(typeof n=="function"){const[a,c]=Qm(s);n=n(i!==void 0?i:e.custom,a,c)}if(typeof n=="string"&&(n=e.variants&&e.variants[n]),typeof n=="function"){const[a,c]=Qm(s);n=n(i!==void 0?i:e.custom,a,c)}return n}function ni(e,n,i){const s=e.getProps();return of(s,n,i!==void 0?i:s.custom,e)}const zv=new Set(["width","height","top","left","right","bottom",...is]),Zm=30,R2=e=>!isNaN(parseFloat(e));class I2{constructor(n,i={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=s=>{var c;const a=Rt.now();if(this.updatedAt!==a&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(s),this.current!==this.prev&&((c=this.events.change)==null||c.notify(this.current),this.dependents))for(const u of this.dependents)u.dirty()},this.hasAnimated=!1,this.setCurrent(n),this.owner=i.owner}setCurrent(n){this.current=n,this.updatedAt=Rt.now(),this.canTrackVelocity===null&&n!==void 0&&(this.canTrackVelocity=R2(this.current))}setPrevFrameValue(n=this.current){this.prevFrameValue=n,this.prevUpdatedAt=this.updatedAt}onChange(n){return this.on("change",n)}on(n,i){this.events[n]||(this.events[n]=new Gd);const s=this.events[n].add(i);return n==="change"?()=>{s(),We.read(()=>{this.events.change.getSize()||this.stop()})}:s}clearListeners(){for(const n in this.events)this.events[n].clear()}attach(n,i){this.passiveEffect=n,this.stopPassiveEffect=i}set(n){this.passiveEffect?this.passiveEffect(n,this.updateAndNotify):this.updateAndNotify(n)}setWithVelocity(n,i,s){this.set(i),this.prev=void 0,this.prevFrameValue=n,this.prevUpdatedAt=this.updatedAt-s}jump(n,i=!0){this.updateAndNotify(n),this.prev=n,this.prevUpdatedAt=this.prevFrameValue=void 0,i&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){var n;(n=this.events.change)==null||n.notify(this.current)}addDependent(n){this.dependents||(this.dependents=new Set),this.dependents.add(n)}removeDependent(n){this.dependents&&this.dependents.delete(n)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const n=Rt.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||n-this.updatedAt>Zm)return 0;const i=Math.min(this.updatedAt-this.prevUpdatedAt,Zm);return sv(parseFloat(this.current)-parseFloat(this.prevFrameValue),i)}start(n){return this.stop(),new Promise(i=>{this.hasAnimated=!0,this.animation=n(i),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){var n,i;(n=this.dependents)==null||n.clear(),(i=this.events.destroy)==null||i.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Ji(e,n){return new I2(e,n)}const yd=e=>Array.isArray(e);function _2(e,n,i){e.hasValue(n)?e.getValue(n).set(i):e.addValue(n,Ji(i))}function L2(e){return yd(e)?e[e.length-1]||0:e}function V2(e,n){const i=ni(e,n);let{transitionEnd:s={},transition:a={},...c}=i||{};c={...c,...s};for(const u in c){const d=L2(c[u]);_2(e,u,d)}}const Ct=e=>!!(e&&e.getVelocity);function O2(e){return!!(Ct(e)&&e.add)}function vd(e,n){const i=e.getValue("willChange");if(O2(i))return i.add(n);if(!i&&jr.WillChange){const s=new jr.WillChange("auto");e.addValue("willChange",s),s.add(n)}}function af(e){return e.replace(/([A-Z])/g,n=>`-${n.toLowerCase()}`)}const B2="framerAppearId",Wv="data-"+af(B2);function Uv(e){return e.props[Wv]}function z2({protectedKeys:e,needsAnimating:n},i){const s=e.hasOwnProperty(i)&&n[i]!==!0;return n[i]=!1,s}function $v(e,n,{delay:i=0,transitionOverride:s,type:a}={}){let{transition:c,transitionEnd:u,...d}=n;const m=e.getDefaultTransition();c=c?Bv(c,m):m;const y=c==null?void 0:c.reduceMotion;s&&(c=s);const g=[],x=a&&e.animationState&&e.animationState.getState()[a];for(const v in d){const b=e.getValue(v,e.latestValues[v]??null),C=d[v];if(C===void 0||x&&z2(x,v))continue;const S={delay:i,...rf(c||{},v)},E=b.get();if(E!==void 0&&!b.isAnimating()&&!Array.isArray(C)&&C===E&&!S.velocity){We.update(()=>b.set(C));continue}let j=!1;if(window.MotionHandoffAnimation){const I=Uv(e);if(I){const L=window.MotionHandoffAnimation(I,v,We);L!==null&&(S.startTime=L,j=!0)}}vd(e,v);const N=y??e.shouldReduceMotion;b.start(sf(v,b,C,N&&zv.has(v)?{type:!1}:S,e,j));const F=b.animation;F&&g.push(F)}if(u){const v=()=>We.update(()=>{u&&V2(e,u)});g.length?Promise.all(g).then(v):v()}return g}function xd(e,n,i={}){var m;const s=ni(e,n,i.type==="exit"?(m=e.presenceContext)==null?void 0:m.custom:void 0);let{transition:a=e.getDefaultTransition()||{}}=s||{};i.transitionOverride&&(a=i.transitionOverride);const c=s?()=>Promise.all($v(e,s,i)):()=>Promise.resolve(),u=e.variantChildren&&e.variantChildren.size?(y=0)=>{const{delayChildren:g=0,staggerChildren:x,staggerDirection:v}=a;return W2(e,n,y,g,x,v,i)}:()=>Promise.resolve(),{when:d}=a;if(d){const[y,g]=d==="beforeChildren"?[c,u]:[u,c];return y().then(()=>g())}else return Promise.all([c(),u(i.delay)])}function W2(e,n,i=0,s=0,a=0,c=1,u){const d=[];for(const m of e.variantChildren)m.notify("AnimationStart",n),d.push(xd(m,n,{...u,delay:i+(typeof s=="function"?0:s)+Vv(e.variantChildren,m,s,a,c)}).then(()=>m.notify("AnimationComplete",n)));return Promise.all(d)}function U2(e,n,i={}){e.notify("AnimationStart",n);let s;if(Array.isArray(n)){const a=n.map(c=>xd(e,c,i));s=Promise.all(a)}else if(typeof n=="string")s=xd(e,n,i);else{const a=typeof n=="function"?ni(e,n,i.custom):n;s=Promise.all($v(e,a,i))}return s.then(()=>{e.notify("AnimationComplete",n)})}const $2={test:e=>e==="auto",parse:e=>e},Hv=e=>n=>n.test(e),Kv=[rs,we,_n,kr,gk,mk,$2],Jm=e=>Kv.find(Hv(e));function H2(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||rv(e):!0}const K2=new Set(["brightness","contrast","saturate","opacity"]);function G2(e){const[n,i]=e.slice(0,-1).split("(");if(n==="drop-shadow")return e;const[s]=i.match(Qd)||[];if(!s)return e;const a=i.replace(s,"");let c=K2.has(n)?1:0;return s!==i&&(c*=100),n+"("+c+a+")"}const Y2=/\b([a-z-]*)\(.*?\)/gu,wd={...wn,getAnimatableNone:e=>{const n=e.match(Y2);return n?n.map(G2).join(" "):e}},bd={...wn,getAnimatableNone:e=>{const n=wn.parse(e);return wn.createTransformer(e)(n.map(s=>typeof s=="number"?0:typeof s=="object"?{...s,alpha:1}:s))}},eg={...rs,transform:Math.round},X2={rotate:kr,rotateX:kr,rotateY:kr,rotateZ:kr,scale:Ta,scaleX:Ta,scaleY:Ta,scaleZ:Ta,skew:kr,skewX:kr,skewY:kr,distance:we,translateX:we,translateY:we,translateZ:we,x:we,y:we,z:we,perspective:we,transformPerspective:we,opacity:ao,originX:Bm,originY:Bm,originZ:we},lf={borderWidth:we,borderTopWidth:we,borderRightWidth:we,borderBottomWidth:we,borderLeftWidth:we,borderRadius:we,borderTopLeftRadius:we,borderTopRightRadius:we,borderBottomRightRadius:we,borderBottomLeftRadius:we,width:we,maxWidth:we,height:we,maxHeight:we,top:we,right:we,bottom:we,left:we,inset:we,insetBlock:we,insetBlockStart:we,insetBlockEnd:we,insetInline:we,insetInlineStart:we,insetInlineEnd:we,padding:we,paddingTop:we,paddingRight:we,paddingBottom:we,paddingLeft:we,paddingBlock:we,paddingBlockStart:we,paddingBlockEnd:we,paddingInline:we,paddingInlineStart:we,paddingInlineEnd:we,margin:we,marginTop:we,marginRight:we,marginBottom:we,marginLeft:we,marginBlock:we,marginBlockStart:we,marginBlockEnd:we,marginInline:we,marginInlineStart:we,marginInlineEnd:we,fontSize:we,backgroundPositionX:we,backgroundPositionY:we,...X2,zIndex:eg,fillOpacity:ao,strokeOpacity:ao,numOctaves:eg},q2={...lf,color:ct,backgroundColor:ct,outlineColor:ct,fill:ct,stroke:ct,borderColor:ct,borderTopColor:ct,borderRightColor:ct,borderBottomColor:ct,borderLeftColor:ct,filter:wd,WebkitFilter:wd,mask:bd,WebkitMask:bd},Gv=e=>q2[e],Q2=new Set([wd,bd]);function Yv(e,n){let i=Gv(e);return Q2.has(i)||(i=wn),i.getAnimatableNone?i.getAnimatableNone(n):void 0}const Z2=new Set(["auto","none","0"]);function J2(e,n,i){let s=0,a;for(;s<e.length&&!a;){const c=e[s];typeof c=="string"&&!Z2.has(c)&&Zi(c).values.length&&(a=e[s]),s++}if(a&&i)for(const c of n)e[c]=Yv(i,a)}class eC extends nf{constructor(n,i,s,a,c){super(n,i,s,a,c,!0)}readKeyframes(){const{unresolvedKeyframes:n,element:i,name:s}=this;if(!i||!i.current)return;super.readKeyframes();for(let g=0;g<n.length;g++){let x=n[g];if(typeof x=="string"&&(x=x.trim(),qd(x))){const v=Ov(x,i.current);v!==void 0&&(n[g]=v),g===n.length-1&&(this.finalKeyframe=x)}}if(this.resolveNoneKeyframes(),!zv.has(s)||n.length!==2)return;const[a,c]=n,u=Jm(a),d=Jm(c),m=Om(a),y=Om(c);if(m!==y&&Dr[s]){this.needsMeasurement=!0;return}if(u!==d)if(Ym(u)&&Ym(d))for(let g=0;g<n.length;g++){const x=n[g];typeof x=="string"&&(n[g]=parseFloat(x))}else Dr[s]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:n,name:i}=this,s=[];for(let a=0;a<n.length;a++)(n[a]===null||H2(n[a]))&&s.push(a);s.length&&J2(n,s,i)}measureInitialState(){const{element:n,unresolvedKeyframes:i,name:s}=this;if(!n||!n.current)return;s==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Dr[s](n.measureViewportBox(),window.getComputedStyle(n.current)),i[0]=this.measuredOrigin;const a=i[i.length-1];a!==void 0&&n.getValue(s,a).jump(a,!1)}measureEndState(){var d;const{element:n,name:i,unresolvedKeyframes:s}=this;if(!n||!n.current)return;const a=n.getValue(i);a&&a.jump(this.measuredOrigin,!1);const c=s.length-1,u=s[c];s[c]=Dr[i](n.measureViewportBox(),window.getComputedStyle(n.current)),u!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=u),(d=this.removedTransforms)!=null&&d.length&&this.removedTransforms.forEach(([m,y])=>{n.getValue(m).set(y)}),this.resolveNoneKeyframes()}}function cf(e,n,i){if(e==null)return[];if(e instanceof EventTarget)return[e];if(typeof e=="string"){const a=document.querySelectorAll(e);return a?Array.from(a):[]}return Array.from(e).filter(s=>s!=null)}const Xv=(e,n)=>n&&typeof e=="number"?n.transform(e):e;function za(e){return nv(e)&&"offsetHeight"in e&&!("ownerSVGElement"in e)}const{schedule:uf}=gv(queueMicrotask,!1),gn={x:!1,y:!1};function qv(){return gn.x||gn.y}function tC(e){return e==="x"||e==="y"?gn[e]?null:(gn[e]=!0,()=>{gn[e]=!1}):gn.x||gn.y?null:(gn.x=gn.y=!0,()=>{gn.x=gn.y=!1})}function Qv(e,n){const i=cf(e),s=new AbortController,a={passive:!0,...n,signal:s.signal};return[i,a,()=>s.abort()]}function nC(e){return!(e.pointerType==="touch"||qv())}function rC(e,n,i={}){const[s,a,c]=Qv(e,i);return s.forEach(u=>{let d=!1,m=!1,y;const g=()=>{u.removeEventListener("pointerleave",C)},x=E=>{y&&(y(E),y=void 0),g()},v=E=>{d=!1,window.removeEventListener("pointerup",v),window.removeEventListener("pointercancel",v),m&&(m=!1,x(E))},b=()=>{d=!0,window.addEventListener("pointerup",v,a),window.addEventListener("pointercancel",v,a)},C=E=>{if(E.pointerType!=="touch"){if(d){m=!0;return}x(E)}},S=E=>{if(!nC(E))return;m=!1;const j=n(u,E);typeof j=="function"&&(y=j,u.addEventListener("pointerleave",C,a))};u.addEventListener("pointerenter",S,a),u.addEventListener("pointerdown",b,a)}),c}const Zv=(e,n)=>n?e===n?!0:Zv(e,n.parentElement):!1,df=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,iC=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function sC(e){return iC.has(e.tagName)||e.isContentEditable===!0}const oC=new Set(["INPUT","SELECT","TEXTAREA"]);function aC(e){return oC.has(e.tagName)||e.isContentEditable===!0}const Wa=new WeakSet;function tg(e){return n=>{n.key==="Enter"&&e(n)}}function Mu(e,n){e.dispatchEvent(new PointerEvent("pointer"+n,{isPrimary:!0,bubbles:!0}))}const lC=(e,n)=>{const i=e.currentTarget;if(!i)return;const s=tg(()=>{if(Wa.has(i))return;Mu(i,"down");const a=tg(()=>{Mu(i,"up")}),c=()=>Mu(i,"cancel");i.addEventListener("keyup",a,n),i.addEventListener("blur",c,n)});i.addEventListener("keydown",s,n),i.addEventListener("blur",()=>i.removeEventListener("keydown",s),n)};function ng(e){return df(e)&&!qv()}const rg=new WeakSet;function cC(e,n,i={}){const[s,a,c]=Qv(e,i),u=d=>{const m=d.currentTarget;if(!ng(d)||rg.has(d))return;Wa.add(m),i.stopPropagation&&rg.add(d);const y=n(m,d),g=(b,C)=>{window.removeEventListener("pointerup",x),window.removeEventListener("pointercancel",v),Wa.has(m)&&Wa.delete(m),ng(b)&&typeof y=="function"&&y(b,{success:C})},x=b=>{g(b,m===window||m===document||i.useGlobalTarget||Zv(m,b.target))},v=b=>{g(b,!1)};window.addEventListener("pointerup",x,a),window.addEventListener("pointercancel",v,a)};return s.forEach(d=>{(i.useGlobalTarget?window:d).addEventListener("pointerdown",u,a),za(d)&&(d.addEventListener("focus",y=>lC(y,a)),!sC(d)&&!d.hasAttribute("tabindex")&&(d.tabIndex=0))}),c}function ff(e){return nv(e)&&"ownerSVGElement"in e}const Ua=new WeakMap;let Cr;const Jv=(e,n,i)=>(s,a)=>a&&a[0]?a[0][e+"Size"]:ff(s)&&"getBBox"in s?s.getBBox()[n]:s[i],uC=Jv("inline","width","offsetWidth"),dC=Jv("block","height","offsetHeight");function fC({target:e,borderBoxSize:n}){var i;(i=Ua.get(e))==null||i.forEach(s=>{s(e,{get width(){return uC(e,n)},get height(){return dC(e,n)}})})}function hC(e){e.forEach(fC)}function pC(){typeof ResizeObserver>"u"||(Cr=new ResizeObserver(hC))}function mC(e,n){Cr||pC();const i=cf(e);return i.forEach(s=>{let a=Ua.get(s);a||(a=new Set,Ua.set(s,a)),a.add(n),Cr==null||Cr.observe(s)}),()=>{i.forEach(s=>{const a=Ua.get(s);a==null||a.delete(n),a!=null&&a.size||Cr==null||Cr.unobserve(s)})}}const $a=new Set;let Wi;function gC(){Wi=()=>{const e={get width(){return window.innerWidth},get height(){return window.innerHeight}};$a.forEach(n=>n(e))},window.addEventListener("resize",Wi)}function yC(e){return $a.add(e),Wi||gC(),()=>{$a.delete(e),!$a.size&&typeof Wi=="function"&&(window.removeEventListener("resize",Wi),Wi=void 0)}}function ig(e,n){return typeof e=="function"?yC(e):mC(e,n)}function vC(e){return ff(e)&&e.tagName==="svg"}const xC=[...Kv,ct,wn],wC=e=>xC.find(Hv(e)),sg=()=>({translate:0,scale:1,origin:0,originPoint:0}),Ui=()=>({x:sg(),y:sg()}),og=()=>({min:0,max:0}),mt=()=>({x:og(),y:og()}),bC=new WeakMap;function xl(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function lo(e){return typeof e=="string"||Array.isArray(e)}const hf=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],pf=["initial",...hf];function wl(e){return xl(e.animate)||pf.some(n=>lo(e[n]))}function e0(e){return!!(wl(e)||e.variants)}function SC(e,n,i){for(const s in n){const a=n[s],c=i[s];if(Ct(a))e.addValue(s,a);else if(Ct(c))e.addValue(s,Ji(a,{owner:e}));else if(c!==a)if(e.hasValue(s)){const u=e.getValue(s);u.liveStyle===!0?u.jump(a):u.hasAnimated||u.set(a)}else{const u=e.getStaticValue(s);e.addValue(s,Ji(u!==void 0?u:a,{owner:e}))}}for(const s in i)n[s]===void 0&&e.removeValue(s);return n}const Sd={current:null},t0={current:!1},kC=typeof window<"u";function CC(){if(t0.current=!0,!!kC)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),n=()=>Sd.current=e.matches;e.addEventListener("change",n),n()}else Sd.current=!1}const ag=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let rl={};function n0(e){rl=e}function EC(){return rl}class NC{scrapeMotionValuesFromProps(n,i,s){return{}}constructor({parent:n,props:i,presenceContext:s,reducedMotionConfig:a,skipAnimations:c,blockInitialAnimation:u,visualState:d},m={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=nf,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const b=Rt.now();this.renderScheduledAt<b&&(this.renderScheduledAt=b,We.render(this.render,!1,!0))};const{latestValues:y,renderState:g}=d;this.latestValues=y,this.baseTarget={...y},this.initialValues=i.initial?{...y}:{},this.renderState=g,this.parent=n,this.props=i,this.presenceContext=s,this.depth=n?n.depth+1:0,this.reducedMotionConfig=a,this.skipAnimationsConfig=c,this.options=m,this.blockInitialAnimation=!!u,this.isControllingVariants=wl(i),this.isVariantNode=e0(i),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(n&&n.current);const{willChange:x,...v}=this.scrapeMotionValuesFromProps(i,{},this);for(const b in v){const C=v[b];y[b]!==void 0&&Ct(C)&&C.set(y[b])}}mount(n){var i,s;if(this.hasBeenMounted)for(const a in this.initialValues)(i=this.values.get(a))==null||i.jump(this.initialValues[a]),this.latestValues[a]=this.initialValues[a];this.current=n,bC.set(n,this),this.projection&&!this.projection.instance&&this.projection.mount(n),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((a,c)=>this.bindToMotionValue(c,a)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(t0.current||CC(),this.shouldReduceMotion=Sd.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,(s=this.parent)==null||s.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){var n;this.projection&&this.projection.unmount(),Fr(this.notifyUpdate),Fr(this.render),this.valueSubscriptions.forEach(i=>i()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),(n=this.parent)==null||n.removeChild(this);for(const i in this.events)this.events[i].clear();for(const i in this.features){const s=this.features[i];s&&(s.unmount(),s.isMounted=!1)}this.current=null}addChild(n){this.children.add(n),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(n)}removeChild(n){this.children.delete(n),this.enteringChildren&&this.enteringChildren.delete(n)}bindToMotionValue(n,i){if(this.valueSubscriptions.has(n)&&this.valueSubscriptions.get(n)(),i.accelerate&&Lv.has(n)&&this.current instanceof HTMLElement){const{factory:u,keyframes:d,times:m,ease:y,duration:g}=i.accelerate,x=new Iv({element:this.current,name:n,keyframes:d,times:m,ease:y,duration:Yt(g)}),v=u(x);this.valueSubscriptions.set(n,()=>{v(),x.cancel()});return}const s=ss.has(n);s&&this.onBindTransform&&this.onBindTransform();const a=i.on("change",u=>{this.latestValues[n]=u,this.props.onUpdate&&We.preRender(this.notifyUpdate),s&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let c;typeof window<"u"&&window.MotionCheckAppearSync&&(c=window.MotionCheckAppearSync(this,n,i)),this.valueSubscriptions.set(n,()=>{a(),c&&c(),i.owner&&i.stop()})}sortNodePosition(n){return!this.current||!this.sortInstanceNodePosition||this.type!==n.type?0:this.sortInstanceNodePosition(this.current,n.current)}updateFeatures(){let n="animation";for(n in rl){const i=rl[n];if(!i)continue;const{isEnabled:s,Feature:a}=i;if(!this.features[n]&&a&&s(this.props)&&(this.features[n]=new a(this)),this.features[n]){const c=this.features[n];c.isMounted?c.update():(c.mount(),c.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):mt()}getStaticValue(n){return this.latestValues[n]}setStaticValue(n,i){this.latestValues[n]=i}update(n,i){(n.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=n,this.prevPresenceContext=this.presenceContext,this.presenceContext=i;for(let s=0;s<ag.length;s++){const a=ag[s];this.propEventSubscriptions[a]&&(this.propEventSubscriptions[a](),delete this.propEventSubscriptions[a]);const c="on"+a,u=n[c];u&&(this.propEventSubscriptions[a]=this.on(a,u))}this.prevMotionValues=SC(this,this.scrapeMotionValuesFromProps(n,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(n){return this.props.variants?this.props.variants[n]: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(n){const i=this.getClosestVariantNode();if(i)return i.variantChildren&&i.variantChildren.add(n),()=>i.variantChildren.delete(n)}addValue(n,i){const s=this.values.get(n);i!==s&&(s&&this.removeValue(n),this.bindToMotionValue(n,i),this.values.set(n,i),this.latestValues[n]=i.get())}removeValue(n){this.values.delete(n);const i=this.valueSubscriptions.get(n);i&&(i(),this.valueSubscriptions.delete(n)),delete this.latestValues[n],this.removeValueFromRenderState(n,this.renderState)}hasValue(n){return this.values.has(n)}getValue(n,i){if(this.props.values&&this.props.values[n])return this.props.values[n];let s=this.values.get(n);return s===void 0&&i!==void 0&&(s=Ji(i===null?void 0:i,{owner:this}),this.addValue(n,s)),s}readValue(n,i){let s=this.latestValues[n]!==void 0||!this.current?this.latestValues[n]:this.getBaseTargetFromProps(this.props,n)??this.readValueFromInstance(this.current,n,this.options);return s!=null&&(typeof s=="string"&&(tv(s)||rv(s))?s=parseFloat(s):!wC(s)&&wn.test(i)&&(s=Yv(n,i)),this.setBaseTarget(n,Ct(s)?s.get():s)),Ct(s)?s.get():s}setBaseTarget(n,i){this.baseTarget[n]=i}getBaseTarget(n){var c;const{initial:i}=this.props;let s;if(typeof i=="string"||typeof i=="object"){const u=of(this.props,i,(c=this.presenceContext)==null?void 0:c.custom);u&&(s=u[n])}if(i&&s!==void 0)return s;const a=this.getBaseTargetFromProps(this.props,n);return a!==void 0&&!Ct(a)?a:this.initialValues[n]!==void 0&&s===void 0?void 0:this.baseTarget[n]}on(n,i){return this.events[n]||(this.events[n]=new Gd),this.events[n].add(i)}notify(n,...i){this.events[n]&&this.events[n].notify(...i)}scheduleRenderMicrotask(){uf.render(this.render)}}class r0 extends NC{constructor(){super(...arguments),this.KeyframeResolver=eC}sortInstanceNodePosition(n,i){return n.compareDocumentPosition(i)&2?1:-1}getBaseTargetFromProps(n,i){const s=n.style;return s?s[i]:void 0}removeValueFromRenderState(n,{vars:i,style:s}){delete i[n],delete s[n]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:n}=this.props;Ct(n)&&(this.childSubscription=n.on("change",i=>{this.current&&(this.current.textContent=`${i}`)}))}}class Ar{constructor(n){this.isMounted=!1,this.node=n}update(){}}function i0({top:e,left:n,right:i,bottom:s}){return{x:{min:n,max:i},y:{min:e,max:s}}}function DC({x:e,y:n}){return{top:n.min,right:e.max,bottom:n.max,left:e.min}}function jC(e,n){if(!n)return e;const i=n({x:e.left,y:e.top}),s=n({x:e.right,y:e.bottom});return{top:i.y,left:i.x,bottom:s.y,right:s.x}}function Ru(e){return e===void 0||e===1}function kd({scale:e,scaleX:n,scaleY:i}){return!Ru(e)||!Ru(n)||!Ru(i)}function Qr(e){return kd(e)||s0(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function s0(e){return lg(e.x)||lg(e.y)}function lg(e){return e&&e!=="0%"}function il(e,n,i){const s=e-i,a=n*s;return i+a}function cg(e,n,i,s,a){return a!==void 0&&(e=il(e,a,s)),il(e,i,s)+n}function Cd(e,n=0,i=1,s,a){e.min=cg(e.min,n,i,s,a),e.max=cg(e.max,n,i,s,a)}function o0(e,{x:n,y:i}){Cd(e.x,n.translate,n.scale,n.originPoint),Cd(e.y,i.translate,i.scale,i.originPoint)}const ug=.999999999999,dg=1.0000000000001;function FC(e,n,i,s=!1){var d;const a=i.length;if(!a)return;n.x=n.y=1;let c,u;for(let m=0;m<a;m++){c=i[m],u=c.projectionDelta;const{visualElement:y}=c.options;y&&y.props.style&&y.props.style.display==="contents"||(s&&c.options.layoutScroll&&c.scroll&&c!==c.root&&(Tn(e.x,-c.scroll.offset.x),Tn(e.y,-c.scroll.offset.y)),u&&(n.x*=u.x.scale,n.y*=u.y.scale,o0(e,u)),s&&Qr(c.latestValues)&&Ha(e,c.latestValues,(d=c.layout)==null?void 0:d.layoutBox))}n.x<dg&&n.x>ug&&(n.x=1),n.y<dg&&n.y>ug&&(n.y=1)}function Tn(e,n){e.min+=n,e.max+=n}function fg(e,n,i,s,a=.5){const c=Xe(e.min,e.max,a);Cd(e,n,i,c,s)}function hg(e,n){return typeof e=="string"?parseFloat(e)/100*(n.max-n.min):e}function Ha(e,n,i){const s=i??e;fg(e.x,hg(n.x,s.x),n.scaleX,n.scale,n.originX),fg(e.y,hg(n.y,s.y),n.scaleY,n.scale,n.originY)}function a0(e,n){return i0(jC(e.getBoundingClientRect(),n))}function PC(e,n,i){const s=a0(e,i),{scroll:a}=n;return a&&(Tn(s.x,a.offset.x),Tn(s.y,a.offset.y)),s}const TC={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},AC=is.length;function MC(e,n,i){let s="",a=!0;for(let c=0;c<AC;c++){const u=is[c],d=e[u];if(d===void 0)continue;let m=!0;if(typeof d=="number")m=d===(u.startsWith("scale")?1:0);else{const y=parseFloat(d);m=u.startsWith("scale")?y===1:y===0}if(!m||i){const y=Xv(d,lf[u]);if(!m){a=!1;const g=TC[u]||u;s+=`${g}(${y}) `}i&&(n[u]=y)}}return s=s.trim(),i?s=i(n,a?"":s):a&&(s="none"),s}function mf(e,n,i){const{style:s,vars:a,transformOrigin:c}=e;let u=!1,d=!1;for(const m in n){const y=n[m];if(ss.has(m)){u=!0;continue}else if(vv(m)){a[m]=y;continue}else{const g=Xv(y,lf[m]);m.startsWith("origin")?(d=!0,c[m]=g):s[m]=g}}if(n.transform||(u||i?s.transform=MC(n,e.transform,i):s.transform&&(s.transform="none")),d){const{originX:m="50%",originY:y="50%",originZ:g=0}=c;s.transformOrigin=`${m} ${y} ${g}`}}function l0(e,{style:n,vars:i},s,a){const c=e.style;let u;for(u in n)c[u]=n[u];a==null||a.applyProjectionStyles(c,s);for(u in i)c.setProperty(u,i[u])}function pg(e,n){return n.max===n.min?0:e/(n.max-n.min)*100}const Xs={correct:(e,n)=>{if(!n.target)return e;if(typeof e=="string")if(we.test(e))e=parseFloat(e);else return e;const i=pg(e,n.target.x),s=pg(e,n.target.y);return`${i}% ${s}%`}},RC={correct:(e,{treeScale:n,projectionDelta:i})=>{const s=e,a=wn.parse(e);if(a.length>5)return s;const c=wn.createTransformer(e),u=typeof a[0]!="number"?1:0,d=i.x.scale*n.x,m=i.y.scale*n.y;a[0+u]/=d,a[1+u]/=m;const y=Xe(d,m,.5);return typeof a[2+u]=="number"&&(a[2+u]/=y),typeof a[3+u]=="number"&&(a[3+u]/=y),c(a)}},Ed={borderRadius:{...Xs,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Xs,borderTopRightRadius:Xs,borderBottomLeftRadius:Xs,borderBottomRightRadius:Xs,boxShadow:RC};function c0(e,{layout:n,layoutId:i}){return ss.has(e)||e.startsWith("origin")||(n||i!==void 0)&&(!!Ed[e]||e==="opacity")}function gf(e,n,i){var u;const s=e.style,a=n==null?void 0:n.style,c={};if(!s)return c;for(const d in s)(Ct(s[d])||a&&Ct(a[d])||c0(d,e)||((u=i==null?void 0:i.getValue(d))==null?void 0:u.liveStyle)!==void 0)&&(c[d]=s[d]);return c}function IC(e){return window.getComputedStyle(e)}class _C extends r0{constructor(){super(...arguments),this.type="html",this.renderInstance=l0}readValueFromInstance(n,i){var s;if(ss.has(i))return(s=this.projection)!=null&&s.isProjecting?dd(i):n2(n,i);{const a=IC(n),c=(vv(i)?a.getPropertyValue(i):a[i])||0;return typeof c=="string"?c.trim():c}}measureInstanceViewportBox(n,{transformPagePoint:i}){return a0(n,i)}build(n,i,s){mf(n,i,s.transformTemplate)}scrapeMotionValuesFromProps(n,i,s){return gf(n,i,s)}}const LC={offset:"stroke-dashoffset",array:"stroke-dasharray"},VC={offset:"strokeDashoffset",array:"strokeDasharray"};function OC(e,n,i=1,s=0,a=!0){e.pathLength=1;const c=a?LC:VC;e[c.offset]=`${-s}`,e[c.array]=`${n} ${i}`}const BC=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function u0(e,{attrX:n,attrY:i,attrScale:s,pathLength:a,pathSpacing:c=1,pathOffset:u=0,...d},m,y,g){if(mf(e,d,y),m){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:x,style:v}=e;x.transform&&(v.transform=x.transform,delete x.transform),(v.transform||x.transformOrigin)&&(v.transformOrigin=x.transformOrigin??"50% 50%",delete x.transformOrigin),v.transform&&(v.transformBox=(g==null?void 0:g.transformBox)??"fill-box",delete x.transformBox);for(const b of BC)x[b]!==void 0&&(v[b]=x[b],delete x[b]);n!==void 0&&(x.x=n),i!==void 0&&(x.y=i),s!==void 0&&(x.scale=s),a!==void 0&&OC(x,a,c,u,!1)}const d0=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"]),f0=e=>typeof e=="string"&&e.toLowerCase()==="svg";function zC(e,n,i,s){l0(e,n,void 0,s);for(const a in n.attrs)e.setAttribute(d0.has(a)?a:af(a),n.attrs[a])}function h0(e,n,i){const s=gf(e,n,i);for(const a in e)if(Ct(e[a])||Ct(n[a])){const c=is.indexOf(a)!==-1?"attr"+a.charAt(0).toUpperCase()+a.substring(1):a;s[c]=e[a]}return s}class WC extends r0{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=mt}getBaseTargetFromProps(n,i){return n[i]}readValueFromInstance(n,i){if(ss.has(i)){const s=Gv(i);return s&&s.default||0}return i=d0.has(i)?i:af(i),n.getAttribute(i)}scrapeMotionValuesFromProps(n,i,s){return h0(n,i,s)}build(n,i,s){u0(n,i,this.isSVGTag,s.transformTemplate,s.style)}renderInstance(n,i,s,a){zC(n,i,s,a)}mount(n){this.isSVGTag=f0(n.tagName),super.mount(n)}}const UC=pf.length;function p0(e){if(!e)return;if(!e.isControllingVariants){const i=e.parent?p0(e.parent)||{}:{};return e.props.initial!==void 0&&(i.initial=e.props.initial),i}const n={};for(let i=0;i<UC;i++){const s=pf[i],a=e.props[s];(lo(a)||a===!1)&&(n[s]=a)}return n}function m0(e,n){if(!Array.isArray(n))return!1;const i=n.length;if(i!==e.length)return!1;for(let s=0;s<i;s++)if(n[s]!==e[s])return!1;return!0}const $C=[...hf].reverse(),HC=hf.length;function KC(e){return n=>Promise.all(n.map(({animation:i,options:s})=>U2(e,i,s)))}function GC(e){let n=KC(e),i=mg(),s=!0,a=!1;const c=y=>(g,x)=>{var b;const v=ni(e,x,y==="exit"?(b=e.presenceContext)==null?void 0:b.custom:void 0);if(v){const{transition:C,transitionEnd:S,...E}=v;g={...g,...E,...S}}return g};function u(y){n=y(e)}function d(y){const{props:g}=e,x=p0(e.parent)||{},v=[],b=new Set;let C={},S=1/0;for(let j=0;j<HC;j++){const N=$C[j],F=i[N],I=g[N]!==void 0?g[N]:x[N],L=lo(I),H=N===y?F.isActive:null;H===!1&&(S=j);let U=I===x[N]&&I!==g[N]&&L;if(U&&(s||a)&&e.manuallyAnimateOnMount&&(U=!1),F.protectedKeys={...C},!F.isActive&&H===null||!I&&!F.prevProp||xl(I)||typeof I=="boolean")continue;if(N==="exit"&&F.isActive&&H!==!0){F.prevResolvedValues&&(C={...C,...F.prevResolvedValues});continue}const z=YC(F.prevProp,I);let q=z||N===y&&F.isActive&&!U&&L||j>S&&L,K=!1;const le=Array.isArray(I)?I:[I];let ee=le.reduce(c(N),{});H===!1&&(ee={});const{prevResolvedValues:ne={}}=F,oe={...ne,...ee},pe=R=>{q=!0,b.has(R)&&(K=!0,b.delete(R)),F.needsAnimating[R]=!0;const X=e.getValue(R);X&&(X.liveStyle=!1)};for(const R in oe){const X=ee[R],Q=ne[R];if(C.hasOwnProperty(R))continue;let A=!1;yd(X)&&yd(Q)?A=!m0(X,Q):A=X!==Q,A?X!=null?pe(R):b.add(R):X!==void 0&&b.has(R)?pe(R):F.protectedKeys[R]=!0}F.prevProp=I,F.prevResolvedValues=ee,F.isActive&&(C={...C,...ee}),(s||a)&&e.blockInitialAnimation&&(q=!1);const se=U&&z;q&&(!se||K)&&v.push(...le.map(R=>{const X={type:N};if(typeof R=="string"&&(s||a)&&!se&&e.manuallyAnimateOnMount&&e.parent){const{parent:Q}=e,A=ni(Q,R);if(Q.enteringChildren&&A){const{delayChildren:$}=A.transition||{};X.delay=Vv(Q.enteringChildren,e,$)}}return{animation:R,options:X}}))}if(b.size){const j={};if(typeof g.initial!="boolean"){const N=ni(e,Array.isArray(g.initial)?g.initial[0]:g.initial);N&&N.transition&&(j.transition=N.transition)}b.forEach(N=>{const F=e.getBaseTarget(N),I=e.getValue(N);I&&(I.liveStyle=!0),j[N]=F??null}),v.push({animation:j})}let E=!!v.length;return s&&(g.initial===!1||g.initial===g.animate)&&!e.manuallyAnimateOnMount&&(E=!1),s=!1,a=!1,E?n(v):Promise.resolve()}function m(y,g){var v;if(i[y].isActive===g)return Promise.resolve();(v=e.variantChildren)==null||v.forEach(b=>{var C;return(C=b.animationState)==null?void 0:C.setActive(y,g)}),i[y].isActive=g;const x=d(y);for(const b in i)i[b].protectedKeys={};return x}return{animateChanges:d,setActive:m,setAnimateFunction:u,getState:()=>i,reset:()=>{i=mg(),a=!0}}}function YC(e,n){return typeof n=="string"?n!==e:Array.isArray(n)?!m0(n,e):!1}function Xr(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function mg(){return{animate:Xr(!0),whileInView:Xr(),whileHover:Xr(),whileTap:Xr(),whileDrag:Xr(),whileFocus:Xr(),exit:Xr()}}function Nd(e,n){e.min=n.min,e.max=n.max}function mn(e,n){Nd(e.x,n.x),Nd(e.y,n.y)}function gg(e,n){e.translate=n.translate,e.scale=n.scale,e.originPoint=n.originPoint,e.origin=n.origin}const g0=1e-4,XC=1-g0,qC=1+g0,y0=.01,QC=0-y0,ZC=0+y0;function It(e){return e.max-e.min}function JC(e,n,i){return Math.abs(e-n)<=i}function yg(e,n,i,s=.5){e.origin=s,e.originPoint=Xe(n.min,n.max,e.origin),e.scale=It(i)/It(n),e.translate=Xe(i.min,i.max,e.origin)-e.originPoint,(e.scale>=XC&&e.scale<=qC||isNaN(e.scale))&&(e.scale=1),(e.translate>=QC&&e.translate<=ZC||isNaN(e.translate))&&(e.translate=0)}function no(e,n,i,s){yg(e.x,n.x,i.x,s?s.originX:void 0),yg(e.y,n.y,i.y,s?s.originY:void 0)}function vg(e,n,i,s=0){const a=s?Xe(i.min,i.max,s):i.min;e.min=a+n.min,e.max=e.min+It(n)}function eE(e,n,i,s){vg(e.x,n.x,i.x,s==null?void 0:s.x),vg(e.y,n.y,i.y,s==null?void 0:s.y)}function xg(e,n,i,s=0){const a=s?Xe(i.min,i.max,s):i.min;e.min=n.min-a,e.max=e.min+It(n)}function sl(e,n,i,s){xg(e.x,n.x,i.x,s==null?void 0:s.x),xg(e.y,n.y,i.y,s==null?void 0:s.y)}function wg(e,n,i,s,a){return e-=n,e=il(e,1/i,s),a!==void 0&&(e=il(e,1/a,s)),e}function tE(e,n=0,i=1,s=.5,a,c=e,u=e){if(_n.test(n)&&(n=parseFloat(n),n=Xe(u.min,u.max,n/100)-u.min),typeof n!="number")return;let d=Xe(c.min,c.max,s);e===c&&(d-=n),e.min=wg(e.min,n,i,d,a),e.max=wg(e.max,n,i,d,a)}function bg(e,n,[i,s,a],c,u){tE(e,n[i],n[s],n[a],n.scale,c,u)}const nE=["x","scaleX","originX"],rE=["y","scaleY","originY"];function Sg(e,n,i,s){bg(e.x,n,nE,i?i.x:void 0,s?s.x:void 0),bg(e.y,n,rE,i?i.y:void 0,s?s.y:void 0)}function kg(e){return e.translate===0&&e.scale===1}function v0(e){return kg(e.x)&&kg(e.y)}function Cg(e,n){return e.min===n.min&&e.max===n.max}function iE(e,n){return Cg(e.x,n.x)&&Cg(e.y,n.y)}function Eg(e,n){return Math.round(e.min)===Math.round(n.min)&&Math.round(e.max)===Math.round(n.max)}function x0(e,n){return Eg(e.x,n.x)&&Eg(e.y,n.y)}function Ng(e){return It(e.x)/It(e.y)}function Dg(e,n){return e.translate===n.translate&&e.scale===n.scale&&e.originPoint===n.originPoint}function Pn(e){return[e("x"),e("y")]}function sE(e,n,i){let s="";const a=e.x.translate/n.x,c=e.y.translate/n.y,u=(i==null?void 0:i.z)||0;if((a||c||u)&&(s=`translate3d(${a}px, ${c}px, ${u}px) `),(n.x!==1||n.y!==1)&&(s+=`scale(${1/n.x}, ${1/n.y}) `),i){const{transformPerspective:y,rotate:g,rotateX:x,rotateY:v,skewX:b,skewY:C}=i;y&&(s=`perspective(${y}px) ${s}`),g&&(s+=`rotate(${g}deg) `),x&&(s+=`rotateX(${x}deg) `),v&&(s+=`rotateY(${v}deg) `),b&&(s+=`skewX(${b}deg) `),C&&(s+=`skewY(${C}deg) `)}const d=e.x.scale*n.x,m=e.y.scale*n.y;return(d!==1||m!==1)&&(s+=`scale(${d}, ${m})`),s||"none"}const w0=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],oE=w0.length,jg=e=>typeof e=="string"?parseFloat(e):e,Fg=e=>typeof e=="number"||we.test(e);function aE(e,n,i,s,a,c){a?(e.opacity=Xe(0,i.opacity??1,lE(s)),e.opacityExit=Xe(n.opacity??1,0,cE(s))):c&&(e.opacity=Xe(n.opacity??1,i.opacity??1,s));for(let u=0;u<oE;u++){const d=w0[u];let m=Pg(n,d),y=Pg(i,d);if(m===void 0&&y===void 0)continue;m||(m=0),y||(y=0),m===0||y===0||Fg(m)===Fg(y)?(e[d]=Math.max(Xe(jg(m),jg(y),s),0),(_n.test(y)||_n.test(m))&&(e[d]+="%")):e[d]=y}(n.rotate||i.rotate)&&(e.rotate=Xe(n.rotate||0,i.rotate||0,s))}function Pg(e,n){return e[n]!==void 0?e[n]:e.borderRadius}const lE=b0(0,.5,fv),cE=b0(.5,.95,on);function b0(e,n,i){return s=>s<e?0:s>n?1:i(oo(e,n,s))}function uE(e,n,i){const s=Ct(e)?e:Ji(e);return s.start(sf("",s,n,i)),s.animation}function co(e,n,i,s={passive:!0}){return e.addEventListener(n,i,s),()=>e.removeEventListener(n,i)}const dE=(e,n)=>e.depth-n.depth;class fE{constructor(){this.children=[],this.isDirty=!1}add(n){Hd(this.children,n),this.isDirty=!0}remove(n){Za(this.children,n),this.isDirty=!0}forEach(n){this.isDirty&&this.children.sort(dE),this.isDirty=!1,this.children.forEach(n)}}function hE(e,n){const i=Rt.now(),s=({timestamp:a})=>{const c=a-i;c>=n&&(Fr(s),e(c-n))};return We.setup(s,!0),()=>Fr(s)}function Ka(e){return Ct(e)?e.get():e}class pE{constructor(){this.members=[]}add(n){Hd(this.members,n);for(let i=this.members.length-1;i>=0;i--){const s=this.members[i];if(s===n||s===this.lead||s===this.prevLead)continue;const a=s.instance;(!a||a.isConnected===!1)&&!s.snapshot&&(Za(this.members,s),s.unmount())}n.scheduleRender()}remove(n){if(Za(this.members,n),n===this.prevLead&&(this.prevLead=void 0),n===this.lead){const i=this.members[this.members.length-1];i&&this.promote(i)}}relegate(n){var i;for(let s=this.members.indexOf(n)-1;s>=0;s--){const a=this.members[s];if(a.isPresent!==!1&&((i=a.instance)==null?void 0:i.isConnected)!==!1)return this.promote(a),!0}return!1}promote(n,i){var a;const s=this.lead;if(n!==s&&(this.prevLead=s,this.lead=n,n.show(),s)){s.updateSnapshot(),n.scheduleRender();const{layoutDependency:c}=s.options,{layoutDependency:u}=n.options;(c===void 0||c!==u)&&(n.resumeFrom=s,i&&(s.preserveOpacity=!0),s.snapshot&&(n.snapshot=s.snapshot,n.snapshot.latestValues=s.animationValues||s.latestValues),(a=n.root)!=null&&a.isUpdating&&(n.isLayoutDirty=!0)),n.options.crossfade===!1&&s.hide()}}exitAnimationComplete(){this.members.forEach(n=>{var i,s,a,c,u;(s=(i=n.options).onExitComplete)==null||s.call(i),(u=(a=n.resumingFrom)==null?void 0:(c=a.options).onExitComplete)==null||u.call(c)})}scheduleRender(){this.members.forEach(n=>n.instance&&n.scheduleRender(!1))}removeLeadSnapshot(){var n;(n=this.lead)!=null&&n.snapshot&&(this.lead.snapshot=void 0)}}const Ga={hasAnimatedSinceResize:!0,hasEverUpdated:!1},Iu=["","X","Y","Z"],mE=1e3;let gE=0;function _u(e,n,i,s){const{latestValues:a}=n;a[e]&&(i[e]=a[e],n.setStaticValue(e,0),s&&(s[e]=0))}function S0(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:n}=e.options;if(!n)return;const i=Uv(n);if(window.MotionHasOptimisedAnimation(i,"transform")){const{layout:a,layoutId:c}=e.options;window.MotionCancelOptimisedAnimation(i,"transform",We,!(a||c))}const{parent:s}=e;s&&!s.hasCheckedOptimisedAppear&&S0(s)}function k0({attachResizeListener:e,defaultParent:n,measureScroll:i,checkIsScrollRoot:s,resetTransform:a}){return class{constructor(u={},d=n==null?void 0:n()){this.id=gE++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(xE),this.nodes.forEach(EE),this.nodes.forEach(NE),this.nodes.forEach(wE)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=u,this.root=d?d.root||d:this,this.path=d?[...d.path,d]:[],this.parent=d,this.depth=d?d.depth+1:0;for(let m=0;m<this.path.length;m++)this.path[m].shouldResetTransform=!0;this.root===this&&(this.nodes=new fE)}addEventListener(u,d){return this.eventHandlers.has(u)||this.eventHandlers.set(u,new Gd),this.eventHandlers.get(u).add(d)}notifyListeners(u,...d){const m=this.eventHandlers.get(u);m&&m.notify(...d)}hasListeners(u){return this.eventHandlers.has(u)}mount(u){if(this.instance)return;this.isSVG=ff(u)&&!vC(u),this.instance=u;const{layoutId:d,layout:m,visualElement:y}=this.options;if(y&&!y.current&&y.mount(u),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(m||d)&&(this.isLayoutDirty=!0),e){let g,x=0;const v=()=>this.root.updateBlockedByResize=!1;We.read(()=>{x=window.innerWidth}),e(u,()=>{const b=window.innerWidth;b!==x&&(x=b,this.root.updateBlockedByResize=!0,g&&g(),g=hE(v,250),Ga.hasAnimatedSinceResize&&(Ga.hasAnimatedSinceResize=!1,this.nodes.forEach(Mg)))})}d&&this.root.registerSharedNode(d,this),this.options.animate!==!1&&y&&(d||m)&&this.addEventListener("didUpdate",({delta:g,hasLayoutChanged:x,hasRelativeLayoutChanged:v,layout:b})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const C=this.options.transition||y.getDefaultTransition()||TE,{onLayoutAnimationStart:S,onLayoutAnimationComplete:E}=y.getProps(),j=!this.targetLayout||!x0(this.targetLayout,b),N=!x&&v;if(this.options.layoutRoot||this.resumeFrom||N||x&&(j||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const F={...rf(C,"layout"),onPlay:S,onComplete:E};(y.shouldReduceMotion||this.options.layoutRoot)&&(F.delay=0,F.type=!1),this.startAnimation(F),this.setAnimationOrigin(g,N)}else x||Mg(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=b})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const u=this.getStack();u&&u.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),Fr(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(DE),this.animationId++)}getTransformTemplate(){const{visualElement:u}=this.options;return u&&u.getProps().transformTemplate}willUpdate(u=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&S0(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let g=0;g<this.path.length;g++){const x=this.path[g];x.shouldResetTransform=!0,(typeof x.latestValues.x=="string"||typeof x.latestValues.y=="string")&&(x.isLayoutDirty=!0),x.updateScroll("snapshot"),x.options.layoutRoot&&x.willUpdate(!1)}const{layoutId:d,layout:m}=this.options;if(d===void 0&&!m)return;const y=this.getTransformTemplate();this.prevTransformTemplateValue=y?y(this.latestValues,""):void 0,this.updateSnapshot(),u&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){const m=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),m&&this.nodes.forEach(SE),this.nodes.forEach(Tg);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(Ag);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(kE),this.nodes.forEach(CE),this.nodes.forEach(yE),this.nodes.forEach(vE)):this.nodes.forEach(Ag),this.clearAllSnapshots();const d=Rt.now();kt.delta=Vn(0,1e3/60,d-kt.timestamp),kt.timestamp=d,kt.isProcessing=!0,Du.update.process(kt),Du.preRender.process(kt),Du.render.process(kt),kt.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,uf.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(bE),this.sharedNodes.forEach(jE)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,We.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){We.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!It(this.snapshot.measuredBox.x)&&!It(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 m=0;m<this.path.length;m++)this.path[m].updateScroll();const u=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=mt()),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:d}=this.options;d&&d.notify("LayoutMeasure",this.layout.layoutBox,u?u.layoutBox:void 0)}updateScroll(u="measure"){let d=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===u&&(d=!1),d&&this.instance){const m=s(this.instance);this.scroll={animationId:this.root.animationId,phase:u,isRoot:m,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:m}}}resetTransform(){if(!a)return;const u=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,d=this.projectionDelta&&!v0(this.projectionDelta),m=this.getTransformTemplate(),y=m?m(this.latestValues,""):void 0,g=y!==this.prevTransformTemplateValue;u&&this.instance&&(d||Qr(this.latestValues)||g)&&(a(this.instance,y),this.shouldResetTransform=!1,this.scheduleRender())}measure(u=!0){const d=this.measurePageBox();let m=this.removeElementScroll(d);return u&&(m=this.removeTransform(m)),AE(m),{animationId:this.root.animationId,measuredBox:d,layoutBox:m,latestValues:{},source:this.id}}measurePageBox(){var y;const{visualElement:u}=this.options;if(!u)return mt();const d=u.measureViewportBox();if(!(((y=this.scroll)==null?void 0:y.wasRoot)||this.path.some(ME))){const{scroll:g}=this.root;g&&(Tn(d.x,g.offset.x),Tn(d.y,g.offset.y))}return d}removeElementScroll(u){var m;const d=mt();if(mn(d,u),(m=this.scroll)!=null&&m.wasRoot)return d;for(let y=0;y<this.path.length;y++){const g=this.path[y],{scroll:x,options:v}=g;g!==this.root&&x&&v.layoutScroll&&(x.wasRoot&&mn(d,u),Tn(d.x,x.offset.x),Tn(d.y,x.offset.y))}return d}applyTransform(u,d=!1,m){var g,x;const y=m||mt();mn(y,u);for(let v=0;v<this.path.length;v++){const b=this.path[v];!d&&b.options.layoutScroll&&b.scroll&&b!==b.root&&(Tn(y.x,-b.scroll.offset.x),Tn(y.y,-b.scroll.offset.y)),Qr(b.latestValues)&&Ha(y,b.latestValues,(g=b.layout)==null?void 0:g.layoutBox)}return Qr(this.latestValues)&&Ha(y,this.latestValues,(x=this.layout)==null?void 0:x.layoutBox),y}removeTransform(u){var m;const d=mt();mn(d,u);for(let y=0;y<this.path.length;y++){const g=this.path[y];if(!Qr(g.latestValues))continue;let x;g.instance&&(kd(g.latestValues)&&g.updateSnapshot(),x=mt(),mn(x,g.measurePageBox())),Sg(d,g.latestValues,(m=g.snapshot)==null?void 0:m.layoutBox,x)}return Qr(this.latestValues)&&Sg(d,this.latestValues),d}setTargetDelta(u){this.targetDelta=u,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(u){this.options={...this.options,...u,crossfade:u.crossfade!==void 0?u.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!==kt.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(u=!1){var b;const d=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=d.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=d.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=d.isSharedProjectionDirty);const m=!!this.resumingFrom||this!==d;if(!(u||m&&this.isSharedProjectionDirty||this.isProjectionDirty||(b=this.parent)!=null&&b.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:g,layoutId:x}=this.options;if(!this.layout||!(g||x))return;this.resolvedRelativeTargetAt=kt.timestamp;const v=this.getClosestProjectingParent();v&&this.linkedParentVersion!==v.layoutVersion&&!v.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&v&&v.layout?this.createRelativeTarget(v,this.layout.layoutBox,v.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=mt(),this.targetWithTransforms=mt()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),eE(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):mn(this.target,this.layout.layoutBox),o0(this.target,this.targetDelta)):mn(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&v&&!!v.resumingFrom==!!this.resumingFrom&&!v.options.layoutScroll&&v.target&&this.animationProgress!==1?this.createRelativeTarget(v,this.target,v.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||kd(this.parent.latestValues)||s0(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(u,d,m){this.relativeParent=u,this.linkedParentVersion=u.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=mt(),this.relativeTargetOrigin=mt(),sl(this.relativeTargetOrigin,d,m,this.options.layoutAnchor||void 0),mn(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){var C;const u=this.getLead(),d=!!this.resumingFrom||this!==u;let m=!0;if((this.isProjectionDirty||(C=this.parent)!=null&&C.isProjectionDirty)&&(m=!1),d&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(m=!1),this.resolvedRelativeTargetAt===kt.timestamp&&(m=!1),m)return;const{layout:y,layoutId:g}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(y||g))return;mn(this.layoutCorrected,this.layout.layoutBox);const x=this.treeScale.x,v=this.treeScale.y;FC(this.layoutCorrected,this.treeScale,this.path,d),u.layout&&!u.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(u.target=u.layout.layoutBox,u.targetWithTransforms=mt());const{target:b}=u;if(!b){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(gg(this.prevProjectionDelta.x,this.projectionDelta.x),gg(this.prevProjectionDelta.y,this.projectionDelta.y)),no(this.projectionDelta,this.layoutCorrected,b,this.latestValues),(this.treeScale.x!==x||this.treeScale.y!==v||!Dg(this.projectionDelta.x,this.prevProjectionDelta.x)||!Dg(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",b))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(u=!0){var d;if((d=this.options.visualElement)==null||d.scheduleRender(),u){const m=this.getStack();m&&m.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Ui(),this.projectionDelta=Ui(),this.projectionDeltaWithTransform=Ui()}setAnimationOrigin(u,d=!1){const m=this.snapshot,y=m?m.latestValues:{},g={...this.latestValues},x=Ui();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!d;const v=mt(),b=m?m.source:void 0,C=this.layout?this.layout.source:void 0,S=b!==C,E=this.getStack(),j=!E||E.members.length<=1,N=!!(S&&!j&&this.options.crossfade===!0&&!this.path.some(PE));this.animationProgress=0;let F;this.mixTargetDelta=I=>{const L=I/1e3;Rg(x.x,u.x,L),Rg(x.y,u.y,L),this.setTargetDelta(x),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(sl(v,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),FE(this.relativeTarget,this.relativeTargetOrigin,v,L),F&&iE(this.relativeTarget,F)&&(this.isProjectionDirty=!1),F||(F=mt()),mn(F,this.relativeTarget)),S&&(this.animationValues=g,aE(g,y,this.latestValues,L,N,j)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=L},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(u){var d,m,y;this.notifyListeners("animationStart"),(d=this.currentAnimation)==null||d.stop(),(y=(m=this.resumingFrom)==null?void 0:m.currentAnimation)==null||y.stop(),this.pendingAnimation&&(Fr(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=We.update(()=>{Ga.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=Ji(0)),this.motionValue.jump(0,!1),this.currentAnimation=uE(this.motionValue,[0,1e3],{...u,velocity:0,isSync:!0,onUpdate:g=>{this.mixTargetDelta(g),u.onUpdate&&u.onUpdate(g)},onStop:()=>{},onComplete:()=>{u.onComplete&&u.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 u=this.getStack();u&&u.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(mE),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const u=this.getLead();let{targetWithTransforms:d,target:m,layout:y,latestValues:g}=u;if(!(!d||!m||!y)){if(this!==u&&this.layout&&y&&C0(this.options.animationType,this.layout.layoutBox,y.layoutBox)){m=this.target||mt();const x=It(this.layout.layoutBox.x);m.x.min=u.target.x.min,m.x.max=m.x.min+x;const v=It(this.layout.layoutBox.y);m.y.min=u.target.y.min,m.y.max=m.y.min+v}mn(d,m),Ha(d,g),no(this.projectionDeltaWithTransform,this.layoutCorrected,d,g)}}registerSharedNode(u,d){this.sharedNodes.has(u)||this.sharedNodes.set(u,new pE),this.sharedNodes.get(u).add(d);const y=d.options.initialPromotionConfig;d.promote({transition:y?y.transition:void 0,preserveFollowOpacity:y&&y.shouldPreserveFollowOpacity?y.shouldPreserveFollowOpacity(d):void 0})}isLead(){const u=this.getStack();return u?u.lead===this:!0}getLead(){var d;const{layoutId:u}=this.options;return u?((d=this.getStack())==null?void 0:d.lead)||this:this}getPrevLead(){var d;const{layoutId:u}=this.options;return u?(d=this.getStack())==null?void 0:d.prevLead:void 0}getStack(){const{layoutId:u}=this.options;if(u)return this.root.sharedNodes.get(u)}promote({needsReset:u,transition:d,preserveFollowOpacity:m}={}){const y=this.getStack();y&&y.promote(this,m),u&&(this.projectionDelta=void 0,this.needsReset=!0),d&&this.setOptions({transition:d})}relegate(){const u=this.getStack();return u?u.relegate(this):!1}resetSkewAndRotation(){const{visualElement:u}=this.options;if(!u)return;let d=!1;const{latestValues:m}=u;if((m.z||m.rotate||m.rotateX||m.rotateY||m.rotateZ||m.skewX||m.skewY)&&(d=!0),!d)return;const y={};m.z&&_u("z",u,y,this.animationValues);for(let g=0;g<Iu.length;g++)_u(`rotate${Iu[g]}`,u,y,this.animationValues),_u(`skew${Iu[g]}`,u,y,this.animationValues);u.render();for(const g in y)u.setStaticValue(g,y[g]),this.animationValues&&(this.animationValues[g]=y[g]);u.scheduleRender()}applyProjectionStyles(u,d){if(!this.instance||this.isSVG)return;if(!this.isVisible){u.visibility="hidden";return}const m=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,u.visibility="",u.opacity="",u.pointerEvents=Ka(d==null?void 0:d.pointerEvents)||"",u.transform=m?m(this.latestValues,""):"none";return}const y=this.getLead();if(!this.projectionDelta||!this.layout||!y.target){this.options.layoutId&&(u.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,u.pointerEvents=Ka(d==null?void 0:d.pointerEvents)||""),this.hasProjected&&!Qr(this.latestValues)&&(u.transform=m?m({},""):"none",this.hasProjected=!1);return}u.visibility="";const g=y.animationValues||y.latestValues;this.applyTransformsToTarget();let x=sE(this.projectionDeltaWithTransform,this.treeScale,g);m&&(x=m(g,x)),u.transform=x;const{x:v,y:b}=this.projectionDelta;u.transformOrigin=`${v.origin*100}% ${b.origin*100}% 0`,y.animationValues?u.opacity=y===this?g.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:g.opacityExit:u.opacity=y===this?g.opacity!==void 0?g.opacity:"":g.opacityExit!==void 0?g.opacityExit:0;for(const C in Ed){if(g[C]===void 0)continue;const{correct:S,applyTo:E,isCSSVariable:j}=Ed[C],N=x==="none"?g[C]:S(g[C],y);if(E){const F=E.length;for(let I=0;I<F;I++)u[E[I]]=N}else j?this.options.visualElement.renderState.vars[C]=N:u[C]=N}this.options.layoutId&&(u.pointerEvents=y===this?Ka(d==null?void 0:d.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(u=>{var d;return(d=u.currentAnimation)==null?void 0:d.stop()}),this.root.nodes.forEach(Tg),this.root.sharedNodes.clear()}}}function yE(e){e.updateLayout()}function vE(e){var i;const n=((i=e.resumeFrom)==null?void 0:i.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:s,measuredBox:a}=e.layout,{animationType:c}=e.options,u=n.source!==e.layout.source;if(c==="size")Pn(x=>{const v=u?n.measuredBox[x]:n.layoutBox[x],b=It(v);v.min=s[x].min,v.max=v.min+b});else if(c==="x"||c==="y"){const x=c==="x"?"y":"x";Nd(u?n.measuredBox[x]:n.layoutBox[x],s[x])}else C0(c,n.layoutBox,s)&&Pn(x=>{const v=u?n.measuredBox[x]:n.layoutBox[x],b=It(s[x]);v.max=v.min+b,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[x].max=e.relativeTarget[x].min+b)});const d=Ui();no(d,s,n.layoutBox);const m=Ui();u?no(m,e.applyTransform(a,!0),n.measuredBox):no(m,s,n.layoutBox);const y=!v0(d);let g=!1;if(!e.resumeFrom){const x=e.getClosestProjectingParent();if(x&&!x.resumeFrom){const{snapshot:v,layout:b}=x;if(v&&b){const C=e.options.layoutAnchor||void 0,S=mt();sl(S,n.layoutBox,v.layoutBox,C);const E=mt();sl(E,s,b.layoutBox,C),x0(S,E)||(g=!0),x.options.layoutRoot&&(e.relativeTarget=E,e.relativeTargetOrigin=S,e.relativeParent=x)}}}e.notifyListeners("didUpdate",{layout:s,snapshot:n,delta:m,layoutDelta:d,hasLayoutChanged:y,hasRelativeLayoutChanged:g})}else if(e.isLead()){const{onExitComplete:s}=e.options;s&&s()}e.options.transition=void 0}function xE(e){e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function wE(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function bE(e){e.clearSnapshot()}function Tg(e){e.clearMeasurements()}function SE(e){e.isLayoutDirty=!0,e.updateLayout()}function Ag(e){e.isLayoutDirty=!1}function kE(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function CE(e){const{visualElement:n}=e.options;n&&n.getProps().onBeforeLayoutMeasure&&n.notify("BeforeLayoutMeasure"),e.resetTransform()}function Mg(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function EE(e){e.resolveTargetDelta()}function NE(e){e.calcProjection()}
195function DE(e){e.resetSkewAndRotation()}function jE(e){e.removeLeadSnapshot()}function Rg(e,n,i){e.translate=Xe(n.translate,0,i),e.scale=Xe(n.scale,1,i),e.origin=n.origin,e.originPoint=n.originPoint}function Ig(e,n,i,s){e.min=Xe(n.min,i.min,s),e.max=Xe(n.max,i.max,s)}function FE(e,n,i,s){Ig(e.x,n.x,i.x,s),Ig(e.y,n.y,i.y,s)}function PE(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const TE={duration:.45,ease:[.4,0,.1,1]},_g=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),Lg=_g("applewebkit/")&&!_g("chrome/")?Math.round:on;function Vg(e){e.min=Lg(e.min),e.max=Lg(e.max)}function AE(e){Vg(e.x),Vg(e.y)}function C0(e,n,i){return e==="position"||e==="preserve-aspect"&&!JC(Ng(n),Ng(i),.2)}function ME(e){var n;return e!==e.root&&((n=e.scroll)==null?void 0:n.wasRoot)}const RE=k0({attachResizeListener:(e,n)=>co(e,"resize",n),measureScroll:()=>{var e,n;return{x:document.documentElement.scrollLeft||((e=document.body)==null?void 0:e.scrollLeft)||0,y:document.documentElement.scrollTop||((n=document.body)==null?void 0:n.scrollTop)||0}},checkIsScrollRoot:()=>!0}),Lu={current:void 0},E0=k0({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Lu.current){const e=new RE({});e.mount(window),e.setOptions({layoutScroll:!0}),Lu.current=e}return Lu.current},resetTransform:(e,n)=>{e.style.transform=n!==void 0?n:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),yf=k.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function Og(e,n){if(typeof e=="function")return e(n);e!=null&&(e.current=n)}function IE(...e){return n=>{let i=!1;const s=e.map(a=>{const c=Og(a,n);return!i&&typeof c=="function"&&(i=!0),c});if(i)return()=>{for(let a=0;a<s.length;a++){const c=s[a];typeof c=="function"?c():Og(e[a],null)}}}}function _E(...e){return k.useCallback(IE(...e),e)}class LE extends k.Component{getSnapshotBeforeUpdate(n){const i=this.props.childRef.current;if(za(i)&&n.isPresent&&!this.props.isPresent&&this.props.pop!==!1){const s=i.offsetParent,a=za(s)&&s.offsetWidth||0,c=za(s)&&s.offsetHeight||0,u=getComputedStyle(i),d=this.props.sizeRef.current;d.height=parseFloat(u.height),d.width=parseFloat(u.width),d.top=i.offsetTop,d.left=i.offsetLeft,d.right=a-d.width-d.left,d.bottom=c-d.height-d.top}return null}componentDidUpdate(){}render(){return this.props.children}}function VE({children:e,isPresent:n,anchorX:i,anchorY:s,root:a,pop:c}){var v;const u=k.useId(),d=k.useRef(null),m=k.useRef({width:0,height:0,top:0,left:0,right:0,bottom:0}),{nonce:y}=k.useContext(yf),g=((v=e.props)==null?void 0:v.ref)??(e==null?void 0:e.ref),x=_E(d,g);return k.useInsertionEffect(()=>{const{width:b,height:C,top:S,left:E,right:j,bottom:N}=m.current;if(n||c===!1||!d.current||!b||!C)return;const F=i==="left"?`left: ${E}`:`right: ${j}`,I=s==="bottom"?`bottom: ${N}`:`top: ${S}`;d.current.dataset.motionPopId=u;const L=document.createElement("style");y&&(L.nonce=y);const H=a??document.head;return H.appendChild(L),L.sheet&&L.sheet.insertRule(` 196 [data-motion-pop-id="${u}"] { 197 position: absolute !important; 198 width: ${b}px !important; 199 height: ${C}px !important; 200 ${F}px !important; 201 ${I}px !important; 202 } 203 `),()=>{var U;(U=d.current)==null||U.removeAttribute("data-motion-pop-id"),H.contains(L)&&H.removeChild(L)}},[n]),h.jsx(LE,{isPresent:n,childRef:d,sizeRef:m,pop:c,children:c===!1?e:k.cloneElement(e,{ref:x})})}const OE=({children:e,initial:n,isPresent:i,onExitComplete:s,custom:a,presenceAffectsLayout:c,mode:u,anchorX:d,anchorY:m,root:y})=>{const g=$d(BE),x=k.useId();let v=!0,b=k.useMemo(()=>(v=!1,{id:x,initial:n,isPresent:i,custom:a,onExitComplete:C=>{g.set(C,!0);for(const S of g.values())if(!S)return;s&&s()},register:C=>(g.set(C,!1),()=>g.delete(C))}),[i,g,s]);return c&&v&&(b={...b}),k.useMemo(()=>{g.forEach((C,S)=>g.set(S,!1))},[i]),k.useEffect(()=>{!i&&!g.size&&s&&s()},[i]),e=h.jsx(VE,{pop:u==="popLayout",isPresent:i,anchorX:d,anchorY:m,root:y,children:e}),h.jsx(yl.Provider,{value:b,children:e})};function BE(){return new Map}function N0(e=!0){const n=k.useContext(yl);if(n===null)return[!0,null];const{isPresent:i,onExitComplete:s,register:a}=n,c=k.useId();k.useEffect(()=>{if(e)return a(c)},[e]);const u=k.useCallback(()=>e&&s&&s(c),[c,s,e]);return!i&&s?[!1,u]:[!0]}const Aa=e=>e.key||"";function Bg(e){const n=[];
vendor: 8,852 bytes, line 203
203return k.Children.forEach(e,i=>{k.isValidElement(i)&&n.push(i)}),n}const bl=({children:e,custom:n,initial:i=!0,onExitComplete:s,presenceAffectsLayout:a=!0,mode:c="sync",propagate:u=!1,anchorX:d="left",anchorY:m="top",root:y})=>{const[g,x]=N0(u),v=k.useMemo(()=>Bg(e),[e]),b=u&&!g?[]:v.map(Aa),C=k.useRef(!0),S=k.useRef(v),E=$d(()=>new Map),j=k.useRef(new Set),[N,F]=k.useState(v),[I,L]=k.useState(v);ev(()=>{C.current=!1,S.current=v;for(let z=0;z<I.length;z++){const q=Aa(I[z]);b.includes(q)?(E.delete(q),j.current.delete(q)):E.get(q)!==!0&&E.set(q,!1)}},[I,b.length,b.join("-")]);const H=[];if(v!==N){let z=[...v];for(let q=0;q<I.length;q++){const K=I[q],le=Aa(K);b.includes(le)||(z.splice(q,0,K),H.push(K))}return c==="wait"&&H.length&&(z=H),L(Bg(z)),F(v),null}const{forceRender:U}=k.useContext(Ud);return h.jsx(h.Fragment,{children:I.map(z=>{const q=Aa(z),K=u&&!g?!1:v===I||b.includes(q),le=()=>{if(j.current.has(q))return;if(E.has(q))j.current.add(q),E.set(q,!0);else return;let ee=!0;E.forEach(ne=>{ne||(ee=!1)}),ee&&(U==null||U(),L(S.current),u&&(x==null||x()),s&&s())};return h.jsx(OE,{isPresent:K,initial:!C.current||i?void 0:!1,custom:n,presenceAffectsLayout:a,mode:c,root:y,onExitComplete:K?void 0:le,anchorX:d,anchorY:m,children:z},q)})})},D0=k.createContext({strict:!1}),zg={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]};let Wg=!1;function zE(){if(Wg)return;const e={};for(const n in zg)e[n]={isEnabled:i=>zg[n].some(s=>!!i[s])};n0(e),Wg=!0}function j0(){return zE(),EC()}function WE(e){const n=j0();for(const i in e)n[i]={...n[i],...e[i]};n0(n)}const UE=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function ol(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||UE.has(e)}let F0=e=>!ol(e);function $E(e){typeof e=="function"&&(F0=n=>n.startsWith("on")?!ol(n):e(n))}try{$E(require("@emotion/is-prop-valid").default)}catch{}function HE(e,n,i){const s={};for(const a in e)a==="values"&&typeof e.values=="object"||Ct(e[a])||(F0(a)||i===!0&&ol(a)||!n&&!ol(a)||e.draggable&&a.startsWith("onDrag"))&&(s[a]=e[a]);return s}const Sl=k.createContext({});function KE(e,n){if(wl(e)){const{initial:i,animate:s}=e;return{initial:i===!1||lo(i)?i:void 0,animate:lo(s)?s:void 0}}return e.inherit!==!1?n:{}}function GE(e){const{initial:n,animate:i}=KE(e,k.useContext(Sl));return k.useMemo(()=>({initial:n,animate:i}),[Ug(n),Ug(i)])}function Ug(e){return Array.isArray(e)?e.join(" "):e}const vf=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function P0(e,n,i){for(const s in n)!Ct(n[s])&&!c0(s,i)&&(e[s]=n[s])}function YE({transformTemplate:e},n){return k.useMemo(()=>{const i=vf();return mf(i,n,e),Object.assign({},i.vars,i.style)},[n])}function XE(e,n){const i=e.style||{},s={};return P0(s,i,e),Object.assign(s,YE(e,n)),s}function qE(e,n){const i={},s=XE(e,n);return e.drag&&e.dragListener!==!1&&(i.draggable=!1,s.userSelect=s.WebkitUserSelect=s.WebkitTouchCallout="none",s.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(i.tabIndex=0),i.style=s,i}const T0=()=>({...vf(),attrs:{}});function QE(e,n,i,s){const a=k.useMemo(()=>{const c=T0();return u0(c,n,f0(s),e.transformTemplate,e.style),{...c.attrs,style:{...c.style}}},[n]);if(e.style){const c={};P0(c,e.style,e),a.style={...c,...a.style}}return a}const ZE=["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 xf(e){return typeof e!="string"||e.includes("-")?!1:!!(ZE.indexOf(e)>-1||/[A-Z]/u.test(e))}function JE(e,n,i,{latestValues:s},a,c=!1,u){const m=(u??xf(e)?QE:qE)(n,s,a,e),y=HE(n,typeof e=="string",c),g=e!==k.Fragment?{...y,...m,ref:i}:{},{children:x}=n,v=k.useMemo(()=>Ct(x)?x.get():x,[x]);return k.createElement(e,{...g,children:v})}function eN({scrapeMotionValuesFromProps:e,createRenderState:n},i,s,a){return{latestValues:tN(i,s,a,e),renderState:n()}}function tN(e,n,i,s){const a={},c=s(e,{});for(const v in c)a[v]=Ka(c[v]);let{initial:u,animate:d}=e;const m=wl(e),y=e0(e);n&&y&&!m&&e.inherit!==!1&&(u===void 0&&(u=n.initial),d===void 0&&(d=n.animate));let g=i?i.initial===!1:!1;g=g||u===!1;const x=g?d:u;if(x&&typeof x!="boolean"&&!xl(x)){const v=Array.isArray(x)?x:[x];for(let b=0;b<v.length;b++){const C=of(e,v[b]);if(C){const{transitionEnd:S,transition:E,...j}=C;for(const N in j){let F=j[N];if(Array.isArray(F)){const I=g?F.length-1:0;F=F[I]}F!==null&&(a[N]=F)}for(const N in S)a[N]=S[N]}}}return a}const A0=e=>(n,i)=>{const s=k.useContext(Sl),a=k.useContext(yl),c=()=>eN(e,n,s,a);return i?c():$d(c)},nN=A0({scrapeMotionValuesFromProps:gf,createRenderState:vf}),rN=A0({scrapeMotionValuesFromProps:h0,createRenderState:T0}),iN=Symbol.for("motionComponentSymbol");function sN(e,n,i){const s=k.useRef(i);k.useInsertionEffect(()=>{s.current=i});const a=k.useRef(null);return k.useCallback(c=>{var d;c&&((d=e.onMount)==null||d.call(e,c));const u=s.current;if(typeof u=="function")if(c){const m=u(c);typeof m=="function"&&(a.current=m)}else a.current?(a.current(),a.current=null):u(c);else u&&(u.current=c);n&&(c?n.mount(c):n.unmount())},[n])}const M0=k.createContext({});function Bi(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function oN(e,n,i,s,a,c){var F,I;const{visualElement:u}=k.useContext(Sl),d=k.useContext(D0),m=k.useContext(yl),y=k.useContext(yf),g=y.reducedMotion,x=y.skipAnimations,v=k.useRef(null),b=k.useRef(!1);s=s||d.renderer,!v.current&&s&&(v.current=s(e,{visualState:n,parent:u,props:i,presenceContext:m,blockInitialAnimation:m?m.initial===!1:!1,reducedMotionConfig:g,skipAnimations:x,isSVG:c}),b.current&&v.current&&(v.current.manuallyAnimateOnMount=!0));const C=v.current,S=k.useContext(M0);C&&!C.projection&&a&&(C.type==="html"||C.type==="svg")&&aN(v.current,i,a,S);const E=k.useRef(!1);k.useInsertionEffect(()=>{C&&E.current&&C.update(i,m)});const j=i[Wv],N=k.useRef(!!j&&typeof window<"u"&&!((F=window.MotionHandoffIsComplete)!=null&&F.call(window,j))&&((I=window.MotionHasOptimisedAnimation)==null?void 0:I.call(window,j)));return ev(()=>{b.current=!0,C&&(E.current=!0,window.MotionIsMounted=!0,C.updateFeatures(),C.scheduleRenderMicrotask(),N.current&&C.animationState&&C.animationState.animateChanges())}),k.useEffect(()=>{C&&(!N.current&&C.animationState&&C.animationState.animateChanges(),N.current&&(queueMicrotask(()=>{var L;(L=window.MotionHandoffMarkAsComplete)==null||L.call(window,j)}),N.current=!1),C.enteringChildren=void 0)}),C}function aN(e,n,i,s){const{layoutId:a,layout:c,drag:u,dragConstraints:d,layoutScroll:m,layoutRoot:y,layoutAnchor:g,layoutCrossfade:x}=n;e.projection=new i(e.latestValues,n["data-framer-portal-id"]?void 0:R0(e.parent)),e.projection.setOptions({layoutId:a,layout:c,alwaysMeasureLayout:!!u||d&&Bi(d),visualElement:e,animationType:typeof c=="string"?c:"both",initialPromotionConfig:s,crossfade:x,layoutScroll:m,layoutRoot:y,layoutAnchor:g})}function R0(e){if(e)return e.options.allowProjection!==!1?e.projection:R0(e.parent)}function Vu(e,{forwardMotionProps:n=!1,type:i}={},s,a){s&&WE(s);const c=i?i==="svg":xf(e),u=c?rN:nN;function d(y,g){let x;const v={...k.useContext(yf),...y,layoutId:lN(y)},{isStatic:b}=v,C=GE(y),S=u(y,b);if(!b&&typeof window<"u"){cN();const E=uN(v);x=E.MeasureLayout,C.visualElement=oN(e,S,v,a,E.ProjectionNode,c)}return h.jsxs(Sl.Provider,{value:C,children:[x&&C.visualElement?h.jsx(x,{visualElement:C.visualElement,...v}):null,JE(e,y,sN(S,C.visualElement,g),S,b,n,c)]})}d.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;const m=k.forwardRef(d);return m[iN]=e,m}function lN({layoutId:e}){const n=k.useContext(Ud).id;return n&&e!==void 0?n+"-"+e:e}function cN(e,n){k.useContext(D0).strict}function uN(e){const n=j0(),{drag:i,layout:s}=n;if(!i&&!s)return{};const a={...i,...s};return{MeasureLayout:i!=null&&i.isEnabled(e)||s!=null&&s.isEnabled(e)?a.MeasureLayout:void 0,ProjectionNode:a.ProjectionNode}}
vendor: 18,351 bytes, line 203
203function dN(e,n){if(typeof Proxy>"u")return Vu;const i=new Map,s=(c,u)=>Vu(c,u,e,n),a=(c,u)=>s(c,u);return new Proxy(a,{get:(c,u)=>u==="create"?s:(i.has(u)||i.set(u,Vu(u,void 0,e,n)),i.get(u))})}const fN=(e,n)=>n.isSVG??xf(e)?new WC(n):new _C(n,{allowProjection:e!==k.Fragment});class hN extends Ar{constructor(n){super(n),n.animationState||(n.animationState=GC(n))}updateAnimationControlsSubscription(){const{animate:n}=this.node.getProps();xl(n)&&(this.unmountControls=n.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:n}=this.node.getProps(),{animate:i}=this.node.prevProps||{};n!==i&&this.updateAnimationControlsSubscription()}unmount(){var n;this.node.animationState.reset(),(n=this.unmountControls)==null||n.call(this)}}let pN=0;class mN extends Ar{constructor(){super(...arguments),this.id=pN++,this.isExitComplete=!1}update(){var c;if(!this.node.presenceContext)return;const{isPresent:n,onExitComplete:i}=this.node.presenceContext,{isPresent:s}=this.node.prevPresenceContext||{};if(!this.node.animationState||n===s)return;if(n&&s===!1){if(this.isExitComplete){const{initial:u,custom:d}=this.node.getProps();if(typeof u=="string"){const m=ni(this.node,u,d);if(m){const{transition:y,transitionEnd:g,...x}=m;for(const v in x)(c=this.node.getValue(v))==null||c.jump(x[v])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}const a=this.node.animationState.setActive("exit",!n);i&&!n&&a.then(()=>{this.isExitComplete=!0,i(this.id)})}mount(){const{register:n,onExitComplete:i}=this.node.presenceContext||{};i&&i(this.id),n&&(this.unmount=n(this.id))}unmount(){}}const gN={animation:{Feature:hN},exit:{Feature:mN}};function mo(e){return{point:{x:e.pageX,y:e.pageY}}}const yN=e=>n=>df(n)&&e(n,mo(n));function ro(e,n,i,s){return co(e,n,yN(i),s)}const I0=({current:e})=>e?e.ownerDocument.defaultView:null,$g=(e,n)=>Math.abs(e-n);function vN(e,n){const i=$g(e.x,n.x),s=$g(e.y,n.y);return Math.sqrt(i**2+s**2)}const Hg=new Set(["auto","scroll"]);class _0{constructor(n,i,{transformPagePoint:s,contextWindow:a=window,dragSnapToOrigin:c=!1,distanceThreshold:u=3,element:d}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=b=>{this.handleScroll(b.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=Ma(this.lastRawMoveEventInfo,this.transformPagePoint));const b=Ou(this.lastMoveEventInfo,this.history),C=this.startEvent!==null,S=vN(b.offset,{x:0,y:0})>=this.distanceThreshold;if(!C&&!S)return;const{point:E}=b,{timestamp:j}=kt;this.history.push({...E,timestamp:j});const{onStart:N,onMove:F}=this.handlers;C||(N&&N(this.lastMoveEvent,b),this.startEvent=this.lastMoveEvent),F&&F(this.lastMoveEvent,b)},this.handlePointerMove=(b,C)=>{this.lastMoveEvent=b,this.lastRawMoveEventInfo=C,this.lastMoveEventInfo=Ma(C,this.transformPagePoint),We.update(this.updatePoint,!0)},this.handlePointerUp=(b,C)=>{this.end();const{onEnd:S,onSessionEnd:E,resumeAnimation:j}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&j&&j(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const N=Ou(b.type==="pointercancel"?this.lastMoveEventInfo:Ma(C,this.transformPagePoint),this.history);this.startEvent&&S&&S(b,N),E&&E(b,N)},!df(n))return;this.dragSnapToOrigin=c,this.handlers=i,this.transformPagePoint=s,this.distanceThreshold=u,this.contextWindow=a||window;const m=mo(n),y=Ma(m,this.transformPagePoint),{point:g}=y,{timestamp:x}=kt;this.history=[{...g,timestamp:x}];const{onSessionStart:v}=i;v&&v(n,Ou(y,this.history)),this.removeListeners=fo(ro(this.contextWindow,"pointermove",this.handlePointerMove),ro(this.contextWindow,"pointerup",this.handlePointerUp),ro(this.contextWindow,"pointercancel",this.handlePointerUp)),d&&this.startScrollTracking(d)}startScrollTracking(n){let i=n.parentElement;for(;i;){const s=getComputedStyle(i);(Hg.has(s.overflowX)||Hg.has(s.overflowY))&&this.scrollPositions.set(i,{x:i.scrollLeft,y:i.scrollTop}),i=i.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(n){const i=this.scrollPositions.get(n);if(!i)return;const s=n===window,a=s?{x:window.scrollX,y:window.scrollY}:{x:n.scrollLeft,y:n.scrollTop},c={x:a.x-i.x,y:a.y-i.y};c.x===0&&c.y===0||(s?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=c.x,this.lastMoveEventInfo.point.y+=c.y):this.history.length>0&&(this.history[0].x-=c.x,this.history[0].y-=c.y),this.scrollPositions.set(n,a),We.update(this.updatePoint,!0))}updateHandlers(n){this.handlers=n}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),Fr(this.updatePoint)}}function Ma(e,n){return n?{point:n(e.point)}:e}function Kg(e,n){return{x:e.x-n.x,y:e.y-n.y}}function Ou({point:e},n){return{point:e,delta:Kg(e,L0(n)),offset:Kg(e,xN(n)),velocity:wN(n,.1)}}function xN(e){return e[0]}function L0(e){return e[e.length-1]}function wN(e,n){if(e.length<2)return{x:0,y:0};let i=e.length-1,s=null;const a=L0(e);for(;i>=0&&(s=e[i],!(a.timestamp-s.timestamp>Yt(n)));)i--;if(!s)return{x:0,y:0};s===e[0]&&e.length>2&&a.timestamp-s.timestamp>Yt(n)*2&&(s=e[1]);const c=sn(a.timestamp-s.timestamp);if(c===0)return{x:0,y:0};const u={x:(a.x-s.x)/c,y:(a.y-s.y)/c};return u.x===1/0&&(u.x=0),u.y===1/0&&(u.y=0),u}function bN(e,{min:n,max:i},s){return n!==void 0&&e<n?e=s?Xe(n,e,s.min):Math.max(e,n):i!==void 0&&e>i&&(e=s?Xe(i,e,s.max):Math.min(e,i)),e}function Gg(e,n,i){return{min:n!==void 0?e.min+n:void 0,max:i!==void 0?e.max+i-(e.max-e.min):void 0}}function SN(e,{top:n,left:i,bottom:s,right:a}){return{x:Gg(e.x,i,a),y:Gg(e.y,n,s)}}function Yg(e,n){let i=n.min-e.min,s=n.max-e.max;return n.max-n.min<e.max-e.min&&([i,s]=[s,i]),{min:i,max:s}}function kN(e,n){return{x:Yg(e.x,n.x),y:Yg(e.y,n.y)}}function CN(e,n){let i=.5;const s=It(e),a=It(n);return a>s?i=oo(n.min,n.max-s,e.min):s>a&&(i=oo(e.min,e.max-a,n.min)),Vn(0,1,i)}function EN(e,n){const i={};return n.min!==void 0&&(i.min=n.min-e.min),n.max!==void 0&&(i.max=n.max-e.min),i}const Dd=.35;function NN(e=Dd){return e===!1?e=0:e===!0&&(e=Dd),{x:Xg(e,"left","right"),y:Xg(e,"top","bottom")}}function Xg(e,n,i){return{min:qg(e,n),max:qg(e,i)}}function qg(e,n){return typeof e=="number"?e:e[n]||0}const DN=new WeakMap;class jN{constructor(n){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=mt(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=n}start(n,{snapToCursor:i=!1,distanceThreshold:s}={}){const{presenceContext:a}=this.visualElement;if(a&&a.isPresent===!1)return;const c=x=>{i&&this.snapToCursor(mo(x).point),this.stopAnimation()},u=(x,v)=>{const{drag:b,dragPropagation:C,onDragStart:S}=this.getProps();if(b&&!C&&(this.openDragLock&&this.openDragLock(),this.openDragLock=tC(b),!this.openDragLock))return;this.latestPointerEvent=x,this.latestPanInfo=v,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Pn(j=>{let N=this.getAxisMotionValue(j).get()||0;if(_n.test(N)){const{projection:F}=this.visualElement;if(F&&F.layout){const I=F.layout.layoutBox[j];I&&(N=It(I)*(parseFloat(N)/100))}}this.originPoint[j]=N}),S&&We.update(()=>S(x,v),!1,!0),vd(this.visualElement,"transform");const{animationState:E}=this.visualElement;E&&E.setActive("whileDrag",!0)},d=(x,v)=>{this.latestPointerEvent=x,this.latestPanInfo=v;const{dragPropagation:b,dragDirectionLock:C,onDirectionLock:S,onDrag:E}=this.getProps();if(!b&&!this.openDragLock)return;const{offset:j}=v;if(C&&this.currentDirection===null){this.currentDirection=PN(j),this.currentDirection!==null&&S&&S(this.currentDirection);return}this.updateAxis("x",v.point,j),this.updateAxis("y",v.point,j),this.visualElement.render(),E&&We.update(()=>E(x,v),!1,!0)},m=(x,v)=>{this.latestPointerEvent=x,this.latestPanInfo=v,this.stop(x,v),this.latestPointerEvent=null,this.latestPanInfo=null},y=()=>{const{dragSnapToOrigin:x}=this.getProps();(x||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:g}=this.getProps();this.panSession=new _0(n,{onSessionStart:c,onStart:u,onMove:d,onSessionEnd:m,resumeAnimation:y},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:g,distanceThreshold:s,contextWindow:I0(this.visualElement),element:this.visualElement.current})}stop(n,i){const s=n||this.latestPointerEvent,a=i||this.latestPanInfo,c=this.isDragging;if(this.cancel(),!c||!a||!s)return;const{velocity:u}=a;this.startAnimation(u);const{onDragEnd:d}=this.getProps();d&&We.postRender(()=>d(s,a))}cancel(){this.isDragging=!1;const{projection:n,animationState:i}=this.visualElement;n&&(n.isAnimationBlocked=!1),this.endPanSession();const{dragPropagation:s}=this.getProps();!s&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),i&&i.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(n,i,s){const{drag:a}=this.getProps();if(!s||!Ra(n,a,this.currentDirection))return;const c=this.getAxisMotionValue(n);let u=this.originPoint[n]+s[n];this.constraints&&this.constraints[n]&&(u=bN(u,this.constraints[n],this.elastic[n])),c.set(u)}resolveConstraints(){var c;const{dragConstraints:n,dragElastic:i}=this.getProps(),s=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(c=this.visualElement.projection)==null?void 0:c.layout,a=this.constraints;n&&Bi(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&s?this.constraints=SN(s.layoutBox,n):this.constraints=!1,this.elastic=NN(i),a!==this.constraints&&!Bi(n)&&s&&this.constraints&&!this.hasMutatedConstraints&&Pn(u=>{this.constraints!==!1&&this.getAxisMotionValue(u)&&(this.constraints[u]=EN(s.layoutBox[u],this.constraints[u]))})}resolveRefConstraints(){const{dragConstraints:n,onMeasureDragConstraints:i}=this.getProps();if(!n||!Bi(n))return!1;const s=n.current,{projection:a}=this.visualElement;if(!a||!a.layout)return!1;const c=PC(s,a.root,this.visualElement.getTransformPagePoint());let u=kN(a.layout.layoutBox,c);if(i){const d=i(DC(u));this.hasMutatedConstraints=!!d,d&&(u=i0(d))}return u}startAnimation(n){const{drag:i,dragMomentum:s,dragElastic:a,dragTransition:c,dragSnapToOrigin:u,onDragTransitionEnd:d}=this.getProps(),m=this.constraints||{},y=Pn(g=>{if(!Ra(g,i,this.currentDirection))return;let x=m&&m[g]||{};(u===!0||u===g)&&(x={min:0,max:0});const v=a?200:1e6,b=a?40:1e7,C={type:"inertia",velocity:s?n[g]:0,bounceStiffness:v,bounceDamping:b,timeConstant:750,restDelta:1,restSpeed:10,...c,...x};return this.startAxisValueAnimation(g,C)});return Promise.all(y).then(d)}startAxisValueAnimation(n,i){const s=this.getAxisMotionValue(n);return vd(this.visualElement,n),s.start(sf(n,s,0,i,this.visualElement,!1))}stopAnimation(){Pn(n=>this.getAxisMotionValue(n).stop())}getAxisMotionValue(n){const i=`_drag${n.toUpperCase()}`,s=this.visualElement.getProps(),a=s[i];return a||this.visualElement.getValue(n,(s.initial?s.initial[n]:void 0)||0)}snapToCursor(n){Pn(i=>{const{drag:s}=this.getProps();if(!Ra(i,s,this.currentDirection))return;const{projection:a}=this.visualElement,c=this.getAxisMotionValue(i);if(a&&a.layout){const{min:u,max:d}=a.layout.layoutBox[i],m=c.get()||0;c.set(n[i]-Xe(u,d,.5)+m)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:n,dragConstraints:i}=this.getProps(),{projection:s}=this.visualElement;if(!Bi(i)||!s||!this.constraints)return;this.stopAnimation();const a={x:0,y:0};Pn(u=>{const d=this.getAxisMotionValue(u);if(d&&this.constraints!==!1){const m=d.get();a[u]=CN({min:m,max:m},this.constraints[u])}});const{transformTemplate:c}=this.visualElement.getProps();this.visualElement.current.style.transform=c?c({},""):"none",s.root&&s.root.updateScroll(),s.updateLayout(),this.constraints=!1,this.resolveConstraints(),Pn(u=>{if(!Ra(u,n,null))return;const d=this.getAxisMotionValue(u),{min:m,max:y}=this.constraints[u];d.set(Xe(m,y,a[u]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;DN.set(this.visualElement,this);const n=this.visualElement.current,i=ro(n,"pointerdown",y=>{const{drag:g,dragListener:x=!0}=this.getProps(),v=y.target,b=v!==n&&aC(v);g&&x&&!b&&this.start(y)});let s;const a=()=>{const{dragConstraints:y}=this.getProps();Bi(y)&&y.current&&(this.constraints=this.resolveRefConstraints(),s||(s=FN(n,y.current,()=>this.scalePositionWithinConstraints())))},{projection:c}=this.visualElement,u=c.addEventListener("measure",a);c&&!c.layout&&(c.root&&c.root.updateScroll(),c.updateLayout()),We.read(a);const d=co(window,"resize",()=>this.scalePositionWithinConstraints()),m=c.addEventListener("didUpdate",(({delta:y,hasLayoutChanged:g})=>{this.isDragging&&g&&(Pn(x=>{const v=this.getAxisMotionValue(x);v&&(this.originPoint[x]+=y[x].translate,v.set(v.get()+y[x].translate))}),this.visualElement.render())}));return()=>{d(),i(),u(),m&&m(),s&&s()}}getProps(){const n=this.visualElement.getProps(),{drag:i=!1,dragDirectionLock:s=!1,dragPropagation:a=!1,dragConstraints:c=!1,dragElastic:u=Dd,dragMomentum:d=!0}=n;return{...n,drag:i,dragDirectionLock:s,dragPropagation:a,dragConstraints:c,dragElastic:u,dragMomentum:d}}}function Qg(e){let n=!0;return()=>{if(n){n=!1;return}e()}}function FN(e,n,i){const s=ig(e,Qg(i)),a=ig(n,Qg(i));return()=>{s(),a()}}function Ra(e,n,i){return(n===!0||n===e)&&(i===null||i===e)}function PN(e,n=10){let i=null;return Math.abs(e.y)>n?i="y":Math.abs(e.x)>n&&(i="x"),i}class TN extends Ar{constructor(n){super(n),this.removeGroupControls=on,this.removeListeners=on,this.controls=new jN(n)}mount(){const{dragControls:n}=this.node.getProps();n&&(this.removeGroupControls=n.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||on}update(){const{dragControls:n}=this.node.getProps(),{dragControls:i}=this.node.prevProps||{};n!==i&&(this.removeGroupControls(),n&&(this.removeGroupControls=n.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}const Bu=e=>(n,i)=>{e&&We.update(()=>e(n,i),!1,!0)};class AN extends Ar{constructor(){super(...arguments),this.removePointerDownListener=on}onPointerDown(n){this.session=new _0(n,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:I0(this.node)})}createPanHandlers(){const{onPanSessionStart:n,onPanStart:i,onPan:s,onPanEnd:a}=this.node.getProps();return{onSessionStart:Bu(n),onStart:Bu(i),onMove:Bu(s),onEnd:(c,u)=>{delete this.session,a&&We.postRender(()=>a(c,u))}}}mount(){this.removePointerDownListener=ro(this.node.current,"pointerdown",n=>this.onPointerDown(n))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let zu=!1;class MN extends k.Component{componentDidMount(){const{visualElement:n,layoutGroup:i,switchLayoutGroup:s,layoutId:a}=this.props,{projection:c}=n;c&&(i.group&&i.group.add(c),s&&s.register&&a&&s.register(c),zu&&c.root.didUpdate(),c.addEventListener("animationComplete",()=>{this.safeToRemove()}),c.setOptions({...c.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),Ga.hasEverUpdated=!0}getSnapshotBeforeUpdate(n){const{layoutDependency:i,visualElement:s,drag:a,isPresent:c}=this.props,{projection:u}=s;return u&&(u.isPresent=c,n.layoutDependency!==i&&u.setOptions({...u.options,layoutDependency:i}),zu=!0,a||n.layoutDependency!==i||i===void 0||n.isPresent!==c?u.willUpdate():this.safeToRemove(),n.isPresent!==c&&(c?u.promote():u.relegate()||We.postRender(()=>{const d=u.getStack();(!d||!d.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{visualElement:n,layoutAnchor:i}=this.props,{projection:s}=n;s&&(s.options.layoutAnchor=i,s.root.didUpdate(),uf.postRender(()=>{!s.currentAnimation&&s.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:n,layoutGroup:i,switchLayoutGroup:s}=this.props,{projection:a}=n;zu=!0,a&&(a.scheduleCheckAfterUnmount(),i&&i.group&&i.group.remove(a),s&&s.deregister&&s.deregister(a))}safeToRemove(){const{safeToRemove:n}=this.props;n&&n()}render(){return null}}function V0(e){const[n,i]=N0(),s=k.useContext(Ud);return h.jsx(MN,{...e,layoutGroup:s,switchLayoutGroup:k.useContext(M0),isPresent:n,safeToRemove:i})}const RN={pan:{Feature:AN},drag:{Feature:TN,ProjectionNode:E0,MeasureLayout:V0}};function Zg(e,n,i){const{props:s}=e;e.animationState&&s.whileHover&&e.animationState.setActive("whileHover",i==="Start");const a="onHover"+i,c=s[a];c&&We.postRender(()=>c(n,mo(n)))}class IN extends Ar{mount(){const{current:n}=this.node;n&&(this.unmount=rC(n,(i,s)=>(Zg(this.node,s,"Start"),a=>Zg(this.node,a,"End"))))}unmount(){}}class _N extends Ar{constructor(){super(...arguments),this.isActive=!1}onFocus(){let n=!1;try{n=this.node.current.matches(":focus-visible")}catch{n=!0}!n||!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=fo(co(this.node.current,"focus",()=>this.onFocus()),co(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function Jg(e,n,i){const{props:s}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&s.whileTap&&e.animationState.setActive("whileTap",i==="Start");const a="onTap"+(i==="End"?"":i),c=s[a];c&&We.postRender(()=>c(n,mo(n)))}class LN extends Ar{mount(){const{current:n}=this.node;if(!n)return;
203const{globalTapTarget:i,propagate:s}=this.node.props;this.unmount=cC(n,(a,c)=>(Jg(this.node,c,"Start"),(u,{success:d})=>Jg(this.node,u,d?"End":"Cancel")),{useGlobalTarget:i,stopPropagation:(s==null?void 0:s.tap)===!1})}unmount(){}}const jd=new WeakMap,Wu=new WeakMap,VN=e=>{const n=jd.get(e.target);n&&n(e)},ON=e=>{e.forEach(VN)};function BN({root:e,...n}){const i=e||document;Wu.has(i)||Wu.set(i,{});const s=Wu.get(i),a=JSON.stringify(n);return s[a]||(s[a]=new IntersectionObserver(ON,{root:e,...n})),s[a]}function zN(e,n,i){const s=BN(n);return jd.set(e,i),s.observe(e),()=>{jd.delete(e),s.unobserve(e)}}const WN={some:0,all:1};class UN extends Ar{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var m;(m=this.stopObserver)==null||m.call(this);const{viewport:n={}}=this.node.getProps(),{root:i,margin:s,amount:a="some",once:c}=n,u={root:i?i.current:void 0,rootMargin:s,threshold:typeof a=="number"?a:WN[a]},d=y=>{const{isIntersecting:g}=y;if(this.isInView===g||(this.isInView=g,c&&!g&&this.hasEnteredView))return;g&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",g);const{onViewportEnter:x,onViewportLeave:v}=this.node.getProps(),b=g?x:v;b&&b(y)};this.stopObserver=zN(this.node.current,u,d)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:n,prevProps:i}=this.node;["amount","margin","root"].some($N(n,i))&&this.startObserver()}unmount(){var n;(n=this.stopObserver)==null||n.call(this),this.hasEnteredView=!1,this.isInView=!1}}function $N({viewport:e={}},{viewport:n={}}={}){return i=>e[i]!==n[i]}const HN={inView:{Feature:UN},tap:{Feature:LN},focus:{Feature:_N},hover:{Feature:IN}},KN={layout:{ProjectionNode:E0,MeasureLayout:V0}},GN={...gN,...HN,...RN,...KN},J=dN(GN,fN),YN={some:0,all:1};function XN(e,n,{root:i,margin:s,amount:a="some"}={}){const c=cf(e),u=new WeakMap,d=y=>{y.forEach(g=>{const x=u.get(g.target);if(g.isIntersecting!==!!x)if(g.isIntersecting){const v=n(g.target,g);typeof v=="function"?u.set(g.target,v):m.unobserve(g.target)}else typeof x=="function"&&(x(g),u.delete(g.target))})},m=new IntersectionObserver(d,{root:i,rootMargin:s,threshold:typeof a=="number"?a:YN[a]});return c.forEach(y=>m.observe(y)),()=>m.disconnect()}function os(e,{root:n,margin:i,amount:s,once:a=!1,initial:c=!1}={}){const[u,d]=k.useState(c);return k.useEffect(()=>{if(!e.current||a&&u)return;const m=()=>(d(!0),a?void 0:()=>d(!1)),y={root:n&&n.current||void 0,margin:i,amount:s};return XN(e.current,m,y)},[n,e,i,a,s]),u}const qN="/assets/d64740736b4770c9c2113082c2713f9ada00e046-bzIPK4Iz.png";function QN(){const[e,n]=k.useState(!1),[i,s]=k.useState(!1),[a,c]=k.useState(!1),[u,d]=k.useState({fullName:"",email:"",company:"",message:""}),[m,y]=k.useState(!1);k.useEffect(()=>{const v=()=>{n(window.scrollY>20)};return window.addEventListener("scroll",v),()=>window.removeEventListener("scroll",v)},[]);const g=v=>{const b=document.getElementById(v);b&&(b.scrollIntoView({behavior:"smooth"}),s(!1))},x=v=>{v.preventDefault(),console.log("Contact form submitted:",u),y(!0),setTimeout(()=>{c(!1),y(!1),d({fullName:"",email:"",company:"",message:""})},3e3)};return h.jsxs(J.nav,{className:`fixed top-0 left-0 right-0 z-50 transition-all duration-300 ${e?"bg-[#0f0f2e]/90 backdrop-blur-xl border-b border-white/10 shadow-2xl":"bg-transparent"}`,initial:{y:-100},animate:{y:0},transition:{duration:.6},children:[h.jsxs("div",{className:"container mx-auto px-6",children:[h.jsxs("div",{className:"flex items-center justify-between h-20",children:[h.jsx(J.div,{className:"flex items-center",whileHover:{scale:1.05},transition:{duration:.2},children:h.jsx("img",{src:qN,alt:"MARi",className:"h-24"})}),h.jsx("div",{className:"hidden md:flex items-center gap-10",children:[{id:"platform",label:"Platform"},{id:"rd",label:"R&D"},{id:"trust",label:"Trust"},{id:"mission",label:"Mission"}].map((v,b)=>h.jsxs(J.button,{onClick:()=>g(v.id),className:"text-gray-300 hover:text-white font-['Inter'] font-medium transition-colors relative group",initial:{opacity:0,y:-20}
203,animate:{opacity:1,y:0},transition:{delay:.1*b,duration:.5},children:[v.label,h.jsx("span",{className:"absolute -bottom-1 left-0 w-0 h-0.5 bg-gradient-to-r from-[#5D5FEF] to-[#2DD4BF] group-hover:w-full transition-all duration-300"})]},v.id))}),h.jsx(J.div,{className:"hidden md:flex items-center gap-4",initial:{opacity:0,x:20},animate:{opacity:1,x:0},transition:{delay:.3,duration:.5},children:h.jsx(In,{onClick:()=>c(!0),className:"bg-gradient-to-r from-[#5D5FEF] to-[#2DD4BF] hover:opacity-90 text-white shadow-lg shadow-[#5D5FEF]/30 font-['Montserrat'] font-semibold",children:"Contact Us"})}),h.jsx("button",{className:"md:hidden text-white hover:text-[#2DD4BF] transition-colors",onClick:()=>s(!i),children:i?h.jsx(gl,{className:"w-7 h-7"}):h.jsx(zb,{className:"w-7 h-7"})})]}),h.jsx(bl,{children:i&&h.jsx(J.div,{className:"md:hidden py-6 border-t border-white/10",initial:{opacity:0,height:0},animate:{opacity:1,height:"auto"},exit:{opacity:0,height:0},transition:{duration:.3},children:h.jsxs("div",{className:"flex flex-col gap-4",children:[[{id:"platform",label:"Platform"},{id:"rd",label:"R&D"},{id:"trust",label:"Trust"},{id:"mission",label:"Mission"}].map(v=>h.jsx("button",{onClick:()=>g(v.id),className:"text-gray-300 hover:text-white font-['Inter'] font-medium text-left py-3 transition-colors",children:v.label},v.id)),h.jsx("div",{className:"flex flex-col gap-3 pt-4 border-t border-white/10",children:h.jsx(In,{onClick:()=>c(!0),className:"w-full bg-gradient-to-r from-[#5D5FEF] to-[#2DD4BF] hover:opacity-90 text-white font-['Montserrat'] font-semibold",children:"Contact Us"})})]})})})]}),a&&h.jsx(J.div,{className:"fixed inset-0 bg-black/70 backdrop-blur-sm z-[100] flex items-center justify-center p-6",initial:{opacity:0}
203,animate:{opacity:1},onClick:()=>c(!1),children:h.jsxs(J.div,{className:"bg-gradient-to-br from-[#1a1a4e] to-[#0f0f2e] border border-white/20 rounded-3xl p-8 md:p-12 max-w-lg w-full shadow-2xl relative max-h-[90vh] overflow-y-auto",initial:{scale:.9,y:20},animate:{scale:1,y:0},onClick:v=>v.stopPropagation(),children:[h.jsx("button",{onClick:()=>c(!1),className:"absolute top-6 right-6 text-gray-400 hover:text-white transition-colors",children:h.jsx("svg",{className:"w-6 h-6",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:h.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})}),m?h.jsxs("div",{className:"text-center py-8",children:[h.jsx(J.div,{initial:{scale:0},animate:{scale:1},transition:{type:"spring",duration:.5},className:"w-20 h-20 bg-gradient-to-r from-[#5D5FEF] to-[#2DD4BF] rounded-full flex items-center justify-center mx-auto mb-6",children:h.jsx("svg",{className:"w-10 h-10 text-white",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:h.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:3,d:"M5 13l4 4L19 7"})})}),h.jsx("h3",{className:"text-2xl font-['Montserrat'] font-black text-white mb-3",children:"Message Sent!"}),h.jsx("p",{className:"text-gray-300 font-['Inter']",children:"Thank you for contacting us. We'll get back to you soon."})]}):h.jsxs(h.Fragment,{children:[h.jsx("h2",{className:"text-3xl md:text-4xl font-['Montserrat'] font-black text-white mb-8",children:h.jsx("span",{className:"bg-gradient-to-r from-[#5D5FEF] via-[#8B5CF6] to-[#2DD4BF] bg-clip-text text-transparent",children:"Contact Us"})}),h.jsxs("form",{onSubmit:x,className:"space-y-6",children:[h.jsxs("div",{children:[h.jsxs("label",{htmlFor:"contactFullName",className:"block text-sm font-['Montserrat'] font-semibold text-white mb-2",children:["Full Name ",h.jsx("span",{className:"text-[#2DD4BF]",children:"*"})]}),h.jsx("input",{type:"text",id:"contactFullName",required:!0,value:u.fullName,onChange:v=>d({...u,fullName:v.target.value}),className:"w-full px-4 py-3 bg-white/10 border border-white/20 rounded-xl text-white placeholder-gray-400 focus:outline-none focus:border-[#5D5FEF] focus:ring-2 focus:ring-[#5D5FEF]/50 transition-all font-['Inter']",placeholder:"John Doe"})]}),h.jsxs("div",{children:[h.jsxs("label",{htmlFor:"contactEmail",className:"block text-sm font-['Montserrat'] font-semibold text-white mb-2",children:["Email Address ",h.jsx("span",{className:"text-[#2DD4BF]",children:"*"})]}),h.jsx("input",{type:"email",id:"contactEmail",required:!0,value:u.email,onChange:v=>d({...u,email:v.target.value}),className:"w-full px-4 py-3 bg-white/10 border border-white/20 rounded-xl text-white placeholder-gray-400 focus:outline-none focus:border-[#5D5FEF] focus:ring-2 focus:ring-[#5D5FEF]/50 transition-all font-['Inter']",placeholder:"[email protected]"})]}),h.jsxs("div",{children:[h.jsx("label",{htmlFor:"contactCompany",className:"block text-sm font-['Montserrat'] font-semibold text-white mb-2",children:"Company"}),h.jsx("input",{type:"text",id:"contactCompany",value:u.company,onChange:v=>d({...u,company:v.target.value}),className:"w-full px-4 py-3 bg-white/10 border border-white/20 rounded-xl text-white placeholder-gray-400 focus:outline-none focus:border-[#5D5FEF] focus:ring-2 focus:ring-[#5D5FEF]/50 transition-all font-['Inter']",placeholder:"Acme Corp"})]}),h.jsxs("div",{children:[h.jsxs("label",{htmlFor:"contactMessage",className:"block text-sm font-['Montserrat'] font-semibold text-white mb-2",children:["Message ",h.jsx("span",{className:"text-[#2DD4BF]",children:"*"})]}),h.jsx("textarea",{id:"contactMessage",required:!0,rows:5,value:u.message,onChange:v=>d({...u,message:v.target.value}),className:"w-full px-4 py-3 bg-white/10 border border-white/20 rounded-xl text-white placeholder-gray-400 focus:outline-none focus:border-[#5D5FEF] focus:ring-2 focus:ring-[#5D5FEF]/50 transition-all font-['Inter'] resize-none",placeholder:"Tell us how we can help..."})]}),h.jsx(In,{type:"submit",className:"w-full bg-gradient-to-r from-[#5D5FEF] to-[#2DD4BF] hover:opacity-90 text-white py-4 rounded-xl font-['Montserrat'] font-bold text-lg shadow-lg shadow-[#5D5FEF]/50 hover:shadow-[#5D5FEF]/70 transition-all",children:"Send Message"})]})]})]})})]})}const ZN="/assets/8d01e332b40703771cf310e1518d9ad5318b16b9-BjV4FXDA.png";function JN(){const[e,n]=k.useState(!1),[i,s]=k.useState({fullName:"",email:""}),[a,c]=k.useState(!1),u=d=>{d.preventDefault(),console.log("Form submitted:",i),c(!0),setTimeout(()=>{n(!1),c(!1),s({fullName:"",email:""})},3e3)};return h.jsxs("section",{className:"relative min-h-screen flex items-center overflow-hidden bg-[#0f0f2e]",children:[h.jsxs("div",{className:"absolute inset-0",children:[h.jsx("div",{className:"absolute inset-0 bg-[radial-gradient(ellipse_at_50%_50%,rgba(139,92,246,0.15),transparent_60%)]"}),h.jsx("div",{className:"absolute inset-0 bg-[radial-gradient(ellipse_at_80%_20%,rgba(93,95,239,0.2),transparent_50%)]"}),h.jsx("div",{className:"absolute inset-0 bg-[radial-gradient(ellipse_at_20%_80%,rgba(45,212,191,0.1),transparent_40%)]"}),h.jsx("div",{className:"absolute inset-0 opacity-20",style:{backgroundImage:"radial-gradient(circle at 2px 2px, rgba(93,95,239,0.3) 1px, transparent 0)",backgroundSize:"50px 50px"}})]}),h.jsx("div",{className:"container mx-auto px-6 py-32 relative z-10",children:h.jsxs("div",{className:"max-w-7xl mx-auto grid lg:grid-cols-2 gap-16 items-center",children:[h.jsxs(J.div,{className:"space-y-8",initial:{opacity:0,y:30}
203,animate:{opacity:1,y:0},transition:{duration:.8},children:[h.jsxs(J.h1,{className:"text-6xl md:text-7xl lg:text-8xl font-['Montserrat'] font-black leading-[1.1] text-white",initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.3,duration:.8},children:["The direct path to"," ",h.jsxs("span",{className:"relative inline-block",children:[h.jsx("span",{className:"absolute inset-0 blur-2xl bg-gradient-to-r from-[#5D5FEF] via-[#8B5CF6] to-[#2DD4BF] opacity-50"}),h.jsx("span",{className:"relative bg-gradient-to-r from-[#5D5FEF] via-[#8B5CF6] to-[#2DD4BF] bg-clip-text text-transparent",children:"peak potential"})]})]}),h.jsx(J.p,{className:"text-xl md:text-2xl text-gray-300 font-['Inter'] leading-relaxed max-w-2xl",initial:{opacity:0},animate:{opacity:1},transition:{delay:.5,duration:.8},children:"AI-Driven Career Acceleration for Mission-Ready Organizations and Ambitious Individuals."}),h.jsx(J.p,{className:"text-lg text-gray-400 font-['Inter'] leading-relaxed max-w-2xl",initial:{opacity:0},animate:{opacity:1},transition:{delay:.6,duration:.8},children:"MARi is a secure, FedRAMP Moderate certified platform connecting human potential with mission-critical organizational needs."}),h.jsx(J.div,{className:"flex gap-6",initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.7,duration:.8},children:h.jsxs(In,{size:"lg",onClick:()=>n(!0),className:"bg-gradient-to-r from-[#5D5FEF] to-[#2DD4BF] hover:opacity-90 text-white px-10 py-8 rounded-xl group shadow-2xl shadow-[#5D5FEF]/50 hover:shadow-[#5D5FEF]/70 transition-all text-lg font-['Montserrat'] font-bold",children:["Get Early Access",h.jsx(ed,{className:"ml-3 h-6 w-6 group-hover:translate-x-2 transition-transform"})]})})]}),h.jsxs(J.div,{className:"relative",initial:{opacity:0,x:30},animate:{opacity:1,x:0},transition:{delay:.4,duration:1},children:[h.jsx(J.div,{className:"inline-block mb-6",initial:{opacity:0,scale:.9},animate:{opacity:1,scale:1},transition:{delay:.2,duration:.6},children:h.jsx("span",{className:"px-6 py-3 bg-gradient-to-r from-[#5D5FEF] to-[#8B5CF6] text-white rounded-full text-sm font-['Montserrat'] font-semibold tracking-wide shadow-lg shadow-[#5D5FEF]/50 animate-pulse",children:"FedRAMP Moderate Certified"})}),h.jsx("div",{className:"relative rounded-3xl overflow-hidden shadow-2xl border border-white/10 backdrop-blur-xl bg-white/5",children:h.jsxs("div",{className:"relative",children:[h.jsx("img",{src:ZN,alt:"MARi Platform Interface",className:"w-full h-auto"}),h.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/20 to-transparent pointer-events-none"})]})}),h.jsx(J.div,{className:"absolute -right-6 -bottom-6 bg-gradient-to-br from-white/20 to-white/10 backdrop-blur-xl rounded-2xl shadow-2xl p-6 border border-white/20",initial:{opacity:0,scale:.8,rotate:-5},animate:{opacity:1,scale:1,rotate:0},transition:{delay:1.5,duration:.6},whileHover:{scale:1.05,rotate:2},children:h.jsxs("div",{className:"flex items-center gap-4",children:[h.jsx("div",{className:"w-14 h-14 bg-gradient-to-br from-[#5D5FEF] to-[#2DD4BF] rounded-xl flex items-center justify-center shadow-lg shadow-[#5D5FEF]/50",children:h.jsx("span",{className:"text-white font-['Montserrat'] font-black text-2xl",children:"AI"})}),h.jsxs("div",{children:[h.jsx("p",{className:"font-['Montserrat'] font-bold text-white",children:"AI-Powered Insights"}),h.jsx("p",{className:"text-sm text-gray-300 font-['Inter']",children:"Real-time analysis"})]})]})})]})]})}),h.jsx(J.div,{className:"absolute bottom-10 left-1/2 transform -translate-x-1/2",initial:{opacity:0,y:-10},animate:{opacity:1,y:0},transition:{delay:2,duration:.8,repeat:1/0,repeatType:"reverse"},children:h.jsx("div",{className:"w-6 h-10 border-2 border-white/30 rounded-full flex items-start justify-center p-2",children:h.jsx(J.div,{className:"w-1.5 h-1.5 bg-white rounded-full",animate:{y:[0,12,0]},transition:{duration:1.5,repeat:1/0}})})}),e&&h.jsx(J.div,{className:"fixed inset-0 bg-black/70 backdrop-blur-sm z-50 flex items-center justify-center p-6",initial:{opacity:0}
203,animate:{opacity:1},onClick:()=>n(!1),children:h.jsxs(J.div,{className:"bg-gradient-to-br from-[#1a1a4e] to-[#0f0f2e] border border-white/20 rounded-3xl p-8 md:p-12 max-w-md w-full shadow-2xl relative",initial:{scale:.9,y:20},animate:{scale:1,y:0},onClick:d=>d.stopPropagation(),children:[h.jsx("button",{onClick:()=>n(!1),className:"absolute top-6 right-6 text-gray-400 hover:text-white transition-colors",children:h.jsx("svg",{className:"w-6 h-6",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:h.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})}),a?h.jsxs("div",{className:"text-center py-8",children:[h.jsx(J.div,{initial:{scale:0},animate:{scale:1},transition:{type:"spring",duration:.5},className:"w-20 h-20 bg-gradient-to-r from-[#5D5FEF] to-[#2DD4BF] rounded-full flex items-center justify-center mx-auto mb-6",children:h.jsx("svg",{className:"w-10 h-10 text-white",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:h.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:3,d:"M5 13l4 4L19 7"})})}),h.jsx("h3",{className:"text-2xl font-['Montserrat'] font-black text-white mb-3",children:"You're on the list!"}),h.jsx("p",{className:"text-gray-300 font-['Inter']",children:"We'll notify you when MARi launches."})]}):h.jsxs(h.Fragment,{children:[h.jsxs("h2",{className:"text-3xl md:text-4xl font-['Montserrat'] font-black text-white mb-4",children:["Put Me on the List for"," ",h.jsx("span",{className:"bg-gradient-to-r from-[#5D5FEF] via-[#8B5CF6] to-[#2DD4BF] bg-clip-text text-transparent",children:"Early Access"})]}),h.jsx("p",{className:"text-gray-300 font-['Inter'] mb-8",children:"Enter your email address to be notified of our launch."}),h.jsxs("form",{onSubmit:u,className:"space-y-6",children:[h.jsxs("div",{children:[h.jsx("label",{htmlFor:"fullName",className:"block text-sm font-['Montserrat'] font-semibold text-white mb-2",children:"Full Name"}),h.jsx("input",{type:"text",id:"fullName",required:!0,value:i.fullName,onChange:d=>s({...i,fullName:d.target.value}),className:"w-full px-4 py-3 bg-white/10 border border-white/20 rounded-xl text-white placeholder-gray-400 focus:outline-none focus:border-[#5D5FEF] focus:ring-2 focus:ring-[#5D5FEF]/50 transition-all font-['Inter']",placeholder:"John Doe"})]}),h.jsxs("div",{children:[h.jsx("label",{htmlFor:"email",className:"block text-sm font-['Montserrat'] font-semibold text-white mb-2",children:"Email Address"}),h.jsx("input",{type:"email",id:"email",required:!0,value:i.email,onChange:d=>s({...i,email:d.target.value}),className:"w-full px-4 py-3 bg-white/10 border border-white/20 rounded-xl text-white placeholder-gray-400 focus:outline-none focus:border-[#5D5FEF] focus:ring-2 focus:ring-[#5D5FEF]/50 transition-all font-['Inter']",placeholder:"[email protected]"})]}),h.jsx(In,{type:"submit",className:"w-full bg-gradient-to-r from-[#5D5FEF] to-[#2DD4BF] hover:opacity-90 text-white py-4 rounded-xl font-['Montserrat'] font-bold text-lg shadow-lg shadow-[#5D5FEF]/50 hover:shadow-[#5D5FEF]/70 transition-all",children:"Notify Me at Launch"})]})]})]})})]})}const eD="/assets/af6f98a3bee5b0095fa5a89d16ac1c56257f2379-Dld62D3e.png";function tD(){const e=k.useRef(null),n=os(e,{once:!0,margin:"-100px"}),i=[{icon:Qb,title:"MATCH",description:"Our AI compares a whole-person profile against any job or task profile at an atomic level.",details:"Compare an individual's holistic profile (skills, mindset, and experience) against any job or task profile with precision.",gradient:"from-[#5D5FEF] to-[#8B5CF6]"},{icon:Jb,title:"GAP",description:"Instantly pinpoint skill and knowledge deficiencies with real-time predictive analytics.",details:"Instantly pinpoint skill deficiencies or knowledge voids using real-time predictive analytics.",gradient:"from-[#8B5CF6] to-[#2DD4BF]"},{icon:Lb,title:"RECOMMEND",description:"Deploy targeted, personalized learning pathways to close proficiency gaps in the shortest time possible.",details:"Deploy targeted, AI-curated pathways to close proficiency gaps in the shortest time possible.",gradient:"from-[#2DD4BF] to-[#5D5FEF]"}];return h.jsxs("section",{id:"platform",className:"py-32 bg-[#0f0f2e] relative overflow-hidden",ref:e,children:[h.jsxs("div",{className:"absolute inset-0",children:[h.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-[#0f0f2e] via-[#1a1a4e] to-[#0f0f2e]"}),h.jsx("div",{className:"absolute inset-0 opacity-20",children:h.jsx("img",{src:eD,alt:"",className:"w-full h-full object-cover mix-blend-screen"})}),h.jsx("div",{className:"absolute top-0 right-0 w-1/2 h-1/2 opacity-40",style:{background:"radial-gradient(circle, rgba(45,212,191,0.5) 2px, transparent 2px)",backgroundSize:"20px 20px",maskImage:"radial-gradient(ellipse at 100% 0%, black 0%, transparent 70%)",WebkitMaskImage:"radial-gradient(ellipse at 100% 0%, black 0%, transparent 70%)"}}),h.jsx("div",{className:"absolute inset-0 opacity-10",style:{backgroundImage:"radial-gradient(circle at 1px 1px, rgba(45,212,191,0.3) 1px, transparent 0)",backgroundSize:"40px 40px"}}),h.jsx(J.div,{className:"absolute top-1/4 left-1/4 w-96 h-96 bg-[#5D5FEF] rounded-full blur-[120px] opacity-20",animate:{scale:[1,1.2,1],x:[0,50,0],y:[0,30,0]},transition:{duration:8,repeat:1/0,ease:"easeInOut"}}),h.jsx(J.div,{className:"absolute bottom-1/4 right-1/4 w-96 h-96 bg-[#2DD4BF] rounded-full blur-[120px] opacity-20",animate:{scale:[1,1.3,1],x:[0,-50,0],y:[0,-30,0]},transition:{duration:10,repeat:1/0,ease:"easeInOut"}})]}),h.jsx("div",{className:"container mx-auto px-6 relative z-10",children:h.jsxs("div",{className:"max-w-7xl mx-auto",children:[h.jsxs(J.div,{className:"text-center mb-20",initial:{opacity:0,y:30},animate:n?{opacity:1,y:0}:{},transition:{duration:.8},children:[h.jsx(J.div,{className:"inline-block mb-6",initial:{opacity:0,scale:.8},animate:n?{opacity:1,scale:1}:{},transition:{delay:.2,duration:.6},children:h.jsx("span",{className:"px-6 py-3 bg-gradient-to-r from-[#5D5FEF]/20 to-[#2DD4BF]/20 text-[#2DD4BF] rounded-full text-sm font-['Montserrat'] font-semibold tracking-wide border border-[#2DD4BF]/30",children:"Core Framework"})}),h.jsx("h2",{className:"text-5xl md:text-6xl lg:text-7xl font-['Montserrat'] font-black mb-8 text-white",children:h.jsxs("span",{className:"relative inline-block",children:[h.jsx("span",{className:"absolute inset-0 blur-3xl bg-gradient-to-r from-[#5D5FEF] via-[#8B5CF6] to-[#2DD4BF] opacity-40"}),h.jsx("span",{className:"relative bg-gradient-to-r from-[#5D5FEF] via-[#8B5CF6] to-[#2DD4BF] bg-clip-text text-transparent",children:"Match ⢠Gap ⢠Recommend"})]})}),h.jsx("p",{className:"text-2xl text-gray-300 font-['Inter'] max-w-4xl mx-auto leading-relaxed",children:"We've decoded the DNA of career success. By utilizing translational, atomic-level personal attributes, our AI engine identifies the precise trajectory for any role."})]}),h.jsx("div",{className:"grid md:grid-cols-3 gap-8",children:i.map((s,a)=>{const c=s.icon;return h.jsxs(J.div,{className:"group relative",initial:{opacity:0,y:50},animate:n?{opacity:1,y:0}:{},transition:{delay:.3+a*.2,duration:.8},whileHover:{y:-10},children:[h.jsx("div",{className:`absolute inset-0 bg-gradient-to-br ${s.gradient} opacity-0 group-hover:opacity-20 rounded-3xl blur-xl transition-opacity duration-500`}),h.jsxs("div",{className:"relative bg-gradient-to-br from-white/5 to-white/[0.02] backdrop-blur-sm rounded-3xl p-10 border border-white/10 group-hover:border-white/20 transition-all duration-500 h-full",children:[h.jsx(J.div,{className:"relative mb-8",children:h.jsx("div",{className:`inline-flex p-5 rounded-2xl bg-gradient-to-br ${s.gradient} shadow-2xl group-hover:scale-110 transition-transform duration-500`,style:{boxShadow:"0 0 40px rgba(93, 95, 239, 0.4)"},children:h.jsx(J.div,{animate:{y:[0,-3,0]},transition:{duration:2,repeat:1/0,ease:"easeInOut"},children:h.jsx(c,{className:"w-10 h-10 text-white"})})})}),h.jsxs("div",{className:"relative space-y-6",children:[h.jsx("h3",{className:"text-4xl font-['Montserrat'] font-black text-white",children:s.title}),h.jsx("p",{className:"text-gray-300 font-['Inter'] leading-relaxed text-lg",children:s.description}),h.jsx(J.div,{className:`h-1 bg-gradient-to-r ${s.gradient} rounded-full`,initial:{width:0},animate:n?{width:"100px"}:{},transition:{delay:.5+a*.2,duration:.8}})]})]})]},a)})}),h.jsx(J.div,{className:"mt-20 text-center",initial:{opacity:0}
vendor: 12,972 bytes, line 203
203,animate:n?{opacity:1}:{},transition:{delay:1,duration:.8},children:h.jsx("p",{className:"text-xl text-gray-400 font-['Inter'] max-w-5xl mx-auto leading-relaxed",children:"The Three Pillars work together seamlessly to provide a comprehensive career acceleration platform that transforms how organizations and individuals approach workforce readiness and career development."})})]})})]})}var go=e=>e.type==="checkbox",ei=e=>e instanceof Date,Mt=e=>e==null;const O0=e=>typeof e=="object";var st=e=>!Mt(e)&&!Array.isArray(e)&&O0(e)&&!ei(e),B0=e=>st(e)&&e.target?go(e.target)?e.target.checked:e.target.value:e,nD=e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e,z0=(e,n)=>e.has(nD(n)),rD=e=>{const n=e.constructor&&e.constructor.prototype;return st(n)&&n.hasOwnProperty("isPrototypeOf")},wf=typeof window<"u"&&typeof window.HTMLElement<"u"&&typeof document<"u";function St(e){let n;const i=Array.isArray(e),s=typeof FileList<"u"?e instanceof FileList:!1;if(e instanceof Date)n=new Date(e);else if(e instanceof Set)n=new Set(e);else if(!(wf&&(e instanceof Blob||s))&&(i||st(e)))if(n=i?[]:{},!i&&!rD(e))n=e;else for(const a in e)e.hasOwnProperty(a)&&(n[a]=St(e[a]));else return e;return n}var kl=e=>Array.isArray(e)?e.filter(Boolean):[],it=e=>e===void 0,ue=(e,n,i)=>{if(!n||!st(e))return i;const s=kl(n.split(/[,[\].]+?/)).reduce((a,c)=>Mt(a)?a:a[c],e);return it(s)||s===e?it(e[n])?i:e[n]:s},Kt=e=>typeof e=="boolean",bf=e=>/^\w*$/.test(e),W0=e=>kl(e.replace(/["|']|\]/g,"").split(/\.|\[/)),ze=(e,n,i)=>{let s=-1;const a=bf(n)?[n]:W0(n),c=a.length,u=c-1;for(;++s<c;){const d=a[s];let m=i;if(s!==u){const y=e[d];m=st(y)||Array.isArray(y)?y:isNaN(+a[s+1])?{}:[]}if(d==="__proto__"||d==="constructor"||d==="prototype")return;e[d]=m,e=e[d]}};const al={BLUR:"blur",FOCUS_OUT:"focusout",CHANGE:"change"},vn={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},qn={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"},iD=Me.createContext(null),Sf=()=>Me.useContext(iD);var U0=(e,n,i,s=!0)=>{const a={defaultValues:n._defaultValues};for(const c in e)Object.defineProperty(a,c,{get:()=>{const u=c;return n._proxyFormState[u]!==vn.all&&(n._proxyFormState[u]=!s||vn.all),i&&(i[u]=!0),e[u]}});return a};function sD(e){const n=Sf(),{control:i=n.control,disabled:s,name:a,exact:c}=e||{},[u,d]=Me.useState(i._formState),m=Me.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1}),y=Me.useRef(a);return y.current=a,Me.useEffect(()=>i._subscribe({name:y.current,formState:m.current,exact:c,callback:g=>{!s&&d({...i._formState,...g})}}),[i,s,c]),Me.useEffect(()=>{m.current.isValid&&i._setValid(!0)},[i]),Me.useMemo(()=>U0(u,i,m.current,!1),[u,i])}var Mn=e=>typeof e=="string",$0=(e,n,i,s,a)=>Mn(e)?(s&&n.watch.add(e),ue(i,e,a)):Array.isArray(e)?e.map(c=>(s&&n.watch.add(c),ue(i,c))):(s&&(n.watchAll=!0),i);function oD(e){const n=Sf(),{control:i=n.control,name:s,defaultValue:a,disabled:c,exact:u}=e||{},d=Me.useRef(s),m=Me.useRef(a);d.current=s,Me.useEffect(()=>i._subscribe({name:d.current,formState:{values:!0},exact:u,callback:x=>!c&&g($0(d.current,i._names,x.values||i._formValues,!1,m.current))}),[i,c,u]);const[y,g]=Me.useState(i._getWatch(s,a));return Me.useEffect(()=>i._removeUnmounted()),y}function aD(e){const n=Sf(),{name:i,disabled:s,control:a=n.control,shouldUnregister:c}=e,u=z0(a._names.array,i),d=oD({control:a,name:i,defaultValue:ue(a._formValues,i,ue(a._defaultValues,i,e.defaultValue)),exact:!0}),m=sD({control:a,name:i,exact:!0}),y=Me.useRef(e),g=Me.useRef(a.register(i,{...e.rules,value:d,...Kt(e.disabled)?{disabled:e.disabled}:{}})),x=Me.useMemo(()=>Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!ue(m.errors,i)},isDirty:{enumerable:!0,get:()=>!!ue(m.dirtyFields,i)},isTouched:{enumerable:!0,get:()=>!!ue(m.touchedFields,i)},isValidating:{enumerable:!0,get:()=>!!ue(m.validatingFields,i)},error:{enumerable:!0,get:()=>ue(m.errors,i)}}),[m,i]),v=Me.useCallback(E=>g.current.onChange({target:{value:B0(E),name:i},type:al.CHANGE}),[i]),b=Me.useCallback(()=>g.current.onBlur({target:{value:ue(a._formValues,i),name:i},type:al.BLUR}),[i,a._formValues]),C=Me.useCallback(E=>{const j=ue(a._fields,i);j&&E&&(j._f.ref={focus:()=>E.focus(),select:()=>E.select(),setCustomValidity:N=>E.setCustomValidity(N),reportValidity:()=>E.reportValidity()})},[a._fields,i]),S=Me.useMemo(()=>({name:i,value:d,...Kt(s)||m.disabled?{disabled:m.disabled||s}:{},onChange:v,onBlur:b,ref:C}),[i,s,m.disabled,v,b,C,d]);return Me.useEffect(()=>{const E=a._options.shouldUnregister||c;a.register(i,{...y.current.rules,...Kt(y.current.disabled)?{disabled:y.current.disabled}:{}});const j=(N,F)=>{const I=ue(a._fields,N);I&&I._f&&(I._f.mount=F)};if(j(i,!0),E){const N=St(ue(a._options.defaultValues,i));ze(a._defaultValues,i,N),it(ue(a._formValues,i))&&ze(a._formValues,i,N)}return!u&&a.register(i),()=>{(u?E&&!a._state.action:E)?a.unregister(i):j(i,!1)}},[i,a,u,c]),Me.useEffect(()=>{a._setDisabledField({disabled:s,name:i})},[s,i,a]),Me.useMemo(()=>({field:S,formState:m,fieldState:x}),[S,m,x])}const $i=e=>e.render(aD(e));var lD=(e,n,i,s,a)=>n?{...i[e],types:{...i[e]&&i[e].types?i[e].types:{},[s]:a||!0}}:{},io=e=>Array.isArray(e)?e:[e],ey=()=>{let e=[];return{get observers(){return e},next:a=>{for(const c of e)c.next&&c.next(a)},subscribe:a=>(e.push(a),{unsubscribe:()=>{e=e.filter(c=>c!==a)}}),unsubscribe:()=>{e=[]}}},Fd=e=>Mt(e)||!O0(e);function Nr(e,n){if(Fd(e)||Fd(n))return e===n;if(ei(e)&&ei(n))return e.getTime()===n.getTime();const i=Object.keys(e),s=Object.keys(n);if(i.length!==s.length)return!1;for(const a of i){const c=e[a];if(!s.includes(a))return!1;if(a!=="ref"){const u=n[a];if(ei(c)&&ei(u)||st(c)&&st(u)||Array.isArray(c)&&Array.isArray(u)?!Nr(c,u):c!==u)return!1}}return!0}var At=e=>st(e)&&!Object.keys(e).length,kf=e=>e.type==="file",xn=e=>typeof e=="function",ll=e=>{if(!wf)return!1;const n=e?e.ownerDocument:0;return e instanceof(n&&n.defaultView?n.defaultView.HTMLElement:HTMLElement)},H0=e=>e.type==="select-multiple",Cf=e=>e.type==="radio",cD=e=>Cf(e)||go(e),Uu=e=>ll(e)&&e.isConnected;function uD(e,n){const i=n.slice(0,-1).length;let s=0;for(;s<i;)e=it(e)?s++:e[n[s++]];return e}function dD(e){for(const n in e)if(e.hasOwnProperty(n)&&!it(e[n]))return!1;return!0}function pt(e,n){const i=Array.isArray(n)?n:bf(n)?[n]:W0(n),s=i.length===1?e:uD(e,i),a=i.length-1,c=i[a];return s&&delete s[c],a!==0&&(st(s)&&At(s)||Array.isArray(s)&&dD(s))&&pt(e,i.slice(0,-1)),e}var K0=e=>{for(const n in e)if(xn(e[n]))return!0;return!1};function cl(e,n={}){const i=Array.isArray(e);if(st(e)||i)for(const s in e)Array.isArray(e[s])||st(e[s])&&!K0(e[s])?(n[s]=Array.isArray(e[s])?[]:{},cl(e[s],n[s])):Mt(e[s])||(n[s]=!0);return n}function G0(e,n,i){const s=Array.isArray(e);if(st(e)||s)for(const a in e)Array.isArray(e[a])||st(e[a])&&!K0(e[a])?it(n)||Fd(i[a])?i[a]=Array.isArray(e[a])?cl(e[a],[]):{...cl(e[a])}:G0(e[a],Mt(n)?{}:n[a],i[a]):i[a]=!Nr(e[a],n[a]);return i}var qs=(e,n)=>G0(e,n,cl(n));const ty={value:!1,isValid:!1},ny={value:!0,isValid:!0};var Y0=e=>{if(Array.isArray(e)){if(e.length>1){const n=e.filter(i=>i&&i.checked&&!i.disabled).map(i=>i.value);return{value:n,isValid:!!n.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!it(e[0].attributes.value)?it(e[0].value)||e[0].value===""?ny:{value:e[0].value,isValid:!0}:ny:ty}return ty},X0=(e,{valueAsNumber:n,valueAsDate:i,setValueAs:s})=>it(e)?e:n?e===""?NaN:e&&+e:i&&Mn(e)?new Date(e):s?s(e):e;const ry={isValid:!1,value:null};var q0=e=>Array.isArray(e)?e.reduce((n,i)=>i&&i.checked&&!i.disabled?{isValid:!0,value:i.value}:n,ry):ry;function iy(e){const n=e.ref;return kf(n)?n.files:Cf(n)?q0(e.refs).value:H0(n)?[...n.selectedOptions].map(({value:i})=>i):go(n)?Y0(e.refs).value:X0(it(n.value)?e.ref.value:n.value,e)}var fD=(e,n,i,s)=>{const a={};for(const c of e){const u=ue(n,c);u&&ze(a,c,u._f)}return{criteriaMode:i,names:[...e],fields:a,shouldUseNativeValidation:s}},ul=e=>e instanceof RegExp,Qs=e=>it(e)?e:ul(e)?e.source:st(e)?ul(e.value)?e.value.source:e.value:e,sy=e=>({isOnSubmit:!e||e===vn.onSubmit,isOnBlur:e===vn.onBlur,isOnChange:e===vn.onChange,isOnAll:e===vn.all,isOnTouch:e===vn.onTouched});const oy="AsyncFunction";var hD=e=>!!e&&!!e.validate&&!!(xn(e.validate)&&e.validate.constructor.name===oy||st(e.validate)&&Object.values(e.validate).find(n=>n.constructor.name===oy)),pD=e=>e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate),ay=(e,n,i)=>!i&&(n.watchAll||n.watch.has(e)||[...n.watch].some(s=>e.startsWith(s)&&/^\.\w+/.test(e.slice(s.length))));const so=(e,n,i,s)=>{for(const a of i||Object.keys(e)){const c=ue(e,a);if(c){const{_f:u,...d}=c;if(u){if(u.refs&&u.refs[0]&&n(u.refs[0],a)&&!s)return!0;if(u.ref&&n(u.ref,u.name)&&!s)return!0;if(so(d,n))break}else if(st(d)&&so(d,n))break}}};function ly(e,n,i){const s=ue(e,i);if(s||bf(i))return{error:s,name:i};const a=i.split(".");for(;a.length;){const c=a.join("."),u=ue(n,c),d=ue(e,c);if(u&&!Array.isArray(u)&&i!==c)return{name:i};if(d&&d.type)return{name:c,error:d};a.pop()}return{name:i}}var mD=(e,n,i,s)=>{i(e);const{name:a,...c}=e;return At(c)||Object.keys(c).length>=Object.keys(n).length||Object.keys(c).find(u=>n[u]===(!s||vn.all))},gD=(e,n,i)=>!e||!n||e===n||io(e).some(s=>s&&(i?s===n:s.startsWith(n)||n.startsWith(s))),yD=(e,n,i,s,a)=>a.isOnAll?!1:!i&&a.isOnTouch?!(n||e):(i?s.isOnBlur:a.isOnBlur)?!e:(i?s.isOnChange:a.isOnChange)?e:!0,vD=(e,n)=>!kl(ue(e,n)).length&&pt(e,n),xD=(e,n,i)=>{const s=io(ue(e,i));return ze(s,"root",n[i]),ze(e,i,s),e},Ya=e=>Mn(e);function cy(e,n,i="validate"){if(Ya(e)||Array.isArray(e)&&e.every(Ya)||Kt(e)&&!e)return{type:i,message:Ya(e)?e:"",ref:n}}var _i=e=>st(e)&&!ul(e)?e:{value:e,message:""},uy=async(e,n,i,s,a,c)=>{const{ref:u,refs:d,required:m,maxLength:y,minLength:g,min:x,max:v,pattern:b,validate:C,name:S,valueAsNumber:E,mount:j}=e._f,N=ue(i,S);if(!j||n.has(S))return{};const F=d?d[0]:u,I=ee=>{a&&F.reportValidity&&(F.setCustomValidity(Kt(ee)?"":ee||""),F.reportValidity())},L={},H=Cf(u),U=go(u),z=H||U,q=(E||kf(u))&&it(u.value)&&it(N)||ll(u)&&u.value===""||N===""||Array.isArray(N)&&!N.length,K=lD.bind(null,S,s,L),le=(ee,ne,oe,pe=qn.maxLength,se=qn.minLength)=>{const ce=ee?ne:oe;L[S]={type:ee?pe:se,message:ce,ref:u,...K(ee?pe:se,ce)}};if(c?!Array.isArray(N)||!N.length:m&&(!z&&(q||Mt(N))||Kt(N)&&!N||U&&!Y0(d).isValid||H&&!q0(d).isValid)){const{value:ee,message:ne}=Ya(m)?{value:!!m,message:m}:_i(m);if(ee&&(L[S]={type:qn.required,message:ne,ref:F,...K(qn.required,ne)},!s))return I(ne),L}if(!q&&(!Mt(x)||!Mt(v))){let ee,ne;const oe=_i(v),pe=_i(x);if(!Mt(N)&&!isNaN(N)){const se=u.valueAsNumber||N&&+N;Mt(oe.value)||(ee=se>oe.value),Mt(pe.value)||(ne=se<pe.value)}else{const se=u.valueAsDate||new Date(N),ce=Q=>new Date(new Date().toDateString()+" "+Q),R=u.type=="time",X=u.type=="week";Mn(oe.value)&&N&&(ee=R?ce(N)>ce(oe.value):X?N>oe.value:se>new Date(oe.value)),Mn(pe.value)&&N&&(ne=R?ce(N)<ce(pe.value):X?N<pe.value:se<new Date(pe.value))}if((ee||ne)&&(le(!!ee,oe.message,pe.message,qn.max,qn.min),!s))return I(L[S].message),L}if((y||g)&&!q&&(Mn(N)||c&&Array.isArray(N))){const ee=_i(y),ne=_i(g),oe=!Mt(ee.value)&&N.length>+ee.value,pe=!Mt(ne.value)&&N.length<+ne.value;if((oe||pe)&&(le(oe,ee.message,ne.message),!s))return I(L[S].message),L}if(b&&!q&&Mn(N)){const{value:ee,message:ne}=_i(b);if(ul(ee)&&!N.match(ee)&&(L[S]={type:qn.pattern,message:ne,ref:u,...K(qn.pattern,ne)},!s))return I(ne),L}if(C){if(xn(C)){const ee=await C(N,i),ne=cy(ee,F);if(ne&&(L[S]={...ne,...K(qn.validate,ne.message)},!s))return I(ne.message),L}else if(st(C)){let ee={};for(const ne in C){if(!At(ee)&&!s)break;const oe=cy(await C[ne](N,i),F,ne);oe&&(ee={...oe,...K(ne,oe.message)},I(oe.message),s&&(L[S]=ee))}if(!At(ee)&&(L[S]={ref:F,...ee},!s))return L}}return I(!0),L};const wD={mode:vn.onSubmit,reValidateMode:vn.onChange,shouldFocusError:!0};function bD(e={}){let n={...wD,...e},i={submitCount:0,isDirty:!1,isLoading:xn(n.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:n.errors||{},disabled:n.disabled||!1};const s={};let a=st(n.defaultValues)||st(n.values)?St(n.values||n.defaultValues)||{}:{},c=n.shouldUnregister?{}:St(a),u={action:!1,mount:!1,watch:!1},d={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set},m,y=0;const g={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1};let x={...g};const v={array:ey(),state:ey()},b=sy(n.mode),C=sy(n.reValidateMode),S=n.criteriaMode===vn.all,E=P=>O=>{clearTimeout(y),y=setTimeout(P,O)},j=async P=>{if(!n.disabled&&(g.isValid||x.isValid||P)){const O=n.resolver?At((await q()).errors):await le(s,!0);O!==i.isValid&&v.state.next({isValid:O})}},N=(P,O)=>{!n.disabled&&(g.isValidating||g.validatingFields||x.isValidating||x.validatingFields)&&((P||Array.from(d.mount)).forEac
vendor: 12,155 bytes, line 203
203h(W=>{W&&(O?ze(i.validatingFields,W,O):pt(i.validatingFields,W))}),v.state.next({validatingFields:i.validatingFields,isValidating:!At(i.validatingFields)}))},F=(P,O=[],W,de,ae=!0,re=!0)=>{if(de&&W&&!n.disabled){if(u.action=!0,re&&Array.isArray(ue(s,P))){const he=W(ue(s,P),de.argA,de.argB);ae&&ze(s,P,he)}if(re&&Array.isArray(ue(i.errors,P))){const he=W(ue(i.errors,P),de.argA,de.argB);ae&&ze(i.errors,P,he),vD(i.errors,P)}if((g.touchedFields||x.touchedFields)&&re&&Array.isArray(ue(i.touchedFields,P))){const he=W(ue(i.touchedFields,P),de.argA,de.argB);ae&&ze(i.touchedFields,P,he)}(g.dirtyFields||x.dirtyFields)&&(i.dirtyFields=qs(a,c)),v.state.next({name:P,isDirty:ne(P,O),dirtyFields:i.dirtyFields,errors:i.errors,isValid:i.isValid})}else ze(c,P,O)},I=(P,O)=>{ze(i.errors,P,O),v.state.next({errors:i.errors})},L=P=>{i.errors=P,v.state.next({errors:i.errors,isValid:!1})},H=(P,O,W,de)=>{const ae=ue(s,P);if(ae){const re=ue(c,P,it(W)?ue(a,P):W);it(re)||de&&de.defaultChecked||O?ze(c,P,O?re:iy(ae._f)):se(P,re),u.mount&&j()}},U=(P,O,W,de,ae)=>{let re=!1,he=!1;const Le={name:P};if(!n.disabled){if(!W||de){(g.isDirty||x.isDirty)&&(he=i.isDirty,i.isDirty=Le.isDirty=ne(),re=he!==Le.isDirty);const $e=Nr(ue(a,P),O);he=!!ue(i.dirtyFields,P),$e?pt(i.dirtyFields,P):ze(i.dirtyFields,P,!0),Le.dirtyFields=i.dirtyFields,re=re||(g.dirtyFields||x.dirtyFields)&&he!==!$e}if(W){const $e=ue(i.touchedFields,P);$e||(ze(i.touchedFields,P,W),Le.touchedFields=i.touchedFields,re=re||(g.touchedFields||x.touchedFields)&&$e!==W)}re&&ae&&v.state.next(Le)}return re?Le:{}},z=(P,O,W,de)=>{const ae=ue(i.errors,P),re=(g.isValid||x.isValid)&&Kt(O)&&i.isValid!==O;if(n.delayError&&W?(m=E(()=>I(P,W)),m(n.delayError)):(clearTimeout(y),m=null,W?ze(i.errors,P,W):pt(i.errors,P)),(W?!Nr(ae,W):ae)||!At(de)||re){const he={...de,...re&&Kt(O)?{isValid:O}:{},errors:i.errors,name:P};i={...i,...he},v.state.next(he)}},q=async P=>{N(P,!0);const O=await n.resolver(c,n.context,fD(P||d.mount,s,n.criteriaMode,n.shouldUseNativeValidation));return N(P),O},K=async P=>{const{errors:O}=await q(P);if(P)for(const W of P){const de=ue(O,W);de?ze(i.errors,W,de):pt(i.errors,W)}else i.errors=O;return O},le=async(P,O,W={valid:!0})=>{for(const de in P){const ae=P[de];if(ae){const{_f:re,...he}=ae;if(re){const Le=d.array.has(re.name),$e=ae._f&&hD(ae._f);$e&&g.validatingFields&&N([de],!0);const Je=await uy(ae,d.disabled,c,S,n.shouldUseNativeValidation&&!O,Le);if($e&&g.validatingFields&&N([de]),Je[re.name]&&(W.valid=!1,O))break;!O&&(ue(Je,re.name)?Le?xD(i.errors,Je,re.name):ze(i.errors,re.name,Je[re.name]):pt(i.errors,re.name))}!At(he)&&await le(he,O,W)}}return W.valid},ee=()=>{for(const P of d.unMount){const O=ue(s,P);O&&(O._f.refs?O._f.refs.every(W=>!Uu(W)):!Uu(O._f.ref))&&De(P)}d.unMount=new Set},ne=(P,O)=>!n.disabled&&(P&&O&&ze(c,P,O),!Nr($(),a)),oe=(P,O,W)=>$0(P,d,{...u.mount?c:it(O)?a:Mn(P)?{[P]:O}:O},W,O),pe=P=>kl(ue(u.mount?c:a,P,n.shouldUnregister?ue(a,P,[]):[])),se=(P,O,W={})=>{const de=ue(s,P);let ae=O;if(de){const re=de._f;re&&(!re.disabled&&ze(c,P,X0(O,re)),ae=ll(re.ref)&&Mt(O)?"":O,H0(re.ref)?[...re.ref.options].forEach(he=>he.selected=ae.includes(he.value)):re.refs?go(re.ref)?re.refs.length>1?re.refs.forEach(he=>(!he.defaultChecked||!he.disabled)&&(he.checked=Array.isArray(ae)?!!ae.find(Le=>Le===he.value):ae===he.value)):re.refs[0]&&(re.refs[0].checked=!!ae):re.refs.forEach(he=>he.checked=he.value===ae):kf(re.ref)?re.ref.value="":(re.ref.value=ae,re.ref.type||v.state.next({name:P,values:St(c)})))}(W.shouldDirty||W.shouldTouch)&&U(P,ae,W.shouldTouch,W.shouldDirty,!0),W.shouldValidate&&A(P)},ce=(P,O,W)=>{for(const de in O){const ae=O[de],re=`${P}.${de}`,he=ue(s,re);(d.array.has(P)||st(ae)||he&&!he._f)&&!ei(ae)?ce(re,ae,W):se(re,ae,W)}},R=(P,O,W={})=>{const de=ue(s,P),ae=d.array.has(P),re=St(O);ze(c,P,re),ae?(v.array.next({name:P,values:St(c)}),(g.isDirty||g.dirtyFields||x.isDirty||x.dirtyFields)&&W.shouldDirty&&v.state.next({name:P,dirtyFields:qs(a,c),isDirty:ne(P,re)})):de&&!de._f&&!Mt(re)?ce(P,re,W):se(P,re,W),ay(P,d)&&v.state.next({...i}),v.state.next({name:u.mount?P:void 0,values:St(c)})},X=async P=>{u.mount=!0;const O=P.target;let W=O.name,de=!0;const ae=ue(s,W),re=he=>{de=Number.isNaN(he)||ei(he)&&isNaN(he.getTime())||Nr(he,ue(c,W,he))};if(ae){let he,Le;const $e=O.type?iy(ae._f):B0(P),Je=P.type===al.BLUR||P.type===al.FOCUS_OUT,Ml=!pD(ae._f)&&!n.resolver&&!ue(i.errors,W)&&!ae._f.deps||yD(Je,ue(i.touchedFields,W),i.isSubmitted,C,b),ai=ay(W,d,Je);ze(c,W,$e),Je?(ae._f.onBlur&&ae._f.onBlur(P),m&&m(0)):ae._f.onChange&&ae._f.onChange(P);const li=U(W,$e,Je),Rl=!At(li)||ai;if(!Je&&v.state.next({name:W,type:P.type,values:St(c)}),Ml)return(g.isValid||x.isValid)&&(n.mode==="onBlur"?Je&&j():Je||j()),Rl&&v.state.next({name:W,...ai?{}:li});if(!Je&&ai&&v.state.next({...i}),n.resolver){const{errors:ci}=await q([W]);if(re($e),de){const us=ly(i.errors,s,W),ui=ly(ci,s,us.name||W);he=ui.error,W=ui.name,Le=At(ci)}}else N([W],!0),he=(await uy(ae,d.disabled,c,S,n.shouldUseNativeValidation))[W],N([W]),re($e),de&&(he?Le=!1:(g.isValid||x.isValid)&&(Le=await le(s,!0)));de&&(ae._f.deps&&A(ae._f.deps),z(W,Le,he,li))}},Q=(P,O)=>{if(ue(i.errors,O)&&P.focus)return P.focus(),1},A=async(P,O={})=>{let W,de;const ae=io(P);if(n.resolver){const re=await K(it(P)?P:ae);W=At(re),de=P?!ae.some(he=>ue(re,he)):W}else P?(de=(await Promise.all(ae.map(async re=>{const he=ue(s,re);return await le(he&&he._f?{[re]:he}:he)}))).every(Boolean),!(!de&&!i.isValid)&&j()):de=W=await le(s);return v.state.next({...!Mn(P)||(g.isValid||x.isValid)&&W!==i.isValid?{}:{name:P},...n.resolver||!P?{isValid:W}:{},errors:i.errors}),O.shouldFocus&&!de&&so(s,Q,P?ae:d.mount),de},$=P=>{const O={...u.mount?c:a};return it(P)?O:Mn(P)?ue(O,P):P.map(W=>ue(O,W))},ge=(P,O)=>({invalid:!!ue((O||i).errors,P),isDirty:!!ue((O||i).dirtyFields,P),error:ue((O||i).errors,P),isValidating:!!ue(i.validatingFields,P),isTouched:!!ue((O||i).touchedFields,P)}),be=P=>{P&&io(P).forEach(O=>pt(i.errors,O)),v.state.next({errors:P?i.errors:{}})},Fe=(P,O,W)=>{const de=(ue(s,P,{_f:{}})._f||{}).ref,ae=ue(i.errors,P)||{},{ref:re,message:he,type:Le,...$e}=ae;ze(i.errors,P,{...$e,...O,ref:de}),v.state.next({name:P,errors:i.errors,isValid:!1}),W&&W.shouldFocus&&de&&de.focus&&de.focus()},Te=(P,O)=>xn(P)?v.state.subscribe({next:W=>P(oe(void 0,O),W)}):oe(P,O,!0),te=P=>v.state.subscribe({next:O=>{gD(P.name,O.name,P.exact)&&mD(O,P.formState||g,Cn,P.reRenderRoot)&&P.callback({values:{...c},...i,...O})}}).unsubscribe,ke=P=>(u.mount=!0,x={...x,...P.formState},te({...P,formState:x})),De=(P,O={})=>{for(const W of P?io(P):d.mount)d.mount.delete(W),d.array.delete(W),O.keepValue||(pt(s,W),pt(c,W)),!O.keepError&&pt(i.errors,W),!O.keepDirty&&pt(i.dirtyFields,W),!O.keepTouched&&pt(i.touchedFields,W),!O.keepIsValidating&&pt(i.validatingFields,W),!n.shouldUnregister&&!O.keepDefaultValue&&pt(a,W);v.state.next({values:St(c)}),v.state.next({...i,...O.keepDirty?{isDirty:ne()}:{}}),!O.keepIsValid&&j()},je=({disabled:P,name:O})=>{(Kt(P)&&u.mount||P||d.disabled.has(O))&&(P?d.disabled.add(O):d.disabled.delete(O))},Ae=(P,O={})=>{let W=ue(s,P);const de=Kt(O.disabled)||Kt(n.disabled);return ze(s,P,{...W||{},_f:{...W&&W._f?W._f:{ref:{name:P}},name:P,mount:!0,...O}}),d.mount.add(P),W?je({disabled:Kt(O.disabled)?O.disabled:n.disabled,name:P}):H(P,!0,O.value),{...de?{disabled:O.disabled||n.disabled}:{},...n.progressive?{required:!!O.required,min:Qs(O.min),max:Qs(O.max),minLength:Qs(O.minLength),maxLength:Qs(O.maxLength),pattern:Qs(O.pattern)}:{},name:P,onChange:X,onBlur:X,ref:ae=>{if(ae){Ae(P,O),W=ue(s,P);const re=it(ae.value)&&ae.querySelectorAll&&ae.querySelectorAll("input,select,textarea")[0]||ae,he=cD(re),Le=W._f.refs||[];if(he?Le.find($e=>$e===re):re===W._f.ref)return;ze(s,P,{_f:{...W._f,...he?{refs:[...Le.filter(Uu),re,...Array.isArray(ue(a,P))?[{}]:[]],ref:{type:re.type,name:P}}:{ref:re}}}),H(P,!1,void 0,re)}else W=ue(s,P,{}),W._f&&(W._f.mount=!1),(n.shouldUnregister||O.shouldUnregister)&&!(z0(d.array,P)&&u.action)&&d.unMount.add(P)}}},Re=()=>n.shouldFocusError&&so(s,Q,d.mount),at=P=>{Kt(P)&&(v.state.next({disabled:P}),so(s,(O,W)=>{const de=ue(s,W);de&&(O.disabled=de._f.disabled||P,Array.isArray(de._f.refs)&&de._f.refs.forEach(ae=>{ae.disabled=de._f.disabled||P}))},0,!1))},xt=(P,O)=>async W=>{let de;W&&(W.preventDefault&&W.preventDefault(),W.persist&&W.persist());let ae=St(c);if(v.state.next({isSubmitting:!0}),n.resolver){const{errors:re,values:he}=await q();i.errors=re,ae=he}else await le(s);if(d.disabled.size)for(const re of d.disabled)ze(ae,re,void 0);if(pt(i.errors,"root"),At(i.errors)){v.state.next({errors:{}});try{await P(ae,W)}catch(re){de=re}}else O&&await O({...i.errors},W),Re(),setTimeout(Re);if(v.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:At(i.errors)&&!de,submitCount:i.submitCount+1,errors:i.errors}),de)throw de},kn=(P,O={})=>{ue(s,P)&&(it(O.defaultValue)?R(P,St(ue(a,P))):(R(P,O.defaultValue),ze(a,P,St(O.defaultValue))),O.keepTouched||pt(i.touchedFields,P),O.keepDirty||(pt(i.dirtyFields,P),i.isDirty=O.defaultValue?ne(P,St(ue(a,P))):ne()),O.keepError||(pt(i.errors,P),g.isValid&&j()),v.state.next({...i}))},an=(P,O={})=>{const W=P?St(P):a,de=St(W),ae=At(P),re=ae?a:de;if(O.keepDefaultValues||(a=W),!O.keepValues){if(O.keepDirtyValues){const he=new Set([...d.mount,...Object.keys(qs(a,c))]);for(const Le of Array.from(he))ue(i.dirtyFields,Le)?ze(re,Le,ue(c,Le)):R(Le,ue(re,Le))}else{if(wf&&it(P))for(const he of d.mount){const Le=ue(s,he);if(Le&&Le._f){const $e=Array.isArray(Le._f.refs)?Le._f.refs[0]:Le._f.ref;if(ll($e)){const Je=$e.closest("form");if(Je){Je.reset();break}}}}for(const he of d.mount)R(he,ue(re,he))}c=St(re),v.array.next({values:{...re}}),v.state.next({values:{...re}})}d={mount:O.keepDirtyValues?d.mount:new Set,unMount:new Set,array:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:""},u.mount=!g.isValid||!!O.keepIsValid||!!O.keepDirtyValues,u.watch=!!n.shouldUnregister,v.state.next({submitCount:O.keepSubmitCount?i.submitCount:0,isDirty:ae?!1:O.keepDirty?i.isDirty:!!(O.keepDefaultValues&&!Nr(P,a)),isSubmitted:O.keepIsSubmitted?i.isSubmitted:!1,dirtyFields:ae?{}:O.keepDirtyValues?O.keepDefaultValues&&c?qs(a,c):i.dirtyFields:O.keepDefaultValues&&P?qs(a,P):O.keepDirty?i.dirtyFields:{},touchedFields:O.keepTouched?i.touchedFields:{},errors:O.keepErrors?i.errors:{},isSubmitSuccessful:O.keepIsSubmitSuccessful?i.isSubmitSuccessful:!1,isSubmitting:!1})},Qt=(P,O)=>an(xn(P)?P(c):P,O),si=(P,O={})=>{const W=ue(s,P),de=W&&W._f;if(de){const ae=de.refs?de.refs[0]:de.ref;ae.focus&&(ae.focus(),O.shouldSelect&&xn(ae.select)&&ae.select())}},Cn=P=>{i={...i,...P}},Bn={control:{register:Ae,unregister:De,getFieldState:ge,handleSubmit:xt,setError:Fe,_subscribe:te,_runSchema:q,_getWatch:oe,_getDirty:ne,_setValid:j,_setFieldArray:F,_setDisabledField:je,_setErrors:L,_getFieldArray:pe,_reset:an,_resetDefaultValues:()=>xn(n.defaultValues)&&n.defaultValues().then(P=>{Qt(P,n.resetOptions),v.state.next({isLoading:!1})}),_removeUnmounted:ee,_disableForm:at,_subjects:v,_proxyFormState:g,get _fields(){return s},get _formValues(){return c},get _state(){return u},set _state(P){u=P},get _defaultValues(){return a},get _names(){return d},set _names(P){d=P},get _formState(){return i},get _options(){return n},set _options(P){n={...n,...P}}},subscribe:ke,trigger:A,register:Ae,handleSubmit:xt,watch:Te,setValue:R,getValues:$,reset:Qt,resetField:kn,clearErrors:be,unregister:De,setError:Fe,setFocus:si,getFieldState:ge};return{...Bn,formControl:Bn}}function Ef(e={}){const n=Me.useRef(void 0),i=Me.useRef(void 0),[s,a]=Me.useState({isDirty:!1,isValidating:!1,isLoading:xn(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:e.errors||{},disabled:e.disabled||!1,defaultValues:xn(e.defaultValues)?void 0:e.defaultValues});n.current||(n.current={...e.formControl?e.formControl:bD(e),formState:s},e.formControl&&e.defaultValues&&!xn(e.defaultValues)&&e.formControl.reset(e.defaultValues,e.resetOptions));const c=n.current.control;return c._options=e,Me.useLayoutEffect(()=>c._subscribe({formState:c._proxyFormState,callback:()=>a({...c._formState}
203),reRenderRoot:!0}),[c]),Me.useEffect(()=>c._disableForm(e.disabled),[c,e.disabled]),Me.useEffect(()=>{if(c._proxyFormState.isDirty){const u=c._getDirty();u!==s.isDirty&&c._subjects.state.next({isDirty:u})}},[c,s.isDirty]),Me.useEffect(()=>{e.values&&!Nr(e.values,i.current)?(c._reset(e.values,c._options.resetOptions),i.current=e.values,a(u=>({...u}))):c._resetDefaultValues()},[e.values,c]),Me.useEffect(()=>{e.errors&&!At(e.errors)&&c._setErrors(e.errors)},[e.errors,c]),Me.useEffect(()=>{c._state.mount||(c._setValid(),c._state.mount=!0),c._state.watch&&(c._state.watch=!1,c._subjects.state.next({...c._formState})),c._removeUnmounted()}),Me.useEffect(()=>{e.shouldUnregister&&c._subjects.state.next({values:c._getWatch()})},[e.shouldUnregister,c]),n.current.formState=U0(s,c),n.current}const Cl=k.forwardRef(({className:e,type:n,...i},s)=>h.jsx("input",{ref:s,type:n,"data-slot":"input",className:Zn("file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input flex h-9 w-full min-w-0 rounded-md border px-3 py-1 text-base bg-input-background transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm","focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]","aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",e),...i}));Cl.displayName="Input";var yo=Ly();const SD=_y(yo);var kD=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],ot=kD.reduce((e,n)=>{const i=k.forwardRef((s,a)=>{const{asChild:c,...u}=s,d=c?Qi:n;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),h.jsx(d,{...u,ref:a})});return i.displayName=`Primitive.${n}`,{...e,[n]:i}},{});function CD(e,n){e&&yo.flushSync(()=>e.dispatchEvent(n))}var ED="Label",Q0=k.forwardRef((e,n)=>h.jsx(ot.label,{...e,ref:n,onMouseDown:i=>{var a;i.target.closest("button, input, select, textarea")||((a=e.onMouseDown)==null||a.call(e,i),!i.defaultPrevented&&i.detail>1&&i.preventDefault())}}));Q0.displayName=ED;var ND=Q0;function Qn({className:e,...n}){return h.jsx(ND,{"data-slot":"label",className:Zn("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",e),...n})}function dy(e,[n,i]){return Math.min(i,Math.max(n,e))}function ut(e,n,{checkForDefaultPrevented:i=!0}={}){return function(a){if(e==null||e(a),i===!1||!a.defaultPrevented)return n==null?void 0:n(a)}}function Nf(e,n=[]){let i=[];function s(c,u){const d=k.createContext(u),m=i.length;i=[...i,u];const y=x=>{var j;const{scope:v,children:b,...C}=x,S=((j=v==null?void 0:v[e])==null?void 0:j[m])||d,E=k.useMemo(()=>C,Object.values(C));return h.jsx(S.Provider,{value:E,children:b})};y.displayName=c+"Provider";function g(x,v){var S;const b=((S=v==null?void 0:v[e])==null?void 0:S[m])||d,C=k.useContext(b);if(C)return C;if(u!==void 0)return u;throw new Error(`\`${x}\` must be used within \`${c}\``)}return[y,g]}const a=()=>{const c=i.map(u=>k.createContext(u));return function(d){const m=(d==null?void 0:d[e])||c;return k.useMemo(()=>({[`__scope${e}`]:{...d,[e]:m}}),[d,m])}};return a.scopeName=e,[s,DD(a,...n)]}function DD(...e){const n=e[0];if(e.length===1)return n;const i=()=>{const s=e.map(a=>({useScope:a(),scopeName:a.scopeName}));return function(c){const u=s.reduce((d,{useScope:m,scopeName:y})=>{const x=m(c)[`__scope${y}`];return{...d,...x}},{});return k.useMemo(()=>({[`__scope${n.scopeName}`]:u}),[u])}};return i.scopeName=n.scopeName,i}function jD(e){const n=e+"CollectionProvider",[i,s]=Nf(n),[a,c]=i(n,{collectionRef:{current:null},itemMap:new Map}),u=b=>{const{scope:C,children:S}=b,E=Me.useRef(null),j=Me.useRef(new Map).current;return h.jsx(a,{scope:C,itemMap:j,collectionRef:E,children:S})};u.displayName=n;const d=e+"CollectionSlot",m=Me.forwardRef((b,C)=>{const{scope:S,children:E}=b,j=c(d,S),N=Et(C,j.collectionRef);return h.jsx(Qi,{ref:N,children:E})});m.displayName=d;const y=e+"CollectionItemSlot",g="data-radix-collection-item",x=Me.forwardRef((b,C)=>{const{scope:S,children:E,...j}=b,N=Me.useRef(null),F=Et(C,N),I=c(y,S);return Me.useEffect(()=>(I.itemMap.set(N,{ref:N,...j}),()=>void I.itemMap.delete(N))),h.jsx(Qi,{[g]:"",ref:F,children:E})});x.displayName=y;function v(b){const C=c(e+"CollectionConsumer",b);return Me.useCallback(()=>{const E=C.collectionRef.current;if(!E)return[];const j=Array.from(E.querySelectorAll(`[${g}]`));return Array.from(C.itemMap.values()).sort((I,L)=>j.indexOf(I.ref.current)-j.indexOf(L.ref.current))},[C.collectionRef,C.itemMap])}return[{Provider:u,Slot:m,ItemSlot:x},v,s]}var FD=k.createContext(void 0);function PD(e){const n=k.useContext(FD);return e||n||"ltr"}function Jn(e){const n=k.useRef(e);return k.useEffect(()=>{n.current=e}),k.useMemo(()=>(...i)=>{var s;return(s=n.current)==null?void 0:s.call(n,...i)},[])}function TD(e,n=globalThis==null?void 0:globalThis.document){const i=Jn(e);k.useEffect(()=>{const s=a=>{a.key==="Escape"&&i(a)};return n.addEventListener("keydown",s,{capture:!0}),()=>n.removeEventListener("keydown",s,{capture:!0})},[i,n])}
vendor: 9,705 bytes, line 203
203var AD="DismissableLayer",Pd="dismissableLayer.update",MD="dismissableLayer.pointerDownOutside",RD="dismissableLayer.focusOutside",fy,Z0=k.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),J0=k.forwardRef((e,n)=>{const{disableOutsidePointerEvents:i=!1,onEscapeKeyDown:s,onPointerDownOutside:a,onFocusOutside:c,onInteractOutside:u,onDismiss:d,...m}=e,y=k.useContext(Z0),[g,x]=k.useState(null),v=(g==null?void 0:g.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,b]=k.useState({}),C=Et(n,U=>x(U)),S=Array.from(y.layers),[E]=[...y.layersWithOutsidePointerEventsDisabled].slice(-1),j=S.indexOf(E),N=g?S.indexOf(g):-1,F=y.layersWithOutsidePointerEventsDisabled.size>0,I=N>=j,L=LD(U=>{const z=U.target,q=[...y.branches].some(K=>K.contains(z));!I||q||(a==null||a(U),u==null||u(U),U.defaultPrevented||d==null||d())},v),H=VD(U=>{const z=U.target;[...y.branches].some(K=>K.contains(z))||(c==null||c(U),u==null||u(U),U.defaultPrevented||d==null||d())},v);return TD(U=>{N===y.layers.size-1&&(s==null||s(U),!U.defaultPrevented&&d&&(U.preventDefault(),d()))},v),k.useEffect(()=>{if(g)return i&&(y.layersWithOutsidePointerEventsDisabled.size===0&&(fy=v.body.style.pointerEvents,v.body.style.pointerEvents="none"),y.layersWithOutsidePointerEventsDisabled.add(g)),y.layers.add(g),hy(),()=>{i&&y.layersWithOutsidePointerEventsDisabled.size===1&&(v.body.style.pointerEvents=fy)}},[g,v,i,y]),k.useEffect(()=>()=>{g&&(y.layers.delete(g),y.layersWithOutsidePointerEventsDisabled.delete(g),hy())},[g,y]),k.useEffect(()=>{const U=()=>b({});return document.addEventListener(Pd,U),()=>document.removeEventListener(Pd,U)},[]),h.jsx(ot.div,{...m,ref:C,style:{pointerEvents:F?I?"auto":"none":void 0,...e.style},onFocusCapture:ut(e.onFocusCapture,H.onFocusCapture),onBlurCapture:ut(e.onBlurCapture,H.onBlurCapture),onPointerDownCapture:ut(e.onPointerDownCapture,L.onPointerDownCapture)})});J0.displayName=AD;var ID="DismissableLayerBranch",_D=k.forwardRef((e,n)=>{const i=k.useContext(Z0),s=k.useRef(null),a=Et(n,s);return k.useEffect(()=>{const c=s.current;if(c)return i.branches.add(c),()=>{i.branches.delete(c)}},[i.branches]),h.jsx(ot.div,{...e,ref:a})});_D.displayName=ID;function LD(e,n=globalThis==null?void 0:globalThis.document){const i=Jn(e),s=k.useRef(!1),a=k.useRef(()=>{});return k.useEffect(()=>{const c=d=>{if(d.target&&!s.current){let m=function(){ex(MD,i,y,{discrete:!0})};const y={originalEvent:d};d.pointerType==="touch"?(n.removeEventListener("click",a.current),a.current=m,n.addEventListener("click",a.current,{once:!0})):m()}else n.removeEventListener("click",a.current);s.current=!1},u=window.setTimeout(()=>{n.addEventListener("pointerdown",c)},0);return()=>{window.clearTimeout(u),n.removeEventListener("pointerdown",c),n.removeEventListener("click",a.current)}},[n,i]),{onPointerDownCapture:()=>s.current=!0}}function VD(e,n=globalThis==null?void 0:globalThis.document){const i=Jn(e),s=k.useRef(!1);return k.useEffect(()=>{const a=c=>{c.target&&!s.current&&ex(RD,i,{originalEvent:c},{discrete:!1})};return n.addEventListener("focusin",a),()=>n.removeEventListener("focusin",a)},[n,i]),{onFocusCapture:()=>s.current=!0,onBlurCapture:()=>s.current=!1}}function hy(){const e=new CustomEvent(Pd);document.dispatchEvent(e)}function ex(e,n,i,{discrete:s}){const a=i.originalEvent.target,c=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:i});n&&a.addEventListener(e,n,{once:!0}),s?CD(a,c):a.dispatchEvent(c)}var $u=0;function OD(){k.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??py()),document.body.insertAdjacentElement("beforeend",e[1]??py()),$u++,()=>{$u===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(n=>n.remove()),$u--}},[])}function py(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var Hu="focusScope.autoFocusOnMount",Ku="focusScope.autoFocusOnUnmount",my={bubbles:!1,cancelable:!0},BD="FocusScope",tx=k.forwardRef((e,n)=>{const{loop:i=!1,trapped:s=!1,onMountAutoFocus:a,onUnmountAutoFocus:c,...u}=e,[d,m]=k.useState(null),y=Jn(a),g=Jn(c),x=k.useRef(null),v=Et(n,S=>m(S)),b=k.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;k.useEffect(()=>{if(s){let S=function(F){if(b.paused||!d)return;const I=F.target;d.contains(I)?x.current=I:Er(x.current,{select:!0})},E=function(F){if(b.paused||!d)return;const I=F.relatedTarget;I!==null&&(d.contains(I)||Er(x.current,{select:!0}))},j=function(F){if(document.activeElement===document.body)for(const L of F)L.removedNodes.length>0&&Er(d)};document.addEventListener("focusin",S),document.addEventListener("focusout",E);const N=new MutationObserver(j);return d&&N.observe(d,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",S),document.removeEventListener("focusout",E),N.disconnect()}}},[s,d,b.paused]),k.useEffect(()=>{if(d){yy.add(b);const S=document.activeElement;if(!d.contains(S)){const j=new CustomEvent(Hu,my);d.addEventListener(Hu,y),d.dispatchEvent(j),j.defaultPrevented||(zD(KD(nx(d)),{select:!0}),document.activeElement===S&&Er(d))}return()=>{d.removeEventListener(Hu,y),setTimeout(()=>{const j=new CustomEvent(Ku,my);d.addEventListener(Ku,g),d.dispatchEvent(j),j.defaultPrevented||Er(S??document.body,{select:!0}),d.removeEventListener(Ku,g),yy.remove(b)},0)}}},[d,y,g,b]);const C=k.useCallback(S=>{if(!i&&!s||b.paused)return;const E=S.key==="Tab"&&!S.altKey&&!S.ctrlKey&&!S.metaKey,j=document.activeElement;if(E&&j){const N=S.currentTarget,[F,I]=WD(N);F&&I?!S.shiftKey&&j===I?(S.preventDefault(),i&&Er(F,{select:!0})):S.shiftKey&&j===F&&(S.preventDefault(),i&&Er(I,{select:!0})):j===N&&S.preventDefault()}},[i,s,b.paused]);return h.jsx(ot.div,{tabIndex:-1,...u,ref:v,onKeyDown:C})});tx.displayName=BD;function zD(e,{select:n=!1}={}){const i=document.activeElement;for(const s of e)if(Er(s,{select:n}),document.activeElement!==i)return}function WD(e){const n=nx(e),i=gy(n,e),s=gy(n.reverse(),e);return[i,s]}function nx(e){const n=[],i=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:s=>{const a=s.tagName==="INPUT"&&s.type==="hidden";return s.disabled||s.hidden||a?NodeFilter.FILTER_SKIP:s.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;i.nextNode();)n.push(i.currentNode);return n}function gy(e,n){for(const i of e)if(!UD(i,{upTo:n}))return i}function UD(e,{upTo:n}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(n!==void 0&&e===n)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function $D(e){return e instanceof HTMLInputElement&&"select"in e}function Er(e,{select:n=!1}={}){if(e&&e.focus){const i=document.activeElement;e.focus({preventScroll:!0}),e!==i&&$D(e)&&n&&e.select()}}var yy=HD();function HD(){let e=[];return{add(n){const i=e[0];n!==i&&(i==null||i.pause()),e=vy(e,n),e.unshift(n)},remove(n){var i;e=vy(e,n),(i=e[0])==null||i.resume()}}}function vy(e,n){const i=[...e],s=i.indexOf(n);return s!==-1&&i.splice(s,1),i}function KD(e){return e.filter(n=>n.tagName!=="A")}var qt=globalThis!=null&&globalThis.document?k.useLayoutEffect:()=>{},GD=db.useId||(()=>{}),YD=0;function Df(e){const[n,i]=k.useState(GD());return qt(()=>{i(s=>s??String(YD++))},[e]),e||(n?`radix-${n}`:"")}const XD=["top","right","bottom","left"],Pr=Math.min,Gt=Math.max,dl=Math.round,Ia=Math.floor,Ln=e=>({x:e,y:e}),qD={left:"right",right:"left",bottom:"top",top:"bottom"};function Td(e,n,i){return Gt(e,Pr(n,i))}function er(e,n){return typeof e=="function"?e(n):e}function tr(e){return e.split("-")[0]}function as(e){return e.split("-")[1]}function jf(e){return e==="x"?"y":"x"}function Ff(e){return e==="y"?"height":"width"}function Rn(e){const n=e[0];return n==="t"||n==="b"?"y":"x"}function Pf(e){return jf(Rn(e))}function QD(e,n,i){i===void 0&&(i=!1);const s=as(e),a=Pf(e),c=Ff(a);let u=a==="x"?s===(i?"end":"start")?"right":"left":s==="start"?"bottom":"top";return n.reference[c]>n.floating[c]&&(u=fl(u)),[u,fl(u)]}function ZD(e){const n=fl(e);return[Ad(e),n,Ad(n)]}function Ad(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const xy=["left","right"],wy=["right","left"],JD=["top","bottom"],ej=["bottom","top"];function tj(e,n,i){switch(e){case"top":case"bottom":return i?n?wy:xy:n?xy:wy;case"left":case"right":return n?JD:ej;default:return[]}}function nj(e,n,i,s){const a=as(e);let c=tj(tr(e),i==="start",s);return a&&(c=c.map(u=>u+"-"+a),n&&(c=c.concat(c.map(Ad)))),c}function fl(e){const n=tr(e);return qD[n]+e.slice(n.length)}function rj(e){return{top:0,right:0,bottom:0,left:0,...e}}function rx(e){return typeof e!="number"?rj(e):{top:e,right:e,bottom:e,left:e}}function hl(e){const{x:n,y:i,width:s,height:a}=e;return{width:s,height:a,top:i,left:n,right:n+s,bottom:i+a,x:n,y:i}}function by(e,n,i){let{reference:s,floating:a}=e;const c=Rn(n),u=Pf(n),d=Ff(u),m=tr(n),y=c==="y",g=s.x+s.width/2-a.width/2,x=s.y+s.height/2-a.height/2,v=s[d]/2-a[d]/2;let b;switch(m){case"top":b={x:g,y:s.y-a.height};break;case"bottom":b={x:g,y:s.y+s.height};break;case"right":b={x:s.x+s.width,y:x};break;case"left":b={x:s.x-a.width,y:x};break;default:b={x:s.x,y:s.y}}switch(as(n)){case"start":b[u]-=v*(i&&y?-1:1);break;case"end":b[u]+=v*(i&&y?-1:1);break}return b}async function ij(e,n){var i;n===void 0&&(n={});const{x:s,y:a,platform:c,rects:u,elements:d,strategy:m}=e,{boundary:y="clippingAncestors",rootBoundary:g="viewport",elementContext:x="floating",altBoundary:v=!1,padding:b=0}=er(n,e),C=rx(b),E=d[v?x==="floating"?"reference":"floating":x],j=hl(await c.getClippingRect
vendor: 9,740 bytes, line 203
203({element:(i=await(c.isElement==null?void 0:c.isElement(E)))==null||i?E:E.contextElement||await(c.getDocumentElement==null?void 0:c.getDocumentElement(d.floating)),boundary:y,rootBoundary:g,strategy:m})),N=x==="floating"?{x:s,y:a,width:u.floating.width,height:u.floating.height}:u.reference,F=await(c.getOffsetParent==null?void 0:c.getOffsetParent(d.floating)),I=await(c.isElement==null?void 0:c.isElement(F))?await(c.getScale==null?void 0:c.getScale(F))||{x:1,y:1}:{x:1,y:1},L=hl(c.convertOffsetParentRelativeRectToViewportRelativeRect?await c.convertOffsetParentRelativeRectToViewportRelativeRect({elements:d,rect:N,offsetParent:F,strategy:m}):N);return{top:(j.top-L.top+C.top)/I.y,bottom:(L.bottom-j.bottom+C.bottom)/I.y,left:(j.left-L.left+C.left)/I.x,right:(L.right-j.right+C.right)/I.x}}const sj=50,oj=async(e,n,i)=>{const{placement:s="bottom",strategy:a="absolute",middleware:c=[],platform:u}=i,d=u.detectOverflow?u:{...u,detectOverflow:ij},m=await(u.isRTL==null?void 0:u.isRTL(n));let y=await u.getElementRects({reference:e,floating:n,strategy:a}),{x:g,y:x}=by(y,s,m),v=s,b=0;const C={};for(let S=0;S<c.length;S++){const E=c[S];if(!E)continue;const{name:j,fn:N}=E,{x:F,y:I,data:L,reset:H}=await N({x:g,y:x,initialPlacement:s,placement:v,strategy:a,middlewareData:C,rects:y,platform:d,elements:{reference:e,floating:n}});g=F??g,x=I??x,C[j]={...C[j],...L},H&&b<sj&&(b++,typeof H=="object"&&(H.placement&&(v=H.placement),H.rects&&(y=H.rects===!0?await u.getElementRects({reference:e,floating:n,strategy:a}):H.rects),{x:g,y:x}=by(y,v,m)),S=-1)}return{x:g,y:x,placement:v,strategy:a,middlewareData:C}},aj=e=>({name:"arrow",options:e,async fn(n){const{x:i,y:s,placement:a,rects:c,platform:u,elements:d,middlewareData:m}=n,{element:y,padding:g=0}=er(e,n)||{};if(y==null)return{};const x=rx(g),v={x:i,y:s},b=Pf(a),C=Ff(b),S=await u.getDimensions(y),E=b==="y",j=E?"top":"left",N=E?"bottom":"right",F=E?"clientHeight":"clientWidth",I=c.reference[C]+c.reference[b]-v[b]-c.floating[C],L=v[b]-c.reference[b],H=await(u.getOffsetParent==null?void 0:u.getOffsetParent(y));let U=H?H[F]:0;(!U||!await(u.isElement==null?void 0:u.isElement(H)))&&(U=d.floating[F]||c.floating[C]);const z=I/2-L/2,q=U/2-S[C]/2-1,K=Pr(x[j],q),le=Pr(x[N],q),ee=K,ne=U-S[C]-le,oe=U/2-S[C]/2+z,pe=Td(ee,oe,ne),se=!m.arrow&&as(a)!=null&&oe!==pe&&c.reference[C]/2-(oe<ee?K:le)-S[C]/2<0,ce=se?oe<ee?oe-ee:oe-ne:0;return{[b]:v[b]+ce,data:{[b]:pe,centerOffset:oe-pe-ce,...se&&{alignmentOffset:ce}},reset:se}}}),lj=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(n){var i,s;const{placement:a,middlewareData:c,rects:u,initialPlacement:d,platform:m,elements:y}=n,{mainAxis:g=!0,crossAxis:x=!0,fallbackPlacements:v,fallbackStrategy:b="bestFit",fallbackAxisSideDirection:C="none",flipAlignment:S=!0,...E}=er(e,n);if((i=c.arrow)!=null&&i.alignmentOffset)return{};const j=tr(a),N=Rn(d),F=tr(d)===d,I=await(m.isRTL==null?void 0:m.isRTL(y.floating)),L=v||(F||!S?[fl(d)]:ZD(d)),H=C!=="none";!v&&H&&L.push(...nj(d,S,C,I));const U=[d,...L],z=await m.detectOverflow(n,E),q=[];let K=((s=c.flip)==null?void 0:s.overflows)||[];if(g&&q.push(z[j]),x){const oe=QD(a,u,I);q.push(z[oe[0]],z[oe[1]])}if(K=[...K,{placement:a,overflows:q}],!q.every(oe=>oe<=0)){var le,ee;const oe=(((le=c.flip)==null?void 0:le.index)||0)+1,pe=U[oe];if(pe&&(!(x==="alignment"?N!==Rn(pe):!1)||K.every(R=>Rn(R.placement)===N?R.overflows[0]>0:!0)))return{data:{index:oe,overflows:K},reset:{placement:pe}};let se=(ee=K.filter(ce=>ce.overflows[0]<=0).sort((ce,R)=>ce.overflows[1]-R.overflows[1])[0])==null?void 0:ee.placement;if(!se)switch(b){case"bestFit":{var ne;const ce=(ne=K.filter(R=>{if(H){const X=Rn(R.placement);return X===N||X==="y"}return!0}).map(R=>[R.placement,R.overflows.filter(X=>X>0).reduce((X,Q)=>X+Q,0)]).sort((R,X)=>R[1]-X[1])[0])==null?void 0:ne[0];ce&&(se=ce);break}case"initialPlacement":se=d;break}if(a!==se)return{reset:{placement:se}}}return{}}}};function Sy(e,n){return{top:e.top-n.height,right:e.right-n.width,bottom:e.bottom-n.height,left:e.left-n.width}}function ky(e){return XD.some(n=>e[n]>=0)}const cj=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(n){const{rects:i,platform:s}=n,{strategy:a="referenceHidden",...c}=er(e,n);switch(a){case"referenceHidden":{const u=await s.detectOverflow(n,{...c,elementContext:"reference"}),d=Sy(u,i.reference);return{data:{referenceHiddenOffsets:d,referenceHidden:ky(d)}}}case"escaped":{const u=await s.detectOverflow(n,{...c,altBoundary:!0}),d=Sy(u,i.floating);return{data:{escapedOffsets:d,escaped:ky(d)}}}default:return{}}}}},ix=new Set(["left","top"]);async function uj(e,n){const{placement:i,platform:s,elements:a}=e,c=await(s.isRTL==null?void 0:s.isRTL(a.floating)),u=tr(i),d=as(i),m=Rn(i)==="y",y=ix.has(u)?-1:1,g=c&&m?-1:1,x=er(n,e);let{mainAxis:v,crossAxis:b,alignmentAxis:C}=typeof x=="number"?{mainAxis:x,crossAxis:0,alignmentAxis:null}:{mainAxis:x.mainAxis||0,crossAxis:x.crossAxis||0,alignmentAxis:x.alignmentAxis};return d&&typeof C=="number"&&(b=d==="end"?C*-1:C),m?{x:b*g,y:v*y}:{x:v*y,y:b*g}}const dj=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(n){var i,s;const{x:a,y:c,placement:u,middlewareData:d}=n,m=await uj(n,e);return u===((i=d.offset)==null?void 0:i.placement)&&(s=d.arrow)!=null&&s.alignmentOffset?{}:{x:a+m.x,y:c+m.y,data:{...m,placement:u}}}}},fj=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(n){const{x:i,y:s,placement:a,platform:c}=n,{mainAxis:u=!0,crossAxis:d=!1,limiter:m={fn:j=>{let{x:N,y:F}=j;return{x:N,y:F}}},...y}=er(e,n),g={x:i,y:s},x=await c.detectOverflow(n,y),v=Rn(tr(a)),b=jf(v);let C=g[b],S=g[v];if(u){const j=b==="y"?"top":"left",N=b==="y"?"bottom":"right",F=C+x[j],I=C-x[N];C=Td(F,C,I)}if(d){const j=v==="y"?"top":"left",N=v==="y"?"bottom":"right",F=S+x[j],I=S-x[N];S=Td(F,S,I)}const E=m.fn({...n,[b]:C,[v]:S});return{...E,data:{x:E.x-i,y:E.y-s,enabled:{[b]:u,[v]:d}}}}}},hj=function(e){return e===void 0&&(e={}),{options:e,fn(n){const{x:i,y:s,placement:a,rects:c,middlewareData:u}=n,{offset:d=0,mainAxis:m=!0,crossAxis:y=!0}=er(e,n),g={x:i,y:s},x=Rn(a),v=jf(x);let b=g[v],C=g[x];const S=er(d,n),E=typeof S=="number"?{mainAxis:S,crossAxis:0}:{mainAxis:0,crossAxis:0,...S};if(m){const F=v==="y"?"height":"width",I=c.reference[v]-c.floating[F]+E.mainAxis,L=c.reference[v]+c.reference[F]-E.mainAxis;b<I?b=I:b>L&&(b=L)}if(y){var j,N;const F=v==="y"?"width":"height",I=ix.has(tr(a)),L=c.reference[x]-c.floating[F]+(I&&((j=u.offset)==null?void 0:j[x])||0)+(I?0:E.crossAxis),H=c.reference[x]+c.reference[F]+(I?0:((N=u.offset)==null?void 0:N[x])||0)-(I?E.crossAxis:0);C<L?C=L:C>H&&(C=H)}return{[v]:b,[x]:C}}}},pj=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(n){var i,s;const{placement:a,rects:c,platform:u,elements:d}=n,{apply:m=()=>{},...y}=er(e,n),g=await u.detectOverflow(n,y),x=tr(a),v=as(a),b=Rn(a)==="y",{width:C,height:S}=c.floating;let E,j;x==="top"||x==="bottom"?(E=x,j=v===(await(u.isRTL==null?void 0:u.isRTL(d.floating))?"start":"end")?"left":"right"):(j=x,E=v==="end"?"top":"bottom");const N=S-g.top-g.bottom,F=C-g.left-g.right,I=Pr(S-g[E],N),L=Pr(C-g[j],F),H=!n.middlewareData.shift;let U=I,z=L;if((i=n.middlewareData.shift)!=null&&i.enabled.x&&(z=F),(s=n.middlewareData.shift)!=null&&s.enabled.y&&(U=N),H&&!v){const K=Gt(g.left,0),le=Gt(g.right,0),ee=Gt(g.top,0),ne=Gt(g.bottom,0);b?z=C-2*(K!==0||le!==0?K+le:Gt(g.left,g.right)):U=S-2*(ee!==0||ne!==0?ee+ne:Gt(g.top,g.bottom))}await m({...n,availableWidth:z,availableHeight:U});const q=await u.getDimensions(d.floating);return C!==q.width||S!==q.height?{reset:{rects:!0}}:{}}}};function El(){return typeof window<"u"}function ls(e){return sx(e)?(e.nodeName||"").toLowerCase():"#document"}function Xt(e){var n;return(e==null||(n=e.ownerDocument)==null?void 0:n.defaultView)||window}function On(e){var n;return(n=(sx(e)?e.ownerDocument:e.document)||window.document)==null?void 0:n.documentElement}function sx(e){return El()?e instanceof Node||e instanceof Xt(e).Node:!1}function bn(e){return El()?e instanceof Element||e instanceof Xt(e).Element:!1}function nr(e){return El()?e instanceof HTMLElement||e instanceof Xt(e).HTMLElement:!1}function Cy(e){return!El()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Xt(e).ShadowRoot}function vo(e){const{overflow:n,overflowX:i,overflowY:s,display:a}=Sn(e);return/auto|scroll|overlay|hidden|clip/.test(n+s+i)&&a!=="inline"&&a!=="contents"}function mj(e){return/^(table|td|th)$/.test(ls(e))}function Nl(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const gj=/transform|translate|scale|rotate|perspective|filter/,yj=/paint|layout|strict|content/,qr=e=>!!e&&e!=="none";let Gu;function Tf(e){const n=bn(e)?Sn(e):e;return qr(n.transform)||qr(n.translate)||qr(n.scale)||qr(n.rotate)||qr(n.perspective)||!Af()&&(qr(n.backdropFilter)||qr(n.filter))||gj.test(n.willChange||"")||yj.test(n.contain||"")}function vj(e){let n=Tr(e);for(;nr(n)&&!es(n);){if(Tf(n))return n;if(Nl(n))return null;n=Tr(n)}return null}function Af(){return Gu==null&&(Gu=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Gu}function es(e){return/^(html|body|#document)$/.test(ls(e))}function Sn(e){return Xt(e).getComputedStyle(e)}function Dl(e){return bn(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Tr(e){if(ls(e)==="html")return e;const n=e.assignedSlot||e.parentNode||Cy(e)&&e.host||On(e);return Cy(n)?n.host:n}function ox(e){const n=Tr(e);return es(n)?e.ownerDocument?e.ownerDocument.body:e.body:nr(n)&&vo(n)?n:ox(n)}function uo(e,n,i){var s;n===void 0&&(n=[]),i===void 0&&(i=!0);const a=ox(e),c=a===((s=e.ownerDocument)==null?void 0:s.body),u=Xt(a);if(c){const d=Md(u);
vendor: 16,465 bytes, line 203
203return n.concat(u,u.visualViewport||[],vo(a)?a:[],d&&i?uo(d):[])}else return n.concat(a,uo(a,[],i))}function Md(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function ax(e){const n=Sn(e);let i=parseFloat(n.width)||0,s=parseFloat(n.height)||0;const a=nr(e),c=a?e.offsetWidth:i,u=a?e.offsetHeight:s,d=dl(i)!==c||dl(s)!==u;return d&&(i=c,s=u),{width:i,height:s,$:d}}function Mf(e){return bn(e)?e:e.contextElement}function Hi(e){const n=Mf(e);if(!nr(n))return Ln(1);const i=n.getBoundingClientRect(),{width:s,height:a,$:c}=ax(n);let u=(c?dl(i.width):i.width)/s,d=(c?dl(i.height):i.height)/a;return(!u||!Number.isFinite(u))&&(u=1),(!d||!Number.isFinite(d))&&(d=1),{x:u,y:d}}const xj=Ln(0);function lx(e){const n=Xt(e);return!Af()||!n.visualViewport?xj:{x:n.visualViewport.offsetLeft,y:n.visualViewport.offsetTop}}function wj(e,n,i){return n===void 0&&(n=!1),!i||n&&i!==Xt(e)?!1:n}function ri(e,n,i,s){n===void 0&&(n=!1),i===void 0&&(i=!1);const a=e.getBoundingClientRect(),c=Mf(e);let u=Ln(1);n&&(s?bn(s)&&(u=Hi(s)):u=Hi(e));const d=wj(c,i,s)?lx(c):Ln(0);let m=(a.left+d.x)/u.x,y=(a.top+d.y)/u.y,g=a.width/u.x,x=a.height/u.y;if(c){const v=Xt(c),b=s&&bn(s)?Xt(s):s;let C=v,S=Md(C);for(;S&&s&&b!==C;){const E=Hi(S),j=S.getBoundingClientRect(),N=Sn(S),F=j.left+(S.clientLeft+parseFloat(N.paddingLeft))*E.x,I=j.top+(S.clientTop+parseFloat(N.paddingTop))*E.y;m*=E.x,y*=E.y,g*=E.x,x*=E.y,m+=F,y+=I,C=Xt(S),S=Md(C)}}return hl({width:g,height:x,x:m,y})}function jl(e,n){const i=Dl(e).scrollLeft;return n?n.left+i:ri(On(e)).left+i}function cx(e,n){const i=e.getBoundingClientRect(),s=i.left+n.scrollLeft-jl(e,i),a=i.top+n.scrollTop;return{x:s,y:a}}function bj(e){let{elements:n,rect:i,offsetParent:s,strategy:a}=e;const c=a==="fixed",u=On(s),d=n?Nl(n.floating):!1;if(s===u||d&&c)return i;let m={scrollLeft:0,scrollTop:0},y=Ln(1);const g=Ln(0),x=nr(s);if((x||!x&&!c)&&((ls(s)!=="body"||vo(u))&&(m=Dl(s)),x)){const b=ri(s);y=Hi(s),g.x=b.x+s.clientLeft,g.y=b.y+s.clientTop}const v=u&&!x&&!c?cx(u,m):Ln(0);return{width:i.width*y.x,height:i.height*y.y,x:i.x*y.x-m.scrollLeft*y.x+g.x+v.x,y:i.y*y.y-m.scrollTop*y.y+g.y+v.y}}function Sj(e){return Array.from(e.getClientRects())}function kj(e){const n=On(e),i=Dl(e),s=e.ownerDocument.body,a=Gt(n.scrollWidth,n.clientWidth,s.scrollWidth,s.clientWidth),c=Gt(n.scrollHeight,n.clientHeight,s.scrollHeight,s.clientHeight);let u=-i.scrollLeft+jl(e);const d=-i.scrollTop;return Sn(s).direction==="rtl"&&(u+=Gt(n.clientWidth,s.clientWidth)-a),{width:a,height:c,x:u,y:d}}const Ey=25;function Cj(e,n){const i=Xt(e),s=On(e),a=i.visualViewport;let c=s.clientWidth,u=s.clientHeight,d=0,m=0;if(a){c=a.width,u=a.height;const g=Af();(!g||g&&n==="fixed")&&(d=a.offsetLeft,m=a.offsetTop)}const y=jl(s);if(y<=0){const g=s.ownerDocument,x=g.body,v=getComputedStyle(x),b=g.compatMode==="CSS1Compat"&&parseFloat(v.marginLeft)+parseFloat(v.marginRight)||0,C=Math.abs(s.clientWidth-x.clientWidth-b);C<=Ey&&(c-=C)}else y<=Ey&&(c+=y);return{width:c,height:u,x:d,y:m}}function Ej(e,n){const i=ri(e,!0,n==="fixed"),s=i.top+e.clientTop,a=i.left+e.clientLeft,c=nr(e)?Hi(e):Ln(1),u=e.clientWidth*c.x,d=e.clientHeight*c.y,m=a*c.x,y=s*c.y;return{width:u,height:d,x:m,y}}function Ny(e,n,i){let s;if(n==="viewport")s=Cj(e,i);else if(n==="document")s=kj(On(e));else if(bn(n))s=Ej(n,i);else{const a=lx(e);s={x:n.x-a.x,y:n.y-a.y,width:n.width,height:n.height}}return hl(s)}function ux(e,n){const i=Tr(e);return i===n||!bn(i)||es(i)?!1:Sn(i).position==="fixed"||ux(i,n)}function Nj(e,n){const i=n.get(e);if(i)return i;let s=uo(e,[],!1).filter(d=>bn(d)&&ls(d)!=="body"),a=null;const c=Sn(e).position==="fixed";let u=c?Tr(e):e;for(;bn(u)&&!es(u);){const d=Sn(u),m=Tf(u);!m&&d.position==="fixed"&&(a=null),(c?!m&&!a:!m&&d.position==="static"&&!!a&&(a.position==="absolute"||a.position==="fixed")||vo(u)&&!m&&ux(e,u))?s=s.filter(g=>g!==u):a=d,u=Tr(u)}return n.set(e,s),s}function Dj(e){let{element:n,boundary:i,rootBoundary:s,strategy:a}=e;const u=[...i==="clippingAncestors"?Nl(n)?[]:Nj(n,this._c):[].concat(i),s],d=Ny(n,u[0],a);let m=d.top,y=d.right,g=d.bottom,x=d.left;for(let v=1;v<u.length;v++){const b=Ny(n,u[v],a);m=Gt(b.top,m),y=Pr(b.right,y),g=Pr(b.bottom,g),x=Gt(b.left,x)}return{width:y-x,height:g-m,x,y:m}}function jj(e){const{width:n,height:i}=ax(e);return{width:n,height:i}}function Fj(e,n,i){const s=nr(n),a=On(n),c=i==="fixed",u=ri(e,!0,c,n);let d={scrollLeft:0,scrollTop:0};const m=Ln(0);function y(){m.x=jl(a)}if(s||!s&&!c)if((ls(n)!=="body"||vo(a))&&(d=Dl(n)),s){const b=ri(n,!0,c,n);m.x=b.x+n.clientLeft,m.y=b.y+n.clientTop}else a&&y();c&&!s&&a&&y();const g=a&&!s&&!c?cx(a,d):Ln(0),x=u.left+d.scrollLeft-m.x-g.x,v=u.top+d.scrollTop-m.y-g.y;return{x,y:v,width:u.width,height:u.height}}function Yu(e){return Sn(e).position==="static"}function Dy(e,n){if(!nr(e)||Sn(e).position==="fixed")return null;if(n)return n(e);let i=e.offsetParent;return On(e)===i&&(i=i.ownerDocument.body),i}function dx(e,n){const i=Xt(e);if(Nl(e))return i;if(!nr(e)){let a=Tr(e);for(;a&&!es(a);){if(bn(a)&&!Yu(a))return a;a=Tr(a)}return i}let s=Dy(e,n);for(;s&&mj(s)&&Yu(s);)s=Dy(s,n);return s&&es(s)&&Yu(s)&&!Tf(s)?i:s||vj(e)||i}const Pj=async function(e){const n=this.getOffsetParent||dx,i=this.getDimensions,s=await i(e.floating);return{reference:Fj(e.reference,await n(e.floating),e.strategy),floating:{x:0,y:0,width:s.width,height:s.height}}};function Tj(e){return Sn(e).direction==="rtl"}const Aj={convertOffsetParentRelativeRectToViewportRelativeRect:bj,getDocumentElement:On,getClippingRect:Dj,getOffsetParent:dx,getElementRects:Pj,getClientRects:Sj,getDimensions:jj,getScale:Hi,isElement:bn,isRTL:Tj};function fx(e,n){return e.x===n.x&&e.y===n.y&&e.width===n.width&&e.height===n.height}function Mj(e,n){let i=null,s;const a=On(e);function c(){var d;clearTimeout(s),(d=i)==null||d.disconnect(),i=null}function u(d,m){d===void 0&&(d=!1),m===void 0&&(m=1),c();const y=e.getBoundingClientRect(),{left:g,top:x,width:v,height:b}=y;if(d||n(),!v||!b)return;const C=Ia(x),S=Ia(a.clientWidth-(g+v)),E=Ia(a.clientHeight-(x+b)),j=Ia(g),F={rootMargin:-C+"px "+-S+"px "+-E+"px "+-j+"px",threshold:Gt(0,Pr(1,m))||1};let I=!0;function L(H){const U=H[0].intersectionRatio;if(U!==m){if(!I)return u();U?u(!1,U):s=setTimeout(()=>{u(!1,1e-7)},1e3)}U===1&&!fx(y,e.getBoundingClientRect())&&u(),I=!1}try{i=new IntersectionObserver(L,{...F,root:a.ownerDocument})}catch{i=new IntersectionObserver(L,F)}i.observe(e)}return u(!0),c}function Rj(e,n,i,s){s===void 0&&(s={});const{ancestorScroll:a=!0,ancestorResize:c=!0,elementResize:u=typeof ResizeObserver=="function",layoutShift:d=typeof IntersectionObserver=="function",animationFrame:m=!1}=s,y=Mf(e),g=a||c?[...y?uo(y):[],...n?uo(n):[]]:[];g.forEach(j=>{a&&j.addEventListener("scroll",i,{passive:!0}),c&&j.addEventListener("resize",i)});const x=y&&d?Mj(y,i):null;let v=-1,b=null;u&&(b=new ResizeObserver(j=>{let[N]=j;N&&N.target===y&&b&&n&&(b.unobserve(n),cancelAnimationFrame(v),v=requestAnimationFrame(()=>{var F;(F=b)==null||F.observe(n)})),i()}),y&&!m&&b.observe(y),n&&b.observe(n));let C,S=m?ri(e):null;m&&E();function E(){const j=ri(e);S&&!fx(S,j)&&i(),S=j,C=requestAnimationFrame(E)}return i(),()=>{var j;g.forEach(N=>{a&&N.removeEventListener("scroll",i),c&&N.removeEventListener("resize",i)}),x==null||x(),(j=b)==null||j.disconnect(),b=null,m&&cancelAnimationFrame(C)}}const Ij=dj,_j=fj,Lj=lj,Vj=pj,Oj=cj,jy=aj,Bj=hj,zj=(e,n,i)=>{const s=new Map,a={platform:Aj,...i},c={...a.platform,_c:s};return oj(e,n,{...a,platform:c})};var Wj=typeof document<"u",Uj=function(){},Xa=Wj?k.useLayoutEffect:Uj;function pl(e,n){if(e===n)return!0;if(typeof e!=typeof n)return!1;if(typeof e=="function"&&e.toString()===n.toString())return!0;let i,s,a;if(e&&n&&typeof e=="object"){if(Array.isArray(e)){if(i=e.length,i!==n.length)return!1;for(s=i;s--!==0;)if(!pl(e[s],n[s]))return!1;return!0}if(a=Object.keys(e),i=a.length,i!==Object.keys(n).length)return!1;for(s=i;s--!==0;)if(!{}.hasOwnProperty.call(n,a[s]))return!1;for(s=i;s--!==0;){const c=a[s];if(!(c==="_owner"&&e.$$typeof)&&!pl(e[c],n[c]))return!1}return!0}return e!==e&&n!==n}function hx(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Fy(e,n){const i=hx(e);return Math.round(n*i)/i}function Xu(e){const n=k.useRef(e);return Xa(()=>{n.current=e}),n}function $j(e){e===void 0&&(e={});const{placement:n="bottom",strategy:i="absolute",middleware:s=[],platform:a,elements:{reference:c,floating:u}={},transform:d=!0,whileElementsMounted:m,open:y}=e,[g,x]=k.useState({x:0,y:0,strategy:i,placement:n,middlewareData:{},isPositioned:!1}),[v,b]=k.useState(s);pl(v,s)||b(s);const[C,S]=k.useState(null),[E,j]=k.useState(null),N=k.useCallback(R=>{R!==H.current&&(H.current=R,S(R))},[]),F=k.useCallback(R=>{R!==U.current&&(U.current=R,j(R))},[]),I=c||C,L=u||E,H=k.useRef(null),U=k.useRef(null),z=k.useRef(g),q=m!=null,K=Xu(m),le=Xu(a),ee=Xu(y),ne=k.useCallback(()=>{if(!H.current||!U.current)return;const R={placement:n,strategy:i,middleware:v};le.current&&(R.platform=le.current),zj(H.current,U.current,R).then(X=>{const Q={...X,isPositioned:ee.current!==!1};oe.current&&!pl(z.current,Q)&&(z.current=Q,yo.flushSync(()=>{x(Q)}))})},[v,n,i,le,ee]);Xa(()=>{y===!1&&z.current.isPositioned&&(z.current.isPositioned=!1,x(R=>({...R,isPositioned:!1})))},[y]);const oe=k.useRef(!1);Xa(()=>(oe.current=!0,()=>{oe.current=!1}),[]),Xa(()=>{if(I&&(H.current=I),L&&(U.current=L),I&&L){if(K.current)return K.current(I,L,ne);ne()}},[I,L,ne,K,q]);const pe=k.useMemo(()=>({reference:H,floating:U,setReference:N,setFloating:F}),[N,F]),se=k.useMemo(()=>({reference:I,floating:L}),[I,L]),ce=k.useMemo(()=>{const R={position:i,left:0,top:0};if(!se.floating)return R;const X=Fy(se.floating,g.x),Q=Fy(se.floating,g.y);return d?{...R,transform:"translate("+X+"px, "+Q+"px)",...hx(se.floating)>=1.5&&{willChange:"transform"}}:{position:i,left:X,top:Q}},[i,d,se.floating,g.x,g.y]);return k.useMemo(()=>({...g,update:ne,refs:pe,elements:se,floatingStyles:ce}),[g,ne,pe,se,ce])}const Hj=e=>{function n(i){return{}.hasOwnProperty.call(i,"current")}return{name:"arrow",options:e,fn(i){const{element:s,padding:a}=typeof e=="function"?e(i):e;return s&&n(s)?s.current!=null?jy({element:s.current,padding:a}).fn(i):{}:s?jy({element:s,padding:a}).fn(i):{}}}},Kj=(e,n)=>{const i=Ij(e);return{name:i.name,fn:i.fn,options:[e,n]}},Gj=(e,n)=>{const i=_j(e);return{name:i.name,fn:i.fn,options:[e,n]}},Yj=(e,n)=>({fn:Bj(e).fn,options:[e,n]}),Xj=(e,n)=>{const i=Lj(e);return{name:i.name,fn:i.fn,options:[e,n]}},qj=(e,n)=>{const i=Vj(e);return{name:i.name,fn:i.fn,options:[e,n]}},Qj=(e,n)=>{const i=Oj(e);return{name:i.name,fn:i.fn,options:[e,n]}},Zj=(e,n)=>{const i=Hj(e);return{name:i.name,fn:i.fn,options:[e,n]}};var Jj="Arrow",px=k.forwardRef((e,n)=>{const{children:i,width:s=10,height:a=5,...c}=e;return h.jsx(ot.svg,{...c,ref:n,width:s,height:a,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?i:h.jsx("polygon",{points:"0,0 30,0 15,10"})})});px.displayName=Jj;var eF=px;function tF(e){const[n,i]=k.useState(void 0);return qt(()=>{if(e){i({width:e.offsetWidth,height:e.offsetHeight});const s=new ResizeObserver(a=>{if(!Array.isArray(a)||!a.length)return;const c=a[0];let u,d;if("borderBoxSize"in c){const m=c.borderBoxSize,y=Array.isArray(m)?m[0]:m;u=y.inlineSize,d=y.blockSize}else u=e.offsetWidth,d=e.offsetHeight;i({width:u,height:d})});return s.observe(e,{box:"border-box"}),()=>s.unobserve(e)}else i(void 0)},[e]),n}var Rf="Popper",[mx,gx]=Nf(Rf),[nF,yx]=mx(Rf),vx=e=>{const{__scopePopper:n,children:i}=e,[s,a]=k.useState(null);return h.jsx(nF,{scope:n,anchor:s,onAnchorChange:a,children:i})};vx.displayName=Rf;var xx="PopperAnchor",wx=k.forwardRef((e,n)=>{const{__scopePopper:i,virtualRef:s,...a}=e,c=yx(xx,i),u=k.useRef(null),d=Et(n,u);return k.useEffect(()=>{c.onAnchorChange((s==null?void 0:s.current)||u.current)}),s?null:h.jsx(ot.div,{...a,ref:d})});wx.displayName=xx;var If="PopperContent",[rF,iF]=mx(If),bx=k.forwardRef((e,n)=>{var te,ke,De,je,Ae,Re;const{__scopePopper:i,side:s="bottom",sideOffset:a=0,align:c="center",alignOffset:u=0,arrowPadding:d=0,avoidCollisions:m=!0,collisionBoundary:y=[],collisionPadding:g=0,sticky:x="partial",hideWhenDetached:v=!1,updatePositionStrategy:b="optimized",onPlaced:C,...S}=e,E=yx(If,i),[j,N]=k.useState(null),F=Et(n,at=>N(at)),[I,L]=k.useState(null),H=tF(I),U=(H==null?void 0:H.width)??0,z=(H==null?void 0:H.height)??0,q=s+(c!=="center"?"-"+c:""),K=typeof g=="number"?g:{top:0,right:0,bottom:0,left:0,...g},le=Array.isArray(y)?y:[y],ee=le.length>0,ne={padding:K,boundary:le.filter(oF),altBoundary:ee},{refs:oe,floatingStyles:pe,placement:se,isPositioned:ce,middlewareData:R}=$j({strategy:"fixed",placement:q,whileElementsMounted:(...at)=>Rj(...at,{animationFrame:b==="always"}),elements:{reference:E.anchor},middleware:[Kj({mainAxis:a+z,alignmentAxis:u}),m&&Gj({mainAxis:!0,crossAxis:!1,limiter:x==="partial"?Yj():void 0,...ne}),m&&Xj({...ne}),qj({...ne,apply:({elements:at,rects:xt,availableWidth:kn,availableHeight:an})=>{const{width:Qt,height:si}=xt.reference,Cn=at.floating.style;Cn.setProperty("--radix-popper-available-width",`${kn}px`),Cn.setProperty("--radix-popper-available-height",`${an}px`),Cn.setProperty("--radix-popper-anchor-width",`${Qt}px`),Cn.setProperty("--radix-popper-anchor-height",`${si}px`)}}),I&&Zj({element:I,padding:d}),aF({arrowWidth:U,arrowHeight:z}),v&&Qj({strategy:"referenceHidden",...ne})]}),[X,Q]=Cx(se),A=Jn(C);qt(()=>{ce&&(A==null||A())},[ce,A]);const $=(te=R.arrow)==null?void 0:te.x,ge=(ke=R.arrow)==null?void 0:ke.y,be=((De=R.arrow)==null?void 0:De.centerOffset)!==0,[Fe,Te]=k.useState();return qt(()=>{j&&Te(window.getComputedStyle(j).zIndex)},[j]),h.jsx("div",{ref:oe.setFloating,"data-radix-popper-content-wrapper":"",style:{...pe,transform:ce?pe.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Fe,"--radix-popper-transform-origin":[(je=R.transformOrigin)==null?void 0:je.x,(Ae=R.transformOrigin)==null?void 0:Ae.y].join(" "),...((Re=R.hide)==null?void 0:Re.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:h.jsx(rF,{scope:i,placedSide:X,onArrowChange:L,arrowX:$,arrowY:ge,shouldHideArrow:be,children:h.jsx(ot.div,{"data-side":X,"data-align":Q,...S,ref:F,style:{...S.style,animation:ce?void 0:"none"}})})})});bx.displayName=If;var Sx="PopperArrow",sF={top:"bottom",right:"left",bottom:"top",left:"right"},kx=k.forwardRef(function(n,i){const{__scopePopper:s,...a}=n,c=iF(Sx,s),u=sF[c.placedSide];return h.jsx("span",{ref:c.onArrowChange,style:{position:"absolute",left:c.arrowX,top:c.arrowY,[u]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[c.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[c.placedSide],visibility:c.shouldHideArrow?"hidden":void 0},children:h.jsx(eF,{...a,ref:i,style:{...a.style,display:"block"}})})});kx.displayName=Sx;function oF(e){return e!==null}var aF=e=>({name:"transformOrigin",options:e,fn(n){var E,j,N;const{placement:i,rects:s,middlewareData:a}=n,u=((E=a.arrow)==null?void 0:E.centerOffset)!==0,d=u?0:e.arrowWidth,m=u?0:e.arrowHeight,[y,g]=Cx(i),x={start:"0%",center:"50%",end:"100%"}[g],v=(((j=a.arrow)==null?void 0:j.x)??0)+d/2,b=(((N=a.arrow)==null?void 0:N.y)??0)+m/2;let C="",S="";return y==="bottom"?(C=u?x:`${v}px`,S=`${-m}px`):y==="top"?(C=u?x:`${v}px`,S=`${s.floating.height+m}px`):y==="right"?(C=`${-m}px`,S=u?x:`${b}px`):y==="left"&&(C=`${s.floating.width+m}px`,S=u?x:`${b}px`),{data:{x:C,y:S}}}});function Cx(e){const[n,i="center"]=e.split("-");return[n,i]}var lF=vx,cF=wx,uF=bx,dF=kx,fF="Portal",Ex=k.forwardRef((e,n)=>{var d;const{container:i,...s}=e,[a,c]=k.useState(!1);qt(()=>c(!0),[]);const u=i||a&&((d=globalThis==null?void 0:globalThis.document)==null?void 0:d.body);return u?SD.createPortal(h.jsx(ot.div,{...s,ref:n}),u):null});Ex.displayName=fF;function Py({prop:e,defaultProp:n,onChange:i=()=>{}}){const[s,a]=hF({defaultProp:n,onChange:i}),c=e!==void 0,u=c?e:s,d=Jn(i),m=k.useCallback(y=>{if(c){const x=typeof y=="function"?y(e):y;x!==e&&d(x)}else a(y)},[c,e,a,d]);return[u,m]}function hF({defaultProp:e,onChange:n}){const i=k.useState(e),[s]=i,a=k.useRef(s),c=Jn(n);return k.useEffect(()=>{a.current!==s&&(c(s),a.current=s)},[s,a,c]),i}function pF(e){const n=k.useRef({value:e,previous:e});return k.useMemo(()=>(n.current.value!==e&&(n.current.previous=n.current.value,n.current.value=e),n.current.previous),[e])}
vendor: 14,520 bytes, lines 203-243
203var mF="VisuallyHidden",Nx=k.forwardRef((e,n)=>h.jsx(ot.span,{...e,ref:n,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}));Nx.displayName=mF;var gF=function(e){if(typeof document>"u")return null;var n=Array.isArray(e)?e[0]:e;return n.ownerDocument.body},Li=new WeakMap,_a=new WeakMap,La={},qu=0,Dx=function(e){return e&&(e.host||Dx(e.parentNode))},yF=function(e,n){return n.map(function(i){if(e.contains(i))return i;var s=Dx(i);return s&&e.contains(s)?s:(console.error("aria-hidden",i,"in not contained inside",e,". Doing nothing"),null)}).filter(function(i){return!!i})},vF=function(e,n,i,s){var a=yF(n,Array.isArray(e)?e:[e]);La[i]||(La[i]=new WeakMap);var c=La[i],u=[],d=new Set,m=new Set(a),y=function(x){!x||d.has(x)||(d.add(x),y(x.parentNode))};a.forEach(y);var g=function(x){!x||m.has(x)||Array.prototype.forEach.call(x.children,function(v){if(d.has(v))g(v);else try{var b=v.getAttribute(s),C=b!==null&&b!=="false",S=(Li.get(v)||0)+1,E=(c.get(v)||0)+1;Li.set(v,S),c.set(v,E),u.push(v),S===1&&C&&_a.set(v,!0),E===1&&v.setAttribute(i,"true"),C||v.setAttribute(s,"true")}catch(j){console.error("aria-hidden: cannot operate on ",v,j)}})};return g(n),d.clear(),qu++,function(){u.forEach(function(x){var v=Li.get(x)-1,b=c.get(x)-1;Li.set(x,v),c.set(x,b),v||(_a.has(x)||x.removeAttribute(s),_a.delete(x)),b||x.removeAttribute(i)}),qu--,qu||(Li=new WeakMap,Li=new WeakMap,_a=new WeakMap,La={})}},xF=function(e,n,i){i===void 0&&(i="data-aria-hidden");var s=Array.from(Array.isArray(e)?e:[e]),a=gF(e);return a?(s.push.apply(s,Array.from(a.querySelectorAll("[aria-live], script"))),vF(s,a,i,"aria-hidden")):function(){return null}},An=function(){return An=Object.assign||function(n){for(var i,s=1,a=arguments.length;s<a;s++){i=arguments[s];for(var c in i)Object.prototype.hasOwnProperty.call(i,c)&&(n[c]=i[c])}return n},An.apply(this,arguments)};function jx(e,n){var i={};for(var s in e)Object.prototype.hasOwnProperty.call(e,s)&&n.indexOf(s)<0&&(i[s]=e[s]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,s=Object.getOwnPropertySymbols(e);a<s.length;a++)n.indexOf(s[a])<0&&Object.prototype.propertyIsEnumerable.call(e,s[a])&&(i[s[a]]=e[s[a]]);return i}function wF(e,n,i){if(i||arguments.length===2)for(var s=0,a=n.length,c;s<a;s++)(c||!(s in n))&&(c||(c=Array.prototype.slice.call(n,0,s)),c[s]=n[s]);return e.concat(c||Array.prototype.slice.call(n))}var qa="right-scroll-bar-position",Qa="width-before-scroll-bar",bF="with-scroll-bars-hidden",SF="--removed-body-scroll-bar-size";function Qu(e,n){return typeof e=="function"?e(n):e&&(e.current=n),e}function kF(e,n){var i=k.useState(function(){return{value:e,callback:n,facade:{get current(){return i.value},set current(s){var a=i.value;a!==s&&(i.value=s,i.callback(s,a))}}}})[0];return i.callback=n,i.facade}var CF=typeof window<"u"?k.useLayoutEffect:k.useEffect,Ty=new WeakMap;function EF(e,n){var i=kF(null,function(s){return e.forEach(function(a){return Qu(a,s)})});return CF(function(){var s=Ty.get(i);if(s){var a=new Set(s),c=new Set(e),u=i.current;a.forEach(function(d){c.has(d)||Qu(d,null)}),c.forEach(function(d){a.has(d)||Qu(d,u)})}Ty.set(i,e)},[e]),i}function NF(e){return e}function DF(e,n){n===void 0&&(n=NF);var i=[],s=!1,a={read:function(){if(s)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return i.length?i[i.length-1]:e},useMedium:function(c){var u=n(c,s);return i.push(u),function(){i=i.filter(function(d){return d!==u})}},assignSyncMedium:function(c){for(s=!0;i.length;){var u=i;i=[],u.forEach(c)}i={push:function(d){return c(d)},filter:function(){return i}}},assignMedium:function(c){s=!0;var u=[];if(i.length){var d=i;i=[],d.forEach(c),u=i}var m=function(){var g=u;u=[],g.forEach(c)},y=function(){return Promise.resolve().then(m)};y(),i={push:function(g){u.push(g),y()},filter:function(g){return u=u.filter(g),i}}}};return a}function jF(e){e===void 0&&(e={});var n=DF(null);return n.options=An({async:!0,ssr:!1},e),n}var Fx=function(e){var n=e.sideCar,i=jx(e,["sideCar"]);if(!n)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var s=n.read();if(!s)throw new Error("Sidecar medium not found");return k.createElement(s,An({},i))};Fx.isSideCarExport=!0;function FF(e,n){return e.useMedium(n),Fx}var Px=jF(),Zu=function(){},Fl=k.forwardRef(function(e,n){var i=k.useRef(null),s=k.useState({onScrollCapture:Zu,onWheelCapture:Zu,onTouchMoveCapture:Zu}),a=s[0],c=s[1],u=e.forwardProps,d=e.children,m=e.className,y=e.removeScrollBar,g=e.enabled,x=e.shards,v=e.sideCar,b=e.noRelative,C=e.noIsolation,S=e.inert,E=e.allowPinchZoom,j=e.as,N=j===void 0?"div":j,F=e.gapMode,I=jx(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),L=v,H=EF([i,n]),U=An(An({},I),a);return k.createElement(k.Fragment,null,g&&k.createElement(L,{sideCar:Px,removeScrollBar:y,shards:x,noRelative:b,noIsolation:C,inert:S,setCallbacks:c,allowPinchZoom:!!E,lockRef:i,gapMode:F}),u?k.cloneElement(k.Children.only(d),An(An({},U),{ref:H})):k.createElement(N,An({},U,{className:m,ref:H}),d))});Fl.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Fl.classNames={fullWidth:Qa,zeroRight:qa};var PF=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function TF(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var n=PF();return n&&e.setAttribute("nonce",n),e}function AF(e,n){e.styleSheet?e.styleSheet.cssText=n:e.appendChild(document.createTextNode(n))}function MF(e){var n=document.head||document.getElementsByTagName("head")[0];n.appendChild(e)}var RF=function(){var e=0,n=null;return{add:function(i){e==0&&(n=TF())&&(AF(n,i),MF(n)),e++},remove:function(){e--,!e&&n&&(n.parentNode&&n.parentNode.removeChild(n),n=null)}}},IF=function(){var e=RF();return function(n,i){k.useEffect(function(){return e.add(n),function(){e.remove()}},[n&&i])}},Tx=function(){var e=IF(),n=function(i){var s=i.styles,a=i.dynamic;return e(s,a),null};return n},_F={left:0,top:0,right:0,gap:0},Ju=function(e){return parseInt(e||"",10)||0},LF=function(e){var n=window.getComputedStyle(document.body),i=n[e==="padding"?"paddingLeft":"marginLeft"],s=n[e==="padding"?"paddingTop":"marginTop"],a=n[e==="padding"?"paddingRight":"marginRight"];return[Ju(i),Ju(s),Ju(a)]},VF=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return _F;var n=LF(e),i=document.documentElement.clientWidth,s=window.innerWidth;return{left:n[0],top:n[1],right:n[2],gap:Math.max(0,s-i+n[2]-n[0])}},OF=Tx(),Ki="data-scroll-locked",BF=function(e,n,i,s){var a=e.left,c=e.top,u=e.right,d=e.gap;return i===void 0&&(i="margin"),` 204 .`.concat(bF,` { 205 overflow: hidden `).concat(s,`; 206 padding-right: `).concat(d,"px ").concat(s,`; 207 } 208 body[`).concat(Ki,`] { 209 overflow: hidden `).concat(s,`; 210 overscroll-behavior: contain; 211 `).concat([n&&"position: relative ".concat(s,";"),i==="margin"&&` 212 padding-left: `.concat(a,`px; 213 padding-top: `).concat(c,`px; 214 padding-right: `).concat(u,`px; 215 margin-left:0; 216 margin-top:0; 217 margin-right: `).concat(d,"px ").concat(s,`; 218 `),i==="padding"&&"padding-right: ".concat(d,"px ").concat(s,";")].filter(Boolean).join(""),` 219 } 220 221 .`).concat(qa,` { 222 right: `).concat(d,"px ").concat(s,`; 223 } 224 225 .`).concat(Qa,` { 226 margin-right: `).concat(d,"px ").concat(s,`; 227 } 228 229 .`).concat(qa," .").concat(qa,` { 230 right: 0 `).concat(s,`; 231 } 232 233 .`).concat(Qa," .").concat(Qa,` { 234 margin-right: 0 `).concat(s,`; 235 } 236 237 body[`).concat(Ki,`] { 238 `).concat(SF,": ").concat(d,`px; 239 } 240`)},Ay=function(){var e=parseInt(document.body.getAttribute(Ki)||"0",10);return isFinite(e)?e:0},zF=function(){k.useEffect(function(){return document.body.setAttribute(Ki,(Ay()+1).toString()),function(){var e=Ay()-1;e<=0?document.body.removeAttribute(Ki):document.body.setAttribute(Ki,e.toString())}},[])},WF=function(e){var n=e.noRelative,i=e.noImportant,s=e.gapMode,a=s===void 0?"margin":s;zF();var c=k.useMemo(function(){return VF(a)},[a]);return k.createElement(OF,{styles:BF(c,!n,a,i?"":"!important")})},Rd=!1;if(typeof window<"u")try{var Va=Object.defineProperty({},"passive",{get:function(){return Rd=!0,!0}});window.addEventListener("test",Va,Va),window.removeEventListener("test",Va,Va)}catch{Rd=!1}var Vi=Rd?{passive:!1}:!1,UF=function(e){return e.tagName==="TEXTAREA"},Ax=function(e,n){if(!(e instanceof Element))return!1;var i=window.getComputedStyle(e);return i[n]!=="hidden"&&!(i.overflowY===i.overflowX&&!UF(e)&&i[n]==="visible")},$F=function(e){return Ax(e,"overflowY")},HF=function(e){return Ax(e,"overflowX")},My=function(e,n){var i=n.ownerDocument,s=n;do{typeof ShadowRoot<"u"&&s instanceof ShadowRoot&&(s=s.host);var a=Mx(e,s);if(a){var c=Rx(e,s),u=c[1],d=c[2];if(u>d)return!0}s=s.parentNode}while(s&&s!==i.body);return!1},KF=function(e){var n=e.scrollTop,i=e.scrollHeight,s=e.clientHeight;return[n,i,s]},GF=function(e){var n=e.scrollLeft,i=e.scrollWidth,s=e.clientWidth;return[n,i,s]},Mx=function(e,n){return e==="v"?$F(n):HF(n)},Rx=function(e,n){return e==="v"?KF(n):GF(n)},YF=function(e,n){return e==="h"&&n==="rtl"?-1:1},XF=function(e,n,i,s,a){var c=YF(e,window.getComputedStyle(n).direction),u=c*s,d=i.target,m=n.contains(d),y=!1,g=u>0,x=0,v=0;do{if(!d)break;var b=Rx(e,d),C=b[0],S=b[1],E=b[2],j=S-E-c*C;(C||j)&&Mx(e,d)&&(x+=j,v+=C);var N=d.parentNode;d=N&&N.nodeType===Node.DOCUMENT_FRAGMENT_NODE?N.host:N}while(!m&&d!==document.body||m&&(n.contains(d)||n===d));return(g&&Math.abs(x)<1||!g&&Math.abs(v)<1)&&(y=!0),y},Oa=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Ry=function(e){return[e.deltaX,e.deltaY]},Iy=function(e){return e&&"current"in e?e.current:e},qF=function(e,n){return e[0]===n[0]&&e[1]===n[1]},QF=function(e){return` 241 .block-interactivity-`.concat(e,` {pointer-events: none;} 242 .allow-interactivity-`).concat(e,` {pointer-events: all;} 243`)},ZF=0,Oi=[];function JF(e){var n=k.useRef([]),i=k.useRef([0,0]),s=k.useRef(),a=k.useState(ZF++)[0],c=k.useState(Tx)[0],u=k.useRef(e);k.useEffect(function(){u.current=e},[e]),k.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(a));var S=wF([e.lockRef.current],(e.shards||[]).map(Iy),!0).filter(Boolean);return S.forEach(function(E){return E.classList.add("allow-interactivity-".concat(a))}),function(){document.body.classList.remove("block-interactivity-".concat(a)),S.forEach(function(E){return E.classList.remove("allow-interactivity-".concat(a))})}}},[e.inert,e.lockRef.current,e.shards]);var d=k.useCallback(function(S,E){if("touches"in S&&S.touches.length===2||S.type==="wheel"&&S.ctrlKey)return!u.current.allowPinchZoom;var j=Oa(S),N=i.current,F="deltaX"in S?S.deltaX:N[0]-j[0],I="deltaY"in S?S.deltaY:N[1]-j[1],L,H=S.target,U=Math.abs(F)>Math.abs(I)?"h":"v";if("touches"in S&&U==="h"&&H.type==="range")return!1;var z=window.getSelection(),q=z&&z.anchorNode,K=q?q===H||q.contains(H):!1;if(K)return!1;var le=My(U,H);if(!le)return!0;if(le?L=U:(L=U==="v"?"h":"v",le=My(U,H)),!le)return!1;if(!s.current&&"changedTouches"in S&&(F||I)&&(s.current=L),!L)return!0;var ee=s.current||L;return XF(ee,E,S,ee==="h"?F:I)},[]),m=k.useCallback(function(S){var E=S;if(!(!Oi.length||Oi[Oi.length-1]!==c)){var j="deltaY"in E?Ry(E):Oa(E),N=n.current.filter(function(L){return L.name===E.type&&(L.target===E.target||E.target===L.shadowParent)&&qF(L.delta,j)})[0];if(N&&N.should){E.cancelable&&E.preventDefault();return}if(!N){var F=(u.current.shards||[]).map(Iy).filter(Boolean).filter(function(L){return L.contains(E.target)}),I=F.length>0?d(E,F[0]):!u.current.noIsolation;I&&E.cancelable&&E.preventDefault()}}},[]),y=k.useCallback(function(S,E,j,N){var F={name:S,delta:E,target:j,should:N,shadowParent:eP(j)};n.current.push(F),setTimeout(function(){n.current=n.current.filter(function(I){return I!==F})},1)},[]),g=k.useCallback(function(S){i.current=Oa(S),s.current=void 0},[]),x=k.useCallback(function(S){y(S.type,Ry(S),S.target,d(S,e.lockRef.current))},[]),v=k.useCallback(function(S){y(S.type,Oa(S),S.target,d(S,e.lockRef.current))},[]);k.useEffect(function(){return Oi.push(c),e.setCallbacks({onScrollCapture:x,onWheelCapture:x,onTouchMoveCapture:v}),document.addEventListener("wheel",m,Vi),document.addEventListener("touchmove",m,Vi),document.addEventListener("touchstart",g,Vi),function(){Oi=Oi.filter(function(S){return S!==c}),document.removeEventListener("wheel",m,Vi),document.removeEventListener("touchmove",m,Vi),document.removeEventListener("touchstart",g,Vi)}},[]);var b=e.removeScrollBar,C=e.inert;return k.createElement(k.Fragment,null,C?k.createElement(c,{styles:QF(a)}):null,b?k.createElement(WF,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function eP(e){for(var n=null;e!==null;)e instanceof ShadowRoot&&(n=e.host,e=e.host),e=e.parentNode;return n}const tP=FF(Px,JF);var Ix=k.forwardRef(function(e,n){return k.createElement(Fl,An({},e,{ref:n,sideCar:tP}))});Ix.classNames=Fl.classNames;var nP=[" ","Enter","ArrowUp","ArrowDown"],rP=[" ","Enter"],xo="Select",[Pl,Tl,iP]=jD(xo),[cs]=Nf(xo,[iP,gx]),Al=gx(),[sP,Mr]=cs(xo),[oP,aP]=cs(xo),_x=e=>{const{__scopeSelect:n,children:i,open:s,defaultOpen:a,onOpenChange:c,value:u,defaultValue:d,onValueChange:m,dir:y,name:g,autoComplete:x,disabled:v,required:b,form:C}=e,S=Al(n),[E,j]=k.useState(null),[N,F]=k.useState(null),[I,L]=k.useState(!1),H=PD(y),[U=!1,z]=Py({prop:s,defaultProp:a,onChange:c}),[q,K]=Py({prop:u,defaultProp:d,onChange:m}),le=k.useRef(null),ee=E?C||!!E.closest("form"):!0,[ne,oe]=k.useState(new Set),pe=Array.from(ne).map(se=>se.props.value).join(";");return h.jsx(lF,{...S,children:h.jsxs(sP,{required:b,scope:n,trigger:E,onTriggerChange:j,valueNode:N,onValueNodeChange:F,valueNodeHasChildren:I,onValueNodeHasChildrenChange:L,contentId:Df(),value:q,onValueChange:K,open:U,onOpenChange:z,dir:H,triggerPointerDownPosRef:le,disabled:v,children:[h.jsx(Pl.Provider,{scope:n,children:h.jsx(oP,{scope:e.__scopeSelect,onNativeOptionAdd:k.useCallback(se=>{oe(ce=>new Set(ce).add(se))},[]),onNativeOptionRemove:k.useCallback(se=>{oe(ce=>{const R=new Set(ce);return R.delete(se),R})},[]),children:i})}),ee?h.jsxs(sw,{"aria-hidden":!0,required:b,tabIndex:-1,name:g,autoComplete:x,value:q,onChange:se=>K(se.target.value),disabled:v,form:C,children:[q===void 0?h.jsx("option",{value:""}):null,Array.from(ne)]},pe):null]})})};_x.displayName=xo;
vendor: 20,548 bytes, line 243
243var Lx="SelectTrigger",Vx=k.forwardRef((e,n)=>{const{__scopeSelect:i,disabled:s=!1,...a}=e,c=Al(i),u=Mr(Lx,i),d=u.disabled||s,m=Et(n,u.onTriggerChange),y=Tl(i),g=k.useRef("touch"),[x,v,b]=ow(S=>{const E=y().filter(F=>!F.disabled),j=E.find(F=>F.value===u.value),N=aw(E,S,j);N!==void 0&&u.onValueChange(N.value)}),C=S=>{d||(u.onOpenChange(!0),b()),S&&(u.triggerPointerDownPosRef.current={x:Math.round(S.pageX),y:Math.round(S.pageY)})};return h.jsx(cF,{asChild:!0,...c,children:h.jsx(ot.button,{type:"button",role:"combobox","aria-controls":u.contentId,"aria-expanded":u.open,"aria-required":u.required,"aria-autocomplete":"none",dir:u.dir,"data-state":u.open?"open":"closed",disabled:d,"data-disabled":d?"":void 0,"data-placeholder":iw(u.value)?"":void 0,...a,ref:m,onClick:ut(a.onClick,S=>{S.currentTarget.focus(),g.current!=="mouse"&&C(S)}),onPointerDown:ut(a.onPointerDown,S=>{g.current=S.pointerType;const E=S.target;E.hasPointerCapture(S.pointerId)&&E.releasePointerCapture(S.pointerId),S.button===0&&S.ctrlKey===!1&&S.pointerType==="mouse"&&(C(S),S.preventDefault())}),onKeyDown:ut(a.onKeyDown,S=>{const E=x.current!=="";!(S.ctrlKey||S.altKey||S.metaKey)&&S.key.length===1&&v(S.key),!(E&&S.key===" ")&&nP.includes(S.key)&&(C(),S.preventDefault())})})})});Vx.displayName=Lx;var Ox="SelectValue",Bx=k.forwardRef((e,n)=>{const{__scopeSelect:i,className:s,style:a,children:c,placeholder:u="",...d}=e,m=Mr(Ox,i),{onValueNodeHasChildrenChange:y}=m,g=c!==void 0,x=Et(n,m.onValueNodeChange);return qt(()=>{y(g)},[y,g]),h.jsx(ot.span,{...d,ref:x,style:{pointerEvents:"none"},children:iw(m.value)?h.jsx(h.Fragment,{children:u}):c})});Bx.displayName=Ox;var lP="SelectIcon",zx=k.forwardRef((e,n)=>{const{__scopeSelect:i,children:s,...a}=e;return h.jsx(ot.span,{"aria-hidden":!0,...a,ref:n,children:s||"â¼"})});zx.displayName=lP;var cP="SelectPortal",Wx=e=>h.jsx(Ex,{asChild:!0,...e});Wx.displayName=cP;var ii="SelectContent",Ux=k.forwardRef((e,n)=>{const i=Mr(ii,e.__scopeSelect),[s,a]=k.useState();if(qt(()=>{a(new DocumentFragment)},[]),!i.open){const c=s;return c?yo.createPortal(h.jsx($x,{scope:e.__scopeSelect,children:h.jsx(Pl.Slot,{scope:e.__scopeSelect,children:h.jsx("div",{children:e.children})})}),c):null}return h.jsx(Hx,{...e,ref:n})});Ux.displayName=ii;var yn=10,[$x,Rr]=cs(ii),uP="SelectContentImpl",Hx=k.forwardRef((e,n)=>{const{__scopeSelect:i,position:s="item-aligned",onCloseAutoFocus:a,onEscapeKeyDown:c,onPointerDownOutside:u,side:d,sideOffset:m,align:y,alignOffset:g,arrowPadding:x,collisionBoundary:v,collisionPadding:b,sticky:C,hideWhenDetached:S,avoidCollisions:E,...j}=e,N=Mr(ii,i),[F,I]=k.useState(null),[L,H]=k.useState(null),U=Et(n,te=>I(te)),[z,q]=k.useState(null),[K,le]=k.useState(null),ee=Tl(i),[ne,oe]=k.useState(!1),pe=k.useRef(!1);k.useEffect(()=>{if(F)return xF(F)},[F]),OD();const se=k.useCallback(te=>{const[ke,...De]=ee().map(Re=>Re.ref.current),[je]=De.slice(-1),Ae=document.activeElement;for(const Re of te)if(Re===Ae||(Re==null||Re.scrollIntoView({block:"nearest"}),Re===ke&&L&&(L.scrollTop=0),Re===je&&L&&(L.scrollTop=L.scrollHeight),Re==null||Re.focus(),document.activeElement!==Ae))return},[ee,L]),ce=k.useCallback(()=>se([z,F]),[se,z,F]);k.useEffect(()=>{ne&&ce()},[ne,ce]);const{onOpenChange:R,triggerPointerDownPosRef:X}=N;k.useEffect(()=>{if(F){let te={x:0,y:0};const ke=je=>{var Ae,Re;te={x:Math.abs(Math.round(je.pageX)-(((Ae=X.current)==null?void 0:Ae.x)??0)),y:Math.abs(Math.round(je.pageY)-(((Re=X.current)==null?void 0:Re.y)??0))}},De=je=>{te.x<=10&&te.y<=10?je.preventDefault():F.contains(je.target)||R(!1),document.removeEventListener("pointermove",ke),X.current=null};return X.current!==null&&(document.addEventListener("pointermove",ke),document.addEventListener("pointerup",De,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",ke),document.removeEventListener("pointerup",De,{capture:!0})}}},[F,R,X]),k.useEffect(()=>{const te=()=>R(!1);return window.addEventListener("blur",te),window.addEventListener("resize",te),()=>{window.removeEventListener("blur",te),window.removeEventListener("resize",te)}},[R]);const[Q,A]=ow(te=>{const ke=ee().filter(Ae=>!Ae.disabled),De=ke.find(Ae=>Ae.ref.current===document.activeElement),je=aw(ke,te,De);je&&setTimeout(()=>je.ref.current.focus())}),$=k.useCallback((te,ke,De)=>{const je=!pe.current&&!De;(N.value!==void 0&&N.value===ke||je)&&(q(te),je&&(pe.current=!0))},[N.value]),ge=k.useCallback(()=>F==null?void 0:F.focus(),[F]),be=k.useCallback((te,ke,De)=>{const je=!pe.current&&!De;(N.value!==void 0&&N.value===ke||je)&&le(te)},[N.value]),Fe=s==="popper"?Id:Kx,Te=Fe===Id?{side:d,sideOffset:m,align:y,alignOffset:g,arrowPadding:x,collisionBoundary:v,collisionPadding:b,sticky:C,hideWhenDetached:S,avoidCollisions:E}:{};return h.jsx($x,{scope:i,content:F,viewport:L,onViewportChange:H,itemRefCallback:$,selectedItem:z,onItemLeave:ge,itemTextRefCallback:be,focusSelectedItem:ce,selectedItemText:K,position:s,isPositioned:ne,searchRef:Q,children:h.jsx(Ix,{as:Qi,allowPinchZoom:!0,children:h.jsx(tx,{asChild:!0,trapped:N.open,onMountAutoFocus:te=>{te.preventDefault()},onUnmountAutoFocus:ut(a,te=>{var ke;(ke=N.trigger)==null||ke.focus({preventScroll:!0}),te.preventDefault()}),children:h.jsx(J0,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:c,onPointerDownOutside:u,onFocusOutside:te=>te.preventDefault(),onDismiss:()=>N.onOpenChange(!1),children:h.jsx(Fe,{role:"listbox",id:N.contentId,"data-state":N.open?"open":"closed",dir:N.dir,onContextMenu:te=>te.preventDefault(),...j,...Te,onPlaced:()=>oe(!0),ref:U,style:{display:"flex",flexDirection:"column",outline:"none",...j.style},onKeyDown:ut(j.onKeyDown,te=>{const ke=te.ctrlKey||te.altKey||te.metaKey;if(te.key==="Tab"&&te.preventDefault(),!ke&&te.key.length===1&&A(te.key),["ArrowUp","ArrowDown","Home","End"].includes(te.key)){let je=ee().filter(Ae=>!Ae.disabled).map(Ae=>Ae.ref.current);if(["ArrowUp","End"].includes(te.key)&&(je=je.slice().reverse()),["ArrowUp","ArrowDown"].includes(te.key)){const Ae=te.target,Re=je.indexOf(Ae);je=je.slice(Re+1)}setTimeout(()=>se(je)),te.preventDefault()}})})})})})})});Hx.displayName=uP;var dP="SelectItemAlignedPosition",Kx=k.forwardRef((e,n)=>{const{__scopeSelect:i,onPlaced:s,...a}=e,c=Mr(ii,i),u=Rr(ii,i),[d,m]=k.useState(null),[y,g]=k.useState(null),x=Et(n,U=>g(U)),v=Tl(i),b=k.useRef(!1),C=k.useRef(!0),{viewport:S,selectedItem:E,selectedItemText:j,focusSelectedItem:N}=u,F=k.useCallback(()=>{if(c.trigger&&c.valueNode&&d&&y&&S&&E&&j){const U=c.trigger.getBoundingClientRect(),z=y.getBoundingClientRect(),q=c.valueNode.getBoundingClientRect(),K=j.getBoundingClientRect();if(c.dir!=="rtl"){const Ae=K.left-z.left,Re=q.left-Ae,at=U.left-Re,xt=U.width+at,kn=Math.max(xt,z.width),an=window.innerWidth-yn,Qt=dy(Re,[yn,Math.max(yn,an-kn)]);d.style.minWidth=xt+"px",d.style.left=Qt+"px"}else{const Ae=z.right-K.right,Re=window.innerWidth-q.right-Ae,at=window.innerWidth-U.right-Re,xt=U.width+at,kn=Math.max(xt,z.width),an=window.innerWidth-yn,Qt=dy(Re,[yn,Math.max(yn,an-kn)]);d.style.minWidth=xt+"px",d.style.right=Qt+"px"}const le=v(),ee=window.innerHeight-yn*2,ne=S.scrollHeight,oe=window.getComputedStyle(y),pe=parseInt(oe.borderTopWidth,10),se=parseInt(oe.paddingTop,10),ce=parseInt(oe.borderBottomWidth,10),R=parseInt(oe.paddingBottom,10),X=pe+se+ne+R+ce,Q=Math.min(E.offsetHeight*5,X),A=window.getComputedStyle(S),$=parseInt(A.paddingTop,10),ge=parseInt(A.paddingBottom,10),be=U.top+U.height/2-yn,Fe=ee-be,Te=E.offsetHeight/2,te=E.offsetTop+Te,ke=pe+se+te,De=X-ke;if(ke<=be){const Ae=le.length>0&&E===le[le.length-1].ref.current;d.style.bottom="0px";const Re=y.clientHeight-S.offsetTop-S.offsetHeight,at=Math.max(Fe,Te+(Ae?ge:0)+Re+ce),xt=ke+at;d.style.height=xt+"px"}else{const Ae=le.length>0&&E===le[0].ref.current;d.style.top="0px";const at=Math.max(be,pe+S.offsetTop+(Ae?$:0)+Te)+De;d.style.height=at+"px",S.scrollTop=ke-be+S.offsetTop}d.style.margin=`${yn}px 0`,d.style.minHeight=Q+"px",d.style.maxHeight=ee+"px",s==null||s(),requestAnimationFrame(()=>b.current=!0)}},[v,c.trigger,c.valueNode,d,y,S,E,j,c.dir,s]);qt(()=>F(),[F]);const[I,L]=k.useState();qt(()=>{y&&L(window.getComputedStyle(y).zIndex)},[y]);const H=k.useCallback(U=>{U&&C.current===!0&&(F(),N==null||N(),C.current=!1)},[F,N]);return h.jsx(hP,{scope:i,contentWrapper:d,shouldExpandOnScrollRef:b,onScrollButtonChange:H,children:h.jsx("div",{ref:m,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:I},children:h.jsx(ot.div,{...a,ref:x,style:{boxSizing:"border-box",maxHeight:"100%",...a.style}})})})});Kx.displayName=dP;var fP="SelectPopperPosition",Id=k.forwardRef((e,n)=>{const{__scopeSelect:i,align:s="start",collisionPadding:a=yn,...c}=e,u=Al(i);return h.jsx(uF,{...u,...c,ref:n,align:s,collisionPadding:a,style:{boxSizing:"border-box",...c.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});Id.displayName=fP;var[hP,_f]=cs(ii,{}),_d="SelectViewport",Gx=k.forwardRef((e,n)=>{const{__scopeSelect:i,nonce:s,...a}=e,c=Rr(_d,i),u=_f(_d,i),d=Et(n,c.onViewportChange),m=k.useRef(0);return h.jsxs(h.Fragment,{children:[h.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:s}),h.jsx(Pl.Slot,{scope:i,children:h.jsx(ot.div,{"data-radix-select-viewport":"",role:"presentation",...a,ref:d,style:{position:"relative",flex:1,overflow:"hidden auto",...a.style},onScroll:ut(a.onScroll,y=>{const g=y.currentTarget,{contentWrapper:x,shouldExpandOnScrollRef:v}=u;if(v!=null&&v.current&&x){const b=Math.abs(m.current-g.scrollTop);if(b>0){const C=window.innerHeight-yn*2,S=parseFloat(x.style.minHeight),E=parseFloat(x.style.height),j=Math.max(S,E);if(j<C){const N=j+b,F=Math.min(C,N),I=N-F;x.style.height=F+"px",x.style.bottom==="0px"&&(g.scrollTop=I>0?I:0,x.style.justifyContent="flex-end")}}}m.current=g.scrollTop})})})]})});Gx.displayName=_d;var Yx="SelectGroup",[pP,mP]=cs(Yx),gP=k.forwardRef((e,n)=>{const{__scopeSelect:i,...s}=e,a=Df();return h.jsx(pP,{scope:i,id:a,children:h.jsx(ot.div,{role:"group","aria-labelledby":a,...s,ref:n})})});gP.displayName=Yx;var Xx="SelectLabel",yP=k.forwardRef((e,n)=>{const{__scopeSelect:i,...s}=e,a=mP(Xx,i);return h.jsx(ot.div,{id:a.id,...s,ref:n})});yP.displayName=Xx;var ml="SelectItem",[vP,qx]=cs(ml),Qx=k.forwardRef((e,n)=>{const{__scopeSelect:i,value:s,disabled:a=!1,textValue:c,...u}=e,d=Mr(ml,i),m=Rr(ml,i),y=d.value===s,[g,x]=k.useState(c??""),[v,b]=k.useState(!1),C=Et(n,N=>{var F;return(F=m.itemRefCallback)==null?void 0:F.call(m,N,s,a)}),S=Df(),E=k.useRef("touch"),j=()=>{a||(d.onValueChange(s),d.onOpenChange(!1))};if(s==="")throw new Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return h.jsx(vP,{scope:i,value:s,disabled:a,textId:S,isSelected:y,onItemTextChange:k.useCallback(N=>{x(F=>F||((N==null?void 0:N.textContent)??"").trim())},[]),children:h.jsx(Pl.ItemSlot,{scope:i,value:s,disabled:a,textValue:g,children:h.jsx(ot.div,{role:"option","aria-labelledby":S,"data-highlighted":v?"":void 0,"aria-selected":y&&v,"data-state":y?"checked":"unchecked","aria-disabled":a||void 0,"data-disabled":a?"":void 0,tabIndex:a?void 0:-1,...u,ref:C,onFocus:ut(u.onFocus,()=>b(!0)),onBlur:ut(u.onBlur,()=>b(!1)),onClick:ut(u.onClick,()=>{E.current!=="mouse"&&j()}),onPointerUp:ut(u.onPointerUp,()=>{E.current==="mouse"&&j()}),onPointerDown:ut(u.onPointerDown,N=>{E.current=N.pointerType}),onPointerMove:ut(u.onPointerMove,N=>{var F;E.current=N.pointerType,a?(F=m.onItemLeave)==null||F.call(m):E.current==="mouse"&&N.currentTarget.focus({preventScroll:!0})}),onPointerLeave:ut(u.onPointerLeave,N=>{var F;N.currentTarget===document.activeElement&&((F=m.onItemLeave)==null||F.call(m))}),onKeyDown:ut(u.onKeyDown,N=>{var I;((I=m.searchRef)==null?void 0:I.current)!==""&&N.key===" "||(rP.includes(N.key)&&j(),N.key===" "&&N.preventDefault())})})})})});Qx.displayName=ml;var Js="SelectItemText",Zx=k.forwardRef((e,n)=>{const{__scopeSelect:i,className:s,style:a,...c}=e,u=Mr(Js,i),d=Rr(Js,i),m=qx(Js,i),y=aP(Js,i),[g,x]=k.useState(null),v=Et(n,j=>x(j),m.onItemTextChange,j=>{var N;return(N=d.itemTextRefCallback)==null?void 0:N.call(d,j,m.value,m.disabled)}),b=g==null?void 0:g.textContent,C=k.useMemo(()=>h.jsx("option",{value:m.value,disabled:m.disabled,children:b},m.value),[m.disabled,m.value,b]),{onNativeOptionAdd:S,onNativeOptionRemove:E}=y;return qt(()=>(S(C),()=>E(C)),[S,E,C]),h.jsxs(h.Fragment,{children:[h.jsx(ot.span,{id:m.textId,...c,ref:v}),m.isSelected&&u.valueNode&&!u.valueNodeHasChildren?yo.createPortal(c.children,u.valueNode):null]})});Zx.displayName=Js;var Jx="SelectItemIndicator",ew=k.forwardRef((e,n)=>{const{__scopeSelect:i,...s}=e;return qx(Jx,i).isSelected?h.jsx(ot.span,{"aria-hidden":!0,...s,ref:n}):null});ew.displayName=Jx;var Ld="SelectScrollUpButton",tw=k.forwardRef((e,n)=>{const i=Rr(Ld,e.__scopeSelect),s=_f(Ld,e.__scopeSelect),[a,c]=k.useState(!1),u=Et(n,s.onScrollButtonChange);return qt(()=>{if(i.viewport&&i.isPositioned){let d=function(){const y=m.scrollTop>0;c(y)};const m=i.viewport;return d(),m.addEventListener("scroll",d),()=>m.removeEventListener("scroll",d)}},[i.viewport,i.isPositioned]),a?h.jsx(rw,{...e,ref:u,onAutoScroll:()=>{const{viewport:d,selectedItem:m}=i;d&&m&&(d.scrollTop=d.scrollTop-m.offsetHeight)}}):null});tw.displayName=Ld;var Vd="SelectScrollDownButton",nw=k.forwardRef((e,n)=>{const i=Rr(Vd,e.__scopeSelect),s=_f(Vd,e.__scopeSelect),[a,c]=k.useState(!1),u=Et(n,s.onScrollButtonChange);return qt(()=>{if(i.viewport&&i.isPositioned){let d=function(){const y=m.scrollHeight-m.clientHeight,g=Math.ceil(m.scrollTop)<y;c(g)};const m=i.viewport;return d(),m.addEventListener("scroll",d),()=>m.removeEventListener("scroll",d)}},[i.viewport,i.isPositioned]),a?h.jsx(rw,{...e,ref:u,onAutoScroll:()=>{const{viewport:d,selectedItem:m}=i;d&&m&&(d.scrollTop=d.scrollTop+m.offsetHeight)}}):null});nw.displayName=Vd;var rw=k.forwardRef((e,n)=>{const{__scopeSelect:i,onAutoScroll:s,...a}=e,c=Rr("SelectScrollButton",i),u=k.useRef(null),d=Tl(i),m=k.useCallback(()=>{u.current!==null&&(window.clearInterval(u.current),u.current=null)},[]);return k.useEffect(()=>()=>m(),[m]),qt(()=>{var g;const y=d().find(x=>x.ref.current===document.activeElement);(g=y==null?void 0:y.ref.current)==null||g.scrollIntoView({block:"nearest"})},[d]),h.jsx(ot.div,{"aria-hidden":!0,...a,ref:n,style:{flexShrink:0,...a.style},onPointerDown:ut(a.onPointerDown,()=>{u.current===null&&(u.current=window.setInterval(s,50))}),onPointerMove:ut(a.onPointerMove,()=>{var y;(y=c.onItemLeave)==null||y.call(c),u.current===null&&(u.current=window.setInterval(s,50))}),onPointerLeave:ut(a.onPointerLeave,()=>{m()})})}),xP="SelectSeparator",wP=k.forwardRef((e,n)=>{const{__scopeSelect:i,...s}=e;return h.jsx(ot.div,{"aria-hidden":!0,...s,ref:n})});wP.displayName=xP;var Od="SelectArrow",bP=k.forwardRef((e,n)=>{const{__scopeSelect:i,...s}=e,a=Al(i),c=Mr(Od,i),u=Rr(Od,i);return c.open&&u.position==="popper"?h.jsx(dF,{...a,...s,ref:n}):null});bP.displayName=Od;function iw(e){return e===""||e===void 0}var sw=k.forwardRef((e,n)=>{const{value:i,...s}=e,a=k.useRef(null),c=Et(n,a),u=pF(i);return k.useEffect(()=>{const d=a.current,m=window.HTMLSelectElement.prototype,g=Object.getOwnPropertyDescriptor(m,"value").set;if(u!==i&&g){const x=new Event("change",{bubbles:!0});g.call(d,i),d.dispatchEvent(x)}},[u,i]),h.jsx(Nx,{asChild:!0,children:h.jsx("select",{...s,ref:c,defaultValue:i})})});sw.displayName="BubbleSelect";function ow(e){const n=Jn(e),i=k.useRef(""),s=k.useRef(0),a=k.useCallback(u=>{const d=i.current+u;n(d),(function m(y){i.current=y,window.clearTimeout(s.current),y!==""&&(s.current=window.setTimeout(()=>m(""),1e3))})(d)},[n]),c=k.useCallback(()=>{i.current="",window.clearTimeout(s.current)},[]);return k.useEffect(()=>()=>window.clearTimeout(s.current),[]),[i,a,c]}function aw(e,n,i){const a=n.length>1&&Array.from(n).every(y=>y===n[0])?n[0]:n,c=i?e.indexOf(i):-1;let u=SP(e,Math.max(c,0));a.length===1&&(u=u.filter(y=>y!==i));const m=u.find(y=>y.textValue.toLowerCase().startsWith(a.toLowerCase()));return m!==i?m:void 0}function SP(e,n){return e.map((i,s)=>e[(n+s)%e.length])}var kP=_x,CP=Vx,EP=Bx,NP=zx,DP=Wx,jP=Ux,FP=Gx,PP=Qx,TP=Zx,AP=ew,MP=tw,RP=nw;function Gi({...e}){return h.jsx(kP,{"data-slot":"select",...e})}function Yi({...e}){return h.jsx(EP,{"data-slot":"select-value",...e})}function Xi({className:e,size:n="default",children:i,...s}){return h.jsxs(CP,{"data-slot":"select-trigger","data-size":n,className:Zn("border-input data-[placeholder]:text-muted-foreground [&_svg:not([class*='text-'])]:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 dark:hover:bg-input/50 flex w-full items-center justify-between gap-2 rounded-md border bg-input-background px-3 py-2 text-sm whitespace-nowrap transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 data-[size=default]:h-9 data-[size=sm]:h-8 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),...s,children:[i,h.jsx(NP,{asChild:!0,children:h.jsx(Oy,{className:"size-4 opacity-50"})})]})}function qi({className:e,children:n,position:i="popper",...s}){return h.jsx(DP,{children:h.jsxs(jP,{"data-slot":"select-content",className:Zn("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 relative z-50 max-h-(--radix-select-content-available-height) min-w-[8rem] origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border shadow-md",i==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e),position:i,...s,children:[h.jsx(IP,{}),h.jsx(FP,{className:Zn("p-1",i==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)] scroll-my-1"),children:n}),h.jsx(_P,{})]})})}function Ke({className:e,children:n,...i}){return h.jsxs(PP,{"data-slot":"select-item",className:Zn("focus:bg-accent focus:text-white [&_svg:not([class*='text-'])]:text-white relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2 text-white",e),...i,children:[h.jsx("span",{className:"absolute right-2 flex size-3.5 items-center justify-center",children:h.jsx(AP,{children:h.jsx(Sb,{className:"size-4 text-white"})})}),h.jsx(TP,{children:n})]})}function IP({className:e,...n}){return h.jsx(MP,{"data-slot":"select-scroll-up-button",className:Zn("flex cursor-default items-center justify-center py-1",e),...n,children:h.jsx(Eb,{className:"size-4"})})}function _P({className:e,...n}){return h.jsx(RP,{"data-slot":"select-scroll-down-button",className:Zn("flex cursor-default items-center justify-center py-1",e),...n,children:h.jsx(Oy,{className:"size-4"})})}function LP({isOpen:e,onClose:n}){const[i,s]=k.useState(!1),[a,c]=k.useState(!1),{register:u,handleSubmit:d,control:m,reset:y,formState:{errors:g}}=Ef(),x=async v=>{s(!0),await new Promise(b=>setTimeout(b,1500)),console.log("Form submitted:",v),s(!1),c(!0),y(),setTimeout(()=>{c(!1),n()},2e3)};return h.jsx(bl,{children:e&&h.jsxs("div",{className:"fixed inset-0 z-50 flex items-center justify-center p-4",children:[h.jsx(J.div,{className:"absolute inset-0 bg-black/80 backdrop-blur-sm",initial:{opacity:0}
243,animate:{opacity:1},exit:{opacity:0},onClick:n}),h.jsxs(J.div,{className:"relative w-full max-w-2xl bg-gradient-to-br from-[#1a1a4e] to-[#0f0f2e] rounded-3xl border border-[#5D5FEF]/30 shadow-2xl overflow-hidden",initial:{opacity:0,scale:.9,y:20},animate:{opacity:1,scale:1,y:0},exit:{opacity:0,scale:.9,y:20},transition:{type:"spring",duration:.5},children:[h.jsxs("div",{className:"absolute inset-0 overflow-hidden",children:[h.jsx(J.div,{className:"absolute top-0 right-0 w-96 h-96 bg-[#5D5FEF] rounded-full blur-[120px] opacity-20",animate:{scale:[1,1.2,1],x:[0,30,0],y:[0,-20,0]},transition:{duration:8,repeat:1/0,ease:"easeInOut"}}),h.jsx(J.div,{className:"absolute bottom-0 left-0 w-96 h-96 bg-[#8B5CF6] rounded-full blur-[120px] opacity-20",animate:{scale:[1,1.3,1],x:[0,-30,0],y:[0,20,0]},transition:{duration:10,repeat:1/0,ease:"easeInOut"}})]}),h.jsxs("div",{className:"relative p-8 md:p-12",children:[h.jsx("button",{onClick:n,className:"absolute top-6 right-6 text-gray-400 hover:text-white transition-colors",children:h.jsx(gl,{className:"w-6 h-6"})}),a?h.jsxs(J.div,{className:"text-center py-12",initial:{opacity:0,scale:.9},animate:{opacity:1,scale:1},transition:{duration:.5},children:[h.jsx(J.div,{className:"w-20 h-20 bg-gradient-to-r from-[#5D5FEF] to-[#8B5CF6] rounded-full flex items-center justify-center mx-auto mb-6",initial:{scale:0},animate:{scale:1},transition:{type:"spring",duration:.6,delay:.2},children:h.jsx("svg",{className:"w-10 h-10 text-white",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:h.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:3,d:"M5 13l4 4L19 7"})})}),h.jsx("h3",{className:"text-3xl font-['Montserrat'] font-black mb-3 text-white",children:"Request Submitted!"}),h.jsx("p",{className:"text-gray-300 font-['Inter'] text-lg",children:"Our team will be in touch soon."})]}):h.jsxs(h.Fragment,{children:[h.jsxs("div",{className:"mb-8",children:[h.jsx("h2",{className:"text-4xl font-['Montserrat'] font-black mb-4 text-white",children:"Request Early Access"}),h.jsx("p",{className:"text-gray-300 font-['Inter'] text-lg",children:"Join leading organizations leveraging MARi to build mission-ready workforces."})]}),h.jsxs("form",{onSubmit:d(x),className:"space-y-6",children:[h.jsxs("div",{className:"space-y-2",children:[h.jsx(Qn,{htmlFor:"email",className:"text-white font-['Montserrat'] text-sm font-semibold",children:"Work Email *"}),h.jsx(Cl,{id:"email",type:"email",placeholder:"[email protected]",className:"bg-white/5 border-[#5D5FEF]/30 text-white placeholder:text-gray-500 focus:border-[#5D5FEF] focus:ring-[#5D5FEF]/20 font-['Inter'] h-12",...u("email",{required:"Work email is required",pattern:{value:/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,}$/i,message:"Invalid email address"}})}),g.email&&h.jsx("p",{className:"text-red-400 text-sm font-['Inter']",children:g.email.message})]}),h.jsxs("div",{className:"space-y-2",children:[h.jsx(Qn,{htmlFor:"role",className:"text-white font-['Montserrat'] text-sm font-semibold",children:"Your Role *"}),h.jsx($i,{name:"role",control:m,rules:{required:"Role is required"},render:({field:v})=>h.jsxs(Gi,{onValueChange:v.onChange,value:v.value,children:[h.jsx(Xi,{className:"bg-white/5 border-[#5D5FEF]/30 text-white focus:border-[#5D5FEF] focus:ring-[#5D5FEF]/20 font-['Inter'] h-12",children:h.jsx(Yi,{placeholder:"Select your role"})}),h.jsxs(qi,{className:"bg-[#1a1a4e] border-[#5D5FEF]/30 text-white",children:[h.jsx(Ke,{value:"executive",className:"focus:bg-[#5D5FEF]/20 font-['Inter']",children:"Executive Leadership (CEO / COO / Owner)"}),h.jsx(Ke,{value:"hr",className:"focus:bg-[#5D5FEF]/20 font-['Inter']",children:"Human Resources / People Ops"}),h.jsx(Ke,{value:"ld",className:"focus:bg-[#5D5FEF]/20 font-['Inter']",children:"Learning & Development (L&D) / Training"}),h.jsx(Ke,{value:"ops",className:"focus:bg-[#5D5FEF]/20 font-['Inter']",children:"Operations / Project Management"}),h.jsx(Ke,{value:"safety",className:"focus:bg-[#5D5FEF]/20 font-['Inter']",children:"Safety & Compliance"})]})]})}),g.role&&h.jsx("p",{className:"text-red-400 text-sm font-['Inter']",children:g.role.message})]}),h.jsxs("div",{className:"space-y-2",children:[h.jsx(Qn,{htmlFor:"orgSize",className:"text-white font-['Montserrat'] text-sm font-semibold",children:"Organization Size *"}),h.jsx($i,{name:"orgSize",control:m,rules:{required:"Organization size is required"},render:({field:v})=>h.jsxs(Gi,{onValueChange:v.onChange,value:v.value,children:[h.jsx(Xi,{className:"bg-white/5 border-[#5D5FEF]/30 text-white focus:border-[#5D5FEF] focus:ring-[#5D5FEF]/20 font-['Inter'] h-12",children:h.jsx(Yi,{placeholder:"Select organization size"})}),h.jsxs(qi,{className:"bg-[#1a1a4e] border-[#5D5FEF]/30 text-white",children:[h.jsx(Ke,{value:"small",className:"focus:bg-[#5D5FEF]/20 font-['Inter']",children:"1â50 employees (Small)"}),h.jsx(Ke,{value:"medium",className:"focus:bg-[#5D5FEF]/20 font-['Inter']",children:"51â250 employees (Medium)"}),h.jsx(Ke,{value:"large",className:"focus:bg-[#5D5FEF]/20 font-['Inter']",children:"251â1,000 employees (Large)"}),h.jsx(Ke,{value:"enterprise",className:"focus:bg-[#5D5FEF]/20 font-['Inter']",children:"1,000+ employees (Enterprise)"})]})]})}),g.orgSize&&h.jsx("p",{className:"text-red-400 text-sm font-['Inter']",children:g.orgSize.message})]}),h.jsxs("div",{className:"space-y-2",children:[h.jsx(Qn,{htmlFor:"primaryGoal",className:"text-white font-['Montserrat'] text-sm font-semibold",children:"Primary Goal *"}),h.jsx($i,{name:"primaryGoal",control:m,rules:{required:"Primary goal is required"},render:({field:v})=>h.jsxs(Gi,{onValueChange:v.onChange,value:v.value,children:[h.jsx(Xi,{className:"bg-white/5 border-[#5D5FEF]/30 text-white focus:border-[#5D5FEF] focus:ring-[#5D5FEF]/20 font-['Inter'] h-12",children:h.jsx(Yi,{placeholder:"Select your primary goal"})}),h.jsxs(qi,{className:"bg-[#1a1a4e] border-[#5D5FEF]/30 text-white",children:[h.jsx(Ke,{value:"readiness",className:"focus:bg-[#5D5FEF]/20 font-['Inter']",children:"Readiness"}),h.jsx(Ke,{value:"skill-decay",className:"focus:bg-[#5D5FEF]/20 font-['Inter']",children:"Skill Decay"}),h.jsx(Ke,{value:"career-mapping",className:"focus:bg-[#5D5FEF]/20 font-['Inter']",children:"Career Mapping"}),h.jsx(Ke,{value:"visibility",className:"focus:bg-[#5D5FEF]/20 font-['Inter']",children:"Visibility"})]})]})}),g.primaryGoal&&h.jsx("p",{className:"text-red-400 text-sm font-['Inter']",children:g.primaryGoal.message})]}),h.jsx(In,{type:"submit",disabled:i,className:"w-full bg-gradient-to-r from-[#5D5FEF] to-[#8B5CF6] hover:opacity-90 text-white py-6 rounded-xl shadow-2xl shadow-[#5D5FEF]/50 text-lg font-['Montserrat'] font-bold mt-8 group",children:i?h.jsxs("span",{className:"flex items-center justify-center",children:[h.jsx(J.div,{className:"w-5 h-5 border-2 border-white border-t-transparent roun
243ded-full mr-2",animate:{rotate:360},transition:{duration:1,repeat:1/0,ease:"linear"}}),"Submitting..."]}):h.jsxs("span",{className:"flex items-center justify-center",children:["Submit Request",h.jsx(zd,{className:"ml-2 h-5 w-5 group-hover:translate-x-1 transition-transform"})]})})]})]})]})]})]})})}function VP({isOpen:e,onClose:n}){const[i,s]=k.useState(!1),[a,c]=k.useState(!1),{register:u,handleSubmit:d,control:m,reset:y,formState:{errors:g}}=Ef(),x=async v=>{s(!0),await new Promise(b=>setTimeout(b,1500)),console.log("Form submitted:",v),s(!1),c(!0),y(),setTimeout(()=>{c(!1),n()},2e3)};return h.jsx(bl,{children:e&&h.jsxs("div",{className:"fixed inset-0 z-50 flex items-center justify-center p-4",children:[h.jsx(J.div,{className:"absolute inset-0 bg-black/80 backdrop-blur-sm",initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},onClick:n}),h.jsxs(J.div,{className:"relative w-full max-w-2xl bg-gradient-to-br from-[#1a1a4e] to-[#0f0f2e] rounded-3xl border border-[#2DD4BF]/30 shadow-2xl overflow-hidden",initial:{opacity:0,scale:.9,y:20},animate:{opacity:1,scale:1,y:0},exit:{opacity:0,scale:.9,y:20},transition:{type:"spring",duration:.5},children:[h.jsxs("div",{className:"absolute inset-0 overflow-hidden",children:[h.jsx(J.div,{className:"absolute top-0 right-0 w-96 h-96 bg-[#8B5CF6] rounded-full blur-[120px] opacity-20",animate:{scale:[1,1.2,1],x:[0,30,0],y:[0,-20,0]},transition:{duration:8,repeat:1/0,ease:"easeInOut"}}),h.jsx(J.div,{className:"absolute bottom-0 left-0 w-96 h-96 bg-[#2DD4BF] rounded-full blur-[120px] opacity-20",animate:{scale:[1,1.3,1],x:[0,-30,0],y:[0,20,0]},transition:{duration:10,repeat:1/0,ease:"easeInOut"}})]}),h.jsxs("div",{className:"relative p-8 md:p-12",children:[h.jsx("button",{onClick:n,className:"absolute top-6 right-6 text-gray-400 hover:text-white transition-colors",children:h.jsx(gl,{className:"w-6 h-6"})}),a?h.jsxs(J.div,{className:"text-center py-12",initial:{opacity:0,scale:.9},animate:{opacity:1,scale:1},transition:{duration:.5},children:[h.jsx(J.div,{className:"w-20 h-20 bg-gradient-to-r from-[#8B5CF6] to-[#2DD4BF] rounded-full flex items-center justify-center mx-auto mb-6",initial:{scale:0},animate:{scale:1},transition:{type:"spring",duration:.6,delay:.2},children:h.jsx("svg",{className:"w-10 h-10 text-white",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:h.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:3,d:"M5 13l4 4L19 7"})})}),h.jsx("h3",{className:"text-3xl font-['Montserrat'] font-black mb-3 text-white",children:"Welcome to MARi!"}),h.jsx("p",{className:"text-gray-300 font-['Inter'] text-lg",children:"We'll be in touch soon with next steps."})]}):h.jsxs(h.Fragment,{children:[h.jsxs("div",{className:"mb-8",children:[h.jsx("h2",{className:"text-4xl font-['Montserrat'] font-black mb-4 text-white",children:"Request Early Access to Become a Member"}),h.jsx("p",{className:"text-gray-300 font-['Inter'] text-lg",children:"Take control of your career journey with personalized AI-powered guidance."})]}),h.jsxs("form",{onSubmit:d(x),className:"space-y-6",children:[h.jsxs("div",{className:"space-y-2",children:[h.jsx(Qn,{htmlFor:"email",className:"text-white font-['Montserrat'] text-sm font-semibold",children:"Email *"}),h.jsx(Cl,{id:"email",type:"email",placeholder:"[email protected]",className:"bg-white/5 border-[#2DD4BF]/30 text-white placeholder:text-gray-500 focus:border-[#2DD4BF] focus:ring-[#2DD4BF]/20 font-['Inter'] h-12",...u("email",{required:"Email is required",pattern:{value:/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,}$/i,message:"Invalid email address"}})}),g.email&&h.jsx("p",{className:"text-red-400 text-sm font-['Inter']",children:g.email.message})]}),h.jsxs("div",{className:"space-y-2",children:[h.jsx(Qn,{htmlFor:"currentLevel",className:"text-white font-['Montserrat'] text-sm font-semibold",children:"I Am Currently *"}),h.jsx($i,{name:"currentLevel",control:m,rules:{required:"Current level is required"},render:({field:v})=>h.jsxs(Gi,{onValueChange:v.onChange,value:v.value,children:[h.jsx(Xi,{className:"bg-white/5 border-[#2DD4BF]/30 text-white focus:border-[#2DD4BF] focus:ring-[#2DD4BF]/20 font-['Inter'] h-12",children:h.jsx(Yi,{placeholder:"Select your current level"})}),h.jsxs(qi,{className:"bg-[#1a1a4e] border-[#2DD4BF]/30 text-white",children:[h.jsx(Ke,{value:"student",className:"focus:bg-[#2DD4BF]/20 font-['Inter']",children:"Student / Apprentice"}),h.jsx(Ke,{value:"entry",className:"focus:bg-[#2DD4BF]/20 font-['Inter']",children:"Entry-Level / Junior"}),h.jsx(Ke,{value:"mid",className:"focus:bg-[#2DD4BF]/20 font-['Inter']",children:"Mid-Level / Journeyman"}),h.jsx(Ke,{value:"senior",className:"focus:bg-[#2DD4BF]/20 font-['Inter']",children:"Senior / Lead / Foreman"}),h.jsx(Ke,{value:"executive",className:"focus:bg-[#2DD4BF]/20 font-['Inter']",children:"Executive / Business Owner"})]})]})}),g.currentLevel&&h.jsx("p",{className:"text-red-400 text-sm font-['Inter']",children:g.currentLevel.message})]}),h.jsxs("div",{className:"space-y-2",children:[h.jsx(Qn,{htmlFor:"primaryGoal",className:"text-white font-['Montserrat'] text-sm font-semibold",children:"Primary Goal *"}),h.jsx($i,{name:"primaryGoal",control:m,rules:{required:"Primary goal is required"},render:({field:v})=>h.jsxs(Gi,{onValueChange:v.onChange,value:v.value,children:[h.jsx(Xi,{className:"bg-white/5 border-[#2DD4BF]/30 text-white focus:border-[#2DD4BF] focus:ring-[#2DD4BF]/20 font-['Inter'] h-12",children:h.jsx(Yi,{placeholder:"Select your primary goal"})}),h.jsxs(qi,{className:"bg-[#1a1a4e] border-[#2DD4BF]/30 text-white",children:[h.jsx(Ke,{value:"career-planning",className:"focus:bg-[#2DD4BF]/20 font-['Inter']",children:"Career Planning"}),h.jsx(Ke,{value:"upskilling",className:"focus:bg-[#2DD4BF]/20 font-['Inter']",children:"Upskilling/Reskilling"}),h.jsx(Ke,{value:"career-growth",className:"focus:bg-[#2DD4BF]/20 font-['Inter']",children:"Career Growth"}),h.jsx(Ke,{value:"skill-decay",className:"focus:bg-[#2DD4BF]/20 font-['Inter']",children:"Combating Skill Decay"})]})]})}),g.primaryGoal&&h.jsx("p",{className:"text-red-400 text-sm font-['Inter']",children:g.primaryGoal.message})]}),h.jsx(In,{type:"submit",disabled:i,className:"w-full bg-gradient-to-r from-[#8B5CF6] to-[#2DD4BF] hover:opacity-90 text-white py-6 rounded-xl shadow-2xl shadow-[#2DD4BF]/50 text-lg font-['Montserrat'] font-bold mt-8 group",children:i?h.jsxs("span",{className:"flex items-center justify-center",children:[h.jsx(J.div,{className:"w-5 h-5 border-2 border-white border-t-transparent roun
243ded-full mr-2",animate:{rotate:360},transition:{duration:1,repeat:1/0,ease:"linear"}}),"Submitting..."]}):h.jsxs("span",{className:"flex items-center justify-center",children:["Submit",h.jsx(zd,{className:"ml-2 h-5 w-5 group-hover:translate-x-1 transition-transform"})]})})]})]})]})]})]})})}function OP(){const e=k.useRef(null),n=os(e,{once:!0,margin:"-100px"}),[i,s]=k.useState(!1),[a,c]=k.useState(!1);return h.jsxs(h.Fragment,{children:[h.jsx(LP,{isOpen:i,onClose:()=>s(!1)}),h.jsx(VP,{isOpen:a,onClose:()=>c(!1)}),h.jsxs("section",{id:"audiences",className:"py-40 bg-black relative overflow-hidden",ref:e,children:[h.jsxs("div",{className:"absolute inset-0",children:[h.jsx(J.div,{className:"absolute top-0 left-0 w-[800px] h-[800px] bg-[#5D5FEF] rounded-full blur-[150px] opacity-30",animate:{scale:[1,1.4,1],x:[0,100,0],y:[0,50,0]},transition:{duration:15,repeat:1/0,ease:"easeInOut"}}),h.jsx(J.div,{className:"absolute bottom-0 right-0 w-[800px] h-[800px] bg-[#2DD4BF] rounded-full blur-[150px] opacity-30",animate:{scale:[1,1.5,1],x:[0,-100,0],y:[0,-50,0]},transition:{duration:18,repeat:1/0,ease:"easeInOut"}}),h.jsx(J.div,{className:"absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 w-[600px] h-[600px] bg-[#8B5CF6] rounded-full blur-[130px] opacity-25",animate:{scale:[1,1.3,1],rotate:[0,180,360]},transition:{duration:20,repeat:1/0,ease:"easeInOut"}}),h.jsx("div",{className:"absolute inset-0 opacity-20",style:{backgroundImage:"linear-gradient(rgba(93,95,239,0.3) 1px, transparent 1px), linear-gradient(90deg, rgba(93,95,239,0.3) 1px, transparent 1px)",backgroundSize:"50px 50px",maskImage:"radial-gradient(ellipse at center, black 0%, transparent 80%)",WebkitMaskImage:"radial-gradient(ellipse at center, black 0%, transparent 80%)"}}),h.jsx("div",{className:"absolute inset-x-0 top-0 h-px bg-gradient-to-r from-transparent via-[#2DD4BF] to-transparent opacity-50"}),h.jsx("div",{className:"absolute inset-x-0 bottom-0 h-px bg-gradient-to-r from-transparent via-[#5D5FEF] to-transparent opacity-50"})]}),h.jsx("div",{className:"container mx-auto px-6 relative z-10",children:h.jsxs("div",{className:"max-w-7xl mx-auto",children:[h.jsxs(J.div,{className:"text-center mb-24",initial:{opacity:0,y:30},animate:n?{opacity:1,y:0}:{},transition:{duration:.8},children:[h.jsx(J.div,{animate:{scale:[1,1.02,1]},transition:{duration:3,repeat:1/0,ease:"easeInOut"},children:h.jsxs("h2",{className:"text-6xl md:text-7xl font-['Montserrat'] font-black mb-8 text-white",children:["Built for"," ",h.jsxs("span",{className:"relative inline-block",children:[h.jsx(J.span,{className:"absolute inset-0 blur-3xl bg-gradient-to-r from-[#5D5FEF] via-[#8B5CF6] to-[#2DD4BF]",animate:{opacity:[.4,.7,.4]},transition:{duration:2,repeat:1/0,ease:"easeInOut"}}),h.jsx("span",{className:"relative bg-gradient-to-r from-[#5D5FEF] via-[#8B5CF6] to-[#2DD4BF] bg-clip-text text-transparent",children:"Everyone"})]})]})}),h.jsx(J.p,{className:"text-2xl text-gray-300 font-['Inter'] max-w-3xl mx-auto",initial:{opacity:0}
243,animate:n?{opacity:1}:{},transition:{delay:.3,duration:.8},children:"Start your journey to peak potential today"})]}),h.jsxs("div",{className:"grid md:grid-cols-2 gap-12",children:[h.jsxs(J.div,{className:"relative group",initial:{opacity:0,x:-50},animate:n?{opacity:1,x:0}:{},transition:{delay:.3,duration:.8},whileHover:{scale:1.02},children:[h.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-[#5D5FEF]/20 to-[#8B5CF6]/20 rounded-3xl blur-2xl opacity-0 group-hover:opacity-100 transition-opacity duration-500"}),h.jsxs("div",{className:"relative bg-gradient-to-br from-white/5 to-white/[0.02] backdrop-blur-sm rounded-3xl p-12 border border-[#5D5FEF]/30 group-hover:border-[#5D5FEF]/50 transition-all duration-500",children:[h.jsx("div",{className:"inline-flex p-5 rounded-2xl bg-gradient-to-br from-[#5D5FEF] to-[#8B5CF6] mb-8 shadow-2xl group-hover:scale-110 transition-transform duration-500",children:h.jsx(J.div,{animate:{y:[0,-3,0]},transition:{duration:2,repeat:1/0,ease:"easeInOut"},children:h.jsx(wb,{className:"w-12 h-12 text-white"})})}),h.jsx("h3",{className:"text-4xl font-['Montserrat'] font-black mb-6 text-white",children:"Build a Mission-Ready Workforce"}),h.jsx("p",{className:"text-gray-300 font-['Inter'] text-xl leading-relaxed mb-10",children:"Ensure readiness, reduce skill decay, and enhance leadership visibility. MARi provides the longitudinal insights needed to drive informed decision-making and human performance optimization."}),h.jsx("div",{className:"space-y-5 mb-10",children:["Real-time workforce proficiency tracking","Predictive analytics for skill decay","Mission-critical readiness assurance","Leadership visibility & insights","Human performance optimization"].map((u,d)=>h.jsxs(J.div,{className:"flex items-start gap-4",initial:{opacity:0,x:-20},animate:n?{opacity:1,x:0}:{},transition:{delay:.5+d*.1,duration:.5},children:[h.jsx("div",{className:"w-6 h-6 rounded-full bg-gradient-to-r from-[#5D5FEF] to-[#8B5CF6] flex items-center justify-center flex-shrink-0 mt-1 shadow-lg shadow-[#5D5FEF]/50",children:h.jsx("svg",{className:"w-3 h-3 text-white",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:h.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:3,d:"M5 13l4 4L19 7"})})}),h.jsx("span",{className:"text-gray-300 font-['Inter'] text-lg",children:u})]},d))}),h.jsxs(In,{className:"w-full bg-gradient-to-r from-[#5D5FEF] to-[#8B5CF6] hover:opacity-90 text-white group/btn py-7 rounded-xl shadow-2xl shadow-[#5D5FEF]/50 text-lg font-['Montserrat'] font-bold",onClick:()=>s(!0),children:["Request Early Access for My Organization",h.jsx(ed,{className:"ml-2 h-5 w-5 group-hover/btn:translate-x-2 transition-transform"})]})]})]}),h.jsxs(J.div,{className:"relative group",initial:{opacity:0,x:50},animate:n?{opacity:1,x:0}:{},transition:{delay:.3,duration:.8},whileHover:{scale:1.02},children:[h.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-[#8B5CF6]/20 to-[#2DD4BF]/20 rounded-3xl blur-2xl opacity-0 group-hover:opacity-100 transition-opacity duration-500"}),h.jsxs("div",{className:"relative bg-gradient-to-br from-white/5 to-white/[0.02] backdrop-blur-sm rounded-3xl p-12 border border-[#2DD4BF]/30 group-hover:border-[#2DD4BF]/50 transition-all duration-500",children:[h.jsx("div",{className:"inline-flex p-5 rounded-2xl bg-gradient-to-br from-[#8B5CF6] to-[#2DD4BF] mb-8 shadow-2xl group-hover:scale-110 transition-transform duration-500",children:h.jsx(J.div,{animate:{y:[0,-3,0]},transition:{duration:2,repeat:1/0,ease:"easeInOut"},children:h.jsx(By,{className:"w-12 h-12 text-white"})})}),h.jsx("h3",{className:"text-4xl font-['Montserrat'] font-black mb-6 text-white",children:"Navigate Your Future with Certainty"}),h.jsx("p",{className:"text-gray-300 font-['Inter'] text-xl leading-relaxed mb-10",children:"Stop guessing. Whether you are an employee looking to level up or a job seeker entering the market, MARi provides a clear roadmap to your next promotion or career move."}),h.jsx("div",{className:"space-y-5 mb-10",children:["Personalized career pathway mapping","Skills gap identification & closure","AI-curated learning recommendations","Clear roadmap to next role","Accelerated career progression"].map((u,d)=>h.jsxs(J.div,{className:"flex items-start gap-4",initial:{opacity:0,x:-20},animate:n?{opacity:1,x:0}:{},transition:{delay:.5+d*.1,duration:.5},children:[h.jsx("div",{className:"w-6 h-6 rounded-full bg-gradient-to-r from-[#8B5CF6] to-[#2DD4BF] flex items-center justify-center flex-shrink-0 mt-1 shadow-lg shadow-[#2DD4BF]/50",children:h.jsx("svg",{className:"w-3 h-3 text-white",f
243ill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:h.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:3,d:"M5 13l4 4L19 7"})})}),h.jsx("span",{className:"text-gray-300 font-['Inter'] text-lg",children:u})]},d))}),h.jsxs(In,{className:"w-full bg-gradient-to-r from-[#8B5CF6] to-[#2DD4BF] hover:opacity-90 text-white group/btn py-7 rounded-xl shadow-2xl shadow-[#2DD4BF]/50 text-lg font-['Montserrat'] font-bold",onClick:()=>c(!0),children:["Request Early Access to Become a Member",h.jsx(ed,{className:"ml-2 h-5 w-5 group-hover/btn:translate-x-2 transition-transform"})]})]})]})]})]})})]})]})}const BP="/assets/c018c9be2d1fc3093be8546314ff929937a71fae-BxNsbvIn.png";function zP({isOpen:e,onClose:n}){const[i,s]=k.useState(!1),[a,c]=k.useState(!1),{register:u,handleSubmit:d,control:m,reset:y,formState:{errors:g}}=Ef(),x=async v=>{s(!0),await new Promise(b=>setTimeout(b,1500)),console.log("R&D Contact Form submitted:",v),s(!1),c(!0),y(),setTimeout(()=>{c(!1),n()},2e3)};return h.jsx(bl,{children:e&&h.jsxs("div",{className:"fixed inset-0 z-50 flex items-center justify-center p-4",children:[h.jsx(J.div,{className:"absolute inset-0 bg-black/80 backdrop-blur-sm",initial:{opacity:0}
243,animate:{opacity:1},exit:{opacity:0},onClick:n}),h.jsxs(J.div,{className:"relative w-full max-w-2xl bg-gradient-to-br from-[#1a1a4e] to-[#0f0f2e] rounded-3xl border border-[#2DD4BF]/30 shadow-2xl overflow-hidden",initial:{opacity:0,scale:.9,y:20},animate:{opacity:1,scale:1,y:0},exit:{opacity:0,scale:.9,y:20},transition:{type:"spring",duration:.5},children:[h.jsxs("div",{className:"absolute inset-0 overflow-hidden",children:[h.jsx(J.div,{className:"absolute top-0 right-0 w-96 h-96 bg-[#8B5CF6] rounded-full blur-[120px] opacity-20",animate:{scale:[1,1.2,1],x:[0,30,0],y:[0,-20,0]},transition:{duration:8,repeat:1/0,ease:"easeInOut"}}),h.jsx(J.div,{className:"absolute bottom-0 left-0 w-96 h-96 bg-[#2DD4BF] rounded-full blur-[120px] opacity-20",animate:{scale:[1,1.3,1],x:[0,-30,0],y:[0,20,0]},transition:{duration:10,repeat:1/0,ease:"easeInOut"}})]}),h.jsxs("div",{className:"relative p-8 md:p-12",children:[h.jsx("button",{onClick:n,className:"absolute top-6 right-6 text-gray-400 hover:text-white transition-colors",children:h.jsx(gl,{className:"w-6 h-6"})}),a?h.jsxs(J.div,{className:"text-center py-12",initial:{opacity:0,scale:.9},animate:{opacity:1,scale:1},transition:{duration:.5},children:[h.jsx(J.div,{className:"w-20 h-20 bg-gradient-to-r from-[#8B5CF6] to-[#2DD4BF] rounded-full flex items-center justify-center mx-auto mb-6",initial:{scale:0},animate:{scale:1},transition:{type:"spring",duration:.6,delay:.2},children:h.jsx("svg",{className:"w-10 h-10 text-white",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:h.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:3,d:"M5 13l4 4L19 7"})})}),h.jsx("h3",{className:"text-3xl font-['Montserrat'] font-black mb-3 text-white",children:"Thank You!"}),h.jsx("p",{className:"text-gray-300 font-['Inter'] text-lg",children:"We'll be in touch soon to discuss collaboration opportunities."})]}):h.jsxs(h.Fragment,{children:[h.jsxs("div",{className:"mb-8",children:[h.jsx("h2",{className:"text-4xl font-['Montserrat'] font-black mb-4 text-white",children:"Collaborate on R&D"}),h.jsx("p",{className:"text-gray-300 font-['Inter'] text-lg",children:"Let's explore cutting-edge research and development opportunities together."})]}),h.jsxs("form",{onSubmit:d(x),className:"space-y-6",children:[h.jsxs("div",{className:"space-y-2",children:[h.jsx(Qn,{htmlFor:"email",className:"text-white font-['Montserrat'] text-sm font-semibold",children:"Email *"}),h.jsx(Cl,{id:"email",type:"email",placeholder:"[email protected]",className:"bg-white/5 border-[#2DD4BF]/30 text-white placeholder:text-gray-500 focus:border-[#2DD4BF] focus:ring-[#2DD4BF]/20 font-['Inter'] h-12",...u("email",{required:"Email is required",pattern:{value:/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,}$/i,message:"Invalid email address"}})}),g.email&&h.jsx("p",{className:"text-red-400 text-sm font-['Inter']",children:g.email.message})]}),h.jsxs("div",{className:"space-y-2",children:[h.jsx(Qn,{htmlFor:"interest",className:"text-white font-['Montserrat'] text-sm font-semibold",children:"I'm interested in *"}),h.jsx($i,{name:"interest",control:m,rules:{required:"Please select an area of interest"},render:({field:v})=>h.jsxs(Gi,{onValueChange:v.onChange,value:v.value,children:[h.jsx(Xi,{className:"bg-white/5 border-[#2DD4BF]/30 text-white focus:border-[#2DD4BF] focus:ring-[#2DD4BF]/20 font-['Inter'] h-12",children:h.jsx(Yi,{placeholder:"Select a project"})}),h.jsxs(qi,{className:"bg-[#1a1a4e] border-[#2DD4BF]/30 text-white",children:[h.jsx(Ke,{value:"imr",className:"focus:bg-[#2DD4BF]/20 font-['Inter']",children:"Navy Pilot Training Analysis"}),h.jsx(Ke,{value:"genai",className:"focus:bg-[#2DD4BF]/20 font-['Inter']",children:"GenAI Content Development"}),h.jsx(Ke,{value:"ar",className:"focus:bg-[#2DD4BF]/20 font-['Inter']",children:"AR-Enabled Performance Support"}),h.jsx(Ke,{value:"video",className:"focus:bg-[#2DD4BF]/20 font-['Inter']",children:"Secure Video Intelligence Repository"})]})]})}),g.interest&&h.jsx("p",{className:"text-red-400 text-sm font-['Inter']",children:g.interest.message})]}),h.jsx(In,{type:"submit",disabled:i,className:"w-full bg-gradient-to-r from-[#8B5CF6] to-[#2DD4BF] hover:opacity-90 text-white py-6 rounded-xl shadow-2xl shadow-[#2DD4BF]/50 text-lg font-['Montserrat'] font-bold mt-8 group",children:i?h.jsxs("span",{className:"flex items-center justify-center",children:[h.jsx(J.div,{className:"w-5 h-5 border-2 border-white border-t-transparent roun
243ded-full mr-2",animate:{rotate:360},transition:{duration:1,repeat:1/0,ease:"linear"}}),"Submitting..."]}):h.jsxs("span",{className:"flex items-center justify-center",children:["Submit",h.jsx(zd,{className:"ml-2 h-5 w-5 group-hover:translate-x-1 transition-transform"})]})})]})]})]})]})]})})}function WP(){const e=k.useRef(null),n=os(e,{once:!0,margin:"-100px"}),[i,s]=k.useState(!1),a=[{icon:Ub,title:"Navy Pilot Training Analysis",description:"Accelerating pilot proficiency through an Intelligent Media Repository (IMR) that streamlines post-mission analysis.",highlights:["High-speed data pinpointing","Accelerated after action reviews","Enhanced pilot training"],gradient:"from-[#5D5FEF] to-[#8B5CF6]"},{icon:lS,title:"AR-Enabled Performance Support",description:"Immersive, augmented-reality maintenance training that provides real-time guidance in the field.",highlights:["Augmented reality training","Real-time performance support","High-stakes maintenance"],gradient:"from-[#8B5CF6] to-[#2DD4BF]"},{icon:vb,title:"GenAI Content Development",description:"An AI-agent-based system that automates the creation of high-quality training content, reducing development time by weeks.",highlights:["AI-powered content creation","Autonomous training development","Weeks to hours conversion"],gradient:"from-[#2DD4BF] to-[#5D5FEF]"},{icon:oS,title:"Secure Video Intelligence Repository",description:"A peer-to-peer repository featuring content currency checks and secure chain-of-command approval workflows.",highlights:["Chain-of-command approvals","Content currency validation","Crowdsourced training feedback"],gradient:"from-[#5D5FEF] to-[#2DD4BF]"}];return h.jsxs("section",{id:"rd",className:"py-32 bg-[#0f0f2e] relative overflow-hidden",ref:e,children:[h.jsxs("div",{className:"absolute inset-0",children:[h.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-[#0f0f2e] via-[#1a1a4e] to-[#0f0f2e]"}),h.jsx("div",{className:"absolute top-0 right-0 w-2/3 h-full opacity-25",children:h.jsx("img",{src:BP,alt:"",className:"w-full h-full object-cover mix-blend-screen"})}),h.jsxs("svg",{className:"absolute bottom-0 right-0 w-1/2 h-1/2 opacity-30",viewBox:"0 0 500 500",preserveAspectRatio:"none",children:[h.jsx("defs",{children:h.jsxs("linearGradient",{id:"waveGradient",x1:"0%",y1:"0%",x2:"100%",y2:"0%",children:[h.jsx("stop",{offset:"0%",stopColor:"#8B5CF6",stopOpacity:"0.5"}),h.jsx("stop",{offset:"100%",stopColor:"#2DD4BF",stopOpacity:"0.5"})]})}),[...Array(8)].map((c,u)=>h.jsx(J.path,{d:`M ${500-u*40} ${300+u*20} Q ${400-u*40} ${250+u*20}, ${300-u*40} ${300+u*20} T ${100-u*40} ${300+u*20}`,stroke:"url(#waveGradient)",strokeWidth:"2",fill:"none",initial:{pathLength:0,opacity:0},animate:{pathLength:1,opacity:.6},transition:{duration:2,delay:u*.1,repeat:1/0,repeatType:"reverse"}},u))]}),h.jsx("div",{className:"absolute inset-0 opacity-10",children:h.jsx("div",{className:"absolute inset-0",style:{backgroundImage:"radial-gradient(circle at 2px 2px, #2DD4BF 1px, transparent 0)",backgroundSize:"40px 40px"}})}),h.jsx(J.div,{className:"absolute top-1/3 right-1/4 w-[600px] h-[600px] bg-[#5D5FEF] rounded-full blur-[150px] opacity-10",animate:{scale:[1,1.2,1],opacity:[.1,.15,.1]},transition:{duration:10,repeat:1/0,ease:"easeInOut"}})]}),h.jsx("div",{className:"container mx-auto px-6 relative z-10",children:h.jsxs("div",{className:"max-w-7xl mx-auto",children:[h.jsxs(J.div,{className:"text-center mb-20",initial:{opacity:0,y:30},animate:n?{opacity:1,y:0}:{},transition:{duration:.8},children:[h.jsx(J.div,{className:"inline-block mb-6",initial:{opacity:0,scale:.8},animate:n?{opacity:1,scale:1}:{},transition:{delay:.2,duration:.6},children:h.jsx("span",{className:"px-8 py-4 bg-gradient-to-r from-[#2DD4BF] to-[#5D5FEF] text-white rounded-full text-lg font-['Montserrat'] font-bold tracking-wide shadow-2xl shadow-[#2DD4BF]/50 animate-pulse",children:"Innovation Lab"})}),h.jsxs("h2",{className:"text-5xl md:text-6xl lg:text-7xl font-['Montserrat'] font-black mb-8 text-white",children:["Pushing the Boundaries of"," ",h.jsxs("span",{className:"relative inline-block",children:[h.jsx("span",{className:"absolute inset-0 blur-3xl bg-gradient-to-r from-[#2DD4BF] via-[#8B5CF6] to-[#5D5FEF] opacity-40"}),h.jsx("span",{className:"relative bg-gradient-to-r from-[#2DD4BF] via-[#8B5CF6] to-[#5D5FEF] bg-clip-text text-transparent",children:"Human Performance"})]})]}),h.jsx("p",{className:"text-2xl text-gray-300 font-['Inter'] max-w-4xl mx-auto leading-relaxed",children:"Beyond our core platform, MARi is leading high-impact R&D initiatives to solve the most complex training and readiness challenges."})]}),h.jsx("div",{className:"grid md:grid-cols-2 gap-8",children:a.map((c,u)=>{const d=c.icon;return h.jsxs(J.div,{className:"group relative",initial:{opacity:0,y:50},animate:n?{opacity:1,y:0}:{},transition:{delay:.3+u*.1,duration:.8},whileHover:{scale:1.02},children:[h.jsx("div",{className:`absolute inset-0 bg-gradient-to-br ${c.gradient} opacity-0 group-hover:opacity-20 blur-2xl transition-opacity duration-500`}),h.jsxs("div",{className:"relative bg-gradient-to-br from-white/5 to-white/[0.02] backdrop-blur-sm rounded-3xl p-10 border border-[#2DD4BF]/20 group-hover:border-[#2DD4BF]/50 transition-all duration-500 h-full overflow-hidden",children:[h.jsxs("div",{className:"relative z-10",children:[h.jsx("div",{className:"mb-8",children:h.jsx("div",{className:`inline-flex p-5 rounded-2xl bg-gradient-to-br ${c.gradient} shadow-2xl group-hover:scale-110 transition-transform duration-500`,children:h.jsx(J.div,{animate:{y:[0,-3,0]},transition:{duration:2,repeat:1/0,ease:"easeInOut"},children:h.jsx(d,{className:"w-10 h-10 text-white"})})})}),h.jsx("h3",{className:"text-3xl font-['Montserrat'] font-black text-white mb-6",children:c.title}),h.jsx("p",{className:"text-gray-300 font-['Inter'] leading-relaxed mb-8 text-lg",children:c.description}),h.jsx("div",{className:"space-y-3",children:c.highlights.map((m,y)=>h.jsxs(J.div,{className:"flex items-center gap-3",initial:{opacity:0,x:-20},animate:n?{opacity:1,x:0}:{}
243,transition:{delay:.5+u*.1+y*.1,duration:.5},children:[h.jsx("div",{className:`w-2 h-2 rounded-full bg-gradient-to-r ${c.gradient} shadow-lg`}),h.jsx("span",{className:"text-sm text-gray-400 font-['Inter']",children:m})]},y))})]}),h.jsx("div",{className:`absolute top-0 right-0 w-40 h-40 bg-gradient-to-br ${c.gradient} opacity-5 blur-3xl rounded-full transform translate-x-20 -translate-y-20 group-hover:opacity-20 transition-opacity duration-500`})]})]},u)})}),h.jsx(J.div,{className:"mt-20 text-center",initial:{opacity:0,y:20},animate:n?{opacity:1,y:0}:{},transition:{delay:.8,duration:.8},children:h.jsxs("p",{className:"text-xl text-gray-300 font-['Inter']",children:["Interested in collaborating on cutting-edge R&D?"," ",h.jsx("button",{onClick:()=>s(!0),className:"text-[#2DD4BF] hover:underline font-semibold transition-colors",children:"Get in touch"})]})})]})}),h.jsx(zP,{isOpen:i,onClose:()=>s(!1)})]})}const UP="/assets/110aeefc8ecc8d8cd71ab9ed27d887f87893e061-CAiYnzUo.png";function $P(){const e=k.useRef(null),n=os(e,{once:!0,margin:"-100px"}),i=[{icon:Pm,title:"CMMC Level 2",description:"Meets strict federal requirements for sensitive data security."},{icon:Db,title:"Data Agnostic",description:"Fully compliant with xAPI and SCORM standards for seamless integration."},{icon:Ob,title:"Privacy First",description:"Advanced encryption and secure role-based SSO (CAC/PIV logins)."},{icon:Mb,title:"Scalable Architecture",description:"Designed for global, enterprise-wide implementation."}];return h.jsxs("section",{id:"trust",className:"py-32 bg-[#0f0f2e] relative overflow-hidden",ref:e,children:[h.jsxs("div",{className:"absolute inset-0",children:[h.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-[#0f0f2e] via-[#1a1a4e] to-[#0f0f2e]"}),h.jsx("div",{className:"absolute inset-0 bg-[radial-gradient(ellipse_at_30%_50%,rgba(93,95,239,0.15),transparent_60%)]"}),h.jsx(J.div,{className:"absolute top-1/3 left-1/4 w-96 h-96 bg-[#5D5FEF] rounded-full blur-[120px] opacity-10",animate:{scale:[1,1.2,1],opacity:[.1,.15,.1]},transition:{duration:8,repeat:1/0,ease:"easeInOut"}})]}),h.jsx("div",{className:"container mx-auto px-6 relative z-10",children:h.jsxs("div",{className:"max-w-7xl mx-auto",children:[h.jsxs(J.div,{className:"text-center mb-20",initial:{opacity:0,y:30},animate:n?{opacity:1,y:0}:{},transition:{duration:.8},children:[h.jsx(J.div,{className:"inline-flex items-center justify-center mb-10",initial:{opacity:0,scale:.8},animate:n?{opacity:1,scale:1}:{},transition:{delay:.2,duration:.6},children:h.jsxs("div",{className:"relative",children:[h.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-[#5D5FEF] to-[#2DD4BF] blur-3xl opacity-30 rounded-full"}),h.jsx("div",{className:"relative bg-gradient-to-br from-white/10 to-white/5 backdrop-blur-sm rounded-3xl p-8 border-2 border-[#5D5FEF]/30 shadow-2xl",children:h.jsx(Pm,{className:"w-20 h-20 text-[#5D5FEF]"})})]})}),h.jsxs("h2",{className:"text-5xl md:text-6xl lg:text-7xl font-['Montserrat'] font-black mb-8 text-white",children:[h.jsxs("span",{className:"relative inline-block",children:[h.jsx("span",{className:"absolute inset-0 blur-3xl bg-gradient-to-r from-[#5D5FEF] via-[#8B5CF6] to-[#2DD4BF] opacity-40"}),h.jsx("span",{className:"relative bg-gradient-to-r from-[#5D5FEF] via-[#8B5CF6] to-[#2DD4BF] bg-clip-text text-transparent",children:"Validated Security."})]})," ",h.jsx("span",{className:"text-white",children:"Absolute Privacy."})]}),h.jsx("p",{className:"text-2xl text-gray-300 font-['Inter'] max-w-4xl mx-auto leading-relaxed",children:"MARi is built on a foundation of trust. We meet the rigorous standards required for government and enterprise-level deployments."})]}),h.jsx(J.div,{className:"mb-20 flex justify-center",initial:{opacity:0,y:30},animate:n?{opacity:1,y:0}:{},transition:{delay:.4,duration:.8},children:h.jsxs("div",{className:"relative group",children:[h.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-[#5D5FEF] to-[#2DD4BF] blur-2xl opacity-20 rounded-3xl"}),h.jsx("div",{className:"relative bg-gradient-to-br from-white/10 to-white/5 backdrop-blur-xl rounded-3xl p-16 border-2 border-[#5D5FEF]/30 group-hover:border-[#5D5FEF]/50 transition-all duration-500",children:h.jsxs("div",{className:"text-center space-y-6",children:[h.jsx("div",{className:"inline-flex flex-col items-center gap-4",children:h.jsx("img",{src:UP,alt:"FedRAMP Logo",className:"w-48 h-auto"})}),h.jsx("p",{className:"text-gray-300 font-['Inter'] text-lg",children:"Authorized to Operate (ATO) for federal government agencies"})]})})]})}),h.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-4 gap-8 mb-20",children:i.map((s,a)=>{const c=s.icon;return h.jsx(J.div,{className:"group relative",initial:{opacity:0,y:50},animate:n?{opacity:1,y:0}:{},transition:{delay:.5+a*.1,duration:.8},whileHover:{y:-5},children:h.jsxs("div",{className:"relative bg-gradient-to-br from-white/5 to-white/[0.02] backdrop-blur-sm rounded-2xl p-8 border border-white/10 group-hover:border-[#5D5FEF]/30 transition-all duration-500 h-full",children:[h.jsx("div",{className:"mb-6",children:h.jsx("div",{className:"inline-flex p-4 rounded-xl bg-gradient-to-br from-[#5D5FEF]/20 to-[#2DD4BF]/20 group-hover:from-[#5D5FEF]/30 group-hover:to-[#2DD4BF]/30 transition-colors duration-300",children:h.jsx(c,{className:"w-8 h-8 text-[#5D5FEF]"})})}),h.jsx("h3",{className:"font-['Montserrat'] font-bold text-xl mb-3 text-white",children:s.title}),h.jsx("p",{className:"text-gray-400 font-['Inter'] leading-relaxed",children:s.description})]})},a)})}),h.jsx(J.div,{className:"bg-gradient-to-br from-white/5 to-white/[0.02] backdrop-blur-sm rounded-3xl p-12 border border-white/10",initial:{opacity:0,scale:.95},animate:n?{opacity:1,scale:1}:{},transition:{delay:.8,duration:.8},children:h.jsxs("div",{className:"grid md:grid-cols-3 gap-12 text-center",children:[h.jsxs("div",{children:[h.jsx("div",{className:"text-5xl md:text-6xl font-['Montserrat'] font-black bg-gradient-to-r from-[#5D5FEF] to-[#8B5CF6] bg-clip-text text-transparent mb-3",children:"FIPS 140-2"}),h.jsx("div",{className:"text-gray-300 font-['Inter'] text-lg",children:"Validated"})]}),h.jsxs("div",{children:[h.jsx("div",{className:"text-5xl md:text-6xl font-['Montserrat'] font-black bg-gradient-to-r from-[#8B5CF6] to-[#2DD4BF] bg-clip-text text-transparent mb-3",children:"100%"}),h.jsx("div",{className:"text-gray-300 font-['Inter'] text-lg",children:"Section 508 Compliant"})]}),h.jsxs("div",{children:[h.jsx("div",{className:"text-5xl md:text-6xl font-['Montserrat'] font-black bg-gradient-to-r from-[#2DD4BF] to-[#5D5FEF] bg-clip-text text-transparent mb-3",children:"24/7"}),h.jsx("div",{className:"text-gray-300 font-['Inter'] text-lg",children:"Security Monitoring"})]})]})}),h.jsx(J.div,{className:"mt-16 text-center",initial:{opacity:0}
243,animate:n?{opacity:1}:{},transition:{delay:1,duration:.8},children:h.jsx("p",{className:"text-gray-300 font-['Inter'] text-xl max-w-5xl mx-auto leading-relaxed",children:"We are guardians of personalized data. We build and protect safe spaces for the deep sharing and self-assessments required for lifelong growth. Your data security and privacy are our highest priorities."})})]})})]})}function HP(){const e=k.useRef(null),n=os(e,{once:!0,margin:"-100px"}),i=[{icon:Yb,title:"Safe Spaces",description:"We are guardians of personalized data. We build and protect safe spaces for the deep sharing and self-assessments required for lifelong growth.",gradient:"from-[#5D5FEF] to-[#8B5CF6]"},{icon:iS,title:"Connected Communities",description:"We foster a generous community. We create deep insights into our community members' collective wisdom so they can enrich one another's lives.",gradient:"from-[#8B5CF6] to-[#2DD4BF]"},{icon:tS,title:"Outsized Impact",description:"We make outsized contributions to humanity. We act with boldness and urgency to make giant leaps forward.",gradient:"from-[#2DD4BF] to-[#5D5FEF]"},{icon:By,title:"Maximize Individual Contribution",description:"We believe each person has a unique contribution to make to the world. We enable people to step into their greatness, faster than ever before.",gradient:"from-[#5D5FEF] to-[#2DD4BF]"},{icon:Tb,title:"Scientific Rigor",description:"We promote and develop best practices based in science. We demand intellectual honesty, recognize and fix errors, and build transparent systems.",gradient:"from-[#8B5CF6] to-[#5D5FEF]"},{icon:Ib,title:"Lifelong Exploration & Discovery",description:"We champion lifelong exploration, discovery, and contribution. We believe that we are at our best when we continuously strive to be both student and teacher.",gradient:"from-[#2DD4BF] to-[#8B5CF6]"}];return h.jsxs("section",{id:"mission",className:"py-32 bg-gradient-to-b from-[#0f0f2e] via-[#1a1a4e] to-[#0f0f2e] relative overflow-hidden",ref:e,children:[h.jsxs("div",{className:"absolute inset-0",children:[h.jsx("div",{className:"absolute inset-0 bg-[radial-gradient(ellipse_at_50%_40%,rgba(139,92,246,0.15),transparent_60%)]"}),h.jsxs("svg",{className:"absolute bottom-0 left-0 w-full h-1/3 opacity-20",viewBox:"0 0 1000 300",preserveAspectRatio:"none",children:[h.jsx("defs",{children:h.jsxs("linearGradient",{id:"missionWaveGrad",x1:"0%",y1:"0%",x2:"100%",y2:"0%",children:[h.jsx("stop",{offset:"0%",stopColor:"#5D5FEF",stopOpacity:"0.4"}),h.jsx("stop",{offset:"50%",stopColor:"#8B5CF6",stopOpacity:"0.4"}),h.jsx("stop",{offset:"100%",stopColor:"#2DD4BF",stopOpacity:"0.4"})]})}),[...Array(6)].map((s,a)=>h.jsx(J.path,{d:`M 0 ${150+a*10} Q 250 ${120+a*10}, 500 ${150+a*10} T 1000 ${150+a*10}`,stroke:"url(#missionWaveGrad)",strokeWidth:"2",fill:"none",initial:{pathLength:0,opacity:0},animate:{pathLength:1,opacity:.5},transition:{duration:2,delay:a*.1,repeat:1/0,repeatType:"reverse"}},a))]})]}),h.jsx("div",{className:"container mx-auto px-6 relative z-10",children:h.jsxs("div",{className:"max-w-7xl mx-auto",children:[h.jsx(J.div,{className:"text-center mb-20",initial:{opacity:0,y:30},animate:n?{opacity:1,y:0}:{},transition:{duration:.8},children:h.jsxs("h2",{className:"text-5xl md:text-6xl lg:text-7xl font-['Montserrat'] font-black mb-12 text-white",children:["Our"," ",h.jsxs("span",{className:"relative inline-block",children:[h.jsx("span",{className:"absolute inset-0 blur-3xl bg-gradient-to-r from-[#5D5FEF] via-[#8B5CF6] to-[#2DD4BF] opacity-40"}),h.jsx("span",{className:"relative bg-gradient-to-r from-[#5D5FEF] via-[#8B5CF6] to-[#2DD4BF] bg-clip-text text-transparent",children:"Mission & Vision"})]})]})}),h.jsxs("div",{className:"grid md:grid-cols-2 gap-8 mb-24",children:[h.jsxs(J.div,{className:"relative group",initial:{opacity:0,x:-50},animate:n?{opacity:1,x:0}:{},transition:{delay:.3,duration:.8},whileHover:{scale:1.02},children:[h.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-[#5D5FEF]/20 to-[#8B5CF6]/20 rounded-3xl blur-2xl opacity-0 group-hover:opacity-100 transition-opacity duration-500"}),h.jsxs("div",{className:"relative bg-gradient-to-br from-white/5 to-white/[0.02] backdrop-blur-sm rounded-3xl p-10 border border-[#5D5FEF]/30 group-hover:border-[#5D5FEF]/50 transition-all duration-500",children:[h.jsxs("div",{className:"inline-flex items-center gap-4 mb-6",children:[h.jsx("div",{className:"w-14 h-14 bg-gradient-to-br from-[#5D5FEF] to-[#8B5CF6] rounded-xl flex items-center justify-center shadow-lg",children:h.jsx(Hb,{className:"w-7 h-7 text-white"})}),h.jsx("h3",{className:"text-3xl font-['Montserrat'] font-black text-white",children:"Mission"})]}),h.jsx("p",{className:"text-xl text-gray-300 font-['Inter'] leading-relaxed",children:"MARi creates technology-enabled insights, pathways, and action steps that drive individual achievement, organizational performance, and economic prosperity."})]})]}),h.jsxs(J.div,{className:"relative group",initial:{opacity:0,x:50},animate:n?{opacity:1,x:0}:{},transition:{delay:.3,duration:.8},whileHover:{scale:1.02},children:[h.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-[#8B5CF6]/20 to-[#2DD4BF]/20 rounded-3xl blur-2xl opacity-0 group-hover:opacity-100 transition-opacity duration-500"}),h.jsxs("div",{className:"relative bg-gradient-to-br from-white/5 to-white/[0.02] backdrop-blur-sm rounded-3xl p-10 border border-[#2DD4BF]/30 group-hover:border-[#2DD4BF]/50 transition-all duration-500",children:[h.jsxs("div",{className:"inline-flex items-center gap-4 mb-6",children:[h.jsx("div",{className:"w-14 h-14 bg-gradient-to-br from-[#8B5CF6] to-[#2DD4BF] rounded-xl flex items-center justify-center shadow-lg",children:h.jsx(Fb,{className:"w-7 h-7 text-white"})}),h.jsx("h3",{className:"text-3xl font-['Montserrat'] font-black text-white",children:"Vision"})]}),h.jsx("p",{className:"text-xl text-gray-300 font-['Inter'] leading-relaxed",children:"A world
243where every individual has the power to fully see and realize their full potential."})]})]})]}),h.jsxs(J.div,{className:"text-center mb-16",initial:{opacity:0,y:20},animate:n?{opacity:1,y:0}:{},transition:{delay:.5,duration:.8},children:[h.jsx("h3",{className:"text-4xl md:text-5xl font-['Montserrat'] font-black mb-4 text-white",children:"Core Values"}),h.jsx("p",{className:"text-xl text-gray-300 font-['Inter'] max-w-3xl mx-auto",children:"These principles guide everything we do at MARi"})]}),h.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6",children:i.map((s,a)=>{const c=s.icon;return h.jsx(J.div,{className:"group relative",initial:{opacity:0,y:50},animate:n?{opacity:1,y:0}:{},transition:{delay:.6+a*.1,duration:.8},whileHover:{y:-5},children:h.jsxs("div",{className:"relative bg-gradient-to-br from-white/5 to-white/[0.02] backdrop-blur-sm rounded-2xl p-8 border border-white/10 group-hover:border-[#5D5FEF]/30 transition-all duration-500 h-full",children:[h.jsx(J.div,{className:"mb-6",children:h.jsx("div",{className:`inline-flex p-3 rounded-xl bg-gradient-to-br ${s.gradient} shadow-lg group-hover:scale-110 transition-transform duration-500`,children:h.jsx(J.div,{animate:{y:[0,-3,0]},transition:{duration:2,repeat:1/0,ease:"easeInOut"},children:h.jsx(c,{className:"w-6 h-6 text-white"})})})}),h.jsx("h4",{className:"text-xl font-['Montserrat'] font-bold mb-4 text-white",children:s.title}),h.jsx("p",{className:"text-gray-400 font-['Inter'] leading-relaxed",children:s.description}),h.jsx("div",{className:`mt-6 w-12 h-1 bg-gradient-to-r ${s.gradient} rounded-full`})]})},a)})})]})})]})}const KP="/assets/0a38e3481c3ef4e77f4a2e3fb9b244a6fa6ee4f1-DTzVu3Yb.png",GP="/assets/1a1624ef6cdb19e4d6d311fc6b1f1384738eecb6-CHWIGOd5.png",YP="/assets/1194e204ff0d751897d1881c15ccb0019f241183-CuW3p3gF.png",XP="/assets/0c1e746187b1a6147535143a886c945dd8455574-3gyB6Lf-.png",qP="/assets/1ded4e36a423c78a19f74cb2119c9038345d7809-Dt73rbpx.png",QP="/assets/cca93ec91e2b5f5623b861da855234bcb9048ad9-Dh3shejT.png",ZP="/assets/c63cb7d3db3b2d4644d8f15d7bb73051dc63c490-BeVDWGpU.png",JP="/assets/6287f9437ed8b1c88504214903418d4399959880-KY-b-KqA.png";function eT(){const e=k.useRef(null),n=os(e,{once:!0,margin:"-100px"}),i=[{name:"Carnegie Mellon University",logo:GP},{name:"Virginia Tech",logo:YP},{name:"George Mason University",logo:XP}],s=[{name:"Google Cloud",logo:qP},{name:"Boeing",logo:QP},{name:"Terrestris Global Solutions",logo:ZP},{name:"Avatar Partners",logo:JP}];return h.jsxs("section",{id:"team",className:"py-32 bg-[#0f0f2e] relative overflow-hidden",ref:e,children:[h.jsxs("div",{className:"absolute inset-0",children:[h.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-[#0f0f2e] via-[#1a1a4e] to-[#0f0f2e]"}),h.jsx("div",{className:"absolute inset-0 bg-[radial-gradient(ellipse_at_50%_30%,rgba(139,92,246,0.12),transparent_60%)]"}),h.jsx(J.div,{className:"absolute top-1/4 left-1/2 w-96 h-96 bg-[#8B5CF6] rounded-full blur-[120px] opacity-10",animate:{scale:[1,1.3,1],x:[-50,50,-50]},transition:{duration:15,repeat:1/0,ease:"easeInOut"}})]}),h.jsx("div",{className:"container mx-auto px-6 relative z-10",children:h.jsxs("div",{className:"max-w-7xl mx-auto",children:[h.jsxs(J.div,{className:"mb-32",initial:{opacity:0,y:30},animate:n?{opacity:1,y:0}:{},transition:{duration:.8},children:[h.jsxs("div",{className:"text-center mb-16",children:[h.jsxs("h2",{className:"text-5xl md:text-6xl font-['Montserrat'] font-black mb-6 text-white",children:["The"," ",h.jsxs("span",{className:"relative inline-block",children:[h.jsx("span",{className:"absolute inset-0 blur-3xl bg-gradient-to-r from-[#5D5FEF] via-[#8B5CF6] to-[#2DD4BF] opacity-40"}),h.jsx("span",{className:"relative bg-gradient-to-r from-[#5D5FEF] via-[#8B5CF6] to-[#2DD4BF] bg-clip-text text-transparent",children:"MARi Team"})]})]}),h.jsx("p",{className:"text-xl text-gray-300 font-['Inter'] max-w-3xl mx-auto leading-relaxed",children:"Join a dedicated team of innovators, researchers, and technologists committed to transforming human potential."})]}),h.jsx(J.div,{className:"max-w-3xl mx-auto bg-gradient-to-br from-white/5 to-white/[0.02] backdrop-blur-sm rounded-3xl p-12 border border-white/10",initial:{opacity:0,scale:.95},animate:n?{opacity:1,scale:1}:{},transition:{delay:.3,duration:.8},children:h.jsxs("div",{className:"text-center",children:[h.jsx("h3",{className:"text-3xl font-['Montserrat'] font-black mb-6 text-white",children:"Want to learn more about our team?"}),h.jsxs("p",{className:"text-lg text-gray-300 font-['Inter']",children:["Connect with us on"," ",h.jsx("a",{href:"https://www.linkedin.com/company/3105518/admin/dashboard/",target:"_blank",rel:"noopener noreferrer",className:"text-[#2DD4BF] hover:text-[#5D5FEF] transition-colors font-semibold underline decoration-[#2DD4BF]/30 hover:decoration-[#5D5FEF]/50",children:"LinkedIn"})," ","to learn more about our team and discuss career opportunities."]})]})})]}),h.jsxs(J.div,{id:"partners",className:"relative",initial:{opacity:0,y:30},animate:n?{opacity:1,y:0}:{},transition:{delay:.4,duration:.8},children:[h.jsx("div",{className:"absolute inset-0 pointer-events-none",children:h.jsx("div",{className:"absolute inset-0 opacity-30",children:h.jsx("img",{src:KP,alt:"",className:"w-full h-full object-cover mix-blend-screen"})})}),h.jsxs("div",{className:"text-center mb-16 relative z-10",children:[h.jsx("h2",{className:"text-5xl md:text-6xl font-['Montserrat'] font-black mb-6 text-white",children:h.jsxs("span",{className:"relative inline-block",children:[h.jsx("span",{className:"absolute inset-0 blur-3xl bg-gradient-to-r from-[#5D5FEF] via-[#8B5CF6] to-[#2DD4BF] opacity-40"}),h.jsx("span",{className:"relative bg-gradient-to-r from-[#5D5FEF] via-[#8B5CF6] to-[#2DD4BF] bg-clip-text text-transparent",children:"Collaborative Innovation"})]})}),h.jsx("p",{className:"text-xl text-gray-300 font-['Inter'] max-w-3xl mx-auto leading-relaxed",children:"We partner with leading research institutions to ground our AI models in the latest cognitive science and human performance data, while collaborating with industry leaders to test and apply this research in real-world applications."})]}),h.jsxs("div",{className:"space-y-6 mb-16",children:[h.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6 max-w-4xl mx-auto",children:i.map((a,c)=>h.jsx(J.div,{className:"group flex flex-col items-center justify-center p-8 bg-white backdrop-blur-sm rounded-xl border border-white/20 hover:border-[#5D5FEF]/50 hover:shadow-lg hover:shadow-[#5D5FEF]/20 transition-all duration-500 min-h-[140px]",initial:{opacity:0,scale:.8},animate:n?{opacity:1,scale:1}:{},transition:{delay:.5+c*.1,duration:.5},whileHover:{scale:1.05},children:h.jsx("img",{src:a.logo,alt:a.name,className:"w-full h-auto max-h-20 object-contain transition-all duration-500"})},c))}),h.jsx("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-6 max-w-5xl mx-auto",children:s.map((a,c)=>h.jsx(J.div,{className:"group flex flex-col items-center justify-center p-8 bg-white backdrop-blur-sm rounded-xl border border-white/20 hover:border-[#5D5FEF]/50 hover:shadow-lg hover:shadow-[#5D5FEF]/20 transition-all duration-500 min-h-[140px]",initial:{opacity:0,scale:.8},animate:n?{opacity:1,scale:1}:{},transition:{delay:.8+c*.1,duration:.5},whileHover:{scale:1.05},children:h.jsx("img",{src:a.logo,alt:a.name,className:"w-full h-auto max-h-20 object-contain transition-all duration-500"})},c+i.length))})]}),h.jsxs("div",{className:"mt-20",children:[h.jsx("h3",{className:"text-3xl font-['Montserrat'] font-black text-white text-center mb-10",children:"Research Focus Areas"}),h.jsx("div",{className:"grid md:grid-cols-4 gap-6",children:["Cognitive Science","AI & Machine Learning","Human Performance","Career Development"].map((a,c)=>h.jsxs(J.div,{className:"text-center p-8 bg-gradient-to-br from-white/5 to-white/[0.02] backdrop-blur-sm rounded-xl border border-white/10 hover:border-[#5D5FEF]/30 transition-all duration-500",initial:{opacity:0,y:20},animate:n?{opacity:1,y:0}:{},transition:{delay:.8+c*.1,duration:.5},whileHover:{y:-5},children:[h.jsx("div",{className:"w-3 h-3 bg-gradient-to-r from-[#5D5FEF] to-[#2DD4BF] rounded-full mx-auto mb-4 shadow-lg shadow-[#5D5FEF]/50"}),h.jsx("p",{className:"font-['Inter'] font-medium text-white text-lg",children:a})]},c))})]})]})]})})]})}const tT="/assets/48c6f61cf16c807973e0facc431bda228deb721d-C_2acwKt.png";function nT(){const e=new Date().getFullYear();return h.jsx("footer",{className:"bg-[#0f0f2e] text-white py-20 border-t border-white/10",children:h.jsx("div",{className:"container mx-auto px-6",children:h.jsxs("div",{className:"max-w-7xl mx-auto",children:[h.jsxs("div",{className:"grid md:grid-cols-4 gap-12 mb-16",children:[h.jsxs("div",{className:"md:col-span-1",children:[h.jsx("div",{className:"mb-6",children:h.jsx("img",{src:tT,alt:"MARi Logo",className:"w-40 h-40"})}),h.jsx("p",{className:"text-gray-400 font-['Inter'] text-lg leading-relaxed",children:"The direct path to peak potential."})]}),h.jsxs("div",{children:[h.jsx("h4",{className:"font-['Montserrat'] font-bold text-xl mb-6 text-white",children:"Platform"}),h.jsxs("ul",{className:"space-y-3 font-['Inter']",children:[h.jsx("li",{children:h.jsx("a",{href:"#platform",className:"text-gray-400 hover:text-[#2DD4BF] transition-colors text-lg",children:"Match-Gap-Recommend"})}),h.jsx("li",{children:h.jsx("a",{href:"#audiences",className:"text-gray-400 hover:text-[#2DD4BF] transition-colors text-lg",children:"For Organizations"})}),h.jsx("li",{children:h.jsx("a",{href:"#audiences",className:"text-gray-400 hover:text-[#2DD4BF] transition-colors text-lg",children:"For Individuals"})}),h.jsx("li",{children:h.jsx("a",{href:"#trust",className:"text-gray-400 hover:text-[#2DD4BF] transition-colors text-lg",children:"Security & Compliance"})})]})]}),h.jsxs("div",{children:[h.jsx("h4",{className:"font-['Montserrat'] font-bold text-xl mb-6 text-white",children:"Company"}),h.jsxs("ul",{className:"space-y-3 font-['Inter']",children:[h.jsx("li",{children:h.jsx("a",{href:"#mission",className:"text-gray-400 hover:text-[#2DD4BF] transition-colors text-lg",children:"Mission & Values"})}),h.jsx("li",{children:h.jsx("a",{href:"#team",className:"text-gray-400 hover:text-[#2DD4BF] transition-colors text-lg",children:"Team"})}),h.jsx("li",{children:h.jsx("a",{href:"#rd",className:"text-gray-400 hover:text-[#2DD4BF] transition-colors text-lg",children:"R&D Projects"})}),h.jsx("li",{children:h.jsx("a",{href:"#partners",className:"text-gray-400 hover:text-[#2DD4BF] transition-colors text-lg",children:"Research Partners"})})]})]}),h.jsxs("div",{children:[h.jsx("h4",{className:"font-['Montserrat'] font-bold text-xl mb-6 text-white",children:"Contact"}),h.jsxs("div",{className:"space-y-4 font-['Inter'] text-gray-400 text-lg",children:[h.jsx("p",{children:h.jsx("a",{href:"mailto:[email protected]",className:"hover:text-[#2DD4BF] transition-colors",children:"[email protected]"})}),h.jsx("p",{children:h.jsx("a",{href:"https://mari.com",target:"_blank",rel:"noopener noreferrer",className:"hover:text-[#2DD4BF] transition-colors",children:"mari.com"})})]})]})]}),h.jsx("div",{className:"pt-10 border-t border-white/10",children:h.jsxs("div",{className:"flex flex-col md:flex-row justify-between items-center gap-6",children:[h.jsxs("p",{className:"text-gray-400 font-['Inter'] text-lg",children:["© ",e," MARi, LLC | All Rights Reserved."]}),h.jsx("div",{className:"flex gap-8 font-['Inter']",children:h.jsx("a",{href:"https://marketplace.fedramp.gov/products/FR2226144516",target:"_blank",rel:"noopener noreferrer",className:"text-gray-400 hover:text-[#2DD4BF] transition-colors text-lg",children:"FedRAMP Documentation"})})]})})]})})})}function rT(){return h.jsxs("div",{className:"min-h-screen bg-[#0f0f2e] font-['Inter']",children:[h.jsx(QN,{}),h.jsx(JN,{}),h.jsx(tD,{}),h.jsx(OP,{}),h.jsx(WP,{}),h.jsx($P,{}),h.jsx(HP,{}),h.jsx(eT,{}),h.jsx(nT,{})]})}ub.createRoot(document.getElementById("root")).render(h.jsx(rT,{}));
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.