PageSourceSearch

https://www.b2boost.ai/assets/index-CDb4TlAP.js

js b2boost.ai collected 2026-10-05 13:35:55 UTC 599,952 bytes, 153 lines download raw bytes

vendor: 4,138 bytes, lines 1-9
1var up=e=>{throw TypeError(e)};var Mc=(e,t,n)=>t.has(e)||up("Cannot "+n);var M=(e,t,n)=>(Mc(e,t,"read from private field"),n?n.call(e):t.get(e)),oe=(e,t,n)=>t.has(e)?up("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),Z=(e,t,n,r)=>(Mc(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),Ue=(e,t,n)=>(Mc(e,t,"access private method"),n);var Zi=(e,t,n,r)=>({set _(s){Z(e,t,s,n)},get _(){return M(e,t,r)}});function Hw(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 i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).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 qg(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Xg={exports:{}},_l={},Zg={exports:{}},ee={};/**
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 Li=Symbol.for("react.element"),Ww=Symbol.for("react.portal"),Gw=Symbol.for("react.fragment"),Kw=Symbol.for("react.strict_mode"),Qw=Symbol.for("react.profiler"),Yw=Symbol.for("react.provider"),qw=Symbol.for("react.context"),Xw=Symbol.for("react.forward_ref"),Zw=Symbol.for("react.suspense"),Jw=Symbol.for("react.memo"),e3=Symbol.for("react.lazy"),dp=Symbol.iterator;function t3(e){return e===null||typeof e!="object"?null:(e=dp&&e[dp]||e["@@iterator"],typeof e=="function"?e:null)}var Jg={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},e2=Object.assign,t2={};function co(e,t,n){this.props=e,this.context=t,this.refs=t2,this.updater=n||Jg}co.prototype.isReactComponent={};co.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")};co.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function n2(){}n2.prototype=co.prototype;function mf(e,t,n){this.props=e,this.context=t,this.refs=t2,this.updater=n||Jg}var gf=mf.prototype=new n2;gf.constructor=mf;e2(gf,co.prototype);gf.isPureReactComponent=!0;var fp=Array.isArray,r2=Object.prototype.hasOwnProperty,yf={current:null},s2={key:!0,ref:!0,__self:!0,__source:!0};function o2(e,t,n){var r,s={},o=null,i=null;if(t!=null)for(r in t.ref!==void 0&&(i=t.ref),t.key!==void 0&&(o=""+t.key),t)r2.call(t,r)&&!s2.hasOwnProperty(r)&&(s[r]=t[r]);var a=arguments.length-2;if(a===1)s.children=n;else if(1<a){for(var l=Array(a),c=0;c<a;c++)l[c]=arguments[c+2];s.children=l}if(e&&e.defaultProps)for(r in a=e.defaultProps,a)s[r]===void 0&&(s[r]=a[r]);return{$$typeof:Li,type:e,key:o,ref:i,props:s,_owner:yf.current}}function n3(e,t){return{$$typeof:Li,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function vf(e){return typeof e=="object"&&e!==null&&e.$$typeof===Li}function r3(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var hp=/\/+/g;function Rc(e,t){return typeof e=="object"&&e!==null&&e.key!=null?r3(""+e.key):t.toString(36)}
vendor: 4,786 bytes, lines 9-17
9function ja(e,t,n,r,s){var o=typeof e;(o==="undefined"||o==="boolean")&&(e=null);var i=!1;if(e===null)i=!0;else switch(o){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case Li:case Ww:i=!0}}if(i)return i=e,s=s(i),e=r===""?"."+Rc(i,0):r,fp(s)?(n="",e!=null&&(n=e.replace(hp,"$&/")+"/"),ja(s,t,n,"",function(c){return c})):s!=null&&(vf(s)&&(s=n3(s,n+(!s.key||i&&i.key===s.key?"":(""+s.key).replace(hp,"$&/")+"/")+e)),t.push(s)),1;if(i=0,r=r===""?".":r+":",fp(e))for(var a=0;a<e.length;a++){o=e[a];var l=r+Rc(o,a);i+=ja(o,t,n,l,s)}else if(l=t3(e),typeof l=="function")for(e=l.call(e),a=0;!(o=e.next()).done;)o=o.value,l=r+Rc(o,a++),i+=ja(o,t,n,l,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 i}function Ji(e,t,n){if(e==null)return e;var r=[],s=0;return ja(e,r,"","",function(o){return t.call(n,o,s++)}),r}function s3(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 rt={current:null},Na={transition:null},o3={ReactCurrentDispatcher:rt,ReactCurrentBatchConfig:Na,ReactCurrentOwner:yf};function i2(){throw Error("act(...) is not supported in production builds of React.")}ee.Children={map:Ji,forEach:function(e,t,n){Ji(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return Ji(e,function(){t++}),t},toArray:function(e){return Ji(e,function(t){return t})||[]},only:function(e){if(!vf(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};ee.Component=co;ee.Fragment=Gw;ee.Profiler=Qw;ee.PureComponent=mf;ee.StrictMode=Kw;ee.Suspense=Zw;ee.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=o3;ee.act=i2;ee.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=e2({},e.props),s=e.key,o=e.ref,i=e._owner;if(t!=null){if(t.ref!==void 0&&(o=t.ref,i=yf.current),t.key!==void 0&&(s=""+t.key),e.type&&e.type.defaultProps)var a=e.type.defaultProps;for(l in t)r2.call(t,l)&&!s2.hasOwnProperty(l)&&(r[l]=t[l]===void 0&&a!==void 0?a[l]:t[l])}var l=arguments.length-2;if(l===1)r.children=n;else if(1<l){a=Array(l);for(var c=0;c<l;c++)a[c]=arguments[c+2];r.children=a}return{$$typeof:Li,type:e.type,key:s,ref:o,props:r,_owner:i}};ee.createContext=function(e){return e={$$typeof:qw,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:Yw,_context:e},e.Consumer=e};ee.createElement=o2;ee.createFactory=function(e){var t=o2.bind(null,e);return t.type=e,t};ee.createRef=function(){return{current:null}};ee.forwardRef=function(e){return{$$typeof:Xw,render:e}};ee.isValidElement=vf;ee.lazy=function(e){return{$$typeof:e3,_payload:{_status:-1,_result:e},_init:s3}};ee.memo=function(e,t){return{$$typeof:Jw,type:e,compare:t===void 0?null:t}};ee.startTransition=function(e){var t=Na.transition;Na.transition={};try{e()}finally{Na.transition=t}};ee.unstable_act=i2;ee.useCallback=function(e,t){return rt.current.useCallback(e,t)};ee.useContext=function(e){return rt.current.useContext(e)};ee.useDebugValue=function(){};ee.useDeferredValue=function(e){return rt.current.useDeferredValue(e)};ee.useEffect=function(e,t){return rt.current.useEffect(e,t)};ee.useId=function(){return rt.current.useId()};ee.useImperativeHandle=function(e,t,n){return rt.current.useImperativeHandle(e,t,n)};ee.useInsertionEffect=function(e,t){return rt.current.useInsertionEffect(e,t)};ee.useLayoutEffect=function(e,t){return rt.current.useLayoutEffect(e,t)};ee.useMemo=function(e,t){return rt.current.useMemo(e,t)};ee.useReducer=function(e,t,n){return rt.current.useReducer(e,t,n)};ee.useRef=function(e){return rt.current.useRef(e)};ee.useState=function(e){return rt.current.useState(e)};ee.useSyncExternalStore=function(e,t,n){return rt.current.useSyncExternalStore(e,t,n)};ee.useTransition=function(){return rt.current.useTransition()};ee.version="18.3.1";Zg.exports=ee;var b=Zg.exports;const O=qg(b),a2=Hw({__proto__:null,default:O},[b]);/**
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 i3=b,a3=Symbol.for("react.element"),l3=Symbol.for("react.fragment"),c3=Object.prototype.hasOwnProperty,u3=i3.__SECRET_INT
vendor: 18,132 bytes, lines 17-37
17ERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,d3={key:!0,ref:!0,__self:!0,__source:!0};function l2(e,t,n){var r,s={},o=null,i=null;n!==void 0&&(o=""+n),t.key!==void 0&&(o=""+t.key),t.ref!==void 0&&(i=t.ref);for(r in t)c3.call(t,r)&&!d3.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:a3,type:e,key:o,ref:i,props:s,_owner:u3.current}}_l.Fragment=l3;_l.jsx=l2;_l.jsxs=l2;Xg.exports=_l;var u=Xg.exports,c2={exports:{}},kt={},u2={exports:{}},d2={};/**
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(j,A){var F=j.length;j.push(A);e:for(;0<F;){var H=F-1>>>1,U=j[H];if(0<s(U,A))j[H]=A,j[F]=U,F=H;else break e}}function n(j){return j.length===0?null:j[0]}function r(j){if(j.length===0)return null;var A=j[0],F=j.pop();if(F!==A){j[0]=F;e:for(var H=0,U=j.length,q=U>>>1;H<q;){var Q=2*(H+1)-1,le=j[Q],Se=Q+1,X=j[Se];if(0>s(le,F))Se<U&&0>s(X,le)?(j[H]=X,j[Se]=F,H=Se):(j[H]=le,j[Q]=F,H=Q);else if(Se<U&&0>s(X,F))j[H]=X,j[Se]=F,H=Se;else break e}}return A}function s(j,A){var F=j.sortIndex-A.sortIndex;return F!==0?F:j.id-A.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var i=Date,a=i.now();e.unstable_now=function(){return i.now()-a}}var l=[],c=[],d=1,f=null,h=3,p=!1,v=!1,y=!1,w=typeof setTimeout=="function"?setTimeout:null,m=typeof clearTimeout=="function"?clearTimeout:null,g=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function x(j){for(var A=n(c);A!==null;){if(A.callback===null)r(c);else if(A.startTime<=j)r(c),A.sortIndex=A.expirationTime,t(l,A);else break;A=n(c)}}function S(j){if(y=!1,x(j),!v)if(n(l)!==null)v=!0,B(C);else{var A=n(c);A!==null&&K(S,A.startTime-j)}}function C(j,A){v=!1,y&&(y=!1,m(T),T=-1),p=!0;var F=h;try{for(x(A),f=n(l);f!==null&&(!(f.expirationTime>A)||j&&!R());){var H=f.callback;if(typeof H=="function"){f.callback=null,h=f.priorityLevel;var U=H(f.expirationTime<=A);A=e.unstable_now(),typeof U=="function"?f.callback=U:f===n(l)&&r(l),x(A)}else r(l);f=n(l)}if(f!==null)var q=!0;else{var Q=n(c);Q!==null&&K(S,Q.startTime-A),q=!1}return q}finally{f=null,h=F,p=!1}}var E=!1,k=null,T=-1,N=5,P=-1;function R(){return!(e.unstable_now()-P<N)}function L(){if(k!==null){var j=e.unstable_now();P=j;var A=!0;try{A=k(!0,j)}finally{A?W():(E=!1,k=null)}}else E=!1}var W;if(typeof g=="function")W=function(){g(L)};else if(typeof MessageChannel<"u"){var I=new MessageChannel,G=I.port2;I.port1.onmessage=L,W=function(){G.postMessage(null)}}else W=function(){w(L,0)};function B(j){k=j,E||(E=!0,W())}function K(j,A){T=w(function(){j(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(j){j.callback=null},e.unstable_continueExecution=function(){v||p||(v=!0,B(C))},e.unstable_forceFrameRate=function(j){0>j||125<j?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):N=0<j?Math.floor(1e3/j):5},e.unstable_getCurrentPriorityLevel=function(){return h},e.unstable_getFirstCallbackNode=function(){return n(l)},e.unstable_next=function(j){switch(h){case 1:case 2:case 3:var A=3;break;default:A=h}var F=h;h=A;try{return j()}finally{h=F}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(j,A){switch(j){case 1:case 2:case 3:case 4:case 5:break;default:j=3}var F=h;h=j;try{return A()}finally{h=F}},e.unstable_scheduleCallback=function(j,A,F){var H=e.unstable_now();switch(typeof F=="object"&&F!==null?(F=F.delay,F=typeof F=="number"&&0<F?H+F:H):F=H,j){case 1:var U=-1;break;case 2:U=250;break;case 5:U=1073741823;break;case 4:U=1e4;break;default:U=5e3}return U=F+U,j={id:d++,callback:A,priorityLevel:j,startTime:F,expirationTime:U,sortIndex:-1},F>H?(j.sortIndex=F,t(c,j),n(l)===null&&j===n(c)&&(y?(m(T),T=-1):y=!0,K(S,F-H))):(j.sortIndex=U,t(l,j),v||p||(v=!0,B(C))),j},e.unstable_shouldYield=R,e.unstable_wrapCallback=function(j){var A=h;return function(){var F=h;h=A;try{return j.apply(this,arguments)}finally{h=F}}}})(d2);u2.exports=d2;var f3=u2.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 h3=b,Et=f3;function D(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 f2=new Set,si={};function us(e,t){Zs(e,t),Zs(e+"Capture",t)}function Zs(e,t){for(si[e]=t,e=0;e<t.length;e++)f2.add(t[e])}var Fn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Mu=Object.prototype.hasOwnProperty,p3=/^[: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]*$/,pp={},mp={};function m3(e){return Mu.call(mp,e)?!0:Mu.call(pp,e)?!1:p3.test(e)?mp[e]=!0:(pp[e]=!0,!1)}function g3(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 y3(e,t,n,r){if(t===null||typeof t>"u"||g3(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 st(e,t,n,r,s,o,i){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=i}var $e={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){$e[e]=new st(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 st(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){$e[e]=new st(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){$e[e]=new st(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 st(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){$e[e]=new st(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){$e[e]=new st(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){$e[e]=new st(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){$e[e]=new st(e,5,!1,e.toLowerCase(),null,!1,!1)});var xf=/[\-:]([a-z])/g;function wf(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(xf,wf);$e[t]=new st(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(xf,wf);$e[t]=new st(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(xf,wf);$e[t]=new st(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){$e[e]=new st(e,1,!1,e.toLowerCase(),null,!1,!1)});$e.xlinkHref=new st("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){$e[e]=new st(e,1,!1,e.toLowerCase(),null,!0,!0)});function bf(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")&&(y3(t,n,s,r)&&(n=null),r||s===null?m3(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 Un=h3.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,ea=Symbol.for("react.element"),ws=Symbol.for("react.portal"),bs=Symbol.for("react.fragment"),Sf=Symbol.for("react.strict_mode"),Ru=Symbol.for("react.profiler"),h2=Symbol.for("react.provider"),p2=Symbol.for("react.context"),Cf=Symbol.for("react.forward_ref"),Lu=Symbol.for("react.suspense"),Iu=Symbol.for("react.suspense_list"),Ef=Symbol.for("react.memo"),rr=Symbol.for("react.lazy"),m2=Symbol.for("react.offscreen"),gp=Symbol.iterator;function Co(e){return e===null||typeof e!="object"?null:(e=gp&&e[gp]||e["@@iterator"],typeof e=="function"?e:null)}var be=Object.assign,Lc;function Io(e){if(Lc===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Lc=t&&t[1]||""}return`
34`+Lc+e}var Ic=!1;function Dc(e,t){if(!e||Ic)return"";Ic=!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(c){var r=c}Reflect.construct(e,[],t)}else{try{t.call()}catch(c){r=c}e.call(t.prototype)}else{try{throw Error()}catch(c){r=c}e()}}catch(c){if(c&&r&&typeof c.stack=="string"){for(var s=c.stack.split(`
35`),o=r.stack.split(`
36`),i=s.length-1,a=o.length-1;1<=i&&0<=a&&s[i]!==o[a];)a--;for(;1<=i&&0<=a;i--,a--)if(s[i]!==o[a]){if(i!==1||a!==1)do if(i--,a--,0>a||s[i]!==o[a]){var l=`
37`+s[i].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}while(1<=i&&0<=a);break}}}finally{Ic=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Io(e):""}function v3(e){switch(e.tag){case 5:return Io(e.type);case 16:return Io("Lazy");case 13:return Io("Suspense");case 19:return Io("SuspenseList");case 0:case 2:case 15:return e=Dc(e.type,!1),e;case 11:return e=Dc(e.type.render,!1),e;case 1:return e=Dc(e.type,!0),e;default:return""}}function Du(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 bs:return"Fragment";case ws:return"Portal";case Ru:return"Profiler";case Sf:return"StrictMode";case Lu:return"Suspense";case Iu:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case p2:return(e.displayName||"Context")+".Consumer";case h2:return(e._context.displayName||"Context")+".Provider";case Cf:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Ef:return t=e.displayName||null,t!==null?t:Du(e.type)||"Memo";case rr:t=e._payload,e=e._init;try{return Du(e(t))}catch{}}return null}function x3(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 Du(t);case 8:return t===Sf?"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 Er(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function g2(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function w3(e){var t=g2(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(i){r=""+i,o.call(this,i)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(i){r=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function ta(e){e._valueTracker||(e._valueTracker=w3(e))}function y2(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=g2(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function qa(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 Ou(e,t){var n=t.checked;return be({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function yp(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Er(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 v2(e,t){t=t.checked,t!=null&&bf(e,"checked",t,!1)}function Fu(e,t){v2(e,t);var n=Er(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")?Vu(e,t.type,n):t.hasOwnProperty("defaultValue")&&Vu(e,t.type,Er(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function vp(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 Vu(e,t,n){(t!=="number"||qa(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Do=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=""+Er(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 Bu(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(D(91));return be({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function xp(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(D(92));if(Do(n)){if(1<n.length)throw Error(D(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:Er(n)}}function x2(e,t){var n=Er(t.value),r=Er(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 wp(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function w2(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 _u(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?w2(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var na,b2=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(na=na||document.createElement("div"),na.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=na.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function oi(e,t){if(t){var n=e.firstChild;
vendor: 8,942 bytes, line 37
37if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var zo={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},b3=["Webkit","ms","Moz","O"];Object.keys(zo).forEach(function(e){b3.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),zo[t]=zo[e]})});function S2(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||zo.hasOwnProperty(e)&&zo[e]?(""+t).trim():t+"px"}function C2(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,s=S2(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,s):e[n]=s}}var S3=be({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 zu(e,t){if(t){if(S3[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(D(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(D(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(D(61))}if(t.style!=null&&typeof t.style!="object")throw Error(D(62))}}function $u(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 Uu=null;function kf(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Hu=null,Os=null,Fs=null;function bp(e){if(e=Oi(e)){if(typeof Hu!="function")throw Error(D(280));var t=e.stateNode;t&&(t=Wl(t),Hu(e.stateNode,e.type,t))}}function E2(e){Os?Fs?Fs.push(e):Fs=[e]:Os=e}function k2(){if(Os){var e=Os,t=Fs;if(Fs=Os=null,bp(e),t)for(e=0;e<t.length;e++)bp(t[e])}}function T2(e,t){return e(t)}function P2(){}var Oc=!1;function j2(e,t,n){if(Oc)return e(t,n);Oc=!0;try{return T2(e,t,n)}finally{Oc=!1,(Os!==null||Fs!==null)&&(P2(),k2())}}function ii(e,t){var n=e.stateNode;if(n===null)return null;var r=Wl(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(D(231,t,typeof n));return n}var Wu=!1;if(Fn)try{var Eo={};Object.defineProperty(Eo,"passive",{get:function(){Wu=!0}}),window.addEventListener("test",Eo,Eo),window.removeEventListener("test",Eo,Eo)}catch{Wu=!1}function C3(e,t,n,r,s,o,i,a,l){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(d){this.onError(d)}}var $o=!1,Xa=null,Za=!1,Gu=null,E3={onError:function(e){$o=!0,Xa=e}};function k3(e,t,n,r,s,o,i,a,l){$o=!1,Xa=null,C3.apply(E3,arguments)}function T3(e,t,n,r,s,o,i,a,l){if(k3.apply(this,arguments),$o){if($o){var c=Xa;$o=!1,Xa=null}else throw Error(D(198));Za||(Za=!0,Gu=c)}}function ds(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 N2(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 Sp(e){if(ds(e)!==e)throw Error(D(188))}function P3(e){var t=e.alternate;if(!t){if(t=ds(e),t===null)throw Error(D(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 Sp(s),e;if(o===r)return Sp(s),t;o=o.sibling}throw Error(D(188))}if(n.return!==r.return)n=s,r=o;else{for(var i=!1,a=s.child;a;){if(a===n){i=!0,n=s,r=o;break}if(a===r){i=!0,r=s,n=o;break}a=a.sibling}if(!i){for(a=o.child;a;){if(a===n){i=!0,n=o,r=s;break}if(a===r){i=!0,r=o,n=s;break}a=a.sibling}if(!i)throw Error(D(189))}}if(n.alternate!==r)throw Error(D(190))}if(n.tag!==3)throw Error(D(188));return n.stateNode.current===n?e:t}function A2(e){return e=P3(e),e!==null?M2(e):null}function M2(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=M2(e);if(t!==null)return t;e=e.sibling}return null}var R2=Et.unstable_scheduleCallback,Cp=Et.unstable_cancelCallback,j3=Et.unstable_shouldYield,N3=Et.unstable_requestPaint,Te=Et.unstable_now,A3=Et.unstable_getCurrentPriorityLevel,Tf=Et.unstable_ImmediatePriority,L2=Et.unstable_UserBlockingPriority,Ja=Et.unstable_NormalPriority,M3=Et.unstable_LowPriority,I2=Et.unstable_IdlePriority,zl=null,Sn=null;function R3(e){if(Sn&&typeof Sn.onCommitFiberRoot=="function")try{Sn.onCommitFiberRoot(zl,e,void 0,(e.current.flags&128)===128)}catch{}}var tn=Math.clz32?Math.clz32:D3,L3=Math.log,I3=Math.LN2;function D3(e){return e>>>=0,e===0?32:31-(L3(e)/I3|0)|0}var ra=64,sa=4194304;function Oo(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 el(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,s=e.suspendedLanes,o=e.pingedLanes,i=n&268435455;if(i!==0){var a=i&~s;a!==0?r=Oo(a):(o&=i,o!==0&&(r=Oo(o)))}else i=n&~s,i!==0?r=Oo(i):o!==0&&(r=Oo(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-tn(t),s=1<<n,r|=e[n],t&=~s;return r}function O3(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 F3(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,s=e.expirationTimes,o=e.pendingLanes;0<o;){var i=31-tn(o),a=1<<i,l=s[i];l===-1?(!(a&n)||a&r)&&(s[i]=O3(a,t)):l<=t&&(e.expiredLanes|=a),o&=~a}}function Ku(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function D2(){var e=ra;return ra<<=1,!(ra&4194240)&&(ra=64),e}function Fc(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Ii(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-tn(t),e[t]=n}function V3(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-tn(n),o=1<<s;t[s]=0,r[s]=-1,e[s]=-1,n&=~o}}function Pf(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-tn(n),s=1<<r;s&t|e[r]&t&&(e[r]|=t),n&=~s}}var ae=0;function O2(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var F2,jf,V2,B2,_2,Qu=!1,oa=[],gr=null,yr=null,vr=null,ai=new Map,li=new Map,or=[],B3="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 Ep(e,t){switch(e){case"focusin":case"focusout":gr=null;break;case"dragenter":case"dragleave":yr=null;break;case"mouseover":case"mouseout":vr=null;break;case"pointerover":case"pointerout":ai.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":li.delete(t.pointerId)}}function ko(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=Oi(t),t!==null&&jf(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,s!==null&&t.indexOf(s)===-1&&t.push(s),e)}function _3(e,t,n,r,s){switch(t){case"focusin":return gr=ko(gr,e,t,n,r,s),!0;
vendor: 11,630 bytes, line 37
37case"dragenter":return yr=ko(yr,e,t,n,r,s),!0;case"mouseover":return vr=ko(vr,e,t,n,r,s),!0;case"pointerover":var o=s.pointerId;return ai.set(o,ko(ai.get(o)||null,e,t,n,r,s)),!0;case"gotpointercapture":return o=s.pointerId,li.set(o,ko(li.get(o)||null,e,t,n,r,s)),!0}return!1}function z2(e){var t=$r(e.target);if(t!==null){var n=ds(t);if(n!==null){if(t=n.tag,t===13){if(t=N2(n),t!==null){e.blockedOn=t,_2(e.priority,function(){V2(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 Aa(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Yu(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);Uu=r,n.target.dispatchEvent(r),Uu=null}else return t=Oi(n),t!==null&&jf(t),e.blockedOn=n,!1;t.shift()}return!0}function kp(e,t,n){Aa(e)&&n.delete(t)}function z3(){Qu=!1,gr!==null&&Aa(gr)&&(gr=null),yr!==null&&Aa(yr)&&(yr=null),vr!==null&&Aa(vr)&&(vr=null),ai.forEach(kp),li.forEach(kp)}function To(e,t){e.blockedOn===t&&(e.blockedOn=null,Qu||(Qu=!0,Et.unstable_scheduleCallback(Et.unstable_NormalPriority,z3)))}function ci(e){function t(s){return To(s,e)}if(0<oa.length){To(oa[0],e);for(var n=1;n<oa.length;n++){var r=oa[n];r.blockedOn===e&&(r.blockedOn=null)}}for(gr!==null&&To(gr,e),yr!==null&&To(yr,e),vr!==null&&To(vr,e),ai.forEach(t),li.forEach(t),n=0;n<or.length;n++)r=or[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<or.length&&(n=or[0],n.blockedOn===null);)z2(n),n.blockedOn===null&&or.shift()}var Vs=Un.ReactCurrentBatchConfig,tl=!0;function $3(e,t,n,r){var s=ae,o=Vs.transition;Vs.transition=null;try{ae=1,Nf(e,t,n,r)}finally{ae=s,Vs.transition=o}}function U3(e,t,n,r){var s=ae,o=Vs.transition;Vs.transition=null;try{ae=4,Nf(e,t,n,r)}finally{ae=s,Vs.transition=o}}function Nf(e,t,n,r){if(tl){var s=Yu(e,t,n,r);if(s===null)Kc(e,t,r,nl,n),Ep(e,r);else if(_3(s,e,t,n,r))r.stopPropagation();else if(Ep(e,r),t&4&&-1<B3.indexOf(e)){for(;s!==null;){var o=Oi(s);if(o!==null&&F2(o),o=Yu(e,t,n,r),o===null&&Kc(e,t,r,nl,n),o===s)break;s=o}s!==null&&r.stopPropagation()}else Kc(e,t,r,null,n)}}var nl=null;function Yu(e,t,n,r){if(nl=null,e=kf(r),e=$r(e),e!==null)if(t=ds(e),t===null)e=null;else if(n=t.tag,n===13){if(e=N2(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 nl=e,null}function $2(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(A3()){case Tf:return 1;case L2:return 4;case Ja:case M3:return 16;case I2:return 536870912;default:return 16}default:return 16}}var fr=null,Af=null,Ma=null;function U2(){if(Ma)return Ma;var e,t=Af,n=t.length,r,s="value"in fr?fr.value:fr.textContent,o=s.length;for(e=0;e<n&&t[e]===s[e];e++);var i=n-e;for(r=1;r<=i&&t[n-r]===s[o-r];r++);return Ma=s.slice(e,1<r?1-r:void 0)}function Ra(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 ia(){return!0}function Tp(){return!1}function Tt(e){function t(n,r,s,o,i){this._reactName=n,this._targetInst=s,this.type=r,this.nativeEvent=o,this.target=i,this.currentTarget=null;for(var a in e)e.hasOwnProperty(a)&&(n=e[a],this[a]=n?n(o):o[a]);return this.isDefaultPrevented=(o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===!1)?ia:Tp,this.isPropagationStopped=Tp,this}return be(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=ia)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=ia)},persist:function(){},isPersistent:ia}),t}var uo={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Mf=Tt(uo),Di=be({},uo,{view:0,detail:0}),H3=Tt(Di),Vc,Bc,Po,$l=be({},Di,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Rf,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!==Po&&(Po&&e.type==="mousemove"?(Vc=e.screenX-Po.screenX,Bc=e.screenY-Po.screenY):Bc=Vc=0,Po=e),Vc)},movementY:function(e){return"movementY"in e?e.movementY:Bc}}),Pp=Tt($l),W3=be({},$l,{dataTransfer:0}),G3=Tt(W3),K3=be({},Di,{relatedTarget:0}),_c=Tt(K3),Q3=be({},uo,{animationName:0,elapsedTime:0,pseudoElement:0}),Y3=Tt(Q3),q3=be({},uo,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),X3=Tt(q3),Z3=be({},uo,{data:0}),jp=Tt(Z3),J3={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},e4={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"},t4={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function n4(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=t4[e])?!!t[e]:!1}function Rf(){return n4}var r4=be({},Di,{key:function(e){if(e.key){var t=J3[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Ra(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?e4[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Rf,charCode:function(e){return e.type==="keypress"?Ra(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Ra(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),s4=Tt(r4),o4=be({},$l,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Np=Tt(o4),i4=be({},Di,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Rf}),a4=Tt(i4),l4=be({},uo,{propertyName:0,elapsedTime:0,pseudoElement:0}),c4=Tt(l4),u4=be({},$l,{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}),d4=Tt(u4),f4=[9,13,27,32],Lf=Fn&&"CompositionEvent"in window,Uo=null;Fn&&"documentMode"in document&&(Uo=document.documentMode);var h4=Fn&&"TextEvent"in window&&!Uo,H2=Fn&&(!Lf||Uo&&8<Uo&&11>=Uo),Ap=" ",Mp=!1;function W2(e,t){switch(e){case"keyup":return f4.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function G2(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ss=!1;function p4(e,t){switch(e){case"compositionend":return G2(t);case"keypress":return t.which!==32?null:(Mp=!0,Ap);case"textInput":return e=t.data,e===Ap&&Mp?null:e;default:return null}}function m4(e,t){if(Ss)return e==="compositionend"||!Lf&&W2(e,t)?(e=U2(),Ma=Af=fr=null,Ss=!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 H2&&t.locale!=="ko"?null:t.data;default:return null}}var g4={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 Rp(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!g4[e.type]:t==="textarea"}function K2(e,t,n,r){E2(r),t=rl(t,"onChange"),0<t.length&&(n=new Mf("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Ho=null,ui=null;function y4(e){s1(e,0)}function Ul(e){var t=ks(e);if(y2(t))return e}function v4(e,t){if(e==="change")return t}var Q2=!1;if(Fn){var zc;if(Fn){var $c="oninput"in document;if(!$c){var Lp=document.createElement("div");Lp.setAttribute("oninput","return;"),$c=typeof Lp.oninput=="function"}zc=$c}else zc=!1;Q2=zc&&(!document.documentMode||9<document.documentMode)}function Ip(){Ho&&(Ho.detachEvent("onpropertychange",Y2),ui=Ho=null)}function Y2(e){if(e.propertyName==="value"&&Ul(ui)){var t=[];K2(t,ui,e,kf(e)),j2(y4,t)}}function x4(e,t,n){e==="focusin"?(Ip(),Ho=t,ui=n,Ho.attachEvent("onpropertychange",Y2)):e==="focusout"&&Ip()}function w4(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Ul(ui)}function b4(e,t){if(e==="click")return Ul(t)}function S4(e,t){if(e==="input"||e==="change")return Ul(t)}function C4(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var on=typeof Object.is=="function"?Object.is:C4;function di(e,t){if(on(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(!Mu.call(t,s)||!on(e[s],t[s]))return!1}return!0}function Dp(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Op(e,t){var n=Dp(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=Dp(n)}}function q2(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?q2(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function X2(){for(var e=window,t=qa();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=qa(e.document)}return t}function If(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 E4(e){var t=X2(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&q2(n.ownerDocument.documentElement,n)){if(r!==null&&If(n)){if
vendor: 4,964 bytes, line 37
37(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=Op(n,o);var i=Op(n,r);s&&i&&(e.rangeCount!==1||e.anchorNode!==s.node||e.anchorOffset!==s.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(t=t.createRange(),t.setStart(s.node,s.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.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 k4=Fn&&"documentMode"in document&&11>=document.documentMode,Cs=null,qu=null,Wo=null,Xu=!1;function Fp(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Xu||Cs==null||Cs!==qa(r)||(r=Cs,"selectionStart"in r&&If(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Wo&&di(Wo,r)||(Wo=r,r=rl(qu,"onSelect"),0<r.length&&(t=new Mf("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Cs)))}function aa(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Es={animationend:aa("Animation","AnimationEnd"),animationiteration:aa("Animation","AnimationIteration"),animationstart:aa("Animation","AnimationStart"),transitionend:aa("Transition","TransitionEnd")},Uc={},Z2={};Fn&&(Z2=document.createElement("div").style,"AnimationEvent"in window||(delete Es.animationend.animation,delete Es.animationiteration.animation,delete Es.animationstart.animation),"TransitionEvent"in window||delete Es.transitionend.transition);function Hl(e){if(Uc[e])return Uc[e];if(!Es[e])return e;var t=Es[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Z2)return Uc[e]=t[n];return e}var J2=Hl("animationend"),e1=Hl("animationiteration"),t1=Hl("animationstart"),n1=Hl("transitionend"),r1=new Map,Vp="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Lr(e,t){r1.set(e,t),us(t,[e])}for(var Hc=0;Hc<Vp.length;Hc++){var Wc=Vp[Hc],T4=Wc.toLowerCase(),P4=Wc[0].toUpperCase()+Wc.slice(1);Lr(T4,"on"+P4)}Lr(J2,"onAnimationEnd");Lr(e1,"onAnimationIteration");Lr(t1,"onAnimationStart");Lr("dblclick","onDoubleClick");Lr("focusin","onFocus");Lr("focusout","onBlur");Lr(n1,"onTransitionEnd");Zs("onMouseEnter",["mouseout","mouseover"]);Zs("onMouseLeave",["mouseout","mouseover"]);Zs("onPointerEnter",["pointerout","pointerover"]);Zs("onPointerLeave",["pointerout","pointerover"]);us("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));us("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));us("onBeforeInput",["compositionend","keypress","textInput","paste"]);us("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));us("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));us("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Fo="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(" "),j4=new Set("cancel close invalid load scroll toggle".split(" ").concat(Fo));function Bp(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,T3(r,t,void 0,e),e.currentTarget=null}function s1(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 i=r.length-1;0<=i;i--){var a=r[i],l=a.instance,c=a.currentTarget;if(a=a.listener,l!==o&&s.isPropagationStopped())break e;Bp(s,a,c),o=l}else for(i=0;i<r.length;i++){if(a=r[i],l=a.instance,c=a.currentTarget,a=a.listener,l!==o&&s.isPropagationStopped())break e;Bp(s,a,c),o=l}}}if(Za)throw e=Gu,Za=!1,Gu=null,e}function he(e,t){var n=t[nd];n===void 0&&(n=t[nd]=new Set);var r=e+"__bubble";n.has(r)||(o1(t,e,2,!1),n.add(r))}
vendor: 5,116 bytes, line 37
37function Gc(e,t,n){var r=0;t&&(r|=4),o1(n,e,r,t)}var la="_reactListening"+Math.random().toString(36).slice(2);function fi(e){if(!e[la]){e[la]=!0,f2.forEach(function(n){n!=="selectionchange"&&(j4.has(n)||Gc(n,!1,e),Gc(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[la]||(t[la]=!0,Gc("selectionchange",!1,t))}}function o1(e,t,n,r){switch($2(t)){case 1:var s=$3;break;case 4:s=U3;break;default:s=Nf}n=s.bind(null,t,n,e),s=void 0,!Wu||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)}function Kc(e,t,n,r,s){var o=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var i=r.tag;if(i===3||i===4){var a=r.stateNode.containerInfo;if(a===s||a.nodeType===8&&a.parentNode===s)break;if(i===4)for(i=r.return;i!==null;){var l=i.tag;if((l===3||l===4)&&(l=i.stateNode.containerInfo,l===s||l.nodeType===8&&l.parentNode===s))return;i=i.return}for(;a!==null;){if(i=$r(a),i===null)return;if(l=i.tag,l===5||l===6){r=o=i;continue e}a=a.parentNode}}r=r.return}j2(function(){var c=o,d=kf(n),f=[];e:{var h=r1.get(e);if(h!==void 0){var p=Mf,v=e;switch(e){case"keypress":if(Ra(n)===0)break e;case"keydown":case"keyup":p=s4;break;case"focusin":v="focus",p=_c;break;case"focusout":v="blur",p=_c;break;case"beforeblur":case"afterblur":p=_c;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":p=Pp;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":p=G3;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":p=a4;break;case J2:case e1:case t1:p=Y3;break;case n1:p=c4;break;case"scroll":p=H3;break;case"wheel":p=d4;break;case"copy":case"cut":case"paste":p=X3;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":p=Np}var y=(t&4)!==0,w=!y&&e==="scroll",m=y?h!==null?h+"Capture":null:h;y=[];for(var g=c,x;g!==null;){x=g;var S=x.stateNode;if(x.tag===5&&S!==null&&(x=S,m!==null&&(S=ii(g,m),S!=null&&y.push(hi(g,S,x)))),w)break;g=g.return}0<y.length&&(h=new p(h,v,null,n,d),f.push({event:h,listeners:y}))}}if(!(t&7)){e:{if(h=e==="mouseover"||e==="pointerover",p=e==="mouseout"||e==="pointerout",h&&n!==Uu&&(v=n.relatedTarget||n.fromElement)&&($r(v)||v[Vn]))break e;if((p||h)&&(h=d.window===d?d:(h=d.ownerDocument)?h.defaultView||h.parentWindow:window,p?(v=n.relatedTarget||n.toElement,p=c,v=v?$r(v):null,v!==null&&(w=ds(v),v!==w||v.tag!==5&&v.tag!==6)&&(v=null)):(p=null,v=c),p!==v)){if(y=Pp,S="onMouseLeave",m="onMouseEnter",g="mouse",(e==="pointerout"||e==="pointerover")&&(y=Np,S="onPointerLeave",m="onPointerEnter",g="pointer"),w=p==null?h:ks(p),x=v==null?h:ks(v),h=new y(S,g+"leave",p,n,d),h.target=w,h.relatedTarget=x,S=null,$r(d)===c&&(y=new y(m,g+"enter",v,n,d),y.target=x,y.relatedTarget=w,S=y),w=S,p&&v)t:{for(y=p,m=v,g=0,x=y;x;x=ms(x))g++;for(x=0,S=m;S;S=ms(S))x++;for(;0<g-x;)y=ms(y),g--;for(;0<x-g;)m=ms(m),x--;for(;g--;){if(y===m||m!==null&&y===m.alternate)break t;y=ms(y),m=ms(m)}y=null}else y=null;p!==null&&_p(f,h,p,y,!1),v!==null&&w!==null&&_p(f,w,v,y,!0)}}e:{if(h=c?ks(c):window,p=h.nodeName&&h.nodeName.toLowerCase(),p==="select"||p==="input"&&h.type==="file")var C=v4;else if(Rp(h))if(Q2)C=S4;else{C=w4;var E=x4}else(p=h.nodeName)&&p.toLowerCase()==="input"&&(h.type==="checkbox"||h.type==="radio")&&(C=b4);if(C&&(C=C(e,c))){K2(f,C,n,d);break e}E&&E(e,h,c),e==="focusout"&&(E=h._wrapperState)&&E.controlled&&h.type==="number"&&Vu(h,"number",h.value)}switch(E=c?ks(c):window,e){case"focusin":(Rp(E)||E.contentEditable==="true")&&(Cs=E,qu=c,Wo=null);break;case"focusout":Wo=qu=Cs=null;break;case"mousedown":Xu=!0;break;case"contextmenu":case"mouseup":case"dragend":Xu=!1,Fp(f,n,d);break;case"selectionchange":if(k4)break;case"keydown":case"keyup":Fp(f,n,d)}var k;if(Lf)e:{switch(e){case"compositionstart":var T="onCompositionStart";break e;case"compositionend":T="onCompositionEnd";break e;case"compositionupdate":T="onCompositionUpdate";break e}T=void 0}else Ss?W2(e,n)&&(T="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(T="onCompositionStart");T&&(H2&&n.locale!=="ko"&&(Ss||T!=="onCompositionStart"?T==="onCompositionEnd"&&Ss&&(k=U2()):(fr=d,Af="value"in fr?fr.value:fr.textContent,Ss=!0)),E=rl(c,T),0<E.length&&(T=new jp(T,e,null,n,d),f.push({event:T,listeners:E}),k?T.data=k:(k=G2(n),k!==null&&(T.data=k)))),(k=h4?p4(e,n):m4(e,n))&&(c=rl(c,"onBeforeInput"),0<c.length&&(d=new jp("onBeforeInput","beforeinput",null,n,d),f.push({event:d,listeners:c}),d.data=k))}s1(f,t)})}function hi(e,t,n){return{instance:e,listener:t,currentTarget:n}}function rl(e,t){for(var n=t+"Capture",r=[];e!==null;){var s=e,o=s.stateNode;s.tag===5&&o!==null&&(s=o,o=ii(e,n),o!=null&&r.unshift(hi(e,o,s)),o=ii(e,t),o!=null&&r.push(hi(e,o,s))),e=e.return}return r}function ms(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}
vendor: 4,594 bytes, lines 37-38
37function _p(e,t,n,r,s){for(var o=t._reactName,i=[];n!==null&&n!==r;){var a=n,l=a.alternate,c=a.stateNode;if(l!==null&&l===r)break;a.tag===5&&c!==null&&(a=c,s?(l=ii(n,o),l!=null&&i.unshift(hi(n,l,a))):s||(l=ii(n,o),l!=null&&i.push(hi(n,l,a)))),n=n.return}i.length!==0&&e.push({event:t,listeners:i})}var N4=/\r\n?/g,A4=/\u0000|\uFFFD/g;function zp(e){return(typeof e=="string"?e:""+e).replace(N4,`
38`).replace(A4,"")}function ca(e,t,n){if(t=zp(t),zp(e)!==t&&n)throw Error(D(425))}function sl(){}var Zu=null,Ju=null;function ed(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 td=typeof setTimeout=="function"?setTimeout:void 0,M4=typeof clearTimeout=="function"?clearTimeout:void 0,$p=typeof Promise=="function"?Promise:void 0,R4=typeof queueMicrotask=="function"?queueMicrotask:typeof $p<"u"?function(e){return $p.resolve(null).then(e).catch(L4)}:td;function L4(e){setTimeout(function(){throw e})}function Qc(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),ci(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=s}while(n);ci(t)}function xr(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 Up(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 fo=Math.random().toString(36).slice(2),wn="__reactFiber$"+fo,pi="__reactProps$"+fo,Vn="__reactContainer$"+fo,nd="__reactEvents$"+fo,I4="__reactListeners$"+fo,D4="__reactHandles$"+fo;function $r(e){var t=e[wn];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Vn]||n[wn]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Up(e);e!==null;){if(n=e[wn])return n;e=Up(e)}return t}e=n,n=e.parentNode}return null}function Oi(e){return e=e[wn]||e[Vn],!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(D(33))}function Wl(e){return e[pi]||null}var rd=[],Ts=-1;function Ir(e){return{current:e}}function me(e){0>Ts||(e.current=rd[Ts],rd[Ts]=null,Ts--)}function ue(e,t){Ts++,rd[Ts]=e.current,e.current=t}var kr={},Qe=Ir(kr),ut=Ir(!1),rs=kr;function Js(e,t){var n=e.type.contextTypes;if(!n)return kr;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 dt(e){return e=e.childContextTypes,e!=null}function ol(){me(ut),me(Qe)}function Hp(e,t,n){if(Qe.current!==kr)throw Error(D(168));ue(Qe,t),ue(ut,n)}function i1(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(D(108,x3(e)||"Unknown",s));return be({},n,r)}function il(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||kr,rs=Qe.current,ue(Qe,e),ue(ut,ut.current),!0}function Wp(e,t,n){var r=e.stateNode;if(!r)throw Error(D(169));n?(e=i1(e,t,rs),r.__reactInternalMemoizedMergedChildContext=e,me(ut),me(Qe),ue(Qe,e)):me(ut),ue(ut,n)}var Rn=null,Gl=!1,Yc=!1;function a1(e){Rn===null?Rn=[e]:Rn.push(e)}function O4(e){Gl=!0,a1(e)}function Dr(){if(!Yc&&Rn!==null){Yc=!0;var e=0,t=ae;try{var n=Rn;for(ae=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}Rn=null,Gl=!1}catch(s){throw Rn!==null&&(Rn=Rn.slice(e+1)),R2(Tf,Dr),s}finally{ae=t,Yc=!1}}return null}var Ps=[],js=0,al=null,ll=0,Nt=[],At=0,ss=null,In=1,Dn="";function Br(e,t){Ps[js++]=ll,Ps[js++]=al,al=e,ll=t}function l1(e,t,n){Nt[At++]=In,Nt[At++]=Dn,Nt[At++]=ss,ss=e;var r=In;e=Dn;var s=32-tn(r)-1;r&=~(1<<s),n+=1;var o=32-tn(t)+s;if(30<o){var i=s-s%5;o=(r&(1<<i)-1).toString(32),r>>=i,s-=i,In=1<<32-tn(t)+s|n<<s|r,Dn=o+e}else In=1<<o|n<<s|r,Dn=e}function Df(e){e.return!==null&&(Br(e,1),l1(e,1,0))}function Of(e){for(;e===al;)al=Ps[--js],Ps[js]=null,ll=Ps[--js],Ps[js]=null;for(;e===ss;)ss=Nt[--At],Nt[At]=null,Dn=Nt[--At],Nt[At]=null,In=Nt[--At],Nt[At]=null}var St=null,bt=null,ge=!1,Jt=null;function c1(e,t){var n=Mt(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 Gp(e,t){switch(e.tag){case 5:var n=e.type;
vendor: 15,844 bytes, line 38
38return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,St=e,bt=xr(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,St=e,bt=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=ss!==null?{id:In,overflow:Dn}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=Mt(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,St=e,bt=null,!0):!1;default:return!1}}function sd(e){return(e.mode&1)!==0&&(e.flags&128)===0}function od(e){if(ge){var t=bt;if(t){var n=t;if(!Gp(e,t)){if(sd(e))throw Error(D(418));t=xr(n.nextSibling);var r=St;t&&Gp(e,t)?c1(r,n):(e.flags=e.flags&-4097|2,ge=!1,St=e)}}else{if(sd(e))throw Error(D(418));e.flags=e.flags&-4097|2,ge=!1,St=e}}}function Kp(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;St=e}function ua(e){if(e!==St)return!1;if(!ge)return Kp(e),ge=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!ed(e.type,e.memoizedProps)),t&&(t=bt)){if(sd(e))throw u1(),Error(D(418));for(;t;)c1(e,t),t=xr(t.nextSibling)}if(Kp(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(D(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){bt=xr(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}bt=null}}else bt=St?xr(e.stateNode.nextSibling):null;return!0}function u1(){for(var e=bt;e;)e=xr(e.nextSibling)}function eo(){bt=St=null,ge=!1}function Ff(e){Jt===null?Jt=[e]:Jt.push(e)}var F4=Un.ReactCurrentBatchConfig;function jo(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(D(309));var r=n.stateNode}if(!r)throw Error(D(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(i){var a=s.refs;i===null?delete a[o]:a[o]=i},t._stringRef=o,t)}if(typeof e!="string")throw Error(D(284));if(!n._owner)throw Error(D(290,e))}return e}function da(e,t){throw e=Object.prototype.toString.call(t),Error(D(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Qp(e){var t=e._init;return t(e._payload)}function d1(e){function t(m,g){if(e){var x=m.deletions;x===null?(m.deletions=[g],m.flags|=16):x.push(g)}}function n(m,g){if(!e)return null;for(;g!==null;)t(m,g),g=g.sibling;return null}function r(m,g){for(m=new Map;g!==null;)g.key!==null?m.set(g.key,g):m.set(g.index,g),g=g.sibling;return m}function s(m,g){return m=Cr(m,g),m.index=0,m.sibling=null,m}function o(m,g,x){return m.index=x,e?(x=m.alternate,x!==null?(x=x.index,x<g?(m.flags|=2,g):x):(m.flags|=2,g)):(m.flags|=1048576,g)}function i(m){return e&&m.alternate===null&&(m.flags|=2),m}function a(m,g,x,S){return g===null||g.tag!==6?(g=nu(x,m.mode,S),g.return=m,g):(g=s(g,x),g.return=m,g)}function l(m,g,x,S){var C=x.type;return C===bs?d(m,g,x.props.children,S,x.key):g!==null&&(g.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===rr&&Qp(C)===g.type)?(S=s(g,x.props),S.ref=jo(m,g,x),S.return=m,S):(S=Ba(x.type,x.key,x.props,null,m.mode,S),S.ref=jo(m,g,x),S.return=m,S)}function c(m,g,x,S){return g===null||g.tag!==4||g.stateNode.containerInfo!==x.containerInfo||g.stateNode.implementation!==x.implementation?(g=ru(x,m.mode,S),g.return=m,g):(g=s(g,x.children||[]),g.return=m,g)}function d(m,g,x,S,C){return g===null||g.tag!==7?(g=es(x,m.mode,S,C),g.return=m,g):(g=s(g,x),g.return=m,g)}function f(m,g,x){if(typeof g=="string"&&g!==""||typeof g=="number")return g=nu(""+g,m.mode,x),g.return=m,g;if(typeof g=="object"&&g!==null){switch(g.$$typeof){case ea:return x=Ba(g.type,g.key,g.props,null,m.mode,x),x.ref=jo(m,null,g),x.return=m,x;case ws:return g=ru(g,m.mode,x),g.return=m,g;case rr:var S=g._init;return f(m,S(g._payload),x)}if(Do(g)||Co(g))return g=es(g,m.mode,x,null),g.return=m,g;da(m,g)}return null}function h(m,g,x,S){var C=g!==null?g.key:null;if(typeof x=="string"&&x!==""||typeof x=="number")return C!==null?null:a(m,g,""+x,S);if(typeof x=="object"&&x!==null){switch(x.$$typeof){case ea:return x.key===C?l(m,g,x,S):null;case ws:return x.key===C?c(m,g,x,S):null;case rr:return C=x._init,h(m,g,C(x._payload),S)}if(Do(x)||Co(x))return C!==null?null:d(m,g,x,S,null);da(m,x)}return null}function p(m,g,x,S,C){if(typeof S=="string"&&S!==""||typeof S=="number")return m=m.get(x)||null,a(g,m,""+S,C);if(typeof S=="object"&&S!==null){switch(S.$$typeof){case ea:return m=m.get(S.key===null?x:S.key)||null,l(g,m,S,C);case ws:return m=m.get(S.key===null?x:S.key)||null,c(g,m,S,C);case rr:var E=S._init;return p(m,g,x,E(S._payload),C)}if(Do(S)||Co(S))return m=m.get(x)||null,d(g,m,S,C,null);da(g,S)}return null}function v(m,g,x,S){for(var C=null,E=null,k=g,T=g=0,N=null;k!==null&&T<x.length;T++){k.index>T?(N=k,k=null):N=k.sibling;var P=h(m,k,x[T],S);if(P===null){k===null&&(k=N);break}e&&k&&P.alternate===null&&t(m,k),g=o(P,g,T),E===null?C=P:E.sibling=P,E=P,k=N}if(T===x.length)return n(m,k),ge&&Br(m,T),C;if(k===null){for(;T<x.length;T++)k=f(m,x[T],S),k!==null&&(g=o(k,g,T),E===null?C=k:E.sibling=k,E=k);return ge&&Br(m,T),C}for(k=r(m,k);T<x.length;T++)N=p(k,m,T,x[T],S),N!==null&&(e&&N.alternate!==null&&k.delete(N.key===null?T:N.key),g=o(N,g,T),E===null?C=N:E.sibling=N,E=N);return e&&k.forEach(function(R){return t(m,R)}),ge&&Br(m,T),C}function y(m,g,x,S){var C=Co(x);if(typeof C!="function")throw Error(D(150));if(x=C.call(x),x==null)throw Error(D(151));for(var E=C=null,k=g,T=g=0,N=null,P=x.next();k!==null&&!P.done;T++,P=x.next()){k.index>T?(N=k,k=null):N=k.sibling;var R=h(m,k,P.value,S);if(R===null){k===null&&(k=N);break}e&&k&&R.alternate===null&&t(m,k),g=o(R,g,T),E===null?C=R:E.sibling=R,E=R,k=N}if(P.done)return n(m,k),ge&&Br(m,T),C;if(k===null){for(;!P.done;T++,P=x.next())P=f(m,P.value,S),P!==null&&(g=o(P,g,T),E===null?C=P:E.sibling=P,E=P);return ge&&Br(m,T),C}for(k=r(m,k);!P.done;T++,P=x.next())P=p(k,m,T,P.value,S),P!==null&&(e&&P.alternate!==null&&k.delete(P.key===null?T:P.key),g=o(P,g,T),E===null?C=P:E.sibling=P,E=P);return e&&k.forEach(function(L){return t(m,L)}),ge&&Br(m,T),C}function w(m,g,x,S){if(typeof x=="object"&&x!==null&&x.type===bs&&x.key===null&&(x=x.props.children),typeof x=="object"&&x!==null){switch(x.$$typeof){case ea:e:{for(var C=x.key,E=g;E!==null;){if(E.key===C){if(C=x.type,C===bs){if(E.tag===7){n(m,E.sibling),g=s(E,x.props.children),g.return=m,m=g;break e}}else if(E.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===rr&&Qp(C)===E.type){n(m,E.sibling),g=s(E,x.props),g.ref=jo(m,E,x),g.return=m,m=g;break e}n(m,E);break}else t(m,E);E=E.sibling}x.type===bs?(g=es(x.props.children,m.mode,S,x.key),g.return=m,m=g):(S=Ba(x.type,x.key,x.props,null,m.mode,S),S.ref=jo(m,g,x),S.return=m,m=S)}return i(m);case ws:e:{for(E=x.key;g!==null;){if(g.key===E)if(g.tag===4&&g.stateNode.containerInfo===x.containerInfo&&g.stateNode.implementation===x.implementation){n(m,g.sibling),g=s(g,x.children||[]),g.return=m,m=g;break e}else{n(m,g);break}else t(m,g);g=g.sibling}g=ru(x,m.mode,S),g.return=m,m=g}return i(m);case rr:return E=x._init,w(m,g,E(x._payload),S)}if(Do(x))return v(m,g,x,S);if(Co(x))return y(m,g,x,S);da(m,x)}return typeof x=="string"&&x!==""||typeof x=="number"?(x=""+x,g!==null&&g.tag===6?(n(m,g.sibling),g=s(g,x),g.return=m,m=g):(n(m,g),g=nu(x,m.mode,S),g.return=m,m=g),i(m)):n(m,g)}return w}var to=d1(!0),f1=d1(!1),cl=Ir(null),ul=null,Ns=null,Vf=null;function Bf(){Vf=Ns=ul=null}function _f(e){var t=cl.current;me(cl),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 Bs(e,t){ul=e,Vf=Ns=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(ct=!0),e.firstContext=null)}function It(e){var t=e._currentValue;if(Vf!==e)if(e={context:e,memoizedValue:t,next:null},Ns===null){if(ul===null)throw Error(D(308));Ns=e,ul.dependencies={lanes:0,firstContext:e}}else Ns=Ns.next=e;return t}var Ur=null;function zf(e){Ur===null?Ur=[e]:Ur.push(e)}function h1(e,t,n,r){var s=t.interleaved;return s===null?(n.next=n,zf(t)):(n.next=s.next,s.next=n),t.interleaved=n,Bn(e,r)}function Bn(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 sr=!1;function $f(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function p1(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 On(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function wr(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,Bn(e,n)}return s=r.interleaved,s===null?(t.next=t,zf(r)):(t.next=s.next,s.next=t),r.interleaved=t,Bn(e,n)}function La(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,Pf(e,n)}}function Yp(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 i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};o===null?s=o=i:o=o.next=i,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 dl(e,t,n,r){var s=e.updateQueue;sr=!1;var o=s.firstBaseUpdate,i=s.lastBaseUpdate,a=s.shared.pending;if(a!==null){s.shared.pending=null;var l=a,c=l.next;l.next=null,i===null?o=c:i.next=c,i=l;var d=e.alternate;d!==null&&(d=d.updateQueue,a=d.lastBaseUpdate,a!==i&&(a===null?d.firstBaseUpdate=c:a.next=c,d.lastBaseUpdate=l))}if(o!==null){var f=s.baseState;i=0,d=c=l=null,a=o;do{var h=a.lane,p=a.eventTime;if((r&h)===h){d!==null&&(d=d.next={eventTime:p,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var v=e,y=a;switch(h=t,p=n,y.tag){case 1:if(v=y.payload,typeof v=="function"){f=v.call(p,f,h);break e}f=v;break e;case 3:v.flags=v.flags&-65537|128;case 0:if(v=y.payload,h=typeof v=="function"?v.call(p,f,h):v,h==null)break e;f=be({},f,h);break e;case 2:sr=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,h=s.effects,h===null?s.effects=[a]:h.push(a))}else p={eventTime:p,lane:h,tag:a.tag,payload:a.payload,callback:a.callback,next:null},d===null?(c=d=p,l=f):d=d.next=p,i|=h;if(a=a.next,a===null){if(a=s.shared.pending,a===null)break;h=a,a=h.next,h.next=null,s.lastBaseUpdate=h,s.shared.pending=null}}while(!0);if(d===null&&(l=f),s.baseState=l,s.firstBaseUpdate=c,s.lastBaseUpdate=d,t=s.shared.interleaved,t!==null){s=t;do i|=s.lane,s=s.next;while(s!==t)}else o===null&&(s.shared.lanes=0);is|=i,e.lanes=i,e.memoizedState=f}}function qp(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(D(191,s));s.call(r)}}}var Fi={},Cn=Ir(Fi),mi=Ir(Fi),gi=Ir(Fi);function Hr(e){if(e===Fi)throw Error(D(174));return e}function Uf(e,t){switch(ue(gi,t),ue(mi,e),ue(Cn,Fi),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:_u(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=_u(t,e)}me(Cn),ue(Cn,t)}function no(){me(Cn),me(mi),me(gi)}function m1(e){Hr(gi.current);var t=Hr(Cn.current),n=_u(t,e.type);t!==n&&(ue(mi,e),ue(Cn,n))}function Hf(e){mi.current===e&&(me(Cn),me(mi))}var ve=Ir(0);function fl(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 qc=[];function Wf(){for(var e=0;e<qc.length;e++)qc[e]._workInProgressVersionPrimary=null;qc.length=0}var Ia=Un.ReactCurrentDispatcher,Xc=Un.ReactCurrentBatchConfig,os=0,we=null,Re=null,Fe=null,hl=!1,Go=!1,yi=0,V4=0;function He(){throw Error(D(321))}function Gf(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!on(e[n],t[n]))return!1;return!0}function Kf(e,t,n,r,s,o){if(os=o,we=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Ia.current=e===null||e.memoizedState===null?$4:U4,e=n(r,s),Go){o=0;do{if(Go=!1,yi=0,25<=o)throw Error(D(301));o+=1,Fe=Re=null,t.updateQueue=null,Ia.current=H4,e=n(r,s)}while(Go)}if(Ia.current=pl,t=Re!==null&&Re.next!==null,os=0,Fe=Re=we=null,hl=!1,t)throw Error(D(300));return e}function Qf(){var e=yi!==0;return yi=0,e}function pn(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Fe===null?we.memoizedState=Fe=e:Fe=Fe.next=e,Fe}function Dt(){if(Re===null){var e=we.alternate;e=e!==null?e.memoizedState:null}else e=Re.next;var t=Fe===null?we.memoizedState:Fe.next;if(t!==null)Fe=t,Re=e;else{if(e===null)throw Error(D(310));Re=e,e={memoizedState:Re.memoizedState,baseState:Re.baseState,baseQueue:Re.baseQueue,queue:Re.queue,next:null},Fe===null?we.memoizedState=Fe=e:Fe=Fe.next=e}return Fe}function vi(e,t){return typeof t=="function"?t(e):t}function Zc(e){var t=Dt(),n=t.queue;if(n===null)throw Error(D(311));n.lastRenderedReducer=e;var r=Re,s=r.baseQueue,o=n.pending;if(o!==null){if(s!==null){var i=s.next;s.next=o.next,o.next=i}r.baseQueue=s=o,n.pending=null}if(s!==null){o=s.next,r=r.baseState;var a=i=null,l=null,c=o;do{var d=c.lane;if((os&d)===d)l!==null&&(l=l.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),r=c.hasEagerState?c.eagerState:e(r,c.action);else{var f={lane:d,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};l===null?(a=l=f,i=r):l=l.next=f,we.lanes|=d,is|=d}c=c.next}while(c!==null&&c!==o);l===null?i=r:l.next=a,on(r,t.memoizedState)||(ct=!0),t.memoizedState=r,t.baseState=i,t.baseQueue=l,n.lastRenderedState=r}if(e=n.interleaved,e!==null){s=e;do o=s.lane,we.lanes|=o,is|=o,s=s.next;while(s!==e)}else s===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Jc(e){var t=Dt(),n=t.queue;if(n===null)throw Error(D(311));n.lastRenderedReducer=e;var r=n.dispatch,s=n.pending,o=t.memoizedState;if(s!==null){n.pending=null;var i=s=s.next;do o=e(o,i.action),i=i.next;while(i!==s);on(o,t.memoizedState)||(ct=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function g1(){}function y1(e,t){var n=we,r=Dt(),s=t(),o=!on(r.memoizedState,s);if(o&&(r.memoizedState=s,ct=!0),r=r.queue,Yf(w1.bind(null,n,r,e),[e]),r.getSnapshot!==t||o||Fe!==null&&Fe.memoizedState.tag&1){if(n.flags|=2048,xi(9,x1.bind(null,n,r,s,t),void 0,null),Ve===null)throw Error(D(349));os&30||v1(n,t,s)}return s}function v1(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=we.updateQueue,t===null?(t={lastEffect:null,stores:null},we.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function x1(e,t,n,r){t.value=n,t.getSnapshot=r,b1(t)&&S1(e)}function w1(e,t,n){return n(function(){b1(t)&&S1(e)})}function b1(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!on(e,n)}catch{return!0}}function S1(e){var t=Bn(e,1);t!==null&&nn(t,e,1,-1)}function Xp(e){var t=pn();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:vi,lastRenderedState:e}
vendor: 1,478 bytes, line 38
38,t.queue=e,e=e.dispatch=z4.bind(null,we,e),[t.memoizedState,e]}function xi(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=we.updateQueue,t===null?(t={lastEffect:null,stores:null},we.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 C1(){return Dt().memoizedState}function Da(e,t,n,r){var s=pn();we.flags|=e,s.memoizedState=xi(1|t,n,void 0,r===void 0?null:r)}function Kl(e,t,n,r){var s=Dt();r=r===void 0?null:r;var o=void 0;if(Re!==null){var i=Re.memoizedState;if(o=i.destroy,r!==null&&Gf(r,i.deps)){s.memoizedState=xi(t,n,o,r);return}}we.flags|=e,s.memoizedState=xi(1|t,n,o,r)}function Zp(e,t){return Da(8390656,8,e,t)}function Yf(e,t){return Kl(2048,8,e,t)}function E1(e,t){return Kl(4,2,e,t)}function k1(e,t){return Kl(4,4,e,t)}function T1(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 P1(e,t,n){return n=n!=null?n.concat([e]):null,Kl(4,4,T1.bind(null,t,e),n)}function qf(){}function j1(e,t){var n=Dt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Gf(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function N1(e,t){var n=Dt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Gf(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function A1(e,t,n){return os&21?(on(n,t)||(n=D2(),we.lanes|=n,is|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,
vendor: 6,716 bytes, lines 38-40
38ct=!0),e.memoizedState=n)}function B4(e,t){var n=ae;ae=n!==0&&4>n?n:4,e(!0);var r=Xc.transition;Xc.transition={};try{e(!1),t()}finally{ae=n,Xc.transition=r}}function M1(){return Dt().memoizedState}function _4(e,t,n){var r=Sr(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},R1(e))L1(t,n);else if(n=h1(e,t,n,r),n!==null){var s=nt();nn(n,e,r,s),I1(n,t,r)}}function z4(e,t,n){var r=Sr(e),s={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(R1(e))L1(t,s);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var i=t.lastRenderedState,a=o(i,n);if(s.hasEagerState=!0,s.eagerState=a,on(a,i)){var l=t.interleaved;l===null?(s.next=s,zf(t)):(s.next=l.next,l.next=s),t.interleaved=s;return}}catch{}finally{}n=h1(e,t,s,r),n!==null&&(s=nt(),nn(n,e,r,s),I1(n,t,r))}}function R1(e){var t=e.alternate;return e===we||t!==null&&t===we}function L1(e,t){Go=hl=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function I1(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Pf(e,n)}}var pl={readContext:It,useCallback:He,useContext:He,useEffect:He,useImperativeHandle:He,useInsertionEffect:He,useLayoutEffect:He,useMemo:He,useReducer:He,useRef:He,useState:He,useDebugValue:He,useDeferredValue:He,useTransition:He,useMutableSource:He,useSyncExternalStore:He,useId:He,unstable_isNewReconciler:!1},$4={readContext:It,useCallback:function(e,t){return pn().memoizedState=[e,t===void 0?null:t],e},useContext:It,useEffect:Zp,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Da(4194308,4,T1.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Da(4194308,4,e,t)},useInsertionEffect:function(e,t){return Da(4,2,e,t)},useMemo:function(e,t){var n=pn();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=pn();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=_4.bind(null,we,e),[r.memoizedState,e]},useRef:function(e){var t=pn();return e={current:e},t.memoizedState=e},useState:Xp,useDebugValue:qf,useDeferredValue:function(e){return pn().memoizedState=e},useTransition:function(){var e=Xp(!1),t=e[0];return e=B4.bind(null,e[1]),pn().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=we,s=pn();if(ge){if(n===void 0)throw Error(D(407));n=n()}else{if(n=t(),Ve===null)throw Error(D(349));os&30||v1(r,t,n)}s.memoizedState=n;var o={value:n,getSnapshot:t};return s.queue=o,Zp(w1.bind(null,r,o,e),[e]),r.flags|=2048,xi(9,x1.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=pn(),t=Ve.identifierPrefix;if(ge){var n=Dn,r=In;n=(r&~(1<<32-tn(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=yi++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=V4++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},U4={readContext:It,useCallback:j1,useContext:It,useEffect:Yf,useImperativeHandle:P1,useInsertionEffect:E1,useLayoutEffect:k1,useMemo:N1,useReducer:Zc,useRef:C1,useState:function(){return Zc(vi)},useDebugValue:qf,useDeferredValue:function(e){var t=Dt();return A1(t,Re.memoizedState,e)},useTransition:function(){var e=Zc(vi)[0],t=Dt().memoizedState;return[e,t]},useMutableSource:g1,useSyncExternalStore:y1,useId:M1,unstable_isNewReconciler:!1},H4={readContext:It,useCallback:j1,useContext:It,useEffect:Yf,useImperativeHandle:P1,useInsertionEffect:E1,useLayoutEffect:k1,useMemo:N1,useReducer:Jc,useRef:C1,useState:function(){return Jc(vi)},useDebugValue:qf,useDeferredValue:function(e){var t=Dt();return Re===null?t.memoizedState=e:A1(t,Re.memoizedState,e)},useTransition:function(){var e=Jc(vi)[0],t=Dt().memoizedState;return[e,t]},useMutableSource:g1,useSyncExternalStore:y1,useId:M1,unstable_isNewReconciler:!1};function Qt(e,t){if(e&&e.defaultProps){t=be({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function ad(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:be({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Ql={isMounted:function(e){return(e=e._reactInternals)?ds(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=nt(),s=Sr(e),o=On(r,s);o.payload=t,n!=null&&(o.callback=n),t=wr(e,o,s),t!==null&&(nn(t,e,s,r),La(t,e,s))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=nt(),s=Sr(e),o=On(r,s);o.tag=1,o.payload=t,n!=null&&(o.callback=n),t=wr(e,o,s),t!==null&&(nn(t,e,s,r),La(t,e,s))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=nt(),r=Sr(e),s=On(n,r);s.tag=2,t!=null&&(s.callback=t),t=wr(e,s,r),t!==null&&(nn(t,e,r,n),La(t,e,r))}};function Jp(e,t,n,r,s,o,i){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,o,i):t.prototype&&t.prototype.isPureReactComponent?!di(n,r)||!di(s,o):!0}function D1(e,t,n){var r=!1,s=kr,o=t.contextType;return typeof o=="object"&&o!==null?o=It(o):(s=dt(t)?rs:Qe.current,r=t.contextTypes,o=(r=r!=null)?Js(e,s):kr),t=new t(n,o),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Ql,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=s,e.__reactInternalMemoizedMaskedChildContext=o),t}function e0(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&&Ql.enqueueReplaceState(t,t.state,null)}function ld(e,t,n,r){var s=e.stateNode;s.props=n,s.state=e.memoizedState,s.refs={},$f(e);var o=t.contextType;typeof o=="object"&&o!==null?s.context=It(o):(o=dt(t)?rs:Qe.current,s.context=Js(e,o)),s.state=e.memoizedState,o=t.getDerivedStateFromProps,typeof o=="function"&&(ad(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&&Ql.enqueueReplaceState(s,s.state,null),dl(e,n,s,r),s.state=e.memoizedState),typeof s.componentDidMount=="function"&&(e.flags|=4194308)}function ro(e,t){try{var n="",r=t;do n+=v3(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 eu(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function cd(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var W4=typeof WeakMap=="function"?WeakMap:Map;
vendor: 9,044 bytes, line 40
40function O1(e,t,n){n=On(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){gl||(gl=!0,xd=r),cd(e,t)},n}function F1(e,t,n){n=On(-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(){cd(e,t)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(n.callback=function(){cd(e,t),typeof r!="function"&&(br===null?br=new Set([this]):br.add(this));var i=t.stack;this.componentDidCatch(t.value,{componentStack:i!==null?i:""})}),n}function t0(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new W4;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=o5.bind(null,e,t,n),t.then(e,e))}function n0(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function r0(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=On(-1,1),t.tag=2,wr(n,t,1))),n.lanes|=1),e)}var G4=Un.ReactCurrentOwner,ct=!1;function Ze(e,t,n,r){t.child=e===null?f1(t,null,n,r):to(t,e.child,n,r)}function s0(e,t,n,r,s){n=n.render;var o=t.ref;return Bs(t,s),r=Kf(e,t,n,r,o,s),n=Qf(),e!==null&&!ct?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~s,_n(e,t,s)):(ge&&n&&Df(t),t.flags|=1,Ze(e,t,r,s),t.child)}function o0(e,t,n,r,s){if(e===null){var o=n.type;return typeof o=="function"&&!sh(o)&&o.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=o,V1(e,t,o,r,s)):(e=Ba(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 i=o.memoizedProps;if(n=n.compare,n=n!==null?n:di,n(i,r)&&e.ref===t.ref)return _n(e,t,s)}return t.flags|=1,e=Cr(o,r),e.ref=t.ref,e.return=t,t.child=e}function V1(e,t,n,r,s){if(e!==null){var o=e.memoizedProps;if(di(o,r)&&e.ref===t.ref)if(ct=!1,t.pendingProps=r=o,(e.lanes&s)!==0)e.flags&131072&&(ct=!0);else return t.lanes=e.lanes,_n(e,t,s)}return ud(e,t,n,r,s)}function B1(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},ue(Ms,xt),xt|=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,ue(Ms,xt),xt|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=o!==null?o.baseLanes:n,ue(Ms,xt),xt|=r}else o!==null?(r=o.baseLanes|n,t.memoizedState=null):r=n,ue(Ms,xt),xt|=r;return Ze(e,t,s,n),t.child}function _1(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function ud(e,t,n,r,s){var o=dt(n)?rs:Qe.current;return o=Js(t,o),Bs(t,s),n=Kf(e,t,n,r,o,s),r=Qf(),e!==null&&!ct?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~s,_n(e,t,s)):(ge&&r&&Df(t),t.flags|=1,Ze(e,t,n,s),t.child)}function i0(e,t,n,r,s){if(dt(n)){var o=!0;il(t)}else o=!1;if(Bs(t,s),t.stateNode===null)Oa(e,t),D1(t,n,r),ld(t,n,r,s),r=!0;else if(e===null){var i=t.stateNode,a=t.memoizedProps;i.props=a;var l=i.context,c=n.contextType;typeof c=="object"&&c!==null?c=It(c):(c=dt(n)?rs:Qe.current,c=Js(t,c));var d=n.getDerivedStateFromProps,f=typeof d=="function"||typeof i.getSnapshotBeforeUpdate=="function";f||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(a!==r||l!==c)&&e0(t,i,r,c),sr=!1;var h=t.memoizedState;i.state=h,dl(t,r,i,s),l=t.memoizedState,a!==r||h!==l||ut.current||sr?(typeof d=="function"&&(ad(t,n,d,r),l=t.memoizedState),(a=sr||Jp(t,n,a,r,h,l,c))?(f||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount()),typeof i.componentDidMount=="function"&&(t.flags|=4194308)):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),i.props=r,i.state=l,i.context=c,r=a):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,p1(e,t),a=t.memoizedProps,c=t.type===t.elementType?a:Qt(t.type,a),i.props=c,f=t.pendingProps,h=i.context,l=n.contextType,typeof l=="object"&&l!==null?l=It(l):(l=dt(n)?rs:Qe.current,l=Js(t,l));var p=n.getDerivedStateFromProps;(d=typeof p=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(a!==f||h!==l)&&e0(t,i,r,l),sr=!1,h=t.memoizedState,i.state=h,dl(t,r,i,s);var v=t.memoizedState;a!==f||h!==v||ut.current||sr?(typeof p=="function"&&(ad(t,n,p,r),v=t.memoizedState),(c=sr||Jp(t,n,c,r,h,v,l)||!1)?(d||typeof i.UNSAFE_componentWillUpdate!="function"&&typeof i.componentWillUpdate!="function"||(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(r,v,l),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(r,v,l)),typeof i.componentDidUpdate=="function"&&(t.flags|=4),typeof i.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof i.componentDidUpdate!="function"||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=v),i.props=r,i.state=v,i.context=l,r=c):(typeof i.componentDidUpdate!="function"||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),r=!1)}return dd(e,t,n,r,o,s)}function dd(e,t,n,r,s,o){_1(e,t);var i=(t.flags&128)!==0;if(!r&&!i)return s&&Wp(t,n,!1),_n(e,t,o);r=t.stateNode,G4.current=t;var a=i&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&i?(t.child=to(t,e.child,null,o),t.child=to(t,null,a,o)):Ze(e,t,a,o),t.memoizedState=r.state,s&&Wp(t,n,!0),t.child}function z1(e){var t=e.stateNode;t.pendingContext?Hp(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Hp(e,t.context,!1),Uf(e,t.containerInfo)}function a0(e,t,n,r,s){return eo(),Ff(s),t.flags|=256,Ze(e,t,n,r),t.child}var fd={dehydrated:null,treeContext:null,retryLane:0};function hd(e){return{baseLanes:e,cachePool:null,transitions:null}}function $1(e,t,n){var r=t.pendingProps,s=ve.current,o=!1,i=(t.flags&128)!==0,a;if((a=i)||(a=e!==null&&e.memoizedState===null?!1:(s&2)!==0),a?(o=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(s|=1),ue(ve,s&1),e===null)return od(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):(i=r.children,e=r.fallback,o?(r=t.mode,o=t.child,i={mode:"hidden",children:i},!(r&1)&&o!==null?(o.childLanes=0,o.pendingProps=i):o=Xl(i,r,0,null),e=es(e,r,n,null),o.return=t,e.return=t,o.sibling=e,t.child=o,t.child.memoizedState=hd(n),t.memoizedState=fd,e):Xf(t,i));if(s=e.memoizedState,s!==null&&(a=s.dehydrated,a!==null))return K4(e,t,i,r,a,s,n);if(o){o=r.fallback,i=t.mode,s=e.child,a=s.sibling;var l={mode:"hidden",children:r.children};return!(i&1)&&t.child!==s?(r=t.child,r.childLanes=0,r.pendingProps=l,t.deletions=null):(r=Cr(s,l),r.subtreeFlags=s.subtreeFlags&14680064),a!==null?o=Cr(a,o):(o=es(o,i,n,null),o.flags|=2),o.return=t,r.return=t,r.sibling=o,t.child=r,r=o,o=t.child,i=e.child.memoizedState,i=i===null?hd(n):{baseLanes:i.baseLanes|n,cachePool:null,transitions:i.transitions},o.memoizedState=i,o.childLanes=e.childLanes&~n,t.memoizedState=fd,r}return o=e.child,e=o.sibling,r=Cr(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 Xf(e,t){return t=Xl({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function fa(e,t,n,r){return r!==null&&Ff(r),to(t,e.child,null,n),e=Xf(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function K4(e,t,n,r,s,o,i){if(n)return t.flags&256?(t.flags&=-257,r=eu(Error(D(422))),fa(e,t,i,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(o=r.fallback,s=t.mode,r=Xl({mode:"visible",children:r.children},s,0,null),o=es(o,s,i,null),o.flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,t.mode&1&&to(t,e.child,null,i),t.child.memoizedState=hd(i),t.memoizedState=fd,o);if(!(t.mode&1))return fa(e,t,i,null);if(s.data==="$!"){if(r=s.nextSibling&&s.nextSibling.dataset,r)var a=r.dgst;return r=a,o=Error(D(419)),r=eu(o,r,void 0),fa(e,t,i,r)}if(a=(i&e.childLanes)!==0,ct||a){if(r=Ve,r!==null){switch(i&-i){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}
vendor: 5,862 bytes, line 40
40s=s&(r.suspendedLanes|i)?0:s,s!==0&&s!==o.retryLane&&(o.retryLane=s,Bn(e,s),nn(r,e,s,-1))}return rh(),r=eu(Error(D(421))),fa(e,t,i,r)}return s.data==="$?"?(t.flags|=128,t.child=e.child,t=i5.bind(null,e),s._reactRetry=t,null):(e=o.treeContext,bt=xr(s.nextSibling),St=t,ge=!0,Jt=null,e!==null&&(Nt[At++]=In,Nt[At++]=Dn,Nt[At++]=ss,In=e.id,Dn=e.overflow,ss=t),t=Xf(t,r.children),t.flags|=4096,t)}function l0(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),id(e.return,t,n)}function tu(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 U1(e,t,n){var r=t.pendingProps,s=r.revealOrder,o=r.tail;if(Ze(e,t,r.children,n),r=ve.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&&l0(e,n,t);else if(e.tag===19)l0(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(ue(ve,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&&fl(e)===null&&(s=n),n=n.sibling;n=s,n===null?(s=t.child,t.child=null):(s=n.sibling,n.sibling=null),tu(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&&fl(e)===null){t.child=s;break}e=s.sibling,s.sibling=n,n=s,s=e}tu(t,!0,n,null,o);break;case"together":tu(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Oa(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function _n(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),is|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(D(153));if(t.child!==null){for(e=t.child,n=Cr(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Cr(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function Q4(e,t,n){switch(t.tag){case 3:z1(t),eo();break;case 5:m1(t);break;case 1:dt(t.type)&&il(t);break;case 4:Uf(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,s=t.memoizedProps.value;ue(cl,r._currentValue),r._currentValue=s;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(ue(ve,ve.current&1),t.flags|=128,null):n&t.child.childLanes?$1(e,t,n):(ue(ve,ve.current&1),e=_n(e,t,n),e!==null?e.sibling:null);ue(ve,ve.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return U1(e,t,n);t.flags|=128}if(s=t.memoizedState,s!==null&&(s.rendering=null,s.tail=null,s.lastEffect=null),ue(ve,ve.current),r)break;return null;case 22:case 23:return t.lanes=0,B1(e,t,n)}return _n(e,t,n)}var H1,pd,W1,G1;H1=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}};pd=function(){};W1=function(e,t,n,r){var s=e.memoizedProps;if(s!==r){e=t.stateNode,Hr(Cn.current);var o=null;switch(n){case"input":s=Ou(e,s),r=Ou(e,r),o=[];break;case"select":s=be({},s,{value:void 0}),r=be({},r,{value:void 0}),o=[];break;case"textarea":s=Bu(e,s),r=Bu(e,r),o=[];break;default:typeof s.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=sl)}zu(n,r);var i;n=null;for(c in s)if(!r.hasOwnProperty(c)&&s.hasOwnProperty(c)&&s[c]!=null)if(c==="style"){var a=s[c];for(i in a)a.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else c!=="dangerouslySetInnerHTML"&&c!=="children"&&c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&c!=="autoFocus"&&(si.hasOwnProperty(c)?o||(o=[]):(o=o||[]).push(c,null));for(c in r){var l=r[c];if(a=s!=null?s[c]:void 0,r.hasOwnProperty(c)&&l!==a&&(l!=null||a!=null))if(c==="style")if(a){for(i in a)!a.hasOwnProperty(i)||l&&l.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in l)l.hasOwnProperty(i)&&a[i]!==l[i]&&(n||(n={}),n[i]=l[i])}else n||(o||(o=[]),o.push(c,n)),n=l;else c==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,a=a?a.__html:void 0,l!=null&&a!==l&&(o=o||[]).push(c,l)):c==="children"?typeof l!="string"&&typeof l!="number"||(o=o||[]).push(c,""+l):c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&(si.hasOwnProperty(c)?(l!=null&&c==="onScroll"&&he("scroll",e),o||a===l||(o=[])):(o=o||[]).push(c,l))}n&&(o=o||[]).push("style",n);var c=o;(t.updateQueue=c)&&(t.flags|=4)}};G1=function(e,t,n,r){n!==r&&(t.flags|=4)};function No(e,t){if(!ge)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 We(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 Y4(e,t,n){var r=t.pendingProps;switch(Of(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return We(t),null;case 1:return dt(t.type)&&ol(),We(t),null;case 3:return r=t.stateNode,no(),me(ut),me(Qe),Wf(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(ua(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Jt!==null&&(Sd(Jt),Jt=null))),pd(e,t),We(t),null;case 5:Hf(t);var s=Hr(gi.current);
vendor: 29,713 bytes, line 40
40if(n=t.type,e!==null&&t.stateNode!=null)W1(e,t,n,r,s),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(D(166));return We(t),null}if(e=Hr(Cn.current),ua(t)){r=t.stateNode,n=t.type;var o=t.memoizedProps;switch(r[wn]=t,r[pi]=o,e=(t.mode&1)!==0,n){case"dialog":he("cancel",r),he("close",r);break;case"iframe":case"object":case"embed":he("load",r);break;case"video":case"audio":for(s=0;s<Fo.length;s++)he(Fo[s],r);break;case"source":he("error",r);break;case"img":case"image":case"link":he("error",r),he("load",r);break;case"details":he("toggle",r);break;case"input":yp(r,o),he("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!o.multiple},he("invalid",r);break;case"textarea":xp(r,o),he("invalid",r)}zu(n,o),s=null;for(var i in o)if(o.hasOwnProperty(i)){var a=o[i];i==="children"?typeof a=="string"?r.textContent!==a&&(o.suppressHydrationWarning!==!0&&ca(r.textContent,a,e),s=["children",a]):typeof a=="number"&&r.textContent!==""+a&&(o.suppressHydrationWarning!==!0&&ca(r.textContent,a,e),s=["children",""+a]):si.hasOwnProperty(i)&&a!=null&&i==="onScroll"&&he("scroll",r)}switch(n){case"input":ta(r),vp(r,o,!0);break;case"textarea":ta(r),wp(r);break;case"select":case"option":break;default:typeof o.onClick=="function"&&(r.onclick=sl)}r=s,t.updateQueue=r,r!==null&&(t.flags|=4)}else{i=s.nodeType===9?s:s.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=w2(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=i.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=i.createElement(n,{is:r.is}):(e=i.createElement(n),n==="select"&&(i=e,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):e=i.createElementNS(e,n),e[wn]=t,e[pi]=r,H1(e,t,!1,!1),t.stateNode=e;e:{switch(i=$u(n,r),n){case"dialog":he("cancel",e),he("close",e),s=r;break;case"iframe":case"object":case"embed":he("load",e),s=r;break;case"video":case"audio":for(s=0;s<Fo.length;s++)he(Fo[s],e);s=r;break;case"source":he("error",e),s=r;break;case"img":case"image":case"link":he("error",e),he("load",e),s=r;break;case"details":he("toggle",e),s=r;break;case"input":yp(e,r),s=Ou(e,r),he("invalid",e);break;case"option":s=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},s=be({},r,{value:void 0}),he("invalid",e);break;case"textarea":xp(e,r),s=Bu(e,r),he("invalid",e);break;default:s=r}zu(n,s),a=s;for(o in a)if(a.hasOwnProperty(o)){var l=a[o];o==="style"?C2(e,l):o==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&b2(e,l)):o==="children"?typeof l=="string"?(n!=="textarea"||l!=="")&&oi(e,l):typeof l=="number"&&oi(e,""+l):o!=="suppressContentEditableWarning"&&o!=="suppressHydrationWarning"&&o!=="autoFocus"&&(si.hasOwnProperty(o)?l!=null&&o==="onScroll"&&he("scroll",e):l!=null&&bf(e,o,l,i))}switch(n){case"input":ta(e),vp(e,r,!1);break;case"textarea":ta(e),wp(e);break;case"option":r.value!=null&&e.setAttribute("value",""+Er(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=sl)}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 We(t),null;case 6:if(e&&t.stateNode!=null)G1(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(D(166));if(n=Hr(gi.current),Hr(Cn.current),ua(t)){if(r=t.stateNode,n=t.memoizedProps,r[wn]=t,(o=r.nodeValue!==n)&&(e=St,e!==null))switch(e.tag){case 3:ca(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&ca(r.nodeValue,n,(e.mode&1)!==0)}o&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[wn]=t,t.stateNode=r}return We(t),null;case 13:if(me(ve),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(ge&&bt!==null&&t.mode&1&&!(t.flags&128))u1(),eo(),t.flags|=98560,o=!1;else if(o=ua(t),r!==null&&r.dehydrated!==null){if(e===null){if(!o)throw Error(D(318));if(o=t.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(D(317));o[wn]=t}else eo(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;We(t),o=!1}else Jt!==null&&(Sd(Jt),Jt=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||ve.current&1?Ie===0&&(Ie=3):rh())),t.updateQueue!==null&&(t.flags|=4),We(t),null);case 4:return no(),pd(e,t),e===null&&fi(t.stateNode.containerInfo),We(t),null;case 10:return _f(t.type._context),We(t),null;case 17:return dt(t.type)&&ol(),We(t),null;case 19:if(me(ve),o=t.memoizedState,o===null)return We(t),null;if(r=(t.flags&128)!==0,i=o.rendering,i===null)if(r)No(o,!1);else{if(Ie!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(i=fl(e),i!==null){for(t.flags|=128,No(o,!1),r=i.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,i=o.alternate,i===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=i.childLanes,o.lanes=i.lanes,o.child=i.child,o.subtreeFlags=0,o.deletions=null,o.memoizedProps=i.memoizedProps,o.memoizedState=i.memoizedState,o.updateQueue=i.updateQueue,o.type=i.type,e=i.dependencies,o.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return ue(ve,ve.current&1|2),t.child}e=e.sibling}o.tail!==null&&Te()>so&&(t.flags|=128,r=!0,No(o,!1),t.lanes=4194304)}else{if(!r)if(e=fl(i),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),No(o,!0),o.tail===null&&o.tailMode==="hidden"&&!i.alternate&&!ge)return We(t),null}else 2*Te()-o.renderingStartTime>so&&n!==1073741824&&(t.flags|=128,r=!0,No(o,!1),t.lanes=4194304);o.isBackwards?(i.sibling=t.child,t.child=i):(n=o.last,n!==null?n.sibling=i:t.child=i,o.last=i)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=Te(),t.sibling=null,n=ve.current,ue(ve,r?n&1|2:n&1),t):(We(t),null);case 22:case 23:return nh(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?xt&1073741824&&(We(t),t.subtreeFlags&6&&(t.flags|=8192)):We(t),null;case 24:return null;case 25:return null}throw Error(D(156,t.tag))}function q4(e,t){switch(Of(t),t.tag){case 1:return dt(t.type)&&ol(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return no(),me(ut),me(Qe),Wf(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Hf(t),null;case 13:if(me(ve),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(D(340));eo()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return me(ve),null;case 4:return no(),null;case 10:return _f(t.type._context),null;case 22:case 23:return nh(),null;case 24:return null;default:return null}}var ha=!1,Ke=!1,X4=typeof WeakSet=="function"?WeakSet:Set,V=null;function As(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){ke(e,t,r)}else n.current=null}function md(e,t,n){try{n()}catch(r){ke(e,t,r)}}var c0=!1;function Z4(e,t){if(Zu=tl,e=X2(),If(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 i=0,a=-1,l=-1,c=0,d=0,f=e,h=null;t:for(;;){for(var p;f!==n||s!==0&&f.nodeType!==3||(a=i+s),f!==o||r!==0&&f.nodeType!==3||(l=i+r),f.nodeType===3&&(i+=f.nodeValue.length),(p=f.firstChild)!==null;)h=f,f=p;for(;;){if(f===e)break t;if(h===n&&++c===s&&(a=i),h===o&&++d===r&&(l=i),(p=f.nextSibling)!==null)break;f=h,h=f.parentNode}f=p}n=a===-1||l===-1?null:{start:a,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(Ju={focusedElem:e,selectionRange:n},tl=!1,V=t;V!==null;)if(t=V,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,V=e;else for(;V!==null;){t=V;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 y=v.memoizedProps,w=v.memoizedState,m=t.stateNode,g=m.getSnapshotBeforeUpdate(t.elementType===t.type?y:Qt(t.type,y),w);m.__reactInternalSnapshotBeforeUpdate=g}break;case 3:var x=t.stateNode.containerInfo;x.nodeType===1?x.textContent="":x.nodeType===9&&x.documentElement&&x.removeChild(x.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(D(163))}}catch(S){ke(t,t.return,S)}if(e=t.sibling,e!==null){e.return=t.return,V=e;break}V=t.return}return v=c0,c0=!1,v}function Ko(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&&md(t,n,o)}s=s.next}while(s!==r)}}function Yl(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 gd(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 K1(e){var t=e.alternate;t!==null&&(e.alternate=null,K1(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[wn],delete t[pi],delete t[nd],delete t[I4],delete t[D4])),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 Q1(e){return e.tag===5||e.tag===3||e.tag===4}function u0(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Q1(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=sl));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 vd(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(vd(e,t,n),e=e.sibling;e!==null;)vd(e,t,n),e=e.sibling}var Be=null,Zt=!1;function Xn(e,t,n){for(n=n.child;n!==null;)Y1(e,t,n),n=n.sibling}function Y1(e,t,n){if(Sn&&typeof Sn.onCommitFiberUnmount=="function")try{Sn.onCommitFiberUnmount(zl,n)}catch{}switch(n.tag){case 5:Ke||As(n,t);case 6:var r=Be,s=Zt;Be=null,Xn(e,t,n),Be=r,Zt=s,Be!==null&&(Zt?(e=Be,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Be.removeChild(n.stateNode));break;case 18:Be!==null&&(Zt?(e=Be,n=n.stateNode,e.nodeType===8?Qc(e.parentNode,n):e.nodeType===1&&Qc(e,n),ci(e)):Qc(Be,n.stateNode));break;case 4:r=Be,s=Zt,Be=n.stateNode.containerInfo,Zt=!0,Xn(e,t,n),Be=r,Zt=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,i=o.destroy;o=o.tag,i!==void 0&&(o&2||o&4)&&md(n,t,i),s=s.next}while(s!==r)}Xn(e,t,n);break;case 1:if(!Ke&&(As(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){ke(n,t,a)}Xn(e,t,n);break;case 21:Xn(e,t,n);break;case 22:n.mode&1?(Ke=(r=Ke)||n.memoizedState!==null,Xn(e,t,n),Ke=r):Xn(e,t,n);break;default:Xn(e,t,n)}}function d0(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new X4),t.forEach(function(r){var s=a5.bind(null,e,r);n.has(r)||(n.add(r),r.then(s,s))})}}function Ht(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,i=t,a=i;e:for(;a!==null;){switch(a.tag){case 5:Be=a.stateNode,Zt=!1;break e;case 3:Be=a.stateNode.containerInfo,Zt=!0;break e;case 4:Be=a.stateNode.containerInfo,Zt=!0;break e}a=a.return}if(Be===null)throw Error(D(160));Y1(o,i,s),Be=null,Zt=!1;var l=s.alternate;l!==null&&(l.return=null),s.return=null}catch(c){ke(s,t,c)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)q1(t,e),t=t.sibling}function q1(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Ht(t,e),hn(e),r&4){try{Ko(3,e,e.return),Yl(3,e)}catch(y){ke(e,e.return,y)}try{Ko(5,e,e.return)}catch(y){ke(e,e.return,y)}}break;case 1:Ht(t,e),hn(e),r&512&&n!==null&&As(n,n.return);break;case 5:if(Ht(t,e),hn(e),r&512&&n!==null&&As(n,n.return),e.flags&32){var s=e.stateNode;try{oi(s,"")}catch(y){ke(e,e.return,y)}}if(r&4&&(s=e.stateNode,s!=null)){var o=e.memoizedProps,i=n!==null?n.memoizedProps:o,a=e.type,l=e.updateQueue;if(e.updateQueue=null,l!==null)try{a==="input"&&o.type==="radio"&&o.name!=null&&v2(s,o),$u(a,i);var c=$u(a,o);for(i=0;i<l.length;i+=2){var d=l[i],f=l[i+1];d==="style"?C2(s,f):d==="dangerouslySetInnerHTML"?b2(s,f):d==="children"?oi(s,f):bf(s,d,f,c)}switch(a){case"input":Fu(s,o);break;case"textarea":x2(s,o);break;case"select":var h=s._wrapperState.wasMultiple;s._wrapperState.wasMultiple=!!o.multiple;var p=o.value;p!=null?Ds(s,!!o.multiple,p,!1):h!==!!o.multiple&&(o.defaultValue!=null?Ds(s,!!o.multiple,o.defaultValue,!0):Ds(s,!!o.multiple,o.multiple?[]:"",!1))}s[pi]=o}catch(y){ke(e,e.return,y)}}break;case 6:if(Ht(t,e),hn(e),r&4){if(e.stateNode===null)throw Error(D(162));s=e.stateNode,o=e.memoizedProps;try{s.nodeValue=o}catch(y){ke(e,e.return,y)}}break;case 3:if(Ht(t,e),hn(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{ci(t.containerInfo)}catch(y){ke(e,e.return,y)}break;case 4:Ht(t,e),hn(e);break;case 13:Ht(t,e),hn(e),s=e.child,s.flags&8192&&(o=s.memoizedState!==null,s.stateNode.isHidden=o,!o||s.alternate!==null&&s.alternate.memoizedState!==null||(eh=Te())),r&4&&d0(e);break;case 22:if(d=n!==null&&n.memoizedState!==null,e.mode&1?(Ke=(c=Ke)||d,Ht(t,e),Ke=c):Ht(t,e),hn(e),r&8192){if(c=e.memoizedState!==null,(e.stateNode.isHidden=c)&&!d&&e.mode&1)for(V=e,d=e.child;d!==null;){for(f=V=d;V!==null;){switch(h=V,p=h.child,h.tag){case 0:case 11:case 14:case 15:Ko(4,h,h.return);break;case 1:As(h,h.return);var v=h.stateNode;if(typeof v.componentWillUnmount=="function"){r=h,n=h.return;try{t=r,v.props=t.memoizedProps,v.state=t.memoizedState,v.componentWillUnmount()}catch(y){ke(r,n,y)}}break;case 5:As(h,h.return);break;case 22:if(h.memoizedState!==null){h0(f);continue}}p!==null?(p.return=h,V=p):h0(f)}d=d.sibling}e:for(d=null,f=e;;){if(f.tag===5){if(d===null){d=f;try{s=f.stateNode,c?(o=s.style,typeof o.setProperty=="function"?o.setProperty("display","none","important"):o.display="none"):(a=f.stateNode,l=f.memoizedProps.style,i=l!=null&&l.hasOwnProperty("display")?l.display:null,a.style.display=S2("display",i))}catch(y){ke(e,e.return,y)}}}else if(f.tag===6){if(d===null)try{f.stateNode.nodeValue=c?"":f.memoizedProps}catch(y){ke(e,e.return,y)}}else if((f.tag!==22&&f.tag!==23||f.memoizedState===null||f===e)&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;f.sibling===null;){if(f.return===null||f.return===e)break e;d===f&&(d=null),f=f.return}d===f&&(d=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:Ht(t,e),hn(e),r&4&&d0(e);break;case 21:break;default:Ht(t,e),hn(e)}}function hn(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(Q1(n)){var r=n;break e}n=n.return}throw Error(D(160))}switch(r.tag){case 5:var s=r.stateNode;r.flags&32&&(oi(s,""),r.flags&=-33);var o=u0(e);vd(e,o,s);break;case 3:case 4:var i=r.stateNode.containerInfo,a=u0(e);yd(e,a,i);break;default:throw Error(D(161))}}catch(l){ke(e,e.return,l)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function J4(e,t,n){V=e,X1(e)}function X1(e,t,n){for(var r=(e.mode&1)!==0;V!==null;){var s=V,o=s.child;if(s.tag===22&&r){var i=s.memoizedState!==null||ha;if(!i){var a=s.alternate,l=a!==null&&a.memoizedState!==null||Ke;a=ha;var c=Ke;if(ha=i,(Ke=l)&&!c)for(V=s;V!==null;)i=V,l=i.child,i.tag===22&&i.memoizedState!==null?p0(s):l!==null?(l.return=i,V=l):p0(s);for(;o!==null;)V=o,X1(o),o=o.sibling;V=s,ha=a,Ke=c}f0(e)}else s.subtreeFlags&8772&&o!==null?(o.return=s,V=o):f0(e)}}function f0(e){for(;V!==null;){var t=V;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:Ke||Yl(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:Qt(t.type,n.memoizedProps);r.componentDidUpdate(s,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var o=t.updateQueue;o!==null&&qp(t,o,r);break;case 3:var i=t.updateQueue;if(i!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}qp(t,i,n)}break;case 5:var a=t.stateNode;if(n===null&&t.flags&4){n=a;var l=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":l.autoFocus&&n.focus();break;case"img":l.src&&(n.src=l.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var c=t.alternate;if(c!==null){var d=c.memoizedState;if(d!==null){var f=d.dehydrated;f!==null&&ci(f)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(D(163))}Ke||t.flags&512&&gd(t)}catch(h){ke(t,t.return,h)}}if(t===e){V=null;break}if(n=t.sibling,n!==null){n.return=t.return,V=n;break}V=t.return}}function h0(e){for(;V!==null;){var t=V;if(t===e){V=null;break}var n=t.sibling;if(n!==null){n.return=t.return,V=n;break}V=t.return}}function p0(e){for(;V!==null;){var t=V;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{Yl(4,t)}catch(l){ke(t,n,l)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var s=t.return;try{r.componentDidMount()}catch(l){ke(t,s,l)}}var o=t.return;try{gd(t)}catch(l){ke(t,o,l)}break;case 5:var i=t.return;try{gd(t)}catch(l){ke(t,i,l)}}}catch(l){ke(t,t.return,l)}if(t===e){V=null;break}var a=t.sibling;if(a!==null){a.return=t.return,V=a;break}V=t.return}}var e5=Math.ceil,ml=Un.ReactCurrentDispatcher,Zf=Un.ReactCurrentOwner,Lt=Un.ReactCurrentBatchConfig,ne=0,Ve=null,Ne=null,ze=0,xt=0,Ms=Ir(0),Ie=0,wi=null,is=0,ql=0,Jf=0,Qo=null,lt=null,eh=0,so=1/0,Mn=null,gl=!1,xd=null,br=null,pa=!1,hr=null,yl=0,Yo=0,wd=null,Fa=-1,Va=0;function nt(){return ne&6?Te():Fa!==-1?Fa:Fa=Te()}function Sr(e){return e.mode&1?ne&2&&ze!==0?ze&-ze:F4.transition!==null?(Va===0&&(Va=D2()),Va):(e=ae,e!==0||(e=window.event,e=e===void 0?16:$2(e.type)),e):1}function nn(e,t,n,r){if(50<Yo)throw Yo=0,wd=null,Error(D(185));Ii(e,n,r),(!(ne&2)||e!==Ve)&&(e===Ve&&(!(ne&2)&&(ql|=n),Ie===4&&ir(e,ze)),ft(e,r),n===1&&ne===0&&!(t.mode&1)&&(so=Te()+500,Gl&&Dr()))}function ft(e,t){var n=e.callbackNode;F3(e,t);var r=el(e,e===Ve?ze:0);if(r===0)n!==null&&Cp(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&Cp(n),t===1)e.tag===0?O4(m0.bind(null,e)):a1(m0.bind(null,e)),R4(function(){!(ne&6)&&Dr()}),n=null;else{switch(O2(r)){case 1:n=Tf;break;case 4:n=L2;break;case 16:n=Ja;break;case 536870912:n=I2;break;default:n=Ja}n=oy(n,Z1.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function Z1(e,t){if(Fa=-1,Va=0,ne&6)throw Error(D(327));var n=e.callbackNode;if(_s()&&e.callbackNode!==n)return null;var r=el(e,e===Ve?ze:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=vl(e,r);else{t=r;var s=ne;ne|=2;var o=ey();(Ve!==e||ze!==t)&&(Mn=null,so=Te()+500,Jr(e,t));do try{r5();break}catch(a){J1(e,a)}while(!0);Bf(),ml.current=o,ne=s,Ne!==null?t=0:(Ve=null,ze=0,t=Ie)}if(t!==0){if(t===2&&(s=Ku(e),s!==0&&(r=s,t=bd(e,s))),t===1)throw n=wi,Jr(e,0),ir(e,r),ft(e,Te()),n;if(t===6)ir(e,r);else{if(s=e.current.alternate,!(r&30)&&!t5(s)&&(t=vl(e,r),t===2&&(o=Ku(e),o!==0&&(r=o,t=bd(e,o))),t===1))throw n=wi,Jr(e,0),ir(e,r),ft(e,Te()),n;switch(e.finishedWork=s,e.finishedLanes=r,t){case 0:case 1:throw Error(D(345));case 2:_r(e,lt,Mn);break;case 3:if(ir(e,r),(r&130023424)===r&&(t=eh+500-Te(),10<t)){if(el(e,0)!==0)break;if(s=e.suspendedLanes,(s&r)!==r){nt(),e.pingedLanes|=e.suspendedLanes&s;break}e.timeoutHandle=td(_r.bind(null,e,lt,Mn),t);break}_r(e,lt,Mn);break;case 4:if(ir(e,r),(r&4194240)===r)break;for(t=e.eventTimes,s=-1;0<r;){var i=31-tn(r);o=1<<i,i=t[i],i>s&&(s=i),r&=~o}if(r=s,r=Te()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*e5(r/1960))-r,10<r){e.timeoutHandle=td(_r.bind(null,e,lt,Mn),r);break}_r(e,lt,Mn);break;case 5:_r(e,lt,Mn);break;default:throw Error(D(329))}}}return ft(e,Te()),e.callbackNode===n?Z1.bind(null,e):null}function bd(e,t){var n=Qo;return e.current.memoizedState.isDehydrated&&(Jr(e,t).flags|=256),e=vl(e,t),e!==2&&(t=lt,lt=n,t!==null&&Sd(t)),e}function Sd(e){lt===null?lt=e:lt.push.apply(lt,e)}function t5(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(!on(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 ir(e,t){for(t&=~Jf,t&=~ql,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-tn(t),r=1<<n;e[n]=-1,t&=~r}}function m0(e){if(ne&6)throw Error(D(327));_s();var t=el(e,0);if(!(t&1))return ft(e,Te()),null;var n=vl(e,t);if(e.tag!==0&&n===2){var r=Ku(e);r!==0&&(t=r,n=bd(e,r))}if(n===1)throw n=wi,Jr(e,0),ir(e,t),ft(e,Te()),n;if(n===6)throw Error(D(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,_r(e,lt,Mn),ft(e,Te()),null}function th(e,t){var n=ne;ne|=1;try{return e(t)}finally{ne=n,ne===0&&(so=Te()+500,Gl&&Dr())}}function as(e){hr!==null&&hr.tag===0&&!(ne&6)&&_s();var t=ne;ne|=1;var n=Lt.transition,r=ae;try{if(Lt.transition=null,ae=1,e)return e()}finally{ae=r,Lt.transition=n,ne=t,!(ne&6)&&Dr()}}function nh(){xt=Ms.current,me(Ms)}function Jr(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,M4(n)),Ne!==null)for(n=Ne.return;n!==null;){var r=n;switch(Of(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&ol();break;case 3:no(),me(ut),me(Qe),Wf();break;case 5:Hf(r);break;case 4:no();break;case 13:me(ve);break;case 19:me(ve);break;case 10:_f(r.type._context);break;case 22:case 23:nh()}n=n.return}if(Ve=e,Ne=e=Cr(e.current,null),ze=xt=t,Ie=0,wi=null,Jf=ql=is=0,lt=Qo=null,Ur!==null){for(t=0;t<Ur.length;t++)if(n=Ur[t],r=n.interleaved,r!==null){n.interleaved=null;var s=r.next,o=n.pending;if(o!==null){var i=o.next;o.next=s,r.next=i}n.pending=r}Ur=null}return e}function J1(e,t){do{var n=Ne;try{if(Bf(),Ia.current=pl,hl){for(var r=we.memoizedState;r!==null;){var s=r.queue;s!==null&&(s.pending=null),r=r.next}hl=!1}if(os=0,Fe=Re=we=null,Go=!1,yi=0,Zf.current=null,n===null||n.return===null){Ie=1,wi=t,Ne=null;break}e:{var o=e,i=n.return,a=n,l=t;if(t=ze,a.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){var c=l,d=a,f=d.tag;if(!(d.mode&1)&&(f===0||f===11||f===15)){var h=d.alternate;h?(d.updateQueue=h.updateQueue,d.memoizedState=h.memoizedState,d.lanes=h.lanes):(d.updateQueue=null,d.memoizedState=null)}var p=n0(i);if(p!==null){p.flags&=-257,r0(p,i,a,o,t),p.mode&1&&t0(o,c,t),t=p,l=c;var v=t.updateQueue;if(v===null){var y=new Set;y.add(l),t.updateQueue=y}else v.add(l);break e}else{if(!(t&1)){t0(o,c,t),rh();break e}l=Error(D(426))}}else if(ge&&a.mode&1){var w=n0(i);if(w!==null){!(w.flags&65536)&&(w.flags|=256),r0(w,i,a,o,t),Ff(ro(l,a));break e}}o=l=ro(l,a),Ie!==4&&(Ie=2),Qo===null?Qo=[o]:Qo.push(o),o=i;do{switch(o.tag){case 3:o.flags|=65536,t&=-t,o.lanes|=t;var m=O1(o,l,t);Yp(o,m);break e;case 1:a=l;var g=o.type,x=o.stateNode;if(!(o.flags&128)&&(typeof g.getDerivedStateFromError=="function"||x!==null&&typeof x.componentDidCatch=="function"&&(br===null||!br.has(x)))){o.flags|=65536,t&=-t,o.lanes|=t;var S=F1(o,a,t);Yp(o,S);break e}}o=o.return}while(o!==null)}ny(n)}catch(C){t=C,Ne===n&&n!==null&&(Ne=n=n.return);continue}break}while(!0)}function ey(){var e=ml.current;return ml.current=pl,e===null?pl:e}function rh(){(Ie===0||Ie===3||Ie===2)&&(Ie=4),Ve===null||!(is&268435455)&&!(ql&268435455)||ir(Ve,ze)}function vl(e,t){var n=ne;ne|=2;var r=ey();(Ve!==e||ze!==t)&&(Mn=null,Jr(e,t));do try{n5();break}catch(s){J1(e,s)}while(!0);if(Bf(),ne=n,ml.current=r,Ne!==null)throw Error(D(261));return Ve=null,ze=0,Ie}function n5(){for(;Ne!==null;)ty(Ne)}function r5(){for(;Ne!==null&&!j3();)ty(Ne)}function ty(e){var t=sy(e.alternate,e,xt);e.memoizedProps=e.pendingProps,t===null?ny(e):Ne=t,Zf.current=null}function ny(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=q4(n,t),n!==null){n.flags&=32767,Ne=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Ie=6,Ne=null;return}}else if(n=Y4(n,t,xt),n!==null){Ne=n;return}if(t=t.sibling,t!==null){Ne=t;return}Ne=t=e}while(t!==null);Ie===0&&(Ie=5)}function _r(e,t,n){var r=ae,s=Lt.transition;try{Lt.transition=null,ae=1,s5(e,t,n,r)}finally{Lt.transition=s,ae=r}return null}function s5(e,t,n,r){do _s();while(hr!==null);if(ne&6)throw Error(D(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(D(177));e.callbackNode=null,e.callbackPriority=0;var o=n.lanes|n.childLanes;if(V3(e,o),e===Ve&&(Ne=Ve=null,ze=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||pa||(pa=!0,oy(Ja,function(){return _s(),null})),o=(n.flags&15990)!==0,n.subtreeFlags&15990||o){o=Lt.transition,Lt.transition=null;var i=ae;ae=1;var a=ne;ne|=4,Zf.current=null,Z4(e,n),q1(n,e),E4(Ju),tl=!!Zu,Ju=Zu=null,e.current=n,J4(n),N3(),ne=a,ae=i,Lt.transition=o}else e.current=n;if(pa&&(pa=!1,hr=e,yl=s),o=e.pendingLanes,o===0&&(br=null),R3(n.stateNode),ft(e,Te()),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(gl)throw gl=!1,e=xd,xd=null,e;return yl&1&&e.tag!==0&&_s(),o=e.pendingLanes,o&1?e===wd?Yo++:(Yo=0,wd=e):Yo=0,Dr(),null}function _s(){if(hr!==null){var e=O2(yl),t=Lt.transition,n=ae;try{if(Lt.transition=null,ae=16>e?16:e,hr===null)var r=!1;else{if(e=hr,hr=null,yl=0,ne&6)throw Error(D(331));var s=ne;for(ne|=4,V=e.current;V!==null;){var o=V,i=o.child;if(V.flags&16){var a=o.deletions;if(a!==null){for(var l=0;l<a.length;l++){var c=a[l];for(V=c;V!==null;){var d=V;switch(d.tag){case 0:case 11:case 15:Ko(8,d,o)}var f=d.child;if(f!==null)f.return=d,V=f;else for(;V!==null;){d=V;var h=d.sibling,p=d.return;if(K1(d),d===c){V=null;break}if(h!==null){h.return=p,V=h;break}V=p}}}var v=o.alternate;if(v!==null){var y=v.child;if(y!==null){v.child=null;do{var w=y.sibling;y.sibling=null,y=w}while(y!==null)}}V=o}}if(o.subtreeFlags&2064&&i!==null)i.return=o,V=i;else e:for(;V!==null;){if(o=V,o.flags&2048)switch(o.tag){case 0:case 11:case 15:Ko(9,o,o.return)}var m=o.sibling;if(m!==null){m.return=o.return,V=m;break e}V=o.return}}var g=e.current;for(V=g;V!==null;){i=V;var x=i.child;if(i.subtreeFlags&2064&&x!==null)x.return=i,V=x;else e:for(i=g;V!==null;){if(a=V,a.flags&2048)try{switch(a.tag){case 0:case 11:case 15:Yl(9,a)}}catch(C){ke(a,a.return,C)}if(a===i){V=null;break e}var S=a.sibling;if(S!==null){S.return=a.return,V=S;break e}V=a.return}}if(ne=s,Dr(),Sn&&typeof Sn.onPostCommitFiberRoot=="function")try{Sn.onPostCommitFiberRoot(zl,e)}catch{}r=!0}return r}finally{ae=n,Lt.transition=t}}return!1}function g0(e,t,n){t=ro(n,t),t=O1(e,t,1),e=wr(e,t,1),t=nt(),e!==null&&(Ii(e,1,t),ft(e,t))}function ke(e,t,n){if(e.tag===3)g0(e,e,n);else for(;t!==null;){if(t.tag===3){g0(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(br===null||!br.has(r))){e=ro(n,e),e=F1(t,e,1),t=wr(t,e,1),e=nt(),t!==null&&(Ii(t,1,e),ft(t,e));break}}t=t.return}}function o5(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=nt(),e.pingedLanes|=e.suspendedLanes&n,Ve===e&&(ze&n)===n&&(Ie===4||Ie===3&&(ze&130023424)===ze&&500>Te()-eh?Jr(e,0):Jf|=n),ft(e,t)}function ry(e,t){t===0&&(e.mode&1?(t=sa,sa<<=1,!(sa&130023424)&&(sa=4194304)):t=1);var n=nt();e=Bn(e,t),e!==null&&(Ii(e,t,n),ft(e,n))}function i5(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),ry(e,n)}function a5(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(D(314))}r!==null&&r.delete(t),ry(e,n)}var sy;sy=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||ut.current)ct=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return ct=!1,Q4(e,t,n);ct=!!(e.flags&131072)}else ct=!1,ge&&t.flags&1048576&&l1(t,ll,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Oa(e,t),e=t.pendingProps;var s=Js(t,Qe.current);Bs(t,n),s=Kf(null,t,r,e,s,n);var o=Qf();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,dt(r)?(o=!0,il(t)):o=!1,t.memoizedState=s.state!==null&&s.state!==void 0?s.state:null,$f(t),s.updater=Ql,t.stateNode=s,s._reactInternals=t,ld(t,r,e,n),t=dd(null,t,r,!0,o,n)):(t.tag=0,ge&&o&&Df(t),Ze(null,t,s,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Oa(e,t),e=t.pendingProps,s=r._init,r=s(r._payload),t.type=r,s=t.tag=c5(r),e=Qt(r,e),s){case 0:t=ud(null,t,r,e,n);break e;case 1:t=i0(null,t,r,e,n);break e;case 11:t=s0(null,t,r,e,n);break e;case 14:t=o0(null,t,r,Qt(r.type,e),n);break e}throw Error(D(306,r,""))}return t;case 0:return r=t.type,s=t.pendingProps,s=t.elementType===r?s:Qt(r,s),ud(e,t,r,s,n);case 1:return r=t.type,s=t.pendingProps,s=t.elementType===r?s:Qt(r,s),i0(e,t,r,s,n);case 3:e:{if(z1(t),e===null)throw Error(D(387));
vendor: 4,912 bytes, line 40
40r=t.pendingProps,o=t.memoizedState,s=o.element,p1(e,t),dl(t,r,null,n);var i=t.memoizedState;if(r=i.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){s=ro(Error(D(423)),t),t=a0(e,t,r,n,s);break e}else if(r!==s){s=ro(Error(D(424)),t),t=a0(e,t,r,n,s);break e}else for(bt=xr(t.stateNode.containerInfo.firstChild),St=t,ge=!0,Jt=null,n=f1(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(eo(),r===s){t=_n(e,t,n);break e}Ze(e,t,r,n)}t=t.child}return t;case 5:return m1(t),e===null&&od(t),r=t.type,s=t.pendingProps,o=e!==null?e.memoizedProps:null,i=s.children,ed(r,s)?i=null:o!==null&&ed(r,o)&&(t.flags|=32),_1(e,t),Ze(e,t,i,n),t.child;case 6:return e===null&&od(t),null;case 13:return $1(e,t,n);case 4:return Uf(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=to(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:Qt(r,s),s0(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,i=s.value,ue(cl,r._currentValue),r._currentValue=i,o!==null)if(on(o.value,i)){if(o.children===s.children&&!ut.current){t=_n(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var a=o.dependencies;if(a!==null){i=o.child;for(var l=a.firstContext;l!==null;){if(l.context===r){if(o.tag===1){l=On(-1,n&-n),l.tag=2;var c=o.updateQueue;if(c!==null){c=c.shared;var d=c.pending;d===null?l.next=l:(l.next=d.next,d.next=l),c.pending=l}}o.lanes|=n,l=o.alternate,l!==null&&(l.lanes|=n),id(o.return,n,t),a.lanes|=n;break}l=l.next}}else if(o.tag===10)i=o.type===t.type?null:o.child;else if(o.tag===18){if(i=o.return,i===null)throw Error(D(341));i.lanes|=n,a=i.alternate,a!==null&&(a.lanes|=n),id(i,n,t),i=o.sibling}else i=o.child;if(i!==null)i.return=o;else for(i=o;i!==null;){if(i===t){i=null;break}if(o=i.sibling,o!==null){o.return=i.return,i=o;break}i=i.return}o=i}Ze(e,t,s.children,n),t=t.child}return t;case 9:return s=t.type,r=t.pendingProps.children,Bs(t,n),s=It(s),r=r(s),t.flags|=1,Ze(e,t,r,n),t.child;case 14:return r=t.type,s=Qt(r,t.pendingProps),s=Qt(r.type,s),o0(e,t,r,s,n);case 15:return V1(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,s=t.pendingProps,s=t.elementType===r?s:Qt(r,s),Oa(e,t),t.tag=1,dt(r)?(e=!0,il(t)):e=!1,Bs(t,n),D1(t,r,s),ld(t,r,s,n),dd(null,t,r,!0,e,n);case 19:return U1(e,t,n);case 22:return B1(e,t,n)}throw Error(D(156,t.tag))};function oy(e,t){return R2(e,t)}function l5(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 Mt(e,t,n,r){return new l5(e,t,n,r)}function sh(e){return e=e.prototype,!(!e||!e.isReactComponent)}function c5(e){if(typeof e=="function")return sh(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Cf)return 11;if(e===Ef)return 14}return 2}function Cr(e,t){var n=e.alternate;return n===null?(n=Mt(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.dependencies,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 Ba(e,t,n,r,s,o){var i=2;if(r=e,typeof e=="function")sh(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case bs:return es(n.children,s,o,t);case Sf:i=8,s|=8;break;case Ru:return e=Mt(12,n,t,s|2),e.elementType=Ru,e.lanes=o,e;case Lu:return e=Mt(13,n,t,s),e.elementType=Lu,e.lanes=o,e;case Iu:return e=Mt(19,n,t,s),e.elementType=Iu,e.lanes=o,e;case m2:return Xl(n,s,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case h2:i=10;break e;case p2:i=9;break e;case Cf:i=11;break e;case Ef:i=14;break e;case rr:i=16,r=null;break e}throw Error(D(130,e==null?e:typeof e,""))}return t=Mt(i,n,t,s),t.elementType=e,t.type=r,t.lanes=o,t}function es(e,t,n,r){return e=Mt(7,e,r,t),e.lanes=n,e}function Xl(e,t,n,r){return e=Mt(22,e,r,t),e.elementType=m2,e.lanes=n,e.stateNode={isHidden:!1},e}function nu(e,t,n){return e=Mt(6,e,null,t),e.lanes=n,e}function ru(e,t,n){return t=Mt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}
vendor: 4,174 bytes, line 40
40function u5(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=Fc(0),this.expirationTimes=Fc(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Fc(0),this.identifierPrefix=r,this.onRecoverableError=s,this.mutableSourceEagerHydrationData=null}function oh(e,t,n,r,s,o,i,a,l){return e=new u5(e,t,n,a,l),t===1?(t=1,o===!0&&(t|=8)):t=0,o=Mt(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},$f(o),e}function d5(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:ws,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function iy(e){if(!e)return kr;e=e._reactInternals;e:{if(ds(e)!==e||e.tag!==1)throw Error(D(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(dt(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(D(171))}if(e.tag===1){var n=e.type;if(dt(n))return i1(e,n,t)}return t}function ay(e,t,n,r,s,o,i,a,l){return e=oh(n,r,!0,e,s,o,i,a,l),e.context=iy(null),n=e.current,r=nt(),s=Sr(n),o=On(r,s),o.callback=t??null,wr(n,o,s),e.current.lanes=s,Ii(e,s,r),ft(e,r),e}function Zl(e,t,n,r){var s=t.current,o=nt(),i=Sr(s);return n=iy(n),t.context===null?t.context=n:t.pendingContext=n,t=On(o,i),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=wr(s,t,i),e!==null&&(nn(e,s,i,o),La(e,s,i)),i}function xl(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 y0(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function ih(e,t){y0(e,t),(e=e.alternate)&&y0(e,t)}function f5(){return null}var ly=typeof reportError=="function"?reportError:function(e){console.error(e)};function ah(e){this._internalRoot=e}Jl.prototype.render=ah.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(D(409));Zl(e,t,null,null)};Jl.prototype.unmount=ah.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;as(function(){Zl(null,e,null,null)}),t[Vn]=null}};function Jl(e){this._internalRoot=e}Jl.prototype.unstable_scheduleHydration=function(e){if(e){var t=B2();e={blockedOn:null,target:e,priority:t};for(var n=0;n<or.length&&t!==0&&t<or[n].priority;n++);or.splice(n,0,e),n===0&&z2(e)}};function lh(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function ec(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function v0(){}function h5(e,t,n,r,s){if(s){if(typeof r=="function"){var o=r;r=function(){var c=xl(i);o.call(c)}}var i=ay(t,r,e,0,null,!1,!1,"",v0);return e._reactRootContainer=i,e[Vn]=i.current,fi(e.nodeType===8?e.parentNode:e),as(),i}for(;s=e.lastChild;)e.removeChild(s);if(typeof r=="function"){var a=r;r=function(){var c=xl(l);a.call(c)}}var l=oh(e,0,!1,null,null,!1,!1,"",v0);return e._reactRootContainer=l,e[Vn]=l.current,fi(e.nodeType===8?e.parentNode:e),as(function(){Zl(t,l,n,r)}),l}function tc(e,t,n,r,s){var o=n._reactRootContainer;if(o){var i=o;if(typeof s=="function"){var a=s;s=function(){var l=xl(i);a.call(l)}}Zl(t,i,e,s)}else i=h5(n,t,e,s,r);return xl(i)}F2=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Oo(t.pendingLanes);n!==0&&(Pf(t,n|1),ft(t,Te()),!(ne&6)&&(so=Te()+500,Dr()))}break;case 13:as(function(){var r=Bn(e,1);if(r!==null){var s=nt();nn(r,e,1,s)}}),ih(e,1)}};jf=function(e){if(e.tag===13){var t=Bn(e,134217728);if(t!==null){var n=nt();nn(t,e,134217728,n)}ih(e,134217728)}};V2=function(e){if(e.tag===13){var t=Sr(e),n=Bn(e,t);if(n!==null){var r=nt();nn(n,e,t,r)}ih(e,t)}};B2=function(){return ae};_2=function(e,t){var n=ae;try{return ae=e,t()}finally{ae=n}};
40Hu=function(e,t,n){switch(t){case"input":if(Fu(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=Wl(r);if(!s)throw Error(D(90));y2(r),Fu(r,s)}}}break;case"textarea":x2(e,n);break;case"select":t=n.value,t!=null&&Ds(e,!!n.multiple,t,!1)}};T2=th;P2=as;var p5={usingClientEntryPoint:!1,Events:[Oi,ks,Wl,E2,k2,th]},Ao={findFiberByHostInstance:$r,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},m5={bundleType:Ao.bundleType,version:Ao.version,rendererPackageName:Ao.rendererPackageName,rendererConfig:Ao.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Un.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=A2(e),e===null?null:e.stateNode},findFiberByHostInstance:Ao.findFiberByHostInstance||f5,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 ma=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ma.isDisabled&&ma.supportsFiber)try{zl=ma.inject(m5),Sn=ma}catch{}}kt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=p5;kt.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!lh(t))throw Error(D(200));return d5(e,t,null,n)};kt.createRoot=function(e,t){if(!lh(e))throw Error(D(299));var n=!1,r="",s=ly;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(s=t.onRecoverableError)),t=oh(e,1,!1,null,null,n,!1,r,s),e[Vn]=t.current,fi(e.nodeType===8?e.parentNode:e),new ah(t)};kt.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(D(188)):(e=Object.keys(e).join(","),Error(D(268,e)));return e=A2(t),e=e===null?null:e.stateNode,e};kt.flushSync=function(e){return as(e)};kt.hydrate=function(e,t,n){if(!ec(t))throw Error(D(200));return tc(null,e,t,!0,n)};kt.hydrateRoot=function(e,t,n){if(!lh(e))throw Error(D(405));var r=n!=null&&n.hydratedSources||null,s=!1,o="",i=ly;if(n!=null&&(n.unstable_strictMode===!0&&(s=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onRecoverableError!==void 0&&(i=n.onRecoverableError)),t=ay(t,null,e,1,n??null,s,!1,o,i),e[Vn]=t.current,fi(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 Jl(t)};kt.render=function(e,t,n){if(!ec(t))throw Error(D(200));return tc(null,e,t,!1,n)};kt.unmountComponentAtNode=function(e){if(!ec(e))throw Error(D(40));return e._reactRootContainer?(as(function(){tc(null,null,e,!1,function(){e._reactRootContainer=null,e[Vn]=null})}),!0):!1};kt.unstable_batchedUpdates=th;kt.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!ec(n))throw Error(D(200));if(e==null||e._reactInternals===void 0)throw Error(D(38));return tc(e,t,n,!1,r)};kt.version="18.3.1-next-f1338f8080-20240426";function cy(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(cy)}catch(e){console.error(e)}}cy(),c2.exports=kt;var Vi=c2.exports;const uy=qg(Vi);var dy,x0=Vi;dy=x0.createRoot,x0.hydrateRoot;var nc=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(){}},rc=typeof window>"u"||"Deno"in globalThis;function Yt(){}function g5(e,t){return typeof e=="function"?e(t):e}function y5(e){return typeof e=="number"&&e>=0&&e!==1/0}function v5(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Cd(e,t){return typeof e=="function"?e(t):e}function x5(e,t){return typeof e=="function"?e(t):e}function w0(e,t){const{type:n="all",exact:r,fetchStatus:s,predicate:o,queryKey:i,stale:a}=e;if(i){if(r){if(t.queryHash!==ch(i,t.options))return!1}else if(!Si(t.queryKey,i))return!1}if(n!=="all"){const l=t.isActive();if(n==="active"&&!l||n==="inactive"&&l)return!1}return!(typeof a=="boolean"&&t.isStale()!==a||s&&s!==t.state.fetchStatus||o&&!o(t))}function b0(e,t){const{exact:n,status:r,predicate:s,mutationKey:o}=e;if(o){if(!t.options.mutationKey)return!1;if(n){if(bi(t.options.mutationKey)!==bi(o))return!1}
vendor: 5,678 bytes, line 40
40else if(!Si(t.options.mutationKey,o))return!1}return!(r&&t.state.status!==r||s&&!s(t))}function ch(e,t){return((t==null?void 0:t.queryKeyHashFn)||bi)(e)}function bi(e){return JSON.stringify(e,(t,n)=>Ed(n)?Object.keys(n).sort().reduce((r,s)=>(r[s]=n[s],r),{}):n)}function Si(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>Si(e[n],t[n])):!1}function fy(e,t){if(e===t)return e;const n=S0(e)&&S0(t);if(n||Ed(e)&&Ed(t)){const r=n?e:Object.keys(e),s=r.length,o=n?t:Object.keys(t),i=o.length,a=n?[]:{},l=new Set(r);let c=0;for(let d=0;d<i;d++){const f=n?d:o[d];(!n&&l.has(f)||n)&&e[f]===void 0&&t[f]===void 0?(a[f]=void 0,c++):(a[f]=fy(e[f],t[f]),a[f]===e[f]&&e[f]!==void 0&&c++)}return s===i&&c===s?e:a}return t}function S0(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Ed(e){if(!C0(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!C0(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function C0(e){return Object.prototype.toString.call(e)==="[object Object]"}function w5(e){return new Promise(t=>{setTimeout(t,e)})}function b5(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?fy(e,t):t}function S5(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function C5(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var uh=Symbol();function hy(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===uh?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var Kr,ar,Hs,$g,E5=($g=class extends nc{constructor(){super();oe(this,Kr);oe(this,ar);oe(this,Hs);Z(this,Hs,t=>{if(!rc&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){M(this,ar)||this.setEventListener(M(this,Hs))}onUnsubscribe(){var t;this.hasListeners()||((t=M(this,ar))==null||t.call(this),Z(this,ar,void 0))}setEventListener(t){var n;Z(this,Hs,t),(n=M(this,ar))==null||n.call(this),Z(this,ar,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){M(this,Kr)!==t&&(Z(this,Kr,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof M(this,Kr)=="boolean"?M(this,Kr):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},Kr=new WeakMap,ar=new WeakMap,Hs=new WeakMap,$g),py=new E5,Ws,lr,Gs,Ug,k5=(Ug=class extends nc{constructor(){super();oe(this,Ws,!0);oe(this,lr);oe(this,Gs);Z(this,Gs,t=>{if(!rc&&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(){M(this,lr)||this.setEventListener(M(this,Gs))}onUnsubscribe(){var t;this.hasListeners()||((t=M(this,lr))==null||t.call(this),Z(this,lr,void 0))}setEventListener(t){var n;Z(this,Gs,t),(n=M(this,lr))==null||n.call(this),Z(this,lr,t(this.setOnline.bind(this)))}setOnline(t){M(this,Ws)!==t&&(Z(this,Ws,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return M(this,Ws)}},Ws=new WeakMap,lr=new WeakMap,Gs=new WeakMap,Ug),wl=new k5;function T5(){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 P5(e){return Math.min(1e3*2**e,3e4)}function my(e){return(e??"online")==="online"?wl.isOnline():!0}var gy=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function su(e){return e instanceof gy}function yy(e){let t=!1,n=0,r=!1,s;const o=T5(),i=y=>{var w;r||(h(new gy(y)),(w=e.abort)==null||w.call(e))},a=()=>{t=!0},l=()=>{t=!1},c=()=>py.isFocused()&&(e.networkMode==="always"||wl.isOnline())&&e.canRun(),d=()=>my(e.networkMode)&&e.canRun(),f=y=>{var w;r||(r=!0,(w=e.onSuccess)==null||w.call(e,y),s==null||s(),o.resolve(y))},h=y=>{var w;r||(r=!0,(w=e.onError)==null||w.call(e,y),s==null||s(),o.reject(y))},p=()=>new Promise(y=>{var w;s=m=>{(r||c())&&y(m)},(w=e.onPause)==null||w.call(e)}).then(()=>{var y;s=void 0,r||(y=e.onContinue)==null||y.call(e)}),v=()=>{if(r)return;let y;const w=n===0?e.initialPromise:void 0;try{y=w??e.fn()}catch(m){y=Promise.reject(m)}Promise.resolve(y).then(f).catch(m=>{var E;if(r)return;const g=e.retry??(rc?0:3),x=e.retryDelay??P5,S=typeof x=="function"?x(n,m):x,C=g===!0||typeof g=="number"&&n<g||typeof g=="function"&&g(n,m);if(t||!C){h(m);return}n++,(E=e.onFail)==null||E.call(e,n,m),w5(S).then(()=>c()?void 0:p()).then(()=>{t?h(m):v()})})};return{promise:o,cancel:i,continue:()=>(s==null||s(),o),cancelRetry:a,continueRetry:l,canStart:d,start:()=>(d()?v():p().then(v),o)}}var j5=e=>setTimeout(e,0);function N5(){let e=[],t=0,n=a=>{a()},r=a=>{a()},s=j5;const o=a=>{t?e.push(a):s(()=>{n(a)})},i=()=>{const a=e;e=[],a.length&&s(()=>{r(()=>{a.forEach(l=>{n(l)})})})};return{batch:a=>{let l;t++;try{l=a()}finally{t--,t||i()}return l},batchCalls:a=>(...l)=>{o(()=>{a(...l)})},schedule:o,setNotifyFunction:a=>{n=a},setBatchNotifyFunction:a=>{r=a},setScheduler:a=>{s=a}}}var Je=N5(),Qr,Hg,vy=(Hg=class{constructor(){oe(this,Qr)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),y5(this.gcTime)&&Z(this,Qr,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(rc?1/0:5*60*1e3))}
vendor: 2,831 bytes, line 40
40clearGcTimeout(){M(this,Qr)&&(clearTimeout(M(this,Qr)),Z(this,Qr,void 0))}},Qr=new WeakMap,Hg),Ks,Yr,jt,qr,Ge,Mi,Xr,qt,An,Wg,A5=(Wg=class extends vy{constructor(t){super();oe(this,qt);oe(this,Ks);oe(this,Yr);oe(this,jt);oe(this,qr);oe(this,Ge);oe(this,Mi);oe(this,Xr);Z(this,Xr,!1),Z(this,Mi,t.defaultOptions),this.setOptions(t.options),this.observers=[],Z(this,qr,t.client),Z(this,jt,M(this,qr).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,Z(this,Ks,R5(this.options)),this.state=t.state??M(this,Ks),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=M(this,Ge))==null?void 0:t.promise}setOptions(t){this.options={...M(this,Mi),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&M(this,jt).remove(this)}setData(t,n){const r=b5(this.state.data,t,this.options);return Ue(this,qt,An).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){Ue(this,qt,An).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,s;const n=(r=M(this,Ge))==null?void 0:r.promise;return(s=M(this,Ge))==null||s.cancel(t),n?n.then(Yt).catch(Yt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(M(this,Ks))}isActive(){return this.observers.some(t=>x5(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===uh||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>Cd(t.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(t=0){return this.state.data===void 0?!0:t==="static"?!1:this.state.isInvalidated?!0:!v5(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=M(this,Ge))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=M(this,Ge))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),M(this,jt).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(M(this,Ge)&&(M(this,Xr)?M(this,Ge).cancel({revert:!0}):M(this,Ge).cancelRetry()),this.scheduleGc()),M(this,jt).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Ue(this,qt,An).call(this,{type:"invalidate"})}
vendor: 14,124 bytes, line 40
40fetch(t,n){var c,d,f;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(M(this,Ge))return M(this,Ge).continueRetry(),M(this,Ge).promise}if(t&&this.setOptions(t),!this.options.queryFn){const h=this.observers.find(p=>p.options.queryFn);h&&this.setOptions(h.options)}const r=new AbortController,s=h=>{Object.defineProperty(h,"signal",{enumerable:!0,get:()=>(Z(this,Xr,!0),r.signal)})},o=()=>{const h=hy(this.options,n),v=(()=>{const y={client:M(this,qr),queryKey:this.queryKey,meta:this.meta};return s(y),y})();return Z(this,Xr,!1),this.options.persister?this.options.persister(h,v,this):h(v)},a=(()=>{const h={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:M(this,qr),state:this.state,fetchFn:o};return s(h),h})();(c=this.options.behavior)==null||c.onFetch(a,this),Z(this,Yr,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((d=a.fetchOptions)==null?void 0:d.meta))&&Ue(this,qt,An).call(this,{type:"fetch",meta:(f=a.fetchOptions)==null?void 0:f.meta});const l=h=>{var p,v,y,w;su(h)&&h.silent||Ue(this,qt,An).call(this,{type:"error",error:h}),su(h)||((v=(p=M(this,jt).config).onError)==null||v.call(p,h,this),(w=(y=M(this,jt).config).onSettled)==null||w.call(y,this.state.data,h,this)),this.scheduleGc()};return Z(this,Ge,yy({initialPromise:n==null?void 0:n.initialPromise,fn:a.fetchFn,abort:r.abort.bind(r),onSuccess:h=>{var p,v,y,w;if(h===void 0){l(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(h)}catch(m){l(m);return}(v=(p=M(this,jt).config).onSuccess)==null||v.call(p,h,this),(w=(y=M(this,jt).config).onSettled)==null||w.call(y,h,this.state.error,this),this.scheduleGc()},onError:l,onFail:(h,p)=>{Ue(this,qt,An).call(this,{type:"failed",failureCount:h,error:p})},onPause:()=>{Ue(this,qt,An).call(this,{type:"pause"})},onContinue:()=>{Ue(this,qt,An).call(this,{type:"continue"})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0})),M(this,Ge).start()}},Ks=new WeakMap,Yr=new WeakMap,jt=new WeakMap,qr=new WeakMap,Ge=new WeakMap,Mi=new WeakMap,Xr=new WeakMap,qt=new WeakSet,An=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,...M5(r.data,this.options),fetchMeta:t.meta??null};case"success":return Z(this,Yr,void 0),{...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 su(s)&&s.revert&&M(this,Yr)?{...M(this,Yr),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()}),M(this,jt).notify({query:this,type:"updated",action:t})})},Wg);function M5(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:my(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function R5(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 gn,Gg,L5=(Gg=class extends nc{constructor(t={}){super();oe(this,gn);this.config=t,Z(this,gn,new Map)}build(t,n,r){const s=n.queryKey,o=n.queryHash??ch(s,n);let i=this.get(o);return i||(i=new A5({client:t,queryKey:s,queryHash:o,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(s)}),this.add(i)),i}add(t){M(this,gn).has(t.queryHash)||(M(this,gn).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=M(this,gn).get(t.queryHash);n&&(t.destroy(),n===t&&M(this,gn).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){Je.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return M(this,gn).get(t)}getAll(){return[...M(this,gn).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>w0(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>w0(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()})})}},gn=new WeakMap,Gg),yn,Xe,Zr,vn,er,Kg,I5=(Kg=class extends vy{constructor(t){super();oe(this,vn);oe(this,yn);oe(this,Xe);oe(this,Zr);this.mutationId=t.mutationId,Z(this,Xe,t.mutationCache),Z(this,yn,[]),this.state=t.state||D5(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){M(this,yn).includes(t)||(M(this,yn).push(t),this.clearGcTimeout(),M(this,Xe).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){Z(this,yn,M(this,yn).filter(n=>n!==t)),this.scheduleGc(),M(this,Xe).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){M(this,yn).length||(this.state.status==="pending"?this.scheduleGc():M(this,Xe).remove(this))}continue(){var t;return((t=M(this,Zr))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var o,i,a,l,c,d,f,h,p,v,y,w,m,g,x,S,C,E,k,T;const n=()=>{Ue(this,vn,er).call(this,{type:"continue"})};Z(this,Zr,yy({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(N,P)=>{Ue(this,vn,er).call(this,{type:"failed",failureCount:N,error:P})},onPause:()=>{Ue(this,vn,er).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>M(this,Xe).canRun(this)}));const r=this.state.status==="pending",s=!M(this,Zr).canStart();try{if(r)n();else{Ue(this,vn,er).call(this,{type:"pending",variables:t,isPaused:s}),await((i=(o=M(this,Xe).config).onMutate)==null?void 0:i.call(o,t,this));const P=await((l=(a=this.options).onMutate)==null?void 0:l.call(a,t));P!==this.state.context&&Ue(this,vn,er).call(this,{type:"pending",context:P,variables:t,isPaused:s})}const N=await M(this,Zr).start();return await((d=(c=M(this,Xe).config).onSuccess)==null?void 0:d.call(c,N,t,this.state.context,this)),await((h=(f=this.options).onSuccess)==null?void 0:h.call(f,N,t,this.state.context)),await((v=(p=M(this,Xe).config).onSettled)==null?void 0:v.call(p,N,null,this.state.variables,this.state.context,this)),await((w=(y=this.options).onSettled)==null?void 0:w.call(y,N,null,t,this.state.context)),Ue(this,vn,er).call(this,{type:"success",data:N}),N}catch(N){try{throw await((g=(m=M(this,Xe).config).onError)==null?void 0:g.call(m,N,t,this.state.context,this)),await((S=(x=this.options).onError)==null?void 0:S.call(x,N,t,this.state.context)),await((E=(C=M(this,Xe).config).onSettled)==null?void 0:E.call(C,void 0,N,this.state.variables,this.state.context,this)),await((T=(k=this.options).onSettled)==null?void 0:T.call(k,void 0,N,t,this.state.context)),N}finally{Ue(this,vn,er).call(this,{type:"error",error:N})}}finally{M(this,Xe).runNext(this)}}},yn=new WeakMap,Xe=new WeakMap,Zr=new WeakMap,vn=new WeakSet,er=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(()=>{M(this,yn).forEach(r=>{r.onMutationUpdate(t)}),M(this,Xe).notify({mutation:this,type:"updated",action:t})})},Kg);function D5(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Ln,Xt,Ri,Qg,O5=(Qg=class extends nc{constructor(t={}){super();oe(this,Ln);oe(this,Xt);oe(this,Ri);this.config=t,Z(this,Ln,new Set),Z(this,Xt,new Map),Z(this,Ri,0)}build(t,n,r){const s=new I5({mutationCache:this,mutationId:++Zi(this,Ri)._,options:t.defaultMutationOptions(n),state:r});return this.add(s),s}add(t){M(this,Ln).add(t);const n=ga(t);if(typeof n=="string"){const r=M(this,Xt).get(n);r?r.push(t):M(this,Xt).set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(M(this,Ln).delete(t)){const n=ga(t);if(typeof n=="string"){const r=M(this,Xt).get(n);if(r)if(r.length>1){const s=r.indexOf(t);s!==-1&&r.splice(s,1)}else r[0]===t&&M(this,Xt).delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=ga(t);if(typeof n=="string"){const r=M(this,Xt).get(n),s=r==null?void 0:r.find(o=>o.state.status==="pending");return!s||s===t}else return!0}runNext(t){var r;const n=ga(t);if(typeof n=="string"){const s=(r=M(this,Xt).get(n))==null?void 0:r.find(o=>o!==t&&o.state.isPaused);return(s==null?void 0:s.continue())??Promise.resolve()}else return Promise.resolve()}clear(){Je.batch(()=>{M(this,Ln).forEach(t=>{this.notify({type:"removed",mutation:t})}),M(this,Ln).clear(),M(this,Xt).clear()})}getAll(){return Array.from(M(this,Ln))}find(t){const n={exact:!0,...t};return this.getAll().find(r=>b0(n,r))}findAll(t={}){return this.getAll().filter(n=>b0(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(Yt))))}},Ln=new WeakMap,Xt=new WeakMap,Ri=new WeakMap,Qg);function ga(e){var t;return(t=e.options.scope)==null?void 0:t.id}function E0(e){return{onFetch:(t,n)=>{var d,f,h,p,v;const r=t.options,s=(h=(f=(d=t.fetchOptions)==null?void 0:d.meta)==null?void 0:f.fetchMore)==null?void 0:h.direction,o=((p=t.state.data)==null?void 0:p.pages)||[],i=((v=t.state.data)==null?void 0:v.pageParams)||[];let a={pages:[],pageParams:[]},l=0;const c=async()=>{let y=!1;const w=x=>{Object.defineProperty(x,"signal",{enumerable:!0,get:()=>(t.signal.aborted?y=!0:t.signal.addEventListener("abort",()=>{y=!0}),t.signal)})},m=hy(t.options,t.fetchOptions),g=async(x,S,C)=>{if(y)return Promise.reject();if(S==null&&x.pages.length)return Promise.resolve(x);const k=(()=>{const R={client:t.client,queryKey:t.queryKey,pageParam:S,direction:C?"backward":"forward",meta:t.options.meta};return w(R),R})(),T=await m(k),{maxPages:N}=t.options,P=C?C5:S5;return{pages:P(x.pages,T,N),pageParams:P(x.pageParams,S,N)}};if(s&&o.length){const x=s==="backward",S=x?F5:k0,C={pages:o,pageParams:i},E=S(r,C);a=await g(C,E,x)}else{const x=e??o.length;do{const S=l===0?i[0]??r.initialPageParam:k0(r,a);if(l>0&&S==null)break;a=await g(a,S),l++}while(l<x)}return a};t.options.persister?t.fetchFn=()=>{var y,w;return(w=(y=t.options).persister)==null?void 0:w.call(y,c,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=c}}}function k0(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 F5(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 Ee,cr,ur,Qs,Ys,dr,qs,Xs,Yg,V5=(Yg=class{constructor(e={}){oe(this,Ee);oe(this,cr);oe(this,ur);oe(this,Qs);oe(this,Ys);oe(this,dr);oe(this,qs);oe(this,Xs);Z(this,Ee,e.queryCache||new L5),Z(this,cr,e.mutationCache||new O5),Z(this,ur,e.defaultOptions||{}),Z(this,Qs,new Map),Z(this,Ys,new Map),Z(this,dr,0)}mount(){Zi(this,dr)._++,M(this,dr)===1&&(Z(this,qs,py.subscribe(async e=>{e&&(await this.resumePausedMutations(),M(this,Ee).onFocus())})),Z(this,Xs,wl.subscribe(async e=>{e&&(await this.resumePausedMutations(),M(this,Ee).onOnline())})))}unmount(){var e,t;Zi(this,dr)._--,M(this,dr)===0&&((e=M(this,qs))==null||e.call(this),Z(this,qs,void 0),(t=M(this,Xs))==null||t.call(this),Z(this,Xs,void 0))}isFetching(e){return M(this,Ee).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return M(this,cr).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=M(this,Ee).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=M(this,Ee).build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(Cd(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return M(this,Ee).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=M(this,Ee).get(r.queryHash),o=s==null?void 0:s.state.data,i=g5(t,o);if(i!==void 0)return M(this,Ee).build(this,r).setData(i,{...n,manual:!0})}setQueriesData(e,t,n){return Je.batch(()=>M(this,Ee).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=M(this,Ee).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=M(this,Ee);Je.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=M(this,Ee);return Je.batch(()=>(n.findAll(e).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},r=Je.batch(()=>M(this,Ee).findAll(e).map(s=>s.cancel(n)));return Promise.all(r).then(Yt).catch(Yt)}invalidateQueries(e,t={}){return Je.batch(()=>(M(this,Ee).findAll(e).forEach(n=>
40{n.invalidate()}),(e==null?void 0:e.refetchType)==="none"?Promise.resolve():this.refetchQueries({...e,type:(e==null?void 0:e.refetchType)??(e==null?void 0:e.type)??"active"},t)))}refetchQueries(e,t={}){const n={...t,cancelRefetch:t.cancelRefetch??!0},r=Je.batch(()=>M(this,Ee).findAll(e).filter(s=>!s.isDisabled()&&!s.isStatic()).map(s=>{let o=s.fetch(void 0,n);return n.throwOnError||(o=o.catch(Yt)),s.state.fetchStatus==="paused"?Promise.resolve():o}));return Promise.all(r).then(Yt)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=M(this,Ee).build(this,t);return n.isStaleByTime(Cd(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(Yt).catch(Yt)}fetchInfiniteQuery(e){return e.behavior=E0(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Yt).catch(Yt)}ensureInfiniteQueryData(e){return e.behavior=E0(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return wl.isOnline()?M(this,cr).resumePausedMutations():Promise.resolve()}getQueryCache(){return M(this,Ee)}getMutationCache(){return M(this,cr)}getDefaultOptions(){return M(this,ur)}setDefaultOptions(e){Z(this,ur,e)}setQueryDefaults(e,t){M(this,Qs).set(bi(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...M(this,Qs).values()],n={};return t.forEach(r=>{Si(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){M(this,Ys).set(bi(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...M(this,Ys).values()],n={};return t.forEach(r=>{Si(e,r.mutationKey)&&Object.assign(n,r.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...M(this,ur).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=ch(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.queryFn===uh&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...M(this,ur).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){M(this,Ee).clear(),M(this,cr).clear()}},Ee=new WeakMap,cr=new WeakMap,ur=new WeakMap,Qs=new WeakMap,Ys=new WeakMap,dr=new WeakMap,qs=new WeakMap,Xs=new WeakMap,Yg),B5=b.createContext(void 0),_5=({client:e,children:t})=>(b.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),u.jsx(B5.Provider,{value:e,children:t}));/**
41 * @remix-run/router v1.23.0
42 *
43 * Copyright (c) Remix Software Inc.
44 *
45 * This source code is licensed under the MIT license found in the
46 * LICENSE.md file in the root directory of this source tree.
47 *
48 * @license MIT
49 */function bl(){return bl=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},bl.apply(this,arguments)}var pr;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(pr||(pr={}));const T0="popstate";function z5(e){e===void 0&&(e={});function t(r,s){let{pathname:o,search:i,hash:a}=r.location;return kd("",{pathname:o,search:i,hash:a},s.state&&s.state.usr||null,s.state&&s.state.key||"default")}function n(r,s){return typeof s=="string"?s:wy(s)}return U5(t,n,null,e)}function mt(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function xy(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function $5(){return Math.random().toString(36).substr(2,8)}function P0(e,t){return{usr:e.state,key:e.key,idx:t}}function kd(e,t,n,r){return n===void 0&&(n=null),bl({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?sc(t):t,{state:n,key:t&&t.key||r||$5()})}function wy(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 sc(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 U5(e,t,n,r){r===void 0&&(r={});let{window:s=document.defaultView,v5Compat:o=!1}=r,i=s.history,a=pr.Pop,l=null,c=d();c==null&&(c=0,i.replaceState(bl({},i.state,{idx:c}),""));function d(){return(i.state||{idx:null}).idx}function f(){a=pr.Pop;let w=d(),m=w==null?null:w-c;c=w,l&&l({action:a,location:y.location,delta:m})}function h(w,m){a=pr.Push;let g=kd(y.location,w,m);c=d()+1;let x=P0(g,c),S=y.createHref(g);try{i.pushState(x,"",S)}catch(C){if(C instanceof DOMException&&C.name==="DataCloneError")throw C;s.location.assign(S)}o&&l&&l({action:a,location:y.location,delta:1})}function p(w,m){a=pr.Replace;let g=kd(y.location,w,m);c=d();let x=P0(g,c),S=y.createHref(g);i.replaceState(x,"",S),o&&l&&l({action:a,location:y.location,delta:0})}function v(w){let m=s.location.origin!=="null"?s.location.origin:s.location.href,g=typeof w=="string"?w:wy(w);return g=g.replace(/ $/,"%20"),mt(m,"No window.location.(origin|href) available to create URL for href: "+g),new URL(g,m)}let y={get action(){return a},get location(){return e(s,i)},listen(w){if(l)throw new Error("A history only accepts one active listener");return s.addEventListener(T0,f),l=w,()=>{s.removeEventListener(T0,f),l=null}},createHref(w){return t(s,w)},createURL:v,encodeLocation(w){let m=v(w);return{pathname:m.pathname,search:m.search,hash:m.hash}},push:h,replace:p,go(w){return i.go(w)}};return y}var j0;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(j0||(j0={}));function H5(e,t,n){return n===void 0&&(n="/"),W5(e,t,n,!1)}function W5(e,t,n,r){let s=typeof t=="string"?sc(t):t,o=Cy(s.pathname||"/",n);if(o==null)return null;let i=by(e);G5(i);let a=null;for(let l=0;a==null&&l<i.length;++l){let c=rb(o);a=tb(i[l],c,r)}return a}function by(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let s=(o,i,a)=>{let l={relativePath:a===void 0?o.path||"":a,caseSensitive:o.caseSensitive===!0,childrenIndex:i,route:o};l.relativePath.startsWith("/")&&(mt(l.relativePath.startsWith(r),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+r+'" is not val
49id. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(r.length));let c=zs([r,l.relativePath]),d=n.concat(l);o.children&&o.children.length>0&&(mt(o.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+c+'".')),by(o.children,t,d,c)),!(o.path==null&&!o.index)&&t.push({path:c,score:J5(c,o.index),routesMeta:d})};return e.forEach((o,i)=>{var a;if(o.path===""||!((a=o.path)!=null&&a.includes("?")))s(o,i);else for(let l of Sy(o.path))s(o,i,l)}),t}function Sy(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 i=Sy(r.join("/")),a=[];return a.push(...i.map(l=>l===""?o:[o,l].join("/"))),s&&a.push(...i),a.map(l=>e.startsWith("/")&&l===""?"/":l)}function G5(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:eb(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const K5=/^:[\w-]+$/,Q5=3,Y5=2,q5=1,X5=10,Z5=-2,N0=e=>e==="*";function J5(e,t){let n=e.split("/"),r=n.length;return n.some(N0)&&(r+=Z5),t&&(r+=Y5),n.filter(s=>!N0(s)).reduce((s,o)=>s+(K5.test(o)?Q5:o===""?q5:X5),r)}function eb(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 tb(e,t,n){let{routesMeta:r}=e,s={},o="/",i=[];for(let a=0;a<r.length;++a){let l=r[a],c=a===r.length-1,d=o==="/"?t:t.slice(o.length)||"/",f=A0({path:l.relativePath,caseSensitive:l.caseSensitive,end:c},d),h=l.route;if(!f&&c&&n&&!r[r.length-1].route.index&&(f=A0({path:l.relativePath,caseSensitive:l.caseSensitive,end:!1},d)),!f)return null;
vendor: 4,131 bytes, lines 49-58
49Object.assign(s,f.params),i.push({params:s,pathname:zs([o,f.pathname]),pathnameBase:sb(zs([o,f.pathnameBase])),route:h}),f.pathnameBase!=="/"&&(o=zs([o,f.pathnameBase]))}return i}function A0(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=nb(e.path,e.caseSensitive,e.end),s=t.match(n);if(!s)return null;let o=s[0],i=o.replace(/(.)\/+$/,"$1"),a=s.slice(1);return{params:r.reduce((c,d,f)=>{let{paramName:h,isOptional:p}=d;if(h==="*"){let y=a[f]||"";i=o.slice(0,o.length-y.length).replace(/(.)\/+$/,"$1")}const v=a[f];return p&&!v?c[h]=void 0:c[h]=(v||"").replace(/%2F/g,"/"),c},{}),pathname:o,pathnameBase:i,pattern:e}}function nb(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),xy(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,(i,a,l)=>(r.push({paramName:a,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),s+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?s+="\\/*$":e!==""&&e!=="/"&&(s+="(?:(?=\\/|$))"),[new RegExp(s,t?void 0:"i"),r]}function rb(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return xy(!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 Cy(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)||"/"}const zs=e=>e.join("/").replace(/\/\/+/g,"/"),sb=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/");function ob(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Ey=["post","put","patch","delete"];new Set(Ey);const ib=["get",...Ey];new Set(ib);/**
50 * React Router v6.30.1
51 *
52 * Copyright (c) Remix Software Inc.
53 *
54 * This source code is licensed under the MIT license found in the
55 * LICENSE.md file in the root directory of this source tree.
56 *
57 * @license MIT
58 */function Sl(){return Sl=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},Sl.apply(this,arguments)}const ab=b.createContext(null),lb=b.createContext(null),ky=b.createContext(null),oc=b.createContext(null),ic=b.createContext({outlet:null,matches:[],isDataRoute:!1}),Ty=b.createContext(null);function dh(){return b.useContext(oc)!=null}function Py(){return dh()||mt(!1),b.useContext(oc).location}function cb(e,t){return ub(e,t)}function ub(e,t,n,r){dh()||mt(!1);let{navigator:s}=b.useContext(ky),{matches:o}=b.useContext(ic),i=o[o.length-1],a=i?i.params:{};i&&i.pathname;let l=i?i.pathnameBase:"/";i&&i.route;let c=Py(),d;if(t){var f;let w=typeof t=="string"?sc(t):t;l==="/"||(f=w.pathname)!=null&&f.startsWith(l)||mt(!1),d=w}else d=c;let h=d.pathname||"/",p=h;if(l!=="/"){let w=l.replace(/^\//,"").split("/");p="/"+h.replace(/^\//,"").split("/").slice(w.length).join("/")}let v=H5(e,{pathname:p}),y=mb(v&&v.map(w=>Object.assign({},w,{params:Object.assign({},a,w.params),pathname:zs([l,s.encodeLocation?s.encodeLocation(w.pathname).pathname:w.pathname]),pathnameBase:w.pathnameBase==="/"?l:zs([l,s.encodeLocation?s.encodeLocation(w.pathnameBase).pathname:w.pathnameBase])})),o,n,r);return t&&y?b.createElement(oc.Provider,{value:{location:Sl({pathname:"/",search:"",hash:"",state:null,key:"default"},d),navigationType:pr.Pop}},y):y}function db(){let e=xb(),t=ob(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 b.createElement(b.Fragment,null,b.createElement("h2",null,"Unexpected Application 
58Error!"),b.createElement("h3",{style:{fontStyle:"italic"}},t),n?b.createElement("pre",{style:s},n):null,null)}const fb=b.createElement(db,null);class hb extends b.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?b.createElement(ic.Provider,{value:this.props.routeContext},b.createElement(Ty.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function pb(e){let{routeContext:t,match:n,children:r}=e,s=b.useContext(ab);return s&&s.static&&s.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(s.staticContext._deepestRenderedBoundaryId=n.route.id),b.createElement(ic.Provider,{value:t},r)}function mb(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 i=e,a=(s=n)==null?void 0:s.errors;if(a!=null){let d=i.findIndex(f=>f.route.id&&(a==null?void 0:a[f.route.id])!==void 0);d>=0||mt(!1),i=i.slice(0,Math.min(i.length,d+1))}let l=!1,c=-1;if(n&&r&&r.v7_partialHydration)for(let d=0;d<i.length;d++){let f=i[d];if((f.route.HydrateFallback||f.route.hydrateFallbackElement)&&(c=d),f.route.id){let{loaderData:h,errors:p}=n,v=f.route.loader&&h[f.route.id]===void 0&&(!p||p[f.route.id]===void 0);if(f.route.lazy||v){l=!0,c>=0?i=i.slice(0,c+1):i=[i[0]];break}}}return i.reduceRight((d,f,h)=>{let p,v=!1,y=null,w=null;n&&(p=a&&f.route.id?a[f.route.id]:void 0,y=f.route.errorElement||fb,l&&(c<0&&h===0?(v=!0,w=null):c===h&&(v=!0,w=f.route.hydrateFallbackElement||null)));let m=t.concat(i.slice(0,h+1)),g=()=>{let x;return p?x=y:v?x=w:f.route.Component?x=b.createElement(f.route.Component,null):f.route.element?x=f.route.element:x=d,b.createElement(pb,{match:f,routeContext:{outlet:d,matches:m,isDataRoute:n!=null},children:x})};return n&&(f.route.ErrorBoundary||f.route.errorElement||h===0)?b.createElement(hb,{location:n.location,revalidation:n.revalidation,component:y,error:p,children:g(),routeContext:{outlet:null,matches:m,isDataRoute:!0}}):g()},null)}var Td=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}(Td||{});function gb(e){let t=b.useContext(lb);return t||mt(!1),t}function yb(e){let t=b.useContext(ic);return t||mt(!1),t}function vb(e){let t=yb(),n=t.matches[t.matches.length-1];return n.route.id||mt(!1),n.route.id}function xb(){var e;let t=b.useContext(Ty),n=gb(Td.UseRouteError),r=vb(Td.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function wb(e,t){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}function Pd(e){mt(!1)}function bb(e){let{basename:t="/",children:n=null,location:r,navigationType:s=pr.Pop,navigator:o,static:i=!1,future:a}=e;dh()&&mt(!1);let l=t.replace(/^\/*/,"/"),c=b.useMemo(()=>({basename:l,navigator:o,static:i,future:Sl({v7_relativeSplatPath:!1},a)}),[l,a,o,i]);typeof r=="string"&&(r=sc(r));let{pathname:d="/",search:f="",hash:h="",state:p=null,key:v="default"}=r,y=b.useMemo(()=>{let w=Cy(d,l);return w==null?null:{location:{pathname:w,search:f,hash:h,state:p,key:v},navigationType:s}},[l,d,f,h,p,v,s]);return y==null?null:b.createElement(ky.Provider,{value:c},b.createElement(oc.Provider,{children:n,value:y}))}function Sb(e){let{children:t,location:n}=e;return cb(jd(t),n)}new Promise(()=>{});
58function jd(e,t){t===void 0&&(t=[]);let n=[];return b.Children.forEach(e,(r,s)=>{if(!b.isValidElement(r))return;let o=[...t,s];if(r.type===b.Fragment){n.push.apply(n,jd(r.props.children,o));return}r.type!==Pd&&mt(!1),!r.props.index||!r.props.children||mt(!1);let i={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&&(i.children=jd(r.props.children,o)),n.push(i)}),n}/**
59 * React Router DOM v6.30.1
60 *
61 * Copyright (c) Remix Software Inc.
62 *
63 * This source code is licensed under the MIT license found in the
64 * LICENSE.md file in the root directory of this source tree.
65 *
66 * @license MIT
67 */const Cb="6";try{window.__reactRouterVersion=Cb}catch{}const Eb="startTransition",M0=a2[Eb];function kb(e){let{basename:t,children:n,future:r,window:s}=e,o=b.useRef();o.current==null&&(o.current=z5({window:s,v5Compat:!0}));let i=o.current,[a,l]=b.useState({action:i.action,location:i.location}),{v7_startTransition:c}=r||{},d=b.useCallback(f=>{c&&M0?M0(()=>l(f)):l(f)},[l,c]);return b.useLayoutEffect(()=>i.listen(d),[i,d]),b.useEffect(()=>wb(r),[r]),b.createElement(bb,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:i,future:r})}var R0;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(R0||(R0={}));var L0;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(L0||(L0={}));var I0=["light","dark"],Tb="(prefers-color-scheme: dark)",Pb=b.createContext(void 0),jb={setTheme:e=>{},themes:[]},Nb=()=>{var e;return(e=b.useContext(Pb))!=null?e:jb};b.memo(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:s,defaultTheme:o,value:i,attrs:a,nonce:l})=>{let c=o==="system",d=n==="class"?`var d=document.documentElement,c=d.classList;
67${`c.remove(${a.map(v=>`'${v}'`).join(",")})`};`:`var d=document.documentElement,n='${n}',s='setAttribute';`,f=s?I0.includes(o)&&o?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${o}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",h=(v,y=!1,w=!0)=>{let m=i?i[v]:v,g=y?v+"|| ''":`'${m}'`,x="";return s&&w&&!y&&I0.includes(v)&&(x+=`d.style.colorScheme = '${v}';`),n==="class"?y||m?x+=`c.add(${g})`:x+="null":m&&(x+=`d[s](n,${g})`),x},p=e?`!function(){${d}${h(e)}}()`:r?`!function(){try{${d}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${c})){var t='${Tb}',m=window.matchMedia(t);if(m.media!==t||m.matches){${h("dark")}}else{${h("light")}}}else if(e){${i?`var x=${JSON.stringify(i)};`:""}${h(i?"x[e]":"e",!0)}}${c?"":"else{"+h(o,!1,!1)+"}"}${f}}catch(e){}}()`:`!function(){try{${d}var e=localStorage.getItem('${t}');if(e){${i?`var x=${JSON.stringify(i)};`:""}${h(i?"x[e]":"e",!0)}}else{${h(o,!1,!1)};}${f}}catch(t){}}();`;return b.createElement("script",{nonce:l,dangerouslySetInnerHTML:{__html:p}})});var Ab=e=>{switch(e){case"success":return Lb;case"info":return Db;case"warning":return Ib;case"error":return Ob;default:return null}},Mb=Array(12).fill(0),Rb=({visible:e,className:t})=>O.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},O.createElement("div",{className:"sonner-spinner"},Mb.map((n,r)=>O.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${r}`})))),Lb=O.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},O.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"})),Ib=O.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},O.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"})),Db=O.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},O.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"})),Ob=O.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},O.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"})),Fb=O.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"},O.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),O.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),Vb=()=>{let[e,t]=O.useState(document.hidden);return O.useEffect(()=>{let n=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),e},Nd=1,Bb=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:Nd++,o=this.toasts.find(a=>a.id===s),i=e.dismissible===void 0?!0:e.dismissible;return this.dismissedToasts.has(s)&&this.dismissedToasts.delete(s),o?this.toasts=this.toasts.map(a=>a.id===s?(this.publish({...a,...e,id:s,title:n}),{...a,...e,id:s,dismissible:i,title:n}):a):this.addToast({title:n,...r,dismissible:i,id:s}),s},this.dismiss=e=>
67(this.dismissedToasts.add(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)=>this.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,o,i=r.then(async l=>{if(o=["resolve",l],O.isValidElement(l))s=!1,this.create({id:n,type:"default",message:l});else if(zb(l)&&!l.ok){s=!1;let c=typeof t.error=="function"?await t.error(`HTTP error! status: ${l.status}`):t.error,d=typeof t.description=="function"?await t.description(`HTTP error! status: ${l.status}`):t.description;this.create({id:n,type:"error",message:c,description:d})}else if(t.success!==void 0){s=!1;let c=typeof t.success=="function"?await t.success(l):t.success,d=typeof t.description=="function"?await t.description(l):t.description;this.create({id:n,type:"success",message:c,description:d})}}).catch(async l=>{if(o=["reject",l],t.error!==void 0){s=!1;let c=typeof t.error=="function"?await t.error(l):t.error,d=typeof t.description=="function"?await t.description(l):t.description;this.create({id:n,type:"error",message:c,description:d})}}).finally(()=>{var l;s&&(this.dismiss(n),n=void 0),(l=t.finally)==null||l.call(t)}),a=()=>new Promise((l,c)=>i.then(()=>o[0]==="reject"?c(o[1]):l(o[1])).catch(c));return typeof n!="string"&&typeof n!="number"?{unwrap:a}:Object.assign(n,{unwrap:a})},this.custom=(e,t)=>{let n=(t==null?void 0:t.id)||Nd++;return this.create({jsx:e(n),id:n,...t}),n},this.getActiveToasts=()=>this.toasts.filter(e=>!this.dismissedToasts.has(e.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}},at=new Bb,_b=(e,t)=>{let n=(t==null?void 0:t.id)||Nd++;return at.addToast({title:e,...t,id:n}),n},zb=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",$b=_b,Ub=()=>at.toasts,Hb=()=>at.getActiveToasts();Object.assign($b,{success:at.success,info:at.info,warning:at.warning,error:at.error,custom:at.custom,message:at.message,promise:at.promise,dismiss:at.dismiss,loading:at.loading},{getHistory:Ub,getToasts:Hb});function Wb(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))}Wb(`: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;transition:transform .4s ease}:where([data-sonner-toaster][data-lifted="true"]){transform:translateY(-10px)}@media (hover: none) and (pointer: coarse){:where([data-sonner-toaster][data-lifted="true"]){transform:none}}:where([data-sonner-toaster][data-x-position="right"]){right:var(--offset-right)}:where([data-sonner-toaster][data-x-position="left"]){left:var(--offset-left)}:where([data-sonner-toaster][data-x-position="center"]){left:50%;transform:translate(-50%)}:where([data-sonner-toaster][data-y-position="top"]){top:var(--offset-top)}:where([data-sonner-toaster][data-y-position="bottom"]){bottom:var(--offset-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;
67left: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;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}[data-sonner-toast] [data-close-button]{background:var(--gray1)}: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:-50%;right:-50%;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}
67: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-y, 0px)) translate(var(--swipe-amount-x, 0px));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width: 600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);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-bg-hover: hsl(0, 0%, 12%);--normal-border: hsl(0, 0%, 20%);--normal-border-hover: hsl(0, 0%, 25%);--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%);
67--error-text: hsl(358, 100%, 81%)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[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%)}
68`);function ya(e){return e.label!==void 0}var Gb=3,Kb="32px",Qb="16px",D0=4e3,Yb=356,qb=14,Xb=20,Zb=200;function Wt(...e){return e.filter(Boolean).join(" ")}function Jb(e){let[t,n]=e.split("-"),r=[];return t&&r.push(t),n&&r.push(n),r}var eS=e=>{var t,n,r,s,o,i,a,l,c,d,f;let{invert:h,toast:p,unstyled:v,interacting:y,setHeights:w,visibleToasts:m,heights:g,index:x,toasts:S,expanded:C,removeToast:E,defaultRichColors:k,closeButton:T,style:N,cancelButtonStyle:P,actionButtonStyle:R,className:L="",descriptionClassName:W="",duration:I,position:G,gap:B,loadingIcon:K,expandByDefault:j,classNames:A,icons:F,closeButtonAriaLabel:H="Close toast",pauseWhenPageIsHidden:U}=e,[q,Q]=O.useState(null),[le,Se]=O.useState(null),[X,Ce]=O.useState(!1),[De,Pe]=O.useState(!1),[se,z]=O.useState(!1),[te,de]=O.useState(!1),[Ae,Ye]=O.useState(!1),[yt,vt]=O.useState(0),[qe,fn]=O.useState(0),Ft=O.useRef(p.duration||I||D0),fs=O.useRef(null),Vt=O.useRef(null),Ki=x===0,Qi=x+1<=m,ot=p.type,jn=p.dism
vendor: 1,214 bytes, line 68
68issible!==!1,Pc=p.className||"",wo=p.descriptionClassName||"",Bt=O.useMemo(()=>g.findIndex(Y=>Y.toastId===p.id)||0,[g,p.id]),bo=O.useMemo(()=>{var Y;return(Y=p.closeButton)!=null?Y:T},[p.closeButton,T]),hs=O.useMemo(()=>p.duration||I||D0,[p.duration,I]),Gn=O.useRef(0),Kn=O.useRef(0),Yi=O.useRef(0),Qn=O.useRef(null),[jc,Nc]=G.split("-"),So=O.useMemo(()=>g.reduce((Y,ie,ce)=>ce>=Bt?Y:Y+ie.height,0),[g,Bt]),qi=Vb(),Xi=p.invert||h,ps=ot==="loading";Kn.current=O.useMemo(()=>Bt*B+So,[Bt,So]),O.useEffect(()=>{Ft.current=hs},[hs]),O.useEffect(()=>{Ce(!0)},[]),O.useEffect(()=>{let Y=Vt.current;if(Y){let ie=Y.getBoundingClientRect().height;return fn(ie),w(ce=>[{toastId:p.id,height:ie,position:p.position},...ce]),()=>w(ce=>ce.filter(zt=>zt.toastId!==p.id))}},[w,p.id]),O.useLayoutEffect(()=>{if(!X)return;let Y=Vt.current,ie=Y.style.height;Y.style.height="auto";let ce=Y.getBoundingClientRect().height;Y.style.height=ie,fn(ce),w(zt=>zt.find($t=>$t.toastId===p.id)?zt.map($t=>$t.toastId===p.id?{...$t,height:ce}:$t):[{toastId:p.id,height:ce,position:p.position},...zt])},[X,p.title,p.description,w,p.id]);let _t=O.useCallback(()=>{Pe(!0),vt(Kn.current),w(Y=>Y.filter(ie=>ie.toastId!==p.id)),setTimeout(()=>{E(p)},Zb)}
68,[p,E,w,Kn]);O.useEffect(()=>{if(p.promise&&ot==="loading"||p.duration===1/0||p.type==="loading")return;let Y;return C||y||U&&qi?(()=>{if(Yi.current<Gn.current){let ie=new Date().getTime()-Gn.current;Ft.current=Ft.current-ie}Yi.current=new Date().getTime()})():Ft.current!==1/0&&(Gn.current=new Date().getTime(),Y=setTimeout(()=>{var ie;(ie=p.onAutoClose)==null||ie.call(p,p),_t()},Ft.current)),()=>clearTimeout(Y)},[C,y,p,ot,U,qi,_t]),O.useEffect(()=>{p.delete&&_t()},[_t,p.delete]);function Ac(){var Y,ie,ce;return F!=null&&F.loading?O.createElement("div",{className:Wt(A==null?void 0:A.loader,(Y=p==null?void 0:p.classNames)==null?void 0:Y.loader,"sonner-loader"),"data-visible":ot==="loading"},F.loading):K?O.createElement("div",{className:Wt(A==null?void 0:A.loader,(ie=p==null?void 0:p.classNames)==null?void 0:ie.loader,"sonner-loader"),"data-visible":ot==="loading"},K):O.createElement(Rb,{className:Wt(A==null?void 0:A.loader,(ce=p==null?void 0:p.classNames)==null?void 0:ce.loader),visible:ot==="loading"})}return O.createElement("li",{tabIndex:0,ref:Vt,className:Wt(L,Pc,A==null?void 0:A.toast,(t=p==null?void 0:p.classNames)==null?void 0:t.toast,A==null?void 0:A.default,A==null?void 0:A[ot],(n=p==null?void 0:p.classNames)==null?void 0:n[ot]),"data-sonner-toast":"","data-rich-colors":(r=p.richColors)!=null?r:k,"data-styled":!(p.jsx||p.unstyled||v),"data-mounted":X,"data-promise":!!p.promise,"data-swiped":Ae,"data-removed":De,"data-visible":Qi,"data-y-position":jc,"data-x-position":Nc,"data-index":x,"data-front":Ki,"data-swiping":se,"data-dismissible":jn,"data-type":ot,"data-invert":Xi,"data-swipe-out":te,"data-swipe-direction":le,"data-expanded":!!(C||j&&X),style:{"--index":x,"--toasts-before":x,"--z-index":S.length-x,"--offset":`${De?yt:Kn.current}px`,"--initial-height":j?"auto":`${qe}px`,...N,...p.style},onDragEnd:()=>{z(!1),Q(null),Qn.current=null},onPointerDown:Y=>{ps||!jn||(fs.current=new Date,vt(Kn.current),Y.target.setPointerCapture(Y.pointerId),Y.target.tagName!=="BUTTON"&&(z(!0),Qn.current={x:Y.clientX,y:Y.clientY}))},onPointerUp:()=>{var Y,ie,ce,zt;if(te||!jn)return;Qn.current=null;let $t=Number(((Y=Vt.current)==null?void 0:Y.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),Yn=Number(((ie=Vt.current)==null?void 0:ie.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),Fr=new Date().getTime()-((ce=fs.current)==null?void 0:ce.getTime()),Ut=q==="x"?$t:Yn,qn=Math.abs(Ut)/Fr;if(Math.abs(Ut)>=Xb||qn>.11){vt(Kn.current),(zt=p.onDismiss)==null||zt.call(p,p),Se(q==="x"?$t>0?"right":"left":Yn>0?"down":"up"),_t(),de(!0),Ye(!1);return}z(!1),Q(null)},onPointerMove:Y=>{var ie,ce,zt,$t;if(!Qn.current||!jn||((ie=window.getSelection())==null?void 0:ie.toString().length)>0)return;let Yn=Y.clientY-Qn.current.y,Fr=Y.clientX-Qn.current.x,Ut=(ce=e.swipeDirections)!=null?ce:Jb(G);!q&&(Math.abs(Fr)>1||Math.abs(Yn)>1)&&Q(Math.abs(Fr)>Math.abs(Yn)?"x":"y");let qn={x:0,y:0};q==="y"?(Ut.includes("top")||Ut.includes("bottom"))&&(Ut.includes("top")&&Yn<0||Ut.includes("bottom")&&Yn>0)&&(qn.y=Yn):q==="x"&&(Ut.includes("left")||Ut.includes("right"))&&(Ut.includes("left")&&Fr<0||Ut.includes("right")&&Fr>0)&&(qn.x=Fr),(Math.abs(qn.x)>0||Math.abs(qn.y)>0)&&Ye(!0),(zt=Vt.current)==null||zt.style.setProperty("--swipe-amount-x",`${qn.x}px`),($t=Vt.current)==null||$t.style.setProperty("--swipe-amount-y",`${qn.y}px`)}},bo&&!p.jsx?O.createElement("button",{"aria-label":H,"data-disabled":ps,"data-close-button":!0,onClick:ps||!jn?()=>{}:()=>{var Y;_t(),(Y=p.onDismiss)==null||Y.call(p,p)},className:Wt(A==null?void 0:A.closeButton,(s=p==null?void 0:p.classNames)==null?void 0:s.closeButton)},(o=F==null?void 0:F.close)!=null?o:Fb):null,p.jsx||b.isValidElement(p.title)?p.jsx?p.jsx:typeof p.title=="function"?p.title():p.title:O.createElement(O.Fragment,null,ot||p.icon||p.promise?O.createElement("div",{"data-icon":"",className:Wt(A==null?void 0:A.icon,(i=p==null?void 0:p.classNames)==null?void 0:i.icon)},p.promise||p.type==="loading"&&!p.icon?p.icon||Ac():null,p.type!=="loading"?p.icon||(F==null?void 0:F[ot])||Ab(ot):null):null,O.createElement("div",{"data-content":"",className:Wt(A==null?void 0:A.content,(a=p==null?void 0:p.classNames)==null?void 0:a.content)},O.createElement("div",{"data-title":"",className:Wt(A==null?void 0:A.title,(l=p==null?void 0:p.classNames)==null?void 0:l.title)},typeof p.title=="function"?p.title():p.title),p.description?O.createElement("div",{"data-description":"",className:Wt(W,wo,A==null?void 0:A.description,(c=p==null?void 0:p.classNames)==null?void 0:c.description)},typeof p.description=="function"?p.description():p.description):null),b.isValidElement(p.cancel)?p.cancel:p.cancel&&ya(p.cancel)?O.createElement("button",{"data-button":!0,"data-cancel":!0,style:p.cancelButtonStyle||P,onClick:Y=>{var ie,ce;ya(p.cancel)&&jn&&((ce=(ie=p.cancel).onClick)==null||ce.call(ie,Y),_t())},className:Wt(A==null?void 0:A.cancelButton,(d=p==null?void 0:p.classNames)==null?void 0:d.cancelButton)},p.cancel.label):null,b.isValidElement(p.action)?p.action:p.action&&ya(p.action)?O.createElement("button",{"data-button":!0,"data-action":!0,style:p.actionButtonStyle||R,onClick:Y=>{var ie,ce;ya(p.action)&&((ce=(ie=p.action).onClick)==null||ce.call(ie,Y),!Y.defaultPrevented&&_t())},className:Wt(A==null?void 0:A.actionButton,(f=p==null?void 0:p.classNames)==null?void 0:f.actionButton)},p.action.label):null))};function O0(){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}function tS(e,t){let n={};return[e,t].forEach((r,s)=>{let o=s===1,i=o?"--mobile-offset":"--offset",a=o?Qb:Kb;function l(c){["top","right","bottom","left"].forEach(d=>{n[`${i}-${d}`]=typeof c=="number"?`${c}px`:c})}typeof r=="number"||typeof r=="string"?l(r):typeof r=="object"?["top","right","bottom","left"].forEach(c=>{r[c]===void 0?n[`${i}-${c}`]=a:n[`${i}-${c}`]=typeof r[c]=="number"?`${r[c]}px`:r[c]}):l(a)}),n}var nS=b.forwardRef(function(e,t){let{invert:n,position:r="bottom-right",hotkey:s=["altKey","KeyT"],expand:o,closeButton:i,className:a,offset:l,mobileOffset:c,theme:d="light",richColors:f,duration:h,style:p,visibleToasts:v=Gb,toastOptions:y,dir:w=O0(),gap:m=qb,loadingIcon:g,icons:x,containerAriaLabel:S="Notifications",pauseWhenPageIsHidden:C}=e,[E,k]=O.useState([]),T=O.useMemo(()=>Array.from(new Set([r].concat(E.filter(U=>U.position).map(U=>U.position)))),[E,r]),[N,P]=O.useState([]),[R,L]=O.useState(!1),[W,I]=O.useState(!1),[G,B]=O.useState(d!=="system"?d:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dar
68k":"light"),K=O.useRef(null),j=s.join("+").replace(/Key/g,"").replace(/Digit/g,""),A=O.useRef(null),F=O.useRef(!1),H=O.useCallback(U=>{k(q=>{var Q;return(Q=q.find(le=>le.id===U.id))!=null&&Q.delete||at.dismiss(U.id),q.filter(({id:le})=>le!==U.id)})},[]);return O.useEffect(()=>at.subscribe(U=>{if(U.dismiss){k(q=>q.map(Q=>Q.id===U.id?{...Q,delete:!0}:Q));return}setTimeout(()=>{uy.flushSync(()=>{k(q=>{let Q=q.findIndex(le=>le.id===U.id);return Q!==-1?[...q.slice(0,Q),{...q[Q],...U},...q.slice(Q+1)]:[U,...q]})})})}),[]),O.useEffect(()=>{if(d!=="system"){B(d);return}if(d==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?B("dark"):B("light")),typeof window>"u")return;let U=window.matchMedia("(prefers-color-scheme: dark)");try{U.addEventListener("change",({matches:q})=>{B(q?"dark":"light")})}catch{U.addListener(({matches:Q})=>{try{B(Q?"dark":"light")}catch(le){console.error(le)}})}},[d]),O.useEffect(()=>{E.length<=1&&L(!1)},[E]),O.useEffect(()=>{let U=q=>{var Q,le;s.every(Se=>q[Se]||q.code===Se)&&(L(!0),(Q=K.current)==null||Q.focus()),q.code==="Escape"&&(document.activeElement===K.current||(le=K.current)!=null&&le.contains(document.activeElement))&&L(!1)};return document.addEventListener("keydown",U),()=>document.removeEventListener("keydown",U)},[s]),O.useEffect(()=>{if(K.current)return()=>{A.current&&(A.current.focus({preventScroll:!0}),A.current=null,F.current=!1)}},[K.current]),O.createElement("section",{ref:t,"aria-label":`${S} ${j}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},T.map((U,q)=>{var Q;let[le,Se]=U.split("-");return E.length?O.createElement("ol",{key:U,dir:w==="auto"?O0():w,tabIndex:-1,ref:K,className:a,"data-sonner-toaster":!0,"data-theme":G,"data-y-position":le,"data-lifted":R&&E.length>1&&!o,"data-x-position":Se,style:{"--front-toast-height":`${((Q=N[0])==null?void 0:Q.height)||0}px`,"--width":`${Yb}px`,"--gap":`${m}px`,...p,...tS(l,c)},onBlur:X=>{F.current&&!X.currentTarget.contains(X.relatedTarget)&&(F.current=!1,A.current&&(A.current.focus({preventScroll:!0}),A.current=null))},onFocus:X=>{X.target instanceof HTMLElement&&X.target.dataset.dismissible==="false"||F.current||(F.current=!0,A.current=X.relatedTarget)},onMouseEnter:()=>L(!0),onMouseMove:()=>L(!0),onMouseLeave:()=>{W||L(!1)},onDragEnd:()=>L(!1),onPointerDown:X=>{X.target instanceof HTMLElement&&X.target.dataset.dismissible==="false"||I(!0)},onPointerUp:()=>I(!1)},E.filter(X=>!X.position&&q===0||X.position===U).map((X,Ce)=>{var De,Pe;return O.createElement(eS,{key:X.id,icons:x,index:Ce,toast:X,defaultRichColors:f,duration:(De=y==null?void 0:y.duration)!=null?De:h,className:y==null?void 0:y.className,descriptionClassName:y==null?void 0:y.descriptionClassName,invert:n,visibleToasts:v,closeButton:(Pe=y==null?void 0:y.closeButton)!=null?Pe:i,interacting:W,position:U,style:y==null?void 0:y.style,unstyled:y==null?void 0:y.unstyled,classNames:y==null?void 0:y.classNames,cancelButtonStyle:y==null?void 0:y.cancelButtonStyle,actionButtonStyle:y==null?void 0:y.actionButtonStyle,removeToast:H,toasts:E.filter(se=>se.position==X.position),heights:N.filter(se=>se.position==X.position),setHeights:P,expandByDefault:o,gap:m,loadingIcon:g,expanded:R,pauseWhenPageIsHidden:C,swipeDirections:e.swipeDirections})})):null}))});const rS=({...e})=>{const{theme:t="system"}=Nb();return u.jsx(nS,{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})},sS=1,oS=1e6;let ou=0;function iS(){return ou=(ou+1)%Number.MAX_SAFE_INTEGER,ou.toString()}const iu=new Map,F0=e=>{if(iu.has(e))return;const t=setTimeout(()=>{iu.delete(e),qo({type:"REMOVE_TOAST",toastId:e})},oS);iu.set(e,t)},aS=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,sS)};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;
68return n?F0(n):e.toasts.forEach(r=>{F0(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)}}},_a=[];let za={toasts:[]};function qo(e){za=aS(za,e),_a.forEach(t=>{t(za)})}function lS({...e}){const t=iS(),n=s=>qo({type:"UPDATE_TOAST",toast:{...s,id:t}}),r=()=>qo({type:"DISMISS_TOAST",toastId:t});return qo({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:s=>{s||r()}}}),{id:t,dismiss:r,update:n}}function cS(){const[e,t]=b.useState(za);return b.useEffect(()=>(_a.push(t),()=>{const n=_a.indexOf(t);n>-1&&_a.splice(n,1)}),[e]),{...e,toast:lS,dismiss:n=>qo({type:"DISMISS_TOAST",toastId:n})}}function Le(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 V0(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function jy(...e){return t=>{let n=!1;const r=e.map(s=>{const o=V0(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():V0(e[s],null)}}}}function an(...e){return b.useCallback(jy(...e),e)}function ac(e,t=[]){let n=[];function r(o,i){const a=b.createContext(i),l=n.length;n=[...n,i];const c=f=>{var m;const{scope:h,children:p,...v}=f,y=((m=h==null?void 0:h[e])==null?void 0:m[l])||a,w=b.useMemo(()=>v,Object.values(v));return u.jsx(y.Provider,{value:w,children:p})};c.displayName=o+"Provider";function d(f,h){var y;const p=((y=h==null?void 0:h[e])==null?void 0:y[l])||a,v=b.useContext(p);if(v)return v;if(i!==void 0)return i;throw new Error(`\`${f}\` must be used within \`${o}\``)}return[c,d]}const s=()=>{const o=n.map(i=>b.createContext(i));return function(a){const l=(a==null?void 0:a[e])||o;return b.useMemo(()=>({[`__scope${e}`]:{...a,[e]:l}}),[a,l])}};return s.scopeName=e,[r,uS(s,...t)]}function uS(...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 i=r.reduce((a,{useScope:l,scopeName:c})=>{const f=l(o)[`__scope${c}`];return{...a,...f}},{});return b.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}function Cl(e){const t=fS(e),n=b.forwardRef((r,s)=>{const{children:o,...i}=r,a=b.Children.toArray(o),l=a.find(pS);if(l){const c=l.props.children,d=a.map(f=>f===l?b.Children.count(c)>1?b.Children.only(null):b.isValidElement(c)?c.props.children:null:f);return u.jsx(t,{...i,ref:s,children:b.isValidElement(c)?b.cloneElement(c,void 0,d):null})}return u.jsx(t,{...i,ref:s,children:o})});return n.displayName=`${e}.Slot`,n}var dS=Cl("Slot");function fS(e){const t=b.forwardRef((n,r)=>{const{children:s,...o}=n;if(b.isValidElement(s)){const i=gS(s),a=mS(o,s.props);return s.type!==b.Fragment&&(a.ref=r?jy(r,i):i),b.cloneElement(s,a)}return b.Children.count(s)>1?b.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Ny=Symbol("radix.slottable");function hS(e){const t=({children:n})=>u.jsx(u.Fragment,{children:n});return t.displayName=`${e}.Slottable`,t.__radixId=Ny,t}function pS(e){return b.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Ny}function mS(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]=(...a)=>{const l=o(...a);return s(...a),l}:s&&(n[r]=s):r==="style"?n[r]={...s,...o}:r==="className"&&(n[r]=[s,o].filter(Boolean).join(" "))}return{...e,...n}}function gS(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 yS(e){const t=e+"CollectionProvider",[n,r]=ac(t),[s,o]=n(t,{collectionRef:{current:null},itemMap:new Map}),i=y=>{const{scope:w,children:m}=y,g=O.useRef(null),x=O.useRef(new Map).current;return u.jsx(s,{scope:w,itemMap:x,collectionRef:g,children:m})};i.displayName=t;const a=e+"CollectionSlot",l=Cl(a),c=O.forwardRef((y,w)=>{const{scope:m,children:g}=y,x=o(a,m),S=an(w,x.collectionRef);return u.jsx(l,{ref:S,children:g})});c.displayName=a;const d=e+"CollectionItemSlot",f="data-radix-collection-item",h=Cl(d),p=O.forwardRef((y,w)=>{const{scope:m,children:g,...x}=y,S=O.useRef(null),C=an(w,S),E=o(d,m);return O.useEffect(()=>(E.itemMap.set(S,{ref:S,...x}
vendor: 9,174 bytes, line 68
68),()=>void E.itemMap.delete(S))),u.jsx(h,{[f]:"",ref:C,children:g})});p.displayName=d;function v(y){const w=o(e+"CollectionConsumer",y);return O.useCallback(()=>{const g=w.collectionRef.current;if(!g)return[];const x=Array.from(g.querySelectorAll(`[${f}]`));return Array.from(w.itemMap.values()).sort((E,k)=>x.indexOf(E.ref.current)-x.indexOf(k.ref.current))},[w.collectionRef,w.itemMap])}return[{Provider:i,Slot:c,ItemSlot:p},v,r]}var vS=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],gt=vS.reduce((e,t)=>{const n=Cl(`Primitive.${t}`),r=b.forwardRef((s,o)=>{const{asChild:i,...a}=s,l=i?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),u.jsx(l,{...a,ref:o})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function Ay(e,t){e&&Vi.flushSync(()=>e.dispatchEvent(t))}function Tr(e){const t=b.useRef(e);return b.useEffect(()=>{t.current=e}),b.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function xS(e,t=globalThis==null?void 0:globalThis.document){const n=Tr(e);b.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 wS="DismissableLayer",Ad="dismissableLayer.update",bS="dismissableLayer.pointerDownOutside",SS="dismissableLayer.focusOutside",B0,My=b.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),fh=b.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:s,onFocusOutside:o,onInteractOutside:i,onDismiss:a,...l}=e,c=b.useContext(My),[d,f]=b.useState(null),h=(d==null?void 0:d.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,p]=b.useState({}),v=an(t,k=>f(k)),y=Array.from(c.layers),[w]=[...c.layersWithOutsidePointerEventsDisabled].slice(-1),m=y.indexOf(w),g=d?y.indexOf(d):-1,x=c.layersWithOutsidePointerEventsDisabled.size>0,S=g>=m,C=ES(k=>{const T=k.target,N=[...c.branches].some(P=>P.contains(T));!S||N||(s==null||s(k),i==null||i(k),k.defaultPrevented||a==null||a())},h),E=kS(k=>{const T=k.target;[...c.branches].some(P=>P.contains(T))||(o==null||o(k),i==null||i(k),k.defaultPrevented||a==null||a())},h);return xS(k=>{g===c.layers.size-1&&(r==null||r(k),!k.defaultPrevented&&a&&(k.preventDefault(),a()))},h),b.useEffect(()=>{if(d)return n&&(c.layersWithOutsidePointerEventsDisabled.size===0&&(B0=h.body.style.pointerEvents,h.body.style.pointerEvents="none"),c.layersWithOutsidePointerEventsDisabled.add(d)),c.layers.add(d),_0(),()=>{n&&c.layersWithOutsidePointerEventsDisabled.size===1&&(h.body.style.pointerEvents=B0)}},[d,h,n,c]),b.useEffect(()=>()=>{d&&(c.layers.delete(d),c.layersWithOutsidePointerEventsDisabled.delete(d),_0())},[d,c]),b.useEffect(()=>{const k=()=>p({});return document.addEventListener(Ad,k),()=>document.removeEventListener(Ad,k)},[]),u.jsx(gt.div,{...l,ref:v,style:{pointerEvents:x?S?"auto":"none":void 0,...e.style},onFocusCapture:Le(e.onFocusCapture,E.onFocusCapture),onBlurCapture:Le(e.onBlurCapture,E.onBlurCapture),onPointerDownCapture:Le(e.onPointerDownCapture,C.onPointerDownCapture)})});fh.displayName=wS;var CS="DismissableLayerBranch",Ry=b.forwardRef((e,t)=>{const n=b.useContext(My),r=b.useRef(null),s=an(t,r);return b.useEffect(()=>{const o=r.current;if(o)return n.branches.add(o),()=>{n.branches.delete(o)}},[n.branches]),u.jsx(gt.div,{...e,ref:s})});Ry.displayName=CS;function ES(e,t=globalThis==null?void 0:globalThis.document){const n=Tr(e),r=b.useRef(!1),s=b.useRef(()=>{});return b.useEffect(()=>{const o=a=>{if(a.target&&!r.current){let l=function(){Ly(bS,n,c,{discrete:!0})};const c={originalEvent:a};a.pointerType==="touch"?(t.removeEventListener("click",s.current),s.current=l,t.addEventListener("click",s.current,{once:!0})):l()}else t.removeEventListener("click",s.current);r.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",o)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",o),t.removeEventListener("click",s.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function kS(e,t=globalThis==null?void 0:globalThis.document){const n=Tr(e),r=b.useRef(!1);return b.useEffect(()=>{const s=o=>{o.target&&!r.current&&Ly(SS,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 _0(){const e=new CustomEvent(Ad);document.dispatchEvent(e)}function Ly(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?Ay(s,o):s.dispatchEvent(o)}var TS=fh,PS=Ry,Pr=globalThis!=null&&globalThis.document?b.useLayoutEffect:()=>{},jS="Portal",Iy=b.forwardRef((e,t)=>{var a;const{container:n,...r}=e,[s,o]=b.useState(!1);Pr(()=>o(!0),[]);const i=n||s&&((a=globalThis==null?void 0:globalThis.document)==null?void 0:a.body);return i?uy.createPortal(u.jsx(gt.div,{...r,ref:t}),i):null});Iy.displayName=jS;function NS(e,t){return b.useReducer((n,r)=>t[n][r]??n,e)}var hh=e=>{const{present:t,children:n}=e,r=AS(t),s=typeof n=="function"?n({present:r.isPresent}):b.Children.only(n),o=an(r.ref,MS(s));return typeof n=="function"||r.isPresent?b.cloneElement(s,{ref:o}):null};hh.displayName="Presence";function AS(e){const[t,n]=b.useState(),r=b.useRef(null),s=b.useRef(e),o=b.useRef("none"),i=e?"mounted":"unmounted",[a,l]=NS(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return b.useEffect(()=>{const c=va(r.current);o.current=a==="mounted"?c:"none"},[a]),Pr(()=>{const c=r.current,d=s.current;if(d!==e){const h=o.current,p=va(c);e?l("MOUNT"):p==="none"||(c==null?void 0:c.display)==="none"?l("UNMOUNT"):l(d&&h!==p?"ANIMATION_OUT":"UNMOUNT"),s.current=e}},[e,l]),Pr(()=>{if(t){let c;const d=t.ownerDocument.defaultView??window,f=p=>{const y=va(r.current).includes(p.animationName);if(p.target===t&&y&&(l("ANIMATION_END"),!s.current)){const w=t.style.animationFillMode;t.style.animationFillMode="forwards",c=d.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=w)})}},h=p=>{p.target===t&&(o.current=va(r.current))};return t.addEventListener("animationstart",h),t.addEventListener("animationcancel",f),t.addEventListener("animationend",f),()=>{d.clearTimeout(c),t.removeEventListener("animationstart",h),t.removeEventListener("animationcancel",f),t.removeEventListener("animationend",f)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:b.useCallback(c=>{r.current=c?getComputedStyle(c):null,n(c)},[])}}function va(e){return(e==null?void 0:e.animationName)||"none"}function MS(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)}var RS=a2[" useInsertionEffect ".trim().toString()]||Pr;function LS({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[s,o,i]=IS({defaultProp:t,onChange:n}),a=e!==void 0,l=a?e:s;{const d=b.useRef(e!==void 0);b.useEffect(()=>{const f=d.current;f!==a&&console.warn(`${r} is changing from ${f?"controlled":"uncontrolled"} to ${a?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),d.current=a},[a,r])}const c=b.useCallback(d=>{var f;if(a){const h=DS(d)?d(e):d;h!==e&&((f=i.current)==null||f.call(i,h))}else o(d)},[a,e,o,i]);return[l,c]}function IS({defaultProp:e,onChange:t}){const[n,r]=b.useState(e),s=b.useRef(n),o=b.useRef(t);return RS(()=>{o.current=t},[t]),b.useEffect(()=>{var i;s.current!==n&&((i=o.current)==null||i.call(o,n),s.current=n)},[n,s]),[n,r,o]}function DS(e){return typeof e=="function"}var OS=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),FS="VisuallyHidden",lc=b.forwardRef((e,t)=>u.jsx(gt.span,{...e,ref:t,style:{...OS,...e.style}}));lc.displayName=FS;var VS=lc,ph="ToastProvider",[mh,BS,_S]=yS("Toast"),[Dy,DN]=ac("Toast",[_S]),[zS,cc]=Dy(ph),Oy=e=>{const{__scopeToast:t,label:n="Notification",duration:r=5e3,swipeDirection:s="right",swipeThreshold:o=50,children:i}=e,[a,l]=b.useState(null),[c,d]=b.useState(0),f=b.useRef(!1),h=b.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${ph}\`. Expected non-empty \`string\`.`),u.jsx(mh.Provider,{scope:t,children:u.jsx(zS,{scope:t,label:n,duration:r,swipeDirection:s,swipeThreshold:o,toastCount:c,viewport:a,onViewportChange:l,onToastAdd:b.useCallback(()=>d(p=>p+1),[]),onToastRemove:b.useCallback(()=>d(p=>p-1),[]),isFocusedToastEscapeKeyDownRef:f,isClosePausedRef:h,children:i})})};Oy.displayName=ph;var Fy="ToastViewport",$S=["F8"],Md="toast.viewportPause",Rd="toast.viewportResume",Vy=b.forwardRef((e,t)=>
68{const{__scopeToast:n,hotkey:r=$S,label:s="Notifications ({hotkey})",...o}=e,i=cc(Fy,n),a=BS(n),l=b.useRef(null),c=b.useRef(null),d=b.useRef(null),f=b.useRef(null),h=an(t,f,i.onViewportChange),p=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),v=i.toastCount>0;b.useEffect(()=>{const w=m=>{var x;r.length!==0&&r.every(S=>m[S]||m.code===S)&&((x=f.current)==null||x.focus())};return document.addEventListener("keydown",w),()=>document.removeEventListener("keydown",w)},[r]),b.useEffect(()=>{const w=l.current,m=f.current;if(v&&w&&m){const g=()=>{if(!i.isClosePausedRef.current){const E=new CustomEvent(Md);m.dispatchEvent(E),i.isClosePausedRef.current=!0}},x=()=>{if(i.isClosePausedRef.current){const E=new CustomEvent(Rd);m.dispatchEvent(E),i.isClosePausedRef.current=!1}},S=E=>{!w.contains(E.relatedTarget)&&x()},C=()=>{w.contains(document.activeElement)||x()};return w.addEventListener("focusin",g),w.addEventListener("focusout",S),w.addEventListener("pointermove",g),w.addEventListener("pointerleave",C),window.addEventListener("blur",g),window.addEventListener("focus",x),()=>{w.removeEventListener("focusin",g),w.removeEventListener("focusout",S),w.removeEventListener("pointermove",g),w.removeEventListener("pointerleave",C),window.removeEventListener("blur",g),window.removeEventListener("focus",x)}}},[v,i.isClosePausedRef]);const y=b.useCallback(({tabbingDirection:w})=>{const g=a().map(x=>{const S=x.ref.current,C=[S,...t6(S)];return w==="forwards"?C:C.reverse()});return(w==="forwards"?g.reverse():g).flat()},[a]);return b.useEffect(()=>{const w=f.current;if(w){const m=g=>{var C,E,k;const x=g.altKey||g.ctrlKey||g.metaKey;if(g.key==="Tab"&&!x){const T=document.activeElement,N=g.shiftKey;if(g.target===w&&N){(C=c.current)==null||C.focus();return}const L=y({tabbingDirection:N?"backwards":"forwards"}),W=L.findIndex(I=>I===T);au(L.slice(W+1))?g.preventDefault():N?(E=c.current)==null||E.focus():(k=d.current)==null||k.focus()}};return w.addEventListener("keydown",m),()=>w.removeEventListener("keydown",m)}},[a,y]),u.jsxs(PS,{ref:l,role:"region","aria-label":s.replace("{hotkey}",p),tabIndex:-1,style:{pointerEvents:v?void 0:"none"},children:[v&&u.jsx(Ld,{ref:c,onFocusFromOutsideViewport:()=>{const w=y({tabbingDirection:"forwards"});au(w)}}),u.jsx(mh.Slot,{scope:n,children:u.jsx(gt.ol,{tabIndex:-1,...o,ref:h})}),v&&u.jsx(Ld,{ref:d,onFocusFromOutsideViewport:()=>{const w=y({tabbingDirection:"backwards"});au(w)}})]})});Vy.displayName=Fy;var By="ToastFocusProxy",Ld=b.forwardRef((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:r,...s}=e,o=cc(By,n);return u.jsx(lc,{"aria-hidden":!0,tabIndex:0,...s,ref:t,style:{position:"fixed"},onFocus:i=>{var c;const a=i.relatedTarget;!((c=o.viewport)!=null&&c.contains(a))&&r()}})});Ld.displayName=By;var Bi="Toast",US="toast.swipeStart",HS="toast.swipeMove",WS="toast.swipeCancel",GS="toast.swipeEnd",_y=b.forwardRef((e,t)=>{const{forceMount:n,open:r,defaultOpen:s,onOpenChange:o,...i}=e,[a,l]=LS({prop:r,defaultProp:s??!0,onChange:o,caller:Bi});return u.jsx(hh,{present:n||a,children:u.jsx(YS,{open:a,...i,ref:t,onClose:()=>l(!1),onPause:Tr(e.onPause),onResume:Tr(e.onResume),onSwipeStart:Le(e.onSwipeStart,c=>{c.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:Le(e.onSwipeMove,c=>{const{x:d,y:f}=c.detail.delta;c.currentTarget.setAttribute("data-swipe","move"),c.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${d}px`),c.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${f}px`)}),onSwipeCancel:Le(e.onSwipeCancel,c=>{c.currentTarget.setAttribute("data-swipe","cancel"),c.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),c.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),c.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),c.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:Le(e.onSwipeEnd,c=>{const{x:d,y:f}=c.detail.delta;c.currentTarget.setAttribute("data-swipe","end"),c.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),c.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),c.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${d}px`),c.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${f}px`),l(!1)})})})});_y.displayName=Bi;var[KS,QS]=Dy(Bi,{onClose(){}}),YS=b.forwardRef((e,t)=>
68{const{__scopeToast:n,type:r="foreground",duration:s,open:o,onClose:i,onEscapeKeyDown:a,onPause:l,onResume:c,onSwipeStart:d,onSwipeMove:f,onSwipeCancel:h,onSwipeEnd:p,...v}=e,y=cc(Bi,n),[w,m]=b.useState(null),g=an(t,I=>m(I)),x=b.useRef(null),S=b.useRef(null),C=s||y.duration,E=b.useRef(0),k=b.useRef(C),T=b.useRef(0),{onToastAdd:N,onToastRemove:P}=y,R=Tr(()=>{var G;(w==null?void 0:w.contains(document.activeElement))&&((G=y.viewport)==null||G.focus()),i()}),L=b.useCallback(I=>{!I||I===1/0||(window.clearTimeout(T.current),E.current=new Date().getTime(),T.current=window.setTimeout(R,I))},[R]);b.useEffect(()=>{const I=y.viewport;if(I){const G=()=>{L(k.current),c==null||c()},B=()=>{const K=new Date().getTime()-E.current;k.current=k.current-K,window.clearTimeout(T.current),l==null||l()};return I.addEventListener(Md,B),I.addEventListener(Rd,G),()=>{I.removeEventListener(Md,B),I.removeEventListener(Rd,G)}}},[y.viewport,C,l,c,L]),b.useEffect(()=>{o&&!y.isClosePausedRef.current&&L(C)},[o,C,y.isClosePausedRef,L]),b.useEffect(()=>(N(),()=>P()),[N,P]);const W=b.useMemo(()=>w?Ky(w):null,[w]);return y.viewport?u.jsxs(u.Fragment,{children:[W&&u.jsx(qS,{__scopeToast:n,role:"status","aria-live":r==="foreground"?"assertive":"polite","aria-atomic":!0,children:W}),u.jsx(KS,{scope:n,onClose:R,children:Vi.createPortal(u.jsx(mh.ItemSlot,{scope:n,children:u.jsx(TS,{asChild:!0,onEscapeKeyDown:Le(a,()=>{y.isFocusedToastEscapeKeyDownRef.current||R(),y.isFocusedToastEscapeKeyDownRef.current=!1}),children:u.jsx(gt.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":o?"open":"closed","data-swipe-direction":y.swipeDirection,...v,ref:g,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:Le(e.onKeyDown,I=>{I.key==="Escape"&&(a==null||a(I.nativeEvent),I.nativeEvent.defaultPrevented||(y.isFocusedToastEscapeKeyDownRef.current=!0,R()))}),onPointerDown:Le(e.onPointerDown,I=>{I.button===0&&(x.current={x:I.clientX,y:I.clientY})}),onPointerMove:Le(e.onPointerMove,I=>{if(!x.current)return;const G=I.clientX-x.current.x,B=I.clientY-x.current.y,K=!!S.current,j=["left","right"].includes(y.swipeDirection),A=["left","up"].includes(y.swipeDirection)?Math.min:Math.max,F=j?A(0,G):0,H=j?0:A(0,B),U=I.pointerType==="touch"?10:2,q={x:F,y:H},Q={originalEvent:I,delta:q};K?(S.current=q,xa(HS,f,Q,{discrete:!1})):z0(q,y.swipeDirection,U)?(S.current=q,xa(US,d,Q,{discrete:!1}),I.target.setPointerCapture(I.pointerId)):(Math.abs(G)>U||Math.abs(B)>U)&&(x.current=null)}),onPointerUp:Le(e.onPointerUp,I=>{const G=S.current,B=I.target;if(B.hasPointerCapture(I.pointerId)&&B.releasePointerCapture(I.pointerId),S.current=null,x.current=null,G){const K=I.currentTarget,j={originalEvent:I,delta:G};z0(G,y.swipeDirection,y.swipeThreshold)?xa(GS,p,j,{discrete:!0}):xa(WS,h,j,{discrete:!0}),K.addEventListener("click",A=>A.preventDefault(),{once:!0})}})})})}),y.viewport)})]}):null}),qS=e=>{const{__scopeToast:t,children:n,...r}=e,s=cc(Bi,t),[o,i]=b.useState(!1),[a,l]=b.useState(!1);return JS(()=>i(!0)),b.useEffect(()=>{const c=window.setTimeout(()=>l(!0),1e3);return()=>window.clearTimeout(c)},[]),a?null:u.jsx(Iy,{asChild:!0,children:u.jsx(lc,{...r,children:o&&u.jsxs(u.Fragment,{children:[s.label," ",n]})})})},XS="ToastTitle",zy=b.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return u.jsx(gt.div,{...r,ref:t})});zy.displayName=XS;var ZS="ToastDescription",$y=b.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return u.jsx(gt.div,{...r,ref:t})});$y.displayName=ZS;var Uy="ToastAction",Hy=b.forwardRef((e,t)=>{const{altText:n,...r}=e;return n.trim()?u.jsx(Gy,{altText:n,asChild:!0,children:u.jsx(gh,{...r,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${Uy}\`. Expected non-empty \`string\`.`),null)});Hy.displayName=Uy;var Wy="ToastClose",gh=b.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e,s=QS(Wy,n);return u.jsx(Gy,{asChild:!0,children:u.jsx(gt.button,{type:"button",...r,ref:t,onClick:Le(e.onClick,s.onClose)})})});gh.displayName=Wy;var Gy=b.forwardRef((e,t)=>{const{__scopeToast:n,altText:r,...s}=e;return u.jsx(gt.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...s,ref:t})});function Ky(e){const t=[];
vendor: 6,846 bytes, lines 68-123
68return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),e6(r)){const s=r.ariaHidden||r.hidden||r.style.display==="none",o=r.dataset.radixToastAnnounceExclude==="";if(!s)if(o){const i=r.dataset.radixToastAnnounceAlt;i&&t.push(i)}else t.push(...Ky(r))}}),t}function xa(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?Ay(s,o):s.dispatchEvent(o)}var z0=(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 JS(e=()=>{}){const t=Tr(e);Pr(()=>{let n=0,r=0;return n=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(r)}},[t])}function e6(e){return e.nodeType===e.ELEMENT_NODE}function t6(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 au(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}var n6=Oy,Qy=Vy,Yy=_y,qy=zy,Xy=$y,Zy=Hy,Jy=gh;function ev(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=ev(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function tv(){for(var e,t,n=0,r="",s=arguments.length;n<s;n++)(e=arguments[n])&&(t=ev(e))&&(r&&(r+=" "),r+=t);return r}const $0=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,U0=tv,nv=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return U0(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:s,defaultVariants:o}=t,i=Object.keys(s).map(c=>{const d=n==null?void 0:n[c],f=o==null?void 0:o[c];if(d===null)return null;const h=$0(d)||$0(f);return s[c][h]}),a=n&&Object.entries(n).reduce((c,d)=>{let[f,h]=d;return h===void 0||(c[f]=h),c},{}),l=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((c,d)=>{let{class:f,className:h,...p}=d;return Object.entries(p).every(v=>{let[y,w]=v;return Array.isArray(w)?w.includes({...o,...a}[y]):{...o,...a}[y]===w})?[...c,f,h]:c},[]);return U0(e,i,l,n==null?void 0:n.class,n==null?void 0:n.className)};/**
69 * @license lucide-react v0.462.0 - ISC
70 *
71 * This source code is licensed under the ISC license.
72 * See the LICENSE file in the root directory of this source tree.
73 */const r6=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),rv=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim();/**
74 * @license lucide-react v0.462.0 - ISC
75 *
76 * This source code is licensed under the ISC license.
77 * See the LICENSE file in the root directory of this source tree.
78 */var s6={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"};/**
79 * @license lucide-react v0.462.0 - ISC
80 *
81 * This source code is licensed under the ISC license.
82 * See the LICENSE file in the root directory of this source tree.
83 */const o6=b.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:s="",children:o,iconNode:i,...a},l)=>b.createElement("svg",{ref:l,...s6,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:rv("lucide",s),...a},[...i.map(([c,d])=>b.createElement(c,d)),...Array.isArray(o)?o:[o]]));/**
84 * @license lucide-react v0.462.0 - ISC
85 *
86 * This source code is licensed under the ISC license.
87 * See the LICENSE file in the root directory of this source tree.
88 */const Hn=(e,t)=>{const n=b.forwardRef(({className:r,...s},o)=>b.createElement(o6,{ref:o,iconNode:t,className:rv(`lucide-${r6(e)}`,r),...s}));return n.displayName=`${e}`,n};/**
89 * @license lucide-react v0.462.0 - ISC
90 *
91 * This source code is licensed under the ISC license.
92 * See the LICENSE file in the root directory of this source tree.
93 */const uc=Hn("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);/**
94 * @license lucide-react v0.462.0 - ISC
95 *
96 * This source code is licensed under the ISC license.
97 * See the LICENSE file in the root directory of this source tree.
98 */const _i=Hn("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/**
99 * @license lucide-react v0.462.0 - ISC
100 *
101 * This source code is licensed under the ISC license.
102 * See the LICENSE file in the root directory of this source tree.
103 */const i6=Hn("ArrowUp",[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]]);/**
104 * @license lucide-react v0.462.0 - ISC
105 *
106 * This source code is licensed under the ISC license.
107 * See the LICENSE file in the root directory of this source tree.
108 */const a6=Hn("Brain",[["path",{d:"M12 5a3 3 0 1 0-5.997.125 4 4 0 0 0-2.526 5.77 4 4 0 0 0 .556 6.588A4 4 0 1 0 12 18Z",key:"l5xja"}],["path",{d:"M12 5a3 3 0 1 1 5.997.125 4 4 0 0 1 2.526 5.77 4 4 0 0 1-.556 6.588A4 4 0 1 1 12 18Z",key:"ep3f8r"}],["path",{d:"M15 13a4.5 4.5 0 0 1-3-4 4.5 4.5 0 0 1-3 4",key:"1p4c4q"}],["path",{d:"M17.599 6.5a3 3 0 0 0 .399-1.375",key:"tmeiqw"}],["path",{d:"M6.003 5.125A3 3 0 0 0 6.401 6.5",key:"105sqy"}],["path",{d:"M3.477 10.896a4 4 0 0 1 .585-.396",key:"ql3yin"}],["path",{d:"M19.938 10.5a4 4 0 0 1 .585.396",key:"1qfode"}],["path",{d:"M6 18a4 4 0 0 1-1.967-.516",key:"2e4loj"}],["path",{d:"M19.967 17.484A4 4 0 0 1 18 18",key:"159ez6"}]]);/**
109 * @license lucide-react v0.462.0 - ISC
110 *
111 * This source code is licensed under the ISC license.
112 * See the LICENSE file in the root directory of this source tree.
113 */const El=Hn("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"}]]);/**
114 * @license lucide-react v0.462.0 - ISC
115 *
116 * This source code is licensed under the ISC license.
117 * See the LICENSE file in the root directory of this source tree.
118 */const l6=Hn("Earth",[["path",{d:"M21.54 15H17a2 2 0 0 0-2 2v4.54",key:"1djwo0"}],["path",{d:"M7 3.34V5a3 3 0 0 0 3 3a2 2 0 0 1 2 2c0 1.1.9 2 2 2a2 2 0 0 0 2-2c0-1.1.9-2 2-2h3.17",key:"1tzkfa"}],["path",{d:"M11 21.95V18a2 2 0 0 0-2-2a2 2 0 0 1-2-2v-1a2 2 0 0 0-2-2H2.05",key:"14pb5j"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);/**
119 * @license lucide-react v0.462.0 - ISC
120 *
121 * This source code is licensed under the ISC license.
122 * See the LICENSE file in the root directory of this source tree.
123 */const c6=Hn("Rocket",[["path",{d:"M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09z",key:"m3
vendor: 8,814 bytes, lines 123-133
123kijz"}],["path",{d:"m12 15-3-3a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.35 22.35 0 0 1-4 2z",key:"1fmvmk"}],["path",{d:"M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0",key:"1f8sc4"}],["path",{d:"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5",key:"qeys4"}]]);/**
124 * @license lucide-react v0.462.0 - ISC
125 *
126 * This source code is licensed under the ISC license.
127 * See the LICENSE file in the root directory of this source tree.
128 */const u6=Hn("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"}]]);/**
129 * @license lucide-react v0.462.0 - ISC
130 *
131 * This source code is licensed under the ISC license.
132 * See the LICENSE file in the root directory of this source tree.
133 */const d6=Hn("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),yh="-",f6=e=>{const t=p6(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:i=>{const a=i.split(yh);return a[0]===""&&a.length!==1&&a.shift(),sv(a,t)||h6(i)},getConflictingClassGroupIds:(i,a)=>{const l=n[i]||[];return a&&r[i]?[...l,...r[i]]:l}}},sv=(e,t)=>{var i;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),s=r?sv(e.slice(1),r):void 0;if(s)return s;if(t.validators.length===0)return;const o=e.join(yh);return(i=t.validators.find(({validator:a})=>a(o)))==null?void 0:i.classGroupId},H0=/^\[(.+)\]$/,h6=e=>{if(H0.test(e)){const t=H0.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},p6=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return g6(Object.entries(e.classGroups),n).forEach(([o,i])=>{Id(i,r,o,t)}),r},Id=(e,t,n,r)=>{e.forEach(s=>{if(typeof s=="string"){const o=s===""?t:W0(t,s);o.classGroupId=n;return}if(typeof s=="function"){if(m6(s)){Id(s(r),t,n,r);return}t.validators.push({validator:s,classGroupId:n});return}Object.entries(s).forEach(([o,i])=>{Id(i,W0(t,o),n,r)})})},W0=(e,t)=>{let n=e;return t.split(yh).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},m6=e=>e.isThemeGetter,g6=(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(([i,a])=>[t+i,a])):o);return[n,s]}):e,y6=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const s=(o,i)=>{n.set(o,i),t++,t>e&&(t=0,r=n,n=new Map)};return{get(o){let i=n.get(o);if(i!==void 0)return i;if((i=r.get(o))!==void 0)return s(o,i),i},set(o,i){n.has(o)?n.set(o,i):s(o,i)}}},ov="!",v6=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,s=t[0],o=t.length,i=a=>{const l=[];let c=0,d=0,f;for(let w=0;w<a.length;w++){let m=a[w];if(c===0){if(m===s&&(r||a.slice(w,w+o)===t)){l.push(a.slice(d,w)),d=w+o;continue}if(m==="/"){f=w;continue}}m==="["?c++:m==="]"&&c--}const h=l.length===0?a:a.substring(d),p=h.startsWith(ov),v=p?h.substring(1):h,y=f&&f>d?f-d:void 0;return{modifiers:l,hasImportantModifier:p,baseClassName:v,maybePostfixModifierPosition:y}};return n?a=>n({className:a,parseClassName:i}):i},x6=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},w6=e=>({cache:y6(e.cacheSize),parseClassName:v6(e),...f6(e)}),b6=/\s+/,S6=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:s}=t,o=[],i=e.trim().split(b6);let a="";for(let l=i.length-1;l>=0;l-=1){const c=i[l],{modifiers:d,hasImportantModifier:f,baseClassName:h,maybePostfixModifierPosition:p}=n(c);let v=!!p,y=r(v?h.substring(0,p):h);if(!y){if(!v){a=c+(a.length>0?" "+a:a);continue}if(y=r(h),!y){a=c+(a.length>0?" "+a:a);continue}v=!1}const w=x6(d).join(":"),m=f?w+ov:w,g=m+y;if(o.includes(g))continue;o.push(g);const x=s(y,v);for(let S=0;S<x.length;++S){const C=x[S];o.push(m+C)}a=c+(a.length>0?" "+a:a)}return a};function C6(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=iv(t))&&(r&&(r+=" "),r+=n);return r}const iv=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=iv(e[r]))&&(n&&(n+=" "),n+=t);return n};function E6(e,...t){let n,r,s,o=i;function i(l){const c=t.reduce((d,f)=>f(d),e());return n=w6(c),r=n.cache.get,s=n.cache.set,o=a,a(l)}function a(l){const c=r(l);if(c)return c;const d=S6(l,n);return s(l,d),d}return function(){return o(C6.apply(null,arguments))}}const fe=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},av=/^\[(?:([a-z-]+):)?(.+)\]$/i,k6=/^\d+\/\d+$/,T6=new Set(["px","full","screen"]),P6=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,j6=/\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$/,N6=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,A6=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,M6=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Nn=e=>$s(e)||T6.has(e)||k6.test(e),Zn=e=>ho(e,"length",B6),$s=e=>!!e&&!Number.isNaN(Number(e)),lu=e=>ho(e,"number",$s),Mo=e=>!!e&&Number.isInteger(Number(e)),R6=e=>e.endsWith("%")&&$s(e.slice(0,-1)),J=e=>av.test(e),Jn=e=>P6.test(e),L6=new Set(["length","size","percentage"]),I6=e=>ho(e,L6,lv),D6=e=>ho(e,"position",lv),O6=new Set(["image","url"]),F6=e=>ho(e,O6,z6),V6=e=>ho(e,"",_6),Ro=()=>!0,ho=(e,t,n)=>{const r=av.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},B6=e=>j6.test(e)&&!N6.test(e),lv=()=>!1,_6=e=>A6.test(e),z6=e=>M6.test(e),$6=()=>{const e=fe("colors"),t=fe("spacing"),n=fe("blur"),r=fe("brightness"),s=fe("borderColor"),o=fe("borderRadius"),i=fe("borderSpacing"),a=fe("borderWidth"),l=fe("contrast"),c=fe("grayscale"),d=fe("hueRotate"),f=fe("invert"),h=fe("gap"),p=fe("gradientColorStops"),v=fe("gradientColorStopPositions"),y=fe("inset"),w=fe("margin"),m=fe("opacity"),g=fe("padding"),x=fe("saturate"),S=fe("scale"),C=fe("sepia"),E=fe("skew"),k=fe("space"),T=fe("translate"),N=()=>["auto","contain","none"],P=()=>["auto","hidden","clip","visible","scroll"],R=()=>["auto",J,t],L=()=>[J,t],W=()=>["",Nn,Zn],I=()=>["auto",$s,J],G=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],B=()=>["solid","dashed","dotted","double","none"],K=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],j=()=>["start","end","center","between","around","evenly","stretch"],A=()=>["","0",J],F=()=>["auto","avoid","all","avoid-page","page","left","right","column"],H=()=>[$s,J];return{cacheSize:500,separator:":",theme:{colors:[Ro],spacing:[Nn,Zn],blur:["none","",Jn,J],brightness:H(),borderColor:[e],borderRadius:["none","","full",Jn,J],borderSpacing:L(),borderWidth:W(),contrast:H(),grayscale:A(),hueRotate:H(),invert:A(),gap:L(),gradientColorStops:[e],gradientColorStopPositions:[R6,Zn],inset:R(),margin:R(),opacity:H(),padding:L(),saturate:H(),scale:H(),sepia:A(),skew:H(),space:L(),translate:L()},classGroups:{aspect:[{aspect:["auto","square","video",J]}],container:["container"],columns:[{columns:[Jn]}],"break-after":[{"break-after":F()}],"break-before":[{"break-before":F()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],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:[...G(),J]}],overflow:[{overflow:P()}],"overflow-x":[{"overflow-x":P()}],"overflow-y":[{"overflow-y":P()}],overscroll:[{overscroll:N()}],"overscroll-x":[{"overscroll-x":N()}],"overscroll-y":[{"overscroll-y":N()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[y]}],"inset-x":[{"inset-x":[y]}],"inset-y":[{"inset-y":[y]}],start:[{start:[y]}],end:[{end:[y]}],top:[{top:[y]}],right:[{right:[y]}],bottom:[{bottom:[y]}],left:[{left:[y]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Mo,J]}],basis:[{basis:R()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",J]}],grow:[{grow:A()}],shrink:[{shrink:A()}],order:[{order:["first","last","none",Mo,J]}],"grid-cols":[{"grid-cols":[Ro]}],"col-start-end":[{col:["auto",{span:["full",Mo,J]},J]}],"col-start":[{"col-start":I()}
vendor: 9,394 bytes, line 133
133],"col-end":[{"col-end":I()}],"grid-rows":[{"grid-rows":[Ro]}],"row-start-end":[{row:["auto",{span:[Mo,J]},J]}],"row-start":[{"row-start":I()}],"row-end":[{"row-end":I()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",J]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",J]}],gap:[{gap:[h]}],"gap-x":[{"gap-x":[h]}],"gap-y":[{"gap-y":[h]}],"justify-content":[{justify:["normal",...j()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...j(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...j(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[g]}],px:[{px:[g]}],py:[{py:[g]}],ps:[{ps:[g]}],pe:[{pe:[g]}],pt:[{pt:[g]}],pr:[{pr:[g]}],pb:[{pb:[g]}],pl:[{pl:[g]}],m:[{m:[w]}],mx:[{mx:[w]}],my:[{my:[w]}],ms:[{ms:[w]}],me:[{me:[w]}],mt:[{mt:[w]}],mr:[{mr:[w]}],mb:[{mb:[w]}],ml:[{ml:[w]}],"space-x":[{"space-x":[k]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[k]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",J,t]}],"min-w":[{"min-w":[J,t,"min","max","fit"]}],"max-w":[{"max-w":[J,t,"none","full","min","max","fit","prose",{screen:[Jn]},Jn]}],h:[{h:[J,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[J,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[J,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[J,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Jn,Zn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",lu]}],"font-family":[{font:[Ro]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",J]}],"line-clamp":[{"line-clamp":["none",$s,lu]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Nn,J]}],"list-image":[{"list-image":["none",J]}],"list-style-type":[{list:["none","disc","decimal",J]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[m]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[m]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...B(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Nn,Zn]}],"underline-offset":[{"underline-offset":["auto",Nn,J]}],"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",J]}],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",J]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[m]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...G(),D6]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",I6]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},F6]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[v]}],"gradient-via-pos":[{via:[v]}],"gradient-to-pos":[{to:[v]}],"gradient-from":[{from:[p]}],"gradient-via":[{via:[p]}],"gradient-to":[{to:[p]}],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:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[m]}],"border-style":[{border:[...B(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[m]}],"divide-style":[{divide:B()}],"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:["",...B()]}],"outline-offset":[{"outline-offset":[Nn,J]}],"outline-w":[{outline:[Nn,Zn]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:W()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[m]}],"ring-offset-w":[{"ring-offset":[Nn,Zn]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Jn,V6]}],"shadow-color":[{shadow:[Ro]}],opacity:[{opacity:[m]}],"mix-blend":[{"mix-blend":[...K(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":K()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",Jn,J]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[d]}],invert:[{invert:[f]}],saturate:[{saturate:[x]}],sepia:[{sepia:[C]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[d]}],"backdrop-invert":[{"backdrop-invert":[f]}],"backdrop-opacity":[{"backdrop-opacity":[m]}],"backdrop-saturate":[{"backdrop-saturate":[x]}],"backdrop-sepia":[{"backdrop-sepia":[C]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",J]}],duration:[{duration:H()}],ease:[{ease:["linear","in","out","in-out",J]}],delay:[{delay:H()}],animate:[{animate:["none","spin","ping","pulse","bounce",J]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[S]}],"scale-x":[{"scale-x":[S]}],"scale-y":[{"scale-y":[S]}],rotate:[{rotate:[Mo,J]}],"translate-x":[{"translate-x":[T]}],"translate-y":[{"translate-y":[T]}],"skew-x":[{"skew-x":[E]}],"skew-y":[{"skew-y":[E]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",J]}],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",J]}],"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,646 bytes, line 133
133],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",J]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Nn,Zn,lu]}],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"]}}},U6=E6($6);function Pt(...e){return U6(tv(e))}const H6=n6,cv=b.forwardRef(({className:e,...t},n)=>u.jsx(Qy,{ref:n,className:Pt("fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",e),...t}));cv.displayName=Qy.displayName;const W6=nv("group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-md border p-6 pr-8 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),uv=b.forwardRef(({className:e,variant:t,...n},r)=>u.jsx(Yy,{ref:r,className:Pt(W6({variant:t}),e),...n}));uv.displayName=Yy.displayName;const G6=b.forwardRef(({className:e,...t},n)=>u.jsx(Zy,{ref:n,className:Pt("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 group-[.destructive]:border-muted/40 hover:bg-secondary group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 group-[.destructive]:focus:ring-destructive disabled:pointer-events-none disabled:opacity-50",e),...t}));G6.displayName=Zy.displayName;const dv=b.forwardRef(({className:e,...t},n)=>u.jsx(Jy,{ref:n,className:Pt("absolute right-2 top-2 rounded-md p-1 text-foreground
vendor: 13,474 bytes, line 133
133/50 opacity-0 transition-opacity group-hover:opacity-100 group-[.destructive]:text-red-300 hover:text-foreground group-[.destructive]:hover:text-red-50 focus:opacity-100 focus:outline-none focus:ring-2 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...t,children:u.jsx(d6,{className:"h-4 w-4"})}));dv.displayName=Jy.displayName;const fv=b.forwardRef(({className:e,...t},n)=>u.jsx(qy,{ref:n,className:Pt("text-sm font-semibold",e),...t}));fv.displayName=qy.displayName;const hv=b.forwardRef(({className:e,...t},n)=>u.jsx(Xy,{ref:n,className:Pt("text-sm opacity-90",e),...t}));hv.displayName=Xy.displayName;function K6(){const{toasts:e}=cS();return u.jsxs(H6,{children:[e.map(function({id:t,title:n,description:r,action:s,...o}){return u.jsxs(uv,{...o,children:[u.jsxs("div",{className:"grid gap-1",children:[n&&u.jsx(fv,{children:n}),r&&u.jsx(hv,{children:r})]}),s,u.jsx(dv,{})]},t)}),u.jsx(cv,{})]})}const Q6=["top","right","bottom","left"],jr=Math.min,wt=Math.max,kl=Math.round,wa=Math.floor,En=e=>({x:e,y:e}),Y6={left:"right",right:"left",bottom:"top",top:"bottom"},q6={start:"end",end:"start"};function Dd(e,t,n){return wt(e,jr(t,n))}function zn(e,t){return typeof e=="function"?e(t):e}function $n(e){return e.split("-")[0]}function po(e){return e.split("-")[1]}function vh(e){return e==="x"?"y":"x"}function xh(e){return e==="y"?"height":"width"}const X6=new Set(["top","bottom"]);function bn(e){return X6.has($n(e))?"y":"x"}function wh(e){return vh(bn(e))}function Z6(e,t,n){n===void 0&&(n=!1);const r=po(e),s=wh(e),o=xh(s);let i=s==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(i=Tl(i)),[i,Tl(i)]}function J6(e){const t=Tl(e);return[Od(e),t,Od(t)]}function Od(e){return e.replace(/start|end/g,t=>q6[t])}const G0=["left","right"],K0=["right","left"],e8=["top","bottom"],t8=["bottom","top"];function n8(e,t,n){switch(e){case"top":case"bottom":return n?t?K0:G0:t?G0:K0;case"left":case"right":return t?e8:t8;default:return[]}}function r8(e,t,n,r){const s=po(e);let o=n8($n(e),n==="start",r);return s&&(o=o.map(i=>i+"-"+s),t&&(o=o.concat(o.map(Od)))),o}function Tl(e){return e.replace(/left|right|bottom|top/g,t=>Y6[t])}function s8(e){return{top:0,right:0,bottom:0,left:0,...e}}function pv(e){return typeof e!="number"?s8(e):{top:e,right:e,bottom:e,left:e}}function Pl(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 Q0(e,t,n){let{reference:r,floating:s}=e;const o=bn(t),i=wh(t),a=xh(i),l=$n(t),c=o==="y",d=r.x+r.width/2-s.width/2,f=r.y+r.height/2-s.height/2,h=r[a]/2-s[a]/2;let p;switch(l){case"top":p={x:d,y:r.y-s.height};break;case"bottom":p={x:d,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:f};break;case"left":p={x:r.x-s.width,y:f};break;default:p={x:r.x,y:r.y}}switch(po(t)){case"start":p[i]-=h*(n&&c?-1:1);break;case"end":p[i]+=h*(n&&c?-1:1);break}return p}const o8=async(e,t,n)=>{const{placement:r="bottom",strategy:s="absolute",middleware:o=[],platform:i}=n,a=o.filter(Boolean),l=await(i.isRTL==null?void 0:i.isRTL(t));let c=await i.getElementRects({reference:e,floating:t,strategy:s}),{x:d,y:f}=Q0(c,r,l),h=r,p={},v=0;for(let y=0;y<a.length;y++){const{name:w,fn:m}=a[y],{x:g,y:x,data:S,reset:C}=await m({x:d,y:f,initialPlacement:r,placement:h,strategy:s,middlewareData:p,rects:c,platform:i,elements:{reference:e,floating:t}});d=g??d,f=x??f,p={...p,[w]:{...p[w],...S}},C&&v<=50&&(v++,typeof C=="object"&&(C.placement&&(h=C.placement),C.rects&&(c=C.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:s}):C.rects),{x:d,y:f}=Q0(c,h,l)),y=-1)}return{x:d,y:f,placement:h,strategy:s,middlewareData:p}};async function Ci(e,t){var n;t===void 0&&(t={});const{x:r,y:s,platform:o,rects:i,elements:a,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:d="viewport",elementContext:f="floating",altBoundary:h=!1,padding:p=0}=zn(t,e),v=pv(p),w=a[h?f==="floating"?"reference":"floating":f],m=Pl(await o.getClippingRect({element:(n=await(o.isElement==null?void 0:o.isElement(w)))==null||n?w:w.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(a.floating)),boundary:c,rootBoundary:d,strategy:l})),g=f==="floating"?{x:r,y:s,width:i.floating.width,height:i.floating.height}:i.reference,x=await(o.getOffsetParent==null?void 0:o.getOffsetParent(a.floating)),S=await(o.isElement==null?void 0:o.isElement(x))?await(o.getScale==null?void 0:o.getScale(x))||{x:1,y:1}:{x:1,y:1},C=Pl(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:g,offsetParent:x,strategy:l}):g);return{top:(m.top-C.top+v.top)/S.y,bottom:(C.bottom-m.bottom+v.bottom)/S.y,left:(m.left-C.left+v.left)/S.x,right:(C.right-m.right+v.right)/S.x}}const i8=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:s,rects:o,platform:i,elements:a,middlewareData:l}=t,{element:c,padding:d=0}=zn(e,t)||{};if(c==null)return{};const f=pv(d),h={x:n,y:r},p=wh(s),v=xh(p),y=await i.getDimensions(c),w=p==="y",m=w?"top":"left",g=w?"bottom":"right",x=w?"clientHeight":"clientWidth",S=o.reference[v]+o.reference[p]-h[p]-o.floating[v],C=h[p]-o.reference[p],E=await(i.getOffsetParent==null?void 0:i.getOffsetParent(c));let k=E?E[x]:0;(!k||!await(i.isElement==null?void 0:i.isElement(E)))&&(k=a.floating[x]||o.floating[v]);const T=S/2-C/2,N=k/2-y[v]/2-1,P=jr(f[m],N),R=jr(f[g],N),L=P,W=k-y[v]-R,I=k/2-y[v]/2+T,G=Dd(L,I,W),B=!l.arrow&&po(s)!=null&&I!==G&&o.reference[v]/2-(I<L?P:R)-y[v]/2<0,K=B?I<L?I-L:I-W:0;return{[p]:h[p]+K,data:{[p]:G,centerOffset:I-G-K,...B&&{alignmentOffset:K}},reset:B}}}),a8=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:s,middlewareData:o,rects:i,initialPlacement:a,platform:l,elements:c}=t,{mainAxis:d=!0,crossAxis:f=!0,fallbackPlacements:h,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:v="none",flipAlignment:y=!0,...w}=zn(e,t);if((n=o.arrow)!=null&&n.alignmentOffset)return{};const m=$n(s),g=bn(a),x=$n(a)===a,S=await(l.isRTL==null?void 0:l.isRTL(c.floating)),C=h||(x||!y?[Tl(a)]:J6(a)),E=v!=="none";!h&&E&&C.push(...r8(a,y,v,S));const k=[a,...C],T=await Ci(t,w),N=[];let P=((r=o.flip)==null?void 0:r.overflows)||[];if(d&&N.push(T[m]),f){const I=Z6(s,i,S);N.push(T[I[0]],T[I[1]])}if(P=[...P,{placement:s,overflows:N}],!N.every(I=>I<=0)){var R,L;const I=(((R=o.flip)==null?void 0:R.index)||0)+1,G=k[I];if(G&&(!(f==="alignment"?g!==bn(G):!1)||P.every(j=>j.overflows[0]>0&&bn(j.placement)===g)))return{data:{index:I,overflows:P},reset:{placement:G}};let B=(L=P.filter(K=>K.overflows[0]<=0).sort((K,j)=>K.overflows[1]-j.overflows[1])[0])==null?void 0:L.placement;if(!B)switch(p){case"bestFit":{var W;const K=(W=P.filter(j=>{if(E){const A=bn(j.placement);return A===g||A==="y"}return!0}).map(j=>[j.placement,j.overflows.filter(A=>A>0).reduce((A,F)=>A+F,0)]).sort((j,A)=>j[1]-A[1])[0])==null?void 0:W[0];K&&(B=K);break}case"initialPlacement":B=a;break}if(s!==B)return{reset:{placement:B}}}return{}}}};function Y0(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function q0(e){return Q6.some(t=>e[t]>=0)}const l8=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...s}=zn(e,t);switch(r){case"referenceHidden":{const o=await Ci(t,{...s,elementContext:"reference"}),i=Y0(o,n.reference);return{data:{referenceHiddenOffsets:i,referenceHidden:q0(i)}}}case"escaped":{const o=await Ci(t,{...s,altBoundary:!0}),i=Y0(o,n.floating);return{data:{escapedOffsets:i,escaped:q0(i)}}}default:return{}}}}},mv=new Set(["left","top"]);async function c8(e,t){const{placement:n,platform:r,elements:s}=e,o=await(r.isRTL==null?void 0:r.isRTL(s.floating)),i=$n(n),a=po(n),l=bn(n)==="y",c=mv.has(i)?-1:1,d=o&&l?-1:1,f=zn(t,e);let{mainAxis:h,crossAxis:p,alignmentAxis:v}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return a&&typeof v=="number"&&(p=a==="end"?v*-1:v),l?{x:p*d,y:h*c}:{x:h*c,y:p*d}}const u8=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:s,y:o,placement:i,middlewareData:a}=t,l=await c8(t,e);return i===((n=a.offset)==null?void 0:n.placement)&&(r=a.arrow)!=null&&r.alignmentOffset?{}:{x:s+l.x,y:o+l.y,data:{...l,placement:i}}}}},d8=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:i=!1,limiter:a={fn:w=>{let{x:m,y:g}=w;return{x:m,y:g}}},...l}=zn(e,t),c={x:n,y:r},d=await Ci(t,l),f=bn($n(s)),h=vh(f);let p=c[h],v=c[f];if(o){const w=h==="y"?"top":"left",m=h==="y"?"bottom":"right",g=p+d[w],x=p-d[m];p=Dd(g,p,x)}if(i){const w=f==="y"?"top":"left",m=f==="y"?"bottom":"right",g=v+d[w],x=v-d[m];v=Dd(g,v,x)}const y=a.fn({...t,[h]:p,[f]:v});return{...y,data:{x:y.x-n,y:y.y-r,enabled:{[h]:o,[f]:i}}}}}},f8=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:s,rects:o,middlewareData:i}=t,{offset:a=0,mainAxis:l=!0,crossAxis:c=!0}=zn(e,t),d={x:n,y:r},f=bn(s),h=vh(f);let p=d[h],v=d[f];const y=zn(a,t),w=typeof y=="number"?{mainAxis:y,crossAxis:0}:{mainAxis:0,crossAxis:0,...y};if(l){const x=h==="y"?"height":"width",S=o.reference[h]-o.floating[x]+w.mainAxis,C=o.reference[h]+o.reference[x]-w.mainAxis;p<S?p=S:p>C&&(p=C)}if(c){var m,g;const x=h==="y"?"width":"height",S=mv.has($n(s)),C=o.reference[f]-o.floating[x]+(S&&((m=i.offset)==null?void 0:m[f])||0)+(S?0:w.crossAxis),E=o.reference[f]+o.reference[x]+(S?0:((g=i.offset)==null?void 0:g[f])||0)-(S?w.crossAxis:0);v<C?v=C:v>E&&(v=E)}return{[h]:p,[f]:v}}}},h8=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:s,rects:o,platform:i,elements:a}=t,{apply:l=()=>{},...c}=zn(e,t),d=await Ci(t,c),f=$n(s),h=po(s),p=bn(s)==="y",{width:v,height:y}=o.floating;let w,m;f==="top"||f==="bottom"?(w=f,m=h===(await(i.isRTL==null?void 0:i.isRTL(a.floating))?"start":"end")?"left":"right"):(m=f,w=h==="end"?"top":"bottom");const g=y-d.top-d.bottom,x=v-d.left-d.right,S=jr(y-d[w],g),C=jr(v-d[m],x),E=!t.middlewareData.shift;let k=S,T=C;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(T=x),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(k=g),E&&!h){const P=wt(d.left,0),R=wt(d.right,0),L=wt(d.top,0),W=wt(d.bottom,0);p?T=v-2*(P!==0||R!==0?P+R:wt(d.left,d.right)):k=y-2*(L!==0||W!==0?L+W:wt(d.top,d.bottom))}await l({...t,availableWidth:T,availableHeight:k});const N=await i.getDimensions(a.floating);return v!==N.width||y!==N.height?{reset:{rects:!0}}:{}}}};function dc(){return typeof window<"u"}function mo(e){return gv(e)?(e.nodeName||"").toLowerCase():"#document"}function Ct(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Pn(e){var t;return(t=(gv(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function gv(e){return dc()?e instanceof Node||e instanceof Ct(e).Node:!1}function ln(e){return dc()?e instanceof Element||e instanceof Ct(e).Element:!1}function Tn(e){return dc()?e instanceof HTMLElement||e instanceof Ct(e).HTMLElement:!1}function X0(e){return!dc()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Ct(e).ShadowRoot}const p8=new Set(["inline","contents"]);function zi(e){const{overflow:t,overflowX:n,overflowY:r,display:s}=cn(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!p8.has(s)}const m8=new Set(["table","td","th"]);function g8(e){return m8.has(mo(e))}const y8=[":popover-open",":modal"];function fc(e){return y8.some(t=>{try{return e.matches(t)}catch{return!1}})}const v8=["transform","translate","scale","rotate","perspective"],x8=["transform","translate","scale","rotate","perspective","filter"],w8=["paint","layout","strict","content"];function bh(e){const t=Sh(),n=ln(e)?cn(e):e;return v8.some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||x8.some(r=>(n.willChange||"").includes(r))||w8.some(r=>(n.contain||"").includes(r))}function b8(e){let t=Nr(e);for(;Tn(t)&&!oo(t);){if(bh(t))return t;if(fc(t))return null;t=Nr(t)}return null}function Sh(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const S8=new Set(["html","body","#document"]);function oo(e){return S8.has(mo(e))}function cn(e){return Ct(e).getComputedStyle(e)}function hc(e){return ln(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Nr(e){if(mo(e)==="html")return e;const t=e.assignedSlot||e.parentNode||X0(e)&&e.host||Pn(e);return X0(t)?t.host:t}function yv(e){const t=Nr(e);return oo(t)?e.ownerDocument?e.ownerDocument.body:e.body:Tn(t)&&zi(t)?t:yv(t)}function Ei(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const s=yv(e),o=s===((r=e.ownerDocument)==null?void 0:r.body),i=Ct(s);if(o){const a=Fd(i);return t.concat(i,i.visualViewport||[],zi(s)?s:[],a&&n?Ei(a):[])}return t.concat(s,Ei(s,[],n))}function Fd(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function vv(e){const t=cn(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const s=Tn(e),o=s?e.offsetWidth:n,i=s?e.offsetHeight:r,a=kl(n)!==o||kl(r)!==i;return a&&(n=o,r=i),{width:n,height:r,$:a}}function Ch(e){return ln(e)?e:e.contextElement}function Us(e){const t=Ch(e);if(!Tn(t))return En(1);
vendor: 6,653 bytes, line 133
133const n=t.getBoundingClientRect(),{width:r,height:s,$:o}=vv(t);let i=(o?kl(n.width):n.width)/r,a=(o?kl(n.height):n.height)/s;return(!i||!Number.isFinite(i))&&(i=1),(!a||!Number.isFinite(a))&&(a=1),{x:i,y:a}}const C8=En(0);function xv(e){const t=Ct(e);return!Sh()||!t.visualViewport?C8:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function E8(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==Ct(e)?!1:t}function ls(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const s=e.getBoundingClientRect(),o=Ch(e);let i=En(1);t&&(r?ln(r)&&(i=Us(r)):i=Us(e));const a=E8(o,n,r)?xv(o):En(0);let l=(s.left+a.x)/i.x,c=(s.top+a.y)/i.y,d=s.width/i.x,f=s.height/i.y;if(o){const h=Ct(o),p=r&&ln(r)?Ct(r):r;let v=h,y=Fd(v);for(;y&&r&&p!==v;){const w=Us(y),m=y.getBoundingClientRect(),g=cn(y),x=m.left+(y.clientLeft+parseFloat(g.paddingLeft))*w.x,S=m.top+(y.clientTop+parseFloat(g.paddingTop))*w.y;l*=w.x,c*=w.y,d*=w.x,f*=w.y,l+=x,c+=S,v=Ct(y),y=Fd(v)}}return Pl({width:d,height:f,x:l,y:c})}function Eh(e,t){const n=hc(e).scrollLeft;return t?t.left+n:ls(Pn(e)).left+n}function wv(e,t,n){n===void 0&&(n=!1);const r=e.getBoundingClientRect(),s=r.left+t.scrollLeft-(n?0:Eh(e,r)),o=r.top+t.scrollTop;return{x:s,y:o}}function k8(e){let{elements:t,rect:n,offsetParent:r,strategy:s}=e;const o=s==="fixed",i=Pn(r),a=t?fc(t.floating):!1;if(r===i||a&&o)return n;let l={scrollLeft:0,scrollTop:0},c=En(1);const d=En(0),f=Tn(r);if((f||!f&&!o)&&((mo(r)!=="body"||zi(i))&&(l=hc(r)),Tn(r))){const p=ls(r);c=Us(r),d.x=p.x+r.clientLeft,d.y=p.y+r.clientTop}const h=i&&!f&&!o?wv(i,l,!0):En(0);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-l.scrollLeft*c.x+d.x+h.x,y:n.y*c.y-l.scrollTop*c.y+d.y+h.y}}function T8(e){return Array.from(e.getClientRects())}function P8(e){const t=Pn(e),n=hc(e),r=e.ownerDocument.body,s=wt(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=wt(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let i=-n.scrollLeft+Eh(e);const a=-n.scrollTop;return cn(r).direction==="rtl"&&(i+=wt(t.clientWidth,r.clientWidth)-s),{width:s,height:o,x:i,y:a}}function j8(e,t){const n=Ct(e),r=Pn(e),s=n.visualViewport;let o=r.clientWidth,i=r.clientHeight,a=0,l=0;if(s){o=s.width,i=s.height;const c=Sh();(!c||c&&t==="fixed")&&(a=s.offsetLeft,l=s.offsetTop)}return{width:o,height:i,x:a,y:l}}const N8=new Set(["absolute","fixed"]);function A8(e,t){const n=ls(e,!0,t==="fixed"),r=n.top+e.clientTop,s=n.left+e.clientLeft,o=Tn(e)?Us(e):En(1),i=e.clientWidth*o.x,a=e.clientHeight*o.y,l=s*o.x,c=r*o.y;return{width:i,height:a,x:l,y:c}}function Z0(e,t,n){let r;if(t==="viewport")r=j8(e,n);else if(t==="document")r=P8(Pn(e));else if(ln(t))r=A8(t,n);else{const s=xv(e);r={x:t.x-s.x,y:t.y-s.y,width:t.width,height:t.height}}return Pl(r)}function bv(e,t){const n=Nr(e);return n===t||!ln(n)||oo(n)?!1:cn(n).position==="fixed"||bv(n,t)}function M8(e,t){const n=t.get(e);if(n)return n;let r=Ei(e,[],!1).filter(a=>ln(a)&&mo(a)!=="body"),s=null;const o=cn(e).position==="fixed";let i=o?Nr(e):e;for(;ln(i)&&!oo(i);){const a=cn(i),l=bh(i);!l&&a.position==="fixed"&&(s=null),(o?!l&&!s:!l&&a.position==="static"&&!!s&&N8.has(s.position)||zi(i)&&!l&&bv(e,i))?r=r.filter(d=>d!==i):s=a,i=Nr(i)}return t.set(e,r),r}function R8(e){let{element:t,boundary:n,rootBoundary:r,strategy:s}=e;const i=[...n==="clippingAncestors"?fc(t)?[]:M8(t,this._c):[].concat(n),r],a=i[0],l=i.reduce((c,d)=>{const f=Z0(t,d,s);return c.top=wt(f.top,c.top),c.right=jr(f.right,c.right),c.bottom=jr(f.bottom,c.bottom),c.left=wt(f.left,c.left),c},Z0(t,a,s));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function L8(e){const{width:t,height:n}=vv(e);return{width:t,height:n}}function I8(e,t,n){const r=Tn(t),s=Pn(t),o=n==="fixed",i=ls(e,!0,o,t);let a={scrollLeft:0,scrollTop:0};const l=En(0);function c(){l.x=Eh(s)}if(r||!r&&!o)if((mo(t)!=="body"||zi(s))&&(a=hc(t)),r){const p=ls(t,!0,o,t);l.x=p.x+t.clientLeft,l.y=p.y+t.clientTop}else s&&c();o&&!r&&s&&c();const d=s&&!r&&!o?wv(s,a):En(0),f=i.left+a.scrollLeft-l.x-d.x,h=i.top+a.scrollTop-l.y-d.y;return{x:f,y:h,width:i.width,height:i.height}}function cu(e){return cn(e).position==="static"}function J0(e,t){if(!Tn(e)||cn(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return Pn(e)===n&&(n=n.ownerDocument.body),n}function Sv(e,t){const n=Ct(e);if(fc(e))return n;if(!Tn(e)){let s=Nr(e);for(;s&&!oo(s);){if(ln(s)&&!cu(s))return s;s=Nr(s)}return n}let r=J0(e,t);for(;r&&g8(r)&&cu(r);)r=J0(r,t);return r&&oo(r)&&cu(r)&&!bh(r)?n:r||b8(e)||n}const D8=async function(e){const t=this.getOffsetParent||Sv,n=this.getDimensions,r=await n(e.floating);return{reference:I8(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function O8(e){return cn(e).direction==="rtl"}const F8={convertOffsetParentRelativeRectToViewportRelativeRect:k8,getDocumentElement:Pn,getClippingRect:R8,getOffsetParent:Sv,getElementRects:D8,getClientRects:T8,getDimensions:L8,getScale:Us,isElement:ln,isRTL:O8};function Cv(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function V8(e,t){let n=null,r;const s=Pn(e);function o(){var a;clearTimeout(r),(a=n)==null||a.disconnect(),n=null}function i(a,l){a===void 0&&(a=!1),l===void 0&&(l=1),o();const c=e.getBoundingClientRect(),{left:d,top:f,width:h,height:p}=c;if(a||t(),!h||!p)return;const v=wa(f),y=wa(s.clientWidth-(d+h)),w=wa(s.clientHeight-(f+p)),m=wa(d),x={rootMargin:-v+"px "+-y+"px "+-w+"px "+-m+"px",threshold:wt(0,jr(1,l))||1};let S=!0;function C(E){const k=E[0].intersectionRatio;if(k!==l){if(!S)return i();k?i(!1,k):r=setTimeout(()=>{i(!1,1e-7)},1e3)}k===1&&!Cv(c,e.getBoundingClientRect())&&i(),S=!1}try{n=new IntersectionObserver(C,{...x,root:s.ownerDocument})}catch{n=new IntersectionObserver(C,x)}n.observe(e)}return i(!0),o}function B8(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:s=!0,ancestorResize:o=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,c=Ch(e),d=s||o?[...c?Ei(c):[],...Ei(t)]:[];d.forEach(m=>{s&&m.addEventListener("scroll",n,{passive:!0}),o&&m.addEventListener("resize",n)});const f=c&&a?V8(c,n):null;let h=-1,p=null;i&&(p=new ResizeObserver(m=>{let[g]=m;g&&g.target===c&&p&&(p.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var x;(x=p)==null||x.observe(t)})),n()}),c&&!l&&p.observe(c),p.observe(t));let v,y=l?ls(e):null;l&&w();function w(){const m=ls(e);y&&!Cv(y,m)&&n(),y=m,v=requestAnimationFrame(w)}return n(),()=>{var m;d.forEach(g=>{s&&g.removeEventListener("scroll",n),o&&g.removeEventListener("resize",n)}),f==null||f(),(m=p)==null||m.disconnect(),p=null,l&&cancelAnimationFrame(v)}}
vendor: 4,250 bytes, line 133
133const _8=u8,z8=d8,$8=a8,U8=h8,H8=l8,em=i8,W8=f8,G8=(e,t,n)=>{const r=new Map,s={platform:F8,...n},o={...s.platform,_c:r};return o8(e,t,{...s,platform:o})};var K8=typeof document<"u",Q8=function(){},$a=K8?b.useLayoutEffect:Q8;function jl(e,t){if(e===t)return!0;if(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(!jl(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)&&!jl(e[o],t[o]))return!1}return!0}return e!==e&&t!==t}function Ev(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function tm(e,t){const n=Ev(e);return Math.round(t*n)/n}function uu(e){const t=b.useRef(e);return $a(()=>{t.current=e}),t}function Y8(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:s,elements:{reference:o,floating:i}={},transform:a=!0,whileElementsMounted:l,open:c}=e,[d,f]=b.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[h,p]=b.useState(r);jl(h,r)||p(r);const[v,y]=b.useState(null),[w,m]=b.useState(null),g=b.useCallback(j=>{j!==E.current&&(E.current=j,y(j))},[]),x=b.useCallback(j=>{j!==k.current&&(k.current=j,m(j))},[]),S=o||v,C=i||w,E=b.useRef(null),k=b.useRef(null),T=b.useRef(d),N=l!=null,P=uu(l),R=uu(s),L=uu(c),W=b.useCallback(()=>{if(!E.current||!k.current)return;const j={placement:t,strategy:n,middleware:h};R.current&&(j.platform=R.current),G8(E.current,k.current,j).then(A=>{const F={...A,isPositioned:L.current!==!1};I.current&&!jl(T.current,F)&&(T.current=F,Vi.flushSync(()=>{f(F)}))})},[h,t,n,R,L]);$a(()=>{c===!1&&T.current.isPositioned&&(T.current.isPositioned=!1,f(j=>({...j,isPositioned:!1})))},[c]);const I=b.useRef(!1);$a(()=>(I.current=!0,()=>{I.current=!1}),[]),$a(()=>{if(S&&(E.current=S),C&&(k.current=C),S&&C){if(P.current)return P.current(S,C,W);W()}},[S,C,W,P,N]);const G=b.useMemo(()=>({reference:E,floating:k,setReference:g,setFloating:x}),[g,x]),B=b.useMemo(()=>({reference:S,floating:C}),[S,C]),K=b.useMemo(()=>{const j={position:n,left:0,top:0};if(!B.floating)return j;const A=tm(B.floating,d.x),F=tm(B.floating,d.y);return a?{...j,transform:"translate("+A+"px, "+F+"px)",...Ev(B.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:A,top:F}},[n,a,B.floating,d.x,d.y]);return b.useMemo(()=>({...d,update:W,refs:G,elements:B,floatingStyles:K}),[d,W,G,B,K])}const q8=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?em({element:r.current,padding:s}).fn(n):{}:r?em({element:r,padding:s}).fn(n):{}}}},X8=(e,t)=>({..._8(e),options:[e,t]}),Z8=(e,t)=>({...z8(e),options:[e,t]}),J8=(e,t)=>({...W8(e),options:[e,t]}),eC=(e,t)=>({...$8(e),options:[e,t]}),tC=(e,t)=>({...U8(e),options:[e,t]}),nC=(e,t)=>({...H8(e),options:[e,t]}),rC=(e,t)=>({...q8(e),options:[e,t]});var sC="Arrow",kv=b.forwardRef((e,t)=>{const{children:n,width:r=10,height:s=5,...o}=e;return u.jsx(gt.svg,{...o,ref:t,width:r,height:s,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:u.jsx("polygon",{points:"0,0 30,0 15,10"})})});kv.displayName=sC;var oC=kv;function iC(e){const[t,n]=b.useState(void 0);return Pr(()=>{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 i,a;if("borderBoxSize"in o){const l=o.borderBoxSize,c=Array.isArray(l)?l[0]:l;i=c.inlineSize,a=c.blockSize}else i=e.offsetWidth,a=e.offsetHeight;n({width:i,height:a})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var Tv="Popper",[Pv,jv]=ac(Tv),[ON,Nv]=Pv(Tv),Av="PopperAnchor",Mv=b.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...s}=e,o=Nv(Av,n),i=b.useRef(null),a=an(t,i);return b.useEffect(()=>{o.onAnchorChange((r==null?void 0:r.current)||i.current)}),r?null:u.jsx(gt.div,{...s,ref:a})});Mv.displayName=Av;var kh="PopperContent",[aC,lC]=Pv(kh),Rv=b.forwardRef((e,t)=>
vendor: 4,439 bytes, line 133
133{var X,Ce,De,Pe,se,z;const{__scopePopper:n,side:r="bottom",sideOffset:s=0,align:o="center",alignOffset:i=0,arrowPadding:a=0,avoidCollisions:l=!0,collisionBoundary:c=[],collisionPadding:d=0,sticky:f="partial",hideWhenDetached:h=!1,updatePositionStrategy:p="optimized",onPlaced:v,...y}=e,w=Nv(kh,n),[m,g]=b.useState(null),x=an(t,te=>g(te)),[S,C]=b.useState(null),E=iC(S),k=(E==null?void 0:E.width)??0,T=(E==null?void 0:E.height)??0,N=r+(o!=="center"?"-"+o:""),P=typeof d=="number"?d:{top:0,right:0,bottom:0,left:0,...d},R=Array.isArray(c)?c:[c],L=R.length>0,W={padding:P,boundary:R.filter(uC),altBoundary:L},{refs:I,floatingStyles:G,placement:B,isPositioned:K,middlewareData:j}=Y8({strategy:"fixed",placement:N,whileElementsMounted:(...te)=>B8(...te,{animationFrame:p==="always"}),elements:{reference:w.anchor},middleware:[X8({mainAxis:s+T,alignmentAxis:i}),l&&Z8({mainAxis:!0,crossAxis:!1,limiter:f==="partial"?J8():void 0,...W}),l&&eC({...W}),tC({...W,apply:({elements:te,rects:de,availableWidth:Ae,availableHeight:Ye})=>{const{width:yt,height:vt}=de.reference,qe=te.floating.style;qe.setProperty("--radix-popper-available-width",`${Ae}px`),qe.setProperty("--radix-popper-available-height",`${Ye}px`),qe.setProperty("--radix-popper-anchor-width",`${yt}px`),qe.setProperty("--radix-popper-anchor-height",`${vt}px`)}}),S&&rC({element:S,padding:a}),dC({arrowWidth:k,arrowHeight:T}),h&&nC({strategy:"referenceHidden",...W})]}),[A,F]=Dv(B),H=Tr(v);Pr(()=>{K&&(H==null||H())},[K,H]);const U=(X=j.arrow)==null?void 0:X.x,q=(Ce=j.arrow)==null?void 0:Ce.y,Q=((De=j.arrow)==null?void 0:De.centerOffset)!==0,[le,Se]=b.useState();return Pr(()=>{m&&Se(window.getComputedStyle(m).zIndex)},[m]),u.jsx("div",{ref:I.setFloating,"data-radix-popper-content-wrapper":"",style:{...G,transform:K?G.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:le,"--radix-popper-transform-origin":[(Pe=j.transformOrigin)==null?void 0:Pe.x,(se=j.transformOrigin)==null?void 0:se.y].join(" "),...((z=j.hide)==null?void 0:z.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:u.jsx(aC,{scope:n,placedSide:A,onArrowChange:C,arrowX:U,arrowY:q,shouldHideArrow:Q,children:u.jsx(gt.div,{"data-side":A,"data-align":F,...y,ref:x,style:{...y.style,animation:K?void 0:"none"}})})})});Rv.displayName=kh;var Lv="PopperArrow",cC={top:"bottom",right:"left",bottom:"top",left:"right"},Iv=b.forwardRef(function(t,n){const{__scopePopper:r,...s}=t,o=lC(Lv,r),i=cC[o.placedSide];return u.jsx("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[i]: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:u.jsx(oC,{...s,ref:n,style:{...s.style,display:"block"}})})});Iv.displayName=Lv;function uC(e){return e!==null}var dC=e=>({name:"transformOrigin",options:e,fn(t){var w,m,g;const{placement:n,rects:r,middlewareData:s}=t,i=((w=s.arrow)==null?void 0:w.centerOffset)!==0,a=i?0:e.arrowWidth,l=i?0:e.arrowHeight,[c,d]=Dv(n),f={start:"0%",center:"50%",end:"100%"}[d],h=(((m=s.arrow)==null?void 0:m.x)??0)+a/2,p=(((g=s.arrow)==null?void 0:g.y)??0)+l/2;let v="",y="";return c==="bottom"?(v=i?f:`${h}px`,y=`${-l}px`):c==="top"?(v=i?f:`${h}px`,y=`${r.floating.height+l}px`):c==="right"?(v=`${-l}px`,y=i?f:`${p}px`):c==="left"&&(v=`${r.floating.width+l}px`,y=i?f:`${p}px`),{data:{x:v,y}}}});function Dv(e){const[t,n="center"]=e.split("-");return[t,n]}var fC=Mv,hC=Rv,pC=Iv,[pc,FN]=ac("Tooltip",[jv]),Th=jv(),Ov="TooltipProvider",mC=700,nm="tooltip.open",[gC,Fv]=pc(Ov),Vv=e=>{const{__scopeTooltip:t,delayDuration:n=mC,skipDelayDuration:r=300,disableHoverableContent:s=!1,children:o}=e,i=b.useRef(!0),a=b.useRef(!1),l=b.useRef(0);return b.useEffect(()=>{const c=l.current;return()=>window.clearTimeout(c)},[]),u.jsx(gC,{scope:t,isOpenDelayedRef:i,delayDuration:n,onOpen:b.useCallback(()=>{window.clearTimeout(l.current),i.current=!1},[]),onClose:b.useCallback(()=>{window.clearTimeout(l.current),l.current=window.setTimeout(()=>i.current=!0,r)},[r]),isPointerInTransitRef:a,onPointerInTransitChange:b.useCallback(c=>{a.current=c},[]),disableHoverableContent:s,children:o})};Vv.displayName=Ov;var Bv="Tooltip",[VN,mc]=pc(Bv),Vd="TooltipTrigger",yC=b.forwardRef((e,t)=>
vendor: 5,226 bytes, line 133
133{const{__scopeTooltip:n,...r}=e,s=mc(Vd,n),o=Fv(Vd,n),i=Th(n),a=b.useRef(null),l=an(t,a,s.onTriggerChange),c=b.useRef(!1),d=b.useRef(!1),f=b.useCallback(()=>c.current=!1,[]);return b.useEffect(()=>()=>document.removeEventListener("pointerup",f),[f]),u.jsx(fC,{asChild:!0,...i,children:u.jsx(gt.button,{"aria-describedby":s.open?s.contentId:void 0,"data-state":s.stateAttribute,...r,ref:l,onPointerMove:Le(e.onPointerMove,h=>{h.pointerType!=="touch"&&!d.current&&!o.isPointerInTransitRef.current&&(s.onTriggerEnter(),d.current=!0)}),onPointerLeave:Le(e.onPointerLeave,()=>{s.onTriggerLeave(),d.current=!1}),onPointerDown:Le(e.onPointerDown,()=>{s.open&&s.onClose(),c.current=!0,document.addEventListener("pointerup",f,{once:!0})}),onFocus:Le(e.onFocus,()=>{c.current||s.onOpen()}),onBlur:Le(e.onBlur,s.onClose),onClick:Le(e.onClick,s.onClose)})})});yC.displayName=Vd;var vC="TooltipPortal",[BN,xC]=pc(vC,{forceMount:void 0}),io="TooltipContent",_v=b.forwardRef((e,t)=>{const n=xC(io,e.__scopeTooltip),{forceMount:r=n.forceMount,side:s="top",...o}=e,i=mc(io,e.__scopeTooltip);return u.jsx(hh,{present:r||i.open,children:i.disableHoverableContent?u.jsx(zv,{side:s,...o,ref:t}):u.jsx(wC,{side:s,...o,ref:t})})}),wC=b.forwardRef((e,t)=>{const n=mc(io,e.__scopeTooltip),r=Fv(io,e.__scopeTooltip),s=b.useRef(null),o=an(t,s),[i,a]=b.useState(null),{trigger:l,onClose:c}=n,d=s.current,{onPointerInTransitChange:f}=r,h=b.useCallback(()=>{a(null),f(!1)},[f]),p=b.useCallback((v,y)=>{const w=v.currentTarget,m={x:v.clientX,y:v.clientY},g=kC(m,w.getBoundingClientRect()),x=TC(m,g),S=PC(y.getBoundingClientRect()),C=NC([...x,...S]);a(C),f(!0)},[f]);return b.useEffect(()=>()=>h(),[h]),b.useEffect(()=>{if(l&&d){const v=w=>p(w,d),y=w=>p(w,l);return l.addEventListener("pointerleave",v),d.addEventListener("pointerleave",y),()=>{l.removeEventListener("pointerleave",v),d.removeEventListener("pointerleave",y)}}},[l,d,p,h]),b.useEffect(()=>{if(i){const v=y=>{const w=y.target,m={x:y.clientX,y:y.clientY},g=(l==null?void 0:l.contains(w))||(d==null?void 0:d.contains(w)),x=!jC(m,i);g?h():x&&(h(),c())};return document.addEventListener("pointermove",v),()=>document.removeEventListener("pointermove",v)}},[l,d,i,c,h]),u.jsx(zv,{...e,ref:o})}),[bC,SC]=pc(Bv,{isInside:!1}),CC=hS("TooltipContent"),zv=b.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":s,onEscapeKeyDown:o,onPointerDownOutside:i,...a}=e,l=mc(io,n),c=Th(n),{onClose:d}=l;return b.useEffect(()=>(document.addEventListener(nm,d),()=>document.removeEventListener(nm,d)),[d]),b.useEffect(()=>{if(l.trigger){const f=h=>{const p=h.target;p!=null&&p.contains(l.trigger)&&d()};return window.addEventListener("scroll",f,{capture:!0}),()=>window.removeEventListener("scroll",f,{capture:!0})}},[l.trigger,d]),u.jsx(fh,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:o,onPointerDownOutside:i,onFocusOutside:f=>f.preventDefault(),onDismiss:d,children:u.jsxs(hC,{"data-state":l.stateAttribute,...c,...a,ref:t,style:{...a.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:[u.jsx(CC,{children:r}),u.jsx(bC,{scope:n,isInside:!0,children:u.jsx(VS,{id:l.contentId,role:"tooltip",children:s||r})})]})})});_v.displayName=io;var $v="TooltipArrow",EC=b.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,s=Th(n);return SC($v,n).isInside?null:u.jsx(pC,{...s,...r,ref:t})});EC.displayName=$v;function kC(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 TC(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 PC(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 jC(e,t){const{x:n,y:r}=e;let s=!1;for(let o=0,i=t.length-1;o<t.length;i=o++){const a=t[o],l=t[i],c=a.x,d=a.y,f=l.x,h=l.y;d>r!=h>r&&n<(f-c)*(r-d)/(h-d)+c&&(s=!s)}return s}function NC(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),AC(t)}function AC(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],i=t[t.length-2];if((o.x-i.x)*(s.y-i.y)>=(o.y-i.y)*(s.x-i.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],i=n[n.length-2];if((o.x-i.x)*(s.y-i.y)>=(o.y-i.y)*(s.x-i.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 MC=Vv,Uv=_v;const RC=MC,LC=b.forwardRef(({className:e,sideOffset:t=4,...n},r)=>
vendor: 10,091 bytes, line 133
133u.jsx(Uv,{ref:r,sideOffset:t,className:Pt("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}));LC.displayName=Uv.displayName;const Ph=b.createContext({});function Ar(e){const t=b.useRef(null);return t.current===null&&(t.current=e()),t.current}const IC=typeof window<"u",gc=IC?b.useLayoutEffect:b.useEffect,yc=b.createContext(null);function jh(e,t){e.indexOf(t)===-1&&e.push(t)}function Nl(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const un=(e,t,n)=>n>t?t:n<e?e:n;let vc=()=>{},Mr=()=>{};const Rr={},Hv=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function Wv(e){return typeof e=="object"&&e!==null}const Gv=e=>/^0[^.\s]+$/u.test(e);function Kv(e){let t;return()=>(t===void 0&&(t=e()),t)}const ht=e=>e,DC=(e,t)=>n=>t(e(n)),$i=(...e)=>e.reduce(DC),ao=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r};class Nh{constructor(){this.subscriptions=[]}add(t){return jh(this.subscriptions,t),()=>Nl(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 i=this.subscriptions[o];i&&i(t,n,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const pt=e=>e*1e3,Rt=e=>e/1e3;function Ah(e,t){return t?e*(1e3/t):0}const Qv=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,OC=1e-7,FC=12;function VC(e,t,n,r,s){let o,i,a=0;do i=t+(n-t)/2,o=Qv(i,r,s)-e,o>0?n=i:t=i;while(Math.abs(o)>OC&&++a<FC);return i}function Ui(e,t,n,r){if(e===t&&n===r)return ht;const s=o=>VC(o,0,1,e,n);return o=>o===0||o===1?o:Qv(s(o),t,r)}const Yv=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,qv=e=>t=>1-e(1-t),Xv=Ui(.33,1.53,.69,.99),Mh=qv(Xv),Zv=Yv(Mh),Jv=e=>e>=1?1:(e*=2)<1?.5*Mh(e):.5*(2-Math.pow(2,-10*(e-1))),Rh=e=>1-Math.sin(Math.acos(e)),ex=qv(Rh),tx=Yv(Rh),BC=Ui(.42,0,1,1),_C=Ui(0,0,.58,1),nx=Ui(.42,0,.58,1),zC=e=>Array.isArray(e)&&typeof e[0]!="number",rx=e=>Array.isArray(e)&&typeof e[0]=="number",rm={linear:ht,easeIn:BC,easeInOut:nx,easeOut:_C,circIn:Rh,circInOut:tx,circOut:ex,backIn:Mh,backInOut:Zv,backOut:Xv,anticipate:Jv},$C=e=>typeof e=="string",sm=e=>{if(rx(e)){Mr(e.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");const[t,n,r,s]=e;return Ui(t,n,r,s)}else if($C(e))return Mr(rm[e]!==void 0,`Invalid easing type '${e}'`,"invalid-easing-type"),rm[e];return e},ba=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"],om={value:null,addProjectionMetrics:null};function UC(e,t){let n=new Set,r=new Set,s=!1,o=!1;const i=new WeakSet;let a={delta:0,timestamp:0,isProcessing:!1},l=0;function c(f){i.has(f)&&(d.schedule(f),e()),l++,f(a)}const d={schedule:(f,h=!1,p=!1)=>{const y=p&&s?n:r;return h&&i.add(f),y.add(f),f},cancel:f=>{r.delete(f),i.delete(f)},process:f=>{if(a=f,s){o=!0;return}s=!0;const h=n;n=r,r=h,n.forEach(c),t&&om.value&&om.value.frameloop[t].push(l),l=0,n.clear(),s=!1,o&&(o=!1,d.process(f))}};return d}const HC=40;function sx(e,t){let n=!1,r=!0;const s={delta:0,timestamp:0,isProcessing:!1},o=()=>n=!0,i=ba.reduce((x,S)=>(x[S]=UC(o,t?S:void 0),x),{}),{setup:a,read:l,resolveKeyframes:c,preUpdate:d,update:f,preRender:h,render:p,postRender:v}=i,y=()=>{const x=Rr.useManualTiming,S=x?s.timestamp:performance.now();n=!1,x||(s.delta=r?1e3/60:Math.max(Math.min(S-s.timestamp,HC),1)),s.timestamp=S,s.isProcessing=!0,a.process(s),l.process(s),c.process(s),d.process(s),f.process(s),h.process(s),p.process(s),v.process(s),s.isProcessing=!1,n&&t&&(r=!1,e(y))},w=()=>{n=!0,r=!0,s.isProcessing||e(y)};return{schedule:ba.reduce((x,S)=>{const C=i[S];return x[S]=(E,k=!1,T=!1)=>(n||w(),C.schedule(E,k,T)),x},{}),cancel:x=>{for(let S=0;S<ba.length;S++)i[ba[S]].cancel(x)},state:s,steps:i}}const{schedule:re,cancel:Ot,state:Oe,steps:du}=sx(typeof requestAnimationFrame<"u"?requestAnimationFrame:ht,!0);let Ua;function WC(){Ua=void 0}const et={now:()=>(Ua===void 0&&et.set(Oe.isProcessing||Rr.useManualTiming?Oe.timestamp:performance.now()),Ua),set:e=>{Ua=e,queueMicrotask(WC)}},ox=e=>t=>typeof t=="string"&&t.startsWith(e),ix=ox("--"),GC=ox("var(--"),Lh=e=>GC(e)?KC.test(e.split("/*")[0].trim()):!1,KC=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function im(e){return typeof e!="string"?!1:e.split("/*")[0].includes("var(--")}const go={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},ki={...go,transform:e=>un(0,1,e)},Sa={...go,default:1},Xo=e=>Math.round(e*1e5)/1e5,Ih=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function QC(e){return e==null}const YC=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Dh=(e,t)=>n=>!!(typeof n=="string"&&YC.test(n)&&n.startsWith(e)||t&&!QC(n)&&Object.prototype.hasOwnProperty.call(n,t)),ax=(e,t,n)=>r=>{if(typeof r!="string")return r;const[s,o,i,a]=r.match(Ih);return{[e]:parseFloat(s),[t]:parseFloat(o),[n]:parseFloat(i),alpha:a!==void 0?parseFloat(a):1}},qC=e=>un(0,255,e),fu={...go,transform:e=>Math.round(qC(e))},Wr={test:Dh("rgb","red"),parse:ax("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+fu.transform(e)+", "+fu.transform(t)+", "+fu.transform(n)+", "+Xo(ki.transform(r))+")"};function XC(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 Bd={test:Dh("#"),parse:XC,transform:Wr.transform},Hi=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),tr=Hi("deg"),kn=Hi("%"),_=Hi("px"),ZC=Hi("vh"),JC=Hi("vw"),am={...kn,parse:e=>kn.parse(e)/100,transform:e=>kn.transform(e*100)},Rs={test:Dh("hsl","hue"),parse:ax("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+kn.transform(Xo(t))+", "+kn.transform(Xo(n))+", "+Xo(ki.transform(r))+")"},je={test:e=>Wr.test(e)||Bd.test(e)||Rs.test(e),parse:e=>Wr.test(e)?Wr.parse(e):Rs.test(e)?Rs.parse(e):Bd.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?Wr.transform(e):Rs.transform(e),getAnimatableNone:e=>{const t=je.parse(e);return t.alpha=0,je.transform(t)}},e7=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function t7(e){var t,n;return isNaN(e)&&typeof e=="string"&&(((t=e.match(Ih))==null?void 0:t.length)||0)+(((n=e.match(e7))==null?void 0:n.length)||0)>0}const lx="number",cx="color",n7="var",r7="var(",lm="${}",s7=/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 lo(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},s=[];let o=0;const a=t.replace(s7,l=>(je.test(l)?(r.color.push(o),s.push(cx),n.push(je.parse(l))):l.startsWith(r7)?(r.var.push(o),s.push(n7),n.push(l)):(r.number.push(o),s.push(lx),n.push(parseFloat(l))),++o,lm)).split(lm);return{values:n,split:a,indexes:r,types:s}}function o7(e){return lo(e).values}function ux({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 i=t[o];i===lx?s+=Xo(r[o]):i===cx?s+=je.transform(r[o]):s+=r[o]}return s}}function i7(e){return ux(lo(e))}const a7=e=>typeof e=="number"?0:je.test(e)?je.getAnimatableNone(e):e,l7=(e,t)=>typeof e=="number"?t!=null&&t.trim().endsWith("/")?e:0:a7(e);function c7(e){const t=lo(e);return ux(t)(t.values.map((r,s)=>l7(r,t.split[s])))}const rn={test:t7,parse:o7,createTransformer:i7,getAnimatableNone:c7};function hu(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 u7({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let s=0,o=0,i=0;if(!t)s=o=i=n;else{const a=n<.5?n*(1+t):n+t-n*t,l=2*n-a;s=hu(l,a,e+1/3),o=hu(l,a,e),i=hu(l,a,e-1/3)}return{red:Math.round(s*255),green:Math.round(o*255),blue:Math.round(i*255),alpha:r}}function Al(e,t){return n=>n>0?t:e}const pe=(e,t,n)=>e+(t-e)*n,pu=(e,t,n)=>{const r=e*e,s=n*(t*t-r)+r;return s<0?0:Math.sqrt(s)},d7=[Bd,Wr,Rs],f7=e=>d7.find(t=>t.test(e));function cm(e){const t=f7(e);if(vc(!!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===Rs&&(n=u7(n)),n}const um=(e,t)=>{const n=cm(e),r=cm(t);if(!n||!r)return Al(e,t);const s={...n};return o=>(s.red=pu(n.red,r.red,o),s.green=pu(n.green,r.green,o),s.blue=pu(n.blue,r.blue,o),s.alpha=pe(n.alpha,r.alpha,o),Wr.transform(s))},_d=new Set(["none","hidden"]);function h7(e,t){return _d.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function p7(e,t){return n=>pe(e,t,n)}function Oh(e){return typeof e=="number"?p7:typeof e=="string"?Lh(e)?Al:je.test(e)?um:y7:Array.isArray(e)?dx:typeof e=="object"?je.test(e)?um:m7:Al}function dx(e,t){const n=[...e],r=n.length,s=e.map((o,i)=>Oh(o)(o,t[i]));return o=>{for(let i=0;i<r;i++)n[i]=s[i](o);return n}}function m7(e,t){const n={...e,...t},r={};for(const s in n)e[s]!==void 0&&t[s]!==void 0&&(r[s]=Oh(e[s])(e[s],t[s]));return s=>{for(const o in r)n[o]=r[o](s);return n}}function g7(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],i=e.indexes[o][r[o]],a=e.values[i]??0;n[s]=a,r[o]++}return n}const y7=(e,t)=>{const n=rn.createTransformer(t),r=lo(e),s=lo(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?_d.has(e)&&!s.values.length||_d.has(t)&&!r.values.length?h7(e,t):$i(dx(g7(r,s),s.values),n):(vc(!0,`Complex values '${e}' and '${t}
133' 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"),Al(e,t))};function fx(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?pe(e,t,n):Oh(e)(e,t)}const v7=e=>{const t=({timestamp:n})=>e(n);return{start:(n=!0)=>re.update(t,n),stop:()=>Ot(t),now:()=>Oe.isProcessing?Oe.timestamp:et.now()}},hx=(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)})`},Ml=2e4;function Fh(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t<Ml;)t+=n,r=e.next(t);return t>=Ml?1/0:t}function x7(e,t=100,n){const r=n({...e,keyframes:[0,t]}),s=Math.min(Fh(r),Ml);return{type:"keyframes",ease:o=>r.next(s*o).value/t,duration:Rt(s)}}const ye={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 zd(e,t){return e*Math.sqrt(1-t*t)}const w7=12;function b7(e,t,n){let r=n;for(let s=1;s<w7;s++)r=r-e(r)/t(r);return r}const mu=.001;function S7({duration:e=ye.duration,bounce:t=ye.bounce,velocity:n=ye.velocity,mass:r=ye.mass}){let s,o;vc(e<=pt(ye.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let i=1-t;i=un(ye.minDamping,ye.maxDamping,i),e=un(ye.minDuration,ye.maxDuration,Rt(e)),i<1?(s=c=>{const d=c*i,f=d*e,h=d-n,p=zd(c,i),v=Math.exp(-f);return mu-h/p*v},o=c=>{const f=c*i*e,h=f*n+n,p=Math.pow(i,2)*Math.pow(c,2)*e,v=Math.exp(-f),y=zd(Math.pow(c,2),i);return(-s(c)+mu>0?-1:1)*((h-p)*v)/y}):(s=c=>{const d=Math.exp(-c*e),f=(c-n)*e+1;return-mu+d*f},o=c=>{const d=Math.exp(-c*e),f=(n-c)*(e*e);return d*f});const a=5/e,l=b7(s,o,a);if(e=pt(e),isNaN(l))return{stiffness:ye.stiffness,damping:ye.damping,duration:e};{const c=Math.pow(l,2)*r;return{stiffness:c,damping:i*2*Math.sqrt(r*c),duration:e}}}const C7=["duration","bounce"],E7=["stiffness","damping","mass"];function dm(e,t){return t.some(n=>e[n]!==void 0)}function k7(e){let t={velocity:ye.velocity,stiffness:ye.stiffness,damping:ye.damping,mass:ye.mass,isResolvedFromDuration:!1,...e};if(!dm(e,E7)&&dm(e,C7))if(t.velocity=0,e.visualDuration){const n=e.visualDuration,r=2*Math.PI/(n*1.2),s=r*r,o=2*un(.05,1,1-(e.bounce||0))*Math.sqrt(s);t={...t,mass:ye.mass,stiffness:s,damping:o}}else{const n=S7({...e,velocity:0});t={...t,...n,mass:ye.mass},t.isResolvedFromDuration=!0}return t}function Rl(e=ye.visualDuration,t=ye.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],i=n.keyframes[n.keyframes.length-1],a={done:!1,value:o},{stiffness:l,damping:c,mass:d,duration:f,velocity:h,isResolvedFromDuration:p}=k7({...n,velocity:-Rt(n.velocity||0)}),v=h||0,y=c/(2*Math.sqrt(l*d)),w=i-o,m=Rt(Math.sqrt(l/d)),g=Math.abs(w)<5;r||(r=g?ye.restSpeed.granular:ye.restSpeed.default),s||(s=g?ye.restDelta.granular:ye.restDelta.default);let x,S,C,E,k,T;if(y<1)C=zd(m,y),E=(v+y*m*w)/C,x=P=>{const R=Math.exp(-y*m*P);return i-R*(E*Math.sin(C*P)+w*Math.cos(C*P))},k=y*m*E+w*C,T=y*m*w-E*C,S=P=>Math.exp(-y*m*P)*(k*Math.sin(C*P)+T*Math.cos(C*P));else if(y===1){x=R=>i-Math.exp(-m*R)*(w+(v+m*w)*R);const P=v+m*w;S=R=>Math.exp(-m*R)*(m*P*R-v)}else{const P=m*Math.sqrt(y*y-1);x=I=>{const G=Math.exp(-y*m*I),B=Math.min(P*I,300);return i-G*((v+y*m*w)*Math.sinh(B)+P*w*Math.cosh(B))/P};const R=(v+y*m*w)/P,L=y*m*R-w*P,W=y*m*w-R*P;S=I=>{const G=Math.exp(-y*m*I),B=Math.min(P*I,300);return G*(L*Math.sinh(B)+W*Math.cosh(B))}}const N={calculatedDuration:p&&f||null,velocity:P=>pt(S(P)),next:P=>{if(!p&&y<1){const L=Math.exp(-y*m*P),W=Math.sin(C*P),I=Math.cos(C*P),G=i-L*(E*W+w*I),B=pt(L*(k*W+T*I));return a.done=Math.abs(B)<=r&&Math.abs(i-G)<=s,a.value=a.done?i:G,a}const R=x(P);if(p)a.done=P>=f;else{const L=pt(S(P));a.done=Math.abs(L)<=r&&Math.abs(i-R)<=s}return a.value=a.done?i:R,a},toString:()=>{const P=Math.min(Fh(N),Ml),R=hx(L=>N.next(P*L).value,P,30);return P+"ms "+R},toTransition:()=>{}};return N}Rl.applyToOptions=e=>{const t=x7(e,100,Rl);return e.ease=t.ease,e.duration=pt(t.duration),e.type="keyframes",e};const T7=5;
vendor: 4,540 bytes, line 133
133function px(e,t,n){const r=Math.max(t-T7,0);return Ah(n-e(r),t-r)}function $d({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:s=10,bounceStiffness:o=500,modifyTarget:i,min:a,max:l,restDelta:c=.5,restSpeed:d}){const f=e[0],h={done:!1,value:f},p=T=>a!==void 0&&T<a||l!==void 0&&T>l,v=T=>a===void 0?l:l===void 0||Math.abs(a-T)<Math.abs(l-T)?a:l;let y=n*t;const w=f+y,m=i===void 0?w:i(w);m!==w&&(y=m-f);const g=T=>-y*Math.exp(-T/r),x=T=>m+g(T),S=T=>{const N=g(T),P=x(T);h.done=Math.abs(N)<=c,h.value=h.done?m:P};let C,E;const k=T=>{p(h.value)&&(C=T,E=Rl({keyframes:[h.value,v(h.value)],velocity:px(x,T,h.value),damping:s,stiffness:o,restDelta:c,restSpeed:d}))};return k(0),{calculatedDuration:null,next:T=>{let N=!1;return!E&&C===void 0&&(N=!0,S(T),k(T)),C!==void 0&&T>=C?E.next(T-C):(!N&&S(T),h)}}}function P7(e,t,n){const r=[],s=n||Rr.mix||fx,o=e.length-1;for(let i=0;i<o;i++){let a=s(e[i],e[i+1]);if(t){const l=Array.isArray(t)?t[i]||ht:t;a=$i(l,a)}r.push(a)}return r}function Vh(e,t,{clamp:n=!0,ease:r,mixer:s}={}){const o=e.length;if(Mr(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 i=e[0]===e[1];e[0]>e[o-1]&&(e=[...e].reverse(),t=[...t].reverse());const a=P7(t,r,s),l=a.length,c=d=>{if(i&&d<e[0])return t[0];let f=0;if(l>1)for(;f<e.length-2&&!(d<e[f+1]);f++);const h=ao(e[f],e[f+1],d);return a[f](h)};return n?d=>c(un(e[0],e[o-1],d)):c}function j7(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const s=ao(0,t,r);e.push(pe(n,1,s))}}function mx(e){const t=[0];return j7(t,e.length-1),t}function N7(e,t){return e.map(n=>n*t)}function A7(e,t){return e.map(()=>t||nx).splice(0,e.length-1)}function Zo({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const s=zC(r)?r.map(sm):sm(r),o={done:!1,value:t[0]},i=N7(n&&n.length===t.length?n:mx(t),e),a=Vh(i,t,{ease:Array.isArray(s)?s:A7(t,s)});return{calculatedDuration:e,next:l=>(o.value=a(l),o.done=l>=e,o)}}const M7=e=>e!==null;function xc(e,{repeat:t,repeatType:n="loop"},r,s=1){const o=e.filter(M7),a=s<0||t&&n!=="loop"&&t%2===1?0:o.length-1;return!a||r===void 0?o[a]:r}const R7={decay:$d,inertia:$d,tween:Zo,keyframes:Zo,spring:Rl};function gx(e){typeof e.type=="string"&&(e.type=R7[e.type])}class Bh{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 L7=e=>e/100;class Ll extends Bh{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;gx(t);const{type:n=Zo,repeat:r=0,repeatDelay:s=0,repeatType:o,velocity:i=0}=t;let{keyframes:a}=t;const l=n||Zo;l!==Zo&&typeof a[0]!="number"&&(this.mixKeyframes=$i(L7,fx(a[0],a[1])),a=[0,100]);const c=l({...t,keyframes:a});o==="mirror"&&(this.mirroredGenerator=l({...t,keyframes:[...a].reverse(),velocity:-i})),c.calculatedDuration===null&&(c.calculatedDuration=Fh(c));const{calculatedDuration:d}=c;this.calculatedDuration=d,this.resolvedDuration=d+s,this.totalDuration=this.resolvedDuration*(r+1)-s,this.generator=c}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:i,resolvedDuration:a,calculatedDuration:l}=this;if(this.startTime===null)return r.next(0);const{delay:c=0,keyframes:d,repeat:f,repeatType:h,repeatDelay:p,type:v,onUpdate:y,finalKeyframe:w}=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 m=this.currentTime-c*(this.playbackSpeed>=0?1:-1),g=this.playbackSpeed>=0?m<0:m>s;this.currentTime=Math.max(m,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=s);let x=this.currentTime,S=r;if(f){const T=Math.min(this.currentTime,s)/a;let N=Math.floor(T),P=T%1;!P&&T>=1&&(P=1),P===1&&N--,N=Math.min(N,f+1),!!(N%2)&&(h==="reverse"?(P=1-P,p&&(P-=p/a)):h==="mirror"&&(S=i)),x=un(0,
vendor: 11,274 bytes, line 133
1331,P)*a}let C;g?(this.delayState.value=d[0],C=this.delayState):C=S.next(x),o&&!g&&(C.value=o(C.value));let{done:E}=C;!g&&l!==null&&(E=this.playbackSpeed>=0?this.currentTime>=s:this.currentTime<=0);const k=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&E);return k&&v!==$d&&(C.value=xc(d,this.options,w,this.speed)),y&&y(C.value),k&&this.finish(),C}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=pt(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 px(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=v7,startTime:n}=this.options;this.driver||(this.driver=t(i=>this.tick(i))),(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 I7(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}const Gr=e=>e*180/Math.PI,Ud=e=>{const t=Gr(Math.atan2(e[1],e[0]));return Hd(t)},D7={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:Ud,rotateZ:Ud,skewX:e=>Gr(Math.atan(e[1])),skewY:e=>Gr(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},Hd=e=>(e=e%360,e<0&&(e+=360),e),fm=Ud,hm=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),pm=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),O7={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:hm,scaleY:pm,scale:e=>(hm(e)+pm(e))/2,rotateX:e=>Hd(Gr(Math.atan2(e[6],e[5]))),rotateY:e=>Hd(Gr(Math.atan2(-e[2],e[0]))),rotateZ:fm,rotate:fm,skewX:e=>Gr(Math.atan(e[4])),skewY:e=>Gr(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function Wd(e){return e.includes("scale")?1:0}function Gd(e,t){if(!e||e==="none")return Wd(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let r,s;if(n)r=O7,s=n;else{const a=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=D7,s=a}if(!s)return Wd(t);const o=r[t],i=s[1].split(",").map(V7);return typeof o=="function"?o(i):i[o]}const F7=(e,t)=>{const{transform:n="none"}=getComputedStyle(e);return Gd(n,t)};function V7(e){return parseFloat(e.trim())}const yo=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],vo=new Set(yo),mm=e=>e===go||e===_,B7=new Set(["x","y","z"]),_7=yo.filter(e=>!B7.has(e));function z7(e){const t=[];return _7.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}const mr={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})=>Gd(t,"x"),y:(e,{transform:t})=>Gd(t,"y")};mr.translateX=mr.x;mr.translateY=mr.y;const ts=new Set;let Kd=!1,Qd=!1,Yd=!1;function yx(){if(Qd){const e=Array.from(ts).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{const s=z7(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,i])=>{var a;(a=r.getValue(o))==null||a.set(i)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}Qd=!1,Kd=!1,ts.forEach(e=>e.complete(Yd)),ts.clear()}function vx(){ts.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Qd=!0)})}function $7(){Yd=!0,vx(),yx(),Yd=!1}class _h{constructor(t,n,r,s,o,i=!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=i}scheduleResolve(){this.state="scheduled",this.isAsync?(ts.add(this),Kd||(Kd=!0,re.read(vx),re.resolveKeyframes(yx))):(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(),i=t[t.length-1];if(o!==void 0)t[0]=o;else if(r&&n){const a=r.readValue(n,i);a!=null&&(t[0]=a)}t[0]===void 0&&(t[0]=i),s&&o===void 0&&s.set(t[0])}I7(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),ts.delete(this)}cancel(){this.state==="scheduled"&&(ts.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const U7=e=>e.startsWith("--");function xx(e,t,n){U7(t)?e.style.setProperty(t,n):e.style[t]=n}const H7={};function zh(e,t){const n=Kv(e);return()=>H7[t]??n()}const $h=zh(()=>window.ScrollTimeline!==void 0,"scrollTimeline"),wx=zh(()=>window.ViewTimeline!==void 0,"viewTimeline"),bx=zh(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Vo=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,gm={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Vo([0,.65,.55,1]),circOut:Vo([.55,0,1,.45]),backIn:Vo([.31,.01,.66,-.59]),backOut:Vo([.33,1.53,.69,.99])};function Sx(e,t){if(e)return typeof e=="function"?bx()?hx(e,t):"ease-out":rx(e)?Vo(e):Array.isArray(e)?e.map(n=>Sx(n,t)||gm.easeOut):gm[e]}function W7(e,t,n,{delay:r=0,duration:s=300,repeat:o=0,repeatType:i="loop",ease:a="easeOut",times:l}={},c=void 0){const d={[t]:n};l&&(d.offset=l);const f=Sx(a,s);Array.isArray(f)&&(d.easing=f);const h={delay:r,duration:s,easing:Array.isArray(f)?"linear":f,fill:"both",iterations:o+1,direction:i==="reverse"?"alternate":"normal"};return c&&(h.pseudoElement=c),e.animate(d,h)}function Cx(e){return typeof e=="function"&&"applyToOptions"in e}function G7({type:e,...t}){return Cx(e)&&bx()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class Ex extends Bh{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:i=!1,finalKeyframe:a,onComplete:l}=t;this.isPseudoElement=!!o,this.allowFlatten=i,this.options=t,Mr(typeof t.type!="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");const c=G7(t);this.animation=W7(n,r,s,c,o),c.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!o){const d=xc(s,this.options,a,this.speed);this.updateMotionValue&&this.updateMotionValue(d),xx(n,r,d),this.animation.cancel()}l==null||l(),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=pt(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&&$h()?(this.animation.timeline=t,n&&(this.animation.rangeStart=n),r&&(this.animation.rangeEnd=r),ht):s(this)}}const kx={anticipate:Jv,backInOut:Zv,circInOut:tx};function K7(e){return e in kx}function Q7(e){typeof e.ease=="string"&&K7(e.ease)&&(e.ease=kx[e.ease])}const gu=10;class Y7 extends Ex{constructor(t){Q7(t),gx(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,...i}=this.options;if(!n)return;if(t!==void 0){n.set(t);return}const a=new Ll({...i,autoplay:!1}),l=Math.max(gu,et.now()-this.startTime),c=un(0,gu,l-gu),d=a.sample(l).value,{name:f}=this.options;o&&f&&xx(o,f,d),n.setWithVelocity(a.sample(Math.max(0,l-c)).value,d,c),a.stop()}}const ym=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(rn.test(e)||e==="0")&&!e.startsWith("url("));function q7(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 X7(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],i=ym(s,t),a=ym(o,t);
133return vc(i===a,`You are trying to animate ${t} from "${s}" to "${o}". "${i?o:s}" is not an animatable value.`,"value-not-animatable"),!i||!a?!1:q7(e)||(n==="spring"||Cx(n))&&r}function qd(e){e.duration=0,e.type="keyframes"}const Tx=new Set(["opacity","clipPath","filter","transform"]),Z7=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function J7(e){for(let t=0;t<e.length;t++)if(typeof e[t]=="string"&&Z7.test(e[t]))return!0;return!1}const eE=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),tE=Kv(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function nE(e){var f;const{motionValue:t,name:n,repeatDelay:r,repeatType:s,damping:o,type:i,keyframes:a}=e;if(!(((f=t==null?void 0:t.owner)==null?void 0:f.current)instanceof HTMLElement))return!1;const{onUpdate:c,transformTemplate:d}=t.owner.getProps();return tE()&&n&&(Tx.has(n)||eE.has(n)&&J7(a))&&(n!=="transform"||!d)&&!c&&!r&&s!=="mirror"&&o!==0&&i!=="inertia"}const rE=40;class sE extends Bh{constructor({autoplay:t=!0,delay:n=0,type:r="keyframes",repeat:s=0,repeatDelay:o=0,repeatType:i="loop",keyframes:a,name:l,motionValue:c,element:d,...f}){var v;super(),this.stop=()=>{var y,w;this._animation&&(this._animation.stop(),(y=this.stopTimeline)==null||y.call(this)),(w=this.keyframeResolver)==null||w.cancel()},this.createdAt=et.now();const h={autoplay:t,delay:n,type:r,repeat:s,repeatDelay:o,repeatType:i,name:l,motionValue:c,element:d,...f},p=(d==null?void 0:d.KeyframeResolver)||_h;this.keyframeResolver=new p(a,(y,w,m)=>this.onKeyframesResolved(y,w,h,!m),l,c,d),(v=this.keyframeResolver)==null||v.scheduleResolve()}onKeyframesResolved(t,n,r,s){var m,g;this.keyframeResolver=void 0;const{name:o,type:i,velocity:a,delay:l,isHandoff:c,onUpdate:d}=r;this.resolvedAt=et.now();let f=!0;X7(t,o,i,a)||(f=!1,(Rr.instantAnimations||!l)&&(d==null||d(xc(t,r,n))),t[0]=t[t.length-1],qd(r),r.repeat=0);const p={startTime:s?this.resolvedAt?this.resolvedAt-this.createdAt>rE?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...r,keyframes:t},v=f&&!c&&nE(p),y=(g=(m=p.motionValue)==null?void 0:m.owner)==null?void 0:g.current;let w;if(v)try{w=new Y7({...p,element:y})}catch{w=new Ll(p)}else w=new Ll(p);w.finished.then(()=>{this.notifyFinished()}).catch(ht),this.pendingTimeline&&(this.stopTimeline=w.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=w}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(),$7()),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 Px(e,t,n,r=0,s=1){const o=Array.from(e).sort((c,d)=>c.sortNodePosition(d)).indexOf(t),i=e.size,a=(i-1)*r;return typeof n=="function"?n(o,i):s===1?o*r:a-o*r}const oE=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function iE(e){const t=oE.exec(e);if(!t)return[,];const[,n,r,s]=t;return[`--${n??r}`,s]}const aE=4;function jx(e,t,n=1){Mr(n<=aE,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");const[r,s]=iE(e);if(!r)return;const o=window.getComputedStyle(t).getPropertyValue(r);if(o){const i=o.trim();return Hv(i)?parseFloat(i):i}return Lh(s)?jx(s,t,n+1):s}const lE={type:"spring",stiffness:500,damping:25,restSpeed:10},cE=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),uE={type:"keyframes",duration:.8},dE={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},fE=(e,{keyframes:t})=>t.length>2?uE:vo.has(e)?e.startsWith("scale")?cE(t[1]):lE:dE;function Nx(e,t){if(e!=null&&e.inherit&&t){const{inherit:n,...r}=e;return{...t,...r}}return e}function Uh(e,t){const n=(e==null?void 0:e[t])??(e==null?void 0:e.default)??e;return n!==e?Nx(n,e):n}const hE=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);function pE(e){for(const t in e)if(!hE.has(t))return!0;return!1}const Hh=(e,t,n,r={},s,o)=>i=>{const a=Uh(r,e)||{},l=a.delay||r.delay||0;let{elapsed:c=0}=r;c=c-pt(l);const d={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...a,delay:-c,onUpdate:h=>{t.set(h),a.onUpdate&&a.onUpdate(h)},onComplete:()=>{i(),a.onComplete&&a.onComplete()},name:e,motionValue:t,element:o?void 0:s};
vendor: 51,434 bytes, line 133
133pE(a)||Object.assign(d,fE(e,d)),d.duration&&(d.duration=pt(d.duration)),d.repeatDelay&&(d.repeatDelay=pt(d.repeatDelay)),d.from!==void 0&&(d.keyframes[0]=d.from);let f=!1;if((d.type===!1||d.duration===0&&!d.repeatDelay)&&(qd(d),d.delay===0&&(f=!0)),(Rr.instantAnimations||Rr.skipAnimations||s!=null&&s.shouldSkipAnimations)&&(f=!0,qd(d),d.delay=0),d.allowFlatten=!a.type&&!a.ease,f&&!o&&t.get()!==void 0){const h=xc(d.keyframes,a);if(h!==void 0){re.update(()=>{d.onUpdate(h),d.onComplete()});return}}return a.isSync?new Ll(d):new sE(d)};function vm(e){const t=[{},{}];return e==null||e.values.forEach((n,r)=>{t[0][r]=n.get(),t[1][r]=n.getVelocity()}),t}function Wh(e,t,n,r){if(typeof t=="function"){const[s,o]=vm(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]=vm(r);t=t(n!==void 0?n:e.custom,s,o)}return t}function ns(e,t,n){const r=e.getProps();return Wh(r,t,n!==void 0?n:r.custom,e)}const Ax=new Set(["width","height","top","left","right","bottom",...yo]),xm=30,mE=e=>!isNaN(parseFloat(e)),Jo={current:void 0};class gE{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 i of this.dependents)i.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=mE(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 Nh);const r=this.events[t].add(n);return t==="change"?()=>{r(),re.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 Jo.current&&Jo.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const t=et.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>xm)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,xm);return Ah(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 en(e,t){return new gE(e,t)}const Xd=e=>Array.isArray(e);function yE(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,en(n))}function vE(e){return Xd(e)?e[e.length-1]||0:e}function xE(e,t){const n=ns(e,t);let{transitionEnd:r={},transition:s={},...o}=n||{};o={...o,...r};for(const i in o){const a=vE(o[i]);yE(e,i,a)}}const _e=e=>!!(e&&e.getVelocity);function wE(e){return!!(_e(e)&&e.add)}function Zd(e,t){const n=e.getValue("willChange");if(wE(n))return n.add(t);if(!n&&Rr.WillChange){const r=new Rr.WillChange("auto");e.addValue("willChange",r),r.add(t)}}function Gh(e){return e.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}const bE="framerAppearId",Mx="data-"+Gh(bE);function Rx(e){return e.props[Mx]}function SE({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function Lx(e,t,{delay:n=0,transitionOverride:r,type:s}={}){let{transition:o,transitionEnd:i,...a}=t;const l=e.getDefaultTransition();o=o?Nx(o,l):l;const c=o==null?void 0:o.reduceMotion;r&&(o=r);const d=[],f=s&&e.animationState&&e.animationState.getState()[s];for(const h in a){const p=e.getValue(h,e.latestValues[h]??null),v=a[h];if(v===void 0||f&&SE(f,h))continue;const y={delay:n,...Uh(o||{},h)},w=p.get();if(w!==void 0&&!p.isAnimating()&&!Array.isArray(v)&&v===w&&!y.velocity){re.update(()=>p.set(v));continue}let m=!1;if(window.MotionHandoffAnimation){const S=Rx(e);if(S){const C=window.MotionHandoffAnimation(S,h,re);C!==null&&(y.startTime=C,m=!0)}}Zd(e,h);const g=c??e.shouldReduceMotion;p.start(Hh(h,p,v,g&&Ax.has(h)?{type:!1}:y,e,m));const x=p.animation;x&&d.push(x)}if(i){const h=()=>re.update(()=>{i&&xE(e,i)});d.length?Promise.all(d).then(h):h()}return d}function Jd(e,t,n={}){var l;const r=ns(e,t,n.type==="exit"?(l=e.presenceContext)==null?void 0:l.custom:void 0);let{transition:s=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(s=n.transitionOverride);const o=r?()=>Promise.all(Lx(e,r,n)):()=>Promise.resolve(),i=e.variantChildren&&e.variantChildren.size?(c=0)=>{const{delayChildren:d=0,staggerChildren:f,staggerDirection:h}=s;return CE(e,t,c,d,f,h,n)}:()=>Promise.resolve(),{when:a}=s;if(a){const[c,d]=a==="beforeChildren"?[o,i]:[i,o];return c().then(()=>d())}else return Promise.all([o(),i(n.delay)])}function CE(e,t,n=0,r=0,s=0,o=1,i){const a=[];for(const l of e.variantChildren)l.notify("AnimationStart",t),a.push(Jd(l,t,{...i,delay:n+(typeof r=="function"?0:r)+Px(e.variantChildren,l,r,s,o)}).then(()=>l.notify("AnimationComplete",t)));return Promise.all(a)}function EE(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const s=t.map(o=>Jd(e,o,n));r=Promise.all(s)}else if(typeof t=="string")r=Jd(e,t,n);else{const s=typeof t=="function"?ns(e,t,n.custom):t;r=Promise.all(Lx(e,s,n))}return r.then(()=>{e.notify("AnimationComplete",t)})}const kE={test:e=>e==="auto",parse:e=>e},Ix=e=>t=>t.test(e),Dx=[go,_,kn,tr,JC,ZC,kE],wm=e=>Dx.find(Ix(e));function TE(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||Gv(e):!0}const PE=new Set(["brightness","contrast","saturate","opacity"]);function jE(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(Ih)||[];if(!r)return e;const s=n.replace(r,"");let o=PE.has(t)?1:0;return r!==n&&(o*=100),t+"("+o+s+")"}const NE=/\b([a-z-]*)\(.*?\)/gu,ef={...rn,getAnimatableNone:e=>{const t=e.match(NE);return t?t.map(jE).join(" "):e}},tf={...rn,getAnimatableNone:e=>{const t=rn.parse(e);return rn.createTransformer(e)(t.map(r=>typeof r=="number"?0:typeof r=="object"?{...r,alpha:1}:r))}},bm={...go,transform:Math.round},AE={rotate:tr,rotateX:tr,rotateY:tr,rotateZ:tr,scale:Sa,scaleX:Sa,scaleY:Sa,scaleZ:Sa,skew:tr,skewX:tr,skewY:tr,distance:_,translateX:_,translateY:_,translateZ:_,x:_,y:_,z:_,perspective:_,transformPerspective:_,opacity:ki,originX:am,originY:am,originZ:_},Kh={borderWidth:_,borderTopWidth:_,borderRightWidth:_,borderBottomWidth:_,borderLeftWidth:_,borderRadius:_,borderTopLeftRadius:_,borderTopRightRadius:_,borderBottomRightRadius:_,borderBottomLeftRadius:_,width:_,maxWidth:_,height:_,maxHeight:_,top:_,right:_,bottom:_,left:_,inset:_,insetBlock:_,insetBlockStart:_,insetBlockEnd:_,insetInline:_,insetInlineStart:_,insetInlineEnd:_,padding:_,paddingTop:_,paddingRight:_,paddingBottom:_,paddingLeft:_,paddingBlock:_,paddingBlockStart:_,paddingBlockEnd:_,paddingInline:_,paddingInlineStart:_,paddingInlineEnd:_,margin:_,marginTop:_,marginRight:_,marginBottom:_,marginLeft:_,marginBlock:_,marginBlockStart:_,marginBlockEnd:_,marginInline:_,marginInlineStart:_,marginInlineEnd:_,fontSize:_,backgroundPositionX:_,backgroundPositionY:_,...AE,zIndex:bm,fillOpacity:ki,strokeOpacity:ki,numOctaves:bm},ME={...Kh,color:je,backgroundColor:je,outlineColor:je,fill:je,stroke:je,borderColor:je,borderTopColor:je,borderRightColor:je,borderBottomColor:je,borderLeftColor:je,filter:ef,WebkitFilter:ef,mask:tf,WebkitMask:tf},Ox=e=>ME[e],RE=new Set([ef,tf]);function Fx(e,t){let n=Ox(e);return RE.has(n)||(n=rn),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const LE=new Set(["auto","none","0"]);function IE(e,t,n){let r=0,s;for(;r<e.length&&!s;){const o=e[r];typeof o=="string"&&!LE.has(o)&&lo(o).values.length&&(s=e[r]),r++}if(s&&n)for(const o of t)e[o]=Fx(n,s)}class DE extends _h{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 f=t[d];if(typeof f=="string"&&(f=f.trim(),Lh(f))){const h=jx(f,n.current);h!==void 0&&(t[d]=h),d===t.length-1&&(this.finalKeyframe=f)}}if(this.resolveNoneKeyframes(),!Ax.has(r)||t.length!==2)return;const[s,o]=t,i=wm(s),a=wm(o),l=im(s),c=im(o);if(l!==c&&mr[r]){this.needsMeasurement=!0;return}if(i!==a)if(mm(i)&&mm(a))for(let d=0;d<t.length;d++){const f=t[d];typeof f=="string"&&(t[d]=parseFloat(f))}else mr[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,r=[];for(let s=0;s<t.length;s++)(t[s]===null||TE(t[s]))&&r.push(s);r.length&&IE(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=mr[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 a;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,i=r[o];r[o]=mr[n](t.measureViewportBox(),window.getComputedStyle(t.current)),i!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=i),(a=this.removedTransforms)!=null&&a.length&&this.removedTransforms.forEach(([l,c])=>{t.getValue(l).set(c)}),this.resolveNoneKeyframes()}}function Vx(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 Bx=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function ei(e){return Wv(e)&&"offsetHeight"in e&&!("ownerSVGElement"in e)}const{schedule:Qh,cancel:_N}=sx(queueMicrotask,!1),Kt={x:!1,y:!1};function _x(){return Kt.x||Kt.y}function OE(e){return e==="x"||e==="y"?Kt[e]?null:(Kt[e]=!0,()=>{Kt[e]=!1}):Kt.x||Kt.y?null:(Kt.x=Kt.y=!0,()=>{Kt.x=Kt.y=!1})}function zx(e,t){const n=Vx(e),r=new AbortController,s={passive:!0,...t,signal:r.signal};return[n,s,()=>r.abort()]}function FE(e){return!(e.pointerType==="touch"||_x())}function VE(e,t,n={}){const[r,s,o]=zx(e,n);return r.forEach(i=>{let a=!1,l=!1,c;const d=()=>{i.removeEventListener("pointerleave",v)},f=w=>{c&&(c(w),c=void 0),d()},h=w=>{a=!1,window.removeEventListener("pointerup",h),window.removeEventListener("pointercancel",h),l&&(l=!1,f(w))},p=()=>{a=!0,window.addEventListener("pointerup",h,s),window.addEventListener("pointercancel",h,s)},v=w=>{if(w.pointerType!=="touch"){if(a){l=!0;return}f(w)}},y=w=>{if(!FE(w))return;l=!1;const m=t(i,w);typeof m=="function"&&(c=m,i.addEventListener("pointerleave",v,s))};i.addEventListener("pointerenter",y,s),i.addEventListener("pointerdown",p,s)}),o}const $x=(e,t)=>t?e===t?!0:$x(e,t.parentElement):!1,Yh=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,BE=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function _E(e){return BE.has(e.tagName)||e.isContentEditable===!0}const zE=new Set(["INPUT","SELECT","TEXTAREA"]);function $E(e){return zE.has(e.tagName)||e.isContentEditable===!0}const Ha=new WeakSet;function Sm(e){return t=>{t.key==="Enter"&&e(t)}}function yu(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const UE=(e,t)=>{const n=e.currentTarget;if(!n)return;const r=Sm(()=>{if(Ha.has(n))return;yu(n,"down");const s=Sm(()=>{yu(n,"up")}),o=()=>yu(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 Cm(e){return Yh(e)&&!_x()}const Em=new WeakSet;function HE(e,t,n={}){const[r,s,o]=zx(e,n),i=a=>{const l=a.currentTarget;if(!Cm(a)||Em.has(a))return;Ha.add(l),n.stopPropagation&&Em.add(a);const c=t(l,a),d=(p,v)=>{window.removeEventListener("pointerup",f),window.removeEventListener("pointercancel",h),Ha.has(l)&&Ha.delete(l),Cm(p)&&typeof c=="function"&&c(p,{success:v})},f=p=>{d(p,l===window||l===document||n.useGlobalTarget||$x(l,p.target))},h=p=>{d(p,!1)};window.addEventListener("pointerup",f,s),window.addEventListener("pointercancel",h,s)};return r.forEach(a=>{(n.useGlobalTarget?window:a).addEventListener("pointerdown",i,s),ei(a)&&(a.addEventListener("focus",c=>UE(c,s)),!_E(a)&&!a.hasAttribute("tabindex")&&(a.tabIndex=0))}),o}function qh(e){return Wv(e)&&"ownerSVGElement"in e}const Wa=new WeakMap;let nr;const Ux=(e,t,n)=>(r,s)=>s&&s[0]?s[0][e+"Size"]:qh(r)&&"getBBox"in r?r.getBBox()[t]:r[n],WE=Ux("inline","width","offsetWidth"),GE=Ux("block","height","offsetHeight");function KE({target:e,borderBoxSize:t}){var n;(n=Wa.get(e))==null||n.forEach(r=>{r(e,{get width(){return WE(e,t)},get height(){return GE(e,t)}})})}function QE(e){e.forEach(KE)}function YE(){typeof ResizeObserver>"u"||(nr=new ResizeObserver(QE))}function qE(e,t){nr||YE();const n=Vx(e);return n.forEach(r=>{let s=Wa.get(r);s||(s=new Set,Wa.set(r,s)),s.add(t),nr==null||nr.observe(r)}),()=>{n.forEach(r=>{const s=Wa.get(r);s==null||s.delete(t),s!=null&&s.size||nr==null||nr.unobserve(r)})}}const Ga=new Set;let Ls;function XE(){Ls=()=>{const e={get width(){return window.innerWidth},get height(){return window.innerHeight}};Ga.forEach(t=>t(e))},window.addEventListener("resize",Ls)}function ZE(e){return Ga.add(e),Ls||XE(),()=>{Ga.delete(e),!Ga.size&&typeof Ls=="function"&&(window.removeEventListener("resize",Ls),Ls=void 0)}}function nf(e,t){return typeof e=="function"?ZE(e):qE(e,t)}function Hx(e,t){let n;const r=()=>{const{currentTime:s}=t,i=(s===null?0:s.value)/100;n!==i&&e(i),n=i};return re.preUpdate(r,!0),()=>Ot(r)}function JE(e){return qh(e)&&e.tagName==="svg"}function ek(...e){const t=!Array.isArray(e[0]),n=t?0:-1,r=e[0+n],s=e[1+n],o=e[2+n],i=e[3+n],a=Vh(s,o,i);return t?a(r):a}const tk=[...Dx,je,rn],nk=e=>tk.find(Ix(e)),km=()=>({translate:0,scale:1,origin:0,originPoint:0}),Is=()=>({x:km(),y:km()}),Tm=()=>({min:0,max:0}),Me=()=>({x:Tm(),y:Tm()}),rk=new WeakMap;function wc(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function Ti(e){return typeof e=="string"||Array.isArray(e)}const Xh=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Zh=["initial",...Xh];function bc(e){return wc(e.animate)||Zh.some(t=>Ti(e[t]))}function Wx(e){return!!(bc(e)||e.variants)}function sk(e,t,n){for(const r in t){const s=t[r],o=n[r];if(_e(s))e.addValue(r,s);else if(_e(o))e.addValue(r,en(s,{owner:e}));else if(o!==s)if(e.hasValue(r)){const i=e.getValue(r);i.liveStyle===!0?i.jump(s):i.hasAnimated||i.set(s)}else{const i=e.getStaticValue(r);e.addValue(r,en(i!==void 0?i:s,{owner:e}))}}for(const r in n)t[r]===void 0&&e.removeValue(r);return t}const rf={current:null},Gx={current:!1},ok=typeof window<"u";function ik(){if(Gx.current=!0,!!ok)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>rf.current=e.matches;e.addEventListener("change",t),t()}else rf.current=!1}const Pm=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let Il={};function Kx(e){Il=e}function ak(){return Il}class lk{scrapeMotionValuesFromProps(t,n,r){return{}}constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:s,skipAnimations:o,blockInitialAnimation:i,visualState:a},l={}){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=_h,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 p=et.now();this.renderScheduledAt<p&&(this.renderScheduledAt=p,re.render(this.render,!1,!0))};const{latestValues:c,renderState:d}=a;this.latestValues=c,this.baseTarget={...c},this.initialValues=n.initial?{...c}:{},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=l,this.blockInitialAnimation=!!i,this.isControllingVariants=bc(n),this.isVariantNode=Wx(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:f,...h}=this.scrapeMotionValuesFromProps(n,{},this);for(const p in h){const v=h[p];c[p]!==void 0&&_e(v)&&v.set(c[p])}}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,rk.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:(Gx.current||ik(),this.shouldReduceMotion=rf.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(),Ot(this.notifyUpdate),Ot(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&&Tx.has(t)&&this.current instanceof HTMLElement){const{factory:i,keyframes:a,times:l,ease:c,duration:d}=n.accelerate,f=new Ex({element:this.current,name:t,keyframes:a,times:l,ease:c,duration:pt(d)}),h=i(f);this.valueSubscriptions.set(t,()=>{h(),f.cancel()});return}const r=vo.has(t);r&&this.onBindTransform&&this.onBindTransform();const s=n.on("change",i=>{this.latestValues[t]=i,this.props.onUpdate&&re.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 Il){const n=Il[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):Me()}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<Pm.length;r++){const s=Pm[r];this.propEventSubscriptions[s]&&(this.propEventSubscriptions[s](),delete this.propEventSubscriptions[s]);const o="on"+s,i=t[o];i&&(this.propEventSubscriptions[s]=this.on(s,i))}this.prevMotionValues=sk(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=en(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"&&(Hv(r)||Gv(r))?r=parseFloat(r):!nk(r)&&rn.test(n)&&(r=Fx(t,n)),this.setBaseTarget(t,_e(r)?r.get():r)),_e(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 i=Wh(this.props,n,(o=this.presenceContext)==null?void 0:o.custom);i&&(r=i[t])}if(n&&r!==void 0)return r;const s=this.getBaseTargetFromProps(this.props,t);return s!==void 0&&!_e(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 Nh),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}scheduleRenderMicrotask(){Qh.render(this.render)}}class Qx extends lk{constructor(){super(...arguments),this.KeyframeResolver=DE}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;_e(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}class Or{constructor(t){this.isMounted=!1,this.node=t}update(){}}function Yx({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function ck({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function uk(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 sf({scale:e,scaleX:t,scaleY:n}){return!vu(e)||!vu(t)||!vu(n)}function zr(e){return sf(e)||qx(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function qx(e){return jm(e.x)||jm(e.y)}function jm(e){return e&&e!=="0%"}function Dl(e,t,n){const r=e-n,s=t*r;return n+s}function Nm(e,t,n,r,s){return s!==void 0&&(e=Dl(e,s,r)),Dl(e,n,r)+t}function of(e,t=0,n=1,r,s){e.min=Nm(e.min,t,n,r,s),e.max=Nm(e.max,t,n,r,s)}function Xx(e,{x:t,y:n}){of(e.x,t.translate,t.scale,t.originPoint),of(e.y,n.translate,n.scale,n.originPoint)}const Am=.999999999999,Mm=1.0000000000001;function dk(e,t,n,r=!1){var a;const s=n.length;if(!s)return;t.x=t.y=1;let o,i;for(let l=0;l<s;l++){o=n[l],i=o.projectionDelta;const{visualElement:c}=o.options;c&&c.props.style&&c.props.style.display==="contents"||(r&&o.options.layoutScroll&&o.scroll&&o!==o.root&&(xn(e.x,-o.scroll.offset.x),xn(e.y,-o.scroll.offset.y)),i&&(t.x*=i.x.scale,t.y*=i.y.scale,Xx(e,i)),r&&zr(o.latestValues)&&Ka(e,o.latestValues,(a=o.layout)==null?void 0:a.layoutBox))}t.x<Mm&&t.x>Am&&(t.x=1),t.y<Mm&&t.y>Am&&(t.y=1)}function xn(e,t){e.min+=t,e.max+=t}function Rm(e,t,n,r,s=.5){const o=pe(e.min,e.max,s);of(e,t,n,o,r)}function Lm(e,t){return typeof e=="string"?parseFloat(e)/100*(t.max-t.min):e}function Ka(e,t,n){const r=n??e;Rm(e.x,Lm(t.x,r.x),t.scaleX,t.scale,t.originX),Rm(e.y,Lm(t.y,r.y),t.scaleY,t.scale,t.originY)}function Zx(e,t){return Yx(uk(e.getBoundingClientRect(),t))}function fk(e,t,n){const r=Zx(e,n),{scroll:s}=t;return s&&(xn(r.x,s.offset.x),xn(r.y,s.offset.y)),r}const hk={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},pk=yo.length;function mk(e,t,n){let r="",s=!0;for(let o=0;o<pk;o++){const i=yo[o],a=e[i];if(a===void 0)continue;let l=!0;if(typeof a=="number")l=a===(i.startsWith("scale")?1:0);else{const c=parseFloat(a);l=i.startsWith("scale")?c===1:c===0}if(!l||n){const c=Bx(a,Kh[i]);if(!l){s=!1;const d=hk[i]||i;r+=`${d}(${c}) `}n&&(t[i]=c)}}return r=r.trim(),n?r=n(t,s?"":r):s&&(r="none"),r}function Jh(e,t,n){const{style:r,vars:s,transformOrigin:o}=e;let i=!1,a=!1;for(const l in t){const c=t[l];if(vo.has(l)){i=!0;continue}else if(ix(l)){s[l]=c;continue}else{const d=Bx(c,Kh[l]);l.startsWith("origin")?(a=!0,o[l]=d):r[l]=d}}if(t.transform||(i||n?r.transform=mk(t,e.transform,n):r.transform&&(r.transform="none")),a){const{originX:l="50%",originY:c="50%",originZ:d=0}=o;r.transformOrigin=`${l} ${c} ${d}`}}function Jx(e,{style:t,vars:n},r,s){const o=e.style;let i;for(i in t)o[i]=t[i];s==null||s.applyProjectionStyles(o,r);for(i in n)o.setProperty(i,n[i])}function Im(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Lo={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(_.test(e))e=parseFloat(e);else return e;const n=Im(e,t.target.x),r=Im(e,t.target.y);return`${n}% ${r}%`}},gk={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,s=rn.parse(e);if(s.length>5)return r;const o=rn.createTransformer(e),i=typeof s[0]!="number"?1:0,a=n.x.scale*t.x,l=n.y.scale*t.y;s[0+i]/=a,s[1+i]/=l;const c=pe(a,l,.5);return typeof s[2+i]=="number"&&(s[2+i]/=c),typeof s[3+i]=="number"&&(s[3+i]/=c),o(s)}},af={borderRadius:{...Lo,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Lo,borderTopRightRadius:Lo,borderBottomLeftRadius:Lo,borderBottomRightRadius:Lo,boxShadow:gk};function ew(e,{layout:t,layoutId:n}){return vo.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!af[e]||e==="opacity")}function ep(e,t,n){var i;const r=e.style,s=t==null?void 0:t.style,o={};if(!r)return o;for(const a in r)(_e(r[a])||s&&_e(s[a])||ew(a,e)||((i=n==null?void 0:n.getValue(a))==null?void 0:i.liveStyle)!==void 0)&&(o[a]=r[a]);return o}function yk(e){return window.getComputedStyle(e)}class vk extends Qx{constructor(){super(...arguments),this.type="html",this.renderInstance=Jx}readValueFromInstance(t,n){var r;if(vo.has(n))return(r=this.projection)!=null&&r.isProjecting?Wd(n):F7(t,n);{const s=yk(t),o=(ix(n)?s.getPropertyValue(n):s[n])||0;return typeof o=="string"?o.trim():o}}measureInstanceViewportBox(t,{transformPagePoint:n}){return Zx(t,n)}build(t,n,r){Jh(t,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return ep(t,n,r)}}const xk={offset:"stroke-dashoffset",array:"stroke-dasharray"},wk={offset:"strokeDashoffset",array:"strokeDasharray"};function bk(e,t,n=1,r=0,s=!0){e.pathLength=1;const o=s?xk:wk;e[o.offset]=`${-r}`,e[o.array]=`${t} ${n}`}const Sk=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function tw(e,{attrX:t,attrY:n,attrScale:r,pathLength:s,pathSpacing:o=1,pathOffset:i=0,...a},l,c,d){if(Jh(e,a,c),l){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:f,style:h}=e;f.transform&&(h.transform=f.transform,delete f.transform),(h.transform||f.transformOrigin)&&(h.transformOrigin=f.transformOrigin??"50% 50%",delete f.transformOrigin),h.transform&&(h.transformBox=(d==null?void 0:d.transformBox)??"fill-box",delete f.transformBox);for(const p of Sk)f[p]!==void 0&&(h[p]=f[p],delete f[p]);t!==void 0&&(f.x=t),n!==void 0&&(f.y=n),r!==void 0&&(f.scale=r),s!==void 0&&bk(f,s,o,i,!1)}const nw=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"]),rw=e=>typeof e=="string"&&e.toLowerCase()==="svg";function Ck(e,t,n,r){Jx(e,t,void 0,r);for(const s in t.attrs)e.setAttribute(nw.has(s)?s:Gh(s),t.attrs[s])}function sw(e,t,n){const r=ep(e,t,n);for(const s in e)if(_e(e[s])||_e(t[s])){const o=yo.indexOf(s)!==-1?"attr"+s.charAt(0).toUpperCase()+s.substring(1):s;r[o]=e[s]}return r}class Ek extends Qx{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Me}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(vo.has(n)){const r=Ox(n);return r&&r.default||0}return n=nw.has(n)?n:Gh(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,r){return sw(t,n,r)}build(t,n,r){tw(t,n,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(t,n,r,s){Ck(t,n,r,s)}mount(t){this.isSVGTag=rw(t.tagName),super.mount(t)}}const kk=Zh.length;function ow(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?ow(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<kk;n++){const r=Zh[n],s=e.props[r];(Ti(s)||s===!1)&&(t[r]=s)}return t}function iw(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 Tk=[...Xh].reverse(),Pk=Xh.length;function jk(e){return t=>Promise.all(t.map(({animation:n,options:r})=>EE(e,n,r)))}function Nk(e){let t=jk(e),n=Dm(),r=!0,s=!1;const o=c=>(d,f)=>{var p;const h=ns(e,f,c==="exit"?(p=e.presenceContext)==null?void 0:p.custom:void 0);if(h){const{transition:v,transitionEnd:y,...w}=h;d={...d,...w,...y}}return d};function i(c){t=c(e)}function a(c){const{props:d}=e,f=ow(e.parent)||{},h=[],p=new Set;let v={},y=1/0;for(let m=0;m<Pk;m++){const g=Tk[m],x=n[g],S=d[g]!==void 0?d[g]:f[g],C=Ti(S),E=g===c?x.isActive:null;E===!1&&(y=m);let k=S===f[g]&&S!==d[g]&&C;if(k&&(r||s)&&e.manuallyAnimateOnMount&&(k=!1),x.protectedKeys={...v},!x.isActive&&E===null||!S&&!x.prevProp||wc(S)||typeof S=="boolean")continue;if(g==="exit"&&x.isActive&&E!==!0){x.prevResolvedValues&&(v={...v,...x.prevResolvedValues});continue}const T=Ak(x.prevProp,S);let N=T||g===c&&x.isActive&&!k&&C||m>y&&C,P=!1;const R=Array.isArray(S)?S:[S];let L=R.reduce(o(g),{});E===!1&&(L={});const{prevResolvedValues:W={}}=x,I={...W,...L},G=j=>{N=!0,p.has(j)&&(P=!0,p.delete(j)),x.needsAnimating[j]=!0;const A=e.getValue(j);A&&(A.liveStyle=!1)};for(const j in I){const A=L[j],F=W[j];if(v.hasOwnProperty(j))continue;let H=!1;Xd(A)&&Xd(F)?H=!iw(A,F):H=A!==F,H?A!=null?G(j):p.add(j):A!==void 0&&p.has(j)?G(j):x.protectedKeys[j]=!0}x.prevProp=S,x.prevResolvedValues=L,x.isActive&&(v={...v,...L}),(r||s)&&e.blockInitialAnimation&&(N=!1);const B=k&&T;N&&(!B||P)&&h.push(...R.map(j=>{const A={type:g};if(typeof j=="string"&&(r||s)&&!B&&e.manuallyAnimateOnMount&&e.parent){const{parent:F}=e,H=ns(F,j);if(F.enteringChildren&&H){const{delayChildren:U}=H.transition||{};A.delay=Px(F.enteringChildren,e,U)}}return{animation:j,options:A}}))}if(p.size){const m={};if(typeof d.initial!="boolean"){const g=ns(e,Array.isArray(d.initial)?d.initial[0]:d.initial);g&&g.transition&&(m.transition=g.transition)}p.forEach(g=>{const x=e.getBaseTarget(g),S=e.getValue(g);S&&(S.liveStyle=!0),m[g]=x??null}),h.push({animation:m})}let w=!!h.length;return r&&(d.initial===!1||d.initial===d.animate)&&!e.manuallyAnimateOnMount&&(w=!1),r=!1,s=!1,w?t(h):Promise.resolve()}function l(c,d){var h;if(n[c].isActive===d)return Promise.resolve();(h=e.variantChildren)==null||h.forEach(p=>{var v;return(v=p.animationState)==null?void 0:v.setActive(c,d)}),n[c].isActive=d;const f=a(c);for(const p in n)n[p].protectedKeys={};return f}return{animateChanges:a,setActive:l,setAnimateFunction:i,getState:()=>n,reset:()=>{n=Dm(),s=!0}}}function Ak(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!iw(t,e):!1}function Vr(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Dm(){return{animate:Vr(!0),whileInView:Vr(),whileHover:Vr(),whileTap:Vr(),whileDrag:Vr(),whileFocus:Vr(),exit:Vr()}}function lf(e,t){e.min=t.min,e.max=t.max}function Gt(e,t){lf(e.x,t.x),lf(e.y,t.y)}function Om(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}const aw=1e-4,Mk=1-aw,Rk=1+aw,lw=.01,Lk=0-lw,Ik=0+lw;function tt(e){return e.max-e.min}function Dk(e,t,n){return Math.abs(e-t)<=n}function Fm(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>=Mk&&e.scale<=Rk||isNaN(e.scale))&&(e.scale=1),(e.translate>=Lk&&e.translate<=Ik||isNaN(e.translate))&&(e.translate=0)}function ti(e,t,n,r){Fm(e.x,t.x,n.x,r?r.originX:void 0),Fm(e.y,t.y,n.y,r?r.originY:void 0)}function Vm(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 Ok(e,t,n,r){Vm(e.x,t.x,n.x,r==null?void 0:r.x),Vm(e.y,t.y,n.y,r==null?void 0:r.y)}function Bm(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 Ol(e,t,n,r){Bm(e.x,t.x,n.x,r==null?void 0:r.x),Bm(e.y,t.y,n.y,r==null?void 0:r.y)}function _m(e,t,n,r,s){return e-=t,e=Dl(e,1/n,r),s!==void 0&&(e=Dl(e,1/s,r)),e}function Fk(e,t=0,n=1,r=.5,s,o=e,i=e){if(kn.test(t)&&(t=parseFloat(t),t=pe(i.min,i.max,t/100)-i.min),typeof t!="number")return;let a=pe(o.min,o.max,r);e===o&&(a-=t),e.min=_m(e.min,t,n,a,s),e.max=_m(e.max,t,n,a,s)}function zm(e,t,[n,r,s],o,i){Fk(e,t[n],t[r],t[s],t.scale,o,i)}const Vk=["x","scaleX","originX"],Bk=["y","scaleY","originY"];function $m(e,t,n,r){zm(e.x,t,Vk,n?n.x:void 0,r?r.x:void 0),zm(e.y,t,Bk,n?n.y:void 0,r?r.y:void 0)}function Um(e){return e.translate===0&&e.scale===1}function cw(e){return Um(e.x)&&Um(e.y)}function Hm(e,t){return e.min===t.min&&e.max===t.max}function _k(e,t){return Hm(e.x,t.x)&&Hm(e.y,t.y)}function Wm(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function uw(e,t){return Wm(e.x,t.x)&&Wm(e.y,t.y)}function Gm(e){return tt(e.x)/tt(e.y)}function Km(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}function mn(e){return[e("x"),e("y")]}function zk(e,t,n){let r="";const s=e.x.translate/t.x,o=e.y.translate/t.y,i=(n==null?void 0:n.z)||0;if((s||o||i)&&(r=`translate3d(${s}px, ${o}px, ${i}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:c,rotate:d,rotateX:f,rotateY:h,skewX:p,skewY:v}=n;c&&(r=`perspective(${c}px) ${r}`),d&&(r+=`rotate(${d}deg) `),f&&(r+=`rotateX(${f}deg) `),h&&(r+=`rotateY(${h}deg) `),p&&(r+=`skewX(${p}deg) `),v&&(r+=`skewY(${v}deg) `)}const a=e.x.scale*t.x,l=e.y.scale*t.y;return(a!==1||l!==1)&&(r+=`scale(${a}, ${l})`),r||"none"}const dw=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],$k=dw.length,Qm=e=>typeof e=="string"?parseFloat(e):e,Ym=e=>typeof e=="number"||_.test(e);function Uk(e,t,n,r,s,o){s?(e.opacity=pe(0,n.opacity??1,Hk(r)),e.opacityExit=pe(t.opacity??1,0,Wk(r))):o&&(e.opacity=pe(t.opacity??1,n.opacity??1,r));for(let i=0;i<$k;i++){const a=dw[i];let l=qm(t,a),c=qm(n,a);if(l===void 0&&c===void 0)continue;l||(l=0),c||(c=0),l===0||c===0||Ym(l)===Ym(c)?(e[a]=Math.max(pe(Qm(l),Qm(c),r),0),(kn.test(c)||kn.test(l))&&(e[a]+="%")):e[a]=c}(t.rotate||n.rotate)&&(e.rotate=pe(t.rotate||0,n.rotate||0,r))}function qm(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const Hk=fw(0,.5,ex),Wk=fw(.5,.95,ht);function fw(e,t,n){return r=>r<e?0:r>t?1:n(ao(e,t,r))}function Gk(e,t,n){const r=_e(e)?e:en(e);return r.start(Hh("",r,t,n)),r.animation}function Pi(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const Kk=(e,t)=>e.depth-t.depth;class Qk{constructor(){this.children=[],this.isDirty=!1}add(t){jh(this.children,t),this.isDirty=!0}remove(t){Nl(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(Kk),this.isDirty=!1,this.children.forEach(t)}}function Yk(e,t){const n=et.now(),r=({timestamp:s})=>{const o=s-n;o>=t&&(Ot(r),e(o-t))};return re.setup(r,!0),()=>Ot(r)}function Qa(e){return _e(e)?e.get():e}class qk{constructor(){this.members=[]}add(t){jh(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&&(Nl(this.members,r),r.unmount())}t.scheduleRender()}remove(t){if(Nl(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:i}=t.options;(o===void 0||o!==i)&&(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,i;(r=(n=t.options).onExitComplete)==null||r.call(n),(i=(s=t.resumingFrom)==null?void 0:(o=s.options).onExitComplete)==null||i.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 Ya={hasAnimatedSinceResize:!0,hasEverUpdated:!1},xu=["","X","Y","Z"],Xk=1e3;let Zk=0;function wu(e,t,n,r){const{latestValues:s}=t;s[e]&&(n[e]=s[e],t.setStaticValue(e,0),r&&(r[e]=0))}function hw(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=Rx(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:s,layoutId:o}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",re,!(s||o))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&hw(r)}function pw({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:s}){return class{constructor(i={},a=t==null?void 0:t()){this.id=Zk++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(t9),this.nodes.forEach(a9),this.nodes.forEach(l9),this.nodes.forEach(n9)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=i,this.root=a?a.root||a:this,this.path=a?[...a.path,a]:[],this.parent=a,this.depth=a?a.depth+1:0;for(let l=0;l<this.path.length;l++)this.path[l].shouldResetTransform=!0;this.root===this&&(this.nodes=new Qk)}addEventListener(i,a){return this.eventHandlers.has(i)||this.eventHandlers.set(i,new Nh),this.eventHandlers.get(i).add(a)}notifyListeners(i,...a){const l=this.eventHandlers.get(i);l&&l.notify(...a)}hasListeners(i){return this.eventHandlers.has(i)}mount(i){if(this.instance)return;this.isSVG=qh(i)&&!JE(i),this.instance=i;const{layoutId:a,layout:l,visualElement:c}=this.options;if(c&&!c.current&&c.mount(i),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(l||a)&&(this.isLayoutDirty=!0),e){let d,f=0;const h=()=>this.root.updateBlockedByResize=!1;re.read(()=>{f=window.innerWidth}),e(i,()=>{const p=window.innerWidth;p!==f&&(f=p,this.root.updateBlockedByResize=!0,d&&d(),d=Yk(h,250),Ya.hasAnimatedSinceResize&&(Ya.hasAnimatedSinceResize=!1,this.nodes.forEach(Jm)))})}a&&this.root.registerSharedNode(a,this),this.options.animate!==!1&&c&&(a||l)&&this.addEventListener("didUpdate",({delta:d,hasLayoutChanged:f,hasRelativeLayoutChanged:h,layout:p})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const v=this.options.transition||c.getDefaultTransition()||h9,{onLayoutAnimationStart:y,onLayoutAnimationComplete:w}=c.getProps(),m=!this.targetLayout||!uw(this.targetLayout,p),g=!f&&h;if(this.options.layoutRoot||this.resumeFrom||g||f&&(m||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const x={...Uh(v,"layout"),onPlay:y,onComplete:w};(c.shouldReduceMotion||this.options.layoutRoot)&&(x.delay=0,x.type=!1),this.startAnimation(x),this.setAnimationOrigin(d,g)}else f||Jm(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=p})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const i=this.getStack();i&&i.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),Ot(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(c9),this.animationId++)}getTransformTemplate(){const{visualElement:i}=this.options;return i&&i.getProps().transformTemplate}willUpdate(i=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&hw(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let d=0;d<this.path.length;d++){const f=this.path[d];f.shouldResetTransform=!0,(typeof f.latestValues.x=="string"||typeof f.latestValues.y=="string")&&(f.isLayoutDirty=!0),f.updateScroll("snapshot"),f.options.layoutRoot&&f.willUpdate(!1)}const{layoutId:a,layout:l}=this.options;if(a===void 0&&!l)return;const c=this.getTransformTemplate();this.prevTransformTemplateValue=c?c(this.latestValues,""):void 0,this.updateSnapshot(),i&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){const l=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),l&&this.nodes.forEach(s9),this.nodes.forEach(Xm);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(Zm);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(o9),this.nodes.forEach(i9),this.nodes.forEach(Jk),this.nodes.forEach(e9)):this.nodes.forEach(Zm),this.clearAllSnapshots();const a=et.now();Oe.delta=un(0,1e3/60,a-Oe.timestamp),Oe.timestamp=a,Oe.isProcessing=!0,du.update.process(Oe),du.preRender.process(Oe),du.render.process(Oe),Oe.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Qh.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(r9),this.sharedNodes.forEach(u9)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,re.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){re.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 l=0;l<this.path.length;l++)this.path[l].updateScroll();const i=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=Me()),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:a}=this.options;a&&a.notify("LayoutMeasure",this.layout.layoutBox,i?i.layoutBox:void 0)}updateScroll(i="measure"){let a=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===i&&(a=!1),a&&this.instance){const l=r(this.instance);this.scroll={animationId:this.root.animationId,phase:i,isRoot:l,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:l}}}resetTransform(){if(!s)return;const i=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,a=this.projectionDelta&&!cw(this.projectionDelta),l=this.getTransformTemplate(),c=l?l(this.latestValues,""):void 0,d=c!==this.prevTransformTemplateValue;i&&this.instance&&(a||zr(this.latestValues)||d)&&(s(this.instance,c),this.shouldResetTransform=!1,this.scheduleRender())}measure(i=!0){const a=this.measurePageBox();let l=this.removeElementScroll(a);return i&&(l=this.removeTransform(l)),p9(l),{animationId:this.root.animationId,measuredBox:a,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){var c;const{visualElement:i}=this.options;if(!i)return Me();const a=i.measureViewportBox();if(!(((c=this.scroll)==null?void 0:c.wasRoot)||this.path.some(m9))){const{scroll:d}=this.root;d&&(xn(a.x,d.offset.x),xn(a.y,d.offset.y))}return a}removeElementScroll(i){var l;const a=Me();if(Gt(a,i),(l=this.scroll)!=null&&l.wasRoot)return a;for(let c=0;c<this.path.length;c++){const d=this.path[c],{scroll:f,options:h}=d;d!==this.root&&f&&h.layoutScroll&&(f.wasRoot&&Gt(a,i),xn(a.x,f.offset.x),xn(a.y,f.offset.y))}return a}applyTransform(i,a=!1,l){var d,f;const c=l||Me();Gt(c,i);for(let h=0;h<this.path.length;h++){const p=this.path[h];!a&&p.options.layoutScroll&&p.scroll&&p!==p.root&&(xn(c.x,-p.scroll.offset.x),xn(c.y,-p.scroll.offset.y)),zr(p.latestValues)&&Ka(c,p.latestValues,(d=p.layout)==null?void 0:d.layoutBox)}return zr(this.latestValues)&&Ka(c,this.latestValues,(f=this.layout)==null?void 0:f.layoutBox),c}removeTransform(i){var l;const a=Me();Gt(a,i);for(let c=0;c<this.path.length;c++){const d=this.path[c];if(!zr(d.latestValues))continue;let f;d.instance&&(sf(d.latestValues)&&d.updateSnapshot(),f=Me(),Gt(f,d.measurePageBox())),$m(a,d.latestValues,(l=d.snapshot)==null?void 0:l.layoutBox,f)}return zr(this.latestValues)&&$m(a,this.latestValues),a}setTargetDelta(i){this.targetDelta=i,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(i){this.options={...this.options,...i,crossfade:i.crossfade!==void 0?i.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==Oe.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(i=!1){var p;const a=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=a.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=a.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=a.isSharedProjectionDirty);const l=!!this.resumingFrom||this!==a;if(!(i||l&&this.isSharedProjectionDirty||this.isProjectionDirty||(p=this.parent)!=null&&p.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:d,layoutId:f}=this.options;if(!this.layout||!(d||f))return;this.resolvedRelativeTargetAt=Oe.timestamp;const h=this.getClosestProjectingParent();h&&this.linkedParentVersion!==h.layoutVersion&&!h.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&h&&h.layout?this.createRelativeTarget(h,this.layout.layoutBox,h.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=Me(),this.targetWithTransforms=Me()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),Ok(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):Gt(this.target,this.layout.layoutBox),Xx(this.target,this.targetDelta)):Gt(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&h&&!!h.resumingFrom==!!this.resumingFrom&&!h.options.layoutScroll&&h.target&&this.animationProgress!==1?this.createRelativeTarget(h,this.target,h.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||sf(this.parent.latestValues)||qx(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(i,a,l){this.relativeParent=i,this.linkedParentVersion=i.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Me(),this.relativeTargetOrigin=Me(),Ol(this.relativeTargetOrigin,a,l,this.options.layoutAnchor||void 0),Gt(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){var v;const i=this.getLead(),a=!!this.resumingFrom||this!==i;let l=!0;if((this.isProjectionDirty||(v=this.parent)!=null&&v.isProjectionDirty)&&
vendor: 5,333 bytes, line 133
133(l=!1),a&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(l=!1),this.resolvedRelativeTargetAt===Oe.timestamp&&(l=!1),l)return;const{layout:c,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||!(c||d))return;Gt(this.layoutCorrected,this.layout.layoutBox);const f=this.treeScale.x,h=this.treeScale.y;dk(this.layoutCorrected,this.treeScale,this.path,a),i.layout&&!i.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(i.target=i.layout.layoutBox,i.targetWithTransforms=Me());const{target:p}=i;if(!p){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Om(this.prevProjectionDelta.x,this.projectionDelta.x),Om(this.prevProjectionDelta.y,this.projectionDelta.y)),ti(this.projectionDelta,this.layoutCorrected,p,this.latestValues),(this.treeScale.x!==f||this.treeScale.y!==h||!Km(this.projectionDelta.x,this.prevProjectionDelta.x)||!Km(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",p))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(i=!0){var a;if((a=this.options.visualElement)==null||a.scheduleRender(),i){const l=this.getStack();l&&l.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Is(),this.projectionDelta=Is(),this.projectionDeltaWithTransform=Is()}setAnimationOrigin(i,a=!1){const l=this.snapshot,c=l?l.latestValues:{},d={...this.latestValues},f=Is();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!a;const h=Me(),p=l?l.source:void 0,v=this.layout?this.layout.source:void 0,y=p!==v,w=this.getStack(),m=!w||w.members.length<=1,g=!!(y&&!m&&this.options.crossfade===!0&&!this.path.some(f9));this.animationProgress=0;let x;this.mixTargetDelta=S=>{const C=S/1e3;eg(f.x,i.x,C),eg(f.y,i.y,C),this.setTargetDelta(f),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Ol(h,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),d9(this.relativeTarget,this.relativeTargetOrigin,h,C),x&&_k(this.relativeTarget,x)&&(this.isProjectionDirty=!1),x||(x=Me()),Gt(x,this.relativeTarget)),y&&(this.animationValues=d,Uk(d,c,this.latestValues,C,g,m)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=C},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(i){var a,l,c;this.notifyListeners("animationStart"),(a=this.currentAnimation)==null||a.stop(),(c=(l=this.resumingFrom)==null?void 0:l.currentAnimation)==null||c.stop(),this.pendingAnimation&&(Ot(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=re.update(()=>{Ya.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=en(0)),this.motionValue.jump(0,!1),this.currentAnimation=Gk(this.motionValue,[0,1e3],{...i,velocity:0,isSync:!0,onUpdate:d=>{this.mixTargetDelta(d),i.onUpdate&&i.onUpdate(d)},onStop:()=>{},onComplete:()=>{i.onComplete&&i.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const i=this.getStack();i&&i.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(Xk),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const i=this.getLead();let{targetWithTransforms:a,target:l,layout:c,latestValues:d}=i;if(!(!a||!l||!c)){if(this!==i&&this.layout&&c&&mw(this.options.animationType,this.layout.layoutBox,c.layoutBox)){l=this.target||Me();const f=tt(this.layout.layoutBox.x);l.x.min=i.target.x.min,l.x.max=l.x.min+f;const h=tt(this.layout.layoutBox.y);l.y.min=i.target.y.min,l.y.max=l.y.min+h}Gt(a,l),Ka(a,d),ti(this.projectionDeltaWithTransform,this.layoutCorrected,a,d)}}registerSharedNode(i,a){this.sharedNodes.has(i)||this.sharedNodes.set(i,new qk),this.sharedNodes.get(i).add(a);const c=a.options.initialPromotionConfig;a.promote({transition:c?c.transition:void 0,preserveFollowOpacity:c&&c.shouldPreserveFollowOpacity?c.shouldPreserveFollowOpacity(a):void 0})}isLead(){const i=this.getStack();return i?i.lead===this:!0}getLead(){var a;const{layoutId:i}=this.options;return i?((a=this.getStack())==null?void 0:a.lead)||this:this}getPrevLead(){var a;const{layoutId:i}=this.options;return i?(a=this.getStack())==null?void 0:a.prevLead:void 0}getStack(){const{layoutId:i}=this.options;if(i)return this.root.sharedNodes.get(i)}promote({needsReset:i,transition:a,preserveFollowOpacity:l}={}){const c=this.getStack();c&&c.promote(this,l),i&&(this.projectionDelta=void 0,this.needsReset=!0),a&&this.setOptions({transition:a})}relegate(){const i=this.getStack();return i?i.relegate(this):!1}
vendor: 4,506 bytes, line 133
133resetSkewAndRotation(){const{visualElement:i}=this.options;if(!i)return;let a=!1;const{latestValues:l}=i;if((l.z||l.rotate||l.rotateX||l.rotateY||l.rotateZ||l.skewX||l.skewY)&&(a=!0),!a)return;const c={};l.z&&wu("z",i,c,this.animationValues);for(let d=0;d<xu.length;d++)wu(`rotate${xu[d]}`,i,c,this.animationValues),wu(`skew${xu[d]}`,i,c,this.animationValues);i.render();for(const d in c)i.setStaticValue(d,c[d]),this.animationValues&&(this.animationValues[d]=c[d]);i.scheduleRender()}applyProjectionStyles(i,a){if(!this.instance||this.isSVG)return;if(!this.isVisible){i.visibility="hidden";return}const l=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,i.visibility="",i.opacity="",i.pointerEvents=Qa(a==null?void 0:a.pointerEvents)||"",i.transform=l?l(this.latestValues,""):"none";return}const c=this.getLead();if(!this.projectionDelta||!this.layout||!c.target){this.options.layoutId&&(i.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,i.pointerEvents=Qa(a==null?void 0:a.pointerEvents)||""),this.hasProjected&&!zr(this.latestValues)&&(i.transform=l?l({},""):"none",this.hasProjected=!1);return}i.visibility="";const d=c.animationValues||c.latestValues;this.applyTransformsToTarget();let f=zk(this.projectionDeltaWithTransform,this.treeScale,d);l&&(f=l(d,f)),i.transform=f;const{x:h,y:p}=this.projectionDelta;i.transformOrigin=`${h.origin*100}% ${p.origin*100}% 0`,c.animationValues?i.opacity=c===this?d.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:d.opacityExit:i.opacity=c===this?d.opacity!==void 0?d.opacity:"":d.opacityExit!==void 0?d.opacityExit:0;for(const v in af){if(d[v]===void 0)continue;const{correct:y,applyTo:w,isCSSVariable:m}=af[v],g=f==="none"?d[v]:y(d[v],c);if(w){const x=w.length;for(let S=0;S<x;S++)i[w[S]]=g}else m?this.options.visualElement.renderState.vars[v]=g:i[v]=g}this.options.layoutId&&(i.pointerEvents=c===this?Qa(a==null?void 0:a.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(i=>{var a;return(a=i.currentAnimation)==null?void 0:a.stop()}),this.root.nodes.forEach(Xm),this.root.sharedNodes.clear()}}}function Jk(e){e.updateLayout()}function e9(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,i=t.source!==e.layout.source;if(o==="size")mn(f=>{const h=i?t.measuredBox[f]:t.layoutBox[f],p=tt(h);h.min=r[f].min,h.max=h.min+p});else if(o==="x"||o==="y"){const f=o==="x"?"y":"x";lf(i?t.measuredBox[f]:t.layoutBox[f],r[f])}else mw(o,t.layoutBox,r)&&mn(f=>{const h=i?t.measuredBox[f]:t.layoutBox[f],p=tt(r[f]);h.max=h.min+p,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[f].max=e.relativeTarget[f].min+p)});const a=Is();ti(a,r,t.layoutBox);const l=Is();i?ti(l,e.applyTransform(s,!0),t.measuredBox):ti(l,r,t.layoutBox);const c=!cw(a);let d=!1;if(!e.resumeFrom){const f=e.getClosestProjectingParent();if(f&&!f.resumeFrom){const{snapshot:h,layout:p}=f;if(h&&p){const v=e.options.layoutAnchor||void 0,y=Me();Ol(y,t.layoutBox,h.layoutBox,v);const w=Me();Ol(w,r,p.layoutBox,v),uw(y,w)||(d=!0),f.options.layoutRoot&&(e.relativeTarget=w,e.relativeTargetOrigin=y,e.relativeParent=f)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:t,delta:l,layoutDelta:a,hasLayoutChanged:c,hasRelativeLayoutChanged:d})}else if(e.isLead()){const{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function t9(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 n9(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function r9(e){e.clearSnapshot()}function Xm(e){e.clearMeasurements()}function s9(e){e.isLayoutDirty=!0,e.updateLayout()}function Zm(e){e.isLayoutDirty=!1}function o9(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function i9(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Jm(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function a9(e){e.resolveTargetDelta()}function l9(e){e.calcProjection()}
133function c9(e){e.resetSkewAndRotation()}function u9(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 d9(e,t,n,r){tg(e.x,t.x,n.x,r),tg(e.y,t.y,n.y,r)}function f9(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const h9={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:ht;function sg(e){e.min=rg(e.min),e.max=rg(e.max)}function p9(e){sg(e.x),sg(e.y)}function mw(e,t,n){return e==="position"||e==="preserve-aspect"&&!Dk(Gm(t),Gm(n),.2)}function m9(e){var t;return e!==e.root&&((t=e.scroll)==null?void 0:t.wasRoot)}const g9=pw({attachResizeListener:(e,t)=>Pi(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}),bu={current:void 0},gw=pw({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!bu.current){const e=new g9({});e.mount(window),e.setOptions({layoutScroll:!0}),bu.current=e}return bu.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),Sc=b.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function og(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function y9(...e){return t=>{let n=!1;const r=e.map(s=>{const o=og(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():og(e[s],null)}}}}function v9(...e){return b.useCallback(y9(...e),e)}class x9 extends b.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(ei(n)&&t.isPresent&&!this.props.isPresent&&this.props.pop!==!1){const r=n.offsetParent,s=ei(r)&&r.offsetWidth||0,o=ei(r)&&r.offsetHeight||0,i=getComputedStyle(n),a=this.props.sizeRef.current;a.height=parseFloat(i.height),a.width=parseFloat(i.width),a.top=n.offsetTop,a.left=n.offsetLeft,a.right=s-a.width-a.left,a.bottom=o-a.height-a.top}return null}componentDidUpdate(){}render(){return this.props.children}}function w9({children:e,isPresent:t,anchorX:n,anchorY:r,root:s,pop:o}){var h;const i=b.useId(),a=b.useRef(null),l=b.useRef({width:0,height:0,top:0,left:0,right:0,bottom:0}),{nonce:c}=b.useContext(Sc),d=((h=e.props)==null?void 0:h.ref)??(e==null?void 0:e.ref),f=v9(a,d);return b.useInsertionEffect(()=>{const{width:p,height:v,top:y,left:w,right:m,bottom:g}=l.current;if(t||o===!1||!a.current||!p||!v)return;const x=n==="left"?`left: ${w}`:`right: ${m}`,S=r==="bottom"?`bottom: ${g}`:`top: ${y}`;a.current.dataset.motionPopId=i;const C=document.createElement("style");c&&(C.nonce=c);const E=s??document.head;return E.appendChild(C),C.sheet&&C.sheet.insertRule(`
134          [data-motion-pop-id="${i}"] {
135            position: absolute !important;
136            width: ${p}px !important;
137            height: ${v}px !important;
138            ${x}px !important;
139            ${S}px !important;
140          }
141        `),()=>{var k;(k=a.current)==null||k.removeAttribute("data-motion-pop-id"),E.contains(C)&&E.removeChild(C)}},[t]),u.jsx(x9,{isPresent:t,childRef:a,sizeRef:l,pop:o,children:o===!1?e:b.cloneElement(e,{ref:f})})}const b9=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:s,presenceAffectsLayout:o,mode:i,anchorX:a,anchorY:l,root:c})=>{const d=Ar(S9),f=b.useId();let h=!0,p=b.useMemo(()=>(h=!1,{id:f,initial:t,isPresent:n,custom:s,onExitComplete:v=>{d.set(v,!0);for(const y of d.values())if(!y)return;r&&r()},register:v=>(d.set(v,!1),()=>d.delete(v))}),[n,d,r]);return o&&h&&(p={...p}),b.useMemo(()=>{d.forEach((v,y)=>d.set(y,!1))},[n]),b.useEffect(()=>{!n&&!d.size&&r&&r()},[n]),e=u.jsx(w9,{pop:i==="popLayout",isPresent:n,anchorX:a,anchorY:l,root:c,children:e}),u.jsx(yc.Provider,{value:p,children:e})};function S9(){return new Map}function yw(e=!0){const t=b.useContext(yc);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:r,register:s}=t,o=b.useId();b.useEffect(()=>{if(e)return s(o)},[e]);const i=b.useCallback(()=>e&&r&&r(o),[o,r,e]);return!n&&r?[!1,i]:[!0]}const Ca=e=>e.key||"";function ig(e){const t=[];
vendor: 1,065 bytes, line 141
141return b.Children.forEach(e,n=>{b.isValidElement(n)&&t.push(n)}),t}const xo=({children:e,custom:t,initial:n=!0,onExitComplete:r,presenceAffectsLayout:s=!0,mode:o="sync",propagate:i=!1,anchorX:a="left",anchorY:l="top",root:c})=>{const[d,f]=yw(i),h=b.useMemo(()=>ig(e),[e]),p=i&&!d?[]:h.map(Ca),v=b.useRef(!0),y=b.useRef(h),w=Ar(()=>new Map),m=b.useRef(new Set),[g,x]=b.useState(h),[S,C]=b.useState(h);gc(()=>{v.current=!1,y.current=h;for(let T=0;T<S.length;T++){const N=Ca(S[T]);p.includes(N)?(w.delete(N),m.current.delete(N)):w.get(N)!==!0&&w.set(N,!1)}},[S,p.length,p.join("-")]);const E=[];if(h!==g){let T=[...h];for(let N=0;N<S.length;N++){const P=S[N],R=Ca(P);p.includes(R)||(T.splice(N,0,P),E.push(P))}return o==="wait"&&E.length&&(T=E),C(ig(T)),x(h),null}const{forceRender:k}=b.useContext(Ph);return u.jsx(u.Fragment,{children:S.map(T=>{const N=Ca(T),P=i&&!d?!1:h===S||p.includes(N),R=()=>{if(m.current.has(N))return;if(w.has(N))m.current.add(N),w.set(N,!0);else return;let L=!0;w.forEach(W=>{W||(L=!1)}),L&&(k==null||k(),C(y.current),i&&(f==null||f()),r&&r()
vendor: 6,660 bytes, line 141
141)};return u.jsx(b9,{isPresent:P,initial:!v.current||n?void 0:!1,custom:t,presenceAffectsLayout:s,mode:o,root:c,onExitComplete:P?void 0:R,anchorX:a,anchorY:l,children:T},N)})})},vw=b.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 C9(){if(lg)return;const e={};for(const t in ag)e[t]={isEnabled:n=>ag[t].some(r=>!!n[r])};Kx(e),lg=!0}function xw(){return C9(),ak()}function E9(e){const t=xw();for(const n in e)t[n]={...t[n],...e[n]};Kx(t)}const k9=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 Fl(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||k9.has(e)}let ww=e=>!Fl(e);function T9(e){typeof e=="function"&&(ww=t=>t.startsWith("on")?!Fl(t):e(t))}try{T9(require("@emotion/is-prop-valid").default)}catch{}function P9(e,t,n){const r={};for(const s in e)s==="values"&&typeof e.values=="object"||_e(e[s])||(ww(s)||n===!0&&Fl(s)||!t&&!Fl(s)||e.draggable&&s.startsWith("onDrag"))&&(r[s]=e[s]);return r}const Cc=b.createContext({});function j9(e,t){if(bc(e)){const{initial:n,animate:r}=e;return{initial:n===!1||Ti(n)?n:void 0,animate:Ti(r)?r:void 0}}return e.inherit!==!1?t:{}}function N9(e){const{initial:t,animate:n}=j9(e,b.useContext(Cc));return b.useMemo(()=>({initial:t,animate:n}),[cg(t),cg(n)])}function cg(e){return Array.isArray(e)?e.join(" "):e}const tp=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function bw(e,t,n){for(const r in t)!_e(t[r])&&!ew(r,n)&&(e[r]=t[r])}function A9({transformTemplate:e},t){return b.useMemo(()=>{const n=tp();return Jh(n,t,e),Object.assign({},n.vars,n.style)},[t])}function M9(e,t){const n=e.style||{},r={};return bw(r,n,e),Object.assign(r,A9(e,t)),r}function R9(e,t){const n={},r=M9(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 Sw=()=>({...tp(),attrs:{}});function L9(e,t,n,r){const s=b.useMemo(()=>{const o=Sw();return tw(o,t,rw(r),e.transformTemplate,e.style),{...o.attrs,style:{...o.style}}},[t]);if(e.style){const o={};bw(o,e.style,e),s.style={...o,...s.style}}return s}const I9=["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 np(e){return typeof e!="string"||e.includes("-")?!1:!!(I9.indexOf(e)>-1||/[A-Z]/u.test(e))}function D9(e,t,n,{latestValues:r},s,o=!1,i){const l=(i??np(e)?L9:R9)(t,r,s,e),c=P9(t,typeof e=="string",o),d=e!==b.Fragment?{...c,...l,ref:n}:{},{children:f}=t,h=b.useMemo(()=>_e(f)?f.get():f,[f]);return b.createElement(e,{...d,children:h})}function O9({scrapeMotionValuesFromProps:e,createRenderState:t},n,r,s){return{latestValues:F9(n,r,s,e),renderState:t()}}function F9(e,t,n,r){const s={},o=r(e,{});for(const h in o)s[h]=Qa(o[h]);let{initial:i,animate:a}=e;const l=bc(e),c=Wx(e);t&&c&&!l&&e.inherit!==!1&&(i===void 0&&(i=t.initial),a===void 0&&(a=t.animate));let d=n?n.initial===!1:!1;d=d||i===!1;const f=d?a:i;if(f&&typeof f!="boolean"&&!wc(f)){const h=Array.isArray(f)?f:[f];for(let p=0;p<h.length;p++){const v=Wh(e,h[p]);if(v){const{transitionEnd:y,transition:w,...m}=v;for(const g in m){let x=m[g];if(Array.isArray(x)){const S=d?x.length-1:0;x=x[S]}x!==null&&(s[g]=x)}for(const g in y)s[g]=y[g]}}}return s}const Cw=e=>(t,n)=>{const r=b.useContext(Cc),s=b.useContext(yc),o=()=>O9(e,t,r,s);return n?o():Ar(o)},V9=Cw({scrapeMotionValuesFromProps:ep,createRenderState:tp}),B9=Cw({scrapeMotionValuesFromProps:sw,createRenderState:Sw}),_9=Symbol.for("motionComponentSymbol");function z9(e,t,n){const r=b.useRef(n);b.useInsertionEffect(()=>{r.current=n});const s=b.useRef(null);return b.useCallback(o=>{var a;o&&((a=e.onMount)==null||a.call(e,o));const i=r.current;if(typeof i=="function")if(o){const l=i(o);typeof l=="function"&&(s.current=l)}else s.current?(s.current(),s.current=null):i(o);else i&&(i.current=o);t&&(o?t.mount(o):t.unmount())},[t])}const Ew=b.createContext({});function xs(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function $9(e,t,n,r,s,o){var x,S;const{visualElement:i}=b.useContext(Cc),a=b.useContext(vw),l=b.useContext(yc),c=b.useContext(Sc),d=c.reducedMotion,f=c.skipAnimations,h=b.useRef(null),p=b.useRef(!1);r=r||a.renderer,!h.current&&r&&(h.current=r(e,{visualState:t,parent:i,props:n,presenceContext:l,blockInitialAnimation:l?l.initial===!1:!1,reducedMotionConfig:d,skipAnimations:f,isSVG:o}),p.current&&h.current&&(h.current.manuallyAnimateOnMount=!0));const v=h.current,y=b.useContext(Ew);v&&!v.projection&&s&&(v.type==="html"||v.type==="svg")&&U9(h.current,n,s,y);const w=b.useRef(!1);b.useInsertionEffect(()=>{v&&w.current&&v.update(n,l)});const m=n[Mx],g=b.useRef(!!m&&typeof window<"u"&&!((x=window.MotionHandoffIsComplete)!=null&&x.call(window,m))&&((S=window.MotionHasOptimisedAnimation)==null?void 0:S.call(window,m)));return gc(()=>{p.current=!0,v&&(w.current=!0,window.MotionIsMounted=!0,v.updateFeatures(),v.scheduleRenderMicrotask(),g.current&&v.animationState&&v.animationState.animateChanges())}),b.useEffect(()=>{v&&(!g.current&&v.animationState&&v.animationState.animateChanges(),g.current&&(queueMicrotask(()=>{var C;(C=window.MotionHandoffMarkAsComplete)==null||C.call(window,m)}),g.current=!1),v.enteringChildren=void 0)}),v}function U9(e,t,n,r){const{layoutId:s,layout:o,drag:i,dragConstraints:a,layoutScroll:l,layoutRoot:c,layoutAnchor:d,layoutCrossfade:f}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:kw(e.parent)),e.projection.setOptions({layoutId:s,layout:o,alwaysMeasureLayout:!!i||a&&xs(a),visualElement:e,animationType:typeof o=="str
141ing"?o:"both",initialPromotionConfig:r,crossfade:f,layoutScroll:l,layoutRoot:c,layoutAnchor:d})}function kw(e){if(e)return e.options.allowProjection!==!1?e.projection:kw(e.parent)}function Su(e,{forwardMotionProps:t=!1,type:n}={},r,s){r&&E9(r);const o=n?n==="svg":np(e),i=o?B9:V9;function a(c,d){let f;const h={...b.useContext(Sc),...c,layoutId:H9(c)},{isStatic:p}=h,v=N9(c),y=i(c,p);if(!p&&typeof window<"u"){W9();const w=G9(h);f=w.MeasureLayout,v.visualElement=$9(e,y,h,s,w.ProjectionNode,o)}return u.jsxs(Cc.Provider,{value:v,children:[f&&v.visualElement?u.jsx(f,{visualElement:v.visualElement,...h}):null,D9(e,c,z9(y,v.visualElement,d),y,p,t,o)]})}a.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;const l=b.forwardRef(a);return l[_9]=e,l}function H9({layoutId:e}){const t=b.useContext(Ph).id;return t&&e!==void 0?t+"-"+e:e}function W9(e,t){b.useContext(vw).strict}function G9(e){const t=xw(),{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 K9(e,t){if(typeof Proxy>"u")return Su;const n=new Map,r=(o,i)=>Su(o,i,e,t),s=(o,i)=>r(o,i);return new Proxy(s,{get:(o,i)=>i==="create"?r:(n.has(i)||n.set(i,Su(i,void 0,e,t)),n.get(i))})}const Q9=(e,t)=>t.isSVG??np(e)?new Ek(t):new vk(t,{allowProjection:e!==b.Fragment});class Y9 extends Or{constructor(t){super(t),t.animationState||(t.animationState=Nk(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();wc(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 q9=0;class X9 extends Or{constructor(){super(...arguments),this.id=q9++,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:i,custom:a}=this.node.getProps();if(typeof i=="string"){const l=ns(this.node,i,a);if(l){const{transition:c,transitionEnd:d,...f}=l;for(const h in f)(o=this.node.getValue(h))==null||o.jump(f[h])}}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 Z9={animation:{Feature:Y9},exit:{Feature:X9}};function Wi(e){return{point:{x:e.pageX,y:e.pageY}}}const J9=e=>t=>Yh(t)&&e(t,Wi(t));function ni(e,t,n,r){return Pi(e,t,J9(n),r)}const Tw=({current:e})=>e?e.ownerDocument.defaultView:null,ug=(e,t)=>Math.abs(e-t);function eT(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 Pw{constructor(t,n,{transformPagePoint:r,contextWindow:s=window,dragSnapToOrigin:o=!1,distanceThreshold:i=3,element:a}={}){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=p=>{this.handleScroll(p.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=Ea(this.lastRawMoveEventInfo,this.transformPagePoint));const p=Cu(this.lastMoveEventInfo,this.history),v=this.startEvent!==null,y=eT(p.offset,{x:0,y:0})>=this.distanceThreshold;if(!v&&!y)return;const{point:w}=p,{timestamp:m}=Oe;this.history.push({...w,timestamp:m});const{onStart:g,onMove:x}=this.handlers;v||(g&&g(this.lastMoveEvent,p),this.startEvent=this.lastMoveEvent),x&&x(this.lastMoveEvent,p)},this.handlePointerMove=(p,v)=>{this.lastMoveEvent=p,this.lastRawMoveEventInfo=v,this.lastMoveEventInfo=Ea(v,this.transformPagePoint),re.update(this.updatePoint,!0)},this.handlePointerUp=(p,v)=>{this.end();const{onEnd:y,onSessionEnd:w,resumeAnimation:m}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&m&&m(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const g=Cu(p.type==="pointercancel"?this.lastMoveEventInfo:Ea(v,this.transformPagePoint),this.history);this.startEvent&&y&&y(p,g),w&&w(p,g)},!Yh(t))return;this.dragSnapToOrigin=o,this.handlers=n,this.transformPagePoint=r,this.distanceThreshold=i,this.contextWindow=s||window;const l=Wi(t),c=Ea(l,this.transformPagePoint),{point:d}=c,{timestamp:f}=Oe;this.history=[{...d,timestamp:f}];const{onSessionStart:h}=n;h&&h(t,Cu(c,this.history)),this.removeListeners=$i(ni(this.contextWindow,"pointermove",this.handlePointerMove),ni(this.contextWindow,"pointerup",this.handlePointerUp),ni(this.contextWindow,"pointercancel",this.handlePointerUp)),a&&this.startScrollTracking(a)}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),re.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),Ot(this.updatePoint)}}function Ea(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 Cu({point:e},t){return{point:e,delta:fg(e,jw(t)),offset:fg(e,tT(t)),velocity:nT(t,.1)}}function tT(e){return e[0]}function jw(e){return e[e.length-1]}function nT(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const s=jw(e);for(;n>=0&&(r=e[n],!(s.timestamp-r.timestamp>pt(t)));)n--;if(!r)return{x:0,y:0};r===e[0]&&e.length>2&&s.timestamp-r.timestamp>pt(t)*2&&(r=e[1]);const o=Rt(s.timestamp-r.timestamp);if(o===0)return{x:0,y:0};const i={x:(s.x-r.x)/o,y:(s.y-r.y)/o};return i.x===1/0&&(i.x=0),i.y===1/0&&(i.y=0),i}function rT(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 hg(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 sT(e,{top:t,left:n,bottom:r,right:s}){return{x:hg(e.x,n,s),y:hg(e.y,t,r)}}function pg(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 oT(e,t){return{x:pg(e.x,t.x),y:pg(e.y,t.y)}}function iT(e,t){let n=.5;const r=tt(e),s=tt(t);return s>r?n=ao(t.min,t.max-r,e.min):r>s&&(n=ao(e.min,e.max-s,t.min)),un(0,1,n)}function aT(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 cf=.35;function lT(e=cf){return e===!1?e=0:e===!0&&(e=cf),{x:mg(e,"left","right"),y:mg(e,"top","bottom")}}function mg(e,t,n){return{min:gg(e,t),max:gg(e,n)}}function gg(e,t){return typeof e=="number"?e:e[t]||0}const cT=new WeakMap;class uT{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=Me(),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=f=>{n&&this.snapToCursor(Wi(f).point),this.stopAnimation()},i=(f,h)=>{const{drag:p,dragPropagation:v,onDragStart:y}=this.getProps();if(p&&!v&&(this.openDragLock&&this.openDragLock(),this.openDragLock=OE(p),!this.openDragLock))return;this.latestPointerEvent=f,this.latestPanInfo=h,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),mn(m=>{let g=this.getAxisMotionValue(m).get()||0;if(kn.test(g)){const{projection:x}=this.visualElement;if(x&&x.layout){const S=x.layout.layoutBox[m];S&&(g=tt(S)*(parseFloat(g)/100))}}this.originPoint[m]=g}),y&&re.update(()=>y(f,h),!1,!0),Zd(this.visualElement,"transform");const{animationState:w}=this.visualElement;w&&w.setActive("whileDrag",!0)},a=(f,h)=>{this.latestPointerEvent=f,this.latestPanInfo=h;const{dragPropagation:p,dragDirectionLock:v,onDirectionLock:y,onDrag:w}=this.getProps();if(!p&&!this.openDragLock)return;const{offset:m}=h;if(v&&this.currentDirection===null){this.currentDirection=fT(m),this.currentDirection!==null&&y&&y(this.currentDirection);return}this.updateAxis("x",h.point,m),this.updateAxis("y",h.point,m),this.visualElement.render(),w&&re.update(()=>w(f,h),!1,!0)},l=(f,h)=>{this.latestPointerEvent=f,this.latestPanInfo=h,this.stop(f,h),this.latestPointerEvent=null,this.latestPanInfo=null},c=()=>{const{dragSnapToOrigin:f}=this.getProps();(f||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:d}=this.getProps();this.panSession=new Pw(t,{onSessionStart:o,onStart:i,onMove:a,onSessionEnd:l,resumeAnimation:c},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:d,distanceThreshold:r,contextWindow:Tw(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:i}=s;this.startAnimation(i);const{onDragEnd:a}=this.getProps();a&&re.postRender(()=>a(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||!ka(t,s,this.currentDirection))return;const o=this.getAxisMotionValue(t);let i=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(i=rT(i,this.constraints[t],this.elastic[t])),o.set(i)}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&&xs(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&r?this.constraints=sT(r.layoutBox,t):this.constraints=!1,this.elastic=lT(n),s!==this.constraints&&!xs(t)&&r&&this.constraints&&!this.hasMutatedConstraints&&mn(i=>{this.constraints!==!1&&this.getAxisMotionValue(i)&&(this.constraints[i]=aT(r.layoutBox[i],this.constraints[i]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!xs(t))return!1;const r=t.current;Mr(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=fk(r,s.root,this.visualElement.getTransformPagePoint());let i=oT(s.layout.layoutBox,o);if(n){const a=n(ck(i));this.hasMutatedConstraints=!!a,a&&(i=Yx(a))}return i}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:s,dragTransition:o,dragSnapToOrigin:i,onDragTransitionEnd:a}=this.getProps(),l=this.constraints||{}
vendor: 7,280 bytes, line 141
141,c=mn(d=>{if(!ka(d,n,this.currentDirection))return;let f=l&&l[d]||{};(i===!0||i===d)&&(f={min:0,max:0});const h=s?200:1e6,p=s?40:1e7,v={type:"inertia",velocity:r?t[d]:0,bounceStiffness:h,bounceDamping:p,timeConstant:750,restDelta:1,restSpeed:10,...o,...f};return this.startAxisValueAnimation(d,v)});return Promise.all(c).then(a)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return Zd(this.visualElement,t),r.start(Hh(t,r,0,n,this.visualElement,!1))}stopAnimation(){mn(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){mn(n=>{const{drag:r}=this.getProps();if(!ka(n,r,this.currentDirection))return;const{projection:s}=this.visualElement,o=this.getAxisMotionValue(n);if(s&&s.layout){const{min:i,max:a}=s.layout.layoutBox[n],l=o.get()||0;o.set(t[n]-pe(i,a,.5)+l)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!xs(n)||!r||!this.constraints)return;this.stopAnimation();const s={x:0,y:0};mn(i=>{const a=this.getAxisMotionValue(i);if(a&&this.constraints!==!1){const l=a.get();s[i]=iT({min:l,max:l},this.constraints[i])}});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(),mn(i=>{if(!ka(i,t,null))return;const a=this.getAxisMotionValue(i),{min:l,max:c}=this.constraints[i];a.set(pe(l,c,s[i]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;cT.set(this.visualElement,this);const t=this.visualElement.current,n=ni(t,"pointerdown",c=>{const{drag:d,dragListener:f=!0}=this.getProps(),h=c.target,p=h!==t&&$E(h);d&&f&&!p&&this.start(c)});let r;const s=()=>{const{dragConstraints:c}=this.getProps();xs(c)&&c.current&&(this.constraints=this.resolveRefConstraints(),r||(r=dT(t,c.current,()=>this.scalePositionWithinConstraints())))},{projection:o}=this.visualElement,i=o.addEventListener("measure",s);o&&!o.layout&&(o.root&&o.root.updateScroll(),o.updateLayout()),re.read(s);const a=Pi(window,"resize",()=>this.scalePositionWithinConstraints()),l=o.addEventListener("didUpdate",({delta:c,hasLayoutChanged:d})=>{this.isDragging&&d&&(mn(f=>{const h=this.getAxisMotionValue(f);h&&(this.originPoint[f]+=c[f].translate,h.set(h.get()+c[f].translate))}),this.visualElement.render())});return()=>{a(),n(),i(),l&&l(),r&&r()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:s=!1,dragConstraints:o=!1,dragElastic:i=cf,dragMomentum:a=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:s,dragConstraints:o,dragElastic:i,dragMomentum:a}}}function yg(e){let t=!0;return()=>{if(t){t=!1;return}e()}}function dT(e,t,n){const r=nf(e,yg(n)),s=nf(t,yg(n));return()=>{r(),s()}}function ka(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function fT(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class hT extends Or{constructor(t){super(t),this.removeGroupControls=ht,this.removeListeners=ht,this.controls=new uT(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||ht}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 Eu=e=>(t,n)=>{e&&re.update(()=>e(t,n),!1,!0)};class pT extends Or{constructor(){super(...arguments),this.removePointerDownListener=ht}onPointerDown(t){this.session=new Pw(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Tw(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:s}=this.node.getProps();return{onSessionStart:Eu(t),onStart:Eu(n),onMove:Eu(r),onEnd:(o,i)=>{delete this.session,s&&re.postRender(()=>s(o,i))}}}mount(){this.removePointerDownListener=ni(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 ku=!1;class mT extends b.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),ku&&o.root.didUpdate(),o.addEventListener("animationComplete",()=>{this.safeToRemove()}),o.setOptions({...o.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),Ya.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:s,isPresent:o}=this.props,{projection:i}=r;return i&&(i.isPresent=o,t.layoutDependency!==n&&i.setOptions({...i.options,layoutDependency:n}),ku=!0,s||t.layoutDependency!==n||n===void 0||t.isPresent!==o?i.willUpdate():this.safeToRemove(),t.isPresent!==o&&(o?i.promote():i.relegate()||re.postRender(()=>{const a=i.getStack();(!a||!a.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{visualElement:t,layoutAnchor:n}=this.props,{projection:r}=t;r&&(r.options.layoutAnchor=n,r.root.didUpdate(),Qh.postRender(()=>{!r.currentAnimation&&r.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:s}=t;ku=!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}}function Nw(e){const[t,n]=yw(),r=b.useContext(Ph);return u.jsx(mT,{...e,layoutGroup:r,switchLayoutGroup:b.useContext(Ew),isPresent:t,safeToRemove:n})}const gT={pan:{Feature:pT},drag:{Feature:hT,ProjectionNode:gw,MeasureLayout:Nw}};function vg(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&&re.postRender(()=>o(t,Wi(t)))}class yT extends Or{mount(){const{current:t}=this.node;t&&(this.unmount=VE(t,(n,r)=>(vg(this.node,r,"Start"),s=>vg(this.node,s,"End"))))}unmount(){}}class vT extends Or{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=$i(Pi(this.node.current,"focus",()=>this.onFocus()),Pi(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function xg(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&&re.postRender(()=>o(t,Wi(t)))}class xT extends Or{mount(){const{current:t}=this.node;if(!t)return;
141const{globalTapTarget:n,propagate:r}=this.node.props;this.unmount=HE(t,(s,o)=>(xg(this.node,o,"Start"),(i,{success:a})=>xg(this.node,i,a?"End":"Cancel")),{useGlobalTarget:n,stopPropagation:(r==null?void 0:r.tap)===!1})}unmount(){}}const uf=new WeakMap,Tu=new WeakMap,wT=e=>{const t=uf.get(e.target);t&&t(e)},bT=e=>{e.forEach(wT)};function ST({root:e,...t}){const n=e||document;Tu.has(n)||Tu.set(n,{});const r=Tu.get(n),s=JSON.stringify(t);return r[s]||(r[s]=new IntersectionObserver(bT,{root:e,...t})),r[s]}function CT(e,t,n){const r=ST(t);return uf.set(e,n),r.observe(e),()=>{uf.delete(e),r.unobserve(e)}}const ET={some:0,all:1};class kT extends Or{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var l;(l=this.stopObserver)==null||l.call(this);const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:s="some",once:o}=t,i={root:n?n.current:void 0,rootMargin:r,threshold:typeof s=="number"?s:ET[s]},a=c=>{const{isIntersecting:d}=c;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:f,onViewportLeave:h}=this.node.getProps(),p=d?f:h;p&&p(c)};this.stopObserver=CT(this.node.current,i,a)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(TT(t,n))&&this.startObserver()}unmount(){var t;(t=this.stopObserver)==null||t.call(this),this.hasEnteredView=!1,this.isInView=!1}}function TT({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const PT={inView:{Feature:kT},tap:{Feature:xT},focus:{Feature:vT},hover:{Feature:yT}},jT={layout:{ProjectionNode:gw,MeasureLayout:Nw}},NT={...Z9,...PT,...gT,...jT},$=K9(NT,Q9);function Vl(e){return typeof window>"u"?!1:e?wx():$h()}const AT=50,wg=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}),MT=()=>({time:0,x:wg(),y:wg()}),RT={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function bg(e,t,n,r){const s=n[t],{length:o,position:i}=RT[t],a=s.current,l=n.time;s.current=Math.abs(e[`scroll${i}`]),s.scrollLength=e[`scroll${o}`]-e[`client${o}`],s.offset.length=0,s.offset[0]=0,s.offset[1]=s.scrollLength,s.progress=ao(0,s.scrollLength,s.current);const c=r-l;s.velocity=c>AT?0:Ah(s.current-a,c)}function LT(e,t,n){bg(e,"x",t,n),bg(e,"y",t,n),t.time=n}function IT(e,t){const n={x:0,y:0};let r=e;for(;r&&r!==t;)if(ei(r))n.x+=r.offsetLeft,n.y+=r.offsetTop,r=r.offsetParent;else if(r.tagName==="svg"){const s=r.getBoundingClientRect();r=r.parentElement;const o=r.getBoundingClientRect();n.x+=s.left-o.left,n.y+=s.top-o.top}else if(r instanceof SVGGraphicsElement){const{x:s,y:o}=r.getBBox();n.x+=s,n.y+=o;let i=null,a=r.parentNode;for(;!i;)a.tagName==="svg"&&(i=a),a=r.parentNode;r=i}else break;return n}const df={start:0,center:.5,end:1};function Sg(e,t,n=0){let r=0;if(e in df&&(e=df[e]),typeof e=="string"){const s=parseFloat(e);e.endsWith("px")?r=s:e.endsWith("%")?e=s/100:e.endsWith("vw")?r=s/100*document.documentElement.clientWidth:e.endsWith("vh")?r=s/100*document.documentElement.clientHeight:e=s}return typeof e=="number"&&(r=t*e),n+r}const DT=[0,0];function OT(e,t,n,r){let s=Array.isArray(e)?e:DT,o=0,i=0;return typeof e=="number"?s=[e,e]:typeof e=="string"&&(e=e.trim(),e.includes(" ")?s=e.split(" "):s=[e,df[e]?e:"0"]),o=Sg(s[0],n,r),i=Sg(s[1],t),o-i}const Bo={Enter:[[0,1],[1,1]],Exit:[[0,0],[1,0]],Any:[[1,0],[0,1]],All:[[0,0],[1,1]]},FT={x:0,y:0};function VT(e){return"getBBox"in e&&e.tagName!=="svg"?e.getBBox():{width:e.clientWidth,height:e.clientHeight}}function BT(e,t,n){const{offset:r=Bo.All}=n,{target:s=e,axis:o="y"}=n,i=o==="y"?"height":"width",a=s!==e?IT(s,e):FT,l=s===e?{width:e.scrollWidth,height:e.scrollHeight}:VT(s),c={width:e.clientWidth,height:e.clientHeight};t[o].offset.length=0;let d=!t[o].interpolate;const f=r.length;for(let h=0;h<f;h++){const p=OT(r[h],c[i],l[i],a[o]);!d&&p!==t[o].interpolatorOffsets[h]&&(d=!0),t[o].offset[h]=p}d&&(t[o].interpolate=Vh(t[o].offset,mx(r),{clamp:!1}
141),t[o].interpolatorOffsets=[...t[o].offset]),t[o].progress=un(0,1,t[o].interpolate(t[o].current))}function _T(e,t=e,n){if(n.x.targetOffset=0,n.y.targetOffset=0,t!==e){let r=t;for(;r&&r!==e;)n.x.targetOffset+=r.offsetLeft,n.y.targetOffset+=r.offsetTop,r=r.offsetParent}n.x.targetLength=t===e?t.scrollWidth:t.clientWidth,n.y.targetLength=t===e?t.scrollHeight:t.clientHeight,n.x.containerLength=e.clientWidth,n.y.containerLength=e.clientHeight}function zT(e,t,n,r={}){return{measure:s=>{_T(e,r.target,n),LT(e,n,s),(r.offset||r.target)&&BT(e,n,r)},notify:()=>t(n)}}const gs=new WeakMap,Cg=new WeakMap,Pu=new WeakMap,Eg=new WeakMap,Ta=new WeakMap,kg=e=>e===document.scrollingElement?window:e;function Aw(e,{container:t=document.scrollingElement,trackContentSize:n=!1,...r}={}){if(!t)return ht;let s=Pu.get(t);s||(s=new Set,Pu.set(t,s));const o=MT(),i=zT(t,e,o,r);if(s.add(i),!gs.has(t)){const l=()=>{for(const h of s)h.measure(Oe.timestamp);re.preUpdate(c)},c=()=>{for(const h of s)h.notify()},d=()=>re.read(l);gs.set(t,d);const f=kg(t);window.addEventListener("resize",d),t!==document.documentElement&&Cg.set(t,nf(t,d)),f.addEventListener("scroll",d),d()}if(n&&!Ta.has(t)){const l=gs.get(t),c={width:t.scrollWidth,height:t.scrollHeight};Eg.set(t,c);const d=()=>{const h=t.scrollWidth,p=t.scrollHeight;(c.width!==h||c.height!==p)&&(l(),c.width=h,c.height=p)},f=re.read(d,!0);Ta.set(t,f)}const a=gs.get(t);return re.read(a,!1,!0),()=>{var f;Ot(a);const l=Pu.get(t);if(!l||(l.delete(i),l.size))return;const c=gs.get(t);gs.delete(t),c&&(kg(t).removeEventListener("scroll",c),(f=Cg.get(t))==null||f(),window.removeEventListener("resize",c));const d=Ta.get(t);d&&(Ot(d),Ta.delete(t)),Eg.delete(t)}}const $T=[[Bo.Enter,"entry"],[Bo.Exit,"exit"],[Bo.Any,"cover"],[Bo.All,"contain"]],Tg={start:0,end:1};function UT(e){const t=e.trim().split(/\s+/);if(t.length!==2)return;const n=Tg[t[0]],r=Tg[t[1]];if(!(n===void 0||r===void 0))return[n,r]}function HT(e){if(e.length!==2)return;const t=[];for(const n of e)if(Array.isArray(n))t.push(n);else if(typeof n=="string"){const r=UT(n);if(!r)return;t.push(r)}else return;return t}function WT(e,t){const n=HT(e);if(!n)return!1;for(let r=0;r<2;r++){const s=n[r],o=t[r];if(s[0]!==o[0]||s[1]!==o[1])return!1}return!0}function rp(e){if(!e)return{rangeStart:"contain 0%",rangeEnd:"contain 100%"};for(const[t,n]of $T)if(WT(e,t))return{rangeStart:`${n} 0%`,rangeEnd:`${n} 100%`}}const Pg=new Map;function jg(e){const t={value:0},n=Aw(r=>
141{t.value=r[e.axis].progress*100},e);return{currentTime:t,cancel:n}}function Mw({source:e,container:t,...n}){const{axis:r}=n;e&&(t=e);let s=Pg.get(t);s||(s=new Map,Pg.set(t,s));const o=n.target??"self";let i=s.get(o);i||(i={},s.set(o,i));const a=r+(n.offset??[]).join(",");return i[a]||(n.target&&Vl(n.target)?rp(n.offset)?i[a]=new ViewTimeline({subject:n.target,axis:r}):i[a]=jg({container:t,...n}):Vl()?i[a]=new ScrollTimeline({source:t,axis:r}):i[a]=jg({container:t,...n})),i[a]}function GT(e,t){const n=Mw(t),r=t.target?rp(t.offset):void 0,s=t.target?Vl(t.target)&&!!r:Vl();return e.attachTimeline({timeline:s?n:void 0,...r&&s&&{rangeStart:r.rangeStart,rangeEnd:r.rangeEnd},observe:o=>(o.pause(),Hx(i=>{o.time=o.iterationDuration*i},n))})}function KT(e){return e.length===2}function QT(e,t){return KT(e)?Aw(n=>{e(n[t.axis].progress,n)},t):Hx(e,Mw(t))}function Rw(e,{axis:t="y",container:n=document.scrollingElement,...r}={}){if(!n)return ht;const s={axis:t,container:n,...r};return typeof e=="function"?QT(e,s):GT(e,s)}const YT=()=>({scrollX:en(0),scrollY:en(0),scrollXProgress:en(0),scrollYProgress:en(0)}),Pa=e=>e?!e.current:!1;function Ng(e,t,n,r){return{factory:s=>Rw(s,{...t,axis:e,container:(n==null?void 0:n.current)||void 0,target:(r==null?void 0:r.current)||void 0}),times:[0,1],keyframes:[0,1],ease:s=>s,duration:1}}function qT(e,t){return typeof window>"u"?!1:e?wx()&&!!rp(t):$h()}function XT({container:e,target:t,...n}={}){const r=Ar(YT);qT(t,n.offset)&&(r.scrollXProgress.accelerate=Ng("x",n,e,t),r.scrollYProgress.accelerate=Ng("y",n,e,t));const s=b.useRef(null),o=b.useRef(!1),i=b.useCallback(()=>(s.current=Rw((a,{x:l,y:c})=>{r.scrollX.set(l.current),r.scrollXProgress.set(l.progress),r.scrollY.set(c.current),r.scrollYProgress.set(c.progress)},{...n,container:(e==null?void 0:e.current)||void 0,target:(t==null?void 0:t.current)||void 0}),()=>{var a;(a=s.current)==null||a.call(s)}),[e,t,JSON.stringify(n.offset)]);return gc(()=>{if(o.current=!1,Pa(e)||Pa(t)){o.current=!0;return}else return i()},[i]),b.useEffect(()=>{if(o.current)return Mr(!Pa(e),"Container ref is defined but not hydrated","use-scroll-ref"),Mr(!Pa(t),"Target ref is defined but not hydrated","use-scroll-ref"),i()},[i]),r}function ZT(e){const t=Ar(()=>en(e)),{isStatic:n}=b.useContext(Sc);if(n){const[,r]=b.useState(e);b.useEffect(()=>t.on("change",r),[])}return t}function Lw(e,t){const n=ZT(t()),r=()=>n.set(t());return r(),gc(()=>{const s=()=>re.preRender(r,!1,!0),o=e.map(i=>i.on("change",s));return()=>{o.forEach(i=>i()),Ot(r)}}),n}function JT(e){Jo.current=[],e();const t=Lw(Jo.current,e);return Jo.current=void 0,t}function Iw(e,t,n,r){if(typeof e=="function")return JT(e);if(n!==void 0&&!Array.isArray(n)&&typeof t!="function")return eP(e,t,n,r);const i=typeof t=="function"?t:ek(t,n,r),a=Array.isArray(e)?Ag(e,i):Ag([e],([c])=>i(c)),l=Array.isArray(e)?void 0:e.accelerate;return l&&!l.isTransformed&&typeof t!="function"&&Array.isArray(n)&&(r==null?void 0:r.clamp)!==!1&&(a.accelerate={...l,times:t,keyframes:n,isTransformed:!0}),a}function Ag(e,t){const n=Ar(()=>[]);return Lw(e,()=>{n.length=0;const r=e.length;for(let s=0;s<r;s++)n[s]=e[s].get();return t(n)})}function eP(e,t,n,r){const s=Ar(()=>Object.keys(n)),o=Ar(()=>({}));for(const i of s)o[i]=Iw(e,t,n[i],r);return o}const Dw="/assets/b2boost-logo-transparent-BexIecdW.png",ju=[{label:"Use cases",href:"#use-cases"},{label:"Platform",href:"#agents"},{label:"Testimonial",href:"#testimonial"},{label:"Pricing",href:"#pricing"},{label:"Resources",href:"#faq"},{label:"Company",href:"#get-started"}];function tP(){const[e,t]=b.useState(!1),[n,r]=b.useState(!1),[s,o]=b.useState("");return b.useEffect(()=>{const i=()=>{t(window.scrollY>40);const a=ju.map(c=>c.href.slice(1));let l="";for(const c of a){const d=document.getElementById(c);d&&d.getBoundingClientRect().top<=120&&(l=c)}o(l)};return window.addEventListener("scroll",i,{passive:!0}),i(),()=>window.removeEventListener("scroll",i)},[]),u.jsxs("nav",{className:`fixed top-0 left-0 right-0 z-50 transition-all duration-300 ${e?"bg-background/80 backdrop-blur-xl border-b border-border":"bg-transparent"}`,children:[u.jsxs("div",{className:"container-wide flex items-center justify-between h-16 md:h-20 px-4 md:px-8",children:[u.jsx("a",{href:"#",className:"flex items-center lg:mr-12",children:u.jsx("img",{src:Dw,alt:"B2Boost",className:"h-8 md:h-10 w-auto"})}),u.jsx("div",{className:"hidden lg:flex items-center gap-10 flex-1",children:ju.map(i=>{const a=s===i.href.slice(1);return u.jsxs("a",{href:i.href,className:`group text-[14px] font-body font-medium tracking-[0.01em] transition-colors duration-200 relative ${a?"text-foreground":"text-muted-foreground hover:text-foreground"}`,children:[i.label,u.jsx("span",{className:`absolute -bottom-1.5 left-0 h-px bg-foreground
141/70 transition-all duration-200 ${a?"w-full":"w-0 group-hover:w-full"}`})]},i.label)})}),u.jsx("div",{className:"hidden lg:block",children:u.jsxs($.a,{href:"#demo",whileHover:{y:-1},whileTap:{scale:.98},className:"inline-flex items-center gap-2 h-10 px-6 rounded-full bg-primary text-primary-foreground font-heading font-medium text-sm tracking-wide shadow-sm hover:bg-primary/90 hover:shadow-md transition-all duration-200",children:[u.jsx(El,{className:"w-4 h-4"}),"Schedule a demo"]})}),u.jsx("button",{className:"lg:hidden text-foreground",onClick:()=>r(!n),"aria-label":"Menu",children:u.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",children:n?u.jsxs(u.Fragment,{children:[u.jsx("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),u.jsx("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]}):u.jsxs(u.Fragment,{children:[u.jsx("line",{x1:"3",y1:"6",x2:"21",y2:"6"}),u.jsx("line",{x1:"3",y1:"12",x2:"21",y2:"12"}),u.jsx("line",{x1:"3",y1:"18",x2:"21",y2:"18"})]})})})]}),u.jsx(xo,{children:n&&u.jsxs($.div,{initial:{opacity:0,height:0},animate:{opacity:1,height:"auto"},exit:{opacity:0,height:0},className:"lg:hidden bg-background/95 backdrop-blur-xl border-b border-border px-4 pb-6 pt-2 overflow-hidden",children:[ju.map((i,a)=>u.jsx($.a,{href:i.href,initial:{opacity:0,x:-20},animate:{opacity:1,x:0},transition:{delay:a*.05},className:`block py-3 text-sm font-medium tracking-wide ${s===i.href.slice(1)?"text-primary":"text-muted-foreground hover:text-foreground"}`,onClick:l=>{l.preventDefault(),r(!1),setTimeout(()=>{var c;(c=document.querySelector(i.href))==null||c.scrollIntoView({behavior:"smooth"})},300)},children:i.label},i.label)),u.jsxs("a",{href:"#demo",className:"mt-4 inline-flex w-full items-center justify-center gap-2 px-6 py-3 rounded-full bg-primary text-primary-foreground font-heading font-medium text-sm",onClick:i=>{i.preventDefault(),r(!1),setTimeout(()=>{var a;(a=document.querySelector("#demo"))==null||a.scrollIntoView({behavior:"smooth"})},300)},children:[u.jsx(El,{className:"w-4 h-4"}),"Schedule a demo"]})]})})]})}const nP="/assets/hero-phone-medicore-BcOemaV9.png",Ec="/assets/ai-manager-avatar-BPVTUB-b.png",Ow="/assets/sales-person-avatar-uAquu0N8.png";function Mg({className:e="w-5 h-5"}){return u.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",className:e,children:[u.jsx("path",{d:"M12 2a3 3 0 0 0-3 3v6a3 3 0 0 0 6 0V5a3 3 0 0 0-3-3Z",fill:"currentColor"}),u.jsx("path",{d:"M19 10v1a7 7 0 0 1-14 0v-1M12 18v4m-4 0h8",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"})]})}function rP({className:e="w-5 h-5"}){return u.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",className:e,children:[u.jsx("path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),u.jsx("polyline",{points:"17,8 12,3 7,8",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),u.jsx("line",{x1:"12",y1:"3",x2:"12",y2:"15",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"})]})}function sP(){const e=b.useRef(null),{scrollYProgress:t}=XT({target:e,offset:["start start","end start"]}),n=Iw(t,[0,1],["0%","30%"]);return u.jsxs("section",{ref:e,className:"relative min-h-screen flex items-center dot-grid-bg overflow-hidden pt-20",children:[u.jsx($.div,{style:{y:n},className:"absolute top-1/3 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[600px] h-[600px] rounded-full bg-secondary/10 blur-[120px] pointer-events-none"}),u.jsx("div",{className:"container-wide px-4 md:px-8 py-16 md:py-24",children:u.jsxs("div",{className:"grid lg:grid-cols-12 gap-12 lg:gap-6 items-center",children:[u.jsxs("div",{className:"lg:col-span-7 text-center lg:text-left",children:[u.jsx($.div,{initial:{opacity:0,y:15},animate:{opacity:1,y:0},transition:{duration:.6},className:"mb-6 flex justify-center lg:justify-start",children:u.jsxs("span",{className:"inline-flex items-center gap-2 rounded-full border border-secondary/30 bg-secondary/10 px-3 sm:px-4 py-1.5 sm:py-2 font-heading font-bold text-[10px] sm:text-xs lg:text-sm uppercase tracking-widest text-secondary",children:[u.jsx("span",{className:"w-2 h-2 rounded-full bg-secondary animate-pulse"}),"Brief your agent · Upload your docs · Watch it work"]})}),u.jsxs($.h1,{initial:{opacity:0,y:30}
141,animate:{opacity:1,y:0},transition:{duration:.7,ease:"easeOut"},className:"font-heading font-bold tracking-tight text-4xl md:text-5xl lg:text-[3.4rem] mb-6 text-foreground",children:[u.jsx("span",{className:"block",children:"Secure agentic AI for B2B"}),u.jsx("span",{className:"block",children:"lead qualification"}),u.jsx("span",{className:"block",children:"and revenue outcome"})]}),u.jsx($.p,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5,delay:.3},className:"text-base text-muted-foreground font-body mb-8 max-w-md leading-relaxed md:mx-auto lg:mx-0",children:"B2Boost.ai sits on top of your CRM and uses agentic AI to score, rank, and explain your best B2B leads so you stop guessing and start closing."}),u.jsxs($.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6,delay:.5},className:"flex flex-col sm:flex-row gap-4 justify-center lg:justify-start mb-4",children:[u.jsxs($.a,{href:"#demo",whileHover:{y:-1},whileTap:{scale:.98},className:"inline-flex items-center justify-center gap-2 h-12 px-6 lg:px-8 rounded-full bg-primary text-primary-foreground font-heading font-medium text-sm lg:text-base tracking-wide whitespace-nowrap shadow-sm hover:bg-primary/90 hover:shadow-md transition-all duration-200",children:[u.jsx(El,{className:"w-4 h-4"}),"Schedule a demo"]}),u.jsxs($.a,{href:"#how-it-works",whileHover:{y:-1},whileTap:{scale:.98},className:"group inline-flex items-center justify-center gap-2 h-12 px-6 lg:px-8 rounded-full border border-foreground
141/20 text-foreground font-heading font-medium text-sm lg:text-base tracking-wide whitespace-nowrap hover:bg-foreground/5 hover:border-foreground/30 hover:shadow-md transition-all duration-200",children:["How it works",u.jsx(_i,{className:"w-4 h-4 transition-transform duration-200 group-hover:translate-x-1"})]})]}),u.jsx($.p,{initial:{opacity:0},animate:{opacity:1},transition:{delay:.65},className:"text-sm text-muted-foreground",children:"No commitment · 30 min walkthrough"})]}),u.jsx("div",{className:"lg:col-span-5 flex justify-center relative mt-4 lg:mt-0 md:pr-44 lg:pr-0",children:u.jsxs("div",{className:"relative mx-auto",children:[u.jsx($.div,{initial:{opacity:0,y:60,scale:.9},animate:{opacity:1,y:0,scale:1},transition:{duration:.8,delay:.2,ease:"easeOut"},className:"w-[320px] sm:w-[360px] md:w-[300px] lg:w-[420px] relative",children:u.jsx("img",{src:nP,alt:"B2Boost AI Manager mobile app showing MediCore Systems executive console with 87% strategy confidence",className:"w-full h-auto block"})}),u.jsxs("div",{className:"mt-8 grid grid-cols-2 gap-4 justify-items-start md:mt-0 md:absolute md:top-[6%] md:-right-44 lg:-right-24 md:flex md:flex-col md:items-start md:gap-6 lg:gap-8 z-10",children:[u.jsxs($.div,{initial:{opacity:0,x:30},animate:{opacity:1,x:0},transition:{delay:.6,type:"spring",stiffness:120,damping:14},className:"flex items-center gap-2",children:[u.jsxs("div",{className:"relative",children:[u.jsx($.img,{src:Ec,alt:"AI Manager",className:"w-14 h-14 rounded-full object-cover border-2 border-secondary shadow-lg",animate:{boxShadow:["0 0 0px hsl(174 82% 40% / 0)","0 0 20px hsl(174 82% 40% / 0.4)","0 0 0px hsl(174 82% 40% / 0)"]},transition:{duration:3,repeat:1/0}}),u.jsx($.span,{initial:{scale:0},animate:{scale:1},transition:{delay:1,type:"spring"},className:"absolute -bottom-0.5 -right-0.5 w-3.5 h-3.5 rounded-full bg-secondary border-2 border-background"})]}),u.jsxs("div",{className:"glass-card px-3 py-1.5",children:[u.jsx("div",{className:"text-xs font-heading font-bold text-foreground",children:"AI Manager"}),u.jsx("div",{className:"text-[10px] text-secondary font-body",children:"Briefing active"})]})]}),u.jsxs($.div,{initial:{opacity:0,x:30},animate:{opacity:1,x:0},transition:{delay:.75,type:"spring",stiffness:120,damping:14},className:"flex items-center gap-2 pl-2",children:[u.jsx("div",{className:"relative",children:u.jsx("div",{className:"w-12 h-12 rounded-full bg-secondary/20 flex items-center justify-center mic-pulse",children:u.jsx("div",{className:"w-9 h-9 rounded-full bg-secondary flex items-center justify-center shadow-lg",children:u.jsx(Mg,{className:"w-4 h-4 text-secondary-foreground"})})})}),u.jsxs("div",{className:"glass-card px-3 py-1.5",children:[u.jsx("div",{className:"text-[10px] font-heading font-bold text-foreground",children:"Voice briefing"}),u.jsx("div",{className:"text-[9px] text-secondary font-body",children:"Listening…"})]})]}),u.jsxs($.div,{initial:{opacity:0,x:30},animate:{opacity:1,x:0},transition:{delay:.9,type:"spring",stiffness:120,damping:14},className:"flex items-center gap-2",children:[u.jsx("div",{className:"w-12 h-12 rounded-xl bg-primary/15 border border-primary/30 flex items-center justify-center shadow-lg",children:u.jsx(rP,{className:"w-5 h-5 text-primary"})}),u.jsxs("div",{className:"glass-card px-3 py-1.5",children:[u.jsx("div",{className:"text-[10px] font-heading font-bold text-foreground",children:"ICP_brief.pdf"}),u.jsx("div",{className:"text-[9px] text-primary font-body",children:"Uploaded · Processing"})]})]}),u.jsxs($.div,{initial:{opacity:0,x:30},animate:{opacity:1,x:0},transition:{delay:1.1,type:"spring",stiffness:120,damping:14},className:"flex items-center gap-2",children:[u.jsxs("div",{className:"relative",children:[u.jsx("img",{src:Ow,alt:"Sales Representative",className:"w-14 h-14 rounded-full object-cover border-2 border-primary shadow-lg"}),u.jsx($.span,{initial:{scale:0},animate:{scale:1},transition:{delay:1.3,type:"spring"},className:"absolute -bottom-0.5 -right-0.5 w-3.5 h-3.5 rounded-full bg-primary border-2 border-background"})]}),u.jsxs("div",{className:"glass-card px-3 py-1.5",children:[u.jsx("div",{className:"text-xs font-heading font-bold text-foreground",children:"Sales Rep"}),u.jsx("div",{className:"text-[10px] text-muted-foreground font-body",children:"Receiving briefing"})]})]})]}),u.jsxs($.div,{initial:{opacity:0,y:-15,scale:.9}
141,animate:{opacity:1,y:0,scale:1},transition:{delay:1.3,type:"spring",stiffness:150},className:"absolute top-2 sm:-top-12 left-0 sm:-left-4 glass-card px-3 py-2 text-xs font-body flex items-center gap-2",children:[u.jsx(Mg,{className:"w-3.5 h-3.5 text-secondary"})," Voice briefed qualification"]}),u.jsxs($.div,{initial:{opacity:0,y:20,scale:.9},animate:{opacity:1,y:0,scale:1},transition:{delay:1.5,type:"spring",stiffness:150},className:"absolute -bottom-4 left-1/2 -translate-x-1/2 glass-card px-4 py-2",children:[u.jsxs("div",{className:"flex items-center gap-1.5 mb-0.5",children:[u.jsx("span",{className:"w-2 h-2 rounded-full bg-secondary animate-pulse"}),u.jsx("span",{className:"text-xs font-heading font-semibold text-foreground",children:"14 leads qualified today"})]}),u.jsx("span",{className:"text-[10px] text-muted-foreground font-body text-center block",children:"Avg ICP: 92% · 3 hot · 78% conv. rate"})]})]})})]})})]})}function dn({children:e,className:t="",delay:n=0}){return u.jsx($.div,{initial:{opacity:0,y:32},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-80px"},transition:{duration:.6,delay:n,ease:"easeOut"},className:t,children:e})}const Nu="#F97015";function Wn({children:e,className:t=""}){return u.jsx("span",{className:`inline-flex items-center px-3 py-1 rounded-full text-[11px] font-heading font-semibold tracking-[0.18em] uppercase mb-5 ${t}`,style:{color:Nu,border:`1px solid ${Nu}40`,backgroundColor:`${Nu}10`},children:e})}function oP(){return u.jsx("section",{id:"how-it-works",className:"section-padding",children:u.jsx(dn,{className:"container-wide w-full px-4 md:px-8",children:u.jsxs("div",{className:"max-w-4xl mx-auto text-center",children:[u.jsx(Wn,{children:"How it works"}),u.jsx("h2",{className:"font-heading font-black mt-5 mb-3 text-foreground text-3xl md:text-4xl lg:text-[2.8rem] leading-[1.1]",children:"See B2Boost in action"}),u.jsx("p",{className:"text-muted-foreground font-body text-base md:text-lg leading-relaxed mb-10 max-w-2xl mx-auto",children:"Watch how our multi-agent AI platform qualifies leads, scores every signal, and guides your team to the right conversations at the right time."}),u.jsx("div",{className:"relative w-full aspect-video rounded-2xl overflow-hidden shadow-2xl ring-1 ring-border",children:u.jsx("iframe",{src:"https://www.youtube.com/embed/P3ktDsZ9XMU?rel=0",title:"B2Boost Promo Video",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowFullScreen:!0,className:"absolute inset-0 w-full h-full"})})]})})})}const iP="data:image/svg+xml,%3csvg%20width='512'%20height='512'%20viewBox='0%200%20512%20512'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='512'%20height='512'%20rx='85.3333'%20fill='%238039DF'/%3e%3crect%20x='53.4446'%20y='53.4446'%20width='21.3333'%20height='21.3333'%20fill='%233E0075'/%3e%3crect%20x='437.333'%20y='53.3333'%20width='21.3333'%20height='21.3333'%20fill='%233E0075'/%3e%3crect%20x='437.333'%20y='437.333'%20width='21.3333'%20height='21.3333'%20fill='%233E0075'/%3e%3crect%20x='53.3333'%20y='437.333'%20width='21.3333'%20height='21.3333'%20fill='%233E0075'/%3e%3cpath%20d='M427.2%20229.814H328.146C322.677%20229.814%20318.423%20235.887%20320.246%20240.745L343.946%20302.075C345.162%20304.504%20342.731%20307.54%20339.693%20307.54L309.308%20305.719C308.093%20305.719%20306.877%20306.326%20305.662%20307.54L282.57%20340.938C281.354%20342.76%20278.924%20343.367%20276.493%20342.153L241.247%20318.471C240.031%20317.256%20238.208%20317.256%20236.385%20318.471L187.77%20351.261C184.732%20353.69%20180.478%20350.654%20181.693%20347.011L195.67%20298.432C196.278%20296.61%20195.062%20294.181%20193.239%20293.574L167.716%20283.251C165.285%20282.037%20164.07%20279%20165.893%20277.179L188.378%20249.246C189.593%20248.031%20189.593%20245.602%20188.378%20244.388L169.539%20217.062C167.716%20214.634%20169.539%20210.99%20172.578%20210.99L202.355%20208.561C204.785%20208.561%20206.001%20206.74%20206.001%20204.311L203.57%20163.019C203.57%20159.982%20206.608%20158.161%20209.039%20158.768L245.501%20173.949C247.324%20174.556%20249.147%20173.949%20250.362%20172.734L275.885%20144.802C277.708%20142.373%20281.354%20142.98%20282.57%20146.016L297.762%20184.879C299.585%20189.737%20305.662%20191.559%20309.916%20188.522L369.469%20144.194C376.154%20139.337%20371.9%20128.406%20363.392%20129.621L325.108%20134.479C323.285%20134.479%20321.462%20133.871%20320.854%20132.05L300.193%2079.2203C297.762%2073.7552%20291.077%2072.5408%20286.823%2076.7914L241.854%20125.37C240.639%20126.585%20238.816%20127.192%20236.993%20126.585L178.047%20101.688C172.578%2099.2591%20167.109%20102.902%20166.501%20108.975L164.07%20169.698C164.07%20172.127%20162.247%20173.342%20160.424%20173.342L106.339%20176.985C100.263%20177.592%2096.6164%20184.272%20100.263%20189.737L136.116%20242.566C137.332%20243.781%20137.332%20246.21%20136.116%20247.424L99.6549%20289.323C96.6164%20292.36%2098.4395%20299.039%20103.301%20300.861L145.232%20319.078C147.055%20319.685%20148.27%20322.114%20147.662%20323.936L120.924%20427.773C119.101%20435.06%20127.609%20440.525%20133.686%20436.274L233.954%20364.62C235.17%20363.406%20236.993%20363.406%20238.816%20364.62L284.393%20396.804C288.039
141%20399.233%20293.508%20398.626%20295.939%20394.375L324.5%20350.654C325.108%20349.44%20326.931%20348.832%20328.146%20348.832L396.208%20357.334C401.677%20357.941%20407.146%20353.69%20405.323%20348.225L376.762%20274.75C376.154%20272.928%20376.762%20270.499%20379.192%20269.285L430.846%20244.995C438.138%20241.352%20435.708%20229.814%20427.2%20229.814Z'%20fill='white'/%3e%3c/svg%3e",aP="/assets/fyxer-BMU_U1AZ.png",lP="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAMAAACahl6sAAAB5lBMVEX////QM4bHN43MNYnCMIDPNIe3Ppq9PJXELnq5PZnTMoS1P5y5PZjLNorONInUMYPJN4zRM4XZOoTEOZCzQJ27PJi/M4W2P5u8PJa/O5TAOpPCOZHYO4bGMH3KNovGOI/EMIDEL32kPZfGL3vCOpLAMoPEOI/VMYLYMID65e+xQZ+jPpnvQIzDL33SMoTkQ5OoOpG8NYnaOYLAMYLbOYHGLHfWMIHpQpDtQI69NYfCMYLdOH+pOY6kRqmnRairOIyqRKXWPIjeN33nQpHBMoOsQ6ShQJymO5KoRKbmQpLxP4ueSK6kPJTWPYvANIbEMYHGLXnFLXjCL37fRJbbOICvQaHSM4WhSKyyQJ7qQY/HK3PiQ5WtQqLrQY+tNomjR6vZL3/HK3X15vHHLXmmPJX+5/HytM6gQZ70Ponjl727NovjlbqbSrD2PojCM4S9NIaeQqDcRZinO5OjP5vgN3zUP466N4zxzeOdRKTgNnr1zuGYS7P1z+LmdLLscq7PbK3WaqjbOoTcnszFM4Puz+XYoM/YPInGMIDIb7WsPJbcPIfyPYb88vjVodKxN4zs0Ojps9LtwNrmpsrZeLGjQ6HhmMLES5jYPo3iN3v65vDahrfPUZnfZaLQYaDYTJPJSY7igLP98/iowOCuAAALoklEQVR42uzaW49LURjG8W0apEbpBJnpNFqRpo6puULEMWIQxIVgxDFCRLhgGtE4xzhVnA3iGB/Vs9b7rMNeJXHRpYms/+y69su73r3tjiyVSqVSqVQqlUqlUqlUKpVKpVKpVCqVSqVSqVT/u3qbXdUd0B1HZ8+e3Ya2o3379r3MdK+PHl17dK00NTW11DQsjaJ5aNl44+P3+x/e3cz+XR1KAgYdBrLTQABgluEZoKBDVW00Pr5/8zmLHSGU/NmxDw4LoaEXAQOu4rxisTgmiipagt6/zSJHSOeAf656HWA4CAyBggxdES2EAwTDaOL6+iaLX0dJHKN3P0JIbhTDIOCyCDTfIWDQ1etf406FkGvXOv48Qgcge/YYCA1UmAMlCjqAYHWNqDfrQ0NDX+LuCiGQ9O6HZcDhIDTYGxQUBrEMVapNGQQ+UKAhFnso16QOIWB486DDQR4JwyiKDAo6hIEwhrrvKJfLH7KYdRTj0qVLHWEEjp10nHpMiGx2fiuKQKjGxsbBUMMgwSIUo1YuX8kiRoeSKMbxvAMSxTjlIP79SSJibP78BhRYiUChq6FS6f2LzBYNMtkJb7uAGMdRA6ECU8DlFGDAgeVWBnecfEWthB5k0bKOyclZHivkzlUAMTsRIlC1SUM4ijIYUqH0M4sUIZOorSVKEcwDDgehggQqUKUaIpAm1Ggo4I9CIdrGgwGHhrTbs3RwHvZgOQgVhiGG+ZVKZYkzuFkgjdAGXGjRzSxOYHAgaN1suB90rDUQECyDCNW4OMq4JL0U1kGFciy6EenJ6OaxTjULhoZ4DDg8iBLgYlpRGW9qhxCA4E4QQYLpfcbiQOBQlJWzuT2nw0G8reAsVE3/NMleyCxKIWMuupXFKOcAZGU7d64UA00ZiEHIIKRG02PYQThDgQYo0Jy5P7IYiUMQYKA2GAgMREcOUvEU6sWjrgz4YCeosBBnEMScuXPQmyxCk95AoEAX2kpBRwjRCFE01E8Vjlp+FIgGMojAxaKMhA6VMFDb3HYRXwhzEMSXWTQkT+3A4RDMMUbmjMTYEijadFjIdDd0GMhNGhDfn5TD5CvImJMjsNa3PiM4kXWSdeydnu5aByDqZcpArKIBBBoSQXCb5V5IRqEcx3Ada7VaEf7xiIHQQQYce6cnur5jeOnwQ0Lw94dhiXmTLecRMgV8gqUY4TSUobUAvcv63iQZuoMyj+mJiYkuGXoewxZSRWLApR0Wkt8JIOwsMIxjQIyQgSKcLXfjBUI5CIGE+wGHDxFFU1UODpQVYBrOMEIDELZD/T9b/p4f9BxbJ7puIKOjBsJZ1FU1IsKVcAoYsBLHfMXiBYtVt6JAyNAOQMDQlC7n4UPULPgmC0fvPZaKEaPARyOo0K1atXhV/5dEOwg5CAUSBuou5TzmzTMQIPgSWIIiXAvG80SDhyAE/YwAkTXHPA66cwUH2tEFQzkcRCl0JSrCAzXCabR8hUfQjI0b+7/tWrESClzGQQbq0lE0EBCs47eTQDhPYCxoBZMQAi7VjzgQ5cA88AQRByHolXIUiwGkXAgN3G03iZZsNgmiAML0PAIEDDrA8OchEvnWxIOUy3CEDzxtwFbgsufJMoggY7UuCgTR4cbBzpx5VfQhUChHaIBCP7bxocJEhCiIiAMRhoPkGeiV+rrBg9QKUDAuhdyfaMhtBRlU2M71H8Jx5B1bjYOSZRaCF49FViGLjTAKKrgS+ISIjRTgo4oC2StBwexAKBnzIAVNYIoAA35ktSWfEI4CRYVMw9G7H05iIKVFdidkFm61GR0kEHHOKGJCOA7nEAkNlBjIXI3gGHAxa2CiYLTAERNy/u96kUlrPq/pT1kqlUql/oue+d33e+D3ho+Ru7/pXm8Xs3+efAM3jNcn9ety9buPiv6OHV+V6Lda/cunwtPLme7OjeumI+ykaoNqP9q9e/emTZtODAwyaiCQVCoBpFSacZAbAYQMFR2DhhQBoWNcf7FrBwKHB6Gkdx6eYxCQKXuyinjtUJBxDeFA4KjNrFjhIOhP8wCDjtMDmYiGjPJkBSuCF0I4nvoTQYEj2A84BgJZ6q+IO1lNQuBAy33IoRtkBA47j4FApgDxT9b84GTNHIbjqYPAcejQp8AhDM4DkM0DgXBF3D3LX3VxeBAwKPn9nm8CY/PAIfYpwpMFx+H8RIAQSchAnMfAIMMOwodIg6tuHMuX90CefHIOQrgfg4KEN1/3NIRjBicLPe2F7IIkeAw6xvr1g4XA4SD4z1czWw7/AfJk15Ndu57468F5gAHHoCCj4cmqasev9u2YxYkoigLwFIOOaCUYRDdgkAiCU2THgCaVkspinBUbt1sDIgFjIy7a7IpiEbdYVxRRRPynnnvvycubkMLK58N3/AUf59w32cL5BMsSx/q0YJB/Wws6EDqCQs5u+n0ijvno/mgJ6TkIHAgK2dp6vyAECt8RDMJCLmBZ5sCy4JiPRtpIr4u0IWDc2UIWYNBBBhyBIGcJ4akTgl3BMcrv57ku66qDaB2IOiDxZ6WHHhDCU3cQFFJrIbasbgtCx3uBnD9/fuE5VoXcCwDZ8PhevgbGZCLLyg1y1U3
141LHEAYBBJzPOKuzBECAof/ZgkEfcDBE4FDJBshlPBzLlEGEqQRQOAgRB11v9ZCAGEjKwhCBBjIm+0FHas+gjXSPpG61kYmxuh1ex7ktThMQsYbBLvyGGEh/Kybo8MTyU2yBqFDsw2ISAziHE/DQM54JwKHNqIOLqvnQ9yh03FTAskN3xEE4r9Z4ujgRKwQOO7b49tqhBfCPkwyfuQ7gkBaf1Ndvn27Rvq1fkTwNbRh+Y34u0KAMMmtlSMU5Iw7kUsDOHjq9hHJe7asZgnxdwUFIQ/H47FzBIKcEsgFhcABCLbFU8+lEbxaV5FNEFkVISpZOZ4FgsiytA+D9OHwlgVGMfUg3JXEY5iEjkCQcwYZDOiYQzJXR2kQZAPEEAgdd+/eeEpHCIh7fAcKgQOZWCF5eUUuBCfibsQYhJBiDOTFBzpCQeREZnAA0gGE00Ij7kTctKiAgwznoCQYhIXMZnDotHRZ9qdIDoctq1mDSMxCByGQPAsJEYdAnqMQuXVOq4fosqatRtSwvf2QdfgOSIJB8PhefAnHAI7nMi33+F7RRroCaTeiZRAijPHK8errh3CNwDEzSd0BRBvJJb0r6liHsBCEEM/x6gUkgSB03JZGOjUbEUlZ2me9mDZuWjYsMAzCQpwDEnQSBnLuJSADRC6kU7MQfXztySoK/0Z8hn8hxgBEJCEgcAiEt66v7wjRZZUGaTyI9UGH1cHAwEASACIO3rqeOhvRQiRdOADhf3w+evJn+ZX99bxEVo8vJNUcDkL0I9IUCvnXc9o7EWukqvg1RDAsTCsKyBeB+L9P7LvegkybCCAHgGgh2og5Ki5LJIXcyDACyDeF8EQUUvFrWJbaiBYy/PchJ3x8ny8hldz6g1wYhDTTGBp5N1suSyFVXy7kAadVyIUAEsOxH51mI64QnZY2UnTRyA4cMUwrOxCH+4hU1SQ3CE8dkOF0uBcB5MSH9IUijgdlWYrDTiSKRo74aMGhDAdZFjJFITE0kh3w1Dmt0QgMgxS2rCaOaWX7euqEINKHLMscO00sN4JfKXyzvGG5QsQxjGRa2bEtq4/AUWFYCinYyDQaSPbFe3x56siqkb1IppXt24Xw7WUjpTriaiQ7kGVxWuu3vgNHNJDHlwHp0MHHlxA59Xgg2b57e5H2skSyuxsLJPtMiOdgI1pJPJDs08qBEMJfjDE1kmU/KgkdAmEhkU0LPx4PwVCIv6xGhxUVBH++i6RdiFYSHST7nPNGHASN7MXXSJZ9/KkMhI7hjhQSHyR7/Emm5S8rxhthKXD0Su8jEmUjkuOfrhFI4rwR5uMhIfYRibURyfXjw7fm2I0bItk/+fbje3dvN3pISkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkrKf5Pf1FeaUARFT5gAAAAASUVORK5CYII=",cP="data:image/svg+xml,%3csvg%20class='inline%20w-9%20h-9%20header-icon-normal'%20width='40'%20height='40'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23filter0_f)'%3e%3cpath%20d='M27.9196%2037H12.0804l-.6465-.005c-2.67455-.0434-3.73836-.3679-4.81023-.9411-1.15432-.6173-2.06024-1.5233-2.67758-2.6776l-.12785-.2479c-.5142-1.0387-.79606-2.185-.81698-4.8781L3%2012.0804c0-3.15743.32876-4.30241.94609-5.45673.61734-1.15432%201.52326-2.06024%202.67758-2.67758l.24795-.12785c1.03866-.5142%202.185-.79606%204.87808-.81698L27.9196%203c3.1574%200%204.3024.32876%205.4567.94609%201.1543.61734%202.0603%201.52326%202.6776%202.67758l.1279.24795c.5142%201.03866.796%202.185.8169%204.87808L37%2027.9196l-.005.6465c-.0434%202.6745-.3679%203.7384-.9411%204.8102-.6173%201.1543-1.5233%202.0603-2.6776%202.6776l-.2479.1279c-1.0802.5347-2.2769.8182-5.2088.8182Z'%20fill='%23000'%20fill-opacity='.28'/%3e%3c/g%3e%3cpath%20d='M20%203h7.9196c3.1574%200%204.3024.32876%205.4567.94609%201.1543.61734%202.0603%201.52326%202.6776%202.67758.6173%201.15432.9461%202.2993.9461%205.45673V20H20V3Z'%20fill='%234DB1FD'/%3e%3cpath%20d='M12.0804%203H20v34h-7.9196c-3.15743%200-4.30241-.3288-5.45673-.9461-1.15432-.6173-2.06024-1.5233-2.67758-2.6776C3.32876%2032.222%203%2031.077%203%2027.9196V12.0804c0-3.15743.32876-4.30241.94609-5.45673.61734-1.15432%201.52326-2.06024%202.67758-2.67758C7.77799%203.32876%208.92297%203%2012.0804%203Z'%20fill='%23148CFC'/%3e%3cpath%20d='M37%2020v7.9196c0%203.1574-.3288%204.3024-.9461%205.4567-.6173%201.1543-1.5233%202.0603-2.6776%202.6776-1.1543.6173-2.2993.9461-5.4567.9461H20V20h17Z'%20fill='%23DEF2FE'/%3e%3cdefs%3e%3cfilter%20id='filter0_f'%20x='0'%20y='0'%20width='40'%20height='40'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeBlend%20in='SourceGraphic'%20in2='BackgroundImageFix'%20result='shape'/%3e%3cfeGaussianBlur%20stdDeviation='1.5'%20result='effect1_foregroundBlur'/%3e%3c/filter%3e%3c/defs%3e%3c/svg%3e",uP="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2064%2064'%20fill='none'%3e%3crect%20x='8'%20y='14'%20width='48'%20height='36'%20rx='8'%20fill='%23F97316'/%3e%3ccircle%20cx='24'%20cy='32'%20r='4'%20fill='%23fff'/%3e%3ccircle%20cx='40'%20cy='32'%20r='4'%20fill='%23fff'/%3e%3crect%20x='30'%20y='4'%20width='4'%20height='10'%20rx='2'%20fill='%23F97316'/%3e%3ccircle%20cx='32'%20cy='4'%20r='3'%20fill='%23F97316'/%3e%3cpath%20d='M22%2050%20L22%2056%20L28%2050%20Z'%20fill='%23F97316'/%3e%3c/svg%3e",dP="/assets/chargebee-Y7aQtogB.png",fP="data:image/svg+xml,%3csvg%20height='2500'%20viewBox='7.4%200%20344.6%20360'%20width='2342'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20fill='%23676b74'%3e%3cpath%20d='m313.8%20360h-268.3c-21%200-38.1-17.1-38.1-38.1v-268.4c0-21%2017.1-38.1%2038.1-38.1h268.3
141c21%200%2038.1%2017.1%2038.1%2038.1v268.3c.1%2021.1-17%2038.2-38.1%2038.2zm-268.3-323.5c-9.4%200-17%207.6-17%2017v268.3c0%209.4%207.6%2017%2017%2017h268.3c9.4%200%2017-7.6%2017-17v-268.3c0-9.4-7.6-17-17-17z'/%3e%3cpath%20d='m256.6%2072.4c-4.5%200-8.1-3.6-8.1-8.1v-56.2c0-4.5%203.6-8.1%208.1-8.1s8.1%203.6%208.1%208.1v56.1c0%204.5-3.6%208.2-8.1%208.2zm-154.7%200c-4.5%200-8.1-3.6-8.1-8.1v-56.2c0-4.5%203.6-8.1%208.1-8.1s8.1%203.6%208.1%208.1v56.1c.1%204.5-3.6%208.2-8.1%208.2zm87.5%20181.4c-33.6%200-60.9-27.3-60.9-60.9s27.3-60.9%2060.9-60.9c15.2%200%2029.7%205.6%2040.9%2015.8%201.4%201.2%201.5%203.4.2%204.7-1.2%201.4-3.4%201.5-4.7.2-10-9.1-22.9-14.1-36.4-14.1-29.9%200-54.2%2024.3-54.2%2054.2s24.3%2054.2%2054.2%2054.2c13.5%200%2026.4-5%2036.4-14.1%201.4-1.2%203.5-1.1%204.7.2%201.2%201.4%201.1%203.5-.2%204.7-11.2%2010.4-25.7%2016-40.9%2016z'/%3e%3c/g%3e%3c/svg%3e",hP="/assets/bombora-Bu9SRlC6.png",pP="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='2500'%20height='2311'%20viewBox='781.361%200%20944.893%20873.377'%3e%3cradialGradient%20id='a'%20cx='943.992'%20cy='1221.416'%20r='.663'%20gradientTransform='matrix(944.8934%200%200%20-873.3772%20-890717.875%201067234.75)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0'%20stop-color='%23ffb900'/%3e%3cstop%20offset='.6'%20stop-color='%23f95d8f'/%3e%3cstop%20offset='.999'%20stop-color='%23f95353'/%3e%3c/radialGradient%3e%3cpath%20fill='url(%23a)'%20d='M1520.766%20462.371c-113.508%200-205.508%2092-205.508%20205.488%200%20113.499%2092%20205.518%20205.508%20205.518%20113.489%200%20205.488-92.019%20205.488-205.518%200-113.488-91.999-205.488-205.488-205.488zm-533.907.01c-113.489.01-205.498%2091.99-205.498%20205.488%200%20113.489%2092.009%20205.498%20205.498%20205.498%20113.498%200%20205.508-92.009%20205.508-205.498%200-113.499-92.01-205.488-205.518-205.488h.01zm472.447-256.883c0%20113.489-91.999%20205.518-205.488%20205.518-113.508%200-205.508-92.029-205.508-205.518S1140.31%200%201253.817%200c113.489%200%20205.479%2092.009%20205.479%20205.498h.01z'/%3e%3c/svg%3e",mP="data:image/svg+xml,%3csvg%20viewBox='0%200%20128%20128'%20xmlns='http://www.w3.org/2000/svg'%20width='128'%20height='128'%20fill='none'%3e%3crect%20width='128'%20height='128'%20fill='%23FECF40'%20rx='8'%20/%3e%3cpath%20fill='%23000'%20d='M91.044%2036.135H78.489l6.51%2011.134%206.045-11.134ZM108.494%2098.987%2063.922%2025%2019.5%2098.832h23.792c3.174%200%206.297-.8%209.058-2.316%202.98-1.638%205.23-4.012%206.989-6.89%202.056-3.367%204.053-6.773%206.077-10.16l5.178-8.67-6.678-11.167-2.961%204.755c-3.375%205.631-6.569%2011.392-10.066%2016.947-1.759%202.786-4.054%205.418-7.442%206.096a9.686%209.686%200%200%201-1.558.174c-.698.026-1.397.013-2.088.013l24.121-40.99%2030.975%2052.363h13.597Z'%20/%3e%3c/svg%3e",gP="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2064%2064'%20fill='none'%3e%3ccircle%20cx='32'%20cy='32'%20r='26'%20stroke='%2314B8A6'%20stroke-width='4'/%3e%3cellipse%20cx='32'%20cy='32'%20rx='12'%20ry='26'%20stroke='%2314B8A6'%20stroke-width='4'/%3e%3cpath%20d='M6%2032%20H58'%20stroke='%2314B8A6'%20stroke-width='4'/%3e%3cpath%20d='M10%2020%20H54%20M10%2044%20H54'%20stroke='%2314B8A6'%20stroke-width='3'/%3e%3c/svg%3e",yP="data:image/svg+xml,%3csvg%20width='2500'%20height='1045'%20viewBox='0%200%20512%20214'%20xmlns='http://www.w3.org/2000/svg'%20preserveAspectRatio='xMidYMid'%3e%3cpath%20d='M35.982%2083.484c0-5.546%204.551-7.68%2012.09-7.68%2010.808%200%2024.461%203.272%2035.27%209.103V51.484c-11.804-4.693-23.466-6.542-35.27-6.542C19.2%2044.942%200%2060.018%200%2085.192c0%2039.252%2054.044%2032.995%2054.044%2049.92%200%206.541-5.688%208.675-13.653%208.675-11.804%200-26.88-4.836-38.827-11.378v33.849c13.227%205.689%2026.596%208.106%2038.827%208.106%2029.582%200%2049.92-14.648%2049.92-40.106-.142-42.382-54.329-34.845-54.329-50.774zm96.142-66.986l-34.702%207.395-.142%20113.92c0%2021.05%2015.787%2036.551%2036.836%2036.551%2011.662%200%2020.195-2.133%2024.888-4.693V140.8c-4.55%201.849-27.022%208.391-27.022-12.658V77.653h27.022V47.36h-27.022l.142-30.862zm71.112%2041.386L200.96%2047.36h-30.72v124.444h35.556V87.467c8.39-10.951%2022.613-8.96%2027.022-7.396V47.36c-4.551-1.707-21.191-4.836-29.582%2010.524zm38.257-10.524h35.698v124.444h-35.698V47.36zm0-10.809l35.698-7.68V0l-35.698%207.538V36.55zm109.938%208.391c-13.938%200-22.898%206.542-27.875%2011.094l-1.85-8.818h-31.288v165.83l35.555-7.537.143-40.249c5.12%203.698%2012.657%208.96%2025.173%208.96%2025.458%200%2048.64-20.48%2048.64-65.564-.142-41.245-23.609-63.716-48.498-63.716zm-8.533%2097.991c-8.391%200-13.37-2.986-16.782-6.684l-.143-52.765c3.698-4.124%208.818-6.968%2016.925-6.968%2012.942%200%2021.902%2014.506%2021.902%2033.137%200%2019.058-8.818%2033.28-21.902%2033.28zM512%20110.08c0-36.409-17.636-65.138-51.342-65.138-33.85%200-54.33%2028.73-54.33%2064.854%200%2042.808%2024.179%2064.426%2058.88%2064.426%2016.925%200%2029.725-3.84%2039.396-9.244v-28.445c-9.67%204.836-20.764%207.823-34.844%207.823-13.796%200-26.027-4.836-27.591-21.618h69.547c0-1.85.284-9.245.284-12.658zm-70.258-13.511c0-16.071%209.814-22.756%2018.774-22.756%208.675%200%2017.92%206.685%2017.92%2022.756h-36.694z'%20fill='%236772E5'/%3e%3c/svg%3e",vP="data:image/svg+xml,%3csvg%20enable-background='new%200%200%202447.6%202452.5'%20viewBox='0%200%202447.6%202452.5'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-rule='evenodd'%20fill-rule='evenodd'%3e%3cpath%20d='m897.4%200c-135.3.1-244.8%20109.9-244.7%20245.2-.1%20135.3%20109.5%20245.1%20244.8%20245.2h244.8v-245.1c.1-135.3-109.5-245.1-244.9-245.3.1%200%20.1%200%200%200m0%20654h-652.6c-135.3.1-244.9%20109.9-244.8%20245.2-.2%20135.3%20109.4%20245.1%20244.7%20245.3h652.7c135.3-.1%20244.9-109.9%20244.8-245.2.1-135.4-109.5-245.2-244.8-245.3z'%20fill='%2336c5f0'/%3e%3cpath%20d='m2447.6%20899.2c.1-135.3-109.5-245.1-244.8-245.2-135.3.1-244.9%20109.9-244.8%20245.2v245.3h244.8c135.3-.1%20244.9-109.9%20244.8-245.3zm-652.7%200v-654c.1-135.2-109.4-245-244.7-245.2-135.3.1-244.9%20109.9-244.8%20245.2v654c-.2%20135.3%20109.4%20245.1%20244.7%20245.3%20135.3-.1%20244.9-109.9%20244.8-245.3z'%20fill='%232eb67d'/%3e%3cpath%20d='m1550.1%202452.5c135.3-.1%20244.9-109.9%20244.8-245.2.1-135.3-109.5-245.1-244.8-245.2h-244.8v245.2c-.1%20135.2%20109.5%20245%20244.8%20245.2zm0-654.1h652.7c135.3-.1%20244.9-109.9%20244.8-245.2.2-135.3-109.4-245.1-244.7-245.3h-652.7c-135.3.1-244.9%20109.9-244.8%20245.2-.1%20135.4%20109.4%20245.2%20244.7%20245.3z'%20fill='%23ecb22e'/%3e%3cpath%20d='m0%201553.2c-.1%20135.3%20109.5%20245.1%20244.8%20245.2%20135.3-.1%20244.9-109.9%20244.8-245.2v-245.2h-244.8c-135.3.1-244.9%20109.9-244.8%20245.2zm652.7%200v654c-.2%20135.3%20109.4%20245.1%20244.7%20245.3%20135.3-.1%20244.9-109.9%20244.8-245.2v-653.9c.2-135.3-109.4-245.1-244.7-245.3-135.4%200-244.9%20109.8-244.8%20245.1%200%200%200%20.1%200%200'%20fill='%23e01e5a'/%3e%3c/g%3e%3c/svg%3e",xP="/assets/salesforce-vtCDy4RE.svg",wP="/assets/outlook-Q0DsBmP3.svg",bP="data:image/svg+xml,%3csvg%20height='2500'%2
1410width='2490'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20256%20256'%3e%3cg%20fill='none'%3e%3cpath%20d='M0%2018.338C0%208.216%208.474%200%2018.92%200h218.16C247.53%200%20256%208.216%20256%2018.338v219.327C256%20247.79%20247.53%20256%20237.08%20256H18.92C8.475%20256%200%20247.791%200%20237.668V18.335z'%20fill='%23069'/%3e%3cpath%20d='M77.796%20214.238V98.986H39.488v115.252H77.8zM58.65%2083.253c13.356%200%2021.671-8.85%2021.671-19.91-.25-11.312-8.315-19.915-21.417-19.915-13.111%200-21.674%208.603-21.674%2019.914%200%2011.06%208.312%2019.91%2021.169%2019.91h.248zM99%20214.238h38.305v-64.355c0-3.44.25-6.889%201.262-9.346%202.768-6.885%209.071-14.012%2019.656-14.012%2013.858%200%2019.405%2010.568%2019.405%2026.063v61.65h38.304v-66.082c0-35.399-18.896-51.872-44.099-51.872-20.663%200-29.738%2011.549-34.78%2019.415h.255V98.99H99.002c.5%2010.812-.003%20115.252-.003%20115.252z'%20fill='%23fff'/%3e%3c/g%3e%3c/svg%3e",SP="data:image/svg+xml,%3csvg%20height='2500'%20preserveAspectRatio='xMidYMid'%20width='2500'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20viewBox='0%20-30.632388516510233%20255.324%20285.95638851651023'%3e%3clinearGradient%20id='a'%3e%3cstop%20offset='.18'%20stop-color='%230052cc'/%3e%3cstop%20offset='1'%20stop-color='%232684ff'/%3e%3c/linearGradient%3e%3clinearGradient%20id='b'%20x1='98.031%25'%20x2='58.888%25'%20xlink:href='%23a'%20y1='.161%25'%20y2='40.766%25'/%3e%3clinearGradient%20id='c'%20x1='100.665%25'%20x2='55.402%25'%20xlink:href='%23a'%20y1='.455%25'%20y2='44.727%25'/%3e%3cpath%20d='M244.658%200H121.707a55.502%2055.502%200%200%200%2055.502%2055.502h22.649V77.37c.02%2030.625%2024.841%2055.447%2055.466%2055.467V10.666C255.324%204.777%20250.55%200%20244.658%200z'%20fill='%232684ff'/%3e%3cpath%20d='M183.822%2061.262H60.872c.019%2030.625%2024.84%2055.447%2055.466%2055.467h22.649v21.938c.039%2030.625%2024.877%2055.43%2055.502%2055.43V71.93c0-5.891-4.776-10.667-10.667-10.667z'%20fill='url(%23b)'/%3e%3cpath%20d='M122.951%20122.489H0c0%2030.653%2024.85%2055.502%2055.502%2055.502h22.72v21.867c.02%2030.597%2024.798%2055.408%2055.396%2055.466V133.156c0-5.891-4.776-10.667-10.667-10.667z'%20fill='url(%23c)'/%3e%3c/svg%3e",CP="data:image/svg+xml,%3csvg%20height='2500'%20viewBox='6.20856283%20.64498824%20244.26943717%20251.24701176'%20width='2500'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='m191.385%2085.694v-29.506a22.722%2022.722%200%200%200%2013.101-20.48v-.677c0-12.549-10.173-22.722-22.721-22.722h-.678c-12.549%200-22.722%2010.173-22.722%2022.722v.677a22.722%2022.722%200%200%200%2013.101%2020.48v29.506a64.342%2064.342%200%200%200%20-30.594%2013.47l-80.922-63.03c.577-2.083.878-4.225.912-6.375a25.6%2025.6%200%201%200%20-25.633%2025.55%2025.323%2025.323%200%200%200%2012.607-3.43l79.685%2062.007c-14.65%2022.131-14.258%2050.974.987%2072.7l-24.236%2024.243c-1.96-.626-4-.959-6.057-.987-11.607.01-21.01%209.423-21.007%2021.03.003%2011.606%209.412%2021.014%2021.018%2021.017%2011.607.003%2021.02-9.4%2021.03-21.007a20.747%2020.747%200%200%200%20-.988-6.056l23.976-23.985c21.423%2016.492%2050.846%2017.913%2073.759%203.562%2022.912-14.352%2034.475-41.446%2028.985-67.918-5.49-26.473-26.873-46.734-53.603-50.792m-9.938%2097.044a33.17%2033.17%200%201%201%200-66.316c17.85.625%2032%2015.272%2032.01%2033.134.008%2017.86-14.127%2032.522-31.977%2033.165'%20fill='%23ff7a59'/%3e%3c/svg%3e",EP="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2023.0.1,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3csvg%20version='1.1'%20id='Livello_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%20200%20200'%20enable-background='new%200%200%20200%20200'%20xml:space='preserve'%3e%3cg%3e%3cg%20transform='translate(3.75%203.75)'%3e%3cpath%20fill='%23FFFFFF'%20d='M148.882,43.618l-47.368-5.263l-57.895,5.263L38.355,96.25l5.263,52.632l52.632,6.579l52.632-6.579%20l5.263-53.947L148.882,43.618z'/%3e%3cpath%20fill='%231A73E8'%20d='M65.211,125.276c-3.934-2.658-6.658-6.539-8.145-11.671l9.132-3.763c0.829,3.158,2.276,5.605,4.342,7.342%20c2.053,1.737,4.553,2.592,7.474,2.592c2.987,0,5.553
141-0.908,7.697-2.724s3.224-4.132,3.224-6.934c0-2.868-1.132-5.211-3.395-7.026%20s-5.105-2.724-8.5-2.724h-5.276v-9.039H76.5c2.921,0,5.382-0.789,7.382-2.368c2-1.579,3-3.737,3-6.487%20c0-2.447-0.895-4.395-2.684-5.855s-4.053-2.197-6.803-2.197c-2.684,0-4.816,0.711-6.395,2.145s-2.724,3.197-3.447,5.276%20l-9.039-3.763c1.197-3.395,3.395-6.395,6.618-8.987c3.224-2.592,7.342-3.895,12.342-3.895c3.697,0,7.026,0.711,9.974,2.145%20c2.947,1.434,5.263,3.421,6.934,5.947c1.671,2.539,2.5,5.382,2.5,8.539c0,3.224-0.776,5.947-2.329,8.184%20c-1.553,2.237-3.461,3.947-5.724,5.145v0.539c2.987,1.25,5.421,3.158,7.342,5.724c1.908,2.566,2.868,5.632,2.868,9.211%20s-0.908,6.776-2.724,9.579c-1.816,2.803-4.329,5.013-7.513,6.618c-3.197,1.605-6.789,2.421-10.776,2.421%20C73.408,129.263,69.145,127.934,65.211,125.276z'/%3e%3cpath%20fill='%231A73E8'%20d='M121.25,79.961l-9.974,7.25l-5.013-7.605l17.987-12.974h6.895v61.197h-9.895L121.25,79.961z'/%3e%3cpath%20fill='%23EA4335'%20d='M148.882,196.25l47.368-47.368l-23.684-10.526l-23.684,10.526l-10.526,23.684L148.882,196.25z'/%3e%3cpath%20fill='%2334A853'%20d='M33.092,172.566l10.526,23.684h105.263v-47.368H43.618L33.092,172.566z'/%3e%3cpath%20fill='%234285F4'%20d='M12.039-3.75C3.316-3.75-3.75,3.316-3.75,12.039v136.842l23.684,10.526l23.684-10.526V43.618h105.263%20l10.526-23.684L148.882-3.75H12.039z'/%3e%3cpath%20fill='%23188038'%20d='M-3.75,148.882v31.579c0,8.724,7.066,15.789,15.789,15.789h31.579v-47.368H-3.75z'/%3e%3cpath%20fill='%23FBBC04'%20d='M148.882,43.618v105.263h47.368V43.618l-23.684-10.526L148.882,43.618z'/%3e%3cpath%20fill='%231967D2'%20d='M196.25,43.618V12.039c0-8.724-7.066-15.789-15.789-15.789h-31.579v47.368H196.25z'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e",kP="data:image/svg+xml,%3csvg%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20363.2%20259.5'%20width='2500'%20height='1786'%3e%3cstyle%3e.st0{fill:%2303363d}%3c/style%3e%3ctitle%3egolion-z-sourcefile-algae%3c/title%3e%3cpath%20class='st0'%20d='M173.8%2040.5v112.9H80.3zM173.8%200c0%2025.8-20.9%2046.7-46.7%2046.7S80.3%2025.8%2080.3%200h93.5zM189.2%20153.4c0-25.8%2020.9-46.7%2046.7-46.7%2025.8%200%2046.7%2020.9%2046.7%2046.7h-93.4zM189.2%20112.9V0h93.5zM241.5%20249.9c4.8.1%209.5-1.7%2013-5l6.4%206.9c-4.2%204.4-10.1%207.6-19.3%207.6-15.7%200-25.8-10.4-25.8-24.5-.3-13.3%2010.3-24.2%2023.5-24.5h.8c15.6%200%2024.4%2011.8%2023.6%2028.3H227c1.3%206.9%206.1%2011.3%2014.5%2011.2m11.2-18.9c-1-6.4-4.8-11.1-12.4-11.1-7.1%200-12%204-13.3%2011.1h25.7zM0%20249.4l28.3-28.8H.7v-9h40.7v9.2l-28.3%2028.8h28.7v9H0zM73.6%20249.9c4.8.1%209.5-1.7%2012.9-5l6.4%206.9c-4.2%204.4-10.1%207.6-19.3%207.6-15.7%200-25.8-10.4-25.8-24.5-.3-13.3%2010.3-24.2%2023.5-24.5h.8c15.6%200%2024.4%2011.8%2023.6%2028.3H59.1c1.3%206.9%206.1%2011.3%2014.5%2011.2M84.8%20231c-1-6.4-4.8-11.1-12.4-11.1-7.1%200-12%204-13.3%2011.1h25.7zM157%20235c0-15%2011.2-24.4%2023.6-24.4%206-.1%2011.7%202.5%2015.7%207v-27.7h10v68.6h-10V252c-3.9%204.7-9.7%207.5-15.8%207.4-12%200-23.5-9.5-23.5-24.4m39.8-.1c-.2-8.2-7.1-14.7-15.3-14.5-8.2.2-14.7%207.1-14.5%2015.3.2%208.1%206.8%2014.5%2014.9%2014.5%208.6%200%2014.9-6.8%2014.9-15.3M270.3%20248.5l9.1-4.7c2.4%204.4%207.1%207%2012.1%206.9%205.7%200%208.6-2.9%208.6-6.2%200-3.8-5.5-4.6-11.4-5.8-8-1.7-16.3-4.3-16.3-14%200-7.4%207.1-14.3%2018.2-14.2%208.8%200%2015.3%203.5%2019%209.1l-8.4%204.6c-2.4-3.5-6.4-5.5-10.6-5.4-5.4%200-8.1%202.6-8.1%205.6%200%203.4%204.3%204.3%2011.1%205.8%207.7%201.7%2016.5%204.2%2016.5%2014%200%206.5-5.7%2015.2-19.1%2015.1-9.8.1-16.7-3.8-20.7-10.8M337.2%20237.6l-7.9%208.7v12.2h-10v-68.6h10v44.9l21.2-23.3h12.2l-18.4%2020.1%2018.9%2026.9h-11.3zM126.8%20210.5c-11.9%200-21.9%207.7-21.9%2020.5v27.5h10.2v-26.2c0-7.7%204.4-12.3%2012-12.3s11.3%204.6%2011.3%2012.3v26.2h10.1V231c.1-12.8-9.9-20.5-21.7-20.5'/%3e%3c/svg%3e",TP="data:image/svg+xml,%3csvg%20shape-rendering='geometricPrecision'%20text-rendering='geometricPrecision'%20image-rendering='optimizeQuality'%20xmlns='http://www.w3.org/2000/svg'%20width='2500'%20height='1809'%20viewBox='7.086%207.087%201277.149%20924.008'%3e%3cpath%20fill='none'%20d='M1138.734%20931.095h.283M1139.017%20931.095h-.283'/%3e%3cpath%20d='M1179.439%207.087c57.543%200%20104.627%2047.083%20104.627%20104.626v30.331l-145.36%20103.833-494.873%20340.894L148.96%20242.419v688.676h-37.247c-57.543%200-104.627-47.082-104.627-104.625V111.742C7.086%2054.198%2054.17%207.115%20111.713%207.115l532.12%20394.525L1179.41%207.115l.029-.028z'%20fill='%23e75a4d'/%3e%3clinearGradient%20id='a'%20gradientUnits='userSpaceOnUse'%20x1='1959.712'%20y1='737.107'%20x2='26066.213'%20y2='737.107'%20gradientTransform='matrix(.0283%200%200%20-.0283%20248.36%20225.244)'%3e%3cstop%20offset='0'%20stop-color='%23f8f6ef'/%3e%3cstop%20offset='1'%20stop-color='%23e7e4d6'/%3e%3c/linearGradient%3e%3cpath%20fill='url(%23a)'%20d='M111.713%207.087l532.12%20394.525L1179.439%207.087z'/%3e%3cpath%20fill='%23e7e4d7'%20d='M148.96%20242.419v688.676h989.774V245.877L643.833%20586.771z'/%3e%3cpath%20fill='%23b8b7ae'%20d='M148.96%20931.095l494.873-344.324-2.24-1.586L148.96%20923.527z'/%3e%3cpath%20fill='%23b7b6ad'%20d='M1138.734%20245.877l.283%20685.218-495.184-344.324z'/%3e%3cpath%20d='M1284.066%20142.044l.17%20684.51c-2.494%2076.082-35.461%20103.238-145.219%20104.514l-.283-685.219%20145.36-103.833-.028.028z'%20fill='%23b2392f'/%3e%3clinearGradient%20id='b'%20gradientUnits='userSpaceOnUse'%20x1='1959.712'%20y1='737.107'%20x2='26066.213'%20y2='737.107'%20gradientTransform='matrix(.0283%200%200%20-.0283%20248.36%20225.244)'%3e%3cstop%20offset='0'%20stop-color='%23f8f6ef'/%3e%3cstop%20offset='1'%20stop-color='%23e7e4d6'/%3e%3c/linearGradient%3e%3cpath%20fill='url(%23b)'%20d='M111.713%207.087l532.12%20394.525L1179.439%207.087z'/%3e%3clinearGradient%20id='c'%20gradientUnits='userSpaceOnUse'%20x1='1959.712'%20y1='737.107'%20x2='26066.213'%20y2='737.107'%20gradientTransform='matrix(.0283%200%200%20-.0283%20248.36%20225.244)'%3e%3cstop%20offset='0'%20stop-color='%23f8f6ef'/%3e%3cstop%20offset='1'%20stop-color='%23e7e4d6'/%3e%3c/linearGradient%3e%3cpath%20fill='url(%23c)'%20d='M111.713%207.087l532.12%20394.525L1179.439%207.087z'/%3e%3clinearGradient%20id='d'%20gradientUnits='userSpaceOnUse'%20x1='1959.712'%20y1='737.107'%20x2='26066.213'%20y2='737.107'%20gradientTransform='matrix(.0283%200%200%20-.0283%20248.36%20225.244)'%3e%3cstop%20offset='0'%20stop-color='%23f8f6ef'/%3e%3cstop%20offset='1'%20stop-color='%23e7e4d6'/%3e%3c/linearGradient%3e%3cpath%20fill='url(%23d)'%20d='M111.713%207.087l532.12%20394.525L1179.439%207.087z'/%3e%3clinearGradient%20id='e'%20gradientUnits='userSpaceOnUse'%20x1='1959.712'%20y1='737.107'%20x2='26066.213'%20y2='737.107'%20gradientTransform='matrix(.0283%200%200%20-.0283%20248.36%20225.244)'%3e%3cstop%20offset='0'%20stop-color='%23f8f6ef'/%3e%3cstop%20offset='1'%20stop-color='%23e7e4d6'/%3e%3c/linearGradient%3e%3cpath%20fill='url(%23e)'%20d='M111.713%207.087l532.12%20394.525L1179.439%207.087z'/%3e%3clinearGradient%20id='f'%20gradientUnits='userSpaceOnUse'%20x1='1959.712'%20y1='737.107'%20x2='26066.213'%20y2='737.107'%20gradientTransform='matrix(.0283%200%200%20-.0283%20248.36%20225.244)'%3e%3cstop%20offset='0'%20stop-color='%23f8f6ef'/%3e%3cstop%20offset='1'%20stop-color='%23e7e4d6'/%3e%3c/linearGradient%3e%3cpath%20fill='url(%23f)'%20d='M111.713%207.087l532.12%20394.525L1179.439%207.087z'/%3e%3clinearGradient%20id='g'%20gradientUnits='userSpaceOnUse'%20x1='1959.712'%20y1='737.107'%20x2='26066.213'%20y2='737.107'%20gradientTransform='matrix(.0283%200%200%20-.0283%20248.36%20225.244)'%3e%3cstop%20offset='0'%20stop-color='%23f8f6ef'/%3e%3cstop%20offset='1'%20stop-color='%23e7e4d6'/%3e%3c/linearGradient%3e%3cpath%20fill='url(%23g)'%20d='M111.713%207.087l532.12%20394.525L1179.439%207.087z'/%3e%3clinearGradient%20id='h'%20gradientUnits='userSpaceOnUse'%20x1='1959.712'%20y1='737.107'%20x2='26066.213'%20y2='737.107'%20gradientTransform='matrix(.0283%200%200%20-.0283%20248.36%20225.244)'%3e%3cstop%20offset='0'%20stop-color='%23f8f6ef'/%3e%3cstop%20offset='1'%20stop-color='%23e7e4d6'/%3e%3c/linearGradient%3e%3cpath%20fill='url(%23h)'%20d='M111.713%207.087l532.12%20394.525L1179.439%207.087z'/%3e%3cpath%20fill='%23f7f5ed'%20d='M111.713%207.087l532.12%20394.525L1179.439%207.087z'/%3e%3c/svg%3e",PP="data:image/svg+xml,%3csvg%20height='214pt'%20viewBox='35%20153%20314.4%2060.3'%20width='400pt'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='m296.9%20154.5c-3.4%201.8-5.9%207.2-5.9%2012.3%200%203.7-.3%204.1-2.7%204.4-2.2.2-2.9.9-3.1%203.1-.3%202.3.1%202.8%202.7%203.3l3.1.6.2%2017.2.3%2017.1h7l.3-17.3.2-17.2h4.4c4.9%200%207.1-1.8%2
14106.1-5-.5-1.7-1.5-2-5.6-2-5.4%200-5.3.1-3.9-5.2%201.2-4.3%203.4-5.8%208.3-5.8%204%200%206.1-2%205.2-5-.6-1.8-1.4-2-7.3-2-3.8.1-7.8.7-9.3%201.5zm-211.8%2016.5c-1.8.4-4.5%201.7-6%202.7-4.5%203.4-5.6%206.8-5.6%2018.3%200%208.7.3%2011.1%202%2013.9%203.1%205.3%207.7%207.3%2015.7%206.9%2012.1-.6%2015.8-5.6%2015.8-21.1%200-11.1-1.7-16-6.7-18.8-3.5-2.1-10.8-3-15.2-1.9zm10.4%209.5c2.3%202.2%202.5%203.2%202.5%2011.3%200%2010.9-1.5%2013.6-7.5%2013.6-2.9%200-4.3-.7-6.1-2.8-2.1-2.3-2.4-3.8-2.4-10.2%200-7.5%201.6-12.7%204.2-13.7%203.2-1.3%207-.6%209.3%201.8zm30.8-9.5c-9.2%202.2-11.8%206.9-11.8%2021%200%208.7.3%2011.1%202%2013.8%202.7%204.6%208.1%207.2%2014.7%207.2%206.5%200%2011.5-2.4%2014.5-6.9%202-3%202.3-4.6%202.3-13.8%200-12-1.4-16.2-6.4-19.2-3.7-2.2-10.8-3.2-15.3-2.1zm10.3%209.3c2.3%202%202.7%203.3%203.1%209.3.8%2011.3-3.2%2017.6-10.3%2015.8-4.6-1.2-6.4-4.9-6.4-13s1.2-11.7%204.4-13.2c3.4-1.7%206.3-1.4%209.2%201.1zm36.7-9.4c-1.8.5-4.4%201.6-5.8%202.5-2.4%201.6-2.7%201.6-5.2-.4-5.7-4.4-11.3-.8-7%204.6%202%202.6%202.2%204.2%202.7%2018.9l.5%2016h7l.3-14.6c.2-13.9.4-14.7%202.6-16.8%203.3-3.1%209.3-3.1%2011.8-.1%201.5%201.9%201.8%204.2%201.8%2015.9%200%2014.4.5%2016.1%204.5%2016.1s4.5-1.7%204.5-16.6c0-13.6.1-14.4%202.2-15.8%203.1-2.2%209.1-2%2011.1.2%201.4%201.5%201.7%204.2%201.7%2015.1%200%2014.1.8%2017.1%204.3%2017.1%204.3%200%204.7-1.5%204.7-17.7%200-21.7-1.6-24.6-13.1-24.6-4.1%200-6.6.6-9.2%202.2l-3.6%202.2-2.8-2c-3.3-2.4-8.6-3.3-13-2.2zm53.3.7c-1.3%201.3-1.6%204.6-1.6%2020.3%200%2019.6.3%2021.1%204.5%2021.1s4.5-1.5%204.5-21.1c0-15.7-.3-19-1.6-20.3-.8-.9-2.2-1.6-2.9-1.6s-2.1.7-2.9%201.6zm19.5-.2c-.8.9-1.1%207.4-.9%2021.2l.3%2019.9h7l.3-14.7c.2-14.5.3-14.7%202.9-16.7%203.3-2.7%209.4-2.8%2011.6-.3%201.4%201.5%201.7%204.2%201.7%2015.1%200%2014.1.8%2017.1%204.3%2017.1%204.3%200%204.7-1.5%204.7-17.7%200-16.7-1-21.2-5.2-23.4-3.3-1.8-12.7-1.5-16.5.5-2.7%201.4-3.3%201.4-3.3.2%200-2.6-5-3.5-6.9-1.2zm80.9-.5c-9.2%201.9-12%206.8-12%2020.8%200%2015.3%203.7%2020.4%2015.3%2021.1%207.7.5%2013.7-2.1%2016.4-7.1%202.7-4.9%202.6-22.9-.2-27.7-3.5-5.9-11.4-8.8-19.5-7.1zm8.5%207.7c2.9%201.2%204.5%206%204.5%2013.8%200%206.4-.3%207.9-2.4%2010.2-3.1%203.6-9%203.9-11.6.6-4.2-5.1-3.7-19.7.7-23.2%202.6-2%205.8-2.5%208.8-1.4zm-298.1-6.2c-.3.8-.4%202.3-.2%203.3.3%201.5%201.7%201.9%209.4%202.3l9.2.5-10.4%2014.5c-5.7%207.9-10.4%2015-10.4%2015.7%200%20.6.7%201.9%201.6%202.7%201.2%201.3%204%201.6%2014.4%201.6%207.1%200%2013.5-.3%2014.4-.6%201.9-.7%202.1-4.7.3-6.2-.7-.6-5.2-1.2-9.9-1.4l-8.6-.3%209.9-13.5c7.9-10.8%209.8-14.1%209.6-16.5l-.2-3-14.3-.3c-11.8-.2-14.3%200-14.8%201.2z'/%3e%3c/svg%3e",Rg=[{name:"Gong",src:iP},{name:"Fyxer",src:aP},{name:"Fireflies.ai",src:lP},{name:"Clearbit",src:cP},{name:"ChatBot",src:uP},{name:"Chargebee",src:dP},{name:"Calendly",src:fP},{name:"Bombora",src:hP},{name:"Asana",src:pP},{name:"Apollo",src:mP},{name:"HubSpot",src:CP},{name:"Salesforce",src:xP},{name:"LinkedIn",src:bP},{name:"Slack",src:vP},{name:"Outlook",src:wP},{name:"Stripe",src:yP},{name:"Google Calendar",src:EP},{name:"Jira",src:SP},{name:"Websites",src:gP},{name:"Zendesk",src:kP},{name:"Gmail",src:TP},{name:"ZoomInfo",src:PP}];function jP(){const e=[...Rg,...Rg];return u.jsxs("section",{className:"relative w-full overflow-hidden bg-background py-[60px]",children:[u.jsxs("div",{className:"container-wide px-4 md:px-8 text-center mb-8",children:[u.jsx("span",{className:"inline-flex items-center px-3 py-1 rounded-full text-[11px] font-heading font-semibold tracking-[0.18em] uppercase",style:{color:"#F97015",border:"1px solid #F9701540",backgroundColor:"#F9701510"},children:"Integrations"}),u.jsx("p",{className:"mt-3 text-center",style:{color:"#A0A0A0",fontSize:"13px",letterSpacing:"0.1em"},children:"Connected with your favorite tools"})]}),u.jsx("div",{className:"container-wide px-4 md:px-8",children:u.jsxs("div",{className:"logo-marquee-wrapper relative w-full overflow-hidden",children:[u.jsx("div",{className:"logo-marquee-track flex w-max gap-12",children:e.map((t,n)=>u.jsx("div",{className:"logo-card flex items-center justify-center shrink-0 transition-transform duration-300 hover:scale-110",children:u.jsx("img",{src:t.src,alt:t.name,loading:"lazy",className:"logo-img w-auto object-contain",style:{height:"40px",filter:t.name==="ZoomInfo"?"brightness(0) invert(1)":void 0}})},`${t.name}-${n}`))}),u.jsx("div",{className:"pointer-events-none absolute inset-y-0 left-0 w-16 md:w-28",style:{background:"linear-gradient(to right, hsl(var(--background)), transparent)"}}),u.jsx("div",{className:"pointer-events-none absolute inset-y-0 right-0 w-16 md:w-28",style:{background:"linear-gradient(to left, hsl(var(--background)), transparent)"}})]})}),u.jsx("style",{children:`
142        @keyframes logo-marquee {
143          0% { transform: translateX(0); }
144          100% { transform: translateX(-50%); }
145        }
146        .logo-marquee-track {
147          animation: logo-marquee 30s linear infinite;
148          will-change: transform;
149        }
150        @media (max-width: 640px) {
151          .logo-marquee-wrapper .logo-img { height: 30px !important; }
152        }
153      `})]})}const NP="/assets/problem-orchestration-H6WzusAW.png";function AP(e=.15){const t=b.useRef(null),[n,r]=b.useState(!1);return b.useEffect(()=>{const s=t.current;if(!s)return;const o=new IntersectionObserver(([i])=>{i.isIntersecting&&(r(!0),o.unobserve(s))},{threshold:e});return o.observe(s),()=>o.disconnect()},[e]),{ref:t,visible:n}}function MP(){const{ref:e,visible:t}=AP(.25),n=[{x:8,y:52}
vendor: 4,761 bytes, line 153
153,{x:22,y:30},{x:30,y:72},{x:78,y:30},{x:92,y:55},{x:72,y:72}];return u.jsx("section",{id:"use-cases",className:"section-padding overflow-x-hidden",children:u.jsx(dn,{className:"container-wide w-full px-4 md:px-8",children:u.jsxs("div",{className:"grid lg:grid-cols-2 gap-10 lg:gap-16 items-center",children:[u.jsxs("div",{ref:e,className:"relative order-2 lg:order-1 w-full max-w-full",children:[u.jsx("div",{className:"absolute inset-0 lg:-inset-4 bg-gradient-to-br from-primary/10 via-transparent to-secondary/10 rounded-2xl blur-2xl pointer-events-none","aria-hidden":"true"}),u.jsx("img",{src:NP,alt:"Disconnected sales tools converging into unified B2Boost orchestration",loading:"lazy",width:1024,height:1024,className:"relative w-full max-w-full h-auto rounded-2xl shadow-2xl"}),u.jsx("svg",{viewBox:"0 0 100 100",preserveAspectRatio:"none","aria-hidden":"true",className:"pointer-events-none absolute inset-0 w-full h-full rounded-2xl",style:{mixBlendMode:"screen"},children:t&&n.map((r,s)=>u.jsxs("circle",{r:"0.9",fill:"hsl(var(--primary))",style:{filter:"drop-shadow(0 0 1.2px hsl(var(--primary)))"},children:[u.jsx("animate",{attributeName:"cx",from:"50",to:r.x,dur:"1.8s",begin:`${s*.3}s`,repeatCount:"indefinite"}),u.jsx("animate",{attributeName:"cy",from:"52",to:r.y,dur:"1.8s",begin:`${s*.3}s`,repeatCount:"indefinite"}),u.jsx("animate",{attributeName:"opacity",values:"0;1;1;0",keyTimes:"0;0.15;0.85;1",dur:"1.8s",begin:`${s*.3}s`,repeatCount:"indefinite"}),u.jsx("animate",{attributeName:"r",values:"0.4;1.1;0.6",dur:"1.8s",begin:`${s*.3}s`,repeatCount:"indefinite"})]},s))})]}),u.jsxs("div",{className:"order-1 lg:order-2 w-full max-w-full min-w-0 text-center lg:text-left",children:[u.jsx(Wn,{children:"The Problem"}),u.jsx("h2",{className:"text-center lg:text-left font-heading font-black mt-5 mb-3 text-foreground text-4xl md:text-5xl lg:text-[3.4rem] leading-[1.05]",children:"Most of your leads will never close but your sales team still chases them"}),u.jsxs("div",{className:"text-foreground/80 font-body space-y-4 text-base leading-relaxed mb-10 break-words",children:[u.jsx("p",{children:"Growing B2B companies invest heavily in CRM systems, marketing tools, and sales headcount, yet revenue stays unpredictable. Pipelines fluctuate. Reps spend hours on low intent leads. And leadership can't forecast with confidence."}),u.jsx("p",{children:"The problem isn't the tools. It's the lack of intelligent orchestration across the revenue process."})]})]})]})})})}function RP(e){return Object.prototype.toString.call(e)==="[object Object]"}function Lg(e){return RP(e)||Array.isArray(e)}function LP(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function sp(e,t){const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;const s=JSON.stringify(Object.keys(e.breakpoints||{})),o=JSON.stringify(Object.keys(t.breakpoints||{}));return s!==o?!1:n.every(i=>{const a=e[i],l=t[i];return typeof a=="function"?`${a}`==`${l}`:!Lg(a)||!Lg(l)?a===l:sp(a,l)})}function Ig(e){return e.concat().sort((t,n)=>t.name>n.name?1:-1).map(t=>t.options)}function IP(e,t){if(e.length!==t.length)return!1;const n=Ig(e),r=Ig(t);return n.every((s,o)=>{const i=r[o];return sp(s,i)})}function op(e){return typeof e=="number"}function ff(e){return typeof e=="string"}function kc(e){return typeof e=="boolean"}function Dg(e){return Object.prototype.toString.call(e)==="[object Object]"}function xe(e){return Math.abs(e)}function ip(e){return Math.sign(e)}function ri(e,t){return xe(e-t)}function DP(e,t){if(e===0||t===0||xe(e)<=xe(t))return 0;const n=ri(xe(e),xe(t));return xe(n/e)}function OP(e){return Math.round(e*100)/100}function ji(e){return Ni(e).map(Number)}function sn(e){return e[Gi(e)]}function Gi(e){return Math.max(0,e.length-1)}function ap(e,t){return t===Gi(e)}function Og(e,t=0){return Array.from(Array(e),(n,r)=>t+r)}function Ni(e){return Object.keys(e)}function Fw(e,t){return[e,t].reduce((n,r)=>(Ni(r).forEach(s=>{const o=n[s],i=r[s],a=Dg(o)&&Dg(i);n[s]=a?Fw(o,i):i}),n),{})}function hf(e,t){return typeof t.MouseEvent<"u"&&e instanceof t.MouseEvent}function FP(e,t){const n={start:r,center:s,end:o};function r(){return 0}function s(l){return o(l)/2}function o(l){return t-l}function i(l,c){return ff(e)?n[e](l):e(t,l,c)}return{measure:i}}function Ai(){let e=[];function t(s,o,i,a={passive:!0}){let l;if("addEventListener"in s)s.addEventListener(o,i,a),l=()=>s.removeEventListener(o,i,a);else{const c=s;c.addListener(i),l=()=>c.removeListener(i)}return e.push(l),r}function n(){e=e.filter(s=>s())}const r={add:t,clear:n};return r}function VP(e,t,n,r){const s=Ai(),o=1e3/60;let i=null,a=0,l=0;function c(){s.add(e,"visibilitychange",()=>{e.hidden&&v()})}function d(){p(),s.clear()}function f(w){if(!l)return;
vendor: 13,662 bytes, line 153
153i||(i=w,n(),n());const m=w-i;for(i=w,a+=m;a>=o;)n(),a-=o;const g=a/o;r(g),l&&(l=t.requestAnimationFrame(f))}function h(){l||(l=t.requestAnimationFrame(f))}function p(){t.cancelAnimationFrame(l),i=null,a=0,l=0}function v(){i=null,a=0}return{init:c,destroy:d,start:h,stop:p,update:n,render:r}}function BP(e,t){const n=t==="rtl",r=e==="y",s=r?"y":"x",o=r?"x":"y",i=!r&&n?-1:1,a=d(),l=f();function c(v){const{height:y,width:w}=v;return r?y:w}function d(){return r?"top":n?"right":"left"}function f(){return r?"bottom":n?"left":"right"}function h(v){return v*i}return{scroll:s,cross:o,startEdge:a,endEdge:l,measureSize:c,direction:h}}function cs(e=0,t=0){const n=xe(e-t);function r(c){return c<e}function s(c){return c>t}function o(c){return r(c)||s(c)}function i(c){return o(c)?r(c)?e:t:c}function a(c){return n?c-n*Math.ceil((c-t)/n):c}return{length:n,max:t,min:e,constrain:i,reachedAny:o,reachedMax:s,reachedMin:r,removeOffset:a}}function Vw(e,t,n){const{constrain:r}=cs(0,e),s=e+1;let o=i(t);function i(h){return n?xe((s+h)%s):r(h)}function a(){return o}function l(h){return o=i(h),f}function c(h){return d().set(a()+h)}function d(){return Vw(e,a(),n)}const f={get:a,set:l,add:c,clone:d};return f}function _P(e,t,n,r,s,o,i,a,l,c,d,f,h,p,v,y,w,m,g){const{cross:x,direction:S}=e,C=["INPUT","SELECT","TEXTAREA"],E={passive:!1},k=Ai(),T=Ai(),N=cs(50,225).constrain(p.measure(20)),P={mouse:300,touch:400},R={mouse:500,touch:600},L=v?43:25;let W=!1,I=0,G=0,B=!1,K=!1,j=!1,A=!1;function F(z){if(!g)return;function te(Ae){(kc(g)||g(z,Ae))&&Se(Ae)}const de=t;k.add(de,"dragstart",Ae=>Ae.preventDefault(),E).add(de,"touchmove",()=>{},E).add(de,"touchend",()=>{}).add(de,"touchstart",te).add(de,"mousedown",te).add(de,"touchcancel",Ce).add(de,"contextmenu",Ce).add(de,"click",De,!0)}function H(){k.clear(),T.clear()}function U(){const z=A?n:t;T.add(z,"touchmove",X,E).add(z,"touchend",Ce).add(z,"mousemove",X,E).add(z,"mouseup",Ce)}function q(z){const te=z.nodeName||"";return C.includes(te)}function Q(){return(v?R:P)[A?"mouse":"touch"]}function le(z,te){const de=f.add(ip(z)*-1),Ae=d.byDistance(z,!v).distance;return v||xe(z)<N?Ae:w&&te?Ae*.5:d.byIndex(de.get(),0).distance}function Se(z){const te=hf(z,r);A=te,j=v&&te&&!z.buttons&&W,W=ri(s.get(),i.get())>=2,!(te&&z.button!==0)&&(q(z.target)||(B=!0,o.pointerDown(z),c.useFriction(0).useDuration(0),s.set(i),U(),I=o.readPoint(z),G=o.readPoint(z,x),h.emit("pointerDown")))}function X(z){if(!hf(z,r)&&z.touches.length>=2)return Ce(z);const de=o.readPoint(z),Ae=o.readPoint(z,x),Ye=ri(de,I),yt=ri(Ae,G);if(!K&&!A&&(!z.cancelable||(K=Ye>yt,!K)))return Ce(z);const vt=o.pointerMove(z);Ye>y&&(j=!0),c.useFriction(.3).useDuration(.75),a.start(),s.add(S(vt)),z.preventDefault()}function Ce(z){const de=d.byDistance(0,!1).index!==f.get(),Ae=o.pointerUp(z)*Q(),Ye=le(S(Ae),de),yt=DP(Ae,Ye),vt=L-10*yt,qe=m+yt/50;K=!1,B=!1,T.clear(),c.useDuration(vt).useFriction(qe),l.distance(Ye,!v),A=!1,h.emit("pointerUp")}function De(z){j&&(z.stopPropagation(),z.preventDefault(),j=!1)}function Pe(){return B}return{init:F,destroy:H,pointerDown:Pe}}function zP(e,t){let r,s;function o(f){return f.timeStamp}function i(f,h){const v=`client${(h||e.scroll)==="x"?"X":"Y"}`;return(hf(f,t)?f:f.touches[0])[v]}function a(f){return r=f,s=f,i(f)}function l(f){const h=i(f)-i(s),p=o(f)-o(r)>170;return s=f,p&&(r=f),h}function c(f){if(!r||!s)return 0;const h=i(s)-i(r),p=o(f)-o(r),v=o(f)-o(s)>170,y=h/p;return p&&!v&&xe(y)>.1?y:0}return{pointerDown:a,pointerMove:l,pointerUp:c,readPoint:i}}function $P(){function e(n){const{offsetTop:r,offsetLeft:s,offsetWidth:o,offsetHeight:i}=n;return{top:r,right:s+o,bottom:r+i,left:s,width:o,height:i}}return{measure:e}}function UP(e){function t(r){return e*(r/100)}return{measure:t}}function HP(e,t,n,r,s,o,i){const a=[e].concat(r);let l,c,d=[],f=!1;function h(w){return s.measureSize(i.measure(w))}function p(w){if(!o)return;c=h(e),d=r.map(h);function m(g){for(const x of g){if(f)return;const S=x.target===e,C=r.indexOf(x.target),E=S?c:d[C],k=h(S?e:r[C]);if(xe(k-E)>=.5){w.reInit(),t.emit("resize");break}}}l=new ResizeObserver(g=>{(kc(o)||o(w,g))&&m(g)}),n.requestAnimationFrame(()=>{a.forEach(g=>l.observe(g))})}function v(){f=!0,l&&l.disconnect()}return{init:p,destroy:v}}function WP(e,t,n,r,s,o){let i=0,a=0,l=s,c=o,d=e.get(),f=0;function h(){const E=r.get()-e.get(),k=!l;let T=0;return k?(i=0,n.set(r),e.set(r),T=E):(n.set(e),i+=E/l,i*=c,d+=i,e.add(i),T=d-f),a=ip(T),f=d,C}function p(){const E=r.get()-t.get();return xe(E)<.001}function v(){return l}function y(){return a}function w(){return i}function m(){return x(s)}function g(){return S(o)}function x(E){return l=E,C}function S(E){return c=E,C}const C={direction:y,duration:v,velocity:w,seek:h,settled:p,useBaseFriction:g,useBaseDuration:m,useFriction:S,useDuration:x};return C}function GP(e,t,n,r,s){const o=s.measure(10),i=s.measure(50),a=cs(.1,.99);let l=!1;function c(){return!(l||!e.reachedAny(n.get())||!e.reachedAny(t.get()))}function d(p){if(!c())return;const v=e.reachedMin(t.get())?"min":"max",y=xe(e[v]-t.get()),w=n.get()-t.get(),m=a.constrain(y/i);n.subtract(w*m),!p&&xe(w)<o&&(n.set(e.constrain(n.get())),r.useDuration(25).useBaseFriction())}function f(p){l=!p}return{shouldConstrain:c,constrain:d,toggleActive:f}}function KP(e,t,n,r,s){const o=cs(-t+e,0),i=f(),a=d(),l=h();function c(v,y){return ri(v,y)<=1}function d(){const v=i[0],y=sn(i),w=i.lastIndexOf(v),m=i.indexOf(y)+1;return cs(w,m)}function f(){return n.map((v,y)=>{const{min:w,max:m}=o,g=o.constrain(v),x=!y,S=ap(n,y);return x?m:S||c(w,g)?w:c(m,g)?m:g}).map(v=>parseFloat(v.toFixed(3)))}function h(){if(t<=e+s)return[o.max];if(r==="keepSnaps")return i;const{min:v,max:y}=a;return i.slice(v,y)}return{snapsContained:l,scrollContainLimit:a}}function QP(e,t,n){const r=t[0],s=n?r-e:sn(t);return{limit:cs(s,r)}}function YP(e,t,n,r){const o=t.min+.1,i=t.max+.1,{reachedMin:a,reachedMax:l}=cs(o,i);function c(h){return h===1?l(n.get()):h===-1?a(n.get()):!1}function d(h){if(!c(h))return;const p=e*(h*-1);r.forEach(v=>v.add(p))}return{loop:d}}function qP(e){const{max:t,length:n}=e;function r(o){const i=o-t;return n?i/-n:0}return{get:r}}function XP(e,t,n,r,s){const{startEdge:o,endEdge:i}=e,{groupSlides:a}=s,l=f().map(t.measure),c=h(),d=p();function f(){return a(r).map(y=>sn(y)[i]-y[0][o]).map(xe)}function h(){return r.map(y=>n[o]-y[o]).map(y=>-xe(y))}function p(){return a(c).map(y=>y[0]).map((y,w)=>y+l[w])}return{snaps:c,snapsAligned:d}}function ZP(e,t,n,r,s,o){const{groupSlides:i}=s,{min:a,max:l}=r,c=d();function d(){const h=i(o),p=!e||t==="keepSnaps";return n.length===1?[o]:p?h:h.slice(a,l).map((v,y,w)=>{const m=!y,g=ap(w,y);if(m){const x=sn(w[0])+1;return Og(x)}if(g){const x=Gi(o)-sn(w)[0]+1;return Og(x,sn(w)[0])}return v})}return{slideRegistry:c}}function JP(e,t,n,r,s){const{reachedAny:o,removeOffset:i,constrain:a}=r;function l(v){return v.concat().sort((y,w)=>xe(y)-xe(w))[0]}function c(v){const y=e?i(v):a(v),w=t.map((g,x)=>({diff:d(g-y,0),index:x})).sort((g,x)=>xe(g.diff)-xe(x.diff)),{index:m}=w[0];return{index:m,distance:y}}function d(v,y){const w=[v,v+n,v-n];if(!e)return v;if(!y)return l(w);const m=w.filter(g=>ip(g)===y);return m.length?l(m):sn(w)-n}function f(v,y){const w=t[v]-s.get(),m=d(w,y);return{index:v,distance:m}}function h(v,y){const w=s.get()+v,{index:m,distance:g}=c(w),x=!e&&o(w);if(!y||x)return{index:m,distance:v};const S=t[m]-g,C=v+d(S,0);return{index:m,distance:C}}return{byDistance:h,byIndex:f,shortcut:d}}function ej(e,t,n,r,s,o,i){function a(f){const h=f.distance,p=f.index!==t.get();o.add(h),h&&(r.duration()?e.start():(e.update(),e.render(1),e.update())),p&&(n.set(t.get()),t.set(f.index),i.emit("select"))}function l(f,h){const p=s.byDistance(f,h);a(p)}function c(f,h){const p=t.clone().set(f),v=s.byIndex(p.get(),h);a(v)}return{distance:l,index:c}}function tj(e,t,n,r,s,o,i,a){const l={passive:!0,capture:!0};let c=0;function d(p){if(!a)return;function v(y){if(new Date().getTime()-c>10)return;i.emit("slideFocusStart"),e.scrollLeft=0;const g=n.findIndex(x=>x.includes(y));op(g)&&(s.useDuration(0),r.index(g,0),i.emit("slideFocus"))}o.add(document,"keydown",f,!1),t.forEach((y,w)=>{o.add(y,"focus",m=>{(kc(a)||a(p,m))&&v(w)},l)})}function f(p){p.code==="Tab"&&(c=new Date().getTime())}return{init:d}}function _o(e){let t=e;function n(){return t}function r(l){t=i(l)}function s(l){t+=i(l)}function o(l){t-=i(l)}function i(l){return op(l)?l:l.get()}return{get:n,set:r,add:s,subtract:o}}function Bw(e,t){const n=e.scroll==="x"?i:a,r=t.style;let s=null,o=!1;function i(h){return`translate3d(${h}px,0px,0px)`}function a(h){return`translate3d(0px,${h}px,0px)`}function l(h){if(o)return;const p=OP(e.direction(h));p!==s&&(r.transform=n(p),s=p)}function c(h){o=!h}function d(){o||(r.transform="",t.getAttribute("style")||t.removeAttribute("style"))}return{clear:d,to:l,toggleActive:c}}function nj(e,t,n,r,s,o,i,a,l){const d=ji(s),f=ji(s).reverse(),h=m().concat(g());function p(k,T){return k.reduce((N,P)=>N-s[P],T)}function v(k,T){return k.reduce((N,P)=>p(N,T)>0?N.concat([P]):N,[])}function y(k){return o.map((T,N)=>({start:T-r[N]+.5+k,end:T+t-.5+k}))}function w(k,T,N){const P=y(T);return k.map(R=>{const L=N?0:-n,W=N?n:0,I=N?"end":"start",G=P[R][I];return{index:R,loopPoint:G,slideLocation:_o(-1),translate:Bw(e,l[R]),target:()=>a.get()>G?L:W}})}function m(){const k=i[0],T=v(f,k);return w(T,n,!1)}function g(){const k=t-i[0]-1,T=v(d,k);return w(T,-n,!0)}function x(){return h.every(({index:k})=>{const T=d.filter(N=>N!==k);return p(T,t)<=.1})}function S(){h.forEach(k=>{const{target:T,translate:N,slideLocation:P}=k,R=T();R!==P.get()&&(N.to(R),P.set(R))})}function C(){h.forEach(k=>k.translate.clear())}return{canLoop:x,clear:C,loop:S,loopPoints:h}}function rj(e,t,n){let r,s=!1;function o(l){if(!n)return;function c(d){for(const f of d)if(f.type==="childList"){l.reInit(),t.emit("slidesChanged");break}}r=new MutationObserver(d=>{s||(kc(n)||n(l,d))&&c(d)}),r.observe(e,{childList:!0})}function i(){r&&r.disconnect(),s=!0}return{init:o,destroy:i}}function sj(e,t,n,r){const s={};let o=null,i=null,a,l=!1;function c(){a=new IntersectionObserver(v=>{l||(v.forEach(y=>{const w=t.indexOf(y.target);s[w]=y}),o=null,i=null,n.emit("slidesInView"))},{root:e.parentElement,threshold:r}),t.forEach(v=>a.observe(v))}function d(){a&&a.disconnect(),l=!0}function f(v){return Ni(s).reduce((y,w)=>{const m=parseInt(w),{isIntersecting:g}=s[m];return(v&&g||!v&&!g)&&y.push(m),y},[])}function h(v=!0){if(v&&o)return o;if(!v&&i)return i;const y=f(v);return v&&(o=y),v||(i=y),y}return{init:c,destroy:d,get:h}}function oj(e,t,n,r,s,o){const{measureSize:i,startEdge:a,endEdge:l}=e,c=n[0]&&s,d=v(),f=y(),h=n.map(i),p=w();function v(){if(!c)return 0;const g=n[0];return xe(t[a]-g[a])}function y(){if(!c)return 0;const g=o.getComputedStyle(sn(r));return parseFloat(g.getPropertyValue(`margin-${l}`))}function w(){return n.map((g,x,S)=>{const C=!x,E=ap(S,x);return C?h[x]+d:E?h[x]+f:S[x+1][a]-g[a]}).map(xe)}return{slideSizes:h,slideSizesWithGaps:p,startGap:d,endGap:f}}function ij(e,t,n,r,s,o,i,a,l){const{startEdge:c,endEdge:d,direction:f}=e,h=op(n);function p(m,g){return ji(m).filter(x=>x%g===0).map(x=>m.slice(x,x+g))}function v(m){return m.length?ji(m).reduce((g,x,S)=>{const C=sn(g)||0,E=C===0,k=x===Gi(m),T=s[c]-o[C][c],N=s[c]-o[x][d],P=!r&&E?f(i):0,R=!r&&k?f(a):0,L=xe(N-R-(T+P));return S&&L>t+l&&g.push(x),k&&g.push(m.length),g},[]).map((g,x,S)=>{const C=Math.max(S[x-1]||0);return m.slice(C,g)}):[]}function y(m){return h?p(m,n):v(m)}return{groupSlides:y}}function aj(e,t,n,r,s,o,i){const{align:a,axis:l,direction:c,startIndex:d,loop:f,duration:h,dragFree:p,dragThreshold:v,inViewThreshold:y,slidesToScroll:w,skipSnaps:m,containScroll:g,watchResize:x,watchSlides:S,watchDrag:C,watchFocus:E}=o,k=2,T=$P(),N=T.measure(t),P=n.map(T.measure),R=BP(l,c),L=R.measureSize(N),W=UP(L),I=FP(a,L),G=!f&&!!g,B=f||!!g,{slideSizes:K,slideSizesWithGaps:j,startGap:A,endGap:F}=oj(R,N,P,n,B,s),H=ij(R,L,w,f,N,P,A,F,k),{snaps:U,snapsAligned:q}=XP(R,I,N,P,H),Q=-sn(U)+sn(j),{snapsContained:le,scrollContainLimit:Se}=KP(L,Q,q,g,k),X=G?le:q,{limit:Ce}=QP(Q,X,f),De=Vw(Gi(X),d,f),Pe=De.clone(),se=ji(n),z=({dragHandler:Bt,scrollBody:bo,scrollBounds:hs,options:{loop:Gn}})=>{Gn||hs.constrain(Bt.pointerDown()),bo.seek()},te=({scrollBody:Bt,translate:bo,location:hs,offsetLocation:Gn,previousLocation:Kn,scrollLooper:Yi,slideLooper:Qn,dragHandler:jc,animation:Nc,eventHandler:So,scrollBounds:qi,options:{loop:Xi}},ps)=>{const _t=Bt.settled(),Ac=!qi.shouldConstrain(),Y=Xi?_t:_t&&Ac,ie=Y&&!jc.pointerDown();ie&&Nc.stop();const ce=hs.get()*ps+Kn.get()*(1-ps);Gn.set(ce),Xi&&(Yi.loop(Bt.direction()),Qn.loop()),bo.to(Gn.get()),ie&&So.emit("settle"),Y||So.emit("scroll")},de=VP(r,s,()=>z(wo),Bt=>te(wo,Bt)),Ae=.68,Ye=X[De.get()],yt=_o(Ye),vt=_o(Ye),qe=_o(Ye),fn=_o(Ye),Ft=WP(yt,qe,vt,fn,h,Ae),fs=JP(f,X,Q,Ce,fn),Vt=ej(de,De,Pe,Ft,fs,fn,i),Ki=qP(Ce),Qi=Ai(),ot=sj(t,n,i,y),{slideRegistry:jn}=ZP(G,g,X,Se,H,se),Pc=tj(e,n,jn,Vt,Ft,Qi,i,E),wo={ownerDocument:r,ownerWindow:s,eventHandler:i,containerRect:N,slideRects:P,animation:de,axis:R,dragHandler:_P(R,e,r,s,fn,zP(R,s),yt,de,Vt,Ft,fs,De,i,W,p,v,m,Ae,C),eventStore:Qi,percentOfView:W,index:De,indexPrevious:Pe,limit:Ce,location:yt,offsetLocation:qe,previousLocation:vt,options:o,resizeHandler:HP(t,i,s,n,R,x,T),scrollBody:Ft,scrollBounds:GP(Ce,qe,fn,Ft,W),scrollLooper:YP(Q,Ce,qe,[yt,qe,vt,fn]),scrollProgress:Ki,scrollSnapList:X.map(Ki.get),scrollSnaps:X,scrollTarget:fs,scrollTo:Vt,slideLooper:nj(R,L,Q,K,j,U,X,qe,n),slideFocus:Pc,slidesHandler:rj(t,i,S),slidesInView:ot,slideIndexes:se,slideRegistry:jn,slidesToScroll:H,target:fn,translate:Bw(R,t)};return wo}function lj(){let e={},t;function n(c){t=c}function r(c){return e[c]||[]}
153function s(c){return r(c).forEach(d=>d(t,c)),l}function o(c,d){return e[c]=r(c).concat([d]),l}function i(c,d){return e[c]=r(c).filter(f=>f!==d),l}function a(){e={}}const l={init:n,emit:s,off:i,on:o,clear:a};return l}const cj={align:"center",axis:"x",container:null,slides:null,containScroll:"trimSnaps",direction:"ltr",slidesToScroll:1,inViewThreshold:0,breakpoints:{},dragFree:!1,dragThreshold:10,loop:!1,skipSnaps:!1,duration:25,startIndex:0,active:!0,watchDrag:!0,watchResize:!0,watchSlides:!0,watchFocus:!0};function uj(e){function t(o,i){return Fw(o,i||{})}function n(o){const i=o.breakpoints||{},a=Ni(i).filter(l=>e.matchMedia(l).matches).map(l=>i[l]).reduce((l,c)=>t(l,c),{});return t(o,a)}function r(o){return o.map(i=>Ni(i.breakpoints||{})).reduce((i,a)=>i.concat(a),[]).map(e.matchMedia)}return{mergeOptions:t,optionsAtMedia:n,optionsMediaQueries:r}}function dj(e){let t=[];function n(o,i){return t=i.filter(({options:a})=>e.optionsAtMedia(a).active!==!1),t.forEach(a=>a.init(o,e)),i.reduce((a,l)=>Object.assign(a,{[l.name]:l}),{})}function r(){t=t.filter(o=>o.destroy())}return{init:n,destroy:r}}function Bl(e,t,n){const r=e.ownerDocument,s=r.defaultView,o=uj(s),i=dj(o),a=Ai(),l=lj(),{mergeOptions:c,optionsAtMedia:d,optionsMediaQueries:f}=o,{on:h,off:p,emit:v}=l,y=R;let w=!1,m,g=c(cj,Bl.globalOptions),x=c(g),S=[],C,E,k;function T(){const{container:se,slides:z}=x;E=(ff(se)?e.querySelector(se):se)||e.children[0];const de=ff(z)?E.querySelectorAll(z):z;k=[].slice.call(de||E.children)}function N(se){const z=aj(e,E,k,r,s,se,l);if(se.loop&&!z.slideLooper.canLoop()){const te=Object.assign({},se,{loop:!1});return N(te)}return z}function P(se,z){w||(g=c(g,se),x=d(g),S=z||S,T(),m=N(x),f([g,...S.map(({options:te})=>te)]).forEach(te=>a.add(te,"change",R)),x.active&&(m.translate.to(m.location.get()),m.animation.init(),m.slidesInView.init(),m.slideFocus.init(Pe),m.eventHandler.init(Pe),m.resizeHandler.init(Pe),m.slidesHandler.init(Pe),m.options.loop&&m.slideLooper.loop(),E.offsetParent&&k.length&&m.dragHandler.init(Pe),C=i.init(Pe,S)))}function R(se,z){const te=H();L(),P(c({startIndex:te},se),z),l.emit("reInit")}function L(){m.dragHandler.destroy(),m.eventStore.clear(),m.translate.clear(),m.slideLooper.clear(),m.resizeHandler.destroy(),m.slidesHandler.destroy(),m.slidesInView.destroy(),m.animation.destroy(),i.destroy(),a.clear()}function W(){w||(w=!0,a.clear(),L(),l.emit("destroy"),l.clear())}function I(se,z,te){!x.active||w||(m.scrollBody.useBaseFriction().useDuration(z===!0?0:x.duration),m.scrollTo.index(se,te||0))}function G(se){const z=m.index.add(1).get();I(z,se,-1)}function B(se){const z=m.index.add(-1).get();I(z,se,1)}function K(){return m.index.add(1).get()!==H()}function j(){return m.index.add(-1).get()!==H()}function A(){return m.scrollSnapList}function F(){return m.scrollProgress.get(m.offsetLocation.get())}function H(){return m.index.get()}function U(){return m.indexPrevious.get()}function q(){return m.slidesInView.get()}function Q(){return m.slidesInView.get(!1)}function le(){return C}function Se(){return m}function X(){return e}function Ce(){return E}function De(){return k}const Pe={canScrollNext:K,canScrollPrev:j,containerNode:Ce,internalEngine:Se,destroy:W,off:p,on:h,emit:v,plugins:le,previousScrollSnap:U,reInit:y,rootNode:X,scrollNext:G,scrollPrev:B,scrollProgress:F,scrollSnapList:A,scrollTo:I,selectedScrollSnap:H,slideNodes:De,slidesInView:q,slidesNotInView:Q};return P(t,n),setTimeout(()=>l.emit("init"),0),Pe}Bl.globalOptions=void 0;function lp(e={},t=[]){const n=b.useRef(e),r=b.useRef(t),[s,o]=b.useState(),[i,a]=b.useState(),l=b.useCallback(()=>{s&&s.reInit(n.current,r.current)},[s]);return b.useEffect(()=>{sp(n.current,e)||(n.current=e,l())},[e,l]),b.useEffect(()=>{IP(r.current,t)||(r.current=t,l())},[t,l]),b.useEffect(()=>{if(LP()&&i){Bl.globalOptions=lp.globalOptions;const c=Bl(i,n.current,r.current);return o(c),()=>c.destroy()}else o(void 0)},[i,o]),[a,s]}lp.globalOptions=void 0;const fj=nv("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),cp=b.forwardRef(({className:e,variant:t,size:n,asChild:r=!1,...s},o)=>{const i=r?dS:"button";return u.jsx(i,{className:Pt(fj({variant:t,size:n,className:e})),ref:o,...s})});cp.displayName="Button";const _w=b.createContext(null);function Tc(){const e=b.useContext(_w);if(!e)throw new Error("useCarousel must be used within a <Carousel />");return e}const zw=b.forwardRef(({orientation:e="horizontal",opts:t,setApi:n,plugins:r,className:s,children:o,...i},a)=>{const[l,c]=lp({...t,axis:e==="horizontal"?"x":"y"},r),[d,f]=b.useState(!1),[h,p]=b.useState(!1),v=b.useCallback(g=>{g&&(f(g.canScrollPrev()),p(g.canScrollNext()))},[]),y=b.useCallback(()=>{c==null||c.scrollPrev()},[c]),w=b.useCallback(()=>{c==null||c.scrollNext()},[c]),m=b.useCallback(g=>{g.key==="ArrowLeft"?(g.preventDefault(),y()):g.key==="ArrowRight"&&(g.preventDefault(),w())},[y,w]);return b.useEffect(()=>{!c||!n||n(c)},[c,n]),b.useEffect(()=>{if(c)return v(c),c.on("reInit",v),c.on("select",v),()=>{c==null||c.off("select",v)}},[c,v]),u.jsx(_w.Provider,{value:{carouselRef:l,api:c,opts:t,orientation:e||((t==null?void 0:t.axis)==="y"?"vertical":"horizontal"),scrollPrev:y,scrollNext:w,canScrollPrev:d,canScrollNext:h},children:u.jsx("div",{ref:a,onKeyDownCapture:m,className:Pt("relative",s),role:"region","aria-roledescription":"carousel",...i,children:o})})});
153zw.displayName="Carousel";const $w=b.forwardRef(({className:e,...t},n)=>{const{carouselRef:r,orientation:s}=Tc();return u.jsx("div",{ref:r,className:"overflow-hidden",children:u.jsx("div",{ref:n,className:Pt("flex",s==="horizontal"?"-ml-4":"-mt-4 flex-col",e),...t})})});$w.displayName="CarouselContent";const Uw=b.forwardRef(({className:e,...t},n)=>{const{orientation:r}=Tc();return u.jsx("div",{ref:n,role:"group","aria-roledescription":"slide",className:Pt("min-w-0 shrink-0 grow-0 basis-full",r==="horizontal"?"pl-4":"pt-4",e),...t})});Uw.displayName="CarouselItem";const hj=b.forwardRef(({className:e,variant:t="outline",size:n="icon",...r},s)=>{const{orientation:o,scrollPrev:i,canScrollPrev:a}=Tc();return u.jsxs(cp,{ref:s,variant:t,size:n,className:Pt("absolute h-8 w-8 rounded-full",o==="horizontal"?"-left-12 top-1/2 -translate-y-1/2":"-top-12 left-1/2 -translate-x-1/2 rotate-90",e),disabled:!a,onClick:i,...r,children:[u.jsx(uc,{className:"h-4 w-4"}),u.jsx("span",{className:"sr-only",children:"Previous slide"})]})});hj.displayName="CarouselPrevious";const pj=b.forwardRef(({className:e,variant:t="outline",size:n="icon",...r},s)=>{const{orientation:o,scrollNext:i,canScrollNext:a}=Tc();return u.jsxs(cp,{ref:s,variant:t,size:n,className:Pt("absolute h-8 w-8 rounded-full",o==="horizontal"?"-right-12 top-1/2 -translate-y-1/2":"-bottom-12 left-1/2 -translate-x-1/2 rotate-90",e),disabled:!a,onClick:i,...r,children:[u.jsx(_i,{className:"h-4 w-4"}),u.jsx("span",{className:"sr-only",children:"Next slide"})]})});pj.displayName="CarouselNext";const ys="#F97015",Fg=[{name:"Lead Qualification",subtitle:"Score and qualify every lead instantly",icon:u.jsx("svg",{viewBox:"0 0 24 24",fill:"none",className:"w-8 h-8",children:u.jsx("path",{d:"M12 2l3.09 6.26L22 9.27l-5 4.87L18.18 22 12 18.27 5.82 22 7 14.14l-5-4.87 6.91-1.01L12 2z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})}),chat:{user:"Qualify this inbound lead from MediCore Systems",attachment:"MediCore_Inquiry.pdf",response:"Lead qualified. ICP score 94%, high buying intent detected.",metrics:[{label:"ICP Match",value:94,positive:!0},{label:"Intent Score",value:87,positive:!0},{label:"Authority",value:"CFO Level",tag:!0}]},bullets:["AI lead scoring across 20+ behavioral and firmographic signals","Real time ICP matching and disqualification","Instant outreach trigger on high intent leads"]},{name:"Pipeline Intelligence",subtitle:"Monitor deal health in real time",icon:u.jsx("svg",{viewBox:"0 0 24 24",fill:"none",className:"w-8 h-8",children:u.jsx("path",{d:"M22 12h-4l-3 9L9 3l-3 9H2",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})}),chat:{user:"Show at-risk deals for Q2 pipeline",attachment:null,response:"Found 3 at-risk deals totalling £1.2M. Recommending intervention.",metrics:[{label:"Healthy deals",value:12,positive:!0},{label:"At risk",value:3,positive:!1},{label:"Win probability",value:"78%",tag:!0}]},bullets:["Deal health and momentum scoring","At risk deal early warning alerts","Win probability forecasting per opportunity"]},{name:"Outreach Personalization",subtitle:"Every message crafted for conversion",icon:u.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",className:"w-8 h-8",children:[u.jsx("path",{d:"M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z",stroke:"currentColor",strokeWidth:"1.5"}),u.jsx("polyline",{points:"22,6 12,13 2,6",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})]}),chat:{user:"Create outreach for healthcare IT decision makers",attachment:"Target_List.csv",response:"Generated 48 personalised sequences across email and LinkedIn.",metrics:[{label:"Sequences created",value:48,positive:!0},{label:"Avg. open rate",value:"62%",tag:!0},{label:"Channels",value:"3",tag:!0}]},bullets:["Signal based message personalization at scale","Multi channel sequence automation (email, LinkedIn, call)","Response intent detection and adaptive follow up"]},{name:"Revenue Forecast",subtitle:"Predict revenue with confidence",icon:u.jsx("svg",{viewBox:"0 0 24 24",fill:"none",className:"w-8 h-8",children:u.jsx("path",{d:"M18 20V10M12 20V4M6 20v-6",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})}),chat:{user:"Generate Q3 revenue forecast for the board",attachment:null,response:"Q3 forecast: £2.8M (85% confidence). Pipeline coverage at 3.2x.",metrics:[{label:"Forecast accuracy",value:"85%",tag:!0},{label:"Coverage",value:"3.2x",tag:!0},{label:"Board ready",value:"Yes",tag:!0}]},bullets:["Confidence based revenue projections by quarter","Pipeline gap and concentration risk alerts","Board ready forecast summaries auto generated"]}];function Vg({agent:e,index:t}){return u.jsxs($.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-50px"},transition:{delay:t*.1,duration:.5},className:"rounded-2xl border border-border bg-[hsl(0_0%_8%)] overflow-hidden group h-full flex flex-col",children:[u.jsxs("div",{className:"p-6 pb-4 relative overflow-hidden",children:[u.jsx("div",{className:"absolute inset-0 opacity-30",style:{backgroundImage:"radial-gradient(circle, hsl(174 82% 40% / 0.15) 1px, transparent 1px)",backgroundSize:"20px 20px"}}),u.jsxs("div",{className:"relative flex items-start justify-between mb-4",children:[u.jsxs("div",{children:[u.jsx("h3",{className:"font-heading font-bold text-lg text-foreground mb-1",children:e.name}),u.jsx("p",{className:"text-sm text-muted-foreground font-body",children:e.subt
153itle})]}),u.jsx($.div,{whileHover:{scale:1.1},className:"w-10 h-10 rounded-full border border-foreground/20 flex items-center justify-center cursor-pointer shrink-0",children:u.jsx("svg",{viewBox:"0 0 24 24",fill:"none",className:"w-5 h-5 text-foreground",children:u.jsx("path",{d:"M5 12h14M12 5l7 7-7 7",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})})]}),u.jsx("div",{className:"relative flex justify-start mb-2",children:u.jsxs("div",{className:"relative",children:[u.jsx("div",{className:"absolute inset-0 w-16 h-16 rounded-full bg-secondary/20 blur-xl"}),u.jsx("div",{className:"relative w-16 h-16 rounded-full bg-secondary/15 border border-secondary/30 flex items-center justify-center text-secondary",children:u.jsx("div",{className:"w-10 h-10 rounded-full bg-secondary/20 flex items-center justify-center",children:e.icon})}),u.jsx("div",{className:"absolute top-full left-1/2 -translate-x-1/2 w-px h-6 bg-gradient-to-b from-secondary/40 to-transparent"})]})})]}),u.jsxs("div",{className:"px-6 pb-6 space-y-3 flex-1 flex flex-col",children:[u.jsx($.div,{initial:{opacity:0,x:10},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{delay:.2+t*.1},className:"flex justify-end",children:u.jsxs("div",{className:"bg-[hsl(0_0%_90%)] text-[hsl(0_0%_10%)] rounded-xl rounded-tr-none px-3.5 py-2.5 max-w-[85%]",children:[u.jsx("p",{className:"text-xs font-body font-medium",children:e.chat.user}),e.chat.attachment&&u.jsxs("div",{className:"flex items-center gap-2 mt-2 bg-[hsl(0_0%_95%)] rounded-lg px-2.5 py-1.5",children:[u.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",className:"w-4 h-4 text-destructive shrink-0",children:[u.jsx("path",{d:"M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z",stroke:"currentColor",strokeWidth:"1.5"}),u.jsx("polyline",{points:"14,2 14,8 20,8",stroke:"currentColor",strokeWidth:"1.5"})]}),u.jsx("span",{className:"text-[10px] font-body font-medium text-[hsl(0_0%_30%)] truncate",children:e.chat.attachment})]})]})}),u.jsxs($.div,{initial:{opacity:0,x:-10},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{delay:.35+t*.1},className:"flex items-start gap-2",children:[u.jsx("div",{className:"w-6 h-6 rounded-full bg-secondary/20 flex items-center justify-center shrink-0 mt-0.5",children:u.jsx("div",{className:"w-3 h-3 rounded-full bg-secondary"})}),u.jsxs("div",{className:"flex-1 space-y-2",children:[u.jsx("p",{className:"text-xs font-body text-foreground/90",children:e.chat.response}),u.jsx("div",{className:"flex flex-wrap gap-1.5",children:e.chat.metrics.map(n=>u.jsxs("span",{className:`inline-flex items-center gap-1 text-[10px] font-heading font-semibold px-2 py-1 rounded-md ${n.tag?"bg-secondary/10 text-secondary border border-secondary/20":n.positive?"bg-secondary/10 text-secondary":"bg-destructive/10 text-destructive"}`,children:[!n.tag&&u.jsx("span",{className:`w-3 h-3 rounded-full flex items-center justify-center text-[8px] ${n.positive?"text-secondary":"text-destructive"}`,children:n.positive?"✓":"✕"}),n.label,": ",n.value]},n.label))})]})]}),u.jsx("div",{className:"pt-2 border-t border-border mt-auto",children:e.bullets.map((n,r)=>u.jsxs("div",{className:"flex items-start gap-2 py-1",children:[u.jsx("span",{className:"text-secondary text-xs mt-0.5",children:"✓"}),u.jsx("span",{className:"text-[11px] text-muted-foreground font-body",children:n})]},r))}),u.jsxs("a",{href:"#demo",className:"inline-flex items-center gap-1 text-secondary hover:text-secondary/80 font-heading font-semibold text-xs mt-3 transition",children:["Learn More ",u.jsx("span",{children:"→"})]})]})]})}function mj(){const[e,t]=b.useState(),[n,r]=b.useState(!1),[s,o]=b.useState(!1);return b.useEffect(()=>{if(!e)return;const i=()=>{r(e.canScrollPrev()),o(e.canScrollNext())};return i(),e.on("select",i),e.on("reInit",i),()=>{e.off("select",i),e.off("reInit",i)}},[e]),u.jsx("section",{id:"agents",className:"section-padding",children:u.jsxs(dn,{className:"container-wide px-4 md:px-8",children:[u.jsxs("div",{className:"text-center mb-12 md:mb-16",children:[u.jsx(Wn,{children:"Multi Agent System"}),u.jsxs("h2",{className:"text-center font-heading font-black mt-5 mb-4 text-foreground text-4xl md:text-5xl lg:text-[3.4rem] leading-[1.05]",children:["Autonomous AI systems for ",u.jsx("br",{})," revenue acceleration"]}),u.jsx("p",{className:"text-muted-foreground font-body text-base max-w-2xl md:mx-auto",children:"Each agent runs a focused, autonomous workflow. Deploy one or all. They w
153ork together as a unified revenue intelligence layer."})]}),u.jsx("div",{className:"hidden lg:grid grid-cols-2 gap-5",children:Fg.map((i,a)=>u.jsx(Vg,{agent:i,index:a},i.name))}),u.jsxs("div",{className:"lg:hidden relative",children:[u.jsx(zw,{setApi:t,opts:{align:"start",loop:!1},className:"w-full",children:u.jsx($w,{className:"items-stretch",children:Fg.map((i,a)=>u.jsx(Uw,{className:"basis-full h-auto",children:u.jsx(Vg,{agent:i,index:a})},i.name))})}),u.jsx("button",{type:"button","aria-label":"Previous",onClick:()=>e==null?void 0:e.scrollPrev(),disabled:!n,className:"absolute left-0 top-1/2 -translate-y-1/2 z-10 rounded-full flex items-center justify-center transition-all duration-300 enabled:hover:scale-105 disabled:cursor-not-allowed",style:{width:"32px",height:"32px",backgroundColor:n?ys:"#111111",border:`1px solid ${n?ys:"rgba(255,255,255,0.12)"}`,color:n?"#FFFFFF":"rgba(255,255,255,0.3)",opacity:n?1:.5,boxShadow:n?`0 4px 16px ${ys}55`:"0 4px 16px rgba(0,0,0,0.4)"},children:u.jsx(uc,{size:16})}),u.jsx("button",{type:"button","aria-label":"Next",onClick:()=>e==null?void 0:e.scrollNext(),disabled:!s,className:"absolute right-0 top-1/2 -translate-y-1/2 z-10 rounded-full flex items-center justify-center transition-all duration-300 enabled:hover:scale-105 disabled:cursor-not-allowed",style:{width:"32px",height:"32px",backgroundColor:s?ys:"#111111",border:`1px solid ${s?ys:"rgba(255,255,255,0.12)"}`,color:s?"#FFFFFF":"rgba(255,255,255,0.3)",opacity:s?1:.5,boxShadow:s?`0 4px 16px ${ys}55`:"0 4px 16px rgba(0,0,0,0.4)"},children:u.jsx(_i,{size:16})})]})]})})}const gj="/assets/b2boost-logo-white-aC8VkW0k.png",Au="I've integrated Marketing's behavioural data. They first engaged via the Q1 Diagnostic Innovation Summit. Use that as your opening anchor.",Bg="Q1 Diagnostic Innovation Summit";function yj(){const[e,t]=b.useState(""),[n,r]=b.useState(!1);if(b.useEffect(()=>{let s=0;const o=setInterval(()=>{s++,t(Au.slice(0,s)),s>=Au.length&&(clearInterval(o),r(!0))},22);return()=>clearInterval(o)},[]),n){const s=Au.split(Bg);return u.jsxs("p",{className:"text-xs font-body text-foreground/90 leading-relaxed",children:[s[0],u.jsx("span",{className:"text-primary font-semibold",children:Bg}),s[1]]})}return u.jsxs("p",{className:"text-xs font-body text-foreground/90 leading-relaxed",children:[e,u.jsx($.span,{animate:{opacity:[1,0]},transition:{duration:.5,repeat:1/0,repeatType:"reverse"},className:"inline-block w-[2px] h-3 bg-secondary ml-0.5 align-middle"})]})}const vj=[{name:"Sarah Jenkins",role:"CFO",type:"ECONOMIC BUYER",engaged:!1},{name:"David Thorne",role:"Head of Product",type:"CHAMPION",engaged:!0},{name:"Marcus Vane",role:"IT Director",type:"INFLUENCER",engaged:!0}],xj=[{name:"OPTUM HEALTH",strength:"Massive scale and payer network",weakness:"High implementation friction"},{name:"CERNER",strength:"Deep clinical workflows",weakness:"UX technical debt"}],wj=[{label:"Operational Efficiency",value:85},{label:"Legacy Migration",value:70},{label:"Cost Reduction",value:25}],bj=[{step:"Schedule discovery call with Sarah Jenkins (CFO)",time:"Suggested: Tomorrow 2:00 PM"},{step:"Send tailored ROI deck via AI Manager",time:"Auto-generated, ready to review"},{step:"Brief champion David Thorne before CFO meeting",time:"Prep notes attached"}];function Sj(){const[e,t]=b.useState(!1);return u.jsxs("div",{className:"space-y-5",children:[u.jsxs($.div,{initial:{opacity:0,x:-20},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{delay:.3,duration:.5},className:"flex gap-3 items-start",children:[u.jsx("div",{className:"w-9 h-9 rounded-full overflow-hidden border border-secondary shrink-0",children:u.jsx("img",{src:Ec,alt:"AI Manager",className:"w-full h-full object-cover"})}),u.jsx("div",{className:"bg-[hsl(0_0%_12%)] rounded-xl rounded-tl-none px-4 py-3 max-w-md border border-border",children:u.jsx(yj,{})})]}),u.jsx("div",{className:"w-full h-px bg-primary/30"}),u.jsxs($.div,{initial:{opacity:0}
153,whileInView:{opacity:1},viewport:{once:!0},transition:{delay:.4},children:[u.jsx("h3",{className:"font-heading font-extrabold text-xl text-foreground",children:"MediCore Systems"}),u.jsxs("div",{className:"flex items-center gap-2 mt-1",children:[u.jsx("span",{className:"w-2 h-2 rounded-full bg-primary"}),u.jsx("span",{className:"text-xs font-heading font-bold text-primary uppercase tracking-widest",children:"87% Strategy Confidence"})]})]}),u.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[u.jsxs("div",{className:"space-y-4",children:[u.jsxs($.div,{initial:{opacity:0,y:15},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:.45},className:"rounded-xl bg-[hsl(0_0%_10%)] border border-border p-4",children:[u.jsxs("div",{className:"flex items-center gap-2 mb-2",children:[u.jsx("span",{className:"text-xs text-secondary",children:"↓"}),u.jsx("span",{className:"text-[10px] font-heading font-bold text-secondary uppercase tracking-widest",children:"Conversation Anchor"})]}),u.jsx("p",{className:"text-[11px] text-muted-foreground mb-2",children:"Original Marketing Hook:"}),u.jsx("p",{className:"text-xs font-body font-semibold text-foreground",children:'"Q1 Diagnostic Innovation Summit"'}),u.jsxs("div",{className:"mt-3 bg-primary/10 border border-primary/20 rounded-lg px-3 py-2",children:[u.jsx("p",{className:"text-[10px] font-heading font-bold text-primary uppercase mb-1",children:"AI Manager's Suggested Opener"}),u.jsx("p",{className:"text-xs text-foreground/80 italic leading-relaxed",children:'"I noticed your team was exploring our recent Diagnostic Summit findings - specifically the operational efficiency benchmarks..."'})]})]}),u.jsxs($.div,{initial:{opacity:0,y:15},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:.5},className:"rounded-xl bg-[hsl(0_0%_10%)] border border-border p-4",children:[u.jsxs("div",{className:"flex items-center gap-2 mb-3",children:[u.jsx("span",{className:"text-xs",children:"📊"}),u.jsx("span",{className:"text-[10px] font-heading font-bold text-muted-foreground uppercase tracking-widest",children:"Account Overview"})]}),u.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[u.jsxs("div",{children:[u.jsx("p",{className:"text-[10px] text-muted-foreground uppercase",children:"Potential Revenue"}),u.jsx("p",{className:"text-2xl font-heading font-extrabold text-foreground",children:"£597k"})]}),u.jsxs("div",{children:[u.jsx("p",{className:"text-[10px] text-muted-foreground uppercase",children:"Est. Confidence"}),u.jsx("p",{className:"text-2xl font-heading font-extrabold text-secondary",children:"87%"})]})]}),u.jsx("p",{className:"text-[11px] text-muted-foreground mt-3 leading-relaxed",children:"Leader in integrated diagnostic imaging systems for public health trusts."})]}),u.jsxs($.div,{initial:{opacity:0,y:15},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:.55},className:"rounded-xl bg-[hsl(0_0%_10%)] border border-border p-4",children:[u.jsxs("div",{className:"flex items-center gap-2 mb-3",children:[u.jsx("span",{className:"text-xs",children:"👥"}),u.jsx("span",{className:"text-[10px] font-heading font-bold text-muted-foreground uppercase tracking-widest",children:"Key Stakeholders"})]}),u.jsx("div",{className:"space-y-2.5",children:vj.map((n,r)=>u.jsxs($.div,{initial:{opacity:0,x:-10},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{delay:.6+r*.08},className:"flex items-center justify-between",children:[u.jsxs("div",{children:[u.jsx("span",{className:"text-xs font-heading font-bold text-foreground",children:n.name}),u.jsxs("span",{className:"text-[10px] text-muted-foreground ml-2",children:[n.role," · ",n.type]})]}),u.jsx("span",{className:`text-[9px] font-heading font-bold uppercase px-2 py-0.5 rounded ${n.engaged?"bg-secondary/20 text-secondary":"bg-destructive/20 text-destructive line-through"}`,children:n.engaged?"Engaged":"Not Engaged"})]},n.name))})]})]}),u.jsxs("div",{className:"space-y-4",children:[u.jsxs($.div,{initial:{opacity:0,y:15},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:.5},className:"rounded-xl bg-[hsl(0_0%_10%)] border border-border p-4",children:[u.jsxs("div",{className:"flex items-center gap-2 mb-3",children:[u.jsx("span",{className:"text-xs",children:"🔍"}),u.jsx("span",{className:"text-[10px] font-heading font-bold text-muted-foreground uppercase tracking-widest",children:"Competitor Insights"})]}),u.jsx("div",{className:"space-y-3",children:xj.map(n=>u.jsxs("div",{className:"space-y-1",children:[u.jsx("span",{className:"text-xs font-heading font-bold text-foreground",children:n.name}),u.jsxs("div",{className:"flex items-start gap-1.5",children:[u.jsx("span",{className:"w-1.5 h-1.5 rounded-full bg-secondary mt-1 shrink-0"}),u.jsxs("p",{className:"text-[11px] text-muted-foreground",children:[u.jsx("span",{className:"text-foreground
153/70 font-medium",children:"Strength:"})," ",n.strength]})]}),u.jsxs("div",{className:"flex items-start gap-1.5",children:[u.jsx("span",{className:"w-1.5 h-1.5 rounded-full bg-destructive mt-1 shrink-0"}),u.jsxs("p",{className:"text-[11px] text-muted-foreground",children:[u.jsx("span",{className:"text-foreground/70 font-medium",children:"Weakness:"})," ",n.weakness]})]})]},n.name))})]}),u.jsxs($.div,{initial:{opacity:0,y:15},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:.55},className:"rounded-xl bg-[hsl(0_0%_10%)] border border-border p-4",children:[u.jsxs("div",{className:"flex items-center gap-2 mb-3",children:[u.jsx("span",{className:"text-xs",children:"💬"}),u.jsx("span",{className:"text-[10px] font-heading font-bold text-muted-foreground uppercase tracking-widest",children:"Messaging Fit (Resonance)"})]}),u.jsx("div",{className:"space-y-3",children:wj.map(n=>u.jsxs("div",{children:[u.jsxs("div",{className:"flex justify-between items-center mb-1",children:[u.jsx("span",{className:"text-xs font-heading font-semibold text-foreground",children:n.label}),u.jsxs("span",{className:"text-xs font-heading font-bold text-foreground",children:[n.value,"%"]})]}),u.jsx("div",{className:"h-1.5 bg-[hsl(0_0%_15%)] rounded-full overflow-hidden",children:u.jsx($.div,{initial:{width:0},whileInView:{width:`${n.value}%`},viewport:{once:!0},transition:{delay:.7,duration:.8,ease:"easeOut"},className:`h-full rounded-full ${n.value>50?"bg-secondary":"bg-primary"}`})})]},n.label))})]}),u.jsxs($.div,{initial:{opacity:0,y:15},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:.6},className:"rounded-xl bg-[hsl(0_0%_10%)] border border-border p-4",children:[u.jsxs("div",{className:"flex items-center gap-2 mb-3",children:[u.jsx("span",{className:"text-xs",children:"⚠️"}),u.jsx("span",{className:"text-[10px] font-heading font-bold text-destructive uppercase tracking-widest",children:"Risks and Gaps"})]}),u.jsxs("ul",{className:"space-y-1.5",children:[u.jsxs("li",{className:"flex items-start gap-2",children:[u.jsx("span",{className:"w-1 h-1 rounded-full bg-destructive mt-1.5 shrink-0"}),u.jsx("span",{className:"text-[11px] text-muted-foreground",children:"Economic buyer not yet engaged"})]}),u.jsxs("li",{className:"flex items-start gap-2",children:[u.jsx("span",{className:"w-1 h-1 rounded-full bg-destructive mt-1.5 shrink-0"}),u.jsx("span",{className:"text-[11px] text-muted-foreground",children:"Legal review not started"})]})]})]}),u.jsxs($.div,{initial:{opacity:0,y:15},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:.65},className:"rounded-xl bg-primary/10 border border-primary/30 p-4 flex items-center justify-between gap-3 cursor-pointer hover:bg-primary/15 transition-colors",children:[u.jsxs("div",{className:"flex items-center gap-3",children:[u.jsx("span",{className:"text-sm",children:"📄"}),u.jsxs("div",{children:[u.jsx("span",{className:"text-xs font-heading font-bold text-foreground",children:"Account Strategy Document"}),u.jsx("p",{className:"text-[10px] text-muted-foreground",children:"View full PDF breakdown"})]})]}),u.jsx("span",{className:"text-muted-foreground text-lg",children:"+"})]})]})]}),u.jsx($.div,{initial:{opacity:0,y:10},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:.7},className:"pt-2 flex w-full",children:u.jsx(xo,{mode:"wait",children:e?u.jsxs($.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{duration:.4},className:"space-y-3",children:[u.jsxs("div",{className:"flex items-center gap-2 mb-1",children:[u.jsx("span",{className:"w-5 h-5 rounded-full bg-secondary flex items-center justify-center text-[10px] text-secondary-foreground font-bold",children:"✓"}),u.jsx("span",{className:"text-xs font-heading font-bold text-secondary uppercase tracking-widest",children:"Readiness Confirmed"})]}),u.jsxs("div",{className:"rounded-xl bg-[hsl(0_0%_10%)] border border-secondary/20 p-4",children:[u.jsx("p",{className:"text-[10px] font-heading font-bold text-muted-foreground uppercase tracking-widest mb-3",children:"Recommended Next Steps"}),u.jsx("div",{className:"space-y-2.5",children:bj.map((n,r)=>u.jsxs($.div,{initial:{opacity:0,x:-15}
153,animate:{opacity:1,x:0},transition:{delay:.15+r*.12},className:"flex items-start gap-3 px-3 py-2.5 rounded-lg bg-[hsl(0_0%_12%)] border border-border",children:[u.jsx("span",{className:"w-5 h-5 rounded-full bg-primary/15 border border-primary/30 flex items-center justify-center text-[10px] text-primary font-bold shrink-0 mt-0.5",children:r+1}),u.jsxs("div",{children:[u.jsx("p",{className:"text-xs font-heading font-semibold text-foreground",children:n.step}),u.jsx("p",{className:"text-[10px] text-muted-foreground mt-0.5",children:n.time})]})]},n.step))})]}),u.jsx("button",{onClick:()=>t(!1),className:"text-[10px] text-muted-foreground hover:text-foreground transition-colors font-body underline underline-offset-2",children:"Reset demo"})]},"next-steps"):u.jsx($.button,{onClick:()=>t(!0),whileHover:{y:-1},whileTap:{scale:.98},exit:{opacity:0,scale:.95},className:"inline-flex items-center justify-center w-full sm:w-auto sm:self-start h-10 px-6 rounded-full bg-primary text-primary-foreground font-heading font-medium text-sm tracking-wide shadow-sm hover:bg-primary/90 hover:shadow-md transition-all duration-200",children:"Confirm Readiness"},"confirm")})})]})}const Cj=[{name:"Sarah Jenkins",title:"CFO",type:"ECONOMIC BUYER",engaged:!1},{name:"David Thorne",title:"Head of Product",type:"CHAMPION",engaged:!0},{name:"Marcus Vane",title:"IT Director",type:"INFLUENCER",engaged:!0}],Ej=[{step:"Schedule discovery call with CFO",status:"pending"},{step:"Send tailored ROI deck to champion",status:"done"},{step:"Initiate legal review process",status:"pending"},{step:"Align IT Director on integration timeline",status:"done"}];function kj(){return u.jsxs("div",{className:"space-y-5",children:[u.jsxs("div",{children:[u.jsx("span",{className:"text-[10px] text-muted-foreground uppercase tracking-widest",children:"Executive Review"}),u.jsx("h3",{className:"font-heading font-extrabold text-xl text-foreground mt-1",children:"MediCore Systems"})]}),u.jsxs("div",{className:"flex gap-2",children:[u.jsxs("div",{className:"px-3 py-1.5 rounded-lg bg-[hsl(0_0%_12%)] border border-border text-[10px] font-heading font-semibold text-foreground cursor-pointer hover:bg-[hsl(0_0%_15%)] transition-colors flex items-center gap-1.5",children:[u.jsx("svg",{viewBox:"0 0 24 24",fill:"none",className:"w-3 h-3 text-muted-foreground",children:u.jsx("path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4M7 10l5 5 5-5M12 15V3",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),"Export"]}),u.jsx("div",{className:"px-3 py-1.5 rounded-lg bg-primary text-primary-foreground text-[10px] font-heading font-bold cursor-pointer hover:bg-primary/90 transition-colors",children:"Support Strategy"})]}),u.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:[u.jsxs($.div,{initial:{opacity:0,y:15},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:.3},className:"rounded-xl bg-[hsl(0_0%_10%)] border border-border p-4",children:[u.jsx("span",{className:"text-[10px] text-muted-foreground uppercase tracking-widest",children:"Selected Account"}),u.jsxs("div",{className:"mt-3 space-y-3",children:[u.jsxs("div",{children:[u.jsx("p",{className:"text-[10px] text-muted-foreground uppercase",children:"Est. Account Potential"}),u.jsx("p",{className:"text-2xl font-heading font-extrabold text-foreground",children:"£597k"})]}),u.jsxs("div",{children:[u.jsx("p",{className:"text-[10px] text-muted-foreground uppercase",children:"Confidence Score"}),u.jsxs("div",{className:"flex items-center gap-2 mt-1",children:[u.jsx("p",{className:"text-2xl font-heading font-extrabold text-secondary",children:"87%"}),u.jsx("div",{className:"flex-1 h-1.5 bg-[hsl(0_0%_15%)] rounded-full overflow-hidden",children:u.jsx($.div,{initial:{width:0},whileInView:{width:"87%"},viewport:{once:!0},transition:{delay:.5,duration:.8},className:"h-full rounded-full bg-secondary"})})]})]})]})]}),u.jsxs($.div,{initial:{opacity:0,y:15},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:.4},className:"rounded-xl bg-[hsl(0_0%_10%)] border border-border p-4",children:[u.jsx("span",{className:"text-[10px] text-muted-foreground uppercase tracking-widest",children:"Key Stakeholders"}),u.jsx("div",{className:"mt-3 space-y-3",children:Cj.map(e=>u.jsxs("div",{children:[u.jsx("div",{className:"flex items-center justify-between",children:u.jsxs("div",{children:[u.jsx("span",{className:"text-[10px] text-muted-foreground uppercase",children:e.type}),u.jsx("p",{className:"text-xs font-heading font-bold text-foreground",children:e.title})]})}),u.jsx("div",{className:"mt-1",children:u.jsx("span",{className:`text-[9px] font-heading font-bold uppercase px-2 py-0.5 rounded ${e.engaged?"bg-secondary/20 text-secondary":"bg-muted text-muted-foreground"}`,children:e.engaged?"Engaged":"Not Engaged"})})]},e.name))})]}),u.jsxs($.div,{initial:{opacity:0,y:15},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:.5},className:"rounded-xl bg-[hsl(0_0%_10%)] border border-border p-4",children:[u.jsxs("div",{className:"flex items-center justify-between mb-3",children:[u.jsx("span",{className:"text-xs font-heading font-bold text-foreground",children:"Executive Summary"}),u.jsx("div",{className:"w-7 h-7 rounded-full overflow-hidden border border-secondary",children:u.jsx("img",{src:Ec,alt:"AI Manager",className:"w-full h-full object-cover"})})]}),u.jsxs("div",{className:"space-y-3",children:[u.jsxs("div",{children:[u.jsx("p",{className:"text-[10px] font-heading font-bold text-muted-foreground uppercase",children:"Why This Account Matters"}
153),u.jsx("p",{className:"text-[11px] text-foreground/80 leading-relaxed mt-1",children:"MediCore represents a high-trust expansion opportunity. Their recent wins necessitate digital upgrades aligning with our 2026 launch capabilities."})]}),u.jsxs("div",{children:[u.jsx("p",{className:"text-[10px] font-heading font-bold text-muted-foreground uppercase",children:"Key Assumptions"}),u.jsx("p",{className:"text-[11px] text-foreground/80 leading-relaxed mt-1",children:"Assumes budget reallocation from deferred legacy maintenance. Assumes champion maintains internal leverage."})]}),u.jsxs("div",{children:[u.jsx("p",{className:"text-[10px] font-heading font-bold text-destructive uppercase",children:"Key Risks"}),u.jsxs("ul",{className:"mt-1 space-y-1",children:[u.jsxs("li",{className:"text-[11px] text-foreground/80 flex items-start gap-1.5",children:[u.jsx("span",{className:"w-1 h-1 rounded-full bg-destructive mt-1.5 shrink-0"}),"Economic buyer not yet engaged"]}),u.jsxs("li",{className:"text-[11px] text-foreground/80 flex items-start gap-1.5",children:[u.jsx("span",{className:"w-1 h-1 rounded-full bg-destructive mt-1.5 shrink-0"}),"Legal review not started"]})]})]})]})]})]}),u.jsxs($.div,{initial:{opacity:0,y:15},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:.6},className:"rounded-xl bg-[hsl(0_0%_10%)] border border-border p-4",children:[u.jsx("span",{className:"text-[10px] font-heading font-bold text-muted-foreground uppercase tracking-widest",children:"Steps to Close"}),u.jsx("div",{className:"mt-3 grid grid-cols-1 sm:grid-cols-2 gap-2",children:Ej.map((e,t)=>u.jsxs($.div,{initial:{opacity:0,x:-10},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{delay:.65+t*.08},className:"flex items-center gap-2 px-3 py-2 rounded-lg bg-[hsl(0_0%_12%)]",children:[u.jsx("span",{className:`w-4 h-4 rounded-full flex items-center justify-center text-[10px] shrink-0 ${e.status==="done"?"bg-secondary/20 text-secondary":"bg-muted text-muted-foreground"}`,children:e.status==="done"?"✓":"○"}),u.jsx("span",{className:`text-xs font-body ${e.status==="done"?"text-foreground/60 line-through":"text-foreground"}`,children:e.step})]},e.step))})]})]})}function _g({className:e="w-4 h-4"}){return u.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",className:e,children:[u.jsx("path",{d:"M12 2a3 3 0 0 0-3 3v6a3 3 0 0 0 6 0V5a3 3 0 0 0-3-3Z",fill:"currentColor"}),u.jsx("path",{d:"M19 10v1a7 7 0 0 1-14 0v-1M12 18v4m-4 0h8",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"})]})}function Tj({className:e="w-4 h-4"}){return u.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",className:e,children:[u.jsx("path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),u.jsx("polyline",{points:"17,8 12,3 7,8",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),u.jsx("line",{x1:"12",y1:"3",x2:"12",y2:"15",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"})]})}function Pj(){const[e,t]=b.useState("rep");return u.jsx("section",{id:"ai-in-action",className:"section-padding overflow-hidden",children:u.jsxs(dn,{className:"container-wide px-4 md:px-8",children:[u.jsxs("div",{className:"flex flex-col items-center mb-10 md:mb-14",children:[u.jsx(Wn,{children:"AI Manager"}),u.jsxs("h2",{className:"text-center font-heading font-black mt-5 mb-4 text-foreground text-4xl md:text-5xl lg:text-[3.4rem] leading-[1.05]",children:["Watch AI automate enterprise ",u.jsx("br",{})," work in real time"]}),u.jsx("p",{className:"text-center text-muted-foreground font-body text-base max-w-2xl",children:"A real-time intelligence briefing for every account. Your AI Manager prepares everything before you pick up the phone."})]}),u.jsxs($.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7},className:"max-w-4xl mx-auto rounded-2xl overflow-hidden border border-border",style:{boxShadow:"0 30px 80px rgba(0,0,0,0.5)"},children:[u.jsxs("div",{className:"bg-[hsl(0_0%_8%)] px-4 sm:px-5 py-3 flex items-center justify-between border-b border-border",children:[u.jsxs("div",{className:"flex items-center gap-3",children:[u.jsx("div",{className:"bg-foreground
153/90 px-3 py-1.5 rounded-lg",children:u.jsx("img",{src:gj,alt:"B2Boost",className:"h-4 object-contain"})}),u.jsxs("div",{className:"flex items-center bg-[hsl(0_0%_12%)] rounded-lg p-0.5",children:[u.jsx("button",{onClick:()=>t("rep"),className:`px-3 py-1 rounded-md text-[10px] font-heading font-bold uppercase tracking-wider transition-colors ${e==="rep"?"bg-secondary/20 text-secondary":"text-muted-foreground hover:text-foreground"}`,children:"Rep View"}),u.jsx("button",{onClick:()=>t("executive"),className:`px-3 py-1 rounded-md text-[10px] font-heading font-bold uppercase tracking-wider transition-colors ${e==="executive"?"bg-primary/20 text-primary":"text-muted-foreground hover:text-foreground"}`,children:"Executive Console"})]})]}),u.jsxs("div",{className:"flex items-center gap-2",children:[u.jsx($.div,{whileHover:{scale:1.1},className:"w-8 h-8 rounded-lg bg-secondary/15 border border-secondary/30 flex items-center justify-center cursor-pointer mic-pulse",children:u.jsx(_g,{className:"w-4 h-4 text-secondary"})}),u.jsx($.div,{whileHover:{scale:1.1},className:"w-8 h-8 rounded-lg bg-primary/15 border border-primary/30 flex items-center justify-center cursor-pointer",children:u.jsx(Tj,{className:"w-4 h-4 text-primary"})}),u.jsx("div",{className:"w-8 h-8 rounded-full overflow-hidden border-2 border-secondary",children:u.jsx("img",{src:Ec,alt:"AI Manager",className:"w-full h-full object-cover"})}),u.jsx("div",{className:"w-8 h-8 rounded-full overflow-hidden border-2 border-primary",children:u.jsx("img",{src:Ow,alt:"George",className:"w-full h-full object-cover"})})]})]}),u.jsx("div",{className:"bg-[hsl(0_0%_8%)] px-4 sm:px-5 py-2 border-b border-border",children:u.jsxs("div",{className:"flex items-center gap-2 bg-[hsl(0_0%_12%)] rounded-lg px-3 py-2",children:[u.jsx("span",{className:"text-xs text-muted-foreground flex-1",children:"Ask AI Manager for advice..."}),u.jsx(_g,{className:"w-3.5 h-3.5 text-secondary"}),u.jsx("div",{className:"w-5 h-5 rounded-full bg-primary flex items-center justify-center",children:u.jsx("svg",{viewBox:"0 0 24 24",fill:"none",className:"w-3 h-3 text-primary-foreground",children:u.jsx("path",{d:"M22 2L11 13M22 2l-7 20-4-9-9-4 20-7z",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})})]})}),u.jsx("div",{className:"bg-[hsl(0_0%_7%)] p-4 sm:p-6",children:u.jsx(xo,{mode:"wait",children:e==="rep"?u.jsx($.div,{initial:{opacity:0,x:-20},animate:{opacity:1,x:0},exit:{opacity:0,x:20},transition:{duration:.3},children:u.jsx(Sj,{})},"rep"):u.jsx($.div,{initial:{opacity:0,x:20},animate:{opacity:1,x:0},exit:{opacity:0,x:-20},transition:{duration:.3},children:u.jsx(kj,{})},"executive")})})]})]})})}const it="#F97015",pf="#12BAA9",jj=[{value:"3.7×",label:"Higher target attainment",desc:"Professionals who effectively partner with AI",icon:"🎯"},{value:"95%",label:"Prospect research starts with AI",desc:"By 2027, up from <20% in 2024",icon:"🔍"},{value:"10:1",label:"AI agents to sellers by 2028",desc:"Transforming prospecting and qualification at scale",icon:"🤖"},{value:"15%",label:"Autonomous decisions by 2028",desc:"Agentic AI accelerating qualification and prioritisation",icon:"⚡"}],Nj=[{title:"Revenue Effectiveness",tone:"primary",metrics:[{name:"Opportunity Win Rate",before:"25 to 30%",after:"+3 to 5pp",icon:"🎯"},{name:"Sales Cycle Duration",before:"~90 days",after:"30 to 60 days",icon:"⏱️"}]},{title:"Productivity and Efficiency",tone:"secondary",metrics:[{name:"Cost per Qualified Opp",before:"£3 to £5/lead",after:"£0.10 to £0.50",icon:"💰"},{name:"Time to Qualification",before:"3 to 5 hours",after:"<5 min",icon:"⚡"},{name:"Opps per Sales FTE",before:"Static",after:"+15 to 25%",icon:"📈"},{name:"Revenue per Employee",before:"Baseline",after:"+10 to 20%",icon:"👤"}]},{title:"Forecasting and Decision Quality",tone:"mixed",metrics:[{name:"Forecast Accuracy",before:"~70%",after:">85%",icon:"🎯"},{name:"Forecast Variance",before:"High",after:"Reduced 20 to 30%",icon:"📉"},{name:"Probability Calibration",before:"Unmeasured",after:"High accuracy",icon:"🧠"}]},{title:"Financial Impact",tone:"primary",metrics:[{name:"Incremental Revenue",before:"Baseline",after:"+£3 to 4m (£25m firm)",icon:"💎"},{name:"Revenue Velocity",before:"Slower",after:"+30%",icon:"🚀"},{name:"ROI Ratio",before:"N/A",after:">3:1 in 12mo",icon:"📊"},{name:"Payback Period",before:"N/A",after:"<6 to 12 months",icon:"⏳"}]},{title:"Operational Health",tone:"secondary",metrics:[{name:"Reply Handling Time",before:"24+ hours",after:"<5 min",icon:"📬"}]}],Aj=e=>e==="primary"?it:e==="secondary"?pf:it;function Mj(){const e=b.useRef(null),[t,n]=b.useState(!1),[r,s]=b.useState(!0);b.useEffect(()=>{const a=e.current;if(!a)return;const l=()=>{n(a.scrollLeft>4),s(a.scrollLeft+a.clientWidth<a.scrollWidth-4)};return l(),a.addEventListener("scroll",l,{passive:!0}),window.addEventListener("resize",l),()=>{a.removeEventListener("scroll",l),window.removeEventListener("resize",l)}},[]);const o=a=>{const l=e.current;if(!l)return;const c=l.querySelector("[data-carousel-card]"),d=c?c.offsetWidth+20:l.clientWidth*.8;l.scrollBy({left:a*d,behavior:"smooth"})},i=(a,l)=>{const c=Aj(a.tone),d=a.tone==="mixed"?`linear-gradient(180deg, ${it}, ${pf})`:c;return u.jsxs("div",{className:"group relative rounded-2xl flex flex-col h-full transition-[box-shadow,border-color] duration-300",style:{padding:"24px",backgroundColor:"#111111",border:"1px solid rgba(255,255,255,0.18)",boxShadow:"inset 0 1px 0 rgba(255,255,255,0.18)",transform:"translateZ(0)",willChange:"box-shadow, border-color"},onMouseEnter:f=>{f.currentTarget.style.boxShadow=`inset 0 1px 0 ${c}88, 0 0 24px ${c}33`,f.currentTarget.style.borderColor=`${c}66`},onMouseLeave:f=>{f.currentTarget.style.boxShadow="inset 0 1px 0 rgba(255,255,255,0.18)",f.currentTarget.style.borderColor="rgba(255,255,255,0.18)"}
153,children:[u.jsx("div",{"aria-hidden":!0,className:"absolute left-0 top-3 bottom-3 rounded-r",style:{width:"3px",background:d}}),u.jsx("h3",{className:"font-heading font-bold mb-5",style:{fontSize:"16px",letterSpacing:"0.05em",color:a.tone==="mixed"?it:c},children:a.title}),u.jsx("div",{className:"flex flex-col gap-3 flex-1",children:a.metrics.map(f=>u.jsxs("div",{className:"rounded-xl p-3",style:{backgroundColor:"rgba(255,255,255,0.02)",border:"1px solid rgba(255,255,255,0.04)"},children:[u.jsxs("div",{className:"flex items-center gap-2 mb-2",children:[u.jsx("span",{style:{fontSize:"16px"},children:f.icon}),u.jsx("span",{className:"font-heading font-medium leading-tight",style:{color:"#FFFFFF",fontSize:"14px"},children:f.name})]}),u.jsxs("div",{className:"flex items-center gap-2 font-body",children:[u.jsx("span",{className:"line-through",style:{color:"#555555",fontSize:"13px"},children:f.before}),u.jsx("span",{style:{color:"#FFFFFF",fontSize:"13px"},children:"→"}),u.jsx("span",{className:"font-bold",style:{color:c,fontSize:"15px"},children:f.after})]})]},f.name))})]},a.title)};return u.jsxs("section",{id:"metrics-dashboard",className:"relative overflow-hidden bg-background",style:{paddingTop:"80px",paddingBottom:"80px"},children:[u.jsx("div",{"aria-hidden":!0,className:"absolute inset-0 pointer-events-none",style:{backgroundImage:"radial-gradient(rgba(255,255,255,0.6) 1px, transparent 1px)",backgroundSize:"24px 24px",opacity:.04}}),u.jsx(dn,{className:"relative mx-auto px-4 md:px-8",children:u.jsxs("div",{className:"mx-auto",style:{maxWidth:"1200px"},children:[u.jsx("div",{className:"flex justify-center",children:u.jsx(Wn,{children:"Proven Results"})}),u.jsx("h2",{className:"text-center font-heading font-black mt-5 mb-4 text-foreground text-4xl md:text-5xl lg:text-[3.4rem] leading-[1.05]",children:"AI & Agentic AI in Professional Services Business Development"}),u.jsx("p",{className:"text-center font-body font-medium mb-12 md:mb-16 max-w-2xl mx-auto",style:{color:"#CCCCCC",fontSize:"16px",lineHeight:1.6},children:"How AI and agentic AI are reshaping business development, prospecting, and decision making in professional services."}),u.jsx("div",{className:"grid grid-cols-2 lg:grid-cols-4",style:{gap:"24px"},children:jj.map((a,l)=>u.jsxs($.div,{initial:{opacity:0,y:32},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-50px"},transition:{delay:l*.08,duration:.5,ease:"easeOut"},whileHover:{y:-4},className:"relative rounded-2xl text-center overflow-hidden transition-all duration-300",style:{padding:"24px",backgroundColor:"#0D0D0D",border:"1px solid rgba(249,112,21,0.15)",backdropFilter:"blur(10px)"},children:[u.jsx("div",{"aria-hidden":!0,className:"absolute inset-0 pointer-events-none",style:{background:`radial-gradient(circle at 50% 35%, ${it}33 0%, transparent 60%)`}}),u.jsxs("div",{className:"relative z-10 flex flex-col items-center",children:[u.jsx("div",{className:"inline-flex items-center justify-center rounded-full mb-3",style:{width:"32px",height:"32px",backgroundColor:"#1a1a1a",fontSize:"16px"},children:u.jsx("span",{children:a.icon})}),u.jsx("div",{className:"font-heading font-black leading-none mb-2",style:{color:it,fontSize:"clamp(40px, 6vw, 64px)"},children:a.value}),u.jsx("div",{className:"font-heading font-semibold mb-1",style:{color:"#FFFFFF",fontSize:"14px"},children:a.label}),u.jsx("div",{className:"font-body",style:{color:"#A0A0A0",fontSize:"12px"},children:a.desc})]}),u.jsx("div",{"aria-hidden":!0,className:"absolute left-0 right-0 bottom-0",style:{height:"2px",backgroundColor:it,opacity:.7}})]},a.label))}),u.jsx("p",{className:"text-center font-body italic mt-4 mb-4",style:{color:"#A0A0A0",fontSize:"13px"},children:"Source: Gartner AI & Agentic AI Insights for Lead Qualification"}),u.jsx("div",{"aria-hidden":!0,className:"my-12 md:my-16 mx-auto",style:{height:"1px",maxWidth:"900px",background:`linear-gradient(90deg, transparent 0%, ${it} 50%, ${pf} 100%)`,opacity:.5}}),u.jsxs("div",{className:"relative",children:[u.jsx("button",{type:"button","aria-label":"Previous",onClick:()=>o(-1),disabled:!t,className:"absolute left-0 top-1/2 -translate-y-1/2 md:-translate-x-1/2 z-10 rounded-full flex items-center justify-center transition-all duration-300 enabled:hover:scale-105 disabled:cursor-not-allowed",style:{width:"32px",height:"32px",backgroundColor:t?it:"#111111",border:`1px solid ${t?it:"rgba(255,255,255,0.12)"}`,color:t?"#FFFFFF":"rgba(255,255,255,0.3)",opacity:t?1:.5,boxShadow:t?`0 4px 16px ${it}55`:"0 4px 16px rgba(0,0,0,0.4)"},children:u.jsx(uc,{size:16})}),u.jsx("button",{type:"button","aria-label":"Next",onClick:()=>o(1),disabled:!r,className:"absolute right-0 top-1/2 -translate-y-1/2 md:translate-x-1/2 z-10 rounded-full flex items-center justify-center transition-all duration-300 enabled:hover:scale-105 disabled:cursor-not-allowed",style:{width:"32px",height:"32px",backgroundColor:r?it:"#111111",border:`1px solid ${r?it:"rgba(255,255,255,0.12)"}`,color:r?"#FFFFFF":"rgba(255,255,255,0.3)",opacity:r?1:.5,boxShadow:r?`0 4px 16px ${it}55`:"0 4px 16px rgba(0,0,0,0.4)"},children:u.jsx(_i,{size:16})}),u.jsx("div",{ref:e,className:"flex items-stretch overflow-x-auto snap-x snap-mandatory scroll-smooth pt-3 pb-2",style:{gap:"20px",scrollbarWidth:"none",msOverflowStyle:"none"},children:Nj.map((a,l)=>u.jsx("div",{"data-carousel-card":!0,className:"snap-start shrink-0 w-full md:w-[calc(50%-10px)] lg:w-[calc(33.333%-14px)]",children:i(a)},a.title))})]})]})})]})}const vs="#F97015",zg=[{name:"Starter",monthlyPrice:"£99",yearlyPrice:"£79",badge:"Most Popular",description:"Essential AI powered lead scoring to get started.",features:["AI lead qualification","CRM integration (HubSpot / Salesforce)","ICP scoring across 10+ signals","Voice AI briefing and conversation routing","Lead prioritisation dashboard","Basic pipeline visibility","Email notifications","Standard security controls"],cta:"Get 14 days trial",highlight:!0},{name:"Growth",monthlyPrice:"£139",yearlyPrice:"£111",description:"Full pipeline intelligence with outreach and voice.",features:["Everything in Starter, plus:","AI predictive lead scoring (20+ signals)","Multi channel outreach automation","Pipeline health and deal velocity tracking","Personalised 
153sequence builder","Advanced analytics dashboard","Team collaboration and assignment","Priority onboarding support"],cta:"Get 14 days trial",highlight:!1},{name:"Enterprise",monthlyPrice:"£399",yearlyPrice:"£319",description:"Enterprise grade AI revenue intelligence.",features:["Everything in Growth, plus:","Real time pipeline webhooks and automation","Monte Carlo revenue forecasting","Multi agent AI orchestration (7 agents)","Board ready forecast reports","Full CRM bi directional sync","Enterprise SSO and governance","Custom API integrations","Dedicated success manager","Full audit logs and compliance","White label reporting","Multi team and multi region support","SLA backed uptime guarantee"],cta:"Contact Sales",highlight:!1}];function Rj(){const[e,t]=b.useState("monthly"),n=b.useRef(null),[r,s]=b.useState(!1),[o,i]=b.useState(!0);b.useEffect(()=>{const c=n.current;if(!c)return;const d=()=>{s(c.scrollLeft>4),i(c.scrollLeft+c.clientWidth<c.scrollWidth-4)};return d(),c.addEventListener("scroll",d,{passive:!0}),window.addEventListener("resize",d),()=>{c.removeEventListener("scroll",d),window.removeEventListener("resize",d)}},[]);const a=c=>{const d=n.current;if(!d)return;const f=d.querySelector("[data-carousel-card]"),h=f?f.offsetWidth+24:d.clientWidth*.8;d.scrollBy({left:c*h,behavior:"smooth"})},l=(c,d)=>u.jsxs("div",{className:`glass-card p-8 flex flex-col relative h-full border transition-colors transition-shadow duration-300 will-change-auto ${c.highlight?"!border-primary ring-2 ring-primary/40 hover:ring-primary/60 hover:shadow-[0_8px_32px_hsl(var(--primary)/0.35)]":"hover:border-primary/40 hover:shadow-xl"}`,children:[c.badge&&u.jsx("span",{className:"absolute -top-3 left-1/2 -translate-x-1/2 px-3 py-1 bg-primary text-primary-foreground text-xs font-heading font-bold rounded-full whitespace-nowrap",children:c.badge}),u.jsx("h3",{className:"font-heading font-bold text-xl text-foreground mb-2",children:c.name}),u.jsxs("div",{className:"mb-2",children:[u.jsx("span",{className:"font-heading font-extrabold text-4xl text-foreground",children:e==="monthly"?c.monthlyPrice:c.yearlyPrice}),u.jsx("span",{className:"text-muted-foreground font-body text-sm",children:"per user/month"})]}),u.jsx("p",{className:"text-xs text-muted-foreground font-body mb-2 h-4",children:e==="yearly"?"Billed annually, save 20%":" "}),u.jsx("p",{className:"text-sm text-muted-foreground font-body mb-6",children:c.description}),u.jsx("ul",{className:"space-y-3 mb-8 flex-1",children:c.features.map(f=>u.jsxs("li",{className:"flex items-start gap-2 text-sm text-foreground/80 font-body",children:[u.jsx("span",{className:"text-secondary mt-0.5",children:"✓"})," ",f]},f))}),u.jsx($.a,{href:"#demo",whileTap:{scale:.98},className:`inline-flex items-center justify-center gap-2 w-full h-11 px-4 md:px-3 lg:px-6 rounded-full font-heading font-medium text-sm md:text-xs lg:text-sm tracking-wide whitespace-nowrap transition-all duration-200 ${c.highlight?"bg-primary text-primary-foreground shadow-sm hover:bg-primary/90 hover:shadow-md":"border border-foreground
153/20 text-foreground hover:bg-foreground/5 hover:border-foreground/30 hover:shadow-md"}`,children:c.cta})]},c.name);return u.jsx("section",{id:"pricing",className:"section-padding",children:u.jsxs(dn,{className:"container-wide px-4 md:px-8",children:[u.jsx("div",{className:"flex justify-center",children:u.jsx(Wn,{children:"Pricing Plans"})}),u.jsxs("h2",{className:"text-center font-heading font-black mt-5 mb-4 text-foreground text-4xl md:text-5xl lg:text-[3.4rem] leading-[1.05]",children:["Simple and clear pricing ",u.jsx("br",{})," for faster decision making"]}),u.jsx("p",{className:"text-center text-muted-foreground font-body text-base mb-12 md:mb-16",children:"Start small, scale as you grow. Every plan includes a 14 day trial."}),u.jsx("div",{className:"flex justify-center mb-10 md:mb-12",children:u.jsxs("div",{className:"inline-flex items-center p-1 rounded-full border border-foreground/15 bg-foreground/5",children:[u.jsx("button",{type:"button",onClick:()=>t("monthly"),className:`px-5 h-9 rounded-full font-heading font-medium text-sm transition-all duration-200 ${e==="monthly"?"bg-primary text-primary-foreground shadow-sm":"text-foreground/70 hover:text-foreground"}`,children:"Monthly"}),u.jsxs("button",{type:"button",onClick:()=>t("yearly"),className:`px-5 h-9 rounded-full font-heading font-medium text-sm inline-flex items-center gap-2 transition-all duration-200 ${e==="yearly"?"bg-primary text-primary-foreground shadow-sm":"text-foreground/70 hover:text-foreground"}`,children:["Yearly",u.jsx("span",{className:`text-[10px] font-bold px-1.5 py-0.5 rounded-full ${e==="yearly"?"bg-primary-foreground/20 text-primary-foreground":"bg-secondary/20 text-secondary"}`,children:"20% off"})]})]})}),u.jsx("div",{className:"hidden lg:grid grid-cols-3 gap-8 max-w-5xl mx-auto mb-8",children:zg.map((c,d)=>l(c))}),u.jsxs("div",{className:"lg:hidden mb-8 max-w-5xl mx-auto",children:[u.jsxs("div",{className:"flex justify-end gap-2 mb-4 px-1",children:[u.jsx("button",{type:"button","aria-label":"Previous",onClick:()=>a(-1),disabled:!r,className:"rounded-full flex items-center justify-center transition-all duration-300 enabled:hover:scale-105 disabled:cursor-not-allowed",style:{width:"32px",height:"32px",backgroundColor:r?vs:"#111111",border:`1px solid ${r?vs:"rgba(255,255,255,0.12)"}`,color:r?"#FFFFFF":"rgba(255,255,255,0.3)",opacity:r?1:.5,boxShadow:r?`0 4px 16px ${vs}55`:"0 4px 16px rgba(0,0,0,0.4)"},children:u.jsx(uc,{size:16})}),u.jsx("button",{type:"button","aria-label":"Next",onClick:()=>a(1),disabled:!o,className:"rounded-full flex items-center justify-center transition-all duration-300 enabled:hover:scale-105 disabled:cursor-not-allowed",style:{width:"32px",height:"32px",backgroundColor:o?vs:"#111111",border:`1px solid ${o?vs:"rgba(255,255,255,0.12)"}`,color:o?"#FFFFFF":"rgba(255,255,255,0.3)",opacity:o?1:.5,boxShadow:o?`0 4px 16px ${vs}55`:"0 4px 16px rgba(0,0,0,0.4)"},children:u.jsx(_i,{size:16})})]}),u.jsx("div",{ref:n,className:"flex items-stretch overflow-x-auto snap-x snap-mandatory scroll-smooth pb-2 pt-4",style:{gap:"24px",scrollbarWidth:"none",msOverflowStyle:"none"},children:zg.map((c,d)=>u.jsx("div",{"data-carousel-card":!0,className:"snap-start shrink-0 w-full md:w-[calc(50%-12px)] flex",children:l(c)},c.name))})]}),u.jsx("p",{className:"text-center text-sm text-muted-foreground font-body",children:"All plans include a 2 to 4 week onboarding. Annual billing available on request."})]})})}const Lj=[{q:"What makes B2Boost unique?",a:"B2Boost is a multi agent AI revenue intelligence platform that qualifies leads, scores every signal, and tells your team exactly who to call and why without replacing your CRM, without automating decisions away from humans, and designed to deliver measurable results from day one of deployment."},{q:"How does B2Boost differentiate from other solutions?",a:"It is an orchestration layer, not another point tool. Most solutions add one capability, a scoring tool, an enrichment tool, a forecasting tool. B2Boost sits above all of them as a single intelligence layer that reads every signal simultaneously and produces one ranked, explainable output. The sales rep does not need to check five platforms. They get one answer. B2Boost is not a single model but a multi agent ar
153chitecture. Most AI sales tools use a single model trying to do everything. B2Boost deploys four specialised agents, each with one job, coordinated by a Manager Agent. Each agent can be tuned, audited, and improved independently without breaking the system. The output is more reliable because no single model is responsible for everything."},{q:"Is B2Boost a single model or multi agent?",a:"B2Boost deploys four specialised agents, each with one job, coordinated by a Manager Agent called Alex. Each agent can be tuned and audited independently."},{q:"Does B2Boost replace my CRM?",a:"No, it does not replace the CRM, it amplifies it. B2Boost currently integrates with HubSpot via read only API, writes qualified scores and next actions back into the existing record, and leaves the system of record untouched. Salesforce and additional CRM connectors are on the near term roadmap. Zero migration cost. Adoption happens in days, not months."},{q:"Is Human in the Loop optional?",a:"No, Human in the Loop is structural, not optional. Most AI sales platforms automate actions, sending emails, updating records, routing leads without human approval. B2Boost treats HITL as a governance mechanism built into the architecture. Every recommendation is explainable. Every output can be overridden. The rep stays accountable. This is critical for enterprise clients in regulated sectors and for any organisation that needs to defend its commercial decisions."},{q:"Does B2Boost only read data from my CRM?",a:"B2Boost reads structured data from CRM including deal data, contact data, company firmographics, and engagement history. Additional signal sources, email transcripts, intent data, and financial signals are on the product roadmap and will be rolled out by connector."},{q:"Can B2Boost be applied for professional services?",a:"Yes, it is originally built for professional services, not just SaaS. Most revenue intelligence platforms are designed for high volume SaaS pipelines with short cycles. B2Boost is specifically designed for complex, long cycle B2B environments, consulting firms, professional services, corporate finance, industrial distribution, where deals are high value, relationships matter, and qualification requires nuanced judgement, not just volume scoring."},{q:"How can I see the outcomes of using B2Boost?",a:"B2Boost is outcome focused from day one. We track three core metrics with every client: time saved in lead review, pipeline velocity, and forecast accuracy. Results are reported transparently. That commercial clarity is rare in the AI tooling market, where most vendors lead with capability and leave the client to figure out the ROI."},{q:"What guardrails does B2Boost apply when combining external and internal data through its agentic AI system?",a:"B2Boost applies guardrails at every layer. Each agent processes only its designated data type, CRM, external signals, or email, so contaminated external data cannot corrupt internal records. The AI Manager Agent synthesises outputs, not raw data. Every agent output carries a confidence score. Low confidence signals escalate to HITL review rather than generating a recommendation that looks authoritative. CRM access is read only. Nothing is modified autonomously. Only approved scores and next actions are written back through audited pathways. External data is processed in EU region infrastructure, held ephemerally, and never shared across client environments. Every score is explainable, the sales rep sees exactly which signals drove it and can override and correct, feeding back into model calibration. Quarterly retraining and IBM AI Fairness 360 bias auditing keep the system accurate and fair over time. Guardrails are not compliance bolted on after the fact. They are the architectural foundation on which enterprise trust is built."},{q:"How does your AI qualify leads?",a:"Our AI analyses behavioural and firmographic signals including engagement patterns, company fit, role authority, and buying intent, to score every lead against your ICP in real time. Only qualified opportunities reach your team."},{q:"Does this replace our SDRs?",a:"No. B2Boost augments your SDRs by handling the time consuming qualification work so they can focus on high value conversations. Think of it as giving each SDR an AI powered research assistant."},{q:"How fast does AI Manager respond to new leads?",a:"AI Manager processes and scores new leads within seconds of entry, enabling sub minute response times for high intent prospects."},{q:"What systems do you integrate with?",a:"B2Boost currently integrates with HubSpot. Salesforce, Outreach, Gong, and additional connectors are on the product roadmap. We work with clients to prioritise integration order based on their existing stack."},{q:"Is this suitable for mid market B2B companies?",a:"Absolutely. B2Boost is purpose built for mid market B2B companies with 50 to 500 employees who need enterprise grade revenue intelligence without enterprise complexity."},{q:"How long does implementation take?",a:"Most teams are live within 2 to 4 weeks. Our onboarding includes ICP configuration, CRM integration, and agent training tailored to your revenue process."}];function Ij(){const[e,t]=b.useState(null);return u.jsx("section",{id:"faq",className:"section-padding",children:u.jsxs(dn,{className:"max-w-3xl md:max-w-5xl mx-auto px-4 md:px-8",children:[u.jsx("div",{className:"flex justify-center",children:u.jsx(Wn,{children:"FAQs"})}),u.jsx("h2",{className:"text-center font-heading font-black mt-5 mb-12 text-foreground md:whitespace-nowrap text-4xl md:text-5xl lg:text-[3.4rem] leading-[1.05]",children:"Frequently asked questions"}),u.jsx("div",{className:"space-y-3",children:Lj.map((n,r)=>u.jsxs($.div,{initial:{opacity:0,y:12},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:r*.06},className:"glass-card",children:[u.jsxs("button",{onClick:()=>t(e===r?null:r),className:"w-full text-left px-6 py-5 flex items-center justify-between gap-4",children:[u.jsx("span",{className:"font-heading font-semibold text-foreground",children:n.q}),u.jsx($.svg,{width:"20",height:"20",viewBox:"0 0 20 20",className:"shrink-0 text-muted-foreground",animate:{rotate:e===r?180:0},transition:{duration:.25},children:u.jsx("path",{d:"M5 7l5 5 5-5",stroke:"currentColor",strokeWidth:"1.5",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"})})]}),u.jsx(xo,{children:e===r&&u.jsx($.div,{initial:{height:0,opacity:0}
153,animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},transition:{duration:.25},className:"overflow-hidden",children:u.jsx("div",{className:"px-6 pb-5 text-foreground/70 font-body text-sm leading-relaxed",children:n.a})})})]},r))}),u.jsxs($.div,{initial:{opacity:0,y:12},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.4},className:"mt-12 flex flex-col items-center text-center gap-5",children:[u.jsxs("div",{children:[u.jsx("h3",{className:"font-heading font-bold text-xl md:text-2xl text-foreground",children:"Have more questions about our product?"}),u.jsx("p",{className:"font-body text-foreground/70 mt-2",children:"We'd love to answer them over a non obligation live demo."})]}),u.jsxs("a",{href:"#demo",className:"inline-flex items-center justify-center rounded-full bg-primary text-primary-foreground font-heading font-semibold px-6 py-3 hover:opacity-90 transition",children:[u.jsx(El,{className:"w-4 h-4 mr-2"}),"Schedule a demo"]})]})]})})}function Dj(){return u.jsx("section",{className:"py-12",children:u.jsx(dn,{className:"container-wide px-4 md:px-8",children:u.jsxs("div",{className:"glass-card p-8 md:p-12 text-center max-w-2xl mx-auto",children:[u.jsx("h3",{className:"font-heading font-black text-[24px] text-foreground leading-tight mb-8",children:"B2Boost will be available soon on the App Store and Google Play"}),u.jsxs("div",{className:"flex gap-3 justify-center flex-col sm:flex-row flex-wrap",children:[u.jsxs($.a,{href:"#",whileHover:{y:-1},whileTap:{scale:.98},className:"inline-flex items-center justify-center gap-2 px-5 py-3 rounded-full bg-foreground text-background font-body text-xs font-medium shadow-sm hover:bg-foreground
153/90 hover:shadow-md transition-all duration-200 w-full sm:w-auto",children:[u.jsx("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"currentColor",children:u.jsx("path",{d:"M18.71 19.5c-.83 1.24-1.71 2.45-3.05 2.47-1.34.03-1.77-.79-3.29-.79-1.53 0-2 .77-3.27.82-1.31.05-2.3-1.32-3.14-2.53C4.25 17 2.94 12.45 4.7 9.39c.87-1.52 2.43-2.48 4.12-2.51 1.28-.02 2.5.87 3.29.87.78 0 2.26-1.07 3.8-.91.65.03 2.47.26 3.64 1.98-.09.06-2.17 1.28-2.15 3.81.03 3.02 2.65 4.03 2.68 4.04-.03.07-.42 1.44-1.38 2.83M13 3.5c.73-.83 1.94-1.46 2.94-1.5.13 1.17-.34 2.35-1.04 3.19-.69.85-1.83 1.51-2.95 1.42-.15-1.15.41-2.35 1.05-3.11z"})}),u.jsxs("div",{className:"text-left leading-tight",children:[u.jsx("div",{className:"text-[9px] opacity-70",children:"Download on the"}),u.jsx("div",{className:"text-sm font-semibold -mt-0.5",children:"App Store"})]})]}),u.jsxs($.a,{href:"#",whileHover:{y:-1},whileTap:{scale:.98},className:"inline-flex items-center justify-center gap-2 px-5 py-3 rounded-full bg-foreground text-background font-body text-xs font-medium shadow-sm hover:bg-foreground
153/90 hover:shadow-md transition-all duration-200 w-full sm:w-auto",children:[u.jsx("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"currentColor",children:u.jsx("path",{d:"M3.609 1.814L13.792 12 3.61 22.186a.996.996 0 0 1-.61-.92V2.734a1 1 0 0 1 .609-.92zm10.89 10.893l2.302 2.302-10.937 6.333 8.635-8.635zm3.199-1.404l2.937 1.706c.778.452.778 1.53 0 1.982l-2.937 1.706L14.83 12l2.868-2.697zM5.864 2.658L16.8 8.99l-2.302 2.302-8.634-8.634z"})}),u.jsxs("div",{className:"text-left leading-tight",children:[u.jsx("div",{className:"text-[9px] opacity-70",children:"Get it on"}),u.jsx("div",{className:"text-sm font-semibold -mt-0.5",children:"Google Play"})]})]})]})]})})})}const Oj=1,Fj="9c55d131-5561-4b61-be90-7cd86b93f34e",Vj="3acd35de-154c-4143-b553-90c8cfee17ee",Bj="/__l5e/assets-v1/9c55d131-5561-4b61-be90-7cd86b93f34e/barclays-eagle-labs.svg",_j="a/v1/3acd35de-154c-4143-b553-90c8cfee17ee/9c55d131-5561-4b61-be90-7cd86b93f34e/barclays-eagle-labs.svg",zj="barclays-eagle-labs.svg",$j=4730,Uj="image/svg+xml",Hj="2026-06-02T13:41:55Z",Wj={version:Oj,asset_id:Fj,project_id:Vj,url:Bj,r2_key:_j,original_filename:zj,size:$j,content_type:Uj,created_at:Hj},Gj=1,Kj="e8acc253-f53f-466d-96e9-5ff262a07163",Qj="3acd35de-154c-4143-b553-90c8cfee17ee",Yj="/__l5e/assets-v1/e8acc253-f53f-466d-96e9-5ff262a07163/capital-enterprise.png",qj="a/v1/3acd35de-154c-4143-b553-90c8cfee17ee/e8acc253-f53f-466d-96e9-5ff262a07163/capital-enterprise.png",Xj="capital-enterprise.png",Zj=93647,Jj="image/png",eN="2026-06-02T13:41:55Z",tN={version:Gj,asset_id:Kj,project_id:Qj,url:Yj,r2_key:qj,original_filename:Xj,size:Zj,content_type:Jj,created_at:eN},nN=1,rN="dde49077-ff89-45e8-89f9-4dc2d9ba2a2d",sN="3acd35de-154c-4143-b553-90c8cfee17ee",oN="/__l5e/assets-v1/dde49077-ff89-45e8-89f9-4dc2d9ba2a2d/google-cloud.svg",iN="a/v1/3acd35de-154c-4143-b553-90c8cfee17ee/dde49077-ff89-45e8-89f9-4dc2d9ba2a2d/google-cloud.svg",aN="google-cloud.svg",lN=4305,cN="image/svg+xml",uN="2026-06-05T14:06:46Z",dN={version:nN,asset_id:rN,project_id:sN,url:oN,r2_key:iN,original_filename:aN,size:lN,content_type:cN,created_at:uN},fN=1,hN="75fa7bc2-e384-4fcc-9a0e-fad2c05f53d9",pN="3acd35de-154c-4143-b553-90c8cfee17ee",mN="/__l5e/assets-v1/75fa7bc2-e384-4fcc-9a0e-fad2c05f53d9/barclays.svg",gN="a/v1/3acd35de-154c-4143-b553-90c8cfee17ee/75fa7bc2-e384-4fcc-9a0e-fad2c05f53d9/barclays.svg",yN="barclays.svg",vN=6792,xN="image/svg+xml",wN="2026-06-05T14:06:48Z",bN={version:fN,asset_id:hN,project_id:pN,url:mN,r2_key:gN,original_filename:yN,size:vN,content_type:xN,created_at:wN};function SN(){const e=[{icon:u6,text:"+34% YoY opportunity growth"},{icon:c6,text:"Pipeline growth from £53K to £5M"},{icon:l6,text:"Enterprise GTM execution across global technology and consumer brands"},{icon:a6,text:"AI powered revenue operations built for scalable B2B growth"}];return u.jsxs("section",{id:"get-started",className:"section-padding relative overflow-hidden",children:[u.jsx("div",{className:"absolute inset-0 flex items-center justify-center pointer-events-none",children:u.jsx("div",{className:"w-[500px] h-[500px] rounded-full bg-secondary/10 blur-[140px]"})}),u.jsxs(dn,{className:"container-narrow px-4 md:px-8 text-center relative",children:[u.jsx(Wn,{children:"About B2Boost"}),u.jsx("h2",{className:"text-center font-heading font-black mt-5 mb-6 max-w-3xl mx-auto text-foreground text-4xl md:text-5xl lg:text-[3.4rem] leading-[1.05]",children:"Agentic AI revenue execution for B2B growth"}),u.jsxs("div",{className:"text-center max-w-3xl mx-auto space-y-5 text-muted-foreground font-body text-base mb-10",children:[u.jsx("p",{children:"B2Boost.ai helps B2B companies increase predictable pipeline growth by replacing wasted sales activity with AI driven revenue execution. We are building the first Agentic AI platform designed to optimise commercial growth execution at scale."}),u.jsx("p",{children:"Backed by Eagle Labs, Capital Enterprise, and Barclays, B2Boost.ai productises proven revenue systems already deployed across enterprise and mid market organisations."})]}),u.jsxs("div",{className:"mb-10",children:[u.jsx("p",{className:"text-xs md:text-sm text-muted-foreground uppercase tracking-widest mb-5 font-body text-center",children:"Backed by"}),u.jsx("div",{className:"flex flex-wrap items-center justify-center gap-4 md:gap-5",children:[{src:Wj.url,alt:"Barclays Eagle Labs",className:"max-h-6 md:max-h-7"},{src:tN.url,alt:"Capital Enterprise",className:"max-h-9 md:max-h-11"},{src:dN.url,alt:"Google Cloud",className:"max-h-9 md:max-h-11"},{src:bN.url,alt:"Barclays",className:"max-h-16 md:max-h-20"}].map((t,n)=>u.jsx("div",{className:"group relative h-20 md:h-24 w-[46%] sm:w-44 md:w-52 px-5 py-3 rounded-xl border border-border bg-card/40 backdrop-blur-sm flex items-center justify-center transition-all duration-300 hover:border-secondary/50 hover:bg-card/70 hover:-translate-y-0.5 hover:shadow-[0_10px_30px_-10px_hsl(174_82%_40%/0.4)]",children:u.jsx("img",{src:t.src,alt:t.alt,className:`${t.className} max-w-full w-auto object-contain opacity-80 group-hover:opacity-100 transition-opacity duration-300`})},n))})]}
153),u.jsx("div",{className:"text-center max-w-3xl mx-auto space-y-5 text-muted-foreground font-body text-base mb-10",children:u.jsx("p",{children:"B2Boost.ai removes 40 to 50% of wasted sales activity while improving lead conversion, revenue efficiency, and sales predictability enabling growth teams to scale smarter through Agentic AI execution with proven revenue commercial results as background:"})}),u.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4 max-w-3xl mx-auto mb-12 items-stretch",children:e.map(({icon:t,text:n},r)=>u.jsxs("div",{className:"group relative h-full flex items-start gap-4 rounded-xl border border-border bg-card/40 backdrop-blur-sm p-5 text-left transition-all duration-300 hover:-translate-y-1 hover:border-primary/40 hover:bg-card/60",children:[u.jsx("div",{className:"shrink-0 w-11 h-11 rounded-lg bg-background/60 border border-border flex items-center justify-center text-primary group-hover:text-secondary group-hover:scale-110 transition-all duration-300",children:u.jsx(t,{className:"w-5 h-5"})}),u.jsx("p",{className:"text-foreground/90 font-body text-sm md:text-base leading-snug pt-1.5",children:n})]},r))})]})]})}function CN(){return b.useEffect(()=>{(function(t,n,r){const s=function(i,a){i.q.push(a)},o=t.document;t.Cal=t.Cal||function(){const i=t.Cal,a=arguments;if(i.loaded||(i.ns={},i.q=i.q||[],o.head.appendChild(o.createElement("script")).src=n,i.loaded=!0),a[0]===r){const l=function(){s(l,arguments)},c=a[1];l.q=l.q||[],typeof c=="string"?(i.ns[c]=i.ns[c]||l,s(i.ns[c],a),s(i,["initNamespace",c])):s(i,a);return}s(i,a)}})(window,"https://app.cal.eu/embed/embed.js","init");const e=window.Cal;e("init","schedule-a-meeting",{origin:"https://app.cal.eu"}),e.ns["schedule-a-meeting"]("inline",{elementOrSelector:"#my-cal-inline-schedule-a-meeting",config:{layout:"month_view",useSlotsViewOnSmallScreen:!0},calLink:"b2boost/schedule-a-meeting"}),e.ns["schedule-a-meeting"]("ui",{hideEventTypeDetails:!1,layout:"month_view"})},[]),u.jsx("section",{id:"demo",className:"py-20 px-0 bg-background",children:u.jsxs(dn,{className:"max-w-full mx-0",children:[u.jsxs("div",{className:"text-center mb-12 md:mb-16 px-4 md:px-0",children:[u.jsx("h2",{className:"font-heading font-black text-foreground mb-4 mt-5 text-4xl md:text-5xl lg:text-[3.4rem] leading-[1.05]",children:"Book your demo"}),u.jsx("p",{className:"text-sm md:text-base text-muted-foreground font-body",children:"Pick a time that works for you to 30 min walkthrough, no commitment."})]}),u.jsx("div",{id:"my-cal-inline-schedule-a-meeting",className:"min-h-[650px] md:min-h-[700px]",style:{width:"100%",overflow:"visible"}})]})})}function EN(){return u.jsx("section",{id:"testimonial",className:"section-padding",children:u.jsx(dn,{className:"container-wide w-full px-4 md:px-8",children:u.jsxs("div",{className:"max-w-4xl mx-auto text-center",children:[u.jsx(Wn,{children:"Testimonial"}),u.jsx("h2",{className:"font-heading font-black mt-5 mb-3 text-foreground text-3xl md:text-4xl lg:text-[2.8rem] leading-[1.1]",children:"Watch Sales and Marketing leaders pain points"}),u.jsx("p",{className:"text-muted-foreground font-body text-base md:text-lg leading-relaxed mb-10 max-w-2xl mx-auto",children:"Hear how teams can use B2Boost to qualify leads and close more deals"}),u.jsx("div",{className:"relative w-full aspect-video rounded-2xl overflow-hidden shadow-2xl ring-1 ring-border",children:u.jsx("iframe",{src:"https://www.youtube.com/embed/iN2VjqT9MQg?rel=0",title:"B2Boost Testimonial",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowFullScreen:!0,className:"absolute inset-0 w-full h-full"})})]})})})}const kN={Platform:["Features","How It Works","Integrations","Security"],Company:["About","Careers","Blog","Contact"],Resources:["Case Studies","Documentation","API"]},TN=[{name:"LinkedIn",href:"#",icon:u.jsx("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"currentColor",children:u.jsx("path",{d:"M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"})})},{name:"X",href:"#",icon:u.jsx("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"
153currentColor",children:u.jsx("path",{d:"M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"})})},{name:"Instagram",href:"#",icon:u.jsx("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"currentColor",children:u.jsx("path",{d:"M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zM12 0C8.741 0 8.333.014 7.053.072 2.695.272.273 2.69.073 7.052.014 8.333 0 8.741 0 12c0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98C8.333 23.986 8.741 24 12 24c3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98C15.668.014 15.259 0 12 0zm0 5.838a6.162 6.162 0 1 0 0 12.324 6.162 6.162 0 0 0 0-12.324zM12 16a4 4 0 1 1 0-8 4 4 0 0 1 0 8zm6.406-11.845a1.44 1.44 0 1 0 0 2.881 1.44 1.44 0 0 0 0-2.881z"})})}];function PN(){return u.jsx("footer",{className:"border-t border-border py-16 px-4 md:px-8",children:u.jsxs("div",{className:"container-wide",children:[u.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-8 mb-12 text-center md:text-left",children:[u.jsxs("div",{className:"md:col-span-1 flex flex-col items-center md:items-start",children:[u.jsx("div",{className:"mb-3",children:u.jsx("img",{src:Dw,alt:"B2Boost",className:"h-7 w-auto"})}),u.jsx("p",{className:"text-sm text-muted-foreground font-body mb-4",children:"AI Revenue Execution for B2B Teams"}),u.jsxs("div",{className:"space-y-2 mb-4",children:[u.jsx("p",{className:"text-xs text-muted-foreground font-body",children:"125 Kingsway, London, England WC2B 6NH"}),u.jsx("p",{className:"text-xs text-muted-foreground font-body",children:u.jsx("a",{href:"mailto:[email protected]",className:"hover:text-foreground transition-colors",children:"[email protected]"})}),u.jsx("p",{className:"text-xs text-muted-foreground font-body",children:u.jsx("a",{href:"mailto:[email protected]",className:"hover:text-foreground transition-colors",children:"[email protected]"})}),u.jsx("p",{className:"text-xs text-muted-foreground font-body",children:u.jsx("a",{href:"tel:+441491505428",className:"hover:text-foreground transition-colors",children:"+44 1491 505428"})}),u.jsx("p",{className:"text-xs text-muted-foreground font-body",children:u.jsx("a",{href:"tel:+447512547866",className:"hover:text-foreground transition-colors",children:"+44 7512 547866"})})]}),u.jsx("div",{className:"flex gap-3 mt-8 justify-center md:justify-start",children:TN.map(e=>u.jsx("a",{href:e.href,"aria-label":e.name,className:"text-muted-foreground hover:text-foreground transition-colors",children:e.icon},e.name))}),u.jsxs("div",{className:"flex flex-nowrap gap-2 mt-8 justify-center md:justify-start",children:[u.jsxs("a",{href:"#",className:"inline-flex items-center gap-1.5 px-3 py-2 rounded-full bg-foreground
153/10 border border-border text-foreground font-body text-[10px] whitespace-nowrap hover:bg-foreground/15 hover:-translate-y-0.5 hover:shadow-md transition-all duration-200",children:[u.jsx("svg",{width:"15",height:"15",viewBox:"0 0 24 24",fill:"currentColor",children:u.jsx("path",{d:"M18.71 19.5c-.83 1.24-1.71 2.45-3.05 2.47-1.34.03-1.77-.79-3.29-.79-1.53 0-2 .77-3.27.82-1.31.05-2.3-1.32-3.14-2.53C4.25 17 2.94 12.45 4.7 9.39c.87-1.52 2.43-2.48 4.12-2.51 1.28-.02 2.5.87 3.29.87.78 0 2.26-1.07 3.8-.91.65.03 2.47.26 3.64 1.98-.09.06-2.17 1.28-2.15 3.81.03 3.02 2.65 4.03 2.68 4.04-.03.07-.42 1.44-1.38 2.83M13 3.5c.73-.83 1.94-1.46 2.94-1.5.13 1.17-.34 2.35-1.04 3.19-.69.85-1.83 1.51-2.95 1.42-.15-1.15.41-2.35 1.05-3.11z"})}),"App Store"]}),u.jsxs("a",{href:"#",className:"inline-flex items-center gap-1.5 px-3 py-2 rounded-full bg-foreground/10 border border-border text-foreground font-body text-[10px] whitespace-nowrap hover:bg-foreground/15 hover:-translate-y-0.5 hover:shadow-md transition-all duration-200",children:[u.jsx("svg",{width:"15",height:"15",viewBox:"0 0 24 24",fill:"currentColor",children:u.jsx("path",{d:"M3.609 1.814L13.792 12 3.61 22.186a.996.996 0 0 1-.61-.92V2.734a1 1 0 0 1 .609-.92zm10.89 10.893l2.302 2.302-10.937 6.333 8.635-8.635zm3.199-1.404l2.937 1.706c.778.452.778 1.53 0 1.982l-2.937 1.706L14.83 12l2.868-2.697zM5.864 2.658L16.8 8.99l-2.302 2.302-8.634-8.634z"})}),"Google Play"]})]})]}),Object.entries(kN).map(([e,t])=>u.jsxs("div",{children:[u.jsx("h4",{className:"font-heading font-semibold text-sm text-foreground mb-4",children:e}),u.jsx("ul",{className:"space-y-2",children:t.map(n=>u.jsx("li",{children:u.jsx("a",{href:"#",className:"text-sm text-muted-foreground hover:text-foreground font-body transition-colors",children:n})},n))})]},e))]}),u.jsxs("div",{className:"border-t border-border pt-6 flex flex-col md:flex-row justify-between items-center gap-4",children:[u.jsx("p",{className:"text-xs text-muted-foreground font-body",children:"© 2025 B2Boost. All rights reserved."}),u.jsxs("div",{className:"flex gap-6",children:[u.jsx("a",{href:"#",className:"text-xs text-muted-foreground hover:text-foreground font-body transition-colors",children:"Privacy Policy"}),u.jsx("a",{href:"#",className:"text-xs text-muted-foreground hover:text-foreground font-body transition-colors",children:"Terms of Service"})]})]})]})})}function jN(){const[e,t]=b.useState(!1);b.useEffect(()=>{if(!localStorage.getItem("cookie-consent")){const o=setTimeout(()=>t(!0),1500);return()=>clearTimeout(o)}},[]);const n=()=>{localStorage.setItem("cookie-consent","accepted"),t(!1)},r=()=>{localStorage.setItem("cookie-consent","declined"),t(!1)};return u.jsx(xo,{children:e&&u.jsx($.div,{initial:{y:100,opacity:0},animate:{y:0,opacity:1},exit:{y:100,opacity:0},transition:{type:"spring",damping:25},className:"fixed bottom-4 left-4 right-4 md:left-auto md:right-6 md:bottom-6 md:max-w-md z-50",children:u.jsxs("div",{className:"glass-card p-5 shadow-2xl",children:[u.jsx("p",{className:"text-sm text-foreground/80 font-body mb-4 leading-relaxed",children:'We use cookies to improve your experience and analyse site traffic. By clicking "Accept", you consent to our use of cookies.'}),u.jsxs("div",{className:"flex gap-3",children:[u.jsx("button",{onClick:n,className:"flex-1 h-10 px-6 rounded-full bg-primary text-primary-foreground font-heading font-medium text-sm tracking-wide shadow-sm hover:bg-primary/90 hover:shadow-md transition-all duration-200",children:"Accept"}),u.jsx("button",{onClick:r,className:"flex-1 h-10 px-6 rounded-full border border-foreground
153/20 text-foreground font-heading font-medium text-sm tracking-wide hover:bg-foreground/5 hover:border-foreground/30 hover:shadow-md transition-all duration-200",children:"Decline"})]})]})})})}function NN(){const[e,t]=b.useState(!1);return b.useEffect(()=>{const n=()=>t(window.scrollY>400);return window.addEventListener("scroll",n,{passive:!0}),()=>window.removeEventListener("scroll",n)},[]),u.jsx(xo,{children:e&&u.jsx($.button,{initial:{opacity:0,scale:.8},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.8},whileHover:{scale:1.1,y:-2},whileTap:{scale:.9},onClick:()=>window.scrollTo({top:0,behavior:"smooth"}),"aria-label":"Back to top",className:"fixed bottom-6 right-6 z-50 p-3 rounded-full bg-primary text-primary-foreground shadow-lg hover:shadow-primary/30 hover:shadow-xl transition-shadow",children:u.jsx(i6,{size:20})})})}const AN=()=>u.jsxs("div",{className:"min-h-screen bg-background text-foreground",children:[u.jsx(tP,{}),u.jsx(sP,{}),u.jsx(oP,{}),u.jsx(MP,{}),u.jsx(jP,{}),u.jsx(mj,{}),u.jsx(Pj,{}),u.jsx(Mj,{}),u.jsx(EN,{}),u.jsx(Rj,{}),u.jsx(Ij,{}),u.jsx(Dj,{}),u.jsx(SN,{}),u.jsx(CN,{}),u.jsx(PN,{}),u.jsx(jN,{}),u.jsx(NN,{})]}),MN=()=>{const e=Py();return b.useEffect(()=>{console.error("404 Error: User attempted to access non-existent route:",e.pathname)},[e.pathname]),u.jsx("div",{className:"flex min-h-screen items-center justify-center bg-muted",children:u.jsxs("div",{className:"text-center",children:[u.jsx("h1",{className:"mb-4 text-4xl font-bold",children:"404"}),u.jsx("p",{className:"mb-4 text-xl text-muted-foreground",children:"Oops! Page not found"}),u.jsx("a",{href:"/",className:"text-primary underline hover:text-primary/90",children:"Return to Home"})]})})},RN=new V5,LN=()=>u.jsx(_5,{client:RN,children:u.jsxs(RC,{children:[u.jsx(K6,{}),u.jsx(rS,{}),u.jsx(kb,{children:u.jsxs(Sb,{children:[u.jsx(Pd,{path:"/",element:u.jsx(AN,{})}),u.jsx(Pd,{path:"*",element:u.jsx(MN,{})})]})})]})});dy(document.getElementById("root")).render(u.jsx(LN,{}));

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.