vendor: 4,140 bytes, lines 1-9
1var ag=e=>{throw TypeError(e)};var Bu=(e,t,n)=>t.has(e)||ag("Cannot "+n);var D=(e,t,n)=>(Bu(e,t,"read from private field"),n?n.call(e):t.get(e)),me=(e,t,n)=>t.has(e)?ag("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),re=(e,t,n,r)=>(Bu(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),et=(e,t,n)=>(Bu(e,t,"access private method"),n);var _a=(e,t,n,r)=>({set _(s){re(e,t,s,n)},get _(){return D(e,t,r)}});function BC(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const s in r)if(s!=="default"&&!(s in e)){const o=Object.getOwnPropertyDescriptor(r,s);o&&Object.defineProperty(e,s,o.get?o:{enumerable:!0,get:()=>r[s]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const o of s)if(o.type==="childList")for(const a of o.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(s){const o={};return s.integrity&&(o.integrity=s.integrity),s.referrerPolicy&&(o.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?o.credentials="include":s.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(s){if(s.ep)return;s.ep=!0;const o=n(s);fetch(s.href,o)}})();function Hx(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Kx={exports:{}},Vc={},Gx={exports:{}},de={};/** 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 va=Symbol.for("react.element"),$C=Symbol.for("react.portal"),WC=Symbol.for("react.fragment"),UC=Symbol.for("react.strict_mode"),qC=Symbol.for("react.profiler"),HC=Symbol.for("react.provider"),KC=Symbol.for("react.context"),GC=Symbol.for("react.forward_ref"),YC=Symbol.for("react.suspense"),QC=Symbol.for("react.memo"),XC=Symbol.for("react.lazy"),lg=Symbol.iterator;function ZC(e){return e===null||typeof e!="object"?null:(e=lg&&e[lg]||e["@@iterator"],typeof e=="function"?e:null)}var Yx={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Qx=Object.assign,Xx={};function Bo(e,t,n){this.props=e,this.context=t,this.refs=Xx,this.updater=n||Yx}Bo.prototype.isReactComponent={};Bo.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")};Bo.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Zx(){}Zx.prototype=Bo.prototype;function Um(e,t,n){this.props=e,this.context=t,this.refs=Xx,this.updater=n||Yx}var qm=Um.prototype=new Zx;qm.constructor=Um;Qx(qm,Bo.prototype);qm.isPureReactComponent=!0;var cg=Array.isArray,Jx=Object.prototype.hasOwnProperty,Hm={current:null},e0={key:!0,ref:!0,__self:!0,__source:!0};function t0(e,t,n){var r,s={},o=null,a=null;if(t!=null)for(r in t.ref!==void 0&&(a=t.ref),t.key!==void 0&&(o=""+t.key),t)Jx.call(t,r)&&!e0.hasOwnProperty(r)&&(s[r]=t[r]);var l=arguments.length-2;if(l===1)s.children=n;else if(1<l){for(var c=Array(l),u=0;u<l;u++)c[u]=arguments[u+2];s.children=c}if(e&&e.defaultProps)for(r in l=e.defaultProps,l)s[r]===void 0&&(s[r]=l[r]);return{$$typeof:va,type:e,key:o,ref:a,props:s,_owner:Hm.current}}function JC(e,t){return{$$typeof:va,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Km(e){return typeof e=="object"&&e!==null&&e.$$typeof===va}function eN(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var ug=/\/+/g;function $u(e,t){return typeof e=="object"&&e!==null&&e.key!=null?eN(""+e.key):t.toString(36)}
vendor: 4,786 bytes, lines 9-17
9function gl(e,t,n,r,s){var o=typeof e;(o==="undefined"||o==="boolean")&&(e=null);var a=!1;if(e===null)a=!0;else switch(o){case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case va:case $C:a=!0}}if(a)return a=e,s=s(a),e=r===""?"."+$u(a,0):r,cg(s)?(n="",e!=null&&(n=e.replace(ug,"$&/")+"/"),gl(s,t,n,"",function(u){return u})):s!=null&&(Km(s)&&(s=JC(s,n+(!s.key||a&&a.key===s.key?"":(""+s.key).replace(ug,"$&/")+"/")+e)),t.push(s)),1;if(a=0,r=r===""?".":r+":",cg(e))for(var l=0;l<e.length;l++){o=e[l];var c=r+$u(o,l);a+=gl(o,t,n,c,s)}else if(c=ZC(e),typeof c=="function")for(e=c.call(e),l=0;!(o=e.next()).done;)o=o.value,c=r+$u(o,l++),a+=gl(o,t,n,c,s);else if(o==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return a}function za(e,t,n){if(e==null)return e;var r=[],s=0;return gl(e,r,"","",function(o){return t.call(n,o,s++)}),r}function tN(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 gt={current:null},vl={transition:null},nN={ReactCurrentDispatcher:gt,ReactCurrentBatchConfig:vl,ReactCurrentOwner:Hm};function n0(){throw Error("act(...) is not supported in production builds of React.")}de.Children={map:za,forEach:function(e,t,n){za(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return za(e,function(){t++}),t},toArray:function(e){return za(e,function(t){return t})||[]},only:function(e){if(!Km(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};de.Component=Bo;de.Fragment=WC;de.Profiler=qC;de.PureComponent=Um;de.StrictMode=UC;de.Suspense=YC;de.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=nN;de.act=n0;de.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=Qx({},e.props),s=e.key,o=e.ref,a=e._owner;if(t!=null){if(t.ref!==void 0&&(o=t.ref,a=Hm.current),t.key!==void 0&&(s=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(c in t)Jx.call(t,c)&&!e0.hasOwnProperty(c)&&(r[c]=t[c]===void 0&&l!==void 0?l[c]:t[c])}var c=arguments.length-2;if(c===1)r.children=n;else if(1<c){l=Array(c);for(var u=0;u<c;u++)l[u]=arguments[u+2];r.children=l}return{$$typeof:va,type:e.type,key:s,ref:o,props:r,_owner:a}};de.createContext=function(e){return e={$$typeof:KC,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:HC,_context:e},e.Consumer=e};de.createElement=t0;de.createFactory=function(e){var t=t0.bind(null,e);return t.type=e,t};de.createRef=function(){return{current:null}};de.forwardRef=function(e){return{$$typeof:GC,render:e}};de.isValidElement=Km;de.lazy=function(e){return{$$typeof:XC,_payload:{_status:-1,_result:e},_init:tN}};de.memo=function(e,t){return{$$typeof:QC,type:e,compare:t===void 0?null:t}};de.startTransition=function(e){var t=vl.transition;vl.transition={};try{e()}finally{vl.transition=t}};de.unstable_act=n0;de.useCallback=function(e,t){return gt.current.useCallback(e,t)};de.useContext=function(e){return gt.current.useContext(e)};de.useDebugValue=function(){};de.useDeferredValue=function(e){return gt.current.useDeferredValue(e)};de.useEffect=function(e,t){return gt.current.useEffect(e,t)};de.useId=function(){return gt.current.useId()};de.useImperativeHandle=function(e,t,n){return gt.current.useImperativeHandle(e,t,n)};de.useInsertionEffect=function(e,t){return gt.current.useInsertionEffect(e,t)};de.useLayoutEffect=function(e,t){return gt.current.useLayoutEffect(e,t)};de.useMemo=function(e,t){return gt.current.useMemo(e,t)};de.useReducer=function(e,t,n){return gt.current.useReducer(e,t,n)};de.useRef=function(e){return gt.current.useRef(e)};de.useState=function(e){return gt.current.useState(e)};de.useSyncExternalStore=function(e,t,n){return gt.current.useSyncExternalStore(e,t,n)};de.useTransition=function(){return gt.current.useTransition()};de.version="18.3.1";Gx.exports=de;var h=Gx.exports;const _=Hx(h),Bc=BC({__proto__:null,default:_},[h]);/** 10 * @license React 11 * react-jsx-runtime.production.min.js 12 * 13 * Copyright (c) Facebook, Inc. and its affiliates. 14 * 15 * This source code is licensed under the MIT license found in the 16 * LICENSE file in the root directory of this source tree. 17 */var rN=h,sN=Symbol.for("react.element"),oN=Symbol.for("react.fragment"),iN=Object.prototype.hasOwnProperty,aN=rN.__SECRET_INT
vendor: 11,388 bytes, lines 17-34
17ERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,lN={key:!0,ref:!0,__self:!0,__source:!0};function r0(e,t,n){var r,s={},o=null,a=null;n!==void 0&&(o=""+n),t.key!==void 0&&(o=""+t.key),t.ref!==void 0&&(a=t.ref);for(r in t)iN.call(t,r)&&!lN.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:sN,type:e,key:o,ref:a,props:s,_owner:aN.current}}Vc.Fragment=oN;Vc.jsx=r0;Vc.jsxs=r0;Kx.exports=Vc;var i=Kx.exports,s0={exports:{}},Ot={},o0={exports:{}},i0={};/** 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(M,R){var A=M.length;M.push(R);e:for(;0<A;){var k=A-1>>>1,O=M[k];if(0<s(O,R))M[k]=R,M[A]=O,A=k;else break e}}function n(M){return M.length===0?null:M[0]}function r(M){if(M.length===0)return null;var R=M[0],A=M.pop();if(A!==R){M[0]=A;e:for(var k=0,O=M.length,z=O>>>1;k<z;){var W=2*(k+1)-1,Y=M[W],X=W+1,B=M[X];if(0>s(Y,A))X<O&&0>s(B,Y)?(M[k]=B,M[X]=A,k=X):(M[k]=Y,M[W]=A,k=W);else if(X<O&&0>s(B,A))M[k]=B,M[X]=A,k=X;else break e}}return R}function s(M,R){var A=M.sortIndex-R.sortIndex;return A!==0?A:M.id-R.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var a=Date,l=a.now();e.unstable_now=function(){return a.now()-l}}var c=[],u=[],d=1,f=null,m=3,p=!1,w=!1,v=!1,x=typeof setTimeout=="function"?setTimeout:null,g=typeof clearTimeout=="function"?clearTimeout:null,y=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function b(M){for(var R=n(u);R!==null;){if(R.callback===null)r(u);else if(R.startTime<=M)r(u),R.sortIndex=R.expirationTime,t(c,R);else break;R=n(u)}}function S(M){if(v=!1,b(M),!w)if(n(c)!==null)w=!0,$(j);else{var R=n(u);R!==null&&G(S,R.startTime-M)}}function j(M,R){w=!1,v&&(v=!1,g(E),E=-1),p=!0;var A=m;try{for(b(R),f=n(c);f!==null&&(!(f.expirationTime>R)||M&&!I());){var k=f.callback;if(typeof k=="function"){f.callback=null,m=f.priorityLevel;var O=k(f.expirationTime<=R);R=e.unstable_now(),typeof O=="function"?f.callback=O:f===n(c)&&r(c),b(R)}else r(c);f=n(c)}if(f!==null)var z=!0;else{var W=n(u);W!==null&&G(S,W.startTime-R),z=!1}return z}finally{f=null,m=A,p=!1}}var C=!1,N=null,E=-1,T=5,P=-1;function I(){return!(e.unstable_now()-P<T)}function F(){if(N!==null){var M=e.unstable_now();P=M;var R=!0;try{R=N(!0,M)}finally{R?H():(C=!1,N=null)}}else C=!1}var H;if(typeof y=="function")H=function(){y(F)};else if(typeof MessageChannel<"u"){var L=new MessageChannel,q=L.port2;L.port1.onmessage=F,H=function(){q.postMessage(null)}}else H=function(){x(F,0)};function $(M){N=M,C||(C=!0,H())}function G(M,R){E=x(function(){M(e.unstable_now())},R)}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(M){M.callback=null},e.unstable_continueExecution=function(){w||p||(w=!0,$(j))},e.unstable_forceFrameRate=function(M){0>M||125<M?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):T=0<M?Math.floor(1e3/M):5},e.unstable_getCurrentPriorityLevel=function(){return m},e.unstable_getFirstCallbackNode=function(){return n(c)},e.unstable_next=function(M){switch(m){case 1:case 2:case 3:var R=3;break;default:R=m}var A=m;m=R;try{return M()}finally{m=A}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(M,R){switch(M){case 1:case 2:case 3:case 4:case 5:break;default:M=3}var A=m;m=M;try{return R()}finally{m=A}},e.unstable_scheduleCallback=function(M,R,A){var k=e.unstable_now();switch(typeof A=="object"&&A!==null?(A=A.delay,A=typeof A=="number"&&0<A?k+A:k):A=k,M){case 1:var O=-1;break;case 2:O=250;break;case 5:O=1073741823;break;case 4:O=1e4;break;default:O=5e3}return O=A+O,M={id:d++,callback:R,priorityLevel:M,startTime:A,expirationTime:O,sortIndex:-1},A>k?(M.sortIndex=A,t(u,M),n(c)===null&&M===n(u)&&(v?(g(E),E=-1):v=!0,G(S,A-k))):(M.sortIndex=O,t(c,M),w||p||(w=!0,$(j))),M},e.unstable_shouldYield=I,e.unstable_wrapCallback=function(M){var R=m;return function(){var A=m;m=R;try{return M.apply(this,arguments)}finally{m=A}}}})(i0);o0.exports=i0;var cN=o0.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 uN=h,Lt=cN;function V(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 a0=new Set,Li={};function Ds(e,t){To(e,t),To(e+"Capture",t)}function To(e,t){for(Li[e]=t,e=0;e<t.length;e++)a0.add(t[e])}var Qn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Xd=Object.prototype.hasOwnProperty,dN=/^[: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]*$/,dg={},fg={};function fN(e){return Xd.call(fg,e)?!0:Xd.call(dg,e)?!1:dN.test(e)?fg[e]=!0:(dg[e]=!0,!1)}function mN(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 pN(e,t,n,r){if(t===null||typeof t>"u"||mN(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 vt(e,t,n,r,s,o,a){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=s,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=a}var ot={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ot[e]=new vt(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ot[t]=new vt(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ot[e]=new vt(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ot[e]=new vt(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){ot[e]=new vt(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ot[e]=new vt(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ot[e]=new vt(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ot[e]=new vt(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ot[e]=new vt(e,5,!1,e.toLowerCase(),null,!1,!1)});var Gm=/[\-:]([a-z])/g;function Ym(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(Gm,Ym);ot[t]=new vt(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(Gm,Ym);ot[t]=new vt(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(Gm,Ym);ot[t]=new vt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ot[e]=new vt(e,1,!1,e.toLowerCase(),null,!1,!1)});ot.xlinkHref=new vt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ot[e]=new vt(e,1,!1,e.toLowerCase(),null,!0,!0)});function Qm(e,t,n,r){var s=ot.hasOwnProperty(t)?ot[t]:null;(s!==null?s.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(pN(t,n,s,r)&&(n=null),r||s===null?fN(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 nr=uN.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Va=Symbol.for("react.element"),Ks=Symbol.for("react.portal"),Gs=Symbol.for("react.fragment"),Xm=Symbol.for("react.strict_mode"),Zd=Symbol.for("react.profiler"),l0=Symbol.for("react.provider"),c0=Symbol.for("react.context"),Zm=Symbol.for("react.forward_ref"),Jd=Symbol.for("react.suspense"),ef=Symbol.for("react.suspense_list"),Jm=Symbol.for("react.memo"),yr=Symbol.for("react.lazy"),u0=Symbol.for("react.offscreen"),mg=Symbol.iterator;function ti(e){return e===null||typeof e!="object"?null:(e=mg&&e[mg]||e["@@iterator"],typeof e=="function"?e:null)}var _e=Object.assign,Wu;function mi(e){if(Wu===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Wu=t&&t[1]||""}return` 34`+Wu+e}var Uu=!1;function qu(e,t){if(!e||Uu)return"";Uu=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}
vendor: 15,597 bytes, lines 34-37
34catch(u){if(u&&r&&typeof u.stack=="string"){for(var s=u.stack.split(` 35`),o=r.stack.split(` 36`),a=s.length-1,l=o.length-1;1<=a&&0<=l&&s[a]!==o[l];)l--;for(;1<=a&&0<=l;a--,l--)if(s[a]!==o[l]){if(a!==1||l!==1)do if(a--,l--,0>l||s[a]!==o[l]){var c=` 37`+s[a].replace(" at new "," at ");return e.displayName&&c.includes("<anonymous>")&&(c=c.replace("<anonymous>",e.displayName)),c}while(1<=a&&0<=l);break}}}finally{Uu=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?mi(e):""}function hN(e){switch(e.tag){case 5:return mi(e.type);case 16:return mi("Lazy");case 13:return mi("Suspense");case 19:return mi("SuspenseList");case 0:case 2:case 15:return e=qu(e.type,!1),e;case 11:return e=qu(e.type.render,!1),e;case 1:return e=qu(e.type,!0),e;default:return""}}function tf(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 Gs:return"Fragment";case Ks:return"Portal";case Zd:return"Profiler";case Xm:return"StrictMode";case Jd:return"Suspense";case ef:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case c0:return(e.displayName||"Context")+".Consumer";case l0:return(e._context.displayName||"Context")+".Provider";case Zm:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Jm:return t=e.displayName||null,t!==null?t:tf(e.type)||"Memo";case yr:t=e._payload,e=e._init;try{return tf(e(t))}catch{}}return null}function gN(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 tf(t);case 8:return t===Xm?"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 $r(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function d0(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function vN(e){var t=d0(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var s=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return s.call(this)},set:function(a){r=""+a,o.call(this,a)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(a){r=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Ba(e){e._valueTracker||(e._valueTracker=vN(e))}function f0(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=d0(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Bl(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function nf(e,t){var n=t.checked;return _e({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function pg(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=$r(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 m0(e,t){t=t.checked,t!=null&&Qm(e,"checked",t,!1)}function rf(e,t){m0(e,t);var n=$r(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")?sf(e,t.type,n):t.hasOwnProperty("defaultValue")&&sf(e,t.type,$r(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function hg(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 sf(e,t,n){(t!=="number"||Bl(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var pi=Array.isArray;function lo(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=""+$r(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 of(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(V(91));return _e({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function gg(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(V(92));if(pi(n)){if(1<n.length)throw Error(V(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:$r(n)}}function p0(e,t){var n=$r(t.value),r=$r(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 vg(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function h0(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 af(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?h0(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var $a,g0=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($a=$a||document.createElement("div"),$a.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=$a.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Oi(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var bi={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},yN=["Webkit","ms","Moz","O"];Object.keys(bi).forEach(function(e){yN.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),bi[t]=bi[e]})});function v0(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||bi.hasOwnProperty(e)&&bi[e]?(""+t).trim():t+"px"}function y0(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,s=v0(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,s):e[n]=s}}var xN=_e({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 lf(e,t){if(t){if(xN[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(V(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(V(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(V(61))}if(t.style!=null&&typeof t.style!="object")throw Error(V(62))}}function cf(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 uf=null;function ep(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var df=null,co=null,uo=null;function yg(e){if(e=ba(e)){if(typeof df!="function")throw Error(V(280));var t=e.stateNode;t&&(t=Hc(t),df(e.stateNode,e.type,t))}}function x0(e){co?uo?uo.push(e):uo=[e]:co=e}function b0(){if(co){var e=co,t=uo;if(uo=co=null,yg(e),t)for(e=0;e<t.length;e++)yg(t[e])}}function w0(e,t){return e(t)}function S0(){}var Hu=!1;function j0(e,t,n){if(Hu)return e(t,n);Hu=!0;try{return w0(e,t,n)}finally{Hu=!1,(co!==null||uo!==null)&&(S0(),b0())}}function Fi(e,t){var n=e.stateNode;if(n===null)return null;var r=Hc(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(V(231,t,typeof n));return n}var ff=!1;if(Qn)try{var ni={};Object.defineProperty(ni,"passive",{get:function(){ff=!0}}),window.addEventListener("test",ni,ni),window.removeEventListener("test",ni,ni)}catch{ff=!1}function bN(e,t,n,r,s,o,a,l,c){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(d){this.onError(d)}}var wi=!1,$l=null,Wl=!1,mf=null,wN={onError:function(e){wi=!0,$l=e}};function SN(e,t,n,r,s,o,a,l,c){wi=!1,$l=null,bN.apply(wN,arguments)}function jN(e,t,n,r,s,o,a,l,c){if(SN.apply(this,arguments),wi){if(wi){var u=$l;wi=!1,$l=null}else throw Error(V(198));Wl||(Wl=!0,mf=u)}}function Ls(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 C0(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 xg(e){if(Ls(e)!==e)throw Error(V(188))}function CN(e){var t=e.alternate;if(!t){if(t=Ls(e),t===null)throw Error(V(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 xg(s),e;if(o===r)return xg(s),t;o=o.sibling}throw Error(V(188))}if(n.return!==r.return)n=s,r=o;else{for(var a=!1,l=s.child;l;){if(l===n){a=!0,n=s,r=o;break}if(l===r){a=!0,r=s,n=o;break}l=l.sibling}if(!a){for(l=o.child;l;){if(l===n){a=!0,n=o,r=s;break}if(l===r){a=!0,r=o,n=s;break}l=l.sibling}if(!a)throw Error(V(189))}}if(n.alternate!==r)throw Error(V(190))}if(n.tag!==3)throw Error(V(188));return n.stateNode.current===n?e:t}function N0(e){return e=CN(e),e!==null?k0(e):null}function k0(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=k0(e);if(t!==null)return t;e=e.sibling}return null}var E0=Lt.unstable_scheduleCallback,bg=Lt.unstable_cancelCallback,NN=Lt.unstable_shouldYield,kN=Lt.unstable_requestPaint,We=Lt.unstable_now,EN=Lt.unstable_getCurrentPriorityLevel,tp=Lt.unstable_ImmediatePriority,A0=Lt.unstable_UserBlockingPriority,Ul=Lt.unstable_NormalPriority,AN=Lt.unstable_LowPriority,T0=Lt.unstable_IdlePriority,$c=null,Mn=null;function TN(e){if(Mn&&typeof Mn.onCommitFiberRoot=="function")try{Mn.onCommitFiberRoot($c,e,void 0,(e.current.flags&128)===128)}catch{}}var ln=Math.clz32?Math.clz32:RN,PN=Math.log,MN=Math.LN2;function RN(e){return e>>>=0,e===0?32:31-(PN(e)/MN|0)|0}var Wa=64,Ua=4194304;function hi(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 ql(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,s=e.suspendedLanes,o=e.pingedLanes,a=n&268435455;if(a!==0){var l=a&~s;l!==0?r=hi(l):(o&=a,o!==0&&(r=hi(o)))}else a=n&~s,a!==0?r=hi(a):o!==0&&(r=hi(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-ln(t),s=1<<n,r|=e[n],t&=~s;return r}function IN(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 DN(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,s=e.expirationTimes,o=e.pendingLanes;0<o;){var a=31-ln(o),l=1<<a,c=s[a];c===-1?(!(l&n)||l&r)&&(s[a]=IN(l,t)):c<=t&&(e.expiredLanes|=l),o&=~l}}function pf(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function P0(){var e=Wa;return Wa<<=1,!(Wa&4194240)&&(Wa=64),e}function Ku(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function ya(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-ln(t),e[t]=n}function LN(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-ln(n),o=1<<s;t[s]=0,r[s]=-1,e[s]=-1,n&=~o}}function np(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-ln(n),s=1<<r;s&t|e[r]&t&&(e[r]|=t),n&=~s}}var xe=0;function M0(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var R0,rp,I0,D0,L0,hf=!1,qa=[],Rr=null,Ir=null,Dr=null,_i=new Map,zi=new Map,br=[],ON="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 wg(e,t){switch(e){case"focusin":case"focusout":Rr=null;break;case"dragenter":case"dragleave":Ir=null;break;case"mouseover":case"mouseout":Dr=null;break;case"pointerover":case"pointerout":_i.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":zi.delete(t.pointerId)}}function ri(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=ba(t),t!==null&&rp(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,s!==null&&t.indexOf(s)===-1&&t.push(s),e)}
vendor: 9,986 bytes, line 37
37function FN(e,t,n,r,s){switch(t){case"focusin":return Rr=ri(Rr,e,t,n,r,s),!0;case"dragenter":return Ir=ri(Ir,e,t,n,r,s),!0;case"mouseover":return Dr=ri(Dr,e,t,n,r,s),!0;case"pointerover":var o=s.pointerId;return _i.set(o,ri(_i.get(o)||null,e,t,n,r,s)),!0;case"gotpointercapture":return o=s.pointerId,zi.set(o,ri(zi.get(o)||null,e,t,n,r,s)),!0}return!1}function O0(e){var t=ls(e.target);if(t!==null){var n=Ls(t);if(n!==null){if(t=n.tag,t===13){if(t=C0(n),t!==null){e.blockedOn=t,L0(e.priority,function(){I0(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 yl(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=gf(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);uf=r,n.target.dispatchEvent(r),uf=null}else return t=ba(n),t!==null&&rp(t),e.blockedOn=n,!1;t.shift()}return!0}function Sg(e,t,n){yl(e)&&n.delete(t)}function _N(){hf=!1,Rr!==null&&yl(Rr)&&(Rr=null),Ir!==null&&yl(Ir)&&(Ir=null),Dr!==null&&yl(Dr)&&(Dr=null),_i.forEach(Sg),zi.forEach(Sg)}function si(e,t){e.blockedOn===t&&(e.blockedOn=null,hf||(hf=!0,Lt.unstable_scheduleCallback(Lt.unstable_NormalPriority,_N)))}function Vi(e){function t(s){return si(s,e)}if(0<qa.length){si(qa[0],e);for(var n=1;n<qa.length;n++){var r=qa[n];r.blockedOn===e&&(r.blockedOn=null)}}for(Rr!==null&&si(Rr,e),Ir!==null&&si(Ir,e),Dr!==null&&si(Dr,e),_i.forEach(t),zi.forEach(t),n=0;n<br.length;n++)r=br[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<br.length&&(n=br[0],n.blockedOn===null);)O0(n),n.blockedOn===null&&br.shift()}var fo=nr.ReactCurrentBatchConfig,Hl=!0;function zN(e,t,n,r){var s=xe,o=fo.transition;fo.transition=null;try{xe=1,sp(e,t,n,r)}finally{xe=s,fo.transition=o}}function VN(e,t,n,r){var s=xe,o=fo.transition;fo.transition=null;try{xe=4,sp(e,t,n,r)}finally{xe=s,fo.transition=o}}function sp(e,t,n,r){if(Hl){var s=gf(e,t,n,r);if(s===null)rd(e,t,r,Kl,n),wg(e,r);else if(FN(s,e,t,n,r))r.stopPropagation();else if(wg(e,r),t&4&&-1<ON.indexOf(e)){for(;s!==null;){var o=ba(s);if(o!==null&&R0(o),o=gf(e,t,n,r),o===null&&rd(e,t,r,Kl,n),o===s)break;s=o}s!==null&&r.stopPropagation()}else rd(e,t,r,null,n)}}var Kl=null;function gf(e,t,n,r){if(Kl=null,e=ep(r),e=ls(e),e!==null)if(t=Ls(e),t===null)e=null;else if(n=t.tag,n===13){if(e=C0(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 Kl=e,null}function F0(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(EN()){case tp:return 1;case A0:return 4;case Ul:case AN:return 16;case T0:return 536870912;default:return 16}default:return 16}}var Ar=null,op=null,xl=null;function _0(){if(xl)return xl;var e,t=op,n=t.length,r,s="value"in Ar?Ar.value:Ar.textContent,o=s.length;for(e=0;e<n&&t[e]===s[e];e++);var a=n-e;for(r=1;r<=a&&t[n-r]===s[o-r];r++);return xl=s.slice(e,1<r?1-r:void 0)}function bl(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 Ha(){return!0}function jg(){return!1}function Ft(e){function t(n,r,s,o,a){this._reactName=n,this._targetInst=s,this.type=r,this.nativeEvent=o,this.target=a,this.currentTarget=null;for(var l in e)e.hasOwnProperty(l)&&(n=e[l],this[l]=n?n(o):o[l]);return this.isDefaultPrevented=(o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===!1)?Ha:jg,this.isPropagationStopped=jg,this}return _e(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=Ha)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Ha)},persist:function(){},isPersistent:Ha}),t}var $o={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ip=Ft($o),xa=_e({},$o,{view:0,detail:0}),BN=Ft(xa),Gu,Yu,oi,Wc=_e({},xa,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:ap,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!==oi&&(oi&&e.type==="mousemove"?(Gu=e.screenX-oi.screenX,Yu=e.screenY-oi.screenY):Yu=Gu=0,oi=e),Gu)},movementY:function(e){return"movementY"in e?e.movementY:Yu}}),Cg=Ft(Wc),$N=_e({},Wc,{dataTransfer:0}),WN=Ft($N),UN=_e({},xa,{relatedTarget:0}),Qu=Ft(UN),qN=_e({},$o,{animationName:0,elapsedTime:0,pseudoElement:0}),HN=Ft(qN),KN=_e({},$o,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),GN=Ft(KN),YN=_e({},$o,{data:0}),Ng=Ft(YN),QN={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},XN={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"},ZN={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function JN(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=ZN[e])?!!t[e]:!1}function ap(){return JN}var ek=_e({},xa,{key:function(e){if(e.key){var t=QN[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=bl(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?XN[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:ap,charCode:function(e){return e.type==="keypress"?bl(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?bl(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),tk=Ft(ek),nk=_e({},Wc,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),kg=Ft(nk),rk=_e({},xa,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:ap}),sk=Ft(rk),ok=_e({},$o,{propertyName:0,elapsedTime:0,pseudoElement:0}),ik=Ft(ok),ak=_e({},Wc,{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}),lk=Ft(ak),ck=[9,13,27,32],lp=Qn&&"CompositionEvent"in window,Si=null;Qn&&"documentMode"in document&&(Si=document.documentMode);var uk=Qn&&"TextEvent"in window&&!Si,z0=Qn&&(!lp||Si&&8<Si&&11>=Si),Eg=" ",Ag=!1;function V0(e,t){switch(e){case"keyup":return ck.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function B0(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ys=!1;function dk(e,t){switch(e){case"compositionend":return B0(t);case"keypress":return t.which!==32?null:(Ag=!0,Eg);case"textInput":return e=t.data,e===Eg&&Ag?null:e;default:return null}}function fk(e,t){if(Ys)return e==="compositionend"||!lp&&V0(e,t)?(e=_0(),xl=op=Ar=null,Ys=!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 z0&&t.locale!=="ko"?null:t.data;default:return null}}var mk={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 Tg(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!mk[e.type]:t==="textarea"}function $0(e,t,n,r){x0(r),t=Gl(t,"onChange"),0<t.length&&(n=new ip("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var ji=null,Bi=null;function pk(e){J0(e,0)}function Uc(e){var t=Zs(e);if(f0(t))return e}function hk(e,t){if(e==="change")return t}var W0=!1;if(Qn){var Xu;if(Qn){var Zu="oninput"in document;if(!Zu){var Pg=document.createElement("div");Pg.setAttribute("oninput","return;"),Zu=typeof Pg.oninput=="function"}Xu=Zu}else Xu=!1;W0=Xu&&(!document.documentMode||9<document.documentMode)}function Mg(){ji&&(ji.detachEvent("onpropertychange",U0),Bi=ji=null)}function U0(e){if(e.propertyName==="value"&&Uc(Bi)){var t=[];$0(t,Bi,e,ep(e)),j0(pk,t)}}
vendor: 5,253 bytes, line 37
37function gk(e,t,n){e==="focusin"?(Mg(),ji=t,Bi=n,ji.attachEvent("onpropertychange",U0)):e==="focusout"&&Mg()}function vk(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Uc(Bi)}function yk(e,t){if(e==="click")return Uc(t)}function xk(e,t){if(e==="input"||e==="change")return Uc(t)}function bk(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var fn=typeof Object.is=="function"?Object.is:bk;function $i(e,t){if(fn(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(!Xd.call(t,s)||!fn(e[s],t[s]))return!1}return!0}function Rg(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Ig(e,t){var n=Rg(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=Rg(n)}}function q0(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?q0(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function H0(){for(var e=window,t=Bl();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Bl(e.document)}return t}function cp(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 wk(e){var t=H0(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&q0(n.ownerDocument.documentElement,n)){if(r!==null&&cp(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var s=n.textContent.length,o=Math.min(r.start,s);r=r.end===void 0?o:Math.min(r.end,s),!e.extend&&o>r&&(s=r,r=o,o=s),s=Ig(n,o);var a=Ig(n,r);s&&a&&(e.rangeCount!==1||e.anchorNode!==s.node||e.anchorOffset!==s.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&(t=t.createRange(),t.setStart(s.node,s.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var Sk=Qn&&"documentMode"in document&&11>=document.documentMode,Qs=null,vf=null,Ci=null,yf=!1;function Dg(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;yf||Qs==null||Qs!==Bl(r)||(r=Qs,"selectionStart"in r&&cp(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}),Ci&&$i(Ci,r)||(Ci=r,r=Gl(vf,"onSelect"),0<r.length&&(t=new ip("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Qs)))}function Ka(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Xs={animationend:Ka("Animation","AnimationEnd"),animationiteration:Ka("Animation","AnimationIteration"),animationstart:Ka("Animation","AnimationStart"),transitionend:Ka("Transition","TransitionEnd")},Ju={},K0={};Qn&&(K0=document.createElement("div").style,"AnimationEvent"in window||(delete Xs.animationend.animation,delete Xs.animationiteration.animation,delete Xs.animationstart.animation),"TransitionEvent"in window||delete Xs.transitionend.transition);function qc(e){if(Ju[e])return Ju[e];if(!Xs[e])return e;var t=Xs[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in K0)return Ju[e]=t[n];return e}var G0=qc("animationend"),Y0=qc("animationiteration"),Q0=qc("animationstart"),X0=qc("transitionend"),Z0=new Map,Lg="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 Yr(e,t){Z0.set(e,t),Ds(t,[e])}for(var ed=0;ed<Lg.length;ed++){var td=Lg[ed],jk=td.toLowerCase(),Ck=td[0].toUpperCase()+td.slice(1);Yr(jk,"on"+Ck)}Yr(G0,"onAnimationEnd");Yr(Y0,"onAnimationIteration");Yr(Q0,"onAnimationStart");Yr("dblclick","onDoubleClick");Yr("focusin","onFocus");Yr("focusout","onBlur");Yr(X0,"onTransitionEnd");To("onMouseEnter",["mouseout","mouseover"]);To("onMouseLeave",["mouseout","mouseover"]);To("onPointerEnter",["pointerout","pointerover"]);To("onPointerLeave",["pointerout","pointerover"]);Ds("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));
vendor: 4,770 bytes, line 37
37Ds("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Ds("onBeforeInput",["compositionend","keypress","textInput","paste"]);Ds("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Ds("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Ds("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var gi="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(" "),Nk=new Set("cancel close invalid load scroll toggle".split(" ").concat(gi));function Og(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,jN(r,t,void 0,e),e.currentTarget=null}function J0(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],s=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var a=r.length-1;0<=a;a--){var l=r[a],c=l.instance,u=l.currentTarget;if(l=l.listener,c!==o&&s.isPropagationStopped())break e;Og(s,l,u),o=c}else for(a=0;a<r.length;a++){if(l=r[a],c=l.instance,u=l.currentTarget,l=l.listener,c!==o&&s.isPropagationStopped())break e;Og(s,l,u),o=c}}}if(Wl)throw e=mf,Wl=!1,mf=null,e}function Ee(e,t){var n=t[jf];n===void 0&&(n=t[jf]=new Set);var r=e+"__bubble";n.has(r)||(eb(t,e,2,!1),n.add(r))}function nd(e,t,n){var r=0;t&&(r|=4),eb(n,e,r,t)}var Ga="_reactListening"+Math.random().toString(36).slice(2);function Wi(e){if(!e[Ga]){e[Ga]=!0,a0.forEach(function(n){n!=="selectionchange"&&(Nk.has(n)||nd(n,!1,e),nd(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Ga]||(t[Ga]=!0,nd("selectionchange",!1,t))}}function eb(e,t,n,r){switch(F0(t)){case 1:var s=zN;break;case 4:s=VN;break;default:s=sp}n=s.bind(null,t,n,e),s=void 0,!ff||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 rd(e,t,n,r,s){var o=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var a=r.tag;if(a===3||a===4){var l=r.stateNode.containerInfo;if(l===s||l.nodeType===8&&l.parentNode===s)break;if(a===4)for(a=r.return;a!==null;){var c=a.tag;if((c===3||c===4)&&(c=a.stateNode.containerInfo,c===s||c.nodeType===8&&c.parentNode===s))return;a=a.return}for(;l!==null;){if(a=ls(l),a===null)return;if(c=a.tag,c===5||c===6){r=o=a;continue e}l=l.parentNode}}r=r.return}j0(function(){var u=o,d=ep(n),f=[];e:{var m=Z0.get(e);if(m!==void 0){var p=ip,w=e;switch(e){case"keypress":if(bl(n)===0)break e;case"keydown":case"keyup":p=tk;break;case"focusin":w="focus",p=Qu;break;case"focusout":w="blur",p=Qu;break;case"beforeblur":case"afterblur":p=Qu;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=Cg;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":p=WN;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":p=sk;break;case G0:case Y0:case Q0:p=HN;break;case X0:p=ik;break;case"scroll":p=BN;break;case"wheel":p=lk;break;case"copy":case"cut":case"paste":p=GN;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":p=kg}var v=(t&4)!==0,x=!v&&e==="scroll",g=v?m!==null?m+"Capture":null:m;v=[];for(var y=u,b;y!==null;){b=y;var S=b.stateNode;if(b.tag===5&&S!==null&&(b=S,g!==null&&(S=Fi(y,g),S!=null&&v.push(Ui(y,S,b)))),x)break;y=y.return}0<v.length&&(m=new p(m,w,null,n,d),f.push({event:m,listeners:v}))}}if(!(t&7)){e:{if(m=e==="mouseover"||e==="pointerover",p=e==="mouseout"||e==="pointerout",m&&n!==uf&&(w=n.relatedTarget||n.fromElement)&&(ls(w)||w[Xn]))break e;if((p||m)&&(m=d.window===d?d:(m=d.ownerDocument)?m.defaultView||m.parentWindow:window,p?(w=n.relatedTarget||n.toElement,p=u,w=w?ls(w):null,w!==null&&(x=Ls(w),w!==x||w.tag!==5&&w.tag!==6)&&(w=null)):(p=null,w=u),p!==w)){if(v=Cg,S="onMouseLeave",g="onMouseEnter",y="mouse",(e==="pointerout"||e==="pointerover")&&(v=kg,S="onPointerLeave",g="onPointerEnter",y="pointer"),x=p==null?m:Zs(p),b=w==null?m:Zs(w),m=new v(S,y+"leave",p,n,d),m.target=x,m.relatedTarget=b,S=null,ls(d)===u&&(v=new v(g,y+"enter",w,n,d),v.target=b,v.relatedTarget=x,S=v),x=S,p&&w)t:{for(v=p,g=w,y=0,b=v;b;b=Bs(b))y++;for(b=0,S=g;S;S=Bs(S))b++;for(;0<y-b;)v=Bs(v),y--;for(;0<b-y;)g=Bs(g),b--;for(;y--;){if(v===g||g!==null&&v===g.alternate)break t;v=Bs(v),g=Bs(g)}v=null}else v=null;p!==null&&Fg(f,m,p,v,!1),w!==null&&x!==null&&Fg(f,x,w,v,!0)}}
vendor: 4,435 bytes, lines 37-38
37e:{if(m=u?Zs(u):window,p=m.nodeName&&m.nodeName.toLowerCase(),p==="select"||p==="input"&&m.type==="file")var j=hk;else if(Tg(m))if(W0)j=xk;else{j=vk;var C=gk}else(p=m.nodeName)&&p.toLowerCase()==="input"&&(m.type==="checkbox"||m.type==="radio")&&(j=yk);if(j&&(j=j(e,u))){$0(f,j,n,d);break e}C&&C(e,m,u),e==="focusout"&&(C=m._wrapperState)&&C.controlled&&m.type==="number"&&sf(m,"number",m.value)}switch(C=u?Zs(u):window,e){case"focusin":(Tg(C)||C.contentEditable==="true")&&(Qs=C,vf=u,Ci=null);break;case"focusout":Ci=vf=Qs=null;break;case"mousedown":yf=!0;break;case"contextmenu":case"mouseup":case"dragend":yf=!1,Dg(f,n,d);break;case"selectionchange":if(Sk)break;case"keydown":case"keyup":Dg(f,n,d)}var N;if(lp)e:{switch(e){case"compositionstart":var E="onCompositionStart";break e;case"compositionend":E="onCompositionEnd";break e;case"compositionupdate":E="onCompositionUpdate";break e}E=void 0}else Ys?V0(e,n)&&(E="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(E="onCompositionStart");E&&(z0&&n.locale!=="ko"&&(Ys||E!=="onCompositionStart"?E==="onCompositionEnd"&&Ys&&(N=_0()):(Ar=d,op="value"in Ar?Ar.value:Ar.textContent,Ys=!0)),C=Gl(u,E),0<C.length&&(E=new Ng(E,e,null,n,d),f.push({event:E,listeners:C}),N?E.data=N:(N=B0(n),N!==null&&(E.data=N)))),(N=uk?dk(e,n):fk(e,n))&&(u=Gl(u,"onBeforeInput"),0<u.length&&(d=new Ng("onBeforeInput","beforeinput",null,n,d),f.push({event:d,listeners:u}),d.data=N))}J0(f,t)})}function Ui(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Gl(e,t){for(var n=t+"Capture",r=[];e!==null;){var s=e,o=s.stateNode;s.tag===5&&o!==null&&(s=o,o=Fi(e,n),o!=null&&r.unshift(Ui(e,o,s)),o=Fi(e,t),o!=null&&r.push(Ui(e,o,s))),e=e.return}return r}function Bs(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Fg(e,t,n,r,s){for(var o=t._reactName,a=[];n!==null&&n!==r;){var l=n,c=l.alternate,u=l.stateNode;if(c!==null&&c===r)break;l.tag===5&&u!==null&&(l=u,s?(c=Fi(n,o),c!=null&&a.unshift(Ui(n,c,l))):s||(c=Fi(n,o),c!=null&&a.push(Ui(n,c,l)))),n=n.return}a.length!==0&&e.push({event:t,listeners:a})}var kk=/\r\n?/g,Ek=/\u0000|\uFFFD/g;function _g(e){return(typeof e=="string"?e:""+e).replace(kk,` 38`).replace(Ek,"")}function Ya(e,t,n){if(t=_g(t),_g(e)!==t&&n)throw Error(V(425))}function Yl(){}var xf=null,bf=null;function wf(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 Sf=typeof setTimeout=="function"?setTimeout:void 0,Ak=typeof clearTimeout=="function"?clearTimeout:void 0,zg=typeof Promise=="function"?Promise:void 0,Tk=typeof queueMicrotask=="function"?queueMicrotask:typeof zg<"u"?function(e){return zg.resolve(null).then(e).catch(Pk)}:Sf;function Pk(e){setTimeout(function(){throw e})}function sd(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),Vi(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=s}while(n);Vi(t)}function Lr(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function Vg(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 Wo=Math.random().toString(36).slice(2),An="__reactFiber$"+Wo,qi="__reactProps$"+Wo,Xn="__reactContainer$"+Wo,jf="__reactEvents$"+Wo,Mk="__reactListeners$"+Wo,Rk="__reactHandles$"+Wo;function ls(e){var t=e[An];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Xn]||n[An]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Vg(e);e!==null;){if(n=e[An])return n;e=Vg(e)}return t}e=n,n=e.parentNode}return null}function ba(e){return e=e[An]||e[Xn],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Zs(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(V(33))}function Hc(e){return e[qi]||null}var Cf=[],Js=-1;function Qr(e){return{current:e}}function Te(e){0>Js||(e.current=Cf[Js],Cf[Js]=null,Js--)}function je(e,t){Js++,Cf[Js]=e.current,e.current=t}var Wr={},ut=Qr(Wr),St=Qr(!1),Ns=Wr;function Po(e,t){var n=e.type.contextTypes;if(!n)return Wr;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var s={},o;
vendor: 20,304 bytes, line 38
38for(o in n)s[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=s),s}function jt(e){return e=e.childContextTypes,e!=null}function Ql(){Te(St),Te(ut)}function Bg(e,t,n){if(ut.current!==Wr)throw Error(V(168));je(ut,t),je(St,n)}function tb(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(V(108,gN(e)||"Unknown",s));return _e({},n,r)}function Xl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Wr,Ns=ut.current,je(ut,e),je(St,St.current),!0}function $g(e,t,n){var r=e.stateNode;if(!r)throw Error(V(169));n?(e=tb(e,t,Ns),r.__reactInternalMemoizedMergedChildContext=e,Te(St),Te(ut),je(ut,e)):Te(St),je(St,n)}var qn=null,Kc=!1,od=!1;function nb(e){qn===null?qn=[e]:qn.push(e)}function Ik(e){Kc=!0,nb(e)}function Xr(){if(!od&&qn!==null){od=!0;var e=0,t=xe;try{var n=qn;for(xe=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}qn=null,Kc=!1}catch(s){throw qn!==null&&(qn=qn.slice(e+1)),E0(tp,Xr),s}finally{xe=t,od=!1}}return null}var eo=[],to=0,Zl=null,Jl=0,zt=[],Vt=0,ks=null,Kn=1,Gn="";function os(e,t){eo[to++]=Jl,eo[to++]=Zl,Zl=e,Jl=t}function rb(e,t,n){zt[Vt++]=Kn,zt[Vt++]=Gn,zt[Vt++]=ks,ks=e;var r=Kn;e=Gn;var s=32-ln(r)-1;r&=~(1<<s),n+=1;var o=32-ln(t)+s;if(30<o){var a=s-s%5;o=(r&(1<<a)-1).toString(32),r>>=a,s-=a,Kn=1<<32-ln(t)+s|n<<s|r,Gn=o+e}else Kn=1<<o|n<<s|r,Gn=e}function up(e){e.return!==null&&(os(e,1),rb(e,1,0))}function dp(e){for(;e===Zl;)Zl=eo[--to],eo[to]=null,Jl=eo[--to],eo[to]=null;for(;e===ks;)ks=zt[--Vt],zt[Vt]=null,Gn=zt[--Vt],zt[Vt]=null,Kn=zt[--Vt],zt[Vt]=null}var Rt=null,Mt=null,Me=!1,an=null;function sb(e,t){var n=Bt(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 Wg(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,Rt=e,Mt=Lr(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,Rt=e,Mt=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=ks!==null?{id:Kn,overflow:Gn}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=Bt(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,Rt=e,Mt=null,!0):!1;default:return!1}}function Nf(e){return(e.mode&1)!==0&&(e.flags&128)===0}function kf(e){if(Me){var t=Mt;if(t){var n=t;if(!Wg(e,t)){if(Nf(e))throw Error(V(418));t=Lr(n.nextSibling);var r=Rt;t&&Wg(e,t)?sb(r,n):(e.flags=e.flags&-4097|2,Me=!1,Rt=e)}}else{if(Nf(e))throw Error(V(418));e.flags=e.flags&-4097|2,Me=!1,Rt=e}}}function Ug(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Rt=e}function Qa(e){if(e!==Rt)return!1;if(!Me)return Ug(e),Me=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!wf(e.type,e.memoizedProps)),t&&(t=Mt)){if(Nf(e))throw ob(),Error(V(418));for(;t;)sb(e,t),t=Lr(t.nextSibling)}if(Ug(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(V(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){Mt=Lr(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}Mt=null}}else Mt=Rt?Lr(e.stateNode.nextSibling):null;return!0}function ob(){for(var e=Mt;e;)e=Lr(e.nextSibling)}function Mo(){Mt=Rt=null,Me=!1}function fp(e){an===null?an=[e]:an.push(e)}var Dk=nr.ReactCurrentBatchConfig;function ii(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(V(309));var r=n.stateNode}if(!r)throw Error(V(147,e));var s=r,o=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===o?t.ref:(t=function(a){var l=s.refs;a===null?delete l[o]:l[o]=a},t._stringRef=o,t)}if(typeof e!="string")throw Error(V(284));if(!n._owner)throw Error(V(290,e))}return e}function Xa(e,t){throw e=Object.prototype.toString.call(t),Error(V(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function qg(e){var t=e._init;return t(e._payload)}function ib(e){function t(g,y){if(e){var b=g.deletions;b===null?(g.deletions=[y],g.flags|=16):b.push(y)}}function n(g,y){if(!e)return null;for(;y!==null;)t(g,y),y=y.sibling;return null}function r(g,y){for(g=new Map;y!==null;)y.key!==null?g.set(y.key,y):g.set(y.index,y),y=y.sibling;return g}function s(g,y){return g=zr(g,y),g.index=0,g.sibling=null,g}function o(g,y,b){return g.index=b,e?(b=g.alternate,b!==null?(b=b.index,b<y?(g.flags|=2,y):b):(g.flags|=2,y)):(g.flags|=1048576,y)}function a(g){return e&&g.alternate===null&&(g.flags|=2),g}function l(g,y,b,S){return y===null||y.tag!==6?(y=fd(b,g.mode,S),y.return=g,y):(y=s(y,b),y.return=g,y)}function c(g,y,b,S){var j=b.type;return j===Gs?d(g,y,b.props.children,S,b.key):y!==null&&(y.elementType===j||typeof j=="object"&&j!==null&&j.$$typeof===yr&&qg(j)===y.type)?(S=s(y,b.props),S.ref=ii(g,y,b),S.return=g,S):(S=El(b.type,b.key,b.props,null,g.mode,S),S.ref=ii(g,y,b),S.return=g,S)}function u(g,y,b,S){return y===null||y.tag!==4||y.stateNode.containerInfo!==b.containerInfo||y.stateNode.implementation!==b.implementation?(y=md(b,g.mode,S),y.return=g,y):(y=s(y,b.children||[]),y.return=g,y)}function d(g,y,b,S,j){return y===null||y.tag!==7?(y=ws(b,g.mode,S,j),y.return=g,y):(y=s(y,b),y.return=g,y)}function f(g,y,b){if(typeof y=="string"&&y!==""||typeof y=="number")return y=fd(""+y,g.mode,b),y.return=g,y;if(typeof y=="object"&&y!==null){switch(y.$$typeof){case Va:return b=El(y.type,y.key,y.props,null,g.mode,b),b.ref=ii(g,null,y),b.return=g,b;case Ks:return y=md(y,g.mode,b),y.return=g,y;case yr:var S=y._init;return f(g,S(y._payload),b)}if(pi(y)||ti(y))return y=ws(y,g.mode,b,null),y.return=g,y;Xa(g,y)}return null}function m(g,y,b,S){var j=y!==null?y.key:null;if(typeof b=="string"&&b!==""||typeof b=="number")return j!==null?null:l(g,y,""+b,S);if(typeof b=="object"&&b!==null){switch(b.$$typeof){case Va:return b.key===j?c(g,y,b,S):null;case Ks:return b.key===j?u(g,y,b,S):null;case yr:return j=b._init,m(g,y,j(b._payload),S)}if(pi(b)||ti(b))return j!==null?null:d(g,y,b,S,null);Xa(g,b)}return null}function p(g,y,b,S,j){if(typeof S=="string"&&S!==""||typeof S=="number")return g=g.get(b)||null,l(y,g,""+S,j);if(typeof S=="object"&&S!==null){switch(S.$$typeof){case Va:return g=g.get(S.key===null?b:S.key)||null,c(y,g,S,j);case Ks:return g=g.get(S.key===null?b:S.key)||null,u(y,g,S,j);case yr:var C=S._init;return p(g,y,b,C(S._payload),j)}if(pi(S)||ti(S))return g=g.get(b)||null,d(y,g,S,j,null);Xa(y,S)}return null}function w(g,y,b,S){for(var j=null,C=null,N=y,E=y=0,T=null;N!==null&&E<b.length;E++){N.index>E?(T=N,N=null):T=N.sibling;var P=m(g,N,b[E],S);if(P===null){N===null&&(N=T);break}e&&N&&P.alternate===null&&t(g,N),y=o(P,y,E),C===null?j=P:C.sibling=P,C=P,N=T}if(E===b.length)return n(g,N),Me&&os(g,E),j;if(N===null){for(;E<b.length;E++)N=f(g,b[E],S),N!==null&&(y=o(N,y,E),C===null?j=N:C.sibling=N,C=N);return Me&&os(g,E),j}for(N=r(g,N);E<b.length;E++)T=p(N,g,E,b[E],S),T!==null&&(e&&T.alternate!==null&&N.delete(T.key===null?E:T.key),y=o(T,y,E),C===null?j=T:C.sibling=T,C=T);return e&&N.forEach(function(I){return t(g,I)}),Me&&os(g,E),j}function v(g,y,b,S){var j=ti(b);if(typeof j!="function")throw Error(V(150));if(b=j.call(b),b==null)throw Error(V(151));for(var C=j=null,N=y,E=y=0,T=null,P=b.next();N!==null&&!P.done;E++,P=b.next()){N.index>E?(T=N,N=null):T=N.sibling;var I=m(g,N,P.value,S);if(I===null){N===null&&(N=T);break}e&&N&&I.alternate===null&&t(g,N),y=o(I,y,E),C===null?j=I:C.sibling=I,C=I,N=T}if(P.done)return n(g,N),Me&&os(g,E),j;if(N===null){for(;!P.done;E++,P=b.next())P=f(g,P.value,S),P!==null&&(y=o(P,y,E),C===null?j=P:C.sibling=P,C=P);return Me&&os(g,E),j}for(N=r(g,N);!P.done;E++,P=b.next())P=p(N,g,E,P.value,S),P!==null&&(e&&P.alternate!==null&&N.delete(P.key===null?E:P.key),y=o(P,y,E),C===null?j=P:C.sibling=P,C=P);return e&&N.forEach(function(F){return t(g,F)}),Me&&os(g,E),j}function x(g,y,b,S){if(typeof b=="object"&&b!==null&&b.type===Gs&&b.key===null&&(b=b.props.children),typeof b=="object"&&b!==null){switch(b.$$typeof){case Va:e:{for(var j=b.key,C=y;C!==null;){if(C.key===j){if(j=b.type,j===Gs){if(C.tag===7){n(g,C.sibling),y=s(C,b.props.children),y.return=g,g=y;break e}}else if(C.elementType===j||typeof j=="object"&&j!==null&&j.$$typeof===yr&&qg(j)===C.type){n(g,C.sibling),y=s(C,b.props),y.ref=ii(g,C,b),y.return=g,g=y;break e}n(g,C);break}else t(g,C);C=C.sibling}b.type===Gs?(y=ws(b.props.children,g.mode,S,b.key),y.return=g,g=y):(S=El(b.type,b.key,b.props,null,g.mode,S),S.ref=ii(g,y,b),S.return=g,g=S)}return a(g);case Ks:e:{for(C=b.key;y!==null;){if(y.key===C)if(y.tag===4&&y.stateNode.containerInfo===b.containerInfo&&y.stateNode.implementation===b.implementation){n(g,y.sibling),y=s(y,b.children||[]),y.return=g,g=y;break e}else{n(g,y);break}else t(g,y);y=y.sibling}y=md(b,g.mode,S),y.return=g,g=y}return a(g);case yr:return C=b._init,x(g,y,C(b._payload),S)}if(pi(b))return w(g,y,b,S);if(ti(b))return v(g,y,b,S);Xa(g,b)}return typeof b=="string"&&b!==""||typeof b=="number"?(b=""+b,y!==null&&y.tag===6?(n(g,y.sibling),y=s(y,b),y.return=g,g=y):(n(g,y),y=fd(b,g.mode,S),y.return=g,g=y),a(g)):n(g,y)}return x}var Ro=ib(!0),ab=ib(!1),ec=Qr(null),tc=null,no=null,mp=null;function pp(){mp=no=tc=null}function hp(e){var t=ec.current;Te(ec),e._currentValue=t}function Ef(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 mo(e,t){tc=e,mp=no=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(wt=!0),e.firstContext=null)}function qt(e){var t=e._currentValue;if(mp!==e)if(e={context:e,memoizedValue:t,next:null},no===null){if(tc===null)throw Error(V(308));no=e,tc.dependencies={lanes:0,firstContext:e}}else no=no.next=e;return t}var cs=null;function gp(e){cs===null?cs=[e]:cs.push(e)}function lb(e,t,n,r){var s=t.interleaved;return s===null?(n.next=n,gp(t)):(n.next=s.next,s.next=n),t.interleaved=n,Zn(e,r)}function Zn(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 xr=!1;function vp(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function cb(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 Yn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Or(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,ge&2){var s=r.pending;return s===null?t.next=t:(t.next=s.next,s.next=t),r.pending=t,Zn(e,n)}return s=r.interleaved,s===null?(t.next=t,gp(r)):(t.next=s.next,s.next=t),r.interleaved=t,Zn(e,n)}function wl(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,np(e,n)}}function Hg(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var s=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};o===null?s=o=a:o=o.next=a,n=n.next}while(n!==null);o===null?s=o=t:o=o.next=t}else s=o=t;n={baseState:r.baseState,firstBaseUpdate:s,lastBaseUpdate:o,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function nc(e,t,n,r){var s=e.updateQueue;xr=!1;var o=s.firstBaseUpdate,a=s.lastBaseUpdate,l=s.shared.pending;if(l!==null){s.shared.pending=null;var c=l,u=c.next;c.next=null,a===null?o=u:a.next=u,a=c;var d=e.alternate;d!==null&&(d=d.updateQueue,l=d.lastBaseUpdate,l!==a&&(l===null?d.firstBaseUpdate=u:l.next=u,d.lastBaseUpdate=c))}if(o!==null){var f=s.baseState;a=0,d=u=c=null,l=o;do{var m=l.lane,p=l.eventTime;if((r&m)===m){d!==null&&(d=d.next={eventTime:p,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var w=e,v=l;switch(m=t,p=n,v.tag){case 1:if(w=v.payload,typeof w=="function"){f=w.call(p,f,m);break e}f=w;break e;case 3:w.flags=w.flags&-65537|128;case 0:if(w=v.payload,m=typeof w=="function"?w.call(p,f,m):w,m==null)break e;f=_e({},f,m);break e;case 2:xr=!0}}l.callback!==null&&l.lane!==0&&(e.flags|=64,m=s.effects,m===null?s.effects=[l]:m.push(l))}else p={eventTime:p,lane:m,tag:l.tag,payload:l.payload,callback:l.callback,next:null},d===null?(u=d=p,c=f):d=d.next=p,a|=m;if(l=l.next,l===null){if(l=s.shared.pending,l===null)break;m=l,l=m.next,m.next=null,s.lastBaseUpdate=m,s.shared.pending=null}}while(!0);if(d===null&&(c=f),s.baseState=c,s.firstBaseUpdate=u,s.lastBaseUpdate=d,t=s.shared.interleaved,t!==null){s=t;do a|=s.lane,s=s.next;while(s!==t)}else o===null&&(s.shared.lanes=0);As|=a,e.lanes=a,e.memoizedState=f}}function Kg(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(V(191,s));s.call(r)}}}var wa={},Rn=Qr(wa),Hi=Qr(wa),Ki=Qr(wa);function us(e){if(e===wa)throw Error(V(174));return e}function yp(e,t){switch(je(Ki,t),je(Hi,e),je(Rn,wa),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:af(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=af(t,e)}Te(Rn),je(Rn,t)}function Io(){Te(Rn),Te(Hi),Te(Ki)}function ub(e){us(Ki.current);var t=us(Rn.current),n=af(t,e.type);t!==n&&(je(Hi,e),je(Rn,n))}function xp(e){Hi.current===e&&(Te(Rn),Te(Hi))}var Le=Qr(0);function rc(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 id=[];function bp(){for(var e=0;e<id.length;e++)id[e]._workInProgressVersionPrimary=null;id.length=0}var Sl=nr.ReactCurrentDispatcher,ad=nr.ReactCurrentBatchConfig,Es=0,Fe=null,Ge=null,Xe=null,sc=!1,Ni=!1,Gi=0,Lk=0;function it(){throw Error(V(321))}function wp(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!fn(e[n],t[n]))return!1;return!0}function Sp(e,t,n,r,s,o){if(Es=o,Fe=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Sl.current=e===null||e.memoizedState===null?zk:Vk,e=n(r,s),Ni){o=0;do{if(Ni=!1,Gi=0,25<=o)throw Error(V(301));o+=1,Xe=Ge=null,t.updateQueue=null,Sl.current=Bk,e=n(r,s)}while(Ni)}if(Sl.current=oc,t=Ge!==null&&Ge.next!==null,Es=0,Xe=Ge=Fe=null,sc=!1,t)throw Error(V(300));return e}function jp(){var e=Gi!==0;return Gi=0,e}function Sn(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Xe===null?Fe.memoizedState=Xe=e:Xe=Xe.next=e,Xe}function Ht(){if(Ge===null){var e=Fe.alternate;e=e!==null?e.memoizedState:null}else e=Ge.next;var t=Xe===null?Fe.memoizedState:Xe.next;if(t!==null)Xe=t,Ge=e;else{if(e===null)throw Error(V(310));Ge=e,e={memoizedState:Ge.memoizedState,baseState:Ge.baseState,baseQueue:Ge.baseQueue,queue:Ge.queue,next:null},Xe===null?Fe.memoizedState=Xe=e:Xe=Xe.next=e}return Xe}function Yi(e,t){return typeof t=="function"?t(e):t}function ld(e){var t=Ht(),n=t.queue;if(n===null)throw Error(V(311));n.lastRenderedReducer=e;var r=Ge,s=r.baseQueue,o=n.pending;if(o!==null){if(s!==null){var a=s.next;s.next=o.next,o.next=a}r.baseQueue=s=o,n.pending=null}if(s!==null){o=s.next,r=r.baseState;var l=a=null,c=null,u=o;do{var d=u.lane;if((Es&d)===d)c!==null&&(c=c.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var f={lane:d,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};c===null?(l=c=f,a=r):c=c.next=f,Fe.lanes|=d,As|=d}u=u.next}while(u!==null&&u!==o);c===null?a=r:c.next=l,fn(r,t.memoizedState)||(wt=!0),t.memoizedState=r,t.baseState=a,t.baseQueue=c,n.lastRenderedState=r}if(e=n.interleaved,e!==null){s=e;do o=s.lane,Fe.lanes|=o,As|=o,s=s.next;while(s!==e)}else s===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function cd(e){var t=Ht(),n=t.queue;if(n===null)throw Error(V(311));n.lastRenderedReducer=e;var r=n.dispatch,s=n.pending,o=t.memoizedState;if(s!==null){n.pending=null;var a=s=s.next;do o=e(o,a.action),a=a.next;while(a!==s);fn(o,t.memoizedState)||(wt=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function db(){}function fb(e,t){var n=Fe,r=Ht(),s=t(),o=!fn(r.memoizedState,s);if(o&&(r.memoizedState=s,wt=!0),r=r.queue,Cp(hb.bind(null,n,r,e),[e]),r.getSnapshot!==t||o||Xe!==null&&Xe.memoizedState.tag&1){if(n.flags|=2048,Qi(9,pb.bind(null,n,r,s,t),void 0,null),Ze===null)throw Error(V(349));Es&30||mb(n,t,s)}return s}function mb(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=Fe.updateQueue,t===null?(t={lastEffect:null,stores:null},Fe.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function pb(e,t,n,r){t.value=n,t.getSnapshot=r,gb(t)&&vb(e)}function hb(e,t,n){return n(function(){gb(t)&&vb(e)})}function gb(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!fn(e,n)}catch{return!0}}function vb(e){var t=Zn(e,1);t!==null&&cn(t,e,1,-1)}function Gg(e){var t=Sn();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Yi,lastRenderedState:e},t.queue=e,e=e.dispatch=_k.bind(null,Fe,e),[t.memoizedState,e]}function Qi(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=Fe.updateQueue,t===null?(t={lastEffect:null,stores:null},Fe.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 yb(){return Ht().memoizedState}function jl(e,t,n,r){var s=Sn();Fe.flags|=e,s.memoizedState=Qi(1|t,n,void 0,r===void 0?null:r)}function Gc(e,t,n,r){var s=Ht();r=r===void 0?null:r;var o=void 0;if(Ge!==null){var a=Ge.memoizedState;if(o=a.destroy,r!==null&&wp(r,a.deps)){s.memoizedState=Qi(t,n,o,r);return}}Fe.flags|=e,s.memoizedState=Qi(1|t,n,o,r)}function Yg(e,t){return jl(8390656,8,e,t)}function Cp(e,t){return Gc(2048,8,e,t)}function xb(e,t){return Gc(4,2,e,t)}function bb(e,t){return Gc(4,4,e,t)}function wb(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 Sb(e,t,n){return n=n!=null?n.concat([e]):null,Gc(4,4,wb.bind(null,t,e),n)}function Np(){}function jb(e,t){var n=Ht();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&wp(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Cb(e,t){var n=Ht();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&wp(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Nb(e,t,n){return Es&21?(fn(n,t)||(n=P0(),Fe.lanes|=n,As|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,wt=!0),e.memoizedState=n)}function Ok(e,t){var n=xe;xe=n!==0&&4>n?n:4,e(!0);var r=ad.transition;ad.transition={};try{e(!1),t()}finally{xe=n,ad.transition=r}}function kb(){return Ht().memoizedState}function Fk(e,t,n){var r=_r(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Eb(e))Ab(t,n);else if(n=lb(e,t,n,r),n!==null){var s=ht();cn(n,e,r,s),Tb(n,t,r)}}function _k(e,t,n){var r=_r(e),s={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Eb(e))Ab(t,s);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var a=t.lastRenderedState,l=o(a,n);if(s.hasEagerState=!0,s.eagerState=l,fn(l,a)){var c=t.interleaved;c===null?(s.next=s,gp(t)):(s.next=c.next,c.next=s),t.interleaved=s;return}}catch{}finally{}n=lb(e,t,s,r),n!==null&&(s=ht(),cn(n,e,r,s),Tb(n,t,r))}}function Eb(e){var t=e.alternate;return e===Fe||t!==null&&t===Fe}function Ab(e,t){Ni=sc=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Tb(e,t,n){if(n&4194240){var r=t.lanes;
vendor: 2,501 bytes, line 38
38r&=e.pendingLanes,n|=r,t.lanes=n,np(e,n)}}var oc={readContext:qt,useCallback:it,useContext:it,useEffect:it,useImperativeHandle:it,useInsertionEffect:it,useLayoutEffect:it,useMemo:it,useReducer:it,useRef:it,useState:it,useDebugValue:it,useDeferredValue:it,useTransition:it,useMutableSource:it,useSyncExternalStore:it,useId:it,unstable_isNewReconciler:!1},zk={readContext:qt,useCallback:function(e,t){return Sn().memoizedState=[e,t===void 0?null:t],e},useContext:qt,useEffect:Yg,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,jl(4194308,4,wb.bind(null,t,e),n)},useLayoutEffect:function(e,t){return jl(4194308,4,e,t)},useInsertionEffect:function(e,t){return jl(4,2,e,t)},useMemo:function(e,t){var n=Sn();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Sn();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Fk.bind(null,Fe,e),[r.memoizedState,e]},useRef:function(e){var t=Sn();return e={current:e},t.memoizedState=e},useState:Gg,useDebugValue:Np,useDeferredValue:function(e){return Sn().memoizedState=e},useTransition:function(){var e=Gg(!1),t=e[0];return e=Ok.bind(null,e[1]),Sn().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Fe,s=Sn();if(Me){if(n===void 0)throw Error(V(407));n=n()}else{if(n=t(),Ze===null)throw Error(V(349));Es&30||mb(r,t,n)}s.memoizedState=n;var o={value:n,getSnapshot:t};return s.queue=o,Yg(hb.bind(null,r,o,e),[e]),r.flags|=2048,Qi(9,pb.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=Sn(),t=Ze.identifierPrefix;if(Me){var n=Gn,r=Kn;n=(r&~(1<<32-ln(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Gi++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=Lk++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},Vk={readContext:qt,useCallback:jb,useContext:qt,useEffect:Cp,useImperativeHandle:Sb,useInsertionEffect:xb,useLayoutEffect:bb,useMemo:Cb,useReducer:ld,useRef:yb,useState:function(){return ld(Yi)},useDebugValue:Np,useDeferredValue:function(e){var t=Ht();return Nb(t,Ge.memoizedState,e)},useTransition:function(){var e=ld(Yi)[0],t=Ht().memoizedState;return[e,t]},useMutableSource:db,useSyncExternalStore:fb,useId:kb,unstable_isNewReconciler:!1},Bk={readContext:qt,useCallback:jb,useContext:qt,useEffect:Cp,useImperativeHandle:Sb,useInsertionEffect:xb,useLayoutEffect:bb,useMemo:Cb,useReducer:cd,useRef
vendor: 4,086 bytes, lines 38-40
38:yb,useState:function(){return cd(Yi)},useDebugValue:Np,useDeferredValue:function(e){var t=Ht();return Ge===null?t.memoizedState=e:Nb(t,Ge.memoizedState,e)},useTransition:function(){var e=cd(Yi)[0],t=Ht().memoizedState;return[e,t]},useMutableSource:db,useSyncExternalStore:fb,useId:kb,unstable_isNewReconciler:!1};function nn(e,t){if(e&&e.defaultProps){t=_e({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function Af(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:_e({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Yc={isMounted:function(e){return(e=e._reactInternals)?Ls(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=ht(),s=_r(e),o=Yn(r,s);o.payload=t,n!=null&&(o.callback=n),t=Or(e,o,s),t!==null&&(cn(t,e,s,r),wl(t,e,s))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=ht(),s=_r(e),o=Yn(r,s);o.tag=1,o.payload=t,n!=null&&(o.callback=n),t=Or(e,o,s),t!==null&&(cn(t,e,s,r),wl(t,e,s))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=ht(),r=_r(e),s=Yn(n,r);s.tag=2,t!=null&&(s.callback=t),t=Or(e,s,r),t!==null&&(cn(t,e,r,n),wl(t,e,r))}};function Qg(e,t,n,r,s,o,a){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,o,a):t.prototype&&t.prototype.isPureReactComponent?!$i(n,r)||!$i(s,o):!0}function Pb(e,t,n){var r=!1,s=Wr,o=t.contextType;return typeof o=="object"&&o!==null?o=qt(o):(s=jt(t)?Ns:ut.current,r=t.contextTypes,o=(r=r!=null)?Po(e,s):Wr),t=new t(n,o),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Yc,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=s,e.__reactInternalMemoizedMaskedChildContext=o),t}function Xg(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&&Yc.enqueueReplaceState(t,t.state,null)}function Tf(e,t,n,r){var s=e.stateNode;s.props=n,s.state=e.memoizedState,s.refs={},vp(e);var o=t.contextType;typeof o=="object"&&o!==null?s.context=qt(o):(o=jt(t)?Ns:ut.current,s.context=Po(e,o)),s.state=e.memoizedState,o=t.getDerivedStateFromProps,typeof o=="function"&&(Af(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&&Yc.enqueueReplaceState(s,s.state,null),nc(e,n,s,r),s.state=e.memoizedState),typeof s.componentDidMount=="function"&&(e.flags|=4194308)}function Do(e,t){try{var n="",r=t;do n+=hN(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 ud(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Pf(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var $k=typeof WeakMap=="function"?WeakMap:Map;function Mb(e,t,n){n=Yn(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){ac||(ac=!0,Vf=r),Pf(e,t)},n}function Rb(e,t,n){n=Yn(-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(){Pf(e,t)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(n.callback=function(){Pf(e,t),typeof r!="function"&&(Fr===null?Fr=new Set([this]):Fr.add(this));var a=t.stack;this.componentDidCatch(t.value,{componentStack:a!==null?a:""})}),n}function Zg(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new $k;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=nE.bind(null,e,t,n),t.then(e,e))}function Jg(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}
vendor: 9,904 bytes, line 40
40function ev(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=Yn(-1,1),t.tag=2,Or(n,t,1))),n.lanes|=1),e)}var Wk=nr.ReactCurrentOwner,wt=!1;function dt(e,t,n,r){t.child=e===null?ab(t,null,n,r):Ro(t,e.child,n,r)}function tv(e,t,n,r,s){n=n.render;var o=t.ref;return mo(t,s),r=Sp(e,t,n,r,o,s),n=jp(),e!==null&&!wt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~s,Jn(e,t,s)):(Me&&n&&up(t),t.flags|=1,dt(e,t,r,s),t.child)}function nv(e,t,n,r,s){if(e===null){var o=n.type;return typeof o=="function"&&!Ip(o)&&o.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=o,Ib(e,t,o,r,s)):(e=El(n.type,null,r,t,t.mode,s),e.ref=t.ref,e.return=t,t.child=e)}if(o=e.child,!(e.lanes&s)){var a=o.memoizedProps;if(n=n.compare,n=n!==null?n:$i,n(a,r)&&e.ref===t.ref)return Jn(e,t,s)}return t.flags|=1,e=zr(o,r),e.ref=t.ref,e.return=t,t.child=e}function Ib(e,t,n,r,s){if(e!==null){var o=e.memoizedProps;if($i(o,r)&&e.ref===t.ref)if(wt=!1,t.pendingProps=r=o,(e.lanes&s)!==0)e.flags&131072&&(wt=!0);else return t.lanes=e.lanes,Jn(e,t,s)}return Mf(e,t,n,r,s)}function Db(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},je(so,At),At|=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,je(so,At),At|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=o!==null?o.baseLanes:n,je(so,At),At|=r}else o!==null?(r=o.baseLanes|n,t.memoizedState=null):r=n,je(so,At),At|=r;return dt(e,t,s,n),t.child}function Lb(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Mf(e,t,n,r,s){var o=jt(n)?Ns:ut.current;return o=Po(t,o),mo(t,s),n=Sp(e,t,n,r,o,s),r=jp(),e!==null&&!wt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~s,Jn(e,t,s)):(Me&&r&&up(t),t.flags|=1,dt(e,t,n,s),t.child)}function rv(e,t,n,r,s){if(jt(n)){var o=!0;Xl(t)}else o=!1;if(mo(t,s),t.stateNode===null)Cl(e,t),Pb(t,n,r),Tf(t,n,r,s),r=!0;else if(e===null){var a=t.stateNode,l=t.memoizedProps;a.props=l;var c=a.context,u=n.contextType;typeof u=="object"&&u!==null?u=qt(u):(u=jt(n)?Ns:ut.current,u=Po(t,u));var d=n.getDerivedStateFromProps,f=typeof d=="function"||typeof a.getSnapshotBeforeUpdate=="function";f||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(l!==r||c!==u)&&Xg(t,a,r,u),xr=!1;var m=t.memoizedState;a.state=m,nc(t,r,a,s),c=t.memoizedState,l!==r||m!==c||St.current||xr?(typeof d=="function"&&(Af(t,n,d,r),c=t.memoizedState),(l=xr||Qg(t,n,l,r,m,c,u))?(f||typeof a.UNSAFE_componentWillMount!="function"&&typeof a.componentWillMount!="function"||(typeof a.componentWillMount=="function"&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount=="function"&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount=="function"&&(t.flags|=4194308)):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=c),a.props=r,a.state=c,a.context=u,r=l):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,cb(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:nn(t.type,l),a.props=u,f=t.pendingProps,m=a.context,c=n.contextType,typeof c=="object"&&c!==null?c=qt(c):(c=jt(n)?Ns:ut.current,c=Po(t,c));var p=n.getDerivedStateFromProps;(d=typeof p=="function"||typeof a.getSnapshotBeforeUpdate=="function")||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(l!==f||m!==c)&&Xg(t,a,r,c),xr=!1,m=t.memoizedState,a.state=m,nc(t,r,a,s);var w=t.memoizedState;l!==f||m!==w||St.current||xr?(typeof p=="function"&&(Af(t,n,p,r),w=t.memoizedState),(u=xr||Qg(t,n,u,r,m,w,c)||!1)?(d||typeof a.UNSAFE_componentWillUpdate!="function"&&typeof a.componentWillUpdate!="function"||(typeof a.componentWillUpdate=="function"&&a.componentWillUpdate(r,w,c),typeof a.UNSAFE_componentWillUpdate=="function"&&a.UNSAFE_componentWillUpdate(r,w,c)),typeof a.componentDidUpdate=="function"&&(t.flags|=4),typeof a.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof a.componentDidUpdate!="function"||l===e.memoizedProps&&m===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&m===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=w),a.props=r,a.state=w,a.context=c,r=u):(typeof a.componentDidUpdate!="function"||l===e.memoizedProps&&m===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&m===e.memoizedState||(t.flags|=1024),r=!1)}return Rf(e,t,n,r,o,s)}function Rf(e,t,n,r,s,o){Lb(e,t);var a=(t.flags&128)!==0;if(!r&&!a)return s&&$g(t,n,!1),Jn(e,t,o);r=t.stateNode,Wk.current=t;var l=a&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&a?(t.child=Ro(t,e.child,null,o),t.child=Ro(t,null,l,o)):dt(e,t,l,o),t.memoizedState=r.state,s&&$g(t,n,!0),t.child}function Ob(e){var t=e.stateNode;t.pendingContext?Bg(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Bg(e,t.context,!1),yp(e,t.containerInfo)}function sv(e,t,n,r,s){return Mo(),fp(s),t.flags|=256,dt(e,t,n,r),t.child}var If={dehydrated:null,treeContext:null,retryLane:0};function Df(e){return{baseLanes:e,cachePool:null,transitions:null}}function Fb(e,t,n){var r=t.pendingProps,s=Le.current,o=!1,a=(t.flags&128)!==0,l;if((l=a)||(l=e!==null&&e.memoizedState===null?!1:(s&2)!==0),l?(o=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(s|=1),je(Le,s&1),e===null)return kf(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(a=r.children,e=r.fallback,o?(r=t.mode,o=t.child,a={mode:"hidden",children:a},!(r&1)&&o!==null?(o.childLanes=0,o.pendingProps=a):o=Zc(a,r,0,null),e=ws(e,r,n,null),o.return=t,e.return=t,o.sibling=e,t.child=o,t.child.memoizedState=Df(n),t.memoizedState=If,e):kp(t,a));if(s=e.memoizedState,s!==null&&(l=s.dehydrated,l!==null))return Uk(e,t,a,r,l,s,n);if(o){o=r.fallback,a=t.mode,s=e.child,l=s.sibling;var c={mode:"hidden",children:r.children};return!(a&1)&&t.child!==s?(r=t.child,r.childLanes=0,r.pendingProps=c,t.deletions=null):(r=zr(s,c),r.subtreeFlags=s.subtreeFlags&14680064),l!==null?o=zr(l,o):(o=ws(o,a,n,null),o.flags|=2),o.return=t,r.return=t,r.sibling=o,t.child=r,r=o,o=t.child,a=e.child.memoizedState,a=a===null?Df(n):{baseLanes:a.baseLanes|n,cachePool:null,transitions:a.transitions},o.memoizedState=a,o.childLanes=e.childLanes&~n,t.memoizedState=If,r}return o=e.child,e=o.sibling,r=zr(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 kp(e,t){return t=Zc({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Za(e,t,n,r){return r!==null&&fp(r),Ro(t,e.child,null,n),e=kp(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Uk(e,t,n,r,s,o,a){if(n)return t.flags&256?(t.flags&=-257,r=ud(Error(V(422))),Za(e,t,a,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(o=r.fallback,s=t.mode,r=Zc({mode:"visible",children:r.children},s,0,null),o=ws(o,s,a,null),o.flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,t.mode&1&&Ro(t,e.child,null,a),t.child.memoizedState=Df(a),t.memoizedState=If,o);if(!(t.mode&1))return Za(e,t,a,null);if(s.data==="$!"){if(r=s.nextSibling&&s.nextSibling.dataset,r)var l=r.dgst;return r=l,o=Error(V(419)),r=ud(o,r,void 0),Za(e,t,a,r)}if(l=(a&e.childLanes)!==0,wt||l){if(r=Ze,r!==null){switch(a&-a){case 4:s=2;break;case 16:s=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:s=32;break;case 536870912:s=268435456;break;default:s=0}s=s&(r.suspendedLanes|a)?0:s,s!==0&&s!==o.retryLane&&(o.retryLane=s,Zn(e,s),cn(r,e,s,-1))}return Rp(),r=ud(Error(V(421))),Za(e,t,a,r)}return s.data==="$?"?(t.flags|=128,t.child=e.child,t=rE.bind(null,e),s._reactRetry=t,null):(e=o.treeContext,Mt=Lr(s.nextSibling),Rt=t,Me=!0,an=null,e!==null&&(zt[Vt++]=Kn,zt[Vt++]=Gn,zt[Vt++]=ks,Kn=e.id,Gn=e.overflow,ks=t),t=kp(t,r.children),t.flags|=4096,t)}function ov(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Ef(e.return,t,n)}function dd(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 _b(e,t,n){var r=t.pendingProps,s=r.revealOrder,o=r.tail;if(dt(e,t,r.children,n),r=Le.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&&ov(e,n,t);else if(e.tag===19)ov(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(je(Le,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&&rc(e)===null&&(s=n),n=n.sibling;n=s,n===null?(s=t.child,t.child=null):(s=n.sibling,n.sibling=null),dd(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&&rc(e)===null){t.child=s;break}e=s.sibling,s.sibling=n,n=s,s=e}dd(t,!0,n,null,o);break;case"together":dd(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Cl(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}
vendor: 4,086 bytes, line 40
40function Jn(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),As|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(V(153));if(t.child!==null){for(e=t.child,n=zr(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=zr(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function qk(e,t,n){switch(t.tag){case 3:Ob(t),Mo();break;case 5:ub(t);break;case 1:jt(t.type)&&Xl(t);break;case 4:yp(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,s=t.memoizedProps.value;je(ec,r._currentValue),r._currentValue=s;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(je(Le,Le.current&1),t.flags|=128,null):n&t.child.childLanes?Fb(e,t,n):(je(Le,Le.current&1),e=Jn(e,t,n),e!==null?e.sibling:null);je(Le,Le.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return _b(e,t,n);t.flags|=128}if(s=t.memoizedState,s!==null&&(s.rendering=null,s.tail=null,s.lastEffect=null),je(Le,Le.current),r)break;return null;case 22:case 23:return t.lanes=0,Db(e,t,n)}return Jn(e,t,n)}var zb,Lf,Vb,Bb;zb=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}};Lf=function(){};Vb=function(e,t,n,r){var s=e.memoizedProps;if(s!==r){e=t.stateNode,us(Rn.current);var o=null;switch(n){case"input":s=nf(e,s),r=nf(e,r),o=[];break;case"select":s=_e({},s,{value:void 0}),r=_e({},r,{value:void 0}),o=[];break;case"textarea":s=of(e,s),r=of(e,r),o=[];break;default:typeof s.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Yl)}lf(n,r);var a;n=null;for(u in s)if(!r.hasOwnProperty(u)&&s.hasOwnProperty(u)&&s[u]!=null)if(u==="style"){var l=s[u];for(a in l)l.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(Li.hasOwnProperty(u)?o||(o=[]):(o=o||[]).push(u,null));for(u in r){var c=r[u];if(l=s!=null?s[u]:void 0,r.hasOwnProperty(u)&&c!==l&&(c!=null||l!=null))if(u==="style")if(l){for(a in l)!l.hasOwnProperty(a)||c&&c.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in c)c.hasOwnProperty(a)&&l[a]!==c[a]&&(n||(n={}),n[a]=c[a])}else n||(o||(o=[]),o.push(u,n)),n=c;else u==="dangerouslySetInnerHTML"?(c=c?c.__html:void 0,l=l?l.__html:void 0,c!=null&&l!==c&&(o=o||[]).push(u,c)):u==="children"?typeof c!="string"&&typeof c!="number"||(o=o||[]).push(u,""+c):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(Li.hasOwnProperty(u)?(c!=null&&u==="onScroll"&&Ee("scroll",e),o||l===c||(o=[])):(o=o||[]).push(u,c))}n&&(o=o||[]).push("style",n);var u=o;(t.updateQueue=u)&&(t.flags|=4)}};Bb=function(e,t,n,r){n!==r&&(t.flags|=4)};function ai(e,t){if(!Me)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function at(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 Hk(e,t,n){var r=t.pendingProps;switch(dp(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return at(t),null;case 1:return jt(t.type)&&Ql(),at(t),null;case 3:return r=t.stateNode,Io(),Te(St),Te(ut),bp(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Qa(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,an!==null&&(Wf(an),an=null))),Lf(e,t),at(t),null;case 5:xp(t);var s=us(Ki.current);
vendor: 6,569 bytes, line 40
40if(n=t.type,e!==null&&t.stateNode!=null)Vb(e,t,n,r,s),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(V(166));return at(t),null}if(e=us(Rn.current),Qa(t)){r=t.stateNode,n=t.type;var o=t.memoizedProps;switch(r[An]=t,r[qi]=o,e=(t.mode&1)!==0,n){case"dialog":Ee("cancel",r),Ee("close",r);break;case"iframe":case"object":case"embed":Ee("load",r);break;case"video":case"audio":for(s=0;s<gi.length;s++)Ee(gi[s],r);break;case"source":Ee("error",r);break;case"img":case"image":case"link":Ee("error",r),Ee("load",r);break;case"details":Ee("toggle",r);break;case"input":pg(r,o),Ee("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!o.multiple},Ee("invalid",r);break;case"textarea":gg(r,o),Ee("invalid",r)}lf(n,o),s=null;for(var a in o)if(o.hasOwnProperty(a)){var l=o[a];a==="children"?typeof l=="string"?r.textContent!==l&&(o.suppressHydrationWarning!==!0&&Ya(r.textContent,l,e),s=["children",l]):typeof l=="number"&&r.textContent!==""+l&&(o.suppressHydrationWarning!==!0&&Ya(r.textContent,l,e),s=["children",""+l]):Li.hasOwnProperty(a)&&l!=null&&a==="onScroll"&&Ee("scroll",r)}switch(n){case"input":Ba(r),hg(r,o,!0);break;case"textarea":Ba(r),vg(r);break;case"select":case"option":break;default:typeof o.onClick=="function"&&(r.onclick=Yl)}r=s,t.updateQueue=r,r!==null&&(t.flags|=4)}else{a=s.nodeType===9?s:s.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=h0(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=a.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=a.createElement(n,{is:r.is}):(e=a.createElement(n),n==="select"&&(a=e,r.multiple?a.multiple=!0:r.size&&(a.size=r.size))):e=a.createElementNS(e,n),e[An]=t,e[qi]=r,zb(e,t,!1,!1),t.stateNode=e;e:{switch(a=cf(n,r),n){case"dialog":Ee("cancel",e),Ee("close",e),s=r;break;case"iframe":case"object":case"embed":Ee("load",e),s=r;break;case"video":case"audio":for(s=0;s<gi.length;s++)Ee(gi[s],e);s=r;break;case"source":Ee("error",e),s=r;break;case"img":case"image":case"link":Ee("error",e),Ee("load",e),s=r;break;case"details":Ee("toggle",e),s=r;break;case"input":pg(e,r),s=nf(e,r),Ee("invalid",e);break;case"option":s=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},s=_e({},r,{value:void 0}),Ee("invalid",e);break;case"textarea":gg(e,r),s=of(e,r),Ee("invalid",e);break;default:s=r}lf(n,s),l=s;for(o in l)if(l.hasOwnProperty(o)){var c=l[o];o==="style"?y0(e,c):o==="dangerouslySetInnerHTML"?(c=c?c.__html:void 0,c!=null&&g0(e,c)):o==="children"?typeof c=="string"?(n!=="textarea"||c!=="")&&Oi(e,c):typeof c=="number"&&Oi(e,""+c):o!=="suppressContentEditableWarning"&&o!=="suppressHydrationWarning"&&o!=="autoFocus"&&(Li.hasOwnProperty(o)?c!=null&&o==="onScroll"&&Ee("scroll",e):c!=null&&Qm(e,o,c,a))}switch(n){case"input":Ba(e),hg(e,r,!1);break;case"textarea":Ba(e),vg(e);break;case"option":r.value!=null&&e.setAttribute("value",""+$r(r.value));break;case"select":e.multiple=!!r.multiple,o=r.value,o!=null?lo(e,!!r.multiple,o,!1):r.defaultValue!=null&&lo(e,!!r.multiple,r.defaultValue,!0);break;default:typeof s.onClick=="function"&&(e.onclick=Yl)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return at(t),null;case 6:if(e&&t.stateNode!=null)Bb(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(V(166));if(n=us(Ki.current),us(Rn.current),Qa(t)){if(r=t.stateNode,n=t.memoizedProps,r[An]=t,(o=r.nodeValue!==n)&&(e=Rt,e!==null))switch(e.tag){case 3:Ya(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Ya(r.nodeValue,n,(e.mode&1)!==0)}o&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[An]=t,t.stateNode=r}return at(t),null;case 13:if(Te(Le),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(Me&&Mt!==null&&t.mode&1&&!(t.flags&128))ob(),Mo(),t.flags|=98560,o=!1;else if(o=Qa(t),r!==null&&r.dehydrated!==null){if(e===null){if(!o)throw Error(V(318));if(o=t.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(V(317));o[An]=t}else Mo(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;at(t),o=!1}else an!==null&&(Wf(an),an=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||Le.current&1?Ye===0&&(Ye=3):Rp())),t.updateQueue!==null&&(t.flags|=4),at(t),null);case 4:return Io(),Lf(e,t),e===null&&Wi(t.stateNode.containerInfo),at(t),null;case 10:return hp(t.type._context),at(t),null;case 17:return jt(t.type)&&Ql(),at(t),null;case 19:if(Te(Le),o=t.memoizedState,o===null)return at(t),null;if(r=(t.flags&128)!==0,a=o.rendering,a===null)if(r)ai(o,!1);else{if(Ye!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(a=rc(e),a!==null){for(t.flags|=128,ai(o,!1),r=a.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)o=n,e=r,o.flags&=14680066,a=o.alternate,a===null?(o.childLanes=0,o.lanes=e,o.child=null,o.subtreeFlags=0,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=a.childLanes,o.lanes=a.lanes,o.child=a.child,o.subtreeFlags=0,o.deletions=null,o.memoizedProps=a.memoizedProps,o.memoizedState=a.memoizedState,o.updateQueue=a.updateQueue,o.type=a.type,e=a.dependencies,o.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return je(Le,Le.current&1|2),t.child}e=e.sibling}o.tail!==null&&We()>Lo&&(t.flags|=128,r=!0,ai(o,!1),t.lanes=4194304)}else{if(!r)if(e=rc(a),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),ai(o,!0),o.tail===null&&o.tailMode==="hidden"&&!a.alternate&&!Me)return at(t),null}else 2*We()-o.renderingStartTime>Lo&&n!==1073741824&&(t.flags|=128,r=!0,ai(o,!1),t.lanes=4194304);o.isBackwards?(a.sibling=t.child,t.child=a):(n=o.last,n!==null?n.sibling=a:t.child=a,o.last=a)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=We(),t.sibling=null,n=Le.current,je(Le,r?n&1|2:n&1),t):(at(t),null);case 22:case 23:return Mp(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?At&1073741824&&(at(t),t.subtreeFlags&6&&(t.flags|=8192)):at(t),null;case 24:return null;case 25:return null}throw Error(V(156,t.tag))}function Kk(e,t){switch(dp(t),t.tag){case 1:return jt(t.type)&&Ql(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;
vendor: 26,684 bytes, line 40
40case 3:return Io(),Te(St),Te(ut),bp(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return xp(t),null;case 13:if(Te(Le),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(V(340));Mo()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Te(Le),null;case 4:return Io(),null;case 10:return hp(t.type._context),null;case 22:case 23:return Mp(),null;case 24:return null;default:return null}}var Ja=!1,ct=!1,Gk=typeof WeakSet=="function"?WeakSet:Set,K=null;function ro(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Be(e,t,r)}else n.current=null}function Of(e,t,n){try{n()}catch(r){Be(e,t,r)}}var iv=!1;function Yk(e,t){if(xf=Hl,e=H0(),cp(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var s=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var a=0,l=-1,c=-1,u=0,d=0,f=e,m=null;t:for(;;){for(var p;f!==n||s!==0&&f.nodeType!==3||(l=a+s),f!==o||r!==0&&f.nodeType!==3||(c=a+r),f.nodeType===3&&(a+=f.nodeValue.length),(p=f.firstChild)!==null;)m=f,f=p;for(;;){if(f===e)break t;if(m===n&&++u===s&&(l=a),m===o&&++d===r&&(c=a),(p=f.nextSibling)!==null)break;f=m,m=f.parentNode}f=p}n=l===-1||c===-1?null:{start:l,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(bf={focusedElem:e,selectionRange:n},Hl=!1,K=t;K!==null;)if(t=K,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,K=e;else for(;K!==null;){t=K;try{var w=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(w!==null){var v=w.memoizedProps,x=w.memoizedState,g=t.stateNode,y=g.getSnapshotBeforeUpdate(t.elementType===t.type?v:nn(t.type,v),x);g.__reactInternalSnapshotBeforeUpdate=y}break;case 3:var b=t.stateNode.containerInfo;b.nodeType===1?b.textContent="":b.nodeType===9&&b.documentElement&&b.removeChild(b.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(V(163))}}catch(S){Be(t,t.return,S)}if(e=t.sibling,e!==null){e.return=t.return,K=e;break}K=t.return}return w=iv,iv=!1,w}function ki(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&&Of(t,n,o)}s=s.next}while(s!==r)}}function Qc(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 Ff(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 $b(e){var t=e.alternate;t!==null&&(e.alternate=null,$b(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[An],delete t[qi],delete t[jf],delete t[Mk],delete t[Rk])),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 Wb(e){return e.tag===5||e.tag===3||e.tag===4}function av(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Wb(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 _f(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Yl));else if(r!==4&&(e=e.child,e!==null))for(_f(e,t,n),e=e.sibling;e!==null;)_f(e,t,n),e=e.sibling}function zf(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(zf(e,t,n),e=e.sibling;e!==null;)zf(e,t,n),e=e.sibling}var tt=null,on=!1;function dr(e,t,n){for(n=n.child;n!==null;)Ub(e,t,n),n=n.sibling}function Ub(e,t,n){if(Mn&&typeof Mn.onCommitFiberUnmount=="function")try{Mn.onCommitFiberUnmount($c,n)}catch{}switch(n.tag){case 5:ct||ro(n,t);case 6:var r=tt,s=on;tt=null,dr(e,t,n),tt=r,on=s,tt!==null&&(on?(e=tt,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):tt.removeChild(n.stateNode));break;case 18:tt!==null&&(on?(e=tt,n=n.stateNode,e.nodeType===8?sd(e.parentNode,n):e.nodeType===1&&sd(e,n),Vi(e)):sd(tt,n.stateNode));break;case 4:r=tt,s=on,tt=n.stateNode.containerInfo,on=!0,dr(e,t,n),tt=r,on=s;break;case 0:case 11:case 14:case 15:if(!ct&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){s=r=r.next;do{var o=s,a=o.destroy;o=o.tag,a!==void 0&&(o&2||o&4)&&Of(n,t,a),s=s.next}while(s!==r)}dr(e,t,n);break;case 1:if(!ct&&(ro(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){Be(n,t,l)}dr(e,t,n);break;case 21:dr(e,t,n);break;case 22:n.mode&1?(ct=(r=ct)||n.memoizedState!==null,dr(e,t,n),ct=r):dr(e,t,n);break;default:dr(e,t,n)}}function lv(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Gk),t.forEach(function(r){var s=sE.bind(null,e,r);n.has(r)||(n.add(r),r.then(s,s))})}}function Zt(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var s=n[r];try{var o=e,a=t,l=a;e:for(;l!==null;){switch(l.tag){case 5:tt=l.stateNode,on=!1;break e;case 3:tt=l.stateNode.containerInfo,on=!0;break e;case 4:tt=l.stateNode.containerInfo,on=!0;break e}l=l.return}if(tt===null)throw Error(V(160));Ub(o,a,s),tt=null,on=!1;var c=s.alternate;c!==null&&(c.return=null),s.return=null}catch(u){Be(s,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)qb(t,e),t=t.sibling}function qb(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Zt(t,e),bn(e),r&4){try{ki(3,e,e.return),Qc(3,e)}catch(v){Be(e,e.return,v)}try{ki(5,e,e.return)}catch(v){Be(e,e.return,v)}}break;case 1:Zt(t,e),bn(e),r&512&&n!==null&&ro(n,n.return);break;case 5:if(Zt(t,e),bn(e),r&512&&n!==null&&ro(n,n.return),e.flags&32){var s=e.stateNode;try{Oi(s,"")}catch(v){Be(e,e.return,v)}}if(r&4&&(s=e.stateNode,s!=null)){var o=e.memoizedProps,a=n!==null?n.memoizedProps:o,l=e.type,c=e.updateQueue;if(e.updateQueue=null,c!==null)try{l==="input"&&o.type==="radio"&&o.name!=null&&m0(s,o),cf(l,a);var u=cf(l,o);for(a=0;a<c.length;a+=2){var d=c[a],f=c[a+1];d==="style"?y0(s,f):d==="dangerouslySetInnerHTML"?g0(s,f):d==="children"?Oi(s,f):Qm(s,d,f,u)}switch(l){case"input":rf(s,o);break;case"textarea":p0(s,o);break;case"select":var m=s._wrapperState.wasMultiple;s._wrapperState.wasMultiple=!!o.multiple;var p=o.value;p!=null?lo(s,!!o.multiple,p,!1):m!==!!o.multiple&&(o.defaultValue!=null?lo(s,!!o.multiple,o.defaultValue,!0):lo(s,!!o.multiple,o.multiple?[]:"",!1))}s[qi]=o}catch(v){Be(e,e.return,v)}}break;case 6:if(Zt(t,e),bn(e),r&4){if(e.stateNode===null)throw Error(V(162));s=e.stateNode,o=e.memoizedProps;try{s.nodeValue=o}catch(v){Be(e,e.return,v)}}break;case 3:if(Zt(t,e),bn(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Vi(t.containerInfo)}catch(v){Be(e,e.return,v)}break;case 4:Zt(t,e),bn(e);break;case 13:Zt(t,e),bn(e),s=e.child,s.flags&8192&&(o=s.memoizedState!==null,s.stateNode.isHidden=o,!o||s.alternate!==null&&s.alternate.memoizedState!==null||(Tp=We())),r&4&&lv(e);break;case 22:if(d=n!==null&&n.memoizedState!==null,e.mode&1?(ct=(u=ct)||d,Zt(t,e),ct=u):Zt(t,e),bn(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!d&&e.mode&1)for(K=e,d=e.child;d!==null;){for(f=K=d;K!==null;){switch(m=K,p=m.child,m.tag){case 0:case 11:case 14:case 15:ki(4,m,m.return);break;case 1:ro(m,m.return);var w=m.stateNode;if(typeof w.componentWillUnmount=="function"){r=m,n=m.return;try{t=r,w.props=t.memoizedProps,w.state=t.memoizedState,w.componentWillUnmount()}catch(v){Be(r,n,v)}}break;case 5:ro(m,m.return);break;case 22:if(m.memoizedState!==null){uv(f);continue}}p!==null?(p.return=m,K=p):uv(f)}d=d.sibling}e:for(d=null,f=e;;){if(f.tag===5){if(d===null){d=f;try{s=f.stateNode,u?(o=s.style,typeof o.setProperty=="function"?o.setProperty("display","none","important"):o.display="none"):(l=f.stateNode,c=f.memoizedProps.style,a=c!=null&&c.hasOwnProperty("display")?c.display:null,l.style.display=v0("display",a))}catch(v){Be(e,e.return,v)}}}else if(f.tag===6){if(d===null)try{f.stateNode.nodeValue=u?"":f.memoizedProps}catch(v){Be(e,e.return,v)}}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:Zt(t,e),bn(e),r&4&&lv(e);break;case 21:break;default:Zt(t,e),bn(e)}}function bn(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(Wb(n)){var r=n;break e}n=n.return}throw Error(V(160))}switch(r.tag){case 5:var s=r.stateNode;r.flags&32&&(Oi(s,""),r.flags&=-33);var o=av(e);zf(e,o,s);break;case 3:case 4:var a=r.stateNode.containerInfo,l=av(e);_f(e,l,a);break;default:throw Error(V(161))}}catch(c){Be(e,e.return,c)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Qk(e,t,n){K=e,Hb(e)}function Hb(e,t,n){for(var r=(e.mode&1)!==0;K!==null;){var s=K,o=s.child;if(s.tag===22&&r){var a=s.memoizedState!==null||Ja;if(!a){var l=s.alternate,c=l!==null&&l.memoizedState!==null||ct;l=Ja;var u=ct;if(Ja=a,(ct=c)&&!u)for(K=s;K!==null;)a=K,c=a.child,a.tag===22&&a.memoizedState!==null?dv(s):c!==null?(c.return=a,K=c):dv(s);for(;o!==null;)K=o,Hb(o),o=o.sibling;K=s,Ja=l,ct=u}cv(e)}else s.subtreeFlags&8772&&o!==null?(o.return=s,K=o):cv(e)}}function cv(e){for(;K!==null;){var t=K;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:ct||Qc(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!ct)if(n===null)r.componentDidMount();else{var s=t.elementType===t.type?n.memoizedProps:nn(t.type,n.memoizedProps);r.componentDidUpdate(s,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var o=t.updateQueue;o!==null&&Kg(t,o,r);break;case 3:var a=t.updateQueue;if(a!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}Kg(t,a,n)}break;case 5:var l=t.stateNode;if(n===null&&t.flags&4){n=l;var c=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":c.autoFocus&&n.focus();break;case"img":c.src&&(n.src=c.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var u=t.alternate;if(u!==null){var d=u.memoizedState;if(d!==null){var f=d.dehydrated;f!==null&&Vi(f)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(V(163))}ct||t.flags&512&&Ff(t)}catch(m){Be(t,t.return,m)}}if(t===e){K=null;break}if(n=t.sibling,n!==null){n.return=t.return,K=n;break}K=t.return}}function uv(e){for(;K!==null;){var t=K;if(t===e){K=null;break}var n=t.sibling;if(n!==null){n.return=t.return,K=n;break}K=t.return}}function dv(e){for(;K!==null;){var t=K;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{Qc(4,t)}catch(c){Be(t,n,c)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var s=t.return;try{r.componentDidMount()}catch(c){Be(t,s,c)}}var o=t.return;try{Ff(t)}catch(c){Be(t,o,c)}break;case 5:var a=t.return;try{Ff(t)}catch(c){Be(t,a,c)}}}catch(c){Be(t,t.return,c)}if(t===e){K=null;break}var l=t.sibling;if(l!==null){l.return=t.return,K=l;break}K=t.return}}var Xk=Math.ceil,ic=nr.ReactCurrentDispatcher,Ep=nr.ReactCurrentOwner,Wt=nr.ReactCurrentBatchConfig,ge=0,Ze=null,qe=null,st=0,At=0,so=Qr(0),Ye=0,Xi=null,As=0,Xc=0,Ap=0,Ei=null,bt=null,Tp=0,Lo=1/0,Un=null,ac=!1,Vf=null,Fr=null,el=!1,Tr=null,lc=0,Ai=0,Bf=null,Nl=-1,kl=0;function ht(){return ge&6?We():Nl!==-1?Nl:Nl=We()}function _r(e){return e.mode&1?ge&2&&st!==0?st&-st:Dk.transition!==null?(kl===0&&(kl=P0()),kl):(e=xe,e!==0||(e=window.event,e=e===void 0?16:F0(e.type)),e):1}function cn(e,t,n,r){if(50<Ai)throw Ai=0,Bf=null,Error(V(185));ya(e,n,r),(!(ge&2)||e!==Ze)&&(e===Ze&&(!(ge&2)&&(Xc|=n),Ye===4&&wr(e,st)),Ct(e,r),n===1&&ge===0&&!(t.mode&1)&&(Lo=We()+500,Kc&&Xr()))}function Ct(e,t){var n=e.callbackNode;DN(e,t);var r=ql(e,e===Ze?st:0);if(r===0)n!==null&&bg(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&bg(n),t===1)e.tag===0?Ik(fv.bind(null,e)):nb(fv.bind(null,e)),Tk(function(){!(ge&6)&&Xr()}),n=null;else{switch(M0(r)){case 1:n=tp;break;case 4:n=A0;break;case 16:n=Ul;break;case 536870912:n=T0;break;default:n=Ul}n=ew(n,Kb.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function Kb(e,t){if(Nl=-1,kl=0,ge&6)throw Error(V(327));var n=e.callbackNode;if(po()&&e.callbackNode!==n)return null;var r=ql(e,e===Ze?st:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=cc(e,r);else{t=r;var s=ge;ge|=2;var o=Yb();(Ze!==e||st!==t)&&(Un=null,Lo=We()+500,bs(e,t));do try{eE();break}catch(l){Gb(e,l)}while(!0);pp(),ic.current=o,ge=s,qe!==null?t=0:(Ze=null,st=0,t=Ye)}if(t!==0){if(t===2&&(s=pf(e),s!==0&&(r=s,t=$f(e,s))),t===1)throw n=Xi,bs(e,0),wr(e,r),Ct(e,We()),n;if(t===6)wr(e,r);else{if(s=e.current.alternate,!(r&30)&&!Zk(s)&&(t=cc(e,r),t===2&&(o=pf(e),o!==0&&(r=o,t=$f(e,o))),t===1))throw n=Xi,bs(e,0),wr(e,r),Ct(e,We()),n;switch(e.finishedWork=s,e.finishedLanes=r,t){case 0:case 1:throw Error(V(345));case 2:is(e,bt,Un);break;case 3:if(wr(e,r),(r&130023424)===r&&(t=Tp+500-We(),10<t)){if(ql(e,0)!==0)break;if(s=e.suspendedLanes,(s&r)!==r){ht(),e.pingedLanes|=e.suspendedLanes&s;break}e.timeoutHandle=Sf(is.bind(null,e,bt,Un),t);break}is(e,bt,Un);break;case 4:if(wr(e,r),(r&4194240)===r)break;for(t=e.eventTimes,s=-1;0<r;){var a=31-ln(r);o=1<<a,a=t[a],a>s&&(s=a),r&=~o}if(r=s,r=We()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Xk(r/1960))-r,10<r){e.timeoutHandle=Sf(is.bind(null,e,bt,Un),r);break}is(e,bt,Un);break;case 5:is(e,bt,Un);break;default:throw Error(V(329))}}}return Ct(e,We()),e.callbackNode===n?Kb.bind(null,e):null}function $f(e,t){var n=Ei;return e.current.memoizedState.isDehydrated&&(bs(e,t).flags|=256),e=cc(e,t),e!==2&&(t=bt,bt=n,t!==null&&Wf(t)),e}function Wf(e){bt===null?bt=e:bt.push.apply(bt,e)}function Zk(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(!fn(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 wr(e,t){for(t&=~Ap,t&=~Xc,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-ln(t),r=1<<n;e[n]=-1,t&=~r}}function fv(e){if(ge&6)throw Error(V(327));po();var t=ql(e,0);if(!(t&1))return Ct(e,We()),null;var n=cc(e,t);if(e.tag!==0&&n===2){var r=pf(e);r!==0&&(t=r,n=$f(e,r))}if(n===1)throw n=Xi,bs(e,0),wr(e,t),Ct(e,We()),n;if(n===6)throw Error(V(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,is(e,bt,Un),Ct(e,We()),null}function Pp(e,t){var n=ge;ge|=1;try{return e(t)}finally{ge=n,ge===0&&(Lo=We()+500,Kc&&Xr())}}function Ts(e){Tr!==null&&Tr.tag===0&&!(ge&6)&&po();var t=ge;ge|=1;var n=Wt.transition,r=xe;try{if(Wt.transition=null,xe=1,e)return e()}finally{xe=r,Wt.transition=n,ge=t,!(ge&6)&&Xr()}}function Mp(){At=so.current,Te(so)}function bs(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,Ak(n)),qe!==null)for(n=qe.return;n!==null;){var r=n;switch(dp(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&Ql();break;case 3:Io(),Te(St),Te(ut),bp();break;case 5:xp(r);break;case 4:Io();break;case 13:Te(Le);break;case 19:Te(Le);break;case 10:hp(r.type._context);break;case 22:case 23:Mp()}n=n.return}if(Ze=e,qe=e=zr(e.current,null),st=At=t,Ye=0,Xi=null,Ap=Xc=As=0,bt=Ei=null,cs!==null){for(t=0;t<cs.length;t++)if(n=cs[t],r=n.interleaved,r!==null){n.interleaved=null;var s=r.next,o=n.pending;if(o!==null){var a=o.next;o.next=s,r.next=a}n.pending=r}cs=null}return e}function Gb(e,t){do{var n=qe;try{if(pp(),Sl.current=oc,sc){for(var r=Fe.memoizedState;r!==null;){var s=r.queue;s!==null&&(s.pending=null),r=r.next}sc=!1}if(Es=0,Xe=Ge=Fe=null,Ni=!1,Gi=0,Ep.current=null,n===null||n.return===null){Ye=1,Xi=t,qe=null;break}e:{var o=e,a=n.return,l=n,c=t;if(t=st,l.flags|=32768,c!==null&&typeof c=="object"&&typeof c.then=="function"){var u=c,d=l,f=d.tag;if(!(d.mode&1)&&(f===0||f===11||f===15)){var m=d.alternate;m?(d.updateQueue=m.updateQueue,d.memoizedState=m.memoizedState,d.lanes=m.lanes):(d.updateQueue=null,d.memoizedState=null)}var p=Jg(a);if(p!==null){p.flags&=-257,ev(p,a,l,o,t),p.mode&1&&Zg(o,u,t),t=p,c=u;var w=t.updateQueue;if(w===null){var v=new Set;v.add(c),t.updateQueue=v}else w.add(c);break e}else{if(!(t&1)){Zg(o,u,t),Rp();break e}c=Error(V(426))}}else if(Me&&l.mode&1){var x=Jg(a);if(x!==null){!(x.flags&65536)&&(x.flags|=256),ev(x,a,l,o,t),fp(Do(c,l));break e}}o=c=Do(c,l),Ye!==4&&(Ye=2),Ei===null?Ei=[o]:Ei.push(o),o=a;do{switch(o.tag){case 3:o.flags|=65536,t&=-t,o.lanes|=t;var g=Mb(o,c,t);Hg(o,g);break e;case 1:l=c;var y=o.type,b=o.stateNode;if(!(o.flags&128)&&(typeof y.getDerivedStateFromError=="function"||b!==null&&typeof b.componentDidCatch=="function"&&(Fr===null||!Fr.has(b)))){o.flags|=65536,t&=-t,o.lanes|=t;var S=Rb(o,l,t);Hg(o,S);break e}}o=o.return}while(o!==null)}Xb(n)}catch(j){t=j,qe===n&&n!==null&&(qe=n=n.return);continue}break}while(!0)}function Yb(){var e=ic.current;return ic.current=oc,e===null?oc:e}function Rp(){(Ye===0||Ye===3||Ye===2)&&(Ye=4),Ze===null||!(As&268435455)&&!(Xc&268435455)||wr(Ze,st)}function cc(e,t){var n=ge;ge|=2;var r=Yb();(Ze!==e||st!==t)&&(Un=null,bs(e,t));do try{Jk();break}catch(s){Gb(e,s)}while(!0);if(pp(),ge=n,ic.current=r,qe!==null)throw Error(V(261));return Ze=null,st=0,Ye}function Jk(){for(;qe!==null;)Qb(qe)}function eE(){for(;qe!==null&&!NN();)Qb(qe)}function Qb(e){var t=Jb(e.alternate,e,At);e.memoizedProps=e.pendingProps,t===null?Xb(e):qe=t,Ep.current=null}function Xb(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=Kk(n,t),n!==null){n.flags&=32767,qe=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Ye=6,qe=null;return}}else if(n=Hk(n,t,At),n!==null){qe=n;return}if(t=t.sibling,t!==null){qe=t;return}qe=t=e}while(t!==null);Ye===0&&(Ye=5)}function is(e,t,n){var r=xe,s=Wt.transition;try{Wt.transition=null,xe=1,tE(e,t,n,r)}finally{Wt.transition=s,xe=r}return null}function tE(e,t,n,r){do po();while(Tr!==null);if(ge&6)throw Error(V(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(V(177));e.callbackNode=null,e.callbackPriority=0;var o=n.lanes|n.childLanes;if(LN(e,o),e===Ze&&(qe=Ze=null,st=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||el||(el=!0,ew(Ul,function(){return po(),null})),o=(n.flags&15990)!==0,n.subtreeFlags&15990||o){o=Wt.transition,Wt.transition=null;var a=xe;xe=1;var l=ge;ge|=4,Ep.current=null,Yk(e,n),qb(n,e),wk(bf),Hl=!!xf,bf=xf=null,e.current=n,Qk(n),kN(),ge=l,xe=a,Wt.transition=o}else e.current=n;if(el&&(el=!1,Tr=e,lc=s),o=e.pendingLanes,o===0&&(Fr=null),TN(n.stateNode),Ct(e,We()),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(ac)throw ac=!1,e=Vf,Vf=null,e;return lc&1&&e.tag!==0&&po(),o=e.pendingLanes,o&1?e===Bf?Ai++:(Ai=0,Bf=e):Ai=0,Xr(),null}function po(){if(Tr!==null){var e=M0(lc),t=Wt.transition,n=xe;try{if(Wt.transition=null,xe=16>e?16:e,Tr===null)var r=!1;else{if(e=Tr,Tr=null,lc=0,ge&6)throw Error(V(331));var s=ge;for(ge|=4,K=e.current;K!==null;){var o=K,a=o.child;if(K.flags&16){var l=o.deletions;if(l!==null){for(var c=0;c<l.length;c++){var u=l[c];for(K=u;K!==null;){var d=K;switch(d.tag){case 0:case 11:case 15:ki(8,d,o)}var f=d.child;if(f!==null)f.return=d,K=f;else for(;K!==null;){d=K;var m=d.sibling,p=d.return;if($b(d),d===u){K=null;break}if(m!==null){m.return=p,K=m;break}K=p}}}var w=o.alternate;if(w!==null){var v=w.child;if(v!==null){w.child=null;do{var x=v.sibling;v.sibling=null,v=x}while(v!==null)}}K=o}}if(o.subtreeFlags&2064&&a!==null)a.return=o,K=a;else e:for(;K!==null;){if(o=K,o.flags&2048)switch(o.tag){case 0:case 11:case 15:ki(9,o,o.return)}var g=o.sibling;if(g!==null){g.return=o.return,K=g;break e}K=o.return}}var y=e.current;for(K=y;K!==null;){a=K;var b=a.child;if(a.subtreeFlags&2064&&b!==null)b.return=a,K=b;else e:for(a=y;K!==null;){if(l=K,l.flags&2048)try{switch(l.tag){case 0:case 11:case 15:Qc(9,l)}}catch(j){Be(l,l.return,j)}if(l===a){K=null;break e}var S=l.sibling;if(S!==null){S.return=l.return,K=S;break e}K=l.return}}if(ge=s,Xr(),Mn&&typeof Mn.onPostCommitFiberRoot=="function")try{Mn.onPostCommitFiberRoot($c,e)}catch{}r=!0}return r}finally{xe=n,Wt.transition=t}}return!1}function mv(e,t,n){t=Do(n,t),t=Mb(e,t,1),e=Or(e,t,1),t=ht(),e!==null&&(ya(e,1,t),Ct(e,t))}function Be(e,t,n){if(e.tag===3)mv(e,e,n);else for(;t!==null;){if(t.tag===3){mv(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Fr===null||!Fr.has(r))){e=Do(n,e),e=Rb(t,e,1),t=Or(t,e,1),e=ht(),t!==null&&(ya(t,1,e),Ct(t,e));break}}t=t.return}}function nE(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=ht(),e.pingedLanes|=e.suspendedLanes&n,Ze===e&&(st&n)===n&&(Ye===4||Ye===3&&(st&130023424)===st&&500>We()-Tp?bs(e,0):Ap|=n),Ct(e,t)}function Zb(e,t){t===0&&(e.mode&1?(t=Ua,Ua<<=1,!(Ua&130023424)&&(Ua=4194304)):t=1);var n=ht();e=Zn(e,t),e!==null&&(ya(e,t,n),Ct(e,n))}function rE(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Zb(e,n)}function sE(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(V(314))}r!==null&&r.delete(t),Zb(e,n)}var Jb;Jb=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||St.current)wt=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return wt=!1,qk(e,t,n);wt=!!(e.flags&131072)}else wt=!1,Me&&t.flags&1048576&&rb(t,Jl,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Cl(e,t),e=t.pendingProps;var s=Po(t,ut.current);mo(t,n),s=Sp(null,t,r,e,s,n);var o=jp();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,jt(r)?(o=!0,Xl(t)):o=!1,t.memoizedState=s.state!==null&&s.state!==void 0?s.state:null,vp(t),s.updater=Yc,t.stateNode=s,s._reactInternals=t,Tf(t,r,e,n),t=Rf(null,t,r,!0,o,n)):(t.tag=0,Me&&o&&up(t),dt(null,t,s,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Cl(e,t),e=t.pendingProps,s=r._init,r=s(r._payload),t.type=r,s=t.tag=iE(r),e=nn(r,e),s){case 0:t=Mf(null,t,r,e,n);break e;case 1:t=rv(null,t,r,e,n);break e;case 11:t=tv(null,t,r,e,n);break e;case 14:t=nv(null,t,r,nn(r.type,e),n);break e}throw Error(V(306,r,""))}return t;case 0:return r=t.type,s=t.pendingProps,s=t.elementType===r?s:nn(r,s),Mf(e,t,r,s,n);case 1:return r=t.type,s=t.pendingProps,s=t.elementType===r?s:nn(r,s),rv(e,t,r,s,n);case 3:e:{if(Ob(t),e===null)throw Error(V(387));r=t.pendingProps,o=t.memoizedState,s=o.element,cb(e,t),nc(t,r,null,n);var a=t.memoizedState;if(r=a.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){s=Do(Error(V(423)),t),t=sv(e,t,r,n,s);break e}else if(r!==s){s=Do(Error(V(424)),t),t=sv(e,t,r,n,s);break e}else for(Mt=Lr(t.stateNode.containerInfo.firstChild),Rt=t,Me=!0,an=null,n=ab(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Mo(),r===s){t=Jn(e,t,n);break e}dt(e,t,r,n)}t=t.child}return t;case 5:return ub(t),e===null&&kf(t),r=t.type,s=t.pendingProps,o=e!==null?e.memoizedProps:null,a=s.children,wf(r,s)?a=null:o!==null&&wf(r,o)&&(t.flags|=32),Lb(e,t),dt(e,t,a,n),t.child;case 6:return e===null&&kf(t),null;case 13:return Fb(e,t,n);case 4:return yp(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Ro(t,null,r,n):dt(e,t,r,n),t.child;case 11:return r=t.type,s=t.pendingProps,s=t.elementType===r?s:nn(r,s),tv(e,t,r,s,n);case 7:return dt(e,t,t.pendingProps,n),t.child;case 8:return dt(e,t,t.pendingProps.children,n),t.child;case 12:return dt(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,s=t.pendingProps,o=t.memoizedProps,a=s.value,je(ec,r._currentValue),r._currentValue=a,o!==null)if(fn(o.value,a)){if(o.children===s.children&&!St.current){t=Jn(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var l=o.dependencies;if(l!==null){a=o.child;for(var c=l.firstContext;c!==null;){if(c.context===r){if(o.tag===1){c=Yn(-1,n&-n),c.tag=2;var u=o.updateQueue;if(u!==null){u=u.shared;var d=u.pending;d===null?c.next=c:(c.next=d.next,d.next=c),u.pending=c}}o.lanes|=n,c=o.alternate,c!==null&&(c.lanes|=n),Ef(o.return,n,t),l.lanes|=n;break}c=c.next}}else if(o.tag===10)a=o.type===t.type?null:o.child;else if(o.tag===18){if(a=o.return,a===null)throw Error(V(341));a.lanes|=n,l=a.alternate,l!==null&&(l.lanes|=n),Ef(a,n,t),a=o.sibling}else a=o.child;if(a!==null)a.return=o;else for(a=o;a!==null;){if(a===t){a=null;break}if(o=a.sibling,o!==null){o.return=a.return,a=o;break}a=a.return}o=a}dt(e,t,s.children,n),t=t.child}return t;case 9:return s=t.type,r=t.pendingProps.children,mo(t,n),s=qt(s),r=r(s),t.flags|=1,dt(e,t,r,n),t.child;case 14:return r=t.type,s=nn(r,t.pendingProps),s=nn(r.type,s),nv(e,t,r,s,n);case 15:return Ib(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,s=t.pendingProps,s=t.elementType===r?s:nn(r,s),Cl(e,t),t.tag=1,jt(r)?(e=!0,Xl(t)):e=!1,mo(t,n),Pb(t,r,s),Tf(t,r,s,n),Rf(null,t,r,!0,e,n);case 19:return _b(e,t,n);case 22:return Db(e,t,n)}throw Error(V(156,t.tag))};function ew(e,t){return E0(e,t)}function oE(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 Bt(e,t,n,r){return new oE(e,t,n,r)}function Ip(e){return e=e.prototype,!(!e||!e.isReactComponent)}function iE(e){if(typeof e=="function")return Ip(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Zm)return 11;if(e===Jm)return 14}return 2}function zr(e,t){var n=e.alternate;return n===null?(n=Bt(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.deleti
vendor: 4,322 bytes, line 40
40ons=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 El(e,t,n,r,s,o){var a=2;if(r=e,typeof e=="function")Ip(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case Gs:return ws(n.children,s,o,t);case Xm:a=8,s|=8;break;case Zd:return e=Bt(12,n,t,s|2),e.elementType=Zd,e.lanes=o,e;case Jd:return e=Bt(13,n,t,s),e.elementType=Jd,e.lanes=o,e;case ef:return e=Bt(19,n,t,s),e.elementType=ef,e.lanes=o,e;case u0:return Zc(n,s,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case l0:a=10;break e;case c0:a=9;break e;case Zm:a=11;break e;case Jm:a=14;break e;case yr:a=16,r=null;break e}throw Error(V(130,e==null?e:typeof e,""))}return t=Bt(a,n,t,s),t.elementType=e,t.type=r,t.lanes=o,t}function ws(e,t,n,r){return e=Bt(7,e,r,t),e.lanes=n,e}function Zc(e,t,n,r){return e=Bt(22,e,r,t),e.elementType=u0,e.lanes=n,e.stateNode={isHidden:!1},e}function fd(e,t,n){return e=Bt(6,e,null,t),e.lanes=n,e}function md(e,t,n){return t=Bt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function aE(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=Ku(0),this.expirationTimes=Ku(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ku(0),this.identifierPrefix=r,this.onRecoverableError=s,this.mutableSourceEagerHydrationData=null}function Dp(e,t,n,r,s,o,a,l,c){return e=new aE(e,t,n,l,c),t===1?(t=1,o===!0&&(t|=8)):t=0,o=Bt(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},vp(o),e}function lE(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Ks,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function tw(e){if(!e)return Wr;e=e._reactInternals;e:{if(Ls(e)!==e||e.tag!==1)throw Error(V(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(jt(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(V(171))}if(e.tag===1){var n=e.type;if(jt(n))return tb(e,n,t)}return t}function nw(e,t,n,r,s,o,a,l,c){return e=Dp(n,r,!0,e,s,o,a,l,c),e.context=tw(null),n=e.current,r=ht(),s=_r(n),o=Yn(r,s),o.callback=t??null,Or(n,o,s),e.current.lanes=s,ya(e,s,r),Ct(e,r),e}function Jc(e,t,n,r){var s=t.current,o=ht(),a=_r(s);return n=tw(n),t.context===null?t.context=n:t.pendingContext=n,t=Yn(o,a),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=Or(s,t,a),e!==null&&(cn(e,s,a,o),wl(e,s,a)),a}function uc(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 pv(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Lp(e,t){pv(e,t),(e=e.alternate)&&pv(e,t)}function cE(){return null}var rw=typeof reportError=="function"?reportError:function(e){console.error(e)};function Op(e){this._internalRoot=e}eu.prototype.render=Op.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(V(409));Jc(e,t,null,null)};eu.prototype.unmount=Op.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Ts(function(){Jc(null,e,null,null)}),t[Xn]=null}};function eu(e){this._internalRoot=e}eu.prototype.unstable_scheduleHydration=function(e){if(e){var t=D0();e={blockedOn:null,target:e,priority:t};for(var n=0;n<br.length&&t!==0&&t<br[n].priority;n++);br.splice(n,0,e),n===0&&O0(e)}};function Fp(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function tu(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function hv(){}
vendor: 5,375 bytes, line 40
40function uE(e,t,n,r,s){if(s){if(typeof r=="function"){var o=r;r=function(){var u=uc(a);o.call(u)}}var a=nw(t,r,e,0,null,!1,!1,"",hv);return e._reactRootContainer=a,e[Xn]=a.current,Wi(e.nodeType===8?e.parentNode:e),Ts(),a}for(;s=e.lastChild;)e.removeChild(s);if(typeof r=="function"){var l=r;r=function(){var u=uc(c);l.call(u)}}var c=Dp(e,0,!1,null,null,!1,!1,"",hv);return e._reactRootContainer=c,e[Xn]=c.current,Wi(e.nodeType===8?e.parentNode:e),Ts(function(){Jc(t,c,n,r)}),c}function nu(e,t,n,r,s){var o=n._reactRootContainer;if(o){var a=o;if(typeof s=="function"){var l=s;s=function(){var c=uc(a);l.call(c)}}Jc(t,a,e,s)}else a=uE(n,t,e,s,r);return uc(a)}R0=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=hi(t.pendingLanes);n!==0&&(np(t,n|1),Ct(t,We()),!(ge&6)&&(Lo=We()+500,Xr()))}break;case 13:Ts(function(){var r=Zn(e,1);if(r!==null){var s=ht();cn(r,e,1,s)}}),Lp(e,1)}};rp=function(e){if(e.tag===13){var t=Zn(e,134217728);if(t!==null){var n=ht();cn(t,e,134217728,n)}Lp(e,134217728)}};I0=function(e){if(e.tag===13){var t=_r(e),n=Zn(e,t);if(n!==null){var r=ht();cn(n,e,t,r)}Lp(e,t)}};D0=function(){return xe};L0=function(e,t){var n=xe;try{return xe=e,t()}finally{xe=n}};df=function(e,t,n){switch(t){case"input":if(rf(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=Hc(r);if(!s)throw Error(V(90));f0(r),rf(r,s)}}}break;case"textarea":p0(e,n);break;case"select":t=n.value,t!=null&&lo(e,!!n.multiple,t,!1)}};w0=Pp;S0=Ts;var dE={usingClientEntryPoint:!1,Events:[ba,Zs,Hc,x0,b0,Pp]},li={findFiberByHostInstance:ls,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},fE={bundleType:li.bundleType,version:li.version,rendererPackageName:li.rendererPackageName,rendererConfig:li.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:nr.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=N0(e),e===null?null:e.stateNode},findFiberByHostInstance:li.findFiberByHostInstance||cE,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 tl=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!tl.isDisabled&&tl.supportsFiber)try{$c=tl.inject(fE),Mn=tl}catch{}}Ot.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=dE;Ot.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Fp(t))throw Error(V(200));return lE(e,t,null,n)};Ot.createRoot=function(e,t){if(!Fp(e))throw Error(V(299));var n=!1,r="",s=rw;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(s=t.onRecoverableError)),t=Dp(e,1,!1,null,null,n,!1,r,s),e[Xn]=t.current,Wi(e.nodeType===8?e.parentNode:e),new Op(t)};Ot.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(V(188)):(e=Object.keys(e).join(","),Error(V(268,e)));return e=N0(t),e=e===null?null:e.stateNode,e};Ot.flushSync=function(e){return Ts(e)};Ot.hydrate=function(e,t,n){if(!tu(t))throw Error(V(200));return nu(null,e,t,!0,n)};Ot.hydrateRoot=function(e,t,n){if(!Fp(e))throw Error(V(405));var r=n!=null&&n.hydratedSources||null,s=!1,o="",a=rw;if(n!=null&&(n.unstable_strictMode===!0&&(s=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onRecoverableError!==void 0&&(a=n.onRecoverableError)),t=nw(t,null,e,1,n??null,s,!1,o,a),e[Xn]=t.current,Wi(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 eu(t)};Ot.render=function(e,t,n){if(!tu(t))throw Error(V(200));return nu(null,e,t,!1,n)};Ot.unmountComponentAtNode=function(e){if(!tu(e))throw Error(V(40));return e._reactRootContainer?(Ts(function(){nu(null,null,e,!1,function(){e._reactRootContainer=null,e[Xn]=null})}),!0):!1};Ot.unstable_batchedUpdates=Pp;Ot.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!tu(n))throw Error(V(200));if(e==null||e._reactInternals===void 0)throw Error(V(38));return nu(e,t,n,!1,r)};Ot.version="18.3.1-next-f1338f8080-20240426";function sw(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(sw)}catch(e){console.error(e)}}sw(),s0.exports=Ot;var Sa=s0.exports;const ow=Hx(Sa);var iw,gv=Sa;iw=gv.createRoot,gv.hydrateRoot;const mE=1,pE=1e6;let pd=0;function hE(){return pd=(pd+1)%Number.MAX_SAFE_INTEGER,pd.toString()}const hd=new Map,vv=e=>{if(hd.has(e))return;const t=setTimeout(()=>{hd.delete(e),Ti({type:"REMOVE_TOAST",toastId:e})},pE);hd.set(e,t)},gE=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,mE)};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;
vendor: 15,261 bytes, line 40
40return n?vv(n):e.toasts.forEach(r=>{vv(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)}}},Al=[];let Tl={toasts:[]};function Ti(e){Tl=gE(Tl,e),Al.forEach(t=>{t(Tl)})}function vE({...e}){const t=hE(),n=s=>Ti({type:"UPDATE_TOAST",toast:{...s,id:t}}),r=()=>Ti({type:"DISMISS_TOAST",toastId:t});return Ti({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:s=>{s||r()}}}),{id:t,dismiss:r,update:n}}function aw(){const[e,t]=h.useState(Tl);return h.useEffect(()=>(Al.push(t),()=>{const n=Al.indexOf(t);n>-1&&Al.splice(n,1)}),[e]),{...e,toast:vE,dismiss:n=>Ti({type:"DISMISS_TOAST",toastId:n})}}function ae(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 yv(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function ja(...e){return t=>{let n=!1;const r=e.map(s=>{const o=yv(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():yv(e[s],null)}}}}function Ce(...e){return h.useCallback(ja(...e),e)}function yE(e,t){const n=h.createContext(t),r=o=>{const{children:a,...l}=o,c=h.useMemo(()=>l,Object.values(l));return i.jsx(n.Provider,{value:c,children:a})};r.displayName=e+"Provider";function s(o){const a=h.useContext(n);if(a)return a;if(t!==void 0)return t;throw new Error(`\`${o}\` must be used within \`${e}\``)}return[r,s]}function gn(e,t=[]){let n=[];function r(o,a){const l=h.createContext(a),c=n.length;n=[...n,a];const u=f=>{var g;const{scope:m,children:p,...w}=f,v=((g=m==null?void 0:m[e])==null?void 0:g[c])||l,x=h.useMemo(()=>w,Object.values(w));return i.jsx(v.Provider,{value:x,children:p})};u.displayName=o+"Provider";function d(f,m){var v;const p=((v=m==null?void 0:m[e])==null?void 0:v[c])||l,w=h.useContext(p);if(w)return w;if(a!==void 0)return a;throw new Error(`\`${f}\` must be used within \`${o}\``)}return[u,d]}const s=()=>{const o=n.map(a=>h.createContext(a));return function(l){const c=(l==null?void 0:l[e])||o;return h.useMemo(()=>({[`__scope${e}`]:{...l,[e]:c}}),[l,c])}};return s.scopeName=e,[r,xE(s,...t)]}function xE(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(s=>({useScope:s(),scopeName:s.scopeName}));return function(o){const a=r.reduce((l,{useScope:c,scopeName:u})=>{const f=c(o)[`__scope${u}`];return{...l,...f}},{});return h.useMemo(()=>({[`__scope${t.scopeName}`]:a}),[a])}};return n.scopeName=t.scopeName,n}function xv(e){const t=bE(e),n=h.forwardRef((r,s)=>{const{children:o,...a}=r,l=h.Children.toArray(o),c=l.find(SE);if(c){const u=c.props.children,d=l.map(f=>f===c?h.Children.count(u)>1?h.Children.only(null):h.isValidElement(u)?u.props.children:null:f);return i.jsx(t,{...a,ref:s,children:h.isValidElement(u)?h.cloneElement(u,void 0,d):null})}return i.jsx(t,{...a,ref:s,children:o})});return n.displayName=`${e}.Slot`,n}function bE(e){const t=h.forwardRef((n,r)=>{const{children:s,...o}=n;if(h.isValidElement(s)){const a=CE(s),l=jE(o,s.props);return s.type!==h.Fragment&&(l.ref=r?ja(r,a):a),h.cloneElement(s,l)}return h.Children.count(s)>1?h.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var wE=Symbol("radix.slottable");function SE(e){return h.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===wE}function jE(e,t){const n={...t};for(const r in t){const s=e[r],o=t[r];/^on[A-Z]/.test(r)?s&&o?n[r]=(...l)=>{const c=o(...l);return s(...l),c}:s&&(n[r]=s):r==="style"?n[r]={...s,...o}:r==="className"&&(n[r]=[s,o].filter(Boolean).join(" "))}return{...e,...n}}function CE(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 ru(e){const t=e+"CollectionProvider",[n,r]=gn(t),[s,o]=n(t,{collectionRef:{current:null},itemMap:new Map}),a=v=>{const{scope:x,children:g}=v,y=_.useRef(null),b=_.useRef(new Map).current;return i.jsx(s,{scope:x,itemMap:b,collectionRef:y,children:g})};a.displayName=t;const l=e+"CollectionSlot",c=xv(l),u=_.forwardRef((v,x)=>{const{scope:g,children:y}=v,b=o(l,g),S=Ce(x,b.collectionRef);return i.jsx(c,{ref:S,children:y})});u.displayName=l;const d=e+"CollectionItemSlot",f="data-radix-collection-item",m=xv(d),p=_.forwardRef((v,x)=>{const{scope:g,children:y,...b}=v,S=_.useRef(null),j=Ce(x,S),C=o(d,g);return _.useEffect(()=>(C.itemMap.set(S,{ref:S,...b}),()=>void C.itemMap.delete(S))),i.jsx(m,{[f]:"",ref:j,children:y})});p.displayName=d;function w(v){const x=o(e+"CollectionConsumer",v);return _.useCallback(()=>{const y=x.collectionRef.current;if(!y)return[];const b=Array.from(y.querySelectorAll(`[${f}]`));return Array.from(x.itemMap.values()).sort((C,N)=>b.indexOf(C.ref.current)-b.indexOf(N.ref.current))},[x.collectionRef,x.itemMap])}return[{Provider:a,Slot:u,ItemSlot:p},w,r]}function NE(e){const t=kE(e),n=h.forwardRef((r,s)=>{const{children:o,...a}=r,l=h.Children.toArray(o),c=l.find(AE);if(c){const u=c.props.children,d=l.map(f=>f===c?h.Children.count(u)>1?h.Children.only(null):h.isValidElement(u)?u.props.children:null:f);return i.jsx(t,{...a,ref:s,children:h.isValidElement(u)?h.cloneElement(u,void 0,d):null})}return i.jsx(t,{...a,ref:s,children:o})});return n.displayName=`${e}.Slot`,n}function kE(e){const t=h.forwardRef((n,r)=>{const{children:s,...o}=n;if(h.isValidElement(s)){const a=PE(s),l=TE(o,s.props);return s.type!==h.Fragment&&(l.ref=r?ja(r,a):a),h.cloneElement(s,l)}return h.Children.count(s)>1?h.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var EE=Symbol("radix.slottable");function AE(e){return h.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===EE}function TE(e,t){const n={...t};for(const r in t){const s=e[r],o=t[r];/^on[A-Z]/.test(r)?s&&o?n[r]=(...l)=>{const c=o(...l);return s(...l),c}:s&&(n[r]=s):r==="style"?n[r]={...s,...o}:r==="className"&&(n[r]=[s,o].filter(Boolean).join(" "))}return{...e,...n}}function PE(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 ME=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],ce=ME.reduce((e,t)=>{const n=NE(`Primitive.${t}`),r=h.forwardRef((s,o)=>{const{asChild:a,...l}=s,c=a?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),i.jsx(c,{...l,ref:o})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function lw(e,t){e&&Sa.flushSync(()=>e.dispatchEvent(t))}function mn(e){const t=h.useRef(e);return h.useEffect(()=>{t.current=e}),h.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function RE(e,t=globalThis==null?void 0:globalThis.document){const n=mn(e);h.useEffect(()=>{const r=s=>{s.key==="Escape"&&n(s)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var IE="DismissableLayer",Uf="dismissableLayer.update",DE="dismissableLayer.pointerDownOutside",LE="dismissableLayer.focusOutside",bv,cw=h.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),su=h.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:s,onFocusOutside:o,onInteractOutside:a,onDismiss:l,...c}=e,u=h.useContext(cw),[d,f]=h.useState(null),m=(d==null?void 0:d.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,p]=h.useState({}),w=Ce(t,N=>f(N)),v=Array.from(u.layers),[x]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),g=v.indexOf(x),y=d?v.indexOf(d):-1,b=u.layersWithOutsidePointerEventsDisabled.size>0,S=y>=g,j=FE(N=>{const E=N.target,T=[...u.branches].some(P=>P.contains(E));!S||T||(s==null||s(N),a==null||a(N),N.defaultPrevented||l==null||l())},m),C=_E(N=>{const E=N.target;[...u.branches].some(P=>P.contains(E))||(o==null||o(N),a==null||a(N),N.defaultPrevented||l==null||l())},m);return RE(N=>{y===u.layers.size-1&&(r==null||r(N),!N.defaultPrevented&&l&&(N.preventDefault(),l()))},m),h.useEffect(()=>{if(d)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(bv=m.body.style.pointerEvents,m.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(d)),u.layers.add(d),wv(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(m.body.style.pointerEvents=bv)}},[d,m,n,u]),h.useEffect(()=>()=>{d&&(u.layers.delete(d),u.layersWithOutsidePointerEventsDisabled.delete(d),wv())},[d,u]),h.useEffect(()=>{const N=()=>p({});return document.addEventListener(Uf,N),()=>document.removeEventListener(Uf,N)},[]),i.jsx(ce.div,{...c,ref:w,style:{pointerEvents:b?S?"auto":"none":void 0,...e.style},onFocusCapture:ae(e.onFocusCapture,C.onFocusCapture),onBlurCapture:ae(e.onBlurCapture,C.onBlurCapture),onPointerDownCapture:ae(e.onPointerDownCapture,j.onPointerDownCapture)})});su.displayName=IE;var OE="DismissableLayerBranch",uw=h.forwardRef((e,t)=>{const n=h.useContext(cw),r=h.useRef(null),s=Ce(t,r);return h.useEffect(()=>{const o=r.current;if(o)return n.branches.add(o),()=>{n.branches.delete(o)}},[n.branches]),i.jsx(ce.div,{...e,ref:s})});uw.displayName=OE;function FE(e,t=globalThis==null?void 0:globalThis.document){const n=mn(e),r=h.useRef(!1),s=h.useRef(()=>{});return h.useEffect(()=>{const o=l=>{if(l.target&&!r.current){let c=function(){dw(DE,n,u,{discrete:!0})};const u={originalEvent:l};l.pointerType==="touch"?(t.removeEventListener("click",s.current),s.current=c,t.addEventListener("click",s.current,{once:!0})):c()}else t.removeEventListener("click",s.current);r.current=!1},a=window.setTimeout(()=>{t.addEventListener("pointerdown",o)},0);return()=>{window.clearTimeout(a),t.removeEventListener("pointerdown",o),t.removeEventListener("click",s.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function _E(e,t=globalThis==null?void 0:globalThis.document){const n=mn(e),r=h.useRef(!1);return h.useEffect(()=>{const s=o=>{o.target&&!r.current&&dw(LE,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 wv(){const e=new CustomEvent(Uf);document.dispatchEvent(e)}function dw(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?lw(s,o):s.dispatchEvent(o)}var zE=su,VE=uw,Ln=globalThis!=null&&globalThis.document?h.useLayoutEffect:()=>{},BE="Portal",_p=h.forwardRef((e,t)=>{var l;const{container:n,...r}=e,[s,o]=h.useState(!1);Ln(()=>o(!0),[]);const a=n||s&&((l=globalThis==null?void 0:globalThis.document)==null?void 0:l.body);return a?ow.createPortal(i.jsx(ce.div,{...r,ref:t}),a):null});_p.displayName=BE;function $E(e,t){return h.useReducer((n,r)=>t[n][r]??n,e)}var Zr=e=>{const{present:t,children:n}=e,r=WE(t),s=typeof n=="function"?n({present:r.isPresent}):h.Children.only(n),o=Ce(r.ref,UE(s));return typeof n=="function"||r.isPresent?h.cloneElement(s,{ref:o}):null};Zr.displayName="Presence";function WE(e){const[t,n]=h.useState(),r=h.useRef(null),s=h.useRef(e),o=h.useRef("none"),a=e?"mounted":"unmounted",[l,c]=$E(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return h.useEffect(()=>{const u=nl(r.current);o.current=l==="mounted"?u:"none"},[l]),Ln(()=>{const u=r.current,d=s.current;if(d!==e){const m=o.current,p=nl(u);e?c("MOUNT"):p==="none"||(u==null?void 0:u.display)==="none"?c("UNMOUNT"):c(d&&m!==p?"ANIMATION_OUT":"UNMOUNT"),s.current=e}},[e,c]),Ln(()=>{if(t){let u;const d=t.ownerDocument.defaultView??window,f=p=>{const v=nl(r.current).includes(CSS.escape(p.animationName));if(p.target===t&&v&&(c("ANIMATION_END"),!s.current)){const x=t.style.animationFillMode;t.style.animationFillMode="forwards",u=d.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=x)})}},m=p=>{p.target===t&&(o.current=nl(r.current))};return t.addEventListener("animationstart",m),t.addEventListener("animationcancel",f),t.addEventListener("animationend",f),()=>{d.clearTimeout(u),t.removeEventListener("animationstart",m),t.removeEventListener("animationcancel",f),t.removeEventListener("animationend",f)}}else c("ANIMATION_END")},[t,c]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:h.useCallback(u=>{r.current=u?getComputedStyle(u):null,n(u)},[])}}function nl(e){return(e==null?void 0:e.animationName)||"none"}function UE(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 qE=Bc[" useInsertionEffect ".trim().toString()]||Ln;function Fn({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[s,o,a]=HE({defaultProp:t,onChange:n}),l=e!==void 0,c=l?e:s;{const d=h.useRef(e!==void 0);h.useEffect(()=>{const f=d.current;f!==l&&console.warn(`${r} is changing from ${f?"controlled":"uncontrolled"} to ${l?"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=l},[l,r])}const u=h.useCallback(d=>{var f;if(l){const m=KE(d)?d(e):d;m!==e&&((f=a.current)==null||f.call(a,m))}else o(d)},[l,e,o,a]);return[c,u]}function HE({defaultProp:e,onChange:t}){const[n,r]=h.useState(e),s=h.useRef(n),o=h.useRef(t);return qE(()=>{o.current=t},[t]),h.useEffect(()=>{var a;s.current!==n&&((a=o.current)==null||a.call(o,n),s.current=n)},[n,s]),[n,r,o]}function KE(e){return typeof e=="function"}var GE=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"}),YE="VisuallyHidden",ou=h.forwardRef((e,t)=>i.jsx(ce.span,{...e,ref:t,style:{...GE,...e.style}}));ou.displayName=YE;var QE=ou,zp="ToastProvider",[Vp,XE,ZE]=ru("Toast"),[fw]=gn("Toast",[ZE]),[JE,iu]=fw(zp),mw=e=>{const{__scopeToast:t,label:n="Notification",duration:r=5e3,swipeDirection:s="right",swipeThreshold:o=50,children:a}=e,[l,c]=h.useState(null),[u,d]=h.useState(0),f=h.useRef(!1),m=h.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${zp}\`. Expected non-empty \`string\`.`),i.jsx(Vp.Provider,{scope:t,children:i.jsx(JE,{scope:t,label:n,duration:r,swipeDirection:s,swipeThreshold:o,toastCount:u,viewport:l,onViewportChange:c,onToastAdd:h.useCallback(()=>d(p=>p+1),[]),onToastRemove:h.useCallback(()=>d(p=>p-1),[]),isFocusedToastEscapeKeyDownRef:f,isClosePausedRef:m,children:a})})};mw.displayName=zp;var pw="ToastViewport",eA=["F8"],qf="toast.viewportPause",Hf="toast.viewportResume",hw=h.forwardRef((e,t)=>
40{const{__scopeToast:n,hotkey:r=eA,label:s="Notifications ({hotkey})",...o}=e,a=iu(pw,n),l=XE(n),c=h.useRef(null),u=h.useRef(null),d=h.useRef(null),f=h.useRef(null),m=Ce(t,f,a.onViewportChange),p=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),w=a.toastCount>0;h.useEffect(()=>{const x=g=>{var b;r.length!==0&&r.every(S=>g[S]||g.code===S)&&((b=f.current)==null||b.focus())};return document.addEventListener("keydown",x),()=>document.removeEventListener("keydown",x)},[r]),h.useEffect(()=>{const x=c.current,g=f.current;if(w&&x&&g){const y=()=>{if(!a.isClosePausedRef.current){const C=new CustomEvent(qf);g.dispatchEvent(C),a.isClosePausedRef.current=!0}},b=()=>{if(a.isClosePausedRef.current){const C=new CustomEvent(Hf);g.dispatchEvent(C),a.isClosePausedRef.current=!1}},S=C=>{!x.contains(C.relatedTarget)&&b()},j=()=>{x.contains(document.activeElement)||b()};return x.addEventListener("focusin",y),x.addEventListener("focusout",S),x.addEventListener("pointermove",y),x.addEventListener("pointerleave",j),window.addEventListener("blur",y),window.addEventListener("focus",b),()=>{x.removeEventListener("focusin",y),x.removeEventListener("focusout",S),x.removeEventListener("pointermove",y),x.removeEventListener("pointerleave",j),window.removeEventListener("blur",y),window.removeEventListener("focus",b)}}},[w,a.isClosePausedRef]);const v=h.useCallback(({tabbingDirection:x})=>{const y=l().map(b=>{const S=b.ref.current,j=[S,...mA(S)];return x==="forwards"?j:j.reverse()});return(x==="forwards"?y.reverse():y).flat()},[l]);return h.useEffect(()=>{const x=f.current;if(x){const g=y=>{var j,C,N;const b=y.altKey||y.ctrlKey||y.metaKey;if(y.key==="Tab"&&!b){const E=document.activeElement,T=y.shiftKey;if(y.target===x&&T){(j=u.current)==null||j.focus();return}const F=v({tabbingDirection:T?"backwards":"forwards"}),H=F.findIndex(L=>L===E);gd(F.slice(H+1))?y.preventDefault():T?(C=u.current)==null||C.focus():(N=d.current)==null||N.focus()}};return x.addEventListener("keydown",g),()=>x.removeEventListener("keydown",g)}},[l,v]),i.jsxs(VE,{ref:c,role:"region","aria-label":s.replace("{hotkey}",p),tabIndex:-1,style:{pointerEvents:w?void 0:"none"},children:[w&&i.jsx(Kf,{ref:u,onFocusFromOutsideViewport:()=>{const x=v({tabbingDirection:"forwards"});gd(x)}}),i.jsx(Vp.Slot,{scope:n,children:i.jsx(ce.ol,{tabIndex:-1,...o,ref:m})}),w&&i.jsx(Kf,{ref:d,onFocusFromOutsideViewport:()=>{const x=v({tabbingDirection:"backwards"});gd(x)}})]})});hw.displayName=pw;var gw="ToastFocusProxy",Kf=h.forwardRef((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:r,...s}=e,o=iu(gw,n);return i.jsx(ou,{tabIndex:0,...s,ref:t,style:{position:"fixed"},onFocus:a=>{var u;const l=a.relatedTarget;!((u=o.viewport)!=null&&u.contains(l))&&r()}})});Kf.displayName=gw;var Ca="Toast",tA="toast.swipeStart",nA="toast.swipeMove",rA="toast.swipeCancel",sA="toast.swipeEnd",vw=h.forwardRef((e,t)=>{const{forceMount:n,open:r,defaultOpen:s,onOpenChange:o,...a}=e,[l,c]=Fn({prop:r,defaultProp:s??!0,onChange:o,caller:Ca});return i.jsx(Zr,{present:n||l,children:i.jsx(aA,{open:l,...a,ref:t,onClose:()=>c(!1),onPause:mn(e.onPause),onResume:mn(e.onResume),onSwipeStart:ae(e.onSwipeStart,u=>{u.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:ae(e.onSwipeMove,u=>{const{x:d,y:f}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","move"),u.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${d}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${f}px`)}),onSwipeCancel:ae(e.onSwipeCancel,u=>{u.currentTarget.setAttribute("data-swipe","cancel"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),u.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:ae(e.onSwipeEnd,u=>{const{x:d,y:f}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","end"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),u.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${d}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${f}px`),c(!1)})})})});vw.displayName=Ca;var[oA,iA]=fw(Ca,{onClose(){}}),aA=h.forwardRef((e,t)=>
40{const{__scopeToast:n,type:r="foreground",duration:s,open:o,onClose:a,onEscapeKeyDown:l,onPause:c,onResume:u,onSwipeStart:d,onSwipeMove:f,onSwipeCancel:m,onSwipeEnd:p,...w}=e,v=iu(Ca,n),[x,g]=h.useState(null),y=Ce(t,L=>g(L)),b=h.useRef(null),S=h.useRef(null),j=s||v.duration,C=h.useRef(0),N=h.useRef(j),E=h.useRef(0),{onToastAdd:T,onToastRemove:P}=v,I=mn(()=>{var q;(x==null?void 0:x.contains(document.activeElement))&&((q=v.viewport)==null||q.focus()),a()}),F=h.useCallback(L=>{!L||L===1/0||(window.clearTimeout(E.current),C.current=new Date().getTime(),E.current=window.setTimeout(I,L))},[I]);h.useEffect(()=>{const L=v.viewport;if(L){const q=()=>{F(N.current),u==null||u()},$=()=>{const G=new Date().getTime()-C.current;N.current=N.current-G,window.clearTimeout(E.current),c==null||c()};return L.addEventListener(qf,$),L.addEventListener(Hf,q),()=>{L.removeEventListener(qf,$),L.removeEventListener(Hf,q)}}},[v.viewport,j,c,u,F]),h.useEffect(()=>{o&&!v.isClosePausedRef.current&&F(j)},[o,j,v.isClosePausedRef,F]),h.useEffect(()=>(T(),()=>P()),[T,P]);const H=h.useMemo(()=>x?Cw(x):null,[x]);return v.viewport?i.jsxs(i.Fragment,{children:[H&&i.jsx(lA,{__scopeToast:n,role:"status","aria-live":r==="foreground"?"assertive":"polite",children:H}),i.jsx(oA,{scope:n,onClose:I,children:Sa.createPortal(i.jsx(Vp.ItemSlot,{scope:n,children:i.jsx(zE,{asChild:!0,onEscapeKeyDown:ae(l,()=>{v.isFocusedToastEscapeKeyDownRef.current||I(),v.isFocusedToastEscapeKeyDownRef.current=!1}),children:i.jsx(ce.li,{tabIndex:0,"data-state":o?"open":"closed","data-swipe-direction":v.swipeDirection,...w,ref:y,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:ae(e.onKeyDown,L=>{L.key==="Escape"&&(l==null||l(L.nativeEvent),L.nativeEvent.defaultPrevented||(v.isFocusedToastEscapeKeyDownRef.current=!0,I()))}),onPointerDown:ae(e.onPointerDown,L=>{L.button===0&&(b.current={x:L.clientX,y:L.clientY})}),onPointerMove:ae(e.onPointerMove,L=>{if(!b.current)return;const q=L.clientX-b.current.x,$=L.clientY-b.current.y,G=!!S.current,M=["left","right"].includes(v.swipeDirection),R=["left","up"].includes(v.swipeDirection)?Math.min:Math.max,A=M?R(0,q):0,k=M?0:R(0,$),O=L.pointerType==="touch"?10:2,z={x:A,y:k},W={originalEvent:L,delta:z};G?(S.current=z,rl(nA,f,W,{discrete:!1})):Sv(z,v.swipeDirection,O)?(S.current=z,rl(tA,d,W,{discrete:!1}),L.target.setPointerCapture(L.pointerId)):(Math.abs(q)>O||Math.abs($)>O)&&(b.current=null)}),onPointerUp:ae(e.onPointerUp,L=>{const q=S.current,$=L.target;if($.hasPointerCapture(L.pointerId)&&$.releasePointerCapture(L.pointerId),S.current=null,b.current=null,q){const G=L.currentTarget,M={originalEvent:L,delta:q};Sv(q,v.swipeDirection,v.swipeThreshold)?rl(sA,p,M,{discrete:!0}):rl(rA,m,M,{discrete:!0}),G.addEventListener("click",R=>R.preventDefault(),{once:!0})}})})})}),v.viewport)})]}):null}),lA=e=>{const{__scopeToast:t,children:n,...r}=e,s=iu(Ca,t),[o,a]=h.useState(!1),[l,c]=h.useState(!1);return dA(()=>a(!0)),h.useEffect(()=>{const u=window.setTimeout(()=>c(!0),1e3);return()=>window.clearTimeout(u)},[]),l?null:i.jsx(_p,{asChild:!0,children:i.jsx(ou,{...r,children:o&&i.jsxs(i.Fragment,{children:[s.label," ",n]})})})},cA="ToastTitle",yw=h.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return i.jsx(ce.div,{...r,ref:t})});yw.displayName=cA;var uA="ToastDescription",xw=h.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return i.jsx(ce.div,{...r,ref:t})});xw.displayName=uA;var bw="ToastAction",ww=h.forwardRef((e,t)=>{const{altText:n,...r}=e;return n.trim()?i.jsx(jw,{altText:n,asChild:!0,children:i.jsx(Bp,{...r,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${bw}\`. Expected non-empty \`string\`.`),null)});ww.displayName=bw;var Sw="ToastClose",Bp=h.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e,s=iA(Sw,n);return i.jsx(jw,{asChild:!0,children:i.jsx(ce.button,{type:"button",...r,ref:t,onClick:ae(e.onClick,s.onClose)})})});Bp.displayName=Sw;var jw=h.forwardRef((e,t)=>{const{__scopeToast:n,altText:r,...s}=e;return i.jsx(ce.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...s,ref:t})});function Cw(e){const t=[];
vendor: 11,251 bytes, lines 40-165
40return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),fA(r)){const s=r.ariaHidden||r.hidden||r.style.display==="none",o=r.dataset.radixToastAnnounceExclude==="";if(!s)if(o){const a=r.dataset.radixToastAnnounceAlt;a&&t.push(a)}else t.push(...Cw(r))}}),t}function rl(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?lw(s,o):s.dispatchEvent(o)}var Sv=(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 dA(e=()=>{}){const t=mn(e);Ln(()=>{let n=0,r=0;return n=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(r)}},[t])}function fA(e){return e.nodeType===e.ELEMENT_NODE}function mA(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 gd(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}var pA=mw,Nw=hw,kw=vw,Ew=yw,Aw=xw,Tw=ww,Pw=Bp;function Mw(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=Mw(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Rw(){for(var e,t,n=0,r="",s=arguments.length;n<s;n++)(e=arguments[n])&&(t=Mw(e))&&(r&&(r+=" "),r+=t);return r}const jv=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,Cv=Rw,$p=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return Cv(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:s,defaultVariants:o}=t,a=Object.keys(s).map(u=>{const d=n==null?void 0:n[u],f=o==null?void 0:o[u];if(d===null)return null;const m=jv(d)||jv(f);return s[u][m]}),l=n&&Object.entries(n).reduce((u,d)=>{let[f,m]=d;return m===void 0||(u[f]=m),u},{}),c=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((u,d)=>{let{class:f,className:m,...p}=d;return Object.entries(p).every(w=>{let[v,x]=w;return Array.isArray(x)?x.includes({...o,...l}[v]):{...o,...l}[v]===x})?[...u,f,m]:u},[]);return Cv(e,a,c,n==null?void 0:n.class,n==null?void 0:n.className)};/** 41 * @license lucide-react v0.462.0 - ISC 42 * 43 * This source code is licensed under the ISC license. 44 * See the LICENSE file in the root directory of this source tree. 45 */const hA=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Iw=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim();/** 46 * @license lucide-react v0.462.0 - ISC 47 * 48 * This source code is licensed under the ISC license. 49 * See the LICENSE file in the root directory of this source tree. 50 */var gA={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/** 51 * @license lucide-react v0.462.0 - ISC 52 * 53 * This source code is licensed under the ISC license. 54 * See the LICENSE file in the root directory of this source tree. 55 */const vA=h.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:s="",children:o,iconNode:a,...l},c)=>h.createElement("svg",{ref:c,...gA,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:Iw("lucide",s),...l},[...a.map(([u,d])=>h.createElement(u,d)),...Array.isArray(o)?o:[o]]));/** 56 * @license lucide-react v0.462.0 - ISC 57 * 58 * This source code is licensed under the ISC license. 59 * See the LICENSE file in the root directory of this source tree. 60 */const ne=(e,t)=>{const n=h.forwardRef(({className:r,...s},o)=>h.createElement(vA,{ref:o,iconNode:t,className:Iw(`lucide-${hA(e)}`,r),...s}));return n.displayName=`${e}`,n};/** 61 * @license lucide-react v0.462.0 - ISC 62 * 63 * This source code is licensed under the ISC license. 64 * See the LICENSE file in the root directory of this source tree. 65 */const yA=ne("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);/** 66 * @license lucide-react v0.462.0 - ISC 67 * 68 * This source code is licensed under the ISC license. 69 * See the LICENSE file in the root directory of this source tree. 70 */const Nt=ne("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/** 71 * @license lucide-react v0.462.0 - ISC 72 * 73 * This source code is licensed under the ISC license. 74 * See the LICENSE file in the root directory of this source tree. 75 */const Nv=ne("Award",[["path",{d:"m15.477 12.89 1.515 8.526a.5.5 0 0 1-.81.47l-3.58-2.687a1 1 0 0 0-1.197 0l-3.586 2.686a.5.5 0 0 1-.81-.469l1.514-8.526",key:"1yiouv"}],["circle",{cx:"12",cy:"8",r:"6",key:"1vp47v"}]]);/** 76 * @license lucide-react v0.462.0 - ISC 77 * 78 * This source code is licensed under the ISC license. 79 * See the LICENSE file in the root directory of this source tree. 80 */const xA=ne("Bell",[["path",{d:"M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9",key:"1qo2s2"}],["path",{d:"M10.3 21a1.94 1.94 0 0 0 3.4 0",key:"qgo35s"}]]);/** 81 * @license lucide-react v0.462.0 - ISC 82 * 83 * This source code is licensed under the ISC license. 84 * See the LICENSE file in the root directory of this source tree. 85 */const Wp=ne("Bot",[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]]);/** 86 * @license lucide-react v0.462.0 - ISC 87 * 88 * This source code is licensed under the ISC license. 89 * See the LICENSE file in the root directory of this source tree. 90 */const Up=ne("CalendarCheck",[["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"}],["path",{d:"m9 16 2 2 4-4",key:"19s6y9"}]]);/** 91 * @license lucide-react v0.462.0 - ISC 92 * 93 * This source code is licensed under the ISC license. 94 * See the LICENSE file in the root directory of this source tree. 95 */const Dw=ne("CalendarDays",[["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"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M8 18h.01",key:"lrp35t"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M16 18h.01",key:"kzsmim"}]]);/** 96 * @license lucide-react v0.462.0 - ISC 97 * 98 * This source code is licensed under the ISC license. 99 * See the LICENSE file in the root directory of this source tree. 100 */const bA=ne("CalendarX",[["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"}],["path",{d:"m14 14-4 4",key:"rymu2i"}],["path",{d:"m10 14 4 4",key:"3sz06r"}]]);/** 101 * @license lucide-react v0.462.0 - ISC 102 * 103 * This source code is licensed under the ISC license. 104 * See the LICENSE file in the root directory of this source tree. 105 */const dc=ne("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"}]]);/** 106 * @license lucide-react v0.462.0 - ISC 107 * 108 * This source code is licensed under the ISC license. 109 * See the LICENSE file in the root directory of this source tree. 110 */const Ps=ne("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/** 111 * @license lucide-react v0.462.0 - ISC 112 * 113 * This source code is licensed under the ISC license. 114 * See the LICENSE file in the root directory of this source tree. 115 */const wA=ne("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/** 116 * @license lucide-react v0.462.0 - ISC 117 * 118 * This source code is licensed under the ISC license. 119 * See the LICENSE file in the root directory of this source tree. 120 */const Lw=ne("CircleAlert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);/** 121 * @license lucide-react v0.462.0 - ISC 122 * 123 * This source code is licensed under the ISC license. 124 * See the LICENSE file in the root directory of this source tree. 125 */const Os=ne("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/** 126 * @license lucide-react v0.462.0 - ISC 127 * 128 * This source code is licensed under the ISC license. 129 * See the LICENSE file in the root directory of this source tree. 130 */const Ow=ne("CircleX",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]]);/** 131 * @license lucide-react v0.462.0 - ISC 132 * 133 * This source code is licensed under the ISC license. 134 * See the LICENSE file in the root directory of this source tree. 135 */const Ss=ne("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);/** 136 * @license lucide-react v0.462.0 - ISC 137 * 138 * This source code is licensed under the ISC license. 139 * See the LICENSE file in the root directory of this source tree. 140 */const Fw=ne("DollarSign",[["line",{x1:"12",x2:"12",y1:"2",y2:"22",key:"7eqyqh"}],["path",{d:"M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6",key:"1b0p4s"}]]);/** 141 * @license lucide-react v0.462.0 - ISC 142 * 143 * This source code is licensed under the ISC license. 144 * See the LICENSE file in the root directory of this source tree. 145 */const _w=ne("Filter",[["polygon",{points:"22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3",key:"1yg77f"}]]);/** 146 * @license lucide-react v0.462.0 - ISC 147 * 148 * This source code is licensed under the ISC license. 149 * See the LICENSE file in the root directory of this source tree. 150 */const Uo=ne("Globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);/** 151 * @license lucide-react v0.462.0 - ISC 152 * 153 * This source code is licensed under the ISC license. 154 * See the LICENSE file in the root directory of this source tree. 155 */const SA=ne("Layers",[["path",{d:"m12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83Z",key:"8b97xw"}],["path",{d:"m22 17.65-9.17 4.16a2 2 0 0 1-1.66 0L2 17.65",key:"dd6zsq"}],["path",{d:"m22 12.65-9.17 4.16a2 2 0 0 1-1.66 0L2 12.65",key:"ep9fru"}]]);/** 156 * @license lucide-react v0.462.0 - ISC 157 * 158 * This source code is licensed under the ISC license. 159 * See the LICENSE file in the root directory of this source tree. 160 */const zw=ne("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);/** 161 * @license lucide-react v0.462.0 - ISC 162 * 163 * This source code is licensed under the ISC license. 164 * See the LICENSE file in the root directory of this source tree. 165 */const jA=ne("LogIn",[["path",{d:"M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4",ke
165y:"u53s6r"}],["polyline",{points:"10 17 15 12 10 7",key:"1ail0h"}],["line",{x1:"15",x2:"3",y1:"12",y2:"12",key:"v6grx8"}]]);/** 166 * @license lucide-react v0.462.0 - ISC 167 * 168 * This source code is licensed under the ISC license. 169 * See the LICENSE file in the root directory of this source tree. 170 */const Vw=ne("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]]);/** 171 * @license lucide-react v0.462.0 - ISC 172 * 173 * This source code is licensed under the ISC license. 174 * See the LICENSE file in the root directory of this source tree. 175 */const Gf=ne("MapPin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]);/** 176 * @license lucide-react v0.462.0 - ISC 177 * 178 * This source code is licensed under the ISC license. 179 * See the LICENSE file in the root directory of this source tree. 180 */const CA=ne("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);/** 181 * @license lucide-react v0.462.0 - ISC 182 * 183 * This source code is licensed under the ISC license. 184 * See the LICENSE file in the root directory of this source tree. 185 */const au=ne("MessageSquare",[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}]]);/** 186 * @license lucide-react v0.462.0 - ISC 187 * 188 * This source code is licensed under the ISC license. 189 * See the LICENSE file in the root directory of this source tree. 190 */const NA=ne("Mic",[["path",{d:"M12 2a3 3 0 0 0-3 3v7a3 3 0 0 0 6 0V5a3 3 0 0 0-3-3Z",key:"131961"}],["path",{d:"M19 10v2a7 7 0 0 1-14 0v-2",key:"1vc78b"}],["line",{x1:"12",x2:"12",y1:"19",y2:"22",key:"x3vr5v"}]]);/** 191 * @license lucide-react v0.462.0 - ISC 192 * 193 * This source code is licensed under the ISC license. 194 * See the LICENSE file in the root directory of this source tree. 195 */const kA=ne("Moon",[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]]);/** 196 * @license lucide-react v0.462.0 - ISC 197 * 198 * This source code is licensed under the ISC license. 199 * See the LICENSE file in the root directory of this source tree. 200 */const EA=ne("PhoneCall",[["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}],["path",{d:"M14.05 2a9 9 0 0 1 8 7.94",key:"vmijpz"}],["path",{d:"M14.05 6A5 5 0 0 1 18 10",key:"13nbpp"}]]);/** 201 * @license lucide-react v0.462.0 - ISC 202 * 203 * This source code is licensed under the ISC license. 204 * See the LICENSE file in the root directory of this source tree. 205 */const Yf=ne("PhoneMissed",[["line",{x1:"22",x2:"16",y1:"2",y2:"8",key:"1xzwqn"}],["line",{x1:"16",x2:"22",y1:"2",y2:"8",key:"13zxdn"}],["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}]]);/** 206 * @license lucide-react v0.462.0 - ISC 207 * 208 * This source code is licensed under the ISC license. 209 * See the LICENSE file in the root directory of this source tree. 210 */const AA=ne("PhoneOff",[["path",{d:"M10.68 13.31a16 16 0 0 0 3.41 2.6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7 2 2 0 0 1 1.72 2v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.42 19.42 0 0 1-3.33-2.67m-2.67-3.34a19.79 19.79 0 0 1-3.07-8.63A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91",key:"z86iuo"}],["line",{x1:"22",x2:"2",y1:"2",y2:"22",key:"11kh81"}]]);/** 211 * @license lucide-react v0.462.0 - ISC 212 * 213 * This source code is licensed under the ISC license. 214 * See the LICENSE file in the root directory of this source tree. 215 */const Na=ne("Phone",[["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}]]);/** 216 * @license lucide-react v0.462.0 - ISC 217 * 218 * This source code is licensed under the ISC license. 219 * See the LICENSE file in the root directory of this source tree. 220 */const TA=ne("Play",[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]]);/** 221 * @license lucide-react v0.462.0 - ISC 222 * 223 * This source code is licensed under the ISC license. 224 * See the LICENSE file in the root directory of this source tree. 225 */const Bw=ne("Repeat",[["path",{d:"m17 2 4 4-4 4",key:"nntrym"}],["path",{d:"M3 11v-1a4 4 0 0 1 4-4h14",key:"84bu3i"}],["path",{d:"m7 22-4-4 4-4",key:"1wqhfi"}],["path",{d:"M21 13v1a4 4 0 0 1-4 4H3",key:"1rx37r"}]]);/** 226 * @license lucide-react v0.462.0 - ISC 227 * 228 * This source code is licensed under the ISC license. 229 * See the LICENSE file in the root directory of this source tree. 230 */const fc=ne("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
230kijz"}],["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"}]]);/** 231 * @license lucide-react v0.462.0 - ISC 232 * 233 * This source code is licensed under the ISC license. 234 * See the LICENSE file in the root directory of this source tree. 235 */const Zi=ne("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);/** 236 * @license lucide-react v0.462.0 - ISC 237 * 238 * This source code is licensed under the ISC license. 239 * See the LICENSE file in the root directory of this source tree. 240 */const $w=ne("Settings",[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/** 241 * @license lucide-react v0.462.0 - ISC 242 * 243 * This source code is licensed under the ISC license. 244 * See the LICENSE file in the root directory of this source tree. 245 */const Ww=ne("ShieldCheck",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/** 246 * @license lucide-react v0.462.0 - ISC 247 * 248 * This source code is licensed under the ISC license. 249 * See the LICENSE file in the root directory of this source tree. 250 */const mc=ne("Smartphone",[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2",key:"1yt0o3"}],["path",{d:"M12 18h.01",key:"mhygvu"}]]);/** 251 * @license lucide-react v0.462.0 - ISC 252 * 253 * This source code is licensed under the ISC license. 254 * See the LICENSE file in the root directory of this source tree. 255 */const PA=ne("Sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]]);/** 256 * @license lucide-react v0.462.0 - ISC 257 * 258 * This source code is licensed under the ISC license. 259 * See the LICENSE file in the root directory of this source tree. 260 */const Oo=ne("Star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]]);/** 261 * @license lucide-react v0.462.0 - ISC 262 * 263 * This source code is licensed under the ISC license. 264 * See the LICENSE file in the root directory of this source tree. 265 */const MA=ne("Sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]);/** 266 * @license lucide-react v0.462.0 - ISC 267 * 268 * This source code is licensed under the ISC license. 269 * See the LICENSE file in the root directory of this source tree. 270 */const Uw=ne("Target",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]]);/** 271 * @license lucide-react v0.462.0 - ISC 272 * 273 * This source code is licensed under the ISC license. 274 * See the LICENSE file in the root directory of this source tree. 275 */const qp=ne("TrendingDown",[["polyline",{points:"22 17 13.5 8.5 8.5 13.5 2 7",key:"1r2t7k"}],["polyline",{points:"16 17 22 17 22 11",key:"11uiuu"}]]);/** 276 * @license lucide-react v0.462.0 - ISC 277 * 278 * This source code is licensed under the ISC license. 279 * See the LICENSE file in the root directory of this source tree. 280 */const Ur=ne("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"}]]);/** 281 * @license lucide-react v0.462.0 - ISC 282 * 283 * This source code is licensed under the ISC license. 284 * See the LICENSE file in the root directory of this source tree. 285 */const RA=ne("UserCheck",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}
vendor: 9,379 bytes, lines 285-310
285],["polyline",{points:"16 11 18 13 22 9",key:"1pwet4"}]]);/** 286 * @license lucide-react v0.462.0 - ISC 287 * 288 * This source code is licensed under the ISC license. 289 * See the LICENSE file in the root directory of this source tree. 290 */const IA=ne("UserX",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["line",{x1:"17",x2:"22",y1:"8",y2:"13",key:"3nzzx3"}],["line",{x1:"22",x2:"17",y1:"8",y2:"13",key:"1swrse"}]]);/** 291 * @license lucide-react v0.462.0 - ISC 292 * 293 * This source code is licensed under the ISC license. 294 * See the LICENSE file in the root directory of this source tree. 295 */const pc=ne("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]]);/** 296 * @license lucide-react v0.462.0 - ISC 297 * 298 * This source code is licensed under the ISC license. 299 * See the LICENSE file in the root directory of this source tree. 300 */const qw=ne("Workflow",[["rect",{width:"8",height:"8",x:"3",y:"3",rx:"2",key:"by2w9f"}],["path",{d:"M7 11v4a2 2 0 0 0 2 2h4",key:"xkn7yn"}],["rect",{width:"8",height:"8",x:"13",y:"13",rx:"2",key:"1cgmvn"}]]);/** 301 * @license lucide-react v0.462.0 - ISC 302 * 303 * This source code is licensed under the ISC license. 304 * See the LICENSE file in the root directory of this source tree. 305 */const lu=ne("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);/** 306 * @license lucide-react v0.462.0 - ISC 307 * 308 * This source code is licensed under the ISC license. 309 * See the LICENSE file in the root directory of this source tree. 310 */const hc=ne("Zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]]),Hp="-",DA=e=>{const t=OA(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:a=>{const l=a.split(Hp);return l[0]===""&&l.length!==1&&l.shift(),Hw(l,t)||LA(a)},getConflictingClassGroupIds:(a,l)=>{const c=n[a]||[];return l&&r[a]?[...c,...r[a]]:c}}},Hw=(e,t)=>{var a;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),s=r?Hw(e.slice(1),r):void 0;if(s)return s;if(t.validators.length===0)return;const o=e.join(Hp);return(a=t.validators.find(({validator:l})=>l(o)))==null?void 0:a.classGroupId},kv=/^\[(.+)\]$/,LA=e=>{if(kv.test(e)){const t=kv.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},OA=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return _A(Object.entries(e.classGroups),n).forEach(([o,a])=>{Qf(a,r,o,t)}),r},Qf=(e,t,n,r)=>{e.forEach(s=>{if(typeof s=="string"){const o=s===""?t:Ev(t,s);o.classGroupId=n;return}if(typeof s=="function"){if(FA(s)){Qf(s(r),t,n,r);return}t.validators.push({validator:s,classGroupId:n});return}Object.entries(s).forEach(([o,a])=>{Qf(a,Ev(t,o),n,r)})})},Ev=(e,t)=>{let n=e;return t.split(Hp).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},FA=e=>e.isThemeGetter,_A=(e,t)=>t?e.map(([n,r])=>{const s=r.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([a,l])=>[t+a,l])):o);return[n,s]}):e,zA=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const s=(o,a)=>{n.set(o,a),t++,t>e&&(t=0,r=n,n=new Map)};return{get(o){let a=n.get(o);if(a!==void 0)return a;if((a=r.get(o))!==void 0)return s(o,a),a},set(o,a){n.has(o)?n.set(o,a):s(o,a)}}},Kw="!",VA=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,s=t[0],o=t.length,a=l=>{const c=[];let u=0,d=0,f;for(let x=0;x<l.length;x++){let g=l[x];if(u===0){if(g===s&&(r||l.slice(x,x+o)===t)){c.push(l.slice(d,x)),d=x+o;continue}if(g==="/"){f=x;continue}}g==="["?u++:g==="]"&&u--}const m=c.length===0?l:l.substring(d),p=m.startsWith(Kw),w=p?m.substring(1):m,v=f&&f>d?f-d:void 0;return{modifiers:c,hasImportantModifier:p,baseClassName:w,maybePostfixModifierPosition:v}};return n?l=>n({className:l,parseClassName:a}):a},BA=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},$A=e=>({cache:zA(e.cacheSize),parseClassName:VA(e),...DA(e)}),WA=/\s+/,UA=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:s}=t,o=[],a=e.trim().split(WA);let l="";for(let c=a.length-1;c>=0;c-=1){const u=a[c],{modifiers:d,hasImportantModifier:f,baseClassName:m,maybePostfixModifierPosition:p}=n(u);let w=!!p,v=r(w?m.substring(0,p):m);if(!v){if(!w){l=u+(l.length>0?" "+l:l);continue}if(v=r(m),!v){l=u+(l.length>0?" "+l:l);continue}w=!1}const x=BA(d).join(":"),g=f?x+Kw:x,y=g+v;if(o.includes(y))continue;o.push(y);const b=s(v,w);for(let S=0;S<b.length;++S){const j=b[S];o.push(g+j)}l=u+(l.length>0?" "+l:l)}return l};function qA(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=Gw(t))&&(r&&(r+=" "),r+=n);return r}const Gw=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=Gw(e[r]))&&(n&&(n+=" "),n+=t);return n};function HA(e,...t){let n,r,s,o=a;function a(c){const u=t.reduce((d,f)=>f(d),e());return n=$A(u),r=n.cache.get,s=n.cache.set,o=l,l(c)}function l(c){const u=r(c);if(u)return u;const d=UA(c,n);return s(c,d),d}return function(){return o(qA.apply(null,arguments))}}const ke=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},Yw=/^\[(?:([a-z-]+):)?(.+)\]$/i,KA=/^\d+\/\d+$/,GA=new Set(["px","full","screen"]),YA=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,QA=/\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$/,XA=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,ZA=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,JA=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,$n=e=>ho(e)||GA.has(e)||KA.test(e),fr=e=>qo(e,"length",aT),ho=e=>!!e&&!Number.isNaN(Number(e)),vd=e=>qo(e,"number",ho),ci=e=>!!e&&Number.isInteger(Number(e)),eT=e=>e.endsWith("%")&&ho(e.slice(0,-1)),le=e=>Yw.test(e),mr=e=>YA.test(e),tT=new Set(["length","size","percentage"]),nT=e=>qo(e,tT,Qw),rT=e=>qo(e,"position",Qw),sT=new Set(["image","url"]),oT=e=>qo(e,sT,cT),iT=e=>qo(e,"",lT),ui=()=>!0,qo=(e,t,n)=>{const r=Yw.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},aT=e=>QA.test(e)&&!XA.test(e),Qw=()=>!1,lT=e=>ZA.test(e),cT=e=>JA.test(e),uT=()=>{const e=ke("colors"),t=ke("spacing"),n=ke("blur"),r=ke("brightness"),s=ke("borderColor"),o=ke("borderRadius"),a=ke("borderSpacing"),l=ke("borderWidth"),c=ke("contrast"),u=ke("grayscale"),d=ke("hueRotate"),f=ke("invert"),m=ke("gap"),p=ke("gradientColorStops"),w=ke("gradientColorStopPositions"),v=ke("inset"),x=ke("margin"),g=ke("opacity"),y=ke("padding"),b=ke("saturate"),S=ke("scale"),j=ke("sepia"),C=ke("skew"),N=ke("space"),E=ke("translate"),T=()=>["auto","contain","none"],P=()=>["auto","hidden","clip","visible","scroll"],I=()=>["auto",le,t],F=()=>[le,t],H=()=>["",$n,fr],L=()=>["auto",ho,le],q=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],$=()=>["solid","dashed","dotted","double","none"],G=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],M=()=>["start","end","center","between","around","evenly","stretch"],R=()=>["","0",le],A=()=>["auto","avoid","all","avoid-page","page","left","right","column"],k=()=>[ho,le];return{cacheSize:500,separator:":",theme:{colors:[ui],spacing:[$n,fr],blur:["none","",mr,le],brightness:k(),borderColor:[e],borderRadius:["none","","full",mr,le],borderSpacing:F(),borderWidth:H(),contrast:k(),grayscale:R(),hueRotate:k(),invert:R(),gap:F(),gradientColorStops:[e],gradientColorStopPositions:[eT,fr],inset:I(),margin:I(),opacity:k(),padding:F(),saturate:k(),scale:k(),sepia:R(),skew:k(),space:F(),translate:F()},classGroups:{aspect:[{aspect:["auto","square","video",le]}],container:["container"],columns:[{columns:[mr]}],"break-after":[{"break-after":A()}],"break-before":[{"break-before":A()}],"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:[...q(),le]}],overflow:[{overflow:P()}],"overflow-x":[{"overflow-x":P()}],"overflow-y":[{"overflow-y":P()}],overscroll:[{overscroll:T()}],"overscroll-x":[{"overscroll-x":T()}],"overscroll-y":[{"overscroll-y":T()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[v]}],"inset-x":[{"inset-x":[v]}],"inset-y":[{"inset-y":[v]}],start:[{start:[v]}],end:[{end:[v]}],top:[{top:[v]}
vendor: 9,947 bytes, line 310
310],right:[{right:[v]}],bottom:[{bottom:[v]}],left:[{left:[v]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",ci,le]}],basis:[{basis:I()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",le]}],grow:[{grow:R()}],shrink:[{shrink:R()}],order:[{order:["first","last","none",ci,le]}],"grid-cols":[{"grid-cols":[ui]}],"col-start-end":[{col:["auto",{span:["full",ci,le]},le]}],"col-start":[{"col-start":L()}],"col-end":[{"col-end":L()}],"grid-rows":[{"grid-rows":[ui]}],"row-start-end":[{row:["auto",{span:[ci,le]},le]}],"row-start":[{"row-start":L()}],"row-end":[{"row-end":L()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",le]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",le]}],gap:[{gap:[m]}],"gap-x":[{"gap-x":[m]}],"gap-y":[{"gap-y":[m]}],"justify-content":[{justify:["normal",...M()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...M(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...M(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[y]}],px:[{px:[y]}],py:[{py:[y]}],ps:[{ps:[y]}],pe:[{pe:[y]}],pt:[{pt:[y]}],pr:[{pr:[y]}],pb:[{pb:[y]}],pl:[{pl:[y]}],m:[{m:[x]}],mx:[{mx:[x]}],my:[{my:[x]}],ms:[{ms:[x]}],me:[{me:[x]}],mt:[{mt:[x]}],mr:[{mr:[x]}],mb:[{mb:[x]}],ml:[{ml:[x]}],"space-x":[{"space-x":[N]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[N]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",le,t]}],"min-w":[{"min-w":[le,t,"min","max","fit"]}],"max-w":[{"max-w":[le,t,"none","full","min","max","fit","prose",{screen:[mr]},mr]}],h:[{h:[le,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[le,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[le,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[le,t,"auto","min","max","fit"]}],"font-size":[{text:["base",mr,fr]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",vd]}],"font-family":[{font:[ui]}],"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",le]}],"line-clamp":[{"line-clamp":["none",ho,vd]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",$n,le]}],"list-image":[{"list-image":["none",le]}],"list-style-type":[{list:["none","disc","decimal",le]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[g]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[g]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...$(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",$n,fr]}],"underline-offset":[{"underline-offset":["auto",$n,le]}],"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:F()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",le]}],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",le]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[g]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...q(),rT]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",nT]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},oT]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[w]}],"gradient-via-pos":[{via:[w]}],"gradient-to-pos":[{to:[w]}],"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:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[g]}],"border-style":[{border:[...$(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[g]}],"divide-style":[{divide:$()}],"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:["",...$()]}],"outline-offset":[{"outline-offset":[$n,le]}],"outline-w":[{outline:[$n,fr]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:H()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[g]}],"ring-offset-w":[{"ring-offset":[$n,fr]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",mr,iT]}],"shadow-color":[{shadow:[ui]}],opacity:[{opacity:[g]}],"mix-blend":[{"mix-blend":[...G(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":G()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",mr,le]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[d]}],invert:[{invert:[f]}],saturate:[{saturate:[b]}],sepia:[{sepia:[j]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[d]}],"backdrop-invert":[{"backdrop-invert":[f]}],"backdrop-opacity":[{"backdrop-opacity":[g]}],"backdrop-saturate":[{"backdrop-saturate":[b]}],"backdrop-sepia":[{"backdrop-sepia":[j]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[a]}],"border-spacing-x":[{"border-spacing-x":[a]}],"border-spacing-y":[{"border-spacing-y":[a]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",le]}],duration:[{duration:k()}],ease:[{ease:["linear","in","out","in-out",le]}],delay:[{delay:k()}],animate:[{animate:["none","spin","ping","pulse","bounce",le]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[S]}],"scale-x":[{"scale-x":[S]}],"scale-y":[{"scale-y":[S]}],rotate:[{rotate:[ci,le]}],"translate-x":[{"translate-x":[E]}],"translate-y":[{"translate-y":[E]}],"skew-x":[{"skew-x":[C]}],"skew-y":[{"skew-y":[C]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",le]}],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",le]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":F()}],"scroll-mx":[{"scroll-mx":F()}],"scroll-my":[{"scroll-my":F()}],"scroll-ms":[{"scroll-ms":F()}],"scroll-me":[{"scroll-me":F()}],"scroll-mt":[{"scroll-mt":F()}],"scroll-mr":[{"scroll-mr":F()}],"scroll-mb":[{"scroll-mb":F()}],"scroll-ml":[{"scroll-ml":F()}],"scroll-p":[{"scroll-p":F()}],"scroll-px":[{"scroll-px":F()}],"scroll-py":[{"scroll-py":F()}],"scroll-ps":[{"scroll-ps":F()}],"scroll-pe":[{"scroll-pe":F()}],"scroll-pt":[{"scroll-pt":F()}],"scroll-pr":[{"scroll-pr":F()}],"scroll-pb":[{"scroll-pb":F()}],"scroll-pl":[{"scroll-pl":F()}],"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,647 bytes, line 310
310],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",le]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[$n,fr,vd]}],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"]}}},dT=HA(uT);function ue(...e){return dT(Rw(e))}const fT=pA,Xw=h.forwardRef(({className:e,...t},n)=>i.jsx(Nw,{ref:n,className:ue("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}));Xw.displayName=Nw.displayName;const mT=$p("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"}}),Zw=h.forwardRef(({className:e,variant:t,...n},r)=>i.jsx(kw,{ref:r,className:ue(mT({variant:t}),e),...n}));Zw.displayName=kw.displayName;const pT=h.forwardRef(({className:e,...t},n)=>i.jsx(Tw,{ref:n,className:ue("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}));pT.displayName=Tw.displayName;const Jw=h.forwardRef(({className:e,...t},n)=>i.jsx(Pw,{ref:n,className:ue("absolute right-2 top-2 rounded-md p-1 text-foreground
310/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:i.jsx(lu,{className:"h-4 w-4"})}));Jw.displayName=Pw.displayName;const e1=h.forwardRef(({className:e,...t},n)=>i.jsx(Ew,{ref:n,className:ue("text-sm font-semibold",e),...t}));e1.displayName=Ew.displayName;const t1=h.forwardRef(({className:e,...t},n)=>i.jsx(Aw,{ref:n,className:ue("text-sm opacity-90",e),...t}));t1.displayName=Aw.displayName;function hT(){const{toasts:e}=aw();return i.jsxs(fT,{children:[e.map(function({id:t,title:n,description:r,action:s,...o}){return i.jsxs(Zw,{...o,children:[i.jsxs("div",{className:"grid gap-1",children:[n&&i.jsx(e1,{children:n}),r&&i.jsx(t1,{children:r})]}),s,i.jsx(Jw,{})]},t)}),i.jsx(Xw,{})]})}var gc=["light","dark"],Kp="(prefers-color-scheme: dark)",gT=typeof window>"u",Gp=h.createContext(void 0),vT={setTheme:e=>{},themes:[]},n1=()=>{var e;return(e=h.useContext(Gp))!=null?e:vT},yT=e=>h.useContext(Gp)?e.children:h.createElement(bT,{...e}),xT=["light","dark"],bT=({forcedTheme:e,disableTransitionOnChange:t=!1,enableSystem:n=!0,enableColorScheme:r=!0,storageKey:s="theme",themes:o=xT,defaultTheme:a=n?"system":"light",attribute:l="data-theme",value:c,children:u,nonce:d})=>{let[f,m]=h.useState(()=>Av(s,a)),[p,w]=h.useState(()=>Av(s)),v=c?Object.values(c):o,x=h.useCallback(S=>{let j=S;if(!j)return;S==="system"&&n&&(j=Tv());let C=c?c[j]:j,N=t?ST():null,E=document.documentElement;if(l==="class"?(E.classList.remove(...v),C&&E.classList.add(C)):C?E.setAttribute(l,C):E.removeAttribute(l),r){let T=gc.includes(a)?a:null,P=gc.includes(j)?j:T;E.style.colorScheme=P}N==null||N()},[]),g=h.useCallback(S=>{let j=typeof S=="function"?S(S):S;m(j);try{localStorage.setItem(s,j)}catch{}},[e]),y=h.useCallback(S=>{let j=Tv(S);w(j),f==="system"&&n&&!e&&x("system")},[f,e]);h.useEffect(()=>{let S=window.matchMedia(Kp);return S.addListener(y),y(S),()=>S.removeListener(y)},[y]),h.useEffect(()=>{let S=j=>{if(j.key!==s)return;let C=j.newValue||a;g(C)};return window.addEventListener("storage",S),()=>window.removeEventListener("storage",S)},[g]),h.useEffect(()=>{x(e??f)},[e,f]);let b=h.useMemo(()=>({theme:f,setTheme:g,forcedTheme:e,resolvedTheme:f==="system"?p:f,themes:n?[...o,"system"]:o,systemTheme:n?p:void 0}),[f,g,e,p,n,o]);return h.createElement(Gp.Provider,{value:b},h.createElement(wT,{forcedTheme:e,disableTransitionOnChange:t,enableSystem:n,enableColorScheme:r,storageKey:s,themes:o,defaultTheme:a,attribute:l,value:c,children:u,attrs:v,nonce:d}),u)},wT=h.memo(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:s,defaultTheme:o,value:a,attrs:l,nonce:c})=>{let u=o==="system",d=n==="class"?`var d=document.documentElement,c=d.classList;${`c.remove(${l.map(w=>`'${w}'`).join(",")})`};`:`var d=document.documentElement,n='${n}',s='setAttribute';`,f=s?gc.includes(o)&&o?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${o}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",m=(w,v=!1,x=!0)=>{let g=a?a[w]:w,y=v?w+"|| ''":`'${g}'`,b="";return s&&x&&!v&&gc.includes(w)&&(b+=`d.style.colorScheme = '${w}';`),n==="class"?v||g?b+=`c.add(${y})`:b+="null":g&&(b+=`d[s](n,${y})`),b},p=e?`!function(){${d}${m(e)}}()`:r?`!function(){try{${d}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${u})){var t='${Kp}',m=window.matchMedia(t);if(m.media!==t||m.matches){${m("dark")}}else{${m("light")}}}else if(e){${a?`var x=${JSON.stringify(a)};`:""}${m(a?"x[e]":"e",!0)}}${u?"":"else{"+m(o,!1,!1)+"}"}${f}}catch(e){}}()`:`!function(){try{${d}var e=localStorage.getItem('${t}');if(e){${a?`var x=${JSON.stringify(a)};`:""}${m(a?"x[e]":"e",!0)}}else{${m(o,!1,!1)};}${f}}catch(t){}}();`;return h.createElement("script",{nonce:c,dangerouslySetInnerHTML:{__html:p}})}),Av=(e,t)=>
310{if(gT)return;let n;try{n=localStorage.getItem(e)||void 0}catch{}return n||t},ST=()=>{let e=document.createElement("style");return e.appendChild(document.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(e),()=>{window.getComputedStyle(document.body),setTimeout(()=>{document.head.removeChild(e)},1)}},Tv=e=>(e||(e=window.matchMedia(Kp)),e.matches?"dark":"light"),jT=e=>{switch(e){case"success":return kT;case"info":return AT;case"warning":return ET;case"error":return TT;default:return null}},CT=Array(12).fill(0),NT=({visible:e,className:t})=>_.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},_.createElement("div",{className:"sonner-spinner"},CT.map((n,r)=>_.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${r}`})))),kT=_.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},_.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"})),ET=_.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},_.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"})),AT=_.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},_.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"})),TT=_.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},_.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"})),PT=_.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"},_.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),_.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),MT=()=>{let[e,t]=_.useState(document.hidden);return _.useEffect(()=>{let n=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),e},Xf=1,RT=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:Xf++,o=this.toasts.find(l=>l.id===s),a=e.dismissible===void 0?!0:e.dismissible;return this.dismissedToasts.has(s)&&this.dismissedToasts.delete(s),o?this.toasts=this.toasts.map(l=>l.id===s?(this.publish({...l,...e,id:s,title:n}),{...l,...e,id:s,dismissible:a,title:n}):l):this.addToast({title:n,...r,dismissible:a,id:s}),s},this.dismiss=e=>(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)=>
310this.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,a=r.then(async c=>{if(o=["resolve",c],_.isValidElement(c))s=!1,this.create({id:n,type:"default",message:c});else if(DT(c)&&!c.ok){s=!1;let u=typeof t.error=="function"?await t.error(`HTTP error! status: ${c.status}`):t.error,d=typeof t.description=="function"?await t.description(`HTTP error! status: ${c.status}`):t.description;this.create({id:n,type:"error",message:u,description:d})}else if(t.success!==void 0){s=!1;let u=typeof t.success=="function"?await t.success(c):t.success,d=typeof t.description=="function"?await t.description(c):t.description;this.create({id:n,type:"success",message:u,description:d})}}).catch(async c=>{if(o=["reject",c],t.error!==void 0){s=!1;let u=typeof t.error=="function"?await t.error(c):t.error,d=typeof t.description=="function"?await t.description(c):t.description;this.create({id:n,type:"error",message:u,description:d})}}).finally(()=>{var c;s&&(this.dismiss(n),n=void 0),(c=t.finally)==null||c.call(t)}),l=()=>new Promise((c,u)=>a.then(()=>o[0]==="reject"?u(o[1]):c(o[1])).catch(u));return typeof n!="string"&&typeof n!="number"?{unwrap:l}:Object.assign(n,{unwrap:l})},this.custom=(e,t)=>{let n=(t==null?void 0:t.id)||Xf++;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}},xt=new RT,IT=(e,t)=>{let n=(t==null?void 0:t.id)||Xf++;return xt.addToast({title:e,...t,id:n}),n},DT=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",LT=IT,OT=()=>xt.toasts,FT=()=>xt.getActiveToasts(),yd=Object.assign(LT,{success:xt.success,info:xt.info,warning:xt.warning,error:xt.error,custom:xt.custom,message:xt.message,promise:xt.promise,dismiss:xt.dismiss,loading:xt.loading},{getHistory:OT,getToasts:FT});function _T(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))}_T(`: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;
310left: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}
310: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%);
310--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%)} 311`);function sl(e){return e.label!==void 0}var zT=3,VT="32px",BT="16px",Pv=4e3,$T=356,WT=14,UT=20,qT=200;function Jt(...e){return e.filter(Boolean).join(" ")}function HT(e){let[t,n]=e.split("-"),r=[];return t&&r.push(t),n&&r.push(n),r}var KT=e=>{var t,n,r,s,o,a,l,c,u,d,f;let{invert:m,toast:p,unstyled:w,interacting:v,setHeights:x,visibleToasts:g,heights:y,index:b,toasts:S,expanded:j,removeToast:C,defaultRichColors:N,closeButton:E,style:T,cancelButtonStyle:P,actionButtonStyle:I,className:F="",descriptionClassName:H="",duration:L,position:q,gap:$,loadingIcon:G,expandByDefault:M,classNames:R,icons:A,closeButtonAriaLabel:k="Close toast",pauseWhenPageIsHidden:O}=e,[z,W]=_.useState(null),[Y,X]=_.useState(null),[B,Z]=_.useState(!1),[oe,ie]=_.useState(!1),[ee,U]=_.useState(!1),[te,J]=_.useState(!1),[pe,be]=_.useState(!1),[Ne,Re]=_.useState(0),[Ie,$e]=_.useState(0),
311kt=_.useRef(p.duration||L||Pv),sr=_.useRef(null),Et=_.useRef(null),ts=b===0,zs=b+1<=g,Je=p.type,Kt=p.dismissible!==!1,Jo=p.className||"",or=p.descriptionClassName||"",yt=_.useMemo(()=>y.findIndex(se=>se.toastId===p.id)||0,[y,p.id]),Bn=_.useMemo(()=>{var se;return(se=p.closeButton)!=null?se:E},[p.closeButton,E]),ir=_.useMemo(()=>p.duration||L||Pv,[p.duration,L]),xn=_.useRef(0),ar=_.useRef(0),La=_.useRef(0),lr=_.useRef(null),[_u,zu]=q.split("-"),ei=_.useMemo(()=>y.reduce((se,ye,Se)=>Se>=yt?se:se+ye.height,0),[y,yt]),Oa=MT(),Fa=p.invert||m,Vs=Je==="loading";ar.current=_.useMemo(()=>yt*$+ei,[yt,ei]),_.useEffect(()=>{kt.current=ir},[ir]),_.useEffect(()=>{Z(!0)},[]),_.useEffect(()=>{let se=Et.current;if(se){let ye=se.getBoundingClientRect().height;return $e(ye),x(Se=>[{toastId:p.id,height:ye,position:p.position},...Se]),()=>x(Se=>Se.filter(Yt=>Yt.toastId!==p.id))}},[x,p.id]),_.useLayoutEffect(()=>{if(!B)return;let se=Et.current,ye=se.style.height;se.style.height="auto";let Se=se.getBoundingClientRect().height;se.style.height=ye,$e(Se),x(Yt=>Yt.find(Qt=>Qt.toastId===p.id)?Yt.map(Qt=>Qt.toastId===p.id?{...Qt,height:Se}:Qt):[{toastId:p.id,height:Se,position:p.position},...Yt])},[B,p.title,p.description,x,p.id]);let Gt=_.useCallback(()=>{ie(!0),Re(ar.current),x(se=>se.filter(ye=>ye.toastId!==p.id)),setTimeout(()=>{C(p)},qT)},[p,C,x,ar]);_.useEffect(()=>{if(p.promise&&Je==="loading"||p.duration===1/0||p.type==="loading")return;let se;return j||v||O&&Oa?(()=>{if(La.current<xn.current){let ye=new Date().getTime()-xn.current;kt.current=kt.current-ye}La.current=new Date().getTime()})():kt.current!==1/0&&(xn.current=new Date().getTime(),se=setTimeout(()=>{var ye;(ye=p.onAutoClose)==null||ye.call(p,p),Gt()},kt.current)),()=>clearTimeout(se)},[j,v,p,Je,O,Oa,Gt]),_.useEffect(()=>{p.delete&&Gt()},[Gt,p.delete]);function Vu(){var se,ye,Se;return A!=null&&A.loading?_.createElement("div",{className:Jt(R==null?void 0:R.loader,(se=p==null?void 0:p.classNames)==null?void 0:se.loader,"sonner-loader"),"data-visible":Je==="loading"},A.loading):G?_.createElement("div",{className:Jt(R==null?void 0:R.loader,(ye=p==null?void 0:p.classNames)==null?void 0:ye.loader,"sonner-loader"),"data-visible":Je==="loading"},G):_.createElement(NT,{className:Jt(R==null?void 0:R.loader,(Se=p==null?void 0:p.classNames)==null?void 0:Se.loader),visible:Je==="loading"})}return _.createElement("li",{tabIndex:0,ref:Et,className:Jt(F,Jo,R==null?void 0:R.toast,(t=p==null?void 0:p.classNames)==null?void 0:t.toast,R==null?void 0:R.default,R==null?void 0:R[Je],(n=p==null?void 0:p.classNames)==null?void 0:n[Je]),"data-sonner-toast":"","data-rich-colors":(r=p.richColors)!=null?r:N,"data-styled":!(p.jsx||p.unstyled||w),"data-mounted":B,"data-promise":!!p.promise,"data-swiped":pe,"data-removed":oe,"data-visible":zs,"data-y-position":_u,"data-x-position":zu,"data-index":b,"data-front":ts,"data-swiping":ee,"data-dismissible":Kt,"data-type":Je,"data-invert":Fa,"data-swipe-out":te,"data-swipe-direction":Y,"data-expanded":!!(j||M&&B),style:{"--index":b,"--toasts-before":b,"--z-index":S.length-b,"--offset":`${oe?Ne:ar.current}px`,"--initial-height":M?"auto":`${Ie}px`,...T,...p.style},onDragEnd:()=>{U(!1),W(null),lr.current=null},onPointerDown:se=>{Vs||!Kt||(sr.current=new Date,Re(ar.current),se.target.setPointerCapture(se.pointerId),se.target.tagName!=="BUTTON"&&(U(!0),lr.current={x:se.clientX,y:se.clientY}))},onPointerUp:()=>{var se,ye,Se,Yt;if(te||!Kt)return;lr.current=null;let Qt=Number(((se=Et.current)==null?void 0:se.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),cr=Number(((ye=Et.current)==null?void 0:ye.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),ns=new Date().getTime()-((Se=sr.current)==null?void 0:Se.getTime()),Xt=z==="x"?Qt:cr,ur=Math.abs(Xt)/ns;if(Math.abs(Xt)>=UT||ur>.11){Re(ar.current),(Yt=p.onDismiss)==null||Yt.call(p,p),X(z==="x"?Qt>0?"right":"left":cr>0?"down":"up"),Gt(),J(!0),be(!1);return}U(!1),W(null)},onPointerMove:se=>{var ye,Se,Yt,Qt;if(!lr.current||!Kt||((ye=window.getSelection())==null?void 0:ye.toString().length)>0)return;let cr=se.clientY-lr.current.y,ns=se.clientX-lr.current.x,Xt=(Se=e.swipeDirections)!=null?Se:HT(q);!z&&(Math.abs(ns)>1||Math.abs(cr)>1)&&W(Math.abs(ns)>Math.abs(cr)?"x":"y");let ur={x:0,y:0};z==="y"?(Xt.includes("top")||Xt.includes("bottom"))&&(Xt.includes("top")&&cr<0||Xt.includes("bottom")&&cr>0)&&(ur.y=cr):z==="x"&&(Xt.includes("left")||Xt.includes("right"))&&(Xt.includes("left")&&ns<0||Xt.includes("right")&&ns>0)&&(ur.x=ns),(Math.abs(ur.x)>0||Math.abs(ur.y)>0)&&be(!0),(Yt=Et.current)==null||Yt.style.setProperty("--swipe-amount-x",`${ur.x}px`),(Qt=Et.current)==null||Qt.style.setProperty("--swipe-amount-y",`${ur.y}px`)}},Bn&&!p.jsx?_.createElement("button",{"aria-label":k,"data-disabled":Vs,"data-close-button":!0,onClick:Vs||!Kt?()=>{}:()=>{var se;Gt(),(se=p.onDismiss)==null||se.call(p,p)},className:Jt(R==null?void 0:R.closeButton,(s=p==null?void 0:p.classNames)==null?void 0:s.closeButton)},(o=A==null?void 0:A.close)!=null?o:PT):null,p.jsx||h.isValidElement(p.title)?p.jsx?p.jsx:typeof p.title=="function"?p.title():p.title:_.createElement(_.Fragment,null,Je||p.icon||p.promise?_.createElement("div",{"data-icon":"",className:Jt(R==null?void 0:R.icon,(a=p==null?void 0:p.classNames)==null?void 0:a.icon)}
vendor: 4,335 bytes, line 311
311,p.promise||p.type==="loading"&&!p.icon?p.icon||Vu():null,p.type!=="loading"?p.icon||(A==null?void 0:A[Je])||jT(Je):null):null,_.createElement("div",{"data-content":"",className:Jt(R==null?void 0:R.content,(l=p==null?void 0:p.classNames)==null?void 0:l.content)},_.createElement("div",{"data-title":"",className:Jt(R==null?void 0:R.title,(c=p==null?void 0:p.classNames)==null?void 0:c.title)},typeof p.title=="function"?p.title():p.title),p.description?_.createElement("div",{"data-description":"",className:Jt(H,or,R==null?void 0:R.description,(u=p==null?void 0:p.classNames)==null?void 0:u.description)},typeof p.description=="function"?p.description():p.description):null),h.isValidElement(p.cancel)?p.cancel:p.cancel&&sl(p.cancel)?_.createElement("button",{"data-button":!0,"data-cancel":!0,style:p.cancelButtonStyle||P,onClick:se=>{var ye,Se;sl(p.cancel)&&Kt&&((Se=(ye=p.cancel).onClick)==null||Se.call(ye,se),Gt())},className:Jt(R==null?void 0:R.cancelButton,(d=p==null?void 0:p.classNames)==null?void 0:d.cancelButton)},p.cancel.label):null,h.isValidElement(p.action)?p.action:p.action&&sl(p.action)?_.createElement("button",{"data-button":!0,"data-action":!0,style:p.actionButtonStyle||I,onClick:se=>{var ye,Se;sl(p.action)&&((Se=(ye=p.action).onClick)==null||Se.call(ye,se),!se.defaultPrevented&&Gt())},className:Jt(R==null?void 0:R.actionButton,(f=p==null?void 0:p.classNames)==null?void 0:f.actionButton)},p.action.label):null))};function Mv(){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 GT(e,t){let n={};return[e,t].forEach((r,s)=>{let o=s===1,a=o?"--mobile-offset":"--offset",l=o?BT:VT;function c(u){["top","right","bottom","left"].forEach(d=>{n[`${a}-${d}`]=typeof u=="number"?`${u}px`:u})}typeof r=="number"||typeof r=="string"?c(r):typeof r=="object"?["top","right","bottom","left"].forEach(u=>{r[u]===void 0?n[`${a}-${u}`]=l:n[`${a}-${u}`]=typeof r[u]=="number"?`${r[u]}px`:r[u]}):c(l)}),n}var YT=h.forwardRef(function(e,t){let{invert:n,position:r="bottom-right",hotkey:s=["altKey","KeyT"],expand:o,closeButton:a,className:l,offset:c,mobileOffset:u,theme:d="light",richColors:f,duration:m,style:p,visibleToasts:w=zT,toastOptions:v,dir:x=Mv(),gap:g=WT,loadingIcon:y,icons:b,containerAriaLabel:S="Notifications",pauseWhenPageIsHidden:j}=e,[C,N]=_.useState([]),E=_.useMemo(()=>Array.from(new Set([r].concat(C.filter(O=>O.position).map(O=>O.position)))),[C,r]),[T,P]=_.useState([]),[I,F]=_.useState(!1),[H,L]=_.useState(!1),[q,$]=_.useState(d!=="system"?d:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),G=_.useRef(null),M=s.join("+").replace(/Key/g,"").replace(/Digit/g,""),R=_.useRef(null),A=_.useRef(!1),k=_.useCallback(O=>{N(z=>{var W;return(W=z.find(Y=>Y.id===O.id))!=null&&W.delete||xt.dismiss(O.id),z.filter(({id:Y})=>Y!==O.id)})},[]);return _.useEffect(()=>xt.subscribe(O=>{if(O.dismiss){N(z=>z.map(W=>W.id===O.id?{...W,delete:!0}:W));return}setTimeout(()=>{ow.flushSync(()=>{N(z=>{let W=z.findIndex(Y=>Y.id===O.id);return W!==-1?[...z.slice(0,W),{...z[W],...O},...z.slice(W+1)]:[O,...z]})})})}),[]),_.useEffect(()=>{if(d!=="system"){$(d);return}if(d==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?$("dark"):$("light")),typeof window>"u")return;let O=window.matchMedia("(prefers-color-scheme: dark)");try{O.addEventListener("change",({matches:z})=>{$(z?"dark":"light")})}catch{O.addListener(({matches:W})=>{try{$(W?"dark":"light")}catch(Y){console.error(Y)}})}},[d]),_.useEffect(()=>{C.length<=1&&F(!1)},[C]),_.useEffect(()=>{let O=z=>{var W,Y;s.every(X=>z[X]||z.code===X)&&(F(!0),(W=G.current)==null||W.focus()),z.code==="Escape"&&(document.activeElement===G.current||(Y=G.current)!=null&&Y.contains(document.activeElement))&&F(!1)};return document.addEventListener("keydown",O),()=>document.removeEventListener("keydown",O)},[s]),_.useEffect(()=>{if(G.current)return()=>{R.current&&(R.current.focus({preventScroll:!0}),R.current=null,A.current=!1)}},[G.current]),_.createElement("section",{ref:t,"aria-label":`${S} ${M}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},E.map((O,z)=>
vendor: 14,165 bytes, line 311
311{var W;let[Y,X]=O.split("-");return C.length?_.createElement("ol",{key:O,dir:x==="auto"?Mv():x,tabIndex:-1,ref:G,className:l,"data-sonner-toaster":!0,"data-theme":q,"data-y-position":Y,"data-lifted":I&&C.length>1&&!o,"data-x-position":X,style:{"--front-toast-height":`${((W=T[0])==null?void 0:W.height)||0}px`,"--width":`${$T}px`,"--gap":`${g}px`,...p,...GT(c,u)},onBlur:B=>{A.current&&!B.currentTarget.contains(B.relatedTarget)&&(A.current=!1,R.current&&(R.current.focus({preventScroll:!0}),R.current=null))},onFocus:B=>{B.target instanceof HTMLElement&&B.target.dataset.dismissible==="false"||A.current||(A.current=!0,R.current=B.relatedTarget)},onMouseEnter:()=>F(!0),onMouseMove:()=>F(!0),onMouseLeave:()=>{H||F(!1)},onDragEnd:()=>F(!1),onPointerDown:B=>{B.target instanceof HTMLElement&&B.target.dataset.dismissible==="false"||L(!0)},onPointerUp:()=>L(!1)},C.filter(B=>!B.position&&z===0||B.position===O).map((B,Z)=>{var oe,ie;return _.createElement(KT,{key:B.id,icons:b,index:Z,toast:B,defaultRichColors:f,duration:(oe=v==null?void 0:v.duration)!=null?oe:m,className:v==null?void 0:v.className,descriptionClassName:v==null?void 0:v.descriptionClassName,invert:n,visibleToasts:w,closeButton:(ie=v==null?void 0:v.closeButton)!=null?ie:a,interacting:H,position:O,style:v==null?void 0:v.style,unstyled:v==null?void 0:v.unstyled,classNames:v==null?void 0:v.classNames,cancelButtonStyle:v==null?void 0:v.cancelButtonStyle,actionButtonStyle:v==null?void 0:v.actionButtonStyle,removeToast:k,toasts:C.filter(ee=>ee.position==B.position),heights:T.filter(ee=>ee.position==B.position),setHeights:P,expandByDefault:o,gap:g,loadingIcon:y,expanded:I,pauseWhenPageIsHidden:j,swipeDirections:e.swipeDirections})})):null}))});const QT=({...e})=>{const{theme:t="system"}=n1();return i.jsx(YT,{theme:t,className:"toaster group",toastOptions:{classNames:{toast:"group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg",description:"group-[.toast]:text-muted-foreground",actionButton:"group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",cancelButton:"group-[.toast]:bg-muted group-[.toast]:text-muted-foreground"}},...e})};var XT=Bc[" useId ".trim().toString()]||(()=>{}),ZT=0;function Vr(e){const[t,n]=h.useState(XT());return Ln(()=>{n(r=>r??String(ZT++))},[e]),t?`radix-${t}`:""}const JT=["top","right","bottom","left"],qr=Math.min,Pt=Math.max,vc=Math.round,ol=Math.floor,In=e=>({x:e,y:e}),eP={left:"right",right:"left",bottom:"top",top:"bottom"};function Zf(e,t,n){return Pt(e,qr(t,n))}function er(e,t){return typeof e=="function"?e(t):e}function tr(e){return e.split("-")[0]}function Ho(e){return e.split("-")[1]}function Yp(e){return e==="x"?"y":"x"}function Qp(e){return e==="y"?"height":"width"}function Pn(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function Xp(e){return Yp(Pn(e))}function tP(e,t,n){n===void 0&&(n=!1);const r=Ho(e),s=Xp(e),o=Qp(s);let a=s==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(a=yc(a)),[a,yc(a)]}function nP(e){const t=yc(e);return[Jf(e),t,Jf(t)]}function Jf(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const Rv=["left","right"],Iv=["right","left"],rP=["top","bottom"],sP=["bottom","top"];function oP(e,t,n){switch(e){case"top":case"bottom":return n?t?Iv:Rv:t?Rv:Iv;case"left":case"right":return t?rP:sP;default:return[]}}function iP(e,t,n,r){const s=Ho(e);let o=oP(tr(e),n==="start",r);return s&&(o=o.map(a=>a+"-"+s),t&&(o=o.concat(o.map(Jf)))),o}function yc(e){const t=tr(e);return eP[t]+e.slice(t.length)}function aP(e){return{top:0,right:0,bottom:0,left:0,...e}}function r1(e){return typeof e!="number"?aP(e):{top:e,right:e,bottom:e,left:e}}function xc(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 Dv(e,t,n){let{reference:r,floating:s}=e;const o=Pn(t),a=Xp(t),l=Qp(a),c=tr(t),u=o==="y",d=r.x+r.width/2-s.width/2,f=r.y+r.height/2-s.height/2,m=r[l]/2-s[l]/2;let p;switch(c){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(Ho(t)){case"start":p[a]-=m*(n&&u?-1:1);break;case"end":p[a]+=m*(n&&u?-1:1);break}return p}async function lP(e,t){var n;t===void 0&&(t={});const{x:r,y:s,platform:o,rects:a,elements:l,strategy:c}=e,{boundary:u="clippingAncestors",rootBoundary:d="viewport",elementContext:f="floating",altBoundary:m=!1,padding:p=0}=er(t,e),w=r1(p),x=l[m?f==="floating"?"reference":"floating":f],g=xc(await o.getClippingRect({element:(n=await(o.isElement==null?void 0:o.isElement(x)))==null||n?x:x.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(l.floating)),boundary:u,rootBoundary:d,strategy:c})),y=f==="floating"?{x:r,y:s,width:a.floating.width,height:a.floating.height}:a.reference,b=await(o.getOffsetParent==null?void 0:o.getOffsetParent(l.floating)),S=await(o.isElement==null?void 0:o.isElement(b))?await(o.getScale==null?void 0:o.getScale(b))||{x:1,y:1}:{x:1,y:1},j=xc(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:y,offsetParent:b,strategy:c}):y);return{top:(g.top-j.top+w.top)/S.y,bottom:(j.bottom-g.bottom+w.bottom)/S.y,left:(g.left-j.left+w.left)/S.x,right:(j.right-g.right+w.right)/S.x}}const cP=50,uP=async(e,t,n)=>{const{placement:r="bottom",strategy:s="absolute",middleware:o=[],platform:a}=n,l=a.detectOverflow?a:{...a,detectOverflow:lP},c=await(a.isRTL==null?void 0:a.isRTL(t));let u=await a.getElementRects({reference:e,floating:t,strategy:s}),{x:d,y:f}=Dv(u,r,c),m=r,p=0;const w={};for(let v=0;v<o.length;v++){const x=o[v];if(!x)continue;const{name:g,fn:y}=x,{x:b,y:S,data:j,reset:C}=await y({x:d,y:f,initialPlacement:r,placement:m,strategy:s,middlewareData:w,rects:u,platform:l,elements:{reference:e,floating:t}});d=b??d,f=S??f,w[g]={...w[g],...j},C&&p<cP&&(p++,typeof C=="object"&&(C.placement&&(m=C.placement),C.rects&&(u=C.rects===!0?await a.getElementRects({reference:e,floating:t,strategy:s}):C.rects),{x:d,y:f}=Dv(u,m,c)),v=-1)}return{x:d,y:f,placement:m,strategy:s,middlewareData:w}},dP=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:s,rects:o,platform:a,elements:l,middlewareData:c}=t,{element:u,padding:d=0}=er(e,t)||{};if(u==null)return{};const f=r1(d),m={x:n,y:r},p=Xp(s),w=Qp(p),v=await a.getDimensions(u),x=p==="y",g=x?"top":"left",y=x?"bottom":"right",b=x?"clientHeight":"clientWidth",S=o.reference[w]+o.reference[p]-m[p]-o.floating[w],j=m[p]-o.reference[p],C=await(a.getOffsetParent==null?void 0:a.getOffsetParent(u));let N=C?C[b]:0;(!N||!await(a.isElement==null?void 0:a.isElement(C)))&&(N=l.floating[b]||o.floating[w]);const E=S/2-j/2,T=N/2-v[w]/2-1,P=qr(f[g],T),I=qr(f[y],T),F=P,H=N-v[w]-I,L=N/2-v[w]/2+E,q=Zf(F,L,H),$=!c.arrow&&Ho(s)!=null&&L!==q&&o.reference[w]/2-(L<F?P:I)-v[w]/2<0,G=$?L<F?L-F:L-H:0;return{[p]:m[p]+G,data:{[p]:q,centerOffset:L-q-G,...$&&{alignmentOffset:G}},reset:$}}}),fP=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:s,middlewareData:o,rects:a,initialPlacement:l,platform:c,elements:u}=t,{mainAxis:d=!0,crossAxis:f=!0,fallbackPlacements:m,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:w="none",flipAlignment:v=!0,...x}=er(e,t);if((n=o.arrow)!=null&&n.alignmentOffset)return{};const g=tr(s),y=Pn(l),b=tr(l)===l,S=await(c.isRTL==null?void 0:c.isRTL(u.floating)),j=m||(b||!v?[yc(l)]:nP(l)),C=w!=="none";!m&&C&&j.push(...iP(l,v,w,S));const N=[l,...j],E=await c.detectOverflow(t,x),T=[];let P=((r=o.flip)==null?void 0:r.overflows)||[];if(d&&T.push(E[g]),f){const L=tP(s,a,S);T.push(E[L[0]],E[L[1]])}if(P=[...P,{placement:s,overflows:T}],!T.every(L=>L<=0)){var I,F;const L=(((I=o.flip)==null?void 0:I.index)||0)+1,q=N[L];if(q&&(!(f==="alignment"?y!==Pn(q):!1)||P.every(M=>Pn(M.placement)===y?M.overflows[0]>0:!0)))return{data:{index:L,overflows:P},reset:{placement:q}};let $=(F=P.filter(G=>G.overflows[0]<=0).sort((G,M)=>G.overflows[1]-M.overflows[1])[0])==null?void 0:F.placement;if(!$)switch(p){case"bestFit":{var H;const G=(H=P.filter(M=>{if(C){const R=Pn(M.placement);return R===y||R==="y"}return!0}).map(M=>[M.placement,M.overflows.filter(R=>R>0).reduce((R,A)=>R+A,0)]).sort((M,R)=>M[1]-R[1])[0])==null?void 0:H[0];G&&($=G);break}case"initialPlacement":$=l;break}if(s!==$)return{reset:{placement:$}}}return{}}}};function Lv(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Ov(e){return JT.some(t=>e[t]>=0)}const mP=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n,platform:r}=t,{strategy:s="referenceHidden",...o}=er(e,t);switch(s){case"referenceHidden":{const a=await r.detectOverflow(t,{...o,elementContext:"reference"}),l=Lv(a,n.reference);return{data:{referenceHiddenOffsets:l,referenceHidden:Ov(l)}}}case"escaped":{const a=await r.detectOverflow(t,{...o,altBoundary:!0}),l=Lv(a,n.floating);return{data:{escapedOffsets:l,escaped:Ov(l)}}}default:return{}}}}},s1=new Set(["left","top"]);async function pP(e,t){const{placement:n,platform:r,elements:s}=e,o=await(r.isRTL==null?void 0:r.isRTL(s.floating)),a=tr(n),l=Ho(n),c=Pn(n)==="y",u=s1.has(a)?-1:1,d=o&&c?-1:1,f=er(t,e);let{mainAxis:m,crossAxis:p,alignmentAxis:w}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return l&&typeof w=="number"&&(p=l==="end"?w*-1:w),c?{x:p*d,y:m*u}:{x:m*u,y:p*d}}const hP=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:s,y:o,placement:a,middlewareData:l}=t,c=await pP(t,e);return a===((n=l.offset)==null?void 0:n.placement)&&(r=l.arrow)!=null&&r.alignmentOffset?{}:{x:s+c.x,y:o+c.y,data:{...c,placement:a}}}}},gP=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:s,platform:o}=t,{mainAxis:a=!0,crossAxis:l=!1,limiter:c={fn:g=>{let{x:y,y:b}=g;return{x:y,y:b}}},...u}=er(e,t),d={x:n,y:r},f=await o.detectOverflow(t,u),m=Pn(tr(s)),p=Yp(m);let w=d[p],v=d[m];if(a){const g=p==="y"?"top":"left",y=p==="y"?"bottom":"right",b=w+f[g],S=w-f[y];w=Zf(b,w,S)}if(l){const g=m==="y"?"top":"left",y=m==="y"?"bottom":"right",b=v+f[g],S=v-f[y];v=Zf(b,v,S)}const x=c.fn({...t,[p]:w,[m]:v});return{...x,data:{x:x.x-n,y:x.y-r,enabled:{[p]:a,[m]:l}}}}}},vP=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:s,rects:o,middlewareData:a}=t,{offset:l=0,mainAxis:c=!0,crossAxis:u=!0}=er(e,t),d={x:n,y:r},f=Pn(s),m=Yp(f);let p=d[m],w=d[f];const v=er(l,t),x=typeof v=="number"?{mainAxis:v,crossAxis:0}:{mainAxis:0,crossAxis:0,...v};if(c){const b=m==="y"?"height":"width",S=o.reference[m]-o.floating[b]+x.mainAxis,j=o.reference[m]+o.reference[b]-x.mainAxis;p<S?p=S:p>j&&(p=j)}if(u){var g,y;const b=m==="y"?"width":"height",S=s1.has(tr(s)),j=o.reference[f]-o.floating[b]+(S&&((g=a.offset)==null?void 0:g[f])||0)+(S?0:x.crossAxis),C=o.reference[f]+o.reference[b]+(S?0:((y=a.offset)==null?void 0:y[f])||0)-(S?x.crossAxis:0);w<j?w=j:w>C&&(w=C)}return{[m]:p,[f]:w}}}},yP=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:s,rects:o,platform:a,elements:l}=t,{apply:c=()=>{},...u}=er(e,t),d=await a.detectOverflow(t,u),f=tr(s),m=Ho(s),p=Pn(s)==="y",{width:w,height:v}=o.floating;let x,g;f==="top"||f==="bottom"?(x=f,g=m===(await(a.isRTL==null?void 0:a.isRTL(l.floating))?"start":"end")?"left":"right"):(g=f,x=m==="end"?"top":"bottom");const y=v-d.top-d.bottom,b=w-d.left-d.right,S=qr(v-d[x],y),j=qr(w-d[g],b),C=!t.middlewareData.shift;let N=S,E=j;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(E=b),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(N=y),C&&!m){const P=Pt(d.left,0),I=Pt(d.right,0),F=Pt(d.top,0),H=Pt(d.bottom,0);p?E=w-2*(P!==0||I!==0?P+I:Pt(d.left,d.right)):N=v-2*(F!==0||H!==0?F+H:Pt(d.top,d.bottom))}await c({...t,availableWidth:E,availableHeight:N});const T=await a.getDimensions(l.floating);return w!==T.width||v!==T.height?{reset:{rects:!0}}:{}}}};function cu(){return typeof window<"u"}function Ko(e){return o1(e)?(e.nodeName||"").toLowerCase():"#document"}function It(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function _n(e){var t;return(t=(o1(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function o1(e){return cu()?e instanceof Node||e instanceof It(e).Node:!1}function pn(e){return cu()?e instanceof Element||e instanceof It(e).Element:!1}function rr(e){return cu()?e instanceof HTMLElement||e instanceof It(e).HTMLElement:!1}function Fv(e){return!cu()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof It(e).ShadowRoot}function ka(e){const{overflow:t,overflowX:n,overflowY:r,display:s}=hn(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&s!=="inline"&&s!=="contents"}function xP(e){return/^(table|td|th)$/.test(Ko(e))}function uu(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const bP=/transform|translate|scale|rotate|perspective|filter/,wP=/paint|layout|strict|content/,rs=e=>!!e&&e!=="none";let xd;function Zp(e){const t=pn(e)?hn(e):e;return rs(t.transform)||rs(t.translate)||rs(t.scale)||rs(t.rotate)||rs(t.perspective)||!Jp()&&(rs(t.backdropFilter)||rs(t.filter))||bP.test(t.willChange||"")||wP.test(t.contain||"")}function SP(e){let t=Hr(e);for(;rr(t)&&!Fo(t);){if(Zp(t))return t;if(uu(t))return null;t=Hr(t)}return null}function Jp(){return xd==null&&(xd=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),xd}function Fo(e){return/^(html|body|#document)$/.test(Ko(e))}function hn(e){return It(e).getComputedStyle(e)}function du(e){return pn(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Hr(e){if(Ko(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Fv(e)&&e.host||_n(e);return Fv(t)?t.host:t}function i1(e){const t=Hr(e);return Fo(t)?e.ownerDocument?e.ownerDocument.body:e.body:rr(t)&&ka(t)?t:i1(t)}
vendor: 14,498 bytes, line 311
311function Ji(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const s=i1(e),o=s===((r=e.ownerDocument)==null?void 0:r.body),a=It(s);if(o){const l=em(a);return t.concat(a,a.visualViewport||[],ka(s)?s:[],l&&n?Ji(l):[])}else return t.concat(s,Ji(s,[],n))}function em(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function a1(e){const t=hn(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const s=rr(e),o=s?e.offsetWidth:n,a=s?e.offsetHeight:r,l=vc(n)!==o||vc(r)!==a;return l&&(n=o,r=a),{width:n,height:r,$:l}}function eh(e){return pn(e)?e:e.contextElement}function go(e){const t=eh(e);if(!rr(t))return In(1);const n=t.getBoundingClientRect(),{width:r,height:s,$:o}=a1(t);let a=(o?vc(n.width):n.width)/r,l=(o?vc(n.height):n.height)/s;return(!a||!Number.isFinite(a))&&(a=1),(!l||!Number.isFinite(l))&&(l=1),{x:a,y:l}}const jP=In(0);function l1(e){const t=It(e);return!Jp()||!t.visualViewport?jP:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function CP(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==It(e)?!1:t}function Ms(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const s=e.getBoundingClientRect(),o=eh(e);let a=In(1);t&&(r?pn(r)&&(a=go(r)):a=go(e));const l=CP(o,n,r)?l1(o):In(0);let c=(s.left+l.x)/a.x,u=(s.top+l.y)/a.y,d=s.width/a.x,f=s.height/a.y;if(o){const m=It(o),p=r&&pn(r)?It(r):r;let w=m,v=em(w);for(;v&&r&&p!==w;){const x=go(v),g=v.getBoundingClientRect(),y=hn(v),b=g.left+(v.clientLeft+parseFloat(y.paddingLeft))*x.x,S=g.top+(v.clientTop+parseFloat(y.paddingTop))*x.y;c*=x.x,u*=x.y,d*=x.x,f*=x.y,c+=b,u+=S,w=It(v),v=em(w)}}return xc({width:d,height:f,x:c,y:u})}function fu(e,t){const n=du(e).scrollLeft;return t?t.left+n:Ms(_n(e)).left+n}function c1(e,t){const n=e.getBoundingClientRect(),r=n.left+t.scrollLeft-fu(e,n),s=n.top+t.scrollTop;return{x:r,y:s}}function NP(e){let{elements:t,rect:n,offsetParent:r,strategy:s}=e;const o=s==="fixed",a=_n(r),l=t?uu(t.floating):!1;if(r===a||l&&o)return n;let c={scrollLeft:0,scrollTop:0},u=In(1);const d=In(0),f=rr(r);if((f||!f&&!o)&&((Ko(r)!=="body"||ka(a))&&(c=du(r)),f)){const p=Ms(r);u=go(r),d.x=p.x+r.clientLeft,d.y=p.y+r.clientTop}const m=a&&!f&&!o?c1(a,c):In(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-c.scrollLeft*u.x+d.x+m.x,y:n.y*u.y-c.scrollTop*u.y+d.y+m.y}}function kP(e){return Array.from(e.getClientRects())}function EP(e){const t=_n(e),n=du(e),r=e.ownerDocument.body,s=Pt(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=Pt(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+fu(e);const l=-n.scrollTop;return hn(r).direction==="rtl"&&(a+=Pt(t.clientWidth,r.clientWidth)-s),{width:s,height:o,x:a,y:l}}const _v=25;function AP(e,t){const n=It(e),r=_n(e),s=n.visualViewport;let o=r.clientWidth,a=r.clientHeight,l=0,c=0;if(s){o=s.width,a=s.height;const d=Jp();(!d||d&&t==="fixed")&&(l=s.offsetLeft,c=s.offsetTop)}const u=fu(r);if(u<=0){const d=r.ownerDocument,f=d.body,m=getComputedStyle(f),p=d.compatMode==="CSS1Compat"&&parseFloat(m.marginLeft)+parseFloat(m.marginRight)||0,w=Math.abs(r.clientWidth-f.clientWidth-p);w<=_v&&(o-=w)}else u<=_v&&(o+=u);return{width:o,height:a,x:l,y:c}}function TP(e,t){const n=Ms(e,!0,t==="fixed"),r=n.top+e.clientTop,s=n.left+e.clientLeft,o=rr(e)?go(e):In(1),a=e.clientWidth*o.x,l=e.clientHeight*o.y,c=s*o.x,u=r*o.y;return{width:a,height:l,x:c,y:u}}function zv(e,t,n){let r;if(t==="viewport")r=AP(e,n);else if(t==="document")r=EP(_n(e));else if(pn(t))r=TP(t,n);else{const s=l1(e);r={x:t.x-s.x,y:t.y-s.y,width:t.width,height:t.height}}return xc(r)}function u1(e,t){const n=Hr(e);return n===t||!pn(n)||Fo(n)?!1:hn(n).position==="fixed"||u1(n,t)}function PP(e,t){const n=t.get(e);if(n)return n;let r=Ji(e,[],!1).filter(l=>pn(l)&&Ko(l)!=="body"),s=null;const o=hn(e).position==="fixed";let a=o?Hr(e):e;for(;pn(a)&&!Fo(a);){const l=hn(a),c=Zp(a);!c&&l.position==="fixed"&&(s=null),(o?!c&&!s:!c&&l.position==="static"&&!!s&&(s.position==="absolute"||s.position==="fixed")||ka(a)&&!c&&u1(e,a))?r=r.filter(d=>d!==a):s=l,a=Hr(a)}return t.set(e,r),r}function MP(e){let{element:t,boundary:n,rootBoundary:r,strategy:s}=e;const a=[...n==="clippingAncestors"?uu(t)?[]:PP(t,this._c):[].concat(n),r],l=zv(t,a[0],s);let c=l.top,u=l.right,d=l.bottom,f=l.left;for(let m=1;m<a.length;m++){const p=zv(t,a[m],s);c=Pt(p.top,c),u=qr(p.right,u),d=qr(p.bottom,d),f=Pt(p.left,f)}return{width:u-f,height:d-c,x:f,y:c}}function RP(e){const{width:t,height:n}=a1(e);return{width:t,height:n}}function IP(e,t,n){const r=rr(t),s=_n(t),o=n==="fixed",a=Ms(e,!0,o,t);let l={scrollLeft:0,scrollTop:0};const c=In(0);function u(){c.x=fu(s)}if(r||!r&&!o)if((Ko(t)!=="body"||ka(s))&&(l=du(t)),r){const p=Ms(t,!0,o,t);c.x=p.x+t.clientLeft,c.y=p.y+t.clientTop}else s&&u();o&&!r&&s&&u();const d=s&&!r&&!o?c1(s,l):In(0),f=a.left+l.scrollLeft-c.x-d.x,m=a.top+l.scrollTop-c.y-d.y;return{x:f,y:m,width:a.width,height:a.height}}function bd(e){return hn(e).position==="static"}function Vv(e,t){if(!rr(e)||hn(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return _n(e)===n&&(n=n.ownerDocument.body),n}function d1(e,t){const n=It(e);if(uu(e))return n;if(!rr(e)){let s=Hr(e);for(;s&&!Fo(s);){if(pn(s)&&!bd(s))return s;s=Hr(s)}return n}let r=Vv(e,t);for(;r&&xP(r)&&bd(r);)r=Vv(r,t);return r&&Fo(r)&&bd(r)&&!Zp(r)?n:r||SP(e)||n}const DP=async function(e){const t=this.getOffsetParent||d1,n=this.getDimensions,r=await n(e.floating);return{reference:IP(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function LP(e){return hn(e).direction==="rtl"}const OP={convertOffsetParentRelativeRectToViewportRelativeRect:NP,getDocumentElement:_n,getClippingRect:MP,getOffsetParent:d1,getElementRects:DP,getClientRects:kP,getDimensions:RP,getScale:go,isElement:pn,isRTL:LP};function f1(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function FP(e,t){let n=null,r;const s=_n(e);function o(){var l;clearTimeout(r),(l=n)==null||l.disconnect(),n=null}function a(l,c){l===void 0&&(l=!1),c===void 0&&(c=1),o();const u=e.getBoundingClientRect(),{left:d,top:f,width:m,height:p}=u;if(l||t(),!m||!p)return;const w=ol(f),v=ol(s.clientWidth-(d+m)),x=ol(s.clientHeight-(f+p)),g=ol(d),b={rootMargin:-w+"px "+-v+"px "+-x+"px "+-g+"px",threshold:Pt(0,qr(1,c))||1};let S=!0;function j(C){const N=C[0].intersectionRatio;if(N!==c){if(!S)return a();N?a(!1,N):r=setTimeout(()=>{a(!1,1e-7)},1e3)}N===1&&!f1(u,e.getBoundingClientRect())&&a(),S=!1}try{n=new IntersectionObserver(j,{...b,root:s.ownerDocument})}catch{n=new IntersectionObserver(j,b)}n.observe(e)}return a(!0),o}function _P(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:s=!0,ancestorResize:o=!0,elementResize:a=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:c=!1}=r,u=eh(e),d=s||o?[...u?Ji(u):[],...t?Ji(t):[]]:[];d.forEach(g=>{s&&g.addEventListener("scroll",n,{passive:!0}),o&&g.addEventListener("resize",n)});const f=u&&l?FP(u,n):null;let m=-1,p=null;a&&(p=new ResizeObserver(g=>{let[y]=g;y&&y.target===u&&p&&t&&(p.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var b;(b=p)==null||b.observe(t)})),n()}),u&&!c&&p.observe(u),t&&p.observe(t));let w,v=c?Ms(e):null;c&&x();function x(){const g=Ms(e);v&&!f1(v,g)&&n(),v=g,w=requestAnimationFrame(x)}return n(),()=>{var g;d.forEach(y=>{s&&y.removeEventListener("scroll",n),o&&y.removeEventListener("resize",n)}),f==null||f(),(g=p)==null||g.disconnect(),p=null,c&&cancelAnimationFrame(w)}}const zP=hP,VP=gP,BP=fP,$P=yP,WP=mP,Bv=dP,UP=vP,qP=(e,t,n)=>{const r=new Map,s={platform:OP,...n},o={...s.platform,_c:r};return uP(e,t,{...s,platform:o})};var HP=typeof document<"u",KP=function(){},Pl=HP?h.useLayoutEffect:KP;function bc(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(!bc(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)&&!bc(e[o],t[o]))return!1}return!0}return e!==e&&t!==t}function m1(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function $v(e,t){const n=m1(e);return Math.round(t*n)/n}function wd(e){const t=h.useRef(e);return Pl(()=>{t.current=e}),t}function GP(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:s,elements:{reference:o,floating:a}={},transform:l=!0,whileElementsMounted:c,open:u}=e,[d,f]=h.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[m,p]=h.useState(r);bc(m,r)||p(r);const[w,v]=h.useState(null),[x,g]=h.useState(null),y=h.useCallback(M=>{M!==C.current&&(C.current=M,v(M))},[]),b=h.useCallback(M=>{M!==N.current&&(N.current=M,g(M))},[]),S=o||w,j=a||x,C=h.useRef(null),N=h.useRef(null),E=h.useRef(d),T=c!=null,P=wd(c),I=wd(s),F=wd(u),H=h.useCallback(()=>{if(!C.current||!N.current)return;const M={placement:t,strategy:n,middleware:m};I.current&&(M.platform=I.current),qP(C.current,N.current,M).then(R=>{const A={...R,isPositioned:F.current!==!1};L.current&&!bc(E.current,A)&&(E.current=A,Sa.flushSync(()=>{f(A)}))})},[m,t,n,I,F]);Pl(()=>{u===!1&&E.current.isPositioned&&(E.current.isPositioned=!1,f(M=>({...M,isPositioned:!1})))},[u]);const L=h.useRef(!1);Pl(()=>(L.current=!0,()=>{L.current=!1}),[]),Pl(()=>{if(S&&(C.current=S),j&&(N.current=j),S&&j){if(P.current)return P.current(S,j,H);H()}},[S,j,H,P,T]);const q=h.useMemo(()=>({reference:C,floating:N,setReference:y,setFloating:b}),[y,b]),$=h.useMemo(()=>({reference:S,floating:j}),[S,j]),G=h.useMemo(()=>{const M={position:n,left:0,top:0};if(!$.floating)return M;const R=$v($.floating,d.x),A=$v($.floating,d.y);return l?{...M,transform:"translate("+R+"px, "+A+"px)",...m1($.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:R,top:A}},[n,l,$.floating,d.x,d.y]);return h.useMemo(()=>({...d,update:H,refs:q,elements:$,floatingStyles:G}),[d,H,q,$,G])}const YP=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?Bv({element:r.current,padding:s}).fn(n):{}:r?Bv({element:r,padding:s}).fn(n):{}}}},QP=(e,t)=>{const n=zP(e);return{name:n.name,fn:n.fn,options:[e,t]}},XP=(e,t)=>{const n=VP(e);return{name:n.name,fn:n.fn,options:[e,t]}},ZP=(e,t)=>({fn:UP(e).fn,options:[e,t]}),JP=(e,t)=>{const n=BP(e);return{name:n.name,fn:n.fn,options:[e,t]}},e4=(e,t)=>{const n=$P(e);return{name:n.name,fn:n.fn,options:[e,t]}},t4=(e,t)=>{const n=WP(e);return{name:n.name,fn:n.fn,options:[e,t]}},n4=(e,t)=>{const n=YP(e);return{name:n.name,fn:n.fn,options:[e,t]}};var r4="Arrow",p1=h.forwardRef((e,t)=>{const{children:n,width:r=10,height:s=5,...o}=e;return i.jsx(ce.svg,{...o,ref:t,width:r,height:s,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:i.jsx("polygon",{points:"0,0 30,0 15,10"})})});p1.displayName=r4;var s4=p1;function th(e){const[t,n]=h.useState(void 0);return Ln(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(s=>{if(!Array.isArray(s)||!s.length)return;const o=s[0];let a,l;if("borderBoxSize"in o){const c=o.borderBoxSize,u=Array.isArray(c)?c[0]:c;a=u.inlineSize,l=u.blockSize}else a=e.offsetWidth,l=e.offsetHeight;n({width:a,height:l})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var nh="Popper",[h1,g1]=gn(nh),[o4,v1]=h1(nh),y1=e=>{const{__scopePopper:t,children:n}=e,[r,s]=h.useState(null);return i.jsx(o4,{scope:t,anchor:r,onAnchorChange:s,children:n})};y1.displayName=nh;var x1="PopperAnchor",b1=h.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...s}=e,o=v1(x1,n),a=h.useRef(null),l=Ce(t,a),c=h.useRef(null);return h.useEffect(()=>{const u=c.current;c.current=(r==null?void 0:r.current)||a.current,u!==c.current&&o.onAnchorChange(c.current)}),r?null:i.jsx(ce.div,{...s,ref:l})});b1.displayName=x1;var rh="PopperContent",[i4,a4]=h1(rh),w1=h.forwardRef((e,t)=>{var B,Z,oe,ie,ee,U;const{__scopePopper:n,side:r="bottom",sideOffset:s=0,align:o="center",alignOffset:a=0,arrowPadding:l=0,avoidCollisions:c=!0,collisionBoundary:u=[],collisionPadding:d=0,sticky:f="partial",hideWhenDetached:m=!1,updatePositionStrategy:p="optimized",onPlaced:w,...v}=e,x=v1(rh,n),[g,y]=h.useState(null),b=Ce(t,te=>y(te)),[S,j]=h.useState(null),C=th(S),N=(C==null?void 0:C.width)??0,E=(C==null?void 0:C.height)??0,T=r+(o!=="center"?"-"+o:""),P=typeof d=="number"?d:{top:0,right:0,bottom:0,left:0,...d},I=Array.isArray(u)?u:[u],F=I.length>0,H={padding:P,boundary:I.filter(c4),altBoundary:F},{refs:L,floatingStyles:q,placement:$,isPositioned:G,middlewareData:M}=GP({strategy:"fixed",placement:T,whileElementsMounted:(...te)=>_P(...te,{animationFrame:p==="always"}),elements:{reference:x.anchor},middleware:[QP({mainAxis:s+E,alignmentAxis:a}),c&&XP({mainAxis:!0,crossAxis:!1,limiter:f==="partial"?ZP():void 0,...H}),c&&JP({...H}),e4({...H,apply:({elements:te,rects:J,availableWidth:pe,availableHeight:be})=>{const{width:Ne,height:Re}=J.reference,Ie=te.floating.style;Ie.setProperty("--radix-popper-available-width",`${pe}px`),Ie.setProperty("--radix-popper-available-height",`${be}px`),Ie.setProperty("--radix-popper-anchor-width",`${Ne}px`),Ie.setProperty("--radix-popper-anchor-height",`${Re}px`)}}),S&&n4({element:S,padding:l}),u4({arrowWidth:N,arrowHeight:E}),m&&t4({strategy:"referenceHidden",...H})]}),[R,A]=C1($),k=mn(w);Ln(()=>{G&&(k==null||k())},[G,k]);const O=(B=M.arrow)==null?void 0:B.x,z=(Z=M.arrow)==null?void 0:Z.y,W=((oe=M.arrow)==null?void 0:oe.centerOffset)!==0,[Y,X]=h.useState();return Ln(()=>{g&&X(window.getComputedStyle(g).zIndex)},[g]),i.jsx("div",{ref:L.setFloating,"data-radix-popper-content-wrapper":"",style:{...q,transform:G?q.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Y,"--radix-popper-transform-origin":[(ie=M.transformOrigin)==null?void 0:ie.x,(ee=M.transformOrigin)==null?void 0:ee.y].join(" "),...((U=M.hide)==null?void 0:U.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:i.jsx(i4,{scope:n,placedSide:R,onArrowChange:j,arrowX:O,arrowY:z,shouldHideArrow:W,children:i.jsx(ce.div,{"data-side":R,"data-align":A,...v,ref:b,style:{...v.style,animation:G?void 0:"none"}})})})});w1.displayName=rh;var S1="PopperArrow",l4={top:"bottom",right:"left",bottom:"top",left:"r
311ight"},j1=h.forwardRef(function(t,n){const{__scopePopper:r,...s}=t,o=a4(S1,r),a=l4[o.placedSide];return i.jsx("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[a]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0},children:i.jsx(s4,{...s,ref:n,style:{...s.style,display:"block"}})})});j1.displayName=S1;function c4(e){return e!==null}var u4=e=>({name:"transformOrigin",options:e,fn(t){var x,g,y;const{placement:n,rects:r,middlewareData:s}=t,a=((x=s.arrow)==null?void 0:x.centerOffset)!==0,l=a?0:e.arrowWidth,c=a?0:e.arrowHeight,[u,d]=C1(n),f={start:"0%",center:"50%",end:"100%"}[d],m=(((g=s.arrow)==null?void 0:g.x)??0)+l/2,p=(((y=s.arrow)==null?void 0:y.y)??0)+c/2;let w="",v="";return u==="bottom"?(w=a?f:`${m}px`,v=`${-c}px`):u==="top"?(w=a?f:`${m}px`,v=`${r.floating.height+c}px`):u==="right"?(w=`${-c}px`,v=a?f:`${p}px`):u==="left"&&(w=`${r.floating.width+c}px`,v=a?f:`${p}px`),{data:{x:w,y:v}}}});function C1(e){const[t,n="center"]=e.split("-");return[t,n]}var d4=y1,f4=b1,m4=w1,p4=j1,h4=Symbol("radix.slottable");function g4(e){const t=({children:n})=>i.jsx(i.Fragment,{children:n});return t.displayName=`${e}.Slottable`,t.__radixId=h4,t}var[mu]=gn("Tooltip",[g1]),pu=g1(),N1="TooltipProvider",v4=700,tm="tooltip.open",[y4,sh]=mu(N1),k1=e=>{const{__scopeTooltip:t,delayDuration:n=v4,skipDelayDuration:r=300,disableHoverableContent:s=!1,children:o}=e,a=h.useRef(!0),l=h.useRef(!1),c=h.useRef(0);return h.useEffect(()=>{const u=c.current;return()=>window.clearTimeout(u)},[]),i.jsx(y4,{scope:t,isOpenDelayedRef:a,delayDuration:n,onOpen:h.useCallback(()=>{window.clearTimeout(c.current),a.current=!1},[]),onClose:h.useCallback(()=>{window.clearTimeout(c.current),c.current=window.setTimeout(()=>a.current=!0,r)},[r]),isPointerInTransitRef:l,onPointerInTransitChange:h.useCallback(u=>{l.current=u},[]),disableHoverableContent:s,children:o})};k1.displayName=N1;var ea="Tooltip",[x4,hu]=mu(ea),E1=e=>{const{__scopeTooltip:t,children:n,open:r,defaultOpen:s,onOpenChange:o,disableHoverableContent:a,delayDuration:l}=e,c=sh(ea,e.__scopeTooltip),u=pu(t),[d,f]=h.useState(null),m=Vr(),p=h.useRef(0),w=a??c.disableHoverableContent,v=l??c.delayDuration,x=h.useRef(!1),[g,y]=Fn({prop:r,defaultProp:s??!1,onChange:N=>{N?(c.onOpen(),document.dispatchEvent(new CustomEvent(tm))):c.onClose(),o==null||o(N)},caller:ea}),b=h.useMemo(()=>g?x.current?"delayed-open":"instant-open":"closed",[g]),S=h.useCallback(()=>{window.clearTimeout(p.current),p.current=0,x.current=!1,y(!0)},[y]),j=h.useCallback(()=>{window.clearTimeout(p.current),p.current=0,y(!1)},[y]),C=h.useCallback(()=>{window.clearTimeout(p.current),p.current=window.setTimeout(()=>{x.current=!0,y(!0),p.current=0},v)},[v,y]);return h.useEffect(()=>()=>{p.current&&(window.clearTimeout(p.current),p.current=0)},[]),i.jsx(d4,{...u,children:i.jsx(x4,{scope:t,contentId:m,open:g,stateAttribute:b,trigger:d,onTriggerChange:f,onTriggerEnter:h.useCallback(()=>{c.isOpenDelayedRef.current?C():S()},[c.isOpenDelayedRef,C,S]),onTriggerLeave:h.useCallback(()=>{w?j():(window.clearTimeout(p.current),p.current=0)},[j,w]),onOpen:S,onClose:j,disableHoverableContent:w,children:n})})};E1.displayName=ea;var nm="TooltipTrigger",A1=h.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,s=hu(nm,n),o=sh(nm,n),a=pu(n),l=h.useRef(null),c=Ce(t,l,s.onTriggerChange),u=h.useRef(!1),d=h.useRef(!1),f=h.useCallback(()=>u.current=!1,[]);return h.useEffect(()=>()=>document.removeEventListener("pointerup",f),[f]),i.jsx(f4,{asChild:!0,...a,children:i.jsx(ce.button,{"aria-describedby":s.open?s.contentId:void 0,"data-state":s.stateAttribute,...r,ref:c,onPointerMove:ae(e.onPointerMove,m=>{m.pointerType!=="touch"&&!d.current&&!o.isPointerInTransitRef.current&&(s.onTriggerEnter(),d.current=!0)}),onPointerLeave:ae(e.onPointerLeave,()=>{s.onTriggerLeave(),d.current=!1}),onPointerDown:ae(e.onPointerDown,()=>{s.open&&s.onClose(),u.current=!0,document.addEventListener("pointerup",f,{once:!0})}),onFocus:ae(e.onFocus,()=>{u.current||s.onOpen()}),onBlur:ae(e.onBlur,s.onClose),onClick:ae(e.onClick,s.onClose)})})});A1.displayName=nm;var b4="TooltipPortal",[u_,w4]=mu(b4,{forceMount:void 0}),_o="TooltipContent",T1=h.forwardRef((e,t)=>
vendor: 4,656 bytes, line 311
311{const n=w4(_o,e.__scopeTooltip),{forceMount:r=n.forceMount,side:s="top",...o}=e,a=hu(_o,e.__scopeTooltip);return i.jsx(Zr,{present:r||a.open,children:a.disableHoverableContent?i.jsx(P1,{side:s,...o,ref:t}):i.jsx(S4,{side:s,...o,ref:t})})}),S4=h.forwardRef((e,t)=>{const n=hu(_o,e.__scopeTooltip),r=sh(_o,e.__scopeTooltip),s=h.useRef(null),o=Ce(t,s),[a,l]=h.useState(null),{trigger:c,onClose:u}=n,d=s.current,{onPointerInTransitChange:f}=r,m=h.useCallback(()=>{l(null),f(!1)},[f]),p=h.useCallback((w,v)=>{const x=w.currentTarget,g={x:w.clientX,y:w.clientY},y=E4(g,x.getBoundingClientRect()),b=A4(g,y),S=T4(v.getBoundingClientRect()),j=M4([...b,...S]);l(j),f(!0)},[f]);return h.useEffect(()=>()=>m(),[m]),h.useEffect(()=>{if(c&&d){const w=x=>p(x,d),v=x=>p(x,c);return c.addEventListener("pointerleave",w),d.addEventListener("pointerleave",v),()=>{c.removeEventListener("pointerleave",w),d.removeEventListener("pointerleave",v)}}},[c,d,p,m]),h.useEffect(()=>{if(a){const w=v=>{const x=v.target,g={x:v.clientX,y:v.clientY},y=(c==null?void 0:c.contains(x))||(d==null?void 0:d.contains(x)),b=!P4(g,a);y?m():b&&(m(),u())};return document.addEventListener("pointermove",w),()=>document.removeEventListener("pointermove",w)}},[c,d,a,u,m]),i.jsx(P1,{...e,ref:o})}),[j4,C4]=mu(ea,{isInside:!1}),N4=g4("TooltipContent"),P1=h.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":s,onEscapeKeyDown:o,onPointerDownOutside:a,...l}=e,c=hu(_o,n),u=pu(n),{onClose:d}=c;return h.useEffect(()=>(document.addEventListener(tm,d),()=>document.removeEventListener(tm,d)),[d]),h.useEffect(()=>{if(c.trigger){const f=m=>{const p=m.target;p!=null&&p.contains(c.trigger)&&d()};return window.addEventListener("scroll",f,{capture:!0}),()=>window.removeEventListener("scroll",f,{capture:!0})}},[c.trigger,d]),i.jsx(su,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:o,onPointerDownOutside:a,onFocusOutside:f=>f.preventDefault(),onDismiss:d,children:i.jsxs(m4,{"data-state":c.stateAttribute,...u,...l,ref:t,style:{...l.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[i.jsx(N4,{children:r}),i.jsx(j4,{scope:n,isInside:!0,children:i.jsx(QE,{id:c.contentId,role:"tooltip",children:s||r})})]})})});T1.displayName=_o;var M1="TooltipArrow",k4=h.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,s=pu(n);return C4(M1,n).isInside?null:i.jsx(p4,{...s,...r,ref:t})});k4.displayName=M1;function E4(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 A4(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 T4(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 P4(e,t){const{x:n,y:r}=e;let s=!1;for(let o=0,a=t.length-1;o<t.length;a=o++){const l=t[o],c=t[a],u=l.x,d=l.y,f=c.x,m=c.y;d>r!=m>r&&n<(f-u)*(r-d)/(m-d)+u&&(s=!s)}return s}function M4(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),R4(t)}function R4(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r<e.length;r++){const s=e[r];for(;t.length>=2;){const o=t[t.length-1],a=t[t.length-2];if((o.x-a.x)*(s.y-a.y)>=(o.y-a.y)*(s.x-a.x))t.pop();else break}t.push(s)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const s=e[r];for(;n.length>=2;){const o=n[n.length-1],a=n[n.length-2];if((o.x-a.x)*(s.y-a.y)>=(o.y-a.y)*(s.x-a.x))n.pop();else break}n.push(s)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}var I4=k1,D4=E1,L4=A1,R1=T1;const O4=I4,F4=D4,_4=L4,I1=h.forwardRef(({className:e,sideOffset:t=4,...n},r)=>i.jsx(R1,{ref:r,sideOffset:t,className:ue("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]:sli
311de-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...n}));I1.displayName=R1.displayName;var gu=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(){}},ps,Sr,bo,Fx,z4=(Fx=class extends gu{constructor(){super();me(this,ps);me(this,Sr);me(this,bo);re(this,bo,t=>{if(typeof window<"u"&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){D(this,Sr)||this.setEventListener(D(this,bo))}onUnsubscribe(){var t;this.hasListeners()||((t=D(this,Sr))==null||t.call(this),re(this,Sr,void 0))}setEventListener(t){var n;re(this,bo,t),(n=D(this,Sr))==null||n.call(this),re(this,Sr,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){D(this,ps)!==t&&(re(this,ps,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof D(this,ps)=="boolean"?D(this,ps):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},ps=new WeakMap,Sr=new WeakMap,bo=new WeakMap,Fx),D1=new z4,V4={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},jr,Wm,_x,B4=(_x=class{constructor(){me(this,jr,V4);me(this,Wm,!1)}setTimeoutProvider(e){re(this,jr,e)}setTimeout(e,t){return D(this,jr).setTimeout(e,t)}clearTimeout(e){D(this,jr).clearTimeout(e)}setInterval(e,t){return D(this,jr).setInterval(e,t)}clearInterval(e){D(this,jr).clearInterval(e)}},jr=new WeakMap,Wm=new WeakMap,_x),rm=new B4;function $4(e){setTimeout(e,0)}var W4=typeof window>"u"||"Deno"in globalThis;function rn(){}function U4(e,t){return typeof e=="function"?e(t):e}function q4(e){return typeof e=="number"&&e>=0&&e!==1/0}function H4(e,t){return Math.max(e+(t||0)-Date.now(),0)}function sm(e,t){return typeof e=="function"?e(t):e}function K4(e,t){return typeof e=="function"?e(t):e}function Wv(e,t){const{type:n="all",exact:r,fetchStatus:s,predicate:o,queryKey:a,stale:l}=e;if(a){if(r){if(t.queryHash!==oh(a,t.options))return!1}else if(!na(t.queryKey,a))return!1}if(n!=="all"){const c=t.isActive();if(n==="active"&&!c||n==="inactive"&&c)return!1}return!(typeof l=="boolean"&&t.isStale()!==l||s&&s!==t.state.fetchStatus||o&&!o(t))}function Uv(e,t){const{exact:n,status:r,predicate:s,mutationKey:o}=e;if(o){if(!t.options.mutationKey)return!1;if(n){if(ta(t.options.mutationKey)!==ta(o))return!1}else if(!na(t.options.mutationKey,o))return!1}return!(r&&t.state.status!==r||s&&!s(t))}function oh(e,t){return((t==null?void 0:t.queryKeyHashFn)||ta)(e)}function ta(e){return JSON.stringify(e,(t,n)=>om(n)?Object.keys(n).sort().reduce((r,s)=>(r[s]=n[s],r),{}):n)}function na(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>na(e[n],t[n])):!1}var G4=Object.prototype.hasOwnProperty;function L1(e,t,n=0){if(e===t)return e;if(n>500)return t;const r=qv(e)&&qv(t);if(!r&&!(om(e)&&om(t)))return t;const o=(r?e:Object.keys(e)).length,a=r?t:Object.keys(t),l=a.length,c=r?new Array(l):{};let u=0;for(let d=0;d<l;d++){const f=r?d:a[d],m=e[f],p=t[f];if(m===p){c[f]=m,(r?d<o:G4.call(e,f))&&u++;continue}if(m===null||p===null||typeof m!="object"||typeof p!="object"){c[f]=p;continue}const w=L1(m,p,n+1);c[f]=w,w===m&&u++}return o===l&&u===o?e:c}function qv(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function om(e){if(!Hv(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!Hv(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function Hv(e){return Object.prototype.toString.call(e)==="[object Object]"}function Y4(e){return new Promise(t=>{rm.setTimeout(t,e)})}function Q4(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?L1(e,t):t}function X4(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function Z4(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var ih=Symbol();function O1(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===ih?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function J4(e,t,n){let r=!1,s;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(s??(s=t()),r||(r=!0,s.aborted?n():s.addEventListener("abort",n,{once:!0})),s)}),e}var F1=(()=>{let e=()=>W4;return{isServer(){return e()},setIsServer(t){e=t}}})();function eM(){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}var tM=$4;function nM(){let e=[],t=0,n=l=>{l()},r=l=>{l()},s=tM;const o=l=>{t?e.push(l):s(()=>{n(l)})},a=()=>{const l=e;e=[],l.length&&s(()=>{r(()=>{l.forEach(c=>{n(c)})})})};return{batch:l=>{let c;t++;try{c=l()}finally{t--,t||a()}return c},batchCalls:l=>(...c)=>{o(()=>
311{l(...c)})},schedule:o,setNotifyFunction:l=>{n=l},setBatchNotifyFunction:l=>{r=l},setScheduler:l=>{s=l}}}var ft=nM(),wo,Cr,So,zx,rM=(zx=class extends gu{constructor(){super();me(this,wo,!0);me(this,Cr);me(this,So);re(this,So,t=>{if(typeof window<"u"&&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(){D(this,Cr)||this.setEventListener(D(this,So))}onUnsubscribe(){var t;this.hasListeners()||((t=D(this,Cr))==null||t.call(this),re(this,Cr,void 0))}setEventListener(t){var n;re(this,So,t),(n=D(this,Cr))==null||n.call(this),re(this,Cr,t(this.setOnline.bind(this)))}setOnline(t){D(this,wo)!==t&&(re(this,wo,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return D(this,wo)}},wo=new WeakMap,Cr=new WeakMap,So=new WeakMap,zx),wc=new rM;function sM(e){return Math.min(1e3*2**e,3e4)}function _1(e){return(e??"online")==="online"?wc.isOnline():!0}var im=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function z1(e){let t=!1,n=0,r;const s=eM(),o=()=>s.status!=="pending",a=v=>{var x;if(!o()){const g=new im(v);m(g),(x=e.onCancel)==null||x.call(e,g)}},l=()=>{t=!0},c=()=>{t=!1},u=()=>D1.isFocused()&&(e.networkMode==="always"||wc.isOnline())&&e.canRun(),d=()=>_1(e.networkMode)&&e.canRun(),f=v=>{o()||(r==null||r(),s.resolve(v))},m=v=>{o()||(r==null||r(),s.reject(v))},p=()=>new Promise(v=>{var x;r=g=>{(o()||u())&&v(g)},(x=e.onPause)==null||x.call(e)}).then(()=>{var v;r=void 0,o()||(v=e.onContinue)==null||v.call(e)}),w=()=>
311{if(o())return;let v;const x=n===0?e.initialPromise:void 0;try{v=x??e.fn()}catch(g){v=Promise.reject(g)}Promise.resolve(v).then(f).catch(g=>{var C;if(o())return;const y=e.retry??(F1.isServer()?0:3),b=e.retryDelay??sM,S=typeof b=="function"?b(n,g):b,j=y===!0||typeof y=="number"&&n<y||typeof y=="function"&&y(n,g);if(t||!j){m(g);return}n++,(C=e.onFail)==null||C.call(e,n,g),Y4(S).then(()=>u()?void 0:p()).then(()=>{t?m(g):w()})})};return{promise:s,status:()=>s.status,cancel:a,continue:()=>(r==null||r(),s),cancelRetry:l,continueRetry:c,canStart:d,start:()=>(d()?w():p().then(w),s)}}var hs,Vx,V1=(Vx=class{constructor(){me(this,hs)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),q4(this.gcTime)&&re(this,hs,rm.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(F1.isServer()?1/0:5*60*1e3))}clearGcTimeout(){D(this,hs)!==void 0&&(rm.clearTimeout(D(this,hs)),re(this,hs,void 0))}},hs=new WeakMap,Vx);function oM(e){return{onFetch:(t,n)=>{var d,f,m,p,w;const r=t.options,s=(m=(f=(d=t.fetchOptions)==null?void 0:d.meta)==null?void 0:f.fetchMore)==null?void 0:m.direction,o=((p=t.state.data)==null?void 0:p.pages)||[],a=((w=t.state.data)==null?void 0:w.pageParams)||[];let l={pages:[],pageParams:[]},c=0;const u=async()=>{let v=!1;const x=b=>{J4(b,()=>t.signal,()=>v=!0)},g=O1(t.options,t.fetchOptions),y=async(b,S,j)=>{if(v)return Promise.reject(t.signal.reason);if(S==null&&b.pages.length)return Promise.resolve(b);const N=(()=>{const I={client:t.client,queryKey:t.queryKey,pageParam:S,direction:j?"backward":"forward",meta:t.options.meta};return x(I),I})(),E=await g(N),{maxPages:T}=t.options,P=j?Z4:X4;return{pages:P(b.pages,E,T),pageParams:P(b.pageParams,S,T)}};if(s&&o.length){const b=s==="backward",S=b?iM:Kv,j={pages:o,pageParams:a},C=S(r,j);l=await y(j,C,b)}else{const b=e??o.length;do{const S=c===0?a[0]??r.initialPageParam:Kv(r,l);if(c>0&&S==null)break;l=await y(l,S),c++}while(c<b)}return l};t.options.persister?t.fetchFn=()=>{var v,x;return(x=(v=t.options).persister)==null?void 0:x.call(v,u,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=u}}}function Kv(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 iM(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 jo,gs,Co,_t,vs,Qe,pa,ys,Tt,B1,Wn,Bx,aM=(Bx=class extends V1{constructor(t){super();me(this,Tt);me(this,jo);me(this,gs);me(this,Co);me(this,_t);me(this,vs);me(this,Qe);me(this,pa);me(this,ys);re(this,ys,!1),re(this,pa,t.defaultOptions),this.setOptions(t.options),this.observers=[],re(this,vs,t.client),re(this,_t,D(this,vs).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,re(this,gs,Yv(this.options)),this.state=t.state??D(this,gs),this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return D(this,jo)}get promise(){var t;return(t=D(this,Qe))==null?void 0:t.promise}setOptions(t){if(this.options={...D(this,pa),...t},t!=null&&t._type&&re(this,jo,t._type),this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const n=Yv(this.options);n.data!==void 0&&(this.setState(Gv(n.data,n.dataUpdatedAt)),re(this,gs,n))}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&D(this,_t).remove(this)}setData(t,n){const r=Q4(this.state.data,t,this.options);return et(this,Tt,Wn).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t){et(this,Tt,Wn).call(this,{type:"setState",state:t})}cancel(t){var r,s;const n=(r=D(this,Qe))==null?void 0:r.promise;return(s=D(this,Qe))==null||s.cancel(t),n?n.then(rn).catch(rn):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return D(this,gs)}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(t=>K4(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===ih||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdate
311Count>0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>sm(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:!H4(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=D(this,Qe))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=D(this,Qe))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),D(this,_t).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(D(this,Qe)&&(D(this,ys)||et(this,Tt,B1).call(this)?D(this,Qe).cancel({revert:!0}):D(this,Qe).cancelRetry()),this.scheduleGc()),D(this,_t).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||et(this,Tt,Wn).call(this,{type:"invalidate"})}async fetch(t,n){var u,d,f,m,p,w,v,x,g,y,b;if(this.state.fetchStatus!=="idle"&&((u=D(this,Qe))==null?void 0:u.status())!=="rejected"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(D(this,Qe))return D(this,Qe).continueRetry(),D(this,Qe).promise}if(t&&this.setOptions(t),!this.options.queryFn){const S=this.observers.find(j=>j.options.queryFn);S&&this.setOptions(S.options)}const r=new AbortController,s=S=>{Object.defineProperty(S,"signal",{enumerable:!0,get:()=>(re(this,ys,!0),r.signal)})},o=()=>{const S=O1(this.options,n),C=(()=>{const N={client:D(this,vs),queryKey:this.queryKey,meta:this.meta};return s(N),N})();return re(this,ys,!1),this.options.persister?this.options.persister(S,C,this):S(C)},l=(()=>{const S={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:D(this,vs),state:this.state,fetchFn:o};return s(S),S})(),c=D(this,jo)==="infinite"?oM(this.options.pages):this.options.behavior;c==null||c.onFetch(l,this),re(this,Co,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((d=l.fetchOptions)==null?void 0:d.meta))&&et(this,Tt,Wn).call(this,{type:"fetch",meta:(f=l.fetchOptions)==null?void 0:f.meta}),re(this,Qe,z1({initialPromise:n==null?void 0:n.initialPromise,fn:l.fetchFn,onCancel:S=>{S instanceof im&&S.revert&&this.setState({...D(this,Co),fetchStatus:"idle"}),r.abort()},onFail:(S,j)=>{et(this,Tt,Wn).call(this,{type:"failed",failureCount:S,error:j})},onPause:()=>{et(this,Tt,Wn).call(this,{type:"pause"})},onContinue:()=>{et(this,Tt,Wn).call(this,{type:"continue"})},retry:l.options.retry,retryDelay:l.options.retryDelay,networkMode:l.options.networkMode,canRun:()=>!0}));try{const S=await D(this,Qe).start();if(S===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(S),(p=(m=D(this,_t).config).onSuccess)==null||p.call(m,S,this),(v=(w=D(this,_t).config).onSettled)==null||v.call(w,S,this.state.error,this),S}catch(S){if(S instanceof im){if(S.silent)return D(this,Qe).promise;if(S.revert){if(this.state.data===void 0)throw S;return this.state.data}}throw et(this,Tt,Wn).call(this,{type:"error",error:S}),(g=(x=D(this,_t).config).onError)==null||g.call(x,S,this),(b=(y=D(this,_t).config).onSettled)==null||b.call(y,this.state.data,S,this),S}finally{this.scheduleGc()}}},jo=new WeakMap,gs=new WeakMap,Co=new WeakMap,_t=new WeakMap,vs=new WeakMap,Qe=new WeakMap,pa=new WeakMap,ys=new WeakMap,Tt=new WeakSet,B1=function(){return this.state.fetchStatus==="paused"&&this.state.status==="pending"},Wn=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,...lM(r.data,this.options),fetchMeta:t.meta??null};case"success":const s={...r,...Gv(t.data,t.dataUpdatedAt),dataUpdateCount:r.dataUpdateCount+1,...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return re(this,Co,t.manual?s:void 0),s;case"error":const o=t.error;
vendor: 2,865 bytes, line 311
311return{...r,error:o,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:o,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),ft.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),D(this,_t).notify({query:this,type:"updated",action:t})})},Bx);function lM(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:_1(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function Gv(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:"success"}}function Yv(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 ha,Cn,lt,xs,Nn,pr,$x,cM=($x=class extends V1{constructor(t){super();me(this,Nn);me(this,ha);me(this,Cn);me(this,lt);me(this,xs);re(this,ha,t.client),this.mutationId=t.mutationId,re(this,lt,t.mutationCache),re(this,Cn,[]),this.state=t.state||uM(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){D(this,Cn).includes(t)||(D(this,Cn).push(t),this.clearGcTimeout(),D(this,lt).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){re(this,Cn,D(this,Cn).filter(n=>n!==t)),this.scheduleGc(),D(this,lt).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){D(this,Cn).length||(this.state.status==="pending"?this.scheduleGc():D(this,lt).remove(this))}continue(){var t;return((t=D(this,xs))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var a,l,c,u,d,f,m,p,w,v,x,g,y,b,S,j,C,N;const n=()=>{et(this,Nn,pr).call(this,{type:"continue"})},r={client:D(this,ha),meta:this.options.meta,mutationKey:this.options.mutationKey};re(this,xs,z1({fn:()=>this.options.mutationFn?this.options.mutationFn(t,r):Promise.reject(new Error("No mutationFn found")),onFail:(E,T)=>{et(this,Nn,pr).call(this,{type:"failed",failureCount:E,error:T})},onPause:()=>{et(this,Nn,pr).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>D(this,lt).canRun(this)}));const s=this.state.status==="pending",o=!D(this,xs).canStart();try{if(s)n();else{et(this,Nn,pr).call(this,{type:"pending",variables:t,isPaused:o}),D(this,lt).config.onMutate&&await D(this,lt).config.onMutate(t,this,r);
311const T=await((l=(a=this.options).onMutate)==null?void 0:l.call(a,t,r));T!==this.state.context&&et(this,Nn,pr).call(this,{type:"pending",context:T,variables:t,isPaused:o})}const E=await D(this,xs).start();return await((u=(c=D(this,lt).config).onSuccess)==null?void 0:u.call(c,E,t,this.state.context,this,r)),await((f=(d=this.options).onSuccess)==null?void 0:f.call(d,E,t,this.state.context,r)),await((p=(m=D(this,lt).config).onSettled)==null?void 0:p.call(m,E,null,this.state.variables,this.state.context,this,r)),await((v=(w=this.options).onSettled)==null?void 0:v.call(w,E,null,t,this.state.context,r)),et(this,Nn,pr).call(this,{type:"success",data:E}),E}catch(E){try{await((g=(x=D(this,lt).config).onError)==null?void 0:g.call(x,E,t,this.state.context,this,r))}catch(T){Promise.reject(T)}try{await((b=(y=this.options).onError)==null?void 0:b.call(y,E,t,this.state.context,r))}catch(T){Promise.reject(T)}try{await((j=(S=D(this,lt).config).onSettled)==null?void 0:j.call(S,void 0,E,this.state.variables,this.state.context,this,r))}catch(T){Promise.reject(T)}try{await((N=(C=this.options).onSettled)==null?void 0:N.call(C,void 0,E,t,this.state.context,r))}catch(T){Promise.reject(T)}throw et(this,Nn,pr).call(this,{type:"error",error:E}),E}finally{D(this,lt).runNext(this)}}},ha=new WeakMap,Cn=new WeakMap,lt=new WeakMap,xs=new WeakMap,Nn=new WeakSet,pr=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),ft.batch(()=>{D(this,Cn).forEach(r=>{r.onMutationUpdate(t)}),D(this,lt).notify({mutation:this,type:"updated",action:t})})},$x);function uM(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Hn,sn,ga,Wx,dM=(Wx=class extends gu{constructor(t={}){super();me(this,Hn);me(this,sn);me(this,ga);this.config=t,re(this,Hn,new Set),re(this,sn,new Map),re(this,ga,0)}build(t,n,r){const s=new cM({client:t,mutationCache:this,mutationId:++_a(this,ga)._,options:t.defaultMutationOptions(n),state:r});return this.add(s),s}add(t){D(this,Hn).add(t);const n=il(t);if(typeof n=="string"){const r=D(this,sn).get(n);r?r.push(t):D(this,sn).set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(D(this,Hn).delete(t)){const n=il(t);if(typeof n=="string"){const r=D(this,sn).get(n);if(r)if(r.length>1){const s=r.indexOf(t);s!==-1&&r.splice(s,1)}else r[0]===t&&D(this,sn).delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=il(t);if(typeof n=="string"){const r=D(this,sn).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=il(t);if(typeof n=="string"){const s=(r=D(this,sn).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(){ft.batch(()=>{D(this,Hn).forEach(t=>{this.notify({type:"removed",mutation:t})}),D(this,Hn).clear(),D(this,sn).clear()})}getAll(){return Array.from(D(this,Hn))}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Uv(n,r))}findAll(t={}){return this.getAll().filter(n=>Uv(t,n))}notify(t){ft.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return ft.batch(()=>Promise.all(t.map(n=>n.continue().catch(rn))))}},Hn=new WeakMap,sn=new WeakMap,ga=new WeakMap,Wx);function il(e){var t;return(t=e.options.scope)==null?void 0:t.id}var kn,Ux,fM=(Ux=class extends gu{constructor(t={}){super();me(this,kn);this.config=t,re(this,kn,new Map)}build(t,n,r){const s=n.queryKey,o=n.queryHash??oh(s,n);let a=this.get(o);return a||(a=new aM({client:t,queryKey:s,queryHash:o,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(s)}),this.add(a)),a}add(t){D(this,kn).has(t.queryHash)||(D(this,kn).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=D(this,kn).get(t.queryHash);n&&(t.destroy(),n===t&&D(this,kn).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){ft.batch(()=>
311{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return D(this,kn).get(t)}getAll(){return[...D(this,kn).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Wv(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>Wv(t,r)):n}notify(t){ft.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){ft.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){ft.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},kn=new WeakMap,Ux),ze,Nr,kr,No,ko,Er,Eo,Ao,qx,mM=(qx=class{constructor(e={}){me(this,ze);me(this,Nr);me(this,kr);me(this,No);me(this,ko);me(this,Er);me(this,Eo);me(this,Ao);re(this,ze,e.queryCache||new fM),re(this,Nr,e.mutationCache||new dM),re(this,kr,e.defaultOptions||{}),re(this,No,new Map),re(this,ko,new Map),re(this,Er,0)}mount(){_a(this,Er)._++,D(this,Er)===1&&(re(this,Eo,D1.subscribe(async e=>{e&&(await this.resumePausedMutations(),D(this,ze).onFocus())})),re(this,Ao,wc.subscribe(async e=>{e&&(await this.resumePausedMutations(),D(this,ze).onOnline())})))}unmount(){var e,t;_a(this,Er)._--,D(this,Er)===0&&((e=D(this,Eo))==null||e.call(this),re(this,Eo,void 0),(t=D(this,Ao))==null||t.call(this),re(this,Ao,void 0))}isFetching(e){return D(this,ze).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return D(this,Nr).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=D(this,ze).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=D(this,ze).build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(sm(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return D(this,ze).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=D(this,ze).get(r.queryHash),o=s==null?void 0:s.state.data,a=U4(t,o);if(a!==void 0)return D(this,ze).build(this,r).setData(a,{...n,manual:!0})}setQueriesData(e,t,n){return ft.batch(()=>D(this,ze).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=D(this,ze).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=D(this,ze);ft.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=D(this,ze);return ft.batch(()=>(n.findAll(e).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},r=ft.batch(()=>D(this,ze).findAll(e).map(s=>s.cancel(n)));return Promise.all(r).then(rn).catch(rn)}invalidateQueries(e,t={}){return ft.batch(()=>(D(this,ze).findAll(e).forEach(n=>{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=ft.batch(()=>D(this,ze).findAll(e).filter(s=>!s.isDisabled()&&!s.isStatic()).map(s=>{let o=s.fetch(void 0,n);return n.throwOnError||(o=o.catch(rn)),s.state.fetchStatus==="paused"?Promise.resolve():o}));return Promise.all(r).then(rn)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=D(this,ze).build(this,t);return n.isStaleByTime(sm(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(rn).catch(rn)}fetchInfiniteQuery(e){return e._type="infinite",this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(rn).catch(rn)}ensureInfiniteQueryData(e){return e._type="infinite",this.ensureQueryData(e)}resumePausedMutations(){return wc.isOnline()?D(this,Nr).resumePausedMutations():Promise.resolve()}getQueryCache(){return D(this,ze)}getMutationCache(){return D(this,Nr)}getDefaultOptions(){return D(this,kr)}setDefaultOptions(e){re(this,kr,e)}setQueryDefaults(e,t){D(this,No).set(ta(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...D(this,No).values()],n={};return t.forEach(r=>{na(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){D(this,ko).set(ta(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...D(this,ko).values()],n={};return t.forEach(r=>{na(e,r.mutationKey)&&Object.assign(n,r.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...D(this,kr).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=oh(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===ih&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...D(this,kr).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){D(this,ze).clear(),D(this,Nr).clear()}},ze=new WeakMap,Nr=new WeakMap,kr=new WeakMap,No=new WeakMap,ko=new WeakMap,Er=new WeakMap,Eo=new WeakMap,Ao=new WeakMap,qx),pM=h.createContext(void 0),hM=({client:e,children:t})=>(h.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),i.jsx(pM.Provider,{value:e,children:t}));/** 312 * @remix-run/router v1.23.2 313 * 314 * Copyright (c) Remix Software Inc. 315 * 316 * This source code is licensed under the MIT license found in the 317 * LICENSE.md file in the root directory of this source tree. 318 * 319 * @license MIT 320 */function ra(){return ra=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},ra.apply(this,arguments)}var Pr;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(Pr||(Pr={}));const Qv="popstate";function gM(e){e===void 0&&(e={});function t(r,s){let{pathname:o,search:a,hash:l}=r.location;return am("",{pathname:o,search:a,hash:l},s.state&&s.state.usr||null,s.state&&s.state.key||"default")}function n(r,s){return typeof s=="string"?s:Sc(s)}return yM(t,n,null,e)}function He(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function ah(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function vM(){return Math.random().toString(36).substr(2,8)}function Xv(e,t){return{usr:e.state,key:e.key,idx:t}}function am(e,t,n,r){return n===void 0&&(n=null),ra({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Go(t):t,{state:n,key:t&&t.key||r||vM()})}function Sc(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 Go(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 yM(e,t,n,r){r===void 0&&(r={});let{window:s=document.defaultView,v5Compat:o=!1}=r,a=s.history,l=Pr.Pop,c=null,u=d();u==null&&(u=0,a.replaceState(ra({},a.state,{idx:u}),""));function d(){return(a.state||{idx:null}).idx}function f(){l=Pr.Pop;let x=d(),g=x==null?null:x-u;u=x,c&&c({action:l,location:v.location,delta:g})}function m(x,g){l=Pr.Push;let y=am(v.location,x,g);u=d()+1;let b=Xv(y,u),S=v.createHref(y);try{a.pushState(b,"",S)}catch(j){if(j instanceof DOMException&&j.name==="DataCloneError")throw j;s.location.assign(S)}o&&c&&c({action:l,location:v.location,delta:1})}function p(x,g){l=Pr.Replace;let y=am(v.location,x,g);u=d();let b=Xv(y,u),S=v.createHref(y);a.replaceState(b,"",S),o&&c&&c({action:l,location:v.location,delta:0})}function w(x){let g=s.location.origin!=="null"?s.location.origin:s.location.href,y=typeof x=="str
320ing"?x:Sc(x);return y=y.replace(/ $/,"%20"),He(g,"No window.location.(origin|href) available to create URL for href: "+y),new URL(y,g)}let v={get action(){return l},get location(){return e(s,a)},listen(x){if(c)throw new Error("A history only accepts one active listener");return s.addEventListener(Qv,f),c=x,()=>{s.removeEventListener(Qv,f),c=null}},createHref(x){return t(s,x)},createURL:w,encodeLocation(x){let g=w(x);return{pathname:g.pathname,search:g.search,hash:g.hash}},push:m,replace:p,go(x){return a.go(x)}};return v}var Zv;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Zv||(Zv={}));function xM(e,t,n){return n===void 0&&(n="/"),bM(e,t,n)}function bM(e,t,n,r){let s=typeof t=="string"?Go(t):t,o=lh(s.pathname||"/",n);if(o==null)return null;let a=$1(e);wM(a);let l=null;for(let c=0;l==null&&c<a.length;++c){let u=IM(o);l=PM(a[c],u)}return l}function $1(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let s=(o,a,l)=>{let c={relativePath:l===void 0?o.path||"":l,caseSensitive:o.caseSensitive===!0,childrenIndex:a,route:o};c.relativePath.startsWith("/")&&(He(c.relativePath.startsWith(r),'Absolute route path "'+c.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),c.relativePath=c.relativePath.slice(r.length));let u=Br([r,c.relativePath]),d=n.concat(c);o.children&&o.children.length>0&&(He(o.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),$1(o.children,t,d,u)),!(o.path==null&&!o.index)&&t.push({path:u,score:AM(u,o.index),routesMeta:d})};return e.forEach((o,a)=>{var l;if(o.path===""||!((l=o.path)!=null&&l.includes("?")))s(o,a);else for(let c of W1(o.path))s(o,a,c)}),t}function W1(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,s=n.endsWith("?"),o=n.replace(/\?$/,"");if(r.length===0)return s?[o,""]:[o];let a=W1(r.join("/")),l=[];return l.push(...a.map(c=>c===""?o:[o,c].join("/"))),s&&l.push(...a),l.map(c=>e.startsWith("/")&&c===""?"/":c)}function wM(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:TM(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const SM=/^:[\w-]+$/,jM=3,CM=2,NM=1,kM=10,EM=-2,Jv=e=>e==="*";function AM(e,t){let n=e.split("/"),r=n.length;return n.some(Jv)&&(r+=EM),t&&(r+=CM),n.filter(s=>!Jv(s)).reduce((s,o)=>s+(SM.test(o)?jM:o===""?NM:kM),r)}function TM(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 PM(e,t,n){let{routesMeta:r}=e,s={},o="/",a=[];for(let l=0;l<r.length;++l){let c=r[l],u=l===r.length-1,d=o==="/"?t:t.slice(o.length)||"/",f=MM({path:c.relativePath,caseSensitive:c.caseSensitive,end:u},d),m=c.route;if(!f)return null;
vendor: 4,788 bytes, lines 320-329
320Object.assign(s,f.params),a.push({params:s,pathname:Br([o,f.pathname]),pathnameBase:_M(Br([o,f.pathnameBase])),route:m}),f.pathnameBase!=="/"&&(o=Br([o,f.pathnameBase]))}return a}function MM(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=RM(e.path,e.caseSensitive,e.end),s=t.match(n);if(!s)return null;let o=s[0],a=o.replace(/(.)\/+$/,"$1"),l=s.slice(1);return{params:r.reduce((u,d,f)=>{let{paramName:m,isOptional:p}=d;if(m==="*"){let v=l[f]||"";a=o.slice(0,o.length-v.length).replace(/(.)\/+$/,"$1")}const w=l[f];return p&&!w?u[m]=void 0:u[m]=(w||"").replace(/%2F/g,"/"),u},{}),pathname:o,pathnameBase:a,pattern:e}}function RM(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),ah(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],s="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(a,l,c)=>(r.push({paramName:l,isOptional:c!=null}),c?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),s+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?s+="\\/*$":e!==""&&e!=="/"&&(s+="(?:(?=\\/|$))"),[new RegExp(s,t?void 0:"i"),r]}function IM(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return ah(!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 lh(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 DM=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,LM=e=>DM.test(e);function OM(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:s=""}=typeof e=="string"?Go(e):e,o;if(n)if(LM(n))o=n;else{if(n.includes("//")){let a=n;n=n.replace(/\/\/+/g,"/"),ah(!1,"Pathnames cannot have embedded double slashes - normalizing "+(a+" -> "+n))}n.startsWith("/")?o=ey(n.substring(1),"/"):o=ey(n,t)}else o=t;return{pathname:o,search:zM(r),hash:VM(s)}}function ey(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(s=>{s===".."?n.length>1&&n.pop():s!=="."&&n.push(s)}),n.length>1?n.join("/"):"/"}function Sd(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function FM(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function U1(e,t){let n=FM(e);return t?n.map((r,s)=>s===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function q1(e,t,n,r){r===void 0&&(r=!1);let s;typeof e=="string"?s=Go(e):(s=ra({},e),He(!s.pathname||!s.pathname.includes("?"),Sd("?","pathname","search",s)),He(!s.pathname||!s.pathname.includes("#"),Sd("#","pathname","hash",s)),He(!s.search||!s.search.includes("#"),Sd("#","search","hash",s)));let o=e===""||s.pathname==="",a=o?"/":s.pathname,l;if(a==null)l=n;else{let f=t.length-1;if(!r&&a.startsWith("..")){let m=a.split("/");for(;m[0]==="..";)m.shift(),f-=1;s.pathname=m.join("/")}l=f>=0?t[f]:"/"}let c=OM(s,l),u=a&&a!=="/"&&a.endsWith("/"),d=(o||a===".")&&n.endsWith("/");return!c.pathname.endsWith("/")&&(u||d)&&(c.pathname+="/"),c}const Br=e=>e.join("/").replace(/\/\/+/g,"/"),_M=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),zM=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,VM=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function BM(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const H1=["post","put","patch","delete"];new Set(H1);const $M=["get",...H1];new Set($M);/** 321 * React Router v6.30.3 322 * 323 * Copyright (c) Remix Software Inc. 324 * 325 * This source code is licensed under the MIT license found in the 326 * LICENSE.md file in the root directory of this source tree. 327 * 328 * @license MIT 329 */function sa(){return sa=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},sa.apply(this,arguments)}const ch=h.createContext(null),WM=h.createContext(null),Fs=h.createContext(null),vu=h.createContext(null),_s=h.createContext({outlet:null,matches:[],isDataRoute:!1}),K1=h.createContext(null);function UM(e,t){let{relative:n}=t===void 0?{}:t;Ea()||He(!1);let{basename:r,navigator:s}=h.useContext(Fs),{hash:o,pathname:a,search:l}=Q1(e,{relative:n}),c=a;
vendor: 4,898 bytes, line 329
329return r!=="/"&&(c=a==="/"?r:Br([r,a])),s.createHref({pathname:c,search:l,hash:o})}function Ea(){return h.useContext(vu)!=null}function Jr(){return Ea()||He(!1),h.useContext(vu).location}function G1(e){h.useContext(Fs).static||h.useLayoutEffect(e)}function Y1(){let{isDataRoute:e}=h.useContext(_s);return e?rR():qM()}function qM(){Ea()||He(!1);let e=h.useContext(ch),{basename:t,future:n,navigator:r}=h.useContext(Fs),{matches:s}=h.useContext(_s),{pathname:o}=Jr(),a=JSON.stringify(U1(s,n.v7_relativeSplatPath)),l=h.useRef(!1);return G1(()=>{l.current=!0}),h.useCallback(function(u,d){if(d===void 0&&(d={}),!l.current)return;if(typeof u=="number"){r.go(u);return}let f=q1(u,JSON.parse(a),o,d.relative==="path");e==null&&t!=="/"&&(f.pathname=f.pathname==="/"?t:Br([t,f.pathname])),(d.replace?r.replace:r.push)(f,d.state,d)},[t,r,a,o,e])}function Q1(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=h.useContext(Fs),{matches:s}=h.useContext(_s),{pathname:o}=Jr(),a=JSON.stringify(U1(s,r.v7_relativeSplatPath));return h.useMemo(()=>q1(e,JSON.parse(a),o,n==="path"),[e,a,o,n])}function HM(e,t){return KM(e,t)}function KM(e,t,n,r){Ea()||He(!1);let{navigator:s}=h.useContext(Fs),{matches:o}=h.useContext(_s),a=o[o.length-1],l=a?a.params:{};a&&a.pathname;let c=a?a.pathnameBase:"/";a&&a.route;let u=Jr(),d;if(t){var f;let x=typeof t=="string"?Go(t):t;c==="/"||(f=x.pathname)!=null&&f.startsWith(c)||He(!1),d=x}else d=u;let m=d.pathname||"/",p=m;if(c!=="/"){let x=c.replace(/^\//,"").split("/");p="/"+m.replace(/^\//,"").split("/").slice(x.length).join("/")}let w=xM(e,{pathname:p}),v=ZM(w&&w.map(x=>Object.assign({},x,{params:Object.assign({},l,x.params),pathname:Br([c,s.encodeLocation?s.encodeLocation(x.pathname).pathname:x.pathname]),pathnameBase:x.pathnameBase==="/"?c:Br([c,s.encodeLocation?s.encodeLocation(x.pathnameBase).pathname:x.pathnameBase])})),o,n,r);return t&&v?h.createElement(vu.Provider,{value:{location:sa({pathname:"/",search:"",hash:"",state:null,key:"default"},d),navigationType:Pr.Pop}},v):v}function GM(){let e=nR(),t=BM(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,s={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return h.createElement(h.Fragment,null,h.createElement("h2",null,"Unexpected Application Error!"),h.createElement("h3",{style:{fontStyle:"italic"}},t),n?h.createElement("pre",{style:s},n):null,null)}const YM=h.createElement(GM,null);class QM extends h.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?h.createElement(_s.Provider,{value:this.props.routeContext},h.createElement(K1.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function XM(e){let{routeContext:t,match:n,children:r}=e,s=h.useContext(ch);return s&&s.static&&s.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(s.staticContext._deepestRenderedBoundaryId=n.route.id),h.createElement(_s.Provider,{value:t},r)}function ZM(e,t,n,r){var s;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var o;if(!n)return null;if(n.errors)e=n.matches;else if((o=r)!=null&&o.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let a=e,l=(s=n)==null?void 0:s.errors;if(l!=null){let d=a.findIndex(f=>f.route.id&&(l==null?void 0:l[f.route.id])!==void 0);d>=0||He(!1),a=a.slice(0,Math.min(a.length,d+1))}let c=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let d=0;d<a.length;d++){let f=a[d];if((f.route.HydrateFallback||f.route.hydrateFallbackElement)&&(u=d),f.route.id){let{loaderData:m,errors:p}=n,w=f.route.loader&&m[f.route.id]===void 0&&(!p||p[f.route.id]===void 0);if(f.route.lazy||w){c=!0,u>=0?a=a.slice(0,u+1):a=[a[0]];break}}}return a.reduceRight((d,f,m)=>{let p,w=!1,v=null,x=null;n&&(p=l&&f.route.id?l[f.route.id]:void 0,v=f.route.errorElement||YM,c&&(u<0&&m===0?(sR("route-fallback"),w=!0,x=null):u===m&&(w=!0,x=f.route.hydrateFallbackElement||null)));let g=t.concat(a.slice(0,m+1)),y=()=>{let b;return p?b=v:w?b=x:f.route.Component?b=h.createElement(f.route.Component,null):f.route.element?b=f.route.element:b=d,h.createElement(XM,{match:f,routeContext:{outlet:d,matches:g,isDataRoute:n!=null},children:b})};return n&&(f.route.ErrorBoundary||f.route.errorElement||m===0)?h.createElement(QM,{location:n.location,revalidation:n.revalidation,component:v,error:p,children:y(),routeC
329ontext:{outlet:null,matches:g,isDataRoute:!0}}):y()},null)}var X1=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(X1||{}),Z1=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}(Z1||{});function JM(e){let t=h.useContext(ch);return t||He(!1),t}function eR(e){let t=h.useContext(WM);return t||He(!1),t}function tR(e){let t=h.useContext(_s);return t||He(!1),t}function J1(e){let t=tR(),n=t.matches[t.matches.length-1];return n.route.id||He(!1),n.route.id}function nR(){var e;let t=h.useContext(K1),n=eR(),r=J1();return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function rR(){let{router:e}=JM(X1.UseNavigateStable),t=J1(Z1.UseNavigateStable),n=h.useRef(!1);return G1(()=>{n.current=!0}),h.useCallback(function(s,o){o===void 0&&(o={}),n.current&&(typeof s=="number"?e.navigate(s):e.navigate(s,sa({fromRouteId:t},o)))},[e,t])}const ty={};function sR(e,t,n){ty[e]||(ty[e]=!0)}function oR(e,t){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}function Pe(e){He(!1)}function iR(e){let{basename:t="/",children:n=null,location:r,navigationType:s=Pr.Pop,navigator:o,static:a=!1,future:l}=e;Ea()&&He(!1);let c=t.replace(/^\/*/,"/"),u=h.useMemo(()=>({basename:c,navigator:o,static:a,future:sa({v7_relativeSplatPath:!1},l)}),[c,l,o,a]);typeof r=="string"&&(r=Go(r));let{pathname:d="/",search:f="",hash:m="",state:p=null,key:w="default"}=r,v=h.useMemo(()=>{let x=lh(d,c);return x==null?null:{location:{pathname:x,search:f,hash:m,state:p,key:w},navigationType:s}},[c,d,f,m,p,w,s]);return v==null?null:h.createElement(Fs.Provider,{value:u},h.createElement(vu.Provider,{children:n,value:v}))}function aR(e){let{children:t,location:n}=e;return HM(lm(t),n)}new Promise(()=>{});function lm(e,t){t===void 0&&(t=[]);let n=[];return h.Children.forEach(e,(r,s)=>{if(!h.isValidElement(r))return;let o=[...t,s];if(r.type===h.Fragment){n.push.apply(n,lm(r.props.children,o));return}r.type!==Pe&&He(!1),!r.props.index||!r.props.children||He(!1);let a={id:r.props.id||o.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(a.children=lm(r.props.children,o)),n.push(a)}),n}/** 330 * React Router DOM v6.30.3 331 * 332 * Copyright (c) Remix Software Inc. 333 * 334 * This source code is licensed under the MIT license found in the 335 * LICENSE.md file in the root directory of this source tree. 336 * 337 * @license MIT 338 */function cm(){return cm=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},cm.apply(this,arguments)}function lR(e,t){if(e==null)return{};var n={},r=Object.keys(e),s,o;for(o=0;o<r.length;o++)s=r[o],!(t.indexOf(s)>=0)&&(n[s]=e[s]);return n}function cR(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function uR(e,t){return e.button===0&&(!t||t==="_self")&&!cR(e)}const dR=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],fR="6";try{window.__reactRouterVersion=fR}catch{}const mR="startTransition",ny=Bc[mR];function pR(e){let{basename:t,children:n,future:r,window:s}=e,o=h.useRef();o.current==null&&(o.current=gM({window:s,v5Compat:!0}));let a=o.current,[l,c]=h.useState({action:a.action,location:a.location}),{v7_startTransition:u}=r||{},d=h.useCallback(f=>{u&&ny?ny(()=>c(f)):c(f)},[c,u]);return h.useLayoutEffect(()=>a.listen(d),[a,d]),h.useEffect(()=>oR(r),[r]),h.createElement(iR,{basename:t,children:n,location:l.location,navigationType:l.action,navigator:a,future:r})}const hR=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",gR=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,um=h.forwardRef(function(t,n){let{onClick:r,relative:s,reloadDocument:o,replace:a,state:l,target:c,to:u,preventScrollReset:d,viewTransition:f}=t,m=lR(t,dR),{basename:p}=h.useContext(Fs),w,v=!1;if(typeof u=="string"&&gR.test(u)&&(w=u,hR))try{let b=new URL(window.location.href),S=u.startsWith("//")?new URL(b.protocol+u):new URL(u),j=lh(S.pathname,p);S.origin===b.origin&&j!=null?u=j+S.search+S.hash:v=!0}catch{}let x=UM(u,{relative:s}),g=vR(u,{replace:a,state:l,target:c,preventScrollReset:d,relative:s,viewTransition:f});function y(b){r&&r(b),b.defaultPrevented||g(b)}return h.createElement("a",cm({},m,{href:w||x,onClick:v||o?r:y,ref:n,target:c}))});var ry;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(ry||(ry={}));var sy;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(sy||(sy={}));function vR(e,t){let{target:n,replace:r,state:s,preventScrollReset:o,relative:a,viewTransition:l}=t===void 0?{}:t,c=Y1(),u=Jr(),d=Q1(e,{relative:a});return h.useCallback(f=>
vendor: 28,938 bytes, line 338
338{if(uR(f,n)){f.preventDefault();let m=r!==void 0?r:Sc(u)===Sc(d);c(e,{replace:m,state:s,preventScrollReset:o,relative:a,viewTransition:l})}},[u,c,d,r,s,n,e,o,a,l])}const uh=h.createContext({});function dh(e){const t=h.useRef(null);return t.current===null&&(t.current=e()),t.current}const yR=typeof window<"u",e2=yR?h.useLayoutEffect:h.useEffect,yu=h.createContext(null);function fh(e,t){e.indexOf(t)===-1&&e.push(t)}function jc(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const On=(e,t,n)=>n>t?t:n<e?e:n;let mh=()=>{};const Kr={},t2=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function n2(e){return typeof e=="object"&&e!==null}const r2=e=>/^0[^.\s]+$/u.test(e);function s2(e){let t;return()=>(t===void 0&&(t=e()),t)}const Ut=e=>e,xR=(e,t)=>n=>t(e(n)),Aa=(...e)=>e.reduce(xR),oa=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r};class ph{constructor(){this.subscriptions=[]}add(t){return fh(this.subscriptions,t),()=>jc(this.subscriptions,t)}notify(t,n,r){const s=this.subscriptions.length;if(s)if(s===1)this.subscriptions[0](t,n,r);else for(let o=0;o<s;o++){const a=this.subscriptions[o];a&&a(t,n,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Dt=e=>e*1e3,$t=e=>e/1e3;function o2(e,t){return t?e*(1e3/t):0}const i2=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,bR=1e-7,wR=12;function SR(e,t,n,r,s){let o,a,l=0;do a=t+(n-t)/2,o=i2(a,r,s)-e,o>0?n=a:t=a;while(Math.abs(o)>bR&&++l<wR);return a}function Ta(e,t,n,r){if(e===t&&n===r)return Ut;const s=o=>SR(o,0,1,e,n);return o=>o===0||o===1?o:i2(s(o),t,r)}const a2=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,l2=e=>t=>1-e(1-t),c2=Ta(.33,1.53,.69,.99),hh=l2(c2),u2=a2(hh),d2=e=>e>=1?1:(e*=2)<1?.5*hh(e):.5*(2-Math.pow(2,-10*(e-1))),gh=e=>1-Math.sin(Math.acos(e)),f2=l2(gh),m2=a2(gh),jR=Ta(.42,0,1,1),CR=Ta(0,0,.58,1),p2=Ta(.42,0,.58,1),NR=e=>Array.isArray(e)&&typeof e[0]!="number",h2=e=>Array.isArray(e)&&typeof e[0]=="number",kR={linear:Ut,easeIn:jR,easeInOut:p2,easeOut:CR,circIn:gh,circInOut:m2,circOut:f2,backIn:hh,backInOut:u2,backOut:c2,anticipate:d2},ER=e=>typeof e=="string",oy=e=>{if(h2(e)){mh(e.length===4);const[t,n,r,s]=e;return Ta(t,n,r,s)}else if(ER(e))return kR[e];return e},al=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function AR(e,t){let n=new Set,r=new Set,s=!1,o=!1;const a=new WeakSet;let l={delta:0,timestamp:0,isProcessing:!1};function c(d){a.has(d)&&(u.schedule(d),e()),d(l)}const u={schedule:(d,f=!1,m=!1)=>{const w=m&&s?n:r;return f&&a.add(d),w.add(d),d},cancel:d=>{r.delete(d),a.delete(d)},process:d=>{if(l=d,s){o=!0;return}s=!0;const f=n;n=r,r=f,n.forEach(c),n.clear(),s=!1,o&&(o=!1,u.process(d))}};return u}const TR=40;function g2(e,t){let n=!1,r=!0;const s={delta:0,timestamp:0,isProcessing:!1},o=()=>n=!0,a=al.reduce((b,S)=>(b[S]=AR(o),b),{}),{setup:l,read:c,resolveKeyframes:u,preUpdate:d,update:f,preRender:m,render:p,postRender:w}=a,v=()=>{const b=Kr.useManualTiming,S=b?s.timestamp:performance.now();n=!1,b||(s.delta=r?1e3/60:Math.max(Math.min(S-s.timestamp,TR),1)),s.timestamp=S,s.isProcessing=!0,l.process(s),c.process(s),u.process(s),d.process(s),f.process(s),m.process(s),p.process(s),w.process(s),s.isProcessing=!1,n&&t&&(r=!1,e(v))},x=()=>{n=!0,r=!0,s.isProcessing||e(v)};return{schedule:al.reduce((b,S)=>{const j=a[S];return b[S]=(C,N=!1,E=!1)=>(n||x(),j.schedule(C,N,E)),b},{}),cancel:b=>{for(let S=0;S<al.length;S++)a[al[S]].cancel(b)},state:s,steps:a}}const{schedule:we,cancel:Gr,state:nt,steps:jd}=g2(typeof requestAnimationFrame<"u"?requestAnimationFrame:Ut,!0);let Ml;function PR(){Ml=void 0}const mt={now:()=>(Ml===void 0&&mt.set(nt.isProcessing||Kr.useManualTiming?nt.timestamp:performance.now()),Ml),set:e=>{Ml=e,queueMicrotask(PR)}},v2=e=>t=>typeof t=="string"&&t.startsWith(e),y2=v2("--"),MR=v2("var(--"),vh=e=>MR(e)?RR.test(e.split("/*")[0].trim()):!1,RR=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function iy(e){return typeof e!="string"?!1:e.split("/*")[0].includes("var(--")}const Yo={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},ia={...Yo,transform:e=>On(0,1,e)},ll={...Yo,default:1},Pi=e=>Math.round(e*1e5)/1e5,yh=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function IR(e){return e==null}const DR=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,xh=(e,t)=>n=>!!(typeof n=="string"&&DR.test(n)&&n.startsWith(e)||t&&!IR(n)&&Object.prototype.hasOwnProperty.call(n,t)),x2=(e,t,n)=>r=>{if(typeof r!="string")return r;const[s,o,a,l]=r.match(yh);return{[e]:parseFloat(s),[t]:parseFloat(o),[n]:parseFloat(a),alpha:l!==void 0?parseFloat(l):1}},LR=e=>On(0,255,e),Cd={...Yo,transform:e=>Math.round(LR(e))},ds={test:xh("rgb","red"),parse:x2("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+Cd.transform(e)+", "+Cd.transform(t)+", "+Cd.transform(n)+", "+Pi(ia.transform(r))+")"};function OR(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 dm={test:xh("#"),parse:OR,transform:ds.transform},Pa=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),hr=Pa("deg"),Dn=Pa("%"),Q=Pa("px"),FR=Pa("vh"),_R=Pa("vw"),ay={...Dn,parse:e=>Dn.parse(e)/100,transform:e=>Dn.transform(e*100)},oo={test:xh("hsl","hue"),parse:x2("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+Dn.transform(Pi(t))+", "+Dn.transform(Pi(n))+", "+Pi(ia.transform(r))+")"},Ue={test:e=>ds.test(e)||dm.test(e)||oo.test(e),parse:e=>ds.test(e)?ds.parse(e):oo.test(e)?oo.parse(e):dm.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?ds.transform(e):oo.transform(e),getAnimatableNone:e=>{const t=Ue.parse(e);return t.alpha=0,Ue.transform(t)}},zR=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function VR(e){var t,n;return isNaN(e)&&typeof e=="string"&&(((t=e.match(yh))==null?void 0:t.length)||0)+(((n=e.match(zR))==null?void 0:n.length)||0)>0}const b2="number",w2="color",BR="var",$R="var(",ly="${}",WR=/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 zo(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},s=[];let o=0;const l=t.replace(WR,c=>(Ue.test(c)?(r.color.push(o),s.push(w2),n.push(Ue.parse(c))):c.startsWith($R)?(r.var.push(o),s.push(BR),n.push(c)):(r.number.push(o),s.push(b2),n.push(parseFloat(c))),++o,ly)).split(ly);return{values:n,split:l,indexes:r,types:s}}function UR(e){return zo(e).values}function S2({split:e,types:t}){const n=e.length;return r=>{let s="";for(let o=0;o<n;o++)if(s+=e[o],r[o]!==void 0){const a=t[o];a===b2?s+=Pi(r[o]):a===w2?s+=Ue.transform(r[o]):s+=r[o]}return s}}function qR(e){return S2(zo(e))}const HR=e=>typeof e=="number"?0:Ue.test(e)?Ue.getAnimatableNone(e):e,KR=(e,t)=>typeof e=="number"?t!=null&&t.trim().endsWith("/")?e:0:HR(e);function GR(e){const t=zo(e);return S2(t)(t.values.map((r,s)=>KR(r,t.split[s])))}const un={test:VR,parse:UR,createTransformer:qR,getAnimatableNone:GR};function Nd(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 YR({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let s=0,o=0,a=0;if(!t)s=o=a=n;else{const l=n<.5?n*(1+t):n+t-n*t,c=2*n-l;s=Nd(c,l,e+1/3),o=Nd(c,l,e),a=Nd(c,l,e-1/3)}return{red:Math.round(s*255),green:Math.round(o*255),blue:Math.round(a*255),alpha:r}}function Cc(e,t){return n=>n>0?t:e}const Ae=(e,t,n)=>e+(t-e)*n,kd=(e,t,n)=>{const r=e*e,s=n*(t*t-r)+r;return s<0?0:Math.sqrt(s)},QR=[dm,ds,oo],XR=e=>QR.find(t=>t.test(e));function cy(e){const t=XR(e);if(!t)return!1;let n=t.parse(e);return t===oo&&(n=YR(n)),n}const uy=(e,t)=>{const n=cy(e),r=cy(t);if(!n||!r)return Cc(e,t);const s={...n};return o=>(s.red=kd(n.red,r.red,o),s.green=kd(n.green,r.green,o),s.blue=kd(n.blue,r.blue,o),s.alpha=Ae(n.alpha,r.alpha,o),ds.transform(s))},fm=new Set(["none","hidden"]);function ZR(e,t){return fm.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function JR(e,t){return n=>Ae(e,t,n)}function bh(e){return typeof e=="number"?JR:typeof e=="string"?vh(e)?Cc:Ue.test(e)?uy:nI:Array.isArray(e)?j2:typeof e=="object"?Ue.test(e)?uy:eI:Cc}function j2(e,t){const n=[...e],r=n.length,s=e.map((o,a)=>bh(o)(o,t[a]));return o=>{for(let a=0;a<r;a++)n[a]=s[a](o);return n}}function eI(e,t){const n={...e,...t},r={};for(const s in n)e[s]!==void 0&&t[s]!==void 0&&(r[s]=bh(e[s])(e[s],t[s]));return s=>{for(const o in r)n[o]=r[o](s);return n}}function tI(e,t){const n=[],r={color:0,var:0,number:0};for(let s=0;s<t.values.length;s++){const o=t.types[s],a=e.indexes[o][r[o]],l=e.values[a]??0;n[s]=l,r[o]++}return n}const nI=(e,t)=>{const n=un.createTransformer(t),r=zo(e),s=zo(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?fm.has(e)&&!s.values.length||fm.has(t)&&!r.values.length?ZR(e,t):Aa(j2(tI(r,s),s.values),n):Cc(e,t)};function C2(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?Ae(e,t,n):bh(e)(e,t)}const rI=e=>{const t=({timestamp:n})=>e(n);return{start:(n=!0)=>we.update(t,n),stop:()=>Gr(t),now:()=>nt.isProcessing?nt.timestamp:mt.now()}},N2=(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)})`},Nc=2e4;function wh(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t<Nc;)t+=n,r=e.next(t);return t>=Nc?1/0:t}function sI(e,t=100,n){const r=n({...e,keyframes:[0,t]}),s=Math.min(wh(r),Nc);return{type:"keyframes",ease:o=>r.next(s*o).value/t,duration:$t(s)}}const Ve={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function mm(e,t){return e*Math.sqrt(1-t*t)}const oI=12;function iI(e,t,n){let r=n;for(let s=1;s<oI;s++)r=r-e(r)/t(r);return r}const Ed=.001;function aI({duration:e=Ve.duration,bounce:t=Ve.bounce,velocity:n=Ve.velocity,mass:r=Ve.mass}){let s,o,a=1-t;a=On(Ve.minDamping,Ve.maxDamping,a),e=On(Ve.minDuration,Ve.maxDuration,$t(e)),a<1?(s=u=>{const d=u*a,f=d*e,m=d-n,p=mm(u,a),w=Math.exp(-f);return Ed-m/p*w},o=u=>{const f=u*a*e,m=f*n+n,p=Math.pow(a,2)*Math.pow(u,2)*e,w=Math.exp(-f),v=mm(Math.pow(u,2),a);return(-s(u)+Ed>0?-1:1)*((m-p)*w)/v}):(s=u=>{const d=Math.exp(-u*e),f=(u-n)*e+1;return-Ed+d*f},o=u=>{const d=Math.exp(-u*e),f=(n-u)*(e*e);return d*f});const l=5/e,c=iI(s,o,l);if(e=Dt(e),isNaN(c))return{stiffness:Ve.stiffness,damping:Ve.damping,duration:e};{const u=Math.pow(c,2)*r;return{stiffness:u,damping:a*2*Math.sqrt(r*u),duration:e}}}const lI=["duration","bounce"],cI=["stiffness","damping","mass"];function dy(e,t){return t.some(n=>e[n]!==void 0)}function uI(e){let t={velocity:Ve.velocity,stiffness:Ve.stiffness,damping:Ve.damping,mass:Ve.mass,isResolvedFromDuration:!1,...e};if(!dy(e,cI)&&dy(e,lI))if(t.velocity=0,e.visualDuration){const n=e.visualDuration,r=2*Math.PI/(n*1.2),s=r*r,o=2*On(.05,1,1-(e.bounce||0))*Math.sqrt(s);t={...t,mass:Ve.mass,stiffness:s,damping:o}}else{const n=aI({...e,velocity:0});t={...t,...n,mass:Ve.mass},t.isResolvedFromDuration=!0}return t}function kc(e=Ve.visualDuration,t=Ve.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:r,restDelta:s}=n;const o=n.keyframes[0],a=n.keyframes[n.keyframes.length-1],l={done:!1,value:o},{stiffness:c,damping:u,mass:d,duration:f,velocity:m,isResolvedFromDuration:p}=uI({...n,velocity:-$t(n.velocity||0)}),w=m||0,v=u/(2*Math.sqrt(c*d)),x=a-o,g=$t(Math.sqrt(c/d)),y=Math.abs(x)<5;r||(r=y?Ve.restSpeed.granular:Ve.restSpeed.default),s||(s=y?Ve.restDelta.granular:Ve.restDelta.default);let b,S,j,C,N,E;if(v<1)j=mm(g,v),C=(w+v*g*x)/j,b=P=>{const I=Math.exp(-v*g*P);return a-I*(C*Math.sin(j*P)+x*Math.cos(j*P))},N=v*g*C+x*j,E=v*g*x-C*j,S=P=>Math.exp(-v*g*P)*(N*Math.sin(j*P)+E*Math.cos(j*P));else if(v===1){b=I=>a-Math.exp(-g*I)*(x+(w+g*x)*I);const P=w+g*x;S=I=>Math.exp(-g*I)*(g*P*I-w)}else{const P=g*Math.sqrt(v*v-1);b=L=>{const q=Math.exp(-v*g*L),$=Math.min(P*L,300);return a-q*((w+v*g*x)*Math.sinh($)+P*x*Math.cosh($))/P};const I=(w+v*g*x)/P,F=v*g*I-x*P,H=v*g*x-I*P;S=L=>{const q=Math.exp(-v*g*L),$=Math.min(P*L,300);return q*(F*Math.sinh($)+H*Math.cosh($))}}const T={calculatedDuration:p&&f||null,velocity:P=>Dt(S(P)),next:P=>{if(!p&&v<1){const F=Math.exp(-v*g*P),H=Math.sin(j*P),L=Math.cos(j*P),q=a-F*(C*H+x*L),$=Dt(F*(N*H+E*L));return l.done=Math.abs($)<=r&&Math.abs(a-q)<=s,l.value=l.done?a:q,l}const I=b(P);if(p)l.done=P>=f;else{const F=Dt(S(P));l.done=Math.abs(F)<=r&&Math.abs(a-I)<=s}return l.value=l.done?a:I,l},toString:()=>{const P=Math.min(wh(T),Nc),I=N2(F=>T.next(P*F).value,P,30);return P+"ms "+I},toTransition:()=>{}};return T}kc.applyToOptions=e=>{const t=sI(e,100,kc);return e.ease=t.ease,e.duration=Dt(t.duration),e.type="keyframes",e};const dI=5;function k2(e,t,n){const r=Math.max(t-dI,0);return o2(n-e(r),t-r)}function pm({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:s=10,bounceStiffness:o=500,modifyTarget:a,min:l,max:c,restDelta:u=.5,restSpeed:d}){const f=e[0],m={done:!1,value:f},p=E=>l!==void 0&&E<l||c!==void 0&&E>c,w=E=>l===void 0?c:c===void 0||Math.abs(l-E)<Math.abs(c-E)?l:c;let v=n*t;const x=f+v,g=a===void 0?x:a(x);g!==x&&(v=g-f);const y=E=>-v*Math.exp(-E/r),b=E=>g+y(E),S=E=>{const T=y(E),P=b(E);m.done=Math.abs(T)<=u,m.value=m.done?g:P};let j,C;const N=E=>{p(m.value)&&(j=E,C=kc({keyframes:[m.value,w(m.value)],velocity:k2(b,E,m.value),damping:s,stiffness:o,restDelta:u,restSpeed:d}))};return N(0),{calculatedDuration:null,next:E=>{let T=!1;return!C&&j===void 0&&(T=!0,S(E),N(E)),j!==void 0&&E>=j?C.next(E-j):(!T&&S(E),m)}}}function fI(e,t,n){const r=[],s=n||Kr.mix||C2,o=e.length-1;for(let a=0;a<o;a++){let l=s(e[a],e[a+1]);if(t){const c=Array.isArray(t)?t[a]||Ut:t;l=Aa(c,l)}r.push(l)}return r}function mI(e,t,{clamp:n=!0,ease:r,mixer:s}={}){const o=e.length;if(mh(o===t.length),o===1)return()=>t[0];if(o===2&&t[0]===t[1])return()=>t[1];const a=e[0]===e[1];e[0]>e[o-1]&&(e=[...e].reverse(),t=[...t].reverse());const l=fI(t,r,s),c=l.length,u=d=>{if(a&&d<e[0])return t[0];let f=0;if(c>1)for(;f<e.length-2&&!(d<e[f+1]);f++);const m=oa(e[f],e[f+1],d);return l[f](m)};return n?d=>u(On(e[0],e[o-1],d)):u}function pI(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const s=oa(0,t,r);e.push(Ae(n,1,s))}}function hI(e){const t=[0];return pI(t,e.length-1),t}function gI(e,t){return e.map(n=>n*t)}function vI(e,t){return e.map(()=>t||p2).splice(0,e.length-1)}function Mi({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const s=NR(r)?r.map(oy):oy(r),o={done:!1,value:t[0]},a=gI(n&&n.length===t.length?n:hI(t),e),l=mI(a,t,{ease:Array.isArray(s)?s:vI(t,s)});return{calculatedDuration:e,next:c=>(o.value=l(c),o.done=c>=e,o)}}const yI=e=>e!==null;function xu(e,{repeat:t,repeatType:n="loop"},r,s=1){const o=e.filter(yI),l=s<0||t&&n!=="loop"&&t%2===1?0:o.length-1;return!l||r===void 0?o[l]:r}const xI={decay:pm,inertia:pm,tween:Mi,keyframes:Mi,spring:kc};function E2(e){typeof e.type=="string"&&(e.type=xI[e.type])}class Sh{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 bI=e=>e/100;class Ec extends Sh{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!==mt.now()&&this.tick(mt.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;E2(t);const{type:n=Mi,repeat:r=0,repeatDelay:s=0,repeatType:o,velocity:a=0}=t;let{keyframes:l}=t;const c=n||Mi;c!==Mi&&typeof l[0]!="number"&&(this.mixKeyframes=Aa(bI,C2(l[0],l[1])),l=[0,100]);const u=c({...t,keyframes:l});o==="mirror"&&(this.mirroredGenerator=c({...t,keyframes:[...l].reverse(),velocity:-a})),u.calculatedDuration===null&&(u.calculatedDuration=wh(u));const{calculatedDuration:d}=u;this.calculatedDuration=d,this.resolvedDuration=d+s,this.totalDuration=this.resolvedDuration*(r+1)-s,this.generator=u}updateTime(t){const n=Math.round(t-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=n}tick(t,n=!1){const{generator:r,totalDuration:s,mixKeyframes:o,mirroredGenerator:a,resolvedDuration:l,calculatedDuration:c}=this;if(this.startTime===null)return r.next(0);const{delay:u=0,keyframes:d,repeat:f,repeatType:m,repeatDelay:p,type:w,onUpdate:v,finalKeyframe:x}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-s/this.speed,this.startTime)),n?this.currentTime=t:this.updateTime(t);const g=this.currentTime-u*(this.playbackSpeed>=0?1:-1),y=this.playbackSpeed>=0?g<0:g>s;this.currentTime=Math.max(g,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=s);let b=this.currentTime,S=r;if(f){const E=Math.min(this.currentTime,s)/l;let T=Math.floor(E),P=E%1;!P&&E>=1&&(P=1),P===1&&T--,T=Math.min(T,f+1),!!(T%2)&&(m==="reverse"?(P=1-P,p&&(P-=p/l)):m==="mirror"&&(S=a)),b=On(0,1,P)*l}let j;y?(this.delayState.value=d[0],j=this.delayState):j=S.next(b),o&&!y&&(j.value=o(j.value));let{done:C}=j;!y&&c!==null&&(C=this.playbackSpeed>=0?this.currentTime>=s:this.currentTime<=0);const N=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&C);return N&&w!==pm&&(j.value=xu(d,this.options,x,this.speed)),v&&v(j.value),N&&this.finish(),j}then(t,n){return this.finished.then(t,n)}get duration(){return $t(this.calculatedDuration)}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+$t(t)}get time(){return $t(this.currentTime)}set time(t){t=Dt(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 k2(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(mt.now()),this.playbackSpeed=t,n&&this.driver&&(this.time=$t(this.currentTime))}play(){var s,o;if(this.isStopped)return;const{driver:t=rI,startTime:n}=this.options;this.driver||(this.driver=t(a=>this.tick(a))),(o=(s=this.options).onPlay)==null||o.call(s);const r=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=r):this.holdTime!==null?this.startTime=r-this.holdTime:this.startTime||(this.startTime=n??r),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(mt.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 wI(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}const fs=e=>e*180/Math.PI,hm=e=>{const t=fs(Math.atan2(e[1],e[0]));return gm(t)},SI={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:hm,rotateZ:hm,skewX:e=>fs(Math.atan(e[1])),skewY:e=>fs(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},gm=e=>(e=e%360,e<0&&(e+=360),e),fy=hm,my=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),py=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),jI={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:my,scaleY:py,scale:e=>(my(e)+py(e))/2,rotateX:e=>gm(fs(Math.atan2(e[6],e[5]))),rotateY:e=>gm(fs(Math.atan2(-e[2],e[0]))),rotateZ:fy,rotate:fy,skewX:e=>fs(Math.atan(e[4])),skewY:e=>fs(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function vm(e){return e.includes("scale")?1:0}function ym(e,t){if(!e||e==="none")return vm(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let r,s;if(n)r=jI,s=n;else{const l=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=SI,s=l}if(!s)return vm(t);const o=r[t],a=s[1].split(",").map(NI);return typeof o=="function"?o(a):a[o]}const CI=(e,t)=>{const{transform:n="none"}=getComputedStyle(e);return ym(n,t)};function NI(e){return parseFloat(e.trim())}const Qo=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Xo=new Set(Qo),hy=e=>e===Yo||e===Q,kI=new Set(["x","y","z"]),EI=Qo.filter(e=>!kI.has(e));function AI(e){const t=[];return EI.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})=>ym(t,"x"),y:(e,{transform:t})=>ym(t,"y")};Mr.translateX=Mr.x;Mr.translateY=Mr.y;const js=new Set;let xm=!1,bm=!1,wm=!1;function A2(){if(bm){const e=Array.from(js).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{const s=AI(r);s.length&&(n.set(r,s),r.render())}),e.forEach(r=>r.measureInitialState()),t.forEach(r=>{r.render();const s=n.get(r);s&&s.forEach(([o,a])=>{var l;(l=r.getValue(o))==null||l.set(a)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}bm=!1,xm=!1,js.forEach(e=>e.complete(wm)),js.clear()}function T2(){js.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(bm=!0)})}function TI(){wm=!0,T2(),A2(),wm=!1}class jh{constructor(t,n,r,s,o,a=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=r,this.motionValue=s,this.element=o,this.isAsync=a}scheduleResolve(){this.state="scheduled",this.isAsync?(js.add(this),xm||(xm=!0,we.read(T2),we.resolveKeyframes(A2))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:r,motionValue:s}=this;if(t[0]===null){const o=s==null?void 0:s.get(),a=t[t.length-1];if(o!==void 0)t[0]=o;else if(r&&n){const l=r.readValue(n,a);l!=null&&(t[0]=l)}t[0]===void 0&&(t[0]=a),s&&o===void 0&&s.set(t[0])}wI(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),js.delete(this)}cancel(){this.state==="scheduled"&&(js.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const PI=e=>e.startsWith("--");function P2(e,t,n){PI(t)?e.style.setProperty(t,n):e.style[t]=n}const MI={};function M2(e,t){const n=s2(e);return()=>MI[t]??n()}const RI=M2(()=>window.ScrollTimeline!==void 0,"scrollTimeline"),R2=M2(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),vi=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,gy={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:vi([0,.65,.55,1]),circOut:vi([.55,0,1,.45]),backIn:vi([.31,.01,.66,-.59]),backOut:vi([.33,1.53,.69,.99])};function I2(e,t){if(e)return typeof e=="function"?R2()?N2(e,t):"ease-out":h2(e)?vi(e):Array.isArray(e)?e.map(n=>I2(n,t)||gy.easeOut):gy[e]}function II(e,t,n,{delay:r=0,duration:s=300,repeat:o=0,repeatType:a="loop",ease:l="easeOut",times:c}={},u=void 0){const d={[t]:n};c&&(d.offset=c);const f=I2(l,s);Array.isArray(f)&&(d.easing=f);const m={delay:r,duration:s,easing:Array.isArray(f)?"linear":f,fill:"both",iterations:o+1,direction:a==="reverse"?"alternate":"normal"};return u&&(m.pseudoElement=u),e.animate(d,m)}function D2(e){return typeof e=="function"&&"applyToOptions"in e}function DI({type:e,...t}){return D2(e)&&R2()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class L2 extends Sh{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;const{element:n,name:r,keyframes:s,pseudoElement:o,allowFlatten:a=!1,finalKeyframe:l,onComplete:c}=t;this.isPseudoElement=!!o,this.allowFlatten=a,this.options=t,mh(typeof t.type!="string");const u=DI(t);this.animation=II(n,r,s,u,o),u.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!o){const d=xu(s,this.options,l,this.speed);this.updateMotionValue&&this.updateMotionValue(d),P2(n,r,d),this.animation.cancel()}c==null||c(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){var t,n;(n=(t=this.animation).finish)==null||n.call(t)}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:t}=this;t==="idle"||t==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){var n,r,s;const t=(n=this.options)==null?void 0:n.element;!this.isPseudoElement&&(t!=null&&t.isConnected)&&((s=(r=this.animation).commitStyles)==null||s.call(r))}get duration(){var n,r;const t=((r=(n=this.animation.effect)==null?void 0:n.getComputedTiming)==null?void 0:r.call(n).duration)||0;return $t(Number(t))}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+$t(t)}get time(){return $t(Number(this.animation.currentTime)||0)}set time(t){const n=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=Dt(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&&RI()?(this.animation.timeline=t,n&&(this.animation.rangeStart=n),r&&(this.animation.rangeEnd=r),Ut):s(this)}}const O2={anticipate:d2,backInOut:u2,circInOut:m2};function LI(e){return e in O2}function OI(e){typeof e.ease=="string"&&LI(e.ease)&&(e.ease=O2[e.ease])}const Ad=10;class FI extends L2{constructor(t){OI(t),E2(t),super(t),t.startTime!==void 0&&t.autoplay!==!1&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){const{motionValue:n,onUpdate:r,onComplete:s,element:o,...a}=this.options;if(!n)return;if(t!==void 0){n.set(t);return}const l=new Ec({...a,autoplay:!1}),c=Math.max(Ad,mt.now()-this.startTime),u=On(0,Ad,c-Ad),d=l.sample(c).value,{name:f}=this.options;o&&f&&P2(o,f,d),n.setWithVelocity(l.sample(Math.max(0,c-u)).value,d,u),l.stop()}}const vy=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(un.test(e)||e==="0")&&!e.startsWith("url("));function _I(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 zI(e,t,n,r){const s=e[0];if(s===null)return!1;if(t==="display"||t==="visibility")return!0;
338const o=e[e.length-1],a=vy(s,t),l=vy(o,t);return!a||!l?!1:_I(e)||(n==="spring"||D2(n))&&r}function Sm(e){e.duration=0,e.type="keyframes"}const F2=new Set(["opacity","clipPath","filter","transform"]),VI=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function BI(e){for(let t=0;t<e.length;t++)if(typeof e[t]=="string"&&VI.test(e[t]))return!0;return!1}const $I=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),WI=s2(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function UI(e){var f;const{motionValue:t,name:n,repeatDelay:r,repeatType:s,damping:o,type:a,keyframes:l}=e;if(!(((f=t==null?void 0:t.owner)==null?void 0:f.current)instanceof HTMLElement))return!1;const{onUpdate:u,transformTemplate:d}=t.owner.getProps();return WI()&&n&&(F2.has(n)||$I.has(n)&&BI(l))&&(n!=="transform"||!d)&&!u&&!r&&s!=="mirror"&&o!==0&&a!=="inertia"}const qI=40;class HI extends Sh{constructor({autoplay:t=!0,delay:n=0,type:r="keyframes",repeat:s=0,repeatDelay:o=0,repeatType:a="loop",keyframes:l,name:c,motionValue:u,element:d,...f}){var w;super(),this.stop=()=>{var v,x;this._animation&&(this._animation.stop(),(v=this.stopTimeline)==null||v.call(this)),(x=this.keyframeResolver)==null||x.cancel()},this.createdAt=mt.now();const m={autoplay:t,delay:n,type:r,repeat:s,repeatDelay:o,repeatType:a,name:c,motionValue:u,element:d,...f},p=(d==null?void 0:d.KeyframeResolver)||jh;this.keyframeResolver=new p(l,(v,x,g)=>this.onKeyframesResolved(v,x,m,!g),c,u,d),(w=this.keyframeResolver)==null||w.scheduleResolve()}onKeyframesResolved(t,n,r,s){var g,y;this.keyframeResolver=void 0;const{name:o,type:a,velocity:l,delay:c,isHandoff:u,onUpdate:d}=r;this.resolvedAt=mt.now();let f=!0;zI(t,o,a,l)||(f=!1,(Kr.instantAnimations||!c)&&(d==null||d(xu(t,r,n))),t[0]=t[t.length-1],Sm(r),r.repeat=0);const p={startTime:s?this.resolvedAt?this.resolvedAt-this.createdAt>qI?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...r,keyframes:t},w=f&&!u&&UI(p),v=(y=(g=p.motionValue)==null?void 0:g.owner)==null?void 0:y.current;let x;if(w)try{x=new FI({...p,element:v})}catch{x=new Ec(p)}else x=new Ec(p);x.finished.then(()=>{this.notifyFinished()}).catch(Ut),this.pendingTimeline&&(this.stopTimeline=x.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=x}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(),TI()),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 _2(e,t,n,r=0,s=1){const o=Array.from(e).sort((u,d)=>u.sortNodePosition(d)).indexOf(t),a=e.size,l=(a-1)*r;return typeof n=="function"?n(o,a):s===1?o*r:l-o*r}const KI=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function GI(e){const t=KI.exec(e);if(!t)return[,];const[,n,r,s]=t;return[`--${n??r}`,s]}function z2(e,t,n=1){const[r,s]=GI(e);if(!r)return;const o=window.getComputedStyle(t).getPropertyValue(r);if(o){const a=o.trim();return t2(a)?parseFloat(a):a}return vh(s)?z2(s,t,n+1):s}const YI={type:"spring",stiffness:500,damping:25,restSpeed:10},QI=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),XI={type:"keyframes",duration:.8},ZI={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},JI=(e,{keyframes:t})=>t.length>2?XI:Xo.has(e)?e.startsWith("scale")?QI(t[1]):YI:ZI;function V2(e,t){if(e!=null&&e.inherit&&t){const{inherit:n,...r}=e;return{...t,...r}}return e}function Ch(e,t){const n=(e==null?void 0:e[t])??(e==null?void 0:e.default)??e;return n!==e?V2(n,e):n}const e3=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);function t3(e){for(const t in e)if(!e3.has(t))return!0;return!1}const Nh=(e,t,n,r={},s,o)=>a=>{const l=Ch(r,e)||{},c=l.delay||r.delay||0;let{elapsed:u=0}=r;u=u-Dt(c);const d={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...l,delay:-u,onUpdate:m=>{t.set(m),l.onUpdate&&l.onUpdate(m)},onComplete:()=>{a(),l.onComplete&&l.onComplete()},name:e,motionValue:t,element:o?void 0:s};t3(l)||Object.assign(d,JI(e,d)),d.duration&&(d.duration=Dt(d.duration)),d.repeatDelay&&(d.repeatDelay=Dt(d.repeatDelay)),d.from!==void 0&&(d.keyframes[0]=d.from);let f=!1;if((d.type===!1||d.duration===0&&!d.repeatDelay)&&(Sm(d),d.delay===0&&(f=!0)),(Kr.instantAnimations||Kr.skipAnimations||s!=null&&s.shouldSkipAnimations)&&(f=!0,Sm(d),d.delay=0),d.allowFlatten=!l.type&&!l.ease,f&&!o&&t.get()!==void 0){const m=xu(d.keyframes,l);if(m!==void 0){we.update(()=>{d.onUpdate(m),d.onComplete()});return}}return l.isSync?new Ec(d):new HI(d)};function yy(e){const t=[{},{}];
vendor: 60,382 bytes, line 338
338return e==null||e.values.forEach((n,r)=>{t[0][r]=n.get(),t[1][r]=n.getVelocity()}),t}function kh(e,t,n,r){if(typeof t=="function"){const[s,o]=yy(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]=yy(r);t=t(n!==void 0?n:e.custom,s,o)}return t}function Cs(e,t,n){const r=e.getProps();return kh(r,t,n!==void 0?n:r.custom,e)}const B2=new Set(["width","height","top","left","right","bottom",...Qo]),xy=30,n3=e=>!isNaN(parseFloat(e));class r3{constructor(t,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=r=>{var o;const s=mt.now();if(this.updatedAt!==s&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&((o=this.events.change)==null||o.notify(this.current),this.dependents))for(const a of this.dependents)a.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=mt.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=n3(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 ph);const r=this.events[t].add(n);return t==="change"?()=>{r(),we.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,n,r){this.set(n),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-r}jump(t,n=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){var t;(t=this.events.change)==null||t.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const t=mt.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>xy)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,xy);return o2(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 Vo(e,t){return new r3(e,t)}const jm=e=>Array.isArray(e);function s3(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Vo(n))}function o3(e){return jm(e)?e[e.length-1]||0:e}function i3(e,t){const n=Cs(e,t);let{transitionEnd:r={},transition:s={},...o}=n||{};o={...o,...r};for(const a in o){const l=o3(o[a]);s3(e,a,l)}}const rt=e=>!!(e&&e.getVelocity);function a3(e){return!!(rt(e)&&e.add)}function Cm(e,t){const n=e.getValue("willChange");if(a3(n))return n.add(t);if(!n&&Kr.WillChange){const r=new Kr.WillChange("auto");e.addValue("willChange",r),r.add(t)}}function Eh(e){return e.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}const l3="framerAppearId",$2="data-"+Eh(l3);function W2(e){return e.props[$2]}function c3({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function U2(e,t,{delay:n=0,transitionOverride:r,type:s}={}){let{transition:o,transitionEnd:a,...l}=t;const c=e.getDefaultTransition();o=o?V2(o,c):c;const u=o==null?void 0:o.reduceMotion;r&&(o=r);const d=[],f=s&&e.animationState&&e.animationState.getState()[s];for(const m in l){const p=e.getValue(m,e.latestValues[m]??null),w=l[m];if(w===void 0||f&&c3(f,m))continue;const v={delay:n,...Ch(o||{},m)},x=p.get();if(x!==void 0&&!p.isAnimating()&&!Array.isArray(w)&&w===x&&!v.velocity){we.update(()=>p.set(w));continue}let g=!1;if(window.MotionHandoffAnimation){const S=W2(e);if(S){const j=window.MotionHandoffAnimation(S,m,we);j!==null&&(v.startTime=j,g=!0)}}Cm(e,m);const y=u??e.shouldReduceMotion;p.start(Nh(m,p,w,y&&B2.has(m)?{type:!1}:v,e,g));const b=p.animation;b&&d.push(b)}if(a){const m=()=>we.update(()=>{a&&i3(e,a)});d.length?Promise.all(d).then(m):m()}return d}function Nm(e,t,n={}){var c;const r=Cs(e,t,n.type==="exit"?(c=e.presenceContext)==null?void 0:c.custom:void 0);let{transition:s=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(s=n.transitionOverride);const o=r?()=>Promise.all(U2(e,r,n)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(u=0)=>{const{delayChildren:d=0,staggerChildren:f,staggerDirection:m}=s;return u3(e,t,u,d,f,m,n)}:()=>Promise.resolve(),{when:l}=s;if(l){const[u,d]=l==="beforeChildren"?[o,a]:[a,o];return u().then(()=>d())}else return Promise.all([o(),a(n.delay)])}function u3(e,t,n=0,r=0,s=0,o=1,a){const l=[];for(const c of e.variantChildren)c.notify("AnimationStart",t),l.push(Nm(c,t,{...a,delay:n+(typeof r=="function"?0:r)+_2(e.variantChildren,c,r,s,o)}).then(()=>c.notify("AnimationComplete",t)));return Promise.all(l)}function d3(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const s=t.map(o=>Nm(e,o,n));r=Promise.all(s)}else if(typeof t=="string")r=Nm(e,t,n);else{const s=typeof t=="function"?Cs(e,t,n.custom):t;r=Promise.all(U2(e,s,n))}return r.then(()=>{e.notify("AnimationComplete",t)})}const f3={test:e=>e==="auto",parse:e=>e},q2=e=>t=>t.test(e),H2=[Yo,Q,Dn,hr,_R,FR,f3],by=e=>H2.find(q2(e));function m3(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||r2(e):!0}const p3=new Set(["brightness","contrast","saturate","opacity"]);function h3(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(yh)||[];if(!r)return e;const s=n.replace(r,"");let o=p3.has(t)?1:0;return r!==n&&(o*=100),t+"("+o+s+")"}const g3=/\b([a-z-]*)\(.*?\)/gu,km={...un,getAnimatableNone:e=>{const t=e.match(g3);return t?t.map(h3).join(" "):e}},Em={...un,getAnimatableNone:e=>{const t=un.parse(e);return un.createTransformer(e)(t.map(r=>typeof r=="number"?0:typeof r=="object"?{...r,alpha:1}:r))}},wy={...Yo,transform:Math.round},v3={rotate:hr,rotateX:hr,rotateY:hr,rotateZ:hr,scale:ll,scaleX:ll,scaleY:ll,scaleZ:ll,skew:hr,skewX:hr,skewY:hr,distance:Q,translateX:Q,translateY:Q,translateZ:Q,x:Q,y:Q,z:Q,perspective:Q,transformPerspective:Q,opacity:ia,originX:ay,originY:ay,originZ:Q},Ah={borderWidth:Q,borderTopWidth:Q,borderRightWidth:Q,borderBottomWidth:Q,borderLeftWidth:Q,borderRadius:Q,borderTopLeftRadius:Q,borderTopRightRadius:Q,borderBottomRightRadius:Q,borderBottomLeftRadius:Q,width:Q,maxWidth:Q,height:Q,maxHeight:Q,top:Q,right:Q,bottom:Q,left:Q,inset:Q,insetBlock:Q,insetBlockStart:Q,insetBlockEnd:Q,insetInline:Q,insetInlineStart:Q,insetInlineEnd:Q,padding:Q,paddingTop:Q,paddingRight:Q,paddingBottom:Q,paddingLeft:Q,paddingBlock:Q,paddingBlockStart:Q,paddingBlockEnd:Q,paddingInline:Q,paddingInlineStart:Q,paddingInlineEnd:Q,margin:Q,marginTop:Q,marginRight:Q,marginBottom:Q,marginLeft:Q,marginBlock:Q,marginBlockStart:Q,marginBlockEnd:Q,marginInline:Q,marginInlineStart:Q,marginInlineEnd:Q,fontSize:Q,backgroundPositionX:Q,backgroundPositionY:Q,...v3,zIndex:wy,fillOpacity:ia,strokeOpacity:ia,numOctaves:wy},y3={...Ah,color:Ue,backgroundColor:Ue,outlineColor:Ue,fill:Ue,stroke:Ue,borderColor:Ue,borderTopColor:Ue,borderRightColor:Ue,borderBottomColor:Ue,borderLeftColor:Ue,filter:km,WebkitFilter:km,mask:Em,WebkitMask:Em},K2=e=>y3[e],x3=new Set([km,Em]);function G2(e,t){let n=K2(e);return x3.has(n)||(n=un),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const b3=new Set(["auto","none","0"]);function w3(e,t,n){let r=0,s;for(;r<e.length&&!s;){const o=e[r];typeof o=="string"&&!b3.has(o)&&zo(o).values.length&&(s=e[r]),r++}if(s&&n)for(const o of t)e[o]=G2(n,s)}class S3 extends jh{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(),vh(f))){const m=z2(f,n.current);m!==void 0&&(t[d]=m),d===t.length-1&&(this.finalKeyframe=f)}}if(this.resolveNoneKeyframes(),!B2.has(r)||t.length!==2)return;const[s,o]=t,a=by(s),l=by(o),c=iy(s),u=iy(o);if(c!==u&&Mr[r]){this.needsMeasurement=!0;return}if(a!==l)if(hy(a)&&hy(l))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||m3(t[s]))&&r.push(s);r.length&&w3(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 l;const{element:t,name:n,unresolvedKeyframes:r}=this;if(!t||!t.current)return;const s=t.getValue(n);s&&s.jump(this.measuredOrigin,!1);const o=r.length-1,a=r[o];r[o]=Mr[n](t.measureViewportBox(),window.getComputedStyle(t.current)),a!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=a),(l=this.removedTransforms)!=null&&l.length&&this.removedTransforms.forEach(([c,u])=>{t.getValue(c).set(u)}),this.resolveNoneKeyframes()}}function Th(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 Y2=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function Rl(e){return n2(e)&&"offsetHeight"in e&&!("ownerSVGElement"in e)}const{schedule:Ph}=g2(queueMicrotask,!1),tn={x:!1,y:!1};function Q2(){return tn.x||tn.y}function j3(e){return e==="x"||e==="y"?tn[e]?null:(tn[e]=!0,()=>{tn[e]=!1}):tn.x||tn.y?null:(tn.x=tn.y=!0,()=>{tn.x=tn.y=!1})}function X2(e,t){const n=Th(e),r=new AbortController,s={passive:!0,...t,signal:r.signal};return[n,s,()=>r.abort()]}function C3(e){return!(e.pointerType==="touch"||Q2())}function N3(e,t,n={}){const[r,s,o]=X2(e,n);return r.forEach(a=>{let l=!1,c=!1,u;const d=()=>{a.removeEventListener("pointerleave",w)},f=x=>{u&&(u(x),u=void 0),d()},m=x=>{l=!1,window.removeEventListener("pointerup",m),window.removeEventListener("pointercancel",m),c&&(c=!1,f(x))},p=()=>{l=!0,window.addEventListener("pointerup",m,s),window.addEventListener("pointercancel",m,s)},w=x=>{if(x.pointerType!=="touch"){if(l){c=!0;return}f(x)}},v=x=>{if(!C3(x))return;c=!1;const g=t(a,x);typeof g=="function"&&(u=g,a.addEventListener("pointerleave",w,s))};a.addEventListener("pointerenter",v,s),a.addEventListener("pointerdown",p,s)}),o}const Z2=(e,t)=>t?e===t?!0:Z2(e,t.parentElement):!1,Mh=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,k3=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function E3(e){return k3.has(e.tagName)||e.isContentEditable===!0}const A3=new Set(["INPUT","SELECT","TEXTAREA"]);function T3(e){return A3.has(e.tagName)||e.isContentEditable===!0}const Il=new WeakSet;function Sy(e){return t=>{t.key==="Enter"&&e(t)}}function Td(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const P3=(e,t)=>{const n=e.currentTarget;if(!n)return;const r=Sy(()=>{if(Il.has(n))return;Td(n,"down");const s=Sy(()=>{Td(n,"up")}),o=()=>Td(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 jy(e){return Mh(e)&&!Q2()}const Cy=new WeakSet;function M3(e,t,n={}){const[r,s,o]=X2(e,n),a=l=>{const c=l.currentTarget;if(!jy(l)||Cy.has(l))return;Il.add(c),n.stopPropagation&&Cy.add(l);const u=t(c,l),d=(p,w)=>{window.removeEventListener("pointerup",f),window.removeEventListener("pointercancel",m),Il.has(c)&&Il.delete(c),jy(p)&&typeof u=="function"&&u(p,{success:w})},f=p=>{d(p,c===window||c===document||n.useGlobalTarget||Z2(c,p.target))},m=p=>{d(p,!1)};window.addEventListener("pointerup",f,s),window.addEventListener("pointercancel",m,s)};return r.forEach(l=>{(n.useGlobalTarget?window:l).addEventListener("pointerdown",a,s),Rl(l)&&(l.addEventListener("focus",u=>P3(u,s)),!E3(l)&&!l.hasAttribute("tabindex")&&(l.tabIndex=0))}),o}function Rh(e){return n2(e)&&"ownerSVGElement"in e}const Dl=new WeakMap;let gr;const J2=(e,t,n)=>(r,s)=>s&&s[0]?s[0][e+"Size"]:Rh(r)&&"getBBox"in r?r.getBBox()[t]:r[n],R3=J2("inline","width","offsetWidth"),I3=J2("block","height","offsetHeight");function D3({target:e,borderBoxSize:t}){var n;(n=Dl.get(e))==null||n.forEach(r=>{r(e,{get width(){return R3(e,t)},get height(){return I3(e,t)}})})}function L3(e){e.forEach(D3)}function O3(){typeof ResizeObserver>"u"||(gr=new ResizeObserver(L3))}function F3(e,t){gr||O3();const n=Th(e);return n.forEach(r=>{let s=Dl.get(r);s||(s=new Set,Dl.set(r,s)),s.add(t),gr==null||gr.observe(r)}),()=>{n.forEach(r=>{const s=Dl.get(r);s==null||s.delete(t),s!=null&&s.size||gr==null||gr.unobserve(r)})}}const Ll=new Set;let io;function _3(){io=()=>{const e={get width(){return window.innerWidth},get height(){return window.innerHeight}};Ll.forEach(t=>t(e))},window.addEventListener("resize",io)}function z3(e){return Ll.add(e),io||_3(),()=>{Ll.delete(e),!Ll.size&&typeof io=="function"&&(window.removeEventListener("resize",io),io=void 0)}}function Ny(e,t){return typeof e=="function"?z3(e):F3(e,t)}function V3(e){return Rh(e)&&e.tagName==="svg"}const B3=[...H2,Ue,un],$3=e=>B3.find(q2(e)),ky=()=>({translate:0,scale:1,origin:0,originPoint:0}),ao=()=>({x:ky(),y:ky()}),Ey=()=>({min:0,max:0}),Ke=()=>({x:Ey(),y:Ey()}),W3=new WeakMap;function bu(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function aa(e){return typeof e=="string"||Array.isArray(e)}const Ih=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Dh=["initial",...Ih];function wu(e){return bu(e.animate)||Dh.some(t=>aa(e[t]))}function eS(e){return!!(wu(e)||e.variants)}function U3(e,t,n){for(const r in t){const s=t[r],o=n[r];if(rt(s))e.addValue(r,s);else if(rt(o))e.addValue(r,Vo(s,{owner:e}));else if(o!==s)if(e.hasValue(r)){const a=e.getValue(r);a.liveStyle===!0?a.jump(s):a.hasAnimated||a.set(s)}else{const a=e.getStaticValue(r);e.addValue(r,Vo(a!==void 0?a:s,{owner:e}))}}for(const r in n)t[r]===void 0&&e.removeValue(r);return t}const Am={current:null},tS={current:!1},q3=typeof window<"u";function H3(){if(tS.current=!0,!!q3)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Am.current=e.matches;e.addEventListener("change",t),t()}else Am.current=!1}const Ay=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let Ac={};function nS(e){Ac=e}function K3(){return Ac}class G3{scrapeMotionValuesFromProps(t,n,r){return{}}constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:s,skipAnimations:o,blockInitialAnimation:a,visualState:l},c={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=jh,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=mt.now();this.renderScheduledAt<p&&(this.renderScheduledAt=p,we.render(this.render,!1,!0))};const{latestValues:u,renderState:d}=l;this.latestValues=u,this.baseTarget={...u},this.initialValues=n.initial?{...u}:{},this.renderState=d,this.parent=t,this.props=n,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=s,this.skipAnimationsConfig=o,this.options=c,this.blockInitialAnimation=!!a,this.isControllingVariants=wu(n),this.isVariantNode=eS(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:f,...m}=this.scrapeMotionValuesFromProps(n,{},this);for(const p in m){const w=m[p];u[p]!==void 0&&rt(w)&&w.set(u[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,W3.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:(tS.current||H3(),this.shouldReduceMotion=Am.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(),Gr(this.notifyUpdate),Gr(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&&F2.has(t)&&this.current instanceof HTMLElement){const{factory:a,keyframes:l,times:c,ease:u,duration:d}=n.accelerate,f=new L2({element:this.current,name:t,keyframes:l,times:c,ease:u,duration:Dt(d)}),m=a(f);this.valueSubscriptions.set(t,()=>{m(),f.cancel()});return}const r=Xo.has(t);r&&this.onBindTransform&&this.onBindTransform();const s=n.on("change",a=>{this.latestValues[t]=a,this.props.onUpdate&&we.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 Ac){const n=Ac[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):Ke()}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<Ay.length;r++){const s=Ay[r];this.propEventSubscriptions[s]&&(this.propEventSubscriptions[s](),delete this.propEventSubscriptions[s]);const o="on"+s,a=t[o];a&&(this.propEventSubscriptions[s]=this.on(s,a))}this.prevMotionValues=U3(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=Vo(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"&&(t2(r)||r2(r))?r=parseFloat(r):!$3(r)&&un.test(n)&&(r=G2(t,n)),this.setBaseTarget(t,rt(r)?r.get():r)),rt(r)?r.get():r}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var o;const{initial:n}=this.props;let r;if(typeof n=="string"||typeof n=="object"){const a=kh(this.props,n,(o=this.presenceContext)==null?void 0:o.custom);a&&(r=a[t])}if(n&&r!==void 0)return r;const s=this.getBaseTargetFromProps(this.props,t);return s!==void 0&&!rt(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 ph),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}scheduleRenderMicrotask(){Ph.render(this.render)}}class rS extends G3{constructor(){super(...arguments),this.KeyframeResolver=S3}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;rt(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}class es{constructor(t){this.isMounted=!1,this.node=t}update(){}}function sS({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function Y3({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function Q3(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 Pd(e){return e===void 0||e===1}function Tm({scale:e,scaleX:t,scaleY:n}){return!Pd(e)||!Pd(t)||!Pd(n)}function as(e){return Tm(e)||oS(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function oS(e){return Ty(e.x)||Ty(e.y)}function Ty(e){return e&&e!=="0%"}function Tc(e,t,n){const r=e-n,s=t*r;return n+s}function Py(e,t,n,r,s){return s!==void 0&&(e=Tc(e,s,r)),Tc(e,n,r)+t}function Pm(e,t=0,n=1,r,s){e.min=Py(e.min,t,n,r,s),e.max=Py(e.max,t,n,r,s)}function iS(e,{x:t,y:n}){Pm(e.x,t.translate,t.scale,t.originPoint),Pm(e.y,n.translate,n.scale,n.originPoint)}const My=.999999999999,Ry=1.0000000000001;function X3(e,t,n,r=!1){var l;const s=n.length;if(!s)return;t.x=t.y=1;let o,a;for(let c=0;c<s;c++){o=n[c],a=o.projectionDelta;const{visualElement:u}=o.options;u&&u.props.style&&u.props.style.display==="contents"||(r&&o.options.layoutScroll&&o.scroll&&o!==o.root&&(En(e.x,-o.scroll.offset.x),En(e.y,-o.scroll.offset.y)),a&&(t.x*=a.x.scale,t.y*=a.y.scale,iS(e,a)),r&&as(o.latestValues)&&Ol(e,o.latestValues,(l=o.layout)==null?void 0:l.layoutBox))}t.x<Ry&&t.x>My&&(t.x=1),t.y<Ry&&t.y>My&&(t.y=1)}function En(e,t){e.min+=t,e.max+=t}function Iy(e,t,n,r,s=.5){const o=Ae(e.min,e.max,s);Pm(e,t,n,o,r)}function Dy(e,t){return typeof e=="string"?parseFloat(e)/100*(t.max-t.min):e}function Ol(e,t,n){const r=n??e;Iy(e.x,Dy(t.x,r.x),t.scaleX,t.scale,t.originX),Iy(e.y,Dy(t.y,r.y),t.scaleY,t.scale,t.originY)}function aS(e,t){return sS(Q3(e.getBoundingClientRect(),t))}function Z3(e,t,n){const r=aS(e,n),{scroll:s}=t;return s&&(En(r.x,s.offset.x),En(r.y,s.offset.y)),r}const J3={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},e5=Qo.length;function t5(e,t,n){let r="",s=!0;for(let o=0;o<e5;o++){const a=Qo[o],l=e[a];if(l===void 0)continue;let c=!0;if(typeof l=="number")c=l===(a.startsWith("scale")?1:0);else{const u=parseFloat(l);c=a.startsWith("scale")?u===1:u===0}if(!c||n){const u=Y2(l,Ah[a]);if(!c){s=!1;const d=J3[a]||a;r+=`${d}(${u}) `}n&&(t[a]=u)}}return r=r.trim(),n?r=n(t,s?"":r):s&&(r="none"),r}function Lh(e,t,n){const{style:r,vars:s,transformOrigin:o}=e;let a=!1,l=!1;for(const c in t){const u=t[c];if(Xo.has(c)){a=!0;continue}else if(y2(c)){s[c]=u;continue}else{const d=Y2(u,Ah[c]);c.startsWith("origin")?(l=!0,o[c]=d):r[c]=d}}if(t.transform||(a||n?r.transform=t5(t,e.transform,n):r.transform&&(r.transform="none")),l){const{originX:c="50%",originY:u="50%",originZ:d=0}=o;r.transformOrigin=`${c} ${u} ${d}`}}function lS(e,{style:t,vars:n},r,s){const o=e.style;let a;for(a in t)o[a]=t[a];s==null||s.applyProjectionStyles(o,r);for(a in n)o.setProperty(a,n[a])}function Ly(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const di={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(Q.test(e))e=parseFloat(e);else return e;const n=Ly(e,t.target.x),r=Ly(e,t.target.y);return`${n}% ${r}%`}},n5={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,s=un.parse(e);if(s.length>5)return r;const o=un.createTransformer(e),a=typeof s[0]!="number"?1:0,l=n.x.scale*t.x,c=n.y.scale*t.y;s[0+a]/=l,s[1+a]/=c;const u=Ae(l,c,.5);return typeof s[2+a]=="number"&&(s[2+a]/=u),typeof s[3+a]=="number"&&(s[3+a]/=u),o(s)}},Mm={borderRadius:{...di,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:di,borderTopRightRadius:di,borderBottomLeftRadius:di,borderBottomRightRadius:di,boxShadow:n5};function cS(e,{layout:t,layoutId:n}){return Xo.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!Mm[e]||e==="opacity")}function Oh(e,t,n){var a;const r=e.style,s=t==null?void 0:t.style,o={};if(!r)return o;for(const l in r)(rt(r[l])||s&&rt(s[l])||cS(l,e)||((a=n==null?void 0:n.getValue(l))==null?void 0:a.liveStyle)!==void 0)&&(o[l]=r[l]);return o}function r5(e){return window.getComputedStyle(e)}class s5 extends rS{constructor(){super(...arguments),this.type="html",this.renderInstance=lS}readValueFromInstance(t,n){var r;if(Xo.has(n))return(r=this.projection)!=null&&r.isProjecting?vm(n):CI(t,n);{const s=r5(t),o=(y2(n)?s.getPropertyValue(n):s[n])||0;return typeof o=="string"?o.trim():o}}measureInstanceViewportBox(t,{transformPagePoint:n}){return aS(t,n)}build(t,n,r){Lh(t,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return Oh(t,n,r)}}const o5={offset:"stroke-dashoffset",array:"stroke-dasharray"},i5={offset:"strokeDashoffset",array:"strokeDasharray"};function a5(e,t,n=1,r=0,s=!0){e.pathLength=1;const o=s?o5:i5;e[o.offset]=`${-r}`,e[o.array]=`${t} ${n}`}const l5=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function uS(e,{attrX:t,attrY:n,attrScale:r,pathLength:s,pathSpacing:o=1,pathOffset:a=0,...l},c,u,d){if(Lh(e,l,u),c){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:f,style:m}=e;f.transform&&(m.transform=f.transform,delete f.transform),(m.transform||f.transformOrigin)&&(m.transformOrigin=f.transformOrigin??"50% 50%",delete f.transformOrigin),m.transform&&(m.transformBox=(d==null?void 0:d.transformBox)??"fill-box",delete f.transformBox);for(const p of l5)f[p]!==void 0&&(m[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&&a5(f,s,o,a,!1)}const dS=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"]),fS=e=>typeof e=="string"&&e.toLowerCase()==="svg";function c5(e,t,n,r){lS(e,t,void 0,r);for(const s in t.attrs)e.setAttribute(dS.has(s)?s:Eh(s),t.attrs[s])}function mS(e,t,n){const r=Oh(e,t,n);for(const s in e)if(rt(e[s])||rt(t[s])){const o=Qo.indexOf(s)!==-1?"attr"+s.charAt(0).toUpperCase()+s.substring(1):s;r[o]=e[s]}return r}class u5 extends rS{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Ke}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(Xo.has(n)){const r=K2(n);return r&&r.default||0}return n=dS.has(n)?n:Eh(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,r){return mS(t,n,r)}build(t,n,r){uS(t,n,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(t,n,r,s){c5(t,n,r,s)}mount(t){this.isSVGTag=fS(t.tagName),super.mount(t)}}const d5=Dh.length;function pS(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?pS(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<d5;n++){const r=Dh[n],s=e.props[r];(aa(s)||s===!1)&&(t[r]=s)}return t}function hS(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 f5=[...Ih].reverse(),m5=Ih.length;function p5(e){return t=>Promise.all(t.map(({animation:n,options:r})=>d3(e,n,r)))}function h5(e){let t=p5(e),n=Oy(),r=!0,s=!1;const o=u=>(d,f)=>{var p;const m=Cs(e,f,u==="exit"?(p=e.presenceContext)==null?void 0:p.custom:void 0);if(m){const{transition:w,transitionEnd:v,...x}=m;d={...d,...x,...v}}return d};function a(u){t=u(e)}function l(u){const{props:d}=e,f=pS(e.parent)||{},m=[],p=new Set;let w={},v=1/0;for(let g=0;g<m5;g++){const y=f5[g],b=n[y],S=d[y]!==void 0?d[y]:f[y],j=aa(S),C=y===u?b.isActive:null;C===!1&&(v=g);let N=S===f[y]&&S!==d[y]&&j;if(N&&(r||s)&&e.manuallyAnimateOnMount&&(N=!1),b.protectedKeys={...w},!b.isActive&&C===null||!S&&!b.prevProp||bu(S)||typeof S=="boolean")continue;if(y==="exit"&&b.isActive&&C!==!0){b.prevResolvedValues&&(w={...w,...b.prevResolvedValues});continue}const E=g5(b.prevProp,S);let T=E||y===u&&b.isActive&&!N&&j||g>v&&j,P=!1;const I=Array.isArray(S)?S:[S];let F=I.reduce(o(y),{});C===!1&&(F={});const{prevResolvedValues:H={}}=b,L={...H,...F},q=M=>{T=!0,p.has(M)&&(P=!0,p.delete(M)),b.needsAnimating[M]=!0;const R=e.getValue(M);R&&(R.liveStyle=!1)};for(const M in L){const R=F[M],A=H[M];if(w.hasOwnProperty(M))continue;let k=!1;jm(R)&&jm(A)?k=!hS(R,A):k=R!==A,k?R!=null?q(M):p.add(M):R!==void 0&&p.has(M)?q(M):b.protectedKeys[M]=!0}b.prevProp=S,b.prevResolvedValues=F,b.isActive&&(w={...w,...F}),(r||s)&&e.blockInitialAnimation&&(T=!1);const $=N&&E;T&&(!$||P)&&m.push(...I.map(M=>{const R={type:y};if(typeof M=="string"&&(r||s)&&!$&&e.manuallyAnimateOnMount&&e.parent){const{parent:A}=e,k=Cs(A,M);if(A.enteringChildren&&k){const{delayChildren:O}=k.transition||{};R.delay=_2(A.enteringChildren,e,O)}}return{animation:M,options:R}}))}if(p.size){const g={};if(typeof d.initial!="boolean"){const y=Cs(e,Array.isArray(d.initial)?d.initial[0]:d.initial);y&&y.transition&&(g.transition=y.transition)}p.forEach(y=>{const b=e.getBaseTarget(y),S=e.getValue(y);S&&(S.liveStyle=!0),g[y]=b??null}),m.push({animation:g})}let x=!!m.length;return r&&(d.initial===!1||d.initial===d.animate)&&!e.manuallyAnimateOnMount&&(x=!1),r=!1,s=!1,x?t(m):Promise.resolve()}function c(u,d){var m;if(n[u].isActive===d)return Promise.resolve();(m=e.variantChildren)==null||m.forEach(p=>{var w;return(w=p.animationState)==null?void 0:w.setActive(u,d)}),n[u].isActive=d;const f=l(u);for(const p in n)n[p].protectedKeys={};return f}return{animateChanges:l,setActive:c,setAnimateFunction:a,getState:()=>n,reset:()=>{n=Oy(),s=!0}}}function g5(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!hS(t,e):!1}function ss(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Oy(){return{animate:ss(!0),whileInView:ss(),whileHover:ss(),whileTap:ss(),whileDrag:ss(),whileFocus:ss(),exit:ss()}}function Rm(e,t){e.min=t.min,e.max=t.max}function en(e,t){Rm(e.x,t.x),Rm(e.y,t.y)}function Fy(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}const gS=1e-4,v5=1-gS,y5=1+gS,vS=.01,x5=0-vS,b5=0+vS;function pt(e){return e.max-e.min}function w5(e,t,n){return Math.abs(e-t)<=n}function _y(e,t,n,r=.5){e.origin=r,e.originPoint=Ae(t.min,t.max,e.origin),e.scale=pt(n)/pt(t),e.translate=Ae(n.min,n.max,e.origin)-e.originPoint,(e.scale>=v5&&e.scale<=y5||isNaN(e.scale))&&(e.scale=1),(e.translate>=x5&&e.translate<=b5||isNaN(e.translate))&&(e.translate=0)}function Ri(e,t,n,r){_y(e.x,t.x,n.x,r?r.originX:void 0),_y(e.y,t.y,n.y,r?r.originY:void 0)}function zy(e,t,n,r=0){const s=r?Ae(n.min,n.max,r):n.min;e.min=s+t.min,e.max=e.min+pt(t)}function S5(e,t,n,r){zy(e.x,t.x,n.x,r==null?void 0:r.x),zy(e.y,t.y,n.y,r==null?void 0:r.y)}function Vy(e,t,n,r=0){const s=r?Ae(n.min,n.max,r):n.min;e.min=t.min-s,e.max=e.min+pt(t)}function Pc(e,t,n,r){Vy(e.x,t.x,n.x,r==null?void 0:r.x),Vy(e.y,t.y,n.y,r==null?void 0:r.y)}function By(e,t,n,r,s){return e-=t,e=Tc(e,1/n,r),s!==void 0&&(e=Tc(e,1/s,r)),e}function j5(e,t=0,n=1,r=.5,s,o=e,a=e){if(Dn.test(t)&&(t=parseFloat(t),t=Ae(a.min,a.max,t/100)-a.min),typeof t!="number")return;let l=Ae(o.min,o.max,r);e===o&&(l-=t),e.min=By(e.min,t,n,l,s),e.max=By(e.max,t,n,l,s)}function $y(e,t,[n,r,s],o,a){j5(e,t[n],t[r],t[s],t.scale,o,a)}const C5=["x","scaleX","originX"],N5=["y","scaleY","originY"];function Wy(e,t,n,r){$y(e.x,t,C5,n?n.x:void 0,r?r.x:void 0),$y(e.y,t,N5,n?n.y:void 0,r?r.y:void 0)}function Uy(e){return e.translate===0&&e.scale===1}function yS(e){return Uy(e.x)&&Uy(e.y)}function qy(e,t){return e.min===t.min&&e.max===t.max}function k5(e,t){return qy(e.x,t.x)&&qy(e.y,t.y)}function Hy(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function xS(e,t){return Hy(e.x,t.x)&&Hy(e.y,t.y)}function Ky(e){return pt(e.x)/pt(e.y)}function Gy(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}function jn(e){return[e("x"),e("y")]}function E5(e,t,n){let r="";const s=e.x.translate/t.x,o=e.y.translate/t.y,a=(n==null?void 0:n.z)||0;if((s||o||a)&&(r=`translate3d(${s}px, ${o}px, ${a}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:u,rotate:d,rotateX:f,rotateY:m,skewX:p,skewY:w}=n;u&&(r=`perspective(${u}px) ${r}`),d&&(r+=`rotate(${d}deg) `),f&&(r+=`rotateX(${f}deg) `),m&&(r+=`rotateY(${m}deg) `),p&&(r+=`skewX(${p}deg) `),w&&(r+=`skewY(${w}deg) `)}const l=e.x.scale*t.x,c=e.y.scale*t.y;return(l!==1||c!==1)&&(r+=`scale(${l}, ${c})`),r||"none"}const bS=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],A5=bS.length,Yy=e=>typeof e=="string"?parseFloat(e):e,Qy=e=>typeof e=="number"||Q.test(e);function T5(e,t,n,r,s,o){s?(e.opacity=Ae(0,n.opacity??1,P5(r)),e.opacityExit=Ae(t.opacity??1,0,M5(r))):o&&(e.opacity=Ae(t.opacity??1,n.opacity??1,r));for(let a=0;a<A5;a++){const l=bS[a];let c=Xy(t,l),u=Xy(n,l);if(c===void 0&&u===void 0)continue;c||(c=0),u||(u=0),c===0||u===0||Qy(c)===Qy(u)?(e[l]=Math.max(Ae(Yy(c),Yy(u),r),0),(Dn.test(u)||Dn.test(c))&&(e[l]+="%")):e[l]=u}(t.rotate||n.rotate)&&(e.rotate=Ae(t.rotate||0,n.rotate||0,r))}function Xy(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const P5=wS(0,.5,f2),M5=wS(.5,.95,Ut);function wS(e,t,n){return r=>r<e?0:r>t?1:n(oa(e,t,r))}function R5(e,t,n){const r=rt(e)?e:Vo(e);return r.start(Nh("",r,t,n)),r.animation}function la(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const I5=(e,t)=>e.depth-t.depth;class D5{constructor(){this.children=[],this.isDirty=!1}add(t){fh(this.children,t),this.isDirty=!0}remove(t){jc(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(I5),this.isDirty=!1,this.children.forEach(t)}}function L5(e,t){const n=mt.now(),r=({timestamp:s})=>{const o=s-n;o>=t&&(Gr(r),e(o-t))};return we.setup(r,!0),()=>Gr(r)}function Fl(e){return rt(e)?e.get():e}class O5{constructor(){this.members=[]}add(t){fh(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&&(jc(this.members,r),r.unmount())}t.scheduleRender()}remove(t){if(jc(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){var n;for(let r=this.members.indexOf(t)-1;r>=0;r--){const s=this.members[r];if(s.isPresent!==!1&&((n=s.instance)==null?void 0:n.isConnected)!==!1)return this.promote(s),!0}return!1}promote(t,n){var s;const r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.updateSnapshot(),t.scheduleRender();const{layoutDependency:o}=r.options,{layoutDependency:a}=t.options;(o===void 0||o!==a)&&(t.resumeFrom=r,n&&(r.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),(s=t.root)!=null&&s.isUpdating&&(t.isLayoutDirty=!0)),t.options.crossfade===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{var n,r,s,o,a;(r=(n=t.options).onExitComplete)==null||r.call(n),(a=(s=t.resumingFrom)==null?void 0:(o=s.options).onExitComplete)==null||a.call(o)})}scheduleRender(){this.members.forEach(t=>t.instance&&t.scheduleRender(!1))}removeLeadSnapshot(){var t;(t=this.lead)!=null&&t.snapshot&&(this.lead.snapshot=void 0)}}const _l={hasAnimatedSinceResize:!0,hasEverUpdated:!1},Md=["","X","Y","Z"],F5=1e3;let _5=0;function Rd(e,t,n,r){const{latestValues:s}=t;s[e]&&(n[e]=s[e],t.setStaticValue(e,0),r&&(r[e]=0))}function SS(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=W2(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:s,layoutId:o}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",we,!(s||o))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&SS(r)}function jS({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:s}){return class{constructor(a={},l=t==null?void 0:t()){this.id=_5++,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(B5),this.nodes.forEach(K5),this.nodes.forEach(G5),this.nodes.forEach($5)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=a,this.root=l?l.root||l:this,this.path=l?[...l.path,l]:[],this.parent=l,this.depth=l?l.depth+1:0;for(let c=0;c<this.path.length;c++)this.path[c].shouldResetTransform=!0;this.root===this&&(this.nodes=new D5)}addEventListener(a,l){return this.eventHandlers.has(a)||this.eventHandlers.set(a,new ph),this.eventHandlers.get(a).add(l)}notifyListeners(a,...l){const c=this.eventHandlers.get(a);c&&c.notify(...l)}hasListeners(a){return this.eventHandlers.has(a)}mount(a){if(this.instance)return;this.isSVG=Rh(a)&&!V3(a),this.instance=a;const{layoutId:l,layout:c,visualElement:u}=this.options;if(u&&!u.current&&u.mount(a),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(c||l)&&(this.isLayoutDirty=!0),e){let d,f=0;const m=()=>this.root.updateBlockedByResize=!1;we.read(()=>{f=window.innerWidth}),e(a,()=>{const p=window.innerWidth;p!==f&&(f=p,this.root.updateBlockedByResize=!0,d&&d(),d=L5(m,250),_l.hasAnimatedSinceResize&&(_l.hasAnimatedSinceResize=!1,this.nodes.forEach(ex)))})}l&&this.root.registerSharedNode(l,this),this.options.animate!==!1&&u&&(l||c)&&this.addEventListener("didUpdate",({delta:d,hasLayoutChanged:f,hasRelativeLayoutChanged:m,layout:p})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const w=this.options.transition||u.getDefaultTransition()||J5,{onLayoutAnimationStart:v,onLayoutAnimationComplete:x}=u.getProps(),g=!this.targetLayout||!xS(this.targetLayout,p),y=!f&&m;if(this.options.layoutRoot||this.resumeFrom||y||f&&(g||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const b={...Ch(w,"layout"),onPlay:v,onComplete:x};(u.shouldReduceMotion||this.options.layoutRoot)&&(b.delay=0,b.type=!1),this.startAnimation(b),this.setAnimationOrigin(d,y)}else f||ex(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=p})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const a=this.getStack();a&&a.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),Gr(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(Y5),this.animationId++)}getTransformTemplate(){const{visualElement:a}=this.options;return a&&a.getProps().transformTemplate}willUpdate(a=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&SS(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:l,layout:c}=this.options;if(l===void 0&&!c)return;const u=this.getTransformTemplate();this.prevTransformTemplateValue=u?u(this.latestValues,""):void 0,this.updateSnapshot(),a&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){const c=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),c&&this.nodes.forEach(U5),this.nodes.forEach(Zy);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(Jy);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(q5),this.nodes.forEach(H5),this.nodes.forEach(z5),this.nodes.forEach(V5)):this.nodes.forEach(Jy),this.clearAllSnapshots();const l=mt.now();nt.delta=On(0,1e3/60,l-nt.timestamp),nt.timestamp=l,nt.isProcessing=!0,jd.update.process(nt),jd.preRender.process(nt),jd.render.process(nt),nt.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Ph.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(W5),this.sharedNodes.forEach(Q5)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,we.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){we.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!pt(this.snapshot.measuredBox.x)&&!pt(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let c=0;c<this.path.length;c++)this.path[c].updateScroll();const a=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=Ke()),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:l}=this.options;l&&l.notify("LayoutMeasure",this.layout.layoutBox,a?a.layoutBox:void 0)}updateScroll(a="measure"){let l=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===a&&(l=!1),l&&this.instance){const c=r(this.instance);this.scroll={animationId:this.root.animationId,phase:a,isRoot:c,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:c}}}resetTransform(){if(!s)return;const a=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,l=this.projectionDelta&&!yS(this.projectionDelta),c=this.getTransformTemplate(),u=c?c(this.latestValues,""):void 0,d=u!==this.prevTransformTemplateValue;a&&this.instance&&(l||as(this.latestValues)||d)&&(s(this.instance,u),this.shouldResetTransform=!1,this.scheduleRender())}measure(a=!0){const l=this.measurePageBox();let c=this.removeElementScroll(l);return a&&(c=this.removeTransform(c)),eD(c),{animationId:this.root.animationId,measuredBox:l,layoutBox:c,latestValues:{},source:this.id}}measurePageBox(){var u;const{visualElement:a}=this.options;if(!a)return Ke();const l=a.measureViewportBox();if(!(((u=this.scroll)==null?void 0:u.wasRoot)||this.path.some(tD))){const{scroll:d}=this.root;d&&(En(l.x,d.offset.x),En(l.y,d.offset.y))}return l}removeElementScroll(a){var c;const l=Ke();if(en(l,a),(c=this.scroll)!=null&&c.wasRoot)return l;for(let u=0;u<this.path.length;u++){const d=this.path[u],{scroll:f,options:m}=d;d!==this.root&&f&&m.layoutScroll&&(f.wasRoot&&en(l,a),En(l.x,f.offset.x),En(l.y,f.offset.y))}return l}applyTransform(a,l=!1,c){var d,f;const u=c||Ke();en(u,a);for(let m=0;m<this.path.length;m++){const p=this.path[m];!l&&p.options.layoutScroll&&p.scroll&&p!==p.root&&(En(u.x,-p.scroll.offset.x),En(u.y,-p.scroll.offset.y)),as(p.latestValues)&&Ol(u,p.latestValues,(d=p.layout)==null?void 0:d.layoutBox)}return as(this.latestValues)&&Ol(u,this.latestValues,(f=this.layout)==null?void 0:f.layoutBox),u}removeTransform(a){var c;const l=Ke();en(l,a);for(let u=0;u<this.path.length;u++){const d=this.path[u];if(!as(d.latestValues))continue;let f;d.instance&&(Tm(d.latestValues)&&d.updateSnapshot(),f=Ke(),en(f,d.measurePageBox())),Wy(l,d.latestValues,(c=d.snapshot)==null?void 0:c.layoutBox,f)}return as(this.latestValues)&&Wy(l,this.latestValues),l}setTargetDelta(a){this.targetDelta=a,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(a){this.options={...this.options,...a,crossfade:a.crossfade!==void 0?a.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==nt.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(a=!1){var p;const l=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=l.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=l.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=l.isSharedProjectionDirty);const c=!!this.resumingFrom||this!==l;if(!(a||c&&this.isSharedProjectionDirty||this.isProjectionDirty||(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=nt.timestamp;const m=this.getClosestProjectingParent();m&&this.linkedParentVersion!==m.layoutVersion&&!m.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&m&&m.layout?this.createRelativeTarget(m,this.layout.layoutBox,m.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=Ke(),this.targetWithTransforms=Ke()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),S5(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):en(this.target,this.layout.layoutBox),iS(this.target,this.targetDelta)):en(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&m&&!!m.resumingFrom==!!this.resumingFrom&&!m.options.layoutScroll&&m.target&&this.animationProgress!==1?this.createRelativeTarget(m,this.target,m.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||Tm(this.parent.latestValues)||oS(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(a,l,c){this.relativeParent=a,this.linkedParentVersion=a.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Ke(),this.relativeTargetOrigin=Ke(),Pc(this.relativeTargetOrigin,l,c,this.options.layoutAnchor||void 0),en(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){var w;const a=this.getLead(),l=!!this.resumingFrom||this!==a;let c=!0;if((this.isProjectionDirty||(w=this.parent)!=null&&w.isProjectionDirty)&&(c=!1),l&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(c=!1),this.resolvedRelativeTargetAt===nt.timestamp&&(c=!1),c)return;const{layout:u,layoutId:d}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(u||d))return;en(this.layoutCorrected,this.layout.layoutBox);const f=this.treeScale.x,m=this.treeScale.y;X3(this.layoutCorrected,this.treeScale,this.path,l),a.layout&&!a.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(a.target=a.layout.layoutBox,a.targetWithTransforms=Ke());const{target:p}=a;if(!p){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Fy(this.prevProjectionDelta.x,this.projectionDelta.x),Fy(this.prevProjectionDelta.y,this.projectionDelta.y)),Ri(this.projectionDelta,this.layoutCorrected,p,this.latestValues),(this.treeScale.x!==f||this.treeScale.y!==m||!Gy(this.projectionDelta.x,this.prevProjectionDelta.x)||!Gy(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",p))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(a=!0){var l;if((l=this.options.visualElement)==null||l.scheduleRender(),a){const c=this.getStack();c&&c.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=ao(),this.projectionDelta=ao(),this.projectionDeltaWithTransform=ao()}setAnimationOrigin(a,l=!1){const c=this.snapshot,u=c?c.latestValues:{},d={...this.latestValues},f=ao();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!l;const m=Ke(),p=c?c.source:void 0,w=this.layout?this.layout.source:void 0,v=p!==w,x=this.getStack(),g=!x||x.members.length<=1,y=!!(v&&!g&&this.options.crossfade===!0&&!this.path.some(Z5));this.animationProgress=0;let b;this.mixTargetDelta=S=>{const j=S/1e3;tx(f.x,a.x,j),tx(f.y,a.y,j),this.setTargetDelta(f),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Pc(m,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),X5(this.relativeTarget,this.relativeTargetOrigin,m,j),b&&k5(this.relativeTarget,b)&&(this.isProjectionDirty=!1),b||(b=Ke()),en(b,this.relativeTarget)),v&&(this.animationValues=d,T5(d,u,this.latestValues,j,y,g)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=j},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(a){var l,c,u;this.notifyListeners("animationStart"),(l=this.currentAnimation)==null||l.stop(),(u=(c=this.resumingFrom)==null?void 0:c.currentAnimation)==null||u.stop(),this.pendingAnimation&&(Gr(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=we.update(()=>{_l.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=Vo(0)),this.motionValue.jump(0,!1),this.currentAnimation=R5(this.motionValue,[0,1e3],{...a,velocity:0,isSync:!0,onUpdate:d=>{this.mixTargetDelta(d),a.onUpdate&&a.onUpdate(d)},onStop:()=>{},onComplete:()=>{a.onComplete&&a.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const a=this.getStack();a&&a.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(F5),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const a=this.getLead();let{targetWithTransforms:l,target:c,layout:u,latestValues:d}=a;if(!(!l||!c||!u)){if(this!==a&&this.layout&&u&&CS(this.options.animationType,this.layout.layoutBox,u.layoutBox)){c=this.target||Ke();const f=pt(this.layout.layoutBox.x);c.x.min=a.target.x.min,c.x.max=c.x.min+f;const m=pt(this.layout.layoutBox.y);c.y.min=a.target.y.min,c.y.max=c.y.min+m}en(l,c),Ol(l,d),Ri(this.projectionDeltaWithTransform,this.layoutCorrected,l,d)}}registerSharedNode(a,l){this.sharedNodes.has(a)||this.sharedNodes.set(a,new O5),this.sharedNodes.get(a).add(l);const u=l.options.initialPromotionConfig;l.promote({transition:u?u.transition:void 0,preserveFollowOpacity:u&&u.shouldPreserveFollowOpacity?u.shouldPreserveFollowOpacity(l):void 0})}isLead(){const a=this.getStack();return a?a.lead===this:!0}getLead(){var l;const{layoutId:a}=this.options;return a?((l=this.getStack())==null?void 0:l.lead)||this:this}getPrevLead(){var l;const{layoutId:a}=this.options;return a?(l=this.getStack())==null?void 0:l.prevLead:void 0}getStack(){const{layoutId:a}=this.options;if(a)return this.root.sharedNodes.get(a)}promote({needsReset:a,transition:l,preserveFollowOpacity:c}={}){const u=this.getStack();u&&u.promote(this,c),a&&(this.projectionDelta=void 0,this.needsReset=!0),l&&this.setOptions({transition:l})}relegate(){const a=this.getStack();return a?a.relegate(this):!1}resetSkewAndRotation(){const{visualElement:a}=this.options;if(!a)return;let l=!1;const{latestValues:c}=a;if((c.z||c.rotate||c.rotateX||c.rotateY||c.rotateZ||c.skewX||c.skewY)&&(l=!0),!l)return;const u={};c.z&&Rd("z",a,u,this.animationValues);for(let d=0;d<Md.length;d++)Rd(`rotate${Md[d]}`,a,u,this.animationValues),Rd(`skew${Md[d]}`,a,u,this.animationValues);a.render();for(const d in u)a.setStaticValue(d,u[d]),this.animationValues&&(this.animationValues[d]=u[d]);a.scheduleRender()}applyProjectionStyles(a,l){if(!this.instance||this.isSVG)return;if(!this.isVisible){a.visibility="hidden";return}const c=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,a.visibility="",a.opacity="",a.pointerEvents=Fl(l==null?void 0:l.pointerEvents)||"",a.transform=c?c(this.latestValues,""):"none";return}const u=this.getLead();if(!this.projectionDelta||!this.layout||!u.target){this.options.layoutId&&(a.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,a.pointerEvents=Fl(l==null?void 0:l.pointerEvents)||""),this.hasProjected&&!as(this.latestValues)&&(a.transform=c?c({},""):"none",this.hasProjected=!1);return}a.visibility="";const d=u.animationValues||u.latestValues;this.applyTransformsToTarget();let f=E5(this.projectionDeltaWithTransform,this.treeScale,d);c&&(f=c(d,f)),a.transform=f;const{x:m,y:p}=this.projectionDelta;a.transformOrigin=`${m.origin*100}% ${p.origin*100}% 0`,u.animationValues?a.opacity=u===this?d.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:d.opacityExit:a.opacity=u===this?d.opacity!==void 0?d.opacity:"":d.opacityExit!==void 0?d.opacityExit:0;for(const w in Mm){if(d[w]===void 0)continue;const{correct:v,applyTo:x,isCSSVariable:g}=Mm[w],y=f==="none"?d[w]:v(d[w],u);if(x){const b=x.length;for(let S=0;S<b;S++)a[x[S]]=y}else g?this.options.visualElement.renderState.vars[w]=y:a[w]=y}this.options.layoutId&&(a.pointerEvents=u===this?Fl(l==null?void 0:l.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(a=>{var l;return(l=a.currentAnimation)==null?void 0:l.stop()}),this.root.nodes.forEach(Zy),this.root.sharedNodes.clear()}}}function z5(e){e.updateLayout()}function V5(e){var n;const t=((n=e.resumeFrom)==null?void 0:n.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){const{layoutBox:r,measuredBox:s}=e.layout,{animationType:o}=e.options,a=t.source!==e.layout.source;if(o==="size")jn(f=>{const m=a?t.measuredBox[f]:t.layoutBox[f],p=pt(m);m.min=r[f].min,m.max=m.min+p});else if(o==="x"||o==="y"){const f=o==="x"?"y":"x";Rm(a?t.measuredBox[f]:t.layoutBox[f],r[f])}else CS(o,t.layoutBox,r)&&jn(f=>{const m=a?t.measuredBox[f]:t.layoutBox[f],p=pt(r[f]);m.max=m.min+p,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[f].max=e.relativeTarget[f].min+p)});const l=ao();Ri(l,r,t.layoutBox);const c=ao();a?Ri(c,e.applyTransform(s,!0),t.measuredBox):Ri(c,r,t.layoutBox);const u=!yS(l);let d=!1;if(!e.resumeFrom){const f=e.getClosestProjectingParent();if(f&&!f.resumeFrom){const{snapshot:m,layout:p}=f;if(m&&p){const w=e.options.layoutAnchor||void 0,v=Ke();Pc(v,t.layoutBox,m.layoutBox,w);const x=Ke();Pc(x,r,p.layoutBox,w),xS(v,x)||(d=!0),f.options.layoutRoot&&(e.relativeTarget=x,e.relativeTargetOrigin=v,e.relativeParent=f)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:t,delta:c,layoutDelta:l,hasLayoutChanged:u,hasRelativeLayoutChanged:d})}else if(e.isLead()){const{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function B5(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 $5(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function W5(e){e.clearSnapshot()}function Zy(e){e.clearMeasurements()}function U5(e){e.isLayoutDirty=!0,e.updateLayout()}function Jy(e){e.isLayoutDirty=!1}function q5(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function H5(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function ex(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function K5(e){e.resolveTargetDelta()}function G5(e){e.calcProjection()}
338function Y5(e){e.resetSkewAndRotation()}function Q5(e){e.removeLeadSnapshot()}function tx(e,t,n){e.translate=Ae(t.translate,0,n),e.scale=Ae(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function nx(e,t,n,r){e.min=Ae(t.min,n.min,r),e.max=Ae(t.max,n.max,r)}function X5(e,t,n,r){nx(e.x,t.x,n.x,r),nx(e.y,t.y,n.y,r)}function Z5(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const J5={duration:.45,ease:[.4,0,.1,1]},rx=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),sx=rx("applewebkit/")&&!rx("chrome/")?Math.round:Ut;function ox(e){e.min=sx(e.min),e.max=sx(e.max)}function eD(e){ox(e.x),ox(e.y)}function CS(e,t,n){return e==="position"||e==="preserve-aspect"&&!w5(Ky(t),Ky(n),.2)}function tD(e){var t;return e!==e.root&&((t=e.scroll)==null?void 0:t.wasRoot)}const nD=jS({attachResizeListener:(e,t)=>la(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}),Id={current:void 0},NS=jS({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Id.current){const e=new nD({});e.mount(window),e.setOptions({layoutScroll:!0}),Id.current=e}return Id.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),Fh=h.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function ix(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function rD(...e){return t=>{let n=!1;const r=e.map(s=>{const o=ix(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():ix(e[s],null)}}}}function sD(...e){return h.useCallback(rD(...e),e)}class oD extends h.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(Rl(n)&&t.isPresent&&!this.props.isPresent&&this.props.pop!==!1){const r=n.offsetParent,s=Rl(r)&&r.offsetWidth||0,o=Rl(r)&&r.offsetHeight||0,a=getComputedStyle(n),l=this.props.sizeRef.current;l.height=parseFloat(a.height),l.width=parseFloat(a.width),l.top=n.offsetTop,l.left=n.offsetLeft,l.right=s-l.width-l.left,l.bottom=o-l.height-l.top}return null}componentDidUpdate(){}render(){return this.props.children}}function iD({children:e,isPresent:t,anchorX:n,anchorY:r,root:s,pop:o}){var m;const a=h.useId(),l=h.useRef(null),c=h.useRef({width:0,height:0,top:0,left:0,right:0,bottom:0}),{nonce:u}=h.useContext(Fh),d=((m=e.props)==null?void 0:m.ref)??(e==null?void 0:e.ref),f=sD(l,d);return h.useInsertionEffect(()=>{const{width:p,height:w,top:v,left:x,right:g,bottom:y}=c.current;if(t||o===!1||!l.current||!p||!w)return;const b=n==="left"?`left: ${x}`:`right: ${g}`,S=r==="bottom"?`bottom: ${y}`:`top: ${v}`;l.current.dataset.motionPopId=a;const j=document.createElement("style");u&&(j.nonce=u);const C=s??document.head;return C.appendChild(j),j.sheet&&j.sheet.insertRule(` 339 [data-motion-pop-id="${a}"] { 340 position: absolute !important; 341 width: ${p}px !important; 342 height: ${w}px !important; 343 ${b}px !important; 344 ${S}px !important; 345 } 346 `),()=>{var N;(N=l.current)==null||N.removeAttribute("data-motion-pop-id"),C.contains(j)&&C.removeChild(j)}},[t]),i.jsx(oD,{isPresent:t,childRef:l,sizeRef:c,pop:o,children:o===!1?e:h.cloneElement(e,{ref:f})})}const aD=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:s,presenceAffectsLayout:o,mode:a,anchorX:l,anchorY:c,root:u})=>{const d=dh(lD),f=h.useId();let m=!0,p=h.useMemo(()=>(m=!1,{id:f,initial:t,isPresent:n,custom:s,onExitComplete:w=>{d.set(w,!0);for(const v of d.values())if(!v)return;r&&r()},register:w=>(d.set(w,!1),()=>d.delete(w))}),[n,d,r]);return o&&m&&(p={...p}),h.useMemo(()=>{d.forEach((w,v)=>d.set(v,!1))},[n]),h.useEffect(()=>{!n&&!d.size&&r&&r()},[n]),e=i.jsx(iD,{pop:a==="popLayout",isPresent:n,anchorX:l,anchorY:c,root:u,children:e}),i.jsx(yu.Provider,{value:p,children:e})};function lD(){return new Map}function kS(e=!0){const t=h.useContext(yu);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:r,register:s}=t,o=h.useId();h.useEffect(()=>{if(e)return s(o)},[e]);const a=h.useCallback(()=>e&&r&&r(o),[o,r,e]);return!n&&r?[!1,a]:[!0]}const cl=e=>e.key||"";function ax(e){const t=[];
vendor: 5,384 bytes, line 346
346return h.Children.forEach(e,n=>{h.isValidElement(n)&&t.push(n)}),t}const Ma=({children:e,custom:t,initial:n=!0,onExitComplete:r,presenceAffectsLayout:s=!0,mode:o="sync",propagate:a=!1,anchorX:l="left",anchorY:c="top",root:u})=>{const[d,f]=kS(a),m=h.useMemo(()=>ax(e),[e]),p=a&&!d?[]:m.map(cl),w=h.useRef(!0),v=h.useRef(m),x=dh(()=>new Map),g=h.useRef(new Set),[y,b]=h.useState(m),[S,j]=h.useState(m);e2(()=>{w.current=!1,v.current=m;for(let E=0;E<S.length;E++){const T=cl(S[E]);p.includes(T)?(x.delete(T),g.current.delete(T)):x.get(T)!==!0&&x.set(T,!1)}},[S,p.length,p.join("-")]);const C=[];if(m!==y){let E=[...m];for(let T=0;T<S.length;T++){const P=S[T],I=cl(P);p.includes(I)||(E.splice(T,0,P),C.push(P))}return o==="wait"&&C.length&&(E=C),j(ax(E)),b(m),null}const{forceRender:N}=h.useContext(uh);return i.jsx(i.Fragment,{children:S.map(E=>{const T=cl(E),P=a&&!d?!1:m===S||p.includes(T),I=()=>{if(g.current.has(T))return;if(x.has(T))g.current.add(T),x.set(T,!0);else return;let F=!0;x.forEach(H=>{H||(F=!1)}),F&&(N==null||N(),j(v.current),a&&(f==null||f()),r&&r())};return i.jsx(aD,{isPresent:P,initial:!w.current||n?void 0:!1,custom:t,presenceAffectsLayout:s,mode:o,root:u,onExitComplete:P?void 0:I,anchorX:l,anchorY:c,children:E},T)})})},ES=h.createContext({strict:!1}),lx={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 cx=!1;function cD(){if(cx)return;const e={};for(const t in lx)e[t]={isEnabled:n=>lx[t].some(r=>!!n[r])};nS(e),cx=!0}function AS(){return cD(),K3()}function uD(e){const t=AS();for(const n in e)t[n]={...t[n],...e[n]};nS(t)}const dD=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 Mc(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||dD.has(e)}let TS=e=>!Mc(e);function fD(e){typeof e=="function"&&(TS=t=>t.startsWith("on")?!Mc(t):e(t))}try{fD(require("@emotion/is-prop-valid").default)}catch{}function mD(e,t,n){const r={};for(const s in e)s==="values"&&typeof e.values=="object"||rt(e[s])||(TS(s)||n===!0&&Mc(s)||!t&&!Mc(s)||e.draggable&&s.startsWith("onDrag"))&&(r[s]=e[s]);return r}const Su=h.createContext({});function pD(e,t){if(wu(e)){const{initial:n,animate:r}=e;return{initial:n===!1||aa(n)?n:void 0,animate:aa(r)?r:void 0}}return e.inherit!==!1?t:{}}function hD(e){const{initial:t,animate:n}=pD(e,h.useContext(Su));return h.useMemo(()=>({initial:t,animate:n}),[ux(t),ux(n)])}function ux(e){return Array.isArray(e)?e.join(" "):e}const _h=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function PS(e,t,n){for(const r in t)!rt(t[r])&&!cS(r,n)&&(e[r]=t[r])}function gD({transformTemplate:e},t){return h.useMemo(()=>{const n=_h();return Lh(n,t,e),Object.assign({},n.vars,n.style)},[t])}function vD(e,t){const n=e.style||{},r={};return PS(r,n,e),Object.assign(r,gD(e,t)),r}function yD(e,t){const n={},r=vD(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 MS=()=>({..._h(),attrs:{}});function xD(e,t,n,r){const s=h.useMemo(()=>{const o=MS();return uS(o,t,fS(r),e.transformTemplate,e.style),{...o.attrs,style:{...o.style}}},[t]);if(e.style){const o={};PS(o,e.style,e),s.style={...o,...s.style}}return s}const bD=["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 zh(e){return typeof e!="string"||e.includes("-")?!1:!!(bD.indexOf(e)>-1||/[A-Z]/u.test(e))}function wD(e,t,n,{latestValues:r},s,o=!1,a){const c=(a??zh(e)?xD:yD)(t,r,s,e),u=mD(t,typeof e=="string",o),d=e!==h.Fragment?{...u,...c,ref:n}:{},{children:f}=t,m=h.useMemo(()=>rt(f)?f.get():f,[f]);return h.createElement(e,{...d,children:m})}function SD({scrapeMotionValuesFromProps:e,createRenderState:t},n,r,s){return{latestValues:jD(n,r,s,e),renderState:t()}}function jD(e,t,n,r){const s={},o=r(e,{});for(const m in o)s[m]=Fl(o[m]);let{initial:a,animate:l}=e;const c=wu(e),u=eS(e);t&&u&&!c&&e.inherit!==!1&&(a===void 0&&(a=t.initial),l===void 0&&(l=t.animate));let d=n?n.initial===!1:!1;d=d||a===!1;const f=d?l:a;if(f&&typeof f!="boolean"&&!bu(f)){const m=Array.isArray(f)?f:[f];for(let p=0;p<m.length;p++){const w=kh(e,m[p]);if(w){const{transitionEnd:v,transition:x,...g}=w;for(const y in g){let b=g[y];if(Array.isArray(b)){const S=d?b.length-1:0;b=b[S]}b!==null&&(s[y]=b)}for(const y in v)s[y]=v[y]}}}return s}
vendor: 20,642 bytes, line 346
346const RS=e=>(t,n)=>{const r=h.useContext(Su),s=h.useContext(yu),o=()=>SD(e,t,r,s);return n?o():dh(o)},CD=RS({scrapeMotionValuesFromProps:Oh,createRenderState:_h}),ND=RS({scrapeMotionValuesFromProps:mS,createRenderState:MS}),kD=Symbol.for("motionComponentSymbol");function ED(e,t,n){const r=h.useRef(n);h.useInsertionEffect(()=>{r.current=n});const s=h.useRef(null);return h.useCallback(o=>{var l;o&&((l=e.onMount)==null||l.call(e,o));const a=r.current;if(typeof a=="function")if(o){const c=a(o);typeof c=="function"&&(s.current=c)}else s.current?(s.current(),s.current=null):a(o);else a&&(a.current=o);t&&(o?t.mount(o):t.unmount())},[t])}const IS=h.createContext({});function Hs(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function AD(e,t,n,r,s,o){var b,S;const{visualElement:a}=h.useContext(Su),l=h.useContext(ES),c=h.useContext(yu),u=h.useContext(Fh),d=u.reducedMotion,f=u.skipAnimations,m=h.useRef(null),p=h.useRef(!1);r=r||l.renderer,!m.current&&r&&(m.current=r(e,{visualState:t,parent:a,props:n,presenceContext:c,blockInitialAnimation:c?c.initial===!1:!1,reducedMotionConfig:d,skipAnimations:f,isSVG:o}),p.current&&m.current&&(m.current.manuallyAnimateOnMount=!0));const w=m.current,v=h.useContext(IS);w&&!w.projection&&s&&(w.type==="html"||w.type==="svg")&&TD(m.current,n,s,v);const x=h.useRef(!1);h.useInsertionEffect(()=>{w&&x.current&&w.update(n,c)});const g=n[$2],y=h.useRef(!!g&&typeof window<"u"&&!((b=window.MotionHandoffIsComplete)!=null&&b.call(window,g))&&((S=window.MotionHasOptimisedAnimation)==null?void 0:S.call(window,g)));return e2(()=>{p.current=!0,w&&(x.current=!0,window.MotionIsMounted=!0,w.updateFeatures(),w.scheduleRenderMicrotask(),y.current&&w.animationState&&w.animationState.animateChanges())}),h.useEffect(()=>{w&&(!y.current&&w.animationState&&w.animationState.animateChanges(),y.current&&(queueMicrotask(()=>{var j;(j=window.MotionHandoffMarkAsComplete)==null||j.call(window,g)}),y.current=!1),w.enteringChildren=void 0)}),w}function TD(e,t,n,r){const{layoutId:s,layout:o,drag:a,dragConstraints:l,layoutScroll:c,layoutRoot:u,layoutAnchor:d,layoutCrossfade:f}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:DS(e.parent)),e.projection.setOptions({layoutId:s,layout:o,alwaysMeasureLayout:!!a||l&&Hs(l),visualElement:e,animationType:typeof o=="string"?o:"both",initialPromotionConfig:r,crossfade:f,layoutScroll:c,layoutRoot:u,layoutAnchor:d})}function DS(e){if(e)return e.options.allowProjection!==!1?e.projection:DS(e.parent)}function Dd(e,{forwardMotionProps:t=!1,type:n}={},r,s){r&&uD(r);const o=n?n==="svg":zh(e),a=o?ND:CD;function l(u,d){let f;const m={...h.useContext(Fh),...u,layoutId:PD(u)},{isStatic:p}=m,w=hD(u),v=a(u,p);if(!p&&typeof window<"u"){MD();const x=RD(m);f=x.MeasureLayout,w.visualElement=AD(e,v,m,s,x.ProjectionNode,o)}return i.jsxs(Su.Provider,{value:w,children:[f&&w.visualElement?i.jsx(f,{visualElement:w.visualElement,...m}):null,wD(e,u,ED(v,w.visualElement,d),v,p,t,o)]})}l.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;const c=h.forwardRef(l);return c[kD]=e,c}function PD({layoutId:e}){const t=h.useContext(uh).id;return t&&e!==void 0?t+"-"+e:e}function MD(e,t){h.useContext(ES).strict}function RD(e){const t=AS(),{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 ID(e,t){if(typeof Proxy>"u")return Dd;const n=new Map,r=(o,a)=>Dd(o,a,e,t),s=(o,a)=>r(o,a);return new Proxy(s,{get:(o,a)=>a==="create"?r:(n.has(a)||n.set(a,Dd(a,void 0,e,t)),n.get(a))})}const DD=(e,t)=>t.isSVG??zh(e)?new u5(t):new s5(t,{allowProjection:e!==h.Fragment});class LD extends es{constructor(t){super(t),t.animationState||(t.animationState=h5(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();bu(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 OD=0;class FD extends es{constructor(){super(...arguments),this.id=OD++,this.isExitComplete=!1}update(){var o;if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===r)return;if(t&&r===!1){if(this.isExitComplete){const{initial:a,custom:l}=this.node.getProps();if(typeof a=="string"){const c=Cs(this.node,a,l);if(c){const{transition:u,transitionEnd:d,...f}=c;for(const m in f)(o=this.node.getValue(m))==null||o.jump(f[m])}}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 _D={animation:{Feature:LD},exit:{Feature:FD}};function Ra(e){return{point:{x:e.pageX,y:e.pageY}}}const zD=e=>t=>Mh(t)&&e(t,Ra(t));function Ii(e,t,n,r){return la(e,t,zD(n),r)}const LS=({current:e})=>e?e.ownerDocument.defaultView:null,dx=(e,t)=>Math.abs(e-t);function VD(e,t){const n=dx(e.x,t.x),r=dx(e.y,t.y);return Math.sqrt(n**2+r**2)}const fx=new Set(["auto","scroll"]);class OS{constructor(t,n,{transformPagePoint:r,contextWindow:s=window,dragSnapToOrigin:o=!1,distanceThreshold:a=3,element:l}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=p=>{this.handleScroll(p.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=ul(this.lastRawMoveEventInfo,this.transformPagePoint));const p=Ld(this.lastMoveEventInfo,this.history),w=this.startEvent!==null,v=VD(p.offset,{x:0,y:0})>=this.distanceThreshold;if(!w&&!v)return;const{point:x}=p,{timestamp:g}=nt;this.history.push({...x,timestamp:g});const{onStart:y,onMove:b}=this.handlers;w||(y&&y(this.lastMoveEvent,p),this.startEvent=this.lastMoveEvent),b&&b(this.lastMoveEvent,p)},this.handlePointerMove=(p,w)=>{this.lastMoveEvent=p,this.lastRawMoveEventInfo=w,this.lastMoveEventInfo=ul(w,this.transformPagePoint),we.update(this.updatePoint,!0)},this.handlePointerUp=(p,w)=>{this.end();const{onEnd:v,onSessionEnd:x,resumeAnimation:g}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&g&&g(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const y=Ld(p.type==="pointercancel"?this.lastMoveEventInfo:ul(w,this.transformPagePoint),this.history);this.startEvent&&v&&v(p,y),x&&x(p,y)},!Mh(t))return;this.dragSnapToOrigin=o,this.handlers=n,this.transformPagePoint=r,this.distanceThreshold=a,this.contextWindow=s||window;const c=Ra(t),u=ul(c,this.transformPagePoint),{point:d}=u,{timestamp:f}=nt;this.history=[{...d,timestamp:f}];const{onSessionStart:m}=n;m&&m(t,Ld(u,this.history)),this.removeListeners=Aa(Ii(this.contextWindow,"pointermove",this.handlePointerMove),Ii(this.contextWindow,"pointerup",this.handlePointerUp),Ii(this.contextWindow,"pointercancel",this.handlePointerUp)),l&&this.startScrollTracking(l)}startScrollTracking(t){let n=t.parentElement;for(;n;){const r=getComputedStyle(n);(fx.has(r.overflowX)||fx.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),we.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),Gr(this.updatePoint)}}function ul(e,t){return t?{point:t(e.point)}:e}function mx(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Ld({point:e},t){return{point:e,delta:mx(e,FS(t)),offset:mx(e,BD(t)),velocity:$D(t,.1)}}function BD(e){return e[0]}function FS(e){return e[e.length-1]}function $D(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const s=FS(e);for(;n>=0&&(r=e[n],!(s.timestamp-r.timestamp>Dt(t)));)n--;if(!r)return{x:0,y:0};r===e[0]&&e.length>2&&s.timestamp-r.timestamp>Dt(t)*2&&(r=e[1]);const o=$t(s.timestamp-r.timestamp);if(o===0)return{x:0,y:0};const a={x:(s.x-r.x)/o,y:(s.y-r.y)/o};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function WD(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?Ae(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?Ae(n,e,r.max):Math.min(e,n)),e}function px(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 UD(e,{top:t,left:n,bottom:r,right:s}){return{x:px(e.x,n,s),y:px(e.y,t,r)}}function hx(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 qD(e,t){return{x:hx(e.x,t.x),y:hx(e.y,t.y)}}function HD(e,t){let n=.5;const r=pt(e),s=pt(t);return s>r?n=oa(t.min,t.max-r,e.min):r>s&&(n=oa(e.min,e.max-s,t.min)),On(0,1,n)}function KD(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 Im=.35;function GD(e=Im){return e===!1?e=0:e===!0&&(e=Im),{x:gx(e,"left","right"),y:gx(e,"top","bottom")}}function gx(e,t,n){return{min:vx(e,t),max:vx(e,n)}}function vx(e,t){return typeof e=="number"?e:e[t]||0}const YD=new WeakMap;class QD{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=Ke(),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(Ra(f).point),this.stopAnimation()},a=(f,m)=>{const{drag:p,dragPropagation:w,onDragStart:v}=this.getProps();if(p&&!w&&(this.openDragLock&&this.openDragLock(),this.openDragLock=j3(p),!this.openDragLock))return;this.latestPointerEvent=f,this.latestPanInfo=m,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),jn(g=>{let y=this.getAxisMotionValue(g).get()||0;if(Dn.test(y)){const{projection:b}=this.visualElement;if(b&&b.layout){const S=b.layout.layoutBox[g];S&&(y=pt(S)*(parseFloat(y)/100))}}this.originPoint[g]=y}),v&&we.update(()=>v(f,m),!1,!0),Cm(this.visualElement,"transform");const{animationState:x}=this.visualElement;x&&x.setActive("whileDrag",!0)},l=(f,m)=>{this.latestPointerEvent=f,this.latestPanInfo=m;const{dragPropagation:p,dragDirectionLock:w,onDirectionLock:v,onDrag:x}=this.getProps();if(!p&&!this.openDragLock)return;const{offset:g}=m;if(w&&this.currentDirection===null){this.currentDirection=ZD(g),this.currentDirection!==null&&v&&v(this.currentDirection);return}this.updateAxis("x",m.point,g),this.updateAxis("y",m.point,g),this.visualElement.render(),x&&we.update(()=>x(f,m),!1,!0)},c=(f,m)=>{this.latestPointerEvent=f,this.latestPanInfo=m,this.stop(f,m),this.latestPointerEvent=null,this.latestPanInfo=null},u=()=>{const{dragSnapToOrigin:f}=this.getProps();(f||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:d}=this.getProps();this.panSession=new OS(t,{onSessionStart:o,onStart:a,onMove:l,onSessionEnd:c,resumeAnimation:u},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:d,distanceThreshold:r,contextWindow:LS(this.visualElement),element:this.visualElement.current})}stop(t,n){const r=t||this.latestPointerEvent,s=n||this.latestPanInfo,o=this.isDragging;if(this.cancel(),!o||!s||!r)return;const{velocity:a}=s;this.startAnimation(a);const{onDragEnd:l}=this.getProps();l&&we.postRender(()=>l(r,s))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.endPanSession();const{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(t,n,r){const{drag:s}=this.getProps();if(!r||!dl(t,s,this.currentDirection))return;const o=this.getAxisMotionValue(t);let a=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(a=WD(a,this.constraints[t],this.elastic[t])),o.set(a)}resolveConstraints(){var o;const{dragConstraints:t,dragElastic:n}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(o=this.visualElement.projection)==null?void 0:o.layout,s=this.constraints;t&&Hs(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&r?this.constraints=UD(r.layoutBox,t):this.constraints=!1,this.elastic=GD(n),s!==this.constraints&&!Hs(t)&&r&&this.constraints&&!this.hasMutatedConstraints&&jn(a=>{this.constraints!==!1&&this.getAxisMotionValue(a)&&(this.constraints[a]=KD(r.layoutBox[a],this.constraints[a]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!Hs(t))return!1;const r=t.current,{projection:s}=this.visualElement;if(!s||!s.layout)return!1;const o=Z3(r,s.root,this.visualElement.getTransformPagePoint());let a=qD(s.layout.layoutBox,o);if(n){const l=n(Y3(a));this.hasMutatedConstraints=!!l,l&&(a=sS(l))}return a}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:s,dragTransition:o,dragSnapToOrigin:a,onDragTransitionEnd:l}=this.getProps(),c=this.constraints||{},u=jn(d=>{if(!dl(d,n,this.currentDirection))return;let f=c&&c[d]||{};(a===!0||a===d)&&(f={min:0,max:0});const m=s?200:1e6,p=s?40:1e7,w={type:"inertia",velocity:r?t[d]:0,bounceStiffness:m,bounceDamping:p,timeConstant:750,restDelta:1,restSpeed:10,...o,...f};return this.startAxisValueAnimation(d,w)});return Promise.all(u).then(l)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return Cm(this.visualElement,t),r.start(Nh(t,r,0,n,this.visualElement,!1))}stopAnimation(){jn(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){jn(n=>{const{drag:r}=this.getProps();if(!dl(n,r,this.currentDirection))return;const{projection:s}=this.visualElement,o=this.getAxisMotionValue(n);if(s&&s.layout){const{min:a,max:l}=s.layout.layoutBox[n],c=o.get()||0;o.set(t[n]-Ae(a,l,.5)+c)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!Hs(n)||!r||!this.constraints)return;this.stopAnimation();const s={x:0,y:0};jn(a=>{const l=this.getAxisMotionValue(a);if(l&&this.constraints!==!1){const c=l.get();s[a]=HD({min:c,max:c},this.constraints[a])}});const{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.constraints=!1,this.resolveConstraints(),jn(a=>{if(!dl(a,t,null))return;const l=this.getAxisMotionValue(a),{min:c,max:u}=this.constraints[a];l.set(Ae(c,u,s[a]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;YD.set(this.visualElement,this);const t=this.visualElement.current,n=Ii(t,"pointerdown",u=>{const{drag:d,dragListener:f=!0}=this.getProps(),m=u.target,p=m!==t&&T3(m);d&&f&&!p&&this.start(u)});let r;const s=()=>{const{dragConstraints:u}=this.getProps();Hs(u)&&u.current&&(this.constraints=this.resolveRefConstraints(),r||(r=XD(t,u.current,()=>this.scalePositionWithinConstraints())))},{projection:o}=this.visualElement,a=o.addEventListener("measure",s);o&&!o.layout&&(o.root&&o.root.updateScroll(),o.updateLayout()),we.read(s);const l=la(window,"resize",()=>this.scalePositionWithinConstraints()),c=o.addEventListener("didUpdate",({delta:u,hasLayoutChanged:d})=>{this.isDragging&&d&&(jn(f=>{const m=this.getAxisMotionValue(f);m&&(this.originPoint[f]+=u[f].translate,m.set(m.get()+u[f].translate))}),this.visualElement.render())});return()=>{l(),n(),a(),c&&c(),r&&r()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:s=!1,dragConstraints:o=!1,dragElastic:a=Im,dragMomentum:l=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:s,dragConstraints:o,dragElastic:a,dragMomentum:l}}}function yx(e){let t=!0;return()=>{if(t){t=!1;return}e()}}function XD(e,t,n){const r=Ny(e,yx(n)),s=Ny(t,yx(n));return()=>{r(),s()}}function dl(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function ZD(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class JD extends es{constructor(t){super(t),this.removeGroupControls=Ut,this.removeListeners=Ut,this.controls=new QD(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Ut}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 Od=e=>(t,n)=>{e&&we.update(()=>e(t,n),!1,!0)};class eL extends es{constructor(){super(...arguments),this.removePointerDownListener=Ut}onPointerDown(t){this.session=new OS(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:LS(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:s}=this.node.getProps();return{onSessionStart:Od(t),onStart:Od(n),onMove:Od(r),onEnd:(o,a)=>{delete this.session,s&&we.postRender(()=>s(o,a))}}}mount(){this.removePointerDownListener=Ii(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 Fd=!1;class tL extends h.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:s}=this.props,{projection:o}=t;o&&(n.group&&n.group.add(o),r&&r.register&&s&&r.register(o),Fd&&o.root.didUpdate(),o.addEventListener("animationComplete",()=>{this.safeToRemove()}),o.setOptions({...o.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),_l.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:s,isPresent:o}=this.props,{projection:a}=r;return a&&(a.isPresent=o,t.layoutDependency!==n&&a.setOptions({...a.options,layoutDependency:n}),Fd=!0,s||t.layoutDependency!==n||n===void 0||t.isPresent!==o?a.willUpdate():this.safeToRemove(),t.isPresent!==o&&(o?a.promote():a.relegate()||we.postRender(()=>{const l=a.getStack();(!l||!l.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{visualElement:t,layoutAnchor:n}=this.props,{projection:r}=t;r&&(r.options.layoutAnchor=n,r.root.didUpdate(),Ph.postRender(()=>{!r.currentAnimation&&r.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:s}=t;Fd=!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 _S(e){const[t,n]=kS(),r=h.useContext(uh);return i.jsx(tL,{...e,layoutGroup:r,switchLayoutGroup:h.useContext(IS),isPresent:t,safeToRemove:n})}const nL={pan:{Feature:eL},drag:{Feature:JD,ProjectionNode:NS,MeasureLayout:_S}};
346function xx(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&&we.postRender(()=>o(t,Ra(t)))}class rL extends es{mount(){const{current:t}=this.node;t&&(this.unmount=N3(t,(n,r)=>(xx(this.node,r,"Start"),s=>xx(this.node,s,"End"))))}unmount(){}}class sL extends es{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=Aa(la(this.node.current,"focus",()=>this.onFocus()),la(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function bx(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&&we.postRender(()=>o(t,Ra(t)))}class oL extends es{mount(){const{current:t}=this.node;if(!t)return;const{globalTapTarget:n,propagate:r}=this.node.props;this.unmount=M3(t,(s,o)=>(bx(this.node,o,"Start"),(a,{success:l})=>bx(this.node,a,l?"End":"Cancel")),{useGlobalTarget:n,stopPropagation:(r==null?void 0:r.tap)===!1})}unmount(){}}const Dm=new WeakMap,_d=new WeakMap,iL=e=>{const t=Dm.get(e.target);t&&t(e)},aL=e=>{e.forEach(iL)};function lL({root:e,...t}){const n=e||document;_d.has(n)||_d.set(n,{});const r=_d.get(n),s=JSON.stringify(t);return r[s]||(r[s]=new IntersectionObserver(aL,{root:e,...t})),r[s]}function cL(e,t,n){const r=lL(t);return Dm.set(e,n),r.observe(e),()=>{Dm.delete(e),r.unobserve(e)}}const uL={some:0,all:1};class dL extends es{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var c;(c=this.stopObserver)==null||c.call(this);const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:s="some",once:o}=t,a={root:n?n.current:void 0,rootMargin:r,threshold:typeof s=="number"?s:uL[s]},l=u=>{const{isIntersecting:d}=u;if(this.isInView===d||(this.isInView=d,o&&!d&&this.hasEnteredView))return;d&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",d);const{onViewportEnter:f,onViewportLeave:m}=this.node.getProps(),p=d?f:m;p&&p(u)};this.stopObserver=cL(this.node.current,a,l)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(fL(t,n))&&this.startObserver()}unmount(){var t;(t=this.stopObserver)==null||t.call(this),this.hasEnteredView=!1,this.isInView=!1}}function fL({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const mL={inView:{Feature:dL},tap:{Feature:oL},focus:{Feature:sL},hover:{Feature:rL}},pL={layout:{ProjectionNode:NS,MeasureLayout:_S}},hL={..._D,...mL,...nL,...pL},ve=ID(hL,DD),gL={some:0,all:1};function vL(e,t,{root:n,margin:r,amount:s="some"}={}){const o=Th(e),a=new WeakMap,l=u=>{u.forEach(d=>{const f=a.get(d.target);if(d.isIntersecting!==!!f)if(d.isIntersecting){const m=t(d.target,d);typeof m=="function"?a.set(d.target,m):c.unobserve(d.target)}else typeof f=="function"&&(f(d),a.delete(d.target))})},c=new IntersectionObserver(l,{root:n,rootMargin:r,threshold:typeof s=="number"?s:gL[s]});return o.forEach(u=>c.observe(u)),()=>c.disconnect()}function yL(e,{root:t,margin:n,amount:r,once:s=!1,initial:o=!1}={}){const[a,l]=h.useState(o);return h.useEffect(()=>{if(!e.current||s&&a)return;const c=()=>(l(!0),s?void 0:()=>l(!1)),u={root:t&&t.current||void 0,margin:n,amount:r};return vL(e.current,c,u)},[t,e,n,s,r]),a}var xL=Symbol.for("react.lazy"),Rc=Bc[" use ".trim().toString()];function bL(e){return typeof e=="object"&&e!==null&&"then"in e}function zS(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===xL&&"_payload"in e&&bL(e._payload)}function wL(e){const t=jL(e),n=h.forwardRef((r,s)=>{let{children:o,...a}=r;zS(o)&&typeof Rc=="function"&&(o=Rc(o._payload));const l=h.Children.toArray(o),c=l.find(NL);if(c){const u=c.props.children,d=l.map(f=>f===c?h.Children.count(u)>1?h.Children.only(null):h.isValidElement(u)?u.props.children:null:f);return i.jsx(t,{...a,ref:s,children:h.isValidElement(u)?h.cloneElement(u,void 0,d):null})}return i.jsx(t,{...a,ref:s,children:o})});return n.displayName=`${e}.Slot`,n}var SL=wL("Slot");function jL(e){const t=h.forwardRef((n,r)=>{let{children:s,...o}=n;if(zS(s)&&typeof Rc=="function"&&(s=Rc(s._payload)),h.isValidElement(s)){const a=EL(s),l=kL(o,s.props);return s.type!==h.Fragment&&(l.ref=r?ja(r,a):a),h.cloneElement(s,l)}return h.Children.count(s)>1?h.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var CL=Symbol("radix.slottable");function NL(e){return h.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===CL}function kL(e,t){const n={...t};for(const r in t){const s=e[r],o=t[r];/^on[A-Z]/.test(r)?s&&o?n[r]=(...l)=>{const c=o(...l);return s(...l),c}:s&&(n[r]=s):r==="style"?n[r]={...s,...o}
vendor: 5,620 bytes, line 346
346:r==="className"&&(n[r]=[s,o].filter(Boolean).join(" "))}return{...e,...n}}function EL(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)}const AL=$p("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"}}),he=h.forwardRef(({className:e,variant:t,size:n,asChild:r=!1,...s},o)=>{const a=r?SL:"button";return i.jsx(a,{className:ue(AL({variant:t,size:n,className:e})),ref:o,...s})});he.displayName="Button";const VS=h.createContext(void 0),TL=({children:e})=>{const[t,n]=h.useState("en");h.useEffect(()=>{const s=localStorage.getItem("app-lang");s&&n(s)},[]);const r=s=>{n(s),localStorage.setItem("app-lang",s)};return i.jsx(VS.Provider,{value:{language:t,setLanguage:r},children:e})},fe=()=>{const e=h.useContext(VS);if(e===void 0)throw new Error("useLanguage must be used within a LanguageProvider");return e};var zd="focusScope.autoFocusOnMount",Vd="focusScope.autoFocusOnUnmount",wx={bubbles:!1,cancelable:!0},PL="FocusScope",BS=h.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:s,onUnmountAutoFocus:o,...a}=e,[l,c]=h.useState(null),u=mn(s),d=mn(o),f=h.useRef(null),m=Ce(t,v=>c(v)),p=h.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;h.useEffect(()=>{if(r){let v=function(b){if(p.paused||!l)return;const S=b.target;l.contains(S)?f.current=S:vr(f.current,{select:!0})},x=function(b){if(p.paused||!l)return;const S=b.relatedTarget;S!==null&&(l.contains(S)||vr(f.current,{select:!0}))},g=function(b){if(document.activeElement===document.body)for(const j of b)j.removedNodes.length>0&&vr(l)};document.addEventListener("focusin",v),document.addEventListener("focusout",x);const y=new MutationObserver(g);return l&&y.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",v),document.removeEventListener("focusout",x),y.disconnect()}}},[r,l,p.paused]),h.useEffect(()=>{if(l){jx.add(p);const v=document.activeElement;if(!l.contains(v)){const g=new CustomEvent(zd,wx);l.addEventListener(zd,u),l.dispatchEvent(g),g.defaultPrevented||(ML(OL($S(l)),{select:!0}),document.activeElement===v&&vr(l))}return()=>{l.removeEventListener(zd,u),setTimeout(()=>{const g=new CustomEvent(Vd,wx);l.addEventListener(Vd,d),l.dispatchEvent(g),g.defaultPrevented||vr(v??document.body,{select:!0}),l.removeEventListener(Vd,d),jx.remove(p)},0)}}},[l,u,d,p]);const w=h.useCallback(v=>{if(!n&&!r||p.paused)return;const x=v.key==="Tab"&&!v.altKey&&!v.ctrlKey&&!v.metaKey,g=document.activeElement;if(x&&g){const y=v.currentTarget,[b,S]=RL(y);b&&S?!v.shiftKey&&g===S?(v.preventDefault(),n&&vr(b,{select:!0})):v.shiftKey&&g===b&&(v.preventDefault(),n&&vr(S,{select:!0})):g===y&&v.preventDefault()}},[n,r,p.paused]);return i.jsx(ce.div,{tabIndex:-1,...a,ref:m,onKeyDown:w})});BS.displayName=PL;function ML(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(vr(r,{select:t}),document.activeElement!==n)return}function RL(e){const t=$S(e),n=Sx(t,e),r=Sx(t.reverse(),e);return[n,r]}function $S(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 Sx(e,t){for(const n of e)if(!IL(n,{upTo:t}))return n}function IL(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function DL(e){return e instanceof HTMLInputElement&&"select"in e}function vr(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&DL(e)&&t&&e.select()}}var jx=LL();function LL(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=Cx(e,t),e.unshift(t)},remove(t){var n;e=Cx(e,t),(n=e[0])==null||n.resume()}}}function Cx(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function OL(e){return e.filter(t=>t.tagName!=="A")}var Bd=0;function FL(){h.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??Nx()),document.body.insertAdjacentElement("beforeend",e[1]??Nx()),Bd++,()=>{Bd===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),Bd--}},[])}function Nx(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.
vendor: 5,651 bytes, lines 346-361
346style.position="fixed",e.style.pointerEvents="none",e}var Tn=function(){return Tn=Object.assign||function(t){for(var n,r=1,s=arguments.length;r<s;r++){n=arguments[r];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},Tn.apply(this,arguments)};function WS(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,r=Object.getOwnPropertySymbols(e);s<r.length;s++)t.indexOf(r[s])<0&&Object.prototype.propertyIsEnumerable.call(e,r[s])&&(n[r[s]]=e[r[s]]);return n}function _L(e,t,n){if(n||arguments.length===2)for(var r=0,s=t.length,o;r<s;r++)(o||!(r in t))&&(o||(o=Array.prototype.slice.call(t,0,r)),o[r]=t[r]);return e.concat(o||Array.prototype.slice.call(t))}var zl="right-scroll-bar-position",Vl="width-before-scroll-bar",zL="with-scroll-bars-hidden",VL="--removed-body-scroll-bar-size";function $d(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function BL(e,t){var n=h.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var s=n.value;s!==r&&(n.value=r,n.callback(r,s))}}}})[0];return n.callback=t,n.facade}var $L=typeof window<"u"?h.useLayoutEffect:h.useEffect,kx=new WeakMap;function WL(e,t){var n=BL(null,function(r){return e.forEach(function(s){return $d(s,r)})});return $L(function(){var r=kx.get(n);if(r){var s=new Set(r),o=new Set(e),a=n.current;s.forEach(function(l){o.has(l)||$d(l,null)}),o.forEach(function(l){s.has(l)||$d(l,a)})}kx.set(n,e)},[e]),n}function UL(e){return e}function qL(e,t){t===void 0&&(t=UL);var n=[],r=!1,s={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(o){var a=t(o,r);return n.push(a),function(){n=n.filter(function(l){return l!==a})}},assignSyncMedium:function(o){for(r=!0;n.length;){var a=n;n=[],a.forEach(o)}n={push:function(l){return o(l)},filter:function(){return n}}},assignMedium:function(o){r=!0;var a=[];if(n.length){var l=n;n=[],l.forEach(o),a=n}var c=function(){var d=a;a=[],d.forEach(o)},u=function(){return Promise.resolve().then(c)};u(),n={push:function(d){a.push(d),u()},filter:function(d){return a=a.filter(d),n}}}};return s}function HL(e){e===void 0&&(e={});var t=qL(null);return t.options=Tn({async:!0,ssr:!1},e),t}var US=function(e){var t=e.sideCar,n=WS(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return h.createElement(r,Tn({},n))};US.isSideCarExport=!0;function KL(e,t){return e.useMedium(t),US}var qS=HL(),Wd=function(){},ju=h.forwardRef(function(e,t){var n=h.useRef(null),r=h.useState({onScrollCapture:Wd,onWheelCapture:Wd,onTouchMoveCapture:Wd}),s=r[0],o=r[1],a=e.forwardProps,l=e.children,c=e.className,u=e.removeScrollBar,d=e.enabled,f=e.shards,m=e.sideCar,p=e.noRelative,w=e.noIsolation,v=e.inert,x=e.allowPinchZoom,g=e.as,y=g===void 0?"div":g,b=e.gapMode,S=WS(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),j=m,C=WL([n,t]),N=Tn(Tn({},S),s);return h.createElement(h.Fragment,null,d&&h.createElement(j,{sideCar:qS,removeScrollBar:u,shards:f,noRelative:p,noIsolation:w,inert:v,setCallbacks:o,allowPinchZoom:!!x,lockRef:n,gapMode:b}),a?h.cloneElement(h.Children.only(l),Tn(Tn({},N),{ref:C})):h.createElement(y,Tn({},N,{className:c,ref:C}),l))});ju.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};ju.classNames={fullWidth:Vl,zeroRight:zl};var GL=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function YL(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=GL();return t&&e.setAttribute("nonce",t),e}function QL(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function XL(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var ZL=function(){var e=0,t=null;return{add:function(n){e==0&&(t=YL())&&(QL(t,n),XL(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},JL=function(){var e=ZL();return function(t,n){h.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},HS=function(){var e=JL(),t=function(n){var r=n.styles,s=n.dynamic;return e(r,s),null};return t},eO={left:0,top:0,right:0,gap:0},Ud=function(e){return parseInt(e||"",10)||0},tO=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],s=t[e==="padding"?"paddingRight":"marginRight"];return[Ud(n),Ud(r),Ud(s)]},nO=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return eO;var t=tO(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},rO=HS(),vo="data-scroll-locked",sO=function(e,t,n,r){var s=e.left,o=e.top,a=e.right,l=e.gap;return n===void 0&&(n="margin"),` 347 .`.concat(zL,` { 348 overflow: hidden `).concat(r,`; 349 padding-right: `).concat(l,"px ").concat(r,`; 350 } 351 body[`).concat(vo,`] { 352 overflow: hidden `).concat(r,`; 353 overscroll-behavior: contain; 354 `).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&` 355 padding-left: `.concat(s,`px; 356 padding-top: `).concat(o,`px; 357 padding-right: `).concat(a,`px; 358 margin-left:0; 359 margin-top:0; 360 margin-right: `).concat(l,"px ").concat(r,`; 361 `),n==="padding"&&"padding-right: ".concat(l,"px ").concat(r,";
361")].filter(Boolean).join(""),` 362 } 363 364 .`).concat(zl,` { 365 right: `).concat(l,"px ").concat(r,`; 366 } 367 368 .`).concat(Vl,` { 369 margin-right: `).concat(l,"px ").concat(r,`; 370 } 371 372 .`).concat(zl," .").concat(zl,` { 373 right: 0 `).concat(r,`; 374 } 375 376 .`).concat(Vl," .").concat(Vl,` { 377 margin-right: 0 `).concat(r,`; 378 } 379 380 body[`).concat(vo,`] { 381 `).concat(VL,": ").concat(l,`px; 382 } 383`)},Ex=function(){var e=parseInt(document.body.getAttribute(vo)||"0",10);return isFinite(e)?e:0},oO=function(){h.useEffect(function(){return document.body.setAttribute(vo,(Ex()+1).toString()),function(){var e=Ex()-1;e<=0?document.body.removeAttribute(vo):document.body.setAttribute(vo,e.toString())}},[])},iO=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,s=r===void 0?"margin":r;oO();var o=h.useMemo(function(){return nO(s)},[s]);return h.createElement(rO,{styles:sO(o,!t,s,n?"":"!important")})},Lm=!1;if(typeof window<"u")try{var fl=Object.defineProperty({},"passive",{get:function(){return Lm=!0,!0}});window.addEventListener("test",fl,fl),window.removeEventListener("test",fl,fl)}catch{Lm=!1}var $s=Lm?{passive:!1}:!1,aO=function(e){return e.tagName==="TEXTAREA"},KS=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!aO(e)&&n[t]==="visible")},lO=function(e){return KS(e,"overflowY")},cO=function(e){return KS(e,"overflowX")},Ax=function(e,t){var n=t.ownerDocument,r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var s=GS(e,r);if(s){var o=YS(e,r),a=o[1],l=o[2];if(a>l)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},uO=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},dO=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},GS=function(e,t){return e==="v"?lO(t):cO(t)},YS=function(e,t){return e==="v"?uO(t):dO(t)},fO=function(e,t){return e==="h"&&t==="rtl"?-1:1},mO=function(e,t,n,r,s){var o=fO(e,window.getComputedStyle(t).direction),a=o*r,l=n.target,c=t.contains(l),u=!1,d=a>0,f=0,m=0;do{if(!l)break;var p=YS(e,l),w=p[0],v=p[1],x=p[2],g=v-x-o*w;(w||g)&&GS(e,l)&&(f+=g,m+=w);var y=l.parentNode;l=y&&y.nodeType===Node.DOCUMENT_FRAGMENT_NODE?y.host:y}while(!c&&l!==document.body||c&&(t.contains(l)||t===l));return(d&&Math.abs(f)<1||!d&&Math.abs(m)<1)&&(u=!0),u},ml=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Tx=function(e){return[e.deltaX,e.deltaY]},Px=function(e){return e&&"current"in e?e.current:e},pO=function(e,t){return e[0]===t[0]&&e[1]===t[1]},hO=function(e){return` 384 .block-interactivity-`.concat(e,` {pointer-events: none;} 385 .allow-interactivity-`).concat(e,` {pointer-events: all;} 386`)},gO=0,Ws=[];function vO(e){var t=h.useRef([]),n=h.useRef([0,0]),r=h.useRef(),s=h.useState(gO++)[0],o=h.useState(HS)[0],a=h.useRef(e);h.useEffect(function(){a.current=e},[e]),h.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(s));var v=_L([e.lockRef.current],(e.shards||[]).map(Px),!0).filter(Boolean);return v.forEach(function(x){return x.classList.add("allow-interactivity-".concat(s))}),function(){document.body.classList.remove("block-interactivity-".concat(s)),v.forEach(function(x){return x.classList.remove("allow-interactivity-".concat(s))})}}},[e.inert,e.lockRef.current,e.shards]);var l=h.useCallback(function(v,x){if("touches"in v&&v.touches.length===2||v.type==="wheel"&&v.ctrlKey)return!a.current.allowPinchZoom;var g=ml(v),y=n.current,b="deltaX"in v?v.deltaX:y[0]-g[0],S="deltaY"in v?v.deltaY:y[1]-g[1],j,C=v.target,N=Math.abs(b)>Math.abs(S)?"h":"v";if("touches"in v&&N==="h"&&C.type==="range")return!1;var E=window.getSelection(),T=E&&E.anchorNode,P=T?T===C||T.contains(C):!1;if(P)return!1;var I=Ax(N,C);if(!I)return!0;if(I?j=N:(j=N==="v"?"h":"v",I=Ax(N,C)),!I)return!1;if(!r.current&&"changedTouches"in v&&(b||S)&&(r.current=j),!j)return!0;var F=r.current||j;return mO(F,x,v,F==="h"?b:S)},[]),c=h.useCallback(function(v){var x=v;if(!(!Ws.length||Ws[Ws.length-1]!==o)){var g="deltaY"in x?Tx(x):ml(x),y=t.current.filter(function(j){return j.name===x.type&&(j.target===x.target||x.target===j.shadowParent)&&pO(j.delta,g)})[0];if(y&&y.should){x.cancelable&&x.preventDefault();return}
vendor: 10,736 bytes, lines 386-390
386if(!y){var b=(a.current.shards||[]).map(Px).filter(Boolean).filter(function(j){return j.contains(x.target)}),S=b.length>0?l(x,b[0]):!a.current.noIsolation;S&&x.cancelable&&x.preventDefault()}}},[]),u=h.useCallback(function(v,x,g,y){var b={name:v,delta:x,target:g,should:y,shadowParent:yO(g)};t.current.push(b),setTimeout(function(){t.current=t.current.filter(function(S){return S!==b})},1)},[]),d=h.useCallback(function(v){n.current=ml(v),r.current=void 0},[]),f=h.useCallback(function(v){u(v.type,Tx(v),v.target,l(v,e.lockRef.current))},[]),m=h.useCallback(function(v){u(v.type,ml(v),v.target,l(v,e.lockRef.current))},[]);h.useEffect(function(){return Ws.push(o),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:m}),document.addEventListener("wheel",c,$s),document.addEventListener("touchmove",c,$s),document.addEventListener("touchstart",d,$s),function(){Ws=Ws.filter(function(v){return v!==o}),document.removeEventListener("wheel",c,$s),document.removeEventListener("touchmove",c,$s),document.removeEventListener("touchstart",d,$s)}},[]);var p=e.removeScrollBar,w=e.inert;return h.createElement(h.Fragment,null,w?h.createElement(o,{styles:hO(s)}):null,p?h.createElement(iO,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function yO(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const xO=KL(qS,vO);var QS=h.forwardRef(function(e,t){return h.createElement(ju,Tn({},e,{ref:t,sideCar:xO}))});QS.classNames=ju.classNames;var bO=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Us=new WeakMap,pl=new WeakMap,hl={},qd=0,XS=function(e){return e&&(e.host||XS(e.parentNode))},wO=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=XS(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},SO=function(e,t,n,r){var s=wO(t,Array.isArray(e)?e:[e]);hl[n]||(hl[n]=new WeakMap);var o=hl[n],a=[],l=new Set,c=new Set(s),u=function(f){!f||l.has(f)||(l.add(f),u(f.parentNode))};s.forEach(u);var d=function(f){!f||c.has(f)||Array.prototype.forEach.call(f.children,function(m){if(l.has(m))d(m);else try{var p=m.getAttribute(r),w=p!==null&&p!=="false",v=(Us.get(m)||0)+1,x=(o.get(m)||0)+1;Us.set(m,v),o.set(m,x),a.push(m),v===1&&w&&pl.set(m,!0),x===1&&m.setAttribute(n,"true"),w||m.setAttribute(r,"true")}catch(g){console.error("aria-hidden: cannot operate on ",m,g)}})};return d(t),l.clear(),qd++,function(){a.forEach(function(f){var m=Us.get(f)-1,p=o.get(f)-1;Us.set(f,m),o.set(f,p),m||(pl.has(f)||f.removeAttribute(r),pl.delete(f)),p||f.removeAttribute(n)}),qd--,qd||(Us=new WeakMap,Us=new WeakMap,pl=new WeakMap,hl={})}},jO=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),s=bO(e);return s?(r.push.apply(r,Array.from(s.querySelectorAll("[aria-live], script"))),SO(r,s,n,"aria-hidden")):function(){return null}};function CO(e){const t=NO(e),n=h.forwardRef((r,s)=>{const{children:o,...a}=r,l=h.Children.toArray(o),c=l.find(EO);if(c){const u=c.props.children,d=l.map(f=>f===c?h.Children.count(u)>1?h.Children.only(null):h.isValidElement(u)?u.props.children:null:f);return i.jsx(t,{...a,ref:s,children:h.isValidElement(u)?h.cloneElement(u,void 0,d):null})}return i.jsx(t,{...a,ref:s,children:o})});return n.displayName=`${e}.Slot`,n}function NO(e){const t=h.forwardRef((n,r)=>{const{children:s,...o}=n;if(h.isValidElement(s)){const a=TO(s),l=AO(o,s.props);return s.type!==h.Fragment&&(l.ref=r?ja(r,a):a),h.cloneElement(s,l)}return h.Children.count(s)>1?h.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var kO=Symbol("radix.slottable");function EO(e){return h.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===kO}function AO(e,t){const n={...t};for(const r in t){const s=e[r],o=t[r];/^on[A-Z]/.test(r)?s&&o?n[r]=(...l)=>{const c=o(...l);return s(...l),c}:s&&(n[r]=s):r==="style"?n[r]={...s,...o}:r==="className"&&(n[r]=[s,o].filter(Boolean).join(" "))}return{...e,...n}}function TO(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 Cu="Dialog",[ZS]=gn(Cu),[PO,vn]=ZS(Cu),JS=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:s,onOpenChange:o,modal:a=!0}=e,l=h.useRef(null),c=h.useRef(null),[u,d]=Fn({prop:r,defaultProp:s??!1,onChange:o,caller:Cu});return i.jsx(PO,{scope:t,triggerRef:l,contentRef:c,contentId:Vr(),titleId:Vr(),descriptionId:Vr(),open:u,onOpenChange:d,onOpenToggle:h.useCallback(()=>d(f=>!f),[d]),modal:a,children:n})};JS.displayName=Cu;var ej="DialogTrigger",tj=h.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,s=vn(ej,n),o=Ce(t,s.triggerRef);return i.jsx(ce.button,{type:"button","aria-haspopup":"dialog","aria-expanded":s.open,"aria-controls":s.contentId,"data-state":$h(s.open),...r,ref:o,onClick:ae(e.onClick,s.onOpenToggle)})});tj.displayName=ej;var Vh="DialogPortal",[MO,nj]=ZS(Vh,{forceMount:void 0}),rj=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:s}=e,o=vn(Vh,t);return i.jsx(MO,{scope:t,forceMount:n,children:h.Children.map(r,a=>i.jsx(Zr,{present:n||o.open,children:i.jsx(_p,{asChild:!0,container:s,children:a})}))})};rj.displayName=Vh;var Ic="DialogOverlay",sj=h.forwardRef((e,t)=>{const n=nj(Ic,e.__scopeDialog),{forceMount:r=n.forceMount,...s}=e,o=vn(Ic,e.__scopeDialog);return o.modal?i.jsx(Zr,{present:r||o.open,children:i.jsx(IO,{...s,ref:t})}):null});sj.displayName=Ic;var RO=CO("DialogOverlay.RemoveScroll"),IO=h.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,s=vn(Ic,n);return i.jsx(QS,{as:RO,allowPinchZoom:!0,shards:[s.contentRef],children:i.jsx(ce.div,{"data-state":$h(s.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),Rs="DialogContent",oj=h.forwardRef((e,t)=>{const n=nj(Rs,e.__scopeDialog),{forceMount:r=n.forceMount,...s}=e,o=vn(Rs,e.__scopeDialog);return i.jsx(Zr,{present:r||o.open,children:o.modal?i.jsx(DO,{...s,ref:t}):i.jsx(LO,{...s,ref:t})})});oj.displayName=Rs;var DO=h.forwardRef((e,t)=>{const n=vn(Rs,e.__scopeDialog),r=h.useRef(null),s=Ce(t,n.contentRef,r);return h.useEffect(()=>{const o=r.current;if(o)return jO(o)},[]),i.jsx(ij,{...e,ref:s,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:ae(e.onCloseAutoFocus,o=>{var a;o.preventDefault(),(a=n.triggerRef.current)==null||a.focus()}),onPointerDownOutside:ae(e.onPointerDownOutside,o=>{const a=o.detail.originalEvent,l=a.button===0&&a.ctrlKey===!0;(a.button===2||l)&&o.preventDefault()}),onFocusOutside:ae(e.onFocusOutside,o=>o.preventDefault())})}),LO=h.forwardRef((e,t)=>{const n=vn(Rs,e.__scopeDialog),r=h.useRef(!1),s=h.useRef(!1);return i.jsx(ij,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:o=>{var a,l;(a=e.onCloseAutoFocus)==null||a.call(e,o),o.defaultPrevented||(r.current||(l=n.triggerRef.current)==null||l.focus(),o.preventDefault()),r.current=!1,s.current=!1},onInteractOutside:o=>{var c,u;(c=e.onInteractOutside)==null||c.call(e,o),o.defaultPrevented||(r.current=!0,o.detail.originalEvent.type==="pointerdown"&&(s.current=!0));const a=o.target;((u=n.triggerRef.current)==null?void 0:u.contains(a))&&o.preventDefault(),o.detail.originalEvent.type==="focusin"&&s.current&&o.preventDefault()}})}),ij=h.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:s,onCloseAutoFocus:o,...a}=e,l=vn(Rs,n),c=h.useRef(null),u=Ce(t,c);return FL(),i.jsxs(i.Fragment,{children:[i.jsx(BS,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:s,onUnmountAutoFocus:o,children:i.jsx(su,{role:"dialog",id:l.contentId,"aria-describedby":l.descriptionId,"aria-labelledby":l.titleId,"data-state":$h(l.open),...a,ref:u,onDismiss:()=>l.onOpenChange(!1)})}),i.jsxs(i.Fragment,{children:[i.jsx(OO,{titleId:l.titleId}),i.jsx(_O,{contentRef:c,descriptionId:l.descriptionId})]})]})}),Bh="DialogTitle",aj=h.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,s=vn(Bh,n);return i.jsx(ce.h2,{id:s.titleId,...r,ref:t})});aj.displayName=Bh;var lj="DialogDescription",cj=h.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,s=vn(lj,n);return i.jsx(ce.p,{id:s.descriptionId,...r,ref:t})});cj.displayName=lj;var uj="DialogClose",dj=h.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,s=vn(uj,n);return i.jsx(ce.button,{type:"button",...r,ref:t,onClick:ae(e.onClick,()=>s.onOpenChange(!1))})});dj.displayName=uj;function $h(e){return e?"open":"closed"}var fj="DialogTitleWarning",[f_,mj]=yE(fj,{contentName:Rs,titleName:Bh,docsSlug:"dialog"}),OO=({titleId:e})=>{const t=mj(fj),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users. 387 388If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component. 389 390For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return h.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},FO="DialogDescriptionWarning",_O=({contentRef:e,descriptionId:t})=>{const r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${mj(FO).contentName}}.`;return h.useEffect(()=>{var o;const s=(o=e.current)==null?void 0:o.getAttribute("aria-describedby");t&&s&&(document.getElementById(t)||console.warn(r))},[r,e,t]),null},pj=JS,hj=tj,gj=rj,Nu=sj,ku=oj,Eu=aj,Au=cj,vj=dj;const zO=pj,VO=hj,BO=gj,yj=h.forwardRef(({className:e,...t},n)=>i.jsx(Nu,{className:ue("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t,ref:n}));yj.displayName=Nu.displayName;const $O=$p("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),xj=h.forwardRef(({side:e="right",className:t,children:n,...r},s)=>i.jsxs(BO,{children:[i.jsx(yj,{}),i.jsxs(ku,{ref:s,className:ue($O({side:e}),t),...r,children:[n,i.jsxs(vj,{className:"absolute right-4 top-4 roun
390ded-sm opacity-70 ring-offset-background transition-opacity data-[state=open]:bg-secondary hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none",children:[i.jsx(lu,{className:"h-4 w-4"}),i.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));xj.displayName=ku.displayName;const bj=h.forwardRef(({className:e,...t},n)=>i.jsx(Eu,{ref:n,className:ue("text-lg font-semibold text-foreground",e),...t}));bj.displayName=Eu.displayName;const wj=h.forwardRef(({className:e,...t},n)=>i.jsx(Au,{ref:n,className:ue("text-sm text-muted-foreground",e),...t}));wj.displayName=Au.displayName;const WO=()=>{const e=sessionStorage.getItem("countdownTarget");if(e){const n=new Date(e);if(n.getTime()>new Date().getTime())return n}const t=new Date;return t.setHours(t.getHours()+23),t.setMinutes(0),t.setSeconds(0),sessionStorage.setItem("countdownTarget",t.toISOString()),t},UO=()=>{const{language:e}=fe(),[t,n]=h.useState({hours:23,minutes:0,seconds:0}),[r]=h.useState(()=>{const o=sessionStorage.getItem("spotsLeft");if(o)return parseInt(o);const a=Math.floor(Math.random()*3)+2;return sessionStorage.setItem("spotsLeft",a.toString()),a});h.useEffect(()=>{const o=WO(),a=()=>{const c=new Date,u=o.getTime()-c.getTime();if(u<=0){n({hours:0,minutes:0,seconds:0});return}const d=Math.floor(u/1e3/60/60),f=Math.floor(u/1e3/60%60),m=Math.floor(u/1e3%60);n({hours:d,minutes:f,seconds:m})};a();const l=setInterval(a,1e3);return()=>clearInterval(l)},[]);const s=o=>String(o).padStart(2,"0");return i.jsx("div",{className:"bg-primary text-primary-foreground px-4 py-2 flex items-center justify-center text-xs sm:text-sm font-medium",children:i.jsxs("div",{className:"flex flex-wrap items-center justify-center gap-x-4 gap-y-1 text-center",children:[i.jsxs("span",{className:"flex items-center gap-2",children:[i.jsxs("span",{className:"relative flex h-2 w-2",children:[i.jsx("span",{className:"animate-ping absolute inline-flex h-full w-full rounded-full bg-white opacity-75"}),i.jsx("span",{className:"relative inline-flex rounded-full h-2 w-2 bg-white"})]}),e==="fr"?`Seulement ${r} places disponibles cette semaine`:`Only ${r} spots left this week`]}),i.jsxs("div",{className:"flex items-center gap-1.5 bg-black/10 px-2 py-0.5 rounded-full",children:[i.jsx(Ss,{className:"w-3.5 h-3.5"}),i.jsxs("div",{className:"flex items-center gap-0.5 font-mono",children:[i.jsx("span",{children:s(t.hours)}),":",i.jsx("span",{children:s(t.minutes)}),":",i.jsx("span",{children:s(t.seconds)})]})]}),i.jsx("a",{href:"/bookacall",className:"underline font-bold hover:text-white/80 transition-colors ml-2",children:e==="fr"?"Réserver maintenant â":"Book Now â"})]})})},zn=()=>{const{language:e,setLanguage:t}=fe(),{theme:n,setTheme:r}=n1(),[s,o]=h.useState(!1);return i.jsxs("div",{className:"sticky top-0 z-50 flex flex-col w-full",children:[i.jsx(UO,{}),i.jsx("nav",{className:"border-b border-border bg-background/95 backdrop-blur-md",children:i.jsxs("div",{className:"container mx-auto px-4 h-20 flex items-center justify-between",children:[i.jsx("div",{className:"flex items-center gap-2",children:i.jsx("a",{href:"/",children:i.jsx("img",{src:"https://vibe.filesafe.space/1779029949023741031/attachments/6f2b787e-9c0e-45c9-a4a7-74374f8dd413.png",alt:"Kr8tor.ai Logo",className:"h-14 w-auto cursor-pointer hover:opacity-90 transition-opacity"})})}),i.jsxs("div",{className:"hidden lg:flex items-center gap-8 text-sm font-medium text-muted-foreground",children:[i.jsx("a",{href:"/",className:"hover:text-foreground transition-colors",children:e==="fr"?"Accueil":"Home"}),i.jsxs("div",{className:"relative group",children:[i.jsxs("button",{className:"hover:text-foreground transition-colors flex items-center gap-1",children:["Services",i.jsx("svg",{className:"w-3 h-3",viewBox:"0 0 12 12",fill:"none",children:i.jsx("path",{d:"M3 4.5L6 7.5L9 4.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})]}),i.jsx("div",{className:"absolute left-0 top-full pt-2 opacity-0 invisible group-hover:opacity-100 group-hover:visible transition-all",children:i.jsx("div",{className:"bg-background border border-border rounded-xl shadow-xl py-2 w-56",children:[{href:"/ai-automation",label:"AI Automation"},{href:"/ai-voice-agent",label:"AI Voice Agent"},{href:"/ai-chatbot",label:"AI Chatbot"},{href:"/crm-automation",label:"CRM Automation"},{href:"/marketing-automation",label:"Marketing Automation"},{href:"/lead-generation",label:"Lead Generation"},{href:"/web-design",label:"Web Design"},{href:"/seo",label:"SEO"},{href:"/reputation-management",label:"Reputation Management"},{href:"/digital-marketing",label:"Digital Marketing"}].map(a=>i.jsx("a",{href:a.href,className:"block px-4 py-2 text-sm hover:bg-secondary hover:text-foreground transition-colors",children:a.label},a.href))})})]}),i.jsx("a",{href:"/#how-it-works",className:"hover:text-foreground transition-colors",children:e==="fr"?"Comment ça marche":"How It Works"}),i.jsx("a",{href:"/free-sample",className:"hover:text-foreground transition-colors",children:e==="fr"?"Ãchantillon Gratuit":"Free Sample"}),i.jsx("a",{href:"/#pricing",className:"hover:text-foreground transition-colors",children:e==="fr"?"Tarifs":"Pricing"}),i.jsx("a",{href:"/website-funnel-build",className:"hover:text-foreground transition-colors",children:e==="fr"?"Entonnoir Web":"Funnel Build"}),i.jsx("a",{href:"/#testimonials",className:"hover:text-foreground transition-colors",children:e==="fr"?"Témoignages":"Testimonials"}),i.jsx("a",{href:"/about",className:"hover:text-foreground transition-colors",children:e==="fr"?"à Propos":"About"})]}),i.jsxs("div",{className:"flex items-center gap-4",children:[i.jsxs(he,{variant:"ghost",size:"icon",onClick:()=>r(n==="dark"?"light":"dark"),className:"rounded-full",children:[i.jsx(MA,{className:"h-[1.2rem] w-[1.2rem] rotate-0 scale-100 transition-all dark:-rotate-90 dark:scale-0"}),i.jsx(kA,{className:"absolute h-[1.2rem] w-[1.2rem] rotate-90 scale-0 transition-all dark:rotate-0 dark:scale-100"}),i.jsx("span",{className:"sr-only",children:"Toggle theme"})]}),i.jsxs("div",{className:"flex items-center gap-2 border border-border rounded-full p-1 bg-secondary",children:[i.jsx("button",{onClick:()=>t("en"),className:`text-xs px-3 py-1 rounded-full transition-colors ${e==="en"?"bg-primary text-primary-foreground":"text-muted-foreground hover:text-foreground"}`,children:"EN"}),i.jsx("button",{onClick:()=>t("fr"),className:`text-xs px-3 py-1 rounded-full transition-colors ${e==="fr"?"bg-primary text-primary-foreground":"text-muted-foreground hover:text-foreground"}`,children:"FR"})]}),i.jsx(he,{variant:"ghost",className:"hidden lg:inline-flex hover:bg-primary hover:text-primary-foreground transition-colors",asChild:!0,children:i.jsx("a",{href:"/login",children:e==="fr"?"Connexion":"Log In"})}),i.jsx("div",{className:"lg:hidden",children:i.jsxs(zO,{open:s,onOpenChange:o,children:[i.jsx(VO,{asChild:!0,children:i.jsxs(he,{variant:"ghost",size:"icon",children:[i.jsx(CA,{className:"h-6 w-6"}),i.jsx("span",{className:"sr-only",children:"Toggle menu"})]})}),i.jsxs(xj,{side:"right",className:"w-[300px] sm:w-[400px]",children:[i.jsx(bj,{className:"sr-only",children:"Menu"}),i.jsx(wj,{className:"sr-only",children:"Navigation menu"}),i.jsxs("div",{className:"flex flex-col gap-6 pt-10",children:[i.jsx("a",{href:"/",onClick:()=>o(!1),className:"text-lg font-medium hover:text-primary transition-colors",children:e==="fr"?"Accueil":"Home"}),i.jsx("a",{href:"/bookacall",onClick:()=>o(!1),className:"text-lg font-medium hover:text-primary transition-colors",children:e==="fr"?"Réserver un Appel":"Book A Call"}),i.jsxs("div",{className:"space-y-2",children:[i.jsx("p",{className:"text-sm font-semibold text-muted-foreground uppercase tracking-wide",children:"Services"}),[{href:"/ai-automation",label:"AI Automation"},{href:"/ai-voice-agent",label:"AI Voice Agent"},{href:"/ai-chatbot",label:"AI Chatbot"},{href:"/crm-automation",label:"CRM Automation"},{href:"/marketing-automation",label:"Marketing Automation"},{href:"/lead-generation",label:"Lead Generation"},{href:"/web-design",label:"Web Design"},{href:"/seo",label:"SEO"},{href:"/reputation-management",label:"Reputation Management"},{href:"/digital-marketing",label:"Digital Marketing"}].map(a=>i.jsx("a",{href:a.href,onClick:()=>o(!1),className:"block text-base font-medium hover:text-primary transition-colors pl-2",children:a.label},a.href))]}),i.jsx("a",{href:"/#features",onClick:()=>o(!1),className:"text-lg font-medium hover:text-primary transition-colors",children:e==="fr"?"Fonctionnalités":"Features"}),i.jsx("a",{href:"/#how-it-works",onClick:()=>o(!1),className:"text-lg font-medium hover:text-primary transition-colors",children:e==="fr"?"Comment ça marche":"How It Works"}),i.jsx("a",{href:"/free-sample",onClick:()=>o(!1),className:"text-lg font-medium hover:text-primary transition-colors",children:e==="fr"?"Ãchantillon Gratuit":"Free Sample"}),i.jsx("a",{href:"/#pricing",onClick:()=>o(!1),className:"text-lg font-medium hover:text-primary transition-colors",children:e==="fr"?"Tarifs":"Pricing"}),i.jsx("a",{href:"/website-funnel-build",onClick:()=>o(!1),className:"text-lg font-medium hover:text-primary transition-colors",children:e==="fr"?"Entonnoir Web":"Funnel Build"}),i.jsx("a",{href:"/#testimonials",onClick:()=>o(!1),className:"text-lg font-medium hover:text-primary transition-colors",children:e==="fr"?"Témoignages":"Testimonials"}),i.jsx("a",{href:"/about",onClick:()=>o(!1),className:"text-lg font-medium hover:text-primary transition-colors",children:e==="fr"?"à Propos":"About"}),i.jsx("div",{className:"h-px bg-border my-2"}),i.jsxs("div",{className:"flex items-center gap-2 border border-border rounded-full p-1 bg-secondary w-fit",children:[i.jsx("button",{onClick:()=>t("en"),className:`text-sm px-4 py-2 rounded-full transition-colors ${e==="en"?"bg-primary text-primary-foreground":"text-muted-foreground hover:text-foreground"}`,children:"EN"}),i.jsx("button",{onClick:()=>t("fr"),className:`text-sm px-4 py-2 rounded-full transition-colors ${e==="fr"?"bg-primary text-primary-foreground":"text-muted-foreground hover:text-foreground"}`,children:"FR"})]}),i.jsx(he,{variant:"outline",className:"w-full justify-center",asChild:!0,children:i.jsx("a",{href:"/login",onClick:()=>o(!1),children:e==="fr"?"Connexion":"Log In"})})]})]})]})})]})]})})]})},Vn=()=>{const{language:e}=fe();return i.jsx("footer",{className:"border-t border-border bg-background pt-16 pb-8",children:i.jsxs("div",{className:"container mx-auto px-4",children:[i.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-12 mb-12",children:[i.jsxs("div",{className:"col-span-1 md:col-span-2",children:[i.jsx("div",{className:"flex items-center gap-2 mb-6",children:i.jsx("img",{src:"https://vibe.filesafe.space/1779029949023741031/attachments/6f2b787e-9c0e-45c9-a4a7-74374f8dd413.png",alt:"Kr8tor.ai Logo",className:"h-12 w-auto"})}),i.jsx("p",{className:"text-muted-foreground max-w-sm mb-6",children:e==="fr"?"Automatisation de l'IA, systèmes CRM et systèmes marketing conçus pour aider les entreprises à évoluer plus rapidement.":"AI automation, CRM systems, and marketing systems designed to help businesses scale faster."}),i.jsxs("div",{className:"text-sm text-muted-foreground space-y-1 mb-6",children:[i.jsxs("p",{className:"flex items-center gap-2",children:[i.jsx("span",{className:"font-medium text-foreground",children:e==="fr"?"Téléphone :":"Phone:"}),i.jsx("a",{href:"tel:+13053631383",className:"hover:text-primary transition-colors",children:"305-363-1383"})]}),i.jsxs("p",{className:"flex items-center gap-2",children:[i.jsx("span",{className:"font-medium text-foreground",children:e==="fr"?"Courriel :":"Email:"}),i.jsx("a",{href:"mailto:[email protected]",className:"hover:text-primary transition-colors",children:"[email protected]"})]})]}),i.jsxs("div",{className:"text-sm text-muted-foreground",children:[i.jsx("p",{children:e==="fr"?"En vous inscrivant, vous acceptez de recevoir des communications SMS et e-mail.":"By opting in, you agree to re
390ceive SMS & Email communications."}),i.jsx("p",{children:e==="fr"?"Répondez STOP pour annuler, AIDE pour obtenir de l'aide. Des frais de messagerie et de données peuvent s'appliquer.":"Reply STOP to cancel, HELP for help. Msg & data rates may apply."})]})]}),i.jsxs("div",{children:[i.jsx("h4",{className:"font-semibold mb-4",children:"Services"}),i.jsxs("ul",{className:"space-y-3 text-sm text-muted-foreground",children:[i.jsx("li",{children:i.jsx("a",{href:"/ai-automation",className:"hover:text-foreground transition-colors",children:"AI Automation"})}),i.jsx("li",{children:i.jsx("a",{href:"/ai-voice-agent",className:"hover:text-foreground transition-colors",children:"AI Voice Agent"})}),i.jsx("li",{children:i.jsx("a",{href:"/ai-chatbot",className:"hover:text-foreground transition-colors",children:"AI Chatbot"})}),i.jsx("li",{children:i.jsx("a",{href:"/crm-automation",className:"hover:text-foreground transition-colors",children:"CRM Automation"})}),i.jsx("li",{children:i.jsx("a",{href:"/lead-generation",className:"hover:text-foreground transition-colors",children:"Lead Generation"})}),i.jsx("li",{children:i.jsx("a",{href:"/web-design",className:"hover:text-foreground transition-colors",children:"Web Design"})}),i.jsx("li",{children:i.jsx("a",{href:"/seo",className:"hover:text-foreground transition-colors",children:"SEO"})}),i.jsx("li",{children:i.jsx("a",{href:"/digital-marketing",className:"hover:text-foreground transition-colors",children:"Digital Marketing"})})]})]}),i.jsxs("div",{children:[i.jsx("h4",{className:"font-semibold mb-4",children:e==="fr"?"Plateforme":"Platform"}),i.jsxs("ul",{className:"space-y-3 text-sm text-muted-foreground",children:[i.jsx("li",{children:i.jsx("a",{href:"/#features",className:"hover:text-foreground transition-colors",children:e==="fr"?"Fonctionnalités":"Features"})}),i.jsx("li",{children:i.jsx("a",{href:"/#pricing",className:"hover:text-foreground transition-colors",children:e==="fr"?"Tarifs":"Pricing"})}),i.jsx("li",{children:i.jsx("a",{href:"/#how-it-works",className:"hover:text-foreground transition-colors",children:e==="fr"?"Comment ça marche":"How It Works"})}),i.jsx("li",{children:i.jsx("a",{href:"/#testimonials",className:"hover:text-foreground transition-colors",children:e==="fr"?"Témoignages":"Testimonials"})}),i.jsx("li",{children:i.jsx("a",{href:"/montreal-ai-automation",className:"hover:text-foreground transition-colors",children:"Montreal"})}),i.jsx("li",{children:i.jsx("a",{href:"/miami-ai-automation",className:"hover:text-foreground transition-colors",children:"Miami"})}),i.jsx("li",{children:i.jsx("a",{href:"/atlanta-ai-automation",className:"hover:text-foreground transition-colors",children:"Atlanta"})})]})]}),i.jsxs("div",{children:[i.jsx("h4",{className:"font-semibold mb-4",children:e==="fr"?"Entreprise":"Company"}),i.jsxs("ul",{className:"space-y-3 text-sm text-muted-foreground",children:[i.jsx("li",{children:i.jsx("a",{href:"#",className:"hover:text-foreground transition-colors",children:e==="fr"?"Nous contacter":"Contact Us"})}),i.jsx("li",{children:i.jsx(um,{to:"/privacy-policy",className:"hover:text-foreground transition-colors",children:e==="fr"?"Politique de confidentialité":"Privacy Policy"})}),i.jsx("li",{children:i.jsx(um,{to:"/terms-and-conditions",className:"hover:text-foreground transition-colors",children:e==="fr"?"Conditions d'utilisation":"Terms of Service"})})]})]})]}),i.jsx("div",{className:"border-t border-border pt-8 flex flex-col md:flex-row items-center justify-between text-sm text-muted-foreground",children:i.jsx("p",{children:"© 2026 Kr8tor.ai. All rights reserved."})})]})})},qO=()=>{const{language:e}=fe(),t=i.jsxs("div",{className:"relative w-full max-w-xl mx-auto aspect-[4/3] flex items-center justify-center",children:[i.jsx("div",{className:"absolute inset-0 bg-gradient-to-tr from-primary/20 to-purple-500/20 rounded-full blur-3xl animate-pulse"}),i.jsx("img",{src:"https://vibe.filesafe.space/1779029949023741031/attachments/93a7e120-f955-449a-95cf-faf7894189d1.png",alt:"AI Dashboard Mockup",className:"relative z-10 w-full h-full object-contain drop-shadow-2xl"}),i.jsxs("div",{className:"absolute top-0 md:top-10 left-0 md:-left-10 z-20 bg-background/80 backdrop-blur-xl border border-border p-2 md:p-4 roun
390ded-xl shadow-2xl flex items-center gap-2 md:gap-4 animate-bounce scale-90 md:scale-100 origin-top-left",style:{animationDuration:"3s"},children:[i.jsx("div",{className:"w-8 h-8 md:w-10 md:h-10 rounded-full bg-primary/20 flex items-center justify-center text-primary",children:i.jsx(Wp,{className:"w-4 h-4 md:w-5 md:h-5"})}),i.jsxs("div",{children:[i.jsx("p",{className:"text-xs md:text-sm font-medium",children:e==="fr"?"Agent IA actif":"AI Agent Active"}),i.jsx("p",{className:"text-[10px] md:text-xs text-muted-foreground",children:e==="fr"?"Gère 43 conversations":"Handling 43 conversations"})]})]}),i.jsxs("div",{className:"absolute bottom-10 md:bottom-20 right-0 md:-right-10 z-20 bg-background/80 backdrop-blur-xl border border-border p-2 md:p-4 rounded-xl shadow-2xl flex items-center gap-2 md:gap-4 animate-bounce scale-90 md:scale-100 origin-bottom-right",style:{animationDuration:"4s",animationDelay:"1s"},children:[i.jsx("div",{className:"w-8 h-8 md:w-10 md:h-10 rounded-full bg-green-500/20 flex items-center justify-center text-green-500",children:i.jsx(EA,{className:"w-4 h-4 md:w-5 md:h-5"})}),i.jsxs("div",{children:[i.jsx("p",{className:"text-xs md:text-sm font-medium",children:e==="fr"?"Nouveau lead réservé":"New Lead Booked"}),i.jsx("p",{className:"text-[10px] md:text-xs text-muted-foreground",children:e==="fr"?"à l'instant via IA vocale":"Just now via Voice AI"})]})]})]});return i.jsxs("section",{className:"relative min-h-[calc(100vh-8rem)] flex items-center pt-8 pb-20 overflow-hidden bg-background",children:[i.jsx("div",{className:"absolute top-1/4 left-1/4 w-96 h-96 bg-primary/20 rounded-full blur-[128px]"}),i.jsx("div",{className:"absolute bottom-1/4 right-1/4 w-96 h-96 bg-purple-500/20 rounded-full blur-[128px]"}),i.jsx("div",{className:"container mx-auto px-4 relative z-10",children:i.jsxs("div",{className:"grid lg:grid-cols-2 gap-12 items-center",children:[i.jsxs("div",{className:"max-w-2xl order-1 flex flex-col items-center text-center lg:items-start lg:text-left mx-auto lg:mx-0",children:[i.jsxs("div",{className:"inline-flex items-center gap-2 px-3 py-1 rounded-full bg-secondary border border-border text-sm font-medium text-primary mb-6",children:[i.jsxs("span",{className:"relative flex h-2 w-2",children:[i.jsx("span",{className:"animate-ping absolute inline-flex h-full w-full rounded-full bg-primary opacity-75"}),i.jsx("span",{className:"relative inline-flex rounded-full h-2 w-2 bg-primary"})]}),e==="fr"?"Le système d'IA #1 pour les entreprises":"The #1 AI System for Businesses"]}),i.jsxs("h1",{className:"hero-title mb-6 text-foreground w-full",children:[i.jsx("span",{className:"block",children:e==="fr"?"Développez Votre Entreprise":"Grow Your"}),i.jsxs("span",{className:"slider mx-auto text-primary block",children:[i.jsx("span",{className:"hero-slider-word bg-clip-text text-transparent bg-gradient-to-r from-primary to-cyan-500",children:e==="fr"?"de Coaching":"Coaching"}),i.jsx("span",{className:"hero-slider-word bg-clip-text text-transparent bg-gradient-to-r from-primary to-cyan-500",children:"E-Commerce"}),i.jsx("span",{className:"hero-slider-word bg-clip-text text-transparent bg-gradient-to-r from-primary to-cyan-500",children:e==="fr"?"de Services":"Service-Based"}),i.jsx("span",{className:"hero-slider-word bg-clip-text text-transparent bg-gradient-to-r from-primary to-cyan-500",children:e==="fr"?"de Conseil":"Consulting"}),i.jsx("span",{className:"hero-slider-word bg-clip-text text-transparent bg-gradient-to-r from-primary to-cyan-500",children:e==="fr"?"Immobilier":"Real Estate"})]}),i.jsx("span",{className:"block",children:e==="fr"?"Business Depuis":"Business From"}),i.jsx("span",{className:"block",children:e==="fr"?"Un Seul Endroit":"One Place"})]}),i.jsx("div",{className:"block lg:hidden w-full my-8",children:t}),i.jsx("p",{className:"text-lg text-muted-foreground mb-8 max-w-xl leading-relaxed",children:e==="fr"?"Automatisation de l'IA, systèmes CRM, suivis, IA vocale, sites web, entonnoirs et systèmes marketing conçus pour aider les entreprises à évoluer plus rapidement.":"AI automation, CRM systems, follow-ups, voice AI, websites, funnels, and marketing systems designed to help businesses scale faster."}),i.jsx("div",{className:"flex flex-col sm:flex-row items-center gap-4",children:i.jsx("a",{href:"/bookacall",children:i.jsxs(he,{size:"lg",className:"w-full sm:w-auto text-base h-14 px-8 bg-primary text-primary-foreground hover:bg-primary/90 shadow-[0_0_40px_-10px_rgba(59,130,246,0.5)]",children:[e==="fr"?"Réserver votre appel stratég
390ique IA gratuit":"Book Your Free AI Strategy Call",i.jsx(Nt,{className:"ml-2 w-5 h-5"})]})})}),i.jsxs("div",{className:"mt-10 flex items-center justify-center lg:justify-start gap-4 sm:gap-6 text-sm text-muted-foreground w-full",children:[i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsx("div",{className:"w-5 h-5 rounded-full bg-green-500/20 flex items-center justify-center",children:i.jsx("div",{className:"w-2 h-2 rounded-full bg-green-500"})}),e==="fr"?"Aucun code requis":"No Code Required"]}),i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsx("div",{className:"w-5 h-5 rounded-full bg-green-500/20 flex items-center justify-center",children:i.jsx("div",{className:"w-2 h-2 rounded-full bg-green-500"})}),e==="fr"?"Configuration en quelques jours":"Setup in Days"]})]})]}),i.jsx("div",{className:"hidden lg:flex relative h-[600px] items-center justify-center order-2",children:t})]})})]})},HO=[{icon:i.jsx(Ss,{className:"w-6 h-6"}),title:"Slow Follow-Up",description:"Leads go cold within 5 minutes. If you're not instantly replying, your competitor is."},{icon:i.jsx(Uo,{className:"w-6 h-6"}),title:"Outdated Websites",description:"Your website looks like an online brochure instead of a 24/7 lead generation machine."},{icon:i.jsx(Lw,{className:"w-6 h-6"}),title:"Missed Calls",description:"Every missed call is a missed opportunity. Potential clients don't leave voicemails anymore."},{icon:i.jsx(Ow,{className:"w-6 h-6"}),title:"No Automation",description:"You're manually tracking leads, sending emails, and trying to remember to follow up."}],KO=[{icon:i.jsx(Ss,{className:"w-6 h-6"}),title:"Suivi lent",description:"Les leads se refroidissent en 5 minutes. Si vous ne répondez pas instantanément, votre concurrent le fera."},{icon:i.jsx(Uo,{className:"w-6 h-6"}),title:"Sites web obsolètes",description:"Votre site web ressemble à une brochure en ligne au lieu d'une machine de génération de leads 24/7."},{icon:i.jsx(Lw,{className:"w-6 h-6"}),title:"Appels manqués",description:"Chaque appel manqué est une opportunité perdue. Les clients potentiels ne laissent plus de messages vocaux."},{icon:i.jsx(Ow,{className:"w-6 h-6"}),title:"Aucune automatisation",description:"Vous suivez manuellement les leads, envoyez des e-mails et essayez de vous rappeler de faire un suivi."}],GO=({language:e})=>{const[t,n]=h.useState(0);h.useEffect(()=>{const s=setInterval(()=>n(o=>o+1),1200);return()=>clearInterval(s)},[]);const r=[{icon:AA,label:e==="fr"?"Appel manqué":"Missed Call",color:"#f87171",delay:0},{icon:Vw,label:e==="fr"?"Email ignoré":"Email Ignored",color:"#fb923c",delay:400},{icon:IA,label:e==="fr"?"Lead perdu":"Lost Lead",color:"#facc15",delay:800},{icon:qp,label:e==="fr"?"Revenu perdu":"Lost Revenue",color:"#f87171",delay:200}];return i.jsxs("div",{className:"relative w-full max-w-2xl mx-auto mb-16 select-none",children:[i.jsxs("div",{className:"relative flex items-center justify-between px-4 py-3",children:[i.jsxs("div",{className:"flex flex-col items-center gap-1 z-10",children:[i.jsx("div",{className:"w-14 h-14 rounded-full bg-primary/20 border-2 border-primary/40 flex items-center justify-center text-primary text-xs font-bold shadow-lg",children:i.jsx("span",{className:"text-center leading-tight text-[11px]",children:e==="fr"?`Leads 391Entrants`:`New 392Leads`})}),i.jsx("div",{className:"flex gap-1 mt-1",children:[0,1,2].map(s=>i.jsx("div",{className:"w-2 h-2 rounded-full bg-primary",style:{animation:`pulse 1s ${s*.3}s infinite`,opacity:.8}},s))})]}),i.jsx("div",{className:"flex-1 mx-3 relative",children:i.jsx("div",{className:"h-8 bg-gradient-to-r from-primary/30 via-red-500/20 to-red-500/10 rounded-full border border-border relative overflow-visible",children:r.map((s,o)=>i.jsxs("div",{className:"absolute top-1/2 -translate-y-1/2",style:{left:`${18+o*20}%`},children:[i.jsx("div",{className:"w-3 h-3 rounded-full bg-red-500/80 border border-red-400 shadow-[0_0_8px_rgba(248,113,113,0.6)]"}),i.jsx(YO,{color:s.color,delay:s.delay,label:s.label,Icon:s.icon},`${t}-${o}`)]},o))})}),i.jsxs("div",{className:"flex flex-col items-center gap-1 z-10",children:[i.jsx("div",{className:"w-14 h-14 roun
392ded-full bg-red-500/10 border-2 border-red-500/30 flex items-center justify-center shadow-lg",children:i.jsx("span",{className:"text-center leading-tight text-[11px] font-bold text-red-400",children:e==="fr"?`Très peu 393ferment`:`Very Few 394Close`})}),i.jsx("div",{className:"flex gap-1 mt-1",children:i.jsx("div",{className:"w-2 h-2 rounded-full bg-red-400 opacity-60"})})]})]}),i.jsx("div",{className:"flex justify-center gap-4 mt-3 flex-wrap px-4",children:r.map((s,o)=>i.jsxs("div",{className:"flex items-center gap-1 text-xs text-muted-foreground",children:[i.jsx(s.icon,{className:"w-3 h-3",style:{color:s.color}}),i.jsx("span",{children:s.label})]},o))}),i.jsx(QO,{language:e})]})},YO=({color:e,delay:t,label:n,Icon:r})=>{const[s,o]=h.useState(!1),[a,l]=h.useState(0);return h.useEffect(()=>{const c=setTimeout(()=>{o(!0),l(0)},t),u=setTimeout(()=>{l(48)},t+50),d=setTimeout(()=>{o(!1),l(0)},t+900);return()=>{clearTimeout(c),clearTimeout(u),clearTimeout(d)}},[t]),s?i.jsx("div",{className:"absolute left-1/2 -translate-x-1/2 flex flex-col items-center pointer-events-none z-20",style:{top:`${8+a}px`,transition:"top 0.8s cubic-bezier(0.4,0,0.2,1)",opacity:a>40?0:1,transitionProperty:"top, opacity"},children:i.jsx("div",{className:"w-6 h-6 rounded-full flex items-center justify-center shadow-lg",style:{background:`${e}33`,border:`1.5px solid ${e}`},children:i.jsx(r,{className:"w-3 h-3",style:{color:e}})})}):null},QO=({language:e})=>{const[t,n]=h.useState(0),r=h.useRef(null),s=h.useRef(!1);return h.useEffect(()=>{const o=new IntersectionObserver(([a])=>{if(a.isIntersecting&&!s.current){s.current=!0;let l=0;const c=47800,u=Math.ceil(c/80),d=setInterval(()=>{l=Math.min(l+u,c),n(l),l>=c&&clearInterval(d)},25)}},{threshold:.4});return r.current&&o.observe(r.current),()=>o.disconnect()},[]),i.jsx("div",{ref:r,className:"mt-5 flex justify-center",children:i.jsxs("div",{className:"inline-flex items-center gap-3 bg-red-500/10 border border-red-500/20 rounded-2xl px-6 py-3",children:[i.jsx(qp,{className:"w-5 h-5 text-red-400"}),i.jsxs("div",{className:"text-center",children:[i.jsxs("div",{className:"text-2xl font-bold text-red-400",children:["$",t.toLocaleString(),"+"]}),i.jsx("div",{className:"text-xs text-muted-foreground mt-0.5",children:e==="fr"?"perdu en revenus chaque année en moyenne":"lost in revenue per year on average"})]})]})})},XO=()=>{const{language:e}=fe(),t=e==="fr"?KO:HO;return i.jsx("section",{className:"py-24 bg-secondary/50 relative border-y border-border",children:i.jsxs("div",{className:"container mx-auto px-4",children:[i.jsxs("div",{className:"text-center max-w-3xl mx-auto mb-12 flex flex-col items-center justify-center",children:[i.jsxs("h2",{className:"text-4xl md:text-5xl font-bold mb-6 text-center w-full",children:[i.jsx("span",{className:"block",children:e==="fr"?"La plupart des entreprises":"Most Businesses Are"}),i.jsx("span",{className:"block",children:i.jsx("span",{className:"text-red-400",children:e==="fr"?"perdent des leads":"Losing Leads"})}),i.jsx("span",{className:"block",children:e==="fr"?"chaque jour.":"Every Day."})]}),i.jsx("p",{className:"text-xl text-muted-foreground text-center w-full",children:e==="fr"?i.jsxs(i.Fragment,{children:[i.jsx("span",{className:"block",children:"Vous dépensez de l'argent en publicités, SEO et marketing,"}),i.jsx("span",{className:"block",children:"mais votre système de conversion est cassé."})]}):i.jsxs(i.Fragment,{children:[i.jsx("span",{className:"block",children:"You're spending money on ads, SEO, and marketing,"}),i.jsx("span",{className:"block",children:"but your conversion system is broken."})]})})]}),i.jsx(GO,{language:e}),i.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-4 gap-6 mb-16",children:t.map((n,r)=>i.jsxs("div",{className:"bg-background border border-border p-6 rounded-2xl hover:border-red-500/30 transition-colors group",children:[i.jsx("div",{className:"w-12 h-12 rounded-xl bg-red-500/10 text-red-400 flex items-center justify-center mb-6 group-hover:scale-110 transition-transform",children:n.icon}),i.jsx("h3",{className:"text-xl font-semibold mb-3",children:n.title}),i.jsx("p",{className:"text-muted-foreground leading-relaxed",children:n.description})]},r))}),i.jsxs("div",{className:"max-w-4xl mx-auto bg-primary/10 border border-primary/20 rounded-3xl p-8 md:p-12 flex flex-col items-center justify-center text-center relative overflow-hidden",children:[i.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-primary/10 to-transparent opacity-50"}),i.jsx("h3",{className:"text-2xl md:text-3xl font-bold mb-4 relative z-10 text-center mx-auto",children:e==="fr"?i.jsxs(i.Fragment,{children:['"79% des clients font des recherches en ligne',i.jsx("br",{}),' avant de contacter une entreprise."']}):i.jsxs(i.Fragment,{children:['"79% of customers research online',i.jsx("br",{}),' before contacting a business."']})}),i.jsx("p",{className:"text-primary font-medium relative z-10 text-center mx-auto",children:e==="fr"?"Si votre présence en ligne ne les capture pas instantanément, ils sont partis pour toujours.":"If your online presence isn't capturing them instantly, they're gone forever."})]})]})})},ZO=[{icon:i.jsx(Uo,{className:"w-6 h-6"}),title:"AI Website",desc:"High-converting designs that capture leads automatically."},{icon:i.jsx(_w,{className:"w-6 h-6"}),title:"CRM Pipeline",desc:"Track every lead from initial contact to closed deal."},{icon:i.jsx(Wp,{className:"w-6 h-6"}),title:"AI Chatbot",desc:"Qualify leads and answer questions 24/7 on your site."},{icon:i.jsx(Na,{className:"w-6 h-6"}),title:"Missed Call Text Back",desc:"Never miss a lead. Instantly text back missed calls."},{icon:i.jsx(au,{className:"w-6 h-6"}),title:"SMS & Email Automation",desc:"Nurture leads with personalized, automated sequences."},{icon:i.jsx(Dw,{className:"w-6 h-6"}),title:"Booking Calendar",desc:"Let clients book directly into your calendar."},{icon:i.jsx(Oo,{className:"w-6 h-6"}),title:"Reputation Management",desc:"Automate review requests and boost your 5-star ratings."},{icon:i.jsx(Bw,{className:"w-6 h-6"}),title:"Database Reactivation",desc:"Turn old, cold leads into new paying customers."},{icon:i.jsx(qw,{className:"w-6 h-6"}),title:"Automated Follow-Ups",desc:"Relentless, polite follow-ups until they buy or opt-out."}],JO=[{icon:i.jsx(Uo,{className:"w-6 h-6"}),title:"Site Web IA",desc:"Des designs à haute conversion qui capturent les leads automatiquement."},{icon:i.jsx(_w,{className:"w-6 h-6"}),title:"Pipeline CRM",desc:"Suivez chaque lead du premier contact à la vente conclue."},{icon:i.jsx(Wp,{className:"w-6 h-6"}),title:"Chatbot IA",desc:"Qualifiez les leads et répondez aux questions 24/7 sur votre site."},{icon:i.jsx(Na,{className:"w-6 h-6"}),title:"Rappel SMS Manqué",desc:"Ne manquez jamais un lead. Envoyez un
394SMS instantané aux appels manqués."},{icon:i.jsx(au,{className:"w-6 h-6"}),title:"Automatisation SMS & Email",desc:"Nourrissez les leads avec des séquences personnalisées et automatisées."},{icon:i.jsx(Dw,{className:"w-6 h-6"}),title:"Calendrier de Réservation",desc:"Laissez les clients réserver directement dans votre calendrier."},{icon:i.jsx(Oo,{className:"w-6 h-6"}),title:"Gestion de Réputation",desc:"Automatisez les demandes d'avis et boostez vos notes 5 étoiles."},{icon:i.jsx(Bw,{className:"w-6 h-6"}),title:"Réactivation de Base de Données",desc:"Transformez les anciens leads froids en nouveaux clients payants."},{icon:i.jsx(qw,{className:"w-6 h-6"}),title:"Suivis Automatisés",desc:"Des suivis implacables et polis jusqu'à ce qu'ils achètent ou se désabonnent."}],e8=()=>{const{language:e}=fe(),t=e==="fr"?JO:ZO;return i.jsxs("section",{id:"features",className:"py-24 bg-background relative",children:[i.jsx("div",{className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-full h-[500px] bg-primary/5 rounded-full blur-[120px] pointer-events-none"}),i.jsxs("div",{className:"container mx-auto px-4 relative z-10",children:[i.jsxs("div",{className:"text-center max-w-5xl mx-auto mb-16",children:[i.jsxs("div",{className:"mb-16 flex flex-col items-center",children:[i.jsx("div",{className:"inline-flex items-center justify-center bg-primary/10 text-primary px-6 py-2.5 rounded-xl md:rounded-full font-bold text-sm md:text-base mb-8 uppercase tracking-wider shadow-sm border border-primary/20 max-w-3xl",children:e==="fr"?"Ãconomisez sur les abonnements avec ce système logiciel tout-en-un":"Save on subscription with this all in one software system"}),i.jsx("div",{className:"relative rounded-2xl overflow-hidden border border-border shadow-2xl bg-card w-full max-w-3xl mx-auto",children:i.jsx("img",{src:"https://vibe.filesafe.space/1779029949023741031/attachments/7b6dd19b-711e-4deb-9662-66ec14ee657c.png",alt:"Software Comparison Savings",className:"w-full h-auto object-contain"})})]}),i.jsxs("h2",{className:"text-4xl md:text-5xl font-bold mb-6",children:[e==="fr"?"Votre":"Your Complete"," ",i.jsx("span",{className:"text-transparent bg-clip-text bg-gradient-to-r from-primary to-cyan-400",children:e==="fr"?"Système d'Exploitation d'Entreprise IA":"AI Business Operating System"})," ",e==="fr"?"Complet":""]}),i.jsx("p",{className:"text-xl text-muted-foreground",children:e==="fr"?"Tout ce dont vous avez besoin pour capturer, nourrir et convertir des leads en pilote automatique. Tout au même endroit.":"Everything you need to capture, nurture, and close leads on autopilot. All in one place."})]}),i.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6",children:t.map((n,r)=>i.jsxs("div",{className:"group relative p-1 rounded-2xl bg-gradient-to-b from-border to-border/50 hover:from-primary/50 hover:to-primary/10 transition-all duration-500",children:[i.jsx("div",{className:"absolute inset-0 bg-primary/20 blur-xl opacity-0 group-hover:opacity-100 transition-opacity duration-500"}),i.jsxs("div",{className:"relative h-full bg-background/90 backdrop-blur-sm border border-border p-6 rounded-xl",children:[i.jsx("div",{className:"w-12 h-12 rounded-lg bg-primary/10 text-primary flex items-center justify-center mb-6 group-hover:scale-110 group-hover:bg-primary group-hover:text-primary-foreground transition-all duration-300",children:n.icon}),i.jsx("h3",{className:"text-xl font-semibold mb-2",children:n.title}),i.jsx("p",{className:"text-muted-foreground",children:n.desc})]})]},r))})]})]})},t8=[{icon:i.jsx(Up,{className:"w-8 h-8"}),title:"Book A Strategy Call",description:"We analyze your current sales process and identify where you're losing money and leads."},{icon:i.jsx($w,{className:"w-8 h-8"}),title:"We Build Your AI System",description:"Our team builds your custom CRM, website funnel, and AI automations."},{icon:i.jsx(fc,{className:"w-8 h-8"}),title:"Launch Campaigns",description:"We turn on the system, launch reactivation campaigns, and activate your AI agents."},{icon:i.jsx(Ur,{className:"w-8 h-8"}),title:"Generate More Clients",description:"Watch your calendar fill up with qualified appointments while you focus on fulfillment."}],n8=[{icon:i.jsx(Up,{className:"w-8 h-8"}
394),title:"Réserver un appel stratégique",description:"Nous analysons votre processus de vente actuel et identifions où vous perdez de l'argent et des leads."},{icon:i.jsx($w,{className:"w-8 h-8"}),title:"Nous construisons votre système IA",description:"Notre équipe crée votre CRM sur mesure, votre entonnoir de site web et vos automatisations IA."},{icon:i.jsx(fc,{className:"w-8 h-8"}),title:"Lancement des campagnes",description:"Nous activons le système, lançons les campagnes de réactivation et activons vos agents IA."},{icon:i.jsx(Ur,{className:"w-8 h-8"}),title:"Générer plus de clients",description:"Regardez votre calendrier se remplir de rendez-vous qualifiés pendant que vous vous concentrez sur la réalisation."}],r8=()=>{const{language:e}=fe(),t=e==="fr"?n8:t8,[n,r]=h.useState(0);return h.useEffect(()=>{const s=setInterval(()=>{r(o=>(o+1)%t.length)},1500);return()=>clearInterval(s)},[t.length]),i.jsx("section",{id:"how-it-works",className:"py-24 bg-secondary/30 border-y border-border",children:i.jsxs("div",{className:"container mx-auto px-4",children:[i.jsxs("div",{className:"text-center max-w-3xl mx-auto mb-20",children:[i.jsx("h2",{className:"text-4xl md:text-5xl font-bold mb-6",children:e==="fr"?"Comment ça marche":"How It Works"}),i.jsx("p",{className:"text-xl text-muted-foreground",children:e==="fr"?i.jsxs(i.Fragment,{children:["Un processus éprouvé en 4 étapes pour transformer votre entreprise ",i.jsx("br",{className:"hidden md:block"})," du chaos manuel à la croissance automatisée."]}):i.jsxs(i.Fragment,{children:["A proven 4-step process to transform your business"," ",i.jsx("br",{className:"hidden md:block"})," from manual chaos to automated growth."]})})]}),i.jsxs("div",{className:"grid md:grid-cols-4 gap-8 relative",children:[i.jsx("div",{className:"hidden md:block absolute top-12 left-[10%] right-[10%] h-0.5 bg-gradient-to-r from-transparent via-primary/50 to-transparent"}),t.map((s,o)=>{const a=n===o;return i.jsxs("div",{className:"relative text-center group",children:[i.jsxs("div",{className:`w-24 h-24 mx-auto bg-background border-2 rounded-full flex items-center justify-center mb-6 relative z-10 transition-all duration-500 ${a?"border-destructive scale-110 shadow-[0_0_40px_-5px_rgba(239,68,68,0.6)]":"border-primary/20 group-hover:border-primary group-hover:scale-110 shadow-[0_0_30px_-10px_rgba(59,130,246,0)] group-hover:shadow-[0_0_30px_-10px_rgba(59,130,246,0.5)]"}`,children:[i.jsx("div",{className:`absolute inset-2 rounded-full flex items-center justify-center transition-colors duration-500 ${a?"bg-destructive/20 text-destructive":"bg-primary/10 text-primary"}`,children:s.icon}),i.jsx("div",{className:`absolute -top-2 -right-2 w-8 h-8 rounded-full flex items-center justify-center font-bold text-sm transition-colors duration-500 ${a?"bg-destructive text-destructive-foreground":"bg-primary text-primary-foreground"}`,children:o+1})]}),i.jsx("h3",{className:"text-xl font-bold mb-3",children:s.title}),i.jsx("p",{className:"text-muted-foreground leading-relaxed px-4 mb-4",children:s.description})]},o)})]})]})})},s8=()=>{const{language:e}=fe(),[t,n]=h.useState(!0),[r,s]=h.useState(!0);h.useEffect(()=>{if(!r)return;const a=setInterval(()=>{n(l=>!l)},4e3);return()=>clearInterval(a)},[r]);const o=[{id:1,without:{title:e==="fr"?"Appels Manqués = Pertes":"Missed Calls = Lost Revenue",desc:e==="fr"?"Les appels sans réponse vont sur messagerie. Les leads appellent votre concurrent.":"Unanswered calls go to voicemail. Leads call your competitor instead.",icon:Yf,color:"text-red-500",bg:"bg-red-500/10",border:"border-red-500/20"},with:{title:e==="fr"?"Récupération par IA":"AI Missed Call Text-Back",desc:e==="fr"?"L'IA envoie instantanément un SMS aux appels manqués et engage la conversation.":"AI instantly texts back missed calls and engages the lead for you.",icon:au,color:"text-green-500",bg:"bg-green-500/10",border:"border-green-500/20"}},{id:2,without:{title:e==="fr"?"Abonnements Multiples":"Software Bloat",desc:e==="fr"?"Paiement de 600$+/mois pour 5 outils différents qui ne communiquent pas.":"Paying $600+/mo for 5 different tools that don't communicate with each other.",icon:Fw,color:"text-red-500",bg:"bg-red-500/10",border:"border-red-500/20"},with:{title:e==="fr"?"Système Tout-en-Un":"All-In-One System",desc:e==="fr"?"Une seule plateforme. Un seul abonnement. Tout est parfaitement synchronisé.":"One platform. One subscription. Everything perfectly synchronized.",icon:SA,color:"text-green-500",bg:"bg-green-500/10",border:"border-green-500/20"}},{id:3,without:{title:e==="fr"?"Planification Manuelle":"Manual Scheduling",desc:e==="fr"?"Ãchanges d'e-mails interminables pour trouver une heure de rendez-vous.":"Endless back-and-forth emails just to find a time to meet.",icon:bA,color:"text-red-500",bg:"bg-red-500/10",border:"border-red-500/20"},with:{title:e==="fr"?"Réservation Automatisée":"Automated Booking",desc:e==="fr"?"Les clients réservent directement sur votre calendrier. Rappels envoyés par SMS.":"Clients book directly on your calendar. SMS reminders sent automatically.",icon:Up,color:"text-green-500",bg:"bg-green-500/10",border:"border-green-500/20"}}
394,{id:4,without:{title:e==="fr"?"Croissance Stagnante":"Stagnant Growth",desc:e==="fr"?"Coincé à travailler DANS l'entreprise. Ãpuisé par les tâches répétitives.":"Stuck working IN the business. Exhausted by repetitive manual tasks.",icon:qp,color:"text-red-500",bg:"bg-red-500/10",border:"border-red-500/20"},with:{title:e==="fr"?"Ãvolutivité Rapide":"Rapid Scalability",desc:e==="fr"?"Les systèmes gèrent les opérations. Vous vous concentrez sur la croissance.":"Systems handle the operations. You focus on growing the business.",icon:Ur,color:"text-green-500",bg:"bg-green-500/10",border:"border-green-500/20"}}];return i.jsxs("section",{className:"py-24 relative overflow-hidden transition-colors duration-700 bg-background",children:[i.jsx("div",{className:`absolute inset-0 opacity-20 transition-colors duration-700 ${t?"bg-green-500/5":"bg-destructive/5"}`}),i.jsxs("div",{className:"container mx-auto px-4 relative z-10",children:[i.jsxs("div",{className:"text-center max-w-3xl mx-auto mb-16",children:[i.jsx("h2",{className:"text-3xl md:text-5xl font-bold mb-6",children:e==="fr"?"Faites la Différence":"See The Difference"}),i.jsx("p",{className:"text-lg text-muted-foreground mb-10",children:e==="fr"?"Découvrez comment notre système transforme le chaos en croissance prévisible.":"See how our system transforms operational chaos into predictable growth."}),i.jsxs("div",{className:"flex flex-wrap items-center justify-center gap-2 md:gap-4 bg-secondary/50 p-2 rounded-full w-fit mx-auto border border-border",children:[i.jsx("button",{onClick:()=>{n(!1),s(!1)},className:`px-4 md:px-6 py-2.5 md:py-3 rounded-full text-sm md:text-base font-medium transition-all duration-300 ${t?"text-muted-foreground hover:text-foreground":"bg-destructive text-destructive-foreground shadow-lg scale-105"}`,children:e==="fr"?"L'Ancienne Méthode":"The Old Way"}),i.jsx("button",{onClick:()=>{n(!0),s(!1)},className:`px-4 md:px-6 py-2.5 md:py-3 rounded-full text-sm md:text-base font-medium transition-all duration-300 ${t?"bg-green-500 text-white shadow-lg shadow-green-500/25 scale-105":"text-muted-foreground hover:text-foreground"}`,children:e==="fr"?"Avec Kr8tor.ai":"With Kr8tor.ai"})]})]}),i.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-4 gap-6",children:o.map(a=>{const l=t?a.with:a.without;return i.jsxs("div",{className:`p-6 rounded-2xl border transition-all duration-500 relative overflow-hidden ${l.border} ${t?"bg-card hover:shadow-[0_0_30px_-5px_rgba(34,197,94,0.15)]":"bg-card/50"}`,children:[i.jsx(Ma,{mode:"wait",children:i.jsxs(ve.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.2},children:[i.jsx("div",{className:`w-12 h-12 rounded-xl flex items-center justify-center mb-6 transition-colors duration-500 ${l.bg} ${l.color}`,children:i.jsx(l.icon,{className:"w-6 h-6"})}),i.jsx("h3",{className:"text-xl font-bold mb-3",children:l.title}),i.jsx("p",{className:"text-muted-foreground leading-relaxed",children:l.desc})]},t?"kr8tor":"old")}),i.jsx("div",{className:`absolute -bottom-10 -right-10 w-32 h-32 blur-3xl rounded-full transition-colors duration-500 opacity-20 ${l.bg}`})]},a.id)})}),i.jsx("div",{className:"mt-16 text-center",children:i.jsx("a",{href:"/bookacall",children:i.jsxs(he,{size:"lg",className:"h-14 px-8 text-base bg-primary hover:bg-primary/90 text-primary-foreground shadow-[0_0_30px_-5px_rgba(59,130,246,0.5)]",children:[e==="fr"?"Mettre à niveau mon entreprise":"Upgrade My Business",i.jsx(Nt,{className:"ml-2 w-5 h-5"})]})})})]})]})},o8=()=>{const{language:e}=fe(),r=e==="fr"?["Capturez des leads sur tous les canaux","Automatisez les suivis 24/7","Qualifiez les prospects avec l'IA","Prenez des rendez-vous facilement"]:["Capture leads across all channels","Automate follow-ups 24/7","Qualify prospects with AI","Book appointments seamlessly"];return i.jsx("section",{className:"py-24 bg-background overflow-hidden",children:i.jsx("div",{className:"container mx-auto px-4",children:i.jsxs("div",{className:"grid lg:grid-cols-2 gap-12 lg:gap-16 items-center",children:[i.jsxs(ve.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-100px"},transition:{duration:.6},className:"max-w-xl order-2 lg:order-1",children:[i.jsx("h2",{className:"text-4xl md:text-5xl font-bold mb-6 text-foreground leading-tight",children:e==="fr"?"L'Entonnoir de Croissance":"The Growth Funnel"}),i.jsx("p",{className:"text-xl text-muted-foreground mb-8",children:e==="fr"?"Comment nous transformons les visiteurs en clients fidèles grâce à l'automatisation de l'IA. Un syst
394ème complet qui travaille pour vous jour et nuit.":"How we turn visitors into loyal clients using AI automation. A complete system that works for you day and night."}),i.jsx("div",{className:"space-y-5",children:r.map((s,o)=>i.jsxs(ve.div,{initial:{opacity:0,x:-20},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.4,delay:.2+o*.1},className:"flex items-center gap-4",children:[i.jsx("div",{className:"w-8 h-8 rounded-full bg-primary/10 flex items-center justify-center flex-shrink-0",children:i.jsx(Os,{className:"w-5 h-5 text-primary"})}),i.jsx("span",{className:"text-lg font-medium text-foreground",children:s})]},o))})]}),i.jsxs(ve.div,{initial:{opacity:0,scale:.95,y:30},whileInView:{opacity:1,scale:1,y:0},viewport:{once:!0,margin:"-100px"},transition:{duration:.6,delay:.3},className:"relative rounded-3xl overflow-hidden border border-border bg-card shadow-2xl p-4 md:p-8 order-1 lg:order-2",children:[i.jsx("div",{className:"absolute inset-0 bg-gradient-to-tr from-primary/5 to-transparent pointer-events-none"}),i.jsx("img",{src:"https://assets.cdn.filesafe.space/FIGYqmaP870ddXvwutnh/media/bec4719c-880b-4076-8382-dc4f70b3e153.png",alt:"Funnel Diagram",className:"w-full h-auto object-contain rounded-xl relative z-10"})]})]})})})},i8=()=>{const{language:e}=fe(),r=e==="fr"?["CRM","IA Vocale","Formulaires, Sondages & Quiz","Sites Web, Tunnels & Pages","Tunnels de Webinaire","Widget Chat / IA Conversationnelle","Suivi des Appels","SMS Entrants & Messages Sociaux","Planificateur Social","Rappel SMS d'Appel Manqué","Scanner de Cartes IA","Codes QR","Outil de Prospection","Gestionnaire de Pubs (Google/FB/Insta)"]:["CRM","Voice AI","Forms, Surveys & Quizzes","Websites, Funnels & Landing Pages","Webinar Funnels","Chat Widget / Conversation AI","Call Tracking","Inbound SMS & Social DMs","Social Planner","Missed Call Text-Back","AI Biz Card Scanner","QR Codes","Prospecting Tool","Ad Manager (Google/FB/Insta Ads)"];return i.jsx("section",{className:"py-24 bg-muted/30 overflow-hidden",children:i.jsx("div",{className:"container mx-auto px-4",children:i.jsxs("div",{className:"grid lg:grid-cols-2 gap-12 lg:gap-16 items-center",children:[i.jsxs(ve.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-100px"},transition:{duration:.6},className:"w-full order-1 lg:hidden text-center mb-6 flex flex-col items-center",children:[i.jsx("h2",{className:"text-3xl md:text-4xl font-bold mb-4 text-foreground leading-tight text-balance mx-auto",children:e==="fr"?"Obtenez plus de prospects":"Get more leads in the door"}),i.jsx("p",{className:"text-lg text-muted-foreground max-w-md mx-auto",children:e==="fr"?"Attirez les bonnes personnes, transformez l'intérêt en prospects et gardez votre pipeline plein.":"Attract the right people, turn interest into leads and keep your pipeline full."})]}),i.jsxs(ve.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-100px"},transition:{duration:.6},className:"w-full order-3 lg:order-1",children:[i.jsxs("div",{className:"hidden lg:block",children:[i.jsx("h2",{className:"text-3xl md:text-4xl font-bold mb-4 text-foreground leading-tight text-balance",children:e==="fr"?"Obtenez plus de prospects":"Get more leads in the door"}),i.jsx("p",{className:"text-lg text-muted-foreground mb-8",children:e==="fr"?"Attirez les bonnes personnes, transformez l'intérêt en prospects et gardez votre pipeline plein.":"Attract the right people, turn interest into leads and keep your pipeline full."})]}),i.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-x-4 gap-y-3 mt-4 lg:mt-0",children:r.map((s,o)=>i.jsxs(ve.div,{initial:{opacity:0,x:-20},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.2,delay:.1+o*.05},className:"flex items-center gap-3",children:[i.jsx("div",{className:"w-6 h-6 rounded-full bg-primary/10 flex items-center justify-center flex-shrink-0",children:i.jsx(Os,{className:"w-4 h-4 text-primary"})}),i.jsx("span",{className:"text-sm font-medium text-foreground",children:s})]},o))})]}),i.jsxs(ve.div,{initial:{opacity:0,scale:.95,y:30},whileInView:{opacity:1,scale:1,y:0},viewport:{once:!0,margin:"-100px"},transition:{duration:.6,delay:.3},className:"relative rounded-3xl overflow-hidden border border-border bg-card shadow-2xl p-4 md:p-8 order-2 lg:order-2 flex justify-center items-center",children:[i.jsx("div",{className:"absolute inset-0 bg-gradient-to-tr from-primary/5 to-transparent pointer-events-none"}),i.jsx("img",{src:"https://images.leadconnectorhq.com/image/f_webp/q_80/r_1200/u_https://assets.cdn.filesafe.space/knES3eSWYIsc5YSZ3YLl/media/69a1cf6a6e50d66b2220b4c7.gif",alt:"Lead Generation Automation",className:"w-full h-auto object-contain rounded-xl relative z-10",loading:"lazy"})]})]})})})};function Sj(e){const t=h.useRef({value:e,previous:e});return h.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}var Tu="Switch",[a8]=gn(Tu),[l8,c8]=a8(Tu),jj=h.forwardRef((e,t)=>
394{const{__scopeSwitch:n,name:r,checked:s,defaultChecked:o,required:a,disabled:l,value:c="on",onCheckedChange:u,form:d,...f}=e,[m,p]=h.useState(null),w=Ce(t,b=>p(b)),v=h.useRef(!1),x=m?d||!!m.closest("form"):!0,[g,y]=Fn({prop:s,defaultProp:o??!1,onChange:u,caller:Tu});return i.jsxs(l8,{scope:n,checked:g,disabled:l,children:[i.jsx(ce.button,{type:"button",role:"switch","aria-checked":g,"aria-required":a,"data-state":Ej(g),"data-disabled":l?"":void 0,disabled:l,value:c,...f,ref:w,onClick:ae(e.onClick,b=>{y(S=>!S),x&&(v.current=b.isPropagationStopped(),v.current||b.stopPropagation())})}),x&&i.jsx(kj,{control:m,bubbles:!v.current,name:r,value:c,checked:g,required:a,disabled:l,form:d,style:{transform:"translateX(-100%)"}})]})});jj.displayName=Tu;var Cj="SwitchThumb",Nj=h.forwardRef((e,t)=>{const{__scopeSwitch:n,...r}=e,s=c8(Cj,n);return i.jsx(ce.span,{"data-state":Ej(s.checked),"data-disabled":s.disabled?"":void 0,...r,ref:t})});Nj.displayName=Cj;var u8="SwitchBubbleInput",kj=h.forwardRef(({__scopeSwitch:e,control:t,checked:n,bubbles:r=!0,...s},o)=>{const a=h.useRef(null),l=Ce(a,o),c=Sj(n),u=th(t);return h.useEffect(()=>{const d=a.current;if(!d)return;const f=window.HTMLInputElement.prototype,p=Object.getOwnPropertyDescriptor(f,"checked").set;if(c!==n&&p){const w=new Event("click",{bubbles:r});p.call(d,n),d.dispatchEvent(w)}},[c,n,r]),i.jsx("input",{type:"checkbox","aria-hidden":!0,defaultChecked:n,...s,tabIndex:-1,ref:l,style:{...s.style,...u,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});kj.displayName=u8;function Ej(e){return e?"checked":"unchecked"}var Aj=jj,d8=Nj;const Dc=h.forwardRef(({className:e,...t},n)=>i.jsx(Aj,{className:ue("peer inline-flex h-6 w-11 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors data-[state=checked]:bg-primary data-[state=unchecked]:bg-input focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50",e),...t,ref:n,children:i.jsx(d8,{className:ue("pointer-events-none block h-5 w-5 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0")})}));Dc.displayName=Aj.displayName;function f8(e){return Object.prototype.toString.call(e)==="[object Object]"}function Mx(e){return f8(e)||Array.isArray(e)}function m8(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function Wh(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(a=>{const l=e[a],c=t[a];return typeof l=="function"?`${l}`==`${c}`:!Mx(l)||!Mx(c)?l===c:Wh(l,c)})}function Rx(e){return e.concat().sort((t,n)=>t.name>n.name?1:-1).map(t=>t.options)}function p8(e,t){if(e.length!==t.length)return!1;const n=Rx(e),r=Rx(t);return n.every((s,o)=>{const a=r[o];return Wh(s,a)})}function Uh(e){return typeof e=="number"}function Om(e){return typeof e=="string"}function Pu(e){return typeof e=="boolean"}function Ix(e){return Object.prototype.toString.call(e)==="[object Object]"}function Oe(e){return Math.abs(e)}function qh(e){return Math.sign(e)}function Di(e,t){return Oe(e-t)}function h8(e,t){if(e===0||t===0||Oe(e)<=Oe(t))return 0;const n=Di(Oe(e),Oe(t));return Oe(n/e)}function g8(e){return Math.round(e*100)/100}function ca(e){return ua(e).map(Number)}function dn(e){return e[Ia(e)]}function Ia(e){return Math.max(0,e.length-1)}function Hh(e,t){return t===Ia(e)}function Dx(e,t=0){return Array.from(Array(e),(n,r)=>t+r)}function ua(e){return Object.keys(e)}function Tj(e,t){return[e,t].reduce((n,r)=>(ua(r).forEach(s=>{const o=n[s],a=r[s],l=Ix(o)&&Ix(a);n[s]=l?Tj(o,a):a}),n),{})}function Fm(e,t){return typeof t.MouseEvent<"u"&&e instanceof t.MouseEvent}function v8(e,t){const n={start:r,center:s,end:o};function r(){return 0}function s(c){return o(c)/2}function o(c){return t-c}function a(c,u){return Om(e)?n[e](c):e(t,c,u)}return{measure:a}}function da(){let e=[];function t(s,o,a,l={passive:!0}){let c;if("addEventListener"in s)s.addEventListener(o,a,l),c=()=>s.removeEventListener(o,a,l);else{const u=s;u.addListener(a),c=()=>u.removeListener(a)}return e.push(c),r}function n(){e=e.filter(s=>s())}const r={add:t,clear:n};return r}function y8(e,t,n,r){const s=da(),o=1e3/60;let a=null,l=0,c=0;function u(){s.add(e,"visibilitychange",()=>{e.hidden&&w()})}function d(){p(),s.clear()}function f(x){if(!c)return;a||(a=x,n(),n());const g=x-a;for(a=x,l+=g;l>=o;)n(),l-=o;const y=l/o;r(y),c&&(c=t.requestAnimationFrame(f))}function m(){c||(c=t.requestAnimationFrame(f))}function p(){t.cancelAnimationFrame(c),a=null,l=0,c=0}function w(){a=null,l=0}return{init:u,destroy:d,start:m,stop:p,update:n,render:r}}function x8(e,t){const n=t==="rtl",r=e==="y",s=r?"y":"x",o=r?"x":"y",a=!r&&n?-1:1,l=d(),c=f();function u(w){const{height:v,width:x}=w;return r?v:x}function d(){return r?"top":n?"right":"left"}function f(){return r?"bottom":n?"left":"right"}function m(w){return w*a}return{scroll:s,cross:o,startEdge:l,endEdge:c,measureSize:u,direction:m}}function Is(e=0,t=0){const n=Oe(e-t);function r(u){return u<e}function s(u){return u>t}function o(u){return r(u)||s(u)}function a(u){return o(u)?r(u)?e:t:u}function l(u){return n?u-n*Math.ceil((u-t)/n):u}return{length:n,max:t,min:e,constrain:a,reachedAny:o,reachedMax:s,reachedMin:r,removeOffset:l}}function Pj(e,t,n){const{constrain:r}=Is(0,e),s=e+1;let o=a(t);function a(m){return n?Oe((s+m)%s):r(m)}function l(){return o}function c(m){return o=a(m),f}function u(m){return d().set(l()+m)}function d(){return Pj(e,l(),n)}const f={get:l,set:c,add:u,clone:d};return f}function b8(e,t,n,r,s,o,a,l,c,u,d,f,m,p,w,v,x,g,y){const{cross:b,direction:S}=e,j=["INPUT","SELECT","TEXTAREA"],C={passive:!1},N=da(),E=da(),T=Is(50,225).constrain(p.measure(20)),P={mouse:300,touch:400},I={mouse:500,touch:600},F=w?43:25;let H=!1,L=0,q=0,$=!1,G=!1,M=!1,R=!1;function A(U){if(!y)return;function te(pe){(Pu(y)||y(U,pe))&&X(pe)}const J=t;N.add(J,"dragstart",pe=>pe.preventDefault(),C).add(J,"touchmove",()=>{},C).add(J,"touchend",()=>{}).add(J,"touchstart",te).add(J,"mousedown",te).add(J,"touchcancel",Z).add(J,"contextmenu",Z).add(J,"click",oe,!0)}function k(){N.clear(),E.clear()}function O(){const U=R?n:t;E.add(U,"touchmove",B,C).add(U,"touchend",Z).add(U,"mousemove",B,C).add(U,"mouseup",Z)}function z(U){const te=U.nodeName||"";return j.includes(te)}function W(){return(w?I:P)[R?"mouse":"touch"]}function Y(U,te){const J=f.add(qh(U)*-1),pe=d.byDistance(U,!w).distance;return w||Oe(U)<T?pe:x&&te?pe*.5:d.byIndex(J.get(),0).distance}function X(U){const te=Fm(U,r);R=te,M=w&&te&&!U.buttons&&H,H=Di(s.get(),a.get())>=2,!(te&&U.button!==0)&&(z(U.target)||($=!0,o.pointerDown(U),u.useFriction(0).useDuration(0),s.set(a),O(),L=o.readPoint(U),q=o.readPoint(U,b),m.emit("pointerDown")))}function B(U){if(!Fm(U,r)&&U.touches.length>=2)return Z(U);
vendor: 14,542 bytes, line 394
394const J=o.readPoint(U),pe=o.readPoint(U,b),be=Di(J,L),Ne=Di(pe,q);if(!G&&!R&&(!U.cancelable||(G=be>Ne,!G)))return Z(U);const Re=o.pointerMove(U);be>v&&(M=!0),u.useFriction(.3).useDuration(.75),l.start(),s.add(S(Re)),U.preventDefault()}function Z(U){const J=d.byDistance(0,!1).index!==f.get(),pe=o.pointerUp(U)*W(),be=Y(S(pe),J),Ne=h8(pe,be),Re=F-10*Ne,Ie=g+Ne/50;G=!1,$=!1,E.clear(),u.useDuration(Re).useFriction(Ie),c.distance(be,!w),R=!1,m.emit("pointerUp")}function oe(U){M&&(U.stopPropagation(),U.preventDefault(),M=!1)}function ie(){return $}return{init:A,destroy:k,pointerDown:ie}}function w8(e,t){let r,s;function o(f){return f.timeStamp}function a(f,m){const w=`client${(m||e.scroll)==="x"?"X":"Y"}`;return(Fm(f,t)?f:f.touches[0])[w]}function l(f){return r=f,s=f,a(f)}function c(f){const m=a(f)-a(s),p=o(f)-o(r)>170;return s=f,p&&(r=f),m}function u(f){if(!r||!s)return 0;const m=a(s)-a(r),p=o(f)-o(r),w=o(f)-o(s)>170,v=m/p;return p&&!w&&Oe(v)>.1?v:0}return{pointerDown:l,pointerMove:c,pointerUp:u,readPoint:a}}function S8(){function e(n){const{offsetTop:r,offsetLeft:s,offsetWidth:o,offsetHeight:a}=n;return{top:r,right:s+o,bottom:r+a,left:s,width:o,height:a}}return{measure:e}}function j8(e){function t(r){return e*(r/100)}return{measure:t}}function C8(e,t,n,r,s,o,a){const l=[e].concat(r);let c,u,d=[],f=!1;function m(x){return s.measureSize(a.measure(x))}function p(x){if(!o)return;u=m(e),d=r.map(m);function g(y){for(const b of y){if(f)return;const S=b.target===e,j=r.indexOf(b.target),C=S?u:d[j],N=m(S?e:r[j]);if(Oe(N-C)>=.5){x.reInit(),t.emit("resize");break}}}c=new ResizeObserver(y=>{(Pu(o)||o(x,y))&&g(y)}),n.requestAnimationFrame(()=>{l.forEach(y=>c.observe(y))})}function w(){f=!0,c&&c.disconnect()}return{init:p,destroy:w}}function N8(e,t,n,r,s,o){let a=0,l=0,c=s,u=o,d=e.get(),f=0;function m(){const C=r.get()-e.get(),N=!c;let E=0;return N?(a=0,n.set(r),e.set(r),E=C):(n.set(e),a+=C/c,a*=u,d+=a,e.add(a),E=d-f),l=qh(E),f=d,j}function p(){const C=r.get()-t.get();return Oe(C)<.001}function w(){return c}function v(){return l}function x(){return a}function g(){return b(s)}function y(){return S(o)}function b(C){return c=C,j}function S(C){return u=C,j}const j={direction:v,duration:w,velocity:x,seek:m,settled:p,useBaseFriction:y,useBaseDuration:g,useFriction:S,useDuration:b};return j}function k8(e,t,n,r,s){const o=s.measure(10),a=s.measure(50),l=Is(.1,.99);let c=!1;function u(){return!(c||!e.reachedAny(n.get())||!e.reachedAny(t.get()))}function d(p){if(!u())return;const w=e.reachedMin(t.get())?"min":"max",v=Oe(e[w]-t.get()),x=n.get()-t.get(),g=l.constrain(v/a);n.subtract(x*g),!p&&Oe(x)<o&&(n.set(e.constrain(n.get())),r.useDuration(25).useBaseFriction())}function f(p){c=!p}return{shouldConstrain:u,constrain:d,toggleActive:f}}function E8(e,t,n,r,s){const o=Is(-t+e,0),a=f(),l=d(),c=m();function u(w,v){return Di(w,v)<=1}function d(){const w=a[0],v=dn(a),x=a.lastIndexOf(w),g=a.indexOf(v)+1;return Is(x,g)}function f(){return n.map((w,v)=>{const{min:x,max:g}=o,y=o.constrain(w),b=!v,S=Hh(n,v);return b?g:S||u(x,y)?x:u(g,y)?g:y}).map(w=>parseFloat(w.toFixed(3)))}function m(){if(t<=e+s)return[o.max];if(r==="keepSnaps")return a;const{min:w,max:v}=l;return a.slice(w,v)}return{snapsContained:c,scrollContainLimit:l}}function A8(e,t,n){const r=t[0],s=n?r-e:dn(t);return{limit:Is(s,r)}}function T8(e,t,n,r){const o=t.min+.1,a=t.max+.1,{reachedMin:l,reachedMax:c}=Is(o,a);function u(m){return m===1?c(n.get()):m===-1?l(n.get()):!1}function d(m){if(!u(m))return;const p=e*(m*-1);r.forEach(w=>w.add(p))}return{loop:d}}function P8(e){const{max:t,length:n}=e;function r(o){const a=o-t;return n?a/-n:0}return{get:r}}function M8(e,t,n,r,s){const{startEdge:o,endEdge:a}=e,{groupSlides:l}=s,c=f().map(t.measure),u=m(),d=p();function f(){return l(r).map(v=>dn(v)[a]-v[0][o]).map(Oe)}function m(){return r.map(v=>n[o]-v[o]).map(v=>-Oe(v))}function p(){return l(u).map(v=>v[0]).map((v,x)=>v+c[x])}return{snaps:u,snapsAligned:d}}function R8(e,t,n,r,s,o){const{groupSlides:a}=s,{min:l,max:c}=r,u=d();function d(){const m=a(o),p=!e||t==="keepSnaps";return n.length===1?[o]:p?m:m.slice(l,c).map((w,v,x)=>{const g=!v,y=Hh(x,v);if(g){const b=dn(x[0])+1;return Dx(b)}if(y){const b=Ia(o)-dn(x)[0]+1;return Dx(b,dn(x)[0])}return w})}return{slideRegistry:u}}function I8(e,t,n,r,s){const{reachedAny:o,removeOffset:a,constrain:l}=r;function c(w){return w.concat().sort((v,x)=>Oe(v)-Oe(x))[0]}function u(w){const v=e?a(w):l(w),x=t.map((y,b)=>({diff:d(y-v,0),index:b})).sort((y,b)=>Oe(y.diff)-Oe(b.diff)),{index:g}=x[0];return{index:g,distance:v}}function d(w,v){const x=[w,w+n,w-n];if(!e)return w;if(!v)return c(x);const g=x.filter(y=>qh(y)===v);return g.length?c(g):dn(x)-n}function f(w,v){const x=t[w]-s.get(),g=d(x,v);return{index:w,distance:g}}function m(w,v){const x=s.get()+w,{index:g,distance:y}=u(x),b=!e&&o(x);if(!v||b)return{index:g,distance:w};const S=t[g]-y,j=w+d(S,0);return{index:g,distance:j}}return{byDistance:m,byIndex:f,shortcut:d}}function D8(e,t,n,r,s,o,a){function l(f){const m=f.distance,p=f.index!==t.get();o.add(m),m&&(r.duration()?e.start():(e.update(),e.render(1),e.update())),p&&(n.set(t.get()),t.set(f.index),a.emit("select"))}function c(f,m){const p=s.byDistance(f,m);l(p)}function u(f,m){const p=t.clone().set(f),w=s.byIndex(p.get(),m);l(w)}return{distance:c,index:u}}function L8(e,t,n,r,s,o,a,l){const c={passive:!0,capture:!0};let u=0;function d(p){if(!l)return;function w(v){if(new Date().getTime()-u>10)return;a.emit("slideFocusStart"),e.scrollLeft=0;const y=n.findIndex(b=>b.includes(v));Uh(y)&&(s.useDuration(0),r.index(y,0),a.emit("slideFocus"))}o.add(document,"keydown",f,!1),t.forEach((v,x)=>{o.add(v,"focus",g=>{(Pu(l)||l(p,g))&&w(x)},c)})}function f(p){p.code==="Tab"&&(u=new Date().getTime())}return{init:d}}function yi(e){let t=e;function n(){return t}function r(c){t=a(c)}function s(c){t+=a(c)}function o(c){t-=a(c)}function a(c){return Uh(c)?c:c.get()}return{get:n,set:r,add:s,subtract:o}}function Mj(e,t){const n=e.scroll==="x"?a:l,r=t.style;let s=null,o=!1;function a(m){return`translate3d(${m}px,0px,0px)`}function l(m){return`translate3d(0px,${m}px,0px)`}function c(m){if(o)return;const p=g8(e.direction(m));p!==s&&(r.transform=n(p),s=p)}function u(m){o=!m}function d(){o||(r.transform="",t.getAttribute("style")||t.removeAttribute("style"))}return{clear:d,to:c,toggleActive:u}}function O8(e,t,n,r,s,o,a,l,c){const d=ca(s),f=ca(s).reverse(),m=g().concat(y());function p(N,E){return N.reduce((T,P)=>T-s[P],E)}function w(N,E){return N.reduce((T,P)=>p(T,E)>0?T.concat([P]):T,[])}function v(N){return o.map((E,T)=>({start:E-r[T]+.5+N,end:E+t-.5+N}))}function x(N,E,T){const P=v(E);return N.map(I=>{const F=T?0:-n,H=T?n:0,L=T?"end":"start",q=P[I][L];return{index:I,loopPoint:q,slideLocation:yi(-1),translate:Mj(e,c[I]),target:()=>l.get()>q?F:H}})}function g(){const N=a[0],E=w(f,N);return x(E,n,!1)}function y(){const N=t-a[0]-1,E=w(d,N);return x(E,-n,!0)}function b(){return m.every(({index:N})=>{const E=d.filter(T=>T!==N);return p(E,t)<=.1})}function S(){m.forEach(N=>{const{target:E,translate:T,slideLocation:P}=N,I=E();I!==P.get()&&(T.to(I),P.set(I))})}function j(){m.forEach(N=>N.translate.clear())}return{canLoop:b,clear:j,loop:S,loopPoints:m}}function F8(e,t,n){let r,s=!1;function o(c){if(!n)return;function u(d){for(const f of d)if(f.type==="childList"){c.reInit(),t.emit("slidesChanged");break}}r=new MutationObserver(d=>{s||(Pu(n)||n(c,d))&&u(d)}),r.observe(e,{childList:!0})}function a(){r&&r.disconnect(),s=!0}return{init:o,destroy:a}}function _8(e,t,n,r){const s={};let o=null,a=null,l,c=!1;function u(){l=new IntersectionObserver(w=>{c||(w.forEach(v=>{const x=t.indexOf(v.target);s[x]=v}),o=null,a=null,n.emit("slidesInView"))},{root:e.parentElement,threshold:r}),t.forEach(w=>l.observe(w))}function d(){l&&l.disconnect(),c=!0}function f(w){return ua(s).reduce((v,x)=>{const g=parseInt(x),{isIntersecting:y}=s[g];return(w&&y||!w&&!y)&&v.push(g),v},[])}function m(w=!0){if(w&&o)return o;if(!w&&a)return a;const v=f(w);return w&&(o=v),w||(a=v),v}return{init:u,destroy:d,get:m}}function z8(e,t,n,r,s,o){const{measureSize:a,startEdge:l,endEdge:c}=e,u=n[0]&&s,d=w(),f=v(),m=n.map(a),p=x();function w(){if(!u)return 0;const y=n[0];return Oe(t[l]-y[l])}function v(){if(!u)return 0;const y=o.getComputedStyle(dn(r));return parseFloat(y.getPropertyValue(`margin-${c}`))}function x(){return n.map((y,b,S)=>{const j=!b,C=Hh(S,b);return j?m[b]+d:C?m[b]+f:S[b+1][l]-y[l]}).map(Oe)}return{slideSizes:m,slideSizesWithGaps:p,startGap:d,endGap:f}}function V8(e,t,n,r,s,o,a,l,c){const{startEdge:u,endEdge:d,direction:f}=e,m=Uh(n);function p(g,y){return ca(g).filter(b=>b%y===0).map(b=>g.slice(b,b+y))}function w(g){return g.length?ca(g).reduce((y,b,S)=>{const j=dn(y)||0,C=j===0,N=b===Ia(g),E=s[u]-o[j][u],T=s[u]-o[b][d],P=!r&&C?f(a):0,I=!r&&N?f(l):0,F=Oe(T-I-(E+P));return S&&F>t+c&&y.push(b),N&&y.push(g.length),y},[]).map((y,b,S)=>{const j=Math.max(S[b-1]||0);return g.slice(j,y)}):[]}function v(g){return m?p(g,n):w(g)}return{groupSlides:v}}function B8(e,t,n,r,s,o,a){const{align:l,axis:c,direction:u,startIndex:d,loop:f,duration:m,dragFree:p,dragThreshold:w,inViewThreshold:v,slidesToScroll:x,skipSnaps:g,containScroll:y,watchResize:b,watchSlides:S,watchDrag:j,watchFocus:C}=o,N=2,E=S8(),T=E.measure(t),P=n.map(E.measure),I=x8(c,u),F=I.measureSize(T),H=j8(F),L=v8(l,F),q=!f&&!!y,$=f||!!y,{slideSizes:G,slideSizesWithGaps:M,startGap:R,endGap:A}=z8(I,T,P,n,$,s),k=V8(I,F,x,f,T,P,R,A,N),{snaps:O,snapsAligned:z}=M8(I,L,T,P,k),W=-dn(O)+dn(M),{snapsContained:Y,scrollContainLimit:X}=E8(F,W,z,y,N),B=q?Y:z,{limit:Z}=A8(W,B,f),oe=Pj(Ia(B),d,f),ie=oe.clone(),ee=ca(n),U=({dragHandler:yt,scrollBody:Bn,scrollBounds:ir,options:{loop:xn}})=>{xn||ir.constrain(yt.pointerDown()),Bn.seek()},te=({scrollBody:yt,translate:Bn,location:ir,offsetLocation:xn,previousLocation:ar,scrollLooper:La,slideLooper:lr,dragHandler:_u,animation:zu,eventHandler:ei,scrollBounds:Oa,options:{loop:Fa}},Vs)=>{const Gt=yt.settled(),Vu=!Oa.shouldConstrain(),se=Fa?Gt:Gt&&Vu,ye=se&&!_u.pointerDown();ye&&zu.stop();const Se=ir.get()*Vs+ar.get()*(1-Vs);xn.set(Se),Fa&&(La.loop(yt.direction()),lr.loop()),Bn.to(xn.get()),ye&&ei.emit("settle"),se||ei.emit("scroll")},J=y8(r,s,()=>U(or),yt=>te(or,yt)),pe=.68,be=B[oe.get()],Ne=yi(be),Re=yi(be),Ie=yi(be),$e=yi(be),kt=N8(Ne,Ie,Re,$e,m,pe),sr=I8(f,B,W,Z,$e),Et=D8(J,oe,ie,kt,sr,$e,a),ts=P8(Z),zs=da(),Je=_8(t,n,a,v),{slideRegistry:Kt}=R8(q,y,B,X,k,ee),Jo=L8(e,n,Kt,Et,kt,zs,a,C),or={ownerDocument:r,ownerWindow:s,eventHandler:a,containerRect:T,slideRects:P,animation:J,axis:I,dragHandler:b8(I,e,r,s,$e,w8(I,s),Ne,J,Et,kt,sr,oe,a,H,p,w,g,pe,j),eventStore:zs,percentOfView:H,index:oe,indexPrevious:ie,limit:Z,location:Ne,offsetLocation:Ie,previousLocation:Re,options:o,resizeHandler:C8(t,a,s,n,I,b,E),scrollBody:kt,scrollBounds:k8(Z,Ie,$e,kt,H),scrollLooper:T8(W,Z,Ie,[Ne,Ie,Re,$e]),scrollProgress:ts,scrollSnapList:B.map(ts.get),scrollSnaps:B,scrollTarget:sr,scrollTo:Et,slideLooper:O8(I,F,W,G,M,O,B,Ie,n),slideFocus:Jo,slidesHandler:F8(t,a,S),slidesInView:Je,slideIndexes:ee,slideRegistry:Kt,slidesToScroll:k,target:$e,translate:Mj(I,t)};return or}function $8(){let e={},t;function n(u){t=u}function r(u){return e[u]||[]}function s(u){return r(u).forEach(d=>d(t,u)),c}function o(u,d){return e[u]=r(u).concat([d]),c}function a(u,d){return e[u]=r(u).filter(f=>f!==d),c}function l(){e={}}const c={init:n,emit:s,off:a,on:o,clear:l};return c}const W8={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 U8(e){function t(o,a){return Tj(o,a||{})}function n(o){const a=o.breakpoints||{},l=ua(a).filter(c=>e.matchMedia(c).matches).map(c=>a[c]).reduce((c,u)=>t(c,u),{});return t(o,l)}function r(o){return o.map(a=>ua(a.breakpoints||{})).reduce((a,l)=>a.concat(l),[]).map(e.matchMedia)}return{mergeOptions:t,optionsAtMedia:n,optionsMediaQueries:r}}function q8(e){let t=[];function n(o,a){return t=a.filter(({options:l})=>e.optionsAtMedia(l).active!==!1),t.forEach(l=>l.init(o,e)),a.reduce((l,c)=>Object.assign(l,{[c.name]:c}),{})}function r(){t=t.filter(o=>o.destroy())}return{init:n,destroy:r}}function Lc(e,t,n){const r=e.ownerDocument,s=r.defaultView,o=U8(s),a=q8(o),l=da(),c=$8(),{mergeOptions:u,optionsAtMedia:d,optionsMediaQueries:f}=o,{on:m,off:p,emit:w}=c,v=I;let x=!1,g,y=u(W8,Lc.globalOptions),b=u(y),S=[],j,C,N;function E(){const{container:ee,slides:U}=b;C=(Om(ee)?e.querySelector(ee):ee)||e.children[0];const J=Om(U)?C.querySelectorAll(U):U;N=[].slice.call(J||C.children)}function T(ee){const U=B8(e,C,N,r,s,ee,c);if(ee.loop&&!U.slideLooper.canLoop()){const te=Object.assign({},ee,{loop:!1});return T(te)}return U}function P(ee,U){x||(y=u(y,ee),b=d(y),S=U||S,E(),g=T(b),f([y,...S.map(({options:te})=>te)]).forEach(te=>l.add(te,"change",I)),b.active&&(g.translate.to(g.location.get()),g.animation.init(),g.slidesInView.init(),g.slideFocus.init(ie),g.eventHandler.init(ie),g.resizeHandler.init(ie),g.slidesHandler.init(ie),g.options.loop&&g.slideLooper.loop(),C.offsetParent&&N.length&&g.dragHandler.init(ie),j=a.init(ie,S)))}function I(ee,U){const te=k();F(),P(u({startIndex:te},ee),U),c.emit("reInit")}function F(){g.dragHandler.destroy(),g.eventStore.clear(),g.translate.clear(),g.slideLooper.clear(),g.resizeHandler.destroy(),g.slidesHandler.destroy(),g.slidesInView.destroy(),g.animation.destroy(),a.destroy(),l.clear()}function H(){x||(x=!0,l.clear(),F(),c.emit("destroy"),c.clear())}function L(ee,U,te){!b.active||x||(g.scrollBody.useBaseFriction().useDuration(U===!0?0:b.duration),g.scrollTo.index(ee,te||0))}function q(ee){const U=g.index.add(1).get();L(U,ee,-1)}function $(ee){const U=g.index.add(-1).get();L(U,ee,1)}function G(){return g.index.add(1).get()!==k()}function M(){return g.index.add(-1).get()!==k()}function R(){return g.scrollSnapList}function A(){return g.scrollProgress.get(g.offsetLocation.get())}function k(){return g.index.get()}function O(){return g.indexPrevious.get()}function z(){return g.slidesInView.get()}function W(){return g.slidesInView.get(!1)}function Y(){return j}function X(){return g}function B(){return e}function Z(){return C}function oe(){return N}const ie={canScrollNext:G,canScrollPrev:M,containerNode:Z,internalEngine:X,destroy:H,off:p,on:m,emit:w,plugins:Y,previousScrollSnap:O,reInit:v,rootNode:B,scrollNext:q,scrollPrev:$,scrollProgress:A,scrollSnapList:R,scrollTo:L,selectedScrollSnap:k,slideNo
394des:oe,slidesInView:z,slidesNotInView:W};return P(t,n),setTimeout(()=>c.emit("init"),0),ie}Lc.globalOptions=void 0;function Kh(e={},t=[]){const n=h.useRef(e),r=h.useRef(t),[s,o]=h.useState(),[a,l]=h.useState(),c=h.useCallback(()=>{s&&s.reInit(n.current,r.current)},[s]);return h.useEffect(()=>{Wh(n.current,e)||(n.current=e,c())},[e,c]),h.useEffect(()=>{p8(r.current,t)||(r.current=t,c())},[t,c]),h.useEffect(()=>{if(m8()&&a){Lc.globalOptions=Kh.globalOptions;const u=Lc(a,n.current,r.current);return o(u),()=>u.destroy()}else o(void 0)},[a,o]),[l,s]}Kh.globalOptions=void 0;const Rj=h.createContext(null);function Mu(){const e=h.useContext(Rj);if(!e)throw new Error("useCarousel must be used within a <Carousel />");return e}const Oc=h.forwardRef(({orientation:e="horizontal",opts:t,setApi:n,plugins:r,className:s,children:o,...a},l)=>{const[c,u]=Kh({...t,axis:e==="horizontal"?"x":"y"},r),[d,f]=h.useState(!1),[m,p]=h.useState(!1),w=h.useCallback(y=>{y&&(f(y.canScrollPrev()),p(y.canScrollNext()))},[]),v=h.useCallback(()=>{u==null||u.scrollPrev()},[u]),x=h.useCallback(()=>{u==null||u.scrollNext()},[u]),g=h.useCallback(y=>{y.key==="ArrowLeft"?(y.preventDefault(),v()):y.key==="ArrowRight"&&(y.preventDefault(),x())},[v,x]);return h.useEffect(()=>{!u||!n||n(u)},[u,n]),h.useEffect(()=>{if(u)return w(u),u.on("reInit",w),u.on("select",w),()=>{u==null||u.off("select",w)}},[u,w]),i.jsx(Rj.Provider,{value:{carouselRef:c,api:u,opts:t,orientation:e||((t==null?void 0:t.axis)==="y"?"vertical":"horizontal"),scrollPrev:v,scrollNext:x,canScrollPrev:d,canScrollNext:m},children:i.jsx("div",{ref:l,onKeyDownCapture:g,className:ue("relative",s),role:"region","aria-roledescription":"carousel",...a,children:o})})});Oc.displayName="Carousel";const Fc=h.forwardRef(({className:e,...t},n)=>{const{carouselRef:r,orientation:s}=Mu();return i.jsx("div",{ref:r,className:"overflow-hidden",children:i.jsx("div",{ref:n,className:ue("flex",s==="horizontal"?"-ml-4":"-mt-4 flex-col",e),...t})})});Fc.displayName="CarouselContent";const ms=h.forwardRef(({className:e,...t},n)=>{const{orientation:r}=Mu();return i.jsx("div",{ref:n,role:"group","aria-roledescription":"slide",className:ue("min-w-0 shrink-0 grow-0 basis-full",r==="horizontal"?"pl-4":"pt-4",e),...t})});ms.displayName="CarouselItem";const Gh=h.forwardRef(({className:e,variant:t="outline",size:n="icon",...r},s)=>{const{orientation:o,scrollPrev:a,canScrollPrev:l}=Mu();return i.jsxs(he,{ref:s,variant:t,size:n,className:ue("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:!l,onClick:a,...r,children:[i.jsx(yA,{className:"h-4 w-4"}),i.jsx("span",{className:"sr-only",children:"Previous slide"})]})});Gh.displayName="CarouselPrevious";const Yh=h.forwardRef(({className:e,variant:t="outline",size:n="icon",...r},s)=>{const{orientation:o,scrollNext:a,canScrollNext:l}=Mu();return i.jsxs(he,{ref:s,variant:t,size:n,className:ue("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:!l,onClick:a,...r,children:[i.jsx(Nt,{className:"h-4 w-4"}),i.jsx("span",{className:"sr-only",children:"Next slide"})]})});Yh.displayName="CarouselNext";const H8={active:!0,breakpoints:{},delay:4e3,jump:!1,playOnInit:!0,stopOnFocusIn:!0,stopOnInteraction:!0,stopOnMouseEnter:!1,stopOnLastSnap:!1,rootNode:null};function K8(e,t){const n=e.scrollSnapList();return typeof t=="number"?n.map(()=>t):t(n,e)}function G8(e,t){const n=e.rootNode();return t&&t(n)||n}function fa(e={}){let t,n,r,s,o=null,a=0,l=!1,c=!1,u=!1,d=!1;function f(L,q){n=L;const{mergeOptions:$,optionsAtMedia:G}=q,M=$(H8,fa.globalOptions),R=$(M,e);
394if(t=G(R),n.scrollSnapList().length<=1)return;d=t.jump,r=!1,s=K8(n,t.delay);const{eventStore:A,ownerDocument:k}=n.internalEngine(),O=!!n.internalEngine().options.watchDrag,z=G8(n,t.rootNode);A.add(k,"visibilitychange",g),O&&n.on("pointerDown",b),O&&!t.stopOnInteraction&&n.on("pointerUp",S),t.stopOnMouseEnter&&A.add(z,"mouseenter",j),t.stopOnMouseEnter&&!t.stopOnInteraction&&A.add(z,"mouseleave",C),t.stopOnFocusIn&&n.on("slideFocusStart",x),t.stopOnFocusIn&&!t.stopOnInteraction&&A.add(n.containerNode(),"focusout",v),t.playOnInit&&v()}function m(){n.off("pointerDown",b).off("pointerUp",S).off("slideFocusStart",x),x(),r=!0,l=!1}function p(){const{ownerWindow:L}=n.internalEngine();L.clearTimeout(a),a=L.setTimeout(I,s[n.selectedScrollSnap()]),o=new Date().getTime(),n.emit("autoplay:timerset")}function w(){const{ownerWindow:L}=n.internalEngine();L.clearTimeout(a),a=0,o=null,n.emit("autoplay:timerstopped")}function v(){if(!r){if(y()){u=!0;return}l||n.emit("autoplay:play"),p(),l=!0}}function x(){r||(l&&n.emit("autoplay:stop"),w(),l=!1)}function g(){if(y())return u=l,x();u&&v()}function y(){const{ownerDocument:L}=n.internalEngine();return L.visibilityState==="hidden"}function b(){c||x()}function S(){c||v()}function j(){c=!0,x()}function C(){c=!1,v()}function N(L){typeof L<"u"&&(d=L),v()}function E(){l&&x()}function T(){l&&v()}function P(){return l}function I(){const{index:L}=n.internalEngine(),q=L.clone().add(1).get(),$=n.scrollSnapList().length-1,G=t.stopOnLastSnap&&q===$;if(n.canScrollNext()?n.scrollNext(d):n.scrollTo(0,d),n.emit("autoplay:select"),G)return x();v()}function F(){if(!o)return null;const L=s[n.selectedScrollSnap()],q=new Date().getTime()-o;return L-q}return{name:"autoplay",options:e,init:f,destroy:m,play:N,stop:E,reset:T,isPlaying:P,timeUntilNext:F}}fa.globalOptions=void 0;const Y8=()=>{const{language:e}=fe(),[t,n]=h.useState("USD"),[r,s]=h.useState("monthly"),o=["High-Converting Website Funnel","CRM Setup","AI Chatbot","SMS Automations","Email Automations","Calendar Booking System","Reputation Management","Lead Capture Forms","Basic AI Automation","Monthly Support","Hosting Included"],a=["Entonnoir de site web à haute conversion","Configuration du CRM","Chatbot IA","Automatisations SMS","Automatisations par e-mail","Système de réservation de calendrier","Gestion de la réputation","Formulaires de capture de leads","Automatisation IA de base","Support mensuel","Hébergement inclus"],l=["Full Done-For-You Marketing System","AI Voice Assistant","Advanced Automations","Content Strategy","Funnel Optimization","Lead Reactivation Campaigns","AI Follow-Up Sequences","CRM Pipeline Management","Weekly Optimization","Priority Support","Social Media Automation","Ad Funnel Strategy","AI Appointment Booking Workflows"],c=["Système marketing complet clé en main","Assistant vocal IA","Automatisations avancées","Stratégie de contenu","Optimisation de l'entonnoir","Campagnes de réactivation de leads","Séquences de suivi IA","Gestion du pipeline CRM","Optimisation hebdomadaire","Support prioritaire","Automatisation des médias sociaux","Stratégie d'entonnoir publicitaire","Workflows de réservation de rendez-vous IA"];return i.jsxs("section",{id:"pricing",className:"py-24 bg-background relative",children:[i.jsx("div",{className:"absolute top-0 left-1/2 -translate-x-1/2 w-full h-full bg-[radial-gradient(ellipse_at_top,_var(--tw-gradient-stops))] from-primary/10 via-background to-background pointer-events-none"}),i.jsxs("div",{className:"container mx-auto px-4 relative z-10",children:[i.jsxs("div",{className:"text-center max-w-3xl mx-auto mb-10",children:[i.jsx("div",{className:"mb-8 max-w-2xl mx-auto w-3/4",children:i.jsxs(Oc,{plugins:[fa({delay:3e3})],opts:{align:"start",loop:!0},className:"w-full",children:[i.jsxs(Fc,{children:[i.jsx(ms,{children:i.jsx("img",{src:"https://vibe.filesafe.space/1779029949023741031/attachments/2d8c931c-a727-430f-b9cb-667ebe2c715d.png",alt:"Bundle 1",className:"w-3/4 h-auto object-contain mx-auto"})}),i.jsx(ms,{children:i.jsx("img",{src:"https://vibe.filesafe.space/1779029949023741031/attachments/cc45e299-b981-48b4-ab09-a03404ea1ffc.png",alt:"Bundle 2",className:"w-3/4 h-auto object-contain mx-auto"})}),i.jsx(ms,{children:i.jsx("img",{src:"https://vibe.filesafe.space/1779029949023741031/attachments/34bd8523-186f-465b-a3f4-10ef5bfd1cee.png",alt:"Bundle 3",className:"w-3/4 h-auto object-contain mx-auto"})}),i.jsx(ms,{children:i.jsx("img",{src:"https://vibe.filesafe.space/1779029949023741031/attachments/f99f5b48-a737-4033-b591-747e0b0b5648.png",alt:"Bundle 4",className:"w-3/4 h-auto object-contain mx-auto"})})]}),i.jsxs("div",{className:"hidden md:block",children:[i.jsx(Gh,{className:"-left-12"}),i.jsx(Yh,{className:"-right-12"})]})]})}),i.jsx("h2",{className:"text-4xl md:text-5xl font-bold mb-6",children:e==="fr"?"Tarification simple et transparente":"Simple, Transparent Pricing"}),i.jsx("p",{className:"text-xl text-muted-foreground",children:e==="fr"?"Investissez dans un système qui s'amortit en capturant les leads que vous perdez actuellement."
394:"Invest in a system that pays for itself by capturing leads you're currently losing."})]}),i.jsxs("div",{className:"flex flex-col sm:flex-row justify-center items-center gap-6 mb-12",children:[i.jsxs("div",{className:"flex items-center gap-3",children:[i.jsx("span",{className:`text-sm font-medium ${r==="monthly"?"text-foreground font-bold":"text-muted-foreground"}`,children:e==="fr"?"Mensuel":"Monthly"}),i.jsx(Dc,{checked:r==="yearly",onCheckedChange:u=>s(u?"yearly":"monthly"),className:"data-[state=checked]:bg-primary data-[state=unchecked]:bg-primary/50"}),i.jsxs("span",{className:`text-sm font-medium ${r==="yearly"?"text-foreground font-bold":"text-muted-foreground"}`,children:[e==="fr"?"Annuel":"Yearly",i.jsx("span",{className:"ml-1.5 inline-block bg-primary/10 text-primary text-[10px] px-2 py-0.5 rounded-full font-bold uppercase tracking-wider",children:e==="fr"?"2 mois offerts":"Save 2 months"})]})]}),i.jsx("div",{className:"hidden sm:block w-px h-8 bg-border"}),i.jsxs("div",{className:"flex items-center gap-3",children:[i.jsx("span",{className:`text-sm font-medium ${t==="USD"?"text-foreground font-bold":"text-muted-foreground"}`,children:"USD"}),i.jsx(Dc,{checked:t==="CAD",onCheckedChange:u=>n(u?"CAD":"USD"),className:"data-[state=checked]:bg-primary data-[state=unchecked]:bg-primary/50"}),i.jsx("span",{className:`text-sm font-medium ${t==="CAD"?"text-foreground font-bold":"text-muted-foreground"}`,children:"CAD"})]})]}),i.jsxs("div",{className:"grid md:grid-cols-2 gap-8 max-w-4xl mx-auto items-start",children:[i.jsxs("div",{className:"bg-secondary/50 border border-border rounded-3xl p-8 flex flex-col",children:[i.jsx("h3",{className:"text-2xl font-bold mb-2",children:e==="fr"?"Système de Croissance IA":"AI Growth System"}),i.jsxs("div",{className:"flex items-baseline gap-2 mb-2",children:[i.jsx("span",{className:"text-4xl font-bold",children:r==="monthly"?t==="CAD"?"$697":"$497":t==="CAD"?"$6,997":"$4,997"}),i.jsx("span",{className:"text-muted-foreground",children:e==="fr"?`${t} / ${r==="monthly"?"Mois":"An"}`:`${t} / ${r==="monthly"?"Month":"Year"}`})]}),i.jsx("p",{className:"text-sm text-muted-foreground mb-8",children:r==="monthly"?t==="CAD"?e==="fr"?"+ 1 997 $ CAD Frais d'installation":"+ $1,997 CAD Setup Fee":e==="fr"?"+ 1 500 $ USD Frais d'installation":"+ $1,500 USD Setup Fee":i.jsx("span",{className:"text-primary font-medium",children:e==="fr"?"Aucun frais d'installation":"No Setup Fee"})}),i.jsx("ul",{className:"space-y-4 mb-8 flex-1",children:(e==="fr"?a:o).map((u,d)=>i.jsxs("li",{className:"flex items-center gap-3",children:[i.jsx("div",{className:"w-5 h-5 rounded-full bg-primary/20 flex items-center justify-center text-primary shrink-0",children:i.jsx(Ps,{className:"w-3 h-3"})}),i.jsx("span",{className:"text-sm",children:u})]},d))}),i.jsx(he,{size:"lg",variant:"outline",className:"w-full border-primary/50 hover:bg-primary/10",asChild:!0,children:i.jsx("a",{href:"https://buy.stripe.com/7sY4gy1KP7Xgfl94CpbfO1D",target:"_blank",rel:"noopener noreferrer",children:e==="fr"?"Commencer à construire mon système":"Start Building My System"})})]}),i.jsxs("div",{className:"bg-gradient-to-b from-primary/20 to-secondary/50 border border-primary/50 rounded-3xl p-8 flex flex-col relative shadow-[0_0_50px_-12px_rgba(59,130,246,0.25)] mt-4 md:mt-0",children:[i.jsx("div",{className:"absolute top-0 left-1/2 -translate-x-1/2 -translate-y-1/2 bg-primary text-primary-foreground px-4 py-1 rounded-full text-sm font-bold tracking-wide",children:e==="fr"?"LE PLUS POPULAIRE":"MOST POPULAR"}),i.jsx("h3",{className:"text-2xl font-bold mb-2",children:e==="fr"?"Ãchelle IA Clé en Main":"Done-For-You AI Scale"}),i.jsxs("div",{className:"flex items-baseline gap-2 mb-2",children:[i.jsx("span",{className:"text-4xl font-bold",children:r==="monthly"?t==="CAD"?"$1,197":"$897":t==="CAD"?"$11,997":"$8,997"}),i.jsx("span",{className:"text-muted-foreground",children:e==="fr"?`${t} / ${r==="monthly"?"Mois":"An"}`:`${t} / ${r==="monthly"?"Month":"Year"}`})]}),i.jsx("p",{className:"text-sm text-muted-foreground mb-8",children:r==="monthly"?t==="CAD"?e==="fr"?"+ 1 997 $ CAD Frais d'installation":"+ $1,997 CAD Setup Fee":e==="fr"?"+ 1 500 $ USD Frais d'installation":"+ $1,500 USD Setup Fee":i.jsx("span",{className:"text-primary font-medium",children:e==="fr"?"Aucun frais d'installation":"No Setup Fee"})}),i.jsxs("div",{className:"mb-6 pb-6 border-b border-border",children:[i.jsx("p",{className:"font-semibold mb-4",children:e==="fr"?"Comprend TOUT du forfait 1 P
394LUS :":"Includes EVERYTHING in Package 1 PLUS:"}),i.jsx("ul",{className:"space-y-4",children:(e==="fr"?c:l).map((u,d)=>i.jsxs("li",{className:"flex items-center gap-3",children:[i.jsx("div",{className:"w-5 h-5 rounded-full bg-primary flex items-center justify-center text-primary-foreground shrink-0",children:i.jsx(Ps,{className:"w-3 h-3"})}),i.jsx("span",{className:"text-sm font-medium",children:u})]},d))})]}),i.jsx(he,{size:"lg",className:"w-full bg-primary text-primary-foreground hover:bg-primary/90 mt-auto shadow-[0_0_20px_-5px_rgba(59,130,246,0.5)]",asChild:!0,children:i.jsx("a",{href:"https://buy.stripe.com/8x24gyfBF91kc8Xc4RbfO1G",target:"_blank",rel:"noopener noreferrer",children:e==="fr"?"Commencer à construire mon système":"Start Building My System"})})]})]})]})]})},Q8=()=>{const{language:e}=fe(),[t,n]=h.useState("USD"),r=["CRM Access","Unlimited Pipelines","Calendar Booking","Lead Capture Forms","Basic Email Automations","Website Builder","Mobile App Access","Community Support"],s=["Accès CRM","Pipelines illimités","Réservation de calendrier","Formulaires de capture de leads","Automatisations par e-mail de base","Créateur de site web","Accès à l'application mobile","Support communautaire"],o=["Everything in Basic, plus:","AI Chatbot","SMS Automations","Advanced Email Automations","Reputation Management","Missed-Call Text Back","Funnel Builder","Priority Support"],a=["Tout du forfait de base, plus :","Chatbot IA","Automatisations SMS","Automatisations e-mail avancées","Gestion de la réputation","Retour de texte pour appels manqués","Créateur d'entonnoir","Support prioritaire"];return i.jsx("section",{id:"basic-pricing",className:"py-20 bg-secondary/30 relative",children:i.jsxs("div",{className:"container mx-auto px-4 relative z-10",children:[i.jsxs("div",{className:"text-center max-w-2xl mx-auto mb-10",children:[i.jsx("h2",{className:"text-3xl md:text-4xl font-bold mb-4",children:e==="fr"?"Forfaits de Base & Basic+":"Basic & Basic+ Plans"}),i.jsx("p",{className:"text-lg text-muted-foreground",children:e==="fr"?"Commencez petit avec notre forfait de base, ou passez au niveau supérieur avec Basic+ pour plus de fonctionnalités d'automatisation.":"Start small with our Basic plan, or step up to Basic+ for more automation features."})]}),i.jsxs("div",{className:"flex justify-center items-center gap-3 mb-10",children:[i.jsx("span",{className:`text-sm font-medium ${t==="USD"?"text-foreground font-bold":"text-muted-foreground"}`,children:"USD"}),i.jsx(Dc,{checked:t==="CAD",onCheckedChange:l=>n(l?"CAD":"USD"),className:"data-[state=checked]:bg-primary data-[state=unchecked]:bg-primary/50"}),i.jsx("span",{className:`text-sm font-medium ${t==="CAD"?"text-foreground font-bold":"text-muted-foreground"}`,children:"CAD"})]}),i.jsxs("div",{className:"grid md:grid-cols-2 gap-6 max-w-4xl mx-auto items-start",children:[i.jsxs("div",{className:"bg-background border border-border rounded-3xl p-8 flex flex-col",children:[i.jsx("h3",{className:"text-2xl font-bold mb-2",children:e==="fr"?"Forfait de Base":"Basic"}),i.jsxs("div",{className:"flex items-baseline gap-2 mb-2",children:[i.jsx("span",{className:"text-4xl font-bold",children:t==="CAD"?"$137":"$97"}),i.jsx("span",{className:"text-muted-foreground",children:e==="fr"?`${t} / Mois`:`${t} / Month`})]}),i.jsx("p",{className:"text-sm text-muted-foreground mb-8",children:e==="fr"?"Idéal pour démarrer":"Perfect to get started"}),i.jsx("ul",{className:"space-y-4 mb-8 flex-1",children:(e==="fr"?s:r).map((l,c)=>i.jsxs("li",{className:"flex items-center gap-3",children:[i.jsx("div",{className:"w-5 h-5 rounded-full bg-primary/20 flex items-center justify-center text-primary shrink-0",children:i.jsx(Ps,{className:"w-3 h-3"})}),i.jsx("span",{className:"text-sm",children:l})]},c))}),i.jsx(he,{size:"lg",variant:"outline",className:"w-full border-primary/50 hover:bg-primary/10",asChild:!0,children:i.jsx("a",{href:"https://buy.stripe.com/fZu7sK0GL91k2yn0m9bfO1Y",target:"_blank",rel:"noopener noreferrer",children:e==="fr"?"Commencer avec Basic":"Start with Basic"})})]}),i.jsxs("div",{className:"bg-gradient-to-b from-primary/20 to-background border border-primary/50 rounded-3xl p-8 flex flex-col relative shadow-[0_0_50px_-12px_rgba(59,130,246,0.25)] mt-4 md:mt-0",children:[i.jsx("div",{className:"absolute top-0 left-1/2 -translate-x-1/2 -translate-y-1/2 bg-primary text-primary-foreground px-4 py-1 rounded-full text-sm font-bold tracking-wide",children:e==="fr"?"POPULAIRE":"POPULAR"}),i.jsx("h3",{className:"text-2xl font-bold mb-2",children:"Basic+"}),i.jsxs("div",{className:"flex items-baseline gap-2 mb-2",children:[i.jsx("span",{className:"text-4xl font-bold",children:t==="CAD"?"$397":"$297"}),i.jsx("span",{className:"text-muted-foreground",children:e==="fr"?`${t} / Mois`:`${t} / Month`})]}),i.jsx("p",{className:"text-sm text-muted-foreground mb-8",children:e==="fr"?"Plus d'automatisation, plus de croissance":"More automation, more growth"}),i.jsx("ul",{className:"space-y-4 mb-8 flex-1",children:(e==="fr"?a:o).map((l,c)=>i.jsxs("li",{className:"flex items-center gap-3",children:[i.jsx("div",{className:"w-5 h-5 rounded-full bg-primary flex items-center justify-center text-primary-foreground shrink-0",children:i.jsx(Ps,{className:"w-3 h-3"})}),i.jsx("span",{className:`text-sm ${c===0?"font-bold text-foreground":""}`,children:l})]},c))}),i.jsx(he,{size:"lg",className:"w-full bg-primary text-primary-foreground hover:bg-primary/90 mt-auto shadow-[0_0_20px_-5px_rgba(59,130,246,0.5)]",asChild:!0,children:i.jsx("a",{href:"https://buy.stripe.com/14A5kCgFJelE5Kzgl7bfO1O",target:"_blank",rel:"noopener noreferrer",children:e==="fr"?"Choisir Basic+":"Choose Basic+"})})]})]})]})})},X8=["Save Time","Automate Follow-Ups","Close More Leads","Scale Faster","AI Working 24/7","Better Customer Experience","Centralized CRM System","Eliminate Manual Tasks"],Z8=["Gagnez du temps","Automatisez les suivis","Concluez plus de ventes","Ãvoluez plus vite","L'IA travaille 24/7","Meilleure expérience client","Système CRM centralisé","Ãliminez les tâches manuelles"],J8=()=>{const{language:e}=fe(),t=e==="fr"?Z8:X8;return i.jsx("section",{className:"py-24 bg-secondary/30 border-y border-border overflow-hidden",children:i.jsx("div",{className:"container mx-auto px-4",children:i.jsxs("div",{className:"grid lg:grid-cols-2 gap-16 items-center",children:[i.jsxs("div",{className:"order-2 lg:order-1",children:[i.jsxs("h2",{className:"text-4xl md:text-5xl font-bold mb-6",children:[e==="fr"?"Conçu pour les entreprises":"Built for Businesses"," ",i.jsx("span",{className:"text-primary",children:e==="fr"?"prêtes à évoluer":"Ready to Scale"})]}),i.jsx("p",{className:"text-xl text-muted-foreground mb-10 leading-relaxed",children:e==="fr"?"Arrêtez de bricoler avec différents logiciels. Obtenez un système unifié qui génère réellement des revenus et vous fait gagner des heures chaque semaine.":"Stop duct-taping different software together. Get a unified system that actually drives revenue and saves you hours every week."}),i.jsx("div",{className:"grid sm:grid-cols-2 gap-6",children:t.map((n,r)=>i.jsxs("div",{className:"flex items-center gap-3",children:[i.jsx(Os,{className:"w-6 h-6 text-primary shrink-0"}),i.jsx("span",{className:"font-medium text-lg",children:n})]},r))})]}),i.jsxs("div",{className:"relative order-1 lg:order-2",children:[i.jsx("div",{className:"absolute inset-0 bg-gradient-to-tr from-primary/20 to-purple-500/20 rounded-3xl blur-3xl"}),i.jsxs("div",{className:"relative bg-background border border-border rounded-3xl p-8 shadow-2xl",children:[i.jsxs("div",{className:"flex items-center justify-between mb-8 pb-8 border-b border-border",children:[i.jsxs("div",{children:[i.jsx("p",{className:"text-sm text-muted-foreground mb-1",children:e==="fr"?"Total des leads capturés":"Total Leads Captured"}),i.jsx("p",{className:"text-4xl font-bold text-primary",children:"2,847"})]}),i.jsxs("div",{className:"text-right",children:[i.jsx("p",{className:"text-sm text-muted-foreground mb-1",children:e==="fr"?"Taux de conversion":"Conversion Rate"}),i.jsx("p",{className:"text-4xl font-bold text-green-400",children:"+34%"})]})]}),i.jsx("div",{className:"space-y-4",children:[1,2,3].map((n,r)=>i.jsxs("div",{className:"flex items-center justify-between p-4 rounded-xl bg-secondary border border-border",children:[i.jsxs("div",{className:"flex items-center gap-4",children:[i.jsx("div",{className:"w-10 h-10 rounded-full bg-primary/20 flex items-center justify-center",children:i.jsx("span",{className:"text-primary text-sm font-bold",children:"AI"})}),i.jsxs("div",{children:[i.jsx("p",{className:"font-medium",children:e==="fr"?"Suivi automatisé envoyé":"Automated Follow-up Sent"}),i.jsx("p",{className:"text-xs text-muted-foreground",children:e==="fr"?"à l'instant":"Just now"})]})]}),i.jsx("span",{className:"text-green-400 text-sm font-medium",children:e==="fr"?"Livré":"Delivered"})]},r))})]})]})]})})})},eF=pj,tF=hj,nF=gj,Ij=h.forwardRef(({className:e,...t},n)=>i.jsx(Nu,{ref:n,className:ue("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));Ij.displayName=Nu.displayName;const Dj=h.forwardRef(({className:e,children:t,...n},r)=>i.jsxs(nF,{children:[i.jsx(Ij,{}),i.jsxs(ku,{ref:r,className:ue("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rou
394nded-lg",e),...n,children:[t,i.jsxs(vj,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity data-[state=open]:bg-accent data-[state=open]:text-muted-foreground hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none",children:[i.jsx(lu,{className:"h-4 w-4"}),i.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));Dj.displayName=ku.displayName;const rF=h.forwardRef(({className:e,...t},n)=>i.jsx(Eu,{ref:n,className:ue("text-lg font-semibold leading-none tracking-tight",e),...t}));rF.displayName=Eu.displayName;const sF=h.forwardRef(({className:e,...t},n)=>i.jsx(Au,{ref:n,className:ue("text-sm text-muted-foreground",e),...t}));sF.displayName=Au.displayName;const oF=[{name:"Serena P",role:"SP Contour",videoUrl:"https://assets.cdn.filesafe.space/FIGYqmaP870ddXvwutnh/media/6aa42d7bbd832ef7bd990a4d.mp4"},{name:"David T",role:"Founder of KP Cares Foundation",videoUrl:"https://assets.cdn.filesafe.space/FIGYqmaP870ddXvwutnh/media/6a35f3b3c50697c41191c4a0.mp4"},{name:"Marleine E.",role:"Driving School Owner",videoUrl:"https://assets.cdn.filesafe.space/FIGYqmaP870ddXvwutnh/media/66622f556cee2b30245db0e3.mp4"},{name:"Milka",role:"Life Coach",videoUrl:"https://assets.cdn.filesafe.space/FIGYqmaP870ddXvwutnh/media/66622f541b84651a33a2ea51.mp4"},{name:"Christina I.",role:"Trust Specialist",videoUrl:"https://assets.cdn.filesafe.space/FIGYqmaP870ddXvwutnh/media/66622f54bab679b53eb52baa.mp4"},{name:"Alexis H",role:"Wealth Strategist",videoUrl:"https://assets.cdn.filesafe.space/FIGYqmaP870ddXvwutnh/media/6a35f2b42e3b9fd413ebd600.mp4"},{name:"Mario P.",role:"Certified CPA",videoUrl:"https://assets.cdn.filesafe.space/FIGYqmaP870ddXvwutnh/media/6a35f2b4c50697c41191b75c.mp4"}],iF=[{name:"Serena P",role:"SP Contour",videoUrl:"https://assets.cdn.filesafe.space/FIGYqmaP870ddXvwutnh/media/6aa42d7bbd832ef7bd990a4d.mp4"},{name:"David T",role:"Fondateur de KP Cares Foundation",videoUrl:"https://assets.cdn.filesafe.space/FIGYqmaP870ddXvwutnh/media/6a35f3b3c50697c41191c4a0.mp4"},{name:"Marleine E.",role:"Propriétaire d'auto-école",videoUrl:"https://assets.cdn.filesafe.space/FIGYqmaP870ddXvwutnh/media/66622f556cee2b30245db0e3.mp4"},{name:"Milka",role:"Coach de Vie",videoUrl:"https://assets.cdn.filesafe.space/FIGYqmaP870ddXvwutnh/media/66622f541b84651a33a2ea51.mp4"},{name:"Christina I.",role:"Spécialiste de la Confiance",videoUrl:"https://assets.cdn.filesafe.space/FIGYqmaP870ddXvwutnh/media/66622f54bab679b53eb52baa.mp4"},{name:"Alexis H",role:"Stratège en Gestion de Patrimoine",videoUrl:"https://assets.cdn.filesafe.space/FIGYqmaP870ddXvwutnh/media/6a35f2b42e3b9fd413ebd600.mp4"},{name:"Mario P.",role:"CPA Certifié",videoUrl:"https://assets.cdn.filesafe.space/FIGYqmaP870ddXvwutnh/media/6a35f2b4c50697c41191b75c.mp4"}],aF=[{name:"Sarah T.",role:"Real Estate Broker",image:"https://vibe.filesafe.space/1779029949023741031/assets/0314b76c-ff1a-49e4-9f0c-2430aa98adf3.jpg",text:"Since implementing the AI Growth System, our lead response time went from 2 hours to 2 seconds. We've closed 4 extra deals this month just from the missed call text back feature.",roi:"40% ROI in 30 days"},{name:"Sophia L.",role:"Clinic Director",image:"https://vibe.filesafe.space/1779029949023741031/assets/ccd25802-e403-4328-9877-b8696790172a.png",text:"The AI voice assistant handles all our basic appointment booking calls now. My front desk staff finally has time to focus on the patients in the clinic instead of being glued to the phone.",roi:"Saved 20+ Hours/Week"},{name:"David L.",role:"Financial Consultant",image:"https://vibe.filesafe.space/1779029949023741031/assets/13ce722f-8510-4b3b-af1a-7465850cf796.jpg",text:"Since working with Kr8tor.ai, I've added $15k in additional revenue. The automated follow-ups and CRM pipeline have completely transformed how I manage my financial consulting clients.",roi:"$15k Additional Revenue"}],lF=[{name:"Sarah T.",role:"Courtière Immobilière",image:"https://vibe.filesafe.space/1779029949023741031/assets/0314b76c-ff1a-49e4-9f0c-2430aa98adf3.jpg",text:"Depuis l'implémentation du système de croissance IA, notre temps de réponse aux leads est passé de 2 heures à 2 secondes. Nous avons conclu 4 transactions supplémentaires ce mois-ci rien qu'avec la fonction de rappel SMS manqué.",roi:"40% de ROI en 30 jours"},{name:"Sophia L.",role:"Directrice de Clinique",image:"https://vibe.filesafe.space/1779029949023741031/assets/ccd25802-e403-4328-9877-b8696790172a.png",text:"L'assistant vocal IA gère désormais tous nos appels de réservation de rendez-vous de base. Mon personnel de réception a enfin le temps de se concentrer sur les patients au lieu d'être collé au téléphone.",roi:"20+ heures sauvées/semaine"},{name:"David L.",role:"Consultant Financier",image:"https://vibe.filesafe.space/1779029949023741031/assets/13ce722f-8510-4b3b-af1a-7465850cf796.jpg",text:"Depuis que je travaille avec Kr8tor.ai, j'ai généré
39415k$ de revenus supplémentaires. Les suivis automatisés et le pipeline CRM ont complètement transformé la façon dont je gère mes clients en consultation financière.",roi:"15k$ de revenus supplémentaires"}],cF=()=>{const{language:e}=fe(),t=e==="fr"?lF:aF,n=e==="fr"?iF:oF;return i.jsx("section",{id:"testimonials",className:"py-24 bg-background",children:i.jsxs("div",{className:"container mx-auto px-4",children:[i.jsxs("div",{className:"text-center max-w-3xl mx-auto mb-16",children:[i.jsx("h2",{className:"text-4xl md:text-5xl font-bold mb-6",children:e==="fr"?"De vrais résultats pour de vraies entreprises":"Real Results for Real Businesses"}),i.jsx("p",{className:"text-xl text-muted-foreground max-w-2xl mx-auto",children:e==="fr"?i.jsxs(i.Fragment,{children:["Ne nous croyez pas sur parole. Découvrez comment l'automatisation",i.jsx("br",{className:"hidden md:block"})," de l'IA transforme les entreprises à travers le monde."]}):i.jsxs(i.Fragment,{children:["Don't just take our word for it. See how AI automation",i.jsx("br",{className:"hidden md:block"})," is transforming businesses across the world."]})})]}),i.jsxs("div",{className:"mb-20",children:[i.jsx("h3",{className:"text-2xl font-bold mb-8 text-center",children:e==="fr"?"Témoignages Vidéo":"Video Testimonials"}),i.jsxs(Oc,{opts:{align:"start",loop:!0},plugins:[fa({delay:4e3,stopOnInteraction:!0})],className:"w-full",children:[i.jsx(Fc,{className:"-ml-2 md:-ml-4",children:n.map((r,s)=>i.jsx(ms,{className:"pl-2 md:pl-4 sm:basis-1/2 md:basis-1/3 lg:basis-1/4",children:i.jsxs(eF,{children:[i.jsx(tF,{asChild:!0,children:i.jsxs("div",{className:"relative group rounded-3xl overflow-hidden aspect-[9/16] max-h-[70vh] cursor-pointer border border-border/50 bg-black/10",children:[i.jsx("video",{src:`${r.videoUrl}#t=0.001`,className:"w-full h-full object-cover transition-transform duration-500 group-hover:scale-105",preload:"metadata",muted:!0,playsInline:!0}),i.jsx("div",{className:"absolute inset-0 bg-black/40 group-hover:bg-black/20 transition-colors flex items-center justify-center",children:i.jsx("div",{className:"w-16 h-16 rounded-full bg-primary/90 flex items-center justify-center text-white shadow-lg transform transition-transform group-hover:scale-110",children:i.jsx(TA,{className:"w-6 h-6 ml-1",fill:"currentColor"})})}),i.jsxs("div",{className:"absolute bottom-0 left-0 right-0 p-6 bg-gradient-to-t from-black/80 to-transparent",children:[i.jsx("h4",{className:"font-bold text-white text-lg",children:r.name}),i.jsx("p",{className:"text-white/80 text-sm",children:r.role})]})]})}),i.jsx(Dj,{className:"max-w-[95vw] md:max-w-[80vw] h-[90vh] p-0 overflow-hidden bg-black border-none flex items-center justify-center",children:i.jsx("video",{src:r.videoUrl,controls:!0,autoPlay:!0,className:"w-full h-full object-contain"})})]})},s))}),i.jsxs("div",{className:"hidden md:flex justify-center gap-4 mt-8",children:[i.jsx(Gh,{className:"position-static translate-y-0"}),i.jsx(Yh,{className:"position-static translate-y-0"})]})]})]}),i.jsx(Oc,{opts:{align:"start",loop:!0},plugins:[fa({delay:5e3,stopOnInteraction:!0})],className:"w-full",children:i.jsx(Fc,{className:"-ml-4",children:t.map((r,s)=>i.jsx(ms,{className:"pl-4 md:basis-1/2 lg:basis-1/3",children:i.jsxs("div",{className:"bg-secondary/30 border border-border p-8 rounded-3xl hover:border-primary/30 transition-colors relative h-full",children:[i.jsx("div",{className:"absolute top-0 right-0 p-6",children:i.jsx("div",{className:"flex gap-1",children:[1,2,3,4,5].map(o=>i.jsx(Oo,{className:"w-4 h-4 fill-primary text-primary"},o))})}),i.jsxs("div",{className:"flex items-center gap-4 mb-6",children:[i.jsx("img",{src:r.image,alt:r.name,className:"w-16 h-16 rounded-full border-2 border-primary/20 object-cover"}),i.jsxs("div",{children:[i.jsx("h4",{className:"font-bold text-lg",children:r.name}),i.jsx("p",{className:"text-sm text-muted-foreground",children:r.role})]})]}),i.jsxs("p",{className:"text-muted-foreground leading-relaxed mb-6 italic",children:['"',r.text,'"']}),i.jsx("div",{className:"inline-block bg-green-500/10 border border-green-500/20 text-green-400 px-4 py-2 rounded-full text-sm font-bold",children:r.roi})]})},s))})})]})})};var Ru="Collapsible",[uF,Lj]=gn(Ru),[dF,Qh]=uF(Ru),Oj=h.forwardRef((e,t)=>
vendor: 4,247 bytes, line 394
394{const{__scopeCollapsible:n,open:r,defaultOpen:s,disabled:o,onOpenChange:a,...l}=e,[c,u]=Fn({prop:r,defaultProp:s??!1,onChange:a,caller:Ru});return i.jsx(dF,{scope:n,disabled:o,contentId:Vr(),open:c,onOpenToggle:h.useCallback(()=>u(d=>!d),[u]),children:i.jsx(ce.div,{"data-state":Zh(c),"data-disabled":o?"":void 0,...l,ref:t})})});Oj.displayName=Ru;var Fj="CollapsibleTrigger",_j=h.forwardRef((e,t)=>{const{__scopeCollapsible:n,...r}=e,s=Qh(Fj,n);return i.jsx(ce.button,{type:"button","aria-controls":s.contentId,"aria-expanded":s.open||!1,"data-state":Zh(s.open),"data-disabled":s.disabled?"":void 0,disabled:s.disabled,...r,ref:t,onClick:ae(e.onClick,s.onOpenToggle)})});_j.displayName=Fj;var Xh="CollapsibleContent",zj=h.forwardRef((e,t)=>{const{forceMount:n,...r}=e,s=Qh(Xh,e.__scopeCollapsible);return i.jsx(Zr,{present:n||s.open,children:({present:o})=>i.jsx(fF,{...r,ref:t,present:o})})});zj.displayName=Xh;var fF=h.forwardRef((e,t)=>{const{__scopeCollapsible:n,present:r,children:s,...o}=e,a=Qh(Xh,n),[l,c]=h.useState(r),u=h.useRef(null),d=Ce(t,u),f=h.useRef(0),m=f.current,p=h.useRef(0),w=p.current,v=a.open||l,x=h.useRef(v),g=h.useRef(void 0);return h.useEffect(()=>{const y=requestAnimationFrame(()=>x.current=!1);return()=>cancelAnimationFrame(y)},[]),Ln(()=>{const y=u.current;if(y){g.current=g.current||{transitionDuration:y.style.transitionDuration,animationName:y.style.animationName},y.style.transitionDuration="0s",y.style.animationName="none";const b=y.getBoundingClientRect();f.current=b.height,p.current=b.width,x.current||(y.style.transitionDuration=g.current.transitionDuration,y.style.animationName=g.current.animationName),c(r)}},[a.open,r]),i.jsx(ce.div,{"data-state":Zh(a.open),"data-disabled":a.disabled?"":void 0,id:a.contentId,hidden:!v,...o,ref:d,style:{"--radix-collapsible-content-height":m?`${m}px`:void 0,"--radix-collapsible-content-width":w?`${w}px`:void 0,...e.style},children:v&&s})});function Zh(e){return e?"open":"closed"}var mF=Oj,pF=_j,hF=zj,gF=h.createContext(void 0);function Iu(e){const t=h.useContext(gF);return e||t||"ltr"}var yn="Accordion",vF=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[Jh,yF,xF]=ru(yn),[Du]=gn(yn,[xF,Lj]),eg=Lj(),Vj=_.forwardRef((e,t)=>{const{type:n,...r}=e,s=r,o=r;return i.jsx(Jh.Provider,{scope:e.__scopeAccordion,children:n==="multiple"?i.jsx(jF,{...o,ref:t}):i.jsx(SF,{...s,ref:t})})});Vj.displayName=yn;var[Bj,bF]=Du(yn),[$j,wF]=Du(yn,{collapsible:!1}),SF=_.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:s=()=>{},collapsible:o=!1,...a}=e,[l,c]=Fn({prop:n,defaultProp:r??"",onChange:s,caller:yn});return i.jsx(Bj,{scope:e.__scopeAccordion,value:_.useMemo(()=>l?[l]:[],[l]),onItemOpen:c,onItemClose:_.useCallback(()=>o&&c(""),[o,c]),children:i.jsx($j,{scope:e.__scopeAccordion,collapsible:o,children:i.jsx(Wj,{...a,ref:t})})})}),jF=_.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:s=()=>{},...o}=e,[a,l]=Fn({prop:n,defaultProp:r??[],onChange:s,caller:yn}),c=_.useCallback(d=>l((f=[])=>[...f,d]),[l]),u=_.useCallback(d=>l((f=[])=>f.filter(m=>m!==d)),[l]);return i.jsx(Bj,{scope:e.__scopeAccordion,value:a,onItemOpen:c,onItemClose:u,children:i.jsx($j,{scope:e.__scopeAccordion,collapsible:!0,children:i.jsx(Wj,{...o,ref:t})})})}),[CF,Lu]=Du(yn),Wj=_.forwardRef((e,t)=>{const{__scopeAccordion:n,disabled:r,dir:s,orientation:o="vertical",...a}=e,l=_.useRef(null),c=Ce(l,t),u=yF(n),f=Iu(s)==="ltr",m=ae(e.onKeyDown,p=>{var E;if(!vF.includes(p.key))return;const w=p.target,v=u().filter(T=>{var P;return!((P=T.ref.current)!=null&&P.disabled)}),x=v.findIndex(T=>T.ref.current===w),g=v.length;if(x===-1)return;p.preventDefault();let y=x;const b=0,S=g-1,j=()=>{y=x+1,y>S&&(y=b)},C=()=>{y=x-1,y<b&&(y=S)};switch(p.key){case"Home":y=b;break;case"End":y=S;break;case"ArrowRight":o==="horizontal"&&(f?j():C());break;case"ArrowDown":o==="vertical"&&j();break;case"ArrowLeft":o==="horizontal"&&(f?C():j());break;case"ArrowUp":o==="vertical"&&C();break}const N=y%g;(E=v[N].ref.current)==null||E.focus()});return i.jsx(CF,{scope:n,disabled:r,direction:s,orientation:o,children:i.jsx(Jh.Slot,{scope:n,children:i.jsx(ce.div,{...a,"data-orientation":o,ref:c,onKeyDown:r?void 0:m})})})}),_c="AccordionItem",[NF,tg]=Du(_c),Uj=_.forwardRef((e,t)=>
394{const{__scopeAccordion:n,value:r,...s}=e,o=Lu(_c,n),a=bF(_c,n),l=eg(n),c=Vr(),u=r&&a.value.includes(r)||!1,d=o.disabled||e.disabled;return i.jsx(NF,{scope:n,open:u,disabled:d,triggerId:c,children:i.jsx(mF,{"data-orientation":o.orientation,"data-state":Qj(u),...l,...s,ref:t,disabled:d,open:u,onOpenChange:f=>{f?a.onItemOpen(r):a.onItemClose(r)}})})});Uj.displayName=_c;var qj="AccordionHeader",Hj=_.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,s=Lu(yn,n),o=tg(qj,n);return i.jsx(ce.h3,{"data-orientation":s.orientation,"data-state":Qj(o.open),"data-disabled":o.disabled?"":void 0,...r,ref:t})});Hj.displayName=qj;var _m="AccordionTrigger",Kj=_.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,s=Lu(yn,n),o=tg(_m,n),a=wF(_m,n),l=eg(n);return i.jsx(Jh.ItemSlot,{scope:n,children:i.jsx(pF,{"aria-disabled":o.open&&!a.collapsible||void 0,"data-orientation":s.orientation,id:o.triggerId,...l,...r,ref:t})})});Kj.displayName=_m;var Gj="AccordionContent",Yj=_.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,s=Lu(yn,n),o=tg(Gj,n),a=eg(n);return i.jsx(hF,{role:"region","aria-labelledby":o.triggerId,"data-orientation":s.orientation,...a,...r,ref:t,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});Yj.displayName=Gj;function Qj(e){return e?"open":"closed"}var kF=Vj,EF=Uj,AF=Hj,Xj=Kj,Zj=Yj;const TF=kF,Jj=h.forwardRef(({className:e,...t},n)=>i.jsx(EF,{ref:n,className:ue("border-b",e),...t}));Jj.displayName="AccordionItem";const eC=h.forwardRef(({className:e,children:t,...n},r)=>i.jsx(AF,{className:"flex",children:i.jsxs(Xj,{ref:r,className:ue("flex flex-1 items-center justify-between py-4 font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180",e),...n,children:[t,i.jsx(wA,{className:"h-4 w-4 shrink-0 transition-transform duration-200"})]})}));eC.displayName=Xj.displayName;const tC=h.forwardRef(({className:e,children:t,...n},r)=>i.jsx(Zj,{ref:r,className:"overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",...n,children:i.jsx("div",{className:ue("pb-4 pt-0",e),children:t})}));tC.displayName=Zj.displayName;const PF=[{question:"What is Kr8tor.Ai?",answer:"Kr8tor.Ai is an AI-powered business growth platform that helps businesses capture leads, automate follow-up, manage customers, book appointments, improve reviews, and convert more opportunities into sales."},{question:"What services does Kr8tor.Ai provide?",answer:"We provide AI-powered websites, CRM systems, AI voice agents, AI chat, SMS and email automation, appointment booking, lead nurturing, reputation management, sales pipelines, marketing automation, and digital marketing solutions."},{question:"Can Kr8tor.Ai build my website?",answer:"Yes. We design modern, mobile-friendly, conversion-focused websites and landing pages connected directly to your CRM and automation system."},{question:"What is an AI Voice Agent?",answer:"Our AI Voice Agent can answer calls, respond to common questions, qualify leads, collect customer information, route inquiries, and schedule appointments 24/7."},{question:"Can you automatically follow up with my leads?",answer:"Yes. Kr8tor.Ai can automatically follow up through SMS, email, calls, and other channels so leads don't get forgotten."},{question:"Does Kr8tor.Ai include a CRM?",answer:"Yes. Your CRM gives you one place to manage contacts, conversations, opportunities, pipelines, appointments, follow-ups, and customer activity."},{question:"Can Kr8tor.Ai respond to missed calls?",answer:"Yes. We can configure missed-call text-back automation that immediately sends a text when your business misses a call."},{question:"Can customers book appointments online?",answer:"Yes. We can create online calendars that allow customers to book appointments based on your team's availability."},{question:"Can you help us get more Google reviews?",answer:"Yes. Our reputation management system can automatically request reviews from customers and help your team manage and respond to reviews."},{question:"Can Kr8tor.Ai integrate with my existing business tools?",answer:"In many cases, yes. We can connect your system with third-party platforms and applications depending on the integrations and APIs available."},{question:"Do you offer marketing services?",answer:"Yes. Depending on your needs, Kr8tor.Ai can assist with Google Ads, Facebook and Instagram advertising, SEO, social media, lead generation, funnels, and automated follow-up."},{question:"Can the system work in multiple languages?",answer:"Yes. We can configure AI agents, websites, messaging, and customer experiences in multiple languages, including English, French, and Spanish."},{question:"Is Kr8tor.Ai only for large businesses?",answer:"No. Our systems can be customized for small businesses, growing companies, multi-location businesses, and larger organizations."},{question:"Will you customize the system for my business?",answer:"Yes. We build the workflows, automations, pipelines, AI agents, website experience, and follow-up processes around your specific business."},{question:"Will my team receive training?",answer:"Yes. We provide onboarding and training so your team understands how to use the system and manage leads effectively."},{question:"How long does setup take?",answer:"Setup time depends on the complexity of your project, integrations, website requirements, and automations. We'll provide a project timeline after reviewing your business."}
394,{question:"Can Kr8tor.Ai replace some of the software we're currently using?",answer:"Potentially. Because Kr8tor.Ai combines CRM, communication, automation, scheduling, reputation management, websites, funnels, and AI tools, businesses may be able to consolidate several separate platforms."},{question:"How do I get started?",answer:"Book a free AI Strategy Call. We'll review your current systems, identify opportunities for automation and growth, and recommend the right solution for your business."}],MF=[{question:"Qu'est-ce que Kr8tor.Ai ?",answer:"Kr8tor.Ai est une plateforme de croissance d'entreprise alimentée par l'IA qui aide les entreprises à capturer des leads, automatiser le suivi, gérer les clients, prendre des rendez-vous, améliorer les avis et convertir plus d'opportunités en ventes."},{question:"Quels services Kr8tor.Ai propose-t-il ?",answer:"Nous proposons des sites web alimentés par l'IA, des systèmes CRM, des agents vocaux IA, chat IA, automatisation SMS et e-mail, prise de rendez-vous, nurturing de leads, gestion de réputation, pipelines de vente, automatisation marketing et solutions de marketing digital."},{question:"Kr8tor.Ai peut-il créer mon site web ?",answer:"Oui. Nous concevons des sites web et pages de destination modernes, adaptés au mobile et axés sur la conversion, connectés directement à votre CRM et système d'automatisation."},{question:"Qu'est-ce qu'un Agent Vocal IA ?",answer:"Notre Agent Vocal IA peut répondre aux appels, répondre aux questions courantes, qualifier les leads, collecter les informations client, acheminer les demandes et planifier des rendez-vous 24h/24 et 7j/7."},{question:"Pouvez-vous suivre automatiquement mes leads ?",answer:"Oui. Kr8tor.Ai peut suivre automatiquement par SMS, e-mail, appels et autres canaux afin qu'aucun lead ne soit oublié."},{question:"Kr8tor.Ai inclut-il un CRM ?",answer:"Oui. Votre CRM vous offre un seul endroit pour gérer contacts, conversations, opportunités, pipelines, rendez-vous, suivis et activité client."},{question:"Kr8tor.Ai peut-il répondre aux appels manqués ?",answer:"Oui. Nous pouvons configurer une automatisation de rappel par SMS qui envoie immédiatement un texte lorsque votre entreprise manque un appel."},{question:"Les clients peuvent-ils prendre des rendez-vous en ligne ?",answer:"Oui. Nous pouvons créer des calendriers en ligne permettant aux clients de prendre des rendez-vous selon la disponibilité de votre équipe."},{question:"Pouvez-vous nous aider à obtenir plus d'avis Google ?",answer:"Oui. Notre système de gestion de réputation peut demander automatiquement des avis aux clients et aider votre équipe à gérer et répondre aux avis."},{question:"Kr8tor.Ai peut-il s'intégrer à mes outils existants ?",answer:"Dans de nombreux cas, oui. Nous pouvons connecter votre système à des plateformes tierces selon les intégrations et API disponibles."},{question:"Proposez-vous des services marketing ?",answer:"Oui. Selon vos besoins, Kr8tor.Ai peut vous aider avec Google Ads, publicité Facebook et Instagram, SEO, réseaux sociaux, génération de leads, entonnoirs et suivi automatisé."},{question:"Le système peut-il fonctionner en plusieurs langues ?",answer:"Oui. Nous pouvons configurer les agents IA, sites web, messagerie et expériences client en plusieurs langues, dont l'anglais, le français et l'espagnol."},{question:"Kr8tor.Ai est-il réservé aux grandes entreprises ?",answer:"Non. Nos systèmes peuvent être personnalisés pour les petites entreprises, les entreprises en croissance, les multi-sites et les grandes organisations."},{question:"Personnaliserez-vous le système pour mon entreprise ?",answer:"Oui. Nous construisons les workflows, automatisations, pipelines, agents IA, expérience web et processus de suivi autour de votre entreprise spécifique."},{question:"Mon équipe recevra-t-elle une formation ?",answer:"Oui. Nous assurons l'intégration et la formation pour que votre équipe sache utiliser le système et gérer les leads efficacement."},{question:"Combien de temps prend la configuration ?",answer:"Le délai dépend de la complexité de votre projet, des intégrations, des besoins web et des automatisations. Nous fournirons un calendrier après examen de votre entreprise."},{question:"Kr8tor.Ai peut-il remplacer certains logiciels que j'utilise ?",answer:"Potentiellement. Comme Kr8tor.Ai comb
394ine CRM, communication, automatisation, planification, gestion de réputation, sites web, entonnoirs et outils IA, les entreprises peuvent regrouper plusieurs plateformes distinctes."},{question:"Comment puis-je commencer ?",answer:"Réservez un appel stratégique IA gratuit. Nous examinerons vos systèmes actuels, identifierons les opportunités d'automatisation et de croissance, et recommanderons la bonne solution pour votre entreprise."}],RF=()=>{const{language:e}=fe(),t=e==="fr"?MF:PF;return i.jsx("section",{className:"py-24 bg-secondary/30 border-y border-border",children:i.jsxs("div",{className:"container mx-auto px-4 max-w-3xl",children:[i.jsxs("div",{className:"text-center mb-16",children:[i.jsx("h2",{className:"text-4xl font-bold mb-6",children:e==="fr"?"Questions Fréquemment Posées":"Frequently Asked Questions"}),i.jsx("p",{className:"text-xl text-muted-foreground",children:e==="fr"?"Tout ce que vous devez savoir sur la plateforme Kr8tor.Ai.":"Everything you need to know about the Kr8tor.Ai platform."})]}),i.jsx(TF,{type:"single",collapsible:!0,className:"w-full space-y-4",children:t.map((n,r)=>i.jsxs(Jj,{value:`item-${r}`,className:"bg-background border border-border rounded-xl px-6 data-[state=open]:border-primary/50 transition-colors",children:[i.jsx(eC,{className:"text-left text-lg font-medium hover:no-underline py-6",children:n.question}),i.jsx(tC,{className:"text-muted-foreground text-base leading-relaxed pb-6",children:n.answer})]},r))})]})})},IF=()=>{const e=sessionStorage.getItem("countdownTarget");if(e){const n=new Date(e);if(n.getTime()>new Date().getTime())return n}const t=new Date;return t.setHours(t.getHours()+23),t.setMinutes(0),t.setSeconds(0),sessionStorage.setItem("countdownTarget",t.toISOString()),t},DF=({language:e})=>{const[t,n]=h.useState({hours:0,minutes:0,seconds:0}),[r]=h.useState(()=>{const o=sessionStorage.getItem("spotsLeft");if(o)return parseInt(o);const a=Math.floor(Math.random()*3)+2;return sessionStorage.setItem("spotsLeft",a.toString()),a});h.useEffect(()=>{const o=IF(),a=()=>{const c=new Date,u=o.getTime()-c.getTime();if(u<=0){n({hours:0,minutes:0,seconds:0});return}const d=Math.floor(u/1e3/60/60),f=Math.floor(u/1e3/60%60),m=Math.floor(u/1e3%60);n({hours:d,minutes:f,seconds:m})};a();const l=setInterval(a,1e3);return()=>clearInterval(l)},[]);const s=o=>String(o).padStart(2,"0");return i.jsxs("div",{className:"flex flex-col items-center gap-3 mb-8",children:[i.jsxs("div",{className:"flex items-center gap-2 bg-red-500/10 border border-red-500/30 rounded-full px-4 py-2",children:[i.jsxs("span",{className:"relative flex h-2.5 w-2.5",children:[i.jsx("span",{className:"animate-ping absolute inline-flex h-full w-full rounded-full bg-red-400 opacity-75"}),i.jsx("span",{className:"relative inline-flex rounded-full h-2.5 w-2.5 bg-red-500"})]}),i.jsx("span",{className:"text-red-400 text-sm font-semibold tracking-wide uppercase",children:e==="fr"?`Seulement ${r} places disponibles cette semaine`:`Only ${r} spots left this week`})]}),i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsx(Ss,{className:"w-4 h-4 text-muted-foreground"}),i.jsx("span",{className:"text-muted-foreground text-sm mr-1",children:e==="fr"?"L'offre expire dans :":"Offer expires in:"}),i.jsx("div",{className:"flex items-center gap-1",children:[{value:s(t.hours),label:"h"},{value:s(t.minutes),label:"m"},{value:s(t.seconds),label:"s"}].map((o,a)=>i.jsxs("span",{className:"flex items-center gap-0.5",children:[i.jsx("span",{className:"inline-flex items-center justify-center bg-primary/10 border border-primary/30 rounded-md px-2 py-1 text-primary font-mono font-bold text-base min-w-[2.5rem]",children:o.value}),i.jsx("span",{className:"text-muted-foreground text-xs font-medium",children:o.label}),a<2&&i.jsx("span",{className:"text-primary font-bold mx-0.5",children:":"})]},a))})]})]})},LF=()=>{const{language:e}=fe();return i.jsxs("section",{className:"py-32 bg-background relative overflow-hidden",children:[i.jsx("div",{className:"absolute inset-0 bg-[radial-gradient(ellipse_at_center,_var(--tw-gradient-stops))] from-primary/20 via-background to-background pointer-events-none"}),i.jsx("div",{className:"container mx-auto px-4 relative z-10",children:i.jsxs("div",{className:"max-w-4xl mx-auto text-center bg-secondary/50 border border-border rounded-[3rem] p-12 md:p-20 backdrop-blur-sm shadow-2xl",children:[i.jsxs("h2",{className:"text-4xl md:text-6xl font-bold mb-8 leading-tight",children:[e==="fr"?"Vos concurrents utilisent déjà l'IA.":"Your Competitors Are Already Using AI.",i.jsx("br",{}),i.jsx("span",{className:"text-transparent bg-clip-text bg-gradient-to-r from-red-400 to-purple-400",children:e==="fr"?"Ne restez pas à la traîne.":"Don't Get Left Behind."})]}),i.jsx("p",{className:"text-xl text-muted-foreground mb-8 max-w-2xl mx-auto",children:e==="fr"?"Réservez votre appel stratég
394ique gratuit aujourd'hui et découvrez comment l'IA peut aider à automatiser votre flux de travail, capturer plus de leads et développer votre entreprise.":"Book your free strategy call today and discover how AI can help automate your workflow, capture more leads, and grow your business."}),i.jsx(DF,{language:e}),i.jsxs("div",{className:"flex flex-col sm:flex-row items-center justify-center gap-4",children:[i.jsx("a",{href:"/bookacall",className:"w-full sm:w-auto",children:i.jsxs(he,{size:"lg",className:"w-full text-lg h-16 px-10 bg-primary text-primary-foreground hover:bg-primary/90 shadow-[0_0_40px_-10px_rgba(59,130,246,0.5)]",children:[e==="fr"?"Réserver mon appel gratuit":"Book My Free Call",i.jsx(Nt,{className:"ml-2 w-6 h-6"})]})}),i.jsx("a",{href:"/#pricing",className:"w-full sm:w-auto",children:i.jsx(he,{size:"lg",variant:"outline",className:"w-full text-lg h-16 px-10 border-border hover:bg-secondary",children:e==="fr"?"Commencer aujourd'hui":"Get Started Today"})})]})]})})]})},OF=()=>{const{language:e}=fe(),[t,n]=h.useState(10),[r,s]=h.useState(500),[o,a]=h.useState(20),l=t*4*(o/100)*r,c={badge:e==="fr"?"Calculateur de ROI":"ROI Calculator",title1:e==="fr"?"Combien d'argent les ":"How Much Money Are ",titleHighlight:e==="fr"?"appels manqués":"Missed Calls",title2:e==="fr"?" vous coûtent-ils ?":" Costing You?",desc:e==="fr"?"Chaque appel manqué pourrait être un client perdu. Calculez votre perte de revenus mensuelle en quelques secondes.":"Every missed call could be a lost customer. Calculate your monthly revenue loss in seconds.",avgMissed:e==="fr"?"Moyenne d'appels manqués par semaine":"Average missed calls per week",avgValue:e==="fr"?"Valeur moyenne d'un nouveau client":"Average value of one new customer",estClose:e==="fr"?"Taux de conversion estimé":"Estimated close rate",estLost:e==="fr"?"Perte de revenus mensuelle estimée":"Estimated Monthly Lost Revenue",stopLosing:e==="fr"?"Arrêtez de perdre des prospects":"Stop Losing Leads Today",footer:e==="fr"?"Rappel par SMS automatisé par l'IA, réservation automatique et suivi des prospects.":"AI-powered missed call text-back, booking automation, and lead follow-up.",newLeadCap:e==="fr"?"Nouveau prospect capturé":"New Lead Captured",value:e==="fr"?"Valeur : ":"Value: ",newLead:e==="fr"?"Nouveau prospect":"New Lead",automation:e==="fr"?"Automatisation des appels manqués":"Missed Call Automation",today:e==="fr"?"Aujourd'hui 14h14":"Today 2:14 PM",missedFrom:e==="fr"?"Appel manqué de Nouveau prospect":"Missed call from New Lead",bot1:e==="fr"?"Bonjour, nous avons manqué votre appel. Comment puis-je vous aider ?":"Hey, we missed your call. How can I help you?",user1:e==="fr"?"Je souhaite prendre rendez-vous.":"I want to book an appointment.",bot2:e==="fr"?"Absolument ! Vous pouvez réserver un créneau ici :":"Absolutely! You can book a time here:"};return i.jsxs("section",{className:"py-24 bg-background relative overflow-hidden",children:[i.jsx("div",{className:"absolute top-[-10%] left-[-10%] w-[40%] h-[40%] rounded-full bg-primary/20 blur-[120px] pointer-events-none"}),i.jsx("div",{className:"absolute bottom-[-10%] right-[-10%] w-[40%] h-[40%] rounded-full bg-primary/10 blur-[120px] pointer-events-none"}),i.jsx("div",{className:"container mx-auto px-4 max-w-7xl relative z-10",children:i.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-12 lg:gap-24 items-center",children:[i.jsxs("div",{className:"flex flex-col space-y-8",children:[i.jsxs("div",{className:"space-y-4",children:[i.jsxs("div",{className:"inline-flex items-center space-x-2 bg-primary/10 text-primary px-3 py-1 rounded-full text-sm font-medium border border-primary/20 w-fit",children:[i.jsx(PA,{className:"w-4 h-4"}),i.jsx("span",{children:c.badge})]}),i.jsxs("h2",{className:"text-4xl lg:text-5xl font-extrabold tracking-tight text-foreground leading-tight",children:[c.title1,i.jsx("span",{className:"text-transparent bg-clip-text bg-gradient-to-r from-primary to-cyan-500",children:c.titleHighlight}),c.title2]}),i.jsx("p",{className:"text-lg text-muted-foreground max-w-lg",children:c.desc})]}),i.jsxs("div",{className:"bg-card border border-border rounded-3xl p-6 lg:p-8 shadow-xl space-y-6",children:[i.jsxs("div",{className:"space-y-3",children:[i.jsxs("div",{className:"flex justify-between",children:[i.jsx("label",{className:"text-sm font-medium text-muted-foreground",children:c.avgMissed}),i.jsx("span",{className:"text-sm font-bold text-primary",children:t})]}),i.jsx("input",{type:"range",min:"1",max:"100",className:"w-full h-2 bg-secondary rounded-lg appearance-none cursor-pointer accent-primary",value:t,onChange:u=>n(Number(u.target.value))})]}),i.jsxs("div",{className:"space-y-3",children:[i.jsxs("div",{className:"flex justify-between",children:[i.jsx("label",{className:"text-sm font-medium text-muted-foreground",children:c.avgValue}),i.jsxs("span",{className:"text-sm font-bold text-primary",children:["$",r]})]}),i.jsx("input",{type:"range",min:"50",max:"5000",step:"50",className:"w-full h-2 bg-secondary rounded-lg appearance-none cursor-pointer accent-primary",value:r,onChange:u=>s(Number(u.target.value))})]}),i.jsxs("div",{className:"space-y-3",children:[i.jsxs("div",{className:"flex justify-between",children:[i.jsx("label",{className:"text-sm font-medium text-muted-foreground",children:c.estClose}),i.jsxs("span",{className:"text-sm font-bold text-primary",children:[o,"%"]})]}),i.jsx("input",{type:"range",min:"1",max:"100",className:"w-full h-2 bg-secondary rounded-lg appearance-none cursor-pointer accent-primary",value:o,onChange:u=>a(Number(u.target.value))})]}),i.jsxs("div",{className:"pt-6 border-t border-border",children:[i.jsx("p",{className:"text-sm text-muted-foreground mb-2",children:c.estLost}),i.jsxs("div",{className:"text-4xl lg:text-5xl font-black text-foreground tracking-tight",children:["$",l.toLocaleStr
394ing()]})]}),i.jsx(he,{asChild:!0,size:"lg",className:"w-full group relative inline-flex items-center justify-center px-8 py-6 font-bold text-primary-foreground bg-primary rounded-xl overflow-hidden transition-all hover:scale-[1.02] hover:shadow-[0_0_40px_8px_rgba(56,189,248,0.3)]",children:i.jsx("a",{href:"https://kr8tor.ai/bookacall",children:i.jsxs("span",{className:"relative z-10 flex items-center gap-2 text-lg",children:[c.stopLosing,i.jsx(Nt,{className:"w-5 h-5 group-hover:translate-x-1 transition-transform"})]})})}),i.jsxs("div",{className:"flex items-start gap-2 text-xs text-muted-foreground justify-center pt-2",children:[i.jsx(Ww,{className:"w-4 h-4 text-primary shrink-0"}),i.jsx("p",{children:c.footer})]})]})]}),i.jsxs("div",{className:"relative flex justify-center lg:justify-end items-center mt-12 lg:mt-0",children:[i.jsx("div",{className:"absolute inset-0 bg-gradient-to-tr from-primary/20 to-transparent rounded-full blur-3xl opacity-50"}),i.jsxs("div",{className:"absolute z-30 -left-4 lg:-left-16 top-1/4 bg-card/95 backdrop-blur-sm border border-border p-3 lg:p-4 rounded-2xl shadow-xl flex items-center gap-3 lg:gap-4 animate-float hidden sm:flex",children:[i.jsx("div",{className:"w-10 h-10 rounded-full bg-green-500/20 flex items-center justify-center shrink-0",children:i.jsx(RA,{className:"w-5 h-5 text-green-500"})}),i.jsxs("div",{children:[i.jsx("p",{className:"text-sm font-bold text-foreground whitespace-nowrap",children:c.newLeadCap}),i.jsxs("p",{className:"text-xs text-muted-foreground whitespace-nowrap",children:[c.value,"$",r]})]})]}),i.jsxs("div",{className:"relative w-[300px] sm:w-[320px] h-[600px] sm:h-[650px] bg-black rounded-[3rem] border-[8px] border-gray-900 shadow-2xl shadow-primary/20 overflow-hidden flex flex-col",children:[i.jsx("div",{className:"absolute top-0 inset-x-0 h-7 w-36 mx-auto bg-gray-900 rounded-b-3xl z-20"}),i.jsxs("div",{className:"bg-gray-900/80 backdrop-blur-md pt-12 pb-4 px-6 border-b border-gray-800 flex flex-col items-center z-10",children:[i.jsx("div",{className:"w-12 h-12 rounded-full bg-primary/20 flex items-center justify-center mb-2",children:i.jsx(Yf,{className:"w-6 h-6 text-primary"})}),i.jsx("h3",{className:"text-white font-semibold text-sm",children:c.newLead}),i.jsx("p",{className:"text-xs text-gray-400",children:c.automation})]}),i.jsxs("div",{className:"flex-1 bg-[#0a0a0a] p-4 sm:p-5 flex flex-col gap-4 overflow-y-auto relative z-0 pb-8",children:[i.jsx("div",{className:"self-center bg-gray-800/60 text-gray-300 text-[10px] px-3 py-1 rounded-full uppercase tracking-wider font-medium mt-2 opacity-0 animate-message-fade-in",style:{animationDelay:"200ms"},children:c.today}),i.jsxs("div",{className:"flex items-center gap-2 self-center bg-red-500/10 border border-red-500/20 text-red-400 text-xs px-4 py-2 rounded-xl w-full justify-center mt-2 opacity-0 animate-message-fade-in",style:{animationDelay:"600ms"},children:[i.jsx(Yf,{className:"w-4 h-4"}),i.jsx("span",{children:c.missedFrom})]}),i.jsx("div",{className:"bg-primary text-primary-foreground p-3 rounded-2xl rounded-tr-sm max-w-[85%] self-end shadow-md mt-4 text-sm opacity-0 animate-message-fade-in",style:{animationDelay:"1400ms"},children:c.bot1}),i.jsx("div",{className:"bg-gray-800 text-gray-100 p-3 rounded-2xl rounded-tl-sm max-w-[85%] self-start shadow-md mt-2 text-sm opacity-0 animate-message-fade-in",style:{animationDelay:"2600ms"},children:c.user1}),i.jsxs("div",{className:"bg-primary text-primary-foreground p-3 rounded-2xl rounded-tr-sm max-w-[85%] self-end shadow-md mt-2 text-sm opacity-0 animate-message-fade-in",style:{animationDelay:"4000ms"},children:[c.bot2," ",i.jsx("br",{}),i.jsx("a",{href:"https://kr8tor.ai/bookacall",className:"underline font-medium hover:text-white",children:"kr8tor.ai/bookacall"})]}),i.jsxs("div",{className:"bg-primary text-primary-foreground p-3 rounded-2xl rounded-tr-sm self-end shadow-md mt-2 w-16 h-10 flex items-center justify-center gap-1 opacity-0 animate-message-fade-in",style:{animationDelay:"5500ms"},children:[i.jsx("div",{className:"w-1.5 h-1.5 bg-white rounded-full animate-typing-dot",style:{animationDelay:"0ms"}}),i.jsx("div",{className:"w-1.5 h-1.5 bg-white rounded-full animate-typing-dot",style:{animationDelay:"150ms"}}),i.jsx("div",{className:"w-1.5 h-1.5 bg-white rounded-full animate-typing-dot",style:{animationDelay:"300ms"}})]})]}),i.jsx("div",{className:"absolute bottom-2 inset-x-0 mx-auto w-1/3 h-1 bg-gray-600 rounded-full"})]})]})]})})]})},FF=()=>{const{language:e}=fe();return i.jsx("section",{className:"py-24 bg-muted/30",children:i.jsxs("div",{className:"container px-4 mx-auto max-w-5xl",children:[i.jsxs("div",{className:"text-center max-w-3xl mx-auto mb-16",children:[i.jsx("div",{className:"inline-flex items-center justify-center p-3 mb-6 rounded-2xl bg-primary/10 text-primary",children:i.jsx(NA,{className:"w-8 h-8"})}),i.jsx("h2",{className:"text-3xl md:text-5xl font-bold mb-6 tracking-tight text-balance mx-auto",children:e==="fr"?"Notre Assistant Vocal IA en action":"Our AI Voice Assistant in action"}),i.jsx("p",{className:"text-lg text-muted-foreground",children:e==="fr"?"Découvrez comment notre IA gère les appels entrants, qualifie les prospects et prend des rendez-vous pour vous 24h/24 et 7j/7.":"See how our AI handles inbound calls, qualifies leads, and books appointments for you 24/7."})]}),i.jsx("div",{className:"max-w-[400px] mx-auto rounded-[2.5rem] overflow-hidden shadow-2xl border-8 border-background bg-background",children:i.jsx("img",{src:"https://vibe.filesafe.space/1779029949023741031/attachments/9463c8fe-63f1-4081-a8bc-c0e99ce50414.png",alt:"AI Voice Assistant Demo",className:"w-full h-auto object-cover"})})]})})},Hd=({end:e,end2:t,separator:n,suffix:r,labelEn:s,labelFr:o})=>{const{language:a}=fe(),[l,c]=h.useState(0),[u,d]=h.useState(0),f=h.useRef(null);return h.useEffect(()=>{const m=new IntersectionObserver(p=>{if(p[0].isIntersecting){let w=0,v=0;const x=2e3,g=e/(x/16),y=t?t/(x/16):0,b=setInterval(()=>{w+=g,t&&(v+=y),w>=e?(c(e),t&&d(t),clearInterval(b)):(c(Math.floor(w)),t&&d(Math.floor(v)))},16);m.disconnect()}},{threshold:.1});return f.current&&m.observe(f.current),()=>m.disconnect()},[e,t]),i.jsxs("div",{ref:f,className:"flex flex-col items-center justify-center p-6 text-center",children:[i.jsxs("div",{className:"text-4xl md:text-5xl font-extrabold text-primary mb-2 flex items-center justify-center",children:[l,t!==void 0&&n,t!==void 0&&u,r]}),i.jsx("div",{className:"text-sm md:text-base font-medium text-muted-foreground uppercase tracking-wider",children:a==="fr"?o:s})]})},_F=()=>i.jsx("section",{className:"py-12 bg-card border-y border-border",children:i.jsx("div",{className:"container mx-auto px-4",children:i.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-8 divide-y md:divide-y-0 md:divide-x divide-border",children:[i.jsx(Hd,{end:140,suffix:"",labelEn:"Active Clients",labelFr:"Clients Actifs"}),i.jsx(Hd,{end:24,end2:7,separator:"/",suffix:"",labelEn:"System Uptime",labelFr:"Disponibilité du Système"}),i.jsx(Hd,{end:10,suffix:"x",labelEn:"Average ROI",labelFr:"ROI Moyen"})]})})}),fi=[{src:"https://vibe.filesafe.space/1779029949023741031/attachments/4d3f0a3d-b450-4d18-87aa-92d943d06850.jpg",alt:"Luxury Car Rental App",label:"Luxury Car Rental"},{src:"https://vibe.filesafe.space/1779029949023741031/attachments/ec8c72be-07
394dc-4ef4-b4ec-29017dd32d69.jpg",alt:"Elite Personal Training App",label:"Fitness & Training"},{src:"https://vibe.filesafe.space/1779029949023741031/attachments/8bd78825-567e-4294-af5b-aea515ebbead.png",alt:"Sports League App",label:"Sports & Leagues"},{src:"https://vibe.filesafe.space/1779029949023741031/attachments/ba188c7c-7416-415c-b935-7bbfe6f3ae9e.png",alt:"Healthy Cafe App",label:"Restaurants & Cafes"},{src:"https://vibe.filesafe.space/1779029949023741031/attachments/dbadd10c-bc81-40de-9c2e-33c7c4a99413.png",alt:"Bakery Rewards App",label:"Loyalty & Rewards"},{src:"https://vibe.filesafe.space/1779029949023741031/attachments/5ca872f5-c1db-4f5e-9ae8-33a911eb5589.png",alt:"Faith & Community App",label:"Faith & Community"},{src:"https://vibe.filesafe.space/1779029949023741031/attachments/1c5fafc2-8209-4730-8393-9eaea34e453e.jpg",alt:"Wealth & Trust App",label:"Wealth & Trust"}],zF=["Online Booking & Scheduling","Customer Portal & Client Dashboard","AI Chat Assistant & 24/7 Support","Push Notifications","Membership Areas","Secure Payments & Invoicing","Loyalty & Rewards Programs","Lead Capture Forms","CRM Integration","Video Libraries & Online Courses","Document Upload & e-Signatures","Review & Referral Systems","Team Communication Tools","GPS Tracking & Service Requests","AI Automations That Save Time"],VF=["Réservation & Planification en ligne","Portail client & Tableau de bord","Assistant IA & Support 24/7","Notifications Push","Espaces membres","Paiements sécurisés & Facturation","Programmes de fidélité & récompenses","Formulaires de capture de leads","Intégration CRM","Bibliothèques vidéo & cours en ligne","Téléversement de documents & e-Signatures","Systèmes d'avis & de parrainage","Outils de communication d'équipe","Suivi GPS & demandes de service","Automatisations IA qui font gagner du temps"],nC=()=>{const{language:e}=fe(),[t,n]=h.useState(0),r=h.useRef(null),s=h.useRef(null),o=yL(s,{once:!0,margin:"-80px"}),a=e==="fr"?VF:zF;h.useEffect(()=>(r.current=setInterval(()=>{n(c=>(c+1)%fi.length)},2800),()=>{r.current&&clearInterval(r.current)}),[]);const l=c=>{n(c),r.current&&clearInterval(r.current),r.current=setInterval(()=>{n(u=>(u+1)%fi.length)},2800)};return i.jsx("section",{ref:s,className:"py-20 md:py-28 bg-background overflow-hidden",children:i.jsxs("div",{className:"container mx-auto px-4 max-w-6xl",children:[i.jsxs(ve.div,{initial:{opacity:0,y:30},animate:o?{opacity:1,y:0}:{},transition:{duration:.6},className:"text-center mb-14",children:[i.jsxs("div",{className:"inline-flex items-center gap-2 bg-primary/10 border border-primary/20 rounded-full px-4 py-2 mb-5",children:[i.jsx(mc,{className:"w-4 h-4 text-primary"}),i.jsx("span",{className:"text-sm font-semibold text-primary uppercase tracking-wider",children:e==="fr"?"Applications Mobiles":"Custom Mobile Apps"})]}),i.jsx("h2",{className:"text-3xl md:text-5xl font-extrabold text-foreground mb-4 leading-tight",children:e==="fr"?i.jsxs(i.Fragment,{children:["ð± Applications Mobiles Personnalisées",i.jsx("br",{}),i.jsx("span",{className:"bg-clip-text text-transparent bg-gradient-to-r from-primary to-cyan-500",children:"Pour Votre Entreprise"})]}):i.jsxs(i.Fragment,{children:["ð± Custom Mobile Apps",i.jsx("br",{}),i.jsx("span",{className:"bg-clip-text text-transparent bg-gradient-to-r from-primary to-cyan-500",children:"Built for Your Business"})]})}),i.jsx("p",{className:"text-muted-foreground text-lg max-w-2xl mx-auto",children:e==="fr"?"Imaginez donner à vos clients un accès instantané à votre entreprise depuis leur téléphone. Nous construisons des applications mobiles personnalisées pour aider les entreprises à attirer plus de clients, augmenter les ventes et automatiser les opérations.":"Imagine giving your customers instant access to your business right from their phone. We build custom mobile apps designed to help businesses attract more customers, increase sales, automate operations, and create a better client experience."})]}),i.jsxs("div",{className:"flex flex-col lg:flex-row items-center gap-12 lg:gap-16",children:[i.jsxs(ve.div,{initial:{opacity:0,x:-40},animate:o?{opacity:1,x:0}:{},transition:{duration:.7,delay:.2},className:"flex-shrink-0 flex flex-col items-center",children:[i.jsxs("div",{className:"relative w-[260px] md:w-[300px]",children:[i.jsx("div",{className:"absolute inset-0 rounded-[40px] blur-2xl bg-primary/20 scale-95 -z-10"}),i.jsxs("div",{className:"relative rounded-[40px] border-[6px] border-foreground
394/10 bg-foreground/5 shadow-2xl overflow-hidden",style:{aspectRatio:"9/19"},children:[i.jsx("div",{className:"absolute top-0 left-0 right-0 h-8 bg-black/60 z-10 flex items-center justify-center",children:i.jsx("div",{className:"w-20 h-4 bg-black rounded-full"})}),i.jsx("div",{className:"w-full h-full relative",children:fi.map((c,u)=>i.jsx("img",{src:c.src,alt:c.alt,className:"absolute inset-0 w-full h-full object-cover transition-opacity duration-700",style:{opacity:u===t?1:0}},u))}),i.jsx("div",{className:"absolute bottom-2 left-1/2 -translate-x-1/2 w-20 h-1.5 bg-foreground/30 rounded-full z-10"})]}),i.jsx("div",{className:"mt-4 text-center",children:i.jsx("span",{className:"inline-block bg-primary/10 border border-primary/20 text-primary text-sm font-semibold px-4 py-1.5 rounded-full transition-all duration-500",children:fi[t].label})})]}),i.jsx("div",{className:"flex gap-2 mt-5",children:fi.map((c,u)=>i.jsx("button",{onClick:()=>l(u),className:`rounded-full transition-all duration-300 ${u===t?"w-6 h-2.5 bg-primary":"w-2.5 h-2.5 bg-muted-foreground/30 hover:bg-muted-foreground/60"}`,"aria-label":`App ${u+1}`},u))})]}),i.jsxs(ve.div,{initial:{opacity:0,x:40},animate:o?{opacity:1,x:0}:{},transition:{duration:.7,delay:.3},className:"flex-1 w-full",children:[i.jsx("h3",{className:"text-xl md:text-2xl font-bold text-foreground mb-6",children:e==="fr"?"Nos applications peuvent inclure :":"Our apps can include:"}),i.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-3",children:a.map((c,u)=>i.jsxs(ve.div,{initial:{opacity:0,y:10},animate:o?{opacity:1,y:0}:{},transition:{duration:.4,delay:.4+u*.04},className:"flex items-start gap-2.5 group",children:[i.jsx("span",{className:"mt-0.5 flex-shrink-0 w-5 h-5 rounded-full bg-primary/10 border border-primary/30 flex items-center justify-center",children:i.jsx("svg",{className:"w-3 h-3 text-primary",fill:"none",viewBox:"0 0 12 12",children:i.jsx("path",{d:"M2 6l3 3 5-5",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"})})}),i.jsx("span",{className:"text-sm md:text-base text-foreground/80 group-hover:text-foreground transition-colors",children:c})]},u))}),i.jsx(ve.p,{initial:{opacity:0}
394,animate:o?{opacity:1}:{},transition:{duration:.6,delay:1.1},className:"mt-6 text-sm text-muted-foreground italic",children:e==="fr"?"Idéal pour : agents immobiliers, entrepreneurs, cabinets d'avocats, coachs fitness, agences d'assurance, restaurants, églises, marques de bien-être et entreprises de services.":"Perfect for: real estate agents, contractors, law firms, fitness coaches, insurance agencies, restaurants, churches, wellness brands, and service businesses."}),i.jsxs(ve.div,{initial:{opacity:0,y:20},animate:o?{opacity:1,y:0}:{},transition:{duration:.6,delay:1.2},className:"mt-8",children:[i.jsx("a",{href:"/bookacall",children:i.jsxs(he,{size:"lg",className:"bg-primary text-primary-foreground hover:opacity-90 rounded-full px-8 text-base font-semibold shadow-lg",children:[i.jsx(dc,{className:"w-5 h-5 mr-2"}),e==="fr"?"Construire Mon Application":"Build My App"]})}),i.jsx("p",{className:"mt-3 text-xs text-muted-foreground",children:e==="fr"?"ð Propulsé par Kr8tor.ai â Aidons votre entreprise à Capturer, Nourrir & Conclure plus de clients.":"ð Powered by Kr8tor.ai â Helping businesses Capture, Nurture & Close more customers through AI, automation, and mobile technology."})]})]})]})]})})},BF=()=>{const{language:e}=fe(),t=e==="fr",n=[{icon:i.jsx(mc,{className:"w-5 h-5 text-primary"}),text:t?"Demandez automatiquement des avis par SMS et e-mail après chaque travail ou rendez-vous":"Automatically request reviews via SMS and email after every job or appointment"},{icon:i.jsx(Oo,{className:"w-5 h-5 text-primary"}),text:t?"Générez plus d'avis Google 5 étoiles de clients satisfaits":"Generate more 5-star Google reviews from satisfied customers"},{icon:i.jsx(au,{className:"w-5 h-5 text-primary"}),text:t?"Surveillez les avis sur Google, Facebook, Yelp et d'autres plateformes":"Monitor reviews across Google, Facebook, Yelp, and other platforms"},{icon:i.jsx(xA,{className:"w-5 h-5 text-primary"}),text:t?"Répondez instantanément aux avis à l'aide de réponses personnalisées générées par l'IA":"Instantly respond to reviews using AI-generated personalized replies"},{icon:i.jsx(Ur,{className:"w-5 h-5 text-primary"}),text:t?"Améliorez le classement SEO local et la visibilité en ligne":"Improve local SEO rankings and online visibility"},{icon:i.jsx(Ww,{className:"w-5 h-5 text-primary"}),text:t?"Renforcez la confiance et la crédibilité auprès des futurs clients":"Build trust and credibility with future customers"}],r=[{step:1,title:t?"Service Terminé":"Service Completed",text:t?"Un client termine un service ou un achat.":"A customer completes a service or purchase."},{step:2,title:t?"Demande Automatique":"Automated Request",text:t?"Le système envoie automatiquement une demande d'avis par SMS et e-mail.":"The system automatically sends a review request by text message and email."},{step:3,title:t?"Avis Publié":"Review Posted",text:t?"Les clients satisfaits laissent des avis sur Google, Facebook ou d'autres plateformes.":"Satisfied customers leave reviews on Google, Facebook, or other review platforms."},{step:4,title:t?"Réponse IA":"AI Response",text:t?"L'IA génère automatiquement des réponses professionnelles pour garder votre réputation active.":"AI automatically generates professional responses to keep your reputation active and engaging."}],s=[t?"Plus d'avis 5 étoiles":"More 5-Star Reviews",t?"Meilleurs classements Google":"Better Google Rankings",t?"Confiance accrue des clients":"Increased Customer Trust",t?"Taux de conversion plus élevés":"Higher Conversion Rates",t?"Plus d'appels, de leads et de ventes":"More Calls, Leads, and Sales"];return i.jsxs("section",{className:"py-24 bg-background relative overflow-hidden",children:[i.jsx("div",{className:"absolute top-0 left-0 w-full h-full bg-[radial-gradient(ellipse_at_top_right,_var(--tw-gradient-stops))] from-primary/5 via-background to-background"}),i.jsxs("div",{className:"container mx-auto px-4 relative z-10",children:[i.jsxs("div",{className:"lg:hidden relative rounded-2xl overflow-hidden shadow-2xl border border-border group mb-10 max-w-md mx-auto",children:[i.jsx("img",{src:"https://vibe.filesafe.space/1779029949023741031/attachments/73331407-914e-4579-8d65-f4e456eb075d.webp",alt:"Review Management System",className:"w-full h-auto object-cover transform transition-transform duration-700 group-hover:scale-105"}),i.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-background/20 to-transparent"})]}),i.jsxs("div",{className:"text-center max-w-3xl mx-auto mb-16",children:[i.jsxs("div",{className:"inline-flex items-center gap-2 px-3 py-1 rounded-full bg-primary/10 border border-primary/20 text-primary text-sm font-medium mb-6",children:[i.jsx(Oo,{className:"w-4 h-4 fill-primary"}),t?"Obtenez plus d'avis 5 étoiles en pilote automatique":"Get More 5-Star Reviews on Autopilot"]}),i.jsx("h2",{className:"text-3xl md:text-5xl font-bold mb-6",children:t?"Transformez vos clients satisfaits en avis 5 étoiles automatiquement":"Turn Happy Customers Into 5-Star Reviews Automatically"}),i.jsx("p",{className:"text-lg text-muted-foreground",children:t?"Renforcez la confiance, améliorez votre réputation en ligne et attirez plus de clients avec notre système automatisé de génération et de réponse aux avis.":"Build trust, improve your online reputation, and attract more customers with our automated review generation and response system."})]}),i.jsxs("div",{className:"grid lg:grid-cols-2 gap-16 mb-20",children:[i.jsxs("div",{children:[i.jsx("h3",{className:"text-2xl font-bold mb-4",children:t?"Votre réputation en ligne peut faire ou défaire votre entreprise.":"Your online reputation can make or break your business."}),i.jsx("p",{className:"text-muted-foreground mb-8",children:t?"La plupart des clients lisent les avis en ligne avant de choisir une entreprise. Les entreprises avec plus d'avis positifs génèrent systématiquement plus de leads, plus d'appels et plus de ventes.":"Most customers read online reviews before choosing a company. Businesses with more positive reviews consistently generate more leads, more calls, and more sales."}),i.jsx("div",{className:"space-y-4",children:n.map((o,a)=>i.jsxs("div",{className:"flex gap-4",children:[i.jsx("div",{className:"mt-1 flex-shrink-0 w-8 h-8 rounded-full bg-primary/10 flex items-center justify-center",children:o.icon}),i.jsx("p",{className:"text-foreground",children:o.text})]},a))})]}),i.jsxs("div",{className:"space-y-8",children:[i.jsxs("div",{className:"hidden lg:block relative rounded-2xl overflow-hidden shadow-2xl border border-border group",children:[i.jsx("img",{src:"https://vibe.filesafe.space/1779029949023741031/attachments/73331407-914e-4579-8d65-f4e456eb075d.webp",alt:"Review Management System",className:"w-full h-auto object-cover transform transition-transform duration-700 group-hover:scale-105"}),i.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-background/20 to-transparent"})]}),i.jsxs("div",{className:"bg-card border border-border rounded-2xl p-8 shadow-xl",children:[i.jsx("h3",{className:"text-xl font-bold mb-6",children:t?"COMMENT ÃA MARCHE":"HOW IT WORKS"}),i.jsx("div",{className:"space-y-6 relative before:absolute before:inset-0 before:ml-5 before:-translate-x-px md:before:mx-auto md:before:translate-x-0 before:h-full before:w-0.5 before:bg-gradient-to-b before:from-transparent before:via-border before:to-transparent",children:r.map((o,a)=>i.jsxs("div",{className:"relative flex items-center justify-between md:justify-normal md:odd:flex-row-reverse group is-active",children:[i.jsx("div",{className:"flex items-center justify-center w-10 h-10 rounded-full border-4 border-background bg-primary text-primary-foreground shadow shrink-0 md:order-1 md:group-odd:-translate-x-1/2 md:group-even:translate-x-1/2 z-10 font-bold",children:o.step}),i.jsxs("div",{className:"w-[calc(100%-4rem)] md:w-[calc(50%-2.5rem)] p-4 rounded-xl border border-border bg-background shadow-sm",children:[i.jsx("h4",{className:"font-bold text-foreground mb-1",children:o.title}),i.jsx("p",{className:"text-sm text-muted-foreground",children:o.text})]})]},a))})]})]})]}),i.jsxs("div",{className:"bg-primary/5 border border-primary/20 rounded-3xl p-8 md:p-12 text-center max-w-4xl mx-auto",children:[i.jsx("h3",{className:"text-2xl font-bold mb-8",children:t?"RÃSULTATS":"RESULTS"}),i.jsx("div",{className:"flex flex-wrap justify-center gap-4 mb-12",children:s.map((o,a)=>i.jsxs("div",{className:"flex items-center gap-2 bg-background border border-border px-4 py-2 rounded-full shadow-sm",children:[i.jsx(Os,{className:"w-5 h-5 text-green-500"}),i.jsx("span",{className:"font-medium",children:o})]},a))}),i.jsxs("div",{className:"max-w-2xl mx-auto",children:[i.jsx("h3",{className:"text-3xl font-bold mb-4",children:t?i.jsxs(i.Fragment,{children:["Commencez à bâtir une",i.jsx("br",{className:"block sm:hidden"})," ",i.jsx("span",{className:"whitespace-nowrap",children:"réputation 5 étoiles"})," ","aujourd'hui"]}):i.jsxs(i.Fragment,{children:["Start Building a",i.jsx("br",{className:"block sm:hidden"})," ",i.jsx("span",{className:"whitespace-nowrap",children:"5-Star Reputation"})," ","Today"]})}),i.jsx("p",{className:"text-muted-foreground mb-8",children:t?"Réservez une démo gratuite et découvrez comment notre système de gestion des avis par IA peut aider votre entreprise à générer plus d'avis, à attirer plus de clients et à croître plus rapidement.":"Book a free demo and discover how our AI Review Management System can help your business generate more reviews, attract more customers, and grow faster."}),i.jsx("a",{href:"/bookacall",children:i.jsxs(he,{size:"lg",className:"w-full sm:w-auto h-14 px-8 text-base shadow-lg",children:[t?"Réserver une démo gratuite":"Book a Free Demo",i.jsx(Nt,{className:"ml-2 w-5 h-5"})]})})]})]})]})]})},yo=h.forwardRef(({className:e,type:t,...n},r)=>i.jsx("input",{type:t,className:ue("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",e),ref:r,...n}));yo.displayName="Input";const $F=()=>{const{language:e}=fe(),{toast:t}=aw(),[n,r]=h.useState(""),[s,o]=h.useState(""),[a,l]=h.useState(!1),c=async m=>{m.preventDefault(),l(!0);const p=(v,x={})=>{var C;const{customFields:g={},fileFields:y={},imageDataFields:b={}}=x,S={...v,formData:{...v.formData},formLabels:{...v.formLabels}},j=new FormData;for(const[N,E]of Object.entries(g))E.value!==void 0&&(S.formData[N]=E.value,S.formLabels[N]=E.label);for(const[N,E]of Object.entries(b)){const T=E.dataUrl;if(T){if(!T.startsWith("data:image/"))throw new Error("Image data field must be a data:image/* base64 string");S.formData[N]=T,S.formLabels[N]=E.label}}for(const[N,E]of Object.entries(y)){const T=E.file;if(T){if(T.size>50*1024*1024)throw new Error("File must be 50 MB or smaller");S.formData[N]={filename:T.name,size:T.size,type:T.type||"application/octet-stream"},S.formLabels[N]=E.label,j.append(N,T,T.name)}}for(const N of Object.keys(S.formData))(C=S.formLabels)[N]||(C[N]=N);j.append("event",JSON.stringify(S)),fetch("https://backend.leadconnectorhq.com/external-tracking/events",{method:"POST",headers:{version:"2021-07-28"},body:j}).catch(()=>{})},w={type:"external_form_submission",timestamp:Date.now(),formId:"SEO Audit Form",formData:{email:s,website:n},formLabels:{email:"Email",website:"Website URL"},url:window.location.href,title:document.title,path:window.location.pathname,userAgent:navigator.userAgent,trackingId:"tk_61e13f85ab2e457fb8102d5040b64cd4",locationId:"FIGYqmaP870ddXvwutnh",sessionId:crypto.randomUUID(),properties:{deviceType:/Mobile|Android|iPhone/i.test(navigator.userAgent)?"mobile":"desktop"}};p(w),setTimeout(()=>{l(!1),t({title:e==="fr"?"Demande reçue !":"Request received!",description:e==="fr"?"Nous anal
394yserons votre site et vous enverrons le rapport bientôt.":"We'll analyze your site and send the report soon."}),r(""),o("")},1e3)},f=e==="fr"?["Recherche & Stratégie de Mots-Clés","Optimisation SEO On-Page","SEO Local & Google Business","Création de Liens de Qualité","Audits SEO Techniques","Stratégie & Création de Contenu","Analyse de la Concurrence","Suivi des Performances & Rapports"]:["Keyword Research & Strategy","On-Page SEO Optimization","Local SEO & Google Business","High-Quality Link Building","Technical SEO Audits","Content Strategy & Creation","Competitor Analysis","Performance Tracking & Reporting"];return i.jsx("section",{className:"py-24 bg-background overflow-hidden relative",children:i.jsx("div",{className:"container mx-auto px-4",children:i.jsxs("div",{className:"grid lg:grid-cols-2 gap-12 lg:gap-16 items-center",children:[i.jsxs(ve.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-100px"},transition:{duration:.6},className:"w-full order-2 lg:order-1",children:[i.jsxs("div",{className:"mb-8 text-center lg:text-left flex flex-col items-center lg:items-start",children:[i.jsxs("div",{className:"inline-flex items-center gap-2 px-3 py-1.5 rounded-full bg-primary/10 text-primary text-sm font-semibold mb-6",children:[i.jsx(Ur,{className:"w-4 h-4"}),i.jsx("span",{children:e==="fr"?"Optimisation pour les Moteurs de Recherche":"Search Engine Optimization"})]}),i.jsx("h2",{className:"text-3xl md:text-4xl font-bold mb-4 text-foreground leading-tight text-balance",children:e==="fr"?"Classez-vous plus haut. Obtenez plus de trafic.":"Rank Higher. Get More Traffic."}),i.jsx("p",{className:"text-lg text-muted-foreground max-w-md lg:mx-0 mx-auto mb-4",children:e==="fr"?"Dominez les résultats de recherche locaux et attirez des clients qualifiés qui recherchent activement vos services.":"Dominate local search results and attract qualified customers who are actively looking for your services."}),i.jsx("p",{className:"text-base text-muted-foreground max-w-md lg:mx-0 mx-auto mb-6",children:e==="fr"?"Aujourd'hui, la plupart des expériences en ligne commencent par un moteur de recherche. Si votre entreprise n'apparaît pas sur la première page de Google, vous perdez des clients potentiels au profit de vos concurrents. Voici ce que nous offrons pour vous propulser au sommet :":"Today, most online experiences begin with a search engine. If your business isn't showing up on the first page of Google, you're losing potential customers to your competitors. Here is what we offer to get you to the top:"})]}),i.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-x-4 gap-y-3",children:f.map((m,p)=>i.jsxs(ve.div,{initial:{opacity:0,x:-20},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.2,delay:.1+p*.05},className:"flex items-center gap-3",children:[i.jsx("div",{className:"w-6 h-6 rounded-full bg-primary/10 flex items-center justify-center flex-shrink-0",children:i.jsx(Os,{className:"w-4 h-4 text-primary"})}),i.jsx("span",{className:"text-sm font-medium text-foreground",children:m})]},p))})]}),i.jsxs(ve.div,{initial:{opacity:0,scale:.95,y:30},whileInView:{opacity:1,scale:1,y:0},viewport:{once:!0,margin:"-100px"},transition:{duration:.6,delay:.3},className:"relative rounded-3xl overflow-hidden border border-border bg-card shadow-2xl order-1 lg:order-2 flex flex-col justify-center items-center p-8 lg:p-12 h-full lg:min-h-[500px]",children:[i.jsx("div",{className:"absolute inset-0 bg-gradient-to-tr from-primary/5 to-transparent pointer-events-none z-20"}),i.jsxs("div",{className:"relative z-30 w-full max-w-md mx-auto",children:[i.jsx("div",{className:"w-16 h-16 bg-primary/10 rounded-2xl flex items-center justify-center mb-6 mx-auto",children:i.jsx(Zi,{className:"w-8 h-8 text-primary"})}),i.jsx("h3",{className:"text-2xl font-bold text-center mb-2",children:e==="fr"?"Obtenez un Audit SEO Gratuit":"Get a Free SEO Audit"}),i.jsx("p",{className:"text-muted-foreground text-center mb-8",children:e==="fr"?"Entrez l'URL de votre site web pour découvrir pourquoi vous perdez du trafic.":"Enter your website URL to find out why you're losing traffic."}),i.jsxs("form",{onSubmit:c,className:"space-y-4",children:[i.jsx("div",{className:"space-y-2",children:i.jsx(yo,{type:"url",placeholder:"https://yourwebsite.com",required:!0,value:n,onChange:m=>r(m.target.value),className:"h-12 bg-background/50 backdrop-blur-sm"})}),i.jsx("div",{className:"space-y-2",children:i.jsx(yo,{type:"email",placeholder:e==="fr"?"Votre adresse e-mail"
394:"Your email address",required:!0,value:s,onChange:m=>o(m.target.value),className:"h-12 bg-background/50 backdrop-blur-sm"})}),i.jsx(he,{type:"submit",disabled:a,className:"w-full h-12 text-base font-medium shadow-lg hover:shadow-primary/25 transition-all",children:a?i.jsx(zw,{className:"w-5 h-5 animate-spin"}):i.jsxs(i.Fragment,{children:[e==="fr"?"Analyser Mon Site":"Analyze My Website",i.jsx(Nt,{className:"w-4 h-4 ml-2"})]})})]}),i.jsx("p",{className:"text-xs text-center text-muted-foreground mt-6",children:e==="fr"?"100% gratuit. Aucun engagement requis.":"100% free. No commitment required."})]})]})]})})})};function rC(e,[t,n]){return Math.min(n,Math.max(t,e))}var sC=["PageUp","PageDown"],oC=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],iC={"from-left":["Home","PageDown","ArrowDown","ArrowLeft"],"from-right":["Home","PageDown","ArrowDown","ArrowRight"],"from-bottom":["Home","PageDown","ArrowDown","ArrowLeft"],"from-top":["Home","PageDown","ArrowUp","ArrowLeft"]},Zo="Slider",[zm,WF,UF]=ru(Zo),[aC]=gn(Zo,[UF]),[qF,Ou]=aC(Zo),lC=h.forwardRef((e,t)=>{const{name:n,min:r=0,max:s=100,step:o=1,orientation:a="horizontal",disabled:l=!1,minStepsBetweenThumbs:c=0,defaultValue:u=[r],value:d,onValueChange:f=()=>{},onValueCommit:m=()=>{},inverted:p=!1,form:w,...v}=e,x=h.useRef(new Set),g=h.useRef(0),b=a==="horizontal"?HF:KF,[S=[],j]=Fn({prop:d,defaultProp:u,onChange:I=>{var H;(H=[...x.current][g.current])==null||H.focus(),f(I)}}),C=h.useRef(S);function N(I){const F=ZF(S,I);P(I,F)}function E(I){P(I,g.current)}function T(){const I=C.current[g.current];S[g.current]!==I&&m(S)}function P(I,F,{commit:H}={commit:!1}){const L=n6(o),q=r6(Math.round((I-r)/o)*o+r,L),$=rC(q,[r,s]);j((G=[])=>{const M=QF(G,$,F);if(t6(M,c*o)){g.current=M.indexOf($);const R=String(M)!==String(G);return R&&H&&m(M),R?M:G}else return G})}return i.jsx(qF,{scope:e.__scopeSlider,name:n,disabled:l,min:r,max:s,valueIndexToChangeRef:g,thumbs:x.current,values:S,orientation:a,form:w,children:i.jsx(zm.Provider,{scope:e.__scopeSlider,children:i.jsx(zm.Slot,{scope:e.__scopeSlider,children:i.jsx(b,{"aria-disabled":l,"data-disabled":l?"":void 0,...v,ref:t,onPointerDown:ae(v.onPointerDown,()=>{l||(C.current=S)}),min:r,max:s,inverted:p,onSlideStart:l?void 0:N,onSlideMove:l?void 0:E,onSlideEnd:l?void 0:T,onHomeKeyDown:()=>!l&&P(r,0,{commit:!0}),onEndKeyDown:()=>!l&&P(s,S.length-1,{commit:!0}),onStepKeyDown:({event:I,direction:F})=>{if(!l){const q=sC.includes(I.key)||I.shiftKey&&oC.includes(I.key)?10:1,$=g.current,G=S[$],M=o*q*F;P(G+M,$,{commit:!0})}}})})})})});lC.displayName=Zo;var[cC,uC]=aC(Zo,{startEdge:"left",endEdge:"right",size:"width",direction:1}),HF=h.forwardRef((e,t)=>{const{min:n,max:r,dir:s,inverted:o,onSlideStart:a,onSlideMove:l,onSlideEnd:c,onStepKeyDown:u,...d}=e,[f,m]=h.useState(null),p=Ce(t,b=>m(b)),w=h.useRef(void 0),v=Iu(s),x=v==="ltr",g=x&&!o||!x&&o;function y(b){const S=w.current||f.getBoundingClientRect(),j=[0,S.width],N=ng(j,g?[n,r]:[r,n]);return w.current=S,N(b-S.left)}return i.jsx(cC,{scope:e.__scopeSlider,startEdge:g?"left":"right",endEdge:g?"right":"left",direction:g?1:-1,size:"width",children:i.jsx(dC,{dir:v,"data-orientation":"horizontal",...d,ref:p,style:{...d.style,"--radix-slider-thumb-transform":"translateX(-50%)"},onSlideStart:b=>{const S=y(b.clientX);a==null||a(S)},onSlideMove:b=>{const S=y(b.clientX);l==null||l(S)},onSlideEnd:()=>{w.current=void 0,c==null||c()},onStepKeyDown:b=>{const j=iC[g?"from-left":"from-right"].includes(b.key);u==null||u({event:b,direction:j?-1:1})}})})}),KF=h.forwardRef((e,t)=>{const{min:n,max:r,inverted:s,onSlideStart:o,onSlideMove:a,onSlideEnd:l,onStepKeyDown:c,...u}=e,d=h.useRef(null),f=Ce(t,d),m=h.useRef(void 0),p=!s;function w(v){const x=m.current||d.current.getBoundingClientRect(),g=[0,x.height],b=ng(g,p?[r,n]:[n,r]);return m.current=x,b(v-x.top)}return i.jsx(cC,{scope:e.__scopeSlider,startEdge:p?"bottom":"top",endEdge:p?"top":"bottom",size:"height",direction:p?1:-1,children:i.jsx(dC,{"data-orientation":"vertical",...u,ref:f,style:{...u.style,"--radix-slider-thumb-transform":"translateY(50%)"},onSlideStart:v=>{const x=w(v.clientY);o==null||o(x)},onSlideMove:v=>{const x=w(v.clientY);a==null||a(x)},onSlideEnd:()=>{m.current=void 0,l==null||l()},onStepKeyDown:v=>{const g=iC[p?"from-bottom":"from-top"].includes(v.key);c==null||c({event:v,direction:g?-1:1})}})})}),dC=h.forwardRef((e,t)=>
394{const{__scopeSlider:n,onSlideStart:r,onSlideMove:s,onSlideEnd:o,onHomeKeyDown:a,onEndKeyDown:l,onStepKeyDown:c,...u}=e,d=Ou(Zo,n);return i.jsx(ce.span,{...u,ref:t,onKeyDown:ae(e.onKeyDown,f=>{f.key==="Home"?(a(f),f.preventDefault()):f.key==="End"?(l(f),f.preventDefault()):sC.concat(oC).includes(f.key)&&(c(f),f.preventDefault())}),onPointerDown:ae(e.onPointerDown,f=>{const m=f.target;m.setPointerCapture(f.pointerId),f.preventDefault(),d.thumbs.has(m)?m.focus():r(f)}),onPointerMove:ae(e.onPointerMove,f=>{f.target.hasPointerCapture(f.pointerId)&&s(f)}),onPointerUp:ae(e.onPointerUp,f=>{const m=f.target;m.hasPointerCapture(f.pointerId)&&(m.releasePointerCapture(f.pointerId),o(f))})})}),fC="SliderTrack",mC=h.forwardRef((e,t)=>{const{__scopeSlider:n,...r}=e,s=Ou(fC,n);return i.jsx(ce.span,{"data-disabled":s.disabled?"":void 0,"data-orientation":s.orientation,...r,ref:t})});mC.displayName=fC;var Vm="SliderRange",pC=h.forwardRef((e,t)=>{const{__scopeSlider:n,...r}=e,s=Ou(Vm,n),o=uC(Vm,n),a=h.useRef(null),l=Ce(t,a),c=s.values.length,u=s.values.map(m=>vC(m,s.min,s.max)),d=c>1?Math.min(...u):0,f=100-Math.max(...u);return i.jsx(ce.span,{"data-orientation":s.orientation,"data-disabled":s.disabled?"":void 0,...r,ref:l,style:{...e.style,[o.startEdge]:d+"%",[o.endEdge]:f+"%"}})});pC.displayName=Vm;var Bm="SliderThumb",hC=h.forwardRef((e,t)=>{const n=WF(e.__scopeSlider),[r,s]=h.useState(null),o=Ce(t,l=>s(l)),a=h.useMemo(()=>r?n().findIndex(l=>l.ref.current===r):-1,[n,r]);return i.jsx(GF,{...e,ref:o,index:a})}),GF=h.forwardRef((e,t)=>{const{__scopeSlider:n,index:r,name:s,...o}=e,a=Ou(Bm,n),l=uC(Bm,n),[c,u]=h.useState(null),d=Ce(t,y=>u(y)),f=c?a.form||!!c.closest("form"):!0,m=th(c),p=a.values[r],w=p===void 0?0:vC(p,a.min,a.max),v=XF(r,a.values.length),x=m==null?void 0:m[l.size],g=x?JF(x,w,l.direction):0;return h.useEffect(()=>{if(c)return a.thumbs.add(c),()=>{a.thumbs.delete(c)}},[c,a.thumbs]),i.jsxs("span",{style:{transform:"var(--radix-slider-thumb-transform)",position:"absolute",[l.startEdge]:`calc(${w}% + ${g}px)`},children:[i.jsx(zm.ItemSlot,{scope:e.__scopeSlider,children:i.jsx(ce.span,{role:"slider","aria-label":e["aria-label"]||v,"aria-valuemin":a.min,"aria-valuenow":p,"aria-valuemax":a.max,"aria-orientation":a.orientation,"data-orientation":a.orientation,"data-disabled":a.disabled?"":void 0,tabIndex:a.disabled?void 0:0,...o,ref:d,style:p===void 0?{display:"none"}:e.style,onFocus:ae(e.onFocus,()=>{a.valueIndexToChangeRef.current=r})})}),f&&i.jsx(gC,{name:s??(a.name?a.name+(a.values.length>1?"[]":""):void 0),form:a.form,value:p},r)]})});hC.displayName=Bm;var YF="RadioBubbleInput",gC=h.forwardRef(({__scopeSlider:e,value:t,...n},r)=>{const s=h.useRef(null),o=Ce(s,r),a=Sj(t);return h.useEffect(()=>{const l=s.current;if(!l)return;const c=window.HTMLInputElement.prototype,d=Object.getOwnPropertyDescriptor(c,"value").set;if(a!==t&&d){const f=new Event("input",{bubbles:!0});d.call(l,t),l.dispatchEvent(f)}},[a,t]),i.jsx(ce.input,{style:{display:"none"},...n,ref:o,defaultValue:t})});gC.displayName=YF;function QF(e=[],t,n){const r=[...e];return r[n]=t,r.sort((s,o)=>s-o)}function vC(e,t,n){const o=100/(n-t)*(e-t);return rC(o,[0,100])}function XF(e,t){return t>2?`Value ${e+1} of ${t}`:t===2?["Minimum","Maximum"][e]:void 0}function ZF(e,t){if(e.length===1)return 0;const n=e.map(s=>Math.abs(s-t)),r=Math.min(...n);return n.indexOf(r)}function JF(e,t,n){const r=e/2,o=ng([0,50],[0,r]);return(r-o(t)*n)*n}function e6(e){return e.slice(0,-1).map((t,n)=>e[n+1]-t)}function t6(e,t){if(t>0){const n=e6(e);return Math.min(...n)>=t}return!0}function ng(e,t){return n=>{if(e[0]===e[1]||t[0]===t[1])return t[0];const r=(t[1]-t[0])/(e[1]-e[0]);return t[0]+r*(n-e[0])}}function n6(e){return(String(e).split(".")[1]||"").length}function r6(e,t){const n=Math.pow(10,t);return Math.round(e*n)/n}var yC=lC,s6=mC,o6=pC,i6=hC;const xi=h.forwardRef(({className:e,...t},n)=>i.jsxs(yC,{ref:n,className:ue("relative flex w-full touch-none select-none items-center",e),...t,children:[i.jsx(s6,{className:"relative h-2 w-full grow overflow-hidden rounded-full bg-secondary",children:i.jsx(o6,{className:"absolute h-full bg-primary"})}),i.jsx(i6,{className:"block h-5 w-5 rounded-full border-2 border-primary bg-background 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"})]}));xi.displayName=yC.displayName;const zc=h.forwardRef(({className:e,...t},n)=>i.jsx("div",{ref:n,className:ue("rounded-lg border bg-card text-card-foreground shadow-sm",e),...t}));
394zc.displayName="Card";const a6=h.forwardRef(({className:e,...t},n)=>i.jsx("div",{ref:n,className:ue("flex flex-col space-y-1.5 p-6",e),...t}));a6.displayName="CardHeader";const l6=h.forwardRef(({className:e,...t},n)=>i.jsx("h3",{ref:n,className:ue("text-2xl font-semibold leading-none tracking-tight",e),...t}));l6.displayName="CardTitle";const c6=h.forwardRef(({className:e,...t},n)=>i.jsx("p",{ref:n,className:ue("text-sm text-muted-foreground",e),...t}));c6.displayName="CardDescription";const u6=h.forwardRef(({className:e,...t},n)=>i.jsx("div",{ref:n,className:ue("p-6 pt-0",e),...t}));u6.displayName="CardContent";const d6=h.forwardRef(({className:e,...t},n)=>i.jsx("div",{ref:n,className:ue("flex items-center p-6 pt-0",e),...t}));d6.displayName="CardFooter";const f6=()=>{const{language:e}=fe(),[t,n]=h.useState([1e3]),[r,s]=h.useState([2]),[o,a]=h.useState([500]),[l,c]=h.useState([150]),d=t[0]*(r[0]/100)*o[0],w=t[0]*(1+l[0]/100)*(r[0]/100)*o[0]-d,v=w*12;return i.jsxs("section",{className:"py-24 bg-background relative overflow-hidden",children:[i.jsx("div",{className:"absolute inset-0 bg-primary/5 pointer-events-none"}),i.jsxs("div",{className:"container px-4 mx-auto relative z-10",children:[i.jsxs(ve.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5},className:"max-w-3xl mx-auto text-center mb-16",children:[i.jsxs("h2",{className:"text-3xl md:text-4xl font-bold mb-6",children:[e==="fr"?"Calculez votre ":"Calculate Your ",i.jsx("span",{className:"text-primary",children:"SEO ROI"})]}),i.jsx("p",{className:"text-lg text-muted-foreground",children:e==="fr"?"Découvrez combien de revenus supplémentaires vous pourriez générer en vous classant sur la première page de Google.":"Discover how much additional revenue you could generate by ranking on the first page of Google."})]}),i.jsxs("div",{className:"grid lg:grid-cols-2 gap-8 max-w-5xl mx-auto",children:[i.jsx(ve.div,{initial:{opacity:0,x:-20},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.5,delay:.2},children:i.jsx(zc,{className:"p-6 md:p-8 border-primary/20 shadow-lg bg-card/50 backdrop-blur-sm h-full",children:i.jsxs("div",{className:"space-y-8",children:[i.jsxs("div",{className:"space-y-4",children:[i.jsxs("div",{className:"flex justify-between items-center",children:[i.jsxs("label",{className:"text-sm font-medium flex items-center gap-2",children:[i.jsx(pc,{className:"w-4 h-4 text-primary"}),e==="fr"?"Trafic mensuel actuel":"Current Monthly Traffic"]}),i.jsx("span",{className:"font-bold text-lg",children:t[0].toLocaleString()})]}),i.jsx(xi,{value:t,onValueChange:n,max:5e4,min:100,step:100})]}),i.jsxs("div",{className:"space-y-4",children:[i.jsxs("div",{className:"flex justify-between items-center",children:[i.jsxs("label",{className:"text-sm font-medium flex items-center gap-2",children:[i.jsx(Uw,{className:"w-4 h-4 text-primary"}),e==="fr"?"Taux de conversion (%)":"Conversion Rate (%)"]}),i.jsxs("span",{className:"font-bold text-lg",children:[r[0],"%"]})]}),i.jsx(xi,{value:r,onValueChange:s,max:10,min:.5,step:.5})]}),i.jsxs("div",{className:"space-y-4",children:[i.jsxs("div",{className:"flex justify-between items-center",children:[i.jsxs("label",{className:"text-sm font-medium flex items-center gap-2",children:[i.jsx(Fw,{className:"w-4 h-4 text-primary"}),e==="fr"?"Valeur moyenne par client":"Avg. Customer Value"]}),i.jsxs("span",{className:"font-bold text-lg",children:["$",o[0].toLocaleString()]})]}),i.jsx(xi,{value:o,onValueChange:a,max:1e4,min:100,step:50})]}),i.jsxs("div",{className:"space-y-4",children:[i.jsxs("div",{className:"flex justify-between items-center",children:[i.jsxs("label",{className:"text-sm font-medium flex items-center gap-2",children:[i.jsx(Ur,{className:"w-4 h-4 text-primary"}),e==="fr"?"Croissance estimée du trafic (%)":"Estimated Traffic Growth (%)"]}),i.jsxs("span",{className:"font-bold text-lg text-primary",children:["+",l[0],"%"]})]}),i.jsx(xi,{value:l,onValueChange:c,max:500,min:10,step:10})]})]})})}),i.jsx(ve.div,{initial:{opacity:0,x:20},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.5,delay:.4},children:i.jsxs(zc,{className:"p-6 md:p-8 border-primary/50 shadow-[0_0_50px_-12px_rgba(59,130,246,0.3)] bg-gradient-to-br from-card to-primary/5 relative overflow-hidden flex flex-col justify-center h-full",children:[i.jsx("div",{className:"absolute top-0 right-0 p-32 bg-primary/10 rounded-full blur-3xl -mr-16 -mt-16"}),i.jsxs("div",{className:"relative z-10 space-y-8",children:[i.jsxs("div",{children:[i.jsx("p",{className:"text-sm text-muted-foreground font-medium mb-2",children:e==="fr"?"Revenus mensuels supplémentaires":"Additional Monthly Revenue"}),i.jsxs("div",{className:"text-4xl md:text-5xl font-black text-foreground tracking-tight",children:["+$",Math.round(w).toLocaleStr
394ing(),i.jsx("span",{className:"text-xl text-muted-foreground font-normal",children:"/mo"})]})]}),i.jsx("div",{className:"h-px bg-border/50 w-full"}),i.jsxs("div",{children:[i.jsx("p",{className:"text-sm text-muted-foreground font-medium mb-2",children:e==="fr"?"Revenus annuels supplémentaires":"Additional Yearly Revenue"}),i.jsxs("div",{className:"text-5xl md:text-6xl font-black text-primary tracking-tight drop-shadow-sm",children:["+$",Math.round(v).toLocaleString(),i.jsx("span",{className:"text-xl text-primary/70 font-normal",children:"/yr"})]})]}),i.jsx("p",{className:"text-sm text-muted-foreground mt-4",children:e==="fr"?"*Ceci est une estimation basée sur vos entrées. Les résultats réels peuvent varier.":"*This is an estimate based on your inputs. Actual results may vary."})]})]})})]})]})]})},m6=()=>{const{language:e}=fe(),r=e==="fr"?[{name:"Sarah J.",role:"Fondatrice E-commerce",image:"https://i.pravatar.cc/150?u=sarah",quote:"Notre trafic organique a augmenté de 300% en seulement 4 mois. Nous sommes maintenant sur la première page pour nos mots-clés les plus compétitifs, ajoutant 50k$/mois en revenus.",metric:"+300% de Trafic",icon:i.jsx(Ur,{className:"w-5 h-5 text-primary"})},{name:"Mike T.",role:"Entreprise de Plomberie Locale",image:"https://i.pravatar.cc/150?u=mike",quote:"Avant Kr8tor.ai, nous dépendions de publicités coûteuses. Maintenant, nous sommes classés #1 pour 'plombier près de chez moi' et recevons plus de 40 appels par semaine gratuitement via Google.",metric:"Classement Local #1",icon:i.jsx(Zi,{className:"w-5 h-5 text-primary"})},{name:"Eric R.",role:"Associé Directeur, Cabinet d'Avocats",image:"https://i.pravatar.cc/150?u=eric",quote:"La stratégie SEO a doublé nos prospects en 6 mois. Le retour sur investissement est incroyable comparé à ce que nous dépensions en marketing traditionnel.",metric:"Volume de Prospects x2",icon:i.jsx(pc,{className:"w-5 h-5 text-primary"})}]:[{name:"Sarah J.",role:"E-commerce Founder",image:"https://i.pravatar.cc/150?u=sarah",quote:"Our organic traffic increased by 300% in just 4 months. We're now ranking on the first page for our most competitive keywords, which added $50k/month in revenue.",metric:"+300% Traffic",icon:i.jsx(Ur,{className:"w-5 h-5 text-primary"})},{name:"Mike T.",role:"Local Plumbing Business",image:"https://i.pravatar.cc/150?u=mike",quote:"Before Kr8tor.ai, we were relying on expensive ads. Now we rank #1 for 'plumber near me' and get 40+ inbound calls a week completely free from Google.",metric:"#1 Local Ranking",icon:i.jsx(Zi,{className:"w-5 h-5 text-primary"})},{name:"Eric R.",role:"Managing Partner, Law Firm",image:"https://i.pravatar.cc/150?u=eric",quote:"The SEO strategy doubled our case leads in 6 months. The ROI is incredible compared to what we were spending on billboards and traditional marketing.",metric:"2x Lead Volume",icon:i.jsx(pc,{className:"w-5 h-5 text-primary"})}];return i.jsx("section",{className:"py-24 bg-background relative overflow-hidden",children:i.jsxs("div",{className:"container px-4 mx-auto",children:[i.jsxs(ve.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5},className:"text-center max-w-3xl mx-auto mb-16",children:[i.jsxs("h2",{className:"text-3xl md:text-4xl font-bold mb-4",children:[e==="fr"?"Histoires de Réussite ":"SEO Success ",i.jsx("span",{className:"text-primary",children:"Stories"})]}),i.jsx("p",{className:"text-lg text-muted-foreground text-balance mx-auto",children:e==="fr"?"Voyez comment notre système d'optimisation pour les moteurs de recherche a transformé le trafic et les revenus de ces entreprises.":"See how our search engine optimization system has transformed traffic and revenue for these businesses."})]}),i.jsx("div",{className:"grid md:grid-cols-3 gap-8",children:r.map((s,o)=>i.jsx(ve.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:o*.1},children:i.jsxs(zc,{className:"p-8 h-full flex flex-col border-primary/10 hover:border-primary/30 transition-colors bg-card/50 backdrop-blur-sm shadow-lg",children:[i.jsxs("div",{className:"flex items-center gap-4 mb-6",children:[i.jsx("div",{className:"w-12 h-12 rounded-full overflow-hidden border-2 border-primary/20",children:i.jsx("img",{src:s.image,alt:s.name,className:"w-full h-full object-cover"})}),i.jsxs("div",{children:[i.jsx("h4",{className:"font-bold",children:s.name}),i.jsx("p",{className:"text-sm text-muted-foreground",children:s.role})]})]}),i.jsx("div",{className:"flex gap-1 mb-4",children:[...Array(5)].map((a,l)=>i.jsx(Oo,{className:"w-4 h-4 fill-primary text-primary"},l))}),i.jsxs("p",{className:"text-muted-foreground mb-6 flex-grow italic",children:['"',s.quote,'"']}),i.jsxs("div",{className:"pt-6 border-t border-border flex items-center gap-3",children:[i.jsx("div",{className:"w-10 h-10 rounded-full bg-primary/10 flex items-center justify-center",children:s.icon}),i.jsx("div",{className:"font-bold text-primary",children:s.metric})]})]})},o))})]})})},p6=[{name:"Instagram",url:"https://vibe.filesafe.space/1779029949023741031/attachments/2d2125c1-1154-4181-8a59-78202b86510a.webp"},{name:"Stripe",url:"https://vibe.filesafe.space/1779029949023741031/attachments/5e3e0f80-9c84-4aec-9ed9-c38c0fcee994.webp"},{name:"Shopify",url:"https://vibe.filesafe.space/1779029949023741031/attachments/0164554d-a02e-462a-bf1f-bc6884a6fffd.webp"},{name:"WhatsApp",url:"https://vibe.filesafe.space/1779029949023741031/attachments/0f454fcc-25aa-40e3-b97f-8c7c1df05fb5.webp"},{name:"Printful",url:"https://vibe.filesafe.space/1779029949023741031/attachments/eff8fe54-6785-4b2d-9fe8-5beaf7687489.webp"},{name:"Google",url:"https://vibe.filesafe.space/1779029949023741031/attachments/143a69a0-a0bf-45cb-aeff-f381e668d867.webp"},{name:"WooCommerce",url:"https://vibe.filesafe.space/1779029949023741031/attachments/bc0a82cb-042b-4a30-8f76-ed3fb3feb6c7.webp"},{name:"LinkedIn",url:"https://vibe.filesafe.space/1779029949023741031/attachments/85622025-0bd4-440b-a527-1ff04a9d64d8.webp"},{name:"Slack",url:"https://vibe.filesafe.space/1779029949023741031/attachments/2d6f3150-2fb2-4f1a-8306-eacd1c76071d.webp"},{name:"Zapier",url:"https://vibe.filesafe.space/1779029949023741031/attachments/e5b9c82f-1296-4120-8bf7-415e575b3a83.webp"},{name:"QuickBooks",url:"https://vibe.filesafe.space/1779029949023741031/attachments/ff528613-a310-4218-a16e-441ec7d52
39465a.webp"},{name:"Facebook",url:"https://vibe.filesafe.space/1779029949023741031/attachments/50069011-4a22-40db-addd-889d5de2f57c.webp"},{name:"Instagram",url:"https://vibe.filesafe.space/1779029949023741031/attachments/2d2125c1-1154-4181-8a59-78202b86510a.webp"},{name:"Stripe",url:"https://vibe.filesafe.space/1779029949023741031/attachments/5e3e0f80-9c84-4aec-9ed9-c38c0fcee994.webp"},{name:"Shopify",url:"https://vibe.filesafe.space/1779029949023741031/attachments/0164554d-a02e-462a-bf1f-bc6884a6fffd.webp"},{name:"WhatsApp",url:"https://vibe.filesafe.space/1779029949023741031/attachments/0f454fcc-25aa-40e3-b97f-8c7c1df05fb5.webp"},{name:"Printful",url:"https://vibe.filesafe.space/1779029949023741031/attachments/eff8fe54-6785-4b2d-9fe8-5beaf7687489.webp"},{name:"Google",url:"https://vibe.filesafe.space/1779029949023741031/attachments/143a69a0-a0bf-45cb-aeff-f381e668d867.webp"},{name:"WooCommerce",url:"https://vibe.filesafe.space/1779029949023741031/attachments/bc0a82cb-042b-4a30-8f76-ed3fb3feb6c7.webp"},{name:"LinkedIn",url:"https://vibe.filesafe.space/1779029949023741031/attachments/85622025-0bd4-440b-a527-1ff04a9d64d8.webp"},{name:"Slack",url:"https://vibe.filesafe.space/1779029949023741031/attachments/2d6f3150-2fb2-4f1a-8306-eacd1c76071d.webp"},{name:"Zapier",url:"https://vibe.filesafe.space/1779029949023741031/attachments/e5b9c82f-1296-4120-8bf7-415e575b3a83.webp"},{name:"QuickBooks",url:"https://vibe.filesafe.space/1779029949023741031/attachments/ff528613-a310-4218-a16e-441ec7d5265a.webp"},{name:"Facebook",url:"https://vibe.filesafe.space/1779029949023741031/attachments/50069011-4a22-40db-addd-889d5de2f57c.webp"}],h6=()=>{const{language:e}=fe();return i.jsx("section",{className:"py-24 bg-background overflow-hidden",children:i.jsxs("div",{className:"container px-4 md:px-6 mx-auto",children:[i.jsx("div",{className:"text-center max-w-3xl mx-auto mb-16",children:i.jsx("h2",{className:"text-3xl md:text-4xl font-bold mb-4",children:e==="fr"?"S'intègre à vos outils préférés":"Integrates With Your Favorite Tools"})}),i.jsx("div",{className:"relative w-full overflow-hidden before:absolute before:left-0 before:top-0 before:z-10 before:h-full before:w-[100px] before:bg-gradient-to-r before:from-background before:to-transparent after:absolute after:right-0 after:top-0 after:z-10 after:h-full after:w-[100px] after:bg-gradient-to-l after:from-background after:to-transparent",children:i.jsx(ve.div,{className:"flex w-fit",animate:{x:["0%","-50%"]},transition:{duration:20,ease:"linear",repeat:1/0},children:p6.map((t,n)=>i.jsx("div",{className:"flex items-center justify-center w-[200px] md:w-[250px] shrink-0 px-8",children:i.jsxs(F4,{children:[i.jsx(_4,{asChild:!0,children:i.jsx("img",{src:t.url,alt:`${t.name} logo`,className:"max-h-16 w-auto object-contain transition-all duration-300 hover:scale-110 cursor-help",loading:"lazy"})}),i.jsx(I1,{children:i.jsx("p",{className:"font-medium",children:t.name})})]})},n))})})]})})},g6=()=>{const{language:e}=fe();return i.jsxs("div",{className:"min-h-screen bg-background text-foreground selection:bg-primary/30",children:[i.jsx(zn,{}),i.jsxs("main",{children:[i.jsx(qO,{}),i.jsx(_F,{}),i.jsx(OF,{}),i.jsx(XO,{}),i.jsx(e8,{}),i.jsx(s8,{}),i.jsx(r8,{}),i.jsx(o8,{}),i.jsx(i8,{}),i.jsx($F,{}),i.jsx(f6,{}),i.jsx(m6,{}),i.jsx(FF,{}),i.jsx(nC,{}),i.jsx(BF,{}),i.jsx(h6,{}),i.jsx(J8,{}),i.jsx(Y8,{}),i.jsx(Q8,{}),i.jsx(cF,{}),i.jsx(RF,{}),i.jsx(LF,{})]}),i.jsx(Vn,{}),i.jsx("div",{className:"fixed bottom-6 left-1/2 -translate-x-1/2 w-[calc(100%-2rem)] max-w-sm z-50 md:hidden",children:i.jsx("a",{href:"/bookacall",className:"w-full",children:i.jsxs(he,{size:"lg",className:"w-full h-14 text-base bg-primary text-primary-foreground shadow-[0_0_30px_-5px_rgba(59,130,246,0.5)] rounded-full",children:[i.jsx(dc,{className:"w-5 h-5 mr-2"}),e==="fr"?"Réserver un appel":"Book A Call"]})})})]})},rg=()=>{const e=Jr();return h.useEffect(()=>{console.error("404 Error: User attempted to access non-existent route:",e.pathname)},[e.pathname]),i.jsx("div",{className:"flex min-h-screen items-center justify-center bg-muted",children:i.jsxs("div",{className:"text-center",children:[i.jsx("h1",{className:"mb-4 text-4xl font-bold",children:"404"}),i.jsx("p",{className:"mb-4 text-xl text-muted-foreground",children:"Oops! Page not found"}),i.jsx("a",{href:"/",className:"text-primary underline hover:text-primary/90",children:"Return to Home"})]})})},v6=()=>{const{language:e}=fe();return i.jsxs("div",{className:"min-h-screen bg-background text-foreground selection:bg-primary/30 flex flex-col",children:[i.jsx(zn,{}),i.jsxs("main",{className:"flex-grow pt-8 pb-24 container max-w-4xl",children:[i.jsx("h1",{className:"text-4xl md:text-5xl font-bold mb-8 text-foreground",children:e==="fr"?"Politique de Confidentialité":"Privacy Policy"}),i.jsx("div",{className:"prose prose-lg dark:prose-invert max-w-none text-muted-foreground space-y-6",children:e==="fr"?i.jsxs(i.Fragment,{children:[i.jsxs("p",{children:["Dernière mise à jour : ",new Date().toLocaleDateString("fr-FR")]}),i.jsx("h2",{className:"text-2xl font-semibold text-foreground mt-8 mb-4",children:"1. Introduction"}),i.jsx("p",{children:"Bienvenue chez Kr8tor.ai. Nous respectons votre vie privée et nous nous engageons à protéger vos données personnelles. Cette politique de confidentialité explique comment nous recueillons, utilisons et protégeons vos informations."}),i.jsx("h2",{className:"text-2xl font-semibold text-foreground mt-8 mb-4",children:"2. Données que nous collectons"}),i.jsx("p",{children:"Nous pouvons collecter des données personnelles telles que votre nom, adresse e-mail, numéro de téléphone, et les détails de votre entreprise lorsque vous utilisez notre site, réservez un appel ou utilisez nos services."}),i.jsx("h2",{className:"text-2xl font-semibold text-foreground mt-8 mb-4",children:"3. Comment nous utilisons vos données"}),i.jsx("p",{children:"Nous utilisons vos données pour :"}),i.jsxs("ul",{className:"list-disc pl-6 space-y-2",children:[i.jsx("li",{children:"Fournir et maintenir nos services d'automatisation et de CRM."}),i.jsx("li",{children:"Communiquer avec vous concernant vos rendez-vous et vos comptes."}),i.jsx("li",{children:"Améliorer nos offres et notre site web."}),i.jsx("li",{children:"Envoyer des communications marketing (avec votre consentement)."})]}),i.jsx("p",{children:"Nous ne vendons pas vos données personnelles à des tiers."}),i.jsx("h2",{className:"text-2xl font-semibold text-foreground mt-8 mb-4",children:"4. Sécurité des données"}),i.jsx("p",{children:"Nous mettons en Åuvre des mesures de sécurité appropriées et conformes aux normes de l'industrie pour protéger vos informations personnelles contre l'accès, la modification, la divulgation ou la destruction non autorisés."}),i.jsx("h2",{className:"text-2xl font-semibold text-foreground mt-8 mb-4",children:"5. Vos droits"}),i.jsx("p",{children:"Vous avez le droit d'accéder à vos données personnelles, de les corriger ou de demander leur suppression. Vous pouvez également vous désinscrire de nos communications à tout moment en répondant STOP aux SMS ou en cliquant sur le lien de désabonnement dans nos e-mails."}),i.jsx("h2",{className:"text-2xl font-semibold text-foreground mt-8 mb-4",children:"6. Contactez-nous"}),i.jsx("p",{children:"Si vous avez des questions concernant cette politique de confidentialité, veuillez nous contacter via les coordonnées fournies sur notre site web."})]}):i.jsxs(i.Fragment,{children:[i.jsxs("p",{children:["Last updated: ",new Date().toLocaleDateString("en-US")]}),i.jsx("h2",{className:"text-2xl font-semibold text-foreground mt-8 mb-4",children:"1. Introduction"}),i.jsx("p",{children:"Welcome to Kr8tor.ai. We respect your privacy and are committed to protecting your personal data. This Privacy Policy explains how we
394collect, use, and safeguard your information."}),i.jsx("h2",{className:"text-2xl font-semibold text-foreground mt-8 mb-4",children:"2. Data We Collect"}),i.jsx("p",{children:"We may collect personal data such as your name, email address, phone number, and business details when you interact with our site, book a call, or use our services."}),i.jsx("h2",{className:"text-2xl font-semibold text-foreground mt-8 mb-4",children:"3. How We Use Your Data"}),i.jsx("p",{children:"We use your data to:"}),i.jsxs("ul",{className:"list-disc pl-6 space-y-2",children:[i.jsx("li",{children:"Provide and maintain our automation and CRM services."}),i.jsx("li",{children:"Communicate with you regarding your appointments and accounts."}),i.jsx("li",{children:"Improve our offerings and website."}),i.jsx("li",{children:"Send marketing communications (with your consent)."})]}),i.jsx("p",{children:"We do not sell your personal data to third parties."}),i.jsx("h2",{className:"text-2xl font-semibold text-foreground mt-8 mb-4",children:"4. Data Security"}),i.jsx("p",{children:"We implement appropriate, industry-standard security measures to protect your personal information against unauthorized access, alteration, disclosure, or destruction."}),i.jsx("h2",{className:"text-2xl font-semibold text-foreground mt-8 mb-4",children:"5. Your Rights"}),i.jsx("p",{children:"You have the right to access, correct, or request the deletion of your personal data. You can also opt out of our communications at any time by replying STOP to SMS or clicking the unsubscribe link in our emails."}),i.jsx("h2",{className:"text-2xl font-semibold text-foreground mt-8 mb-4",children:"6. Contact Us"}),i.jsx("p",{children:"If you have any questions about this Privacy Policy, please contact us using the contact information provided on our website."})]})})]}),i.jsx(Vn,{})]})},y6=()=>{const{language:e}=fe();return i.jsxs("div",{className:"min-h-screen bg-background text-foreground selection:bg-primary/30 flex flex-col",children:[i.jsx(zn,{}),i.jsxs("main",{className:"flex-grow pt-8 pb-24 container max-w-4xl",children:[i.jsx("h1",{className:"text-4xl md:text-5xl font-bold mb-8 text-foreground",children:e==="fr"?"Conditions Générales":"Terms & Conditions"}),i.jsx("div",{className:"prose prose-lg dark:prose-invert max-w-none text-muted-foreground space-y-6",children:e==="fr"?i.jsxs(i.Fragment,{children:[i.jsxs("p",{children:["Dernière mise à jour : ",new Date().toLocaleDateString("fr-FR")]}),i.jsx("h2",{className:"text-2xl font-semibold text-foreground mt-8 mb-4",children:"1. Acceptation des conditions"}),i.jsx("p",{children:"En accédant au site web Kr8tor.ai et en utilisant nos services, vous acceptez d'être lié par ces Conditions Générales, toutes les lois et réglementations applicables, et acceptez que vous êtes responsable du respect de toutes les lois locales applicables."}),i.jsx("h2",{className:"text-2xl font-semibold text-foreground mt-8 mb-4",children:"2. Services"}),i.jsx("p",{children:"Kr8tor.ai fournit des systèmes d'automatisation de l'IA, des configurations CRM, la création d'entonnoirs de vente et des services de marketing. Nous nous réservons le droit de modifier, suspendre ou interrompre tout aspect de nos services à tout moment sans préavis."}),i.jsx("h2",{className:"text-2xl font-semibold text-foreground mt-8 mb-4",children:"3. Paiement et facturation"}),i.jsx("p",{children:"Les services sont facturés selon le plan tarifaire convenu lors de l'inscription. Tous les frais sont indiqués et facturés dans la devise spécifiée lors du paiement. Les frais d'installation et les frais d'abonnement mensuels sont non remboursables, sauf indication contraire explicite par écrit."}),i.jsx("h2",{className:"text-2xl font-semibold text-foreground mt-8 mb-4",children:"4. Propriété intellectuelle"}),i.jsx("p",{children:"Tout le contenu, les logiciels, les conceptions, les textes et les graphiques fournis par Kr8tor.ai restent notre propriété intellectuelle exclusive. Vous bénéficiez d'une licence limitée et non exclusive pour utiliser les systèmes que nous construisons pour votre entreprise, mais vous ne pouvez pas revendre ou redistribuer notre technologie propriétaire."}),i.jsx("h2",{className:"text-2xl font-semibold text-foreground mt-8 mb-4",children:"5. Communications des utilisateurs"}),i.jsx("p",{children:"En nous fournissant vos coordonnées, vous consentez à recevoir des communications par e-mail et SMS liées à nos services, mises à jour et offres promotionnelles. Vous pouvez vous désinscrire à tout moment."}),i.jsx("h2",{className:"text-2xl font-semibold text-foreground mt-8 mb-4",children:"6. Limitation de responsabilité"}),i.jsx("p",{children:"En aucun cas Kr8tor.ai ou ses fournisseurs ne seront responsables des dommages (y compris, sans s'y limiter, les dommages pour perte de données ou de profit, ou en raison d'une interruption d'activité) découlant de l'utilisation ou de l'impossibilité d'utiliser nos systèmes."}),i.jsx("h2",{className:"text-2xl font-semibold text-foreground mt-8 mb-4",children:"7. Droit applicable"}),i.jsx("p",{children:"Ces conditions générales sont régies et interprétées conformément aux lois applicables et vous vous soumettez irrévocablement à la compétence exclusive des tribunaux de votre juridiction."})]}):i.jsxs(i.Fragment,{children:[i.jsxs("p",{children:["Last updated: ",new Date().toLocaleDateString("en-US")]}),i.jsx("h2",{className:"text-2xl font-semibold text-foreground mt-8 mb-4",children:"1. Acceptance of Terms"}),i.jsx("p",{children:"By accessing the Kr8tor.ai website and using our services, you agree to be bound by these Terms & Conditions, all applicable laws and regulations, and agree that you are responsible for compliance with any applicable local laws."}),i.jsx("h2",{className:"text-2xl font-semibold text-foreground mt-8 mb-4",children:"2. Services"}),i.jsx("p",{children:"Kr8tor.ai provides AI automation systems, CRM setups, funnel building, and marketing services. We reserve the right to modify, suspend, or discontinue any aspect of our services at any time without notice."}),i.jsx("h2",{className:"text-2xl font-semibold text-foreground mt-8 mb-4",children:"3. Payment and Billing"}),i.jsx("p",{children:"Services are billed according to the pricing plan agreed upon during sign-up. All fees are stated and charged in the currency specified at checkout. Setup fees and monthly subscription charges are non-refundable unless explicitly stated otherwise in writing."}),i.jsx("h2",{className:"text-2xl font-semibold text-foreground mt-8 mb-4",children:"4. Intellectual Property"}
vendor: 10,912 bytes, lines 394-395
394),i.jsx("p",{children:"All content, software, designs, text, and graphics provided by Kr8tor.ai remain our exclusive intellectual property. You are granted a limited, non-exclusive license to use the systems we build for your business, but you may not resell or redistribute our proprietary technology."}),i.jsx("h2",{className:"text-2xl font-semibold text-foreground mt-8 mb-4",children:"5. User Communications"}),i.jsx("p",{children:"By providing us with your contact information, you consent to receive email and SMS communications related to our services, updates, and promotional offers. You may opt-out at any time."}),i.jsx("h2",{className:"text-2xl font-semibold text-foreground mt-8 mb-4",children:"6. Limitation of Liability"}),i.jsx("p",{children:"In no event shall Kr8tor.ai or its suppliers be liable for any damages (including, without limitation, damages for loss of data or profit, or due to business interruption) arising out of the use or inability to use our systems."}),i.jsx("h2",{className:"text-2xl font-semibold text-foreground mt-8 mb-4",children:"7. Governing Law"}),i.jsx("p",{children:"These terms and conditions are governed by and construed in accordance with applicable laws and you irrevocably submit to the exclusive jurisdiction of the courts in your location."})]})})]}),i.jsx(Vn,{})]})};var sg={};(function e(t,n,r,s){var o=!!(t.Worker&&t.Blob&&t.Promise&&t.OffscreenCanvas&&t.OffscreenCanvasRenderingContext2D&&t.HTMLCanvasElement&&t.HTMLCanvasElement.prototype.transferControlToOffscreen&&t.URL&&t.URL.createObjectURL),a=typeof Path2D=="function"&&typeof DOMMatrix=="function",l=function(){if(!t.OffscreenCanvas)return!1;try{var A=new OffscreenCanvas(1,1),k=A.getContext("2d");k.fillRect(0,0,1,1);var O=A.transferToImageBitmap();k.createPattern(O,"no-repeat")}catch{return!1}return!0}();function c(){}function u(A){var k=n.exports.Promise,O=k!==void 0?k:t.Promise;return typeof O=="function"?new O(A):(A(c,c),null)}var d=function(A,k){return{transform:function(O){if(A)return O;if(k.has(O))return k.get(O);var z=new OffscreenCanvas(O.width,O.height),W=z.getContext("2d");return W.drawImage(O,0,0),k.set(O,z),z},clear:function(){k.clear()}}}(l,new Map),f=function(){var A=Math.floor(16.666666666666668),k,O,z={},W=0;return typeof requestAnimationFrame=="function"&&typeof cancelAnimationFrame=="function"?(k=function(Y){var X=Math.random();return z[X]=requestAnimationFrame(function B(Z){W===Z||W+A-1<Z?(W=Z,delete z[X],Y()):z[X]=requestAnimationFrame(B)}),X},O=function(Y){z[Y]&&cancelAnimationFrame(z[Y])}):(k=function(Y){return setTimeout(Y,A)},O=function(Y){return clearTimeout(Y)}),{frame:k,cancel:O}}(),m=function(){var A,k,O={};function z(W){function Y(X,B){W.postMessage({options:X||{},callback:B})}W.init=function(B){var Z=B.transferControlToOffscreen();W.postMessage({canvas:Z},[Z])},W.fire=function(B,Z,oe){if(k)return Y(B,null),k;var ie=Math.random().toString(36).slice(2);return k=u(function(ee){function U(te){te.data.callback===ie&&(delete O[ie],W.removeEventListener("message",U),k=null,d.clear(),oe(),ee())}W.addEventListener("message",U),Y(B,ie),O[ie]=U.bind(null,{data:{callback:ie}})}),k},W.reset=function(){W.postMessage({reset:!0});for(var B in O)O[B](),delete O[B]}}return function(){if(A)return A;if(!r&&o){var W=["var CONFETTI, SIZE = {}, module = {};","("+e.toString()+")(this, module, true, SIZE);","onmessage = function(msg) {"," if (msg.data.options) {"," CONFETTI(msg.data.options).then(function () {"," if (msg.data.callback) {"," postMessage({ callback: msg.data.callback });"," }"," });"," } else if (msg.data.reset) {"," CONFETTI && CONFETTI.reset();"," } else if (msg.data.resize) {"," SIZE.width = msg.data.resize.width;"," SIZE.height = msg.data.resize.height;"," } else if (msg.data.canvas) {"," SIZE.width = msg.data.canvas.width;"," SIZE.height = msg.data.canvas.height;"," CONFETTI = module.exports.create(msg.data.canvas);"," }","}"].join(` 395`);try{A=new Worker(URL.createObjectURL(new Blob([W])))}catch(Y){return typeof console<"u"&&typeof console.warn=="function"&&console.warn("ð Could not load worker",Y),null}z(A)}return A}}(),p={particleCount:50,angle:90,spread:45,startVelocity:45,decay:.9,gravity:1,drift:0,ticks:200,x:.5,y:.5,shapes:["square","circle"],zIndex:100,colors:["#26ccff","#a25afd","#ff5e7e","#88ff5a","#fcff42","#ffa62d","#ff36ff"],disableForReducedMotion:!1,scalar:1};function w(A,k){return k?k(A):A}function v(A){return A!=null}function x(A,k,O){return w(A&&v(A[k])?A[k]:p[k],O)}function g(A){return A<0?0:Math.floor(A)}function y(A,k){return Math.floor(Math.random()*(k-A))+A}function b(A){return parseInt(A,16)}function S(A){return A.map(j)}function j(A){var k=String(A).replace(/[^0-9a-f]/gi,"");return k.length<6&&(k=k[0]+k[0]+k[1]+k[1]+k[2]+k[2]),{r:b(k.substring(0,2)),g:b(k.substring(2,4)),b:b(k.substring(4,6))}}function C(A){var k=x(A,"origin",Object);return k.x=x(k,"x",Number),k.y=x(k,"y",Number),k}function N(A){A.width=document.documentElement.clientWidth,A.height=document.documentElement.clientHeight}function E(A){var k=A.getBoundingClientRect();A.width=k.width,A.height=k.height}function T(A){var k=document.createElement("canvas");return k.style.position="fixed",k.style.top="0px",k.style.left="0px",k.style.pointerEvents="none",k.style.zIndex=A,k}function P(A,k,O,z,W,Y,X,B,Z){A.save(),A.translate(k,O),A.rotate(Y),A.scale(z,W),A.arc(0,0,1,X,B,Z),A.restore()}function I(A){var k=A.angle*(Math.PI/180),O=A.spread*(Math.PI/180);return{x:A.x,y:A.y,wobble:Math.random()*10,wobbleSpeed:Math.min(.11,Math.random()*.1+.05),velocity:A.startVelocity*.5+Math.random()*A.startVelocity,angle2D:-k+(.5*O-Math.random()*O),tiltAngle:(Math.random()*(.75-.25)+.25)*Math.PI,color:A.color,shape:A.shape,tick:0,totalTicks:A.ticks,decay:A.decay,drift:A.drift,random:Math.random()+2,tiltSin:0,tiltCos:0,wobbleX:0,wobbleY:0,gravity:A.gravity*3,ovalScalar:.6,scalar:A.scalar,flat:A.flat}}function F(A,k){k.x+=Math.cos(k.angle2D)*k.velocity+k.drift,k.y+=Math.sin(k.angle2D)*k.velocity+k.gravity,k.velocity*=k.decay,k.flat?(k.wobble=0,k.wobbleX=k.x+10*k.scalar,k.wobbleY=k.y+10*k.scalar,k.tiltSin=0,k.tiltCos=0,k.random=1):(k.wobble+=k.wobbleSpeed,k.wobbleX=k.x+10*k.scalar*Math.cos(k.wobble),k.wobbleY=k.y+10*k.scalar*Math.sin(k.wobble),k.tiltAngle+=.1,k.tiltSin=Math.sin(k.tiltAngle),k.tiltCos=Math.cos(k.tiltAngle),k.random=Math.random()+2);var O=k.tick++/k.totalTicks,z=k.x+k.random*k.tiltCos,W=k.y+k.random*k.tiltSin,Y=k.wobbleX+k.random*k.tiltCos,X=k.wobbleY+k.random*k.tiltSin;if(A.fillStyle="rgba("+k.color.r+", "+k.color.g+", "+k.color.b+", "+(1-O)+")",A.beginPath(),a&&k.shape.type==="path"&&typeof k.shape.path=="string"&&Array.isArray(k.shape.matrix))A.fill(G(k.shape.path,k.shape.matrix,k.x,k.y,Math.abs(Y-z)*.1,Math.abs(X-W)*.1,Math.PI/10*k.wobble));else if(k.shape.type==="bitmap"){var B=Math.PI/10*k.wobble,Z=Math.abs(Y-z)*.1,oe=Math.abs(X-W)*.1,ie=k.shape.bitmap.width*k.scalar,ee=k.shape.bitmap.height*k.scalar,U=new DOMMatrix([Math.cos(B)*Z,Math.sin(B)*Z,-Math.sin(B)*oe,Math.cos(B)*oe,k.x,k.y]);U.multiplySelf(new DOMMatrix(k.shape.matrix));var te=A.createPattern(d.transform(k.shape.bitmap),"no-repeat");te.setTransform(U),A.globalAlpha=1-O,A.fillStyle=te,A.fillRect(k.x-ie/2,k.y-ee/2,ie,ee),A.globalAlpha=1}else if(k.shape==="circle")A.ellipse?A.ellipse(k.x,k.y,Math.abs(Y-z)*k.ovalScalar,Math.abs(X-W)*k.ovalScalar,Math.PI/10*k.wobble,0,2*Math.PI):P(A,k.x,k.y,Math.abs(Y-z)*k.ovalScalar,Math.abs(X-W)*k.ovalScalar,Math.PI/10*k.wobble,0,2*Math.PI);else if(k.shape==="star")for(var J=Math.PI/2*3,pe=4*k.scalar,be=8*k.scalar,Ne=k.x,Re=k.y,Ie=5,$e=Math.PI/Ie;Ie--;)Ne=k.x+Math.cos(J)*be,Re=k.y+Math.sin(J)*be,A.lineTo(Ne,Re),J+=$e,Ne=k.x+Math.cos(J)*pe,Re=k.y+Math.sin(J)*pe,A.lineTo(Ne,Re),J+=$e;else A.moveTo(Math.floor(k.x),Math.floor(k.y)),A.lineTo(Math.floor(k.wobbleX),Math.floor(W)),A.lineTo(Math.floor(Y),Math.floor(X)),A.lineTo(Math.floor(z),Math.floor(k.wobbleY));return A.closePath(),A.fill(),k.tick<k.totalTicks}function H(A,k,O,z,W){var Y=k.slice(),X=A.getContext("2d"),B,Z,oe=u(function(ie){function ee(){B=Z=null,X.clearRect(0,0,z.width,z.height),d.clear(),W(),ie()}function U(){r&&!(z.width===s.width&&z.height===s.height)&&(z.width=A.width=s.width,z.height=A.height=s.height),!z.width&&!z.height&&(O(A),z.width=A.width,z.height=A.height),X.clearRect(0,0,z.width,z.height),Y=Y.filter(function(te){return F(X,te)}),Y.length?B=f.frame(U):ee()}B=f.frame(U),Z=ee});return{addFettis:function(ie){return Y=Y.concat(ie),oe},canvas:A,promise:oe,reset:function(){B&&f.cancel(B),Z&&Z()}}}function L(A,k){var O=!A,z=!!x(k||{},"resize"),W=!1,Y=x(k,"disableForReducedMotion",Boolean),X=o&&!!x(k||{},"useWorker"),B=X?m():null,Z=O?N:E,oe=A&&B?!!A.__confetti_initialized:!1,ie=typeof matchMedia=="function"&&matchMedia("(prefers-reduced-motion)").matches,ee;function U(J,pe,be){for(var Ne=x(J,"particleCount",g),Re=x(J,"angle",Number),Ie=x(J,"spread",Number),$e=x(J,"startVelocity",Number),kt=x(J,"decay",Number),sr=x(J,"gravity",Number),Et=x(J,"drift",Number),ts=x(J,"colors",S),zs=x(J,"ticks",Number),Je=x(J,"shapes"),Kt=x(J,"scalar"),Jo=!!x(J,"flat"),or=C(J),yt=Ne,Bn=[],ir=A.width*or.x,xn=A.height*or.y;yt--;)Bn.push(I({x:ir,y:xn,angle:Re,spread:Ie,startVelocity:$e,color:ts[yt%ts.length],shape:Je[y(0,Je.length)],ticks:zs,decay:kt,gravity:sr,drift:Et,scalar:Kt,flat:Jo}));return ee?ee.addFettis(Bn):(ee=H(A,Bn,Z,pe,be),ee.promise)}function te(J){var pe=Y||x(J,"disableForReducedMotion",Boolean),be=x(J,"zIndex",Number);if(pe&&ie)return u(function($e){$e()});O&&ee?A=ee.canvas:O&&!A&&(A=T(be),document.body.appendChild(A)),z&&!oe&&Z(A);var Ne={width:A.width,height:A.height};B&&!oe&&B.init(A),oe=!0,B&&(A.__confetti_initialized=!0);function Re(){if(B){var $e={getBoundingClientRect:function(){if(!O)return A.getBoundingClientRect()}};Z($e),B.postMessage({resize:{width:$e.width,height:$e.height}});return}Ne.width=Ne.height=null}function Ie(){ee=null,z&&(W=!1,t.removeEventListener("resize",Re)),O&&A&&(document.body.contains(A)&&document.body.removeChild(A),A=null,oe=!1)}return z&&!W&&(W=!0,t.addEventListener("resize",Re,!1)),B?B.fire(J,Ne,Ie):U(J,Ne,Ie)}return te.reset=function(){B&&B.reset(),ee&&ee.reset()},te}var q;function $(){return q||(q=L(null,{useWorker:!0,resize:!0})),q}function G(A,k,O,z,W,Y,X){var B=new Path2D(A),Z=new Path2D;Z.addPath(B,new DOMMatrix(k));var oe=new Path2D;return oe.addPath(Z,new DOMMatrix([Math.cos(X)*W,Math.sin(X)*W,-Math.sin(X)*Y,Math.cos(X)*Y,O,z])),oe}function M(A){if(!a)throw new Error("path confetti are not supported in this browser");var k,O;typeof A=="string"?k=A:(k=A.path,O=A.matrix);var z=new Path2D(k),W=document.createElement("canvas"),Y=W.getContext("2d");if(!O){for(var X=1e3,B=X,Z=X,oe=0,ie=0,ee,U,te=0;te<X;te+=2)for(var J=0;J<X;J+=2)Y.isPointInPath(z,te,J,"nonzero")&&(B=Math.min(B,te),Z=Math.min(Z,J),oe=Math.max(oe,te),ie=Math.max(ie,J));ee=oe-B,U=ie-Z;var pe=10,be=Math.min(pe/ee,pe/U);
395O=[be,0,0,be,-Math.round(ee/2+B)*be,-Math.round(U/2+Z)*be]}return{type:"path",path:k,matrix:O}}function R(A){var k,O=1,z="#000000",W='"Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", "EmojiOne Color", "Android Emoji", "Twemoji Mozilla", "system emoji", sans-serif';typeof A=="string"?k=A:(k=A.text,O="scalar"in A?A.scalar:O,W="fontFamily"in A?A.fontFamily:W,z="color"in A?A.color:z);var Y=10*O,X=""+Y+"px "+W,B=new OffscreenCanvas(Y,Y),Z=B.getContext("2d");Z.font=X;var oe=Z.measureText(k),ie=Math.ceil(oe.actualBoundingBoxRight+oe.actualBoundingBoxLeft),ee=Math.ceil(oe.actualBoundingBoxAscent+oe.actualBoundingBoxDescent),U=2,te=oe.actualBoundingBoxLeft+U,J=oe.actualBoundingBoxAscent+U;ie+=U+U,ee+=U+U,B=new OffscreenCanvas(ie,ee),Z=B.getContext("2d"),Z.font=X,Z.fillStyle=z,Z.fillText(k,te,J);var pe=1/O;return{type:"bitmap",bitmap:B.transferToImageBitmap(),matrix:[pe,0,0,pe,-ie*pe/2,-ee*pe/2]}}n.exports=function(){return $().apply(this,arguments)},n.exports.reset=function(){$().reset()},n.exports.create=L,n.exports.shapeFromPath=M,n.exports.shapeFromText=R})(function(){return typeof window<"u"?window:typeof self<"u"?self:this||{}}(),sg,!1);const xo=sg.exports;sg.exports.create;function x6(){const e=Y1();h.useEffect(()=>{const n=r=>{try{const s=typeof r.data=="string"?r.data:JSON.stringify(r.data||{});(s.includes("appointment-successful")||s.includes("booking-success")||s.includes("appointment_successful")||s.includes("schedule-success")||s.includes("appointment-created"))&&(t(),setTimeout(()=>{e("/thank-you")},2500))}catch{}};return window.addEventListener("message",n),()=>window.removeEventListener("message",n)},[e]);const t=()=>{const n=["#2563EB","#22D3EE","#111827","#ffffff"],s=Date.now()+4e3,o={startVelocity:35,spread:360,ticks:70,zIndex:1e5,colors:n},a=(c,u)=>Math.random()*(u-c)+c;xo({...o,particleCount:120,origin:{x:.5,y:.4}});const l=setInterval(()=>{const c=s-Date.now();if(c<=0)return clearInterval(l);const u=50*(c/4e3);xo({...o,particleCount:u,origin:{x:a(.1,.3),y:Math.random()-.2}}),xo({...o,particleCount:u,origin:{x:a(.7,.9),y:Math.random()-.2}})},250)}}var Kd="rovingFocusGroup.onEntryFocus",b6={bubbles:!1,cancelable:!0},Da="RovingFocusGroup",[$m,xC,w6]=ru(Da),[S6,bC]=gn(Da,[w6]),[j6,C6]=S6(Da),wC=h.forwardRef((e,t)=>i.jsx($m.Provider,{scope:e.__scopeRovingFocusGroup,children:i.jsx($m.Slot,{scope:e.__scopeRovingFocusGroup,children:i.jsx(N6,{...e,ref:t})})}));wC.displayName=Da;var N6=h.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:s=!1,dir:o,currentTabStopId:a,defaultCurrentTabStopId:l,onCurrentTabStopIdChange:c,onEntryFocus:u,preventScrollOnEntryFocus:d=!1,...f}=e,m=h.useRef(null),p=Ce(t,m),w=Iu(o),[v,x]=Fn({prop:a,defaultProp:l??null,onChange:c,caller:Da}),[g,y]=h.useState(!1),b=mn(u),S=xC(n),j=h.useRef(!1),[C,N]=h.useState(0);return h.useEffect(()=>{const E=m.current;if(E)return E.addEventListener(Kd,b),()=>E.removeEventListener(Kd,b)},[b]),i.jsx(j6,{scope:n,orientation:r,dir:w,loop:s,currentTabStopId:v,onItemFocus:h.useCallback(E=>x(E),[x]),onItemShiftTab:h.useCallback(()=>y(!0),[]),onFocusableItemAdd:h.useCallback(()=>N(E=>E+1),[]),onFocusableItemRemove:h.useCallback(()=>N(E=>E-1),[]),children:i.jsx(ce.div,{tabIndex:g||C===0?-1:0,"data-orientation":r,...f,ref:p,style:{outline:"none",...e.style},onMouseDown:ae(e.onMouseDown,()=>{j.current=!0}),onFocus:ae(e.onFocus,E=>{const T=!j.current;if(E.target===E.currentTarget&&T&&!g){const P=new CustomEvent(Kd,b6);if(E.currentTarget.dispatchEvent(P),!P.defaultPrevented){const I=S().filter($=>$.focusable),F=I.find($=>$.active),H=I.find($=>$.id===v),q=[F,H,...I].filter(Boolean).map($=>$.ref.current);CC(q,d)}}j.current=!1}),onBlur:ae(e.onBlur,()=>y(!1))})})}),SC="RovingFocusGroupItem",jC=h.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:s=!1,tabStopId:o,children:a,...l}=e,c=Vr(),u=o||c,d=C6(SC,n),f=d.currentTabStopId===u,m=xC(n),{onFocusableItemAdd:p,onFocusableItemRemove:w,currentTabStopId:v}=d;return h.useEffect(()=>{if(r)return p(),()=>w()}
vendor: 7,322 bytes, line 395
395,[r,p,w]),i.jsx($m.ItemSlot,{scope:n,id:u,focusable:r,active:s,children:i.jsx(ce.span,{tabIndex:f?0:-1,"data-orientation":d.orientation,...l,ref:t,onMouseDown:ae(e.onMouseDown,x=>{r?d.onItemFocus(u):x.preventDefault()}),onFocus:ae(e.onFocus,()=>d.onItemFocus(u)),onKeyDown:ae(e.onKeyDown,x=>{if(x.key==="Tab"&&x.shiftKey){d.onItemShiftTab();return}if(x.target!==x.currentTarget)return;const g=A6(x,d.orientation,d.dir);if(g!==void 0){if(x.metaKey||x.ctrlKey||x.altKey||x.shiftKey)return;x.preventDefault();let b=m().filter(S=>S.focusable).map(S=>S.ref.current);if(g==="last")b.reverse();else if(g==="prev"||g==="next"){g==="prev"&&b.reverse();const S=b.indexOf(x.currentTarget);b=d.loop?T6(b,S+1):b.slice(S+1)}setTimeout(()=>CC(b))}}),children:typeof a=="function"?a({isCurrentTabStop:f,hasTabStop:v!=null}):a})})});jC.displayName=SC;var k6={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function E6(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function A6(e,t,n){const r=E6(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return k6[r]}function CC(e,t=!1){const n=document.activeElement;for(const r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}function T6(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var P6=wC,M6=jC,Fu="Tabs",[R6]=gn(Fu,[bC]),NC=bC(),[I6,og]=R6(Fu),kC=h.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,onValueChange:s,defaultValue:o,orientation:a="horizontal",dir:l,activationMode:c="automatic",...u}=e,d=Iu(l),[f,m]=Fn({prop:r,onChange:s,defaultProp:o??"",caller:Fu});return i.jsx(I6,{scope:n,baseId:Vr(),value:f,onValueChange:m,orientation:a,dir:d,activationMode:c,children:i.jsx(ce.div,{dir:d,"data-orientation":a,...u,ref:t})})});kC.displayName=Fu;var EC="TabsList",AC=h.forwardRef((e,t)=>{const{__scopeTabs:n,loop:r=!0,...s}=e,o=og(EC,n),a=NC(n);return i.jsx(P6,{asChild:!0,...a,orientation:o.orientation,dir:o.dir,loop:r,children:i.jsx(ce.div,{role:"tablist","aria-orientation":o.orientation,...s,ref:t})})});AC.displayName=EC;var TC="TabsTrigger",PC=h.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,disabled:s=!1,...o}=e,a=og(TC,n),l=NC(n),c=IC(a.baseId,r),u=DC(a.baseId,r),d=r===a.value;return i.jsx(M6,{asChild:!0,...l,focusable:!s,active:d,children:i.jsx(ce.button,{type:"button",role:"tab","aria-selected":d,"aria-controls":u,"data-state":d?"active":"inactive","data-disabled":s?"":void 0,disabled:s,id:c,...o,ref:t,onMouseDown:ae(e.onMouseDown,f=>{!s&&f.button===0&&f.ctrlKey===!1?a.onValueChange(r):f.preventDefault()}),onKeyDown:ae(e.onKeyDown,f=>{[" ","Enter"].includes(f.key)&&a.onValueChange(r)}),onFocus:ae(e.onFocus,()=>{const f=a.activationMode!=="manual";!d&&!s&&f&&a.onValueChange(r)})})})});PC.displayName=TC;var MC="TabsContent",RC=h.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,forceMount:s,children:o,...a}=e,l=og(MC,n),c=IC(l.baseId,r),u=DC(l.baseId,r),d=r===l.value,f=h.useRef(d);return h.useEffect(()=>{const m=requestAnimationFrame(()=>f.current=!1);return()=>cancelAnimationFrame(m)},[]),i.jsx(Zr,{present:s||d,children:({present:m})=>i.jsx(ce.div,{"data-state":d?"active":"inactive","data-orientation":l.orientation,role:"tabpanel","aria-labelledby":c,hidden:!m,id:u,tabIndex:0,...a,ref:t,style:{...e.style,animationDuration:f.current?"0s":void 0},children:m&&o})})});RC.displayName=MC;function IC(e,t){return`${e}-trigger-${t}`}function DC(e,t){return`${e}-content-${t}`}var D6=kC,LC=AC,OC=PC,FC=RC;const L6=D6,_C=h.forwardRef(({className:e,...t},n)=>i.jsx(LC,{ref:n,className:ue("inline-flex h-10 items-center justify-center rounded-md bg-muted p-1 text-muted-foreground",e),...t}));_C.displayName=LC.displayName;const zC=h.forwardRef(({className:e,...t},n)=>i.jsx(OC,{ref:n,className:ue("inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-background transition-all data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",e),...t}));zC.displayName=OC.displayName;const VC=h.forwardRef(({className:e,...t},n)=>i.jsx(FC,{ref:n,className:ue("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",e),...t}));VC.displayName=FC.displayName;const O6=()=>{const{language:e}=fe(),[t,n]=h.useState(!0);return x6(),h.useEffect(()=>{if(!document.querySelector('script[src="https://link.kr8tor.ai/js/form_embed.js"]')){const r=document.createElement("script");r.src="https://link.kr8tor.ai/js/form_embed.js",r.type="text/javascript",document.body.appendChild(r)}},[]),i.jsxs("div",{className:"min-h-screen bg-background text-foreground flex flex-col",children:[i.jsx(zn,{}),i.jsx("main",{className:"flex-1 pt-8 pb-12",children:i.jsxs("div",{className:"container mx-auto px-4 max-w-4xl",children:[i.jsxs("div",{className:"text-center mb-8",children:[i.jsx("h1",{className:"text-3xl md:text-5xl font-bold mb-4",children:e==="fr"?"Réserver un Appel":"Book a Strategy Call"}),i.jsx("p",{className:"text-muted-foreground text-lg",children:e==="fr"?"Choisissez une heure qui vous convient ci-dessous.":"Choose a time that works for you below."})]}),i.jsxs(L6,{defaultValue:"book",className:"w-full",children:[i.jsx(_C,{className:"grid w-full grid-cols-1 mb-8 max-w-[200px] mx-auto",children:i.jsx(zC,{value:"book",children:e==="fr"?"Réserver un Appel":"Book A Call"})}),i.jsx(VC,{value:"book",className:"mt-0",children:i.jsxs("div",{className:"relative bg-card border border-border rounded-2xl shadow-xl overflow-hidden min-h-[700px] w-full p-4 md:p-8",children:[i.jsx("div",{className:"text-center mb-6",children:i.jsx("h2",{className:"text-2xl font-bold",children:e==="fr"?"Planifions un appel":"Let's get on a call"})}),t&&i.jsx("div",{className:"absolute inset-0 flex items-center justify-center bg-card z-10 rounded-2xl",children:i.jsx(zw,{className:"w-8 h-8 animate-spin text-primary"})}),i.jsx("iframe",{src:"https://link.kr8tor.ai/widget/booking/NX9I1KptJDkQr0AH58HF",allow:"payment",style:{width:"100%",border:"none",overflow:"auto",minHeight:"700px"},scrolling:"yes",id:"gkk38IWoOE4wyXz5FZJ4_1787588804075",title:"Booking Calendar",onLoad:()=>n(!1)})]})})]})]})}),i.jsx(Vn,{})]})},F6=()=>{const{language:e}=fe(),[t,n]=h.useState(""),[r,s]=h.useState(""),[o,a]=h.useState(""),[l,c]=h.useState(!1),u=async d=>{if(d.preventDefault(),!t||!r||!o){yd.error(e==="fr"?"Veuillez remplir tous les champs":"Please fill in all fields");return}c(!0);try{fetch("https://formsubmit.co/ajax/[email protected]",{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({_subject:"New Free Sample Request from Kr8tor.ai",email:r,phone:o,website_url:t})}).catch(()=>{}),fetch("https://backend.leadconnectorhq.com/contacts/",{method:"POST",headers:{"Content-Type":"application/json",version:"2021-07-28"},body:JSON.stringify({locationId:"FIGYqmaP870ddXvwutnh",email:r,phone:o,website:t.startsWith("http")?t:`https://${t}`,source:"Free Sample Request - Kr8tor.ai",tags:["free-sample-request"],
395customFields:[{key:"website_url",field_value:t}]})}).catch(()=>{});const f=(p,w={})=>{var S;const{customFields:v={},fileFields:x={},imageDataFields:g={}}=w,y={...p,formData:{...p.formData},formLabels:{...p.formLabels}},b=new FormData;for(const[j,C]of Object.entries(v))C.value!==void 0&&(y.formData[j]=C.value,y.formLabels[j]=C.label);for(const[j,C]of Object.entries(g)){const N=C.dataUrl;if(N){if(!N.startsWith("data:image/"))throw new Error("Image data field must be a data:image/* base64 string");y.formData[j]=N,y.formLabels[j]=C.label}}for(const[j,C]of Object.entries(x)){const N=C.file;if(N){if(N.size>50*1024*1024)throw new Error("File must be 50 MB or smaller");y.formData[j]={filename:N.name,size:N.size,type:N.type||"application/octet-stream"},y.formLabels[j]=C.label,b.append(j,N,N.name)}}for(const j of Object.keys(y.formData))(S=y.formLabels)[j]||(S[j]=j);b.append("event",JSON.stringify(y)),fetch("https://backend.leadconnectorhq.com/external-tracking/events",{method:"POST",headers:{version:"2021-07-28"},body:b}).catch(()=>{})},m={type:"external_form_submission",timestamp:Date.now(),formId:"Free Sample Request Form",formData:{email:r,phone:o,website:t},formLabels:{email:"Email",phone:"Phone Number",website:"Website URL"},url:window.location.href,title:document.title,path:window.location.pathname,userAgent:navigator.userAgent,trackingId:"tk_61e13f85ab2e457fb8102d5040b64cd4",locationId:"FIGYqmaP870ddXvwutnh",sessionId:crypto.randomUUID(),properties:{deviceType:/Mobile|Android|iPhone/i.test(navigator.userAgent)?"mobile":"desktop"}};f(m),yd.success(e==="fr"?"Demande envoyée avec succès ! Nous vous contacterons bientôt.":"Request sent successfully! We will contact you soon."),n(""),s(""),a("")}catch{yd.error(e==="fr"?"Une erreur est survenue.":"An error occurred.")}finally{c(!1)}};return i.jsxs("div",{className:"min-h-screen bg-background text-foreground selection:bg-primary/30 flex flex-col",children:[i.jsx(zn,{}),i.jsx("main",{className:"flex-grow pt-8 pb-16",children:i.jsx("div",{className:"container mx-auto px-4",children:i.jsxs("div",{className:"max-w-5xl mx-auto text-center mb-16",children:[i.jsxs("div",{className:"inline-flex items-center gap-2 px-3 py-1 rounded-full bg-secondary border border-border text-sm font-medium text-primary mb-6",children:[i.jsx(hc,{className:"w-4 h-4"}),e==="fr"?"Livraison Rapide en 48 Heures":"Lightning Fast 48-Hour Delivery"]}),i.jsx("h1",{className:"text-4xl md:text-6xl font-bold mb-6 tracking-tight whitespace-pre-line",children:e==="fr"?`Obtenez un Entonnoir à Haute Conversion 396en 48 Heures`:`Get a High-Converting Funnel 397Built in 48 Hours`}),i.jsx("p",{className:"text-xl text-muted-foreground mb-12 max-w-2xl mx-auto",children:e==="fr"?"Entrez l'URL de votre site web actuel ci-dessous pour obtenir un échantillon gratuit de ce à quoi votre nouveau site propulsé par l'IA pourrait ressembler.":"Enter your current website link below to get a free custom sample of what your new AI-powered website could look like."}),i.jsxs("div",{className:"bg-card border border-border rounded-2xl p-6 md:p-8 shadow-xl max-w-2xl mx-auto relative overflow-hidden mb-20",children:[i.jsx("div",{className:"absolute top-0 left-0 w-full h-1 bg-gradient-to-r from-primary to-cyan-500"}),i.jsxs("form",{onSubmit:u,className:"flex flex-col gap-4",children:[i.jsxs("div",{className:"relative",children:[i.jsx(Uo,{className:"absolute left-3 top-1/2 -translate-y-1/2 text-muted-foreground w-5 h-5"}),i.jsx(yo,{type:"text",placeholder:e==="fr"?"votre-site.com":"your-website.com",className:"pl-10 h-14 text-lg bg-background",value:t,onChange:d=>n(d.target.value),required:!0})]}),i.jsxs("div",{className:"relative",children:[i.jsx(Vw,{className:"absolute left-3 top-1/2 -translate-y-1/2 text-muted-foreground w-5 h-5"}),i.jsx(yo,{type:"email",placeholder:e==="fr"?"[email protected]":"[email protected]",className:"pl-10 h-14 text-lg bg-background",value:r,onChange:d=>s(d.target.value),required:!0})]}),i.jsxs("div",{className:"relative",children:[i.jsx(Na,{className:"absolute left-3 top-1/2 -translate-y-1/2 text-muted-foreground w-5 h-5"}),i.jsx(yo,{type:"tel",placeholder:e==="fr"?"Numéro de téléphone":"Phone number",className:"pl-10 h-14 text-lg bg-background",value:o,onChange:d=>
397a(d.target.value),required:!0})]}),i.jsxs(he,{type:"submit",size:"lg",className:"h-14 text-lg mt-2 w-full bg-primary text-primary-foreground hover:bg-primary/90",disabled:l,children:[l?e==="fr"?"Génération...":"Generating...":e==="fr"?"Obtenir Mon Ãchantillon Gratuit":"Get My Free Sample",!l&&i.jsx(Nt,{className:"ml-2 w-5 h-5"})]})]})]}),i.jsxs("div",{className:"mb-8",children:[i.jsx("h2",{className:"text-3xl font-bold text-center mb-10",children:e==="fr"?"Exemples Récents":"Recent Portfolio"}),i.jsxs("div",{className:"flex flex-col gap-10 max-w-3xl mx-auto",children:[i.jsx("div",{className:"rounded-xl overflow-hidden border border-border shadow-lg bg-card",children:i.jsx("img",{src:"https://vibe.filesafe.space/1779029949023741031/attachments/f40ca9d6-0f15-45bc-8f0b-9459e7ee621a.png",alt:"Portfolio 1",className:"w-full h-auto object-cover"})}),i.jsx("div",{className:"rounded-xl overflow-hidden border border-border shadow-lg bg-card",children:i.jsx("img",{src:"https://vibe.filesafe.space/1779029949023741031/attachments/92d30f5f-a13c-4c22-991f-07e17bc82486.png",alt:"Portfolio 2",className:"w-full h-auto object-cover"})})]})]})]})})}),i.jsx(nC,{}),i.jsx(Vn,{})]})},_6=()=>{const e=["#2563EB","#22D3EE","#111827","#ffffff"],n=Date.now()+5e3,r={startVelocity:35,spread:360,ticks:70,zIndex:1e5,colors:e},s=(a,l)=>Math.random()*(l-a)+a;xo({...r,particleCount:120,origin:{x:.5,y:.4}});const o=setInterval(()=>{const a=n-Date.now();if(a<=0)return clearInterval(o);const l=50*(a/5e3);xo({...r,particleCount:l,origin:{x:s(.1,.3),y:Math.random()-.2}}),xo({...r,particleCount:l,origin:{x:s(.7,.9),y:Math.random()-.2}})},250)},z6=()=>{const{language:e}=fe();return h.useEffect(()=>{_6()},[]),i.jsxs("div",{className:"min-h-screen bg-background text-foreground flex flex-col",children:[i.jsx(zn,{}),i.jsx("main",{className:"flex-1 flex items-center justify-center pt-8 pb-20",children:i.jsxs("div",{className:"container max-w-2xl mx-auto px-4 text-center",children:[i.jsx("div",{className:"inline-flex items-center justify-center w-24 h-24 rounded-full bg-primary/10 text-primary mb-8",children:i.jsx(Os,{className:"w-12 h-12"})}),i.jsx("h1",{className:"text-4xl md:text-5xl font-bold mb-6",children:e==="fr"?"Merci !":"Thank You!"}),i.jsx("p",{className:"text-xl text-muted-foreground mb-10",children:e==="fr"?"Votre appel a été réservé avec succès. Nous avons hâte de parler avec vous et de vous aider à développer votre entreprise.":"Your call has been successfully booked. We look forward to speaking with you and helping you scale your business."}),i.jsx(he,{asChild:!0,size:"lg",children:i.jsx(um,{to:"/",children:e==="fr"?"Retour à l'accueil":"Return to Home"})})]})}),i.jsx(Vn,{})]})},V6=()=>{const{language:e}=fe();return i.jsxs("div",{className:"min-h-screen flex flex-col bg-background text-foreground selection:bg-primary/30",children:[i.jsx(zn,{}),i.jsx("main",{className:"flex-1 flex items-center justify-center py-20 px-4",children:i.jsxs("div",{className:"w-full max-w-md
397space-y-8 text-center",children:[i.jsx("div",{className:"flex justify-center",children:i.jsx("img",{src:"user-uploads://30ce7674-0f27-481d-be3e-99d313433edd.webp",alt:"Kr8tor AI",className:"w-64 h-auto sm:w-80 animate-float"})}),i.jsxs("div",{className:"space-y-2",children:[i.jsx("h1",{className:"text-3xl font-bold tracking-tighter sm:text-4xl",children:e==="fr"?"Bienvenue sur Kr8tor.ai":"Welcome to Kr8tor.ai"}),i.jsx("p",{className:"text-muted-foreground",children:e==="fr"?"Choisissez une option ci-dessous pour continuer.":"Choose an option below to continue."})]}),i.jsxs("div",{className:"space-y-6 pt-8",children:[i.jsxs("div",{className:"p-6 border border-border bg-card rounded-xl shadow-sm space-y-4",children:[i.jsx("h2",{className:"text-xl font-semibold",children:e==="fr"?"Nouveau ici ?":"New here?"}),i.jsx("p",{className:"text-sm text-muted-foreground",children:e==="fr"?"Inscrivez-vous à notre forfait de base à 297 $ et commencez à automatiser votre entreprise.":"Sign up for our $297 Basic Plan and start automating your business."}),i.jsx(he,{asChild:!0,className:"w-full h-12 text-base font-medium shadow-lg hover:shadow-primary/25 transition-all",children:i.jsxs("a",{href:"https://buy.stripe.com/14A5kCgFJelE5Kzgl7bfO1O",target:"_blank",rel:"noopener noreferrer",children:[e==="fr"?"S'inscrire au forfait de base":"Sign up for Basic Plan",i.jsx(Nt,{className:"w-4 h-4 ml-2"})]})})]}),i.jsx("div",{className:"pt-4",children:i.jsxs("a",{href:"https://app.kr8tor.ai/",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center justify-center text-base font-bold text-destructive hover:text-destructive/80 transition-colors",children:[i.jsx(jA,{className:"w-5 h-5 mr-2"}),e==="fr"?"Membres existants : Connectez-vous ici":"Existing members: Log in here"]})})]})]})}),i.jsx(Vn,{})]})},Gd=["https://assets.cdn.filesafe.space/FIGYqmaP870ddXvwutnh/media/632e5f929fdebb48d9617dca.jpeg","https://assets.cdn.filesafe.space/FIGYqmaP870ddXvwutnh/media/632e5f929fdebbfc2d617dc8.jpeg","https://assets.cdn.filesafe.space/FIGYqmaP870ddXvwutnh/media/632e5f929fdebb38f3617dc3.jpeg","https://assets.cdn.filesafe.space/FIGYqmaP870ddXvwutnh/media/632e5f929fdebba79b617dc4.jpeg","https://assets.cdn.filesafe.space/FIGYqmaP870ddXvwutnh/media/632e5f929fdebb2685617dc6.jpeg"],B6=()=>{const{language:e}=fe(),[t,n]=h.useState(0),r=h.useCallback(()=>n(s=>(s+1)%Gd.length),[]);return h.useEffect(()=>{const s=setInterval(r,4e3);return()=>clearInterval(s)},[r]),i.jsxs("div",{className:"min-h-screen bg-background text-foreground",children:[i.jsxs("section",{className:"relative py-24 md:py-32 overflow-hidden",children:[i.jsx("div",{className:"absolute inset-0 bg-[radial-gradient(ellipse_at_top_right,_var(--tw-gradient-stops))] from-primary/10 via-background to-background pointer-events-none"}),i.jsx("div",{className:"container mx-auto px-4 relative z-10",children:i.jsxs("div",{className:"grid lg:grid-cols-2 gap-16 items-center",children:[i.jsxs("div",{children:[i.jsxs("div",{className:"inline-flex items-center gap-2 bg-primary/10 border border-primary/30 rounded-full px-4 py-2 mb-6",children:[i.jsx(Nv,{className:"w-4 h-4 text-primary"}),i.jsx("span",{className:"text-sm font-semibold text-primary uppercase tracking-wide",children:e==="fr"?"Expert Certifié & Fondateur":"Certified Expert & Founder"})]}),i.jsxs("h1",{className:"text-5xl md:text-7xl font-bold mb-6 leading-tight",children:["Dimi ",i.jsx("span",{className:"text-transparent bg-clip-text bg-gradient-to-r from-primary to-[#22D3EE]",children:"Bones"})]}),i.jsx("p",{className:"text-xl md:text-2xl text-muted-foreground mb-6 leading-relaxed max-w-lg",children:e==="fr"?"Fondateur de Kr8tor.Ai â Expert en automatisation certifié, passionné par l'aide aux entreprises à scaler grâce à la puissance de l'IA et des systèmes numériques.":"Founder of Kr8tor.AI â Certified Automation Expert, passionate about helping businesses scale through AI-powered systems and digital technology."}),i.jsx("p",{className:"text-muted-foreground mb-8 leading-relaxed",children:e==="fr"?"Avec des années d'expérience dans le marketing digital, l'automatisation et les systèmes CRM, Dimi a aidé des dizaines d'entreprises à transformer leurs opérations, capturer plus de leads et fermer davantage de ventes â le tout automatiquement."
397:"With years of experience in digital marketing, automation, and CRM systems, Dimi has helped dozens of businesses transform their operations, capture more leads, and close more sales â all on autopilot."}),i.jsx("div",{className:"flex flex-col sm:flex-row gap-4",children:i.jsx("a",{href:"/bookacall",className:"w-full sm:w-auto",children:i.jsxs(he,{size:"lg",className:"w-full h-14 px-8 bg-primary text-primary-foreground hover:bg-primary/90 shadow-[0_0_40px_-10px_rgba(37,99,235,0.5)]",children:[e==="fr"?"Réserver un appel avec Dimi":"Book a Call with Dimi",i.jsx(fc,{className:"ml-2 w-5 h-5"})]})})})]}),i.jsxs("div",{className:"relative",children:[i.jsxs("div",{className:"relative rounded-3xl overflow-hidden shadow-2xl shadow-primary/20",children:[i.jsx("img",{src:"https://vibe.filesafe.space/1779029949023741031/attachments/100c7921-a904-4518-a300-59e18c11171c.png",alt:e==="fr"?"Dimi Bones - Prix SaaSpreneur":"Dimi Bones - SaaSpreneur Award",className:"w-full h-auto object-cover"}),i.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-primary/20 to-transparent pointer-events-none"})]}),i.jsx("div",{className:"absolute -bottom-6 -left-6 bg-secondary border border-border rounded-2xl p-4 shadow-xl",children:i.jsxs("div",{className:"flex items-center gap-3",children:[i.jsx("div",{className:"bg-primary/10 rounded-xl p-3",children:i.jsx(Nv,{className:"w-8 h-8 text-primary"})}),i.jsxs("div",{children:[i.jsx("p",{className:"text-sm font-semibold",children:e==="fr"?"Prix Remporté":"Award Won"}),i.jsx("p",{className:"text-xs text-muted-foreground",children:"SaaSpreneur 2024"})]})]})})]})]})})]}),i.jsx("section",{className:"py-20",children:i.jsx("div",{className:"container mx-auto px-4",children:i.jsxs("div",{className:"max-w-4xl mx-auto",children:[i.jsxs("div",{className:"relative rounded-3xl overflow-hidden shadow-2xl shadow-primary/20 aspect-[16/10] bg-secondary",children:[i.jsx(Ma,{mode:"wait",children:i.jsx(ve.img,{src:Gd[t],alt:`Dimi Bones â ${t+1}`,initial:{opacity:0,scale:1.05},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.98},transition:{duration:.6},className:"absolute inset-0 w-full h-full object-cover"},t)}),i.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/40 to-transparent pointer-events-none"})]}),i.jsx("div",{className:"flex justify-center gap-2 mt-6",children:Gd.map((s,o)=>i.jsx("button",{onClick:()=>n(o),"aria-label":`Slide ${o+1}`,className:`h-2.5 rounded-full transition-all ${o===t?"w-8 bg-primary":"w-2.5 bg-muted-foreground/40 hover:bg-muted-foreground/70"}`},o))})]})})}),i.jsx("section",{className:"py-20 bg-secondary/30",children:i.jsxs("div",{className:"container mx-auto px-4",children:[i.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-center mb-16",children:e==="fr"?"Expertises & Certifications":"Expertise & Certifications"}),i.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-4 gap-6",children:[{icon:i.jsx(hc,{className:"w-7 h-7"}),title:e==="fr"?"Expert Automatisation IA":"AI Automation Expert",desc:e==="fr"?"Systèmes avancés pour automatiser les ventes, le marketing et le service client.":"Advanced systems for automating sales, marketing, and customer service."},{icon:i.jsx(Uw,{className:"w-7 h-7"}),title:e==="fr"?"Stratégie de Croissance":"Growth Strategy",desc:e==="fr"?"Plans personnalisés pour aider les entreprises à scaler rapidement.":"Customized plans to help businesses scale quickly."},{icon:i.jsx(pc,{className:"w-7 h-7"}),title:"CRM & Pipelines",desc:e==="fr"?"Gestion complète des leads, opportunités et suivi client.":"Full lead management, opportunities, and customer follow-up."},{icon:i.jsx(Uo,{className:"w-7 h-7"}),title:e==="fr"?"Marketing Digital":"Digital Marketing",desc:e==="fr"?"SEO, publicité payante, funnels et génération de leads.":"SEO, paid advertising, funnels, and lead generation."}].map((s,o)=>i.jsxs("div",{className:"group bg-background border border-border rounded-2xl p-6 hover:border-primary/50 hover:shadow-lg transition-all duration-300",children:[i.jsx("div",{className:"bg-primary/10 text-primary rounded-xl w-fit p-3 mb-4 group-hover:bg-primary group-hover:text-white transition-colors",children:s.icon}),i.jsx("h3",{className:"font-bold text-lg mb-2",children:s.title}),i.jsx("p",{className:"text-sm text-muted-foreground",children:s.desc})]},o))})]})}),i.jsx("section",{className:"py-24",children:i.jsx("div",{className:"container mx-auto px-4",children:i.jsxs("div",{className:"max-w-4xl mx-auto text-center",children:[i.jsx("h2",{className:"text-3xl md:text-5xl font-bold mb-8",children:e==="fr"?"La Mission de Kr8tor.Ai":"The Kr8tor.AI Mission"}),i.jsx("p",{className:"text-xl text-muted-foreground leading-relaxed mb-12",children:e==="fr"?`"Je crois que chaque entreprise mérite accès aux mêmes outils et systèmes que les grandes entreprises. Chez Kr8tor.Ai, nous démocratisons l'IA et l'automatisation pour que les entrepreneurs puissent se concentrer sur ce qu'ils font le mieux â servir leur
397s clients."`:'"I believe every business deserves access to the same tools and systems as big companies. At Kr8tor.AI, we democratize AI and automation so entrepreneurs can focus on what they do best â serving their clients."'}),i.jsx("p",{className:"text-2xl font-bold text-transparent bg-clip-text bg-gradient-to-r from-primary to-[#22D3EE]",children:"â Dimi Bones"})]})})}),i.jsx("section",{className:"py-20 bg-gradient-to-b from-primary/5 to-background",children:i.jsxs("div",{className:"container mx-auto px-4 text-center",children:[i.jsx("h2",{className:"text-3xl md:text-4xl font-bold mb-6",children:e==="fr"?"Prêt à transformer votre entreprise ?":"Ready to Transform Your Business?"}),i.jsx("p",{className:"text-xl text-muted-foreground mb-8 max-w-2xl mx-auto",children:e==="fr"?"Réservez un appel stratégique gratuit avec Dimi et découvrez comment Kr8tor.Ai peut vous aider à automatiser, scaler et croître.":"Book a free strategy call with Dimi and discover how Kr8tor.AI can help you automate, scale, and grow."}),i.jsx("a",{href:"/bookacall",children:i.jsxs(he,{size:"lg",className:"h-14 px-10 text-lg bg-primary text-primary-foreground hover:bg-primary/90 shadow-[0_0_40px_-10px_rgba(37,99,235,0.5)]",children:[e==="fr"?"Réserver mon appel gratuit":"Book My Free Call",i.jsx(fc,{className:"ml-2 w-5 h-5"})]})})]})})]})},qs=(e,t,n,r)=>{let s=document.head.querySelector(e);s||(s=document.createElement("meta"),s.setAttribute(t,n),document.head.appendChild(s)),s.setAttribute("content",r)},$6=(e,t)=>{let n=document.head.querySelector(`link[rel="${e}"]`);n||(n=document.createElement("link"),n.setAttribute("rel",e),document.head.appendChild(n)),n.setAttribute("href",t)},ig=({title:e,description:t,canonical:n,jsonLd:r})=>{h.useEffect(()=>{document.title=e,qs('meta[name="description"]',"name","description",t),qs('meta[property="og:title"]',"property","og:title",e),qs('meta[property="og:description"]',"property","og:description",t),qs('meta[name="twitter:title"]',"name","twitter:title",e),qs('meta[name="twitter:description"]',"name","twitter:description",t),n&&($6("canonical",n),qs('meta[property="og:url"]',"property","og:url",n));const s=document.getElementById("page-jsonld");if(s&&s.remove(),r){const o=document.createElement("script");o.type="application/ld+json",o.id="page-jsonld",o.textContent=JSON.stringify(r),document.head.appendChild(o)}return()=>{const o=document.getElementById("page-jsonld");o&&o.remove()}},[e,t,n,r])},Yd="https://link.kr8tor.ai/preview/hv6uTCHZpJbLMeZcpVX3";function W6(){const{language:e}=fe(),t=e==="fr";ig({title:t?"Création d'Entonnoir Web â 1 500 $ | Kr8tor.Ai":"Website Funnel Build â $1,500 | Kr8tor.Ai",description:t?"Entonnoir de site web à haute conversion, livré en 48 heures. Conception mobile, formulaires de capture de leads, intégration de réservation de calendrier et configuration de base du CRM.":"High-converting website funnel delivered in 48 hours. Mobile design, lead capture forms, calendar booking integration, and basic CRM setup. One-time $1,500.",canonical:"https://kr8tor.ai/website-funnel-build"});const n=["High-Converting Website Funnel","Mobile & Responsive Design","Optimized Landing Page","Lead Capture Forms","Calendar Booking Integration","Basic CRM Setup","Speed Optimization","48-Hour Delivery"],r=["Entonnoir de site web à haute conversion","Conception mobile et responsive","Page de destination optimisée","Formulaires de capture de leads","Intégration de réservation de calendrier","Configuration de base du CRM","Optimisation de la vitesse de chargement","Livraison en 48 heures"],a=t?[{icon:Zi,title:"Découverte & Stratégie",desc:"Nous apprenons à connaître votre entreprise, vos objectifs et votre audience pour concevoir un entonnoir qui convertit."},{icon:hc,title:"Construction & Optimisation",desc:"Nous concevons votre entonnoir à haute conversion avec capture de leads, réservation et intégration CRM."},{icon:mc,title:"Mobile & Vitesse",desc:"Chaque page est responsive et optimisée pour la vitesse pour la meilleure expérience utilisateur."},{icon:Ss,title:"Livré en 48 Heures",desc:"Votre entonnoir complet est construit, testé et livré en 48 heures."}]:[{icon:Zi,title:"Discovery & Strategy",desc:"We learn about your business, goals, and audience to design a funnel that converts."},{icon:hc,title:"Build & Optimize",desc:"We design your high-converting funnel with lead capture, booking, and CRM integration."},{icon:mc,title:"Mobile & Speed",desc:"Every page is mobile-responsive and speed-optimized for the best user experience."},{icon:Ss,title:"Delivered in 48 Hours",desc:"Your complete funnel is built, tested, and delivered within 48 hours."}
397],l=t?r:n;return i.jsxs("div",{className:"min-h-screen bg-background text-foreground",children:[i.jsx(zn,{}),i.jsxs("main",{children:[i.jsxs("section",{className:"relative pt-32 pb-20 overflow-hidden",children:[i.jsx("div",{className:"absolute inset-0 bg-[radial-gradient(ellipse_at_top,_var(--tw-gradient-stops))] from-primary/15 via-background to-background pointer-events-none"}),i.jsx("div",{className:"container mx-auto px-4 relative z-10",children:i.jsxs("div",{className:"grid lg:grid-cols-2 gap-12 items-center max-w-6xl mx-auto",children:[i.jsxs("div",{children:[i.jsxs("div",{className:"inline-flex items-center gap-2 bg-primary/10 text-primary px-4 py-1.5 rounded-full text-sm font-semibold mb-6",children:[i.jsx(Ss,{className:"w-4 h-4"}),t?"Livré en 48 heures":"Delivered in 48 Hours"]}),i.jsx("h1",{className:"text-4xl md:text-5xl font-bold mb-6 leading-tight",children:t?"Entonnoir Web à Haute Conversion":"High-Converting Website Funnel"}),i.jsx("p",{className:"text-xl text-muted-foreground mb-8",children:t?"Un entonnoir de site web professionnel conçu pour capturer des leads, convertir des visiteurs et développer votre entreprise â livré en seulement 48 heures.":"A professional website funnel built to capture leads, convert visitors, and grow your business â delivered in just 48 hours."}),i.jsx("div",{className:"flex flex-wrap gap-4",children:i.jsx(he,{size:"lg",className:"bg-primary text-primary-foreground hover:bg-primary/90 shadow-[0_0_30px_-5px_rgba(37,99,235,0.5)]",asChild:!0,children:i.jsxs("a",{href:Yd,target:"_blank",rel:"noopener noreferrer",children:[i.jsx(dc,{className:"w-5 h-5 mr-2"}),t?"Construire mon entonnoir":"Build My Funnel"]})})})]}),i.jsx("div",{className:"relative",children:i.jsx("img",{src:"https://assets.cdn.filesafe.space/FIGYqmaP870ddXvwutnh/media/69be15f99bd1396f0fbc5d62.png",alt:"Website Funnel Build",className:"w-full h-auto object-contain rounded-2xl shadow-2xl",loading:"lazy"})})]})})]}),i.jsx("section",{className:"py-20 bg-secondary/30",children:i.jsx("div",{className:"container mx-auto px-4",children:i.jsxs("div",{className:"max-w-md mx-auto bg-background border border-border rounded-3xl p-8 flex flex-col shadow-xl",children:[i.jsx("h3",{className:"text-2xl font-bold mb-2",children:t?"Création d'Entonnoir Web":"Website Funnel Build"}),i.jsxs("div",{className:"flex items-baseline gap-2 mb-2",children:[i.jsx("span",{className:"text-5xl font-bold",children:"$1,500"}),i.jsx("span",{className:"text-muted-foreground",children:t?"USD / Forfait unique":"USD / One-Time"})]}),i.jsx("p",{className:"text-sm text-primary font-medium mb-8",children:t?"Paiement unique â sans frais récurrents":"One-time payment â no recurring fees"}),i.jsx("ul",{className:"space-y-4 mb-8 flex-1",children:l.map((c,u)=>i.jsxs("li",{className:"flex items-center gap-3",children:[i.jsx("div",{className:"w-5 h-5 rounded-full bg-primary/20 flex items-center justify-center text-primary shrink-0",children:i.jsx(Ps,{className:"w-3 h-3"})}),i.jsx("span",{className:"text-sm",children:c})]},u))}),i.jsx(he,{size:"lg",className:"w-full bg-primary text-primary-foreground hover:bg-primary/90 shadow-[0_0_20px_-5px_rgba(37,99,235,0.5)]",asChild:!0,children:i.jsx("a",{href:Yd,target:"_blank",rel:"noopener noreferrer",children:t?"Construire mon entonnoir":"Build My Funnel"})})]})})}),i.jsx("section",{className:"py-24",children:i.jsxs("div",{className:"container mx-auto px-4",children:[i.jsxs("div",{className:"text-center max-w-2xl mx-auto mb-16",children:[i.jsx("h2",{className:"text-3xl md:text-4xl font-bold mb-4",children:t?"Comment ça marche":"How It Works"}),i.jsx("p",{className:"text-lg text-muted-foreground",children:t?"Un processus simple et rapide pour lancer votre entonnoir en 48 heures.":"A simple, fast process to launch your funnel in 48 hours."})]}),i.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-4 gap-6 max-w-5xl mx-auto",children:a.map((c,u)=>i.jsxs("div",{className:"bg-secondary/50 border border-border rounded-2xl p-6 text-center",children:[i.jsx("div",{className:"w-12 h-12 rounded-full bg-primary/20 flex items-center justify-center text-primary mx-auto mb-4",children:i.jsx(c.icon,{className:"w-6 h-6"})}),i.jsx("div",{className:"text-sm font-bold text-primary mb-2",children:t?`Ãtape ${u+1}`:`Step ${u+1}`}),i.jsx("h3",{className:"font-semibold mb-2",children:c.title}),i.jsx("p",{className:"text-sm text-muted-foreground",children:c.desc})]},u))})]})}),i.jsx("section",{className:"py-20 bg-gradient-to-b from-primary/10 to-background",children:i.jsxs("div",{className:"container mx-auto px-4 text-center max-w-2xl",children:[i.jsx("h2",{className:"text-3xl md:text-4xl font-bold mb-6",children:t?"Prêt à lancer votre entonnoir ?":"Ready to launch your funnel?"}),i.jsx("p",{className:"text-lg text-muted-foreground mb-8",children:t?"Construisez votre entonnoir web à haute conversion et transformez votre entreprise â livré en 48 heures.":"Build your high-converting website funnel and transform your business â delivered in 48 hours."}),i.jsx(he,{size:"lg",className:"bg-primary text-primary-foreground hover:bg-primary/90 shadow-[0_0_30px_-5px_rgba(37,99,235,0.5)]",asChild:!0,children:i.jsxs("a",{href:Yd,target:"_blank",rel:"noopener noreferrer",children:[i.jsx(dc,{className:"w-5 h-5 mr-2"}
397),t?"Construire mon entonnoir":"Build My Funnel"]})})]})})]}),i.jsx(Vn,{})]})}const ma={"@context":"https://schema.org","@type":"Organization",name:"Kr8tor.Ai",url:"https://kr8tor.ai/",description:"AI automation and digital growth company providing AI agents, CRM automation, website development, lead generation, marketing automation, SEO, and reputation management solutions for businesses.",telephone:"+1-305-363-1383",email:"[email protected]",founder:{"@type":"Person",name:"Dimitri Bonnaire"},areaServed:[{"@type":"City",name:"Montreal"},{"@type":"City",name:"Laval"},{"@type":"City",name:"Miami"},{"@type":"City",name:"Atlanta"}],knowsAbout:["AI automation","CRM automation","AI voice agents","AI chatbots","lead generation","marketing automation","website development","SEO","reputation management"]},U6=[{slug:"ai-automation",title:"AI Automation",metaTitle:"AI Automation Services | Kr8tor.Ai â Montreal, Miami, Atlanta",metaDescription:"AI automation services for small businesses. Automate lead follow-up, calls, scheduling, and customer communication with AI agents and workflows.",h1:"AI Automation Services for Businesses",intro:"Kr8tor.Ai is an AI automation company that helps businesses capture leads, nurture prospects, automate repetitive work, and close more customers using AI-powered systems. Our approach is simple: Capture â Nurture â Close.",whoFor:"We work with service-based businesses, coaches, consultants, and e-commerce companies that want to stop losing leads to manual processes and missed follow-ups.",problems:["Leads go cold because no one follows up fast enough","Missed calls turn into lost revenue","Repetitive tasks eat up your team's time","Customer questions go unanswered after hours"],services:[{title:"AI Voice Agents",desc:"AI-powered call handling that answers, qualifies, and books appointments 24/7."},{title:"AI Website Chat",desc:"Automated chat that captures leads and answers questions on your website."},{title:"Follow-Up Automation",desc:"Automated SMS and email sequences that nurture leads until they convert."},{title:"Workflow Automation",desc:"Custom workflows that connect your tools and automate repetitive business tasks."}],howItWorks:[{step:"Audit",desc:"We review your current processes and identify what can be automated."},{step:"Build",desc:"We configure AI agents, workflows, and automations around your business."},{step:"Connect",desc:"We connect your CRM, calendar, and communication channels into one system."},{step:"Optimize",desc:"We monitor performance and refine automations to improve results."}],benefits:["Respond to leads instantly, day or night","Never miss a call or follow-up again","Free your team from repetitive manual work","Convert more opportunities into customers"],useCases:["Automated lead follow-up after form submissions","Missed-call text back so no lead slips away","AI answering service for inbound calls","Automated appointment booking and reminders"],faqs:[{q:"What does an AI automation agency do?",a:"An AI automation agency builds AI agents, workflows, and connected systems that automate lead capture, follow-up, scheduling, and customer communication so businesses save time and close more deals."},{q:"How can AI automate my business?",a:"AI can answer calls, chat with website visitors, follow up with leads by SMS and email, book appointments, and trigger workflows that connect your CRM, calendar, and communication tools."},{q:"Is AI automation suitable for small businesses?",a:"Yes. Kr8tor.Ai builds automations tailored to small businesses so they can operate with the efficiency of a much larger team."}],related:[{label:"AI Voice Agent",href:"/ai-voice-agent"},{label:"AI Chatbot",href:"/ai-chatbot"},{label:"CRM Automation",href:"/crm-automation"}]},{slug:"ai-voice-agent",title:"AI Voice Agent",metaTitle:"AI Voice Agent & AI Receptionist | Kr8tor.Ai",metaDescription:"AI voice agents and AI receptionists that answer calls, qualify leads, and book appointments 24/7. Available in Montreal, Miami, and Atlanta.",h1:"AI Voice Agent & AI Receptionist",intro:"Our AI voice agent answers inbound calls, responds to common questions, qualifies leads, collects customer information, and schedules appointments â 24 hours a day, 7 days a week.",whoFor:"Perfect for service businesses that lose customers when they can't pick up the phone, and team
397s that want every call answered professionally.",problems:["Missed calls mean missed customers","After-hours calls go to voicemail and never return","Staff can't answer every call while serving clients","Inbound leads aren't qualified or captured"],services:[{title:"AI Call Answering",desc:"Answers every inbound call with a natural, conversational AI voice."},{title:"Lead Qualification",desc:"Asks the right questions to qualify leads before they reach your team."},{title:"Appointment Booking",desc:"Books appointments directly into your calendar in real time."},{title:"Call Routing",desc:"Routes calls and information to the right person or department."}],howItWorks:[{step:"A customer calls",desc:"The AI voice agent answers immediately, any time of day."},{step:"It qualifies",desc:"The agent asks questions and collects the caller's details."},{step:"It books",desc:"Available appointments are offered and booked into your calendar."},{step:"It notifies",desc:"Your team receives the lead details and booking instantly."}
397],benefits:["Answer every call without hiring more staff","Capture and qualify leads outside business hours","Book appointments automatically","Project a professional image on every call"],useCases:["AI receptionist for small business","AI answering service for service companies","After-hours call handling","Lead capture and qualification on inbound calls"],faqs:[{q:"Can AI answer my business phone calls?",a:"Yes. Our AI voice agent answers inbound calls, responds to common questions, qualifies leads, and books appointments â 24/7."},{q:"What is an AI voice receptionist?",a:"An AI voice receptionist is an AI-powered phone agent that answers calls, gathers information, and schedules appointments, acting as a virtual front desk for your business."},{q:"Does the AI voice agent work after hours?",a:"Yes. The agent answers calls any time, so you never miss a lead because your office is closed."}],related:[{label:"AI Automation",href:"/ai-automation"},{label:"AI Chatbot",href:"/ai-chatbot"},{label:"CRM Automation",href:"/crm-automation"}]},{slug:"ai-chatbot",title:"AI Chatbot",metaTitle:"AI Chatbot for Business Websites | Kr8tor.Ai",metaDescription:"AI website chatbots that capture leads, answer questions, and book appointments 24/7. Built for service businesses in Montreal, Miami, and Atlanta.",h1:"AI Chatbot for Business Websites",intro:"Our AI website chatbot engages visitors in real time, answers common questions, captures lead information, and books appointments â so your website works for you around the clock.",whoFor:"Ideal for businesses that get website traffic but struggle to turn visitors into leads because no one is available to chat.",problems:["Website visitors leave without contacting you","No one is available to chat with prospects","Contact forms get filled out but not followed up","After-hours traffic is wasted"],services:[{title:"Lead Capture Chat",desc:"Converses with visitors and collects their contact details."},{title:"FAQ Automation",desc:"Answers common questions instantly using your business information."},{title:"Appointment Booking",desc:"Lets visitors book meetings directly from the chat."},{title:"CRM Sync",desc:"Sends captured leads straight into your CRM and pipelines."}],howItWorks:[{step:"A visitor arrives",desc:"The AI chatbot greets them and offers help."},{step:"It engages",desc:"It answers questions and guides the conversation."},{step:"It captures",desc:"It collects the visitor's name, email, and needs."},{step:"It books",desc:"It schedules an appointment and syncs to your CRM."}],benefits:["Turn website traffic into qualified leads","Engage visitors instantly, day or night","Reduce manual follow-up with automatic CRM sync","Book appointments without lifting a finger"],useCases:["AI chatbot for my website","Automated lead capture from website visitors","24/7 customer support chat","Appointment booking through chat"],faqs:[{q:"Can I add an AI chatbot to my website?",a:"Yes. We build and deploy AI chatbots that engage your website visitors, answer questions, capture leads, and book appointments."},{q:"What can an AI chatbot do for my business?",a:"It can answer FAQs, qualify leads, collect contact information, and schedule appointments â all automatically, 24/7."},{q:"Does the chatbot connect to my CRM?",a:"Yes. Captured leads flow directly into your CRM and pipelines for instant follow-up."}],related:[{label:"AI Automation",href:"/ai-automation"},{label:"AI Voice Agent",href:"/ai-voice-agent"},{label:"Lead Generation",href:"/lead-generation"}]},{slug:"crm-automation",title:"CRM Automation",metaTitle:"CRM Automation & Setup Services | Kr8tor.Ai",metaDescription:"CRM automation and setup services for small businesses. Manage leads, pipelines, follow-ups, and appointments from one system.",h1:"CRM Automation & Setup Services",intro:"Kr8tor.Ai sets up and automates your CRM so you can manage contacts, conversations, opportunities, pipelines, appointments, and follow-ups from one place.",whoFor:"For businesses tired of scattered spreadsheets, lost leads, and disconnected tools. We build a CRM that fits how you actually work.",problems:["Leads fall through the cracks with
397no system to track them","Follow-ups are inconsistent and manual","Tools don't talk to each other","There's no clear view of the sales pipeline"],services:[{title:"CRM Setup",desc:"We configure your CRM around your sales process and pipelines."},{title:"Pipeline Management",desc:"Visual pipelines to track every opportunity from lead to close."},{title:"Automated Follow-Up",desc:"SMS and email sequences that nurture leads automatically."},{title:"Missed-Call Text Back",desc:"Automatically texts back when a call is missed so leads don't disappear."}],howItWorks:[{step:"Map",desc:"We map your sales process and pipeline stages."},{step:"Build",desc:"We set up your CRM, contacts, and automations."},{step:"Automate",desc:"We configure follow-up sequences and reminders."},{step:"Train",desc:"We train your team to manage leads effectively."}],benefits:["See every lead and opportunity in one place","Automate follow-up so no lead is forgotten","Connect your calendar, SMS, and email","Close more deals with a clear pipeline"],useCases:["CRM for small business","Sales automation and pipeline tracking","Lead nurturing automation","Missed-call text back automation"],faqs:[{q:"How does CRM automation work?",a:"CRM automation connects your contacts, pipelines, calendar, and communication channels so that follow-ups, reminders, and lead routing happen automatically."},{q:"What is the best CRM for small business?",a:"The best CRM is one configured around your sales process. Kr8tor.Ai sets up a CRM with pipelines, automation, and follow-ups built for small businesses."},{q:"Can you automate missed calls?",a:"Yes. Our missed-call text back automation sends an instant text when a call is missed so you can re-engage the lead."}],related:[{label:"AI Automation",href:"/ai-automation"},{label:"Marketing Automation",href:"/marketing-automation"},{label:"Lead Generation",href:"/lead-generation"}]},{slug:"marketing-automation",title:"Marketing Automation",metaTitle:"Marketing Automation Services | Kr8tor.Ai",metaDescription:"Marketing automation for small businesses. SMS, email, and workflow automation to nurture leads and grow revenue on autopilot.",h1:"Marketing Automation Services",intro:"We build marketing automation workflows that nurture leads, trigger follow-ups, and keep your business top of mind â so repetitive marketing tasks run on autopilot.",whoFor:"For businesses that want to stay in touch with leads and customers without manually sending every message.",problems:["Leads aren't followed up consistently","Marketing tasks are manual and time-consuming","Customers forget about you between purchases","No system to nurture cold leads back to warm"],services:[{title:"SMS Automation",desc:"Automated text sequences for follow-up, reminders, and re-engagement."},{title:"Email Automation",desc:"Email campaigns that nurture leads and customers over time."},{title:"Workflow Builder",desc:"Custom workflows that trigger actions based on customer behavior."},{title:"Review Automation",desc:"Automated review requests that build your online reputation."}],howItWorks:[{step:"Trigger",desc:"A lead takes an action â form fill, call, or purchase."},{step:"Nurture",desc:"Automated SMS and email sequences engage them over time."},{step:"Convert",desc:"Leads are warmed up and routed to your team to close."},{step:"Retain",desc:"Ongoing automation keeps customers engaged and returning."}],benefits:["Nurture leads automatically until they're ready to buy","Save hours of manual marketing work","Stay top of mind with customers","Build reviews and reputation on autopilot"],useCases:["Email marketing automation","SMS marketing automation","Lead nurturing automation","Review automation"],faqs:[{q:"What is marketing automation?",a:"Marketing automation uses workflows to send SMS, email, and other messages automatically based on customer behavior, so leads are nurtured without manual effort."},{q:"How can I automate customer follow-up?",a:"We build automated sequences that follow up with leads by SMS and email after they contact you, fill a form, or miss a call."},{q:"Can automation help get more reviews?",a:"Yes. Our review automation sends review requests to customers after a service and helps you manage responses."}],related:[{label:"CRM Automation",href:"/crm-automation"},{label:"Lead Generation",href:"/lead-generation"},{label:"Reputation Management",href:"/reputation-management"}]}],q6=e=>({"@context":"https://schema.org","@type":"Service",name:`${e.title} â Kr8tor.Ai`,description:e.metaDescription,provider:ma,serviceType:e.title,areaServed:ma.areaServed,hasOfferCatalog:{"@type":"OfferCatalog",name:e.title,itemListElement:e.services.map(t=>({"@type":"Offer",itemOffered:{"@type":"Service",name:t.title,de
397scription:t.desc}}))},mainEntityOfPage:`https://kr8tor.ai/${e.slug}`}),H6=e=>({"@context":"https://schema.org","@type":"FAQPage",mainEntity:e.map(t=>({"@type":"Question",name:t.q,acceptedAnswer:{"@type":"Answer",text:t.a}}))}),K6=({service:e})=>{const{language:t}=fe(),n=[ma,q6(e),H6(e.faqs)];return ig({title:e.metaTitle,description:e.metaDescription,canonical:`https://kr8tor.ai/${e.slug}`,jsonLd:n}),i.jsxs("div",{className:"min-h-screen bg-background text-foreground",children:[i.jsx(zn,{}),i.jsxs("main",{children:[i.jsxs("section",{className:"relative py-24 md:py-32 overflow-hidden",children:[i.jsx("div",{className:"absolute inset-0 bg-[radial-gradient(ellipse_at_top_right,_var(--tw-gradient-stops))] from-primary/10 via-background to-background pointer-events-none"}),i.jsxs("div",{className:"container mx-auto px-4 relative z-10 max-w-4xl",children:[i.jsx("div",{className:"inline-flex items-center gap-2 bg-primary/10 border border-primary/30 rounded-full px-4 py-2 mb-6",children:i.jsx("span",{className:"text-sm font-semibold text-primary uppercase tracking-wide",children:"Kr8tor.Ai"})}),i.jsx("h1",{className:"text-4xl md:text-6xl font-bold mb-6 leading-tight",children:e.h1}),i.jsx("p",{className:"text-xl text-muted-foreground mb-8 leading-relaxed",children:e.intro}),i.jsxs("div",{className:"flex flex-col sm:flex-row gap-4",children:[i.jsx("a",{href:"/bookacall",children:i.jsxs(he,{size:"lg",className:"h-14 px-8 bg-primary text-primary-foreground hover:bg-primary/90 shadow-[0_0_40px_-10px_rgba(37,99,235,0.5)]",children:[t==="fr"?"Réserver un appel gratuit":"Book Your AI Strategy Call",i.jsx(Nt,{className:"ml-2 w-5 h-5"})]})}),i.jsx("a",{href:"tel:+13053631383",children:i.jsxs(he,{size:"lg",variant:"outline",className:"h-14 px-8",children:[i.jsx(Na,{className:"mr-2 w-5 h-5"})," 305-363-1383"]})})]})]})]}),i.jsx("section",{className:"py-20 bg-secondary/30",children:i.jsxs("div",{className:"container mx-auto px-4 max-w-5xl",children:[i.jsx("h2",{className:"text-3xl font-bold mb-4",children:t==="fr"?"Pour qui ?":"Who Is This For?"}),i.jsx("p",{className:"text-lg text-muted-foreground mb-10",children:e.whoFor}),i.jsx("div",{className:"grid md:grid-cols-2 gap-4",children:e.problems.map((r,s)=>i.jsxs("div",{className:"flex items-start gap-3 bg-background border border-border rounded-xl p-5",children:[i.jsx("span",{className:"text-destructive mt-1",children:"â"}),i.jsx("p",{className:"text-muted-foreground",children:r})]},s))})]})}),i.jsx("section",{className:"py-20",children:i.jsxs("div",{className:"container mx-auto px-4 max-w-5xl",children:[i.jsx("h2",{className:"text-3xl font-bold mb-10 text-center",children:t==="fr"?"Ce que nous offrons":"What We Offer"}),i.jsx("div",{className:"grid sm:grid-cols-2 gap-6",children:e.services.map((r,s)=>i.jsxs("div",{className:"bg-background border border-border rounded-2xl p-6 hover:border-primary/50 hover:shadow-lg transition-all",children:[i.jsx("h3",{className:"font-bold text-lg mb-2",children:r.title}),i.jsx("p",{className:"text-muted-foreground",children:r.desc})]},s))})]})}),i.jsx("section",{className:"py-20 bg-secondary/30",children:i.jsxs("div",{className:"container mx-auto px-4 max-w-5xl",children:[i.jsx("h2",{className:"text-3xl font-bold mb-10 text-center",children:t==="fr"?"Comment ça marche":"How It Works"}),i.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-4 gap-6",children:e.howItWorks.map((r,s)=>i.jsxs("div",{className:"text-center",children:[i.jsx("div",{className:"w-12 h-12 rounded-full bg-primary text-primary-foreground flex items-center justify-center font-bold text-lg mx-auto mb-4",children:s+1}),i.jsx("h3",{className:"font-bold mb-2",children:r.step}),i.jsx("p",{className:"text-sm text-muted-foreground",children:r.desc})]},s))})]})}),i.jsx("section",{className:"py-20",children:i.jsxs("div",{className:"container mx-auto px-4 max-w-4xl",children:[i.jsx("h2",{className:"text-3xl font-bold mb-10 text-center",children:t==="fr"?"Bénéfices":"Benefits"}),i.jsx("div",{className:"grid sm:grid-cols-2 gap-4",children:e.benefits.map((r,s)=>i.jsxs("div",{className:"flex items-start gap-3",children:[i.jsx(Ps,{className:"w-6 h-6 text-primary flex-shrink-0 mt-0.5"}),i.jsx("p",{children:r})]},s))})]})}),i.jsx("section",{className:"py-20 bg-secondary/30",children:i.jsxs("div",{className:"container mx-auto px-4 max-w-4xl",children:[i.jsx("h2",{className:"text-3xl font-bold mb-8 text-center",children:t==="fr"?"Cas d'usage":"Use Cases"}),i.jsx("div",{className:"flex flex-wrap justify-center gap-3",children:e.useCases.map((r,s)=>i.jsx("span",{className:"bg-background border border-border rounded-full px-4 py-2 text-sm text-muted-foreground",children:r},s))})]})}),i.jsx("section",{className:"py-16",children:i.jsxs("div",{className:"container mx-auto px-4 max-w-4xl text-center",children:[i.jsx("h2",{className:"text-2xl font-bold mb-6",children:t==="fr"?"Services connexes":"Related Services"}),i.jsx("div",{className:"flex flex-wrap justify-center gap-4",children:e.related.map((r,s)=>i.jsxs("a",{href:r.href,className:"inline-flex items-center gap-2 bg-secondary border border-border rounded-full px-5 py-2.5 text-sm font-medium hover:border-primary/50 hover:text-primary transition-colors",children:[r.label," ",i.jsx(Nt,{className:"w-4 h-4"})]},s))})]})}),i.jsx("section",{className:"py-20 bg-secondary/30",children:i.jsxs("div",{className:"container mx-auto px-4 max-w-3xl",children:[i.jsx("h2",{className:"text-3xl font-bold mb-10 text-center",children:t==="fr"?"Questions fréquentes":"Frequently Asked Questions"}),i.jsx("div",{className:"space-y-4",children:e.faqs.map((r,s)=>i.jsxs("div",{className:"bg-background border border-border rounded-2xl p-6",children:[i.jsx("h3",{className:"font-bold mb-2",children:r.q}),i.jsx("p",{className:"text-muted-foreground",children:r.a})]},s))})]})}),i.jsx("section",{className:"py-20 bg-gradient-to-b from-primary/5 to-background",children:i.jsxs("div",{className:"container mx-auto px-4 text-center max-w-2xl",children:[i.jsx("h2",{className:"text-3xl md:text-4xl font-bold mb-6",children:t==="fr"?"Prêt à automatiser ?":"Ready to Automate?"}),i.jsx("p",{className:"text-xl text-muted-foreground mb-8",children:t==="fr"?"Réservez un appel stratég
397ique gratuit et découvrez comment Kr8tor.Ai peut aider votre entreprise.":"Book a free AI strategy call and discover how Kr8tor.Ai can help your business grow."}),i.jsx("a",{href:"/bookacall",children:i.jsxs(he,{size:"lg",className:"h-14 px-10 text-lg bg-primary text-primary-foreground hover:bg-primary/90 shadow-[0_0_40px_-10px_rgba(37,99,235,0.5)]",children:[t==="fr"?"Réserver mon appel gratuit":"Book My Free Call",i.jsx(Nt,{className:"ml-2 w-5 h-5"})]})})]})})]}),i.jsx(Vn,{})]})},G6=[{slug:"lead-generation",title:"Lead Generation",metaTitle:"Lead Generation Agency & Services | Kr8tor.Ai",metaDescription:"Lead generation services that capture, nurture, and convert leads. Funnels, forms, ads, and automation for businesses in Montreal, Miami, and Atlanta.",h1:"Lead Generation Services",intro:"Kr8tor.Ai is a lead generation agency that builds the funnels, forms, ads, and automation needed to capture leads and convert them into customers.",whoFor:"For businesses that need more qualified leads in the door and a system to follow up with every one of them.",problems:["Not enough new leads coming in","Leads aren't followed up and go cold","No funnel to capture and convert traffic","Ad spend isn't turning into customers"],services:[{title:"Funnels & Landing Pages",desc:"High-converting funnels that capture and convert leads."},{title:"Forms & Surveys",desc:"Lead capture forms that collect the right information."},{title:"Paid Advertising",desc:"Google, Facebook, and Instagram ads to drive qualified traffic."},{title:"Automated Follow-Up",desc:"Instant follow-up so every lead is contacted fast."}],howItWorks:[{step:"Attract",desc:"We drive targeted traffic with ads, SEO, and funnels."},{step:"Capture",desc:"Landing pages and forms collect lead information."},{step:"Nurture",desc:"Automation follows up instantly by SMS and email."},{step:"Close",desc:"Qualified leads are routed to your team to close."}],benefits:["Generate a steady flow of qualified leads","Follow up instantly so leads don't go cold","Track every lead from source to close","Turn ad spend into customers"],useCases:["Lead generation for service businesses","High-converting funnel development","Landing page development","Automated lead follow-up"],faqs:[{q:"How can a lead generation agency help my business?",a:"A lead generation agency builds the funnels, forms, ads, and follow-up automation that capture leads and convert them into customers."},{q:"What is a sales funnel?",a:"A sales funnel is a series of pages and steps that capture a lead's information and guide them toward booking a call or making a purchase."},{q:"How fast are leads followed up?",a:"With automation, leads are contacted instantly â within seconds of submitting a form."}],related:[{label:"Web Design",href:"/web-design"},{label:"Marketing Automation",href:"/marketing-automation"},{label:"Digital Marketing",href:"/digital-marketing"}]},{slug:"web-design",title:"Web Design",metaTitle:"Website Design & Development Agency | Kr8tor.Ai",metaDescription:"Website design and development agency building high-converting websites and landing pages connected to your CRM and automation.",h1:"Website Design & Development",intro:"We design modern, mobile-friendly, conversion-focused websites and landing pages connected directly to your CRM and automation system â so your website doesn't just look good, it generates leads.",whoFor:"For businesses with an outdated website, no website, or a site that doesn't capture leads or connect to their systems.",problems:["Your website looks outdated or loads slowly","Visitors don't convert into leads","Your site isn't connected to your CRM or calendar","It isn't mobile-friendly"],services:[{title:"Business Websites",desc:"Modern, conversion-focused websites built to generate leads."},{title:"Landing Pages",desc:"High-converting landing pages for campaigns and funnels."},{title:"Sales Funnels",desc:"Multi-step funnels that capture and convert visitors."},{title:"CRM Integration",desc:"Websites connected to your CRM, calendar, and automations."}],howItWorks:[{step:"Discover",desc:"We learn your business, goals, and target audience."},{step:"Design",desc:"We design a modern, mobile-friendly site built to convert."},{step:"Connect",desc:"We connect forms, calendar, and CRM to your site."},{step:"Launch",desc:"We launch, test, and optimize for performance."}
397],benefits:["A website that actually generates leads","Mobile-friendly and fast-loading","Connected to your CRM and calendar","Built for conversions, not just looks"],useCases:["High-converting website design","Landing page development","Sales funnel development","Website redesign for lead generation"],faqs:[{q:"Do you build websites connected to a CRM?",a:"Yes. Every website we build connects directly to your CRM, calendar, and automation so leads flow straight into your system."},{q:"What makes a high-converting website?",a:"Clear messaging, fast loading, mobile-friendly design, strong calls to action, and forms connected to instant follow-up automation."},{q:"Can you redesign my existing website?",a:"Yes. We redesign existing websites to improve conversions, speed, and lead capture."}],related:[{label:"Lead Generation",href:"/lead-generation"},{label:"SEO",href:"/seo"},{label:"Digital Marketing",href:"/digital-marketing"}]},{slug:"seo",title:"SEO",metaTitle:"SEO Services & Local SEO | Kr8tor.Ai â Montreal, Miami, Atlanta",metaDescription:"SEO services including local SEO, Google Business Profile optimization, and content strategy. Improve rankings and visibility for your business.",h1:"SEO Services & Local SEO",intro:"Kr8tor.Ai provides SEO services that improve your visibility on Google and AI search engines. We help businesses rank for the searches their customers actually make.",whoFor:"For businesses that aren't showing up when customers search for their services in their area.",problems:["You're not visible on Google for your services","Competitors outrank you locally","Your Google Business Profile isn't optimized","Your website isn't built for search"],services:[{title:"Local SEO",desc:"Rank for local searches in Montreal, Miami, Atlanta, and surrounding areas."},{title:"Google Business Profile",desc:"Optimization of your profile for local map rankings."},{title:"On-Page SEO",desc:"Optimized pages, titles, and structure for search visibility."},{title:"Content & Schema",desc:"Helpful content and structured data that search engines understand."}],howItWorks:[{step:"Audit",desc:"We audit your site, rankings, and local presence."},{step:"Optimize",desc:"We optimize pages, content, and your Google Business Profile."},{step:"Create",desc:"We build helpful, SEO-friendly content and schema."},{step:"Grow",desc:"We track rankings and refine to improve visibility."}
397],benefits:["Show up when customers search for your services","Improve local map rankings","Attract more qualified organic traffic","Build long-term visibility without ad spend"],useCases:["Local SEO services","Google Business Profile optimization","SEO for service businesses","On-page and technical SEO"],faqs:[{q:"What is local SEO?",a:"Local SEO optimizes your online presence so your business shows up in local searches and map results for customers in your area."},{q:"How can local SEO help my business?",a:"It helps you appear when nearby customers search for your services, driving more calls, leads, and visits."},{q:"Do you optimize Google Business Profiles?",a:"Yes. We optimize your profile to improve local map rankings and visibility."}],related:[{label:"Web Design",href:"/web-design"},{label:"Reputation Management",href:"/reputation-management"},{label:"Digital Marketing",href:"/digital-marketing"}]},{slug:"reputation-management",title:"Reputation Management",metaTitle:"Online Reputation & Review Automation | Kr8tor.Ai",metaDescription:"Reputation management and review automation. Automatically request 5-star reviews, monitor feedback, and respond with AI-generated replies.",h1:"Online Reputation & Review Automation",intro:"Our reputation management system automatically requests reviews, monitors feedback across platforms, and responds with AI-generated replies â so your online reputation builds itself.",whoFor:"For businesses that know reviews matter but don't have a system to consistently generate and manage them.",problems:["Happy customers don't leave reviews","No system to request reviews after a job","Reviews go unanswered","Negative reviews hurt your reputation"],services:[{title:"Review Requests",desc:"Automated SMS and email review requests after every job or appointment."},{title:"Review Monitoring",desc:"Monitor reviews across Google, Facebook, Yelp, and more."},{title:"AI Responses",desc:"AI-generated, personalized responses to keep your reputation active."},{title:"Review Notifications",desc:"Instant alerts whenever a new review is posted."}],howItWorks:[{step:"Serve",desc:"A customer completes a service or purchase."},{step:"Request",desc:"The system sends a review request by SMS and email."},{step:"Review",desc:"Satisfied customers leave reviews on Google and other platforms."},{step:"Respond",desc:"AI generates professional responses to keep engagement active."}],benefits:["Generate more 5-star reviews automatically","Improve local SEO and visibility","Build trust with future customers","Respond to reviews without the manual effort"],useCases:["Google review automation","Review request automation","Online reputation management","AI review responses"],faqs:[{q:"Can you help me get more Google reviews?",a:"Yes. Our system automatically requests reviews from customers after a service and helps you manage and respond to them."},{q:"How does review automation work?",a:"After a job or appointment, the system sends a review request by SMS and email. Satisfied customers leave reviews, and AI generates responses automatically."},{q:"Does reputation management help SEO?",a:"Yes. More positive reviews and an active profile improve local SEO rankings and visibility."}],related:[{label:"SEO",href:"/seo"},{label:"Marketing Automation",href:"/marketing-automation"},{label:"CRM Automation",href:"/crm-automation"}]},{slug:"digital-marketing",title:"Digital Marketing",metaTitle:"Digital Marketing Agency | Kr8tor.Ai â Montreal, Miami, Atlanta",metaDescription:"Digital marketing agency offering Google Ads, social media advertising, SEO, funnels, and lead generation for growing businesses.",h1:"Digital Marketing Agency",intro:"Kr8tor.Ai is a digital marketing agency that combines paid advertising, SEO, funnels, and automation to help businesses generate leads and grow.",whoFor:"For businesses that want a coordinated marketing system instead of disconnected tactics that don't produce leads.",problems:["Marketing efforts are scattered and uncoordinated","Ad spend doesn't produce leads","No funnel to convert traffic","Results aren't tracked or measured"],services:[{title:"Google Ads",de
397sc:"Search and display advertising to capture high-intent customers."},{title:"Social Media Ads",desc:"Facebook and Instagram advertising to reach your audience."},{title:"Funnels & Landing Pages",desc:"Conversion-focused pages that turn traffic into leads."},{title:"SEO & Content",desc:"Organic growth through search optimization and helpful content."}],howItWorks:[{step:"Strategy",desc:"We define your audience, offer, and channels."},{step:"Launch",desc:"We launch ads, funnels, and landing pages."},{step:"Capture",desc:"Leads are captured and followed up automatically."},{step:"Optimize",desc:"We track results and optimize for ROI."}],benefits:["A coordinated marketing system, not scattered tactics","Generate qualified leads on demand","Track every lead from source to close","Combine paid and organic growth"],useCases:["Digital marketing for service businesses","Google Ads management","Social media advertising","Lead generation funnels"],faqs:[{q:"What does a digital marketing agency do?",a:"A digital marketing agency manages advertising, SEO, funnels, and automation to generate leads and grow your business."},{q:"Do you offer Google Ads management?",a:"Yes. We manage Google Ads campaigns to capture high-intent customers searching for your services."},{q:"Can you combine ads with automation?",a:"Yes. We connect your ads to funnels and follow-up automation so every lead is captured and nurtured."}],related:[{label:"Lead Generation",href:"/lead-generation"},{label:"SEO",href:"/seo"},{label:"Web Design",href:"/web-design"}]}],Y6=[...U6,...G6],wn=()=>{const{pathname:e}=Jr(),t=e.replace(/^\/+/,""),n=Y6.find(r=>r.slug===t);return n?i.jsx(K6,{service:n}):i.jsx(rg,{})},Q6=e=>({"@context":"https://schema.org","@type":"ProfessionalService",name:`Kr8tor.Ai â ${e.city}`,description:e.metaDescription,url:`https://kr8tor.ai/${e.slug}`,telephone:"+1-305-363-1383",email:"[email protected]",areaServed:e.areas.map(t=>({"@type":"City",name:t})),parentOrganization:ma}),X6=e=>({"@context":"https://schema.org","@type":"FAQPage",mainEntity:e.map(t=>({"@type":"Question",name:t.q,acceptedAnswer:{"@type":"Answer",text:t.a}}))}),Z6=({location:e})=>{const{language:t}=fe(),n=[ma,Q6(e),X6(e.faqs)];return ig({title:e.metaTitle,description:e.metaDescription,canonical:`https://kr8tor.ai/${e.slug}`,jsonLd:n}),i.jsxs("div",{className:"min-h-screen bg-background text-foreground",children:[i.jsx(zn,{}),i.jsxs("main",{children:[i.jsxs("section",{className:"relative py-24 md:py-32 overflow-hidden",children:[i.jsx("div",{className:"absolute inset-0 bg-[radial-gradient(ellipse_at_top_right,_var(--tw-gradient-stops))] from-primary/10 via-background to-background pointer-events-none"}),i.jsxs("div",{className:"container mx-auto px-4 relative z-10 max-w-4xl",children:[i.jsxs("div",{className:"inline-flex items-center gap-2 bg-primary/10 border border-primary/30 rounded-full px-4 py-2 mb-6",children:[i.jsx(Gf,{className:"w-4 h-4 text-primary"}),i.jsxs("span",{className:"text-sm font-semibold text-primary uppercase tracking-wide",children:[e.city,", ",e.region]})]}),i.jsx("h1",{className:"text-4xl md:text-6xl font-bold mb-6 leading-tight",children:e.h1}),i.jsx("p",{className:"text-xl text-muted-foreground mb-8 leading-relaxed",children:e.intro}),i.jsxs("div",{className:"flex flex-col sm:flex-row gap-4",children:[i.jsx("a",{href:"/bookacall",children:i.jsxs(he,{size:"lg",className:"h-14 px-8 bg-primary text-primary-foreground hover:bg-primary/90 shadow-[0_0_40px_-10px_rgba(37,99,235,0.5)]",children:[t==="fr"?"Réserver un appel gratuit":"Book Your AI Strategy Call",i.jsx(Nt,{className:"ml-2 w-5 h-5"})]})}),i.jsx("a",{href:"tel:+13053631383",children:i.jsxs(he,{size:"lg",variant:"outline",className:"h-14 px-8",children:[i.jsx(Na,{className:"mr-2 w-5 h-5"})," 305-363-1383"]})})]})]})]}),i.jsx("section",{className:"py-16 bg-secondary/30",children:i.jsxs("div",{className:"container mx-auto px-4 max-w-4xl",children:[i.jsx("h2",{className:"text-2xl font-bold mb-6",children:t==="fr"?"Zones desservies":"Areas We Serve"}),i.jsx("div",{className:"flex flex-wrap gap-3",children:e.areas.map((r,s)=>i.jsxs("span",{className:"inline-flex items-center gap-2 bg-background border border-border rounded-full px-4 py-2 text-sm",children:[i.jsx(Gf,{className:"w-4 h-4 text-primary"})," ",r]},s))})]})}),i.jsx("section",{className:"py-20",children:i.jsxs("div",{className:"container mx-auto px-4 max-w-4xl",children:[i.jsxs("h2",{className:"text-3xl font-bold mb-10 text-center",children:[t==="fr"?"Services à ":"Services in"," ",e.city]}),i.jsx("div",{className:"grid sm:grid-cols-2 gap-4",children:e.services.map((r,s)=>i.jsxs("div",{className:"flex items-start gap-3 bg-secondary/40 border border-border rounded-xl p-5",children:[i.jsx(Ps,{className:"w-6 h-6 text-primary flex-shrink-0 mt-0.5"}),i.jsx("p",{children:r})]},s))})]})}),i.jsx("section",{className:"py-20 bg-secondary/30",children:i.jsxs("div",{className:"container mx-auto px-4 max-w-3xl",children:[i.jsx("h2",{className:"text-3xl font-bold mb-10 text-center",children:t==="fr"?"Questions fréquentes":"Frequently Asked Questions"}),i.jsx("div",{className:"space-y-4",children:e.faqs.map((r,s)=>i.jsxs("div",{className:"bg-background border border-border rounded-2xl p-6",children:[i.jsx("h3",{className:"font-bold mb-2",children:r.q}),i.jsx("p",{className:"text-muted-foreground",children:r.a})]},s))})]})}),i.jsx("section",{className:"py-20 bg-gradient-to-b from-primary/5 to-background",children:i.jsxs("div",{className:"container mx-auto px-4 text-center max-w-2xl",children:[i.jsx("h2",{className:"text-3xl md:text-4xl font-bold mb-6",children:t==="fr"?"Travaillons ensemble":"Let's Work Together"}),i.jsx("p",{className:"text-xl text-muted-foreground mb-8",children:t==="fr"?`Découvrez comment Kr8tor.Ai peut aider votre entreprise à ${e.city}.`:`Find out how Kr8tor.Ai can help your business in ${e.city}.`}),i.jsx("a",{href:"/bookacall",children:i.jsxs(he,{size:"lg",className:"h-14 px-10 text-lg bg-primary text-primary-foreground hover:bg-primary/90 shadow-[0_0_40px_-10px_rgba(37,99,235,0.5)]",children:[t==="fr"?"Réserver mon appel gratuit":"Book My Free Call",i.jsx(Nt,{className:"ml-2 w-5 h-5"})]})})]})})]}),i.jsx(Vn,{})]})},J6=[{slug:"montreal-ai-automation",city:"Montreal",region:"Quebec",metaTitle:"AI Automation Agency Montreal | Kr8tor.Ai",metaDescription:"Montreal AI automation agency serving Greater Montreal and Laval. AI agents, CRM automation, web design, SEO, and lead generation.",h1:"AI Automation Agency in Montreal",intro:"Kr8tor.Ai is an AI automation and digital growth company serving businesses in Montreal, Greater Montreal, and Laval. We help local businesses capture leads, automate follow-up, and grow with AI-powered systems.",areas:["Montreal","Greater Montreal","Laval","Longueuil"],services:["AI automation for Montreal businesses","AI voice agents and AI receptionists","CRM automation and setup","Website design and development","Lead generation and funnels","Local SEO and digital marketing","Reputation and review management"],faqs:[{q:"Do you offer AI automation services in Montreal?",a:"Yes. Kr8tor.Ai provides AI automation, CRM, web design, SEO, and lead generation services to businesses across Montreal, Greater Montreal, and Laval."},{q:"Can you build a French-language AI agent?",a:"Yes. We can configure AI agents, websites, and messaging in multiple languages including French and English."},{q:"Do you serve Laval and Longueuil?",a:"Yes. We serve businesses throughout Greater Montreal, including Laval and Longueuil."}]}
397,{slug:"miami-ai-automation",city:"Miami",region:"Florida",metaTitle:"AI Automation Agency Miami | Kr8tor.Ai",metaDescription:"Miami AI automation agency serving Miami-Dade, Fort Lauderdale, and South Florida. AI agents, CRM, web design, SEO, and lead generation.",h1:"AI Automation Agency in Miami",intro:"Kr8tor.Ai is an AI automation and digital growth company serving businesses in Miami, Miami-Dade County, Fort Lauderdale, and South Florida. We help local businesses capture leads, automate operations, and grow with AI-powered systems.",areas:["Miami","Miami-Dade County","Fort Lauderdale","South Florida","Broward County"],services:["AI automation for Miami businesses","AI voice agents and AI answering services","CRM automation and setup","Website design and development","Lead generation and funnels","Local SEO and digital marketing","Reputation and review management"],faqs:[{q:"Do you offer AI automation services in Miami?",a:"Yes. Kr8tor.Ai provides AI automation, CRM, web design, SEO, and lead generation services to businesses across Miami and South Florida."},{q:"Do you serve Fort Lauderdale?",a:"Yes. We serve businesses throughout South Florida, including Fort Lauderdale and Broward County."},{q:"Can an AI agent answer calls for my Miami business?",a:"Yes. Our AI voice agent answers inbound calls, qualifies leads, and books appointments 24/7."}]},{slug:"atlanta-ai-automation",city:"Atlanta",region:"Georgia",metaTitle:"AI Automation Agency Atlanta | Kr8tor.Ai",metaDescription:"Atlanta AI automation agency serving Metro Atlanta. AI agents, CRM automation, web design, SEO, and lead generation for local businesses.",h1:"AI Automation Agency in Atlanta",intro:"Kr8tor.Ai is an AI automation and digital growth company serving businesses in Atlanta and Metro Atlanta. We help local businesses capture leads, automate follow-up, and grow with AI-powered systems.",areas:["Atlanta","Metro Atlanta","Georgia"],services:["AI automation for Atlanta businesses","AI voice agents and AI receptionists","CRM automation and setup","Website design and development","Lead generation and funnels","Local SEO and digital marketing","Reputation and review management"],faqs:[{q:"Do you offer AI automation services in Atlanta?",a:"Yes. Kr8tor.Ai provides AI automation, CRM, web design, SEO, and lead generation services to businesses across Atlanta and Metro Atlanta."},{q:"Can you help my Atlanta business get more leads?",a:"Yes. We build funnels, ads, and automation that capture leads and follow up instantly so you close more customers."},{q:"Do you serve the wider Metro Atlanta area?",a:"Yes. We serve businesses throughout Metro Atlanta and surrounding areas in Georgia."}]}],Qd=()=>{const{pathname:e}=Jr(),t=e.replace(/^\/+/,""),n=J6.find(r=>r.slug===t);return n?i.jsx(Z6,{location:n}):i.jsx(rg,{})},e_={initial:{opacity:0,y:18,filter:"blur(4px)"},animate:{opacity:1,y:0,filter:"blur(0px)",transition:{duration:.45,ease:[.22,1,.36,1]}},exit:{opacity:0,y:-12,filter:"blur(4px)",transition:{duration:.28,ease:[.55,0,.45,1]}}},De=({children:e})=>i.jsx(ve.div,{variants:e_,initial:"initial",animate:"animate",exit:"exit",children:e}),Lx=["John","Sarah","Michael","Emma","David","Jessica","James","Emily","Daniel","Olivia"],Ox=["Miami, FL","New York, NY","Austin, TX","London, UK","Toronto, ON","Sydney, AU","Chicago, IL","Los Angeles, CA","Seattle, WA","Denver, CO"],t_=["just booked a strategy call","just requested a free sample","just started a free trial"],n_=["vient de réserver un appel","vient de demander un échantillon","vient de commencer un essai"],r_=()=>{const{language:e}=fe(),[t,n]=h.useState(!1),[r,s]=h.useState({name:"",location:"",action:"",time:""});return h.useEffect(()=>{const o=()=>{const c=Lx[Math.floor(Math.random()*Lx.length)],u=Ox[Math.floor(Math.random()*Ox.length)],d=e==="fr"?n_:t_,f=d[Math.floor(Math.random()*d.length)],m=Math.floor(Math.random()*15)+1;s({name:c,location:u,action:f,time:e==="fr"?`il y a ${m} min`:`${m} min ago`}),n(!0),setTimeout(()=>{n(!1)},6e3)},a=setTimeout(o,1e4),l=setInterval(()=>{o()},Math.floor(Math.random()*3e4)+3e4);return()=>{clearTimeout(a),clearInterval(l)}},[e]),i.jsx(Ma,{children:t&&i.jsxs(ve.div,{initial:{opacity:0,y:50,x:-20}
397,animate:{opacity:1,y:0,x:0},exit:{opacity:0,y:20,scale:.9},className:"fixed bottom-24 left-4 md:bottom-6 md:left-6 z-[60] max-w-sm bg-background/90 backdrop-blur-md border border-border shadow-2xl rounded-xl p-4 pr-10 flex items-start gap-3",children:[i.jsx("button",{onClick:()=>n(!1),className:"absolute top-2 right-2 text-muted-foreground hover:text-foreground transition-colors",children:i.jsx(lu,{className:"w-4 h-4"})}),i.jsx("div",{className:"mt-0.5 bg-green-500/20 p-2 rounded-full text-green-500 shrink-0",children:i.jsx(Os,{className:"w-5 h-5"})}),i.jsxs("div",{children:[i.jsxs("p",{className:"text-sm text-foreground leading-tight",children:[i.jsx("span",{className:"font-bold",children:r.name})," ",r.action]}),i.jsxs("div",{className:"flex items-center gap-2 mt-2 text-xs text-muted-foreground font-medium",children:[i.jsxs("span",{className:"flex items-center gap-1",children:[i.jsx(Gf,{className:"w-3 h-3"}),r.location]}),i.jsx("span",{children:"â¢"}),i.jsx("span",{children:r.time})]})]})]})})},s_=new mM,o_=()=>{const e=Jr();return i.jsx(Ma,{mode:"wait",children:i.jsxs(aR,{location:e,children:[i.jsx(Pe,{path:"/",element:i.jsx(De,{children:i.jsx(g6,{})})}),i.jsx(Pe,{path:"/privacy-policy",element:i.jsx(De,{children:i.jsx(v6,{})})}),i.jsx(Pe,{path:"/terms-and-conditions",element:i.jsx(De,{children:i.jsx(y6,{})})}),i.jsx(Pe,{path:"/bookacall",element:i.jsx(De,{children:i.jsx(O6,{})})}),i.jsx(Pe,{path:"/free-sample",element:i.jsx(De,{children:i.jsx(F6,{})})}),i.jsx(Pe,{path:"/thank-you",element:i.jsx(De,{children:i.jsx(z6,{})})}),i.jsx(Pe,{path:"/login",element:i.jsx(De,{children:i.jsx(V6,{})})}),i.jsx(Pe,{path:"/about",element:i.jsx(De,{children:i.jsx(B6,{})})}),i.jsx(Pe,{path:"/website-funnel-build",element:i.jsx(De,{children:i.jsx(W6,{})})}),i.jsx(Pe,{path:"/ai-automation",element:i.jsx(De,{children:i.jsx(wn,{})})}),i.jsx(Pe,{path:"/ai-voice-agent",element:i.jsx(De,{children:i.jsx(wn,{})})}),i.jsx(Pe,{path:"/ai-chatbot",element:i.jsx(De,{children:i.jsx(wn,{})})}),i.jsx(Pe,{path:"/crm-automation",element:i.jsx(De,{children:i.jsx(wn,{})})}),i.jsx(Pe,{path:"/marketing-automation",element:i.jsx(De,{children:i.jsx(wn,{})})}),i.jsx(Pe,{path:"/lead-generation",element:i.jsx(De,{children:i.jsx(wn,{})})}),i.jsx(Pe,{path:"/web-design",element:i.jsx(De,{children:i.jsx(wn,{})})}),i.jsx(Pe,{path:"/seo",element:i.jsx(De,{children:i.jsx(wn,{})})}),i.jsx(Pe,{path:"/reputation-management",element:i.jsx(De,{children:i.jsx(wn,{})})}),i.jsx(Pe,{path:"/digital-marketing",element:i.jsx(De,{children:i.jsx(wn,{})})}),i.jsx(Pe,{path:"/montreal-ai-automation",element:i.jsx(De,{children:i.jsx(Qd,{})})}),i.jsx(Pe,{path:"/miami-ai-automation",element:i.jsx(De,{children:i.jsx(Qd,{})})}),i.jsx(Pe,{path:"/atlanta-ai-automation",element:i.jsx(De,{children:i.jsx(Qd,{})})}),i.jsx(Pe,{path:"*",element:i.jsx(De,{children:i.jsx(rg,{})})})]},e.pathname)})},i_=()=>i.jsx(hM,{client:s_,children:i.jsx(yT,{attribute:"class",defaultTheme:"system",enableSystem:!0,children:i.jsx(TL,{children:i.jsxs(O4,{children:[i.jsx(hT,{}),i.jsx(QT,{}),i.jsxs(pR,{children:[i.jsx(o_,{}),i.jsx(r_,{})]})]})})})}),a_=({onComplete:e})=>{const[t,n]=h.useState(!0);return h.useEffect(()=>{const r=setTimeout(()=>{n(!1),setTimeout(e,600)},2200);return()=>clearTimeout(r)},[e]),i.jsx(Ma,{children:t&&i.jsxs(ve.div,{initial:{opacity:1},exit:{opacity:0,scale:1.03},transition:{duration:.6,ease:"easeInOut"},className:"fixed inset-0 z-[9999] flex flex-col items-center justify-center",style:{background:"radial-gradient(ellipse at 50% 40%, #0a1628 0%, #060d1a 60%, #000000 100%)"},children:[i.jsx("div",{className:"absolute inset-0 pointer-events-none",style:{background:"radial-gradient(ellipse 60% 40% at 50% 50%, rgba(57,255,20,0.12) 0%, transparent 70%)"}}),i.jsxs(ve.div,{initial:{opacity:0,scale:.8,y:20},animate:{opacity:1,scale:1,y:0},transition:{duration:.7,ease:[.22,1,.36,1]},className:"relative flex flex-col items-center gap-6",children:[i.jsx(ve.img,{src:"https://assets.cdn.filesafe.space/FIGYqmaP870ddXvwutnh/media/665b31f66cee2bfeaf5239c2.png",alt:"Kr8tor.ai",className:"w-40 h-auto drop-shadow-2xl",animate:{filter:["drop-shadow(0 0 0px #39ff14)","drop-shadow(0 0 24px #39ff14)","drop-shadow(0 0 8px #39ff14)"]},transition:{duration:1.4,ease:"easeInOut",repeat:1/0,repeatType:"reverse"}}),i.jsx(ve.p,{initial:{opacity:0,y:8}
397,animate:{opacity:1,y:0},transition:{delay:.5,duration:.5},className:"text-sm tracking-widest uppercase text-green-400/80 font-medium",children:"The #1 AI System for Businesses"})]}),i.jsx(ve.div,{className:"absolute bottom-16 w-48 h-[2px] rounded-full overflow-hidden bg-white/10",children:i.jsx(ve.div,{className:"h-full rounded-full",style:{background:"linear-gradient(90deg, #22c55e, #39ff14)"},initial:{x:"-100%"},animate:{x:"100%"},transition:{duration:1.6,ease:"easeInOut",repeat:1/0}})})]},"splash")})},l_=()=>{const[e,t]=h.useState(!1);return i.jsxs(i.Fragment,{children:[!e&&i.jsx(a_,{onComplete:()=>t(!0)}),e&&i.jsx(i_,{})]})};iw(document.getElementById("root")).render(i.jsx(l_,{}));
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.