vendor: 5,091 bytes, line 1
1var Y1=Object.create;var xc=Object.defineProperty;var Z1=Object.getOwnPropertyDescriptor;var Q1=Object.getOwnPropertyNames;var J1=Object.getPrototypeOf,eb=Object.prototype.hasOwnProperty;var tb=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,a)=>(typeof require<"u"?require:t)[a]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var Ia=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),ab=(e,t)=>{for(var a in t)xc(e,a,{get:t[a],enumerable:!0})},rb=(e,t,a,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Q1(t))!eb.call(e,o)&&o!==a&&xc(e,o,{get:()=>t[o],enumerable:!(r=Z1(t,o))||r.enumerable});return e};var N=(e,t,a)=>(a=e!=null?Y1(J1(e)):{},rb(t||!e||!e.__esModule?xc(a,"default",{value:e,enumerable:!0}):a,e));var ch=Ia(J=>{"use strict";var xi=Symbol.for("react.element"),ob=Symbol.for("react.portal"),nb=Symbol.for("react.fragment"),ib=Symbol.for("react.strict_mode"),sb=Symbol.for("react.profiler"),lb=Symbol.for("react.provider"),db=Symbol.for("react.context"),ub=Symbol.for("react.forward_ref"),cb=Symbol.for("react.suspense"),fb=Symbol.for("react.memo"),pb=Symbol.for("react.lazy"),eh=Symbol.iterator;function mb(e){return e===null||typeof e!="object"?null:(e=eh&&e[eh]||e["@@iterator"],typeof e=="function"?e:null)}var rh={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},oh=Object.assign,nh={};function Qo(e,t,a){this.props=e,this.context=t,this.refs=nh,this.updater=a||rh}Qo.prototype.isReactComponent={};Qo.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Qo.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function ih(){}ih.prototype=Qo.prototype;function wc(e,t,a){this.props=e,this.context=t,this.refs=nh,this.updater=a||rh}var yc=wc.prototype=new ih;yc.constructor=wc;oh(yc,Qo.prototype);yc.isPureReactComponent=!0;var th=Array.isArray,sh=Object.prototype.hasOwnProperty,bc={current:null},lh={key:!0,ref:!0,__self:!0,__source:!0};function dh(e,t,a){var r,o={},n=null,i=null;if(t!=null)for(r in t.ref!==void 0&&(i=t.ref),t.key!==void 0&&(n=""+t.key),t)sh.call(t,r)&&!lh.hasOwnProperty(r)&&(o[r]=t[r]);var s=arguments.length-2;if(s===1)o.children=a;else if(1<s){for(var l=Array(s),d=0;d<s;d++)l[d]=arguments[d+2];o.children=l}if(e&&e.defaultProps)for(r in s=e.defaultProps,s)o[r]===void 0&&(o[r]=s[r]);return{$$typeof:xi,type:e,key:n,ref:i,props:o,_owner:bc.current}}function hb(e,t){return{$$typeof:xi,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Cc(e){return typeof e=="object"&&e!==null&&e.$$typeof===xi}function gb(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(a){return t[a]})}var ah=/\/+/g;function vc(e,t){return typeof e=="object"&&e!==null&&e.key!=null?gb(""+e.key):t.toString(36)}function Cl(e,t,a,r,o){var n=typeof e;(n==="undefined"||n==="boolean")&&(e=null);var i=!1;if(e===null)i=!0;else switch(n){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case xi:case ob:i=!0}}if(i)return i=e,o=o(i),e=r===""?"."+vc(i,0):r,th(o)?(a="",e!=null&&(a=e.replace(ah,"$&/")+"/"),Cl(o,t,a,"",function(d){return d})):o!=null&&(Cc(o)&&(o=hb(o,a+(!o.key||i&&i.key===o.key?"":(""+o.key).replace(ah,"$&/")+"/")+e)),t.push(o)),1;if(i=0,r=r===""?".":r+":",th(e))for(var s=0;s<e.length;s++){n=e[s];var l=r+vc(n,s);i+=Cl(n,t,a,l,o)}else if(l=mb(e),typeof l=="function")for(e=l.call(e),s=0;!(n=e.next()).done;)n=n.value,l=r+vc(n,s++),i+=Cl(n,t,a,l,o);else if(n==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return i}function bl(e,t,a){if(e==null)return e;var r=[],o=0;return Cl(e,r,"","",function(n){return t.call(a,n,o++)}),r}function xb(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(a){(e._status===0||e._status===-1)&&(e._status=1,e._result=a)},function(a){(e._status===0||e._status===-1)&&(e._status=2,e._result=a)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var nt={current:null},Ll={transition:null},vb={ReactCurrentDispatcher:nt,ReactCurrentBatchConfig:Ll,ReactCurrentOwner:bc};function uh(){throw Error("act(...) is not supported in production builds of React.")}J.Children={map:bl,forEach:function(e,t,a){bl(e,function(){t.apply(this,arguments)},a)},count:function(e){var t=0;return bl(e,function(){t++}),t},toArray:function(e){return bl(e,function(t){return t})||[]},only:function(e){if(!Cc(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};J.Component=Qo;J.Fragment=nb;J.Profiler=sb;J.PureComponent=wc;J.StrictMode=ib;J.Suspense=cb;
vendor: 7,491 bytes, line 1
1J.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=vb;J.act=uh;J.cloneElement=function(e,t,a){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=oh({},e.props),o=e.key,n=e.ref,i=e._owner;if(t!=null){if(t.ref!==void 0&&(n=t.ref,i=bc.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(l in t)sh.call(t,l)&&!lh.hasOwnProperty(l)&&(r[l]=t[l]===void 0&&s!==void 0?s[l]:t[l])}var l=arguments.length-2;if(l===1)r.children=a;else if(1<l){s=Array(l);for(var d=0;d<l;d++)s[d]=arguments[d+2];r.children=s}return{$$typeof:xi,type:e.type,key:o,ref:n,props:r,_owner:i}};J.createContext=function(e){return e={$$typeof:db,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:lb,_context:e},e.Consumer=e};J.createElement=dh;J.createFactory=function(e){var t=dh.bind(null,e);return t.type=e,t};J.createRef=function(){return{current:null}};J.forwardRef=function(e){return{$$typeof:ub,render:e}};J.isValidElement=Cc;J.lazy=function(e){return{$$typeof:pb,_payload:{_status:-1,_result:e},_init:xb}};J.memo=function(e,t){return{$$typeof:fb,type:e,compare:t===void 0?null:t}};J.startTransition=function(e){var t=Ll.transition;Ll.transition={};try{e()}finally{Ll.transition=t}};J.unstable_act=uh;J.useCallback=function(e,t){return nt.current.useCallback(e,t)};J.useContext=function(e){return nt.current.useContext(e)};J.useDebugValue=function(){};J.useDeferredValue=function(e){return nt.current.useDeferredValue(e)};J.useEffect=function(e,t){return nt.current.useEffect(e,t)};J.useId=function(){return nt.current.useId()};J.useImperativeHandle=function(e,t,a){return nt.current.useImperativeHandle(e,t,a)};J.useInsertionEffect=function(e,t){return nt.current.useInsertionEffect(e,t)};J.useLayoutEffect=function(e,t){return nt.current.useLayoutEffect(e,t)};J.useMemo=function(e,t){return nt.current.useMemo(e,t)};J.useReducer=function(e,t,a){return nt.current.useReducer(e,t,a)};J.useRef=function(e){return nt.current.useRef(e)};J.useState=function(e){return nt.current.useState(e)};J.useSyncExternalStore=function(e,t,a){return nt.current.useSyncExternalStore(e,t,a)};J.useTransition=function(){return nt.current.useTransition()};J.version="18.3.1"});var Q=Ia((FF,fh)=>{"use strict";fh.exports=ch()});var Ch=Ia(pe=>{"use strict";function Sc(e,t){var a=e.length;e.push(t);e:for(;0<a;){var r=a-1>>>1,o=e[r];if(0<Il(o,t))e[r]=t,e[a]=o,a=r;else break e}}function Wt(e){return e.length===0?null:e[0]}function Sl(e){if(e.length===0)return null;var t=e[0],a=e.pop();if(a!==t){e[0]=a;e:for(var r=0,o=e.length,n=o>>>1;r<n;){var i=2*(r+1)-1,s=e[i],l=i+1,d=e[l];if(0>Il(s,a))l<o&&0>Il(d,s)?(e[r]=d,e[l]=a,r=l):(e[r]=s,e[i]=a,r=i);else if(l<o&&0>Il(d,a))e[r]=d,e[l]=a,r=l;else break e}}return t}function Il(e,t){var a=e.sortIndex-t.sortIndex;return a!==0?a:e.id-t.id}typeof performance=="object"&&typeof performance.now=="function"?(ph=performance,pe.unstable_now=function(){return ph.now()}):(Lc=Date,mh=Lc.now(),pe.unstable_now=function(){return Lc.now()-mh});var ph,Lc,mh,sa=[],tr=[],wb=1,Et=null,Ye=3,Fl=!1,Kr=!1,wi=!1,xh=typeof setTimeout=="function"?setTimeout:null,vh=typeof clearTimeout=="function"?clearTimeout:null,hh=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function Fc(e){for(var t=Wt(tr);t!==null;){if(t.callback===null)Sl(tr);else if(t.startTime<=e)Sl(tr),t.sortIndex=t.expirationTime,Sc(sa,t);else break;t=Wt(tr)}}function Pc(e){if(wi=!1,Fc(e),!Kr)if(Wt(sa)!==null)Kr=!0,Tc(Ac);else{var t=Wt(tr);t!==null&&Ec(Pc,t.startTime-e)}}function Ac(e,t){Kr=!1,wi&&(wi=!1,vh(yi),yi=-1),Fl=!0;var a=Ye;try{for(Fc(t),Et=Wt(sa);Et!==null&&(!(Et.expirationTime>t)||e&&!bh());){var r=Et.callback;if(typeof r=="function"){Et.callback=null,Ye=Et.priorityLevel;var o=r(Et.expirationTime<=t);t=pe.unstable_now(),typeof o=="function"?Et.callback=o:Et===Wt(sa)&&Sl(sa),Fc(t)}else Sl(sa);Et=Wt(sa)}if(Et!==null)var n=!0;else{var i=Wt(tr);i!==null&&Ec(Pc,i.startTime-t),n=!1}return n}finally{Et=null,Ye=a,Fl=!1}}var Pl=!1,kl=null,yi=-1,wh=5,yh=-1;function bh(){return!(pe.unstable_now()-yh<wh)}function Ic(){if(kl!==null){var e=pe.unstable_now();yh=e;var t=!0;try{t=kl(!0,e)}finally{t?vi():(Pl=!1,kl=null)}}else Pl=!1}var vi;typeof hh=="function"?vi=function(){hh(Ic)}:typeof MessageChannel<"u"?(kc=new MessageChannel,gh=kc.port2,kc.port1.onmessage=Ic,vi=function(){gh.postMessage(null)}):vi=function(){xh(Ic,0)};var kc,gh;function Tc(e){kl=e,Pl||(Pl=!0,vi())}function Ec(e,t){yi=xh(function(){e(pe.unstable_now())},t)}pe.unstable_IdlePriority=5;pe.unstable_ImmediatePriority=1;pe.unstable_LowPriority=4;pe.unstable_NormalPriority=3;pe.unstable_Profiling=null;pe.unstable_UserBlockingPriority=2;pe.unstable_cancelCallback=function(e){e.callback=null};pe.unstable_continueExecution=function(){Kr||Fl||(Kr=!0,Tc(Ac))};pe.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):wh=0<e?Math.floor(1e3/e):5};pe.unstable_getCurrentPriorityLevel=function(){return Ye};pe.unstable_getFirstCallbackNode=function(){return Wt(sa)};pe.unstable_next=function(e){switch(Ye){case 1:case 2:case 3:var t=3;break;default:t=Ye}var a=Ye;Ye=t;try{return e()}finally{Ye=a}};pe.unstable_pauseExecution=function(){};pe.unstable_requestPaint=function(){};pe.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var a=Ye;Ye=e;try{return t()}finally{Ye=a}};pe.unstable_scheduleCallback=function(e,t,a){var r=pe.unstable_now();switch(typeof a=="object"&&a!==null?(a=a.delay,a=typeof a=="number"&&0<a?r+a:r):a=r,e){case 1:var o=-1;break;case 2:o=250;break;case 5:o=1073741823;break;case 4:o=1e4;break;default:o=5e3}return o=a+o,e={id:wb++,callback:t,priorityLevel:e,startTime:a,expirationTime:o,sortIndex:-1},a>r?(e.sortIndex=a,Sc(tr,e),Wt(sa)===null&&e===Wt(tr)&&(wi?(vh(yi),yi=-1):wi=!0,Ec(Pc,a-r))):(e.sortIndex=o,Sc(sa,e),Kr||Fl||(Kr=!0,Tc(Ac))),e};pe.unstable_shouldYield=bh;pe.unstable_wrapCallback=function(e){var t=Ye;return function(){var a=Ye;Ye=t;try{return e.apply(this,arguments)}finally{Ye=a}}}});var Ih=Ia((AF,Lh)=>{"use strict";Lh.exports=Ch()});var Pv=Ia(Ft=>{"use strict";var yb=Q(),kt=Ih();function T(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,a=1;a<arguments.length;a++)t+="&args[]="+encodeURIComponent(arguments[a]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var Eg=new Set,qi={};function lo(e,t){yn(e,t),yn(e+"Capture",t)}function yn(e,t){for(qi[e]=t,e=0;e<t.length;e++)Eg.add(t[e])}var Ta=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ef=Object.prototype.hasOwnProperty,bb=/^[: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]*$/,kh={},Sh={};function Cb(e){return ef.call(Sh,e)?!0:ef.call(kh,e)?!1:bb.test(e)?Sh[e]=!0:(kh[e]=!0,!1)}
vendor: 4,304 bytes, line 1
1function Lb(e,t,a,r){if(a!==null&&a.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:a!==null?!a.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Ib(e,t,a,r){if(t===null||typeof t>"u"||Lb(e,t,a,r))return!0;if(r)return!1;if(a!==null)switch(a.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function lt(e,t,a,r,o,n,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=a,this.propertyName=e,this.type=t,this.sanitizeURL=n,this.removeEmptyString=i}var $e={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){$e[e]=new lt(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];$e[t]=new lt(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){$e[e]=new lt(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){$e[e]=new lt(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){$e[e]=new lt(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){$e[e]=new lt(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){$e[e]=new lt(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){$e[e]=new lt(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){$e[e]=new lt(e,5,!1,e.toLowerCase(),null,!1,!1)});var $f=/[\-:]([a-z])/g;function Xf(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace($f,Xf);$e[t]=new lt(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace($f,Xf);$e[t]=new lt(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace($f,Xf);$e[t]=new lt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){$e[e]=new lt(e,1,!1,e.toLowerCase(),null,!1,!1)});$e.xlinkHref=new lt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){$e[e]=new lt(e,1,!1,e.toLowerCase(),null,!0,!0)});function Kf(e,t,a,r){var o=$e.hasOwnProperty(t)?$e[t]:null;(o!==null?o.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(Ib(t,a,o,r)&&(a=null),r||o===null?Cb(t)&&(a===null?e.removeAttribute(t):e.setAttribute(t,""+a)):o.mustUseProperty?e[o.propertyName]=a===null?o.type===3?!1:"":a:(t=o.attributeName,r=o.attributeNamespace,a===null?e.removeAttribute(t):(o=o.type,a=o===3||o===4&&a===!0?"":""+a,r?e.setAttributeNS(r,t,a):e.setAttribute(t,a))))}
vendor: 8,101 bytes, lines 1-5
1var Na=yb.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Al=Symbol.for("react.element"),tn=Symbol.for("react.portal"),an=Symbol.for("react.fragment"),Yf=Symbol.for("react.strict_mode"),tf=Symbol.for("react.profiler"),Mg=Symbol.for("react.provider"),Dg=Symbol.for("react.context"),Zf=Symbol.for("react.forward_ref"),af=Symbol.for("react.suspense"),rf=Symbol.for("react.suspense_list"),Qf=Symbol.for("react.memo"),rr=Symbol.for("react.lazy");Symbol.for("react.scope");Symbol.for("react.debug_trace_mode");var Ng=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden");Symbol.for("react.cache");Symbol.for("react.tracing_marker");var Fh=Symbol.iterator;function bi(e){return e===null||typeof e!="object"?null:(e=Fh&&e[Fh]||e["@@iterator"],typeof e=="function"?e:null)}var Ie=Object.assign,Mc;function Ai(e){if(Mc===void 0)try{throw Error()}catch(a){var t=a.stack.trim().match(/\n( *(at )?)/);Mc=t&&t[1]||""}return` 2`+Mc+e}var Dc=!1;function Nc(e,t){if(!e||Dc)return"";Dc=!0;var a=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(d){var r=d}Reflect.construct(e,[],t)}else{try{t.call()}catch(d){r=d}e.call(t.prototype)}else{try{throw Error()}catch(d){r=d}e()}}catch(d){if(d&&r&&typeof d.stack=="string"){for(var o=d.stack.split(` 3`),n=r.stack.split(` 4`),i=o.length-1,s=n.length-1;1<=i&&0<=s&&o[i]!==n[s];)s--;for(;1<=i&&0<=s;i--,s--)if(o[i]!==n[s]){if(i!==1||s!==1)do if(i--,s--,0>s||o[i]!==n[s]){var l=` 5`+o[i].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}while(1<=i&&0<=s);break}}}finally{Dc=!1,Error.prepareStackTrace=a}return(e=e?e.displayName||e.name:"")?Ai(e):""}function kb(e){switch(e.tag){case 5:return Ai(e.type);case 16:return Ai("Lazy");case 13:return Ai("Suspense");case 19:return Ai("SuspenseList");case 0:case 2:case 15:return e=Nc(e.type,!1),e;case 11:return e=Nc(e.type.render,!1),e;case 1:return e=Nc(e.type,!0),e;default:return""}}function of(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case an:return"Fragment";case tn:return"Portal";case tf:return"Profiler";case Yf:return"StrictMode";case af:return"Suspense";case rf:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Dg:return(e.displayName||"Context")+".Consumer";case Mg:return(e._context.displayName||"Context")+".Provider";case Zf:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Qf:return t=e.displayName||null,t!==null?t:of(e.type)||"Memo";case rr:t=e._payload,e=e._init;try{return of(e(t))}catch{}}return null}function Sb(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return of(t);case 8:return t===Yf?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function xr(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Rg(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Fb(e){var t=Rg(e)?"checked":"value",a=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var o=a.get,n=a.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(i){r=""+i,n.call(this,i)}}),Object.defineProperty(e,t,{enumerable:a.enumerable}),{getValue:function(){return r},setValue:function(i){r=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Tl(e){e._valueTracker||(e._valueTracker=Fb(e))}function Bg(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var a=t.getValue(),r="";return e&&(r=Rg(e)?e.checked?"true":"false":e.value),e=r,e!==a?(t.setValue(e),!0):!1}function od(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function nf(e,t){var a=t.checked;return Ie({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:a??e._wrapperState.initialChecked})}function Ph(e,t){var a=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;a=xr(t.value!=null?t.value:a),e._wrapperState={initialChecked:r,initialValue:a,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function _g(e,t){t=t.checked,t!=null&&Kf(e,"checked",t,!1)}function sf(e,t){_g(e,t);var a=xr(t.value),r=t.type;if(a!=null)r==="number"?(a===0&&e.value===""||e.value!=a)&&(e.value=""+a):e.value!==""+a&&(e.value=""+a);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?lf(e,t.type,a):t.hasOwnProperty("defaultValue")&&lf(e,t.type,xr(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Ah(e,t,a){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,a||t===e.value||(e.value=t),e.defaultValue=t}a=e.name,a!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,a!==""&&(e.name=a)}function lf(e,t,a){(t!=="number"||od(e.ownerDocument)!==e)&&(a==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+a&&(e.defaultValue=""+a))}var Ti=Array.isArray;function mn(e,t,a,r){if(e=e.options,t){t={};for(var o=0;o<a.length;o++)t["$"+a[o]]=!0;for(a=0;a<e.length;a++)o=t.hasOwnProperty("$"+e[a].value),e[a].selected!==o&&(e[a].selected=o),o&&r&&(e[a].defaultSelected=!0)}else{for(a=""+xr(a),t=null,o=0;o<e.length;o++){if(e[o].value===a){e[o].selected=!0,r&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function df(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(T(91));return Ie({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Th(e,t){var a=t.value;if(a==null){if(a=t.children,t=t.defaultValue,a!=null){if(t!=null)throw Error(T(92));if(Ti(a)){if(1<a.length)throw Error(T(93));a=a[0]}t=a}t==null&&(t=""),a=t}e._wrapperState={initialValue:xr(a)}}function Og(e,t){var a=xr(t.value),r=xr(t.defaultValue);a!=null&&(a=""+a,a!==e.value&&(e.value=a),t.defaultValue==null&&e.defaultValue!==a&&(e.defaultValue=a)),r!=null&&(e.defaultValue=""+r)}function Eh(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function Vg(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function uf(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?Vg(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var El,zg=(function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,a,r,o){MSApp.execUnsafeLocalFunction(function(){return e(t,a,r,o)})}:e})(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(El=El||document.createElement("div"),El.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=El.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function ji(e,t){if(t){var a=e.firstChild;
vendor: 4,252 bytes, line 5
5if(a&&a===e.lastChild&&a.nodeType===3){a.nodeValue=t;return}}e.textContent=t}var Di={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},Pb=["Webkit","ms","Moz","O"];Object.keys(Di).forEach(function(e){Pb.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Di[t]=Di[e]})});function Ug(e,t,a){return t==null||typeof t=="boolean"||t===""?"":a||typeof t!="number"||t===0||Di.hasOwnProperty(e)&&Di[e]?(""+t).trim():t+"px"}function qg(e,t){e=e.style;for(var a in t)if(t.hasOwnProperty(a)){var r=a.indexOf("--")===0,o=Ug(a,t[a],r);a==="float"&&(a="cssFloat"),r?e.setProperty(a,o):e[a]=o}}var Ab=Ie({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 cf(e,t){if(t){if(Ab[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(T(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(T(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(T(61))}if(t.style!=null&&typeof t.style!="object")throw Error(T(62))}}function ff(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var pf=null;function Jf(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var mf=null,hn=null,gn=null;function Mh(e){if(e=ss(e)){if(typeof mf!="function")throw Error(T(280));var t=e.stateNode;t&&(t=Md(t),mf(e.stateNode,e.type,t))}}function jg(e){hn?gn?gn.push(e):gn=[e]:hn=e}function Hg(){if(hn){var e=hn,t=gn;if(gn=hn=null,Mh(e),t)for(e=0;e<t.length;e++)Mh(t[e])}}function Wg(e,t){return e(t)}function Gg(){}var Rc=!1;function $g(e,t,a){if(Rc)return e(t,a);Rc=!0;try{return Wg(e,t,a)}finally{Rc=!1,(hn!==null||gn!==null)&&(Gg(),Hg())}}function Hi(e,t){var a=e.stateNode;if(a===null)return null;var r=Md(a);if(r===null)return null;a=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(a&&typeof a!="function")throw Error(T(231,t,typeof a));return a}var hf=!1;if(Ta)try{Jo={},Object.defineProperty(Jo,"passive",{get:function(){hf=!0}}),window.addEventListener("test",Jo,Jo),window.removeEventListener("test",Jo,Jo)}catch{hf=!1}var Jo;function Tb(e,t,a,r,o,n,i,s,l){var d=Array.prototype.slice.call(arguments,3);try{t.apply(a,d)}catch(u){this.onError(u)}}var Ni=!1,nd=null,id=!1,gf=null,Eb={onError:function(e){Ni=!0,nd=e}};function Mb(e,t,a,r,o,n,i,s,l){Ni=!1,nd=null,Tb.apply(Eb,arguments)}function Db(e,t,a,r,o,n,i,s,l){if(Mb.apply(this,arguments),Ni){if(Ni){var d=nd;Ni=!1,nd=null}else throw Error(T(198));id||(id=!0,gf=d)}}function uo(e){var t=e,a=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(a=t.return),e=t.return;while(e)}return t.tag===3?a:null}function Xg(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function Dh(e){if(uo(e)!==e)throw Error(T(188))}function Nb(e){var t=e.alternate;if(!t){if(t=uo(e),t===null)throw Error(T(188));return t!==e?null:e}for(var a=e,r=t;;){var o=a.return;if(o===null)break;var n=o.alternate;if(n===null){if(r=o.return,r!==null){a=r;
vendor: 11,602 bytes, line 5
5continue}break}if(o.child===n.child){for(n=o.child;n;){if(n===a)return Dh(o),e;if(n===r)return Dh(o),t;n=n.sibling}throw Error(T(188))}if(a.return!==r.return)a=o,r=n;else{for(var i=!1,s=o.child;s;){if(s===a){i=!0,a=o,r=n;break}if(s===r){i=!0,r=o,a=n;break}s=s.sibling}if(!i){for(s=n.child;s;){if(s===a){i=!0,a=n,r=o;break}if(s===r){i=!0,r=n,a=o;break}s=s.sibling}if(!i)throw Error(T(189))}}if(a.alternate!==r)throw Error(T(190))}if(a.tag!==3)throw Error(T(188));return a.stateNode.current===a?e:t}function Kg(e){return e=Nb(e),e!==null?Yg(e):null}function Yg(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=Yg(e);if(t!==null)return t;e=e.sibling}return null}var Zg=kt.unstable_scheduleCallback,Nh=kt.unstable_cancelCallback,Rb=kt.unstable_shouldYield,Bb=kt.unstable_requestPaint,De=kt.unstable_now,_b=kt.unstable_getCurrentPriorityLevel,ep=kt.unstable_ImmediatePriority,Qg=kt.unstable_UserBlockingPriority,sd=kt.unstable_NormalPriority,Ob=kt.unstable_LowPriority,Jg=kt.unstable_IdlePriority,Pd=null,ca=null;function Vb(e){if(ca&&typeof ca.onCommitFiberRoot=="function")try{ca.onCommitFiberRoot(Pd,e,void 0,(e.current.flags&128)===128)}catch{}}var Yt=Math.clz32?Math.clz32:qb,zb=Math.log,Ub=Math.LN2;function qb(e){return e>>>=0,e===0?32:31-(zb(e)/Ub|0)|0}var Ml=64,Dl=4194304;function Ei(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ld(e,t){var a=e.pendingLanes;if(a===0)return 0;var r=0,o=e.suspendedLanes,n=e.pingedLanes,i=a&268435455;if(i!==0){var s=i&~o;s!==0?r=Ei(s):(n&=i,n!==0&&(r=Ei(n)))}else i=a&~o,i!==0?r=Ei(i):n!==0&&(r=Ei(n));if(r===0)return 0;if(t!==0&&t!==r&&(t&o)===0&&(o=r&-r,n=t&-t,o>=n||o===16&&(n&4194240)!==0))return t;if((r&4)!==0&&(r|=a&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)a=31-Yt(t),o=1<<a,r|=e[a],t&=~o;return r}function jb(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Hb(e,t){for(var a=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,n=e.pendingLanes;0<n;){var i=31-Yt(n),s=1<<i,l=o[i];l===-1?((s&a)===0||(s&r)!==0)&&(o[i]=jb(s,t)):l<=t&&(e.expiredLanes|=s),n&=~s}}function xf(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function ex(){var e=Ml;return Ml<<=1,(Ml&4194240)===0&&(Ml=64),e}function Bc(e){for(var t=[],a=0;31>a;a++)t.push(e);return t}function ns(e,t,a){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Yt(t),e[t]=a}function Wb(e,t){var a=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<a;){var o=31-Yt(a),n=1<<o;t[o]=0,r[o]=-1,e[o]=-1,a&=~n}}function tp(e,t){var a=e.entangledLanes|=t;for(e=e.entanglements;a;){var r=31-Yt(a),o=1<<r;o&t|e[r]&t&&(e[r]|=t),a&=~o}}var se=0;function tx(e){return e&=-e,1<e?4<e?(e&268435455)!==0?16:536870912:4:1}var ax,ap,rx,ox,nx,vf=!1,Nl=[],dr=null,ur=null,cr=null,Wi=new Map,Gi=new Map,nr=[],Gb="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(e,t){switch(e){case"focusin":case"focusout":dr=null;break;case"dragenter":case"dragleave":ur=null;break;case"mouseover":case"mouseout":cr=null;break;case"pointerover":case"pointerout":Wi.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Gi.delete(t.pointerId)}}function Ci(e,t,a,r,o,n){return e===null||e.nativeEvent!==n?(e={blockedOn:t,domEventName:a,eventSystemFlags:r,nativeEvent:n,targetContainers:[o]},t!==null&&(t=ss(t),t!==null&&ap(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function $b(e,t,a,r,o){switch(t){case"focusin":return dr=Ci(dr,e,t,a,r,o),!0;case"dragenter":return ur=Ci(ur,e,t,a,r,o),!0;case"mouseover":return cr=Ci(cr,e,t,a,r,o),!0;case"pointerover":var n=o.pointerId;return Wi.set(n,Ci(Wi.get(n)||null,e,t,a,r,o)),!0;case"gotpointercapture":return n=o.pointerId,Gi.set(n,Ci(Gi.get(n)||null,e,t,a,r,o)),!0}return!1}function ix(e){var t=Qr(e.target);if(t!==null){var a=uo(t);if(a!==null){if(t=a.tag,t===13){if(t=Xg(a),t!==null){e.blockedOn=t,nx(e.priority,function(){rx(a)});return}}else if(t===3&&a.stateNode.current.memoizedState.isDehydrated){e.blockedOn=a.tag===3?a.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Xl(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var a=wf(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(a===null){a=e.nativeEvent;var r=new a.constructor(a.type,a);pf=r,a.target.dispatchEvent(r),pf=null}else return t=ss(a),t!==null&&ap(t),e.blockedOn=a,!1;t.shift()}return!0}function Bh(e,t,a){Xl(e)&&a.delete(t)}function Xb(){vf=!1,dr!==null&&Xl(dr)&&(dr=null),ur!==null&&Xl(ur)&&(ur=null),cr!==null&&Xl(cr)&&(cr=null),Wi.forEach(Bh),Gi.forEach(Bh)}function Li(e,t){e.blockedOn===t&&(e.blockedOn=null,vf||(vf=!0,kt.unstable_scheduleCallback(kt.unstable_NormalPriority,Xb)))}function $i(e){function t(o){return Li(o,e)}if(0<Nl.length){Li(Nl[0],e);for(var a=1;a<Nl.length;a++){var r=Nl[a];r.blockedOn===e&&(r.blockedOn=null)}}for(dr!==null&&Li(dr,e),ur!==null&&Li(ur,e),cr!==null&&Li(cr,e),Wi.forEach(t),Gi.forEach(t),a=0;a<nr.length;a++)r=nr[a],r.blockedOn===e&&(r.blockedOn=null);for(;0<nr.length&&(a=nr[0],a.blockedOn===null);)ix(a),a.blockedOn===null&&nr.shift()}var xn=Na.ReactCurrentBatchConfig,dd=!0;function Kb(e,t,a,r){var o=se,n=xn.transition;xn.transition=null;try{se=1,rp(e,t,a,r)}finally{se=o,xn.transition=n}}function Yb(e,t,a,r){var o=se,n=xn.transition;xn.transition=null;try{se=4,rp(e,t,a,r)}finally{se=o,xn.transition=n}}function rp(e,t,a,r){if(dd){var o=wf(e,t,a,r);if(o===null)jc(e,t,r,ud,a),Rh(e,r);else if($b(o,e,t,a,r))r.stopPropagation();else if(Rh(e,r),t&4&&-1<Gb.indexOf(e)){for(;o!==null;){var n=ss(o);if(n!==null&&ax(n),n=wf(e,t,a,r),n===null&&jc(e,t,r,ud,a),n===o)break;o=n}o!==null&&r.stopPropagation()}else jc(e,t,r,null,a)}}var ud=null;function wf(e,t,a,r){if(ud=null,e=Jf(r),e=Qr(e),e!==null)if(t=uo(e),t===null)e=null;else if(a=t.tag,a===13){if(e=Xg(t),e!==null)return e;e=null}else if(a===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return ud=e,null}function sx(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(_b()){case ep:return 1;case Qg:return 4;case sd:case Ob:return 16;case Jg:return 536870912;default:return 16}default:return 16}}var sr=null,op=null,Kl=null;function lx(){if(Kl)return Kl;var e,t=op,a=t.length,r,o="value"in sr?sr.value:sr.textContent,n=o.length;for(e=0;e<a&&t[e]===o[e];e++);var i=a-e;for(r=1;r<=i&&t[a-r]===o[n-r];r++);return Kl=o.slice(e,1<r?1-r:void 0)}function Yl(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Rl(){return!0}function _h(){return!1}function St(e){function t(a,r,o,n,i){this._reactName=a,this._targetInst=o,this.type=r,this.nativeEvent=n,this.target=i,this.currentTarget=null;for(var s in e)e.hasOwnProperty(s)&&(a=e[s],this[s]=a?a(n):n[s]);return this.isDefaultPrevented=(n.defaultPrevented!=null?n.defaultPrevented:n.returnValue===!1)?Rl:_h,this.isPropagationStopped=_h,this}return Ie(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():typeof a.returnValue!="unknown"&&(a.returnValue=!1),this.isDefaultPrevented=Rl)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=Rl)},persist:function(){},isPersistent:Rl}),t}var Fn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},np=St(Fn),is=Ie({},Fn,{view:0,detail:0}),Zb=St(is),_c,Oc,Ii,Ad=Ie({},is,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:ip,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Ii&&(Ii&&e.type==="mousemove"?(_c=e.screenX-Ii.screenX,Oc=e.screenY-Ii.screenY):Oc=_c=0,Ii=e),_c)},movementY:function(e){return"movementY"in e?e.movementY:Oc}}),Oh=St(Ad),Qb=Ie({},Ad,{dataTransfer:0}),Jb=St(Qb),eC=Ie({},is,{relatedTarget:0}),Vc=St(eC),tC=Ie({},Fn,{animationName:0,elapsedTime:0,pseudoElement:0}),aC=St(tC),rC=Ie({},Fn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),oC=St(rC),nC=Ie({},Fn,{data:0}),Vh=St(nC),iC={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},sC={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"},lC={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function dC(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=lC[e])?!!t[e]:!1}function ip(){return dC}var uC=Ie({},is,{key:function(e){if(e.key){var t=iC[e.key]||e.key;if(t!=="Unidentified")return t}
vendor: 6,016 bytes, line 5
5return e.type==="keypress"?(e=Yl(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?sC[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:ip,charCode:function(e){return e.type==="keypress"?Yl(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Yl(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),cC=St(uC),fC=Ie({},Ad,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),zh=St(fC),pC=Ie({},is,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:ip}),mC=St(pC),hC=Ie({},Fn,{propertyName:0,elapsedTime:0,pseudoElement:0}),gC=St(hC),xC=Ie({},Ad,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),vC=St(xC),wC=[9,13,27,32],sp=Ta&&"CompositionEvent"in window,Ri=null;Ta&&"documentMode"in document&&(Ri=document.documentMode);var yC=Ta&&"TextEvent"in window&&!Ri,dx=Ta&&(!sp||Ri&&8<Ri&&11>=Ri),Uh=" ",qh=!1;function ux(e,t){switch(e){case"keyup":return wC.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function cx(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var rn=!1;function bC(e,t){switch(e){case"compositionend":return cx(t);case"keypress":return t.which!==32?null:(qh=!0,Uh);case"textInput":return e=t.data,e===Uh&&qh?null:e;default:return null}}function CC(e,t){if(rn)return e==="compositionend"||!sp&&ux(e,t)?(e=lx(),Kl=op=sr=null,rn=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return dx&&t.locale!=="ko"?null:t.data;default:return null}}var LC={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 jh(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!LC[e.type]:t==="textarea"}function fx(e,t,a,r){jg(r),t=cd(t,"onChange"),0<t.length&&(a=new np("onChange","change",null,a,r),e.push({event:a,listeners:t}))}var Bi=null,Xi=null;function IC(e){Lx(e,0)}function Td(e){var t=sn(e);if(Bg(t))return e}function kC(e,t){if(e==="change")return t}var px=!1;Ta&&(Ta?(_l="oninput"in document,_l||(zc=document.createElement("div"),zc.setAttribute("oninput","return;"),_l=typeof zc.oninput=="function"),Bl=_l):Bl=!1,px=Bl&&(!document.documentMode||9<document.documentMode));var Bl,_l,zc;function Hh(){Bi&&(Bi.detachEvent("onpropertychange",mx),Xi=Bi=null)}function mx(e){if(e.propertyName==="value"&&Td(Xi)){var t=[];fx(t,Xi,e,Jf(e)),$g(IC,t)}}function SC(e,t,a){e==="focusin"?(Hh(),Bi=t,Xi=a,Bi.attachEvent("onpropertychange",mx)):e==="focusout"&&Hh()}function FC(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Td(Xi)}function PC(e,t){if(e==="click")return Td(t)}function AC(e,t){if(e==="input"||e==="change")return Td(t)}function TC(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Qt=typeof Object.is=="function"?Object.is:TC;function Ki(e,t){if(Qt(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var a=Object.keys(e),r=Object.keys(t);if(a.length!==r.length)return!1;for(r=0;r<a.length;r++){var o=a[r];if(!ef.call(t,o)||!Qt(e[o],t[o]))return!1}return!0}function Wh(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Gh(e,t){var a=Wh(e);e=0;for(var r;a;){if(a.nodeType===3){if(r=e+a.textContent.length,e<=t&&r>=t)return{node:a,offset:t-e};e=r}e:{for(;a;){if(a.nextSibling){a=a.nextSibling;break e}a=a.parentNode}a=void 0}a=Wh(a)}}function hx(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?hx(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function gx(){for(var e=window,t=od();t instanceof e.HTMLIFrameElement;){try{var a=typeof t.contentWindow.location.href=="string"}catch{a=!1}if(a)e=t.contentWindow;else break;t=od(e.document)}return t}function lp(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function EC(e){var t=gx(),a=e.focusedElem,r=e.selectionRange;if(t!==a&&a&&a.ownerDocument&&hx(a.ownerDocument.documentElement,a)){if(r!==null&&lp(a)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in a)a.selectionStart=t,a.selectionEnd=Math.min(e,a.value.length);else if(e=(t=a.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=a.textContent.length,n=Math.min(r.start,o);r=r.end===void 0?n:Math.min(r.end,o),!e.extend&&n>r&&(o=r,r=n,n=o),o=Gh(a,n);var i=Gh(a,r);o&&i&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),n>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}}for(t=[],e=a;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof a.focus=="function"&&a.focus(),a=0;a<t.length;a++)e=t[a],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var MC=Ta&&"documentMode"in document&&11>=document.documentMode,on=null,yf=null,_i=null,bf=!1;function $h(e,t,a){var r=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;bf||on==null||on!==od(r)||(r=on,"selectionStart"in r&&lp(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focu
vendor: 4,514 bytes, line 5
5sNode:r.focusNode,focusOffset:r.focusOffset}),_i&&Ki(_i,r)||(_i=r,r=cd(yf,"onSelect"),0<r.length&&(t=new np("onSelect","select",null,t,a),e.push({event:t,listeners:r}),t.target=on)))}function Ol(e,t){var a={};return a[e.toLowerCase()]=t.toLowerCase(),a["Webkit"+e]="webkit"+t,a["Moz"+e]="moz"+t,a}var nn={animationend:Ol("Animation","AnimationEnd"),animationiteration:Ol("Animation","AnimationIteration"),animationstart:Ol("Animation","AnimationStart"),transitionend:Ol("Transition","TransitionEnd")},Uc={},xx={};Ta&&(xx=document.createElement("div").style,"AnimationEvent"in window||(delete nn.animationend.animation,delete nn.animationiteration.animation,delete nn.animationstart.animation),"TransitionEvent"in window||delete nn.transitionend.transition);function Ed(e){if(Uc[e])return Uc[e];if(!nn[e])return e;var t=nn[e],a;for(a in t)if(t.hasOwnProperty(a)&&a in xx)return Uc[e]=t[a];return e}var vx=Ed("animationend"),wx=Ed("animationiteration"),yx=Ed("animationstart"),bx=Ed("transitionend"),Cx=new Map,Xh="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 wr(e,t){Cx.set(e,t),lo(t,[e])}for(Vl=0;Vl<Xh.length;Vl++)zl=Xh[Vl],Kh=zl.toLowerCase(),Yh=zl[0].toUpperCase()+zl.slice(1),wr(Kh,"on"+Yh);var zl,Kh,Yh,Vl;wr(vx,"onAnimationEnd");wr(wx,"onAnimationIteration");wr(yx,"onAnimationStart");wr("dblclick","onDoubleClick");wr("focusin","onFocus");wr("focusout","onBlur");wr(bx,"onTransitionEnd");yn("onMouseEnter",["mouseout","mouseover"]);yn("onMouseLeave",["mouseout","mouseover"]);yn("onPointerEnter",["pointerout","pointerover"]);yn("onPointerLeave",["pointerout","pointerover"]);lo("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));lo("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));lo("onBeforeInput",["compositionend","keypress","textInput","paste"]);lo("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));lo("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));lo("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Mi="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(" "),DC=new Set("cancel close invalid load scroll toggle".split(" ").concat(Mi));function Zh(e,t,a){var r=e.type||"unknown-event";e.currentTarget=a,Db(r,t,void 0,e),e.currentTarget=null}function Lx(e,t){t=(t&4)!==0;for(var a=0;a<e.length;a++){var r=e[a],o=r.event;r=r.listeners;e:{var n=void 0;if(t)for(var i=r.length-1;0<=i;i--){var s=r[i],l=s.instance,d=s.currentTarget;if(s=s.listener,l!==n&&o.isPropagationStopped())break e;Zh(o,s,d),n=l}else for(i=0;i<r.length;i++){if(s=r[i],l=s.instance,d=s.currentTarget,s=s.listener,l!==n&&o.isPropagationStopped())break e;Zh(o,s,d),n=l}}}if(id)throw e=gf,id=!1,gf=null,e}function he(e,t){var a=t[Sf];a===void 0&&(a=t[Sf]=new Set);var r=e+"__bubble";a.has(r)||(Ix(t,e,2,!1),a.add(r))}function qc(e,t,a){var r=0;t&&(r|=4),Ix(a,e,r,t)}var Ul="_reactListening"+Math.random().toString(36).slice(2);function Yi(e){if(!e[Ul]){e[Ul]=!0,Eg.forEach(function(a){a!=="selectionchange"&&(DC.has(a)||qc(a,!1,e),qc(a,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Ul]||(t[Ul]=!0,qc("selectionchange",!1,t))}}function Ix(e,t,a,r){switch(sx(t)){case 1:var o=Kb;break;case 4:o=Yb;break;default:o=rp}a=o.bind(null,t,a,e),o=void 0,!hf||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(o=!0),r?o!==void 0?e.addEventListener(t,a,{capture:!0,passive:o}):e.addEventListener(t,a,!0):o!==void 0?e.addEventListener(t,a,{passive:o}):e.addEventListener(t,a,!1)}function jc(e,t,a,r,o){var n=r;if((t&1)===0&&(t&2)===0&&r!==null)e:for(;;){if(r===null)return;var i=r.tag;if(i===3||i===4){var s=r.stateNode.containerInfo;
vendor: 8,902 bytes, lines 5-6
5if(s===o||s.nodeType===8&&s.parentNode===o)break;if(i===4)for(i=r.return;i!==null;){var l=i.tag;if((l===3||l===4)&&(l=i.stateNode.containerInfo,l===o||l.nodeType===8&&l.parentNode===o))return;i=i.return}for(;s!==null;){if(i=Qr(s),i===null)return;if(l=i.tag,l===5||l===6){r=n=i;continue e}s=s.parentNode}}r=r.return}$g(function(){var d=n,u=Jf(a),c=[];e:{var f=Cx.get(e);if(f!==void 0){var g=np,v=e;switch(e){case"keypress":if(Yl(a)===0)break e;case"keydown":case"keyup":g=cC;break;case"focusin":v="focus",g=Vc;break;case"focusout":v="blur",g=Vc;break;case"beforeblur":case"afterblur":g=Vc;break;case"click":if(a.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":g=Oh;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":g=Jb;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":g=mC;break;case vx:case wx:case yx:g=aC;break;case bx:g=gC;break;case"scroll":g=Zb;break;case"wheel":g=vC;break;case"copy":case"cut":case"paste":g=oC;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":g=zh}var x=(t&4)!==0,F=!x&&e==="scroll",m=x?f!==null?f+"Capture":null:f;x=[];for(var p=d,h;p!==null;){h=p;var w=h.stateNode;if(h.tag===5&&w!==null&&(h=w,m!==null&&(w=Hi(p,m),w!=null&&x.push(Zi(p,w,h)))),F)break;p=p.return}0<x.length&&(f=new g(f,v,null,a,u),c.push({event:f,listeners:x}))}}if((t&7)===0){e:{if(f=e==="mouseover"||e==="pointerover",g=e==="mouseout"||e==="pointerout",f&&a!==pf&&(v=a.relatedTarget||a.fromElement)&&(Qr(v)||v[Ea]))break e;if((g||f)&&(f=u.window===u?u:(f=u.ownerDocument)?f.defaultView||f.parentWindow:window,g?(v=a.relatedTarget||a.toElement,g=d,v=v?Qr(v):null,v!==null&&(F=uo(v),v!==F||v.tag!==5&&v.tag!==6)&&(v=null)):(g=null,v=d),g!==v)){if(x=Oh,w="onMouseLeave",m="onMouseEnter",p="mouse",(e==="pointerout"||e==="pointerover")&&(x=zh,w="onPointerLeave",m="onPointerEnter",p="pointer"),F=g==null?f:sn(g),h=v==null?f:sn(v),f=new x(w,p+"leave",g,a,u),f.target=F,f.relatedTarget=h,w=null,Qr(u)===d&&(x=new x(m,p+"enter",v,a,u),x.target=h,x.relatedTarget=F,w=x),F=w,g&&v)t:{for(x=g,m=v,p=0,h=x;h;h=en(h))p++;for(h=0,w=m;w;w=en(w))h++;for(;0<p-h;)x=en(x),p--;for(;0<h-p;)m=en(m),h--;for(;p--;){if(x===m||m!==null&&x===m.alternate)break t;x=en(x),m=en(m)}x=null}else x=null;g!==null&&Qh(c,f,g,x,!1),v!==null&&F!==null&&Qh(c,F,v,x,!0)}}e:{if(f=d?sn(d):window,g=f.nodeName&&f.nodeName.toLowerCase(),g==="select"||g==="input"&&f.type==="file")var y=kC;else if(jh(f))if(px)y=AC;else{y=FC;var I=SC}else(g=f.nodeName)&&g.toLowerCase()==="input"&&(f.type==="checkbox"||f.type==="radio")&&(y=PC);if(y&&(y=y(e,d))){fx(c,y,a,u);break e}I&&I(e,f,d),e==="focusout"&&(I=f._wrapperState)&&I.controlled&&f.type==="number"&&lf(f,"number",f.value)}switch(I=d?sn(d):window,e){case"focusin":(jh(I)||I.contentEditable==="true")&&(on=I,yf=d,_i=null);break;case"focusout":_i=yf=on=null;break;case"mousedown":bf=!0;break;case"contextmenu":case"mouseup":case"dragend":bf=!1,$h(c,a,u);break;case"selectionchange":if(MC)break;case"keydown":case"keyup":$h(c,a,u)}var A;if(sp)e:{switch(e){case"compositionstart":var k="onCompositionStart";break e;case"compositionend":k="onCompositionEnd";break e;case"compositionupdate":k="onCompositionUpdate";break e}k=void 0}else rn?ux(e,a)&&(k="onCompositionEnd"):e==="keydown"&&a.keyCode===229&&(k="onCompositionStart");k&&(dx&&a.locale!=="ko"&&(rn||k!=="onCompositionStart"?k==="onCompositionEnd"&&rn&&(A=lx()):(sr=u,op="value"in sr?sr.value:sr.textContent,rn=!0)),I=cd(d,k),0<I.length&&(k=new Vh(k,e,null,a,u),c.push({event:k,listeners:I}),A?k.data=A:(A=cx(a),A!==null&&(k.data=A)))),(A=yC?bC(e,a):CC(e,a))&&(d=cd(d,"onBeforeInput"),0<d.length&&(u=new Vh("onBeforeInput","beforeinput",null,a,u),c.push({event:u,listeners:d}),u.data=A))}Lx(c,t)})}function Zi(e,t,a){return{instance:e,listener:t,currentTarget:a}}function cd(e,t){for(var a=t+"Capture",r=[];e!==null;){var o=e,n=o.stateNode;o.tag===5&&n!==null&&(o=n,n=Hi(e,a),n!=null&&r.unshift(Zi(e,n,o)),n=Hi(e,t),n!=null&&r.push(Zi(e,n,o))),e=e.return}return r}function en(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Qh(e,t,a,r,o){for(var n=t._reactName,i=[];a!==null&&a!==r;){var s=a,l=s.alternate,d=s.stateNode;if(l!==null&&l===r)break;s.tag===5&&d!==null&&(s=d,o?(l=Hi(a,n),l!=null&&i.unshift(Zi(a,l,s))):o||(l=Hi(a,n),l!=null&&i.push(Zi(a,l,s)))),a=a.return}i.length!==0&&e.push({event:t,listeners:i})}var NC=/\r\n?/g,RC=/\u0000|\uFFFD/g;function Jh(e){return(typeof e=="string"?e:""+e).replace(NC,` 6`).replace(RC,"")}function ql(e,t,a){if(t=Jh(t),Jh(e)!==t&&a)throw Error(T(425))}function fd(){}var Cf=null,Lf=null;function If(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var kf=typeof setTimeout=="function"?setTimeout:void 0,BC=typeof clearTimeout=="function"?clearTimeout:void 0,eg=typeof Promise=="function"?Promise:void 0,_C=typeof queueMicrotask=="function"?queueMicrotask:typeof eg<"u"?function(e){return eg.resolve(null).then(e).catch(OC)}:kf;function OC(e){setTimeout(function(){throw e})}function Hc(e,t){var a=t,r=0;do{var o=a.nextSibling;if(e.removeChild(a),o&&o.nodeType===8)if(a=o.data,a==="/$"){if(r===0){e.removeChild(o),$i(t);return}r--}else a!=="$"&&a!=="$?"&&a!=="$!"||r++;a=o}while(a);$i(t)}function fr(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function tg(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var a=e.data;if(a==="$"||a==="$!"||a==="$?"){if(t===0)return e;t--}else a==="/$"&&t++}e=e.previousSibling}return null}var Pn=Math.random().toString(36).slice(2),ua="__reactFiber$"+Pn,Qi="__reactProps$"+Pn,Ea="__reactContainer$"+Pn,Sf="__reactEvents$"+Pn,VC="__reactListeners$"+Pn,zC="__reactHandles$"+Pn;function Qr(e){var t=e[ua];if(t)return t;for(var a=e.parentNode;a;){if(t=a[Ea]||a[ua]){if(a=t.alternate,t.child!==null||a!==null&&a.child!==null)for(e=tg(e);e!==null;){if(a=e[ua])return a;e=tg(e)}return t}e=a,a=e.parentNode}return null}function ss(e){return e=e[ua]||e[Ea],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function sn(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(T(33))}function Md(e){return e[Qi]||null}var Ff=[],ln=-1;function yr(e){return{current:e}}function ge(e){0>ln||(e.current=Ff[ln],Ff[ln]=null,ln--)}function me(e,t){ln++,Ff[ln]=e.current,e.current=t}var vr={},et=yr(vr),ct=yr(!1),ro=vr;function bn(e,t){var a=e.type.contextTypes;if(!a)return vr;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},n;for(n in a)o[n]=t[n];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function ft(e){return e=e.childContextTypes,e!=null}function pd(){ge(ct),ge(et)}function ag(e,t,a){if(et.current!==vr)throw Error(T(168));me(et,t),me(ct,a)}function kx(e,t,a){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return a;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(T(108,Sb(e)||"Unknown",o));return Ie({},a,r)}function md(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||vr,ro=et.current,me(et,e),me(ct,ct.current),!0}function rg(e,t,a){var r=e.stateNode;if(!r)throw Error(T(169));a?(e=kx(e,t,ro),r.__reactInternalMemoizedMergedChildContext=e,ge(ct),ge(et),me(et,e)):ge(ct),me(ct,a)}var Sa=null,Dd=!1,Wc=!1;function Sx(e){Sa===null?Sa=[e]:Sa.push(e)}function UC(e){Dd=!0,Sx(e)}function br(){if(!Wc&&Sa!==null){Wc=!0;var e=0,t=se;try{var a=Sa;for(se=1;e<a.length;e++){var r=a[e];do r=r(!0);while(r!==null)}Sa=null,Dd=!1}catch(o){throw Sa!==null&&(Sa=Sa.slice(e+1)),Zg(ep,br),o}finally{se=t,Wc=!1}}return null}var dn=[],un=0,hd=null,gd=0,Mt=[],Dt=0,oo=null,Fa=1,Pa="";function Yr(e,t){dn[un++]=gd,dn[un++]=hd,hd=e,gd=t}function Fx(e,t,a){Mt[Dt++]=Fa,Mt[Dt++]=Pa,Mt[Dt++]=oo,oo=e;var r=Fa;e=Pa;var o=32-Yt(r)-1;r&=~(1<<o),a+=1;var n=32-Yt(t)+o;if(30<n){var i=o-o%5;n=(r&(1<<i)-1).toString(32),r>>=i,o-=i,Fa=1<<32-Yt(t)+o|a<<o|r,Pa=n+e}else Fa=1<<n|a<<o|r,Pa=e}function dp(e){e.return!==null&&(Yr(e,1),Fx(e,1,0))}function up(e){for(;e===hd;)hd=dn[--un],dn[un]=null,gd=dn[--un],dn[un]=null;for(;e===oo;)oo=Mt[--Dt],Mt[Dt]=null,Pa=Mt[--Dt],Mt[Dt]=null,Fa=Mt[--Dt],Mt[Dt]=null}var It=null,Lt=null,ye=!1,Kt=null;function Px(e,t){var a=Nt(5,null,null,0);a.elementType="DELETED",a.stateNode=t,a.return=e,t=e.deletions,t===null?(e.deletions=[a],e.flags|=16):t.push(a)}function og(e,t){switch(e.tag){case 5:var a=e.type;
vendor: 4,132 bytes, line 6
6return t=t.nodeType!==1||a.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,It=e,Lt=fr(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,It=e,Lt=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(a=oo!==null?{id:Fa,overflow:Pa}:null,e.memoizedState={dehydrated:t,treeContext:a,retryLane:1073741824},a=Nt(18,null,null,0),a.stateNode=t,a.return=e,e.child=a,It=e,Lt=null,!0):!1;default:return!1}}function Pf(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Af(e){if(ye){var t=Lt;if(t){var a=t;if(!og(e,t)){if(Pf(e))throw Error(T(418));t=fr(a.nextSibling);var r=It;t&&og(e,t)?Px(r,a):(e.flags=e.flags&-4097|2,ye=!1,It=e)}}else{if(Pf(e))throw Error(T(418));e.flags=e.flags&-4097|2,ye=!1,It=e}}}function ng(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;It=e}function jl(e){if(e!==It)return!1;if(!ye)return ng(e),ye=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!If(e.type,e.memoizedProps)),t&&(t=Lt)){if(Pf(e))throw Ax(),Error(T(418));for(;t;)Px(e,t),t=fr(t.nextSibling)}if(ng(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(T(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var a=e.data;if(a==="/$"){if(t===0){Lt=fr(e.nextSibling);break e}t--}else a!=="$"&&a!=="$!"&&a!=="$?"||t++}e=e.nextSibling}Lt=null}}else Lt=It?fr(e.stateNode.nextSibling):null;return!0}function Ax(){for(var e=Lt;e;)e=fr(e.nextSibling)}function Cn(){Lt=It=null,ye=!1}function cp(e){Kt===null?Kt=[e]:Kt.push(e)}var qC=Na.ReactCurrentBatchConfig;function ki(e,t,a){if(e=a.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(a._owner){if(a=a._owner,a){if(a.tag!==1)throw Error(T(309));var r=a.stateNode}if(!r)throw Error(T(147,e));var o=r,n=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===n?t.ref:(t=function(i){var s=o.refs;i===null?delete s[n]:s[n]=i},t._stringRef=n,t)}if(typeof e!="string")throw Error(T(284));if(!a._owner)throw Error(T(290,e))}return e}function Hl(e,t){throw e=Object.prototype.toString.call(t),Error(T(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function ig(e){var t=e._init;return t(e._payload)}function Tx(e){function t(m,p){if(e){var h=m.deletions;h===null?(m.deletions=[p],m.flags|=16):h.push(p)}}function a(m,p){if(!e)return null;for(;p!==null;)t(m,p),p=p.sibling;return null}function r(m,p){for(m=new Map;p!==null;)p.key!==null?m.set(p.key,p):m.set(p.index,p),p=p.sibling;return m}function o(m,p){return m=gr(m,p),m.index=0,m.sibling=null,m}function n(m,p,h){return m.index=h,e?(h=m.alternate,h!==null?(h=h.index,h<p?(m.flags|=2,p):h):(m.flags|=2,p)):(m.flags|=1048576,p)}function i(m){return e&&m.alternate===null&&(m.flags|=2),m}function s(m,p,h,w){return p===null||p.tag!==6?(p=Qc(h,m.mode,w),p.return=m,p):(p=o(p,h),p.return=m,p)}function l(m,p,h,w){var y=h.type;return y===an?u(m,p,h.props.children,w,h.key):p!==null&&(p.elementType===y||typeof y=="object"&&y!==null&&y.$$typeof===rr&&ig(y)===p.type)?(w=o(p,h.props),w.ref=ki(m,p,h),w.return=m,w):(w=rd(h.type,h.key,h.props,null,m.mode,w),w.ref=ki(m,p,h),w.return=m,w)}function d(m,p,h,w){return p===null||p.tag!==4||p.stateNode.containerInfo!==h.containerInfo||p.stateNode.implementation!==h.implementation?(p=Jc(h,m.mode,w),p.return=m,p):(p=o(p,h.children||[]),p.return=m,p)}function u(m,p,h,w,y){return p===null||p.tag!==7?(p=ao(h,m.mode,w,y),p.return=m,p):(p=o(p,h),p.return=m,p)}function c(m,p,h){if(typeof p=="string"&&p!==""||typeof p=="number")return p=Qc(""+p,m.mode,h),p.return=m,p;if(typeof p=="object"&&p!==null){switch(p.$$typeof){case Al:return h=rd(p.type,p.key,p.props,null,m.mode,h),h.ref=ki(m,null,p),h.return=m,h;case tn:return p=Jc(p,m.mode,h),p.return=m,p;case rr:var w=p._init;return c(m,w(p._payload),h)}if(Ti(p)||bi(p))return p=ao(p,m.mode,h,null),p.return=m,p;Hl(m,p)}return null}function f(m,p,h,w){var y=p!==null?p.key:null;if(typeof h=="string"&&h!==""||typeof h=="number")return y!==null?null:s(m,p,""+h,w);if(typeof h=="object"&&h!==null){switch(h.$$typeof){case Al:return h.key===y?l
vendor: 11,747 bytes, line 6
6(m,p,h,w):null;case tn:return h.key===y?d(m,p,h,w):null;case rr:return y=h._init,f(m,p,y(h._payload),w)}if(Ti(h)||bi(h))return y!==null?null:u(m,p,h,w,null);Hl(m,h)}return null}function g(m,p,h,w,y){if(typeof w=="string"&&w!==""||typeof w=="number")return m=m.get(h)||null,s(p,m,""+w,y);if(typeof w=="object"&&w!==null){switch(w.$$typeof){case Al:return m=m.get(w.key===null?h:w.key)||null,l(p,m,w,y);case tn:return m=m.get(w.key===null?h:w.key)||null,d(p,m,w,y);case rr:var I=w._init;return g(m,p,h,I(w._payload),y)}if(Ti(w)||bi(w))return m=m.get(h)||null,u(p,m,w,y,null);Hl(p,w)}return null}function v(m,p,h,w){for(var y=null,I=null,A=p,k=p=0,_=null;A!==null&&k<h.length;k++){A.index>k?(_=A,A=null):_=A.sibling;var O=f(m,A,h[k],w);if(O===null){A===null&&(A=_);break}e&&A&&O.alternate===null&&t(m,A),p=n(O,p,k),I===null?y=O:I.sibling=O,I=O,A=_}if(k===h.length)return a(m,A),ye&&Yr(m,k),y;if(A===null){for(;k<h.length;k++)A=c(m,h[k],w),A!==null&&(p=n(A,p,k),I===null?y=A:I.sibling=A,I=A);return ye&&Yr(m,k),y}for(A=r(m,A);k<h.length;k++)_=g(A,m,k,h[k],w),_!==null&&(e&&_.alternate!==null&&A.delete(_.key===null?k:_.key),p=n(_,p,k),I===null?y=_:I.sibling=_,I=_);return e&&A.forEach(function(de){return t(m,de)}),ye&&Yr(m,k),y}function x(m,p,h,w){var y=bi(h);if(typeof y!="function")throw Error(T(150));if(h=y.call(h),h==null)throw Error(T(151));for(var I=y=null,A=p,k=p=0,_=null,O=h.next();A!==null&&!O.done;k++,O=h.next()){A.index>k?(_=A,A=null):_=A.sibling;var de=f(m,A,O.value,w);if(de===null){A===null&&(A=_);break}e&&A&&de.alternate===null&&t(m,A),p=n(de,p,k),I===null?y=de:I.sibling=de,I=de,A=_}if(O.done)return a(m,A),ye&&Yr(m,k),y;if(A===null){for(;!O.done;k++,O=h.next())O=c(m,O.value,w),O!==null&&(p=n(O,p,k),I===null?y=O:I.sibling=O,I=O);return ye&&Yr(m,k),y}for(A=r(m,A);!O.done;k++,O=h.next())O=g(A,m,k,O.value,w),O!==null&&(e&&O.alternate!==null&&A.delete(O.key===null?k:O.key),p=n(O,p,k),I===null?y=O:I.sibling=O,I=O);return e&&A.forEach(function(oe){return t(m,oe)}),ye&&Yr(m,k),y}function F(m,p,h,w){if(typeof h=="object"&&h!==null&&h.type===an&&h.key===null&&(h=h.props.children),typeof h=="object"&&h!==null){switch(h.$$typeof){case Al:e:{for(var y=h.key,I=p;I!==null;){if(I.key===y){if(y=h.type,y===an){if(I.tag===7){a(m,I.sibling),p=o(I,h.props.children),p.return=m,m=p;break e}}else if(I.elementType===y||typeof y=="object"&&y!==null&&y.$$typeof===rr&&ig(y)===I.type){a(m,I.sibling),p=o(I,h.props),p.ref=ki(m,I,h),p.return=m,m=p;break e}a(m,I);break}else t(m,I);I=I.sibling}h.type===an?(p=ao(h.props.children,m.mode,w,h.key),p.return=m,m=p):(w=rd(h.type,h.key,h.props,null,m.mode,w),w.ref=ki(m,p,h),w.return=m,m=w)}return i(m);case tn:e:{for(I=h.key;p!==null;){if(p.key===I)if(p.tag===4&&p.stateNode.containerInfo===h.containerInfo&&p.stateNode.implementation===h.implementation){a(m,p.sibling),p=o(p,h.children||[]),p.return=m,m=p;break e}else{a(m,p);break}else t(m,p);p=p.sibling}p=Jc(h,m.mode,w),p.return=m,m=p}return i(m);case rr:return I=h._init,F(m,p,I(h._payload),w)}if(Ti(h))return v(m,p,h,w);if(bi(h))return x(m,p,h,w);Hl(m,h)}return typeof h=="string"&&h!==""||typeof h=="number"?(h=""+h,p!==null&&p.tag===6?(a(m,p.sibling),p=o(p,h),p.return=m,m=p):(a(m,p),p=Qc(h,m.mode,w),p.return=m,m=p),i(m)):a(m,p)}return F}var Ln=Tx(!0),Ex=Tx(!1),xd=yr(null),vd=null,cn=null,fp=null;function pp(){fp=cn=vd=null}function mp(e){var t=xd.current;ge(xd),e._currentValue=t}function Tf(e,t,a){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===a)break;e=e.return}}function vn(e,t){vd=e,fp=cn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!==0&&(ut=!0),e.firstContext=null)}function Bt(e){var t=e._currentValue;if(fp!==e)if(e={context:e,memoizedValue:t,next:null},cn===null){if(vd===null)throw Error(T(308));cn=e,vd.dependencies={lanes:0,firstContext:e}}else cn=cn.next=e;return t}var Jr=null;function hp(e){Jr===null?Jr=[e]:Jr.push(e)}function Mx(e,t,a,r){var o=t.interleaved;return o===null?(a.next=a,hp(t)):(a.next=o.next,o.next=a),t.interleaved=a,Ma(e,r)}function Ma(e,t){e.lanes|=t;var a=e.alternate;for(a!==null&&(a.lanes|=t),a=e,e=e.return;e!==null;)e.childLanes|=t,a=e.alternate,a!==null&&(a.childLanes|=t),a=e,e=e.return;return a.tag===3?a.stateNode:null}var or=!1;function gp(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Dx(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Aa(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function pr(e,t,a){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,(re&2)!==0){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,Ma(e,a)}return o=r.interleaved,o===null?(t.next=t,hp(r)):(t.next=o.next,o.next=t),r.interleaved=t,Ma(e,a)}function Zl(e,t,a){if(t=t.updateQueue,t!==null&&(t=t.shared,(a&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,a|=r,t.lanes=a,tp(e,a)}}function sg(e,t){var a=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,a===r)){var o=null,n=null;if(a=a.firstBaseUpdate,a!==null){do{var i={eventTime:a.eventTime,lane:a.lane,tag:a.tag,payload:a.payload,callback:a.callback,next:null};n===null?o=n=i:n=n.next=i,a=a.next}while(a!==null);n===null?o=n=t:n=n.next=t}else o=n=t;a={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:n,shared:r.shared,effects:r.effects},e.updateQueue=a;return}e=a.lastBaseUpdate,e===null?a.firstBaseUpdate=t:e.next=t,a.lastBaseUpdate=t}function wd(e,t,a,r){var o=e.updateQueue;or=!1;var n=o.firstBaseUpdate,i=o.lastBaseUpdate,s=o.shared.pending;if(s!==null){o.shared.pending=null;var l=s,d=l.next;l.next=null,i===null?n=d:i.next=d,i=l;var u=e.alternate;u!==null&&(u=u.updateQueue,s=u.lastBaseUpdate,s!==i&&(s===null?u.firstBaseUpdate=d:s.next=d,u.lastBaseUpdate=l))}if(n!==null){var c=o.baseState;i=0,u=d=l=null,s=n;do{var f=s.lane,g=s.eventTime;if((r&f)===f){u!==null&&(u=u.next={eventTime:g,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var v=e,x=s;switch(f=t,g=a,x.tag){case 1:if(v=x.payload,typeof v=="function"){c=v.call(g,c,f);break e}c=v;break e;case 3:v.flags=v.flags&-65537|128;case 0:if(v=x.payload,f=typeof v=="function"?v.call(g,c,f):v,f==null)break e;c=Ie({},c,f);break e;case 2:or=!0}}s.callback!==null&&s.lane!==0&&(e.flags|=64,f=o.effects,f===null?o.effects=[s]:f.push(s))}else g={eventTime:g,lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},u===null?(d=u=g,l=c):u=u.next=g,i|=f;if(s=s.next,s===null){if(s=o.shared.pending,s===null)break;f=s,s=f.next,f.next=null,o.lastBaseUpdate=f,o.shared.pending=null}}while(!0);if(u===null&&(l=c),o.baseState=l,o.firstBaseUpdate=d,o.lastBaseUpdate=u,t=o.shared.interleaved,t!==null){o=t;do i|=o.lane,o=o.next;while(o!==t)}else n===null&&(o.shared.lanes=0);io|=i,e.lanes=i,e.memoizedState=c}}function lg(e,t,a){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(o!==null){if(r.callback=null,r=a,typeof o!="function")throw Error(T(191,o));o.call(r)}}}var ls={},fa=yr(ls),Ji=yr(ls),es=yr(ls);function eo(e){if(e===ls)throw Error(T(174));return e}function xp(e,t){switch(me(es,t),me(Ji,e),me(fa,ls),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:uf(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=uf(t,e)}ge(fa),me(fa,t)}function In(){ge(fa),ge(Ji),ge(es)}function Nx(e){eo(es.current);var t=eo(fa.current),a=uf(t,e.type);t!==a&&(me(Ji,e),me(fa,a))}function vp(e){Ji.current===e&&(ge(fa),ge(Ji))}var Ce=yr(0);function yd(e){for(var t=e;t!==null;){if(t.tag===13){var a=t.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||a.data==="$?"||a.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Gc=[];function wp(){for(var e=0;e<Gc.length;e++)Gc[e]._workInProgressVersionPrimary=null;Gc.length=0}var Ql=Na.ReactCurrentDispatcher,$c=Na.ReactCurrentBatchConfig,no=0,Le=null,Be=null,Ue=null,bd=!1,Oi=!1,ts=0,jC=0;function Ze(){throw Error(T(321))}function yp(e,t){if(t===null)return!1;for(var a=0;a<t.length&&a<e.length;a++)if(!Qt(e[a],t[a]))return!1;return!0}function bp(e,t,a,r,o,n){if(no=n,Le=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Ql.current=e===null||e.memoizedState===null?$C:XC,e=a(r,o),Oi){n=0;do{if(Oi=!1,ts=0,25<=n)throw Error(T(301));n+=1,Ue=Be=null,t.updateQueue=null,Ql.current=KC,e=a(r,o)}while(Oi)}if(Ql.current=Cd,t=Be!==null&&Be.next!==null,no=0,Ue=Be=Le=null,bd=!1,t)throw Error(T(300));return e}function Cp(){var e=ts!==0;return ts=0,e}function da(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ue===null?Le.memoizedState=Ue=e:Ue=Ue.next=e,Ue}function _t(){if(Be===null){var e=Le.alternate;e=e!==null?e.memoizedState:null}else e=Be.next;var t=Ue===null?Le.memoizedState:Ue.next;if(t!==null)Ue=t,Be=e;else{if(e===null)throw Error(T(310));Be=e,e={memoizedState:Be.memoizedState,baseState:Be.baseState,baseQueue:Be.baseQueue,queue:Be.queue,next:null},Ue===null?Le.memoizedState=Ue=e:Ue=Ue.next=e}return Ue}function as(e,t){return typeof t=="function"?t(e):t}function Xc(e){var t=_t(),a=t.queue;if(a===null)throw Error(T(311));a.lastRenderedReducer=e;var r=Be,o=r.baseQueue,n=a.pending;if(n!==null){if(o!==null){var i=o.next;o.next=n.next,n.next=i}r.baseQueue=o=n,a.pending=null}if(o!==null){n=o.next,r=r.baseState;var s=i=null,l=null,d=n;do{var u=d.lane;if((no&u)===u)l!==null&&(l=l.next={lane:0,action:d.action,hasEagerState:d.hasEagerState,eagerState:d.eagerState,next:null}),r=d.hasEagerState?d.eagerState:e(r,d.action);else{var c={lane:u,action:d.action,hasEagerState:d.hasEagerState,eagerState:d.eagerState,next:null};l===null?(s=l=c,i=r):l=l.next=c,Le.lanes|=u,io|=u}d=d.next}while(d!==null&&d!==n);l===null?i=r:l.next=s,Qt(r,t.memoizedState)||(ut=!0),t.memoizedState=r,t.baseState=i,t.baseQueue=l,a.lastRenderedState=r}if(e=a.interleaved,e!==null){o=e;do n=o.lane,Le.lanes|=n,io|=n,o=o.next;while(o!==e)}else o===null&&(a.lanes=0);return[t.memoizedState,a.dispatch]}function Kc(e){var t=_t(),a=t.queue;if(a===null)throw Error(T(311));a.lastRenderedReducer=e;var r=a.dispatch,o=a.pending,n=t.memoizedState;if(o!==null){a.pending=null;var i=o=o.next;do n=e(n,i.action),i=i.next;while(i!==o);Qt(n,t.memoizedState)||(ut=!0),t.memoizedState=n,t.baseQueue===null&&(t.baseState=n),a.lastRenderedState=n}return[n,r]}function Rx(){}function Bx(e,t){var a=Le,r=_t(),o=t(),n=!Qt(r.memoizedState,o);if(n&&(r.memoizedState=o,ut=!0),r=r.queue,Lp(Vx.bind(null,a,r,e),[e]),r.getSnapshot!==t||n||Ue!==null&&Ue.memoizedState.tag&1){if(a.flags|=2048,rs(9,Ox.bind(null,a,r,o,t),void 0,null),qe===null)throw Error(T(349));(no&30)!==0||_x(a,t,o)}return o}function _x(e,t,a){e.flags|=16384,e={getSnapshot:t,value:a},t=Le.updateQueue,t===null?(t={lastEffect:null,stores:null},Le.updateQueue=t,t.stores=[e]):(a=t.stores,a===null?t.stores=[e]:a.push(e))}function Ox(e,t,a,r){t.value=a,t.getSnapshot=r,zx(t)&&Ux(e)}function Vx(e,t,a){return a(function(){zx(t)&&Ux(e)})}function zx(e){var t=e.getSnapshot;e=e.value;try{var a=t();return!Qt(e,a)}catch{return!0}}function Ux(e){var t=Ma(e,1);t!==null&&Zt(t,e,1,-1)}function dg(e){var t=da();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:as,lastRenderedState:e}
vendor: 4,802 bytes, line 6
6,t.queue=e,e=e.dispatch=GC.bind(null,Le,e),[t.memoizedState,e]}function rs(e,t,a,r){return e={tag:e,create:t,destroy:a,deps:r,next:null},t=Le.updateQueue,t===null?(t={lastEffect:null,stores:null},Le.updateQueue=t,t.lastEffect=e.next=e):(a=t.lastEffect,a===null?t.lastEffect=e.next=e:(r=a.next,a.next=e,e.next=r,t.lastEffect=e)),e}function qx(){return _t().memoizedState}function Jl(e,t,a,r){var o=da();Le.flags|=e,o.memoizedState=rs(1|t,a,void 0,r===void 0?null:r)}function Nd(e,t,a,r){var o=_t();r=r===void 0?null:r;var n=void 0;if(Be!==null){var i=Be.memoizedState;if(n=i.destroy,r!==null&&yp(r,i.deps)){o.memoizedState=rs(t,a,n,r);return}}Le.flags|=e,o.memoizedState=rs(1|t,a,n,r)}function ug(e,t){return Jl(8390656,8,e,t)}function Lp(e,t){return Nd(2048,8,e,t)}function jx(e,t){return Nd(4,2,e,t)}function Hx(e,t){return Nd(4,4,e,t)}function Wx(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Gx(e,t,a){return a=a!=null?a.concat([e]):null,Nd(4,4,Wx.bind(null,t,e),a)}function Ip(){}function $x(e,t){var a=_t();t=t===void 0?null:t;var r=a.memoizedState;return r!==null&&t!==null&&yp(t,r[1])?r[0]:(a.memoizedState=[e,t],e)}function Xx(e,t){var a=_t();t=t===void 0?null:t;var r=a.memoizedState;return r!==null&&t!==null&&yp(t,r[1])?r[0]:(e=e(),a.memoizedState=[e,t],e)}function Kx(e,t,a){return(no&21)===0?(e.baseState&&(e.baseState=!1,ut=!0),e.memoizedState=a):(Qt(a,t)||(a=ex(),Le.lanes|=a,io|=a,e.baseState=!0),t)}function HC(e,t){var a=se;se=a!==0&&4>a?a:4,e(!0);var r=$c.transition;$c.transition={};try{e(!1),t()}finally{se=a,$c.transition=r}}function Yx(){return _t().memoizedState}function WC(e,t,a){var r=hr(e);if(a={lane:r,action:a,hasEagerState:!1,eagerState:null,next:null},Zx(e))Qx(t,a);else if(a=Mx(e,t,a,r),a!==null){var o=st();Zt(a,e,r,o),Jx(a,t,r)}}function GC(e,t,a){var r=hr(e),o={lane:r,action:a,hasEagerState:!1,eagerState:null,next:null};if(Zx(e))Qx(t,o);else{var n=e.alternate;if(e.lanes===0&&(n===null||n.lanes===0)&&(n=t.lastRenderedReducer,n!==null))try{var i=t.lastRenderedState,s=n(i,a);if(o.hasEagerState=!0,o.eagerState=s,Qt(s,i)){var l=t.interleaved;l===null?(o.next=o,hp(t)):(o.next=l.next,l.next=o),t.interleaved=o;return}}catch{}finally{}a=Mx(e,t,o,r),a!==null&&(o=st(),Zt(a,e,r,o),Jx(a,t,r))}}function Zx(e){var t=e.alternate;return e===Le||t!==null&&t===Le}function Qx(e,t){Oi=bd=!0;var a=e.pending;a===null?t.next=t:(t.next=a.next,a.next=t),e.pending=t}function Jx(e,t,a){if((a&4194240)!==0){var r=t.lanes;r&=e.pendingLanes,a|=r,t.lanes=a,tp(e,a)}}var Cd={readContext:Bt,useCallback:Ze,useContext:Ze,useEffect:Ze,useImperativeHandle:Ze,useInsertionEffect:Ze,useLayoutEffect:Ze,useMemo:Ze,useReducer:Ze,useRef:Ze,useState:Ze,useDebugValue:Ze,useDeferredValue:Ze,useTransition:Ze,useMutableSource:Ze,useSyncExternalStore:Ze,useId:Ze,unstable_isNewReconciler:!1},$C={readContext:Bt,useCallback:function(e,t){return da().memoizedState=[e,t===void 0?null:t],e},useContext:Bt,useEffect:ug,useImperativeHandle:function(e,t,a){return a=a!=null?a.concat([e]):null,Jl(4194308,4,Wx.bind(null,t,e),a)},useLayoutEffect:function(e,t){return Jl(4194308,4,e,t)},useInsertionEffect:function(e,t){return Jl(4,2,e,t)},useMemo:function(e,t){var a=da();return t=t===void 0?null:t,e=e(),a.memoizedState=[e,t],e},useReducer:function(e,t,a){var r=da();return t=a!==void 0?a(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=WC.bind(null,Le,e),[r.memoizedState,e]},useRef:function(e){var t=da();return e={current:e},t.memoizedState=e},useState:dg,useDebugValue:Ip,useDeferredValue:function(e){return da().memoizedState=e},useTransition:function(){var e=dg(!1),t=e[0];return e=HC.bind(null,e[1]),da().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,a){var r=Le,o=da();if(ye){if(a===void 0)throw Error(T(407));a=a()}else{if(a=t(),qe===null)throw Error(T(349));(no&30)!==0||_x(r,t,a)}o.memoizedState=a;var n={value:a,getSnapshot:t};return o.queue=n,ug(Vx.bind(null,r,n,e),[e]),r.flags|=2048,rs(9,Ox.bind(null,r,n,a,t),void 0,null),a},useId:function(){var e=da(),t=qe.identifierPrefix;if(ye){var a=Pa,r=Fa;a=(r&~(1<<32-Yt(r)-1)).toString(32)+a,t=":"+t+"R"+a,a=ts++,0<a&&(t+="H"+a.toString(32)),t+=":"}else a=jC++,t=":"+t+"r"+a.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},XC={readContext:Bt,useCallback:$x,useContext:Bt,useEffect:Lp,useImperativeHandle:Gx,useInsertionEffect:jx,useLayoutEffect:Hx,useMemo:Xx,useReducer:Xc,useRef:qx,useState:function(){return Xc(as)},useDebugValue:Ip,useDeferredValue:function(e){var t=_t();return Kx(t,Be.memoizedState,e)},useTransition:function(){var e=Xc(as)[0],t=_t().memoizedState;return[e,t]}
vendor: 1,623 bytes, line 6
6,useMutableSource:Rx,useSyncExternalStore:Bx,useId:Yx,unstable_isNewReconciler:!1},KC={readContext:Bt,useCallback:$x,useContext:Bt,useEffect:Lp,useImperativeHandle:Gx,useInsertionEffect:jx,useLayoutEffect:Hx,useMemo:Xx,useReducer:Kc,useRef:qx,useState:function(){return Kc(as)},useDebugValue:Ip,useDeferredValue:function(e){var t=_t();return Be===null?t.memoizedState=e:Kx(t,Be.memoizedState,e)},useTransition:function(){var e=Kc(as)[0],t=_t().memoizedState;return[e,t]},useMutableSource:Rx,useSyncExternalStore:Bx,useId:Yx,unstable_isNewReconciler:!1};function $t(e,t){if(e&&e.defaultProps){t=Ie({},t),e=e.defaultProps;for(var a in e)t[a]===void 0&&(t[a]=e[a]);return t}return t}function Ef(e,t,a,r){t=e.memoizedState,a=a(r,t),a=a==null?t:Ie({},t,a),e.memoizedState=a,e.lanes===0&&(e.updateQueue.baseState=a)}var Rd={isMounted:function(e){return(e=e._reactInternals)?uo(e)===e:!1},enqueueSetState:function(e,t,a){e=e._reactInternals;var r=st(),o=hr(e),n=Aa(r,o);n.payload=t,a!=null&&(n.callback=a),t=pr(e,n,o),t!==null&&(Zt(t,e,o,r),Zl(t,e,o))},enqueueReplaceState:function(e,t,a){e=e._reactInternals;var r=st(),o=hr(e),n=Aa(r,o);n.tag=1,n.payload=t,a!=null&&(n.callback=a),t=pr(e,n,o),t!==null&&(Zt(t,e,o,r),Zl(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var a=st(),r=hr(e),o=Aa(a,r);o.tag=2,t!=null&&(o.callback=t),t=pr(e,o,r),t!==null&&(Zt(t,e,r,a),Zl(t,e,r))}};function cg(e,t,a,r,o,n,i){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,n,i):t.prototype&&t.prototype.isPureReactComponent?!Ki(a,r)||!Ki(o,n):!0}function ev(e,t,a){var r=!1,o=vr,n=t.contextType;
vendor: 4,605 bytes, lines 6-8
6return typeof n=="object"&&n!==null?n=Bt(n):(o=ft(t)?ro:et.current,r=t.contextTypes,n=(r=r!=null)?bn(e,o):vr),t=new t(a,n),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Rd,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=n),t}function fg(e,t,a,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(a,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(a,r),t.state!==e&&Rd.enqueueReplaceState(t,t.state,null)}function Mf(e,t,a,r){var o=e.stateNode;o.props=a,o.state=e.memoizedState,o.refs={},gp(e);var n=t.contextType;typeof n=="object"&&n!==null?o.context=Bt(n):(n=ft(t)?ro:et.current,o.context=bn(e,n)),o.state=e.memoizedState,n=t.getDerivedStateFromProps,typeof n=="function"&&(Ef(e,t,n,a),o.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof o.getSnapshotBeforeUpdate=="function"||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(t=o.state,typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount(),t!==o.state&&Rd.enqueueReplaceState(o,o.state,null),wd(e,a,o,r),o.state=e.memoizedState),typeof o.componentDidMount=="function"&&(e.flags|=4194308)}function kn(e,t){try{var a="",r=t;do a+=kb(r),r=r.return;while(r);var o=a}catch(n){o=` 7Error generating stack: `+n.message+` 8`+n.stack}return{value:e,source:t,stack:o,digest:null}}function Yc(e,t,a){return{value:e,source:null,stack:a??null,digest:t??null}}function Df(e,t){try{console.error(t.value)}catch(a){setTimeout(function(){throw a})}}var YC=typeof WeakMap=="function"?WeakMap:Map;function tv(e,t,a){a=Aa(-1,a),a.tag=3,a.payload={element:null};var r=t.value;return a.callback=function(){Id||(Id=!0,jf=r),Df(e,t)},a}function av(e,t,a){a=Aa(-1,a),a.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var o=t.value;a.payload=function(){return r(o)},a.callback=function(){Df(e,t)}}var n=e.stateNode;return n!==null&&typeof n.componentDidCatch=="function"&&(a.callback=function(){Df(e,t),typeof r!="function"&&(mr===null?mr=new Set([this]):mr.add(this));var i=t.stack;this.componentDidCatch(t.value,{componentStack:i!==null?i:""})}),a}function pg(e,t,a){var r=e.pingCache;if(r===null){r=e.pingCache=new YC;var o=new Set;r.set(t,o)}else o=r.get(t),o===void 0&&(o=new Set,r.set(t,o));o.has(a)||(o.add(a),e=uL.bind(null,e,t,a),t.then(e,e))}function mg(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function hg(e,t,a,r,o){return(e.mode&1)===0?(e===t?e.flags|=65536:(e.flags|=128,a.flags|=131072,a.flags&=-52805,a.tag===1&&(a.alternate===null?a.tag=17:(t=Aa(-1,1),t.tag=2,pr(a,t,1))),a.lanes|=1),e):(e.flags|=65536,e.lanes=o,e)}var ZC=Na.ReactCurrentOwner,ut=!1;function it(e,t,a,r){t.child=e===null?Ex(t,null,a,r):Ln(t,e.child,a,r)}function gg(e,t,a,r,o){a=a.render;var n=t.ref;return vn(t,o),r=bp(e,t,a,r,n,o),a=Cp(),e!==null&&!ut?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Da(e,t,o)):(ye&&a&&dp(t),t.flags|=1,it(e,t,r,o),t.child)}function xg(e,t,a,r,o){if(e===null){var n=a.type;return typeof n=="function"&&!Mp(n)&&n.defaultProps===void 0&&a.compare===null&&a.defaultProps===void 0?(t.tag=15,t.type=n,rv(e,t,n,r,o)):(e=rd(a.type,null,r,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(n=e.child,(e.lanes&o)===0){var i=n.memoizedProps;if(a=a.compare,a=a!==null?a:Ki,a(i,r)&&e.ref===t.ref)return Da(e,t,o)}return t.flags|=1,e=gr(n,r),e.ref=t.ref,e.return=t,t.child=e}function rv(e,t,a,r,o){if(e!==null){var n=e.memoizedProps;if(Ki(n,r)&&e.ref===t.ref)if(ut=!1,t.pendingProps=r=n,(e.lanes&o)!==0)(e.flags&131072)!==0&&(ut=!0);else return t.lanes=e.lanes,Da(e,t,o)}return Nf(e,t,a,r,o)}function ov(e,t,a){var r=t.pendingProps,o=r.children,n=e!==null?e.memoizedState:null;if(r.mode==="hidden")if((t.mode&1)===0)t.memoizedState={baseLanes:0,cachePool:null,transitions:null},me(pn,Ct),Ct|=a;else{if((a&1073741824)===0)return e=n!==null?n.baseLanes|a:a,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,me(pn,Ct),Ct|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=n!==null?n.baseLanes:a,me(pn,Ct),Ct|=r}else n!==null?(r=n.baseLanes|a,t.memoizedState=null):r=a,me(pn,Ct),Ct|=r;return it(e,t,o,a),t.child}function nv(e,t){var a=t.ref;(e===null&&a!==null||e!==null&&e.ref!==a)&&(t.flags|=512,t.flags|=2097152)}
vendor: 7,461 bytes, line 8
8function Nf(e,t,a,r,o){var n=ft(a)?ro:et.current;return n=bn(t,n),vn(t,o),a=bp(e,t,a,r,n,o),r=Cp(),e!==null&&!ut?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Da(e,t,o)):(ye&&r&&dp(t),t.flags|=1,it(e,t,a,o),t.child)}function vg(e,t,a,r,o){if(ft(a)){var n=!0;md(t)}else n=!1;if(vn(t,o),t.stateNode===null)ed(e,t),ev(t,a,r),Mf(t,a,r,o),r=!0;else if(e===null){var i=t.stateNode,s=t.memoizedProps;i.props=s;var l=i.context,d=a.contextType;typeof d=="object"&&d!==null?d=Bt(d):(d=ft(a)?ro:et.current,d=bn(t,d));var u=a.getDerivedStateFromProps,c=typeof u=="function"||typeof i.getSnapshotBeforeUpdate=="function";c||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(s!==r||l!==d)&&fg(t,i,r,d),or=!1;var f=t.memoizedState;i.state=f,wd(t,r,i,o),l=t.memoizedState,s!==r||f!==l||ct.current||or?(typeof u=="function"&&(Ef(t,a,u,r),l=t.memoizedState),(s=or||cg(t,a,s,r,f,l,d))?(c||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount()),typeof i.componentDidMount=="function"&&(t.flags|=4194308)):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),i.props=r,i.state=l,i.context=d,r=s):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,Dx(e,t),s=t.memoizedProps,d=t.type===t.elementType?s:$t(t.type,s),i.props=d,c=t.pendingProps,f=i.context,l=a.contextType,typeof l=="object"&&l!==null?l=Bt(l):(l=ft(a)?ro:et.current,l=bn(t,l));var g=a.getDerivedStateFromProps;(u=typeof g=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(s!==c||f!==l)&&fg(t,i,r,l),or=!1,f=t.memoizedState,i.state=f,wd(t,r,i,o);var v=t.memoizedState;s!==c||f!==v||ct.current||or?(typeof g=="function"&&(Ef(t,a,g,r),v=t.memoizedState),(d=or||cg(t,a,d,r,f,v,l)||!1)?(u||typeof i.UNSAFE_componentWillUpdate!="function"&&typeof i.componentWillUpdate!="function"||(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(r,v,l),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(r,v,l)),typeof i.componentDidUpdate=="function"&&(t.flags|=4),typeof i.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof i.componentDidUpdate!="function"||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=v),i.props=r,i.state=v,i.context=l,r=d):(typeof i.componentDidUpdate!="function"||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return Rf(e,t,a,r,n,o)}function Rf(e,t,a,r,o,n){nv(e,t);var i=(t.flags&128)!==0;if(!r&&!i)return o&&rg(t,a,!1),Da(e,t,n);r=t.stateNode,ZC.current=t;var s=i&&typeof a.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&i?(t.child=Ln(t,e.child,null,n),t.child=Ln(t,null,s,n)):it(e,t,s,n),t.memoizedState=r.state,o&&rg(t,a,!0),t.child}function iv(e){var t=e.stateNode;t.pendingContext?ag(e,t.pendingContext,t.pendingContext!==t.context):t.context&&ag(e,t.context,!1),xp(e,t.containerInfo)}function wg(e,t,a,r,o){return Cn(),cp(o),t.flags|=256,it(e,t,a,r),t.child}var Bf={dehydrated:null,treeContext:null,retryLane:0};function _f(e){return{baseLanes:e,cachePool:null,transitions:null}}function sv(e,t,a){var r=t.pendingProps,o=Ce.current,n=!1,i=(t.flags&128)!==0,s;if((s=i)||(s=e!==null&&e.memoizedState===null?!1:(o&2)!==0),s?(n=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(o|=1),me(Ce,o&1),e===null)return Af(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?((t.mode&1)===0?t.lanes=1:e.data==="$!"?t.lanes=8:t.lanes=1073741824,null):(i=r.children,e=r.fallback,n?(r=t.mode,n=t.child,i={mode:"hidden",children:i},(r&1)===0&&n!==null?(n.childLanes=0,n.pendingProps=i):n=Od(i,r,0,null),e=ao(e,r,a,null),n.return=t,e.return=t,n.sibling=e,t.child=n,t.child.memoizedState=_f(a),t.memoizedState=Bf,e):kp(t,i));if(o=e.memoizedState,o!==null&&(s=o.dehydrated,s!==null))return QC(e,t,i,r,s,o,a);if(n){n=r.fallback,i=t.mode,o=e.child,s=o.sibling;var l={mode:"hidden",children:r.children};return(i&1)===0&&t.child!==o?(r=t.child,r.childLanes=0,r.pendingProps=l,t.deletions=null):(r=gr(o,l),r.subtreeFlags=o.subtreeFlags&14680064),s!==null?n=gr(s,n):(n=ao(n,i,a,null),n.flags|=2),n.return=t,r.return=t,r.sibling=n,t.child=r,r=n,n=t.child,i=e.child.memoizedState,i=i===null?_f(a):{baseLanes:i.baseLanes|a,cachePool:null,transitions:i.transitions},n.memoizedState=i,n.childLanes=e.childLanes&~a,t.memoizedState=Bf,r}return n=e.child,e=n.sibling,r=gr(n,{mode:"visible",children:r.children}),(t.mode&1)===0&&(r.lanes=a),r.return=t,r.sibling=null,e!==null&&(a=t.deletions,a===null?(t.deletions=[e],t.flags|=16):a.push(e)),t.child=r,t.memoizedState=null,r}function kp(e,t){return t=Od({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Wl(e,t,a,r){return r!==null&&cp(r),Ln(t,e.child,null,a),e=kp(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function QC(e,t,a,r,o,n,i){if(a)return t.flags&256?(t.flags&=-257,r=Yc(Error(T(422))),Wl(e,t,i,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(n=r.fallback,o=t.mode,r=Od({mode:"visible",children:r.children},o,0,null),n=ao(n,o,i,null),n.flags|=2,r.return=t,n.return=t,r.sibling=n,t.child=r,(t.mode&1)!==0&&Ln(t,e.child,null,i),t.child.memoizedState=_f(i),t.memoizedState=Bf,n);if((t.mode&1)===0)return Wl(e,t,i,null);if(o.data==="$!"){if(r=o.nextSibling&&o.nextSibling.dataset,r)var s=r.dgst;return r=s,n=Error(T(419)),r=Yc(n,r,void 0),Wl(e,t,i,r)}if(s=(i&e.childLanes)!==0,ut||s){if(r=qe,r!==null){switch(i&-i){case 4:o=2;break;case 16:o=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:o=32;break;case 536870912:o=268435456;break;default:o=0}o=(o&(r.suspendedLanes|i))!==0?0:o,o!==0&&o!==n.retryLane&&(n.retryLane=o,Ma(e,o),Zt(r,e,o,-1))}return Ep(),r=Yc(Error(T(421))),Wl(e,t,i,r)}return o.data==="$?"?(t.flags|=128,t.child=e.child,t=cL.bind(null,e),o._reactRetry=t,null):(e=n.treeContext,Lt=fr(o.nextSibling),It=t,ye=!0,Kt=null,e!==null&&(Mt[Dt++]=Fa,Mt[Dt++]=Pa,Mt[Dt++]=oo,Fa=e.id,Pa=e.overflow,oo=t),t=kp(t,r.children),t.flags|=4096,t)}function yg(e,t,a){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Tf(e.return,t,a)}function Zc(e,t,a,r,o){var n=e.memoizedState;n===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:a,tailMode:o}:(n.isBackwards=t,n.rendering=null,n.renderingStartTime=0,n.last=r,n.tail=a,n.tailMode=o)}function lv(e,t,a){var r=t.pendingProps,o=r.revealOrder,n=r.tail;if(it(e,t,r.children,a),r=Ce.current,(r&2)!==0)r=r&1|2,t.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&yg(e,a,t);else if(e.tag===19)yg(e,a,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}
vendor: 4,944 bytes, line 8
8if(me(Ce,r),(t.mode&1)===0)t.memoizedState=null;else switch(o){case"forwards":for(a=t.child,o=null;a!==null;)e=a.alternate,e!==null&&yd(e)===null&&(o=a),a=a.sibling;a=o,a===null?(o=t.child,t.child=null):(o=a.sibling,a.sibling=null),Zc(t,!1,o,a,n);break;case"backwards":for(a=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&yd(e)===null){t.child=o;break}e=o.sibling,o.sibling=a,a=o,o=e}Zc(t,!0,a,null,n);break;case"together":Zc(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function ed(e,t){(t.mode&1)===0&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Da(e,t,a){if(e!==null&&(t.dependencies=e.dependencies),io|=t.lanes,(a&t.childLanes)===0)return null;if(e!==null&&t.child!==e.child)throw Error(T(153));if(t.child!==null){for(e=t.child,a=gr(e,e.pendingProps),t.child=a,a.return=t;e.sibling!==null;)e=e.sibling,a=a.sibling=gr(e,e.pendingProps),a.return=t;a.sibling=null}return t.child}function JC(e,t,a){switch(t.tag){case 3:iv(t),Cn();break;case 5:Nx(t);break;case 1:ft(t.type)&&md(t);break;case 4:xp(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;me(xd,r._currentValue),r._currentValue=o;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(me(Ce,Ce.current&1),t.flags|=128,null):(a&t.child.childLanes)!==0?sv(e,t,a):(me(Ce,Ce.current&1),e=Da(e,t,a),e!==null?e.sibling:null);me(Ce,Ce.current&1);break;case 19:if(r=(a&t.childLanes)!==0,(e.flags&128)!==0){if(r)return lv(e,t,a);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),me(Ce,Ce.current),r)break;return null;case 22:case 23:return t.lanes=0,ov(e,t,a)}return Da(e,t,a)}var dv,Of,uv,cv;dv=function(e,t){for(var a=t.child;a!==null;){if(a.tag===5||a.tag===6)e.appendChild(a.stateNode);else if(a.tag!==4&&a.child!==null){a.child.return=a,a=a.child;continue}if(a===t)break;for(;a.sibling===null;){if(a.return===null||a.return===t)return;a=a.return}a.sibling.return=a.return,a=a.sibling}};Of=function(){};uv=function(e,t,a,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,eo(fa.current);var n=null;switch(a){case"input":o=nf(e,o),r=nf(e,r),n=[];break;case"select":o=Ie({},o,{value:void 0}),r=Ie({},r,{value:void 0}),n=[];break;case"textarea":o=df(e,o),r=df(e,r),n=[];break;default:typeof o.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=fd)}cf(a,r);var i;a=null;for(d in o)if(!r.hasOwnProperty(d)&&o.hasOwnProperty(d)&&o[d]!=null)if(d==="style"){var s=o[d];for(i in s)s.hasOwnProperty(i)&&(a||(a={}),a[i]="")}else d!=="dangerouslySetInnerHTML"&&d!=="children"&&d!=="suppressContentEditableWarning"&&d!=="suppressHydrationWarning"&&d!=="autoFocus"&&(qi.hasOwnProperty(d)?n||(n=[]):(n=n||[]).push(d,null));for(d in r){var l=r[d];if(s=o?.[d],r.hasOwnProperty(d)&&l!==s&&(l!=null||s!=null))if(d==="style")if(s){for(i in s)!s.hasOwnProperty(i)||l&&l.hasOwnProperty(i)||(a||(a={}),a[i]="");for(i in l)l.hasOwnProperty(i)&&s[i]!==l[i]&&(a||(a={}),a[i]=l[i])}else a||(n||(n=[]),n.push(d,a)),a=l;else d==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,s=s?s.__html:void 0,l!=null&&s!==l&&(n=n||[]).push(d,l)):d==="children"?typeof l!="string"&&typeof l!="number"||(n=n||[]).push(d,""+l):d!=="suppressContentEditableWarning"&&d!=="suppressHydrationWarning"&&(qi.hasOwnProperty(d)?(l!=null&&d==="onScroll"&&he("scroll",e),n||s===l||(n=[])):(n=n||[]).push(d,l))}a&&(n=n||[]).push("style",a);var d=n;(t.updateQueue=d)&&(t.flags|=4)}};cv=function(e,t,a,r){a!==r&&(t.flags|=4)};function Si(e,t){if(!ye)switch(e.tailMode){case"hidden":t=e.tail;for(var a=null;t!==null;)t.alternate!==null&&(a=t),t=t.sibling;a===null?e.tail=null:a.sibling=null;break;case"collapsed":a=e.tail;for(var r=null;a!==null;)a.alternate!==null&&(r=a),a=a.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Qe(e){var t=e.alternate!==null&&e.alternate.child===e.child,a=0,r=0;if(t)for(var o=e.child;o!==null;)a|=o.lanes|o.childLanes,r|=o.subtreeFlags&14680064,r|=o.flags&14680064,o.return=e,o=o.sibling;else for(o=e.child;o!==null;)a|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=a,t}function eL(e,t,a){var r=t.pendingProps;switch(up(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Qe(t),null;case 1:return ft(t.type)&&pd(),Qe(t),null;case 3:return r=t.stateNode,In(),ge(ct),ge(et),wp(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(jl(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Kt!==null&&(Gf(Kt),Kt=null))),Of(e,t),Qe(t),null;case 5:vp(t);var o=eo(es.current);if(a=t.type,e!==null&&t.stateNode!=null)uv(e,t,a,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(T(166));return Qe(t),null}if(e=eo(fa.current),jl(t)){r=t.stateNode,a=t.type;var n=t.memoizedProps;
vendor: 12,605 bytes, line 8
8switch(r[ua]=t,r[Qi]=n,e=(t.mode&1)!==0,a){case"dialog":he("cancel",r),he("close",r);break;case"iframe":case"object":case"embed":he("load",r);break;case"video":case"audio":for(o=0;o<Mi.length;o++)he(Mi[o],r);break;case"source":he("error",r);break;case"img":case"image":case"link":he("error",r),he("load",r);break;case"details":he("toggle",r);break;case"input":Ph(r,n),he("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!n.multiple},he("invalid",r);break;case"textarea":Th(r,n),he("invalid",r)}cf(a,n),o=null;for(var i in n)if(n.hasOwnProperty(i)){var s=n[i];i==="children"?typeof s=="string"?r.textContent!==s&&(n.suppressHydrationWarning!==!0&&ql(r.textContent,s,e),o=["children",s]):typeof s=="number"&&r.textContent!==""+s&&(n.suppressHydrationWarning!==!0&&ql(r.textContent,s,e),o=["children",""+s]):qi.hasOwnProperty(i)&&s!=null&&i==="onScroll"&&he("scroll",r)}switch(a){case"input":Tl(r),Ah(r,n,!0);break;case"textarea":Tl(r),Eh(r);break;case"select":case"option":break;default:typeof n.onClick=="function"&&(r.onclick=fd)}r=o,t.updateQueue=r,r!==null&&(t.flags|=4)}else{i=o.nodeType===9?o:o.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=Vg(a)),e==="http://www.w3.org/1999/xhtml"?a==="script"?(e=i.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=i.createElement(a,{is:r.is}):(e=i.createElement(a),a==="select"&&(i=e,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):e=i.createElementNS(e,a),e[ua]=t,e[Qi]=r,dv(e,t,!1,!1),t.stateNode=e;e:{switch(i=ff(a,r),a){case"dialog":he("cancel",e),he("close",e),o=r;break;case"iframe":case"object":case"embed":he("load",e),o=r;break;case"video":case"audio":for(o=0;o<Mi.length;o++)he(Mi[o],e);o=r;break;case"source":he("error",e),o=r;break;case"img":case"image":case"link":he("error",e),he("load",e),o=r;break;case"details":he("toggle",e),o=r;break;case"input":Ph(e,r),o=nf(e,r),he("invalid",e);break;case"option":o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=Ie({},r,{value:void 0}),he("invalid",e);break;case"textarea":Th(e,r),o=df(e,r),he("invalid",e);break;default:o=r}cf(a,o),s=o;for(n in s)if(s.hasOwnProperty(n)){var l=s[n];n==="style"?qg(e,l):n==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&zg(e,l)):n==="children"?typeof l=="string"?(a!=="textarea"||l!=="")&&ji(e,l):typeof l=="number"&&ji(e,""+l):n!=="suppressContentEditableWarning"&&n!=="suppressHydrationWarning"&&n!=="autoFocus"&&(qi.hasOwnProperty(n)?l!=null&&n==="onScroll"&&he("scroll",e):l!=null&&Kf(e,n,l,i))}switch(a){case"input":Tl(e),Ah(e,r,!1);break;case"textarea":Tl(e),Eh(e);break;case"option":r.value!=null&&e.setAttribute("value",""+xr(r.value));break;case"select":e.multiple=!!r.multiple,n=r.value,n!=null?mn(e,!!r.multiple,n,!1):r.defaultValue!=null&&mn(e,!!r.multiple,r.defaultValue,!0);break;default:typeof o.onClick=="function"&&(e.onclick=fd)}switch(a){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return Qe(t),null;case 6:if(e&&t.stateNode!=null)cv(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(T(166));if(a=eo(es.current),eo(fa.current),jl(t)){if(r=t.stateNode,a=t.memoizedProps,r[ua]=t,(n=r.nodeValue!==a)&&(e=It,e!==null))switch(e.tag){case 3:ql(r.nodeValue,a,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&ql(r.nodeValue,a,(e.mode&1)!==0)}n&&(t.flags|=4)}else r=(a.nodeType===9?a:a.ownerDocument).createTextNode(r),r[ua]=t,t.stateNode=r}return Qe(t),null;case 13:if(ge(Ce),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(ye&&Lt!==null&&(t.mode&1)!==0&&(t.flags&128)===0)Ax(),Cn(),t.flags|=98560,n=!1;else if(n=jl(t),r!==null&&r.dehydrated!==null){if(e===null){if(!n)throw Error(T(318));if(n=t.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(T(317));n[ua]=t}else Cn(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Qe(t),n=!1}else Kt!==null&&(Gf(Kt),Kt=null),n=!0;if(!n)return t.flags&65536?t:null}return(t.flags&128)!==0?(t.lanes=a,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,(t.mode&1)!==0&&(e===null||(Ce.current&1)!==0?_e===0&&(_e=3):Ep())),t.updateQueue!==null&&(t.flags|=4),Qe(t),null);case 4:return In(),Of(e,t),e===null&&Yi(t.stateNode.containerInfo),Qe(t),null;case 10:return mp(t.type._context),Qe(t),null;case 17:return ft(t.type)&&pd(),Qe(t),null;case 19:if(ge(Ce),n=t.memoizedState,n===null)return Qe(t),null;if(r=(t.flags&128)!==0,i=n.rendering,i===null)if(r)Si(n,!1);else{if(_e!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(i=yd(e),i!==null){for(t.flags|=128,Si(n,!1),r=i.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=a,a=t.child;a!==null;)n=a,e=r,n.flags&=14680066,i=n.alternate,i===null?(n.childLanes=0,n.lanes=e,n.child=null,n.subtreeFlags=0,n.memoizedProps=null,n.memoizedState=null,n.updateQueue=null,n.dependencies=null,n.stateNode=null):(n.childLanes=i.childLanes,n.lanes=i.lanes,n.child=i.child,n.subtreeFlags=0,n.deletions=null,n.memoizedProps=i.memoizedProps,n.memoizedState=i.memoizedState,n.updateQueue=i.updateQueue,n.type=i.type,e=i.dependencies,n.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),a=a.sibling;return me(Ce,Ce.current&1|2),t.child}e=e.sibling}n.tail!==null&&De()>Sn&&(t.flags|=128,r=!0,Si(n,!1),t.lanes=4194304)}else{if(!r)if(e=yd(i),e!==null){if(t.flags|=128,r=!0,a=e.updateQueue,a!==null&&(t.updateQueue=a,t.flags|=4),Si(n,!0),n.tail===null&&n.tailMode==="hidden"&&!i.alternate&&!ye)return Qe(t),null}else 2*De()-n.renderingStartTime>Sn&&a!==1073741824&&(t.flags|=128,r=!0,Si(n,!1),t.lanes=4194304);n.isBackwards?(i.sibling=t.child,t.child=i):(a=n.last,a!==null?a.sibling=i:t.child=i,n.last=i)}return n.tail!==null?(t=n.tail,n.rendering=t,n.tail=t.sibling,n.renderingStartTime=De(),t.sibling=null,a=Ce.current,me(Ce,r?a&1|2:a&1),t):(Qe(t),null);case 22:case 23:return Tp(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&(t.mode&1)!==0?(Ct&1073741824)!==0&&(Qe(t),t.subtreeFlags&6&&(t.flags|=8192)):Qe(t),null;case 24:return null;case 25:return null}throw Error(T(156,t.tag))}function tL(e,t){switch(up(t),t.tag){case 1:return ft(t.type)&&pd(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return In(),ge(ct),ge(et),wp(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 5:return vp(t),null;case 13:if(ge(Ce),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(T(340));Cn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ge(Ce),null;case 4:return In(),null;case 10:return mp(t.type._context),null;case 22:case 23:return Tp(),null;case 24:return null;default:return null}}var Gl=!1,Je=!1,aL=typeof WeakSet=="function"?WeakSet:Set,R=null;function fn(e,t){var a=e.ref;if(a!==null)if(typeof a=="function")try{a(null)}catch(r){Pe(e,t,r)}else a.current=null}function Vf(e,t,a){try{a()}catch(r){Pe(e,t,r)}}var bg=!1;function rL(e,t){if(Cf=dd,e=gx(),lp(e)){if("selectionStart"in e)var a={start:e.selectionStart,end:e.selectionEnd};else e:{a=(a=e.ownerDocument)&&a.defaultView||window;var r=a.getSelection&&a.getSelection();if(r&&r.rangeCount!==0){a=r.anchorNode;var o=r.anchorOffset,n=r.focusNode;r=r.focusOffset;try{a.nodeType,n.nodeType}catch{a=null;break e}var i=0,s=-1,l=-1,d=0,u=0,c=e,f=null;t:for(;;){for(var g;c!==a||o!==0&&c.nodeType!==3||(s=i+o),c!==n||r!==0&&c.nodeType!==3||(l=i+r),c.nodeType===3&&(i+=c.nodeValue.length),(g=c.firstChild)!==null;)f=c,c=g;for(;;){if(c===e)break t;if(f===a&&++d===o&&(s=i),f===n&&++u===r&&(l=i),(g=c.nextSibling)!==null)break;c=f,f=c.parentNode}c=g}a=s===-1||l===-1?null:{start:s,end:l}}else a=null}a=a||{start:0,end:0}}else a=null;for(Lf={focusedElem:e,selectionRange:a},dd=!1,R=t;R!==null;)if(t=R,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,R=e;else for(;R!==null;){t=R;try{var v=t.alternate;if((t.flags&1024)!==0)switch(t.tag){case 0:case 11:case 15:break;case 1:if(v!==null){var x=v.memoizedProps,F=v.memoizedState,m=t.stateNode,p=m.getSnapshotBeforeUpdate(t.elementType===t.type?x:$t(t.type,x),F);m.__reactInternalSnapshotBeforeUpdate=p}break;case 3:var h=t.stateNode.containerInfo;h.nodeType===1?h.textContent="":h.nodeType===9&&h.documentElement&&h.removeChild(h.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(T(163))}}catch(w){Pe(t,t.return,w)}if(e=t.sibling,e!==null){e.return=t.return,R=e;break}R=t.return}return v=bg,bg=!1,v}function Vi(e,t,a){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var n=o.destroy;o.destroy=void 0,n!==void 0&&Vf(t,a,n)}o=o.next}while(o!==r)}}function Bd(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var a=t=t.next;do{if((a.tag&e)===e){var r=a.create;a.destroy=r()}a=a.next}while(a!==t)}}function zf(e){var t=e.ref;if(t!==null){var a=e.stateNode;switch(e.tag){case 5:e=a;break;default:e=a}typeof t=="function"?t(e):t.current=e}}function fv(e){var t=e.alternate;t!==null&&(e.alternate=null,fv(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[ua],delete t[Qi],delete t[Sf],delete t[VC],delete t[zC])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function pv(e){return e.tag===5||e.tag===3||e.tag===4}function Cg(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||pv(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Uf(e,t,a){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?a.nodeType===8?a.parentNode.insertBefore(e,t):a.insertBefore(e,t):(a.nodeType===8?(t=a.parentNode,t.insertBefore(e,a)):(t=a,t.appendChild(e)),a=a._reactRootContainer,a!=null||t.onclick!==null||(t.onclick=fd));else if(r!==4&&(e=e.child,e!==null))for(Uf(e,t,a),e=e.sibling;e!==null;)Uf(e,t,a),e=e.sibling}function qf(e,t,a){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?a.insertBefore(e,t):a.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(qf(e,t,a),e=e.sibling;e!==null;)qf(e,t,a),e=e.sibling}var We=null,Xt=!1;function ar(e,t,a){for(a=a.child;a!==null;)mv(e,t,a),a=a.sibling}function mv(e,t,a){if(ca&&typeof ca.onCommitFiberUnmount=="function")try{ca.onCommitFiberUnmount(Pd,a)}catch{}switch(a.tag){case 5:Je||fn(a,t);case 6:var r=We,o=Xt;We=null,ar(e,t,a),We=r,Xt=o,We!==null&&(Xt?(e=We,a=a.stateNode,e.nodeType===8?e.parentNode.removeChild(a):e.removeChild(a)):We.removeChild(a.stateNode));break;case 18:We!==null&&(Xt?(e=We,a=a.stateNode,e.nodeType===8?Hc(e.parentNode,a):e.nodeType===1&&Hc(e,a),$i(e)):Hc(We,a.stateNode));break;case 4:r=We,o=Xt,We=a.stateNode.containerInfo,Xt=!0,ar(e,t,a),We=r,Xt=o;break;case 0:case 11:case 14:case 15:if(!Je&&(r=a.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var n=o,i=n.destroy;n=n.tag,i!==void 0&&((n&2)!==0||(n&4)!==0)&&Vf(a,t,i),o=o.next}while(o!==r)}ar(e,t,a);break;case 1:if(!Je&&(fn(a,t),r=a.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=a.memoizedProps,r.state=a.memoizedState,r.componentWillUnmount()}catch(s){Pe(a,t,s)}ar(e,t,a);break;case 21:ar(e,t,a);break;case 22:a.mode&1?(Je=(r=Je)||a.memoizedState!==null,ar(e,t,a),Je=r):ar(e,t,a);break;default:ar(e,t,a)}}function Lg(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var a=e.stateNode;a===null&&(a=e.stateNode=new aL),t.forEach(function(r){var o=fL.bind(null,e,r);a.has(r)||(a.add(r),r.then(o,o))})}}function Gt(e,t){var a=t.deletions;if(a!==null)for(var r=0;r<a.length;r++){var o=a[r];try{var n=e,i=t,s=i;e:for(;s!==null;){switch(s.tag){case 5:We=s.stateNode,Xt=!1;break e;case 3:We=s.stateNode.containerInfo,Xt=!0;break e;case 4:We=s.stateNode.containerInfo,Xt=!0;break e}s=s.return}if(We===null)throw Error(T(160));mv(n,i,o),We=null,Xt=!1;var l=o.alternate;l!==null&&(l.return=null),o.return=null}catch(d){Pe(o,t,d)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)hv(t,e),t=t.sibling}function hv(e,t){var a=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Gt(t,e),la(e),r&4){try{Vi(3,e,e.return),Bd(3,e)}catch(x){Pe(e,e.return,x)}try{Vi(5,e,e.return)}catch(x){Pe(e,e.return,x)}}break;case 1:Gt(t,e),la(e),r&512&&a!==null&&fn(a,a.return);break;case 5:if(Gt(t,e),la(e),r&512&&a!==null&&fn(a,a.return),e.flags&32){var o=e.stateNode;try{ji(o,"")}catch(x){Pe(e,e.return,x)}}
vendor: 5,552 bytes, line 8
8if(r&4&&(o=e.stateNode,o!=null)){var n=e.memoizedProps,i=a!==null?a.memoizedProps:n,s=e.type,l=e.updateQueue;if(e.updateQueue=null,l!==null)try{s==="input"&&n.type==="radio"&&n.name!=null&&_g(o,n),ff(s,i);var d=ff(s,n);for(i=0;i<l.length;i+=2){var u=l[i],c=l[i+1];u==="style"?qg(o,c):u==="dangerouslySetInnerHTML"?zg(o,c):u==="children"?ji(o,c):Kf(o,u,c,d)}switch(s){case"input":sf(o,n);break;case"textarea":Og(o,n);break;case"select":var f=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!n.multiple;var g=n.value;g!=null?mn(o,!!n.multiple,g,!1):f!==!!n.multiple&&(n.defaultValue!=null?mn(o,!!n.multiple,n.defaultValue,!0):mn(o,!!n.multiple,n.multiple?[]:"",!1))}o[Qi]=n}catch(x){Pe(e,e.return,x)}}break;case 6:if(Gt(t,e),la(e),r&4){if(e.stateNode===null)throw Error(T(162));o=e.stateNode,n=e.memoizedProps;try{o.nodeValue=n}catch(x){Pe(e,e.return,x)}}break;case 3:if(Gt(t,e),la(e),r&4&&a!==null&&a.memoizedState.isDehydrated)try{$i(t.containerInfo)}catch(x){Pe(e,e.return,x)}break;case 4:Gt(t,e),la(e);break;case 13:Gt(t,e),la(e),o=e.child,o.flags&8192&&(n=o.memoizedState!==null,o.stateNode.isHidden=n,!n||o.alternate!==null&&o.alternate.memoizedState!==null||(Pp=De())),r&4&&Lg(e);break;case 22:if(u=a!==null&&a.memoizedState!==null,e.mode&1?(Je=(d=Je)||u,Gt(t,e),Je=d):Gt(t,e),la(e),r&8192){if(d=e.memoizedState!==null,(e.stateNode.isHidden=d)&&!u&&(e.mode&1)!==0)for(R=e,u=e.child;u!==null;){for(c=R=u;R!==null;){switch(f=R,g=f.child,f.tag){case 0:case 11:case 14:case 15:Vi(4,f,f.return);break;case 1:fn(f,f.return);var v=f.stateNode;if(typeof v.componentWillUnmount=="function"){r=f,a=f.return;try{t=r,v.props=t.memoizedProps,v.state=t.memoizedState,v.componentWillUnmount()}catch(x){Pe(r,a,x)}}break;case 5:fn(f,f.return);break;case 22:if(f.memoizedState!==null){kg(c);continue}}g!==null?(g.return=f,R=g):kg(c)}u=u.sibling}e:for(u=null,c=e;;){if(c.tag===5){if(u===null){u=c;try{o=c.stateNode,d?(n=o.style,typeof n.setProperty=="function"?n.setProperty("display","none","important"):n.display="none"):(s=c.stateNode,l=c.memoizedProps.style,i=l!=null&&l.hasOwnProperty("display")?l.display:null,s.style.display=Ug("display",i))}catch(x){Pe(e,e.return,x)}}}else if(c.tag===6){if(u===null)try{c.stateNode.nodeValue=d?"":c.memoizedProps}catch(x){Pe(e,e.return,x)}}else if((c.tag!==22&&c.tag!==23||c.memoizedState===null||c===e)&&c.child!==null){c.child.return=c,c=c.child;continue}if(c===e)break e;for(;c.sibling===null;){if(c.return===null||c.return===e)break e;u===c&&(u=null),c=c.return}u===c&&(u=null),c.sibling.return=c.return,c=c.sibling}}break;case 19:Gt(t,e),la(e),r&4&&Lg(e);break;case 21:break;default:Gt(t,e),la(e)}}function la(e){var t=e.flags;if(t&2){try{e:{for(var a=e.return;a!==null;){if(pv(a)){var r=a;break e}a=a.return}throw Error(T(160))}switch(r.tag){case 5:var o=r.stateNode;r.flags&32&&(ji(o,""),r.flags&=-33);var n=Cg(e);qf(e,n,o);break;case 3:case 4:var i=r.stateNode.containerInfo,s=Cg(e);Uf(e,s,i);break;default:throw Error(T(161))}}catch(l){Pe(e,e.return,l)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function oL(e,t,a){R=e,gv(e,t,a)}function gv(e,t,a){for(var r=(e.mode&1)!==0;R!==null;){var o=R,n=o.child;if(o.tag===22&&r){var i=o.memoizedState!==null||Gl;if(!i){var s=o.alternate,l=s!==null&&s.memoizedState!==null||Je;s=Gl;var d=Je;if(Gl=i,(Je=l)&&!d)for(R=o;R!==null;)i=R,l=i.child,i.tag===22&&i.memoizedState!==null?Sg(o):l!==null?(l.return=i,R=l):Sg(o);for(;n!==null;)R=n,gv(n,t,a),n=n.sibling;R=o,Gl=s,Je=d}Ig(e,t,a)}else(o.subtreeFlags&8772)!==0&&n!==null?(n.return=o,R=n):Ig(e,t,a)}}function Ig(e){for(;R!==null;){var t=R;if((t.flags&8772)!==0){var a=t.alternate;try{if((t.flags&8772)!==0)switch(t.tag){case 0:case 11:case 15:Je||Bd(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!Je)if(a===null)r.componentDidMount();else{var o=t.elementType===t.type?a.memoizedProps:$t(t.type,a.memoizedProps);r.componentDidUpdate(o,a.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var n=t.updateQueue;n!==null&&lg(t,n,r);break;case 3:var i=t.updateQueue;if(i!==null){if(a=null,t.child!==null)switch(t.child.tag){case 5:a=t.child.stateNode;break;case 1:a=t.child.stateNode}lg(t,i,a)}break;case 5:var s=t.stateNode;if(a===null&&t.flags&4){a=s;var l=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":l.autoFocus&&a.focus();break;case"img":l.src&&(a.src=l.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var d=t.alternate;if(d!==null){var u=d.memoizedState;if(u!==null){var c=u.dehydrated;c!==null&&$i(c)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(T(163))}Je||t.flags&512&&zf(t)}catch(f){Pe(t,t.return,f)}}if(t===e){R=null;break}if(a=t.sibling,a!==null){a.return=t.return,R=a;break}R=t.return}}function kg(e){for(;R!==null;){var t=R;if(t===e){R=null;break}var a=t.sibling;if(a!==null){a.return=t.return,R=a;break}R=t.return}}function Sg(e){for(;R!==null;){var t=R;try{switch(t.tag){case 0:case 11:case 15:var a=t.return;try{Bd(4,t)}catch(l){Pe(t,a,l)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var o=t.return;try{r.componentDidMount()}catch(l){Pe(t,o,l)}}var n=t.return;try{zf(t)}catch(l){Pe(t,n,l)}break;case 5:var i=t.return;try{zf(t)}catch(l){Pe(t,i,l)}}}catch(l){Pe(t,t.return,l)}if(t===e){R=null;break}var s=t.sibling;if(s!==null){s.return=t.return,R=s;break}R=t.return}}var nL=Math.ceil,Ld=Na.ReactCurrentDispatcher,Sp=Na.ReactCurrentOwner,Rt=Na.ReactCurrentBatchConfig,re=0,qe=null,Ne=null,Ge=0,Ct=0,pn=yr(0),_e=0,os=null,io=0,_d=0,Fp=0,zi=null,dt=null,Pp=0,Sn=1/0,k
vendor: 5,501 bytes, line 8
8a=null,Id=!1,jf=null,mr=null,$l=!1,lr=null,kd=0,Ui=0,Hf=null,td=-1,ad=0;function st(){return(re&6)!==0?De():td!==-1?td:td=De()}function hr(e){return(e.mode&1)===0?1:(re&2)!==0&&Ge!==0?Ge&-Ge:qC.transition!==null?(ad===0&&(ad=ex()),ad):(e=se,e!==0||(e=window.event,e=e===void 0?16:sx(e.type)),e)}function Zt(e,t,a,r){if(50<Ui)throw Ui=0,Hf=null,Error(T(185));ns(e,a,r),((re&2)===0||e!==qe)&&(e===qe&&((re&2)===0&&(_d|=a),_e===4&&ir(e,Ge)),pt(e,r),a===1&&re===0&&(t.mode&1)===0&&(Sn=De()+500,Dd&&br()))}function pt(e,t){var a=e.callbackNode;Hb(e,t);var r=ld(e,e===qe?Ge:0);if(r===0)a!==null&&Nh(a),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(a!=null&&Nh(a),t===1)e.tag===0?UC(Fg.bind(null,e)):Sx(Fg.bind(null,e)),_C(function(){(re&6)===0&&br()}),a=null;else{switch(tx(r)){case 1:a=ep;break;case 4:a=Qg;break;case 16:a=sd;break;case 536870912:a=Jg;break;default:a=sd}a=Iv(a,xv.bind(null,e))}e.callbackPriority=t,e.callbackNode=a}}function xv(e,t){if(td=-1,ad=0,(re&6)!==0)throw Error(T(327));var a=e.callbackNode;if(wn()&&e.callbackNode!==a)return null;var r=ld(e,e===qe?Ge:0);if(r===0)return null;if((r&30)!==0||(r&e.expiredLanes)!==0||t)t=Sd(e,r);else{t=r;var o=re;re|=2;var n=wv();(qe!==e||Ge!==t)&&(ka=null,Sn=De()+500,to(e,t));do try{lL();break}catch(s){vv(e,s)}while(!0);pp(),Ld.current=n,re=o,Ne!==null?t=0:(qe=null,Ge=0,t=_e)}if(t!==0){if(t===2&&(o=xf(e),o!==0&&(r=o,t=Wf(e,o))),t===1)throw a=os,to(e,0),ir(e,r),pt(e,De()),a;if(t===6)ir(e,r);else{if(o=e.current.alternate,(r&30)===0&&!iL(o)&&(t=Sd(e,r),t===2&&(n=xf(e),n!==0&&(r=n,t=Wf(e,n))),t===1))throw a=os,to(e,0),ir(e,r),pt(e,De()),a;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(T(345));case 2:Zr(e,dt,ka);break;case 3:if(ir(e,r),(r&130023424)===r&&(t=Pp+500-De(),10<t)){if(ld(e,0)!==0)break;if(o=e.suspendedLanes,(o&r)!==r){st(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=kf(Zr.bind(null,e,dt,ka),t);break}Zr(e,dt,ka);break;case 4:if(ir(e,r),(r&4194240)===r)break;for(t=e.eventTimes,o=-1;0<r;){var i=31-Yt(r);n=1<<i,i=t[i],i>o&&(o=i),r&=~n}if(r=o,r=De()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*nL(r/1960))-r,10<r){e.timeoutHandle=kf(Zr.bind(null,e,dt,ka),r);break}Zr(e,dt,ka);break;case 5:Zr(e,dt,ka);break;default:throw Error(T(329))}}}return pt(e,De()),e.callbackNode===a?xv.bind(null,e):null}function Wf(e,t){var a=zi;return e.current.memoizedState.isDehydrated&&(to(e,t).flags|=256),e=Sd(e,t),e!==2&&(t=dt,dt=a,t!==null&&Gf(t)),e}function Gf(e){dt===null?dt=e:dt.push.apply(dt,e)}function iL(e){for(var t=e;;){if(t.flags&16384){var a=t.updateQueue;if(a!==null&&(a=a.stores,a!==null))for(var r=0;r<a.length;r++){var o=a[r],n=o.getSnapshot;o=o.value;try{if(!Qt(n(),o))return!1}catch{return!1}}}if(a=t.child,t.subtreeFlags&16384&&a!==null)a.return=t,t=a;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function ir(e,t){for(t&=~Fp,t&=~_d,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var a=31-Yt(t),r=1<<a;e[a]=-1,t&=~r}}function Fg(e){if((re&6)!==0)throw Error(T(327));wn();var t=ld(e,0);if((t&1)===0)return pt(e,De()),null;var a=Sd(e,t);if(e.tag!==0&&a===2){var r=xf(e);r!==0&&(t=r,a=Wf(e,r))}if(a===1)throw a=os,to(e,0),ir(e,t),pt(e,De()),a;if(a===6)throw Error(T(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Zr(e,dt,ka),pt(e,De()),null}function Ap(e,t){var a=re;re|=1;try{return e(t)}finally{re=a,re===0&&(Sn=De()+500,Dd&&br())}}function so(e){lr!==null&&lr.tag===0&&(re&6)===0&&wn();var t=re;re|=1;var a=Rt.transition,r=se;try{if(Rt.transition=null,se=1,e)return e()}finally{se=r,Rt.transition=a,re=t,(re&6)===0&&br()}}function Tp(){Ct=pn.current,ge(pn)}function to(e,t){e.finishedWork=null,e.finishedLanes=0;var a=e.timeoutHandle;if(a!==-1&&(e.timeoutHandle=-1,BC(a)),Ne!==null)for(a=Ne.return;a!==null;){var r=a;switch(up(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&pd();break;case 3:In(),ge(ct),ge(et),wp();break;case 5:vp(r);break;case 4:In();break;case 13:ge(Ce);break;case 19:ge(Ce);break;case 10:mp(r.type._context);break;case 22:case 23:Tp()}a=a.return}if(qe=e,Ne=e=gr(e.current,null),Ge=Ct=t,_e=0,os=null,Fp=_d=io=0,dt=zi=null,Jr!==null){for(t=0;t<Jr.length;t++)if(a=Jr[t],r=a.interleaved,r!==null){a.interleaved=null;var o=r.next,n=a.pending;if(n!==null){var i=n.next;n.next=o,r.next=i}a.pending=r}Jr=null}return e}function vv(e,t){do{var a=Ne;try{if(pp(),Ql.current=Cd,bd){for(var r=Le.memoizedState;r!==null;){var o=r.queue;o!==null&&(o.pending=null),r=r.next}bd=!1}if(no=0,Ue=Be=Le=null,Oi=!1,ts=0,Sp.current=null,a===null||a.return===null){_e=1,os=t,Ne=null;break}e:{var n=e,i=a.return,s=a,l=t;if(t=Ge,s.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){var d=l,u=s,c=u.tag;if((u.mode&1)===0&&(c===0||c===11||c===15)){var f=u.alternate;f?(u.updateQueue=f.updateQueue,u.memoizedState=f.memoizedState,u.lanes=f.lanes):(u.updateQueue=null,u.memoizedState=null)}var g=mg(i);if(g!==null){g.flags&=-257,hg(g,i,s,n,t),g.mode&1&&pg(n,d,t),t=g,l=d;var v=t.updateQueue;if(v===null){var x=new Set;x.add(l),t.updateQueue=x}else v.add(l);break e}else{if((t&1)===0){pg(n,d,t),Ep();break e}l=Error(T(426))}}else if(ye&&s.mode&1){var F=mg(i);if(F!==null){(F.flags&65536)===0&&(F.flags|=256),hg(F,i,s,n,t),cp(kn(l,s));break e}}n=l=kn(l,s),_e!==4&&(_e=2),zi===null?zi=[n]:zi.push(n),n=i;do{switch(n.tag){case 3:n.flags|=65536,t&=-t,n.lanes|=t;var m=tv(n,l,t);
vendor: 6,106 bytes, line 8
8sg(n,m);break e;case 1:s=l;var p=n.type,h=n.stateNode;if((n.flags&128)===0&&(typeof p.getDerivedStateFromError=="function"||h!==null&&typeof h.componentDidCatch=="function"&&(mr===null||!mr.has(h)))){n.flags|=65536,t&=-t,n.lanes|=t;var w=av(n,s,t);sg(n,w);break e}}n=n.return}while(n!==null)}bv(a)}catch(y){t=y,Ne===a&&a!==null&&(Ne=a=a.return);continue}break}while(!0)}function wv(){var e=Ld.current;return Ld.current=Cd,e===null?Cd:e}function Ep(){(_e===0||_e===3||_e===2)&&(_e=4),qe===null||(io&268435455)===0&&(_d&268435455)===0||ir(qe,Ge)}function Sd(e,t){var a=re;re|=2;var r=wv();(qe!==e||Ge!==t)&&(ka=null,to(e,t));do try{sL();break}catch(o){vv(e,o)}while(!0);if(pp(),re=a,Ld.current=r,Ne!==null)throw Error(T(261));return qe=null,Ge=0,_e}function sL(){for(;Ne!==null;)yv(Ne)}function lL(){for(;Ne!==null&&!Rb();)yv(Ne)}function yv(e){var t=Lv(e.alternate,e,Ct);e.memoizedProps=e.pendingProps,t===null?bv(e):Ne=t,Sp.current=null}function bv(e){var t=e;do{var a=t.alternate;if(e=t.return,(t.flags&32768)===0){if(a=eL(a,t,Ct),a!==null){Ne=a;return}}else{if(a=tL(a,t),a!==null){a.flags&=32767,Ne=a;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{_e=6,Ne=null;return}}if(t=t.sibling,t!==null){Ne=t;return}Ne=t=e}while(t!==null);_e===0&&(_e=5)}function Zr(e,t,a){var r=se,o=Rt.transition;try{Rt.transition=null,se=1,dL(e,t,a,r)}finally{Rt.transition=o,se=r}return null}function dL(e,t,a,r){do wn();while(lr!==null);if((re&6)!==0)throw Error(T(327));a=e.finishedWork;var o=e.finishedLanes;if(a===null)return null;if(e.finishedWork=null,e.finishedLanes=0,a===e.current)throw Error(T(177));e.callbackNode=null,e.callbackPriority=0;var n=a.lanes|a.childLanes;if(Wb(e,n),e===qe&&(Ne=qe=null,Ge=0),(a.subtreeFlags&2064)===0&&(a.flags&2064)===0||$l||($l=!0,Iv(sd,function(){return wn(),null})),n=(a.flags&15990)!==0,(a.subtreeFlags&15990)!==0||n){n=Rt.transition,Rt.transition=null;var i=se;se=1;var s=re;re|=4,Sp.current=null,rL(e,a),hv(a,e),EC(Lf),dd=!!Cf,Lf=Cf=null,e.current=a,oL(a,e,o),Bb(),re=s,se=i,Rt.transition=n}else e.current=a;if($l&&($l=!1,lr=e,kd=o),n=e.pendingLanes,n===0&&(mr=null),Vb(a.stateNode,r),pt(e,De()),t!==null)for(r=e.onRecoverableError,a=0;a<t.length;a++)o=t[a],r(o.value,{componentStack:o.stack,digest:o.digest});if(Id)throw Id=!1,e=jf,jf=null,e;return(kd&1)!==0&&e.tag!==0&&wn(),n=e.pendingLanes,(n&1)!==0?e===Hf?Ui++:(Ui=0,Hf=e):Ui=0,br(),null}function wn(){if(lr!==null){var e=tx(kd),t=Rt.transition,a=se;try{if(Rt.transition=null,se=16>e?16:e,lr===null)var r=!1;else{if(e=lr,lr=null,kd=0,(re&6)!==0)throw Error(T(331));var o=re;for(re|=4,R=e.current;R!==null;){var n=R,i=n.child;if((R.flags&16)!==0){var s=n.deletions;if(s!==null){for(var l=0;l<s.length;l++){var d=s[l];for(R=d;R!==null;){var u=R;switch(u.tag){case 0:case 11:case 15:Vi(8,u,n)}var c=u.child;if(c!==null)c.return=u,R=c;else for(;R!==null;){u=R;var f=u.sibling,g=u.return;if(fv(u),u===d){R=null;break}if(f!==null){f.return=g,R=f;break}R=g}}}var v=n.alternate;if(v!==null){var x=v.child;if(x!==null){v.child=null;do{var F=x.sibling;x.sibling=null,x=F}while(x!==null)}}R=n}}if((n.subtreeFlags&2064)!==0&&i!==null)i.return=n,R=i;else e:for(;R!==null;){if(n=R,(n.flags&2048)!==0)switch(n.tag){case 0:case 11:case 15:Vi(9,n,n.return)}var m=n.sibling;if(m!==null){m.return=n.return,R=m;break e}R=n.return}}var p=e.current;for(R=p;R!==null;){i=R;var h=i.child;if((i.subtreeFlags&2064)!==0&&h!==null)h.return=i,R=h;else e:for(i=p;R!==null;){if(s=R,(s.flags&2048)!==0)try{switch(s.tag){case 0:case 11:case 15:Bd(9,s)}}catch(y){Pe(s,s.return,y)}if(s===i){R=null;break e}var w=s.sibling;if(w!==null){w.return=s.return,R=w;break e}R=s.return}}if(re=o,br(),ca&&typeof ca.onPostCommitFiberRoot=="function")try{ca.onPostCommitFiberRoot(Pd,e)}catch{}r=!0}return r}finally{se=a,Rt.transition=t}}return!1}function Pg(e,t,a){t=kn(a,t),t=tv(e,t,1),e=pr(e,t,1),t=st(),e!==null&&(ns(e,1,t),pt(e,t))}function Pe(e,t,a){if(e.tag===3)Pg(e,e,a);else for(;t!==null;){if(t.tag===3){Pg(t,e,a);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(mr===null||!mr.has(r))){e=kn(a,e),e=av(t,e,1),t=pr(t,e,1),e=st(),t!==null&&(ns(t,1,e),pt(t,e));break}}t=t.return}}function uL(e,t,a){var r=e.pingCache;r!==null&&r.delete(t),t=st(),e.pingedLanes|=e.suspendedLanes&a,qe===e&&(Ge&a)===a&&(_e===4||_e===3&&(Ge&130023424)===Ge&&500>De()-Pp?to(e,0):Fp|=a),pt(e,t)}function Cv(e,t){t===0&&((e.mode&1)===0?t=1:(t=Dl,Dl<<=1,(Dl&130023424)===0&&(Dl=4194304)));var a=st();e=Ma(e,t),e!==null&&(ns(e,t,a),pt(e,a))}function cL(e){var t=e.memoizedState,a=0;t!==null&&(a=t.retryLane),Cv(e,a)}function fL(e,t){var a=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(a=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(T(314))}r!==null&&r.delete(t),Cv(e,a)}var Lv;Lv=function(e,t,a){if(e!==null)if(e.memoizedProps!==t.pendingProps||ct.current)ut=!0;else{if((e.lanes&a)===0&&(t.flags&128)===0)return ut=!1,JC(e,t,a);ut=(e.flags&131072)!==0}else ut=!1,ye&&(t.flags&1048576)!==0&&Fx(t,gd,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;ed(e,t),e=t.pendingProps;var o=bn(t,et.current);vn(t,a),o=bp(null,t,r,e,o,a);var n=Cp();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,ft(r)?(n=!0,md(t)):n=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,gp(t),o.updater=Rd,t.stateNode=o,o._reactInternals=t,Mf(t,r,e,a),t=Rf(null,t,r,!0,n,a)):(t.tag=0,ye&&n&&dp(t),it(null,t,o,a),t=t.child),t;case 16:r=t.elementType;e:{switch(ed(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=mL(r),e=$t(r,e),o){case 0:t=Nf(null,t,r,e,a);break e;case 1:t=vg(null,t,r,e,a);break e;case 11:t=gg(null,t,r,e,a);break e;case 14:t=xg(null,t,r,$t(r.type,e),a);break e}throw Error(T(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:$t(r,o),Nf(e,t,r,o,a);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:$t(r,o),vg(e,t,r,o,a);case 3:e:{if(iv(t),e===null)throw Error(T(387));
vendor: 4,729 bytes, line 8
8r=t.pendingProps,n=t.memoizedState,o=n.element,Dx(e,t),wd(t,r,null,a);var i=t.memoizedState;if(r=i.element,n.isDehydrated)if(n={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=n,t.memoizedState=n,t.flags&256){o=kn(Error(T(423)),t),t=wg(e,t,r,a,o);break e}else if(r!==o){o=kn(Error(T(424)),t),t=wg(e,t,r,a,o);break e}else for(Lt=fr(t.stateNode.containerInfo.firstChild),It=t,ye=!0,Kt=null,a=Ex(t,null,r,a),t.child=a;a;)a.flags=a.flags&-3|4096,a=a.sibling;else{if(Cn(),r===o){t=Da(e,t,a);break e}it(e,t,r,a)}t=t.child}return t;case 5:return Nx(t),e===null&&Af(t),r=t.type,o=t.pendingProps,n=e!==null?e.memoizedProps:null,i=o.children,If(r,o)?i=null:n!==null&&If(r,n)&&(t.flags|=32),nv(e,t),it(e,t,i,a),t.child;case 6:return e===null&&Af(t),null;case 13:return sv(e,t,a);case 4:return xp(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Ln(t,null,r,a):it(e,t,r,a),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:$t(r,o),gg(e,t,r,o,a);case 7:return it(e,t,t.pendingProps,a),t.child;case 8:return it(e,t,t.pendingProps.children,a),t.child;case 12:return it(e,t,t.pendingProps.children,a),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,n=t.memoizedProps,i=o.value,me(xd,r._currentValue),r._currentValue=i,n!==null)if(Qt(n.value,i)){if(n.children===o.children&&!ct.current){t=Da(e,t,a);break e}}else for(n=t.child,n!==null&&(n.return=t);n!==null;){var s=n.dependencies;if(s!==null){i=n.child;for(var l=s.firstContext;l!==null;){if(l.context===r){if(n.tag===1){l=Aa(-1,a&-a),l.tag=2;var d=n.updateQueue;if(d!==null){d=d.shared;var u=d.pending;u===null?l.next=l:(l.next=u.next,u.next=l),d.pending=l}}n.lanes|=a,l=n.alternate,l!==null&&(l.lanes|=a),Tf(n.return,a,t),s.lanes|=a;break}l=l.next}}else if(n.tag===10)i=n.type===t.type?null:n.child;else if(n.tag===18){if(i=n.return,i===null)throw Error(T(341));i.lanes|=a,s=i.alternate,s!==null&&(s.lanes|=a),Tf(i,a,t),i=n.sibling}else i=n.child;if(i!==null)i.return=n;else for(i=n;i!==null;){if(i===t){i=null;break}if(n=i.sibling,n!==null){n.return=i.return,i=n;break}i=i.return}n=i}it(e,t,o.children,a),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,vn(t,a),o=Bt(o),r=r(o),t.flags|=1,it(e,t,r,a),t.child;case 14:return r=t.type,o=$t(r,t.pendingProps),o=$t(r.type,o),xg(e,t,r,o,a);case 15:return rv(e,t,t.type,t.pendingProps,a);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:$t(r,o),ed(e,t),t.tag=1,ft(r)?(e=!0,md(t)):e=!1,vn(t,a),ev(t,r,o),Mf(t,r,o,a),Rf(null,t,r,!0,e,a);case 19:return lv(e,t,a);case 22:return ov(e,t,a)}throw Error(T(156,t.tag))};function Iv(e,t){return Zg(e,t)}function pL(e,t,a,r){this.tag=e,this.key=a,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Nt(e,t,a,r){return new pL(e,t,a,r)}function Mp(e){return e=e.prototype,!(!e||!e.isReactComponent)}function mL(e){if(typeof e=="function")return Mp(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Zf)return 11;if(e===Qf)return 14}return 2}function gr(e,t){var a=e.alternate;return a===null?(a=Nt(e.tag,t,e.key,e.mode),a.elementType=e.elementType,a.type=e.type,a.stateNode=e.stateNode,a.alternate=e,e.alternate=a):(a.pendingProps=t,a.type=e.type,a.flags=0,a.subtreeFlags=0,a.deletions=null),a.flags=e.flags&14680064,a.childLanes=e.childLanes,a.lanes=e.lanes,a.child=e.child,a.memoizedProps=e.memoizedProps,a.memoizedState=e.memoizedState,a.updateQueue=e.updateQueue,t=e.dependencies,a.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},a.sibling=e.sibling,a.index=e.index,a.ref=e.ref,a}function rd(e,t,a,r,o,n){var i=2;if(r=e,typeof e=="function")Mp(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case an:return ao(a.children,o,n,t);case Yf:i=8,o|=8;break;case tf:return e=Nt(12,a,t,o|2),e.elementType=tf,e.lanes=n,e;case af:return e=Nt(13,a,t,o),e.elementType=af,e.lanes=n,e;case rf:return e=Nt(19,a,t,o),e.elementType=rf,e.lanes=n,e;case Ng:return Od(a,o,n,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Mg:i=10;break e;case Dg:i=9;break e;case Zf:i=11;break e;case Qf:i=14;break e;case rr:i=16,r=null;break e}throw Error(T(130,e==null?e:typeof e,""))}return t=Nt(i,a,t,o),t.elementType=e,t.type=r,t.lanes=n,t}function ao(e,t,a,r){return e=Nt(7,e,r,t),e.lanes=a,e}function Od(e,t,a,r){return e=Nt(22,e,r,t),e.elementType=Ng,e.lanes=a,e.stateNode={isHidden:!1},e}function Qc(e,t,a){return e=Nt(6,e,null,t),e.lanes=a,e}
vendor: 8,763 bytes, line 8
8function Jc(e,t,a){return t=Nt(4,e.children!==null?e.children:[],e.key,t),t.lanes=a,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function hL(e,t,a,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Bc(0),this.expirationTimes=Bc(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Bc(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Dp(e,t,a,r,o,n,i,s,l){return e=new hL(e,t,a,s,l),t===1?(t=1,n===!0&&(t|=8)):t=0,n=Nt(3,null,null,t),e.current=n,n.stateNode=e,n.memoizedState={element:r,isDehydrated:a,cache:null,transitions:null,pendingSuspenseBoundaries:null},gp(n),e}function gL(e,t,a){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:tn,key:r==null?null:""+r,children:e,containerInfo:t,implementation:a}}function kv(e){if(!e)return vr;e=e._reactInternals;e:{if(uo(e)!==e||e.tag!==1)throw Error(T(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(ft(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(T(171))}if(e.tag===1){var a=e.type;if(ft(a))return kx(e,a,t)}return t}function Sv(e,t,a,r,o,n,i,s,l){return e=Dp(a,r,!0,e,o,n,i,s,l),e.context=kv(null),a=e.current,r=st(),o=hr(a),n=Aa(r,o),n.callback=t??null,pr(a,n,o),e.current.lanes=o,ns(e,o,r),pt(e,r),e}function Vd(e,t,a,r){var o=t.current,n=st(),i=hr(o);return a=kv(a),t.context===null?t.context=a:t.pendingContext=a,t=Aa(n,i),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=pr(o,t,i),e!==null&&(Zt(e,o,i,n),Zl(e,o,i)),i}function Fd(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function Ag(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var a=e.retryLane;e.retryLane=a!==0&&a<t?a:t}}function Np(e,t){Ag(e,t),(e=e.alternate)&&Ag(e,t)}function xL(){return null}var Fv=typeof reportError=="function"?reportError:function(e){console.error(e)};function Rp(e){this._internalRoot=e}zd.prototype.render=Rp.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(T(409));Vd(e,t,null,null)};zd.prototype.unmount=Rp.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;so(function(){Vd(null,e,null,null)}),t[Ea]=null}};function zd(e){this._internalRoot=e}zd.prototype.unstable_scheduleHydration=function(e){if(e){var t=ox();e={blockedOn:null,target:e,priority:t};for(var a=0;a<nr.length&&t!==0&&t<nr[a].priority;a++);nr.splice(a,0,e),a===0&&ix(e)}};function Bp(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Ud(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Tg(){}function vL(e,t,a,r,o){if(o){if(typeof r=="function"){var n=r;r=function(){var d=Fd(i);n.call(d)}}var i=Sv(t,r,e,0,null,!1,!1,"",Tg);return e._reactRootContainer=i,e[Ea]=i.current,Yi(e.nodeType===8?e.parentNode:e),so(),i}for(;o=e.lastChild;)e.removeChild(o);if(typeof r=="function"){var s=r;r=function(){var d=Fd(l);s.call(d)}}var l=Dp(e,0,!1,null,null,!1,!1,"",Tg);return e._reactRootContainer=l,e[Ea]=l.current,Yi(e.nodeType===8?e.parentNode:e),so(function(){Vd(t,l,a,r)}),l}function qd(e,t,a,r,o){var n=a._reactRootContainer;if(n){var i=n;if(typeof o=="function"){var s=o;o=function(){var l=Fd(i);s.call(l)}}Vd(t,i,e,o)}else i=vL(a,t,e,o,r);return Fd(i)}ax=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var a=Ei(t.pendingLanes);a!==0&&(tp(t,a|1),pt(t,De()),(re&6)===0&&(Sn=De()+500,br()))}break;case 13:so(function(){var r=Ma(e,1);if(r!==null){var o=st();Zt(r,e,1,o)}}),Np(e,1)}};ap=function(e){if(e.tag===13){var t=Ma(e,134217728);if(t!==null){var a=st();Zt(t,e,134217728,a)}Np(e,134217728)}};rx=function(e){if(e.tag===13){var t=hr(e),a=Ma(e,t);if(a!==null){var r=st();Zt(a,e,t,r)}Np(e,t)}};ox=function(){return se};nx=function(e,t){var a=se;try{return se=e,t()}finally{se=a}};mf=function(e,t,a){switch(t){case"input":if(sf(e,a),t=a.name,a.type==="radio"&&t!=null){for(a=e;a.parentNode;)a=a.parentNode;for(a=a.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<a.length;t++){var r=a[t];if(r!==e&&r.form===e.form){var o=Md(r);if(!o)throw Error(T(90));Bg(r),sf(r,o)}}}break;case"textarea":Og(e,a);break;case"select":t=a.value,t!=null&&mn(e,!!a.multiple,t,!1)}};Wg=Ap;Gg=so;var wL={usingClientEntryPoint:!1,Events:[ss,sn,Md,jg,Hg,Ap]},Fi={findFiberByHostInstance:Qr,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},yL={bundleType:Fi.bundleType,version:Fi.version,rendererPackageName:Fi.rendererPackageName,rendererConfig:Fi.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Na.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Kg(e),e===null?null:e.stateNode},findFiberByHostInstance:Fi.findFiberByHostInstance||xL,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&(Pi=__REACT_DEVTOOLS_GLOBAL_HOOK__,!Pi.isDisabled&&Pi.supportsFiber))try{Pd=Pi.inject(yL),ca=Pi}catch{}var Pi;Ft.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=wL;Ft.createPortal=function(e,t){var a=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Bp(t))throw Error(T(200));return gL(e,t,null,a)};Ft.createRoot=function(e,t){if(!Bp(e))throw Error(T(299));var a=!1,r="",o=Fv;return t!=null&&(t.unstable_strictMode===!0&&(a=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(o=t.onRecoverableError)),t=Dp(e,1,!1,null,null,a,!1,r,o),e[Ea]=t.current,Yi(e.nodeType===8?e.parentNode:e),new Rp(t)};Ft.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(T(188)):(e=Object.keys(e).join(","),Error(T(268,e)));return e=Kg(t),e=e===null?null:e.stateNode,e};Ft.flushSync=function(e){return so(e)};Ft.hydrate=function(e,t,a){if(!Ud(t))throw Error(T(200));return qd(null,e,t,!0,a)};Ft.hydrateRoot=function(e,t,a){if(!Bp(e))throw Error(T(405));var r=a!=null&&a.hydratedSources||null,o=!1,n="",i=Fv;if(a!=null&&(a.unstable_strictMode===!0&&(o=!0),a.identifierPrefix!==void 0&&(n=a.identifierPrefix),a.onRecoverableError!==void 0&&(i=a.onRecoverableError)),t=Sv(t,null,e,1,a??null,o,!1,n,i),e[Ea]=t.current,Yi(e),r)for(e=0;e<r.length;e++)a=r[e],o=a._getVersion,o=o(a._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[a,o]:t.mutableSourceEagerHydrationData.push(a,o);return new zd(t)};Ft.render=function(e,t,a){if(!Ud(t))throw Error(T(200));return qd(null,e,t,!1,a)};Ft.unmountComponentAtNode=function(e){if(!Ud(e))throw Error(T(40));return e._reactRootContainer?(so(function(){qd(null,null,e,!1,function(){e._reactRootContainer=null,e[Ea]=null})}),!0):!1};Ft.unstable_batchedUpdates=Ap;Ft.unstable_renderSubtreeIntoContainer=function(e,t,a,r){if(!Ud(a))throw Error(T(200));if(e==null||e._reactInternals===void 0)throw Error(T(38));return qd(e,t,a,!1,r)};Ft.version="18.3.1-next-f1338f8080-20240426"});var Ev=Ia((EF,Tv)=>{"use strict";function Av(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Av)}catch(e){console.error(e)}}Av(),Tv.exports=Pv()});var Dv=Ia(_p=>{"use strict";var Mv=Ev();_p.createRoot=Mv.createRoot,_p.hydrateRoot=Mv.hydrateRoot;var MF});var Xv=Ia(Wd=>{"use strict";var V2=Q(),z2=Symbol.for("react.element"),U2=Symbol.for("react.fragment"),q2=Object.prototype.hasOwnProperty,j2=V2.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,H2={key:!0,ref:!0,__self:!0,__source:!0};function $v(e,t,a){var r,o={},n=null,i=null;a!==void 0&&(n=""+a),t.key!==void 0&&(n=""+t.key),t.ref!==void 0&&(i=t.ref);for(r in t)q2.call(t,r)&&!H2.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)o[r]===void 0&&(o[r]=t[r]);return{$$typeof:z2,type:e,key:n,ref:i,props:o,_owner:j2.current}}Wd.Fragment=U2;Wd.jsx=$v;Wd.jsxs=$v});var ae=Ia((sA,Kv)=>{"use strict";
vendor: 7,255 bytes, line 8
8Kv.exports=Xv()});var $1=N(Q()),X1=N(Dv());var W1=N(Q());var Hd=N(Q());var Nv=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),bL=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,a,r)=>r?r.toUpperCase():a.toLowerCase()),Op=e=>{let t=bL(e);return t.charAt(0).toUpperCase()+t.slice(1)},jd=(...e)=>e.filter((t,a,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===a).join(" ").trim(),Rv=e=>{for(let t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0};var ds=N(Q());var Bv={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"};var _v=(0,ds.forwardRef)(({color:e="currentColor",size:t=24,strokeWidth:a=2,absoluteStrokeWidth:r,className:o="",children:n,iconNode:i,...s},l)=>(0,ds.createElement)("svg",{ref:l,...Bv,width:t,height:t,stroke:e,strokeWidth:r?Number(a)*24/Number(t):a,className:jd("lucide",o),...!n&&!Rv(s)&&{"aria-hidden":"true"},...s},[...i.map(([d,u])=>(0,ds.createElement)(d,u)),...Array.isArray(n)?n:[n]]));var E=(e,t)=>{let a=(0,Hd.forwardRef)(({className:r,...o},n)=>(0,Hd.createElement)(_v,{ref:n,iconNode:t,className:jd(`lucide-${Nv(Op(e))}`,`lucide-${e}`,r),...o}));return a.displayName=Op(e),a};var CL=[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]],Cr=E("arrow-down",CL);var LL=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],co=E("arrow-right",LL);var IL=[["path",{d:"M12 18V5",key:"adv99a"}],["path",{d:"M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4",key:"1e3is1"}],["path",{d:"M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5",key:"1gqd8o"}],["path",{d:"M17.997 5.125a4 4 0 0 1 2.526 5.77",key:"iwvgf7"}],["path",{d:"M18 18a4 4 0 0 0 2-7.464",key:"efp6ie"}],["path",{d:"M19.967 17.483A4 4 0 1 1 12 18a4 4 0 1 1-7.967-.517",key:"1gq6am"}],["path",{d:"M6 18a4 4 0 0 1-2-7.464",key:"k1g0md"}],["path",{d:"M6.003 5.125a4 4 0 0 0-2.526 5.77",key:"q97ue3"}]],us=E("brain",IL);var kL=[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]],pa=E("calendar",kL);var SL=[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]],Ot=E("chart-column",SL);var FL=[["line",{x1:"18",x2:"18",y1:"20",y2:"10",key:"1xfpm4"}],["line",{x1:"12",x2:"12",y1:"20",y2:"4",key:"be30l9"}],["line",{x1:"6",x2:"6",y1:"20",y2:"14",key:"1r4le6"}]],Lr=E("chart-no-axes-column",FL);var PL=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],An=E("check",PL);var AL=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],cs=E("chevron-right",AL);var TL=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],Jt=E("circle-check",TL);var EL=[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],fs=E("clock",EL);var ML=[["path",{d:"m18 16 4-4-4-4",key:"1inbqp"}],["path",{d:"m6 8-4 4 4 4",key:"15zrgr"}],["path",{d:"m14.5 4-5 16",key:"e7oirm"}]],Ir=E("code-xml",ML);var DL=[["path",{d:"M11 10.27 7 3.34",key:"16pf9h"}],["path",{d:"m11 13.73-4 6.93",key:"794ttg"}],["path",{d:"M12 22v-2",key:"1osdcq"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M14 12h8",key:"4f43i9"}],["path",{d:"m17 20.66-1-1.73",key:"eq3orb"}],["path",{d:"m17 3.34-1 1.73",key:"2wel8s"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"m20.66 17-1.73-1",key:"sg0v6f"}],["path",{d:"m20.66 7-1.73 1",key:"1ow05n"}],["path",{d:"m3.34 17 1.73-1",key:"nuk764"}],["path",{d:"m3.34 7 1.73 1",key:"1ulond"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}],["circle",{cx:"12",cy:"12",r:"8",key:"46899m"}]],ps=E("cog",DL);var NL=[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]],fo=E("database",NL);var RL=[["line",{x1:"12",x2:"12",y1:"2",y2:"22",key:"7eqyqh"}],["path",{d:"M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6",key:"1b0p4s"}]],po=E("dollar-sign",RL);var BL=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]],ms=E("file-text",BL);var _L=[["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"}]],hs=E("globe",_L);var OL=[["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"}]],Ra=E("lightbulb",OL);var VL=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],kr=E("loader-circle",VL);var zL=[["path",{d:"m12 15 4 4",key:"lnac28"}],["path",{d:"M2.352 10.648a1.205 1.205 0 0 0 0 1.704l2.296 2.296a1.205 1.205 0 0 0 1.704 0l6.029-6.029a1 1 0 1 1 3 3l-6.029 6.029a1.205 1.205 0 0 0 0 1.704l2.296 2.296a1.205 1.205 0 0 0 1.704 0l6.365-6.367A1 1 0 0 0 8.716 4.282z",key:"nlhkjb"}],["path",{d:"m5 8 4 4",key:"j6kj7e"}]],gs=E("magnet",zL);var UL=[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]],xs=E("mail",UL);var qL=[["path",{d:"M14.106 5.553a2 2 0 0 0 1.788 0l3.659-1.83A1 1 0 0 1 21 4.619v12.764a1 1 0 0 1-.553.894l-4.553 2.277a2 2 0 0 1-1.788 0l-4.212-2.106a2 2 0 0 0-1.788 0l-3.659 1.83A1 1 0 0 1 3 19.381V6.618a1 1 0 0 1 .553-.894l4.553-2.277a2 2 0 0 1 1.788 0z",key:"169xi5"}],["path",{d:"M15 5.764v15",key:"1pn4in"}],["path",{d:"M9 3.236v15",key:"1uimfh"}]],vs=E("map",qL);var jL=[["path",{d:"M11 6a13 13 0 0 0 8.4-2.8A1 1 0 0 1 21 4v12a1 1 0 0 1-1.6.8A13 13 0 0 0 11 14H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2z",key:"q8bfy3"}],["path",{d:"M6 14a12 12 0 0 0 2.4 7.2 2 2 0 0 0 3.2-2.4A8 8 0 0 1 10 14",key:"1853fq"}],["path",{d:"M8 6v8",key:"15ugcq"}]],ws=E("megaphone",jL);var HL=[["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 18h16",key:"19g7jn"}],["path",{d:"M4 6h16",key:"1o0s65"}]],ys=E("menu",HL);var WL=[["path",{d:"M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",key:"1sd12s"}]],Tn=E("message-circle",WL);var GL=[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}]],bs=E("message-square",GL);var $L=[["path",{d:"M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z",key:"1a0edw"}],["path",{d:"M12 22V12",key:"d0xqtd"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}]],mo=E("package",$L);var XL=[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]],ho=E("refresh-cw",XL);var KL=[["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:"m3
8kijz"}],["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"}]],Cs=E("rocket",KL);var YL=[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]],En=E("rotate-ccw",YL);var ZL=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],Ls=E("search",ZL);var QL=[["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"}]],Is=E("send",QL);var JL=[["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"}]],ea=E("shield-check",JL);var e2=[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}
vendor: 9,183 bytes, line 8
8],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]],ke=E("sparkles",e2);var t2=[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]],ks=E("star",t2);var a2=[["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"}]],ma=E("target",a2);var r2=[["path",{d:"M16 17h6v-6",key:"t6n2it"}],["path",{d:"m22 17-8.5-8.5-5 5L2 7",key:"x473p"}]],Ss=E("trending-down",r2);var o2=[["path",{d:"M16 7h6v6",key:"box55l"}],["path",{d:"m22 7-8.5 8.5-5-5L2 17",key:"1t1m79"}]],mt=E("trending-up",o2);var n2=[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],Sr=E("triangle-alert",n2);var i2=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Ba=E("x",i2);var s2=[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]],_a=E("zap",s2);function Ov(e){var t,a,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(a=Ov(e[t]))&&(r&&(r+=" "),r+=a)}else for(a in e)e[a]&&(r&&(r+=" "),r+=a);return r}function Vv(){for(var e,t,a=0,r="",o=arguments.length;a<o;a++)(e=arguments[a])&&(t=Ov(e))&&(r&&(r+=" "),r+=t);return r}var l2=e=>{let t=u2(e),{conflictingClassGroups:a,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:i=>{let s=i.split("-");return s[0]===""&&s.length!==1&&s.shift(),qv(s,t)||d2(i)},getConflictingClassGroupIds:(i,s)=>{let l=a[i]||[];return s&&r[i]?[...l,...r[i]]:l}}},qv=(e,t)=>{if(e.length===0)return t.classGroupId;let a=e[0],r=t.nextPart.get(a),o=r?qv(e.slice(1),r):void 0;if(o)return o;if(t.validators.length===0)return;let n=e.join("-");return t.validators.find(({validator:i})=>i(n))?.classGroupId},zv=/^\[(.+)\]$/,d2=e=>{if(zv.test(e)){let t=zv.exec(e)[1],a=t?.substring(0,t.indexOf(":"));if(a)return"arbitrary.."+a}},u2=e=>{let{theme:t,prefix:a}=e,r={nextPart:new Map,validators:[]};return f2(Object.entries(e.classGroups),a).forEach(([n,i])=>{zp(i,r,n,t)}),r},zp=(e,t,a,r)=>{e.forEach(o=>{if(typeof o=="string"){let n=o===""?t:Uv(t,o);n.classGroupId=a;return}if(typeof o=="function"){if(c2(o)){zp(o(r),t,a,r);return}t.validators.push({validator:o,classGroupId:a});return}Object.entries(o).forEach(([n,i])=>{zp(i,Uv(t,n),a,r)})})},Uv=(e,t)=>{let a=e;return t.split("-").forEach(r=>{a.nextPart.has(r)||a.nextPart.set(r,{nextPart:new Map,validators:[]}),a=a.nextPart.get(r)}),a},c2=e=>e.isThemeGetter,f2=(e,t)=>t?e.map(([a,r])=>{let o=r.map(n=>typeof n=="string"?t+n:typeof n=="object"?Object.fromEntries(Object.entries(n).map(([i,s])=>[t+i,s])):n);return[a,o]}):e,p2=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,a=new Map,r=new Map,o=(n,i)=>{a.set(n,i),t++,t>e&&(t=0,r=a,a=new Map)};return{get(n){let i=a.get(n);if(i!==void 0)return i;if((i=r.get(n))!==void 0)return o(n,i),i},set(n,i){a.has(n)?a.set(n,i):o(n,i)}}};var m2=e=>{let{separator:t,experimentalParseClassName:a}=e,r=t.length===1,o=t[0],n=t.length,i=s=>{let l=[],d=0,u=0,c;for(let F=0;F<s.length;F++){let m=s[F];if(d===0){if(m===o&&(r||s.slice(F,F+n)===t)){l.push(s.slice(u,F)),u=F+n;continue}if(m==="/"){c=F;continue}}m==="["?d++:m==="]"&&d--}let f=l.length===0?s:s.substring(u),g=f.startsWith("!"),v=g?f.substring(1):f,x=c&&c>u?c-u:void 0;return{modifiers:l,hasImportantModifier:g,baseClassName:v,maybePostfixModifierPosition:x}};return a?s=>a({className:s,parseClassName:i}):i},h2=e=>{if(e.length<=1)return e;let t=[],a=[];return e.forEach(r=>{r[0]==="["?(t.push(...a.sort(),r),a=[]):a.push(r)}),t.push(...a.sort()),t},g2=e=>({cache:p2(e.cacheSize),parseClassName:m2(e),...l2(e)}),x2=/\s+/,v2=(e,t)=>{let{parseClassName:a,getClassGroupId:r,getConflictingClassGroupIds:o}=t,n=[],i=e.trim().split(x2),s="";for(let l=i.length-1;l>=0;l-=1){let d=i[l],{modifiers:u,hasImportantModifier:c,baseClassName:f,maybePostfixModifierPosition:g}=a(d),v=!!g,x=r(v?f.substring(0,g):f);if(!x){if(!v){s=d+(s.length>0?" "+s:s);continue}if(x=r(f),!x){s=d+(s.length>0?" "+s:s);continue}v=!1}let F=h2(u).join(":"),m=c?F+"!":F,p=m+x;if(n.includes(p))continue;n.push(p);let h=o(x,v);for(let w=0;w<h.length;++w){let y=h[w];n.push(m+y)}s=d+(s.length>0?" "+s:s)}return s};function w2(){let e=0,t,a,r="";for(;e<arguments.length;)(t=arguments[e++])&&(a=jv(t))&&(r&&(r+=" "),r+=a);return r}var jv=e=>{if(typeof e=="string")return e;let t,a="";for(let r=0;r<e.length;r++)e[r]&&(t=jv(e[r]))&&(a&&(a+=" "),a+=t);return a};function y2(e,...t){let a,r,o,n=i;function i(l){let d=t.reduce((u,c)=>c(u),e());return a=g2(d),r=a.cache.get,o=a.cache.set,n=s,s(l)}function s(l){let d=r(l);if(d)return d;let u=v2(l,a);return o(l,u),u}return function(){return n(w2.apply(null,arguments))}}var xe=e=>{let t=a=>a[e]||[];return t.isThemeGetter=!0,t},Hv=/^\[(?:([a-z-]+):)?(.+)\]$/i,b2=/^\d+\/\d+$/,C2=new Set(["px","full","screen"]),L2=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,I2=/\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$/,k2=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,S2=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,F2=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Oa=e=>Mn(e)||C2.has(e)||b2.test(e),Fr=e=>Dn(e,"length",R2),Mn=e=>!!e&&!Number.isNaN(Number(e)),Vp=e=>Dn(e,"number",Mn),Fs=e=>!!e&&Number.isInteger(Number(e)),P2=e=>e.endsWith("%")&&Mn(e.slice(0,-1)),X=e=>Hv.test(e),Pr=e=>L2.test(e),A2=new Set(["length","size","percentage"]),T2=e=>Dn(e,A2,Wv),E2=e=>Dn(e,"position",Wv),M2=new Set(["image","url"]),D2=e=>Dn(e,M2,_2),N2=e=>Dn(e,"",B2),Ps=()=>!0,Dn=(e,t,a)=>{let r=Hv.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):a(r[2]):!1},R2=e=>I2.test(e)&&!k2.test(e),Wv=()=>!1,B2=e=>S2.test(e),_2=e=>F2.test(e);var O2=()=>{let e=xe("colors"),t=xe("spacing"),a=xe("blur"),r=xe("brightness"),o=xe("borderColor"),n=xe("borderRadius"),i=xe("borderSpacing"),s=xe("borderWidth"),l=xe("contrast"),d=xe("grayscale"),u=xe("hueRotate"),c=xe("invert"),f=xe("gap"),g=xe("gradientColorStops"),v=xe("gradientColorStopPositions"),x=xe("inset"),F=xe("margin"),m=xe("opacity"),p=xe("padding"),h=xe("saturate"),w=xe("scale"),y=xe("sepia"),I=xe("skew"),A=xe("space"),k=xe("translate"),_=()=>["auto","contain","none"],O=()=>["auto","hidden","clip","visible","scroll"],de=()=>["auto",X,t],oe=()=>[X,t],Zo=()=>["",Oa,Fr],La=()=>["auto",Mn,X],$r=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Xr=()=>["solid","dashed","dotted","double","none"],ne=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ue=()=>["start","end","center","between","around","evenly","stretch"],Fe=()=>["","0",X],Ke=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Me=()=>[Mn,X];return{cacheSize:500,separator:":",theme:{colors:[Ps],spacing:[Oa,Fr],blur:["none","",Pr,X],brightness:Me(),borderColor:[e],borderRadius:["none","","full",Pr,X],borderSpacing:oe(),borderWidth:Zo(),contrast:Me(),grayscale:Fe(),hueRotate:Me(),invert:Fe(),gap:oe(),gradientColorStops:[e],gradientColorStopPositions:[P2,Fr],inset:de(),margin:de(),opacity:Me(),padding:oe(),saturate:Me(),scale:Me(),sepia:Fe(),skew:Me(),space:oe(),translate:oe()},classGroups:{aspect:[{aspect:["auto","square","video",X]}],container:["container"],columns:[{columns:[Pr]}],"break-after":[{"break-after":Ke()}],"break-before":[{"break-before":Ke()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...$r(),X]}],overflow:[{overflow:O()}],"overflow-x":[{"overflow-x":O()}],"overflow-y":[{"overflow-y":O()}],overscroll:[{overscroll:_()}],"overscroll-x":[{"overscroll-x":_()}],"overscroll-y":[{"overscroll-y":_()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[x]}],"inset-x":[{"inset-x":[x]}],"inset-y":[{"inset-y":[x]}],start:[{start:[x]}],end:[{end:[x]}],top:[{top:[x]}
vendor: 9,955 bytes, line 8
8],right:[{right:[x]}],bottom:[{bottom:[x]}],left:[{left:[x]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Fs,X]}],basis:[{basis:de()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",X]}],grow:[{grow:Fe()}],shrink:[{shrink:Fe()}],order:[{order:["first","last","none",Fs,X]}],"grid-cols":[{"grid-cols":[Ps]}],"col-start-end":[{col:["auto",{span:["full",Fs,X]},X]}],"col-start":[{"col-start":La()}],"col-end":[{"col-end":La()}],"grid-rows":[{"grid-rows":[Ps]}],"row-start-end":[{row:["auto",{span:[Fs,X]},X]}],"row-start":[{"row-start":La()}],"row-end":[{"row-end":La()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",X]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",X]}],gap:[{gap:[f]}],"gap-x":[{"gap-x":[f]}],"gap-y":[{"gap-y":[f]}],"justify-content":[{justify:["normal",...ue()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...ue(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...ue(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[p]}],px:[{px:[p]}],py:[{py:[p]}],ps:[{ps:[p]}],pe:[{pe:[p]}],pt:[{pt:[p]}],pr:[{pr:[p]}],pb:[{pb:[p]}],pl:[{pl:[p]}],m:[{m:[F]}],mx:[{mx:[F]}],my:[{my:[F]}],ms:[{ms:[F]}],me:[{me:[F]}],mt:[{mt:[F]}],mr:[{mr:[F]}],mb:[{mb:[F]}],ml:[{ml:[F]}],"space-x":[{"space-x":[A]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[A]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",X,t]}],"min-w":[{"min-w":[X,t,"min","max","fit"]}],"max-w":[{"max-w":[X,t,"none","full","min","max","fit","prose",{screen:[Pr]},Pr]}],h:[{h:[X,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[X,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[X,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[X,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Pr,Fr]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Vp]}],"font-family":[{font:[Ps]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",X]}],"line-clamp":[{"line-clamp":["none",Mn,Vp]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Oa,X]}],"list-image":[{"list-image":["none",X]}],"list-style-type":[{list:["none","disc","decimal",X]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[m]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[m]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Xr(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Oa,Fr]}],"underline-offset":[{"underline-offset":["auto",Oa,X]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:oe()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",X]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",X]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[m]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...$r(),E2]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",T2]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},D2]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[v]}],"gradient-via-pos":[{via:[v]}],"gradient-to-pos":[{to:[v]}],"gradient-from":[{from:[g]}],"gradient-via":[{via:[g]}],"gradient-to":[{to:[g]}],rounded:[{rounded:[n]}],"rounded-s":[{"rounded-s":[n]}],"rounded-e":[{"rounded-e":[n]}],"rounded-t":[{"rounded-t":[n]}],"rounded-r":[{"rounded-r":[n]}],"rounded-b":[{"rounded-b":[n]}],"rounded-l":[{"rounded-l":[n]}],"rounded-ss":[{"rounded-ss":[n]}],"rounded-se":[{"rounded-se":[n]}],"rounded-ee":[{"rounded-ee":[n]}],"rounded-es":[{"rounded-es":[n]}],"rounded-tl":[{"rounded-tl":[n]}],"rounded-tr":[{"rounded-tr":[n]}],"rounded-br":[{"rounded-br":[n]}],"rounded-bl":[{"rounded-bl":[n]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[m]}],"border-style":[{border:[...Xr(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[m]}],"divide-style":[{divide:Xr()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-s":[{"border-s":[o]}],"border-color-e":[{"border-e":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["",...Xr()]}],"outline-offset":[{"outline-offset":[Oa,X]}],"outline-w":[{outline:[Oa,Fr]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Zo()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[m]}],"ring-offset-w":[{"ring-offset":[Oa,Fr]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Pr,N2]}],"shadow-color":[{shadow:[Ps]}],opacity:[{opacity:[m]}],"mix-blend":[{"mix-blend":[...ne(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":ne()}],filter:[{filter:["","none"]}],blur:[{blur:[a]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",Pr,X]}],grayscale:[{grayscale:[d]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[c]}],saturate:[{saturate:[h]}],sepia:[{sepia:[y]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[a]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[d]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[c]}],"backdrop-opacity":[{"backdrop-opacity":[m]}],"backdrop-saturate":[{"backdrop-saturate":[h]}],"backdrop-sepia":[{"backdrop-sepia":[y]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",X]}],duration:[{duration:Me()}],ease:[{ease:["linear","in","out","in-out",X]}],delay:[{delay:Me()}],animate:[{animate:["none","spin","ping","pulse","bounce",X]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[w]}],"scale-x":[{"scale-x":[w]}],"scale-y":[{"scale-y":[w]}],rotate:[{rotate:[Fs,X]}],"translate-x":[{"translate-x":[k]}],"translate-y":[{"translate-y":[k]}],"skew-x":[{"skew-x":[I]}],"skew-y":[{"skew-y":[I]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",X]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",X]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":oe()}],"scroll-mx":[{"scroll-mx":oe()}],"scroll-my":[{"scroll-my":oe()}],"scroll-ms":[{"scroll-ms":oe()}],"scroll-me":[{"scroll-me":oe()}],"scroll-mt":[{"scroll-mt":oe()}],"scroll-mr":[{"scroll-mr":oe()}],"scroll-mb":[{"scroll-mb":oe()}],"scroll-ml":[{"scroll-ml":oe()}],"scroll-p":[{"scroll-p":oe()}],"scroll-px":[{"scroll-px":oe()}],"scroll-py":[{"scroll-py":oe()}],"scroll-ps":[{"scroll-ps":oe()}],"scroll-pe":[{"scroll-pe":oe()}],"scroll-pt":[{"scroll-pt":oe()}],"scroll-pr":[{"scroll-pr":oe()}],"scroll-pb":[{"scroll-pb":oe()}],"scroll-pl":[{"scroll-pl":oe()}],"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"]}
8],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",X]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Oa,Fr,Vp]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Gv=y2(O2);function Ar(...e){return Gv(Vv(e))}var Yv=N(Q()),ce=N(ae()),W2=[{id:"resumen",label:"Resumen General",icon:ms},{id:"reto",label:"El Reto",icon:ma},{id:"sistema",label:"Sistema Integral",icon:Ra},{id:"elementos",label:"Elementos del Sistema",icon:mo},{id:"comparativa",label:"Comparativa de Escenarios",icon:Ot},{id:"ventajas",label:"Ventajas Competitivas",icon:ke},{id:"timeline",label:"Timeline",icon:pa},{id:"inversion",label:"Modelo de Inversi\xF3n",icon:po}];function Zv({activeSection:e,onSectionChange:t}){let[a,r]=(0,Yv.useState)(!1),o=n=>{t(n),r(!1)};return(0,ce.jsxs)(ce.Fragment,{children:[(0,ce.jsx)("button",{onClick:()=>r(!a),className:"lg:hidden fixed top-4 left-4 z-50 p-3 rounded-xl bg-[#312740] text-white shadow-lg border border-[#6F4C9E]/30 hover:bg-[#6F4C9E] transition-colors","aria-label":"Toggle menu",children:a?(0,ce.jsx)(Ba,{className:"w-6 h-6"}):(0,ce.jsx)(ys,{className:"w-6 h-6"})}),a&&(0,ce.jsx)("div",{className:"lg:hidden fixed inset-0 bg-black/50 z-30 backdrop-blur-sm",onClick:()=>r(!1)}),(0,ce.jsxs)("aside",{className:Ar("w-80 border-r border-slate-200 bg-[#312740] flex flex-col transition-transform duration-300 ease-in-out","lg:translate-x-0",a?"translate-x-0":"-translate-x-full","fixed lg:sticky top-0 h-screen z-40"),children:[(0,ce.jsx)("div",{className:"p-6 border-b border-[#6F4C9E]/30",children:(0,ce.jsxs)("div",{className:"flex items-center gap-3",children:[(0,ce.jsx)("img",{src:"https://files.taskade.com/space-files/109355bf-b6f6-4cd4-b29c-6769477f63e8/original/logo_a_aigenci-isotipo.png",alt:"AIgenci Logo",className:"w-12 h-12 object-contain"}),(0,ce.jsxs)("div",{children:[(0,ce.jsx)("h2",{className:"text-lg font-bold text-white",children:"Propuesta"}),(0,ce.jsx)("p",{className:"text-sm text-[#FD327B] font-medium",children:"Crecer en Calma"})]})]})}),(0,ce.jsx)("nav",{className:"flex-1 overflow-y-auto p-4",children:(0,ce.jsx)("ul",{className:"space-y-1",children:W2.map(n=>{let i=n.icon,s=e===n.id;return(0,ce.jsx)("li",{children:(0,ce.jsxs)("button",{onClick:()=>
8o(n.id),className:Ar("w-full flex items-center gap-3 px-4 py-3 rounded-lg text-left transition-all duration-200 group",s?"bg-[#6F4C9E] text-white shadow-lg shadow-purple-500/20":"text-slate-300 hover:bg-[#6F4C9E]/20 hover:text-white"),children:[(0,ce.jsx)(i,{className:Ar("w-5 h-5 transition-transform duration-200",s?"text-white scale-110":"text-slate-400 group-hover:scale-110 group-hover:text-[#FD327B]")}),(0,ce.jsx)("span",{className:"text-sm font-medium flex-1",children:n.label}),s&&(0,ce.jsx)(cs,{className:"w-4 h-4 text-[#5FCFFA]"})]})},n.id)})})}),(0,ce.jsxs)("div",{className:"p-4 border-t border-[#6F4C9E]/30",children:[(0,ce.jsxs)("p",{className:"text-xs text-slate-400 text-center",children:["Propuesta generada por ",(0,ce.jsx)("span",{className:"text-[#FD327B] font-semibold",children:"AIgenci"})]}),(0,ce.jsx)("p",{className:"text-xs text-slate-500 text-center mt-1",children:"An\xE1lisis de datos + IA"})]})]})]})}var nl=N(ae(),1),va=N(Q(),1);var Qv=N(Q(),1),Nn=(0,Qv.createContext)({});var Jv=N(Q(),1);function Rn(e){let t=(0,Jv.useRef)(null);return t.current===null&&(t.current=e()),t.current}var Gd=N(Q(),1);var Bn=typeof window<"u";var $d=Bn?Gd.useLayoutEffect:Gd.useEffect;var Cm=N(ae(),1),lw=N(Q(),1),rl=N(Q(),1);var e0=N(Q(),1),Tr=(0,e0.createContext)(null);var iw=N(ae(),1);function go(e,t){e.indexOf(t)===-1&&e.push(t)}function xo(e,t){let a=e.indexOf(t);a>-1&&e.splice(a,1)}var je=(e,t,a)=>a>t?t:a<e?e:a;var Va=()=>{},Vt=()=>{};var tt={};var As=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function Ts(e){return typeof e=="object"&&e!==null}var Es=e=>/^0[^.\s]+$/u.test(e);function vo(e){let t;return()=>(t===void 0&&(t=e()),t)}var Se=e=>e;var G2=(e,t)=>a=>t(e(a)),ta=(...e)=>e.reduce(G2);var ha=(e,t,a)=>{let r=t-e;return r===0?1:(a-e)/r};var za=class{constructor(){this.subscriptions=[]}add(t){return go(this.subscriptions,t),()=>xo(this.subscriptions,t)}notify(t,a,r){let o=this.subscriptions.length;if(o)if(o===1)this.subscriptions[0](t,a,r);else for(let n=0;n<o;n++){let i=this.subscriptions[n];i&&i(t,a,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}};var Oe=e=>e*1e3,Ve=e=>e/1e3;function Ms(e,t){return t?e*(1e3/t):0}var t0=(e,t,a)=>(((1-3*a+3*t)*e+(3*a-6*t))*e+3*t)*e,$2=1e-7,X2=12;function K2(e,t,a,r,o){let n,i,s=0;do i=t+(a-t)/2,n=t0(i,r,o)-e,n>0?a=i:t=i;while(Math.abs(n)>$2&&++s<X2);return i}function Er(e,t,a,r){if(e===t&&a===r)return Se;let o=n=>K2(n,0,1,e,a);return n=>n===0||n===1?n:t0(o(n),t,r)}var Xd=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2;var Kd=e=>t=>1-e(1-t);var Yd=Er(.33,1.53,.69,.99),_n=Kd(Yd),Ds=Xd(_n);var Ns=e=>(e*=2)<1?.5*_n(e):.5*(2-Math.pow(2,-10*(e-1)));var Rs=e=>1-Math.sin(Math.acos(e)),Bs=Kd(Rs),_s=Xd(Rs);var Up=Er(.42,0,1,1),qp=Er(0,0,.58,1),Os=Er(.42,0,.58,1);var jp=e=>Array.isArray(e)&&typeof e[0]!="number";var Vs=e=>Array.isArray(e)&&typeof e[0]=="number";var a0={linear:Se,easeIn:Up,easeInOut:Os,easeOut:qp,circIn:Rs,circInOut:_s,circOut:Bs,backIn:_n,backInOut:Ds,backOut:Yd,anticipate:Ns},Y2=e=>typeof e=="string",Zd=e=>{if(Vs(e)){Vt(e.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[t,a,r,o]=e;return Er(t,a,r,o)}else if(Y2(e))return Vt(a0[e]!==void 0,`Invalid easing type '${e}'`,"invalid-easing-type"),a0[e];return e};var zs=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];var ht={value:null,addProjectionMetrics:null};function r0(e,t){let a=new Set,r=new Set,o=!1,n=!1,i=new WeakSet,s={delta:0,timestamp:0,isProcessing:!1},l=0;function d(c){i.has(c)&&(u.schedule(c),e()),l++,c(s)}let u={schedule:(c,f=!1,g=!1)=>{let x=g&&o?a:r;return f&&i.add(c),x.has(c)||x.add(c),c},cancel:c=>{r.delete(c),i.delete(c)},process:c=>{if(s=c,o){n=!0;return}o=!0,[a,r]=[r,a],a.forEach(d),t&&ht.value&&ht.value.frameloop[t].push(l),l=0,a.clear(),o=!1,n&&(n=!1,u.process(c))}};return u}var Z2=40;function Qd(e,t){let a=!1,r=!0,o={delta:0,timestamp:0,isProcessing:!1},n=()=>a=!0,i=zs.reduce((h,w)=>(h[w]=r0(n,t?w:void 0),h),{}),{setup:s,read:l,resolveKeyframes:d,preUpdate:u,update:c,preRender:f,render:g,postRender:v}=i,x=()=>{let h=tt.useManualTiming?o.timestamp:performance.now();a=!1,tt.useManualTiming||(o.delta=r?1e3/60:Math.max(Math.min(h-o.timestamp,Z2),1)),o.timestamp=h,o.isProcessing=!0,s.process(o),l.process(o),d.process(o),u.process(o),c.process(o),f.process(o),g.process(o),v.process(o),o.isProcessing=!1,a&&t&&(r=!1,e(x))},F=()=>{a=!0,r=!0,o.isProcessing||e(x)};return{schedule:zs.reduce((h,w)=>{let y=i[w];return h[w]=(I,A=!1,k=!1)=>(a||F(),y.schedule(I,A,k)),h},{}),cancel:h=>{for(let w=0;w<zs.length;w++)i[zs[w]].cancel(h)},state:o,steps:i}}var{schedule:Z,cancel:gt,state:Ae,steps:Us}=Qd(typeof requestAnimationFrame<"u"?requestAnimationFrame:Se,!0);var Jd;function Q2(){Jd=void 0}var Te={now:()=>(Jd===void 0&&Te.set(Ae.isProcessing||tt.useManualTiming?Ae.timestamp:performance.now()),Jd),set:e=>{Jd=e,queueMicrotask(Q2)}};var aa={layout:0,mainThread:0,waapi:0};var o0=e=>t=>typeof t=="string"&&t.startsWith(e),wo=o0("--"),J2=o0("var(--"),yo=e=>J2(e)?eI.test(e.split("/*")[0].trim()):!1,eI=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;var ga={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Ua={...ga,transform:e=>je(0,1,e)},qs={...ga,default:1};var Mr=e=>Math.round(e*1e5)/1e5;var On=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function n0(e){return e==null}var i0=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu;var Vn=(e,t)=>a=>
vendor: 4,954 bytes, line 8
8!!(typeof a=="string"&&i0.test(a)&&a.startsWith(e)||t&&!n0(a)&&Object.prototype.hasOwnProperty.call(a,t)),eu=(e,t,a)=>r=>{if(typeof r!="string")return r;let[o,n,i,s]=r.match(On);return{[e]:parseFloat(o),[t]:parseFloat(n),[a]:parseFloat(i),alpha:s!==void 0?parseFloat(s):1}};var tI=e=>je(0,255,e),Hp={...ga,transform:e=>Math.round(tI(e))},xa={test:Vn("rgb","red"),parse:eu("red","green","blue"),transform:({red:e,green:t,blue:a,alpha:r=1})=>"rgba("+Hp.transform(e)+", "+Hp.transform(t)+", "+Hp.transform(a)+", "+Mr(Ua.transform(r))+")"};function aI(e){let t="",a="",r="",o="";return e.length>5?(t=e.substring(1,3),a=e.substring(3,5),r=e.substring(5,7),o=e.substring(7,9)):(t=e.substring(1,2),a=e.substring(2,3),r=e.substring(3,4),o=e.substring(4,5),t+=t,a+=a,r+=r,o+=o),{red:parseInt(t,16),green:parseInt(a,16),blue:parseInt(r,16),alpha:o?parseInt(o,16)/255:1}}var js={test:Vn("#"),parse:aI,transform:xa.transform};var Hs=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),ra=Hs("deg"),at=Hs("%"),V=Hs("px"),Wp=Hs("vh"),Gp=Hs("vw"),tu={...at,parse:e=>at.parse(e)/100,transform:e=>at.transform(e*100)};var Dr={test:Vn("hsl","hue"),parse:eu("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:a,alpha:r=1})=>"hsla("+Math.round(e)+", "+at.transform(Mr(t))+", "+at.transform(Mr(a))+", "+Mr(Ua.transform(r))+")"};var be={test:e=>xa.test(e)||js.test(e)||Dr.test(e),parse:e=>xa.test(e)?xa.parse(e):Dr.test(e)?Dr.parse(e):js.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?xa.transform(e):Dr.transform(e),getAnimatableNone:e=>{let t=be.parse(e);return t.alpha=0,be.transform(t)}};var s0=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function rI(e){return isNaN(e)&&typeof e=="string"&&(e.match(On)?.length||0)+(e.match(s0)?.length||0)>0}var d0="number",u0="color",oI="var",nI="var(",l0="${}",iI=/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 Nr(e){let t=e.toString(),a=[],r={color:[],number:[],var:[]},o=[],n=0,s=t.replace(iI,l=>(be.test(l)?(r.color.push(n),o.push(u0),a.push(be.parse(l))):l.startsWith(nI)?(r.var.push(n),o.push(oI),a.push(l)):(r.number.push(n),o.push(d0),a.push(parseFloat(l))),++n,l0)).split(l0);return{values:a,split:s,indexes:r,types:o}}function c0(e){return Nr(e).values}function f0(e){let{split:t,types:a}=Nr(e),r=t.length;return o=>{let n="";for(let i=0;i<r;i++)if(n+=t[i],o[i]!==void 0){let s=a[i];s===d0?n+=Mr(o[i]):s===u0?n+=be.transform(o[i]):n+=o[i]}return n}}var sI=e=>typeof e=="number"?0:be.test(e)?be.getAnimatableNone(e):e;function lI(e){let t=c0(e);return f0(e)(t.map(sI))}var rt={test:rI,parse:c0,createTransformer:f0,getAnimatableNone:lI};function $p(e,t,a){return a<0&&(a+=1),a>1&&(a-=1),a<1/6?e+(t-e)*6*a:a<1/2?t:a<2/3?e+(t-e)*(2/3-a)*6:e}function p0({hue:e,saturation:t,lightness:a,alpha:r}){e/=360,t/=100,a/=100;let o=0,n=0,i=0;if(!t)o=n=i=a;else{let s=a<.5?a*(1+t):a+t-a*t,l=2*a-s;o=$p(l,s,e+1/3),n=$p(l,s,e),i=$p(l,s,e-1/3)}return{red:Math.round(o*255),green:Math.round(n*255),blue:Math.round(i*255),alpha:r}}function zn(e,t){return a=>a>0?t:e}var te=(e,t,a)=>e+(t-e)*a;var Xp=(e,t,a)=>{let r=e*e,o=a*(t*t-r)+r;return o<0?0:Math.sqrt(o)},dI=[js,xa,Dr],uI=e=>dI.find(t=>t.test(e));function m0(e){let t=uI(e);if(Va(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!t)return!1;let a=t.parse(e);return t===Dr&&(a=p0(a)),a}var Kp=(e,t)=>{let a=m0(e),r=m0(t);if(!a||!r)return zn(e,t);let o={...a};return n=>(o.red=Xp(a.red,r.red,n),o.green=Xp(a.green,r.green,n),o.blue=Xp(a.blue,r.blue,n),o.alpha=te(a.alpha,r.alpha,n),xa.transform(o))};var au=new Set(["none","hidden"]);function h0(e,t){return au.has(e)?a=>a<=0?e:t:a=>a>=1?t:e}function cI(e,t){return a=>te(e,t,a)}function ru(e){return typeof e=="number"?cI:typeof e=="string"?yo(e)?zn:be.test(e)?Kp:mI:Array.isArray(e)?g0:typeof e=="object"?be.test(e)?Kp:fI:zn}function g0(e,t){let a=[...e],r=a.length,o=e.map((n,i)=>ru(n)(n,t[i]));return n=>{for(let i=0;i<r;i++)a[i]=o[i](n);return a}}function fI(e,t){let a={...e,...t},r={};for(let o in a)e[o]!==void 0&&t[o]!==void 0&&(r[o]=ru(e[o])(e[o],t[o]));return o=>{for(let n in r)a[n]=r[n](o);return a}}function pI(e,t){let a=[],r={color:0,var:0,number:0};for(let o=0;o<t.values.length;o++){let n=t.types[o],i=e.indexes[n][r[n]],s=e.values[i]??0;a[o]=s,r[n]++}return a}var mI=(e,t)=>{let a=rt.createTransformer(t),r=Nr(e),o=Nr(t);return r.indexes.var.length===o.indexes.var.length&&r.indexes.color.length===o.indexes.color.length&&r.indexes.number.length>=o.indexes.number.length?au.has(e)&&!o.values.length||au.has(t)&&!r.values.length?h0(e,t):ta(g0(pI(r,o),o.values),a):(Va(!0,`Complex values '${e}' and '${t}
8' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),zn(e,t))};function ou(e,t,a){return typeof e=="number"&&typeof t=="number"&&typeof a=="number"?te(e,t,a):ru(e)(e,t)}var x0=e=>{let t=({timestamp:a})=>e(a);return{start:(a=!0)=>Z.update(t,a),stop:()=>gt(t),now:()=>Ae.isProcessing?Ae.timestamp:Te.now()}};var nu=(e,t,a=10)=>{let r="",o=Math.max(Math.round(t/a),2);for(let n=0;n<o;n++)r+=Math.round(e(n/(o-1))*1e4)/1e4+", ";return`linear(${r.substring(0,r.length-2)})`};function Un(e){let t=0,a=50,r=e.next(t);for(;!r.done&&t<2e4;)t+=a,r=e.next(t);return t>=2e4?1/0:t}function v0(e,t=100,a){let r=a({...e,keyframes:[0,t]}),o=Math.min(Un(r),2e4);return{type:"keyframes",ease:n=>r.next(o*n).value/t,duration:Ve(o)}}var hI=5;function iu(e,t,a){let r=Math.max(t-hI,0);return Ms(a-e(r),t-r)}var ve={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};var Zp=.001;function w0({duration:e=ve.duration,bounce:t=ve.bounce,velocity:a=ve.velocity,mass:r=ve.mass}){let o,n;Va(e<=Oe(ve.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let i=1-t;i=je(ve.minDamping,ve.maxDamping,i),e=je(ve.minDuration,ve.maxDuration,Ve(e)),i<1?(o=d=>{let u=d*i,c=u*e,f=u-a,g=su(d,i),v=Math.exp(-c);return Zp-f/g*v},n=d=>{let c=d*i*e,f=c*a+a,g=Math.pow(i,2)*Math.pow(d,2)*e,v=Math.exp(-c),x=su(Math.pow(d,2),i);return(-o(d)+Zp>0?-1:1)*((f-g)*v)/x}):(o=d=>{let u=Math.exp(-d*e),c=(d-a)*e+1;return-Zp+u*c},n=d=>{let u=Math.exp(-d*e),c=(a-d)*(e*e);return u*c});let s=5/e,l=xI(o,n,s);if(e=Oe(e),isNaN(l))return{stiffness:ve.stiffness,damping:ve.damping,duration:e};{let d=Math.pow(l,2)*r;return{stiffness:d,damping:i*2*Math.sqrt(r*d),duration:e}}}var gI=12;function xI(e,t,a){let r=a;for(let o=1;o<gI;o++)r=r-e(r)/t(r);return r}function su(e,t){return e*Math.sqrt(1-t*t)}var vI=["duration","bounce"],wI=["stiffness","damping","mass"];function y0(e,t){return t.some(a=>e[a]!==void 0)}function yI(e){let t={velocity:ve.velocity,stiffness:ve.stiffness,damping:ve.damping,mass:ve.mass,isResolvedFromDuration:!1,...e};if(!y0(e,wI)&&y0(e,vI))if(e.visualDuration){let a=e.visualDuration,r=2*Math.PI/(a*1.2),o=r*r,n=2*je(.05,1,1-(e.bounce||0))*Math.sqrt(o);t={...t,mass:ve.mass,stiffness:o,damping:n}}else{let a=w0(e);t={...t,...a,mass:ve.mass},t.isResolvedFromDuration=!0}return t}function qn(e=ve.visualDuration,t=ve.bounce){let a=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e,{restSpeed:r,restDelta:o}=a,n=a.keyframes[0],i=a.keyframes[a.keyframes.length-1],s={done:!1,value:n},{stiffness:l,damping:d,mass:u,duration:c,velocity:f,isResolvedFromDuration:g}=yI({...a,velocity:-Ve(a.velocity||0)}),v=f||0,x=d/(2*Math.sqrt(l*u)),F=i-n,m=Ve(Math.sqrt(l/u)),p=Math.abs(F)<5;r||(r=p?ve.restSpeed.granular:ve.restSpeed.default),o||(o=p?ve.restDelta.granular:ve.restDelta.default);let h;if(x<1){let y=su(m,x);h=I=>{let A=Math.exp(-x*m*I);return i-A*((v+x*m*F)/y*Math.sin(y*I)+F*Math.cos(y*I))}}else if(x===1)h=y=>i-Math.exp(-m*y)*(F+(v+m*F)*y);else{let y=m*Math.sqrt(x*x-1);h=I=>{let A=Math.exp(-x*m*I),k=Math.min(y*I,300);return i-A*((v+x*m*F)*Math.sinh(k)+y*F*Math.cosh(k))/y}}let w={calculatedDuration:g&&c||null,next:y=>{let I=h(y);if(g)s.done=y>=c;else{let A=y===0?v:0;x<1&&(A=y===0?Oe(v):iu(h,y,I));let k=Math.abs(A)<=r,_=Math.abs(i-I)<=o;s.done=k&&_}return s.value=s.done?i:I,s},toString:()=>{let y=Math.min(Un(w),2e4),I=nu(A=>w.next(y*A).value,y,30);return y+"ms "+I},toTransition:()=>{}};return w}qn.applyToOptions=e=>{let t=v0(e,100,qn);return e.ease=t.ease,e.duration=Oe(t.duration),e.type="keyframes",e};function Ws({keyframes:e,velocity:t=0,power:a=.8,timeConstant:r=325,bounceDamping:o=10,bounceStiffness:n=500,modifyTarget:i,min:s,max:l,restDelta:d=.5,restSpeed:u}){let c=e[0],f={done:!1,value:c},g=k=>s!==void 0&&k<s||l!==void 0&&k>l,v=k=>s===void 0?l:l===void 0||Math.abs(s-k)<Math.abs(l-k)?s:l,x=a*t,F=c+x,m=i===void 0?F:i(F);m!==F&&(x=m-c);let p=k=>-x*Math.exp(-k/r),h=k=>m+p(k),w=k=>{let _=p(k),O=h(k);f.done=Math.abs(_)<=d,f.value=f.done?m:O},y,I,A=k=>{g(f.value)&&(y=k,I=qn({keyframes:[f.value,v(f.value)],velocity:iu(h,k,f.value),damping:o,stiffness:n,restDelta:d,restSpeed:u}))};return A(0),{calculatedDuration:null,next:k=>{let _=!1;return!I&&y===void 0&&(_=!0,w(k),A(k)),y!==void 0&&k>=y?I.next(k-y):(!_&&w(k),f)}}}function bI(e,t,a){let r=[],o=a||tt.mix||ou,n=e.length-1;for(let i=0;i<n;i++){let s=o(e[i],e[i+1]);if(t){let l=Array.isArray(t)?t[i]||Se:t;s=ta(l,s)}r.push(s)}return r}function b0(e,t,{clamp:a=!0,ease:r,mixer:o}={}){let n=e.length;if(Vt(n===t.length,"Both input and output ranges must be the same length","range-length"),n===1)return()=>t[0];if(n===2&&t[0]===t[1])return()=>t[1];let i=e[0]===e[1];e[0]>e[n-1]&&(e=[...e].reverse(),t=[...t].reverse());let s=bI(t,r,o),l=s.length,d=u=>{if(i&&u<e[0])return t[0];let c=0;if(l>1)for(;
8c<e.length-2&&!(u<e[c+1]);c++);let f=ha(e[c],e[c+1],u);return s[c](f)};return a?u=>d(je(e[0],e[n-1],u)):d}function C0(e,t){let a=e[e.length-1];for(let r=1;r<=t;r++){let o=ha(0,t,r);e.push(te(a,1,o))}}function L0(e){let t=[0];return C0(t,e.length-1),t}function I0(e,t){return e.map(a=>a*t)}function CI(e,t){return e.map(()=>t||Os).splice(0,e.length-1)}function bo({duration:e=300,keyframes:t,times:a,ease:r="easeInOut"}){let o=jp(r)?r.map(Zd):Zd(r),n={done:!1,value:t[0]},i=I0(a&&a.length===t.length?a:L0(t),e),s=b0(i,t,{ease:Array.isArray(o)?o:CI(t,o)});return{calculatedDuration:e,next:l=>(n.value=s(l),n.done=l>=e,n)}}var LI=e=>e!==null;function jn(e,{repeat:t,repeatType:a="loop"},r,o=1){let n=e.filter(LI),s=o<0||t&&a!=="loop"&&t%2===1?0:n.length-1;return!s||r===void 0?n[s]:r}var II={decay:Ws,inertia:Ws,tween:bo,keyframes:bo,spring:qn};function lu(e){typeof e.type=="string"&&(e.type=II[e.type])}var Rr=class{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,a){return this.finished.then(t,a)}};var kI=e=>e/100,qa=class extends Rr{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{let{motionValue:a}=this.options;a&&a.updatedAt!==Te.now()&&this.tick(Te.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},aa.mainThread++,this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){let{options:t}=this;lu(t);let{type:a=bo,repeat:r=0,repeatDelay:o=0,repeatType:n,velocity:i=0}=t,{keyframes:s}=t,l=a||bo;l!==bo&&typeof s[0]!="number"&&(this.mixKeyframes=ta(kI,ou(s[0],s[1])),s=[0,100]);let d=l({...t,keyframes:s});n==="mirror"&&(this.mirroredGenerator=l({...t,keyframes:[...s].reverse(),velocity:-i})),d.calculatedDuration===null&&(d.calculatedDuration=Un(d));let{calculatedDuration:u}=d;this.calculatedDuration=u,this.resolvedDuration=u+o,this.totalDuration=this.resolvedDuration*(r+1)-o,this.generator=d}updateTime(t){let a=Math.round(t-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=a}tick(t,a=!1){let{generator:r,totalDuration:o,mixKeyframes:n,mirroredGenerator:i,resolvedDuration:s,calculatedDuration:l}=this;if(this.startTime===null)return r.next(0);let{delay:d=0,keyframes:u,repeat:c,repeatType:f,repeatDelay:g,type:v,onUpdate:x,finalKeyframe:F}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-o/this.speed,this.startTime)),a?this.currentTime=t:this.updateTime(t);let m=this.currentTime-d*(this.playbackSpeed>=0?1:-1),p=this.playbackSpeed>=0?m<0:m>o;this.currentTime=Math.max(m,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=o);let h=this.currentTime,w=r;if(c){let k=Math.min(this.currentTime,o)/s,_=Math.floor(k),O=k%1;!O&&k>=1&&(O=1),O===1&&_--,_=Math.min(_,c+1),!!(_%2)&&(f==="reverse"?(O=1-O,g&&(O-=g/s)):f==="mirror"&&(w=i)),h=je(0,1,O)*s}let y=p?{done:!1,value:u[0]}:w.next(h);n&&(y.value=n(y.value));let{done:I}=y;!p&&l!==null&&(I=this.playbackSpeed>=0?this.currentTime>=o:this.currentTime<=0);let A=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&I);return A&&v!==Ws&&(y.value=jn(u,this.options,F,this.speed)),x&&x(y.value),A&&this.finish(),y}then(t,a){return this.finished.then(t,a)}get duration(){return Ve(this.calculatedDuration)}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+Ve(t)}get time(){return Ve(this.currentTime)}set time(t){t=Oe(t),this.currentTime=t,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(t){this.updateTime(Te.now());let a=this.playbackSpeed!==t;this.playbackSpeed=t,a&&(this.time=Ve(this.currentTime))}play(){if(this.isStopped)return;let{driver:t=x0,startTime:a}=this.options;this.driver||(this.driver=t(o=>this.tick(o))),this.options.onPlay?.();let r=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=r):this.holdTime!==null?this.startTime=r-this.holdTime:this.startTime||(this.startTime=a??r),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(Te.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null,aa.mainThread--}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),t.observe(this)}};function k0(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}var Co=e=>e*180/Math.PI,Qp=e=>{let t=Co(Math.atan2(e[1],e[0]));return Jp(t)},SI={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:Qp,rotateZ:Qp,skewX:e=>Co(Math.atan(e[1])),skewY:e=>Co(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},Jp=e=>(e=e%360,e<0&&(e+=360),e),S0=Qp,F0=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),P0=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),FI={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:F0,scaleY:P0,scale:e=>(F0(e)+P0(e))/2,rotateX:e=>Jp(Co(Math.atan2(e[6],e[5]))),rotateY:e=>Jp(Co(Math.atan2(-e[2],e[0]))),rotateZ:S0,rotate:S0,skewX:e=>Co(Math.atan(e[4])),skewY:e=>Co(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function Gs(e){return e.includes("scale")?1:0}function $s(e,t){if(!e||e==="none")return Gs(t);let a=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u),r,o;if(a)r=FI,o=a;else{let s=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=SI,o=s}if(!o)return Gs(t);let n=r[t],i=o[1].split(",").map(PI);return typeof n=="function"?n(i):i[n]}var em=(e,t)=>
8{let{transform:a="none"}=getComputedStyle(e);return $s(a,t)};function PI(e){return parseFloat(e.trim())}var oa=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Pt=new Set(oa);var tm=e=>e===ga||e===V,AI=new Set(["x","y","z"]),TI=oa.filter(e=>!AI.has(e));function A0(e){let t=[];return TI.forEach(a=>{let r=e.getValue(a);r!==void 0&&(t.push([a,r.get()]),r.set(a.startsWith("scale")?1:0))}),t}var Br={width:({x:e},{paddingLeft:t="0",paddingRight:a="0"})=>e.max-e.min-parseFloat(t)-parseFloat(a),height:({y:e},{paddingTop:t="0",paddingBottom:a="0"})=>e.max-e.min-parseFloat(t)-parseFloat(a),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>$s(t,"x"),y:(e,{transform:t})=>$s(t,"y")};Br.translateX=Br.x;Br.translateY=Br.y;var Lo=new Set,am=!1,rm=!1,om=!1;function T0(){if(rm){let e=Array.from(Lo).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),a=new Map;t.forEach(r=>{let o=A0(r);o.length&&(a.set(r,o),r.render())}),e.forEach(r=>r.measureInitialState()),t.forEach(r=>{r.render();let o=a.get(r);o&&o.forEach(([n,i])=>{r.getValue(n)?.set(i)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}rm=!1,am=!1,Lo.forEach(e=>e.complete(om)),Lo.clear()}function E0(){Lo.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(rm=!0)})}function nm(){om=!0,E0(),T0(),om=!1}var ja=class{constructor(t,a,r,o,n,i=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=a,this.name=r,this.motionValue=o,this.element=n,this.isAsync=i}scheduleResolve(){this.state="scheduled",this.isAsync?(Lo.add(this),am||(am=!0,Z.read(E0),Z.resolveKeyframes(T0))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:a,element:r,motionValue:o}=this;if(t[0]===null){let n=o?.get(),i=t[t.length-1];if(n!==void 0)t[0]=n;else if(r&&a){let s=r.readValue(a,i);s!=null&&(t[0]=s)}t[0]===void 0&&(t[0]=i),o&&n===void 0&&o.set(t[0])}k0(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),Lo.delete(this)}cancel(){this.state==="scheduled"&&(Lo.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}};var M0=e=>e.startsWith("--");function D0(e,t,a){M0(t)?e.style.setProperty(t,a):e.style[t]=a}var N0=vo(()=>window.ScrollTimeline!==void 0);var R0={};function B0(e,t){let a=vo(e);return()=>R0[t]??a()}var du=B0(()=>{try{document.createElement("div").animate({opacity:0}
8,{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing");var Io=([e,t,a,r])=>`cubic-bezier(${e}, ${t}, ${a}, ${r})`;var im={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Io([0,.65,.55,1]),circOut:Io([.55,0,1,.45]),backIn:Io([.31,.01,.66,-.59]),backOut:Io([.33,1.53,.69,.99])};function sm(e,t){if(e)return typeof e=="function"?du()?nu(e,t):"ease-out":Vs(e)?Io(e):Array.isArray(e)?e.map(a=>sm(a,t)||im.easeOut):im[e]}function _0(e,t,a,{delay:r=0,duration:o=300,repeat:n=0,repeatType:i="loop",ease:s="easeOut",times:l}={},d=void 0){let u={[t]:a};l&&(u.offset=l);let c=sm(s,o);Array.isArray(c)&&(u.easing=c),ht.value&&aa.waapi++;let f={delay:r,duration:o,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:n+1,direction:i==="reverse"?"alternate":"normal"};d&&(f.pseudoElement=d);let g=e.animate(u,f);return ht.value&&g.finished.finally(()=>{aa.waapi--}),g}function uu(e){return typeof e=="function"&&"applyToOptions"in e}function O0({type:e,...t}){return uu(e)&&du()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}var cu=class extends Rr{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,!t)return;let{element:a,name:r,keyframes:o,pseudoElement:n,allowFlatten:i=!1,finalKeyframe:s,onComplete:l}=t;this.isPseudoElement=!!n,this.allowFlatten=i,this.options=t,Vt(typeof t.type!="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");let d=O0(t);this.animation=_0(a,r,o,d,n),d.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!n){let u=jn(o,this.options,s,this.speed);this.updateMotionValue?this.updateMotionValue(u):D0(a,r,u),this.animation.cancel()}l?.(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:t}=this;t==="idle"||t==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){let t=this.animation.effect?.getComputedTiming?.().duration||0;return Ve(Number(t))}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+Ve(t)}get time(){return Ve(Number(this.animation.currentTime)||0)}set time(t){this.finishedTime=null,this.animation.currentTime=Oe(t)}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(t){this.animation.startTime=t}attachTimeline({timeline:t,observe:a}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&N0()?(this.animation.timeline=t,Se):a(this)}};var V0={anticipate:Ns,backInOut:Ds,circInOut:_s};function EI(e){return e in V0}function z0(e){typeof e.ease=="string"&&EI(e.ease)&&(e.ease=V0[e.ease])}var U0=10,fu=class extends cu{constructor(t){z0(t),lu(t),super(t),t.startTime&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){let{motionValue:a,onUpdate:r,onComplete:o,element:n,...i}=this.options;if(!a)return;if(t!==void 0){a.set(t);return}let s=new qa({...i,autoplay:!1}),l=Oe(this.finishedTime??this.time);a.setWithVelocity(s.sample(l-U0).value,s.sample(l).value,U0),s.stop()}};var lm=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(rt.test(e)||e==="0")&&!e.startsWith("url("));function MI(e){let t=e[0];if(e.length===1)return!0;for(let a=0;a<e.length;a++)if(e[a]!==t)return!0}function q0(e,t,a,r){let o=e[0];if(o===null)return!1;if(t==="display"||t==="visibility")return!0;let n=e[e.length-1],i=lm(o,t),s=lm(n,t);return Va(i===s,`You are trying to animate ${t} from "${o}" to "${n}". "${i?n:o}" is not an animatable value.`,"value-not-animatable"),!i||!s?!1:MI(e)||(a==="spring"||uu(a))&&r}function Hn(e){e.duration=0,e.type="keyframes"}var DI=new Set(["opacity","clipPath","filter","transform"]),NI=vo(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function j0(e){let{motionValue:t,name:a,repeatDelay:r,repeatType:
8o,damping:n,type:i}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:l,transformTemplate:d}=t.owner.getProps();return NI()&&a&&DI.has(a)&&(a!=="transform"||!d)&&!l&&!r&&o!=="mirror"&&n!==0&&i!=="inertia"}var RI=40,Xs=class extends Rr{constructor({autoplay:t=!0,delay:a=0,type:r="keyframes",repeat:o=0,repeatDelay:n=0,repeatType:i="loop",keyframes:s,name:l,motionValue:d,element:u,...c}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=Te.now();let f={autoplay:t,delay:a,type:r,repeat:o,repeatDelay:n,repeatType:i,name:l,motionValue:d,element:u,...c},g=u?.KeyframeResolver||ja;this.keyframeResolver=new g(s,(v,x,F)=>this.onKeyframesResolved(v,x,f,!F),l,d,u),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,a,r,o){this.keyframeResolver=void 0;let{name:n,type:i,velocity:s,delay:l,isHandoff:d,onUpdate:u}=r;this.resolvedAt=Te.now(),q0(t,n,i,s)||((tt.instantAnimations||!l)&&u?.(jn(t,r,a)),t[0]=t[t.length-1],Hn(r),r.repeat=0);let f={startTime:o?this.resolvedAt?this.resolvedAt-this.createdAt>RI?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:a,...r,keyframes:t},g=!d&&j0(f)?new fu({...f,element:f.motionValue.owner.current}):new qa(f);g.finished.then(()=>this.notifyFinished()).catch(Se),this.pendingTimeline&&(this.stopTimeline=g.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=g}get finished(){return this._animation?this.animation.finished:this._finished}then(t,a){return this.finished.finally(t).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),nm()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}};var BI=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function _I(e){let t=BI.exec(e);if(!t)return[,];let[,a,r,o]=t;return[`--${a??r}`,o]}var OI=4;function dm(e,t,a=1){Vt(a<=OI,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[r,o]=_I(e);if(!r)return;let n=window.getComputedStyle(t).getPropertyValue(r);if(n){let i=n.trim();return As(i)?parseFloat(i):i}return yo(o)?dm(o,t,a+1):o}function ko(e,t){return e?.[t]??e?.default??e}var Ks=new Set(["width","height","top","left","right","bottom",...oa]);var H0={test:e=>e==="auto",parse:e=>e};var pu=e=>t=>t.test(e);var um=[ga,V,at,ra,Gp,Wp,H0],cm=e=>um.find(pu(e));function W0(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||Es(e):!0}var VI=new Set(["brightness","contrast","saturate","opacity"]);function zI(e){let[t,a]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;let[r]=a.match(On)||[];if(!r)return e;let o=a.replace(r,""),n=VI.has(t)?1:0;return r!==a&&(n*=100),t+"("+n+o+")"}var UI=/\b([a-z-]*)\(.*?\)/gu,Ys={...rt,getAnimatableNone:e=>{let t=e.match(UI);return t?t.map(zI).join(" "):e}};var fm={...ga,transform:Math.round};var G0={rotate:ra,rotateX:ra,rotateY:ra,rotateZ:ra,scale:qs,scaleX:qs,scaleY:qs,scaleZ:qs,skew:ra,skewX:ra,skewY:ra,distance:V,translateX:V,translateY:V,translateZ:V,x:V,y:V,z:V,perspective:V,transformPerspective:V,opacity:Ua,originX:tu,originY:tu,originZ:V};var So={borderWidth:V,borderTopWidth:V,borderRightWidth:V,borderBottomWidth:V,borderLeftWidth:V,borderRadius:V,radius:V,borderTopLeftRadius:V,borderTopRightRadius:V,borderBottomRightRadius:V,borderBottomLeftRadius:V,width:V,maxWidth:V,height:V,maxHeight:V,top:V,right:V,bottom:V,left:V,padding:V,paddingTop:V,paddingRight:V,paddingBottom:V,paddingLeft:V,margin:V,marginTop:V,marginRight:V,marginBottom:V,marginLeft:V,backgroundPositionX:V,backgroundPositionY:V,...G0,zIndex:fm,fillOpacity:Ua,strokeOpacity:Ua,numOctaves:fm};var $0={...So,color:be,backgroundColor:be,outlineColor:be,fill:be,stroke:be,borderColor:be,borderTopColor:be,borderRightColor:be,borderBottomColor:be,borderLeftColor:be,filter:Ys,WebkitFilter:Ys}
8,Zs=e=>$0[e];function Qs(e,t){let a=Zs(e);return a!==Ys&&(a=rt),a.getAnimatableNone?a.getAnimatableNone(t):void 0}var qI=new Set(["auto","none","0"]);function X0(e,t,a){let r=0,o;for(;r<e.length&&!o;){let n=e[r];typeof n=="string"&&!qI.has(n)&&Nr(n).values.length&&(o=e[r]),r++}if(o&&a)for(let n of t)e[n]=Qs(a,o)}var Js=class extends ja{constructor(t,a,r,o,n){super(t,a,r,o,n,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:a,name:r}=this;if(!a||!a.current)return;super.readKeyframes();for(let l=0;l<t.length;l++){let d=t[l];if(typeof d=="string"&&(d=d.trim(),yo(d))){let u=dm(d,a.current);u!==void 0&&(t[l]=u),l===t.length-1&&(this.finalKeyframe=d)}}if(this.resolveNoneKeyframes(),!Ks.has(r)||t.length!==2)return;let[o,n]=t,i=cm(o),s=cm(n);if(i!==s)if(tm(i)&&tm(s))for(let l=0;l<t.length;l++){let d=t[l];typeof d=="string"&&(t[l]=parseFloat(d))}else Br[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:a}=this,r=[];for(let o=0;o<t.length;o++)(t[o]===null||W0(t[o]))&&r.push(o);r.length&&X0(t,r,a)}measureInitialState(){let{element:t,unresolvedKeyframes:a,name:r}=this;if(!t||!t.current)return;r==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Br[r](t.measureViewportBox(),window.getComputedStyle(t.current)),a[0]=this.measuredOrigin;let o=a[a.length-1];o!==void 0&&t.getValue(r,o).jump(o,!1)}measureEndState(){let{element:t,name:a,unresolvedKeyframes:r}=this;if(!t||!t.current)return;let o=t.getValue(a);o&&o.jump(this.measuredOrigin,!1);let n=r.length-1,i=r[n];r[n]=Br[a](t.measureViewportBox(),window.getComputedStyle(t.current)),i!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=i),this.removedTransforms?.length&&this.removedTransforms.forEac
8h(([s,l])=>{t.getValue(s).set(l)}),this.resolveNoneKeyframes()}};function K0(e,t,a){if(e instanceof EventTarget)return[e];if(typeof e=="string"){let r=document;t&&(r=t.current);let o=a?.[e]??r.querySelectorAll(e);return o?Array.from(o):[]}return Array.from(e)}var el=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function tl(e){return Ts(e)&&"offsetHeight"in e}var Y0=30,jI=e=>!isNaN(parseFloat(e)),pm={current:void 0},mu=class{constructor(t,a={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=r=>{let o=Te.now();if(this.updatedAt!==o&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let n of this.dependents)n.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=a.owner}setCurrent(t){this.current=t,this.updatedAt=Te.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=jI(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,a){this.events[t]||(this.events[t]=new za);let r=this.events[t].add(a);return t==="change"?()=>{r(),Z.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,a){this.passiveEffect=t,this.stopPassiveEffect=a}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,a,r){this.set(a),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-r}jump(t,a=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,a&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return pm.current&&pm.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let t=Te.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>Y0)return 0;let a=Math.min(this.updatedAt-this.prevUpdatedAt,Y0);return Ms(parseFloat(this.current)-parseFloat(this.prevFrameValue),a)}start(t){return this.stop(),new Promise(a=>{this.hasAnimated=!0,this.animation=t(a),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}};function zt(e,t){return new mu(e,t)}var{schedule:Fo,cancel:HI}=Qd(queueMicrotask,!1);var Ut={x:!1,y:!1};function hu(){return Ut.x||Ut.y}function mm(e){return e==="x"||e==="y"?Ut[e]?null:(Ut[e]=!0,()=>{Ut[e]=!1}):Ut.x||Ut.y?null:(Ut.x=Ut.y=!0,()=>{Ut.x=Ut.y=!1})}function gu(e,t){let a=K0(e),r=new AbortController,o={passive:!0,...t,signal:r.signal};return[a,o,()=>r.abort()]}function Z0(e){return!(e.pointerType==="touch"||hu())}function hm(e,t,a={}){let[r,o,n]=gu(e,a),i=s=>
8{if(!Z0(s))return;let{target:l}=s,d=t(l,s);if(typeof d!="function"||!l)return;let u=c=>{Z0(c)&&(d(c),l.removeEventListener("pointerleave",u))};l.addEventListener("pointerleave",u,o)};return r.forEach(s=>{s.addEventListener("pointerenter",i,o)}),n}var gm=(e,t)=>t?e===t?!0:gm(e,t.parentElement):!1;var Po=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;var WI=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function Q0(e){return WI.has(e.tagName)||e.tabIndex!==-1}var Wn=new WeakSet;function J0(e){return t=>{t.key==="Enter"&&e(t)}}function xm(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}var ew=(e,t)=>{let a=e.currentTarget;if(!a)return;let r=J0(()=>{if(Wn.has(a))return;xm(a,"down");let o=J0(()=>{xm(a,"up")}),n=()=>xm(a,"cancel");a.addEventListener("keyup",o,t),a.addEventListener("blur",n,t)});a.addEventListener("keydown",r,t),a.addEventListener("blur",()=>a.removeEventListener("keydown",r),t)};function tw(e){return Po(e)&&!hu()}function vm(e,t,a={}){let[r,o,n]=gu(e,a),i=s=>{let l=s.currentTarget;if(!tw(s))return;Wn.add(l);let d=t(l,s),u=(g,v)=>{window.removeEventListener("pointerup",c),window.removeEventListener("pointercancel",f),Wn.has(l)&&Wn.delete(l),tw(g)&&typeof d=="function"&&d(g,{success:v})},c=g=>{u(g,l===window||l===document||a.useGlobalTarget||gm(l,g.target))},f=g=>{u(g,!1)};window.addEventListener("pointerup",c,o),window.addEventListener("pointercancel",f,o)};return r.forEach(s=>{(a.useGlobalTarget?window:s).addEventListener("pointerdown",i,o),tl(s)&&(s.addEventListener("focus",d=>ew(d,o)),!Q0(s)&&!s.hasAttribute("tabindex")&&(s.tabIndex=0))}),n}function al(e){return Ts(e)&&"ownerSVGElement"in e}function wm(e){return al(e)&&e.tagName==="svg"}var fe=e=>!!(e&&e.getVelocity);var GI=[...um,be,rt],ym=e=>GI.find(pu(e));var xu=N(Q(),1),Ha=N(Q(),1);var aw=N(Q(),1),Gn=(0,aw.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});var ow=N(Q(),1);function rw(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function $I(...e){return t=>{let a=!1,r=e.map(o=>{let n=rw(o,t);return!a&&typeof n=="function"&&(a=!0),n});if(a)return()=>{for(let o=0;o<r.length;o++){let n=r[o];typeof n=="function"?n():rw(e[o],null)}}}}function nw(...e){return ow.useCallback($I(...e),e)}var bm=class extends xu.Component{getSnapshotBeforeUpdate(t){let a=this.props.childRef.current;if(a&&t.isPresent&&!this.props.isPresent){let r=a.offsetParent,o=tl(r)&&r.offsetWidth||0,n=this.props.sizeRef.current;n.height=a.offsetHeight||0,n.width=a.offsetWidth||0,n.top=a.offsetTop,n.left=a.offsetLeft,n.right=o-n.width-n.left}return null}componentDidUpdate(){}render(){return this.props.children}};function sw({children:e,isPresent:t,anchorX:a,root:r}){let o=(0,Ha.useId)(),n=(0,Ha.useRef)(null),i=(0,Ha.useRef)({width:0,height:0,top:0,left:0,right:0}),{nonce:s}=(0,Ha.useContext)(Gn),l=nw(n,e?.ref);return(0,Ha.useInsertionEffect)(()=>{let{width:d,height:u,top:c,left:f,right:g}=i.current;if(t||!n.current||!d||!u)return;let v=a==="left"?`left: ${f}`:`right: ${g}`;n.current.dataset.motionPopId=o;let x=document.createElement("style");s&&(x.nonce=s);let F=r??document.head;return F.appendChild(x),x.sheet&&x.sheet.insertRule(` 9 [data-motion-pop-id="${o}"] { 10 position: absolute !important; 11 width: ${d}px !important; 12 height: ${u}px !important; 13 ${v}px !important; 14 top: ${c}px !important; 15 } 16 `),()=>{F.contains(x)&&F.removeChild(x)}},[t]),(0,iw.jsx)(bm,{isPresent:t,childRef:n,sizeRef:i,children:xu.cloneElement(e,{ref:l})})}var dw=({children:e,initial:t,isPresent:a,onExitComplete:r,custom:o,presenceAffectsLayout:n,mode:i,anchorX:s,root:l})=>{let d=Rn(XI),u=(0,rl.useId)(),c=!0,f=(0,rl.useMemo)(()=>(c=!1,{id:u,initial:t,isPresent:a,custom:o,onExitComplete:g=>{d.set(g,!0);for(let v of d.values())if(!v)return;r&&r()},register:g=>(d.set(g,!1),()=>d.delete(g))}),[a,d,r]);return n&&c&&(f={...f}),(0,rl.useMemo)(()=>{d.forEach((g,v)=>d.set(v,!1))},[a]),lw.useEffect(()=>{!a&&!d.size&&r&&r()},[a]),i==="popLayout"&&(e=(0,Cm.jsx)(sw,{isPresent:a,anchorX:s,root:l,children:e})),(0,Cm.jsx)(Tr.Provider,{value:f,children:e})};function XI(){return new Map}var _r=N(Q(),1);function vu(e=!0){let t=(0,_r.useContext)(Tr);if(t===null)return[!0,null];let{isPresent:a,onExitComplete:r,register:o}=t,n=(0,_r.useId)();(0,_r.useEffect)(()=>
16{if(e)return o(n)},[e]);let i=(0,_r.useCallback)(()=>e&&r&&r(n),[n,r,e]);return!a&&r?[!1,i]:[!0]}var wu=N(Q(),1),ol=e=>e.key||"";function Lm(e){let t=[];return wu.Children.forEach(e,a=>{(0,wu.isValidElement)(a)&&t.push(a)}),t}var na=({children:e,custom:t,initial:a=!0,onExitComplete:r,presenceAffectsLayout:o=!0,mode:n="sync",propagate:i=!1,anchorX:s="left",root:l})=>{let[d,u]=vu(i),c=(0,va.useMemo)(()=>Lm(e),[e]),f=i&&!d?[]:c.map(ol),g=(0,va.useRef)(!0),v=(0,va.useRef)(c),x=Rn(()=>new Map),[F,m]=(0,va.useState)(c),[p,h]=(0,va.useState)(c);$d(()=>{g.current=!1,v.current=c;for(let I=0;I<p.length;I++){let A=ol(p[I]);f.includes(A)?x.delete(A):x.get(A)!==!0&&x.set(A,!1)}},[p,f.length,f.join("-")]);let w=[];if(c!==F){let I=[...c];for(let A=0;A<p.length;A++){let k=p[A],_=ol(k);f.includes(_)||(I.splice(A,0,k),w.push(k))}return n==="wait"&&w.length&&(I=w),h(Lm(I)),m(c),null}let{forceRender:y}=(0,va.useContext)(Nn);return(0,nl.jsx)(nl.Fragment,{children:p.map(I=>{let A=ol(I),k=i&&!d?!1:c===p||f.includes(A),_=()=>{if(x.has(A))x.set(A,!0);else return;let O=!0;x.forEach(de=>{de||(O=!1)}),O&&(y?.(),h(v.current),i&&u?.(),r&&r())};return(0,nl.jsx)(dw,{isPresent:k,initial:!g.current||a?void 0:!1,custom:t,presenceAffectsLayout:o,mode:n,root:l,onExitComplete:k?void 0:_,anchorX:s,children:I},A)})})};var uw=N(Q(),1),yu=(0,uw.createContext)({strict:!1});var cw={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"]},Wa={};for(let e in cw)Wa[e]={isEnabled:t=>cw[e].some(a=>!!t[a])};function fw(e){for(let t in e)Wa[t]={...Wa[t],...e[t]}}var KI=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function il(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||KI.has(e)}var pw=e=>!il(e);function YI(e){typeof e=="function"&&(pw=t=>t.startsWith("on")?!il(t):e(t))}try{YI(tb("@emotion/is-prop-valid").default)}catch{}function mw(e,t,a){let r={};for(let o in e)o==="values"&&typeof e.values=="object"||(pw(o)||a===!0&&il(o)||!t&&!il(o)||e.draggable&&o.startsWith("onDrag"))&&(r[o]=e[o]);return r}var Mu=N(ae(),1);var ti=N(Q(),1);var hw=N(Q(),1),Or=(0,hw.createContext)({});var Lu=N(Q(),1);function Vr(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function Ga(e){return typeof e=="string"||Array.isArray(e)}var bu=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],sl=["initial",...bu];function Ao(e){return Vr(e.animate)||sl.some(t=>Ga(e[t]))}function Cu(e){return!!(Ao(e)||e.variants)}function gw(e,t){if(Ao(e)){let{initial:a,animate:r}=e;return{initial:a===!1||Ga(a)?a:void 0,animate:Ga(r)?r:void 0}}return e.inherit!==!1?t:{}}function vw(e){let{initial:t,animate:a}=gw(e,(0,Lu.useContext)(Or));return(0,Lu.useMemo)(()=>({initial:t,animate:a}),[xw(t),xw(a)])}function xw(e){return Array.isArray(e)?e.join(" "):e}var Yn=N(Q(),1);var bw=N(Q(),1);var To={};function ww(e){for(let t in e)To[t]=e[t],wo(t)&&(To[t].isCSSVariable=!0)}function Iu(e,{layout:t,layoutId:a}){return Pt.has(e)||e.startsWith("origin")||(t||a!==void 0)&&(!!To[e]||e==="opacity")}var ZI={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},QI=oa.length;function yw(e,t,a){let r="",o=!0;for(let n=0;n<QI;n++){let i=oa[n],s=e[i];if(s===void 0)continue;let l=!0;if(typeof s=="number"?l=s===(i.startsWith("scale")?1:0):l=parseFloat(s)===0,!l||a){let d=el(s,So[i]);if(!l){o=!1;let u=ZI[i]||i;r+=`${u}(${d}) `}a&&(t[i]=d)}}return r=r.trim(),a?r=a(t,o?"":r):o&&(r="none"),r}function $n(e,t,a){let{style:r,vars:o,transformOrigin:n}=e,i=!1,s=!1;for(let l in t){let d=t[l];if(Pt.has(l)){i=!0;continue}else if(wo(l)){o[l]=d;continue}else{let u=el(d,So[l]);l.startsWith("origin")?(s=!0,n[l]=u):r[l]=u}}if(t.transform||(i||a?r.transform=yw(t,e.transform,a):r.transform&&(r.transform="none")),s){let{originX:l="50%",originY:d="50%",originZ:u=0}=n;r.transformOrigin=`${l} ${d} ${u}`}}var Xn=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Im(e,t,a){for(let r in t)!fe(t[r])&&!Iu(r,a)&&(e[r]=t[r])}function JI({transformTemplate:e},t){return(0,bw.useMemo)(()=>{let a=Xn();return $n(a,t,e),Object.assign({},a.vars,a.style)},[t])}function ek(e,t){let a=e.style||{},r={};return Im(r,a,e),Object.assign(r,JI(e,t)),r}function Cw(e,t){let a={},r=ek(e,t);return e.drag&&e.dragListener!==!1&&(a.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}
16`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(a.tabIndex=0),a.style=r,a}var Iw=N(Q(),1);var tk={offset:"stroke-dashoffset",array:"stroke-dasharray"},ak={offset:"strokeDashoffset",array:"strokeDasharray"};function Lw(e,t,a=1,r=0,o=!0){e.pathLength=1;let n=o?tk:ak;e[n.offset]=V.transform(-r);let i=V.transform(t),s=V.transform(a);e[n.array]=`${i} ${s}`}function ku(e,{attrX:t,attrY:a,attrScale:r,pathLength:o,pathSpacing:n=1,pathOffset:i=0,...s},l,d,u){if($n(e,s,d),l){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:c,style:f}=e;c.transform&&(f.transform=c.transform,delete c.transform),(f.transform||c.transformOrigin)&&(f.transformOrigin=c.transformOrigin??"50% 50%",delete c.transformOrigin),f.transform&&(f.transformBox=u?.transformBox??"fill-box",delete c.transformBox),t!==void 0&&(c.x=t),a!==void 0&&(c.y=a),r!==void 0&&(c.scale=r),o!==void 0&&Lw(c,o,n,i,!1)}var Su=()=>({...Xn(),attrs:{}});var Fu=e=>typeof e=="string"&&e.toLowerCase()==="svg";function kw(e,t,a,r){let o=(0,Iw.useMemo)(()=>{let n=Su();return ku(n,t,Fu(r),e.transformTemplate,e.style),{...n.attrs,style:{...n.style}}},[t]);if(e.style){let n={};Im(n,e.style,e),o.style={...n,...o.style}}return o}var Sw=["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 Kn(e){return typeof e!="string"||e.includes("-")?!1:!!(Sw.indexOf(e)>-1||/[A-Z]/u.test(e))}function Fw(e,t,a,{latestValues:r},o,n=!1){let s=(Kn(e)?kw:Cw)(t,r,o,e),l=mw(t,typeof e=="string",n),d=e!==Yn.Fragment?{...l,...s,ref:a}:{},{children:u}=t,c=(0,Yn.useMemo)(()=>fe(u)?u.get():u,[u]);return(0,Yn.createElement)(e,{...d,children:c})}var km=N(Q(),1);function Pw(e){let t=[{},{}];return e?.values.forEach((a,r)=>{t[0][r]=a.get(),t[1][r]=a.getVelocity()}),t}function Zn(e,t,a,r){if(typeof t=="function"){let[o,n]=Pw(r);t=t(a!==void 0?a:e.custom,o,n)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){let[o,n]=Pw(r);t=t(a!==void 0?a:e.custom,o,n)}return t}function Qn(e){return fe(e)?e.get():e}function rk({scrapeMotionValuesFromProps:e,createRenderState:t},a,r,o){return{latestValues:ok(a,r,o,e),renderState:t()}}function ok(e,t,a,r){let o={},n=r(e,{});for(let f in n)o[f]=Qn(n[f]);let{initial:i,animate:s}=e,l=Ao(e),d=Cu(e);t&&d&&!l&&e.inherit!==!1&&(i===void 0&&(i=t.initial),s===void 0&&(s=t.animate));let u=a?a.initial===!1:!1;u=u||i===!1;let c=u?s:i;if(c&&typeof c!="boolean"&&!Vr(c)){let f=Array.isArray(c)?c:[c];for(let g=0;g<f.length;g++){let v=Zn(e,f[g]);if(v){let{transitionEnd:x,transition:F,...m}=v;for(let p in m){let h=m[p];if(Array.isArray(h)){let w=u?h.length-1:0;h=h[w]}h!==null&&(o[p]=h)}for(let p in x)o[p]=x[p]}}}return o}var Pu=e=>(t,a)=>{let r=(0,km.useContext)(Or),o=(0,km.useContext)(Tr),n=()=>rk(e,t,r,o);return a?n():Rn(n)};function Jn(e,t,a){let{style:r}=e,o={};for(let n in r)(fe(r[n])||t.style&&fe(t.style[n])||Iu(n,e)||a?.getValue(n)?.liveStyle!==void 0)&&(o[n]=r[n]);return o}var Aw=Pu({scrapeMotionValuesFromProps:Jn,createRenderState:Xn});function Au(e,t,a){let r=Jn(e,t,a);for(let o in e)if(fe(e[o])||fe(t[o])){let n=oa.indexOf(o)!==-1?"attr"+o.charAt(0).toUpperCase()+o.substring(1):o;r[n]=e[o]}return r}var Tw=Pu({scrapeMotionValuesFromProps:Au,createRenderState:Su});var Ew=Symbol.for("motionComponentSymbol");var Mw=N(Q(),1);function $a(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function Dw(e,t,a){return(0,Mw.useCallback)(r=>{r&&e.onMount&&e.onMount(r),t&&(r?t.mount(r):t.unmount()),a&&(typeof a=="function"?a(r):$a(a)&&(a.current=r))},[t])}var xt=N(Q(),1);var ei=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase();var nk="framerAppearId",Tu="data-"+ei(nk);var Nw=N(Q(),1),Eu=(0,Nw.createContext)({});function Rw(e,t,a,r,o){let{visualElement:n}=(0,xt.useContext)(Or),i=(0,xt.useContext)(yu),s=(0,xt.useContext)(Tr),l=(0,xt.useContext)(Gn).reducedMotion,d=(0,xt.useRef)(null);r=r||i.renderer,!d.current&&r&&(d.current=r(e,{visualState:t,parent:n,props:a,presenceContext:s,blockInitialAnimation:s?s.initial===!1:!1,reducedMotionConfig:l}));let u=d.current,c=(0,xt.useContext)(Eu);u&&!u.projection&&o&&(u.type==="html"||u.type==="svg")&&ik(d.current,a,o,c);let f=(0,xt.useRef)(!1);(0,xt.useInsertionEffect)(()=>{u&&f.current&&u.update(a,s)});let g=a[Tu],v=(0,xt.useRef)(!!g&&!window.MotionHandoffIsComplete?.(g)&&window.MotionHasOptimisedAnimation?.(g));return $d(()=>{u&&(f.current=!0,window.MotionIsMounted=!0,u.updateFeatures(),u.scheduleRenderMicrotask(),v.current&&u.animationState&&u.animationState.animateChanges())}),(0,xt.useEffect)(()=>{u&&(!v.current&&u.animationState&&u.animationState.animateChanges(),v.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(g)}),v.current=!1),u.enteringChildren=void 0)}),u}function ik(e,t,a,r){let{layoutId:o,layout:n,drag:i,dragConstraints:s,layoutScroll:l,layoutRoot:d,layoutCrossfade:u}=t;e.projection=new a(e.latestValues,t["data-framer-portal-id"]?void 0:Bw(e.parent)),e.projection.setOptions({layoutId:o,layout:n,alwaysMeasureLayout:!!i||s&&$a(s),visualElement:e,animationType:typeof n=="string"?n:"both",initialPromotionConfig:r,crossfade:u,layoutScroll:l,layoutRoot:d})}function Bw(e){if(e)return e.options.allowProjection!==!1?e.projection:Bw(e.parent)}function Du(e,{forwardMotionProps:t=!1}={},a,r){a&&fw(a);let o=Kn(e)?Tw:Aw;function n(s,l){let d,u={...(0,ti.useContext)(Gn),...s,layoutId:sk(s)},{isStatic:c}=u,f=vw(s),g=o(s,c);if(!c&&Bn){lk(u,a);let v=dk(u);d=v.MeasureLayout,f.visualElement=Rw(e,g,u,r,v.ProjectionNode)}return(0,Mu.jsxs)(Or.Provider,{value:f,children:[d&&f.visualElement?(0,Mu.jsx)(d,{visualElement:f.visualElement,...u}):null,Fw(e,s,Dw(g,f.visualElement,l),g,c,t)]})}n.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;let i=(0,ti.forwardRef)(n);return i[Ew]=e,i}function sk({layoutId:e}){let t=(0,ti.useContext)(Nn).id;return t&&e!==void 0?t+"-"+e:e}function lk(e,t){let a=(0,ti.useContext)(yu).strict}function dk(e){let{drag:t,layout:a}=Wa;if(!t&&!a)return{};let r={...t,...a};return{MeasureLayout:t?.isEnabled(e)||a?.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}
vendor: 4,414 bytes, line 16
16function _w(e,t){if(typeof Proxy>"u")return Du;let a=new Map,r=(n,i)=>Du(n,i,e,t),o=(n,i)=>r(n,i);return new Proxy(o,{get:(n,i)=>i==="create"?r:(a.has(i)||a.set(i,Du(i,void 0,e,t)),a.get(i))})}var ey=N(Q(),1);function Nu({top:e,left:t,right:a,bottom:r}){return{x:{min:t,max:a},y:{min:e,max:r}}}function Ow({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function Vw(e,t){if(!t)return e;let a=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:a.y,left:a.x,bottom:r.y,right:r.x}}function Sm(e){return e===void 0||e===1}function Ru({scale:e,scaleX:t,scaleY:a}){return!Sm(e)||!Sm(t)||!Sm(a)}function Xa(e){return Ru(e)||Fm(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function Fm(e){return zw(e.x)||zw(e.y)}function zw(e){return e&&e!=="0%"}function ll(e,t,a){let r=e-a,o=t*r;return a+o}function Uw(e,t,a,r,o){return o!==void 0&&(e=ll(e,o,r)),ll(e,a,r)+t}function Pm(e,t=0,a=1,r,o){e.min=Uw(e.min,t,a,r,o),e.max=Uw(e.max,t,a,r,o)}function Am(e,{x:t,y:a}){Pm(e.x,t.translate,t.scale,t.originPoint),Pm(e.y,a.translate,a.scale,a.originPoint)}var qw=.999999999999,jw=1.0000000000001;function Ww(e,t,a,r=!1){let o=a.length;if(!o)return;t.x=t.y=1;let n,i;for(let s=0;s<o;s++){n=a[s],i=n.projectionDelta;let{visualElement:l}=n.options;l&&l.props.style&&l.props.style.display==="contents"||(r&&n.options.layoutScroll&&n.scroll&&n!==n.root&&Eo(e,{x:-n.scroll.offset.x,y:-n.scroll.offset.y}),i&&(t.x*=i.x.scale,t.y*=i.y.scale,Am(e,i)),r&&Xa(n.latestValues)&&Eo(e,n.latestValues))}t.x<jw&&t.x>qw&&(t.x=1),t.y<jw&&t.y>qw&&(t.y=1)}function zr(e,t){e.min=e.min+t,e.max=e.max+t}function Hw(e,t,a,r,o=.5){let n=te(e.min,e.max,o);Pm(e,t,a,n,r)}function Eo(e,t){Hw(e.x,t.x,t.scaleX,t.scale,t.originX),Hw(e.y,t.y,t.scaleY,t.scale,t.originY)}function Tm(e,t){return Nu(Vw(e.getBoundingClientRect(),t))}function Gw(e,t,a){let r=Tm(e,a),{scroll:o}=t;return o&&(zr(r.x,o.offset.x),zr(r.y,o.offset.y)),r}var $w=()=>({translate:0,scale:1,origin:0,originPoint:0}),Mo=()=>({x:$w(),y:$w()}),Xw=()=>({min:0,max:0}),we=()=>({x:Xw(),y:Xw()});var dl={current:null},Bu={current:!1};function Kw(){if(Bu.current=!0,!!Bn)if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>dl.current=e.matches;e.addEventListener("change",t),t()}else dl.current=!1}var Yw=new WeakMap;function Zw(e,t,a){for(let r in t){let o=t[r],n=a[r];if(fe(o))e.addValue(r,o);else if(fe(n))e.addValue(r,zt(o,{owner:e}));else if(n!==o)if(e.hasValue(r)){let i=e.getValue(r);i.liveStyle===!0?i.jump(o):i.hasAnimated||i.set(o)}else{let i=e.getStaticValue(r);e.addValue(r,zt(i!==void 0?i:o,{owner:e}))}}for(let r in a)t[r]===void 0&&e.removeValue(r);return t}var Qw=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],_u=class{scrapeMotionValuesFromProps(t,a,r){return{}}constructor({parent:t,props:a,presenceContext:r,reducedMotionConfig:o,blockInitialAnimation:n,visualState:i},s={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=ja,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let f=Te.now();this.renderScheduledAt<f&&(this.renderScheduledAt=f,Z.render(this.render,!1,!0))};let{latestValues:l,renderState:d}=i;this.latestValues=l,this.baseTarget={...l},this.initialValues=a.initial?{...l}:{},this.renderState=d,this.parent=t,this.props=a,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=o,this.options=s,this.blockInitialAnimation=!!n,this.isControllingVariants=Ao(a),this.isVariantNode=Cu(a),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);let{willChange:u,...c}=this.scrapeMotionValuesFromProps(a,{},this);for(let f in c){let g=c[f];l[f]!==void 0&&fe(g)&&g.set(l[f])}}mount(t){this.current=t,Yw.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEac
16h((a,r)=>this.bindToMotionValue(r,a)),Bu.current||Kw(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:dl.current,this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&&this.projection.unmount(),gt(this.notifyUpdate),gt(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(let t in this.events)this.events[t].clear();for(let t in this.features){let a=this.features[t];a&&(a.unmount(),a.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,a){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();let r=Pt.has(t);r&&this.onBindTransform&&this.onBindTransform();let o=a.on("change",i=>{this.latestValues[t]=i,this.props.onUpdate&&Z.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()}),n;window.MotionCheckAppearSync&&(n=window.MotionCheckAppearSync(this,t,a)),this.valueSubscriptions.set(t,()=>{o(),n&&n(),a.owner&&a.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in Wa){let a=Wa[t];if(!a)continue;let{isEnabled:r,Feature:o}=a;if(!this.features[t]&&o&&r(this.props)&&(this.features[t]=new o(this)),this.features[t]){let n=this.features[t];n.isMounted?n.update():(n.mount(),n.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):we()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,a){this.latestValues[t]=a}update(t,a){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=a;for(let r=0;r<Qw.length;r++){let o=Qw[r];this.propEventSubscriptions[o]&&(this.propEventSubscriptions[o](),delete this.propEventSubscriptions[o]);let n="on"+o,i=t[n];i&&(this.propEventSubscriptions[o]=this.on(o,i))}this.prevMotionValues=Zw(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){let a=this.getClosestVariantNode();if(a)return a.variantChildren&&a.variantChildren.add(t),()=>a.variantChildren.delete(t)}addValue(t,a){let r=this.values.get(t);a!==r&&(r&&this.removeValue(t),this.bindToMotionValue(t,a),this.values.set(t,a),this.latestValues[t]=a.get())}removeValue(t){this.values.delete(t);let a=this.valueSubscriptions.get(t);a&&(a(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,a){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return r===void 0&&a!==void 0&&(r=zt(a===null?void 0:a,{owner:this}),this.addValue(t,r)),r}readValue(t,a){let r=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options);return r!=null&&(typeof r=="string"&&(As(r)||Es(r))?r=parseFloat(r):!ym(r)&&rt.test(a)&&(r=Qs(t,a)),this.setBaseTarget(t,fe(r)?r.get():r)),fe(r)?r.get():r}setBaseTarget(t,a){this.baseTarget[t]=a}getBaseTarget(t){let{initial:a}=this.props,r;if(typeof a=="string"||typeof a=="object"){let n=Zn(this.props,a,this.presenceContext?.custom);n&&(r=n[t])}if(a&&r!==void 0)return r;let o=this.getBaseTargetFromProps(this.props,t);return o!==void 0&&!fe(o)?o:this.initialValues[t]!==void 0&&r===void 0?void 0:this.baseTarget[t]}on(t,a){return this.events[t]||(this.events[t]=new za),this.events[t].add(a)}notify(t,...a){this.events[t]&&this.events[t].notify(...a)}scheduleRenderMicrotask(){Fo.render(this.render)}};var ai=class extends _u{constructor(){super(...arguments),this.KeyframeResolver=Js}sortInstanceNodePosition(t,a){return t.compareDocumentPosition(a)&2?1:-1}getBaseTargetFromProps(t,a){return t.style?t.style[a]:void 0}removeValueFromRenderState(t,{vars:a,style:r}){delete a[t],delete r[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;fe(t)&&(this.childSubscription=t.on("change",a=>{this.current&&(this.current.textContent=`${a}`)}))}};function Ou(e,{style:t,vars:a},r,o){let n=e.style,i;for(i in t)n[i]=t[i];o?.applyProjectionStyles(n,r);for(i in a)n.setProperty(i,a[i])}function uk(e){return window.getComputedStyle(e)}var Vu=class extends ai{constructor(){super(...arguments),this.type="html",this.renderInstance=Ou}readValueFromInstance(t,a){if(Pt.has(a))return this.projection?.isProjecting?Gs(a):em(t,a);{let r=uk(t),o=(wo(a)?r.getPropertyValue(a):r[a])||0;
16return typeof o=="string"?o.trim():o}}measureInstanceViewportBox(t,{transformPagePoint:a}){return Tm(t,a)}build(t,a,r){$n(t,a,r.transformTemplate)}scrapeMotionValuesFromProps(t,a,r){return Jn(t,a,r)}};var zu=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function Jw(e,t,a,r){Ou(e,t,void 0,r);for(let o in t.attrs)e.setAttribute(zu.has(o)?o:ei(o),t.attrs[o])}var Uu=class extends ai{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=we}getBaseTargetFromProps(t,a){return t[a]}readValueFromInstance(t,a){if(Pt.has(a)){let r=Zs(a);return r&&r.default||0}return a=zu.has(a)?a:ei(a),t.getAttribute(a)}scrapeMotionValuesFromProps(t,a,r){return Au(t,a,r)}build(t,a,r){ku(t,a,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(t,a,r,o){Jw(t,a,r,o)}mount(t){this.isSVGTag=Fu(t.tagName),super.mount(t)}};var ty=(e,t)=>Kn(e)?new Uu(t):new Vu(t,{allowProjection:e!==ey.Fragment});function wa(e,t,a){let r=e.getProps();return Zn(r,t,a!==void 0?a:r.custom,e)}var ul=e=>Array.isArray(e);function ck(e,t,a){e.hasValue(t)?e.getValue(t).set(a):e.addValue(t,zt(a))}function fk(e){return ul(e)?e[e.length-1]||0:e}function ay(e,t){let a=wa(e,t),{transitionEnd:r={},transition:o={},...n}=a||{};n={...n,...r};for(let i in n){let s=fk(n[i]);ck(e,i,s)}}function ry(e){return!!(fe(e)&&e.add)}function cl(e,t){let a=e.getValue("willChange");if(ry(a))return a.add(t);if(!a&&tt.WillChange){let r=new tt.WillChange("auto");e.addValue("willChange",r),r.add(t)}}function qu(e){return e.props[Tu]}var pk=e=>e!==null;function oy(e,{repeat:t,repeatType:a="loop"},r){let o=e.filter(pk),n=t&&a!=="loop"&&t%2===1?0:o.length-1;return!n||r===void 0?o[n]:r}var mk={type:"spring",stiffness:500,damping:25,restSpeed:10},hk=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),gk={type:"keyframes",duration:.8},xk={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},ny=(e,{keyframes:t})=>t.length>2?gk:Pt.has(e)?e.startsWith("scale")?hk(t[1]):mk:xk;function iy({when:e,delay:t,delayChildren:a,staggerChildren:r,staggerDirection:o,repeat:n,repeatType:i,repeatDelay:s,from:l,elapsed:d,...u}){return!!Object.keys(u).length}var ri=(e,t,a,r={},o,n)=>i=>{let s=ko(r,e)||{},l=s.delay||r.delay||0,{elapsed:d=0}=r;d=d-Oe(l);let u={keyframes:Array.isArray(a)?a:[null,a],ease:"easeOut",velocity:t.getVelocity(),...s,delay:-d,onUpdate:f=>{t.set(f),s.onUpdate&&s.onUpdate(f)},onComplete:()=>{i(),s.onComplete&&s.onComplete()},name:e,motionValue:t,element:n?void 0:o};iy(s)||Object.assign(u,ny(e,u)),u.duration&&(u.duration=Oe(u.duration)),u.repeatDelay&&(u.repeatDelay=Oe(u.repeatDelay)),u.from!==void 0&&(u.keyframes[0]=u.from);let c=!1;if((u.type===!1||u.duration===0&&!u.repeatDelay)&&(Hn(u),u.delay===0&&(c=!0)),(tt.instantAnimations||tt.skipAnimations)&&(c=!0,Hn(u),u.delay=0),u.allowFlatten=!s.type&&!s.ease,c&&!n&&t.get()!==void 0){let f=oy(u.keyframes,s);if(f!==void 0){Z.update(()=>{u.onUpdate(f),u.onComplete()});return}}return s.isSync?new qa(u):new Xs(u)};function vk({protectedKeys:e,needsAnimating:t},a){let r=e.hasOwnProperty(a)&&t[a]!==!0;return t[a]=!1,r}function ju(e,t,{delay:a=0,transitionOverride:r,type:o}={}){let{transition:n=e.getDefaultTransition(),transitionEnd:i,...s}=t;r&&(n=r);let l=[],d=o&&e.animationState&&e.animationState.getState()[o];for(let u in s){let c=e.getValue(u,e.latestValues[u]??null),f=s[u];if(f===void 0||d&&vk(d,u))continue;let g={delay:a,...ko(n||{},u)},v=c.get();if(v!==void 0&&!c.isAnimating&&!Array.isArray(f)&&f===v&&!g.velocity)continue;let x=!1;if(window.MotionHandoffAnimation){let m=qu(e);if(m){let p=window.MotionHandoffAnimation(m,u,Z);p!==null&&(g.startTime=p,x=!0)}}cl(e,u),c.start(ri(u,c,f,e.shouldReduceMotion&&Ks.has(u)?{type:!1}:g,e,x));let F=c.animation;F&&l.push(F)}return i&&Promise.all(l).then(()=>{Z.update(()=>{i&&ay(e,i)})}),l}function Hu(e,t,a,r=0,o=1){let n=Array.from(e).sort((d,u)=>d.sortNodePosition(u)).indexOf(t),i=e.size,s=(i-1)*r;return typeof a=="function"?a(n,i):o===1?n*r:s-n*r}function Wu(e,t,a={}){let r=wa(e,t,a.type==="exit"?e.presenceContext?.custom:void 0),{transition:o=e.getDefaultTransition()||{}}=r||{};a.transitionOverride&&(o=a.transitionOverride);let n=r?()=>Promise.all(ju(e,r,a)):()=>Promise.resolve(),i=e.variantChildren&&e.variantChildren.size?(l=0)=>{let{delayChildren:d=0,staggerChildren:u,staggerDirection:c}=o;return wk(e,t,l,d,u,c,a)}:()=>Promise.resolve(),{when:s}=o;if(s){let[l,d]=s==="beforeChildren"?[n,i]:[i,n];return l().then(()=>d())}else return Promise.all([n(),i(a.delay)])}function wk(e,t,a=0,r=0,o=0,n=1,i){let s=[];for(let l of e.variantChildren)l.notify("AnimationStart",t),s.push(Wu(l,t,{...i,delay:a+(typeof r=="function"?0:r)+Hu(e.variantChildren,l,r,o,n)}).then(()=>l.notify("AnimationComplete",t)));return Promise.all(s)}function sy(e,t,a={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){let o=t.map(n=>Wu(e,n,a));r=Promise.all(o)}else if(typeof t=="string")r=Wu(e,t,a);else{let o=typeof t=="function"?wa(e,t,a.custom):t;r=Promise.all(ju(e,o,a))}return r.then(()=>
16{e.notify("AnimationComplete",t)})}function Em(e,t){if(!Array.isArray(t))return!1;let a=t.length;if(a!==e.length)return!1;for(let r=0;r<a;r++)if(t[r]!==e[r])return!1;return!0}var yk=sl.length;function Mm(e){if(!e)return;if(!e.isControllingVariants){let a=e.parent?Mm(e.parent)||{}:{};return e.props.initial!==void 0&&(a.initial=e.props.initial),a}let t={};for(let a=0;a<yk;a++){let r=sl[a],o=e.props[r];(Ga(o)||o===!1)&&(t[r]=o)}return t}var bk=[...bu].reverse(),Ck=bu.length;function Lk(e){return t=>Promise.all(t.map(({animation:a,options:r})=>sy(e,a,r)))}function dy(e){let t=Lk(e),a=ly(),r=!0,o=l=>(d,u)=>{let c=wa(e,u,l==="exit"?e.presenceContext?.custom:void 0);if(c){let{transition:f,transitionEnd:g,...v}=c;d={...d,...v,...g}}return d};function n(l){t=l(e)}function i(l){let{props:d}=e,u=Mm(e.parent)||{},c=[],f=new Set,g={},v=1/0;for(let F=0;F<Ck;F++){let m=bk[F],p=a[m],h=d[m]!==void 0?d[m]:u[m],w=Ga(h),y=m===l?p.isActive:null;y===!1&&(v=F);let I=h===u[m]&&h!==d[m]&&w;if(I&&r&&e.manuallyAnimateOnMount&&(I=!1),p.protectedKeys={...g},!p.isActive&&y===null||!h&&!p.prevProp||Vr(h)||typeof h=="boolean")continue;let A=Ik(p.prevProp,h),k=A||m===l&&p.isActive&&!I&&w||F>v&&w,_=!1,O=Array.isArray(h)?h:[h],de=O.reduce(o(m),{});y===!1&&(de={});let{prevResolvedValues:oe={}}=p,Zo={...oe,...de},La=ne=>{k=!0,f.has(ne)&&(_=!0,f.delete(ne)),p.needsAnimating[ne]=!0;let ue=e.getValue(ne);ue&&(ue.liveStyle=!1)};for(let ne in Zo){let ue=de[ne],Fe=oe[ne];if(g.hasOwnProperty(ne))continue;let Ke=!1;ul(ue)&&ul(Fe)?Ke=!Em(ue,Fe):Ke=ue!==Fe,Ke?ue!=null?La(ne):f.add(ne):ue!==void 0&&f.has(ne)?La(ne):p.protectedKeys[ne]=!0}p.prevProp=h,p.prevResolvedValues=de,p.isActive&&(g={...g,...de}),r&&e.blockInitialAnimation&&(k=!1);let $r=I&&A;k&&(!$r||_)&&c.push(...O.map(ne=>{let ue={type:m};if(typeof ne=="string"&&r&&!$r&&e.manuallyAnimateOnMount&&e.parent){let{parent:Fe}=e,Ke=wa(Fe,ne);if(Fe.enteringChildren&&Ke){let{delayChildren:Me}=Ke.transition||{};ue.delay=Hu(Fe.enteringChildren,e,Me)}}return{animation:ne,options:ue}}))}if(f.size){let F={};if(typeof d.initial!="boolean"){let m=wa(e,Array.isArray(d.initial)?d.initial[0]:d.initial);m&&m.transition&&(F.transition=m.transition)}f.forEach(m=>{let p=e.getBaseTarget(m),h=e.getValue(m);h&&(h.liveStyle=!0),F[m]=p??null}),c.push({animation:F})}let x=!!c.length;return r&&(d.initial===!1||d.initial===d.animate)&&!e.manuallyAnimateOnMount&&(x=!1),r=!1,x?t(c):Promise.resolve()}function s(l,d){if(a[l].isActive===d)return Promise.resolve();e.variantChildren?.forEach(c=>c.animationState?.setActive(l,d)),a[l].isActive=d;let u=i(l);for(let c in a)a[c].protectedKeys={};return u}return{animateChanges:i,setActive:s,setAnimateFunction:n,getState:()=>a,reset:()=>{a=ly(),r=!0}}}function Ik(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!Em(t,e):!1}function Do(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function ly(){return{animate:Do(!0),whileInView:Do(),whileHover:Do(),whileTap:Do(),whileDrag:Do(),whileFocus:Do(),exit:Do()}}var He=class{constructor(t){this.isMounted=!1,this.node=t}update(){}};var Gu=class extends He{constructor(t){super(t),t.animationState||(t.animationState=dy(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();Vr(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:a}=this.node.prevProps||{};t!==a&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}};var kk=0,$u=class extends He{constructor(){super(...arguments),this.id=kk++}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:a}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===r)return;let o=this.node.animationState.setActive("exit",!t);a&&!t&&o.then(()=>{a(this.id)})}mount(){let{register:t,onExitComplete:a}=this.node.presenceContext||{};a&&a(this.id),t&&(this.unmount=t(this.id))}unmount(){}};var uy={animation:{Feature:Gu},exit:{Feature:$u}};function Ka(e,t,a,r={passive:!0}){return e.addEventListener(t,a,r),()=>e.removeEventListener(t,a)}function Ya(e){return{point:{x:e.pageX,y:e.pageY}}}var cy=e=>t=>Po(t)&&e(t,Ya(t));function Ur(e,t,a,r){return Ka(e,t,cy(a),r)}var hy=1e-4,Sk=1-hy,Fk=1+hy,gy=.01,Pk=0-gy,Ak=0+gy;function ze(e){return e.max-e.min}function xy(e,t,a){return Math.abs(e-t)<=a}function fy(e,t,a,r=.5){e.origin=r,e.originPoint=te(t.min,t.max,e.origin),e.scale=ze(a)/ze(t),e.translate=te(a.min,a.max,e.origin)-e.originPoint,(e.scale>=Sk&&e.scale<=Fk||isNaN(e.scale))&&(e.scale=1),(e.translate>=Pk&&e.translate<=Ak||isNaN(e.translate))&&(e.translate=0)}function oi(e,t,a,r){fy(e.x,t.x,a.x,r?r.originX:void 0),fy(e.y,t.y,a.y,r?r.originY:void 0)}function py(e,t,a){e.min=a.min+t.min,e.max=e.min+ze(t)}function vy(e,t,a){py(e.x,t.x,a.x),py(e.y,t.y,a.y)}function my(e,t,a){e.min=t.min-a.min,e.max=e.min+ze(t)}function ni(e,t,a){my(e.x,t.x,a.x),my(e.y,t.y,a.y)}function vt(e){return[e("x"),e("y")]}var Xu=({current:e})=>e?e.ownerDocument.defaultView:null;var wy=(e,t)=>Math.abs(e-t);function yy(e,t){let a=wy(e.x,t.x),r=wy(e.y,t.y);return Math.sqrt(a**2+r**2)}var ii=class{constructor(t,a,{transformPagePoint:r,contextWindow:o=window,dragSnapToOrigin:n=!1,distanceThreshold:i=3}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let f=Nm(this.lastMoveEventInfo,this.history),g=this.startEvent!==null,v=yy(f.offset,{x:0,y:0})>=this.distanceThreshold;if(!g&&!v)return;let{point:x}=f,{timestamp:F}=Ae;this.history.push({...x,timestamp:F});let{onStart:m,onMove:p}=this.handlers;g||(m&&m(this.lastMoveEvent,f),this.startEvent=this.lastMoveEvent),p&&p(this.lastMoveEvent,f)},this.handlePointerMove=(f,g)=>{this.lastMoveEvent=f,this.lastMoveEventInfo=Dm(g,this.transformPagePoint),Z.update(this.updatePoint,!0)},this.handlePointerUp=(f,g)=>{this.end();let{onEnd:v,onSessionEnd:x,resumeAnimation:F}=this.handlers;if(this.dragSnapToOrigin&&F&&F(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let m=Nm(f.type==="pointercancel"?this.lastMoveEventInfo:Dm(g,this.transformPagePoint),this.history);this.startEvent&&v&&v(f,m),x&&x(f,m)},!Po(t))return;this.dragSnapToOrigin=n,this.handlers=a,this.transformPagePoint=r,this.distanceThreshold=i,this.contextWindow=o||window;let s=Ya(t),l=Dm(s,this.transformPagePoint),{point:d}=l,{timestamp:u}=Ae;this.history=[{...d,timestamp:u}];let{onSessionStart:c}=a;c&&c(t,Nm(l,this.history)),this.removeListeners=ta(Ur(this.contextWindow,"pointermove",this.handlePointerMove),Ur(this.contextWindow,"pointerup",this.handlePointerUp),Ur(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),gt(this.updatePoint)}};function Dm(e,t){return t?{point:t(e.point)}:e}function by(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Nm({point:e},t){return{point:e,delta:by(e,Cy(t)),offset:by(e,Tk(t)),velocity:Ek(t,.1)}}function Tk(e){return e[0]}function Cy(e){return e[e.length-1]}function Ek(e,t){if(e.length<2)return{x:0,y:0};let a=e.length-1,r=null,o=Cy(e);for(;a>=0&&(r=e[a],!(o.timestamp-r.timestamp>Oe(t)));)a--;if(!r)return{x:0,y:0};let n=Ve(o.timestamp-r.timestamp);if(n===0)return{x:0,y:0};let i={x:(o.x-r.x)/n,y:(o.y-r.y)/n};return i.x===1/0&&(i.x=0),i.y===1/0&&(i.y=0),i}function Fy(e,{min:t,max:a},r){return t!==void 0&&e<t?e=r?te(t,e,r.min):Math.max(e,t):a!==void 0&&e>a&&(e=r?te(a,e,r.max):Math.min(e,a)),e}function Ly(e,t,a){return{min:t!==void 0?e.min+t:void 0,max:a!==void 0?e.max+a-(e.max-e.min):void 0}}function Py(e,{top:t,left:a,bottom:r,right:o}){return{x:Ly(e.x,a,o),y:Ly(e.y,t,r)}}function Iy(e,t){let a=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([a,r]=[r,a]),{min:a,max:r}}function Ay(e,t){return{x:Iy(e.x,t.x),y:Iy(e.y,t.y)}}function Ty(e,t){let a=.5,r=ze(e),o=ze(t);return o>r?a=ha(t.min,t.max-r,e.min):r>o&&(a=ha(e.min,e.max-o,t.min)),je(0,1,a)}function Ey(e,t){let a={};return t.min!==void 0&&(a.min=t.min-e.min),t.max!==void 0&&(a.max=t.max-e.min),a}var Ku=.35;function My(e=Ku){return e===!1?e=0:e===!0&&(e=Ku),{x:ky(e,"left","right"),y:ky(e,"to
16p","bottom")}}function ky(e,t,a){return{min:Sy(e,t),max:Sy(e,a)}}function Sy(e,t){return typeof e=="number"?e:e[t]||0}var Mk=new WeakMap,Zu=class{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=we(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:a=!1,distanceThreshold:r}={}){let{presenceContext:o}=this.visualElement;if(o&&o.isPresent===!1)return;let n=c=>{let{dragSnapToOrigin:f}=this.getProps();f?this.pauseAnimation():this.stopAnimation(),a&&this.snapToCursor(Ya(c).point)},i=(c,f)=>{let{drag:g,dragPropagation:v,onDragStart:x}=this.getProps();if(g&&!v&&(this.openDragLock&&this.openDragLock(),this.openDragLock=mm(g),!this.openDragLock))return;this.latestPointerEvent=c,this.latestPanInfo=f,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),vt(m=>{let p=this.getAxisMotionValue(m).get()||0;if(at.test(p)){let{projection:h}=this.visualElement;if(h&&h.layout){let w=h.layout.layoutBox[m];w&&(p=ze(w)*(parseFloat(p)/100))}}this.originPoint[m]=p}),x&&Z.postRender(()=>x(c,f)),cl(this.visualElement,"transform");let{animationState:F}=this.visualElement;F&&F.setActive("whileDrag",!0)},s=(c,f)=>{this.latestPointerEvent=c,this.latestPanInfo=f;let{dragPropagation:g,dragDirectionLock:v,onDirectionLock:x,onDrag:F}=this.getProps();if(!g&&!this.openDragLock)return;let{offset:m}=f;if(v&&this.currentDirection===null){this.currentDirection=Dk(m),this.currentDirection!==null&&x&&x(this.currentDirection);return}this.updateAxis("x",f.point,m),this.updateAxis("y",f.point,m),this.visualElement.render(),F&&F(c,f)},l=(c,f)=>{this.latestPointerEvent=c,this.latestPanInfo=f,this.stop(c,f),this.latestPointerEvent=null,this.latestPanInfo=null},d=()=>vt(c=>this.getAnimationState(c)==="paused"&&this.getAxisMotionValue(c).animation?.play()),{dragSnapToOrigin:u}=this.getProps();this.panSession=new ii(t,{onSessionStart:n,onStart:i,onMove:s,onSessionEnd:l,resumeAnimation:d},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,distanceThreshold:r,contextWindow:Xu(this.visualElement)})}stop(t,a){let r=t||this.latestPointerEvent,o=a||this.latestPanInfo,n=this.isDragging;if(this.cancel(),!n||!o||!r)return;let{velocity:i}=o;this.startAnimation(i);let{onDragEnd:s}=this.getProps();s&&Z.postRender(()=>s(r,o))}cancel(){this.isDragging=!1;let{projection:t,animationState:a}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),a&&a.setActive("whileDrag",!1)}updateAxis(t,a,r){let{drag:o}=this.getProps();if(!r||!Yu(t,o,this.currentDirection))return;let n=this.getAxisMotionValue(t),i=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(i=Fy(i,this.constraints[t],this.elastic[t])),n.set(i)}resolveConstraints(){let{dragConstraints:t,dragElastic:a}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,o=this.constraints;t&&$a(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&r?this.constraints=Py(r.layoutBox,t):this.constraints=!1,this.elastic=My(a),o!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&vt(n=>{this.constraints!==!1&&this.getAxisMotionValue(n)&&(this.constraints[n]=Ey(r.layoutBox[n],this.constraints[n]))})}resolveRefConstraints(){let{dragConstraints:t,onMeasureDragConstraints:a}=this.getProps();if(!t||!$a(t))return!1;let r=t.current;Vt(r!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");let{projection:o}=this.visualElement;if(!o||!o.layout)return!1;let n=Gw(r,o.root,this.visualElement.getTransformPagePoint()),i=Ay(o.layout.layoutBox,n);if(a){let s=a(Ow(i));this.hasMutatedConstraints=!!s,s&&(i=Nu(s))}return i}startAnimation(t){let{drag:a,dragMomentum:r,dragElastic:o,dragTransition:n,dragSnapToOrigin:i,onDragTransitionEnd:s}=this.getProps(),l=this.constraints||{},d=vt(u=>{if(!Yu(u,a,this.currentDirection))return;let c=l&&l[u]||{};i&&(c={min:0,max:0});let f=o?200:1e6,g=o?40:1e7,v={type:"inertia",velocity:r?t[u]:0,bounceStiffness:f,bounceDamping:g,timeConstant:750,restDelta:1,restSpeed:10,...n,...c};return this.startAxisValueAnimation(u,v)});return Promise.all(d).then(s)}startAxisValueAnimation(t,a){let r=this.getAxisMotionValue(t);return cl(this.visualElement,t),r.start(ri(t,r,0,a,this.visualElement,!1))}stopAnimation(){vt(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){vt(t=>this.getAxisMotionValue(t).animation?.pause())}getAnimationState(t){return this.getAxisMotionValue(t).animation?.state}getAxisMotionValue(t){let a=`_drag${t.toUpperCase()}`,r=this.visualElement.getProps(),o=r[a];return o||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){vt(a=>{let{drag:r}=this.getProps();if(!Yu(a,r,this.currentDirection))return;let{projection:o}=this.visualElement,n=this.getAxisMotionValue(a);if(o&&o.layout){let{min:i,max:s}=o.layout.layoutBox[a];n.set(t[a]-te(i,s,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:a}=this.getProps(),{projection:r}=this.visualElement;if(!$a(a)||!r||!this.constraints)return;this.stopAnimation();let o={x:0,y:0};vt(i=>{let s=this.getAxisMotionValue(i);if(s&&this.constraints!==!1){let l=s.get();o[i]=Ty({min:l,max:l},this.constraints[i])}});let{transformTemplate:n}=this.visualElement.getProps();this.visualElement.current.style.transform=n?n({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),vt(i=>{if(!Yu(i,t,null))return;let s=this.getAxisMotionValue(i),{min:l,max:d}=this.constraints[i];s.set(te(l,d,o[i]))})}addListeners(){if(!this.visualElement.current)return;Mk.set(this.visualElement,this);let t=this.visualElement.current,a=Ur(t,"pointerdown",l=>{let{drag:d,dragListener:u=!0}=this.getProps();d&&u&&this.start(l)}),r=()=>{let{dragConstraints:l}=this.getProps();$a(l)&&l.current&&(this.constraints=this.resolveRefConstraints())},{projection:o}=this.visualElement,n=o.addEventListener("measure",r);o&&!o.layout&&(o.root&&o.root.updateScroll(),o.updateLayout()),Z.read(r);let i=Ka(window,"resize",()=>this.scalePositionWithinConstraints()),s=o.addEventListener("didUpdate",(({delta:l,hasLayoutChanged:d})=>{this.isDragging&&d&&(vt(u=>{let c=this.getAxisMotionValue(u);c&&(this.originPoint[u]+=l[u].translate,c.set(c.get()+l[u].translate))}),this.visualElement.render())}));return()=>{i(),a(),n(),s&&s()}}getProps(){let t=this.visualElement.getProps(),{drag:a=!1,dragDirectionLock:r=!1,dragPropagation:o=!1,dragConstraints:n=!1,dragElastic:i=Ku,dragMomentum:s=!0}=t;return{...t,drag:a,dragDirectionLock:r,dragPropagation:o,dragConstraints:n,dragElastic:i,dragMomentum:s}}};function Yu(e,t,a){return(t===!0||t===e)&&(a===null||a===e)}function Dk(e,t=10){let a=null;return Math.abs(e.y)>t?a="y":Math.abs(e.x)>t&&(a="x"),a}var Qu=class extends He{constructor(t){super(t),this.removeGroupControls=Se,this.removeListeners=Se,this.controls=new Zu(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Se}unmount(){this.removeGroupControls(),this.removeListeners()}};var Dy=e=>(t,a)=>{e&&Z.postRender(()=>e(t,a))},Ju=class extends He{constructor(){super(...arguments),this.removePointerDownListener=Se}onPointerDown(t){this.session=new ii(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Xu(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:a,onPan:r,onPanEnd:o}=this.node.getProps();return{onSessionStart:Dy(t),onStart:Dy(a),onMove:r,onEnd:(n,i)=>{delete this.session,o&&Z.postRender(()=>o(n,i))}}}mount(){this.removePointerDownListener=Ur(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}};var By=N(ae(),1);var fl=N(Q(),1);var si={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Ny(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var li={correct:(e,t)=>
vendor: 5,246 bytes, line 16
16{if(!t.target)return e;if(typeof e=="string")if(V.test(e))e=parseFloat(e);else return e;let a=Ny(e,t.target.x),r=Ny(e,t.target.y);return`${a}% ${r}%`}};var Ry={correct:(e,{treeScale:t,projectionDelta:a})=>{let r=e,o=rt.parse(e);if(o.length>5)return r;let n=rt.createTransformer(e),i=typeof o[0]!="number"?1:0,s=a.x.scale*t.x,l=a.y.scale*t.y;o[0+i]/=s,o[1+i]/=l;let d=te(s,l,.5);return typeof o[2+i]=="number"&&(o[2+i]/=d),typeof o[3+i]=="number"&&(o[3+i]/=d),n(o)}};var Rm=!1,Bm=class extends fl.Component{componentDidMount(){let{visualElement:t,layoutGroup:a,switchLayoutGroup:r,layoutId:o}=this.props,{projection:n}=t;ww(Nk),n&&(a.group&&a.group.add(n),r&&r.register&&o&&r.register(n),Rm&&n.root.didUpdate(),n.addEventListener("animationComplete",()=>{this.safeToRemove()}),n.setOptions({...n.options,onExitComplete:()=>this.safeToRemove()})),si.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:a,visualElement:r,drag:o,isPresent:n}=this.props,{projection:i}=r;return i&&(i.isPresent=n,Rm=!0,o||t.layoutDependency!==a||a===void 0||t.isPresent!==n?i.willUpdate():this.safeToRemove(),t.isPresent!==n&&(n?i.promote():i.relegate()||Z.postRender(()=>{let s=i.getStack();(!s||!s.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),Fo.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:a,switchLayoutGroup:r}=this.props,{projection:o}=t;Rm=!0,o&&(o.scheduleCheckAfterUnmount(),a&&a.group&&a.group.remove(o),r&&r.deregister&&r.deregister(o))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}};function ec(e){let[t,a]=vu(),r=(0,fl.useContext)(Nn);return(0,By.jsx)(Bm,{...e,layoutGroup:r,switchLayoutGroup:(0,fl.useContext)(Eu),isPresent:t,safeToRemove:a})}var Nk={borderRadius:{...li,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:li,borderTopRightRadius:li,borderBottomLeftRadius:li,borderBottomRightRadius:li,boxShadow:Ry};function _y(e,t,a){let r=fe(e)?e:zt(e);return r.start(ri("",r,t,a)),r.animation}var Oy=(e,t)=>e.depth-t.depth;var tc=class{constructor(){this.children=[],this.isDirty=!1}add(t){go(this.children,t),this.isDirty=!0}remove(t){xo(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(Oy),this.isDirty=!1,this.children.forEach(t)}};function Vy(e,t){let a=Te.now(),r=({timestamp:o})=>{let n=o-a;n>=t&&(gt(r),e(n-t))};return Z.setup(r,!0),()=>gt(r)}var jy=["TopLeft","TopRight","BottomLeft","BottomRight"],Rk=jy.length,zy=e=>typeof e=="string"?parseFloat(e):e,Uy=e=>typeof e=="number"||V.test(e);function Hy(e,t,a,r,o,n){o?(e.opacity=te(0,a.opacity??1,Bk(r)),e.opacityExit=te(t.opacity??1,0,_k(r))):n&&(e.opacity=te(t.opacity??1,a.opacity??1,r));for(let i=0;i<Rk;i++){let s=`border${jy[i]}Radius`,l=qy(t,s),d=qy(a,s);if(l===void 0&&d===void 0)continue;l||(l=0),d||(d=0),l===0||d===0||Uy(l)===Uy(d)?(e[s]=Math.max(te(zy(l),zy(d),r),0),(at.test(d)||at.test(l))&&(e[s]+="%")):e[s]=d}(t.rotate||a.rotate)&&(e.rotate=te(t.rotate||0,a.rotate||0,r))}function qy(e,t){return e[t]!==void 0?e[t]:e.borderRadius}var Bk=Wy(0,.5,Bs),_k=Wy(.5,.95,Se);function Wy(e,t,a){return r=>r<e?0:r>t?1:a(ha(e,t,r))}function Gy(e,t){e.min=t.min,e.max=t.max}function At(e,t){Gy(e.x,t.x),Gy(e.y,t.y)}function _m(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function $y(e,t,a,r,o){return e-=t,e=ll(e,1/a,r),o!==void 0&&(e=ll(e,1/o,r)),e}function Ok(e,t=0,a=1,r=.5,o,n=e,i=e){if(at.test(t)&&(t=parseFloat(t),t=te(i.min,i.max,t/100)-i.min),typeof t!="number")return;let s=te(n.min,n.max,r);e===n&&(s-=t),e.min=$y(e.min,t,a,s,o),e.max=$y(e.max,t,a,s,o)}function Xy(e,t,[a,r,o],n,i){Ok(e,t[a],t[r],t[o],t.scale,n,i)}var Vk=["x","scaleX","originX"],zk=["y","scaleY","originY"];function Om(e,t,a,r){Xy(e.x,t,Vk,a?a.x:void 0,r?r.x:void 0),Xy(e.y,t,zk,a?a.y:void 0,r?r.y:void 0)}function Ky(e){return e.translate===0&&e.scale===1}function Vm(e){return Ky(e.x)&&Ky(e.y)}function Yy(e,t){return e.min===t.min&&e.max===t.max}function Qy(e,t){return Yy(e.x,t.x)&&Yy(e.y,t.y)}function Zy(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function zm(e,t){return Zy(e.x,t.x)&&Zy(e.y,t.y)}function Um(e){return ze(e.x)/ze(e.y)}function qm(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}var ac=class{constructor(){this.members=[]}add(t){go(this.members,t),t.scheduleRender()}remove(t){if(xo(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let a=this.members[this.members.length-1];a&&this.promote(a)}}relegate(t){let a=this.members.findIndex(o=>t===o);if(a===0)return!1;let r;for(let o=a;o>=0;o--){let n=this.members[o];if(n.isPresent!==!1){r=n;break}}return r?(this.promote(r),!0):!1}promote(t,a){let r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.instance&&r.scheduleRender(),t.scheduleRender(),t.resumeFrom=r,a&&(t.resumeFrom.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);let{crossfade:o}
16=t.options;o===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{let{options:a,resumingFrom:r}=t;a.onExitComplete&&a.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}};function Jy(e,t,a){let r="",o=e.x.translate/t.x,n=e.y.translate/t.y,i=a?.z||0;if((o||n||i)&&(r=`translate3d(${o}px, ${n}px, ${i}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),a){let{transformPerspective:d,rotate:u,rotateX:c,rotateY:f,skewX:g,skewY:v}=a;d&&(r=`perspective(${d}px) ${r}`),u&&(r+=`rotate(${u}deg) `),c&&(r+=`rotateX(${c}deg) `),f&&(r+=`rotateY(${f}deg) `),g&&(r+=`skewX(${g}deg) `),v&&(r+=`skewY(${v}deg) `)}let s=e.x.scale*t.x,l=e.y.scale*t.y;return(s!==1||l!==1)&&(r+=`scale(${s}, ${l})`),r||"none"}var No={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},jm=["","X","Y","Z"],Uk=1e3,qk=0;function Hm(e,t,a,r){let{latestValues:o}=t;o[e]&&(a[e]=o[e],t.setStaticValue(e,0),r&&(r[e]=0))}function l1(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:t}=e.options;if(!t)return;let a=qu(t);if(window.MotionHasOptimisedAnimation(a,"transform")){let{layout:o,layoutId:n}=e.options;window.MotionCancelOptimisedAnimation(a,"transform",Z,!(o||n))}let{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&l1(r)}function rc({attachResizeListener:e,defaultParent:t,measureScroll:a,checkIsScrollRoot:r,resetTransform:o}){return class{constructor(i={},s=t?.()){this.id=qk++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,ht.value&&(No.nodes=No.calculatedTargetDeltas=No.calculatedProjections=0),this.nodes.forEach(Wk),this.nodes.forEach(Kk),this.nodes.forEach(Yk),this.nodes.forEach(Gk),ht.addProjectionMetrics&&ht.addProjectionMetrics(No)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=i,this.root=s?s.root||s:this,this.path=s?[...s.path,s]:[],this.parent=s,this.depth=s?s.depth+1:0;for(let l=0;l<this.path.length;l++)this.path[l].shouldResetTransform=!0;this.root===this&&(this.nodes=new tc)}addEventListener(i,s){return this.eventHandlers.has(i)||this.eventHandlers.set(i,new za),this.eventHandlers.get(i).add(s)}notifyListeners(i,...s){let l=this.eventHandlers.get(i);l&&l.notify(...s)}hasListeners(i){return this.eventHandlers.has(i)}mount(i){if(this.instance)return;this.isSVG=al(i)&&!wm(i),this.instance=i;let{layoutId:s,layout:l,visualElement:d}=this.options;if(d&&!d.current&&d.mount(i),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(l||s)&&(this.isLayoutDirty=!0),e){let u,c=0,f=()=>this.root.updateBlockedByResize=!1;Z.read(()=>{c=window.innerWidth}),e(i,()=>{let g=window.innerWidth;g!==c&&(c=g,this.root.updateBlockedByResize=!0,u&&u(),u=Vy(f,250),si.hasAnimatedSinceResize&&(si.hasAnimatedSinceResize=!1,this.nodes.forEach(a1)))})}s&&this.root.registerSharedNode(s,this),this.options.animate!==!1&&d&&(s||l)&&this.addEventListener("didUpdate",({delta:u,hasLayoutChanged:c,hasRelativeLayoutChanged:f,layout:g})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let v=this.options.transition||d.getDefaultTransition()||tS,{onLayoutAnimationStart:x,onLayoutAnimationComplete:F}=d.getProps(),m=!this.targetLayout||!zm(this.targetLayout,g),p=!c&&f;if(this.options.layoutRoot||this.resumeFrom||p||c&&(m||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let h={...ko(v,"layout"),onPlay:x,onComplete:F};(d.shouldReduceMotion||this.options.layoutRoot)&&(h.delay=0,h.type=!1),this.startAnimation(h),this.setAnimationOrigin(u,p)}else c||a1(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=g})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let i=this.getStack();i&&i.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),gt(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.forEac
16h(Zk),this.animationId++)}getTransformTemplate(){let{visualElement:i}=this.options;return i&&i.getProps().transformTemplate}willUpdate(i=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&l1(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let u=0;u<this.path.length;u++){let c=this.path[u];c.shouldResetTransform=!0,c.updateScroll("snapshot"),c.options.layoutRoot&&c.willUpdate(!1)}let{layoutId:s,layout:l}=this.options;if(s===void 0&&!l)return;let d=this.getTransformTemplate();this.prevTransformTemplateValue=d?d(this.latestValues,""):void 0,this.updateSnapshot(),i&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(e1);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(t1);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(Xk),this.nodes.forEach(jk),this.nodes.forEach(Hk)):this.nodes.forEach(t1),this.clearAllSnapshots();let s=Te.now();Ae.delta=je(0,1e3/60,s-Ae.timestamp),Ae.timestamp=s,Ae.isProcessing=!0,Us.update.process(Ae),Us.preRender.process(Ae),Us.render.process(Ae),Ae.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Fo.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach($k),this.sharedNodes.forEach(Qk)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Z.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Z.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!ze(this.snapshot.measuredBox.x)&&!ze(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let l=0;l<this.path.length;l++)this.path[l].updateScroll();let i=this.layout;this.layout=this.measure(!1),this.layoutCorrected=we(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:s}=this.options;s&&s.notify("LayoutMeasure",this.layout.layoutBox,i?i.layoutBox:void 0)}updateScroll(i="measure"){let s=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===i&&(s=!1),s&&this.instance){let l=r(this.instance);this.scroll={animationId:this.root.animationId,phase:i,isRoot:l,offset:a(this.instance),wasRoot:this.scroll?this.scroll.isRoot:l}}}resetTransform(){if(!o)return;let i=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,s=this.projectionDelta&&!Vm(this.projectionDelta),l=this.getTransformTemplate(),d=l?l(this.latestValues,""):void 0,u=d!==this.prevTransformTemplateValue;i&&this.instance&&(s||Xa(this.latestValues)||u)&&(o(this.instance,d),this.shouldResetTransform=!1,this.scheduleRender())}measure(i=!0){let s=this.measurePageBox(),l=this.removeElementScroll(s);return i&&(l=this.removeTransform(l)),aS(l),{animationId:this.root.animationId,measuredBox:s,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:i}=this.options;if(!i)return we();let s=i.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(rS))){let{scroll:d}=this.root;d&&(zr(s.x,d.offset.x),zr(s.y,d.offset.y))}return s}removeElementScroll(i){let s=we();if(At(s,i),this.scroll?.wasRoot)return s;for(let l=0;l<this.path.length;l++){let d=this.path[l],{scroll:u,options:c}=d;d!==this.root&&u&&c.layoutScroll&&(u.wasRoot&&At(s,i),zr(s.x,u.offset.x),zr(s.y,u.offset.y))}return s}applyTransform(i,s=!1){let l=we();At(l,i);for(let d=0;d<this.path.length;d++){let u=this.path[d];!s&&u.options.layoutScroll&&u.scroll&&u!==u.root&&Eo(l,{x:-u.scroll.offset.x,y:-u.scroll.offset.y}),Xa(u.latestValues)&&Eo(l,u.latestValues)}return Xa(this.latestValues)&&Eo(l,this.latestValues),l}removeTransform(i){let s=we();At(s,i);for(let l=0;l<this.path.length;l++){let d=this.path[l];if(!d.instance||!Xa(d.latestValues))continue;Ru(d.latestValues)&&d.updateSnapshot();let u=we(),c=d.measurePageBox();At(u,c),Om(s,d.latestValues,d.snapshot?d.snapshot.layoutBox:void 0,u)}return Xa(this.latestValues)&&Om(s,this.latestValues),s}setTargetDelta(i){this.targetDelta=i,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(i){this.options={...this.options,...i,crossfade:i.crossfade!==void 0?i.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!==Ae.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(i=!1){let s=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=s.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=s.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=s.isS
vendor: 6,956 bytes, line 16
16haredProjectionDirty);let l=!!this.resumingFrom||this!==s;if(!(i||l&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:u,layoutId:c}=this.options;if(!(!this.layout||!(u||c))){if(this.resolvedRelativeTargetAt=Ae.timestamp,!this.targetDelta&&!this.relativeTarget){let f=this.getClosestProjectingParent();f&&f.layout&&this.animationProgress!==1?(this.relativeParent=f,this.forceRelativeParentToResolveTarget(),this.relativeTarget=we(),this.relativeTargetOrigin=we(),ni(this.relativeTargetOrigin,this.layout.layoutBox,f.layout.layoutBox),At(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=we(),this.targetWithTransforms=we()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),vy(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):At(this.target,this.layout.layoutBox),Am(this.target,this.targetDelta)):At(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let f=this.getClosestProjectingParent();f&&!!f.resumingFrom==!!this.resumingFrom&&!f.options.layoutScroll&&f.target&&this.animationProgress!==1?(this.relativeParent=f,this.forceRelativeParentToResolveTarget(),this.relativeTarget=we(),this.relativeTargetOrigin=we(),ni(this.relativeTargetOrigin,this.target,f.target),At(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}ht.value&&No.calculatedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||Ru(this.parent.latestValues)||Fm(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){let i=this.getLead(),s=!!this.resumingFrom||this!==i,l=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(l=!1),s&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(l=!1),this.resolvedRelativeTargetAt===Ae.timestamp&&(l=!1),l)return;let{layout:d,layoutId:u}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(d||u))return;At(this.layoutCorrected,this.layout.layoutBox);let c=this.treeScale.x,f=this.treeScale.y;Ww(this.layoutCorrected,this.treeScale,this.path,s),i.layout&&!i.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(i.target=i.layout.layoutBox,i.targetWithTransforms=we());let{target:g}=i;if(!g){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(_m(this.prevProjectionDelta.x,this.projectionDelta.x),_m(this.prevProjectionDelta.y,this.projectionDelta.y)),oi(this.projectionDelta,this.layoutCorrected,g,this.latestValues),(this.treeScale.x!==c||this.treeScale.y!==f||!qm(this.projectionDelta.x,this.prevProjectionDelta.x)||!qm(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",g)),ht.value&&No.calculatedProjections++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(i=!0){if(this.options.visualElement?.scheduleRender(),i){let s=this.getStack();s&&s.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Mo(),this.projectionDelta=Mo(),this.projectionDeltaWithTransform=Mo()}setAnimationOrigin(i,s=!1){let l=this.snapshot,d=l?l.latestValues:{},u={...this.latestValues},c=Mo();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!s;let f=we(),g=l?l.source:void 0,v=this.layout?this.layout.source:void 0,x=g!==v,F=this.getStack(),m=!F||F.members.length<=1,p=!!(x&&!m&&this.options.crossfade===!0&&!this.path.some(eS));this.animationProgress=0;let h;this.mixTargetDelta=w=>{let y=w/1e3;r1(c.x,i.x,y),r1(c.y,i.y,y),this.setTargetDelta(c),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(ni(f,this.layout.layoutBox,this.relativeParent.layout.layoutBox),Jk(this.relativeTarget,this.relativeTargetOrigin,f,y),h&&Qy(this.relativeTarget,h)&&(this.isProjectionDirty=!1),h||(h=we()),At(h,this.relativeTarget)),x&&(this.animationValues=u,Hy(u,d,this.latestValues,y,p,m)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=y},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(i){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(gt(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Z.update(()=>{si.hasAnimatedSinceResize=!0,aa.layout++,this.motionValue||(this.motionValue=zt(0)),this.currentAnimation=_y(this.motionValue,[0,1e3],{...i,velocity:0,isSync:!0,onUpdate:s=>{this.mixTargetDelta(s),i.onUpdate&&i.onUpdate(s)},onStop:()=>{aa.layout--},onComplete:()=>{aa.layout--,i.onComplete&&i.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);let i=this.getStack();i&&i.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(Uk),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let i=this.getLead(),{targetWithTransforms:s,target:l,layout:d,latestValues:u}=i;if(!(!s||!l||!d)){if(this!==i&&this.layout&&d&&d1(this.options.animationType,this.layout.layoutBox,d.layoutBox)){l=this.target||we();let c=ze(this.layout.layoutBox.x);l.x.min=i.target.x.min,l.x.max=l.x.min+c;let f=ze(this.layout.layoutBox.y);l.y.min=i.target.y.min,l.y.max=l.y.min+f}At(s,l),Eo(s,u),oi(this.projectionDeltaWithTransform,this.layoutCorrected,s,u)}}registerSharedNode(i,s){this.sharedNodes.has(i)||this.sharedNodes.set(i,new ac),this.sharedNodes.get(i).add(s);let d=s.options.initialPromotionConfig;s.promote({transition:d?d.transition:void 0,preserveFollowOpacity:d&&d.shouldPreserveFollowOpacity?d.shouldPreserveFollowOpacity(s):void 0})}isLead(){let i=this.getStack();return i?i.lead===this:!0}getLead(){let{layoutId:i}=this.options;
16return i?this.getStack()?.lead||this:this}getPrevLead(){let{layoutId:i}=this.options;return i?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:i}=this.options;if(i)return this.root.sharedNodes.get(i)}promote({needsReset:i,transition:s,preserveFollowOpacity:l}={}){let d=this.getStack();d&&d.promote(this,l),i&&(this.projectionDelta=void 0,this.needsReset=!0),s&&this.setOptions({transition:s})}relegate(){let i=this.getStack();return i?i.relegate(this):!1}resetSkewAndRotation(){let{visualElement:i}=this.options;if(!i)return;let s=!1,{latestValues:l}=i;if((l.z||l.rotate||l.rotateX||l.rotateY||l.rotateZ||l.skewX||l.skewY)&&(s=!0),!s)return;let d={};l.z&&Hm("z",i,d,this.animationValues);for(let u=0;u<jm.length;u++)Hm(`rotate${jm[u]}`,i,d,this.animationValues),Hm(`skew${jm[u]}`,i,d,this.animationValues);i.render();for(let u in d)i.setStaticValue(u,d[u]),this.animationValues&&(this.animationValues[u]=d[u]);i.scheduleRender()}applyProjectionStyles(i,s){if(!this.instance||this.isSVG)return;if(!this.isVisible){i.visibility="hidden";return}let l=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,i.visibility="",i.opacity="",i.pointerEvents=Qn(s?.pointerEvents)||"",i.transform=l?l(this.latestValues,""):"none";return}let d=this.getLead();if(!this.projectionDelta||!this.layout||!d.target){this.options.layoutId&&(i.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,i.pointerEvents=Qn(s?.pointerEvents)||""),this.hasProjected&&!Xa(this.latestValues)&&(i.transform=l?l({},""):"none",this.hasProjected=!1);return}i.visibility="";let u=d.animationValues||d.latestValues;this.applyTransformsToTarget();let c=Jy(this.projectionDeltaWithTransform,this.treeScale,u);l&&(c=l(u,c)),i.transform=c;let{x:f,y:g}=this.projectionDelta;i.transformOrigin=`${f.origin*100}% ${g.origin*100}% 0`,d.animationValues?i.opacity=d===this?u.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:u.opacityExit:i.opacity=d===this?u.opacity!==void 0?u.opacity:"":u.opacityExit!==void 0?u.opacityExit:0;for(let v in To){if(u[v]===void 0)continue;let{correct:x,applyTo:F,isCSSVariable:m}=To[v],p=c==="none"?u[v]:x(u[v],d);if(F){let h=F.length;for(let w=0;w<h;w++)i[F[w]]=p}else m?this.options.visualElement.renderState.vars[v]=p:i[v]=p}this.options.layoutId&&(i.pointerEvents=d===this?Qn(s?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(i=>i.currentAnimation?.stop()),this.root.nodes.forEach(e1),this.root.sharedNodes.clear()}}}function jk(e){e.updateLayout()}function Hk(e){let t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){let{layoutBox:a,measuredBox:r}=e.layout,{animationType:o}=e.options,n=t.source!==e.layout.source;o==="size"?vt(u=>{let c=n?t.measuredBox[u]:t.layoutBox[u],f=ze(c);c.min=a[u].min,c.max=c.min+f}):d1(o,t.layoutBox,a)&&vt(u=>{let c=n?t.measuredBox[u]:t.layoutBox[u],f=ze(a[u]);c.max=c.min+f,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[u].max=e.relativeTarget[u].min+f)});let i=Mo();oi(i,a,t.layoutBox);let s=Mo();n?oi(s,e.applyTransform(r,!0),t.measuredBox):oi(s,a,t.layoutBox);let l=!Vm(i),d=!1;if(!e.resumeFrom){let u=e.getClosestProjectingParent();if(u&&!u.resumeFrom){let{snapshot:c,layout:f}=u;if(c&&f){let g=we();ni(g,t.layoutBox,c.layoutBox);let v=we();ni(v,a,f.layoutBox),zm(g,v)||(d=!0),u.options.layoutRoot&&(e.relativeTarget=v,e.relativeTargetOrigin=g,e.relativeParent=u)}}}e.notifyListeners("didUpdate",{layout:a,snapshot:t,delta:s,layoutDelta:i,hasLayoutChanged:l,hasRelativeLayoutChanged:d})}else if(e.isLead()){let{onExitComplete:a}=e.options;a&&a()}e.options.transition=void 0}function Wk(e){ht.value&&No.nodes++,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 Gk(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function $k(e){e.clearSnapshot()}function e1(e){e.clearMeasurements()}function t1(e){e.isLayoutDirty=!1}function Xk(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function a1(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function Kk(e){e.resolveTargetDelta()}function Yk(e){e.calcProjection()}
vendor: 5,032 bytes, line 16
16function Zk(e){e.resetSkewAndRotation()}function Qk(e){e.removeLeadSnapshot()}function r1(e,t,a){e.translate=te(t.translate,0,a),e.scale=te(t.scale,1,a),e.origin=t.origin,e.originPoint=t.originPoint}function o1(e,t,a,r){e.min=te(t.min,a.min,r),e.max=te(t.max,a.max,r)}function Jk(e,t,a,r){o1(e.x,t.x,a.x,r),o1(e.y,t.y,a.y,r)}function eS(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}var tS={duration:.45,ease:[.4,0,.1,1]},n1=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),i1=n1("applewebkit/")&&!n1("chrome/")?Math.round:Se;function s1(e){e.min=i1(e.min),e.max=i1(e.max)}function aS(e){s1(e.x),s1(e.y)}function d1(e,t,a){return e==="position"||e==="preserve-aspect"&&!xy(Um(t),Um(a),.2)}function rS(e){return e!==e.root&&e.scroll?.wasRoot}var u1=rc({attachResizeListener:(e,t)=>Ka(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0});var Wm={current:void 0},oc=rc({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Wm.current){let e=new u1({});e.mount(window),e.setOptions({layoutScroll:!0}),Wm.current=e}return Wm.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"});var c1={pan:{Feature:Ju},drag:{Feature:Qu,ProjectionNode:oc,MeasureLayout:ec}};function f1(e,t,a){let{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover",a==="Start");let o="onHover"+a,n=r[o];n&&Z.postRender(()=>n(t,Ya(t)))}var nc=class extends He{mount(){let{current:t}=this.node;t&&(this.unmount=hm(t,(a,r)=>(f1(this.node,r,"Start"),o=>f1(this.node,o,"End"))))}unmount(){}};var ic=class extends He{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=ta(Ka(this.node.current,"focus",()=>this.onFocus()),Ka(this.node.current,"blur",()=>this.onBlur()))}unmount(){}};function p1(e,t,a){let{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap",a==="Start");let o="onTap"+(a==="End"?"":a),n=r[o];n&&Z.postRender(()=>n(t,Ya(t)))}var sc=class extends He{mount(){let{current:t}=this.node;t&&(this.unmount=vm(t,(a,r)=>(p1(this.node,r,"Start"),(o,{success:n})=>p1(this.node,o,n?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}};var $m=new WeakMap,Gm=new WeakMap,oS=e=>{let t=$m.get(e.target);t&&t(e)},nS=e=>{e.forEach(oS)};function iS({root:e,...t}){let a=e||document;Gm.has(a)||Gm.set(a,{});let r=Gm.get(a),o=JSON.stringify(t);return r[o]||(r[o]=new IntersectionObserver(nS,{root:e,...t})),r[o]}function m1(e,t,a){let r=iS(t);return $m.set(e,a),r.observe(e),()=>{$m.delete(e),r.unobserve(e)}}var sS={some:0,all:1},lc=class extends He{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:t={}}=this.node.getProps(),{root:a,margin:r,amount:o="some",once:n}=t,i={root:a?a.current:void 0,rootMargin:r,threshold:typeof o=="number"?o:sS[o]},s=l=>{let{isIntersecting:d}=l;if(this.isInView===d||(this.isInView=d,n&&!d&&this.hasEnteredView))return;d&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",d);let{onViewportEnter:u,onViewportLeave:c}=this.node.getProps(),f=d?u:c;f&&f(l)};return m1(this.node.current,i,s)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;let{props:t,prevProps:a}=this.node;["amount","margin","root"].some(lS(t,a))&&this.startObserver()}unmount(){}};function lS({viewport:e={}},{viewport:t={}}={}){return a=>e[a]!==t[a]}var h1={inView:{Feature:lc},tap:{Feature:sc},focus:{Feature:ic},hover:{Feature:nc}};var g1={layout:{ProjectionNode:oc,MeasureLayout:ec}};var x1={...uy,...h1,...c1,...g1};var S=_w(x1,ty);var ie=N(ae());function v1(){let e=[{icon:ea,title:"Protecci\xF3n Integral del Margen",description:"Al priorizar canales propios, se proyecta una retenci\xF3n de utilidad significativamente mayor que en plataformas de terceros.",gradient:"from-[#6F4C9E] to-[#FD327B]"},{icon:ks,title:"Posicionamiento de Autoridad",description:"Consolidaci\xF3n de una imagen de marca institucional que genere confianza autom\xE1tica en padres de familia y educadores.",gradient:"from-[#FD327B] to-[#5FCFFA]"},{icon:mt,title:"Estructura de Ventas Escalable",description:"Instalaci\xF3n de una base t\xE9cnica (tienda en l\xEDnea + pauta) lista para aumentar el volumen de ventas conforme el inventario crezca, sin perder eficiencia.",gradient:"from-[#5FCFFA] to-[#6F4C9E]"}];return(0,ie.jsxs)(S.div,{initial:{opacity:0,y:20}
16,animate:{opacity:1,y:0},transition:{duration:.5},className:"space-y-12 pb-12",children:[(0,ie.jsx)("div",{className:"absolute top-0 right-0 w-96 h-96 bg-gradient-to-br from-[#6F4C9E]/10 via-[#FD327B]/5 to-transparent rounded-full blur-3xl -z-10"}),(0,ie.jsxs)("div",{className:"space-y-6",children:[(0,ie.jsxs)(S.div,{initial:{opacity:0,scale:.9},animate:{opacity:1,scale:1},transition:{delay:.2,type:"spring",stiffness:200},className:"inline-flex items-center gap-2 px-5 py-2.5 rounded-full bg-gradient-to-r from-[#EEECFF] to-white border-2 border-[#6F4C9E]/20 shadow-lg shadow-[#6F4C9E]/10",children:[(0,ie.jsx)(ke,{className:"w-4 h-4 text-[#FD327B]"}),(0,ie.jsx)("span",{className:"text-sm font-bold text-[#6F4C9E] tracking-wide uppercase",children:"Resumen General"})]}),(0,ie.jsx)(S.h1,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.3},className:"text-6xl font-bold bg-gradient-to-r from-[#312740] via-[#6F4C9E] to-[#312740] bg-clip-text text-transparent leading-tight",children:"Propuesta de marketing digital: venta directa y escalable"}),(0,ie.jsxs)(S.p,{initial:{opacity:0}
16,animate:{opacity:1},transition:{delay:.4},className:"text-xl text-[#312740]/80 leading-relaxed max-w-4xl",children:["La estrategia se centra en la transici\xF3n de un modelo de venta org\xE1nica hacia un"," ",(0,ie.jsx)("span",{className:"font-bold text-[#6F4C9E]",children:"ecosistema de venta directa (D2C)"}),". El objetivo primordial es profesionalizar la presencia digital de la marca para que"," ",(0,ie.jsx)("span",{className:"font-bold text-[#FD327B]",children:"la autoridad de su fundadora se traduzca en confianza inmediata"}),". Se busca instalar un motor de ventas que no dependa de intermediarios externos, permitiendo que la marca sea"," ",(0,ie.jsx)("span",{className:"font-bold text-[#312740]",children:"due\xF1a de su margen de beneficio y de la relaci\xF3n con su audiencia"}),"."]})]}),(0,ie.jsxs)("div",{className:"space-y-6",children:[(0,ie.jsxs)(S.h2,{initial:{opacity:0,x:-20},animate:{opacity:1,x:0},transition:{delay:.5},className:"text-3xl font-bold text-[#312740] flex items-center gap-3",children:[(0,ie.jsx)("div",{className:"w-1.5 h-8 bg-gradient-to-b from-[#FD327B] to-[#5FCFFA] rounded-full"}),"Resultados Esperados"]}),(0,ie.jsx)(S.p,{initial:{opacity:0}
16,animate:{opacity:1},transition:{delay:.55},className:"text-lg text-[#312740]/70 leading-relaxed",children:"Estos son los tres pilares de impacto que construiremos juntos:"}),(0,ie.jsx)("div",{className:"grid grid-cols-1 gap-6",children:e.map((t,a)=>{let r=t.icon;return(0,ie.jsx)(S.div,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{delay:.6+a*.15,type:"spring",stiffness:100},className:"group relative",children:(0,ie.jsxs)("div",{className:"relative p-8 rounded-2xl bg-white border-2 border-[#EEECFF] hover:border-[#6F4C9E]/30 transition-all duration-500 hover:shadow-2xl hover:shadow-[#6F4C9E]/20 overflow-hidden",children:[(0,ie.jsx)("div",{className:`absolute inset-0 bg-gradient-to-r ${t.gradient} opacity-0 group-hover:opacity-5 transition-opacity duration-500`}),(0,ie.jsxs)("div",{className:"relative flex items-start gap-6",children:[(0,ie.jsxs)("div",{className:"relative",children:[(0,ie.jsx)("div",{className:`absolute inset-0 bg-gradient-to-br ${t.gradient} rounded-xl blur opacity-40 group-hover:opacity-60 transition-opacity duration-500`}),(0,ie.jsx)("div",{className:`relative p-4 rounded-xl bg-gradient-to-br ${t.gradient} group-hover:scale-110 transition-transform duration-500`,children:(0,ie.jsx)(r,{className:"w-7 h-7 text-white",strokeWidth:2.5})})]}),(0,ie.jsxs)("div",{className:"flex-1 space-y-2",children:[(0,ie.jsx)("h3",{className:"text-xl font-bold text-[#312740] group-hover:text-[#6F4C9E] transition-colors duration-300",children:t.title}),(0,ie.jsx)("p",{className:"text-base text-[#312740]/70 leading-relaxed",children:t.description})]})]})]})},a)})})]}),(0,ie.jsx)(S.div,{initial:{scaleX:0},animate:{scaleX:1},transition:{delay:1.2,duration:.8},className:"h-1 w-full bg-gradient-to-r from-[#6F4C9E] via-[#FD327B] to-[#5FCFFA] rounded-full"})]})}var W=N(ae());function w1(){let e=[{icon:gs,title:"Captaci\xF3n de Inter\xE9s",description:"Anuncios en canales de alta difusi\xF3n dirigidos espec\xEDficamente a personas con intenci\xF3n de compra de juguetes did\xE1cticos.",gradient:"from-[#6F4C9E] to-[#FD327B]"},{icon:ea,title:"Infraestructura de Confianza",description:"Una tienda en l\xEDnea profesional que act\xFAe como el centro de operaciones, brindando una experiencia de compra impecable.",gradient:"from-[#FD327B] to-[#5FCFFA]"},{icon:ho,title:"Optimizaci\xF3n y Fidelizaci\xF3n",description:"Un sistema que capture los datos de esos padres para ofrecerles los siguientes kits conforme sus hijos crecen, y un ciclo de retroalimentaci\xF3n donde los datos de las primeras ventas optimizan el costo de los anuncios para las siguientes.",gradient:"from-[#5FCFFA] to-[#6F4C9E]"}];return(0,W.jsxs)(S.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5},className:"space-y-12 pb-12",children:[(0,W.jsx)("div",{className:"absolute top-1/4 left-0 w-96 h-96 bg-gradient-to-br from-[#FD327B]/10 via-[#6F4C9E]/5 to-transparent rounded-full blur-3xl -z-10"}),(0,W.jsxs)("div",{className:"space-y-6",children:[(0,W.jsxs)(S.div,{initial:{opacity:0,scale:.9},animate:{opacity:1,scale:1},transition:{delay:.2,type:"spring",stiffness:200},className:"inline-flex items-center gap-2 px-5 py-2.5 rounded-full bg-gradient-to-r from-[#FD327B]/10 to-[#FD327B]/5 border-2 border-[#FD327B]/30 shadow-lg shadow-[#FD327B]/10",children:[(0,W.jsx)(Sr,{className:"w-4 h-4 text-[#FD327B]",strokeWidth:2.5}),(0,W.jsx)("span",{className:"text-sm font-bold text-[#FD327B] tracking-wide uppercase",children:"El Reto"})]}),(0,W.jsx)(S.h1,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.3},className:"text-6xl font-bold bg-gradient-to-r from-[#312740] via-[#FD327B] to-[#6F4C9E] bg-clip-text text-transparent leading-tight",children:"El Reto de Crecer con Calma"}),(0,W.jsxs)(S.p,{initial:{opacity:0}
16,animate:{opacity:1},transition:{delay:.4},className:"text-xl text-[#312740]/80 leading-relaxed max-w-4xl",children:["Actualmente, el proyecto se enfrenta al desaf\xEDo de"," ",(0,W.jsx)("span",{className:"font-bold text-[#FD327B]",children:"romper la barrera del c\xEDrculo cercano"}),". Aunque existe una comunidad fiel, el crecimiento depende de la gesti\xF3n manual, lo que limita la capacidad de ventas. Adem\xE1s, el ingreso prematuro a plataformas como Amazon representar\xEDa una"," ",(0,W.jsx)("span",{className:"font-bold text-[#6F4C9E]",children:'"fuga de margen" innecesaria'})," ","en esta etapa de lanzamiento."]})]}),(0,W.jsxs)(S.div,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{delay:.55},className:"relative group overflow-hidden",children:[(0,W.jsx)("div",{className:"absolute inset-0 bg-gradient-to-br from-[#FD327B]/5 via-transparent to-[#6F4C9E]/5 rounded-2xl opacity-0 group-hover:opacity-100 transition-opacity duration-500"}),(0,W.jsx)("div",{className:"relative p-10 rounded-2xl bg-white border-2 border-[#FD327B]/20 hover:border-[#FD327B]/40 shadow-xl hover:shadow-2xl hover:shadow-[#FD327B]/10 transition-all duration-500",children:(0,W.jsxs)("div",{className:"flex items-start gap-4",children:[(0,W.jsx)(Ss,{className:"w-8 h-8 text-[#FD327B] flex-shrink-0 mt-1",strokeWidth:2.5}),(0,W.jsxs)("div",{children:[(0,W.jsx)("h3",{className:"text-2xl font-bold text-[#312740] mb-3",children:"El Reto Principal"}),(0,W.jsxs)("p",{className:"text-xl text-[#312740]/90 leading-relaxed",children:["Validar el producto ante un"," ",(0,W.jsx)("span",{className:"font-bold text-[#6F4C9E]",children:"mercado masivo de forma rentable"}),", utilizando los primeros"," ",(0,W.jsx)("span",{className:"font-bold text-[#FD327B]",children:"150 kits como punta de lanza"})," ","para construir una marca nacional."]})]})]})})]}),(0,W.jsxs)("div",{className:"space-y-6",children:[(0,W.jsxs)(S.div,{initial:{opacity:0,x:-20},animate:{opacity:1,x:0},transition:{delay:.65},className:"flex items-center gap-3",children:[(0,W.jsx)("div",{className:"w-1.5 h-8 bg-gradient-to-b from-[#6F4C9E] to-[#FD327B] rounded-full"}),(0,W.jsxs)("div",{className:"flex items-center gap-3",children:[(0,W.jsx)(Ra,{className:"w-6 h-6 text-[#FD327B]",strokeWidth:2.5}),(0,W.jsx)("h2",{className:"text-3xl font-bold text-[#312740]",children:"Sistema de Ventas Integral"})]})]}),(0,W.jsxs)(S.p,{initial:{opacity:0}
16,animate:{opacity:1},transition:{delay:.7},className:"text-lg text-[#312740]/70 leading-relaxed",children:["La arquitectura propuesta se basa en un modelo de"," ",(0,W.jsx)("span",{className:"font-bold text-[#6F4C9E]",children:"Descubrimiento y Conversi\xF3n"}),":"]}),(0,W.jsx)("div",{className:"grid grid-cols-1 gap-6",children:e.map((t,a)=>{let r=t.icon;return(0,W.jsx)(S.div,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{delay:.75+a*.15,type:"spring",stiffness:100},className:"group relative",children:(0,W.jsxs)("div",{className:"relative p-8 rounded-2xl bg-white border-2 border-[#EEECFF] hover:border-[#6F4C9E]/30 transition-all duration-500 hover:shadow-2xl hover:shadow-[#6F4C9E]/20 overflow-hidden",children:[(0,W.jsx)("div",{className:`absolute inset-0 bg-gradient-to-r ${t.gradient} opacity-0 group-hover:opacity-5 transition-opacity duration-500`}),(0,W.jsx)("div",{className:"absolute top-5 right-6 text-6xl font-black text-[#EEECFF] select-none",children:a+1}),(0,W.jsxs)("div",{className:"relative flex items-start gap-6",children:[(0,W.jsxs)("div",{className:"relative",children:[(0,W.jsx)("div",{className:`absolute inset-0 bg-gradient-to-br ${t.gradient} rounded-xl blur opacity-40 group-hover:opacity-60 transition-opacity duration-500`}),(0,W.jsx)("div",{className:`relative p-4 rounded-xl bg-gradient-to-br ${t.gradient} group-hover:scale-110 transition-transform duration-500`,children:(0,W.jsx)(r,{className:"w-7 h-7 text-white",strokeWidth:2.5})})]}),(0,W.jsxs)("div",{className:"flex-1 space-y-2",children:[(0,W.jsx)("h3",{className:"text-xl font-bold text-[#312740] group-hover:text-[#6F4C9E] transition-colors duration-300",children:t.title}),(0,W.jsx)("p",{className:"text-base text-[#312740]/70 leading-relaxed",children:t.description})]})]})]})},a)})})]}),(0,W.jsx)(S.div,{initial:{scaleX:0},animate:{scaleX:1},transition:{delay:1.2,duration:.8},className:"h-1 w-full bg-gradient-to-r from-[#6F4C9E] via-[#FD327B] to-[#5FCFFA] rounded-full"})]})}var b=N(ae()),y1=[{number:"01",icon:ea,label:"Fase 1",title:"Establecimiento de la Base de Confianza",description:"Antes de la captura masiva de tr\xE1fico, realizamos la optimizaci\xF3n integral de perfiles digitales y el establecimiento de una p\xE1gina web profesional. Esto asegura que el usuario encuentre una imagen cohesiva que reduzca el miedo a la compra inicial y mejore la experiencia del usuario.",accentColor:"#6F4C9E",gradientFrom:"#312740",gradientTo:"#6F4C9E",tag:"Fase Inicial",tagBg:"bg-[#6F4C9E]/10",tagText:"text-[#6F4C9E]",borderColor:"border-[#6F4C9E]/30",hoverBorder:"hover:border-[#6F4C9E]/60",barGradient:"from-[#312740] via-[#6F4C9E] to-[#6F4C9E]"},{number:"02",icon:mt,label:"Fase 2",title:"Captura de Demanda (Meta Ads)",description:"Una vez construida la base de confianza, activamos el motor de anuncios para identificar a padres con intenci\xF3n activa de compra de kits educativos y juguetes pedag\xF3gicos. Campa\xF1as orientadas a maximizar el ROAS desde el primer pedido, llevando tr\xE1fico calificado directamente al carrito.",accentColor:"#5FCFFA",gradientFrom:"#5FCFFA",gradientTo:"#6F4C9E",tag:"Paid Media",tagBg:"bg-[#5FCFFA]/10",tagText:"text-[#5FCFFA]",borderColor:"border-[#5FCFFA]/30",hoverBorder:"hover:border-[#5FCFFA]/60",barGradient:"from-[#5FCFFA] via-[#6F4C9E] to-[#6F4C9E]"},{number:"03",icon:Ot,label:"Fase 3",title:"Filtrado y Calificaci\xF3n (Web Medible)",description:"El sitio web act\xFAa como un filtro inteligente que educa a los padres sobre el valor pedag\xF3gico de cada kit, resuelve sus dudas con garant\xEDa y FAQ, y maximiza la tasa de conversi\xF3n de visita a comprador. Medimos en tiempo real qu\xE9 p\xE1ginas, productos y llamados a la acci\xF3n generan m\xE1s ventas.",accentColor:"#9B6FD4",gradientFrom:"#6F4C9E",gradientTo:"#FD327B",tag:"Conversi\xF3n",tagBg:"bg-[#FD327B]/10",tagText:"text-[#FD327B]",borderColor:"border-[#FD327B]/20",hoverBorder:"hover:border-[#FD327B]/50",barGradient:"from-[#6F4C9E] via-[#9B6FD4] to-[#FD327B]"},{number:"04",icon:ps,label:"Fase 4",title:"Optimizaci\xF3n Estrat\xE9gica a partir de M\xE9tricas",description:'La escalabilidad no es producto del azar, sino de la mejora continua. Analizamos datos de conversi\xF3n, tasa de abandono de carrito y ROAS para ajustar el rumbo t\xE1ctico. Al "reinyectar" esta inteligencia refinamos el perfil de los clientes que s\xED compran y optimizamos los incentivos de compra, reduciendo el desperdicio de presupuesto mes a mes.',accentColor:"#FD327B",gradientFrom:"#FD327B",gradientTo:"#FF6B9D",tag:"Optimizaci\xF3n",tagBg:"bg-[#FD327B]/10",tagText:"text-[#FD327B]",borderColor:"border-[#FD327B]/30",hoverBorder:"hover:border-[#FD327B]/60",barGradient:"from-[#FD327B] to-[#FF6B9D]"}];function b1(){return(0,b.jsxs)(S.div,{initial:{opacity:0,y:20}
16,animate:{opacity:1,y:0},transition:{duration:.5},className:"space-y-12 pb-12",children:[(0,b.jsx)("div",{className:"absolute top-0 right-0 w-96 h-96 bg-gradient-to-br from-[#5FCFFA]/10 via-[#6F4C9E]/5 to-transparent rounded-full blur-3xl -z-10"}),(0,b.jsxs)("div",{className:"space-y-6",children:[(0,b.jsxs)(S.div,{initial:{opacity:0,scale:.9},animate:{opacity:1,scale:1},transition:{delay:.2,type:"spring",stiffness:200},className:"inline-flex items-center gap-2 px-5 py-2.5 rounded-full bg-gradient-to-r from-[#5FCFFA]/10 to-[#6F4C9E]/10 border-2 border-[#5FCFFA]/30 shadow-lg shadow-[#5FCFFA]/20",children:[(0,b.jsx)(Ra,{className:"w-4 h-4 text-[#5FCFFA]",strokeWidth:2.5}),(0,b.jsx)("span",{className:"text-sm font-bold text-[#5FCFFA] tracking-wide uppercase",children:"Sistema Integral"})]}),(0,b.jsx)(S.h1,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.3},className:"text-6xl font-bold bg-gradient-to-r from-[#312740] via-[#6F4C9E] to-[#5FCFFA] bg-clip-text text-transparent leading-tight",children:"Sistema Escalable, Predecible y Optimizable"}),(0,b.jsxs)(S.p,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.4},className:"text-xl text-[#312740]/90 leading-relaxed max-w-4xl",children:["Al partir de cero, este sistema se construye en orden:"," ",(0,b.jsx)("span",{className:"font-bold text-[#6F4C9E]",children:"primero la confianza, luego el tr\xE1fico, luego la conversi\xF3n"}),". Cada fase retroalimenta a la siguiente para generar"," ",(0,b.jsx)("span",{className:"font-bold text-[#FD327B]",children:"ventas predecibles y escalables"})," ","sin depender del azar."]})]}),(0,b.jsxs)("div",{className:"relative",children:[(0,b.jsx)(S.div,{initial:{scaleY:0},animate:{scaleY:1},transition:{delay:.6,duration:1,ease:"easeOut"},style:{originY:0},className:"absolute left-[2.35rem] top-0 bottom-0 w-0.5 bg-gradient-to-b from-[#312740] via-[#6F4C9E] via-[#5FCFFA] via-[#9B6FD4] to-[#FD327B] hidden md:block"}),(0,b.jsx)("div",{className:"space-y-4",children:y1.map((e,t)=>{let a=e.icon,r=t===y1.length-1;return(0,b.jsxs)("div",{children:[(0,b.jsxs)(S.div,{initial:{opacity:0,x:-30},animate:{opacity:1,x:0},transition:{delay:.5+t*.18,type:"spring",stiffness:90},className:"group relative flex gap-6 items-stretch",children:[(0,b.jsx)("div",{className:"relative flex-shrink-0 flex flex-col items-center",children:(0,b.jsx)("div",{className:"relative z-10 w-[4.7rem] h-[4.7rem] rounded-2xl flex items-center justify-center shadow-lg transition-transform duration-300 group-hover:scale-110",style:{background:`linear-gradient(135deg, ${e.gradientFrom}, ${e.gradientTo})`},children:(0,b.jsx)(a,{className:"w-7 h-7 text-white",strokeWidth:2.5})})}),(0,b.jsxs)("div",{className:`flex-1 relative rounded-2xl bg-white border-2 ${e.borderColor} ${e.hoverBorder} shadow-md hover:shadow-xl transition-all duration-400 overflow-hidden`,children:[(0,b.jsx)("div",{className:`absolute left-0 top-0 bottom-0 w-1 bg-gradient-to-b ${e.barGradient}`}),(0,b.jsxs)("div",{className:"pl-6 pr-8 py-6 flex flex-col md:flex-row md:items-start gap-4",children:[(0,b.jsx)("div",{className:"hidden md:flex flex-shrink-0 text-7xl font-black leading-none select-none",style:{color:e.accentColor,opacity:.12},children:e.number}),(0,b.jsxs)("div",{className:"flex-1 space-y-2",children:[(0,b.jsxs)("div",{className:"flex items-center gap-2 flex-wrap",children:[(0,b.jsx)("span",{className:"text-xs font-bold text-[#312740]/40 uppercase tracking-widest",children:e.label}),(0,b.jsx)("span",{className:`px-2.5 py-0.5 rounded-full text-xs font-bold ${e.tagBg} ${e.tagText}`,children:e.tag})]}),(0,b.jsx)("h3",{className:"text-xl font-bold text-[#312740] group-hover:opacity-90 transition-opacity duration-300 leading-snug",children:e.title}),(0,b.jsx)("p",{className:"text-sm text-[#312740]/65 leading-relaxed",children:e.description})]})]})]})]}),!r&&(0,b.jsx)(S.div,{initial:{opacity:0}
16,animate:{opacity:1},transition:{delay:.7+t*.18},className:"flex items-center gap-6 py-1 pl-[1.15rem]",children:(0,b.jsx)("div",{className:"flex-shrink-0 w-[4.7rem] flex justify-center",children:(0,b.jsx)(Cr,{className:"w-5 h-5",style:{color:e.accentColor,opacity:.5},strokeWidth:2.5})})})]},t)})})]}),(0,b.jsxs)(S.div,{initial:{opacity:0,y:40},animate:{opacity:1,y:0},transition:{delay:1.1,duration:.6},className:"space-y-6",children:[(0,b.jsxs)("div",{className:"flex items-center gap-3",children:[(0,b.jsx)("div",{className:"w-1.5 h-8 bg-gradient-to-b from-[#6F4C9E] to-[#5FCFFA] rounded-full"}),(0,b.jsxs)("div",{className:"flex items-center gap-3",children:[(0,b.jsx)(vs,{className:"w-6 h-6 text-[#6F4C9E]",strokeWidth:2.5}),(0,b.jsx)("h2",{className:"text-2xl font-bold text-[#312740]",children:"User Journey Map \xB7 Kits Educativos"})]})]}),(0,b.jsx)("p",{className:"text-sm text-[#312740]/50 pl-8 -mt-2",children:"Canal Shopify directo \xB7 Validaci\xF3n inicial 150 kits \xB7 Sin intermediarios"}),(0,b.jsxs)("div",{className:"rounded-2xl border-2 border-[#6F4C9E]/20 overflow-hidden bg-white shadow-xl",children:[(0,b.jsx)("div",{className:"bg-gradient-to-r from-[#6F4C9E] to-[#8B5ED4] px-6 py-3",children:(0,b.jsx)("span",{className:"text-white text-sm font-black tracking-widest uppercase",children:"01 \xB7 Captaci\xF3n Estrat\xE9gica"})}),(0,b.jsx)("div",{className:"grid grid-cols-3 gap-0 border-b-2 border-[#6F4C9E]/15",children:[{title:"Anuncios Meta / TikTok",sub:"Segmentaci\xF3n IA \xB7 afinidad pedag\xF3gica",color:"border-[#6F4C9E]"},{title:"Contenido org\xE1nico",sub:"Rese\xF1as \xB7 demos \xB7 UGC",color:"border-[#6F4C9E]"},{title:"Clic \u2192 Tienda Shopify",sub:"Sin intermediarios \xB7 ahorro 35\u201345%",color:"border-[#6F4C9E]"}].map((e,t)=>(0,b.jsxs)("div",{className:`relative p-5 border-l-2 ${e.color} ${t>0?"border-l-2":""} flex flex-col gap-1.5`,children:[t>0&&(0,b.jsx)(co,{className:"absolute -left-3.5 top-1/2 -translate-y-1/2 w-6 h-6 text-[#6F4C9E] bg-white rounded-full z-10",strokeWidth:2.5}),(0,b.jsx)("span",{className:"font-bold text-[#312740] text-sm leading-snug",children:e.title}),(0,b.jsx)("span",{className:"text-xs text-[#6F4C9E]/70",children:e.sub})]},t))}),(0,b.jsx)("div",{className:"flex justify-center py-2 bg-[#F8F7FF]",children:(0,b.jsx)(Cr,{className:"w-5 h-5 text-[#6F4C9E]/40",strokeWidth:2.5})}),(0,b.jsx)("div",{className:"bg-gradient-to-r from-[#1BA8CC] to-[#5FCFFA] px-6 py-3",children:(0,b.jsx)("span",{className:"text-white text-sm font-black tracking-widest uppercase",children:"02 \xB7 Validaci\xF3n y Confianza"})}),(0,b.jsx)("div",{className:"grid grid-cols-3 gap-0 border-b-2 border-[#5FCFFA]/20",children:[{title:"Landing page",sub:"Fotos \xB7 video \xB7 social proof",color:"border-[#5FCFFA]"},{title:"P\xE1gina de producto",sub:"Descripci\xF3n \xB7 garant\xEDa \xB7 FAQ",color:"border-[#5FCFFA]"},{title:"Checkout Shopify",sub:"Pago seguro \xB7 r\xE1pido \xB7 confiable",color:"border-[#5FCFFA]"}].map((e,t)=>(0,b.jsxs)("div",{className:`relative p-5 border-l-2 ${e.color} flex flex-col gap-1.5`,children:[t>0&&(0,b.jsx)(co,{className:"absolute -left-3.5 top-1/2 -translate-y-1/2 w-6 h-6 text-[#5FCFFA] bg-white rounded-full z-10",strokeWidth:2.5}),(0,b.jsx)("span",{className:"font-bold text-[#312740] text-sm leading-snug",children:e.title}),(0,b.jsx)("span",{className:"text-xs text-[#5FCFFA]/80",children:e.sub})]},t))}),(0,b.jsx)("div",{className:"flex justify-center py-2 bg-[#F8F7FF]",children:(0,b.jsx)(Cr,{className:"w-5 h-5 text-[#5FCFFA]/50",strokeWidth:2.5})}),(0,b.jsx)("div",{className:"flex justify-center px-6 py-5 bg-[#F8F7FF]",children:(0,b.jsxs)("div",{className:"inline-flex items-center gap-3 px-8 py-3 rounded-xl bg-gradient-to-r from-[#6F4C9E]/10 to-[#5FCFFA]/10 border-2 border-[#6F4C9E]/30",children:[(0,b.jsx)("span",{className:"text-xl",children:"\u{1F6D2}"}),(0,b.jsx)("span",{className:"font-bold text-[#312740] text-base",children:"Decisi\xF3n de compra"})]})}),(0,b.jsxs)("div",{className:"grid grid-cols-2 gap-0 border-t-2 border-[#6F4C9E]/10",children:[(0,b.jsx)("div",{className:"p-5 border-r-2 border-[#6F4C9E]/15 bg-[#FFF0F5]",children:(0,b.jsxs)("div",{className:"flex items-start gap-3",children:[(0,b.jsx)("div",{className:"flex-shrink-0 w-8 h-8 rounded-lg bg-[#FD327B]/15 flex items-center justify-center",children:(0,b.jsx)("span",{className:"text-[#FD327B] font-black text-xs",children:"\u2715"})}),(0,b.jsxs)("div",{children:[(0,b.jsx)("p",{className:"font-bold text-[#FD327B] text-sm",children:"No compra"}),(0,b.jsx)("p",{className:"text-xs text-[#312740]/50 mt-0.5",children:"Retargeting activo"}),(0,b.jsxs)("div",{className:"mt-2 inline-flex items-center gap-1.5 text-xs text-[#FD327B]/70 bg-[#FD327B]/10 px-2.5 py-1 rounded-full",children:[(0,b.jsx)(En,{className:"w-3 h-3",strokeWidth:2.5}),"Retargeting \u2192 Fase 01"]})]})]})}),(0,b.jsx)("div",{className:"p-5 bg-[#F0FFF8]",children:(0,b.jsxs)("div",{className:"flex items-start gap-3",children:[(0,b.jsx)("div",{className:"flex-shrink-0 w-8 h-8 rounded-lg bg-[#5FCFFA]/20 flex items-center justify-center",children:(0,b.jsx)(Jt,{className:"w-4 h-4 text-[#1BA8CC]",strokeWidth:2.5})}),(0,b.jsxs)("div",{children:[(0,b.jsx)("p",{className:"font-bold text-[#1BA8CC] text-sm",children:"Compra exitosa"}),(0,b.jsx)("p",{className:"text-xs text-[#312740]/50 mt-0.5",children:"Dato de cliente capturado"})]})]})})]}),(0,b.jsx)("div",{className:"flex justify-center py-2 bg-[#F8F7FF] border-t-2 border-[#6F4C9E]/10",children:(0,b.jsx)(Cr,{className:"w-5 h-5 text-[#FD327B]/40",strokeWidth:2.5})}),(0,b.jsx)("div",{className:"bg-gradient-to-r from-[#FD327B] to-[#FF6B9D] px-6 py-3",children:(0,b.jsx)("span",{className:"text-white text-sm font-black tracking-widest uppercase",children:"03 \xB7 Post-Venta y Crecimiento Sostenido"})}),(0,b.jsx)("div",{className:"grid grid-cols-3 gap-0 border-b-2 border-[#FD327B]/15",children:[{title:"Email de bienvenida",sub:"Instrucciones \xB7 onboarding",color:"border-[#FD327B]"},{title:"Solicitud de rese\xF1a",sub:"NPS \xB7 UGC \xB7 testimonios",color:"border-[#FD327B]"},{title:"Referidos y upsell",sub:"Pr\xF3ximos lanzamientos",color:"border-[#FD327B]"}].map((e,t)=>(0,b.jsxs)("div",{className:`relative p-5 border-l-2 ${e.color} flex flex-col gap-1.5`,children:[t>
160&&(0,b.jsx)(co,{className:"absolute -left-3.5 top-1/2 -translate-y-1/2 w-6 h-6 text-[#FD327B] bg-white rounded-full z-10",strokeWidth:2.5}),(0,b.jsx)("span",{className:"font-bold text-[#312740] text-sm leading-snug",children:e.title}),(0,b.jsx)("span",{className:"text-xs text-[#FD327B]/70",children:e.sub})]},t))}),(0,b.jsxs)("div",{className:"p-5 bg-gradient-to-r from-[#312740]/5 to-[#6F4C9E]/5 border-t-2 border-[#6F4C9E]/20",children:[(0,b.jsxs)("div",{className:"flex items-center gap-3 mb-1",children:[(0,b.jsx)(En,{className:"w-4 h-4 text-[#6F4C9E]",strokeWidth:2.5}),(0,b.jsx)("span",{className:"text-xs font-black text-[#6F4C9E] tracking-widest uppercase",children:"Ciclo de Retroalimentaci\xF3n \xB7 Datos"})]}),(0,b.jsx)("p",{className:"text-xs text-[#312740]/55 pl-7",children:"Comportamiento de compra \u2192 optimiza audiencias \u2192 reduce CPL"})]}),(0,b.jsx)("div",{className:"grid grid-cols-4 divide-x-2 divide-[#6F4C9E]/10 border-t-2 border-[#6F4C9E]/10",children:[{label:"Inventario inicial",value:"150 kits",color:"text-[#312740]"},{label:"Margen preservado",value:"+35\u201345%",color:"text-[#6F4C9E]"},{label:"Canal de venta",value:"Shopify directo",color:"text-[#1BA8CC]"},{label:"Objetivo",value:"Product-Market Fit",color:"text-[#FD327B]"}].map((e,t)=>(0,b.jsxs)("div",{className:"p-5 text-center bg-[#FAFAFA]",children:[(0,b.jsx)("p",{className:"text-[10px] font-bold text-[#312740]/40 uppercase tracking-widest mb-1",children:e.label}),(0,b.jsx)("p",{className:`text-lg font-black ${e.color} leading-tight`,children:e.value})]},t))}),(0,b.jsxs)("div",{className:"flex flex-wrap gap-4 px-6 py-3 bg-[#F8F7FF] border-t border-[#6F4C9E]/10",children:[[{color:"bg-[#6F4C9E]",label:"Captaci\xF3n"},{color:"bg-[#5FCFFA]",label:"Validaci\xF3n"},{color:"bg-[#FD327B]",label:"Crecimiento"},{color:"bg-[#9B6FD4]",label:"Decisi\xF3n"}].map((e,t)=>(0,b.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,b.jsx)("div",{className:`w-3 h-3 rounded-full ${e.color}`}),(0,b.jsx)("span",{className:"text-xs text-[#312740]/50",children:e.label})]},t)),(0,b.jsxs)("div",{className:"flex items-center gap-1.5 ml-2",children:[(0,b.jsx)("div",{className:"w-6 border-t-2 border-dashed border-[#6F4C9E]/40"}),(0,b.jsx)("span",{className:"text-xs text-[#312740]/50",children:"Ciclo datos"})]}),(0,b.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,b.jsx)("div",{className:"w-6 border-t-2 border-dashed border-[#FD327B]/40"}),(0,b.jsx)("span",{className:"text-xs text-[#312740]/50",children:"Retargeting"})]})]})]})]}),(0,b.jsx)(S.div,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{delay:1.3},className:"relative overflow-hidden group",children:(0,b.jsx)("div",{className:"relative p-8 rounded-2xl bg-gradient-to-br from-[#EEECFF] via-white to-[#EEECFF] border-2 border-[#6F4C9E]/30 shadow-xl hover:shadow-2xl hover:shadow-[#6F4C9E]/20 transition-all duration-500",children:(0,b.jsxs)("div",{className:"flex items-start gap-5",children:[(0,b.jsxs)("div",{className:"relative flex-shrink-0",children:[(0,b.jsx)("div",{className:"absolute inset-0 bg-gradient-to-br from-[#5FCFFA] to-[#6F4C9E] rounded-xl blur opacity-40"}),(0,b.jsx)("div",{className:"relative p-3.5 rounded-xl bg-gradient-to-br from-[#5FCFFA] to-[#6F4C9E] group-hover:scale-110 transition-transform duration-500",children:(0,b.jsx)(_a,{className:"w-7 h-7 text-white",strokeWidth:2.5})})]}),(0,b.jsxs)("div",{className:"flex-1 space-y-2",children:[(0,b.jsxs)("div",{className:"flex items-center gap-2",children:[(0,b.jsx)("h3",{className:"text-2xl font-bold text-[#312740]",children:"El ciclo completo"}),(0,b.jsx)(Jt,{className:"w-6 h-6 text-[#5FCFFA]",strokeWidth:2.5})]}),(0,b.jsxs)("p",{className:"text-lg text-[#312740]/85 leading-relaxed",children:[(0,b.jsx)("span",{className:"font-bold text-[#5FCFFA]",children:"Confianza \u2192 Tr\xE1fico \u2192 Conversi\xF3n \u2192 Optimizaci\xF3n"})," ","\u2014 cada vuelta del ciclo reduce el"," ",(0,b.jsx)("span",{className:"font-bold text-[#FD327B]",children:"CAC"}),", mejora el"," ",(0,b.jsx)("span",{className:"font-bold text-[#5FCFFA]",children:"ROAS"})," y refina el perfil del comprador ideal. El marketing deja de ser un gasto impredecible y se convierte en una"," ",(0,b.jsx)("span",{className:"font-bold text-[#6F4C9E]",children:"inversi\xF3n calculada que crece sola"}),"."]})]})]})})}),(0,b.jsx)(S.div,{initial:{scaleX:0},animate:{scaleX:1},transition:{delay:1.6,duration:.8},className:"h-1 w-full bg-gradient-to-r from-[#312740] via-[#6F4C9E] via-[#5FCFFA] to-[#FD327B] rounded-full"})]})}var z=N(ae());function C1(){let e=[{icon:bs,number:"4.1",planTag:"Aigenci One",planTagPro:!1,title:"Manual de C
16omunicaci\xF3n y Estrategia de Marca",subtitle:"Identidad verbal y visual ante el mercado",description:"Desarrollo de una estrategia fundamental para definir la identidad verbal y visual de la marca ante su mercado.",sections:[{title:"An\xE1lisis de Ventajas Competitivas",points:["Identificaci\xF3n de los diferenciadores \xFAnicos frente a la competencia."]},{title:"Mensajes Clave",points:["Definici\xF3n de los pilares de comunicaci\xF3n y narrativa de la marca."]},{title:"Definici\xF3n de Audiencia",points:["Perfilado del p\xFAblico objetivo (Buyer Persona) para dirigir la comunicaci\xF3n efectivamente."]},{title:"Estrategia General",points:["Hoja de ruta para la implementaci\xF3n de la comunicaci\xF3n en los diferentes canales."]}]},{icon:hs,number:"4.2",planTag:"Aigenci One",planTagPro:!1,title:"Optimizaci\xF3n de Perfiles Digitales",subtitle:"Presencia profesional y consistente en plataformas clave",description:"Configuraci\xF3n profesional y estandarizaci\xF3n de la presencia de la marca en plataformas clave para asegurar consistencia y visibilidad.",sections:[{title:"Google My Business",points:["Creaci\xF3n, verificaci\xF3n y optimizaci\xF3n integral de la ficha de negocio.","Configuraci\xF3n de horarios, carga de servicios/productos y optimizaci\xF3n para b\xFAsquedas locales (SEO Local)."]},{title:"Redes Sociales (Facebook e Instagram)",points:["Auditor\xEDa t\xE9cnica y visual de los perfiles.","Optimizaci\xF3n de biograf\xEDas (Bios), actualizaci\xF3n de fotos de perfil/portada.","Configuraci\xF3n de botones de acci\xF3n (WhatsApp/Llamar) y organizaci\xF3n de historias destacadas para proyectar una imagen profesional cohesiva."]}]},{icon:ma,number:"4.3",planTag:"Aigenci One",planTagPro:!1,title:"Dise\xF1o y Desarrollo de P\xE1gina Web",subtitle:"Activo digital con enfoque en conversi\xF3n",description:"Creaci\xF3n de un activo digital optimizado para transformar visitantes en clientes potenciales.",sections:[{title:"Dise\xF1o y UX/UI",points:["Desarrollo de una interfaz intuitiva, moderna y adaptada a dispositivos m\xF3viles (Mobile First)."]},{title:"Enfoque en Conversi\xF3n",points:["Implementaci\xF3n de llamados a la acci\xF3n (CTAs) claros, formularios estrat\xE9gicos y arquitectura persuasiva."]},{title:"Anal\xEDtica",points:["Integraci\xF3n de Google Analytics 4 y Google Search Console para el rastreo de tr\xE1fico y comportamiento del usuario."]},{title:"Hosting e Infraestructura",points:["Configuraci\xF3n y alojamiento del sitio en servidores seguros.","Gesti\xF3n del certificado de seguridad (SSL) para garantizar la disponibilidad y confianza del sitio."]}]},{icon:ws,number:"4.4",planTag:"Aigenci One",planTagPro:!1,title:"Gesti\xF3n de Campa\xF1as Publicitarias en Meta",subtitle:"Facebook & Instagram Ads \u2014 Tr\xE1fico pagado de alto rendimiento",description:"Servicio integral de compra de medios y gesti\xF3n de tr\xE1fico pagado en el ecosistema Meta.",sections:[{title:"Estrategia",points:["Dise\xF1o de la estructura de campa\xF1as, segmentaci\xF3n de audiencias y definici\xF3n de objetivos (Leads, Ventas, Tr\xE1fico)."]},{title:"Creativos",points:["Dise\xF1o, creaci\xF3n y adaptaci\xF3n de los anuncios visuales y audiovisuales."]},{title:"Optimizaci\xF3n",points:["Monitoreo continuo, A/B testing de creativos y audiencias.","Ajustes de presupuesto para maximizar el ROAS (Retorno de Inversi\xF3n Publicitaria)."]},{title:"Infraestructura & Reportes",points:["Integraci\xF3n y configuraci\xF3n del P\xEDxel de Meta para seguimiento de conversiones (en caso de ser necesario).","Entrega de informe de resultados cada 30 d\xEDas."]}]},{icon:xs,number:"4.5",planTag:"Aigenci One + Pro",planTagPro:!0,title:"Estrategia de Email Marketing",subtitle:"Comunicaci\xF3n directa para nutrir leads y recuperar ventas",description:"Implementaci\xF3n de una estrategia de comunicaci\xF3n directa dise\xF1ada para la nutrici\xF3n de leads y recuperaci\xF3n de oportunidades de venta.",sections:[{title:"Nurturing (Nutrici\xF3n)",points:["Dise\xF1o y configuraci\xF3n de secuencias de emails educativos dirigidos a prospectos interesados que a\xFAn no han concretado la compra."]},{title:"Retargeting (Recuperaci\xF3n)",points:["Implementaci\xF3n de seguimiento automatizado (v\xEDa email o mensajer\xEDa) a visitantes del sitio web que no completaron el proceso de compra."]},{title:"Objetivo de Conversi\xF3n",points:["Recuperar prospectos perdidos y mantener una comunicaci\xF3n activa con los interesados hasta lograr el cierre de la venta."]}]}];return(0,z.jsxs)(S.div,{initial:{opacity:0,y:20}
16,animate:{opacity:1,y:0},transition:{duration:.5},className:"space-y-12",children:[(0,z.jsxs)("div",{className:"space-y-6",children:[(0,z.jsxs)(S.div,{initial:{opacity:0,x:-20},animate:{opacity:1,x:0},transition:{delay:.2},className:"inline-flex items-center gap-3 px-6 py-3 rounded-full bg-gradient-to-r from-[#6F4C9E]/10 via-[#FD327B]/10 to-[#5FCFFA]/10 border-2 border-[#6F4C9E]/30 shadow-xl shadow-[#6F4C9E]/20",children:[(0,z.jsxs)("div",{className:"relative",children:[(0,z.jsx)("div",{className:"absolute inset-0 bg-[#6F4C9E] rounded-full blur-md opacity-50"}),(0,z.jsx)(mo,{className:"relative w-5 h-5 text-[#6F4C9E]",strokeWidth:2.5})]}),(0,z.jsx)("span",{className:"text-sm font-bold bg-gradient-to-r from-[#6F4C9E] via-[#FD327B] to-[#5FCFFA] bg-clip-text text-transparent tracking-wide uppercase",children:"Elementos del Sistema"})]}),(0,z.jsxs)(S.h1,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.3},className:"text-7xl font-bold bg-gradient-to-r from-[#312740] via-[#6F4C9E] to-[#5FCFFA] bg-clip-text text-transparent leading-tight",children:["Componentes del",(0,z.jsx)("br",{}),"Sistema Integral"]}),(0,z.jsxs)(S.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.4},className:"flex items-start gap-4 max-w-4xl",children:[(0,z.jsx)("div",{className:"w-1 h-24 bg-gradient-to-b from-[#6F4C9E] via-[#FD327B] to-[#5FCFFA] rounded-full"}),(0,z.jsxs)("p",{className:"text-2xl text-[#312740]/80 leading-relaxed pt-1",children:["Seis componentes dise\xF1ados para trabajar en conjunto, construyendo un"," ",(0,z.jsx)("span",{className:"font-bold bg-gradient-to-r from-[#6F4C9E] to-[#FD327B] bg-clip-text text-transparent",children:"ecosistema de marca, captaci\xF3n y conversi\xF3n"})," ","que escala de forma predecible y medible."]})]})]}),(0,z.jsx)("div",{className:"space-y-8",children:e.map((t,a)=>{let r=t.icon,o=["from-[#6F4C9E] to-[#FD327B]","from-[#FD327B] to-[#5FCFFA]","from-[#5FCFFA] to-[#6F4C9E]","from-[#FD327B] via-[#6F4C9E] to-[#5FCFFA]","from-[#6F4C9E] via-[#5FCFFA] to-[#FD327B]","from-[#5FCFFA] via-[#FD327B] to-[#6F4C9E]"],n=o[a%o.length];return(0,z.jsxs)(S.div,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{delay:.3+a*.15,type:"spring",stiffness:100},className:"group relative",children:[(0,z.jsx)("div",{className:`absolute inset-0 bg-gradient-to-br ${n} rounded-3xl blur-2xl opacity-0 group-hover:opacity-20 transition-opacity duration-700`}),(0,z.jsxs)("div",{className:"relative p-10 rounded-3xl bg-white border-2 border-[#EEECFF] hover:border-[#6F4C9E]/40 shadow-lg hover:shadow-2xl hover:shadow-[#6F4C9E]/20 transition-all duration-700",children:[t.planTag&&(0,z.jsx)("div",{className:"absolute top-6 right-6",children:t.planTagPro?(0,z.jsx)("div",{className:"px-4 py-2 rounded-full bg-gradient-to-r from-[#6F4C9E] to-[#FD327B] shadow-lg shadow-[#6F4C9E]/30",children:(0,z.jsx)("span",{className:"text-sm font-bold text-white tracking-wide",children:t.planTag})}):(0,z.jsx)("div",{className:"px-4 py-2 rounded-full bg-gradient-to-r from-[#6F4C9E]/10 to-[#5FCFFA]/10 border border-[#6F4C9E]/30",children:(0,z.jsx)("span",{className:"text-sm font-bold text-[#6F4C9E] tracking-wide",children:t.planTag})})}),(0,z.jsxs)("div",{className:"flex items-start gap-6 mb-6",children:[(0,z.jsxs)("div",{className:"relative flex-shrink-0",children:[(0,z.jsx)("div",{className:`absolute inset-0 bg-gradient-to-br ${n} rounded-2xl blur-md opacity-50`}),(0,z.jsx)("div",{className:`relative p-4 rounded-2xl bg-gradient-to-br ${n} group-hover:scale-110 transition-transform duration-500 shadow-lg`,children:(0,z.jsx)(r,{className:"w-8 h-8 text-white",strokeWidth:2.5})})]}),(0,z.jsxs)("div",{className:"flex-1 space-y-3",children:[(0,z.jsxs)("div",{className:"flex items-center gap-3",children:[(0,z.jsx)("span",{className:`text-2xl font-bold bg-gradient-to-r ${n} bg-clip-text text-transparent`,children:t.number}),(0,z.jsx)("h3",{className:"text-3xl font-bold text-[#312740] group-hover:text-[#6F4C9E] transition-colors duration-300 leading-tight",children:t.title})]}),(0,z.jsx)("p",{className:"text-lg font-semibold text-[#6F4C9E]",children:t.subtitle}),(0,z.jsx)("p",{className:"text-lg text-[#312740]/70 italic leading-relaxed border-l-4 border-[#6F4C9E]/30 pl-4",children:t.description})]})]}),(0,z.jsx)("div",{className:`h-0.5 w-full bg-gradient-to-r ${n} opacity-20 mb-6`}),(0,z.jsx)("div",{className:"space-y-6",children:t.sections.map((i,s)=>(0,z.jsxs)("div",{className:"space-y-3",children:[(0,z.jsxs)("div",{className:"flex items-center gap-2",children:[(0,z.jsx)("div",{className:`w-1.5 h-1.5 rounded-full bg-gradient-to-br ${n}`}),(0,z.jsx)("h4",{className:"text-xl font-bold text-[#312740]",children:i.title}),i.isOptional&&(0,z.jsx)("span",{className:"text-xs font-bold text-[#FD327B] uppercase tracking-wide px-2 py-1 rounded-full bg-[#FD327B]/10",children:"Opcional"})]}),(0,z.jsx)("ul",{className:"space-y-2 pl-4",children:i.points.map((l,d)=>(0,z.jsxs)(S.li,{initial:{opacity:0,x:-10}
16,animate:{opacity:1,x:0},transition:{delay:.5+a*.1+s*.05+d*.02},className:"flex items-start gap-3 text-[#312740]/80 text-base leading-relaxed group/item",children:[(0,z.jsxs)("div",{className:"relative flex-shrink-0 mt-1.5",children:[(0,z.jsx)("div",{className:`absolute inset-0 bg-gradient-to-br ${n} rounded-full blur-sm opacity-50`}),(0,z.jsx)("div",{className:`relative w-2 h-2 rounded-full bg-gradient-to-br ${n} group-hover/item:scale-125 transition-transform duration-300`})]}),(0,z.jsx)("span",{className:"group-hover/item:text-[#312740] transition-colors duration-300",children:l})]},d))})]},s))})]})]},a)})}),(0,z.jsxs)(S.div,{initial:{scaleX:0},animate:{scaleX:1},transition:{delay:1,duration:.8},className:"relative h-1.5 w-full rounded-full overflow-hidden",children:[(0,z.jsx)("div",{className:"absolute inset-0 bg-gradient-to-r from-[#6F4C9E] via-[#FD327B] to-[#5FCFFA]"}),(0,z.jsx)("div",{className:"absolute inset-0 bg-gradient-to-r from-[#6F4C9E] via-[#FD327B] to-[#5FCFFA] animate-pulse"})]})]})}var C=N(ae());function L1(){let e=[{label:"Inversi\xF3n en Pauta",value:"$6,000 MXN",sublabel:"Presupuesto publicitario mensual"},{label:"Ticket Promedio (AOV)",value:"$966 MXN",sublabel:"Valor promedio por compra"},{label:"CLTV por Cliente",value:"**$1,449 MXN**",sublabel:"1.5 compras promedio por cliente"}],t=[{metric:"Inversi\xF3n en Pauta",conservador:"$6,000 MXN",optimista:"$6,000 MXN",isHighlight:!1},{metric:"Costo de Adquisici\xF3n (CAC)",conservador:"$450 MXN",optimista:"**$300 MXN**",isHighlight:!1},{metric:"Clientes Nuevos / Mes",conservador:"13 clientes",optimista:"**20 clientes**",isHighlight:!0},{metric:"Facturaci\xF3n Mensual (AOV)",conservador:"$12,558 MXN",optimista:"**$19,320 MXN**",isHighlight:!0},{metric:"Facturaci\xF3n Proyectada (LTV)",conservador:"$18,837 MXN",optimista:"**$28,980 MXN**",isHighlight:!0},{metric:"ROI sobre Pauta",conservador:"214%",optimista:"**383%**",isHighlight:!0}];return(0,C.jsxs)(S.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5},className:"space-y-12 pb-12",children:[(0,C.jsxs)("div",{className:"space-y-6",children:[(0,C.jsxs)(S.div,{initial:{opacity:0,x:-20},animate:{opacity:1,x:0},transition:{delay:.2},className:"inline-flex items-center gap-3 px-6 py-3 rounded-full bg-gradient-to-r from-[#6F4C9E]/10 via-[#FD327B]/10 to-[#5FCFFA]/10 border-2 border-[#6F4C9E]/30 shadow-xl shadow-[#6F4C9E]/20",children:[(0,C.jsxs)("div",{className:"relative",children:[(0,C.jsx)("div",{className:"absolute inset-0 bg-[#6F4C9E] rounded-full blur-md opacity-50"}),(0,C.jsx)(Ot,{className:"relative w-5 h-5 text-[#6F4C9E]",strokeWidth:2.5})]}),(0,C.jsx)("span",{className:"text-sm font-bold bg-gradient-to-r from-[#6F4C9E] via-[#FD327B] to-[#5FCFFA] bg-clip-text text-transparent tracking-wide uppercase",children:"Comparativa de Escenarios"})]}),(0,C.jsxs)(S.h1,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.3},className:"text-7xl font-bold bg-gradient-to-r from-[#312740] via-[#6F4C9E] to-[#5FCFFA] bg-clip-text text-transparent leading-tight",children:["Proyecci\xF3n Mensual",(0,C.jsx)("br",{}),"Basada en Datos"]}),(0,C.jsxs)(S.p,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.35},className:"text-xl text-[#312740]/70 max-w-3xl",children:["Basado en una"," ",(0,C.jsx)("span",{className:"font-bold text-[#6F4C9E]",children:"inversi\xF3n mensual de $6,000 MXN"}),", un Ticket Promedio (AOV) de"," ",(0,C.jsx)("span",{className:"font-bold text-[#6F4C9E]",children:"$966 MXN"})," ","y un CLTV de"," ",(0,C.jsx)("span",{className:"font-bold text-[#FD327B]",children:"$1,449 MXN por cliente"})," ","(1.5 compras promedio)."]})]}),(0,C.jsxs)(S.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.4},className:"relative overflow-hidden group",children:[(0,C.jsx)("div",{className:"absolute inset-0 bg-gradient-to-br from-[#6F4C9E]/5 via-[#FD327B]/5 to-[#5FCFFA]/5 rounded-2xl blur-xl opacity-0 group-hover:opacity-100 transition-opacity duration-500"}),(0,C.jsxs)("div",{className:"relative p-10 rounded-2xl bg-white border-2 border-[#EEECFF] hover:border-[#6F4C9E]/30 shadow-xl hover:shadow-2xl hover:shadow-[#6F4
16C9E]/20 transition-all duration-500",children:[(0,C.jsxs)("h2",{className:"text-3xl font-bold text-[#312740] mb-8 flex items-center gap-3",children:[(0,C.jsx)("div",{className:"w-1.5 h-8 bg-gradient-to-b from-[#6F4C9E] to-[#FD327B] rounded-full"}),"Par\xE1metros de la Proyecci\xF3n"]}),(0,C.jsx)("div",{className:"grid md:grid-cols-3 gap-6",children:e.map((a,r)=>{let o=a.value.includes("**"),n=a.value.replace(/\*\*/g,"");return(0,C.jsxs)(S.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.5+r*.1},className:"relative group/card",children:[(0,C.jsx)("div",{className:"absolute inset-0 bg-gradient-to-br from-[#5FCFFA]/10 to-[#6F4C9E]/10 rounded-xl opacity-0 group-hover/card:opacity-100 transition-opacity duration-300"}),(0,C.jsx)("div",{className:`relative p-6 rounded-xl bg-gradient-to-br from-[#EEECFF]/50 to-white border transition-all duration-300 ${o?"border-[#FD327B]/40 group-hover/card:border-[#FD327B]/60 ring-2 ring-[#FD327B]/20":"border-[#6F4C9E]/20 group-hover/card:border-[#6F4C9E]/40"}`,children:(0,C.jsxs)("div",{className:"space-y-3",children:[(0,C.jsx)("p",{className:"text-sm font-medium text-[#312740]/60 uppercase tracking-wide",children:a.label}),(0,C.jsx)("p",{className:`text-3xl font-bold ${o?"bg-gradient-to-r from-[#FD327B] to-[#FF6B9D] bg-clip-text text-transparent":"bg-gradient-to-r from-[#6F4C9E] to-[#5FCFFA] bg-clip-text text-transparent"}`,children:n}),a.sublabel&&(0,C.jsx)("p",{className:"text-xs text-[#312740]/50 italic",children:a.sublabel})]})})]},r)})})]})]}),(0,C.jsxs)(S.div,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{delay:.6},className:"relative overflow-hidden group",children:[(0,C.jsx)("div",{className:"absolute inset-0 bg-gradient-to-br from-[#6F4C9E]/10 via-trans
16parent to-[#FD327B]/10 rounded-3xl blur-2xl opacity-0 group-hover:opacity-100 transition-opacity duration-700"}),(0,C.jsxs)("div",{className:"relative rounded-3xl bg-white border-2 border-[#EEECFF] hover:border-[#6F4C9E]/30 shadow-2xl hover:shadow-[#6F4C9E]/20 transition-all duration-700 overflow-hidden",children:[(0,C.jsx)("div",{className:"bg-gradient-to-r from-[#312740] via-[#6F4C9E] to-[#5FCFFA] p-8",children:(0,C.jsxs)("div",{className:"grid grid-cols-3 gap-6",children:[(0,C.jsx)("div",{children:(0,C.jsx)("h3",{className:"text-xl font-bold text-white/90",children:"M\xE9trica Clave"})}),(0,C.jsxs)("div",{className:"text-center",children:[(0,C.jsxs)("div",{className:"inline-flex items-center gap-2 px-4 py-2 rounded-full bg-white/20 backdrop-blur-sm border border-white/30",children:[(0,C.jsx)(ma,{className:"w-4 h-4 text-white"}),(0,C.jsx)("h3",{className:"text-lg font-bold text-white",children:"Escenario Conservador"})]}),(0,C.jsx)("p",{className:"text-sm text-white/70 mt-2",children:"(Est\xE1ndar)"})]}),(0,C.jsxs)("div",{className:"text-center",children:[(0,C.jsxs)("div",{className:"inline-flex items-center gap-2 px-4 py-2 rounded-full bg-gradient-to-r from-[#FD327B] to-[#FF6B9D] border border-white/30 shadow-lg",children:[(0,C.jsx)(ke,{className:"w-4 h-4 text-white"}),(0,C.jsx)("h3",{className:"text-lg font-bold text-white",children:"Escenario Optimista"})]}),(0,C.jsx)("p",{className:"text-sm text-white/90 mt-2 font-semibold",children:"(Meta Aigenci)"})]})]})}),(0,C.jsx)("div",{className:"p-6",children:(0,C.jsx)("div",{className:"space-y-2",children:t.map((a,r)=>{let o=a.isHighlight,n=a.optimista.includes("**"),i=a.optimista.replace(/\*\*/g,"");return(0,C.jsxs)(S.div,{initial:{opacity:0,x:-20},animate:{opacity:1,x:0},transition:{delay:.7+r*.05},className:`grid grid-cols-3 gap-6 p-5 rounded-xl transition-all duration-300 ${o?"bg-gradient-to-r from-[#FD327B]/10 via-[#6F4C9E]/10 to-[#5FCFFA]/10 border-2 border-[#FD327B]/30 shadow-lg":"bg-slate-50/80 border border-slate-200 hover:bg-slate-100/80"}`,children:[(0,C.jsxs)("div",{className:"flex items-center gap-3",children:[o&&(0,C.jsxs)("div",{className:"relative",children:[(0,C.jsx)("div",{className:"absolute inset-0 bg-gradient-to-br from-[#FD327B] to-[#6F4C9E] rounded-full blur-md opacity-50"}),(0,C.jsx)("div",{className:"relative w-3 h-3 rounded-full bg-gradient-to-br from-[#FD327B] to-[#6F4C9E]"})]}),(0,C.jsx)("span",{className:`font-bold ${o?"text-[#312740] text-lg":"text-[#312740]/80 text-base"}`,children:a.metric})]}),(0,C.jsx)("div",{className:"text-center",children:(0,C.jsx)("span",{className:`font-semibold ${o?"text-[#6F4C9E] text-lg":"text-[#312740]/70"}`,children:a.conservador})}),(0,C.jsxs)("div",{className:"text-center relative",children:[n&&(0,C.jsx)("div",{className:"absolute -top-1 -right-1",children:(0,C.jsx)(ke,{className:"w-4 h-4 text-[#FD327B]"})}),(0,C.jsx)("span",{className:`font-bold ${n?"text-[#FD327B] text-xl":o?"text-[#FD327B] text-lg":"text-[#312740]/70"}`,children:i})]})]},r)})})})]})]}),(0,C.jsxs)("div",{className:"grid md:grid-cols-2 gap-6",children:[(0,C.jsxs)(S.div,{initial:{opacity:0,x:-20},animate:{opacity:1,x:0},transition:{delay:1},className:"group p-8 rounded-2xl bg-white border-2 border-[#6F4C9E]/30 hover:border-[#6F4C9E]/50 shadow-lg hover:shadow-xl transition-all duration-300",children:[(0,C.jsxs)("div",{className:"flex items-start gap-4 mb-4",children:[(0,C.jsx)("div",{className:"p-3 rounded-xl bg-gradient-to-br from-[#6F4C9E] to-[#6F4C9E]/70 group-hover:scale-110 transition-transform duration-300",children:(0,C.jsx)(ma,{className:"w-6 h-6 text-white",strokeWidth:2.5})}),(0,C.jsxs)("div",{children:[(0,C.jsx)("h4",{className:"text-xl font-bold text-[#6F4C9E]",children:"Escenario Conservador"}),(0,C.jsx)("p",{className:"text-sm text-[#312740]/60 mt-1",children:"(CAC $450 MXN)"})]})]}),(0,C.jsxs)("p",{className:"text-[#312740]/80 text-base leading-relaxed",children:["Con un CAC de ",(0,C.jsx)("span",{className:"font-bold text-[#6F4C9E]",children:"$450 MXN"}),", se adquieren"," ",(0,C.jsx)("span",{className:"font-bold text-[#6F4C9E]",children:"13 clientes nuevos al mes"}),", generando una"," ",(0,C.jsx)("span",{className:"font-bold text-[#6F4C9E]",children:"facturaci\xF3n proyectada de $18,837 MXN"})," ","con un ",(0,C.jsx)("span",{className:"font-bold text-[#6F4C9E]",children:"ROI sobre pauta del 214%"}),"."]})]}),(0,C.jsxs)(S.div,{initial:{opacity:0,x:20}
16,animate:{opacity:1,x:0},transition:{delay:1.1},className:"group p-8 rounded-2xl bg-white border-2 border-[#FD327B]/30 hover:border-[#FD327B]/50 shadow-lg hover:shadow-xl transition-all duration-300",children:[(0,C.jsxs)("div",{className:"flex items-start gap-4 mb-4",children:[(0,C.jsx)("div",{className:"p-3 rounded-xl bg-gradient-to-br from-[#FD327B] to-[#FD327B]/70 group-hover:scale-110 transition-transform duration-300",children:(0,C.jsx)(ke,{className:"w-6 h-6 text-white",strokeWidth:2.5})}),(0,C.jsxs)("div",{children:[(0,C.jsx)("h4",{className:"text-xl font-bold text-[#FD327B]",children:"Escenario Optimista"}),(0,C.jsx)("p",{className:"text-sm text-[#312740]/60 mt-1",children:"(CAC $300 MXN)"})]})]}),(0,C.jsxs)("p",{className:"text-[#312740]/80 text-base leading-relaxed",children:["Campa\xF1a ",(0,C.jsx)("span",{className:"font-bold text-[#FD327B]",children:"altamente optimizada"})," con CAC de"," ",(0,C.jsx)("span",{className:"font-bold text-[#FD327B]",children:"$300 MXN"}),", adquiriendo"," ",(0,C.jsx)("span",{className:"font-bold text-[#FD327B]",children:"20 clientes nuevos al mes"}),"."," ","Facturaci\xF3n mensual de ",(0,C.jsx)("span",{className:"font-bold text-[#FD327B]",children:"$19,320 MXN"}),", proyectada en ",(0,C.jsx)("span",{className:"font-bold text-[#FD327B]",children:"$28,980 MXN"})," v\xEDa CLTV,"," ","con un ",(0,C.jsx)("span",{className:"font-bold text-[#FD327B]",children:"ROI sobre pauta del 383%"}),"."]})]})]}),(0,C.jsxs)(S.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:1.2},className:"relative p-10 rounded-3xl bg-gradient-to-br from-[#EEECFF] via-white to-[#EEECFF]/30 border-2 border-[#6F4C9E]/30 shadow-2xl overflow-hidden",children:[(0,C.jsx)("div",{className:"absolute top-0 right-0 w-64 h-64 bg-gradient-to-br from-[#6F4C9E]/10 to-transparent rounded-full blur-3xl"}),(0,C.jsx)("div",{className:"absolute bottom-0 left-0 w-48 h-48 bg-gradient-to-tr from-[#FD327B]/10 to-transparent rounded-full blur-3xl"}),(0,C.jsxs)("div",{className:"relative space-y-6",children:[(0,C.jsxs)("div",{className:"flex items-center gap-4",children:[(0,C.jsx)("div",{className:"p-3 rounded-2xl bg-gradient-to-br from-[#6F4C9E] to-[#FD327B] shadow-lg",children:(0,C.jsx)(po,{className:"w-7 h-7 text-white",strokeWidth:2.5})}),(0,C.jsx)("h4",{className:"text-2xl font-bold text-[#312740]",children:"\xBFQu\xE9 significa esto para Crecer en Calma?"})]}),(0,C.jsx)("div",{className:"h-0.5 w-full bg-gradient-to-r from-[#6F4C9E] via-[#FD327B] to-transparent opacity-30"}),(0,C.jsxs)("div",{className:"space-y-4",children:[(0,C.jsxs)("div",{className:"flex items-start gap-4 p-6 rounded-xl bg-white/70 border-2 border-[#FD327B]/30 hover:border-[#FD327B]/50 hover:shadow-lg transition-all duration-300",children:[(0,C.jsxs)("div",{className:"relative flex-shrink-0 mt-1",children:[(0,C.jsx)("div",{className:"absolute inset-0 bg-[#FD327B] rounded-full blur-md opacity-50 animate-pulse"}),(0,C.jsx)("div",{className:"relative w-4 h-4 rounded-full bg-gradient-to-br from-[#FD327B] to-[#FD327B]/70 shadow-lg"})]}),(0,C.jsxs)("p",{className:"text-[#312740] leading-relaxed font-medium text-lg",children:["Con ",(0,C.jsx)("span",{className:"font-bold text-[#FD327B]",children:"$6,000 MXN de inversi\xF3n"})," mensual en pauta, el sistema genera entre"," ",(0,C.jsx)("span",{className:"font-bold text-[#6F4C9E]",children:"$18,837 y $28,980 MXN"})," de facturaci\xF3n proyectada v\xEDa CLTV \u2014"," ",(0,C.jsx)("span",{className:"font-bold text-[#FD327B]",children:"rentable desde el primer mes"}),"."]})]}),(0,C.jsxs)("div",{className:"flex items-start gap-4 p-6 rounded-xl bg-white/70 border-2 border-[#6F4C9E]/30 hover:border-[#6F4C9E]/50 hover:shadow-lg transition-all duration-300",children:[(0,C.jsxs)("div",{className:"relative flex-shrink-0 mt-1",children:[(0,C.jsx)("div",{className:"absolute inset-0 bg-[#6F4C9E] rounded-full blur-md opacity-50 animate-pulse"}),(0,C.jsx)("div",{className:"relative w-4 h-4 rounded-full bg-gradient-to-br from-[#6F4C9E] to-[#6F4C9E]/70 shadow-lg"})]}),(0,C.jsxs)("p",{className:"text-[#312740] leading-relaxed font-medium text-lg",children:["El ",(0,C.jsx)("span",{className:"font-bold text-[#6F4C9E]",children:"benchmark de \xE9xito (punto de equilibrio optimizado)"})," se establece en un"," ",(0,C.jsx)("span",{className:"font-bold text-[#6F4C9E]",children:"CAC de $300 MXN"}),", generando una facturaci\xF3n de"," ",(0,C.jsx)("span",{className:"font-bold text-[#6F4C9E]",children:"$28,980 MXN"})," con un"," ",(0,C.jsx)("span",{className:"font-bold text-[#6F4C9E]",children:"ROI del 383%"}),"."]})]}),(0,C.jsxs)("div",{className:"flex items-start gap-4 p-6 rounded-xl bg-white/70 border-2 border-[#5FCFFA]/30 hover:border-[#5FCFFA]/50 hover:shadow-lg transition-all duration-300",children:[(0,C.jsxs)("div",{className:"relative flex-shrink-0 mt-1",children:[(0,C.jsx)("div",{className:"absolute inset-0 bg-[#5FCFFA] rounded-full blur-md opacity-50 animate-pulse"}),(0,C.jsx)("div",{className:"relative w-4 h-4 rounded-full bg-gradient-to-br from-[#5FCFFA] to-[#5FCFFA]/70 shadow-lg"})]}),(0,C.jsxs)("p",{className:"text-[#312740] leading-relaxed font-medium text-lg",children:["Una vez validado el modelo, el canal es"," ",(0,C.jsx)("span",{className:"font-bold text-[#5FCFFA]",children:"totalmente escalable"}),":"," ",(0,C.jsx)("span",{className:"font-bold text-[#5FCFFA]",children:"mayor inversi\xF3n en pauta se traduce matem\xE1ticamente en m\xE1s clientes y mayor facturaci\xF3n"}),"."]})]})]})]})]}),(0,C.jsx)(S.div,{initial:{scaleX:0},animate:{scaleX:1},transition:{delay:1.4,duration:.8},className:"h-1 w-full bg-gradient-to-r from-[#6F4C9E] via-[#FD327B] to-[#5FCFFA] rounded-full"})]})}var le=N(ae());function I1(){let e=[{icon:ea,title:"Independencia Total de Intermediarios",highlight:"100% Margen",gradient:"from-[#6F4C9E] to-[#5FCFFA]",description:"Al ser due\xF1a de tu canal de venta, te quedas con el 100% de tu margen operativo. No trabajas para pagar las comisiones de Amazon (35\u201345%), lo que permite que el negocio sea rentable desde el primer kit vendido."},{icon:fo,title:"Construcci\xF3n de un Activo de Datos",highlight:"Audiencia Propia",gradient:"from-[#FD327B] to-[#FF6B9D]",description:"Cada venta genera una base de datos de mam\xE1s que ya conf\xEDan en ti. Esto significa que cuando lances el kit de lenguaje de se\xF1as o herramientas para padres divorciados, tendr\xE1s una audiencia a quien venderle con costo de publicidad cero."},{icon:fs,title:"Escalabilidad en Calma",highlight:"Libertad de Tiempo",gradient:"from-[#5FCFFA] to-[#6F4C9E]",description:"El sistema libera tu tiempo. Pasamos de un modelo donde t\xFA tienes que cerrar cada venta por WhatsApp, a uno donde la tienda vende por ti las 24 horas, permiti\xE9ndote enfocarte en la creaci\xF3n pedag\xF3gica y tus terapias."},{icon:Lr,title:"Decisiones Respaldadas por Evidencia",highlight:"Data-Driven",gradient:"from-[#6F4C9E] to-[#FD327B]",description:'Sabr\xE1s con exactitud cu\xE1l de los 3 kits tiene mayor demanda real. Esto elimina el riesgo de "adivinar" en qu\xE9 producto invertir m\xE1s dinero para tu pr\xF3xima producci\xF3n masiva de 500 o 1,000 unidades.'}];return(0,le.jsxs)(S.div,{initial:{opacity:0,y:20}
16,animate:{opacity:1,y:0},transition:{duration:.5},className:"space-y-8",children:[(0,le.jsxs)("div",{className:"space-y-6",children:[(0,le.jsxs)(S.div,{initial:{opacity:0,x:-20},animate:{opacity:1,x:0},transition:{delay:.2},className:"inline-flex items-center gap-2 px-5 py-2.5 rounded-full bg-gradient-to-r from-[#EEECFF] to-white border-2 border-[#6F4C9E]/20 shadow-lg shadow-[#6F4C9E]/10",children:[(0,le.jsx)(ke,{className:"w-4 h-4 text-[#6F4C9E]",strokeWidth:2.5}),(0,le.jsx)("span",{className:"text-sm font-bold text-[#6F4C9E] tracking-wide uppercase",children:"Ventajas Competitivas"})]}),(0,le.jsxs)("h1",{className:"text-6xl font-bold bg-gradient-to-r from-[#312740] via-[#6F4C9E] to-[#5FCFFA] bg-clip-text text-transparent leading-tight",children:["Ventajas Competitivas",(0,le.jsx)("br",{}),"del Sistema"]}),(0,le.jsxs)("p",{className:"text-xl text-[#312740]/80 leading-relaxed max-w-4xl",children:["Este sistema no solo genera leads, te proporciona un"," ",(0,le.jsx)("span",{className:"font-bold text-[#6F4C9E]",children:"activo estrat\xE9gico"})," que transforma la forma en que"," ",(0,le.jsx)("span",{className:"font-bold text-[#FD327B]",children:"adquieres y gestionas clientes"}),", d\xE1ndote"," ",(0,le.jsx)("span",{className:"font-bold text-[#5FCFFA]",children:"ventajas competitivas sostenibles"})," en tu mercado."]})]}),(0,le.jsx)("div",{className:"grid gap-8 lg:grid-cols-2",children:e.map((t,a)=>{let r=t.icon;return(0,le.jsxs)(S.div,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{delay:.5+a*.15,type:"spring",stiffness:150},className:"group relative overflow-hidden",children:[(0,le.jsx)("div",{className:`absolute inset-0 bg-gradient-to-br ${t.gradient} opacity-0 group-hover:opacity-10 blur-2xl transition-opacity duration-700`}),(0,le.jsxs)("div",{className:"relative p-8 rounded-3xl bg-white border-2 border-[#EEECFF] group-hover:border-[#6F4C9E]/40 hover:shadow-2xl hover:shadow-[#6F4C9E]/20 transition-all duration-500",children:[(0,le.jsxs)("div",{className:"flex items-start justify-between mb-6",children:[(0,le.jsxs)("div",{className:"relative",children:[(0,le.jsx)("div",{className:`absolute inset-0 bg-gradient-to-br ${t.gradient} rounded-2xl blur-md opacity-50`}),(0,le.jsx)("div",{className:`relative p-4 rounded-2xl bg-gradient-to-br ${t.gradient} group-hover:scale-110 transition-transform duration-500 shadow-lg`,children:(0,le.jsx)(r,{className:"w-8 h-8 text-white",strokeWidth:2.5})})]}),(0,le.jsx)("div",{className:`px-3 py-1.5 rounded-full bg-gradient-to-r ${t.gradient} shadow-lg`,children:(0,le.jsx)("span",{className:"text-xs font-bold text-white uppercase tracking-wider",children:t.highlight})})]}),(0,le.jsx)("h3",{className:"text-2xl font-bold text-[#312740] mb-4 group-hover:bg-gradient-to-r group-hover:from-[#6F4C9E] group-hover:to-[#5FCFFA] group-hover:bg-clip-text group-hover:text-transparent transition-all duration-300",children:t.title}),(0,le.jsx)("p",{className:"text-base text-[#312740]/80 leading-relaxed",children:t.description}),(0,le.jsx)("div",{className:"mt-6 h-1 w-full rounded-full overflow-hidden bg-slate-100",children:(0,le.jsx)("div",{className:`h-full w-0 group-hover:w-full bg-gradient-to-r ${t.gradient} transition-all duration-700`})})]})]},a)})}),(0,le.jsx)(S.div,{initial:{scaleX:0},animate:{scaleX:1},transition:{delay:1.3,duration:.8},className:"h-1 w-full bg-gradient-to-r from-[#6F4C9E] via-[#FD327B] to-[#5FCFFA] rounded-full mt-12"})]})}var H=N(ae());function k1(){let e=[{phase:"Semana 1",week:"Arranque Estrat\xE9gico",icon:Ls,title:"Auditor\xEDa, Perfilado y Mensajes",isProOnly:!1,activities:["Auditor\xEDa completa de marca: voz, tono y posicionamiento visual","Perfilado profundo de audiencia: mam\xE1s, edad, contexto, dolores reales","Definici\xF3n de mensajes clave para cada kit y canal de comunicaci\xF3n"],milestone:"\u{1F3AF} Estrategia clara, mensajes validados y audiencia definida",color:"from-[#6F4C9E] to-[#5FCFFA]"},{phase:"Semanas 2\u20135",week:"Construcci\xF3n T\xE9cnica",icon:Ir,title:"Desarrollo Profundo de Shopify",isProOnly:!1,activities:["Desarrollo t\xE9cnico profundo de Shopify: estructura, cat\xE1logo y UX","Carga y optimizaci\xF3n de activos multimedia: fotos, videos, descripciones","Configuraci\xF3n de pasarelas de pago, log\xEDstica y automatizaciones de tienda"],milestone:"\u{1F6E0}\uFE0F Tienda lista para vender, confiable y optimizada para conversi\xF3n",color:"from-[#FD327B] to-[#FF6B9D]"},{phase:"Semana 6",week:"Go Live",icon:Cs,title:"Entrega de Plataforma y L
16anzamiento de Campa\xF1as",isProOnly:!1,activities:["Entrega oficial de la plataforma web finalizada y lista para operar","Lanzamiento de Campa\xF1as de Descubrimiento en Meta Ads (Facebook e Instagram)","Activaci\xF3n del pixel, seguimiento de conversiones y primeros datos reales"],milestone:"\u{1F680} Sistema vivo: plataforma entregada y tr\xE1fico cualificado entrando",color:"from-[#5FCFFA] to-[#6F4C9E]"},{phase:"Semana 7+",week:"Escalamiento Continuo",icon:mt,title:"Email Marketing y Optimizaci\xF3n Predictiva del ROI",isProOnly:!0,activities:["Activaci\xF3n de flujos de Email Marketing: bienvenida, abandono de carrito y reactivaci\xF3n","An\xE1lisis de m\xE9tricas reales para reducir CAC y mejorar tasa de conversi\xF3n","Optimizaci\xF3n predictiva del ROI: escala el presupuesto en lo que comprobadamente funciona"],milestone:"\u{1F4C8} Canal escalable, predecible y rentable operando a plena potencia",color:"from-[#6F4C9E] to-[#FD327B]"}];return(0,H.jsxs)(S.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5},className:"space-y-8",children:[(0,H.jsxs)("div",{className:"space-y-4",children:[(0,H.jsxs)(S.div,{initial:{opacity:0,x:-20},animate:{opacity:1,x:0},transition:{delay:.2},className:"inline-flex items-center gap-2 px-4 py-2 rounded-full bg-[#EEECFF] border border-[#6F4C9E]/20",children:[(0,H.jsx)(pa,{className:"w-4 h-4 text-[#6F4C9E]"}),(0,H.jsx)("span",{className:"text-sm font-semibold text-[#312740]",children:"Timeline de Implementaci\xF3n"})]}),(0,H.jsx)("h1",{className:"text-5xl font-bold text-[#312740]",children:"Cronograma de Ejecuci\xF3n"}),(0,H.jsxs)("p",{className:"text-lg text-[#312740]/70 leading-relaxed max-w-3xl",children:["De la estrategia al lanzamiento en ",(0,H.jsx)("span",{className:"font-bold text-[#6F4C9E]",children:"6 semanas"}),": auditor\xEDa de marca, construcci\xF3n t\xE9cnica de Shopify, lanzamiento de Meta Ads y \u2014 en el Plan Pro \u2014 optimizaci\xF3n continua con Email Marketing y escalamiento predictivo del ROI."]})]}),(0,H.jsxs)("div",{className:"relative pl-16",children:[(0,H.jsx)("div",{className:"absolute left-7 top-0 bottom-0 w-1 rounded-full bg-gradient-to-b from-[#6F4C9E] via-[#FD327B] via-[#5FCFFA] to-[#FD327B]/40"}),(0,H.jsx)("div",{className:"space-y-8",children:e.map((t,a)=>{let r=t.icon,o=a===2;return(0,H.jsxs)(S.div,{initial:{opacity:0,x:-20},animate:{opacity:1,x:0},transition:{delay:.3+a*.15},className:"relative",children:[(0,H.jsxs)("div",{className:"absolute -left-16 top-6",children:[o&&(0,H.jsx)("div",{className:"absolute -inset-2 bg-gradient-to-br from-[#5FCFFA] to-[#6F4C9E] rounded-2xl blur-xl opacity-50 animate-pulse"}),(0,H.jsx)("div",{className:`relative w-14 h-14 rounded-2xl bg-gradient-to-br ${t.color} border-2 border-white shadow-xl flex items-center justify-center`,children:(0,H.jsx)(r,{className:"w-7 h-7 text-white",strokeWidth:2.5})})]}),(0,H.jsxs)("div",{className:`group p-7 rounded-2xl bg-white border-2 transition-all duration-300 overflow-hidden relative hover:shadow-2xl ${t.isProOnly?"border-[#6F4C9E]/40 bg-gradient-to-br from-[#EEECFF]/40 to-white":"border-slate-200 hover:border-[#6F4C9E]/40"}`,children:[(0,H.jsx)("div",{className:`absolute inset-0 bg-gradient-to-br ${t.color} opacity-0 group-hover:opacity-5 transition-opacity duration-300 pointer-events-none`}),(0,H.jsxs)("div",{className:"relative space-y-4",children:[(0,H.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,H.jsx)("span",{className:`px-4 py-1.5 rounded-full bg-gradient-to-r ${t.color} text-white text-sm font-bold shadow-md`,children:t.phase}),(0,H.jsx)("span",{className:"px-3 py-1 rounded-full bg-slate-100 text-slate-600 text-sm font-semibold border border-slate-200",children:t.week}),o&&(0,H.jsx)("span",{className:"px-3 py-1.5 rounded-full bg-gradient-to-r from-[#5FCFFA] to-[#6F4C9E] text-white text-xs font-bold uppercase tracking-wider shadow-lg animate-pulse",children:"\u{1F680} GO LIVE"}),t.isProOnly&&(0,H.jsx)("span",{className:"px-3 py-1.5 rounded-full bg-gradient-to-r from-[#6F4C9E] to-[#FD327B] text-white text-xs font-bold uppercase tracking-wider shadow-lg",children:"\u2B50 Solo Plan Pro"})]}),(0,H.jsx)("h3",{className:"text-xl font-bold text-[#312740] group-hover:text-[#6F4C9E] transition-colors duration-300",children:t.title}),(0,H.jsx)("ul",{className:"space-y-2.5",children:t.activities.map((n,i)=>(0,H.jsxs)("li",{className:"flex items-start gap-3",children:[(0,H.jsx)("div",{className:`mt-2 w-2 h-2 rounded-full bg-gradient-to-br ${t.color} flex-shrink-0`}),(0,H.jsx)("span",{className:"text-[#312740]/80 leading-relaxed",children:n})]},i))}),(0,H.jsx)("div",{className:"p-4 rounded-xl bg-slate-50 border-l-4",style:{borderColor:t.color.includes("FD327B")?"#FD327B":t.color.includes("5FCFFA")?"#5FCFFA":"#6F4C9E"},children:(0,H.jsx)("p",{className:"text-sm font-bold text-[#312740]",children:t.milestone})})]})]})]},a)})})]}),(0,H.jsx)(S.div,{initial:{opacity:0,y:20}
16,animate:{opacity:1,y:0},transition:{delay:.8},className:"mt-12 p-8 rounded-2xl bg-gradient-to-br from-[#EEECFF] to-white border-2 border-[#6F4C9E]/30 shadow-lg",children:(0,H.jsxs)("div",{className:"flex items-start gap-4",children:[(0,H.jsx)("div",{className:"p-3 rounded-xl bg-gradient-to-br from-[#6F4C9E] to-[#FD327B] shadow-md flex-shrink-0",children:(0,H.jsx)(pa,{className:"w-6 h-6 text-white",strokeWidth:2.5})}),(0,H.jsxs)("div",{className:"space-y-3",children:[(0,H.jsx)("h4",{className:"text-xl font-bold text-[#312740]",children:"Tiempo Total de Implementaci\xF3n"}),(0,H.jsxs)("p",{className:"text-[#312740]/80 leading-relaxed",children:["La ",(0,H.jsx)("span",{className:"font-bold text-[#6F4C9E]",children:"Semana 1"})," define la estrategia: marca, audiencia y mensajes. Las ",(0,H.jsx)("span",{className:"font-bold text-[#FD327B]",children:"Semanas 2 a 5"})," construyen Shopify con activos multimedia y pasarelas de pago. La ",(0,H.jsx)("span",{className:"font-bold text-[#5FCFFA]",children:"Semana 6"})," es el gran lanzamiento: plataforma entregada y Meta Ads activado. Desde la ",(0,H.jsx)("span",{className:"font-bold text-[#6F4C9E]",children:"Semana 7"})," en adelante ",(0,H.jsx)("span",{className:"font-bold text-[#FD327B]",children:"(Plan Pro)"}),", el sistema escala con Email Marketing y optimizaci\xF3n predictiva del ROI."]})]})]})})]})}var L=N(ae());function S1(){let e=[{name:"Manual de Marca y Estrategia",oneIncluded:!0,proIncluded:!0},{name:"Optimizaci\xF3n de Perfiles Digitales",oneIncluded:!0,proIncluded:!0},{name:"Gesti\xF3n de Meta Ads (IA)",oneIncluded:!0,proIncluded:!0},{name:"Dise\xF1o y Desarrollo Web (Shopify)",oneIncluded:!0,proIncluded:!0},{name:"Estrategia de Email Marketing",oneIncluded:!1,proIncluded:!0}],t=[{name:"AIGENCI ONE",subtitle:"Visibilidad y Captura",specialPrice:"$6,500",description:"Sistema de captaci\xF3n digital",gradient:"from-[#6F4C9E] to-[#8B5CF6]",glowColor:"shadow-[#6F4C9E]/20",icon:mt,services:e},{name:"AIGENCI PRO",subtitle:"Captura + Cierre",specialPrice:"$8,500",description:"Sistema completo de conversi\xF3n",gradient:"from-[#FD327B] via-[#FF6B9D] to-[#FD327B]",glowColor:"shadow-[#FD327B]/30",icon:_a,featured:!0,services:e}];return(0,L.jsxs)("div",{className:"relative space-y-12",children:[(0,L.jsxs)("div",{className:"absolute inset-0 -z-10 overflow-hidden",children:[(0,L.jsx)("div",{className:"absolute top-0 left-1/4 w-96 h-96 bg-[#6F4C9E]/10 rounded-full blur-3xl"}),(0,L.jsx)("div",{className:"absolute bottom-0 right-1/4 w-96 h-96 bg-[#FD327B]/10 rounded-full blur-3xl"})]}),(0,L.jsxs)(S.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6},className:"text-center space-y-4",children:[(0,L.jsxs)(S.div,{initial:{scale:.9,opacity:0},animate:{scale:1,opacity:1},transition:{delay:.2,duration:.5},className:"inline-flex items-center gap-2 px-4 py-2 rounded-full bg-gradient-to-r from-[#6F4C9E]/10 to-[#FD327B]/10 border border-[#6F4C9E]/20",children:[(0,L.jsx)(ke,{className:"w-4 h-4 text-[#FD327B]"}),(0,L.jsx)("span",{className:"text-sm font-bold text-[#312740]",children:"Inversi\xF3n Estrat\xE9gica"})]}),(0,L.jsx)("h2",{className:"text-5xl md:text-6xl font-bold text-[#312740] tracking-tight",children:"Inversi\xF3n Mensual"}),(0,L.jsx)("p",{className:"text-xl text-[#312740]/70 max-w-2xl mx-auto",children:"Elige el sistema que impulse tu crecimiento"})]}),(0,L.jsx)("div",{className:"grid md:grid-cols-2 gap-8 max-w-5xl mx-auto",children:t.map((a,r)=>{let o=a.icon;return(0,L.jsxs)(S.div,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{delay:.3+r*.15,duration:.6},whileHover:{y:-8,transition:{duration:.3}},className:`relative group ${a.featured?"md:scale-105 pt-6":""}`,children:[a.featured&&(0,L.jsx)(S.div,{initial:{scale:0,rotate:-10},animate:{scale:1,rotate:0},transition:{delay:.6,type:"spring",stiffness:200},className:"absolute -top-1 left-1/2 -translate-x-1/2 z-30",children:(0,L.jsxs)("div",{className:"relative",children:[(0,L.jsx)(S.div,{animate:{scale:[1,1.2,1],opacity:[.5,.8,.5]},transition:{duration:2,repeat:1/0,ease:"easeInOut"},className:"absolute inset-0 bg-gradient-to-r from-[#FD327B] to-[#FF6B9D] rounded-full blur-md"}),(0,L.jsxs)("div",{className:"relative px-5 py-2 rounded-full bg-gradient-to-r from-[#FD327B] via-[#FF6B9D] to-[#FD327B] text-white text-xs font-bold shadow-2xl border-2 border-white/30 flex items-center gap-1.5 backdrop-blur-sm",children:[(0,L.jsx)(S.div,{animate:{rotate:[0,360]},transition:{duration:3,repeat:1/0,ease:"linear"},children:(0,L.jsx)(ke,{className:"w-3.5 h-3.5"})}),"RECOMENDADO"]})]})}),(0,L.jsx)("div",{className:`absolute inset-0 rounded-2xl bg-gradient-to-br ${a.gradient} opacity-0 group-hover:opacity-20 blur-xl transition-opacity duration-500`}),(0,L.jsxs)("div",{className:`relative rounded-2xl backdrop-blur-sm border-2 transition-all duration-500 ${a.featured?"bg-white/90 border-[#FD327B] shadow-2xl shadow-[#FD327B]/20":"bg-white/80 border-slate-200 shadow-xl hover:shadow-2xl"}`,children:[(0,L.jsx)("div",{className:`h-1.5 bg-gradient-to-r ${a.gradient}`}),(0,L.jsxs)("div",{className:"p-8 space-y-6",children:[(0,L.jsxs)("div",{className:"text-center space-y-3",children:[(0,L.jsx)(S.div,{whileHover:{rotate:360,scale:1.1},transition:{duration:.6},className:`inline-flex items-center justify-center w-14 h-14 roun
16ded-2xl bg-gradient-to-br ${a.gradient} shadow-lg ${a.glowColor}`,children:(0,L.jsx)(o,{className:"w-7 h-7 text-white",strokeWidth:2.5})}),(0,L.jsxs)("div",{className:"space-y-1",children:[(0,L.jsx)("h3",{className:"text-2xl font-bold text-[#312740]",children:a.name}),(0,L.jsx)("p",{className:`text-sm font-bold bg-gradient-to-r ${a.gradient} bg-clip-text text-transparent`,children:a.subtitle})]}),(0,L.jsx)("p",{className:"text-xs text-[#312740]/50 font-medium",children:a.description}),(0,L.jsxs)("div",{className:"pt-2 space-y-1",children:[(0,L.jsxs)("div",{className:"flex items-baseline justify-center gap-1",children:[(0,L.jsx)("span",{className:`text-5xl font-bold bg-gradient-to-r ${a.gradient} bg-clip-text text-transparent`,children:a.specialPrice}),(0,L.jsx)("span",{className:"text-sm text-[#312740]/50 font-medium",children:"MXN"})]}),(0,L.jsx)("p",{className:"text-xs font-bold text-[#312740]/60 uppercase tracking-wide",children:"Inversi\xF3n Mensual \xB7 + IVA"})]})]}),(0,L.jsx)("div",{className:`h-px bg-gradient-to-r ${a.gradient} opacity-20`}),(0,L.jsxs)("div",{className:"space-y-2",children:[(0,L.jsx)("p",{className:"text-xs font-bold text-[#312740]/60 uppercase tracking-wider mb-3",children:"Servicios Incluidos"}),(0,L.jsx)("ul",{className:"space-y-2",children:a.services.map((n,i)=>{let s=r===0?n.oneIncluded:n.proIncluded;return(0,L.jsxs)(S.li,{initial:{opacity:0,x:-10},animate:{opacity:1,x:0},transition:{delay:.5+i*.1},className:`flex items-center justify-between gap-3 p-3 rounded-lg border transition-all duration-300 ${s?"bg-gradient-to-r from-[#EEECFF] to-white border-[#6F4C9E]/20 hover:border-[#6F4C9E]/40 hover:shadow-md":"bg-slate-50/50 border-slate-100 hover:bg-slate-100/50"}`,children:[(0,L.jsx)("div",{className:"flex items-center gap-2 flex-1",children:(0,L.jsx)("span",{className:`text-sm font-medium leading-tight ${s?"text-[#312740]":"text-[#312740]/40"}`,children:n.name})}),s?(0,L.jsx)("div",{className:"flex-shrink-0 w-6 h-6 rounded-md bg-gradient-to-br from-[#5FCFFA] to-[#6F4C9E] flex items-center justify-center shadow-md",children:(0,L.jsx)(An,{className:"w-4 h-4 text-white",strokeWidth:3})}):(0,L.jsx)("div",{className:"flex-shrink-0 w-6 h-6 rounded-md bg-gradient-to-br from-[#FD327B] to-[#FF6B9D] flex items-center justify-center shadow-md opacity-60",children:(0,L.jsx)(Ba,{className:"w-4 h-4 text-white",strokeWidth:3})})]},i)})})]}),(0,L.jsx)(S.button,{whileHover:{scale:1.02},whileTap:{scale:.98},className:`w-full py-3 rounded-xl font-bold text-sm transition-all duration-300 ${a.featured?`bg-gradient-to-r ${a.gradient} text-white shadow-lg ${a.glowColor} hover:shadow-xl`:"bg-slate-100 text-[#312740] hover:bg-slate-200"}`,children:"Solicitar Cotizaci\xF3n"})]}),(0,L.jsx)("div",{className:`absolute bottom-0 left-0 right-0 h-24 bg-gradient-to-t ${a.gradient} opacity-5 pointer-events-none`})]})]},r)})}),(0,L.jsx)(S.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.9,duration:.6},className:"max-w-5xl mx-auto",children:(0,L.jsxs)("div",{className:"relative overflow-hidden rounded-2xl bg-gradient-to-br from-slate-50 via-white to-slate-50 border-2 border-slate-200 shadow-xl",children:[(0,L.jsx)("div",{className:"absolute top-0 right-0 w-64 h-64 bg-gradient-to-br from-[#6F4C9E]/5 to-transparent rounded-full blur-3xl"}),(0,L.jsx)("div",{className:"absolute bottom-0 left-0 w-64 h-64 bg-gradient-to-tr from-[#FD327B]/5 to-transparent rounded-full blur-3xl"}),(0,L.jsxs)("div",{className:"relative p-8 space-y-6",children:[(0,L.jsxs)("div",{className:"relative overflow-hidden p-6 rounded-xl bg-gradient-to-br from-[#E8F7FF] to-[#EEECFF] border-2 border-[#5FCFFA]/40",children:[(0,L.jsx)("div",{className:"absolute top-0 right-0 w-32 h-32 bg-[#5FCFFA]/10 rounded-full blur-2xl"}),(0,L.jsxs)("div",{className:"relative flex items-start gap-4",children:[(0,L.jsx)("div",{className:"flex-shrink-0 w-10 h-10 rounded-xl bg-gradient-to-br from-[#5FCFFA] to-[#6F4C9E] flex items-center justify-center shadow-lg shadow-[#5FCFFA]/20",children:(0,L.jsx)(ke,{className:"w-5 h-5 text-white",strokeWidth:3})}),(0,L.jsxs)("div",{className:"flex-1",children:[(0,L.jsx)("p",{className:"font-bold text-[#312740] text-base mb-2",children:"\u{1F4E2} Nota sobre Inversi\xF3n Publicitaria"}),(0,L.jsxs)("p",{className:"text-sm text-[#312740]/80 leading-relaxed",children:["El ",(0,L.jsx)("span",{className:"font-bold",children:"Presupuesto Publicitario Mensual"})," es de"," ",(0,L.jsx)("span",{className:"font-bold bg-gradient-to-r from-[#5FCFFA] to-[#6F4C9E] bg-clip-text text-transparent",children:"$6,000 MXN"}),", pagado"," ",(0,L.jsx)("span",{className:"font-bold",children:"directamente a Meta"})," y es adicional a la inversi\xF3n mensual de agencia."]})]})]})]}),(0,L.jsxs)("div",{className:"grid md:grid-cols-3 gap-6",children:[(0,L.jsxs)("div",{className:"flex items-start gap-3",children:[(0,L.jsx)("div",{className:"flex-shrink-0 w-8 h-8 rounded-lg bg-gradient-to-br from-[#6F4C9E] to-[#8B5CF6] flex items-center justify-center shadow-lg shadow-[#6F4
16C9E]/20",children:(0,L.jsx)(An,{className:"w-5 h-5 text-white",strokeWidth:3})}),(0,L.jsxs)("div",{children:[(0,L.jsx)("p",{className:"font-bold text-[#312740] text-base",children:"Precio especial mensual"}),(0,L.jsx)("p",{className:"text-[#312740]/70 text-sm mt-1",children:"$6,500 \u2013 $8,500 MXN + IVA"})]})]}),(0,L.jsxs)("div",{className:"flex items-start gap-3",children:[(0,L.jsx)("div",{className:"flex-shrink-0 w-8 h-8 rounded-lg bg-gradient-to-br from-[#5FCFFA] to-[#6F4C9E] flex items-center justify-center shadow-lg shadow-[#5FCFFA]/20",children:(0,L.jsx)(ke,{className:"w-5 h-5 text-white",strokeWidth:3})}),(0,L.jsxs)("div",{children:[(0,L.jsx)("p",{className:"font-bold text-[#312740] text-base",children:"Inversi\xF3n publicitaria"}),(0,L.jsx)("p",{className:"text-[#312740]/70 text-sm mt-1",children:"Desde $6,000 MXN/mes (Meta Ads)"})]})]})]}),(0,L.jsx)("div",{className:"my-8 border-t border-slate-200"}),(0,L.jsxs)("div",{className:"space-y-6",children:[(0,L.jsxs)("div",{children:[(0,L.jsxs)("div",{className:"inline-flex items-center gap-2 px-4 py-2 rounded-full bg-gradient-to-r from-[#6F4C9E]/10 to-[#FD327B]/10 border border-[#6F4C9E]/30 mb-4",children:[(0,L.jsx)(ke,{className:"w-4 h-4 text-[#6F4C9E]"}),(0,L.jsx)("span",{className:"text-sm font-bold text-[#312740]",children:"Condiciones de Contrataci\xF3n"})]}),(0,L.jsx)("h3",{className:"text-xl font-bold text-[#312740]",children:"Detalles del Servicio"})]}),(0,L.jsxs)("div",{className:"grid md:grid-cols-2 gap-4",children:[(0,L.jsxs)("div",{className:"flex items-start gap-3 p-4 rounded-xl bg-gradient-to-br from-slate-50 to-white border border-slate-200/60 hover:border-[#6F4C9E]/30 hover:shadow-md transition-all duration-300",children:[(0,L.jsx)("div",{className:"flex-shrink-0 w-9 h-9 rounded-lg bg-gradient-to-br from-[#6F4C9E] to-[#8B5CF6] flex items-center justify-center shadow-lg shadow-[#6F4C9E]/20",children:(0,L.jsx)(ho,{className:"w-4 h-4 text-white",strokeWidth:2.5})}),(0,L.jsxs)("div",{children:[(0,L.jsx)("p",{className:"font-bold text-[#312740] text-sm mb-0.5",children:"Duraci\xF3n"}),(0,L.jsx)("p",{className:"text-[#312740]/70 text-sm",children:"Continua"})]})]}),(0,L.jsxs)("div",{className:"flex items-start gap-3 p-4 rounded-xl bg-gradient-to-br from-slate-50 to-white border border-slate-200/60 hover:border-[#5FCFFA]/30 hover:shadow-md transition-all duration-300",children:[(0,L.jsx)("div",{className:"flex-shrink-0 w-9 h-9 rounded-lg bg-gradient-to-br from-[#5FCFFA] to-[#6F4C9E] flex items-center justify-center shadow-lg shadow-[#5FCFFA]/20",children:(0,L.jsx)(pa,{className:"w-4 h-4 text-white",strokeWidth:2.5})}),(0,L.jsxs)("div",{children:[(0,L.jsx)("p",{className:"font-bold text-[#312740] text-sm mb-0.5",children:"Modalidad"}),(0,L.jsx)("p",{className:"text-[#312740]/70 text-sm",children:"Servicio mensual"})]})]}),(0,L.jsxs)("div",{className:"flex items-start gap-3 p-4 rounded-xl bg-gradient-to-br from-slate-50 to-white border border-slate-200/60 hover:border-[#FD327B]/30 hover:shadow-md transition-all duration-300",children:[(0,L.jsx)("div",{className:"flex-shrink-0 w-9 h-9 rounded-lg bg-gradient-to-br from-[#FD327B] to-[#FF6B9D] flex items-center justify-center shadow-lg shadow-[#FD327B]/20",children:(0,L.jsx)(mt,{className:"w-4 h-4 text-white",strokeWidth:2.5})}),(0,L.jsxs)("div",{children:[(0,L.jsx)("p",{className:"font-bold text-[#312740] text-sm mb-0.5",children:"Tiempo de contrataci\xF3n m\xEDnima"}),(0,L.jsx)("p",{className:"text-[#312740]/70 text-sm",children:"6 meses"})]})]}),(0,L.jsxs)("div",{className:"flex items-start gap-3 p-4 rounded-xl bg-gradient-to-br from-slate-50 to-white border border-slate-200/60 hover:border-[#FF6B9D]/30 hover:shadow-md transition-all duration-300",children:[(0,L.jsx)("div",{className:"flex-shrink-0 w-9 h-9 rounded-lg bg-gradient-to-br from-[#FF6B9D] to-[#FD327B] flex items-center justify-center shadow-lg shadow-[#FF6B9D]/20",children:(0,L.jsx)(ke,{className:"w-4 h-4 text-white",strokeWidth:2.5})}),(0,L.jsxs)("div",{children:[(0,L.jsx)("p",{className:"font-bold text-[#312740] text-sm mb-0.5",children:"Precios"}),(0,L.jsx)("p",{className:"text-[#312740]/70 text-sm",children:"No incluyen IVA"})]})]})]}),(0,L.jsxs)("div",{className:"space-y-2.5",children:[(0,L.jsx)("div",{className:"p-3.5 rounded-xl bg-gradient-to-r from-[#E8F7FF] to-[#EEECFF] border border-[#5FCFFA]/30",children:(0,L.jsxs)("p",{className:"text-sm text-[#312740] flex items-start gap-2",children:[(0,L.jsx)("span",{className:"text-base flex-shrink-0",children:"\u2713"}),(0,L.jsxs)("span",{children:[(0,L.jsx)("span",{className:"font-bold",children:"Eval\xFAa tus servicios al finalizar:"})," Al concluir el periodo, podr\xE1s revisar y ajustar los servicios contratados seg\xFAn tus necesidades."]})]})}),(0,L.jsx)("div",{className:"p-3.5 rounded-xl bg-gradient-to-r from-[#FFF0F7] to-[#EEECFF] border border-[#FD327B]/20",children:(0,L.jsxs)("p",{className:"text-sm text-[#312740] flex items-start gap-2",children:[(0,L.jsx)("span",{className:"text-base flex-shrink-0",children:"\u2139\uFE0F"}),(0,L.jsxs)("span",{children:[(0,L.jsx)("span",{className:"font-bold",children:"No incluye costos de herramientas adicionales"})," (Shopify, Meta Ads, plataformas de terceros, etc.)"]})]})})]})]})]})]})})]})}var Re=N(ae()),qr={initial:{opacity:0,y:20}
16,animate:{opacity:1,y:0},exit:{opacity:0,y:-20}};function F1({activeSection:e}){return(0,Re.jsx)("div",{className:"max-w-6xl mx-auto p-8",children:(0,Re.jsxs)(na,{mode:"wait",children:[e==="resumen"&&(0,Re.jsx)(S.div,{variants:qr,initial:"initial",animate:"animate",exit:"exit",transition:{duration:.3},children:(0,Re.jsx)(v1,{})},"resumen"),e==="reto"&&(0,Re.jsx)(S.div,{variants:qr,initial:"initial",animate:"animate",exit:"exit",transition:{duration:.3},children:(0,Re.jsx)(w1,{})},"reto"),e==="sistema"&&(0,Re.jsx)(S.div,{variants:qr,initial:"initial",animate:"animate",exit:"exit",transition:{duration:.3},children:(0,Re.jsx)(b1,{})},"sistema"),e==="elementos"&&(0,Re.jsx)(S.div,{variants:qr,initial:"initial",animate:"animate",exit:"exit",transition:{duration:.3},children:(0,Re.jsx)(C1,{})},"elementos"),e==="comparativa"&&(0,Re.jsx)(S.div,{variants:qr,initial:"initial",animate:"animate",exit:"exit",transition:{duration:.3},children:(0,Re.jsx)(L1,{})},"comparativa"),e==="ventajas"&&(0,Re.jsx)(S.div,{variants:qr,initial:"initial",animate:"animate",exit:"exit",transition:{duration:.3},children:(0,Re.jsx)(I1,{})},"ventajas"),e==="timeline"&&(0,Re.jsx)(S.div,{variants:qr,initial:"initial",animate:"animate",exit:"exit",transition:{duration:.3},children:(0,Re.jsx)(k1,{})},"timeline"),e==="inversion"&&(0,Re.jsx)(S.div,{variants:qr,initial:"initial",animate:"animate",exit:"exit",transition:{duration:.3},children:(0,Re.jsx)(S1,{})},"inversion")]})})}var bt=N(Q());function dc(e){return e==null||e.trim().length===0}async function pl(e,t){if(dc(e))throw new Error("Agent ID cannot be empty");let r=`${t?.baseUrl??""}/api/taskade/agents/${encodeURIComponent(e)}/public-conversations`,o=await fetch(r,{method:"POST",headers:{"Content-Type":"application/json"}}),n=o.headers.get("content-type")||"",i=await o.text().catch(()=>"");if(!o.ok)throw new Error(`Failed to create conversation: ${o.status} ${i||"Unknown error"}`);if(!n.includes("application/json"))throw new Error(`Invalid response format: expected JSON, got ${n}. Response: ${i.substring(0,100)}`);try{return JSON.parse(i)}catch(s){throw new Error(`Failed to parse JSON response: ${s instanceof Error?s.message:"Unknown error"}. Response: ${i.substring(0,200)}`)}}async function Xm(e,t,a,r){if(dc(e))throw new Error("Agent ID cannot be empty");if(dc(t))throw new Error("Conversation ID cannot be empty");let o=a.trim();if(dc(o))throw new Error("Message text cannot be empty");let i=`${r?.baseUrl??""}/api/taskade/agents/${encodeURIComponent(e)}/public-conversations/${encodeURIComponent(t)}/messages`,s=await fetch(i,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({text:o})}),l=s.headers.get("content-type")||"",d=await s.text().catch(()=>"");if(!s.ok){let u=`Failed to send message: ${s.status}`;try{let c=JSON.parse(d);c.message&&(u=c.message)}catch{d&&(u=`${u}: ${d.substring(0,100)}`)}throw new Error(u)}if(!l.includes("application/json"))throw new Error(`Invalid response format: expected JSON, got ${l}. Response: ${d.substring(0,100)}`);try{return JSON.parse(d)}catch(u){throw new Error(`Failed to parse JSON response: ${u instanceof Error?u.message:"Unknown error"}. Response: ${d.substring(0,200)}`)}}var j={};ab(j,{BRAND:()=>NS,DIRTY:()=>Ro,EMPTY_PATH:()=>fS,INVALID:()=>U,NEVER:()=>vF,OK:()=>ot,ParseStatus:()=>Xe,Schema:()=>K,ZodAny:()=>Wr,ZodArray:()=>er,ZodBigInt:()=>_o,ZodBoolean:()=>Oo,ZodBranded:()=>hl,ZodCatch:()=>Ko,ZodDate:()=>Vo,ZodDefault:()=>Xo,ZodDiscriminatedUnion:()=>fc,ZodEffects:()=>Ht,ZodEnum:()=>Go,ZodError:()=>wt,ZodFirstPartyTypeKind:()=>q,ZodFunction:()=>mc,ZodIntersection:()=>jo,ZodIssueCode:()=>P,ZodLazy:()=>Ho,ZodLiteral:()=>Wo,ZodMap:()=>mi,ZodNaN:()=>gi,ZodNativeEnum:()=>$o,ZodNever:()=>ia,ZodNull:()=>Uo,ZodNullable:()=>Ca,ZodNumber:()=>Bo,ZodObject:()=>yt,ZodOptional:()=>qt,ZodParsedType:()=>D,ZodPipeline:()=>gl,ZodPromise:()=>Gr,ZodReadonly:()=>Yo,ZodRecord:()=>pc,ZodSchema:()=>K,ZodSet:()=>hi,ZodString:()=>Hr,ZodSymbol:()=>fi,ZodTransformer:()=>Ht,ZodTuple:()=>ba,ZodType:()=>K,ZodUndefined:()=>zo,ZodUnion:()=>qo,ZodUnknown:()=>Ja,ZodVoid:()=>pi,addIssueToContext:()=>M,any:()=>jS,array:()=>$S,bigint:()=>OS,boolean:()=>O1,coerce:()=>xF,custom:()=>R1,date:()=>VS,datetimeRegex:()=>D1,defaultErrorMap:()=>Za,discriminatedUnion:()=>ZS,effect:()=>dF,enum:()=>iF,function:()=>rF,getErrorMap:()=>di,getParsedType:()=>ya,instanceof:()=>BS,intersection:()=>QS,isAborted:()=>uc,isAsync:()=>ui,isDirty:()=>cc,isValid:()=>jr,late:()=>RS,lazy:()=>oF,literal:()=>nF,makeIssue:()=>ml,map:()=>tF,nan:()=>_S,nativeEnum:()=>sF,never:()=>WS,null:()=>qS,nullable:()=>cF,number:()=>_1,object:()=>XS,objectUtil:()=>Km,oboolean:()=>gF,onumber:()=>hF,optional:()=>uF,ostring:()=>mF,pipeline:()=>pF,preprocess:()=>fF,promise:()=>lF,quotelessJson:()=>dS,record:()=>eF,set:()=>aF,setErrorMap:()=>cS,strictObject:()=>KS,string:()=>B1,symbol:()=>zS,transformer:()=>dF,tuple:()=>JS,undefined:()=>US,union:()=>YS,unknown:()=>HS,util:()=>ee,void:()=>GS});var ee;(function(e){e.assertEqual=o=>{};function t(o){}e.assertIs=t;function a(o){throw new Error}e.assertNever=a,e.arrayToEnum=o=>{let n={};for(let i of o)n[i]=i;return n},e.getValidEnumValues=o=>{let n=e.objectKeys(o).filter(s=>typeof o[o[s]]!="number"),i={};for(let s of n)i[s]=o[s];return e.objectValues(i)},e.objectValues=o=>e.objectKeys(o).map(function(n){return o[n]}),e.objectKeys=typeof Object.keys=="function"?o=>Object.keys(o):o=>{let n=[];for(let i in o)Object.prototype.hasOwnProperty.call(o,i)&&n.push(i);return n},e.find=(o,n)=>{for(let i of o)if(n(i))return i},e.isInteger=typeof Number.isInteger=="function"?o=>Number.isInteger(o):o=>typeof o=="number"&&Number.isFinite(o)&&Math.floor(o)===o;function r(o,n=" | "){return o.map(i=>typeof i=="string"?`'${i}'`:i).join(n)}e.joinValues=r,e.jsonStringifyReplacer=(o,n)=>typeof n=="bigint"?n.toString():n})(ee||(ee={}));var Km;(function(e){e.mergeShapes=(t,a)=>({...t,...a})})(Km||(Km={}));var D=ee.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),ya=e=>{switch(typeof e){case"undefined":return D.undefined;case"string":return D.string;case"number":return Number.isNaN(e)?D.nan:D.number;case"boolean":return D.boolean;case"function":return D.function;case"bigint":return D.bigint;case"symbol":return D.symbol;case"object":return Array.isArray(e)?D.array:e===null?D.null:e.then&&typeof e.then=="function"&&e.catch&&typeof e.catch=="function"?D.promise:typeof Map<"u"&&e instanceof Map?D.map:typeof Set<"u"&&e instanceof Set?D.set:typeof Date<"u"&&e instanceof Date?D.date:D.object;default:return D.unknown}};
vendor: 56,830 bytes, line 16
16var P=ee.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]),dS=e=>JSON.stringify(e,null,2).replace(/"([^"]+)":/g,"$1:"),wt=class e extends Error{get errors(){return this.issues}constructor(t){super(),this.issues=[],this.addIssue=r=>{this.issues=[...this.issues,r]},this.addIssues=(r=[])=>{this.issues=[...this.issues,...r]};let a=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,a):this.__proto__=a,this.name="ZodError",this.issues=t}format(t){let a=t||function(n){return n.message},r={_errors:[]},o=n=>{for(let i of n.issues)if(i.code==="invalid_union")i.unionErrors.map(o);else if(i.code==="invalid_return_type")o(i.returnTypeError);else if(i.code==="invalid_arguments")o(i.argumentsError);else if(i.path.length===0)r._errors.push(a(i));else{let s=r,l=0;for(;l<i.path.length;){let d=i.path[l];l===i.path.length-1?(s[d]=s[d]||{_errors:[]},s[d]._errors.push(a(i))):s[d]=s[d]||{_errors:[]},s=s[d],l++}}};return o(this),r}static assert(t){if(!(t instanceof e))throw new Error(`Not a ZodError: ${t}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,ee.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(t=a=>a.message){let a={},r=[];for(let o of this.issues)if(o.path.length>0){let n=o.path[0];a[n]=a[n]||[],a[n].push(t(o))}else r.push(t(o));return{formErrors:r,fieldErrors:a}}get formErrors(){return this.flatten()}};wt.create=e=>new wt(e);var uS=(e,t)=>{let a;switch(e.code){case P.invalid_type:e.received===D.undefined?a="Required":a=`Expected ${e.expected}, received ${e.received}`;break;case P.invalid_literal:a=`Invalid literal value, expected ${JSON.stringify(e.expected,ee.jsonStringifyReplacer)}`;break;case P.unrecognized_keys:a=`Unrecognized key(s) in object: ${ee.joinValues(e.keys,", ")}`;break;case P.invalid_union:a="Invalid input";break;case P.invalid_union_discriminator:a=`Invalid discriminator value. Expected ${ee.joinValues(e.options)}`;break;case P.invalid_enum_value:a=`Invalid enum value. Expected ${ee.joinValues(e.options)}, received '${e.received}'`;break;case P.invalid_arguments:a="Invalid function arguments";break;case P.invalid_return_type:a="Invalid function return type";break;case P.invalid_date:a="Invalid date";break;case P.invalid_string:typeof e.validation=="object"?"includes"in e.validation?(a=`Invalid input: must include "${e.validation.includes}"`,typeof e.validation.position=="number"&&(a=`${a} at one or more positions greater than or equal to ${e.validation.position}`)):"startsWith"in e.validation?a=`Invalid input: must start with "${e.validation.startsWith}"`:"endsWith"in e.validation?a=`Invalid input: must end with "${e.validation.endsWith}"`:ee.assertNever(e.validation):e.validation!=="regex"?a=`Invalid ${e.validation}`:a="Invalid";break;case P.too_small:e.type==="array"?a=`Array must contain ${e.exact?"exactly":e.inclusive?"at least":"more than"} ${e.minimum} element(s)`:e.type==="string"?a=`String must contain ${e.exact?"exactly":e.inclusive?"at least":"over"} ${e.minimum} character(s)`:e.type==="number"?a=`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:e.type==="bigint"?a=`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:e.type==="date"?a=`Date must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(e.minimum))}`:a="Invalid input";break;case P.too_big:e.type==="array"?a=`Array must contain ${e.exact?"exactly":e.inclusive?"at most":"less than"} ${e.maximum} element(s)`:e.type==="string"?a=`String must contain ${e.exact?"exactly":e.inclusive?"at most":"under"} ${e.maximum} character(s)`:e.type==="number"?a=`Number must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="bigint"?a=`BigInt must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="date"?a=`Date must be ${e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(e.maximum))}`:a="Invalid input";break;case P.custom:a="Invalid input";break;case P.invalid_intersection_types:a="Intersection results could not be merged";break;case P.not_multiple_of:a=`Number must be a multiple of ${e.multipleOf}`;break;case P.not_finite:a="Number must be finite";break;default:a=t.defaultError,ee.assertNever(e)}return{message:a}},Za=uS;var P1=Za;function cS(e){P1=e}function di(){return P1}var ml=e=>{let{data:t,path:a,errorMaps:r,issueData:o}=e,n=[...a,...o.path||[]],i={...o,path:n};if(o.message!==void 0)return{...o,path:n,message:o.message};let s="",l=r.filter(d=>!!d).slice().reverse();for(let d of l)s=d(i,{data:t,defaultError:s}).message;return{...o,path:n,message:s}},fS=[];function M(e,t){let a=di(),r=ml({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,a,a===Za?void 0:Za].filter(o=>!!o)});e.common.issues.push(r)}var Xe=class e{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(t,a){let r=[];for(let o of a){if(o.status==="aborted")return U;o.status==="dirty"&&t.dirty(),r.push(o.value)}return{status:t.value,value:r}}static async mergeObjectAsync(t,a){let r=[];for(let o of a){let n=await o.key,i=await o.value;r.push({key:n,value:i})}return e.mergeObjectSync(t,r)}static mergeObjectSync(t,a){let r={};for(let o of a){let{key:n,value:i}=o;if(n.status==="aborted"||i.status==="aborted")return U;n.status==="dirty"&&t.dirty(),i.status==="dirty"&&t.dirty(),n.value!=="__proto__"&&(typeof i.value<"u"||o.alwaysSet)&&(r[n.value]=i.value)}return{status:t.value,value:r}}},U=Object.freeze({status:"aborted"}),Ro=e=>({status:"dirty",value:e}),ot=e=>({status:"valid",value:e}),uc=e=>e.status==="aborted",cc=e=>e.status==="dirty",jr=e=>e.status==="valid",ui=e=>typeof Promise<"u"&&e instanceof Promise;var B;(function(e){e.errToObj=t=>typeof t=="string"?{message:t}:t||{},e.toString=t=>typeof t=="string"?t:t?.message})(B||(B={}));var jt=class{constructor(t,a,r,o){this._cachedPath=[],this.parent=t,this.data=a,this._path=r,this._key=o}get path(){return this._cachedPath.length||(Array.isArray(this._key)?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}},A1=(e,t)=>{if(jr(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;let a=new wt(e.common.issues);return this._error=a,this._error}}};function G(e){if(!e)return{};let{errorMap:t,invalid_type_error:a,required_error:r,description:o}=e;if(t&&(a||r))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return t?{errorMap:t,description:o}:{errorMap:(i,s)=>{let{message:l}=e;return i.code==="invalid_enum_value"?{message:l??s.defaultError}:typeof s.data>"u"?{message:l??r??s.defaultError}:i.code!=="invalid_type"?{message:s.defaultError}:{message:l??a??s.defaultError}},description:o}}var K=class{get description(){return this._def.description}_getType(t){return ya(t.data)}_getOrReturnCtx(t,a){return a||{common:t.parent.common,data:t.data,parsedType:ya(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}_processInputParams(t){return{status:new Xe,ctx:{common:t.parent.common,data:t.data,parsedType:ya(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}}_parseSync(t){let a=this._parse(t);if(ui(a))throw new Error("Synchronous parse encountered promise.");return a}_parseAsync(t){let a=this._parse(t);return Promise.resolve(a)}parse(t,a){let r=this.safeParse(t,a);if(r.success)return r.data;throw r.error}safeParse(t,a){let r={common:{issues:[],async:a?.async??!1,contextualErrorMap:a?.errorMap},path:a?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:ya(t)},o=this._parseSync({data:t,path:r.path,parent:r});return A1(r,o)}"~validate"(t){let a={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:ya(t)};if(!this["~standard"].async)try{let r=this._parseSync({data:t,path:[],parent:a});return jr(r)?{value:r.value}:{issues:a.common.issues}}catch(r){r?.message?.toLowerCase()?.includes("encountered")&&(this["~standard"].async=!0),a.common={issues:[],async:!0}}return this._parseAsync({data:t,path:[],parent:a}).then(r=>jr(r)?{value:r.value}:{issues:a.common.issues})}async parseAsync(t,a){let r=await this.safeParseAsync(t,a);if(r.success)return r.data;throw r.error}async safeParseAsync(t,a){let r={common:{issues:[],contextualErrorMap:a?.errorMap,async:!0},path:a?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:ya(t)},o=this._parse({data:t,path:r.path,parent:r}),n=await(ui(o)?o:Promise.resolve(o));return A1(r,n)}refine(t,a){let r=o=>typeof a=="string"||typeof a>"u"?{message:a}:typeof a=="function"?a(o):a;return this._refinement((o,n)=>{let i=t(o),s=()=>n.addIssue({code:P.custom,...r(o)});return typeof Promise<"u"&&i instanceof Promise?i.then(l=>l?!0:(s(),!1)):i?!0:(s(),!1)})}refinement(t,a){return this._refinement((r,o)=>t(r)?!0:(o.addIssue(typeof a=="function"?a(r,o):a),!1))}_refinement(t){return new Ht({schema:this,typeName:q.ZodEffects,effect:{type:"refinement",refinement:t}})}superRefine(t){return this._refinement(t)}constructor(t){this.spa=this.safeParseAsync,this._def=t,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this["~standard"]={version:1,vendor:"zod",validate:a=>this["~validate"](a)}}optional(){return qt.create(this,this._def)}nullable(){return Ca.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return er.create(this)}promise(){return Gr.create(this,this._def)}or(t){return qo.create([this,t],this._def)}and(t){return jo.create(this,t,this._def)}transform(t){return new Ht({...G(this._def),schema:this,typeName:q.ZodEffects,effect:{type:"transform",transform:t}})}default(t){let a=typeof t=="function"?t:()=>t;return new Xo({...G(this._def),innerType:this,defaultValue:a,typeName:q.ZodDefault})}brand(){return new hl({typeName:q.ZodBranded,type:this,...G(this._def)})}catch(t){let a=typeof t=="function"?t:()=>t;return new Ko({...G(this._def),innerType:this,catchValue:a,typeName:q.ZodCatch})}describe(t){let a=this.constructor;return new a({...this._def,description:t})}pipe(t){return gl.create(this,t)}readonly(){return Yo.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}},pS=/^c[^\s-]{8,}$/i,mS=/^[0-9a-z]+$/,hS=/^[0-9A-HJKMNP-TV-Z]{26}$/i,gS=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,xS=/^[a-z0-9_-]{21}$/i,vS=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,wS=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,yS=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,bS="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$",Ym,CS=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,LS=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,IS=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/,kS=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,SS=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,FS=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,E1="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",PS=new RegExp(`^${E1}$`);function M1(e){let t="[0-5]\\d";e.precision?t=`${t}\\.\\d{${e.precision}}`:e.precision==null&&(t=`${t}(\\.\\d+)?`);let a=e.precision?"+":"?";return`([01]\\d|2[0-3]):[0-5]\\d(:${t})${a}`}function AS(e){return new RegExp(`^${M1(e)}$`)}function D1(e){let t=`${E1}T${M1(e)}`,a=[];return a.push(e.local?"Z?":"Z"),e.offset&&a.push("([+-]\\d{2}:?\\d{2})"),t=`${t}(${a.join("|")})`,new RegExp(`^${t}$`)}function TS(e,t){return!!((t==="v4"||!t)&&CS.test(e)||(t==="v6"||!t)&&IS.test(e))}function ES(e,t){if(!vS.test(e))return!1;try{let[a]=e.split(".");if(!a)return!1;let r=a.replace(/-/g,"+").replace(/_/g,"/").padEnd(a.length+(4-a.length%4)%4,"="),o=JSON.parse(atob(r));return!(typeof o!="object"||o===null||"typ"in o&&o?.typ!=="JWT"||!o.alg||t&&o.alg!==t)}catch{return!1}}function MS(e,t){return!!((t==="v4"||!t)&&LS.test(e)||(t==="v6"||!t)&&kS.test(e))}var Hr=class e extends K{_parse(t){if(this._def.coerce&&(t.data=String(t.data)),this._getType(t)!==D.string){let n=this._getOrReturnCtx(t);return M(n,{code:P.invalid_type,expected:D.string,received:n.parsedType}),U}let r=new Xe,o;for(let n of this._def.checks)if(n.kind==="min")t.data.length<n.value&&(o=this._getOrReturnCtx(t,o),M(o,{code:P.too_small,minimum:n.value,type:"string",inclusive:!0,exact:!1,message:n.message}),r.dirty());else if(n.kind==="max")t.data.length>n.value&&(o=this._getOrReturnCtx(t,o),M(o,{code:P.too_big,maximum:n.value,type:"string",inclusive:!0,exact:!1,message:n.message}),r.dirty());else if(n.kind==="length"){let i=t.data.length>n.value,s=t.data.length<n.value;(i||s)&&(o=this._getOrReturnCtx(t,o),i?M(o,{code:P.too_big,maximum:n.value,type:"string",inclusive:!0,exact:!0,message:n.message}):s&&M(o,{code:P.too_small,minimum:n.value,type:"string",inclusive:!0,exact:!0,message:n.message}),r.dirty())}else if(n.kind==="email")yS.test(t.data)||(o=this._getOrReturnCtx(t,o),M(o,{validation:"email",code:P.invalid_string,message:n.message}),r.dirty());else if(n.kind==="emoji")Ym||(Ym=new RegExp(bS,"u")),Ym.test(t.data)||(o=this._getOrReturnCtx(t,o),M(o,{validation:"emoji",code:P.invalid_string,message:n.message}),r.dirty());else if(n.kind==="uuid")gS.test(t.data)||(o=this._getOrReturnCtx(t,o),M(o,{validation:"uuid",code:P.invalid_string,message:n.message}),r.dirty());else if(n.kind==="nanoid")xS.test(t.data)||(o=this._getOrReturnCtx(t,o),M(o,{validation:"nanoid",code:P.invalid_string,message:n.message}),r.dirty());else if(n.kind==="cuid")pS.test(t.data)||(o=this._getOrReturnCtx(t,o),M(o,{validation:"cuid",code:P.invalid_string,message:n.message}),r.dirty());else if(n.kind==="cuid2")mS.test(t.data)||(o=this._getOrReturnCtx(t,o),M(o,{validation:"cuid2",code:P.invalid_string,message:n.message}),r.dirty());else if(n.kind==="ulid")hS.test(t.data)||(o=this._getOrReturnCtx(t,o),M(o,{validation:"ulid",code:P.invalid_string,message:n.message}),r.dirty());else if(n.kind==="url")try{new URL(t.data)}catch{o=this._getOrReturnCtx(t,o),M(o,{validation:"url",code:P.invalid_string,message:n.message}),r.dirty()}else n.kind==="regex"?(n.regex.lastIndex=0,n.regex.test(t.data)||(o=this._getOrReturnCtx(t,o),M(o,{validation:"regex",code:P.invalid_string,message:n.message}),r.dirty())):n.kind==="trim"?t.data=t.data.trim():n.kind==="includes"?t.data.includes(n.value,n.position)||(o=this._getOrReturnCtx(t,o),M(o,{code:P.invalid_string,validation:{includes:n.value,position:n.position},message:n.message}),r.dirty()):n.kind==="toLowerCase"?t.data=t.data.toLowerCase():n.kind==="toUpperCase"?t.data=t.data.toUpperCase():n.kind==="startsWith"?t.data.startsWith(n.value)||(o=this._getOrReturnCtx(t,o),M(o,{code:P.invalid_string,validation:{startsWith:n.value},message:n.message}),r.dirty()):n.kind==="endsWith"?t.data.endsWith(n.value)||(o=this._getOrReturnCtx(t,o),M(o,{code:P.invalid_string,validation:{endsWith:n.value},message:n.message}),r.dirty()):n.kind==="datetime"?D1(n).test(t.data)||(o=this._getOrReturnCtx(t,o),M(o,{code:P.invalid_string,validation:"datetime",message:n.message}),r.dirty()):n.kind==="date"?PS.test(t.data)||(o=this._getOrReturnCtx(t,o),M(o,{code:P.invalid_string,validation:"date",message:n.message}),r.dirty()):n.kind==="time"?AS(n).test(t.data)||(o=this._getOrReturnCtx(t,o),M(o,{code:P.invalid_string,validation:"time",message:n.message}),r.dirty()):n.kind==="duration"?wS.test(t.data)||(o=this._getOrReturnCtx(t,o),M(o,{validation:"duration",code:P.invalid_string,message:n.message}),r.dirty()):n.kind==="ip"?TS(t.data,n.version)||(o=this._getOrReturnCtx(t,o),M(o,{validation:"ip",code:P.invalid_string,message:n.message}),r.dirty()):n.kind==="jwt"?ES(t.data,n.alg)||(o=this._getOrReturnCtx(t,o),M(o,{validation:"jwt",code:P.invalid_string,message:n.message}),r.dirty()):n.kind==="cidr"?MS(t.data,n.version)||(o=this._getOrReturnCtx(t,o),M(o,{validation:"cidr",code:P.invalid_string,message:n.message}),r.dirty()):n.kind==="base64"?SS.test(t.data)||(o=this._getOrReturnCtx(t,o),M(o,{validation:"base64",code:P.invalid_string,message:n.message}),r.dirty()):n.kind==="base64url"?FS.test(t.data)||(o=this._getOrReturnCtx(t,o),M(o,{validation:"base64url",code:P.invalid_string,message:n.message}),r.dirty()):ee.assertNever(n);return{status:r.value,value:t.data}}_regex(t,a,r){return this.refinement(o=>t.test(o),{validation:a,code:P.invalid_string,...B.errToObj(r)})}_addCheck(t){return new e({...this._def,checks:[...this._def.checks,t]})}email(t){return this._addCheck({kind:"email",...B.errToObj(t)})}url(t){return this._addCheck({kind:"url",...B.errToObj(t)})}emoji(t){return this._addCheck({kind:"emoji",...B.errToObj(t)})}uuid(t){return this._addCheck({kind:"uuid",...B.errToObj(t)})}nanoid(t){return this._addCheck({kind:"nanoid",...B.errToObj(t)})}cuid(t){return this._addCheck({kind:"cuid",...B.errToObj(t)})}cuid2(t){return this._addCheck({kind:"cuid2",...B.errToObj(t)})}ulid(t){return this._addCheck({kind:"ulid",...B.errToObj(t)})}base64(t){return this._addCheck({kind:"base64",...B.errToObj(t)})}base64url(t){return this._addCheck({kind:"base64url",...B.errToObj(t)})}jwt(t){return this._addCheck({kind:"jwt",...B.errToObj(t)})}ip(t){return this._addCheck({kind:"ip",...B.errToObj(t)})}cidr(t){return this._addCheck({kind:"cidr",...B.errToObj(t)})}datetime(t){return typeof t=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:t}):this._addCheck({kind:"datetime",precision:typeof t?.precision>"u"?null:t?.precision,offset:t?.offset??!1,local:t?.local??!1,...B.errToObj(t?.message)})}date(t){return this._addCheck({kind:"date",message:t})}time(t){return typeof t=="string"?this._addCheck({kind:"time",precision:null,message:t}):this._addCheck({kind:"time",precision:typeof t?.precision>"u"?null:t?.precision,...B.errToObj(t?.message)})}duration(t){return this._addCheck({kind:"duration",...B.errToObj(t)})}regex(t,a){return this._addCheck({kind:"regex",regex:t,...B.errToObj(a)})}includes(t,a){return this._addCheck({kind:"includes",value:t,position:a?.position,...B.errToObj(a?.message)})}startsWith(t,a){return this._addCheck({kind:"startsWith",value:t,...B.errToObj(a)})}endsWith(t,a){return this._addCheck({kind:"endsWith",value:t,...B.errToObj(a)})}min(t,a){return this._addCheck({kind:"min",value:t,...B.errToObj(a)})}max(t,a){return this._addCheck({kind:"max",value:t,...B.errToObj(a)})}length(t,a){return this._addCheck({kind:"length",value:t,...B.errToObj(a)})}nonempty(t){return this.min(1,B.errToObj(t))}trim(){return new e({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new e({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new e({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(t=>t.kind==="datetime")}get isDate(){return!!this._def.checks.find(t=>t.kind==="date")}get isTime(){return!!this._def.checks.find(t=>t.kind==="time")}get isDuration(){return!!this._def.checks.find(t=>t.kind==="duration")}get isEmail(){return!!this._def.checks.find(t=>t.kind==="email")}get isURL(){return!!this._def.checks.find(t=>t.kind==="url")}get isEmoji(){return!!this._def.checks.find(t=>t.kind==="emoji")}get isUUID(){return!!this._def.checks.find(t=>t.kind==="uuid")}get isNANOID(){return!!this._def.checks.find(t=>t.kind==="nanoid")}get isCUID(){return!!this._def.checks.find(t=>t.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(t=>t.kind==="cuid2")}get isULID(){return!!this._def.checks.find(t=>t.kind==="ulid")}get isIP(){return!!this._def.checks.find(t=>t.kind==="ip")}get isCIDR(){return!!this._def.checks.find(t=>t.kind==="cidr")}get isBase64(){return!!this._def.checks.find(t=>t.kind==="base64")}get isBase64url(){return!!this._def.checks.find(t=>t.kind==="base64url")}get minLength(){let t=null;for(let a of this._def.checks)a.kind==="min"&&(t===null||a.value>t)&&(t=a.value);return t}get maxLength(){let t=null;for(let a of this._def.checks)a.kind==="max"&&(t===null||a.value<t)&&(t=a.value);return t}};Hr.create=e=>new Hr({checks:[],typeName:q.ZodString,coerce:e?.coerce??!1,...G(e)});function DS(e,t){let a=(e.toString().split(".")[1]||"").length,r=(t.toString().split(".")[1]||"").length,o=a>r?a:r,n=Number.parseInt(e.toFixed(o).replace(".","")),i=Number.parseInt(t.toFixed(o).replace(".",""));return n%i/10**o}var Bo=class e extends K{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(t){if(this._def.coerce&&(t.data=Number(t.data)),this._getType(t)!==D.number){let n=this._getOrReturnCtx(t);return M(n,{code:P.invalid_type,expected:D.number,received:n.parsedType}),U}let r,o=new Xe;for(let n of this._def.checks)n.kind==="int"?ee.isInteger(t.data)||(r=this._getOrReturnCtx(t,r),M(r,{code:P.invalid_type,expected:"integer",received:"float",message:n.message}),o.dirty()):n.kind==="min"?(n.inclusive?t.data<n.value:t.data<=n.value)&&(r=this._getOrReturnCtx(t,r),M(r,{code:P.too_small,minimum:n.value,type:"number",inclusive:n.inclusive,exact:!1,message:n.message}),o.dirty()):n.kind==="max"?(n.inclusive?t.data>n.value:t.data>=n.value)&&(r=this._getOrReturnCtx(t,r),M(r,{code:P.too_big,maximum:n.value,type:"number",inclusive:n.inclusive,exact:!1,message:n.message}),o.dirty()):n.kind==="multipleOf"?DS(t.data,n.value)!==0&&(r=this._getOrReturnCtx(t,r),M(r,{code:P.not_multiple_of,multipleOf:n.value,message:n.message}),o.dirty()):n.kind==="finite"?Number.isFinite(t.data)||(r=this._getOrReturnCtx(t,r),M(r,{code:P.not_finite,message:n.message}),o.dirty()):ee.assertNever(n);return{status:o.value,value:t.data}}gte(t,a){return this.setLimit("min",t,!0,B.toString(a))}gt(t,a){return this.setLimit("min",t,!1,B.toString(a))}lte(t,a){return this.setLimit("max",t,!0,B.toString(a))}lt(t,a){return this.setLimit("max",t,!1,B.toString(a))}setLimit(t,a,r,o){return new e({...this._def,checks:[...this._def.checks,{kind:t,value:a,inclusive:r,message:B.toString(o)}]})}_addCheck(t){return new e({...this._def,checks:[...this._def.checks,t]})}int(t){return this._addCheck({kind:"int",message:B.toString(t)})}positive(t){return this._addCheck({kind:"min",value:0,inclusive:!1,message:B.toString(t)})}negative(t){return this._addCheck({kind:"max",value:0,inclusive:!1,message:B.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:0,inclusive:!0,message:B.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:0,inclusive:!0,message:B.toString(t)})}multipleOf(t,a){return this._addCheck({kind:"multipleOf",value:t,message:B.toString(a)})}finite(t){return this._addCheck({kind:"finite",message:B.toString(t)})}safe(t){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:B.toString(t)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:B.toString(t)})}get minValue(){let t=null;for(let a of this._def.checks)a.kind==="min"&&(t===null||a.value>t)&&(t=a.value);return t}get maxValue(){let t=null;for(let a of this._def.checks)a.kind==="max"&&(t===null||a.value<t)&&(t=a.value);return t}get isInt(){return!!this._def.checks.find(t=>t.kind==="int"||t.kind==="multipleOf"&&ee.isInteger(t.value))}get isFinite(){let t=null,a=null;for(let r of this._def.checks){if(r.kind==="finite"||r.kind==="int"||r.kind==="multipleOf")return!0;r.kind==="min"?(a===null||r.value>a)&&(a=r.value):r.kind==="max"&&(t===null||r.value<t)&&(t=r.value)}return Number.isFinite(a)&&Number.isFinite(t)}};Bo.create=e=>new Bo({checks:[],typeName:q.ZodNumber,coerce:e?.coerce||!1,...G(e)});var _o=class e extends K{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(t){if(this._def.coerce)try{t.data=BigInt(t.data)}catch{return this._getInvalidInput(t)}if(this._getType(t)!==D.bigint)return this._getInvalidInput(t);let r,o=new Xe;for(let n of this._def.checks)n.kind==="min"?(n.inclusive?t.data<n.value:t.data<=n.value)&&(r=this._getOrReturnCtx(t,r),M(r,{code:P.too_small,type:"bigint",minimum:n.value,inclusive:n.inclusive,message:n.message}),o.dirty()):n.kind==="max"?(n.inclusive?t.data>n.value:t.data>=n.value)&&(r=this._getOrReturnCtx(t,r),M(r,{code:P.too_big,type:"bigint",maximum:n.value,inclusive:n.inclusive,message:n.message}),o.dirty()):n.kind==="multipleOf"?t.data%n.value!==BigInt(0)&&(r=this._getOrReturnCtx(t,r),M(r,{code:P.not_multiple_of,multipleOf:n.value,message:n.message}),o.dirty()):ee.assertNever(n);return{status:o.value,value:t.data}}_getInvalidInput(t){let a=this._getOrReturnCtx(t);return M(a,{code:P.invalid_type,expected:D.bigint,received:a.parsedType}),U}gte(t,a){return this.setLimit("min",t,!0,B.toString(a))}gt(t,a){return this.setLimit("min",t,!1,B.toString(a))}lte(t,a){return this.setLimit("max",t,!0,B.toString(a))}lt(t,a){return this.setLimit("max",t,!1,B.toString(a))}setLimit(t,a,r,o){return new e({...this._def,checks:[...this._def.checks,{kind:t,value:a,inclusive:r,message:B.toString(o)}]})}_addCheck(t){return new e({...this._def,checks:[...this._def.checks,t]})}positive(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:B.toString(t)})}negative(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:B.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:B.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:B.toString(t)})}multipleOf(t,a){return this._addCheck({kind:"multipleOf",value:t,message:B.toString(a)})}get minValue(){let t=null;for(let a of this._def.checks)a.kind==="min"&&(t===null||a.value>t)&&(t=a.value);return t}get maxValue(){let t=null;for(let a of this._def.checks)a.kind==="max"&&(t===null||a.value<t)&&(t=a.value);return t}};_o.create=e=>new _o({checks:[],typeName:q.ZodBigInt,coerce:e?.coerce??!1,...G(e)});var Oo=class extends K{_parse(t){if(this._def.coerce&&(t.data=!!t.data),this._getType(t)!==D.boolean){let r=this._getOrReturnCtx(t);return M(r,{code:P.invalid_type,expected:D.boolean,received:r.parsedType}),U}return ot(t.data)}};Oo.create=e=>new Oo({typeName:q.ZodBoolean,coerce:e?.coerce||!1,...G(e)});var Vo=class e extends K{_parse(t){if(this._def.coerce&&(t.data=new Date(t.data)),this._getType(t)!==D.date){let n=this._getOrReturnCtx(t);return M(n,{code:P.invalid_type,expected:D.date,received:n.parsedType}),U}if(Number.isNaN(t.data.getTime())){let n=this._getOrReturnCtx(t);return M(n,{code:P.invalid_date}),U}let r=new Xe,o;for(let n of this._def.checks)n.kind==="min"?t.data.getTime()<n.value&&(o=this._getOrReturnCtx(t,o),M(o,{code:P.too_small,message:n.message,inclusive:!0,exact:!1,minimum:n.value,type:"date"}),r.dirty()):n.kind==="max"?t.data.getTime()>n.value&&(o=this._getOrReturnCtx(t,o),M(o,{code:P.too_big,message:n.message,inclusive:!0,exact:!1,maximum:n.value,type:"date"}),r.dirty()):ee.assertNever(n);return{status:r.value,value:new Date(t.data.getTime())}}_addCheck(t){return new e({...this._def,checks:[...this._def.checks,t]})}min(t,a){return this._addCheck({kind:"min",value:t.getTime(),message:B.toString(a)})}max(t,a){return this._addCheck({kind:"max",value:t.getTime(),message:B.toString(a)})}get minDate(){let t=null;for(let a of this._def.checks)a.kind==="min"&&(t===null||a.value>t)&&(t=a.value);return t!=null?new Date(t):null}get maxDate(){let t=null;for(let a of this._def.checks)a.kind==="max"&&(t===null||a.value<t)&&(t=a.value);return t!=null?new Date(t):null}};Vo.create=e=>new Vo({checks:[],coerce:e?.coerce||!1,typeName:q.ZodDate,...G(e)});var fi=class extends K{_parse(t){if(this._getType(t)!==D.symbol){let r=this._getOrReturnCtx(t);return M(r,{code:P.invalid_type,expected:D.symbol,received:r.parsedType}),U}return ot(t.data)}};fi.create=e=>new fi({typeName:q.ZodSymbol,...G(e)});var zo=class extends K{_parse(t){if(this._getType(t)!==D.undefined){let r=this._getOrReturnCtx(t);return M(r,{code:P.invalid_type,expected:D.undefined,received:r.parsedType}),U}return ot(t.data)}};zo.create=e=>new zo({typeName:q.ZodUndefined,...G(e)});var Uo=class extends K{_parse(t){if(this._getType(t)!==D.null){let r=this._getOrReturnCtx(t);return M(r,{code:P.invalid_type,expected:D.null,received:r.parsedType}),U}return ot(t.data)}};Uo.create=e=>new Uo({typeName:q.ZodNull,...G(e)});var Wr=class extends K{constructor(){super(...arguments),this._any=!0}_parse(t){return ot(t.data)}};Wr.create=e=>new Wr({typeName:q.ZodAny,...G(e)});var Ja=class extends K{constructor(){super(...arguments),this._unknown=!0}_parse(t){return ot(t.data)}};Ja.create=e=>new Ja({typeName:q.ZodUnknown,...G(e)});var ia=class extends K{_parse(t){let a=this._getOrReturnCtx(t);return M(a,{code:P.invalid_type,expected:D.never,received:a.parsedType}),U}};ia.create=e=>new ia({typeName:q.ZodNever,...G(e)});var pi=class extends K{_parse(t){if(this._getType(t)!==D.undefined){let r=this._getOrReturnCtx(t);return M(r,{code:P.invalid_type,expected:D.void,received:r.parsedType}),U}return ot(t.data)}};pi.create=e=>new pi({typeName:q.ZodVoid,...G(e)});var er=class e extends K{_parse(t){let{ctx:a,status:r}=this._processInputParams(t),o=this._def;if(a.parsedType!==D.array)return M(a,{code:P.invalid_type,expected:D.array,received:a.parsedType}),U;if(o.exactLength!==null){let i=a.data.length>o.exactLength.value,s=a.data.length<o.exactLength.value;(i||s)&&(M(a,{code:i?P.too_big:P.too_small,minimum:s?o.exactLength.value:void 0,maximum:i?o.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:o.exactLength.message}),r.dirty())}if(o.minLength!==null&&a.data.length<o.minLength.value&&(M(a,{code:P.too_small,minimum:o.minLength.value,type:"array",inclusive:!0,exact:!1,message:o.minLength.message}),r.dirty()),o.maxLength!==null&&a.data.length>o.maxLength.value&&(M(a,{code:P.too_big,maximum:o.maxLength.value,type:"array",inclusive:!0,exact:!1,message:o.maxLength.message}),r.dirty()),a.common.async)return Promise.all([...a.data].map((i,s)=>o.type._parseAsync(new jt(a,i,a.path,s)))).then(i=>Xe.mergeArray(r,i));let n=[...a.data].map((i,s)=>o.type._parseSync(new jt(a,i,a.path,s)));return Xe.mergeArray(r,n)}get element(){return this._def.type}min(t,a){return new e({...this._def,minLength:{value:t,message:B.toString(a)}})}max(t,a){return new e({...this._def,maxLength:{value:t,message:B.toString(a)}})}length(t,a){return new e({...this._def,exactLength:{value:t,message:B.toString(a)}})}nonempty(t){return this.min(1,t)}};er.create=(e,t)=>new er({type:e,minLength:null,maxLength:null,exactLength:null,typeName:q.ZodArray,...G(t)});function ci(e){if(e instanceof yt){let t={};for(let a in e.shape){let r=e.shape[a];t[a]=qt.create(ci(r))}return new yt({...e._def,shape:()=>t})}else return e instanceof er?new er({...e._def,type:ci(e.element)}):e instanceof qt?qt.create(ci(e.unwrap())):e instanceof Ca?Ca.create(ci(e.unwrap())):e instanceof ba?ba.create(e.items.map(t=>ci(t))):e}var yt=class e extends K{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;let t=this._def.shape(),a=ee.objectKeys(t);return this._cached={shape:t,keys:a},this._cached}_parse(t){if(this._getType(t)!==D.object){let d=this._getOrReturnCtx(t);return M(d,{code:P.invalid_type,expected:D.object,received:d.parsedType}),U}let{status:r,ctx:o}=this._processInputParams(t),{shape:n,keys:i}=this._getCached(),s=[];if(!(this._def.catchall instanceof ia&&this._def.unknownKeys==="strip"))for(let d in o.data)i.includes(d)||s.push(d);let l=[];for(let d of i){let u=n[d],c=o.data[d];l.push({key:{status:"valid",value:d},value:u._parse(new jt(o,c,o.path,d)),alwaysSet:d in o.data})}if(this._def.catchall instanceof ia){let d=this._def.unknownKeys;if(d==="passthrough")for(let u of s)l.push({key:{status:"valid",value:u},value:{status:"valid",value:o.data[u]}});else if(d==="strict")s.length>0&&(M(o,{code:P.unrecognized_keys,keys:s}),r.dirty());else if(d!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{let d=this._def.catchall;for(let u of s){let c=o.data[u];l.push({key:{status:"valid",value:u},value:d._parse(new jt(o,c,o.path,u)),alwaysSet:u in o.data})}}return o.common.async?Promise.resolve().then(async()=>{let d=[];for(let u of l){let c=await u.key,f=await u.value;d.push({key:c,value:f,alwaysSet:u.alwaysSet})}return d}).then(d=>Xe.mergeObjectSync(r,d)):Xe.mergeObjectSync(r,l)}get shape(){return this._def.shape()}strict(t){return B.errToObj,new e({...this._def,unknownKeys:"strict",...t!==void 0?{errorMap:(a,r)=>{let o=this._def.errorMap?.(a,r).message??r.defaultError;return a.code==="unrecognized_keys"?{message:B.errToObj(t).message??o}:{message:o}}}:{}})}strip(){return new e({...this._def,unknownKeys:"strip"})}passthrough(){return new e({...this._def,unknownKeys:"passthrough"})}extend(t){return new e({...this._def,shape:()=>({...this._def.shape(),...t})})}merge(t){return new e({unknownKeys:t._def.unknownKeys,catchall:t._def.catchall,shape:()=>({...this._def.shape(),...t._def.shape()}),typeName:q.ZodObject})}setKey(t,a){return this.augment({[t]:a})}catchall(t){return new e({...this._def,catchall:t})}pick(t){let a={};for(let r of ee.objectKeys(t))t[r]&&this.shape[r]&&(a[r]=this.shape[r]);return new e({...this._def,shape:()=>a})}omit(t){let a={};for(let r of ee.objectKeys(this.shape))t[r]||(a[r]=this.shape[r]);return new e({...this._def,shape:()=>a})}deepPartial(){return ci(this)}partial(t){let a={};for(let r of ee.objectKeys(this.shape)){let o=this.shape[r];t&&!t[r]?a[r]=o:a[r]=o.optional()}return new e({...this._def,shape:()=>a})}required(t){let a={};for(let r of ee.objectKeys(this.shape))if(t&&!t[r])a[r]=this.shape[r];else{let n=this.shape[r];for(;n instanceof qt;)n=n._def.innerType;a[r]=n}return new e({...this._def,shape:()=>a})}keyof(){return N1(ee.objectKeys(this.shape))}};yt.create=(e,t)=>new yt({shape:()=>e,unknownKeys:"strip",catchall:ia.create(),typeName:q.ZodObject,...G(t)});yt.strictCreate=(e,t)=>new yt({shape:()=>e,unknownKeys:"strict",catchall:ia.create(),typeName:q.ZodObject,...G(t)});yt.lazycreate=(e,t)=>new yt({shape:e,unknownKeys:"strip",catchall:ia.create(),typeName:q.ZodObject,...G(t)});var qo=class extends K{_parse(t){let{ctx:a}=this._processInputParams(t),r=this._def.options;function o(n){for(let s of n)if(s.result.status==="valid")return s.result;for(let s of n)if(s.result.status==="dirty")return a.common.issues.push(...s.ctx.common.issues),s.result;let i=n.map(s=>new wt(s.ctx.common.issues));return M(a,{code:P.invalid_union,unionErrors:i}),U}if(a.common.async)return Promise.all(r.map(async n=>{let i={...a,common:{...a.common,issues:[]},parent:null};return{result:await n._parseAsync({data:a.data,path:a.path,parent:i}),ctx:i}})).then(o);{let n,i=[];for(let l of r){let d={...a,common:{...a.common,issues:[]},parent:null},u=l._parseSync({data:a.data,path:a.path,parent:d});if(u.status==="valid")return u;u.status==="dirty"&&!n&&(n={result:u,ctx:d}),d.common.issues.length&&i.push(d.common.issues)}if(n)return a.common.issues.push(...n.ctx.common.issues),n.result;let s=i.map(l=>new wt(l));return M(a,{code:P.invalid_union,unionErrors:s}),U}}get options(){return this._def.options}};qo.create=(e,t)=>new qo({options:e,typeName:q.ZodUnion,...G(t)});var Qa=e=>e instanceof Ho?Qa(e.schema):e instanceof Ht?Qa(e.innerType()):e instanceof Wo?[e.value]:e instanceof Go?e.options:e instanceof $o?ee.objectValues(e.enum):e instanceof Xo?Qa(e._def.innerType):e instanceof zo?[void 0]:e instanceof Uo?[null]:e instanceof qt?[void 0,...Qa(e.unwrap())]:e instanceof Ca?[null,...Qa(e.unwrap())]:e instanceof hl||e instanceof Yo?Qa(e.unwrap()):e instanceof Ko?Qa(e._def.innerType):[],fc=class e extends K{_parse(t){let{ctx:a}=this._processInputParams(t);if(a.parsedType!==D.object)return M(a,{code:P.invalid_type,expected:D.object,received:a.parsedType}),U;let r=this.discriminator,o=a.data[r],n=this.optionsMap.get(o);return n?a.common.async?n._parseAsync({data:a.data,path:a.path,parent:a}):n._parseSync({data:a.data,path:a.path,parent:a}):(M(a,{code:P.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[r]}),U)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(t,a,r){let o=new Map;for(let n of a){let i=Qa(n.shape[t]);if(!i.length)throw new Error(`A discriminator value for key \`${t}\` could not be extracted from all schema options`);for(let s of i){if(o.has(s))throw new Error(`Discriminator property ${String(t)} has duplicate value ${String(s)}`);o.set(s,n)}}return new e({typeName:q.ZodDiscriminatedUnion,discriminator:t,options:a,optionsMap:o,...G(r)})}};function Zm(e,t){let a=ya(e),r=ya(t);if(e===t)return{valid:!0,data:e};if(a===D.object&&r===D.object){let o=ee.objectKeys(t),n=ee.objectKeys(e).filter(s=>o.indexOf(s)!==-1),i={...e,...t};for(let s of n){let l=Zm(e[s],t[s]);if(!l.valid)return{valid:!1};i[s]=l.data}return{valid:!0,data:i}}else if(a===D.array&&r===D.array){if(e.length!==t.length)return{valid:!1};let o=[];for(let n=0;n<e.length;n++){let i=e[n],s=t[n],l=Zm(i,s);if(!l.valid)return{valid:!1};o.push(l.data)}return{valid:!0,data:o}}else return a===D.date&&r===D.date&&+e==+t?{valid:!0,data:e}:{valid:!1}}var jo=class extends K{_parse(t){let{status:a,ctx:r}=this._processInputParams(t),o=(n,i)=>{if(uc(n)||uc(i))return U;let s=Zm(n.value,i.value);return s.valid?((cc(n)||cc(i))&&a.dirty(),{status:a.value,value:s.data}):(M(r,{code:P.invalid_intersection_types}),U)};return r.common.async?Promise.all([this._def.left._parseAsync({data:r.data,path:r.path,parent:r}),this._def.right._parseAsync({data:r.data,path:r.path,parent:r})]).then(([n,i])=>o(n,i)):o(this._def.left._parseSync({data:r.data,path:r.path,parent:r}),this._def.right._parseSync({data:r.data,path:r.path,parent:r}))}};jo.create=(e,t,a)=>new jo({left:e,right:t,typeName:q.ZodIntersection,...G(a)});var ba=class e extends K{_parse(t){let{status:a,ctx:r}=this._processInputParams(t);if(r.parsedType!==D.array)return M(r,{code:P.invalid_type,expected:D.array,received:r.parsedType}),U;if(r.data.length<this._def.items.length)return M(r,{code:P.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),U;!this._def.rest&&r.data.length>this._def.items.length&&(M(r,{code:P.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),a.dirty());let n=[...r.data].map((i,s)=>{let l=this._def.items[s]||this._def.rest;return l?l._parse(new jt(r,i,r.path,s)):null}).filter(i=>!!i);return r.common.async?Promise.all(n).then(i=>Xe.mergeArray(a,i)):Xe.mergeArray(a,n)}get items(){return this._def.items}rest(t){return new e({...this._def,rest:t})}};ba.create=(e,t)=>{if(!Array.isArray(e))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new ba({items:e,typeName:q.ZodTuple,rest:null,...G(t)})};var pc=class e extends K{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(t){let{status:a,ctx:r}=this._processInputParams(t);if(r.parsedType!==D.object)return M(r,{code:P.invalid_type,expected:D.object,received:r.parsedType}),U;let o=[],n=this._def.keyType,i=this._def.valueType;for(let s in r.data)o.push({key:n._parse(new jt(r,s,r.path,s)),value:i._parse(new jt(r,r.data[s],r.path,s)),alwaysSet:s in r.data});return r.common.async?Xe.mergeObjectAsync(a,o):Xe.mergeObjectSync(a,o)}get element(){return this._def.valueType}static create(t,a,r){return a instanceof K?new e({keyType:t,valueType:a,typeName:q.ZodRecord,...G(r)}):new e({keyType:Hr.create(),valueType:t,typeName:q.ZodRecord,...G(a)})}},mi=class extends K{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(t){let{status:a,ctx:r}=this._processInputParams(t);if(r.parsedType!==D.map)return M(r,{code:P.invalid_type,expected:D.map,received:r.parsedType}),U;let o=this._def.keyType,n=this._def.valueType,i=[...r.data.entries()].map(([s,l],d)=>({key:o._parse(new jt(r,s,r.path,[d,"key"])),value:n._parse(new jt(r,l,r.path,[d,"value"]))}));if(r.common.async){let s=new Map;return Promise.resolve().then(async()=>{for(let l of i){let d=await l.key,u=await l.value;if(d.status==="aborted"||u.status==="aborted")return U;(d.status==="dirty"||u.status==="dirty")&&a.dirty(),s.set(d.value,u.value)}return{status:a.value,value:s}})}else{let s=new Map;for(let l of i){let d=l.key,u=l.value;if(d.status==="aborted"||u.status==="aborted")return U;(d.status==="dirty"||u.status==="dirty")&&a.dirty(),s.set(d.value,u.value)}return{status:a.value,value:s}}}};mi.create=(e,t,a)=>new mi({valueType:t,keyType:e,typeName:q.ZodMap,...G(a)});var hi=class e extends K{_parse(t){let{status:a,ctx:r}=this._processInputParams(t);if(r.parsedType!==D.set)return M(r,{code:P.invalid_type,expected:D.set,received:r.parsedType}),U;let o=this._def;o.minSize!==null&&r.data.size<o.minSize.value&&(M(r,{code:P.too_small,minimum:o.minSize.value,type:"set",inclusive:!0,exact:!1,message:o.minSize.message}),a.dirty()),o.maxSize!==null&&r.data.size>o.maxSize.value&&(M(r,{code:P.too_big,maximum:o.maxSize.value,type:"set",inclusive:!0,exact:!1,message:o.maxSize.message}),a.dirty());let n=this._def.valueType;function i(l){let d=new Set;for(let u of l){if(u.status==="aborted")return U;u.status==="dirty"&&a.dirty(),d.add(u.value)}return{status:a.value,value:d}}let s=[...r.data.values()].map((l,d)=>n._parse(new jt(r,l,r.path,d)));return r.common.async?Promise.all(s).then(l=>i(l)):i(s)}min(t,a){return new e({...this._def,minSize:{value:t,message:B.toString(a)}})}max(t,a){return new e({...this._def,maxSize:{value:t,message:B.toString(a)}})}size(t,a){return this.min(t,a).max(t,a)}nonempty(t){return this.min(1,t)}};hi.create=(e,t)=>new hi({valueType:e,minSize:null,maxSize:null,typeName:q.ZodSet,...G(t)});var mc=class e extends K{constructor(){super(...arguments),this.validate=this.implement}_parse(t){let{ctx:a}=this._processInputParams(t);if(a.parsedType!==D.function)return M(a,{code:P.invalid_type,expected:D.function,received:a.parsedType}),U;function r(s,l){return ml({data:s,path:a.path,errorMaps:[a.common.contextualErrorMap,a.schemaErrorMap,di(),Za].filter(d=>!!d),issueData:{code:P.invalid_arguments,argumentsError:l}})}function o(s,l){return ml({data:s,path:a.path,errorMaps:[a.common.contextualErrorMap,a.schemaErrorMap,di(),Za].filter(d=>!!d),issueData:{code:P.invalid_return_type,returnTypeError:l}})}let n={errorMap:a.common.contextualErrorMap},i=a.data;if(this._def.returns instanceof Gr){let s=this;return ot(async function(...l){let d=new wt([]),u=await s._def.args.parseAsync(l,n).catch(g=>{throw d.addIssue(r(l,g)),d}),c=await Reflect.apply(i,this,u);return await s._def.returns._def.type.parseAsync(c,n).catch(g=>{throw d.addIssue(o(c,g)),d})})}else{let s=this;return ot(function(...l){let d=s._def.args.safeParse(l,n);if(!d.success)throw new wt([r(l,d.error)]);let u=Reflect.apply(i,this,d.data),c=s._def.returns.safeParse(u,n);if(!c.success)throw new wt([o(u,c.error)]);return c.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...t){return new e({...this._def,args:ba.create(t).rest(Ja.create())})}returns(t){return new e({...this._def,returns:t})}implement(t){return this.parse(t)}strictImplement(t){return this.parse(t)}static create(t,a,r){return new e({args:t||ba.create([]).rest(Ja.create()),returns:a||Ja.create(),typeName:q.ZodFunction,...G(r)})}},Ho=class extends K{get schema(){return this._def.getter()}_parse(t){let{ctx:a}=this._processInputParams(t);return this._def.getter()._parse({data:a.data,path:a.path,parent:a})}};Ho.create=(e,t)=>new Ho({getter:e,typeName:q.ZodLazy,...G(t)});var Wo=class extends K{_parse(t){if(t.data!==this._def.value){let a=this._getOrReturnCtx(t);return M(a,{received:a.data,code:P.invalid_literal,expected:this._def.value}),U}return{status:"valid",value:t.data}}get value(){return this._def.value}};Wo.create=(e,t)=>new Wo({value:e,typeName:q.ZodLiteral,...G(t)});function N1(e,t){return new Go({values:e,typeName:q.ZodEnum,...G(t)})}var Go=class e extends K{_parse(t){if(typeof t.data!="string"){let a=this._getOrReturnCtx(t),r=this._def.values;return M(a,{expected:ee.joinValues(r),received:a.parsedType,code:P.invalid_type}),U}if(this._cache||(this._cache=new Set(this._def.values)),!this._cache.has(t.data)){let a=this._getOrReturnCtx(t),r=this._def.values;return M(a,{received:a.data,code:P.invalid_enum_value,options:r}),U}return ot(t.data)}get options(){return this._def.values}get enum(){let t={};for(let a of this._def.values)t[a]=a;return t}get Values(){let t={};for(let a of this._def.values)t[a]=a;return t}get Enum(){let t={};for(let a of this._def.values)t[a]=a;return t}extract(t,a=this._def){return e.create(t,{...this._def,...a})}exclude(t,a=this._def){return e.create(this.options.filter(r=>!t.includes(r)),{...this._def,...a})}};Go.create=N1;var $o=class extends K{_parse(t){let a=ee.getValidEnumValues(this._def.values),r=this._getOrReturnCtx(t);if(r.parsedType!==D.string&&r.parsedType!==D.number){let o=ee.objectValues(a);return M(r,{expected:ee.joinValues(o),received:r.parsedType,code:P.invalid_type}),U}if(this._cache||(this._cache=new Set(ee.getValidEnumValues(this._def.values))),!this._cache.has(t.data)){let o=ee.objectValues(a);return M(r,{received:r.data,code:P.invalid_enum_value,options:o}),U}return ot(t.data)}get enum(){return this._def.values}};$o.create=(e,t)=>new $o({values:e,typeName:q.ZodNativeEnum,...G(t)});var Gr=class extends K{unwrap(){return this._def.type}_parse(t){let{ctx:a}=this._processInputParams(t);if(a.parsedType!==D.promise&&a.common.async===!1)return M(a,{code:P.invalid_type,expected:D.promise,received:a.parsedType}),U;let r=a.parsedType===D.promise?a.data:Promise.resolve(a.data);return ot(r.then(o=>this._def.type.parseAsync(o,{path:a.path,errorMap:a.common.contextualErrorMap})))}};Gr.create=(e,t)=>new Gr({type:e,typeName:q.ZodPromise,...G(t)});var Ht=class extends K{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===q.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(t){let{status:a,ctx:r}=this._processInputParams(t),o=this._def.effect||null,n={addIssue:i=>{M(r,i),i.fatal?a.abort():a.dirty()},get path(){return r.path}};if(n.addIssue=n.addIssue.bind(n),o.type==="preprocess"){let i=o.transform(r.data,n);if(r.common.async)return Promise.resolve(i).then(async s=>{if(a.value==="aborted")return U;let l=await this._def.schema._parseAsync({data:s,path:r.path,parent:r});return l.status==="aborted"?U:l.status==="dirty"?Ro(l.value):a.value==="dirty"?Ro(l.value):l});{if(a.value==="aborted")return U;let s=this._def.schema._parseSync({data:i,path:r.path,parent:r});return s.status==="aborted"?U:s.status==="dirty"?Ro(s.value):a.value==="dirty"?Ro(s.value):s}}if(o.type==="refinement"){let i=s=>{let l=o.refinement(s,n);if(r.common.async)return Promise.resolve(l);if(l instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return s};if(r.common.async===!1){let s=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});return s.status==="aborted"?U:(s.status==="dirty"&&a.dirty(),i(s.value),{status:a.value,value:s.value})}else return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(s=>s.status==="aborted"?U:(s.status==="dirty"&&a.dirty(),i(s.value).then(()=>({status:a.value,value:s.value}))))}if(o.type==="transform")if(r.common.async===!1){let i=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});if(!jr(i))return U;let s=o.transform(i.value,n);if(s instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:a.value,value:s}}else return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(i=>jr(i)?Promise.resolve(o.transform(i.value,n)).then(s=>({status:a.value,value:s})):U);ee.assertNever(o)}};Ht.create=(e,t,a)=>new Ht({schema:e,typeName:q.ZodEffects,effect:t,...G(a)});Ht.createWithPreprocess=(e,t,a)=>new Ht({schema:t,effect:{type:"preprocess",transform:e},typeName:q.ZodEffects,...G(a)});var qt=class extends K{_parse(t){return this._getType(t)===D.undefined?ot(void 0):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}};qt.create=(e,t)=>new qt({innerType:e,typeName:q.ZodOptional,...G(t)});var Ca=class extends K{_parse(t){return this._getType(t)===D.null?ot(null):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}};Ca.create=(e,t)=>new Ca({innerType:e,typeName:q.ZodNullable,...G(t)});var Xo=class extends K{_parse(t){let{ctx:a}=this._processInputParams(t),r=a.data;return a.parsedType===D.undefined&&(r=this._def.defaultValue()),this._def.innerType._parse({data:r,path:a.path,parent:a})}removeDefault(){return this._def.innerType}};Xo.create=(e,t)=>new Xo({innerType:e,typeName:q.ZodDefault,defaultValue:typeof t.default=="function"?t.default:()=>t.default,...G(t)});var Ko=class extends K{_parse(t){let{ctx:a}=this._processInputParams(t),r={...a,common:{...a.common,issues:[]}},o=this._def.innerType._parse({data:r.data,path:r.path,parent:{...r}});return ui(o)?o.then(n=>({status:"valid",value:n.status==="valid"?n.value:this._def.catchValue({get error(){return new wt(r.common.issues)},input:r.data})})):{status:"valid",value:o.status==="valid"?o.value:this._def.catchValue({get error(){return new wt(r.common.issues)},input:r.data})}}removeCatch(){return this._def.innerType}};Ko.create=(e,t)=>new Ko({innerType:e,typeName:q.ZodCatch,catchValue:typeof t.catch=="function"?t.catch:()=>t.catch,...G(t)});var gi=class extends K{_parse(t){if(this._getType(t)!==D.nan){let r=this._getOrReturnCtx(t);return M(r,{code:P.invalid_type,expected:D.nan,received:r.parsedType}),U}return{status:"valid",value:t.data}}};gi.create=e=>new gi({typeName:q.ZodNaN,...G(e)});var NS=Symbol("zod_brand"),hl=class extends K{_parse(t){let{ctx:a}=this._processInputParams(t),r=a.data;return this._def.type._parse({data:r,path:a.path,parent:a})}unwrap(){return this._def.type}},gl=class e extends K{_parse(t){let{status:a,ctx:r}=this._processInputParams(t);if(r.common.async)return(async()=>{let n=await this._def.in._parseAsync({data:r.data,path:r.path,parent:r});return n.status==="aborted"?U:n.status==="dirty"?(a.dirty(),Ro(n.value)):this._def.out._parseAsync({data:n.value,path:r.path,parent:r})})();{let o=this._def.in._parseSync({data:r.data,path:r.path,parent:r});return o.status==="aborted"?U:o.status==="dirty"?(a.dirty(),{status:"dirty",value:o.value}):this._def.out._parseSync({data:o.value,path:r.path,parent:r})}}static create(t,a){return new e({in:t,out:a,typeName:q.ZodPipeline})}},Yo=class extends K{_parse(t){let a=this._def.innerType._parse(t),r=o=>(jr(o)&&(o.value=Object.freeze(o.value)),o);return ui(a)?a.then(o=>r(o)):r(a)}unwrap(){return this._def.innerType}};Yo.create=(e,t)=>new Yo({innerType:e,typeName:q.ZodReadonly,...G(t)});function T1(e,t){let a=typeof e=="function"?e(t):typeof e=="string"?{message:e}:e;return typeof a=="string"?{message:a}:a}function R1(e,t={},a){return e?Wr.create().superRefine((r,o)=>{let n=e(r);if(n instanceof Promise)return n.then(i=>{if(!i){let s=T1(t,r),l=s.fatal??a??!0;o.addIssue({code:"custom",...s,fatal:l})}});if(!n){let i=T1(t,r),s=i.fatal??a??!0;o.addIssue({code:"custom",...i,fatal:s})}}):Wr.create()}var RS={object:yt.lazycreate},q;(function(e){e.ZodString="ZodString",e.ZodNumber="ZodNumber",e.ZodNaN="ZodNaN",e.ZodBigInt="ZodBigInt",e.ZodBoolean="ZodBoolean",e.ZodDate="ZodDate",e.ZodSymbol="ZodSymbol",e.ZodUndefined="ZodUndefined",e.ZodNull="ZodNull",e.ZodAny="ZodAny",e.ZodUnknown="ZodUnknown",e.ZodNever="ZodNever",e.ZodVoid="ZodVoid",e.ZodArray="ZodArray",e.ZodObject="ZodObject",e.ZodUnion="ZodUnion",e.ZodDiscriminatedUnion="ZodDiscriminatedUnion",e.ZodIntersection="ZodIntersection",e.ZodTuple="ZodTuple",e.ZodRecord="ZodRecord",e.ZodMap="ZodMap",e.ZodSet="ZodSet",e.ZodFunction="ZodFunction",e.ZodLazy="ZodLazy",e.ZodLiteral="ZodLiteral",e.ZodEnum="ZodEnum",e.ZodEffects="ZodEffects",e.ZodNativeEnum="ZodNativeEnum",e.ZodOptional="ZodOptional",e.ZodNullable="ZodNullable",e.ZodDefault="ZodDefault",e.ZodCatch="ZodCatch",e.ZodPromise="ZodPromise",e.ZodBranded="ZodBranded",e.ZodPipeline="ZodPipeline",e.ZodReadonly="ZodReadonly"})(q||(q={}));var BS=(e,t={message:`Input not instance of ${e.name}`})=>R1(a=>a instanceof e,t),B1=Hr.create,_1=Bo.create,_S=gi.create,OS=_o.create,O1=Oo.create,VS=Vo.create,zS=fi.create,US=zo.create,qS=Uo.create,jS=Wr.create,HS=Ja.create,WS=ia.create,GS=pi.create,$S=er.create,XS=yt.create,KS=yt.strictCreate,YS=qo.create,ZS=fc.create,QS=jo.create,JS=ba.create,eF=pc.create,tF=mi.create,aF=hi.create,rF=mc.create,oF=Ho.create,nF=Wo.create,iF=Go.create,sF=$o.create,lF=Gr.create,dF=Ht.create,uF=qt.create,cF=Ca.create,fF=Ht.createWithPreprocess,pF=gl.create,mF=()=>B1().optional(),hF=()=>_1().optional(),gF=()=>O1().optional(),xF={string:(e=>Hr.create({...e,coerce:!0})),number:(e=>Bo.create({...e,coerce:!0})),boolean:(e=>Oo.create({...e,coerce:!0})),bigint:(e=>_o.create({...e,coerce:!0})),date:(e=>Vo.create({...e,coerce:!0}))};var vF=U;var V1=j.union([j.object({type:j.literal("start"),messageId:j.string()}),j.object({type:j.literal("text-start"),id:j.string()}),j.object({type:j.literal("text-delta"),id:j.string(),delta:j.string()}),j.object({type:j.literal("text-end"),id:j.string()}),j.object({type:j.literal("tool-input-start"),toolCallId:j.string(),toolName:j.string(),messageId:j.string().optional()}),j.object({type:j.literal("tool-input-delta"),toolCallId:j.string(),inputTextDelta:j.string(),messageId:j.string().optional()}),j.object({type:j.literal("tool-input-available"),toolCallId:j.string(),input
16:j.unknown(),messageId:j.string().optional()}),j.object({type:j.literal("tool-output-available"),toolCallId:j.string(),output:j.unknown(),messageId:j.string().optional()}),j.object({type:j.literal("tool-call-end"),toolCallId:j.string(),messageId:j.string().optional()}),j.object({type:j.literal("finish")}),j.object({type:j.literal("error"),errorText:j.string()})]);var xl=class{agentId;conversationId;options;eventSource=null;listeners=new Map;reconnectTimeout=null;messageStates=new Map;currentMessageId=null;isConnecting=!1;constructor(t,a,r){this.agentId=t,this.conversationId=a,this.options={baseUrl:r?.baseUrl??"",autoReconnect:r?.autoReconnect??!0,reconnectDelay:r?.reconnectDelay??1e3,onError:r?.onError??(o=>{console.error("[AgentChatStream] Unhandled error:",o)})}}clearMessages(){this.messageStates.clear(),this.currentMessageId=null}setConversationId(t){if(this.conversationId===t)return;let a=this.isConnected,r=this.isConnecting;this.disconnect(),this.conversationId=t,this.clearMessages(),(a||r)&&this.connect()}connect(){if(this.isConnecting||this.eventSource?.readyState===EventSource.OPEN)return;this.isConnecting=!0,this.disconnect();let a=`${this.options.baseUrl}/api/taskade/agents/${encodeURIComponent(this.agentId)}/public-conversations/${encodeURIComponent(this.conversationId)}/stream`;if(!this.agentId||!this.conversationId){let r=new Error(`Missing required parameters: agentId=${this.agentId||"null"}, conversationId=${this.conversationId||"null"}`);this.options.onError(r),this.emit("error",{type:"error",errorText:r.message}),this.isConnecting=!1;return}try{this.eventSource=new EventSource(a),this.eventSource.onopen=()=>{this.isConnecting=!1,this.emit("open")},this.eventSource.onmessage=r=>{try{let o=JSON.parse(r.data),n=V1.parse(o);this.handleEvent(n)}catch(o){let n=o instanceof Error?o:new Error("Failed to parse event");this.options.onError(n),this.emit("error",{type:"error",errorText:`Parse error: ${n.message}`})}},this.eventSource.onerror=()=>{if(this.isConnecting=!1,this.eventSource?.readyState===EventSource.CLOSED)this.emit
16("close"),this.options.autoReconnect&&this.scheduleReconnect();else if(this.eventSource?.readyState!==EventSource.CONNECTING){let r=new Error("EventSource connection error");this.options.onError(r),this.emit("error",{type:"error",errorText:"Stream connection error"})}}}catch(r){this.isConnecting=!1;let o=r instanceof Error?r:new Error("Failed to create EventSource");this.options.onError(o),this.emit("error",{type:"error",errorText:`Failed to create connection: ${o.message}`})}}disconnect(){this.reconnectTimeout&&(clearTimeout(this.reconnectTimeout),this.reconnectTimeout=null),this.eventSource&&(this.eventSource.close(),this.eventSource=null),this.isConnecting=!1}on(t,a){return this.listeners.has(t)||this.listeners.set(t,new Set),this.listeners.get(t).add(a),()=>{this.listeners.get(t)?.delete(a)}}off(t,a){this.listeners.get(t)?.delete(a)}get isConnected(){return this.eventSource?.readyState===EventSource.OPEN}get messages(){return new Map(this.messageStates)}getMessage(t){return this.messageStates.get(t)}handleEvent(t){switch(this.emit("event",t),t.type){case"start":this.currentMessageId=t.messageId,this.messageStates.has(t.messageId)||this.messageStates.set(t.messageId,{id:t.messageId,content:"",isComplete:!1,role:"assistant"});break;case"text-start":this.currentMessageId&&(this.messageStates.has(this.currentMessageId)||this.messageStates.set(this.currentMessageId,{id:this.currentMessageId,content:"",isComplete:!1,role:"assistant"}));break;case"text-delta":{if(this.currentMessageId){let a=this.messageStates.get(this.currentMessageId);if(a){let r={...a,content:a.content+t.delta};this.messageStates.set(this.currentMessageId,r)}else this.messageStates.set(this.currentMessageId,{id:this.currentMessageId,content:t.delta,isComplete:!1,role:"assistant"})}this.emit("text-delta",t);break}case"text-end":break;case"tool-input-start":{let a="messageId"in t&&t.messageId?t.messageId:this.currentMessageId,r=a?this.messageStates.get(a):void 0;if(r){let o={...r,toolCalls:[...r.toolCalls??[],{toolCallId:t.toolCallId,toolName:t.toolName,isComplete:!1}]};this.messageStates.set(r.id,o)}break}case"tool-input-delta":{let a="messageId"in t&&t.messageId?t.messageId:this.currentMessageId,r=a?this.messageStates.get(a):void 0;if(r?.toolCalls){let o=r.toolCalls.findIndex(n=>n.toolCallId===t.toolCallId);if(o!==-1){let n=r.toolCalls[o],i=typeof n.input=="string"?n.input:"",s={...r,toolCalls:r.toolCalls.map((l,d)=>d===o?{...l,input:i+t.inputTextDelta}:l)};this.messageStates.set(r.id,s)}}break}case"tool-input-available":{let a="messageId"in t&&t.messageId?t.messageId:this.currentMessageId,r=a?this.messageStates.get(a):void 0;if(r?.toolCalls){let o=r.toolCalls.findIndex(n=>n.toolCallId===t.toolCallId);if(o!==-1){let n={...r,toolCalls:r.toolCalls.map((i,s)=>s===o?{...i,input:t.input}:i)};this.messageStates.set(r.id,n)}}break}case"tool-output-available":{let a="messageId"in t&&t.messageId?t.messageId:this.currentMessageId,r=a?this.messageStates.get(a):void 0;if(r?.toolCalls){let o=r.toolCalls.findIndex(n=>n.toolCallId===t.toolCallId);if(o!==-1){let n={...r,toolCalls:r.toolCalls.map((i,s)=>s===o?{...i,output:t.output}:i)};this.messageStates.set(r.id,n)}}break}case"tool-call-end":{let a="messageId"in t&&t.messageId?t.messageId:this.currentMessageId,r=a?this.messageStates.get(a):void 0;if(r?.toolCalls){let o=r.toolCalls.findIndex(n=>n.toolCallId===t.toolCallId);if(o!==-1){let n={...r,toolCalls:r.toolCalls.map((i,s)=>s===o?{...i,isComplete:!0}:i)};this.messageStates.set(r.id,n)}}break}case"finish":if(this.currentMessageId){let a=this.messageStates.get(this.currentMessageId);if(a){let r={...a,isComplete:!0};this.messageStates.set(this.currentMessageId,r)}}this.emit("finish",t);break;
16case"error":this.emit("error",t),this.options.onError(new Error(t.errorText));break}}emit(t,...a){let r=this.listeners.get(t);r&&r.forEach(o=>{try{o(...a)}catch(n){this.options.onError(n instanceof Error?n:new Error("Handler error"))}})}scheduleReconnect(){this.reconnectTimeout||(this.reconnectTimeout=setTimeout(()=>{this.reconnectTimeout=null,this.options.autoReconnect&&this.connect()},this.options.reconnectDelay))}};var Ee=N(Q());function Qm(e,t,a){let[r,o]=(0,Ee.useState)(new Map),[n,i]=(0,Ee.useState)(!1),[s,l]=(0,Ee.useState)(null),[d,u]=(0,Ee.useState)(t),c=(0,Ee.useRef)(null),f=(0,Ee.useRef)([]),g=(0,Ee.useRef)(null),v=(0,Ee.useRef)(t),x=(0,Ee.useRef)(t);(0,Ee.useEffect)(()=>{let y=x.current,I=t;y!==I&&I!=null&&y!=null&&(o(new Map),c.current&&c.current.clearMessages()),u(I),v.current=I,x.current=I},[t]),(0,Ee.useEffect)(()=>()=>{c.current&&(c.current.disconnect(),c.current=null,g.current=null)},[]);let F=(0,Ee.useMemo)(()=>{let y=Array.from(r.values());return y.sort((I,A)=>I.id.localeCompare(A.id)),y},[r]);(0,Ee.useEffect)(()=>{if(!d){c.current&&(c.current.clearMessages(),c.current.disconnect(),c.current=null,g.current=null,i(!1)),o(new Map),v.current=null;return}v.current=d,f.current.forEach(k=>k()),f.current=[];let y=[],I=!0,A=()=>{I=!1,y.forEach(k=>k())};try{if(!e)throw new Error("Invalid parameters: agentId is required");let k=()=>{let ne=c.current;ne&&o(ue=>{let Fe=new Map(ue);for(let[Ke,Me]of ne.messages){let yl=ue.get(Ke);if(!yl||yl.role==="assistant"){let K1={...yl,...Me,id:Ke,role:"assistant",content:typeof Me.content=="string"&&Me.content.length>0?Me.content:yl?.content||""};Fe.set(Ke,K1)}}return Fe})},_,O=c.current,de=O&&g.current!==e;if(de&&O&&(o(ne=>{let ue=new Map(ne);for(let[Fe,Ke]of O.messages)if(!ue.has(Fe))ue.set(Fe,Ke);else{let Me=ne.get(Fe);if(Me?.role==="user")continue;(Me?.role==="assistant"||!Me)&&ue.set(Fe,{...Me,...Ke,id:Fe,role:"assistant"})}return ue}),O.disconnect(),c.current=null,g.current=null),c.current&&!de)_=c.current,_.setConversationId(d);else{let ne={baseUrl:a?.baseUrl,autoReconnect:a?.autoReconnect??!0,reconnectDelay:a?.reconnectDelay,onError:ue=>{I&&l(ue),a?.onError?.(ue)}};_=new xl(e,d,ne),c.current=_,g.current=e}let oe=_.on("open",()=>{I&&(i(!0),l(null))});y.push(oe);let Zo=_.on("close",()=>{I&&i(!1)});y.push(Zo);let La=_.on("text-delta",()=>{I&&k()});y.push(La);let $r=_.on("finish",()=>{I&&k()});y.push($r);let Xr=_.on("error",ne=>{I&&l(new Error(ne.errorText))});y.push(Xr),f.current=y,a?.autoConnect!==!1&&_.connect()}catch(k){if(I){let _=k instanceof Error?k:new Error("Failed to initialize chat");l(_),console.error("[useAgentChat] Initialization error:",_)}}return A},[e,d,a?.baseUrl,a?.autoReconnect,a?.reconnectDelay,a?.autoConnect,a?.onError]);let m=(0,Ee.useCallback)(async y=>{let I=d;if(!I)throw new Error("No conversation available. Create a conversation first.");let A={baseUrl:a?.baseUrl};try{l(null);let k=await Xm(e,I,y,A);if(v.current!==I)return;let _={id:k.messageId,content:y,isComplete:!0,role:"user"};o(O=>{let de=new Map(O);return de.set(k.messageId,_),de})}catch(k){let _=k instanceof Error?k:new Error("Failed to send message");throw l(_),_}},[e,d,a?.baseUrl]),p=(0,Ee.useCallback)(async()=>{let y={baseUrl:a?.baseUrl},{conversationId:I}=await pl(e,y);
16return u(I),v.current=I,o(new Map),c.current&&c.current.setConversationId(I),I},[e,a?.baseUrl]),h=(0,Ee.useCallback)(y=>{u(y),v.current=y,o(new Map),c.current&&c.current.setConversationId(y)},[]),w=(0,Ee.useCallback)(()=>{if(!d)throw new Error("Cannot connect: no conversation available. Create a conversation first.");if(!c.current)throw new Error("Cannot connect: stream not initialized. Ensure conversationId is provided.");c.current.connect()},[d]);return{sendMessage:m,messages:F,isConnected:n,error:s,conversationId:d,createConversation:p,switchConversation:h,connect:w}}var $=N(ae()),z1="01KKYM4XWCESCMCYBAX4QB9CYH",wF="\xA1Hola! Soy tu asistente de an\xE1lisis de Aigenci. Puedo ayudarte a entender mejor esta propuesta, responder preguntas sobre estrategias de marketing digital, o analizar cualquier dato que necesites. \xBFEn qu\xE9 puedo ayudarte hoy?";function U1(){let[e,t]=(0,bt.useState)(!1),[a,r]=(0,bt.useState)(null),[o,n]=(0,bt.useState)(""),[i,s]=(0,bt.useState)(!1),l=(0,bt.useRef)(null),{messages:d,sendMessage:u,isConnected:c}=Qm(z1,a),[f,g]=(0,bt.useState)(!1);(0,bt.useEffect)(()=>{e&&!a&&pl(z1).then(({conversationId:x})=>{r(x),setTimeout(()=>{s(!0)},500)})},[e,a]),(0,bt.useEffect)(()=>{l.current?.scrollIntoView({behavior:"smooth"})},[d,i]);let v=async()=>{if(!o.trim()||!a)return;let x=o;n(""),g(!0);try{await u(x)}finally{setTimeout(()=>g(!1),500)}};return(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(na,{children:!e&&(0,$.jsx)(S.button,{initial:{scale:0,opacity:0},animate:{scale:1,opacity:1},exit:{scale:0,opacity:0},onClick:()=>t(!0),className:"fixed bottom-6 right-6 w-16 h-16 rounded-full bg-[#6F4C9E] shadow-2xl shadow-[#6F4C9E]/40 flex items-center justify-center hover:scale-110 hover:bg-[#5d3f85] transition-all duration-200 z-50",children:(0,$.jsx)(Tn,{className:"w-7 h-7 text-white"})})}),(0,$.jsx)(na,{children:e&&(0,$.jsxs)(S.div,{initial:{opacity:0,x:400},animate:{opacity:1,x:0},exit:{opacity:0,x:400},transition:{type:"spring",damping:25},className:"fixed bottom-6 right-6 w-96 h-[600px] rounded-2xl bg-white border border-slate-200 shadow-2xl shadow-slate-900/10 flex flex-col overflow-hidden z-50",children:[(0,$.jsxs)("div",{className:"p-4 border-b border-slate-200 bg-[#312740] flex items-center justify-between",children:[(0,$.jsxs)("div",{className:"flex items-center gap-3",children:[(0,$.jsx)("div",{className:"w-10 h-10 rounded-full bg-[#6F4C9E] flex items-center justify-center",children:(0,$.jsx)(Tn,{className:"w-5 h-5 text-white"})}),(0,$.jsxs)("div",{children:[(0,$.jsx)("h3",{className:"font-semibold text-white",children:"Asistente de Ventas"}),(0,$.jsxs)("div",{className:"flex items-center gap-1",children:[(0,$.jsx)("div",{className:Ar("w-2 h-2 rounded-full",c?"bg-[#5FCFFA]":"bg-gray-400")}),(0,$.jsx)("span",{className:"text-xs text-slate-300",children:c?"En l\xEDnea":"Conectando..."})]})]})]}),(0,$.jsx)("button",{onClick:()=>t(!1),className:"p-2 rounded-lg hover:bg-slate-700/50 transition-colors",children:(0,$.jsx)(Ba,{className:"w-5 h-5 text-slate-300"})})]}),(0,$.jsxs)("div",{className:"flex-1 overflow-y-auto p-4 space-y-4 bg-slate-50",children:[i&&d.length===0&&(0,$.jsx)(S.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},className:"flex justify-start",children:(0,$.jsx)("div",{className:"max-w-[80%] p-3 rounded-xl bg-white text-slate-800 border border-slate-200 shadow-sm",children:(0,$.jsx)(yF,{text:wF})})}),d.map(x=>(0,$.jsx)("div",{className:Ar("flex",x.role==="user"?"justify-end":"justify-start"),children:(0,$.jsx)("div",{className:Ar("max-w-[80%] p-3 rounded-xl",x.role==="user"?"bg-[#6F4C9E] text-white":"bg-white text-slate-800 border border-slate-200 shadow-sm"),children:x.content})},x.id)),f&&(0,$.jsx)(S.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0},className:"flex justify-start",children:(0,$.jsx)("div",{className:"max-w-[80%] p-3 rounded-xl bg-white border border-slate-200 shadow-sm",children:(0,$.jsx)(bF,{})})}),(0,$.jsx)("div",{ref:l})]}),(0,$.jsx)("div",{className:"p-4 border-t border-slate-200 bg-white",children:(0,$.jsxs)("div",{className:"flex gap-2",children:[(0,$.jsx)("input",{type:"text",value:o,onChange:x=>n(x.target.value),onKeyPress:x=>x.key==="Enter"&&v(),placeholder:"Escribe tu pregunta...",disabled:!c,className:"flex-1 px-4 py-2 rounded-lg bg-slate-50 border border-slate-200 text-slate-800 placeholder-slate-400 focus:outline-none focus:border-[#6F4C9E] focus:ring-2 focus:ring-[#6F4C9E]/20 disabled:opacity-50"}),(0,$.jsx)("button",{onClick:v,disabled:!o.trim()||!c,className:"p-2 rounded-lg bg-[#6F4C9E] text-white disabled:opacity-50 disabled:cursor-not-allowed hover:bg-[#5d3f85] transition-colors",children:c?(0,$.jsx)(Is,{className:"w-5 h-5"}):(0,$.jsx)(kr,{className:"w-5 h-5 animate-spin"})})]})})]})})]})}function yF({text:e}
16){let[t,a]=(0,bt.useState)(""),[r,o]=(0,bt.useState)(0);return(0,bt.useEffect)(()=>{if(r<e.length){let n=setTimeout(()=>{a(i=>i+e[r]),o(i=>i+1)},20);return()=>clearTimeout(n)}},[r,e]),(0,$.jsxs)("span",{children:[t,r<e.length&&(0,$.jsx)(S.span,{animate:{opacity:[1,0]},transition:{duration:.5,repeat:1/0},className:"inline-block w-1 h-4 bg-[#2563EB] ml-1"})]})}function bF(){return(0,$.jsxs)("div",{className:"flex gap-1 items-center",children:[(0,$.jsx)("span",{className:"text-xs text-slate-500 mr-2",children:"Aigenci est\xE1 escribiendo"}),[0,1,2].map(e=>(0,$.jsx)(S.div,{className:"w-2 h-2 rounded-full bg-[#2563EB]",animate:{scale:[1,1.3,1],opacity:[.4,1,.4]},transition:{duration:1,repeat:1/0,delay:e*.2}},e))]})}var vl=N(Q()),Y=N(ae()),q1=["Analizando datos de mercado...","Procesando insights con IA...","Identificando oportunidades...","Optimizando estrategias...","Generando recomendaciones..."];function j1(){let[e,t]=(0,vl.useState)(0),[a,r]=(0,vl.useState)(0);return(0,vl.useEffect)(()=>{let o=setInterval(()=>{t(i=>i<100?i+2:i)},50),n=setInterval(()=>{r(i=>i<q1.length-1?i+1:i)},600);return()=>{clearInterval(o),clearInterval(n)}},[]),(0,Y.jsxs)("div",{className:"fixed inset-0 bg-white z-50 flex items-center justify-center overflow-hidden",children:[(0,Y.jsx)("div",{className:"absolute inset-0 bg-gradient-to-br from-[#EEECFF] via-white to-[#EEECFF] opacity-50"}),(0,Y.jsx)("div",{className:"absolute inset-0",children:[...Array(20)].map((o,n)=>(0,Y.jsx)(S.div,{className:"absolute w-1 h-1 bg-[#6F4C9E] rounded-full",initial:{x:Math.random()*window.innerWidth,y:Math.random()*window.innerHeight,opacity:0}
16,animate:{y:[null,Math.random()*window.innerHeight],opacity:[0,.5,0]},transition:{duration:3+Math.random()*2,repeat:1/0,ease:"linear"}},n))}),(0,Y.jsxs)("div",{className:"relative z-10 flex flex-col items-center gap-8",children:[(0,Y.jsxs)(S.div,{initial:{opacity:0,scale:.5},animate:{opacity:1,scale:1},transition:{duration:.5},className:"relative",children:[(0,Y.jsx)(S.div,{className:"absolute inset-0 rounded-full border-2 border-[#6F4C9E]",animate:{scale:[1,1.5,1],opacity:[.5,0,.5]},transition:{duration:2,repeat:1/0,ease:"easeInOut"}}),(0,Y.jsx)(S.div,{className:"absolute inset-0 rounded-full border-2 border-[#FD327B]",animate:{scale:[1,1.8,1],opacity:[.3,0,.3]},transition:{duration:2,repeat:1/0,ease:"easeInOut",delay:.5}}),(0,Y.jsx)(S.div,{animate:{rotate:[0,360]},transition:{duration:3,repeat:1/0,ease:"linear"},className:"w-24 h-24 rounded-full bg-gradient-to-br from-[#6F4C9E] to-[#FD327B] p-1 shadow-2xl",children:(0,Y.jsx)("div",{className:"w-full h-full rounded-full bg-white flex items-center justify-center",children:(0,Y.jsx)("img",{src:"https://files.taskade.com/space-files/109355bf-b6f6-4cd4-b29c-6769477f63e8/original/logo_a_aigenci-isotipo.png",alt:"Aigenci",className:"w-16 h-16 object-contain"})})})]}),(0,Y.jsxs)(S.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.3,duration:.5},className:"text-center",children:[(0,Y.jsx)("h2",{className:"text-3xl font-bold text-[#312740] mb-2",children:"Aigenci"}),(0,Y.jsx)(S.p,{className:"text-sm text-slate-600 font-medium",animate:{opacity:[.5,1,.5]},transition:{duration:2,repeat:1/0,ease:"easeInOut"},children:"An\xE1lisis de datos + IA = Resultados excepcionales"})]}),(0,Y.jsxs)("div",{className:"flex flex-col gap-4 w-72",children:[(0,Y.jsx)(hc,{icon:fo,label:"Cargando datos",delay:.5,color:"#6F4C9E",progress:e,threshold:25}),(0,Y.jsx)(hc,{icon:us,label:"Procesando con IA",delay:.7,color:"#FD327B",progress:e,threshold:50}),(0,Y.jsx)(hc,{icon:_a,label:"Optimizando insights",delay:.9,color:"#5FCFFA",progress:e,threshold:75}),(0,Y.jsx)(hc,{icon:mt,label:"Preparando resultados",delay:1.1,color:"#6F4C9E",progress:e,threshold:95})]}),(0,Y.jsxs)("div",{className:"w-72 space-y-2",children:[(0,Y.jsxs)("div",{className:"flex justify-between items-center",children:[(0,Y.jsx)(na,{mode:"wait",children:(0,Y.jsx)(S.span,{initial:{opacity:0,y:-10},animate:{opacity:1,y:0},exit:{opacity:0,y:10},className:"text-xs text-slate-600 font-medium",children:q1[a]},a)}),(0,Y.jsxs)("span",{className:"text-xs font-bold text-[#6F4C9E]",children:[e,"%"]})]}),(0,Y.jsx)("div",{className:"h-2 bg-slate-200 rounded-full overflow-hidden",children:(0,Y.jsx)(S.div,{className:"h-full bg-gradient-to-r from-[#6F4C9E] via-[#FD327B] to-[#5FCFFA] rounded-full",style:{width:`${e}%`},transition:{duration:.3}})})]})]})]})}function hc({icon:e,label:t,delay:a,color:r,progress:o,threshold:n}){let i=o>=n;return(0,Y.jsxs)(S.div,{initial:{opacity:0,x:-20},animate:{opacity:1,x:0},transition:{delay:a,duration:.5},className:"flex items-center gap-3",children:[(0,Y.jsx)(na,{mode:"wait",children:i?(0,Y.jsx)(S.div,{initial:{scale:0},animate:{scale:1},exit:{scale:0},className:"w-8 h-8 rounded-lg flex items-center justify-center bg-[#10B981]/15",children:(0,Y.jsx)(Jt,{className:"w-4 h-4 text-[#10B981]"})},"complete"):(0,Y.jsx)(S.div,{animate:{scale:[1,1.2,1]},transition:{duration:1.5,repeat:1/0,ease:"easeInOut",delay:a},className:"w-8 h-8 rounded-lg flex items-center justify-center",style:{backgroundColor:`${r}15`},children:(0,Y.jsx)(e,{className:"w-4 h-4",style:{color:r}})},"loading")}),(0,Y.jsx)("span",{className:`text-sm font-medium ${i?"text-[#10B981]":"text-slate-700"}`,children:t}),!i&&(0,Y.jsx)(S.div,{animate:{opacity:[0,1,0]},transition:{duration:1.5,repeat:1/0,ease:"easeInOut",delay:a+.2},className:"ml-auto",children:(0,Y.jsxs)("div",{className:"flex gap-1",children:[(0,Y.jsx)("div",{className:"w-1 h-1 rounded-full bg-slate-400"}),(0,Y.jsx)("div",{className:"w-1 h-1 rounded-full bg-slate-400"}),(0,Y.jsx)("div",{className:"w-1 h-1 rounded-full bg-slate-400"})]})})]})}var gc=N(Q()),wl=[{name:"Inicializando an\xE1lisis",duration:500},{name:"Conectando con IA",duration:400},{name:"Procesando datos de mercado",duration:600},{name:"Identificando patrones",duration:500},{name:"Optimizando estrategias",duration:400},{name:"Finalizando an\xE1lisis",duration:300}];
16function H1(e=3e3){let[t,a]=(0,gc.useState)({isLoading:!0,progress:0,stage:wl[0].name});return(0,gc.useEffect)(()=>{let r=Date.now(),o=0,n=0;(async()=>{for(let d=0;d<wl.length;d++){let u=wl[d];o=d,a({isLoading:!0,progress:Math.floor(d/wl.length*100),stage:u.name}),await new Promise(c=>setTimeout(c,u.duration)),n+=100/wl.length}let s=Date.now()-r,l=Math.max(0,e-s);l>0&&await new Promise(d=>setTimeout(d,l)),a({isLoading:!1,progress:100,stage:"Completado"})})()},[e]),t}var Tt=N(ae()),CF=function(){let[e,t]=(0,W1.useState)("resumen"),{isLoading:a}=H1(3e3);return(0,Tt.jsx)(Tt.Fragment,{children:(0,Tt.jsx)(na,{mode:"wait",children:a?(0,Tt.jsx)(j1,{},"loading"):(0,Tt.jsxs)(S.div,{initial:{opacity:0},animate:{opacity:1},transition:{duration:.5},className:"min-h-screen bg-white flex",children:[(0,Tt.jsx)(Zv,{activeSection:e,onSectionChange:t}),(0,Tt.jsx)("main",{className:"flex-1 overflow-y-auto bg-gradient-to-br from-slate-50 via-white to-blue-50/30 lg:ml-0",children:(0,Tt.jsxs)("div",{className:"pt-16 lg:pt-0",children:[" ",(0,Tt.jsx)(F1,{activeSection:e})]})}),(0,Tt.jsx)(U1,{})]},"content")})})},G1=CF;var Jm=N(ae());(0,X1.createRoot)(document.getElementById("root")).render((0,Jm.jsx)($1.StrictMode,{children:(0,Jm.jsx)(G1,{})})); 17/*! Bundled license information: 18 19react/cjs/react.production.min.js: 20 (** 21 * @license React 22 * react.production.min.js 23 * 24 * Copyright (c) Facebook, Inc. and its affiliates. 25 * 26 * This source code is licensed under the MIT license found in the 27 * LICENSE file in the root directory of this source tree. 28 *) 29 30scheduler/cjs/scheduler.production.min.js: 31 (** 32 * @license React 33 * scheduler.production.min.js 34 * 35 * Copyright (c) Facebook, Inc. and its affiliates. 36 * 37 * This source code is licensed under the MIT license found in the 38 * LICENSE file in the root directory of this source tree. 39 *) 40 41react-dom/cjs/react-dom.production.min.js: 42 (** 43 * @license React 44 * react-dom.production.min.js 45 * 46 * Copyright (c) Facebook, Inc. and its affiliates. 47 * 48 * This source code is licensed under the MIT license found in the 49 * LICENSE file in the root directory of this source tree. 50 *) 51 52react/cjs/react-jsx-runtime.production.min.js: 53 (** 54 * @license React 55 * react-jsx-runtime.production.min.js 56 * 57 * Copyright (c) Facebook, Inc. and its affiliates. 58 * 59 * This source code is licensed under the MIT license found in the 60 * LICENSE file in the root directory of this source tree. 61 *) 62 63lucide-react/dist/esm/shared/src/utils.js: 64lucide-react/dist/esm/defaultAttributes.js: 65lucide-react/dist/esm/Icon.js: 66lucide-react/dist/esm/createLucideIcon.js: 67lucide-react/dist/esm/icons/arrow-down.js: 68lucide-react/dist/esm/icons/arrow-right.js: 69lucide-react/dist/esm/icons/brain.js: 70lucide-react/dist/esm/icons/calendar.js: 71lucide-react/dist/esm/icons/chart-column.js: 72lucide-react/dist/esm/icons/chart-no-axes-column.js: 73lucide-react/dist/esm/icons/check.js: 74lucide-react/dist/esm/icons/chevron-right.js: 75lucide-react/dist/esm/icons/circle-check.js: 76lucide-react/dist/esm/icons/clock.js: 77lucide-react/dist/esm/icons/code-xml.js: 78lucide-react/dist/esm/icons/cog.js: 79lucide-react/dist/esm/icons/database.js: 80lucide-react/dist/esm/icons/dollar-sign.js: 81lucide-react/dist/esm/icons/file-text.js: 82lucide-react/dist/esm/icons/globe.js: 83lucide-react/dist/esm/icons/lightbulb.js: 84lucide-react/dist/esm/icons/loader-circle.js: 85lucide-react/dist/esm/icons/magnet.js: 86lucide-react/dist/esm/icons/mail.js: 87lucide-react/dist/esm/icons/map.js: 88lucide-react/dist/esm/icons/megaphone.js: 89lucide-react/dist/esm/icons/menu.js: 90lucide-react/dist/esm/icons/message-circle.js: 91lucide-react/dist/esm/icons/message-square.js: 92lucide-react/dist/esm/icons/package.js: 93lucide-react/dist/esm/icons/refresh-cw.js: 94lucide-react/dist/esm/icons/rocket.js: 95lucide-react/dist/esm/icons/rotate-ccw.js: 96lucide-react/dist/esm/icons/search.js: 97lucide-react/dist/esm/icons/send.js: 98lucide-react/dist/esm/icons/shield-check.js: 99lucide-react/dist/esm/icons/sparkles.js: 100lucide-react/dist/esm/icons/star.js: 101lucide-react/dist/esm/icons/target.js: 102lucide-react/dist/esm/icons/trending-down.js: 103lucide-react/dist/esm/icons/trending-up.js: 104lucide-react/dist/esm/icons/triangle-alert.js: 105lucide-react/dist/esm/icons/x.js: 106lucide-react/dist/esm/icons/zap.js: 107lucide-react/dist/esm/lucide-react.js: 108 (** 109 * @license lucide-react v0.542.0 - ISC 110 * 111 * This source code is licensed under the ISC license. 112 * See the LICENSE file in the root directory of this source tree. 113 *) 114*/
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.