PageSourceSearch

https://www.revola.ai/assets/index-C6RwiXjm.js

js revola.ai collected 2026-10-05 13:42:59 UTC 751,410 bytes, 601 lines download raw bytes

vendor: 4,137 bytes, lines 1-9
1var qh=e=>{throw TypeError(e)};var Wc=(e,t,n)=>t.has(e)||qh("Cannot "+n);var _=(e,t,n)=>(Wc(e,t,"read from private field"),n?n.call(e):t.get(e)),ie=(e,t,n)=>t.has(e)?qh("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),q=(e,t,n,r)=>(Wc(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),We=(e,t,n)=>(Wc(e,t,"access private method"),n);var Jo=(e,t,n,r)=>({set _(s){q(e,t,s,n)},get _(){return _(e,t,r)}});function Rj(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const s in r)if(s!=="default"&&!(s in e)){const o=Object.getOwnPropertyDescriptor(r,s);o&&Object.defineProperty(e,s,o.get?o:{enumerable:!0,get:()=>r[s]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const o of s)if(o.type==="childList")for(const a of o.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(s){const o={};return s.integrity&&(o.integrity=s.integrity),s.referrerPolicy&&(o.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?o.credentials="include":s.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(s){if(s.ep)return;s.ep=!0;const o=n(s);fetch(s.href,o)}})();function sy(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var iy={exports:{}},tc={},oy={exports:{}},J={};/**
2 * @license React
3 * react.production.min.js
4 *
5 * Copyright (c) Facebook, Inc. and its affiliates.
6 *
7 * This source code is licensed under the MIT license found in the
8 * LICENSE file in the root directory of this source tree.
9 */var Oo=Symbol.for("react.element"),Mj=Symbol.for("react.portal"),_j=Symbol.for("react.fragment"),Dj=Symbol.for("react.strict_mode"),Lj=Symbol.for("react.profiler"),Fj=Symbol.for("react.provider"),Ij=Symbol.for("react.context"),Oj=Symbol.for("react.forward_ref"),Vj=Symbol.for("react.suspense"),Bj=Symbol.for("react.memo"),zj=Symbol.for("react.lazy"),Zh=Symbol.iterator;function $j(e){return e===null||typeof e!="object"?null:(e=Zh&&e[Zh]||e["@@iterator"],typeof e=="function"?e:null)}var ay={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},ly=Object.assign,cy={};function ui(e,t,n){this.props=e,this.context=t,this.refs=cy,this.updater=n||ay}ui.prototype.isReactComponent={};ui.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")};ui.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function uy(){}uy.prototype=ui.prototype;function Hf(e,t,n){this.props=e,this.context=t,this.refs=cy,this.updater=n||ay}var Gf=Hf.prototype=new uy;Gf.constructor=Hf;ly(Gf,ui.prototype);Gf.isPureReactComponent=!0;var Jh=Array.isArray,dy=Object.prototype.hasOwnProperty,Kf={current:null},fy={key:!0,ref:!0,__self:!0,__source:!0};function py(e,t,n){var r,s={},o=null,a=null;if(t!=null)for(r in t.ref!==void 0&&(a=t.ref),t.key!==void 0&&(o=""+t.key),t)dy.call(t,r)&&!fy.hasOwnProperty(r)&&(s[r]=t[r]);var l=arguments.length-2;if(l===1)s.children=n;else if(1<l){for(var c=Array(l),u=0;u<l;u++)c[u]=arguments[u+2];s.children=c}if(e&&e.defaultProps)for(r in l=e.defaultProps,l)s[r]===void 0&&(s[r]=l[r]);return{$$typeof:Oo,type:e,key:o,ref:a,props:s,_owner:Kf.current}}function Wj(e,t){return{$$typeof:Oo,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Yf(e){return typeof e=="object"&&e!==null&&e.$$typeof===Oo}function Uj(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var em=/\/+/g;function Uc(e,t){return typeof e=="object"&&e!==null&&e.key!=null?Uj(""+e.key):t.toString(36)}
vendor: 4,749 bytes, lines 9-17
9function Ia(e,t,n,r,s){var o=typeof e;(o==="undefined"||o==="boolean")&&(e=null);var a=!1;if(e===null)a=!0;else switch(o){case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case Oo:case Mj:a=!0}}if(a)return a=e,s=s(a),e=r===""?"."+Uc(a,0):r,Jh(s)?(n="",e!=null&&(n=e.replace(em,"$&/")+"/"),Ia(s,t,n,"",function(u){return u})):s!=null&&(Yf(s)&&(s=Wj(s,n+(!s.key||a&&a.key===s.key?"":(""+s.key).replace(em,"$&/")+"/")+e)),t.push(s)),1;if(a=0,r=r===""?".":r+":",Jh(e))for(var l=0;l<e.length;l++){o=e[l];var c=r+Uc(o,l);a+=Ia(o,t,n,c,s)}else if(c=$j(e),typeof c=="function")for(e=c.call(e),l=0;!(o=e.next()).done;)o=o.value,c=r+Uc(o,l++),a+=Ia(o,t,n,c,s);else if(o==="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 a}function ea(e,t,n){if(e==null)return e;var r=[],s=0;return Ia(e,r,"","",function(o){return t.call(n,o,s++)}),r}function Hj(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var st={current:null},Oa={transition:null},Gj={ReactCurrentDispatcher:st,ReactCurrentBatchConfig:Oa,ReactCurrentOwner:Kf};function hy(){throw Error("act(...) is not supported in production builds of React.")}J.Children={map:ea,forEach:function(e,t,n){ea(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return ea(e,function(){t++}),t},toArray:function(e){return ea(e,function(t){return t})||[]},only:function(e){if(!Yf(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};J.Component=ui;J.Fragment=_j;J.Profiler=Lj;J.PureComponent=Hf;J.StrictMode=Dj;J.Suspense=Vj;J.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Gj;J.act=hy;J.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=ly({},e.props),s=e.key,o=e.ref,a=e._owner;if(t!=null){if(t.ref!==void 0&&(o=t.ref,a=Kf.current),t.key!==void 0&&(s=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(c in t)dy.call(t,c)&&!fy.hasOwnProperty(c)&&(r[c]=t[c]===void 0&&l!==void 0?l[c]:t[c])}var c=arguments.length-2;if(c===1)r.children=n;else if(1<c){l=Array(c);for(var u=0;u<c;u++)l[u]=arguments[u+2];r.children=l}return{$$typeof:Oo,type:e.type,key:s,ref:o,props:r,_owner:a}};J.createContext=function(e){return e={$$typeof:Ij,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:Fj,_context:e},e.Consumer=e};J.createElement=py;J.createFactory=function(e){var t=py.bind(null,e);return t.type=e,t};J.createRef=function(){return{current:null}};J.forwardRef=function(e){return{$$typeof:Oj,render:e}};J.isValidElement=Yf;J.lazy=function(e){return{$$typeof:zj,_payload:{_status:-1,_result:e},_init:Hj}};J.memo=function(e,t){return{$$typeof:Bj,type:e,compare:t===void 0?null:t}};J.startTransition=function(e){var t=Oa.transition;Oa.transition={};try{e()}finally{Oa.transition=t}};J.unstable_act=hy;J.useCallback=function(e,t){return st.current.useCallback(e,t)};J.useContext=function(e){return st.current.useContext(e)};J.useDebugValue=function(){};J.useDeferredValue=function(e){return st.current.useDeferredValue(e)};J.useEffect=function(e,t){return st.current.useEffect(e,t)};J.useId=function(){return st.current.useId()};J.useImperativeHandle=function(e,t,n){return st.current.useImperativeHandle(e,t,n)};J.useInsertionEffect=function(e,t){return st.current.useInsertionEffect(e,t)};J.useLayoutEffect=function(e,t){return st.current.useLayoutEffect(e,t)};J.useMemo=function(e,t){return st.current.useMemo(e,t)};J.useReducer=function(e,t,n){return st.current.useReducer(e,t,n)};J.useRef=function(e){return st.current.useRef(e)};J.useState=function(e){return st.current.useState(e)};J.useSyncExternalStore=function(e,t,n){return st.current.useSyncExternalStore(e,t,n)};J.useTransition=function(){return st.current.useTransition()};J.version="18.3.1";oy.exports=J;var h=oy.exports;const R=sy(h),my=Rj({__proto__:null,default:R},[h]);/**
10 * @license React
11 * react-jsx-runtime.production.min.js
12 *
13 * Copyright (c) Facebook, Inc. and its affiliates.
14 *
15 * This source code is licensed under the MIT license found in the
16 * LICENSE file in the root directory of this source tree.
17 */var Kj=h,Yj=Symbol.for("react.element"),Qj=Symbol.for("react.fragment"),Xj=Object.prototype.hasOwnProperty,qj=Kj.__SECRET_INT
vendor: 11,413 bytes, lines 17-34
17ERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Zj={key:!0,ref:!0,__self:!0,__source:!0};function xy(e,t,n){var r,s={},o=null,a=null;n!==void 0&&(o=""+n),t.key!==void 0&&(o=""+t.key),t.ref!==void 0&&(a=t.ref);for(r in t)Xj.call(t,r)&&!Zj.hasOwnProperty(r)&&(s[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)s[r]===void 0&&(s[r]=t[r]);return{$$typeof:Yj,type:e,key:o,ref:a,props:s,_owner:qj.current}}tc.Fragment=Qj;tc.jsx=xy;tc.jsxs=xy;iy.exports=tc;var i=iy.exports,gy={exports:{}},bt={},yy={exports:{}},vy={};/**
18 * @license React
19 * scheduler.production.min.js
20 *
21 * Copyright (c) Facebook, Inc. and its affiliates.
22 *
23 * This source code is licensed under the MIT license found in the
24 * LICENSE file in the root directory of this source tree.
25 */(function(e){function t(N,A){var B=N.length;N.push(A);e:for(;0<B;){var F=B-1>>>1,$=N[F];if(0<s($,A))N[F]=A,N[B]=$,B=F;else break e}}function n(N){return N.length===0?null:N[0]}function r(N){if(N.length===0)return null;var A=N[0],B=N.pop();if(B!==A){N[0]=B;e:for(var F=0,$=N.length,K=$>>>1;F<K;){var se=2*(F+1)-1,ke=N[se],ee=se+1,De=N[ee];if(0>s(ke,B))ee<$&&0>s(De,ke)?(N[F]=De,N[ee]=B,F=ee):(N[F]=ke,N[se]=B,F=se);else if(ee<$&&0>s(De,B))N[F]=De,N[ee]=B,F=ee;else break e}}return A}function s(N,A){var B=N.sortIndex-A.sortIndex;return B!==0?B:N.id-A.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var a=Date,l=a.now();e.unstable_now=function(){return a.now()-l}}var c=[],u=[],d=1,p=null,f=3,m=!1,v=!1,x=!1,b=typeof setTimeout=="function"?setTimeout:null,g=typeof clearTimeout=="function"?clearTimeout:null,y=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function w(N){for(var A=n(u);A!==null;){if(A.callback===null)r(u);else if(A.startTime<=N)r(u),A.sortIndex=A.expirationTime,t(c,A);else break;A=n(u)}}function j(N){if(x=!1,w(N),!v)if(n(c)!==null)v=!0,z(k);else{var A=n(u);A!==null&&M(j,A.startTime-N)}}function k(N,A){v=!1,x&&(x=!1,g(E),E=-1),m=!0;var B=f;try{for(w(A),p=n(c);p!==null&&(!(p.expirationTime>A)||N&&!D());){var F=p.callback;if(typeof F=="function"){p.callback=null,f=p.priorityLevel;var $=F(p.expirationTime<=A);A=e.unstable_now(),typeof $=="function"?p.callback=$:p===n(c)&&r(c),w(A)}else r(c);p=n(c)}if(p!==null)var K=!0;else{var se=n(u);se!==null&&M(j,se.startTime-A),K=!1}return K}finally{p=null,f=B,m=!1}}var T=!1,P=null,E=-1,S=5,C=-1;function D(){return!(e.unstable_now()-C<S)}function L(){if(P!==null){var N=e.unstable_now();C=N;var A=!0;try{A=P(!0,N)}finally{A?G():(T=!1,P=null)}}else T=!1}var G;if(typeof y=="function")G=function(){y(L)};else if(typeof MessageChannel<"u"){var V=new MessageChannel,U=V.port2;V.port1.onmessage=L,G=function(){U.postMessage(null)}}else G=function(){b(L,0)};function z(N){P=N,T||(T=!0,G())}function M(N,A){E=b(function(){N(e.unstable_now())},A)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(N){N.callback=null},e.unstable_continueExecution=function(){v||m||(v=!0,z(k))},e.unstable_forceFrameRate=function(N){0>N||125<N?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):S=0<N?Math.floor(1e3/N):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_getFirstCallbackNode=function(){return n(c)},e.unstable_next=function(N){switch(f){case 1:case 2:case 3:var A=3;break;default:A=f}var B=f;f=A;try{return N()}finally{f=B}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(N,A){switch(N){case 1:case 2:case 3:case 4:case 5:break;default:N=3}var B=f;f=N;try{return A()}finally{f=B}},e.unstable_scheduleCallback=function(N,A,B){var F=e.unstable_now();switch(typeof B=="object"&&B!==null?(B=B.delay,B=typeof B=="number"&&0<B?F+B:F):B=F,N){case 1:var $=-1;break;case 2:$=250;break;case 5:$=1073741823;break;case 4:$=1e4;break;default:$=5e3}return $=B+$,N={id:d++,callback:A,priorityLevel:N,startTime:B,expirationTime:$,sortIndex:-1},B>F?(N.sortIndex=B,t(u,N),n(c)===null&&N===n(u)&&(x?(g(E),E=-1):x=!0,M(j,B-F))):(N.sortIndex=$,t(c,N),v||m||(v=!0,z(k))),N},e.unstable_shouldYield=D,e.unstable_wrapCallback=function(N){var A=f;return function(){var B=f;f=A;try{return N.apply(this,arguments)}finally{f=B}}}})(vy);yy.exports=vy;var Jj=yy.exports;/**
26 * @license React
27 * react-dom.production.min.js
28 *
29 * Copyright (c) Facebook, Inc. and its affiliates.
30 *
31 * This source code is licensed under the MIT license found in the
32 * LICENSE file in the root directory of this source tree.
33 */var ek=h,wt=Jj;function O(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var wy=new Set,oo={};function rs(e,t){Zs(e,t),Zs(e+"Capture",t)}function Zs(e,t){for(oo[e]=t,e=0;e<t.length;e++)wy.add(t[e])}var Pn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ld=Object.prototype.hasOwnProperty,tk=/^[: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]*$/,tm={},nm={};function nk(e){return ld.call(nm,e)?!0:ld.call(tm,e)?!1:tk.test(e)?nm[e]=!0:(tm[e]=!0,!1)}function rk(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function sk(e,t,n,r){if(t===null||typeof t>"u"||rk(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function it(e,t,n,r,s,o,a){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=s,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=a}var $e={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){$e[e]=new it(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 it(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){$e[e]=new it(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){$e[e]=new it(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 it(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){$e[e]=new it(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){$e[e]=new it(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){$e[e]=new it(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){$e[e]=new it(e,5,!1,e.toLowerCase(),null,!1,!1)});var Qf=/[\-:]([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(Qf,Xf);$e[t]=new it(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(Qf,Xf);$e[t]=new it(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(Qf,Xf);$e[t]=new it(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){$e[e]=new it(e,1,!1,e.toLowerCase(),null,!1,!1)});$e.xlinkHref=new it("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){$e[e]=new it(e,1,!1,e.toLowerCase(),null,!0,!0)});function qf(e,t,n,r){var s=$e.hasOwnProperty(t)?$e[t]:null;(s!==null?s.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(sk(t,n,s,r)&&(n=null),r||s===null?nk(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):s.mustUseProperty?e[s.propertyName]=n===null?s.type===3?!1:"":n:(t=s.attributeName,r=s.attributeNamespace,n===null?e.removeAttribute(t):(s=s.type,n=s===3||s===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var Fn=ek.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,ta=Symbol.for("react.element"),ys=Symbol.for("react.portal"),vs=Symbol.for("react.fragment"),Zf=Symbol.for("react.strict_mode"),cd=Symbol.for("react.profiler"),by=Symbol.for("react.provider"),jy=Symbol.for("react.context"),Jf=Symbol.for("react.forward_ref"),ud=Symbol.for("react.suspense"),dd=Symbol.for("react.suspense_list"),ep=Symbol.for("react.memo"),Gn=Symbol.for("react.lazy"),ky=Symbol.for("react.offscreen"),rm=Symbol.iterator;function ji(e){return e===null||typeof e!="object"?null:(e=rm&&e[rm]||e["@@iterator"],typeof e=="function"?e:null)}var we=Object.assign,Hc;function Oi(e){if(Hc===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Hc=t&&t[1]||""}return`
34`+Hc+e}var Gc=!1;function Kc(e,t){if(!e||Gc)return"";Gc=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}
vendor: 15,597 bytes, lines 34-37
34catch(u){if(u&&r&&typeof u.stack=="string"){for(var s=u.stack.split(`
35`),o=r.stack.split(`
36`),a=s.length-1,l=o.length-1;1<=a&&0<=l&&s[a]!==o[l];)l--;for(;1<=a&&0<=l;a--,l--)if(s[a]!==o[l]){if(a!==1||l!==1)do if(a--,l--,0>l||s[a]!==o[l]){var c=`
37`+s[a].replace(" at new "," at ");return e.displayName&&c.includes("<anonymous>")&&(c=c.replace("<anonymous>",e.displayName)),c}while(1<=a&&0<=l);break}}}finally{Gc=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Oi(e):""}function ik(e){switch(e.tag){case 5:return Oi(e.type);case 16:return Oi("Lazy");case 13:return Oi("Suspense");case 19:return Oi("SuspenseList");case 0:case 2:case 15:return e=Kc(e.type,!1),e;case 11:return e=Kc(e.type.render,!1),e;case 1:return e=Kc(e.type,!0),e;default:return""}}function fd(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 vs:return"Fragment";case ys:return"Portal";case cd:return"Profiler";case Zf:return"StrictMode";case ud:return"Suspense";case dd:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case jy:return(e.displayName||"Context")+".Consumer";case by:return(e._context.displayName||"Context")+".Provider";case Jf:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ep:return t=e.displayName||null,t!==null?t:fd(e.type)||"Memo";case Gn:t=e._payload,e=e._init;try{return fd(e(t))}catch{}}return null}function ok(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 fd(t);case 8:return t===Zf?"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 hr(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Ny(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function ak(e){var t=Ny(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var s=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return s.call(this)},set:function(a){r=""+a,o.call(this,a)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(a){r=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function na(e){e._valueTracker||(e._valueTracker=ak(e))}function Sy(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Ny(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function ul(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 pd(e,t){var n=t.checked;return we({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function sm(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=hr(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Ey(e,t){t=t.checked,t!=null&&qf(e,"checked",t,!1)}function hd(e,t){Ey(e,t);var n=hr(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?md(e,t.type,n):t.hasOwnProperty("defaultValue")&&md(e,t.type,hr(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function im(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function md(e,t,n){(t!=="number"||ul(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Vi=Array.isArray;function Ds(e,t,n,r){if(e=e.options,t){t={};for(var s=0;s<n.length;s++)t["$"+n[s]]=!0;for(n=0;n<e.length;n++)s=t.hasOwnProperty("$"+e[n].value),e[n].selected!==s&&(e[n].selected=s),s&&r&&(e[n].defaultSelected=!0)}else{for(n=""+hr(n),t=null,s=0;s<e.length;s++){if(e[s].value===n){e[s].selected=!0,r&&(e[s].defaultSelected=!0);return}t!==null||e[s].disabled||(t=e[s])}t!==null&&(t.selected=!0)}}function xd(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(O(91));return we({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function om(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(O(92));if(Vi(n)){if(1<n.length)throw Error(O(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:hr(n)}}function Cy(e,t){var n=hr(t.value),r=hr(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function am(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function Ty(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 gd(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?Ty(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var ra,Py=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,s){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,s)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(ra=ra||document.createElement("div"),ra.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ra.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function ao(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Hi={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},lk=["Webkit","ms","Moz","O"];Object.keys(Hi).forEach(function(e){lk.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Hi[t]=Hi[e]})});function Ay(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Hi.hasOwnProperty(e)&&Hi[e]?(""+t).trim():t+"px"}function Ry(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,s=Ay(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,s):e[n]=s}}var ck=we({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 yd(e,t){if(t){if(ck[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(O(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(O(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(O(61))}if(t.style!=null&&typeof t.style!="object")throw Error(O(62))}}function vd(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 wd=null;function tp(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var bd=null,Ls=null,Fs=null;function lm(e){if(e=zo(e)){if(typeof bd!="function")throw Error(O(280));var t=e.stateNode;t&&(t=oc(t),bd(e.stateNode,e.type,t))}}function My(e){Ls?Fs?Fs.push(e):Fs=[e]:Ls=e}function _y(){if(Ls){var e=Ls,t=Fs;if(Fs=Ls=null,lm(e),t)for(e=0;e<t.length;e++)lm(t[e])}}function Dy(e,t){return e(t)}function Ly(){}var Yc=!1;function Fy(e,t,n){if(Yc)return e(t,n);Yc=!0;try{return Dy(e,t,n)}finally{Yc=!1,(Ls!==null||Fs!==null)&&(Ly(),_y())}}function lo(e,t){var n=e.stateNode;if(n===null)return null;var r=oc(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(O(231,t,typeof n));return n}var jd=!1;if(Pn)try{var ki={};Object.defineProperty(ki,"passive",{get:function(){jd=!0}}),window.addEventListener("test",ki,ki),window.removeEventListener("test",ki,ki)}catch{jd=!1}function uk(e,t,n,r,s,o,a,l,c){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(d){this.onError(d)}}var Gi=!1,dl=null,fl=!1,kd=null,dk={onError:function(e){Gi=!0,dl=e}};function fk(e,t,n,r,s,o,a,l,c){Gi=!1,dl=null,uk.apply(dk,arguments)}function pk(e,t,n,r,s,o,a,l,c){if(fk.apply(this,arguments),Gi){if(Gi){var u=dl;Gi=!1,dl=null}else throw Error(O(198));fl||(fl=!0,kd=u)}}function ss(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function Iy(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 cm(e){if(ss(e)!==e)throw Error(O(188))}function hk(e){var t=e.alternate;if(!t){if(t=ss(e),t===null)throw Error(O(188));return t!==e?null:e}for(var n=e,r=t;;){var s=n.return;if(s===null)break;var o=s.alternate;if(o===null){if(r=s.return,r!==null){n=r;continue}break}if(s.child===o.child){for(o=s.child;o;){if(o===n)return cm(s),e;if(o===r)return cm(s),t;o=o.sibling}throw Error(O(188))}if(n.return!==r.return)n=s,r=o;else{for(var a=!1,l=s.child;l;){if(l===n){a=!0,n=s,r=o;break}if(l===r){a=!0,r=s,n=o;break}l=l.sibling}if(!a){for(l=o.child;l;){if(l===n){a=!0,n=o,r=s;break}if(l===r){a=!0,r=o,n=s;break}l=l.sibling}if(!a)throw Error(O(189))}}if(n.alternate!==r)throw Error(O(190))}if(n.tag!==3)throw Error(O(188));return n.stateNode.current===n?e:t}function Oy(e){return e=hk(e),e!==null?Vy(e):null}function Vy(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=Vy(e);if(t!==null)return t;e=e.sibling}return null}var By=wt.unstable_scheduleCallback,um=wt.unstable_cancelCallback,mk=wt.unstable_shouldYield,xk=wt.unstable_requestPaint,Se=wt.unstable_now,gk=wt.unstable_getCurrentPriorityLevel,np=wt.unstable_ImmediatePriority,zy=wt.unstable_UserBlockingPriority,pl=wt.unstable_NormalPriority,yk=wt.unstable_LowPriority,$y=wt.unstable_IdlePriority,nc=null,pn=null;function vk(e){if(pn&&typeof pn.onCommitFiberRoot=="function")try{pn.onCommitFiberRoot(nc,e,void 0,(e.current.flags&128)===128)}catch{}}var Ht=Math.clz32?Math.clz32:jk,wk=Math.log,bk=Math.LN2;function jk(e){return e>>>=0,e===0?32:31-(wk(e)/bk|0)|0}var sa=64,ia=4194304;function Bi(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 hl(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,s=e.suspendedLanes,o=e.pingedLanes,a=n&268435455;if(a!==0){var l=a&~s;l!==0?r=Bi(l):(o&=a,o!==0&&(r=Bi(o)))}else a=n&~s,a!==0?r=Bi(a):o!==0&&(r=Bi(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&s)&&(s=r&-r,o=t&-t,s>=o||s===16&&(o&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-Ht(t),s=1<<n,r|=e[n],t&=~s;return r}function kk(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 Nk(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,s=e.expirationTimes,o=e.pendingLanes;0<o;){var a=31-Ht(o),l=1<<a,c=s[a];c===-1?(!(l&n)||l&r)&&(s[a]=kk(l,t)):c<=t&&(e.expiredLanes|=l),o&=~l}}function Nd(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Wy(){var e=sa;return sa<<=1,!(sa&4194240)&&(sa=64),e}function Qc(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Vo(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Ht(t),e[t]=n}function Sk(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var s=31-Ht(n),o=1<<s;t[s]=0,r[s]=-1,e[s]=-1,n&=~o}}function rp(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Ht(n),s=1<<r;s&t|e[r]&t&&(e[r]|=t),n&=~s}}var oe=0;function Uy(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var Hy,sp,Gy,Ky,Yy,Sd=!1,oa=[],ir=null,or=null,ar=null,co=new Map,uo=new Map,Yn=[],Ek="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 dm(e,t){switch(e){case"focusin":case"focusout":ir=null;break;case"dragenter":case"dragleave":or=null;break;case"mouseover":case"mouseout":ar=null;break;case"pointerover":case"pointerout":co.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":uo.delete(t.pointerId)}}function Ni(e,t,n,r,s,o){return e===null||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[s]},t!==null&&(t=zo(t),t!==null&&sp(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,s!==null&&t.indexOf(s)===-1&&t.push(s),e)}
vendor: 12,981 bytes, line 37
37function Ck(e,t,n,r,s){switch(t){case"focusin":return ir=Ni(ir,e,t,n,r,s),!0;case"dragenter":return or=Ni(or,e,t,n,r,s),!0;case"mouseover":return ar=Ni(ar,e,t,n,r,s),!0;case"pointerover":var o=s.pointerId;return co.set(o,Ni(co.get(o)||null,e,t,n,r,s)),!0;case"gotpointercapture":return o=s.pointerId,uo.set(o,Ni(uo.get(o)||null,e,t,n,r,s)),!0}return!1}function Qy(e){var t=Ir(e.target);if(t!==null){var n=ss(t);if(n!==null){if(t=n.tag,t===13){if(t=Iy(n),t!==null){e.blockedOn=t,Yy(e.priority,function(){Gy(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Va(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Ed(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);wd=r,n.target.dispatchEvent(r),wd=null}else return t=zo(n),t!==null&&sp(t),e.blockedOn=n,!1;t.shift()}return!0}function fm(e,t,n){Va(e)&&n.delete(t)}function Tk(){Sd=!1,ir!==null&&Va(ir)&&(ir=null),or!==null&&Va(or)&&(or=null),ar!==null&&Va(ar)&&(ar=null),co.forEach(fm),uo.forEach(fm)}function Si(e,t){e.blockedOn===t&&(e.blockedOn=null,Sd||(Sd=!0,wt.unstable_scheduleCallback(wt.unstable_NormalPriority,Tk)))}function fo(e){function t(s){return Si(s,e)}if(0<oa.length){Si(oa[0],e);for(var n=1;n<oa.length;n++){var r=oa[n];r.blockedOn===e&&(r.blockedOn=null)}}for(ir!==null&&Si(ir,e),or!==null&&Si(or,e),ar!==null&&Si(ar,e),co.forEach(t),uo.forEach(t),n=0;n<Yn.length;n++)r=Yn[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<Yn.length&&(n=Yn[0],n.blockedOn===null);)Qy(n),n.blockedOn===null&&Yn.shift()}var Is=Fn.ReactCurrentBatchConfig,ml=!0;function Pk(e,t,n,r){var s=oe,o=Is.transition;Is.transition=null;try{oe=1,ip(e,t,n,r)}finally{oe=s,Is.transition=o}}function Ak(e,t,n,r){var s=oe,o=Is.transition;Is.transition=null;try{oe=4,ip(e,t,n,r)}finally{oe=s,Is.transition=o}}function ip(e,t,n,r){if(ml){var s=Ed(e,t,n,r);if(s===null)iu(e,t,r,xl,n),dm(e,r);else if(Ck(s,e,t,n,r))r.stopPropagation();else if(dm(e,r),t&4&&-1<Ek.indexOf(e)){for(;s!==null;){var o=zo(s);if(o!==null&&Hy(o),o=Ed(e,t,n,r),o===null&&iu(e,t,r,xl,n),o===s)break;s=o}s!==null&&r.stopPropagation()}else iu(e,t,r,null,n)}}var xl=null;function Ed(e,t,n,r){if(xl=null,e=tp(r),e=Ir(e),e!==null)if(t=ss(e),t===null)e=null;else if(n=t.tag,n===13){if(e=Iy(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return xl=e,null}function Xy(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(gk()){case np:return 1;case zy:return 4;case pl:case yk:return 16;case $y:return 536870912;default:return 16}default:return 16}}var tr=null,op=null,Ba=null;function qy(){if(Ba)return Ba;var e,t=op,n=t.length,r,s="value"in tr?tr.value:tr.textContent,o=s.length;for(e=0;e<n&&t[e]===s[e];e++);var a=n-e;for(r=1;r<=a&&t[n-r]===s[o-r];r++);return Ba=s.slice(e,1<r?1-r:void 0)}function za(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 aa(){return!0}function pm(){return!1}function jt(e){function t(n,r,s,o,a){this._reactName=n,this._targetInst=s,this.type=r,this.nativeEvent=o,this.target=a,this.currentTarget=null;for(var l in e)e.hasOwnProperty(l)&&(n=e[l],this[l]=n?n(o):o[l]);return this.isDefaultPrevented=(o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===!1)?aa:pm,this.isPropagationStopped=pm,this}return we(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=aa)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=aa)},persist:function(){},isPersistent:aa}),t}var di={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ap=jt(di),Bo=we({},di,{view:0,detail:0}),Rk=jt(Bo),Xc,qc,Ei,rc=we({},Bo,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:lp,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!==Ei&&(Ei&&e.type==="mousemove"?(Xc=e.screenX-Ei.screenX,qc=e.screenY-Ei.screenY):qc=Xc=0,Ei=e),Xc)},movementY:function(e){return"movementY"in e?e.movementY:qc}}),hm=jt(rc),Mk=we({},rc,{dataTransfer:0}),_k=jt(Mk),Dk=we({},Bo,{relatedTarget:0}),Zc=jt(Dk),Lk=we({},di,{animationName:0,elapsedTime:0,pseudoElement:0}),Fk=jt(Lk),Ik=we({},di,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Ok=jt(Ik),Vk=we({},di,{data:0}),mm=jt(Vk),Bk={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},zk={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"},$k={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Wk(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=$k[e])?!!t[e]:!1}function lp(){return Wk}var Uk=we({},Bo,{key:function(e){if(e.key){var t=Bk[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=za(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?zk[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:lp,charCode:function(e){return e.type==="keypress"?za(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?za(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Hk=jt(Uk),Gk=we({},rc,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),xm=jt(Gk),Kk=we({},Bo,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:lp}),Yk=jt(Kk),Qk=we({},di,{propertyName:0,elapsedTime:0,pseudoElement:0}),Xk=jt(Qk),qk=we({},rc,{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}),Zk=jt(qk),Jk=[9,13,27,32],cp=Pn&&"CompositionEvent"in window,Ki=null;Pn&&"documentMode"in document&&(Ki=document.documentMode);var e5=Pn&&"TextEvent"in window&&!Ki,Zy=Pn&&(!cp||Ki&&8<Ki&&11>=Ki),gm=" ",ym=!1;function Jy(e,t){switch(e){case"keyup":return Jk.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ev(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var ws=!1;function t5(e,t){switch(e){case"compositionend":return ev(t);case"keypress":return t.which!==32?null:(ym=!0,gm);case"textInput":return e=t.data,e===gm&&ym?null:e;default:return null}}function n5(e,t){if(ws)return e==="compositionend"||!cp&&Jy(e,t)?(e=qy(),Ba=op=tr=null,ws=!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 Zy&&t.locale!=="ko"?null:t.data;default:return null}}var r5={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 vm(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!r5[e.type]:t==="textarea"}function tv(e,t,n,r){My(r),t=gl(t,"onChange"),0<t.length&&(n=new ap("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Yi=null,po=null;function s5(e){fv(e,0)}function sc(e){var t=ks(e);if(Sy(t))return e}function i5(e,t){if(e==="change")return t}var nv=!1;if(Pn){var Jc;if(Pn){var eu="oninput"in document;if(!eu){var wm=document.createElement("div");wm.setAttribute("oninput","return;"),eu=typeof wm.oninput=="function"}Jc=eu}else Jc=!1;nv=Jc&&(!document.documentMode||9<document.documentMode)}function bm(){Yi&&(Yi.detachEvent("onpropertychange",rv),po=Yi=null)}function rv(e){if(e.propertyName==="value"&&sc(po)){var t=[];tv(t,po,e,tp(e)),Fy(s5,t)}}function o5(e,t,n){e==="focusin"?(bm(),Yi=t,po=n,Yi.attachEvent("onpropertychange",rv)):e==="focusout"&&bm()}function a5(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return sc(po)}function l5(e,t){if(e==="click")return sc(t)}function c5(e,t){if(e==="input"||e==="change")return sc(t)}function u5(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Yt=typeof Object.is=="function"?Object.is:u5;function ho(e,t){if(Yt(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var s=n[r];if(!ld.call(t,s)||!Yt(e[s],t[s]))return!1}return!0}function jm(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function km(e,t){var n=jm(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=jm(n)}}function sv(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?sv(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function iv(){for(var e=window,t=ul();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=ul(e.document)}return t}function up(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 d5(e){var t=iv(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&sv(n.ownerDocument.documentElement,n)){if(r!==null&&up(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var s=n.textContent.length,o=Math.min(r.start,s);r=r.end===void 0?o:Math.min(r.end,s),!e.extend&&o>r&&(s=r,r=o,o=s),s=km(n,o);var a=km(n,r);s&&a&&(e.rangeCount!==1||e.anchorNode!==s.node||e.anchorOffset!==s.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&(t=t.createRange(),t.setStart(s.node,s.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var f5=Pn&&"documentMode"in document&&11>=document.documentMode,bs=null,Cd=null,Qi=null,Td=!1;function Nm(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Td||bs==null||bs!==ul(r)||(r=bs,"selectionStart"in r&&up(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,352 bytes, line 37
37sNode:r.focusNode,focusOffset:r.focusOffset}),Qi&&ho(Qi,r)||(Qi=r,r=gl(Cd,"onSelect"),0<r.length&&(t=new ap("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=bs)))}function la(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var js={animationend:la("Animation","AnimationEnd"),animationiteration:la("Animation","AnimationIteration"),animationstart:la("Animation","AnimationStart"),transitionend:la("Transition","TransitionEnd")},tu={},ov={};Pn&&(ov=document.createElement("div").style,"AnimationEvent"in window||(delete js.animationend.animation,delete js.animationiteration.animation,delete js.animationstart.animation),"TransitionEvent"in window||delete js.transitionend.transition);function ic(e){if(tu[e])return tu[e];if(!js[e])return e;var t=js[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in ov)return tu[e]=t[n];return e}var av=ic("animationend"),lv=ic("animationiteration"),cv=ic("animationstart"),uv=ic("transitionend"),dv=new Map,Sm="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 kr(e,t){dv.set(e,t),rs(t,[e])}for(var nu=0;nu<Sm.length;nu++){var ru=Sm[nu],p5=ru.toLowerCase(),h5=ru[0].toUpperCase()+ru.slice(1);kr(p5,"on"+h5)}kr(av,"onAnimationEnd");kr(lv,"onAnimationIteration");kr(cv,"onAnimationStart");kr("dblclick","onDoubleClick");kr("focusin","onFocus");kr("focusout","onBlur");kr(uv,"onTransitionEnd");Zs("onMouseEnter",["mouseout","mouseover"]);Zs("onMouseLeave",["mouseout","mouseover"]);Zs("onPointerEnter",["pointerout","pointerover"]);Zs("onPointerLeave",["pointerout","pointerover"]);rs("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));rs("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));rs("onBeforeInput",["compositionend","keypress","textInput","paste"]);rs("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));rs("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));rs("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var zi="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(" "),m5=new Set("cancel close invalid load scroll toggle".split(" ").concat(zi));function Em(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,pk(r,t,void 0,e),e.currentTarget=null}function fv(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],s=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var a=r.length-1;0<=a;a--){var l=r[a],c=l.instance,u=l.currentTarget;if(l=l.listener,c!==o&&s.isPropagationStopped())break e;Em(s,l,u),o=c}else for(a=0;a<r.length;a++){if(l=r[a],c=l.instance,u=l.currentTarget,l=l.listener,c!==o&&s.isPropagationStopped())break e;Em(s,l,u),o=c}}}if(fl)throw e=kd,fl=!1,kd=null,e}function fe(e,t){var n=t[_d];n===void 0&&(n=t[_d]=new Set);var r=e+"__bubble";n.has(r)||(pv(t,e,2,!1),n.add(r))}function su(e,t,n){var r=0;t&&(r|=4),pv(n,e,r,t)}var ca="_reactListening"+Math.random().toString(36).slice(2);function mo(e){if(!e[ca]){e[ca]=!0,wy.forEach(function(n){n!=="selectionchange"&&(m5.has(n)||su(n,!1,e),su(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[ca]||(t[ca]=!0,su("selectionchange",!1,t))}}function pv(e,t,n,r){switch(Xy(t)){case 1:var s=Pk;break;case 4:s=Ak;break;default:s=ip}n=s.bind(null,t,n,e),s=void 0,!jd||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(s=!0),r?s!==void 0?e.addEventListener(t,n,{capture:!0,passive:s}):e.addEventListener(t,n,!0):s!==void 0?e.addEventListener(t,n,{passive:s}):e.addEventListener(t,n,!1)}
vendor: 1,857 bytes, line 37
37function iu(e,t,n,r,s){var o=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var a=r.tag;if(a===3||a===4){var l=r.stateNode.containerInfo;if(l===s||l.nodeType===8&&l.parentNode===s)break;if(a===4)for(a=r.return;a!==null;){var c=a.tag;if((c===3||c===4)&&(c=a.stateNode.containerInfo,c===s||c.nodeType===8&&c.parentNode===s))return;a=a.return}for(;l!==null;){if(a=Ir(l),a===null)return;if(c=a.tag,c===5||c===6){r=o=a;continue e}l=l.parentNode}}r=r.return}Fy(function(){var u=o,d=tp(n),p=[];e:{var f=dv.get(e);if(f!==void 0){var m=ap,v=e;switch(e){case"keypress":if(za(n)===0)break e;case"keydown":case"keyup":m=Hk;break;case"focusin":v="focus",m=Zc;break;case"focusout":v="blur",m=Zc;break;case"beforeblur":case"afterblur":m=Zc;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":m=hm;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":m=_k;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":m=Yk;break;case av:case lv:case cv:m=Fk;break;case uv:m=Xk;break;case"scroll":m=Rk;break;case"wheel":m=Zk;break;case"copy":case"cut":case"paste":m=Ok;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":m=xm}var x=(t&4)!==0,b=!x&&e==="scroll",g=x?f!==null?f+"Capture":null:f;x=[];for(var y=u,w;y!==null;){w=y;var j=w.stateNode;if(w.tag===5&&j!==null&&(w=j,g!==null&&(j=lo(y,g),j!=null&&x.push(xo(y,j,w)))),b)break;y=y.return}0<x.length&&(f=new m(f,v,null,n,d),p.push({event:f,listeners:x}))}}if(!(t&7)){e:{if(f=e==="mouseover"||e==="pointerover",m=e==="mouseout"||e==="pointerout",f&&n!==wd&&(v=n.relatedTarget||n.fromElement)&&(Ir(v)||v[An])
vendor: 4,615 bytes, lines 37-38
37)break e;if((m||f)&&(f=d.window===d?d:(f=d.ownerDocument)?f.defaultView||f.parentWindow:window,m?(v=n.relatedTarget||n.toElement,m=u,v=v?Ir(v):null,v!==null&&(b=ss(v),v!==b||v.tag!==5&&v.tag!==6)&&(v=null)):(m=null,v=u),m!==v)){if(x=hm,j="onMouseLeave",g="onMouseEnter",y="mouse",(e==="pointerout"||e==="pointerover")&&(x=xm,j="onPointerLeave",g="onPointerEnter",y="pointer"),b=m==null?f:ks(m),w=v==null?f:ks(v),f=new x(j,y+"leave",m,n,d),f.target=b,f.relatedTarget=w,j=null,Ir(d)===u&&(x=new x(g,y+"enter",v,n,d),x.target=w,x.relatedTarget=b,j=x),b=j,m&&v)t:{for(x=m,g=v,y=0,w=x;w;w=ds(w))y++;for(w=0,j=g;j;j=ds(j))w++;for(;0<y-w;)x=ds(x),y--;for(;0<w-y;)g=ds(g),w--;for(;y--;){if(x===g||g!==null&&x===g.alternate)break t;x=ds(x),g=ds(g)}x=null}else x=null;m!==null&&Cm(p,f,m,x,!1),v!==null&&b!==null&&Cm(p,b,v,x,!0)}}e:{if(f=u?ks(u):window,m=f.nodeName&&f.nodeName.toLowerCase(),m==="select"||m==="input"&&f.type==="file")var k=i5;else if(vm(f))if(nv)k=c5;else{k=a5;var T=o5}else(m=f.nodeName)&&m.toLowerCase()==="input"&&(f.type==="checkbox"||f.type==="radio")&&(k=l5);if(k&&(k=k(e,u))){tv(p,k,n,d);break e}T&&T(e,f,u),e==="focusout"&&(T=f._wrapperState)&&T.controlled&&f.type==="number"&&md(f,"number",f.value)}switch(T=u?ks(u):window,e){case"focusin":(vm(T)||T.contentEditable==="true")&&(bs=T,Cd=u,Qi=null);break;case"focusout":Qi=Cd=bs=null;break;case"mousedown":Td=!0;break;case"contextmenu":case"mouseup":case"dragend":Td=!1,Nm(p,n,d);break;case"selectionchange":if(f5)break;case"keydown":case"keyup":Nm(p,n,d)}var P;if(cp)e:{switch(e){case"compositionstart":var E="onCompositionStart";break e;case"compositionend":E="onCompositionEnd";break e;case"compositionupdate":E="onCompositionUpdate";break e}E=void 0}else ws?Jy(e,n)&&(E="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(E="onCompositionStart");E&&(Zy&&n.locale!=="ko"&&(ws||E!=="onCompositionStart"?E==="onCompositionEnd"&&ws&&(P=qy()):(tr=d,op="value"in tr?tr.value:tr.textContent,ws=!0)),T=gl(u,E),0<T.length&&(E=new mm(E,e,null,n,d),p.push({event:E,listeners:T}),P?E.data=P:(P=ev(n),P!==null&&(E.data=P)))),(P=e5?t5(e,n):n5(e,n))&&(u=gl(u,"onBeforeInput"),0<u.length&&(d=new mm("onBeforeInput","beforeinput",null,n,d),p.push({event:d,listeners:u}),d.data=P))}fv(p,t)})}function xo(e,t,n){return{instance:e,listener:t,currentTarget:n}}function gl(e,t){for(var n=t+"Capture",r=[];e!==null;){var s=e,o=s.stateNode;s.tag===5&&o!==null&&(s=o,o=lo(e,n),o!=null&&r.unshift(xo(e,o,s)),o=lo(e,t),o!=null&&r.push(xo(e,o,s))),e=e.return}return r}function ds(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Cm(e,t,n,r,s){for(var o=t._reactName,a=[];n!==null&&n!==r;){var l=n,c=l.alternate,u=l.stateNode;if(c!==null&&c===r)break;l.tag===5&&u!==null&&(l=u,s?(c=lo(n,o),c!=null&&a.unshift(xo(n,c,l))):s||(c=lo(n,o),c!=null&&a.push(xo(n,c,l)))),n=n.return}a.length!==0&&e.push({event:t,listeners:a})}var x5=/\r\n?/g,g5=/\u0000|\uFFFD/g;function Tm(e){return(typeof e=="string"?e:""+e).replace(x5,`
38`).replace(g5,"")}function ua(e,t,n){if(t=Tm(t),Tm(e)!==t&&n)throw Error(O(425))}function yl(){}var Pd=null,Ad=null;function Rd(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 Md=typeof setTimeout=="function"?setTimeout:void 0,y5=typeof clearTimeout=="function"?clearTimeout:void 0,Pm=typeof Promise=="function"?Promise:void 0,v5=typeof queueMicrotask=="function"?queueMicrotask:typeof Pm<"u"?function(e){return Pm.resolve(null).then(e).catch(w5)}:Md;function w5(e){setTimeout(function(){throw e})}function ou(e,t){var n=t,r=0;do{var s=n.nextSibling;if(e.removeChild(n),s&&s.nodeType===8)if(n=s.data,n==="/$"){if(r===0){e.removeChild(s),fo(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=s}while(n);fo(t)}function lr(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 Am(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var fi=Math.random().toString(36).slice(2),dn="__reactFiber$"+fi,go="__reactProps$"+fi,An="__reactContainer$"+fi,_d="__reactEvents$"+fi,b5="__reactListeners$"+fi,j5="__reactHandles$"+fi;function Ir(e){var t=e[dn];if(t)return t;for(var n=e.parentNode;n;){if(t=n[An]||n[dn]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Am(e);e!==null;){if(n=e[dn])return n;
vendor: 15,501 bytes, line 38
38e=Am(e)}return t}e=n,n=e.parentNode}return null}function zo(e){return e=e[dn]||e[An],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function ks(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(O(33))}function oc(e){return e[go]||null}var Dd=[],Ns=-1;function Nr(e){return{current:e}}function he(e){0>Ns||(e.current=Dd[Ns],Dd[Ns]=null,Ns--)}function ce(e,t){Ns++,Dd[Ns]=e.current,e.current=t}var mr={},Xe=Nr(mr),ct=Nr(!1),Xr=mr;function Js(e,t){var n=e.type.contextTypes;if(!n)return mr;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var s={},o;for(o in n)s[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=s),s}function ut(e){return e=e.childContextTypes,e!=null}function vl(){he(ct),he(Xe)}function Rm(e,t,n){if(Xe.current!==mr)throw Error(O(168));ce(Xe,t),ce(ct,n)}function hv(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var s in r)if(!(s in t))throw Error(O(108,ok(e)||"Unknown",s));return we({},n,r)}function wl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||mr,Xr=Xe.current,ce(Xe,e),ce(ct,ct.current),!0}function Mm(e,t,n){var r=e.stateNode;if(!r)throw Error(O(169));n?(e=hv(e,t,Xr),r.__reactInternalMemoizedMergedChildContext=e,he(ct),he(Xe),ce(Xe,e)):he(ct),ce(ct,n)}var Sn=null,ac=!1,au=!1;function mv(e){Sn===null?Sn=[e]:Sn.push(e)}function k5(e){ac=!0,mv(e)}function Sr(){if(!au&&Sn!==null){au=!0;var e=0,t=oe;try{var n=Sn;for(oe=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}Sn=null,ac=!1}catch(s){throw Sn!==null&&(Sn=Sn.slice(e+1)),By(np,Sr),s}finally{oe=t,au=!1}}return null}var Ss=[],Es=0,bl=null,jl=0,Tt=[],Pt=0,qr=null,En=1,Cn="";function _r(e,t){Ss[Es++]=jl,Ss[Es++]=bl,bl=e,jl=t}function xv(e,t,n){Tt[Pt++]=En,Tt[Pt++]=Cn,Tt[Pt++]=qr,qr=e;var r=En;e=Cn;var s=32-Ht(r)-1;r&=~(1<<s),n+=1;var o=32-Ht(t)+s;if(30<o){var a=s-s%5;o=(r&(1<<a)-1).toString(32),r>>=a,s-=a,En=1<<32-Ht(t)+s|n<<s|r,Cn=o+e}else En=1<<o|n<<s|r,Cn=e}function dp(e){e.return!==null&&(_r(e,1),xv(e,1,0))}function fp(e){for(;e===bl;)bl=Ss[--Es],Ss[Es]=null,jl=Ss[--Es],Ss[Es]=null;for(;e===qr;)qr=Tt[--Pt],Tt[Pt]=null,Cn=Tt[--Pt],Tt[Pt]=null,En=Tt[--Pt],Tt[Pt]=null}var yt=null,gt=null,me=!1,Ut=null;function gv(e,t){var n=At(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function _m(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,yt=e,gt=lr(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,yt=e,gt=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=qr!==null?{id:En,overflow:Cn}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=At(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,yt=e,gt=null,!0):!1;default:return!1}}function Ld(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Fd(e){if(me){var t=gt;if(t){var n=t;if(!_m(e,t)){if(Ld(e))throw Error(O(418));t=lr(n.nextSibling);var r=yt;t&&_m(e,t)?gv(r,n):(e.flags=e.flags&-4097|2,me=!1,yt=e)}}else{if(Ld(e))throw Error(O(418));e.flags=e.flags&-4097|2,me=!1,yt=e}}}function Dm(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;yt=e}function da(e){if(e!==yt)return!1;if(!me)return Dm(e),me=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Rd(e.type,e.memoizedProps)),t&&(t=gt)){if(Ld(e))throw yv(),Error(O(418));for(;t;)gv(e,t),t=lr(t.nextSibling)}if(Dm(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(O(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){gt=lr(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}gt=null}}else gt=yt?lr(e.stateNode.nextSibling):null;return!0}function yv(){for(var e=gt;e;)e=lr(e.nextSibling)}function ei(){gt=yt=null,me=!1}function pp(e){Ut===null?Ut=[e]:Ut.push(e)}var N5=Fn.ReactCurrentBatchConfig;function Ci(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(O(309));var r=n.stateNode}if(!r)throw Error(O(147,e));var s=r,o=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===o?t.ref:(t=function(a){var l=s.refs;a===null?delete l[o]:l[o]=a},t._stringRef=o,t)}if(typeof e!="string")throw Error(O(284));if(!n._owner)throw Error(O(290,e))}return e}function fa(e,t){throw e=Object.prototype.toString.call(t),Error(O(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Lm(e){var t=e._init;return t(e._payload)}function vv(e){function t(g,y){if(e){var w=g.deletions;w===null?(g.deletions=[y],g.flags|=16):w.push(y)}}function n(g,y){if(!e)return null;for(;y!==null;)t(g,y),y=y.sibling;return null}function r(g,y){for(g=new Map;y!==null;)y.key!==null?g.set(y.key,y):g.set(y.index,y),y=y.sibling;return g}function s(g,y){return g=fr(g,y),g.index=0,g.sibling=null,g}function o(g,y,w){return g.index=w,e?(w=g.alternate,w!==null?(w=w.index,w<y?(g.flags|=2,y):w):(g.flags|=2,y)):(g.flags|=1048576,y)}function a(g){return e&&g.alternate===null&&(g.flags|=2),g}function l(g,y,w,j){return y===null||y.tag!==6?(y=hu(w,g.mode,j),y.return=g,y):(y=s(y,w),y.return=g,y)}function c(g,y,w,j){var k=w.type;return k===vs?d(g,y,w.props.children,j,w.key):y!==null&&(y.elementType===k||typeof k=="object"&&k!==null&&k.$$typeof===Gn&&Lm(k)===y.type)?(j=s(y,w.props),j.ref=Ci(g,y,w),j.return=g,j):(j=Ya(w.type,w.key,w.props,null,g.mode,j),j.ref=Ci(g,y,w),j.return=g,j)}function u(g,y,w,j){return y===null||y.tag!==4||y.stateNode.containerInfo!==w.containerInfo||y.stateNode.implementation!==w.implementation?(y=mu(w,g.mode,j),y.return=g,y):(y=s(y,w.children||[]),y.return=g,y)}function d(g,y,w,j,k){return y===null||y.tag!==7?(y=Kr(w,g.mode,j,k),y.return=g,y):(y=s(y,w),y.return=g,y)}function p(g,y,w){if(typeof y=="string"&&y!==""||typeof y=="number")return y=hu(""+y,g.mode,w),y.return=g,y;if(typeof y=="object"&&y!==null){switch(y.$$typeof){case ta:return w=Ya(y.type,y.key,y.props,null,g.mode,w),w.ref=Ci(g,null,y),w.return=g,w;case ys:return y=mu(y,g.mode,w),y.return=g,y;case Gn:var j=y._init;return p(g,j(y._payload),w)}if(Vi(y)||ji(y))return y=Kr(y,g.mode,w,null),y.return=g,y;fa(g,y)}return null}function f(g,y,w,j){var k=y!==null?y.key:null;if(typeof w=="string"&&w!==""||typeof w=="number")return k!==null?null:l(g,y,""+w,j);if(typeof w=="object"&&w!==null){switch(w.$$typeof){case ta:return w.key===k?c(g,y,w,j):null;case ys:return w.key===k?u(g,y,w,j):null;case Gn:return k=w._init,f(g,y,k(w._payload),j)}if(Vi(w)||ji(w))return k!==null?null:d(g,y,w,j,null);fa(g,w)}return null}function m(g,y,w,j,k){if(typeof j=="string"&&j!==""||typeof j=="number")return g=g.get(w)||null,l(y,g,""+j,k);if(typeof j=="object"&&j!==null){switch(j.$$typeof){case ta:return g=g.get(j.key===null?w:j.key)||null,c(y,g,j,k);case ys:return g=g.get(j.key===null?w:j.key)||null,u(y,g,j,k);case Gn:var T=j._init;return m(g,y,w,T(j._payload),k)}if(Vi(j)||ji(j))return g=g.get(w)||null,d(y,g,j,k,null);fa(y,j)}return null}function v(g,y,w,j){for(var k=null,T=null,P=y,E=y=0,S=null;P!==null&&E<w.length;E++){P.index>E?(S=P,P=null):S=P.sibling;var C=f(g,P,w[E],j);if(C===null){P===null&&(P=S);break}e&&P&&C.alternate===null&&t(g,P),y=o(C,y,E),T===null?k=C:T.sibling=C,T=C,P=S}if(E===w.length)return n(g,P),me&&_r(g,E),k;if(P===null){for(;E<w.length;E++)P=p(g,w[E],j),P!==null&&(y=o(P,y,E),T===null?k=P:T.sibling=P,T=P);return me&&_r(g,E),k}for(P=r(g,P);E<w.length;E++)S=m(P,g,E,w[E],j),S!==null&&(e&&S.alternate!==null&&P.delete(S.key===null?E:S.key),y=o(S,y,E),T===null?k=S:T.sibling=S,T=S);return e&&P.forEach(function(D){return t(g,D)}),me&&_r(g,E),k}function x(g,y,w,j){var k=ji(w);if(typeof k!="function")throw Error(O(150));if(w=k.call(w),w==null)throw Error(O(151));for(var T=k=null,P=y,E=y=0,S=null,C=w.next();P!==null&&!C.done;E++,C=w.next()){P.index>E?(S=P,P=null):S=P.sibling;var D=f(g,P,C.value,j);if(D===null){P===null&&(P=S);break}e&&P&&D.alternate===null&&t(g,P),y=o(D,y,E),T===null?k=D:T.sibling=D,T=D,P=S}if(C.done)return n(g,P),me&&_r(g,E),k;if(P===null){for(;!C.done;E++,C=w.next())C=p(g,C.value,j),C!==null&&(y=o(C,y,E),T===null?k=C:T.sibling=C,T=C);return me&&_r(g,E),k}for(P=r(g,P);!C.done;E++,C=w.next())C=m(P,g,E,C.value,j),C!==null&&(e&&C.alternate!==null&&P.delete(C.key===null?E:C.key),y=o(C,y,E),T===null?k=C:T.sibling=C,T=C);return e&&P.forEach(function(L){return t(g,L)}),me&&_r(g,E),k}function b(g,y,w,j){if(typeof w=="object"&&w!==null&&w.type===vs&&w.key===null&&(w=w.props.children),typeof w=="object"&&w!==null){switch(w.$$typeof){case ta:e:{for(var k=w.key,T=y;T!==null;){if(T.key===k){if(k=w.type,k===vs){if(T.tag===7){n(g,T.sibling),y=s(T,w.props.children),y.return=g,g=y;break e}}else if(T.elementType===k||typeof k=="object"&&k!==null&&k.$$typeof===Gn&&Lm(k)===T.type){n(g,T.sibling),y=s(T,w.props),y.ref=Ci(g,T,w),y.return=g,g=y;break e}n(g,T);break}else t(g,T);T=T.sibling}w.type===vs?(y=Kr(w.props.children,g.mode,j,w.key),y.return=g,g=y):(j=Ya(w.type,w.key,w.props,null,g.mode,j),j.ref=Ci(g,y,w),j.return=g,g=j)}return a(g);case ys:e:{for(T=w.key;y!==null;){if(y.key===T)if(y.tag===4&&y.stateNode.containerInfo===w.containerInfo&&y.stateNode.implementation===w.implementation){n(g,y.sibling),y=s(y,w.children||[]),y.return=g,g=y;break e}else{n(g,y);break}else t(g,y);y=y.sibling}y=mu(w,g.mode,j),y.return=g,g=y}return a(g);case Gn:return T=w._init,b(g,y,T(w._payload),j)}if(Vi(w))return v(g,y,w,j);if(ji(w))return x(g,y,w,j);fa(g,w)}return typeof w=="string"&&w!==""||typeof w=="number"?(w=""+w,y!==null&&y.tag===6?(n(g,y.sibling),y=s(y,w),y.return=g,g=y):(n(g,y),y=hu(w,g.mode,j),y.return=g,g=y),a(g)):n(g,y)}return b}var ti=vv(!0),wv=vv(!1),kl=Nr(null),Nl=null,Cs=null,hp=null;function mp(){hp=Cs=Nl=null}function xp(e){var t=kl.current;he(kl),e._currentValue=t}function Id(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Os(e,t){Nl=e,hp=Cs=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(lt=!0),e.firstContext=null)}function Dt(e){var t=e._currentValue;if(hp!==e)if(e={context:e,memoizedValue:t,next:null},Cs===null){if(Nl===null)throw Error(O(308));Cs=e,Nl.dependencies={lanes:0,firstContext:e}}else Cs=Cs.next=e;return t}var Or=null;function gp(e){Or===null?Or=[e]:Or.push(e)}function bv(e,t,n,r){var s=t.interleaved;return s===null?(n.next=n,gp(t)):(n.next=s.next,s.next=n),t.interleaved=n,Rn(e,r)}function Rn(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var Kn=!1;function yp(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function jv(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 Tn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function cr(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,ne&2){var s=r.pending;return s===null?t.next=t:(t.next=s.next,s.next=t),r.pending=t,Rn(e,n)}return s=r.interleaved,s===null?(t.next=t,gp(r)):(t.next=s.next,s.next=t),r.interleaved=t,Rn(e,n)}function $a(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,rp(e,n)}}function Fm(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var s=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};o===null?s=o=a:o=o.next=a,n=n.next}while(n!==null);o===null?s=o=t:o=o.next=t}else s=o=t;n={baseState:r.baseState,firstBaseUpdate:s,lastBaseUpdate:o,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Sl(e,t,n,r){var s=e.updateQueue;Kn=!1;var o=s.firstBaseUpdate,a=s.lastBaseUpdate,l=s.shared.pending;if(l!==null){s.shared.pending=null;var c=l,u=c.next;c.next=null,a===null?o=u:a.next=u,a=c;var d=e.alternate;d!==null&&(d=d.updateQueue,l=d.lastBaseUpdate,l!==a&&(l===null?d.firstBaseUpdate=u:l.next=u,d.lastBaseUpdate=c))}if(o!==null){var p=s.baseState;a=0,d=u=c=null,l=o;do{var f=l.lane,m=l.eventTime;if((r&f)===f){d!==null&&(d=d.next={eventTime:m,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var v=e,x=l;switch(f=t,m=n,x.tag){case 1:if(v=x.payload,typeof v=="function"){p=v.call(m,p,f);break e}p=v;break e;case 3:v.flags=v.flags&-65537|128;case 0:if(v=x.payload,f=typeof v=="function"?v.call(m,p,f):v,f==null)break e;p=we({},p,f);break e;case 2:Kn=!0}}l.callback!==null&&l.lane!==0&&(e.flags|=64,f=s.effects,f===null?s.effects=[l]:f.push(l))}else m={eventTime:m,lane:f,tag:l.tag,payload:l.payload,callback:l.callback,next:null},d===null?(u=d=m,c=p):d=d.next=m,a|=f;if(l=l.next,l===null){if(l=s.shared.pending,l===null)break;f=l,l=f.next,f.next=null,s.lastBaseUpdate=f,s.shared.pending=null}}while(!0);if(d===null&&(c=p),s.baseState=c,s.firstBaseUpdate=u,s.lastBaseUpdate=d,t=s.shared.interleaved,t!==null){s=t;do a|=s.lane,s=s.next;while(s!==t)}else o===null&&(s.shared.lanes=0);Jr|=a,e.lanes=a,e.memoizedState=p}}function Im(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],s=r.callback;if(s!==null){if(r.callback=null,r=n,typeof s!="function")throw Error(O(191,s));s.call(r)}}}var $o={},hn=Nr($o),yo=Nr($o),vo=Nr($o);function Vr(e){if(e===$o)throw Error(O(174));return e}function vp(e,t){switch(ce(vo,t),ce(yo,e),ce(hn,$o),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:gd(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=gd(t,e)}he(hn),ce(hn,t)}function ni(){he(hn),he(yo),he(vo)}function kv(e){Vr(vo.current);var t=Vr(hn.current),n=gd(t,e.type);t!==n&&(ce(yo,e),ce(hn,n))}function wp(e){yo.current===e&&(he(hn),he(yo))}var ye=Nr(0);function El(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var lu=[];function bp(){for(var e=0;e<lu.length;e++)lu[e]._workInProgressVersionPrimary=null;lu.length=0}var Wa=Fn.ReactCurrentDispatcher,cu=Fn.ReactCurrentBatchConfig,Zr=0,ve=null,Me=null,Fe=null,Cl=!1,Xi=!1,wo=0,S5=0;function Ue(){throw Error(O(321))}function jp(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Yt(e[n],t[n]))return!1;return!0}function kp(e,t,n,r,s,o){if(Zr=o,ve=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Wa.current=e===null||e.memoizedState===null?P5:A5,e=n(r,s),Xi){o=0;do{if(Xi=!1,wo=0,25<=o)throw Error(O(301));o+=1,Fe=Me=null,t.updateQueue=null,Wa.current=R5,e=n(r,s)}while(Xi)}
vendor: 4,594 bytes, line 38
38if(Wa.current=Tl,t=Me!==null&&Me.next!==null,Zr=0,Fe=Me=ve=null,Cl=!1,t)throw Error(O(300));return e}function Np(){var e=wo!==0;return wo=0,e}function sn(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Fe===null?ve.memoizedState=Fe=e:Fe=Fe.next=e,Fe}function Lt(){if(Me===null){var e=ve.alternate;e=e!==null?e.memoizedState:null}else e=Me.next;var t=Fe===null?ve.memoizedState:Fe.next;if(t!==null)Fe=t,Me=e;else{if(e===null)throw Error(O(310));Me=e,e={memoizedState:Me.memoizedState,baseState:Me.baseState,baseQueue:Me.baseQueue,queue:Me.queue,next:null},Fe===null?ve.memoizedState=Fe=e:Fe=Fe.next=e}return Fe}function bo(e,t){return typeof t=="function"?t(e):t}function uu(e){var t=Lt(),n=t.queue;if(n===null)throw Error(O(311));n.lastRenderedReducer=e;var r=Me,s=r.baseQueue,o=n.pending;if(o!==null){if(s!==null){var a=s.next;s.next=o.next,o.next=a}r.baseQueue=s=o,n.pending=null}if(s!==null){o=s.next,r=r.baseState;var l=a=null,c=null,u=o;do{var d=u.lane;if((Zr&d)===d)c!==null&&(c=c.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var p={lane:d,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};c===null?(l=c=p,a=r):c=c.next=p,ve.lanes|=d,Jr|=d}u=u.next}while(u!==null&&u!==o);c===null?a=r:c.next=l,Yt(r,t.memoizedState)||(lt=!0),t.memoizedState=r,t.baseState=a,t.baseQueue=c,n.lastRenderedState=r}if(e=n.interleaved,e!==null){s=e;do o=s.lane,ve.lanes|=o,Jr|=o,s=s.next;while(s!==e)}else s===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function du(e){var t=Lt(),n=t.queue;if(n===null)throw Error(O(311));n.lastRenderedReducer=e;var r=n.dispatch,s=n.pending,o=t.memoizedState;if(s!==null){n.pending=null;var a=s=s.next;do o=e(o,a.action),a=a.next;while(a!==s);Yt(o,t.memoizedState)||(lt=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function Nv(){}function Sv(e,t){var n=ve,r=Lt(),s=t(),o=!Yt(r.memoizedState,s);if(o&&(r.memoizedState=s,lt=!0),r=r.queue,Sp(Tv.bind(null,n,r,e),[e]),r.getSnapshot!==t||o||Fe!==null&&Fe.memoizedState.tag&1){if(n.flags|=2048,jo(9,Cv.bind(null,n,r,s,t),void 0,null),Ie===null)throw Error(O(349));Zr&30||Ev(n,t,s)}return s}function Ev(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=ve.updateQueue,t===null?(t={lastEffect:null,stores:null},ve.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Cv(e,t,n,r){t.value=n,t.getSnapshot=r,Pv(t)&&Av(e)}function Tv(e,t,n){return n(function(){Pv(t)&&Av(e)})}function Pv(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Yt(e,n)}catch{return!0}}function Av(e){var t=Rn(e,1);t!==null&&Gt(t,e,1,-1)}function Om(e){var t=sn();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:bo,lastRenderedState:e},t.queue=e,e=e.dispatch=T5.bind(null,ve,e),[t.memoizedState,e]}function jo(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=ve.updateQueue,t===null?(t={lastEffect:null,stores:null},ve.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function Rv(){return Lt().memoizedState}function Ua(e,t,n,r){var s=sn();ve.flags|=e,s.memoizedState=jo(1|t,n,void 0,r===void 0?null:r)}function lc(e,t,n,r){var s=Lt();r=r===void 0?null:r;var o=void 0;if(Me!==null){var a=Me.memoizedState;if(o=a.destroy,r!==null&&jp(r,a.deps)){s.memoizedState=jo(t,n,o,r);return}}ve.flags|=e,s.memoizedState=jo(1|t,n,o,r)}function Vm(e,t){return Ua(8390656,8,e,t)}function Sp(e,t){return lc(2048,8,e,t)}function Mv(e,t){return lc(4,2,e,t)}function _v(e,t){return lc(4,4,e,t)}function Dv(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 Lv(e,t,n){return n=n!=null?n.concat([e]):null,lc(4,4,Dv.bind(null,t,e),n)}function Ep(){}function Fv(e,t){var n=Lt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&jp(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Iv(e,t){var n=Lt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&jp(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Ov(e,t,n){return Zr&21?(Yt(n,t)||(n=Wy(),ve.lanes|=n,Jr|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,lt=!0),e.memoizedState=n)}function E5(e,t){var n=oe;oe=n!==0&&4>n?n:4,e(!0);var r=cu.transition;cu.transition={};try{e(!1),t()}finally{oe=n,cu.transition=r}}function Vv(){return Lt().memoizedState}
vendor: 7,435 bytes, lines 38-40
38function C5(e,t,n){var r=dr(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Bv(e))zv(t,n);else if(n=bv(e,t,n,r),n!==null){var s=nt();Gt(n,e,r,s),$v(n,t,r)}}function T5(e,t,n){var r=dr(e),s={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Bv(e))zv(t,s);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var a=t.lastRenderedState,l=o(a,n);if(s.hasEagerState=!0,s.eagerState=l,Yt(l,a)){var c=t.interleaved;c===null?(s.next=s,gp(t)):(s.next=c.next,c.next=s),t.interleaved=s;return}}catch{}finally{}n=bv(e,t,s,r),n!==null&&(s=nt(),Gt(n,e,r,s),$v(n,t,r))}}function Bv(e){var t=e.alternate;return e===ve||t!==null&&t===ve}function zv(e,t){Xi=Cl=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function $v(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,rp(e,n)}}var Tl={readContext:Dt,useCallback:Ue,useContext:Ue,useEffect:Ue,useImperativeHandle:Ue,useInsertionEffect:Ue,useLayoutEffect:Ue,useMemo:Ue,useReducer:Ue,useRef:Ue,useState:Ue,useDebugValue:Ue,useDeferredValue:Ue,useTransition:Ue,useMutableSource:Ue,useSyncExternalStore:Ue,useId:Ue,unstable_isNewReconciler:!1},P5={readContext:Dt,useCallback:function(e,t){return sn().memoizedState=[e,t===void 0?null:t],e},useContext:Dt,useEffect:Vm,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Ua(4194308,4,Dv.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ua(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ua(4,2,e,t)},useMemo:function(e,t){var n=sn();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=sn();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=C5.bind(null,ve,e),[r.memoizedState,e]},useRef:function(e){var t=sn();return e={current:e},t.memoizedState=e},useState:Om,useDebugValue:Ep,useDeferredValue:function(e){return sn().memoizedState=e},useTransition:function(){var e=Om(!1),t=e[0];return e=E5.bind(null,e[1]),sn().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=ve,s=sn();if(me){if(n===void 0)throw Error(O(407));n=n()}else{if(n=t(),Ie===null)throw Error(O(349));Zr&30||Ev(r,t,n)}s.memoizedState=n;var o={value:n,getSnapshot:t};return s.queue=o,Vm(Tv.bind(null,r,o,e),[e]),r.flags|=2048,jo(9,Cv.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=sn(),t=Ie.identifierPrefix;if(me){var n=Cn,r=En;n=(r&~(1<<32-Ht(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=wo++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=S5++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},A5={readContext:Dt,useCallback:Fv,useContext:Dt,useEffect:Sp,useImperativeHandle:Lv,useInsertionEffect:Mv,useLayoutEffect:_v,useMemo:Iv,useReducer:uu,useRef:Rv,useState:function(){return uu(bo)},useDebugValue:Ep,useDeferredValue:function(e){var t=Lt();return Ov(t,Me.memoizedState,e)},useTransition:function(){var e=uu(bo)[0],t=Lt().memoizedState;return[e,t]},useMutableSource:Nv,useSyncExternalStore:Sv,useId:Vv,unstable_isNewReconciler:!1},R5={readContext:Dt,useCallback:Fv,useContext:Dt,useEffect:Sp,useImperativeHandle:Lv,useInsertionEffect:Mv,useLayoutEffect:_v,useMemo:Iv,useReducer:du,useRef:Rv,useState:function(){return du(bo)},useDebugValue:Ep,useDeferredValue:function(e){var t=Lt();return Me===null?t.memoizedState=e:Ov(t,Me.memoizedState,e)},useTransition:function(){var e=du(bo)[0],t=Lt().memoizedState;return[e,t]},useMutableSource:Nv,useSyncExternalStore:Sv,useId:Vv,unstable_isNewReconciler:!1};function Bt(e,t){if(e&&e.defaultProps){t=we({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function Od(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:we({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var cc={isMounted:function(e){return(e=e._reactInternals)?ss(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=nt(),s=dr(e),o=Tn(r,s);o.payload=t,n!=null&&(o.callback=n),t=cr(e,o,s),t!==null&&(Gt(t,e,s,r),$a(t,e,s))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=nt(),s=dr(e),o=Tn(r,s);o.tag=1,o.payload=t,n!=null&&(o.callback=n),t=cr(e,o,s),t!==null&&(Gt(t,e,s,r),$a(t,e,s))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=nt(),r=dr(e),s=Tn(n,r);s.tag=2,t!=null&&(s.callback=t),t=cr(e,s,r),t!==null&&(Gt(t,e,r,n),$a(t,e,r))}};function Bm(e,t,n,r,s,o,a){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,o,a):t.prototype&&t.prototype.isPureReactComponent?!ho(n,r)||!ho(s,o):!0}function Wv(e,t,n){var r=!1,s=mr,o=t.contextType;return typeof o=="object"&&o!==null?o=Dt(o):(s=ut(t)?Xr:Xe.current,r=t.contextTypes,o=(r=r!=null)?Js(e,s):mr),t=new t(n,o),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=cc,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=s,e.__reactInternalMemoizedMaskedChildContext=o),t}function zm(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&cc.enqueueReplaceState(t,t.state,null)}function Vd(e,t,n,r){var s=e.stateNode;s.props=n,s.state=e.memoizedState,s.refs={},yp(e);var o=t.contextType;typeof o=="object"&&o!==null?s.context=Dt(o):(o=ut(t)?Xr:Xe.current,s.context=Js(e,o)),s.state=e.memoizedState,o=t.getDerivedStateFromProps,typeof o=="function"&&(Od(e,t,o,n),s.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof s.getSnapshotBeforeUpdate=="function"||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(t=s.state,typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount(),t!==s.state&&cc.enqueueReplaceState(s,s.state,null),Sl(e,n,s,r),s.state=e.memoizedState),typeof s.componentDidMount=="function"&&(e.flags|=4194308)}function ri(e,t){try{var n="",r=t;do n+=ik(r),r=r.return;while(r);var s=n}catch(o){s=`
39Error generating stack: `+o.message+`
40`+o.stack}return{value:e,source:t,stack:s,digest:null}}function fu(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Bd(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var M5=typeof WeakMap=="function"?WeakMap:Map;function Uv(e,t,n){n=Tn(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Al||(Al=!0,Xd=r),Bd(e,t)},n}function Hv(e,t,n){n=Tn(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var s=t.value;n.payload=function(){return r(s)},n.callback=function(){Bd(e,t)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(n.callback=function(){Bd(e,t),typeof r!="function"&&(ur===null?ur=new Set([this]):ur.add(this));var a=t.stack;this.componentDidCatch(t.value,{componentStack:a!==null?a:""})}),n}function $m(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new M5;var s=new Set;r.set(t,s)}else s=r.get(t),s===void 0&&(s=new Set,r.set(t,s));s.has(n)||(s.add(n),e=G5.bind(null,e,t,n),t.then(e,e))}function Wm(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}
vendor: 10,061 bytes, line 40
40function Um(e,t,n,r,s){return e.mode&1?(e.flags|=65536,e.lanes=s,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=Tn(-1,1),t.tag=2,cr(n,t,1))),n.lanes|=1),e)}var _5=Fn.ReactCurrentOwner,lt=!1;function Ze(e,t,n,r){t.child=e===null?wv(t,null,n,r):ti(t,e.child,n,r)}function Hm(e,t,n,r,s){n=n.render;var o=t.ref;return Os(t,s),r=kp(e,t,n,r,o,s),n=Np(),e!==null&&!lt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~s,Mn(e,t,s)):(me&&n&&dp(t),t.flags|=1,Ze(e,t,r,s),t.child)}function Gm(e,t,n,r,s){if(e===null){var o=n.type;return typeof o=="function"&&!Dp(o)&&o.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=o,Gv(e,t,o,r,s)):(e=Ya(n.type,null,r,t,t.mode,s),e.ref=t.ref,e.return=t,t.child=e)}if(o=e.child,!(e.lanes&s)){var a=o.memoizedProps;if(n=n.compare,n=n!==null?n:ho,n(a,r)&&e.ref===t.ref)return Mn(e,t,s)}return t.flags|=1,e=fr(o,r),e.ref=t.ref,e.return=t,t.child=e}function Gv(e,t,n,r,s){if(e!==null){var o=e.memoizedProps;if(ho(o,r)&&e.ref===t.ref)if(lt=!1,t.pendingProps=r=o,(e.lanes&s)!==0)e.flags&131072&&(lt=!0);else return t.lanes=e.lanes,Mn(e,t,s)}return zd(e,t,n,r,s)}function Kv(e,t,n){var r=t.pendingProps,s=r.children,o=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},ce(Ps,mt),mt|=n;else{if(!(n&1073741824))return e=o!==null?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,ce(Ps,mt),mt|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=o!==null?o.baseLanes:n,ce(Ps,mt),mt|=r}else o!==null?(r=o.baseLanes|n,t.memoizedState=null):r=n,ce(Ps,mt),mt|=r;return Ze(e,t,s,n),t.child}function Yv(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function zd(e,t,n,r,s){var o=ut(n)?Xr:Xe.current;return o=Js(t,o),Os(t,s),n=kp(e,t,n,r,o,s),r=Np(),e!==null&&!lt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~s,Mn(e,t,s)):(me&&r&&dp(t),t.flags|=1,Ze(e,t,n,s),t.child)}function Km(e,t,n,r,s){if(ut(n)){var o=!0;wl(t)}else o=!1;if(Os(t,s),t.stateNode===null)Ha(e,t),Wv(t,n,r),Vd(t,n,r,s),r=!0;else if(e===null){var a=t.stateNode,l=t.memoizedProps;a.props=l;var c=a.context,u=n.contextType;typeof u=="object"&&u!==null?u=Dt(u):(u=ut(n)?Xr:Xe.current,u=Js(t,u));var d=n.getDerivedStateFromProps,p=typeof d=="function"||typeof a.getSnapshotBeforeUpdate=="function";p||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(l!==r||c!==u)&&zm(t,a,r,u),Kn=!1;var f=t.memoizedState;a.state=f,Sl(t,r,a,s),c=t.memoizedState,l!==r||f!==c||ct.current||Kn?(typeof d=="function"&&(Od(t,n,d,r),c=t.memoizedState),(l=Kn||Bm(t,n,l,r,f,c,u))?(p||typeof a.UNSAFE_componentWillMount!="function"&&typeof a.componentWillMount!="function"||(typeof a.componentWillMount=="function"&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount=="function"&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount=="function"&&(t.flags|=4194308)):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=c),a.props=r,a.state=c,a.context=u,r=l):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,jv(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:Bt(t.type,l),a.props=u,p=t.pendingProps,f=a.context,c=n.contextType,typeof c=="object"&&c!==null?c=Dt(c):(c=ut(n)?Xr:Xe.current,c=Js(t,c));var m=n.getDerivedStateFromProps;(d=typeof m=="function"||typeof a.getSnapshotBeforeUpdate=="function")||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(l!==p||f!==c)&&zm(t,a,r,c),Kn=!1,f=t.memoizedState,a.state=f,Sl(t,r,a,s);var v=t.memoizedState;l!==p||f!==v||ct.current||Kn?(typeof m=="function"&&(Od(t,n,m,r),v=t.memoizedState),(u=Kn||Bm(t,n,u,r,f,v,c)||!1)?(d||typeof a.UNSAFE_componentWillUpdate!="function"&&typeof a.componentWillUpdate!="function"||(typeof a.componentWillUpdate=="function"&&a.componentWillUpdate(r,v,c),typeof a.UNSAFE_componentWillUpdate=="function"&&a.UNSAFE_componentWillUpdate(r,v,c)),typeof a.componentDidUpdate=="function"&&(t.flags|=4),typeof a.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof a.componentDidUpdate!="function"||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=v),a.props=r,a.state=v,a.context=c,r=u):(typeof a.componentDidUpdate!="function"||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return $d(e,t,n,r,o,s)}function $d(e,t,n,r,s,o){Yv(e,t);var a=(t.flags&128)!==0;if(!r&&!a)return s&&Mm(t,n,!1),Mn(e,t,o);r=t.stateNode,_5.current=t;var l=a&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&a?(t.child=ti(t,e.child,null,o),t.child=ti(t,null,l,o)):Ze(e,t,l,o),t.memoizedState=r.state,s&&Mm(t,n,!0),t.child}function Qv(e){var t=e.stateNode;t.pendingContext?Rm(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Rm(e,t.context,!1),vp(e,t.containerInfo)}function Ym(e,t,n,r,s){return ei(),pp(s),t.flags|=256,Ze(e,t,n,r),t.child}var Wd={dehydrated:null,treeContext:null,retryLane:0};function Ud(e){return{baseLanes:e,cachePool:null,transitions:null}}function Xv(e,t,n){var r=t.pendingProps,s=ye.current,o=!1,a=(t.flags&128)!==0,l;if((l=a)||(l=e!==null&&e.memoizedState===null?!1:(s&2)!==0),l?(o=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(s|=1),ce(ye,s&1),e===null)return Fd(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(a=r.children,e=r.fallback,o?(r=t.mode,o=t.child,a={mode:"hidden",children:a},!(r&1)&&o!==null?(o.childLanes=0,o.pendingProps=a):o=fc(a,r,0,null),e=Kr(e,r,n,null),o.return=t,e.return=t,o.sibling=e,t.child=o,t.child.memoizedState=Ud(n),t.memoizedState=Wd,e):Cp(t,a));if(s=e.memoizedState,s!==null&&(l=s.dehydrated,l!==null))return D5(e,t,a,r,l,s,n);if(o){o=r.fallback,a=t.mode,s=e.child,l=s.sibling;var c={mode:"hidden",children:r.children};return!(a&1)&&t.child!==s?(r=t.child,r.childLanes=0,r.pendingProps=c,t.deletions=null):(r=fr(s,c),r.subtreeFlags=s.subtreeFlags&14680064),l!==null?o=fr(l,o):(o=Kr(o,a,n,null),o.flags|=2),o.return=t,r.return=t,r.sibling=o,t.child=r,r=o,o=t.child,a=e.child.memoizedState,a=a===null?Ud(n):{baseLanes:a.baseLanes|n,cachePool:null,transitions:a.transitions},o.memoizedState=a,o.childLanes=e.childLanes&~n,t.memoizedState=Wd,r}return o=e.child,e=o.sibling,r=fr(o,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function Cp(e,t){return t=fc({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function pa(e,t,n,r){return r!==null&&pp(r),ti(t,e.child,null,n),e=Cp(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function D5(e,t,n,r,s,o,a){if(n)return t.flags&256?(t.flags&=-257,r=fu(Error(O(422))),pa(e,t,a,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(o=r.fallback,s=t.mode,r=fc({mode:"visible",children:r.children},s,0,null),o=Kr(o,s,a,null),o.flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,t.mode&1&&ti(t,e.child,null,a),t.child.memoizedState=Ud(a),t.memoizedState=Wd,o);if(!(t.mode&1))return pa(e,t,a,null);if(s.data==="$!"){if(r=s.nextSibling&&s.nextSibling.dataset,r)var l=r.dgst;return r=l,o=Error(O(419)),r=fu(o,r,void 0),pa(e,t,a,r)}if(l=(a&e.childLanes)!==0,lt||l){if(r=Ie,r!==null){switch(a&-a){case 4:s=2;break;case 16:s=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:s=32;break;case 536870912:s=268435456;break;default:s=0}s=s&(r.suspendedLanes|a)?0:s,s!==0&&s!==o.retryLane&&(o.retryLane=s,Rn(e,s),Gt(r,e,s,-1))}return _p(),r=fu(Error(O(421))),pa(e,t,a,r)}return s.data==="$?"?(t.flags|=128,t.child=e.child,t=K5.bind(null,e),s._reactRetry=t,null):(e=o.treeContext,gt=lr(s.nextSibling),yt=t,me=!0,Ut=null,e!==null&&(Tt[Pt++]=En,Tt[Pt++]=Cn,Tt[Pt++]=qr,En=e.id,Cn=e.overflow,qr=t),t=Cp(t,r.children),t.flags|=4096,t)}function Qm(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Id(e.return,t,n)}function pu(e,t,n,r,s){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:s}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=s)}function qv(e,t,n){var r=t.pendingProps,s=r.revealOrder,o=r.tail;if(Ze(e,t,r.children,n),r=ye.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Qm(e,n,t);else if(e.tag===19)Qm(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(ce(ye,r),!(t.mode&1))t.memoizedState=null;else switch(s){case"forwards":for(n=t.child,s=null;n!==null;)e=n.alternate,e!==null&&El(e)===null&&(s=n),n=n.sibling;n=s,n===null?(s=t.child,t.child=null):(s=n.sibling,n.sibling=null),pu(t,!1,s,n,o);break;case"backwards":for(n=null,s=t.child,t.child=null;s!==null;){if(e=s.alternate,e!==null&&El(e)===null){t.child=s;break}e=s.sibling,s.sibling=n,n=s,s=e}pu(t,!0,n,null,o);break;case"together":pu(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Ha(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Mn(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Jr|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(O(153));
vendor: 5,054 bytes, line 40
40if(t.child!==null){for(e=t.child,n=fr(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=fr(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function L5(e,t,n){switch(t.tag){case 3:Qv(t),ei();break;case 5:kv(t);break;case 1:ut(t.type)&&wl(t);break;case 4:vp(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,s=t.memoizedProps.value;ce(kl,r._currentValue),r._currentValue=s;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(ce(ye,ye.current&1),t.flags|=128,null):n&t.child.childLanes?Xv(e,t,n):(ce(ye,ye.current&1),e=Mn(e,t,n),e!==null?e.sibling:null);ce(ye,ye.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return qv(e,t,n);t.flags|=128}if(s=t.memoizedState,s!==null&&(s.rendering=null,s.tail=null,s.lastEffect=null),ce(ye,ye.current),r)break;return null;case 22:case 23:return t.lanes=0,Kv(e,t,n)}return Mn(e,t,n)}var Zv,Hd,Jv,e1;Zv=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};Hd=function(){};Jv=function(e,t,n,r){var s=e.memoizedProps;if(s!==r){e=t.stateNode,Vr(hn.current);var o=null;switch(n){case"input":s=pd(e,s),r=pd(e,r),o=[];break;case"select":s=we({},s,{value:void 0}),r=we({},r,{value:void 0}),o=[];break;case"textarea":s=xd(e,s),r=xd(e,r),o=[];break;default:typeof s.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=yl)}yd(n,r);var a;n=null;for(u in s)if(!r.hasOwnProperty(u)&&s.hasOwnProperty(u)&&s[u]!=null)if(u==="style"){var l=s[u];for(a in l)l.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(oo.hasOwnProperty(u)?o||(o=[]):(o=o||[]).push(u,null));for(u in r){var c=r[u];if(l=s!=null?s[u]:void 0,r.hasOwnProperty(u)&&c!==l&&(c!=null||l!=null))if(u==="style")if(l){for(a in l)!l.hasOwnProperty(a)||c&&c.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in c)c.hasOwnProperty(a)&&l[a]!==c[a]&&(n||(n={}),n[a]=c[a])}else n||(o||(o=[]),o.push(u,n)),n=c;else u==="dangerouslySetInnerHTML"?(c=c?c.__html:void 0,l=l?l.__html:void 0,c!=null&&l!==c&&(o=o||[]).push(u,c)):u==="children"?typeof c!="string"&&typeof c!="number"||(o=o||[]).push(u,""+c):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(oo.hasOwnProperty(u)?(c!=null&&u==="onScroll"&&fe("scroll",e),o||l===c||(o=[])):(o=o||[]).push(u,c))}n&&(o=o||[]).push("style",n);var u=o;(t.updateQueue=u)&&(t.flags|=4)}};e1=function(e,t,n,r){n!==r&&(t.flags|=4)};function Ti(e,t){if(!me)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function He(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var s=e.child;s!==null;)n|=s.lanes|s.childLanes,r|=s.subtreeFlags&14680064,r|=s.flags&14680064,s.return=e,s=s.sibling;else for(s=e.child;s!==null;)n|=s.lanes|s.childLanes,r|=s.subtreeFlags,r|=s.flags,s.return=e,s=s.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function F5(e,t,n){var r=t.pendingProps;switch(fp(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return He(t),null;case 1:return ut(t.type)&&vl(),He(t),null;case 3:return r=t.stateNode,ni(),he(ct),he(Xe),bp(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(da(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Ut!==null&&(Jd(Ut),Ut=null))),Hd(e,t),He(t),null;case 5:wp(t);var s=Vr(vo.current);if(n=t.type,e!==null&&t.stateNode!=null)Jv(e,t,n,r,s),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(O(166));return He(t),null}if(e=Vr(hn.current),da(t)){r=t.stateNode,n=t.type;var o=t.memoizedProps;switch(r[dn]=t,r[go]=o,e=(t.mode&1)!==0,n){case"dialog":fe("cancel",r),fe("close",r);break;case"iframe":case"object":case"embed":fe("load",r);break;case"video":case"audio":for(s=0;s<zi.length;s++)fe(zi[s],r);break;case"source":fe("error",r);break;case"img":case"image":case"link":fe("error",r),fe("load",r);break;case"details":fe("toggle",r);break;case"input":sm(r,o),fe("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!o.multiple},fe("invalid",r);break;case"textarea":om(r,o),fe("invalid",r)}yd(n,o),s=null;for(var a in o)if(o.hasOwnProperty(a)){var l=o[a];a==="children"?typeof l=="string"?r.textContent!==l&&(o.suppressHydrationWarning!==!0&&ua(r.textContent,l,e),s=["children",l]):typeof l=="number"&&r.textContent!==""+l&&(o.suppressHydrationWarning!==!0&&ua(r.textContent,l,e),s=["children",""+l]):oo.hasOwnProperty(a)&&l!=null&&a==="onScroll"&&fe("scroll",r)}
vendor: 28,178 bytes, line 40
40switch(n){case"input":na(r),im(r,o,!0);break;case"textarea":na(r),am(r);break;case"select":case"option":break;default:typeof o.onClick=="function"&&(r.onclick=yl)}r=s,t.updateQueue=r,r!==null&&(t.flags|=4)}else{a=s.nodeType===9?s:s.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=Ty(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=a.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=a.createElement(n,{is:r.is}):(e=a.createElement(n),n==="select"&&(a=e,r.multiple?a.multiple=!0:r.size&&(a.size=r.size))):e=a.createElementNS(e,n),e[dn]=t,e[go]=r,Zv(e,t,!1,!1),t.stateNode=e;e:{switch(a=vd(n,r),n){case"dialog":fe("cancel",e),fe("close",e),s=r;break;case"iframe":case"object":case"embed":fe("load",e),s=r;break;case"video":case"audio":for(s=0;s<zi.length;s++)fe(zi[s],e);s=r;break;case"source":fe("error",e),s=r;break;case"img":case"image":case"link":fe("error",e),fe("load",e),s=r;break;case"details":fe("toggle",e),s=r;break;case"input":sm(e,r),s=pd(e,r),fe("invalid",e);break;case"option":s=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},s=we({},r,{value:void 0}),fe("invalid",e);break;case"textarea":om(e,r),s=xd(e,r),fe("invalid",e);break;default:s=r}yd(n,s),l=s;for(o in l)if(l.hasOwnProperty(o)){var c=l[o];o==="style"?Ry(e,c):o==="dangerouslySetInnerHTML"?(c=c?c.__html:void 0,c!=null&&Py(e,c)):o==="children"?typeof c=="string"?(n!=="textarea"||c!=="")&&ao(e,c):typeof c=="number"&&ao(e,""+c):o!=="suppressContentEditableWarning"&&o!=="suppressHydrationWarning"&&o!=="autoFocus"&&(oo.hasOwnProperty(o)?c!=null&&o==="onScroll"&&fe("scroll",e):c!=null&&qf(e,o,c,a))}switch(n){case"input":na(e),im(e,r,!1);break;case"textarea":na(e),am(e);break;case"option":r.value!=null&&e.setAttribute("value",""+hr(r.value));break;case"select":e.multiple=!!r.multiple,o=r.value,o!=null?Ds(e,!!r.multiple,o,!1):r.defaultValue!=null&&Ds(e,!!r.multiple,r.defaultValue,!0);break;default:typeof s.onClick=="function"&&(e.onclick=yl)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return He(t),null;case 6:if(e&&t.stateNode!=null)e1(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(O(166));if(n=Vr(vo.current),Vr(hn.current),da(t)){if(r=t.stateNode,n=t.memoizedProps,r[dn]=t,(o=r.nodeValue!==n)&&(e=yt,e!==null))switch(e.tag){case 3:ua(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&ua(r.nodeValue,n,(e.mode&1)!==0)}o&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[dn]=t,t.stateNode=r}return He(t),null;case 13:if(he(ye),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(me&&gt!==null&&t.mode&1&&!(t.flags&128))yv(),ei(),t.flags|=98560,o=!1;else if(o=da(t),r!==null&&r.dehydrated!==null){if(e===null){if(!o)throw Error(O(318));if(o=t.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(O(317));o[dn]=t}else ei(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;He(t),o=!1}else Ut!==null&&(Jd(Ut),Ut=null),o=!0;if(!o)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||ye.current&1?_e===0&&(_e=3):_p())),t.updateQueue!==null&&(t.flags|=4),He(t),null);case 4:return ni(),Hd(e,t),e===null&&mo(t.stateNode.containerInfo),He(t),null;case 10:return xp(t.type._context),He(t),null;case 17:return ut(t.type)&&vl(),He(t),null;case 19:if(he(ye),o=t.memoizedState,o===null)return He(t),null;if(r=(t.flags&128)!==0,a=o.rendering,a===null)if(r)Ti(o,!1);else{if(_e!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(a=El(e),a!==null){for(t.flags|=128,Ti(o,!1),r=a.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)o=n,e=r,o.flags&=14680066,a=o.alternate,a===null?(o.childLanes=0,o.lanes=e,o.child=null,o.subtreeFlags=0,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=a.childLanes,o.lanes=a.lanes,o.child=a.child,o.subtreeFlags=0,o.deletions=null,o.memoizedProps=a.memoizedProps,o.memoizedState=a.memoizedState,o.updateQueue=a.updateQueue,o.type=a.type,e=a.dependencies,o.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return ce(ye,ye.current&1|2),t.child}e=e.sibling}o.tail!==null&&Se()>si&&(t.flags|=128,r=!0,Ti(o,!1),t.lanes=4194304)}else{if(!r)if(e=El(a),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Ti(o,!0),o.tail===null&&o.tailMode==="hidden"&&!a.alternate&&!me)return He(t),null}else 2*Se()-o.renderingStartTime>si&&n!==1073741824&&(t.flags|=128,r=!0,Ti(o,!1),t.lanes=4194304);o.isBackwards?(a.sibling=t.child,t.child=a):(n=o.last,n!==null?n.sibling=a:t.child=a,o.last=a)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=Se(),t.sibling=null,n=ye.current,ce(ye,r?n&1|2:n&1),t):(He(t),null);case 22:case 23:return Mp(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?mt&1073741824&&(He(t),t.subtreeFlags&6&&(t.flags|=8192)):He(t),null;case 24:return null;case 25:return null}throw Error(O(156,t.tag))}function I5(e,t){switch(fp(t),t.tag){case 1:return ut(t.type)&&vl(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return ni(),he(ct),he(Xe),bp(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return wp(t),null;case 13:if(he(ye),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(O(340));ei()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return he(ye),null;case 4:return ni(),null;case 10:return xp(t.type._context),null;case 22:case 23:return Mp(),null;case 24:return null;default:return null}}var ha=!1,Ke=!1,O5=typeof WeakSet=="function"?WeakSet:Set,W=null;function Ts(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){je(e,t,r)}else n.current=null}function Gd(e,t,n){try{n()}catch(r){je(e,t,r)}}var Xm=!1;function V5(e,t){if(Pd=ml,e=iv(),up(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var s=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var a=0,l=-1,c=-1,u=0,d=0,p=e,f=null;t:for(;;){for(var m;p!==n||s!==0&&p.nodeType!==3||(l=a+s),p!==o||r!==0&&p.nodeType!==3||(c=a+r),p.nodeType===3&&(a+=p.nodeValue.length),(m=p.firstChild)!==null;)f=p,p=m;for(;;){if(p===e)break t;if(f===n&&++u===s&&(l=a),f===o&&++d===r&&(c=a),(m=p.nextSibling)!==null)break;p=f,f=p.parentNode}p=m}n=l===-1||c===-1?null:{start:l,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(Ad={focusedElem:e,selectionRange:n},ml=!1,W=t;W!==null;)if(t=W,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,W=e;else for(;W!==null;){t=W;try{var v=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(v!==null){var x=v.memoizedProps,b=v.memoizedState,g=t.stateNode,y=g.getSnapshotBeforeUpdate(t.elementType===t.type?x:Bt(t.type,x),b);g.__reactInternalSnapshotBeforeUpdate=y}break;case 3:var w=t.stateNode.containerInfo;w.nodeType===1?w.textContent="":w.nodeType===9&&w.documentElement&&w.removeChild(w.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(O(163))}}catch(j){je(t,t.return,j)}if(e=t.sibling,e!==null){e.return=t.return,W=e;break}W=t.return}return v=Xm,Xm=!1,v}function qi(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var s=r=r.next;do{if((s.tag&e)===e){var o=s.destroy;s.destroy=void 0,o!==void 0&&Gd(t,n,o)}s=s.next}while(s!==r)}}function uc(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Kd(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function t1(e){var t=e.alternate;t!==null&&(e.alternate=null,t1(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[dn],delete t[go],delete t[_d],delete t[b5],delete t[j5])),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 n1(e){return e.tag===5||e.tag===3||e.tag===4}function qm(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||n1(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 Yd(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=yl));else if(r!==4&&(e=e.child,e!==null))for(Yd(e,t,n),e=e.sibling;e!==null;)Yd(e,t,n),e=e.sibling}function Qd(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Qd(e,t,n),e=e.sibling;e!==null;)Qd(e,t,n),e=e.sibling}var Oe=null,Wt=!1;function On(e,t,n){for(n=n.child;n!==null;)r1(e,t,n),n=n.sibling}function r1(e,t,n){if(pn&&typeof pn.onCommitFiberUnmount=="function")try{pn.onCommitFiberUnmount(nc,n)}catch{}switch(n.tag){case 5:Ke||Ts(n,t);case 6:var r=Oe,s=Wt;Oe=null,On(e,t,n),Oe=r,Wt=s,Oe!==null&&(Wt?(e=Oe,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Oe.removeChild(n.stateNode));break;case 18:Oe!==null&&(Wt?(e=Oe,n=n.stateNode,e.nodeType===8?ou(e.parentNode,n):e.nodeType===1&&ou(e,n),fo(e)):ou(Oe,n.stateNode));break;case 4:r=Oe,s=Wt,Oe=n.stateNode.containerInfo,Wt=!0,On(e,t,n),Oe=r,Wt=s;break;case 0:case 11:case 14:case 15:if(!Ke&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){s=r=r.next;do{var o=s,a=o.destroy;o=o.tag,a!==void 0&&(o&2||o&4)&&Gd(n,t,a),s=s.next}while(s!==r)}On(e,t,n);break;case 1:if(!Ke&&(Ts(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){je(n,t,l)}On(e,t,n);break;case 21:On(e,t,n);break;case 22:n.mode&1?(Ke=(r=Ke)||n.memoizedState!==null,On(e,t,n),Ke=r):On(e,t,n);break;default:On(e,t,n)}}function Zm(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new O5),t.forEach(function(r){var s=Y5.bind(null,e,r);n.has(r)||(n.add(r),r.then(s,s))})}}function It(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var s=n[r];try{var o=e,a=t,l=a;e:for(;l!==null;){switch(l.tag){case 5:Oe=l.stateNode,Wt=!1;break e;case 3:Oe=l.stateNode.containerInfo,Wt=!0;break e;case 4:Oe=l.stateNode.containerInfo,Wt=!0;break e}l=l.return}if(Oe===null)throw Error(O(160));r1(o,a,s),Oe=null,Wt=!1;var c=s.alternate;c!==null&&(c.return=null),s.return=null}catch(u){je(s,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)s1(t,e),t=t.sibling}function s1(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(It(t,e),nn(e),r&4){try{qi(3,e,e.return),uc(3,e)}catch(x){je(e,e.return,x)}try{qi(5,e,e.return)}catch(x){je(e,e.return,x)}}break;case 1:It(t,e),nn(e),r&512&&n!==null&&Ts(n,n.return);break;case 5:if(It(t,e),nn(e),r&512&&n!==null&&Ts(n,n.return),e.flags&32){var s=e.stateNode;try{ao(s,"")}catch(x){je(e,e.return,x)}}if(r&4&&(s=e.stateNode,s!=null)){var o=e.memoizedProps,a=n!==null?n.memoizedProps:o,l=e.type,c=e.updateQueue;if(e.updateQueue=null,c!==null)try{l==="input"&&o.type==="radio"&&o.name!=null&&Ey(s,o),vd(l,a);var u=vd(l,o);for(a=0;a<c.length;a+=2){var d=c[a],p=c[a+1];d==="style"?Ry(s,p):d==="dangerouslySetInnerHTML"?Py(s,p):d==="children"?ao(s,p):qf(s,d,p,u)}switch(l){case"input":hd(s,o);break;case"textarea":Cy(s,o);break;case"select":var f=s._wrapperState.wasMultiple;s._wrapperState.wasMultiple=!!o.multiple;var m=o.value;m!=null?Ds(s,!!o.multiple,m,!1):f!==!!o.multiple&&(o.defaultValue!=null?Ds(s,!!o.multiple,o.defaultValue,!0):Ds(s,!!o.multiple,o.multiple?[]:"",!1))}s[go]=o}catch(x){je(e,e.return,x)}}break;case 6:if(It(t,e),nn(e),r&4){if(e.stateNode===null)throw Error(O(162));s=e.stateNode,o=e.memoizedProps;try{s.nodeValue=o}catch(x){je(e,e.return,x)}}break;case 3:if(It(t,e),nn(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{fo(t.containerInfo)}catch(x){je(e,e.return,x)}break;case 4:It(t,e),nn(e);break;case 13:It(t,e),nn(e),s=e.child,s.flags&8192&&(o=s.memoizedState!==null,s.stateNode.isHidden=o,!o||s.alternate!==null&&s.alternate.memoizedState!==null||(Ap=Se())),r&4&&Zm(e);break;case 22:if(d=n!==null&&n.memoizedState!==null,e.mode&1?(Ke=(u=Ke)||d,It(t,e),Ke=u):It(t,e),nn(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!d&&e.mode&1)for(W=e,d=e.child;d!==null;){for(p=W=d;W!==null;){switch(f=W,m=f.child,f.tag){case 0:case 11:case 14:case 15:qi(4,f,f.return);break;case 1:Ts(f,f.return);var v=f.stateNode;if(typeof v.componentWillUnmount=="function"){r=f,n=f.return;try{t=r,v.props=t.memoizedProps,v.state=t.memoizedState,v.componentWillUnmount()}catch(x){je(r,n,x)}}break;case 5:Ts(f,f.return);break;case 22:if(f.memoizedState!==null){e0(p);continue}}m!==null?(m.return=f,W=m):e0(p)}d=d.sibling}e:for(d=null,p=e;;){if(p.tag===5){if(d===null){d=p;try{s=p.stateNode,u?(o=s.style,typeof o.setProperty=="function"?o.setProperty("display","none","important"):o.display="none"):(l=p.stateNode,c=p.memoizedProps.style,a=c!=null&&c.hasOwnProperty("display")?c.display:null,l.style.display=Ay("display",a))}catch(x){je(e,e.return,x)}}}else if(p.tag===6){if(d===null)try{p.stateNode.nodeValue=u?"":p.memoizedProps}catch(x){je(e,e.return,x)}}else if((p.tag!==22&&p.tag!==23||p.memoizedState===null||p===e)&&p.child!==null){p.child.return=p,p=p.child;continue}if(p===e)break e;for(;p.sibling===null;){if(p.return===null||p.return===e)break e;d===p&&(d=null),p=p.return}d===p&&(d=null),p.sibling.return=p.return,p=p.sibling}}break;case 19:It(t,e),nn(e),r&4&&Zm(e);break;case 21:break;default:It(t,e),nn(e)}}function nn(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(n1(n)){var r=n;break e}n=n.return}throw Error(O(160))}switch(r.tag){case 5:var s=r.stateNode;r.flags&32&&(ao(s,""),r.flags&=-33);var o=qm(e);Qd(e,o,s);break;case 3:case 4:var a=r.stateNode.containerInfo,l=qm(e);Yd(e,l,a);break;default:throw Error(O(161))}}catch(c){je(e,e.return,c)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function B5(e,t,n){W=e,i1(e)}function i1(e,t,n){for(var r=(e.mode&1)!==0;W!==null;){var s=W,o=s.child;if(s.tag===22&&r){var a=s.memoizedState!==null||ha;if(!a){var l=s.alternate,c=l!==null&&l.memoizedState!==null||Ke;l=ha;var u=Ke;if(ha=a,(Ke=c)&&!u)for(W=s;W!==null;)a=W,c=a.child,a.tag===22&&a.memoizedState!==null?t0(s):c!==null?(c.return=a,W=c):t0(s);for(;o!==null;)W=o,i1(o),o=o.sibling;W=s,ha=l,Ke=u}Jm(e)}else s.subtreeFlags&8772&&o!==null?(o.return=s,W=o):Jm(e)}}function Jm(e){for(;W!==null;){var t=W;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:Ke||uc(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!Ke)if(n===null)r.componentDidMount();else{var s=t.elementType===t.type?n.memoizedProps:Bt(t.type,n.memoizedProps);r.componentDidUpdate(s,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var o=t.updateQueue;o!==null&&Im(t,o,r);break;case 3:var a=t.updateQueue;if(a!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}Im(t,a,n)}break;case 5:var l=t.stateNode;if(n===null&&t.flags&4){n=l;var c=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":c.autoFocus&&n.focus();break;case"img":c.src&&(n.src=c.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var u=t.alternate;if(u!==null){var d=u.memoizedState;if(d!==null){var p=d.dehydrated;p!==null&&fo(p)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(O(163))}Ke||t.flags&512&&Kd(t)}catch(f){je(t,t.return,f)}}if(t===e){W=null;break}if(n=t.sibling,n!==null){n.return=t.return,W=n;break}W=t.return}}function e0(e){for(;W!==null;){var t=W;if(t===e){W=null;break}var n=t.sibling;if(n!==null){n.return=t.return,W=n;break}W=t.return}}function t0(e){for(;W!==null;){var t=W;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{uc(4,t)}catch(c){je(t,n,c)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var s=t.return;try{r.componentDidMount()}catch(c){je(t,s,c)}}var o=t.return;try{Kd(t)}catch(c){je(t,o,c)}break;case 5:var a=t.return;try{Kd(t)}catch(c){je(t,a,c)}}}catch(c){je(t,t.return,c)}if(t===e){W=null;break}var l=t.sibling;if(l!==null){l.return=t.return,W=l;break}W=t.return}}var z5=Math.ceil,Pl=Fn.ReactCurrentDispatcher,Tp=Fn.ReactCurrentOwner,Mt=Fn.ReactCurrentBatchConfig,ne=0,Ie=null,Te=null,ze=0,mt=0,Ps=Nr(0),_e=0,ko=null,Jr=0,dc=0,Pp=0,Zi=null,at=null,Ap=0,si=1/0,Nn=null,Al=!1,Xd=null,ur=null,ma=!1,nr=null,Rl=0,Ji=0,qd=null,Ga=-1,Ka=0;function nt(){return ne&6?Se():Ga!==-1?Ga:Ga=Se()}function dr(e){return e.mode&1?ne&2&&ze!==0?ze&-ze:N5.transition!==null?(Ka===0&&(Ka=Wy()),Ka):(e=oe,e!==0||(e=window.event,e=e===void 0?16:Xy(e.type)),e):1}function Gt(e,t,n,r){if(50<Ji)throw Ji=0,qd=null,Error(O(185));Vo(e,n,r),(!(ne&2)||e!==Ie)&&(e===Ie&&(!(ne&2)&&(dc|=n),_e===4&&Qn(e,ze)),dt(e,r),n===1&&ne===0&&!(t.mode&1)&&(si=Se()+500,ac&&Sr()))}function dt(e,t){var n=e.callbackNode;Nk(e,t);var r=hl(e,e===Ie?ze:0);if(r===0)n!==null&&um(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&um(n),t===1)e.tag===0?k5(n0.bind(null,e)):mv(n0.bind(null,e)),v5(function(){!(ne&6)&&Sr()}),n=null;else{switch(Uy(r)){case 1:n=np;break;case 4:n=zy;break;case 16:n=pl;break;case 536870912:n=$y;break;default:n=pl}n=p1(n,o1.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function o1(e,t){if(Ga=-1,Ka=0,ne&6)throw Error(O(327));var n=e.callbackNode;if(Vs()&&e.callbackNode!==n)return null;var r=hl(e,e===Ie?ze:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=Ml(e,r);else{t=r;var s=ne;ne|=2;var o=l1();(Ie!==e||ze!==t)&&(Nn=null,si=Se()+500,Gr(e,t));do try{U5();break}catch(l){a1(e,l)}while(!0);mp(),Pl.current=o,ne=s,Te!==null?t=0:(Ie=null,ze=0,t=_e)}if(t!==0){if(t===2&&(s=Nd(e),s!==0&&(r=s,t=Zd(e,s))),t===1)throw n=ko,Gr(e,0),Qn(e,r),dt(e,Se()),n;if(t===6)Qn(e,r);else{if(s=e.current.alternate,!(r&30)&&!$5(s)&&(t=Ml(e,r),t===2&&(o=Nd(e),o!==0&&(r=o,t=Zd(e,o))),t===1))throw n=ko,Gr(e,0),Qn(e,r),dt(e,Se()),n;switch(e.finishedWork=s,e.finishedLanes=r,t){case 0:case 1:throw Error(O(345));case 2:Dr(e,at,Nn);break;case 3:if(Qn(e,r),(r&130023424)===r&&(t=Ap+500-Se(),10<t)){if(hl(e,0)!==0)break;if(s=e.suspendedLanes,(s&r)!==r){nt(),e.pingedLanes|=e.suspendedLanes&s;break}e.timeoutHandle=Md(Dr.bind(null,e,at,Nn),t);break}Dr(e,at,Nn);break;case 4:if(Qn(e,r),(r&4194240)===r)break;for(t=e.eventTimes,s=-1;0<r;){var a=31-Ht(r);o=1<<a,a=t[a],a>s&&(s=a),r&=~o}if(r=s,r=Se()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*z5(r/1960))-r,10<r){e.timeoutHandle=Md(Dr.bind(null,e,at,Nn),r);break}Dr(e,at,Nn);break;case 5:Dr(e,at,Nn);break;default:throw Error(O(329))}}}return dt(e,Se()),e.callbackNode===n?o1.bind(null,e):null}function Zd(e,t){var n=Zi;return e.current.memoizedState.isDehydrated&&(Gr(e,t).flags|=256),e=Ml(e,t),e!==2&&(t=at,at=n,t!==null&&Jd(t)),e}function Jd(e){at===null?at=e:at.push.apply(at,e)}function $5(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var s=n[r],o=s.getSnapshot;s=s.value;try{if(!Yt(o(),s))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Qn(e,t){for(t&=~Pp,t&=~dc,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Ht(t),r=1<<n;e[n]=-1,t&=~r}}function n0(e){if(ne&6)throw Error(O(327));Vs();var t=hl(e,0);if(!(t&1))return dt(e,Se()),null;var n=Ml(e,t);if(e.tag!==0&&n===2){var r=Nd(e);r!==0&&(t=r,n=Zd(e,r))}if(n===1)throw n=ko,Gr(e,0),Qn(e,t),dt(e,Se()),n;if(n===6)throw Error(O(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Dr(e,at,Nn),dt(e,Se()),null}function Rp(e,t){var n=ne;ne|=1;try{return e(t)}finally{ne=n,ne===0&&(si=Se()+500,ac&&Sr())}}function es(e){nr!==null&&nr.tag===0&&!(ne&6)&&Vs();var t=ne;ne|=1;var n=Mt.transition,r=oe;try{if(Mt.transition=null,oe=1,e)return e()}finally{oe=r,Mt.transition=n,ne=t,!(ne&6)&&Sr()}}function Mp(){mt=Ps.current,he(Ps)}function Gr(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,y5(n)),Te!==null)for(n=Te.return;n!==null;){var r=n;switch(fp(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&vl();break;case 3:ni(),he(ct),he(Xe),bp();break;case 5:wp(r);break;case 4:ni();break;case 13:he(ye);break;case 19:he(ye);break;case 10:xp(r.type._context);break;case 22:case 23:Mp()}n=n.return}if(Ie=e,Te=e=fr(e.current,null),ze=mt=t,_e=0,ko=null,Pp=dc=Jr=0,at=Zi=null,Or!==null){for(t=0;t<Or.length;t++)if(n=Or[t],r=n.interleaved,r!==null){n.interleaved=null;var s=r.next,o=n.pending;if(o!==null){var a=o.next;o.next=s,r.next=a}n.pending=r}Or=null}return e}function a1(e,t){do{var n=Te;try{if(mp(),Wa.current=Tl,Cl){for(var r=ve.memoizedState;r!==null;){var s=r.queue;s!==null&&(s.pending=null),r=r.next}Cl=!1}if(Zr=0,Fe=Me=ve=null,Xi=!1,wo=0,Tp.current=null,n===null||n.return===null){_e=1,ko=t,Te=null;break}e:{var o=e,a=n.return,l=n,c=t;if(t=ze,l.flags|=32768,c!==null&&typeof c=="object"&&typeof c.then=="function"){var u=c,d=l,p=d.tag;if(!(d.mode&1)&&(p===0||p===11||p===15)){var f=d.alternate;f?(d.updateQueue=f.updateQueue,d.memoizedState=f.memoizedState,d.lanes=f.lanes):(d.updateQueue=null,d.memoizedState=null)}var m=Wm(a);if(m!==null){m.flags&=-257,Um(m,a,l,o,t),m.mode&1&&$m(o,u,t),t=m,c=u;var v=t.updateQueue;if(v===null){var x=new Set;x.add(c),t.updateQueue=x}else v.add(c);break e}else{if(!(t&1)){$m(o,u,t),_p();break e}c=Error(O(426))}}else if(me&&l.mode&1){var b=Wm(a);if(b!==null){!(b.flags&65536)&&(b.flags|=256),Um(b,a,l,o,t),pp(ri(c,l));break e}}o=c=ri(c,l),_e!==4&&(_e=2),Zi===null?Zi=[o]:Zi.push(o),o=a;do{switch(o.tag){case 3:o.flags|=65536,t&=-t,o.lanes|=t;var g=Uv(o,c,t);Fm(o,g);break e;case 1:l=c;var y=o.type,w=o.stateNode;if(!(o.flags&128)&&(typeof y.getDerivedStateFromError=="function"||w!==null&&typeof w.componentDidCatch=="function"&&(ur===null||!ur.has(w)))){o.flags|=65536,t&=-t,o.lanes|=t;var j=Hv(o,l,t);Fm(o,j);break e}}o=o.return}while(o!==null)}u1(n)}catch(k){t=k,Te===n&&n!==null&&(Te=n=n.return);continue}break}while(!0)}function l1(){var e=Pl.current;return Pl.current=Tl,e===null?Tl:e}function _p(){(_e===0||_e===3||_e===2)&&(_e=4),Ie===null||!(Jr&268435455)&&!(dc&268435455)||Qn(Ie,ze)}function Ml(e,t){var n=ne;ne|=2;var r=l1();(Ie!==e||ze!==t)&&(Nn=null,Gr(e,t));do try{W5();break}catch(s){a1(e,s)}while(!0);if(mp(),ne=n,Pl.current=r,Te!==null)throw Error(O(261));return Ie=null,ze=0,_e}function W5(){for(;Te!==null;)c1(Te)}function U5(){for(;Te!==null&&!mk();)c1(Te)}function c1(e){var t=f1(e.alternate,e,mt);e.memoizedProps=e.pendingProps,t===null?u1(e):Te=t,Tp.current=null}function u1(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=I5(n,t),n!==null){n.flags&=32767,Te=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{_e=6,Te=null;return}}else if(n=F5(n,t,mt),n!==null){Te=n;return}if(t=t.sibling,t!==null){Te=t;return}Te=t=e}while(t!==null);_e===0&&(_e=5)}function Dr(e,t,n){var r=oe,s=Mt.transition;try{Mt.transition=null,oe=1,H5(e,t,n,r)}finally{Mt.transition=s,oe=r}return null}function H5(e,t,n,r){do Vs();while(nr!==null);if(ne&6)throw Error(O(327));n=e.finishedWork;var s=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(O(177));e.callbackNode=null,e.callbackPriority=0;var o=n.lanes|n.childLanes;if(Sk(e,o),e===Ie&&(Te=Ie=null,ze=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||ma||(ma=!0,p1(pl,function(){return Vs(),null})),o=(n.flags&15990)!==0,n.subtreeFlags&15990||o){o=Mt.transition,Mt.transition=null;var a=oe;oe=1;var l=ne;ne|=4,Tp.current=null,V5(e,n),s1(n,e),d5(Ad),ml=!!Pd,Ad=Pd=null,e.current=n,B5(n),xk(),ne=l,oe=a,Mt.transition=o}else e.current=n;if(ma&&(ma=!1,nr=e,Rl=s),o=e.pendingLanes,o===0&&(ur=null),vk(n.stateNode),dt(e,Se()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)s=t[n],r(s.value,{componentStack:s.stack,digest:s.digest});if(Al)throw Al=!1,e=Xd,Xd=null,e;return Rl&1&&e.tag!==0&&Vs(),o=e.pendingLanes,o&1?e===qd?Ji++:(Ji=0,qd=e):Ji=0,Sr(),null}function Vs(){if(nr!==null){var e=Uy(Rl),t=Mt.transition,n=oe;try{if(Mt.transition=null,oe=16>e?16:e,nr===null)var r=!1;else{if(e=nr,nr=null,Rl=0,ne&6)throw Error(O(331));var s=ne;for(ne|=4,W=e.current;W!==null;){var o=W,a=o.child;if(W.flags&16){var l=o.deletions;if(l!==null){for(var c=0;c<l.length;c++){var u=l[c];for(W=u;W!==null;){var d=W;switch(d.tag){case 0:case 11:case 15:qi(8,d,o)}var p=d.child;if(p!==null)p.return=d,W=p;else for(;W!==null;){d=W;var f=d.sibling,m=d.return;if(t1(d),d===u){W=null;break}if(f!==null){f.return=m,W=f;break}W=m}}}var v=o.alternate;if(v!==null){var x=v.child;if(x!==null){v.child=null;do{var b=x.sibling;x.sibling=null,x=b}while(x!==null)}}W=o}}if(o.subtreeFlags&2064&&a!==null)a.return=o,W=a;else e:for(;W!==null;){if(o=W,o.flags&2048)switch(o.tag){case 0:case 11:case 15:qi(9,o,o.return)}var g=o.sibling;if(g!==null){g.return=o.return,W=g;break e}W=o.return}}var y=e.current;for(W=y;W!==null;){a=W;var w=a.child;if(a.subtreeFlags&2064&&w!==null)w.return=a,W=w;else e:for(a=y;W!==null;){if(l=W,l.flags&2048)try{switch(l.tag){case 0:case 11:case 15:uc(9,l)}}catch(k){je(l,l.return,k)}if(l===a){W=null;break e}var j=l.sibling;if(j!==null){j.return=l.return,W=j;break e}W=l.return}}if(ne=s,Sr(),pn&&typeof pn.onPostCommitFiberRoot=="function")try{pn.onPostCommitFiberRoot(nc,e)}catch{}r=!0}return r}finally{oe=n,Mt.transition=t}}return!1}function r0(e,t,n){t=ri(n,t),t=Uv(e,t,1),e=cr(e,t,1),t=nt(),e!==null&&(Vo(e,1,t),dt(e,t))}function je(e,t,n){if(e.tag===3)r0(e,e,n);else for(;t!==null;){if(t.tag===3){r0(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(ur===null||!ur.has(r))){e=ri(n,e),e=Hv(t,e,1),t=cr(t,e,1),e=nt(),t!==null&&(Vo(t,1,e),dt(t,e));break}}t=t.return}}function G5(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=nt(),e.pingedLanes|=e.suspendedLanes&n,Ie===e&&(ze&n)===n&&(_e===4||_e===3&&(ze&130023424)===ze&&500>Se()-Ap?Gr(e,0):Pp|=n),dt(e,t)}function d1(e,t){t===0&&(e.mode&1?(t=ia,ia<<=1,!(ia&130023424)&&(ia=4194304)):t=1);var n=nt();e=Rn(e,t),e!==null&&(Vo(e,t,n),dt(e,n))}function K5(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),d1(e,n)}function Y5(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,s=e.memoizedState;s!==null&&(n=s.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(O(314))}r!==null&&r.delete(t),d1(e,n)}var f1;f1=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||ct.current)lt=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return lt=!1,L5(e,t,n);lt=!!(e.flags&131072)}else lt=!1,me&&t.flags&1048576&&xv(t,jl,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Ha(e,t),e=t.pendingProps;var s=Js(t,Xe.current);Os(t,n),s=kp(null,t,r,e,s,n);var o=Np();return t.flags|=1,typeof s=="object"&&s!==null&&typeof s.render=="function"&&s.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,ut(r)?(o=!0,wl(t)):o=!1,t.memoizedState=s.state!==null&&s.state!==void 0?s.state:null,yp(t),s.updater=cc,t.stateNode=s,s._reactInternals=t,Vd(t,r,e,n),t=$d(null,t,r,!0,o,n)):(t.tag=0,me&&o&&dp(t),Ze(null,t,s,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Ha(e,t),e=t.pendingProps,s=r._init,r=s(r._payload),t.type=r,s=t.tag=X5(r),e=
vendor: 4,144 bytes, line 40
40Bt(r,e),s){case 0:t=zd(null,t,r,e,n);break e;case 1:t=Km(null,t,r,e,n);break e;case 11:t=Hm(null,t,r,e,n);break e;case 14:t=Gm(null,t,r,Bt(r.type,e),n);break e}throw Error(O(306,r,""))}return t;case 0:return r=t.type,s=t.pendingProps,s=t.elementType===r?s:Bt(r,s),zd(e,t,r,s,n);case 1:return r=t.type,s=t.pendingProps,s=t.elementType===r?s:Bt(r,s),Km(e,t,r,s,n);case 3:e:{if(Qv(t),e===null)throw Error(O(387));r=t.pendingProps,o=t.memoizedState,s=o.element,jv(e,t),Sl(t,r,null,n);var a=t.memoizedState;if(r=a.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){s=ri(Error(O(423)),t),t=Ym(e,t,r,n,s);break e}else if(r!==s){s=ri(Error(O(424)),t),t=Ym(e,t,r,n,s);break e}else for(gt=lr(t.stateNode.containerInfo.firstChild),yt=t,me=!0,Ut=null,n=wv(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(ei(),r===s){t=Mn(e,t,n);break e}Ze(e,t,r,n)}t=t.child}return t;case 5:return kv(t),e===null&&Fd(t),r=t.type,s=t.pendingProps,o=e!==null?e.memoizedProps:null,a=s.children,Rd(r,s)?a=null:o!==null&&Rd(r,o)&&(t.flags|=32),Yv(e,t),Ze(e,t,a,n),t.child;case 6:return e===null&&Fd(t),null;case 13:return Xv(e,t,n);case 4:return vp(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=ti(t,null,r,n):Ze(e,t,r,n),t.child;case 11:return r=t.type,s=t.pendingProps,s=t.elementType===r?s:Bt(r,s),Hm(e,t,r,s,n);case 7:return Ze(e,t,t.pendingProps,n),t.child;case 8:return Ze(e,t,t.pendingProps.children,n),t.child;case 12:return Ze(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,s=t.pendingProps,o=t.memoizedProps,a=s.value,ce(kl,r._currentValue),r._currentValue=a,o!==null)if(Yt(o.value,a)){if(o.children===s.children&&!ct.current){t=Mn(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var l=o.dependencies;if(l!==null){a=o.child;for(var c=l.firstContext;c!==null;){if(c.context===r){if(o.tag===1){c=Tn(-1,n&-n),c.tag=2;var u=o.updateQueue;if(u!==null){u=u.shared;var d=u.pending;d===null?c.next=c:(c.next=d.next,d.next=c),u.pending=c}}o.lanes|=n,c=o.alternate,c!==null&&(c.lanes|=n),Id(o.return,n,t),l.lanes|=n;break}c=c.next}}else if(o.tag===10)a=o.type===t.type?null:o.child;else if(o.tag===18){if(a=o.return,a===null)throw Error(O(341));a.lanes|=n,l=a.alternate,l!==null&&(l.lanes|=n),Id(a,n,t),a=o.sibling}else a=o.child;if(a!==null)a.return=o;else for(a=o;a!==null;){if(a===t){a=null;break}if(o=a.sibling,o!==null){o.return=a.return,a=o;break}a=a.return}o=a}Ze(e,t,s.children,n),t=t.child}return t;case 9:return s=t.type,r=t.pendingProps.children,Os(t,n),s=Dt(s),r=r(s),t.flags|=1,Ze(e,t,r,n),t.child;case 14:return r=t.type,s=Bt(r,t.pendingProps),s=Bt(r.type,s),Gm(e,t,r,s,n);case 15:return Gv(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,s=t.pendingProps,s=t.elementType===r?s:Bt(r,s),Ha(e,t),t.tag=1,ut(r)?(e=!0,wl(t)):e=!1,Os(t,n),Wv(t,r,s),Vd(t,r,s,n),$d(null,t,r,!0,e,n);case 19:return qv(e,t,n);case 22:return Kv(e,t,n)}throw Error(O(156,t.tag))};function p1(e,t){return By(e,t)}function Q5(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function At(e,t,n,r){return new Q5(e,t,n,r)}function Dp(e){return e=e.prototype,!(!e||!e.isReactComponent)}function X5(e){if(typeof e=="function")return Dp(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Jf)return 11;if(e===ep)return 14}return 2}function fr(e,t){var n=e.alternate;return n===null?(n=At(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.depen
vendor: 4,128 bytes, line 40
40dencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Ya(e,t,n,r,s,o){var a=2;if(r=e,typeof e=="function")Dp(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case vs:return Kr(n.children,s,o,t);case Zf:a=8,s|=8;break;case cd:return e=At(12,n,t,s|2),e.elementType=cd,e.lanes=o,e;case ud:return e=At(13,n,t,s),e.elementType=ud,e.lanes=o,e;case dd:return e=At(19,n,t,s),e.elementType=dd,e.lanes=o,e;case ky:return fc(n,s,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case by:a=10;break e;case jy:a=9;break e;case Jf:a=11;break e;case ep:a=14;break e;case Gn:a=16,r=null;break e}throw Error(O(130,e==null?e:typeof e,""))}return t=At(a,n,t,s),t.elementType=e,t.type=r,t.lanes=o,t}function Kr(e,t,n,r){return e=At(7,e,r,t),e.lanes=n,e}function fc(e,t,n,r){return e=At(22,e,r,t),e.elementType=ky,e.lanes=n,e.stateNode={isHidden:!1},e}function hu(e,t,n){return e=At(6,e,null,t),e.lanes=n,e}function mu(e,t,n){return t=At(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function q5(e,t,n,r,s){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=Qc(0),this.expirationTimes=Qc(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Qc(0),this.identifierPrefix=r,this.onRecoverableError=s,this.mutableSourceEagerHydrationData=null}function Lp(e,t,n,r,s,o,a,l,c){return e=new q5(e,t,n,l,c),t===1?(t=1,o===!0&&(t|=8)):t=0,o=At(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},yp(o),e}function Z5(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:ys,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function h1(e){if(!e)return mr;e=e._reactInternals;e:{if(ss(e)!==e||e.tag!==1)throw Error(O(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(ut(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(O(171))}if(e.tag===1){var n=e.type;if(ut(n))return hv(e,n,t)}return t}function m1(e,t,n,r,s,o,a,l,c){return e=Lp(n,r,!0,e,s,o,a,l,c),e.context=h1(null),n=e.current,r=nt(),s=dr(n),o=Tn(r,s),o.callback=t??null,cr(n,o,s),e.current.lanes=s,Vo(e,s,r),dt(e,r),e}function pc(e,t,n,r){var s=t.current,o=nt(),a=dr(s);return n=h1(n),t.context===null?t.context=n:t.pendingContext=n,t=Tn(o,a),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=cr(s,t,a),e!==null&&(Gt(e,s,a,o),$a(e,s,a)),a}function _l(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 s0(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Fp(e,t){s0(e,t),(e=e.alternate)&&s0(e,t)}function J5(){return null}var x1=typeof reportError=="function"?reportError:function(e){console.error(e)};function Ip(e){this._internalRoot=e}hc.prototype.render=Ip.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(O(409));pc(e,t,null,null)};hc.prototype.unmount=Ip.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;es(function(){pc(null,e,null,null)}),t[An]=null}};function hc(e){this._internalRoot=e}hc.prototype.unstable_scheduleHydration=function(e){if(e){var t=Ky();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Yn.length&&t!==0&&t<Yn[n].priority;n++);Yn.splice(n,0,e),n===0&&Qy(e)}};function Op(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function mc(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function i0(){}
vendor: 5,375 bytes, line 40
40function eN(e,t,n,r,s){if(s){if(typeof r=="function"){var o=r;r=function(){var u=_l(a);o.call(u)}}var a=m1(t,r,e,0,null,!1,!1,"",i0);return e._reactRootContainer=a,e[An]=a.current,mo(e.nodeType===8?e.parentNode:e),es(),a}for(;s=e.lastChild;)e.removeChild(s);if(typeof r=="function"){var l=r;r=function(){var u=_l(c);l.call(u)}}var c=Lp(e,0,!1,null,null,!1,!1,"",i0);return e._reactRootContainer=c,e[An]=c.current,mo(e.nodeType===8?e.parentNode:e),es(function(){pc(t,c,n,r)}),c}function xc(e,t,n,r,s){var o=n._reactRootContainer;if(o){var a=o;if(typeof s=="function"){var l=s;s=function(){var c=_l(a);l.call(c)}}pc(t,a,e,s)}else a=eN(n,t,e,s,r);return _l(a)}Hy=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Bi(t.pendingLanes);n!==0&&(rp(t,n|1),dt(t,Se()),!(ne&6)&&(si=Se()+500,Sr()))}break;case 13:es(function(){var r=Rn(e,1);if(r!==null){var s=nt();Gt(r,e,1,s)}}),Fp(e,1)}};sp=function(e){if(e.tag===13){var t=Rn(e,134217728);if(t!==null){var n=nt();Gt(t,e,134217728,n)}Fp(e,134217728)}};Gy=function(e){if(e.tag===13){var t=dr(e),n=Rn(e,t);if(n!==null){var r=nt();Gt(n,e,t,r)}Fp(e,t)}};Ky=function(){return oe};Yy=function(e,t){var n=oe;try{return oe=e,t()}finally{oe=n}};bd=function(e,t,n){switch(t){case"input":if(hd(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var s=oc(r);if(!s)throw Error(O(90));Sy(r),hd(r,s)}}}break;case"textarea":Cy(e,n);break;case"select":t=n.value,t!=null&&Ds(e,!!n.multiple,t,!1)}};Dy=Rp;Ly=es;var tN={usingClientEntryPoint:!1,Events:[zo,ks,oc,My,_y,Rp]},Pi={findFiberByHostInstance:Ir,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},nN={bundleType:Pi.bundleType,version:Pi.version,rendererPackageName:Pi.rendererPackageName,rendererConfig:Pi.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Fn.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Oy(e),e===null?null:e.stateNode},findFiberByHostInstance:Pi.findFiberByHostInstance||J5,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var xa=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!xa.isDisabled&&xa.supportsFiber)try{nc=xa.inject(nN),pn=xa}catch{}}bt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=tN;bt.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Op(t))throw Error(O(200));return Z5(e,t,null,n)};bt.createRoot=function(e,t){if(!Op(e))throw Error(O(299));var n=!1,r="",s=x1;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(s=t.onRecoverableError)),t=Lp(e,1,!1,null,null,n,!1,r,s),e[An]=t.current,mo(e.nodeType===8?e.parentNode:e),new Ip(t)};bt.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(O(188)):(e=Object.keys(e).join(","),Error(O(268,e)));return e=Oy(t),e=e===null?null:e.stateNode,e};bt.flushSync=function(e){return es(e)};bt.hydrate=function(e,t,n){if(!mc(t))throw Error(O(200));return xc(null,e,t,!0,n)};bt.hydrateRoot=function(e,t,n){if(!Op(e))throw Error(O(405));var r=n!=null&&n.hydratedSources||null,s=!1,o="",a=x1;if(n!=null&&(n.unstable_strictMode===!0&&(s=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onRecoverableError!==void 0&&(a=n.onRecoverableError)),t=m1(t,null,e,1,n??null,s,!1,o,a),e[An]=t.current,mo(e),r)for(e=0;e<r.length;e++)n=r[e],s=n._getVersion,s=s(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,s]:t.mutableSourceEagerHydrationData.push(n,s);return new hc(t)};bt.render=function(e,t,n){if(!mc(t))throw Error(O(200));return xc(null,e,t,!1,n)};bt.unmountComponentAtNode=function(e){if(!mc(e))throw Error(O(40));return e._reactRootContainer?(es(function(){xc(null,null,e,!1,function(){e._reactRootContainer=null,e[An]=null})}),!0):!1};bt.unstable_batchedUpdates=Rp;bt.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!mc(n))throw Error(O(200));if(e==null||e._reactInternals===void 0)throw Error(O(38));return xc(e,t,n,!1,r)};bt.version="18.3.1-next-f1338f8080-20240426";function g1(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(g1)}catch(e){console.error(e)}}g1(),gy.exports=bt;var Er=gy.exports;const gc=sy(Er);var y1,o0=Er;y1=o0.createRoot,o0.hydrateRoot;const rN=1,sN=1e6;let xu=0;function iN(){return xu=(xu+1)%Number.MAX_SAFE_INTEGER,xu.toString()}const gu=new Map,a0=e=>{if(gu.has(e))return;const t=setTimeout(()=>{gu.delete(e),eo({type:"REMOVE_TOAST",toastId:e})},sN);gu.set(e,t)},oN=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,rN)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(n=>n.id===t.toast.id?{...n,...t.toast}:n)};case"DISMISS_TOAST":{const{toastId:n}=t;
40return n?a0(n):e.toasts.forEach(r=>{a0(r.id)}),{...e,toasts:e.toasts.map(r=>r.id===n||n===void 0?{...r,open:!1}:r)}}case"REMOVE_TOAST":return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(n=>n.id!==t.toastId)}}},Qa=[];let Xa={toasts:[]};function eo(e){Xa=oN(Xa,e),Qa.forEach(t=>{t(Xa)})}function qa({...e}){const t=iN(),n=s=>eo({type:"UPDATE_TOAST",toast:{...s,id:t}}),r=()=>eo({type:"DISMISS_TOAST",toastId:t});return eo({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:s=>{s||r()}}}),{id:t,dismiss:r,update:n}}function aN(){const[e,t]=h.useState(Xa);return h.useEffect(()=>(Qa.push(t),()=>{const n=Qa.indexOf(t);n>-1&&Qa.splice(n,1)}),[e]),{...e,toast:qa,dismiss:n=>eo({type:"DISMISS_TOAST",toastId:n})}}function xe(e,t,{checkForDefaultPrevented:n=!0}={}){return function(s){if(e==null||e(s),n===!1||!s.defaultPrevented)return t==null?void 0:t(s)}}function lN(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function v1(...e){return t=>e.forEach(n=>lN(n,t))}function rt(...e){return h.useCallback(v1(...e),e)}function cN(e,t=[]){let n=[];function r(o,a){const l=h.createContext(a),c=n.length;n=[...n,a];function u(p){const{scope:f,children:m,...v}=p,x=(f==null?void 0:f[e][c])||l,b=h.useMemo(()=>v,Object.values(v));return i.jsx(x.Provider,{value:b,children:m})}function d(p,f){const m=(f==null?void 0:f[e][c])||l,v=h.useContext(m);if(v)return v;if(a!==void 0)return a;throw new Error(`\`${p}\` must be used within \`${o}\``)}return u.displayName=o+"Provider",[u,d]}const s=()=>{const o=n.map(a=>h.createContext(a));return function(l){const c=(l==null?void 0:l[e])||o;return h.useMemo(()=>({[`__scope${e}`]:{...l,[e]:c}}),[l,c])}};return s.scopeName=e,[r,uN(s,...t)]}function uN(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(s=>({useScope:s(),scopeName:s.scopeName}));return function(o){const a=r.reduce((l,{useScope:c,scopeName:u})=>{const p=c(o)[`__scope${u}`];return{...l,...p}},{});return h.useMemo(()=>({[`__scope${t.scopeName}`]:a}),[a])}};return n.scopeName=t.scopeName,n}var No=h.forwardRef((e,t)=>{const{children:n,...r}=e,s=h.Children.toArray(n),o=s.find(dN);if(o){const a=o.props.children,l=s.map(c=>c===o?h.Children.count(a)>1?h.Children.only(null):h.isValidElement(a)?a.props.children:null:c);return i.jsx(ef,{...r,ref:t,children:h.isValidElement(a)?h.cloneElement(a,void 0,l):null})}return i.jsx(ef,{...r,ref:t,children:n})});No.displayName="Slot";var ef=h.forwardRef((e,t)=>{const{children:n,...r}=e;if(h.isValidElement(n)){const s=pN(n);return h.cloneElement(n,{...fN(r,n.props),ref:t?v1(t,s):s})}return h.Children.count(n)>1?h.Children.only(null):null});ef.displayName="SlotClone";var w1=({children:e})=>i.jsx(i.Fragment,{children:e});function dN(e){return h.isValidElement(e)&&e.type===w1}function fN(e,t){const n={...t};for(const r in t){const s=e[r],o=t[r];/^on[A-Z]/.test(r)?s&&o?n[r]=(...l)=>{o(...l),s(...l)}:s&&(n[r]=s):r==="style"?n[r]={...s,...o}:r==="className"&&(n[r]=[s,o].filter(Boolean).join(" "))}return{...e,...n}}function pN(e){var r,s;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(s=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:s.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function hN(e){const t=e+"CollectionProvider",[n,r]=cN(t),[s,o]=n(t,{collectionRef:{current:null},itemMap:new Map}),a=m=>{const{scope:v,children:x}=m,b=R.useRef(null),g=R.useRef(new Map).current;return i.jsx(s,{scope:v,itemMap:g,collectionRef:b,children:x})};a.displayName=t;const l=e+"CollectionSlot",c=R.forwardRef((m,v)=>{const{scope:x,children:b}=m,g=o(l,x),y=rt(v,g.collectionRef);return i.jsx(No,{ref:y,children:b})});c.displayName=l;const u=e+"CollectionItemSlot",d="data-radix-collection-item",p=R.forwardRef((m,v)=>{const{scope:x,children:b,...g}=m,y=R.useRef(null),w=rt(v,y),j=o(u,x);return R.useEffect(()=>(j.itemMap.set(y,{ref:y,...g}),()=>void j.itemMap.delete(y))),i.jsx(No,{[d]:"",ref:w,children:b})});p.displayName=u;function f(m){const v=o(e+"CollectionConsumer",m);return R.useCallback(()=>{const b=v.collectionRef.current;if(!b)return[];const g=Array.from(b.querySelectorAll(`[${d}]`));return Array.from(v.itemMap.values()).sort((j,k)=>g.indexOf(j.ref.current)-g.indexOf(k.ref.current))},[v.collectionRef,v.itemMap])}return[{Provider:a,Slot:c,ItemSlot:p},f,r]}function mN(e,t){const n=h.createContext(t),r=o=>{const{children:a,...l}=o,c=h.useMemo(()=>l,Object.values(l));return i.jsx(n.Provider,{value:c,children:a})};r.displayName=e+"Provider";function s(o){const a=h.useContext(n);if(a)return a;
vendor: 9,251 bytes, line 40
40if(t!==void 0)return t;throw new Error(`\`${o}\` must be used within \`${e}\``)}return[r,s]}function Vp(e,t=[]){let n=[];function r(o,a){const l=h.createContext(a),c=n.length;n=[...n,a];const u=p=>{var g;const{scope:f,children:m,...v}=p,x=((g=f==null?void 0:f[e])==null?void 0:g[c])||l,b=h.useMemo(()=>v,Object.values(v));return i.jsx(x.Provider,{value:b,children:m})};u.displayName=o+"Provider";function d(p,f){var x;const m=((x=f==null?void 0:f[e])==null?void 0:x[c])||l,v=h.useContext(m);if(v)return v;if(a!==void 0)return a;throw new Error(`\`${p}\` must be used within \`${o}\``)}return[u,d]}const s=()=>{const o=n.map(a=>h.createContext(a));return function(l){const c=(l==null?void 0:l[e])||o;return h.useMemo(()=>({[`__scope${e}`]:{...l,[e]:c}}),[l,c])}};return s.scopeName=e,[r,xN(s,...t)]}function xN(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(s=>({useScope:s(),scopeName:s.scopeName}));return function(o){const a=r.reduce((l,{useScope:c,scopeName:u})=>{const p=c(o)[`__scope${u}`];return{...l,...p}},{});return h.useMemo(()=>({[`__scope${t.scopeName}`]:a}),[a])}};return n.scopeName=t.scopeName,n}var gN=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],Ae=gN.reduce((e,t)=>{const n=h.forwardRef((r,s)=>{const{asChild:o,...a}=r,l=o?No:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),i.jsx(l,{...a,ref:s})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function b1(e,t){e&&Er.flushSync(()=>e.dispatchEvent(t))}function Ft(e){const t=h.useRef(e);return h.useEffect(()=>{t.current=e}),h.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function yN(e,t=globalThis==null?void 0:globalThis.document){const n=Ft(e);h.useEffect(()=>{const r=s=>{s.key==="Escape"&&n(s)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var vN="DismissableLayer",tf="dismissableLayer.update",wN="dismissableLayer.pointerDownOutside",bN="dismissableLayer.focusOutside",l0,j1=h.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),yc=h.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:s,onFocusOutside:o,onInteractOutside:a,onDismiss:l,...c}=e,u=h.useContext(j1),[d,p]=h.useState(null),f=(d==null?void 0:d.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,m]=h.useState({}),v=rt(t,P=>p(P)),x=Array.from(u.layers),[b]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),g=x.indexOf(b),y=d?x.indexOf(d):-1,w=u.layersWithOutsidePointerEventsDisabled.size>0,j=y>=g,k=kN(P=>{const E=P.target,S=[...u.branches].some(C=>C.contains(E));!j||S||(s==null||s(P),a==null||a(P),P.defaultPrevented||l==null||l())},f),T=NN(P=>{const E=P.target;[...u.branches].some(C=>C.contains(E))||(o==null||o(P),a==null||a(P),P.defaultPrevented||l==null||l())},f);return yN(P=>{y===u.layers.size-1&&(r==null||r(P),!P.defaultPrevented&&l&&(P.preventDefault(),l()))},f),h.useEffect(()=>{if(d)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(l0=f.body.style.pointerEvents,f.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(d)),u.layers.add(d),c0(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(f.body.style.pointerEvents=l0)}},[d,f,n,u]),h.useEffect(()=>()=>{d&&(u.layers.delete(d),u.layersWithOutsidePointerEventsDisabled.delete(d),c0())},[d,u]),h.useEffect(()=>{const P=()=>m({});return document.addEventListener(tf,P),()=>document.removeEventListener(tf,P)},[]),i.jsx(Ae.div,{...c,ref:v,style:{pointerEvents:w?j?"auto":"none":void 0,...e.style},onFocusCapture:xe(e.onFocusCapture,T.onFocusCapture),onBlurCapture:xe(e.onBlurCapture,T.onBlurCapture),onPointerDownCapture:xe(e.onPointerDownCapture,k.onPointerDownCapture)})});yc.displayName=vN;var jN="DismissableLayerBranch",k1=h.forwardRef((e,t)=>{const n=h.useContext(j1),r=h.useRef(null),s=rt(t,r);return h.useEffect(()=>{const o=r.current;if(o)return n.branches.add(o),()=>{n.branches.delete(o)}},[n.branches]),i.jsx(Ae.div,{...e,ref:s})});k1.displayName=jN;function kN(e,t=globalThis==null?void 0:globalThis.document){const n=Ft(e),r=h.useRef(!1),s=h.useRef(()=>{});return h.useEffect(()=>{const o=l=>{if(l.target&&!r.current){let c=function(){N1(wN,n,u,{discrete:!0})};const u={originalEvent:l};l.pointerType==="touch"?(t.removeEventListener("click",s.current),s.current=c,t.addEventListener("click",s.current,{once:!0})):c()}else t.removeEventListener("click",s.current);r.current=!1},a=window.setTimeout(()=>{t.addEventListener("pointerdown",o)},0);return()=>{window.clearTimeout(a),t.removeEventListener("pointerdown",o),t.removeEventListener("click",s.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function NN(e,t=globalThis==null?void 0:globalThis.document){const n=Ft(e),r=h.useRef(!1);return h.useEffect(()=>{const s=o=>{o.target&&!r.current&&N1(bN,n,{originalEvent:o},{discrete:!1})};return t.addEventListener("focusin",s),()=>t.removeEventListener("focusin",s)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function c0(){const e=new CustomEvent(tf);document.dispatchEvent(e)}function N1(e,t,n,{discrete:r}){const s=n.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&s.addEventListener(e,t,{once:!0}),r?b1(s,o):s.dispatchEvent(o)}var SN=yc,EN=k1,xr=globalThis!=null&&globalThis.document?h.useLayoutEffect:()=>{},CN="Portal",Bp=h.forwardRef((e,t)=>{var l;const{container:n,...r}=e,[s,o]=h.useState(!1);xr(()=>o(!0),[]);const a=n||s&&((l=globalThis==null?void 0:globalThis.document)==null?void 0:l.body);return a?gc.createPortal(i.jsx(Ae.div,{...r,ref:t}),a):null});Bp.displayName=CN;function TN(e,t){return h.useReducer((n,r)=>t[n][r]??n,e)}var pi=e=>{const{present:t,children:n}=e,r=PN(t),s=typeof n=="function"?n({present:r.isPresent}):h.Children.only(n),o=rt(r.ref,AN(s));return typeof n=="function"||r.isPresent?h.cloneElement(s,{ref:o}):null};pi.displayName="Presence";function PN(e){const[t,n]=h.useState(),r=h.useRef({}),s=h.useRef(e),o=h.useRef("none"),a=e?"mounted":"unmounted",[l,c]=TN(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return h.useEffect(()=>{const u=ga(r.current);o.current=l==="mounted"?u:"none"},[l]),xr(()=>{const u=r.current,d=s.current;if(d!==e){const f=o.current,m=ga(u);e?c("MOUNT"):m==="none"||(u==null?void 0:u.display)==="none"?c("UNMOUNT"):c(d&&f!==m?"ANIMATION_OUT":"UNMOUNT"),s.current=e}},[e,c]),xr(()=>{if(t){let u;const d=t.ownerDocument.defaultView??window,p=m=>{const x=ga(r.current).includes(m.animationName);if(m.target===t&&x&&(c("ANIMATION_END"),!s.current)){const b=t.style.animationFillMode;t.style.animationFillMode="forwards",u=d.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=b)})}},f=m=>{m.target===t&&(o.current=ga(r.current))};return t.addEventListener("animationstart",f),t.addEventListener("animationcancel",p),t.addEventListener("animationend",p),()=>{d.clearTimeout(u),t.removeEventListener("animationstart",f),t.removeEventListener("animationcancel",p),t.removeEventListener("animationend",p)}}else c("ANIMATION_END")},[t,c]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:h.useCallback(u=>{u&&(r.current=getComputedStyle(u)),n(u)},[])}}function ga(e){return(e==null?void 0:e.animationName)||"none"}function AN(e){var r,s;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(s=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:s.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function S1({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,s]=RN({defaultProp:t,onChange:n}),o=e!==void 0,a=o?e:r,l=Ft(n),c=h.useCallback(u=>{if(o){const p=typeof u=="function"?u(e):u;p!==e&&l(p)}else s(u)},[o,e,s,l]);return[a,c]}function RN({defaultProp:e,onChange:t}){const n=h.useState(e),[r]=n,s=h.useRef(r),o=Ft(t);return h.useEffect(()=>{s.current!==r&&(o(r),s.current=r)},[r,s,o]),n}var MN="VisuallyHidden",vc=h.forwardRef((e,t)=>i.jsx(Ae.span,{...e,ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}));vc.displayName=MN;var _N=vc,zp="ToastProvider",[$p,DN,LN]=hN("Toast"),[E1,X_]=Vp("Toast",[LN]),[FN,wc]=E1(zp),C1=e=>{const{__scopeToast:t,label:n="Notification",duration:r=5e3,swipeDirection:s="right",swipeThreshold:o=50,children:a}=e,[l,c]=h.useState(null),[u,d]=h.useState(0),p=h.useRef(!1),f=h.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${zp}\`. Expected non-empty \`string\`.`),i.jsx($p.Provider,{scope:t,children:i.jsx(FN,{scope:t,label:n,duration:r,swipeDirection:s,swipeThreshold:o,toastCount:u,viewport:l,onViewportChange:c,onToastAdd:h.useCallback(()=>d(m=>m+1),[]),onToastRemove:h.useCallback(()=>d(m=>m-1),[]),isFocusedToastEscapeKeyDownRef:p,isClosePausedRef:f,children:a})})};C1.displayName=zp;var T1="ToastViewport",IN=["F8"],nf="toast.viewportPause",rf="toast.viewportResume",P1=h.forwardRef((e,t)=>
40{const{__scopeToast:n,hotkey:r=IN,label:s="Notifications ({hotkey})",...o}=e,a=wc(T1,n),l=DN(n),c=h.useRef(null),u=h.useRef(null),d=h.useRef(null),p=h.useRef(null),f=rt(t,p,a.onViewportChange),m=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),v=a.toastCount>0;h.useEffect(()=>{const b=g=>{var w;r.length!==0&&r.every(j=>g[j]||g.code===j)&&((w=p.current)==null||w.focus())};return document.addEventListener("keydown",b),()=>document.removeEventListener("keydown",b)},[r]),h.useEffect(()=>{const b=c.current,g=p.current;if(v&&b&&g){const y=()=>{if(!a.isClosePausedRef.current){const T=new CustomEvent(nf);g.dispatchEvent(T),a.isClosePausedRef.current=!0}},w=()=>{if(a.isClosePausedRef.current){const T=new CustomEvent(rf);g.dispatchEvent(T),a.isClosePausedRef.current=!1}},j=T=>{!b.contains(T.relatedTarget)&&w()},k=()=>{b.contains(document.activeElement)||w()};return b.addEventListener("focusin",y),b.addEventListener("focusout",j),b.addEventListener("pointermove",y),b.addEventListener("pointerleave",k),window.addEventListener("blur",y),window.addEventListener("focus",w),()=>{b.removeEventListener("focusin",y),b.removeEventListener("focusout",j),b.removeEventListener("pointermove",y),b.removeEventListener("pointerleave",k),window.removeEventListener("blur",y),window.removeEventListener("focus",w)}}},[v,a.isClosePausedRef]);const x=h.useCallback(({tabbingDirection:b})=>{const y=l().map(w=>{const j=w.ref.current,k=[j,...XN(j)];return b==="forwards"?k:k.reverse()});return(b==="forwards"?y.reverse():y).flat()},[l]);return h.useEffect(()=>{const b=p.current;if(b){const g=y=>{var k,T,P;const w=y.altKey||y.ctrlKey||y.metaKey;if(y.key==="Tab"&&!w){const E=document.activeElement,S=y.shiftKey;if(y.target===b&&S){(k=u.current)==null||k.focus();return}const L=x({tabbingDirection:S?"backwards":"forwards"}),G=L.findIndex(V=>V===E);yu(L.slice(G+1))?y.preventDefault():S?(T=u.current)==null||T.focus():(P=d.current)==null||P.focus()}};return b.addEventListener("keydown",g),()=>b.removeEventListener("keydown",g)}},[l,x]),i.jsxs(EN,{ref:c,role:"region","aria-label":s.replace("{hotkey}",m),tabIndex:-1,style:{pointerEvents:v?void 0:"none"},children:[v&&i.jsx(sf,{ref:u,onFocusFromOutsideViewport:()=>{const b=x({tabbingDirection:"forwards"});yu(b)}}),i.jsx($p.Slot,{scope:n,children:i.jsx(Ae.ol,{tabIndex:-1,...o,ref:f})}),v&&i.jsx(sf,{ref:d,onFocusFromOutsideViewport:()=>{const b=x({tabbingDirection:"backwards"});yu(b)}})]})});P1.displayName=T1;var A1="ToastFocusProxy",sf=h.forwardRef((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:r,...s}=e,o=wc(A1,n);return i.jsx(vc,{"aria-hidden":!0,tabIndex:0,...s,ref:t,style:{position:"fixed"},onFocus:a=>{var u;const l=a.relatedTarget;!((u=o.viewport)!=null&&u.contains(l))&&r()}})});sf.displayName=A1;var bc="Toast",ON="toast.swipeStart",VN="toast.swipeMove",BN="toast.swipeCancel",zN="toast.swipeEnd",R1=h.forwardRef((e,t)=>{const{forceMount:n,open:r,defaultOpen:s,onOpenChange:o,...a}=e,[l=!0,c]=S1({prop:r,defaultProp:s,onChange:o});return i.jsx(pi,{present:n||l,children:i.jsx(UN,{open:l,...a,ref:t,onClose:()=>c(!1),onPause:Ft(e.onPause),onResume:Ft(e.onResume),onSwipeStart:xe(e.onSwipeStart,u=>{u.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:xe(e.onSwipeMove,u=>{const{x:d,y:p}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","move"),u.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${d}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${p}px`)}),onSwipeCancel:xe(e.onSwipeCancel,u=>{u.currentTarget.setAttribute("data-swipe","cancel"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),u.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:xe(e.onSwipeEnd,u=>{const{x:d,y:p}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","end"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),u.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${d}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${p}px`),c(!1)})})})});R1.displayName=bc;var[$N,WN]=E1(bc,{onClose(){}}),UN=h.forwardRef((e,t)=>
40{const{__scopeToast:n,type:r="foreground",duration:s,open:o,onClose:a,onEscapeKeyDown:l,onPause:c,onResume:u,onSwipeStart:d,onSwipeMove:p,onSwipeCancel:f,onSwipeEnd:m,...v}=e,x=wc(bc,n),[b,g]=h.useState(null),y=rt(t,V=>g(V)),w=h.useRef(null),j=h.useRef(null),k=s||x.duration,T=h.useRef(0),P=h.useRef(k),E=h.useRef(0),{onToastAdd:S,onToastRemove:C}=x,D=Ft(()=>{var U;(b==null?void 0:b.contains(document.activeElement))&&((U=x.viewport)==null||U.focus()),a()}),L=h.useCallback(V=>{!V||V===1/0||(window.clearTimeout(E.current),T.current=new Date().getTime(),E.current=window.setTimeout(D,V))},[D]);h.useEffect(()=>{const V=x.viewport;if(V){const U=()=>{L(P.current),u==null||u()},z=()=>{const M=new Date().getTime()-T.current;P.current=P.current-M,window.clearTimeout(E.current),c==null||c()};return V.addEventListener(nf,z),V.addEventListener(rf,U),()=>{V.removeEventListener(nf,z),V.removeEventListener(rf,U)}}},[x.viewport,k,c,u,L]),h.useEffect(()=>{o&&!x.isClosePausedRef.current&&L(k)},[o,k,x.isClosePausedRef,L]),h.useEffect(()=>(S(),()=>C()),[S,C]);const G=h.useMemo(()=>b?O1(b):null,[b]);return x.viewport?i.jsxs(i.Fragment,{children:[G&&i.jsx(HN,{__scopeToast:n,role:"status","aria-live":r==="foreground"?"assertive":"polite","aria-atomic":!0,children:G}),i.jsx($N,{scope:n,onClose:D,children:Er.createPortal(i.jsx($p.ItemSlot,{scope:n,children:i.jsx(SN,{asChild:!0,onEscapeKeyDown:xe(l,()=>{x.isFocusedToastEscapeKeyDownRef.current||D(),x.isFocusedToastEscapeKeyDownRef.current=!1}),children:i.jsx(Ae.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":o?"open":"closed","data-swipe-direction":x.swipeDirection,...v,ref:y,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:xe(e.onKeyDown,V=>{V.key==="Escape"&&(l==null||l(V.nativeEvent),V.nativeEvent.defaultPrevented||(x.isFocusedToastEscapeKeyDownRef.current=!0,D()))}),onPointerDown:xe(e.onPointerDown,V=>{V.button===0&&(w.current={x:V.clientX,y:V.clientY})}),onPointerMove:xe(e.onPointerMove,V=>{if(!w.current)return;const U=V.clientX-w.current.x,z=V.clientY-w.current.y,M=!!j.current,N=["left","right"].includes(x.swipeDirection),A=["left","up"].includes(x.swipeDirection)?Math.min:Math.max,B=N?A(0,U):0,F=N?0:A(0,z),$=V.pointerType==="touch"?10:2,K={x:B,y:F},se={originalEvent:V,delta:K};M?(j.current=K,ya(VN,p,se,{discrete:!1})):u0(K,x.swipeDirection,$)?(j.current=K,ya(ON,d,se,{discrete:!1}),V.target.setPointerCapture(V.pointerId)):(Math.abs(U)>$||Math.abs(z)>$)&&(w.current=null)}),onPointerUp:xe(e.onPointerUp,V=>{const U=j.current,z=V.target;if(z.hasPointerCapture(V.pointerId)&&z.releasePointerCapture(V.pointerId),j.current=null,w.current=null,U){const M=V.currentTarget,N={originalEvent:V,delta:U};u0(U,x.swipeDirection,x.swipeThreshold)?ya(zN,m,N,{discrete:!0}):ya(BN,f,N,{discrete:!0}),M.addEventListener("click",A=>A.preventDefault(),{once:!0})}})})})}),x.viewport)})]}):null}),HN=e=>{const{__scopeToast:t,children:n,...r}=e,s=wc(bc,t),[o,a]=h.useState(!1),[l,c]=h.useState(!1);return YN(()=>a(!0)),h.useEffect(()=>{const u=window.setTimeout(()=>c(!0),1e3);return()=>window.clearTimeout(u)},[]),l?null:i.jsx(Bp,{asChild:!0,children:i.jsx(vc,{...r,children:o&&i.jsxs(i.Fragment,{children:[s.label," ",n]})})})},GN="ToastTitle",M1=h.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return i.jsx(Ae.div,{...r,ref:t})});M1.displayName=GN;var KN="ToastDescription",_1=h.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return i.jsx(Ae.div,{...r,ref:t})});_1.displayName=KN;var D1="ToastAction",L1=h.forwardRef((e,t)=>{const{altText:n,...r}=e;return n.trim()?i.jsx(I1,{altText:n,asChild:!0,children:i.jsx(Wp,{...r,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${D1}\`. Expected non-empty \`string\`.`),null)});L1.displayName=D1;var F1="ToastClose",Wp=h.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e,s=WN(F1,n);return i.jsx(I1,{asChild:!0,children:i.jsx(Ae.button,{type:"button",...r,ref:t,onClick:xe(e.onClick,s.onClose)})})});Wp.displayName=F1;var I1=h.forwardRef((e,t)=>{const{__scopeToast:n,altText:r,...s}=e;return i.jsx(Ae.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...s,ref:t})});function O1(e){const t=[];
vendor: 6,664 bytes, lines 40-90
40return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),QN(r)){const s=r.ariaHidden||r.hidden||r.style.display==="none",o=r.dataset.radixToastAnnounceExclude==="";if(!s)if(o){const a=r.dataset.radixToastAnnounceAlt;a&&t.push(a)}else t.push(...O1(r))}}),t}function ya(e,t,n,{discrete:r}){const s=n.originalEvent.currentTarget,o=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&s.addEventListener(e,t,{once:!0}),r?b1(s,o):s.dispatchEvent(o)}var u0=(e,t,n=0)=>{const r=Math.abs(e.x),s=Math.abs(e.y),o=r>s;return t==="left"||t==="right"?o&&r>n:!o&&s>n};function YN(e=()=>{}){const t=Ft(e);xr(()=>{let n=0,r=0;return n=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(r)}},[t])}function QN(e){return e.nodeType===e.ELEMENT_NODE}function XN(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const s=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||s?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function yu(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}var qN=C1,V1=P1,B1=R1,z1=M1,$1=_1,W1=L1,U1=Wp;function H1(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(t=0;t<s;t++)e[t]&&(n=H1(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function G1(){for(var e,t,n=0,r="",s=arguments.length;n<s;n++)(e=arguments[n])&&(t=H1(e))&&(r&&(r+=" "),r+=t);return r}const d0=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,f0=G1,ZN=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return f0(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:s,defaultVariants:o}=t,a=Object.keys(s).map(u=>{const d=n==null?void 0:n[u],p=o==null?void 0:o[u];if(d===null)return null;const f=d0(d)||d0(p);return s[u][f]}),l=n&&Object.entries(n).reduce((u,d)=>{let[p,f]=d;return f===void 0||(u[p]=f),u},{}),c=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((u,d)=>{let{class:p,className:f,...m}=d;return Object.entries(m).every(v=>{let[x,b]=v;return Array.isArray(b)?b.includes({...o,...l}[x]):{...o,...l}[x]===b})?[...u,p,f]:u},[]);return f0(e,a,c,n==null?void 0:n.class,n==null?void 0:n.className)};/**
41 * @license lucide-react v0.462.0 - ISC
42 *
43 * This source code is licensed under the ISC license.
44 * See the LICENSE file in the root directory of this source tree.
45 */const JN=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),K1=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim();/**
46 * @license lucide-react v0.462.0 - ISC
47 *
48 * This source code is licensed under the ISC license.
49 * See the LICENSE file in the root directory of this source tree.
50 */var eS={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
51 * @license lucide-react v0.462.0 - ISC
52 *
53 * This source code is licensed under the ISC license.
54 * See the LICENSE file in the root directory of this source tree.
55 */const tS=h.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:s="",children:o,iconNode:a,...l},c)=>h.createElement("svg",{ref:c,...eS,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:K1("lucide",s),...l},[...a.map(([u,d])=>h.createElement(u,d)),...Array.isArray(o)?o:[o]]));/**
56 * @license lucide-react v0.462.0 - ISC
57 *
58 * This source code is licensed under the ISC license.
59 * See the LICENSE file in the root directory of this source tree.
60 */const Z=(e,t)=>{const n=h.forwardRef(({className:r,...s},o)=>h.createElement(tS,{ref:o,iconNode:t,className:K1(`lucide-${JN(e)}`,r),...s}));return n.displayName=`${e}`,n};/**
61 * @license lucide-react v0.462.0 - ISC
62 *
63 * This source code is licensed under the ISC license.
64 * See the LICENSE file in the root directory of this source tree.
65 */const Wo=Z("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/**
66 * @license lucide-react v0.462.0 - ISC
67 *
68 * This source code is licensed under the ISC license.
69 * See the LICENSE file in the root directory of this source tree.
70 */const nS=Z("BookOpenText",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M16 12h2",key:"7q9ll5"}],["path",{d:"M16 8h2",key:"msurwy"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}],["path",{d:"M6 12h2",key:"32wvfc"}],["path",{d:"M6 8h2",key:"30oboj"}]]);/**
71 * @license lucide-react v0.462.0 - ISC
72 *
73 * This source code is licensed under the ISC license.
74 * See the LICENSE file in the root directory of this source tree.
75 */const p0=Z("Building",[["rect",{width:"16",height:"20",x:"4",y:"2",rx:"2",ry:"2",key:"76otgf"}],["path",{d:"M9 22v-4h6v4",key:"r93iot"}],["path",{d:"M8 6h.01",key:"1dz90k"}],["path",{d:"M16 6h.01",key:"1x0f13"}],["path",{d:"M12 6h.01",key:"1vi96p"}],["path",{d:"M12 10h.01",key:"1nrarc"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M16 10h.01",key:"1m94wz"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M8 10h.01",key:"19clt8"}],["path",{d:"M8 14h.01",key:"6423bh"}]]);/**
76 * @license lucide-react v0.462.0 - ISC
77 *
78 * This source code is licensed under the ISC license.
79 * See the LICENSE file in the root directory of this source tree.
80 */const Up=Z("Calendar",[["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"}]]);/**
81 * @license lucide-react v0.462.0 - ISC
82 *
83 * This source code is licensed under the ISC license.
84 * See the LICENSE file in the root directory of this source tree.
85 */const Y1=Z("CircleCheckBig",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);/**
86 * @license lucide-react v0.462.0 - ISC
87 *
88 * This source code is licensed under the ISC license.
89 * See the LICENSE file in the root directory of this source tree.
90 */const rS=Z("Cpu",[["rect",{width:"16",height:"16",x:"4",y:"4",rx:"2",key:"14l7u7"}],["rect",{width:"6",height:"6",x:"9",y:"9",rx:"1",key:"5aljv4"}],["path",{d:"M15 2v2",key:"13l42r"}],["path",{d:"M15 20v2",key:"15mkzm"}],["path",{d:"M2 15h2",key:"1gxd5l"}],["path",{d:"M2 9h2",key:"1bbxkp"}],["path",{d:"M20 15h2",key:"19e6y8"}],["path",{d:"M20 9h2",key:"19tzq7"}
90],["path",{d:"M9 2v2",key:"165o2o"}],["path",{d:"M9 20v2",key:"i2bqo8"}]]);/**
91 * @license lucide-react v0.462.0 - ISC
92 *
93 * This source code is licensed under the ISC license.
94 * See the LICENSE file in the root directory of this source tree.
95 */const h0=Z("Database",[["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"}]]);/**
96 * @license lucide-react v0.462.0 - ISC
97 *
98 * This source code is licensed under the ISC license.
99 * See the LICENSE file in the root directory of this source tree.
100 */const sS=Z("Download",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"7 10 12 15 17 10",key:"2ggqvy"}],["line",{x1:"12",x2:"12",y1:"15",y2:"3",key:"1vk2je"}]]);/**
101 * @license lucide-react v0.462.0 - ISC
102 *
103 * This source code is licensed under the ISC license.
104 * See the LICENSE file in the root directory of this source tree.
105 */const iS=Z("ExternalLink",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);/**
106 * @license lucide-react v0.462.0 - ISC
107 *
108 * This source code is licensed under the ISC license.
109 * See the LICENSE file in the root directory of this source tree.
110 */const oS=Z("Eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/**
111 * @license lucide-react v0.462.0 - ISC
112 *
113 * This source code is licensed under the ISC license.
114 * See the LICENSE file in the root directory of this source tree.
115 */const Q1=Z("FileStack",[["path",{d:"M21 7h-3a2 2 0 0 1-2-2V2",key:"9rb54x"}],["path",{d:"M21 6v6.5c0 .8-.7 1.5-1.5 1.5h-7c-.8 0-1.5-.7-1.5-1.5v-9c0-.8.7-1.5 1.5-1.5H17Z",key:"1059l0"}],["path",{d:"M7 8v8.8c0 .3.2.6.4.8.2.2.5.4.8.4H15",key:"16874u"}],["path",{d:"M3 12v8.8c0 .3.2.6.4.8.2.2.5.4.8.4H11",key:"k2ox98"}]]);/**
116 * @license lucide-react v0.462.0 - ISC
117 *
118 * This source code is licensed under the ISC license.
119 * See the LICENSE file in the root directory of this source tree.
120 */const aS=Z("FileText",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]);/**
121 * @license lucide-react v0.462.0 - ISC
122 *
123 * This source code is licensed under the ISC license.
124 * See the LICENSE file in the root directory of this source tree.
125 */const lS=Z("Gauge",[["path",{d:"m12 14 4-4",key:"9kzdfg"}],["path",{d:"M3.34 19a10 10 0 1 1 17.32 0",key:"19p75a"}]]);/**
126 * @license lucide-react v0.462.0 - ISC
127 *
128 * This source code is licensed under the ISC license.
129 * See the LICENSE file in the root directory of this source tree.
130 */const cS=Z("Globe",[["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"}]]);/**
131 * @license lucide-react v0.462.0 - ISC
132 *
133 * This source code is licensed under the ISC license.
134 * See the LICENSE file in the root directory of this source tree.
135 */const m0=Z("LayoutGrid",[["rect",{width:"7",height:"7",x:"3",y:"3",rx:"1",key:"1g98yp"}],["rect",{width:"7",height:"7",x:"14",y:"3",rx:"1",key:"6d4xhi"}],["rect",{width:"7",height:"7",x:"14",y:"14",rx:"1",key:"nxv5o0"}],["rect",{width:"7",height:"7",x:"3",y:"14",rx:"1",key:"1bb6yr"}]]);/**
136 * @license lucide-react v0.462.0 - ISC
137 *
138 * This source code is licensed under the ISC license.
139 * See the LICENSE file in the root directory of this source tree.
140 */const Hp=Z("Linkedin",[["path",{d:"M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z",key:"c2jq9f"}],["rect",{width:"4",height:"12",x:"2",y:"9",key:"mk3on5"}],["circle",{cx:"4",cy:"4",r:"2",key:"bt5ra8"}]]);/**
141 * @license lucide-react v0.462.0 - ISC
142 *
143 * This source code is licensed under the ISC license.
144 * See the LICENSE file in the root directory of this source tree.
145 */const x0=Z("Lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]]);/**
146 * @license lucide-react v0.462.0 - ISC
147 *
148 * This source code is licensed under the ISC license.
149 * See the LICENSE file in the root directory of this source tree.
150 */const uS=Z("LogIn",[["path",{d:"M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4",key:"u53s6r"}],["polyline",{points:"10 17 15 12 10 7",key:"1ail0h"}],["line",{x1:"15",x2:"3",y1:"12",y2:"12",key:"v6grx8"}]]);/**
151 * @license lucide-react v0.462.0 - ISC
152 *
153 * This source code is licensed under the ISC license.
154 * See the LICENSE file in the root directory of this source tree.
155 */const to=Z("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]]);/**
156 * @license lucide-react v0.462.0 - ISC
157 *
158 * This source code is licensed under the ISC license.
159 * See the LICENSE file in the root directory of this source tree.
160 */const dS=Z("Maximize2",[["polyline",{points:"15 3 21 3 21 9",key:"mznyad"}],["polyline",{points:"9 21 3 21 3 15",key:"1avn1i"}],["line",{x1:"21",x2:"14",y1:"3",y2:"10",key:"ota7mn"}],["line",{x1:"3",x2:"10",y1:"21",y2:"14",key:"1atl0r"}]]);/**
161 * @license lucide-react v0.462.0 - ISC
162 *
163 * This source code is licensed under the ISC license.
164 * See the LICENSE file in the root directory of this source tree.
165 */const fS=Z("Minimize2",[["polyline",{points:"4 14 10 14 10 20",key:"11kfnr"}],["polyline",{points:"20 10 14 10 14 4",key:"rlmsce"}],["line",{x1:"14",x2:"21",y1:"10",y2:"3",key:"o5lafz"}],["line",{x1:"3",x2:"10",y1:"21",y2:"14",key:"1atl0r"}]]);/**
166 * @license lucide-react v0.462.0 - ISC
167 *
168 * This source code is licensed under the ISC license.
169 * See the LICENSE file in the root directory of this source tree.
170 */const of=Z("MonitorPlay",[["path",{d:"M10 7.75a.75.75 0 0 1 1.142-.638l3.664 2.249a.75.75 0 0 1 0 1.278l-3.664 2.25a.75.75 0 0 1-1.142-.64z",key:"1pctta"}],["path",{d:"M12 17v4",key:"1riwvh"}],["path",{d:"M8 21h8",key:"1ev6f3"}],["rect",{x:"2",y:"3",width:"20",height:"14",rx:"2",key:"x3v2xh"}]]);/**
171 * @license lucide-react v0.462.0 - ISC
172 *
173 * This source code is licensed under the ISC license.
174 * See the LICENSE file in the root directory of this source tree.
175 */const pS=Z("Package2",[["path",{d:"M3 9h18v10a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V9Z",key:"1ront0"}],["path",{d:"m3 9 2.45-4.9A2 2 0 0 1 7.24 3h9.52a2 2 0 0 1 1.8 1.1L21 9",key:"19h2x1"}],["path",{d:"M12 3v6",key:"1holv5"}]]);/**
176 * @license lucide-react v0.462.0 - ISC
177 *
178 * This source code is licensed under the ISC license.
179 * See the LICENSE file in the root directory of this source tree.
180 */const X1=Z("Play",[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]]);/**
181 * @license lucide-react v0.462.0 - ISC
182 *
183 * This source code is licensed under the ISC license.
184 * See the LICENSE file in the root directory of this source tree.
185 */const hS=Z("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);/**
186 * @license lucide-react v0.462.0 - ISC
187 *
188 * This source code is licensed under the ISC license.
189 * See the LICENSE file in the root directory of this source tree.
190 */const mS=Z("Pocket",[["path",{d:"M4 3h16a2 2 0 0 1 2 2v6a10 10 0 0 1-10 10A10 10 0 0 1 2 11V5a2 2 0 0 1 2-2z",key:"1mz881"}],["polyline",{points:"8 10 12 14 16 10",key:"w4mbv5"}]]);/**
191 * @license lucide-react v0.462.0 - ISC
192 *
193 * This source code is licensed under the ISC license.
194 * See the LICENSE file in the root directory of this source tree.
195 */const xS=Z("Radar",[["path",{d:"M19.07 4.93A10 10 0 0 0 6.99 3.34",key:"z3du51"}],["path",{d:"M4 6h.01",key:"oypzma"}],["path",{d:"M2.29 9.62A10 10 0 1 0 21.31 8.35",key:"qzzz0"}],["path",{d:"M16.24 7.76A6 6 0 1 0 8.23 16.67",key:"1yjesh"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M17.99 11.66A6 6 0 0 1 15.77 16.67",key:"1u2y91"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}],["path",{d:"m13.41 10.59 5.66-5.66",key:"mhq4k0"}]]);/**
196 * @license lucide-react v0.462.0 - ISC
197 *
198 * This source code is licensed under the ISC license.
199 * See the LICENSE file in the root directory of this source tree.
200 */const gS=Z("Scale",[["path",{d:"m16 16 3-8 3 8c-.87.65-1.92 1-3 1s-2.13-.35-3-1Z",key:"7g6ntu"}],["path",{d:"m2 16 3-8 3 8c-.87.65-1.92 1-3 1s-2.13-.35-3-1Z",key:"ijws7r"}],["path",{d:"M7 21h10",key:"1b0cd5"}],["path",{d:"M12 3v18",key:"108xh3"}
200],["path",{d:"M3 7h2c2 0 5-1 7-2 2 1 5 2 7 2h2",key:"3gwbw2"}]]);/**
201 * @license lucide-react v0.462.0 - ISC
202 *
203 * This source code is licensed under the ISC license.
204 * See the LICENSE file in the root directory of this source tree.
205 */const g0=Z("Settings",[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/**
206 * @license lucide-react v0.462.0 - ISC
207 *
208 * This source code is licensed under the ISC license.
209 * See the LICENSE file in the root directory of this source tree.
210 */const Dl=Z("Shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]]);/**
211 * @license lucide-react v0.462.0 - ISC
212 *
213 * This source code is licensed under the ISC license.
214 * See the LICENSE file in the root directory of this source tree.
215 */const q1=Z("Sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]]);/**
216 * @license lucide-react v0.462.0 - ISC
217 *
218 * This source code is licensed under the ISC license.
219 * See the LICENSE file in the root directory of this source tree.
220 */const yS=Z("TrendingUp",[["polyline",{points:"22 7 13.5 15.5 8.5 10.5 2 17",key:"126l90"}],["polyline",{points:"16 7 22 7 22 13",key:"kwv8wd"}]]);/**
221 * @license lucide-react v0.462.0 - ISC
222 *
223 * This source code is licensed under the ISC license.
224 * See the LICENSE file in the root directory of this source tree.
225 */const af=Z("TriangleAlert",[["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"}]]);/**
226 * @license lucide-react v0.462.0 - ISC
227 *
228 * This source code is licensed under the ISC license.
229 * See the LICENSE file in the root directory of this source tree.
230 */const Z1=Z("Twitter",[["path",{d:"M22 4s-.7 2.1-2 3.4c1.6 10-9.4 17.3-18 11.6 2.2.1 4.4-.6 6-2C3 15.5.5 9.6 3 5c2.2 2.6 5.6 4.1 9 4-.9-4.2 4-6.6 7-3.8 1.1 0 3-1.2 3-1.2z",key:"pff0z6"}]]);/**
231 * @license lucide-react v0.462.0 - ISC
232 *
233 * This source code is licensed under the ISC license.
234 * See the LICENSE file in the root directory of this source tree.
235 */const Za=Z("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]]);/**
236 * @license lucide-react v0.462.0 - ISC
237 *
238 * This source code is licensed under the ISC license.
239 * See the LICENSE file in the root directory of this source tree.
240 */const J1=Z("Workflow",[["rect",{width:"8",height:"8",x:"3",y:"3",rx:"2",key:"by2w9f"}],["path",{d:"M7 11v4a2 2 0 0 0 2 2h4",key:"xkn7yn"}],["rect",{width:"8",height:"8",x:"13",y:"13",rx:"2",key:"1cgmvn"}]]);/**
241 * @license lucide-react v0.462.0 - ISC
242 *
243 * This source code is licensed under the ISC license.
244 * See the LICENSE file in the root directory of this source tree.
245 */const vS=Z("Wrench",[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z",key:"cbrjhi"}]]);/**
246 * @license lucide-react v0.462.0 - ISC
247 *
248 * This source code is licensed under the ISC license.
249 * See the LICENSE file in the root directory of this source tree.
250 */const jc=Z("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}
vendor: 6,282 bytes, lines 250-255
250],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);/**
251 * @license lucide-react v0.462.0 - ISC
252 *
253 * This source code is licensed under the ISC license.
254 * See the LICENSE file in the root directory of this source tree.
255 */const wS=Z("Zap",[["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"}]]),Gp="-",bS=e=>{const t=kS(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:a=>{const l=a.split(Gp);return l[0]===""&&l.length!==1&&l.shift(),ew(l,t)||jS(a)},getConflictingClassGroupIds:(a,l)=>{const c=n[a]||[];return l&&r[a]?[...c,...r[a]]:c}}},ew=(e,t)=>{var a;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),s=r?ew(e.slice(1),r):void 0;if(s)return s;if(t.validators.length===0)return;const o=e.join(Gp);return(a=t.validators.find(({validator:l})=>l(o)))==null?void 0:a.classGroupId},y0=/^\[(.+)\]$/,jS=e=>{if(y0.test(e)){const t=y0.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},kS=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return SS(Object.entries(e.classGroups),n).forEach(([o,a])=>{lf(a,r,o,t)}),r},lf=(e,t,n,r)=>{e.forEach(s=>{if(typeof s=="string"){const o=s===""?t:v0(t,s);o.classGroupId=n;return}if(typeof s=="function"){if(NS(s)){lf(s(r),t,n,r);return}t.validators.push({validator:s,classGroupId:n});return}Object.entries(s).forEach(([o,a])=>{lf(a,v0(t,o),n,r)})})},v0=(e,t)=>{let n=e;return t.split(Gp).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},NS=e=>e.isThemeGetter,SS=(e,t)=>t?e.map(([n,r])=>{const s=r.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([a,l])=>[t+a,l])):o);return[n,s]}):e,ES=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const s=(o,a)=>{n.set(o,a),t++,t>e&&(t=0,r=n,n=new Map)};return{get(o){let a=n.get(o);if(a!==void 0)return a;if((a=r.get(o))!==void 0)return s(o,a),a},set(o,a){n.has(o)?n.set(o,a):s(o,a)}}},tw="!",CS=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,s=t[0],o=t.length,a=l=>{const c=[];let u=0,d=0,p;for(let b=0;b<l.length;b++){let g=l[b];if(u===0){if(g===s&&(r||l.slice(b,b+o)===t)){c.push(l.slice(d,b)),d=b+o;continue}if(g==="/"){p=b;continue}}g==="["?u++:g==="]"&&u--}const f=c.length===0?l:l.substring(d),m=f.startsWith(tw),v=m?f.substring(1):f,x=p&&p>d?p-d:void 0;return{modifiers:c,hasImportantModifier:m,baseClassName:v,maybePostfixModifierPosition:x}};return n?l=>n({className:l,parseClassName:a}):a},TS=e=>{if(e.length<=1)return e;const t=[];let n=[];return e.forEach(r=>{r[0]==="["?(t.push(...n.sort(),r),n=[]):n.push(r)}),t.push(...n.sort()),t},PS=e=>({cache:ES(e.cacheSize),parseClassName:CS(e),...bS(e)}),AS=/\s+/,RS=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:s}=t,o=[],a=e.trim().split(AS);let l="";for(let c=a.length-1;c>=0;c-=1){const u=a[c],{modifiers:d,hasImportantModifier:p,baseClassName:f,maybePostfixModifierPosition:m}=n(u);let v=!!m,x=r(v?f.substring(0,m):f);if(!x){if(!v){l=u+(l.length>0?" "+l:l);continue}if(x=r(f),!x){l=u+(l.length>0?" "+l:l);continue}v=!1}const b=TS(d).join(":"),g=p?b+tw:b,y=g+x;if(o.includes(y))continue;o.push(y);const w=s(x,v);for(let j=0;j<w.length;++j){const k=w[j];o.push(g+k)}l=u+(l.length>0?" "+l:l)}return l};function MS(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=nw(t))&&(r&&(r+=" "),r+=n);return r}const nw=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=nw(e[r]))&&(n&&(n+=" "),n+=t);return n};function _S(e,...t){let n,r,s,o=a;function a(c){const u=t.reduce((d,p)=>p(d),e());return n=PS(u),r=n.cache.get,s=n.cache.set,o=l,l(c)}function l(c){const u=r(c);if(u)return u;const d=RS(c,n);return s(c,d),d}return function(){return o(MS.apply(null,arguments))}}const de=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},rw=/^\[(?:([a-z-]+):)?(.+)\]$/i,DS=/^\d+\/\d+$/,LS=new Set(["px","full","screen"]),FS=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,IS=/\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$/,OS=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,VS=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,BS=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,bn=e=>Bs(e)||LS.has(e)||DS.test(e),Vn=e=>hi(e,"length",YS),Bs=e=>!!e&&!Number.isNaN(Number(e)),vu=e=>hi(e,"number",Bs),Ai=e=>!!e&&Number.isInteger(Number(e)),zS=e=>e.endsWith("%")&&Bs(e.slice(0,-1)),X=e=>rw.test(e),Bn=e=>FS.test(e),$S=new Set(["length","size","percentage"]),WS=e=>hi(e,$S,sw),US=e=>hi(e,"position",sw),HS=new Set(["image","url"]),GS=e=>hi(e,HS,XS),KS=e=>hi(e,"",QS),Ri=()=>!0,hi=(e,t,n)=>{const r=rw.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},YS=e=>IS.test(e)&&!OS.test(e),sw=()=>!1,QS=e=>VS.test(e),XS=e=>BS.test(e),qS=()=>{const e=de("colors"),t=de("spacing"),n=de("blur"),r=de("brightness"),s=de("borderColor"),o=de("borderRadius"),a=de("borderSpacing"),l=de("borderWidth"),c=de("contrast"),u=de("grayscale"),d=de("hueRotate"),p=de("invert"),f=de("gap"),m=de("gradientColorStops"),v=de("gradientColorStopPositions"),x=de("inset"),b=de("margin"),g=de("opacity"),y=de("padding"),w=de("saturate"),j=de("scale"),k=de("sepia"),T=de("skew"),P=de("space"),E=de("translate"),S=()=>["auto","contain","none"],C=()=>["auto","hidden","clip","visible","scroll"],D=()=>["auto",X,t],L=()=>[X,t],G=()=>["",bn,Vn],V=()=>["auto",Bs,X],U=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],z=()=>["solid","dashed","dotted","double","none"],M=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],N=()=>["start","end","center","between","around","evenly","stretch"],A=()=>["","0",X],B=()=>["auto","avoid","all","avoid-page","page","left","right","column"],F=()=>[Bs,X];return{cacheSize:500,separator:":",theme:{colors:[Ri],spacing:[bn,Vn],blur:["none","",Bn,X],brightness:F(),borderColor:[e],borderRadius:["n
255one","","full",Bn,X],borderSpacing:L(),borderWidth:G(),contrast:F(),grayscale:A(),hueRotate:F(),invert:A(),gap:L(),gradientColorStops:[e],gradientColorStopPositions:[zS,Vn],inset:D(),margin:D(),opacity:F(),padding:L(),saturate:F(),scale:F(),sepia:A(),skew:F(),space:L(),translate:L()},classGroups:{aspect:[{aspect:["auto","square","video",X]}],container:["container"],columns:[{columns:[Bn]}],"break-after":[{"break-after":B()}],"break-before":[{"break-before":B()}],"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:[...U(),X]}],overflow:[{overflow:C()}],"overflow-x":[{"overflow-x":C()}],"overflow-y":[{"overflow-y":C()}],overscroll:[{overscroll:S()}],"overscroll-x":[{"overscroll-x":S()}],"overscroll-y":[{"overscroll-y":S()}],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]}],right:[{right:[x]}],bottom:[{bottom:[x]}],left:[{left:[x]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Ai,X]}],basis:[{basis:D()}],"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:A()}],shrink:[{shrink:A()}],order:[{order:["first","last","none",Ai,X]}],"grid-cols":[{"grid-cols":[Ri]}],"col-start-end":[{col:["auto",{span:["full",Ai,X]},X]}],"col-start":[{"col-start":V()}],"col-end":[{"col-end":V()}],"grid-rows":[{"grid-rows":[Ri]}],"row-start-end":[{row:["auto",{span:[Ai,X]},X]}],"row-start":[{"row-start":V()}],"row-end":[{"row-end":V()}],"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",...N()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...N(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...N(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[y]}],px:[{px:[y]}],py:[{py:[y]}],ps:[{ps:[y]}],pe:[{pe:[y]}],pt:[{pt:[y]}],pr:[{pr:[y]}],pb:[{pb:[y]}],pl:[{pl:[y]}],m:[{m:[b]}],mx:[{mx:[b]}],my:[{my:[b]}],ms:[{ms:[b]}],me:[{me:[b]}],mt:[{mt:[b]}],mr:[{mr:[b]}],mb:[{mb:[b]}],ml:[{ml:[b]}],"space-x":[{"space-x":[P]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[P]}],"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:[Bn]},Bn]}],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",Bn,Vn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",vu]}],"font-family":[{font:[Ri]}],"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-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",X]}],"line-clamp":[{"line-clamp":["none",Bs,vu]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",bn,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":[g]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[g]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...z(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",bn,Vn]}],"underline-offset":[{"underline-offset":["auto",bn,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:L()}],"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":[g]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...U(),US]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",WS]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},GS]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[v]}
vendor: 5,172 bytes, line 255
255],"gradient-via-pos":[{via:[v]}],"gradient-to-pos":[{to:[v]}],"gradient-from":[{from:[m]}],"gradient-via":[{via:[m]}],"gradient-to":[{to:[m]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[g]}],"border-style":[{border:[...z(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[g]}],"divide-style":[{divide:z()}],"border-color":[{border:[s]}],"border-color-x":[{"border-x":[s]}],"border-color-y":[{"border-y":[s]}],"border-color-s":[{"border-s":[s]}],"border-color-e":[{"border-e":[s]}],"border-color-t":[{"border-t":[s]}],"border-color-r":[{"border-r":[s]}],"border-color-b":[{"border-b":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",...z()]}],"outline-offset":[{"outline-offset":[bn,X]}],"outline-w":[{outline:[bn,Vn]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:G()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[g]}],"ring-offset-w":[{"ring-offset":[bn,Vn]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Bn,KS]}],"shadow-color":[{shadow:[Ri]}],opacity:[{opacity:[g]}],"mix-blend":[{"mix-blend":[...M(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":M()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",Bn,X]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[d]}],invert:[{invert:[p]}],saturate:[{saturate:[w]}],sepia:[{sepia:[k]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[d]}],"backdrop-invert":[{"backdrop-invert":[p]}],"backdrop-opacity":[{"backdrop-opacity":[g]}],"backdrop-saturate":[{"backdrop-saturate":[w]}],"backdrop-sepia":[{"backdrop-sepia":[k]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[a]}],"border-spacing-x":[{"border-spacing-x":[a]}],"border-spacing-y":[{"border-spacing-y":[a]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",X]}],duration:[{duration:F()}],ease:[{ease:["linear","in","out","in-out",X]}],delay:[{delay:F()}],animate:[{animate:["none","spin","ping","pulse","bounce",X]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[j]}],"scale-x":[{"scale-x":[j]}],"scale-y":[{"scale-y":[j]}],rotate:[{rotate:[Ai,X]}],"translate-x":[{"translate-x":[E]}],"translate-y":[{"translate-y":[E]}],"skew-x":[{"skew-x":[T]}],"skew-y":[{"skew-y":[T]}],"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":L()}],"scroll-mx":[{"scroll-mx":L()}],"scroll-my":[{"scroll-my":L()}],"scroll-ms":[{"scroll-ms":L()}],"scroll-me":[{"scroll-me":L()}],"scroll-mt":[{"scroll-mt":L()}],"scroll-mr":[{"scroll-mr":L()}],"scroll-mb":[{"scroll-mb":L()}],"scroll-ml":[{"scroll-ml":L()}],"scroll-p":[{"scroll-p":L()}],"scroll-px":[{"scroll-px":L()}],"scroll-py":[{"scroll-py":L()}],"scroll-ps":[{"scroll-ps":L()}],"scroll-pe":[{"scroll-pe":L()}],"scroll-pt":[{"scroll-pt":L()}],"scroll-pr":[{"scroll-pr":L()}],"scroll-pb":[{"scroll-pb":L()}],"scroll-pl":[{"scroll-pl":L()}],"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"]}
vendor: 4,801 bytes, line 255
255],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:[bn,Vn,vu]}],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"]}}},ZS=_S(qS);function is(...e){return ZS(G1(e))}const JS=qN,iw=h.forwardRef(({className:e,...t},n)=>i.jsx(V1,{ref:n,className:is("fixed z-[100] top-4 left-1/2 -translate-x-1/2 w-full max-w-[420px] px-4","flex flex-col gap-2",e),...t}));iw.displayName=V1.displayName;const eE=ZN("group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-md border p-4 pr-8 shadow-lg transition-all data-[swipe=cancel]:translate-y-0 data-[swipe=end]:translate-y-[var(--radix-toast-swipe-end-y)] data-[swipe=move]:translate-y-[var(--radix-toast-swipe-move-y)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=open]:slide-in-from-top-full data-[state=closed]:slide-out-to-top-full data-[state=closed]:fade-out-80",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground",coral:["group","border-[#FAD4C6]","bg-[#FFF1EB]","text-[#6E2C1E]","focus:outline-none focus:ring-2 focus:ring-[#F7A889]/50"].join(" ")}},defaultVariants:{variant:"default"}}),ow=h.forwardRef(({className:e,variant:t,...n},r)=>i.jsx(B1,{ref:r,className:is(eE({variant:t}),e),...n}));ow.displayName=B1.displayName;const tE=h.forwardRef(({className:e,...t},n)=>i.jsx(W1,{ref:n,className:is("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors hover:bg-secondary focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive group-[.coral]:border-[#F7B49D] group-[.coral]:hover:bg-[#FFE6DD] group-[.coral]:focus:ring-[#F7A889]/50",e),...t}));tE.displayName=W1.displayName;const aw=h.forwardRef(({className:e,...t},n)=>i.jsx(U1,{ref:n,className:is("absolute right-2 top-2 rounded-md p-1 text-foreground
255/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-2 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600 group-[.coral]:text-[#C4643F]/70 group-[.coral]:hover:text-[#6E2C1E] group-[.coral]:focus:ring-[#F7A889]/50",e),"toast-close":"",...t,children:i.jsx(jc,{className:"h-4 w-4"})}));aw.displayName=U1.displayName;const lw=h.forwardRef(({className:e,...t},n)=>i.jsx(z1,{ref:n,className:is("text-sm font-semibold",e),...t}));lw.displayName=z1.displayName;const cw=h.forwardRef(({className:e,...t},n)=>i.jsx($1,{ref:n,className:is("text-sm opacity-90",e),...t}));cw.displayName=$1.displayName;function nE(){const{toasts:e}=aN();return i.jsxs(JS,{children:[e.map(function({id:t,title:n,description:r,action:s,...o}){return i.jsxs(ow,{...o,children:[i.jsxs("div",{className:"grid gap-1",children:[n&&i.jsx(lw,{children:n}),r&&i.jsx(cw,{children:r})]}),s,i.jsx(aw,{})]},t)}),i.jsx(iw,{})]})}var w0=["light","dark"],rE="(prefers-color-scheme: dark)",sE=h.createContext(void 0),iE={setTheme:e=>{},themes:[]},oE=()=>{var e;return(e=h.useContext(sE))!=null?e:iE};h.memo(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:s,defaultTheme:o,value:a,attrs:l,nonce:c})=>{let u=o==="system",d=n==="class"?`var d=document.documentElement,c=d.classList;${`c.remove(${l.map(v=>`'${v}'`).join(",")})`};`:`var d=document.documentElement,n='${n}',s='setAttribute';`,p=s?w0.includes(o)&&o?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${o}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",f=(v,x=!1,b=!0)=>{let g=a?a[v]:v,y=x?v+"|| ''":`'${g}'`,w="";return s&&b&&!x&&w0.includes(v)&&(w+=`d.style.colorScheme = '${v}';`),n==="class"?x||g?w+=`c.add(${y})`:w+="null":g&&(w+=`d[s](n,${y})`),w},m=e?`!function(){${d}${f(e)}}()`:r?`!function(){try{${d}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${u})){var t='${rE}',m=window.matchMedia(t);if(m.media!==t||m.matches){${f("dark")}}else{${f("light")}}}else if(e){${a?`var x=${JSON.stringify(a)};`:""}${f(a?"x[e]":"e",!0)}}${u?"":"else{"+f(o,!1,!1)+"}"}${p}}catch(e){}}()`:`!function(){try{${d}var e=localStorage.getItem('${t}');if(e){${a?`var x=${JSON.stringify(a)};`:""}${f(a?"x[e]":"e",!0)}}else{${f(o,!1,!1)};}${p}}catch(t){}}();`;return h.createElement("script",{nonce:c,dangerouslySetInnerHTML:{__html:m}})});var aE=e=>{switch(e){case"success":return uE;case"info":return fE;case"warning":return dE;case"error":return pE;default:return null}},lE=Array(12).fill(0),cE=({visible:e})=>R.createElement("div",{className:"sonner-loading-wrapper","data-visible":e},R.createElement("div",{className:"sonner-spinner"},lE.map((t,n)=>R.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${n}`})))),uE=R.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},R.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),dE=R.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},R.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),fE=R.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},R.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),pE=R.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},R.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),hE=()=>{let[e,t]=R.useState(document.hidden);return R.useEffect(()=>{let n=()=>{t(document.hidden)};
255return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),e},cf=1,mE=class{constructor(){this.subscribe=e=>(this.subscribers.push(e),()=>{let t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)}),this.publish=e=>{this.subscribers.forEach(t=>t(e))},this.addToast=e=>{this.publish(e),this.toasts=[...this.toasts,e]},this.create=e=>{var t;let{message:n,...r}=e,s=typeof(e==null?void 0:e.id)=="number"||((t=e.id)==null?void 0:t.length)>0?e.id:cf++,o=this.toasts.find(l=>l.id===s),a=e.dismissible===void 0?!0:e.dismissible;return o?this.toasts=this.toasts.map(l=>l.id===s?(this.publish({...l,...e,id:s,title:n}),{...l,...e,id:s,dismissible:a,title:n}):l):this.addToast({title:n,...r,dismissible:a,id:s}),s},this.dismiss=e=>(e||this.toasts.forEach(t=>{this.subscribers.forEach(n=>n({id:t.id,dismiss:!0}))}),this.subscribers.forEach(t=>t({id:e,dismiss:!0})),e),this.message=(e,t)=>this.create({...t,message:e}),this.error=(e,t)=>this.create({...t,message:e,type:"error"}),this.success=(e,t)=>this.create({...t,type:"success",message:e}),this.info=(e,t)=>this.create({...t,type:"info",message:e}),this.warning=(e,t)=>this.create({...t,type:"warning",message:e}),this.loading=(e,t)=>
255this.create({...t,type:"loading",message:e}),this.promise=(e,t)=>{if(!t)return;let n;t.loading!==void 0&&(n=this.create({...t,promise:e,type:"loading",message:t.loading,description:typeof t.description!="function"?t.description:void 0}));let r=e instanceof Promise?e:e(),s=n!==void 0;return r.then(async o=>{if(gE(o)&&!o.ok){s=!1;let a=typeof t.error=="function"?await t.error(`HTTP error! status: ${o.status}`):t.error,l=typeof t.description=="function"?await t.description(`HTTP error! status: ${o.status}`):t.description;this.create({id:n,type:"error",message:a,description:l})}else if(t.success!==void 0){s=!1;let a=typeof t.success=="function"?await t.success(o):t.success,l=typeof t.description=="function"?await t.description(o):t.description;this.create({id:n,type:"success",message:a,description:l})}}).catch(async o=>{if(t.error!==void 0){s=!1;let a=typeof t.error=="function"?await t.error(o):t.error,l=typeof t.description=="function"?await t.description(o):t.description;this.create({id:n,type:"error",message:a,description:l})}}).finally(()=>{var o;s&&(this.dismiss(n),n=void 0),(o=t.finally)==null||o.call(t)}),n},this.custom=(e,t)=>{let n=(t==null?void 0:t.id)||cf++;return this.create({jsx:e(n),id:n,...t}),n},this.subscribers=[],this.toasts=[]}},ht=new mE,xE=(e,t)=>{let n=(t==null?void 0:t.id)||cf++;return ht.addToast({title:e,...t,id:n}),n},gE=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",yE=xE,vE=()=>ht.toasts;Object.assign(yE,{success:ht.success,info:ht.info,warning:ht.warning,error:ht.error,custom:ht.custom,message:ht.message,promise:ht.promise,dismiss:ht.dismiss,loading:ht.loading},{getHistory:vE});function wE(e,{insertAt:t}={}){if(typeof document>"u")return;let n=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css",t==="top"&&n.firstChild?n.insertBefore(r,n.firstChild):n.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}wE(`:where(html[dir="ltr"]),:where([data-sonner-toaster][dir="ltr"]){--toast-icon-margin-start: -3px;--toast-icon-margin-end: 4px;--toast-svg-margin-start: -1px;--toast-svg-margin-end: 0px;--toast-button-margin-start: auto;--toast-button-margin-end: 0;--toast-close-button-start: 0;--toast-close-button-end: unset;--toast-close-button-transform: translate(-35%, -35%)}:where(html[dir="rtl"]),:where([data-sonner-toaster][dir="rtl"]){--toast-icon-margin-start: 4px;--toast-icon-margin-end: -3px;--toast-svg-margin-start: 0px;--toast-svg-margin-end: -1px;--toast-button-margin-start: 0;--toast-button-margin-end: auto;--toast-close-button-start: unset;--toast-close-button-end: 0;--toast-close-button-transform: translate(35%, -35%)}:where([data-sonner-toaster]){position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1: hsl(0, 0%, 99%);--gray2: hsl(0, 0%, 97.3%);--gray3: hsl(0, 0%, 95.1%);--gray4: hsl(0, 0%, 93%);--gray5: hsl(0, 0%, 90.9%);--gray6: hsl(0, 0%, 88.7%);--gray7: hsl(0, 0%, 85.8%);--gray8: hsl(0, 0%, 78%);--gray9: hsl(0, 0%, 56.1%);--gray10: hsl(0, 0%, 52.3%);--gray11: hsl(0, 0%, 43.5%);--gray12: hsl(0, 0%, 9%);--border-radius: 8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:none;z-index:999999999}:where([data-sonner-toaster][data-x-position="right"]){right:max(var(--offset),env(safe-area-inset-right))}:where([data-sonner-toaster][data-x-position="left"]){left:max(var(--offset),env(safe-area-inset-left))}:where([data-sonner-toaster][data-x-position="center"]){left:50%;transform:translate(-50%)}:where([data-sonner-toaster][data-y-position="top"]){top:max(var(--offset),env(safe-area-inset-top))}:where([data-sonner-toaster][data-y-position="bottom"]){bottom:max(var(--offset),env(safe-area-inset-bottom))}:where([data-sonner-toast]){--y: translateY(100%);--lift-amount: calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);filter:blur(0);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:none;overflow-wrap:anywhere}:where([data-sonner-toast][data-styled="true"]){padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px #0000001a;width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}:where([data-sonner-toast]:focus-visible){box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast][data-y-position="top"]){top:0;--y: translateY(-100%);--lift: 1;--lift-amount: calc(1 * var(--gap))}:where([data-sonner-toast][data-y-position="bottom"]){bottom:0;--y: translateY(100%);--lift: -1;--lift-amount: calc(var(--lift) * var(--gap))}:where([data-sonner-toast]) :where([data-description]){font-weight:400;line-height:1.4;color:inherit}:where([data-sonner-toast]) :where([data-title]){font-weight:500;line-height:1.5;color:inherit}:where([data-sonner-toast]) :where([data-icon]){display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}:where([data-sonner-toast][data-promise="true"]) :where([data-icon])>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}:where([data-sonner-toast]) :where([data-icon])>*{flex-shrink:0}:where([data-sonner-toast]) :where([data-icon]) svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}:where([data-sonner-toast]) :where([data-content]){display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;cursor:pointer;outline:none;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}:where([data-sonner-toast]) :where([data-button]):focus-visible{box-shadow:0 0 0 2px #0006}:where([data-sonner-toast]) :where([data-button]):first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}:where([data-sonner-toast]) :where([data-cancel]){color:var(--normal-text);background:rgba(0,0,0,.08)}:where([data-sonner-toast][data-theme="dark"]) :where([data-cancel]){background:rgba(255,255,255,.3)}:where([data-sonner-toast]) :where([data-close-button]){position:absolute;
255left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;background:var(--gray1);color:var(--gray12);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}:where([data-sonner-toast]) :where([data-close-button]):focus-visible{box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast]) :where([data-disabled="true"]){cursor:not-allowed}:where([data-sonner-toast]):hover :where([data-close-button]):hover{background:var(--gray2);border-color:var(--gray5)}:where([data-sonner-toast][data-swiping="true"]):before{content:"";position:absolute;left:0;right:0;height:100%;z-index:-1}:where([data-sonner-toast][data-y-position="top"][data-swiping="true"]):before{bottom:50%;transform:scaleY(3) translateY(50%)}:where([data-sonner-toast][data-y-position="bottom"][data-swiping="true"]):before{top:50%;transform:scaleY(3) translateY(-50%)}:where([data-sonner-toast][data-swiping="false"][data-removed="true"]):before{content:"";position:absolute;inset:0;transform:scaleY(2)}:where([data-sonner-toast]):after{content:"";position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}:where([data-sonner-toast][data-mounted="true"]){--y: translateY(0);opacity:1}:where([data-sonner-toast][data-expanded="false"][data-front="false"]){--scale: var(--toasts-before) * .05 + 1;--y: translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}:where([data-sonner-toast])>*{transition:opacity .4s}:where([data-sonner-toast][data-expanded="false"][data-front="false"][data-styled="true"])>*{opacity:0}
255:where([data-sonner-toast][data-visible="false"]){opacity:0;pointer-events:none}:where([data-sonner-toast][data-mounted="true"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}:where([data-sonner-toast][data-removed="true"][data-front="true"][data-swipe-out="false"]){--y: translateY(calc(var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="false"]){--y: translateY(40%);opacity:0;transition:transform .5s,opacity .2s}:where([data-sonner-toast][data-removed="true"][data-front="false"]):before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount, 0px));transition:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation:swipe-out .2s ease-out forwards}@keyframes swipe-out{0%{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount)));opacity:1}to{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount) + var(--lift) * -100%));opacity:0}}@media (max-width: 600px){[data-sonner-toaster]{position:fixed;--mobile-offset: 16px;right:var(--mobile-offset);left:var(--mobile-offset);width:100%}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset)}[data-sonner-toaster][data-y-position=bottom]{bottom:20px}[data-sonner-toaster][data-y-position=top]{top:20px}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset);right:var(--mobile-offset);transform:none}}[data-sonner-toaster][data-theme=light]{--normal-bg: #fff;--normal-border: var(--gray4);--normal-text: var(--gray12);--success-bg: hsl(143, 85%, 96%);--success-border: hsl(145, 92%, 91%);--success-text: hsl(140, 100%, 27%);--info-bg: hsl(208, 100%, 97%);--info-border: hsl(221, 91%, 91%);--info-text: hsl(210, 92%, 45%);--warning-bg: hsl(49, 100%, 97%);--warning-border: hsl(49, 91%, 91%);--warning-text: hsl(31, 92%, 45%);--error-bg: hsl(359, 100%, 97%);--error-border: hsl(359, 100%, 94%);--error-text: hsl(360, 100%, 45%)}[data-sonner-toaster][data-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg: #fff;--normal-border: var(--gray3);--normal-text: var(--gray12)}[data-sonner-toaster][data-theme=dark]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1);--success-bg: hsl(150, 100%, 6%);--success-border: hsl(147, 100%, 12%);--success-text: hsl(150, 86%, 65%);--info-bg: hsl(215, 100%, 6%);--info-border: hsl(223, 100%, 12%);--info-text: hsl(216, 87%, 65%);--warning-bg: hsl(64, 100%, 6%);--warning-border: hsl(60, 100%, 12%);--warning-text: hsl(46, 87%, 65%);--error-bg: hsl(358, 76%, 10%);--error-border: hsl(357, 89%, 16%);--error-text: hsl(358, 100%, 81%)}[data-rich-colors=true][data-sonner-toast][data-type=success],[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info],[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning],[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error],[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size: 16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:nth-child(1){animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}to{opacity:.15}}@media (prefers-reduced-motion){[data-sonner-toast],[data-sonner-toast]>*,.sonner-loading-bar{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}
256`);function va(e){return e.label!==void 0}var bE=3,jE="32px",kE=4e3,NE=356,SE=14,EE=20,CE=200;function TE(...e){return e.filter(Boolean).join(" ")}var PE=e=>{var t,n,r,s,o,a,l,c,u,d;let{invert:p,toast:f,unstyled:m,interacting:v,setHeights:x,visibleToasts:b,heights:g,index:y,toasts:w,expanded:j,removeToast:k,defaultRichColors:T,closeButton:P,style:E,cancelButtonStyle:S,actionButtonStyle:C,className:D="",descriptionClassName:L="",duration:G,position:V,gap:U,loadingIcon:z,expandByDefault:M,classNames:N,icons:A,closeButtonAriaLabel:B="Close toast",pauseWhenPageIsHidden:F,cn:$}=e,[K,se]=R.useState(!1),[ke,ee]=R.useState(!1),[De,Y]=R.useState(!1),[re,kt]=R.useState(!1),[ot,Nt]=R.useState(0),[St,Jt]=R.useState(0),te=R.useRef(null),Ee=R.useRef(null),vn=y===0,wn=y+1<=b,Ne=f.type,ls=f.dismissible!==!1,Nj=f.className||"",Sj=f.descriptionClassName||"",qo=R.useMemo(()=>g.findIndex(Q=>Q.toastId===f.id)||0,[g,f.id]),Ej=R.useMemo(()=>{var Q;return(Q=f.closeButton)!=null?Q:P},[f.closeButton,P]),Gh=R.useMemo(()=>f.duration||G||kE,[f.duration,G]),zc=R.useRef(0),cs=R.useRef(0),Kh=R.useRef(0),us=R.useRef(null),[Yh,Cj]=V.split("-"),Qh=R.useMemo(()=>g.reduce((Q,ue,le)=>le>=qo?Q:Q+ue.height,0),[g,qo]),Xh=hE(),Tj=f.invert||p,$c=Ne==="loading";cs.current=R.useMemo(()=>qo*U+Qh,[qo,Qh]),R.useEffect(()=>{se(!0)},[]),R.useLayoutEffect(()=>{if(!K)return;let Q=Ee.current,ue=Q.style.height;Q.style.height="auto";let le=Q.getBoundingClientRect().height;Q.style.height=ue,Jt(le),x(en=>en.find(tn=>tn.toastId===f.id)?en.map(tn=>tn.toastId===f.id?{...tn,height:le}:tn):[{toastId:f.id,height:le,position:f.position},...en])},[K,f.title,f.description,x,f.id]);let In=R.useCallback(()=>{ee(!0),Nt(cs.current),x(Q=>Q.filter(ue=>ue.toastId!==f.id)),setTimeout(()=>{k(f)},CE)},[f,k,x,cs]);R.useEffect(()=>{if(f.promise&&Ne==="loading"||f.duration===1/0||f.type==="loading")return;let Q,ue=Gh;return j||v||F&&Xh?(()=>{if(Kh.current<zc.current){let le=new Date().getTime()-zc.current;ue=ue-le}
256Kh.current=new Date().getTime()})():ue!==1/0&&(zc.current=new Date().getTime(),Q=setTimeout(()=>{var le;(le=f.onAutoClose)==null||le.call(f,f),In()},ue)),()=>clearTimeout(Q)},[j,v,M,f,Gh,In,f.promise,Ne,F,Xh]),R.useEffect(()=>{let Q=Ee.current;if(Q){let ue=Q.getBoundingClientRect().height;return Jt(ue),x(le=>[{toastId:f.id,height:ue,position:f.position},...le]),()=>x(le=>le.filter(en=>en.toastId!==f.id))}},[x,f.id]),R.useEffect(()=>{f.delete&&In()},[In,f.delete]);function Pj(){return A!=null&&A.loading?R.createElement("div",{className:"sonner-loader","data-visible":Ne==="loading"},A.loading):z?R.createElement("div",{className:"sonner-loader","data-visible":Ne==="loading"},z):R.createElement(cE,{visible:Ne==="loading"})}return R.createElement("li",{"aria-live":f.important?"assertive":"polite","aria-atomic":"true",role:"status",tabIndex:0,ref:Ee,className:$(D,Nj,N==null?void 0:N.toast,(t=f==null?void 0:f.classNames)==null?void 0:t.toast,N==null?void 0:N.default,N==null?void 0:N[Ne],(n=f==null?void 0:f.classNames)==null?void 0:n[Ne]),"data-sonner-toast":"","data-rich-colors":(r=f.richColors)!=null?r:T,"data-styled":!(f.jsx||f.unstyled||m),"data-mounted":K,"data-promise":!!f.promise,"data-removed":ke,"data-visible":wn,"data-y-position":Yh,"data-x-position":Cj,"data-index":y,"data-front":vn,"data-swiping":De,"data-dismissible":ls,"data-type":Ne,"data-invert":Tj,"data-swipe-out":re,"data-expanded":!!(j||M&&K),style:{"--index":y,"--toasts-before":y,"--z-index":w.length-y,"--offset":`${ke?ot:cs.current}px`,"--initial-height":M?"auto":`${St}px`,...E,...f.style},onPointerDown:Q=>{$c||!ls||(te.current=new Date,Nt(cs.current),Q.target.setPointerCapture(Q.pointerId),Q.target.tagName!=="BUTTON"&&(Y(!0),us.current={x:Q.clientX,y:Q.clientY}))},onPointerUp:()=>{var Q,ue,le,en;if(re||!ls)return;us.current=null;let tn=Number(((Q=Ee.current)==null?void 0:Q.style.getPropertyValue("--swipe-amount").replace("px",""))||0),Zo=new Date().getTime()-((ue=te.current)==null?void 0:ue.getTime()),Aj=Math.abs(tn)/Zo;if(Math.abs(tn)>=EE||Aj>.11){Nt(cs.current),(le=f.onDismiss)==null||le.call(f,f),In(),kt(!0);return}(en=Ee.current)==null||en.style.setProperty("--swipe-amount","0px"),Y(!1)},onPointerMove:Q=>{var ue;if(!us.current||!ls)return;let le=Q.clientY-us.current.y,en=Q.clientX-us.current.x,tn=(Yh==="top"?Math.min:Math.max)(0,le),Zo=Q.pointerType==="touch"?10:2;Math.abs(tn)>Zo?(ue=Ee.current)==null||ue.style.setProperty("--swipe-amount",`${le}px`):Math.abs(en)>Zo&&(us.current=null)}},Ej&&!f.jsx?R.createElement("button",{"aria-label":B,"data-disabled":$c,"data-close-button":!0,onClick:$c||!ls?()=>{}:()=>{var Q;In(),(Q=f.onDismiss)==null||Q.call(f,f)},className:$(N==null?void 0:N.closeButton,(s=f==null?void 0:f.classNames)==null?void 0:s.closeButton)},R.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},R.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),R.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"}))):null,f.jsx||R.isValidElement(f.title)?f.jsx||f.title:R.createElement(R.Fragment,null,Ne||f.icon||f.promise?R.createElement("div",{"data-icon":"",className:$(N==null?void 0:N.icon,(o=f==null?void 0:f.classNames)==null?void 0:o.icon)},f.promise||f.type==="loading"&&!f.icon?f.icon||Pj():null,f.type!=="loading"?f.icon||(A==null?void 0:A[Ne])||aE(Ne):null):null,R.createElement("div",{"data-content":"",className:$(N==null?void 0:N.content,(a=f==null?void 0:f.classNames)==null?void 0:a.content)},R.createElement("div",{"data-title":"",className:$(N==null?void 0:N.title,(l=f==null?void 0:f.classNames)==null?void 0:l.title)},f.title),f.description?R.createElement("div",{"data-description":"",className:$(L,Sj,N==null?void 0:N.description,(c=f==null?void 0:f.classNames)==null?void 0:c.description)},f.description):null),R.isValidElement(f.cancel)?f.cancel:f.cancel&&va(f.cancel)?R.createElement("button",{"data-button":!0,"data-cancel":!0,style:f.cancelButtonStyle||S,onClick:Q=>{var ue,le;va(f.cancel)&&ls&&((le=(ue=f.cancel).onClick)==null||le.call(ue,Q),In())},className:$(N==null?void 0:N.cancelButton,(u=f==null?void 0:f.classNames)==null?void 0:u.cancelButton)},f.cancel.label):null,R.isValidElement(f.action)?f.action:f.action&&va(f.action)?R.createElement("button",{"data-button":!0,"data-action":!0,style:f.actionButtonStyle||C,onClick:Q=>{var ue,le;va(f.action)&&(Q.defaultPrevented||((le=(ue=f.action).onClick)==null||le.call(ue,Q),In()))},className:$(N==null?void 0:N.actionButton,(d=f==null?void 0:f.classNames)==null?void 0:d.actionButton)},f.action.label):null))};function b0(){if(typeof window>"u"||typeof document>"u")return"ltr";let e=document.documentElement.getAttribute("dir");return e==="auto"||!e?window.getComputedStyle(document.documentElement).direction:e}var AE=e=>{let{invert:t,position:n="bottom-right",hotkey:r=["altKey","KeyT"],expand:s,closeButton:o,className:a,offset:l,theme:c="light",richColors:u,duration:d,style:p,visibleToasts:f=bE,toastOptions:m,dir:v=b0(),gap:x=SE,loadingIcon:b,icons:g,containerAriaLabel:y="Notifications",pauseWhenPageIsHidden:w,cn:j=TE}=e,[k,T]=R.useState([]),P=R.useMemo(()=>Array.from(new Set([n].concat(k.filter(F=>F.position).map(F=>
256F.position)))),[k,n]),[E,S]=R.useState([]),[C,D]=R.useState(!1),[L,G]=R.useState(!1),[V,U]=R.useState(c!=="system"?c:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),z=R.useRef(null),M=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),N=R.useRef(null),A=R.useRef(!1),B=R.useCallback(F=>{var $;($=k.find(K=>K.id===F.id))!=null&&$.delete||ht.dismiss(F.id),T(K=>K.filter(({id:se})=>se!==F.id))},[k]);return R.useEffect(()=>ht.subscribe(F=>{if(F.dismiss){T($=>$.map(K=>K.id===F.id?{...K,delete:!0}:K));return}setTimeout(()=>{gc.flushSync(()=>{T($=>{let K=$.findIndex(se=>se.id===F.id);return K!==-1?[...$.slice(0,K),{...$[K],...F},...$.slice(K+1)]:[F,...$]})})})}),[]),R.useEffect(()=>{if(c!=="system"){U(c);return}c==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?U("dark"):U("light")),typeof window<"u"&&window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",({matches:F})=>{U(F?"dark":"light")})},[c]),R.useEffect(()=>{k.length<=1&&D(!1)},[k]),R.useEffect(()=>{let F=$=>{var K,se;r.every(ke=>$[ke]||$.code===ke)&&(D(!0),(K=z.current)==null||K.focus()),$.code==="Escape"&&(document.activeElement===z.current||(se=z.current)!=null&&se.contains(document.activeElement))&&D(!1)};return document.addEventListener("keydown",F),()=>document.removeEventListener("keydown",F)},[r]),R.useEffect(()=>{if(z.current)return()=>{N.current&&(N.current.focus({preventScroll:!0}),N.current=null,A.current=!1)}},[z.current]),k.length?R.createElement("section",{"aria-label":`${y} ${M}`,tabIndex:-1},P.map((F,$)=>{var K;let[se,ke]=F.split("-");return R.createElement("ol",{key:F,dir:v==="auto"?b0():v,tabIndex:-1,ref:z,className:a,"data-sonner-toaster":!0,"data-theme":V,"data-y-position":se,"data-x-position":ke,style:{"--front-toast-height":`${((K=E[0])==null?void 0:K.height)||0}px`,"--offset":typeof l=="number"?`${l}px`:l||jE,"--width":`${NE}px`,"--gap":`${x}px`,...p},onBlur:ee=>{A.current&&!ee.currentTarget.contains(ee.relatedTarget)&&(A.current=!1,N.current&&(N.current.focus({preventScroll:!0}),N.current=null))},onFocus:ee=>{ee.target instanceof HTMLElement&&ee.target.dataset.dismissible==="false"||A.current||(A.current=!0,N.current=ee.relatedTarget)},onMouseEnter:()=>D(!0),onMouseMove:()=>D(!0),onMouseLeave:()=>{L||D(!1)},onPointerDown:ee=>{ee.target instanceof HTMLElement&&ee.target.dataset.dismissible==="false"||G(!0)},onPointerUp:()=>G(!1)},k.filter(ee=>!ee.position&&$===0||ee.position===F).map((ee,De)=>{var Y,re;return R.createElement(PE,{key:ee.id,icons:g,index:De,toast:ee,defaultRichColors:u,duration:(Y=m==null?void 0:m.duration)!=null?Y:d,className:m==null?void 0:m.className,descriptionClassName:m==null?void 0:m.descriptionClassName,invert:t,visibleToasts:f,closeButton:(re=m==null?void 0:m.closeButton)!=null?re:o,interacting:L,position:F,style:m==null?void 0:m.style,unstyled:m==null?void 0:m.unstyled,classNames:m==null?void 0:m.classNames,cancelButtonStyle:m==null?void 0:m.cancelButtonStyle,actionButtonStyle:m==null?void 0:m.actionButtonStyle,removeToast:B,toasts:k.filter(kt=>kt.position==ee.position),heights:E.filter(kt=>kt.position==ee.position),setHeights:S,expandByDefault:s,gap:x,loadingIcon:b,expanded:C,pauseWhenPageIsHidden:w,cn:j})}))})):null};const RE=({...e})=>{const{theme:t="system"}=oE();return i.jsx(AE,{theme:t,className:"toaster group",toastOptions:{classNames:{toast:"group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg",description:"group-[.toast]:text-muted-foreground",actionButton:"group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",cancelButton:"group-[.toast]:bg-muted group-[.toast]:text-muted-foreground"}},...e})};var ME=my.useId||(()=>{}),_E=0;function wu(e){const[t,n]=h.useState(ME());return xr(()=>{e||n(r=>r??String(_E++))},[e]),e||(t?`radix-${t}`:"")}const DE=["top","right","bottom","left"],gr=Math.min,xt=Math.max,Ll=Math.round,wa=Math.floor,yr=e=>({x:e,y:e}),LE={left:"right",right:"left",bottom:"top",top:"bottom"},FE={start:"end",end:"start"};function uf(e,t,n){return xt(e,gr(t,n))}function _n(e,t){return typeof e=="function"?e(t):e}function Dn(e){return e.split("-")[0]}function mi(e){return e.split("-")[1]}function Kp(e){return e==="x"?"y":"x"}function Yp(e){return e==="y"?"height":"width"}function vr(e){return["top","bottom"].includes(Dn(e))?"y":"x"}function Qp(e){return Kp(vr(e))}function IE(e,t,n){n===void 0&&(n=!1);const r=mi(e),s=Qp(e),o=Yp(s);let a=s==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(a=Fl(a)),[a,Fl(a)]}function OE(e){const t=Fl(e);return[df(e),t,df(t)]}function df(e){return e.replace(/start|end/g,t=>FE[t])}function VE(e,t,n){const r=["left","right"],s=["right","left"],o=["top","bottom"],a=["bottom","top"];switch(e){case"top":case"bottom":return n?t?s:r:t?r:s;case"left":case"right":return t?o:a;default:return[]}}function BE(e,t,n,r){const s=mi(e);let o=VE(Dn(e),n==="start",r);return s&&(o=o.map(a=>a+"-"+s),t&&(o=o.concat(o.map(df)))),o}function Fl(e){return e.replace(/left|right|bottom|top/g,t=>LE[t])}function zE(e){return{top:0,right:0,bottom:0,left:0,...e}}function uw(e){return typeof e!="number"?zE(e):{top:e,right:e,bottom:e,left:e}}function Il(e){const{x:t,y:n,width:r,height:s}=e;return{width:r,height:s,top:n,left:t,right:t+r,bottom:n+s,x:t,y:n}}function j0(e,t,n){let{reference:r,floating:s}=e;const o=vr(t),a=Qp(t),l=Yp(a),c=Dn(t),u=o==="y",d=r.x+r.width/2-s.width/2,p=r.y+r.height/2-s.height/2,f=r[l]/2-s[l]/2;let m;switch(c){case"top":m={x:d,y:r.y-s.height};break;case"bottom":m={x:d,y:r.y+r.height};break;case"right":m={x:r.x+r.width,y:p};break;case"left":m={x:r.x-s.width,y:p};break;default:m={x:r.x,y:r.y}}switch(mi(t)){case"start":m[a]-=f*(n&&u?-1:1);break;case"end":m[a]+=f*(n&&u?-1:1);break}return m}const $E=async(e,t,n)=>{const{placement:r="bottom",strategy:s="absolute",middleware:o=[],platform:a}
vendor: 9,689 bytes, line 256
256=n,l=o.filter(Boolean),c=await(a.isRTL==null?void 0:a.isRTL(t));let u=await a.getElementRects({reference:e,floating:t,strategy:s}),{x:d,y:p}=j0(u,r,c),f=r,m={},v=0;for(let x=0;x<l.length;x++){const{name:b,fn:g}=l[x],{x:y,y:w,data:j,reset:k}=await g({x:d,y:p,initialPlacement:r,placement:f,strategy:s,middlewareData:m,rects:u,platform:a,elements:{reference:e,floating:t}});d=y??d,p=w??p,m={...m,[b]:{...m[b],...j}},k&&v<=50&&(v++,typeof k=="object"&&(k.placement&&(f=k.placement),k.rects&&(u=k.rects===!0?await a.getElementRects({reference:e,floating:t,strategy:s}):k.rects),{x:d,y:p}=j0(u,f,c)),x=-1)}return{x:d,y:p,placement:f,strategy:s,middlewareData:m}};async function So(e,t){var n;t===void 0&&(t={});const{x:r,y:s,platform:o,rects:a,elements:l,strategy:c}=e,{boundary:u="clippingAncestors",rootBoundary:d="viewport",elementContext:p="floating",altBoundary:f=!1,padding:m=0}=_n(t,e),v=uw(m),b=l[f?p==="floating"?"reference":"floating":p],g=Il(await o.getClippingRect({element:(n=await(o.isElement==null?void 0:o.isElement(b)))==null||n?b:b.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(l.floating)),boundary:u,rootBoundary:d,strategy:c})),y=p==="floating"?{x:r,y:s,width:a.floating.width,height:a.floating.height}:a.reference,w=await(o.getOffsetParent==null?void 0:o.getOffsetParent(l.floating)),j=await(o.isElement==null?void 0:o.isElement(w))?await(o.getScale==null?void 0:o.getScale(w))||{x:1,y:1}:{x:1,y:1},k=Il(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:y,offsetParent:w,strategy:c}):y);return{top:(g.top-k.top+v.top)/j.y,bottom:(k.bottom-g.bottom+v.bottom)/j.y,left:(g.left-k.left+v.left)/j.x,right:(k.right-g.right+v.right)/j.x}}const WE=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:s,rects:o,platform:a,elements:l,middlewareData:c}=t,{element:u,padding:d=0}=_n(e,t)||{};if(u==null)return{};const p=uw(d),f={x:n,y:r},m=Qp(s),v=Yp(m),x=await a.getDimensions(u),b=m==="y",g=b?"top":"left",y=b?"bottom":"right",w=b?"clientHeight":"clientWidth",j=o.reference[v]+o.reference[m]-f[m]-o.floating[v],k=f[m]-o.reference[m],T=await(a.getOffsetParent==null?void 0:a.getOffsetParent(u));let P=T?T[w]:0;(!P||!await(a.isElement==null?void 0:a.isElement(T)))&&(P=l.floating[w]||o.floating[v]);const E=j/2-k/2,S=P/2-x[v]/2-1,C=gr(p[g],S),D=gr(p[y],S),L=C,G=P-x[v]-D,V=P/2-x[v]/2+E,U=uf(L,V,G),z=!c.arrow&&mi(s)!=null&&V!==U&&o.reference[v]/2-(V<L?C:D)-x[v]/2<0,M=z?V<L?V-L:V-G:0;return{[m]:f[m]+M,data:{[m]:U,centerOffset:V-U-M,...z&&{alignmentOffset:M}},reset:z}}}),UE=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:s,middlewareData:o,rects:a,initialPlacement:l,platform:c,elements:u}=t,{mainAxis:d=!0,crossAxis:p=!0,fallbackPlacements:f,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:v="none",flipAlignment:x=!0,...b}=_n(e,t);if((n=o.arrow)!=null&&n.alignmentOffset)return{};const g=Dn(s),y=vr(l),w=Dn(l)===l,j=await(c.isRTL==null?void 0:c.isRTL(u.floating)),k=f||(w||!x?[Fl(l)]:OE(l)),T=v!=="none";!f&&T&&k.push(...BE(l,x,v,j));const P=[l,...k],E=await So(t,b),S=[];let C=((r=o.flip)==null?void 0:r.overflows)||[];if(d&&S.push(E[g]),p){const V=IE(s,a,j);S.push(E[V[0]],E[V[1]])}if(C=[...C,{placement:s,overflows:S}],!S.every(V=>V<=0)){var D,L;const V=(((D=o.flip)==null?void 0:D.index)||0)+1,U=P[V];if(U)return{data:{index:V,overflows:C},reset:{placement:U}};let z=(L=C.filter(M=>M.overflows[0]<=0).sort((M,N)=>M.overflows[1]-N.overflows[1])[0])==null?void 0:L.placement;if(!z)switch(m){case"bestFit":{var G;const M=(G=C.filter(N=>{if(T){const A=vr(N.placement);return A===y||A==="y"}return!0}).map(N=>[N.placement,N.overflows.filter(A=>A>0).reduce((A,B)=>A+B,0)]).sort((N,A)=>N[1]-A[1])[0])==null?void 0:G[0];M&&(z=M);break}case"initialPlacement":z=l;break}if(s!==z)return{reset:{placement:z}}}return{}}}};function k0(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function N0(e){return DE.some(t=>e[t]>=0)}const HE=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...s}=_n(e,t);switch(r){case"referenceHidden":{const o=await So(t,{...s,elementContext:"reference"}),a=k0(o,n.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:N0(a)}}}case"escaped":{const o=await So(t,{...s,altBoundary:!0}),a=k0(o,n.floating);return{data:{escapedOffsets:a,escaped:N0(a)}}}default:return{}}}}};async function GE(e,t){const{placement:n,platform:r,elements:s}=e,o=await(r.isRTL==null?void 0:r.isRTL(s.floating)),a=Dn(n),l=mi(n),c=vr(n)==="y",u=["left","top"].includes(a)?-1:1,d=o&&c?-1:1,p=_n(t,e);let{mainAxis:f,crossAxis:m,alignmentAxis:v}=typeof p=="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return l&&typeof v=="number"&&(m=l==="end"?v*-1:v),c?{x:m*d,y:f*u}:{x:f*u,y:m*d}}const KE=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:s,y:o,placement:a,middlewareData:l}=t,c=await GE(t,e);return a===((n=l.offset)==null?void 0:n.placement)&&(r=l.arrow)!=null&&r.alignmentOffset?{}:{x:s+c.x,y:o+c.y,data:{...c,placement:a}}}}},YE=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:s}=t,{mainAxis:o=!0,crossAxis:a=!1,limiter:l={fn:b=>{let{x:g,y}=b;return{x:g,y}}},...c}=_n(e,t),u={x:n,y:r},d=await So(t,c),p=vr(Dn(s)),f=Kp(p);let m=u[f],v=u[p];if(o){const b=f==="y"?"top":"left",g=f==="y"?"bottom":"right",y=m+d[b],w=m-d[g];m=uf(y,m,w)}if(a){const b=p==="y"?"top":"left",g=p==="y"?"bottom":"right",y=v+d[b],w=v-d[g];v=uf(y,v,w)}const x=l.fn({...t,[f]:m,[p]:v});return{...x,data:{x:x.x-n,y:x.y-r,enabled:{[f]:o,[p]:a}}}}}},QE=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:s,rects:o,middlewareData:a}=t,{offset:l=0,mainAxis:c=!0,crossAxis:u=!0}=_n(e,t),d={x:n,y:r},p=vr(s),f=Kp(p);let m=d[f],v=d[p];const x=_n(l,t),b=typeof x=="number"?{mainAxis:x,crossAxis:0}:{mainAxis:0,crossAxis:0,...x};if(c){const w=f==="y"?"height":"width",j=o.reference[f]-o.floating[w]+b.mainAxis,k=o.reference[f]+o.reference[w]-b.mainAxis;m<j?m=j:m>k&&(m=k)}if(u){var g,y;const w=f==="y"?"width":"height",j=["top","left"].includes(Dn(s)),k=o.reference[p]-o.floating[w]+(j&&((g=a.offset)==null?void 0:g[p])||0)+(j?0:b.crossAxis),T=o.reference[p]+o.reference[w]+(j?0:((y=a.offset)==null?void 0:y[p])||0)-(j?b.crossAxis:0);v<k?v=k:v>T&&(v=T)}return{[f]:m,[p]:v}}}},XE=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:s,rects:o,platform:a,elements:l}=t,{apply:c=()=>{},...u}=_n(e,t),d=await So(t,u),p=Dn(s),f=mi(s),m=vr(s)==="y",{width:v,height:x}=o.floating;let b,g;p==="top"||p==="bottom"?(b=p,g=f===(await(a.isRTL==null?void 0:a.isRTL(l.floating))?"start":"end")?"left":"right"):(g=p,b=f==="end"?"top":"bottom");const y=x-d.top-d.bottom,w=v-d.left-d.right,j=gr(x-d[b],y),k=gr(v-d[g],w),T=!t.middlewareData.shift;let P=j,E=k;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(E=w),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(P=y),T&&!f){const C=xt(d.left,0),D=xt(d.right,0),L=xt(d.top,0),G=xt(d.bottom,0);m?E=v-2*(C!==0||D!==0?C+D:xt(d.left,d.right)):P=x-2*(L!==0||G!==0?L+G:xt(d.top,d.bottom))}await c({...t,availableWidth:E,availableHeight:P});const S=await a.getDimensions(l.floating);return v!==S.width||x!==S.height?{reset:{rects:!0}}:{}}}};function kc(){return typeof window<"u"}function xi(e){return dw(e)?(e.nodeName||"").toLowerCase():"#document"}function vt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function yn(e){var t;return(t=(dw(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function dw(e){return kc()?e instanceof Node||e instanceof vt(e).Node:!1}function Qt(e){return kc()?e instanceof Element||e instanceof vt(e).Element:!1}function xn(e){return kc()?e instanceof HTMLElement||e instanceof vt(e).HTMLElement:!1}function S0(e){return!kc()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof vt(e).ShadowRoot}function Uo(e){const{overflow:t,overflowX:n,overflowY:r,display:s}=Xt(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(s)}function qE(e){return["table","td","th"].includes(xi(e))}function Nc(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function Xp(e){const t=qp(),n=Qt(e)?Xt(e):e;return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function ZE(e){let t=wr(e);for(;xn(t)&&!ii(t);){if(Xp(t))return t;if(Nc(t))return null;t=wr(t)}return null}function qp(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function ii(e){return["html","body","#document"].includes(xi(e))}function Xt(e){return vt(e).getComputedStyle(e)}function Sc(e){return Qt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function wr(e){if(xi(e)==="html")return e;const t=e.assignedSlot||e.parentNode||S0(e)&&e.host||yn(e);return S0(t)?t.host:t}function fw(e){const t=wr(e);return ii(t)?e.ownerDocument?e.ownerDocument.body:e.body:xn(t)&&Uo(t)?t:fw(t)}function Eo(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const s=fw(e),o=s===((r=e.ownerDocument)==null?void 0:r.body),a=vt(s);if(o){const l=ff(a);
vendor: 7,125 bytes, line 256
256return t.concat(a,a.visualViewport||[],Uo(s)?s:[],l&&n?Eo(l):[])}return t.concat(s,Eo(s,[],n))}function ff(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function pw(e){const t=Xt(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const s=xn(e),o=s?e.offsetWidth:n,a=s?e.offsetHeight:r,l=Ll(n)!==o||Ll(r)!==a;return l&&(n=o,r=a),{width:n,height:r,$:l}}function Zp(e){return Qt(e)?e:e.contextElement}function zs(e){const t=Zp(e);if(!xn(t))return yr(1);const n=t.getBoundingClientRect(),{width:r,height:s,$:o}=pw(t);let a=(o?Ll(n.width):n.width)/r,l=(o?Ll(n.height):n.height)/s;return(!a||!Number.isFinite(a))&&(a=1),(!l||!Number.isFinite(l))&&(l=1),{x:a,y:l}}const JE=yr(0);function hw(e){const t=vt(e);return!qp()||!t.visualViewport?JE:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function eC(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==vt(e)?!1:t}function ts(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const s=e.getBoundingClientRect(),o=Zp(e);let a=yr(1);t&&(r?Qt(r)&&(a=zs(r)):a=zs(e));const l=eC(o,n,r)?hw(o):yr(0);let c=(s.left+l.x)/a.x,u=(s.top+l.y)/a.y,d=s.width/a.x,p=s.height/a.y;if(o){const f=vt(o),m=r&&Qt(r)?vt(r):r;let v=f,x=ff(v);for(;x&&r&&m!==v;){const b=zs(x),g=x.getBoundingClientRect(),y=Xt(x),w=g.left+(x.clientLeft+parseFloat(y.paddingLeft))*b.x,j=g.top+(x.clientTop+parseFloat(y.paddingTop))*b.y;c*=b.x,u*=b.y,d*=b.x,p*=b.y,c+=w,u+=j,v=vt(x),x=ff(v)}}return Il({width:d,height:p,x:c,y:u})}function tC(e){let{elements:t,rect:n,offsetParent:r,strategy:s}=e;const o=s==="fixed",a=yn(r),l=t?Nc(t.floating):!1;if(r===a||l&&o)return n;let c={scrollLeft:0,scrollTop:0},u=yr(1);const d=yr(0),p=xn(r);if((p||!p&&!o)&&((xi(r)!=="body"||Uo(a))&&(c=Sc(r)),xn(r))){const f=ts(r);u=zs(r),d.x=f.x+r.clientLeft,d.y=f.y+r.clientTop}return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-c.scrollLeft*u.x+d.x,y:n.y*u.y-c.scrollTop*u.y+d.y}}function nC(e){return Array.from(e.getClientRects())}function pf(e,t){const n=Sc(e).scrollLeft;return t?t.left+n:ts(yn(e)).left+n}function rC(e){const t=yn(e),n=Sc(e),r=e.ownerDocument.body,s=xt(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=xt(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+pf(e);const l=-n.scrollTop;return Xt(r).direction==="rtl"&&(a+=xt(t.clientWidth,r.clientWidth)-s),{width:s,height:o,x:a,y:l}}function sC(e,t){const n=vt(e),r=yn(e),s=n.visualViewport;let o=r.clientWidth,a=r.clientHeight,l=0,c=0;if(s){o=s.width,a=s.height;const u=qp();(!u||u&&t==="fixed")&&(l=s.offsetLeft,c=s.offsetTop)}return{width:o,height:a,x:l,y:c}}function iC(e,t){const n=ts(e,!0,t==="fixed"),r=n.top+e.clientTop,s=n.left+e.clientLeft,o=xn(e)?zs(e):yr(1),a=e.clientWidth*o.x,l=e.clientHeight*o.y,c=s*o.x,u=r*o.y;return{width:a,height:l,x:c,y:u}}function E0(e,t,n){let r;if(t==="viewport")r=sC(e,n);else if(t==="document")r=rC(yn(e));else if(Qt(t))r=iC(t,n);else{const s=hw(e);r={...t,x:t.x-s.x,y:t.y-s.y}}return Il(r)}function mw(e,t){const n=wr(e);return n===t||!Qt(n)||ii(n)?!1:Xt(n).position==="fixed"||mw(n,t)}function oC(e,t){const n=t.get(e);if(n)return n;let r=Eo(e,[],!1).filter(l=>Qt(l)&&xi(l)!=="body"),s=null;const o=Xt(e).position==="fixed";let a=o?wr(e):e;for(;Qt(a)&&!ii(a);){const l=Xt(a),c=Xp(a);!c&&l.position==="fixed"&&(s=null),(o?!c&&!s:!c&&l.position==="static"&&!!s&&["absolute","fixed"].includes(s.position)||Uo(a)&&!c&&mw(e,a))?r=r.filter(d=>d!==a):s=l,a=wr(a)}return t.set(e,r),r}function aC(e){let{element:t,boundary:n,rootBoundary:r,strategy:s}=e;const a=[...n==="clippingAncestors"?Nc(t)?[]:oC(t,this._c):[].concat(n),r],l=a[0],c=a.reduce((u,d)=>{const p=E0(t,d,s);return u.top=xt(p.top,u.top),u.right=gr(p.right,u.right),u.bottom=gr(p.bottom,u.bottom),u.left=xt(p.left,u.left),u},E0(t,l,s));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function lC(e){const{width:t,height:n}=pw(e);return{width:t,height:n}}function cC(e,t,n){const r=xn(t),s=yn(t),o=n==="fixed",a=ts(e,!0,o,t);let l={scrollLeft:0,scrollTop:0};const c=yr(0);if(r||!r&&!o)if((xi(t)!=="body"||Uo(s))&&(l=Sc(t)),r){const m=ts(t,!0,o,t);c.x=m.x+t.clientLeft,c.y=m.y+t.clientTop}else s&&(c.x=pf(s));let u=0,d=0;if(s&&!r&&!o){const m=s.getBoundingClientRect();d=m.top+l.scrollTop,u=m.left+l.scrollLeft-pf(s,m)}const p=a.left+l.scrollLeft-c.x-u,f=a.top+l.scrollTop-c.y-d;return{x:p,y:f,width:a.width,height:a.height}}function bu(e){return Xt(e).position==="static"}function C0(e,t){if(!xn(e)||Xt(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return yn(e)===n&&(n=n.ownerDocument.body),n}function xw(e,t){const n=vt(e);if(Nc(e))return n;if(!xn(e)){let s=wr(e);for(;s&&!ii(s);){if(Qt(s)&&!bu(s))return s;s=wr(s)}return n}let r=C0(e,t);for(;r&&qE(r)&&bu(r);)r=C0(r,t);return r&&ii(r)&&bu(r)&&!Xp(r)?n:r||ZE(e)||n}const uC=async function(e){const t=this.getOffsetParent||xw,n=this.getDimensions,r=await n(e.floating);return{reference:cC(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function dC(e){return Xt(e).direction==="rtl"}const fC={convertOffsetParentRelativeRectToViewportRelativeRect:tC,getDocumentElement:yn,getClippingRect:aC,getOffsetParent:xw,getElementRects:uC,getClientRects:nC,getDimensions:lC,getScale:zs,isElement:Qt,isRTL:dC};function pC(e,t){let n=null,r;const s=yn(e);function o(){var l;clearTimeout(r),(l=n)==null||l.disconnect(),n=null}function a(l,c){l===void 0&&(l=!1),c===void 0&&(c=1),o();const{left:u,top:d,width:p,height:f}=e.getBoundingClientRect();if(l||t(),!p||!f)return;const m=wa(d),v=wa(s.clientWidth-(u+p)),x=wa(s.clientHeight-(d+f)),b=wa(u),y={rootMargin:-m+"px "+-v+"px "+-x+"px "+-b+"px",threshold:xt(0,gr(1,c))||1};let w=!0;function j(k){const T=k[0].intersectionRatio;if(T!==c){if(!w)return a();T?a(!1,T):r=setTimeout(()=>{a(!1,1e-7)},1e3)}w=!1}try{n=new IntersectionObserver(j,{...y,root:s.ownerDocument})}catch{n=new IntersectionObserver(j,y)}n.observe(e)}return a(!0),o}function hC(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:s=!0,ancestorResize:o=!0,elementResize:a=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:c=!1}=r,u=Zp(e),d=s||o?[...u?Eo(u):[],...Eo(t)]:[];d.forEach(g=>{s&&g.addEventListener("scroll",n,{passive:!0}),o&&g.addEventListener("resize",n)});const p=u&&l?pC(u,n):null;let f=-1,m=null;a&&(m=new ResizeObserver(g=>{let[y]=g;y&&y.target===u&&m&&(m.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var w;(w=m)==null||w.observe(t)})),n()}),u&&!c&&m.observe(u),m.observe(t));let v,x=c?ts(e):null;c&&b();function b(){const g=ts(e);x&&(g.x!==x.x||g.y!==x.y||g.width!==x.width||g.height!==x.height)&&n(),x=g,v=requestAnimationFrame(b)}return n(),()=>{var g;d.forEach(y=>{s&&y.removeEventListener("scroll",n),o&&y.removeEventListener("resize",n)}),p==null||p(),(g=m)==null||g.disconnect(),m=null,c&&cancelAnimationFrame(v)}}const mC=KE,xC=YE,gC=UE,yC=XE,vC=HE,T0=WE,wC=QE,bC=(e,t,n)=>{const r=new Map,s={platform:fC,...n},o={...s.platform,_c:r};return $E(e,t,{...s,platform:o})};var Ja=typeof document<"u"?h.useLayoutEffect:h.useEffect;function Ol(e,t){if(e===t)return!0;
vendor: 8,694 bytes, line 256
256if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,s;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!Ol(e[r],t[r]))return!1;return!0}if(s=Object.keys(e),n=s.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,s[r]))return!1;for(r=n;r--!==0;){const o=s[r];if(!(o==="_owner"&&e.$$typeof)&&!Ol(e[o],t[o]))return!1}return!0}return e!==e&&t!==t}function gw(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function P0(e,t){const n=gw(e);return Math.round(t*n)/n}function ju(e){const t=h.useRef(e);return Ja(()=>{t.current=e}),t}function jC(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:s,elements:{reference:o,floating:a}={},transform:l=!0,whileElementsMounted:c,open:u}=e,[d,p]=h.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[f,m]=h.useState(r);Ol(f,r)||m(r);const[v,x]=h.useState(null),[b,g]=h.useState(null),y=h.useCallback(N=>{N!==T.current&&(T.current=N,x(N))},[]),w=h.useCallback(N=>{N!==P.current&&(P.current=N,g(N))},[]),j=o||v,k=a||b,T=h.useRef(null),P=h.useRef(null),E=h.useRef(d),S=c!=null,C=ju(c),D=ju(s),L=ju(u),G=h.useCallback(()=>{if(!T.current||!P.current)return;const N={placement:t,strategy:n,middleware:f};D.current&&(N.platform=D.current),bC(T.current,P.current,N).then(A=>{const B={...A,isPositioned:L.current!==!1};V.current&&!Ol(E.current,B)&&(E.current=B,Er.flushSync(()=>{p(B)}))})},[f,t,n,D,L]);Ja(()=>{u===!1&&E.current.isPositioned&&(E.current.isPositioned=!1,p(N=>({...N,isPositioned:!1})))},[u]);const V=h.useRef(!1);Ja(()=>(V.current=!0,()=>{V.current=!1}),[]),Ja(()=>{if(j&&(T.current=j),k&&(P.current=k),j&&k){if(C.current)return C.current(j,k,G);G()}},[j,k,G,C,S]);const U=h.useMemo(()=>({reference:T,floating:P,setReference:y,setFloating:w}),[y,w]),z=h.useMemo(()=>({reference:j,floating:k}),[j,k]),M=h.useMemo(()=>{const N={position:n,left:0,top:0};if(!z.floating)return N;const A=P0(z.floating,d.x),B=P0(z.floating,d.y);return l?{...N,transform:"translate("+A+"px, "+B+"px)",...gw(z.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:A,top:B}},[n,l,z.floating,d.x,d.y]);return h.useMemo(()=>({...d,update:G,refs:U,elements:z,floatingStyles:M}),[d,G,U,z,M])}const kC=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:s}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?T0({element:r.current,padding:s}).fn(n):{}:r?T0({element:r,padding:s}).fn(n):{}}}},NC=(e,t)=>({...mC(e),options:[e,t]}),SC=(e,t)=>({...xC(e),options:[e,t]}),EC=(e,t)=>({...wC(e),options:[e,t]}),CC=(e,t)=>({...gC(e),options:[e,t]}),TC=(e,t)=>({...yC(e),options:[e,t]}),PC=(e,t)=>({...vC(e),options:[e,t]}),AC=(e,t)=>({...kC(e),options:[e,t]});var RC="Arrow",yw=h.forwardRef((e,t)=>{const{children:n,width:r=10,height:s=5,...o}=e;return i.jsx(Ae.svg,{...o,ref:t,width:r,height:s,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:i.jsx("polygon",{points:"0,0 30,0 15,10"})})});yw.displayName=RC;var MC=yw;function _C(e,t=[]){let n=[];function r(o,a){const l=h.createContext(a),c=n.length;n=[...n,a];function u(p){const{scope:f,children:m,...v}=p,x=(f==null?void 0:f[e][c])||l,b=h.useMemo(()=>v,Object.values(v));return i.jsx(x.Provider,{value:b,children:m})}function d(p,f){const m=(f==null?void 0:f[e][c])||l,v=h.useContext(m);if(v)return v;if(a!==void 0)return a;throw new Error(`\`${p}\` must be used within \`${o}\``)}return u.displayName=o+"Provider",[u,d]}const s=()=>{const o=n.map(a=>h.createContext(a));return function(l){const c=(l==null?void 0:l[e])||o;return h.useMemo(()=>({[`__scope${e}`]:{...l,[e]:c}}),[l,c])}};return s.scopeName=e,[r,DC(s,...t)]}function DC(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(s=>({useScope:s(),scopeName:s.scopeName}));return function(o){const a=r.reduce((l,{useScope:c,scopeName:u})=>{const p=c(o)[`__scope${u}`];return{...l,...p}},{});return h.useMemo(()=>({[`__scope${t.scopeName}`]:a}),[a])}};return n.scopeName=t.scopeName,n}function LC(e){const[t,n]=h.useState(void 0);return xr(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(s=>{if(!Array.isArray(s)||!s.length)return;const o=s[0];let a,l;if("borderBoxSize"in o){const c=o.borderBoxSize,u=Array.isArray(c)?c[0]:c;a=u.inlineSize,l=u.blockSize}else a=e.offsetWidth,l=e.offsetHeight;n({width:a,height:l})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var vw="Popper",[ww,bw]=_C(vw),[q_,jw]=ww(vw),kw="PopperAnchor",Nw=h.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...s}=e,o=jw(kw,n),a=h.useRef(null),l=rt(t,a);return h.useEffect(()=>{o.onAnchorChange((r==null?void 0:r.current)||a.current)}),r?null:i.jsx(Ae.div,{...s,ref:l})});Nw.displayName=kw;var Jp="PopperContent",[FC,IC]=ww(Jp),Sw=h.forwardRef((e,t)=>{var De,Y,re,kt,ot,Nt;const{__scopePopper:n,side:r="bottom",sideOffset:s=0,align:o="center",alignOffset:a=0,arrowPadding:l=0,avoidCollisions:c=!0,collisionBoundary:u=[],collisionPadding:d=0,sticky:p="partial",hideWhenDetached:f=!1,updatePositionStrategy:m="optimized",onPlaced:v,...x}=e,b=jw(Jp,n),[g,y]=h.useState(null),w=rt(t,St=>y(St)),[j,k]=h.useState(null),T=LC(j),P=(T==null?void 0:T.width)??0,E=(T==null?void 0:T.height)??0,S=r+(o!=="center"?"-"+o:""),C=typeof d=="number"?d:{top:0,right:0,bottom:0,left:0,...d},D=Array.isArray(u)?u:[u],L=D.length>0,G={padding:C,boundary:D.filter(VC),altBoundary:L},{refs:V,floatingStyles:U,placement:z,isPositioned:M,middlewareData:N}=jC({strategy:"fixed",placement:S,whileElementsMounted:(...St)=>hC(...St,{animationFrame:m==="always"}),elements:{reference:b.anchor},middleware:[NC({mainAxis:s+E,alignmentAxis:a}),c&&SC({mainAxis:!0,crossAxis:!1,limiter:p==="partial"?EC():void 0,...G}),c&&CC({...G}),TC({...G,apply:({elements:St,rects:Jt,availableWidth:te,availableHeight:Ee})=>{const{width:vn,height:wn}=Jt.reference,Ne=St.floating.style;Ne.setProperty("--radix-popper-available-width",`${te}px`),Ne.setProperty("--radix-popper-available-height",`${Ee}px`),Ne.setProperty("--radix-popper-anchor-width",`${vn}px`),Ne.setProperty("--radix-popper-anchor-height",`${wn}px`)}}),j&&AC({element:j,padding:l}),BC({arrowWidth:P,arrowHeight:E}),f&&PC({strategy:"referenceHidden",...G})]}),[A,B]=Tw(z),F=Ft(v);xr(()=>{M&&(F==null||F())},[M,F]);const $=(De=N.arrow)==null?void 0:De.x,K=(Y=N.arrow)==null?void 0:Y.y,se=((re=N.arrow)==null?void 0:re.centerOffset)!==0,[ke,ee]=h.useState();return xr(()=>{g&&ee(window.getComputedStyle(g).zIndex)},[g]),i.jsx("div",{ref:V.setFloating,"data-radix-popper-content-wrapper":"",style:{...U,transform:M?U.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ke,"--radix-popper-transform-origin":[(kt=N.transformOrigin)==null?void 0:kt.x,(ot=N.transformOrigin)==null?void 0:ot.y].join(" "),...((Nt=N.hide)==null?void 0:Nt.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:i.jsx(FC,{scope:n,placedSide:A,onArrowChange:k,arrowX:$,arrowY:K,shouldHideArrow:se,children:i.jsx(Ae.div,{"data-side":A,"data-align":B,...x,ref:w,style:{...x.style,animation:M?void 0:"none"}})})})});Sw.displayName=Jp;var Ew="PopperArrow",OC={top:"bottom",right:"left",bottom:"top",left:"right"},Cw=h.forwardRef(function(t,n){const{__scopePopper:r,...s}=t,o=IC(Ew,r),a=OC[o.placedSide];return i.jsx("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[a]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0},children:i.jsx(MC,{...s,ref:n,style:{...s.style,display:"block"}})})});Cw.displayName=Ew;function VC(e){return e!==null}var BC=e=>({name:"transformOrigin",options:e,fn(t){var b,g,y;const{placement:n,rects:r,middlewareData:s}=t,a=((b=s.arrow)==null?void 0:b.centerOffset)!==0,l=a?0:e.arrowWidth,c=a?0:e.arrowHeight,[u,d]=Tw(n),p={start:"0%",center:"50%",end:"100%"}[d],f=(((g=s.arrow)==null?void 0:g.x)??0)+l/2,m=(((y=s.arrow)==null?void 0:y.y)??0)+c/2;let v="",x="";return u==="bottom"?(v=a?p:`${f}px`,x=`${-c}px`):u==="top"?(v=a?p:`${f}px`,x=`${r.floating.height+c}px`):u==="right"?(v=`${-c}px`,x=a?p:`${m}px`):u==="left"&&(v=`${r.floating.width+c}px`,x=a?p:`${m}px`),{data:{x:v,y:x}}}});function Tw(e){const[t,n="center"]=e.split("-");return[t,n]}var zC=Nw,$C=Sw,WC=Cw,[Ec,Z_]=Vp("Tooltip",[bw]),eh=bw(),Pw="TooltipProvider",
vendor: 4,247 bytes, line 256
256UC=700,A0="tooltip.open",[HC,Aw]=Ec(Pw),Rw=e=>{const{__scopeTooltip:t,delayDuration:n=UC,skipDelayDuration:r=300,disableHoverableContent:s=!1,children:o}=e,[a,l]=h.useState(!0),c=h.useRef(!1),u=h.useRef(0);return h.useEffect(()=>{const d=u.current;return()=>window.clearTimeout(d)},[]),i.jsx(HC,{scope:t,isOpenDelayed:a,delayDuration:n,onOpen:h.useCallback(()=>{window.clearTimeout(u.current),l(!1)},[]),onClose:h.useCallback(()=>{window.clearTimeout(u.current),u.current=window.setTimeout(()=>l(!0),r)},[r]),isPointerInTransitRef:c,onPointerInTransitChange:h.useCallback(d=>{c.current=d},[]),disableHoverableContent:s,children:o})};Rw.displayName=Pw;var Mw="Tooltip",[J_,Cc]=Ec(Mw),hf="TooltipTrigger",GC=h.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,s=Cc(hf,n),o=Aw(hf,n),a=eh(n),l=h.useRef(null),c=rt(t,l,s.onTriggerChange),u=h.useRef(!1),d=h.useRef(!1),p=h.useCallback(()=>u.current=!1,[]);return h.useEffect(()=>()=>document.removeEventListener("pointerup",p),[p]),i.jsx(zC,{asChild:!0,...a,children:i.jsx(Ae.button,{"aria-describedby":s.open?s.contentId:void 0,"data-state":s.stateAttribute,...r,ref:c,onPointerMove:xe(e.onPointerMove,f=>{f.pointerType!=="touch"&&!d.current&&!o.isPointerInTransitRef.current&&(s.onTriggerEnter(),d.current=!0)}),onPointerLeave:xe(e.onPointerLeave,()=>{s.onTriggerLeave(),d.current=!1}),onPointerDown:xe(e.onPointerDown,()=>{u.current=!0,document.addEventListener("pointerup",p,{once:!0})}),onFocus:xe(e.onFocus,()=>{u.current||s.onOpen()}),onBlur:xe(e.onBlur,s.onClose),onClick:xe(e.onClick,s.onClose)})})});GC.displayName=hf;var KC="TooltipPortal",[eD,YC]=Ec(KC,{forceMount:void 0}),oi="TooltipContent",_w=h.forwardRef((e,t)=>{const n=YC(oi,e.__scopeTooltip),{forceMount:r=n.forceMount,side:s="top",...o}=e,a=Cc(oi,e.__scopeTooltip);return i.jsx(pi,{present:r||a.open,children:a.disableHoverableContent?i.jsx(Dw,{side:s,...o,ref:t}):i.jsx(QC,{side:s,...o,ref:t})})}),QC=h.forwardRef((e,t)=>{const n=Cc(oi,e.__scopeTooltip),r=Aw(oi,e.__scopeTooltip),s=h.useRef(null),o=rt(t,s),[a,l]=h.useState(null),{trigger:c,onClose:u}=n,d=s.current,{onPointerInTransitChange:p}=r,f=h.useCallback(()=>{l(null),p(!1)},[p]),m=h.useCallback((v,x)=>{const b=v.currentTarget,g={x:v.clientX,y:v.clientY},y=JC(g,b.getBoundingClientRect()),w=e3(g,y),j=t3(x.getBoundingClientRect()),k=r3([...w,...j]);l(k),p(!0)},[p]);return h.useEffect(()=>()=>f(),[f]),h.useEffect(()=>{if(c&&d){const v=b=>m(b,d),x=b=>m(b,c);return c.addEventListener("pointerleave",v),d.addEventListener("pointerleave",x),()=>{c.removeEventListener("pointerleave",v),d.removeEventListener("pointerleave",x)}}},[c,d,m,f]),h.useEffect(()=>{if(a){const v=x=>{const b=x.target,g={x:x.clientX,y:x.clientY},y=(c==null?void 0:c.contains(b))||(d==null?void 0:d.contains(b)),w=!n3(g,a);y?f():w&&(f(),u())};return document.addEventListener("pointermove",v),()=>document.removeEventListener("pointermove",v)}},[c,d,a,u,f]),i.jsx(Dw,{...e,ref:o})}),[XC,qC]=Ec(Mw,{isInside:!1}),Dw=h.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":s,onEscapeKeyDown:o,onPointerDownOutside:a,...l}=e,c=Cc(oi,n),u=eh(n),{onClose:d}=c;return h.useEffect(()=>(document.addEventListener(A0,d),()=>document.removeEventListener(A0,d)),[d]),h.useEffect(()=>{if(c.trigger){const p=f=>{const m=f.target;m!=null&&m.contains(c.trigger)&&d()};return window.addEventListener("scroll",p,{capture:!0}),()=>window.removeEventListener("scroll",p,{capture:!0})}},[c.trigger,d]),i.jsx(yc,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:o,onPointerDownOutside:a,onFocusOutside:p=>p.preventDefault(),onDismiss:d,children:i.jsxs($C,{"data-state":c.stateAttribute,...u,...l,ref:t,style:{...l.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[i.jsx(w1,{children:r}),i.jsx(XC,{scope:n,isInside:!0,children:i.jsx(_N,{id:c.contentId,role:"tooltip",children:s||r})})]})})});_w.displayName=oi;var Lw="TooltipArrow",ZC=h.forwardRef((e,t)=>
256{const{__scopeTooltip:n,...r}=e,s=eh(n);return qC(Lw,n).isInside?null:i.jsx(WC,{...s,...r,ref:t})});ZC.displayName=Lw;function JC(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),s=Math.abs(t.right-e.x),o=Math.abs(t.left-e.x);switch(Math.min(n,r,s,o)){case o:return"left";case s:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function e3(e,t,n=5){const r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return r}function t3(e){const{top:t,right:n,bottom:r,left:s}=e;return[{x:s,y:t},{x:n,y:t},{x:n,y:r},{x:s,y:r}]}function n3(e,t){const{x:n,y:r}=e;let s=!1;for(let o=0,a=t.length-1;o<t.length;a=o++){const l=t[o].x,c=t[o].y,u=t[a].x,d=t[a].y;c>r!=d>r&&n<(u-l)*(r-c)/(d-c)+l&&(s=!s)}return s}function r3(e){const t=e.slice();return t.sort((n,r)=>n.x<r.x?-1:n.x>r.x?1:n.y<r.y?-1:n.y>r.y?1:0),s3(t)}function s3(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r<e.length;r++){const s=e[r];for(;t.length>=2;){const o=t[t.length-1],a=t[t.length-2];if((o.x-a.x)*(s.y-a.y)>=(o.y-a.y)*(s.x-a.x))t.pop();else break}t.push(s)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const s=e[r];for(;n.length>=2;){const o=n[n.length-1],a=n[n.length-2];if((o.x-a.x)*(s.y-a.y)>=(o.y-a.y)*(s.x-a.x))n.pop();else break}n.push(s)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}var i3=Rw,Fw=_w;const o3=i3,a3=h.forwardRef(({className:e,sideOffset:t=4,...n},r)=>i.jsx(Fw,{ref:r,sideOffset:t,className:is("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...n}));a3.displayName=Fw.displayName;var Tc=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},Pc=typeof window>"u"||"Deno"in globalThis;function zt(){}function l3(e,t){return typeof e=="function"?e(t):e}function c3(e){return typeof e=="number"&&e>=0&&e!==1/0}function u3(e,t){return Math.max(e+(t||0)-Date.now(),0)}function R0(e,t){return typeof e=="function"?e(t):e}function d3(e,t){return typeof e=="function"?e(t):e}function M0(e,t){const{type:n="all",exact:r,fetchStatus:s,predicate:o,queryKey:a,stale:l}=e;if(a){if(r){if(t.queryHash!==th(a,t.options))return!1}else if(!To(t.queryKey,a))return!1}if(n!=="all"){const c=t.isActive();if(n==="active"&&!c||n==="inactive"&&c)return!1}return!(typeof l=="boolean"&&t.isStale()!==l||s&&s!==t.state.fetchStatus||o&&!o(t))}function _0(e,t){const{exact:n,status:r,predicate:s,mutationKey:o}=e;if(o){if(!t.options.mutationKey)return!1;if(n){if(Co(t.options.mutationKey)!==Co(o))return!1}else if(!To(t.options.mutationKey,o))return!1}return!(r&&t.state.status!==r||s&&!s(t))}function th(e,t){return((t==null?void 0:t.queryKeyHashFn)||Co)(e)}function Co(e){return JSON.stringify(e,(t,n)=>mf(n)?Object.keys(n).sort().reduce((r,s)=>(r[s]=n[s],r),{}):n)}function To(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(n=>!To(e[n],t[n])):!1}function Iw(e,t){if(e===t)return e;const n=D0(e)&&D0(t);if(n||mf(e)&&mf(t)){const r=n?e:Object.keys(e),s=r.length,o=n?t:Object.keys(t),a=o.length,l=n?[]:{};let c=0;for(let u=0;u<a;u++){const d=n?u:o[u];(!n&&r.includes(d)||n)&&e[d]===void 0&&t[d]===void 0?(l[d]=void 0,c++):(l[d]=Iw(e[d],t[d]),l[d]===e[d]&&e[d]!==void 0&&c++)}return s===a&&c===s?e:l}return t}function D0(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function mf(e){if(!L0(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!L0(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function L0(e){return Object.prototype.toString.call(e)==="[object Object]"}function f3(e){return new Promise(t=>{setTimeout(t,e)})}function p3(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?Iw(e,t):t}function h3(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function m3(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var nh=Symbol();function Ow(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===nh?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var $r,Xn,Ws,Xg,x3=(Xg=class extends Tc{constructor(){super();ie(this,$r);ie(this,Xn);ie(this,Ws);q(this,Ws,t=>{if(!Pc&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){_(this,Xn)||this.setEventListener(_(this,Ws))}onUnsubscribe(){var t;this.hasListeners()||((t=_(this,Xn))==null||t.call(this),q(this,Xn,void 0))}setEventListener(t){var n;q(this,Ws,t),(n=_(this,Xn))==null||n.call(this),q(this,Xn,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){_(this,$r)!==t&&(q(this,$r,t),this.onFocus())}onFocus(){const t=this.isFocused();
vendor: 19,303 bytes, line 256
256this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof _(this,$r)=="boolean"?_(this,$r):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},$r=new WeakMap,Xn=new WeakMap,Ws=new WeakMap,Xg),Vw=new x3,Us,qn,Hs,qg,g3=(qg=class extends Tc{constructor(){super();ie(this,Us,!0);ie(this,qn);ie(this,Hs);q(this,Hs,t=>{if(!Pc&&window.addEventListener){const n=()=>t(!0),r=()=>t(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",r)}}})}onSubscribe(){_(this,qn)||this.setEventListener(_(this,Hs))}onUnsubscribe(){var t;this.hasListeners()||((t=_(this,qn))==null||t.call(this),q(this,qn,void 0))}setEventListener(t){var n;q(this,Hs,t),(n=_(this,qn))==null||n.call(this),q(this,qn,t(this.setOnline.bind(this)))}setOnline(t){_(this,Us)!==t&&(q(this,Us,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return _(this,Us)}},Us=new WeakMap,qn=new WeakMap,Hs=new WeakMap,qg),Vl=new g3;function y3(){let e,t;const n=new Promise((s,o)=>{e=s,t=o});n.status="pending",n.catch(()=>{});function r(s){Object.assign(n,s),delete n.resolve,delete n.reject}return n.resolve=s=>{r({status:"fulfilled",value:s}),e(s)},n.reject=s=>{r({status:"rejected",reason:s}),t(s)},n}function v3(e){return Math.min(1e3*2**e,3e4)}function Bw(e){return(e??"online")==="online"?Vl.isOnline():!0}var zw=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function ku(e){return e instanceof zw}function $w(e){let t=!1,n=0,r=!1,s;const o=y3(),a=x=>{var b;r||(f(new zw(x)),(b=e.abort)==null||b.call(e))},l=()=>{t=!0},c=()=>{t=!1},u=()=>Vw.isFocused()&&(e.networkMode==="always"||Vl.isOnline())&&e.canRun(),d=()=>Bw(e.networkMode)&&e.canRun(),p=x=>{var b;r||(r=!0,(b=e.onSuccess)==null||b.call(e,x),s==null||s(),o.resolve(x))},f=x=>{var b;r||(r=!0,(b=e.onError)==null||b.call(e,x),s==null||s(),o.reject(x))},m=()=>new Promise(x=>{var b;s=g=>{(r||u())&&x(g)},(b=e.onPause)==null||b.call(e)}).then(()=>{var x;s=void 0,r||(x=e.onContinue)==null||x.call(e)}),v=()=>{if(r)return;let x;const b=n===0?e.initialPromise:void 0;try{x=b??e.fn()}catch(g){x=Promise.reject(g)}Promise.resolve(x).then(p).catch(g=>{var T;if(r)return;const y=e.retry??(Pc?0:3),w=e.retryDelay??v3,j=typeof w=="function"?w(n,g):w,k=y===!0||typeof y=="number"&&n<y||typeof y=="function"&&y(n,g);if(t||!k){f(g);return}n++,(T=e.onFail)==null||T.call(e,n,g),f3(j).then(()=>u()?void 0:m()).then(()=>{t?f(g):v()})})};return{promise:o,cancel:a,continue:()=>(s==null||s(),o),cancelRetry:l,continueRetry:c,canStart:d,start:()=>(d()?v():m().then(v),o)}}function w3(){let e=[],t=0,n=l=>{l()},r=l=>{l()},s=l=>setTimeout(l,0);const o=l=>{t?e.push(l):s(()=>{n(l)})},a=()=>{const l=e;e=[],l.length&&s(()=>{r(()=>{l.forEach(c=>{n(c)})})})};return{batch:l=>{let c;t++;try{c=l()}finally{t--,t||a()}return c},batchCalls:l=>(...c)=>{o(()=>{l(...c)})},schedule:o,setNotifyFunction:l=>{n=l},setBatchNotifyFunction:l=>{r=l},setScheduler:l=>{s=l}}}var Je=w3(),Wr,Zg,Ww=(Zg=class{constructor(){ie(this,Wr)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),c3(this.gcTime)&&q(this,Wr,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Pc?1/0:5*60*1e3))}clearGcTimeout(){_(this,Wr)&&(clearTimeout(_(this,Wr)),q(this,Wr,void 0))}},Wr=new WeakMap,Zg),Gs,Ks,Ct,Ge,Fo,Ur,$t,kn,Jg,b3=(Jg=class extends Ww{constructor(t){super();ie(this,$t);ie(this,Gs);ie(this,Ks);ie(this,Ct);ie(this,Ge);ie(this,Fo);ie(this,Ur);q(this,Ur,!1),q(this,Fo,t.defaultOptions),this.setOptions(t.options),this.observers=[],q(this,Ct,t.cache),this.queryKey=t.queryKey,this.queryHash=t.queryHash,q(this,Gs,k3(this.options)),this.state=t.state??_(this,Gs),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=_(this,Ge))==null?void 0:t.promise}setOptions(t){this.options={..._(this,Fo),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&_(this,Ct).remove(this)}setData(t,n){const r=p3(this.state.data,t,this.options);return We(this,$t,kn).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){We(this,$t,kn).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,s;const n=(r=_(this,Ge))==null?void 0:r.promise;return(s=_(this,Ge))==null||s.cancel(t),n?n.then(zt).catch(zt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(_(this,Gs))}isActive(){return this.observers.some(t=>d3(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===nh||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStale(){return this.state.isInvalidated?!0:this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0}isStaleByTime(t=0){return this.state.isInvalidated||this.state.data===void 0||!u3(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=_(this,Ge))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=_(this,Ge))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),_(this,Ct).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(_(this,Ge)&&(_(this,Ur)?_(this,Ge).cancel({revert:!0}):_(this,Ge).cancelRetry()),this.scheduleGc()),_(this,Ct).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||We(this,$t,kn).call(this,{type:"invalidate"})}fetch(t,n){var c,u,d;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(_(this,Ge))return _(this,Ge).continueRetry(),_(this,Ge).promise}if(t&&this.setOptions(t),!this.options.queryFn){const p=this.observers.find(f=>f.options.queryFn);p&&this.setOptions(p.options)}const r=new AbortController,s=p=>{Object.defineProperty(p,"signal",{enumerable:!0,get:()=>(q(this,Ur,!0),r.signal)})},o=()=>{const p=Ow(this.options,n),f={queryKey:this.queryKey,meta:this.meta};return s(f),q(this,Ur,!1),this.options.persister?this.options.persister(p,f,this):p(f)},a={fetchOptions:n,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:o};s(a),(c=this.options.behavior)==null||c.onFetch(a,this),q(this,Ks,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((u=a.fetchOptions)==null?void 0:u.meta))&&We(this,$t,kn).call(this,{type:"fetch",meta:(d=a.fetchOptions)==null?void 0:d.meta});const l=p=>{var f,m,v,x;ku(p)&&p.silent||We(this,$t,kn).call(this,{type:"error",error:p}),ku(p)||((m=(f=_(this,Ct).config).onError)==null||m.call(f,p,this),(x=(v=_(this,Ct).config).onSettled)==null||x.call(v,this.state.data,p,this)),this.scheduleGc()};return q(this,Ge,$w({initialPromise:n==null?void 0:n.initialPromise,fn:a.fetchFn,abort:r.abort.bind(r),onSuccess:p=>{var f,m,v,x;if(p===void 0){l(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(p)}catch(b){l(b);return}(m=(f=_(this,Ct).config).onSuccess)==null||m.call(f,p,this),(x=(v=_(this,Ct).config).onSettled)==null||x.call(v,p,this.state.error,this),this.scheduleGc()},onError:l,onFail:(p,f)=>{We(this,$t,kn).call(this,{type:"failed",failureCount:p,error:f})},onPause:()=>{We(this,$t,kn).call(this,{type:"pause"})},onContinue:()=>{We(this,$t,kn).call(this,{type:"continue"})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0})),_(this,Ge).start()}},Gs=new WeakMap,Ks=new WeakMap,Ct=new WeakMap,Ge=new WeakMap,Fo=new WeakMap,Ur=new WeakMap,$t=new WeakSet,kn=function(t){const n=r=>{switch(t.type){case"failed":return{...r,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,...j3(r.data,this.options),fetchMeta:t.meta??null};case"success":return{...r,data:t.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const s=t.error;return ku(s)&&s.revert&&_(this,Ks)?{..._(this,Ks),fetchStatus:"idle"}:{...r,error:s,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:s,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),Je.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),_(this,Ct).notify({query:this,type:"updated",action:t})})},Jg);function j3(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Bw(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function k3(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var an,ey,N3=(ey=class extends Tc{constructor(t={}){super();ie(this,an);this.config=t,q(this,an,new Map)}build(t,n,r){const s=n.queryKey,o=n.queryHash??th(s,n);let a=this.get(o);return a||(a=new b3({cache:this,queryKey:s,queryHash:o,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(s)}),this.add(a)),a}add(t){_(this,an).has(t.queryHash)||(_(this,an).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=_(this,an).get(t.queryHash);n&&(t.destroy(),n===t&&_(this,an).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){Je.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return _(this,an).get(t)}getAll(){return[..._(this,an).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>M0(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>M0(t,r)):n}notify(t){Je.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){Je.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){Je.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},an=new WeakMap,ey),ln,qe,Hr,cn,$n,ty,S3=(ty=class extends Ww{constructor(t){super();ie(this,cn);ie(this,ln);ie(this,qe);ie(this,Hr);this.mutationId=t.mutationId,q(this,qe,t.mutationCache),q(this,ln,[]),this.state=t.state||E3(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){_(this,ln).includes(t)||(_(this,ln).push(t),this.clearGcTimeout(),_(this,qe).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){q(this,ln,_(this,ln).filter(n=>n!==t)),this.scheduleGc(),_(this,qe).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){_(this,ln).length||(this.state.status==="pending"?this.scheduleGc():_(this,qe).remove(this))}continue(){var t;return((t=_(this,Hr))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var s,o,a,l,c,u,d,p,f,m,v,x,b,g,y,w,j,k,T,P;q(this,Hr,$w({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(E,S)=>{We(this,cn,$n).call(this,{type:"failed",failureCount:E,error:S})},onPause:()=>{We(this,cn,$n).call(this,{type:"pause"})},onContinue:()=>{We(this,cn,$n).call(this,{type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>_(this,qe).canRun(this)}));const n=this.state.status==="pending",r=!_(this,Hr).canStart();try{if(!n){We(this,cn,$n).call(this,{type:"pending",variables:t,isPaused:r}),await((o=(s=_(this,qe).config).onMutate)==null?void 0:o.call(s,t,this));const S=await((l=(a=this.options).onMutate)==null?void 0:l.call(a,t));S!==this.state.context&&We(this,cn,$n).call(this,{type:"pending",context:S,variables:t,isPaused:r})}const E=await _(this,Hr).start();return await((u=(c=_(this,qe).config).onSuccess)==null?void 0:u.call(c,E,t,this.state.context,this)),await((p=(d=this.options).onSuccess)==null?void 0:p.call(d,E,t,this.state.context)),await((m=(f=_(this,qe).config).onSettled)==null?void 0:m.call(f,E,null,this.state.variables,this.state.context,this)),await((x=(v=this.options).onSettled)==null?void 0:x.call(v,E,null,t,this.state.context)),We(this,cn,$n).call(this,{type:"success",data:E}),E}catch(E){try{throw await((g=(b=_(this,qe).config).onError)==null?void 0:g.call(b,E,t,this.state.context,this)),await((w=(y=this.options).onError)==null?void 0:w.call(y,E,t,this.state.context)),await((k=(j=_(this,qe).config).onSettled)==null?void 0:k.call(j,void 0,E,this.state.variables,this.state.context,this)),await((P=(T=this.options).onSettled)==null?void 0:P.call(T,void 0,E,t,this.state.context)),E}finally{We(this,cn,$n).call(this,{type:"error",error:E})}}finally{_(this,qe).runNext(this)}}},ln=new WeakMap,qe=new WeakMap,Hr=new WeakMap,cn=new WeakSet,$n=function(t){const n=r=>{switch(t.type){case"failed":return{...r,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"pending":return{...r,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...r,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:t.error,failureCount:r.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=n(this.state),Je.batch(()=>{_(this,ln).forEach(r=>{r.onMutationUpdate(t)}),_(this,qe).notify({mutation:this,type:"updated",action:t})})},ty);function E3(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var pt,Io,ny,C3=(ny=class extends Tc{constructor(t={}){super();ie(this,pt);ie(this,Io);this.config=t,q(this,pt,new Map),q(this,Io,Date.now())}build(t,n,r){const s=new S3({mutationCache:this,mutationId:++Jo(this,Io)._,options:t.defaultMutationOptions(n),state:r});return this.add(s),s}add(t){const n=ba(t),r=_(this,pt).get(n)??[];r.push(t),_(this,pt).set(n,r),this.notify({type:"added",mutation:t})}remove(t){var r;const n=ba(t);if(_(this,pt).has(n)){const s=(r=_(this,pt).get(n))==null?void 0:r.filter(o=>o!==t);s&&(s.length===0?_(this,pt).delete(n):_(this,pt).set(n,s))}this.notify({type:"removed",mutation:t})}canRun(t){var r;const n=(r=_(this,pt).get(ba(t)))==null?void 0:r.find(s=>s.state.status==="pending");return!n||n===t}runNext(t){var r;const n=(r=_(this,pt).get(ba(t)))==null?void 0:r.find(s=>s!==t&&s.state.isPaused);return(n==null?void 0:n.continue())??Promise.resolve()}clear(){Je.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}getAll(){return[..._(this,pt).values()].flat()}find(t){const n={exact:!0,...t};return this.getAll().find(r=>_0(n,r))}findAll(t={}){return this.getAll().filter(n=>_0(t,n))}notify(t){Je.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return Je.batch(()=>Promise.all(t.map(n=>n.continue().catch(zt))))}},pt=new WeakMap,Io=new WeakMap,ny);function ba(e){var t;return((t=e.options.scope)==null?void 0:t.id)??String(e.mutationId)}function F0(e){return{onFetch:(t,n)=>{var d,p,f,m,v;const r=t.options,s=(f=(p=(d=t.fetchOptions)==null?void 0:d.meta)==null?void 0:p.fetchMore)==null?void 0:f.direction,o=((m=t.state.data)==null?void 0:m.pages)||[],a=((v=t.state.data)==null?void 0:v.pageParams)||[];let l={pages:[],pageParams:[]},c=0;const u=async()=>{let x=!1;const b=w=>{Object.defineProperty(w,"signal",{enumerable:!0,get:()=>(t.signal.aborted?x=!0:t.signal.addEventListener("abort",()=>{x=!0}),t.signal)})},g=Ow(t.options,t.fetchOptions),y=async(w,j,k)=>{if(x)return Promise.reject();if(j==null&&w.pages.length)return Promise.resolve(w);const T={queryKey:t.queryKey,pageParam:j,direction:k?"backward":"forward",meta:t.options.meta};b(T);const P=await g(T),{maxPages:E}=t.options,S=k?m3:h3;return{pages:S(w.pages,P,E),pageParams:S(w.pageParams,j,E)}};if(s&&o.length){const w=s==="backward",j=w?T3:I0,k={pages:o,pageParams:a},T=j(r,k);l=await y(k,T,w)}else{const w=e??o.length;do{const j=c===0?a[0]??r.initialPageParam:I0(r,l);if(c>0&&j==null)break;l=await y(l,j),c++}while(c<w)}return l};t.options.persister?t.fetchFn=()=>{var x,b;return(b=(x=t.options).persister)==null?void 0:b.call(x,u,{queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=u}}}function I0(e,{pages:t,pageParams:n}){const r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function T3(e,{pages:t,pageParams:n}){var r;return t.length>0?(r=e.getPreviousPageParam)==null?void 0:r.call(e,t[0],t,n[0],n):void 0}var be,Zn,Jn,Ys,Qs,er,Xs,qs,ry,P3=(ry=class{constructor(e={}){ie(this,be);ie(this,Zn);ie(this,Jn);ie(this,Ys);ie(this,Qs);ie(this,er);ie(this,Xs);ie(this,qs);q(this,be,e.queryCache||new N3),q(this,Zn,e.mutationCache||new C3),q(this,Jn,e.defaultOptions||{}),q(this,Ys,new Map),q(this,Qs,new Map),q(this,er,0)}mount(){Jo(this,er)._++,_(this,er)===1&&(q(this,Xs,Vw.subscribe(async e=>{e&&(await this.resumePausedMutations(),_(this,be).onFocus())})),q(this,qs,Vl.subscribe(async e=>{e&&(await this.resumePausedMutations(),_(this,be).onOnline())})))}unmount(){var e,t;Jo(this,er)._--,_(this,er)===0&&((e=_(this,Xs))==null||e.call(this),q(this,Xs,void 0),(t=_(this,qs))==null||t.call(this),q(this,qs,void 0))}isFetching(e){return _(this,be).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return _(this,Zn).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=_(this,be).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.getQueryData(e.queryKey);if(t===void 0)return this.fetchQuery(e);{const n=this.defaultQueryOptions(e),r=_(this,be).build(this,n);return e.revalidateIfStale&&r.isStaleByTime(R0(n.staleTime,r))&&this.prefetchQuery(n),Promise.resolve(t)}}getQueriesData(e){return _(this,be).findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),s=_(this,be).get(r.queryHash),o=s==null?void 0:s.state.data,a=l3(t,o);if(a!==void 0)return _(this,be).build(this,r).setData(a,{...n,manual:!0})}setQueriesData(e,t,n){return Je.batch(()=>_(this,be).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=_(this,be).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=_(this,be);Je.batch(()=>
256{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=_(this,be),r={type:"active",...e};return Je.batch(()=>(n.findAll(e).forEach(s=>{s.reset()}),this.refetchQueries(r,t)))}cancelQueries(e={},t={}){const n={revert:!0,...t},r=Je.batch(()=>_(this,be).findAll(e).map(s=>s.cancel(n)));return Promise.all(r).then(zt).catch(zt)}invalidateQueries(e={},t={}){return Je.batch(()=>{if(_(this,be).findAll(e).forEach(r=>{r.invalidate()}),e.refetchType==="none")return Promise.resolve();const n={...e,type:e.refetchType??e.type??"active"};return this.refetchQueries(n,t)})}refetchQueries(e={},t){const n={...t,cancelRefetch:(t==null?void 0:t.cancelRefetch)??!0},r=Je.batch(()=>_(this,be).findAll(e).filter(s=>!s.isDisabled()).map(s=>{let o=s.fetch(void 0,n);return n.throwOnError||(o=o.catch(zt)),s.state.fetchStatus==="paused"?Promise.resolve():o}));return Promise.all(r).then(zt)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=_(this,be).build(this,t);return n.isStaleByTime(R0(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(zt).catch(zt)}fetchInfiniteQuery(e){return e.behavior=F0(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(zt).catch(zt)}ensureInfiniteQueryData(e){return e.behavior=F0(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return Vl.isOnline()?_(this,Zn).resumePausedMutations():Promise.resolve()}getQueryCache(){return _(this,be)}getMutationCache(){return _(this,Zn)}getDefaultOptions(){return _(this,Jn)}setDefaultOptions(e){q(this,Jn,e)}setQueryDefaults(e,t){_(this,Ys).set(Co(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[..._(this,Ys).values()];let n={};return t.forEach(r=>{To(e,r.queryKey)&&(n={...n,...r.defaultOptions})}),n}setMutationDefaults(e,t){_(this,Qs).set(Co(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[..._(this,Qs).values()];let n={};return t.forEach(r=>{To(e,r.mutationKey)&&(n={...n,...r.defaultOptions})}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={..._(this,Jn).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=th(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.enabled!==!0&&t.queryFn===nh&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{..._(this,Jn).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){_(this,be).clear(),_(this,Zn).clear()}},be=new WeakMap,Zn=new WeakMap,Jn=new WeakMap,Ys=new WeakMap,Qs=new WeakMap,er=new WeakMap,Xs=new WeakMap,qs=new WeakMap,ry),A3=h.createContext(void 0),R3=({client:e,children:t})=>(h.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),i.jsx(A3.Provider,{value:e,children:t}));/**
257 * @remix-run/router v1.20.0
258 *
259 * Copyright (c) Remix Software Inc.
260 *
261 * This source code is licensed under the MIT license found in the
262 * LICENSE.md file in the root directory of this source tree.
263 *
264 * @license MIT
265 */function Po(){return Po=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Po.apply(this,arguments)}var rr;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(rr||(rr={}));const O0="popstate";function M3(e){e===void 0&&(e={});function t(r,s){let{pathname:o,search:a,hash:l}=r.location;return xf("",{pathname:o,search:a,hash:l},s.state&&s.state.usr||null,s.state&&s.state.key||"default")}function n(r,s){return typeof s=="string"?s:Bl(s)}return D3(t,n,null,e)}function Pe(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Uw(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function _3(){return Math.random().toString(36).substr(2,8)}function V0(e,t){return{usr:e.state,key:e.key,idx:t}}function xf(e,t,n,r){return n===void 0&&(n=null),Po({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?gi(t):t,{state:n,key:t&&t.key||r||_3()})}function Bl(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function gi(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function D3(e,t,n,r){r===void 0&&(r={});let{window:s=document.defaultView,v5Compat:o=!1}=r,a=s.history,l=rr.Pop,c=null,u=d();u==null&&(u=0,a.replaceState(Po({},a.state,{idx:u}),""));function d(){return(a.state||{idx:null}).idx}function p(){l=rr.Pop;let b=d(),g=b==null?null:b-u;u=b,c&&c({action:l,location:x.location,delta:g})}function f(b,g){l=rr.Push;let y=xf(x.location,b,g);u=d()+1;let w=V0(y,u),j=x.createHref(y);try{a.pushState(w,"",j)}catch(k){if(k instanceof DOMException&&k.name==="DataCloneError")throw k;s.location.assign(j)}o&&c&&c({action:l,location:x.location,delta:1})}function m(b,g){l=rr.Replace;let y=xf(x.location,b,g);u=d();let w=V0(y,u),j=x.createHref(y);a.replaceState(w,"",j),o&&c&&c({action:l,location:x.location,delta:0})}function v(b){let g=s.location.origin!=="null"?s.location.origin:s.location.href,y=typeof b=="string"?b:Bl(b);return y=y.replace(/ $/,"%20"),Pe(g,"No window.location.(origin|href) available to create URL for href: "+y),new URL(y,g)}let x={get action(){return l},get location(){return e(s,a)},listen(b){if(c)throw new Error("A history only accepts one active listener");return s.addEventListener(O0,p),c=b,()=>{s.removeEventListener(O0,p),c=null}},createHref(b){return t(s,b)},createURL:v,encodeLocation(b){let g=v(b);return{pathname:g.pathname,search:g.search,hash:g.hash}},push:f,replace:m,go(b){return a.go(b)}};return x}var B0;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(B0||(B0={}));function L3(e,t,n){return n===void 0&&(n="/"),F3(e,t,n,!1)}function F3(e,t,n,r){let s=typeof t=="string"?gi(t):t,o=rh(s.pathname||"/",n);if(o==null)return null;let a=Hw(e);
vendor: 8,949 bytes, lines 265-274
265I3(a);let l=null;for(let c=0;l==null&&c<a.length;++c){let u=Y3(o);l=G3(a[c],u,r)}return l}function Hw(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let s=(o,a,l)=>{let c={relativePath:l===void 0?o.path||"":l,caseSensitive:o.caseSensitive===!0,childrenIndex:a,route:o};c.relativePath.startsWith("/")&&(Pe(c.relativePath.startsWith(r),'Absolute route path "'+c.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),c.relativePath=c.relativePath.slice(r.length));let u=pr([r,c.relativePath]),d=n.concat(c);o.children&&o.children.length>0&&(Pe(o.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),Hw(o.children,t,d,u)),!(o.path==null&&!o.index)&&t.push({path:u,score:U3(u,o.index),routesMeta:d})};return e.forEach((o,a)=>{var l;if(o.path===""||!((l=o.path)!=null&&l.includes("?")))s(o,a);else for(let c of Gw(o.path))s(o,a,c)}),t}function Gw(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,s=n.endsWith("?"),o=n.replace(/\?$/,"");if(r.length===0)return s?[o,""]:[o];let a=Gw(r.join("/")),l=[];return l.push(...a.map(c=>c===""?o:[o,c].join("/"))),s&&l.push(...a),l.map(c=>e.startsWith("/")&&c===""?"/":c)}function I3(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:H3(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const O3=/^:[\w-]+$/,V3=3,B3=2,z3=1,$3=10,W3=-2,z0=e=>e==="*";function U3(e,t){let n=e.split("/"),r=n.length;return n.some(z0)&&(r+=W3),t&&(r+=B3),n.filter(s=>!z0(s)).reduce((s,o)=>s+(O3.test(o)?V3:o===""?z3:$3),r)}function H3(e,t){return e.length===t.length&&e.slice(0,-1).every((r,s)=>r===t[s])?e[e.length-1]-t[t.length-1]:0}function G3(e,t,n){let{routesMeta:r}=e,s={},o="/",a=[];for(let l=0;l<r.length;++l){let c=r[l],u=l===r.length-1,d=o==="/"?t:t.slice(o.length)||"/",p=$0({path:c.relativePath,caseSensitive:c.caseSensitive,end:u},d),f=c.route;if(!p&&u&&n&&!r[r.length-1].route.index&&(p=$0({path:c.relativePath,caseSensitive:c.caseSensitive,end:!1},d)),!p)return null;Object.assign(s,p.params),a.push({params:s,pathname:pr([o,p.pathname]),pathnameBase:Z3(pr([o,p.pathnameBase])),route:f}),p.pathnameBase!=="/"&&(o=pr([o,p.pathnameBase]))}return a}function $0(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=K3(e.path,e.caseSensitive,e.end),s=t.match(n);if(!s)return null;let o=s[0],a=o.replace(/(.)\/+$/,"$1"),l=s.slice(1);return{params:r.reduce((u,d,p)=>{let{paramName:f,isOptional:m}=d;if(f==="*"){let x=l[p]||"";a=o.slice(0,o.length-x.length).replace(/(.)\/+$/,"$1")}const v=l[p];return m&&!v?u[f]=void 0:u[f]=(v||"").replace(/%2F/g,"/"),u},{}),pathname:o,pathnameBase:a,pattern:e}}function K3(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Uw(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],s="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(a,l,c)=>(r.push({paramName:l,isOptional:c!=null}),c?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),s+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?s+="\\/*$":e!==""&&e!=="/"&&(s+="(?:(?=\\/|$))"),[new RegExp(s,t?void 0:"i"),r]}function Y3(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Uw(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function rh(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function Q3(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:s=""}=typeof e=="string"?gi(e):e;return{pathname:n?n.startsWith("/")?n:X3(n,t):t,search:J3(r),hash:e4(s)}}function X3(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(s=>{s===".."?n.length>1&&n.pop():s!=="."&&n.push(s)}),n.length>1?n.join("/"):"/"}function Nu(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"].  Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function q3(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Kw(e,t){let n=q3(e);return t?n.map((r,s)=>s===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function Yw(e,t,n,r){r===void 0&&(r=!1);let s;typeof e=="string"?s=gi(e):(s=Po({},e),Pe(!s.pathname||!s.pathname.includes("?"),Nu("?","pathname","search",s)),Pe(!s.pathname||!s.pathname.includes("#"),Nu("#","pathname","hash",s)),Pe(!s.search||!s.search.includes("#"),Nu("#","search","hash",s)));let o=e===""||s.pathname==="",a=o?"/":s.pathname,l;if(a==null)l=n;else{let p=t.length-1;if(!r&&a.startsWith("..")){let f=a.split("/");for(;f[0]==="..";)f.shift(),p-=1;s.pathname=f.join("/")}l=p>=0?t[p]:"/"}let c=Q3(s,l),u=a&&a!=="/"&&a.endsWith("/"),d=(o||a===".")&&n.endsWith("/");return!c.pathname.endsWith("/")&&(u||d)&&(c.pathname+="/"),c}const pr=e=>e.join("/").replace(/\/\/+/g,"/"),Z3=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),J3=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,e4=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function t4(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Qw=["post","put","patch","delete"];new Set(Qw);const n4=["get",...Qw];new Set(n4);/**
266 * React Router v6.27.0
267 *
268 * Copyright (c) Remix Software Inc.
269 *
270 * This source code is licensed under the MIT license found in the
271 * LICENSE.md file in the root directory of this source tree.
272 *
273 * @license MIT
274 */function Ao(){return Ao=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ao.apply(this,arguments)}const sh=h.createContext(null),r4=h.createContext(null),os=h.createContext(null),Ac=h.createContext(null),as=h.createContext({outlet:null,matches:[],isDataRoute:!1}),Xw=h.createContext(null);function s4(e,t){let{relative:n}=t===void 0?{}:t;Ho()||Pe(!1);let{basename:r,navigator:s}=h.useContext(os),{hash:o,pathname:a,search:l}=Zw(e,{relative:n}),c=a;return r!=="/"&&(c=a==="/"?r:pr([r,a])),s.createHref({pathname:c,search:l,hash:o})}function Ho(){return h.useContext(Ac)!=null}function yi(){return Ho()||Pe(!1),h.useContext(Ac).location}function qw(e){h.useContext(os).static||h.useLayoutEffect(e)}function i4(){let{isDataRoute:e}=h.useContext(as);return e?y4():o4()}function o4(){Ho()||Pe(!1);let e=h.useContext(sh),{basename:t,future:n,navigator:r}=h.useContext(os),{matches:s}=h.useContext(as),{pathname:o}=yi(),a=JSON.stringify(Kw(s,n.v7_relativeSplatPath)),l=h.useRef(!1);return qw(()=>{l.current=!0}),h.useCallback(function(u,d){if(d===void 0&&(d={}),!l.current)return;if(typeof u=="number"){r.go(u);return}let p=Yw(u,JSON.parse(a),o,d.relative==="path");e==null&&t!=="/"&&(p.pathname=p.pathname==="/"?t:pr([t,p.pathname])),(d.replace?r.replace:r.push)(p,d.state,d)},[t,r,a,o,e])}function Zw(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=h.useContext(os),{matches:s}=h.useContext(as),{pathname:o}=yi(),a=JSON.stringify(Kw(s,r.v7_relativeSplatPath));return h.useMemo(()=>Yw(e,JSON.parse(a),o,n==="path"),[e,a,o,n])}function a4(e,t){return l4(e,t)}function l4(e,t,n,r){Ho()||Pe(!1);let{navigator:s}=h.useContext(os),{matches:o}=h.useContext(as),a=o[o.length-1],l=a?a.params:{};a&&a.pathname;let c=a?a.pathnameBase:"/";a&&a.route;let u=yi(),d;if(t){var p;let b=typeof t=="string"?gi(t):t;c==="/"||(p=b.pathname)!=null&&p.startsWith(c)||Pe(!1),d=b}else d=u;let f=d.pathname||"/",m=f;if(c!=="/"){let b=c.replace(/^\//,"").split("/");m="/"+f.replace(/^\//,"").split("/").slice(b.length).join("/")}let v=L3(e,{pathname:m}),x=p4(v&&v.map(b=>Object.assign({},b,{params:Object.assign({},l,b.params),pathname:pr([c,s.encodeLocation?s.encodeLocation(b.pathname).pathname:b.pathname]),pathnameBase:b.pathnameBase==="/"?c:pr([c,s.encodeLocation?s.encodeLocation(b.pathnameBase).pathname:b.pathnameBase])})),o,n,r);return t&&x?h.createElement(Ac.Provider,{value:{location:Ao({pathname:"/",search:"",hash:"",state:null,key:"default"},d),navigationType:rr.Pop}},x):x}function c4(){let e=g4(),t=t4(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,s={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return h.createElement(h.Fragment,null,h.createElement("h2",null,"Unexpected Application 
274Error!"),h.createElement("h3",{style:{fontStyle:"italic"}},t),n?h.createElement("pre",{style:s},n):null,null)}const u4=h.createElement(c4,null);class d4 extends h.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?h.createElement(as.Provider,{value:this.props.routeContext},h.createElement(Xw.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function f4(e){let{routeContext:t,match:n,children:r}=e,s=h.useContext(sh);return s&&s.static&&s.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(s.staticContext._deepestRenderedBoundaryId=n.route.id),h.createElement(as.Provider,{value:t},r)}function p4(e,t,n,r){var s;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var o;if(!n)return null;if(n.errors)e=n.matches;else if((o=r)!=null&&o.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let a=e,l=(s=n)==null?void 0:s.errors;if(l!=null){let d=a.findIndex(p=>p.route.id&&(l==null?void 0:l[p.route.id])!==void 0);d>=0||Pe(!1),a=a.slice(0,Math.min(a.length,d+1))}let c=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let d=0;d<a.length;d++){let p=a[d];if((p.route.HydrateFallback||p.route.hydrateFallbackElement)&&(u=d),p.route.id){let{loaderData:f,errors:m}=n,v=p.route.loader&&f[p.route.id]===void 0&&(!m||m[p.route.id]===void 0);if(p.route.lazy||v){c=!0,u>=0?a=a.slice(0,u+1):a=[a[0]];break}}}return a.reduceRight((d,p,f)=>{let m,v=!1,x=null,b=null;n&&(m=l&&p.route.id?l[p.route.id]:void 0,x=p.route.errorElement||u4,c&&(u<0&&f===0?(v=!0,b=null):u===f&&(v=!0,b=p.route.hydrateFallbackElement||null)));let g=t.concat(a.slice(0,f+1)),y=()=>{let w;return m?w=x:v?w=b:p.route.Component?w=h.createElement(p.route.Component,null):p.route.element?w=p.route.element:w=d,h.createElement(f4,{match:p,routeContext:{outlet:d,matches:g,isDataRoute:n!=null},children:w})};return n&&(p.route.ErrorBoundary||p.route.errorElement||f===0)?h.createElement(d4,{location:n.location,revalidation:n.revalidation,component:x,error:m,children:y(),routeC
vendor: 4,332 bytes, lines 274-283
274ontext:{outlet:null,matches:g,isDataRoute:!0}}):y()},null)}var Jw=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(Jw||{}),zl=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(zl||{});function h4(e){let t=h.useContext(sh);return t||Pe(!1),t}function m4(e){let t=h.useContext(r4);return t||Pe(!1),t}function x4(e){let t=h.useContext(as);return t||Pe(!1),t}function eb(e){let t=x4(),n=t.matches[t.matches.length-1];return n.route.id||Pe(!1),n.route.id}function g4(){var e;let t=h.useContext(Xw),n=m4(zl.UseRouteError),r=eb(zl.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function y4(){let{router:e}=h4(Jw.UseNavigateStable),t=eb(zl.UseNavigateStable),n=h.useRef(!1);return qw(()=>{n.current=!0}),h.useCallback(function(s,o){o===void 0&&(o={}),n.current&&(typeof s=="number"?e.navigate(s):e.navigate(s,Ao({fromRouteId:t},o)))},[e,t])}function Le(e){Pe(!1)}function v4(e){let{basename:t="/",children:n=null,location:r,navigationType:s=rr.Pop,navigator:o,static:a=!1,future:l}=e;Ho()&&Pe(!1);let c=t.replace(/^\/*/,"/"),u=h.useMemo(()=>({basename:c,navigator:o,static:a,future:Ao({v7_relativeSplatPath:!1},l)}),[c,l,o,a]);typeof r=="string"&&(r=gi(r));let{pathname:d="/",search:p="",hash:f="",state:m=null,key:v="default"}=r,x=h.useMemo(()=>{let b=rh(d,c);return b==null?null:{location:{pathname:b,search:p,hash:f,state:m,key:v},navigationType:s}},[c,d,p,f,m,v,s]);return x==null?null:h.createElement(os.Provider,{value:u},h.createElement(Ac.Provider,{children:n,value:x}))}function w4(e){let{children:t,location:n}=e;return a4(gf(t),n)}new Promise(()=>{});function gf(e,t){t===void 0&&(t=[]);let n=[];return h.Children.forEach(e,(r,s)=>{if(!h.isValidElement(r))return;let o=[...t,s];if(r.type===h.Fragment){n.push.apply(n,gf(r.props.children,o));return}r.type!==Le&&Pe(!1),!r.props.index||!r.props.children||Pe(!1);let a={id:r.props.id||o.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(a.children=gf(r.props.children,o)),n.push(a)}),n}/**
275 * React Router DOM v6.27.0
276 *
277 * Copyright (c) Remix Software Inc.
278 *
279 * This source code is licensed under the MIT license found in the
280 * LICENSE.md file in the root directory of this source tree.
281 *
282 * @license MIT
283 */function yf(){return yf=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},yf.apply(this,arguments)}function b4(e,t){if(e==null)return{};var n={},r=Object.keys(e),s,o;for(o=0;o<r.length;o++)s=r[o],!(t.indexOf(s)>=0)&&(n[s]=e[s]);return n}function j4(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function k4(e,t){return e.button===0&&(!t||t==="_self")&&!j4(e)}const N4=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],S4="6";try{window.__reactRouterVersion=S4}catch{}const E4="startTransition",W0=my[E4];function C4(e){let{basename:t,children:n,future:r,window:s}=e,o=h.useRef();o.current==null&&(o.current=M3({window:s,v5Compat:!0}));let a=o.current,[l,c]=h.useState({action:a.action,location:a.location}),{v7_startTransition:u}=r||{},d=h.useCallback(p=>{u&&W0?W0(()=>c(p)):c(p)},[c,u]);return h.useLayoutEffect(()=>a.listen(d),[a,d]),h.createElement(v4,{basename:t,children:n,location:l.location,navigationType:l.action,navigator:a,future:r})}const T4=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",P4=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Qe=h.forwardRef(function(t,n){let{onClick:r,relative:s,reloadDocument:o,replace:a,state:l,target:c,to:u,preventScrollReset:d,viewTransition:p}
283=t,f=b4(t,N4),{basename:m}=h.useContext(os),v,x=!1;if(typeof u=="string"&&P4.test(u)&&(v=u,T4))try{let w=new URL(window.location.href),j=u.startsWith("//")?new URL(w.protocol+u):new URL(u),k=rh(j.pathname,m);j.origin===w.origin&&k!=null?u=k+j.search+j.hash:x=!0}catch{}let b=s4(u,{relative:s}),g=A4(u,{replace:a,state:l,target:c,preventScrollReset:d,relative:s,viewTransition:p});function y(w){r&&r(w),w.defaultPrevented||g(w)}return h.createElement("a",yf({},f,{href:v||b,onClick:x||o?r:y,ref:n,target:c}))});var U0;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(U0||(U0={}));var H0;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(H0||(H0={}));function A4(e,t){let{target:n,replace:r,state:s,preventScrollReset:o,relative:a,viewTransition:l}=t===void 0?{}:t,c=i4(),u=yi(),d=Zw(e,{relative:a});return h.useCallback(p=>{if(k4(p,n)){p.preventDefault();let f=r!==void 0?r:Bl(u)===Bl(d);c(e,{replace:f,state:s,preventScrollReset:o,relative:a,viewTransition:l})}},[u,c,d,r,s,n,e,o,a,l])}var Su="focusScope.autoFocusOnMount",Eu="focusScope.autoFocusOnUnmount",G0={bubbles:!1,cancelable:!0},R4="FocusScope",tb=h.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:s,onUnmountAutoFocus:o,...a}=e,[l,c]=h.useState(null),u=Ft(s),d=Ft(o),p=h.useRef(null),f=rt(t,x=>c(x)),m=h.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;h.useEffect(()=>{if(r){let x=function(w){if(m.paused||!l)return;const j=w.target;l.contains(j)?p.current=j:Wn(p.current,{select:!0})},b=function(w){if(m.paused||!l)return;const j=w.relatedTarget;j!==null&&(l.contains(j)||Wn(p.current,{select:!0}))},g=function(w){if(document.activeElement===document.body)for(const k of w)k.removedNodes.length>0&&Wn(l)};document.addEventListener("focusin",x),document.addEventListener("focusout",b);const y=new MutationObserver(g);return l&&y.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",x),document.removeEventListener("focusout",b),y.disconnect()}}},[r,l,m.paused]),h.useEffect(()=>{if(l){Y0.add(m);const x=document.activeElement;if(!l.contains(x)){const g=new CustomEvent(Su,G0);l.addEventListener(Su,u),l.dispatchEvent(g),g.defaultPrevented||(M4(I4(nb(l)),{select:!0}),document.activeElement===x&&Wn(l))}return()=>{l.removeEventListener(Su,u),setTimeout(()=>{const g=new CustomEvent(Eu,G0);l.addEventListener(Eu,d),l.dispatchEvent(g),g.defaultPrevented||Wn(x??document.body,{select:!0}),l.removeEventListener(Eu,d),Y0.remove(m)},0)}}},[l,u,d,m]);const v=h.useCallback(x=>{if(!n&&!r||m.paused)return;const b=x.key==="Tab"&&!x.altKey&&!x.ctrlKey&&!x.metaKey,g=document.activeElement;if(b&&g){const y=x.currentTarget,[w,j]=_4(y);w&&j?!x.shiftKey&&g===j?(x.preventDefault(),n&&Wn(w,{select:!0})):x.shiftKey&&g===w&&(x.preventDefault(),n&&Wn(j,{select:!0})):g===y&&x.preventDefault()}},[n,r,m.paused]);return i.jsx(Ae.div,{tabIndex:-1,...a,ref:f,onKeyDown:v})});tb.displayName=R4;function M4(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(Wn(r,{select:t}),document.activeElement!==n)return}function _4(e){const t=nb(e),n=K0(t,e),r=K0(t.reverse(),e);return[n,r]}function nb(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const s=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||s?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function K0(e,t){for(const n of e)if(!D4(n,{upTo:t}))return n}function D4(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function L4(e){return e instanceof HTMLInputElement&&"select"in e}function Wn(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&L4(e)&&t&&e.select()}}var Y0=F4();
vendor: 6,394 bytes, lines 283-298
283function F4(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=Q0(e,t),e.unshift(t)},remove(t){var n;e=Q0(e,t),(n=e[0])==null||n.resume()}}}function Q0(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function I4(e){return e.filter(t=>t.tagName!=="A")}var Cu=0;function O4(){h.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??X0()),document.body.insertAdjacentElement("beforeend",e[1]??X0()),Cu++,()=>{Cu===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),Cu--}},[])}function X0(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var fn=function(){return fn=Object.assign||function(t){for(var n,r=1,s=arguments.length;r<s;r++){n=arguments[r];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},fn.apply(this,arguments)};function rb(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,r=Object.getOwnPropertySymbols(e);s<r.length;s++)t.indexOf(r[s])<0&&Object.prototype.propertyIsEnumerable.call(e,r[s])&&(n[r[s]]=e[r[s]]);return n}function V4(e,t,n){if(n||arguments.length===2)for(var r=0,s=t.length,o;r<s;r++)(o||!(r in t))&&(o||(o=Array.prototype.slice.call(t,0,r)),o[r]=t[r]);return e.concat(o||Array.prototype.slice.call(t))}var el="right-scroll-bar-position",tl="width-before-scroll-bar",B4="with-scroll-bars-hidden",z4="--removed-body-scroll-bar-size";function Tu(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function $4(e,t){var n=h.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var s=n.value;s!==r&&(n.value=r,n.callback(r,s))}}}})[0];return n.callback=t,n.facade}var W4=typeof window<"u"?h.useLayoutEffect:h.useEffect,q0=new WeakMap;function U4(e,t){var n=$4(null,function(r){return e.forEach(function(s){return Tu(s,r)})});return W4(function(){var r=q0.get(n);if(r){var s=new Set(r),o=new Set(e),a=n.current;s.forEach(function(l){o.has(l)||Tu(l,null)}),o.forEach(function(l){s.has(l)||Tu(l,a)})}q0.set(n,e)},[e]),n}function H4(e){return e}function G4(e,t){t===void 0&&(t=H4);var n=[],r=!1,s={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(o){var a=t(o,r);return n.push(a),function(){n=n.filter(function(l){return l!==a})}},assignSyncMedium:function(o){for(r=!0;n.length;){var a=n;n=[],a.forEach(o)}n={push:function(l){return o(l)},filter:function(){return n}}},assignMedium:function(o){r=!0;var a=[];if(n.length){var l=n;n=[],l.forEach(o),a=n}var c=function(){var d=a;a=[],d.forEach(o)},u=function(){return Promise.resolve().then(c)};u(),n={push:function(d){a.push(d),u()},filter:function(d){return a=a.filter(d),n}}}};return s}function K4(e){e===void 0&&(e={});var t=G4(null);return t.options=fn({async:!0,ssr:!1},e),t}var sb=function(e){var t=e.sideCar,n=rb(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return h.createElement(r,fn({},n))};sb.isSideCarExport=!0;function Y4(e,t){return e.useMedium(t),sb}var ib=K4(),Pu=function(){},Rc=h.forwardRef(function(e,t){var n=h.useRef(null),r=h.useState({onScrollCapture:Pu,onWheelCapture:Pu,onTouchMoveCapture:Pu}),s=r[0],o=r[1],a=e.forwardProps,l=e.children,c=e.className,u=e.removeScrollBar,d=e.enabled,p=e.shards,f=e.sideCar,m=e.noIsolation,v=e.inert,x=e.allowPinchZoom,b=e.as,g=b===void 0?"div":b,y=e.gapMode,w=rb(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),j=f,k=U4([n,t]),T=fn(fn({},w),s);return h.createElement(h.Fragment,null,d&&h.createElement(j,{sideCar:ib,removeScrollBar:u,shards:p,noIsolation:m,inert:v,setCallbacks:o,allowPinchZoom:!!x,lockRef:n,gapMode:y}),a?h.cloneElement(h.Children.only(l),fn(fn({},T),{ref:k})):h.createElement(g,fn({},T,{className:c,ref:k}),l))});Rc.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Rc.classNames={fullWidth:tl,zeroRight:el};var Q4=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function X4(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=Q4();return t&&e.setAttribute("nonce",t),e}function q4(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function Z4(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var J4=function(){var e=0,t=null;return{add:function(n){e==0&&(t=X4())&&(q4(t,n),Z4(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},eT=function(){var e=J4();return function(t,n){h.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},ob=function(){var e=eT(),t=function(n){var r=n.styles,s=n.dynamic;return e(r,s),null};return t},tT={left:0,top:0,right:0,gap:0},Au=function(e){return parseInt(e||"",10)||0},nT=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],s=t[e==="padding"?"paddingRight":"marginRight"];return[Au(n),Au(r),Au(s)]},rT=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return tT;var t=nT(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},sT=ob(),$s="data-scroll-locked",iT=function(e,t,n,r){var s=e.left,o=e.top,a=e.right,l=e.gap;return n===void 0&&(n="margin"),`
284  .`.concat(B4,` {
285   overflow: hidden `).concat(r,`;
286   padding-right: `).concat(l,"px ").concat(r,`;
287  }
288  body[`).concat($s,`] {
289    overflow: hidden `).concat(r,`;
290    overscroll-behavior: contain;
291    `).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&`
292    padding-left: `.concat(s,`px;
293    padding-top: `).concat(o,`px;
294    padding-right: `).concat(a,`px;
295    margin-left:0;
296    margin-top:0;
297    margin-right: `).concat(l,"px ").concat(r,`;
298    `),n==="padding"&&"padding-right: ".concat(l,"px ").concat(r,";
298")].filter(Boolean).join(""),`
299  }
300  
301  .`).concat(el,` {
302    right: `).concat(l,"px ").concat(r,`;
303  }
304  
305  .`).concat(tl,` {
306    margin-right: `).concat(l,"px ").concat(r,`;
307  }
308  
309  .`).concat(el," .").concat(el,` {
310    right: 0 `).concat(r,`;
311  }
312  
313  .`).concat(tl," .").concat(tl,` {
314    margin-right: 0 `).concat(r,`;
315  }
316  
317  body[`).concat($s,`] {
318    `).concat(z4,": ").concat(l,`px;
319  }
320`)},Z0=function(){var e=parseInt(document.body.getAttribute($s)||"0",10);return isFinite(e)?e:0},oT=function(){h.useEffect(function(){return document.body.setAttribute($s,(Z0()+1).toString()),function(){var e=Z0()-1;e<=0?document.body.removeAttribute($s):document.body.setAttribute($s,e.toString())}},[])},aT=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,s=r===void 0?"margin":r;oT();var o=h.useMemo(function(){return rT(s)},[s]);return h.createElement(sT,{styles:iT(o,!t,s,n?"":"!important")})},vf=!1;if(typeof window<"u")try{var ja=Object.defineProperty({},"passive",{get:function(){return vf=!0,!0}});window.addEventListener("test",ja,ja),window.removeEventListener("test",ja,ja)}catch{vf=!1}var fs=vf?{passive:!1}:!1,lT=function(e){return e.tagName==="TEXTAREA"},ab=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!lT(e)&&n[t]==="visible")},cT=function(e){return ab(e,"overflowY")},uT=function(e){return ab(e,"overflowX")},J0=function(e,t){var n=t.ownerDocument,r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var s=lb(e,r);if(s){var o=cb(e,r),a=o[1],l=o[2];if(a>l)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},dT=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},fT=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},lb=function(e,t){return e==="v"?cT(t):uT(t)},cb=function(e,t){return e==="v"?dT(t):fT(t)},pT=function(e,t){return e==="h"&&t==="rtl"?-1:1},hT=function(e,t,n,r,s){var o=pT(e,window.getComputedStyle(t).direction),a=o*r,l=n.target,c=t.contains(l),u=!1,d=a>0,p=0,f=0;do{var m=cb(e,l),v=m[0],x=m[1],b=m[2],g=x-b-o*v;(v||g)&&lb(e,l)&&(p+=g,f+=v),l instanceof ShadowRoot?l=l.host:l=l.parentNode}while(!c&&l!==document.body||c&&(t.contains(l)||t===l));return(d&&(Math.abs(p)<1||!s)||!d&&(Math.abs(f)<1||!s))&&(u=!0),u},ka=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},ex=function(e){return[e.deltaX,e.deltaY]},tx=function(e){return e&&"current"in e?e.current:e},mT=function(e,t){return e[0]===t[0]&&e[1]===t[1]},xT=function(e){return`
321  .block-interactivity-`.concat(e,` {pointer-events: none;}
322  .allow-interactivity-`).concat(e,` {pointer-events: all;}
323`)},gT=0,ps=[];function yT(e){var t=h.useRef([]),n=h.useRef([0,0]),r=h.useRef(),s=h.useState(gT++)[0],o=h.useState(ob)[0],a=h.useRef(e);h.useEffect(function(){a.current=e},[e]),h.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(s));var x=V4([e.lockRef.current],(e.shards||[]).map(tx),!0).filter(Boolean);return x.forEach(function(b){return b.classList.add("allow-interactivity-".concat(s))}),function(){document.body.classList.remove("block-interactivity-".concat(s)),x.forEach(function(b){return b.classList.remove("allow-interactivity-".concat(s))})}}},[e.inert,e.lockRef.current,e.shards]);var l=h.useCallback(function(x,b){if("touches"in x&&x.touches.length===2||x.type==="wheel"&&x.ctrlKey)return!a.current.allowPinchZoom;var g=ka(x),y=n.current,w="deltaX"in x?x.deltaX:y[0]-g[0],j="deltaY"in x?x.deltaY:y[1]-g[1],k,T=x.target,P=Math.abs(w)>Math.abs(j)?"h":"v";if("touches"in x&&P==="h"&&T.type==="range")return!1;var E=J0(P,T);if(!E)return!0;if(E?k=P:(k=P==="v"?"h":"v",E=J0(P,T)),!E)return!1;if(!r.current&&"changedTouches"in x&&(w||j)&&(r.current=k),!k)return!0;var S=r.current||k;return hT(S,b,x,S==="h"?w:j,!0)},[]),c=h.useCallback(function(x){var b=x;if(!(!ps.length||ps[ps.length-1]!==o)){var g="deltaY"in b?ex(b):ka(b),y=t.current.filter(function(k){return k.name===b.type&&(k.target===b.target||b.target===k.shadowParent)&&mT(k.delta,g)})[0];if(y&&y.should){b.cancelable&&b.preventDefault();return}
vendor: 7,744 bytes, lines 323-327
323if(!y){var w=(a.current.shards||[]).map(tx).filter(Boolean).filter(function(k){return k.contains(b.target)}),j=w.length>0?l(b,w[0]):!a.current.noIsolation;j&&b.cancelable&&b.preventDefault()}}},[]),u=h.useCallback(function(x,b,g,y){var w={name:x,delta:b,target:g,should:y,shadowParent:vT(g)};t.current.push(w),setTimeout(function(){t.current=t.current.filter(function(j){return j!==w})},1)},[]),d=h.useCallback(function(x){n.current=ka(x),r.current=void 0},[]),p=h.useCallback(function(x){u(x.type,ex(x),x.target,l(x,e.lockRef.current))},[]),f=h.useCallback(function(x){u(x.type,ka(x),x.target,l(x,e.lockRef.current))},[]);h.useEffect(function(){return ps.push(o),e.setCallbacks({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:f}),document.addEventListener("wheel",c,fs),document.addEventListener("touchmove",c,fs),document.addEventListener("touchstart",d,fs),function(){ps=ps.filter(function(x){return x!==o}),document.removeEventListener("wheel",c,fs),document.removeEventListener("touchmove",c,fs),document.removeEventListener("touchstart",d,fs)}},[]);var m=e.removeScrollBar,v=e.inert;return h.createElement(h.Fragment,null,v?h.createElement(o,{styles:xT(s)}):null,m?h.createElement(aT,{gapMode:e.gapMode}):null)}function vT(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const wT=Y4(ib,yT);var ub=h.forwardRef(function(e,t){return h.createElement(Rc,fn({},e,{ref:t,sideCar:wT}))});ub.classNames=Rc.classNames;var bT=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},hs=new WeakMap,Na=new WeakMap,Sa={},Ru=0,db=function(e){return e&&(e.host||db(e.parentNode))},jT=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=db(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},kT=function(e,t,n,r){var s=jT(t,Array.isArray(e)?e:[e]);Sa[n]||(Sa[n]=new WeakMap);var o=Sa[n],a=[],l=new Set,c=new Set(s),u=function(p){!p||l.has(p)||(l.add(p),u(p.parentNode))};s.forEach(u);var d=function(p){!p||c.has(p)||Array.prototype.forEach.call(p.children,function(f){if(l.has(f))d(f);else try{var m=f.getAttribute(r),v=m!==null&&m!=="false",x=(hs.get(f)||0)+1,b=(o.get(f)||0)+1;hs.set(f,x),o.set(f,b),a.push(f),x===1&&v&&Na.set(f,!0),b===1&&f.setAttribute(n,"true"),v||f.setAttribute(r,"true")}catch(g){console.error("aria-hidden: cannot operate on ",f,g)}})};return d(t),l.clear(),Ru++,function(){a.forEach(function(p){var f=hs.get(p)-1,m=o.get(p)-1;hs.set(p,f),o.set(p,m),f||(Na.has(p)||p.removeAttribute(r),Na.delete(p)),m||p.removeAttribute(n)}),Ru--,Ru||(hs=new WeakMap,hs=new WeakMap,Na=new WeakMap,Sa={})}},NT=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),s=bT(e);return s?(r.push.apply(r,Array.from(s.querySelectorAll("[aria-live]"))),kT(r,s,n,"aria-hidden")):function(){return null}},ih="Dialog",[fb,tD]=Vp(ih),[ST,qt]=fb(ih),pb=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:s,onOpenChange:o,modal:a=!0}=e,l=h.useRef(null),c=h.useRef(null),[u=!1,d]=S1({prop:r,defaultProp:s,onChange:o});return i.jsx(ST,{scope:t,triggerRef:l,contentRef:c,contentId:wu(),titleId:wu(),descriptionId:wu(),open:u,onOpenChange:d,onOpenToggle:h.useCallback(()=>d(p=>!p),[d]),modal:a,children:n})};pb.displayName=ih;var hb="DialogTrigger",mb=h.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,s=qt(hb,n),o=rt(t,s.triggerRef);return i.jsx(Ae.button,{type:"button","aria-haspopup":"dialog","aria-expanded":s.open,"aria-controls":s.contentId,"data-state":lh(s.open),...r,ref:o,onClick:xe(e.onClick,s.onOpenToggle)})});mb.displayName=hb;var oh="DialogPortal",[ET,xb]=fb(oh,{forceMount:void 0}),gb=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:s}=e,o=qt(oh,t);return i.jsx(ET,{scope:t,forceMount:n,children:h.Children.map(r,a=>i.jsx(pi,{present:n||o.open,children:i.jsx(Bp,{asChild:!0,container:s,children:a})}))})};gb.displayName=oh;var $l="DialogOverlay",yb=h.forwardRef((e,t)=>{const n=xb($l,e.__scopeDialog),{forceMount:r=n.forceMount,...s}=e,o=qt($l,e.__scopeDialog);return o.modal?i.jsx(pi,{present:r||o.open,children:i.jsx(CT,{...s,ref:t})}):null});yb.displayName=$l;var CT=h.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,s=qt($l,n);return i.jsx(ub,{as:No,allowPinchZoom:!0,shards:[s.contentRef],children:i.jsx(Ae.div,{"data-state":lh(s.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),ns="DialogContent",vb=h.forwardRef((e,t)=>{const n=xb(ns,e.__scopeDialog),{forceMount:r=n.forceMount,...s}=e,o=qt(ns,e.__scopeDialog);return i.jsx(pi,{present:r||o.open,children:o.modal?i.jsx(TT,{...s,ref:t}):i.jsx(PT,{...s,ref:t})})});vb.displayName=ns;var TT=h.forwardRef((e,t)=>{const n=qt(ns,e.__scopeDialog),r=h.useRef(null),s=rt(t,n.contentRef,r);return h.useEffect(()=>{const o=r.current;if(o)return NT(o)},[]),i.jsx(wb,{...e,ref:s,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:xe(e.onCloseAutoFocus,o=>{var a;o.preventDefault(),(a=n.triggerRef.current)==null||a.focus()}),onPointerDownOutside:xe(e.onPointerDownOutside,o=>{const a=o.detail.originalEvent,l=a.button===0&&a.ctrlKey===!0;(a.button===2||l)&&o.preventDefault()}),onFocusOutside:xe(e.onFocusOutside,o=>o.preventDefault())})}),PT=h.forwardRef((e,t)=>{const n=qt(ns,e.__scopeDialog),r=h.useRef(!1),s=h.useRef(!1);return i.jsx(wb,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:o=>{var a,l;(a=e.onCloseAutoFocus)==null||a.call(e,o),o.defaultPrevented||(r.current||(l=n.triggerRef.current)==null||l.focus(),o.preventDefault()),r.current=!1,s.current=!1},onInteractOutside:o=>{var c,u;(c=e.onInteractOutside)==null||c.call(e,o),o.defaultPrevented||(r.current=!0,o.detail.originalEvent.type==="pointerdown"&&(s.current=!0));const a=o.target;((u=n.triggerRef.current)==null?void 0:u.contains(a))&&o.preventDefault(),o.detail.originalEvent.type==="focusin"&&s.current&&o.preventDefault()}})}),wb=h.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:s,onCloseAutoFocus:o,...a}=e,l=qt(ns,n),c=h.useRef(null),u=rt(t,c);return O4(),i.jsxs(i.Fragment,{children:[i.jsx(tb,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:s,onUnmountAutoFocus:o,children:i.jsx(yc,{role:"dialog",id:l.contentId,"aria-describedby":l.descriptionId,"aria-labelledby":l.titleId,"data-state":lh(l.open),...a,ref:u,onDismiss:()=>l.onOpenChange(!1)})}),i.jsxs(i.Fragment,{children:[i.jsx(AT,{titleId:l.titleId}),i.jsx(MT,{contentRef:c,descriptionId:l.descriptionId})]})]})}),ah="DialogTitle",bb=h.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,s=qt(ah,n);return i.jsx(Ae.h2,{id:s.titleId,...r,ref:t})});bb.displayName=ah;var jb="DialogDescription",kb=h.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,s=qt(jb,n);return i.jsx(Ae.p,{id:s.descriptionId,...r,ref:t})});kb.displayName=jb;var Nb="DialogClose",Sb=h.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,s=qt(Nb,n);return i.jsx(Ae.button,{type:"button",...r,ref:t,onClick:xe(e.onClick,()=>s.onOpenChange(!1))})});Sb.displayName=Nb;function lh(e){return e?"open":"closed"}var Eb="DialogTitleWarning",[nD,Cb]=mN(Eb,{contentName:ns,titleName:ah,docsSlug:"dialog"}),AT=({titleId:e})=>{const t=Cb(Eb),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
324
325If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
326
327For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return h.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},RT="DialogDescriptionWarning",MT=({contentRef:e,descriptionId:t})=>{const r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}
327\` for {${Cb(RT).contentName}}.`;return h.useEffect(()=>{var o;const s=(o=e.current)==null?void 0:o.getAttribute("aria-describedby");t&&s&&(document.getElementById(t)||console.warn(r))},[r,e,t]),null},_T=pb,DT=mb,LT=gb,FT=yb,IT=vb,OT=bb,VT=kb,BT=Sb;const zT="https://drive.google.com/file/d/1p18VHeNPkPBOVFboR_I-rh2jAlrH4CCB/preview",$T=({trigger:e,src:t=zT})=>{const[n,r]=h.useState(!1);return i.jsxs(_T,{open:n,onOpenChange:r,children:[i.jsx(DT,{asChild:!0,children:e}),i.jsxs(LT,{children:[i.jsx(FT,{className:"fixed inset-0 z-50 bg-ink/[0.88] backdrop-blur-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=open]:fade-in-0 data-[state=closed]:fade-out-0"}),i.jsxs(IT,{"aria-modal":"true",className:"fixed left-1/2 top-1/2 z-50 w-[min(92vw,1280px)] -translate-x-1/2 -translate-y-1/2 outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=open]:fade-in-0 data-[state=closed]:fade-out-0 data-[state=open]:zoom-in-95 data-[state=closed]:zoom-out-95",children:[i.jsx(OT,{className:"sr-only",children:"Launch film"}),i.jsx(VT,{className:"sr-only",children:"Revola launch film, 90 seconds."}),i.jsxs("div",{className:"relative",children:[i.jsx("div",{className:"overflow-hidden rounded-md bg-ink p-1 shadow-[0_30px_120px_-20px_rgba(0,0,0,0.6)] ring-1 ring-paper/10",children:i.jsx("div",{className:"relative aspect-video w-full overflow-hidden rounded-sm bg-ink",children:n&&i.jsx("iframe",{src:t,title:"Revola launch film",className:"absolute inset-0 h-full w-full",allow:"autoplay; encrypted-media; fullscreen",allowFullScreen:!0})})}),i.jsxs(BT,{className:"absolute -right-2 -top-12 inline-flex items-center gap-2 rounded-full bg-paper/10 px-3 py-1.5 text-xs text-paper/80 backdrop-blur transition-colors hover:bg-paper/20 hover:text-paper md:-top-14","aria-label":"Close launch film",children:[i.jsx(jc,{className:"h-3.5 w-3.5"}),i.jsx("span",{children:"Close"})]}),i.jsx("p",{className:"mt-4 text-center font-mono text-[11px] uppercase tracking-eyebrow text-paper/60",children:"Launch film · 90 sec"})]})]})]})]})},ch=h.createContext({});function uh(e){const t=h.useRef(null);return t.current===null&&(t.current=e()),t.current}const WT=typeof window<"u",Tb=WT?h.useLayoutEffect:h.useEffect,Mc=h.createContext(null);function dh(e,t){e.indexOf(t)===-1&&e.push(t)}function Wl(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const gn=(e,t,n)=>n>t?t:n<e?e:n;let _c=()=>{},ai=()=>{};const br={},Pb=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function Ab(e){return typeof e=="object"&&e!==null}const Rb=e=>/^0[^.\s]+$/u.test(e);function Mb(e){let t;return()=>(t===void 0&&(t=e()),t)}const _t=e=>e,UT=(e,t)=>n=>t(e(n)),Go=(...e)=>e.reduce(UT),Ro=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r};class fh{constructor(){this.subscriptions=[]}add(t){return dh(this.subscriptions,t),()=>Wl(this.subscriptions,t)}notify(t,n,r){const s=this.subscriptions.length;if(s)if(s===1)this.subscriptions[0](t,n,r);else for(let o=0;o<s;o++){const a=this.subscriptions[o];a&&a(t,n,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const ft=e=>e*1e3,Rt=e=>e/1e3;function _b(e,t){return t?e*(1e3/t):0}const Db=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,HT=1e-7,GT=12;function KT(e,t,n,r,s){let o,a,l=0;do a=t+(n-t)/2,o=Db(a,r,s)-e,o>0?n=a:t=a;while(Math.abs(o)>HT&&++l<GT);return a}function Ko(e,t,n,r){if(e===t&&n===r)return _t;const s=o=>KT(o,0,1,e,n);return o=>o===0||o===1?o:Db(s(o),t,r)}const Lb=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Fb=e=>t=>1-e(1-t),Ib=Ko(.33,1.53,.69,.99),ph=Fb(Ib),Ob=Lb(ph),Vb=e=>e>=1?1:(e*=2)<1?.5*ph(e):.5*(2-Math.pow(2,-10*(e-1))),hh=e=>1-Math.sin(Math.acos(e)),Bb=Fb(hh),zb=Lb(hh),YT=Ko(.42,0,1,1),QT=Ko(0,0,.58,1),$b=Ko(.42,0,.58,1),XT=e=>Array.isArray(e)&&typeof e[0]!="number",Wb=e=>Array.isArray(e)&&typeof e[0]=="number",nx={linear:_t,easeIn:YT,easeInOut:$b,easeOut:QT,circIn:hh,circInOut:zb,circOut:Bb,backIn:ph,backInOut:Ob,backOut:Ib,anticipate:Vb},qT=e=>typeof e=="string",rx=e=>{if(Wb(e)){ai(e.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");const[t,n,r,s]=e;return Ko(t,n,r,s)}else if(qT(e))return ai(nx[e]!==void 0,`Invalid easing type '${e}
327'`,"invalid-easing-type"),nx[e];return e},Ea=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"],sx={value:null,addProjectionMetrics:null};function ZT(e,t){let n=new Set,r=new Set,s=!1,o=!1;const a=new WeakSet;let l={delta:0,timestamp:0,isProcessing:!1},c=0;function u(p){a.has(p)&&(d.schedule(p),e()),c++,p(l)}const d={schedule:(p,f=!1,m=!1)=>{const x=m&&s?n:r;return f&&a.add(p),x.add(p),p},cancel:p=>{r.delete(p),a.delete(p)},process:p=>{if(l=p,s){o=!0;return}s=!0;const f=n;n=r,r=f,n.forEach(u),t&&sx.value&&sx.value.frameloop[t].push(c),c=0,n.clear(),s=!1,o&&(o=!1,d.process(p))}};return d}const JT=40;function Ub(e,t){let n=!1,r=!0;const s={delta:0,timestamp:0,isProcessing:!1},o=()=>n=!0,a=Ea.reduce((w,j)=>(w[j]=ZT(o,t?j:void 0),w),{}),{setup:l,read:c,resolveKeyframes:u,preUpdate:d,update:p,preRender:f,render:m,postRender:v}=a,x=()=>{const w=br.useManualTiming,j=w?s.timestamp:performance.now();n=!1,w||(s.delta=r?1e3/60:Math.max(Math.min(j-s.timestamp,JT),1)),s.timestamp=j,s.isProcessing=!0,l.process(s),c.process(s),u.process(s),d.process(s),p.process(s),f.process(s),m.process(s),v.process(s),s.isProcessing=!1,n&&t&&(r=!1,e(x))},b=()=>{n=!0,r=!0,s.isProcessing||e(x)};return{schedule:Ea.reduce((w,j)=>{const k=a[j];return w[j]=(T,P=!1,E=!1)=>(n||b(),k.schedule(T,P,E)),w},{}),cancel:w=>{for(let j=0;j<Ea.length;j++)a[Ea[j]].cancel(w)},state:s,steps:a}}const{schedule:ae,cancel:jr,state:Ve,steps:Mu}=Ub(typeof requestAnimationFrame<"u"?requestAnimationFrame:_t,!0);let nl;function e6(){nl=void 0}const et={now:()=>(nl===void 0&&et.set(Ve.isProcessing||br.useManualTiming?Ve.timestamp:performance.now()),nl),set:e=>{nl=e,queueMicrotask(e6)}},Hb=e=>t=>typeof t=="string"&&t.startsWith(e),Gb=Hb("--"),t6=Hb("var(--"),mh=e=>t6(e)?n6.test(e.split("/*")[0].trim()):!1,n6=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function ix(e){return typeof e!="string"?!1:e.split("/*")[0].includes("var(--")}const vi={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Mo={...vi,transform:e=>gn(0,1,e)},Ca={...vi,default:1},no=e=>Math.round(e*1e5)/1e5,xh=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function r6(e){return e==null}const s6=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,gh=(e,t)=>n=>!!(typeof n=="string"&&s6.test(n)&&n.startsWith(e)||t&&!r6(n)&&Object.prototype.hasOwnProperty.call(n,t)),Kb=(e,t,n)=>r=>{if(typeof r!="string")return r;const[s,o,a,l]=r.match(xh);return{[e]:parseFloat(s),[t]:parseFloat(o),[n]:parseFloat(a),alpha:l!==void 0?parseFloat(l):1}},i6=e=>gn(0,255,e),_u={...vi,transform:e=>Math.round(i6(e))},Br={test:gh("rgb","red"),parse:Kb("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+_u.transform(e)+", "+_u.transform(t)+", "+_u.transform(n)+", "+no(Mo.transform(r))+")"};function o6(e){let t="",n="",r="",s="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),s=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),s=e.substring(4,5),t+=t,n+=n,r+=r,s+=s),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:s?parseInt(s,16)/255:1}}const wf={test:gh("#"),parse:o6,transform:Br.transform},Yo=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Un=Yo("deg"),mn=Yo("%"),H=Yo("px"),a6=Yo("vh"),l6=Yo("vw"),ox={...mn,parse:e=>mn.parse(e)/100,transform:e=>mn.transform(e*100)},As={test:gh("hsl","hue"),parse:Kb("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+mn.transform(no(t))+", "+mn.transform(no(n))+", "+no(Mo.transform(r))+")"},Ce={test:e=>Br.test(e)||wf.test(e)||As.test(e),parse:e=>Br.test(e)?Br.parse(e):As.test(e)?As.parse(e):wf.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?Br.transform(e):As.transform(e),getAnimatableNone:e=>{const t=Ce.parse(e);return t.alpha=0,Ce.transform(t)}},c6=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function u6(e){var t,n;return isNaN(e)&&typeof e=="string"&&(((t=e.match(xh))==null?void 0:t.length)||0)+(((n=e.match(c6))==null?void 0:n.length)||0)>0}const Yb="number",Qb="color",d6="var",f6="var(",ax="${}",p6=/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 li(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},s=[];let o=0;const l=t.replace(p6,c=>(Ce.test(c)?(r.color.push(o),s.push(Qb),n.push(Ce.parse(c))):c.startsWith(f6)?(r.var.push(o),s.push(d6),n.push(c)):(r.number.push(o),s.push(Yb),n.push(parseFloat(c))),++o,ax)).split(ax);return{values:n,split:l,indexes:r,types:s}}function h6(e){return li(e).values}function Xb({split:e,types:t}){const n=e.length;return r=>{let s="";for(let o=0;o<n;o++)if(s+=e[o],r[o]!==void 0){const a=t[o];a===Yb?s+=no(r[o]):a===Qb?s+=Ce.transform(r[o]):s+=r[o]}return s}}function m6(e){return Xb(li(e))}const x6=e=>typeof e=="number"?0:Ce.test(e)?Ce.getAnimatableNone(e):e,g6=(e,t)=>typeof e=="number"?t!=null&&t.trim().endsWith("/")?e:0:x6(e);function y6(e){const t=li(e);return Xb(t)(t.values.map((r,s)=>
vendor: 22,564 bytes, line 327
327g6(r,t.split[s])))}const Kt={test:u6,parse:h6,createTransformer:m6,getAnimatableNone:y6};function Du(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function v6({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let s=0,o=0,a=0;if(!t)s=o=a=n;else{const l=n<.5?n*(1+t):n+t-n*t,c=2*n-l;s=Du(c,l,e+1/3),o=Du(c,l,e),a=Du(c,l,e-1/3)}return{red:Math.round(s*255),green:Math.round(o*255),blue:Math.round(a*255),alpha:r}}function Ul(e,t){return n=>n>0?t:e}const pe=(e,t,n)=>e+(t-e)*n,Lu=(e,t,n)=>{const r=e*e,s=n*(t*t-r)+r;return s<0?0:Math.sqrt(s)},w6=[wf,Br,As],b6=e=>w6.find(t=>t.test(e));function lx(e){const t=b6(e);if(_c(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!t)return!1;let n=t.parse(e);return t===As&&(n=v6(n)),n}const cx=(e,t)=>{const n=lx(e),r=lx(t);if(!n||!r)return Ul(e,t);const s={...n};return o=>(s.red=Lu(n.red,r.red,o),s.green=Lu(n.green,r.green,o),s.blue=Lu(n.blue,r.blue,o),s.alpha=pe(n.alpha,r.alpha,o),Br.transform(s))},bf=new Set(["none","hidden"]);function j6(e,t){return bf.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function k6(e,t){return n=>pe(e,t,n)}function yh(e){return typeof e=="number"?k6:typeof e=="string"?mh(e)?Ul:Ce.test(e)?cx:E6:Array.isArray(e)?qb:typeof e=="object"?Ce.test(e)?cx:N6:Ul}function qb(e,t){const n=[...e],r=n.length,s=e.map((o,a)=>yh(o)(o,t[a]));return o=>{for(let a=0;a<r;a++)n[a]=s[a](o);return n}}function N6(e,t){const n={...e,...t},r={};for(const s in n)e[s]!==void 0&&t[s]!==void 0&&(r[s]=yh(e[s])(e[s],t[s]));return s=>{for(const o in r)n[o]=r[o](s);return n}}function S6(e,t){const n=[],r={color:0,var:0,number:0};for(let s=0;s<t.values.length;s++){const o=t.types[s],a=e.indexes[o][r[o]],l=e.values[a]??0;n[s]=l,r[o]++}return n}const E6=(e,t)=>{const n=Kt.createTransformer(t),r=li(e),s=li(t);return r.indexes.var.length===s.indexes.var.length&&r.indexes.color.length===s.indexes.color.length&&r.indexes.number.length>=s.indexes.number.length?bf.has(e)&&!s.values.length||bf.has(t)&&!r.values.length?j6(e,t):Go(qb(S6(r,s),s.values),n):(_c(!0,`Complex values '${e}' and '${t}' 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"),Ul(e,t))};function Zb(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?pe(e,t,n):yh(e)(e,t)}const C6=e=>{const t=({timestamp:n})=>e(n);return{start:(n=!0)=>ae.update(t,n),stop:()=>jr(t),now:()=>Ve.isProcessing?Ve.timestamp:et.now()}},Jb=(e,t,n=10)=>{let r="";const s=Math.max(Math.round(t/n),2);for(let o=0;o<s;o++)r+=Math.round(e(o/(s-1))*1e4)/1e4+", ";return`linear(${r.substring(0,r.length-2)})`},Hl=2e4;function vh(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t<Hl;)t+=n,r=e.next(t);return t>=Hl?1/0:t}function T6(e,t=100,n){const r=n({...e,keyframes:[0,t]}),s=Math.min(vh(r),Hl);return{type:"keyframes",ease:o=>r.next(s*o).value/t,duration:Rt(s)}}const ge={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function jf(e,t){return e*Math.sqrt(1-t*t)}const P6=12;function A6(e,t,n){let r=n;for(let s=1;s<P6;s++)r=r-e(r)/t(r);return r}const Fu=.001;function R6({duration:e=ge.duration,bounce:t=ge.bounce,velocity:n=ge.velocity,mass:r=ge.mass}){let s,o;_c(e<=ft(ge.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let a=1-t;a=gn(ge.minDamping,ge.maxDamping,a),e=gn(ge.minDuration,ge.maxDuration,Rt(e)),a<1?(s=u=>{const d=u*a,p=d*e,f=d-n,m=jf(u,a),v=Math.exp(-p);return Fu-f/m*v},o=u=>{const p=u*a*e,f=p*n+n,m=Math.pow(a,2)*Math.pow(u,2)*e,v=Math.exp(-p),x=jf(Math.pow(u,2),a);return(-s(u)+Fu>0?-1:1)*((f-m)*v)/x}):(s=u=>{const d=Math.exp(-u*e),p=(u-n)*e+1;return-Fu+d*p},o=u=>{const d=Math.exp(-u*e),p=(n-u)*(e*e);return d*p});const l=5/e,c=A6(s,o,l);if(e=ft(e),isNaN(c))return{stiffness:ge.stiffness,damping:ge.damping,duration:e};{const u=Math.pow(c,2)*r;return{stiffness:u,damping:a*2*Math.sqrt(r*u),duration:e}}}const M6=["duration","bounce"],_6=["stiffness","damping","mass"];function ux(e,t){return t.some(n=>e[n]!==void 0)}function D6(e){let t={velocity:ge.velocity,stiffness:ge.stiffness,damping:ge.damping,mass:ge.mass,isResolvedFromDuration:!1,...e};if(!ux(e,_6)&&ux(e,M6))if(t.velocity=0,e.visualDuration){const n=e.visualDuration,r=2*Math.PI/(n*1.2),s=r*r,o=2*gn(.05,1,1-(e.bounce||0))*Math.sqrt(s);t={...t,mass:ge.mass,stiffness:s,damping:o}}else{const n=R6({...e,velocity:0});t={...t,...n,mass:ge.mass},t.isResolvedFromDuration=!0}return t}function Gl(e=ge.visualDuration,t=ge.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:r,restDelta:s}=n;const o=n.keyframes[0],a=n.keyframes[n.keyframes.length-1],l={done:!1,value:o},{stiffness:c,damping:u,mass:d,duration:p,velocity:f,isResolvedFromDuration:m}=D6({...n,velocity:-Rt(n.velocity||0)}),v=f||0,x=u/(2*Math.sqrt(c*d)),b=a-o,g=Rt(Math.sqrt(c/d)),y=Math.abs(b)<5;r||(r=y?ge.restSpeed.granular:ge.restSpeed.default),s||(s=y?ge.restDelta.granular:ge.restDelta.default);let w,j,k,T,P,E;if(x<1)k=jf(g,x),T=(v+x*g*b)/k,w=C=>{const D=Math.exp(-x*g*C);return a-D*(T*Math.sin(k*C)+b*Math.cos(k*C))},P=x*g*T+b*k,E=x*g*b-T*k,j=C=>Math.exp(-x*g*C)*(P*Math.sin(k*C)+E*Math.cos(k*C));else if(x===1){w=D=>a-Math.exp(-g*D)*(b+(v+g*b)*D);const C=v+g*b;j=D=>Math.exp(-g*D)*(g*C*D-v)}else{const C=g*Math.sqrt(x*x-1);w=V=>{const U=Math.exp(-x*g*V),z=Math.min(C*V,300);return a-U*((v+x*g*b)*Math.sinh(z)+C*b*Math.cosh(z))/C};const D=(v+x*g*b)/C,L=x*g*D-b*C,G=x*g*b-D*C;j=V=>{const U=Math.exp(-x*g*V),z=Math.min(C*V,300);return U*(L*Math.sinh(z)+G*Math.cosh(z))}}const S={calculatedDuration:m&&p||null,velocity:C=>ft(j(C)),next:C=>{if(!m&&x<1){const L=Math.exp(-x*g*C),G=Math.sin(k*C),V=Math.cos(k*C),U=a-L*(T*G+b*V),z=ft(L*(P*G+E*V));return l.done=Math.abs(z)<=r&&Math.abs(a-U)<=s,l.value=l.done?a:U,l}const D=w(C);if(m)l.done=C>=p;else{const L=ft(j(C));l.done=Math.abs(L)<=r&&Math.abs(a-D)<=s}return l.value=l.done?a:D,l},toString:()=>{const C=Math.min(vh(S),Hl),D=Jb(L=>S.next(C*L).value,C,30);return C+"ms "+D},toTransition:()=>{}};return S}Gl.applyToOptions=e=>{const t=T6(e,100,Gl);return e.ease=t.ease,e.duration=ft(t.duration),e.type="keyframes",e};const L6=5;function e2(e,t,n){const r=Math.max(t-L6,0);return _b(n-e(r),t-r)}function kf({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:s=10,bounceStiffness:o=500,modifyTarget:a,min:l,max:c,restDelta:u=.5,restSpeed:d}){const p=e[0],f={done:!1,value:p},m=E=>l!==void 0&&E<l||c!==void 0&&E>c,v=E=>l===void 0?c:c===void 0||Math.abs(l-E)<Math.abs(c-E)?l:c;let x=n*t;const b=p+x,g=a===void 0?b:a(b);g!==b&&(x=g-p);const y=E=>-x*Math.exp(-E/r),w=E=>g+y(E),j=E=>{const S=y(E),C=w(E);f.done=Math.abs(S)<=u,f.value=f.done?g:C};let k,T;const P=E=>{m(f.value)&&(k=E,T=Gl({keyframes:[f.value,v(f.value)],velocity:e2(w,E,f.value),damping:s,stiffness:o,restDelta:u,restSpeed:d}))};return P(0),{calculatedDuration:null,next:E=>{let S=!1;return!T&&k===void 0&&(S=!0,j(E),P(E)),k!==void 0&&E>=k?T.next(E-k):(!S&&j(E),f)}}}function F6(e,t,n){const r=[],s=n||br.mix||Zb,o=e.length-1;for(let a=0;a<o;a++){let l=s(e[a],e[a+1]);if(t){const c=Array.isArray(t)?t[a]||_t:t;l=Go(c,l)}r.push(l)}return r}function I6(e,t,{clamp:n=!0,ease:r,mixer:s}={}){const o=e.length;if(ai(o===t.length,"Both input and output ranges must be the same length","range-length"),o===1)return()=>t[0];if(o===2&&t[0]===t[1])return()=>t[1];const a=e[0]===e[1];e[0]>e[o-1]&&(e=[...e].reverse(),t=[...t].reverse());const l=F6(t,r,s),c=l.length,u=d=>{if(a&&d<e[0])return t[0];let p=0;if(c>1)for(;p<e.length-2&&!(d<e[p+1]);p++);const f=Ro(e[p],e[p+1],d);return l[p](f)};return n?d=>u(gn(e[0],e[o-1],d)):u}function O6(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const s=Ro(0,t,r);e.push(pe(n,1,s))}}function V6(e){const t=[0];return O6(t,e.length-1),t}function B6(e,t){return e.map(n=>n*t)}function z6(e,t){return e.map(()=>t||$b).splice(0,e.length-1)}function ro({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const s=XT(r)?r.map(rx):rx(r),o={done:!1,value:t[0]},a=B6(n&&n.length===t.length?n:V6(t),e),l=I6(a,t,{ease:Array.isArray(s)?s:z6(t,s)});return{calculatedDuration:e,next:c=>(o.value=l(c),o.done=c>=e,o)}}const $6=e=>e!==null;function Dc(e,{repeat:t,repeatType:n="loop"},r,s=1){const o=e.filter($6),l=s<0||t&&n!=="loop"&&t%2===1?0:o.length-1;return!l||r===void 0?o[l]:r}const W6={decay:kf,inertia:kf,tween:ro,keyframes:ro,spring:Gl};function t2(e){typeof e.type=="string"&&(e.type=W6[e.type])}class wh{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,n){return this.finished.then(t,n)}}const U6=e=>e/100;class Kl extends wh{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{var r,s;const{motionValue:n}=this.options;n&&n.updatedAt!==et.now()&&this.tick(et.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),(s=(r=this.options).onStop)==null||s.call(r))},this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){const{options:t}=this;t2(t);const{type:n=ro,repeat:r=0,repeatDelay:s=0,repeatType:o,velocity:a=0}=t;let{keyframes:l}=t;const c=n||ro;c!==ro&&typeof l[0]!="number"&&(this.mixKeyframes=Go(U6,Zb(l[0],l[1])),l=[0,100]);const u=c({...t,keyframes:l});o==="mirror"&&(this.mirroredGenerator=c({...t,keyframes:[...l].reverse(),velocity:-a})),u.calculatedDuration===null&&(u.calculatedDuration=vh(u));const{calculatedDuration:d}=u;this.calculatedDuration=d,this.resolvedDuration=d+s,this.totalDuration=this.resolvedDuration*(r+1)-s,this.generator=u}updateTime(t){const n=Math.round(t-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=n}tick(t,n=!1){const{generator:r,totalDuration:s,mixKeyframes:o,mirroredGenerator:a,resolvedDuration:l,calculatedDuration:c}=this;if(this.startTime===null)return r.next(0);const{delay:u=0,keyframes:d,repeat:p,repeatType:f,repeatDelay:m,type:v,onUpdate:x,finalKeyframe:b}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-s/this.speed,this.startTime)),n?this.currentTime=t:this.updateTime(t);const g=this.currentTime-u*(this.playbackSpeed>=0?1:-1),y=this.playbackSpeed>=0?g<0:g>s;this.currentTime=Math.max(g,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=s);let w=this.currentTime,j=r;if(p){const E=Math.min(this.currentTime,s)/l;let S=Math.floor(E),C=E%1;!C&&E>=1&&(C=1),C===1&&S--,S=Math.min(S,p+1),!!(S%2)&&(f==="reverse"?(C=1-C,m&&(C-=m/l)):f==="mirror"&&(j=a)),w=gn(0,1,C)*l}let k;y?(this.delayState.value=d[0],k=this.delayState):k=j.next(w),o&&!y&&(k.value=o(k.value));let{done:T}=k;!y&&c!==null&&(T=this.playbackSpeed>=0?this.currentTime>=s:this.currentTime<=0);const P=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&T);return P&&v!==kf&&(k.value=Dc(d,this.options,b,this.speed)),x&&x(k.value),P&&this.finish(),k}then(t,n){return this.finished.then(t,n)}get duration(){return Rt(this.calculatedDuration)}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+Rt(t)}get time(){return Rt(this.currentTime)}set time(t){t=ft(t),this.currentTime=t,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=t,this.tick(t))}getGeneratorVelocity(){const t=this.currentTime;if(t<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(t);const n=this.generator.next(t).value;return e2(r=>this.generator.next(r).value,t,n)}get speed(){return this.playbackSpeed}set speed(t){const n=this.playbackSpeed!==t;n&&this.driver&&this.updateTime(et.now()),this.playbackSpeed=t,n&&this.driver&&(this.time=Rt(this.currentTime))}play(){var s,o;if(this.isStopped)return;const{driver:t=C6,startTime:n}=this.options;this.driver||(this.driver=t(a=>this.tick(a))),(o=(s=this.options).onPlay)==null||o.call(s);const r=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=r):this.holdTime!==null?this.startTime=r-this.holdTime:this.startTime||(this.startTime=n??r),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(et.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){var t,n;this.notifyFinished(),this.teardown(),this.state="finished",(n=(t=this.options).onComplete)==null||n.call(t)}cancel(){var t,n;this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),(n=(t=this.options).onCancel)==null||n.call(t)}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){var n;return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),(n=this.driver)==null||n.stop(),t.observe(this)}}function H6(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}const zr=e=>e*180/Math.PI,Nf=e=>{const t=zr(Math.atan2(e[1],e[0]));return Sf(t)},G6={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:Nf,rotateZ:Nf,skewX:e=>zr(Math.atan(e[1])),skewY:e=>zr(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},Sf=e=>(e=e%360,e<0&&(e+=360),e),dx=Nf,fx=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),px=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),K6={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:fx,scaleY:px,scale:e=>(fx(e)+px(e))/2,rotateX:e=>Sf(zr(Math.atan2(e[6],e[5]))),rotateY:e=>Sf(zr(Math.atan2(-e[2],e[0]))),rotateZ:dx,rotate:dx,skewX:e=>zr(Math.atan(e[4])),skewY:e=>zr(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function Ef(e){return e.includes("scale")?1:0}function Cf(e,t){if(!e||e==="none")return Ef(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let r,s;if(n)r=K6,s=n;else{const l=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=G6,s=l}if(!s)return Ef(t);const o=r[t],a=s[1].split(",").map(Q6);return typeof o=="function"?o(a):a[o]}const Y6=(e,t)=>{const{transform:n="none"}=getComputedStyle(e);return Cf(n,t)};function Q6(e){return parseFloat(e.trim())}const wi=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],bi=new Set(wi),hx=e=>e===vi||e===H,X6=new Set(["x","y","z"]),q6=wi.filter(e=>!X6.has(e));function Z6(e){const t=[];return q6.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}const sr={width:({x:e},{paddingLeft:t="0",paddingRight:n="0",boxSizing:r})=>{const s=e.max-e.min;return r==="border-box"?s:s-parseFloat(t)-parseFloat(n)},height:({y:e},{paddingTop:t="0",paddingBottom:n="0",boxSizing:r})=>{const s=e.max-e.min;return r==="border-box"?s:s-parseFloat(t)-parseFloat(n)},top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>Cf(t,"x"),y:(e,{transform:t})=>Cf(t,"y")};sr.translateX=sr.x;sr.translateY=sr.y;const Yr=new Set;let Tf=!1,Pf=!1,Af=!1;function n2(){if(Pf){const e=Array.from(Yr).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{const s=Z6(r);s.length&&(n.set(r,s),r.render())}),e.forEach(r=>r.measureInitialState()),t.forEach(r=>{r.render();const s=n.get(r);s&&s.forEach(([o,a])=>{var l;(l=r.getValue(o))==null||l.set(a)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}Pf=!1,Tf=!1,Yr.forEach(e=>e.complete(Af)),Yr.clear()}function r2(){Yr.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Pf=!0)})}function J6(){Af=!0,r2(),n2(),Af=!1}class bh{constructor(t,n,r,s,o,a=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=r,this.motionValue=s,this.element=o,this.isAsync=a}scheduleResolve(){this.state="scheduled",this.isAsync?(Yr.add(this),Tf||(Tf=!0,ae.read(r2),ae.resolveKeyframes(n2))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:r,motionValue:s}=this;if(t[0]===null){const o=s==null?void 0:s.get(),a=t[t.length-1];if(o!==void 0)t[0]=o;else if(r&&n){const l=r.readValue(n,a);l!=null&&(t[0]=l)}t[0]===void 0&&(t[0]=a),s&&o===void 0&&s.set(t[0])}H6(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),Yr.delete(this)}cancel(){this.state==="scheduled"&&(Yr.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const eP=e=>e.startsWith("--");function s2(e,t,n){eP(t)?e.style.setProperty(t,n):e.style[t]=n}const tP={};function i2(e,t){const n=Mb(e);return()=>tP[t]??n()}const nP=i2(()=>window.ScrollTimeline!==void 0,"scrollTimeline"),o2=i2(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),$i=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,mx={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:$i([0,.65,.55,1]),circOut:$i([.55,0,1,.45]),backIn:$i([.31,.01,.66,-.59]),backOut:$i([.33,1.53,.69,.99])};function a2(e,t){if(e)return typeof e=="function"?o2()?Jb(e,t):"ease-out":Wb(e)?$i(e):Array.isArray(e)?e.map(n=>a2(n,t)||mx.easeOut):mx[e]}function rP(e,t,n,{delay:r=0,duration:s=300,repeat:o=0,repeatType:a="loop",ease:l="easeOut",times:c}={},u=void 0){const d={[t]:n};c&&(d.offset=c);const p=a2(l,s);Array.isArray(p)&&(d.easing=p);const f={delay:r,duration:s,easing:Array.isArray(p)?"linear":p,fill:"both",iterations:o+1,direction:a==="reverse"?"alternate":"normal"};return u&&(f.pseudoElement=u),e.animate(d,f)}function l2(e){return typeof e=="function"&&"applyToOptions"in e}function sP({type:e,...t}){return l2(e)&&o2()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class c2 extends wh{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;const{element:n,name:r,keyframes:s,pseudoElement:o,allowFlatten:a=!1,finalKeyframe:l,onComplete:c}=t;this.isPseudoElement=!!o,this.allowFlatten=a,this.options=t,ai(typeof t.type!="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");const u=sP(t);this.animation=rP(n,r,s,u,o),u.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!o){const d=Dc(s,this.options,l,this.speed);this.updateMotionValue&&this.updateMotionValue(d),s2(n,r,d),this.animation.cancel()}c==null||c(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){var t,n;(n=(t=this.animation).finish)==null||n.call(t)}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:t}=this;t==="idle"||t==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){var n,r,s;const t=(n=this.options)==null?void 0:n.element;!this.isPseudoElement&&(t!=null&&t.isConnected)&&((s=(r=this.animation).commitStyles)==null||s.call(r))}get duration(){var n,r;const t=((r=(n=this.animation.effect)==null?void 0:n.getComputedTiming)==null?void 0:r.call(n).duration)||0;return Rt(Number(t))}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+Rt(t)}get time(){return Rt(Number(this.animation.currentTime)||0)}set time(t){const n=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=ft(t),n&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(t){this.manualStartTime=this.animation.startTime=t}attachTimeline({timeline:t,rangeStart:n,rangeEnd:r,observe:s}){var o;return this.allowFlatten&&((o=this.animation.effect)==null||o.updateTiming({easing:"linear"})),this.animation.onfinish=null,t&&nP()?(this.animation.timeline=t,n&&(this.animation.rangeStart=n),r&&(this.animation.rangeEnd=r),_t):s(this)}}const u2={anticipate:Vb,backInOut:Ob,circInOut:zb};function iP(e){return e in u2}function oP(e){typeof e.ease=="string"&&iP(e.ease)&&(e.ease=u2[e.ease])}const Iu=10;class aP extends c2{constructor(t){oP(t),t2(t),super(t),t.startTime!==void 0&&t.autoplay!==!1&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){const{motionValue:n,onUpdate:r,onComplete:s,element:o,...a}=this.options;if(!n)return;if(t!==void 0){n.set(t);return}const l=new Kl({...a,autoplay:!1}),c=Math.max(Iu,et.now()-this.startTime),u=gn(0,Iu,c-Iu),d=l.sample(c).value,{name:p}=this.options;o&&p&&s2(o,p,d),n.setWithVelocity(l.sample(Math.max(0,c-u)).value,d,u),l.stop()}}const xx=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(Kt.test(e)||e==="0")&&!e.startsWith("url("));function lP(e){const t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function cP(e,t,n,r){const s=e[0];if(s===null)return!1;if(t==="display"||t==="visibility")return!0;const o=e[e.length-1],a=xx(s,t),l=xx(o,t);return _c(a===l,`You are trying to animate ${t} from "${s}" to "${o}". "${a?o:s}" is not an animatable value.`,"value-not-animatable"),!a||!l?!1:lP(e)||(n==="spring"||l2(n))&&r}function Rf(e){e.duration=0,e.type="keyframes"}const d2=new Set(["opacity","clipPath","filter","transform"]),uP=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function dP(e){for(let t=0;t<e.length;
327t++)if(typeof e[t]=="string"&&uP.test(e[t]))return!0;return!1}const fP=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),pP=Mb(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function hP(e){var p;const{motionValue:t,name:n,repeatDelay:r,repeatType:s,damping:o,type:a,keyframes:l}=e;if(!(((p=t==null?void 0:t.owner)==null?void 0:p.current)instanceof HTMLElement))return!1;const{onUpdate:u,transformTemplate:d}=t.owner.getProps();return pP()&&n&&(d2.has(n)||fP.has(n)&&dP(l))&&(n!=="transform"||!d)&&!u&&!r&&s!=="mirror"&&o!==0&&a!=="inertia"}const mP=40;class xP extends wh{constructor({autoplay:t=!0,delay:n=0,type:r="keyframes",repeat:s=0,repeatDelay:o=0,repeatType:a="loop",keyframes:l,name:c,motionValue:u,element:d,...p}){var v;super(),this.stop=()=>{var x,b;this._animation&&(this._animation.stop(),(x=this.stopTimeline)==null||x.call(this)),(b=this.keyframeResolver)==null||b.cancel()},this.createdAt=et.now();const f={autoplay:t,delay:n,type:r,repeat:s,repeatDelay:o,repeatType:a,name:c,motionValue:u,element:d,...p},m=(d==null?void 0:d.KeyframeResolver)||bh;this.keyframeResolver=new m(l,(x,b,g)=>this.onKeyframesResolved(x,b,f,!g),c,u,d),(v=this.keyframeResolver)==null||v.scheduleResolve()}onKeyframesResolved(t,n,r,s){var g,y;this.keyframeResolver=void 0;const{name:o,type:a,velocity:l,delay:c,isHandoff:u,onUpdate:d}=r;this.resolvedAt=et.now();let p=!0;cP(t,o,a,l)||(p=!1,(br.instantAnimations||!c)&&(d==null||d(Dc(t,r,n))),t[0]=t[t.length-1],Rf(r),r.repeat=0);const m={startTime:s?this.resolvedAt?this.resolvedAt-this.createdAt>mP?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...r,keyframes:t},v=p&&!u&&hP(m),x=(y=(g=m.motionValue)==null?void 0:g.owner)==null?void 0:y.current;let b;if(v)try{b=new aP({...m,element:x})}catch{b=new Kl(m)}else b=new Kl(m);b.finished.then(()=>{this.notifyFinished()}).catch(_t),this.pendingTimeline&&(this.stopTimeline=b.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=b}get finished(){return this._animation?this.animation.finished:this._finished}then(t,n){return this.finished.finally(t).then(()=>{})}get animation(){var t;return this._animation||((t=this.keyframeResolver)==null||t.resume(),J6()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){var t;this._animation&&this.animation.cancel(),(t=this.keyframeResolver)==null||t.cancel()}}function f2(e,t,n,r=0,s=1){const o=Array.from(e).sort((u,d)=>u.sortNodePosition(d)).indexOf(t),a=e.size,l=(a-1)*r;return typeof n=="function"?n(o,a):s===1?o*r:l-o*r}const gP=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function yP(e){const t=gP.exec(e);if(!t)return[,];const[,n,r,s]=t;return[`--${n??r}`,s]}const vP=4;function p2(e,t,n=1){ai(n<=vP,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");const[r,s]=yP(e);if(!r)return;const o=window.getComputedStyle(t).getPropertyValue(r);if(o){const a=o.trim();return Pb(a)?parseFloat(a):a}return mh(s)?p2(s,t,n+1):s}const wP={type:"spring",stiffness:500,damping:25,restSpeed:10},bP=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),jP={type:"keyframes",duration:.8},kP={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},NP=(e,{keyframes:t})=>t.length>2?jP:bi.has(e)?e.startsWith("scale")?bP(t[1]):wP:kP;function h2(e,t){if(e!=null&&e.inherit&&t){const{inherit:n,...r}=e;return{...t,...r}}return e}function jh(e,t){const n=(e==null?void 0:e[t])??(e==null?void 0:e.default)??e;return n!==e?h2(n,e):n}const SP=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);function EP(e){for(const t in e)if(!SP.has(t))return!0;return!1}const kh=(e,t,n,r={},s,o)=>a=>{const l=jh(r,e)||{},c=l.delay||r.delay||0;let{elapsed:u=0}=r;u=u-ft(c);const d={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...l,delay:-u,onUpdate:f=>{t.set(f),l.onUpdate&&l.onUpdate(f)},onComplete:()=>{a(),l.onComplete&&l.onComplete()},name:e,motionValue:t,element:o?void 0:s};EP(l)||Object.assign(d,NP(e,d)),d.duration&&(d.duration=ft(d.duration)),d.repeatDelay&&(d.repeatDelay=ft(d.repeatDelay)),d.from!==void 0&&(d.keyframes[0]=d.from);let p=!1;if((d.type===!1||d.duration===0&&!d.repeatDelay)&&(Rf(d),d.delay===0&&(p=!0)),(br.instantAnimations||br.skipAnimations||s!=null&&s.shouldSkipAnimations)&&(p=!0,Rf(d),d.delay=0),d.allowFlatten=!l.type&&!l.ease,p&&!o&&t.get()!==void 0){const f=Dc(d.keyframes,l);if(f!==void 0){ae.update(()=>{d.onUpdate(f),d.onComplete()});return}}
vendor: 39,591 bytes, line 327
327return l.isSync?new Kl(d):new xP(d)};function gx(e){const t=[{},{}];return e==null||e.values.forEach((n,r)=>{t[0][r]=n.get(),t[1][r]=n.getVelocity()}),t}function Nh(e,t,n,r){if(typeof t=="function"){const[s,o]=gx(r);t=t(n!==void 0?n:e.custom,s,o)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[s,o]=gx(r);t=t(n!==void 0?n:e.custom,s,o)}return t}function Qr(e,t,n){const r=e.getProps();return Nh(r,t,n!==void 0?n:r.custom,e)}const m2=new Set(["width","height","top","left","right","bottom",...wi]),yx=30,CP=e=>!isNaN(parseFloat(e));class TP{constructor(t,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=r=>{var o;const s=et.now();if(this.updatedAt!==s&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&((o=this.events.change)==null||o.notify(this.current),this.dependents))for(const a of this.dependents)a.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=et.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=CP(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new fh);const r=this.events[t].add(n);return t==="change"?()=>{r(),ae.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,n,r){this.set(n),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-r}jump(t,n=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){var t;(t=this.events.change)==null||t.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const t=et.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>yx)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,yx);return _b(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){var t,n;(t=this.dependents)==null||t.clear(),(n=this.events.destroy)==null||n.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function ci(e,t){return new TP(e,t)}const Mf=e=>Array.isArray(e);function PP(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,ci(n))}function AP(e){return Mf(e)?e[e.length-1]||0:e}function RP(e,t){const n=Qr(e,t);let{transitionEnd:r={},transition:s={},...o}=n||{};o={...o,...r};for(const a in o){const l=AP(o[a]);PP(e,a,l)}}const Be=e=>!!(e&&e.getVelocity);function MP(e){return!!(Be(e)&&e.add)}function _f(e,t){const n=e.getValue("willChange");if(MP(n))return n.add(t);if(!n&&br.WillChange){const r=new br.WillChange("auto");e.addValue("willChange",r),r.add(t)}}function Sh(e){return e.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}const _P="framerAppearId",x2="data-"+Sh(_P);function g2(e){return e.props[x2]}function DP({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function y2(e,t,{delay:n=0,transitionOverride:r,type:s}={}){let{transition:o,transitionEnd:a,...l}=t;const c=e.getDefaultTransition();o=o?h2(o,c):c;const u=o==null?void 0:o.reduceMotion;r&&(o=r);const d=[],p=s&&e.animationState&&e.animationState.getState()[s];for(const f in l){const m=e.getValue(f,e.latestValues[f]??null),v=l[f];if(v===void 0||p&&DP(p,f))continue;const x={delay:n,...jh(o||{},f)},b=m.get();if(b!==void 0&&!m.isAnimating()&&!Array.isArray(v)&&v===b&&!x.velocity){ae.update(()=>m.set(v));continue}let g=!1;if(window.MotionHandoffAnimation){const j=g2(e);if(j){const k=window.MotionHandoffAnimation(j,f,ae);k!==null&&(x.startTime=k,g=!0)}}_f(e,f);const y=u??e.shouldReduceMotion;m.start(kh(f,m,v,y&&m2.has(f)?{type:!1}:x,e,g));const w=m.animation;w&&d.push(w)}if(a){const f=()=>ae.update(()=>{a&&RP(e,a)});d.length?Promise.all(d).then(f):f()}return d}function Df(e,t,n={}){var c;const r=Qr(e,t,n.type==="exit"?(c=e.presenceContext)==null?void 0:c.custom:void 0);let{transition:s=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(s=n.transitionOverride);const o=r?()=>Promise.all(y2(e,r,n)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(u=0)=>{const{delayChildren:d=0,staggerChildren:p,staggerDirection:f}=s;return LP(e,t,u,d,p,f,n)}:()=>Promise.resolve(),{when:l}=s;if(l){const[u,d]=l==="beforeChildren"?[o,a]:[a,o];return u().then(()=>d())}else return Promise.all([o(),a(n.delay)])}function LP(e,t,n=0,r=0,s=0,o=1,a){const l=[];for(const c of e.variantChildren)c.notify("AnimationStart",t),l.push(Df(c,t,{...a,delay:n+(typeof r=="function"?0:r)+f2(e.variantChildren,c,r,s,o)}).then(()=>c.notify("AnimationComplete",t)));return Promise.all(l)}function FP(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const s=t.map(o=>Df(e,o,n));r=Promise.all(s)}else if(typeof t=="string")r=Df(e,t,n);else{const s=typeof t=="function"?Qr(e,t,n.custom):t;r=Promise.all(y2(e,s,n))}return r.then(()=>{e.notify("AnimationComplete",t)})}const IP={test:e=>e==="auto",parse:e=>e},v2=e=>t=>t.test(e),w2=[vi,H,mn,Un,l6,a6,IP],vx=e=>w2.find(v2(e));function OP(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||Rb(e):!0}const VP=new Set(["brightness","contrast","saturate","opacity"]);function BP(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(xh)||[];if(!r)return e;const s=n.replace(r,"");let o=VP.has(t)?1:0;return r!==n&&(o*=100),t+"("+o+s+")"}const zP=/\b([a-z-]*)\(.*?\)/gu,Lf={...Kt,getAnimatableNone:e=>{const t=e.match(zP);return t?t.map(BP).join(" "):e}},Ff={...Kt,getAnimatableNone:e=>{const t=Kt.parse(e);return Kt.createTransformer(e)(t.map(r=>typeof r=="number"?0:typeof r=="object"?{...r,alpha:1}:r))}},wx={...vi,transform:Math.round},$P={rotate:Un,rotateX:Un,rotateY:Un,rotateZ:Un,scale:Ca,scaleX:Ca,scaleY:Ca,scaleZ:Ca,skew:Un,skewX:Un,skewY:Un,distance:H,translateX:H,translateY:H,translateZ:H,x:H,y:H,z:H,perspective:H,transformPerspective:H,opacity:Mo,originX:ox,originY:ox,originZ:H},Eh={borderWidth:H,borderTopWidth:H,borderRightWidth:H,borderBottomWidth:H,borderLeftWidth:H,borderRadius:H,borderTopLeftRadius:H,borderTopRightRadius:H,borderBottomRightRadius:H,borderBottomLeftRadius:H,width:H,maxWidth:H,height:H,maxHeight:H,top:H,right:H,bottom:H,left:H,inset:H,insetBlock:H,insetBlockStart:H,insetBlockEnd:H,insetInline:H,insetInlineStart:H,insetInlineEnd:H,padding:H,paddingTop:H,paddingRight:H,paddingBottom:H,paddingLeft:H,paddingBlock:H,paddingBlockStart:H,paddingBlockEnd:H,paddingInline:H,paddingInlineStart:H,paddingInlineEnd:H,margin:H,marginTop:H,marginRight:H,marginBottom:H,marginLeft:H,marginBlock:H,marginBlockStart:H,marginBlockEnd:H,marginInline:H,marginInlineStart:H,marginInlineEnd:H,fontSize:H,backgroundPositionX:H,backgroundPositionY:H,...$P,zIndex:wx,fillOpacity:Mo,strokeOpacity:Mo,numOctaves:wx},WP={...Eh,color:Ce,backgroundColor:Ce,outlineColor:Ce,fill:Ce,stroke:Ce,borderColor:Ce,borderTopColor:Ce,borderRightColor:Ce,borderBottomColor:Ce,borderLeftColor:Ce,filter:Lf,WebkitFilter:Lf,mask:Ff,WebkitMask:Ff},b2=e=>WP[e],UP=new Set([Lf,Ff]);function j2(e,t){let n=b2(e);return UP.has(n)||(n=Kt),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const HP=new Set(["auto","none","0"]);function GP(e,t,n){let r=0,s;for(;r<e.length&&!s;){const o=e[r];typeof o=="string"&&!HP.has(o)&&li(o).values.length&&(s=e[r]),r++}if(s&&n)for(const o of t)e[o]=j2(n,s)}class KP extends bh{constructor(t,n,r,s,o){super(t,n,r,s,o,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:r}=this;if(!n||!n.current)return;super.readKeyframes();for(let d=0;d<t.length;d++){let p=t[d];if(typeof p=="string"&&(p=p.trim(),mh(p))){const f=p2(p,n.current);f!==void 0&&(t[d]=f),d===t.length-1&&(this.finalKeyframe=p)}}if(this.resolveNoneKeyframes(),!m2.has(r)||t.length!==2)return;const[s,o]=t,a=vx(s),l=vx(o),c=ix(s),u=ix(o);if(c!==u&&sr[r]){this.needsMeasurement=!0;return}if(a!==l)if(hx(a)&&hx(l))for(let d=0;d<t.length;d++){const p=t[d];typeof p=="string"&&(t[d]=parseFloat(p))}else sr[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,r=[];for(let s=0;s<t.length;s++)(t[s]===null||OP(t[s]))&&r.push(s);r.length&&GP(t,r,n)}measureInitialState(){const{element:t,unresolvedKeyframes:n,name:r}=this;if(!t||!t.current)return;r==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=sr[r](t.measureViewportBox(),window.getComputedStyle(t.current)),n[0]=this.measuredOrigin;const s=n[n.length-1];s!==void 0&&t.getValue(r,s).jump(s,!1)}measureEndState(){var l;const{element:t,name:n,unresolvedKeyframes:r}=this;if(!t||!t.current)return;const s=t.getValue(n);s&&s.jump(this.measuredOrigin,!1);const o=r.length-1,a=r[o];r[o]=sr[n](t.measureViewportBox(),window.getComputedStyle(t.current)),a!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=a),(l=this.removedTransforms)!=null&&l.length&&this.removedTransforms.forEach(([c,u])=>{t.getValue(c).set(u)}),this.resolveNoneKeyframes()}}function Ch(e,t,n){if(e==null)return[];if(e instanceof EventTarget)return[e];if(typeof e=="string"){const s=document.querySelectorAll(e);return s?Array.from(s):[]}return Array.from(e).filter(r=>r!=null)}const k2=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function rl(e){return Ab(e)&&"offsetHeight"in e&&!("ownerSVGElement"in e)}const{schedule:Th,cancel:rD}=Ub(queueMicrotask,!1),Vt={x:!1,y:!1};function N2(){return Vt.x||Vt.y}function YP(e){return e==="x"||e==="y"?Vt[e]?null:(Vt[e]=!0,()=>{Vt[e]=!1}):Vt.x||Vt.y?null:(Vt.x=Vt.y=!0,()=>{Vt.x=Vt.y=!1})}function S2(e,t){const n=Ch(e),r=new AbortController,s={passive:!0,...t,signal:r.signal};return[n,s,()=>r.abort()]}function QP(e){return!(e.pointerType==="touch"||N2())}function XP(e,t,n={}){const[r,s,o]=S2(e,n);return r.forEach(a=>{let l=!1,c=!1,u;const d=()=>{a.removeEventListener("pointerleave",v)},p=b=>{u&&(u(b),u=void 0),d()},f=b=>{l=!1,window.removeEventListener("pointerup",f),window.removeEventListener("pointercancel",f),c&&(c=!1,p(b))},m=()=>{l=!0,window.addEventListener("pointerup",f,s),window.addEventListener("pointercancel",f,s)},v=b=>{if(b.pointerType!=="touch"){if(l){c=!0;return}p(b)}},x=b=>{if(!QP(b))return;c=!1;const g=t(a,b);typeof g=="function"&&(u=g,a.addEventListener("pointerleave",v,s))};a.addEventListener("pointerenter",x,s),a.addEventListener("pointerdown",m,s)}),o}const E2=(e,t)=>t?e===t?!0:E2(e,t.parentElement):!1,Ph=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,qP=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function ZP(e){return qP.has(e.tagName)||e.isContentEditable===!0}const JP=new Set(["INPUT","SELECT","TEXTAREA"]);function eA(e){return JP.has(e.tagName)||e.isContentEditable===!0}const sl=new WeakSet;function bx(e){return t=>{t.key==="Enter"&&e(t)}}function Ou(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const tA=(e,t)=>{const n=e.currentTarget;if(!n)return;const r=bx(()=>{if(sl.has(n))return;Ou(n,"down");const s=bx(()=>{Ou(n,"up")}),o=()=>Ou(n,"cancel");n.addEventListener("keyup",s,t),n.addEventListener("blur",o,t)});n.addEventListener("keydown",r,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",r),t)};function jx(e){return Ph(e)&&!N2()}const kx=new WeakSet;function nA(e,t,n={}){const[r,s,o]=S2(e,n),a=l=>{const c=l.currentTarget;if(!jx(l)||kx.has(l))return;sl.add(c),n.stopPropagation&&kx.add(l);const u=t(c,l),d=(m,v)=>{window.removeEventListener("pointerup",p),window.removeEventListener("pointercancel",f),sl.has(c)&&sl.delete(c),jx(m)&&typeof u=="function"&&u(m,{success:v})},p=m=>{d(m,c===window||c===document||n.useGlobalTarget||E2(c,m.target))},f=m=>{d(m,!1)};window.addEventListener("pointerup",p,s),window.addEventListener("pointercancel",f,s)};return r.forEach(l=>{(n.useGlobalTarget?window:l).addEventListener("pointerdown",a,s),rl(l)&&(l.addEventListener("focus",u=>tA(u,s)),!ZP(l)&&!l.hasAttribute("tabindex")&&(l.tabIndex=0))}),o}function Ah(e){return Ab(e)&&"ownerSVGElement"in e}const il=new WeakMap;let Hn;const C2=(e,t,n)=>(r,s)=>s&&s[0]?s[0][e+"Size"]:Ah(r)&&"getBBox"in r?r.getBBox()[t]:r[n],rA=C2("inline","width","offsetWidth"),sA=C2("block","height","offsetHeight");function iA({target:e,borderBoxSize:t}){var n;(n=il.get(e))==null||n.forEach(r=>{r(e,{get width(){return rA(e,t)},get height(){return sA(e,t)}})})}function oA(e){e.forEach(iA)}function aA(){typeof ResizeObserver>"u"||(Hn=new ResizeObserver(oA))}function lA(e,t){Hn||aA();const n=Ch(e);return n.forEach(r=>{let s=il.get(r);s||(s=new Set,il.set(r,s)),s.add(t),Hn==null||Hn.observe(r)}),()=>{n.forEach(r=>{const s=il.get(r);s==null||s.delete(t),s!=null&&s.size||Hn==null||Hn.unobserve(r)})}}const ol=new Set;let Rs;function cA(){Rs=()=>{const e={get width(){return window.innerWidth},get height(){return window.innerHeight}};ol.forEach(t=>t(e))},window.addEventListener("resize",Rs)}function uA(e){return ol.add(e),Rs||cA(),()=>{ol.delete(e),!ol.size&&typeof Rs=="function"&&(window.removeEventListener("resize",Rs),Rs=void 0)}}function Nx(e,t){return typeof e=="function"?uA(e):lA(e,t)}function dA(e){return Ah(e)&&e.tagName==="svg"}const fA=[...w2,Ce,Kt],pA=e=>fA.find(v2(e)),Sx=()=>({translate:0,scale:1,origin:0,originPoint:0}),Ms=()=>({x:Sx(),y:Sx()}),Ex=()=>({min:0,max:0}),Re=()=>({x:Ex(),y:Ex()}),hA=new WeakMap;function Lc(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function _o(e){return typeof e=="string"||Array.isArray(e)}const Rh=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Mh=["initial",...Rh];function Fc(e){return Lc(e.animate)||Mh.some(t=>_o(e[t]))}function T2(e){return!!(Fc(e)||e.variants)}function mA(e,t,n){for(const r in t){const s=t[r],o=n[r];if(Be(s))e.addValue(r,s);else if(Be(o))e.addValue(r,ci(s,{owner:e}));else if(o!==s)if(e.hasValue(r)){const a=e.getValue(r);a.liveStyle===!0?a.jump(s):a.hasAnimated||a.set(s)}else{const a=e.getStaticValue(r);e.addValue(r,ci(a!==void 0?a:s,{owner:e}))}}for(const r in n)t[r]===void 0&&e.removeValue(r);return t}const Yl={current:null},_h={current:!1},xA=typeof window<"u";function P2(){if(_h.current=!0,!!xA)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Yl.current=e.matches;e.addEventListener("change",t),t()}else Yl.current=!1}const Cx=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let Ql={};function A2(e){Ql=e}function gA(){return Ql}class yA{scrapeMotionValuesFromProps(t,n,r){return{}}constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:s,skipAnimations:o,blockInitialAnimation:a,visualState:l},c={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=bh,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const m=et.now();this.renderScheduledAt<m&&(this.renderScheduledAt=m,ae.render(this.render,!1,!0))};const{latestValues:u,renderState:d}=l;this.latestValues=u,this.baseTarget={...u},this.initialValues=n.initial?{...u}:{},this.renderState=d,this.parent=t,this.props=n,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=s,this.skipAnimationsConfig=o,this.options=c,this.blockInitialAnimation=!!a,this.isControllingVariants=Fc(n),this.isVariantNode=T2(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:p,...f}=this.scrapeMotionValuesFromProps(n,{},this);for(const m in f){const v=f[m];u[m]!==void 0&&Be(v)&&v.set(u[m])}}mount(t){var n,r;if(this.hasBeenMounted)for(const s in this.initialValues)(n=this.values.get(s))==null||n.jump(this.initialValues[s]),this.latestValues[s]=this.initialValues[s];this.current=t,hA.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((s,o)=>this.bindToMotionValue(o,s)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(_h.current||P2(),this.shouldReduceMotion=Yl.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,(r=this.parent)==null||r.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){var t;this.projection&&this.projection.unmount(),jr(this.notifyUpdate),jr(this.render),this.valueSubscriptions.forEach(n=>n()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),(t=this.parent)==null||t.removeChild(this);for(const n in this.events)this.events[n].clear();for(const n in this.features){const r=this.features[n];r&&(r.unmount(),r.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,n){if(this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)(),n.accelerate&&d2.has(t)&&this.current instanceof HTMLElement){const{factory:a,keyframes:l,times:c,ease:u,duration:d}=n.accelerate,p=new c2({element:this.current,name:t,keyframes:l,times:c,ease:u,duration:ft(d)}),f=a(p);this.valueSubscriptions.set(t,()=>{f(),p.cancel()});return}const r=bi.has(t);r&&this.onBindTransform&&this.onBindTransform();const s=n.on("change",a=>{this.latestValues[t]=a,this.props.onUpdate&&ae.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let o;typeof window<"u"&&window.MotionCheckAppearSync&&(o=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{s(),o&&o(),n.owner&&n.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 Ql){const n=Ql[t];if(!n)continue;const{isEnabled:r,Feature:s}=n;if(!this.features[t]&&s&&r(this.props)&&(this.features[t]=new s(this)),this.features[t]){const o=this.features[t];o.isMounted?o.update():(o.mount(),o.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Re()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let r=0;r<Cx.length;r++){const s=Cx[r];this.propEventSubscriptions[s]&&(this.propEventSubscriptions[s](),delete this.propEventSubscriptions[s]);const o="on"+s,a=t[o];a&&(this.propEventSubscriptions[s]=this.on(s,a))}this.prevMotionValues=mA(this,this.scrapeMotionValuesFromProps(t,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(t),()=>n.variantChildren.delete(t)}addValue(t,n){const r=this.values.get(t);n!==r&&(r&&this.removeValue(t),this.bindToMotionValue(t,n),this.values.set(t,n),this.latestValues[t]=n.get())}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return r===void 0&&n!==void 0&&(r=ci(n===null?void 0:n,{owner:this}),this.addValue(t,r)),r}readValue(t,n){let r=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options);return r!=null&&(typeof r=="string"&&(Pb(r)||Rb(r))?r=parseFloat(r):!pA(r)&&Kt.test(n)&&(r=j2(t,n)),this.setBaseTarget(t,Be(r)?r.get():r)),Be(r)?r.get():r}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var o;const{initial:n}=this.props;let r;if(typeof n=="string"||typeof n=="object"){const a=Nh(this.props,n,(o=this.presenceContext)==null?void 0:o.custom);a&&(r=a[t])}if(n&&r!==void 0)return r;const s=this.getBaseTargetFromProps(this.props,t);return s!==void 0&&!Be(s)?s:this.initialValues[t]!==void 0&&r===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new fh),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}scheduleRenderMicrotask(){Th.render(this.render)}}class R2 extends yA{constructor(){super(...arguments),this.KeyframeResolver=KP}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){const r=t.style;return r?r[n]:void 0}removeValueFromRenderState(t,{vars:n,style:r}){delete n[t],delete r[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;Be(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}class Cr{constructor(t){this.isMounted=!1,this.node=t}update(){}}function M2({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function vA({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function wA(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function Vu(e){return e===void 0||e===1}function If({scale:e,scaleX:t,scaleY:n}){return!Vu(e)||!Vu(t)||!Vu(n)}function Lr(e){return If(e)||_2(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function _2(e){return Tx(e.x)||Tx(e.y)}function Tx(e){return e&&e!=="0%"}function Xl(e,t,n){const r=e-n,s=t*r;return n+s}function Px(e,t,n,r,s){return s!==void 0&&(e=Xl(e,s,r)),Xl(e,n,r)+t}function Of(e,t=0,n=1,r,s){e.min=Px(e.min,t,n,r,s),e.max=Px(e.max,t,n,r,s)}function D2(e,{x:t,y:n}){Of(e.x,t.translate,t.scale,t.originPoint),Of(e.y,n.translate,n.scale,n.originPoint)}const Ax=.999999999999,Rx=1.0000000000001;function bA(e,t,n,r=!1){var l;const s=n.length;if(!s)return;t.x=t.y=1;let o,a;for(let c=0;c<s;c++){o=n[c],a=o.projectionDelta;const{visualElement:u}=o.options;u&&u.props.style&&u.props.style.display==="contents"||(r&&o.options.layoutScroll&&o.scroll&&o!==o.root&&(un(e.x,-o.scroll.offset.x),un(e.y,-o.scroll.offset.y)),a&&(t.x*=a.x.scale,t.y*=a.y.scale,D2(e,a)),r&&Lr(o.latestValues)&&al(e,o.latestValues,(l=o.layout)==null?void 0:l.layoutBox))}t.x<Rx&&t.x>Ax&&(t.x=1),t.y<Rx&&t.y>Ax&&(t.y=1)}function un(e,t){e.min+=t,e.max+=t}function Mx(e,t,n,r,s=.5){const o=pe(e.min,e.max,s);Of(e,t,n,o,r)}function _x(e,t){return typeof e=="string"?parseFloat(e)/100*(t.max-t.min):e}function al(e,t,n){const r=n??e;Mx(e.x,_x(t.x,r.x),t.scaleX,t.scale,t.originX),Mx(e.y,_x(t.y,r.y),t.scaleY,t.scale,t.originY)}function L2(e,t){return M2(wA(e.getBoundingClientRect(),t))}function jA(e,t,n){const r=L2(e,n),{scroll:s}=t;return s&&(un(r.x,s.offset.x),un(r.y,s.offset.y)),r}const kA={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},NA=wi.length;function SA(e,t,n){let r="",s=!0;for(let o=0;o<NA;o++){const a=wi[o],l=e[a];if(l===void 0)continue;let c=!0;if(typeof l=="number")c=l===(a.startsWith("scale")?1:0);else{const u=parseFloat(l);c=a.startsWith("scale")?u===1:u===0}if(!c||n){const u=k2(l,Eh[a]);if(!c){s=!1;const d=kA[a]||a;r+=`${d}(${u}) `}n&&(t[a]=u)}}return r=r.trim(),n?r=n(t,s?"":r):s&&(r="none"),r}function Dh(e,t,n){const{style:r,vars:s,transformOrigin:o}=e;let a=!1,l=!1;for(const c in t){const u=t[c];if(bi.has(c)){a=!0;continue}else if(Gb(c)){s[c]=u;continue}else{const d=k2(u,Eh[c]);c.startsWith("origin")?(l=!0,o[c]=d):r[c]=d}}if(t.transform||(a||n?r.transform=SA(t,e.transform,n):r.transform&&(r.transform="none")),l){const{originX:c="50%",originY:u="50%",originZ:d=0}=o;r.transformOrigin=`${c} ${u} ${d}`}}function F2(e,{style:t,vars:n},r,s){const o=e.style;let a;for(a in t)o[a]=t[a];s==null||s.applyProjectionStyles(o,r);for(a in n)o.setProperty(a,n[a])}function Dx(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Mi={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(H.test(e))e=parseFloat(e);else return e;const n=Dx(e,t.target.x),r=Dx(e,t.target.y);return`${n}% ${r}%`}},EA={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,s=Kt.parse(e);if(s.length>5)return r;const o=Kt.createTransformer(e),a=typeof s[0]!="number"?1:0,l=n.x.scale*t.x,c=n.y.scale*t.y;s[0+a]/=l,s[1+a]/=c;const u=pe(l,c,.5);return typeof s[2+a]=="number"&&(s[2+a]/=u),typeof s[3+a]=="number"&&(s[3+a]/=u),o(s)}},Vf={borderRadius:{...Mi,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Mi,borderTopRightRadius:Mi,borderBottomLeftRadius:Mi,borderBottomRightRadius:Mi,boxShadow:EA};function I2(e,{layout:t,layoutId:n}){return bi.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!Vf[e]||e==="opacity")}function Lh(e,t,n){var a;const r=e.style,s=t==null?void 0:t.style,o={};if(!r)return o;for(const l in r)(Be(r[l])||s&&Be(s[l])||I2(l,e)||((a=n==null?void 0:n.getValue(l))==null?void 0:a.liveStyle)!==void 0)&&(o[l]=r[l]);return o}function CA(e){return window.getComputedStyle(e)}class TA extends R2{constructor(){super(...arguments),this.type="html",this.renderInstance=F2}readValueFromInstance(t,n){var r;if(bi.has(n))return(r=this.projection)!=null&&r.isProjecting?Ef(n):Y6(t,n);{const s=CA(t),o=(Gb(n)?s.getPropertyValue(n):s[n])||0;return typeof o=="string"?o.trim():o}}measureInstanceViewportBox(t,{transformPagePoint:n}){return L2(t,n)}build(t,n,r){Dh(t,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return Lh(t,n,r)}}const PA={offset:"stroke-dashoffset",array:"stroke-dasharray"},AA={offset:"strokeDashoffset",array:"strokeDasharray"};function RA(e,t,n=1,r=0,s=!0){e.pathLength=1;const o=s?PA:AA;e[o.offset]=`${-r}`,e[o.array]=`${t} ${n}`}const MA=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function O2(e,{attrX:t,attrY:n,attrScale:r,pathLength:s,pathSpacing:o=1,pathOffset:a=0,...l},c,u,d){if(Dh(e,l,u),c){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:p,style:f}=e;p.transform&&(f.transform=p.transform,delete p.transform),(f.transform||p.transformOrigin)&&(f.transformOrigin=p.transformOrigin??"50% 50%",delete p.transformOrigin),f.transform&&(f.transformBox=(d==null?void 0:d.transformBox)??"fill-box",delete p.transformBox);for(const m of MA)p[m]!==void 0&&(f[m]=p[m],delete p[m]);t!==void 0&&(p.x=t),n!==void 0&&(p.y=n),r!==void 0&&(p.scale=r),s!==void 0&&RA(p,s,o,a,!1)}const V2=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"]),B2=e=>typeof e=="string"&&e.toLowerCase()==="svg";function _A(e,t,n,r){F2(e,t,void 0,r);for(const s in t.attrs)e.setAttribute(V2.has(s)?s:Sh(s),t.attrs[s])}function z2(e,t,n){const r=Lh(e,t,n);for(const s in e)if(Be(e[s])||Be(t[s])){const o=wi.indexOf(s)!==-1?"attr"+s.charAt(0).toUpperCase()+s.substring(1):s;r[o]=e[s]}return r}class DA extends R2{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Re}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(bi.has(n)){const r=b2(n);return r&&r.default||0}return n=V2.has(n)?n:Sh(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,r){return z2(t,n,r)}build(t,n,r){O2(t,n,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(t,n,r,s){_A(t,n,r,s)}mount(t){this.isSVGTag=B2(t.tagName),super.mount(t)}}const LA=Mh.length;function $2(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?$2(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<LA;n++){const r=Mh[n],s=e.props[r];(_o(s)||s===!1)&&(t[r]=s)}return t}function W2(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}const FA=[...Rh].reverse(),IA=Rh.length;function OA(e){return t=>Promise.all(t.map(({animation:n,options:r})=>FP(e,n,r)))}function VA(e){let t=OA(e),n=Lx(),r=!0,s=!1;const o=u=>(d,p)=>{var m;const f=Qr(e,p,u==="exit"?(m=e.presenceContext)==null?void 0:m.custom:void 0);if(f){const{transition:v,transitionEnd:x,...b}=f;d={...d,...b,...x}}return d};function a(u){t=u(e)}function l(u){const{props:d}=e,p=$2(e.parent)||{},f=[],m=new Set;let v={},x=1/0;for(let g=0;g<IA;g++){const y=FA[g],w=n[y],j=d[y]!==void 0?d[y]:p[y],k=_o(j),T=y===u?w.isActive:null;T===!1&&(x=g);let P=j===p[y]&&j!==d[y]&&k;if(P&&(r||s)&&e.manuallyAnimateOnMount&&(P=!1),w.protectedKeys={...v},!w.isActive&&T===null||!j&&!w.prevProp||Lc(j)||typeof j=="boolean")continue;if(y==="exit"&&w.isActive&&T!==!0){w.prevResolvedValues&&(v={...v,...w.prevResolvedValues});continue}const E=BA(w.prevProp,j);let S=E||y===u&&w.isActive&&!P&&k||g>x&&k,C=!1;const D=Array.isArray(j)?j:[j];let L=D.reduce(o(y),{});T===!1&&(L={});const{prevResolvedValues:G={}}=w,V={...G,...L},U=N=>{S=!0,m.has(N)&&(C=!0,m.delete(N)),w.needsAnimating[N]=!0;const A=e.getValue(N);A&&(A.liveStyle=!1)};for(const N in V){const A=L[N],B=G[N];if(v.hasOwnProperty(N))continue;let F=!1;Mf(A)&&Mf(B)?F=!W2(A,B):F=A!==B,F?A!=null?U(N):m.add(N):A!==void 0&&m.has(N)?U(N):w.protectedKeys[N]=!0}w.prevProp=j,w.prevResolvedValues=L,w.isActive&&(v={...v,...L}),(r||s)&&e.blockInitialAnimation&&(S=!1);const z=P&&E;S&&(!z||C)&&f.push(...D.map(N=>{const A={type:y};if(typeof N=="string"&&(r||s)&&!z&&e.manuallyAnimateOnMount&&e.parent){const{parent:B}=e,F=Qr(B,N);if(B.enteringChildren&&F){const{delayChildren:$}=F.transition||{};A.delay=f2(B.enteringChildren,e,$)}}return{animation:N,options:A}}))}if(m.size){const g={};if(typeof d.initial!="boolean"){const y=Qr(e,Array.isArray(d.initial)?d.initial[0]:d.initial);y&&y.transition&&(g.transition=y.transition)}m.forEach(y=>{const w=e.getBaseTarget(y),j=e.getValue(y);j&&(j.liveStyle=!0),g[y]=w??null}),f.push({animation:g})}let b=!!f.length;return r&&(d.initial===!1||d.initial===d.animate)&&!e.manuallyAnimateOnMount&&(b=!1),r=!1,s=!1,b?t(f):Promise.resolve()}function c(u,d){var f;if(n[u].isActive===d)return Promise.resolve();(f=e.variantChildren)==null||f.forEach(m=>{var v;return(v=m.animationState)==null?void 0:v.setActive(u,d)}),n[u].isActive=d;const p=l(u);for(const m in n)n[m].protectedKeys={};return p}return{animateChanges:l,setActive:c,setAnimateFunction:a,getState:()=>n,reset:()=>{n=Lx(),s=!0}}}function BA(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!W2(t,e):!1}function Ar(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Lx(){return{animate:Ar(!0),whileInView:Ar(),whileHover:Ar(),whileTap:Ar(),whileDrag:Ar(),whileFocus:Ar(),exit:Ar()}}function Bf(e,t){e.min=t.min,e.max=t.max}function Ot(e,t){Bf(e.x,t.x),Bf(e.y,t.y)}function Fx(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}const U2=1e-4,zA=1-U2,$A=1+U2,H2=.01,WA=0-H2,UA=0+H2;function tt(e){return e.max-e.min}function HA(e,t,n){return Math.abs(e-t)<=n}function Ix(e,t,n,r=.5){e.origin=r,e.originPoint=pe(t.min,t.max,e.origin),e.scale=tt(n)/tt(t),e.translate=pe(n.min,n.max,e.origin)-e.originPoint,(e.scale>=zA&&e.scale<=$A||isNaN(e.scale))&&(e.scale=1),(e.translate>=WA&&e.translate<=UA||isNaN(e.translate))&&(e.translate=0)}function so(e,t,n,r){Ix(e.x,t.x,n.x,r?r.originX:void 0),Ix(e.y,t.y,n.y,r?r.originY:void 0)}function Ox(e,t,n,r=0){const s=r?pe(n.min,n.max,r):n.min;e.min=s+t.min,e.max=e.min+tt(t)}function GA(e,t,n,r){Ox(e.x,t.x,n.x,r==null?void 0:r.x),Ox(e.y,t.y,n.y,r==null?void 0:r.y)}function Vx(e,t,n,r=0){const s=r?pe(n.min,n.max,r):n.min;e.min=t.min-s,e.max=e.min+tt(t)}function ql(e,t,n,r){Vx(e.x,t.x,n.x,r==null?void 0:r.x),Vx(e.y,t.y,n.y,r==null?void 0:r.y)}function Bx(e,t,n,r,s){return e-=t,e=Xl(e,1/n,r),s!==void 0&&(e=Xl(e,1/s,r)),e}function KA(e,t=0,n=1,r=.5,s,o=e,a=e){if(mn.test(t)&&(t=parseFloat(t),t=pe(a.min,a.max,t/100)-a.min),typeof t!="number")return;let l=pe(o.min,o.max,r);e===o&&(l-=t),e.min=Bx(e.min,t,n,l,s),e.max=Bx(e.max,t,n,l,s)}function zx(e,t,[n,r,s],o,a){KA(e,t[n],t[r],t[s],t.scale,o,a)}const YA=["x","scaleX","originX"],QA=["y","scaleY","originY"];function $x(e,t,n,r){zx(e.x,t,YA,n?n.x:void 0,r?r.x:void 0),zx(e.y,t,QA,n?n.y:void 0,r?r.y:void 0)}function Wx(e){return e.translate===0&&e.scale===1}function G2(e){return Wx(e.x)&&Wx(e.y)}function Ux(e,t){return e.min===t.min&&e.max===t.max}function XA(e,t){return Ux(e.x,t.x)&&Ux(e.y,t.y)}function Hx(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function K2(e,t){return Hx(e.x,t.x)&&Hx(e.y,t.y)}function Gx(e){return tt(e.x)/tt(e.y)}function Kx(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}function on(e){return[e("x"),e("y")]}function qA(e,t,n){let r="";const s=e.x.translate/t.x,o=e.y.translate/t.y,a=(n==null?void 0:n.z)||0;if((s||o||a)&&(r=`translate3d(${s}px, ${o}px, ${a}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:u,rotate:d,rotateX:p,rotateY:f,skewX:m,skewY:v}=n;u&&(r=`perspective(${u}px) ${r}`),d&&(r+=`rotate(${d}deg) `),p&&(r+=`rotateX(${p}deg) `),f&&(r+=`rotateY(${f}deg) `),m&&(r+=`skewX(${m}deg) `),v&&(r+=`skewY(${v}deg) `)}const l=e.x.scale*t.x,c=e.y.scale*t.y;return(l!==1||c!==1)&&(r+=`scale(${l}, ${c})`),r||"none"}const Y2=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],ZA=Y2.length,Yx=e=>typeof e=="string"?parseFloat(e):e,Qx=e=>typeof e=="number"||H.test(e);function JA(e,t,n,r,s,o){s?(e.opacity=pe(0,n.opacity??1,e8(r)),e.opacityExit=pe(t.opacity??1,0,t8(r))):o&&(e.opacity=pe(t.opacity??1,n.opacity??1,r));for(let a=0;a<ZA;a++){const l=Y2[a];let c=Xx(t,l),u=Xx(n,l);if(c===void 0&&u===void 0)continue;c||(c=0),u||(u=0),c===0||u===0||Qx(c)===Qx(u)?(e[l]=Math.max(pe(Yx(c),Yx(u),r),0),(mn.test(u)||mn.test(c))&&(e[l]+="%")):e[l]=u}(t.rotate||n.rotate)&&(e.rotate=pe(t.rotate||0,n.rotate||0,r))}function Xx(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const e8=Q2(0,.5,Bb),t8=Q2(.5,.95,_t);function Q2(e,t,n){return r=>r<e?0:r>t?1:n(Ro(e,t,r))}function n8(e,t,n){const r=Be(e)?e:ci(e);return r.start(kh("",r,t,n)),r.animation}function Do(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const r8=(e,t)=>e.depth-t.depth;class s8{constructor(){this.children=[],this.isDirty=!1}add(t){dh(this.children,t),this.isDirty=!0}remove(t){Wl(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(r8),this.isDirty=!1,this.children.forEach(t)}}function i8(e,t){const n=et.now(),r=({timestamp:s})=>{const o=s-n;o>=t&&(jr(r),e(o-t))};return ae.setup(r,!0),()=>jr(r)}function ll(e){return Be(e)?e.get():e}class o8{constructor(){this.members=[]}add(t){dh(this.members,t);for(let n=this.members.length-1;n>=0;n--){const r=this.members[n];if(r===t||r===this.lead||r===this.prevLead)continue;const s=r.instance;(!s||s.isConnected===!1)&&!r.snapshot&&(Wl(this.members,r),r.unmount())}t.scheduleRender()}remove(t){if(Wl(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){var n;for(let r=this.members.indexOf(t)-1;r>=0;r--){const s=this.members[r];if(s.isPresent!==!1&&((n=s.instance)==null?void 0:n.isConnected)!==!1)return this.promote(s),!0}return!1}promote(t,n){var s;const r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.updateSnapshot(),t.scheduleRender();const{layoutDependency:o}=r.options,{layoutDependency:a}=t.options;(o===void 0||o!==a)&&(t.resumeFrom=r,n&&(r.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),(s=t.root)!=null&&s.isUpdating&&(t.isLayoutDirty=!0)),t.options.crossfade===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{var n,r,s,o,a;(r=(n=t.options).onExitComplete)==null||r.call(n),(a=(s=t.resumingFrom)==null?void 0:(o=s.options).onExitComplete)==null||a.call(o)})}scheduleRender(){this.members.forEach(t=>t.instance&&t.scheduleRender(!1))}removeLeadSnapshot(){var t;(t=this.lead)!=null&&t.snapshot&&(this.lead.snapshot=void 0)}}const cl={hasAnimatedSinceResize:!0,hasEverUpdated:!1},Bu=["","X","Y","Z"],a8=1e3;let l8=0;function zu(e,t,n,r){const{latestValues:s}=t;s[e]&&(n[e]=s[e],t.setStaticValue(e,0),r&&(r[e]=0))}function X2(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=g2(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:s,layoutId:o}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",ae,!(s||o))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&X2(r)}function q2({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:s}){return class{constructor(a={},l=t==null?void 0:t()){this.id=l8++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>
vendor: 1,496 bytes, line 327
327{this.projectionUpdateScheduled=!1,this.nodes.forEach(d8),this.nodes.forEach(g8),this.nodes.forEach(y8),this.nodes.forEach(f8)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=a,this.root=l?l.root||l:this,this.path=l?[...l.path,l]:[],this.parent=l,this.depth=l?l.depth+1:0;for(let c=0;c<this.path.length;c++)this.path[c].shouldResetTransform=!0;this.root===this&&(this.nodes=new s8)}addEventListener(a,l){return this.eventHandlers.has(a)||this.eventHandlers.set(a,new fh),this.eventHandlers.get(a).add(l)}notifyListeners(a,...l){const c=this.eventHandlers.get(a);c&&c.notify(...l)}hasListeners(a){return this.eventHandlers.has(a)}mount(a){if(this.instance)return;this.isSVG=Ah(a)&&!dA(a),this.instance=a;const{layoutId:l,layout:c,visualElement:u}=this.options;if(u&&!u.current&&u.mount(a),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(c||l)&&(this.isLayoutDirty=!0),e){let d,p=0;const f=()=>this.root.updateBlockedByResize=!1;ae.read(()=>{p=window.innerWidth}),e(a,()=>{const m=window.innerWidth;m!==p&&(p=m,this.root.updateBlockedByResize=!0,d&&d(),d=i8(f,250),cl.hasAnimatedSinceResize&&(cl.hasAnimatedSinceResize=!1,this.nodes.forEach(Jx)))})}l&&this.root.registerSharedNode(l,this),this.options.animate!==!1&&u&&(l||c)&&this.addEventListener("didUpdate",({delta:d,hasLayoutChanged:p,hasRelativeLayoutChanged:f,layout:m})=>
vendor: 19,373 bytes, line 327
327{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const v=this.options.transition||u.getDefaultTransition()||k8,{onLayoutAnimationStart:x,onLayoutAnimationComplete:b}=u.getProps(),g=!this.targetLayout||!K2(this.targetLayout,m),y=!p&&f;if(this.options.layoutRoot||this.resumeFrom||y||p&&(g||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const w={...jh(v,"layout"),onPlay:x,onComplete:b};(u.shouldReduceMotion||this.options.layoutRoot)&&(w.delay=0,w.type=!1),this.startAnimation(w),this.setAnimationOrigin(d,y)}else p||Jx(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=m})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const a=this.getStack();a&&a.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),jr(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(v8),this.animationId++)}getTransformTemplate(){const{visualElement:a}=this.options;return a&&a.getProps().transformTemplate}willUpdate(a=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&X2(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let d=0;d<this.path.length;d++){const p=this.path[d];p.shouldResetTransform=!0,(typeof p.latestValues.x=="string"||typeof p.latestValues.y=="string")&&(p.isLayoutDirty=!0),p.updateScroll("snapshot"),p.options.layoutRoot&&p.willUpdate(!1)}const{layoutId:l,layout:c}=this.options;if(l===void 0&&!c)return;const u=this.getTransformTemplate();this.prevTransformTemplateValue=u?u(this.latestValues,""):void 0,this.updateSnapshot(),a&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){const c=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),c&&this.nodes.forEach(h8),this.nodes.forEach(qx);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(Zx);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(m8),this.nodes.forEach(x8),this.nodes.forEach(c8),this.nodes.forEach(u8)):this.nodes.forEach(Zx),this.clearAllSnapshots();const l=et.now();Ve.delta=gn(0,1e3/60,l-Ve.timestamp),Ve.timestamp=l,Ve.isProcessing=!0,Mu.update.process(Ve),Mu.preRender.process(Ve),Mu.render.process(Ve),Ve.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Th.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(p8),this.sharedNodes.forEach(w8)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,ae.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){ae.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!tt(this.snapshot.measuredBox.x)&&!tt(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 c=0;c<this.path.length;c++)this.path[c].updateScroll();const a=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=Re()),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:l}=this.options;l&&l.notify("LayoutMeasure",this.layout.layoutBox,a?a.layoutBox:void 0)}updateScroll(a="measure"){let l=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===a&&(l=!1),l&&this.instance){const c=r(this.instance);this.scroll={animationId:this.root.animationId,phase:a,isRoot:c,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:c}}}resetTransform(){if(!s)return;const a=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,l=this.projectionDelta&&!G2(this.projectionDelta),c=this.getTransformTemplate(),u=c?c(this.latestValues,""):void 0,d=u!==this.prevTransformTemplateValue;a&&this.instance&&(l||Lr(this.latestValues)||d)&&(s(this.instance,u),this.shouldResetTransform=!1,this.scheduleRender())}measure(a=!0){const l=this.measurePageBox();let c=this.removeElementScroll(l);return a&&(c=this.removeTransform(c)),N8(c),{animationId:this.root.animationId,measuredBox:l,layoutBox:c,latestValues:{},source:this.id}}measurePageBox(){var u;const{visualElement:a}=this.options;if(!a)return Re();const l=a.measureViewportBox();if(!(((u=this.scroll)==null?void 0:u.wasRoot)||this.path.some(S8))){const{scroll:d}=this.root;d&&(un(l.x,d.offset.x),un(l.y,d.offset.y))}return l}removeElementScroll(a){var c;const l=Re();if(Ot(l,a),(c=this.scroll)!=null&&c.wasRoot)return l;for(let u=0;u<this.path.length;u++){const d=this.path[u],{scroll:p,options:f}=d;d!==this.root&&p&&f.layoutScroll&&(p.wasRoot&&Ot(l,a),un(l.x,p.offset.x),un(l.y,p.offset.y))}return l}applyTransform(a,l=!1,c){var d,p;const u=c||Re();Ot(u,a);for(let f=0;f<this.path.length;f++){const m=this.path[f];!l&&m.options.layoutScroll&&m.scroll&&m!==m.root&&(un(u.x,-m.scroll.offset.x),un(u.y,-m.scroll.offset.y)),Lr(m.latestValues)&&al(u,m.latestValues,(d=m.layout)==null?void 0:d.layoutBox)}return Lr(this.latestValues)&&al(u,this.latestValues,(p=this.layout)==null?void 0:p.layoutBox),u}removeTransform(a){var c;const l=Re();Ot(l,a);for(let u=0;u<this.path.length;u++){const d=this.path[u];if(!Lr(d.latestValues))continue;let p;d.instance&&(If(d.latestValues)&&d.updateSnapshot(),p=Re(),Ot(p,d.measurePageBox())),$x(l,d.latestValues,(c=d.snapshot)==null?void 0:c.layoutBox,p)}return Lr(this.latestValues)&&$x(l,this.latestValues),l}setTargetDelta(a){this.targetDelta=a,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(a){this.options={...this.options,...a,crossfade:a.crossfade!==void 0?a.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!==Ve.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(a=!1){var m;const l=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=l.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=l.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=l.isSharedProjectionDirty);const c=!!this.resumingFrom||this!==l;if(!(a||c&&this.isSharedProjectionDirty||this.isProjectionDirty||(m=this.parent)!=null&&m.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:d,layoutId:p}=this.options;if(!this.layout||!(d||p))return;this.resolvedRelativeTargetAt=Ve.timestamp;const f=this.getClosestProjectingParent();f&&this.linkedParentVersion!==f.layoutVersion&&!f.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&f&&f.layout?this.createRelativeTarget(f,this.layout.layoutBox,f.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=Re(),this.targetWithTransforms=Re()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),GA(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):Ot(this.target,this.layout.layoutBox),D2(this.target,this.targetDelta)):Ot(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&f&&!!f.resumingFrom==!!this.resumingFrom&&!f.options.layoutScroll&&f.target&&this.animationProgress!==1?this.createRelativeTarget(f,this.target,f.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||If(this.parent.latestValues)||_2(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(a,l,c){this.relativeParent=a,this.linkedParentVersion=a.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Re(),this.relativeTargetOrigin=Re(),ql(this.relativeTargetOrigin,l,c,this.options.layoutAnchor||void 0),Ot(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){var v;const a=this.getLead(),l=!!this.resumingFrom||this!==a;let c=!0;if((this.isProjectionDirty||(v=this.parent)!=null&&v.isProjectionDirty)&&(c=!1),l&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(c=!1),this.resolvedRelativeTargetAt===Ve.timestamp&&(c=!1),c)return;const{layout:u,layoutId:d}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(u||d))return;Ot(this.layoutCorrected,this.layout.layoutBox);const p=this.treeScale.x,f=this.treeScale.y;bA(this.layoutCorrected,this.treeScale,this.path,l),a.layout&&!a.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(a.target=a.layout.layoutBox,a.targetWithTransforms=Re());const{target:m}=a;if(!m){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Fx(this.prevProjectionDelta.x,this.projectionDelta.x),Fx(this.prevProjectionDelta.y,this.projectionDelta.y)),so(this.projectionDelta,this.layoutCorrected,m,this.latestValues),(this.treeScale.x!==p||this.treeScale.y!==f||!Kx(this.projectionDelta.x,this.prevProjectionDelta.x)||!Kx(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",m))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(a=!0){var l;if((l=this.options.visualElement)==null||l.scheduleRender(),a){const c=this.getStack();c&&c.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Ms(),this.projectionDelta=Ms(),this.projectionDeltaWithTransform=Ms()}setAnimationOrigin(a,l=!1){const c=this.snapshot,u=c?c.latestValues:{},d={...this.latestValues},p=Ms();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!l;const f=Re(),m=c?c.source:void 0,v=this.layout?this.layout.source:void 0,x=m!==v,b=this.getStack(),g=!b||b.members.length<=1,y=!!(x&&!g&&this.options.crossfade===!0&&!this.path.some(j8));this.animationProgress=0;let w;this.mixTargetDelta=j=>{const k=j/1e3;eg(p.x,a.x,k),eg(p.y,a.y,k),this.setTargetDelta(p),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(ql(f,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),b8(this.relativeTarget,this.relativeTargetOrigin,f,k),w&&XA(this.relativeTarget,w)&&(this.isProjectionDirty=!1),w||(w=Re()),Ot(w,this.relativeTarget)),x&&(this.animationValues=d,JA(d,u,this.latestValues,k,y,g)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=k},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(a){var l,c,u;this.notifyListeners("animationStart"),(l=this.currentAnimation)==null||l.stop(),(u=(c=this.resumingFrom)==null?void 0:c.currentAnimation)==null||u.stop(),this.pendingAnimation&&(jr(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=ae.update(()=>{cl.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=ci(0)),this.motionValue.jump(0,!1),this.currentAnimation=n8(this.motionValue,[0,1e3],{...a,velocity:0,isSync:!0,onUpdate:d=>{this.mixTargetDelta(d),a.onUpdate&&a.onUpdate(d)},onStop:()=>{},onComplete:()=>{a.onComplete&&a.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const a=this.getStack();a&&a.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(a8),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const a=this.getLead();let{targetWithTransforms:l,target:c,layout:u,latestValues:d}=a;if(!(!l||!c||!u)){if(this!==a&&this.layout&&u&&Z2(this.options.animationType,this.layout.layoutBox,u.layoutBox)){c=this.target||Re();const p=tt(this.layout.layoutBox.x);c.x.min=a.target.x.min,c.x.max=c.x.min+p;const f=tt(this.layout.layoutBox.y);c.y.min=a.target.y.min,c.y.max=c.y.min+f}Ot(l,c),al(l,d),so(this.projectionDeltaWithTransform,this.layoutCorrected,l,d)}}registerSharedNode(a,l){this.sharedNodes.has(a)||this.sharedNodes.set(a,new o8),this.sharedNodes.get(a).add(l);const u=l.options.initialPromotionConfig;l.promote({transition:u?u.transition:void 0,preserveFollowOpacity:u&&u.shouldPreserveFollowOpacity?u.shouldPreserveFollowOpacity(l):void 0})}isLead(){const a=this.getStack();return a?a.lead===this:!0}getLead(){var l;const{layoutId:a}=this.options;return a?((l=this.getStack())==null?void 0:l.lead)||this:this}getPrevLead(){var l;const{layoutId:a}=this.options;return a?(l=this.getStack())==null?void 0:l.prevLead:void 0}getStack(){const{layoutId:a}=this.options;if(a)return this.root.sharedNodes.get(a)}promote({needsReset:a,transition:l,preserveFollowOpacity:c}={}){const u=this.getStack();u&&u.promote(this,c),a&&(this.projectionDelta=void 0,this.needsReset=!0),l&&this.setOptions({transition:l})}relegate(){const a=this.getStack();return a?a.relegate(this):!1}resetSkewAndRotation(){const{visualElement:a}=this.options;if(!a)return;let l=!1;const{latestValues:c}=a;if((c.z||c.rotate||c.rotateX||c.rotateY||c.rotateZ||c.skewX||c.skewY)&&(l=!0),!l)return;const u={};c.z&&zu("z",a,u,this.animationValues);for(let d=0;d<Bu.length;d++)zu(`rotate${Bu[d]}`,a,u,this.animationValues),zu(`skew${Bu[d]}`,a,u,this.animationValues);a.render();for(const d in u)a.setStaticValue(d,u[d]),this.animationValues&&(this.animationValues[d]=u[d]);a.scheduleRender()}applyProjectionStyles(a,l){if(!this.instance||this.isSVG)return;if(!this.isVisible){a.visibility="hidden";return}const c=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,a.visibility="",a.opacity="",a.pointerEvents=ll(l==null?void 0:l.pointerEvents)||"",a.transform=c?c(this.latestValues,""):"none";return}const u=this.getLead();if(!this.projectionDelta||!this.layout||!u.target){this.options.layoutId&&(a.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,a.pointerEvents=ll(l==null?void 0:l.pointerEvents)||""),this.hasProjected&&!Lr(this.latestValues)&&(a.transform=c?c({},""):"none",this.hasProjected=!1);return}a.visibility="";const d=u.animationValues||u.latestValues;this.applyTransformsToTarget();let p=qA(this.projectionDeltaWithTransform,this.treeScale,d);c&&(p=c(d,p)),a.transform=p;const{x:f,y:m}=this.projectionDelta;a.transformOrigin=`${f.origin*100}% ${m.origin*100}% 0`,u.animationValues?a.opacity=u===this?d.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:d.opacityExit:a.opacity=u===this?d.opacity!==void 0?d.opacity:"":d.opacityExit!==void 0?d.opacityExit:0;for(const v in Vf){if(d[v]===void 0)continue;const{correct:x,applyTo:b,isCSSVariable:g}=Vf[v],y=p==="none"?d[v]:x(d[v],u);if(b){const w=b.length;for(let j=0;j<w;j++)a[b[j]]=y}else g?this.options.visualElement.renderState.vars[v]=y:a[v]=y}this.options.layoutId&&(a.pointerEvents=u===this?ll(l==null?void 0:l.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(a=>{var l;return(l=a.currentAnimation)==null?void 0:l.stop()}),this.root.nodes.forEach(qx),this.root.sharedNodes.clear()}}}function c8(e){e.updateLayout()}function u8(e){var n;const t=((n=e.resumeFrom)==null?void 0:n.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){const{layoutBox:r,measuredBox:s}=e.layout,{animationType:o}=e.options,a=t.source!==e.layout.source;if(o==="size")on(p=>{const f=a?t.measuredBox[p]:t.layoutBox[p],m=tt(f);f.min=r[p].min,f.max=f.min+m});else if(o==="x"||o==="y"){const p=o==="x"?"y":"x";Bf(a?t.measuredBox[p]:t.layoutBox[p],r[p])}else Z2(o,t.layoutBox,r)&&on(p=>{const f=a?t.measuredBox[p]:t.layoutBox[p],m=tt(r[p]);f.max=f.min+m,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[p].max=e.relativeTarget[p].min+m)});const l=Ms();so(l,r,t.layoutBox);const c=Ms();a?so(c,e.applyTransform(s,!0),t.measuredBox):so(c,r,t.layoutBox);const u=!G2(l);let d=!1;if(!e.resumeFrom){const p=e.getClosestProjectingParent();if(p&&!p.resumeFrom){const{snapshot:f,layout:m}=p;if(f&&m){const v=e.options.layoutAnchor||void 0,x=Re();ql(x,t.layoutBox,f.layoutBox,v);const b=Re();ql(b,r,m.layoutBox,v),K2(x,b)||(d=!0),p.options.layoutRoot&&(e.relativeTarget=b,e.relativeTargetOrigin=x,e.relativeParent=p)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:t,delta:c,layoutDelta:l,hasLayoutChanged:u,hasRelativeLayoutChanged:d})}else if(e.isLead()){const{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function d8(e){e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function f8(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function p8(e){e.clearSnapshot()}function qx(e){e.clearMeasurements()}function h8(e){e.isLayoutDirty=!0,e.updateLayout()}function Zx(e){e.isLayoutDirty=!1}function m8(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function x8(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Jx(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function g8(e){e.resolveTargetDelta()}function y8(e){e.calcProjection()}
327function v8(e){e.resetSkewAndRotation()}function w8(e){e.removeLeadSnapshot()}function eg(e,t,n){e.translate=pe(t.translate,0,n),e.scale=pe(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function tg(e,t,n,r){e.min=pe(t.min,n.min,r),e.max=pe(t.max,n.max,r)}function b8(e,t,n,r){tg(e.x,t.x,n.x,r),tg(e.y,t.y,n.y,r)}function j8(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const k8={duration:.45,ease:[.4,0,.1,1]},ng=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),rg=ng("applewebkit/")&&!ng("chrome/")?Math.round:_t;function sg(e){e.min=rg(e.min),e.max=rg(e.max)}function N8(e){sg(e.x),sg(e.y)}function Z2(e,t,n){return e==="position"||e==="preserve-aspect"&&!HA(Gx(t),Gx(n),.2)}function S8(e){var t;return e!==e.root&&((t=e.scroll)==null?void 0:t.wasRoot)}const E8=q2({attachResizeListener:(e,t)=>Do(e,"resize",t),measureScroll:()=>{var e,t;return{x:document.documentElement.scrollLeft||((e=document.body)==null?void 0:e.scrollLeft)||0,y:document.documentElement.scrollTop||((t=document.body)==null?void 0:t.scrollTop)||0}},checkIsScrollRoot:()=>!0}),$u={current:void 0},J2=q2({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!$u.current){const e=new E8({});e.mount(window),e.setOptions({layoutScroll:!0}),$u.current=e}return $u.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),Fh=h.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function ig(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function C8(...e){return t=>{let n=!1;const r=e.map(s=>{const o=ig(s,t);return!n&&typeof o=="function"&&(n=!0),o});if(n)return()=>{for(let s=0;s<r.length;s++){const o=r[s];typeof o=="function"?o():ig(e[s],null)}}}}function T8(...e){return h.useCallback(C8(...e),e)}class P8 extends h.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(rl(n)&&t.isPresent&&!this.props.isPresent&&this.props.pop!==!1){const r=n.offsetParent,s=rl(r)&&r.offsetWidth||0,o=rl(r)&&r.offsetHeight||0,a=getComputedStyle(n),l=this.props.sizeRef.current;l.height=parseFloat(a.height),l.width=parseFloat(a.width),l.top=n.offsetTop,l.left=n.offsetLeft,l.right=s-l.width-l.left,l.bottom=o-l.height-l.top}return null}componentDidUpdate(){}render(){return this.props.children}}function A8({children:e,isPresent:t,anchorX:n,anchorY:r,root:s,pop:o}){var f;const a=h.useId(),l=h.useRef(null),c=h.useRef({width:0,height:0,top:0,left:0,right:0,bottom:0}),{nonce:u}=h.useContext(Fh),d=((f=e.props)==null?void 0:f.ref)??(e==null?void 0:e.ref),p=T8(l,d);return h.useInsertionEffect(()=>{const{width:m,height:v,top:x,left:b,right:g,bottom:y}=c.current;if(t||o===!1||!l.current||!m||!v)return;const w=n==="left"?`left: ${b}`:`right: ${g}`,j=r==="bottom"?`bottom: ${y}`:`top: ${x}`;l.current.dataset.motionPopId=a;const k=document.createElement("style");u&&(k.nonce=u);const T=s??document.head;return T.appendChild(k),k.sheet&&k.sheet.insertRule(`
328          [data-motion-pop-id="${a}"] {
329            position: absolute !important;
330            width: ${m}px !important;
331            height: ${v}px !important;
332            ${w}px !important;
333            ${j}px !important;
334          }
335        `),()=>{var P;(P=l.current)==null||P.removeAttribute("data-motion-pop-id"),T.contains(k)&&T.removeChild(k)}},[t]),i.jsx(P8,{isPresent:t,childRef:l,sizeRef:c,pop:o,children:o===!1?e:h.cloneElement(e,{ref:p})})}const R8=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:s,presenceAffectsLayout:o,mode:a,anchorX:l,anchorY:c,root:u})=>{const d=uh(M8),p=h.useId();let f=!0,m=h.useMemo(()=>(f=!1,{id:p,initial:t,isPresent:n,custom:s,onExitComplete:v=>{d.set(v,!0);for(const x of d.values())if(!x)return;r&&r()},register:v=>(d.set(v,!1),()=>d.delete(v))}),[n,d,r]);return o&&f&&(m={...m}),h.useMemo(()=>{d.forEach((v,x)=>d.set(x,!1))},[n]),h.useEffect(()=>{!n&&!d.size&&r&&r()},[n]),e=i.jsx(A8,{pop:a==="popLayout",isPresent:n,anchorX:l,anchorY:c,root:u,children:e}),i.jsx(Mc.Provider,{value:m,children:e})};function M8(){return new Map}function ej(e=!0){const t=h.useContext(Mc);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:r,register:s}=t,o=h.useId();h.useEffect(()=>{if(e)return s(o)},[e]);const a=h.useCallback(()=>e&&r&&r(o),[o,r,e]);return!n&&r?[!1,a]:[!0]}const Ta=e=>e.key||"";function og(e){const t=[];
vendor: 6,301 bytes, line 335
335return h.Children.forEach(e,n=>{h.isValidElement(n)&&t.push(n)}),t}const Ic=({children:e,custom:t,initial:n=!0,onExitComplete:r,presenceAffectsLayout:s=!0,mode:o="sync",propagate:a=!1,anchorX:l="left",anchorY:c="top",root:u})=>{const[d,p]=ej(a),f=h.useMemo(()=>og(e),[e]),m=a&&!d?[]:f.map(Ta),v=h.useRef(!0),x=h.useRef(f),b=uh(()=>new Map),g=h.useRef(new Set),[y,w]=h.useState(f),[j,k]=h.useState(f);Tb(()=>{v.current=!1,x.current=f;for(let E=0;E<j.length;E++){const S=Ta(j[E]);m.includes(S)?(b.delete(S),g.current.delete(S)):b.get(S)!==!0&&b.set(S,!1)}},[j,m.length,m.join("-")]);const T=[];if(f!==y){let E=[...f];for(let S=0;S<j.length;S++){const C=j[S],D=Ta(C);m.includes(D)||(E.splice(S,0,C),T.push(C))}return o==="wait"&&T.length&&(E=T),k(og(E)),w(f),null}const{forceRender:P}=h.useContext(ch);return i.jsx(i.Fragment,{children:j.map(E=>{const S=Ta(E),C=a&&!d?!1:f===j||m.includes(S),D=()=>{if(g.current.has(S))return;if(b.has(S))g.current.add(S),b.set(S,!0);else return;let L=!0;b.forEach(G=>{G||(L=!1)}),L&&(P==null||P(),k(x.current),a&&(p==null||p()),r&&r())};return i.jsx(R8,{isPresent:C,initial:!v.current||n?void 0:!1,custom:t,presenceAffectsLayout:s,mode:o,root:u,onExitComplete:C?void 0:D,anchorX:l,anchorY:c,children:E},S)})})},tj=h.createContext({strict:!1}),ag={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]};let lg=!1;function _8(){if(lg)return;const e={};for(const t in ag)e[t]={isEnabled:n=>ag[t].some(r=>!!n[r])};A2(e),lg=!0}function nj(){return _8(),gA()}function D8(e){const t=nj();for(const n in e)t[n]={...t[n],...e[n]};A2(t)}const L8=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function Zl(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||L8.has(e)}let rj=e=>!Zl(e);function F8(e){typeof e=="function"&&(rj=t=>t.startsWith("on")?!Zl(t):e(t))}try{F8(require("@emotion/is-prop-valid").default)}catch{}function I8(e,t,n){const r={};for(const s in e)s==="values"&&typeof e.values=="object"||Be(e[s])||(rj(s)||n===!0&&Zl(s)||!t&&!Zl(s)||e.draggable&&s.startsWith("onDrag"))&&(r[s]=e[s]);return r}const Oc=h.createContext({});function O8(e,t){if(Fc(e)){const{initial:n,animate:r}=e;return{initial:n===!1||_o(n)?n:void 0,animate:_o(r)?r:void 0}}return e.inherit!==!1?t:{}}function V8(e){const{initial:t,animate:n}=O8(e,h.useContext(Oc));return h.useMemo(()=>({initial:t,animate:n}),[cg(t),cg(n)])}function cg(e){return Array.isArray(e)?e.join(" "):e}const Ih=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function sj(e,t,n){for(const r in t)!Be(t[r])&&!I2(r,n)&&(e[r]=t[r])}function B8({transformTemplate:e},t){return h.useMemo(()=>{const n=Ih();return Dh(n,t,e),Object.assign({},n.vars,n.style)},[t])}function z8(e,t){const n=e.style||{},r={};return sj(r,n,e),Object.assign(r,B8(e,t)),r}function $8(e,t){const n={},r=z8(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}const ij=()=>({...Ih(),attrs:{}});function W8(e,t,n,r){const s=h.useMemo(()=>{const o=ij();return O2(o,t,B2(r),e.transformTemplate,e.style),{...o.attrs,style:{...o.style}}},[t]);if(e.style){const o={};sj(o,e.style,e),s.style={...o,...s.style}}return s}const U8=["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 Oh(e){return typeof e!="string"||e.includes("-")?!1:!!(U8.indexOf(e)>-1||/[A-Z]/u.test(e))}function H8(e,t,n,{latestValues:r},s,o=!1,a){const c=(a??Oh(e)?W8:$8)(t,r,s,e),u=I8(t,typeof e=="string",o),d=e!==h.Fragment?{...u,...c,ref:n}:{},{children:p}=t,f=h.useMemo(()=>Be(p)?p.get():p,[p]);return h.createElement(e,{...d,children:f})}function G8({scrapeMotionValuesFromProps:e,createRenderState:t},n,r,s){return{latestValues:K8(n,r,s,e),renderState:t()}}function K8(e,t,n,r){const s={},o=r(e,{});for(const f in o)s[f]=ll(o[f]);let{initial:a,animate:l}=e;const c=Fc(e),u=T2(e);t&&u&&!c&&e.inherit!==!1&&(a===void 0&&(a=t.initial),l===void 0&&(l=t.animate));let d=n?n.initial===!1:!1;d=d||a===!1;const p=d?l:a;if(p&&typeof p!="boolean"&&!Lc(p)){const f=Array.isArray(p)?p:[p];for(let m=0;m<f.length;m++){const v=Nh(e,f[m]);if(v){const{transitionEnd:x,transition:b,...g}=v;for(const y in g){let w=g[y];if(Array.isArray(w)){const j=d?w.length-1:0;w=w[j]}w!==null&&(s[y]=w)}for(const y in x)s[y]=x[y]}}}return s}const oj=e=>(t,n)=>{const r=h.useContext(Oc),s=h.useContext(Mc),o=()=>G8(e,t,r,s);return n?o():uh(o)},Y8=oj({scrapeMotionValuesFromProps:Lh,createRenderState:Ih}),Q8=oj({scrapeMotionValuesFromProps:z2,createRenderState:ij}),X8=Symbol.for("motionComponentSymbol");function q8(e,t,n){const r=h.useRef(n);h.useInsertionEffect(()=>{r.current=n});const s=h.useRef(null);return h.useCallback(o=>{var l;o&&((l=e.onMount)==null||l.call(e,o));const a=r.current;if(typeof a=="function")if(o){const c=a(o);typeof c=="function"&&(s.current=c)}else s.current?(s.current(),s.current=null):a(o);else a&&(a.current=o);t&&(o?t.mount(o):t.unmount())},[t])}const aj=h.createContext({});function gs(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function Z8(e,t,n,r,s,o){var w,j;const{visualElement:a}=h.useContext(Oc),l=h.useContext(tj),c=h.useContext(Mc),u=h.useContext(Fh),d=u.reducedMotion,p=u.ski
vendor: 19,640 bytes, line 335
335pAnimations,f=h.useRef(null),m=h.useRef(!1);r=r||l.renderer,!f.current&&r&&(f.current=r(e,{visualState:t,parent:a,props:n,presenceContext:c,blockInitialAnimation:c?c.initial===!1:!1,reducedMotionConfig:d,skipAnimations:p,isSVG:o}),m.current&&f.current&&(f.current.manuallyAnimateOnMount=!0));const v=f.current,x=h.useContext(aj);v&&!v.projection&&s&&(v.type==="html"||v.type==="svg")&&J8(f.current,n,s,x);const b=h.useRef(!1);h.useInsertionEffect(()=>{v&&b.current&&v.update(n,c)});const g=n[x2],y=h.useRef(!!g&&typeof window<"u"&&!((w=window.MotionHandoffIsComplete)!=null&&w.call(window,g))&&((j=window.MotionHasOptimisedAnimation)==null?void 0:j.call(window,g)));return Tb(()=>{m.current=!0,v&&(b.current=!0,window.MotionIsMounted=!0,v.updateFeatures(),v.scheduleRenderMicrotask(),y.current&&v.animationState&&v.animationState.animateChanges())}),h.useEffect(()=>{v&&(!y.current&&v.animationState&&v.animationState.animateChanges(),y.current&&(queueMicrotask(()=>{var k;(k=window.MotionHandoffMarkAsComplete)==null||k.call(window,g)}),y.current=!1),v.enteringChildren=void 0)}),v}function J8(e,t,n,r){const{layoutId:s,layout:o,drag:a,dragConstraints:l,layoutScroll:c,layoutRoot:u,layoutAnchor:d,layoutCrossfade:p}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:lj(e.parent)),e.projection.setOptions({layoutId:s,layout:o,alwaysMeasureLayout:!!a||l&&gs(l),visualElement:e,animationType:typeof o=="string"?o:"both",initialPromotionConfig:r,crossfade:p,layoutScroll:c,layoutRoot:u,layoutAnchor:d})}function lj(e){if(e)return e.options.allowProjection!==!1?e.projection:lj(e.parent)}function Wu(e,{forwardMotionProps:t=!1,type:n}={},r,s){r&&D8(r);const o=n?n==="svg":Oh(e),a=o?Q8:Y8;function l(u,d){let p;const f={...h.useContext(Fh),...u,layoutId:eR(u)},{isStatic:m}=f,v=V8(u),x=a(u,m);if(!m&&typeof window<"u"){tR();const b=nR(f);p=b.MeasureLayout,v.visualElement=Z8(e,x,f,s,b.ProjectionNode,o)}return i.jsxs(Oc.Provider,{value:v,children:[p&&v.visualElement?i.jsx(p,{visualElement:v.visualElement,...f}):null,H8(e,u,q8(x,v.visualElement,d),x,m,t,o)]})}l.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;const c=h.forwardRef(l);return c[X8]=e,c}function eR({layoutId:e}){const t=h.useContext(ch).id;return t&&e!==void 0?t+"-"+e:e}function tR(e,t){h.useContext(tj).strict}function nR(e){const t=nj(),{drag:n,layout:r}=t;if(!n&&!r)return{};const s={...n,...r};return{MeasureLayout:n!=null&&n.isEnabled(e)||r!=null&&r.isEnabled(e)?s.MeasureLayout:void 0,ProjectionNode:s.ProjectionNode}}function rR(e,t){if(typeof Proxy>"u")return Wu;const n=new Map,r=(o,a)=>Wu(o,a,e,t),s=(o,a)=>r(o,a);return new Proxy(s,{get:(o,a)=>a==="create"?r:(n.has(a)||n.set(a,Wu(a,void 0,e,t)),n.get(a))})}const sR=(e,t)=>t.isSVG??Oh(e)?new DA(t):new TA(t,{allowProjection:e!==h.Fragment});class iR extends Cr{constructor(t){super(t),t.animationState||(t.animationState=VA(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();Lc(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),(t=this.unmountControls)==null||t.call(this)}}let oR=0;class aR extends Cr{constructor(){super(...arguments),this.id=oR++,this.isExitComplete=!1}update(){var o;if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===r)return;if(t&&r===!1){if(this.isExitComplete){const{initial:a,custom:l}=this.node.getProps();if(typeof a=="string"){const c=Qr(this.node,a,l);if(c){const{transition:u,transitionEnd:d,...p}=c;for(const f in p)(o=this.node.getValue(f))==null||o.jump(p[f])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}const s=this.node.animationState.setActive("exit",!t);n&&!t&&s.then(()=>{this.isExitComplete=!0,n(this.id)})}mount(){const{register:t,onExitComplete:n}=this.node.presenceContext||{};n&&n(this.id),t&&(this.unmount=t(this.id))}unmount(){}}const lR={animation:{Feature:iR},exit:{Feature:aR}};function Qo(e){return{point:{x:e.pageX,y:e.pageY}}}const cR=e=>t=>Ph(t)&&e(t,Qo(t));function io(e,t,n,r){return Do(e,t,cR(n),r)}const cj=({current:e})=>e?e.ownerDocument.defaultView:null,ug=(e,t)=>Math.abs(e-t);function uR(e,t){const n=ug(e.x,t.x),r=ug(e.y,t.y);return Math.sqrt(n**2+r**2)}const dg=new Set(["auto","scroll"]);class uj{constructor(t,n,{transformPagePoint:r,contextWindow:s=window,dragSnapToOrigin:o=!1,distanceThreshold:a=3,element:l}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=m=>{this.handleScroll(m.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=Pa(this.lastRawMoveEventInfo,this.transformPagePoint));const m=Uu(this.lastMoveEventInfo,this.history),v=this.startEvent!==null,x=uR(m.offset,{x:0,y:0})>=this.distanceThreshold;if(!v&&!x)return;const{point:b}=m,{timestamp:g}=Ve;this.history.push({...b,timestamp:g});const{onStart:y,onMove:w}=this.handlers;v||(y&&y(this.lastMoveEvent,m),this.startEvent=this.lastMoveEvent),w&&w(this.lastMoveEvent,m)},this.handlePointerMove=(m,v)=>{this.lastMoveEvent=m,this.lastRawMoveEventInfo=v,this.lastMoveEventInfo=Pa(v,this.transformPagePoint),ae.update(this.updatePoint,!0)},this.handlePointerUp=(m,v)=>{this.end();const{onEnd:x,onSessionEnd:b,resumeAnimation:g}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&g&&g(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const y=Uu(m.type==="pointercancel"?this.lastMoveEventInfo:Pa(v,this.transformPagePoint),this.history);this.startEvent&&x&&x(m,y),b&&b(m,y)},!Ph(t))return;this.dragSnapToOrigin=o,this.handlers=n,this.transformPagePoint=r,this.distanceThreshold=a,this.contextWindow=s||window;const c=Qo(t),u=Pa(c,this.transformPagePoint),{point:d}=u,{timestamp:p}=Ve;this.history=[{...d,timestamp:p}];const{onSessionStart:f}=n;f&&f(t,Uu(u,this.history)),this.removeListeners=Go(io(this.contextWindow,"pointermove",this.handlePointerMove),io(this.contextWindow,"pointerup",this.handlePointerUp),io(this.contextWindow,"pointercancel",this.handlePointerUp)),l&&this.startScrollTracking(l)}startScrollTracking(t){let n=t.parentElement;for(;n;){const r=getComputedStyle(n);(dg.has(r.overflowX)||dg.has(r.overflowY))&&this.scrollPositions.set(n,{x:n.scrollLeft,y:n.scrollTop}),n=n.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(t){const n=this.scrollPositions.get(t);if(!n)return;const r=t===window,s=r?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},o={x:s.x-n.x,y:s.y-n.y};o.x===0&&o.y===0||(r?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=o.x,this.lastMoveEventInfo.point.y+=o.y):this.history.length>0&&(this.history[0].x-=o.x,this.history[0].y-=o.y),this.scrollPositions.set(t,s),ae.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),jr(this.updatePoint)}}function Pa(e,t){return t?{point:t(e.point)}:e}function fg(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Uu({point:e},t){return{point:e,delta:fg(e,dj(t)),offset:fg(e,dR(t)),velocity:fR(t,.1)}}function dR(e){return e[0]}function dj(e){return e[e.length-1]}function fR(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const s=dj(e);for(;n>=0&&(r=e[n],!(s.timestamp-r.timestamp>ft(t)));)n--;if(!r)return{x:0,y:0};r===e[0]&&e.length>2&&s.timestamp-r.timestamp>ft(t)*2&&(r=e[1]);const o=Rt(s.timestamp-r.timestamp);if(o===0)return{x:0,y:0};const a={x:(s.x-r.x)/o,y:(s.y-r.y)/o};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function pR(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?pe(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?pe(n,e,r.max):Math.min(e,n)),e}function pg(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function hR(e,{top:t,left:n,bottom:r,right:s}){return{x:pg(e.x,n,s),y:pg(e.y,t,r)}}function hg(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function mR(e,t){return{x:hg(e.x,t.x),y:hg(e.y,t.y)}}function xR(e,t){let n=.5;const r=tt(e),s=tt(t);return s>r?n=Ro(t.min,t.max-r,e.min):r>s&&(n=Ro(e.min,e.max-s,t.min)),gn(0,1,n)}function gR(e,t){const n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}const zf=.35;function yR(e=zf){return e===!1?e=0:e===!0&&(e=zf),{x:mg(e,"left","right"),y:mg(e,"top","bottom")}}function mg(e,t,n){return{min:xg(e,t),max:xg(e,n)}}function xg(e,t){return typeof e=="number"?e:e[t]||0}const vR=new WeakMap;class wR{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=Re(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:n=!1,distanceThreshold:r}={}){const{presenceContext:s}=this.visualElement;if(s&&s.isPresent===!1)return;const o=p=>{n&&this.snapToCursor(Qo(p).point),this.stopAnimation()},a=(p,f)=>{const{drag:m,dragPropagation:v,onDragStart:x}=this.getProps();if(m&&!v&&(this.openDragLock&&this.openDragLock(),this.openDragLock=YP(m),!this.openDragLock))return;this.latestPointerEvent=p,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),on(g=>{let y=this.getAxisMotionValue(g).get()||0;if(mn.test(y)){const{projection:w}=this.visualElement;if(w&&w.layout){const j=w.layout.layoutBox[g];j&&(y=tt(j)*(parseFloat(y)/100))}}this.originPoint[g]=y}),x&&ae.update(()=>x(p,f),!1,!0),_f(this.visualElement,"transform");const{animationState:b}=this.visualElement;b&&b.setActive("whileDrag",!0)},l=(p,f)=>{this.latestPointerEvent=p,this.latestPanInfo=f;const{dragPropagation:m,dragDirectionLock:v,onDirectionLock:x,onDrag:b}=this.getProps();if(!m&&!this.openDragLock)return;const{offset:g}=f;if(v&&this.currentDirection===null){this.currentDirection=jR(g),this.currentDirection!==null&&x&&x(this.currentDirection);return}this.updateAxis("x",f.point,g),this.updateAxis("y",f.point,g),this.visualElement.render(),b&&ae.update(()=>b(p,f),!1,!0)},c=(p,f)=>{this.latestPointerEvent=p,this.latestPanInfo=f,this.stop(p,f),this.latestPointerEvent=null,this.latestPanInfo=null},u=()=>{const{dragSnapToOrigin:p}=this.getProps();(p||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:d}=this.getProps();this.panSession=new uj(t,{onSessionStart:o,onStart:a,onMove:l,onSessionEnd:c,resumeAnimation:u},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:d,distanceThreshold:r,contextWindow:cj(this.visualElement),element:this.visualElement.current})}stop(t,n){const r=t||this.latestPointerEvent,s=n||this.latestPanInfo,o=this.isDragging;if(this.cancel(),!o||!s||!r)return;const{velocity:a}=s;this.startAnimation(a);const{onDragEnd:l}=this.getProps();l&&ae.postRender(()=>l(r,s))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.endPanSession();const{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(t,n,r){const{drag:s}=this.getProps();if(!r||!Aa(t,s,this.currentDirection))return;const o=this.getAxisMotionValue(t);let a=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(a=pR(a,this.constraints[t],this.elastic[t])),o.set(a)}resolveConstraints(){var o;const{dragConstraints:t,dragElastic:n}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(o=this.visualElement.projection)==null?void 0:o.layout,s=this.constraints;t&&gs(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&r?this.constraints=hR(r.layoutBox,t):this.constraints=!1,this.elastic=yR(n),s!==this.constraints&&!gs(t)&&r&&this.constraints&&!this.hasMutatedConstraints&&on(a=>{this.constraints!==!1&&this.getAxisMotionValue(a)&&(this.constraints[a]=gR(r.layoutBox[a],this.constraints[a]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!gs(t))return!1;const r=t.current;ai(r!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");const{projection:s}=this.visualElement;if(!s||!s.layout)return!1;const o=jA(r,s.root,this.visualElement.getTransformPagePoint());let a=mR(s.layout.layoutBox,o);if(n){const l=n(vA(a));this.hasMutatedConstraints=!!l,l&&(a=M2(l))}return a}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:s,dragTransition:o,dragSnapToOrigin:a,onDragTransitionEnd:l}=this.getProps(),c=this.constraints||{},u=on(d=>{if(!Aa(d,n,this.currentDirection))return;let p=c&&c[d]||{};(a===!0||a===d)&&(p={min:0,max:0});const f=s?200:1e6,m=s?40:1e7,v={type:"inertia",velocity:r?t[d]:0,bounceStiffness:f,bounceDamping:m,timeConstant:750,restDelta:1,restSpeed:10,...o,...p};return this.startAxisValueAnimation(d,v)});return Promise.all(u).then(l)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return _f(this.visualElement,t),r.start(kh(t,r,0,n,this.visualElement,!1))}stopAnimation(){on(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,r=this.visualElement.getProps(),s=r[n];return s||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){on(n=>{const{drag:r}=this.getProps();if(!Aa(n,r,this.currentDirection))return;const{projection:s}=this.visualElement,o=this.getAxisMotionValue(n);if(s&&s.layout){const{min:a,max:l}=s.layout.layoutBox[n],c=o.get()||0;o.set(t[n]-pe(a,l,.5)+c)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!gs(n)||!r||!this.constraints)return;this.stopAnimation();const s={x:0,y:0};on(a=>{const l=this.getAxisMotionValue(a);if(l&&this.constraints!==!1){const c=l.get();s[a]=xR({min:c,max:c},this.constraints[a])}});const{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.constraints=!1,this.resolveConstraints(),on(a=>{if(!Aa(a,t,null))return;const l=this.getAxisMotionValue(a),{min:c,max:u}=this.constraints[a];l.set(pe(c,u,s[a]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;vR.set(this.visualElement,this);const t=this.visualElement.current,n=io(t,"pointerdown",u=>{const{drag:d,dragListener:p=!0}=this.getProps(),f=u.target,m=f!==t&&eA(f);d&&p&&!m&&this.start(u)});let r;const s=()=>{const{dragConstraints:u}=this.getProps();gs(u)&&u.current&&(this.constraints=this.resolveRefConstraints(),r||(r=bR(t,u.current,()=>this.scalePositionWithinConstraints())))},{projection:o}=this.visualElement,a=o.addEventListener("measure",s);o&&!o.layout&&(o.root&&o.root.updateScroll(),o.updateLayout()),ae.read(s);const l=Do(window,"resize",()=>this.scalePositionWithinConstraints()),c=o.addEventListener("didUpdate",({delta:u,hasLayoutChanged:d})=>{this.isDragging&&d&&(on(p=>{const f=this.getAxisMotionValue(p);f&&(this.originPoint[p]+=u[p].translate,f.set(f.get()+u[p].translate))}),this.visualElement.render())});return()=>{l(),n(),a(),c&&c(),r&&r()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:s=!1,dragConstraints:o=!1,dragElastic:a=zf,dragMomentum:l=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:s,dragConstraints:o,dragElastic:a,dragMomentum:l}}}function gg(e){let t=!0;return()=>{if(t){t=!1;return}e()}}function bR(e,t,n){const r=Nx(e,gg(n)),s=Nx(t,gg(n));return()=>{r(),s()}}function Aa(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function jR(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class kR extends Cr{constructor(t){super(t),this.removeGroupControls=_t,this.removeListeners=_t,this.controls=new wR(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||_t}update(){const{dragControls:t}=this.node.getProps(),{dragControls:n}=this.node.prevProps||{};t!==n&&(this.removeGroupControls(),t&&(this.removeGroupControls=t.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}const Hu=e=>(t,n)=>{e&&ae.update(()=>e(t,n),!1,!0)};class NR extends Cr{constructor(){super(...arguments),this.removePointerDownListener=_t}onPointerDown(t){this.session=new uj(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:cj(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:s}=this.node.getProps();return{onSessionStart:Hu(t),onStart:Hu(n),onMove:Hu(r),onEnd:(o,a)=>{delete this.session,s&&ae.postRender(()=>s(o,a))}}}mount(){this.removePointerDownListener=io(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let Gu=!1;class SR extends h.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:s}=this.props,{projection:o}=t;o&&(n.group&&n.group.add(o),r&&r.register&&s&&r.register(o),Gu&&o.root.didUpdate(),o.addEventListener("animationComplete",()=>{this.safeToRemove()}),o.setOptions({...o.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),cl.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:s,isPresent:o}=this.props,{projection:a}=r;return a&&(a.isPresent=o,t.layoutDependency!==n&&a.setOptions({...a.options,layoutDependency:n}),Gu=!0,s||t.layoutDependency!==n||n===void 0||t.isPresent!==o?a.willUpdate():this.safeToRemove(),t.isPresent!==o&&(o?a.promote():a.relegate()||ae.postRender(()=>{const l=a.getStack();(!l||!l.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{visualElement:t,layoutAnchor:n}=this.props,{projection:r}=t;r&&(r.options.layoutAnchor=n,r.root.didUpdate(),Th.postRender(()=>{!r.currentAnimation&&r.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:s}=t;Gu=!0,s&&(s.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(s),r&&r.deregister&&r.deregister(s))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}
vendor: 4,242 bytes, line 335
335function fj(e){const[t,n]=ej(),r=h.useContext(ch);return i.jsx(SR,{...e,layoutGroup:r,switchLayoutGroup:h.useContext(aj),isPresent:t,safeToRemove:n})}const ER={pan:{Feature:NR},drag:{Feature:kR,ProjectionNode:J2,MeasureLayout:fj}};function yg(e,t,n){const{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover",n==="Start");const s="onHover"+n,o=r[s];o&&ae.postRender(()=>o(t,Qo(t)))}class CR extends Cr{mount(){const{current:t}=this.node;t&&(this.unmount=XP(t,(n,r)=>(yg(this.node,r,"Start"),s=>yg(this.node,s,"End"))))}unmount(){}}class TR extends Cr{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=Go(Do(this.node.current,"focus",()=>this.onFocus()),Do(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function vg(e,t,n){const{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap",n==="Start");const s="onTap"+(n==="End"?"":n),o=r[s];o&&ae.postRender(()=>o(t,Qo(t)))}class PR extends Cr{mount(){const{current:t}=this.node;if(!t)return;const{globalTapTarget:n,propagate:r}=this.node.props;this.unmount=nA(t,(s,o)=>(vg(this.node,o,"Start"),(a,{success:l})=>vg(this.node,a,l?"End":"Cancel")),{useGlobalTarget:n,stopPropagation:(r==null?void 0:r.tap)===!1})}unmount(){}}const $f=new WeakMap,Ku=new WeakMap,AR=e=>{const t=$f.get(e.target);t&&t(e)},RR=e=>{e.forEach(AR)};function MR({root:e,...t}){const n=e||document;Ku.has(n)||Ku.set(n,{});const r=Ku.get(n),s=JSON.stringify(t);return r[s]||(r[s]=new IntersectionObserver(RR,{root:e,...t})),r[s]}function _R(e,t,n){const r=MR(t);return $f.set(e,n),r.observe(e),()=>{$f.delete(e),r.unobserve(e)}}const DR={some:0,all:1};class LR extends Cr{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var c;(c=this.stopObserver)==null||c.call(this);const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:s="some",once:o}=t,a={root:n?n.current:void 0,rootMargin:r,threshold:typeof s=="number"?s:DR[s]},l=u=>{const{isIntersecting:d}=u;if(this.isInView===d||(this.isInView=d,o&&!d&&this.hasEnteredView))return;d&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",d);const{onViewportEnter:p,onViewportLeave:f}=this.node.getProps(),m=d?p:f;m&&m(u)};this.stopObserver=_R(this.node.current,a,l)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(FR(t,n))&&this.startObserver()}unmount(){var t;(t=this.stopObserver)==null||t.call(this),this.hasEnteredView=!1,this.isInView=!1}}function FR({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const IR={inView:{Feature:LR},tap:{Feature:PR},focus:{Feature:TR},hover:{Feature:CR}},OR={layout:{ProjectionNode:J2,MeasureLayout:fj}},VR={...lR,...IR,...ER,...OR},I=rR(VR,sR);function Zt(){!_h.current&&P2();const[e]=h.useState(Yl.current);return e}const BR={some:0,all:1};function zR(e,t,{root:n,margin:r,amount:s="some"}={}){const o=Ch(e),a=new WeakMap,l=u=>{u.forEach(d=>{const p=a.get(d.target);if(d.isIntersecting!==!!p)if(d.isIntersecting){const f=t(d.target,d);typeof f=="function"?a.set(d.target,f):c.unobserve(d.target)}else typeof p=="function"&&(p(d),a.delete(d.target))})},c=new IntersectionObserver(l,{root:n,rootMargin:r,threshold:typeof s=="number"?s:BR[s]});return o.forEach(u=>c.observe(u)),()=>c.disconnect()}function Vh(e,{root:t,margin:n,amount:r,once:s=!1,initial:o=!1}={}){const[a,l]=h.useState(o);return h.useEffect(()=>{if(!e.current||s&&a)return;const c=()=>(l(!0),s?void 0:()=>l(!1)),u={root:t&&t.current||void 0,margin:n,amount:r};return zR(e.current,c,u)},[t,e,n,s,r]),a}const $R=28,wg=4,WR="#6D28D9",UR="#5CA4F6",rn=e=>{const t=Math.sin(e*127.1+311.7)*43758.5453;return t-Math.floor(t)},bg=e=>({r:parseInt(e.slice(1,3),16),g:parseInt(e.slice(3,5),16),b:parseInt(e.slice(5,7),16)}
335),Rr=(e,t,n)=>{const r=bg(e),s=bg(t),o=Math.round(r.r*(1-n)+s.r*n),a=Math.round(r.g*(1-n)+s.g*n),l=Math.round(r.b*(1-n)+s.b*n);return`rgb(${o}, ${a}, ${l})`},pj=(e,[t,n],[r,s])=>e<=t?r:e>=n?s:r+(e-t)/(n-t)*(s-r),HR=(e,t,n)=>{for(let r=0;r<t.length-1;r++)if(e<=t[r+1])return pj(e,[t[r],t[r+1]],[n[r],n[r+1]]);return n[n.length-1]},GR=(e=!1)=>{const[t,n]=h.useState(0),r=h.useRef(null);return h.useEffect(()=>{if(e)return;let s=0;const o=a=>{r.current===null&&(r.current=a),n((a-r.current)/1e3),s=requestAnimationFrame(o)};return s=requestAnimationFrame(o),()=>cancelAnimationFrame(s)},[e]),t},KR=()=>{const[e,t]=h.useState(!1);return h.useEffect(()=>{if(typeof window>"u"||!window.matchMedia)return;const n=window.matchMedia("(prefers-reduced-motion: reduce)");t(n.matches);const r=s=>t(s.matches);return n.addEventListener("change",r),()=>n.removeEventListener("change",r)},[]),e},Bh=({mode:e="idle",size:t=280,primary:n=WR,secondary:r=UR,intensity:s=1})=>{const o=KR(),a=GR(o),l=e==="idle"?0:1,c=e==="speaking"?1:0,u=t*.607,d=Math.sin(a*.7)*.03,p=Math.sin(a*1)*.05,f=Math.sin(a*3.5)*.12+Math.sin(a*5.7)*.06,m=1+d*(1-l)+p*l*(1-c)+(f*.15+.08)*c,v=a*14%360*l*(1-c)+a*35%360*c,x=(.55+l*.2+c*.15)*s,g=1+Math.sin(a*1.1)*.015*(1-l)+Math.sin(a*.9)*.06*l+c*.1,y=(.45+l*.15+c*.15)*s,w=5+l*5+c*25,j=a*w%360,k=.3+c*.15,T=e==="speaking"?a*45%360:e==="listening"?a*18%360:0,P=e==="speaking"?-a*30%360:e==="listening"?-a*12%360:0,E=e==="speaking"?a*22%360:e==="listening"?a*9%360:0,S=e==="speaking"?.45:e==="listening"?.3:0,C=h.useMemo(()=>Array.from({length:$R},(N,A)=>({angle0:rn(A+1)*Math.PI*2,baseRadius:70+rn(A+51)*50,speed:(.15+rn(A+73)*.25)*(rn(A+97)>.5?1:-1),sizeP:1+rn(A+131)*2,alpha:.15+rn(A+157)*.35,drift0:rn(A+191)*Math.PI*2,driftSpeed:.3+rn(A+211)*.5,phase0:rn(A+227)*Math.PI*2,flipColor:rn(A+251)>.5})),[]),D=e==="speaking"?1.6:e==="listening"?2.4:0,G=e!=="idle"?Array.from({length:wg},(N,A)=>{const B=D*wg,F=(a+A*D)%B/D;if(F>1)return null;const $=pj(F,[0,1],[.9,1.6]),K=HR(F,[0,.1,.5,1],[0,.3,.12,0]);return{scale:$,op:K,key:A}}).filter(N=>N!==null):[],U=[16,26,40,26,16].map((N,A)=>N+Math.sin(a*.8+A*.5)*3),z=[18+Math.sin(a*8)*10,28+Math.sin(a*11+.5)*12,40+Math.sin(a*9+1.1)*14,28+Math.sin(a*13+.7)*12,18+Math.sin(a*7+.3)*10],M=e==="speaking"?z:U;return i.jsxs("div",{style:{position:"relative",width:t,height:t,display:"grid",placeItems:"center"},children:[i.jsx("div",{style:{position:"absolute",inset:"-40%",borderRadius:"50%",background:`radial-gradient(circle, ${Rr(n,"#ffffff",0)}40 0%, ${Rr(r,"#ffffff",0)}26 40%, transparent 70%)`,filter:"blur(60px)",opacity:y,transform:`scale(${g})`}}),i.jsx("div",{style:{position:"absolute",inset:"-20%",borderRadius:"50%",background:`conic-gradient(from 0deg, ${r}, ${n} 25%, ${Rr(n,r,.4)} 50%, ${Rr(r,n,.4)} 75%, ${r})`,filter:"blur(55px)",opacity:x,transform:`scale(${m}) rotate(${v}deg)`}}),S>0&&i.jsxs("div",{style:{position:"absolute",inset:-5,borderRadius:"50%",pointerEvents:"none",opacity:S},children:[i.jsx("div",{style:{position:"absolute",inset:0,borderRadius:"50%",background:`conic-gradient(from 0deg, transparent 0%, ${r}73 8%, transparent 18%, transparent 50%, ${n}59 58%, transparent 68%, transparent 100%)`,WebkitMask:"radial-gradient(closest-side, transparent 82%, black 84%, black 100%)",mask:"radial-gradient(closest-side, transparent 82%, black 84%, black 100%)",filter:"blur(0.3px)",transform:`rotate(${T}deg)`}}),i.jsx("div",{style:{position:"absolute",inset:6,borderRadius:"50%",opacity:.7,background:`conic-gradient(from 120deg, transparent 0%, ${Rr("#ffffff",r,.5)} 5%, transparent 14%, transparent 55%, ${Rr("#ffffff",n,.6)} 62%, transparent 72%, transparent 100%)`,WebkitMask:"radial-gradient(closest-side, transparent 82%, black 84%, black 100%)",mask:"radial-gradient(closest-side, transparent 82%, black 84%, black 100%)",transform:`rotate(${P}deg)`}}),i.jsx("div",{style:{position:"absolute",inset:-8,borderRadius:"50%",opacity:.4,background:`conic-gradient(from 240deg, transparent 0%, ${n}4D 6%, transparent 15%, transparent 65%, ${r}40 72%, transparent 82%, transparent 100%)`,WebkitMask:"radial-gradient(closest-side, transparent 82%, black 84%, black 100%)",mask:"radial-gradient(closest-side, transparent 82%, black 84%, black 100%)",transform:`rotate(${E}deg)`}})]}),e!=="idle"&&C.map((N,A)=>
335{const B=N.angle0+N.speed*a*(1+l*.8),F=N.drift0+N.driftSpeed*a,$=Math.sin(F)*12*(1+c*.5),K=N.baseRadius+$+c*15,se=t/2+Math.cos(B)*K,ke=t/2+Math.sin(B)*K,ee=.7+Math.sin(N.phase0+a*2)*.3,De=N.alpha*ee*(.4+l*.6)*s,Y=N.sizeP*(1+c*.6),re=N.flipColor?n:r;return i.jsx("div",{style:{position:"absolute",left:se-Y*2.5,top:ke-Y*2.5,width:Y*5,height:Y*5,borderRadius:"50%",background:`radial-gradient(closest-side, ${re}, transparent 70%)`,opacity:De,pointerEvents:"none"}},A)}),G.map(N=>i.jsx("div",{style:{position:"absolute",top:"50%",left:"50%",width:u,height:u,borderRadius:"50%",transform:`translate(-50%, -50%) scale(${N.scale})`,opacity:N.op*s,border:`1px solid ${n}33`,background:`radial-gradient(closest-side, ${n}14, transparent)`,pointerEvents:"none"}},N.key)),i.jsxs("div",{style:{width:u,height:u,borderRadius:"50%",position:"relative",zIndex:2,display:"grid",placeItems:"center",overflow:"hidden",background:"radial-gradient(ellipse at 35% 25%, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.7) 20%, rgba(255,255,255,0.55) 50%, rgba(255,255,255,0.45) 100%)",border:"1px solid rgba(255,255,255,0.6)",backdropFilter:"blur(16px) saturate(160%)",boxShadow:`0 8px ${32+c*16}px rgba(0,0,0,${.08+c*.06}), 0 2px 8px rgba(0,0,0,0.04), inset 0 2px 4px rgba(255,255,255,0.9), inset 0 -2px 6px rgba(0,0,0,0.04)`},children:[i.jsx("div",{style:{position:"absolute",top:"8%",left:"15%",width:"55%",height:"35%",borderRadius:"50%",background:"radial-gradient(ellipse at 50% 50%, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0.3) 40%, transparent 70%)",pointerEvents:"none",transform:"rotate(-15deg)"}}),i.jsx("div",{style:{position:"absolute",inset:0,borderRadius:"50%",boxShadow:"inset 0 -20px 40px rgba(0,0,0,0.03)",pointerEvents:"none"}}),i.jsx("div",{style:{position:"absolute",inset:"-40%",borderRadius:"50%",background:"conic-gradient(from 0deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.25) 8%, rgba(255,255,255,0) 18%, rgba(255,255,255,0) 50%, rgba(255,255,255,0.18) 58%, rgba(255,255,255,0) 68%, rgba(255,255,255,0) 100%)",filter:"blur(6px)",pointerEvents:"none",opacity:k,transform:`rotate(${j}deg)`}}),i.jsx("div",{style:{display:"flex",gap:6*(t/280),alignItems:"center",height:44*(t/280),opacity:s},children:M.map((N,A)=>i.jsx("div",{style:{display:"block",width:4*(t/280),height:N*(t/280),borderRadius:3,background:Rr(n,"#000000",.2)}},A))})]})]})},YR=[.16,1,.3,1],jg=[{label:"Try the Product Room live",href:"/",accent:"#5CA4F6"},{label:"Try the Video Room live",href:"/video-room",accent:"#d97757"}],QR=180,XR=()=>{const e=Zt()??!1,[t,n]=h.useState(!1),[r,s]=h.useState(!1),o=h.useRef(null),a=h.useRef(void 0);h.useEffect(()=>s(!0),[]);const l=()=>{a.current!==void 0&&(window.clearTimeout(a.current),a.current=void 0)},c=()=>{l(),a.current=window.setTimeout(()=>n(!1),QR)};if(h.useEffect(()=>{if(!t)return;const d=f=>{o.current&&!o.current.contains(f.target)&&(l(),n(!1))},p=f=>{f.key==="Escape"&&(l(),n(!1))};return document.addEventListener("pointerdown",d),document.addEventListener("keydown",p),()=>{document.removeEventListener("pointerdown",d),document.removeEventListener("keydown",p)}},[t]),h.useEffect(()=>()=>l(),[]),!r)return null;const u=i.jsxs("div",{ref:o,onMouseEnter:()=>{l(),n(!0)},onMouseLeave:c,className:"fixed bottom-5 right-5 z-50 flex flex-col items-end gap-3 print:hidden md:bottom-6 md:right-6",children:[i.jsx(Ic,{children:t&&i.jsx("div",{className:"flex flex-col items-end gap-2.5",children:jg.slice().reverse().map((d,p)=>{const f=jg.length-1-p;return i.jsx(I.div,{initial:e?{opacity:0}:{opacity:0,y:14,scale:.94},animate:e?{opacity:1}:{opacity:1,y:0,scale:1},exit:e?{opacity:0}:{opacity:0,y:8,scale:.96},transition:{duration:.35,delay:f*.06,ease:YR},children:i.jsxs(Qe,{to:d.href,onClick:()=>{l(),n(!1)},className:"group inline-flex items-center gap-2 rounded-full bg-paper px-4 py-2.5 text-[13px] font-medium text-ink shadow-[0_14px_30px_-14px_rgba(11,11,13,0.32)] ring-1 ring-offWhite transition-all duration-300 ease-[cubic-bezier(0.16,1,0.3,1)] hover:-translate-y-px hover:text-ink hover:shadow-[0_18px_36px_-14px_rgba(11,11,13,0.42)]",style:{"--accent":d.accent},children:[i.jsx("span",{className:"transition-colors duration-300 group-hover:text-[var(--accent)]",children:d.label}
335),i.jsx("span",{"aria-hidden":!0,className:"inline-block text-mute transition-all duration-300 group-hover:translate-x-0.5 group-hover:text-[var(--accent)]",children:"→"})]})},d.href)})})}),i.jsxs("button",{type:"button",onClick:()=>n(d=>!d),"aria-expanded":t,"aria-haspopup":"menu","aria-label":t?"Close menu":"Try it live — open menu",className:"group relative inline-flex h-[88px] w-[88px] items-center justify-center rounded-full transition-transform duration-300 ease-[cubic-bezier(0.16,1,0.3,1)] hover:-translate-y-0.5",children:[i.jsx("span",{"aria-hidden":!0,className:"halo-breath pointer-events-none absolute inset-0 rounded-full transition-opacity duration-300 group-hover:opacity-90",style:{background:"radial-gradient(closest-side, rgba(109,40,217,0.55) 0%, rgba(109,40,217,0.32) 32%, rgba(109,40,217,0.14) 60%, rgba(109,40,217,0.04) 80%, transparent 92%)"}}),i.jsx("span",{className:"pointer-events-none relative",children:i.jsx(Bh,{mode:t?"speaking":"listening",size:62,primary:"#6D28D9",secondary:"#5CA4F6",intensity:1.15})})]})]});return Er.createPortal(u,document.body)},qR="https://script.google.com/macros/s/AKfycbzlVTWJnT1_wgNlpX0MtmweduaRewR2GE6EreJT6gEIhQTkUyYvQWzJVU92u773vRJm/exec";async function hj(e,t){const n={formId:e,submittedAt:new Date().toISOString(),pathname:typeof window<"u"?window.location.pathname:"",referrer:typeof document<"u"?document.referrer:"",userAgent:typeof navigator<"u"?navigator.userAgent:"",...t};await fetch(qR,{method:"POST",mode:"no-cors",headers:{"Content-Type":"text/plain;charset=utf-8"},body:JSON.stringify(n)})}const kg=[.16,1,.3,1],Ln=({className:e,children:t,source:n})=>{const[r,s]=h.useState(!1);return i.jsxs(i.Fragment,{children:[i.jsx("button",{type:"button",onClick:()=>s(!0),className:e,children:t}),i.jsx(ZR,{open:r,onClose:()=>s(!1),source:n})]})},ZR=({open:e,onClose:t,source:n})=>{const r=Zt()??!1,[s,o]=h.useState(""),[a,l]=h.useState(""),[c,u]=h.useState(""),[d,p]=h.useState("idle"),[f,m]=h.useState(!1);h.useEffect(()=>m(!0),[]),h.useEffect(()=>{if(!e)return;const b=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.body.style.overflow=b}},[e]),h.useEffect(()=>{if(!e)return;const b=g=>{g.key==="Escape"&&t()};return document.addEventListener("keydown",b),()=>document.removeEventListener("keydown",b)},[e,t]);const v=s.trim()&&a.trim()&&d!=="sending",x=async b=>{if(b.preventDefault(),!!v){p("sending");try{await hj("product-brain-signup",{name:s.trim(),email:a.trim(),company:c.trim(),source:n??""}),p("success"),window.setTimeout(()=>{window.location.href=Lo},1200)}catch{p("error")}}};return f?Er.createPortal(i.jsx(Ic,{children:e&&i.jsxs(I.div,{initial:{opacity:0}
335,animate:{opacity:1},exit:{opacity:0},transition:{duration:.2,ease:kg},className:"fixed inset-0 z-[70] flex items-center justify-center px-4 py-8",children:[i.jsx("div",{"aria-hidden":!0,onClick:t,className:"absolute inset-0 bg-ink/45 backdrop-blur-sm"}),i.jsxs(I.div,{role:"dialog","aria-modal":"true","aria-labelledby":"build-brain-title",initial:r?{opacity:0}:{opacity:0,y:12,scale:.96},animate:r?{opacity:1}:{opacity:1,y:0,scale:1},exit:r?{opacity:0}:{opacity:0,y:8,scale:.97},transition:{duration:.32,ease:kg},className:"relative w-full max-w-md rounded-2xl bg-paper p-7 shadow-[0_30px_80px_-20px_rgba(11,11,13,0.45)] md:p-9",children:[i.jsx("button",{type:"button",onClick:t,"aria-label":"Close",className:"absolute right-3 top-3 inline-flex h-9 w-9 items-center justify-center rounded-full text-mute transition-colors duration-300 hover:bg-offWhite hover:text-ink",children:i.jsx("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",stroke:"currentColor",strokeWidth:"1.6",strokeLinecap:"round",children:i.jsx("path",{d:"M3 3l8 8M11 3l-8 8"})})}),d==="success"?i.jsxs("div",{className:"flex flex-col items-start gap-5 py-2",children:[i.jsx("span",{className:"grid h-10 w-10 place-items-center rounded-full bg-mint text-ink",children:i.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:i.jsx("path",{d:"M3 8.5l3.5 3.5L13 5.5"})})}),i.jsxs("div",{children:[i.jsxs("p",{className:"font-mono text-[10px] uppercase tracking-eyebrow text-mute",children:["Got it, ",s.split(" ")[0]||"there"]}),i.jsx("h3",{id:"build-brain-title",className:"mt-2 font-display text-[22px] font-medium tracking-tighter-3 text-ink md:text-[26px]",children:"Taking you to onboarding…"}),i.jsxs("p",{className:"mt-3 max-w-sm text-[13.5px] leading-relaxed text-body/80",children:["If the page doesn’t open automatically,"," ",i.jsx("a",{href:Lo,className:"text-ink underline-offset-4 hover:underline",children:"click here"}),"."]})]})]}):i.jsxs("form",{onSubmit:x,className:"flex flex-col gap-4",children:[i.jsxs("div",{children:[i.jsx("p",{className:"font-mono text-[10px] uppercase tracking-eyebrow text-mute",children:"Build your Product Brain"}),i.jsx("h3",{id:"build-brain-title",className:"mt-2 font-display text-[22px] font-medium tracking-tighter-3 text-ink md:text-[26px]",children:"Two fields, then we’ll get you set up."})]}),i.jsx(Yu,{id:"bb-name",label:"Your name",value:s,onChange:o,placeholder:"Cam Lopez",required:!0,disabled:d==="sending",autoFocus:!0}),i.jsx(Yu,{id:"bb-email",label:"Work email",type:"email",value:a,onChange:l,placeholder:"[email protected]",required:!0,disabled:d==="sending"}),i.jsx(Yu,{id:"bb-company",label:"Company",value:c,onChange:u,placeholder:"Acme",optional:!0,disabled:d==="sending"}),i.jsxs("button",{type:"submit",disabled:!v,className:"group mt-1 inline-flex items-center justify-center gap-2 rounded-full bg-ink px-7 py-3.5 text-base font-medium text-paper transition-all duration-300 hover:-translate-y-px hover:bg-inkSoft disabled:cursor-not-allowed disabled:opacity-50 disabled:hover:translate-y-0",children:[i.jsx("span",{children:d==="sending"?"Setting up…":"Continue to onboarding"}),d!=="sending"&&i.jsx("span",{"aria-hidden":!0,className:"transition-transform duration-500 group-hover:translate-x-1",children:"→"})]}),d==="error"&&i.jsx("p",{className:"text-[12.5px] text-coral",children:"Something went wrong. Try again, or email us at [email protected]."}),i.jsx("p",{className:"text-[11.5px] leading-relaxed text-mute",children:"We use your details to set up your account. No marketing list."})]})]})]})}),document.body):null},Yu=({id:e,label:t,value:n,onChange:r,placeholder:s,type:o="text",required:a,optional:l,disabled:c,autoFocus:u})=>i.jsxs("div",{children:[i.jsxs("label",{htmlFor:e,className:"font-mono text-[10px] uppercase tracking-eyebrow text-mute",children:[t,l&&i.jsx("span",{className:"text-mute/60",children:" (optional)"})]}),i.jsx("input",{id:e,type:o,value:n,onChange:d=>r(d.target.value),placeholder:s,required:a,disabled:c,autoFocus:u,className:"mt-2 w-full rounded-xl border border-offWhite bg-paper px-4 py-3 text-[14px] text-body placeholder:text-mute focus:border-brandViolet focus:outline-none focus:ring-2 focus:ring-brandViolet/20 disabled:opacity-60"})]}),Lo="https://www.app.revola.ai/",JR=[.16,1,.3,1],eM=[{href:"/product",label:"Product Overview"},{href:"/product-room",label:"Product Room"},{href:"/deal-video",label:"Video Studio"}],tM=160,nM=({dark:e=!1})=>{const[t,n]=h.useState(!1),r=h.useRef(void 0),s=()=>{r.current!==void 0&&(window.clearTimeout(r.current),r.current=void 0)},o=()=>{s(),r.current=window.setTimeout(()=>n(!1),tM)};return h.useEffect(()=>()=>s(),[]),i.jsxs("div",{className:"relative",onMouseEnter:()=>{s(),n(!0)},onMouseLeave:o,children:[i.jsxs(Qe,{to:"/product",className:`group relative inline-block text-sm transition-colors duration-300 ${e?"text-paper/70 hover:text-paper":"text-body/80 hover:text-ink"}
335`,children:["Product",i.jsx("span",{"aria-hidden":!0,className:`absolute -bottom-1 left-0 h-px w-full origin-left transition-transform duration-500 ease-[cubic-bezier(0.16,1,0.3,1)] ${e?"bg-paper":"bg-ink"} ${t?"scale-x-100":"scale-x-0 group-hover:scale-x-100"}`})]}),i.jsx(Ic,{children:t&&i.jsx(I.div,{initial:{opacity:0,y:-4},animate:{opacity:1,y:0},exit:{opacity:0,y:-2},transition:{duration:.2,ease:JR},className:"absolute left-0 top-full z-30 min-w-[200px] pt-3",children:i.jsx("div",{role:"menu",className:"rounded-2xl bg-paper p-1.5 shadow-[0_18px_50px_-20px_rgba(11,11,13,0.28)] ring-1 ring-offWhite",children:eM.map(a=>i.jsxs(Qe,{to:a.href,onClick:()=>n(!1),role:"menuitem",className:"group/item flex items-center justify-between gap-3 rounded-xl px-3 py-2.5 text-sm text-body/85 transition-colors duration-300 hover:bg-offWhite/60 hover:text-ink",children:[i.jsx("span",{children:a.label}),i.jsx("span",{"aria-hidden":!0,className:"text-mute transition-transform duration-300 group-hover/item:translate-x-0.5 group-hover/item:text-ink",children:"→"})]},a.href))})})})]})},Tr=({variant:e="default",tone:t="light"})=>{const n=t==="dark",r=n?"text-paper/70 hover:text-paper":"text-body/80 hover:text-ink",s=n?"bg-paper":"bg-ink";return i.jsxs("header",{className:"sticky top-0 z-40 bg-transparent",children:[i.jsxs("div",{className:"mx-auto flex max-w-[1280px] items-center justify-between px-6 py-5 md:px-10",children:[i.jsx(Qe,{to:"/",className:"group flex items-center","aria-label":"Revola — home",children:i.jsx("img",{src:"/logo.png",alt:"Revola",className:`h-8 w-auto transition-transform duration-500 ease-[cubic-bezier(0.16,1,0.3,1)] group-hover:scale-[1.04] md:h-10 ${n?"brightness-0 invert":""}`,decoding:"async"})}),i.jsxs("nav",{className:"hidden items-center gap-8 md:flex",children:[i.jsx(nM,{dark:n}),i.jsxs(Qe,{to:"/pricing",className:`group relative text-sm transition-colors duration-300 ${r}`,children:["Pricing",i.jsx("span",{"aria-hidden":!0,className:`absolute -bottom-1 left-0 h-px w-full origin-left scale-x-0 transition-transform duration-500 ease-[cubic-bezier(0.16,1,0.3,1)] group-hover:scale-x-100 ${s}`})]}),i.jsxs(Qe,{to:"/contact",className:`group relative text-sm transition-colors duration-300 ${r}`,children:["Contact",i.jsx("span",{"aria-hidden":!0,className:`absolute -bottom-1 left-0 h-px w-full origin-left scale-x-0 transition-transform duration-500 ease-[cubic-bezier(0.16,1,0.3,1)] group-hover:scale-x-100 ${s}`})]})]}),i.jsxs("div",{className:"flex items-center gap-4",children:[i.jsxs("a",{href:Lo,className:`group relative hidden text-sm transition-colors duration-300 md:inline-block ${r}
335`,children:[e==="auth"?"Log in":"Sign in",i.jsx("span",{"aria-hidden":!0,className:`absolute -bottom-1 left-0 h-px w-full origin-left scale-x-0 transition-transform duration-500 ease-[cubic-bezier(0.16,1,0.3,1)] group-hover:scale-x-100 ${s}`})]}),e==="auth"?i.jsxs("a",{href:Lo,className:`group inline-flex items-center gap-1.5 rounded-full px-5 py-2.5 text-sm font-medium transition-all duration-300 ease-[cubic-bezier(0.16,1,0.3,1)] hover:-translate-y-px ${n?"bg-paper text-ink hover:bg-white hover:shadow-[0_10px_28px_-14px_rgba(0,0,0,0.6)]":"bg-ink text-paper shadow-[0_1px_0_0_rgba(255,255,255,0.06)_inset] hover:bg-inkSoft hover:shadow-[0_10px_28px_-14px_rgba(20,20,24,0.55)]"}`,children:[i.jsx("span",{children:"Sign up"}),i.jsx("span",{"aria-hidden":!0,className:"inline-block transition-transform duration-500 ease-[cubic-bezier(0.16,1,0.3,1)] group-hover:translate-x-1",children:"→"})]}):i.jsxs(Ln,{source:"header",className:"group inline-flex items-center gap-1.5 rounded-full bg-ink px-5 py-2.5 text-sm font-medium text-paper shadow-[0_1px_0_0_rgba(255,255,255,0.06)_inset] transition-all duration-300 ease-[cubic-bezier(0.16,1,0.3,1)] hover:-translate-y-px hover:bg-inkSoft hover:shadow-[0_10px_28px_-14px_rgba(20,20,24,0.55)]",children:[i.jsx("span",{children:"Build your Product Brain"}),i.jsx("span",{"aria-hidden":!0,className:"inline-block transition-transform duration-500 ease-[cubic-bezier(0.16,1,0.3,1)] group-hover:translate-x-1",children:"→"})]})]})]}),i.jsx(XR,{})]})},rM=[{label:"X",href:"https://x.com/revolaAI",Icon:Z1},{label:"LinkedIn",href:"https://www.linkedin.com/company/revolaai/",Icon:Hp}],sM=[{title:"Product",links:[{label:"Product Brain",href:"/product"},{label:"Product Room",href:"/product-room"},{label:"Video Studio",href:"/deal-video"},{label:"Pricing",href:"/pricing"}]},{title:"Company",links:[{label:"About",href:"/company"},{label:"Contact",href:"/contact"},{label:"Sign in",href:Lo,external:!0}]},{title:"Legal",links:[{label:"Privacy",href:"/privacy-policy"},{label:"Terms",href:"/terms-of-service"}]}],Pr=()=>i.jsxs("footer",{className:"bg-inkSoft text-paper",children:[i.jsxs("div",{className:"mx-auto grid max-w-[1280px] grid-cols-1 gap-12 px-6 py-16 md:grid-cols-[1.4fr_2fr] md:gap-20 md:px-10 md:py-20",children:[i.jsxs("div",{children:[i.jsx(Qe,{to:"/",className:"inline-block","aria-label":"Revola — home",children:i.jsx("img",{src:"/logo.png",alt:"Revola",className:"h-7 w-auto brightness-0 invert",decoding:"async"})}),i.jsx("p",{className:"mt-5 max-w-[28ch] text-[15px] leading-snug text-paper/70",children:"One Brain. Every channel. Every signal."}),i.jsx("div",{className:"mt-6 flex items-center gap-3",children:rM.map(({label:e,href:t,Icon:n})=>i.jsx("a",{href:t,target:"_blank",rel:"noopener noreferrer","aria-label":`Revola on ${e}`,className:"flex h-9 w-9 items-center justify-center rounded-full ring-1 ring-paper/15 text-paper/60 transition-colors duration-300 hover:text-paper hover:ring-paper/40",children:i.jsx(n,{className:"h-4 w-4"})},e))})]}),i.jsx("div",{className:"grid grid-cols-2 gap-10 sm:grid-cols-3 md:gap-16",children:sM.map(e=>i.jsxs("div",{children:[i.jsx("p",{className:"font-mono text-[10px] uppercase tracking-eyebrow text-paper/50",children:e.title}),i.jsx("ul",{className:"mt-4 flex flex-col gap-2.5",children:e.links.map(t=>t.external?i.jsx("li",{children:i.jsx("a",{href:t.href,className:"text-[14px] text-paper/75 transition-colors duration-300 hover:text-paper",children:t.label})},t.href):i.jsx("li",{children:i.jsx(Qe,{to:t.href,className:"text-[14px] text-paper/75 transition-colors duration-300 hover:text-paper",children:t.label})},t.href))})]},e.title))})]}),i.jsxs("div",{className:"mx-auto flex max-w-[1280px] items-center justify-between gap-4 border-t border-paper/10 px-6 py-6 md:px-10",children:[i.jsx("span",{className:"font-mono text-[11px] tracking-tighter-4 text-paper/55",children:"© Revola 2026"}),i.jsx("span",{className:"font-mono text-[10px] uppercase tracking-wordmark text-paper/40",children:"REVOLA"})]})]}),Wf="Growth tier starts at $12K/yr — volume discount kicks in at 100 seats. Want me to send the rate sheet?",Qu=1700,Xu=3300,mj=4800,xj=28,iM=mj+Wf.length*xj+300,qu=[.16,1,.3,1],Ng={type:"spring",stiffness:55,damping:22,mass:1.15},oM=(e,t,n,r)=>{const[s,o]=h.useState(r?e:"");return h.useEffect(()=>{if(r){o(e);return}o("");let a=0,l;const c=window.setTimeout(()=>{l=window.setInterval(()=>{a+=1,o(e.slice(0,a)),a>=e.length&&window.clearInterval(l)},n)},t);return()=>{window.clearTimeout(c),l!==void 0&&window.clearInterval(l)}},[e,t,n,r]),s},aM=(e,t)=>{const[n,r]=h.useState(t);return h.useEffect(()=>{if(t){r(!0);return}r(!1);const s=window.setTimeout(()=>r(!0),e);return()=>window.clearTimeout(s)},[e,t]),n},lM=()=>{const e=Zt()??!1,[t,n]=h.useState(e?2:0),[r,s]=h.useState("idle");h.useEffect(()=>{if(e)return;const c=[];return c.push(window.setTimeout(()=>n(1),Qu)),c.push(window.setTimeout(()=>n(2),Xu)),c.push(window.setTimeout(()=>s("listening"),Qu)),c.push(window.setTimeout(()=>s("idle"),Qu+1300)),c.push(window.setTimeout(()=>s("listening"),Xu)),c.push(window.setTimeout(()=>s("idle"),Xu+1700)),()=>c.forEach(u=>window.clearTimeout(u))},[e]);const o=oM(Wf,mj,xj,e),a=aM(iM,e),l=o.length<Wf.length;return i.jsx("div",{className:"relative flex w-full items-center justify-center md:justify-end",children:i.jsxs("div",{className:"flex items-center gap-3 lg:gap-4",children:[i.jsxs("div",{className:"flex flex-col gap-2.5 md:w-[210px] lg:w-[250px]",children:[i.jsx(I.div,{"aria-label":"Buyer's question",initial:e?!1:{x:50,scale:.7,opacity:0}
335,animate:t>=1?{x:0,scale:1,opacity:1}:!1,transition:e?void 0:Ng,style:{transformOrigin:"right center"},className:"hidden md:block",children:i.jsxs("div",{className:"rounded-2xl border border-offWhite bg-paper px-3.5 py-2.5 shadow-[0_8px_24px_-14px_rgba(11,11,13,0.12)]",children:[i.jsx("p",{className:"font-mono text-[10px] uppercase tracking-eyebrow text-mute",children:"Buyer · just now"}),i.jsx("p",{className:"mt-1 text-[13px] leading-snug text-body",children:"Pricing for 50 seats?"})]})}),i.jsx(I.div,{"aria-label":"Revola's answer",initial:e?!1:{x:50,scale:.7,opacity:0},animate:t>=2?{x:0,scale:1,opacity:1}:!1,transition:e?void 0:Ng,style:{transformOrigin:"right center"},className:"hidden md:block",children:i.jsxs("div",{className:"rounded-2xl bg-white px-4 py-3 shadow-[0_18px_50px_-22px_rgba(11,11,13,0.18)] ring-1 ring-offWhite",children:[i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsx("span",{"aria-hidden":!0,className:"inline-flex h-5 w-5 items-center justify-center rounded-md bg-brandViolet/[0.12] font-mono text-[10px] font-semibold text-brandViolet",children:"R"}),i.jsx("span",{className:"font-mono text-[10px] uppercase tracking-eyebrow text-mute",children:"Revola · 0.4s"})]}),i.jsxs("p",{className:"mt-2 min-h-[5em] text-[12.5px] leading-relaxed text-body","aria-live":"polite",children:[o,l&&i.jsx("span",{className:"cursor-bar text-brandViolet","aria-hidden":!0})]}),a&&i.jsxs(I.div,{initial:e?!1:{opacity:0,y:4},animate:{opacity:1,y:0},transition:{duration:.5,ease:qu},className:"mt-2.5 flex flex-wrap items-center gap-1.5 border-t border-offWhite pt-2.5",children:[i.jsx("span",{className:"font-mono text-[10px] uppercase tracking-eyebrow text-mute",children:"Sources"}),["pricing/Q4-rates.pdf","sales-deck/2025.key"].map((c,u)=>i.jsx(I.span,{initial:e?!1:{opacity:0,y:3},animate:{opacity:1,y:0},transition:{duration:.4,delay:.05+u*.08,ease:qu},className:"rounded-md bg-offWhite/70 px-2 py-1 font-mono text-[10px] text-mute",children:c},c))]})]})})]}),i.jsx(I.div,{initial:e?!1:{opacity:0,scale:.92},animate:{opacity:1,scale:1},transition:{duration:1,ease:qu},className:"flex-none",children:i.jsx("div",{className:"animate-orb-float",children:i.jsx(Bh,{mode:r,size:200})})})]})})},Fr=[.16,1,.3,1],ms={hidden:{opacity:0,y:24},show:e=>({opacity:1,y:0,transition:{duration:.6,delay:.1+e*.1,ease:Fr}})},cM=[{label:"ChatGPT",color:"#10A37F",bg:"rgba(16, 163, 127, 0.10)"},{label:"Claude",color:"#cc785c",bg:"rgba(204, 120, 92, 0.12)"},{label:"Perplexity",color:"#1FB8CD",bg:"rgba(31, 184, 205, 0.10)"}],Sg=[{num:"01",label:"Awareness",note:"A buyer notices a category they need to fix."},{num:"02",label:"Research",note:"Asks ChatGPT, Claude, Perplexity. Reads what AI says about you."},{num:"03",label:"Shortlist",note:"Decides — internally — who is even worth a call."},{num:"04",label:"Sales call",note:"You finally enter the room. The decision is mostly made."}],uM=()=>i.jsxs("section",{className:"relative overflow-hidden bg-paper",children:[i.jsx("div",{"aria-hidden":!0,className:"drift-slow pointer-events-none absolute -bottom-32 -right-32 h-[480px] w-[480px] rounded-full opacity-40",style:{background:"radial-gradient(circle, rgba(248, 184, 170, 0.40) 0%, rgba(248, 184, 170, 0.10) 50%, transparent 80%)",filter:"blur(60px)"}}),i.jsx("div",{"aria-hidden":!0,className:"pointer-events-none absolute -left-32 top-1/4 h-[400px] w-[400px] rounded-full opacity-35",style:{background:"radial-gradient(circle, rgba(255, 243, 194, 0.65) 0%, rgba(255, 243, 194, 0.14) 50%, transparent 80%)",filter:"blur(60px)"}}),i.jsxs("div",{className:"mx-auto max-w-[1280px] px-6 py-24 md:px-10 md:py-32",children:[i.jsxs("div",{className:"grid grid-cols-1 gap-12 md:grid-cols-[1.35fr_1fr] md:gap-16 lg:gap-20",children:[i.jsxs("div",{children:[i.jsx(I.p,{initial:"hidden",whileInView:"show",viewport:{once:!0,margin:"-80px"},custom:0,variants:ms,className:"font-mono text-xs uppercase tracking-eyebrow text-mute",children:"The Reality"}),i.jsxs(I.h2,{initial:"hidden",whileInView:"show",viewport:{once:!0,margin:"-80px"},custom:1,variants:ms,className:"mt-8 max-w-[18ch] font-display text-[34px] font-medium leading-[1.05] tracking-tighter-2 text-ink sm:text-[42px] md:text-[52px] lg:text-[60px]",children:["By the time the call happens,"," ",i.jsx("span",{className:"inline-flex items-baseline",children:i.jsx("span",{className:"tabular-nums text-brandViolet",style:{fontSize:"1.35em",fontWeight:600,letterSpacing:"-0.045em"},children:"70%"})})," ","of the decision is already made."]}
335),i.jsxs(I.p,{initial:"hidden",whileInView:"show",viewport:{once:!0,margin:"-80px"},custom:2,variants:ms,className:"mt-6 max-w-[24ch] font-display text-[26px] font-medium leading-[1.15] tracking-tighter-3 text-ink sm:text-[32px] md:text-[40px] lg:text-[48px]",children:["And"," ",i.jsxs("span",{className:"relative inline-block isolate",children:[i.jsx("span",{"aria-hidden":!0,className:"absolute inset-x-0 bottom-[8%] -z-10 h-[42%] -skew-x-3",style:{background:"#f8b8aa",mixBlendMode:"multiply"}}),i.jsx("span",{className:"relative",children:"none of it was written by you."}),i.jsx("span",{"aria-hidden":!0,className:"absolute -bottom-1 left-0 h-[3px] w-full bg-brandViolet"})]})]})]}),i.jsxs(I.div,{initial:{opacity:0,x:16},whileInView:{opacity:1,x:0},viewport:{once:!0,margin:"-80px"},transition:{duration:.7,delay:.4,ease:Fr},className:"md:pt-2",children:[i.jsx("p",{className:"font-mono text-[11px] uppercase tracking-eyebrow text-mute",children:"The buying journey"}),i.jsxs("div",{className:"relative mt-6",children:[i.jsx("div",{"aria-hidden":!0,className:"absolute left-[10px] top-3 bottom-3 w-px bg-offWhite"}),i.jsx(I.div,{"aria-hidden":!0,initial:{scaleY:0},whileInView:{scaleY:1},viewport:{once:!0,margin:"-80px"},transition:{duration:1.2,delay:.7,ease:Fr},style:{transformOrigin:"top center"},className:"absolute left-[10px] top-3 h-[72%] w-[2px] bg-brandViolet/55"}),Sg.map((e,t)=>{const n=t===Sg.length-1;return i.jsxs(I.div,{initial:{opacity:0,x:8},whileInView:{opacity:1,x:0},viewport:{once:!0,margin:"-80px"},transition:{duration:.5,delay:.7+t*.12,ease:Fr},className:"relative flex items-start gap-4 py-3 first:pt-0 last:pb-0",children:[i.jsx("span",{"aria-hidden":!0,className:n?"mt-1 inline-flex h-[22px] w-[22px] flex-none items-center justify-center rounded-full bg-brandViolet font-mono text-[10px] font-semibold text-paper ring-4 ring-brandViolet/15":"mt-1 inline-flex h-[22px] w-[22px] flex-none items-center justify-center rounded-full border-2 border-brandViolet/45 bg-paper font-mono text-[10px] font-semibold text-brandViolet/80",children:e.num}),i.jsxs("div",{className:"min-w-0",children:[i.jsxs("p",{className:"flex flex-wrap items-baseline gap-x-2 font-display text-base font-medium leading-tight text-ink md:text-lg",children:[e.label,n&&i.jsx("span",{className:"font-mono text-[10px] uppercase tracking-eyebrow text-brandViolet",children:"· you’re here"})]}),i.jsx("p",{className:"mt-1 text-sm leading-relaxed text-body/70",children:e.note})]})]},e.num)})]}),i.jsxs("div",{className:"mt-5 flex justify-between border-t border-offWhite pt-3 font-mono text-[10px] uppercase tracking-eyebrow",children:[i.jsx("span",{className:"text-brandViolet",children:"70% · without you"}),i.jsx("span",{className:"text-mute",children:"30% · in the room"})]})]})]}),i.jsxs("div",{className:"mt-20 grid grid-cols-1 gap-12 md:mt-24 md:grid-cols-3 md:gap-10",children:[i.jsxs(I.div,{initial:"hidden",whileInView:"show",viewport:{once:!0,margin:"-80px"},custom:3,variants:ms,children:[i.jsx("p",{className:"font-mono text-xs uppercase tracking-eyebrow text-mute",children:"17% with sales"}),i.jsx("div",{className:"mt-3 h-1 w-full max-w-[160px] overflow-hidden rounded-full bg-offWhite",children:i.jsx(I.div,{initial:{scaleX:0},whileInView:{scaleX:1},viewport:{once:!0,margin:"-80px"},transition:{duration:.9,delay:.6,ease:Fr},style:{transformOrigin:"left center",width:"17%"},className:"h-full bg-ink"})}),i.jsx("p",{className:"mt-4 max-w-[36ch] text-lg leading-relaxed text-body md:text-xl",children:"The slice of the buying journey where you're in the room."})]}),i.jsxs(I.div,{initial:"hidden",whileInView:"show",viewport:{once:!0,margin:"-80px"},custom:4,variants:ms,children:[i.jsx("p",{className:"font-mono text-xs uppercase tracking-eyebrow text-mute",children:"6–10 stakeholders"}),i.jsx("div",{className:"mt-3 flex items-center gap-1.5",children:Array.from({length:10}).map((e,t)=>i.jsx(I.span,{initial:{opacity:0,scale:.5},whileInView:{opacity:1,scale:1},viewport:{once:!0,margin:"-80px"},transition:{duration:.3,delay:.5+t*.04,ease:Fr},className:t<6?"h-2 w-2 rounded-full bg-ink":"h-2 w-2 rounded-full border border-ink/40"},t))}),i.jsx("p",{className:"mt-4 max-w-[36ch] text-lg leading-relaxed text-body md:text-xl",children:"The size of a typical B2B buying committee."})]}
335),i.jsxs(I.div,{initial:"hidden",whileInView:"show",viewport:{once:!0,margin:"-80px"},custom:5,variants:ms,children:[i.jsx("p",{className:"font-mono text-xs uppercase tracking-eyebrow text-mute",children:"3 LLMs they’re asking"}),i.jsx("div",{className:"mt-3 flex flex-wrap items-center gap-1.5",children:cM.map((e,t)=>i.jsx(I.span,{initial:{opacity:0,y:4},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-80px"},transition:{duration:.4,delay:.5+t*.1,ease:Fr},style:{background:e.bg,color:e.color},className:"rounded-full px-2.5 py-0.5 text-[11px] font-medium",children:e.label},e.label))}),i.jsx("p",{className:"mt-4 max-w-[36ch] text-lg leading-relaxed text-body md:text-xl",children:"ChatGPT, Claude, and Perplexity field “is X any good?” questions about you — daily."})]})]})]})]}),Eg="Revola handles PII through a sealed inference layer — nothing leaves your account, nothing is retained by model providers. Each buyer session is isolated.",dM=1700,fM=24,pM=(e,t,n,r,s)=>{const[o,a]=h.useState(s?e:"");return h.useEffect(()=>{if(s){a(e);return}if(!r)return;a("");let l=0,c;const u=window.setTimeout(()=>{c=window.setInterval(()=>{l+=1,a(e.slice(0,l)),l>=e.length&&window.clearInterval(c)},n)},t);return()=>{window.clearTimeout(u),c!==void 0&&window.clearInterval(c)}},[e,t,n,r,s]),o},Cg=({kind:e,color:t})=>{const n={width:16,height:16,viewBox:"0 0 24 24",fill:"none",stroke:t,strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"};return e==="explore"?i.jsxs("svg",{...n,children:[i.jsx("rect",{x:"3",y:"5",width:"18",height:"12",rx:"2"}),i.jsx("path",{d:"M8 17v2h8v-2"})]}):e==="docs"?i.jsxs("svg",{...n,children:[i.jsx("path",{d:"M5 3h9l5 5v13H5z"}),i.jsx("path",{d:"M14 3v5h5"})]}):e==="calendar"?i.jsxs("svg",{...n,children:[i.jsx("rect",{x:"3",y:"5",width:"18",height:"16",rx:"2"}),i.jsx("path",{d:"M3 10h18M8 3v4M16 3v4"})]}):e==="invite"?i.jsxs("svg",{...n,children:[i.jsx("circle",{cx:"9",cy:"8",r:"3"}),i.jsx("path",{d:"M4 19v-1a5 5 0 0 1 10 0v1"}),i.jsx("path",{d:"M18 8h4M20 6v4"})]}):i.jsx("svg",{...n,children:i.jsx("path",{d:"M20 14.5A8 8 0 1 1 9.5 4a6 6 0 0 0 10.5 10.5z"})})},hM=()=>{const e=[{x:40,w:60,h:72},{x:110,w:40,h:56},{x:160,w:80,h:82},{x:250,w:50,h:66},{x:310,w:90,h:76},{x:410,w:70,h:84},{x:490,w:50,h:62},{x:550,w:85,h:78},{x:650,w:60,h:70},{x:1040,w:75,h:80},{x:1130,w:45,h:60},{x:1190,w:65,h:74},{x:1270,w:60,h:68}];return i.jsxs("svg",{width:"100%",height:"96",viewBox:"0 0 1380 96",preserveAspectRatio:"none",className:"pointer-events-none absolute inset-0 opacity-[0.18]","aria-hidden":!0,children:[i.jsx("defs",{children:i.jsxs("linearGradient",{id:"qseSkyGrad",x1:"0",y1:"0",x2:"0",y2:"1",children:[i.jsx("stop",{offset:"0%",stopColor:"#8aa4c8"}),i.jsx("stop",{offset:"100%",stopColor:"#e7ecf4"})]})}),e.map((t,n)=>i.jsx("rect",{x:t.x,y:96-t.h,width:t.w,height:t.h,fill:"url(#qseSkyGrad)"},n))]})},mM=()=>i.jsxs("svg",{width:"42",height:"42",viewBox:"0 0 48 48","aria-hidden":!0,children:[i.jsx("defs",{children:i.jsxs("linearGradient",{id:"contosoMarkGrad",x1:"0",y1:"0",x2:"1",y2:"1",children:[i.jsx("stop",{offset:"0%",stopColor:"#2c5282"}),i.jsx("stop",{offset:"100%",stopColor:"#1e3a5f"})]})}),i.jsx("rect",{x:"2",y:"2",width:"44",height:"44",rx:"11",fill:"url(#contosoMarkGrad)"}),i.jsx("text",{x:"24",y:"32",textAnchor:"middle",fontFamily:"Geist, sans-serif",fontSize:"22",fontWeight:"700",fill:"#ffffff",letterSpacing:"-0.04em",children:"C"})]}),xM=[{kind:"explore",label:"Explore",active:!0},{kind:"docs",label:"Documents"},{kind:"calendar",label:"Book Meeting"},{kind:"invite",label:"Invite"}],gM=["Overview","The Problem","QSE Solution","Assess & Plan","SDK: Keys & Encryption","Identity (QAuth)"],yM=()=>{const e=h.useRef(null),t=Zt()??!1,n=Vh(e,{once:!0,margin:"-80px"}),r=t||n,s=pM(Eg,dM,fM,r,t),o=s.length<Eg.length,[a,l]=h.useState(t);return h.useEffect(()=>{if(!r||t)return;const c=window.setTimeout(()=>l(!0),900);return()=>window.clearTimeout(c)},[r,t]),i.jsxs("div",{ref:e,className:"overflow-hidden rounded-[18px] bg-paper ring-1 ring-ink/[0.05] shadow-[0_30px_70px_-20px_rgba(12,12,16,0.18),0_6px_20px_-6px_rgba(12,12,16,0.06)]",children:[i.jsxs("div",{className:"relative flex h-[88px] items-center justify-center gap-5 overflow-hidden border-b border-ink/[0.05] px-4 sm:gap-10 md:h-[96px] md:gap-16",style:{background:"linear-gradient(180deg, #e7ecf4 0%, #eef2f8 55%, #f5f7fa 100%)"},children:[i.jsx(hM,{}),i.jsxs("div",{className:"relative z-10 flex items-center gap-3",children:[i.jsx(mM,{}),i.jsxs("div",{className:"leading-[1.1]",children:[i.jsx("div",{className:"text-[16px] font-bold tracking-tighter-4 text-[#1c1c3e]",children:"Contoso"}),i.jsx("div",{className:"mt-0.5 text-[11px] font-medium text-[#6e6e7e]",children:"Talk to Max"})]})]}),i.jsxs("div",{className:"relative z-10 flex items-center gap-3",children:[i.jsx("img",{src:"/icon.png",alt:"",className:"h-[52px] w-[52px] object-contain md:h-[58px] md:w-[58px]",decoding:"async"}),i.jsxs("div",{className:"leading-[1.1] max-w-[280px]",children:[i.jsx("div",{className:"text-[16px] font-bold tracking-tighter-4 text-[#1c1c3e]",children:"Revola"}),i.jsx("div",{className:"mt-0.5 text-[11px] font-medium text-[#6e6e7e] tracking-tighter-4",children:"AI-powered sales conversations that drive results"})]})]})]}
335),i.jsxs("div",{className:"grid grid-cols-1 md:min-h-[520px] md:grid-cols-[180px_1fr_290px]",children:[i.jsxs("aside",{className:"hidden flex-col border-r border-ink/[0.06] bg-paper px-3 py-5 md:flex md:px-4 md:py-6",children:[i.jsx("div",{className:"mb-4 px-2.5 font-mono text-[10px] font-semibold uppercase tracking-eyebrow text-mute",children:"Navigate"}),i.jsx("nav",{className:"flex flex-col gap-0.5",children:xM.map(c=>i.jsxs("div",{className:`flex items-center gap-2.5 rounded-lg px-3 py-2 text-[13px] tracking-tighter-4 ${c.active?"bg-ink/[0.04] font-semibold text-body":"font-medium text-mute"}`,children:[i.jsx(Cg,{kind:c.kind,color:c.active?"#2a2a2a":"#6e6e6e"}),c.label]},c.label))}),i.jsx("div",{className:"flex-1"}),i.jsxs("div",{className:"flex items-center gap-2.5 px-3 py-2 text-[12px] font-medium text-mute",children:[i.jsx(Cg,{kind:"moon",color:"#6e6e6e"}),"Dark mode"]}),i.jsxs("div",{className:"mt-1 flex items-center gap-2.5 border-t border-ink/[0.05] px-3 pt-3.5 text-[12px] font-medium text-mute",children:[i.jsx("span",{"aria-hidden":!0,className:"h-5 w-5 shrink-0 rounded-full bg-lavender"}),i.jsx("span",{className:"truncate",children:"melisa@revol…"})]})]}),i.jsxs("div",{className:"flex min-h-0 flex-col bg-white px-5 py-4 md:px-7 md:py-5",children:[i.jsx("div",{className:"flex shrink-0 gap-5 overflow-x-auto border-b border-ink/[0.06] md:gap-6",children:gM.map((c,u)=>{const d=u===0;return i.jsx("div",{className:`whitespace-nowrap pb-3 pt-2.5 text-[13px] tracking-tighter-4 ${d?"border-b-[2px] border-body font-semibold text-body -mb-px":"border-b-[2px] border-transparent font-medium text-mute -mb-px"}`,children:c},c)})}),i.jsxs("div",{className:"mt-4 flex-1 grid grid-cols-1 items-center gap-6 overflow-hidden rounded-[14px] border border-[rgba(28,28,62,0.05)] px-5 py-6 md:grid-cols-[1.25fr_1fr] md:px-12 md:py-10",style:{background:"linear-gradient(135deg, #fbfaf8 0%, #f4f1f8 60%, #ede6f2 100%)"},children:[i.jsxs("div",{className:"flex flex-col gap-2.5 md:gap-3",children:[i.jsx("p",{className:"text-[13px] font-medium text-brandViolet md:text-[15px]",children:"Preparing for the quantum era of cryptography"}),i.jsx("p",{className:"font-display text-[22px] font-semibold leading-[1.02] tracking-tighter-3 text-[#1c1c3e] sm:text-[28px] md:text-[36px] lg:text-[42px]",children:"Your partner for a secure transition."})]}),i.jsx("div",{className:"flex items-center justify-center",children:i.jsx(Bh,{mode:"idle",size:130})})]}),i.jsxs("div",{className:"mt-4 flex shrink-0 items-center justify-center gap-3",children:[i.jsxs("div",{className:"flex items-center gap-2 rounded-full border border-ink/[0.08] bg-white px-4 py-2 text-[12px] font-medium text-body",children:[i.jsx("span",{children:"🇺🇸"}),"English (United States)",i.jsx("span",{className:"text-[10px] text-mute",children:"▾"})]}),i.jsx(I.button,{type:"button",animate:r&&!t?{scale:[1,1.04,1]}:{scale:1},transition:{duration:1.4,ease:"easeInOut",repeat:1,delay:.4},className:"rounded-full bg-brandViolet px-5 py-2.5 text-[13px] font-semibold text-white shadow-[0_8px_20px_rgba(109,40,217,0.33),0_2px_6px_rgba(109,40,217,0.2)]",children:"Start conversation"})]})]}),i.jsxs("aside",{className:"flex min-h-0 flex-col border-t border-ink/[0.06] bg-white px-4 py-5 md:border-l md:border-t-0 md:px-5",children:[i.jsx("div",{className:"mb-3 shrink-0 text-[14px] font-semibold tracking-tighter-4 text-body",children:"Conversation"}),i.jsxs("div",{className:"flex flex-1 min-h-0 flex-col gap-3",children:[i.jsx(I.div,{initial:t?!1:{opacity:0,y:8},animate:a?{opacity:1,y:0}:t?!1:{opacity:0,y:8},transition:{duration:.5,ease:[.16,1,.3,1]},className:"self-end max-w-[90%] rounded-[14px] rounded-br-[4px] bg-offWhite px-3.5 py-2.5 text-[12.5px] font-medium leading-snug text-body",children:"How does your model handle PII?"}),(a||t)&&i.jsxs(I.div,{initial:t?!1:{opacity:0},animate:{opacity:1},transition:{duration:.5,delay:.6,ease:[.16,1,.3,1]},className:"flex items-start gap-2.5",children:[i.jsxs("div",{className:"relative grid h-[30px] w-[30px] shrink-0 place-items-center rounded-full",style:{background:"radial-gradient(circle at 32% 28%, #bda6ff 0%, #6D28D9 70%)",boxShadow:"0 0 0 2px rgba(255,255,255,1), 0 2px 8px rgba(109,40,217,0.4)"}
335,"aria-hidden":!0,children:[i.jsx("span",{className:"absolute",style:{top:"14%",left:"20%",width:"32%",height:"22%",borderRadius:"50%",background:"radial-gradient(ellipse, rgba(255,255,255,0.5), transparent 70%)"}}),i.jsxs("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"relative",children:[i.jsx("rect",{x:"9",y:"3",width:"6",height:"12",rx:"3"}),i.jsx("path",{d:"M5 11 C 5 16, 8.5 18, 12 18 C 15.5 18, 19 16, 19 11"}),i.jsx("line",{x1:"12",y1:"18",x2:"12",y2:"22"}),i.jsx("line",{x1:"8.5",y1:"22",x2:"15.5",y2:"22"})]})]}),i.jsxs("p",{className:"flex-1 text-[12.5px] leading-relaxed tracking-tighter-4 text-body",children:[s,o&&i.jsx("span",{className:"cursor-bar text-brandViolet","aria-hidden":!0})]})]})]}),i.jsxs("div",{className:"mt-3 flex items-center gap-2 rounded-full border border-ink/[0.08] bg-paper px-3 py-1.5",children:[i.jsx("span",{className:"flex-1 truncate font-mono text-[10.5px] text-mute",children:"Ask anything…"}),i.jsx("span",{className:"inline-flex h-5 w-5 items-center justify-center rounded-full bg-ink text-paper",children:i.jsx("svg",{width:"9",height:"9",viewBox:"0 0 12 12",fill:"currentColor","aria-hidden":!0,children:i.jsx("path",{d:"M6 1l5 5-1.4 1.4L7 4.8V11H5V4.8L2.4 7.4 1 6z"})})})]})]})]})]})},_i=[.16,1,.3,1],vM=()=>{const e=Zt()??!1;return i.jsxs("section",{className:"relative overflow-hidden bg-inkSoft text-paper",children:[i.jsx("svg",{"aria-hidden":!0,viewBox:"0 0 1440 110",preserveAspectRatio:"none",className:"pointer-events-none absolute inset-x-0 top-0 block h-[70px] w-full md:h-[110px]",children:i.jsx("path",{d:"M0,0 L1440,0 L1440,55 C1080,95 360,18 0,55 Z",fill:"#faf9f7"})}),i.jsx("div",{"aria-hidden":!0,className:"halo-breath pointer-events-none absolute -bottom-32 -left-40 h-[600px] w-[600px] rounded-full",style:{background:"radial-gradient(circle, rgba(109, 40, 217, 0.45) 0%, rgba(109, 40, 217, 0.15) 50%, transparent 80%)",filter:"blur(70px)"}}),i.jsx("div",{"aria-hidden":!0,className:"drift-slow pointer-events-none absolute -right-32 top-1/4 h-[420px] w-[420px] rounded-full opacity-60",style:{background:"radial-gradient(circle, rgba(92, 164, 246, 0.45) 0%, rgba(92, 164, 246, 0.12) 50%, transparent 80%)",filter:"blur(60px)"}}),i.jsxs("div",{className:"relative mx-auto max-w-[1280px] px-6 py-32 md:px-10 md:py-40",children:[i.jsxs("div",{className:"text-center",children:[i.jsx(I.p,{initial:e?!1:{opacity:0,y:12},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-80px"},transition:{duration:.4,ease:_i},className:"font-mono text-xs uppercase tracking-eyebrow text-paper/55",children:"The Thesis"}),i.jsxs(I.h2,{initial:e?!1:{opacity:0,y:14},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-80px"},transition:{duration:.5,delay:.05,ease:_i},className:"mt-5 whitespace-nowrap font-display font-medium leading-[1.0] tracking-tighter text-paper text-[34px] sm:text-[44px] md:text-[56px] lg:text-[68px] xl:text-[80px]",children:["A Product"," ",i.jsxs("span",{className:"relative inline-block isolate",children:[i.jsx(I.span,{"aria-hidden":!0,initial:e?!1:{scaleX:0},whileInView:{scaleX:1},viewport:{once:!0,margin:"-80px"},transition:{duration:.6,delay:.4,ease:_i},style:{position:"absolute",inset:"20% -2% 8% -2%",background:"rgba(189, 166, 255, 0.42)",transformOrigin:"left center",zIndex:-1}}),i.jsx("span",{className:"relative",children:"Brain."})]})]}),i.jsx(I.p,{initial:e?!1:{opacity:0,y:14},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-80px"},transition:{duration:.6,delay:.2,ease:_i},className:"mx-auto mt-8 max-w-2xl text-base leading-relaxed text-paper/80 md:text-lg lg:text-xl",children:"Trained on what you sell. Watching every channel. Surfacing every signal that matters — back into one pipeline view."})]}),i.jsx(I.div,{initial:e?!1:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-100px"},transition:{duration:.8,delay:.3,ease:_i},className:"mt-14 md:mt-20",children:i.jsxs(Qe,{to:"/product-room","aria-label":"Open the live Product Room demo",className:"group relative block overflow-hidden rounded-[18px] focus:outline-none focus-visible:ring-2 focus-visible:ring-brandViolet focus-visible:ring-offset-2 focus-visible:ring-offset-ink",children:[i.jsx("div",{className:"pointer-events-none select-none",children:i.jsx(yM,{})}),i.jsxs("span",{className:"absolute right-4 top-4 z-20 inline-flex items-center gap-1.5 rounded-full bg-ink/90 px-3 py-1.5 text-[11px] font-medium text-paper shadow-lg backdrop-blur transition-colors duration-300 group-hover:bg-ink md:right-6 md:top-6",children:["Demo now live",i.jsx("span",{"aria-hidden":!0,
335className:"inline-block transition-transform duration-500 group-hover:translate-x-1",children:"→"})]}),i.jsx("span",{"aria-hidden":!0,className:"pointer-events-none absolute inset-0 flex items-center justify-center bg-ink/0 transition-colors duration-500 group-hover:bg-ink/25",children:i.jsx("span",{className:"scale-95 rounded-full bg-paper px-6 py-3 text-[15px] font-medium text-ink opacity-0 shadow-[0_18px_50px_-15px_rgba(11,11,13,0.45)] transition-all duration-500 group-hover:scale-100 group-hover:opacity-100",children:"Open the live demo →"})})]})})]})]})},Zu=[.16,1,.3,1],wM=()=>i.jsxs("div",{className:"rounded-2xl bg-ink/[0.06] p-3 ring-1 ring-ink/10",children:[i.jsxs("div",{className:"flex items-center gap-1.5 px-2 pb-2",children:[i.jsx("span",{className:"h-2.5 w-2.5 rounded-full bg-ink/15"}),i.jsx("span",{className:"h-2.5 w-2.5 rounded-full bg-ink/15"}),i.jsx("span",{className:"h-2.5 w-2.5 rounded-full bg-ink/15"}),i.jsx("div",{className:"ml-3 flex-1 truncate rounded-md bg-ink/[0.04] px-2.5 py-1 font-mono text-[10px] text-mute",children:"revola.ai/q/portside"})]}),i.jsxs("div",{className:"rounded-lg bg-white shadow-sm ring-1 ring-offWhite",children:[i.jsxs("div",{className:"flex items-center justify-between border-b border-offWhite px-4 py-2.5",children:[i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsx("span",{className:"inline-flex h-5 w-5 items-center justify-center rounded-md bg-brandSky/[0.18] font-mono text-[10px] font-semibold",style:{color:"#2C77C5"},children:"R"}),i.jsx("span",{className:"font-mono text-[10px] uppercase tracking-eyebrow text-mute",children:"Revola — Portside Room"})]}),i.jsx("span",{className:"font-mono text-[10px] text-mute",children:"3 messages"})]}),i.jsxs("div",{className:"space-y-3 px-4 py-4",children:[i.jsx("div",{className:"flex justify-end",children:i.jsx("div",{className:"max-w-[80%] rounded-2xl rounded-br-sm bg-offWhite/70 px-3 py-1.5 text-[12.5px] text-body",children:"How does pricing scale at 50 seats?"})}),i.jsx("p",{className:"text-[12.5px] leading-relaxed text-body",children:"Growth tier starts at $12K/yr — volume discount kicks in at 100 seats. Want me to send the rate sheet?"}),i.jsxs("div",{className:"flex flex-wrap gap-1.5",children:[i.jsx("span",{className:"rounded-md bg-offWhite/70 px-2 py-1 font-mono text-[10px] text-mute",children:"pricing/Q4-rates.pdf"}),i.jsx("span",{className:"rounded-md bg-offWhite/70 px-2 py-1 font-mono text-[10px] text-mute",children:"sales-deck/2025.key"})]})]}),i.jsxs("div",{className:"flex items-center gap-2 border-t border-offWhite px-3 py-2",children:[i.jsx("div",{className:"flex-1 rounded-full bg-offWhite/50 px-3 py-1.5 font-mono text-[11px] text-mute",children:"Ask anything…"}),i.jsx("button",{type:"button",className:"inline-flex h-6 w-6 items-center justify-center rounded-full bg-ink text-paper",children:i.jsx("svg",{width:"10",height:"10",viewBox:"0 0 12 12",fill:"currentColor","aria-hidden":!0,children:i.jsx("path",{d:"M6 1l5 5-1.4 1.4L7 4.8V11H5V4.8L2.4 7.4 1 6z"})})})]})]})]}),bM="https://drive.google.com/file/d/1p18VHeNPkPBOVFboR_I-rh2jAlrH4CCB/preview",jM=()=>i.jsxs("div",{children:[i.jsx("div",{className:"overflow-hidden rounded-2xl bg-ink p-1.5 ring-1 ring-ink/30 shadow-[0_30px_80px_-30px_rgba(11,11,13,0.45)]",children:i.jsx("div",{className:"relative aspect-video overflow-hidden rounded-[14px] bg-ink",children:i.jsx("iframe",{src:bM,title:"Revola deal video sample",className:"absolute inset-0 h-full w-full",allow:"autoplay; encrypted-media; fullscreen",allowFullScreen:!0})})}),i.jsx("p",{className:"mt-3 font-mono text-[10px] uppercase tracking-eyebrow text-mute",children:"Async · Personalized · 2:14"})]}),kM=[{name:"ChatGPT",accent:"#19c37d",answer:"Revola gives B2B teams a Product Brain that powers self-serve demos, deal videos, and presence inside LLMs."},{name:"Claude",accent:"#cc785c",answer:"Revola — a platform that lets B2B companies sell without an SE in every meeting. Strong fit for technical products with long buying cycles."},{name:"Perplexity",accent:"#5CA4F6",answer:"Revola is a sales platform for B2B teams. Replaces SE-heavy sales motions with a Product Brain across surfaces."}],NM=()=>i.jsxs("div",{children:[i.jsx("p",{className:"mb-3 font-mono text-[10px] uppercase tracking-eyebrow text-mute",children:"Buyer asked · 3 models"}),i.jsx("p",{className:"mb-4 text-[14px] italic leading-snug text-body/85",children:"“Is Revola a fit for our stack?”"}),i.jsx("div",{className:"grid grid-cols-3 gap-2 md:gap-3",children:kM.map(e=>i.jsxs("div",{className:"rounded-xl bg-white p-3 shadow-[0_10px_30px_-18px_rgba(11,11,13,0.18)] ring-1 ring-offWhite",children:[i.jsxs("div",{className:"flex items-center gap-1.5 border-b border-offWhite pb-2",children:[i.jsx("span",{className:"inline-flex h-4 w-4 items-center justify-center rounded-md text-[9px] font-semibold",style:{background:`${e.accent}1F`,color:e.accent},children:e.name[0]}),i.jsx("span",{className:"font-mono text-[9px] uppercase tracking-eyebrow text-mute",children:e.name})]}),i.jsx("p",{className:"mt-2 line-clamp-5 text-[10.5px] leading-relaxed text-body",children:e.answer})]},e.name))})]}),SM=[{number:"01",label:"Product Room",accent:"#5CA4F6",promise:"Buyers ask. Your brain answers. In your voice, with your proof.",body:"A buyer hits a Product Room URL and asks anything — pricing, security, integrations, how you compare. Your Product Brain answers the way your AE would, every time, 24/7. They book a meeting from inside the room when they’re ready.",link:{label:"See a live Product Room",href:"/product-room"},visual:i.jsx(wM,{})},{number:"02",label:"Deal Video",accent:"#d97757",promise:"A two-minute video, made for one buyer.",body:"For each named account, Revola generates a personalized deal video — their name, their problem, the
335ir stack. Sent to your buyer; watched async; tells them why your product matters in their world, not the generic one.",link:{label:"How deal videos work",href:"/deal-video"},visual:i.jsx(jM,{})},{number:"03",label:"LLM Presence",accent:"#7c5fcf",promise:"Buyers ask the model. The model answers correctly.",body:"When a buyer asks ChatGPT “is X a fit for our stack?” the answer either makes the deal or kills it before you’ve ever heard of them. Revola makes sure that answer is accurate and on-message.",link:{label:"How the Room wins AI search",href:"/product-room"},visual:i.jsx(NM,{})}],EM=()=>i.jsxs("section",{className:"relative overflow-hidden bg-offWhite/60",children:[i.jsx("svg",{"aria-hidden":!0,viewBox:"0 0 1440 110",preserveAspectRatio:"none",className:"pointer-events-none absolute inset-x-0 top-0 block h-[70px] w-full md:h-[110px]",children:i.jsx("path",{d:"M0,0 L1440,0 L1440,40 C1100,18 700,95 0,30 Z",fill:"#1a1a1e"})}),i.jsx("div",{"aria-hidden":!0,className:"drift-slow pointer-events-none absolute -left-40 top-1/3 h-[520px] w-[520px] rounded-full opacity-50",style:{background:"radial-gradient(circle, rgba(189, 166, 255, 0.42) 0%, rgba(189, 166, 255, 0.10) 55%, transparent 80%)",filter:"blur(70px)"}}),i.jsxs("div",{className:"relative mx-auto max-w-[1280px] px-6 py-32 md:px-10 md:py-40",children:[i.jsx(I.p,{initial:{opacity:0,y:12},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-80px"},transition:{duration:.5,ease:Zu},className:"font-mono text-xs uppercase tracking-eyebrow text-mute",children:"The Surfaces"}),i.jsx(I.h2,{initial:{opacity:0,y:16},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-80px"},transition:{duration:.6,delay:.1,ease:Zu},className:"mt-5 max-w-[20ch] font-display text-[28px] font-medium leading-[1.1] tracking-tighter-3 text-ink sm:text-[34px] md:text-[40px] lg:text-[46px]",children:"Your Product Brain shows up wherever buyers actually decide."}),i.jsx("div",{className:"mt-20 flex flex-col gap-24 md:mt-28 md:gap-36",children:SM.map((e,t)=>{const n=t%2===0;return i.jsxs(I.div,{initial:{opacity:0,y:28},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-100px"},transition:{duration:.7,ease:Zu},className:"grid grid-cols-1 items-center gap-10 md:grid-cols-[1.1fr_1fr] md:gap-16",children:[i.jsx("div",{className:n?"md:order-1":"md:order-2",children:e.visual}),i.jsxs("div",{className:n?"md:order-2":"md:order-1",children:[i.jsxs("div",{className:"flex items-center gap-3",children:[i.jsx("span",{className:"font-mono text-[13px] tabular-nums",style:{color:e.accent},children:e.number}),i.jsx("span",{className:"h-px w-8 bg-mute/30"}),i.jsx("span",{className:"font-mono text-[10px] uppercase tracking-eyebrow text-mute",children:e.label})]}),i.jsx("h3",{className:"mt-5 max-w-[18ch] font-display text-[28px] font-medium leading-[1.1] tracking-tighter-3 text-ink sm:text-[32px] md:text-[36px]",children:e.promise}),i.jsx("p",{className:"mt-5 max-w-xl text-base leading-relaxed text-body/85 md:text-lg",children:e.body}),i.jsxs("a",{href:e.link.href,className:"mt-6 inline-flex items-center gap-2 text-base font-medium transition-colors duration-300",style:{color:e.accent},children:[e.link.label,i.jsx("span",{"aria-hidden":!0,className:"transition-transform duration-300",children:"→"})]})]})]},e.label)})})]})]}),Tg=[.16,1,.3,1],Pg=[{key:"knowledge",label:"Knowledge",sublabel:"142 sources · 4 connectors"},{key:"sessions",label:"Sessions",sublabel:"1,284 conversations · this month"},{key:"signal",label:"Signal",sublabel:"5 deals · last 7d"}],CM=[{name:"product-overview.md",source:"Notion",updated:"2 min ago",state:"live",color:"#a78bfa"},{name:"sales-deck-Q4.key",source:"Drive",updated:"1 hr ago",state:"live",color:"#5CA4F6"},{name:"pricing/Q4-rates.pdf",source:"Drive",updated:"Today",state:"syncing",color:"#d97757"},{name:"objections-playbook.md",source:"Notion",updated:"Yesterday",state:"live",color:"#a78bfa"},{name:"discovery-call-04.txt",source:"Gong",updated:"3d ago",state:"live",color:"#5CA4F6"},{name:"positioning-Q4.md",source:"Notion",updated:"1 wk ago",state:"queued",color:"#d97757"}],TM=[{account:"Fernbrook Health",surface:"Product Room",duration:"14m · 8 questions",signal:"heating",preview:'"Termination clauses?" · "Latency under load?"'},{account:"Halden Analytics",surface:"Video Studio",duration:"2:14 · 4 viewers",signal:"cool",preview:"Watched 100% · 2 replays on security section"},{account:"Monarch Robotics",surface:"Product Room",duration:"6m · 3 questions",signal:"silent",preview:"2 stakeholders watched, didn’t reply"},{account:"Portside Capital",surface:"AI Search",duration:"ChatGPT · 09:41",signal:"cool",preview:'"Is Revola a fit for our stack?" — answered correctly'}],PM=[{name:"Fernbrook Health",stage:"Negotiation",engagement:88,heating:!0},{name:"Halden Analytics",stage:"Evaluation",engagement:61},{name:"Monarch Robotics",stage:"Discovery",engagement:42},{name:"Portside Capital",stage:"Proposal",engagement:77},{name:"Linden Grid",stage:"Discovery",engagement:24}],AM=e=>e==="live"?{label:"live",color:"#5fd39a",bg:"rgba(95, 211, 154, 0.12)"}:e==="syncing"?{label:"syncing",color:"#a78bfa",bg:"rgba(167, 139, 250, 0.14)"}:{label:"queued",color:"#9ca3af",bg:"rgba(156, 163, 175, 0.12)"},RM=e=>e==="heating"?{label:"↑ HEATING",color:"#f8a08c",bg:"rgba(248, 130, 110, 0.16)"}:e==="cool"?{label:"COOL",color:"#7cb5f9",bg:"rgba(92, 164, 246, 0.16)"}:{label:"SILENT",color:"#9ca3af",bg:"rgba(156, 163, 175, 0.12)"},MM=()=>i.jsxs("div",{children:[i.jsxs("div",{className:"grid grid-cols-[2fr_0.8fr] gap-3 border-b border-white/[0.05] px-5 py-2.5 font-mono text-[10px] uppercase tracking-eyebrow text-paper/40 md:grid-cols-[2fr_1fr_1fr_0.8fr] md:gap-4 md:px-6",children:[i.jsx("span",{children:"Source"}),i.jsx("span",{className:"hidden md:block",children:"Connector"}),i.jsx("span",{className:"hidden md:block",children:"Updated"}),i.jsx("span",{className:"text-right",children:"State"})]}),CM.map(e=>{const t=AM(e.state);return i.jsxs("div",{className:"grid grid-cols-[2fr_0.8fr] items-center gap-3 border-b border-white/[0.05] px-5 py-3.5 last:border-0 md:grid-cols-[2fr_1fr_1fr_0.8fr] md:gap-4 md:px-6 md:py-4",children:[i.jsxs("div",{className:"flex min-w-0 items-center gap-2",children:[i.jsx("span",{"aria-hidden":!0,
335className:"h-1.5 w-1.5 shrink-0 rounded-full",style:{background:e.color}}),i.jsx("span",{className:"truncate text-[13.5px] font-medium text-paper/85 md:text-[15px]",children:e.name})]}),i.jsx("span",{className:"hidden text-[12.5px] text-paper/40 md:block md:text-[13px]",children:e.source}),i.jsx("span",{className:"hidden font-mono text-[11.5px] text-paper/40 md:block md:text-[12px]",children:e.updated}),i.jsx("span",{className:"flex justify-end",children:i.jsx("span",{className:"rounded-full px-2 py-0.5 font-mono text-[9.5px] uppercase tracking-eyebrow",style:{background:t.bg,color:t.color},children:t.label})})]},e.name)}),i.jsxs("div",{className:"flex items-center justify-between border-t border-white/[0.05] px-5 py-3 md:px-6",children:[i.jsx("span",{className:"font-mono text-[10.5px] text-paper/40",children:"142 sources · 4 connectors"}),i.jsx("button",{type:"button",className:"inline-flex items-center gap-1.5 rounded-full bg-paper px-3 py-1 text-[11px] font-medium text-ink",children:"+ Add source"})]})]}),_M=()=>i.jsx("div",{children:TM.map(e=>{const t=RM(e.signal);return i.jsxs("div",{className:"grid grid-cols-1 gap-1 border-b border-white/[0.05] px-5 py-4 last:border-0 md:grid-cols-[1.4fr_1fr_1.2fr_0.8fr] md:items-center md:gap-4 md:px-6",children:[i.jsxs("div",{children:[i.jsx("p",{className:"text-[14px] font-medium text-paper/85 md:text-[15px]",children:e.account}),i.jsx("p",{className:"md:hidden text-[12px] text-paper/40",children:e.preview})]}),i.jsx("span",{className:"font-mono text-[10.5px] uppercase tracking-eyebrow text-paper/40",children:e.surface}),i.jsx("span",{className:"hidden truncate text-[12.5px] text-paper/40 md:block",children:e.preview}),i.jsxs("div",{className:"flex flex-wrap items-center gap-2 md:justify-end",children:[i.jsx("span",{className:"font-mono text-[11px] text-paper/40",children:e.duration}),i.jsx("span",{className:"rounded px-1.5 py-0.5 font-mono text-[9px] font-semibold tracking-wider",style:{background:t.bg,color:t.color},children:t.label})]})]},e.account)})}),DM=({active:e})=>{const t=Zt()??!1;return i.jsxs("div",{children:[i.jsxs("div",{className:"grid grid-cols-[1.4fr_1fr_0.7fr] gap-3 border-b border-white/[0.05] px-5 py-2.5 font-mono text-[10px] uppercase tracking-eyebrow text-paper/40 md:grid-cols-[2fr_1.1fr_2.4fr_0.9fr] md:gap-4 md:px-6",children:[i.jsx("span",{children:"Account"}),i.jsx("span",{children:"Stage"}),i.jsx("span",{className:"hidden md:block",children:"Engagement"}),i.jsx("span",{className:"text-right",children:"Score"})]}),PM.map((n,r)=>i.jsxs(I.div,{initial:t?!1:{opacity:0,y:8},animate:e?{opacity:1,y:0}:{opacity:0,y:8},transition:{duration:.4,delay:.08+r*.08,ease:Tg},className:"grid grid-cols-[1.4fr_1fr_0.7fr] items-center gap-3 border-b border-white/[0.05] px-5 py-3.5 last:border-0 md:grid-cols-[2fr_1.1fr_2.4fr_0.9fr] md:gap-4 md:px-6 md:py-4",children:[i.jsx("span",{className:"truncate text-[13.5px] font-medium text-paper/85 md:text-[15px]",children:n.name}),i.jsx("span",{children:i.jsx("span",{className:"inline-block rounded-full bg-white/[0.08] px-2 py-0.5 text-[10.5px] text-paper/40",children:n.stage})}),i.jsx("div",{className:"relative hidden md:block md:mr-7",children:i.jsx("div",{className:"h-2 overflow-hidden rounded-full",style:{background:n.heating?"rgba(248, 184, 170, 0.22)":"rgba(189, 166, 255, 0.22)"},children:i.jsx(I.div,{initial:t?!1:{width:"0%"},animate:e?{width:`${n.engagement}%`}:{width:"0%"},transition:{duration:.8,delay:.2+r*.08,ease:Tg},className:"h-full rounded-full",style:{background:n.heating?"rgba(248, 130, 110, 0.85)":"#bda6ff"}})})}),i.jsxs("div",{className:"flex items-center justify-end gap-1.5 md:gap-2",children:[i.jsxs("span",{className:"font-mono text-[13px] tabular-nums text-paper/85 md:text-[14px]",children:[n.engagement,"%"]}),n.heating&&i.jsx("span",{className:"rounded px-1.5 py-0.5 text-[9px] font-semibold tracking-wider",style:{background:"rgba(248, 184, 170, 0.35)",color:"#a84a3a"},children:"↑ HEATING"})]})]},n.name))]})},gj=()=>{const e=h.useRef(null),t=Vh(e,{once:!0,margin:"-80px"}),[n,r]=h.useState("knowledge"),s=Pg.find(o=>o.key===n);return i.jsxs("div",{ref:e,className:"overflow-hidden rounded-[18px] bg-[#15171B] ring-1 ring-white/10",children:[i.jsxs("div",{className:"flex items-center justify-between border-b border-white/[0.07] px-5 py-3.5 md:px-6 md:py-4",children:[i.jsxs("div",{className:"flex items-center gap-2.5",children:[i.jsx("img",{src:"/icon.png",alt:"",className:"h-[22px] w-[22px]",decoding:"async"}),i.jsx("span",{className:"text-[14px] font-semibold tracking-tighter-4 text-paper/90",children:"Control Center"}),i.jsxs("span",{className:"text-[12px] text-paper/40",children:["· ",s.sublabel]})]}),i.jsx("span",{className:"font-mono text-[11px] text-paper/40",children:"workspace: contoso"})]}),i.jsx("div",{className:"flex gap-5 overflow-x-auto border-b border-white/[0.07] px-5 md:gap-6 md:px-6",children:Pg.map(o=>{const a=o.key===n;return i.jsx("button",{type:"button",onClick:()=>r(o.key),className:`relative -mb-px whitespace-nowrap py-3 text-[13px] tracking-tighter-4 transition-colors ${a?"border-b-[2px] border-paper font-semibold text-paper":"border-b-[2px] border-transparent font-medium text-paper/40 hover:text-paper/80"}`,children:o.label},o.key)})}),i.jsxs("div",{children:[n==="knowledge"&&i.jsx(MM,{}),n==="sessions"&&i.jsx(_M,{}),n==="signal"&&i.jsx(DM,{active:t})]})]})},Ra=[.16,1,.3,1],LM=()=>i.jsxs("section",{className:"relative overflow-hidden bg-offWhite/60",children:[i.jsx("div",{"aria-hidden":!0,
335className:"drift-slow pointer-events-none absolute -right-32 top-1/3 h-[520px] w-[520px] rounded-full opacity-50",style:{background:"radial-gradient(circle, rgba(189, 166, 255, 0.42) 0%, rgba(189, 166, 255, 0.12) 50%, transparent 80%)",filter:"blur(70px)"}}),i.jsx("div",{"aria-hidden":!0,className:"pointer-events-none absolute -left-40 bottom-0 h-[420px] w-[420px] rounded-full opacity-40",style:{background:"radial-gradient(circle, rgba(201, 230, 209, 0.55) 0%, rgba(201, 230, 209, 0.12) 50%, transparent 80%)",filter:"blur(60px)"}}),i.jsx("div",{className:"relative mx-auto max-w-[1280px] px-6 pt-4 pb-24 md:px-10 md:pt-8 md:pb-32",children:i.jsxs("div",{className:"rounded-[28px] bg-paper px-6 py-16 shadow-[0_30px_80px_-30px_rgba(11,11,13,0.18)] ring-1 ring-offWhite md:px-12 md:py-24",children:[i.jsxs(I.h2,{initial:{opacity:0,y:14},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-80px"},transition:{duration:.6,ease:Ra},className:"font-display font-medium leading-[1.0] tracking-tighter text-ink text-[40px] sm:text-[56px] md:text-[72px] lg:text-[88px]",children:["One"," ",i.jsxs("span",{className:"relative inline-block isolate",children:[i.jsx(I.span,{"aria-hidden":!0,initial:{scaleX:0},whileInView:{scaleX:1},viewport:{once:!0,margin:"-80px"},transition:{duration:.7,delay:.5,ease:Ra},style:{position:"absolute",inset:"20% -2% 8% -2%",background:"#bda6ff",mixBlendMode:"multiply",transformOrigin:"left center",zIndex:-1}}),i.jsx("span",{className:"relative",children:"Control Center."})]})]}),i.jsx(I.p,{initial:{opacity:0,y:14},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-80px"},transition:{duration:.6,delay:.2,ease:Ra},className:"mt-6 max-w-2xl text-base leading-relaxed text-body/85 md:text-lg lg:text-xl",children:"One workspace. Drop new docs in as you create them. Every Product Room session, every deal video reply, every async question — captured with full transcripts and stitched into the same pipeline view your reps already live in."}),i.jsx(I.div,{initial:{opacity:0,y:22},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-80px"},transition:{duration:.7,delay:.3,ease:Ra},className:"mt-12 md:mt-16",children:i.jsx(gj,{})})]})})]}),_s=[.16,1,.3,1],FM=[{who:"Procurement",q:"Termination clauses?",color:"#6D28D9"},{who:"CTO",q:"Latency under load?",color:"#2C77C5"},{who:"CFO",q:"Net retention from existing accounts?",color:"#b86a55"}],IM=({active:e})=>{const t=Zt()??!1;return i.jsxs("div",{className:"rounded-2xl bg-white p-5 shadow-[0_18px_50px_-22px_rgba(11,11,13,0.18)] ring-1 ring-offWhite",children:[i.jsxs("div",{className:"mb-3 flex items-center justify-between",children:[i.jsx("span",{className:"font-mono text-[10px] uppercase tracking-eyebrow text-mute",children:"Live transcript"}),i.jsxs("span",{className:`inline-flex items-center gap-1.5 font-mono text-[10px] uppercase tracking-eyebrow ${e?"text-brandViolet":"text-mute/50"}`,children:[i.jsx("span",{className:`inline-block h-1.5 w-1.5 rounded-full ${e?"animate-pulse bg-brandViolet":"bg-mute/40"}`}),"rec"]})]}),i.jsx("div",{className:"space-y-2.5",children:FM.map((n,r)=>i.jsxs(I.div,{initial:t?!1:{opacity:0,y:6},animate:e?{opacity:1,y:0}:t?!1:{opacity:0,y:6},transition:{duration:.45,delay:.2+r*.4,ease:_s},className:"flex items-baseline gap-2",children:[i.jsx("span",{className:"shrink-0 font-mono text-[10px] uppercase tracking-eyebrow",style:{color:n.color},children:n.who}),i.jsxs("span",{className:"text-[13px] leading-snug text-body",children:["“",n.q,"”"]})]},n.who))})]})},OM=({active:e})=>{const t=Zt()??!1,[n,r]=h.useState(0);h.useEffect(()=>{if(!e||t)return;const l=window.setInterval(()=>r(c=>c+1),1e3);return()=>window.clearInterval(l)},[e,t]);const s=String(Math.floor(n/60)).padStart(2,"0"),o=String(n%60).padStart(2,"0");return i.jsxs("div",{className:"rounded-2xl bg-white p-5 shadow-[0_18px_50px_-22px_rgba(11,11,13,0.18)] ring-1 ring-offWhite",children:[i.jsx("span",{className:"font-mono text-[10px] uppercase tracking-eyebrow text-mute",children:"Session time"}),i.jsxs("div",{className:"mt-3 flex items-end justify-between gap-4",children:[i.jsxs("span",{className:"font-display text-[42px] font-medium tabular-nums leading-none tracking-tighter-3 text-ink",children:[s,":",o]}),i.jsx("svg",{width:"100",height:"22",viewBox:"0 0 100 22",fill:"none",stroke:"#6D28D9",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",className:"opacity-80",children:i.jsx("path",{d:"M0 18 L10 14 L20 16 L30 9 L40 12 L50 6 L60 10 L70 4 L80 8 L90 3 L100 7"})})]}),i.jsx("p",{className:"mt-3 text-[12px] text-mute",children:"14 minutes inside, 3 questions asked."})]})},VM=({active:e})=>{const t=Zt()??!1;return i.jsxs("div",{className:"rounded-2xl bg-white p-5 shadow-[0_18px_50px_-22px_rgba(11,11,13,0.18)] ring-1 ring-offWhite",children:[i.jsx("span",{className:"font-mono text-[10px] uppercase tracking-eyebrow text-mute",children:"Stakeholder"}),i.jsxs("div",{className:"mt-3 flex items-center gap-4",children:[i.jsx(I.div,{initial:t?!1:{opacity:0,scale:.9},animate:e?{opacity:1,scale:1}:t?!1:{opacity:0,scale:.9},transition:{duration:.6,ease:_s},className:"flex h-12 w-12 shrink-0 items-center justify-center rounded-full bg-offWhite ring-1 ring-offWhite",children:i.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"#6e6e6e",strokeWidth:"1.6",children:[i.jsx("circle",{cx:"12",cy:"8",r:"4"}),i.jsx("path",{d:"M3 21c1.5-4.5 5-7 9-7s7.5 2.5 9 7",strokeLinecap:"round"})]})}),i.jsxs("div",{children:[i.jsx("p",{className:"text-[14px] font-medium text-ink",children:"Director of Eng"}),i.jsx("p",{className:"text-[12px] italic text-mute",children:"watched, didn’t reply."})]})]}),i.jsx("p",{className:"mt-3 font-mono text-[10px] uppercase tracking-eyebrow text-mute",children:"18 min · 0 questions"})]})},BM=()=>{const e=h.useRef(null),t=Vh(e,{once:!0,margin:"-100px"});return i.jsxs("section",{ref:e,className:"relative overflow-hidden bg-paper",children:[i.jsx("svg",{"aria-hidden":!0,viewBox:"0 0 1440 110",preserveAspectRatio:"none",className:"pointer-events-none absolute inset-x-0 top-0 block h-[70px] w-full md:h-[110px]",children:i.jsx("path",{d:"M0,0 L1440,0 L1440,45 C1200,80 1000,15 720,45 C480,75 240,15 0,35 Z",fill:"#edeae6"})}
335),i.jsx("div",{"aria-hidden":!0,className:"drift-slow pointer-events-none absolute -right-32 top-[40%] h-[480px] w-[480px] rounded-full opacity-55",style:{background:"radial-gradient(circle, rgba(253, 217, 191, 0.55) 0%, rgba(253, 217, 191, 0.14) 50%, transparent 80%)",filter:"blur(60px)"}}),i.jsxs("div",{className:"relative mx-auto max-w-[1280px] px-6 py-32 md:px-10 md:py-40",children:[i.jsx(I.p,{initial:{opacity:0,y:12},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-80px"},transition:{duration:.5,ease:_s},className:"font-mono text-xs uppercase tracking-eyebrow text-mute",children:"The Signal"}),i.jsxs(I.h2,{initial:{opacity:0,y:16},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-80px"},transition:{duration:.6,delay:.1,ease:_s},className:"mt-6 max-w-[22ch] font-display font-medium leading-[1.05] tracking-tighter-2 text-ink text-[34px] sm:text-[42px] md:text-[52px] lg:text-[60px]",children:["Every question. Every minute. Every silent stakeholder."," ",i.jsx("span",{className:"text-brandViolet",children:"Flows back to you."})]}),i.jsx(I.p,{initial:{opacity:0,y:14},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-80px"},transition:{duration:.6,delay:.2,ease:_s},className:"mt-8 max-w-2xl text-base leading-relaxed text-body/85 md:text-lg lg:text-xl",children:"You see what the call would have shown you, plus everything the call never could — every question buyers asked, every minute they spent, every stakeholder who watched but never replied. Qualitative feedback on the 83% of the journey you used to be guessing about — so you can act on it, not infer from it."}),i.jsxs(I.div,{initial:{opacity:0,y:14},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-80px"},transition:{duration:.6,delay:.3,ease:_s},className:"mt-10 grid grid-cols-1 gap-5 md:mt-12 md:grid-cols-2 md:gap-8",children:[i.jsxs("div",{className:"border-l-2 border-brandViolet pl-5",children:[i.jsx("p",{className:"font-mono text-[10px] uppercase tracking-eyebrow text-brandViolet",children:"Act faster"}),i.jsx("p",{className:"mt-2.5 max-w-md text-[16px] font-medium leading-snug text-ink md:text-[18px]",children:"Close the deals you would have left to chance."}),i.jsx("p",{className:"mt-2 max-w-md text-[13.5px] leading-relaxed text-body/75",children:"The moment an account heats up, your AE gets the transcript and a suggested follow-up — before the silence makes them lose the room."})]}),i.jsxs("div",{className:"border-l-2 border-coral pl-5",children:[i.jsx("p",{className:"font-mono text-[10px] uppercase tracking-eyebrow",style:{color:"#b86a55"},children:"Predict better"}),i.jsx("p",{className:"mt-2.5 max-w-md text-[16px] font-medium leading-snug text-ink md:text-[18px]",children:"Forecast the accounts that are actually going to land."}),i.jsx("p",{className:"mt-2 max-w-md text-[13.5px] leading-relaxed text-body/75",children:"Engagement depth, committee coverage, and silent-stakeholder signal feed a pipeline view that tells you which deals close — long before the rep does."})]})]}),i.jsxs("div",{className:"mt-14 grid grid-cols-1 gap-4 md:mt-16 md:grid-cols-3 md:gap-5",children:[i.jsx(IM,{active:t}),i.jsx(OM,{active:t}),i.jsx(VM,{active:t})]})]})]})},Di=[.16,1,.3,1],zM=()=>i.jsxs("section",{className:"relative overflow-hidden bg-inkSoft text-paper",children:[i.jsx("svg",{"aria-hidden":!0,viewBox:"0 0 1440 130",preserveAspectRatio:"none",className:"pointer-events-none absolute inset-x-0 top-0 block h-[80px] w-full md:h-[130px]",children:i.jsx("path",{d:"M0,0 L1440,0 L1440,55 C1080,120 360,-5 0,55 Z",fill:"#faf9f7"})}),i.jsx("div",{"aria-hidden":!0,className:"drift-slow pointer-events-none absolute -left-40 bottom-1/4 h-[520px] w-[520px] rounded-full opacity-55",style:{background:"radial-gradient(circle, rgba(248, 184, 170, 0.45) 0%, rgba(248, 184, 170, 0.10) 50%, transparent 80%)",filter:"blur(70px)"}}),i.jsx("div",{"aria-hidden":!0,className:"drift-slow pointer-events-none absolute -right-32 top-1/3 h-[460px] w-[460px] rounded-full opacity-50",style:{background:"radial-gradient(circle, rgba(92, 164, 246, 0.40) 0%, rgba(92, 164, 246, 0.10) 50%, transparent 80%)",filter:"blur(70px)"}}),i.jsxs("div",{className:"relative mx-auto flex max-w-[1280px] flex-col items-center px-6 py-32 md:px-10 md:py-48",children:[i.jsxs(I.div,{initial:{opacity:0,scale:.96},whileInView:{opacity:1,scale:1},viewport:{once:!0,margin:"-80px"},transition:{duration:.8,ease:Di},className:"relative inline-flex items-center justify-center",children:[i.jsx("span",{"aria-hidden":!0,
335className:"halo-breath absolute h-[220px] w-[220px] rounded-full bg-brandViolet blur-[70px]"}),i.jsx("img",{src:"/icon.png",alt:"",decoding:"async",className:"relative h-[120px] w-[120px]"})]}),i.jsx(I.h2,{initial:{opacity:0,y:18},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-80px"},transition:{duration:.7,delay:.15,ease:Di},className:"mt-12 max-w-[18ch] text-center font-display font-medium leading-[1.1] tracking-tighter-3 text-paper text-[32px] sm:text-[40px] md:text-[48px] lg:text-[52px]",children:"One Brain. Every channel. Every signal."}),i.jsx(I.span,{"aria-hidden":!0,initial:{scaleX:0},whileInView:{scaleX:1},viewport:{once:!0,margin:"-80px"},transition:{duration:.7,delay:.4,ease:Di},className:"mt-10 block h-[2px] w-[84px] origin-left bg-brandViolet"}),i.jsx(I.span,{initial:{opacity:0},whileInView:{opacity:1},viewport:{once:!0,margin:"-80px"},transition:{duration:.6,delay:.55,ease:Di},className:"mt-5 font-mono text-xs uppercase tracking-wordmark text-paper/45",children:"REVOLA"}),i.jsxs(I.div,{initial:{opacity:0,y:14},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-80px"},transition:{duration:.7,delay:.7,ease:Di},className:"mt-14 flex flex-col items-center gap-5",children:[i.jsxs(Ln,{source:"home-close",className:"group inline-flex items-center gap-2 rounded-full bg-paper px-7 py-3.5 text-base font-medium text-ink shadow-[0_1px_0_0_rgba(0,0,0,0.04)_inset] transition-all duration-300 ease-[cubic-bezier(0.16,1,0.3,1)] hover:-translate-y-px hover:shadow-[0_18px_40px_-14px_rgba(189,166,255,0.45)]",children:[i.jsx("span",{children:"Build your Product Brain"}),i.jsx("span",{"aria-hidden":!0,className:"inline-block transition-transform duration-500 ease-[cubic-bezier(0.16,1,0.3,1)] group-hover:translate-x-1",children:"→"})]}),i.jsx("a",{href:"/product-room",className:"text-sm text-paper/75 underline-offset-4 transition-colors duration-300 hover:text-paper hover:underline",children:"See a live Product Room →"})]})]})]}),$M=()=>i.jsxs("main",{className:"min-h-screen bg-paper text-body",children:[i.jsx(Tr,{}),i.jsxs("section",{className:"relative",children:[i.jsx("div",{"aria-hidden":!0,className:"pointer-events-none absolute -left-40 -top-32 h-[460px] w-[460px] rounded-full opacity-70",style:{background:"radial-gradient(circle, rgba(248, 184, 170, 0.55) 0%, rgba(248, 184, 170, 0.18) 45%, transparent 75%)",filter:"blur(46px)"}}),i.jsx("div",{"aria-hidden":!0,className:"drift-slow pointer-events-none absolute -right-48 top-[18%] h-[640px] w-[640px] rounded-full opacity-70",style:{background:"radial-gradient(circle, rgba(189, 166, 255, 0.55) 0%, rgba(189, 166, 255, 0.16) 50%, transparent 80%)",filter:"blur(70px)"}}),i.jsx("div",{"aria-hidden":!0,className:"pointer-events-none absolute bottom-[-180px] left-[35%] h-[420px] w-[420px] rounded-full opacity-50",style:{background:"radial-gradient(circle, rgba(92, 164, 246, 0.32) 0%, rgba(92, 164, 246, 0.10) 50%, transparent 78%)",filter:"blur(60px)"}}),i.jsxs("div",{className:"relative mx-auto grid min-h-[calc(100svh-80px)] max-w-[1280px] grid-cols-1 items-center gap-10 px-6 pb-12 pt-6 md:grid-cols-[1.35fr_1fr] md:gap-12 md:px-10 md:pb-16 md:pt-4",children:[i.jsxs("div",{children:[i.jsxs("h1",{className:"font-display font-medium leading-[1.05] tracking-tighter text-ink text-[34px] sm:text-[42px] md:text-[52px] lg:text-[60px] xl:text-[72px]",children:[i.jsxs("span",{className:"block",children:["B2B buying"," ",i.jsxs("span",{className:"kinetic-wrap",children:[i.jsx("span",{className:"kinetic-word",children:"changed."}),i.jsx("span",{className:"kinetic-underline","aria-hidden":"true"})]})]}),i.jsxs("span",{className:"block",children:["Your buyers decided ",i.jsx("span",{className:"font-semibold",children:"without you."})]})]}),i.jsx("p",{className:"mt-6 max-w-xl text-base leading-relaxed text-body/85 md:text-lg lg:text-xl",children:"Revola is the Product Brain that shows up wherever buyers actually decide — self-serve demos, personalized deal videos, and inside ChatGPT, Claude, and Perplexity."}),i.jsxs("div",{className:"mt-7 flex flex-wrap items-center gap-5",children:[i.jsx(Ln,{source:"home-hero",className:"rounded-full bg-ink px-6 py-3 text-sm font-medium text-paper hover:bg-inkSoft transition-colors md:text-base",children:"Build your Product Brain →"}),i.jsx($T,{trigger:i.jsx("button",{type:"button",className:"text-sm text-body/80 underline-offset-4 hover:text-ink hover:underline transition-colors md:text-base",children:"Watch the 90-second story →"})})]})]}),i.jsx(lM,{})]})]}),i.jsx(uM,{}),i.jsx(vM,{}),i.jsx(EM,{}),i.jsx(LM,{}),i.jsx(BM,{}),i.jsx(zM,{}),i.jsx(Pr,{})]}),yj="https://rooms.meetrevola.com/room?room=22562912-d15e-4c15-8d1e-81a65b6e49da",vj="https://www.chat.revola.ai/room?room=4f311019-e5f1-421a-bf2f-2e71f8ba9a81",Ag=({src:e=yj,title:t="Revola Room"})=>i.jsxs("div",{className:"flex min-h-screen flex-col bg-[#0E0F11] text-paper",children:[i.jsx(Tr,{variant:"auth",tone:"dark"}),i.jsx("main",{className:"mx-auto w-full max-w-[1280px] flex-1 px-4 pb-8 md:px-10",children:i.jsx("div",{className:"h-[calc(100dvh-124px)] min-h-[520px] overflow-hidden rounded-[20px] bg-[#0E0F11] ring-1 ring-white/10",children:i.jsx("iframe",{title:t,src:e,allow:"microphone; camera; display-capture; clipboard-read; clipboard-write; autoplay; fullscreen",allowFullScreen:!0,className:"h-full w-full border-0"})})}),i.jsx(Pr,{})]}
335),Ma=[.16,1,.3,1],Rg="#5CA4F6",WM=[{tag:"Self-guided",label:"Book the meeting",body:"A flicker of interest becomes a slot on your calendar — no rep in the loop."},{tag:"Event capture",label:"Win the booth",body:"Your champion forwards the Room and it sells in rooms you’re not in."},{tag:"AI discovery",label:"Win AI search",body:"Be the story buyers find when they ask ChatGPT, Claude, or Gemini first."}],UM=()=>i.jsxs("div",{className:"min-h-screen bg-[#0E0F11] text-paper",children:[i.jsx(Tr,{tone:"dark"}),i.jsxs("section",{className:"mx-auto max-w-[1280px] px-6 pt-8 md:px-10 md:pt-12",children:[i.jsxs(I.div,{initial:{opacity:0,y:16},animate:{opacity:1,y:0},transition:{duration:.6,ease:Ma},className:"flex items-center gap-3",children:[i.jsx("span",{className:"font-mono text-[13px] tabular-nums",style:{color:Rg},children:"01"}),i.jsx("span",{className:"h-px w-8 bg-white/15"}),i.jsx("span",{className:"font-mono text-[10px] uppercase tracking-eyebrow text-paper/50",children:"Product Room"})]}),i.jsx(I.h1,{initial:{opacity:0,y:18},animate:{opacity:1,y:0},transition:{duration:.7,delay:.1,ease:Ma},className:"mt-5 max-w-[18ch] font-display font-medium leading-[1.02] tracking-tighter text-paper text-[36px] sm:text-[46px] md:text-[58px] lg:text-[68px]",children:"A room that sells while you sleep."})]}),i.jsx("section",{className:"mx-auto max-w-[1280px] px-6 pb-16 pt-10 md:px-10 md:pb-24 md:pt-12",children:i.jsxs(I.div,{initial:{opacity:0,y:24},animate:{opacity:1,y:0},transition:{duration:.7,delay:.2,ease:Ma},children:[i.jsx("div",{className:"overflow-hidden rounded-[20px] bg-[#0E0F11] ring-1 ring-white/10",children:i.jsx("div",{className:"relative h-[62vh] min-h-[480px] md:h-[70vh]",children:i.jsx("iframe",{title:"Revola Product Room — live",src:yj,allow:"microphone; camera; clipboard-read; clipboard-write; autoplay; fullscreen",allowFullScreen:!0,className:"absolute inset-0 h-full w-full border-0"})})}),i.jsx("p",{className:"mt-3 font-mono text-[10.5px] uppercase tracking-eyebrow text-paper/35",children:"Revola’s own room, live. In production it’s your product, your voice, your proof."})]})}),i.jsx("section",{className:"border-t border-white/[0.06]",children:i.jsx("div",{className:"mx-auto max-w-[1280px] px-6 py-16 md:px-10 md:py-24",children:i.jsx("div",{className:"grid grid-cols-1 gap-10 md:grid-cols-3 md:gap-8",children:WM.map((e,t)=>i.jsxs(I.div,{initial:{opacity:0,y:16},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-60px"},transition:{duration:.5,delay:t*.08,ease:Ma},className:"border-l border-white/10 pl-6",children:[i.jsx("p",{className:"font-mono text-[10px] uppercase tracking-eyebrow",style:{color:Rg},children:e.tag}),i.jsx("h3",{className:"mt-3 font-display text-[20px] font-medium tracking-tighter-3 text-paper md:text-[22px]",children:e.label}),i.jsx("p",{className:"mt-2 max-w-xs text-[14px] leading-relaxed text-paper/55",children:e.body})]},e.label))})})}),i.jsx("section",{className:"border-t border-white/[0.06]",children:i.jsxs("div",{className:"mx-auto flex max-w-[1280px] flex-col items-start gap-10 px-6 py-16 md:flex-row md:items-end md:justify-between md:px-10 md:py-24",children:[i.jsx("h2",{className:"max-w-[20ch] font-display font-medium leading-[1.05] tracking-tighter-2 text-paper text-[28px] sm:text-[36px] md:text-[44px]",children:"Drop a Room URL into your next deal."}),i.jsxs("div",{className:"flex flex-wrap items-center gap-5",children:[i.jsxs(Ln,{source:"product-room",className:"group inline-flex items-center gap-2 rounded-full bg-paper px-6 py-3 text-base font-medium text-ink transition-all duration-300 hover:-translate-y-px hover:bg-white",children:[i.jsx("span",{children:"Build your Product Brain"}),i.jsx("span",{"aria-hidden":!0,className:"inline-block transition-transform duration-500 group-hover:translate-x-1",children:"→"})]}),i.jsx(Qe,{to:"/product",className:"text-base text-paper/55 underline-offset-4 transition-colors duration-300 hover:text-paper hover:underline",children:"How the Brain works →"})]})]})}),i.jsx(Pr,{})]}),_a=[.16,1,.3,1],Mg="#d97757",HM=[{tag:"Demo",label:"Product / UI walkthrough",body:"A pixel-perfect rebuild of your actual UI. Days, not weeks."},{tag:"Growth",label:"Launch & brand",body:"Motion-heavy launch films, announcements, campaigns."},{tag:"Revenue",label:"Sales videos",body:"Personalized pitches, ABM, co-branded partner films, event follow-ups."},{tag:"Pitch",label:"Investor & company story",body:"Fundraise, narrative, recruiting — told once, properly."}],GM=()=>i.jsxs("div",{className:"min-h-screen bg-[#0E0F11] text-paper",children:[i.jsx(Tr,{tone:"dark"}),i.jsxs("section",{className:"mx-auto max-w-[1280px] px-6 pt-8 md:px-10 md:pt-12",children:[i.jsxs(I.div,{initial:{opacity:0,y:16}
335,animate:{opacity:1,y:0},transition:{duration:.6,ease:_a},className:"flex items-center gap-3",children:[i.jsx("span",{className:"font-mono text-[13px] tabular-nums",style:{color:Mg},children:"02"}),i.jsx("span",{className:"h-px w-8 bg-white/15"}),i.jsx("span",{className:"font-mono text-[10px] uppercase tracking-eyebrow text-paper/50",children:"Video Studio"})]}),i.jsx(I.h1,{initial:{opacity:0,y:18},animate:{opacity:1,y:0},transition:{duration:.7,delay:.1,ease:_a},className:"mt-5 max-w-[20ch] font-display font-medium leading-[1.02] tracking-tighter text-paper text-[36px] sm:text-[46px] md:text-[58px] lg:text-[68px]",children:"Films cut from your product truth."})]}),i.jsx("section",{id:"video",className:"mx-auto max-w-[1280px] scroll-mt-24 px-6 pb-16 pt-10 md:px-10 md:pb-24 md:pt-12",children:i.jsxs(I.div,{initial:{opacity:0,y:24},animate:{opacity:1,y:0},transition:{duration:.7,delay:.2,ease:_a},children:[i.jsx("div",{className:"overflow-hidden rounded-[20px] bg-[#0E0F11] ring-1 ring-white/10",children:i.jsx("div",{className:"relative h-[62vh] min-h-[480px] md:h-[70vh]",children:i.jsx("iframe",{title:"Revola Video Studio — live",src:vj,allow:"microphone; camera; clipboard-read; clipboard-write; autoplay; fullscreen",allowFullScreen:!0,className:"absolute inset-0 h-full w-full border-0"})})}),i.jsx("p",{className:"mt-3 font-mono text-[10.5px] uppercase tracking-eyebrow text-paper/35",children:"The studio’s own room, live. Ask Aria for samples, pricing, timelines."})]})}),i.jsx("section",{className:"border-t border-white/[0.06]",children:i.jsx("div",{className:"mx-auto max-w-[1280px] px-6 py-16 md:px-10 md:py-24",children:i.jsx("div",{className:"grid grid-cols-1 gap-10 sm:grid-cols-2 md:gap-x-8 lg:grid-cols-4",children:HM.map((e,t)=>i.jsxs(I.div,{initial:{opacity:0,y:16},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-60px"},transition:{duration:.5,delay:t*.06,ease:_a},className:"border-l border-white/10 pl-6",children:[i.jsx("p",{className:"font-mono text-[10px] uppercase tracking-eyebrow",style:{color:Mg},children:e.tag}),i.jsx("h3",{className:"mt-3 font-display text-[19px] font-medium tracking-tighter-3 text-paper md:text-[21px]",children:e.label}),i.jsx("p",{className:"mt-2 max-w-xs text-[14px] leading-relaxed text-paper/55",children:e.body})]},e.label))})})}),i.jsx("section",{className:"border-t border-white/[0.06]",children:i.jsxs("div",{className:"mx-auto flex max-w-[1280px] flex-col items-start gap-10 px-6 py-16 md:flex-row md:items-end md:justify-between md:px-10 md:py-24",children:[i.jsx("h2",{className:"max-w-[22ch] font-display font-medium leading-[1.05] tracking-tighter-2 text-paper text-[28px] sm:text-[36px] md:text-[44px]",children:"Ship the video your team keeps postponing."}),i.jsxs("div",{className:"flex flex-wrap items-center gap-5",children:[i.jsxs(Ln,{source:"deal-video",className:"group inline-flex items-center gap-2 rounded-full bg-paper px-6 py-3 text-base font-medium text-ink transition-all duration-300 hover:-translate-y-px hover:bg-white",children:[i.jsx("span",{children:"Build your Product Brain"}),i.jsx("span",{"aria-hidden":!0,className:"inline-block transition-transform duration-500 group-hover:translate-x-1",children:"→"})]}),i.jsx(Qe,{to:"/video-room",className:"text-base text-paper/55 underline-offset-4 transition-colors duration-300 hover:text-paper hover:underline",children:"Step into the studio →"})]})]})}),i.jsx(Pr,{})]}),Ju=[{label:"overview.md",icon:"doc",color:"#a78bfa",bg:"rgba(167, 139, 250, 0.10)",x:-160,y:-160,delay:0},{label:"deck-Q4.key",icon:"deck",color:"#5CA4F6",bg:"rgba(92, 164, 246, 0.10)",x:160,y:-160,delay:.5},{label:"pricing.pdf",icon:"pdf",color:"#d97757",bg:"rgba(217, 119, 87, 0.12)",x:-190,y:0,delay:1},{label:"positioning.md",icon:"star",color:"#bda6ff",bg:"rgba(189, 166, 255, 0.12)",x:190,y:0,delay:1.5},{label:"call-04.txt",icon:"transcript",color:"#5CA4F6",bg:"rgba(92, 164, 246, 0.10)",x:-130,y:170,delay:2},{label:"demo.mp4",icon:"recording",color:"#d97757",bg:"rgba(217, 119, 87, 0.12)",x:130,y:170,delay:2.5}],_g=({kind:e,color:t})=>{const n={stroke:t,strokeWidth:1.4,fill:"none",strokeLinecap:"round",strokeLinejoin:"round"};return e==="doc"||e==="pdf"?i.jsxs("svg",{width:"13",height:"13",viewBox:"0 0 16 16",...n,children:[i.jsx("path",{d:"M3 1.5h6.5L12.5 4.5V14H3z"}),i.jsx("path",{d:"M9.5 1.5V4.5h3"}),i.jsx("path",{d:"M5 7h6M5 9.5h6M5 12h4"})]}):e==="deck"?i.jsxs("svg",{width:"13",height:"13",viewBox:"0 0 16 16",...n,children:[i.jsx("rect",{x:"2",y:"3",width:"12",height:"8",rx:"1"}),i.jsx("path",{d:"M6 13.5h4M8 11v2.5"})]}):e==="transcript"?i.jsxs("svg",{width:"13",height:"13",viewBox:"0 0 16 16",...n,children:[i.jsx("rect",{x:"2.5",y:"2.5",width:"11",height:"11",rx:"1.5"}),i.jsx("path",{d:"M5 6h6M5 8.5h6M5 11h3.5"})]}):e==="recording"?i.jsxs("svg",{width:"13",height:"13",viewBox:"0 0 16 16",...n,children:[i.jsx("rect",{x:"2",y:"3",width:"12",height:"10",rx:"1.5"}),i.jsx("path",{d:"M6.5 6.5L11 8L6.5 9.5z",fill:t})]}):i.jsx("svg",{width:"13",height:"13",viewBox:"0 0 16 16",...n,children:i.jsx("path",{d:"M8 1.5L9.6 5.6L14 6.2L10.7 9.1L11.6 13.5L8 11.3L4.4 13.5L5.3 9.1L2 6.2L6.4 5.6z"})})},Dg=({x:e,y:t,delay:n})=>
335i.jsx(I.span,{"aria-hidden":!0,className:"absolute left-0 top-0 h-1.5 w-1.5 rounded-full",style:{background:"#a78bfa"},initial:{x:e,y:t,opacity:0,scale:1},animate:{x:[e,e*.55,0],y:[t,t*.55,0],opacity:[0,.9,0],scale:[1,.85,.3]},transition:{duration:3,delay:n,ease:[.4,0,.7,1],repeat:1/0,repeatDelay:.4}}),KM=()=>{const e=Zt()??!1;return i.jsxs("div",{className:"relative mx-auto h-[460px] w-full max-w-[760px] md:h-[520px]","aria-label":"Source files orbiting and feeding the Product Brain",children:[Ju.map((t,n)=>i.jsx("div",{className:"absolute hidden lg:block",style:{left:"50%",top:"50%",transform:`translate(calc(-50% + ${t.x}px), calc(-50% + ${t.y}px))`},children:i.jsxs(I.div,{initial:e?!1:{opacity:0},whileInView:{opacity:1},viewport:{once:!0,margin:"-80px"},transition:{duration:.6,delay:.1+n*.08,ease:[.16,1,.3,1]},className:"inline-flex items-center gap-1.5 rounded-xl border bg-white/[0.06] px-3 py-2 backdrop-blur-sm",style:{borderColor:`${t.color}40`,background:t.bg},children:[i.jsx(_g,{kind:t.icon,color:t.color}),i.jsx("span",{className:"whitespace-nowrap font-mono text-[10.5px] tracking-tighter-4 text-paper/75",children:t.label})]})},t.label)),!e&&i.jsx("div",{className:"pointer-events-none absolute left-1/2 top-1/2 h-0 w-0",children:Ju.flatMap((t,n)=>[i.jsx(Dg,{x:t.x,y:t.y,delay:t.delay},`${t.label}-1`),i.jsx(Dg,{x:t.x,y:t.y,delay:t.delay+1.4},`${t.label}-2`)])}),i.jsx("div",{className:"grid grid-cols-2 gap-2 lg:hidden",children:Ju.map(t=>i.jsxs("div",{className:"inline-flex items-center gap-1.5 rounded-xl border px-3 py-2",style:{borderColor:`${t.color}40`,background:t.bg},children:[i.jsx(_g,{kind:t.icon,color:t.color}),i.jsx("span",{className:"truncate font-mono text-[10.5px] text-paper/75",children:t.label})]},t.label))}),i.jsx("div",{className:"absolute left-1/2 top-1/2 hidden -translate-x-1/2 -translate-y-1/2 md:block",children:i.jsxs("div",{className:"relative grid place-items-center",children:[i.jsx("span",{"aria-hidden":!0,className:"halo-breath absolute h-[180px] w-[180px] rounded-full bg-brandViolet/35 blur-[45px]"}),i.jsx("img",{src:"/icon.png",alt:"",decoding:"async",className:"relative h-[88px] w-[88px] animate-orb-float"})]})})]})},Uf=[{category:"Pricing",color:"#a78bfa",question:"How does pricing scale at 50 seats?",answer:"Growth tier starts at $12K/yr — volume discount kicks in at 100 seats. Want me to send the rate sheet?",sources:["pricing/Q4-rates.pdf","sales/enterprise.md"]},{category:"Security",color:"#bda6ff",question:"How do you handle PII?",answer:"Sealed inference layer — nothing leaves your account, nothing retained by model providers. Each buyer session is isolated.",sources:["security/sealed-inference.md"]},{category:"Integrations",color:"#5CA4F6",question:"Does Revola integrate with HubSpot?",answer:"Two-way sync for accounts, contacts, and deals. Setup takes about 10 minutes per connector.",sources:["integrations/hubspot.md"]},{category:"Comparisons",color:"#d97757",question:"How is Revola different from Salesloft?",answer:"Different category. Salesloft is sales engagement. Revola is the Brain that powers your Product Room and Video Studio.",sources:["positioning/Q4-2025.md"]},{category:"Persona",color:"#a78bfa",question:"What does this look like for a CFO?",answer:"For finance buyers I lead with payback math, retention, and the dollars-per-rep saved. The CTO frame is different — same brain, different voice.",sources:["positioning/personas-cfo.md"]},{category:"Objection",color:"#bda6ff",question:"“We already have a chatbot.”",answer:"Chatbots deflect; the Product Brain answers. We use your real docs, cite our sources, and hand off to a human when the buyer asks for one.",sources:["playbooks/objections.md"]}],YM=Uf.map(e=>({name:e.category,color:e.color})),QM=(e,t,n)=>{const[r,s]=h.useState(n?e:"");return h.useEffect(()=>{if(n){s(e);return}s("");let o=0;const a=window.setInterval(()=>{o+=1,s(e.slice(0,o)),o>=e.length&&window.clearInterval(a)},t);return()=>window.clearInterval(a)},[e,t,n]),r},XM=7e3,qM=()=>{const e=Zt()??!1,[t,n]=h.useState(0),[r,s]=h.useState(!1),o=h.useRef(void 0);h.useEffect(()=>{if(!(r||e))return o.current=window.setInterval(()=>n(u=>(u+1)%Uf.length),XM),()=>{o.current!==void 0&&window.clearInterval(o.current)}},[r,e]);const a=Uf[t],l=QM(a.answer,22,e),c=e||l.length===a.answer.length;return i.jsxs("div",{onMouseEnter:()=>s(!0),onMouseLeave:()=>s(!1),className:"rounded-[24px] bg-white/[0.03] p-6 ring-1 ring-white/[0.08] md:p-10",children:[i.jsx("div",{className:"flex flex-wrap items-center gap-2",children:YM.map((u,d)=>{const p=d===t;return i.jsx("button",{type:"button",onClick:()=>n(d),className:`rounded-full px-3 py-1.5 text-[12px] font-medium transition-all duration-300 ${p?"text-ink":""}`,style:p?{background:u.color,boxShadow:`0 4px 14px -4px ${u.color}66`}:{background:`${u.color}1a`,color:u.color},children:u.name},u.name)})}),i.jsx("div",{className:"relative mt-7 min-h-[260px] md:mt-10 md:min-
335h-[300px]",children:i.jsx(Ic,{mode:"wait",children:i.jsxs(I.div,{initial:e?!1:{opacity:0,y:12},animate:{opacity:1,y:0},exit:e?void 0:{opacity:0,y:-10},transition:{duration:.5,ease:[.16,1,.3,1]},className:"absolute inset-0",children:[i.jsxs("div",{className:"flex items-start gap-3",children:[i.jsx("span",{className:"font-mono text-[10px] uppercase tracking-eyebrow text-paper/40",children:"Q"}),i.jsx("p",{className:"font-display text-[22px] font-medium leading-[1.2] tracking-tighter-3 text-paper md:text-[26px]",children:a.question})]}),i.jsxs("div",{className:"mt-6 flex items-start gap-3",children:[i.jsx("span",{"aria-hidden":!0,className:"grid h-7 w-7 shrink-0 place-items-center rounded-full",style:{background:`radial-gradient(circle at 32% 28%, #bda6ff 0%, ${a.color} 70%)`,boxShadow:`0 0 0 2px rgba(14,15,17,1), 0 4px 14px ${a.color}33`},children:i.jsxs("svg",{width:"13",height:"13",viewBox:"0 0 24 24",fill:"none",stroke:"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[i.jsx("rect",{x:"9",y:"3",width:"6",height:"12",rx:"3"}),i.jsx("path",{d:"M5 11 C 5 16, 8.5 18, 12 18 C 15.5 18, 19 16, 19 11"}),i.jsx("line",{x1:"12",y1:"18",x2:"12",y2:"22"}),i.jsx("line",{x1:"8.5",y1:"22",x2:"15.5",y2:"22"})]})}),i.jsxs("p",{className:"text-[15px] leading-relaxed text-paper/75 md:text-base","aria-live":"polite",children:[l,!e&&l.length<a.answer.length&&i.jsx("span",{className:"cursor-bar",style:{color:a.color},"aria-hidden":!0})]})]}),c&&i.jsxs(I.div,{initial:e?!1:{opacity:0,y:4},animate:{opacity:1,y:0},transition:{duration:.4,ease:[.16,1,.3,1]},className:"ml-10 mt-4 flex flex-wrap items-center gap-1.5",children:[i.jsx("span",{className:"font-mono text-[10px] uppercase tracking-eyebrow text-paper/40",children:"Sources"}),a.sources.map(u=>i.jsx("span",{className:"rounded-md bg-white/[0.06] px-2 py-1 font-mono text-[10px] text-paper/45",children:u},u))]})]},t)})}),i.jsx("p",{className:"mt-6 font-mono text-[10.5px] uppercase tracking-eyebrow text-paper/30",children:r?"Paused on hover · click a category":"Auto-cycling · hover to pause"})]})},Et=[.16,1,.3,1],ZM=[{number:"01",label:"Product Room",accent:"#5CA4F6",headline:"A room that sells while you sleep.",body:"Buyers ask anything, book from inside it, and forward it into rooms you’re not in.",live:{href:"/",text:"Step inside"},detail:"/product-room"},{number:"02",label:"Video Studio",accent:"#d97757",headline:"Films cut from your product truth.",body:"UI walkthroughs, launch films, sales videos, your investor story. Days, not weeks.",live:{href:"/video-room",text:"Step inside"},detail:"/deal-video"}],JM=()=>i.jsxs("div",{className:"min-h-screen bg-[#0E0F11] text-paper",children:[i.jsx(Tr,{tone:"dark"}),i.jsx("section",{className:"relative overflow-hidden",children:i.jsx("div",{className:"relative mx-auto max-w-[1280px] px-6 pb-16 pt-10 md:px-10 md:pb-24 md:pt-16",children:i.jsxs("div",{className:"grid grid-cols-1 items-center gap-12 md:grid-cols-[1fr_1.35fr] md:gap-16",children:[i.jsxs("div",{children:[i.jsx(I.p,{initial:{opacity:0,y:12},animate:{opacity:1,y:0},transition:{duration:.5,ease:Et},className:"font-mono text-xs uppercase tracking-eyebrow text-paper/40",children:"The Product"}),i.jsxs(I.h1,{initial:{opacity:0,y:16},animate:{opacity:1,y:0},transition:{duration:.7,delay:.1,ease:Et},className:"mt-6 font-display font-medium leading-[1.0] tracking-tighter text-paper text-[40px] sm:text-[52px] md:text-[68px] lg:text-[84px]",children:[i.jsx("span",{className:"block",children:"A Product"}),i.jsxs("span",{className:"relative inline-block isolate",children:[i.jsx(I.span,{"aria-hidden":!0,initial:{scaleX:0},animate:{scaleX:1},transition:{duration:.7,delay:.6,ease:Et},style:{position:"absolute",inset:"20% -2% 8% -2%",background:"rgba(150,111,248,0.38)",transformOrigin:"left center",zIndex:-1}}),i.jsx("span",{className:"relative",children:"Brain."})]})]}),i.jsx(I.p,{initial:{opacity:0,y:14},animate:{opacity:1,y:0},transition:{duration:.6,delay:.25,ease:Et},className:"mt-7 max-w-md text-base leading-relaxed text-paper/60 md:text-lg",children:"Fed once with your docs, decks, and calls. It powers everything below."})]}),i.jsx(I.div,{initial:{opacity:0,y:22}
335,animate:{opacity:1,y:0},transition:{duration:.8,delay:.2,ease:Et},children:i.jsx(KM,{})})]})})}),i.jsx("section",{className:"border-t border-white/[0.06]",children:i.jsx("div",{className:"mx-auto max-w-[1280px] px-6 py-20 md:px-10 md:py-28",children:i.jsx("div",{className:"grid grid-cols-1 gap-5 md:grid-cols-2",children:ZM.map((e,t)=>i.jsxs(I.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-80px"},transition:{duration:.6,delay:t*.1,ease:Et},className:"group relative flex min-h-[340px] flex-col justify-between overflow-hidden rounded-[20px] bg-white/[0.03] p-8 ring-1 ring-white/[0.08] transition-colors duration-500 hover:bg-white/[0.05] md:min-h-[420px] md:p-10",children:[i.jsx("div",{"aria-hidden":!0,className:"pointer-events-none absolute -right-24 -top-24 h-72 w-72 rounded-full opacity-25 blur-[70px] transition-opacity duration-700 group-hover:opacity-40",style:{background:e.accent}}),i.jsxs("div",{className:"relative flex items-center gap-3",children:[i.jsx("span",{className:"font-mono text-[13px] tabular-nums",style:{color:e.accent},children:e.number}),i.jsx("span",{className:"h-px w-8 bg-white/15"}),i.jsx("span",{className:"font-mono text-[10px] uppercase tracking-eyebrow text-paper/50",children:e.label})]}),i.jsxs("div",{className:"relative mt-10",children:[i.jsx("h2",{className:"max-w-[16ch] font-display text-[30px] font-medium leading-[1.08] tracking-tighter-2 text-paper md:text-[38px]",children:e.headline}),i.jsx("p",{className:"mt-4 max-w-sm text-[15px] leading-relaxed text-paper/55",children:e.body}),i.jsxs("div",{className:"mt-8 flex flex-wrap items-center gap-5",children:[i.jsxs(Qe,{to:e.live.href,className:"inline-flex items-center gap-2 rounded-full bg-paper px-5 py-2.5 text-sm font-medium text-ink transition-all duration-300 hover:-translate-y-px hover:bg-white",children:[i.jsx("span",{children:e.live.text}),i.jsx("span",{"aria-hidden":!0,children:"→"})]}),i.jsx(Qe,{to:e.detail,className:"text-sm text-paper/55 underline-offset-4 transition-colors duration-300 hover:text-paper hover:underline",children:"Read more"})]})]})]},e.label))})})}),i.jsx("section",{className:"border-t border-white/[0.06]",children:i.jsxs("div",{className:"mx-auto max-w-[1280px] px-6 py-20 md:px-10 md:py-28",children:[i.jsx(I.p,{initial:{opacity:0,y:12},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-80px"},transition:{duration:.5,ease:Et},className:"font-mono text-xs uppercase tracking-eyebrow text-paper/40",children:"Your control center"}),i.jsx(I.h2,{initial:{opacity:0,y:14},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-80px"},transition:{duration:.6,delay:.1,ease:Et},className:"mt-5 max-w-[24ch] font-display font-medium leading-[1.05] tracking-tighter-2 text-paper text-[30px] sm:text-[38px] md:text-[46px]",children:"Every session, every signal, one view."}),i.jsx(I.div,{initial:{opacity:0,y:22},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-80px"},transition:{duration:.7,delay:.2,ease:Et},className:"mt-10 md:mt-14",children:i.jsx(gj,{})})]})}),i.jsx("section",{className:"border-t border-white/[0.06]",children:i.jsxs("div",{className:"mx-auto max-w-[1280px] px-6 py-20 md:px-10 md:py-28",children:[i.jsx(I.p,{initial:{opacity:0,y:12},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-80px"},transition:{duration:.5,ease:Et},className:"font-mono text-xs uppercase tracking-eyebrow text-paper/40",children:"What it knows"}),i.jsx(I.h2,{initial:{opacity:0,y:14},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-80px"},transition:{duration:.6,delay:.1,ease:Et},className:"mt-5 max-w-[24ch] font-display font-medium leading-[1.05] tracking-tighter-2 text-paper text-[30px] sm:text-[38px] md:text-[46px]",children:"Ask it anything your buyer would."}),i.jsx(I.div,{initial:{opacity:0,y:22},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-80px"},transition:{duration:.7,delay:.2,ease:Et},className:"mt-10 md:mt-14",children:i.jsx(qM,{})})]})}),i.jsx("section",{className:"border-t border-white/[0.06]",children:i.jsxs("div",{className:"mx-auto flex max-w-[1280px] flex-col items-start gap-10 px-6 py-20 md:flex-row md:items-end md:justify-between md:px-10 md:py-28",children:[i.jsx("h2",{className:"max-w-[22ch] font-display font-medium leading-[1.05] tracking-tighter-2 text-paper text-[30px] sm:text-[38px] md:text-[46px] lg:text-[52px]",children:"Build a brain your team would be proud to send."}),i.jsxs("div",{className:"flex flex-wrap items-center gap-5",children:[i.jsxs(Ln,{source:"product",className:"group inline-flex items-center gap-2 rounded-full bg-paper px-6 py-3 text-base font-medium text-ink transition-all duration-300 hover:-translate-y-
335px hover:bg-white",children:[i.jsx("span",{children:"Build your Product Brain"}),i.jsx("span",{"aria-hidden":!0,className:"inline-block transition-transform duration-500 group-hover:translate-x-1",children:"→"})]}),i.jsx(Qe,{to:"/",className:"text-base text-paper/55 underline-offset-4 transition-colors duration-300 hover:text-paper hover:underline",children:"Step into Revola’s live room →"})]})]})}),i.jsx(Pr,{})]}),zn=[.16,1,.3,1],e_=[{title:"Honest, not slick.",body:"We tell buyers the truth — about pricing, about fit, about where we are not the right answer. Sales improves when nobody has to guess."},{title:"Built on what already works.",body:"Your docs, your decks, your positioning. We do not ask you to start over. We deploy what your best AE already says, everywhere your buyers look."},{title:"Sealed by default.",body:"Your data never trains a model. The provider sees ciphertext. We see operational counts. Your account sees everything it asks to."}],t_=Array.from({length:6},(e,t)=>({initial:"·",role:"",index:t})),n_=()=>i.jsxs("div",{className:"min-h-screen bg-paper text-body",children:[i.jsx(Tr,{}),i.jsxs("section",{className:"mx-auto max-w-[1280px] px-6 pt-12 md:px-10 md:pt-20",children:[i.jsx(I.p,{initial:{opacity:0,y:12},animate:{opacity:1,y:0},transition:{duration:.5,ease:zn},className:"font-mono text-xs uppercase tracking-eyebrow text-mute",children:"About"}),i.jsxs(I.h1,{initial:{opacity:0,y:18},animate:{opacity:1,y:0},transition:{duration:.7,delay:.1,ease:zn},className:"mt-6 max-w-[18ch] font-display font-medium leading-[1.0] tracking-tighter text-ink text-[44px] sm:text-[60px] md:text-[78px] lg:text-[92px] xl:text-[108px]",children:["B2B buying changed."," ",i.jsx("span",{className:"text-brandViolet",children:"We rebuilt sales"})," for the way buyers actually decide."]}),i.jsx(I.p,{initial:{opacity:0,y:14},animate:{opacity:1,y:0},transition:{duration:.7,delay:.25,ease:zn},className:"mt-10 max-w-2xl text-base leading-relaxed text-body/85 md:text-lg lg:text-xl",children:"17% of the buying journey happens with a salesperson. The other 83% happens in research tabs, async videos, committee threads, and inside the LLMs your buyers already use. Revola is the Product Brain that meets them everywhere."})]}),i.jsx("section",{className:"border-t border-offWhite bg-paper mt-20 md:mt-28",children:i.jsxs("div",{className:"mx-auto max-w-[1280px] px-6 py-24 md:px-10 md:py-32",children:[i.jsx(I.p,{initial:{opacity:0,y:12},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-80px"},transition:{duration:.5,ease:zn},className:"font-mono text-xs uppercase tracking-eyebrow text-mute",children:"What we believe"}),i.jsx("div",{className:"mt-12 grid grid-cols-1 gap-12 md:mt-14 md:grid-cols-3 md:gap-10",children:e_.map((e,t)=>i.jsxs(I.div,{initial:{opacity:0,y:18},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-80px"},transition:{duration:.6,delay:.1+t*.1,ease:zn},children:[i.jsx("h3",{className:"font-display text-[26px] font-medium leading-[1.1] tracking-tighter-3 text-ink md:text-[30px]",children:e.title}),i.jsx("p",{className:"mt-5 max-w-md text-base leading-relaxed text-body/85",children:e.body})]},e.title))})]})}),i.jsx("section",{className:"border-t border-offWhite bg-paper",children:i.jsxs("div",{className:"mx-auto max-w-[1280px] px-6 py-24 md:px-10 md:py-32",children:[i.jsx(I.p,{initial:{opacity:0,y:12},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-80px"},transition:{duration:.5,ease:zn},className:"font-mono text-xs uppercase tracking-eyebrow text-mute",children:"The team"}),i.jsx(I.h2,{initial:{opacity:0,y:14},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-80px"},transition:{duration:.6,delay:.1,ease:zn},className:"mt-5 max-w-[24ch] font-display font-medium leading-[1.05] tracking-tighter-2 text-ink text-[32px] sm:text-[40px] md:text-[48px] lg:text-[52px]",children:"Builders who have shipped the surfaces buyers already trust."}),i.jsx("div",{className:"mt-14 grid grid-cols-2 gap-5 md:mt-16 md:grid-cols-3 md:gap-6 lg:grid-cols-6",children:t_.map(e=>i.jsxs(I.div,{initial:{opacity:0,y:12},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-80px"},transition:{duration:.5,delay:.05+e.index*.05,ease:zn},className:"flex flex-col gap-3",children:[i.jsx("div",{className:"aspect-square overflow-hidden rounded-2xl bg-offWhite ring-1 ring-offWhite"}),i.jsx("div",{children:i.jsx("p",{className:"font-mono text-[10px] uppercase tracking-eyebrow text-mute",children:"Headsh
335ot pending"})})]},e.index))}),i.jsx("p",{className:"mt-10 max-w-2xl text-[12.5px] leading-relaxed text-mute",children:"Real names and photos drop in once the team has signed off on bios. We will not ship stock headshots."})]})}),i.jsx("section",{className:"border-t border-offWhite bg-paper",children:i.jsxs("div",{className:"mx-auto grid max-w-[1280px] grid-cols-1 gap-12 px-6 py-24 md:grid-cols-2 md:gap-16 md:px-10 md:py-32",children:[i.jsxs("div",{children:[i.jsx("p",{className:"font-mono text-xs uppercase tracking-eyebrow text-mute",children:"Backed by"}),i.jsx("p",{className:"mt-5 max-w-md text-base leading-relaxed text-body/85 md:text-lg",children:"Disclosed once round terms are public. Until then, our investors are operators who have shipped the surfaces buyers actually use."})]}),i.jsxs("div",{children:[i.jsx("p",{className:"font-mono text-xs uppercase tracking-eyebrow text-mute",children:"Open roles"}),i.jsxs("p",{className:"mt-5 max-w-md text-base leading-relaxed text-body/85 md:text-lg",children:["We hire when there is a real seat to fill, not for headcount targets. Reach out at"," ",i.jsx("a",{href:"mailto:[email protected]",className:"font-medium text-ink underline-offset-4 hover:underline",children:"[email protected]"})," ","if your work is in B2B sales infrastructure or applied LLM systems."]})]})]})}),i.jsx("section",{className:"border-t border-offWhite bg-paper",children:i.jsxs("div",{className:"mx-auto flex max-w-[1280px] flex-col items-start gap-10 px-6 py-20 md:flex-row md:items-end md:justify-between md:px-10 md:py-28",children:[i.jsx("h2",{className:"max-w-[22ch] font-display font-medium leading-[1.05] tracking-tighter-2 text-ink text-[32px] sm:text-[40px] md:text-[48px] lg:text-[56px]",children:"One Brain. Every channel. Every signal."}),i.jsxs("div",{className:"flex flex-wrap items-center gap-5",children:[i.jsxs(Ln,{source:"company",className:"group inline-flex items-center gap-2 rounded-full bg-ink px-6 py-3 text-base font-medium text-paper transition-all duration-300 hover:-translate-y-px hover:bg-inkSoft",children:[i.jsx("span",{children:"Build your Product Brain"}),i.jsx("span",{"aria-hidden":!0,className:"inline-block transition-transform duration-500 group-hover:translate-x-1",children:"→"})]}),i.jsx(Qe,{to:"/product-room",className:"text-base text-body/80 underline-offset-4 transition-colors duration-300 hover:text-ink hover:underline",children:"See a live Product Room →"})]})]})}),i.jsx(Pr,{})]}),Li=[.16,1,.3,1],r_=()=>{const[e,t]=h.useState(""),[n,r]=h.useState(""),[s,o]=h.useState(""),[a,l]=h.useState(""),[c,u]=h.useState("idle"),d=e.trim()&&n.trim()&&c!=="sending",p=async f=>{if(f.preventDefault(),!!d){u("sending");try{await hj("contact",{name:e.trim(),email:n.trim(),company:s.trim(),message:a.trim()}),u("success")}catch{u("error")}}};return i.jsxs("div",{className:"flex min-h-screen flex-col bg-[#0E0F11] text-paper",children:[i.jsx(Tr,{tone:"dark"}),i.jsx("main",{className:"mx-auto w-full max-w-[1280px] flex-1 px-6 pb-20 pt-8 md:px-10 md:pt-12",children:i.jsxs("div",{className:"grid grid-cols-1 gap-12 md:grid-cols-[1fr_1.1fr] md:gap-20",children:[i.jsxs("div",{children:[i.jsx(I.p,{initial:{opacity:0,y:12},animate:{opacity:1,y:0},transition:{duration:.5,ease:Li},className:"font-mono text-xs uppercase tracking-eyebrow text-paper/40",children:"Contact"}),i.jsx(I.h1,{initial:{opacity:0,y:16},animate:{opacity:1,y:0},transition:{duration:.7,delay:.1,ease:Li},className:"mt-5 max-w-[14ch] font-display font-medium leading-[1.02] tracking-tighter text-paper text-[40px] sm:text-[48px] md:text-[56px]",children:"Talk to us."}),i.jsx(I.p,{initial:{opacity:0,y:14},animate:{opacity:1,y:0},transition:{duration:.6,delay:.2,ease:Li},className:"mt-6 max-w-sm text-base leading-relaxed text-paper/55",children:"A question, a sample request, a deal you want help with — one line is enough."}),i.jsx(I.div,{initial:{opacity:0,y:14},animate:{opacity:1,y:0},transition:{duration:.6,delay:.3,ease:Li},className:"mt-10 flex flex-col gap-2",children:i.jsx("a",{href:"mailto:[email protected]",className:"text-[15px] text-paper/70 underline-offset-4 transition-colors duration-300 hover:text-paper hover:underline",children:"[email protected]"})})]}),i.jsx(I.div,{initial:{opacity:0,y:18}
335,animate:{opacity:1,y:0},transition:{duration:.7,delay:.15,ease:Li},className:"rounded-[20px] bg-white/[0.03] p-6 ring-1 ring-white/[0.08] md:p-8",children:c==="success"?i.jsxs("div",{className:"flex h-full flex-col items-start justify-center gap-5 py-4",children:[i.jsx("span",{className:"grid h-10 w-10 place-items-center rounded-full bg-mint text-ink",children:i.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:i.jsx("path",{d:"M3 8.5l3.5 3.5L13 5.5"})})}),i.jsxs("div",{children:[i.jsxs("h2",{className:"font-display text-[24px] font-medium tracking-tighter-3 text-paper md:text-[28px]",children:["Got it, ",e.split(" ")[0]||"there","."]}),i.jsx("p",{className:"mt-3 max-w-md text-[14px] leading-relaxed text-paper/60",children:"We read everything. You’ll hear back within one business day."})]}),i.jsx("button",{type:"button",onClick:()=>{u("idle"),t(""),r(""),o(""),l("")},className:"text-sm text-paper/60 underline-offset-4 transition-colors duration-300 hover:text-paper hover:underline",children:"Send another →"})]}):i.jsxs("form",{onSubmit:p,className:"flex flex-col gap-4",children:[i.jsxs("div",{className:"grid grid-cols-1 gap-3 sm:grid-cols-2",children:[i.jsx(ed,{id:"ct-name",label:"Your name",value:e,onChange:t,placeholder:"Cam Lopez",required:!0,disabled:c==="sending"}),i.jsx(ed,{id:"ct-company",label:"Company",value:s,onChange:o,placeholder:"Acme",disabled:c==="sending"})]}),i.jsx(ed,{id:"ct-email",label:"Work email",type:"email",value:n,onChange:r,placeholder:"[email protected]",required:!0,disabled:c==="sending"}),i.jsxs("div",{children:[i.jsx("label",{htmlFor:"ct-message",className:"font-mono text-[10px] uppercase tracking-eyebrow text-paper/40",children:"What’s on your mind?"}),i.jsx("textarea",{id:"ct-message",value:a,onChange:f=>l(f.target.value),rows:4,maxLength:800,placeholder:"One line is enough.",disabled:c==="sending",className:"mt-2 w-full resize-none rounded-xl border border-white/10 bg-white/[0.04] px-4 py-3 text-[14px] text-paper placeholder:text-paper/30 focus:border-white/25 focus:outline-none focus:ring-2 focus:ring-white/10 disabled:opacity-60"})]}),i.jsxs("button",{type:"submit",disabled:!d,className:"group mt-1 inline-flex items-center justify-center gap-2 rounded-full bg-paper px-7 py-3.5 text-base font-medium text-ink transition-all duration-300 hover:-translate-y-px hover:bg-white disabled:cursor-not-allowed disabled:opacity-50 disabled:hover:translate-y-0",children:[i.jsx("span",{children:c==="sending"?"Sending…":"Send message"}),c!=="sending"&&i.jsx("span",{"aria-hidden":!0,className:"transition-transform duration-500 group-hover:translate-x-1",children:"→"})]}),c==="error"&&i.jsx("p",{className:"text-[12.5px] text-coral",children:"Something went wrong. Try again, or email us at [email protected]."}),i.jsx("p",{className:"text-[11.5px] leading-relaxed text-paper/35",children:"We use your details only to reply. No marketing list."})]})})]})}),i.jsx(Pr,{})]})},ed=({id:e,label:t,value:n,onChange:r,placeholder:s,type:o="text",required:a,disabled:l})=>i.jsxs("div",{children:[i.jsx("label",{htmlFor:e,className:"font-mono text-[10px] uppercase tracking-eyebrow text-paper/40",children:t}),i.jsx("input",{id:e,type:o,value:n,onChange:c=>r(c.target.value),placeholder:s,required:a,disabled:l,className:"mt-2 w-full rounded-xl border border-white/10 bg-white/[0.04] px-4 py-3 text-[14px] text-paper placeholder:text-paper/30 focus:border-white/25 focus:outline-none focus:ring-2 focus:ring-white/10 disabled:opacity-60"})]}),s_=({title:e,eyebrow:t="COMING SOON"})=>i.jsxs("main",{className:"min-h-screen bg-paper text-body",children:[i.jsxs("header",{className:"mx-auto flex max-w-[1280px] items-center justify-between px-6 py-6 md:px-10",children:[i.jsx("a",{href:"/",className:"font-mono text-sm tracking-eyebrow uppercase text-ink",children:"REVOLA"}),i.jsx("a",{href:"/",className:"text-sm text-body/80 hover:text-ink transition-colors",children:"← Home"})]}),i.jsxs("section",{className:"mx-auto flex max-w-[1280px] flex-col items-start gap-6 px-6 py-32 md:px-10 md:py-48",children:[i.jsx("p",{className:"eyebrow",children:t}),i.jsx("h1",{className:"font-display text-5xl font-medium tracking-tighter-2 text-ink md:text-7xl lg:text-8xl",children:e}),i.jsx("p",{className:"max-w-xl text-lg text-mute",children:"This page is part of the rebuild IA. Content lands in Phase 2."})]})]}),i_="modulepreload",o_=function(e){return"/"+e},Lg={},Xo=function(t,n,r){let s=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const a=document.querySelector("meta[property=csp-nonce]"),l=(a==null?void 0:a.nonce)||(a==null?void 0:a.getAttribute("nonce"));s=Promise.allSettled(n.map(c=>{if(c=o_(c),c in Lg)return;Lg[c]=!0;const u=c.endsWith(".css"),d=u?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${c}"]${d}`))return;const p=document.createElement("link");if(p.rel=u?"stylesheet":i_,u||(p.as="script"),p.crossOrigin="",p.href=c,l&&p.setAttribute("nonce",l),document.head.appendChild(p),u)return new Promise((f,m)=>{p.addEventListener("load",f),p.addEventListener("error",()=>m(new Error(`Unable to preload CSS for ${c}`)))})}))}function o(a){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=a,window.dispatchEvent(l),!l.defaultPrevented)throw a}return s.then(a=>{for(const l of a||[])l.status==="rejected"&&o(l.reason);return t().catch(o)})},zh=()=>{const[e,t]=h.useState(!1),[n,r]=h.useState(!1),[s,o]=h.useState(null),a=h.useRef(null);return h.useEffect(()=>{const l=()=>t(window.scrollY>20),c=()=>r(window.innerWidth<768),u=d=>{a.current&&!a.current.contains(d.target)&&o(null)};return c(),window.addEventListener("scroll",l),window.addEventListener("resize",c),document.addEventListener("click",u),()=>{window.removeEventListener("scroll",l),window.removeEventListener("resize",c),document.removeEventListener("click",u)}},[]),i.jsxs("div",{className:"fixed top-3 sm:top-4 md:top-6 left-1/2 -translate-x-1/2 z-50 animate-fade-in-down w-[calc(100%-2rem)] max-w-sm sm:max-w-md md:w-auto md:max-w-none px-4 md:px-0",children:[i.jsxs("nav",{className:`relative backdrop-blur-xl border rounded-full px-4 sm:px-6 py-3 shadow-2xl transition-all duration-300 group ${e?"border-white/30 bg-white/80":"border-white/20 bg-white/10"}`,"aria-label":"Global",children:[i.jsx("div",{className:"absolute -inset-1 rounded-full opacity-0 transition-opacity duration-500 blur-xl group-hover:opacity-60 pointer-events-none",style:{background:"linear-gradient(to right, rgba(255,255,255,0.15), rgba(255,255,255,0.05)
335)",backdropFilter:"blur(16px)",WebkitBackdropFilter:"blur(16px)",border:"1px solid rgba(255,255,255,0.2)"}}),i.jsxs("div",{className:"relative flex items-center justify-between gap-4",children:[i.jsx("a",{href:"/",className:"flex items-center","aria-label":"Revola home",children:i.jsx("img",{src:"/logo.png",alt:"Revola Logo",className:"h-10 w-auto opacity-90 transition-transform duration-300 group-hover:scale-105"})}),i.jsx("div",{className:"hidden md:flex items-center gap-2",children:i.jsx("div",{className:"relative",ref:a,children:s==="solutions"&&i.jsx("div",{onMouseLeave:()=>o(null),className:"absolute left-1/2 -translate-x-1/2 mt-3 w-[720px] rounded-2xl border border-white/40 bg-white backdrop-blur-xl shadow-2xl p-4",role:"menu"})})}),i.jsx("div",{className:"flex items-center gap-2",children:i.jsxs("a",{href:"https://www.app.revola.ai",target:"_blank",rel:"noopener noreferrer",className:"group/button relative overflow-hidden border rounded-full transition-all duration-300 flex items-center gap-2 text-sm font-medium tracking-wide shadow-sm hover:shadow-md active:scale-95 px-4 py-2 sm:px-5 sm:py-2.5 bg-slate-100/50 border-slate-700/20 text-slate-600 hover:border-sky-400/50 hover:bg-slate-200/70 hover:text-black hover:scale-105",children:[i.jsx("div",{className:"absolute top-0 left-0 h-full w-full bg-gradient-to-r from-transparent via-sky-300/20 to-transparent transform -translate-x-full group-hover/button:translate-x-full transition-transform duration-700"}),i.jsx(uS,{className:"relative z-10 w-4 h-4 transition-transform duration-300 group-hover/button:scale-110"}),i.jsx("span",{className:"relative z-10 text-xs sm:text-sm",children:"Login"})]})})]})]}),i.jsx("style",{children:`
336        @keyframes fade-in-down {
337          from { opacity: 0; transform: translate(-50%, -20px); }
338          to { opacity: 1; transform: translate(-50%, 0); }
339        }
340        .animate-fade-in-down { animation: fade-in-down 0.7s ease-out forwards; }
341        nav { -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
342        @media (max-width: 768px) {
343          nav { -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
344        }
345      `})]})},a_=({onAnalyze:e,isLoading:t,isDisabled:n,reportMode:r=!1,lockedUrl:s,onShowReport:o})=>{const[a,l]=h.useState(!1),[c,u]=h.useState(""),d=m=>m.replace(/^\s*https?:\/\//i,"").replace(/^\s*\/+/,""),p=m=>`https://${m.trim()}`;h.useEffect(()=>{r&&s&&u(d(s))},[r,s]);const f=()=>{const m=d(c).trim();!m||t||n||e==null||e(p(m))};return i.jsxs("div",{className:"relative min-h-screen overflow-hidden bg-[#FFF9F6] selection:bg-[#F7B07C] selection:text-[#4E342E]",children:[i.jsx(zh,{}),i.jsx("div",{className:"absolute top-6 right-6 z-50",children:i.jsxs("a",{href:"https://calendly.com/syadav-revola/30min",target:"_blank",rel:"noopener noreferrer",className:`
346            flex items-center gap-2 px-5 py-3 rounded-full
347            bg-white shadow-[0_2px_15px_-3px_rgba(0,0,0,0.07)]
348            border border-slate-100
349            text-slate-600 font-medium text-sm tracking-wide
350            transition-all duration-300 ease-out
351            hover:shadow-[0_8px_25px_-5px_rgba(0,0,0,0.1)] hover:-translate-y-0.5 hover:text-slate-900
352          `,children:[i.jsx(Up,{className:"w-4 h-4 text-[#D4A993] group-hover:text-[#E97BA0] transition-colors"}),i.jsx("span",{children:"Schedule a Meeting"})]})}),i.jsxs("div",{className:"absolute inset-0 z-0 pointer-events-none overflow-hidden",children:[i.jsx("div",{className:"absolute inset-0 opacity-[0.015] mix-blend-multiply",style:{backgroundImage:`url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E")`}}),i.jsx("div",{className:"absolute inset-0",style:{background:"radial-gradient(circle at 30% 20%, rgba(255,228,215,0.35), transparent 60%), radial-gradient(circle at 80% 70%, rgba(242,225,255,0.35), transparent 60%)"}}),i.jsx("div",{className:`absolute top-[-15%] left-[-10%] w-[70vw] h-[70vw] 
353            bg-[#FFE8DE] rounded-full mix-blend-multiply filter blur-[150px] opacity-[0.12] animate-float-slow`}),i.jsx("div",{className:`absolute top-[25%] right-[-20%] w-[60vw] h-[60vw]
354            bg-[#F5D9E2] rounded-full mix-blend-multiply filter blur-[150px] opacity-[0.10] animate-float-delayed`}),i.jsx("div",{className:`absolute bottom-[-10%] left-[25%] w-[50vw] h-[50v
354w]
355            bg-[#E7F3FF] rounded-full mix-blend-multiply filter blur-[130px] opacity-[0.12] animate-float-reverse`})]}),i.jsxs("div",{className:"relative z-20 flex flex-col items-center justify-center min-h-screen px-6 -mt-10",children:[i.jsx("div",{className:"animate-fade-in-up opacity-0 mb-8",style:{animationDelay:"100ms"},children:i.jsxs("div",{className:"inline-flex items-center gap-2 px-4 py-2 rounded-full bg-white/40 border border-white/60 shadow-sm backdrop-blur-md text-sm font-medium text-slate-600",children:[i.jsxs("span",{className:"flex h-2 w-2 relative",children:[i.jsx("span",{className:"animate-ping absolute inline-flex h-full w-full rounded-full bg-[#E97BA0] opacity-75"}),i.jsx("span",{className:"relative inline-flex rounded-full h-2 w-2 bg-[#E97BA0]"})]}),i.jsx("span",{children:"#1 Engagement Layer for Enterprise"})]})}),i.jsxs("div",{className:"text-center max-w-4xl mx-auto space-y-6 mb-12",children:[i.jsxs("h1",{className:"font-medium text-5xl sm:text-6xl md:text-7xl font-light tracking-tight text-slate-800 leading-[1.1] animate-fade-in-up opacity-0",style:{animationDelay:"200ms"},children:["Accelerate Your  ",i.jsx("br",{className:"hidden md:block"}),i.jsxs("span",{className:"relative inline-block text-transparent bg-clip-text bg-gradient-to-r from-[#D4A993] via-[#E8B3A4] to-[#B8A2C9]",children:["Enterprise Sales",i.jsx("svg",{className:"absolute w-full h-3  left-0 -z-10",viewBox:"0 0 200 9",fill:"none",children:i.jsx("path",{d:"M2 7C25 3 83 -1 198 5",stroke:"#E8B3A4",strokeWidth:"3",strokeLinecap:"round",shapeRendering:"geometricPrecision"})})]})]}),i.jsx("p",{className:"text-lg md:text-xl text-slate-600 max-w-2xl mx-auto leading-relaxed animate-fade-in-up opacity-0 font-medium",style:{animationDelay:"300ms"},children:"Light up quiet, slow internal committee reviews and turn them into clear actions, so deals reach yes faster."})]}),i.jsxs("div",{className:"w-full max-w-2xl animate-fade-in-up opacity-0 relative",style:{animationDelay:"400ms"},children:[i.jsx(q1,{className:"absolute -top-8 -right-4 w-6 h-6 text-[#C8B2D8] animate-bounce-slow opacity-80"}),i.jsx("div",{className:`
356              relative group rounded-full p-2 transition-all duration-500
357              bg-white/50 backdrop-blur-xl border border-white/70
358              ${a?"shadow-[0_20px_50px_-10px_rgba(200,150,150,0.25)] scale-[1.02]":"shadow-[0_10px_40px_-10px_rgba(0,0,0,0.05)] hover:shadow-[0_15px_45px_-10px_rgba(0,0,0,0.08)]"}
359            `,children:i.jsxs("div",{className:"relative flex flex-col sm:flex-row items-center bg-white rounded-full p-1.5 transition-all duration-300",children:[i.jsxs("div",{className:"flex-1 w-full flex items-center px-6 h-14",children:[i.jsx("span",{className:"text-slate-400 font-medium text-lg mr-1",children:"https://"}),i.jsx("input",{type:"text",value:r?d(s??""):c,readOnly:r,placeholder:"yourcompany.com",onFocus:()=>l(!0),onBlur:()=>l(!1),onChange:m=>!r&&u(d(m.target.value)),onKeyDown:m=>{m.key==="Enter"&&(m.preventDefault(),r?o==null||o():f())},className:"w-full bg-transparent outline-none text-slate-800 text-lg font-medium placeholder:text-slate-300"})]}),i.jsx("button",{disabled:r?!1:n||t||!c.trim(),onClick:()=>r?o==null?void 0:o():f(),className:`
360                  w-full sm:w-auto h-12 sm:h-12 sm:px-8 rounded-full font-semibold text-white text-base tracking-wide
361                  transition-all duration-300 flex items-center justify-center gap-2 shadow-lg
362                  ${r?"bg-slate-800 hover:bg-slate-700":"bg-gradient-to-r from-[#F7B07C] to-[#E97BA0] hover:shadow-lg hover:brightness-105"}
363                  ${!r&&(t||!c.trim())?"opacity-50 cursor-not-allowed grayscale":""}
364                `,children:t?i.jsx("div",{className:"w-5 h-5 border-2 border-white/30 border-t-white rounded-full animate-spin"}):i.jsxs(i.Fragment,{children:[r?"View":"Generate",i.jsx(Wo,{className:"w-4 h-4"})]})})]})}),i.jsxs("p",{className:"mt-6 text-center text-sm font-medium text-slate-500",children:["No credit card required • Generates a live"," ",i.jsx("span",{className:"font-semibold text-slate-700",children:"Product Hub"})]})]})]}),i.jsx("style",{children:`
365        @keyframes fade-in-up { from { opacity:0; transform:translateY(20px) } to { opacity:1; transform:translateY(0) } }
366        @keyframes float-slow { 0%{transform:translate(0,0) scale(1)} 50%{transform:translate(30px,-30px) scale(1.1)} 100%{transform:translate(0,0) scale(1)} }
367        @keyframes float-delayed { 0%{transform:translate(0,0)} 50%{transform:translate(-30px,30px)} 100%{transform:translate(0,0)} }
368        @keyframes float-reverse { 0%{transform:translate(0,0)} 50%{transform:translate(20px,20px)} 100%{transform:translate(0,0)} }
369        @keyframes bounce-slow { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
370
371        .animate-fade-in-up { animation: fade-in-up .8s cubic-bezier(.16,1,.3,1) forwards }
372        .animate-float-slow { animation: float-slow 15s ease-in-out infinite }
373        .animate-float-delayed { animation: float-delayed 18s ease-in-out infinite; animation-delay:2s }
374        .animate-float-reverse { animation: float-reverse 20s ease-in-out infinite; animation-delay:1s }
375        .animate-bounce-slow { animation: bounce-slow 4s ease-in-out infinite }
376      `})]})},l_=({message:e="Analyzing…",subtext:t="Checking for conversion opportunities…"})=>{const[n,r]=h.useState(!1);return h.useEffect(()=>r(!0),[]),i.jsxs(i.Fragment,{children:[i.jsx("div",{className:["fixed top-5 right-5 z-[999] pointer-events-none",n?"animate-overlay-enter":"opacity-0 -translate-y-3"].join(" "),role:"status","aria-live":"polite","aria-atomic":"true",children:i.jsxs("div",{className:"pointer-events-auto w-80 rounded-2xl border border-white/60 bg-white/80 backdrop-blur-xl shadow-[0_12px_40px_rgba(0,0,0,0.18)] overflow-hidden",children:[i.jsx("div",{className:"relative h-1.5 bg-gradient-to-r from-[#F7B07C] via-[#E97BA0] to-[#B99AD9]",children:i.jsx("div",{className:"absolute inset-0 animate-progress-s
376himmer bg-[linear-gradient(90deg,transparent,rgba(255,255,255,0.7),transparent)]"})}),i.jsxs("div",{className:"px-4 py-3.5",children:[i.jsxs("div",{className:"flex items-center gap-3",children:[i.jsxs("div",{className:"relative",children:[i.jsx("div",{className:"w-6 h-6 rounded-full border-2 border-slate-300/40"}),i.jsx("div",{className:"absolute inset-0 rounded-full border-2 border-transparent border-t-slate-700 animate-spin"}),i.jsx("div",{className:"absolute -inset-1 rounded-full bg-[#E97BA0]/15 blur-md"})]}),i.jsxs("div",{className:"min-w-0",children:[i.jsx("h2",{className:"text-sm font-semibold tracking-wide text-slate-900",children:e}),i.jsx("p",{className:"text-[11px] text-slate-600 truncate",children:t})]})]}),i.jsxs("div",{className:"mt-3 flex items-center gap-2 text-[11px] text-slate-500",children:[i.jsx("div",{className:"size-1.5 rounded-full bg-emerald-500 animate-pulse"}),"Running content scan, CTA checks, and trust signals…"]}),i.jsx("div",{className:"mt-2.5 h-1.5 w-full rounded-full bg-slate-200/60 overflow-hidden",children:i.jsx("div",{className:"h-full w-1/3 rounded-full bg-slate-800/70 animate-indeterminate"})})]})]})}),i.jsx("style",{children:`
377        @keyframes overlay-enter {
378          0% {
379            opacity: 0;
380            transform: translateY(-8px);
381          }
382          60% {
383            opacity: 1;
384            transform: translateY(2px);
385          }
386          100% {
387            opacity: 1;
388            transform: translateY(0);
389          }
390        }
391        .animate-overlay-enter {
392          animation: overlay-enter 420ms cubic-bezier(0.22, 1, 0.36, 1) both;
393        }
394
395        @keyframes indeterminate {
396          0% {
397            transform: translateX(-120%);
398          }
399          60% {
400            transform: translateX(120%);
401          }
402          100% {
403            transform: translateX(120%);
404          }
405        }
406        .animate-indeterminate {
407          animation: indeterminate 1.4s ease-in-out infinite;
408        }
409
410        @keyframes progress-shimmer {
411          0% {
412            transform: translateX(-100%);
413          }
414          100% {
415            transform: translateX(100%);
416          }
417        }
418        .animate-progress-shimmer::before {
419          content: '';
420          position: absolute;
421          inset: 0;
422          background: linear-gradient(
423            90deg,
424            transparent,
425            rgba(255, 255, 255, 0.75),
426            transparent
427          );
428          transform: translateX(-100%);
429          animation: progress-shimmer 1.6s ease-in-out infinite;
430        }
431      `})]})},Ye=(e,t=0)=>{if(e==null||Number.isNaN(e))return"—";const n=e.toFixed(t);return n.endsWith(".0")?n.slice(0,-2):n},c_=e=>e==null||Number.isNaN(e)?"—":`$${e.toLocaleString("en-US",{minimumFractionDigits:0,maximumFractionDigits:0})}`,u_=e=>{const t=Ye(e,1);return t==="—"?t:`${t}%`},Fg={coverage:.5,discovery:.3,timeToClarity:.2},td={coverage:"from-[#BDA6FF] via-[#9ACBEB] to-[#F8B8AA]",discovery:"from-[#38BDF8] via-[#22D3EE] to-[#7C6CF3]",timeToClarity:"from-[#F97316] via-[#FCD34D] to-[#A855F7]"},d_=[{key:"buyer",label:"Buyer"},{key:"user",label:"User"},{key:"decisionmaker",label:"Decisionmaker"}],Ig={buyer:90,user:85,decisionmaker:90},Og=90,f_=90,Vg=90,Bg=90,wj="from-[#6A45C3] via-[#9ACBEB] to-[#F8B8AA]",Da=e=>e==null||Number.isNaN(e)?null:Math.max(0,Math.min(100,e)),zg=e=>{if(e==null||Number.isNaN(e))return null;if(e<=2)return 100;if(e>=15)return 0;const t=[{s:2,score:100},{s:3,score:90},{s:5,score:75},{s:8,score:50},{s:15,score:0}],n=t.findIndex(a=>a.s>=e);if(n<=0)return t[0].score;const r=t[n-1],s=t[n],o=(e-r.s)/(s.s-r.s);return r.score+o*(s.score-r.score)},p_=e=>{const t=e.filter(s=>s.actual!==null);if(t.length===0)return null;const n=t.reduce((s,o)=>s+Fg[o.key],0);return n===0?null:t.reduce((s,o)=>s+Fg[o.key]*(o.actual??0),0)/n},h_=(e,t,n)=>{if(!e)return["No data collected for this persona yet."];if(e.top_driver_fixes&&e.top_driver_fixes.length>0)return e.top_driver_fixes;if(!e.details||e.details.length===0)return e.rationale?[e.rationale]:[];const r=[],s=[...e.details].sort((o,a)=>{const l=Math.max(t-(o.coverage_score??0),n-(o.findability_score??0));return Math.max(t-(a.coverage_score??0),n-(a.findability_score??0))-l});for(const o of s){if(r.length>=3)break;const a=t-(o.coverage_score??0);a>5&&r.length<3&&r.push(`Boost ${o.category} coverage (−${Ye(Math.max(0,a),0)} pts)`);const l=n-(o.findability_score??0);l>5&&r.length<3&&r.push(`Reduce clicks to ${o.category} (−${Ye(Math.max(0,l),0)} pts)`)}return r.length===0&&e.rationale&&r.push(e.rationale),r.length>0?r:["Keep monitoring—no critical blockers surfaced."]},Jl=({text:e,className:t})=>{const n=R.useId(),r=R.useRef(null),s=R.useRef(null),[o,a]=R.useState(!1),[l,c]=R.use
431State(!1),[u,d]=R.useState({top:0,left:0}),p=R.useCallback(()=>{s.current&&(window.clearTimeout(s.current),s.current=null)},[]),f=R.useCallback(()=>{const x=r.current;if(!x)return;const b=x.getBoundingClientRect();d({top:b.top+b.height/2+window.scrollY,left:b.right+8+window.scrollX})},[]),m=R.useCallback(()=>{p(),f(),c(!0)},[p,f]),v=R.useCallback(()=>{p(),s.current=window.setTimeout(()=>{c(!1)},60)},[p]);return R.useEffect(()=>(a(!0),()=>{p()}),[p]),R.useEffect(()=>{if(!l)return;f();const x=()=>{f()};return window.addEventListener("scroll",x,!0),window.addEventListener("resize",x),()=>{window.removeEventListener("scroll",x,!0),window.removeEventListener("resize",x)}},[l,f]),i.jsxs("span",{className:`relative inline-flex isolate ${t??""} hover:z-[6000] focus-within:z-[6000]`,onMouseEnter:m,onMouseLeave:v,children:[i.jsx("button",{ref:r,type:"button","aria-label":e,"aria-describedby":n,onFocus:m,onBlur:v,className:"relative z-[2] inline-flex h-4 w-4 items-center justify-center text-slate-400 transition-colors duration-200 hover:text-[#7C6CF3] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#BDA6FF]/50",children:i.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",className:"h-full w-full","aria-hidden":"true",children:i.jsx("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a1 1 0 000 2v3a1 1 0 001 1h1a1 1 0 100-2v-3a1 1 0 00-1-1H9z",clipRule:"evenodd"})})}),o&&l&&gc.createPortal(i.jsx("span",{role:"tooltip",id:n,onMouseEnter:m,onMouseLeave:v,className:"pointer-events-auto fixed z-[7000] w-56 -translate-y-1/2 scale-100 transform rounded-xl border border-slate-200 bg-white px-3 py-2 text-[0.7rem] leading-relaxed text-slate-600 opacity-100 shadow-[0_18px_50px_-24px_rgba(24,35,52,0.55)] transition-all duration-200",style:{to
431p:u.top,left:u.left},children:e}),document.body)]})},m_=({opportunity:e,index:t})=>i.jsxs("div",{className:"group relative overflow-hidden rounded-3xl border border-[#F3D9C4]/70 bg-white/80 p-6 text-slate-700 shadow-[0_30px_70px_-45px_rgba(45,64,89,0.55)] transition-all duration-500 hover:-translate-y-1 hover:shadow-[0_40px_95px_-45px_rgba(45,64,89,0.6)] animate-[floatIn_0.55s_ease-out_forwards]",style:{animationDelay:`${t*.08}s`},children:[i.jsx("div",{className:"pointer-events-none absolute inset-0 bg-gradient-to-br from-[#FDD9BF]/55 via-[#BDA6FF]/40 to-[#9ACBEB]/45 opacity-0 transition-opacity duration-500 group-hover:opacity-100"}),i.jsxs("div",{className:"relative z-10 space-y-3",children:[i.jsxs("h3",{className:"flex items-baseline gap-2 text-lg font-medium text-slate-900",children:[i.jsx("span",{className:"shrink-0 font-medium text-sm tracking-[0.12em] text-[#7C6CF3]",children:String(t+1).padStart(2,"0")}),i.jsx("span",{className:"leading-snug",children:e.title})]}),i.jsxs("p",{className:"text-sm font-light leading-relaxed text-slate-600",children:[i.jsx("span",{className:"font-medium text-slate-700",children:"Why It Matters:"})," ",e.why_it_matters]}),e.recommended_play&&i.jsxs("p",{className:"text-sm font-normal leading-relaxed text-slate-500",children:[i.jsx("span",{className:"font-medium text-slate-700",children:"Recommended Action:"})," ",e.recommended_play]})]})]}),x_=({metric:e,animationDelay:t=0})=>{const n=e.actual!==null?Math.max(0,Math.min(e.actual,100)):0,r=Math.max(0,Math.min(e.target,100));return i.jsxs("div",{className:"relative space-y-2 hover:z-[4000] focus-within:z-[4000]",children:[i.jsxs("div",{className:"relative z-20 flex items-center justify-between gap-3 hover:z-[5000] focus-within:z-[5000]",children:[i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsx("span",{className:"text-sm font-medium text-slate-800",children:e.label}),i.jsx(Jl,{text:e.tooltip,className:"translate-y-[-1px]"})]}),i.jsxs("div",{className:"text-[0.6rem] font-medium uppercase tracking-[0.10em] text-slate-400",children:["Target ",Ye(e.target)]})]}),i.jsxs("div",{className:"relative h-3 w-full overflow-hidden rounded-full bg-slate-200/70",children:[i.jsx("div",{className:`absolute left-0 top-0 h-full rounded-full bg-gradient-to-r ${e.gradient}`,style:{width:`${n}%`,transition:"width 0.85s cubic-bezier(0.33, 1, 0.68, 1)",transitionDelay:`${t}s`}}),i.jsx("div",{"aria-hidden":!0,className:"absolute top-1/2 h-5 w-[2px] -translate-y-1/2 rounded-full bg-slate-500/70",style:{left:`${r}%`}})]}),i.jsx("div",{className:"flex items-center text-xs text-slate-500",children:i.jsxs("span",{children:["Actual: ",e.actual!==null?`${Ye(e.actual,1)} pts`:"—"]})}),e.footnote&&i.jsx("div",{className:"text-[0.65rem] uppercase tracking-[0.10em] text-slate-400",children:e.footnote})]})},g_=({score:e,target:t,gradient:n})=>{const r=e!==null?Math.max(0,Math.min(e,100)):0,s=Math.max(0,Math.min(t,100));return i.jsxs("div",{className:"mt-5 space-y-2",children:[i.jsxs("div",{className:"relative h-3 w-full overflow-hidden rounded-full bg-slate-200/70",children:[i.jsx("div",{className:`absolute left-0 top-0 h-full rounded-full bg-gradient-to-r ${n}`,style:{width:`${r}%`,transition:"width 0.85s cubic-bezier(0.33, 1, 0.68, 1)"}}),i.jsx("div",{"aria-hidden":!0,className:"absolute top-1/2 h-5 w-[2px] -translate-y-1/2 rounded-full bg-slate-500/70",style:{left:`${s}%`}})]}),i.jsxs("div",{className:"flex items-center justify-between text-[0.65rem] uppercase tracking-[0.10em] text-slate-400",children:[i.jsxs("span",{children:["Score ",e!==null?Ye(e,1):"—"]}),i.jsxs("span",{children:["Target ",Ye(t)]})]})]})},y_=({actual:e,target:t})=>{const n=e!==null?Math.max(0,Math.min(e,100)):0,r=Math.max(0,Math.min(t,100));return i.jsxs("div",{className:"space-y-3 text-left",children:[i.jsxs("div",{className:"flex items-center justify-between gap-3",children:[i.jsx("span",{className:"text-[0.65rem] font-semibold uppercase tracking-[0.24em] text-slate-400",children:"Progress to 90"}),i.jsxs("span",{className:"text-[0.65rem] font-medium uppercase tracking-[0.10em] text-slate-400",children:["Target ",Ye(t)]})]}),i.jsxs("div",{className:"relative h-3 w-full overflow-hidden rounded-full bg-slate-200/70",children:[i.jsx("div",{className:`absolute left-0 top-0 h-full rounded-full bg-gradient-to-r ${wj}`,style:{width:`${n}%`,transition:"width 0.9s cubic-bezier(0.33, 1, 0.68, 1)",transitionDelay:"0.12s"}}
431),i.jsx("div",{"aria-hidden":!0,className:"absolute top-1/2 h-5 w-[2px] -translate-y-1/2 rounded-full bg-slate-500/70",style:{left:`${r}%`}}),i.jsx("div",{"aria-hidden":!0,className:"pointer-events-none absolute inset-0 opacity-0 mix-blend-screen transition-opacity duration-700",style:{opacity:n>0?.6:0},children:i.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-white/25 via-transparent to-white/30"})})]}),i.jsx("div",{className:"flex items-center text-xs text-slate-500",children:i.jsxs("span",{children:["Actual: ",e!==null?`${Ye(e,1)} pts`:"—"]})})]})},v_=({score:e,targetScore:t,gap:n,scoreLabel:r,scoreTier:s,clarityScorePercent:o,clarityTimeSeconds:a,pagesFetched:l,maxDepth:c,pipelineProjection:u})=>{const d=R.useRef(null),[p,f]=R.useState(!1),m=R.useCallback(()=>{f(!0)},[]),v=R.useCallback(()=>{if(typeof document<"u"&&d.current){const S=document.activeElement;if(S&&d.current.contains(S))return}f(!1)},[]),x=R.useCallback(S=>{var D;const C=S.relatedTarget;C&&((D=d.current)!=null&&D.contains(C))||f(!1)},[]),b=R.useCallback(S=>{S.key==="Escape"&&(S.preventDefault(),f(!1),S.currentTarget.blur())},[]),g=r??s??"Your digital storefront readiness",y=r&&s&&r!==s?s:null,w=o!==null?u_(o):"—",j=a!==null?`${Ye(a,1)}s`:"—",k=typeof l=="number"&&Number.isFinite(l)?l.toLocaleString("en-US"):"—",T=typeof c=="number"&&Number.isFinite(c)?c.toLocaleString("en-US"):"—",P=(u==null?void 0:u.estimated_additional_monthly_demos)??null,E=(u==null?void 0:u.estimated_pipeline_value_usd)??null;return i.jsxs("div",{ref:d,className:"group relative flex w-full flex-col rounded-3xl focus:outline-none focus-visible:ring-2 focus-visible:ring-[#BDA6FF]/50 focus-visible:ring-offset-2 focus-visible:ring-offset-white",tabIndex:0,onFocus:m,onBlur:x,onMouseEnter:m,onMouseLeave:v,onKeyDown:b,"aria-expanded":p,children:[i.jsxs("div",{className:"relative flex w-full flex-col overflow-hidden rounded-3xl border border-[#E6E1F9]/70 bg-white/85 text-slate-700 shadow-[0_25px_65px_-45px_rgba(45,64,89,0.45)] transition-all duration-500 ease-out group-hover:-translate-y-1 group-hover:shadow-[0_40px_95px_-45px_rgba(45,64,89,0.55)] group-focus-within:-translate-y-1 group-focus-within:shadow-[0_40px_95px_-45px_rgba(45,64,89,0.55)]",children:[i.jsx("div",{"aria-hidden":!0,className:`pointer-events-none absolute inset-x-0 top-0 h-1.5 bg-gradient-to-r ${wj}`,style:{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}}),i.jsx("div",{className:"relative flex flex-col p-6",children:i.jsxs("div",{className:`relative z-10 flex flex-col justify-between transition-opacity duration-300 ease-out ${p?"pointer-events-none opacity-0":"opacity-100"}`,children:[i.jsxs("div",{className:"flex flex-wrap items-start justify-between gap-3",children:[i.jsxs("div",{children:[i.jsx("p",{className:"text-[0.6rem] uppercase tracking-[0.10em] text-slate-400",children:"Website Score"}),i.jsx("h3",{className:"text-xl font-medium text-slate-900",children:g}),y&&i.jsx("p",{className:"mt-1 text-sm text-slate-500",children:y})]}),i.jsxs("div",{className:"text-right",children:[i.jsx("p",{className:"text-[0.6rem] uppercase tracking-[0.10em] text-slate-400",children:"Score"}),i.jsxs("p",{className:"text-3xl font-semibold text-[#7C6CF3]",children:[e!==null?Ye(e,1):"—",i.jsx("span",{className:"ml-1 text-base font-normal text-slate-400",children:"/100"})]})]})]}),i.jsx("p",{className:"mt-6 text-xs font-medium text-slate-500",children:"Hover or focus to reveal the metrics powering this rating."})]})})]}),i.jsx("div",{"aria-hidden":!p,className:`pointer-events-none absolute left-1/2 top-0 z-[1500] w-full max-w-[32rem] -translate-x-1/2 rounded-[32px] border border-[#E6E1F9]/80 bg-white/98 p-7 opacity-0 shadow-[0_45px_120px_-55px_rgba(24,35,52,0.6)] backdrop-blur-xl transition-all duration-300 ease-out ${p?"pointer-events-auto -translate-y-3 sm:-translate-y-4 lg:-translate-y-5 scale-100 opacity-100":"translate-y-4 scale-[0.96]"}`,children:i.jsxs("div",{className:"space-y-6",children:[i.jsxs("div",{className:"flex flex-wrap items-start justify-between gap-4",children:[i.jsxs("div",{children:[i.jsx("p",{className:"text-[0.6rem] uppercase tracking-[0.10em] text-slate-400",children:"Website Score"}),i.jsx("h3",{className:"text-xl font-medium text-slate-900",children:g}),y&&i.jsx("p",{className:"mt-1 text-sm text-slate-500",children:y})]}),i.jsxs("div",{className:"text-right",children:[i.jsx("p",{className:"text-[0.6rem] uppercase tracking-[0.10em] text-slate-400",children:"Score"}),i.jsxs("p",{className:"text-3xl font-semibold text-[#7C6CF3]",children:[e!==null?Ye(e,1):"—",i.jsx("span",{className:"ml-1 text-base font-normal text-slate-400",children:"/100"})]})]})]}),i.jsx(y_,{actual:e,target:t}),i.jsxs("div",{className:"grid gap-4 sm:grid-cols-2",children:[i.jsxs("div",{className:"rounded-2xl border border-[#
431E6E1F9]/70 bg-white/90 p-4 shadow-sm shadow-slate-900/5",children:[i.jsxs("p",{className:"flex items-center gap-1 text-[0.6rem] uppercase tracking-[0.10em] text-slate-400",children:["Landing Page Clarity",i.jsx(Jl,{className:"ml-1",text:"Blends clarity scoring and average time-to-understand across your highest-impact landing pages."})]}),i.jsxs("div",{className:"mt-3 flex items-end justify-between",children:[i.jsxs("div",{children:[i.jsx("p",{className:"text-2xl font-semibold text-slate-900",children:w}),i.jsx("p",{className:"text-[0.6rem] uppercase tracking-[0.10em] text-slate-400",children:"Clarity Score"})]}),i.jsxs("div",{className:"text-right",children:[i.jsx("p",{className:"text-2xl font-semibold text-slate-900",children:j}),i.jsx("p",{className:"text-[0.6rem] uppercase tracking-[0.10em] text-slate-400",children:"Time to Understand"})]})]})]}),i.jsxs("div",{className:"rounded-2xl border border-[#E6E1F9]/70 bg-white/90 p-4 shadow-sm shadow-slate-900/5",children:[i.jsxs("p",{className:"flex items-center gap-1 text-[0.6rem] uppercase tracking-[0.10em] text-slate-400",children:["Site Crawl Snapshot",i.jsx(Jl,{className:"ml-1",text:"Key stats captured while mapping your site structure and depth."})]}),i.jsxs("div",{className:"mt-3 grid gap-4 text-slate-600 sm:grid-cols-2",children:[i.jsxs("div",{children:[i.jsx("p",{className:"text-2xl font-semibold text-slate-900",children:k}),i.jsx("p",{className:"text-[0.6rem] uppercase tracking-[0.10em] text-slate-400",children:"Pages Fetched"})]}),i.jsxs("div",{className:"sm:text-right",children:[i.jsx("p",{className:"text-2xl font-semibold text-slate-900",children:T}),i.jsx("p",{className:"text-[0.6rem] uppercase tracking-[0.10em] text-slate-400",children:"Max Depth"})]})]})]})]}),i.jsxs("div",{className:"rounded-2xl border border-[#F3D9C4]/70 bg-white/92 p-5 shadow-sm shadow-orange-100/40",children:[i.jsx("p",{className:"text-[0.6rem] uppercase tracking-[0.10em] text-slate-400",children:"Pipeline Projection"}),u?i.jsxs("div",{className:"mt-3 space-y-2 text-sm text-slate-600",children:[i.jsxs("p",{children:["Capture an estimated"," ",i.jsxs("span",{className:"font-semibold text-slate-900",children:[P!==null?Ye(P):"—"," demos"]})," ","per month by addressing key gaps."]}),i.jsxs("p",{className:"text-lg font-semibold text-[#7C6CF3]",children:[E!==null?c_(E):"—",i.jsx("span",{className:"ml-1 text-sm font-normal text-slate-500",children:"/mo potential pipeline"})]})]}):i.jsx("p",{className:"mt-3 text-sm text-slate-500",children:"Pipeline projection data is not available."})]})]})})]})},w_=({personaKey:e,anchorRef:t,anchorVersion:n,onAnchorUpdate:r,personaLabel:s,accentGradient:o,metrics:a,score:l,targetScore:c,gap:u,topFixes:d,rationale:p})=>{const f=R.useRef(null),m=R.useRef(null),[v,x]=R.useState(!1),[b,g]=R.useState(0),y=e==="user",w=R.useCallback(()=>{const S=f.current,C=m.current;if(!S||!C){g(0);return}const D=S.offsetHeight,L=C.offsetHeight;g(D-L)},[]),j=R.useCallback(()=>{!y||!t||t.current!==f.current&&(t.current=f.current,r==null||r())},[t,y,r]);R.useEffect(()=>{j();const S=f.current;return()=>{!y||!t||t.current===S&&(t.current=null,r==null||r())}},[t,y,r,j]),R.useEffect(()=>{w()},[n,w]),R.useEffect(()=>{if(!v||(w(),typeof window>"u"))return;const S=()=>{w()},C=window.requestAnimationFrame(S);return window.addEventListener("resize",S),window.addEventListener("scroll",S,!0),()=>{window.cancelAnimationFrame(C),window.removeEventListener("resize",S),window.removeEventListener("scroll",S,!0)}},[v,w]),R.useEffect(()=>{if(typeof window>"u"||typeof ResizeObserver>"u")return;const S=f.current;if(!S)return;const C=m.current,D=new ResizeObserver(()=>{w(),y&&(r==null||r())});return D.observe(S),C&&D.observe(C),()=>{D.disconnect()}},[y,r,w]);const k=R.useCallback(()=>{x(!0)},[]),T=R.useCallback(()=>{if(typeof document<"u"&&f.current){const S=document.activeElement;if(S&&f.current.contains(S))return}x(!1)},[]),P=R.useCallback(S=>{var D;const C=S.relatedTarget;C&&((D=f.current)!=null&&D.contains(C))||x(!1)},[]),E=R.useCallback(S=>{S.key==="Escape"&&(S.preventDefault(),x(!1),S.currentTarget.blur())},[]);return i.jsxs("div",{ref:f,className:"group relative flex w-full flex-col rounded-[32px] focus:outline-none focus-visible:ring-2 focus-visible:ring-[#BDA6FF]/50 focus-visible:ring-offset-2 focus-visible:ring-offset-white",tabIndex:0,onFocus:k,onBlur:P,onMouseEnter:k,onMouseLeave:T,onKeyDown:E,"aria-expanded":v,children:[i.jsxs("div",{className:"relative flex w-full flex-col overflow-hidden rounded-[28px] border border-[#
431E6E1F9]/70 bg-white/88 text-slate-700 shadow-[0_25px_65px_-45px_rgba(45,64,89,0.45)] transition-all duration-500 ease-out group-hover:-translate-y-1 group-hover:shadow-[0_40px_95px_-45px_rgba(45,64,89,0.55)] group-focus-within:-translate-y-1 group-focus-within:shadow-[0_40px_95px_-45px_rgba(45,64,89,0.55)]",children:[i.jsx("div",{"aria-hidden":!0,className:`pointer-events-none absolute inset-x-0 top-0 h-1.5 bg-gradient-to-r ${o}`,style:{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}}),i.jsx("div",{className:"relative flex flex-col p-5",children:i.jsxs("div",{className:`relative z-10 flex flex-col transition-opacity duration-300 ease-out ${v?"pointer-events-none opacity-0":"opacity-100"}`,children:[i.jsxs("div",{className:"flex flex-wrap items-start justify-between gap-3",children:[i.jsxs("div",{children:[i.jsx("p",{className:"text-[0.6rem] uppercase tracking-[0.10em] text-slate-400",children:"Persona"}),i.jsx("h3",{className:"text-lg font-semibold capitalize text-slate-900",children:s})]}),i.jsxs("div",{className:"text-right",children:[i.jsx("p",{className:"text-[0.6rem] uppercase tracking-[0.10em] text-slate-400",children:"Score"}),i.jsxs("p",{className:"text-xl font-semibold text-[#7C6CF3]",children:[l!==null?Ye(l,1):"—",i.jsx("span",{className:"ml-1 text-base font-normal text-slate-400",children:"/100"})]})]})]}),i.jsx(g_,{score:l,target:c,gradient:o}),i.jsx("p",{className:"mt-5 text-[0.7rem] font-medium text-slate-500",children:"Hover or focus to reveal the full playbook."})]})})]}),i.jsx("div",{ref:m,"aria-hidden":!v,className:`pointer-events-none absolute left-1/2 z-[1200] w-[min(26rem,calc(100vw-4rem))] -translate-x-1/2 rounded-[24px] border border-[#E6E1F9]/80 bg-white/98 p-5 opacity-0 shadow-[0_45px_110px_-55px_rgba(24,35,52,0.58)] backdrop-blur-xl transition-all duration-300 ease-out ${v?"pointer-events-auto translate-y-0 scale-100 opacity-100":"translate-y-4 scale-[0.96]"}`,style:{top:b},children:i.jsxs("div",{className:"max-h-[min(65vh,30rem)] space-y-5 overflow-y-auto pr-1",children:[i.jsxs("div",{className:"flex flex-wrap items-start justify-between gap-3",children:[i.jsxs("div",{children:[i.jsx("p",{className:"text-[0.6rem] uppercase tracking-[0.10em] text-slate-400",children:"Persona"}),i.jsx("h3",{className:"text-lg font-semibold capitalize text-slate-900",children:s})]}),i.jsxs("div",{className:"text-right",children:[i.jsx("p",{className:"text-[0.6rem] uppercase tracking-[0.10em] text-slate-400",children:"Score"}),i.jsxs("p",{className:"text-xl font-semibold text-[#7C6CF3]",children:[l!==null?Ye(l,1):"—",i.jsx("span",{className:"ml-1 text-base font-normal text-slate-400",children:"/100"})]})]})]}),i.jsxs("div",{className:"space-y-4",children:[a.map((S,C)=>i.jsx(x_,{metric:S,animationDelay:C*.08},S.key)),i.jsxs("div",{className:"pt-2",children:[i.jsx("p",{className:"text-[0.6rem] font-medium uppercase tracking-[0.10em] text-slate-400",children:"Top Driver Fixes"}),d.length>0?i.jsx("ul",{className:"mt-2 space-y-1 text-[0.9rem] font-light leading-relaxed text-slate-600",children:d.slice(0,3).map((S,C)=>i.jsxs("li",{className:"flex gap-2",children:[i.jsx("span",{"aria-hidden":!0,className:"mt-1.5 inline-flex h-1.5 w-1.5 shrink-0 rounded-full bg-[#7C6CF3]/70"}),i.jsx("span",{children:S})]},`${s}-fix-${C}`))}):i.jsx("p",{className:"mt-2 text-sm font-light text-slate-500",children:"No critical blockers surfaced for this persona."})]})]})]})})]})},b_=({data:e,onClose:t})=>{var G,V,U,z;const[n,r]=R.useState("'Poppins', sans-serif");R.useEffect(()=>{if(typeof window>"u")return;const M=window.getComputedStyle(document.body).fontFamily;M&&r(M)},[]);const s=R.useMemo(()=>{const M=Object.entries(e.categories).find(([N])=>N.trim().toLowerCase()==="landing page clarity".toLowerCase());return M?M[1]:void 0},[e.categories]),o=e.pipeline_projection??((G=e.gemini_analysis)==null?void 0:G.pipeline_projection),a=e.demo_ai_opportunities??((V=e.gemini_analysis)==null?void 0:V.demo_ai_opportunities),l=R.useMemo(()=>["from-[#6A45C3] via-[#E75B8C] to-[#FFB547]","from-[#2563EB] via-[#38BDF8] to-[#22D3EE]","from-[#F97316] via-[#FCD34D] to-[#A855F7]"],[]),c=R.useMemo(()=>{const M=new Map;
431return(e.personas??[]).forEach(N=>{N!=null&&N.persona&&M.set(N.persona.toLowerCase(),N)}),M},[e.personas]),u=(s==null?void 0:s.clarity_time_seconds)??null,d=R.useMemo(()=>{if(s){const M=s.clarity_score??s.combined;if(M!=null)return Da(M)}return zg(u)},[s,u]),p=R.useMemo(()=>d_.map((M,N)=>{const A=c.get(M.key.toLowerCase()),B=Da((A==null?void 0:A.coverage_score)??null),F=Da((A==null?void 0:A.findability_score)??null),$=Da((A==null?void 0:A.time_to_clarity_score)??zg(A==null?void 0:A.time_to_clarity_seconds)??d??null),K=(A==null?void 0:A.time_to_clarity_seconds)??u??null,se=[{key:"coverage",label:"Coverage",tooltip:"Percent of typical questions this persona can answer directly on the site or via a grounded agent link.",actual:B,target:Ig[M.key],gradient:td.coverage},{key:"discovery",label:"Discovery",tooltip:"How easily those answers are found from the homepage. Reward ≤2 clicks, bonus for ≤1 click, penalize anything deeper.",actual:F,target:Og,gradient:td.discovery},{key:"timeToClarity",label:"Time-to-Clarity",tooltip:"Seconds until a typical ICP can answer from above the fold: What is it, who is it for, primary value, and next step.",actual:$,target:f_,gradient:td.timeToClarity,footnote:K!==null?`${Ye(K,1)}s to clarity`:void 0}],ke=p_(se),ee=ke!==null?Vg-ke:null,De=h_(A,Ig[M.key],Og);return{personaLabel:M.label,personaKey:M.key,accentGradient:l[N%l.length],metrics:se,score:ke,targetScore:Vg,gap:ee,topFixes:De,rationale:A==null?void 0:A.rationale}}),[c,d,u,l]),f=R.useMemo(()=>p.map(M=>M.score).filter(M=>M!==null),[p]),m=R.useRef(null),[v,x]=R.useState(0),b=R.useCallback(()=>{x(M=>M+1)},[]),g=f.length>0?f.reduce((M,N)=>M+N,0)/f.length:null,y=Number.isFinite(e.overall_score)?e.overall_score:null,w=g??y,j=w!==null?Bg-w:null,k=(s==null?void 0:s.clarity_score)??(s==null?void 0:s.combined),T=k!=null?Math.min(Math.max(k,0),100):null,[P,E]=R.useState(!1),S=R.useRef(null),C=R.useCallback(()=>{if(S.current===null){if(E(!1),typeof window>"u"){t();return}S.current=window.setTimeout(()=>{S.current=null,t()},420)}},[t]);R.useEffect(()=>{if(typeof window>"u"){E(!0);return}const M=window.setTimeout(()=>E(!0),16),N=A=>{A.key==="Escape"&&(A.preventDefault(),C())};return document.addEventListener("keydown",N),()=>{window.clearTimeout(M),document.removeEventListener("keydown",N),S.current!==null&&window.clearTimeout(S.current)}},[C]);const D=i.jsxs(i.Fragment,{children:[i.jsx("div",{onClick:C,className:`fixed inset-0 z-[999] flex h-screen w-screen items-center justify-center bg-[radial-gradient(circle_at_top,_rgba(255,233,208,0.7),_rgba(15,23,42,0.82))] px-4 py-6 sm:px-6 sm:py-10 transition-opacity duration-500 ease-out backdrop-blur-[16px] ${P?"opacity-100":"opacity-0"}`,style:{fontFamily:n},children:i.jsx("div",{role:"dialog","aria-modal":"true",onClick:M=>M.stopPropagation(),className:`relative mx-auto flex h-full w-full max-w-[96rem] items-stretch transition-all duration-500 ease-out ${P?"translate-y-0 opacity-100":"translate-y-6 opacity-0"}`,children:i.jsxs("div",{className:"relative flex h-full w-full max-h-full flex-col overflow-hidden rounded-[44px] border border-white/25 bg-white/70 shadow-[0_55px_140px_-60px_rgba(24,35,52,0.85)] backdrop-blur-xl",children:[i.jsx("div",{"aria-hidden":!0,className:"pointer-events-none absolute inset-0 bg-[linear-gradient(135deg,rgba(253,217,191,0.35),rgba(189,166,255,0.32),rgba(154,203,235,0.32))]"}),i.jsx("div",{"aria-hidden":!0,className:"pointer-events-none absolute inset-0 bg-[radial-gradient(circle_at_18%_22%,rgba(255,255,255,0.55),transparent_55%)]"}),i.jsxs("header",{className:"relative z-20 flex flex-wrap items-center justify-between gap-4 border-b border-white/60 bg-white/85 px-6 py-5 backdrop-blur-xl sm:px-8 lg:px-12",children:[i.jsxs("div",{className:"min-w-0 flex-1",children:[i.jsx("p",{className:"text-[0.65rem] font-medium uppercase tracking-[0.10em] text-slate-400",children:"Report for"}),i.jsx("a",{href:e.site,target:"_blank",rel:"noopener noreferrer",className:"mt-2 block max-w-full overflow-x-auto whitespace-nowrap text-lg font-medium text-slate-800 transition-colors hover:text-[#7C6CF3] sm:text-xl md:text-2xl",children:e.site})]}),i.jsx("div",{className:"flex shrink-0 items-center gap-3",children:i.jsx("button",{onClick:C,className:"inline-flex h-11 w-11 items-center justify-center rounded-full bg-white/80 text-slate-400 shadow-lg shadow-slate-900/10 transition-all duration-300 hover:rotate-90 hover:text-slate-600 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-[#BDA6FF]/40","aria-label":"Close analysis report",type:"button",children:"✕"})})]}),i.jsx("div",{className:"relative z-10 flex flex-1 min-h-0 flex-col",children:i.jsx("div",{className:"flex-1 overflow-y-auto px-6 pb-10 pt-6 sm:px-8 lg:px-12 lg:pb-16",children:i.jsxs("div",{className:"grid min-h-full grid-cols-1 gap-8 overflow-visible lg:grid-cols-[430px_minmax(0,1fr)] lg:items-start",children:[i.jsxs("div",{className:"relative z-10 flex h-full flex-col overflow-visible rounded-[32px] border border-[#F3D9C4]/70 bg-white/85 p-6 shadow-[0_35px_110px_-55px_rgba(24,35,52,0.75
431)] transition-transform duration-500 hover:-translate-y-1 hover:shadow-[0_45px_130px_-55px_rgba(24,35,52,0.8)] lg:p-8",children:[i.jsx("div",{"aria-hidden":!0,className:"pointer-events-none absolute inset-0 rounded-[inherit] bg-gradient-to-br from-[#FFF5E8]/85 via-[#F9F7F3]/92 to-[#E6F1FF]/82"}),i.jsxs("div",{className:"relative z-10 flex flex-1 flex-col space-y-6",children:[i.jsx(v_,{score:w,targetScore:Bg,gap:j,scoreLabel:e.score_label,scoreTier:e.score_tier,clarityScorePercent:s?T:null,clarityTimeSeconds:(s==null?void 0:s.clarity_time_seconds)??null,pagesFetched:(U=e.crawl_stats)==null?void 0:U.pages_fetched,maxDepth:(z=e.crawl_stats)==null?void 0:z.max_depth,pipelineProjection:o??null}),i.jsxs("div",{className:"relative flex-none overflow-visible rounded-[32px] border border-[#E6E1F9]/70 bg-white/85 p-6 shadow-[0_25px_80px_-50px_rgba(45,64,89,0.48)] lg:p-8",children:[i.jsx("div",{"aria-hidden":!0,className:"pointer-events-none absolute inset-0 rounded-[inherit] bg-gradient-to-br from-[#E6F1FF]/80 via-[#F9F7F3]/92 to-[#FFF5E8]/80"}),i.jsxs("div",{className:"relative z-10 flex flex-col",children:[i.jsxs("div",{className:"flex flex-wrap items-baseline justify-between gap-3",children:[i.jsx("h2",{className:"text-2xl font-medium text-slate-900",children:"Persona Hotspots"}),i.jsxs("div",{className:"flex items-center gap-1 text-[0.65rem] uppercase tracking-[0.10em] text-slate-400",children:["Voice of Customers",i.jsx(Jl,{className:"ml-1",text:"Weighted blend of persona coverage, findability, and qualitative signals to reflect how clearly buyers hear their priorities echoed."})]})]}),i.jsx("p",{className:"mt-2 text-sm font-light text-slate-600",children:"How Visitors Perceive Your Site's Effectiveness."}),i.jsx("div",{className:"mt-5 flex flex-col gap-3",children:p.map(M=>i.jsx(w_,{personaKey:M.personaKey,anchorRef:m,anchorVersion:v,onAnchorUpdate:b,personaLabel:M.personaLabel,accentGradient:M.accentGradient,metrics:M.metrics,score:M.score,targetScore:M.targetScore,gap:M.gap,topFixes:M.topFixes,rationale:M.rationale},M.personaKey))})]})]})]})]}),i.jsxs("div",{className:"relative z-10 flex h-full min-h-0 flex-col gap-10 overflow-visible",children:[i.jsxs("div",{className:"relative overflow-hidden rounded-[32px] border border-[#F3D9C4]/70 bg-white/85 p-6 shadow-[0_35px_110px_-60px_rgba(24,35,52,0.78)] lg:p-8",children:[i.jsx("div",{"aria-hidden":!0,className:"pointer-events-none absolute inset-0 bg-gradient-to-br from-[#FFF5E8]/80 via-[#F9F7F3]/92 to-[#E6F1FF]/80"}),i.jsxs("div",{className:"relative z-10",children:[i.jsxs("div",{className:"flex flex-wrap items-baseline justify-between gap-3",children:[i.jsx("h2",{className:"text-2xl font-medium text-slate-900",children:"Key Opportunities"}),i.jsx("span",{className:"text-[0.65rem] uppercase tracking-[0.10em] text-slate-400",children:"AI Readiness"})]}),i.jsx("p",{className:"mt-2 text-sm font-light text-slate-600",children:"Address these gaps with an AI Agent to immediately improve conversions."}),i.jsx("div",{className:"mt-5 space-y-4",children:a&&a.length>0?a.slice(0,4).map((M,N)=>i.jsx(m_,{opportunity:M,index:N},`${M.title}-${N}`)):i.jsx("div",{className:"rounded-3xl border border-dashed border-[#E6E1F9]/70 bg-[#F9F7F3]/80 p-6 text-center font-light text-slate-500",children:"No specific AI opportunities were identified. Review your site content for clarity and calls-to-action."})})]})]}),i.jsxs("div",{className:"relative overflow-hidden rounded-[32px] border border-[#E6E1F9]/70 bg-white/88 p-6 text-center shadow-[0_35px_110px_-60px_rgba(24,35,52,0.78)] lg:p-10",children:[i.jsx("div",{"aria-hidden":!0,className:"pointer-events-none absolute inset-0 bg-gradient-to-br from-[#F9F7F3]/90 via-[#FFF5E8]/85 to-[#E6F1FF]/80"}),i.jsxs("div",{className:"relative z-10 flex flex-col items-center text-slate-800",children:[i.jsx("p",{className:"text-sm font-medium",children:"Launch a free demo agent today, no credit card needed."}),i.jsx("p",{className:"mt-2 text-xs font-semibold uppercase tracking-[0.10em] text-slate-400",children:"Put AI on the front lines in minutes"}),i.jsx("button",{type:"button",onClick:()=>window.location.href="https://www.app.revola.ai",className:"group relative mt-6 inline-flex w-full items-center justify-center overflow-hidden rounded-full bg-gradient-to-r from-[#BDA6FF] via-[#9ACBEB] to-[#F8B8AA] px-10 py-5 text-xl font-semibold text-slate-900 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-[#BDA6FF]/50 transition-colors duration-300",children:i.jsxs("button",{type:"button",onClick:()=>window.location.href="https://www.app.revola.ai",className:"relative z-10 flex items-center gap-3 group px-4 py-2 rounded-md bg-indigo-600 text-white font-medium hover:bg-indigo-700 transition-colors duration-300",children:["Launch Your Free Agent",i.jsx("span",{"aria-hidden":!0,
431className:"text-2xl transition-transform duration-300 group-hover:translate-x-1",children:"→"})]})})]})]})]})]})})})]})})}),i.jsx("style",{children:`
432        @keyframes floatIn {
433          0% { opacity: 0; transform: translateY(22px) scale(0.98); }
434          60% { opacity: 1; transform: translateY(-2px) scale(1.01); }
435          100% { opacity: 1; transform: translateY(0) scale(1); }
436        }
437        @keyframes ctaBounce {
438          0%, 100% { transform: translateY(0); }
439          30% { transform: translateY(-6px); }
440          55% { transform: translateY(0); }
441          70% { transform: translateY(-3px); }
442          85% { transform: translateY(0); }
443        }
444        @keyframes ctaShine {
445          0% { transform: translateX(-120%) skewX(-12deg); opacity: 0; }
446          40% { opacity: 0; }
447          50% { opacity: 0.6; }
448          60% { transform: translateX(120%) skewX(-12deg); opacity: 0; }
449          100% { transform: translateX(120%) skewX(-12deg); opacity: 0; }
450        }
451        .cta-button {
452          position: relative;
453          overflow: hidden;
454          box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), 0 28px 60px -32px rgba(124, 108, 243, 0.55), var(--tw-sha
454dow, 0 0 #0000);
455          transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.5s ease;
456          animation: ctaBounce 3.6s ease-in-out infinite;
457        }
458        .cta-button::before {
459          content: '';
460          position: absolute;
461          inset: 0;
462          background: linear-gradient(120deg, rgba(255,255,255,0), rgba(255,255,255,0.6), rgba(255,255,255,0));
463          transform: translateX(-120%) skewX(-12deg);
464          animation: ctaShine 5s ease-in-out infinite;
465          animation-delay: 0.6s;
466          pointer-events: none;
467        }
468        .cta-button:hover,
469        .cta-button:focus-visible {
470          animation-play-state: paused;
471          transform: translateY(-6px) scale(1.01);
472          box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), 0 32px 70px -28px rgba(124, 108, 243, 0.5), var(--tw-shadow, 0 0 #0000);
473        }
474      `})]});if(typeof document>"u")return D;const L=document.getElementById("modal-root")||(()=>{const M=document.createElement("div");return M.id="modal-root",document.body.appendChild(M),M})();return gc.createPortal(D,L)};function $h({iframeSrc:e,hintLabel:t="Learn How Revola Helps",micVideoSrc:n="/globe.mp4",open:r,onOpenChange:s,defaultFullscreen:o=!1,className:a,children:l,nudgeEnabled:c=!0,nudgeDelaySec:u=5}){const[d,p]=h.useState(!1),[f,m]=h.useState(o),v=r!==void 0,x=v?r:d,b=N=>{const A=typeof N=="function"?N(x):N;v?s==null||s(A):p(A)},[g,y]=h.useState(!1),[w,j]=h.useState(!1),[k,T]=h.useState(!1),P="assistant_nudge_dismissed",E=typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-reduced-motion: reduce)").matches,[S,C]=h.useState(!1),D=()=>C(!0),L=()=>C(!1),G=()=>{C(!1),m(!1),b(!1)};h.useEffect(()=>{if(!S)return;const N=A=>A.key==="Escape"&&L();return window.addEventListener("keydown",N),()=>window.removeEventListener("keydown",N)},[S]),h.useEffect(()=>{if(!c||E)return;if(sessionStorage.getItem(P)==="1"){j(!0);return}const N=window.setTimeout(()=>y(!0),Math.max(0,u)*1e3);return()=>window.clearTimeout(N)},[c,u,E]),h.useEffect(()=>{if(!x)return;const N=A=>{A.key==="Escape"&&(S||b(!1))};return window.addEventListener("keydown",N),()=>window.removeEventListener("keydown",N)},[x,S]),h.useEffect(()=>{if(x&&f){const N=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.body.style.overflow=N}}},[x,f]);const V=h.useMemo(()=>{if(!f)return{width:"min(clamp(720px, 88vw, 1060px), calc(100vw - 1.5rem))",height:"min(clamp(560px, 80vh, 720px), calc(100vh - 2.5rem))"}},[f]),U=g&&!w?"scale-[1.2]":"scale-100",z="w-24 h-24 sm:w-32 sm:h-32",M=N=>{N==null||N.stopPropagation(),y(!1),j(!0);try{sessionStorage.setItem(P,"1")}catch{}};return i.jsxs(i.Fragment,{children:[i.jsx("div",{className:`fixed z-30 animate-fade-in-up ${a??""} 
475        bottom-3 left-3 right-3 
476        sm:bottom-6 sm:right-6 sm:left-auto`,style:{animationDelay:"200ms"},children:i.jsxs("div",{className:"relative inline-block ml-3 sm:ml-5",children:[g&&!w&&i.jsxs("button",{type:"button",onClick:()=>{b(!0)},className:`group absolute z-10 top-1/2 -translate-y-1/2 right-[calc(100%+24px)]
477                         w-[300px] sm:w-[400px] rounded-xl px-4 py-3 text-[14px] font-medium text-slate-800 text-left leading-snug
478                         bg-white/95 border border-slate-200 shadow-[0_6px_24px_rgba(15,23,42,0.06)] hover:shadow-[0_10px_30px_rgba(15,23,42,0.10)]
479                         transition-shadow animate-bubble-in`,role:"status",style:{display:"-webkit-box",WebkitLineClamp:2,WebkitBoxOrient:"vertical",overflow:"hidden"},"aria-label":"Open assistant (walkthrough)",children:[i.jsx("span",{role:"button","aria-label":"Dismiss walkthrough hint",title:"Dismiss",onClick:M,className:`absolute top-2 right-2 inline-flex h-6 w-6 items-center justify-center rounded-md
480                           text-slate-500 hover:text-slate-800 hover:bg-slate-100 transition`,children:"✕"}),i.jsx("div",{className:"pointer-events-none absolute -inset-1 opacity-0 group-hover:opacity-100",style:{background:"linear-gradient(120deg, rgba(186,160,255,0.10), rgba(154,203,235,0.10) 40%, rgba(248,184,170,0.10))"}}),i.jsx("span",{className:"inline-flex items-center gap-2",children:i.jsx("span",{children:"Want me to walk you through Revola in just 2 minutes?"})}),i.jsx("span",{className:"sr-only",children:"Click to open assistant"}),i.jsx("div",{className:"absolute top-1/2 -translate-y-1/2 -right-1 w-3 h-3 rotate-45 bg-white border-r border-b border-slate-200"})]}),i.jsxs("button",{type:"button","aria-label":x?"Close assistant":t,onClick:()=>{b(N=>!N)},onMouseEnter:()=>T(!0),onMouseLeave:()=>T(!1),className:`group relative rounded-full transition-transform duration-400 ease-out
481                        focus:outline-none focus:ring-2 focus:ring-slate-300/50
482                        ${U} ${z}`,children:[i.jsx("div",{className:"absolute inset-[2px] rounded-full bg-white/6 shadow-inner-strong pointer-events-none"}),i.jsx("div",{className:"absolute inset-3 rounded-full overflow-hidden border border-white/10",style:{backgroundColor:"rgba(251,133,176,0.88)",backdropFilter:"blur(12px)"},children:i.jsx("div",{className:"w-full h-full scale-[1.28] rounded-full overflow-hidden",children:i.jsx("video",{src:n,className:"w-full h-full object-cover opacity-65 group-hover:opacity-90 transition-opacity duration-400",autoPlay:!0,loop:!0,muted:!0,playsInl
482ine:!0,preload:"auto"})})}),i.jsx("div",{className:"absolute inset-0 flex items-center justify-center",children:i.jsxs("div",{className:"relative transition-transform duration-300 ease-out group-hover:scale-[1.06]",children:[i.jsx("div",{className:"absolute -inset-4 bg-white/25 rounded-full blur-xl opacity-0 group-hover:opacity-100 transition-opacity duration-300 pointer-events-none"}),i.jsxs("svg",{className:"w-8 h-8 sm:w-9 sm:h-9 relative",viewBox:"0 0 24 24","aria-hidden":"true",children:[i.jsxs("defs",{children:[i.jsxs("linearGradient",{id:"micBody",x1:"0%",y1:"0%",x2:"0%",y2:"100%",children:[i.jsx("stop",{offset:"0%",stopColor:"#4D4D4D"}),i.jsx("stop",{offset:"100%",stopColor:"#1A1A1A"})]}),i.jsxs("linearGradient",{id:"micHighlight",x1:"0%",y1:"0%",x2:"0%",y2:"100%",children:[i.jsx("stop",{offset:"0%",stopColor:"rgba(255,255,255,0.75)"}),i.jsx("stop",{offset:"100%",stopColor:"rgba(255,255,255,0.25)"})]})]}),i.jsx("path",{d:"M12 1a3 3 0 0 0-3 3v8a3 3 0 0 0 6 0V4a3 3 0 0 0-3-3z",fill:"url(#micBody)"}),i.jsx("path",{d:"M19 10v2a7 7 0 0 1-14 0v-2h2v2a5 5 0 0 0 10 0v-2h2z",fill:"#333"}),i.jsx("line",{x1:"12",y1:"19",x2:"12",y2:"23",stroke:"#444",strokeWidth:"2"}),i.jsx("path",{d:"M8 23h8",stroke:"#444",strokeWidth:"2",strokeLinecap:"round"}),i.jsx("path",{d:"M12 1a3 3 0 0 0-3 3v8a3 3 0 0 0 6 0V4a3 3 0 0 0-3-3z",stroke:"url(#micHighlight)",strokeWidth:"0.75",fill:"none"})]})]})})]}),i.jsx("div",{className:"hidden md:block mt-2 text-[11px] text-slate-500 text-center pr-1",children:x?"Close":t})]})}),x&&Er.createPortal(i.jsx("div",{className:`fixed z-50 transition-all duration-300 ease-out 
483              ${f?"inset-0":"bottom-[0.5rem] sm:bottom-[1rem]"} 
484              ${f?"":"left-3 right-2 sm:left-auto sm:right-1"}`,"aria-hidden":!x,children:i.jsxs("div",{className:["origin-bottom-right bg-white border border-white/60 overflow-hidden flex flex-col",f?"rounded-none shadow-none w-[100vw] h-[100vh]":"rounded-2xl shadow-[0_24px_80px_rgba(0,0,0,0.18)]"].join(" "),style:V,children:[i.jsxs("div",{className:"flex items-center justify-between px-4 py-2 border-b border-slate-200/60 bg-white/70 backdrop-blur",children:[i.jsx("button",{type:"button",onClick:()=>m(N=>!N),className:"rounded-md px-2 py-1 text-slate-600 hover:text-slate-900 hover:bg-slate-100 transition","aria-label":f?"Exit full screen":"Expand to full screen",title:f?"Exit full screen":"Expand to full screen",children:f?i.jsx(fS,{className:"w-5 h-5"}):i.jsx(dS,{className:"w-5 h-5"})}),i.jsx("button",{type:"button",onClick:D,className:"rounded-md px-2 py-1 text-slate-500 hover:text-slate-800 hover:bg-slate-100 transition","aria-label":"Close assistant",title:"Close",children:"✕"})]}),i.jsx("div",{className:"relative flex-1",children:l||(e?i.jsx("iframe",{src:e,className:"w-full h-full",allow:"microphone; autoplay",title:"Assistant"},e):null)}),S&&i.jsx("div",{className:"absolute inset-0 z-[999] flex items-center justify-center bg-black/40 backdrop-blur-sm",role:"dialog","aria-modal":"true","aria-labelledby":"confirm-close-title",onClick:N=>{N.target===N.currentTarget&&L()},children:i.jsxs("div",{className:"w-[92%] max-w-sm rounded-2xl bg-white shadow-2xl border border-slate-200",children:[i.jsxs("div",{className:"px-5 py-4 border-b border-slate-200/70",children:[i.jsx("h2",{id:"confirm-close-title",className:"text-base font-semibold text-slate-900",children:"Leave the walkthrough?"}),i.jsx("p",{className:"mt-1 text-sm text-slate-600",children:"You’ll close the assistant and exit the presentation."})]}),i.jsxs("div",{className:"px-5 py-4 flex items-center justify-end gap-2",children:[i.jsx("button",{type:"button",onClick:L,className:"rounded-md px-3 py-2 text-sm font-medium text-slate-700 hover:bg-slate-100 transition",children:"Stay"}),i.jsx("button",{type:"button",onClick:G,autoFocus:!0,className:"rounded-md px-3 py-2 text-sm font-semibold text-white bg-slate-900 hover:bg-slate-800 transition",children:"Close"})]})]})})]})}),document.body),i.jsx("style",{children:`
485        @keyframes fade-in-up { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
486        .animate-fade-in-up { animation: fade-in-up 0.5s ease-out; }
487        @keyframes subtle-pulse { 50% { opacity: 0.75; } }
488        .animate-subtle-pulse { animation: subtle-pulse 4s ease-in-out infinite alternate; }
489        @keyframes shimmer { 0% { opacity: .25; } 50% { opacity: .55; } 100% { opacity: .25; } }
490        .animate-shimmer { animation: shimmer 3.6s ease-in-out infinite; }
491        .shadow-inner-strong { box-shadow: inset 0 2px 20px rgba(0,0,0,0.08); }
492
493        @keyframes bubble-in {
494          from { opacity: 0; transform: translate(-6px, -50%); }
495          to   { opacity: 1; transform: translate(0, -50%); }
496        }
497        .animate-bubble-in { animation: bubble-in 360ms cubic-bezier(.2,.8,.2,1) both; }
498
499        @media (prefers-reduced-motion: reduce) {
500          .animate-fade-in-up,
501          .animate-shimmer,
502          .animate-bubble-in,
503          .animate-subtle-pulse { animation: none !important; }
504        }
505      `})]})}const La={LAVENDER:"from-[#BDA6FF] to-[#a089e0]",SKY:"from-[#9ACBEB] to-[#78b1d1]",CORAL:"from-[#F8B8AA] to-[#e2a091]",PEACH:"from-[#FDD9BF] to-[#F8B8AA]"},j_=()=>{const e=h.useMemo(()=>[{id:"demo-agent",icon:wS,title:"Demo Agent: Autonomous Sales Discovery",subtitle:"AI-Led Product Demos",description:"The Demo Agent automatically learns your product from a URL, builds a tailored demo environment, and guides every prospect through a personalized narrative—without needing a rep present.",highlights:["Learns your product from any website or knowledge source.","Auto-generates structured demo flows and enterprise-grade slide decks.","Interactive persona-specific demos for E
505xecutives, IT, Finance, and Operators.","Real-time Q&A with context-aware technical and ROI explanations.","Full demo transcripts pushed into the Account Brain."],gradient:La.PEACH,imageAlt:"Autonomous Demo Agent UI mockup",imageSrc:"/data-dev.png"},{id:"champion-hub",icon:yS,title:"Champion Hub: The Internal Selling Guide",subtitle:"Activation and Consensus",description:"This is the dedicated space where your internal advocate becomes an unstoppable force. We equip the Champion to navigate internal politics and drive consensus effortlessly.",highlights:["Guided next steps and tailored playbooks.","AI-powered talk tracks to disarm objections.","Meeting prep and consensus-building tips.","Ensure your champion never sells alone."],gradient:La.CORAL,imageAlt:"Dashboard view of Champion Hub resources",imageSrc:"/champion_hub.png"},{id:"stakeholder-hubs",icon:mS,title:"Stakeholder AI Hubs: Persona Alignment",subtitle:"Personalized Value Delivery",description:"Revola automatically generates unique, private AI workspaces tailored to every member (Security, Finance, IT). This delivers personalized value directly to decision-makers on their schedule.",highlights:["Persona-aware AI assistant pages (Security, Finance, IT).","Instant answers to compliance and ROI objections.","Tailored demos without needing sales presence.","Clear, digestible product briefing for busy executives."],gradient:La.LAVENDER,imageAlt:"Mockup of an IT/Security Hub page with objections",imageSrc:"/stakeholder_hub.png"},{id:"account-brain",icon:xS,title:"Account Brain for Sales: Lighting Up the Dark",subtitle:"Real-Time Deal Intelligence",description:"The Account Brain turns all internal committee activity into actionable, real-time intelligence for the Sales Rep. This eliminates guesswork and provides foresight to intervene strategically.",highlights:["Real-time engagement map: see who is active.","AI flags deal blockers and friction points.","Prescriptive recommended next steps for reps.","Full transcripts and buyer intent data."],gradient:La.SKY,imageAlt:"Sales Rep dashboard view with recommended actions",imageSrc:"/sales-hub.png"}],[]);return i.jsxs("div",{className:"relative py-20 sm:py-28 px-4 sm:px-6 lg:px-8 overflow-hidden",style:{backgroundColor:"#F9F7F3"},children:[i.jsxs("div",{className:"container mx-auto max-w-7xl relative z-10",children:[i.jsxs("div",{className:"text-center mb-16 sm:mb-20 animate-fade-in-up",children:[i.jsxs("h2",{className:"text-4xl sm:text-5xl lg:text-6xl font-light tracking-tight leading-tight mb-4 sm:mb-6",style:{color:"#2A2A2A"},children:["The ",i.jsx("span",{className:"text-gradient-custom font-medium animate-gradient-x",children:"AI Engagement Layer"}),i.jsx("span",{className:"block",children:"for Complex Enterprise Deals"})]}),i.jsx("p",{className:"text-base sm:text-lg font-light max-w-3xl mx-auto leading-relaxed",style:{color:"#6E6E6E"},children:"Revola accelerates deals by unlocking the internal selling stage. We provide the tools for Champions, the data for Sales, and the answers for every Stakeholder."})]}),i.jsx("div",{className:"space-y-16 sm:space-y-28",children:e.map((t,n)=>i.jsxs("section",{className:`flex flex-col ${n%2===0?"lg:flex-row":"lg:flex-row-reverse"} items-center gap-8 md:gap-12 lg:gap-20 animate-fade-in-up`,style:{animationDelay:`${n*150}ms`},"aria-labelledby":`${t.id}-title`,children:[i.jsx("div",{className:"w-full lg:w-[60%]",children:i.jsx("div",{className:"rounded-xl sm:rounded-2xl overflow-hidden shadow-2xl border border-slate-200/50",style:{minHeight:"350px",display:"flex"},children:i.jsx("img",{src:t.imageSrc,alt:t.imageAlt,className:"w-full h-full object-cover"})})}),i.jsxs("div",{className:"w-full lg:w-[40%] space-y-5 text-center sm:text-left",children:[i.jsxs("div",{className:"space-y-4",children:[i.jsxs("div",{className:"inline-flex items-center gap-2",children:[i.jsx("div",{className:`p-2 rounded-lg sm:rounded-xl bg-gradient-to-r ${t.gradient} shadow-md sm:shadow-lg`,children:i.jsx(t.icon,{className:"w-4 h-4 sm:w-5 sm:h-5 text-white"})}),i.jsx("div",{className:`text-xs sm:text-sm font-medium bg-gradient-to-r ${t.gradient} bg-clip-text text-transparent uppercase tracking-wider`,children:t.subtitle})]}),i.jsx("h3",{id:`${t.id}-title`,className:"text-2xl sm:text-3xl lg:text-4xl font-light tracking-tight leading-tight",style:{color:"#2A2A2A"},children:t.title}),i.jsx("p",{className:"text-base sm:text-lg font-light leading-relaxed",style:{color:"#6E6E6E"},children:t.description})]}),i.jsx("ul",{className:"space-y-3 pt-3 sm:pt-4",role:"list",children:t.highlights.map((r,s)=>i.jsxs("li",{className:"flex items-start gap-x-3 sm:gap-x-4",children:[i.jsx("div",{className:`mt-1 p-1 rounded-full bg-gradient-to-r ${t.gradient} shadow-sm sm:shadow-md flex-shrink-0`,children:i.jsx(Y1,{className:"w-3 h-3 sm:w-4 sm:h-4 text-white","aria-hidden":!0})}),i.jsx("span",{className:"font-light text-sm sm:text-base leading-relaxed",style:{color:"#2A2A2A"},children:r})]},s))})]})]},t.id))})]}),i.jsx("style",{children:`
506        @keyframes fade-in-up { 0% { opacity: 0; transform: translateY(30px); } 100% { opacity: 1; transform: translateY(0); } }
507        @keyframes gradient-x { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
508        .animate-fade-in-up { animation: fade-in-up 0.8s ease-out forwards; opacity: 0; }
509        .animate-gradient-x { background-size: 200% auto; animation: gradient-x 5s ease infinite; }
510        .text-gradient-custom {
511            background-image: linear-gradient(90deg, #FF7043, #FFAB91, #BDA6FF);
512            -webkit-background-clip: text;
513            background-clip: text;
514            color: transparent;
515        }
516      `})]})};h.lazy(()=>Xo(()=>import("./ProductFeatures-DiWwTZmu.js"),[]).then(e=>({default:e.ProductFeatures})));const k_=h.lazy(()=>Xo(()=>import("./HowItWorks-BoZLg2yI.js"),[]).then(e=>({default:e.HowItWorks}))),N_=h.lazy(()=>Xo(()=>import("./ResultsSection-CMtHK8LO.js"),[]).then(e=>({default:e.ResultsSection}))),S_=h.lazy(()=>Xo(()=>import("./CompetitorComparison-6RmaktrS.js"),[]).then(e=>({default:e.CompetitorComparison}))),E_=h.lazy(()=>Xo(()=>Promise.resolve().then(()=>B_),void 0).then(e=>({default:e.default}))),Fi=({id:e,className:t,children:n})=>i.jsx("section",{id:e,children:i.jsx("div",{children:n})}),nd="https://agent.revola.ai/api/v1",xs="https://revola-rag-indexes.s3.us-east-2.amazonaws.com",$g="https://www.chat.revola.ai/?cid=1093&iframe=True",Wh="audit_task_id",Vc="audit_task_id",C_=60*60*12;function bj(e,t,n=C_){try{document.cookie=`${encodeURIComponent(e)}=${encodeURIComponent(t)}; Max-Age=${n}; Path=/; SameSite=Lax`}catch{}}function jj(e){try{const t=document.cookie.match(new RegExp(`(?:^|; )${encodeURIComponent(e)}=([^;]*)`));return t?decodeURIComponent(t[1]):null}catch{return null}}function kj(e){try{document.cookie=`${encodeURIComponent(e)}=; Max-Age=0; Path=/; SameSite=Lax`}catch{}}function T_(e){try{localStorage.setItem(Vc,e),bj(Wh,e)}catch{}}function Wg(){const e=jj(Wh);if(e)return e;try{return localStorage.getItem(Vc)}catch{return null}}function Ug(){try{localStorage.removeItem(Vc)}catch{}kj(Wh)}const Uh="audit_report_lock",Bc="audit_report_lock",P_=60*60*12;function Ii(){try{localStorage.setItem(Bc,"1")}catch{}bj(Uh,"1",P_)}function rd(){if(jj(Uh)==="1")return!0;try{return localStorage.getItem(Bc)==="1"}catch{return!1}}
516function A_(){try{localStorage.removeItem(Bc)}catch{}kj(Uh)}const ec={site:"https://example.com",creation_timestamp:new Date().toISOString(),crawl_stats:{pages_fetched:0,max_depth:0},categories:{"About/Trust":{coverage_score:0,findability_score:0,combined:0},"Contact/Sales CTA":{coverage_score:0,findability_score:0,combined:0},"Docs/Support/FAQ":{coverage_score:0,findability_score:0,combined:0},"Integrations/Partners":{coverage_score:0,findability_score:0,combined:0},"Legal (TOS/Privacy)":{coverage_score:0,findability_score:0,combined:0},"Onboarding/Getting Started":{coverage_score:0,findability_score:0,combined:0},Pricing:{coverage_score:0,findability_score:0,combined:0},"Product/Services Overview":{coverage_score:0,findability_score:0,combined:0},"Security/Compliance":{coverage_score:0,findability_score:0,combined:0},"Use Cases/Case Studies":{coverage_score:0,findability_score:0,combined:0},"Landing Page Clarity":{clarity_time_seconds:0,clarity_score:0,combined:0}},overall_score:0,score_tier:"N/A",score_label:"Demo",grade:"—",best_urls_by_category:{Pricing:null,"Product/Services Overview":null,"Onboarding/Getting Started":null,"Use Cases/Case Studies":null,"Integrations/Partners":null,"Security/Compliance":null,"Contact/Sales CTA":null,"Docs/Support/FAQ":null,"About/Trust":null,"Legal (TOS/Privacy)":null},top_urls_per_category:{Pricing:[],"Product/Services Overview":[],"Onboarding/Getting Started":[],"Use Cases/Case Studies":[],"Integrations/Partners":[],"Security/Compliance":[],"Contact/Sales CTA":[],"Docs/Support/FAQ":[],"About/Trust":[],"Legal (TOS/Privacy)":[]},personas:[],methodology:{coverage:"Percentage of buyer questions with cosine similarity ≥ 0.25.",findability:"Weighted blend of click depth (50%), navigation keyword matches (30%), and footer keyword matches (20%) for categories with coverage."},score_report_s3_url:"",gemini_analysis:{analysis_status:"success",overall_summary:"Demo report shown due to error or skip.",contact_and_agent_summary:{contact_forms:"",demo_agents:"",notable_urls:""},missing_information:[],findability_challenges:[],demo_ai_opportunities:[],pipeline_projection:{estimated_additional_monthly_demos:0,estimated_pipeline_value_usd:0,assumptions:[]},recommended_actions:[]}};async function R_(e){if(e&&e.site&&e.categories)return e;const t=(e==null?void 0:e.report_json_url)||(e==null?void 0:e.score_report_s3_url)||(e==null?void 0:e.report_url)||(e==null?void 0:e.url);if(t){const n=await fetch(t);if(!n.ok)throw new Error(`Failed to fetch report JSON (${n.status})`);return await n.json()}return{...ec,site:(e==null?void 0:e.site)??ec.site,creation_timestamp:new Date().toISOString()}}const M_=()=>{const[e,t]=h.useState("hero"),[n,r]=h.useState(null);console.log(n);const s=h.useRef(null);h.useState(!1);const[o,a]=h.useState(!1),[l,c]=h.useState(!1),[u,d]=h.useState(!1),[p,f]=h.useState("A research task is already running."),[m,v]=h.useState(!1),[x,b]=h.useState(""),[g,y]=h.useState(null),[w,j]=h.useState("");h.useEffect(()=>{if(!o){j("");return}const S=window.setTimeout(()=>{j($g),console.log("IFRAME_URL:",$g)},200);return()=>window.clearTimeout(S)},[o]),h.useEffect(()=>{const S=C=>{C.key==="Escape"&&c(!1)};return window.addEventListener("keydown",S),()=>window.removeEventListener("keydown",S)},[]),h.useEffect(()=>()=>{s.current&&(s.current.close(),s.current=null)},[]),h.useEffect(()=>{const S=C=>C.key==="Escape"&&a(!1);return window.addEventListener("keydown",S),()=>window.removeEventListener("keydown",S)},[]),h.useEffect(()=>{const S=C=>{if(C.key===Vc||C.key===Bc){const D=!!Wg()||rd();d(D),f(D?"A research task is already running or a report is open.":"")}};return window.addEventListener("storage",S),()=>window.removeEventListener("storage",S)},[]),h.useEffect(()=>{const S=Wg();let C=null,D=null;try{C=localStorage.getItem("audit_locked_company_id"),D=localStorage.getItem("audit_locked_company_url")}catch{}if(C){d(!0),f("Research is locked while a report is open."),y(C),v(!0),b(D),t("hero");return}if(S){d(!0),f("A research task is already running."),t("analyzing"),E(S);return}try{localStorage.removeItem("audit_locked_company_url"),localStorage.removeItem("audit_locked_company_id")}catch{}Ug(),A_(),r(null),v(!1),b(""),y(null),d(!1),f(""),t("hero")},[]);const k=(S,C)=>{try{localStorage.setItem("audit_locked_company_url",S),C&&localStorage.setItem("audit_locked_company_id",C)}catch{}},T=async S=>{var C,D,L,G;if(m||rd()){await P();return}if(u){console.warn("[frontend] analyze blocked: task/report lock present");return}if(S)try{t("analyzing"),r(null),b(S),k(S);const V={company_url:S,force:!1},U=`${nd}/onboarding/audit`,z=await fetch(U,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(V)});if(!z.ok){const N=await z.text();throw new Error(N||`Audit start failed (${z.status})`)}const M=await z.json();if(M.status==="skipped"){const N=(M==null?void 0:M.company_id)||((C=M==null?void 0:M.result)==null?void 0:C.company_id)||((D=M==null?void 0:M.metadata)==null?void 0:D.company_id),A=(M==null?void 0:M.report_url)||((L=M==null?void 0:M.result)==null?void 0:L.report_url)||((G=M==null?void 0:M.result)==null?void 0:G.score_report_s3_url);try{if(N&&xs){const B=`${xs}/${N}/report/score_report.json`,F=await fetch(B,{cache:"no-store"});if(!F.ok)throw new Error(`S3 report fetch failed: ${F.status}`);const $=await F.json();console.log("--------"),console.log(F),console.log($),console.log("--------"),Ii(),d(!0),r($),t("report"),v(!0),y(N);const K=($==null?void 0:$.site)||x||"";b(K),k(K,N);return}if(A){const B=await fetch(A);if(!B.ok)throw new Error(`Report fetch failed: ${B.status}`);const F=await B.json();Ii(),d(!0),r(F),t("report"),v(!0);const $=(F==null?void 0:F.site)||x||"",K=(M==null?void 0:M.company_id)||null;b($),y(K),k($,K??void 0);return}
516d(!1),t("hero"),qa({title:"Audit Skipped",description:"Site is not a B2B company website."})}catch(B){console.error("[frontend] failed to fetch existing report after skip:",B)}return}if(!M.task_id)throw new Error("No task_id returned from /onboarding/audit");T_(M.task_id),d(!0),f("A research task is already running."),E(M.task_id)}catch(V){console.error("[frontend] analyze error:",V),Ii(),d(!0),f("Research is locked while a report is open.");const U={...ec,site:x||"https://example.com",creation_timestamp:new Date().toISOString()};r(U),t("report"),v(!0),k(U.site)}},P=async()=>{if(n){t("report"),window.scrollTo({top:0,behavior:"smooth"});return}if(g&&xs)try{const C=`${xs}/${g}/report/score_report.json?ts=${Date.now()}`;console.log(C);const D=await fetch(C,{cache:"no-store"});if(D.ok){const L=await D.json();console.log("--------"),console.log(D),console.log("--------"),r(L),t("report"),L!=null&&L.site&&(b(L.site),k(L.site,g)),window.scrollTo({top:0,behavior:"smooth"});return}}catch{}const S={...ec,site:x||"https://example.com",creation_timestamp:new Date().toISOString()};r(S),t("report"),window.scrollTo({top:0,behavior:"smooth"})},E=S=>{const C=Y=>`%c[SSE:${Y}]`,D="color:#7c3aed",L="color:#d97706",G="color:#ef4444",V="color:#6b7280",U=(Y,...re)=>console.log(C(Y),D,...re),z=(Y,...re)=>console.warn(C(Y),L,...re),M=(Y,...re)=>console.error(C(Y),G,...re),N=(Y,...re)=>console.log(C(Y),V,...re);s.current&&(U("close","Closing previous EventSource"),s.current.close(),s.current=null);const A=new URLSearchParams({type:"website_audit",poll_interval:"2.0"}),B=`${nd}/onboarding/tasks/events?${A.toString()}`;U("open",{url:B,taskId:S,API_BASE:nd});const F=new EventSource(B,{withCredentials:!0});s.current=F;let $=Date.now(),K=null;const se=()=>{K&&window.clearInterval(K),K=window.setInterval(()=>{const Y=Date.now()-$;Y>1e4&&z("watchdog",`No SSE messages for ${Math.round(Y/1e3)}s. Check proxy buffering.`)},2500)},ke=Y=>Y===0?"CONNECTING(0)":Y===1?"OPEN(1)":Y===2?"CLOSED(2)":String(Y),ee=Y=>N("state",`${Y} readyState=${ke(F.readyState)}`);F.onopen=Y=>{U("onopen",Y),ee("onopen"),se()},F.onerror=Y=>{M("onerror",Y),ee("onerror")};const De=async Y=>{var Jt;if($=Date.now(),Y.lastEventId,!Y.data||typeof Y.data!="string"){N("skip","Non-string/empty data (likely keep-alive).");return}let re;try{re=JSON.parse(Y.data),U("payload",re)}catch(te){z("parse","Could not parse event data as JSON (ignore if keep-alive)",{data:Y.data,parseErr:te});return}const kt=re.task_id??((Jt=re.result)==null?void 0:Jt.task_id)??null;if(!kt||kt!==S)return;const ot=re.status==="in_progress"?"processing":re.status;if(ot==="pending"||ot==="queued"||ot==="processing"){t("analyzing"),d(!0);return}const Nt=()=>{F.close(),s.current=null,K&&window.clearInterval(K)},St=async te=>{try{const Ee=(te==null?void 0:te.report_url)||(te==null?void 0:te.score_report_s3_url)||(te==null?void 0:te.report_json_url),vn=(te==null?void 0:te.company_id)??re.company_id;if(vn&&(y(vn),k(x||"",vn)),Ee){const wn=await fetch(Ee);if(!wn.ok)throw new Error(`Report HTTP ${wn.status}`);return await wn.json()}if(vn&&xs){const wn=`${xs}/${vn}/report/score_report.json`,Ne=await fetch(wn);if(!Ne.ok)throw new Error(`S3 report HTTP ${Ne.status}`);return await Ne.json()}return null}catch(Ee){return M("fetch-report",Ee),null}};if(ot==="failed"){Nt(),Ug(),d(!1),r(null),t("hero"),qa({title:"Audit Failed",description:"We couldn’t complete the research task. Please try again.",variant:"destructive"});return}if(ot==="skipped"){Nt();const te=await St(re.result);if(!te){qa({title:"Audit Skipped",description:"No report was found for this company."}),d(!1),t("hero");return}Ii(),d(!0),r(te),t("report"),v(!0),te!=null&&te.site&&(b(te.site),k(te.site,g??void 0));return}if(ot==="completed"){Nt(),Ii(),d(!0);const Ee=await St(re.result)??await R_(re.result);r(Ee),t("report"),v(!0),Ee!=null&&Ee.site&&(b(Ee.site),k(Ee.site,g??void 0));return}};F.addEventListener("task.update",De),F.onmessage=De,(async()=>{var Y;try{const re=B+"&_debug=fetch",ot=(Y=(await fetch(re,{method:"GET",credentials:"include",headers:{Accept:"text/event-stream"}})).body)==null?void 0:Y.getReader(),Nt=new TextDecoder("utf-8");let St=0;for(;ot;){const{done:Jt,value:te}=await ot.read();if(Jt)break;St+=(te==null?void 0:te.byteLength)??0,Nt.decode(te,{stream:!0}),$=Date.now()}}catch{}})()};return i.jsxs("div",{className:"min-h-screen relative bg-[#F9F7F3]",children:[i.jsxs("main",{children:[i.jsx(a_,{onAnalyze:T,isLoading:e==="analyzing",isDisabled:e==="analyzing",disabledReason:p,reportMode:m||rd(),lockedUrl:x,onShowReport:P}),i.jsxs(h.Suspense,{fallback:i.jsx(Fi,{children:i.jsx("div",{className:"h-32 animate-pulse rounded-xl bg-black/5"})}),children:[i.jsx(Fi,{id:"solutions",children:i.jsx(j_,{})}),i.jsx(Fi,{id:"how-it-works",className:"bg-white/40 backdrop-blur-sm rounded-[2.5rem] mx-4 md:mx-6",children:i.jsx(k_,{})}),i.jsx(Fi,{id:"results",children:i.jsx(N_,{})}),i.jsx(Fi,{id:"compare",className:"bg-white/40 backdrop-blur-sm rounded-[2.5rem] mx-4 md:mx-6",children:i.jsx(S_,{})})]}),i.jsx("footer",{className:"mt-8",children:i.jsx(E_,{})})]}),e==="analyzing"&&i.jsx(l_,{}),e==="report"&&n&&i.jsx(b_,{data:n,onClose:()=>{t("hero"),r(null)}}),i.jsx($h,{open:o,onOpenChange:a,iframeSrc:w}),i.jsx("style",{children:`
517        @keyframes fade-in-up { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
518        .animate-fade-in-up { animation: fade-in-up 0.7s ease-out forwards; opacity: 0; }
519        @keyframes subtle-pulse { 50% { opacity: 0.75; } }
520        .animate-subtle-pulse { animation: subtle-pulse 4s ease-in-out infinite alternate; }
521        @keyframes pulse-and-fade {
522          0% { transform: scale(0.98); opacity: 0.35; }
523          50% { opacity: 0.6; }
524          100% { transform: scale(1.02); opacity: 0.35; }
525        }
526        .animate-pulse-and-fade { animation: pulse-and-fade 4s cubic-bezier(0.4,0,0.2,1) infinite; }
527        .shadow-inner-strong { box-shadow: inset 0 2px 20px rgba(0,0,0,0.08); }
528      `})]})},__=()=>{const e=yi();return h.useEffect(()=>{console.error("404 Error: User attempted to access non-existent route:",e.pathname)},[e.pathname]),i.jsx("div",{className:"min-h-screen flex items-center justify-center bg-gray-100",children:i.jsxs("div",{className:"text-center",children:[i.jsx("h1",{className:"text-4xl font-bold mb-4",children:"404"}),i.jsx("p",{className:"text-xl text-gray-600 mb-4",children:"Oops! Page not found"}),i.jsx("a",{href:"/",className:"text-blue-500 hover:text-blue-700 underline",children:"Return to Home"})]})})},D_=()=>{const[e,t]=h.useState(null),[n,r]=h.useState([]),[s,o]=h.useState([]),[a,l]=h.useState(!1);h.useEffect(()=>{const u=()=>{l(window.innerWidth<768)};return u(),window.addEventListener("resize",u),()=>window.removeEventListener("resize",u)},[]),h.useEffect(()=>{const u=a?25:45,d=Array.from({length:u},(m,v)=>({id:v,x:Math.random()*100,y:Math.random()*100,size:Math.random()*2+1,opacity:Math.random()*.15+.05,drift:Math.random()*3+4,shape:Math.random()>.5?"circle":"square",color:Math.random()>.6?Math.random()>.5?"lavender":"coral":"sky"}));o(d);const p=a?8:15,f=Array.from({length:p},(m,v)=>({id:v,x:Math.random()*100,y:Math.random()*100,size:Math.random()*1.5+.5,drift:Math.random()*2+2,opacity:Math.random()*.1+.03}));r(f)},[a]);const c=[{icon:p0,title:"Our Services",gradient:"from-blue-300 to-blue-400",accentColor:"blue-300",bgColor:"from-blue-50/80 to-blue-100/60",content:"The Services provided by Trinity are intended solely for users who are at least 18 years old. Underage users are not permitted to use or register for the Services. Our Services are designed to optimize project management and efficie
528ncy within teams, and are not tailored to comply with industry-specific regulations such as HIPAA or FISMA. Users must ensure they comply with all local laws and regulations applicable to their use of the Services."},{icon:Dl,title:"Intellectual Property Rights",gradient:"from-purple-300 to-purple-400",accentColor:"purple-300",bgColor:"from-purple-50/80 to-purple-100/60",content:'All intellectual property in the Services, including software, databases, text, graphics, logos, and all other material, is owned by or licensed to Revola Corporation. These elements are protected by copyright, trademark, and other laws both within the United States and internationally. The Services and all content therein are provided "AS IS" for your internal business use only.'},{icon:Za,title:"User Registration",gradient:"from-indigo-300 to-indigo-400",accentColor:"indigo-300",bgColor:"from-indigo-50/80 to-indigo-100/60",content:"You may need to register to use certain features of the Services. You agree to provide accurate and complete information and keep this information updated. You are responsible for maintaining the confidentiality of your account and password and for all activities that occur under your account."},{icon:af,title:"Prohibited Activities",gradient:"from-red-300 to-red-400",accentColor:"red-300",bgColor:"from-red-50/80 to-red-100/60",content:"You are prohibited from using the Services for any unlawful or unauthorized purpose. Activities including, but not limited to, hacking, data mining, or any interference with the Services are strictly forbidden. Further, you may not reproduce, resell, or exploit any part of the Services for any commercial purposes without express permission from us."},{icon:aS,title:"User Generated Content",gradient:"from-teal-300 to-teal-400",accentColor:"teal-300",bgColor:"from-teal-50/80 to-teal-100/60",content:"By submitting any content to the Services, you grant the Company a perpetual, irrevocable, non-exclusive, royalty-free license to use, copy, modify, and display such content in connection with the Services. You affirm that you own or have necessary licenses to submit this content without violation of any rights."},{icon:gS,title:"Governing Law & Disputes",gradient:"from-orange-300 to-orange-400",accentColor:"orange-300",bgColor:"from-orange-50/80 to-orange-100/60",content:"These Terms shall be governed by and defined following the laws of Delaware. Revola Corporation and yourself irrevocably consent that the courts of Delaware shall have exclusive jurisdiction to resolve any dispute which may arise in connection with these terms. Disputes arising under these Terms will be resolved through binding arbitration under the rules of the American Arbitration Association, conducted in Delaware."}];return i.jsxs("div",{className:"relative py-24 px-8 overflow-hidden min-h-screen",style:{backgroundColor:"#F9F7F3"},children:[i.jsxs("div",{className:"absolute inset-0",children:[i.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-orange-100/15 via-pink-50/10 to-purple-50/10"}),i.jsx("div",{className:"absolute top-0 right-0 w-3/4 h-3/4 bg-gradient-radial from-orange-200/15 to-transparent blur-3xl"}),i.jsx("div",{className:"absolute bottom-0 left-0 w-3/4 h-3/4 bg-gradient-radial from-pink-200/10 to-transparent blur-3xl"}),i.jsx("div",{className:"absolute top-1/3 right-1/4 w-2/3 h-2/3 bg-gradient-radial from-yellow-100/10 to-transparent blur-3xl"}),i.jsx("div",{className:"absolute bottom-1/4 right-1/3 w-1/2 h-1/2 bg-gradient-radial from-orange-150/15 to-transparent blur-2xl"}),i.jsx("div",{className:"absolute top-1/2 left-1/4 w-1/3 h-1/3 bg-gradient-radial from-pink-100/10 to-transparent blur-xl"}),s.map(u=>i.jsx("div",{className:`absolute ${u.shape==="circle"?"rounded-full":"rounded-sm"}`,style:{left:`${u.x}%`,top:`${u.y}%`,width:`${u.size}px`,height:`${u.size}px`,opacity:u.opacity,animation:`gentleFloat ${u.drift*8}s ease-in-out infinite alternate`,filter:"blur(0.5px)",backgroundColor:u.color==="lavender"?"rgba(255, 230, 210, 0.4)":u.color==="coral"?"rgba(240, 220, 230, 0.5)":"rgba(250, 240, 220, 0.3)"}},u.id)),n.map(u=>i.jsx("div",{className:"absolute rounded-full",style:{left:`${u.x}%`,top:`${u.y}%`,width:`${u.size}px`,height:`${u.size}px`,animation:`drift ${u.drift*15}s ease-in-out infinite alternate`,opacity:u.opacity,backgroundColor:"rgba(240, 220, 210, 0.15)"}},u.id))]}),i.jsxs("div",{className:"container mx-auto max-w-6xl relative z-10",children:[i.jsxs("div",{className:"text-center mb-20",children:[i.jsxs("div",{className:"mb-8",children:[i.jsxs("h1",{className:"text-5xl md:text-6xl font-light tracking-tight leading-tight mb-4",children:[i.jsx("span",{className:"text-slate-700 font-extralight",children:"Terms of"}),i.jsx("br",{}),i.jsx("span",{className:"bg-gradient-to-r from-orange-400 via-pink-400 to-purple-400 bg-clip-text text-transparent font-medium",children:"Service"})]}),i.jsx("div",{className:"w-24 h-px bg-gradient-to-r from-transparent via-orange-300 to-transparent mx-auto"})]}),i.jsxs("p",{className:"text-lg leading-relaxed max-w-3xl mx-auto mb-8",style:{color:"#6E6E6E"},children:["Welcome to Trinity, a service provided by",i.jsxs("span",{className:"font-medium",style:{color:"#2A2A2A"},children:[" ","Revola Inc."]})]}),i.jsxs("div",{className:"inline-flex items-center space-x-2 bg-white/60 backdrop-blur-sm border border-orange-200/50 rounded-full px-6 py-3 shadow-sm",children:[i.jsx(Up,{className:"w-4 h-4 text-slate-600"}),i.jsx("span",{className:"text-sm font-light",style:{color:"#6E6E6E"},children:"Last Updated: Feb 23, 2025"})]})]}),i.jsx("div",{className:"mb-16",children:i.jsxs("div",{className:"relative backdrop-blur-sm bg-amber-50/80 border border-amber-200/50 rounded-2xl p-8 shadow-sm",children:[i.jsx("div",{className:"absolute -top-3 -left-3 w-8 h-8 rounded-full bg-gradient-to-r from-amber-300 to-orange-400 border border-amber-200 flex items-center justify-center shadow-lg",children:i.jsx(af,{className:"w-4 h-4 text-white"})}),i.jsxs("div",{className:"space-y-4",children:[i.jsx("h2",{className:"text-xl font-medium tracking-tight",style:{color:"#2A2A2A"},children:"Agreement to Legal Terms"}),i.jsx("p",{className:"leading-relaxed font-light",style:{color:"#6E6E6E"},children:"By accessing or using our Services, you acknowledge that you have read, understood, and agree to be bound by these Terms of Service. If you do not agree with all of these Terms, you are expressly prohibited from using the Services and must discontinue use immediately."})]})]})}),i.jsx("div",{className:"space-y-8 mb-16",children:c.map((u,d)=>i.jsx("div",{className:"group relative cursor-pointer transition-all duration-500",onClick:()=>t(e===d?null:d),children:i.jsxs("div",{className:`relative backdrop-blur-sm bg-gradient-to-br ${u.bgColor} border border-white/30 rounded-2xl p-8 group-hover:shadow-lg group-hover:border-white/50 transition-all duration-500`,children:[i.jsx("div",{className:"absolute -top-3 -left-3 w-8 h-8 rounded-full bg-gradient-to-r from-slate-300 to-slate-400 border border-slate-200 flex items-center justify-center text-sm font-medium text-white shadow-lg",children:d+1}),i.jsxs("div",{className:"flex items-center space-x-4 mb-6",children:[i.jsx("div",{className:`w-12 h-12 rounded-xl bg-gradient-to-r ${u.gradient} flex items-center justify-center shadow-lg group-hover:shadow-xl transition-all duration-500 group-hover:scale-105`,children:i.jsx(u.icon,{className:"w-5 h-5 text-white"})}),i.jsxs("div",{className:"flex-1",children:[i.jsx("h3",{className:"text-2xl font-medium tracking-tight",style:{color:"#2A2A2A"},children:u.title}),i.jsx("div",{className:`w-16 h-px bg-gradient-to-r ${u.gradient} opacity-60 group-hover:opacity-100 group-hover:w-20 transition-all duration-500 mt-2`})]}),i.jsx("div",{className:`w-6 h-6 rounded-full border border-slate-400 flex items-center justify-center transition-transform duration-300 ${e===d?"rotate-180":""}`,children:i.jsx("div",{className:"w-2 h-2 border-t border-r border-slate-500 transform rotate-45 -translate-y-
528px"})})]}),i.jsx("div",{className:`overflow-hidden transition-all duration-500 ${e===d?"max-h-96 opacity-100":"max-h-0 opacity-0"}`,children:i.jsx("div",{className:"pt-4 border-t border-white/20",children:i.jsx("p",{className:"leading-relaxed font-light text-sm",style:{color:"#6E6E6E"},children:u.content})})})]})},d))}),i.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-8 mb-16",children:[i.jsxs("div",{className:"relative backdrop-blur-sm bg-gradient-to-br from-red-50/80 to-rose-100/60 border border-white/30 rounded-2xl p-8 shadow-sm",children:[i.jsxs("div",{className:"mb-6",children:[i.jsx("h3",{className:"text-xl font-medium mb-3 tracking-tight",style:{color:"#2A2A2A"},children:"Disclaimer"}),i.jsx("div",{className:"w-12 h-px bg-gradient-to-r from-red-300 to-rose-400 opacity-60"})]}),i.jsx("p",{className:"leading-relaxed font-light text-sm mb-6",style:{color:"#6E6E6E"},children:'THE SERVICES ARE PROVIDED ON AN "AS IS" AND "AS AVAILABLE" BASIS WITHOUT ANY WARRANTIES, EXPRESS OR IMPLIED. USE OF THE SERVICES IS AT YOUR OWN RISK.'}),i.jsxs("div",{className:"space-y-2",children:[i.jsx("h4",{className:"text-sm font-medium",style:{color:"#2A2A2A"},children:"Limitation of Liability"}),i.jsx("p",{className:"text-xs font-light",style:{color:"#6E6E6E"},children:"Our liability to you will at all times be limited to the greater of $20 or amounts you've paid Revola Corporation in the prior 12 months."})]})]}),i.jsxs("div",{className:"relative backdrop-blur-sm bg-gradient-to-br from-emerald-50/80 to-green-100/60 border border-white/30 rounded-2xl p-8 shadow-sm",children:[i.jsxs("div",{className:"mb-6",children:[i.jsx("h3",{className:"text-xl font-medium mb-3 tracking-tight",style:{color:"#2A2A2A"},children:"Service Changes"}),i.jsx("div",{className:"w-12 h-px bg-gradient-to-r from-emerald-300 to-green-400 opacity-60"})]}),i.jsx("p",{className:"leading-relaxed font-light text-sm",style:{color:"#6E6E6E"},children:"We reserve the right to modify or discontinue the Services at any time without notice. You agree that we will not be liable for any modification, suspension, or discontinuance of the Services."})]})]}),i.jsx("div",{className:"text-center",children:i.jsxs("div",{className:"relative backdrop-blur-sm bg-gradient-to-br from-blue-50/80 to-indigo-100/60 border border-white/30 rounded-2xl p-8 max-w-2xl mx-auto shadow-sm",children:[i.jsx("div",{className:"absolute -top-3 -left-3 w-8 h-8 rounded-full bg-gradient-to-r from-blue-300 to-indigo-400 border border-blue-200 flex items-center justify-center shadow-lg",children:i.jsx(to,{className:"w-4 h-4 text-white"})}),i.jsxs("div",{className:"space-y-6",children:[i.jsx("h3",{className:"text-xl font-medium mb-3 tracking-tight",style:{color:"#2A2A2A"},children:"Contact Us"}),i.jsxs("div",{className:"space-y-4 text-sm font-light",style:{color:"#6E6E6E"},children:[i.jsxs("div",{className:"flex flex-col md:flex-row md:items-center md:justify-center md:space-x-8 space-y-2 md:space-y-0",children:[i.jsxs("div",{className:"flex items-center justify-center space-x-2",children:[i.jsx(p0,{className:"w-4 h-4 text-blue-400"}),i.jsx("span",{children:"Revola Corporation"})]}),i.jsxs("div",{className:"flex items-center justify-center space-x-2",children:[i.jsx(to,{className:"w-4 h-4 text-blue-400"}),i.jsx("a",{href:"mailto:[email protected]",className:"text-blue-500 hover:text-blue-600 transition-colors font-medium",children:"[email protected]"})]})]}),i.jsx("div",{className:"text-xs text-slate-500",children:"628 Parada Dr, Milpitas, CA"})]})]})]})})]}),i.jsx("style",{children:`
529        @keyframes gentleFloat {
530          0%, 100% { transform: translateY(0px) rotate(0deg); }
531          33% { transform: translateY(-15px) rotate(1deg); }
532          66% { transform: translateY(-5px) rotate(-1deg); }
533        }
534
535        @keyframes drift {
536          0% { transform: translateY(0px); }
537          100% { transform: translateY(-25px); }
538        }
539
540        .bg-gradient-radial {
541          background: radial-gradient(circle, var(--tw-gradient-from), var(--tw-gradient-to));
542        }
543
544        /* Mobile optimizations */
545        @media (max-width: 768px) {
546          .animate-gentleFloat {
547            animation-duration: 12s;
548          }
549        }
550      `})]})},L_=()=>{const[e,t]=h.useState(null),[n,r]=h.useState([]),[s,o]=h.useState([]),[a,l]=h.useState(!1);h.useEffect(()=>{const d=()=>{l(window.innerWidth<768)};return d(),window.addEventListener("resize",d),()=>window.removeEventListener("resize",d)},[]),h.useEffect(()=>{const d=a?25:45,p=Array.from({length:d},(v,x)=>({id:x,x:Math.random()*100,y:Math.random()*100,size:Math.random()*2+1,opacity:Math.random()*.15+.05,drift:Math.random()*3+4,shape:Math.random()>.5?"circle":"square",color:Math.random()>.6?Math.random()>.5?"lavender":"coral":"sky"}));o(p);const f=a?8:15,m=Array.from({length:f},(v,x)=>({id:x,x:Math.random()*100,y:Math.random()*100,size:Math.random()*1.5+.5,drift:Math.random()*2+2,opacity:Math.random()*.1+.03}));r(m)},[a]);const c=[{icon:h0,title:"What Information We Process",description:"Personal information you provide directly and data collected automatically through your use of our Services",gradient:"from-orange-300 to-orange-400",accentColor:"orange-300",bgColor:"from-orange-50/80 to-orange-100/60"},{icon:x0,title:"Sensitive Information",description:"We process sensitive personal information when necessary, with your consent or as permitted by law",gradient:"from-pink-300 to-rose-400",accentColor:"pink-300",bgColor:"from-pink-50/80 to-rose-100/60"},{icon:g0,title:"How We Process",description:"To provide, improve, and administer our Services, communicate with you, and for security and fraud prevention",gradient:"from-purple-300 to-purple-400",accentColor:"purple-300",bgColor:"from-purple-50/80 to-purple-100/60"},{icon:Za,title:"Information Sharing",description:"We share with service providers, partners, and third parties necessary to fulfill services and legitimate business interests",gradient:"from-teal-300 to-teal-400",accentColor:"teal-300",bgColor:"from-teal-50/80 to-teal-100/60"},{icon:Dl,title:"Your Rights",description:"You may have rights regarding your personal information, such as access, correction, deletion, and withdrawing consent",gradient:"from-emerald-300 to-emerald-400",accentColor:"emerald-300",bgColor:"from-emerald-50/80 to-emerald-100/60"},{icon:to,title:"Exercise Your Rights",description:"Contact us at [email protected] to exercise your privacy rights",gradient:"from-amber-300 to-yellow-400",accentColor:"amber-300",bgColor:"from-amber-50/80 to-yellow-100/60"}],u=[{icon:h0,title:"Information We Collect",gradient:"from-orange-300 to-orange-400",accentColor:"orange-300",bgColor:"from-orange-50/60 to-orange-100/40",content:["Personal Information You Disclose: We collect information you provide, such as your name, email address, contact preferences, and payment information.","Information Automatically Collected: We automatically collect certain information when you use our Services, such as IP addresses, device and usage data, and location information."]},{icon:g0,title:"How We Process Your Information",gradient:"from-pink-300 to-rose-400",accentColor:"pink-300",bgColor:"from-pink-50/60 to-rose-100/40",content:["We process your information to deliver and enhance our Services, respond to you, secure our Services, and comply with legal obligations.","We may also use your information for market research, project planning, troubleshooting issues, and in other ways aimed at improving our offerings and services."]},{icon:Za,title:"Information Sharing",gradient:"from-purple-300 to-purple-400",accentColor:"purple-300",bgColor:"from-purple-50/60 to-purple-100/40",content:["Service Providers: Cloud computing, data analysis, payment processing, and marketing and advertising services.","Business Transfers: We may share or transfer your information in connection with, or during negotiations of, any merger, sale of company assets, financing, or acquisition."]},{icon:cS,title:"Cookies & Tracking Technologies",gradient:"from-teal-300 to-teal-400",accentColor:"teal-300",bgColor:"from-teal-50/60 to-teal-100/40",content:["We use cookies and similar tracking technologies to collect and store your information.","These technologies help us improve your experience and provide personalized services."]},{icon:x0,title:"Data Retention & Security",gradient:"from-emerald-300 to-emerald-400",accentColor:"emerald-300",bgColor:"from-emerald-50/60 to-emerald-100/40",content:["We retain your personal information for as long as necessary to fulfill the purposes outlined in this privacy policy unless a longer retention period is required or mandated by law.","We implement a variety of security measures to maintain the safety of your personal information."]}
550,{icon:Dl,title:"Your Privacy Rights",gradient:"from-amber-300 to-yellow-400",accentColor:"amber-300",bgColor:"from-amber-50/60 to-yellow-100/40",content:["You have the right to access, update, or delete the information we have on you.","Whenever made possible, you can access, update, or request deletion of your personal information directly within your account settings section.","To review, update, or delete your personal data, please submit a request to [email protected]."]}];return i.jsxs("div",{className:"relative py-24 px-8 overflow-hidden min-h-screen",style:{backgroundColor:"#F9F7F3"},children:[i.jsxs("div",{className:"absolute inset-0",children:[i.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-orange-100/15 via-pink-50/10 to-purple-50/10"}),i.jsx("div",{className:"absolute top-0 right-0 w-3/4 h-3/4 bg-gradient-radial from-orange-200/15 to-transparent blur-3xl"}),i.jsx("div",{className:"absolute bottom-0 left-0 w-3/4 h-3/4 bg-gradient-radial from-pink-200/10 to-transparent blur-3xl"}),i.jsx("div",{className:"absolute top-1/3 right-1/4 w-2/3 h-2/3 bg-gradient-radial from-yellow-100/10 to-transparent blur-3xl"}),i.jsx("div",{className:"absolute bottom-1/4 right-1/3 w-1/2 h-1/2 bg-gradient-radial from-orange-150/15 to-transparent blur-2xl"}),i.jsx("div",{className:"absolute top-1/2 left-1/4 w-1/3 h-1/3 bg-gradient-radial from-pink-100/10 to-transparent blur-xl"}),s.map(d=>i.jsx("div",{className:`absolute ${d.shape==="circle"?"rounded-full":"rounded-sm"}`,style:{left:`${d.x}%`,top:`${d.y}%`,width:`${d.size}px`,height:`${d.size}px`,opacity:d.opacity,animation:`gentleFloat ${d.drift*8}s ease-in-out infinite alternate`,filter:"blur(0.5px)",backgroundColor:d.color==="lavender"?"rgba(255, 230, 210, 0.4)":d.color==="coral"?"rgba(240, 220, 230, 0.5)":"rgba(250, 240, 220, 0.3)"}},d.id)),n.map(d=>i.jsx("div",{className:"absolute rounded-full",style:{left:`${d.x}%`,top:`${d.y}%`,width:`${d.size}px`,height:`${d.size}px`,animation:`drift ${d.drift*15}s ease-in-out infinite alternate`,opacity:d.opacity,backgroundColor:"rgba(240, 220, 210, 0.15)"}},d.id))]}),i.jsxs("div",{className:"container mx-auto max-w-6xl relative z-10",children:[i.jsxs("div",{className:"text-center mb-20",children:[i.jsxs("div",{className:"mb-8",children:[i.jsxs("h1",{className:"text-5xl md:text-6xl font-light tracking-tight leading-tight mb-4",children:[i.jsx("span",{className:"text-slate-700 font-extralight",children:"Privacy"}),i.jsx("br",{}),i.jsx("span",{className:"bg-gradient-to-r from-orange-400 via-pink-400 to-purple-400 bg-clip-text text-transparent font-medium",children:"Policy"})]}),i.jsx("div",{className:"w-24 h-px bg-gradient-to-r from-transparent via-orange-300 to-transparent mx-auto"})]}),i.jsxs("p",{className:"text-lg leading-relaxed max-w-3xl mx-auto mb-8",style:{color:"#6E6E6E"},children:["Learn how",i.jsxs("span",{className:"font-medium",style:{color:"#2A2A2A"},children:[" ","Revola Corporation"," "]}),"collects, uses, and protects your personal information"]}),i.jsxs("div",{className:"inline-flex items-center space-x-2 bg-white/60 backdrop-blur-sm border border-orange-200/50 rounded-full px-6 py-3 shadow-sm",children:[i.jsx(Up,{className:"w-4 h-4 text-slate-600"}),i.jsx("span",{className:"text-sm font-light",style:{color:"#6E6E6E"},children:"Last Updated: Feb 23, 2025"})]})]}),i.jsx("div",{className:"mb-16",children:i.jsxs("div",{className:"relative backdrop-blur-sm bg-amber-50/80 border border-amber-200/50 rounded-2xl p-8 shadow-sm",children:[i.jsx("div",{className:"absolute -top-3 -left-3 w-8 h-8 rounded-full bg-gradient-to-r from-amber-300 to-orange-400 border border-amber-200 flex items-center justify-center shadow-lg",children:i.jsx(af,{className:"w-4 h-4 text-white"})}),i.jsxs("div",{className:"space-y-4",children:[i.jsx("h2",{className:"text-xl font-medium tracking-tight",style:{color:"#2A2A2A"},children:"Important Notice"}),i.jsx("p",{className:"leading-relaxed font-light text-sm",style:{color:"#6E6E6E"},children:"By using our Services, you accept the terms of this privacy policy. If you do not agree with this policy, please do not use the Services. We may update this policy from time to time by posting a revised version and, where appropriate, by notifying you via email. Your continued use of the Services after any changes signifies your acceptance of these changes."})]})]})}),i.jsxs("div",{className:"mb-20",children:[i.jsxs("div",{className:"text-center mb-12",children:[i.jsxs("h2",{className:"text-3xl font-light mb-4",style:{color:"#2A2A2A"},children:["Summary of",i.jsx("span",{className:"bg-gradient-to-r from-orange-400 to-pink-400 bg-clip-text text-transparent font-medium",children:"Key Points"})]}),i.jsx("div",{className:"w-16 h-px bg-gradient-to-r from-transparent via-orange-300 to-transparent mx-auto"})]}),i.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:c.map((d,p)=>i.jsx("div",{className:"group relative transition-all duration-500 hover:-translate-y-1",children:i.jsxs("div",{className:`relative backdrop-blur-sm bg-gradient-to-br ${d.bgColor} border border-white/30 rounded-xl p-6 h-full group-hover:shadow-lg group-hover:border-white/50 transition-all duration-500`,children:[i.jsx("div",{className:`w-10 h-10 rounded-lg bg-gradient-to-r ${d.gradient} flex items-center justify-center mb-4 shadow-md group-hover:shadow-lg transition-all duration-500 group-hover:scale-105`,children:i.jsx(d.icon,{className:"w-5 h-5 text-white"})}),i.jsxs("div",{className:"space-y-3",children:[i.jsx("h3",{className:"text-lg font-medium tracking-tight",style:{color:"#2A2A2A"},children:d.title}),i.jsx("p",{className:"leading-relaxed font-light text-sm",style:{color:"#6E6E6E"},children:d.description})]})]})},p))})]}),i.jsx("div",{className:"space-y-8 mb-16",children:u.map((d,p)=>i.jsx("div",{className:"group relative cursor-pointer transition-all duration-500",onClick:()=>t(e===p?null:p),children:i.jsxs("div",{className:`relative backdrop-blur-sm bg-gradient-to-br ${d.bgColor} border border-white/30 rounded-2xl p-8 group-hover:shadow-lg group-hover:border-white/50 transition-all duration-500`,children:[i.jsx("div",{className:"absolute -top-3 -left-3 w-8 h-8 rounded-full bg-gradient-to-r from-slate-300 to-slate-400 border border-slate-200 flex items-center justify-center text-sm font-medium text-white shadow-lg",children:p+1}),i.jsxs("div",{className:"flex items-center space-x-4 mb-6",children:[i.jsx("div",{className:`w-12 h-12 rounded-xl bg-gradient-to-r ${d.gradient} flex items-center justify-center shadow-lg group-hover:shadow-xl transition-all duration-500 group-hover:scale-105`,children:i.jsx(d.icon,{className:"w-5 h-5 text-white"})}),i.jsxs("div",{className:"flex-1",children:[i.jsx("h3",{className:"text-2xl font-medium tracking-tight",style:{color:"#2A2A2A"},children:d.title}),i.jsx("div",{className:`w-16 h-px bg-gradient-to-r ${d.gradient} opacity-60 group-hover:opacity-100 group-hover:w-20 transition-all duration-500 mt-2`})]}),i.jsx("div",{className:`w-6 h-6 rounded-full border border-slate-400 flex items-center justify-center transition-transform duration-300 ${e===p?"rotate-180":""}`,children:i.jsx("div",{className:"w-2 h-2 border-t border-r border-slate-500 transform rotate-45 -translate-y-
550px"})})]}),i.jsx("div",{className:`overflow-hidden transition-all duration-500 ${e===p?"max-h-96 opacity-100":"max-h-0 opacity-0"}`,children:i.jsx("div",{className:"pt-4 border-t border-white/20 space-y-4",children:d.content.map((f,m)=>i.jsx("p",{className:"leading-relaxed font-light text-sm",style:{color:"#6E6E6E"},children:f},m))})})]})},p))}),i.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-8 mb-16",children:[i.jsxs("div",{className:"relative backdrop-blur-sm bg-gradient-to-br from-red-50/80 to-rose-100/60 border border-white/30 rounded-2xl p-8 shadow-sm",children:[i.jsxs("div",{className:"mb-6",children:[i.jsx("div",{className:"w-10 h-10 rounded-lg bg-gradient-to-r from-red-300 to-rose-400 flex items-center justify-center mb-4 shadow-lg",children:i.jsx(Za,{className:"w-5 h-5 text-white"})}),i.jsx("h3",{className:"text-xl font-medium mb-3 tracking-tight",style:{color:"#2A2A2A"},children:"Protection of Minors"}),i.jsx("div",{className:"w-12 h-px bg-gradient-to-r from-red-300 to-rose-400 opacity-60"})]}),i.jsx("p",{className:"leading-relaxed font-light text-sm",style:{color:"#6E6E6E"},children:"We do not knowingly collect data from or market to children under the age of 18. If we become aware that we have collected personal information from children, we will take steps to delete such information."})]}),i.jsxs("div",{className:"relative backdrop-blur-sm bg-gradient-to-br from-emerald-50/80 to-green-100/60 border border-white/30 rounded-2xl p-8 shadow-sm",children:[i.jsxs("div",{className:"mb-6",children:[i.jsx("div",{className:"w-10 h-10 rounded-lg bg-gradient-to-r from-emerald-300 to-green-400 flex items-center justify-center mb-4 shadow-lg",children:i.jsx(oS,{className:"w-5 h-5 text-white"})}),i.jsx("h3",{className:"text-xl font-medium mb-3 tracking-tight",style:{color:"#2A2A2A"},children:"Policy Updates"}),i.jsx("div",{className:"w-12 h-px bg-gradient-to-r from-emerald-300 to-green-400 opacity-60"})]}),i.jsx("p",{className:"leading-relaxed font-light text-sm",style:{color:"#6E6E6E"},children:"We will update this notice as necessary to comply with relevant laws and to reflect changes in our practices. We encourage you to review this policy periodically."})]})]}),i.jsx("div",{className:"text-center",children:i.jsxs("div",{className:"relative backdrop-blur-sm bg-gradient-to-br from-blue-50/80 to-indigo-100/60 border border-white/30 rounded-2xl p-8 max-w-2xl mx-auto shadow-sm",children:[i.jsx("div",{className:"absolute -top-3 -left-3 w-8 h-8 rounded-full bg-gradient-to-r from-blue-300 to-indigo-400 border border-blue-200 flex items-center justify-center shadow-lg",children:i.jsx(to,{className:"w-4 h-4 text-white"})}),i.jsxs("div",{className:"space-y-6",children:[i.jsx("h3",{className:"text-xl font-medium mb-3 tracking-tight",style:{color:"#2A2A2A"},children:"Questions About This Policy?"}),i.jsxs("div",{className:"space-y-4 text-sm font-light",style:{color:"#6E6E6E"},children:[i.jsx("p",{children:"If you have questions or comments about this notice, or need to exercise your privacy rights, please contact us:"}),i.jsxs("div",{className:"flex items-center justify-center space-x-2",children:[i.jsx(to,{className:"w-4 h-4 text-blue-400"}),i.jsx("a",{href:"mailto:[email protected]",className:"text-blue-500 hover:text-blue-600 transition-colors font-medium",children:"[email protected]"})]}),i.jsxs("div",{className:"text-xs text-slate-500",children:["Revola Corporation",i.jsx("br",{}),"www.Revola.ai"]})]})]})]})})]}),i.jsx("style",{children:`
551        @keyframes gentleFloat {
552          0%, 100% { transform: translateY(0px) rotate(0deg); }
553          33% { transform: translateY(-15px) rotate(1deg); }
554          66% { transform: translateY(-5px) rotate(-1deg); }
555        }
556
557        @keyframes drift {
558          0% { transform: translateY(0px); }
559          100% { transform: translateY(-25px); }
560        }
561
562        .bg-gradient-radial {
563          background: radial-gradient(circle, var(--tw-gradient-from), var(--tw-gradient-to));
564        }
565
566        /* Mobile optimizations */
567        @media (max-width: 768px) {
568          .animate-gentleFloat {
569            animation-duration: 12s;
570          }
571        }
572      `})]})},Mr=[.16,1,.3,1],F_=[{name:"Starter",forWho:"For small teams running a real pilot.",pitch:"One surface, your real docs, real conversations.",includes:["One surface — Product Room or Deal Video","Up to 5 seats","Standard inputs (docs, decks, transcripts)","Email support, weekly office hours"],cta:"Talk to us"},{name:"Growth",forWho:"For teams putting it into production.",pitch:"Every surface, native CRM sync, dedicated onboarding.",highlighted:!0,includes:["All three surfaces — Product Room, Deal Video, LLM Presence","Up to 25 seats","Native integrations — Salesforce, HubSpot, Slack, Notion","Dedicated onboarding · Slack support"],cta:"Talk to us"},{name:"Enterprise",forWho:"For large teams that run security reviews.",pitch:"Sealed by default, deployed where your data already lives.",includes:["Unlimited seats with SSO + SCIM","Custom data residency · BYO cloud option","Sealed inference layer + private model deployment","Dedicated CSM · custom SLA · audit support"],cta:"Talk to us"}],I_=[{label:"Sealed by default",body:"Your data never trains a model — across every plan."},{label:"One Brain, every surface",body:"Pricing scales with reach, not with re-paying for the same answer."},{label:"No template floor",body:"You bring your docs, decks, and positioning. We never start with a generic chatbot."}],O_=()=>i.jsxs("div",{className:"min-h-screen bg-paper text-body",children:[i.jsx(Tr,{}),i.jsxs("section",{className:"mx-auto max-w-[1280px] px-6 pt-12 md:px-10 md:pt-20",children:[i.jsx(I.p,{initial:{opacity:0,y:12},animate:{opacity:1,y:0},transition:{duration:.5,ease:Mr},className:"font-mono text-xs uppercase tracking-eyebrow text-mute",children:"Pricing"}),i.jsx(I.h1,{initial:{opacity:0,y:18},animate:{opacity:1,y:0},transition:{duration:.7,delay:.1,ease:Mr},className:"mt-6 max-w-[18ch] font-display font-medium leading-[1.0] tracking-tighter text-ink text-[44px] sm:text-[60px] md:text-[80px] lg:text-[96px] xl:text-[112px]",children:"Priced around the way you actually buy."}),i.jsx(I.p,{initial:{opacity:0,y:14},animate:{opacity:1,y:0},transition:{duration:.7,delay:.25,ease:Mr},className:"mt-8 max-w-2xl text-base leading-relaxed text-body/85 md:text-lg lg:text-xl",children:"Three tiers. A real conversation, not a feature-comparison checklist. We will tell you what we cost on the first call — and what we charge for honestly maps to surfaces, seats, and how seriously your security team reviews us."})]}),i.jsx("section",{className:"mx-auto max-w-[1280px] px-6 pb-20 pt-14 md:px-10 md:pb-28 md:pt-20",children:i.jsx("div",{className:"grid grid-cols-1 gap-5 md:grid-cols-3 md:gap-6",children:F_.map((e,t)=>i.jsxs(I.div,{initial:{opacity:0,y:22},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-80px"},transition:{duration:.6,delay:.1+t*.08,ease:Mr},className:`flex flex-col gap-7 rounded-2xl border p-7 md:p-8 ${e.highlighted?"border-brandViolet/40 bg-white shadow-[0_30px_70px_-30px_rgba(109,40,217,0.25)] ring-1 ring-brandViolet/15":"border-offWhite bg-white"}`,children:[i.jsxs("div",{children:[i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsx("h3",{className:"font-display text-[28px] font-medium tracking-tighter-3 text-ink md:text-[32px]",children:e.name}),e.highlighted&&i.jsx("span",{className:"rounded-full bg-brandViolet/[0.12] px-2 py-0.5 font-mono text-[10px] uppercase tracking-eyebrow text-brandViolet",children:"Most teams"})]}),i.jsx("p",{className:"mt-2 text-[14px] text-mute",children:e.forWho})]}),i.jsx("p",{className:"text-[15px] leading-relaxed text-body/90 md:text-base",children:e.pitch}),i.jsx("ul",{className:"flex flex-col gap-2.5",children:e.includes.map(n=>i.jsxs("li",{className:"flex items-start gap-2.5 text-[13.5px] text-body/85",children:[i.jsx("svg",{width:"14",height:"14",viewBox:"0 0 16 16",fill:"none",stroke:e.highlighted?"#6D28D9":"#0b0b0d",strokeWidth:"1.6",strokeLinecap:"round",strokeLinejoin:"round",className:"mt-1 shrink-0","aria-hidden":!0,
572children:i.jsx("path",{d:"M3 8.5l3.5 3.5L13 5"})}),i.jsx("span",{children:n})]},n))}),i.jsxs(Ln,{source:`pricing-tier:${e.name??"tier"}`,className:`group mt-auto inline-flex items-center justify-center gap-2 rounded-full px-5 py-3 text-sm font-medium transition-all duration-300 hover:-translate-y-px ${e.highlighted?"bg-ink text-paper hover:bg-inkSoft":"border border-ink/15 bg-paper text-ink hover:border-ink/30"}`,children:[i.jsx("span",{children:e.cta}),i.jsx("span",{"aria-hidden":!0,className:"transition-transform duration-500 group-hover:translate-x-1",children:"→"})]})]},e.name))})}),i.jsx("section",{className:"border-t border-offWhite bg-paper",children:i.jsxs("div",{className:"mx-auto max-w-[1280px] px-6 py-24 md:px-10 md:py-32",children:[i.jsx(I.p,{initial:{opacity:0,y:12},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-80px"},transition:{duration:.5,ease:Mr},className:"font-mono text-xs uppercase tracking-eyebrow text-mute",children:"What never changes"}),i.jsx(I.h2,{initial:{opacity:0,y:14},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-80px"},transition:{duration:.6,delay:.1,ease:Mr},className:"mt-5 max-w-[24ch] font-display font-medium leading-[1.05] tracking-tighter-2 text-ink text-[34px] sm:text-[42px] md:text-[52px] lg:text-[60px]",children:"The thing you came here for is in every plan."}),i.jsx("div",{className:"mt-14 grid grid-cols-1 gap-x-12 gap-y-8 md:mt-16 md:grid-cols-3",children:I_.map((e,t)=>i.jsxs(I.div,{initial:{opacity:0,y:14},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-80px"},transition:{duration:.5,delay:.05+t*.06,ease:Mr},className:"border-l-2 border-offWhite pl-5",children:[i.jsx("p",{className:"text-[16px] font-medium text-ink",children:e.label}),i.jsx("p",{className:"mt-1.5 max-w-md text-[14px] leading-relaxed text-body/80",children:e.body})]},e.label))})]})}),i.jsx("section",{className:"border-t border-offWhite bg-paper",children:i.jsxs("div",{className:"mx-auto flex max-w-[1280px] flex-col items-start gap-10 px-6 py-20 md:flex-row md:items-end md:justify-between md:px-10 md:py-28",children:[i.jsx("h2",{className:"max-w-[24ch] font-display font-medium leading-[1.05] tracking-tighter-2 text-ink text-[32px] sm:text-[40px] md:text-[48px] lg:text-[56px]",children:"Tell us how you sell — we’ll tell you what it costs."}),i.jsxs("div",{className:"flex flex-wrap items-center gap-5",children:[i.jsxs(Ln,{source:"pricing-close",className:"group inline-flex items-center gap-2 rounded-full bg-ink px-6 py-3 text-base font-medium text-paper transition-all duration-300 hover:-translate-y-px hover:bg-inkSoft",children:[i.jsx("span",{children:"Build your Product Brain"}),i.jsx("span",{"aria-hidden":!0,className:"inline-block transition-transform duration-500 group-hover:translate-x-1",children:"→"})]}),i.jsx(Qe,{to:"/product-room",className:"text-base text-body/80 underline-offset-4 transition-colors duration-300 hover:text-ink hover:underline",children:"See a live Product Room →"})]})]})}),i.jsx(Pr,{})]}),V_=({youtubeId:e,videoSrc:t})=>{const[n,r]=h.useState(!1),s=h.useRef(null),o=!!e||!!t;return h.useEffect(()=>{const a=l=>l.key==="Escape"&&r(!1);return window.addEventListener("keydown",a),()=>window.removeEventListener("keydown",a)},[]),i.jsxs(i.Fragment,{children:[i.jsxs("div",{className:"relative rounded-3xl border border-white/60 bg-white/90 backdrop-blur-md shadow-2xl overflow-hidden",children:[i.jsx("div",{className:"flex items-center justify-between px-4 py-3 border-b border-[#E5E7EB]",children:i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsx("span",{className:"inline-block w-2 h-2 rounded-full bg-[#9ACBEB]"}),i.jsx("span",{className:"inline-block w-2 h-2 rounded-full bg-[#BDA6FF]"}),i.jsx("span",{className:"inline-block w-2 h-2 rounded-full bg-[#F8B8AA]"})]})}),i.jsxs("div",{className:"relative",children:[i.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-[#F3F6FF] via-white to-[#FFF7F3]"}),i.jsxs("div",{className:"relative p-6 sm:p-8",children:[i.jsxs("div",{className:"grid gap-6 lg:grid-cols-[1.05fr_0.95fr] items-center",children:[i.jsx("div",{className:"space-y-3",children:i.jsxs("div",{className:"rounded-xl border shadow-sm p-3 bg-white/95 border-[#
572E5E7EB]",children:[i.jsxs("div",{className:"flex items-center gap-2 mb-2",children:[i.jsx("div",{className:"w-8 h-8 rounded-full bg-gradient-to-r from-[#BDA6FF] to-[#a089e0]"}),i.jsx("div",{className:"text-xs font-medium text-[#0F172A]",children:"Agent"})]}),i.jsx("p",{className:"text-xs text-[#0F172A] leading-relaxed",children:"Hi, since you’re an engineer exploring data security solutions, this is the product we recommend for your needs"})]})}),i.jsx("div",{className:"relative",children:i.jsxs("div",{className:"relative rounded-2xl bg-white border border-[#E5E7EB] shadow-md p-4",children:[i.jsxs("div",{className:"relative aspect-[16/10] rounded-2xl bg-gradient-to-br from-[#EEF2FF] to-[#FFF1EE] flex items-center justify-center overflow-hidden",children:[i.jsx("div",{className:"pointer-events-none absolute -inset-1 opacity-40",children:i.jsx("div",{className:"w-[200%] h-[200%] -rotate-12 opacity-30",style:{background:"radial-gradient(40% 60% at 10% 10%, rgba(189,166,255,0.18), transparent 60%), radial-gradient(35% 55% at 90% 20%, rgba(154,203,235,0.18), transparent 60%), radial-gradient(35% 55% at 40% 90%, rgba(248,184,170,0.18), transparent 60%)",animation:"floatfield 18s ease-in-out infinite"}})}),i.jsxs("svg",{viewBox:"0 0 1200 750",className:"w-[92%] h-auto drop-shadow",children:[i.jsxs("defs",{children:[i.jsxs("linearGradient",{id:"edge",x1:"0",y1:"0",x2:"0",y2:"1",children:[i.jsx("stop",{offset:"0",stopColor:"#E7E7EA"}),i.jsx("stop",{offset:"0.5",stopColor:"#CFCFD6"}),i.jsx("stop",{offset:"1",stopColor:"#EAEAF0"})]}),i.jsxs("linearGradient",{id:"bezel",x1:"0",y1:"0",x2:"1",y2:"1",children:[i.jsx("stop",{offset:"0",stopColor:"#2B2F36"}),i.jsx("stop",{offset:"1",stopColor:"#1D2127"})]}),i.jsxs("linearGradient",{id:"panel",x1:"0",y1:"0",x2:"1",y2:"1",children:[i.jsx("stop",{offset:"0",stopColor:"#0B1020"}),i.jsx("stop",{offset:"1",stopColor:"#12172B"})]}),i.jsxs("linearGradient",{id:"gloss",x1:"0",y1:"0",x2:"1",y2:"1",children:[i.jsx("stop",{offset:"0",stopColor:"rgba(255,255,255,0.32)"}),i.jsx("stop",{offset:"0.25",stopColor:"rgba(255,255,255,0.08)"}),i.jsx("stop",{offset:"1",stopColor:"rgba(255,255,255,0.00)"})]}),i.jsxs("filter",{id:"softShadow",x:"-20%",y:"-20%",width:"140%",height:"140%",children:[i.jsx("feGaussianBlur",{in:"SourceAlpha",stdDeviation:"18"}),i.jsx("feOffset",{dx:"0",dy:"8",result:"offsetblur"}),i.jsx("feComponentTransfer",{children:i.jsx("feFuncA",{type:"linear",slope:"0.25"})}),i.jsxs("feMerge",{children:[i.jsx("feMergeNode",{}),i.jsx("feMergeNode",{in:"SourceGraphic"})]})]})]}),i.jsx("rect",{x:"20",y:"20",rx:"34",ry:"34",width:"1160",height:"710",fill:"url(#edge)",filter:"url(#softShadow)"}),i.jsx("rect",{x:"48",y:"48",rx:"26",ry:"26",width:"1104",height:"656",fill:"url(#bezel)"}),i.jsx("rect",{x:"560",y:"44",width:"80",height:"14",rx:"7",fill:"#0E1116"}),i.jsx("circle",{cx:"600",cy:"66",r:"5.5",fill:"#3B82F6",opacity:"0.65"}),i.jsx("rect",{x:"70",y:"72",rx:"18",ry:"18",width:"1060",height:"612",fill:"url(#panel)"}),i.jsxs("g",{opacity:"0.28",children:[i.jsxs("radialGradient",{id:"ring1",cx:"20%",cy:"18%",r:"60%",children:[i.jsx("stop",{offset:"0%",stopColor:"#3B82F6"}),i.jsx("stop",{offset:"80%",stopColor:"transparent"})]}),i.jsxs("radialGradient",{id:"ring2",cx:"78%",cy:"26%",r:"65%",children:[i.jsx("stop",{offset:"0%",stopColor:"#A78BFA"}),i.jsx("stop",{offset:"85%",stopColor:"transparent"})]}),i.jsxs("radialGradient",{id:"ring3",cx:"46%",cy:"84%",r:"70%",children:[i.jsx("stop",{offset:"0%",stopColor:"#F59E0B"}),i.jsx("stop",{offset:"85%",stopColor:"transparent"})]}),i.jsx("rect",{x:"70",y:"72",width:"1060",height:"612",fill:"url(#ring1)"}),i.jsx("rect",{x:"70",y:"72",width:"1060",height:"612",fill:"url(#ring2)"}),i.jsx("rect",{x:"70",y:"72",width:"1060",height:"612",fill:"url(#ring3)"})]}),i.jsx("path",{d:"M90 110 C 420 20, 780 20, 1140 110 L1140 220 C 780 150, 420 150, 90 220 Z",fill:"url(#gloss)",opacity:"0.32"}),i.jsxs("g",{transform:"translate(140, 694)",children:[i.jsx("rect",{x:"0",y:"0",width:"920",height:"18",rx:"9",fill:"#CBD5E1"}),i.jsx("rect",{x:"28",y:"-10",width:"864",height:"10",rx:"5",fill:"#E2E8F0"})]}),i.jsx("ellipse",{cx:"600",cy:"720",rx:"260",ry:"18",fill:"#000",opacity:"0.08"})]}),i.jsx("div",{className:"pointer-events-none absolute -top-1/3 left-0 w-full h-2/3 opacity-30",style:{background:"linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.22) 40%, rgba(255,255,255,0.35) 50%, rgba(255,255,255,0.22) 60%, transparent 100%)",transform:"translateX(-100%)",animation:"sweep 6s ease-in-out infinite"}})]}),i.jsxs("div",{className:"flex items-center justify-between mt-3",children:[i.jsx("span",{className:"text-[11px] text-[#64748B]",children:"Decks and device demos will appear here"}),i.jsxs("button",{onClick:()=>o&&r(!0),disabled:!o,className:"inline-flex items-center gap-1 text-xs font-medium text-[#0F172A] rounded-full bg-[#F1F5F9] px-3 py-1 disabled:opacity-50",children:["Begin demo",i.jsx(Wo,{className:"w-3 h-3"})]})]})]})})]}),i.jsx("div",{className:"mt-6 h-8 rounded-xl bg-gradient-to-r from-[#9ACBEB33] via-[#BDA6FF26] to-[#F8B8AA26] animate-[pulse_5s_ease-in-out_infinite]"})]})]})]}),n&&i.jsx("div",{className:"fixed inset-0 z-[100] flex items-center justify-center bg-black/70 p-4",onClick:a=>a.target===a.currentTarget&&r(!1),children:i.jsxs("div",{ref:s,className:"relative w-full max-w-4xl rounded-2xl overflow-hidden bg-black shadow-2xl",children:[i.jsx("button",{onClick:()=>r(!1),className:"absolute right-3 top-3 z-10 inline-flex items-center justify-center w-8 h-8 rounded-full bg-white/90 text-[#111827] shadow","aria-label":"Close",children:i.jsx(jc,{className:"w-4 h-4"})}),e?i.jsx("iframe",{src:`https://www.youtube.com/embed/${e}
572?autoplay=1&mute=1`,title:"Revola device demo",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,className:"block w-full aspect-video"}):t&&i.jsx("video",{src:t,className:"block w-full h-auto",autoPlay:!0,muted:!0,playsInline:!0,controls:!0,preload:"metadata"})]})}),i.jsx("style",{children:`
573        @keyframes sweep {
574          0%   { transform: translateX(-110%); }
575          50%  { transform: translateX(10%); }
576          100% { transform: translateX(110%); }
577        }
578        @keyframes floatfield {
579          0%   { transform: translate3d(-8%, -6%, 0) scale(1); }
580          50%  { transform: translate3d(6%, 4%, 0) scale(1.02); }
581          100% { transform: translate3d(12%, 8%, 0) scale(1); }
582        }
583      `})]})},Hh=()=>{const[e,t]=h.useState([]);return h.useEffect(()=>{t(Array.from({length:15},(r,s)=>({id:s,x:Math.random()*100,y:Math.random()*100,size:Math.random()*1.5+.8,opacity:Math.random()*.08+.02,drift:Math.random()*4+6,shape:Math.random()>.5?"circle":"square",color:Math.random()>.7?"accent":"neutral"})))},[]),i.jsxs("div",{className:"relative py-16 px-8 bg-gradient-to-b from-[#F0EDE7] to-[#E8E4DD] border-t border-[#D4CFC6]/60",children:[i.jsxs("div",{className:"absolute inset-0",children:[e.map(n=>i.jsx("div",{className:`absolute ${n.shape==="circle"?"rounded-full":"rounded-sm"}`,style:{left:`${n.x}%`,top:`${n.y}%`,width:`${n.size}px`,height:`${n.size}px`,opacity:n.opacity,animation:`gentleFloat ${n.drift*10}s ease-in-out infinite alternate`,filter:"blur(0.5px)",backgroundColor:n.color==="accent"?"rgba(189, 166, 255, 0.15)":"rgba(220, 215, 205, 0.3)"}},n.id)),i.jsx("div",{className:"absolute bottom-0 left-1/4 w-1/4 h-1/4 bg-gradient-radial from-[#9ACBEB]/6 to-transparent blur-3xl"}),i.jsx("div",{className:"absolute top-0 right-1/4 w-1/4 h-1/4 bg-gradient-radial from-[#BDA6FF]/4 to-transparent blur-3xl"})]}),i.jsxs("div",{className:"container mx-auto max-w-6xl relative z-10",children:[i.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-12 mb-12",children:[i.jsxs("div",{className:"space-y-6",children:[i.jsx("h3",{className:"text-lg font-medium text-[#2A2A2A] tracking-wide",children:"Company"}),i.jsx("div",{className:"space-y-4",children:i.jsx("a",{href:"/",className:"block text-[#6E6E6E] hover:text-[#2A2A2A] transition-colors duration-300 font-light hover:translate-x-1 transform",children:"Home"})})]}),i.jsxs("div",{className:"space-y-6",children:[i.jsx("h3",{className:"text-lg font-medium text-[#2A2A2A] tracking-wide",children:"Follow Us"}),i.jsxs("div",{className:"flex space-x-6",children:[i.jsx("a",{href:"https://x.com/revolaAI",target:"_blank",rel:"noopener noreferrer",className:"group flex items-center space-x-3 text-[#6E6E6E] hover:text-[#2A2A2A] transition-colors duration-300",children:i.jsx("div",{className:"w-10 h-10 rounded-full bg-white/60 border border-white/50 flex items-center justify-center group-hover:bg-white/80 group-hover:border-[#9ACBEB]/40 group-hover:shadow-lg transition-all duration-300 group-hover:scale-105",children:i.jsx(Z1,{className:"w-4 h-4"})})}),i.jsx("a",{href:"https://www.linkedin.com/company/revolaai/",target:"_blank",rel:"noopener noreferrer",className:"group flex items-center space-x-3 text-[#6E6E6E] hover:text-[#2A2A2A] transition-colors duration-300",children:i.jsx("div",{className:"w-10 h-10 rounded-full bg-white/60 border border-white/50 flex items-center justify-center group-hover:bg-white/80 group-hover:border-[#9ACBEB]/40 group-hover:shadow-lg transition-all duration-300 group-hover:scale-105",children:i.jsx(Hp,{className:"w-4 h-4"})})})]})]}),i.jsxs("div",{className:"space-y-6",children:[i.jsx("h3",{className:"text-lg font-medium text-[#2A2A2A] tracking-wide",children:"Resources"}),i.jsxs("div",{className:"space-y-4",children:[i.jsx("a",{href:"/terms-of-service",className:"block text-[#6E6E6E] hover:text-[#2A2A2A] transition-colors duration-300 font-light hover:translate-x-1 transform",children:"Terms of Service"}),i.jsx("a",{href:"/privacy-policy",className:"block text-[#6E6E6E] hover:text-[#2A2A2A] transition-colors duration-300 font-light hover:translate-x-1 transform",children:"Privacy Policy"})]})]})]}),i.jsxs("div",{className:"border-t border-[#D4CFC6]/60 pt-8 flex flex-col md:flex-row justify-between items-center",children:[i.jsx("div",{className:"mb-6 md:mb-0",children:i.jsx("div",{className:"flex items-center",children:i.jsx("img",{src:"/logo.png",alt:"Your Logo",className:"h-16 w-auto"})})}),i.jsx("p",{className:"text-[#8A8A8A] text-sm font-light",children:"© 2025 Revola, Inc. All rights reserved."})]})]}),i.jsx("style",{children:`
584        @keyframes gentleFloat { 
585          0%, 100% { transform: translateY(0px) rotate(0deg); } 
586          33% { transform: translateY(-12px) rotate(1deg); } 
587          66% { transform: translateY(-4px) rotate(-1deg); } 
588        }
589
590        .bg-gradient-radial {
591          background: radial-gradient(circle, var(--tw-gradient-from), var(--tw-gradient-to));
592        }
593      `})]})},B_=Object.freeze(Object.defineProperty({__proto__:null,default:Hh},Symbol.toStringTag,{value:"Module"})),Wi={sky:"from-[#9ACBEB] to-[#78b1d1]",lavender:"from-[#BDA6FF] to-[#a089e0]",coral:"from-[#F8B8AA] to-[#e2a091]"},jn=({children:e})=>i.jsxs("li",{className:"flex items-start gap-3",children:[i.jsx("div",{className:`mt-1 p-1 rounded-full bg-gradient-to-r ${Wi.lavender} shadow-sm`,children:i.jsx(Y1,{className:"w-3 h-3 text-white","aria-hidden":!0})}),i.jsx("span",{className:"text-sm sm:text-base text-[#2A2A2A] leading-relaxed",children:e})]}),sd=({children:e})=>i.jsx("span",{className:"inline-flex items-center px-3 py-1.5 rounded-full bg-white/90 border border-white/70 text-xs text-[#374151] shadow-sm",children:e}),id=({title:e,desc:t,icon:n,gradient:r,variant:s="elevated"})=>{const o={elevated:"bg-white/90 border-white/60 shadow-xl",outline:"bg-white/70 border-white/80 shadow-md",frost:"bg-white/70 border-white/60 backdrop-blur-md shadow-lg"};return i.jsxs("div",{className:`rounded-2xl border p-6 ${o[s]}`,children:[i.jsx("div",{className:`inline-flex items-center justify-center p-2 rounded-lg bg-gradient-to-r ${r} text-white mb-4`,children:i.jsx(n,{className:"w-5 h-5"})}),i.jsx("h3",{className:"text-lg font-semibold text-[#2A2A2A]",children:e}),i.jsx("p",{className:"text-sm text-[#6E6E6E] mt-2 leading-relaxed",children:t})]})},z_=()=>i.jsxs("main",{className:"relative bg-[#F9F7F3]",children:[i.jsx(zh,{}),i.jsxs("section",{className:"relative px-6 pt-20 pb-10 sm:pt-28 sm:pb-16 max-w-6xl mx-auto",children:[i.jsxs("div",{className:"pointer-events-none absolute inset-0 -z-10",children:[i.jsx("div",{className:"absolute -top-24 -left-10 w-72 h-72 rounded-full bg-[#9ACBEB22] blur-3xl"}),i.jsx("div",{className:"absolute -top-20 right-0 w-80 h-80 rounded-full bg-[#BDA6FF22] blur-3xl"})]}),i.jsxs("div",{className:"grid gap-10 lg:grid-cols-[minmax(0,1.05fr)_minmax(0,0.95fr)] items-center",children:[i.jsxs("div",{className:"text-center lg:text-left",children:[i.jsx("h1",{className:"text-4xl sm:text-5xl lg:text-6xl font-light text-[#2A2A2A] mb-4",children:"Solutions for hardware and devices"}),i.jsx("p",{className:"text-base sm:text-lg max-w-3xl text-[#6E6E6E] leading-relaxed",children:"Help buyers choose the right model and accessories, show setup with a guided walk through, and route to a partner or a quote."}),i.jsxs("div",{className:"mt-6 flex flex-wrap items-center gap-3",children:[i.jsx(sd,{children:"Learns your catalog"}),i.jsx(sd,{children:"Recommends products and bundles"}),i.jsx(sd,{children:"Tracks results in the portal"})]})]}),i.jsx(V_,{})]})]}),i.jsxs("section",{className:"relative",children:[i.jsx("div",{className:"absolute inset-0 -z-10",style:{background:"radial-gradient(1200
593px 200px at 10% 0%, rgba(154,203,235,0.08), transparent 40%), radial-gradient(1200px 240px at 90% 0%, rgba(189,166,255,0.10), transparent 40%), radial-gradient(800px 200px at 50% 100%, rgba(248,184,170,0.10), transparent 40%)"}}),i.jsx("div",{className:"px-6 py-16 max-w-7xl mx-auto",children:i.jsxs("div",{className:"grid gap-6 md:grid-cols-3",children:[i.jsx(id,{title:"Product learning",desc:"Specs, options, and accessories mapped into a clean catalog that the agent uses for answers and choices.",icon:pS,gradient:Wi.lavender,variant:"elevated"}),i.jsx(id,{title:"Smart recommendations",desc:"Suggests the right model and add ons based on role, environment, and intended use. Shares a clear next step.",icon:of,gradient:Wi.coral,variant:"outline"}),i.jsx(id,{title:"Auto created content",desc:"Decks per product and a simple walk through for install, pairing, and first use when needed.",icon:Q1,gradient:Wi.sky,variant:"frost"})]})})]}),i.jsxs("section",{className:"relative px-6 pb-6 max-w-7xl mx-auto",children:[i.jsx("div",{className:"absolute inset-0 -z-10 opacity-[0.08]",style:{backgroundImage:"linear-gradient(#94a3b8 1px, transparent 1px), linear-gradient(90deg, #94a3b8 1px, transparent 1px)",backgroundSize:"40px 40px"}}),i.jsxs("div",{className:"rounded-3xl border border-white/60 bg-white/85 backdrop-blur-md shadow-2xl p-8 sm:p-10",children:[i.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[i.jsx("div",{className:`p-2 rounded-lg bg-gradient-to-r ${Wi.lavender} text-white`,children:i.jsx(J1,{className:"w-5 h-5"})}),i.jsx("h2",{className:"text-2xl font-medium text-[#2A2A2A]",children:"How it works"})]}),i.jsxs("div",{className:"grid gap-8 lg:grid-cols-3",children:[i.jsxs("div",{className:"relative rounded-2xl border border-white/70 bg-white/90 p-6",children:[i.jsx("div",{className:"absolute -top-3 -left-3 w-8 h-8 rounded-full bg-[#EDE9FE] text-[#4C1D95] flex items-center justify-center text-sm font-semibold shadow",children:"1"}),i.jsxs("h3",{className:"text-lg font-semibold text-[#2A2A2A] flex items-center gap-2",children:[i.jsx(lS,{className:"w-5 h-5 text-[#BDA6FF]"})," Learn the catalog"]}),i.jsxs("ul",{className:"mt-3 space-y-2",children:[i.jsx(jn,{children:"Ingest spec pages and datasheets"}),i.jsx(jn,{children:"Map variants and compatible parts"}),i.jsx(jn,{children:"Identify common use cases and buyer roles"})]})]}),i.jsxs("div",{className:"relative rounded-2xl border border-white/70 bg-white/90 p-6",children:[i.jsx("div",{className:"absolute -top-3 -left-3 w-8 h-8 rounded-full bg-[#FEF3C7] text-[#92400E] flex items-center justify-center text-sm font-semibold shadow",children:"2"}),i.jsxs("h3",{className:"text-lg font-semibold text-[#2A2A2A] flex items-center gap-2",children:[i.jsx(of,{className:"w-5 h-5 text-[#F8B8AA]"})," Recommend the right fit"]}),i.jsxs("ul",{className:"mt-3 space-y-2",children:[i.jsx(jn,{children:"Suggest models and bundles based on needs"}),i.jsx(jn,{children:"Offer accessories that match the setup"}),i.jsx(jn,{children:"Share a simple next step to proceed"})]})]}),i.jsxs("div",{className:"relative rounded-2xl border border-white/70 bg-white/90 p-6",children:[i.jsx("div",{className:"absolute -top-3 -left-3 w-8 h-8 rounded-full bg-[#DBEAFE] text-[#1E40AF] flex items-center justify-center text-sm font-semibold shadow",children:"3"}),i.jsxs("h3",{className:"text-lg font-semibold text-[#2A2A2A] flex items-center gap-2",children:[i.jsx(vS,{className:"w-5 h-5 text-[#9ACBEB]"})," Guide when needed"]}),i.jsxs("ul",{className:"mt-3 space-y-2",children:[i.jsx(jn,{children:"Provide a short walk through for install and pairing"}),i.jsx(jn,{children:"Surface tips and common solutions"}),i.jsx(jn,{children:"Link to support docs and videos"})]})]})]})]})]}),i.jsx("section",{className:"px-6 pb-24 max-w-7xl mx-auto text-center",children:i.jsx("div",{className:"inline-block rounded-3xl bg-gradient-to-r from-[#9ACBEB] via-[#BDA6FF] to-[#F8B8AA] p-[1px] shadow-2xl",children:i.jsxs("a",{href:"https://www.app.revola.ai",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-3 px-8 py-4 rounded-3xl bg-white/95 backdrop-blur-md border border-white/60 shadow-lg hover:shadow-xl transition text-black",children:["Create your agent",i.jsx(Wo,{className:"w-5 h-5",style:{color:"#BDA6FF"}})]})})}),i.jsx($h,{iframeSrc:"https://www.chat.revola.ai/?cid=1093&iframe=True",hintLabel:"Meet your AI Sales Engineer",micVideoSrc:"/globe.mp4",nudgeEnabled:!0,nudgeDelaySec:6}),i.jsx(Hh,{})]}),$_=({youtubeId:e,videoSrc:t,thumbnailSrc:n})=>{const[r,s]=h.useState(!1),o=h.useRef(null);h.useEffect(()=>{const l=c=>c.key==="Escape"&&s(!1);return window.addEventListener("keydown",l),()=>window.removeEventListener("keydown",l)},[]);const a=!!e||!!t;return i.jsxs(i.Fragment,{children:[i.jsxs("div",{className:"relative rounded-3xl border border-white/60 bg-white/90 backdrop-blur-md shadow-2xl overflow-hidden group",children:[n&&i.jsx("img",{src:n,alt:"Demo thumbnail",className:"w-full h-auto object-cover transition-transform duration-500 group-hover:scale-[1.02]",loading:"lazy"}),i.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/40 via-trans
593parent to-transparent pointer-events-none"}),i.jsx("div",{className:"absolute inset-0 flex flex-col items-center justify-center",children:i.jsxs("button",{onClick:()=>a&&s(!0),disabled:!a,className:"inline-flex items-center gap-2 px-6 py-2.5 rounded-full bg-white/80 text-[#111827] text-sm font-medium shadow-lg hover:shadow-xl transition-transform duration-300 hover:-translate-y-0.5 backdrop-blur-sm",children:[i.jsx(X1,{className:"w-4 h-4"}),"Watch Demo"]})})]}),r&&i.jsx("div",{className:"fixed inset-0 z-[100] flex items-center justify-center bg-black/70 p-4",onClick:l=>l.target===l.currentTarget&&s(!1),children:i.jsxs("div",{ref:o,className:"relative w-full max-w-4xl rounded-2xl overflow-hidden bg-black shadow-2xl",children:[i.jsx("button",{onClick:()=>s(!1),className:"absolute right-3 top-3 z-10 inline-flex items-center justify-center w-8 h-8 rounded-full bg-white/90 text-[#111827] shadow","aria-label":"Close",children:i.jsx(jc,{className:"w-4 h-4"})}),e?i.jsx("iframe",{src:`https://www.youtube.com/embed/${e}?autoplay=1&mute=1`,title:"Revola Demo",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,className:"block w-full aspect-video"}):i.jsx("video",{src:t,className:"block w-full h-auto",autoPlay:!0,muted:!0,playsInline:!0,controls:!0,preload:"metadata"})]})})]})},Fa={sky:"from-[#9ACBEB] to-[#78b1d1]",lavender:"from-[#BDA6FF] to-[#a089e0]",coral:"from-[#F8B8AA] to-[#e2a091]"},od=({title:e,desc:t,icon:n,gradient:r})=>i.jsxs("div",{className:"group relative rounded-2xl border border-white/70 bg-white/90 backdrop-blur-md shadow-xl p-7 overflow-hidden transition-transform duration-200 hover:-translate-y-0.5 hover:shadow-2xl",children:[i.jsx("div",{className:`inline-flex items-center justify-center p-2 rounded-lg bg-gradient-to-r ${r} text-white mb-4 shadow-md`,children:i.jsx(n,{className:"w-5 h-5"})}),i.jsx("h3",{className:"text-lg font-semibold text-[#0F172A]",children:e}),i.jsx("p",{className:"text-sm text-[#475569] mt-2 leading-relaxed",children:t})]}),W_=()=>i.jsxs("main",{className:"relative min-h-screen bg-[#F9F7F3]",children:[i.jsxs("div",{className:"pointer-events-none absolute inset-0 overflow-hidden",children:[i.jsx("div",{className:"absolute -top-40 -left-16 w-72 h-72 rounded-full bg-[#9ACBEB26] blur-3xl"}),i.jsx("div",{className:"absolute -top-24 right-0 w-80 h-80 rounded-full bg-[#BDA6FF26] blur-3xl"}),i.jsx("div",{className:"absolute bottom-0 -left-10 w-64 h-64 rounded-full bg-[#F8B8AA26] blur-3xl"})]}),i.jsx(zh,{}),i.jsx("section",{className:"relative px-6 pt-24 pb-14 sm:pt-32 sm:pb-20 max-w-6xl mx-auto",children:i.jsxs("div",{className:"grid gap-12 lg:grid-cols-[minmax(0,1.05fr)_minmax(0,0.95fr)] items-center",children:[i.jsxs("div",{children:[i.jsx("h1",{className:"text-4xl sm:text-5xl lg:text-6xl font-light text-[#0F172A] tracking-tight",children:"Solutions for data and developer tools"}),i.jsx("p",{className:"mt-4 text-base text-[#475569] leading-relaxed max-w-xl",children:"Give every visitor a guided demo that explains complex workflows like a senior solutions engineer — simple, visual, and interactive."}),i.jsxs("div",{className:"mt-6 flex flex-wrap items-center gap-3",children:[i.jsx("span",{className:"text-xs px-3 py-1.5 rounded-full bg-white/90 border border-white/70 text-[#334155] shadow-sm",children:"Learns from docs and examples"}),i.jsx("span",{className:"text-xs px-3 py-1.5 rounded-full bg-white/90 border border-white/70 text-[#334155] shadow-sm",children:"Creates decks and demo flows"}),i.jsx("span",{className:"text-xs px-3 py-1.5 rounded-full bg-white/90 border border-white/70 text-[#334155] shadow-sm",children:"Tracks results in the portal"})]})]}),i.jsx($_,{thumbnailSrc:"/data-dev.png",youtubeId:"moCrJa59Z_E"})]})}),i.jsx("section",{className:"relative px-6 pb-20 max-w-6xl mx-auto",children:i.jsxs("div",{className:"grid gap-7 md:grid-cols-3",children:[i.jsx(od,{title:"Product learning",desc:"Paste your site or docs. The agent maps features, data, and tasks into a product graph that powers answers and demos.",icon:nS,gradient:Fa.sky}),i.jsx(od,{title:"Auto created demos",desc:"Decks per product with notes and visuals. The agent also runs guided demos for c
593ommon workflows.",icon:Q1,gradient:Fa.lavender}),i.jsx(od,{title:"Live conversion",desc:"Recommend plans, link to docs, collect email, and book time with your team — all within the demo.",icon:of,gradient:Fa.coral})]})}),i.jsx("section",{className:"relative px-6 pb-10 max-w-6xl mx-auto",children:i.jsxs("div",{className:"rounded-3xl border border-white/70 bg-white/90 backdrop-blur-md shadow-xl p-8 sm:p-10",children:[i.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[i.jsx("div",{className:`p-2 rounded-lg bg-gradient-to-r ${Fa.sky} text-white`,children:i.jsx(J1,{className:"w-5 h-5"})}),i.jsx("h2",{className:"text-2xl font-medium text-[#0F172A]",children:"How it works"})]}),i.jsxs("div",{className:"grid gap-10 lg:grid-cols-3",children:[i.jsxs("div",{children:[i.jsx("h3",{className:"text-base font-semibold text-[#0F172A] mb-2",children:"Learn and map"}),i.jsx("p",{className:"text-sm text-[#475569] leading-relaxed",children:"Revola ingests your site, docs, and examples — building a product graph that connects tasks to outcomes."})]}),i.jsxs("div",{children:[i.jsx("h3",{className:"text-base font-semibold text-[#0F172A] mb-2",children:"Generate demos"}),i.jsx("p",{className:"text-sm text-[#475569] leading-relaxed",children:"Decks per product with speaker notes and visuals, instantly generated and always up to date."})]}),i.jsxs("div",{children:[i.jsx("h3",{className:"text-base font-semibold text-[#0F172A] mb-2",children:"Convert and learn"}),i.jsx("p",{className:"text-sm text-[#475569] leading-relaxed",children:"Track engagement, book meetings, and see how each demo performs — all in one portal."})]})]})]})}),i.jsx("section",{className:"relative px-6 pb-28 max-w-6xl mx-auto",children:i.jsx("div",{className:"rounded-3xl bg-gradient-to-r from-[#9ACBEB] via-[#BDA6FF] to-[#F8B8AA] p-[1px] shadow-2xl",children:i.jsxs("div",{className:"rounded-3xl bg-white/95 backdrop-blur-md px-10 py-10 flex flex-col md:flex-row items-center justify-between gap-6",children:[i.jsxs("div",{className:"text-center md:text-left",children:[i.jsx("p",{className:"text-xs uppercase tracking-[0.18em] text-[#64748B]",children:"See it on your product"}),i.jsx("h3",{className:"mt-2 text-2xl font-medium text-[#0F172A]",children:"Spin up an AI sales demo engineer"}),i.jsx("p",{className:"mt-3 text-sm text-[#475569] max-w-xl",children:"Connect your site and docs. Revola creates an agent, a deck per product, and guided flows your team can use tomorrow."})]}),i.jsxs("div",{className:"flex flex-col items-center gap-3",children:[i.jsxs("a",{href:"https://www.app.revola.ai",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 px-7 py-3 rounded-full bg-[#0F172A] text-white text-sm font-semibold shadow-lg hover:shadow-xl transition-transform duration-200 hover:-translate-y-0.5",children:["Create your agent",i.jsx(Wo,{className:"w-4 h-4"})]}),i.jsx("p",{className:"text-[11px] text-[#64748B] text-center max-w-xs",children:"Paste your site — Revola learns the rest."})]})]})})}),i.jsx($h,{iframeSrc:"https://www.chat.revola.ai/?cid=1093&iframe=True",hintLabel:"Meet your AI Sales Engineer",micVideoSrc:"/globe.mp4",nudgeEnabled:!0,nudgeDelaySec:6,className:"pointer-events-auto"}),i.jsx(Hh,{})]}),U_="https://upload.wikimedia.org/wikipedia/commons/thumb/4/44/Microsoft_logo.svg/2048px-Microsoft_logo.svg.png",Hg="https://media.licdn.com/dms/image/v2/D4D0BAQG753JpYrclFA/company-logo_200_200/B4DZUwHEj5GkAI-/0/1740268915628/revolaai_logo?e=2147483647&v=beta&t=KLvIUfIwG3pAUyYXSQExTNoQS-MUbbAvicwOmijqFL0",Gg={executive:{label:"Strategic View",text:"As discussed, Revola aligns with Microsoft's macro-security objectives by unifying fragmented signals into a single operational narrative."},technical:{label:"Architecture View",text:"Validate our ingestion layer. This sandbox demonstrates how we handle encryption and data flow within the existing Microsoft Defender ecosystem."},operator:{label:"Analyst View",text:"Experience the reduction in 'swivel-chair' workflows. This view simulates how your SOC team would interact with Revola daily."}};function H_(){const[e,t]=h.useState("executive"),[n,r]=h.useState(!1);return h.useEffect(()=>{const s=()=>r(window.scrollY>50);return window.addEventListener("scroll",s),()=>window.removeEventListener("scroll",s)}
593,[]),i.jsxs("div",{className:"min-h-screen w-full bg-[#050507] text-white font-sans selection:bg-indigo-500/30 relative overflow-x-hidden",children:[i.jsxs("div",{className:"fixed inset-0 z-0 pointer-events-none",children:[i.jsx("div",{className:"absolute top-[-10%] left-[15%] w-[600px] h-[600px] bg-indigo-900/20 rounded-full blur-[120px] animate-pulse-slow"}),i.jsx("div",{className:"absolute bottom-[0%] right-[5%] w-[500px] h-[500px] bg-blue-900/10 rounded-full blur-[100px]"}),i.jsx("div",{className:"absolute inset-0 opacity-[0.03]",style:{backgroundImage:'url("https://grainy-gradients.vercel.app/noise.svg")'}})]}),i.jsx("nav",{className:`fixed top-0 w-full z-50 transition-all duration-500 border-b ${n?"bg-[#050507]/80 backdrop-blur-xl border-white/5 py-4":"bg-transparent border-transparent py-8"}`,children:i.jsxs("div",{className:"max-w-7xl mx-auto px-6 flex justify-between items-center",children:[i.jsxs("div",{className:"flex items-center gap-3 opacity-90",children:[i.jsx("img",{src:Hg,alt:"Revola",className:"w-8 h-8 rounded-lg"}),i.jsx("div",{className:"h-4 w-px bg-white/20 mx-1"}),i.jsx("span",{className:"text-sm font-medium tracking-wide text-white/80",children:"Confidential Portal"})]}),i.jsxs("div",{className:"hidden md:flex items-center gap-6 text-sm font-medium text-white/50",children:[i.jsx("span",{className:"hover:text-white transition-colors cursor-pointer",children:"Meeting Recap"}),i.jsx("span",{className:"hover:text-white transition-colors cursor-pointer",children:"Architecture"}),i.jsx("div",{className:"px-3 py-1 rounded-full bg-white/5 border border-white/10 text-white/80 text-xs",children:"Expires in 7 days"})]})]})}),i.jsxs("main",{className:"relative z-10 flex flex-col gap-28 pb-32",children:[i.jsxs("section",{className:"pt-48 px-6 flex flex-col items-center text-center",children:[i.jsxs("div",{className:"relative flex items-center justify-center gap-6 mb-10 animate-fade-in-up",children:[i.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-indigo-500/20 to-blue-500/20 blur-[80px] rounded-full"}),i.jsx(Kg,{src:Hg,alt:"Revola"}),i.jsx(hS,{size:24,className:"text-white/30"}),i.jsx(Kg,{src:U_,alt:"Microsoft"})]}),i.jsx("h1",{className:"text-5xl md:text-7xl font-bold tracking-tight mb-8 bg-clip-text text-transparent bg-gradient-to-b from-white via-white to-white/50 max-w-4xl",children:"The future of security operations, tailored for Microsoft."}),i.jsx("p",{className:"text-lg md:text-xl text-white/50 max-w-2xl leading-relaxed mb-12",children:"Thank you for the opportunity to present. We have curated this interactive environment to help your team validate the architecture and operational impact we discussed."}),i.jsxs("button",{className:"flex items-center gap-2 text-sm font-medium text-white/60 hover:text-white transition-colors border-b border-transparent hover:border-white/40 pb-0.5",children:["Scroll to validate architecture ",i.jsx(Wo,{size:14})]})]}),i.jsxs("section",{className:"max-w-7xl mx-auto px-6 w-full",children:[i.jsxs("div",{className:"flex flex-col md:flex-row justify-between items-end mb-8 gap-8 border-b border-white/5 pb-8",children:[i.jsxs("div",{className:"max-w-xl",children:[i.jsxs("div",{className:"flex items-center gap-2 text-indigo-400 mb-2",children:[i.jsx(q1,{size:16}),i.jsx("span",{className:"text-xs font-bold tracking-wider uppercase",children:"Live Sandbox Environment"})]}),i.jsx("h2",{className:"text-2xl font-medium text-white mb-2",children:Gg[e].label}),i.jsx("p",{className:"text-white/50 leading-relaxed",children:Gg[e].text})]}),i.jsxs("div",{className:"flex bg-[#1A1B21] p-1 rounded-lg border border-white/10",children:[i.jsx(ad,{active:e==="executive",label:"Executive",onClick:()=>t("executive")}),i.jsx(ad,{active:e==="technical",label:"Technical",onClick:()=>t("technical")}),i.jsx(ad,{active:e==="operator",label:"Operator",onClick:()=>t("operator")})]})]}),i.jsxs("div",{className:"relative rounded-2xl overflow-hidden border border-white/10 shadow-[0_0_50px_rgba(0,0,0,0.5)] bg-[#000]",children:[i.jsxs("div",{className:"h-11 bg-[#1A1B21]/90 backdrop-blur-md border-b border-white/5 flex items-center px-4 gap-4",children:[i.jsxs("div",{className:"flex gap-2",children:[i.jsx("div",{className:"w-3 h-3 rounded-full bg-[#FF5F57] hover:bg-[#FF5F57]/80 transition-colors"}),i.jsx("div",{className:"w-3 h-3 rounded-full bg-[#FEBC2E] hover:bg-[#FEBC2E]/80 transition-colors"}),i.jsx("div",{className:"w-3 h-3 rounded-full bg-[#28C840] hover:bg-[#28C840]/80 transition-colors"})]}),i.jsxs("div",{className:"flex-1 max-w-2xl mx-auto bg-black/40 h-7 rounded-md flex items-center px-3 text-xs text-white/30 font-mono gap-2 border border-white/5",children:[i.jsx(Dl,{size:10,
593className:"text-green-500"}),i.jsx("span",{className:"text-white/50",children:"https://"}),"app.revola.ai/microsoft-sandbox"]}),i.jsx("div",{className:"w-16"})," "]}),i.jsxs("div",{className:"h-[700px] w-full bg-black relative",children:[i.jsx("iframe",{src:"https://www.chat.revola.ai/?wf=test&cid=1093",className:"w-full h-full border-0",title:"Revola Live Demo"}),i.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-transparent to-black pointer-events-none opacity-20"})]})]})]}),i.jsxs("section",{className:"max-w-7xl mx-auto px-6 w-full",children:[i.jsxs("h3",{className:"text-xl font-medium text-white/90 mb-8 flex items-center gap-2",children:["Due Diligence Assets ",i.jsx("span",{className:"text-white/20 text-sm font-normal",children:"/ For your team"})]}),i.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-5 h-auto md:h-[450px]",children:[i.jsxs(Ui,{className:"md:col-span-2 md:row-span-2 p-10 flex flex-col justify-between group relative overflow-hidden bg-gradient-to-br from-[#121217] to-[#0A0A0F]",children:[i.jsx("div",{className:"absolute top-0 right-0 p-40 bg-indigo-500/5 blur-[80px] rounded-full group-hover:bg-indigo-500/10 transition-all duration-700"}),i.jsxs("div",{className:"relative z-10",children:[i.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[i.jsx("div",{className:"p-2 rounded-lg bg-indigo-500/10 border border-indigo-500/20 text-indigo-300",children:i.jsx(m0,{size:20})}),i.jsx("span",{className:"text-sm font-medium text-indigo-200",children:"System Consolidation"})]}),i.jsx("h4",{className:"text-3xl font-medium text-white mb-4",children:"Unify the stack."}),i.jsx("p",{className:"text-white/50 leading-relaxed max-w-sm",children:'We validated that Revola can ingest signals from Microsoft Sentinel and Defender, reducing "alert noise" by automatically correlating related incidents.'})]}),i.jsxs("div",{className:"grid grid-cols-2 gap-8 mt-8 border-t border-white/5 pt-8",children:[i.jsxs("div",{children:[i.jsxs("div",{className:"text-4xl font-light text-white mb-1",children:["40",i.jsx("span",{className:"text-indigo-400",children:"%"})]}),i.jsx("div",{className:"text-xs text-white/30 uppercase tracking-widest",children:"Efficiency Gain"})]}),i.jsxs("div",{children:[i.jsx("div",{className:"text-4xl font-light text-white mb-1",children:"API"}),i.jsx("div",{className:"text-xs text-white/30 uppercase tracking-widest",children:"Native Integration"})]})]})]}),i.jsx(Yg,{title:"Presentation Deck",subtitle:"PDF • The slides we reviewed",icon:i.jsx(m0,{size:18}),highlight:"blue"}),i.jsx(Yg,{title:"Technical Specs",subtitle:"PDF • API & Security",icon:i.jsx(rS,{size:18}),highlight:"purple"}),i.jsxs(Ui,{className:"md:col-span-2 p-0 relative overflow-hidden group cursor-pointer",children:[i.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-black/80 to-transparent z-10"}),i.jsx("img",{src:"https://images.unsplash.com/photo-1550751827-4bd374c3f58b?auto=format&fit=crop&q=80&w=2070",className:"w-full h-full object-cover opacity-40 group-hover:scale-105 transition-transform duration-700",alt:"Video thumbnail"}),i.jsxs("div",{className:"absolute inset-0 z-20 flex items-center justify-between p-8",children:[i.jsxs("div",{className:"flex items-center gap-5",children:[i.jsx("div",{className:"w-14 h-14 rounded-full bg-white/10 backdrop-blur-md flex items-center justify-center border border-white/20 group-hover:bg-white group-hover:text-black transition-all",children:i.jsx(X1,{size:24,fill:"currentColor",className:"ml-1"})}),i.jsxs("div",{children:[i.jsx("h4",{className:"text-lg font-medium text-white",children:"Watch the recap"}),i.jsx("p",{className:"text-sm text-white/50",children:"2 minute summary for internal sharing"})]})]}),i.jsx(iS,{className:"text-white/30 group-hover:text-white transition-colors"})]})]})]})]}),i.jsxs("section",{className:"max-w-7xl mx-auto px-6 w-full grid grid-cols-1 md:grid-cols-2 gap-6",children:[i.jsxs(Ui,{className:"p-10 flex flex-col justify-center items-start",children:[i.jsx("h3",{className:"text-2xl font-medium text-white mb-2",children:"Book Technical Deep Dive"}),i.jsx("p",{className:"text-white/50 mb-8 max-w-md",children:"Ready to move forward? Let's get your engineering lead and our solution architect in a room to map the integration."}),i.jsxs("div",{className:"flex gap-4",children:[i.jsx("button",{className:"px-6 py-3 bg-white text-black font-semibold rounded-lg hover:bg-gray-200 transition-colors",children:"Find a time"}),i.jsx("button",{className:"px-6 py-3 border border-white/10 text-white rounded-lg hover:bg-white/5 transition-colors",children:"Email Alex"})]})]}),i.jsxs(Ui,{className:"p-8 flex flex-col justify-center",children:[i.jsx("h4",{className:"text-xs font-bold text-white/30 uppercase tracking-widest mb-6",children:"Your Dedicated Team"}),i.jsxs("div",{className:"space-y-5",children:[i.jsx(Qg,{name:"Alex Rivera",role:"Account Executive"}),i.jsx(Qg,{name:"Sarah Chen",role:"Solutions Architect"})]})]})]})]}),i.jsx("footer",{className:"py-10 text-center border-t border-white/5",children:i.jsx("p",{className:"text-white/20 text-xs",children:"© 2025 Revola Inc. • Confidential Material for Microsoft Evaluation Only."})})]})}function Kg({src:e,alt:t}){return i.jsxs("div",{className:"w-24 h-24 rounded-3xl bg-[#1A1B21]/60 backdrop-blur-xl border border-white/10 flex items-center justify-center shadow-2xl relative overflow-hidden group",children:[i.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-white/5 to-transparent opacity-0 group-hover:opacity-100 transition-opacity"}),i.jsx("img",{src:e,alt:t,className:"w-12 h-12 object-contain relative z-10"})]})}function Ui({children:e,className:t=""}){return i.jsx("div",{className:`
594        bg-[#121217] border border-white/5 rounded-2xl backdrop-blur-sm
595        hover:border-white/10 transition-all duration-500
596        shadow-[0_4px_20px_-4px_rgba(0,0,0,0.5)]
597        ${t}
598      `,children:e})}function ad({active:e,label:t,onClick:n}){return i.jsx("button",{onClick:n,className:`
599        px-4 py-1.5 rounded-md text-sm font-medium transition-all duration-300
600        ${e?"bg-white/10 text-white shadow-inner":"text-white/40 hover:text-white hover:bg-white/5"}
601      `,children:t})}
601function Yg({title:e,subtitle:t,icon:n,highlight:r}){const s={blue:"group-hover:text-blue-300 group-hover:bg-blue-400/10",purple:"group-hover:text-purple-300 group-hover:bg-purple-400/10"};return i.jsxs(Ui,{className:"p-6 flex flex-col justify-between group cursor-pointer hover:-translate-y-1",children:[i.jsxs("div",{className:"flex justify-between items-start",children:[i.jsx("div",{className:`p-3 rounded-lg bg-white/5 text-white/60 transition-colors duration-300 ${s[r]}`,children:n}),i.jsx("div",{className:"w-8 h-8 rounded-full border border-white/5 flex items-center justify-center opacity-0 group-hover:opacity-100 transition-all transform translate-y-2 group-hover:translate-y-0",children:i.jsx(sS,{size:14,className:"text-white/70"})})]}),i.jsxs("div",{children:[i.jsx("h4",{className:"font-medium text-white/90",children:e}),i.jsx("p",{className:"text-xs text-white/40 mt-1",children:t})]})]})}function Qg({name:e,role:t}){return i.jsxs("div",{className:"flex items-center gap-4 group",children:[i.jsx("div",{className:"w-10 h-10 rounded-full bg-gradient-to-b from-gray-700 to-black border border-white/10 flex items-center justify-center text-sm font-medium text-white/80 shadow-inner",children:e.charAt(0)}),i.jsxs("div",{className:"flex-1",children:[i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsx("h5",{className:"text-white/90 text-sm font-medium",children:e}),i.jsx(Hp,{size:12,className:"text-blue-400 opacity-0 group-hover:opacity-100 transition-opacity -translate-x-2 group-hover:translate-x-0 duration-300"})]}),i.jsx("p",{className:"text-white/40 text-xs",children:t})]}),i.jsx("button",{className:"text-xs text-white/20 border border-white/5 px-3 py-1 rounded hover:bg-white/5 hover:text-white transition-colors",children:"Contact"})]})}const G_=()=>{const{pathname:e,hash:t}=yi();return h.useEffect(()=>{if(t){const c=t.slice(1),u=window.setTimeout(()=>{const d=document.getElementById(c);d?d.scrollIntoView({behavior:"smooth",block:"start"}):window.scrollTo({top:0,behavior:"auto"})},150);return()=>window.clearTimeout(u)}const n=window.history.scrollRestoration;n!==void 0&&(window.history.scrollRestoration="manual"),window.scrollTo({top:0,behavior:"auto"});let r=!1;const s=()=>{r=!0},o=c=>{["PageDown","PageUp","ArrowDown","ArrowUp","Home","End"," "].includes(c.key)&&(r=!0)};window.addEventListener("wheel",s,{passive:!0}),window.addEventListener("touchmove",s,{passive:!0}),window.addEventListener("keydown",o);const a=window.setInterval(()=>{r||window.scrollY>0&&window.scrollTo({top:0,behavior:"auto"})},80),l=window.setTimeout(()=>{window.clearInterval(a)},1500);return()=>{window.removeEventListener("wheel",s),window.removeEventListener("touchmove",s),window.removeEventListener("keydown",o),window.clearInterval(a),window.clearTimeout(l),n!==void 0&&(window.history.scrollRestoration=n)}},[e,t]),null},K_=new P3,Y_=()=>i.jsx(R3,{client:K_,children:i.jsxs(o3,{children:[i.jsx(nE,{}),i.jsx(RE,{}),i.jsxs(C4,{children:[i.jsx(G_,{}),i.jsxs(w4,{children:[i.jsx(Le,{path:"/",element:i.jsx(Ag,{})}),i.jsx(Le,{path:"/video-room",element:i.jsx(Ag,{src:vj,title:"Revola Video Room"})}),i.jsx(Le,{path:"/home",element:i.jsx($M,{})}),i.jsx(Le,{path:"/product",element:i.jsx(JM,{})}),i.jsx(Le,{path:"/product-room",element:i.jsx(UM,{})}),i.jsx(Le,{path:"/deal-video",element:i.jsx(GM,{})}),i.jsx(Le,{path:"/customers",element:i.jsx(s_,{title:"Customers",eyebrow:"IN PRODUCTION AT"})}),i.jsx(Le,{path:"/company",element:i.jsx(n_,{})}),i.jsx(Le,{path:"/contact",element:i.jsx(r_,{})}),i.jsx(Le,{path:"/audit",element:i.jsx(M_,{})}),i.jsx(Le,{path:"/pricing",element:i.jsx(O_,{})}),i.jsx(Le,{path:"/solutions/hardware",element:i.jsx(z_,{})}),i.jsx(Le,{path:"/solutions/data-dev",element:i.jsx(W_,{})}),i.jsx(Le,{path:"/demo",element:i.jsx(H_,{})}),i.jsx(Le,{path:"/terms-of-service",element:i.jsx(D_,{})}),i.jsx(Le,{path:"/privacy-policy",element:i.jsx(L_,{})}),i.jsx(Le,{path:"*",element:i.jsx(__,{})})]})]})]})});y1(document.getElementById("root")).render(i.jsx(Y_,{}));export{Wo as A,Y1 as C,of as M,q1 as S,yS as T,Za as U,jc as X,af as a,Z as c,i as j,h as r};

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.