vendor: 5,085 bytes, line 1
1function EI(e,t){for(var r=0;r<t.length;r++){const s=t[r];if(typeof s!="string"&&!Array.isArray(s)){for(const a in s)if(a!=="default"&&!(a in e)){const l=Object.getOwnPropertyDescriptor(s,a);l&&Object.defineProperty(e,a,l.get?l:{enumerable:!0,get:()=>s[a]})}}}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 a of document.querySelectorAll('link[rel="modulepreload"]'))s(a);new MutationObserver(a=>{for(const l of a)if(l.type==="childList")for(const c of l.addedNodes)c.tagName==="LINK"&&c.rel==="modulepreload"&&s(c)}).observe(document,{childList:!0,subtree:!0});function r(a){const l={};return a.integrity&&(l.integrity=a.integrity),a.referrerPolicy&&(l.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?l.credentials="include":a.crossOrigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l}function s(a){if(a.ep)return;a.ep=!0;const l=r(a);fetch(a.href,l)}})();function oc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var vh={exports:{}},sl={},yh={exports:{}},Qe={};var rb;function TI(){if(rb)return Qe;rb=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),c=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),f=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),x=Symbol.iterator;function v(M){return M===null||typeof M!="object"?null:(M=x&&M[x]||M["@@iterator"],typeof M=="function"?M:null)}var b={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},N=Object.assign,j={};function C(M,R,X){this.props=M,this.context=R,this.refs=j,this.updater=X||b}C.prototype.isReactComponent={},C.prototype.setState=function(M,R){if(typeof M!="object"&&typeof M!="function"&&M!=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,M,R,"setState")},C.prototype.forceUpdate=function(M){this.updater.enqueueForceUpdate(this,M,"forceUpdate")};function k(){}k.prototype=C.prototype;function A(M,R,X){this.props=M,this.context=R,this.refs=j,this.updater=X||b}var T=A.prototype=new k;T.constructor=A,N(T,C.prototype),T.isPureReactComponent=!0;var P=Array.isArray,I=Object.prototype.hasOwnProperty,L={current:null},$={key:!0,ref:!0,__self:!0,__source:!0};function z(M,R,X){var le,oe={},he=null,ie=null;if(R!=null)for(le in R.ref!==void 0&&(ie=R.ref),R.key!==void 0&&(he=""+R.key),R)I.call(R,le)&&!$.hasOwnProperty(le)&&(oe[le]=R[le]);var je=arguments.length-2;if(je===1)oe.children=X;else if(1<je){for(var Me=Array(je),Ve=0;Ve<je;Ve++)Me[Ve]=arguments[Ve+2];oe.children=Me}if(M&&M.defaultProps)for(le in je=M.defaultProps,je)oe[le]===void 0&&(oe[le]=je[le]);return{$$typeof:e,type:M,key:he,ref:ie,props:oe,_owner:L.current}}function Y(M,R){return{$$typeof:e,type:M.type,key:R,ref:M.ref,props:M.props,_owner:M._owner}}function ee(M){return typeof M=="object"&&M!==null&&M.$$typeof===e}function ge(M){var R={"=":"=0",":":"=2"};return"$"+M.replace(/[=:]/g,function(X){return R[X]})}var Q=/\/+/g;function de(M,R){return typeof M=="object"&&M!==null&&M.key!=null?ge(""+M.key):R.toString(36)}function J(M,R,X,le,oe){var he=typeof M;(he==="undefined"||he==="boolean")&&(M=null);var ie=!1;if(M===null)ie=!0;else switch(he){case"string":case"number":ie=!0;break;case"object":switch(M.$$typeof){case e:case t:ie=!0}}if(ie)return ie=M,oe=oe(ie),M=le===""?"."+de(ie,0):le,P(oe)?(X="",M!=null&&(X=M.replace(Q,"$&/")+"/"),J(oe,R,X,"",function(Ve){return Ve})):oe!=null&&(ee(oe)&&(oe=Y(oe,X+(!oe.key||ie&&ie.key===oe.key?"":(""+oe.key).replace(Q,"$&/")+"/")+M)),R.push(oe)),1;if(ie=0,le=le===""?".":le+":",P(M))for(var je=0;je<M.length;je++){he=M[je];var Me=le+de(he,je);ie+=J(he,R,X,Me,oe)}else if(Me=v(M),typeof Me=="function")for(M=Me.call(M),je=0;!(he=M.next()).done;)he=he.value,Me=le+de(he,je++),ie+=J(he,R,X,Me,oe);else if(he==="object")throw R=String(M),Error("Objects are not valid as a React child (found: "+(R==="[object Object]"?"object with keys {"+Object.keys(M).join(", ")+"}":R)+"). If you meant to render a collection of children, use an array instead.");return ie}function be(M,R,X){if(M==null)return M;var le=[],oe=0;return J(M,le,"","",function(he){return R.call(X,he,oe++)}),le}function me(M){if(M._status===-1){var R=M._result;R=R(),R.then(function(X){(M._status===0||M._status===-1)&&(M._status=1,M._result=X)},function(X){(M._status===0||M._status===-1)&&(M._status=2,M._result=X)}),M._status===-1&&(M._status=0,M._result=R)}if(M._status===1)return M._result.default;throw M._result}var W={current:null},F={transition:null},Z={ReactCurrentDispatcher:W,ReactCurrentBatchConfig:F,ReactCurrentOwner:L};function re(){throw Error("act(...) is not supported in production builds of React.")}
vendor: 4,905 bytes, line 1
1return Qe.Children={map:be,forEach:function(M,R,X){be(M,function(){R.apply(this,arguments)},X)},count:function(M){var R=0;return be(M,function(){R++}),R},toArray:function(M){return be(M,function(R){return R})||[]},only:function(M){if(!ee(M))throw Error("React.Children.only expected to receive a single React element child.");return M}},Qe.Component=C,Qe.Fragment=r,Qe.Profiler=a,Qe.PureComponent=A,Qe.StrictMode=s,Qe.Suspense=m,Qe.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Z,Qe.act=re,Qe.cloneElement=function(M,R,X){if(M==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+M+".");var le=N({},M.props),oe=M.key,he=M.ref,ie=M._owner;if(R!=null){if(R.ref!==void 0&&(he=R.ref,ie=L.current),R.key!==void 0&&(oe=""+R.key),M.type&&M.type.defaultProps)var je=M.type.defaultProps;for(Me in R)I.call(R,Me)&&!$.hasOwnProperty(Me)&&(le[Me]=R[Me]===void 0&&je!==void 0?je[Me]:R[Me])}var Me=arguments.length-2;if(Me===1)le.children=X;else if(1<Me){je=Array(Me);for(var Ve=0;Ve<Me;Ve++)je[Ve]=arguments[Ve+2];le.children=je}return{$$typeof:e,type:M.type,key:oe,ref:he,props:le,_owner:ie}},Qe.createContext=function(M){return M={$$typeof:c,_currentValue:M,_currentValue2:M,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},M.Provider={$$typeof:l,_context:M},M.Consumer=M},Qe.createElement=z,Qe.createFactory=function(M){var R=z.bind(null,M);return R.type=M,R},Qe.createRef=function(){return{current:null}},Qe.forwardRef=function(M){return{$$typeof:d,render:M}},Qe.isValidElement=ee,Qe.lazy=function(M){return{$$typeof:p,_payload:{_status:-1,_result:M},_init:me}},Qe.memo=function(M,R){return{$$typeof:f,type:M,compare:R===void 0?null:R}},Qe.startTransition=function(M){var R=F.transition;F.transition={};try{M()}finally{F.transition=R}},Qe.unstable_act=re,Qe.useCallback=function(M,R){return W.current.useCallback(M,R)},Qe.useContext=function(M){return W.current.useContext(M)},Qe.useDebugValue=function(){},Qe.useDeferredValue=function(M){return W.current.useDeferredValue(M)},Qe.useEffect=function(M,R){return W.current.useEffect(M,R)},Qe.useId=function(){return W.current.useId()},Qe.useImperativeHandle=function(M,R,X){return W.current.useImperativeHandle(M,R,X)},Qe.useInsertionEffect=function(M,R){return W.current.useInsertionEffect(M,R)},Qe.useLayoutEffect=function(M,R){return W.current.useLayoutEffect(M,R)},Qe.useMemo=function(M,R){return W.current.useMemo(M,R)},Qe.useReducer=function(M,R,X){return W.current.useReducer(M,R,X)},Qe.useRef=function(M){return W.current.useRef(M)},Qe.useState=function(M){return W.current.useState(M)},Qe.useSyncExternalStore=function(M,R,X){return W.current.useSyncExternalStore(M,R,X)},Qe.useTransition=function(){return W.current.useTransition()},Qe.version="18.3.1",Qe}var sb;function Sg(){return sb||(sb=1,yh.exports=TI()),yh.exports}var ib;function II(){if(ib)return sl;ib=1;var e=Sg(),t=Symbol.for("react.element"),r=Symbol.for("react.fragment"),s=Object.prototype.hasOwnProperty,a=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function c(d,m,f){var p,x={},v=null,b=null;f!==void 0&&(v=""+f),m.key!==void 0&&(v=""+m.key),m.ref!==void 0&&(b=m.ref);for(p in m)s.call(m,p)&&!l.hasOwnProperty(p)&&(x[p]=m[p]);if(d&&d.defaultProps)for(p in m=d.defaultProps,m)x[p]===void 0&&(x[p]=m[p]);return{$$typeof:t,type:d,key:v,ref:b,props:x,_owner:a.current}}return sl.Fragment=r,sl.jsx=c,sl.jsxs=c,sl}var ab;function PI(){return ab||(ab=1,vh.exports=II()),vh.exports}var n=PI(),Od={},bh={exports:{}},Rn={},wh={exports:{}},jh={};var ob;function _I(){return ob||(ob=1,(function(e){function t(F,Z){var re=F.length;F.push(Z);e:for(;0<re;){var M=re-1>>>1,R=F[M];if(0<a(R,Z))F[M]=Z,F[re]=R,re=M;else break e}}function r(F){return F.length===0?null:F[0]}function s(F){if(F.length===0)return null;var Z=F[0],re=F.pop();if(re!==Z){F[0]=re;e:for(var M=0,R=F.length,X=R>>>1;M<X;){var le=2*(M+1)-1,oe=F[le],he=le+1,ie=F[he];if(0>a(oe,re))he<R&&0>a(ie,oe)?(F[M]=ie,F[he]=re,M=he):(F[M]=oe,F[le]=re,M=le);else if(he<R&&0>a(ie,re))F[M]=ie,F[he]=re,M=he;else break e}}return Z}function a(F,Z){var re=F.sortIndex-Z.sortIndex;return re!==0?re:F.id-Z.id}if(typeof performance=="object"&&typeof performance.now=="function"){var l=performance;e.unstable_now=function(){return l.now()}}else{var c=Date,d=c.now();e.unstable_now=function(){return c.now()-d}}var m=[],f=[],p=1,x=null,v=3,b=!1,N=!1,j=!1,C=typeof setTimeout=="function"?setTimeout:null,k=typeof clearTimeout=="function"?clearTimeout:null,A=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function T(F){for(var Z=r(f);Z!==null;){if(Z.callback===null)s(f);else if(Z.startTime<=F)s(f),Z.sortIndex=Z.expirationTime,t(m,Z);else break;Z=r(f)}}
vendor: 50,391 bytes, lines 1-6
1function P(F){if(j=!1,T(F),!N)if(r(m)!==null)N=!0,me(I);else{var Z=r(f);Z!==null&&W(P,Z.startTime-F)}}function I(F,Z){N=!1,j&&(j=!1,k(z),z=-1),b=!0;var re=v;try{for(T(Z),x=r(m);x!==null&&(!(x.expirationTime>Z)||F&&!ge());){var M=x.callback;if(typeof M=="function"){x.callback=null,v=x.priorityLevel;var R=M(x.expirationTime<=Z);Z=e.unstable_now(),typeof R=="function"?x.callback=R:x===r(m)&&s(m),T(Z)}else s(m);x=r(m)}if(x!==null)var X=!0;else{var le=r(f);le!==null&&W(P,le.startTime-Z),X=!1}return X}finally{x=null,v=re,b=!1}}var L=!1,$=null,z=-1,Y=5,ee=-1;function ge(){return!(e.unstable_now()-ee<Y)}function Q(){if($!==null){var F=e.unstable_now();ee=F;var Z=!0;try{Z=$(!0,F)}finally{Z?de():(L=!1,$=null)}}else L=!1}var de;if(typeof A=="function")de=function(){A(Q)};else if(typeof MessageChannel<"u"){var J=new MessageChannel,be=J.port2;J.port1.onmessage=Q,de=function(){be.postMessage(null)}}else de=function(){C(Q,0)};function me(F){$=F,L||(L=!0,de())}function W(F,Z){z=C(function(){F(e.unstable_now())},Z)}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(F){F.callback=null},e.unstable_continueExecution=function(){N||b||(N=!0,me(I))},e.unstable_forceFrameRate=function(F){0>F||125<F?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Y=0<F?Math.floor(1e3/F):5},e.unstable_getCurrentPriorityLevel=function(){return v},e.unstable_getFirstCallbackNode=function(){return r(m)},e.unstable_next=function(F){switch(v){case 1:case 2:case 3:var Z=3;break;default:Z=v}var re=v;v=Z;try{return F()}finally{v=re}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(F,Z){switch(F){case 1:case 2:case 3:case 4:case 5:break;default:F=3}var re=v;v=F;try{return Z()}finally{v=re}},e.unstable_scheduleCallback=function(F,Z,re){var M=e.unstable_now();switch(typeof re=="object"&&re!==null?(re=re.delay,re=typeof re=="number"&&0<re?M+re:M):re=M,F){case 1:var R=-1;break;case 2:R=250;break;case 5:R=1073741823;break;case 4:R=1e4;break;default:R=5e3}return R=re+R,F={id:p++,callback:Z,priorityLevel:F,startTime:re,expirationTime:R,sortIndex:-1},re>M?(F.sortIndex=re,t(f,F),r(m)===null&&F===r(f)&&(j?(k(z),z=-1):j=!0,W(P,re-M))):(F.sortIndex=R,t(m,F),N||b||(N=!0,me(I))),F},e.unstable_shouldYield=ge,e.unstable_wrapCallback=function(F){var Z=v;return function(){var re=v;v=Z;try{return F.apply(this,arguments)}finally{v=re}}}})(jh)),jh}var lb;function RI(){return lb||(lb=1,wh.exports=_I()),wh.exports}var cb;function MI(){if(cb)return Rn;cb=1;var e=Sg(),t=RI();function r(i){for(var o="https://reactjs.org/docs/error-decoder.html?invariant="+i,u=1;u<arguments.length;u++)o+="&args[]="+encodeURIComponent(arguments[u]);return"Minified React error #"+i+"; visit "+o+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var s=new Set,a={};function l(i,o){c(i,o),c(i+"Capture",o)}function c(i,o){for(a[i]=o,i=0;i<o.length;i++)s.add(o[i])}var d=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),m=Object.prototype.hasOwnProperty,f=/^[: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]*$/,p={},x={};function v(i){return m.call(x,i)?!0:m.call(p,i)?!1:f.test(i)?x[i]=!0:(p[i]=!0,!1)}function b(i,o,u,h){if(u!==null&&u.type===0)return!1;switch(typeof o){case"function":case"symbol":return!0;case"boolean":return h?!1:u!==null?!u.acceptsBooleans:(i=i.toLowerCase().slice(0,5),i!=="data-"&&i!=="aria-");default:return!1}}function N(i,o,u,h){if(o===null||typeof o>"u"||b(i,o,u,h))return!0;if(h)return!1;if(u!==null)switch(u.type){case 3:return!o;case 4:return o===!1;case 5:return isNaN(o);case 6:return isNaN(o)||1>o}return!1}function j(i,o,u,h,y,w,S){this.acceptsBooleans=o===2||o===3||o===4,this.attributeName=h,this.attributeNamespace=y,this.mustUseProperty=u,this.propertyName=i,this.type=o,this.sanitizeURL=w,this.removeEmptyString=S}var C={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(i){C[i]=new j(i,0,!1,i,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(i){var o=i[0];C[o]=new j(o,1,!1,i[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(i){C[i]=new j(i,2,!1,i.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(i){C[i]=new j(i,2,!1,i,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(i){C[i]=new j(i,3,!1,i.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(i){C[i]=new j(i,3,!0,i,null,!1,!1)}),["capture","download"].forEach(function(i){C[i]=new j(i,4,!1,i,null,!1,!1)}),["cols","rows","size","span"].forEach(function(i){C[i]=new j(i,6,!1,i,null,!1,!1)}),["rowSpan","start"].forEach(function(i){C[i]=new j(i,5,!1,i.toLowerCase(),null,!1,!1)});var k=/[\-:]([a-z])/g;function A(i){return i[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(i){var o=i.replace(k,A);C[o]=new j(o,1,!1,i,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(i){var o=i.replace(k,A);C[o]=new j(o,1,!1,i,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(i){var o=i.replace(k,A);C[o]=new j(o,1,!1,i,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(i){C[i]=new j(i,1,!1,i.toLowerCase(),null,!1,!1)}),C.xlinkHref=new j("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(i){C[i]=new j(i,1,!1,i.toLowerCase(),null,!0,!0)});function T(i,o,u,h){var y=C.hasOwnProperty(o)?C[o]:null;(y!==null?y.type!==0:h||!(2<o.length)||o[0]!=="o"&&o[0]!=="O"||o[1]!=="n"&&o[1]!=="N")&&(N(o,u,y,h)&&(u=null),h||y===null?v(o)&&(u===null?i.removeAttribute(o):i.setAttribute(o,""+u)):y.mustUseProperty?i[y.propertyName]=u===null?y.type===3?!1:"":u:(o=y.attributeName,h=y.attributeNamespace,u===null?i.removeAttribute(o):(y=y.type,u=y===3||y===4&&u===!0?"":""+u,h?i.setAttributeNS(h,o,u):i.setAttribute(o,u))))}var P=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,I=Symbol.for("react.element"),L=Symbol.for("react.portal"),$=Symbol.for("react.fragment"),z=Symbol.for("react.strict_mode"),Y=Symbol.for("react.profiler"),ee=Symbol.for("react.provider"),ge=Symbol.for("react.context"),Q=Symbol.for("react.forward_ref"),de=Symbol.for("react.suspense"),J=Symbol.for("react.suspense_list"),be=Symbol.for("react.memo"),me=Symbol.for("react.lazy"),W=Symbol.for("react.offscreen"),F=Symbol.iterator;function Z(i){return i===null||typeof i!="object"?null:(i=F&&i[F]||i["@@iterator"],typeof i=="function"?i:null)}var re=Object.assign,M;function R(i){if(M===void 0)try{throw Error()}catch(u){var o=u.stack.trim().match(/\n( *(at )?)/);M=o&&o[1]||""}return` 2`+M+i}var X=!1;function le(i,o){if(!i||X)return"";X=!0;var u=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(o)if(o=function(){throw Error()},Object.defineProperty(o.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(o,[])}catch(q){var h=q}Reflect.construct(i,[],o)}else{try{o.call()}catch(q){h=q}i.call(o.prototype)}else{try{throw Error()}catch(q){h=q}i()}}catch(q){if(q&&h&&typeof q.stack=="string"){for(var y=q.stack.split(` 3`),w=h.stack.split(` 4`),S=y.length-1,_=w.length-1;1<=S&&0<=_&&y[S]!==w[_];)_--;for(;1<=S&&0<=_;S--,_--)if(y[S]!==w[_]){if(S!==1||_!==1)do if(S--,_--,0>_||y[S]!==w[_]){var D=` 5`+y[S].replace(" at new "," at ");return i.displayName&&D.includes("<anonymous>")&&(D=D.replace("<anonymous>",i.displayName)),D}while(1<=S&&0<=_);break}}}finally{X=!1,Error.prepareStackTrace=u}return(i=i?i.displayName||i.name:"")?R(i):""}function oe(i){switch(i.tag){case 5:return R(i.type);case 16:return R("Lazy");case 13:return R("Suspense");case 19:return R("SuspenseList");case 0:case 2:case 15:return i=le(i.type,!1),i;case 11:return i=le(i.type.render,!1),i;case 1:return i=le(i.type,!0),i;default:return""}}function he(i){if(i==null)return null;if(typeof i=="function")return i.displayName||i.name||null;if(typeof i=="string")return i;switch(i){case $:return"Fragment";case L:return"Portal";case Y:return"Profiler";case z:return"StrictMode";case de:return"Suspense";case J:return"SuspenseList"}if(typeof i=="object")switch(i.$$typeof){case ge:return(i.displayName||"Context")+".Consumer";case ee:return(i._context.displayName||"Context")+".Provider";case Q:var o=i.render;return i=i.displayName,i||(i=o.displayName||o.name||"",i=i!==""?"ForwardRef("+i+")":"ForwardRef"),i;case be:return o=i.displayName||null,o!==null?o:he(i.type)||"Memo";case me:o=i._payload,i=i._init;try{return he(i(o))}catch{}}return null}function ie(i){var o=i.type;switch(i.tag){case 24:return"Cache";case 9:return(o.displayName||"Context")+".Consumer";case 10:return(o._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return i=o.render,i=i.displayName||i.name||"",o.displayName||(i!==""?"ForwardRef("+i+")":"ForwardRef");case 7:return"Fragment";case 5:return o;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return he(o);case 8:return o===z?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof o=="function")return o.displayName||o.name||null;if(typeof o=="string")return o}return null}function je(i){switch(typeof i){case"boolean":case"number":case"string":case"undefined":return i;case"object":return i;default:return""}}function Me(i){var o=i.type;return(i=i.nodeName)&&i.toLowerCase()==="input"&&(o==="checkbox"||o==="radio")}function Ve(i){var o=Me(i)?"checked":"value",u=Object.getOwnPropertyDescriptor(i.constructor.prototype,o),h=""+i[o];if(!i.hasOwnProperty(o)&&typeof u<"u"&&typeof u.get=="function"&&typeof u.set=="function"){var y=u.get,w=u.set;return Object.defineProperty(i,o,{configurable:!0,get:function(){return y.call(this)},set:function(S){h=""+S,w.call(this,S)}}),Object.defineProperty(i,o,{enumerable:u.enumerable}),{getValue:function(){return h},setValue:function(S){h=""+S},stopTracking:function(){i._valueTracker=null,delete i[o]}}}}function Xe(i){i._valueTracker||(i._valueTracker=Ve(i))}function at(i){if(!i)return!1;var o=i._valueTracker;if(!o)return!0;var u=o.getValue(),h="";return i&&(h=Me(i)?i.checked?"true":"false":i.value),i=h,i!==u?(o.setValue(i),!0):!1}function St(i){if(i=i||(typeof document<"u"?document:void 0),typeof i>"u")return null;try{return i.activeElement||i.body}catch{return i.body}}function Yt(i,o){var u=o.checked;return re({},o,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:u??i._wrapperState.initialChecked})}function Mr(i,o){var u=o.defaultValue==null?"":o.defaultValue,h=o.checked!=null?o.checked:o.defaultChecked;u=je(o.value!=null?o.value:u),i._wrapperState={initialChecked:h,initialValue:u,controlled:o.type==="checkbox"||o.type==="radio"?o.checked!=null:o.value!=null}}function An(i,o){o=o.checked,o!=null&&T(i,"checked",o,!1)}function Or(i,o){An(i,o);var u=je(o.value),h=o.type;if(u!=null)h==="number"?(u===0&&i.value===""||i.value!=u)&&(i.value=""+u):i.value!==""+u&&(i.value=""+u);else if(h==="submit"||h==="reset"){i.removeAttribute("value");return}o.hasOwnProperty("value")?H(i,o.type,u):o.hasOwnProperty("defaultValue")&&H(i,o.type,je(o.defaultValue)),o.checked==null&&o.defaultChecked!=null&&(i.defaultChecked=!!o.defaultChecked)}function O(i,o,u){if(o.hasOwnProperty("value")||o.hasOwnProperty("defaultValue")){var h=o.type;if(!(h!=="submit"&&h!=="reset"||o.value!==void 0&&o.value!==null))return;o=""+i._wrapperState.initialValue,u||o===i.value||(i.value=o),i.defaultValue=o}u=i.name,u!==""&&(i.name=""),i.defaultChecked=!!i._wrapperState.initialChecked,u!==""&&(i.name=u)}function H(i,o,u){(o!=="number"||St(i.ownerDocument)!==i)&&(u==null?i.defaultValue=""+i._wrapperState.initialValue:i.defaultValue!==""+u&&(i.defaultValue=""+u))}var K=Array.isArray;function we(i,o,u,h){if(i=i.options,o){o={};for(var y=0;y<u.length;y++)o["$"+u[y]]=!0;for(u=0;u<i.length;u++)y=o.hasOwnProperty("$"+i[u].value),i[u].selected!==y&&(i[u].selected=y),y&&h&&(i[u].defaultSelected=!0)}else{for(u=""+je(u),o=null,y=0;y<i.length;y++){if(i[y].value===u){i[y].selected=!0,h&&(i[y].defaultSelected=!0);return}o!==null||i[y].disabled||(o=i[y])}o!==null&&(o.selected=!0)}}function xe(i,o){if(o.dangerouslySetInnerHTML!=null)throw Error(r(91));return re({},o,{value:void 0,defaultValue:void 0,children:""+i._wrapperState.initialValue})}function ue(i,o){var u=o.value;if(u==null){if(u=o.children,o=o.defaultValue,u!=null){if(o!=null)throw Error(r(92));if(K(u)){if(1<u.length)throw Error(r(93));u=u[0]}o=u}o==null&&(o=""),u=o}i._wrapperState={initialValue:je(u)}}function De(i,o){var u=je(o.value),h=je(o.defaultValue);u!=null&&(u=""+u,u!==i.value&&(i.value=u),o.defaultValue==null&&i.defaultValue!==u&&(i.defaultValue=u)),h!=null&&(i.defaultValue=""+h)}function qe(i){var o=i.textContent;o===i._wrapperState.initialValue&&o!==""&&o!==null&&(i.value=o)}function gt(i){switch(i){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 ot(i,o){return i==null||i==="http://www.w3.org/1999/xhtml"?gt(o):i==="http://www.w3.org/2000/svg"&&o==="foreignObject"?"http://www.w3.org/1999/xhtml":i}var vn,dr=(function(i){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(o,u,h,y){MSApp.execUnsafeLocalFunction(function(){return i(o,u,h,y)})}:i})(function(i,o){if(i.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in i)i.innerHTML=o;else{for(vn=vn||document.createElement("div"),vn.innerHTML="<svg>"+o.valueOf().toString()+"</svg>",o=vn.firstChild;i.firstChild;)i.removeChild(i.firstChild);for(;o.firstChild;)i.appendChild(o.firstChild)}});function Gn(i,o){if(o){var u=i.firstChild;if(u&&u===i.lastChild&&u.nodeType===3){u.nodeValue=o;return}}i.textContent=o}var ur={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},ta=["Webkit","ms","Moz","O"];Object.keys(ur).forEach(function(i){ta.forEach(function(o){o=o+i.charAt(0).toUpperCase()+i.substring(1),ur[o]=ur[i]})});function Ss(i,o,u){return o==null||typeof o=="boolean"||o===""?"":u||typeof o!="number"||o===0||ur.hasOwnProperty(i)&&ur[i]?(""+o).trim():o+"px"}function na(i,o){i=i.style;for(var u in o)if(o.hasOwnProperty(u)){var h=u.indexOf("--")===0,y=Ss(u,o[u],h);u==="float"&&(u="cssFloat"),h?i.setProperty(u,y):i[u]=y}}var ks=re({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 Yn(i,o){if(o){if(ks[i]&&(o.children!=null||o.dangerouslySetInnerHTML!=null))throw Error(r(137,i));if(o.dangerouslySetInnerHTML!=null){if(o.children!=null)throw Error(r(60));if(typeof o.dangerouslySetInnerHTML!="object"||!("__html"in o.dangerouslySetInnerHTML))throw Error(r(61))}if(o.style!=null&&typeof o.style!="object")throw Error(r(62))}}function wo(i,o){if(i.indexOf("-")===-1)return typeof o.is=="string";switch(i){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 We=null;function lt(i){return i=i.target||i.srcElement||window,i.correspondingUseElement&&(i=i.correspondingUseElement),i.nodeType===3?i.parentNode:i}var rt=null,Zt=null,Qt=null;function yi(i){if(i=Ho(i)){if(typeof rt!="function")throw Error(r(280));var o=i.stateNode;o&&(o=Zc(o),rt(i.stateNode,i.type,o))}}function Ac(i){Zt?Qt?Qt.push(i):Qt=[i]:Zt=i}function jv(){if(Zt){var i=Zt,o=Qt;if(Qt=Zt=null,yi(i),o)for(i=0;i<o.length;i++)yi(o[i])}}function Nv(i,o){return i(o)}function Cv(){}var Mm=!1;function Sv(i,o,u){if(Mm)return i(o,u);Mm=!0;try{return Nv(i,o,u)}finally{Mm=!1,(Zt!==null||Qt!==null)&&(Cv(),jv())}}function jo(i,o){var u=i.stateNode;if(u===null)return null;var h=Zc(u);if(h===null)return null;u=h[o];e:switch(o){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(h=!h.disabled)||(i=i.type,h=!(i==="button"||i==="input"||i==="select"||i==="textarea")),i=!h;break e;default:i=!1}if(i)return null;if(u&&typeof u!="function")throw Error(r(231,o,typeof u));return u}var Om=!1;if(d)try{var No={};Object.defineProperty(No,"passive",{get:function(){Om=!0}}),window.addEventListener("test",No,No),window.removeEventListener("test",No,No)}catch{Om=!1}function ME(i,o,u,h,y,w,S,_,D){var q=Array.prototype.slice.call(arguments,3);try{o.apply(u,q)}catch(ae){this.onError(ae)}}var Co=!1,Ec=null,Tc=!1,Dm=null,OE={onError:function(i){Co=!0,Ec=i}};function DE(i,o,u,h,y,w,S,_,D){Co=!1,Ec=null,ME.apply(OE,arguments)}function LE(i,o,u,h,y,w,S,_,D){if(DE.apply(this,arguments),Co){if(Co){var q=Ec;Co=!1,Ec=null}else throw Error(r(198));Tc||(Tc=!0,Dm=q)}}function bi(i){var o=i,u=i;if(i.alternate)for(;o.return;)o=o.return;else{i=o;do o=i,(o.flags&4098)!==0&&(u=o.return),i=o.return;while(i)}return o.tag===3?u:null}function kv(i){if(i.tag===13){var o=i.memoizedState;if(o===null&&(i=i.alternate,i!==null&&(o=i.memoizedState)),o!==null)return o.dehydrated}return null}function Av(i){if(bi(i)!==i)throw Error(r(188))}function VE(i){var o=i.alternate;if(!o){if(o=bi(i),o===null)throw Error(r(188));return o!==i?null:i}for(var u=i,h=o;;){var y=u.return;if(y===null)break;var w=y.alternate;if(w===null){if(h=y.return,h!==null){u=h;continue}break}if(y.child===w.child){for(w=y.child;w;){if(w===u)return Av(y),i;if(w===h)return Av(y),o;w=w.sibling}throw Error(r(188))}if(u.return!==h.return)u=y,h=w;else{for(var S=!1,_=y.child;_;){if(_===u){S=!0,u=y,h=w;break}if(_===h){S=!0,h=y,u=w;break}_=_.sibling}if(!S){for(_=w.child;_;){if(_===u){S=!0,u=w,h=y;break}if(_===h){S=!0,h=w,u=y;break}_=_.sibling}if(!S)throw Error(r(189))}}if(u.alternate!==h)throw Error(r(190))}if(u.tag!==3)throw Error(r(188));return u.stateNode.current===u?i:o}function Ev(i){return i=VE(i),i!==null?Tv(i):null}function Tv(i){if(i.tag===5||i.tag===6)return i;for(i=i.child;i!==null;){var o=Tv(i);if(o!==null)return o;i=i.sibling}return null}var Iv=t.unstable_scheduleCallback,Pv=t.unstable_cancelCallback,FE=t.unstable_shouldYield,$E=t.unstable_requestPaint,Tt=t.unstable_now,BE=t.unstable_getCurrentPriorityLevel,Lm=t.unstable_ImmediatePriority,_v=t.unstable_UserBlockingPriority,Ic=t.unstable_NormalPriority,zE=t.unstable_LowPriority,Rv=t.unstable_IdlePriority,Pc=null,Dr=null;function HE(i){if(Dr&&typeof Dr.onCommitFiberRoot=="function")try{Dr.onCommitFiberRoot(Pc,i,void 0,(i.current.flags&128)===128)}catch{}}var mr=Math.clz32?Math.clz32:qE,UE=Math.log,WE=Math.LN2;function qE(i){return i>>>=0,i===0?32:31-(UE(i)/WE|0)|0}var _c=64,Rc=4194304;function So(i){switch(i&-i){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 i&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return i&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return i}}function Mc(i,o){var u=i.pendingLanes;if(u===0)return 0;var h=0,y=i.suspendedLanes,w=i.pingedLanes,S=u&268435455;if(S!==0){var _=S&~y;_!==0?h=So(_):(w&=S,w!==0&&(h=So(w)))}else S=u&~y,S!==0?h=So(S):w!==0&&(h=So(w));if(h===0)return 0;if(o!==0&&o!==h&&(o&y)===0&&(y=h&-h,w=o&-o,y>=w||y===16&&(w&4194240)!==0))return o;if((h&4)!==0&&(h|=u&16),o=i.entangledLanes,o!==0)for(i=i.entanglements,o&=h;0<o;)u=31-mr(o),y=1<<u,h|=i[u],o&=~y;return h}function KE(i,o){switch(i){case 1:case 2:case 4:return o+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 o+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 GE(i,o){for(var u=i.suspendedLanes,h=i.pingedLanes,y=i.expirationTimes,w=i.pendingLanes;0<w;){var S=31-mr(w),_=1<<S,D=y[S];D===-1?((_&u)===0||(_&h)!==0)&&(y[S]=KE(_,o)):D<=o&&(i.expiredLanes|=_),w&=~_}}function Vm(i){return i=i.pendingLanes&-1073741825,i!==0?i:i&1073741824?1073741824:0}function Mv(){var i=_c;return _c<<=1,(_c&4194240)===0&&(_c=64),i}function Fm(i){for(var o=[],u=0;31>u;u++)o.push(i);return o}function ko(i,o,u){i.pendingLanes|=o,o!==536870912&&(i.suspendedLanes=0,i.pingedLanes=0),i=i.eventTimes,o=31-mr(o),i[o]=u}function YE(i,o){var u=i.pendingLanes&~o;i.pendingLanes=o,i.suspendedLanes=0,i.pingedLanes=0,i.expiredLanes&=o,i.mutableReadLanes&=o,i.entangledLanes&=o,o=i.entanglements;var h=i.eventTimes;for(i=i.expirationTimes;0<u;){var y=31-mr(u),w=1<<y;o[y]=0,h[y]=-1,i[y]=-1,u&=~w}}function $m(i,o){var u=i.entangledLanes|=o;for(i=i.entanglements;u;){var h=31-mr(u),y=1<<h;y&o|i[h]&o&&(i[h]|=o),u&=~y}}var ct=0;function Ov(i){return i&=-i,1<i?4<i?(i&268435455)!==0?16:536870912:4:1}var Dv,Bm,Lv,Vv,Fv,zm=!1,Oc=[],As=null,Es=null,Ts=null,Ao=new Map,Eo=new Map,Is=[],ZE="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 $v(i,o){switch(i){case"focusin":case"focusout":As=null;break;case"dragenter":case"dragleave":Es=null;break;case"mouseover":case"mouseout":Ts=null;break;case"pointerover":case"pointerout":Ao.delete(o.pointerId);break;case"gotpointercapture":case"lostpointercapture":Eo.delete(o.pointerId)}}function To(i,o,u,h,y,w){return i===null||i.nativeEvent!==w?(i={blockedOn:o,domEventName:u,eventSystemFlags:h,nativeEvent:w,targetContainers:[y]},o!==null&&(o=Ho(o),o!==null&&Bm(o)),i):(i.eventSystemFlags|=h,o=i.targetContainers,y!==null&&o.indexOf(y)===-1&&o.push(y),i)}function QE(i,o,u,h,y){switch(o){case"focusin":return As=To(As,i,o,u,h,y),!0;case"dragenter":return Es=To(Es,i,o,u,h,y),!0;case"mouseover":return Ts=To(Ts,i,o,u,h,y),!0;case"pointerover":var w=y.pointerId;return Ao.set(w,To(Ao.get(w)||null,i,o,u,h,y)),!0;case"gotpointercapture":return w=y.pointerId,Eo.set(w,To(Eo.get(w)||null,i,o,u,h,y)),!0}return!1}function Bv(i){var o=wi(i.target);if(o!==null){var u=bi(o);if(u!==null){if(o=u.tag,o===13){if(o=kv(u),o!==null){i.blockedOn=o,Fv(i.priority,function(){Lv(u)});return}}else if(o===3&&u.stateNode.current.memoizedState.isDehydrated){i.blockedOn=u.tag===3?u.stateNode.containerInfo:null;return}}}i.blockedOn=null}function Dc(i){if(i.blockedOn!==null)return!1;for(var o=i.targetContainers;0<o.length;){var u=Um(i.domEventName,i.eventSystemFlags,o[0],i.nativeEvent);if(u===null){u=i.nativeEvent;var h=new u.constructor(u.type,u);We=h,u.target.dispatchEvent(h),We=null}else return o=Ho(u),o!==null&&Bm(o),i.blockedOn=u,!1;o.shift()}return!0}function zv(i,o,u){Dc(i)&&u.delete(o)}function XE(){zm=!1,As!==null&&Dc(As)&&(As=null),Es!==null&&Dc(Es)&&(Es=null),Ts!==null&&Dc(Ts)&&(Ts=null),Ao.forEach(zv),Eo.forEach(zv)}function Io(i,o){i.blockedOn===o&&(i.blockedOn=null,zm||(zm=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,XE)))}function Po(i){function o(y){return Io(y,i)}if(0<Oc.length){Io(Oc[0],i);for(var u=1;u<Oc.length;u++){var h=Oc[u];h.blockedOn===i&&(h.blockedOn=null)}}for(As!==null&&Io(As,i),Es!==null&&Io(Es,i),Ts!==null&&Io(Ts,i),Ao.forEach(o),Eo.forEach(o),u=0;u<Is.length;u++)h=Is[u],h.blockedOn===i&&(h.blockedOn=null);for(;0<Is.length&&(u=Is[0],u.blockedOn===null);)Bv(u),u.blockedOn===null&&Is.shift()}var ra=P.ReactCurrentBatchConfig,Lc=!0;function JE(i,o,u,h){var y=ct,w=ra.transition;ra.transition=null;try{ct=1,Hm(i,o,u,h)}finally{ct=y,ra.transition=w}}function eT(i,o,u,h){var y=ct,w=ra.transition;ra.transition=null;try{ct=4,Hm(i,o,u,h)}finally{ct=y,ra.transition=w}}function Hm(i,o,u,h){if(Lc){var y=Um(i,o,u,h);if(y===null)lf(i,o,h,Vc,u),$v(i,h);else if(QE(y,i,o,u,h))h.stopPropagation();else if($v(i,h),o&4&&-1<ZE.indexOf(i)){for(;y!==null;){var w=Ho(y);if(w!==null&&Dv(w),w=Um(i,o,u,h),w===null&&lf(i,o,h,Vc,u),w===y)break;y=w}y!==null&&h.stopPropagation()}else lf(i,o,h,null,u)}}var Vc=null;function Um(i,o,u,h){if(Vc=null,i=lt(h),i=wi(i),i!==null)if(o=bi(i),o===null)i=null;else if(u=o.tag,u===13){if(i=kv(o),i!==null)return i;i=null}else if(u===3){if(o.stateNode.current.memoizedState.isDehydrated)return o.tag===3?o.stateNode.containerInfo:null;i=null}else o!==i&&(i=null);return Vc=i,null}function Hv(i){switch(i){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(BE()){case Lm:return 1;case _v:return 4;case Ic:case zE:return 16;case Rv:return 536870912;default:return 16}default:return 16}}var Ps=null,Wm=null,Fc=null;function Uv(){if(Fc)return Fc;var i,o=Wm,u=o.length,h,y="value"in Ps?Ps.value:Ps.textContent,w=y.length;for(i=0;i<u&&o[i]===y[i];i++);var S=u-i;for(h=1;h<=S&&o[u-h]===y[w-h];h++);return Fc=y.slice(i,1<h?1-h:void 0)}function $c(i){var o=i.keyCode;return"charCode"in i?(i=i.charCode,i===0&&o===13&&(i=13)):i=o,i===10&&(i=13),32<=i||i===13?i:0}function Bc(){return!0}function Wv(){return!1}function Fn(i){function o(u,h,y,w,S){this._reactName=u,this._targetInst=y,this.type=h,this.nativeEvent=w,this.target=S,this.currentTarget=null;for(var _ in i)i.hasOwnProperty(_)&&(u=i[_],this[_]=u?u(w):w[_]);return this.isDefaultPrevented=(w.defaultPrevented!=null?w.defaultPrevented:w.returnValue===!1)?Bc:Wv,this.isPropagationStopped=Wv,this}return re(o.prototype,{preventDefault:function(){this.defaultPrevented=!0;var u=this.nativeEvent;u&&(u.preventDefault?u.preventDefault():typeof u.returnValue!="unknown"&&(u.returnValue=!1),this.isDefaultPrevented=Bc)},stopPropagation:function(){var u=this.nativeEvent;u&&(u.stopPropagation?u.stopPropagation():typeof u.cancelBubble!="unknown"&&(u.cancelBubble=!0),this.isPropagationStopped=Bc)},persist:function(){},isPersistent:Bc}),o}var sa={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(i){return i.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},qm=Fn(sa),_o=re({},sa,{view:0,detail:0}),tT=Fn(_o),Km,Gm,Ro,zc=re({},_o,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Zm,button:0,buttons:0,relatedTarget:function(i){return i.relatedTarget===void 0?i.fromElement===i.srcElement?i.toElement:i.fromElement:i.relatedTarget},movementX:function(i){return"movementX"in i?i.movementX:(i!==Ro&&(Ro&&i.type==="mousemove"?(Km=i.screenX-Ro.screenX,Gm=i.screenY-Ro.screenY):Gm=Km=0,Ro=i),Km)},movementY:function(i){return"movementY"in i?i.movementY:Gm}}),qv=Fn(zc),nT=re({},zc,{dataTransfer:0}),rT=Fn(nT),sT=re({},_o,{relatedTarget:0}),Ym=Fn(sT),iT=re({},sa,{animationName:0,elapsedTime:0,pseudoElement:0}),aT=Fn(iT),oT=re({},sa,{clipboardData:function(i){return"clipboardData"in i?i.clipboardData:window.clipboardData}}),lT=Fn(oT),cT=re({},sa,{data:0}),Kv=Fn(cT),dT={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},uT={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"},mT={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function fT(i){var o=this.nativeEvent;return o.getModifierState?o.getModifierState(i):(i=mT[i])?!!o[i]:!1}function Zm(){return fT}var hT=re({},_o,{key:function(i){if(i.key){var o=dT[i.key]||i.key;if(o!=="Unidentified")return o}return i.type==="keypress"?(i=$c(i),i===13?"Enter":String.fromCharCode(i)):i.type==="keydown"||i.type==="keyup"?uT[i.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Zm,charCode:function(i){return i.type==="keypress"?$c(i):0},keyCode:function(i){return i.type==="keydown"||i.type==="keyup"?i.keyCode:0},which:function(i){return i.type==="keypress"?$c(i):i.type==="keydown"||i.type==="keyup"?i.keyCode:0}}),pT=Fn(hT),gT=re({},zc,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Gv=Fn(gT),xT=re({},_o,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Zm}),vT=Fn(xT),yT=re({},sa,{propertyName:0,elapsedTime:0,pseudoElement:0}),bT=Fn(yT),wT=re({},zc,{deltaX:function(i){return"deltaX"in i?i.deltaX:"wheelDeltaX"in i?-i.wheelDeltaX:0},deltaY:function(i){return"deltaY"in i?i.deltaY:"wheelDeltaY"in i?-i.wheelDeltaY:"wheelDelta"in i?-i.wheelDelta:0},deltaZ:0,deltaMode:0}),jT=Fn(wT),NT=[9,13,27,32],Qm=d&&"CompositionEvent"in window,Mo=null;d&&"documentMode"in document&&(Mo=document.documentMode);var CT=d&&"TextEvent"in window&&!Mo,Yv=d&&(!Qm||Mo&&8<Mo&&11>=Mo),Zv=" ",Qv=!1;function Xv(i,o){switch(i){case"keyup":return NT.indexOf(o.keyCode)!==-1;case"keydown":return o.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Jv(i){return i=i.detail,typeof i=="object"&&"data"in i?i.data:null}var ia=!1;function ST(i,o){switch(i){case"compositionend":return Jv(o);case"keypress":return o.which!==32?null:(Qv=!0,Zv);case"textInput":return i=o.data,i===Zv&&Qv?null:i;default:return null}}function kT(i,o){if(ia)return i==="compositionend"||!Qm&&Xv(i,o)?(i=Uv(),Fc=Wm=Ps=null,ia=!1,i):null;switch(i){case"paste":return null;case"keypress":if(!(o.ctrlKey||o.altKey||o.metaKey)||o.ctrlKey&&o.altKey){if(o.char&&1<o.char.length)return o.char;if(o.which)return String.fromCharCode(o.which)}return null;case"compositionend":return Yv&&o.locale!=="ko"?null:o.data;default:return null}}var AT={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 ey(i){var o=i&&i.nodeName&&i.nodeName.toLowerCase();return o==="input"?!!AT[i.type]:o==="textarea"}function ty(i,o,u,h){Ac(h),o=Kc(o,"onChange"),0<o.length&&(u=new qm("onChange","change",null,u,h),i.push({event:u,listeners:o}))}var Oo=null,Do=null;function ET(i){yy(i,0)}function Hc(i){var o=da(i);if(at(o))return i}function TT(i,o){if(i==="change")return o}var ny=!1;if(d){var Xm;if(d){var Jm="oninput"in document;if(!Jm){var ry=document.createElement("div");ry.setAttribute("oninput","return;"),Jm=typeof ry.oninput=="function"}Xm=Jm}else Xm=!1;ny=Xm&&(!document.documentMode||9<document.documentMode)}function sy(){Oo&&(Oo.detachEvent("onpropertychange",iy),Do=Oo=null)}function iy(i){if(i.propertyName==="value"&&Hc(Do)){var o=[];ty(o,Do,i,lt(i)),Sv(ET,o)}}function IT(i,o,u){i==="focusin"?(sy(),Oo=o,Do=u,Oo.attachEvent("onpropertychange",iy)):i==="focusout"&&sy()}function PT(i){if(i==="selectionchange"||i==="keyup"||i==="keydown")return Hc(Do)}function _T(i,o){if(i==="click")return Hc(o)}function RT(i,o){if(i==="input"||i==="change")return Hc(o)}function MT(i,o){return i===o&&(i!==0||1/i===1/o)||i!==i&&o!==o}var fr=typeof Object.is=="function"?Object.is:MT;function Lo(i,o){if(fr(i,o))return!0;if(typeof i!="object"||i===null||typeof o!="object"||o===null)return!1;var u=Object.keys(i),h=Object.keys(o);if(u.length!==h.length)return!1;for(h=0;h<u.length;h++){var y=u[h];if(!m.call(o,y)||!fr(i[y],o[y]))return!1}return!0}function ay(i){for(;i&&i.firstChild;)i=i.firstChild;return i}function oy(i,o){var u=ay(i);i=0;for(var h;u;){if(u.nodeType===3){if(h=i+u.textContent.length,i<=o&&h>=o)return{node:u,offset:o-i};i=h}e:{for(;u;){if(u.nextSibling){u=u.nextSibling;break e}u=u.parentNode}u=void 0}u=ay(u)}}function ly(i,o){return i&&o?i===o?!0:i&&i.nodeType===3?!1:o&&o.nodeType===3?ly(i,o.parentNode):"contains"in i?i.contains(o):i.compareDocumentPosition?!!(i.compareDocumentPosition(o)&16):!1:!1}function cy(){for(var i=window,o=St();o instanceof i.HTMLIFrameElement;){try{var u=typeof o.contentWindow.location.href=="string"}catch{u=!1}if(u)i=o.contentWindow;else break;o=St(i.document)}return o}function ef(i){var o=i&&i.nodeName&&i.nodeName.toLowerCase();return o&&(o==="input"&&(i.type==="text"||i.type==="search"||i.type==="tel"||i.type==="url"||i.type==="password")||o==="textarea"||i.contentEditable==="true")}function OT(i){var o=cy(),u=i.focusedElem,h=i.selectionRange;if(o!==u&&u&&u.ownerDocument&&ly(u.ownerDocument.documentElement,u)){if(h!==null&&ef(u)){if(o=h.start,i=h.end,i===void 0&&(i=o),"selectionStart"in u)u.selectionStart=o,u.selectionEnd=Math.min(i,u.value.length);else if(i=(o=u.ownerDocument||document)&&o.defaultView||window,i.getSelection){i=i.getSelection();var y=u.textContent.length,w=Math.min(h.start,y);h=h.end===void 0?w:Math.min(h.end,y),!i.extend&&w>h&&(y=h,h=w,w=y),y=oy(u,w);var S=oy(u,h);y&&S&&(i.rangeCount!==1||i.anchorNode!==y.node||i.anchorOffset!==y.offset||i.focusNode!==S.node||i.focusOffset!==S.offset)&&(o=o.createRange(),o.setStart(y.node,y.offset),i.removeAllRanges(),w>h?(i.addRange(o),i.extend(S.node,S.offset)):(o.setEnd(S.node,S.offset),i.addRange(o)))}}for(o=[],i=u;i=i.parentNode;)i.nodeType===1&&o.push({element:i,left:i.scrollLeft,top:i.scrollTop});for(typeof u.focus=="function"&&u.focus(),u=0;u<o.length;u++)i=o[u],i.element.scrollLeft=i.left,i.element.scrollTop=i.top}}var DT=d&&"documentMode"in document&&11>=document.documentMode,aa=null,tf=null,Vo=null,nf=!1;function dy(i,o,u){var h=u.window===u?u.document:u.nodeType===9?u:u.ownerDocument;nf||aa==null||aa!==St(h)||(h=aa,"selectionStart"in h&&ef(h)?h={start:h.selectionStart,end:h.selectionEnd}:(h=(h.ownerDocument&&h.ownerDocument.defaultView||window).getSelection(),h={anchorNode:h.anchorNode,anchorOffset:h.anchorOffset,focusNode:h.focusNode,focusOffset:h.focusOffset}),Vo&&Lo(Vo,h)||(Vo=h,h=Kc(tf,"onSelect"),0<h.length&&(o=new qm("onSelect","select",null,o,u),i.push({event:o,listeners:h}),o.target=aa)))}function Uc(i,o){var u={};return u[i.toLowerCase()]=o.toLowerCase(),u["Webkit"+i]="webkit"+o,u["Moz"+i]="moz"+o,u}var oa={animationend:Uc("Animation","AnimationEnd"),animationiteration:Uc("Animation","AnimationIteration"),animationstart:Uc("Animation","AnimationStart"),transitionend:Uc("Transition","TransitionEnd")},rf={},uy={};d&&(uy=document.createElement("div").style,"AnimationEvent"in window||(delete oa.animationend.animation,delete oa.animationiteration.animation,delete oa.animationstart.animation),"TransitionEvent"in window||delete oa.transitionend.transition);function Wc(i){if(rf[i])return rf[i];if(!oa[i])return i;var o=oa[i],u;for(u in o)if(o.hasOwnProperty(u)&&u in uy)return rf[i]=o[u];return i}var my=Wc("animationend"),fy=Wc("animationiteration"),hy=Wc("animationstart"),py=Wc("transitionend"),gy=new Map,xy="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 _s(i,o){gy.set(i,o),l(o,[i])}for(var sf=0;sf<xy.length;sf++){var af=xy[sf],LT=af.toLowerCase(),VT=af[0].toUpperCase()+af.slice(1);_s(LT,"on"+VT)}_s(my,"onAnimationEnd"),_s(fy,"onAnimationIteration"),_s(hy,"onAnimationStart"),_s("dblclick","onDoubleClick"),_s("focusin","onFocus"),_s("focusout","onBlur"),_s(py,"onTransitionEnd"),c("onMouseEnter",["mouseout","mouseover"]),c("onMouseLeave",["mouseout","mouseover"]),c("onPointerEnter",["pointerout","pointerover"]),c("onPointerLeave",["pointerout","pointerover"]),l("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),l("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),l("onBeforeInput",["compositionend","keypress","textInput","paste"]),l("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Fo="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),FT=new Set("cancel close invalid load scroll toggle".split(" ").concat(Fo));function vy(i,o,u){var h=i.type||"unknown-event";i.currentTarget=u,LE(h,o,void 0,i),i.currentTarget=null}function yy(i,o){o=(o&4)!==0;for(var u=0;u<i.length;u++){var h=i[u],y=h.event;h=h.listeners;e:{var w=void 0;if(o)for(var S=h.length-1;0<=S;S--){var _=h[S],D=_.instance,q=_.currentTarget;if(_=_.listener,D!==w&&y.isPropagationStopped())break e;vy(y,_,q),w=D}else for(S=0;S<h.length;S++){if(_=h[S],D=_.instance,q=_.currentTarget,_=_.listener,D!==w&&y.isPropagationStopped())break e;vy(y,_,q),w=D}}}if(Tc)throw i=Dm,Tc=!1,Dm=null,i}function xt(i,o){var u=o[hf];u===void 0&&(u=o[hf]=new Set);var h=i+"__bubble";u.has(h)||(by(o,i,2,!1),u.add(h))}function of(i,o,u){var h=0;o&&(h|=4),by(u,i,h,o)}var qc="_reactListening"+Math.random().toString(36).slice(2);function $o(i){if(!i[qc]){i[qc]=!0,s.forEach(function(u){u!=="selectionchange"&&(FT.has(u)||of(u,!1,i),of(u,!0,i))});var o=i.nodeType===9?i:i.ownerDocument;o===null||o[qc]||(o[qc]=!0,of("selectionchange",!1,o))}}function by(i,o,u,h){switch(Hv(o)){case 1:var y=JE;break;case 4:y=eT;break;default:y=Hm}u=y.bind(null,o,u,i),y=void 0,!Om||o!=="touchstart"&&o!=="touchmove"&&o!=="wheel"||(y=!0),h?y!==void 0?i.addEventListener(o,u,{capture:!0,passive:y}):i.addEventListener(o,u,!0):y!==void 0?i.addEventListener(o,u,{passive:y}):i.addEventListener(o,u,!1)}function lf(i,o,u,h,y){var w=h;if((o&1)===0&&(o&2)===0&&h!==null)e:for(;;){if(h===null)return;var S=h.tag;if(S===3||S===4){var _=h.stateNode.containerInfo;if(_===y||_.nodeType===8&&_.parentNode===y)break;if(S===4)for(S=h.return;S!==null;){var D=S.tag;if((D===3||D===4)&&(D=S.stateNode.containerInfo,D===y||D.nodeType===8&&D.parentNode===y))return;S=S.return}for(;_!==null;){if(S=wi(_),S===null)return;if(D=S.tag,D===5||D===6){h=w=S;continue e}_=_.parentNode}}h=h.return}Sv(function(){var q=w,ae=lt(u),ce=[];e:{var se=gy.get(i);if(se!==void 0){var Ce=qm,Pe=i;switch(i){case"keypress":if($c(u)===0)break e;case"keydown":case"keyup":Ce=pT;break;case"focusin":Pe="focus",Ce=Ym;break;case"focusout":Pe="blur",Ce=Ym;break;case"beforeblur":case"afterblur":Ce=Ym;break;case"click":if(u.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":Ce=qv;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":Ce=rT;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":Ce=vT;break;case my:case fy:case hy:Ce=aT;break;case py:Ce=bT;break;case"scroll":Ce=tT;break;case"wheel":Ce=jT;break;case"copy":case"cut":case"paste":Ce=lT;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":Ce=Gv}var _e=(o&4)!==0,It=!_e&&i==="scroll",B=_e?se!==null?se+"Capture":null:se;_e=[];for(var V=q,U;V!==null;){U=V;var pe=U.stateNode;if(U.tag===5&&pe!==null&&(U=pe,B!==null&&(pe=jo(V,B),pe!=null&&_e.push(Bo(V,pe,U)))),It)break;V=V.return}0<_e.length&&(se=new Ce(se,Pe,null,u,ae),ce.push({event:se,listeners:_e}))}}if((o&7)===0){e:{if(se=i==="mouseover"||i==="pointerover",Ce=i==="mouseout"||i==="pointerout",se&&u!==We&&(Pe=u.relatedTarget||u.fromElement)&&(wi(Pe)||Pe[es]))break e;if((Ce||se)&&(se=ae.window===ae?ae:(se=ae.ownerDocument)?se.defaultView||se.parentWindow:window,Ce?(Pe=u.relatedTarget||u.toElement,Ce=q,Pe=Pe?wi(Pe):null,Pe!==null&&(It=bi(Pe),Pe!==It||Pe.tag!==5&&Pe.tag!==6)&&(Pe=null)):(Ce=null,Pe=q),Ce!==Pe)){if(_e=qv,pe="onMouseLeave",B="onMouseEnter",V="mouse",(i==="pointerout"||i==="pointerover")&&(_e=Gv,pe="onPointerLeave",B="onPointerEnter",V="pointer"),It=Ce==null?se:da(Ce),U=Pe==null?se:da(Pe),se=new _e(pe,V+"leave",Ce,u,ae),se.target=It,se.relatedTarget=U,pe=null,wi(ae)===q&&(_e=new _e(B,V+"enter",Pe,u,ae),_e.target=U,_e.relatedTarget=It,pe=_e),It=pe,Ce&&Pe)t:{for(_e=Ce,B=Pe,V=0,U=_e;U;U=la(U))V++;for(U=0,pe=B;pe;pe=la(pe))U++;for(;0<V-U;)_e=la(_e),V--;for(;0<U-V;)B=la(B),U--;for(;V--;){if(_e===B||B!==null&&_e===B.alternate)break t;_e=la(_e),B=la(B)}_e=null}else _e=null;Ce!==null&&wy(ce,se,Ce,_e,!1),Pe!==null&&It!==null&&wy(ce,It,Pe,_e,!0)}}e:{if(se=q?da(q):window,Ce=se.nodeName&&se.nodeName.toLowerCase(),Ce==="select"||Ce==="input"&&se.type==="file")var Re=TT;else if(ey(se))if(ny)Re=RT;else{Re=PT;var Fe=IT}else(Ce=se.nodeName)&&Ce.toLowerCase()==="input"&&(se.type==="checkbox"||se.type==="radio")&&(Re=_T);if(Re&&(Re=Re(i,q))){ty(ce,Re,u,ae);break e}Fe&&Fe(i,se,q),i==="focusout"&&(Fe=se._wrapperState)&&Fe.controlled&&se.type==="number"&&H(se,"number",se.value)}switch(Fe=q?da(q):window,i){case"focusin":(ey(Fe)||Fe.contentEditable==="true")&&(aa=Fe,tf=q,Vo=null);break;case"focusout":Vo=tf=aa=null;break;case"mousedown":nf=!0;break;case"contextmenu":case"mouseup":case"dragend":nf=!1,dy(ce,u,ae);break;case"selectionchange":if(DT)break;case"keydown":case"keyup":dy(ce,u,ae)}var $e;if(Qm)e:{switch(i){case"compositionstart":var Ue="onCompositionStart";break e;case"compositionend":Ue="onCompositionEnd";break e;case"compositionupdate":Ue="onCompositionUpdate";break e}Ue=void 0}else ia?Xv(i,u)&&(Ue="onCompositionEnd"):i==="keydown"&&u.keyCode===229&&(Ue="onCompositionStart");Ue&&(Yv&&u.locale!=="ko"&&(ia||Ue!=="onCompositionStart"?Ue==="onCompositionEnd"&&ia&&($e=Uv()):(Ps=ae,Wm="value"in Ps?Ps.value:Ps.textContent,ia=!0)),Fe=Kc(q,Ue),0<Fe.length&&(Ue=new Kv(Ue,i,null,u,ae),ce.push({event:Ue,listeners:Fe}),$e?Ue.data=$e:($e=Jv(u),$e!==null&&(Ue.data=$e)))),($e=CT?ST(i,u):kT(i,u))&&(q=Kc(q,"onBeforeInput"),0<q.length&&(ae=new Kv("onBeforeInput","beforeinput",null,u,ae),ce.push({event:ae,listeners:q}),ae.data=$e))}yy(ce,o)})}function Bo(i,o,u){return{instance:i,listener:o,currentTarget:u}}function Kc(i,o){for(var u=o+"Capture",h=[];i!==null;){var y=i,w=y.stateNode;y.tag===5&&w!==null&&(y=w,w=jo(i,u),w!=null&&h.unshift(Bo(i,w,y)),w=jo(i,o),w!=null&&h.push(Bo(i,w,y))),i=i.return}return h}function la(i){if(i===null)return null;do i=i.return;while(i&&i.tag!==5);return i||null}function wy(i,o,u,h,y){for(var w=o._reactName,S=[];u!==null&&u!==h;){var _=u,D=_.alternate,q=_.stateNode;if(D!==null&&D===h)break;_.tag===5&&q!==null&&(_=q,y?(D=jo(u,w),D!=null&&S.unshift(Bo(u,D,_))):y||(D=jo(u,w),D!=null&&S.push(Bo(u,D,_)))),u=u.return}S.length!==0&&i.push({event:o,listeners:S})}var $T=/\r\n?/g,BT=/\u0000|\uFFFD/g;function jy(i){return(typeof i=="string"?i:""+i).replace($T,` 6`).replace(BT,"")}function Gc(i,o,u){if(o=jy(o),jy(i)!==o&&u)throw Error(r(425))}function Yc(){}var cf=null,df=null;function uf(i,o){return i==="textarea"||i==="noscript"||typeof o.children=="string"||typeof o.children=="number"||typeof o.dangerouslySetInnerHTML=="object"&&o.dangerouslySetInnerHTML!==null&&o.dangerouslySetInnerHTML.__html!=null}var mf=typeof setTimeout=="function"?setTimeout:void 0,zT=typeof clearTimeout=="function"?clearTimeout:void 0,Ny=typeof Promise=="function"?Promise:void 0,HT=typeof queueMicrotask=="function"?queueMicrotask:typeof Ny<"u"?function(i){return Ny.resolve(null).then(i).catch(UT)}:mf;function UT(i){setTimeout(function(){throw i})}function ff(i,o){var u=o,h=0;do{var y=u.nextSibling;if(i.removeChild(u),y&&y.nodeType===8)if(u=y.data,u==="/$"){if(h===0){i.removeChild(y),Po(o);return}h--}else u!=="$"&&u!=="$?"&&u!=="$!"||h++;u=y}while(u);Po(o)}function Rs(i){for(;i!=null;i=i.nextSibling){var o=i.nodeType;if(o===1||o===3)break;if(o===8){if(o=i.data,o==="$"||o==="$!"||o==="$?")break;if(o==="/$")return null}}return i}function Cy(i){i=i.previousSibling;for(var o=0;i;){if(i.nodeType===8){var u=i.data;if(u==="$"||u==="$!"||u==="$?"){if(o===0)return i;o--}else u==="/$"&&o++}i=i.previousSibling}return null}var ca=Math.random().toString(36).slice(2),Lr="__reactFiber$"+ca,zo="__reactProps$"+ca,es="__reactContainer$"+ca,hf="__reactEvents$"+ca,WT="__reactListeners$"+ca,qT="__reactHandles$"+ca;function wi(i){var o=i[Lr];if(o)return o;for(var u=i.parentNode;u;){if(o=u[es]||u[Lr]){if(u=o.alternate,o.child!==null||u!==null&&u.child!==null)for(i=Cy(i);i!==null;){if(u=i[Lr])return u;i=Cy(i)}return o}i=u,u=i.parentNode}return null}function Ho(i){return i=i[Lr]||i[es],!i||i.tag!==5&&i.tag!==6&&i.tag!==13&&i.tag!==3?null:i}function da(i){if(i.tag===5||i.tag===6)return i.stateNode;throw Error(r(33))}function Zc(i){return i[zo]||null}var pf=[],ua=-1;function Ms(i){return{current:i}}function vt(i){0>ua||(i.current=pf[ua],pf[ua]=null,ua--)}function pt(i,o){ua++,pf[ua]=i.current,i.current=o}var Os={},an=Ms(Os),En=Ms(!1),ji=Os;function ma(i,o){var u=i.type.contextTypes;if(!u)return Os;var h=i.stateNode;if(h&&h.__reactInternalMemoizedUnmaskedChildContext===o)return h.__reactInternalMemoizedMaskedChildContext;var y={},w;for(w in u)y[w]=o[w];return h&&(i=i.stateNode,i.__reactInternalMemoizedUnmaskedChildContext=o,i.__reactInternalMemoizedMaskedChildContext=y),y}function Tn(i){return i=i.childContextTypes,i!=null}function Qc(){vt(En),vt(an)}function Sy(i,o,u){if(an.current!==Os)throw Error(r(168));pt(an,o),pt(En,u)}function ky(i,o,u){var h=i.stateNode;if(o=o.childContextTypes,typeof h.getChildContext!="function")return u;h=h.getChildContext();for(var y in h)if(!(y in o))throw Error(r(108,ie(i)||"Unknown",y));return re({},u,h)}function Xc(i){return i=(i=i.stateNode)&&i.__reactInternalMemoizedMergedChildContext||Os,ji=an.current,pt(an,i),pt(En,En.current),!0}function Ay(i,o,u){var h=i.stateNode;if(!h)throw Error(r(169));u?(i=ky(i,o,ji),h.__reactInternalMemoizedMergedChildContext=i,vt(En),vt(an),pt(an,i)):vt(En),pt(En,u)}var ts=null,Jc=!1,gf=!1;function Ey(i){ts===null?ts=[i]:ts.push(i)}function KT(i){Jc=!0,Ey(i)}function Ds(){if(!gf&&ts!==null){gf=!0;var i=0,o=ct;
vendor: 5,326 bytes, line 6
6try{var u=ts;for(ct=1;i<u.length;i++){var h=u[i];do h=h(!0);while(h!==null)}ts=null,Jc=!1}catch(y){throw ts!==null&&(ts=ts.slice(i+1)),Iv(Lm,Ds),y}finally{ct=o,gf=!1}}return null}var fa=[],ha=0,ed=null,td=0,Zn=[],Qn=0,Ni=null,ns=1,rs="";function Ci(i,o){fa[ha++]=td,fa[ha++]=ed,ed=i,td=o}function Ty(i,o,u){Zn[Qn++]=ns,Zn[Qn++]=rs,Zn[Qn++]=Ni,Ni=i;var h=ns;i=rs;var y=32-mr(h)-1;h&=~(1<<y),u+=1;var w=32-mr(o)+y;if(30<w){var S=y-y%5;w=(h&(1<<S)-1).toString(32),h>>=S,y-=S,ns=1<<32-mr(o)+y|u<<y|h,rs=w+i}else ns=1<<w|u<<y|h,rs=i}function xf(i){i.return!==null&&(Ci(i,1),Ty(i,1,0))}function vf(i){for(;i===ed;)ed=fa[--ha],fa[ha]=null,td=fa[--ha],fa[ha]=null;for(;i===Ni;)Ni=Zn[--Qn],Zn[Qn]=null,rs=Zn[--Qn],Zn[Qn]=null,ns=Zn[--Qn],Zn[Qn]=null}var $n=null,Bn=null,bt=!1,hr=null;function Iy(i,o){var u=tr(5,null,null,0);u.elementType="DELETED",u.stateNode=o,u.return=i,o=i.deletions,o===null?(i.deletions=[u],i.flags|=16):o.push(u)}function Py(i,o){switch(i.tag){case 5:var u=i.type;return o=o.nodeType!==1||u.toLowerCase()!==o.nodeName.toLowerCase()?null:o,o!==null?(i.stateNode=o,$n=i,Bn=Rs(o.firstChild),!0):!1;case 6:return o=i.pendingProps===""||o.nodeType!==3?null:o,o!==null?(i.stateNode=o,$n=i,Bn=null,!0):!1;case 13:return o=o.nodeType!==8?null:o,o!==null?(u=Ni!==null?{id:ns,overflow:rs}:null,i.memoizedState={dehydrated:o,treeContext:u,retryLane:1073741824},u=tr(18,null,null,0),u.stateNode=o,u.return=i,i.child=u,$n=i,Bn=null,!0):!1;default:return!1}}function yf(i){return(i.mode&1)!==0&&(i.flags&128)===0}function bf(i){if(bt){var o=Bn;if(o){var u=o;if(!Py(i,o)){if(yf(i))throw Error(r(418));o=Rs(u.nextSibling);var h=$n;o&&Py(i,o)?Iy(h,u):(i.flags=i.flags&-4097|2,bt=!1,$n=i)}}else{if(yf(i))throw Error(r(418));i.flags=i.flags&-4097|2,bt=!1,$n=i}}}function _y(i){for(i=i.return;i!==null&&i.tag!==5&&i.tag!==3&&i.tag!==13;)i=i.return;$n=i}function nd(i){if(i!==$n)return!1;if(!bt)return _y(i),bt=!0,!1;var o;if((o=i.tag!==3)&&!(o=i.tag!==5)&&(o=i.type,o=o!=="head"&&o!=="body"&&!uf(i.type,i.memoizedProps)),o&&(o=Bn)){if(yf(i))throw Ry(),Error(r(418));for(;o;)Iy(i,o),o=Rs(o.nextSibling)}if(_y(i),i.tag===13){if(i=i.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(r(317));e:{for(i=i.nextSibling,o=0;i;){if(i.nodeType===8){var u=i.data;if(u==="/$"){if(o===0){Bn=Rs(i.nextSibling);break e}o--}else u!=="$"&&u!=="$!"&&u!=="$?"||o++}i=i.nextSibling}Bn=null}}else Bn=$n?Rs(i.stateNode.nextSibling):null;return!0}function Ry(){for(var i=Bn;i;)i=Rs(i.nextSibling)}function pa(){Bn=$n=null,bt=!1}function wf(i){hr===null?hr=[i]:hr.push(i)}var GT=P.ReactCurrentBatchConfig;function Uo(i,o,u){if(i=u.ref,i!==null&&typeof i!="function"&&typeof i!="object"){if(u._owner){if(u=u._owner,u){if(u.tag!==1)throw Error(r(309));var h=u.stateNode}if(!h)throw Error(r(147,i));var y=h,w=""+i;return o!==null&&o.ref!==null&&typeof o.ref=="function"&&o.ref._stringRef===w?o.ref:(o=function(S){var _=y.refs;S===null?delete _[w]:_[w]=S},o._stringRef=w,o)}if(typeof i!="string")throw Error(r(284));if(!u._owner)throw Error(r(290,i))}return i}function rd(i,o){throw i=Object.prototype.toString.call(o),Error(r(31,i==="[object Object]"?"object with keys {"+Object.keys(o).join(", ")+"}":i))}function My(i){var o=i._init;return o(i._payload)}function Oy(i){function o(B,V){if(i){var U=B.deletions;U===null?(B.deletions=[V],B.flags|=16):U.push(V)}}function u(B,V){if(!i)return null;for(;V!==null;)o(B,V),V=V.sibling;return null}function h(B,V){for(B=new Map;V!==null;)V.key!==null?B.set(V.key,V):B.set(V.index,V),V=V.sibling;return B}function y(B,V){return B=Us(B,V),B.index=0,B.sibling=null,B}function w(B,V,U){return B.index=U,i?(U=B.alternate,U!==null?(U=U.index,U<V?(B.flags|=2,V):U):(B.flags|=2,V)):(B.flags|=1048576,V)}function S(B){return i&&B.alternate===null&&(B.flags|=2),B}function _(B,V,U,pe){return V===null||V.tag!==6?(V=mh(U,B.mode,pe),V.return=B,V):(V=y(V,U),V.return=B,V)}function D(B,V,U,pe){var Re=U.type;return Re===$?ae(B,V,U.props.children,pe,U.key):V!==null&&(V.elementType===Re||typeof Re=="object"&&Re!==null&&Re.$$typeof===me&&My(Re)===V.type)?(pe=y(V,U.props),pe.ref=Uo(B,V,U),pe.return=B,pe):(pe=Ad(U.type,U.key,U.props,null,B.mode,pe),pe.ref=Uo(B,V,U),pe.return=B,pe)}function q(B,V,U,pe){return V===null||V.tag!==4||V.stateNode.containerInfo!==U.containerInfo||V.stateNode.implementation!==U.implementation?(V=fh(U,B.mode,pe),V.return=B,V):(V=y(V,U.children||[]),V.return=B,V)}function ae(B,V,U,pe,Re){return V===null||V.tag!==7?(V=_i(U,B.mode,pe,Re),V.return=B,V):(V=y(V,U),V.return=B,V)}function ce(B,V,U){if(typeof V=="string"&&V!==""||typeof V=="number")return V=mh(""+V,B.mode,U),V.return=B,V;if(typeof V=="object"&&V!==null){switch(V.$$typeof){case I:return U=Ad(V.type,V.key,V.props,null,B.mode,U),U.ref=Uo(B,null,V),U.return=B,U;case L:return V=fh(V,B.mode,U),V.return=B,V;case me:var pe=V._init;return ce(B,pe(V._payload),U)}if(K(V)||Z(V))return V=_i(V,B.mode,U,null),V.return=B,V;rd(B,V)}return null}function se(B,V,U,pe){var Re=V!==null?V.key:null;if(typeof U=="string"&&U!==""||typeof U=="number")return Re!==null?null:_(B,V,""+U,pe);if(typeof U=="object"&&U!==null){switch(U.$$typeof){case I:return U.key===Re?D(B,V,U,pe):null;case L:return U.key===Re?q(B,V,U,pe):null;case me:return Re=U._init,se(B,V,Re(U._payload),pe)}if(K(U)||Z(U))return Re!==null?null:ae(B,V,U,pe,null);rd(B,U)}return null}
vendor: 21,171 bytes, lines 6-8
6function Ce(B,V,U,pe,Re){if(typeof pe=="string"&&pe!==""||typeof pe=="number")return B=B.get(U)||null,_(V,B,""+pe,Re);if(typeof pe=="object"&&pe!==null){switch(pe.$$typeof){case I:return B=B.get(pe.key===null?U:pe.key)||null,D(V,B,pe,Re);case L:return B=B.get(pe.key===null?U:pe.key)||null,q(V,B,pe,Re);case me:var Fe=pe._init;return Ce(B,V,U,Fe(pe._payload),Re)}if(K(pe)||Z(pe))return B=B.get(U)||null,ae(V,B,pe,Re,null);rd(V,pe)}return null}function Pe(B,V,U,pe){for(var Re=null,Fe=null,$e=V,Ue=V=0,Ut=null;$e!==null&&Ue<U.length;Ue++){$e.index>Ue?(Ut=$e,$e=null):Ut=$e.sibling;var tt=se(B,$e,U[Ue],pe);if(tt===null){$e===null&&($e=Ut);break}i&&$e&&tt.alternate===null&&o(B,$e),V=w(tt,V,Ue),Fe===null?Re=tt:Fe.sibling=tt,Fe=tt,$e=Ut}if(Ue===U.length)return u(B,$e),bt&&Ci(B,Ue),Re;if($e===null){for(;Ue<U.length;Ue++)$e=ce(B,U[Ue],pe),$e!==null&&(V=w($e,V,Ue),Fe===null?Re=$e:Fe.sibling=$e,Fe=$e);return bt&&Ci(B,Ue),Re}for($e=h(B,$e);Ue<U.length;Ue++)Ut=Ce($e,B,Ue,U[Ue],pe),Ut!==null&&(i&&Ut.alternate!==null&&$e.delete(Ut.key===null?Ue:Ut.key),V=w(Ut,V,Ue),Fe===null?Re=Ut:Fe.sibling=Ut,Fe=Ut);return i&&$e.forEach(function(Ws){return o(B,Ws)}),bt&&Ci(B,Ue),Re}function _e(B,V,U,pe){var Re=Z(U);if(typeof Re!="function")throw Error(r(150));if(U=Re.call(U),U==null)throw Error(r(151));for(var Fe=Re=null,$e=V,Ue=V=0,Ut=null,tt=U.next();$e!==null&&!tt.done;Ue++,tt=U.next()){$e.index>Ue?(Ut=$e,$e=null):Ut=$e.sibling;var Ws=se(B,$e,tt.value,pe);if(Ws===null){$e===null&&($e=Ut);break}i&&$e&&Ws.alternate===null&&o(B,$e),V=w(Ws,V,Ue),Fe===null?Re=Ws:Fe.sibling=Ws,Fe=Ws,$e=Ut}if(tt.done)return u(B,$e),bt&&Ci(B,Ue),Re;if($e===null){for(;!tt.done;Ue++,tt=U.next())tt=ce(B,tt.value,pe),tt!==null&&(V=w(tt,V,Ue),Fe===null?Re=tt:Fe.sibling=tt,Fe=tt);return bt&&Ci(B,Ue),Re}for($e=h(B,$e);!tt.done;Ue++,tt=U.next())tt=Ce($e,B,Ue,tt.value,pe),tt!==null&&(i&&tt.alternate!==null&&$e.delete(tt.key===null?Ue:tt.key),V=w(tt,V,Ue),Fe===null?Re=tt:Fe.sibling=tt,Fe=tt);return i&&$e.forEach(function(AI){return o(B,AI)}),bt&&Ci(B,Ue),Re}function It(B,V,U,pe){if(typeof U=="object"&&U!==null&&U.type===$&&U.key===null&&(U=U.props.children),typeof U=="object"&&U!==null){switch(U.$$typeof){case I:e:{for(var Re=U.key,Fe=V;Fe!==null;){if(Fe.key===Re){if(Re=U.type,Re===$){if(Fe.tag===7){u(B,Fe.sibling),V=y(Fe,U.props.children),V.return=B,B=V;break e}}else if(Fe.elementType===Re||typeof Re=="object"&&Re!==null&&Re.$$typeof===me&&My(Re)===Fe.type){u(B,Fe.sibling),V=y(Fe,U.props),V.ref=Uo(B,Fe,U),V.return=B,B=V;break e}u(B,Fe);break}else o(B,Fe);Fe=Fe.sibling}U.type===$?(V=_i(U.props.children,B.mode,pe,U.key),V.return=B,B=V):(pe=Ad(U.type,U.key,U.props,null,B.mode,pe),pe.ref=Uo(B,V,U),pe.return=B,B=pe)}return S(B);case L:e:{for(Fe=U.key;V!==null;){if(V.key===Fe)if(V.tag===4&&V.stateNode.containerInfo===U.containerInfo&&V.stateNode.implementation===U.implementation){u(B,V.sibling),V=y(V,U.children||[]),V.return=B,B=V;break e}else{u(B,V);break}else o(B,V);V=V.sibling}V=fh(U,B.mode,pe),V.return=B,B=V}return S(B);case me:return Fe=U._init,It(B,V,Fe(U._payload),pe)}if(K(U))return Pe(B,V,U,pe);if(Z(U))return _e(B,V,U,pe);rd(B,U)}return typeof U=="string"&&U!==""||typeof U=="number"?(U=""+U,V!==null&&V.tag===6?(u(B,V.sibling),V=y(V,U),V.return=B,B=V):(u(B,V),V=mh(U,B.mode,pe),V.return=B,B=V),S(B)):u(B,V)}return It}var ga=Oy(!0),Dy=Oy(!1),sd=Ms(null),id=null,xa=null,jf=null;function Nf(){jf=xa=id=null}function Cf(i){var o=sd.current;vt(sd),i._currentValue=o}function Sf(i,o,u){for(;i!==null;){var h=i.alternate;if((i.childLanes&o)!==o?(i.childLanes|=o,h!==null&&(h.childLanes|=o)):h!==null&&(h.childLanes&o)!==o&&(h.childLanes|=o),i===u)break;i=i.return}}function va(i,o){id=i,jf=xa=null,i=i.dependencies,i!==null&&i.firstContext!==null&&((i.lanes&o)!==0&&(In=!0),i.firstContext=null)}function Xn(i){var o=i._currentValue;if(jf!==i)if(i={context:i,memoizedValue:o,next:null},xa===null){if(id===null)throw Error(r(308));xa=i,id.dependencies={lanes:0,firstContext:i}}else xa=xa.next=i;return o}var Si=null;function kf(i){Si===null?Si=[i]:Si.push(i)}function Ly(i,o,u,h){var y=o.interleaved;return y===null?(u.next=u,kf(o)):(u.next=y.next,y.next=u),o.interleaved=u,ss(i,h)}function ss(i,o){i.lanes|=o;var u=i.alternate;for(u!==null&&(u.lanes|=o),u=i,i=i.return;i!==null;)i.childLanes|=o,u=i.alternate,u!==null&&(u.childLanes|=o),u=i,i=i.return;return u.tag===3?u.stateNode:null}var Ls=!1;function Af(i){i.updateQueue={baseState:i.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Vy(i,o){i=i.updateQueue,o.updateQueue===i&&(o.updateQueue={baseState:i.baseState,firstBaseUpdate:i.firstBaseUpdate,lastBaseUpdate:i.lastBaseUpdate,shared:i.shared,effects:i.effects})}function is(i,o){return{eventTime:i,lane:o,tag:0,payload:null,callback:null,next:null}}function Vs(i,o,u){var h=i.updateQueue;if(h===null)return null;if(h=h.shared,(et&2)!==0){var y=h.pending;return y===null?o.next=o:(o.next=y.next,y.next=o),h.pending=o,ss(i,u)}return y=h.interleaved,y===null?(o.next=o,kf(h)):(o.next=y.next,y.next=o),h.interleaved=o,ss(i,u)}function ad(i,o,u){if(o=o.updateQueue,o!==null&&(o=o.shared,(u&4194240)!==0)){var h=o.lanes;h&=i.pendingLanes,u|=h,o.lanes=u,$m(i,u)}}function Fy(i,o){var u=i.updateQueue,h=i.alternate;if(h!==null&&(h=h.updateQueue,u===h)){var y=null,w=null;if(u=u.firstBaseUpdate,u!==null){do{var S={eventTime:u.eventTime,lane:u.lane,tag:u.tag,payload:u.payload,callback:u.callback,next:null};w===null?y=w=S:w=w.next=S,u=u.next}while(u!==null);w===null?y=w=o:w=w.next=o}else y=w=o;u={baseState:h.baseState,firstBaseUpdate:y,lastBaseUpdate:w,shared:h.shared,effects:h.effects},i.updateQueue=u;return}i=u.lastBaseUpdate,i===null?u.firstBaseUpdate=o:i.next=o,u.lastBaseUpdate=o}function od(i,o,u,h){var y=i.updateQueue;Ls=!1;var w=y.firstBaseUpdate,S=y.lastBaseUpdate,_=y.shared.pending;if(_!==null){y.shared.pending=null;var D=_,q=D.next;D.next=null,S===null?w=q:S.next=q,S=D;var ae=i.alternate;ae!==null&&(ae=ae.updateQueue,_=ae.lastBaseUpdate,_!==S&&(_===null?ae.firstBaseUpdate=q:_.next=q,ae.lastBaseUpdate=D))}if(w!==null){var ce=y.baseState;S=0,ae=q=D=null,_=w;do{var se=_.lane,Ce=_.eventTime;if((h&se)===se){ae!==null&&(ae=ae.next={eventTime:Ce,lane:0,tag:_.tag,payload:_.payload,callback:_.callback,next:null});e:{var Pe=i,_e=_;switch(se=o,Ce=u,_e.tag){case 1:if(Pe=_e.payload,typeof Pe=="function"){ce=Pe.call(Ce,ce,se);break e}ce=Pe;break e;case 3:Pe.flags=Pe.flags&-65537|128;case 0:if(Pe=_e.payload,se=typeof Pe=="function"?Pe.call(Ce,ce,se):Pe,se==null)break e;ce=re({},ce,se);break e;case 2:Ls=!0}}_.callback!==null&&_.lane!==0&&(i.flags|=64,se=y.effects,se===null?y.effects=[_]:se.push(_))}else Ce={eventTime:Ce,lane:se,tag:_.tag,payload:_.payload,callback:_.callback,next:null},ae===null?(q=ae=Ce,D=ce):ae=ae.next=Ce,S|=se;if(_=_.next,_===null){if(_=y.shared.pending,_===null)break;se=_,_=se.next,se.next=null,y.lastBaseUpdate=se,y.shared.pending=null}}while(!0);if(ae===null&&(D=ce),y.baseState=D,y.firstBaseUpdate=q,y.lastBaseUpdate=ae,o=y.shared.interleaved,o!==null){y=o;do S|=y.lane,y=y.next;while(y!==o)}else w===null&&(y.shared.lanes=0);Ei|=S,i.lanes=S,i.memoizedState=ce}}function $y(i,o,u){if(i=o.effects,o.effects=null,i!==null)for(o=0;o<i.length;o++){var h=i[o],y=h.callback;if(y!==null){if(h.callback=null,h=u,typeof y!="function")throw Error(r(191,y));y.call(h)}}}var Wo={},Vr=Ms(Wo),qo=Ms(Wo),Ko=Ms(Wo);function ki(i){if(i===Wo)throw Error(r(174));return i}function Ef(i,o){switch(pt(Ko,o),pt(qo,i),pt(Vr,Wo),i=o.nodeType,i){case 9:case 11:o=(o=o.documentElement)?o.namespaceURI:ot(null,"");break;default:i=i===8?o.parentNode:o,o=i.namespaceURI||null,i=i.tagName,o=ot(o,i)}vt(Vr),pt(Vr,o)}function ya(){vt(Vr),vt(qo),vt(Ko)}function By(i){ki(Ko.current);var o=ki(Vr.current),u=ot(o,i.type);o!==u&&(pt(qo,i),pt(Vr,u))}function Tf(i){qo.current===i&&(vt(Vr),vt(qo))}var wt=Ms(0);function ld(i){for(var o=i;o!==null;){if(o.tag===13){var u=o.memoizedState;if(u!==null&&(u=u.dehydrated,u===null||u.data==="$?"||u.data==="$!"))return o}else if(o.tag===19&&o.memoizedProps.revealOrder!==void 0){if((o.flags&128)!==0)return o}else if(o.child!==null){o.child.return=o,o=o.child;continue}if(o===i)break;for(;o.sibling===null;){if(o.return===null||o.return===i)return null;o=o.return}o.sibling.return=o.return,o=o.sibling}return null}var If=[];function Pf(){for(var i=0;i<If.length;i++)If[i]._workInProgressVersionPrimary=null;If.length=0}var cd=P.ReactCurrentDispatcher,_f=P.ReactCurrentBatchConfig,Ai=0,jt=null,Vt=null,zt=null,dd=!1,Go=!1,Yo=0,YT=0;function on(){throw Error(r(321))}function Rf(i,o){if(o===null)return!1;for(var u=0;u<o.length&&u<i.length;u++)if(!fr(i[u],o[u]))return!1;return!0}function Mf(i,o,u,h,y,w){if(Ai=w,jt=o,o.memoizedState=null,o.updateQueue=null,o.lanes=0,cd.current=i===null||i.memoizedState===null?JT:eI,i=u(h,y),Go){w=0;do{if(Go=!1,Yo=0,25<=w)throw Error(r(301));w+=1,zt=Vt=null,o.updateQueue=null,cd.current=tI,i=u(h,y)}while(Go)}if(cd.current=fd,o=Vt!==null&&Vt.next!==null,Ai=0,zt=Vt=jt=null,dd=!1,o)throw Error(r(300));return i}function Of(){var i=Yo!==0;return Yo=0,i}function Fr(){var i={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return zt===null?jt.memoizedState=zt=i:zt=zt.next=i,zt}function Jn(){if(Vt===null){var i=jt.alternate;i=i!==null?i.memoizedState:null}else i=Vt.next;var o=zt===null?jt.memoizedState:zt.next;if(o!==null)zt=o,Vt=i;else{if(i===null)throw Error(r(310));Vt=i,i={memoizedState:Vt.memoizedState,baseState:Vt.baseState,baseQueue:Vt.baseQueue,queue:Vt.queue,next:null},zt===null?jt.memoizedState=zt=i:zt=zt.next=i}return zt}function Zo(i,o){return typeof o=="function"?o(i):o}function Df(i){var o=Jn(),u=o.queue;if(u===null)throw Error(r(311));u.lastRenderedReducer=i;var h=Vt,y=h.baseQueue,w=u.pending;if(w!==null){if(y!==null){var S=y.next;y.next=w.next,w.next=S}h.baseQueue=y=w,u.pending=null}if(y!==null){w=y.next,h=h.baseState;var _=S=null,D=null,q=w;do{var ae=q.lane;if((Ai&ae)===ae)D!==null&&(D=D.next={lane:0,action:q.action,hasEagerState:q.hasEagerState,eagerState:q.eagerState,next:null}),h=q.hasEagerState?q.eagerState:i(h,q.action);else{var ce={lane:ae,action:q.action,hasEagerState:q.hasEagerState,eagerState:q.eagerState,next:null};D===null?(_=D=ce,S=h):D=D.next=ce,jt.lanes|=ae,Ei|=ae}q=q.next}while(q!==null&&q!==w);D===null?S=h:D.next=_,fr(h,o.memoizedState)||(In=!0),o.memoizedState=h,o.baseState=S,o.baseQueue=D,u.lastRenderedState=h}if(i=u.interleaved,i!==null){y=i;do w=y.lane,jt.lanes|=w,Ei|=w,y=y.next;while(y!==i)}else y===null&&(u.lanes=0);return[o.memoizedState,u.dispatch]}function Lf(i){var o=Jn(),u=o.queue;if(u===null)throw Error(r(311));u.lastRenderedReducer=i;var h=u.dispatch,y=u.pending,w=o.memoizedState;if(y!==null){u.pending=null;var S=y=y.next;do w=i(w,S.action),S=S.next;while(S!==y);fr(w,o.memoizedState)||(In=!0),o.memoizedState=w,o.baseQueue===null&&(o.baseState=w),u.lastRenderedState=w}return[w,h]}function zy(){}function Hy(i,o){var u=jt,h=Jn(),y=o(),w=!fr(h.memoizedState,y);if(w&&(h.memoizedState=y,In=!0),h=h.queue,Vf(qy.bind(null,u,h,i),[i]),h.getSnapshot!==o||w||zt!==null&&zt.memoizedState.tag&1){if(u.flags|=2048,Qo(9,Wy.bind(null,u,h,y,o),void 0,null),Ht===null)throw Error(r(349));(Ai&30)!==0||Uy(u,o,y)}return y}function Uy(i,o,u){i.flags|=16384,i={getSnapshot:o,value:u},o=jt.updateQueue,o===null?(o={lastEffect:null,stores:null},jt.updateQueue=o,o.stores=[i]):(u=o.stores,u===null?o.stores=[i]:u.push(i))}function Wy(i,o,u,h){o.value=u,o.getSnapshot=h,Ky(o)&&Gy(i)}function qy(i,o,u){return u(function(){Ky(o)&&Gy(i)})}function Ky(i){var o=i.getSnapshot;i=i.value;try{var u=o();return!fr(i,u)}catch{return!0}}function Gy(i){var o=ss(i,1);o!==null&&vr(o,i,1,-1)}function Yy(i){var o=Fr();return typeof i=="function"&&(i=i()),o.memoizedState=o.baseState=i,i={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Zo,lastRenderedState:i},o.queue=i,i=i.dispatch=XT.bind(null,jt,i),[o.memoizedState,i]}function Qo(i,o,u,h){return i={tag:i,create:o,destroy:u,deps:h,next:null},o=jt.updateQueue,o===null?(o={lastEffect:null,stores:null},jt.updateQueue=o,o.lastEffect=i.next=i):(u=o.lastEffect,u===null?o.lastEffect=i.next=i:(h=u.next,u.next=i,i.next=h,o.lastEffect=i)),i}function Zy(){return Jn().memoizedState}function ud(i,o,u,h){var y=Fr();jt.flags|=i,y.memoizedState=Qo(1|o,u,void 0,h===void 0?null:h)}function md(i,o,u,h){var y=Jn();h=h===void 0?null:h;var w=void 0;if(Vt!==null){var S=Vt.memoizedState;if(w=S.destroy,h!==null&&Rf(h,S.deps)){y.memoizedState=Qo(o,u,w,h);return}}jt.flags|=i,y.memoizedState=Qo(1|o,u,w,h)}function Qy(i,o){return ud(8390656,8,i,o)}function Vf(i,o){return md(2048,8,i,o)}function Xy(i,o){return md(4,2,i,o)}function Jy(i,o){return md(4,4,i,o)}function e0(i,o){if(typeof o=="function")return i=i(),o(i),function(){o(null)};if(o!=null)return i=i(),o.current=i,function(){o.current=null}}function t0(i,o,u){return u=u!=null?u.concat([i]):null,md(4,4,e0.bind(null,o,i),u)}function Ff(){}function n0(i,o){var u=Jn();o=o===void 0?null:o;var h=u.memoizedState;return h!==null&&o!==null&&Rf(o,h[1])?h[0]:(u.memoizedState=[i,o],i)}function r0(i,o){var u=Jn();o=o===void 0?null:o;var h=u.memoizedState;return h!==null&&o!==null&&Rf(o,h[1])?h[0]:(i=i(),u.memoizedState=[i,o],i)}function s0(i,o,u){return(Ai&21)===0?(i.baseState&&(i.baseState=!1,In=!0),i.memoizedState=u):(fr(u,o)||(u=Mv(),jt.lanes|=u,Ei|=u,i.baseState=!0),o)}function ZT(i,o){var u=ct;ct=u!==0&&4>u?u:4,i(!0);var h=_f.transition;_f.transition={};try{i(!1),o()}finally{ct=u,_f.transition=h}}function i0(){return Jn().memoizedState}function QT(i,o,u){var h=zs(i);if(u={lane:h,action:u,hasEagerState:!1,eagerState:null,next:null},a0(i))o0(o,u);else if(u=Ly(i,o,u,h),u!==null){var y=bn();vr(u,i,h,y),l0(u,o,h)}}function XT(i,o,u){var h=zs(i),y={lane:h,action:u,hasEagerState:!1,eagerState:null,next:null};if(a0(i))o0(o,y);else{var w=i.alternate;if(i.lanes===0&&(w===null||w.lanes===0)&&(w=o.lastRenderedReducer,w!==null))try{var S=o.lastRenderedState,_=w(S,u);if(y.hasEagerState=!0,y.eagerState=_,fr(_,S)){var D=o.interleaved;D===null?(y.next=y,kf(o)):(y.next=D.next,D.next=y),o.interleaved=y;return}}catch{}u=Ly(i,o,y,h),u!==null&&(y=bn(),vr(u,i,h,y),l0(u,o,h))}}function a0(i){var o=i.alternate;return i===jt||o!==null&&o===jt}function o0(i,o){Go=dd=!0;var u=i.pending;u===null?o.next=o:(o.next=u.next,u.next=o),i.pending=o}function l0(i,o,u){if((u&4194240)!==0){var h=o.lanes;h&=i.pendingLanes,u|=h,o.lanes=u,$m(i,u)}}var fd={readContext:Xn,useCallback:on,useContext:on,useEffect:on,useImperativeHandle:on,useInsertionEffect:on,useLayoutEffect:on,useMemo:on,useReducer:on,useRef:on,useState:on,useDebugValue:on,useDeferredValue:on,useTransition:on,useMutableSource:on,useSyncExternalStore:on,useId:on,unstable_isNewReconciler:!1},JT={readContext:Xn,useCallback:function(i,o){return Fr().memoizedState=[i,o===void 0?null:o],i},useContext:Xn,useEffect:Qy,useImperativeHandle:function(i,o,u){return u=u!=null?u.concat([i]):null,ud(4194308,4,e0.bind(null,o,i),u)},useLayoutEffect:function(i,o){return ud(4194308,4,i,o)},useInsertionEffect:function(i,o){return ud(4,2,i,o)},useMemo:function(i,o){var u=Fr();return o=o===void 0?null:o,i=i(),u.memoizedState=[i,o],i},useReducer:function(i,o,u){var h=Fr();return o=u!==void 0?u(o):o,h.memoizedState=h.baseState=o,i={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:i,lastRenderedState:o},h.queue=i,i=i.dispatch=QT.bind(null,jt,i),[h.memoizedState,i]},useRef:function(i){var o=Fr();return i={current:i},o.memoizedState=i},useState:Yy,useDebugValue:Ff,useDeferredValue:function(i){return Fr().memoizedState=i},useTransition:function(){var i=Yy(!1),o=i[0];return i=ZT.bind(null,i[1]),Fr().memoizedState=i,[o,i]},useMutableSource:function(){},useSyncExternalStore:function(i,o,u){var h=jt,y=Fr();if(bt){if(u===void 0)throw Error(r(407));u=u()}else{if(u=o(),Ht===null)throw Error(r(349));(Ai&30)!==0||Uy(h,o,u)}y.memoizedState=u;var w={value:u,getSnapshot:o};return y.queue=w,Qy(qy.bind(null,h,w,i),[i]),h.flags|=2048,Qo(9,Wy.bind(null,h,w,u,o),void 0,null),u},useId:function(){var i=Fr(),o=Ht.identifierPrefix;if(bt){var u=rs,h=ns;u=(h&~(1<<32-mr(h)-1)).toString(32)+u,o=":"+o+"R"+u,u=Yo++,0<u&&(o+="H"+u.toString(32)),o+=":"}else u=YT++,o=":"+o+"r"+u.toString(32)+":";return i.memoizedState=o},unstable_isNewReconciler:!1},eI={readContext:Xn,useCallback:n0,useContext:Xn,useEffect:Vf,useImperativeHandle:t0,useInsertionEffect:Xy,useLayoutEffect:Jy,useMemo:r0,useReducer:Df,useRef:Zy,useState:function(){return Df(Zo)},useDebugValue:Ff,useDeferredValue:function(i){var o=Jn();return s0(o,Vt.memoizedState,i)},useTransition:function(){var i=Df(Zo)[0],o=Jn().memoizedState;return[i,o]},useMutableSource:zy,useSyncExternalStore:Hy,useId:i0,unstable_isNewReconciler:!1},tI={readContext:Xn,useCallback:n0,useContext:Xn,useEffect:Vf,useImperativeHandle:t0,useInsertionEffect:Xy,useLayoutEffect:Jy,useMemo:r0,useReducer:Lf,useRef:Zy,useState:function(){return Lf(Zo)},useDebugValue:Ff,useDeferredValue:function(i){var o=Jn();return Vt===null?o.memoizedState=i:s0(o,Vt.memoizedState,i)},useTransition:function(){var i=Lf(Zo)[0],o=Jn().memoizedState;return[i,o]},useMutableSource:zy,useSyncExternalStore:Hy,useId:i0,unstable_isNewReconciler:!1};function pr(i,o){if(i&&i.defaultProps){o=re({},o),i=i.defaultProps;for(var u in i)o[u]===void 0&&(o[u]=i[u]);return o}return o}function $f(i,o,u,h){o=i.memoizedState,u=u(h,o),u=u==null?o:re({},o,u),i.memoizedState=u,i.lanes===0&&(i.updateQueue.baseState=u)}var hd={isMounted:function(i){return(i=i._reactInternals)?bi(i)===i:!1},enqueueSetState:function(i,o,u){i=i._reactInternals;var h=bn(),y=zs(i),w=is(h,y);w.payload=o,u!=null&&(w.callback=u),o=Vs(i,w,y),o!==null&&(vr(o,i,y,h),ad(o,i,y))},enqueueReplaceState:function(i,o,u){i=i._reactInternals;var h=bn(),y=zs(i),w=is(h,y);w.tag=1,w.payload=o,u!=null&&(w.callback=u),o=Vs(i,w,y),o!==null&&(vr(o,i,y,h),ad(o,i,y))},enqueueForceUpdate:function(i,o){i=i._reactInternals;var u=bn(),h=zs(i),y=is(u,h);y.tag=2,o!=null&&(y.callback=o),o=Vs(i,y,h),o!==null&&(vr(o,i,h,u),ad(o,i,h))}};function c0(i,o,u,h,y,w,S){return i=i.stateNode,typeof i.shouldComponentUpdate=="function"?i.shouldComponentUpdate(h,w,S):o.prototype&&o.prototype.isPureReactComponent?!Lo(u,h)||!Lo(y,w):!0}function d0(i,o,u){var h=!1,y=Os,w=o.contextType;return typeof w=="object"&&w!==null?w=Xn(w):(y=Tn(o)?ji:an.current,h=o.contextTypes,w=(h=h!=null)?ma(i,y):Os),o=new o(u,w),i.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,o.updater=hd,i.stateNode=o,o._reactInternals=i,h&&(i=i.stateNode,i.__reactInternalMemoizedUnmaskedChildContext=y,i.__reactInternalMemoizedMaskedChildContext=w),o}function u0(i,o,u,h){i=o.state,typeof o.componentWillReceiveProps=="function"&&o.componentWillReceiveProps(u,h),typeof o.UNSAFE_componentWillReceiveProps=="function"&&o.UNSAFE_componentWillReceiveProps(u,h),o.state!==i&&hd.enqueueReplaceState(o,o.state,null)}function Bf(i,o,u,h){var y=i.stateNode;y.props=u,y.state=i.memoizedState,y.refs={},Af(i);var w=o.contextType;typeof w=="object"&&w!==null?y.context=Xn(w):(w=Tn(o)?ji:an.current,y.context=ma(i,w)),y.state=i.memoizedState,w=o.getDerivedStateFromProps,typeof w=="function"&&($f(i,o,w,u),y.state=i.memoizedState),typeof o.getDerivedStateFromProps=="function"||typeof y.getSnapshotBeforeUpdate=="function"||typeof y.UNSAFE_componentWillMount!="function"&&typeof y.componentWillMount!="function"||(o=y.state,typeof y.componentWillMount=="function"&&y.componentWillMount(),typeof y.UNSAFE_componentWillMount=="function"&&y.UNSAFE_componentWillMount(),o!==y.state&&hd.enqueueReplaceState(y,y.state,null),od(i,u,y,h),y.state=i.memoizedState),typeof y.componentDidMount=="function"&&(i.flags|=4194308)}function ba(i,o){try{var u="",h=o;do u+=oe(h),h=h.return;while(h);var y=u}catch(w){y=` 7Error generating stack: `+w.message+` 8`+w.stack}return{value:i,source:o,stack:y,digest:null}}function zf(i,o,u){return{value:i,source:null,stack:u??null,digest:o??null}}function Hf(i,o){try{console.error(o.value)}catch(u){setTimeout(function(){throw u})}}var nI=typeof WeakMap=="function"?WeakMap:Map;function m0(i,o,u){u=is(-1,u),u.tag=3,u.payload={element:null};var h=o.value;return u.callback=function(){wd||(wd=!0,sh=h),Hf(i,o)},u}function f0(i,o,u){u=is(-1,u),u.tag=3;var h=i.type.getDerivedStateFromError;if(typeof h=="function"){var y=o.value;u.payload=function(){return h(y)},u.callback=function(){Hf(i,o)}}var w=i.stateNode;return w!==null&&typeof w.componentDidCatch=="function"&&(u.callback=function(){Hf(i,o),typeof h!="function"&&($s===null?$s=new Set([this]):$s.add(this));var S=o.stack;this.componentDidCatch(o.value,{componentStack:S!==null?S:""})}),u}function h0(i,o,u){var h=i.pingCache;if(h===null){h=i.pingCache=new nI;var y=new Set;h.set(o,y)}else y=h.get(o),y===void 0&&(y=new Set,h.set(o,y));y.has(u)||(y.add(u),i=gI.bind(null,i,o,u),o.then(i,i))}function p0(i){do{var o;if((o=i.tag===13)&&(o=i.memoizedState,o=o!==null?o.dehydrated!==null:!0),o)return i;i=i.return}while(i!==null);return null}function g0(i,o,u,h,y){return(i.mode&1)===0?(i===o?i.flags|=65536:(i.flags|=128,u.flags|=131072,u.flags&=-52805,u.tag===1&&(u.alternate===null?u.tag=17:(o=is(-1,
vendor: 11,731 bytes, line 8
81),o.tag=2,Vs(u,o,1))),u.lanes|=1),i):(i.flags|=65536,i.lanes=y,i)}var rI=P.ReactCurrentOwner,In=!1;function yn(i,o,u,h){o.child=i===null?Dy(o,null,u,h):ga(o,i.child,u,h)}function x0(i,o,u,h,y){u=u.render;var w=o.ref;return va(o,y),h=Mf(i,o,u,h,w,y),u=Of(),i!==null&&!In?(o.updateQueue=i.updateQueue,o.flags&=-2053,i.lanes&=~y,as(i,o,y)):(bt&&u&&xf(o),o.flags|=1,yn(i,o,h,y),o.child)}function v0(i,o,u,h,y){if(i===null){var w=u.type;return typeof w=="function"&&!uh(w)&&w.defaultProps===void 0&&u.compare===null&&u.defaultProps===void 0?(o.tag=15,o.type=w,y0(i,o,w,h,y)):(i=Ad(u.type,null,h,o,o.mode,y),i.ref=o.ref,i.return=o,o.child=i)}if(w=i.child,(i.lanes&y)===0){var S=w.memoizedProps;if(u=u.compare,u=u!==null?u:Lo,u(S,h)&&i.ref===o.ref)return as(i,o,y)}return o.flags|=1,i=Us(w,h),i.ref=o.ref,i.return=o,o.child=i}function y0(i,o,u,h,y){if(i!==null){var w=i.memoizedProps;if(Lo(w,h)&&i.ref===o.ref)if(In=!1,o.pendingProps=h=w,(i.lanes&y)!==0)(i.flags&131072)!==0&&(In=!0);else return o.lanes=i.lanes,as(i,o,y)}return Uf(i,o,u,h,y)}function b0(i,o,u){var h=o.pendingProps,y=h.children,w=i!==null?i.memoizedState:null;if(h.mode==="hidden")if((o.mode&1)===0)o.memoizedState={baseLanes:0,cachePool:null,transitions:null},pt(ja,zn),zn|=u;else{if((u&1073741824)===0)return i=w!==null?w.baseLanes|u:u,o.lanes=o.childLanes=1073741824,o.memoizedState={baseLanes:i,cachePool:null,transitions:null},o.updateQueue=null,pt(ja,zn),zn|=i,null;o.memoizedState={baseLanes:0,cachePool:null,transitions:null},h=w!==null?w.baseLanes:u,pt(ja,zn),zn|=h}else w!==null?(h=w.baseLanes|u,o.memoizedState=null):h=u,pt(ja,zn),zn|=h;return yn(i,o,y,u),o.child}function w0(i,o){var u=o.ref;(i===null&&u!==null||i!==null&&i.ref!==u)&&(o.flags|=512,o.flags|=2097152)}function Uf(i,o,u,h,y){var w=Tn(u)?ji:an.current;return w=ma(o,w),va(o,y),u=Mf(i,o,u,h,w,y),h=Of(),i!==null&&!In?(o.updateQueue=i.updateQueue,o.flags&=-2053,i.lanes&=~y,as(i,o,y)):(bt&&h&&xf(o),o.flags|=1,yn(i,o,u,y),o.child)}function j0(i,o,u,h,y){if(Tn(u)){var w=!0;Xc(o)}else w=!1;if(va(o,y),o.stateNode===null)gd(i,o),d0(o,u,h),Bf(o,u,h,y),h=!0;else if(i===null){var S=o.stateNode,_=o.memoizedProps;S.props=_;var D=S.context,q=u.contextType;typeof q=="object"&&q!==null?q=Xn(q):(q=Tn(u)?ji:an.current,q=ma(o,q));var ae=u.getDerivedStateFromProps,ce=typeof ae=="function"||typeof S.getSnapshotBeforeUpdate=="function";ce||typeof S.UNSAFE_componentWillReceiveProps!="function"&&typeof S.componentWillReceiveProps!="function"||(_!==h||D!==q)&&u0(o,S,h,q),Ls=!1;var se=o.memoizedState;S.state=se,od(o,h,S,y),D=o.memoizedState,_!==h||se!==D||En.current||Ls?(typeof ae=="function"&&($f(o,u,ae,h),D=o.memoizedState),(_=Ls||c0(o,u,_,h,se,D,q))?(ce||typeof S.UNSAFE_componentWillMount!="function"&&typeof S.componentWillMount!="function"||(typeof S.componentWillMount=="function"&&S.componentWillMount(),typeof S.UNSAFE_componentWillMount=="function"&&S.UNSAFE_componentWillMount()),typeof S.componentDidMount=="function"&&(o.flags|=4194308)):(typeof S.componentDidMount=="function"&&(o.flags|=4194308),o.memoizedProps=h,o.memoizedState=D),S.props=h,S.state=D,S.context=q,h=_):(typeof S.componentDidMount=="function"&&(o.flags|=4194308),h=!1)}else{S=o.stateNode,Vy(i,o),_=o.memoizedProps,q=o.type===o.elementType?_:pr(o.type,_),S.props=q,ce=o.pendingProps,se=S.context,D=u.contextType,typeof D=="object"&&D!==null?D=Xn(D):(D=Tn(u)?ji:an.current,D=ma(o,D));var Ce=u.getDerivedStateFromProps;(ae=typeof Ce=="function"||typeof S.getSnapshotBeforeUpdate=="function")||typeof S.UNSAFE_componentWillReceiveProps!="function"&&typeof S.componentWillReceiveProps!="function"||(_!==ce||se!==D)&&u0(o,S,h,D),Ls=!1,se=o.memoizedState,S.state=se,od(o,h,S,y);var Pe=o.memoizedState;_!==ce||se!==Pe||En.current||Ls?(typeof Ce=="function"&&($f(o,u,Ce,h),Pe=o.memoizedState),(q=Ls||c0(o,u,q,h,se,Pe,D)||!1)?(ae||typeof S.UNSAFE_componentWillUpdate!="function"&&typeof S.componentWillUpdate!="function"||(typeof S.componentWillUpdate=="function"&&S.componentWillUpdate(h,Pe,D),typeof S.UNSAFE_componentWillUpdate=="function"&&S.UNSAFE_componentWillUpdate(h,Pe,D)),typeof S.componentDidUpdate=="function"&&(o.flags|=4),typeof S.getSnapshotBeforeUpdate=="function"&&(o.flags|=1024)):(typeof S.componentDidUpdate!="function"||_===i.memoizedProps&&se===i.memoizedState||(o.flags|=4),typeof S.getSnapshotBeforeUpdate!="function"||_===i.memoizedProps&&se===i.memoizedState||(o.flags|=1024),o.memoizedProps=h,o.memoizedState=Pe),S.props=h,S.state=Pe,S.context=D,h=q):(typeof S.componentDidUpdate!="function"||_===i.memoizedProps&&se===i.memoizedState||(o.flags|=4),typeof S.getSnapshotBeforeUpdate!="function"||_===i.memoizedProps&&se===i.memoizedState||(o.flags|=1024),h=!1)}return Wf(i,o,u,h,w,y)}function Wf(i,o,u,h,y,w){w0(i,o);var S=(o.flags&128)!==0;if(!h&&!S)return y&&Ay(o,u,!1),as(i,o,w);h=o.stateNode,rI.current=o;var _=S&&typeof u.getDerivedStateFromError!="function"?null:h.render();return o.flags|=1,i!==null&&S?(o.child=ga(o,i.child,null,w),o.child=ga(o,null,_,w)):yn(i,o,_,w),o.memoizedState=h.state,y&&Ay(o,u,!0),o.child}function N0(i){var o=i.stateNode;o.pendingContext?Sy(i,o.pendingContext,o.pendingContext!==o.context):o.context&&Sy(i,o.context,!1),Ef(i,o.containerInfo)}function C0(i,o,u,h,y){return pa(),wf(y),o.flags|=256,yn(i,o,u,h),o.child}var qf={dehydrated:null,treeContext:null,retryLane:0};function Kf(i){return{baseLanes:i,cachePool:null,transitions:null}}function S0(i,o,u){var h=o.pendingProps,y=wt.current,w=!1,S=(o.flags&128)!==0,_;if((_=S)||(_=i!==null&&i.memoizedState===null?!1:(y&2)!==0),_?(w=!0,o.flags&=-129):(i===null||i.memoizedState!==null)&&(y|=1),pt(wt,y&1),i===null)return bf(o),i=o.memoizedState,i!==null&&(i=i.dehydrated,i!==null)?((o.mode&1)===0?o.lanes=1:i.data==="$!"?o.lanes=8:o.lanes=1073741824,null):(S=h.children,i=h.fallback,w?(h=o.mode,w=o.child,S={mode:"hidden",children:S},(h&1)===0&&w!==null?(w.childLanes=0,w.pendingProps=S):w=Ed(S,h,0,null),i=_i(i,h,u,null),w.return=o,i.return=o,w.sibling=i,o.child=w,o.child.memoizedState=Kf(u),o.memoizedState=qf,i):Gf(o,S));if(y=i.memoizedState,y!==null&&(_=y.dehydrated,_!==null))return sI(i,o,S,h,_,y,u);if(w){w=h.fallback,S=o.mode,y=i.child,_=y.sibling;var D={mode:"hidden",children:h.children};return(S&1)===0&&o.child!==y?(h=o.child,h.childLanes=0,h.pendingProps=D,o.deletions=null):(h=Us(y,D),h.subtreeFlags=y.subtreeFlags&14680064),_!==null?w=Us(_,w):(w=_i(w,S,u,null),w.flags|=2),w.return=o,h.return=o,h.sibling=w,o.child=h,h=w,w=o.child,S=i.child.memoizedState,S=S===null?Kf(u):{baseLanes:S.baseLanes|u,cachePool:null,transitions:S.transitions},w.memoizedState=S,w.childLanes=i.childLanes&~u,o.memoizedState=qf,h}return w=i.child,i=w.sibling,h=Us(w,{mode:"visible",children:h.children}),(o.mode&1)===0&&(h.lanes=u),h.return=o,h.sibling=null,i!==null&&(u=o.deletions,u===null?(o.deletions=[i],o.flags|=16):u.push(i)),o.child=h,o.memoizedState=null,h}function Gf(i,o){return o=Ed({mode:"visible",children:o},i.mode,0,null),o.return=i,i.child=o}function pd(i,o,u,h){return h!==null&&wf(h),ga(o,i.child,null,u),i=Gf(o,o.pendingProps.children),i.flags|=2,o.memoizedState=null,i}function sI(i,o,u,h,y,w,S){if(u)return o.flags&256?(o.flags&=-257,h=zf(Error(r(422))),pd(i,o,S,h)):o.memoizedState!==null?(o.child=i.child,o.flags|=128,null):(w=h.fallback,y=o.mode,h=Ed({mode:"visible",children:h.children},y,0,null),w=_i(w,y,S,null),w.flags|=2,h.return=o,w.return=o,h.sibling=w,o.child=h,(o.mode&1)!==0&&ga(o,i.child,null,S),o.child.memoizedState=Kf(S),o.memoizedState=qf,w);if((o.mode&1)===0)return pd(i,o,S,null);if(y.data==="$!"){if(h=y.nextSibling&&y.nextSibling.dataset,h)var _=h.dgst;return h=_,w=Error(r(419)),h=zf(w,h,void 0),pd(i,o,S,h)}if(_=(S&i.childLanes)!==0,In||_){if(h=Ht,h!==null){switch(S&-S){case 4:y=2;break;case 16:y=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:y=32;break;case 536870912:y=268435456;break;default:y=0}y=(y&(h.suspendedLanes|S))!==0?0:y,y!==0&&y!==w.retryLane&&(w.retryLane=y,ss(i,y),vr(h,i,y,-1))}return dh(),h=zf(Error(r(421))),pd(i,o,S,h)}return y.data==="$?"?(o.flags|=128,o.child=i.child,o=xI.bind(null,i),y._reactRetry=o,null):(i=w.treeContext,Bn=Rs(y.nextSibling),$n=o,bt=!0,hr=null,i!==null&&(Zn[Qn++]=ns,Zn[Qn++]=rs,Zn[Qn++]=Ni,ns=i.id,rs=i.overflow,Ni=o),o=Gf(o,h.children),o.flags|=4096,o)}function k0(i,o,u){i.lanes|=o;var h=i.alternate;h!==null&&(h.lanes|=o),Sf(i.return,o,u)}function Yf(i,o,u,h,y){var w=i.memoizedState;w===null?i.memoizedState={isBackwards:o,rendering:null,renderingStartTime:0,last:h,tail:u,tailMode:y}:(w.isBackwards=o,w.rendering=null,w.renderingStartTime=0,w.last=h,w.tail=u,w.tailMode=y)}function A0(i,o,u){var h=o.pendingProps,y=h.revealOrder,w=h.tail;if(yn(i,o,h.children,u),h=wt.current,(h&2)!==0)h=h&1|2,o.flags|=128;else{if(i!==null&&(i.flags&128)!==0)e:for(i=o.child;i!==null;){if(i.tag===13)i.memoizedState!==null&&k0(i,u,o);else if(i.tag===19)k0(i,u,o);else if(i.child!==null){i.child.return=i,i=i.child;continue}if(i===o)break e;for(;i.sibling===null;){if(i.return===null||i.return===o)break e;i=i.return}i.sibling.return=i.return,i=i.sibling}h&=1}if(pt(wt,h),(o.mode&1)===0)o.memoizedState=null;else switch(y){case"forwards":for(u=o.child,y=null;u!==null;)i=u.alternate,i!==null&&ld(i)===null&&(y=u),u=u.sibling;u=y,u===null?(y=o.child,o.child=null):(y=u.sibling,u.sibling=null),Yf(o,!1,y,u,w);break;case"backwards":for(u=null,y=o.child,o.child=null;y!==null;){if(i=y.alternate,i!==null&&ld(i)===null){o.child=y;break}i=y.sibling,y.sibling=u,u=y,y=i}Yf(o,!0,u,null,w);break;case"together":Yf(o,!1,null,null,void 0);break;default:o.memoizedState=null}return o.child}function gd(i,o){(o.mode&1)===0&&i!==null&&(i.alternate=null,o.alternate=null,o.flags|=2)}function as(i,o,u){if(i!==null&&(o.dependencies=i.dependencies),Ei|=o.lanes,(u&o.childLanes)===0)return null;if(i!==null&&o.child!==i.child)throw Error(r(153));if(o.child!==null){for(i=o.child,u=Us(i,i.pendingProps),o.child=u,u.return=o;i.sibling!==null;)i=i.sibling,u=u.sibling=Us(i,i.pendingProps),u.return=o;u.sibling=null}return o.child}function iI(i,o,u){switch(o.tag){case 3:N0(o),pa();break;case 5:By(o);break;case 1:Tn(o.type)&&Xc(o);break;case 4:Ef(o,o.stateNode.containerInfo);break;case 10:var h=o.type._context,y=o.memoizedProps.value;pt(sd,h._currentValue),h._currentValue=y;break;case 13:if(h=o.memoizedState,h!==null)return h.dehydrated!==null?(pt(wt,wt.current&1),o.flags|=128,null):(u&o.child.childLanes)!==0?S0(i,o,u):(pt(wt,wt.current&1),i=as(i,o,u),i!==null?i.sibling:null);pt(wt,wt.current&1);break;case 19:if(h=(u&o.childLanes)!==0,(i.flags&128)!==0){if(h)return A0(i,o,u);o.flags|=128}if(y=o.memoizedState,y!==null&&(y.rendering=null,y.tail=null,y.lastEffect=null),pt(wt,wt.current),h)break;return null;case 22:case 23:return o.lanes=0,b0(i,o,u)}return as(i,o,u)}var E0,Zf,T0,I0;E0=function(i,o){for(var u=o.child;u!==null;){if(u.tag===5||u.tag===6)i.appendChild(u.stateNode);else if(u.tag!==4&&u.child!==null){u.child.return=u,u=u.child;continue}if(u===o)break;for(;u.sibling===null;){if(u.return===null||u.return===o)return;u=u.return}u.sibling.return=u.return,u=u.sibling}},Zf=function(){},T0=function(i,o,u,h){var y=i.memoizedProps;if(y!==h){i=o.stateNode,ki(Vr.current);var w=null;switch(u){case"input":y=Yt(i,y),h=Yt(i,h),w=[];break;case"select":y=re({},y,{value:void 0}),h=re({},h,{value:void 0}),w=[];break;case"textarea":y=xe(i,y),h=xe(i,h),w=[];break;default:typeof y.onClick!="function"&&typeof h.onClick=="function"&&(i.onclick=Yc)}Yn(u,h);var S;u=null;for(q in y)if(!h.hasOwnProperty(q)&&y.hasOwnProperty(q)&&y[q]!=null)if(q==="style"){var _=y[q];
vendor: 4,747 bytes, line 8
8for(S in _)_.hasOwnProperty(S)&&(u||(u={}),u[S]="")}else q!=="dangerouslySetInnerHTML"&&q!=="children"&&q!=="suppressContentEditableWarning"&&q!=="suppressHydrationWarning"&&q!=="autoFocus"&&(a.hasOwnProperty(q)?w||(w=[]):(w=w||[]).push(q,null));for(q in h){var D=h[q];if(_=y?.[q],h.hasOwnProperty(q)&&D!==_&&(D!=null||_!=null))if(q==="style")if(_){for(S in _)!_.hasOwnProperty(S)||D&&D.hasOwnProperty(S)||(u||(u={}),u[S]="");for(S in D)D.hasOwnProperty(S)&&_[S]!==D[S]&&(u||(u={}),u[S]=D[S])}else u||(w||(w=[]),w.push(q,u)),u=D;else q==="dangerouslySetInnerHTML"?(D=D?D.__html:void 0,_=_?_.__html:void 0,D!=null&&_!==D&&(w=w||[]).push(q,D)):q==="children"?typeof D!="string"&&typeof D!="number"||(w=w||[]).push(q,""+D):q!=="suppressContentEditableWarning"&&q!=="suppressHydrationWarning"&&(a.hasOwnProperty(q)?(D!=null&&q==="onScroll"&&xt("scroll",i),w||_===D||(w=[])):(w=w||[]).push(q,D))}u&&(w=w||[]).push("style",u);var q=w;(o.updateQueue=q)&&(o.flags|=4)}},I0=function(i,o,u,h){u!==h&&(o.flags|=4)};function Xo(i,o){if(!bt)switch(i.tailMode){case"hidden":o=i.tail;for(var u=null;o!==null;)o.alternate!==null&&(u=o),o=o.sibling;u===null?i.tail=null:u.sibling=null;break;case"collapsed":u=i.tail;for(var h=null;u!==null;)u.alternate!==null&&(h=u),u=u.sibling;h===null?o||i.tail===null?i.tail=null:i.tail.sibling=null:h.sibling=null}}function ln(i){var o=i.alternate!==null&&i.alternate.child===i.child,u=0,h=0;if(o)for(var y=i.child;y!==null;)u|=y.lanes|y.childLanes,h|=y.subtreeFlags&14680064,h|=y.flags&14680064,y.return=i,y=y.sibling;else for(y=i.child;y!==null;)u|=y.lanes|y.childLanes,h|=y.subtreeFlags,h|=y.flags,y.return=i,y=y.sibling;return i.subtreeFlags|=h,i.childLanes=u,o}function aI(i,o,u){var h=o.pendingProps;switch(vf(o),o.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ln(o),null;case 1:return Tn(o.type)&&Qc(),ln(o),null;case 3:return h=o.stateNode,ya(),vt(En),vt(an),Pf(),h.pendingContext&&(h.context=h.pendingContext,h.pendingContext=null),(i===null||i.child===null)&&(nd(o)?o.flags|=4:i===null||i.memoizedState.isDehydrated&&(o.flags&256)===0||(o.flags|=1024,hr!==null&&(oh(hr),hr=null))),Zf(i,o),ln(o),null;case 5:Tf(o);var y=ki(Ko.current);if(u=o.type,i!==null&&o.stateNode!=null)T0(i,o,u,h,y),i.ref!==o.ref&&(o.flags|=512,o.flags|=2097152);else{if(!h){if(o.stateNode===null)throw Error(r(166));return ln(o),null}if(i=ki(Vr.current),nd(o)){h=o.stateNode,u=o.type;var w=o.memoizedProps;switch(h[Lr]=o,h[zo]=w,i=(o.mode&1)!==0,u){case"dialog":xt("cancel",h),xt("close",h);break;case"iframe":case"object":case"embed":xt("load",h);break;case"video":case"audio":for(y=0;y<Fo.length;y++)xt(Fo[y],h);break;case"source":xt("error",h);break;case"img":case"image":case"link":xt("error",h),xt("load",h);break;case"details":xt("toggle",h);break;case"input":Mr(h,w),xt("invalid",h);break;case"select":h._wrapperState={wasMultiple:!!w.multiple},xt("invalid",h);break;case"textarea":ue(h,w),xt("invalid",h)}Yn(u,w),y=null;for(var S in w)if(w.hasOwnProperty(S)){var _=w[S];S==="children"?typeof _=="string"?h.textContent!==_&&(w.suppressHydrationWarning!==!0&&Gc(h.textContent,_,i),y=["children",_]):typeof _=="number"&&h.textContent!==""+_&&(w.suppressHydrationWarning!==!0&&Gc(h.textContent,_,i),y=["children",""+_]):a.hasOwnProperty(S)&&_!=null&&S==="onScroll"&&xt("scroll",h)}switch(u){case"input":Xe(h),O(h,w,!0);break;case"textarea":Xe(h),qe(h);break;case"select":case"option":break;default:typeof w.onClick=="function"&&(h.onclick=Yc)}h=y,o.updateQueue=h,h!==null&&(o.flags|=4)}else{S=y.nodeType===9?y:y.ownerDocument,i==="http://www.w3.org/1999/xhtml"&&(i=gt(u)),i==="http://www.w3.org/1999/xhtml"?u==="script"?(i=S.createElement("div"),i.innerHTML="<script><\/script>",i=i.removeChild(i.firstChild)):typeof h.is=="string"?i=S.createElement(u,{is:h.is}):(i=S.createElement(u),u==="select"&&(S=i,h.multiple?S.multiple=!0:h.size&&(S.size=h.size))):i=S.createElementNS(i,u),i[Lr]=o,i[zo]=h,E0(i,o,!1,!1),o.stateNode=i;e:{switch(S=wo(u,h),u){case"dialog":xt("cancel",i),xt("close",i),y=h;break;case"iframe":case"object":case"embed":xt("load",i),y=h;break;case"video":case"audio":for(y=0;y<Fo.length;y++)xt(Fo[y],i);y=h;break;case"source":xt("error",i),y=h;break;case"img":case"image":case"link":xt("error",i),xt("load",i),y=h;break;case"details":xt("toggle",i),y=h;break;case"input":Mr(i,h),y=Yt(i,h),xt("invalid",i);break;case"option":y=h;break;case"select":i._wrapperState={wasMultiple:!!h.multiple},y=re({},h,{value:void 0}),xt("invalid",i);break;case"textarea":ue(i,h),y=xe(i,h),xt("invalid",i);break;default:y=h}Yn(u,y),_=y;for(w in _)if(_.hasOwnProperty(w)){var D=_[w];w==="style"?na(i,D):w==="dangerouslySetInnerHTML"?(D=D?D.__html:void 0,D!=null&&dr(i,D)):w==="children"?typeof D=="str
8ing"?(u!=="textarea"||D!=="")&&Gn(i,D):typeof D=="number"&&Gn(i,""+D):w!=="suppressContentEditableWarning"&&w!=="suppressHydrationWarning"&&w!=="autoFocus"&&(a.hasOwnProperty(w)?D!=null&&w==="onScroll"&&xt("scroll",i):D!=null&&T(i,w,D,S))}switch(u){case"input":Xe(i),O(i,h,!1);break;case"textarea":Xe(i),qe(i);break;case"option":h.value!=null&&i.setAttribute("value",""+je(h.value));break;case"select":i.multiple=!!h.multiple,w=h.value,w!=null?we(i,!!h.multiple,w,!1):h.defaultValue!=null&&we(i,!!h.multiple,h.defaultValue,!0);break;default:typeof y.onClick=="function"&&(i.onclick=Yc)}switch(u){case"button":case"input":case"select":case"textarea":h=!!h.autoFocus;break e;case"img":h=!0;break e;default:h=!1}}h&&(o.flags|=4)}o.ref!==null&&(o.flags|=512,o.flags|=2097152)}return ln(o),null;case 6:if(i&&o.stateNode!=null)I0(i,o,i.memoizedProps,h);else{if(typeof h!="string"&&o.stateNode===null)throw Error(r(166));if(u=ki(Ko.current),ki(Vr.current),nd(o)){if(h=o.stateNode,u=o.memoizedProps,h[Lr]=o,(w=h.nodeValue!==u)&&(i=$n,i!==null))switch(i.tag){case 3:Gc(h.nodeValue,u,(i.mode&1)!==0);break;case 5:i.memoizedProps.suppressHydrationWarning!==!0&&Gc(h.nodeValue,u,(i.mode&1)!==0)}w&&(o.flags|=4)}else h=(u.nodeType===9?u:u.ownerDocument).createTextNode(h),h[Lr]=o,o.stateNode=h}return ln(o),null;case 13:if(vt(wt),h=o.memoizedState,i===null||i.memoizedState!==null&&i.memoizedState.dehydrated!==null){if(bt&&Bn!==null&&(o.mode&1)!==0&&(o.flags&128)===0)Ry(),pa(),o.flags|=98560,w=!1;else if(w=nd(o),h!==null&&h.dehydrated!==null){if(i===null){if(!w)throw Error(r(318));if(w=o.memoizedState,w=w!==null?w.dehydrated:null,!w)throw Error(r(317));w[Lr]=o}else pa(),(o.flags&128)===0&&(o.memoizedState=null),o.flags|=4;ln(o),w=!1}else hr!==null&&(oh(hr),hr=null),w=!0;if(!w)return o.flags&65536?o:null}return(o.flags&128)!==0?(o.lanes=u,o):(h=h!==null,h!==(i!==null&&i.memoizedState!==null)&&h&&(o.child.flags|=8192,(o.mode&1)!==0&&(i===null||(wt.current&1)!==0?Ft===0&&(Ft=3):dh())),o.updateQueue!==null&&(o.flags|=4),ln(o),null);case 4:return ya(),Zf(i,o),i===null&&$o(o.stateNode.containerInfo),ln(o),null;case 10:return Cf(o.type._context),ln(o),null;case 17:return Tn(o.type)&&Qc(),ln(o),null;case 19:if(vt(wt),w=o.memoizedState,w===null)return ln(o),null;if(h=(o.flags&128)!==0,S=w.rendering,S===null)if(h)Xo(w,!1);else{if(Ft!==0||i!==null&&(i.flags&128)!==0)for(i=o.child;i!==null;){if(S=ld(i),S!==null){for(o.flags|=128,Xo(w,!1),h=S.updateQueue,h!==null&&(o.updateQueue=h,o.flags|=4),o.subtreeFlags=0,h=u,u=o.child;u!==null;)w=u,i=h,w.flags&=14680066,S=w.alternate,S===null?(w.childLanes=0,w.lanes=i,w.child=null,w.subtreeFlags=0,w.memoizedProps=null,w.memoizedState=null,w.updateQueue=null,w.dependencies=null,w.stateNode=null):(w.childLanes=S.childLanes,w.lanes=S.lanes,w.child=S.child,w.subtreeFlags=0,w.deletions=null,w.memoizedProps=S.memoizedProps,w.memoizedState=S.memoizedState,w.updateQueue=S.updateQueue,w.type=S.type,i=S.dependencies,w.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext}),u=u.sibling;return pt(wt,wt.current&1|2),o.child}i=i.sibling}w.tail!==null&&Tt()>Na&&(o.flags|=128,h=!0,Xo(w,!1),o.lanes=4194304)}else{if(!h)if(i=ld(S),i!==null){if(o.flags|=128,h=!0,u=i.updateQueue,u!==null&&(o.updateQueue=u,o.flags|=4),Xo(w,!0),w.tail===null&&w.tailMode==="hidden"&&!S.alternate&&!bt)return ln(o),null}else 2*Tt()-w.renderingStartTime>Na&&u!==1073741824&&(o.flags|=128,h=!0,Xo(w,!1),o.lanes=4194304);w.isBackwards?(S.sibling=o.child,o.child=S):(u=w.last,u!==null?u.sibling=S:o.child=S,w.last=S)}return w.tail!==null?(o=w.tail,w.rendering=o,w.tail=o.sibling,w.renderingStartTime=Tt(),o.sibling=null,u=wt.current,pt(wt,h?u&1|2:u&1),o):(ln(o),null);case 22:case 23:return ch(),h=o.memoizedState!==null,i!==null&&i.memoizedState!==null!==h&&(o.flags|=8192),h&&(o.mode&1)!==0?(zn&1073741824)!==0&&(ln(o),o.subtreeFlags&6&&(o.flags|=8192)):ln(o),null;case 24:return null;case 25:return null}throw Error(r(156,o.tag))}function oI(i,o){switch(vf(o),o.tag){case 1:return Tn(o.type)&&Qc(),i=o.flags,i&65536?(o.flags=i&-65537|128,o):null;case 3:return ya(),vt(En),vt(an),Pf(),i=o.flags,(i&65536)!==0&&(i&128)===0?(o.flags=i&-65537|128,o):null;case 5:return Tf(o),null;case 13:if(vt(wt),i=o.memoizedState,i!==null&&i.dehydrated!==null){if(o.alternate===null)throw Error(r(340));pa()}return i=o.flags,i&65536?(o.flags=i&-65537|128,o):null;case 19:return vt(wt),null;case 4:return ya(),null;case 10:return Cf(o.type._context),null;case 22:case 23:return ch(),null;case 24:return null;default:return null}}var xd=!1,cn=!1,lI=typeof WeakSet=="function"?WeakSet:Set,Te=null;function wa(i,o){var u=i.ref;if(u!==null)if(typeof u=="function")try{u(null)}catch(h){kt(i,o,h)}else u.current=null}function Qf(i,o,u){try{u()}catch(h){kt(i,o,h)}}var P0=!1;function cI(i,o){if(cf=Lc,i=cy(),ef(i)){if("selectionStart"in i)var u={start:i.selectionStart,end:i.selectionEnd};else e:{u=(u=i.ownerDocument)&&u.defaultView||window;var h=u.getSelection&&u.getSelection();if(h&&h.rangeCount!==0){u=h.anchorNode;var y=h.anchorOffset,w=h.focusNode;h=h.focusOffset;try{u.nodeType,w.nodeType}catch{u=null;break e}var S=0,_=-1,D=-1,q=0,ae=0,ce=i,se=null;t:for(;;){for(var Ce;
vendor: 4,250 bytes, line 8
8ce!==u||y!==0&&ce.nodeType!==3||(_=S+y),ce!==w||h!==0&&ce.nodeType!==3||(D=S+h),ce.nodeType===3&&(S+=ce.nodeValue.length),(Ce=ce.firstChild)!==null;)se=ce,ce=Ce;for(;;){if(ce===i)break t;if(se===u&&++q===y&&(_=S),se===w&&++ae===h&&(D=S),(Ce=ce.nextSibling)!==null)break;ce=se,se=ce.parentNode}ce=Ce}u=_===-1||D===-1?null:{start:_,end:D}}else u=null}u=u||{start:0,end:0}}else u=null;for(df={focusedElem:i,selectionRange:u},Lc=!1,Te=o;Te!==null;)if(o=Te,i=o.child,(o.subtreeFlags&1028)!==0&&i!==null)i.return=o,Te=i;else for(;Te!==null;){o=Te;try{var Pe=o.alternate;if((o.flags&1024)!==0)switch(o.tag){case 0:case 11:case 15:break;case 1:if(Pe!==null){var _e=Pe.memoizedProps,It=Pe.memoizedState,B=o.stateNode,V=B.getSnapshotBeforeUpdate(o.elementType===o.type?_e:pr(o.type,_e),It);B.__reactInternalSnapshotBeforeUpdate=V}break;case 3:var U=o.stateNode.containerInfo;U.nodeType===1?U.textContent="":U.nodeType===9&&U.documentElement&&U.removeChild(U.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(r(163))}}catch(pe){kt(o,o.return,pe)}if(i=o.sibling,i!==null){i.return=o.return,Te=i;break}Te=o.return}return Pe=P0,P0=!1,Pe}function Jo(i,o,u){var h=o.updateQueue;if(h=h!==null?h.lastEffect:null,h!==null){var y=h=h.next;do{if((y.tag&i)===i){var w=y.destroy;y.destroy=void 0,w!==void 0&&Qf(o,u,w)}y=y.next}while(y!==h)}}function vd(i,o){if(o=o.updateQueue,o=o!==null?o.lastEffect:null,o!==null){var u=o=o.next;do{if((u.tag&i)===i){var h=u.create;u.destroy=h()}u=u.next}while(u!==o)}}function Xf(i){var o=i.ref;if(o!==null){var u=i.stateNode;i.tag,i=u,typeof o=="function"?o(i):o.current=i}}function _0(i){var o=i.alternate;o!==null&&(i.alternate=null,_0(o)),i.child=null,i.deletions=null,i.sibling=null,i.tag===5&&(o=i.stateNode,o!==null&&(delete o[Lr],delete o[zo],delete o[hf],delete o[WT],delete o[qT])),i.stateNode=null,i.return=null,i.dependencies=null,i.memoizedProps=null,i.memoizedState=null,i.pendingProps=null,i.stateNode=null,i.updateQueue=null}function R0(i){return i.tag===5||i.tag===3||i.tag===4}function M0(i){e:for(;;){for(;i.sibling===null;){if(i.return===null||R0(i.return))return null;i=i.return}for(i.sibling.return=i.return,i=i.sibling;i.tag!==5&&i.tag!==6&&i.tag!==18;){if(i.flags&2||i.child===null||i.tag===4)continue e;i.child.return=i,i=i.child}if(!(i.flags&2))return i.stateNode}}function Jf(i,o,u){var h=i.tag;if(h===5||h===6)i=i.stateNode,o?u.nodeType===8?u.parentNode.insertBefore(i,o):u.insertBefore(i,o):(u.nodeType===8?(o=u.parentNode,o.insertBefore(i,u)):(o=u,o.appendChild(i)),u=u._reactRootContainer,u!=null||o.onclick!==null||(o.onclick=Yc));else if(h!==4&&(i=i.child,i!==null))for(Jf(i,o,u),i=i.sibling;i!==null;)Jf(i,o,u),i=i.sibling}function eh(i,o,u){var h=i.tag;if(h===5||h===6)i=i.stateNode,o?u.insertBefore(i,o):u.appendChild(i);else if(h!==4&&(i=i.child,i!==null))for(eh(i,o,u),i=i.sibling;i!==null;)eh(i,o,u),i=i.sibling}var Xt=null,gr=!1;function Fs(i,o,u){for(u=u.child;u!==null;)O0(i,o,u),u=u.sibling}function O0(i,o,u){if(Dr&&typeof Dr.onCommitFiberUnmount=="function")try{Dr.onCommitFiberUnmount(Pc,u)}catch{}switch(u.tag){case 5:cn||wa(u,o);case 6:var h=Xt,y=gr;Xt=null,Fs(i,o,u),Xt=h,gr=y,Xt!==null&&(gr?(i=Xt,u=u.stateNode,i.nodeType===8?i.parentNode.removeChild(u):i.removeChild(u)):Xt.removeChild(u.stateNode));break;case 18:Xt!==null&&(gr?(i=Xt,u=u.stateNode,i.nodeType===8?ff(i.parentNode,u):i.nodeType===1&&ff(i,u),Po(i)):ff(Xt,u.stateNode));break;case 4:h=Xt,y=gr,Xt=u.stateNode.containerInfo,gr=!0,Fs(i,o,u),Xt=h,gr=y;break;case 0:case 11:case 14:case 15:if(!cn&&(h=u.updateQueue,h!==null&&(h=h.lastEffect,h!==null))){y=h=h.next;do{var w=y,S=w.destroy;w=w.tag,S!==void 0&&((w&2)!==0||(w&4)!==0)&&Qf(u,o,S),y=y.next}while(y!==h)}Fs(i,o,u);break;case 1:if(!cn&&(wa(u,o),h=u.stateNode,typeof h.componentWillUnmount=="function"))try{h.props=u.memoizedProps,h.state=u.memoizedState,h.componentWillUnmount()}catch(_){kt(u,o,_)}Fs(i,o,u);break;case 21:Fs(i,o,u);break;case 22:u.mode&1?(cn=(h=cn)||u.memoizedState!==null,Fs(i,o,u),cn=h):Fs(i,o,u);break;default:Fs(i,o,u)}}function D0(i){var o=i.updateQueue;if(o!==null){i.updateQueue=null;var u=i.stateNode;u===null&&(u=i.stateNode=new lI),o.forEach(function(h){var y=vI.bind(null,i,h);u.has(h)||(u.add(h),h.then(y,y))})}}
vendor: 13,219 bytes, line 8
8function xr(i,o){var u=o.deletions;if(u!==null)for(var h=0;h<u.length;h++){var y=u[h];try{var w=i,S=o,_=S;e:for(;_!==null;){switch(_.tag){case 5:Xt=_.stateNode,gr=!1;break e;case 3:Xt=_.stateNode.containerInfo,gr=!0;break e;case 4:Xt=_.stateNode.containerInfo,gr=!0;break e}_=_.return}if(Xt===null)throw Error(r(160));O0(w,S,y),Xt=null,gr=!1;var D=y.alternate;D!==null&&(D.return=null),y.return=null}catch(q){kt(y,o,q)}}if(o.subtreeFlags&12854)for(o=o.child;o!==null;)L0(o,i),o=o.sibling}function L0(i,o){var u=i.alternate,h=i.flags;switch(i.tag){case 0:case 11:case 14:case 15:if(xr(o,i),$r(i),h&4){try{Jo(3,i,i.return),vd(3,i)}catch(_e){kt(i,i.return,_e)}try{Jo(5,i,i.return)}catch(_e){kt(i,i.return,_e)}}break;case 1:xr(o,i),$r(i),h&512&&u!==null&&wa(u,u.return);break;case 5:if(xr(o,i),$r(i),h&512&&u!==null&&wa(u,u.return),i.flags&32){var y=i.stateNode;try{Gn(y,"")}catch(_e){kt(i,i.return,_e)}}if(h&4&&(y=i.stateNode,y!=null)){var w=i.memoizedProps,S=u!==null?u.memoizedProps:w,_=i.type,D=i.updateQueue;if(i.updateQueue=null,D!==null)try{_==="input"&&w.type==="radio"&&w.name!=null&&An(y,w),wo(_,S);var q=wo(_,w);for(S=0;S<D.length;S+=2){var ae=D[S],ce=D[S+1];ae==="style"?na(y,ce):ae==="dangerouslySetInnerHTML"?dr(y,ce):ae==="children"?Gn(y,ce):T(y,ae,ce,q)}switch(_){case"input":Or(y,w);break;case"textarea":De(y,w);break;case"select":var se=y._wrapperState.wasMultiple;y._wrapperState.wasMultiple=!!w.multiple;var Ce=w.value;Ce!=null?we(y,!!w.multiple,Ce,!1):se!==!!w.multiple&&(w.defaultValue!=null?we(y,!!w.multiple,w.defaultValue,!0):we(y,!!w.multiple,w.multiple?[]:"",!1))}y[zo]=w}catch(_e){kt(i,i.return,_e)}}break;case 6:if(xr(o,i),$r(i),h&4){if(i.stateNode===null)throw Error(r(162));y=i.stateNode,w=i.memoizedProps;try{y.nodeValue=w}catch(_e){kt(i,i.return,_e)}}break;case 3:if(xr(o,i),$r(i),h&4&&u!==null&&u.memoizedState.isDehydrated)try{Po(o.containerInfo)}catch(_e){kt(i,i.return,_e)}break;case 4:xr(o,i),$r(i);break;case 13:xr(o,i),$r(i),y=i.child,y.flags&8192&&(w=y.memoizedState!==null,y.stateNode.isHidden=w,!w||y.alternate!==null&&y.alternate.memoizedState!==null||(rh=Tt())),h&4&&D0(i);break;case 22:if(ae=u!==null&&u.memoizedState!==null,i.mode&1?(cn=(q=cn)||ae,xr(o,i),cn=q):xr(o,i),$r(i),h&8192){if(q=i.memoizedState!==null,(i.stateNode.isHidden=q)&&!ae&&(i.mode&1)!==0)for(Te=i,ae=i.child;ae!==null;){for(ce=Te=ae;Te!==null;){switch(se=Te,Ce=se.child,se.tag){case 0:case 11:case 14:case 15:Jo(4,se,se.return);break;case 1:wa(se,se.return);var Pe=se.stateNode;if(typeof Pe.componentWillUnmount=="function"){h=se,u=se.return;try{o=h,Pe.props=o.memoizedProps,Pe.state=o.memoizedState,Pe.componentWillUnmount()}catch(_e){kt(h,u,_e)}}break;case 5:wa(se,se.return);break;case 22:if(se.memoizedState!==null){$0(ce);continue}}Ce!==null?(Ce.return=se,Te=Ce):$0(ce)}ae=ae.sibling}e:for(ae=null,ce=i;;){if(ce.tag===5){if(ae===null){ae=ce;try{y=ce.stateNode,q?(w=y.style,typeof w.setProperty=="function"?w.setProperty("display","none","important"):w.display="none"):(_=ce.stateNode,D=ce.memoizedProps.style,S=D!=null&&D.hasOwnProperty("display")?D.display:null,_.style.display=Ss("display",S))}catch(_e){kt(i,i.return,_e)}}}else if(ce.tag===6){if(ae===null)try{ce.stateNode.nodeValue=q?"":ce.memoizedProps}catch(_e){kt(i,i.return,_e)}}else if((ce.tag!==22&&ce.tag!==23||ce.memoizedState===null||ce===i)&&ce.child!==null){ce.child.return=ce,ce=ce.child;continue}if(ce===i)break e;for(;ce.sibling===null;){if(ce.return===null||ce.return===i)break e;ae===ce&&(ae=null),ce=ce.return}ae===ce&&(ae=null),ce.sibling.return=ce.return,ce=ce.sibling}}break;case 19:xr(o,i),$r(i),h&4&&D0(i);break;case 21:break;default:xr(o,i),$r(i)}}function $r(i){var o=i.flags;if(o&2){try{e:{for(var u=i.return;u!==null;){if(R0(u)){var h=u;break e}u=u.return}throw Error(r(160))}switch(h.tag){case 5:var y=h.stateNode;h.flags&32&&(Gn(y,""),h.flags&=-33);var w=M0(i);eh(i,w,y);break;case 3:case 4:var S=h.stateNode.containerInfo,_=M0(i);Jf(i,_,S);break;default:throw Error(r(161))}}catch(D){kt(i,i.return,D)}i.flags&=-3}o&4096&&(i.flags&=-4097)}function dI(i,o,u){Te=i,V0(i)}function V0(i,o,u){for(var h=(i.mode&1)!==0;Te!==null;){var y=Te,w=y.child;if(y.tag===22&&h){var S=y.memoizedState!==null||xd;if(!S){var _=y.alternate,D=_!==null&&_.memoizedState!==null||cn;_=xd;var q=cn;if(xd=S,(cn=D)&&!q)for(Te=y;Te!==null;)S=Te,D=S.child,S.tag===22&&S.memoizedState!==null?B0(y):D!==null?(D.return=S,Te=D):B0(y);for(;w!==null;)Te=w,V0(w),w=w.sibling;Te=y,xd=_,cn=q}F0(i)}else(y.subtreeFlags&8772)!==0&&w!==null?(w.return=y,Te=w):F0(i)}}function F0(i){for(;Te!==null;){var o=Te;if((o.flags&8772)!==0){var u=o.alternate;try{if((o.flags&8772)!==0)switch(o.tag){case 0:case 11:case 15:cn||vd(5,o);break;case 1:var h=o.stateNode;if(o.flags&4&&!cn)if(u===null)h.componentDidMount();else{var y=o.elementType===o.type?u.memoizedProps:pr(o.type,u.memoizedProps);h.componentDidUpdate(y,u.memoizedState,h.__reactInternalSnapshotBeforeUpdate)}var w=o.updateQueue;w!==null&&$y(o,w,h);break;case 3:var S=o.updateQueue;if(S!==null){if(u=null,o.child!==null)switch(o.child.tag){case 5:u=o.child.stateNode;break;case 1:u=o.child.stateNode}$y(o,S,u)}break;case 5:var _=o.stateNode;if(u===null&&o.flags&4){u=_;var D=o.memoizedProps;switch(o.type){case"button":case"input":case"select":case"textarea":D.autoFocus&&u.focus();break;case"img":D.src&&(u.src=D.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(o.memoizedState===null){var q=o.alternate;if(q!==null){var ae=q.memoizedState;if(ae!==null){var ce=ae.dehydrated;ce!==null&&Po(ce)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(r(163))}cn||o.flags&512&&Xf(o)}catch(se){kt(o,o.return,se)}}if(o===i){Te=null;break}if(u=o.sibling,u!==null){u.return=o.return,Te=u;break}Te=o.return}}function $0(i){for(;Te!==null;){var o=Te;if(o===i){Te=null;break}var u=o.sibling;if(u!==null){u.return=o.return,Te=u;break}Te=o.return}}function B0(i){for(;Te!==null;){var o=Te;try{switch(o.tag){case 0:case 11:case 15:var u=o.return;try{vd(4,o)}catch(D){kt(o,u,D)}break;case 1:var h=o.stateNode;if(typeof h.componentDidMount=="function"){var y=o.return;try{h.componentDidMount()}catch(D){kt(o,y,D)}}var w=o.return;try{Xf(o)}catch(D){kt(o,w,D)}break;case 5:var S=o.return;try{Xf(o)}catch(D){kt(o,S,D)}}}catch(D){kt(o,o.return,D)}if(o===i){Te=null;break}var _=o.sibling;if(_!==null){_.return=o.return,Te=_;break}Te=o.return}}var uI=Math.ceil,yd=P.ReactCurrentDispatcher,th=P.ReactCurrentOwner,er=P.ReactCurrentBatchConfig,et=0,Ht=null,Dt=null,Jt=0,zn=0,ja=Ms(0),Ft=0,el=null,Ei=0,bd=0,nh=0,tl=null,Pn=null,rh=0,Na=1/0,os=null,wd=!1,sh=null,$s=null,jd=!1,Bs=null,Nd=0,nl=0,ih=null,Cd=-1,Sd=0;function bn(){return(et&6)!==0?Tt():Cd!==-1?Cd:Cd=Tt()}function zs(i){return(i.mode&1)===0?1:(et&2)!==0&&Jt!==0?Jt&-Jt:GT.transition!==null?(Sd===0&&(Sd=Mv()),Sd):(i=ct,i!==0||(i=window.event,i=i===void 0?16:Hv(i.type)),i)}function vr(i,o,u,h){if(50<nl)throw nl=0,ih=null,Error(r(185));ko(i,u,h),((et&2)===0||i!==Ht)&&(i===Ht&&((et&2)===0&&(bd|=u),Ft===4&&Hs(i,Jt)),_n(i,h),u===1&&et===0&&(o.mode&1)===0&&(Na=Tt()+500,Jc&&Ds()))}function _n(i,o){var u=i.callbackNode;GE(i,o);var h=Mc(i,i===Ht?Jt:0);if(h===0)u!==null&&Pv(u),i.callbackNode=null,i.callbackPriority=0;else if(o=h&-h,i.callbackPriority!==o){if(u!=null&&Pv(u),o===1)i.tag===0?KT(H0.bind(null,i)):Ey(H0.bind(null,i)),HT(function(){(et&6)===0&&Ds()}),u=null;else{switch(Ov(h)){case 1:u=Lm;break;case 4:u=_v;break;case 16:u=Ic;break;case 536870912:u=Rv;break;default:u=Ic}u=Q0(u,z0.bind(null,i))}i.callbackPriority=o,i.callbackNode=u}}function z0(i,o){if(Cd=-1,Sd=0,(et&6)!==0)throw Error(r(327));var u=i.callbackNode;if(Ca()&&i.callbackNode!==u)return null;var h=Mc(i,i===Ht?Jt:0);if(h===0)return null;if((h&30)!==0||(h&i.expiredLanes)!==0||o)o=kd(i,h);else{o=h;var y=et;et|=2;var w=W0();(Ht!==i||Jt!==o)&&(os=null,Na=Tt()+500,Ii(i,o));do try{hI();break}catch(_){U0(i,_)}while(!0);Nf(),yd.current=w,et=y,Dt!==null?o=0:(Ht=null,Jt=0,o=Ft)}if(o!==0){if(o===2&&(y=Vm(i),y!==0&&(h=y,o=ah(i,y))),o===1)throw u=el,Ii(i,0),Hs(i,h),_n(i,Tt()),u;if(o===6)Hs(i,h);else{if(y=i.current.alternate,(h&30)===0&&!mI(y)&&(o=kd(i,h),o===2&&(w=Vm(i),w!==0&&(h=w,o=ah(i,w))),o===1))throw u=el,Ii(i,0),Hs(i,h),_n(i,Tt()),u;switch(i.finishedWork=y,i.finishedLanes=h,o){case 0:case 1:throw Error(r(345));case 2:Pi(i,Pn,os);break;case 3:if(Hs(i,h),(h&130023424)===h&&(o=rh+500-Tt(),10<o)){if(Mc(i,0)!==0)break;if(y=i.suspendedLanes,(y&h)!==h){bn(),i.pingedLanes|=i.suspendedLanes&y;break}i.timeoutHandle=mf(Pi.bind(null,i,Pn,os),o);break}Pi(i,Pn,os);break;case 4:if(Hs(i,h),(h&4194240)===h)break;for(o=i.eventTimes,y=-1;0<h;){var S=31-mr(h);w=1<<S,S=o[S],S>y&&(y=S),h&=~w}if(h=y,h=Tt()-h,h=(120>h?120:480>h?480:1080>h?1080:1920>h?1920:3e3>h?3e3:4320>h?4320:1960*uI(h/1960))-h,10<h){i.timeoutHandle=mf(Pi.bind(null,i,Pn,os),h);break}Pi(i,Pn,os);break;case 5:Pi(i,Pn,os);break;default:throw Error(r(329))}}}return _n(i,Tt()),i.callbackNode===u?z0.bind(null,i):null}function ah(i,o){var u=tl;return i.current.memoizedState.isDehydrated&&(Ii(i,o).flags|=256),i=kd(i,o),i!==2&&(o=Pn,Pn=u,o!==null&&oh(o)),i}function oh(i){Pn===null?Pn=i:Pn.push.apply(Pn,i)}function mI(i){for(var o=i;;){if(o.flags&16384){var u=o.updateQueue;if(u!==null&&(u=u.stores,u!==null))for(var h=0;h<u.length;h++){var y=u[h],w=y.getSnapshot;y=y.value;try{if(!fr(w(),y))return!1}catch{return!1}}}if(u=o.child,o.subtreeFlags&16384&&u!==null)u.return=o,o=u;else{if(o===i)break;for(;o.sibling===null;){if(o.return===null||o.return===i)return!0;o=o.return}o.sibling.return=o.return,o=o.sibling}}return!0}function Hs(i,o){for(o&=~nh,o&=~bd,i.suspendedLanes|=o,i.pingedLanes&=~o,i=i.expirationTimes;0<o;){var u=31-mr(o),h=1<<u;i[u]=-1,o&=~h}}function H0(i){if((et&6)!==0)throw Error(r(327));Ca();var o=Mc(i,0);if((o&1)===0)return _n(i,Tt()),null;var u=kd(i,o);if(i.tag!==0&&u===2){var h=Vm(i);h!==0&&(o=h,u=ah(i,h))}if(u===1)throw u=el,Ii(i,0),Hs(i,o),_n(i,Tt()),u;if(u===6)throw Error(r(345));return i.finishedWork=i.current.alternate,i.finishedLanes=o,Pi(i,Pn,os),_n(i,Tt()),null}function lh(i,o){var u=et;et|=1;try{return i(o)}finally{et=u,et===0&&(Na=Tt()+500,Jc&&Ds())}}function Ti(i){Bs!==null&&Bs.tag===0&&(et&6)===0&&Ca();var o=et;et|=1;var u=er.transition,h=ct;try{if(er.transition=null,ct=1,i)return i()}finally{ct=h,er.transition=u,et=o,(et&6)===0&&Ds()}}function ch(){zn=ja.current,vt(ja)}function Ii(i,o){i.finishedWork=null,i.finishedLanes=0;var u=i.timeoutHandle;if(u!==-1&&(i.timeoutHandle=-1,zT(u)),Dt!==null)for(u=Dt.return;u!==null;){var h=u;switch(vf(h),h.tag){case 1:h=h.type.childContextTypes,h!=null&&Qc();break;case 3:ya(),vt(En),vt(an),Pf();break;case 5:Tf(h);break;case 4:ya();break;case 13:vt(wt);break;case 19:vt(wt);break;case 10:Cf(h.type._context);break;case 22:case 23:ch()}u=u.return}if(Ht=i,Dt=i=Us(i.current,null),Jt=zn=o,Ft=0,el=null,nh=bd=Ei=0,Pn=tl=null,Si!==null){for(o=0;o<Si.length;o++)if(u=Si[o],h=u.interleaved,h!==null){u.interleaved=null;var y=h.next,w=u.pending;if(w!==null){var S=w.next;w.next=y,h.next=S}u.pending=h}Si=null}return i}function U0(i,o){do{var u=Dt;try{if(Nf(),cd.current=fd,dd){for(var h=jt.memoizedState;h!==null;){var y=h.queue;y!==null&&(y.pending=null),h=h.next}dd=!1}if(Ai=0,zt=Vt=jt=null,Go=!1,Yo=0,th.current=null,u===null||u.return===null){Ft=1,el=o,Dt=null;break}e:{var w=i,S=u.return,_=u,D=o;if(o=Jt,_.flags|=32768,D!==null&&typeof D=="object"&&typeof D.then=="function"){var q=D,ae=_,ce=ae.tag;if((ae.mode&1)===0&&(ce===0||ce===11||ce===15)){var se=ae.alternate;se?(ae.updateQueue=se.updateQueue,ae.memoizedState=se.memoizedState,ae.lanes=se.lanes):(ae.updateQueue=null,ae.memoizedState=null)}var Ce=p0(S);if(Ce!==null){Ce.flags&=-257,g0(Ce,S,_,w,o),Ce.mode&1&&h0(w,q,o),o=Ce,D=q;var Pe=o.updateQueue;if(Pe===null){var _e=new Set;_e.add(D),o.updateQueue=_e}else Pe.add(D);break e}else{if((o&1)===0){h0(w,q,o),dh();break e}D=Error(r(426))}}else if(bt&&_.mode&1){var It=p0(S);if(It!==null){(It.flags&65536)===0&&(It.flags|=256),g0(It,S,_,w,o),wf(ba(D,_));break e}}w=D=ba(D,_),Ft!==4&&(Ft=2),tl===null?tl=[w]:tl.push(w),w=S;do{switch(w.tag){case 3:w.flags|=65536,o&=-o,w.lanes|=o;var B=m0(w,D,o);Fy(w,B);break e;case 1:_=D;var V=w.type,U=w.stateNode;if((w.flags&128)===0&&(typeof V.getDerivedStateFromError=="function"||U!==null&&typeof U.componentDidCatch=="function"&&($s===null||!$s.has(U)))){w.flags|=65536,o&=-o,w.lanes|=o;var pe=f0(w,_,o);Fy(w,pe);break e}}w=w.return}while(w!==null)}K0(u)}catch(Re){o=Re,Dt===u&&u!==null&&(Dt=u=u.return);continue}break}while(!0)}function W0(){var i=yd.current;return yd.current=fd,i===null?fd:i}function dh(){(Ft===0||Ft===3||Ft===2)&&(Ft=4),Ht===null||(Ei&268435455)===0&&(bd&268435455)===0||Hs(Ht,Jt)}function kd(i,o){var u=et;et|=2;var h=W0();(Ht!==i||Jt!==o)&&(os=null,Ii(i,o));do try{fI();break}catch(y){U0(i,y)}while(!0);if(Nf(),et=u,yd.current=h,Dt!==null)throw Error(r(261));return Ht=null,Jt=0,Ft}function fI(){for(;Dt!==null;)q0(Dt)}function hI(){for(;Dt!==null&&!FE();)q0(Dt)}function q0(i){var o=Z0(i.alternate,i,zn);i.memoizedProps=i.pendingProps,o===null?K0(i):Dt=o,th.current=null}function K0(i){var o=i;do{var u=o.alternate;if(i=o.return,(o.flags&32768)===0){if(u=aI(u,o,zn),u!==null){Dt=u;return}}else{if(u=oI(u,o),u!==null){u.flags&=32767,Dt=u;return}
vendor: 7,860 bytes, line 8
8if(i!==null)i.flags|=32768,i.subtreeFlags=0,i.deletions=null;else{Ft=6,Dt=null;return}}if(o=o.sibling,o!==null){Dt=o;return}Dt=o=i}while(o!==null);Ft===0&&(Ft=5)}function Pi(i,o,u){var h=ct,y=er.transition;try{er.transition=null,ct=1,pI(i,o,u,h)}finally{er.transition=y,ct=h}return null}function pI(i,o,u,h){do Ca();while(Bs!==null);if((et&6)!==0)throw Error(r(327));u=i.finishedWork;var y=i.finishedLanes;if(u===null)return null;if(i.finishedWork=null,i.finishedLanes=0,u===i.current)throw Error(r(177));i.callbackNode=null,i.callbackPriority=0;var w=u.lanes|u.childLanes;if(YE(i,w),i===Ht&&(Dt=Ht=null,Jt=0),(u.subtreeFlags&2064)===0&&(u.flags&2064)===0||jd||(jd=!0,Q0(Ic,function(){return Ca(),null})),w=(u.flags&15990)!==0,(u.subtreeFlags&15990)!==0||w){w=er.transition,er.transition=null;var S=ct;ct=1;var _=et;et|=4,th.current=null,cI(i,u),L0(u,i),OT(df),Lc=!!cf,df=cf=null,i.current=u,dI(u),$E(),et=_,ct=S,er.transition=w}else i.current=u;if(jd&&(jd=!1,Bs=i,Nd=y),w=i.pendingLanes,w===0&&($s=null),HE(u.stateNode),_n(i,Tt()),o!==null)for(h=i.onRecoverableError,u=0;u<o.length;u++)y=o[u],h(y.value,{componentStack:y.stack,digest:y.digest});if(wd)throw wd=!1,i=sh,sh=null,i;return(Nd&1)!==0&&i.tag!==0&&Ca(),w=i.pendingLanes,(w&1)!==0?i===ih?nl++:(nl=0,ih=i):nl=0,Ds(),null}function Ca(){if(Bs!==null){var i=Ov(Nd),o=er.transition,u=ct;try{if(er.transition=null,ct=16>i?16:i,Bs===null)var h=!1;else{if(i=Bs,Bs=null,Nd=0,(et&6)!==0)throw Error(r(331));var y=et;for(et|=4,Te=i.current;Te!==null;){var w=Te,S=w.child;if((Te.flags&16)!==0){var _=w.deletions;if(_!==null){for(var D=0;D<_.length;D++){var q=_[D];for(Te=q;Te!==null;){var ae=Te;switch(ae.tag){case 0:case 11:case 15:Jo(8,ae,w)}var ce=ae.child;if(ce!==null)ce.return=ae,Te=ce;else for(;Te!==null;){ae=Te;var se=ae.sibling,Ce=ae.return;if(_0(ae),ae===q){Te=null;break}if(se!==null){se.return=Ce,Te=se;break}Te=Ce}}}var Pe=w.alternate;if(Pe!==null){var _e=Pe.child;if(_e!==null){Pe.child=null;do{var It=_e.sibling;_e.sibling=null,_e=It}while(_e!==null)}}Te=w}}if((w.subtreeFlags&2064)!==0&&S!==null)S.return=w,Te=S;else e:for(;Te!==null;){if(w=Te,(w.flags&2048)!==0)switch(w.tag){case 0:case 11:case 15:Jo(9,w,w.return)}var B=w.sibling;if(B!==null){B.return=w.return,Te=B;break e}Te=w.return}}var V=i.current;for(Te=V;Te!==null;){S=Te;var U=S.child;if((S.subtreeFlags&2064)!==0&&U!==null)U.return=S,Te=U;else e:for(S=V;Te!==null;){if(_=Te,(_.flags&2048)!==0)try{switch(_.tag){case 0:case 11:case 15:vd(9,_)}}catch(Re){kt(_,_.return,Re)}if(_===S){Te=null;break e}var pe=_.sibling;if(pe!==null){pe.return=_.return,Te=pe;break e}Te=_.return}}if(et=y,Ds(),Dr&&typeof Dr.onPostCommitFiberRoot=="function")try{Dr.onPostCommitFiberRoot(Pc,i)}catch{}h=!0}return h}finally{ct=u,er.transition=o}}return!1}function G0(i,o,u){o=ba(u,o),o=m0(i,o,1),i=Vs(i,o,1),o=bn(),i!==null&&(ko(i,1,o),_n(i,o))}function kt(i,o,u){if(i.tag===3)G0(i,i,u);else for(;o!==null;){if(o.tag===3){G0(o,i,u);break}else if(o.tag===1){var h=o.stateNode;if(typeof o.type.getDerivedStateFromError=="function"||typeof h.componentDidCatch=="function"&&($s===null||!$s.has(h))){i=ba(u,i),i=f0(o,i,1),o=Vs(o,i,1),i=bn(),o!==null&&(ko(o,1,i),_n(o,i));break}}o=o.return}}function gI(i,o,u){var h=i.pingCache;h!==null&&h.delete(o),o=bn(),i.pingedLanes|=i.suspendedLanes&u,Ht===i&&(Jt&u)===u&&(Ft===4||Ft===3&&(Jt&130023424)===Jt&&500>Tt()-rh?Ii(i,0):nh|=u),_n(i,o)}function Y0(i,o){o===0&&((i.mode&1)===0?o=1:(o=Rc,Rc<<=1,(Rc&130023424)===0&&(Rc=4194304)));var u=bn();i=ss(i,o),i!==null&&(ko(i,o,u),_n(i,u))}function xI(i){var o=i.memoizedState,u=0;o!==null&&(u=o.retryLane),Y0(i,u)}function vI(i,o){var u=0;switch(i.tag){case 13:var h=i.stateNode,y=i.memoizedState;y!==null&&(u=y.retryLane);break;case 19:h=i.stateNode;break;default:throw Error(r(314))}h!==null&&h.delete(o),Y0(i,u)}var Z0;Z0=function(i,o,u){if(i!==null)if(i.memoizedProps!==o.pendingProps||En.current)In=!0;else{if((i.lanes&u)===0&&(o.flags&128)===0)return In=!1,iI(i,o,u);In=(i.flags&131072)!==0}else In=!1,bt&&(o.flags&1048576)!==0&&Ty(o,td,o.index);switch(o.lanes=0,o.tag){case 2:var h=o.type;gd(i,o),i=o.pendingProps;var y=ma(o,an.current);va(o,u),y=Mf(null,o,h,i,y,u);var w=Of();return o.flags|=1,typeof y=="object"&&y!==null&&typeof y.render=="function"&&y.$$typeof===void 0?(o.tag=1,o.memoizedState=null,o.updateQueue=null,Tn(h)?(w=!0,Xc(o)):w=!1,o.memoizedState=y.state!==null&&y.state!==void 0?y.state:null,Af(o),y.updater=hd,o.stateNode=y,y._reactInternals=o,Bf(o,h,i,u),o=Wf(null,o,h,!0,w,u)):(o.tag=0,bt&&w&&xf(o),yn(null,o,y,u),o=o.child),o;case 16:h=o.elementType;e:{switch(gd(i,o),i=o.pendingProps,y=h._init,h=y(h._payload),o.type=h,y=o.tag=bI(h),i=pr(h,i),y){case 0:o=Uf(null,o,h,i,u);break e;case 1:o=j0(null,o,h,i,u);break e;case 11:o=x0(null,o,h,i,u);break e;case 14:o=v0(null,o,h,pr(h.type,i),u);break e}throw Error(r(306,h,""))}return o;case 0:return h=o.type,y=o.pendingProps,y=o.elementType===h?y:pr(h,y),Uf(i,o,h,y,u);case 1:return h=o.type,y=o.pendingProps,y=o.elementType===h?y:pr(h,y),j0(i,o,h,y,u);case 3:e:{if(N0(o),i===null)throw Error(r(387));h=o.pendingProps,w=o.memoizedState,y=w.element,Vy(i,o),od(o,h,null,u);var S=o.memoizedState;if(h=S.element,w.isDehydrated)if(w={element:h,isDehydrated:!1,cache:S.cache,pendingSuspenseBoundaries:S.pendingSuspenseBoundaries,transitions:S.transitions},o.updateQueue.baseState=w,o.memoizedState=w,o.flags&256){y=ba(Error(r(423)),o),o=C0(i,o,h,u,y);break e}else if(h!==y){y=ba(Error(r(424)),o),o=C0(i,o,h,u,y);break e}else for(Bn=Rs(o.stateNode.containerInfo.firstChild),$n=o,bt=!0,hr=null,u=Dy(o,null,h,u),o.child=u;u;)u.flags=u.flags&-3|4096,u=u.sibling;else{if(pa(),h===y){o=as(i,o,u);break e}yn(i,o,h,u)}o=o.child}return o;case 5:return By(o),i===null&&bf(o),h=o.type,y=o.pendingProps,w=i!==null?i.memoizedProps:null,S=y.children,uf(h,y)?S=null:w!==null&&uf(h,w)&&(o.flags|=32),w0(i,o),yn(i,o,S,u),o.child;case 6:return i===null&&bf(o),null;case 13:return S0(i,o,u);case 4:return Ef(o,o.stateNode.containerInfo),h=o.pendingProps,i===null?o.child=ga(o,null,h,u):yn(i,o,h,u),o.child;case 11:return h=o.type,y=o.pendingProps,y=o.elementType===h?y:pr(h,y),x0(i,o,h,y,u);case 7:return yn(i,o,o.pendingProps,u),o.child;case 8:return yn(i,o,o.pendingProps.children,u),o.child;case 12:return yn(i,o,o.pendingProps.children,u),o.child;case 10:e:{if(h=o.type._context,y=o.pendingProps,w=o.memoizedProps,S=y.value,pt(sd,h._currentValue),h._currentValue=S,w!==null)if(fr(w.value,S)){if(w.children===y.children&&!En.current){o=as(i,o,u);break e}}else for(w=o.child,w!==null&&(w.return=o);w!==null;){var _=w.dependencies;if(_!==null){S=w.child;for(var D=_.firstContext;D!==null;){if(D.context===h){if(w.tag===1){D=is(-1,u&-u),D.tag=2;var q=w.updateQueue;if(q!==null){q=q.shared;var ae=q.pending;ae===null?D.next=D:(D.next=ae.next,ae.next=D),q.pending=D}}w.lanes|=u,D=w.alternate,D!==null&&(D.lanes|=u),Sf(w.return,u,o),_.lanes|=u;break}D=D.next}}else if(w.tag===10)S=w.type===o.type?null:w.child;else if(w.tag===18){if(S=w.return,S===null)throw Error(r(341));S.lanes|=u,_=S.alternate,_!==null&&(_.lanes|=u),Sf(S,u,o),S=w.sibling}else S=w.child;if(S!==null)S.return=w;else for(S=w;S!==null;){if(S===o){S=null;break}if(w=S.sibling,w!==null){w.return=S.return,S=w;break}S=S.return}w=S}yn(i,o,y.children,u),o=o.child}return o;case 9:return y=o.type,h=o.pendingProps.children,va(o,u),y=Xn(y),h=h(y),o.flags|=1,yn(i,o,h,u),o.child;case 14:return h=o.type,y=pr(h,o.pendingProps),y=pr(h.type,y),v0(i,o,h,y,u);case 15:return y0(i,o,o.type,o.pendingProps,u);case 17:return h=o.type,y=o.pendingProps,y=o.elementType===h?y:pr(h,y),gd(i,o),o.tag=1,Tn(h)?(i=!0,Xc(o)):i=!1,va(o,u),d0(o,h,y),Bf(o,h,y,u),Wf(null,o,h,!0,i,u);case 19:return A0(i,o,u);case 22:return b0(i,o,u)}throw Error(r(156,o.tag))};function Q0(i,o){return Iv(i,o)}function yI(i,o,u,h){this.tag=i,this.key=u,this.sibling=this.child=this.return=this.stateNode=this.t
vendor: 2,815 bytes, line 8
8ype=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=o,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=h,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function tr(i,o,u,h){return new yI(i,o,u,h)}function uh(i){return i=i.prototype,!(!i||!i.isReactComponent)}function bI(i){if(typeof i=="function")return uh(i)?1:0;if(i!=null){if(i=i.$$typeof,i===Q)return 11;if(i===be)return 14}return 2}function Us(i,o){var u=i.alternate;return u===null?(u=tr(i.tag,o,i.key,i.mode),u.elementType=i.elementType,u.type=i.type,u.stateNode=i.stateNode,u.alternate=i,i.alternate=u):(u.pendingProps=o,u.type=i.type,u.flags=0,u.subtreeFlags=0,u.deletions=null),u.flags=i.flags&14680064,u.childLanes=i.childLanes,u.lanes=i.lanes,u.child=i.child,u.memoizedProps=i.memoizedProps,u.memoizedState=i.memoizedState,u.updateQueue=i.updateQueue,o=i.dependencies,u.dependencies=o===null?null:{lanes:o.lanes,firstContext:o.firstContext},u.sibling=i.sibling,u.index=i.index,u.ref=i.ref,u}function Ad(i,o,u,h,y,w){var S=2;if(h=i,typeof i=="function")uh(i)&&(S=1);else if(typeof i=="string")S=5;else e:switch(i){case $:return _i(u.children,y,w,o);case z:S=8,y|=8;break;case Y:return i=tr(12,u,o,y|2),i.elementType=Y,i.lanes=w,i;case de:return i=tr(13,u,o,y),i.elementType=de,i.lanes=w,i;case J:return i=tr(19,u,o,y),i.elementType=J,i.lanes=w,i;case W:return Ed(u,y,w,o);default:if(typeof i=="object"&&i!==null)switch(i.$$typeof){case ee:S=10;break e;case ge:S=9;break e;case Q:S=11;break e;case be:S=14;break e;case me:S=16,h=null;break e}throw Error(r(130,i==null?i:typeof i,""))}return o=tr(S,u,o,y),o.elementType=i,o.type=h,o.lanes=w,o}function _i(i,o,u,h){return i=tr(7,i,h,o),i.lanes=u,i}function Ed(i,o,u,h){return i=tr(22,i,h,o),i.elementType=W,i.lanes=u,i.stateNode={isHidden:!1},i}function mh(i,o,u){return i=tr(6,i,null,o),i.lanes=u,i}function fh(i,o,u){return o=tr(4,i.children!==null?i.children:[],i.key,o),o.lanes=u,o.stateNode={containerInfo:i.containerInfo,pendingChildren:null,implementation:i.implementation},o}function wI(i,o,u,h,y){this.tag=o,this.containerInfo=i,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Fm(0),this.expirationTimes=Fm(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Fm(0),this.identifierPrefix=h,this.onRecoverableError=y,this.mutableSourceEagerHydrationData=null}function hh(i,o,u,h,y,w,S,_,D){return i=new wI(i,o,u,_,D),o===1?(o=1,w===!0&&(o|=8)):o=0,w=tr(3,null,null,o),i.current=w,w.stateNode=i,w.memoizedState={element:h,isDehydrated:u,cac
vendor: 4,688 bytes, line 8
8he:null,transitions:null,pendingSuspenseBoundaries:null},Af(w),i}function jI(i,o,u){var h=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:L,key:h==null?null:""+h,children:i,containerInfo:o,implementation:u}}function X0(i){if(!i)return Os;i=i._reactInternals;e:{if(bi(i)!==i||i.tag!==1)throw Error(r(170));var o=i;do{switch(o.tag){case 3:o=o.stateNode.context;break e;case 1:if(Tn(o.type)){o=o.stateNode.__reactInternalMemoizedMergedChildContext;break e}}o=o.return}while(o!==null);throw Error(r(171))}if(i.tag===1){var u=i.type;if(Tn(u))return ky(i,u,o)}return o}function J0(i,o,u,h,y,w,S,_,D){return i=hh(u,h,!0,i,y,w,S,_,D),i.context=X0(null),u=i.current,h=bn(),y=zs(u),w=is(h,y),w.callback=o??null,Vs(u,w,y),i.current.lanes=y,ko(i,y,h),_n(i,h),i}function Td(i,o,u,h){var y=o.current,w=bn(),S=zs(y);return u=X0(u),o.context===null?o.context=u:o.pendingContext=u,o=is(w,S),o.payload={element:i},h=h===void 0?null:h,h!==null&&(o.callback=h),i=Vs(y,o,S),i!==null&&(vr(i,y,S,w),ad(i,y,S)),S}function Id(i){return i=i.current,i.child?(i.child.tag===5,i.child.stateNode):null}function eb(i,o){if(i=i.memoizedState,i!==null&&i.dehydrated!==null){var u=i.retryLane;i.retryLane=u!==0&&u<o?u:o}}function ph(i,o){eb(i,o),(i=i.alternate)&&eb(i,o)}function NI(){return null}var tb=typeof reportError=="function"?reportError:function(i){console.error(i)};function gh(i){this._internalRoot=i}Pd.prototype.render=gh.prototype.render=function(i){var o=this._internalRoot;if(o===null)throw Error(r(409));Td(i,o,null,null)},Pd.prototype.unmount=gh.prototype.unmount=function(){var i=this._internalRoot;if(i!==null){this._internalRoot=null;var o=i.containerInfo;Ti(function(){Td(null,i,null,null)}),o[es]=null}};function Pd(i){this._internalRoot=i}Pd.prototype.unstable_scheduleHydration=function(i){if(i){var o=Vv();i={blockedOn:null,target:i,priority:o};for(var u=0;u<Is.length&&o!==0&&o<Is[u].priority;u++);Is.splice(u,0,i),u===0&&Bv(i)}};function xh(i){return!(!i||i.nodeType!==1&&i.nodeType!==9&&i.nodeType!==11)}function _d(i){return!(!i||i.nodeType!==1&&i.nodeType!==9&&i.nodeType!==11&&(i.nodeType!==8||i.nodeValue!==" react-mount-point-unstable "))}function nb(){}function CI(i,o,u,h,y){if(y){if(typeof h=="function"){var w=h;h=function(){var q=Id(S);w.call(q)}}var S=J0(o,h,i,0,null,!1,!1,"",nb);return i._reactRootContainer=S,i[es]=S.current,$o(i.nodeType===8?i.parentNode:i),Ti(),S}for(;y=i.lastChild;)i.removeChild(y);if(typeof h=="function"){var _=h;h=function(){var q=Id(D);_.call(q)}}var D=hh(i,0,!1,null,null,!1,!1,"",nb);return i._reactRootContainer=D,i[es]=D.current,$o(i.nodeType===8?i.parentNode:i),Ti(function(){Td(o,D,u,h)}),D}function Rd(i,o,u,h,y){var w=u._reactRootContainer;if(w){var S=w;if(typeof y=="function"){var _=y;y=function(){var D=Id(S);_.call(D)}}Td(o,S,i,y)}else S=CI(u,o,i,y,h);return Id(S)}Dv=function(i){switch(i.tag){case 3:var o=i.stateNode;if(o.current.memoizedState.isDehydrated){var u=So(o.pendingLanes);u!==0&&($m(o,u|1),_n(o,Tt()),(et&6)===0&&(Na=Tt()+500,Ds()))}break;case 13:Ti(function(){var h=ss(i,1);if(h!==null){var y=bn();vr(h,i,1,y)}}),ph(i,1)}},Bm=function(i){if(i.tag===13){var o=ss(i,134217728);if(o!==null){var u=bn();vr(o,i,134217728,u)}ph(i,134217728)}},Lv=function(i){if(i.tag===13){var o=zs(i),u=ss(i,o);if(u!==null){var h=bn();vr(u,i,o,h)}ph(i,o)}},Vv=function(){return ct},Fv=function(i,o){var u=ct;try{return ct=i,o()}finally{ct=u}},rt=function(i,o,u){switch(o){case"input":if(Or(i,u),o=u.name,u.type==="radio"&&o!=null){for(u=i;u.parentNode;)u=u.parentNode;for(u=u.querySelectorAll("input[name="+JSON.stringify(""+o)+'][type="radio"]'),o=0;o<u.length;o++){var h=u[o];if(h!==i&&h.form===i.form){var y=Zc(h);if(!y)throw Error(r(90));at(h),Or(h,y)}}}break;case"textarea":De(i,u);break;case"select":o=u.value,o!=null&&we(i,!!u.multiple,o,!1)}},Nv=lh,Cv=Ti;var SI={usingClientEntryPoint:!1,Events:[Ho,da,Zc,Ac,jv,lh]},rl={findFiberByHostInstance:wi,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},kI={bundleType:rl.bundleType,version:rl.version,rendererPackageName:rl.rendererPackageName,rendererConfig:rl.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:P.ReactCurrentDispatcher,findHostInstanceByFiber:function(i){return i=Ev(i),i===null?null:i.stateNode},findFiberByHostInstance:rl.findFiberByHostInstance||NI,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};
8if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Md=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Md.isDisabled&&Md.supportsFiber)try{Pc=Md.inject(kI),Dr=Md}catch{}}return Rn.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=SI,Rn.createPortal=function(i,o){var u=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!xh(o))throw Error(r(200));return jI(i,o,null,u)},Rn.createRoot=function(i,o){if(!xh(i))throw Error(r(299));var u=!1,h="",y=tb;return o!=null&&(o.unstable_strictMode===!0&&(u=!0),o.identifierPrefix!==void 0&&(h=o.identifierPrefix),o.onRecoverableError!==void 0&&(y=o.onRecoverableError)),o=hh(i,1,!1,null,null,u,!1,h,y),i[es]=o.current,$o(i.nodeType===8?i.parentNode:i),new gh(o)},Rn.findDOMNode=function(i){if(i==null)return null;if(i.nodeType===1)return i;var o=i._reactInternals;if(o===void 0)throw typeof i.render=="function"?Error(r(188)):(i=Object.keys(i).join(","),Error(r(268,i)));return i=Ev(o),i=i===null?null:i.stateNode,i},Rn.flushSync=function(i){return Ti(i)},Rn.hydrate=function(i,o,u){if(!_d(o))throw Error(r(200));return Rd(null,i,o,!0,u)},Rn.hydrateRoot=function(i,o,u){if(!xh(i))throw Error(r(405));var h=u!=null&&u.hydratedSources||null,y=!1,w="",S=tb;if(u!=null&&(u.unstable_strictMode===!0&&(y=!0),u.identifierPrefix!==void 0&&(w=u.identifierPrefix),u.onRecoverableError!==void 0&&(S=u.onRecoverableError)),o=J0(o,null,i,1,u??null,y,!1,w,S),i[es]=o.current,$o(i),h)for(i=0;i<h.length;i++)u=h[i],y=u._getVersion,y=y(u._source),o.mutableSourceEagerHydrationData==null?o.mutableSourceEagerHydrationData=[u,y]:o.mutableSourceEagerHydrationData.push(u,y);return new Pd(o)},Rn.render=function(i,o,u){if(!_d(o))throw Error(r(200));return Rd(null,i,o,!1,u)},Rn.unmountComponentAtNode=function(i){if(!_d(i))throw Error(r(40));return i._reactRootContainer?(Ti(function(){Rd(null,null,i,!1,function(){i._reactRootContainer=null,i[es]=null})}),!0):!1},Rn.unstable_batchedUpdates=lh,Rn.unstable_renderSubtreeIntoContainer=function(i,o,u,h){if(!_d(u))throw Error(r(200));if(i==null||i._reactInternals===void 0)throw Error(r(38));return Rd(i,o,u,!1,h)},Rn.version="18.3.1-next-f1338f8080-20240426",Rn}var db;function x1(){if(db)return bh.exports;db=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),bh.exports=MI(),bh.exports}var ub;function OI(){if(ub)return Od;ub=1;var e=x1();return Od.createRoot=e.createRoot,Od.hydrateRoot=e.hydrateRoot,Od}var DI=OI(),g=Sg();const G=oc(g),kg=EI({__proto__:null,default:G},[g]),LI=1,VI=1e6;let Nh=0;function FI(){return Nh=(Nh+1)%Number.MAX_SAFE_INTEGER,Nh.toString()}const Ch=new Map,mb=e=>{if(Ch.has(e))return;const t=setTimeout(()=>{Ch.delete(e),bl({type:"REMOVE_TOAST",toastId:e})},VI);Ch.set(e,t)},$I=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,LI)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(r=>r.id===t.toast.id?{...r,...t.toast}:r)};case"DISMISS_TOAST":{const{toastId:r}=t;return r?mb(r):e.toasts.forEach(s=>{mb(s.id)}),{...e,toasts:e.toasts.map(s=>
8s.id===r||r===void 0?{...s,open:!1}:s)}}case"REMOVE_TOAST":return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(r=>r.id!==t.toastId)}}},tu=[];let nu={toasts:[]};function bl(e){nu=$I(nu,e),tu.forEach(t=>{t(nu)})}function BI({...e}){const t=FI(),r=a=>bl({type:"UPDATE_TOAST",toast:{...a,id:t}}),s=()=>bl({type:"DISMISS_TOAST",toastId:t});return bl({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:a=>{a||s()}}}),{id:t,dismiss:s,update:r}}function lc(){const[e,t]=g.useState(nu);return g.useEffect(()=>(tu.push(t),()=>{const r=tu.indexOf(t);r>-1&&tu.splice(r,1)}),[e]),{...e,toast:BI,dismiss:r=>bl({type:"DISMISS_TOAST",toastId:r})}}var hi=x1();const Ku=oc(hi);function Se(e,t,{checkForDefaultPrevented:r=!0}={}){return function(a){if(e?.(a),r===!1||!a.defaultPrevented)return t?.(a)}}function zI(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function Ag(...e){return t=>e.forEach(r=>zI(r,t))}function Ze(...e){return g.useCallback(Ag(...e),e)}function HI(e,t=[]){let r=[];function s(l,c){const d=g.createContext(c),m=r.length;r=[...r,c];function f(x){const{scope:v,children:b,...N}=x,j=v?.[e][m]||d,C=g.useMemo(()=>N,Object.values(N));return n.jsx(j.Provider,{value:C,children:b})}function p(x,v){const b=v?.[e][m]||d,N=g.useContext(b);if(N)return N;if(c!==void 0)return c;throw new Error(`\`${x}\` must be used within \`${l}\``)}return f.displayName=l+"Provider",[f,p]}const a=()=>{const l=r.map(c=>g.createContext(c));return function(d){const m=d?.[e]||l;return g.useMemo(()=>({[`__scope${e}`]:{...d,[e]:m}}),[d,m])}};return a.scopeName=e,[s,UI(a,...t)]}function UI(...e){const t=e[0];if(e.length===1)return t;const r=()=>{const s=e.map(a=>({useScope:a(),scopeName:a.scopeName}));return function(l){const c=s.reduce((d,{useScope:m,scopeName:f})=>{const x=m(l)[`__scope${f}`];return{...d,...x}},{});return g.useMemo(()=>({[`__scope${t.scopeName}`]:c}),[c])}};return r.scopeName=t.scopeName,r}var vs=g.forwardRef((e,t)=>{const{children:r,...s}=e,a=g.Children.toArray(r),l=a.find(WI);if(l){const c=l.props.children,d=a.map(m=>m===l?g.Children.count(c)>1?g.Children.only(null):g.isValidElement(c)?c.props.children:null:m);return n.jsx(xp,{...s,ref:t,children:g.isValidElement(c)?g.cloneElement(c,void 0,d):null})}return n.jsx(xp,{...s,ref:t,children:r})});vs.displayName="Slot";var xp=g.forwardRef((e,t)=>{const{children:r,...s}=e;if(g.isValidElement(r)){const a=KI(r);return g.cloneElement(r,{...qI(s,r.props),ref:t?Ag(t,a):a})}return g.Children.count(r)>1?g.Children.only(null):null});xp.displayName="SlotClone";var v1=({children:e})=>n.jsx(n.Fragment,{children:e});function WI(e){return g.isValidElement(e)&&e.type===v1}function qI(e,t){const r={...t};for(const s in t){const a=e[s],l=t[s];/^on[A-Z]/.test(s)?a&&l?r[s]=(...d)=>{l(...d),a(...d)}:a&&(r[s]=a):s==="style"?r[s]={...a,...l}:s==="className"&&(r[s]=[a,l].filter(Boolean).join(" "))}return{...e,...r}}function KI(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}function cc(e){const t=e+"CollectionProvider",[r,s]=HI(t),[a,l]=r(t,{collectionRef:{current:null},itemMap:new Map}),c=b=>{const{scope:N,children:j}=b,C=G.useRef(null),k=G.useRef(new Map).current;return n.jsx(a,{scope:N,itemMap:k,collectionRef:C,children:j})};c.displayName=t;const d=e+"CollectionSlot",m=G.forwardRef((b,N)=>{const{scope:j,children:C}=b,k=l(d,j),A=Ze(N,k.collectionRef);return n.jsx(vs,{ref:A,children:C})});m.displayName=d;const f=e+"CollectionItemSlot",p="data-radix-collection-item",x=G.forwardRef((b,N)=>{const{scope:j,children:C,...k}=b,A=G.useRef(null),T=Ze(N,A),P=l(f,j);return G.useEffect(()=>(P.itemMap.set(A,{ref:A,...k}),()=>{P.itemMap.delete(A)})),n.jsx(vs,{[p]:"",ref:T,children:C})});x.displayName=f;function v(b){const N=l(e+"CollectionConsumer",b);return G.useCallback(()=>{const C=N.collectionRef.current;if(!C)return[];const k=Array.from(C.querySelectorAll(`[${p}]`));return Array.from(N.itemMap.values()).sort((P,I)=>k.indexOf(P.ref.current)-k.indexOf(I.ref.current))},[N.collectionRef,N.itemMap])}return[{Provider:c,Slot:m,ItemSlot:x},v,s]}function GI(e,t){const r=g.createContext(t),s=l=>{const{children:c,...d}=l,m=g.useMemo(()=>d,Object.values(d));return n.jsx(r.Provider,{value:m,children:c})};s.displayName=e+"Provider";function a(l){const c=g.useContext(r);if(c)return c;if(t!==void 0)return t;throw new Error(`\`${l}\` must be used within \`${e}\``)}return[s,a]}function Ns(e,t=[]){let r=[];function s(l,c){const d=g.createContext(c),m=r.length;r=[...r,c];const f=x=>{const{scope:v,children:b,...N}=x,j=v?.[e]?.[m]||d,C=g.useMemo(()=>N,Object.values(N));return n.jsx(j.Provider,{value:C,children:b})};f.displayName=l+"Provider";function p(x,v){const b=v?.[e]?.[m]||d,N=g.useContext(b);if(N)return N;if(c!==void 0)return c;throw new Error(`\`${x}\` must be used within \`${l}\``)}return[f,p]}const a=()=>{const l=r.map(c=>g.createContext(c));return function(d){const m=d?.[e]||l;return g.useMemo(()=>({[`__scope${e}`]:{...d,[e]:m}}),[d,m])}};return a.scopeName=e,[s,YI(a,...t)]}function YI(...e){const t=e[0];if(e.length===1)return t;const r=()=>{const s=e.map(a=>({useScope:a(),scopeName:a.scopeName}));return function(l){const c=s.reduce((d,{useScope:m,scopeName:f})=>{const x=m(l)[`__scope${f}`];return{...d,...x}},{});return g.useMemo(()=>({[`__scope${t.scopeName}`]:c}),[c])}};return r.scopeName=t.scopeName,r}var ZI=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],Le=ZI.reduce((e,t)=>
vendor: 6,612 bytes, line 8
8{const r=g.forwardRef((s,a)=>{const{asChild:l,...c}=s,d=l?vs:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),n.jsx(d,{...c,ref:a})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function hu(e,t){e&&hi.flushSync(()=>e.dispatchEvent(t))}function ht(e){const t=g.useRef(e);return g.useEffect(()=>{t.current=e}),g.useMemo(()=>(...r)=>t.current?.(...r),[])}function QI(e,t=globalThis?.document){const r=ht(e);g.useEffect(()=>{const s=a=>{a.key==="Escape"&&r(a)};return t.addEventListener("keydown",s,{capture:!0}),()=>t.removeEventListener("keydown",s,{capture:!0})},[r,t])}var XI="DismissableLayer",vp="dismissableLayer.update",JI="dismissableLayer.pointerDownOutside",eP="dismissableLayer.focusOutside",fb,y1=g.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Zi=g.forwardRef((e,t)=>{const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:s,onPointerDownOutside:a,onFocusOutside:l,onInteractOutside:c,onDismiss:d,...m}=e,f=g.useContext(y1),[p,x]=g.useState(null),v=p?.ownerDocument??globalThis?.document,[,b]=g.useState({}),N=Ze(t,$=>x($)),j=Array.from(f.layers),[C]=[...f.layersWithOutsidePointerEventsDisabled].slice(-1),k=j.indexOf(C),A=p?j.indexOf(p):-1,T=f.layersWithOutsidePointerEventsDisabled.size>0,P=A>=k,I=nP($=>{const z=$.target,Y=[...f.branches].some(ee=>ee.contains(z));!P||Y||(a?.($),c?.($),$.defaultPrevented||d?.())},v),L=rP($=>{const z=$.target;[...f.branches].some(ee=>ee.contains(z))||(l?.($),c?.($),$.defaultPrevented||d?.())},v);return QI($=>{A===f.layers.size-1&&(s?.($),!$.defaultPrevented&&d&&($.preventDefault(),d()))},v),g.useEffect(()=>{if(p)return r&&(f.layersWithOutsidePointerEventsDisabled.size===0&&(fb=v.body.style.pointerEvents,v.body.style.pointerEvents="none"),f.layersWithOutsidePointerEventsDisabled.add(p)),f.layers.add(p),hb(),()=>{r&&f.layersWithOutsidePointerEventsDisabled.size===1&&(v.body.style.pointerEvents=fb)}},[p,v,r,f]),g.useEffect(()=>()=>{p&&(f.layers.delete(p),f.layersWithOutsidePointerEventsDisabled.delete(p),hb())},[p,f]),g.useEffect(()=>{const $=()=>b({});return document.addEventListener(vp,$),()=>document.removeEventListener(vp,$)},[]),n.jsx(Le.div,{...m,ref:N,style:{pointerEvents:T?P?"auto":"none":void 0,...e.style},onFocusCapture:Se(e.onFocusCapture,L.onFocusCapture),onBlurCapture:Se(e.onBlurCapture,L.onBlurCapture),onPointerDownCapture:Se(e.onPointerDownCapture,I.onPointerDownCapture)})});Zi.displayName=XI;var tP="DismissableLayerBranch",b1=g.forwardRef((e,t)=>{const r=g.useContext(y1),s=g.useRef(null),a=Ze(t,s);return g.useEffect(()=>{const l=s.current;if(l)return r.branches.add(l),()=>{r.branches.delete(l)}},[r.branches]),n.jsx(Le.div,{...e,ref:a})});b1.displayName=tP;function nP(e,t=globalThis?.document){const r=ht(e),s=g.useRef(!1),a=g.useRef(()=>{});return g.useEffect(()=>{const l=d=>{if(d.target&&!s.current){let m=function(){w1(JI,r,f,{discrete:!0})};const f={originalEvent:d};d.pointerType==="touch"?(t.removeEventListener("click",a.current),a.current=m,t.addEventListener("click",a.current,{once:!0})):m()}else t.removeEventListener("click",a.current);s.current=!1},c=window.setTimeout(()=>{t.addEventListener("pointerdown",l)},0);return()=>{window.clearTimeout(c),t.removeEventListener("pointerdown",l),t.removeEventListener("click",a.current)}},[t,r]),{onPointerDownCapture:()=>s.current=!0}}function rP(e,t=globalThis?.document){const r=ht(e),s=g.useRef(!1);return g.useEffect(()=>{const a=l=>{l.target&&!s.current&&w1(eP,r,{originalEvent:l},{discrete:!1})};return t.addEventListener("focusin",a),()=>t.removeEventListener("focusin",a)},[t,r]),{onFocusCapture:()=>s.current=!0,onBlurCapture:()=>s.current=!1}}function hb(){const e=new CustomEvent(vp);document.dispatchEvent(e)}function w1(e,t,r,{discrete:s}){const a=r.originalEvent.target,l=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&a.addEventListener(e,t,{once:!0}),s?hu(a,l):a.dispatchEvent(l)}var sP=Zi,iP=b1,Ot=globalThis?.document?g.useLayoutEffect:()=>{},aP="Portal",dc=g.forwardRef((e,t)=>{const{container:r,...s}=e,[a,l]=g.useState(!1);Ot(()=>l(!0),[]);const c=r||a&&globalThis?.document?.body;return c?Ku.createPortal(n.jsx(Le.div,{...s,ref:t}),c):null});dc.displayName=aP;function oP(e,t){return g.useReducer((r,s)=>t[r][s]??r,e)}var sn=e=>{const{present:t,children:r}=e,s=lP(t),a=typeof r=="function"?r({present:s.isPresent}):g.Children.only(r),l=Ze(s.ref,cP(a));return typeof r=="function"||s.isPresent?g.cloneElement(a,{ref:l}):null};sn.displayName="Presence";function lP(e){const[t,r]=g.useState(),s=g.useRef({}),a=g.useRef(e),l=g.useRef("none"),c=e?"mounted":"unmounted",[d,m]=oP(c,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return g.useEffect(()=>{const f=Dd(s.current);l.current=d==="mounted"?f:"none"},[d]),Ot(()=>{const f=s.current,p=a.current;if(p!==e){const v=l.current,b=Dd(f);e?m("MOUNT"):b==="none"||f?.display==="none"?m("UNMOUNT"):m(p&&v!==b?"ANIMATION_OUT":"UNMOUNT"),a.current=e}},[e,m]),Ot(()=>{if(t){let f;const p=t.ownerDocument.defaultView??window,x=b=>{const j=Dd(s.current).includes(b.animationName);if(b.target===t&&j&&(m("ANIMATION_END"),!a.current)){const C=t.style.animationFillMode;t.style.animationFillMode="forwards",f=p.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=C)})}},v=b=>{b.target===t&&(l.current=Dd(s.current))};return t.addEventListener("animationstart",v),t.addEventListener("animationcancel",x),t.addEventListener("animationend",x),()=>{p.clearTimeout(f),t.removeEventListener("animationstart",v),t.removeEventListener("animationcancel",x),t.removeEventListener("animationend",x)}}else m("ANIMATION_END")},[t,m]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:g.useCallback(f=>{f&&(s.current=getComputedStyle(f)),r(f)},[])}}function Dd(e){return e?.animationName||"none"}function cP(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}function Wr({prop:e,defaultProp:t,onChange:r=()=>{}}){const[s,a]=dP({defaultProp:t,onChange:r}),l=e!==void 0,c=l?e:s,d=ht(r),m=g.useCallback(f=>{if(l){const x=typeof f=="function"?f(e):f;x!==e&&d(x)}else a(f)},[l,e,a,d]);return[c,m]}function dP({defaultProp:e,onChange:t}){const r=g.useState(e),[s]=r,a=g.useRef(s),l=ht(t);return g.useEffect(()=>{a.current!==s&&(l(s),a.current=s)},[s,a,l]),r}var uP="VisuallyHidden",uc=g.forwardRef((e,t)=>
8n.jsx(Le.span,{...e,ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}));uc.displayName=uP;var j1=uc,Eg="ToastProvider",[Tg,mP,fP]=cc("Toast"),[N1]=Ns("Toast",[fP]),[hP,Gu]=N1(Eg),C1=e=>{const{__scopeToast:t,label:r="Notification",duration:s=5e3,swipeDirection:a="right",swipeThreshold:l=50,children:c}=e,[d,m]=g.useState(null),[f,p]=g.useState(0),x=g.useRef(!1),v=g.useRef(!1);return r.trim()||console.error(`Invalid prop \`label\` supplied to \`${Eg}\`. Expected non-empty \`string\`.`),n.jsx(Tg.Provider,{scope:t,children:n.jsx(hP,{scope:t,label:r,duration:s,swipeDirection:a,swipeThreshold:l,toastCount:f,viewport:d,onViewportChange:m,onToastAdd:g.useCallback(()=>p(b=>b+1),[]),onToastRemove:g.useCallback(()=>p(b=>b-1),[]),isFocusedToastEscapeKeyDownRef:x,isClosePausedRef:v,children:c})})};C1.displayName=Eg;var S1="ToastViewport",pP=["F8"],yp="toast.viewportPause",bp="toast.viewportResume",k1=g.forwardRef((e,t)=>{const{__scopeToast:r,hotkey:s=pP,label:a="Notifications ({hotkey})",...l}=e,c=Gu(S1,r),d=mP(r),m=g.useRef(null),f=g.useRef(null),p=g.useRef(null),x=g.useRef(null),v=Ze(t,x,c.onViewportChange),b=s.join("+").replace(/Key/g,"").replace(/Digit/g,""),N=c.toastCount>0;g.useEffect(()=>{const C=k=>{s.length!==0&&s.every(T=>k[T]||k.code===T)&&x.current?.focus()};return document.addEventListener("keydown",C),()=>document.removeEventListener("keydown",C)},[s]),g.useEffect(()=>{const C=m.current,k=x.current;if(N&&C&&k){const A=()=>{if(!c.isClosePausedRef.current){const L=new CustomEvent(yp);k.dispatchEvent(L),c.isClosePausedRef.current=!0}},T=()=>{if(c.isClosePausedRef.current){const L=new CustomEvent(bp);k.dispatchEvent(L),c.isClosePausedRef.current=!1}},P=L=>{!C.contains(L.relatedTarget)&&T()},I=()=>{C.contains(document.activeElement)||T()};return C.addEventListener("focusin",A),C.addEventListener("focusout",P),C.addEventListener("pointermove",A),C.addEventListener("pointerleave",I),window.addEventListener("blur",A),window.addEventListener("focus",T),()=>{C.removeEventListener("focusin",A),C.removeEventListener("focusout",P),C.removeEventListener("pointermove",A),C.removeEventListener("pointerleave",I),window.removeEventListener("blur",A),window.removeEventListener("focus",T)}}},[N,c.isClosePausedRef]);const j=g.useCallback(({tabbingDirection:C})=>{const A=d().map(T=>{const P=T.ref.current,I=[P,...EP(P)];return C==="forwards"?I:I.reverse()});return(C==="forwards"?A.reverse():A).flat()},[d]);return g.useEffect(()=>{const C=x.current;if(C){const k=A=>{const T=A.altKey||A.ctrlKey||A.metaKey;if(A.key==="Tab"&&!T){const I=document.activeElement,L=A.shiftKey;if(A.target===C&&L){f.current?.focus();return}const Y=j({tabbingDirection:L?"backwards":"forwards"}),ee=Y.findIndex(ge=>ge===I);Sh(Y.slice(ee+1))?A.preventDefault():L?f.current?.focus():p.current?.focus()}};return C.addEventListener("keydown",k),()=>C.removeEventListener("keydown",k)}},[d,j]),n.jsxs(iP,{ref:m,role:"region","aria-label":a.replace("{hotkey}",b),tabIndex:-1,style:{pointerEvents:N?void 0:"none"},children:[N&&n.jsx(wp,{ref:f,onFocusFromOutsideViewport:()=>{const C=j({tabbingDirection:"forwards"});Sh(C)}}),n.jsx(Tg.Slot,{scope:r,children:n.jsx(Le.ol,{tabIndex:-1,...l,ref:v})}),N&&n.jsx(wp,{ref:p,onFocusFromOutsideViewport:()=>{const C=j({tabbingDirection:"backwards"});Sh(C)}})]})});k1.displayName=S1;var A1="ToastFocusProxy",wp=g.forwardRef((e,t)=>{const{__scopeToast:r,onFocusFromOutsideViewport:s,...a}=e,l=Gu(A1,r);return n.jsx(uc,{"aria-hidden":!0,tabIndex:0,...a,ref:t,style:{position:"fixed"},onFocus:c=>{const d=c.relatedTarget;!l.viewport?.contains(d)&&s()}})});wp.displayName=A1;var Yu="Toast",gP="toast.swipeStart",xP="toast.swipeMove",vP="toast.swipeCancel",yP="toast.swipeEnd",E1=g.forwardRef((e,t)=>{const{forceMount:r,open:s,defaultOpen:a,onOpenChange:l,...c}=e,[d=!0,m]=Wr({prop:s,defaultProp:a,onChange:l});return n.jsx(sn,{present:r||d,children:n.jsx(jP,{open:d,...c,ref:t,onClose:()=>m(!1),onPause:ht(e.onPause),onResume:ht(e.onResume),onSwipeStart:Se(e.onSwipeStart,f=>{f.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:Se(e.onSwipeMove,f=>{const{x:p,y:x}=f.detail.delta;f.currentTarget.setAttribute("data-swipe","move"),f.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${p}px`),f.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${x}px`)}),onSwipeCancel:Se(e.onSwipeCancel,f=>{f.currentTarget.setAttribute("data-swipe","cancel"),f.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),f.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),f.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),f.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:Se(e.onSwipeEnd,f=>{const{x:p,y:x}=f.detail.delta;f.currentTarget.setAttribute("data-swipe","end"),f.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),f.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),f.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${p}px`),f.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${x}px`),m(!1)})})})});E1.displayName=Yu;var[bP,wP]=N1(Yu,{onClose(){}}),jP=g.forwardRef((e,t)=>
8{const{__scopeToast:r,type:s="foreground",duration:a,open:l,onClose:c,onEscapeKeyDown:d,onPause:m,onResume:f,onSwipeStart:p,onSwipeMove:x,onSwipeCancel:v,onSwipeEnd:b,...N}=e,j=Gu(Yu,r),[C,k]=g.useState(null),A=Ze(t,J=>k(J)),T=g.useRef(null),P=g.useRef(null),I=a||j.duration,L=g.useRef(0),$=g.useRef(I),z=g.useRef(0),{onToastAdd:Y,onToastRemove:ee}=j,ge=ht(()=>{C?.contains(document.activeElement)&&j.viewport?.focus(),c()}),Q=g.useCallback(J=>{!J||J===1/0||(window.clearTimeout(z.current),L.current=new Date().getTime(),z.current=window.setTimeout(ge,J))},[ge]);g.useEffect(()=>{const J=j.viewport;if(J){const be=()=>{Q($.current),f?.()},me=()=>{const W=new Date().getTime()-L.current;$.current=$.current-W,window.clearTimeout(z.current),m?.()};return J.addEventListener(yp,me),J.addEventListener(bp,be),()=>{J.removeEventListener(yp,me),J.removeEventListener(bp,be)}}},[j.viewport,I,m,f,Q]),g.useEffect(()=>{l&&!j.isClosePausedRef.current&&Q(I)},[l,I,j.isClosePausedRef,Q]),g.useEffect(()=>(Y(),()=>ee()),[Y,ee]);const de=g.useMemo(()=>C?O1(C):null,[C]);return j.viewport?n.jsxs(n.Fragment,{children:[de&&n.jsx(NP,{__scopeToast:r,role:"status","aria-live":s==="foreground"?"assertive":"polite","aria-atomic":!0,children:de}),n.jsx(bP,{scope:r,onClose:ge,children:hi.createPortal(n.jsx(Tg.ItemSlot,{scope:r,children:n.jsx(sP,{asChild:!0,onEscapeKeyDown:Se(d,()=>{j.isFocusedToastEscapeKeyDownRef.current||ge(),j.isFocusedToastEscapeKeyDownRef.current=!1}),children:n.jsx(Le.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":l?"open":"closed","data-swipe-direction":j.swipeDirection,...N,ref:A,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:Se(e.onKeyDown,J=>{J.key==="Escape"&&(d?.(J.nativeEvent),J.nativeEvent.defaultPrevented||(j.isFocusedToastEscapeKeyDownRef.current=!0,ge()))}),onPointerDown:Se(e.onPointerDown,J=>{J.button===0&&(T.current={x:J.clientX,y:J.clientY})}),onPointerMove:Se(e.onPointerMove,J=>{if(!T.current)return;const be=J.clientX-T.current.x,me=J.clientY-T.current.y,W=!!P.current,F=["left","right"].includes(j.swipeDirection),Z=["left","up"].includes(j.swipeDirection)?Math.min:Math.max,re=F?Z(0,be):0,M=F?0:Z(0,me),R=J.pointerType==="touch"?10:2,X={x:re,y:M},le={originalEvent:J,delta:X};W?(P.current=X,Ld(xP,x,le,{discrete:!1})):pb(X,j.swipeDirection,R)?(P.current=X,Ld(gP,p,le,{discrete:!1}),J.target.setPointerCapture(J.pointerId)):(Math.abs(be)>R||Math.abs(me)>R)&&(T.current=null)}),onPointerUp:Se(e.onPointerUp,J=>{const be=P.current,me=J.target;if(me.hasPointerCapture(J.pointerId)&&me.releasePointerCapture(J.pointerId),P.current=null,T.current=null,be){const W=J.currentTarget,F={originalEvent:J,delta:be};pb(be,j.swipeDirection,j.swipeThreshold)?Ld(yP,b,F,{discrete:!0}):Ld(vP,v,F,{discrete:!0}),W.addEventListener("click",Z=>Z.preventDefault(),{once:!0})}})})})}),j.viewport)})]}):null}),NP=e=>{const{__scopeToast:t,children:r,...s}=e,a=Gu(Yu,t),[l,c]=g.useState(!1),[d,m]=g.useState(!1);return kP(()=>c(!0)),g.useEffect(()=>{const f=window.setTimeout(()=>m(!0),1e3);return()=>window.clearTimeout(f)},[]),d?null:n.jsx(dc,{asChild:!0,children:n.jsx(uc,{...s,children:l&&n.jsxs(n.Fragment,{children:[a.label," ",r]})})})},CP="ToastTitle",T1=g.forwardRef((e,t)=>{const{__scopeToast:r,...s}=e;return n.jsx(Le.div,{...s,ref:t})});T1.displayName=CP;var SP="ToastDescription",I1=g.forwardRef((e,t)=>{const{__scopeToast:r,...s}=e;return n.jsx(Le.div,{...s,ref:t})});I1.displayName=SP;var P1="ToastAction",_1=g.forwardRef((e,t)=>{const{altText:r,...s}=e;return r.trim()?n.jsx(M1,{altText:r,asChild:!0,children:n.jsx(Ig,{...s,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${P1}\`. Expected non-empty \`string\`.`),null)});_1.displayName=P1;var R1="ToastClose",Ig=g.forwardRef((e,t)=>{const{__scopeToast:r,...s}=e,a=wP(R1,r);return n.jsx(M1,{asChild:!0,children:n.jsx(Le.button,{type:"button",...s,ref:t,onClick:Se(e.onClick,a.onClose)})})});Ig.displayName=R1;var M1=g.forwardRef((e,t)=>{const{__scopeToast:r,altText:s,...a}=e;return n.jsx(Le.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":s||void 0,...a,ref:t})});function O1(e){const t=[];
8return Array.from(e.childNodes).forEach(s=>{if(s.nodeType===s.TEXT_NODE&&s.textContent&&t.push(s.textContent),AP(s)){const a=s.ariaHidden||s.hidden||s.style.display==="none",l=s.dataset.radixToastAnnounceExclude==="";if(!a)if(l){const c=s.dataset.radixToastAnnounceAlt;c&&t.push(c)}else t.push(...O1(s))}}),t}function Ld(e,t,r,{discrete:s}){const a=r.originalEvent.currentTarget,l=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:r});t&&a.addEventListener(e,t,{once:!0}),s?hu(a,l):a.dispatchEvent(l)}var pb=(e,t,r=0)=>{const s=Math.abs(e.x),a=Math.abs(e.y),l=s>a;return t==="left"||t==="right"?l&&s>r:!l&&a>r};function kP(e=()=>{}){const t=ht(e);Ot(()=>{let r=0,s=0;return r=window.requestAnimationFrame(()=>s=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(r),window.cancelAnimationFrame(s)}},[t])}function AP(e){return e.nodeType===e.ELEMENT_NODE}function EP(e){const t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:s=>{const a=s.tagName==="INPUT"&&s.type==="hidden";return s.disabled||s.hidden||a?NodeFilter.FILTER_SKIP:s.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function Sh(e){const t=document.activeElement;return e.some(r=>r===t?!0:(r.focus(),document.activeElement!==t))}var TP=C1,D1=k1,L1=E1,V1=T1,F1=I1,$1=_1,B1=Ig;function z1(e){var t,r,s="";if(typeof e=="string"||typeof e=="number")s+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(t=0;t<a;t++)e[t]&&(r=z1(e[t]))&&(s&&(s+=" "),s+=r)}else for(r in e)e[r]&&(s&&(s+=" "),s+=r);return s}function H1(){for(var e,t,r=0,s="",a=arguments.length;r<a;r++)(e=arguments[r])&&(t=z1(e))&&(s&&(s+=" "),s+=t);return s}const gb=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,xb=H1,mc=(e,t)=>r=>{var s;if(t?.variants==null)return xb(e,r?.class,r?.className);const{variants:a,defaultVariants:l}=t,c=Object.keys(a).map(f=>{const p=r?.[f],x=l?.[f];if(p===null)return null;const v=gb(p)||gb(x);return a[f][v]}),d=r&&Object.entries(r).reduce((f,p)=>{let[x,v]=p;return v===void 0||(f[x]=v),f},{}),m=t==null||(s=t.compoundVariants)===null||s===void 0?void 0:s.reduce((f,p)=>{let{class:x,className:v,...b}=p;return Object.entries(b).every(N=>{let[j,C]=N;return Array.isArray(C)?C.includes({...l,...d}[j]):{...l,...d}[j]===C})?[...f,x,v]:f},[]);return xb(e,c,m,r?.class,r?.className)};const IP=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),U1=(...e)=>e.filter((t,r,s)=>!!t&&t.trim()!==""&&s.indexOf(t)===r).join(" ").trim();var PP={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"};const _P=g.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:r=2,absoluteStrokeWidth:s,className:a="",children:l,iconNode:c,...d},m)=>g.createElement("svg",{ref:m,...PP,width:t,height:t,stroke:e,strokeWidth:s?Number(r)*24/Number(t):r,className:U1("lucide",a),...d},[...c.map(([f,p])=>g.createElement(f,p)),...Array.isArray(l)?l:[l]]));const ve=(e,t)=>{const r=g.forwardRef(({className:s,...a},l)=>g.createElement(_P,{ref:l,iconNode:t,className:U1(`lucide-${IP(e)}`,s),...a}));return r.displayName=`${e}`,r};const Pg=ve("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);const it=ve("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);const vb=ve("ArrowUpRight",[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]]);const RP=ve("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"}]]);const W1=ve("BadgeCheck",[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);const MP=ve("Banknote",[["rect",{width:"20",height:"12",x:"2",y:"6",rx:"2",key:"9lu3g6"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}],["path",{d:"M6 12h.01M18 12h.01",key:"113zkx"}]]);const OP=ve("BookOpen",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]]);const DP=ve("Bookmark",[["path",{d:"m19 21-7-4-7 4V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v16z",key:"1fy3hk"}]]);const LP=ve("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"}]]);const VP=ve("Brain",[["path",{d:"M12 5a3 3 0 1 0-5.997.125 4 4 0 0 0-2.526 5.77 4 4 0 0 0 .556 6.588A4 4 0 1 0 12 18Z",key:"l5xja"}],["path",{d:"M12 5a3 3 0 1 1 5.997.125 4 4 0 0 1 2.526 5.77 4 4 0 0 1-.556 6.588A4 4 0 1 1 12 18Z",key:"ep3f8r"}],["path",{d:"M15 13a4.5 4.5 0 0 1-3-4 4.5 4.5 0 0 1-3 4",key:"1p4c4q"}],["path",{d:"M17.599 6.5a3 3 0 0 0 .399-1.375",key:"tmeiqw"}],["path",{d:"M6.003 5.125A3 3 0 0 0 6.401 6.5",key:"105sqy"}],["path",{d:"M3.477 10.896a4 4 0 0 1 .585-.396",key:"ql3yin"}],["path",{d:"M19.938 10.5a4 4 0 0 1 .585.396",key:"1qfode"}],["path",{d:"M6 18a4 4 0 0 1-1.967-.516",key:"2e4loj"}],["path",{d:"M19.967 17.484A4 4 0 0 1 18 18",key:"159ez6"}]]);const FP=ve("Briefcase",[["path",{d:"M16 20V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16",key:"jecpp"}],["rect",{width:"20",height:"14",x:"2",y:"6",rx:"2",key:"i6l2r4"}]]);const Ya=ve("Building2",[["path",{d:"M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z",key:"1b4qmf"}],["path",{d:"M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2",key:"i71pzd"}],["path",{d:"M18 9h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-2",key:"10jefs"}],["path",{d:"M10 6h4",key:"1itunk"}],["path",{d:"M10 10h4",key:"tcdvrf"}
8],["path",{d:"M10 14h4",key:"kelpxr"}],["path",{d:"M10 18h4",key:"1ulq68"}]]);const pu=ve("Building",[["rect",{width:"16",height:"20",x:"4",y:"2",rx:"2",ry:"2",key:"76otgf"}],["path",{d:"M9 22v-4h6v4",key:"r93iot"}],["path",{d:"M8 6h.01",key:"1dz90k"}],["path",{d:"M16 6h.01",key:"1x0f13"}],["path",{d:"M12 6h.01",key:"1vi96p"}],["path",{d:"M12 10h.01",key:"1nrarc"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M16 10h.01",key:"1m94wz"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M8 10h.01",key:"19clt8"}],["path",{d:"M8 14h.01",key:"6423bh"}]]);const _t=ve("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"}]]);const $P=ve("Car",[["path",{d:"M19 17h2c.6 0 1-.4 1-1v-3c0-.9-.7-1.7-1.5-1.9C18.7 10.6 16 10 16 10s-1.3-1.4-2.2-2.3c-.5-.4-1.1-.7-1.8-.7H5c-.6 0-1.1.4-1.4.9l-1.4 2.9A3.7 3.7 0 0 0 2 12v4c0 .6.4 1 1 1h2",key:"5owen"}],["circle",{cx:"7",cy:"17",r:"2",key:"u2ysq9"}],["path",{d:"M9 17h6",key:"r8uit2"}],["circle",{cx:"17",cy:"17",r:"2",key:"axvx0g"}]]);const jp=ve("ChartColumn",[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]]);const BP=ve("ChartNoAxesColumnIncreasing",[["line",{x1:"12",x2:"12",y1:"20",y2:"10",key:"1vz5eb"}],["line",{x1:"18",x2:"18",y1:"20",y2:"4",key:"cun8e5"}
8],["line",{x1:"6",x2:"6",y1:"20",y2:"16",key:"hq0ia6"}]]);const Zu=ve("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);const co=ve("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);const q1=ve("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);const K1=ve("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);const G1=ve("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);const zP=ve("ChevronsUpDown",[["path",{d:"m7 15 5 5 5-5",key:"1hf1tw"}],["path",{d:"m7 9 5-5 5 5",key:"sgt6xg"}]]);const wl=ve("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"}]]);const Ie=ve("CircleCheckBig",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);const Rl=ve("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);const HP=ve("CircleHelp",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);const UP=ve("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"}]]);const Rt=ve("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);const Y1=ve("Database",[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]]);const Za=ve("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"}]]);const WP=ve("ExternalLink",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);const qP=ve("Facebook",[["path",{d:"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z",key:"1jg4f8"}]]);const KP=ve("Factory",[["path",{d:"M2 20a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8l-7 5V8l-7 5V4a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z",key:"159hny"}],["path",{d:"M17 18h1",key:"uldtlt"}],["path",{d:"M12 18h1",key:"s9uhes"}],["path",{d:"M7 18h1",key:"1neino"}]]);const GP=ve("FileText",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]);const Gt=ve("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"}]]);const YP=ve("GraduationCap",[["path",{d:"M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0z",key:"j76jl0"}],["path",{d:"M22 10v6",key:"1lu8f3"}],["path",{d:"M6 12.5V16a6 3 0 0 0 12 0v-3.5",key:"1r8lef"}]]);const ZP=ve("HardHat",[["path",{d:"M10 10V5a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v5",key:"1p9q5i"}],["path",{d:"M14 6a6 6 0 0 1 6 6v3",key:"1hnv84"}],["path",{d:"M4 15v-3a6 6 0 0 1 6-6",key:"9ciidu"}],["rect",{x:"2",y:"15",width:"20",height:"4",rx:"1",key:"g3x8cw"}]]);const gu=ve("Headphones",[["path",{d:"M3 14h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-7a9 9 0 0 1 18 0v7a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3",key:"1xhozi"}]]);const Qu=ve("Heart",[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}]]);const QP=ve("Hotel",[["path",{d:"M10 22v-6.57",key:"1wmca3"}],["path",{d:"M12 11h.01",key:"z322tv"}],["path",{d:"M12 7h.01",key:"1ivr5q"}],["path",{d:"M14 15.43V22",key:"1q2vjd"}],["path",{d:"M15 16a5 5 0 0 0-6 0",key:"o9wqvi"}],["path",{d:"M16 11h.01",key:"xkw8gn"}],["path",{d:"M16 7h.01",key:"1kdx03"}],["path",{d:"M8 11h.01",key:"1dfujw"}],["path",{d:"M8 7h.01",key:"1vti4s"}],["rect",{x:"4",y:"2",width:"16",height:"20",rx:"2",key:"1uxh74"}]]);const Qr=ve("House",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"1d0kgt"}]]);const XP=ve("Instagram",[["rect",{width:"20",height:"20",x:"2",y:"2",rx:"5",ry:"5",key:"2e1cvw"}],["path",{d:"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z",key:"9exkf1"}],["line",{x1:"17.5",x2:"17.51",y1:"6.5",y2:"6.5",key:"r4j83e"}]]);const Xu=ve("Languages",[["path",{d:"m5 8 6 6",key:"1wu5hv"}],["path",{d:"m4 14 6-6 2-3",key:"1k1g8d"}],["path",{d:"M2 5h12",key:"or177f"}],["path",{d:"M7 2h1",key:"1t2jsx"}],["path",{d:"m22 22-5-10-5 10",key:"don7ne"}],["path",{d:"M14 18h6",key:"1m8k6r"}]]);const JP=ve("Linkedin",[["path",{d:"M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z",key:"c2jq9f"}],["rect",{width:"4",height:"12",x:"2",y:"9",key:"mk3on5"}],["circle",{cx:"4",cy:"4",r:"2",key:"bt5ra8"}]]);const e4=ve("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"}]]);const t4=ve("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"}]]);const n4=ve("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"}]]);const r4=ve("MessageCircle",[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}]]);const s4=ve("MessageSquareQuote",[["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"}],["path",{d:"M8 12a2 2 0 0 0 2-2V8H8",key:"1jfesj"}],["path",{d:"M14 12a2 2 0 0 0 2-2V8h-2",key:"1dq9mh"}]]);const ys=ve("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"}]]);const i4=ve("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"}]]);const a4=ve("Moon",[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]]);const o4=ve("Pause",[["rect",{x:"14",y:"4",width:"4",height:"16",rx:"1",key:"zuxfzm"}],["rect",{x:"6",y:"4",width:"4",height:"16",rx:"1",key:"1okwgv"}]]);const ri=ve("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"}]]);const ut=ve("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"}]]);const l4=ve("Pill",[["path",{d:"m10.5 20.5 10-10a4.95 4.95 0 1 0-7-7l-10 10a4.95 4.95 0 1 0 7 7Z",key:"wa1lgi"}],["path",{d:"m8.5 8.5 7 7",key:"rvfmvr"}]]);const c4=ve("Plane",[["path",{d:"M17.8 19.2 16 11l3.5-3.5C21 6 21.5 4 21 3c-1-.5-3 0-4.5 1.5L13 8 4.8 6.2c-.5-.
81-.9.1-1.1.5l-.3.5c-.2.5-.1 1 .3 1.3L9 12l-2 3H4l-1 1 3 2 2 3 1-1v-3l3-2 3.5 5.3c.3.4.8.5 1.3.3l.5-.2c.4-.3.6-.7.5-1.2z",key:"1v9wt8"}]]);const d4=ve("Play",[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]]);const Z1=ve("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);const u4=ve("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"}]]);const ar=ve("Shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]]);const m4=ve("ShoppingBag",[["path",{d:"M6 2 3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4Z",key:"hou9p0"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M16 10a4 4 0 0 1-8 0",key:"1ltviw"}]]);const f4=ve("ShoppingCart",[["circle",{cx:"8",cy:"21",r:"1",key:"jimo8o"}],["circle",{cx:"19",cy:"21",r:"1",key:"13723u"}],["path",{d:"M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12",key:"9zh506"}]]);const Qa=ve("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"}]]);const Q1=ve("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"}]]);const _g=ve("Stethoscope",[["path",{d:"M11 2v2",key:"1539x4"}],["path",{d:"M5 2v2",key:"1yf1q8"}],["path",{d:"M5 3H4a2 2 0 0 0-2 2v4a6 6 0 0 0 12 0V5a2 2 0 0 0-2-2h-1",key:"rb5t3r"}],["path",{d:"M8 15a6 6 0 0 0 12 0v-3",key:"x18d4x"}],["circle",{cx:"20",cy:"10",r:"2",key:"ts1r5v"}]]);const h4=ve("Store",[["path",{d:"m2 7 4.41-4.41A2 2 0 0 1 7.83 2h8.34a2 2 0 0 1 1.42.59L22 7",key:"ztvudi"}],["path",{d:"M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8",key:"1b2hhj"}],["path",{d:"M15 22v-4a2 2 0 0 0-2-2h-2a2 2 0 0 0-2 2v4",key:"2ebpfo"}],["path",{d:"M2 7h20",key:"1fcdvo"}],["path",{d:"M22 7v3a2 2 0 0 1-2 2a2.7 2.7 0 0 1-1.59-.63.7.7 0 0 0-.82 0A2.7 2.7 0 0 1 16 12a2.7 2.7 0 0 1-1.59-.63.7.7 0 0 0-.82 0A2.7 2.7 0 0 1 12 12a2.7 2.7 0 0 1-1.59-.63.7.7 0 0 0-.82 0A2.7 2.7 0 0 1 8 12a2.7 2.7 0 0 1-1.59-.63.7.7 0 0 0-.82 0A2.7 2.7 0 0 1 4 12a2 2 0 0 1-2-2V7",key:"6c3vgh"}]]);const p4=ve("Tag",[["path",{d:"M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z",key:"vktsd0"}],["circle",{cx:"7.5",cy:"7.5",r:".5",fill:"currentColor",key:"kqv944"}]]);const xu=ve("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"}]]);const g4=ve("ThumbsUp",[["path",{d:"M7 10v12",key:"1qc93n"}],["path",{d:"M15 5.88 14 10h5.83a2 2 0 0 1 1.92 2.56l-2.33 8A2 2 0 0 1 17.5 22H4a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h2.76a2 2 0 0 0 1.79-1.11L12 2a3.13 3.13 0 0 1 3 3.88Z",key:"emmmcr"}]]);const x4=ve("Timer",[["line",{x1:"10",x2:"14",y1:"2",y2:"2",key:"14vaq8"}],["line",{x1:"12",x2:"15",y1:"14",y2:"11",key:"17fdiu"}],["circle",{cx:"12",cy:"14",r:"8",key:"1e1u0o"}]]);const Tr=ve("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"}]]);const v4=ve("Truck",[["path",{d:"M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2",key:"wrbu53"}],["path",{d:"M15 18H9",key:"1lyqi6"}],["path",{d:"M19 18h2a1 1 0 0 0 1-1v-3.65a1 1 0 0 0-.22-.624l-3.48-4.35A1 1 0 0 0 17.52 8H14",key:"lysw3i"}],["circle",{cx:"17",cy:"18",r:"2",key:"332jqn"}],["circle",{cx:"7",cy:"18",r:"2",key:"19iecd"}]]);const y4=ve("Twitter",[["path",{d:"M22 4s-.7 2.1-2 3.4c1.6 10-9.4 17.3-18 11.6 2.2.1 4.4-.6 6-2C3 15.5.5 9.6 3 5c2.2 2.6 5.6 4.1 9 4-.9-4.2 4-6.6 7-3.8 1.1 0 3-1.2 3-1.2z",key:"pff0z6"}]]);const b4=ve("Umbrella",[["path",{d:"M22 12a10.06 10.06 1 0 0-20 0Z",key:"1teyop"}],["path",{d:"M12 12v8a2 2 0 0 0 4 0",key:"ulpmoc"}],["path",{d:"M12 2v1",key:"11qlp1"}]]);const w4=ve("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: 1,449 bytes, line 8
8],["polyline",{points:"16 11 18 13 22 9",key:"1pwet4"}]]);const X1=ve("User",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]);const Dn=ve("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"}]]);const j4=ve("Utensils",[["path",{d:"M3 2v7c0 1.1.9 2 2 2h4a2 2 0 0 0 2-2V2",key:"cjf0a3"}],["path",{d:"M7 2v20",key:"1473qp"}],["path",{d:"M21 15V2a5 5 0 0 0-5 5v6c0 1.1.9 2 2 2h3Zm0 0v7",key:"j28e5"}]]);const uo=ve("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);const rn=ve("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"}]]),Rg="-",N4=e=>{const t=S4(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:s}=e;return{getClassGroupId:c=>{const d=c.split(Rg);return d[0]===""&&d.length!==1&&d.shift(),J1(d,t)||C4(c)},getConflictingClassGroupIds:(c,d)=>{const m=r[c]||[];return d&&s[c]?[...m,...s[c]]:m}}},J1=(e,t)=>{if(e.length===0)return t.classGroupId;const r=e[0],s=t.nextPart.get(r),a=s?J1(e.slice(1),s):void 0;if(a)return a;if(t.validators.length===0)return;const l=e.join(Rg);return t.validators.find(({validator:c}
vendor: 5,340 bytes, line 8
8)=>c(l))?.classGroupId},yb=/^\[(.+)\]$/,C4=e=>{if(yb.test(e)){const t=yb.exec(e)[1],r=t?.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},S4=e=>{const{theme:t,prefix:r}=e,s={nextPart:new Map,validators:[]};return A4(Object.entries(e.classGroups),r).forEach(([l,c])=>{Np(c,s,l,t)}),s},Np=(e,t,r,s)=>{e.forEach(a=>{if(typeof a=="string"){const l=a===""?t:bb(t,a);l.classGroupId=r;return}if(typeof a=="function"){if(k4(a)){Np(a(s),t,r,s);return}t.validators.push({validator:a,classGroupId:r});return}Object.entries(a).forEach(([l,c])=>{Np(c,bb(t,l),r,s)})})},bb=(e,t)=>{let r=e;return t.split(Rg).forEach(s=>{r.nextPart.has(s)||r.nextPart.set(s,{nextPart:new Map,validators:[]}),r=r.nextPart.get(s)}),r},k4=e=>e.isThemeGetter,A4=(e,t)=>t?e.map(([r,s])=>{const a=s.map(l=>typeof l=="string"?t+l:typeof l=="object"?Object.fromEntries(Object.entries(l).map(([c,d])=>[t+c,d])):l);return[r,a]}):e,E4=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,s=new Map;const a=(l,c)=>{r.set(l,c),t++,t>e&&(t=0,s=r,r=new Map)};return{get(l){let c=r.get(l);if(c!==void 0)return c;if((c=s.get(l))!==void 0)return a(l,c),c},set(l,c){r.has(l)?r.set(l,c):a(l,c)}}},eN="!",T4=e=>{const{separator:t,experimentalParseClassName:r}=e,s=t.length===1,a=t[0],l=t.length,c=d=>{const m=[];let f=0,p=0,x;for(let C=0;C<d.length;C++){let k=d[C];if(f===0){if(k===a&&(s||d.slice(C,C+l)===t)){m.push(d.slice(p,C)),p=C+l;continue}if(k==="/"){x=C;continue}}k==="["?f++:k==="]"&&f--}const v=m.length===0?d:d.substring(p),b=v.startsWith(eN),N=b?v.substring(1):v,j=x&&x>p?x-p:void 0;return{modifiers:m,hasImportantModifier:b,baseClassName:N,maybePostfixModifierPosition:j}};return r?d=>r({className:d,parseClassName:c}):c},I4=e=>{if(e.length<=1)return e;const t=[];let r=[];return e.forEach(s=>{s[0]==="["?(t.push(...r.sort(),s),r=[]):r.push(s)}),t.push(...r.sort()),t},P4=e=>({cache:E4(e.cacheSize),parseClassName:T4(e),...N4(e)}),_4=/\s+/,R4=(e,t)=>{const{parseClassName:r,getClassGroupId:s,getConflictingClassGroupIds:a}=t,l=[],c=e.trim().split(_4);let d="";for(let m=c.length-1;m>=0;m-=1){const f=c[m],{modifiers:p,hasImportantModifier:x,baseClassName:v,maybePostfixModifierPosition:b}=r(f);let N=!!b,j=s(N?v.substring(0,b):v);if(!j){if(!N){d=f+(d.length>0?" "+d:d);continue}if(j=s(v),!j){d=f+(d.length>0?" "+d:d);continue}N=!1}const C=I4(p).join(":"),k=x?C+eN:C,A=k+j;if(l.includes(A))continue;l.push(A);const T=a(j,N);for(let P=0;P<T.length;++P){const I=T[P];l.push(k+I)}d=f+(d.length>0?" "+d:d)}return d};function M4(){let e=0,t,r,s="";for(;e<arguments.length;)(t=arguments[e++])&&(r=tN(t))&&(s&&(s+=" "),s+=r);return s}const tN=e=>{if(typeof e=="string")return e;let t,r="";for(let s=0;s<e.length;s++)e[s]&&(t=tN(e[s]))&&(r&&(r+=" "),r+=t);return r};function O4(e,...t){let r,s,a,l=c;function c(m){const f=t.reduce((p,x)=>x(p),e());return r=P4(f),s=r.cache.get,a=r.cache.set,l=d,d(m)}function d(m){const f=s(m);if(f)return f;const p=R4(m,r);return a(m,p),p}return function(){return l(M4.apply(null,arguments))}}const yt=e=>{const t=r=>r[e]||[];return t.isThemeGetter=!0,t},nN=/^\[(?:([a-z-]+):)?(.+)\]$/i,D4=/^\d+\/\d+$/,L4=new Set(["px","full","screen"]),V4=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,F4=/\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$/,$4=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,B4=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,z4=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,ls=e=>za(e)||L4.has(e)||D4.test(e),qs=e=>mo(e,"length",Z4),za=e=>!!e&&!Number.isNaN(Number(e)),kh=e=>mo(e,"number",za),il=e=>!!e&&Number.isInteger(Number(e)),H4=e=>e.endsWith("%")&&za(e.slice(0,-1)),Ge=e=>nN.test(e),Ks=e=>V4.test(e),U4=new Set(["length","size","percentage"]),W4=e=>mo(e,U4,rN),q4=e=>mo(e,"position",rN),K4=new Set(["image","url"]),G4=e=>mo(e,K4,X4),Y4=e=>mo(e,"",Q4),al=()=>!0,mo=(e,t,r)=>{const s=nN.exec(e);return s?s[1]?typeof t=="string"?s[1]===t:t.has(s[1]):r(s[2]):!1},Z4=e=>F4.test(e)&&!$4.test(e),rN=()=>!1,Q4=e=>B4.test(e),X4=e=>z4.test(e),J4=()=>{const e=yt("colors"),t=yt("spacing"),r=yt("blur"),s=yt("brightness"),a=yt("borderColor"),l=yt("borderRadius"),c=yt("borderSpacing"),d=yt("borderWidth"),m=yt("contrast"),f=yt("grayscale"),p=yt("hueRotate"),x=yt("invert"),v=yt("gap"),b=yt("gradientColorStops"),N=yt("gradientColorStopPositions"),j=yt("inset"),C=yt("margin"),k=yt("opacity"),A=yt("padding"),T=yt("saturate"),P=yt("scale"),I=yt("sepia"),L=yt("skew"),$=yt("space"),z=yt("translate"),Y=()=>["auto","contain","none"],ee=()=>["auto","hidden","clip","visible","scroll"],ge=()=>["auto",Ge,t],Q=()=>[Ge,t],de=()=>["",ls,qs],J=()=>["auto",za,Ge],be=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],me=()=>["solid","dashed","dotted","double","none"],W=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],F=()=>["start","end","center","between","around","evenly","stretch"],Z=()=>["","0",Ge],re=()=>["auto","avoid","all","avoid-page","page","left","right","column"],M=()=>[za,Ge];return{cacheSize:500,separator:":",theme:{colors:[al],spacing:[ls,qs],blur:["none","",Ks,Ge],brightness:M(),borderColor:[e],borderRadius:["n
8one","","full",Ks,Ge],borderSpacing:Q(),borderWidth:de(),contrast:M(),grayscale:Z(),hueRotate:M(),invert:Z(),gap:Q(),gradientColorStops:[e],gradientColorStopPositions:[H4,qs],inset:ge(),margin:ge(),opacity:M(),padding:Q(),saturate:M(),scale:M(),sepia:Z(),skew:M(),space:Q(),translate:Q()},classGroups:{aspect:[{aspect:["auto","square","video",Ge]}],container:["container"],columns:[{columns:[Ks]}],"break-after":[{"break-after":re()}],"break-before":[{"break-before":re()}],"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:[...be(),Ge]}],overflow:[{overflow:ee()}],"overflow-x":[{"overflow-x":ee()}],"overflow-y":[{"overflow-y":ee()}],overscroll:[{overscroll:Y()}],"overscroll-x":[{"overscroll-x":Y()}],"overscroll-y":[{"overscroll-y":Y()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[j]}],"inset-x":[{"inset-x":[j]}],"inset-y":[{"inset-y":[j]}],start:[{start:[j]}],end:[{end:[j]}],top:[{top:[j]}],right:[{right:[j]}],bottom:[{bottom:[j]}],left:[{left:[j]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",il,Ge]}],basis:[{basis:ge()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",Ge]}],grow:[{grow:Z()}],shrink:[{shrink:Z()}],order:[{order:["first","last","none",il,Ge]}],"grid-cols":[{"grid-cols":[al]}],"col-start-end":[{col:["auto",{span:["full",il,Ge]},Ge]}],"col-start":[{"col-start":J()}],"col-end":[{"col-end":J()}],"grid-rows":[{"grid-rows":[al]}],"row-start-end":[{row:["auto",{span:[il,Ge]},Ge]}],"row-start":[{"row-start":J()}],"row-end":[{"row-end":J()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",Ge]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",Ge]}],gap:[{gap:[v]}],"gap-x":[{"gap-x":[v]}],"gap-y":[{"gap-y":[v]}],"justify-content":[{justify:["normal",...F()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...F(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...F(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[A]}],px:[{px:[A]}],py:[{py:[A]}],ps:[{ps:[A]}],pe:[{pe:[A]}],pt:[{pt:[A]}],pr:[{pr:[A]}],pb:[{pb:[A]}],pl:[{pl:[A]}],m:[{m:[C]}],mx:[{mx:[C]}],my:[{my:[C]}],ms:[{ms:[C]}],me:[{me:[C]}],mt:[{mt:[C]}],mr:[{mr:[C]}],mb:[{mb:[C]}],ml:[{ml:[C]}],"space-x":[{"space-x":[$]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[$]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",Ge,t]}],"min-w":[{"min-w":[Ge,t,"min","max","fit"]}],"max-w":[{"max-w":[Ge,t,"none","full","min","max","fit","prose",{screen:[Ks]},Ks]}],h:[{h:[Ge,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[Ge,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[Ge,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[Ge,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Ks,qs]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",kh]}],"font-family":[{font:[al]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",Ge]}],"line-clamp":[{"line-clamp":["none",za,kh]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",ls,Ge]}],"list-image":[{"list-image":["none",Ge]}],"list-style-type":[{list:["none","disc","decimal",Ge]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[k]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[k]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...me(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",ls,qs]}],"underline-offset":[{"underline-offset":["auto",ls,Ge]}],"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:Q()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Ge]}],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",Ge]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[k]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...be(),q4]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",W4]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},G4]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[N]}
vendor: 5,184 bytes, line 8
8],"gradient-via-pos":[{via:[N]}],"gradient-to-pos":[{to:[N]}],"gradient-from":[{from:[b]}],"gradient-via":[{via:[b]}],"gradient-to":[{to:[b]}],rounded:[{rounded:[l]}],"rounded-s":[{"rounded-s":[l]}],"rounded-e":[{"rounded-e":[l]}],"rounded-t":[{"rounded-t":[l]}],"rounded-r":[{"rounded-r":[l]}],"rounded-b":[{"rounded-b":[l]}],"rounded-l":[{"rounded-l":[l]}],"rounded-ss":[{"rounded-ss":[l]}],"rounded-se":[{"rounded-se":[l]}],"rounded-ee":[{"rounded-ee":[l]}],"rounded-es":[{"rounded-es":[l]}],"rounded-tl":[{"rounded-tl":[l]}],"rounded-tr":[{"rounded-tr":[l]}],"rounded-br":[{"rounded-br":[l]}],"rounded-bl":[{"rounded-bl":[l]}],"border-w":[{border:[d]}],"border-w-x":[{"border-x":[d]}],"border-w-y":[{"border-y":[d]}],"border-w-s":[{"border-s":[d]}],"border-w-e":[{"border-e":[d]}],"border-w-t":[{"border-t":[d]}],"border-w-r":[{"border-r":[d]}],"border-w-b":[{"border-b":[d]}],"border-w-l":[{"border-l":[d]}],"border-opacity":[{"border-opacity":[k]}],"border-style":[{border:[...me(),"hidden"]}],"divide-x":[{"divide-x":[d]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[d]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[k]}],"divide-style":[{divide:me()}],"border-color":[{border:[a]}],"border-color-x":[{"border-x":[a]}],"border-color-y":[{"border-y":[a]}],"border-color-s":[{"border-s":[a]}],"border-color-e":[{"border-e":[a]}],"border-color-t":[{"border-t":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-b":[{"border-b":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["",...me()]}],"outline-offset":[{"outline-offset":[ls,Ge]}],"outline-w":[{outline:[ls,qs]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:de()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[k]}],"ring-offset-w":[{"ring-offset":[ls,qs]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Ks,Y4]}],"shadow-color":[{shadow:[al]}],opacity:[{opacity:[k]}],"mix-blend":[{"mix-blend":[...W(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":W()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[s]}],contrast:[{contrast:[m]}],"drop-shadow":[{"drop-shadow":["","none",Ks,Ge]}],grayscale:[{grayscale:[f]}],"hue-rotate":[{"hue-rotate":[p]}],invert:[{invert:[x]}],saturate:[{saturate:[T]}],sepia:[{sepia:[I]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[s]}],"backdrop-contrast":[{"backdrop-contrast":[m]}],"backdrop-grayscale":[{"backdrop-grayscale":[f]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[p]}],"backdrop-invert":[{"backdrop-invert":[x]}],"backdrop-opacity":[{"backdrop-opacity":[k]}],"backdrop-saturate":[{"backdrop-saturate":[T]}],"backdrop-sepia":[{"backdrop-sepia":[I]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[c]}],"border-spacing-x":[{"border-spacing-x":[c]}],"border-spacing-y":[{"border-spacing-y":[c]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",Ge]}],duration:[{duration:M()}],ease:[{ease:["linear","in","out","in-out",Ge]}],delay:[{delay:M()}],animate:[{animate:["none","spin","ping","pulse","bounce",Ge]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[P]}],"scale-x":[{"scale-x":[P]}],"scale-y":[{"scale-y":[P]}],rotate:[{rotate:[il,Ge]}],"translate-x":[{"translate-x":[z]}],"translate-y":[{"translate-y":[z]}],"skew-x":[{"skew-x":[L]}],"skew-y":[{"skew-y":[L]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",Ge]}],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",Ge]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":Q()}],"scroll-mx":[{"scroll-mx":Q()}],"scroll-my":[{"scroll-my":Q()}],"scroll-ms":[{"scroll-ms":Q()}],"scroll-me":[{"scroll-me":Q()}],"scroll-mt":[{"scroll-mt":Q()}],"scroll-mr":[{"scroll-mr":Q()}],"scroll-mb":[{"scroll-mb":Q()}],"scroll-ml":[{"scroll-ml":Q()}],"scroll-p":[{"scroll-p":Q()}],"scroll-px":[{"scroll-px":Q()}],"scroll-py":[{"scroll-py":Q()}],"scroll-ps":[{"scroll-ps":Q()}],"scroll-pe":[{"scroll-pe":Q()}],"scroll-pt":[{"scroll-pt":Q()}],"scroll-pr":[{"scroll-pr":Q()}],"scroll-pb":[{"scroll-pb":Q()}],"scroll-pl":[{"scroll-pl":Q()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}
8],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Ge]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[ls,qs,kh]}],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"]}}},e_=O4(J4);function Ee(...e){return e_(H1(e))}const t_=TP,sN=g.forwardRef(({className:e,...t},r)=>n.jsx(D1,{ref:r,className:Ee("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}));sN.displayName=D1.displayName;const n_=mc("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"}}),iN=g.forwardRef(({className:e,variant:t,...r},s)=>n.jsx(L1,{ref:s,className:Ee(n_({variant:t}),e),...r}));iN.displayName=L1.displayName;const r_=g.forwardRef(({className:e,...t},r)=>n.jsx($1,{ref:r,className:Ee("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors hover:bg-secondary focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",e),...t}));r_.displayName=$1.displayName;const aN=g.forwardRef(({className:e,...t},r)=>n.jsx(B1,{ref:r,className:Ee("absolute right-2 top-2 rounded-md p-1 text-foreground
8/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-2 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...t,children:n.jsx(uo,{className:"h-4 w-4"})}));aN.displayName=B1.displayName;const oN=g.forwardRef(({className:e,...t},r)=>n.jsx(V1,{ref:r,className:Ee("text-sm font-semibold",e),...t}));oN.displayName=V1.displayName;const lN=g.forwardRef(({className:e,...t},r)=>n.jsx(F1,{ref:r,className:Ee("text-sm opacity-90",e),...t}));lN.displayName=F1.displayName;function s_(){const{toasts:e}=lc();return n.jsxs(t_,{children:[e.map(function({id:t,title:r,description:s,action:a,...l}){return n.jsxs(iN,{...l,children:[n.jsxs("div",{className:"grid gap-1",children:[r&&n.jsx(oN,{children:r}),s&&n.jsx(lN,{children:s})]}),a,n.jsx(aN,{})]},t)}),n.jsx(sN,{})]})}var wb=["light","dark"],i_="(prefers-color-scheme: dark)",a_=g.createContext(void 0),o_={setTheme:e=>{},themes:[]},l_=()=>{var e;return(e=g.useContext(a_))!=null?e:o_};g.memo(({forcedTheme:e,storageKey:t,attribute:r,enableSystem:s,enableColorScheme:a,defaultTheme:l,value:c,attrs:d,nonce:m})=>{let f=l==="system",p=r==="class"?`var d=document.documentElement,c=d.classList;${`c.remove(${d.map(N=>`'${N}'`).join(",")})`};`:`var d=document.documentElement,n='${r}',s='setAttribute';`,x=a?wb.includes(l)&&l?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${l}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",v=(N,j=!1,C=!0)=>{let k=c?c[N]:N,A=j?N+"|| ''":`'${k}'`,T="";return a&&C&&!j&&wb.includes(N)&&(T+=`d.style.colorScheme = '${N}';`),r==="class"?j||k?T+=`c.add(${A})`:T+="null":k&&(T+=`d[s](n,${A})`),T},b=e?`!function(){${p}${v(e)}}()`:s?`!function(){try{${p}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${f})){var t='${i_}',m=window.matchMedia(t);if(m.media!==t||m.matches){${v("dark")}}else{${v("light")}}}else if(e){${c?`var x=${JSON.stringify(c)};`:""}${v(c?"x[e]":"e",!0)}}${f?"":"else{"+v(l,!1,!1)+"}"}${x}}catch(e){}}()`:`!function(){try{${p}var e=localStorage.getItem('${t}');if(e){${c?`var x=${JSON.stringify(c)};`:""}${v(c?"x[e]":"e",!0)}}else{${v(l,!1,!1)};}${x}}catch(t){}}();`;return g.createElement("script",{nonce:m,dangerouslySetInnerHTML:{__html:b}})});var c_=e=>{switch(e){case"success":return m_;case"info":return h_;case"warning":return f_;case"error":return p_;default:return null}},d_=Array(12).fill(0),u_=({visible:e})=>G.createElement("div",{className:"sonner-loading-wrapper","data-visible":e},G.createElement("div",{className:"sonner-spinner"},d_.map((t,r)=>G.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${r}`})))),m_=G.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},G.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"})),f_=G.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},G.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"})),h_=G.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},G.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"})),p_=G.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},G.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"})),g_=()=>{let[e,t]=G.useState(document.hidden);return G.useEffect(()=>{let r=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",r),()=>window.removeEventListener("visibilitychange",r)},[]),e},Cp=1,x_=class{constructor(){this.subscribe=e=>(this.subscribers.push(e),()=>{let t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)}),this.publish=e=>
8{this.subscribers.forEach(t=>t(e))},this.addToast=e=>{this.publish(e),this.toasts=[...this.toasts,e]},this.create=e=>{var t;let{message:r,...s}=e,a=typeof e?.id=="number"||((t=e.id)==null?void 0:t.length)>0?e.id:Cp++,l=this.toasts.find(d=>d.id===a),c=e.dismissible===void 0?!0:e.dismissible;return l?this.toasts=this.toasts.map(d=>d.id===a?(this.publish({...d,...e,id:a,title:r}),{...d,...e,id:a,dismissible:c,title:r}):d):this.addToast({title:r,...s,dismissible:c,id:a}),a},this.dismiss=e=>(e||this.toasts.forEach(t=>{this.subscribers.forEach(r=>r({id:t.id,dismiss:!0}))}),this.subscribers.forEach(t=>t({id:e,dismiss:!0})),e),this.message=(e,t)=>this.create({...t,message:e}),this.error=(e,t)=>this.create({...t,message:e,type:"error"}),this.success=(e,t)=>this.create({...t,type:"success",message:e}),this.info=(e,t)=>this.create({...t,type:"info",message:e}),this.warning=(e,t)=>this.create({...t,type:"warning",message:e}),this.loading=(e,t)=>this.create({...t,type:"loading",message:e}),this.promise=(e,t)=>{if(!t)return;let r;t.loading!==void 0&&(r=this.create({...t,promise:e,type:"loading",message:t.loading,description:typeof t.description!="function"?t.description:void 0}));let s=e instanceof Promise?e:e(),a=r!==void 0;return s.then(async l=>{if(y_(l)&&!l.ok){a=!1;let c=typeof t.error=="function"?await t.error(`HTTP error! status: ${l.status}`):t.error,d=typeof t.description=="function"?await t.description(`HTTP error! status: ${l.status}`):t.description;this.create({id:r,type:"error",message:c,description:d})}else if(t.success!==void 0){a=!1;let c=typeof t.success=="function"?await t.success(l):t.success,d=typeof t.description=="function"?await t.description(l):t.description;this.create({id:r,type:"success",message:c,description:d})}}).catch(async l=>{if(t.error!==void 0){a=!1;let c=typeof t.error=="function"?await t.error(l):t.error,d=typeof t.description=="function"?await t.description(l):t.description;this.create({id:r,type:"error",message:c,description:d})}}).finally(()=>{var l;a&&(this.dismiss(r),r=void 0),(l=t.finally)==null||l.call(t)}),r},this.custom=(e,t)=>{let r=t?.id||Cp++;return this.create({jsx:e(r),id:r,...t}),r},this.subscribers=[],this.toasts=[]}},Hn=new x_,v_=(e,t)=>{let r=t?.id||Cp++;return Hn.addToast({title:e,...t,id:r}),r},y_=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",b_=v_,w_=()=>Hn.toasts;Object.assign(b_,{success:Hn.success,info:Hn.info,warning:Hn.warning,error:Hn.error,custom:Hn.custom,message:Hn.message,promise:Hn.promise,dismiss:Hn.dismiss,loading:Hn.loading},{getHistory:w_});function j_(e,{insertAt:t}={}){if(typeof document>"u")return;let r=document.head||document.getElementsByTagName("head")[0],s=document.createElement("style");s.type="text/css",t==="top"&&r.firstChild?r.insertBefore(s,r.firstChild):r.appendChild(s),s.styleSheet?s.styleSheet.cssText=e:s.appendChild(document.createTextNode(e))}j_(`:where(html[dir="ltr"]),:where([data-sonner-toaster][dir="ltr"]){--toast-icon-margin-start: -3px;--toast-icon-margin-end: 4px;--toast-svg-margin-start: -1px;--toast-svg-margin-end: 0px;--toast-button-margin-start: auto;--toast-button-margin-end: 0;--toast-close-button-start: 0;--toast-close-button-end: unset;--toast-close-button-transform: translate(-35%, -35%)}:where(html[dir="rtl"]),:where([data-sonner-toaster][dir="rtl"]){--toast-icon-margin-start: 4px;--toast-icon-margin-end: -3px;--toast-svg-margin-start: 0px;--toast-svg-margin-end: -1px;--toast-button-margin-start: 0;--toast-button-margin-end: auto;--toast-close-button-start: unset;--toast-close-button-end: 0;--toast-close-button-transform: translate(35%, -35%)}:where([data-sonner-toaster]){position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1: hsl(0, 0%, 99%);--gray2: hsl(0, 0%, 97.3%);--gray3: hsl(0, 0%, 95.1%);--gray4: hsl(0, 0%, 93%);--gray5: hsl(0, 0%, 90.9%);--gray6: hsl(0, 0%, 88.7%);--gray7: hsl(0, 0%, 85.8%);--gray8: hsl(0, 0%, 78%);--gray9: hsl(0, 0%, 56.1%);--gray10: hsl(0, 0%, 52.3%);--gray11: hsl(0, 0%, 43.5%);--gray12: hsl(0, 0%, 9%);--border-radius: 8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:none;z-index:999999999}:where([data-sonner-toaster][data-x-position="right"]){right:max(var(--offset),env(safe-area-inset-right))}:where([data-sonner-toaster][data-x-position="left"]){left:max(var(--offset),env(safe-area-inset-left))}:where([data-sonner-toaster][data-x-position="center"]){left:50%;transform:translate(-50%)}:where([data-sonner-toaster][data-y-position="top"]){top:max(var(--offset),env(safe-area-inset-top))}:where([data-sonner-toaster][data-y-position="bottom"]){bottom:max(var(--offset),env(safe-area-inset-bottom))}:where([data-sonner-toast]){--y: translateY(100%);--lift-amount: calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);filter:blur(0);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:none;overflow-wrap:anywhere}:where([data-sonner-toast][data-styled="true"]){padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px #0000001a;width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}:where([data-sonner-toast]:focus-visible){box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast][data-y-position="top"]){top:0;--y: translateY(-100%);--lift: 1;--lift-amount: calc(1 * var(--gap))}:where([data-sonner-toast][data-y-position="bottom"]){bottom:0;--y: translateY(100%);--lift: -1;--lift-amount: calc(var(--lift) * var(--gap))}:where([data-sonner-toast]) :where([data-description]){font-weight:400;line-height:1.4;color:inherit}:where([data-sonner-toast]) :where([data-title]){font-weight:500;line-height:1.5;color:inherit}:where([data-sonner-toast]) :where([data-icon]){display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}:where([data-sonner-toast][data-promise="true"]) :where([data-icon])>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}:where([data-sonner-toast]) :where([data-icon])>*{flex-shrink:0}:where([data-sonner-toast]) :where([data-icon]) svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}:where([data-sonner-toast]) :where([data-content]){display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;cursor:pointer;outline:none;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}:where([data-sonner-toast]) :where([data-button]):focus-visible{box-shadow:0 0 0 2px #0006}:where([data-sonner-toast]) :where([data-button]):first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}:where([data-sonner-toast]) :where([data-cancel]){color:var(--normal-text);background:rgba(0,0,0,.08)}:where([data-sonner-toast][data-theme="dark"]) :where([data-cancel]){background:rgba(255,255,255,.3)}:where([data-sonner-toast]) :where([data-close-button]){position:absolute;
8left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;background:var(--gray1);color:var(--gray12);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}:where([data-sonner-toast]) :where([data-close-button]):focus-visible{box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast]) :where([data-disabled="true"]){cursor:not-allowed}:where([data-sonner-toast]):hover :where([data-close-button]):hover{background:var(--gray2);border-color:var(--gray5)}:where([data-sonner-toast][data-swiping="true"]):before{content:"";position:absolute;left:0;right:0;height:100%;z-index:-1}:where([data-sonner-toast][data-y-position="top"][data-swiping="true"]):before{bottom:50%;transform:scaleY(3) translateY(50%)}:where([data-sonner-toast][data-y-position="bottom"][data-swiping="true"]):before{top:50%;transform:scaleY(3) translateY(-50%)}:where([data-sonner-toast][data-swiping="false"][data-removed="true"]):before{content:"";position:absolute;inset:0;transform:scaleY(2)}:where([data-sonner-toast]):after{content:"";position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}:where([data-sonner-toast][data-mounted="true"]){--y: translateY(0);opacity:1}:where([data-sonner-toast][data-expanded="false"][data-front="false"]){--scale: var(--toasts-before) * .05 + 1;--y: translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}:where([data-sonner-toast])>*{transition:opacity .4s}:where([data-sonner-toast][data-expanded="false"][data-front="false"][data-styled="true"])>*{opacity:0}
8:where([data-sonner-toast][data-visible="false"]){opacity:0;pointer-events:none}:where([data-sonner-toast][data-mounted="true"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}:where([data-sonner-toast][data-removed="true"][data-front="true"][data-swipe-out="false"]){--y: translateY(calc(var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="false"]){--y: translateY(40%);opacity:0;transition:transform .5s,opacity .2s}:where([data-sonner-toast][data-removed="true"][data-front="false"]):before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount, 0px));transition:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation:swipe-out .2s ease-out forwards}@keyframes swipe-out{0%{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount)));opacity:1}to{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount) + var(--lift) * -100%));opacity:0}}@media (max-width: 600px){[data-sonner-toaster]{position:fixed;--mobile-offset: 16px;right:var(--mobile-offset);left:var(--mobile-offset);width:100%}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset)}[data-sonner-toaster][data-y-position=bottom]{bottom:20px}[data-sonner-toaster][data-y-position=top]{top:20px}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset);right:var(--mobile-offset);transform:none}}[data-sonner-toaster][data-theme=light]{--normal-bg: #fff;--normal-border: var(--gray4);--normal-text: var(--gray12);--success-bg: hsl(143, 85%, 96%);--success-border: hsl(145, 92%, 91%);--success-text: hsl(140, 100%, 27%);--info-bg: hsl(208, 100%, 97%);--info-border: hsl(221, 91%, 91%);--info-text: hsl(210, 92%, 45%);--warning-bg: hsl(49, 100%, 97%);--warning-border: hsl(49, 91%, 91%);--warning-text: hsl(31, 92%, 45%);--error-bg: hsl(359, 100%, 97%);--error-border: hsl(359, 100%, 94%);--error-text: hsl(360, 100%, 45%)}[data-sonner-toaster][data-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg: #fff;--normal-border: var(--gray3);--normal-text: var(--gray12)}[data-sonner-toaster][data-theme=dark]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1);--success-bg: hsl(150, 100%, 6%);--success-border: hsl(147, 100%, 12%);--success-text: hsl(150, 86%, 65%);--info-bg: hsl(215, 100%, 6%);--info-border: hsl(223, 100%, 12%);--info-text: hsl(216, 87%, 65%);--warning-bg: hsl(64, 100%, 6%);--warning-border: hsl(60, 100%, 12%);--warning-text: hsl(46, 87%, 65%);--error-bg: hsl(358, 76%, 10%);--error-border: hsl(357, 89%, 16%);--error-text: hsl(358, 100%, 81%)}[data-rich-colors=true][data-sonner-toast][data-type=success],[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info],[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning],[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error],[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size: 16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:nth-child(1){animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}to{opacity:.15}}@media (prefers-reduced-motion){[data-sonner-toast],[data-sonner-toast]>*,.sonner-loading-bar{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)} 9`);function Vd(e){return e.label!==void 0}var N_=3,C_="32px",S_=4e3,k_=356,A_=14,E_=20,T_=200;function I_(...e){return e.filter(Boolean).join(" ")}var P_=e=>{var t,r,s,a,l,c,d,m,f,p;let{invert:x,toast:v,unstyled:b,interacting:N,setHeights:j,visibleToasts:C,heights:k,index:A,toasts:T,expanded:P,removeToast:I,defaultRichColors:L,closeButton:$,style:z,cancelButtonStyle:Y,actionButtonStyle:ee,className:ge="",descriptionClassName:Q="",duration:de,position:J,gap:be,loadingIcon:me,expandByDefault:W,classNames:F,icons:Z,closeButtonAriaLabel:re="Close toast",pauseWhenPageIsHidden:M,cn:R}=e,[X,le]=G.useState(!1),[oe,he]=G.useState(!1),[ie,je]=G.useState(!1),[Me,Ve]=G.useState(!1),[Xe,at]=G.useState(0),[St,Yt]=G.useState(0),Mr=G.useRef(null),An=G.useRef(null),Or=A===0,O=A+1<=C,H=v.type,K=v.dismissible!==!1,we=v.className||"",xe=v.descriptionClassName||"",ue=G.useMemo(()=>k.findIndex(We=>We.toastId===v.id)||0,[k,v.id]),De=G.useMemo(()=>{var We;return(We=v.closeButton)!=null?We:$},[v.closeButton,$]),qe=G.useMemo(()=>
9v.duration||de||S_,[v.duration,de]),gt=G.useRef(0),ot=G.useRef(0),vn=G.useRef(0),dr=G.useRef(null),[Gn,ur]=J.split("-"),ta=G.useMemo(()=>k.reduce((We,lt,rt)=>rt>=ue?We:We+lt.height,0),[k,ue]),Ss=g_(),na=v.invert||x,ks=H==="loading";ot.current=G.useMemo(()=>ue*be+ta,[ue,ta]),G.useEffect(()=>{le(!0)},[]),G.useLayoutEffect(()=>{if(!X)return;let We=An.current,lt=We.style.height;We.style.height="auto";let rt=We.getBoundingClientRect().height;We.style.height=lt,Yt(rt),j(Zt=>Zt.find(Qt=>Qt.toastId===v.id)?Zt.map(Qt=>Qt.toastId===v.id?{...Qt,height:rt}:Qt):[{toastId:v.id,height:rt,position:v.position},...Zt])},[X,v.title,v.description,j,v.id]);let Yn=G.useCallback(()=>{he(!0),at(ot.current),j(We=>We.filter(lt=>lt.toastId!==v.id)),setTimeout(()=>{I(v)},T_)},[v,I,j,ot]);G.useEffect(()=>{if(v.promise&&H==="loading"||v.duration===1/0||v.type==="loading")return;let We,lt=qe;return P||N||M&&Ss?(()=>{if(vn.current<gt.current){let rt=new Date().getTime()-gt.current;lt=lt-rt}vn.current=new Date().getTime()})():lt!==1/0&&(gt.current=new Date().getTime(),We=setTimeout(()=>{var rt;(rt=v.onAutoClose)==null||rt.call(v,v),Yn()},lt)),()=>clearTimeout(We)},[P,N,W,v,qe,Yn,v.promise,H,M,Ss]),G.useEffect(()=>{let We=An.current;if(We){let lt=We.getBoundingClientRect().height;return Yt(lt),j(rt=>[{toastId:v.id,height:lt,position:v.position},...rt]),()=>j(rt=>rt.filter(Zt=>Zt.toastId!==v.id))}},[j,v.id]),G.useEffect(()=>{v.delete&&Yn()},[Yn,v.delete]);function wo(){return Z!=null&&Z.loading?G.createElement("div",{className:"sonner-loader","data-visible":H==="loading"},Z.loading):me?G.createElement("div",{className:"sonner-loader","data-visible":H==="loading"},me):G.createElement(u_,{visible:H==="loading"})}return G.createElement("li",{"aria-live":v.important?"assertive":"polite","aria-atomic":"true",role:"status",tabIndex:0,ref:An,className:R(ge,we,F?.toast,(t=v?.classNames)==null?void 0:t.toast,F?.default,F?.[H],(r=v?.classNames)==null?void 0:r[H]),"data-sonner-toast":"","data-rich-colors":(s=v.richColors)!=null?s:L,"data-styled":!(v.jsx||v.unstyled||b),"data-mounted":X,"data-promise":!!v.promise,"data-removed":oe,"data-visible":O,"data-y-position":Gn,"data-x-position":ur,"data-index":A,"data-front":Or,"data-swiping":ie,"data-dismissible":K,"data-type":H,"data-invert":na,"data-swipe-out":Me,"data-expanded":!!(P||W&&X),style:{"--index":A,"--toasts-before":A,"--z-index":T.length-A,"--offset":`${oe?Xe:ot.current}px`,"--initial-height":W?"auto":`${St}px`,...z,...v.style},onPointerDown:We=>{ks||!K||(Mr.current=new Date,at(ot.current),We.target.setPointerCapture(We.pointerId),We.target.tagName!=="BUTTON"&&(je(!0),dr.current={x:We.clientX,y:We.clientY}))},onPointerUp:()=>{var We,lt,rt,Zt;if(Me||!K)return;dr.current=null;let Qt=Number(((We=An.current)==null?void 0:We.style.getPropertyValue("--swipe-amount").replace("px",""))||0),yi=new Date().getTime()-((lt=Mr.current)==null?void 0:lt.getTime()),Ac=Math.abs(Qt)/yi;
9if(Math.abs(Qt)>=E_||Ac>.11){at(ot.current),(rt=v.onDismiss)==null||rt.call(v,v),Yn(),Ve(!0);return}(Zt=An.current)==null||Zt.style.setProperty("--swipe-amount","0px"),je(!1)},onPointerMove:We=>{var lt;if(!dr.current||!K)return;let rt=We.clientY-dr.current.y,Zt=We.clientX-dr.current.x,Qt=(Gn==="top"?Math.min:Math.max)(0,rt),yi=We.pointerType==="touch"?10:2;Math.abs(Qt)>yi?(lt=An.current)==null||lt.style.setProperty("--swipe-amount",`${rt}px`):Math.abs(Zt)>yi&&(dr.current=null)}},De&&!v.jsx?G.createElement("button",{"aria-label":re,"data-disabled":ks,"data-close-button":!0,onClick:ks||!K?()=>{}:()=>{var We;Yn(),(We=v.onDismiss)==null||We.call(v,v)},className:R(F?.closeButton,(a=v?.classNames)==null?void 0:a.closeButton)},G.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"},G.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),G.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"}))):null,v.jsx||G.isValidElement(v.title)?v.jsx||v.title:G.createElement(G.Fragment,null,H||v.icon||v.promise?G.createElement("div",{"data-icon":"",className:R(F?.icon,(l=v?.classNames)==null?void 0:l.icon)},v.promise||v.type==="loading"&&!v.icon?v.icon||wo():null,v.type!=="loading"?v.icon||Z?.[H]||c_(H):null):null,G.createElement("div",{"data-content":"",className:R(F?.content,(c=v?.classNames)==null?void 0:c.content)},G.createElement("div",{"data-title":"",className:R(F?.title,(d=v?.classNames)==null?void 0:d.title)},v.title),v.description?G.createElement("div",{"data-description":"",className:R(Q,xe,F?.description,(m=v?.classNames)==null?void 0:m.description)},v.description):null),G.isValidElement(v.cancel)?v.cancel:v.cancel&&Vd(v.cancel)?G.createElement("button",{"data-button":!0,"data-cancel":!0,style:v.cancelButtonStyle||Y,onClick:We=>{var lt,rt;Vd(v.cancel)&&K&&((rt=(lt=v.cancel).onClick)==null||rt.call(lt,We),Yn())},className:R(F?.cancelButton,(f=v?.classNames)==null?void 0:f.cancelButton)},v.cancel.label):null,G.isValidElement(v.action)?v.action:v.action&&Vd(v.action)?G.createElement("button",{"data-button":!0,"data-action":!0,style:v.actionButtonStyle||ee,onClick:We=>{var lt,rt;Vd(v.action)&&(We.defaultPrevented||((rt=(lt=v.action).onClick)==null||rt.call(lt,We),Yn()))},className:R(F?.actionButton,(p=v?.classNames)==null?void 0:p.actionButton)},v.action.label):null))};function jb(){if(typeof window>"u"||typeof document>"u")return"ltr";let e=document.documentElement.getAttribute("dir");return e==="auto"||!e?window.getComputedStyle(document.documentElement).direction:e}var __=e=>{let{invert:t,position:r="bottom-right",hotkey:s=["altKey","KeyT"],expand:a,closeButton:l,className:c,offset:d,theme:m="light",richColors:f,duration:p,style:x,visibleToasts:v=N_,toastOptions:b,dir:N=jb(),gap:j=A_,loadingIcon:C,icons:k,containerAriaLabel:A="Notifications",pauseWhenPageIsHidden:T,cn:P=I_}=e,[I,L]=G.useState([]),$=G.useMemo(()=>Array.from(new Set([r].concat(I.filter(M=>M.position).map(M=>M.position)))),[I,r]),[z,Y]=G.useState([]),[ee,ge]=G.useState(!1),[Q,de]=G.useState(!1),[J,be]=G.useState(m!=="system"?m:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),me=G.useRef(null),W=s.join("+").replace(/Key/g,"").replace(/Digit/g,""),F=G.useRef(null),Z=G.useRef(!1),re=G.useCallback(M=>{var R;(R=I.find(X=>X.id===M.id))!=null&&R.delete||Hn.dismiss(M.id),L(X=>X.filter(({id:le})=>le!==M.id))},[I]);return G.useEffect(()=>Hn.subscribe(M=>{if(M.dismiss){L(R=>R.map(X=>X.id===M.id?{...X,delete:!0}:X));return}setTimeout(()=>{Ku.flushSync(()=>{L(R=>{let X=R.findIndex(le=>le.id===M.id);return X!==-1?[...R.slice(0,X),{...R[X],...M},...R.slice(X+1)]:[M,...R]})})})}),[]),G.useEffect(()=>{if(m!=="system"){be(m);return}m==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?be("dark"):be("light")),typeof window<"u"&&window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",({matches:M})=>{be(M?"dark":"light")})},[m]),G.useEffect(()=>{I.length<=1&&ge(!1)},[I]),G.useEffect(()=>{let M=R=>{var X,le;s.every(oe=>R[oe]||R.code===oe)&&(ge(!0),(X=me.current)==null||X.focus()),R.code==="Escape"&&(document.activeElement===me.current||(le=me.current)!=null&&le.contains(document.activeElement))&&ge(!1)};return document.addEventListener("keydown",M),()=>document.removeEventListener("keydown",M)},[s]),G.useEffect(()=>{if(me.current)return()=>{F.current&&(F.current.focus({preventScroll:!0}),F.current=null,Z.current=!1)}},[me.current]),I.length?G.createElement("section",{"aria-label":`${A} ${W}`,tabIndex:-1},$.map((M,R)=>{var X;let[le,oe]=M.split("-");return G.createElement("ol",{key:M,dir:N==="auto"?jb():N,tabIndex:-1,ref:me,className:c,"data-sonner-toaster":!0,"data-theme":J,"data-y-position":le,"data-x-position":oe,style:{"--front-toast-height":`${((X=z[0])==null?void 0:X.height)||0}px`,"--offset":typeof d=="number"?`${d}px`:d||C_,"--width":`${k_}px`,"--gap":`${j}px`,...x},onBlur:he=>{Z.current&&!he.currentTarget.contains(he.relatedTarget)&&(Z.current=!1,F.current&&(F.current.focus({preventScroll:!0}),F.current=null))},onFocus:he=>{he.target instanceof HTMLElement&&he.target.dataset.dismissible==="false"||Z.current||(Z.current=!0,F.current=he.relatedTarget)},onMouseEnter:()=>ge(!0),onMouseMove:()=>ge(!0),onMouseLeave:()=>{Q||ge(!1)},onPointerDown:he=>{he.target instanceof HTMLElement&&he.target.dataset.dismissible==="false"||de(!0)},onPointerUp:()=>de(!1)},I.filter(he=>!he.position&&R===0||he.position===M).map((he,ie)=>{var je,Me;return G.createElement(P_,{key:he.id,icons:k,index:ie,toast:he,defaultRichColors:f,duration:(je=b?.duration)!=null?je:p,className:b?.className,descriptionClassName:b?.descriptionClassName,invert:t,visibleToasts:v,closeButton:(Me=b?.closeButton)!=null?Me:l,interacting:Q,position:M,style:b?.style,unstyled:b?.unstyled,classNames:b?.classNames,cancelButtonStyle:b?.cancelButtonStyle,actionButtonStyle:b?.actionButtonStyle,removeToast:re,toasts:I.filter(Ve=>Ve.position==he.position),heights:z.filter(Ve=>Ve.position==he.position),setHeights:Y,expandByDefault:a,gap:j,loadingIcon:C,expanded:ee,pauseWhenPageIsHidden:T,cn:P})}))})):null};const R_=({...e})=>{const{theme:t="system"}=l_();return n.jsx(__,{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 M_=kg.useId||(()=>{}),O_=0;function Ar(e){const[t,r]=g.useState(M_());return Ot(()=>{r(s=>s??String(O_++))},[e]),e||(t?`radix-${t}`:"")}const D_=["top","right","bottom","left"],si=Math.min,Un=Math.max,vu=Math.round,Fd=Math.floor,ii=e=>({x:e,y:e}
vendor: 5,385 bytes, line 9
9),L_={left:"right",right:"left",bottom:"top",top:"bottom"},V_={start:"end",end:"start"};function Sp(e,t,r){return Un(e,si(t,r))}function bs(e,t){return typeof e=="function"?e(t):e}function ws(e){return e.split("-")[0]}function fo(e){return e.split("-")[1]}function Mg(e){return e==="x"?"y":"x"}function Og(e){return e==="y"?"height":"width"}function ai(e){return["top","bottom"].includes(ws(e))?"y":"x"}function Dg(e){return Mg(ai(e))}function F_(e,t,r){r===void 0&&(r=!1);const s=fo(e),a=Dg(e),l=Og(a);let c=a==="x"?s===(r?"end":"start")?"right":"left":s==="start"?"bottom":"top";return t.reference[l]>t.floating[l]&&(c=yu(c)),[c,yu(c)]}function $_(e){const t=yu(e);return[kp(e),t,kp(t)]}function kp(e){return e.replace(/start|end/g,t=>V_[t])}function B_(e,t,r){const s=["left","right"],a=["right","left"],l=["top","bottom"],c=["bottom","top"];switch(e){case"top":case"bottom":return r?t?a:s:t?s:a;case"left":case"right":return t?l:c;default:return[]}}function z_(e,t,r,s){const a=fo(e);let l=B_(ws(e),r==="start",s);return a&&(l=l.map(c=>c+"-"+a),t&&(l=l.concat(l.map(kp)))),l}function yu(e){return e.replace(/left|right|bottom|top/g,t=>L_[t])}function H_(e){return{top:0,right:0,bottom:0,left:0,...e}}function cN(e){return typeof e!="number"?H_(e):{top:e,right:e,bottom:e,left:e}}function bu(e){const{x:t,y:r,width:s,height:a}=e;return{width:s,height:a,top:r,left:t,right:t+s,bottom:r+a,x:t,y:r}}function Nb(e,t,r){let{reference:s,floating:a}=e;const l=ai(t),c=Dg(t),d=Og(c),m=ws(t),f=l==="y",p=s.x+s.width/2-a.width/2,x=s.y+s.height/2-a.height/2,v=s[d]/2-a[d]/2;let b;switch(m){case"top":b={x:p,y:s.y-a.height};break;case"bottom":b={x:p,y:s.y+s.height};break;case"right":b={x:s.x+s.width,y:x};break;case"left":b={x:s.x-a.width,y:x};break;default:b={x:s.x,y:s.y}}switch(fo(t)){case"start":b[c]-=v*(r&&f?-1:1);break;case"end":b[c]+=v*(r&&f?-1:1);break}return b}const U_=async(e,t,r)=>{const{placement:s="bottom",strategy:a="absolute",middleware:l=[],platform:c}=r,d=l.filter(Boolean),m=await(c.isRTL==null?void 0:c.isRTL(t));let f=await c.getElementRects({reference:e,floating:t,strategy:a}),{x:p,y:x}=Nb(f,s,m),v=s,b={},N=0;for(let j=0;j<d.length;j++){const{name:C,fn:k}=d[j],{x:A,y:T,data:P,reset:I}=await k({x:p,y:x,initialPlacement:s,placement:v,strategy:a,middlewareData:b,rects:f,platform:c,elements:{reference:e,floating:t}});p=A??p,x=T??x,b={...b,[C]:{...b[C],...P}},I&&N<=50&&(N++,typeof I=="object"&&(I.placement&&(v=I.placement),I.rects&&(f=I.rects===!0?await c.getElementRects({reference:e,floating:t,strategy:a}):I.rects),{x:p,y:x}=Nb(f,v,m)),j=-1)}return{x:p,y:x,placement:v,strategy:a,middlewareData:b}};async function Ml(e,t){var r;t===void 0&&(t={});const{x:s,y:a,platform:l,rects:c,elements:d,strategy:m}=e,{boundary:f="clippingAncestors",rootBoundary:p="viewport",elementContext:x="floating",altBoundary:v=!1,padding:b=0}=bs(t,e),N=cN(b),C=d[v?x==="floating"?"reference":"floating":x],k=bu(await l.getClippingRect({element:(r=await(l.isElement==null?void 0:l.isElement(C)))==null||r?C:C.contextElement||await(l.getDocumentElement==null?void 0:l.getDocumentElement(d.floating)),boundary:f,rootBoundary:p,strategy:m})),A=x==="floating"?{x:s,y:a,width:c.floating.width,height:c.floating.height}:c.reference,T=await(l.getOffsetParent==null?void 0:l.getOffsetParent(d.floating)),P=await(l.isElement==null?void 0:l.isElement(T))?await(l.getScale==null?void 0:l.getScale(T))||{x:1,y:1}:{x:1,y:1},I=bu(l.convertOffsetParentRelativeRectToViewportRelativeRect?await l.convertOffsetParentRelativeRectToViewportRelativeRect({elements:d,rect:A,offsetParent:T,strategy:m}):A);return{top:(k.top-I.top+N.top)/P.y,bottom:(I.bottom-k.bottom+N.bottom)/P.y,left:(k.left-I.left+N.left)/P.x,right:(I.right-k.right+N.right)/P.x}}const W_=e=>({name:"arrow",options:e,async fn(t){const{x:r,y:s,placement:a,rects:l,platform:c,elements:d,middlewareData:m}=t,{element:f,padding:p=0}=bs(e,t)||{};if(f==null)return{};const x=cN(p),v={x:r,y:s},b=Dg(a),N=Og(b),j=await c.getDimensions(f),C=b==="y",k=C?"top":"left",A=C?"bottom":"right",T=C?"clientHeight":"clientWidth",P=l.reference[N]+l.reference[b]-v[b]-l.floating[N],I=v[b]-l.reference[b],L=await(c.getOffsetParent==null?void 0:c.getOffsetParent(f));let $=L?L[T]:0;(!$||!await(c.isElement==null?void 0:c.isElement(L)))&&($=d.floating[T]||l.floating[N]);const z=P/2-I/2,Y=$/2-j[N]/2-1,ee=si(x[k],Y),ge=si(x[A],Y),Q=ee,de=$-j[N]-ge,J=$/2-j[N]/2+z,be=Sp(Q,J,de),me=!m.arrow&&fo(a)!=null&&J!==be&&l.reference[N]/2-(J<Q?ee:ge)-j[N]/2<0,W=me?J<Q?J-Q:J-de:0;return{[b]:v[b]+W,data:{[b]:be,centerOffset:J-be-W,...me&&{alignmentOffset:W}},reset:me}}}),q_=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var r,s;const{placement:a,middlewareData:l,rects:c,initialPlacement:d,platform:m,elements:f}=t,{mainAxis:p=!0,crossAxis:x=!0,fallbackPlacements:v,fallbackStrategy:b="bestFit",fallbackAxisSideDirection:N="none",flipAlignment:j=!0,...C}=bs(e,t);if((r=l.arrow)!=null&&r.alignmentOffset)return{};const k=ws(a),A=ai(d),T=ws(d)===d,P=await(m.isRTL==null?void 0:m.isRTL(f.floating)),I=v||(T||!j?[yu(d)]:$_(d)),L=N!=="none";!v&&L&&I.push(...z_(d,j,N,P));const $=[d,...I],z=await Ml(t,C),Y=[];let ee=((s=l.flip)==null?void 0:s.overflows)||[];if(p&&Y.push(z[k]),x){const J=F_(a,c,P);Y.push(z[J[0]],z[J[1]])}if(ee=[...ee,{placement:a,overflows:Y}],!Y.every(J=>J<=0)){var ge,Q;const J=(((ge=l.flip)==null?void 0:ge.index)||0)+1,be=$[J];
vendor: 6,192 bytes, line 9
9if(be)return{data:{index:J,overflows:ee},reset:{placement:be}};let me=(Q=ee.filter(W=>W.overflows[0]<=0).sort((W,F)=>W.overflows[1]-F.overflows[1])[0])==null?void 0:Q.placement;if(!me)switch(b){case"bestFit":{var de;const W=(de=ee.filter(F=>{if(L){const Z=ai(F.placement);return Z===A||Z==="y"}return!0}).map(F=>[F.placement,F.overflows.filter(Z=>Z>0).reduce((Z,re)=>Z+re,0)]).sort((F,Z)=>F[1]-Z[1])[0])==null?void 0:de[0];W&&(me=W);break}case"initialPlacement":me=d;break}if(a!==me)return{reset:{placement:me}}}return{}}}};function Cb(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Sb(e){return D_.some(t=>e[t]>=0)}const K_=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:r}=t,{strategy:s="referenceHidden",...a}=bs(e,t);switch(s){case"referenceHidden":{const l=await Ml(t,{...a,elementContext:"reference"}),c=Cb(l,r.reference);return{data:{referenceHiddenOffsets:c,referenceHidden:Sb(c)}}}case"escaped":{const l=await Ml(t,{...a,altBoundary:!0}),c=Cb(l,r.floating);return{data:{escapedOffsets:c,escaped:Sb(c)}}}default:return{}}}}};async function G_(e,t){const{placement:r,platform:s,elements:a}=e,l=await(s.isRTL==null?void 0:s.isRTL(a.floating)),c=ws(r),d=fo(r),m=ai(r)==="y",f=["left","top"].includes(c)?-1:1,p=l&&m?-1:1,x=bs(t,e);let{mainAxis:v,crossAxis:b,alignmentAxis:N}=typeof x=="number"?{mainAxis:x,crossAxis:0,alignmentAxis:null}:{mainAxis:x.mainAxis||0,crossAxis:x.crossAxis||0,alignmentAxis:x.alignmentAxis};return d&&typeof N=="number"&&(b=d==="end"?N*-1:N),m?{x:b*p,y:v*f}:{x:v*f,y:b*p}}const Y_=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var r,s;const{x:a,y:l,placement:c,middlewareData:d}=t,m=await G_(t,e);return c===((r=d.offset)==null?void 0:r.placement)&&(s=d.arrow)!=null&&s.alignmentOffset?{}:{x:a+m.x,y:l+m.y,data:{...m,placement:c}}}}},Z_=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:s,placement:a}=t,{mainAxis:l=!0,crossAxis:c=!1,limiter:d={fn:C=>{let{x:k,y:A}=C;return{x:k,y:A}}},...m}=bs(e,t),f={x:r,y:s},p=await Ml(t,m),x=ai(ws(a)),v=Mg(x);let b=f[v],N=f[x];if(l){const C=v==="y"?"top":"left",k=v==="y"?"bottom":"right",A=b+p[C],T=b-p[k];b=Sp(A,b,T)}if(c){const C=x==="y"?"top":"left",k=x==="y"?"bottom":"right",A=N+p[C],T=N-p[k];N=Sp(A,N,T)}const j=d.fn({...t,[v]:b,[x]:N});return{...j,data:{x:j.x-r,y:j.y-s,enabled:{[v]:l,[x]:c}}}}}},Q_=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:r,y:s,placement:a,rects:l,middlewareData:c}=t,{offset:d=0,mainAxis:m=!0,crossAxis:f=!0}=bs(e,t),p={x:r,y:s},x=ai(a),v=Mg(x);let b=p[v],N=p[x];const j=bs(d,t),C=typeof j=="number"?{mainAxis:j,crossAxis:0}:{mainAxis:0,crossAxis:0,...j};if(m){const T=v==="y"?"height":"width",P=l.reference[v]-l.floating[T]+C.mainAxis,I=l.reference[v]+l.reference[T]-C.mainAxis;b<P?b=P:b>I&&(b=I)}if(f){var k,A;const T=v==="y"?"width":"height",P=["top","left"].includes(ws(a)),I=l.reference[x]-l.floating[T]+(P&&((k=c.offset)==null?void 0:k[x])||0)+(P?0:C.crossAxis),L=l.reference[x]+l.reference[T]+(P?0:((A=c.offset)==null?void 0:A[x])||0)-(P?C.crossAxis:0);N<I?N=I:N>L&&(N=L)}return{[v]:b,[x]:N}}}},X_=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var r,s;const{placement:a,rects:l,platform:c,elements:d}=t,{apply:m=()=>{},...f}=bs(e,t),p=await Ml(t,f),x=ws(a),v=fo(a),b=ai(a)==="y",{width:N,height:j}=l.floating;let C,k;x==="top"||x==="bottom"?(C=x,k=v===(await(c.isRTL==null?void 0:c.isRTL(d.floating))?"start":"end")?"left":"right"):(k=x,C=v==="end"?"top":"bottom");const A=j-p.top-p.bottom,T=N-p.left-p.right,P=si(j-p[C],A),I=si(N-p[k],T),L=!t.middlewareData.shift;let $=P,z=I;if((r=t.middlewareData.shift)!=null&&r.enabled.x&&(z=T),(s=t.middlewareData.shift)!=null&&s.enabled.y&&($=A),L&&!v){const ee=Un(p.left,0),ge=Un(p.right,0),Q=Un(p.top,0),de=Un(p.bottom,0);b?z=N-2*(ee!==0||ge!==0?ee+ge:Un(p.left,p.right)):$=j-2*(Q!==0||de!==0?Q+de:Un(p.top,p.bottom))}await m({...t,availableWidth:z,availableHeight:$});const Y=await c.getDimensions(d.floating);return N!==Y.width||j!==Y.height?{reset:{rects:!0}}:{}}}};function Ju(){return typeof window<"u"}function ho(e){return dN(e)?(e.nodeName||"").toLowerCase():"#document"}function Wn(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Xr(e){var t;return(t=(dN(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function dN(e){return Ju()?e instanceof Node||e instanceof Wn(e).Node:!1}function Ir(e){return Ju()?e instanceof Element||e instanceof Wn(e).Element:!1}function qr(e){return Ju()?e instanceof HTMLElement||e instanceof Wn(e).HTMLElement:!1}function kb(e){return!Ju()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Wn(e).ShadowRoot}function fc(e){const{overflow:t,overflowX:r,overflowY:s,display:a}=Pr(e);return/auto|scroll|overlay|hidden|clip/.test(t+s+r)&&!["inline","contents"].includes(a)}function J_(e){return["table","td","th"].includes(ho(e))}function em(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function Lg(e){const t=Vg(),r=Ir(e)?Pr(e):e;return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!t&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!t&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(s=>(r.willChange||"").includes(s))||["paint","layout","strict","content"].some(s=>(r.contain||"").includes(s))}function e5(e){let t=oi(e);for(;qr(t)&&!Xa(t);){if(Lg(t))return t;if(em(t))return null;t=oi(t)}return null}function Vg(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Xa(e){return["html","body","#document"].includes(ho(e))}function Pr(e){return Wn(e).getComputedStyle(e)}function tm(e){return Ir(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function oi(e){if(ho(e)==="html")return e;const t=e.assignedSlot||e.parentNode||kb(e)&&e.host||Xr(e);return kb(t)?t.host:t}function uN(e){const t=oi(e);return Xa(t)?e.ownerDocument?e.ownerDocument.body:e.body:qr(t)&&fc(t)?t:uN(t)}function Ol(e,t,r){var s;
vendor: 5,651 bytes, line 9
9t===void 0&&(t=[]),r===void 0&&(r=!0);const a=uN(e),l=a===((s=e.ownerDocument)==null?void 0:s.body),c=Wn(a);if(l){const d=Ap(c);return t.concat(c,c.visualViewport||[],fc(a)?a:[],d&&r?Ol(d):[])}return t.concat(a,Ol(a,[],r))}function Ap(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function mN(e){const t=Pr(e);let r=parseFloat(t.width)||0,s=parseFloat(t.height)||0;const a=qr(e),l=a?e.offsetWidth:r,c=a?e.offsetHeight:s,d=vu(r)!==l||vu(s)!==c;return d&&(r=l,s=c),{width:r,height:s,$:d}}function Fg(e){return Ir(e)?e:e.contextElement}function Ha(e){const t=Fg(e);if(!qr(t))return ii(1);const r=t.getBoundingClientRect(),{width:s,height:a,$:l}=mN(t);let c=(l?vu(r.width):r.width)/s,d=(l?vu(r.height):r.height)/a;return(!c||!Number.isFinite(c))&&(c=1),(!d||!Number.isFinite(d))&&(d=1),{x:c,y:d}}const t5=ii(0);function fN(e){const t=Wn(e);return!Vg()||!t.visualViewport?t5:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function n5(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==Wn(e)?!1:t}function Bi(e,t,r,s){t===void 0&&(t=!1),r===void 0&&(r=!1);const a=e.getBoundingClientRect(),l=Fg(e);let c=ii(1);t&&(s?Ir(s)&&(c=Ha(s)):c=Ha(e));const d=n5(l,r,s)?fN(l):ii(0);let m=(a.left+d.x)/c.x,f=(a.top+d.y)/c.y,p=a.width/c.x,x=a.height/c.y;if(l){const v=Wn(l),b=s&&Ir(s)?Wn(s):s;let N=v,j=Ap(N);for(;j&&s&&b!==N;){const C=Ha(j),k=j.getBoundingClientRect(),A=Pr(j),T=k.left+(j.clientLeft+parseFloat(A.paddingLeft))*C.x,P=k.top+(j.clientTop+parseFloat(A.paddingTop))*C.y;m*=C.x,f*=C.y,p*=C.x,x*=C.y,m+=T,f+=P,N=Wn(j),j=Ap(N)}}return bu({width:p,height:x,x:m,y:f})}function r5(e){let{elements:t,rect:r,offsetParent:s,strategy:a}=e;const l=a==="fixed",c=Xr(s),d=t?em(t.floating):!1;if(s===c||d&&l)return r;let m={scrollLeft:0,scrollTop:0},f=ii(1);const p=ii(0),x=qr(s);if((x||!x&&!l)&&((ho(s)!=="body"||fc(c))&&(m=tm(s)),qr(s))){const v=Bi(s);f=Ha(s),p.x=v.x+s.clientLeft,p.y=v.y+s.clientTop}return{width:r.width*f.x,height:r.height*f.y,x:r.x*f.x-m.scrollLeft*f.x+p.x,y:r.y*f.y-m.scrollTop*f.y+p.y}}function s5(e){return Array.from(e.getClientRects())}function Ep(e,t){const r=tm(e).scrollLeft;return t?t.left+r:Bi(Xr(e)).left+r}function i5(e){const t=Xr(e),r=tm(e),s=e.ownerDocument.body,a=Un(t.scrollWidth,t.clientWidth,s.scrollWidth,s.clientWidth),l=Un(t.scrollHeight,t.clientHeight,s.scrollHeight,s.clientHeight);let c=-r.scrollLeft+Ep(e);const d=-r.scrollTop;return Pr(s).direction==="rtl"&&(c+=Un(t.clientWidth,s.clientWidth)-a),{width:a,height:l,x:c,y:d}}function a5(e,t){const r=Wn(e),s=Xr(e),a=r.visualViewport;let l=s.clientWidth,c=s.clientHeight,d=0,m=0;if(a){l=a.width,c=a.height;const f=Vg();(!f||f&&t==="fixed")&&(d=a.offsetLeft,m=a.offsetTop)}return{width:l,height:c,x:d,y:m}}function o5(e,t){const r=Bi(e,!0,t==="fixed"),s=r.top+e.clientTop,a=r.left+e.clientLeft,l=qr(e)?Ha(e):ii(1),c=e.clientWidth*l.x,d=e.clientHeight*l.y,m=a*l.x,f=s*l.y;return{width:c,height:d,x:m,y:f}}function Ab(e,t,r){let s;if(t==="viewport")s=a5(e,r);else if(t==="document")s=i5(Xr(e));else if(Ir(t))s=o5(t,r);else{const a=fN(e);s={...t,x:t.x-a.x,y:t.y-a.y}}return bu(s)}function hN(e,t){const r=oi(e);return r===t||!Ir(r)||Xa(r)?!1:Pr(r).position==="fixed"||hN(r,t)}function l5(e,t){const r=t.get(e);if(r)return r;let s=Ol(e,[],!1).filter(d=>Ir(d)&&ho(d)!=="body"),a=null;const l=Pr(e).position==="fixed";let c=l?oi(e):e;for(;Ir(c)&&!Xa(c);){const d=Pr(c),m=Lg(c);!m&&d.position==="fixed"&&(a=null),(l?!m&&!a:!m&&d.position==="static"&&!!a&&["absolute","fixed"].includes(a.position)||fc(c)&&!m&&hN(e,c))?s=s.filter(p=>p!==c):a=d,c=oi(c)}return t.set(e,s),s}function c5(e){let{element:t,boundary:r,rootBoundary:s,strategy:a}=e;const c=[...r==="clippingAncestors"?em(t)?[]:l5(t,this._c):[].concat(r),s],d=c[0],m=c.reduce((f,p)=>{const x=Ab(t,p,a);return f.top=Un(x.top,f.top),f.right=si(x.right,f.right),f.bottom=si(x.bottom,f.bottom),f.left=Un(x.left,f.left),f},Ab(t,d,a));return{width:m.right-m.left,height:m.bottom-m.top,x:m.left,y:m.top}}function d5(e){const{width:t,height:r}=mN(e);return{width:t,height:r}}function u5(e,t,r){const s=qr(t),a=Xr(t),l=r==="fixed",c=Bi(e,!0,l,t);let d={scrollLeft:0,scrollTop:0};const m=ii(0);if(s||!s&&!l)if((ho(t)!=="body"||fc(a))&&(d=tm(t)),s){const b=Bi(t,!0,l,t);m.x=b.x+t.clientLeft,m.y=b.y+t.clientTop}else a&&(m.x=Ep(a));let f=0,p=0;if(a&&!s&&!l){const b=a.getBoundingClientRect();p=b.top+d.scrollTop,f=b.left+d.scrollLeft-Ep(a,b)}const x=c.left+d.scrollLeft-m.x-f,v=c.top+d.scrollTop-m.y-p;return{x,y:v,width:c.width,height:c.height}}function Ah(e){return Pr(e).position==="static"}function Eb(e,t){if(!qr(e)||Pr(e).position==="fixed")return null;if(t)return t(e);let r=e.offsetParent;return Xr(e)===r&&(r=r.ownerDocument.body),r}function pN(e,t){const r=Wn(e);if(em(e))return r;if(!qr(e)){let a=oi(e);for(;a&&!Xa(a);){if(Ir(a)&&!Ah(a))return a;a=oi(a)}return r}let s=Eb(e,t);for(;s&&J_(s)&&Ah(s);)s=Eb(s,t);return s&&Xa(s)&&Ah(s)&&!Lg(s)?r:s||e5(e)||r}const m5=async function(e){const t=this.getOffsetParent||pN,r=this.getDimensions,s=await r(e.floating);return{reference:u5(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:s.width,height:s.height}}};function f5(e){return Pr(e).direction==="rtl"}const h5={convertOffsetParentRelativeRectToViewportRelativeRect:r5,getDocumentElement:Xr,getClippingRect:c5,getOffsetParent:pN,getElementRects:m5,getClientRects:s5,getDimensions:d5,getScale:Ha,isElement:Ir,isRTL:f5};function p5(e,t){let r=null,s;const a=Xr(e);function l(){var d;clearTimeout(s),(d=r)==null||d.disconnect(),r=null}function c(d,m){d===void 0&&(d=!1),m===void 0&&(m=1),l();const{left:f,top:p,width:x,height:v}=e.getBoundingClientRect();if(d||t(),!x||!v)return;
vendor: 4,559 bytes, line 9
9const b=Fd(p),N=Fd(a.clientWidth-(f+x)),j=Fd(a.clientHeight-(p+v)),C=Fd(f),A={rootMargin:-b+"px "+-N+"px "+-j+"px "+-C+"px",threshold:Un(0,si(1,m))||1};let T=!0;function P(I){const L=I[0].intersectionRatio;if(L!==m){if(!T)return c();L?c(!1,L):s=setTimeout(()=>{c(!1,1e-7)},1e3)}T=!1}try{r=new IntersectionObserver(P,{...A,root:a.ownerDocument})}catch{r=new IntersectionObserver(P,A)}r.observe(e)}return c(!0),l}function g5(e,t,r,s){s===void 0&&(s={});const{ancestorScroll:a=!0,ancestorResize:l=!0,elementResize:c=typeof ResizeObserver=="function",layoutShift:d=typeof IntersectionObserver=="function",animationFrame:m=!1}=s,f=Fg(e),p=a||l?[...f?Ol(f):[],...Ol(t)]:[];p.forEach(k=>{a&&k.addEventListener("scroll",r,{passive:!0}),l&&k.addEventListener("resize",r)});const x=f&&d?p5(f,r):null;let v=-1,b=null;c&&(b=new ResizeObserver(k=>{let[A]=k;A&&A.target===f&&b&&(b.unobserve(t),cancelAnimationFrame(v),v=requestAnimationFrame(()=>{var T;(T=b)==null||T.observe(t)})),r()}),f&&!m&&b.observe(f),b.observe(t));let N,j=m?Bi(e):null;m&&C();function C(){const k=Bi(e);j&&(k.x!==j.x||k.y!==j.y||k.width!==j.width||k.height!==j.height)&&r(),j=k,N=requestAnimationFrame(C)}return r(),()=>{var k;p.forEach(A=>{a&&A.removeEventListener("scroll",r),l&&A.removeEventListener("resize",r)}),x?.(),(k=b)==null||k.disconnect(),b=null,m&&cancelAnimationFrame(N)}}const x5=Y_,v5=Z_,y5=q_,b5=X_,w5=K_,Tb=W_,j5=Q_,N5=(e,t,r)=>{const s=new Map,a={platform:h5,...r},l={...a.platform,_c:s};return U_(e,t,{...a,platform:l})};var ru=typeof document<"u"?g.useLayoutEffect:g.useEffect;function wu(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 r,s,a;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(r=e.length,r!==t.length)return!1;for(s=r;s--!==0;)if(!wu(e[s],t[s]))return!1;return!0}if(a=Object.keys(e),r=a.length,r!==Object.keys(t).length)return!1;for(s=r;s--!==0;)if(!{}.hasOwnProperty.call(t,a[s]))return!1;for(s=r;s--!==0;){const l=a[s];if(!(l==="_owner"&&e.$$typeof)&&!wu(e[l],t[l]))return!1}return!0}return e!==e&&t!==t}function gN(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Ib(e,t){const r=gN(e);return Math.round(t*r)/r}function Eh(e){const t=g.useRef(e);return ru(()=>{t.current=e}),t}function C5(e){e===void 0&&(e={});const{placement:t="bottom",strategy:r="absolute",middleware:s=[],platform:a,elements:{reference:l,floating:c}={},transform:d=!0,whileElementsMounted:m,open:f}=e,[p,x]=g.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[v,b]=g.useState(s);wu(v,s)||b(s);const[N,j]=g.useState(null),[C,k]=g.useState(null),A=g.useCallback(F=>{F!==L.current&&(L.current=F,j(F))},[]),T=g.useCallback(F=>{F!==$.current&&($.current=F,k(F))},[]),P=l||N,I=c||C,L=g.useRef(null),$=g.useRef(null),z=g.useRef(p),Y=m!=null,ee=Eh(m),ge=Eh(a),Q=Eh(f),de=g.useCallback(()=>{if(!L.current||!$.current)return;const F={placement:t,strategy:r,middleware:v};ge.current&&(F.platform=ge.current),N5(L.current,$.current,F).then(Z=>{const re={...Z,isPositioned:Q.current!==!1};J.current&&!wu(z.current,re)&&(z.current=re,hi.flushSync(()=>{x(re)}))})},[v,t,r,ge,Q]);ru(()=>{f===!1&&z.current.isPositioned&&(z.current.isPositioned=!1,x(F=>({...F,isPositioned:!1})))},[f]);const J=g.useRef(!1);ru(()=>(J.current=!0,()=>{J.current=!1}),[]),ru(()=>{if(P&&(L.current=P),I&&($.current=I),P&&I){if(ee.current)return ee.current(P,I,de);de()}},[P,I,de,ee,Y]);const be=g.useMemo(()=>({reference:L,floating:$,setReference:A,setFloating:T}),[A,T]),me=g.useMemo(()=>({reference:P,floating:I}),[P,I]),W=g.useMemo(()=>{const F={position:r,left:0,top:0};if(!me.floating)return F;const Z=Ib(me.floating,p.x),re=Ib(me.floating,p.y);return d?{...F,transform:"translate("+Z+"px, "+re+"px)",...gN(me.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:Z,top:re}},[r,d,me.floating,p.x,p.y]);return g.useMemo(()=>({...p,update:de,refs:be,elements:me,floatingStyles:W}),[p,de,be,me,W])}const S5=e=>{function t(r){return{}.hasOwnProperty.call(r,"current")}return{name:"arrow",options:e,fn(r){const{element:s,padding:a}=typeof e=="function"?e(r):e;return s&&t(s)?s.current!=null?Tb({element:s.current,padding:a}).fn(r):{}:s?Tb({element:s,padding:a}).fn(r):{}}}},k5=(e,t)=>({...x5(e),options:[e,t]}),A5=(e,t)=>({...v5(e),options:[e,t]}),E5=(e,t)=>({...j5(e),options:[e,t]}),T5=(e,t)=>({...y5(e),options:[e,t]}),I5=(e,t)=>({...b5(e),options:[e,t]}),P5=(e,t)=>({...w5(e),options:[e,t]}),_5=(e,t)=>({...S5(e),options:[e,t]});var R5="Arrow",xN=g.forwardRef((e,t)=>
vendor: 4,349 bytes, line 9
9{const{children:r,width:s=10,height:a=5,...l}=e;return n.jsx(Le.svg,{...l,ref:t,width:s,height:a,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?r:n.jsx("polygon",{points:"0,0 30,0 15,10"})})});xN.displayName=R5;var M5=xN;function O5(e,t=[]){let r=[];function s(l,c){const d=g.createContext(c),m=r.length;r=[...r,c];function f(x){const{scope:v,children:b,...N}=x,j=v?.[e][m]||d,C=g.useMemo(()=>N,Object.values(N));return n.jsx(j.Provider,{value:C,children:b})}function p(x,v){const b=v?.[e][m]||d,N=g.useContext(b);if(N)return N;if(c!==void 0)return c;throw new Error(`\`${x}\` must be used within \`${l}\``)}return f.displayName=l+"Provider",[f,p]}const a=()=>{const l=r.map(c=>g.createContext(c));return function(d){const m=d?.[e]||l;return g.useMemo(()=>({[`__scope${e}`]:{...d,[e]:m}}),[d,m])}};return a.scopeName=e,[s,D5(a,...t)]}function D5(...e){const t=e[0];if(e.length===1)return t;const r=()=>{const s=e.map(a=>({useScope:a(),scopeName:a.scopeName}));return function(l){const c=s.reduce((d,{useScope:m,scopeName:f})=>{const x=m(l)[`__scope${f}`];return{...d,...x}},{});return g.useMemo(()=>({[`__scope${t.scopeName}`]:c}),[c])}};return r.scopeName=t.scopeName,r}function L5(e){const[t,r]=g.useState(void 0);return Ot(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});const s=new ResizeObserver(a=>{if(!Array.isArray(a)||!a.length)return;const l=a[0];let c,d;if("borderBoxSize"in l){const m=l.borderBoxSize,f=Array.isArray(m)?m[0]:m;c=f.inlineSize,d=f.blockSize}else c=e.offsetWidth,d=e.offsetHeight;r({width:c,height:d})});return s.observe(e,{box:"border-box"}),()=>s.unobserve(e)}else r(void 0)},[e]),t}var $g="Popper",[vN,po]=O5($g),[V5,yN]=vN($g),bN=e=>{const{__scopePopper:t,children:r}=e,[s,a]=g.useState(null);return n.jsx(V5,{scope:t,anchor:s,onAnchorChange:a,children:r})};bN.displayName=$g;var wN="PopperAnchor",jN=g.forwardRef((e,t)=>{const{__scopePopper:r,virtualRef:s,...a}=e,l=yN(wN,r),c=g.useRef(null),d=Ze(t,c);return g.useEffect(()=>{l.onAnchorChange(s?.current||c.current)}),s?null:n.jsx(Le.div,{...a,ref:d})});jN.displayName=wN;var Bg="PopperContent",[F5,$5]=vN(Bg),NN=g.forwardRef((e,t)=>{const{__scopePopper:r,side:s="bottom",sideOffset:a=0,align:l="center",alignOffset:c=0,arrowPadding:d=0,avoidCollisions:m=!0,collisionBoundary:f=[],collisionPadding:p=0,sticky:x="partial",hideWhenDetached:v=!1,updatePositionStrategy:b="optimized",onPlaced:N,...j}=e,C=yN(Bg,r),[k,A]=g.useState(null),T=Ze(t,ie=>A(ie)),[P,I]=g.useState(null),L=L5(P),$=L?.width??0,z=L?.height??0,Y=s+(l!=="center"?"-"+l:""),ee=typeof p=="number"?p:{top:0,right:0,bottom:0,left:0,...p},ge=Array.isArray(f)?f:[f],Q=ge.length>0,de={padding:ee,boundary:ge.filter(z5),altBoundary:Q},{refs:J,floatingStyles:be,placement:me,isPositioned:W,middlewareData:F}=C5({strategy:"fixed",placement:Y,whileElementsMounted:(...ie)=>g5(...ie,{animationFrame:b==="always"}),elements:{reference:C.anchor},middleware:[k5({mainAxis:a+z,alignmentAxis:c}),m&&A5({mainAxis:!0,crossAxis:!1,limiter:x==="partial"?E5():void 0,...de}),m&&T5({...de}),I5({...de,apply:({elements:ie,rects:je,availableWidth:Me,availableHeight:Ve})=>{const{width:Xe,height:at}=je.reference,St=ie.floating.style;St.setProperty("--radix-popper-available-width",`${Me}px`),St.setProperty("--radix-popper-available-height",`${Ve}px`),St.setProperty("--radix-popper-anchor-width",`${Xe}px`),St.setProperty("--radix-popper-anchor-height",`${at}px`)}}),P&&_5({element:P,padding:d}),H5({arrowWidth:$,arrowHeight:z}),v&&P5({strategy:"referenceHidden",...de})]}),[Z,re]=kN(me),M=ht(N);Ot(()=>{W&&M?.()},[W,M]);const R=F.arrow?.x,X=F.arrow?.y,le=F.arrow?.centerOffset!==0,[oe,he]=g.useState();return Ot(()=>{k&&he(window.getComputedStyle(k).zIndex)},[k]),n.jsx("div",{ref:J.setFloating,"data-radix-popper-content-wrapper":"",style:{...be,transform:W?be.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:oe,"--radix-popper-transform-origin":[F.transformOrigin?.x,F.transformOrigin?.y].join(" "),...F.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:n.jsx(F5,{scope:r,placedSide:Z,onArrowChange:I,arrowX:R,arrowY:X,shouldHideArrow:le,children:n.jsx(Le.div,{"data-side":Z,"data-align":re,...j,ref:T,style:{...j.style,animation:W?void 0:"none"}})})})});NN.displayName=Bg;var CN="PopperArrow",B5={top:"bottom",right:"left",bottom:"top",left:"r
9ight"},SN=g.forwardRef(function(t,r){const{__scopePopper:s,...a}=t,l=$5(CN,s),c=B5[l.placedSide];return n.jsx("span",{ref:l.onArrowChange,style:{position:"absolute",left:l.arrowX,top:l.arrowY,[c]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[l.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[l.placedSide],visibility:l.shouldHideArrow?"hidden":void 0},children:n.jsx(M5,{...a,ref:r,style:{...a.style,display:"block"}})})});SN.displayName=CN;function z5(e){return e!==null}var H5=e=>({name:"transformOrigin",options:e,fn(t){const{placement:r,rects:s,middlewareData:a}=t,c=a.arrow?.centerOffset!==0,d=c?0:e.arrowWidth,m=c?0:e.arrowHeight,[f,p]=kN(r),x={start:"0%",center:"50%",end:"100%"}[p],v=(a.arrow?.x??0)+d/2,b=(a.arrow?.y??0)+m/2;let N="",j="";return f==="bottom"?(N=c?x:`${v}px`,j=`${-m}px`):f==="top"?(N=c?x:`${v}px`,j=`${s.floating.height+m}px`):f==="right"?(N=`${-m}px`,j=c?x:`${b}px`):f==="left"&&(N=`${s.floating.width+m}px`,j=c?x:`${b}px`),{data:{x:N,y:j}}}});function kN(e){const[t,r="center"]=e.split("-");return[t,r]}var AN=bN,nm=jN,zg=NN,Hg=SN,[rm]=Ns("Tooltip",[po]),Ug=po(),EN="TooltipProvider",U5=700,Pb="tooltip.open",[W5,TN]=rm(EN),IN=e=>{const{__scopeTooltip:t,delayDuration:r=U5,skipDelayDuration:s=300,disableHoverableContent:a=!1,children:l}=e,[c,d]=g.useState(!0),m=g.useRef(!1),f=g.useRef(0);return g.useEffect(()=>{const p=f.current;return()=>window.clearTimeout(p)},[]),n.jsx(W5,{scope:t,isOpenDelayed:c,delayDuration:r,onOpen:g.useCallback(()=>{window.clearTimeout(f.current),d(!1)},[]),onClose:g.useCallback(()=>{window.clearTimeout(f.current),f.current=window.setTimeout(()=>d(!0),s)},[s]),isPointerInTransitRef:m,onPointerInTransitChange:g.useCallback(p=>{m.current=p},[]),disableHoverableContent:a,children:l})};IN.displayName=EN;var PN="Tooltip",[$B,sm]=rm(PN),Tp="TooltipTrigger",q5=g.forwardRef((e,t)=>{const{__scopeTooltip:r,...s}=e,a=sm(Tp,r),l=TN(Tp,r),c=Ug(r),d=g.useRef(null),m=Ze(t,d,a.onTriggerChange),f=g.useRef(!1),p=g.useRef(!1),x=g.useCallback(()=>f.current=!1,[]);return g.useEffect(()=>()=>document.removeEventListener("pointerup",x),[x]),n.jsx(nm,{asChild:!0,...c,children:n.jsx(Le.button,{"aria-describedby":a.open?a.contentId:void 0,"data-state":a.stateAttribute,...s,ref:m,onPointerMove:Se(e.onPointerMove,v=>{v.pointerType!=="touch"&&!p.current&&!l.isPointerInTransitRef.current&&(a.onTriggerEnter(),p.current=!0)}),onPointerLeave:Se(e.onPointerLeave,()=>{a.onTriggerLeave(),p.current=!1}),onPointerDown:Se(e.onPointerDown,()=>{f.current=!0,document.addEventListener("pointerup",x,{once:!0})}),onFocus:Se(e.onFocus,()=>{f.current||a.onOpen()}),onBlur:Se(e.onBlur,a.onClose),onClick:Se(e.onClick,a.onClose)})})});q5.displayName=Tp;var K5="TooltipPortal",[BB,G5]=rm(K5,{forceMount:void 0}),Ja="TooltipContent",_N=g.forwardRef((e,t)=>{const r=G5(Ja,e.__scopeTooltip),{forceMount:s=r.forceMount,side:a="top",...l}=e,c=sm(Ja,e.__scopeTooltip);return n.jsx(sn,{present:s||c.open,children:c.disableHoverableContent?n.jsx(RN,{side:a,...l,ref:t}):n.jsx(Y5,{side:a,...l,ref:t})})}),Y5=g.forwardRef((e,t)=>{const r=sm(Ja,e.__scopeTooltip),s=TN(Ja,e.__scopeTooltip),a=g.useRef(null),l=Ze(t,a),[c,d]=g.useState(null),{trigger:m,onClose:f}=r,p=a.current,{onPointerInTransitChange:x}=s,v=g.useCallback(()=>{d(null),x(!1)},[x]),b=g.useCallback((N,j)=>{const C=N.currentTarget,k={x:N.clientX,y:N.clientY},A=J5(k,C.getBoundingClientRect()),T=eR(k,A),P=tR(j.getBoundingClientRect()),I=rR([...T,...P]);d(I),x(!0)},[x]);return g.useEffect(()=>()=>v(),[v]),g.useEffect(()=>{if(m&&p){const N=C=>b(C,p),j=C=>b(C,m);return m.addEventListener("pointerleave",N),p.addEventListener("pointerleave",j),()=>{m.removeEventListener("pointerleave",N),p.removeEventListener("pointerleave",j)}}},[m,p,b,v]),g.useEffect(()=>{if(c){const N=j=>{const C=j.target,k={x:j.clientX,y:j.clientY},A=m?.contains(C)||p?.contains(C),T=!nR(k,c);A?v():T&&(v(),f())};return document.addEventListener("pointermove",N),()=>document.removeEventListener("pointermove",N)}},[m,p,c,f,v]),n.jsx(RN,{...e,ref:l})}),[Z5,Q5]=rm(PN,{isInside:!1}),RN=g.forwardRef((e,t)=>
vendor: 1,663 bytes, line 9
9{const{__scopeTooltip:r,children:s,"aria-label":a,onEscapeKeyDown:l,onPointerDownOutside:c,...d}=e,m=sm(Ja,r),f=Ug(r),{onClose:p}=m;return g.useEffect(()=>(document.addEventListener(Pb,p),()=>document.removeEventListener(Pb,p)),[p]),g.useEffect(()=>{if(m.trigger){const x=v=>{v.target?.contains(m.trigger)&&p()};return window.addEventListener("scroll",x,{capture:!0}),()=>window.removeEventListener("scroll",x,{capture:!0})}},[m.trigger,p]),n.jsx(Zi,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:l,onPointerDownOutside:c,onFocusOutside:x=>x.preventDefault(),onDismiss:p,children:n.jsxs(zg,{"data-state":m.stateAttribute,...f,...d,ref:t,style:{...d.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:[n.jsx(v1,{children:s}),n.jsx(Z5,{scope:r,isInside:!0,children:n.jsx(j1,{id:m.contentId,role:"tooltip",children:a||s})})]})})});_N.displayName=Ja;var MN="TooltipArrow",X5=g.forwardRef((e,t)=>{const{__scopeTooltip:r,...s}=e,a=Ug(r);return Q5(MN,r).isInside?null:n.jsx(Hg,{...a,...s,ref:t})});X5.displayName=MN;function J5(e,t){const r=Math.abs(t.top-e.y),s=Math.abs(t.bottom-e.y),a=Math.abs(t.right-e.x),l=Math.abs(t.left-e.x);switch(Math.min(r,s,a,l)){case l:return"left";case a:return"right";case r:return"top";case s:return"bottom";default:throw new Error("unreachable")}}function eR(e,t,r=5){const s=[];
9switch(t){case"top":s.push({x:e.x-r,y:e.y+r},{x:e.x+r,y:e.y+r});break;case"bottom":s.push({x:e.x-r,y:e.y-r},{x:e.x+r,y:e.y-r});break;case"left":s.push({x:e.x+r,y:e.y-r},{x:e.x+r,y:e.y+r});break;case"right":s.push({x:e.x-r,y:e.y-r},{x:e.x-r,y:e.y+r});break}return s}function tR(e){const{top:t,right:r,bottom:s,left:a}=e;return[{x:a,y:t},{x:r,y:t},{x:r,y:s},{x:a,y:s}]}function nR(e,t){const{x:r,y:s}=e;let a=!1;for(let l=0,c=t.length-1;l<t.length;c=l++){const d=t[l].x,m=t[l].y,f=t[c].x,p=t[c].y;m>s!=p>s&&r<(f-d)*(s-m)/(p-m)+d&&(a=!a)}return a}function rR(e){const t=e.slice();return t.sort((r,s)=>r.x<s.x?-1:r.x>s.x?1:r.y<s.y?-1:r.y>s.y?1:0),sR(t)}function sR(e){if(e.length<=1)return e.slice();const t=[];for(let s=0;s<e.length;s++){const a=e[s];for(;t.length>=2;){const l=t[t.length-1],c=t[t.length-2];if((l.x-c.x)*(a.y-c.y)>=(l.y-c.y)*(a.x-c.x))t.pop();else break}t.push(a)}t.pop();const r=[];for(let s=e.length-1;s>=0;s--){const a=e[s];for(;r.length>=2;){const l=r[r.length-1],c=r[r.length-2];if((l.x-c.x)*(a.y-c.y)>=(l.y-c.y)*(a.x-c.x))r.pop();else break}r.push(a)}return r.pop(),t.length===1&&r.length===1&&t[0].x===r[0].x&&t[0].y===r[0].y?t:t.concat(r)}var iR=IN,ON=_N;const aR=iR,oR=g.forwardRef(({className:e,sideOffset:t=4,...r},s)=>n.jsx(ON,{ref:s,sideOffset:t,className:Ee("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...r}));oR.displayName=ON.displayName;var im=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(){}},am=typeof window>"u"||"Deno"in globalThis;function wr(){}function lR(e,t){return typeof e=="function"?e(t):e}function cR(e){return typeof e=="number"&&e>=0&&e!==1/0}function dR(e,t){return Math.max(e+(t||0)-Date.now(),0)}function _b(e,t){return typeof e=="function"?e(t):e}function uR(e,t){return typeof e=="function"?e(t):e}function Rb(e,t){const{type:r="all",exact:s,fetchStatus:a,predicate:l,queryKey:c,stale:d}=e;if(c){if(s){if(t.queryHash!==Wg(c,t.options))return!1}else if(!Ll(t.queryKey,c))return!1}if(r!=="all"){const m=t.isActive();if(r==="active"&&!m||r==="inactive"&&m)return!1}return!(typeof d=="boolean"&&t.isStale()!==d||a&&a!==t.state.fetchStatus||l&&!l(t))}function Mb(e,t){const{exact:r,status:s,predicate:a,mutationKey:l}=e;if(l){if(!t.options.mutationKey)return!1;if(r){if(Dl(t.options.mutationKey)!==Dl(l))return!1}else if(!Ll(t.options.mutationKey,l))return!1}return!(s&&t.state.status!==s||a&&!a(t))}function Wg(e,t){return(t?.queryKeyHashFn||Dl)(e)}function Dl(e){return JSON.stringify(e,(t,r)=>Ip(r)?Object.keys(r).sort().reduce((s,a)=>(s[a]=r[a],s),{}):r)}function Ll(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(r=>!Ll(e[r],t[r])):!1}function DN(e,t){if(e===t)return e;const r=Ob(e)&&Ob(t);if(r||Ip(e)&&Ip(t)){const s=r?e:Object.keys(e),a=s.length,l=r?t:Object.keys(t),c=l.length,d=r?[]:{};let m=0;for(let f=0;f<c;f++){const p=r?f:l[f];(!r&&s.includes(p)||r)&&e[p]===void 0&&t[p]===void 0?(d[p]=void 0,m++):(d[p]=DN(e[p],t[p]),d[p]===e[p]&&e[p]!==void 0&&m++)}return a===c&&m===a?e:d}return t}function Ob(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Ip(e){if(!Db(e))return!1;const t=e.constructor;if(t===void 0)return!0;const r=t.prototype;return!(!Db(r)||!r.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function Db(e){return Object.prototype.toString.call(e)==="[object Object]"}function mR(e){return new Promise(t=>{setTimeout(t,e)})}function fR(e,t,r){return typeof r.structuralSharing=="function"?r.structuralSharing(e,t):r.structuralSharing!==!1?DN(e,t):t}function hR(e,t,r=0){const s=[...e,t];return r&&s.length>r?s.slice(1):s}function pR(e,t,r=0){const s=[t,...e];return r&&s.length>r?s.slice(0,-1):s}var qg=Symbol();function LN(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:!e.queryFn||e.queryFn===qg?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var gR=class extends im{#e;#t;#n;constructor(){super(),this.#n=e=>{if(!am&&window.addEventListener){const t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(t=>{typeof t=="boolean"?this.setFocused(t):this.onFocus()})}setFocused(e){this.#e!==e&&(this.#e=e,this.onFocus())}onFocus(){const e=this.isFocused();
vendor: 19,408 bytes, line 9
9this.listeners.forEach(t=>{t(e)})}isFocused(){return typeof this.#e=="boolean"?this.#e:globalThis.document?.visibilityState!=="hidden"}},VN=new gR,xR=class extends im{#e=!0;#t;#n;constructor(){super(),this.#n=e=>{if(!am&&window.addEventListener){const t=()=>e(!0),r=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",r)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(this.setOnline.bind(this))}setOnline(e){this.#e!==e&&(this.#e=e,this.listeners.forEach(r=>{r(e)}))}isOnline(){return this.#e}},ju=new xR;function vR(){let e,t;const r=new Promise((a,l)=>{e=a,t=l});r.status="pending",r.catch(()=>{});function s(a){Object.assign(r,a),delete r.resolve,delete r.reject}return r.resolve=a=>{s({status:"fulfilled",value:a}),e(a)},r.reject=a=>{s({status:"rejected",reason:a}),t(a)},r}function yR(e){return Math.min(1e3*2**e,3e4)}function FN(e){return(e??"online")==="online"?ju.isOnline():!0}var $N=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function Th(e){return e instanceof $N}function BN(e){let t=!1,r=0,s=!1,a;const l=vR(),c=j=>{s||(v(new $N(j)),e.abort?.())},d=()=>{t=!0},m=()=>{t=!1},f=()=>VN.isFocused()&&(e.networkMode==="always"||ju.isOnline())&&e.canRun(),p=()=>FN(e.networkMode)&&e.canRun(),x=j=>{s||(s=!0,e.onSuccess?.(j),a?.(),l.resolve(j))},v=j=>{s||(s=!0,e.onError?.(j),a?.(),l.reject(j))},b=()=>new Promise(j=>{a=C=>{(s||f())&&j(C)},e.onPause?.()}).then(()=>{a=void 0,s||e.onContinue?.()}),N=()=>{if(s)return;let j;const C=r===0?e.initialPromise:void 0;try{j=C??e.fn()}catch(k){j=Promise.reject(k)}Promise.resolve(j).then(x).catch(k=>{if(s)return;const A=e.retry??(am?0:3),T=e.retryDelay??yR,P=typeof T=="function"?T(r,k):T,I=A===!0||typeof A=="number"&&r<A||typeof A=="function"&&A(r,k);if(t||!I){v(k);return}r++,e.onFail?.(r,k),mR(P).then(()=>f()?void 0:b()).then(()=>{t?v(k):N()})})};return{promise:l,cancel:c,continue:()=>(a?.(),l),cancelRetry:d,continueRetry:m,canStart:p,start:()=>(p()?N():b().then(N),l)}}function bR(){let e=[],t=0,r=d=>{d()},s=d=>{d()},a=d=>setTimeout(d,0);const l=d=>{t?e.push(d):a(()=>{r(d)})},c=()=>{const d=e;e=[],d.length&&a(()=>{s(()=>{d.forEach(m=>{r(m)})})})};return{batch:d=>{let m;t++;try{m=d()}finally{t--,t||c()}return m},batchCalls:d=>(...m)=>{l(()=>{d(...m)})},schedule:l,setNotifyFunction:d=>{r=d},setBatchNotifyFunction:d=>{s=d},setScheduler:d=>{a=d}}}var jn=bR(),zN=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),cR(this.gcTime)&&(this.#e=setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(am?1/0:300*1e3))}clearGcTimeout(){this.#e&&(clearTimeout(this.#e),this.#e=void 0)}},wR=class extends zN{#e;#t;#n;#r;#a;#i;constructor(e){super(),this.#i=!1,this.#a=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#n=e.cache,this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#e=NR(this.options),this.state=e.state??this.#e,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#r?.promise}setOptions(e){this.options={...this.#a,...e},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.#n.remove(this)}setData(e,t){const r=fR(this.state.data,e,this.options);return this.#s({data:r,type:"success",dataUpdatedAt:t?.updatedAt,manual:t?.manual}),r}setState(e,t){this.#s({type:"setState",state:e,setStateOptions:t})}cancel(e){const t=this.#r?.promise;return this.#r?.cancel(e),t?t.then(wr).catch(wr):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#e)}isActive(){return this.observers.some(e=>uR(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===qg||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStale(){return this.state.isInvalidated?!0:this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):this.state.data===void 0}isStaleByTime(e=0){return this.state.isInvalidated||this.state.data===void 0||!dR(this.state.dataUpdatedAt,e)}onFocus(){this.observers.find(t=>t.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#r?.continue()}onOnline(){this.observers.find(t=>t.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#r?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#n.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(this.#r&&(this.#i?this.#r.cancel({revert:!0}):this.#r.cancelRetry()),this.scheduleGc()),this.#n.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#s({type:"invalidate"})}fetch(e,t){if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#r)return this.#r.continueRetry(),this.#r.promise}if(e&&this.setOptions(e),!this.options.queryFn){const d=this.observers.find(m=>m.options.queryFn);d&&this.setOptions(d.options)}const r=new AbortController,s=d=>{Object.defineProperty(d,"signal",{enumerable:!0,get:()=>(this.#i=!0,r.signal)})},a=()=>{const d=LN(this.options,t),m={queryKey:this.queryKey,meta:this.meta};return s(m),this.#i=!1,this.options.persister?this.options.persister(d,m,this):d(m)},l={fetchOptions:t,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:a};s(l),this.options.behavior?.onFetch(l,this),this.#t=this.state,(this.state.fetchStatus==="idle"||this.state.fetchMeta!==l.fetchOptions?.meta)&&this.#s({type:"fetch",meta:l.fetchOptions?.meta});const c=d=>{Th(d)&&d.silent||this.#s({type:"error",error:d}),Th(d)||(this.#n.config.onError?.(d,this),this.#n.config.onSettled?.(this.state.data,d,this)),this.scheduleGc()};return this.#r=BN({initialPromise:t?.initialPromise,fn:l.fetchFn,abort:r.abort.bind(r),onSuccess:d=>{if(d===void 0){c(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(d)}catch(m){c(m);return}this.#n.config.onSuccess?.(d,this),this.#n.config.onSettled?.(d,this.state.error,this),this.scheduleGc()},onError:c,onFail:(d,m)=>{this.#s({type:"failed",failureCount:d,error:m})},onPause:()=>{this.#s({type:"pause"})},onContinue:()=>{this.#s({type:"continue"})},retry:l.options.retry,retryDelay:l.options.retryDelay,networkMode:l.options.networkMode,canRun:()=>!0}),this.#r.start()}#s(e){const t=r=>{switch(e.type){case"failed":return{...r,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,...jR(r.data,this.options),fetchMeta:e.meta??null};case"success":return{...r,data:e.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:e.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const s=e.error;return Th(s)&&s.revert&&this.#t?{...this.#t,fetchStatus:"idle"}:{...r,error:s,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:s,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...e.state}}};this.state=t(this.state),jn.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),this.#n.notify({query:this,type:"updated",action:e})})}};function jR(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:FN(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function NR(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,r=t!==void 0,s=r?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:r?s??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:r?"success":"pending",fetchStatus:"idle"}}var CR=class extends im{constructor(e={}){super(),this.config=e,this.#e=new Map}#e;build(e,t,r){const s=t.queryKey,a=t.queryHash??Wg(s,t);let l=this.get(a);return l||(l=new wR({cache:this,queryKey:s,queryHash:a,options:e.defaultQueryOptions(t),state:r,defaultOptions:e.getQueryDefaults(s)}),this.add(l)),l}add(e){this.#e.has(e.queryHash)||(this.#e.set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const t=this.#e.get(e.queryHash);t&&(e.destroy(),t===e&&this.#e.delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){jn.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#e.get(e)}getAll(){return[...this.#e.values()]}find(e){const t={exact:!0,...e};return this.getAll().find(r=>Rb(t,r))}findAll(e={}){const t=this.getAll();return Object.keys(e).length>0?t.filter(r=>Rb(e,r)):t}notify(e){jn.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){jn.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){jn.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},SR=class extends zN{#e;#t;#n;constructor(e){super(),this.mutationId=e.mutationId,this.#t=e.mutationCache,this.#e=[],this.state=e.state||kR(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#e.includes(e)||(this.#e.push(e),this.clearGcTimeout(),this.#t.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.#e=this.#e.filter(t=>t!==e),this.scheduleGc(),this.#t.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.#e.length||(this.state.status==="pending"?this.scheduleGc():this.#t.remove(this))}continue(){return this.#n?.continue()??this.execute(this.state.variables)}async execute(e){this.#n=BN({fn:()=>this.options.mutationFn?this.options.mutationFn(e):Promise.reject(new Error("No mutationFn found")),onFail:(s,a)=>{this.#r({type:"failed",failureCount:s,error:a})},onPause:()=>{this.#r({type:"pause"})},onContinue:()=>{this.#r({type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#t.canRun(this)});const t=this.state.status==="pending",r=!this.#n.canStart();try{if(!t){this.#r({type:"pending",variables:e,isPaused:r}),await this.#t.config.onMutate?.(e,this);const a=await this.options.onMutate?.(e);a!==this.state.context&&this.#r({type:"pending",context:a,variables:e,isPaused:r})}const s=await this.#n.start();return await this.#t.config.onSuccess?.(s,e,this.state.context,this),await this.options.onSuccess?.(s,e,this.state.context),await this.#t.config.onSettled?.(s,null,this.state.variables,this.state.context,this),await this.options.onSettled?.(s,null,e,this.state.context),this.#r({type:"success",data:s}),s}catch(s){try{throw await this.#t.config.onError?.(s,e,this.state.context,this),await this.options.onError?.(s,e,this.state.context),await this.#t.config.onSettled?.(void 0,s,this.state.variables,this.state.context,this),await this.options.onSettled?.(void 0,s,e,this.state.context),s}finally{this.#r({type:"error",error:s})}}finally{this.#t.runNext(this)}}#r(e){const t=r=>{switch(e.type){case"failed":return{...r,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"pending":return{...r,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...r,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:e.error,failureCount:r.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}};this.state=t(this.state),jn.batch(()=>{this.#e.forEach(r=>{r.onMutationUpdate(e)}),this.#t.notify({mutation:this,type:"updated",action:e})})}};function kR(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var AR=class extends im{constructor(e={}){super(),this.config=e,this.#e=new Map,this.#t=Date.now()}#e;#t;build(e,t,r){const s=new SR({mutationCache:this,mutationId:++this.#t,options:e.defaultMutationOptions(t),state:r});return this.add(s),s}add(e){const t=$d(e),r=this.#e.get(t)??[];r.push(e),this.#e.set(t,r),this.notify({type:"added",mutation:e})}remove(e){const t=$d(e);if(this.#e.has(t)){const r=this.#e.get(t)?.filter(s=>s!==e);r&&(r.length===0?this.#e.delete(t):this.#e.set(t,r))}this.notify({type:"removed",mutation:e})}canRun(e){const t=this.#e.get($d(e))?.find(r=>r.state.status==="pending");return!t||t===e}runNext(e){return this.#e.get($d(e))?.find(r=>r!==e&&r.state.isPaused)?.continue()??Promise.resolve()}clear(){jn.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}getAll(){return[...this.#e.values()].flat()}find(e){const t={exact:!0,...e};return this.getAll().find(r=>Mb(t,r))}findAll(e={}){return this.getAll().filter(t=>Mb(e,t))}notify(e){jn.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){const e=this.getAll().filter(t=>t.state.isPaused);return jn.batch(()=>Promise.all(e.map(t=>t.continue().catch(wr))))}};function $d(e){return e.options.scope?.id??String(e.mutationId)}function Lb(e){return{onFetch:(t,r)=>{const s=t.options,a=t.fetchOptions?.meta?.fetchMore?.direction,l=t.state.data?.pages||[],c=t.state.data?.pageParams||[];let d={pages:[],pageParams:[]},m=0;const f=async()=>{let p=!1;const x=N=>{Object.defineProperty(N,"signal",{enumerable:!0,get:()=>(t.signal.aborted?p=!0:t.signal.addEventListener("abort",()=>{p=!0}),t.signal)})},v=LN(t.options,t.fetchOptions),b=async(N,j,C)=>{if(p)return Promise.reject();if(j==null&&N.pages.length)return Promise.resolve(N);const k={queryKey:t.queryKey,pageParam:j,direction:C?"backward":"forward",meta:t.options.meta};x(k);const A=await v(k),{maxPages:T}=t.options,P=C?pR:hR;return{pages:P(N.pages,A,T),pageParams:P(N.pageParams,j,T)}};if(a&&l.length){const N=a==="backward",j=N?ER:Vb,C={pages:l,pageParams:c},k=j(s,C);d=await b(C,k,N)}else{const N=e??l.length;do{const j=m===0?c[0]??s.initialPageParam:Vb(s,d);if(m>0&&j==null)break;d=await b(d,j),m++}while(m<N)}return d};t.options.persister?t.fetchFn=()=>t.options.persister?.(f,{queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},r):t.fetchFn=f}}}function Vb(e,{pages:t,pageParams:r}){const s=t.length-1;return t.length>0?e.getNextPageParam(t[s],t,r[s],r):void 0}function ER(e,{pages:t,pageParams:r}){return t.length>0?e.getPreviousPageParam?.(t[0],t,r[0],r):void 0}var TR=class{#e;#t;#n;#r;#a;#i;#s;#o;constructor(e={}){this.#e=e.queryCache||new CR,this.#t=e.mutationCache||new AR,this.#n=e.defaultOptions||{},this.#r=new Map,this.#a=new Map,this.#i=0}mount(){this.#i++,this.#i===1&&(this.#s=VN.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#o=ju.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onOnline())}))}unmount(){this.#i--,this.#i===0&&(this.#s?.(),this.#s=void 0,this.#o?.(),this.#o=void 0)}isFetching(e){return this.#e.findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return this.#t.findAll({...e,status:"pending"}).length}getQueryData(e){const t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state.data}ensureQueryData(e){const t=this.getQueryData(e.queryKey);if(t===void 0)return this.fetchQuery(e);{const r=this.defaultQueryOptions(e),s=this.#e.build(this,r);return e.revalidateIfStale&&s.isStaleByTime(_b(r.staleTime,s))&&this.prefetchQuery(r),Promise.resolve(t)}}getQueriesData(e){return this.#e.findAll(e).map(({queryKey:t,state:r})=>{const s=r.data;return[t,s]})}setQueryData(e,t,r){const s=this.defaultQueryOptions({queryKey:e}),l=this.#e.get(s.queryHash)?.state.data,c=lR(t,l);if(c!==void 0)return this.#e.build(this,s).setData(c,{...r,manual:!0})}setQueriesData(e,t,r){return jn.batch(()=>this.#e.findAll(e).map(({queryKey:s})=>[s,this.setQueryData(s,t,r)]))}getQueryState(e){const t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state}removeQueries(e){const t=this.#e;jn.batch(()=>{t.findAll(e).forEach(r=>{t.remove(r)})})}resetQueries(e,t){const r=this.#e,s={type:"active",...e};return jn.batch(()=>(r.findAll(e).forEach(a=>{a.reset()}),this.refetchQueries(s,t)))}cancelQueries(e={},t={}){const r={revert:!0,...t},s=jn.batch(()=>this.#e.findAll(e).map(a=>a.cancel(r)));return Promise.all(s).then(wr).catch(wr)}invalidateQueries(e={},t={}){return jn.batch(()=>{if(this.#e.findAll(e).forEach(s=>{s.invalidate()}),e.refetchType==="none")return Promise.resolve();const r={...e,type:e.refetchType??e.type??"active"};return this.refetchQueries(r,t)})}refetchQueries(e={},t){const r={...t,cancelRefetch:t?.cancelRefetch??!0},s=jn.batch(()=>this.#e.findAll(e).filter(a=>!a.isDisabled()).map(a=>{let l=a.fetch(void 0,r);return r.throwOnError||(l=l.catch(wr)),a.state.fetchStatus==="paused"?Promise.resolve():l}));return Promise.all(s).then(wr)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const r=this.#e.build(this,t);return r.isStaleByTime(_b(t.staleTime,r))?r.fetch(t):Promise.resolve(r.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(wr).catch(wr)}fetchInfiniteQuery(e){return e.behavior=Lb(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(wr).catch(wr)}ensureInfiniteQueryData(e){return e.behavior=Lb(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return ju.isOnline()?this.#t.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#e}getMutationCache(){return this.#t}getDefaultOptions(){return this.#n}setDefaultOptions(e){this.#n=e}setQueryDefaults(e,t){this.#r.set(Dl(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...this.#r.values()];let r={};return t.forEach(s=>{Ll(e,s.queryKey)&&(r={...r,...s.defaultOptions})}),r}setMutationDefaults(e,t){this.#a.set(Dl(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...this.#a.values()];let r={};return t.forEach(s=>{Ll(e,s.mutationKey)&&(r={...r,...s.defaultOptions})}),r}defaultQueryOptions(e){if(e._defaulted)return e;const t={...this.#n.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=Wg(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.enabled!==!0&&t.queryFn===qg&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#n.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#e.clear(),this.#t.clear()}},IR=g.createContext(void 0),PR=({client:e,children:t})=>(g.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),n.jsx(IR.Provider,{value:e,children:t}));function Vl(){return Vl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];
vendor: 14,133 bytes, line 9
9for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(e[s]=r[s])}return e},Vl.apply(this,arguments)}var ti;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(ti||(ti={}));const Fb="popstate";function _R(e){e===void 0&&(e={});function t(s,a){let{pathname:l,search:c,hash:d}=s.location;return Pp("",{pathname:l,search:c,hash:d},a.state&&a.state.usr||null,a.state&&a.state.key||"default")}function r(s,a){return typeof a=="string"?a:Nu(a)}return MR(t,r,null,e)}function Lt(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Kg(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function RR(){return Math.random().toString(36).substr(2,8)}function $b(e,t){return{usr:e.state,key:e.key,idx:t}}function Pp(e,t,r,s){return r===void 0&&(r=null),Vl({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?go(t):t,{state:r,key:t&&t.key||s||RR()})}function Nu(e){let{pathname:t="/",search:r="",hash:s=""}=e;return r&&r!=="?"&&(t+=r.charAt(0)==="?"?r:"?"+r),s&&s!=="#"&&(t+=s.charAt(0)==="#"?s:"#"+s),t}function go(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substr(r),e=e.substr(0,r));let s=e.indexOf("?");s>=0&&(t.search=e.substr(s),e=e.substr(0,s)),e&&(t.pathname=e)}return t}function MR(e,t,r,s){s===void 0&&(s={});let{window:a=document.defaultView,v5Compat:l=!1}=s,c=a.history,d=ti.Pop,m=null,f=p();f==null&&(f=0,c.replaceState(Vl({},c.state,{idx:f}),""));function p(){return(c.state||{idx:null}).idx}function x(){d=ti.Pop;let C=p(),k=C==null?null:C-f;f=C,m&&m({action:d,location:j.location,delta:k})}function v(C,k){d=ti.Push;let A=Pp(j.location,C,k);f=p()+1;let T=$b(A,f),P=j.createHref(A);try{c.pushState(T,"",P)}catch(I){if(I instanceof DOMException&&I.name==="DataCloneError")throw I;a.location.assign(P)}l&&m&&m({action:d,location:j.location,delta:1})}function b(C,k){d=ti.Replace;let A=Pp(j.location,C,k);f=p();let T=$b(A,f),P=j.createHref(A);c.replaceState(T,"",P),l&&m&&m({action:d,location:j.location,delta:0})}function N(C){let k=a.location.origin!=="null"?a.location.origin:a.location.href,A=typeof C=="string"?C:Nu(C);return A=A.replace(/ $/,"%20"),Lt(k,"No window.location.(origin|href) available to create URL for href: "+A),new URL(A,k)}let j={get action(){return d},get location(){return e(a,c)},listen(C){if(m)throw new Error("A history only accepts one active listener");return a.addEventListener(Fb,x),m=C,()=>{a.removeEventListener(Fb,x),m=null}},createHref(C){return t(a,C)},createURL:N,encodeLocation(C){let k=N(C);return{pathname:k.pathname,search:k.search,hash:k.hash}},push:v,replace:b,go(C){return c.go(C)}};return j}var Bb;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Bb||(Bb={}));function OR(e,t,r){return r===void 0&&(r="/"),DR(e,t,r)}function DR(e,t,r,s){let a=typeof t=="string"?go(t):t,l=Gg(a.pathname||"/",r);if(l==null)return null;let c=HN(e);LR(c);let d=null;for(let m=0;d==null&&m<c.length;++m){let f=YR(l);d=qR(c[m],f)}return d}function HN(e,t,r,s){t===void 0&&(t=[]),r===void 0&&(r=[]),s===void 0&&(s="");let a=(l,c,d)=>{let m={relativePath:d===void 0?l.path||"":d,caseSensitive:l.caseSensitive===!0,childrenIndex:c,route:l};m.relativePath.startsWith("/")&&(Lt(m.relativePath.startsWith(s),'Absolute route path "'+m.relativePath+'" nested under path '+('"'+s+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),m.relativePath=m.relativePath.slice(s.length));let f=ni([s,m.relativePath]),p=r.concat(m);l.children&&l.children.length>0&&(Lt(l.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+f+'".')),HN(l.children,t,p,f)),!(l.path==null&&!l.index)&&t.push({path:f,score:UR(f,l.index),routesMeta:p})};return e.forEach((l,c)=>{var d;if(l.path===""||!((d=l.path)!=null&&d.includes("?")))a(l,c);else for(let m of UN(l.path))a(l,c,m)}),t}function UN(e){let t=e.split("/");if(t.length===0)return[];let[r,...s]=t,a=r.endsWith("?"),l=r.replace(/\?$/,"");if(s.length===0)return a?[l,""]:[l];let c=UN(s.join("/")),d=[];return d.push(...c.map(m=>m===""?l:[l,m].join("/"))),a&&d.push(...c),d.map(m=>e.startsWith("/")&&m===""?"/":m)}function LR(e){e.sort((t,r)=>t.score!==r.score?r.score-t.score:WR(t.routesMeta.map(s=>s.childrenIndex),r.routesMeta.map(s=>s.childrenIndex)))}const VR=/^:[\w-]+$/,FR=3,$R=2,BR=1,zR=10,HR=-2,zb=e=>e==="*";function UR(e,t){let r=e.split("/"),s=r.length;return r.some(zb)&&(s+=HR),t&&(s+=$R),r.filter(a=>!zb(a)).reduce((a,l)=>a+(VR.test(l)?FR:l===""?BR:zR),s)}function WR(e,t){return e.length===t.length&&e.slice(0,-1).every((s,a)=>s===t[a])?e[e.length-1]-t[t.length-1]:0}function qR(e,t,r){let{routesMeta:s}=e,a={},l="/",c=[];for(let d=0;d<s.length;++d){let m=s[d],f=d===s.length-1,p=l==="/"?t:t.slice(l.length)||"/",x=KR({path:m.relativePath,caseSensitive:m.caseSensitive,end:f},p),v=m.route;if(!x)return null;Object.assign(a,x.params),c.push({params:a,pathname:ni([l,x.pathname]),pathnameBase:e6(ni([l,x.pathnameBase])),route:v}),x.pathnameBase!=="/"&&(l=ni([l,x.pathnameBase]))}return c}function KR(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[r,s]=GR(e.path,e.caseSensitive,e.end),a=t.match(r);if(!a)return null;let l=a[0],c=l.replace(/(.)\/+$/,"$1"),d=a.slice(1);return{params:s.reduce((f,p,x)=>{let{paramName:v,isOptional:b}=p;if(v==="*"){let j=d[x]||"";c=l.slice(0,l.length-j.length).replace(/(.)\/+$/,"$1")}const N=d[x];return b&&!N?f[v]=void 0:f[v]=(N||"").replace(/%2F/g,"/"),f},{}),pathname:l,pathnameBase:c,pattern:e}}function GR(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!0),Kg(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 s=[],a="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(c,d,m)=>(s.push({paramName:d,isOptional:m!=null}),m?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(s.push({paramName:"*"}),a+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?a+="\\/*$":e!==""&&e!=="/"&&(a+="(?:(?=\\/|$))"),[new RegExp(a,t?void 0:"i"),s]}function YR(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Kg(!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 Gg(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,s=e.charAt(r);return s&&s!=="/"?null:e.slice(r)||"/"}const ZR=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,QR=e=>ZR.test(e);function XR(e,t){t===void 0&&(t="/");let{pathname:r,search:s="",hash:a=""}=typeof e=="string"?go(e):e,l;if(r)if(QR(r))l=r;else{if(r.includes("//")){let c=r;r=r.replace(/\/\/+/g,"/"),Kg(!1,"Pathnames cannot have embedded double slashes - normalizing "+(c+" -> "+r))}r.startsWith("/")?l=Hb(r.substring(1),"/"):l=Hb(r,t)}else l=t;return{pathname:l,search:t6(s),hash:n6(a)}}function Hb(e,t){let r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(a=>{a===".."?r.length>1&&r.pop():a!=="."&&r.push(a)}),r.length>1?r.join("/"):"/"}function Ih(e,t,r,s){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(s)+"]. Please separate it out to the ")+("`to."+r+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function JR(e){return e.filter((t,r)=>r===0||t.route.path&&t.route.path.length>0)}function WN(e,t){let r=JR(e);return t?r.map((s,a)=>a===r.length-1?s.pathname:s.pathnameBase):r.map(s=>s.pathnameBase)}function qN(e,t,r,s){s===void 0&&(s=!1);let a;typeof e=="string"?a=go(e):(a=Vl({},e),Lt(!a.pathname||!a.pathname.includes("?"),Ih("?","pathname","search",a)),Lt(!a.pathname||!a.pathname.includes("#"),Ih("#","pathname","hash",a)),Lt(!a.search||!a.search.includes("#"),Ih("#","search","hash",a)));let l=e===""||a.pathname==="",c=l?"/":a.pathname,d;if(c==null)d=r;else{let x=t.length-1;if(!s&&c.startsWith("..")){let v=c.split("/");for(;v[0]==="..";)v.shift(),x-=1;a.pathname=v.join("/")}d=x>=0?t[x]:"/"}let m=XR(a,d),f=c&&c!=="/"&&c.endsWith("/"),p=(l||c===".")&&r.endsWith("/");return!m.pathname.endsWith("/")&&(f||p)&&(m.pathname+="/"),m}const ni=e=>e.join("/").replace(/\/\/+/g,"/"),e6=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),t6=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,n6=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function r6(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const KN=["post","put","patch","delete"];new Set(KN);const s6=["get",...KN];new Set(s6);function Fl(){return Fl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(e[s]=r[s])}return e},Fl.apply(this,arguments)}const Yg=g.createContext(null),i6=g.createContext(null),Qi=g.createContext(null),om=g.createContext(null),Xi=g.createContext({outlet:null,matches:[],isDataRoute:!1}),GN=g.createContext(null);function a6(e,t){let{relative:r}=t===void 0?{}:t;hc()||Lt(!1);let{basename:s,navigator:a}=g.useContext(Qi),{hash:l,pathname:c,search:d}=ZN(e,{relative:r}),m=c;return s!=="/"&&(m=c==="/"?s:ni([s,c])),a.createHref({pathname:m,search:d,hash:l})}function hc(){return g.useContext(om)!=null}function pc(){return hc()||Lt(!1),g.useContext(om).location}function YN(e){g.useContext(Qi).static||g.useLayoutEffect(e)}function gc(){let{isDataRoute:e}=g.useContext(Xi);return e?y6():o6()}function o6(){hc()||Lt(!1);let e=g.useContext(Yg),{basename:t,future:r,navigator:s}=g.useContext(Qi),{matches:a}=g.useContext(Xi),{pathname:l}=pc(),c=JSON.stringify(WN(a,r.v7_relativeSplatPath)),d=g.useRef(!1);return YN(()=>{d.current=!0}),g.useCallback(function(f,p){if(p===void 0&&(p={}),!d.current)return;if(typeof f=="number"){s.go(f);return}let x=qN(f,JSON.parse(c),l,p.relative==="path");e==null&&t!=="/"&&(x.pathname=x.pathname==="/"?t:ni([t,x.pathname])),(p.replace?s.replace:s.push)(x,p.state,p)},[t,s,c,l,e])}function ZN(e,t){let{relative:r}=t===void 0?{}:t,{future:s}=g.useContext(Qi),{matches:a}=g.useContext(Xi),{pathname:l}=pc(),c=JSON.stringify(WN(a,s.v7_relativeSplatPath));return g.useMemo(()=>qN(e,JSON.parse(c),l,r==="path"),[e,c,l,r])}function l6(e,t){return c6(e,t)}function c6(e,t,r,s){hc()||Lt(!1);let{navigator:a}=g.useContext(Qi),{matches:l}=g.useContext(Xi),c=l[l.length-1],d=c?c.params:{};c&&c.pathname;let m=c?c.pathnameBase:"/";c&&c.route;let f=pc(),p;if(t){var x;let C=typeof t=="string"?go(t):t;m==="/"||(x=C.pathname)!=null&&x.startsWith(m)||Lt(!1),p=C}else p=f;let v=p.pathname||"/",b=v;if(m!=="/"){let C=m.replace(/^\//,"").split("/");b="/"+v.replace(/^\//,"").split("/").slice(C.length).join("/")}let N=OR(e,{pathname:b}),j=h6(N&&N.map(C=>Object.assign({},C,{params:Object.assign({},d,C.params),pathname:ni([m,a.encodeLocation?a.encodeLocation(C.pathname).pathname:C.pathname]),pathnameBase:C.pathnameBase==="/"?m:ni([m,a.encodeLocation?a.encodeLocation(C.pathnameBase).pathname:C.pathnameBase])})),l,r,s);return t&&j?g.createElement(om.Provider,{value:{location:Fl({pathname:"/",search:"",hash:"",state:null,key:"default"},p),navigationType:ti.Pop}},j):j}function d6(){let e=v6(),t=r6(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,a={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return g.createElement(g.Fragment,null,g.createElement("h2",null,"Unexpected Application Error!"),g.createElement("h3",{style:{fontStyle:"italic"}},t),r?g.createElement("pre",{style:a},r):null,null)}const u6=g.createElement(d6,null);class m6 extends g.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,r){return r.location!==t.location||r.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:r.error,location:r.location,revalidation:t.revalidation||r.revalidation}}componentDidCatch(t,r){console.error("React Router caught the following error during render",t,r)}render(){return this.state.error!==void 0?g.createElement(Xi.Provider,{value:this.props.routeContext},g.createElement(GN.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function f6(e){let{routeContext:t,match:r,children:s}=e,a=g.useContext(Yg);return a&&a.static&&a.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(a.staticContext._deepestRenderedBoundaryId=r.route.id),g.createElement(Xi.Provider,{value:t},s)}function h6(e,t,r,s){var a;if(t===void 0&&(t=[]),r===void 0&&(r=null),s===void 0&&(s=null),e==null){var l;if(!r)return null;if(r.errors)e=r.matches;else if((l=s)!=null&&l.v7_partialHydration&&t.length===0&&!r.initialized&&r.matches.length>0)e=r.matches;else return null}let c=e,d=(a=r)==null?void 0:a.errors;if(d!=null){let p=c.findIndex(x=>x.route.id&&d?.[x.route.id]!==void 0);p>=0||Lt(!1),c=c.slice(0,Math.min(c.length,p+1))}let m=!1,f=-1;if(r&&s&&s.v7_partialHydration)for(let p=0;p<c.length;p++){let x=c[p];if((x.route.HydrateFallback||x.route.hydrateFallbackElement)&&(f=p),x.route.id){let{loaderData:v,errors:b}=r,N=x.route.loader&&v[x.route.id]===void 0&&(!b||b[x.route.id]===void 0);if(x.route.lazy||N){m=!0,f>=0?c=c.slice(0,f+1):c=[c[0]];break}}}return c.reduceRight((p,x,v)=>{let b,N=!1,j=null,C=null;r&&(b=d&&x.route.id?d[x.route.id]:void 0,j=x.route.errorElement||u6,m&&(f<0&&v===0?(b6("route-fallback"),N=!0,C=null):f===v&&(N=!0,C=x.route.hydrateFallbackElement||null)));let k=t.concat(c.slice(0,v+1)),A=()=>{let T;return b?T=j:N?T=C:x.route.Component?T=g.createElement(x.route.Component,null):x.route.element?T=x.route.element:T=p,g.createElement(f6,{match:x,routeC
9ontext:{outlet:p,matches:k,isDataRoute:r!=null},children:T})};return r&&(x.route.ErrorBoundary||x.route.errorElement||v===0)?g.createElement(m6,{location:r.location,revalidation:r.revalidation,component:j,error:b,children:A(),routeContext:{outlet:null,matches:k,isDataRoute:!0}}):A()},null)}var QN=(function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e})(QN||{}),XN=(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})(XN||{});function p6(e){let t=g.useContext(Yg);return t||Lt(!1),t}function g6(e){let t=g.useContext(i6);return t||Lt(!1),t}function x6(e){let t=g.useContext(Xi);return t||Lt(!1),t}function JN(e){let t=x6(),r=t.matches[t.matches.length-1];return r.route.id||Lt(!1),r.route.id}function v6(){var e;let t=g.useContext(GN),r=g6(),s=JN();return t!==void 0?t:(e=r.errors)==null?void 0:e[s]}function y6(){let{router:e}=p6(QN.UseNavigateStable),t=JN(XN.UseNavigateStable),r=g.useRef(!1);return YN(()=>{r.current=!0}),g.useCallback(function(a,l){l===void 0&&(l={}),r.current&&(typeof a=="number"?e.navigate(a):e.navigate(a,Fl({fromRouteId:t},l)))},[e,t])}const Ub={};function b6(e,t,r){Ub[e]||(Ub[e]=!0)}function w6(e,t){e?.v7_startTransition,e?.v7_relativeSplatPath}function mt(e){Lt(!1)}function j6(e){let{basename:t="/",children:r=null,location:s,navigationType:a=ti.Pop,navigator:l,static:c=!1,future:d}=e;hc()&&Lt(!1);let m=t.replace(/^\/*/,"/"),f=g.useMemo(()=>({basename:m,navigator:l,static:c,future:Fl({v7_relativeSplatPath:!1},d)}),[m,d,l,c]);typeof s=="string"&&(s=go(s));let{pathname:p="/",search:x="",hash:v="",state:b=null,key:N="default"}=s,j=g.useMemo(()=>{let C=Gg(p,m);return C==null?null:{location:{pathname:C,search:x,hash:v,state:b,key:N},navigationType:a}},[m,p,x,v,b,N,a]);return j==null?null:g.createElement(Qi.Provider,{value:f},g.createElement(om.Provider,{children:r,value:j}))}function N6(e){let{children:t,location:r}=e;return l6(_p(t),r)}new Promise(()=>{});function _p(e,t){t===void 0&&(t=[]);let r=[];return g.Children.forEach(e,(s,a)=>{if(!g.isValidElement(s))return;let l=[...t,a];if(s.type===g.Fragment){r.push.apply(r,_p(s.props.children,l));return}s.type!==mt&&Lt(!1),!s.props.index||!s.props.children||Lt(!1);let c={id:s.props.id||l.join("-"),caseSensitive:s.props.caseSensitive,element:s.props.element,Component:s.props.Component,index:s.props.index,path:s.props.path,loader:s.props.loader,action:s.props.action,errorElement:s.props.errorElement,ErrorBoundary:s.props.ErrorBoundary,hasErrorBoundary:s.props.ErrorBoundary!=null||s.props.errorElement!=null,shouldRevalidate:s.props.shouldRevalidate,handle:s.props.handle,lazy:s.props.lazy};s.props.children&&(c.children=_p(s.props.children,l)),r.push(c)}),r}function Rp(){return Rp=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];
9for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(e[s]=r[s])}return e},Rp.apply(this,arguments)}function C6(e,t){if(e==null)return{};var r={},s=Object.keys(e),a,l;for(l=0;l<s.length;l++)a=s[l],!(t.indexOf(a)>=0)&&(r[a]=e[a]);return r}function S6(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function k6(e,t){return e.button===0&&(!t||t==="_self")&&!S6(e)}const A6=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],E6="6";try{window.__reactRouterVersion=E6}catch{}const T6="startTransition",Wb=kg[T6];function I6(e){let{basename:t,children:r,future:s,window:a}=e,l=g.useRef();l.current==null&&(l.current=_R({window:a,v5Compat:!0}));let c=l.current,[d,m]=g.useState({action:c.action,location:c.location}),{v7_startTransition:f}=s||{},p=g.useCallback(x=>{f&&Wb?Wb(()=>m(x)):m(x)},[m,f]);return g.useLayoutEffect(()=>c.listen(p),[c,p]),g.useEffect(()=>w6(s),[s]),g.createElement(j6,{basename:t,children:r,location:d.location,navigationType:d.action,navigator:c,future:s})}const P6=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",_6=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Kt=g.forwardRef(function(t,r){let{onClick:s,relative:a,reloadDocument:l,replace:c,state:d,target:m,to:f,preventScrollReset:p,viewTransition:x}=t,v=C6(t,A6),{basename:b}=g.useContext(Qi),N,j=!1;if(typeof f=="string"&&_6.test(f)&&(N=f,P6))try{let T=new URL(window.location.href),P=f.startsWith("//")?new URL(T.protocol+f):new URL(f),I=Gg(P.pathname,b);P.origin===T.origin&&I!=null?f=I+P.search+P.hash:j=!0}catch{}let C=a6(f,{relative:a}),k=R6(f,{replace:c,state:d,target:m,preventScrollReset:p,relative:a,viewTransition:x});function A(T){s&&s(T),T.defaultPrevented||k(T)}return g.createElement("a",Rp({},v,{href:N||C,onClick:j||l?s:A,ref:r,target:m}))});var qb;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(qb||(qb={}));var Kb;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Kb||(Kb={}));function R6(e,t){let{target:r,replace:s,state:a,preventScrollReset:l,relative:c,viewTransition:d}=t===void 0?{}:t,m=gc(),f=pc(),p=ZN(e,{relative:c}
9);return g.useCallback(x=>{if(k6(x,r)){x.preventDefault();let v=s!==void 0?s:Nu(f)===Nu(p);m(e,{replace:v,state:a,preventScrollReset:l,relative:c,viewTransition:d})}},[f,m,p,s,a,r,e,l,c,d])}var Ph,Gb;function M6(){if(Gb)return Ph;Gb=1;var e=typeof Element<"u",t=typeof Map=="function",r=typeof Set=="function",s=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function a(l,c){if(l===c)return!0;if(l&&c&&typeof l=="object"&&typeof c=="object"){if(l.constructor!==c.constructor)return!1;var d,m,f;if(Array.isArray(l)){if(d=l.length,d!=c.length)return!1;for(m=d;m--!==0;)if(!a(l[m],c[m]))return!1;return!0}var p;if(t&&l instanceof Map&&c instanceof Map){if(l.size!==c.size)return!1;for(p=l.entries();!(m=p.next()).done;)if(!c.has(m.value[0]))return!1;for(p=l.entries();!(m=p.next()).done;)if(!a(m.value[1],c.get(m.value[0])))return!1;return!0}if(r&&l instanceof Set&&c instanceof Set){if(l.size!==c.size)return!1;for(p=l.entries();!(m=p.next()).done;)if(!c.has(m.value[0]))return!1;return!0}if(s&&ArrayBuffer.isView(l)&&ArrayBuffer.isView(c)){if(d=l.length,d!=c.length)return!1;for(m=d;m--!==0;)if(l[m]!==c[m])return!1;return!0}if(l.constructor===RegExp)return l.source===c.source&&l.flags===c.flags;if(l.valueOf!==Object.prototype.valueOf&&typeof l.valueOf=="function"&&typeof c.valueOf=="function")return l.valueOf()===c.valueOf();if(l.toString!==Object.prototype.toString&&typeof l.toString=="function"&&typeof c.toString=="function")return l.toString()===c.toString();if(f=Object.keys(l),d=f.length,d!==Object.keys(c).length)return!1;for(m=d;m--!==0;)if(!Object.prototype.hasOwnProperty.call(c,f[m]))return!1;if(e&&l instanceof Element)return!1;for(m=d;m--!==0;)if(!((f[m]==="_owner"||f[m]==="__v"||f[m]==="__o")&&l.$$typeof)&&!a(l[f[m]],c[f[m]]))return!1;return!0}return l!==l&&c!==c}return Ph=function(c,d){try{return a(c,d)}catch(m){if((m.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw m}},Ph}var O6=M6();const D6=oc(O6);var _h,Yb;function L6(){if(Yb)return _h;Yb=1;var e=function(t,r,s,a,l,c,d,m){if(!t){var f;if(r===void 0)f=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var p=[s,a,l,c,d,m],x=0;f=new Error(r.replace(/%s/g,function(){return p[x++]})),f.name="Invariant Violation"}throw f.framesToPop=1,f}};return _h=e,_h}var V6=L6();const Zb=oc(V6);var Rh,Qb;function F6(){return Qb||(Qb=1,Rh=function(t,r,s,a){var l=s?s.call(a,t,r):void 0;if(l!==void 0)return!!l;if(t===r)return!0;if(typeof t!="object"||!t||typeof r!="object"||!r)return!1;var c=Object.keys(t),d=Object.keys(r);if(c.length!==d.length)return!1;for(var m=Object.prototype.hasOwnProperty.bind(r),f=0;f<c.length;f++){var p=c[f];if(!m(p))return!1;var x=t[p],v=r[p];if(l=s?s.call(a,x,v,p):void 0,l===!1||l===void 0&&x!==v)return!1}return!0}),Rh}var $6=F6();const B6=oc($6);var e2=(e=>(e.BASE="base",e.BODY="body",e.HEAD="head",e.HTML="html",e.LINK="link",e.META="meta",e.NOSCRIPT="noscript",e.SCRIPT="script",e.STYLE="style",e.TITLE="title",e.FRAGMENT="Symbol(react.fragment)",e))(e2||{}),Mh={link:{rel:["amphtml","canonical","alternate"]},script:{type:["application/ld+json"]},meta:{charset:"",name:["generator","robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]}},Xb=Object.values(e2),Zg={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},z6=Object.entries(Zg).reduce((e,[t,r])=>(e[r]=t,e),{}),Sr="data-rh",Ua={DEFAULT_TITLE:"defaultTitle",DEFER:"defer",ENCODE_SPECIAL_CHARACTERS:"encodeSpecialCharacters",ON_CHANGE_CLIENT_STATE:"onChangeClientState",TITLE_TEMPLATE:"titleTemplate",PRIORITIZE_SEO_TAGS:"prioritizeSeoTags"},Wa=(e,t)=>{for(let r=e.length-1;r>=0;r-=1){const s=e[r];if(Object.prototype.hasOwnProperty.call(s,t))return s[t]}return null},H6=e=>{let t=Wa(e,"title");const r=Wa(e,Ua.TITLE_TEMPLATE);if(Array.isArray(t)&&(t=t.join("")),r&&t)return r.replace(/%s/g,()=>t);const s=Wa(e,Ua.DEFAULT_TITLE);return t||s||void 0},U6=e=>Wa(e,Ua.ON_CHANGE_CLIENT_STATE)||(()=>{}),Oh=(e,t)=>t.filter(r=>typeof r[e]<"u").map(r=>r[e]).reduce((r,s)=>({...r,...s}),{}),W6=(e,t)=>t.filter(r=>typeof r.base<"u").map(r=>r.base).reverse().reduce((r,s)=>{if(!r.length){const a=Object.keys(s);for(let l=0;l<a.length;l+=1){const d=a[l].toLowerCase();if(e.indexOf(d)!==-1&&s[d])return r.concat(s)}}return r},[]),q6=e=>console&&typeof console.warn=="function"&&console.warn(e),ol=(e,t,r)=>{const s={};return r.filter(a=>Array.isArray(a[e])?!0:(typeof a[e]<"u"&&q6(`Helmet: ${e} should be of type "Array". Instead found type "${typeof a[e]}"`),!1)).map(a=>a[e]).reverse().reduce((a,l)=>{const c={};l.filter(m=>{let f;const p=Object.keys(m);for(let v=0;v<p.length;v+=1){const b=p[v],N=b.toLowerCase();t.indexOf(N)!==-1&&!(f==="rel"&&m[f].toLowerCase()==="canonical")&&!(N==="rel"&&m[N].toLowerCase()==="stylesheet")&&(f=N),t.indexOf(b)!==-1&&(b==="innerHTML"||b==="cssText"||b==="itemprop")&&(f=b)}if(!f||!m[f])return!1;const x=m[f].toLowerCase();return s[f]||(s[f]={}),c[f]||(c[f]={}),s[f][x]?!1:(c[f][x]=!0,!0)}
9).reverse().forEach(m=>a.push(m));const d=Object.keys(c);for(let m=0;m<d.length;m+=1){const f=d[m],p={...s[f],...c[f]};s[f]=p}return a},[]).reverse()},K6=(e,t)=>{if(Array.isArray(e)&&e.length){for(let r=0;r<e.length;r+=1)if(e[r][t])return!0}return!1},G6=e=>({baseTag:W6(["href"],e),bodyAttributes:Oh("bodyAttributes",e),defer:Wa(e,Ua.DEFER),encode:Wa(e,Ua.ENCODE_SPECIAL_CHARACTERS),htmlAttributes:Oh("htmlAttributes",e),linkTags:ol("link",["rel","href"],e),metaTags:ol("meta",["name","charset","http-equiv","property","itemprop"],e),noscriptTags:ol("noscript",["innerHTML"],e),onChangeClientState:U6(e),scriptTags:ol("script",["src","innerHTML"],e),styleTags:ol("style",["cssText"],e),title:H6(e),titleAttributes:Oh("titleAttributes",e),prioritizeSeoTags:K6(e,Ua.PRIORITIZE_SEO_TAGS)}),t2=e=>Array.isArray(e)?e.join(""):e,Y6=(e,t)=>{const r=Object.keys(e);for(let s=0;s<r.length;s+=1)if(t[r[s]]&&t[r[s]].includes(e[r[s]]))return!0;return!1},Dh=(e,t)=>Array.isArray(e)?e.reduce((r,s)=>(Y6(s,t)?r.priority.push(s):r.default.push(s),r),{priority:[],default:[]}):{default:e,priority:[]},Jb=(e,t)=>({...e,[t]:void 0}),Z6=["noscript","script","style"],Mp=(e,t=!0)=>t===!1?String(e):String(e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'"),n2=e=>Object.keys(e).reduce((t,r)=>{const s=typeof e[r]<"u"?`${r}="${e[r]}"`:`${r}`;return t?`${t} ${s}`:s},""),Q6=(e,t,r,s)=>{const a=n2(r),l=t2(t);return a?`<${e} ${Sr}="true" ${a}>${Mp(l,s)}</${e}>`:`<${e} ${Sr}="true">${Mp(l,s)}</${e}>`},X6=(e,t,r=!0)=>t.reduce((s,a)=>{const l=a,c=Object.keys(l).filter(f=>!(f==="innerHTML"||f==="cssText")).reduce((f,p)=>{const x=typeof l[p]>"u"?p:`${p}="${Mp(l[p],r)}"`;return f?`${f} ${x}`:x},""),d=l.innerHTML||l.cssText||"",m=Z6.indexOf(e)===-1;return`${s}<${e} ${Sr}="true" ${c}${m?"/>":`>${d}</${e}>`}`},""),r2=(e,t={})=>Object.keys(e).reduce((r,s)=>{const a=Zg[s];return r[a||s]=e[s],r},t),J6=(e,t,r)=>{const s={key:t,[Sr]:!0},a=r2(r,s);return[G.createElement("title",a,t)]},su=(e,t)=>t.map((r,s)=>{const a={key:s,[Sr]:!0};return Object.keys(r).forEach(l=>{const d=Zg[l]||l;if(d==="innerHTML"||d==="cssText"){const m=r.innerHTML||r.cssText;a.dangerouslySetInnerHTML={__html:m}}else a[d]=r[l]}),G.createElement(e,a)}),sr=(e,t,r=!0)=>{switch(e){case"title":return{toComponent:()=>J6(e,t.title,t.titleAttributes),toString:()=>Q6(e,t.title,t.titleAttributes,r)};case"bodyAttributes":case"htmlAttributes":return{toComponent:()=>r2(t),toString:()=>n2(t)};default:return{toComponent:()=>su(e,t),toString:()=>X6(e,t,r)}}},e3=({metaTags:e,linkTags:t,scriptTags:r,encode:s})=>{const a=Dh(e,Mh.meta),l=Dh(t,Mh.link),c=Dh(r,Mh.script);return{priorityMethods:{toComponent:()=>[...su("meta",a.priority),...su("link",l.priority),...su("script",c.priority)],toString:()=>`${sr("meta",a.priority,s)} ${sr("link",l.priority,s)} ${sr("script",c.priority,s)}`},metaTags:a.default,linkTags:l.default,scriptTags:c.default}},t3=e=>{const{baseTag:t,bodyAttributes:r,encode:s=!0,htmlAttributes:a,noscriptTags:l,styleTags:c,title:d="",titleAttributes:m,prioritizeSeoTags:f}=e;let{linkTags:p,metaTags:x,scriptTags:v}=e,b={toComponent:()=>{},toString:()=>""};return f&&({priorityMethods:b,linkTags:p,metaTags:x,scriptTags:v}=e3(e)),{priority:b,base:sr("base",t,s),bodyAttributes:sr("bodyAttributes",r,s),htmlAttributes:sr("htmlAttributes",a,s),link:sr("link",p,s),meta:sr("meta",x,s),noscript:sr("noscript",l,s),script:sr("script",v,s),style:sr("style",c,s),title:sr("title",{title:d,titleAttributes:m},s)}},Op=t3,Bd=[],s2=!!(typeof window<"u"&&window.document&&window.document.createElement),Dp=class{instances=[];canUseDOM=s2;context;value={setHelmet:e=>{this.context.helmet=e},helmetInstances:{get:()=>this.canUseDOM?Bd:this.instances,add:e=>{(this.canUseDOM?Bd:this.instances).push(e)},remove:e=>{const t=(this.canUseDOM?Bd:this.instances).indexOf(e);(this.canUseDOM?Bd:this.instances).splice(t,1)}}};constructor(e,t){this.context=e,this.canUseDOM=t||!1,t||(e.helmet=Op({baseTag:[],bodyAttributes:{},htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))}},n3={},i2=G.createContext(n3),a2=class o2 extends g.Component{static canUseDOM=s2;helmetData;constructor(t){super(t),this.helmetData=new Dp(this.props.context||{},o2.canUseDOM)}render(){return G.createElement(i2.Provider,{value:this.helmetData.value},this.props.children)}},Sa=(e,t)=>{const r=document.head||document.querySelector("head"),s=r.querySelectorAll(`${e}[${Sr}]`),a=[].slice.call(s),l=[];let c;return t&&t.length&&t.forEach(d=>
9{const m=document.createElement(e);for(const f in d)if(Object.prototype.hasOwnProperty.call(d,f))if(f==="innerHTML")m.innerHTML=d.innerHTML;else if(f==="cssText")m.styleSheet?m.styleSheet.cssText=d.cssText:m.appendChild(document.createTextNode(d.cssText));else{const p=f,x=typeof d[p]>"u"?"":d[p];m.setAttribute(f,x)}m.setAttribute(Sr,"true"),a.some((f,p)=>(c=p,m.isEqualNode(f)))?a.splice(c,1):l.push(m)}),a.forEach(d=>d.parentNode?.removeChild(d)),l.forEach(d=>r.appendChild(d)),{oldTags:a,newTags:l}},Lp=(e,t)=>{const r=document.getElementsByTagName(e)[0];if(!r)return;const s=r.getAttribute(Sr),a=s?s.split(","):[],l=[...a],c=Object.keys(t);for(const d of c){const m=t[d]||"";r.getAttribute(d)!==m&&r.setAttribute(d,m),a.indexOf(d)===-1&&a.push(d);const f=l.indexOf(d);f!==-1&&l.splice(f,1)}for(let d=l.length-1;d>=0;d-=1)r.removeAttribute(l[d]);a.length===l.length?r.removeAttribute(Sr):r.getAttribute(Sr)!==c.join(",")&&r.setAttribute(Sr,c.join(","))},r3=(e,t)=>{typeof e<"u"&&document.title!==e&&(document.title=t2(e)),Lp("title",t)},ew=(e,t)=>{const{baseTag:r,bodyAttributes:s,htmlAttributes:a,linkTags:l,metaTags:c,noscriptTags:d,onChangeClientState:m,scriptTags:f,styleTags:p,title:x,titleAttributes:v}=e;Lp("body",s),Lp("html",a),r3(x,v);const b={baseTag:Sa("base",r),linkTags:Sa("link",l),metaTags:Sa("meta",c),noscriptTags:Sa("noscript",d),scriptTags:Sa("script",f),styleTags:Sa("style",p)},N={},j={};Object.keys(b).forEach(C=>{const{newTags:k,oldTags:A}=b[C];k.length&&(N[C]=k),A.length&&(j[C]=b[C].oldTags)}),t&&t(),m(e,N,j)},ll=null,s3=e=>{ll&&cancelAnimationFrame(ll),e.defer?ll=requestAnimationFrame(()=>{ew(e,()=>{ll=null})}):(ew(e),ll=null)},i3=s3,tw=class extends g.Component{rendered=!1;shouldComponentUpdate(e){return!B6(e,this.props)}componentDidUpdate(){this.emitChange()}componentWillUnmount(){const{helmetInstances:e}=this.props.context;e.remove(this),this.emitChange()}emitChange(){const{helmetInstances:e,setHelmet:t}=this.props.context;let r=null;const s=G6(e.get().map(a=>{const l={...a.props};return delete l.context,l}));a2.canUseDOM?i3(s):Op&&(r=Op(s)),t(r)}init(){if(this.rendered)return;this.rendered=!0;const{helmetInstances:e}=this.props.context;e.add(this),this.emitChange()}render(){return this.init(),null}},Kn=class extends g.Component{static defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1};shouldComponentUpdate(e){return!D6(Jb(this.props,"helmetData"),Jb(e,"helmetData"))}mapNestedChildrenToProps(e,t){if(!t)return null;switch(e.type){case"script":case"noscript":return{innerHTML:t};case"style":return{cssText:t};default:throw new Error(`<${e.type} /> elements are self-closing and can not contain children. Refer to our API for more information.`)}}flattenArrayTypeChildren(e,t,r,s){return{...t,[e.type]:[...t[e.type]||[],{...r,...this.mapNestedChildrenToProps(e,s)}]}}mapObjectTypeChildren(e,t,r,s){switch(e.type){case"title":return{...t,[e.type]:s,titleAttributes:{...r}};case"body":return{...t,bodyAttributes:{...r}};case"html":return{...t,htmlAttributes:{...r}};default:return{...t,[e.type]:{...r}}}}mapArrayTypeChildrenToProps(e,t){let r={...t};return Object.keys(e).forEach(s=>{r={...r,[s]:e[s]}}),r}warnOnInvalidChildren(e,t){return Zb(Xb.some(r=>e.type===r),typeof e.type=="function"?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":`Only elements types ${Xb.join(", ")} are allowed. Helmet does not support rendering <${e.type}> elements. Refer to our API for more information.`),Zb(!t||typeof t=="string"||Array.isArray(t)&&!t.some(r=>typeof r!="string"),`Helmet expects a string as a child of <${e.type}>. Did you forget to wrap your children in braces? ( <${e.type}>{\`\`}</${e.type}> ) Refer to our API for more information.`),!0}mapChildrenToProps(e,t){let r={};return G.Children.forEach(e,s=>{if(!s||!s.props)return;const{children:a,...l}=s.props,c=Object.keys(l).reduce((m,f)=>(m[z6[f]||f]=l[f],m),{});let{type:d}=s;
9switch(typeof d=="symbol"?d=d.toString():this.warnOnInvalidChildren(s,a),d){case"Symbol(react.fragment)":t=this.mapChildrenToProps(a,t);break;case"link":case"meta":case"noscript":case"script":case"style":r=this.flattenArrayTypeChildren(s,r,c,a);break;default:t=this.mapObjectTypeChildren(s,t,c,a);break}}),this.mapArrayTypeChildrenToProps(r,t)}render(){const{children:e,...t}=this.props;let r={...t},{helmetData:s}=t;if(e&&(r=this.mapChildrenToProps(e,r)),s&&!(s instanceof Dp)){const a=s;s=new Dp(a.context,!0),delete r.helmetData}return s?G.createElement(tw,{...r,context:s.value}):G.createElement(i2.Consumer,null,a=>G.createElement(tw,{...r,context:a}))}};const Qg=g.createContext({});function lm(e){const t=g.useRef(null);return t.current===null&&(t.current=e()),t.current}const cm=g.createContext(null),Xg=g.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});class a3 extends g.Component{getSnapshotBeforeUpdate(t){const r=this.props.childRef.current;if(r&&t.isPresent&&!this.props.isPresent){const s=r.offsetParent,a=s instanceof HTMLElement&&s.offsetWidth||0,l=this.props.sizeRef.current;l.height=r.offsetHeight||0,l.width=r.offsetWidth||0,l.top=r.offsetTop,l.left=r.offsetLeft,l.right=a-l.width-l.left}return null}componentDidUpdate(){}render(){return this.props.children}}function o3({children:e,isPresent:t,anchorX:r}){const s=g.useId(),a=g.useRef(null),l=g.useRef({width:0,height:0,top:0,left:0,right:0}),{nonce:c}=g.useContext(Xg);return g.useInsertionEffect(()=>{const{width:d,height:m,top:f,left:p,right:x}=l.current;if(t||!a.current||!d||!m)return;const v=r==="left"?`left: ${p}`:`right: ${x}`;a.current.dataset.motionPopId=s;const b=document.createElement("style");return c&&(b.nonce=c),document.head.appendChild(b),b.sheet&&b.sheet.insertRule(` 10 [data-motion-pop-id="${s}"] { 11 position: absolute !important; 12 width: ${d}px !important; 13 height: ${m}px !important; 14 ${v}px !important; 15 top: ${f}px !important; 16 } 17 `),()=>{document.head.removeChild(b)}},[t]),n.jsx(a3,{isPresent:t,childRef:a,sizeRef:l,children:g.cloneElement(e,{ref:a})})}const l3=({children:e,initial:t,isPresent:r,onExitComplete:s,custom:a,presenceAffectsLayout:l,mode:c,anchorX:d})=>{const m=lm(c3),f=g.useId(),p=g.useCallback(v=>{m.set(v,!0);for(const b of m.values())if(!b)return;s&&s()},[m,s]),x=g.useMemo(()=>({id:f,initial:t,isPresent:r,custom:a,onExitComplete:p,register:v=>(m.set(v,!1),()=>m.delete(v))}),l?[Math.random(),p]:[r,p]);return g.useMemo(()=>{m.forEach((v,b)=>m.set(b,!1))},[r]),g.useEffect(()=>{!r&&!m.size&&s&&s()},[r]),c==="popLayout"&&(e=n.jsx(o3,{isPresent:r,anchorX:d,children:e})),n.jsx(cm.Provider,{value:x,children:e})};function c3(){return new Map}function l2(e=!0){const t=g.useContext(cm);if(t===null)return[!0,null];const{isPresent:r,onExitComplete:s,register:a}=t,l=g.useId();g.useEffect(()=>{if(e)return a(l)},[e]);const c=g.useCallback(()=>e&&s&&s(l),[l,s,e]);return!r&&s?[!1,c]:[!0]}const zd=e=>e.key||"";function nw(e){const t=[];return g.Children.forEach(e,r=>{g.isValidElement(r)&&t.push(r)}),t}const Jg=typeof window<"u",ex=Jg?g.useLayoutEffect:g.useEffect,li=({children:e,custom:t,initial:r=!0,onExitComplete:s,presenceAffectsLayout:a=!0,mode:l="sync",propagate:c=!1,anchorX:d="left"})=>{const[m,f]=l2(c),p=g.useMemo(()=>nw(e),[e]),x=c&&!m?[]:p.map(zd),v=g.useRef(!0),b=g.useRef(p),N=lm(()=>new Map),[j,C]=g.useState(p),[k,A]=g.useState(p);ex(()=>{v.current=!1,b.current=p;for(let I=0;I<k.length;I++){const L=zd(k[I]);x.includes(L)?N.delete(L):N.get(L)!==!0&&N.set(L,!1)}},[k,x.length,x.join("-")]);const T=[];if(p!==j){let I=[...p];for(let L=0;L<k.length;L++){const $=k[L],z=zd($);x.includes(z)||(I.splice(L,0,$),T.push($))}return l==="wait"&&T.length&&(I=T),A(nw(I)),C(p),null}const{forceRender:P}=g.useContext(Qg);return n.jsx(n.Fragment,{children:k.map(I=>{const L=zd(I),$=c&&!m?!1:p===k||x.includes(L),z=()=>{if(N.has(L))N.set(L,!0);else return;let Y=!0;N.forEach(ee=>{ee||(Y=!1)}),Y&&(P?.(),A(b.current),c&&f?.(),s&&s())};return n.jsx(l3,{isPresent:$,initial:!v.current||r?void 0:!1,custom:t,presenceAffectsLayout:a,mode:l,onExitComplete:$?void 0:z,anchorX:d,children:I},L)})})},Cn=e=>e;let d3=Cn,c2=Cn;function tx(e){let t;return()=>(t===void 0&&(t=e()),t)}const zi=(e,t,r)=>{const s=t-e;return s===0?1:(r-e)/s},gs=e=>e*1e3,xs=e=>e/1e3,u3={useManualTiming:!1},Hd=["read","resolveKeyframes","update","preRender","render","postRender"];function m3(e,t){let r=new Set,s=new Set,a=!1,l=!1;const c=new WeakSet;let d={delta:0,timestamp:0,isProcessing:!1};
vendor: 14,412 bytes, line 17
17function m(p){c.has(p)&&(f.schedule(p),e()),p(d)}const f={schedule:(p,x=!1,v=!1)=>{const N=v&&a?r:s;return x&&c.add(p),N.has(p)||N.add(p),p},cancel:p=>{s.delete(p),c.delete(p)},process:p=>{if(d=p,a){l=!0;return}a=!0,[r,s]=[s,r],r.forEach(m),r.clear(),a=!1,l&&(l=!1,f.process(p))}};return f}const f3=40;function d2(e,t){let r=!1,s=!0;const a={delta:0,timestamp:0,isProcessing:!1},l=()=>r=!0,c=Hd.reduce((k,A)=>(k[A]=m3(l),k),{}),{read:d,resolveKeyframes:m,update:f,preRender:p,render:x,postRender:v}=c,b=()=>{const k=performance.now();r=!1,a.delta=s?1e3/60:Math.max(Math.min(k-a.timestamp,f3),1),a.timestamp=k,a.isProcessing=!0,d.process(a),m.process(a),f.process(a),p.process(a),x.process(a),v.process(a),a.isProcessing=!1,r&&t&&(s=!1,e(b))},N=()=>{r=!0,s=!0,a.isProcessing||e(b)};return{schedule:Hd.reduce((k,A)=>{const T=c[A];return k[A]=(P,I=!1,L=!1)=>(r||N(),T.schedule(P,I,L)),k},{}),cancel:k=>{for(let A=0;A<Hd.length;A++)c[Hd[A]].cancel(k)},state:a,steps:c}}const{schedule:nt,cancel:Kr,state:Wt,steps:Lh}=d2(typeof requestAnimationFrame<"u"?requestAnimationFrame:Cn,!0),u2=g.createContext({strict:!1}),rw={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"]},eo={};for(const e in rw)eo[e]={isEnabled:t=>rw[e].some(r=>!!t[r])};function h3(e){for(const t in e)eo[t]={...eo[t],...e[t]}}const p3=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function Cu(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||p3.has(e)}let m2=e=>!Cu(e);function g3(e){e&&(m2=t=>t.startsWith("on")?!Cu(t):e(t))}try{g3(require("@emotion/is-prop-valid").default)}catch{}function x3(e,t,r){const s={};for(const a in e)a==="values"&&typeof e.values=="object"||(m2(a)||r===!0&&Cu(a)||!t&&!Cu(a)||e.draggable&&a.startsWith("onDrag"))&&(s[a]=e[a]);return s}function v3(e){if(typeof Proxy>"u")return e;const t=new Map,r=(...s)=>e(...s);return new Proxy(r,{get:(s,a)=>a==="create"?e:(t.has(a)||t.set(a,e(a)),t.get(a))})}const dm=g.createContext({});function um(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function $l(e){return typeof e=="string"||Array.isArray(e)}const nx=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],rx=["initial",...nx];function mm(e){return um(e.animate)||rx.some(t=>$l(e[t]))}function f2(e){return!!(mm(e)||e.variants)}function y3(e,t){if(mm(e)){const{initial:r,animate:s}=e;return{initial:r===!1||$l(r)?r:void 0,animate:$l(s)?s:void 0}}return e.inherit!==!1?t:{}}function b3(e){const{initial:t,animate:r}=y3(e,g.useContext(dm));return g.useMemo(()=>({initial:t,animate:r}),[sw(t),sw(r)])}function sw(e){return Array.isArray(e)?e.join(" "):e}const w3=Symbol.for("motionComponentSymbol");function Oa(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function j3(e,t,r){return g.useCallback(s=>{s&&e.onMount&&e.onMount(s),t&&(s?t.mount(s):t.unmount()),r&&(typeof r=="function"?r(s):Oa(r)&&(r.current=s))},[t])}const sx=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),N3="framerAppearId",h2="data-"+sx(N3),{schedule:ix}=d2(queueMicrotask,!1),p2=g.createContext({});function C3(e,t,r,s,a){var l,c;const{visualElement:d}=g.useContext(dm),m=g.useContext(u2),f=g.useContext(cm),p=g.useContext(Xg).reducedMotion,x=g.useRef(null);s=s||m.renderer,!x.current&&s&&(x.current=s(e,{visualState:t,parent:d,props:r,presenceContext:f,blockInitialAnimation:f?f.initial===!1:!1,reducedMotionConfig:p}));const v=x.current,b=g.useContext(p2);v&&!v.projection&&a&&(v.type==="html"||v.type==="svg")&&S3(x.current,r,a,b);const N=g.useRef(!1);g.useInsertionEffect(()=>{v&&N.current&&v.update(r,f)});const j=r[h2],C=g.useRef(!!j&&!(!((l=window.MotionHandoffIsComplete)===null||l===void 0)&&l.call(window,j))&&((c=window.MotionHasOptimisedAnimation)===null||c===void 0?void 0:c.call(window,j)));return ex(()=>{v&&(N.current=!0,window.MotionIsMounted=!0,v.updateFeatures(),ix.render(v.render),C.current&&v.animationState&&v.animationState.animateChanges())}),g.useEffect(()=>{v&&(!C.current&&v.animationState&&v.animationState.animateChanges(),C.current&&(queueMicrotask(()=>{var k;(k=window.MotionHandoffMarkAsComplete)===null||k===void 0||k.call(window,j)}),C.current=!1))}),v}function S3(e,t,r,s){const{layoutId:a,layout:l,drag:c,dragConstraints:d,layoutScroll:m,layoutRoot:f}=t;e.projection=new r(e.latestValues,t["data-framer-portal-id"]?void 0:g2(e.parent)),e.projection.setOptions({layoutId:a,layout:l,alwaysMeasureLayout:!!c||d&&Oa(d),visualElement:e,animationType:typeof l=="string"?l:"both",initialPromotionConfig:s,layoutScroll:m,layoutRoot:f})}function g2(e){if(e)return e.options.allowProjection!==!1?e.projection:g2(e.parent)}function k3({preloadedFeatures:e,createVisualElement:t,useRender:r,useVisualState:s,Component:a}){var l,c;e&&h3(e);function d(f,p){let x;const v={...g.useContext(Xg),...f,layoutId:A3(f)},{isStatic:b}=v,N=b3(f),j=s(f,b);if(!b&&Jg){E3();const C=T3(v);x=C.MeasureLayout,N.visualElement=C3(a,j,v,t,C.ProjectionNode)}return n.jsxs(dm.Provider,{value:N,children:[x&&N.visualElement?n.jsx(x,{visualElement:N.visualElement,...v}):null,r(a,f,j3(j,N.visualElement,p),j,b,N.visualElement)]})}d.displayName=`motion.${typeof a=="string"?a:`create(${(c=(l=a.displayName)!==null&&l!==void 0?l:a.name)!==null&&c!==void 0?c:""})`}`;const m=g.forwardRef(d);return m[w3]=a,m}function A3({layoutId:e}){const t=g.useContext(Qg).id;return t&&e!==void 0?t+"-"+e:e}function E3(e,t){g.useContext(u2).strict}function T3(e){const{drag:t,layout:r}=eo;if(!t&&!r)return{};const s={...t,...r};return{MeasureLayout:t?.isEnabled(e)||r?.isEnabled(e)?s.MeasureLayout:void 0,ProjectionNode:s.ProjectionNode}}const x2=e=>t=>typeof t=="string"&&t.startsWith(e),ax=x2("--"),I3=x2("var(--"),ox=e=>I3(e)?P3.test(e.split("/*")[0].trim()):!1,P3=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,Bl={};function _3(e){for(const t in e)Bl[t]=e[t],ax(t)&&(Bl[t].isCSSVariable=!0)}const xo=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Ji=new Set(xo);function v2(e,{layout:t,layoutId:r}){return Ji.has(e)||e.startsWith("origin")||(t||r!==void 0)&&(!!Bl[e]||e==="opacity")}const hn=e=>!!(e&&e.getVelocity),y2=(e,t)=>t&&typeof e=="number"?t.transform(e):e,Gr=(e,t,r)=>r>t?t:r<e?e:r,vo={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},zl={...vo,transform:e=>Gr(0,1,e)},Ud={...vo,default:1},xc=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Gs=xc("deg"),zr=xc("%"),Be=xc("px"),R3=xc("vh"),M3=xc("vw"),iw={...zr,parse:e=>zr.parse(e)/100,transform:e=>zr.transform(e*100)},O3={borderWidth:Be,borderTopWidth:Be,borderRightWidth:Be,borderBottomWidth:Be,borderLeftWidth:Be,borderRadius:Be,radius:Be,borderTopLeftRadius:Be,borderTopRightRadius:Be,borderBottomRightRadius:Be,borderBottomLeftRadius:Be,width:Be,maxWidth:Be,height:Be,maxHeight:Be,top:Be,right:Be,bottom:Be,left:Be,padding:Be,paddingTop:Be,paddingRight:Be,paddingBottom:Be,paddingLeft:Be,margin:Be,marginTop:Be,marginRight:Be,marginBottom:Be,marginLeft:Be,backgroundPositionX:Be,backgroundPositionY:Be},D3={rotate:Gs,rotateX:Gs,rotateY:Gs,rotateZ:Gs,scale:Ud,scaleX:Ud,scaleY:Ud,scaleZ:Ud,skew:Gs,skewX:Gs,skewY:Gs,distance:Be,translateX:Be,translateY:Be,translateZ:Be,x:Be,y:Be,z:Be,perspective:Be,transformPerspective:Be,opacity:zl,originX:iw,originY:iw,originZ:Be},aw={...vo,transform:Math.round},lx={...O3,...D3,zIndex:aw,size:Be,fillOpacity:zl,strokeOpacity:zl,numOctaves:aw},L3={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},V3=xo.length;function F3(e,t,r){let s="",a=!0;for(let l=0;l<V3;l++){const c=xo[l],d=e[c];if(d===void 0)continue;let m=!0;if(typeof d=="number"?m=d===(c.startsWith("scale")?1:0):m=parseFloat(d)===0,!m||r){const f=y2(d,lx[c]);if(!m){a=!1;const p=L3[c]||c;s+=`${p}(${f}) `}r&&(t[c]=f)}}return s=s.trim(),r?s=r(t,a?"":s):a&&(s="none"),s}function cx(e,t,r){const{style:s,vars:a,transformOrigin:l}=e;let c=!1,d=!1;for(const m in t){const f=t[m];if(Ji.has(m)){c=!0;continue}else if(ax(m)){a[m]=f;continue}else{const p=y2(f,lx[m]);m.startsWith("origin")?(d=!0,l[m]=p):s[m]=p}}if(t.transform||(c||r?s.transform=F3(t,e.transform,r):s.transform&&(s.transform="none")),d){const{originX:m="50%",originY:f="50%",originZ:p=0}=l;s.transformOrigin=`${m} ${f} ${p}`}}const dx=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function b2(e,t,r){for(const s in t)!hn(t[s])&&!v2(s,r)&&(e[s]=t[s])}function $3({transformTemplate:e},t){return g.useMemo(()=>{const r=dx();return cx(r,t,e),Object.assign({},r.vars,r.style)},[t])}function B3(e,t){const r=e.style||{},s={};return b2(s,r,e),Object.assign(s,$3(e,t)),s}function z3(e,t){const r={},s=B3(e,t);return e.drag&&e.dragListener!==!1&&(r.draggable=!1,s.userSelect=s.WebkitUserSelect=s.WebkitTouchCallout="none",s.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(r.tabIndex=0),r.style=s,r}const H3=["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 ux(e){return typeof e!="string"||e.includes("-")?!1:!!(H3.indexOf(e)>-1||/[A-Z]/u.test(e))}const U3={offset:"stroke-dashoffset",array:"stroke-dasharray"},W3={offset:"strokeDashoffset",array:"strokeDasharray"};function q3(e,t,r=1,s=0,a=!0){e.pathLength=1;const l=a?U3:W3;e[l.offset]=Be.transform(-s);const c=Be.transform(t),d=Be.transform(r);e[l.array]=`${c} ${d}`}function ow(e,t,r){return typeof e=="string"?e:Be.transform(t+r*e)}function K3(e,t,r){const s=ow(t,e.x,e.width),a=ow(r,e.y,e.height);return`${s} ${a}`}function mx(e,{attrX:t,attrY:r,attrScale:s,originX:a,originY:l,pathLength:c,pathSpacing:d=1,pathOffset:m=0,...f},p,x){if(cx(e,f,x),p){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:v,style:b,dimensions:N}=e;v.transform&&(N&&(b.transform=v.transform),delete v.transform),N&&(a!==void 0||l!==void 0||b.transform)&&(b.transformOrigin=K3(N,a!==void 0?a:.5,l!==void 0?l:.5)),t!==void 0&&(v.x=t),r!==void 0&&(v.y=r),s!==void 0&&(v.scale=s),c!==void 0&&q3(v,c,d,m,!1)}const w2=()=>({...dx(),attrs:{}}),fx=e=>typeof e=="string"&&e.toLowerCase()==="svg";function G3(e,t,r,s){const a=g.useMemo(()=>{const l=w2();return mx(l,t,fx(s),e.transformTemplate),{...l.attrs,style:{...l.style}}},[t]);if(e.style){const l={};b2(l,e.style,e),a.style={...l,...a.style}}return a}function Y3(e=!1){return(r,s,a,{latestValues:l},c)=>{const m=(ux(r)?G3:z3)(s,l,c,r),f=x3(s,typeof r=="string",e),p=r!==g.Fragment?{...f,...m,ref:a}:{},{children:x}=s,v=g.useMemo(()=>hn(x)?x.get():x,[x]);return g.createElement(r,{...p,children:v})}}function lw(e){const t=[{},{}];return e?.values.forEach((r,s)=>{t[0][s]=r.get(),t[1][s]=r.getVelocity()}),t}function hx(e,t,r,s){if(typeof t=="function"){const[a,l]=lw(s);t=t(r!==void 0?r:e.custom,a,l)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[a,l]=lw(s);t=t(r!==void 0?r:e.custom,a,l)}return t}const Vp=e=>Array.isArray(e),Z3=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),Q3=e=>Vp(e)?e[e.length-1]||0:e;function iu(e){const t=hn(e)?e.get():e;return Z3(t)?t.toValue():t}function X3({scrapeMotionValuesFromProps:e,createRenderState:t,onUpdate:r},s,a,l){const c={latestValues:J3(s,a,l,e),renderState:t()};return r&&(c.onMount=d=>r({props:s,current:d,...c}),c.onUpdate=d=>r(d)),c}const j2=e=>(t,r)=>{const s=g.useContext(dm),a=g.useContext(cm),l=()=>X3(e,t,s,a);return r?l():lm(l)};function J3(e,t,r,s){const a={},l=s(e,{});for(const v in l)a[v]=iu(l[v]);let{initial:c,animate:d}=e;const m=mm(e),f=f2(e);t&&f&&!m&&e.inherit!==!1&&(c===void 0&&(c=t.initial),d===void 0&&(d=t.animate));let p=r?r.initial===!1:!1;p=p||c===!1;const x=p?d:c;if(x&&typeof x!="boolean"&&!um(x)){const v=Array.isArray(x)?x:[x];for(let b=0;b<v.length;b++){const N=hx(e,v[b]);if(N){const{transitionEnd:j,transition:C,...k}=N;for(const A in k){let T=k[A];if(Array.isArray(T)){const P=p?T.length-1:0;T=T[P]}T!==null&&(a[A]=T)}for(const A in j)a[A]=j[A]}}}return a}function px(e,t,r){var s;const{style:a}=e,l={};for(const c in a)(hn(a[c])||t.style&&hn(t.style[c])||v2(c,e)||((s=r?.getValue(c))===null||s===void 0?void 0:s.liveStyle)!==void 0)&&(l[c]=a[c]);return l}const eM={useVisualState:j2({scrapeMotionValuesFromProps:px,createRenderState:dx})};function N2(e,t){try{t.dimensions=typeof e.getBBox=="function"?e.getBBox():e.getBoundingClientRect()}catch{t.dimensions={x:0,y:0,width:0,height:0}}}function C2(e,{style:t,vars:r},s,a){Object.assign(e.style,t,a&&a.getProjectionStyles(s));for(const l in r)e.style.setProperty(l,r[l])}const S2=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function k2(e,t,r,s){C2(e,t,void 0,s);for(const a in t.attrs)e.setAttribute(S2.has(a)?a:sx(a),t.attrs[a])}function A2(e,t,r){const s=px(e,t,r);for(const a in e)if(hn(e[a])||hn(t[a])){const l=xo.indexOf(a)!==-1?"attr"+a.charAt(0).toUpperCase()+a.substring(1):a;s[l]=e[a]}return s}const cw=["x","y","width","height","cx","cy","r"],tM={useVisualState:j2({scrapeMotionValuesFromProps:A2,createRenderState:w2,onUpdate:({props:e,prevProps:t,current:r,render
vendor: 14,445 bytes, line 17
17State:s,latestValues:a})=>{if(!r)return;let l=!!e.drag;if(!l){for(const d in a)if(Ji.has(d)){l=!0;break}}if(!l)return;let c=!t;if(t)for(let d=0;d<cw.length;d++){const m=cw[d];e[m]!==t[m]&&(c=!0)}c&&nt.read(()=>{N2(r,s),nt.render(()=>{mx(s,a,fx(r.tagName),e.transformTemplate),k2(r,s)})})}})};function nM(e,t){return function(s,{forwardMotionProps:a}={forwardMotionProps:!1}){const c={...ux(s)?tM:eM,preloadedFeatures:e,useRender:Y3(a),createVisualElement:t,Component:s};return k3(c)}}function Hl(e,t,r){const s=e.getProps();return hx(s,t,r!==void 0?r:s.custom,e)}const E2=tx(()=>window.ScrollTimeline!==void 0);class rM{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}get finished(){return Promise.all(this.animations.map(t=>"finished"in t?t.finished:t))}getAll(t){return this.animations[0][t]}setAll(t,r){for(let s=0;s<this.animations.length;s++)this.animations[s][t]=r}attachTimeline(t,r){const s=this.animations.map(a=>{if(E2()&&a.attachTimeline)return a.attachTimeline(t);if(typeof r=="function")return r(a)});return()=>{s.forEach((a,l)=>{a&&a(),this.animations[l].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get startTime(){return this.getAll("startTime")}get duration(){let t=0;for(let r=0;r<this.animations.length;r++)t=Math.max(t,this.animations[r].duration);return t}runAll(t){this.animations.forEach(r=>r[t]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}class sM extends rM{then(t,r){return Promise.all(this.animations).then(t).catch(r)}}function gx(e,t){return e?e[t]||e.default||e:void 0}const Fp=2e4;function T2(e){let t=0;const r=50;let s=e.next(t);for(;!s.done&&t<Fp;)t+=r,s=e.next(t);return t>=Fp?1/0:t}function xx(e){return typeof e=="function"}function dw(e,t){e.timeline=t,e.onfinish=null}const vx=e=>Array.isArray(e)&&typeof e[0]=="number",iM={linearEasing:void 0};function aM(e,t){const r=tx(e);return()=>{var s;return(s=iM[t])!==null&&s!==void 0?s:r()}}const Su=aM(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),I2=(e,t,r=10)=>{let s="";const a=Math.max(Math.round(t/r),2);for(let l=0;l<a;l++)s+=e(zi(0,a-1,l))+", ";return`linear(${s.substring(0,s.length-2)})`};function P2(e){return!!(typeof e=="function"&&Su()||!e||typeof e=="string"&&(e in $p||Su())||vx(e)||Array.isArray(e)&&e.every(P2))}const pl=([e,t,r,s])=>`cubic-bezier(${e}, ${t}, ${r}, ${s})`,$p={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:pl([0,.65,.55,1]),circOut:pl([.55,0,1,.45]),backIn:pl([.31,.01,.66,-.59]),backOut:pl([.33,1.53,.69,.99])};function _2(e,t){if(e)return typeof e=="function"&&Su()?I2(e,t):vx(e)?pl(e):Array.isArray(e)?e.map(r=>_2(r,t)||$p.easeOut):$p[e]}const yr={x:!1,y:!1};function R2(){return yr.x||yr.y}function yx(e,t,r){var s;if(e instanceof EventTarget)return[e];if(typeof e=="string"){let a=document;const l=(s=void 0)!==null&&s!==void 0?s:a.querySelectorAll(e);return l?Array.from(l):[]}return Array.from(e)}function M2(e,t){const r=yx(e),s=new AbortController,a={passive:!0,...t,signal:s.signal};return[r,a,()=>s.abort()]}function uw(e){return!(e.pointerType==="touch"||R2())}function oM(e,t,r={}){const[s,a,l]=M2(e,r),c=d=>{if(!uw(d))return;const{target:m}=d,f=t(m,d);if(typeof f!="function"||!m)return;const p=x=>{uw(x)&&(f(x),m.removeEventListener("pointerleave",p))};m.addEventListener("pointerleave",p,a)};return s.forEach(d=>{d.addEventListener("pointerenter",c,a)}),l}function jl(e,t){const r=`${t}PointerCapture`;if(e.target instanceof Element&&r in e.target&&e.pointerId!==void 0)try{e.target[r](e.pointerId)}catch{}}const O2=(e,t)=>t?e===t?!0:O2(e,t.parentElement):!1,bx=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,lM=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function cM(e){return lM.has(e.tagName)||e.tabIndex!==-1}const gl=new WeakSet;function mw(e){return t=>{t.key==="Enter"&&e(t)}}function Vh(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const dM=(e,t)=>{const r=e.currentTarget;if(!r)return;const s=mw(()=>{if(gl.has(r))return;Vh(r,"down");const a=mw(()=>{Vh(r,"up")}),l=()=>Vh(r,"cancel");r.addEventListener("keyup",a,t),r.addEventListener("blur",l,t)});r.addEventListener("keydown",s,t),r.addEventListener("blur",()=>r.removeEventListener("keydown",s),t)};function fw(e){return bx(e)&&!R2()}function uM(e,t,r={}){const[s,a,l]=M2(e,r),c=d=>{const m=d.currentTarget;if(!m||!fw(d)||gl.has(m))return;gl.add(m),jl(d,"set");const f=t(m,d),p=(b,N)=>{m.removeEventListener("pointerup",x),m.removeEventListener("pointercancel",v),jl(b,"release"),!(!fw(b)||!gl.has(m))&&(gl.delete(m),typeof f=="function"&&f(b,{success:N}))},x=b=>{(b.isTrusted?mM(b,m instanceof Element?m.getBoundingClientRect():{left:0,top:0,right:window.innerWidth,bottom:window.innerHeight}):!1)?p(b,!1):p(b,!(m instanceof Element)||O2(m,b.target))},v=b=>{p(b,!1)};m.addEventListener("pointerup",x,a),m.addEventListener("pointercancel",v,a),m.addEventListener("lostpointercapture",v,a)};return s.forEach(d=>{d=r.useGlobalTarget?window:d;let m=!1;d instanceof HTMLElement&&(m=!0,!cM(d)&&d.getAttribute("tabindex")===null&&(d.tabIndex=0)),d.addEventListener("pointerdown",c,a),m&&d.addEventListener("focus",f=>dM(f,a),a)}),l}function mM(e,t){return e.clientX<t.left||e.clientX>t.right||e.clientY<t.top||e.clientY>t.bottom}function fM(e){return e==="x"||e==="y"?yr[e]?null:(yr[e]=!0,()=>{yr[e]=!1}):yr.x||yr.y?null:(yr.x=yr.y=!0,()=>{yr.x=yr.y=!1})}const D2=new Set(["width","height","top","left","right","bottom",...xo]);let au;function hM(){au=void 0}const Hr={now:()=>(au===void 0&&Hr.set(Wt.isProcessing||u3.useManualTiming?Wt.timestamp:performance.now()),au),set:e=>{au=e,queueMicrotask(hM)}};function wx(e,t){e.indexOf(t)===-1&&e.push(t)}function jx(e,t){const r=e.indexOf(t);r>-1&&e.splice(r,1)}class Nx{constructor(){this.subscriptions=[]}add(t){return wx(this.subscriptions,t),()=>jx(this.subscriptions,t)}notify(t,r,s){const a=this.subscriptions.length;if(a)if(a===1)this.subscriptions[0](t,r,s);else for(let l=0;l<a;l++){const c=this.subscriptions[l];c&&c(t,r,s)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function Cx(e,t){return t?e*(1e3/t):0}const hw=30,pM=e=>!isNaN(parseFloat(e));class gM{constructor(t,r={}){this.version="12.4.10",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(s,a=!0)=>{const l=Hr.now();this.updatedAt!==l&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(s),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),a&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(t),this.owner=r.owner}setCurrent(t){this.current=t,this.updatedAt=Hr.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=pM(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,r){this.events[t]||(this.events[t]=new Nx);const s=this.events[t].add(r);return t==="change"?()=>{s(),nt.read(()=>{this.events.change.getSize()||this.stop()})}:s}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,r){this.passiveEffect=t,this.stopPassiveEffect=r}set(t,r=!0){!r||!this.passiveEffect?this.updateAndNotify(t,r):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,r,s){this.set(r),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-s}jump(t,r=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,r&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const t=Hr.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>hw)return 0;const r=Math.min(this.updatedAt-this.prevUpdatedAt,hw);return Cx(parseFloat(this.current)-parseFloat(this.prevFrameValue),r)}start(t){return this.stop(),new Promise(r=>{this.hasAnimated=!0,this.animation=t(r),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function hs(e,t){return new gM(e,t)}function xM(e,t,r){e.hasValue(t)?e.getValue(t).set(r):e.addValue(t,hs(r))}function vM(e,t){const r=Hl(e,t);let{transitionEnd:s={},transition:a={},...l}=r||{};l={...l,...s};for(const c in l){const d=Q3(l[c]);xM(e,c,d)}}function yM(e){return!!(hn(e)&&e.add)}function Bp(e,t){const r=e.getValue("willChange");if(yM(r))return r.add(t)}function L2(e){return e.props[h2]}const V2=(e,t,r)=>(((1-3*r+3*t)*e+(3*r-6*t))*e+3*t)*e,bM=1e-7,wM=12;function jM(e,t,r,s,a){let l,c,d=0;do c=t+(r-t)/2,l=V2(c,s,a)-e,l>0?r=c:t=c;while(Math.abs(l)>bM&&++d<wM);return c}function vc(e,t,r,s){if(e===t&&r===s)return Cn;const a=l=>jM(l,0,1,e,r);return l=>l===0||l===1?l:V2(a(l),t,s)}const F2=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,$2=e=>t=>1-e(1-t),B2=vc(.33,1.53,.69,.99),Sx=$2(B2),z2=F2(Sx),H2=e=>(e*=2)<1?.5*Sx(e):.5*(2-Math.pow(2,-10*(e-1))),kx=e=>1-Math.sin(Math.acos(e)),U2=$2(kx),W2=F2(kx),q2=e=>/^0[^.\s]+$/u.test(e);function NM(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||q2(e):!0}const Nl=e=>Math.round(e*1e5)/1e5,Ax=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function CM(e){return e==null}const SM=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Ex=(e,t)=>r=>!!(typeof r=="string"&&SM.test(r)&&r.startsWith(e)||t&&!CM(r)&&Object.prototype.hasOwnProperty.call(r,t)),K2=(e,t,r)=>s=>{if(typeof s!="string")return s;const[a,l,c,d]=s.match(Ax);return{[e]:parseFloat(a),[t]:parseFloat(l),[r]:parseFloat(c),alpha:d!==void 0?parseFloat(d):1}},kM=e=>Gr(0,255,e),Fh={...vo,transform:e=>Math.round(kM(e))},Li={test:Ex("rgb","red"),parse:K2("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:s=1})=>"rgba("+Fh.transform(e)+", "+Fh.transform(t)+", "+Fh.transform(r)+", "+Nl(zl.transform(s))+")"};function AM(e){let t="",r="",s="",a="";return e.length>5?(t=e.substring(1,3),r=e.substring(3,5),s=e.substring(5,7),a=e.substring(7,9)):(t=e.substring(1,2),r=e.substring(2,3),s=e.substring(3,4),a=e.substring(4,5),t+=t,r+=r,s+=s,a+=a),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(s,16),alpha:a?parseInt(a,16)/255:1}}const zp={test:Ex("#"),parse:AM,transform:Li.transform},Da={test:Ex("hsl","hue"),parse:K2("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:s=1})=>"hsla("+Math.round(e)+", "+zr.transform(Nl(t))+", "+zr.transform(Nl(r))+", "+Nl(zl.transform(s))+")"},dn={test:e=>Li.test(e)||zp.test(e)||Da.test(e),parse:e=>Li.test(e)?Li.parse(e):Da.test(e)?Da.parse(e):zp.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?Li.transform(e):Da.transform(e)},EM=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function TM(e){var t,r;return isNaN(e)&&typeof e=="string"&&(((t=e.match(Ax))===null||t===void 0?void 0:t.length)||0)+(((r=e.match(EM))===null||r===void 0?void 0:r.length)||0)>0}const G2="number",Y2="color",IM="var",PM="var(",pw="${}",_M=/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 Ul(e){const t=e.toString(),r=[],s={color:[],number:[],var:[]},a=[];let l=0;const d=t.replace(_M,m=>(dn.test(m)?(s.color.push(l),a.push(Y2),r.push(dn.parse(m))):m.startsWith(PM)?(s.var.push(l),a.push(IM),r.push(m)):(s.number.push(l),a.push(G2),r.push(parseFloat(m))),++l,pw)).split(pw);return{values:r,split:d,indexes:s,types:a}}function Z2(e){return Ul(e).values}function Q2(e){const{split:t,types:r}=Ul(e),s=t.length;return a=>{let l="";for(let c=0;c<s;c++)if(l+=t[c],a[c]!==void 0){const d=r[c];d===G2?l+=Nl(a[c]):d===Y2?l+=dn.transform(a[c]):l+=a[c]}return l}}const RM=e=>typeof e=="number"?0:e;function MM(e){const t=Z2(e);return Q2(e)(t.map(RM))}const ci={test:TM,parse:Z2,createTransformer:Q2,getAnimatableNone:MM},OM=new Set(["brightness","contrast","saturate","opacity"]);function DM(e){const[t,r]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[s]=r.match(Ax)||[];if(!s)return e;const a=r.replace(s,"");let l=OM.has(t)?1:0;return s!==r&&(l*=100),t+"("+l+a+")"}const LM=/\b([a-z-]*)\(.*?\)/gu,Hp={...ci,getAnimatableNone:e=>{const t=e.match(LM);return t?t.map(DM).join(" "):e}},VM={...lx,color:dn,backgroundColor:dn,outlineColor:dn,fill:dn,stroke:dn,borderColor:dn,borderTopColor:dn,borderRightColor:dn,borderBottomColor:dn,borderLeftColor:dn,filter:Hp,WebkitFilter:Hp},Tx=e=>VM[e];function X2(e,t){let r=Tx(e);return r!==Hp&&(r=ci),r.getAnimatableNone?r.getAnimatableNone(t):void 0}const FM=new Set(["auto","none","0"]);function $M(e,t,r){let s=0,a;for(;s<e.length&&!a;){const l=e[s];typeof l=="string"&&!FM.has(l)&&Ul(l).values.length&&(a=e[s]),s++}if(a&&r)for(const l of t)e[l]=X2(r,a)}const gw=e=>e===vo||e===Be,xw=(e,t)=>parseFloat(e.split(", ")[t]),vw=(e,t)=>(r,{transform:s})=>{if(s==="none"||!s)return 0;const a=s.match(/^matrix3d\((.+)\)$/u);if(a)return xw(a[1],t);{const l=s.match(/^matrix\((.+)\)$/u);return l?xw(l[1],e):0}},BM=new Set(["x","y","z"]),zM=xo.filter(e=>!BM.has(e));function HM(e){const t=[];return zM.forEach(r=>{const s=e.getValue(r);s!==void 0&&(t.push([r,s.get()]),s.set(r.startsWith("scale")?1:0))}),t}const to={width:({x:e},{paddingLeft:t="0",paddingRight:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),height:({y:e},{paddingTop:t="0",paddingBottom:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),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:vw(4,13),y:vw(5,14)};to.translateX=to.x;to.translateY=to.y;const Fi=new Set;let Up=!1,Wp=!1;
vendor: 14,947 bytes, line 17
17function J2(){if(Wp){const e=Array.from(Fi).filter(s=>s.needsMeasurement),t=new Set(e.map(s=>s.element)),r=new Map;t.forEach(s=>{const a=HM(s);a.length&&(r.set(s,a),s.render())}),e.forEach(s=>s.measureInitialState()),t.forEach(s=>{s.render();const a=r.get(s);a&&a.forEach(([l,c])=>{var d;(d=s.getValue(l))===null||d===void 0||d.set(c)})}),e.forEach(s=>s.measureEndState()),e.forEach(s=>{s.suspendedScrollY!==void 0&&window.scrollTo(0,s.suspendedScrollY)})}Wp=!1,Up=!1,Fi.forEach(e=>e.complete()),Fi.clear()}function eC(){Fi.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Wp=!0)})}function UM(){eC(),J2()}class Ix{constructor(t,r,s,a,l,c=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...t],this.onComplete=r,this.name=s,this.motionValue=a,this.element=l,this.isAsync=c}scheduleResolve(){this.isScheduled=!0,this.isAsync?(Fi.add(this),Up||(Up=!0,nt.read(eC),nt.resolveKeyframes(J2))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:r,element:s,motionValue:a}=this;for(let l=0;l<t.length;l++)if(t[l]===null)if(l===0){const c=a?.get(),d=t[t.length-1];if(c!==void 0)t[0]=c;else if(s&&r){const m=s.readValue(r,d);m!=null&&(t[0]=m)}t[0]===void 0&&(t[0]=d),a&&c===void 0&&a.set(t[0])}else t[l]=t[l-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),Fi.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,Fi.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}const tC=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),WM=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function qM(e){const t=WM.exec(e);if(!t)return[,];const[,r,s,a]=t;return[`--${r??s}`,a]}function nC(e,t,r=1){const[s,a]=qM(e);if(!s)return;const l=window.getComputedStyle(t).getPropertyValue(s);if(l){const c=l.trim();return tC(c)?parseFloat(c):c}return ox(a)?nC(a,t,r+1):a}const rC=e=>t=>t.test(e),KM={test:e=>e==="auto",parse:e=>e},sC=[vo,Be,zr,Gs,M3,R3,KM],yw=e=>sC.find(rC(e));class iC extends Ix{constructor(t,r,s,a,l){super(t,r,s,a,l,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:r,name:s}=this;if(!r||!r.current)return;super.readKeyframes();for(let m=0;m<t.length;m++){let f=t[m];if(typeof f=="string"&&(f=f.trim(),ox(f))){const p=nC(f,r.current);p!==void 0&&(t[m]=p),m===t.length-1&&(this.finalKeyframe=f)}}if(this.resolveNoneKeyframes(),!D2.has(s)||t.length!==2)return;const[a,l]=t,c=yw(a),d=yw(l);if(c!==d)if(gw(c)&&gw(d))for(let m=0;m<t.length;m++){const f=t[m];typeof f=="string"&&(t[m]=parseFloat(f))}else this.needsMeasurement=!0}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:r}=this,s=[];for(let a=0;a<t.length;a++)NM(t[a])&&s.push(a);s.length&&$M(t,s,r)}measureInitialState(){const{element:t,unresolvedKeyframes:r,name:s}=this;if(!t||!t.current)return;s==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=to[s](t.measureViewportBox(),window.getComputedStyle(t.current)),r[0]=this.measuredOrigin;const a=r[r.length-1];a!==void 0&&t.getValue(s,a).jump(a,!1)}measureEndState(){var t;const{element:r,name:s,unresolvedKeyframes:a}=this;if(!r||!r.current)return;const l=r.getValue(s);l&&l.jump(this.measuredOrigin,!1);const c=a.length-1,d=a[c];a[c]=to[s](r.measureViewportBox(),window.getComputedStyle(r.current)),d!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=d),!((t=this.removedTransforms)===null||t===void 0)&&t.length&&this.removedTransforms.forEach(([m,f])=>{r.getValue(m).set(f)}),this.resolveNoneKeyframes()}}const bw=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(ci.test(e)||e==="0")&&!e.startsWith("url("));function GM(e){const t=e[0];if(e.length===1)return!0;for(let r=0;r<e.length;r++)if(e[r]!==t)return!0}function YM(e,t,r,s){const a=e[0];if(a===null)return!1;if(t==="display"||t==="visibility")return!0;const l=e[e.length-1],c=bw(a,t),d=bw(l,t);return!c||!d?!1:GM(e)||(r==="spring"||xx(r))&&s}const ZM=e=>e!==null;function fm(e,{repeat:t,repeatType:r="loop"},s){const a=e.filter(ZM),l=t&&r!=="loop"&&t%2===1?0:a.length-1;return!l||s===void 0?a[l]:s}const QM=40;class aC{constructor({autoplay:t=!0,delay:r=0,type:s="keyframes",repeat:a=0,repeatDelay:l=0,repeatType:c="loop",...d}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=Hr.now(),this.options={autoplay:t,delay:r,type:s,repeat:a,repeatDelay:l,repeatType:c,...d},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt?this.resolvedAt-this.createdAt>QM?this.resolvedAt:this.createdAt:this.createdAt}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&UM(),this._resolved}onKeyframesResolved(t,r){this.resolvedAt=Hr.now(),this.hasAttemptedResolve=!0;const{name:s,type:a,velocity:l,delay:c,onComplete:d,onUpdate:m,isGenerator:f}=this.options;if(!f&&!YM(t,s,a,l))if(c)this.options.duration=0;else{m&&m(fm(t,this.options,r)),d&&d(),this.resolveFinishedPromise();return}const p=this.initPlayback(t,r);p!==!1&&(this._resolved={keyframes:t,finalKeyframe:r,...p},this.onPostResolved())}onPostResolved(){}then(t,r){return this.currentFinishedPromise.then(t,r)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise(t=>{this.resolveFinishedPromise=t})}}const Ct=(e,t,r)=>e+(t-e)*r;function $h(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+(t-e)*6*r:r<1/2?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function XM({hue:e,saturation:t,lightness:r,alpha:s}){e/=360,t/=100,r/=100;let a=0,l=0,c=0;if(!t)a=l=c=r;else{const d=r<.5?r*(1+t):r+t-r*t,m=2*r-d;a=$h(m,d,e+1/3),l=$h(m,d,e),c=$h(m,d,e-1/3)}return{red:Math.round(a*255),green:Math.round(l*255),blue:Math.round(c*255),alpha:s}}function ku(e,t){return r=>r>0?t:e}const Bh=(e,t,r)=>{const s=e*e,a=r*(t*t-s)+s;return a<0?0:Math.sqrt(a)},JM=[zp,Li,Da],eO=e=>JM.find(t=>t.test(e));function ww(e){const t=eO(e);if(!t)return!1;let r=t.parse(e);return t===Da&&(r=XM(r)),r}const jw=(e,t)=>{const r=ww(e),s=ww(t);if(!r||!s)return ku(e,t);const a={...r};return l=>(a.red=Bh(r.red,s.red,l),a.green=Bh(r.green,s.green,l),a.blue=Bh(r.blue,s.blue,l),a.alpha=Ct(r.alpha,s.alpha,l),Li.transform(a))},tO=(e,t)=>r=>t(e(r)),yc=(...e)=>e.reduce(tO),qp=new Set(["none","hidden"]);function nO(e,t){return qp.has(e)?r=>r<=0?e:t:r=>r>=1?t:e}function rO(e,t){return r=>Ct(e,t,r)}function Px(e){return typeof e=="number"?rO:typeof e=="string"?ox(e)?ku:dn.test(e)?jw:aO:Array.isArray(e)?oC:typeof e=="object"?dn.test(e)?jw:sO:ku}function oC(e,t){const r=[...e],s=r.length,a=e.map((l,c)=>Px(l)(l,t[c]));return l=>{for(let c=0;c<s;c++)r[c]=a[c](l);return r}}function sO(e,t){const r={...e,...t},s={};for(const a in r)e[a]!==void 0&&t[a]!==void 0&&(s[a]=Px(e[a])(e[a],t[a]));return a=>{for(const l in s)r[l]=s[l](a);return r}}function iO(e,t){var r;const s=[],a={color:0,var:0,number:0};for(let l=0;l<t.values.length;l++){const c=t.types[l],d=e.indexes[c][a[c]],m=(r=e.values[d])!==null&&r!==void 0?r:0;s[l]=m,a[c]++}return s}const aO=(e,t)=>{const r=ci.createTransformer(t),s=Ul(e),a=Ul(t);return s.indexes.var.length===a.indexes.var.length&&s.indexes.color.length===a.indexes.color.length&&s.indexes.number.length>=a.indexes.number.length?qp.has(e)&&!a.values.length||qp.has(t)&&!s.values.length?nO(e,t):yc(oC(iO(s,a),a.values),r):ku(e,t)};function lC(e,t,r){return typeof e=="number"&&typeof t=="number"&&typeof r=="number"?Ct(e,t,r):Px(e)(e,t)}const oO=5;function cC(e,t,r){const s=Math.max(t-oO,0);return Cx(r-e(s),t-s)}const At={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},zh=.001;function lO({duration:e=At.duration,bounce:t=At.bounce,velocity:r=At.velocity,mass:s=At.mass}){let a,l,c=1-t;c=Gr(At.minDamping,At.maxDamping,c),e=Gr(At.minDuration,At.maxDuration,xs(e)),c<1?(a=f=>{const p=f*c,x=p*e,v=p-r,b=Kp(f,c),N=Math.exp(-x);return zh-v/b*N},l=f=>{const x=f*c*e,v=x*r+r,b=Math.pow(c,2)*Math.pow(f,2)*e,N=Math.exp(-x),j=Kp(Math.pow(f,2),c);return(-a(f)+zh>0?-1:1)*((v-b)*N)/j}):(a=f=>{const p=Math.exp(-f*e),x=(f-r)*e+1;return-zh+p*x},l=f=>{const p=Math.exp(-f*e),x=(r-f)*(e*e);return p*x});const d=5/e,m=dO(a,l,d);if(e=gs(e),isNaN(m))return{stiffness:At.stiffness,damping:At.damping,duration:e};{const f=Math.pow(m,2)*s;return{stiffness:f,damping:c*2*Math.sqrt(s*f),duration:e}}}const cO=12;function dO(e,t,r){let s=r;for(let a=1;a<cO;a++)s=s-e(s)/t(s);return s}function Kp(e,t){return e*Math.sqrt(1-t*t)}const uO=["duration","bounce"],mO=["stiffness","damping","mass"];function Nw(e,t){return t.some(r=>e[r]!==void 0)}function fO(e){let t={velocity:At.velocity,stiffness:At.stiffness,damping:At.damping,mass:At.mass,isResolvedFromDuration:!1,...e};if(!Nw(e,mO)&&Nw(e,uO))if(e.visualDuration){const r=e.visualDuration,s=2*Math.PI/(r*1.2),a=s*s,l=2*Gr(.05,1,1-(e.bounce||0))*Math.sqrt(a);t={...t,mass:At.mass,stiffness:a,damping:l}}else{const r=lO(e);t={...t,...r,mass:At.mass},t.isResolvedFromDuration=!0}return t}function dC(e=At.visualDuration,t=At.bounce){const r=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:s,restDelta:a}=r;const l=r.keyframes[0],c=r.keyframes[r.keyframes.length-1],d={done:!1,value:l},{stiffness:m,damping:f,mass:p,duration:x,velocity:v,isResolvedFromDuration:b}=fO({...r,velocity:-xs(r.velocity||0)}),N=v||0,j=f/(2*Math.sqrt(m*p)),C=c-l,k=xs(Math.sqrt(m/p)),A=Math.abs(C)<5;s||(s=A?At.restSpeed.granular:At.restSpeed.default),a||(a=A?At.restDelta.granular:At.restDelta.default);let T;if(j<1){const I=Kp(k,j);T=L=>{const $=Math.exp(-j*k*L);return c-$*((N+j*k*C)/I*Math.sin(I*L)+C*Math.cos(I*L))}}else if(j===1)T=I=>c-Math.exp(-k*I)*(C+(N+k*C)*I);else{const I=k*Math.sqrt(j*j-1);T=L=>{const $=Math.exp(-j*k*L),z=Math.min(I*L,300);return c-$*((N+j*k*C)*Math.sinh(z)+I*C*Math.cosh(z))/I}}const P={calculatedDuration:b&&x||null,next:I=>{const L=T(I);if(b)d.done=I>=x;else{let $=0;j<1&&($=I===0?gs(N):cC(T,I,L));const z=Math.abs($)<=s,Y=Math.abs(c-L)<=a;d.done=z&&Y}return d.value=d.done?c:L,d},toString:()=>{const I=Math.min(T2(P),Fp),L=I2($=>P.next(I*$).value,I,30);return I+"ms "+L}};return P}function Cw({keyframes:e,velocity:t=0,power:r=.8,timeConstant:s=325,bounceDamping:a=10,bounceStiffness:l=500,modifyTarget:c,min:d,max:m,restDelta:f=.5,restSpeed:p}){const x=e[0],v={done:!1,value:x},b=z=>d!==void 0&&z<d||m!==void 0&&z>m,N=z=>d===void 0?m:m===void 0||Math.abs(d-z)<Math.abs(m-z)?d:m;let j=r*t;const C=x+j,k=c===void 0?C:c(C);k!==C&&(j=k-x);const A=z=>-j*Math.exp(-z/s),T=z=>k+A(z),P=z=>{const Y=A(z),ee=T(z);v.done=Math.abs(Y)<=f,v.value=v.done?k:ee};let I,L;const $=z=>{b(v.value)&&(I=z,L=dC({keyframes:[v.value,N(v.value)],velocity:cC(T,z,v.value),damping:a,stiffness:l,restDelta:f,restSpeed:p}))};return $(0),{calculatedDuration:null,next:z=>{let Y=!1;return!L&&I===void 0&&(Y=!0,P(z),$(z)),I!==void 0&&z>=I?L.next(z-I):(!Y&&P(z),v)}}}const hO=vc(.42,0,1,1),pO=vc(0,0,.58,1),uC=vc(.42,0,.58,1),gO=e=>Array.isArray(e)&&typeof e[0]!="number",xO={linear:Cn,easeIn:hO,easeInOut:uC,easeOut:pO,circIn:kx,circInOut:W2,circOut:U2,backIn:Sx,backInOut:z2,backOut:B2,anticipate:H2},Sw=e=>{if(vx(e)){c2(e.length===4);const[t,r,s,a]=e;return vc(t,r,s,a)}else if(typeof e=="string")return xO[e];return e};function vO(e,t,r){const s=[],a=r||lC,l=e.length-1;for(let c=0;c<l;c++){let d=a(e[c],e[c+1]);if(t){const m=Array.isArray(t)?t[c]||Cn:t;d=yc(m,d)}s.push(d)}return s}function mC(e,t,{clamp:r=!0,ease:s,mixer:a}={}){const l=e.length;if(c2(l===t.length),l===1)return()=>t[0];if(l===2&&t[0]===t[1])return()=>t[1];const c=e[0]===e[1];e[0]>e[l-1]&&(e=[...e].reverse(),t=[...t].reverse());const d=vO(t,s,a),m=d.length,f=p=>{if(c&&p<e[0])return t[0];let x=0;if(m>1)for(;x<e.length-2&&!(p<e[x+1]);x++);const v=zi(e[x],e[x+1],p);return d[x](v)};return r?p=>f(Gr(e[0],e[l-1],p)):f}function yO(e,t){const r=e[e.length-1];for(let s=1;s<=t;s++){const a=zi(0,t,s);e.push(Ct(r,1,a))}}function fC(e){const t=[0];return yO(t,e.length-1),t}function bO(e,t){return e.map(r=>r*t)}function wO(e,t){return e.map(()=>t||uC).splice(0,e.length-1)}function Au({duration:e=300,keyframes:t,times:r,ease:s="easeInOut"}){const a=gO(s)?s.map(Sw):Sw(s),l={done:!1,value:t[0]},c=bO(r&&r.length===t.length?r:fC(t),e),d=mC(c,t,{ease:Array.isArray(a)?a:wO(t,a)});return{calculatedDuration:e,next:m=>(l.value=d(m),l.done=m>=e,l)}}const jO=e=>{const t=({timestamp:r})=>e(r);return{start:()=>nt.update(t,!0),stop:()=>Kr(t),now:()=>Wt.isProcessing?Wt.timestamp:Hr.now()}},NO={decay:Cw,inertia:Cw,tween:Au,keyframes:Au,spring:dC},CO=e=>e/100;class _x extends aC{constructor(t){super(t),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.teardown();const{onStop:m}=this.options;m&&m()};const{name:r,motionValue:s,element:a,keyframes:l}=this.options,c=a?.KeyframeResolver||Ix,d=(m,f)=>this.onKeyframesResolved(m,f);this.resolver=new c(l,d,r,s,a),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(t){const{type:r="keyframes",repeat:s=0,repeatDelay:a=0,repeatType:l,velocity:c=0}=this.options,d=xx(r)?r:NO[r]||Au;let m,f;d!==Au&&typeof t[0]!="number"&&(m=yc(CO,lC(t[0],t[1])),t=[0,100]);const p=d({...this.options,keyframes:t});l==="mirror"&&(f=d({...this.options,keyframes:[...t].reverse(),velocity:-c})),p.calculatedDuration===null&&(p.calculatedDuration=T2(p));const{calculatedDuration:x}=p,v=x+a,b=v*(s+1)-a;return{generator:p,mirroredGenerator:f,mapPercentToKeyframes:m,calculatedDuration:x,resolvedDuration:v,totalDuration:b}}onPostResolved(){const{autoplay:t=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!t?this.pause():this.state=this.pendingPlayState}tick(t,r=!1){const{resolved:s}=this;if(!s){const{keyframes:z}=this.options;return{done:!0,value:z[z.length-1]}}const{finalKeyframe:a,generator:l,mirroredGenerator:c,mapPercentToKeyframes:d,keyframes:m,calculatedDuration:f,totalDuration:p,resolvedDuration:x}=s;if(this.startTime===null)return l.next(0);const{delay:v,repeat:b,repeatType:N,repeatDelay:j,onUpdate:C}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-p/this.speed,this.startTime)),r?this.currentTime=t:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(t-this.startTime)*this.speed;const k=this.currentTime-v*(this.speed>=0?1:-1),A=this.speed>=0?k<0:k>p;this.currentTime=Math.max(k,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=p);let T=this.currentTime,P=l;if(b){const z=Math.min(this.currentTime,p)/x;let Y=Math.floor(z),ee=z%1;!ee&&z>=1&&(ee=1),ee===1&&Y--,Y=Math.min(Y,b+1),Y%2&&(N==="reverse"?(ee=1-ee,j&&
vendor: 9,147 bytes, line 17
17(ee-=j/x)):N==="mirror"&&(P=c)),T=Gr(0,1,ee)*x}const I=A?{done:!1,value:m[0]}:P.next(T);d&&(I.value=d(I.value));let{done:L}=I;!A&&f!==null&&(L=this.speed>=0?this.currentTime>=p:this.currentTime<=0);const $=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&L);return $&&a!==void 0&&(I.value=fm(m,this.options,a)),C&&C(I.value),$&&this.finish(),I}get duration(){const{resolved:t}=this;return t?xs(t.calculatedDuration):0}get time(){return xs(this.currentTime)}set time(t){t=gs(t),this.currentTime=t,this.holdTime!==null||this.speed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.speed)}get speed(){return this.playbackSpeed}set speed(t){const r=this.playbackSpeed!==t;this.playbackSpeed=t,r&&(this.time=xs(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:t=jO,onPlay:r,startTime:s}=this.options;this.driver||(this.driver=t(l=>this.tick(l))),r&&r();const a=this.driver.now();this.holdTime!==null?this.startTime=a-this.holdTime:this.startTime?this.state==="finished"&&(this.startTime=a):this.startTime=s??this.calcStartTime(),this.state==="finished"&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var t;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=(t=this.currentTime)!==null&&t!==void 0?t:0}complete(){this.state!=="running"&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:t}=this.options;t&&t()}cancel(){this.cancelTime!==null&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}}const SO=new Set(["opacity","clipPath","filter","transform"]);function kO(e,t,r,{delay:s=0,duration:a=300,repeat:l=0,repeatType:c="loop",ease:d="easeInOut",times:m}={}){const f={[t]:r};m&&(f.offset=m);const p=_2(d,a);return Array.isArray(p)&&(f.easing=p),e.animate(f,{delay:s,duration:a,easing:Array.isArray(p)?"linear":p,fill:"both",iterations:l+1,direction:c==="reverse"?"alternate":"normal"})}const AO=tx(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),Eu=10,EO=2e4;function TO(e){return xx(e.type)||e.type==="spring"||!P2(e.ease)}function IO(e,t){const r=new _x({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0});let s={done:!1,value:e[0]};const a=[];let l=0;for(;!s.done&&l<EO;)s=r.sample(l),a.push(s.value),l+=Eu;return{times:void 0,keyframes:a,duration:l-Eu,ease:"linear"}}const hC={anticipate:H2,backInOut:z2,circInOut:W2};function PO(e){return e in hC}class kw extends aC{constructor(t){super(t);const{name:r,motionValue:s,element:a,keyframes:l}=this.options;this.resolver=new iC(l,(c,d)=>this.onKeyframesResolved(c,d),r,s,a),this.resolver.scheduleResolve()}initPlayback(t,r){let{duration:s=300,times:a,ease:l,type:c,motionValue:d,name:m,startTime:f}=this.options;if(!d.owner||!d.owner.current)return!1;if(typeof l=="string"&&Su()&&PO(l)&&(l=hC[l]),TO(this.options)){const{onComplete:x,onUpdate:v,motionValue:b,element:N,...j}=this.options,C=IO(t,j);t=C.keyframes,t.length===1&&(t[1]=t[0]),s=C.duration,a=C.times,l=C.ease,c="keyframes"}const p=kO(d.owner.current,m,t,{...this.options,duration:s,times:a,ease:l});return p.startTime=f??this.calcStartTime(),this.pendingTimeline?(dw(p,this.pendingTimeline),this.pendingTimeline=void 0):p.onfinish=()=>{const{onComplete:x}=this.options;d.set(fm(t,this.options,r)),x&&x(),this.cancel(),this.resolveFinishedPromise()},{animation:p,duration:s,times:a,type:c,ease:l,keyframes:t}}get duration(){const{resolved:t}=this;if(!t)return 0;const{duration:r}=t;return xs(r)}get time(){const{resolved:t}=this;if(!t)return 0;const{animation:r}=t;return xs(r.currentTime||0)}set time(t){const{resolved:r}=this;if(!r)return;const{animation:s}=r;s.currentTime=gs(t)}get speed(){const{resolved:t}=this;if(!t)return 1;const{animation:r}=t;return r.playbackRate}set speed(t){const{resolved:r}=this;if(!r)return;const{animation:s}=r;s.playbackRate=t}get state(){const{resolved:t}=this;if(!t)return"idle";const{animation:r}=t;return r.playState}get startTime(){const{resolved:t}=this;if(!t)return null;const{animation:r}=t;return r.startTime}attachTimeline(t){if(!this._resolved)this.pendingTimeline=t;else{const{resolved:r}=this;if(!r)return Cn;const{animation:s}=r;dw(s,t)}return Cn}play(){if(this.isStopped)return;const{resolved:t}=this;if(!t)return;const{animation:r}=t;r.playState==="finished"&&this.updateFinishedPromise(),r.play()}pause(){const{resolved:t}=this;if(!t)return;const{animation:r}=t;r.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.resolveFinishedPromise(),this.updateFinishedPromise();const{resolved:t}=this;if(!t)return;const{animation:r,keyframes:s,duration:a,type:l,ease:c,times:d}=t;if(r.playState==="idle"||r.playState==="finished")return;if(this.time){const{motionValue:f,onUpdate:p,onComplete:x,element:v,...b}=this.options,N=new _x({...b,keyframes:s,duration:a,type:l,ease:c,times:d,isGenerator:!0}),j=gs(this.time);f.setWithVelocity(N.sample(j-Eu).value,N.sample(j).value,Eu)}const{onStop:m}=this.options;m&&m(),this.cancel()}complete(){const{resolved:t}=this;t&&t.animation.finish()}cancel(){const{resolved:t}=this;t&&t.animation.cancel()}static supports(t){const{motionValue:r,name:s,repeatDelay:a,repeatType:l,damping:c,type:d}=t;if(!r||!r.owner||!(r.owner.current instanceof HTMLElement))return!1;const{onUpdate:m,transformTemplate:f}=r.owner.getProps();return AO()&&s&&SO.has(s)&&!m&&!f&&!a&&l!=="mirror"&&c!==0&&d!=="inertia"}}const _O={type:"spring",stiffness:500,damping:25,restSpeed:10},RO=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),MO={type:"keyframes",duration:.8},OO={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},DO=(e,{keyframes:t})=>t.length>2?MO:Ji.has(e)?e.startsWith("scale")?RO(t[1]):_O:OO;function LO({when:e,delay:t,delayChildren:r,staggerChildren:s,staggerDirection:a,repeat:l,repeatType:c,repeatDelay:d,from:m,elapsed:f,...p}){return!!Object.keys(p).length}const Rx=(e,t,r,s={},a,l)=>c=>{const d=gx(s,e)||{},m=d.delay||s.delay||0;let{elapsed:f=0}=s;f=f-gs(m);let p={keyframes:Array.isArray(r)?r:[null,r],ease:"easeOut",velocity:t.getVelocity(),...d,delay:-f,onUpdate:v=>{t.set(v),d.onUpdate&&d.onUpdate(v)},onComplete:()=>{c(),d.onComplete&&d.onComplete()},name:e,motionValue:t,element:l?void 0:a};LO(d)||(p={...p,...DO(e,p)}),p.duration&&(p.duration=gs(p.duration)),p.repeatDelay&&(p.repeatDelay=gs(p.repeatDelay)),p.from!==void 0&&(p.keyframes[0]=p.from);let x=!1;if((p.type===!1||p.duration===0&&!p.repeatDelay)&&(p.duration=0,p.delay===0&&(x=!0)),x&&!l&&t.get()!==void 0){const v=fm(p.keyframes,d);if(v!==void 0)return nt.update(()=>{p.onUpdate(v),p.onComplete()}),new sM([])}return!l&&kw.supports(p)?new kw(p):new _x(p)};function VO({protectedKeys:e,needsAnimating:t},r){const s=e.hasOwnProperty(r)&&t[r]!==!0;return t[r]=!1,s}function pC(e,t,{delay:r=0,transitionOverride:s,type:a}={}){var l;let{transition:c=e.getDefaultTransition(),transitionEnd:d,...m}=t;s&&(c=s);const f=[],p=a&&e.animationState&&e.animationState.getState()[a];for(const x in m){const v=e.getValue(x,(l=e.latestValues[x])!==null&&l!==void 0?l:null),b=m[x];if(b===void 0||p&&VO(p,x))continue;const N={delay:r,...gx(c||{},x)};let j=!1;if(window.MotionHandoffAnimation){const k=L2(e);if(k){const A=window.MotionHandoffAnimation(k,x,nt);A!==null&&(N.startTime=A,j=!0)}}Bp(e,x),v.start(Rx(x,v,b,e.shouldReduceMotion&&D2.has(x)?{type:!1}:N,e,j));const C=v.animation;C&&f.push(C)}return d&&Promise.all(f).then(()=>{nt.update(()=>{d&&vM(e,d)})}),f}function Gp(e,t,r={}){var s;const a=Hl(e,t,r.type==="exit"?(s=e.presenceContext)===null||s===void 0?void 0:s.custom:void 0);let{transition:l=e.getDefaultTransition()||{}}=a||{};r.transitionOverride&&(l=r.transitionOverride);const c=a?()=>Promise.all(pC(e,a,r)):()=>Promise.resolve(),d=e.variantChildren&&e.variantChildren.size?(f=0)=>{const{delayChildren:p=0,staggerChildren:x,staggerDirection:v}=l;return FO(e,t,p+f,x,v,r)}:()=>Promise.resolve(),{when:m}=l;if(m){const[f,p]=m==="beforeChildren"?[c,d]:[d,c];return f().then(()=>p())}else return Promise.all([c(),d(r.delay)])}function FO(e,t,r=0,s=0,a=1,l){const c=[],d=(e.variantChildren.size-1)*s,m=a===1?(f=0)=>f*s:(f=0)=>d-f*s;return Array.from(e.variantChildren).sort($O).forEach((f,p)=>{f.notify("AnimationStart",t),c.push(Gp(f,t,{...l,delay:r+m(p)}).then(()=>f.notify("AnimationComplete",t)))}),Promise.all(c)}function $O(e,t){return e.sortNodePosition(t)}function BO(e,t,r={}){e.notify("AnimationStart",t);let s;if(Array.isArray(t)){const a=t.map(l=>Gp(e,l,r));s=Promise.all(a)}else if(typeof t=="string")s=Gp(e,t,r);else{const a=typeof t=="function"?Hl(e,t,r.custom):t;s=Promise.all(pC(e,a,r))}return s.then(()=>
vendor: 7,578 bytes, line 17
17{e.notify("AnimationComplete",t)})}function gC(e,t){if(!Array.isArray(t))return!1;const r=t.length;if(r!==e.length)return!1;for(let s=0;s<r;s++)if(t[s]!==e[s])return!1;return!0}const zO=rx.length;function xC(e){if(!e)return;if(!e.isControllingVariants){const r=e.parent?xC(e.parent)||{}:{};return e.props.initial!==void 0&&(r.initial=e.props.initial),r}const t={};for(let r=0;r<zO;r++){const s=rx[r],a=e.props[s];($l(a)||a===!1)&&(t[s]=a)}return t}const HO=[...nx].reverse(),UO=nx.length;function WO(e){return t=>Promise.all(t.map(({animation:r,options:s})=>BO(e,r,s)))}function qO(e){let t=WO(e),r=Aw(),s=!0;const a=m=>(f,p)=>{var x;const v=Hl(e,p,m==="exit"?(x=e.presenceContext)===null||x===void 0?void 0:x.custom:void 0);if(v){const{transition:b,transitionEnd:N,...j}=v;f={...f,...j,...N}}return f};function l(m){t=m(e)}function c(m){const{props:f}=e,p=xC(e.parent)||{},x=[],v=new Set;let b={},N=1/0;for(let C=0;C<UO;C++){const k=HO[C],A=r[k],T=f[k]!==void 0?f[k]:p[k],P=$l(T),I=k===m?A.isActive:null;I===!1&&(N=C);let L=T===p[k]&&T!==f[k]&&P;if(L&&s&&e.manuallyAnimateOnMount&&(L=!1),A.protectedKeys={...b},!A.isActive&&I===null||!T&&!A.prevProp||um(T)||typeof T=="boolean")continue;const $=KO(A.prevProp,T);let z=$||k===m&&A.isActive&&!L&&P||C>N&&P,Y=!1;const ee=Array.isArray(T)?T:[T];let ge=ee.reduce(a(k),{});I===!1&&(ge={});const{prevResolvedValues:Q={}}=A,de={...Q,...ge},J=W=>{z=!0,v.has(W)&&(Y=!0,v.delete(W)),A.needsAnimating[W]=!0;const F=e.getValue(W);F&&(F.liveStyle=!1)};for(const W in de){const F=ge[W],Z=Q[W];if(b.hasOwnProperty(W))continue;let re=!1;Vp(F)&&Vp(Z)?re=!gC(F,Z):re=F!==Z,re?F!=null?J(W):v.add(W):F!==void 0&&v.has(W)?J(W):A.protectedKeys[W]=!0}A.prevProp=T,A.prevResolvedValues=ge,A.isActive&&(b={...b,...ge}),s&&e.blockInitialAnimation&&(z=!1),z&&(!(L&&$)||Y)&&x.push(...ee.map(W=>({animation:W,options:{type:k}})))}if(v.size){const C={};if(typeof f.initial!="boolean"){const k=Hl(e,Array.isArray(f.initial)?f.initial[0]:f.initial);k&&k.transition&&(C.transition=k.transition)}v.forEach(k=>{const A=e.getBaseTarget(k),T=e.getValue(k);T&&(T.liveStyle=!0),C[k]=A??null}),x.push({animation:C})}let j=!!x.length;return s&&(f.initial===!1||f.initial===f.animate)&&!e.manuallyAnimateOnMount&&(j=!1),s=!1,j?t(x):Promise.resolve()}function d(m,f){var p;if(r[m].isActive===f)return Promise.resolve();(p=e.variantChildren)===null||p===void 0||p.forEach(v=>{var b;return(b=v.animationState)===null||b===void 0?void 0:b.setActive(m,f)}),r[m].isActive=f;const x=c(m);for(const v in r)r[v].protectedKeys={};return x}return{animateChanges:c,setActive:d,setAnimateFunction:l,getState:()=>r,reset:()=>{r=Aw(),s=!0}}}function KO(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!gC(t,e):!1}function Ri(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Aw(){return{animate:Ri(!0),whileInView:Ri(),whileHover:Ri(),whileTap:Ri(),whileDrag:Ri(),whileFocus:Ri(),exit:Ri()}}class pi{constructor(t){this.isMounted=!1,this.node=t}update(){}}class GO extends pi{constructor(t){super(t),t.animationState||(t.animationState=qO(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();um(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:r}=this.node.prevProps||{};t!==r&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),(t=this.unmountControls)===null||t===void 0||t.call(this)}}let YO=0;class ZO extends pi{constructor(){super(...arguments),this.id=YO++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:r}=this.node.presenceContext,{isPresent:s}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===s)return;const a=this.node.animationState.setActive("exit",!t);r&&!t&&a.then(()=>{r(this.id)})}mount(){const{register:t,onExitComplete:r}=this.node.presenceContext||{};r&&r(this.id),t&&(this.unmount=t(this.id))}unmount(){}}const QO={animation:{Feature:GO},exit:{Feature:ZO}};function Wl(e,t,r,s={passive:!0}){return e.addEventListener(t,r,s),()=>e.removeEventListener(t,r)}function bc(e){return{point:{x:e.pageX,y:e.pageY}}}const XO=e=>t=>bx(t)&&e(t,bc(t));function La(e,t,r,s){return Wl(e,t,XO(r),s)}function vC({top:e,left:t,right:r,bottom:s}){return{x:{min:t,max:r},y:{min:e,max:s}}}function JO({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function eD(e,t){if(!t)return e;const r=t({x:e.left,y:e.top}),s=t({x:e.right,y:e.bottom});return{top:r.y,left:r.x,bottom:s.y,right:s.x}}const yC=1e-4,tD=1-yC,nD=1+yC,bC=.01,rD=0-bC,sD=0+bC;function Nn(e){return e.max-e.min}function iD(e,t,r){return Math.abs(e-t)<=r}function Ew(e,t,r,s=.5){e.origin=s,e.originPoint=Ct(t.min,t.max,e.origin),e.scale=Nn(r)/Nn(t),e.translate=Ct(r.min,r.max,e.origin)-e.originPoint,(e.scale>=tD&&e.scale<=nD||isNaN(e.scale))&&(e.scale=1),(e.translate>=rD&&e.translate<=sD||isNaN(e.translate))&&(e.translate=0)}function Cl(e,t,r,s){Ew(e.x,t.x,r.x,s?s.originX:void 0),Ew(e.y,t.y,r.y,s?s.originY:void 0)}function Tw(e,t,r){e.min=r.min+t.min,e.max=e.min+Nn(t)}function aD(e,t,r){Tw(e.x,t.x,r.x),Tw(e.y,t.y,r.y)}function Iw(e,t,r){e.min=t.min-r.min,e.max=e.min+Nn(t)}function Sl(e,t,r){Iw(e.x,t.x,r.x),Iw(e.y,t.y,r.y)}const Pw=()=>({translate:0,scale:1,origin:0,originPoint:0}),Va=()=>({x:Pw(),y:Pw()}),_w=()=>({min:0,max:0}),Pt=()=>({x:_w(),y:_w()});function rr(e){return[e("x"),e("y")]}function Hh(e){return e===void 0||e===1}function Yp({scale:e,scaleX:t,scaleY:r}){return!Hh(e)||!Hh(t)||!Hh(r)}function Oi(e){return Yp(e)||wC(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function wC(e){return Rw(e.x)||Rw(e.y)}function Rw(e){return e&&e!=="0%"}function Tu(e,t,r){const s=e-r,a=t*s;return r+a}function Mw(e,t,r,s,a){return a!==void 0&&(e=Tu(e,a,s)),Tu(e,r,s)+t}function Zp(e,t=0,r=1,s,a){e.min=Mw(e.min,t,r,s,a),e.max=Mw(e.max,t,r,s,a)}function jC(e,{x:t,y:r}){Zp(e.x,t.translate,t.scale,t.originPoint),Zp(e.y,r.translate,r.scale,r.originPoint)}const Ow=.999999999999,Dw=1.0000000000001;function oD(e,t,r,s=!1){const a=r.length;if(!a)return;t.x=t.y=1;let l,c;for(let d=0;d<a;d++){l=r[d],c=l.projectionDelta;const{visualElement:m}=l.options;m&&m.props.style&&m.props.style.display==="contents"||(s&&l.options.layoutScroll&&l.scroll&&l!==l.root&&$a(e,{x:-l.scroll.offset.x,y:-l.scroll.offset.y}),c&&(t.x*=c.x.scale,t.y*=c.y.scale,jC(e,c)),s&&Oi(l.latestValues)&&$a(e,l.latestValues))}t.x<Dw&&t.x>Ow&&(t.x=1),t.y<Dw&&t.y>Ow&&(t.y=1)}function Fa(e,t){e.min=e.min+t,e.max=e.max+t}function Lw(e,t,r,s,a=.5){const l=Ct(e.min,e.max,a);Zp(e,t,r,l,s)}function $a(e,t){Lw(e.x,t.x,t.scaleX,t.scale,t.originX),Lw(e.y,t.y,t.scaleY,t.scale,t.originY)}function NC(e,t){return vC(eD(e.getBoundingClientRect(),t))}function lD(e,t,r){const s=NC(e,r),{scroll:a}=t;return a&&(Fa(s.x,a.offset.x),Fa(s.y,a.offset.y)),s}const Vw=(e,t)=>Math.abs(e-t);function cD(e,t){const r=Vw(e.x,t.x),s=Vw(e.y,t.y);return Math.sqrt(r**2+s**2)}class CC{constructor(t,r,{transformPagePoint:s,dragSnapToOrigin:a=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const p=Wh(this.lastMoveEventInfo,this.history),x=this.startEvent!==null,v=cD(p.offset,{x:0,y:0})>=3;if(!x&&!v)return;const{point:b}=p,{timestamp:N}=Wt;this.history.push({...b,timestamp:N});const{onStart:j,onMove:C}=this.handlers;x||(j&&j(this.lastMoveEvent,p),this.startEvent=this.lastMoveEvent),C&&C(this.lastMoveEvent,p)},this.handlePointerMove=(p,x)=>
vendor: 14,636 bytes, line 17
17{if(this.index=$w(p.currentTarget),p.target instanceof Element&&p.target.hasPointerCapture&&p.pointerId!==void 0)try{if(!p.target.hasPointerCapture(p.pointerId))return}catch{}this.lastMoveEvent=p,this.lastMoveEventInfo=Uh(x,this.transformPagePoint),nt.update(this.updatePoint,!0)},this.handlePointerUp=(p,x)=>{jl(p,"release"),this.end();const{onEnd:v,onSessionEnd:b,resumeAnimation:N}=this.handlers;if(this.dragSnapToOrigin&&N&&N(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const j=Wh(p.type==="pointercancel"||p.type==="lostpointercapture"?this.lastMoveEventInfo:Uh(x,this.transformPagePoint),this.history);this.startEvent&&v&&v(p,j),b&&b(p,j)},!bx(t))return;this.dragSnapToOrigin=a,this.handlers=r,this.transformPagePoint=s;const l=bc(t),c=Uh(l,this.transformPagePoint),{point:d}=c,{timestamp:m}=Wt;this.history=[{...d,timestamp:m}];const{onSessionStart:f}=r;f&&f(t,Wh(c,this.history)),jl(t,"set"),this.removeListeners=yc(La(t.currentTarget,"pointermove",this.handlePointerMove),La(t.currentTarget,"pointerup",this.handlePointerUp),La(t.currentTarget,"pointercancel",this.handlePointerUp),La(t.currentTarget,"lostpointercapture",(p,x)=>{$w(p.currentTarget)!==this.index?jl(p,"set"):this.handlePointerUp(p,x)}))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),Kr(this.updatePoint)}}function Uh(e,t){return t?{point:t(e.point)}:e}function Fw(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Wh({point:e},t){return{point:e,delta:Fw(e,SC(t)),offset:Fw(e,dD(t)),velocity:uD(t,.1)}}function dD(e){return e[0]}function SC(e){return e[e.length-1]}function uD(e,t){if(e.length<2)return{x:0,y:0};let r=e.length-1,s=null;const a=SC(e);for(;r>=0&&(s=e[r],!(a.timestamp-s.timestamp>gs(t)));)r--;if(!s)return{x:0,y:0};const l=xs(a.timestamp-s.timestamp);if(l===0)return{x:0,y:0};const c={x:(a.x-s.x)/l,y:(a.y-s.y)/l};return c.x===1/0&&(c.x=0),c.y===1/0&&(c.y=0),c}function $w(e){return e.parentNode?Array.from(e.parentNode.children).indexOf(e):-1}function mD(e,{min:t,max:r},s){return t!==void 0&&e<t?e=s?Ct(t,e,s.min):Math.max(e,t):r!==void 0&&e>r&&(e=s?Ct(r,e,s.max):Math.min(e,r)),e}function Bw(e,t,r){return{min:t!==void 0?e.min+t:void 0,max:r!==void 0?e.max+r-(e.max-e.min):void 0}}function fD(e,{top:t,left:r,bottom:s,right:a}){return{x:Bw(e.x,r,a),y:Bw(e.y,t,s)}}function zw(e,t){let r=t.min-e.min,s=t.max-e.max;return t.max-t.min<e.max-e.min&&([r,s]=[s,r]),{min:r,max:s}}function hD(e,t){return{x:zw(e.x,t.x),y:zw(e.y,t.y)}}function pD(e,t){let r=.5;const s=Nn(e),a=Nn(t);return a>s?r=zi(t.min,t.max-s,e.min):s>a&&(r=zi(e.min,e.max-a,t.min)),Gr(0,1,r)}function gD(e,t){const r={};return t.min!==void 0&&(r.min=t.min-e.min),t.max!==void 0&&(r.max=t.max-e.min),r}const Qp=.35;function xD(e=Qp){return e===!1?e=0:e===!0&&(e=Qp),{x:Hw(e,"left","right"),y:Hw(e,"top","bottom")}}function Hw(e,t,r){return{min:Uw(e,t),max:Uw(e,r)}}function Uw(e,t){return typeof e=="number"?e:e[t]||0}const vD=new WeakMap;class yD{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=Pt(),this.visualElement=t}start(t,{snapToCursor:r=!1}={}){const{presenceContext:s}=this.visualElement;if(s&&s.isPresent===!1)return;const a=p=>{const{dragSnapToOrigin:x}=this.getProps();x?this.pauseAnimation():this.stopAnimation(),r&&this.snapToCursor(bc(p).point)},l=(p,x)=>{const{drag:v,dragPropagation:b,onDragStart:N}=this.getProps();if(v&&!b&&(this.openDragLock&&this.openDragLock(),this.openDragLock=fM(v),!this.openDragLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),rr(C=>{let k=this.getAxisMotionValue(C).get()||0;if(zr.test(k)){const{projection:A}=this.visualElement;if(A&&A.layout){const T=A.layout.layoutBox[C];T&&(k=Nn(T)*(parseFloat(k)/100))}}this.originPoint[C]=k}),N&&nt.postRender(()=>N(p,x)),Bp(this.visualElement,"transform");const{animationState:j}=this.visualElement;j&&j.setActive("whileDrag",!0)},c=(p,x)=>{const{dragPropagation:v,dragDirectionLock:b,onDirectionLock:N,onDrag:j}=this.getProps();if(!v&&!this.openDragLock)return;const{offset:C}=x;if(b&&this.currentDirection===null){this.currentDirection=bD(C),this.currentDirection!==null&&N&&N(this.currentDirection);return}this.updateAxis("x",x.point,C),this.updateAxis("y",x.point,C),this.visualElement.render(),j&&j(p,x)},d=(p,x)=>this.stop(p,x),m=()=>rr(p=>{var x;return this.getAnimationState(p)==="paused"&&((x=this.getAxisMotionValue(p).animation)===null||x===void 0?void 0:x.play())}),{dragSnapToOrigin:f}=this.getProps();this.panSession=new CC(t,{onSessionStart:a,onStart:l,onMove:c,onSessionEnd:d,resumeAnimation:m},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:f})}stop(t,r){const s=this.isDragging;if(this.cancel(),!s)return;const{velocity:a}=r;this.startAnimation(a);const{onDragEnd:l}=this.getProps();l&&nt.postRender(()=>l(t,r))}cancel(){this.isDragging=!1;const{projection:t,animationState:r}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:s}=this.getProps();!s&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),r&&r.setActive("whileDrag",!1)}updateAxis(t,r,s){const{drag:a}=this.getProps();if(!s||!Wd(t,a,this.currentDirection))return;const l=this.getAxisMotionValue(t);let c=this.originPoint[t]+s[t];this.constraints&&this.constraints[t]&&(c=mD(c,this.constraints[t],this.elastic[t])),l.set(c)}resolveConstraints(){var t;const{dragConstraints:r,dragElastic:s}=this.getProps(),a=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(t=this.visualElement.projection)===null||t===void 0?void 0:t.layout,l=this.constraints;r&&Oa(r)?this.constraints||(this.constraints=this.resolveRefConstraints()):r&&a?this.constraints=fD(a.layoutBox,r):this.constraints=!1,this.elastic=xD(s),l!==this.constraints&&a&&this.constraints&&!this.hasMutatedConstraints&&rr(c=>{this.constraints!==!1&&this.getAxisMotionValue(c)&&(this.constraints[c]=gD(a.layoutBox[c],this.constraints[c]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:r}=this.getProps();if(!t||!Oa(t))return!1;const s=t.current,{projection:a}=this.visualElement;if(!a||!a.layout)return!1;const l=lD(s,a.root,this.visualElement.getTransformPagePoint());let c=hD(a.layout.layoutBox,l);if(r){const d=r(JO(c));this.hasMutatedConstraints=!!d,d&&(c=vC(d))}return c}startAnimation(t){const{drag:r,dragMomentum:s,dragElastic:a,dragTransition:l,dragSnapToOrigin:c,onDragTransitionEnd:d}=this.getProps(),m=this.constraints||{},f=rr(p=>{if(!Wd(p,r,this.currentDirection))return;let x=m&&m[p]||{};c&&(x={min:0,max:0});const v=a?200:1e6,b=a?40:1e7,N={type:"inertia",velocity:s?t[p]:0,bounceStiffness:v,bounceDamping:b,timeConstant:750,restDelta:1,restSpeed:10,...l,...x};return this.startAxisValueAnimation(p,N)});return Promise.all(f).then(d)}startAxisValueAnimation(t,r){const s=this.getAxisMotionValue(t);return Bp(this.visualElement,t),s.start(Rx(t,s,0,r,this.visualElement,!1))}stopAnimation(){rr(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){rr(t=>{var r;return(r=this.getAxisMotionValue(t).animation)===null||r===void 0?void 0:r.pause()})}getAnimationState(t){var r;return(r=this.getAxisMotionValue(t).animation)===null||r===void 0?void 0:r.state}getAxisMotionValue(t){const r=`_drag${t.toUpperCase()}`,s=this.visualElement.getProps(),a=s[r];return a||this.visualElement.getValue(t,(s.initial?s.initial[t]:void 0)||0)}snapToCursor(t){rr(r=>{const{drag:s}=this.getProps();if(!Wd(r,s,this.currentDirection))return;const{projection:a}=this.visualElement,l=this.getAxisMotionValue(r);if(a&&a.layout){const{min:c,max:d}=a.layout.layoutBox[r];l.set(t[r]-Ct(c,d,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:r}=this.getProps(),{projection:s}=this.visualElement;if(!Oa(r)||!s||!this.constraints)return;this.stopAnimation();const a={x:0,y:0};rr(c=>{const d=this.getAxisMotionValue(c);if(d&&this.constraints!==!1){const m=d.get();a[c]=pD({min:m,max:m},this.constraints[c])}});const{transformTemplate:l}=this.visualElement.getProps();this.visualElement.current.style.transform=l?l({},""):"none",s.root&&s.root.updateScroll(),s.updateLayout(),this.resolveConstraints(),rr(c=>{if(!Wd(c,t,null))return;const d=this.getAxisMotionValue(c),{min:m,max:f}=this.constraints[c];d.set(Ct(m,f,a[c]))})}addListeners(){if(!this.visualElement.current)return;vD.set(this.visualElement,this);const t=this.visualElement.current,r=La(t,"pointerdown",m=>{const{drag:f,dragListener:p=!0}=this.getProps();f&&p&&this.start(m)}),s=()=>{const{dragConstraints:m}=this.getProps();Oa(m)&&m.current&&(this.constraints=this.resolveRefConstraints())},{projection:a}=this.visualElement,l=a.addEventListener("measure",s);a&&!a.layout&&(a.root&&a.root.updateScroll(),a.updateLayout()),nt.read(s);const c=Wl(window,"resize",()=>this.scalePositionWithinConstraints()),d=a.addEventListener("didUpdate",(({delta:m,hasLayoutChanged:f})=>{this.isDragging&&f&&(rr(p=>{const x=this.getAxisMotionValue(p);x&&(this.originPoint[p]+=m[p].translate,x.set(x.get()+m[p].translate))}),this.visualElement.render())}));return()=>{c(),r(),l(),d&&d()}}getProps(){const t=this.visualElement.getProps(),{drag:r=!1,dragDirectionLock:s=!1,dragPropagation:a=!1,dragConstraints:l=!1,dragElastic:c=Qp,dragMomentum:d=!0}=t;return{...t,drag:r,dragDirectionLock:s,dragPropagation:a,dragConstraints:l,dragElastic:c,dragMomentum:d}}}function Wd(e,t,r){return(t===!0||t===e)&&(r===null||r===e)}function bD(e,t=10){let r=null;return Math.abs(e.y)>t?r="y":Math.abs(e.x)>t&&(r="x"),r}class wD extends pi{constructor(t){super(t),this.removeGroupControls=Cn,this.removeListeners=Cn,this.controls=new yD(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Cn}unmount(){this.removeGroupControls(),this.removeListeners()}}const Ww=e=>(t,r)=>{e&&nt.postRender(()=>e(t,r))};class jD extends pi{constructor(){super(...arguments),this.removePointerDownListener=Cn}onPointerDown(t){this.session=new CC(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint()})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:r,onPan:s,onPanEnd:a}=this.node.getProps();return{onSessionStart:Ww(t),onStart:Ww(r),onMove:s,onEnd:(l,c)=>{delete this.session,a&&nt.postRender(()=>a(l,c))}}}mount(){this.removePointerDownListener=La(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const ou={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function qw(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const cl={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(Be.test(e))e=parseFloat(e);else return e;const r=qw(e,t.target.x),s=qw(e,t.target.y);return`${r}% ${s}%`}},ND={correct:(e,{treeScale:t,projectionDelta:r})=>{const s=e,a=ci.parse(e);if(a.length>5)return s;const l=ci.createTransformer(e),c=typeof a[0]!="number"?1:0,d=r.x.scale*t.x,m=r.y.scale*t.y;a[0+c]/=d,a[1+c]/=m;const f=Ct(d,m,.5);return typeof a[2+c]=="number"&&(a[2+c]/=f),typeof a[3+c]=="number"&&(a[3+c]/=f),l(a)}};class CD extends g.Component{componentDidMount(){const{visualElement:t,layoutGroup:r,switchLayoutGroup:s,layoutId:a}=this.props,{projection:l}=t;_3(SD),l&&(r.group&&r.group.add(l),s&&s.register&&a&&s.register(l),l.root.didUpdate(),l.addEventListener("animationComplete",()=>{this.safeToRemove()}),l.setOptions({...l.options,onExitComplete:()=>this.safeToRemove()})),ou.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:r,visualElement:s,drag:a,isPresent:l}=this.props,c=s.projection;return c&&(c.isPresent=l,a||t.layoutDependency!==r||r===void 0||t.isPresent!==l?c.willUpdate():this.safeToRemove(),t.isPresent!==l&&(l?c.promote():c.relegate()||nt.postRender(()=>{const d=c.getStack();(!d||!d.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),ix.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:r,switchLayoutGroup:s}=this.props,{projection:a}=t;a&&(a.scheduleCheckAfterUnmount(),r&&r.group&&r.group.remove(a),s&&s.deregister&&s.deregister(a))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function kC(e){const[t,r]=l2(),s=g.useContext(Qg);return n.jsx(CD,{...e,layoutGroup:s,switchLayoutGroup:g.useContext(p2),isPresent:t,safeToRemove:r})}const SD={borderRadius:{...cl,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:cl,borderTopRightRadius:cl,borderBottomLeftRadius:cl,borderBottomRightRadius:cl,boxShadow:ND};function kD(e,t,r){const s=hn(e)?e:hs(e);return s.start(Rx("",s,t,r)),s.animation}function AD(e){return e instanceof SVGElement&&e.tagName!=="svg"}const ED=(e,t)=>e.depth-t.depth;class TD{constructor(){this.children=[],this.isDirty=!1}add(t){wx(this.children,t),this.isDirty=!0}remove(t){jx(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(ED),this.isDirty=!1,this.children.forEach(t)}}function ID(e,t){const r=Hr.now(),s=({timestamp:a})=>{const l=a-r;l>=t&&(Kr(s),e(l-t))};return nt.read(s,!0),()=>Kr(s)}const AC=["TopLeft","TopRight","BottomLeft","BottomRight"],PD=AC.length,Kw=e=>typeof e=="string"?parseFloat(e):e,Gw=e=>typeof e=="number"||Be.test(e);function _D(e,t,r,s,a,l){a?(e.opacity=Ct(0,r.opacity!==void 0?r.opacity:1,RD(s)),e.opacityExit=Ct(t.opacity!==void 0?t.opacity:1,0,MD(s))):l&&(e.opacity=Ct(t.opacity!==void 0?t.opacity:1,r.opacity!==void 0?r.opacity:1,s));for(let c=0;c<PD;c++){const d=`border${AC[c]}Radius`;let m=Yw(t,d),f=Yw(r,d);if(m===void 0&&f===void 0)continue;m||(m=0),f||(f=0),m===0||f===0||Gw(m)===Gw(f)?(e[d]=Math.max(Ct(Kw(m),Kw(f),s),0),(zr.test(f)||zr.test(m))&&(e[d]+="%")):e[d]=f}(t.rotate||r.rotate)&&(e.rotate=Ct(t.rotate||0,r.rotate||0,s))}function Yw(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const RD=EC(0,.5,U2),MD=EC(.5,.95,Cn);function EC(e,t,r){return s=>s<e?0:s>t?1:r(zi(e,t,s))}function Zw(e,t){e.min=t.min,e.max=t.max}function nr(e,t){Zw(e.x,t.x),Zw(e.y,t.y)}function Qw(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}
vendor: 8,544 bytes, line 17
17function Xw(e,t,r,s,a){return e-=t,e=Tu(e,1/r,s),a!==void 0&&(e=Tu(e,1/a,s)),e}function OD(e,t=0,r=1,s=.5,a,l=e,c=e){if(zr.test(t)&&(t=parseFloat(t),t=Ct(c.min,c.max,t/100)-c.min),typeof t!="number")return;let d=Ct(l.min,l.max,s);e===l&&(d-=t),e.min=Xw(e.min,t,r,d,a),e.max=Xw(e.max,t,r,d,a)}function Jw(e,t,[r,s,a],l,c){OD(e,t[r],t[s],t[a],t.scale,l,c)}const DD=["x","scaleX","originX"],LD=["y","scaleY","originY"];function ej(e,t,r,s){Jw(e.x,t,DD,r?r.x:void 0,s?s.x:void 0),Jw(e.y,t,LD,r?r.y:void 0,s?s.y:void 0)}function tj(e){return e.translate===0&&e.scale===1}function TC(e){return tj(e.x)&&tj(e.y)}function nj(e,t){return e.min===t.min&&e.max===t.max}function VD(e,t){return nj(e.x,t.x)&&nj(e.y,t.y)}function rj(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function IC(e,t){return rj(e.x,t.x)&&rj(e.y,t.y)}function sj(e){return Nn(e.x)/Nn(e.y)}function ij(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class FD{constructor(){this.members=[]}add(t){wx(this.members,t),t.scheduleRender()}remove(t){if(jx(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const r=this.members[this.members.length-1];r&&this.promote(r)}}relegate(t){const r=this.members.findIndex(a=>t===a);if(r===0)return!1;let s;for(let a=r;a>=0;a--){const l=this.members[a];if(l.isPresent!==!1){s=l;break}}return s?(this.promote(s),!0):!1}promote(t,r){const s=this.lead;if(t!==s&&(this.prevLead=s,this.lead=t,t.show(),s)){s.instance&&s.scheduleRender(),t.scheduleRender(),t.resumeFrom=s,r&&(t.resumeFrom.preserveOpacity=!0),s.snapshot&&(t.snapshot=s.snapshot,t.snapshot.latestValues=s.animationValues||s.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:a}=t.options;a===!1&&s.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:r,resumingFrom:s}=t;r.onExitComplete&&r.onExitComplete(),s&&s.options.onExitComplete&&s.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function $D(e,t,r){let s="";const a=e.x.translate/t.x,l=e.y.translate/t.y,c=r?.z||0;if((a||l||c)&&(s=`translate3d(${a}px, ${l}px, ${c}px) `),(t.x!==1||t.y!==1)&&(s+=`scale(${1/t.x}, ${1/t.y}) `),r){const{transformPerspective:f,rotate:p,rotateX:x,rotateY:v,skewX:b,skewY:N}=r;f&&(s=`perspective(${f}px) ${s}`),p&&(s+=`rotate(${p}deg) `),x&&(s+=`rotateX(${x}deg) `),v&&(s+=`rotateY(${v}deg) `),b&&(s+=`skewX(${b}deg) `),N&&(s+=`skewY(${N}deg) `)}const d=e.x.scale*t.x,m=e.y.scale*t.y;return(d!==1||m!==1)&&(s+=`scale(${d}, ${m})`),s||"none"}const qh=["","X","Y","Z"],BD={visibility:"hidden"},aj=1e3;let zD=0;function Kh(e,t,r,s){const{latestValues:a}=t;a[e]&&(r[e]=a[e],t.setStaticValue(e,0),s&&(s[e]=0))}function PC(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const r=L2(t);if(window.MotionHasOptimisedAnimation(r,"transform")){const{layout:a,layoutId:l}=e.options;window.MotionCancelOptimisedAnimation(r,"transform",nt,!(a||l))}const{parent:s}=e;s&&!s.hasCheckedOptimisedAppear&&PC(s)}function _C({attachResizeListener:e,defaultParent:t,measureScroll:r,checkIsScrollRoot:s,resetTransform:a}){return class{constructor(c={},d=t?.()){this.id=zD++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(WD),this.nodes.forEach(ZD),this.nodes.forEach(QD),this.nodes.forEach(qD)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=c,this.root=d?d.root||d:this,this.path=d?[...d.path,d]:[],this.parent=d,this.depth=d?d.depth+1:0;for(let m=0;m<this.path.length;m++)this.path[m].shouldResetTransform=!0;this.root===this&&(this.nodes=new TD)}addEventListener(c,d){return this.eventHandlers.has(c)||this.eventHandlers.set(c,new Nx),this.eventHandlers.get(c).add(d)}notifyListeners(c,...d){const m=this.eventHandlers.get(c);m&&m.notify(...d)}hasListeners(c){return this.eventHandlers.has(c)}mount(c,d=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=AD(c),this.instance=c;const{layoutId:m,layout:f,visualElement:p}=this.options;if(p&&!p.current&&p.mount(c),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),d&&(f||m)&&(this.isLayoutDirty=!0),e){let x;const v=()=>this.root.updateBlockedByResize=!1;e(c,()=>{this.root.updateBlockedByResize=!0,x&&x(),x=ID(v,250),ou.hasAnimatedSinceResize&&(ou.hasAnimatedSinceResize=!1,this.nodes.forEach(lj))})}m&&this.root.registerSharedNode(m,this),this.options.animate!==!1&&p&&(m||f)&&this.addEventListener("didUpdate",({delta:x,hasLayoutChanged:v,hasRelativeLayoutChanged:b,layout:N})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const j=this.options.transition||p.getDefaultTransition()||nL,{onLayoutAnimationStart:C,onLayoutAnimationComplete:k}=p.getProps(),A=!this.targetLayout||!IC(this.targetLayout,N),T=!v&&b;if(this.options.layoutRoot||this.resumeFrom||T||v&&(A||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(x,T);const P={...gx(j,"layout"),onPlay:C,onComplete:k};(p.shouldReduceMotion||this.options.layoutRoot)&&(P.delay=0,P.type=!1),this.startAnimation(P)}else v||lj(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=N})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const c=this.getStack();c&&c.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,Kr(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(XD),this.animationId++)}getTransformTemplate(){const{visualElement:c}=this.options;return c&&c.getProps().transformTemplate}willUpdate(c=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&PC(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let p=0;p<this.path.length;p++){const x=this.path[p];x.shouldResetTransform=!0,x.updateScroll("snapshot"),x.options.layoutRoot&&x.willUpdate(!1)}const{layoutId:d,layout:m}=this.options;if(d===void 0&&!m)return;const f=this.getTransformTemplate();this.prevTransformTemplateValue=f?f(this.latestValues,""):void 0,this.updateSnapshot(),c&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(oj);return}this.isUpdating||this.nodes.forEach(GD),this.isUpdating=!1,this.nodes.forEach(YD),this.nodes.forEach(HD),this.nodes.forEach(UD),this.clearAllSnapshots();const d=Hr.now();Wt.delta=Gr(0,1e3/60,d-Wt.timestamp),Wt.timestamp=d,Wt.isProcessing=!0,Lh.update.process(Wt),Lh.preRender.process(Wt),Lh.render.process(Wt),Wt.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,ix.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(KD),this.sharedNodes.forEach(JD)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,nt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){nt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Nn(this.snapshot.measuredBox.x)&&
vendor: 15,287 bytes, line 17
17!Nn(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let m=0;m<this.path.length;m++)this.path[m].updateScroll();const c=this.layout;this.layout=this.measure(!1),this.layoutCorrected=Pt(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:d}=this.options;d&&d.notify("LayoutMeasure",this.layout.layoutBox,c?c.layoutBox:void 0)}updateScroll(c="measure"){let d=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===c&&(d=!1),d){const m=s(this.instance);this.scroll={animationId:this.root.animationId,phase:c,isRoot:m,offset:r(this.instance),wasRoot:this.scroll?this.scroll.isRoot:m}}}resetTransform(){if(!a)return;const c=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,d=this.projectionDelta&&!TC(this.projectionDelta),m=this.getTransformTemplate(),f=m?m(this.latestValues,""):void 0,p=f!==this.prevTransformTemplateValue;c&&(d||Oi(this.latestValues)||p)&&(a(this.instance,f),this.shouldResetTransform=!1,this.scheduleRender())}measure(c=!0){const d=this.measurePageBox();let m=this.removeElementScroll(d);return c&&(m=this.removeTransform(m)),rL(m),{animationId:this.root.animationId,measuredBox:d,layoutBox:m,latestValues:{},source:this.id}}measurePageBox(){var c;const{visualElement:d}=this.options;if(!d)return Pt();const m=d.measureViewportBox();if(!(((c=this.scroll)===null||c===void 0?void 0:c.wasRoot)||this.path.some(sL))){const{scroll:p}=this.root;p&&(Fa(m.x,p.offset.x),Fa(m.y,p.offset.y))}return m}removeElementScroll(c){var d;const m=Pt();if(nr(m,c),!((d=this.scroll)===null||d===void 0)&&d.wasRoot)return m;for(let f=0;f<this.path.length;f++){const p=this.path[f],{scroll:x,options:v}=p;p!==this.root&&x&&v.layoutScroll&&(x.wasRoot&&nr(m,c),Fa(m.x,x.offset.x),Fa(m.y,x.offset.y))}return m}applyTransform(c,d=!1){const m=Pt();nr(m,c);for(let f=0;f<this.path.length;f++){const p=this.path[f];!d&&p.options.layoutScroll&&p.scroll&&p!==p.root&&$a(m,{x:-p.scroll.offset.x,y:-p.scroll.offset.y}),Oi(p.latestValues)&&$a(m,p.latestValues)}return Oi(this.latestValues)&&$a(m,this.latestValues),m}removeTransform(c){const d=Pt();nr(d,c);for(let m=0;m<this.path.length;m++){const f=this.path[m];if(!f.instance||!Oi(f.latestValues))continue;Yp(f.latestValues)&&f.updateSnapshot();const p=Pt(),x=f.measurePageBox();nr(p,x),ej(d,f.latestValues,f.snapshot?f.snapshot.layoutBox:void 0,p)}return Oi(this.latestValues)&&ej(d,this.latestValues),d}setTargetDelta(c){this.targetDelta=c,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(c){this.options={...this.options,...c,crossfade:c.crossfade!==void 0?c.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!==Wt.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(c=!1){var d;const m=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=m.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=m.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=m.isSharedProjectionDirty);const f=!!this.resumingFrom||this!==m;if(!(c||f&&this.isSharedProjectionDirty||this.isProjectionDirty||!((d=this.parent)===null||d===void 0)&&d.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:x,layoutId:v}=this.options;if(!(!this.layout||!(x||v))){if(this.resolvedRelativeTargetAt=Wt.timestamp,!this.targetDelta&&!this.relativeTarget){const b=this.getClosestProjectingParent();b&&b.layout&&this.animationProgress!==1?(this.relativeParent=b,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Pt(),this.relativeTargetOrigin=Pt(),Sl(this.relativeTargetOrigin,this.layout.layoutBox,b.layout.layoutBox),nr(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=Pt(),this.targetWithTransforms=Pt()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),aD(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):nr(this.target,this.layout.layoutBox),jC(this.target,this.targetDelta)):nr(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget)){this.attemptToResolveRelativeTarget=!1;const b=this.getClosestProjectingParent();b&&!!b.resumingFrom==!!this.resumingFrom&&!b.options.layoutScroll&&b.target&&this.animationProgress!==1?(this.relativeParent=b,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Pt(),this.relativeTargetOrigin=Pt(),Sl(this.relativeTargetOrigin,this.target,b.target),nr(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}}}getClosestProjectingParent(){if(!(!this.parent||Yp(this.parent.latestValues)||wC(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var c;const d=this.getLead(),m=!!this.resumingFrom||this!==d;let f=!0;if((this.isProjectionDirty||!((c=this.parent)===null||c===void 0)&&c.isProjectionDirty)&&(f=!1),m&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(f=!1),this.resolvedRelativeTargetAt===Wt.timestamp&&(f=!1),f)return;const{layout:p,layoutId:x}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(p||x))return;nr(this.layoutCorrected,this.layout.layoutBox);const v=this.treeScale.x,b=this.treeScale.y;oD(this.layoutCorrected,this.treeScale,this.path,m),d.layout&&!d.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(d.target=d.layout.layoutBox,d.targetWithTransforms=Pt());const{target:N}=d;if(!N){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Qw(this.prevProjectionDelta.x,this.projectionDelta.x),Qw(this.prevProjectionDelta.y,this.projectionDelta.y)),Cl(this.projectionDelta,this.layoutCorrected,N,this.latestValues),(this.treeScale.x!==v||this.treeScale.y!==b||!ij(this.projectionDelta.x,this.prevProjectionDelta.x)||!ij(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",N))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(c=!0){var d;if((d=this.options.visualElement)===null||d===void 0||d.scheduleRender(),c){const m=this.getStack();m&&m.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Va(),this.projectionDelta=Va(),this.projectionDeltaWithTransform=Va()}setAnimationOrigin(c,d=!1){const m=this.snapshot,f=m?m.latestValues:{},p={...this.latestValues},x=Va();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!d;const v=Pt(),b=m?m.source:void 0,N=this.layout?this.layout.source:void 0,j=b!==N,C=this.getStack(),k=!C||C.members.length<=1,A=!!(j&&!k&&this.options.crossfade===!0&&!this.path.some(tL));this.animationProgress=0;let T;this.mixTargetDelta=P=>{const I=P/1e3;cj(x.x,c.x,I),cj(x.y,c.y,I),this.setTargetDelta(x),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Sl(v,this.layout.layoutBox,this.relativeParent.layout.layoutBox),eL(this.relativeTarget,this.relativeTargetOrigin,v,I),T&&VD(this.relativeTarget,T)&&(this.isProjectionDirty=!1),T||(T=Pt()),nr(T,this.relativeTarget)),j&&(this.animationValues=p,_D(p,f,this.latestValues,I,A,k)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=I},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(c){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(Kr(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=nt.update(()=>{ou.hasAnimatedSinceResize=!0,this.currentAnimation=kD(0,aj,{...c,onUpdate:d=>{this.mixTargetDelta(d),c.onUpdate&&c.onUpdate(d)},onStop:()=>{},onComplete:()=>{c.onComplete&&c.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 c=this.getStack();c&&c.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(aj),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const c=this.getLead();let{targetWithTransforms:d,target:m,layout:f,latestValues:p}=c;if(!(!d||!m||!f)){if(this!==c&&this.layout&&f&&RC(this.options.animationType,this.layout.layoutBox,f.layoutBox)){m=this.target||Pt();const x=Nn(this.layout.layoutBox.x);m.x.min=c.target.x.min,m.x.max=m.x.min+x;const v=Nn(this.layout.layoutBox.y);m.y.min=c.target.y.min,m.y.max=m.y.min+v}nr(d,m),$a(d,p),Cl(this.projectionDeltaWithTransform,this.layoutCorrected,d,p)}}registerSharedNode(c,d){this.sharedNodes.has(c)||this.sharedNodes.set(c,new FD),this.sharedNodes.get(c).add(d);const f=d.options.initialPromotionConfig;d.promote({transition:f?f.transition:void 0,preserveFollowOpacity:f&&f.shouldPreserveFollowOpacity?f.shouldPreserveFollowOpacity(d):void 0})}isLead(){const c=this.getStack();return c?c.lead===this:!0}getLead(){var c;const{layoutId:d}=this.options;return d?((c=this.getStack())===null||c===void 0?void 0:c.lead)||this:this}getPrevLead(){var c;const{layoutId:d}=this.options;return d?(c=this.getStack())===null||c===void 0?void 0:c.prevLead:void 0}getStack(){const{layoutId:c}=this.options;if(c)return this.root.sharedNodes.get(c)}promote({needsReset:c,transition:d,preserveFollowOpacity:m}={}){const f=this.getStack();f&&f.promote(this,m),c&&(this.projectionDelta=void 0,this.needsReset=!0),d&&this.setOptions({transition:d})}relegate(){const c=this.getStack();return c?c.relegate(this):!1}resetSkewAndRotation(){const{visualElement:c}=this.options;if(!c)return;let d=!1;const{latestValues:m}=c;if((m.z||m.rotate||m.rotateX||m.rotateY||m.rotateZ||m.skewX||m.skewY)&&(d=!0),!d)return;const f={};m.z&&Kh("z",c,f,this.animationValues);for(let p=0;p<qh.length;p++)Kh(`rotate${qh[p]}`,c,f,this.animationValues),Kh(`skew${qh[p]}`,c,f,this.animationValues);c.render();for(const p in f)c.setStaticValue(p,f[p]),this.animationValues&&(this.animationValues[p]=f[p]);c.scheduleRender()}getProjectionStyles(c){var d,m;if(!this.instance||this.isSVG)return;if(!this.isVisible)return BD;const f={visibility:""},p=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,f.opacity="",f.pointerEvents=iu(c?.pointerEvents)||"",f.transform=p?p(this.latestValues,""):"none",f;const x=this.getLead();if(!this.projectionDelta||!this.layout||!x.target){const j={};return this.options.layoutId&&(j.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,j.pointerEvents=iu(c?.pointerEvents)||""),this.hasProjected&&!Oi(this.latestValues)&&(j.transform=p?p({},""):"none",this.hasProjected=!1),j}const v=x.animationValues||x.latestValues;this.applyTransformsToTarget(),f.transform=$D(this.projectionDeltaWithTransform,this.treeScale,v),p&&(f.transform=p(v,f.transform));const{x:b,y:N}=this.projectionDelta;f.transformOrigin=`${b.origin*100}% ${N.origin*100}% 0`,x.animationValues?f.opacity=x===this?(m=(d=v.opacity)!==null&&d!==void 0?d:this.latestValues.opacity)!==null&&m!==void 0?m:1:this.preserveOpacity?this.latestValues.opacity:v.opacityExit:f.opacity=x===this?v.opacity!==void 0?v.opacity:"":v.opacityExit!==void 0?v.opacityExit:0;for(const j in Bl){if(v[j]===void 0)continue;const{correct:C,applyTo:k,isCSSVariable:A}=Bl[j],T=f.transform==="none"?v[j]:C(v[j],x);if(k){const P=k.length;for(let I=0;I<P;I++)f[k[I]]=T}else A?this.options.visualElement.renderState.vars[j]=T:f[j]=T}return this.options.layoutId&&(f.pointerEvents=x===this?iu(c?.pointerEvents)||"":"none"),f}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(c=>{var d;return(d=c.currentAnimation)===null||d===void 0?void 0:d.stop()}),this.root.nodes.forEach(oj),this.root.sharedNodes.clear()}}}function HD(e){e.updateLayout()}function UD(e){var t;const r=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&r&&e.hasListeners("didUpdate")){const{layoutBox:s,measuredBox:a}=e.layout,{animationType:l}=e.options,c=r.source!==e.layout.source;l==="size"?rr(x=>{const v=c?r.measuredBox[x]:r.layoutBox[x],b=Nn(v);v.min=s[x].min,v.max=v.min+b}):RC(l,r.layoutBox,s)&&rr(x=>{const v=c?r.measuredBox[x]:r.layoutBox[x],b=Nn(s[x]);v.max=v.min+b,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[x].max=e.relativeTarget[x].min+b)});const d=Va();Cl(d,s,r.layoutBox);const m=Va();c?Cl(m,e.applyTransform(a,!0),r.measuredBox):Cl(m,s,r.layoutBox);const f=!TC(d);let p=!1;if(!e.resumeFrom){const x=e.getClosestProjectingParent();if(x&&!x.resumeFrom){const{snapshot:v,layout:b}=x;if(v&&b){const N=Pt();Sl(N,r.layoutBox,v.layoutBox);const j=Pt();Sl(j,s,b.layoutBox),IC(N,j)||(p=!0),x.options.layoutRoot&&(e.relativeTarget=j,e.relativeTargetOrigin=N,e.relativeParent=x)}}}e.notifyListeners("didUpdate",{layout:s,snapshot:r,delta:m,layoutDelta:d,hasLayoutChanged:f,hasRelativeLayoutChanged:p})}else if(e.isLead()){const{onExitComplete:s}=e.options;s&&s()}e.options.transition=void 0}function WD(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 qD(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function KD(e){e.clearSnapshot()}function oj(e){e.clearMeasurements()}function GD(e){e.isLayoutDirty=!1}function YD(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function lj(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function ZD(e){e.resolveTargetDelta()}function QD(e){e.calcProjection()}
vendor: 6,672 bytes, line 17
17function XD(e){e.resetSkewAndRotation()}function JD(e){e.removeLeadSnapshot()}function cj(e,t,r){e.translate=Ct(t.translate,0,r),e.scale=Ct(t.scale,1,r),e.origin=t.origin,e.originPoint=t.originPoint}function dj(e,t,r,s){e.min=Ct(t.min,r.min,s),e.max=Ct(t.max,r.max,s)}function eL(e,t,r,s){dj(e.x,t.x,r.x,s),dj(e.y,t.y,r.y,s)}function tL(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const nL={duration:.45,ease:[.4,0,.1,1]},uj=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),mj=uj("applewebkit/")&&!uj("chrome/")?Math.round:Cn;function fj(e){e.min=mj(e.min),e.max=mj(e.max)}function rL(e){fj(e.x),fj(e.y)}function RC(e,t,r){return e==="position"||e==="preserve-aspect"&&!iD(sj(t),sj(r),.2)}function sL(e){var t;return e!==e.root&&((t=e.scroll)===null||t===void 0?void 0:t.wasRoot)}const iL=_C({attachResizeListener:(e,t)=>Wl(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Gh={current:void 0},MC=_C({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Gh.current){const e=new iL({});e.mount(window),e.setOptions({layoutScroll:!0}),Gh.current=e}return Gh.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),aL={pan:{Feature:jD},drag:{Feature:wD,ProjectionNode:MC,MeasureLayout:kC}};function hj(e,t,r){const{props:s}=e;e.animationState&&s.whileHover&&e.animationState.setActive("whileHover",r==="Start");const a="onHover"+r,l=s[a];l&&nt.postRender(()=>l(t,bc(t)))}class oL extends pi{mount(){const{current:t}=this.node;t&&(this.unmount=oM(t,(r,s)=>(hj(this.node,s,"Start"),a=>hj(this.node,a,"End"))))}unmount(){}}class lL extends pi{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=yc(Wl(this.node.current,"focus",()=>this.onFocus()),Wl(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function pj(e,t,r){const{props:s}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&s.whileTap&&e.animationState.setActive("whileTap",r==="Start");const a="onTap"+(r==="End"?"":r),l=s[a];l&&nt.postRender(()=>l(t,bc(t)))}class cL extends pi{mount(){const{current:t}=this.node;t&&(this.unmount=uM(t,(r,s)=>(pj(this.node,s,"Start"),(a,{success:l})=>pj(this.node,a,l?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const Xp=new WeakMap,Yh=new WeakMap,dL=e=>{const t=Xp.get(e.target);t&&t(e)},uL=e=>{e.forEach(dL)};function mL({root:e,...t}){const r=e||document;Yh.has(r)||Yh.set(r,{});const s=Yh.get(r),a=JSON.stringify(t);return s[a]||(s[a]=new IntersectionObserver(uL,{root:e,...t})),s[a]}function fL(e,t,r){const s=mL(t);return Xp.set(e,r),s.observe(e),()=>{Xp.delete(e),s.unobserve(e)}}const hL={some:0,all:1};class pL extends pi{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:r,margin:s,amount:a="some",once:l}=t,c={root:r?r.current:void 0,rootMargin:s,threshold:typeof a=="number"?a:hL[a]},d=m=>{const{isIntersecting:f}=m;if(this.isInView===f||(this.isInView=f,l&&!f&&this.hasEnteredView))return;f&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",f);const{onViewportEnter:p,onViewportLeave:x}=this.node.getProps(),v=f?p:x;v&&v(m)};return fL(this.node.current,c,d)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:r}=this.node;["amount","margin","root"].some(gL(t,r))&&this.startObserver()}unmount(){}}function gL({viewport:e={}},{viewport:t={}}={}){return r=>e[r]!==t[r]}const xL={inView:{Feature:pL},tap:{Feature:cL},focus:{Feature:lL},hover:{Feature:oL}},vL={layout:{ProjectionNode:MC,MeasureLayout:kC}},Jp={current:null},OC={current:!1};function yL(){if(OC.current=!0,!!Jg)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Jp.current=e.matches;e.addListener(t),t()}else Jp.current=!1}const bL=[...sC,dn,ci],wL=e=>bL.find(rC(e)),jL=new WeakMap;function NL(e,t,r){for(const s in t){const a=t[s],l=r[s];if(hn(a))e.addValue(s,a);else if(hn(l))e.addValue(s,hs(a,{owner:e}));else if(l!==a)if(e.hasValue(s)){const c=e.getValue(s);c.liveStyle===!0?c.jump(a):c.hasAnimated||c.set(a)}else{const c=e.getStaticValue(s);e.addValue(s,hs(c!==void 0?c:a,{owner:e}))}}for(const s in r)t[s]===void 0&&e.removeValue(s);return t}const gj=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class CL{scrapeMotionValuesFromProps(t,r,s){return{}}constructor({parent:t,props:r,presenceContext:s,reducedMotionConfig:a,blockInitialAnimation:l,visualState:c},d={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Ix,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const b=Hr.now();this.renderScheduledAt<b&&(this.renderScheduledAt=b,nt.render(this.render,!1,!0))};const{latestValues:m,renderState:f,onUpdate:p}=c;this.onUpdate=p,this.latestValues=m,this.baseTarget={...m},this.initialValues=r.initial?{...m}:{},this.renderState=f,this.parent=t,this.props=r,this.presenceContext=s,this.depth=t?t.depth+1:0,this.reducedMotionConfig=a,this.options=d,this.blockInitialAnimation=!!l,this.isControllingVariants=mm(r),this.isVariantNode=f2(r),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:x,...v}=this.scrapeMotionValuesFromProps(r,{},this);for(const b in v){const N=v[b];m[b]!==void 0&&hn(N)&&N.set(m[b],!1)}}mount(t){this.current=t,jL.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEac
vendor: 5,265 bytes, line 17
17h((r,s)=>this.bindToMotionValue(s,r)),OC.current||yL(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Jp.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&&this.projection.unmount(),Kr(this.notifyUpdate),Kr(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const t in this.events)this.events[t].clear();for(const t in this.features){const r=this.features[t];r&&(r.unmount(),r.isMounted=!1)}this.current=null}bindToMotionValue(t,r){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();const s=Ji.has(t);s&&this.onBindTransform&&this.onBindTransform();const a=r.on("change",d=>{this.latestValues[t]=d,this.props.onUpdate&&nt.preRender(this.notifyUpdate),s&&this.projection&&(this.projection.isTransformDirty=!0)}),l=r.on("renderRequest",this.scheduleRender);let c;window.MotionCheckAppearSync&&(c=window.MotionCheckAppearSync(this,t,r)),this.valueSubscriptions.set(t,()=>{a(),l(),c&&c(),r.owner&&r.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 eo){const r=eo[t];if(!r)continue;const{isEnabled:s,Feature:a}=r;if(!this.features[t]&&a&&s(this.props)&&(this.features[t]=new a(this)),this.features[t]){const l=this.features[t];l.isMounted?l.update():(l.mount(),l.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Pt()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,r){this.latestValues[t]=r}update(t,r){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=r;for(let s=0;s<gj.length;s++){const a=gj[s];this.propEventSubscriptions[a]&&(this.propEventSubscriptions[a](),delete this.propEventSubscriptions[a]);const l="on"+a,c=t[l];c&&(this.propEventSubscriptions[a]=this.on(a,c))}this.prevMotionValues=NL(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue(),this.onUpdate&&this.onUpdate(this)}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 r=this.getClosestVariantNode();if(r)return r.variantChildren&&r.variantChildren.add(t),()=>r.variantChildren.delete(t)}addValue(t,r){const s=this.values.get(t);r!==s&&(s&&this.removeValue(t),this.bindToMotionValue(t,r),this.values.set(t,r),this.latestValues[t]=r.get())}removeValue(t){this.values.delete(t);const r=this.valueSubscriptions.get(t);r&&(r(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,r){if(this.props.values&&this.props.values[t])return this.props.values[t];let s=this.values.get(t);return s===void 0&&r!==void 0&&(s=hs(r===null?void 0:r,{owner:this}),this.addValue(t,s)),s}readValue(t,r){var s;let a=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:(s=this.getBaseTargetFromProps(this.props,t))!==null&&s!==void 0?s:this.readValueFromInstance(this.current,t,this.options);return a!=null&&(typeof a=="string"&&(tC(a)||q2(a))?a=parseFloat(a):!wL(a)&&ci.test(r)&&(a=X2(t,r)),this.setBaseTarget(t,hn(a)?a.get():a)),hn(a)?a.get():a}setBaseTarget(t,r){this.baseTarget[t]=r}getBaseTarget(t){var r;const{initial:s}=this.props;let a;if(typeof s=="string"||typeof s=="object"){const c=hx(this.props,s,(r=this.presenceContext)===null||r===void 0?void 0:r.custom);c&&(a=c[t])}if(s&&a!==void 0)return a;const l=this.getBaseTargetFromProps(this.props,t);return l!==void 0&&!hn(l)?l:this.initialValues[t]!==void 0&&a===void 0?void 0:this.baseTarget[t]}on(t,r){return this.events[t]||(this.events[t]=new Nx),this.events[t].add(r)}notify(t,...r){this.events[t]&&this.events[t].notify(...r)}}class DC extends CL{constructor(){super(...arguments),this.KeyframeResolver=iC}sortInstanceNodePosition(t,r){return t.compareDocumentPosition(r)&2?1:-1}getBaseTargetFromProps(t,r){return t.style?t.style[r]:void 0}removeValueFromRenderState(t,{vars:r,style:s}){delete r[t],delete s[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;hn(t)&&(this.childSubscription=t.on("change",r=>{this.current&&(this.current.textContent=`${r}`)}))}}function SL(e){return window.getComputedStyle(e)}class kL extends DC{constructor(){super(...arguments),this.type="html",this.renderInstance=C2}readValueFromInstance(t,r){if(Ji.has(r)){const s=Tx(r);return s&&s.default||0}else{const s=SL(t),a=(ax(r)?s.getPropertyValue(r):s[r])||0;
17return typeof a=="string"?a.trim():a}}measureInstanceViewportBox(t,{transformPagePoint:r}){return NC(t,r)}build(t,r,s){cx(t,r,s.transformTemplate)}scrapeMotionValuesFromProps(t,r,s){return px(t,r,s)}}class AL extends DC{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Pt,this.updateDimensions=()=>{this.current&&!this.renderState.dimensions&&N2(this.current,this.renderState)}}getBaseTargetFromProps(t,r){return t[r]}readValueFromInstance(t,r){if(Ji.has(r)){const s=Tx(r);return s&&s.default||0}return r=S2.has(r)?r:sx(r),t.getAttribute(r)}scrapeMotionValuesFromProps(t,r,s){return A2(t,r,s)}onBindTransform(){this.current&&!this.renderState.dimensions&&nt.postRender(this.updateDimensions)}build(t,r,s){mx(t,r,this.isSVGTag,s.transformTemplate)}renderInstance(t,r,s,a){k2(t,r,s,a)}mount(t){this.isSVGTag=fx(t.tagName),super.mount(t)}}const EL=(e,t)=>ux(e)?new AL(t):new kL(t,{allowProjection:e!==g.Fragment}),TL=nM({...QO,...xL,...aL,...vL},EL),E=v3(TL);function LC(e,t){let r;const s=()=>{const{currentTime:a}=t,c=(a===null?0:a.value)/100;r!==c&&e(c),r=c};return nt.update(s,!0),()=>Kr(s)}const lu=new WeakMap;let Ys;function IL(e,t){if(t){const{inlineSize:r,blockSize:s}=t[0];return{width:r,height:s}}else return e instanceof SVGElement&&"getBBox"in e?e.getBBox():{width:e.offsetWidth,height:e.offsetHeight}}function PL({target:e,contentRect:t,borderBoxSize:r}){var s;(s=lu.get(e))===null||s===void 0||s.forEach(a=>{a({target:e,contentSize:t,get size(){return IL(e,r)}})})}function _L(e){e.forEach(PL)}function RL(){typeof ResizeObserver>"u"||(Ys=new ResizeObserver(_L))}function ML(e,t){Ys||RL();const r=yx(e);return r.forEach(s=>{let a=lu.get(s);a||(a=new Set,lu.set(s,a)),a.add(t),Ys?.observe(s)}),()=>{r.forEach(s=>{const a=lu.get(s);a?.delete(t),a?.size||Ys?.unobserve(s)})}}const cu=new Set;let kl;function OL(){kl=()=>{const e={width:window.innerWidth,height:window.innerHeight},t={target:window,size:e,contentSize:e};cu.forEach(r=>r(t))},window.addEventListener("resize",kl)}function DL(e){return cu.add(e),kl||OL(),()=>{cu.delete(e),!cu.size&&kl&&(kl=void 0)}}function LL(e,t){return typeof e=="function"?DL(e):ML(e,t)}const VL=50,xj=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}),FL=()=>({time:0,x:xj(),y:xj()}),$L={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function vj(e,t,r,s){const a=r[t],{length:l,position:c}=$L[t],d=a.current,m=r.time;a.current=e[`scroll${c}`],a.scrollLength=e[`scroll${l}`]-e[`client${l}`],a.offset.length=0,a.offset[0]=0,a.offset[1]=a.scrollLength,a.progress=zi(0,a.scrollLength,a.current);const f=s-m;a.velocity=f>VL?0:Cx(a.current-d,f)}function BL(e,t,r){vj(e,"x",t,r),vj(e,"y",t,r),t.time=r}function zL(e,t){const r={x:0,y:0};let s=e;for(;s&&s!==t;)if(s instanceof HTMLElement)r.x+=s.offsetLeft,r.y+=s.offsetTop,s=s.offsetParent;else if(s.tagName==="svg"){const a=s.getBoundingClientRect();s=s.parentElement;const l=s.getBoundingClientRect();r.x+=a.left-l.left,r.y+=a.top-l.top}else if(s instanceof SVGGraphicsElement){const{x:a,y:l}=s.getBBox();r.x+=a,r.y+=l;let c=null,d=s.parentNode;for(;!c;)d.tagName==="svg"&&(c=d),d=s.parentNode;s=c}else break;return r}const eg={start:0,center:.5,end:1};function yj(e,t,r=0){let s=0;if(e in eg&&(e=eg[e]),typeof e=="string"){const a=parseFloat(e);e.endsWith("px")?s=a:e.endsWith("%")?e=a/100:e.endsWith("vw")?s=a/100*document.documentElement.clientWidth:e.endsWith("vh")?s=a/100*document.documentElement.clientHeight:e=a}return typeof e=="number"&&(s=t*e),r+s}const HL=[0,0];function UL(e,t,r,s){let a=Array.isArray(e)?e:HL,l=0,c=0;return typeof e=="number"?a=[e,e]:typeof e=="string"&&(e=e.trim(),e.includes(" ")?a=e.split(" "):a=[e,eg[e]?e:"0"]),l=yj(a[0],r,s),c=yj(a[1],t),l-c}const WL={All:[[0,0],[1,1]]},qL={x:0,y:0};function KL(e){return"getBBox"in e&&e.tagName!=="svg"?e.getBBox():{width:e.clientWidth,height:e.clientHeight}}function GL(e,t,r){const{offset:s=WL.All}=r,{target:a=e,axis:l="y"}=r,c=l==="y"?"height":"width",d=a!==e?zL(a,e):qL,m=a===e?{width:e.scrollWidth,height:e.scrollHeight}:KL(a),f={width:e.clientWidth,height:e.clientHeight};t[l].offset.length=0;let p=!t[l].interpolate;const x=s.length;for(let v=0;v<x;v++){const b=UL(s[v],f[c],m[c],d[l]);
17!p&&b!==t[l].interpolatorOffsets[v]&&(p=!0),t[l].offset[v]=b}p&&(t[l].interpolate=mC(t[l].offset,fC(s),{clamp:!1}),t[l].interpolatorOffsets=[...t[l].offset]),t[l].progress=Gr(0,1,t[l].interpolate(t[l].current))}function YL(e,t=e,r){if(r.x.targetOffset=0,r.y.targetOffset=0,t!==e){let s=t;for(;s&&s!==e;)r.x.targetOffset+=s.offsetLeft,r.y.targetOffset+=s.offsetTop,s=s.offsetParent}r.x.targetLength=t===e?t.scrollWidth:t.clientWidth,r.y.targetLength=t===e?t.scrollHeight:t.clientHeight,r.x.containerLength=e.clientWidth,r.y.containerLength=e.clientHeight}function ZL(e,t,r,s={}){return{measure:()=>YL(e,s.target,r),update:a=>{BL(e,r,a),(s.offset||s.target)&&GL(e,r,s)},notify:()=>t(r)}}const dl=new WeakMap,bj=new WeakMap,Zh=new WeakMap,wj=e=>e===document.documentElement?window:e;function Mx(e,{container:t=document.documentElement,...r}={}){let s=Zh.get(t);s||(s=new Set,Zh.set(t,s));const a=FL(),l=ZL(t,e,a,r);if(s.add(l),!dl.has(t)){const d=()=>{for(const v of s)v.measure()},m=()=>{for(const v of s)v.update(Wt.timestamp)},f=()=>{for(const v of s)v.notify()},p=()=>{nt.read(d,!1,!0),nt.read(m,!1,!0),nt.update(f,!1,!0)};dl.set(t,p);const x=wj(t);window.addEventListener("resize",p,{passive:!0}),t!==document.documentElement&&bj.set(t,LL(t,p)),x.addEventListener("scroll",p,{passive:!0})}const c=dl.get(t);return nt.read(c,!1,!0),()=>{var d;Kr(c);const m=Zh.get(t);if(!m||(m.delete(l),m.size))return;const f=dl.get(t);dl.delete(t),f&&(wj(t).removeEventListener("scroll",f),(d=bj.get(t))===null||d===void 0||d(),window.removeEventListener("resize",f))}}function QL({source:e,container:t,axis:r="y"}){e&&(t=e);const s={value:0},a=Mx(l=>{s.value=l[r].progress*100},{container:t,axis:r});return{currentTime:s,cancel:a}}const Qh=new Map;function VC({source:e,container:t=document.documentElement,axis:r="y"}={}){e&&(t=e),Qh.has(t)||Qh.set(t,{});const s=Qh.get(t);return s[r]||(s[r]=E2()?new ScrollTimeline({source:t,axis:r}):QL({source:t,axis:r})),s[r]}function XL(e){return e.length===2}function FC(e){return e&&(e.target||e.offset)}function JL(e,t){return XL(e)||FC(t)?Mx(r=>{e(r[t.axis].progress,r)},t):LC(e,VC(t))}function e8(e,t){if(e.flatten(),FC(t))return e.pause(),Mx(r=>{e.time=e.duration*r[t.axis].progress},t);{const r=VC(t);return e.attachTimeline?e.attachTimeline(r,s=>(s.pause(),LC(a=>{s.time=s.duration*a},r))):Cn}}function t8(e,{axis:t="y",...r}={}){const s={axis:t,...r};return typeof e=="function"?JL(e,s):e8(e,s)}function jj(e,t){d3(!!(!t||t.current))}const n8=()=>({scrollX:hs(0),scrollY:hs(0),scrollXProgress:hs(0),scrollYProgress:hs(0)});function r8({container:e,target:t,layoutEffect:r=!0,...s}={}){const a=lm(n8);return(r?ex:g.useEffect)(()=>(jj("target",t),jj("container",e),t8((c,{x:d,y:m})=>{a.scrollX.set(d.current),a.scrollXProgress.set(d.progress),a.scrollY.set(m.current),a.scrollYProgress.set(m.progress)},{...s,container:e?.current||void 0,target:t?.current||void 0})),[e,t,JSON.stringify(s.offset)]),a}const s8={some:0,all:1};function i8(e,t,{root:r,margin:s,amount:a="some"}={}){const l=yx(e),c=new WeakMap,d=f=>{f.forEach(p=>{const x=c.get(p.target);if(p.isIntersecting!==!!x)if(p.isIntersecting){const v=t(p.target,p);typeof v=="function"?c.set(p.target,v):m.unobserve(p.target)}else typeof x=="function"&&(x(p),c.delete(p.target))})},m=new IntersectionObserver(d,{root:r,rootMargin:s,threshold:typeof a=="number"?a:s8[a]});return l.forEach(f=>m.observe(f)),()=>m.disconnect()}function a8(e,{root:t,margin:r,amount:s,once:a=!1,initial:l=!1}={}){const[c,d]=g.useState(l);return g.useEffect(()=>{if(!e.current||a&&c)return;const m=()=>(d(!0),a?void 0:()=>d(!1)),f={root:t&&t.current||void 0,margin:r,amount:s};return i8(e.current,m,f)},[t,e,r,a,s]),c}const o8=({title:e,icon:t,bgColor:r,features:s,delay:a=0})=>{const[l,c]=g.useState(!1),d=g.useRef(null);return g.useEffect(()=>{const m=new IntersectionObserver(([f])=>{f.isIntersecting&&(c(!0),m.disconnect())},{threshold:.1});return d.current&&m.observe(d.current),()=>m.disconnect()},[]),n.jsx(E.div,{ref:d,initial:{opacity:0,y:20},animate:l?{opacity:1,y:0}:{opacity:0,y:20},whileHover:{y:-6,scale:1.02,transition:{duration:.3,ease:"easeOut"}},transition:{duration:.5,delay:a},className:`rounded-2xl overflow-hidden h-full bg-card border border-border/60 cursor-pointer group\r
18 shadow-premium-sm hover:shadow-premium hover:border-primary/20\r 19 transition-all duration-300 ease-out`,children:n.jsxs("div",{className:"flex flex-col h-full",children:[n.jsxs("div",{className:"p-6 flex items-center bg-primary/5",children:[n.jsx("div",{className:"mr-4 p-4 rounded-xl shadow-premium-sm bg-card group-hover:shadow-premium group-hover:scale-105 transition-all duration-300 ease-out",children:t}),n.jsx("h3",{className:"text-xl md:text-2xl font-heading font-semibold text-foreground",children:e})]}),n.jsx("div",{className:"p-6 flex-grow",children:n.jsx("ul",{className:"space-y-3",children:s.map((m,f)=>n.jsxs(E.li,{initial:{opacity:0,x:-10},animate:l?{opacity:1,x:0}:{opacity:0,x:-10},transition:{duration:.3,delay:a+.1+f*.05},className:"flex items-start",children:[n.jsx("span",{className:"flex-shrink-0 p-1 rounded-full mr-3 mt-0.5 bg-primary/10 group-hover:scale-110 transition-all duration-300 ease-out",children:n.jsx(Zu,{size:14,className:"text-primary"})}),n.jsx("span",{className:"text-muted-foreground text-sm md:text-base",children:m.text})]},f))})})]})})},qt=({title:e,subtitle:t,badge:r,align:s="center",titleClassName:a,subtitleClassName:l,showAnimation:c=!0,headingLevel:d="h2"})=>{const m=d,f={hidden:{opacity:0,y:30},visible:{opacity:1,y:0,transition:{duration:.7,staggerChildren:.2}}},p={hidden:{opacity:0,y:20},visible:{opacity:1,y:0,transition:{duration:.5}}};return n.jsxs(E.div,{className:Ee("max-w-4xl mx-auto mb-16",s==="center"?"text-center":"text-left"),initial:c?"hidden":void 0,whileInView:c?"visible":void 0,viewport:{once:!0,margin:"-100px"},variants:f,children:[r&&n.jsx(E.div,{variants:p,className:"mb-6",children:n.jsxs("span",{className:"inline-flex items-center gap-1.5 py-1.5 px-4 rounded-full bg-primary/10 text-primary font-medium text-sm border border-primary/20 shadow-sm",children:[n.jsx(Qa,{className:"w-3.5 h-3.5"}),r]})}),n.jsx(E.div,{variants:p,children:n.jsx(m,{className:Ee("font-display text-4xl md:text-5xl font-bold mb-6",a),children:n.jsx("span",{className:"bg-gradient-to-r from-primary via-primary/80 to-purple-600 bg-clip-text text-transparent leading-tight inline-block animate-text-shimmer bg-[length:200%_auto]",children:e})})}),n.jsx(E.p,{variants:p,className:Ee("text-xl text-muted-foreground leading-relaxed",l),children:t})]})},ul=[{title:"Healthcare",icon:n.jsx(gu,{className:"w-8 h-8 text-primary"}),bgColor:"brand-purple",features:[{text:"Appointment scheduling & reminders"},{text:"Prescription refill requests"},{text:"Patient follow-ups & feedback collection"},{text:"Medical insurance verification"},{text:"Health screening & vaccination reminders"}]},{title:"Insurance",icon:n.jsx(b4,{className:"w-8 h-8 text-primary"}),bgColor:"brand-purple",features:[{text:"Inbound sales call handling"},{text:"Lead qualification"},{text:"Claims filing assistance"},{text:"Payment reminder and processing"},{text:"Policy renewal reminders"}]},{title:"Travel and Hospitality",icon:n.jsx(c4,{className:"w-8 h-8 text-primary"}),bgColor:"brand-purple",features:[{text:"Flight & hotel booking assistance"},{text:"Itinerary updates & travel alerts"},{text:"Loyalty program & rewards assistance"},{text:"Customer feedback collection"},{text:"Tour & activity booking confirmations"}]},{title:"Real Estate",icon:n.jsx(pu,{className:"w-8 h-8 text-primary"}),bgColor:"brand-purple",features:[{text:"Property inquiry handling"},{text:"Virtual tour scheduling"},{text:"Rent & lease management"},{text:"Mortgage & home loan consultation"},{text:"Property valuation & market trend updates"}]},{title:"Finance & Banking",icon:n.jsx(MP,{className:"w-8 h-8 text-primary"}),bgColor:"brand-purple",features:[{text:"Account balance inquiries"},{text:"Transaction alerts & fraud detection"},{text:"Loan application assistance"},{text:"Financial advisory appointment scheduling"},{text:"Investment portfolio updates"}]},{title:"E-commerce",icon:n.jsx(f4,{className:"w-8 h-8 text-primary"}),bgColor:"brand-purple",features:[{text:"Inbound customer inquiries"},{text:"Order tracking and updates"},{text:"Handling returns and exchanges"},{text:"Customer feedback collection"},{text:"Marketing & promotions"}]},{title:"Telecom",icon:n.jsx(ut,{className:"w-8 h-8 text-primary"}),bgColor:"brand-purple",features:[{text:"Plan upgrades & promotions"},{text:"Bill payment & usage alerts"},{text:"Technical support & troubleshooting"},{text:"Number porting assistance"},{text:"Customer retention & win-back campaigns"}]},{title:"Marketing and Advertising",icon:n.jsx(BP,{className:"w-8 h-8 text-primary"}),bgColor:"brand-purple",features:[{text:"Outbound campaigns"},{text:"Customer surveys"},{text:"Feedback collection"},{text:"Social media engagement"},{text:"Lead nurturing"}]},{title:"Automotive",icon:n.jsx(x4,{className:"w-8 h-8 text-primary"}),bgColor:"brand-purple",features:[{text:"Test drive & service appointment scheduling"},{text:"Vehicle recall notifications"},{text:"Loan & financing assistance"},{text:"Roadside assistance requests"},{text:"Vehicle feature & pricing inquiries"}]},{title:"Food and Beverage",icon:n.jsx(j4,{className:"w-8 h-8 text-primary"}),bgColor:"brand-purple",features:[{text:"Order placement & tracking"},{text:"Table reservations & cancellations"},{text:"Menu recommendations & dietary assistance"},{text:"Customer feedback & loyalty programs"},{text:"Delivery status updates"}]},{title:"Human Resources",icon:n.jsx(Dn,{className:"w-8 h-8 text-primary"}),bgColor:"brand-purple",features:[{text:"Job application status updates"},{text:"Interview scheduling & coordination"},{text:"Employee onboarding assistance"},{text:"Payroll & benefits inquiries"},{text:"Training & compliance reminders"}]},{title:"Logistics and Supply Chain",icon:n.jsx(v4,{className:"w-8 h-8 text-primary"}),bgColor:"brand-purple",features:[{text:"Shipment tracking & status updates"},{text:"Delivery rescheduling & modifications"},{text:"Fleet management support"},{text:"Customs & compliance assistance"},{text:"Supplier communication & coordination"}]},{title:"Retail",icon:n.jsx(h4,{className:"w-8 h-8 text-primary"}),bgColor:"brand-purple",features:[{text:"Inbound customer support"},{text:"Store locator & product availability inquiries"},{text:"Personalized shopping assistance"},{text:"Loyalty program management"},{text:"Order tracking & delivery status updates"}]},{title:"Manufacturing",icon:n.jsx(KP,{className:"w-8 h-8 text-primary"}),bgColor:"brand-purple",features:[{text:"Order & inventory status updates"},{text:"Supplier coordination & communication"},{text:"Production progress notifications"},{text:"Quality assurance & compliance checks"},{text:"Customer feedback on product performance"}]},{title:"Education",icon:n.jsx(YP,{className:"w-8 h-8 text-primary"}),bgColor:"brand-purple",features:[{text:"Student enrollment inquiries"},{text:"Exam schedules & result notifications"},{text:"Fee payment reminders"},{text:"E-learning support & troubleshooting"},{text:"Course recommendation & guidance"}]},{title:"Construction",icon:n.jsx(ZP,{className:"w-8 h-8 text-primary"}),bgColor:"brand-purple",features:[{text:"Project management communications"},{text:"Handling inquiries from clients and subcontractors"},{text:"Material delivery scheduling"},{text:"Safety compliance reminders"},{text:"Progress updates & site reports"}]}],l8=()=>{const e=g.useRef(null),[t,r]=g.useState(0),[s,a]=g.useState(0),[l,c]=g.useState("0%"),[d,m]=g.useState(0);g.useEffect(()=>{const v=()=>{if(e.current){const{scrollWidth:b,clientWidth:N}=e.current;a(b-N)}};return v(),window.addEventListener("resize",v),()=>window.removeEventListener("resize",v)},[]);const f=()=>{if(e.current){const{scrollLeft:v,scrollWidth:b,clientWidth:N}=e.current;r(v);const j=b-N;j>0&&c(`${v/j*100}%`);const C=N*.9;m(Math.min(Math.round(v/C),ul.length-1))}},p=v=>{if(e.current){const{clientWidth:b}=e.current,N=v==="left"?Math.max(t-b/2,0):Math.min(t+b/2,s);e.current.scrollTo({left:N,behavior:"smooth"})}},x=v=>{if(e.current){const{clientWidth:b}=e.current;e.current.scrollTo({left:v*b*.9,behavior:"smooth"})}};return n.jsxs("section",{className:"py-24 px-6 md:px-12 overflow-hidden relative",children:[n.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-background via-muted/30 to-background -z-10"}),n.jsx("div",{className:"absolute inset-0 bg-features-graph-pattern opacity-[0.03] pointer-events-none -z-10"}),n.jsxs("div",{className:"max-w-7xl mx-auto",children:[n.jsx(qt,{badge:"Use Cases",title:"AI Voice Solutions for Every Industry",subtitle:"Designed to reshape the future of customer service across a wide range of industries.",headingLevel:"h2"}),n.jsx("div",{className:"block md:hidden text-center mb-4",children:n.jsx("p",{className:"text-sm text-muted-foreground",children:"â Swipe to explore more industries â"})}),n.jsxs("div",{className:"relative px-4",children:[n.jsxs("div",{className:"hidden md:block",children:[n.jsx("button",{onClick:()=>p("left"),className:Ee("absolute left-0 top-1/2 -translate-y-1/2 -ml-5 z-10 bg-card/80 backdrop-blur-sm p-3 rounded-full shadow-premium-sm transition-all border border-border/50","hover:bg-card hover:shadow-
19premium hover:scale-105",t<=10?"opacity-50 cursor-not-allowed":"opacity-100 cursor-pointer"),disabled:t<=10,children:n.jsx(q1,{className:"w-5 h-5 text-foreground"})}),n.jsx("button",{onClick:()=>p("right"),className:Ee("absolute right-0 top-1/2 -translate-y-1/2 -mr-5 z-10 bg-card/80 backdrop-blur-sm p-3 rounded-full shadow-premium-sm transition-all border border-border/50","hover:bg-card hover:shadow-premium hover:scale-105",t>=s-10?"opacity-50 cursor-not-allowed":"opacity-100 cursor-pointer"),disabled:t>=s-10,children:n.jsx(K1,{className:"w-5 h-5 text-foreground"})})]}),n.jsx("div",{ref:e,className:"flex gap-6 overflow-x-auto pb-8 snap-x snap-mandatory no-scrollbar",onScroll:f,children:ul.map((v,b)=>n.jsx("div",{className:"flex-shrink-0 w-full sm:w-[calc(100%-2rem)] md:w-[calc(50%-1.5rem)] lg:w-[calc(33.333%-1.5rem)] xl:w-[calc(25%-1.2rem)] snap-start",children:n.jsx(o8,{title:v.title,icon:v.icon,bgColor:v.bgColor,features:v.features,delay:b*.1})},b))}),n.jsxs("div",{className:"block md:hidden",children:[n.jsx("div",{className:"flex justify-center items-center space-x-2 mt-6",children:ul.map((v,b)=>n.jsx("button",{onClick:()=>x(b),className:Ee("w-2 h-2 rounded-full transition-all duration-200",b===d?"bg-primary w-6":"bg-muted-foreground/30 hover:bg-muted-foreground/50"),"aria-label":`Go to ${ul[b].title} use case`},b))}),n.jsx("div",{className:"text-center mt-3",children:n.jsxs("p",{className:"text-sm text-muted-foreground",children:[d+1," of ",ul.length]})})]}),n.jsx("div",{className:"hidden md:block max-w-xs mx-auto mt-8",children:n.jsx("div",{className:"h-1 bg-muted rounded-full overflow-hidden",children:n.jsx("div",{className:"h-full bg-primary/50 rounded-full transition-all duration-200",style:{width:l}})})})]})]})]})},c8=[{name:"Starter",price:"Contact",period:" for Pricing",description:"Perfect for small teams ready to transform their customer experience with AI.",features:["AI voice agent setup","Basic analytics dashboard","Email support","Getting started guidance","Knowledge base access"],highlight:!1,buttonText:"Get Quote"},{name:"Professional",price:"Contact",period:" for Pricing",description:"Tailored solutions for growing businesses with custom requirements.",features:["Advanced AI capabilities","Real-time analytics","CRM integrations","Priority support","Custom AI workflows","Detailed reporting"],highlight:!0,buttonText:"Get Quote"},{name:"Enterprise",price:"Custom",period:" Solutions",description:"Fully customized AI voice solutions designed for your specific industry needs.",features:["Unlimited capabilities","Dedicated account manager","Custom integrations","SLA guarantees","Advanced security features","White-label options","24/7 priority support"],highlight:!1,buttonText:"Contact Sales"}],d8=({onScheduleDemoClick:e})=>n.jsx(E.section,{id:"pricing",className:"py-24 overflow-hidden bg-gradient-to-b from-background to-primary/5",initial:{opacity:0}
19,whileInView:{opacity:1},transition:{duration:.8},viewport:{once:!0,margin:"-100px"},children:n.jsxs("div",{className:"container px-4 mx-auto max-w-7xl",children:[n.jsx(qt,{title:"Simple, Transparent Pricing",subtitle:"Free trial to get started. Flexibility at scale. Choose the plan that works best for your business."}),n.jsx("div",{className:"flex flex-col lg:flex-row gap-8 justify-center",children:c8.map((t,r)=>n.jsxs(E.div,{initial:{y:50,opacity:0},whileInView:{y:0,opacity:1},whileHover:{y:-12,scale:1.02},transition:{delay:r*.1+.3,duration:.6,hover:{duration:.4,ease:"easeOut"}},viewport:{once:!0},className:Ee("rounded-2xl border w-full lg:w-1/3 flex flex-col relative overflow-hidden group cursor-pointer","transition-all duration-500 ease-out",t.highlight?"lg:scale-105 z-10 border-primary/30 bg-gradient-to-br from-primary/5 via-card to-purple-500/5":"border-border/60 bg-card hover:border-primary/30",t.highlight?"shadow-premium hover:shadow-premium-lg":"shadow-premium-sm hover:shadow-premium"),children:[t.highlight&&n.jsx("div",{className:"absolute top-0 right-0",children:n.jsxs("div",{className:"bg-primary text-primary-foreground text-xs font-semibold px-3 py-1 rounded-bl-lg rounded-tr-lg flex items-center",children:[n.jsx(Q1,{className:"w-3 h-3 mr-1"}),"POPULAR"]})}),n.jsxs("div",{className:"p-8 flex-grow flex flex-col h-full",children:[n.jsxs("div",{children:[n.jsx("h3",{className:Ee("text-2xl font-bold mb-2",t.highlight?"text-primary":"text-foreground"),children:t.name}),n.jsxs("div",{className:"flex items-baseline mb-4",children:[n.jsx("span",{className:"text-4xl font-bold text-foreground",children:t.price}),n.jsx("span",{className:"text-muted-foreground ml-1",children:t.period})]}),n.jsx("p",{className:"text-muted-foreground mb-8",children:t.description})]}),n.jsx("div",{className:"space-y-4 flex-grow mb-8",children:t.features.map((s,a)=>n.jsxs("div",{className:"flex items-start",children:[n.jsx("div",{className:Ee("rounded-full p-1 mr-3 mt-0.5",t.highlight?"bg-primary/10 text-primary":"bg-muted text-foreground"),children:n.jsx(Zu,{className:"w-3 h-3"})}),n.jsx("span",{className:"text-muted-foreground",children:s})]},a))}),n.jsx(E.button,{whileHover:{scale:1.03},whileTap:{scale:.98},className:Ee("w-full py-3 rounded-lg font-medium transition-all",t.highlight?"bg-primary hover:bg-primary/90 text-primary-foreground shadow-premium-sm hover:shadow-premium":"border border-border text-foreground hover:text-primary hover:border-primary"),onClick:e,children:t.buttonText})]})]},t.name))}),n.jsxs(E.div,{className:"mt-20 text-center",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{delay:.6,duration:.8},viewport:{once:!0},children:[n.jsx("p",{className:"text-lg text-muted-foreground mb-6",children:"Not sure which plan is right for you? Let us help."}),n.jsx(E.button,{whileHover:{scale:1.05},whileTap:{scale:.98},className:"px-8 py-4 bg-gradient-to-r from-primary to-purple-600 text-primary-foreground rounded-lg shadow-premium-sm hover:shadow-premium transition-all",onClick:e,children:"Schedule a Demo"})]})]})}),Nj=[{icon:n.jsx(ut,{className:"w-6 h-6"}),title:"24/7 AI Voice Agents",description:"Human-like AI agents that never sleep, ensuring every call is answered professionally and promptly."},{icon:n.jsx(Gt,{className:"w-6 h-6"}),title:"Multilingual Support",description:"Communicate with customers in 30+ languages with perfect pronunciation and cultural context."},{icon:n.jsx(Rt,{className:"w-6 h-6"}),title:"Instant Response",description:"Zero wait times with immediate call pickup and intelligent call routing for optimal customer experience."},{icon:n.jsx(ar,{className:"w-6 h-6"}),title:"Enterprise Security",description:"Bank-grade security with end-to-end encryption and compliance with industry standards."},{icon:n.jsx(rn,{className:"w-6 h-6"}),title:"Seamless Integration",description:"Easy setup with your existing CRM and business tools. Get started in minutes, not months."},{icon:n.jsx(Rl,{className:"w-6 h-6"}),title:"Intelligent Call Handling",description:"Advanced AI understands context, handles complex queries, and provides accurate information every time."}],u8=({feature:e,index:t})=>n.jsxs(E.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.5,delay:t*.08},viewport:{once:!0},className:"group relative p-6 rounded-2xl bg-card border border-border/60 shadow-premium-sm hover:shadow-
19premium transition-all duration-500 hover:-translate-y-1",children:[n.jsx("div",{className:"absolute inset-0 rounded-2xl bg-gradient-to-br from-primary/5 to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-500"}),n.jsxs("div",{className:"relative z-10",children:[n.jsxs("div",{className:"flex items-center gap-4 mb-4",children:[n.jsx("div",{className:"flex-shrink-0 p-3 rounded-xl bg-primary/10 text-primary",children:e.icon}),n.jsx("h3",{className:"text-lg font-bold text-foreground group-hover:text-primary transition-colors duration-300",children:e.title})]}),n.jsx("p",{className:"text-muted-foreground leading-relaxed",children:e.description})]})]}),m8=()=>n.jsxs("section",{className:"py-20 relative overflow-hidden",children:[n.jsx("div",{className:"absolute inset-0 bg-dots-pattern opacity-40"}),n.jsxs("div",{className:"container mx-auto px-4 relative z-10",children:[n.jsxs(E.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.6},viewport:{once:!0},className:"text-center max-w-3xl mx-auto mb-14",children:[n.jsxs("div",{className:"inline-flex items-center gap-2 px-4 py-1.5 rounded-full bg-primary/10 text-primary text-sm font-medium mb-5",children:[n.jsx(rn,{className:"w-4 h-4"}),"Core Capabilities"]}),n.jsxs("h2",{className:"text-4xl md:text-5xl font-bold text-foreground mb-5",children:["Powerful Features for"," ",n.jsx("span",{className:"bg-gradient-to-r from-primary to-primary/70 bg-clip-text text-transparent",children:"Modern Businesses"})]}),n.jsx("p",{className:"text-lg text-muted-foreground leading-relaxed",children:"Transform your customer communication with advanced AI voice agents designed to enhance your business operations and customer satisfaction."})]}),n.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6",children:Nj.map((e,t)=>n.jsx(u8,{feature:e,index:t},t))})]}),n.jsx("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify({"@context":"https://schema.org","@type":"ItemList",name:"CallLive AI Features",description:"Key features of CallLive AI voice agents",itemListElement:Nj.map((e,t)=>({"@type":"ListItem",position:t+1,name:e.title,description:e.description}))})}})]}),f8=mc("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"}}),Ae=g.forwardRef(({className:e,variant:t,size:r,asChild:s=!1,...a},l)=>{const c=s?vs:"button";return n.jsx(c,{className:Ee(f8({variant:t,size:r,className:e})),ref:l,...a})});Ae.displayName="Button";const h8=({onScheduleDemoClick:e})=>{const t=[{icon:n.jsx(Za,{className:"h-6 w-6"}),title:"Cost reduction through automation",description:"Automate routine tasks and reduce operational expenses with our AI-powered solution"},{icon:n.jsx(Tr,{className:"h-6 w-6"}),title:"Increased conversions and sales",description:"Convert more leads into customers with intelligent, timely follow-ups and interactions"},{icon:n.jsx(g4,{className:"h-6 w-6"}),title:"Improved customer satisfaction",description:"Deliver exceptional experiences with personalized and responsive service"},{icon:n.jsx(W1,{className:"h-6 w-6"}),title:"Enhanced lead qualification",description:"Identify and prioritize high-quality leads to focus on the most promising opportunities"},{icon:n.jsx(Rt,{className:"h-6 w-6"}),title:"Efficient handling of high call volumes",description:"Scale your customer service operations seamlessly during peak periods without added costs"},{icon:n.jsx(Dn,{className:"h-6 w-6"}),title:"Team productivity enhancement",description:"Free up your team to focus on complex tasks while our AI handles routine inquiries"}];return n.jsxs("section",{className:"py-24 relative overflow-hidden bg-gradient-to-b from-background to-secondary/30",children:[n.jsx("div",{className:"absolute inset-0 bg-features-graph-pattern opacity-30"}),n.jsx("div",{className:"absolute top-20 left-10 w-80 h-80 bg-primary/5 rounded-full filter blur-[100px]"}),n.jsx("div",{className:"absolute bottom-20 right-10 w-80 h-80 bg-primary/5 rounded-full filter blur-[100px]"}),n.jsxs("div",{className:"container mx-auto px-6 relative z-10",children:[n.jsxs(E.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.6},viewport:{once:!0},className:"text-center max-w-3xl mx-auto mb-14",children:[n.jsxs("div",{className:"inline-flex items-center gap-2 px-4 py-1.5 rounded-full bg-primary/10 text-primary text-sm font-medium mb-5",children:[n.jsx(Tr,{className:"w-4 h-4"}),"Business Impact"]}),n.jsxs("h2",{className:"text-4xl md:text-5xl font-bold text-foreground mb-5",children:["Tangible"," ",n.jsx("span",{className:"bg-gradient-to-r from-primary to-primary/70 bg-clip-text text-transparent",children:"Benefits"})]}),n.jsx("p",{className:"text-lg text-muted-foreground leading-relaxed",children:"Measurable advantages that directly impact your bottom line"})]}),n.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:t.map((r,s)=>n.jsxs(E.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.5,delay:s*.08},viewport:{once:!0},className:"group relative p-6 rounded-2xl bg-card border border-border/60 shadow-premium-sm hover:shadow-
19premium transition-all duration-500 hover:-translate-y-1",children:[n.jsx("div",{className:"absolute inset-0 rounded-2xl bg-gradient-to-br from-primary/5 to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-500"}),n.jsxs("div",{className:"relative z-10",children:[n.jsx("div",{className:"w-12 h-12 rounded-xl bg-primary/10 text-primary flex items-center justify-center mb-5 group-hover:scale-110 transition-transform duration-300",children:r.icon}),n.jsx("h3",{className:"text-lg font-semibold mb-2 text-foreground group-hover:text-primary transition-colors duration-300",children:r.title}),n.jsx("p",{className:"text-muted-foreground leading-relaxed",children:r.description})]})]},s))}),n.jsx(E.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.7,delay:.4},viewport:{once:!0},className:"mt-14 text-center",children:n.jsxs(Ae,{onClick:e,className:"bg-primary hover:bg-primary/90 text-primary-foreground px-8 py-6 text-lg rounded-xl shadow-premium-sm hover:shadow-premium transition-all duration-300 group",children:["Schedule a Demo",n.jsx(it,{className:"ml-2 w-5 h-5 transition-transform group-hover:translate-x-1"})]})})]})]})},p8=({industries:e,className:t=""})=>{const[r,s]=g.useState(0),[a,l]=g.useState(0),c=e[r];g.useEffect(()=>{const m=setInterval(()=>{l(f=>{const p=f+1;return p>=c.cyclingUseCases.length?(s(x=>(x+1)%e.length),0):p})},3e3);return()=>clearInterval(m)},[c.cyclingUseCases.length,e.length]);const d=m=>{const f=/([A-Z&\s]+)\s+Industry/g,p=[];let x=0,v;for(;(v=f.exec(m))!==null;)v.index>
19x&&p.push(n.jsx("span",{className:"text-black/90",children:m.slice(x,v.index)},`text-${x}`)),p.push(n.jsx("span",{className:"bg-gradient-to-r from-indigo-600 via-purple-600 to-indigo-600 bg-clip-text text-transparent",children:v[1]},`industry-${v.index}`)),p.push(n.jsx("span",{className:"text-black/90",children:" Industry"},`industry-text-${v.index}`)),x=f.lastIndex;return x<m.length&&p.push(n.jsx("span",{className:"text-black/90",children:m.slice(x)},`text-${x}`)),p};return n.jsx("div",{className:`space-y-4 ${t}`,children:n.jsx(li,{mode:"wait",children:n.jsxs(E.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},exit:{opacity:0,y:-20},transition:{duration:.5},className:"space-y-3 text-center",children:[n.jsx("h2",{className:"text-xl md:text-2xl font-bold tracking-tight leading-tight mx-auto max-w-4xl",children:d(c.staticLine)}),n.jsx(li,{mode:"wait",children:n.jsx(E.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.3},className:"h-12 flex items-center justify-center",children:n.jsx("p",{className:"text-xl md:text-2xl font-bold bg-gradient-to-r from-indigo-600 via-purple-600 to-indigo-600 bg-clip-text text-transparent leading-tight mx-auto max-w-4xl",children:c.cyclingUseCases[a]})},`use-case-${a}`)}
19)]},`industry-${r}`)})})},g8=({onGetStartedClick:e})=>{const t={hidden:{opacity:0,y:20},visible:a=>({opacity:1,y:0,transition:{delay:a*.2,duration:.8,ease:[.215,.61,.355,1]}})},r=()=>{const a=document.getElementById("demo");a&&a.scrollIntoView({behavior:"smooth"})},s=[{staticLine:"AUTOMOTIVE Industry our AI calls will help you with",cyclingUseCases:["Test Drive appointment scheduling","Service appointment scheduling & reminders","Sales lead follow-up & qualification","Post-sales satisfaction checks"]},{staticLine:"INSURANCE Industry our AI calls will help you with",cyclingUseCases:["Inbound & outbound sales call handling","Lead qualification & nurturing","Payment reminders & processing","Policy renewal reminders"]},{staticLine:"HEALTHCARE Industry our AI calls will help you with",cyclingUseCases:["Appointment scheduling & reminders","Patient follow-ups & feedback collection"]},{staticLine:"REAL ESTATE Industry our AI calls will help you with",cyclingUseCases:["Property viewing scheduling & confirmations","Lead qualification & follow-up","Answering common property inquiries"]},{staticLine:"TRAVEL Industry our AI calls will help you with",cyclingUseCases:["Booking confirmations & reminders","Flight/trip change notifications","Basic customer support queries","Post-trip feedback collection"]},{staticLine:"HOSPITALITY Industry our AI calls will help you with",cyclingUseCases:["Reservation confirmations & pre-arrival info","Guest service requests & FAQs","Check-out reminders","Post-stay feedback surveys"]},{staticLine:"FINANCE & BANKING Industry our AI calls will help you with",cyclingUseCases:["Payment & bill reminders","Fraud alert notifications & verification","Basic account inquiries"]},{staticLine:"E-COMMERCE Industry our AI calls will help you with",cyclingUseCases:["Order confirmation & shipping updates","Post-purchase feedback & review requests","Return & exchange process guidance"]},{staticLine:"LOGISTICS Industry our AI calls will help you with",cyclingUseCases:["Delivery status updates & ETAs","Shipment confirmation & tracking info","Driver communication"]},{staticLine:"FOOD ORDERING Industry our AI calls will help you with",cyclingUseCases:["Order confirmation & preparation updates","Delivery status & driver ETAs","Handling simple order issues","Post-delivery feedback collection"]},{staticLine:"TELECOMMUNICATIONS Industry our AI calls will help you with",cyclingUseCases:["Bill payment reminders & confirmation","Promotional offer outreach"]},{staticLine:"HUMAN RESOURCES Industry our AI calls will help you with",cyclingUseCases:["Initial candidate screening calls","Interview scheduling & reminders","Onboarding task reminders","Employee survey administration"]},{staticLine:"RETAIL Industry our AI calls will help you with",cyclingUseCases:["Order pickup & delivery notifications","Appointment booking (e.g., personal shopper)","Loyalty program updates & promotions","Stock availability checks (automated)"]},{staticLine:"EDUCATION Industry our AI calls will help you with",cyclingUseCases:["Application deadline & status reminders","Tuition payment notifications","Event & webinar invitations","Course enrollment confirmations"]}];return n.jsxs(E.section,{className:"min-h-screen relative overflow-hidden bg-gradient-to-b from-white via-indigo-50/20 to-white",initial:{opacity:0}
19,animate:{opacity:1},transition:{duration:.8},children:[n.jsx("div",{className:"absolute inset-0 bg-[radial-gradient(ellipse_at_top_right,_var(--tw-gradient-stops))] from-indigo-100/50 via-transparent to-transparent opacity-80"}),n.jsx("div",{className:"absolute inset-0 bg-[conic-gradient(at_bottom_left,_var(--tw-gradient-stops))] from-purple-200/30 via-transparent to-transparent opacity-60"}),n.jsxs("div",{className:"absolute inset-0 overflow-hidden pointer-events-none",children:[n.jsx("div",{className:"absolute inset-0 flex items-center justify-center pointer-events-none",children:n.jsxs("div",{className:"relative",children:[n.jsxs(E.div,{className:"absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2",animate:{opacity:[.8,1,.8]},transition:{duration:4,repeat:1/0,ease:"easeInOut"},children:[n.jsx("div",{className:"w-48 h-48 rounded-full bg-gradient-radial from-pink-500/40 via-purple-500/20 to-transparent blur-2xl"}),n.jsx("div",{className:"absolute inset-8 rounded-full bg-gradient-radial from-pink-400/60 via-purple-400/40 to-transparent blur-xl"}),n.jsx("div",{className:"absolute inset-16 rounded-full bg-gradient-radial from-white/80 via-pink-300/60 to-purple-400/40 blur-md"}),n.jsx("div",{className:"absolute inset-20 rounded-full bg-white/90 blur-sm"})]}),n.jsxs("svg",{className:"w-screen h-screen opacity-60",viewBox:"0 0 1400 900",children:[n.jsx("g",{className:"hidden md:block",children:[...Array(12)].map((a,l)=>
19{const c=l*360/12,d=700,m=450,f=800,p=700+Math.cos(c*Math.PI/180)*f,x=450+Math.sin(c*Math.PI/180)*f;return n.jsx(E.g,{children:n.jsx(E.line,{x1:d,y1:m,x2:p,y2:x,stroke:"url(#dramatic-beam-gradient)",strokeWidth:"2",initial:{opacity:0},animate:{opacity:[0,.6,.3,.6,0]},transition:{duration:10,repeat:1/0,delay:l*.2,ease:"linear"}})},`dramatic-beam-${l}`)})}),n.jsxs("defs",{children:[n.jsxs("linearGradient",{id:"dramatic-beam-gradient",x1:"0%",y1:"0%",x2:"100%",y2:"0%",children:[n.jsx("stop",{offset:"0%",stopColor:"#FFFFFF",stopOpacity:"0.9"}),n.jsx("stop",{offset:"20%",stopColor:"#EC4899",stopOpacity:"0.8"}),n.jsx("stop",{offset:"60%",stopColor:"#A855F7",stopOpacity:"0.4"}),n.jsx("stop",{offset:"100%",stopColor:"#6366F1",stopOpacity:"0"})]}),n.jsxs("linearGradient",{id:"dramatic-beam-secondary",x1:"0%",y1:"0%",x2:"100%",y2:"0%",children:[n.jsx("stop",{offset:"0%",stopColor:"#FFFFFF",stopOpacity:"0.6"}),n.jsx("stop",{offset:"30%",stopColor:"#F8BBD9",stopOpacity:"0.5"}),n.jsx("stop",{offset:"100%",stopColor:"#A855F7",stopOpacity:"0"})]}),n.jsxs("radialGradient",{id:"particle-gradient",cx:"50%",cy:"50%",r:"50%",children:[n.jsx("stop",{offset:"0%",stopColor:"#FFFFFF",stopOpacity:"1"}),n.jsx("stop",{offset:"50%",stopColor:"#EC4899",stopOpacity:"0.8"}),n.jsx("stop",{offset:"100%",stopColor:"#A855F7",stopOpacity:"0"})]})]})]}),n.jsx("div",{className:"absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 w-96 h-96 rounded-full opacity-60",style:{background:"radial-gradient(circle, rgba(236, 72, 153, 0.2) 0%, rgba(168, 85, 247, 0.1) 40%, transparent 70%)",filter:"blur(24px)"}})]})}),n.jsx("div",{className:"absolute inset-0 bg-[radial-gradient(circle_at_1px_1px,rgba(79,70,229,0.03)_1px,transparent_0)]",style:{backgroundSize:"40px 40px"}})]}),n.jsx("div",{className:"container mx-auto px-6 pt-28 pb-24 relative z-10",children:n.jsx("div",{className:"flex justify-center",children:n.jsxs("div",{className:"max-w-4xl mx-auto text-center",children:[n.jsxs(E.div,{custom:0,initial:"hidden",whileInView:"visible",variants:t,viewport:{once:!0},className:"mb-8",children:[n.jsxs("div",{className:"inline-flex items-center bg-gradient-to-r from-indigo-500/10 to-purple-500/10 text-indigo-700 px-5 py-2.5 rounded-full text-sm font-medium border border-indigo-200/50 shadow-xl shadow-indigo-100/50 backdrop-blur-sm",children:[n.jsx(Qa,{className:"mr-2 h-4 w-4 text-indigo-500"}),n.jsx("span",{className:"font-heading font-semibold bg-gradient-to-r from-indigo-600 to-purple-600 bg-clip-text text-transparent",children:n.jsx("strong",{children:"Ultra-Realistic Human-Like AI Calls in 60+ Languages"})})]}),n.jsxs("h1",{className:"mt-8 text-4xl md:text-5xl lg:text-6xl font-bold font-heading tracking-tight leading-none",children:[n.jsx("span",{className:"block mb-3 text-gray-900",children:"Revolutionize Your"}),n.jsx("span",{className:"bg-gradient-to-r from-indigo-600 via-purple-600 to-indigo-600 bg-clip-text text-transparent animate-text-shimmer bg-[length:200%_auto]",children:"Customer Engagement with AI"})]}),n.jsxs("div",{className:"mt-8 max-w-2xl mx-auto",children:[n.jsx("div",{className:"mx-auto mb-8 flex items-center justify-center",children:n.jsx("div",{className:"h-1.5 w-72 bg-gradient-to-r from-indigo-500 via-purple-500 to-indigo-500 rounded-full opacity-80"})}),n.jsx("p",{className:"text-xl text-gray-600 leading-relaxed font-light",children:"Our AI voice technology handles calls across multiple industries"})]})]}),n.jsx(E.div,{custom:1,initial:"hidden",whileInView:"visible",variants:t,viewport:{once:!0},className:"mb-12 p-7 bg-white/80 backdrop-blur-md border border-indigo-100 rounded-2xl shadow-premium hover:shadow-premium-lg transition-all duration-500 transform hover:-translate-y-1 max-w-3xl mx-auto",children:n.jsx(p8,{industries:s,className:"text-center"})}),n.jsxs(E.div,{custom:2,initial:"hidden",whileInView:"visible",variants:t,viewport:{once:!0},className:"space-y-5 md:space-y-0 md:flex md:items-center md:justify-center md:space-x-6",children:[n.jsxs(E.button,{whileHover:{scale:1.05,y:-2,boxShadow:"0 20px 40px rgba(99, 102, 241, 0.4)"},whileTap:{scale:.98},className:"w-full md:w-auto px-8 py-4 bg-gradient-to-r from-indigo-600 via-purple-600 to-indigo-700 bg-[length:200%_auto] text-white rounded-xl shadow-lg shadow-indigo-500/30 hover:shadow-xl hover:shadow-indigo-500/40 transition-all duration-300 group flex items-center justify-center relative overflow-hidden",onClick:e,children:[n.jsx(E.div,{className:"absolute inset-0 bg-gradient-to-r from-white/20 to-transparent",animate:{x:["-100%","100%"],opacity:[0,.5,0]},transition:{duration:3,repeat:1/0,ease:"easeInOut"}}),n.jsxs("span",{className:"flex items-center text-lg font-medium relative z-10",children:["Get Started Now",n.jsx(E.span,{className:"ml-2 inline-flex",initial:{x:0},animate:{x:[0,5,0]},transition:{duration:1.5,repeat:1/0,repeatType:"loop",ease:"easeInOut",repeatDelay:1},children:n.jsx(it,{className:"h-5 w-5"})})]})]}),n.jsxs(E.button,{whileHover:{scale:1.05,y:-2,backgroundColor:"rgba(99, 102, 241, 0.1)"},whileTap:{scale:.98},className:"w-full md:w-auto mt-4 md:mt-0 px-8 py-4 bg-white/90 backdrop-blur-sm border border-indigo-100 text-indigo-700 rounded-xl hover:bg-indigo-50/80 hover:border-indigo-200 transition-all duration-300 shadow-lg shadow-indigo-100/25 hover:shadow-xl hover:shadow-indigo-200/40 text-lg font-medium flex items-center justify-center relative overflow-hidden",onClick:r,children:[n.jsx(E.div,{className:"absolute inset-0 bg-gradient-to-r from-indigo-500/10 to-transparent",animate:{x:["-100%","100%"],opacity:[0,.3,0]},transition:{duration:4,repeat:1/0,ease:"easeInOut",delay:1}}),n.jsxs("span",{className:"flex items-center relative z-10",children:["Try Demo",n.jsx("svg",{className:"ml-2 h-5 w-5",viewBox:"0 0 20 20",fill:"currentColor",children:n.jsx("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zM9.555 7.168A1 1 0 008 8v4a1 1 0 001.555.832l3-2a1 1 0 000-1.664l-3-2z",clipRule:"evenodd"})})]})]})]})]})})})]})},x8=({onButtonClick:e})=>{const t=g.useRef(null),r=a8(t,{once:!0,margin:"-100px"}),s={hidden:{opacity:0}
19,visible:{opacity:1,transition:{staggerChildren:.2}}},a={hidden:{opacity:0,y:30},visible:{opacity:1,y:0,transition:{duration:.7,ease:[.215,.61,.355,1]}}},l=["Reduce call center costs by up to 35%","Improve customer satisfaction by 42%","Handle 3x more inquiries without adding staff"];return n.jsxs(E.section,{ref:t,className:"py-32 relative bg-gradient-to-b from-background to-primary/5 overflow-hidden",initial:"hidden",animate:r?"visible":"hidden",variants:s,children:[n.jsxs("div",{className:"absolute inset-0 w-full h-full overflow-hidden",children:[n.jsx("div",{className:"absolute inset-0 bg-[radial-gradient(circle_at_1px_1px,hsl(var(--primary)/0.08)_1px,transparent_0)]",style:{backgroundSize:"40px 40px"}}),n.jsx("div",{className:"absolute top-0 right-0 w-96 h-96 bg-primary/5 rounded-full blur-3xl"}),n.jsx("div",{className:"absolute bottom-0 left-0 w-96 h-96 bg-primary/5 rounded-full blur-3xl"})]}),n.jsx("div",{className:"max-w-6xl mx-auto px-6 relative z-10",children:n.jsxs("div",{className:"bg-card/60 backdrop-blur-xl rounded-3xl p-12 lg:p-20 border border-border/50 shadow-premium",children:[n.jsxs(E.div,{className:"max-w-3xl mx-auto text-center mb-12",variants:a,children:[n.jsx(E.div,{initial:{scale:.9,opacity:0},animate:{scale:1,opacity:1},transition:{delay:.2,duration:.5},className:"bg-primary/10 w-16 h-16 rounded-2xl flex items-center justify-center mx-auto mb-6 shadow-inner",children:n.jsx(W1,{className:"w-8 h-8 text-primary"})}),n.jsx(E.h2,{className:"font-display text-4xl md:text-5xl font-bold mb-6 tracking-tight leading-tight",variants:a,children:n.jsx("span",{className:"bg-gradient-to-r from-primary via-primary/80 to-purple-600 bg-clip-text text-transparent",children:"Ready to transform your customer experience?"})}),n.jsx(E.p,{className:"text-xl text-muted-foreground mb-10 mx-auto",variants:a,children:"Join innovative companies that are already leveraging our platform to deliver exceptional service and drive business growth."}),n.jsx(E.div,{className:"grid md:grid-cols-3 gap-6 mt-12 mb-12",variants:s,children:l.map((c,d)=>n.jsxs(E.div,{className:`flex flex-col items-center bg-card rounded-xl p-6 shadow-premium-sm border border-border/50 \r 20 hover:border-primary/30 transition-all duration-300 ease-out cursor-pointer group`,variants:a,whileHover:{y:-8,scale:1.02,transition:{duration:.3,ease:"easeOut"}},whileTap:{scale:.98},children:[n.jsx(E.div,{className:`w-16 h-16 rounded-xl bg-primary/10 flex items-center justify-center mb-4\r 21 group-hover:bg-primary/15 group-hover:scale-110 transition-all duration-300`,children:n.jsx(Rl,{className:"w-8 h-8 text-primary group-hover:text-primary transition-colors duration-300"})}),n.jsx("p",{className:"font-medium text-lg text-foreground group-hover:text-foreground transition-colors duration-300 text-center",children:c})]},d))})]}),n.jsx(E.div,{className:"text-center",variants:a,children:n.jsx(E.button,{whileHover:{scale:1.05,y:-5},whileTap:{scale:.98},className:"px-10 py-5 bg-gradient-to-r from-primary to-purple-600 hover:from-primary/90 hover:to-purple-700 text-primary-foreground rounded-xl shadow-premium-sm hover:shadow-premium transition-all group text-lg font-medium",onClick:e,children:n.jsxs("span",{className:"relative z-10 font-medium flex items-center text-lg",children:["Schedule a Demo",n.jsx(it,{className:"ml-2 inline-block h-5 w-5 transition-transform group-hover:translate-x-1"})]})})})]})})]})};var v8=g.createContext(void 0);function hm(e){const t=g.useContext(v8);return e||t||"ltr"}function $C(e){const t=g.useRef({value:e,previous:e});return g.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}var yo="NavigationMenu",[Ox,BC,y8]=cc(yo),[tg,b8,w8]=cc(yo),[Dx]=Ns(yo,[y8,w8]),[j8,or]=Dx(yo),[N8,C8]=Dx(yo),zC=g.forwardRef((e,t)=>{const{__scopeNavigationMenu:r,value:s,onValueChange:a,defaultValue:l,delayDuration:c=200,skipDelayDuration:d=300,orientation:m="horizontal",dir:f,...p}=e,[x,v]=g.useState(null),b=Ze(t,Y=>v(Y)),N=hm(f),j=g.useRef(0),C=g.useRef(0),k=g.useRef(0),[A,T]=g.useState(!0),[P="",I]=Wr({prop:s,onChange:Y=>{const ee=Y!=="",ge=d>0;ee?(window.clearTimeout(k.current),ge&&T(!1)):(window.clearTimeout(k.current),k.current=window.setTimeout(()=>T(!0),d)),a?.(Y)},defaultProp:l}),L=g.useCallback(()=>{window.clearTimeout(C.current),C.current=window.setTimeout(()=>I(""),150)},[I]),$=g.useCallback(Y=>{window.clearTimeout(C.current),I(Y)},[I]),z=g.useCallback(Y=>{P===Y?window.clearTimeout(C.current):j.current=window.setTimeout(()=>{window.clearTimeout(C.current),I(Y)},c)},[P,I,c]);return g.useEffect(()=>()=>{window.clearTimeout(j.current),window.clearTimeout(C.current),window.clearTimeout(k.current)},[]),n.jsx(UC,{scope:r,isRootMenu:!0,value:P,dir:N,orientation:m,rootNavigationMenu:x,onTriggerEnter:Y=>{window.clearTimeout(j.current),A?z(Y):$(Y)},onTriggerLeave:()=>{window.clearTimeout(j.current),L()},onContentEnter:()=>window.clearTimeout(C.current),onContentLeave:L,onItemSelect:Y=>{I(ee=>ee===Y?"":Y)},onItemDismiss:()=>I(""),children:n.jsx(Le.nav,{"aria-label":"Main","data-orientation":m,dir:N,...p,ref:b})})});zC.displayName=yo;var HC="NavigationMenuSub",S8=g.forwardRef((e,t)=>
vendor: 6,906 bytes, line 21
21{const{__scopeNavigationMenu:r,value:s,onValueChange:a,defaultValue:l,orientation:c="horizontal",...d}=e,m=or(HC,r),[f="",p]=Wr({prop:s,onChange:a,defaultProp:l});return n.jsx(UC,{scope:r,isRootMenu:!1,value:f,dir:m.dir,orientation:c,rootNavigationMenu:m.rootNavigationMenu,onTriggerEnter:x=>p(x),onItemSelect:x=>p(x),onItemDismiss:()=>p(""),children:n.jsx(Le.div,{"data-orientation":c,...d,ref:t})})});S8.displayName=HC;var UC=e=>{const{scope:t,isRootMenu:r,rootNavigationMenu:s,dir:a,orientation:l,children:c,value:d,onItemSelect:m,onItemDismiss:f,onTriggerEnter:p,onTriggerLeave:x,onContentEnter:v,onContentLeave:b}=e,[N,j]=g.useState(null),[C,k]=g.useState(new Map),[A,T]=g.useState(null);return n.jsx(j8,{scope:t,isRootMenu:r,rootNavigationMenu:s,value:d,previousValue:$C(d),baseId:Ar(),dir:a,orientation:l,viewport:N,onViewportChange:j,indicatorTrack:A,onIndicatorTrackChange:T,onTriggerEnter:ht(p),onTriggerLeave:ht(x),onContentEnter:ht(v),onContentLeave:ht(b),onItemSelect:ht(m),onItemDismiss:ht(f),onViewportContentChange:g.useCallback((P,I)=>{k(L=>(L.set(P,I),new Map(L)))},[]),onViewportContentRemove:g.useCallback(P=>{k(I=>I.has(P)?(I.delete(P),new Map(I)):I)},[]),children:n.jsx(Ox.Provider,{scope:t,children:n.jsx(N8,{scope:t,items:C,children:c})})})},WC="NavigationMenuList",qC=g.forwardRef((e,t)=>{const{__scopeNavigationMenu:r,...s}=e,a=or(WC,r),l=n.jsx(Le.ul,{"data-orientation":a.orientation,...s,ref:t});return n.jsx(Le.div,{style:{position:"relative"},ref:a.onIndicatorTrackChange,children:n.jsx(Ox.Slot,{scope:r,children:a.isRootMenu?n.jsx(nS,{asChild:!0,children:l}):l})})});qC.displayName=WC;var KC="NavigationMenuItem",[k8,GC]=Dx(KC),YC=g.forwardRef((e,t)=>{const{__scopeNavigationMenu:r,value:s,...a}=e,l=Ar(),c=s||l||"LEGACY_REACT_AUTO_VALUE",d=g.useRef(null),m=g.useRef(null),f=g.useRef(null),p=g.useRef(()=>{}),x=g.useRef(!1),v=g.useCallback((N="start")=>{if(d.current){p.current();const j=rg(d.current);j.length&&Fx(N==="start"?j:j.reverse())}},[]),b=g.useCallback(()=>{if(d.current){const N=rg(d.current);N.length&&(p.current=R8(N))}},[]);return n.jsx(k8,{scope:r,value:c,triggerRef:m,contentRef:d,focusProxyRef:f,wasEscapeCloseRef:x,onEntryKeyDown:v,onFocusProxyEnter:v,onRootContentClose:b,onContentFocusOutside:b,children:n.jsx(Le.li,{...a,ref:t})})});YC.displayName=KC;var ng="NavigationMenuTrigger",ZC=g.forwardRef((e,t)=>{const{__scopeNavigationMenu:r,disabled:s,...a}=e,l=or(ng,e.__scopeNavigationMenu),c=GC(ng,e.__scopeNavigationMenu),d=g.useRef(null),m=Ze(d,c.triggerRef,t),f=sS(l.baseId,c.value),p=iS(l.baseId,c.value),x=g.useRef(!1),v=g.useRef(!1),b=c.value===l.value;return n.jsxs(n.Fragment,{children:[n.jsx(Ox.ItemSlot,{scope:r,value:c.value,children:n.jsx(rS,{asChild:!0,children:n.jsx(Le.button,{id:f,disabled:s,"data-disabled":s?"":void 0,"data-state":$x(b),"aria-expanded":b,"aria-controls":p,...a,ref:m,onPointerEnter:Se(e.onPointerEnter,()=>{v.current=!1,c.wasEscapeCloseRef.current=!1}),onPointerMove:Se(e.onPointerMove,Iu(()=>{s||v.current||c.wasEscapeCloseRef.current||x.current||(l.onTriggerEnter(c.value),x.current=!0)})),onPointerLeave:Se(e.onPointerLeave,Iu(()=>{s||(l.onTriggerLeave(),x.current=!1)})),onClick:Se(e.onClick,()=>{l.onItemSelect(c.value),v.current=b}),onKeyDown:Se(e.onKeyDown,N=>{const C={horizontal:"ArrowDown",vertical:l.dir==="rtl"?"ArrowLeft":"ArrowRight"}[l.orientation];b&&N.key===C&&(c.onEntryKeyDown(),N.preventDefault())})})})}),b&&n.jsxs(n.Fragment,{children:[n.jsx(j1,{"aria-hidden":!0,tabIndex:0,ref:c.focusProxyRef,onFocus:N=>{const j=c.contentRef.current,C=N.relatedTarget,k=C===d.current,A=j?.contains(C);(k||!A)&&c.onFocusProxyEnter(k?"start":"end")}}),l.viewport&&n.jsx("span",{"aria-owns":p})]})]})});ZC.displayName=ng;var A8="NavigationMenuLink",Cj="navigationMenu.linkSelect",QC=g.forwardRef((e,t)=>{const{__scopeNavigationMenu:r,active:s,onSelect:a,...l}=e;return n.jsx(rS,{asChild:!0,children:n.jsx(Le.a,{"data-active":s?"":void 0,"aria-current":s?"page":void 0,...l,ref:t,onClick:Se(e.onClick,c=>{const d=c.target,m=new CustomEvent(Cj,{bubbles:!0,cancelable:!0});if(d.addEventListener(Cj,f=>a?.(f),{once:!0}),hu(d,m),!m.defaultPrevented&&!c.metaKey){const f=new CustomEvent(du,{bubbles:!0,cancelable:!0});hu(d,f)}},{checkForDefaultPrevented:!1})})})});QC.displayName=A8;var Lx="NavigationMenuIndicator",XC=g.forwardRef((e,t)=>{const{forceMount:r,...s}=e,a=or(Lx,e.__scopeNavigationMenu),l=!!a.value;return a.indicatorTrack?Ku.createPortal(n.jsx(sn,{present:r||l,children:n.jsx(E8,{...s,ref:t})}),a.indicatorTrack):null});XC.displayName=Lx;var E8=g.forwardRef((e,t)=>{const{__scopeNavigationMenu:r,...s}=e,a=or(Lx,r),l=BC(r),[c,d]=g.useState(null),[m,f]=g.useState(null),p=a.orientation==="horizontal",x=!!a.value;g.useEffect(()=>{const N=l().find(j=>j.value===a.value)?.ref.current;N&&d(N)},[l,a.value]);const v=()=>{c&&f({size:p?c.offsetWidth:c.offsetHeight,offset:p?c.offsetLeft:c.offsetTop})};return sg(c,v),sg(a.indicatorTrack,v),m?n.jsx(Le.div,{"aria-hidden":!0,"data-state":x?"visible":"hidden","data-orientation":a.orientation,...s,ref:t,style:{position:"absolute",...p?{left:0,width:m.size+"px",transform:`translateX(${m.offset}px)`}:{top:0,height:m.size+"px",transform:`translateY(${m.offset}px)`},...s.style}}):null}),no="NavigationMenuContent",JC=g.forwardRef((e,t)=>{const{forceMount:r,...s}=e,a=or(no,e.__scopeNavigationMenu),l=GC(no,e.__scopeNavigationMenu),c=Ze(l.contentRef,t),d=l.value===a.value,m={value:l.value,triggerRef:l.triggerRef,focusProxyRef:l.focusProxyRef,wasEscapeCloseRef:l.wasEscapeCloseRef,onContentFocusOutside:l.onContentFocusOutside,onRootContentClose:l.onRootContentClose,...s};return a.viewport?n.jsx(T8,{forceMount:r,...m,ref:c}):n.jsx(sn,{present:r||d,children:n.jsx(eS,{"data-state":$x(d),...m,ref:c,onPointerEnter:Se(e.onPointerEnter,a.onContentEnter),onPointerLeave:Se(e.onPointerLeave,Iu(a.onContentLeave)),style:{pointerEvents:!d&&a.isRootMenu?"none":void 0,...m.style}})})});JC.displayName=no;var T8=g.forwardRef((e,t)=>{const r=or(no,e.__scopeNavigationMenu),{onViewportContentChange:s,onViewportContentRemove:a}=r;return Ot(()=>{s(e.value,{ref:t,...e})},[e,t,s]),Ot(()=>()=>a(e.value),[e.value,a]),null}),du="navigationMenu.rootContentDismiss",eS=g.forwardRef((e,t)=>{const{__scopeNavigationMenu:r,value:s,triggerRef:a,focusProxyRef:l,wasEscapeCloseRef:c,onRootContentClose:d,onContentFocusOutside:m,...f}=e,p=or(no,r),x=g.useRef(null),v=Ze(x,t),b=sS(p.baseId,s),N=iS(p.baseId,s),j=BC(r),C=g.useRef(null),{onItemDismiss:k}=p;g.useEffect(()=>{const T=x.current;if(p.isRootMenu&&T){const P=()=>{k(),d(),T.contains(document.activeElement)&&a.current?.focus()};return T.addEventListener(du,P),()=>T.removeEventListener(du,P)}},[p.isRootMenu,e.value,a,k,d]);const A=g.useMemo(()=>{const P=j().map(ee=>ee.value);p.dir==="rtl"&&P.reverse();const I=P.indexOf(p.value),L=P.indexOf(p.previousValue),$=s===p.value,z=L===P.indexOf(s);if(!$&&!z)return C.current;const Y=(()=>
21{if(I!==L){if($&&L!==-1)return I>L?"from-end":"from-start";if(z&&I!==-1)return I>L?"to-start":"to-end"}return null})();return C.current=Y,Y},[p.previousValue,p.value,p.dir,j,s]);return n.jsx(nS,{asChild:!0,children:n.jsx(Zi,{id:N,"aria-labelledby":b,"data-motion":A,"data-orientation":p.orientation,...f,ref:v,disableOutsidePointerEvents:!1,onDismiss:()=>{const T=new Event(du,{bubbles:!0,cancelable:!0});x.current?.dispatchEvent(T)},onFocusOutside:Se(e.onFocusOutside,T=>{m();const P=T.target;p.rootNavigationMenu?.contains(P)&&T.preventDefault()}),onPointerDownOutside:Se(e.onPointerDownOutside,T=>{const P=T.target,I=j().some($=>$.ref.current?.contains(P)),L=p.isRootMenu&&p.viewport?.contains(P);(I||L||!p.isRootMenu)&&T.preventDefault()}),onKeyDown:Se(e.onKeyDown,T=>{const P=T.altKey||T.ctrlKey||T.metaKey;if(T.key==="Tab"&&!P){const L=rg(T.currentTarget),$=document.activeElement,z=L.findIndex(ge=>ge===$),ee=T.shiftKey?L.slice(0,z).reverse():L.slice(z+1,L.length);Fx(ee)?T.preventDefault():l.current?.focus()}}),onEscapeKeyDown:Se(e.onEscapeKeyDown,T=>{c.current=!0})})})}),Vx="NavigationMenuViewport",tS=g.forwardRef((e,t)=>{const{forceMount:r,...s}=e,l=!!or(Vx,e.__scopeNavigationMenu).value;return n.jsx(sn,{present:r||l,children:n.jsx(I8,{...s,ref:t})})});tS.displayName=Vx;var I8=g.forwardRef((e,t)=>{const{__scopeNavigationMenu:r,children:s,...a}=e,l=or(Vx,r),c=Ze(t,l.onViewportChange),d=C8(no,e.__scopeNavigationMenu),[m,f]=g.useState(null),[p,x]=g.useState(null),v=m?m?.width+"px":void 0,b=m?m?.height+"px":void 0,N=!!l.value,j=N?l.value:l.previousValue;return sg(p,()=>{p&&f({width:p.offsetWidth,height:p.offsetHeight})}),n.jsx(Le.div,{"data-state":$x(N),"data-orientation":l.orientation,...a,ref:c,style:{pointerEvents:!N&&l.isRootMenu?"none":void 0,"--radix-navigation-menu-viewport-width":v,"--radix-navigation-menu-viewport-height":b,...a.style},onPointerEnter:Se(e.onPointerEnter,l.onContentEnter),onPointerLeave:Se(e.onPointerLeave,Iu(l.onContentLeave)),children:Array.from(d.items).map(([k,{ref:A,forceMount:T,...P}])=>{const I=j===k;return n.jsx(sn,{present:T||I,children:n.jsx(eS,{...P,ref:Ag(A,L=>{I&&L&&x(L)})})},k)})})}),P8="FocusGroup",nS=g.forwardRef((e,t)=>{const{__scopeNavigationMenu:r,...s}=e,a=or(P8,r);return n.jsx(tg.Provider,{scope:r,children:n.jsx(tg.Slot,{scope:r,children:n.jsx(Le.div,{dir:a.dir,...s,ref:t})})})}),Sj=["ArrowRight","ArrowLeft","ArrowUp","ArrowDown"],_8="FocusGroupItem",rS=g.forwardRef((e,t)=>{const{__scopeNavigationMenu:r,...s}=e,a=b8(r),l=or(_8,r);return n.jsx(tg.ItemSlot,{scope:r,children:n.jsx(Le.button,{...s,ref:t,onKeyDown:Se(e.onKeyDown,c=>{if(["Home","End",...Sj].includes(c.key)){let m=a().map(x=>x.ref.current);if([l.dir==="rtl"?"ArrowRight":"ArrowLeft","ArrowUp","End"].includes(c.key)&&m.reverse(),Sj.includes(c.key)){const x=m.indexOf(c.currentTarget);m=m.slice(x+1)}setTimeout(()=>Fx(m)),c.preventDefault()}})})})});function rg(e){const t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:s=>{const a=s.tagName==="INPUT"&&s.type==="hidden";return s.disabled||s.hidden||a?NodeFilter.FILTER_SKIP:s.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function Fx(e){const t=document.activeElement;return e.some(r=>r===t?!0:(r.focus(),document.activeElement!==t))}function R8(e){return e.forEach(t=>{t.dataset.tabindex=t.getAttribute("tabindex")||"",t.setAttribute("tabindex","-1")}),()=>{e.forEach(t=>{const r=t.dataset.tabindex;t.setAttribute("tabindex",r)})}}function sg(e,t){const r=ht(t);Ot(()=>{let s=0;if(e){const a=new ResizeObserver(()=>{cancelAnimationFrame(s),s=window.requestAnimationFrame(r)});return a.observe(e),()=>{window.cancelAnimationFrame(s),a.unobserve(e)}}},[e,r])}function $x(e){return e?"open":"closed"}function sS(e,t){return`${e}-trigger-${t}`}function iS(e,t){return`${e}-content-${t}`}function Iu(e){return t=>t.pointerType==="mouse"?e(t):void 0}var aS=zC,oS=qC,M8=YC,lS=ZC,O8=QC,cS=XC,dS=JC,uS=tS;const mS=g.forwardRef(({className:e,children:t,...r},s)=>n.jsxs(aS,{ref:s,className:Ee("relative z-10 flex max-w-max flex-1 items-center justify-center",e),...r,children:[t,n.jsx(gS,{})]}));mS.displayName=aS.displayName;const fS=g.forwardRef(({className:e,...t},r)=>n.jsx(oS,{ref:r,className:Ee("group flex flex-1 list-none items-center justify-center space-x-1",e),...t}));fS.displayName=oS.displayName;const D8=M8,L8=mc("group inline-flex h-10 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium transition-colors hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus:outline-none disabled:pointer-events-none disabled:opacity-50 data-[active]:bg-accent/50 data-[state=open]:bg-accent/50"),hS=g.forwardRef(({className:e,children:t,...r},s)=>n.jsxs(lS,{ref:s,className:Ee(L8(),"group",e),...r,children:[t," ",n.jsx(co,{className:"relative top-[1px] ml-1 h-3 w-3 transition duration-200 group-data-[state=open]:rotate-180","aria-hidden":"true"})]}));hS.displayName=lS.displayName;const pS=g.forwardRef(({className:e,...t},r)=>n.jsx(dS,{ref:r,className:Ee("left-0 top-0 w-full data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 md:absolute md:w-auto ",e),...t}));pS.displayName=dS.displayName;const V8=O8,gS=g.forwardRef(({className:e,...t},r)=>n.jsx("div",{className:Ee("absolute left-0 top-full flex justify-center"),children:n.jsx(uS,{className:Ee("origin-top-center relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 md:w-[var(--radix-navigation-menu-viewport-width)]",e),ref:r,...t})}));gS.displayName=uS.displayName;const F8=g.forwardRef(({className:e,...t},r)=>n.jsx(cS,{ref:r,className:Ee("top-full z-[1] flex h-1.5 items-end justify-center overflow-hidden data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in",e),...t,children:n.jsx("div",{className:"relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md"})}));F8.displayName=cS.displayName;const pm=({className:e="",size:t="small",variant:r="default"})=>{const s={small:"h-8",medium:"h-10",large:"h-12"};return n.jsx(E.div,{className:`flex items-center ${e}`,initial:{opacity:0}
21,animate:{opacity:1},whileHover:{scale:1.03},transition:{duration:.3},children:n.jsx("img",{src:"/assets/983d3759-a645-4110-8c67-bc3d7e5da86a.png",alt:"Calllive.ai",className:`${s[t]} hover:opacity-90 transition-all object-contain`})})},$8=[{name:"Real Estate",href:"/use-cases/real-estate"},{name:"Hospitality",href:"/use-cases/hospitality"},{name:"Healthcare",href:"/use-cases/healthcare"},{name:"Outbound Sales",href:"/use-cases/outbound-sales"}],B8=[{name:"AI Outbound Dialer",href:"/features/ai-outbound-dialer"},{name:"24/7 Call Answering",href:"/features/24-7-call-answering"},{name:"Multilingual Voice Agents",href:"/features/multilingual-voice-agents"}],kj=[{name:"Home",id:"/"},{name:"Features",id:"features",hasDropdown:!0,dropdownItems:B8},{name:"Use Cases",id:"use-cases",hasDropdown:!0,dropdownItems:$8},{name:"Pricing",id:"pricing"},{name:"Demo",id:"demo"},{name:"AI Demo",id:"/demo",isExternal:!0}],gn=({onGetStartedClick:e,onContactClick:t})=>{const[r,s]=g.useState(!1),[a,l]=g.useState(!1),{scrollY:c}=r8(),d=gc();g.useEffect(()=>c.on("change",v=>{v>50?s(!0):s(!1)}),[c]);const m=v=>{if(v==="/")window.location.pathname==="/"?window.scrollTo({top:0,behavior:"smooth"}):d("/");else if(v.startsWith("/"))d(v);else{const b=document.getElementById(v);b&&b.scrollIntoView({behavior:"smooth"})}l(!1)},f=v=>{v.hasDropdown||m(v.id)},p={top:{backgroundColor:"rgba(255, 255, 255, 0)",height:"5.5rem",boxShadow:"none"},scrolled:{backgroundColor:"rgba(255, 255, 255, 0.95)",backdropFilter:"blur(10px)",height:"4.5rem",boxShadow:"0 4px 20px rgba(0, 0, 0, 0.05)"}},x={initial:{opacity:0,y:-10},animate:v=>({opacity:1,y:0,transition:{delay:v*.1+.2,duration:.5}}),hover:{color:"hsl(var(--brand-purple))",scale:1.05}};return n.jsxs(E.header,{className:Ee("fixed top-0 left-0 right-0 z-50 transition-all",r?"border-b border-gray-100":""),initial:"top",animate:r?"scrolled":"top",variants:p,transition:{duration:.3},children:[n.jsxs("div",{className:"container mx-auto px-6 h-full flex items-center justify-between",children:[n.jsx(E.div,{initial:{opacity:0,x:-20},animate:{opacity:1,x:0},transition:{duration:.5},className:"flex items-center",children:n.jsx(Kt,{to:"/",className:"flex items-center",children:n.jsx(pm,{size:r?"medium":"large"})})}),n.jsxs("div",{className:"hidden md:flex items-center gap-3",children:[n.jsx(mS,{children:n.jsx(fS,{children:kj.map((v,b)=>n.jsx(D8,{children:v.hasDropdown?n.jsxs(n.Fragment,{children:[n.jsx(hS,{className:"text-gray-700 font-medium px-3 py-2 hover:text-brand-purple transition-colors bg-transparent",children:v.name}),n.jsx(pS,{className:"bg-white border border-gray-200 shadow-lg rounded-lg p-0 min-w-[240px] z-50",children:n.jsx("div",{className:"p-2",children:v.dropdownItems?.map(N=>n.jsx(Kt,{to:N.href,className:"block px-4 py-3 text-sm text-gray-700 hover:bg-gray-50 hover:text-brand-purple rounded-md transition-colors",children:N.name},N.href))})})]}):n.jsx(E.div,{custom:b,initial:"initial",animate:"animate",whileHover:"hover",variants:x,children:n.jsx(V8,{className:Ee("text-gray-700 font-medium px-3 py-2","hover:text-brand-purple transition-colors relative","after:absolute after:bottom-0 after:left-0 after:w-full after:h-[2px]","after:bg-brand-purple after:origin-bottom-right after:scale-x-0","hover:after:scale-x-100 hover:after:origin-bottom-left after:transition-transform after:duration-300"),onClick:()=>m(v.id),children:v.name})})},v.id))})}),n.jsx("div",{className:"ml-6 flex items-center",children:n.jsx(Ae,{className:"bg-gradient-to-r from-brand-purple to-brand-purple-light hover:from-brand-purple/90 hover:to-brand-purple-light/90 px-5 font-medium shadow-button hover:shadow-button-hover transition-all",onClick:e,children:"Get Started"})})]}),n.jsx("div",{className:"md:hidden",children:n.jsx(Ae,{variant:"ghost",size:"icon",onClick:()=>l(!a),"aria-label":"Toggle menu",className:"text-gray-700",children:a?n.jsx(uo,{className:"h-5 w-5"}):n.jsx(n4,{className:"h-5 w-5"})})})]}),n.jsx(li,{children:a&&n.jsx(E.div,{className:"fixed inset-0 top-[65px] bg-white/95 backdrop-blur-xl z-40 md:hidden overflow-hidden",initial:{opacity:0,height:0}
21,animate:{opacity:1,height:"100vh"},exit:{opacity:0,height:0},transition:{duration:.3},children:n.jsxs("div",{className:"container mx-auto px-6 py-8 flex flex-col gap-4",children:[kj.map((v,b)=>n.jsx("div",{children:v.hasDropdown?n.jsxs(n.Fragment,{children:[n.jsx(E.div,{className:"text-left text-lg font-medium py-3 text-gray-800 border-b border-gray-100",initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:b*.1,duration:.3},children:v.name}),n.jsx("div",{className:"ml-4 space-y-2 mb-4",children:v.dropdownItems?.map((N,j)=>n.jsx(E.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:b*.1+j*.05+.1,duration:.3},children:n.jsx(Kt,{to:N.href,className:"block text-base font-medium py-2 text-gray-600 hover:text-brand-purple transition-colors",onClick:()=>l(!1),children:N.name})},N.href))})]}):n.jsx(E.button,{className:"text-left text-lg font-medium py-4 border-b border-gray-100 hover:text-brand-purple transition-colors",onClick:()=>f(v),initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:b*.1,duration:.3},children:v.name})},v.id)),n.jsx("div",{className:"mt-6",children:n.jsx(Ae,{className:"w-full py-6 bg-gradient-to-r from-brand-purple to-brand-purple-light hover:from-brand-purple/90 hover:to-brand-purple-light/90",onClick:e,children:"Get Started"})})]})})})]})},xn=({onContactClick:e})=>{const t={hidden:{opacity:0},visible:{opacity:1,transition:{staggerChildren:.1,delayChildren:.1}}},r={hidden:{opacity:0,y:20},visible:{opacity:1,y:0}},s=[{name:"twitter",icon:n.jsx(y4,{size:18}),href:"https://x.com/CallLiveAI"},{name:"linkedin",icon:n.jsx(JP,{size:18}),href:"https://www.linkedin.com/company/calllive-ai/"},{name:"facebook",icon:n.jsx(qP,{size:18}),href:"https://www.facebook.com/people/CallLiveai/61580148130053/"},{name:"instagram",icon:n.jsx(XP,{size:18}),href:"https://www.instagram.com/calllive.ai?igsh=MTZpaHcydnY3MjF2OQ=="}],a=[{title:"Product",links:["Features","Use Cases","Pricing","Demo"]},{title:"Company",links:["About Us","Careers","Blog","Contact"]},{title:"Resources",links:["Documentation","FAQ","Support","Privacy Policy"]}];return n.jsxs(E.footer,{className:"bg-gradient-to-b from-white via-gray-50 to-indigo-50/30 border-t border-gray-100 relative overflow-hidden",initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-100px"},variants:t,children:[n.jsx("div",{className:"absolute inset-0 opacity-5 pointer-events-none",children:n.jsx("div",{className:"absolute inset-0",style:{backgroundImage:"radial-gradient(circle at 20px 20px, rgba(99, 102, 241, 0.4) 1px, transparent 0)",backgroundSize:"40px 40px"}})}),n.jsxs("div",{className:"container mx-auto px-6 pt-24 pb-12",children:[n.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-12 gap-12 mb-12",children:[n.jsxs(E.div,{className:"md:col-span-4",variants:r,children:[n.jsx(pm,{className:"mb-6",size:"large"}),n.jsx("p",{className:"text-gray-600 text-lg mb-6 leading-relaxed max-w-md",children:"Transforming customer service with AI-powered voice technology that delivers human-like conversations for businesses worldwide."}),n.jsx("div",{className:"flex space-x-4 mb-8",children:s.map(l=>n.jsxs(E.a,{href:l.href,target:l.href.startsWith("http")?"_blank":"_self",rel:l.href.startsWith("http")?"noopener noreferrer":void 0,className:"w-10 h-10 flex items-center justify-center rounded-full bg-white text-indigo-600 border border-indigo-100 shadow-sm hover:bg-indigo-50 hover:shadow-md transition-all",whileHover:{y:-2,scale:1.1},whileTap:{scale:.95},children:[n.jsx("span",{className:"sr-only",children:l.name}),l.icon]},l.name))})]}),a.map((l,c)=>n.jsxs(E.div,{className:"md:col-span-2",variants:r,children:[n.jsx("h3",{className:"text-gray-900 font-heading font-bold text-lg mb-5 tracking-wide",children:l.title}),n.jsx("ul",{className:"space-y-4",children:l.links.map(d=>n.jsx(E.li,{whileHover:{x:2},transition:{type:"spring",stiffness:400},children:d==="Blog"?n.jsxs(Kt,{to:"/blog",className:"text-gray-600 hover:text-indigo-600 transition-colors flex items-center group",children:[d,n.jsx(E.span,{initial:{opacity:0,x:-5},whileHover:{opacity:1,x:0},transition:{duration:.2},className:"inline-block ml-1 opacity-0 group-hover:opacity-100",children:n.jsx(vb,{size:14})})]}):n.jsxs("a",{href:`#${d.toLowerCase().replace(/\s+/g,"-")}`,className:"text-gray-600 hover:text-indigo-600 transition-colors flex items-center group",children:[d,n.jsx(E.span,{initial:{opacity:0,x:-5},whileHover:{opacity:1,x:0},transition:{duration:.2},className:"inline-block ml-1 opacity-0 group-hover:opacity-100",children:n.jsx(vb,{size:14})})]})},d))})]},c))]}),n.jsxs(E.div,{className:"pt-8 flex flex-col md:flex-row md:items-center justify-between text-sm text-gray-500",variants:r,children:[n.jsxs("div",{className:"flex items-center",children:[n.jsx("p",{children:"© 2025 CallLive.ai. All rights reserved."}),n.jsxs("span",{className:"ml-2 flex items-center text-xs",children:["Made with ",n.jsx(Qu,{className:"h-3 w-3 text-red-500 mx-1"})," in India"]})]}),n.jsxs("div",{className:"flex space-x-8 mt-4 md:mt-0",children:[n.jsx(Kt,{to:"/terms",className:"hover:text-indigo-600 transition-colors",children:"Terms"}),n.jsx(Kt,{to:"/privacy-policy",className:"hover:text-indigo-600 transition-colors",children:"Privacy"}),n.jsx(Kt,{to:"/cookies",className:"hover:text-indigo-600 transition-colors",children:"Cookies"})]})]})]})]})};var wc=e=>e.type==="checkbox",Vi=e=>e instanceof Date,wn=e=>e==null;const xS=e=>typeof e=="object";var Mt=e=>!wn(e)&&!Array.isArray(e)&&xS(e)&&!Vi(e),vS=e=>Mt(e)&&e.target?wc(e.target)?e.target.checked:e.target.value:e,z8=e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e,yS=(e,t)=>e.has(z8(t)),H8=e=>{const t=e.constructor&&e.constructor.prototype;return Mt(t)&&t.hasOwnProperty("isPrototypeOf")},Bx=typeof window<"u"&&typeof window.HTMLElement<"u"&&typeof document<"u";function Mn(e){let t;const r=Array.isArray(e);if(e instanceof Date)t=new Date(e);else if(e instanceof Set)t=new Set(e);else if(!(Bx&&(e instanceof Blob||e instanceof FileList))&&(r||Mt(e)))if(t=r?[]:{},!r&&!H8(e))t=e;else for(const s in e)e.hasOwnProperty(s)&&(t[s]=Mn(e[s]));else return e;return t}var gm=e=>Array.isArray(e)?e.filter(Boolean):[],Et=e=>e===void 0,ye=(e,t,r)=>{if(!t||!Mt(e))return r;const s=gm(t.split(/[,[\].]+?/)).reduce((a,l)=>wn(a)?a:a[l],e);return Et(s)||s===e?Et(e[t])?r:e[t]:s},ir=e=>typeof e=="boolean",zx=e=>/^\w*$/.test(e),bS=e=>gm(e.replace(/["|']|\]/g,"").split(/\.|\[/)),st=(e,t,r)=>{let s=-1;const a=zx(t)?[t]:bS(t),l=a.length,c=l-1;for(;++s<l;){const d=a[s];let m=r;if(s!==c){const f=e[d];m=Mt(f)||Array.isArray(f)?f:isNaN(+a[s+1])?{}:[]}if(d==="__proto__")return;e[d]=m,e=e[d]}return e};const Pu={BLUR:"blur",FOCUS_OUT:"focusout",CHANGE:"change"},Nr={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},cs={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"},wS=G.createContext(null),xm=()=>G.useContext(wS),U8=e=>{const{children:t,...r}=e;return G.createElement(wS.Provider,{value:r},t)};var jS=(e,t,r,s=!0)=>{const a={defaultValues:t._defaultValues};for(const l in e)Object.defineProperty(a,l,{get:()=>{const c=l;return t._proxyFormState[c]!==Nr.all&&(t._proxyFormState[c]=!s||Nr.all),r&&(r[c]=!0),e[c]}});return a},On=e=>Mt(e)&&!Object.keys(e).length,NS=(e,t,r,s)=>{r(e);const{name:a,...l}=e;return On(l)||Object.keys(l).length>=Object.keys(t).length||Object.keys(l).find(c=>t[c]===(!s||Nr.all))},Al=e=>Array.isArray(e)?e:[e],CS=(e,t,r)=>!e||!t||e===t||Al(e).some(s=>s&&(r?s===t:s.startsWith(t)||t.startsWith(s)));function Hx(e){const t=G.useRef(e);t.current=e,G.useEffect(()=>{const r=!e.disabled&&t.current.subject&&t.current.subject.subscribe({next:t.current.next});return()=>{r&&r.unsubscribe()}},[e.disabled])}function W8(e){const t=xm(),{control:r=t.control,disabled:s,name:a,exact:l}=e||{},[c,d]=G.useState(r._formState),m=G.useRef(!0),f=G.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1}),p=G.useRef(a);return p.current=a,Hx({disabled:s,next:x=>m.current&&CS(p.current,x.name,l)&&NS(x,f.current,r._updateFormState)&&d({...r._formState,...x}),subject:r._subjects.state}),G.useEffect(()=>
vendor: 39,037 bytes, line 21
21(m.current=!0,f.current.isValid&&r._updateValid(!0),()=>{m.current=!1}),[r]),jS(c,r,f.current,!1)}var Br=e=>typeof e=="string",SS=(e,t,r,s,a)=>Br(e)?(s&&t.watch.add(e),ye(r,e,a)):Array.isArray(e)?e.map(l=>(s&&t.watch.add(l),ye(r,l))):(s&&(t.watchAll=!0),r);function q8(e){const t=xm(),{control:r=t.control,name:s,defaultValue:a,disabled:l,exact:c}=e||{},d=G.useRef(s);d.current=s,Hx({disabled:l,subject:r._subjects.values,next:p=>{CS(d.current,p.name,c)&&f(Mn(SS(d.current,r._names,p.values||r._formValues,!1,a)))}});const[m,f]=G.useState(r._getWatch(s,a));return G.useEffect(()=>r._removeUnmounted()),m}function K8(e){const t=xm(),{name:r,disabled:s,control:a=t.control,shouldUnregister:l}=e,c=yS(a._names.array,r),d=q8({control:a,name:r,defaultValue:ye(a._formValues,r,ye(a._defaultValues,r,e.defaultValue)),exact:!0}),m=W8({control:a,name:r,exact:!0}),f=G.useRef(a.register(r,{...e.rules,value:d,...ir(e.disabled)?{disabled:e.disabled}:{}}));return G.useEffect(()=>{const p=a._options.shouldUnregister||l,x=(v,b)=>{const N=ye(a._fields,v);N&&N._f&&(N._f.mount=b)};if(x(r,!0),p){const v=Mn(ye(a._options.defaultValues,r));st(a._defaultValues,r,v),Et(ye(a._formValues,r))&&st(a._formValues,r,v)}return()=>{(c?p&&!a._state.action:p)?a.unregister(r):x(r,!1)}},[r,a,c,l]),G.useEffect(()=>{ye(a._fields,r)&&a._updateDisabledField({disabled:s,fields:a._fields,name:r,value:ye(a._fields,r)._f.value})},[s,r,a]),{field:{name:r,value:d,...ir(s)||m.disabled?{disabled:m.disabled||s}:{},onChange:G.useCallback(p=>f.current.onChange({target:{value:vS(p),name:r},type:Pu.CHANGE}),[r]),onBlur:G.useCallback(()=>f.current.onBlur({target:{value:ye(a._formValues,r),name:r},type:Pu.BLUR}),[r,a]),ref:G.useCallback(p=>{const x=ye(a._fields,r);x&&p&&(x._f.ref={focus:()=>p.focus(),select:()=>p.select(),setCustomValidity:v=>p.setCustomValidity(v),reportValidity:()=>p.reportValidity()})},[a._fields,r])},formState:m,fieldState:Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!ye(m.errors,r)},isDirty:{enumerable:!0,get:()=>!!ye(m.dirtyFields,r)},isTouched:{enumerable:!0,get:()=>!!ye(m.touchedFields,r)},isValidating:{enumerable:!0,get:()=>!!ye(m.validatingFields,r)},error:{enumerable:!0,get:()=>ye(m.errors,r)}})}}const G8=e=>e.render(K8(e));var kS=(e,t,r,s,a)=>t?{...r[e],types:{...r[e]&&r[e].types?r[e].types:{},[s]:a||!0}}:{},Aj=e=>({isOnSubmit:!e||e===Nr.onSubmit,isOnBlur:e===Nr.onBlur,isOnChange:e===Nr.onChange,isOnAll:e===Nr.all,isOnTouch:e===Nr.onTouched}),Ej=(e,t,r)=>!r&&(t.watchAll||t.watch.has(e)||[...t.watch].some(s=>e.startsWith(s)&&/^\.\w+/.test(e.slice(s.length))));const El=(e,t,r,s)=>{for(const a of r||Object.keys(e)){const l=ye(e,a);if(l){const{_f:c,...d}=l;if(c){if(c.refs&&c.refs[0]&&t(c.refs[0],a)&&!s)return!0;if(c.ref&&t(c.ref,c.name)&&!s)return!0;if(El(d,t))break}else if(Mt(d)&&El(d,t))break}}};var Y8=(e,t,r)=>{const s=Al(ye(e,r));return st(s,"root",t[r]),st(e,r,s),e},Ux=e=>e.type==="file",ps=e=>typeof e=="function",_u=e=>{if(!Bx)return!1;const t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},uu=e=>Br(e),Wx=e=>e.type==="radio",Ru=e=>e instanceof RegExp;const Tj={value:!1,isValid:!1},Ij={value:!0,isValid:!0};var AS=e=>{if(Array.isArray(e)){if(e.length>1){const t=e.filter(r=>r&&r.checked&&!r.disabled).map(r=>r.value);return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!Et(e[0].attributes.value)?Et(e[0].value)||e[0].value===""?Ij:{value:e[0].value,isValid:!0}:Ij:Tj}return Tj};const Pj={isValid:!1,value:null};var ES=e=>Array.isArray(e)?e.reduce((t,r)=>r&&r.checked&&!r.disabled?{isValid:!0,value:r.value}:t,Pj):Pj;function _j(e,t,r="validate"){if(uu(e)||Array.isArray(e)&&e.every(uu)||ir(e)&&!e)return{type:r,message:uu(e)?e:"",ref:t}}var ka=e=>Mt(e)&&!Ru(e)?e:{value:e,message:""},Rj=async(e,t,r,s,a)=>{const{ref:l,refs:c,required:d,maxLength:m,minLength:f,min:p,max:x,pattern:v,validate:b,name:N,valueAsNumber:j,mount:C,disabled:k}=e._f,A=ye(t,N);if(!C||k)return{};const T=c?c[0]:l,P=Q=>{s&&T.reportValidity&&(T.setCustomValidity(ir(Q)?"":Q||""),T.reportValidity())},I={},L=Wx(l),$=wc(l),z=L||$,Y=(j||Ux(l))&&Et(l.value)&&Et(A)||_u(l)&&l.value===""||A===""||Array.isArray(A)&&!A.length,ee=kS.bind(null,N,r,I),ge=(Q,de,J,be=cs.maxLength,me=cs.minLength)=>{const W=Q?de:J;I[N]={type:Q?be:me,message:W,ref:l,...ee(Q?be:me,W)}};if(a?!Array.isArray(A)||!A.length:d&&(!z&&(Y||wn(A))||ir(A)&&!A||$&&!AS(c).isValid||L&&!ES(c).isValid)){const{value:Q,message:de}=uu(d)?{value:!!d,message:d}:ka(d);if(Q&&(I[N]={type:cs.required,message:de,ref:T,...ee(cs.required,de)},!r))return P(de),I}if(!Y&&(!wn(p)||!wn(x))){let Q,de;const J=ka(x),be=ka(p);if(!wn(A)&&!isNaN(A)){const me=l.valueAsNumber||A&&+A;wn(J.value)||(Q=me>J.value),wn(be.value)||(de=me<be.value)}else{const me=l.valueAsDate||new Date(A),W=re=>new Date(new Date().toDateString()+" "+re),F=l.type=="time",Z=l.type=="week";Br(J.value)&&A&&(Q=F?W(A)>W(J.value):Z?A>J.value:me>new Date(J.value)),Br(be.value)&&A&&(de=F?W(A)<W(be.value):Z?A<be.value:me<new Date(be.value))}if((Q||de)&&(ge(!!Q,J.message,be.message,cs.max,cs.min),!r))return P(I[N].message),I}if((m||f)&&!Y&&(Br(A)||a&&Array.isArray(A))){const Q=ka(m),de=ka(f),J=!wn(Q.value)&&A.length>+Q.value,be=!wn(de.value)&&A.length<+de.value;if((J||be)&&(ge(J,Q.message,de.message),!r))return P(I[N].message),I}if(v&&!Y&&Br(A)){const{value:Q,message:de}=ka(v);if(Ru(Q)&&!A.match(Q)&&(I[N]={type:cs.pattern,message:de,ref:l,...ee(cs.pattern,de)},!r))return P(de),I}if(b){if(ps(b)){const Q=await b(A,t),de=_j(Q,T);if(de&&(I[N]={...de,...ee(cs.validate,de.message)},!r))return P(de.message),I}else if(Mt(b)){let Q={};for(const de in b){if(!On(Q)&&!r)break;const J=_j(await b[de](A,t),T,de);J&&(Q={...J,...ee(de,J.message)},P(J.message),r&&(I[N]=Q))}if(!On(Q)&&(I[N]={ref:T,...Q},!r))return I}}return P(!0),I};function Z8(e,t){const r=t.slice(0,-1).length;let s=0;for(;s<r;)e=Et(e)?s++:e[t[s++]];return e}function Q8(e){for(const t in e)if(e.hasOwnProperty(t)&&!Et(e[t]))return!1;return!0}function $t(e,t){const r=Array.isArray(t)?t:zx(t)?[t]:bS(t),s=r.length===1?e:Z8(e,r),a=r.length-1,l=r[a];return s&&delete s[l],a!==0&&(Mt(s)&&On(s)||Array.isArray(s)&&Q8(s))&&$t(e,r.slice(0,-1)),e}var Xh=()=>{let e=[];return{get observers(){return e},next:a=>{for(const l of e)l.next&&l.next(a)},subscribe:a=>(e.push(a),{unsubscribe:()=>{e=e.filter(l=>l!==a)}}),unsubscribe:()=>{e=[]}}},ig=e=>wn(e)||!xS(e);function Js(e,t){if(ig(e)||ig(t))return e===t;if(Vi(e)&&Vi(t))return e.getTime()===t.getTime();const r=Object.keys(e),s=Object.keys(t);if(r.length!==s.length)return!1;for(const a of r){const l=e[a];if(!s.includes(a))return!1;if(a!=="ref"){const c=t[a];if(Vi(l)&&Vi(c)||Mt(l)&&Mt(c)||Array.isArray(l)&&Array.isArray(c)?!Js(l,c):l!==c)return!1}}return!0}var TS=e=>e.type==="select-multiple",X8=e=>Wx(e)||wc(e),Jh=e=>_u(e)&&e.isConnected,IS=e=>{for(const t in e)if(ps(e[t]))return!0;return!1};function Mu(e,t={}){const r=Array.isArray(e);if(Mt(e)||r)for(const s in e)Array.isArray(e[s])||Mt(e[s])&&!IS(e[s])?(t[s]=Array.isArray(e[s])?[]:{},Mu(e[s],t[s])):wn(e[s])||(t[s]=!0);return t}function PS(e,t,r){const s=Array.isArray(e);if(Mt(e)||s)for(const a in e)Array.isArray(e[a])||Mt(e[a])&&!IS(e[a])?Et(t)||ig(r[a])?r[a]=Array.isArray(e[a])?Mu(e[a],[]):{...Mu(e[a])}:PS(e[a],wn(t)?{}:t[a],r[a]):r[a]=!Js(e[a],t[a]);return r}var ml=(e,t)=>PS(e,t,Mu(t)),_S=(e,{valueAsNumber:t,valueAsDate:r,setValueAs:s})=>Et(e)?e:t?e===""?NaN:e&&+e:r&&Br(e)?new Date(e):s?s(e):e;function ep(e){const t=e.ref;if(!(e.refs?e.refs.every(r=>r.disabled):t.disabled))return Ux(t)?t.files:Wx(t)?ES(e.refs).value:TS(t)?[...t.selectedOptions].map(({value:r})=>r):wc(t)?AS(e.refs).value:_S(Et(t.value)?e.ref.value:t.value,e)}var J8=(e,t,r,s)=>{const a={};for(const l of e){const c=ye(t,l);c&&st(a,l,c._f)}return{criteriaMode:r,names:[...e],fields:a,shouldUseNativeValidation:s}},fl=e=>Et(e)?e:Ru(e)?e.source:Mt(e)?Ru(e.value)?e.value.source:e.value:e;const Mj="AsyncFunction";var eV=e=>(!e||!e.validate)&&!!(ps(e.validate)&&e.validate.constructor.name===Mj||Mt(e.validate)&&Object.values(e.validate).find(t=>t.constructor.name===Mj)),tV=e=>e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate);function Oj(e,t,r){const s=ye(e,r);if(s||zx(r))return{error:s,name:r};const a=r.split(".");for(;a.length;){const l=a.join("."),c=ye(t,l),d=ye(e,l);if(c&&!Array.isArray(c)&&r!==l)return{name:r};if(d&&d.type)return{name:l,error:d};a.pop()}return{name:r}}var nV=(e,t,r,s,a)=>a.isOnAll?!1:!r&&a.isOnTouch?!(t||e):(r?s.isOnBlur:a.isOnBlur)?!e:(r?s.isOnChange:a.isOnChange)?e:!0,rV=(e,t)=>!gm(ye(e,t)).length&&$t(e,t);const sV={mode:Nr.onSubmit,reValidateMode:Nr.onChange,shouldFocusError:!0};function iV(e={}){let t={...sV,...e},r={submitCount:0,isDirty:!1,isLoading:ps(t.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:t.errors||{},disabled:t.disabled||!1},s={},a=Mt(t.defaultValues)||Mt(t.values)?Mn(t.defaultValues||t.values)||{}:{},l=t.shouldUnregister?{}:Mn(a),c={action:!1,mount:!1,watch:!1},d={mount:new Set,unMount:new Set,array:new Set,watch:new Set},m,f=0;const p={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},x={values:Xh(),array:Xh(),state:Xh()},v=Aj(t.mode),b=Aj(t.reValidateMode),N=t.criteriaMode===Nr.all,j=O=>H=>{clearTimeout(f),f=setTimeout(O,H)},C=async O=>{if(!e.disabled&&(p.isValid||O)){const H=t.resolver?On((await z()).errors):await ee(s,!0);H!==r.isValid&&x.state.next({isValid:H})}},k=(O,H)=>{!e.disabled&&(p.isValidating||p.validatingFields)&&((O||Array.from(d.mount)).forEach(K=>{K&&(H?st(r.validatingFields,K,H):$t(r.validatingFields,K))}),x.state.next({validatingFields:r.validatingFields,isValidating:!On(r.validatingFields)}))},A=(O,H=[],K,we,xe=!0,ue=!0)=>{if(we&&K&&!e.disabled){if(c.action=!0,ue&&Array.isArray(ye(s,O))){const De=K(ye(s,O),we.argA,we.argB);xe&&st(s,O,De)}if(ue&&Array.isArray(ye(r.errors,O))){const De=K(ye(r.errors,O),we.argA,we.argB);xe&&st(r.errors,O,De),rV(r.errors,O)}if(p.touchedFields&&ue&&Array.isArray(ye(r.touchedFields,O))){const De=K(ye(r.touchedFields,O),we.argA,we.argB);xe&&st(r.touchedFields,O,De)}p.dirtyFields&&(r.dirtyFields=ml(a,l)),x.state.next({name:O,isDirty:Q(O,H),dirtyFields:r.dirtyFields,errors:r.errors,isValid:r.isValid})}else st(l,O,H)},T=(O,H)=>{st(r.errors,O,H),x.state.next({errors:r.errors})},P=O=>{r.errors=O,x.state.next({errors:r.errors,isValid:!1})},I=(O,H,K,we)=>{const xe=ye(s,O);if(xe){const ue=ye(l,O,Et(K)?ye(a,O):K);Et(ue)||we&&we.defaultChecked||H?st(l,O,H?ue:ep(xe._f)):be(O,ue),c.mount&&C()}},L=(O,H,K,we,xe)=>{let ue=!1,De=!1;const qe={name:O};if(!e.disabled){const gt=!!(ye(s,O)&&ye(s,O)._f&&ye(s,O)._f.disabled);if(!K||we){p.isDirty&&(De=r.isDirty,r.isDirty=qe.isDirty=Q(),ue=De!==qe.isDirty);const ot=gt||Js(ye(a,O),H);De=!!(!gt&&ye(r.dirtyFields,O)),ot||gt?$t(r.dirtyFields,O):st(r.dirtyFields,O,!0),qe.dirtyFields=r.dirtyFields,ue=ue||p.dirtyFields&&De!==!ot}if(K){const ot=ye(r.touchedFields,O);ot||(st(r.touchedFields,O,K),qe.touchedFields=r.touchedFields,ue=ue||p.touchedFields&&ot!==K)}ue&&xe&&x.state.next(qe)}return ue?qe:{}},$=(O,H,K,we)=>{const xe=ye(r.errors,O),ue=p.isValid&&ir(H)&&r.isValid!==H;if(e.delayError&&K?(m=j(()=>T(O,K)),m(e.delayError)):(clearTimeout(f),m=null,K?st(r.errors,O,K):$t(r.errors,O)),(K?!Js(xe,K):xe)||!On(we)||ue){const De={...we,...ue&&ir(H)?{isValid:H}:{},errors:r.errors,name:O};r={...r,...De},x.state.next(De)}},z=async O=>{k(O,!0);const H=await t.resolver(l,t.context,J8(O||d.mount,s,t.criteriaMode,t.shouldUseNativeValidation));return k(O),H},Y=async O=>{const{errors:H}=await z(O);if(O)for(const K of O){const we=ye(H,K);we?st(r.errors,K,we):$t(r.errors,K)}else r.errors=H;return H},ee=async(O,H,K={valid:!0})=>{for(const we in O){const xe=O[we];if(xe){const{_f:ue,...De}=xe;if(ue){const qe=d.array.has(ue.name),gt=xe._f&&eV(xe._f);gt&&p.validatingFields&&k([we],!0);const ot=await Rj(xe,l,N,t.shouldUseNativeValidation&&!H,qe);if(gt&&p.validatingFields&&k([we]),ot[ue.name]&&(K.valid=!1,H))break;!H&&(ye(ot,ue.name)?qe?Y8(r.errors,ot,ue.name):st(r.errors,ue.name,ot[ue.name]):$t(r.errors,ue.name))}!On(De)&&await ee(De,H,K)}}return K.valid},ge=()=>{for(const O of d.unMount){const H=ye(s,O);H&&(H._f.refs?H._f.refs.every(K=>!Jh(K)):!Jh(H._f.ref))&&he(O)}d.unMount=new Set},Q=(O,H)=>!e.disabled&&(O&&H&&st(l,O,H),!Js(M(),a)),de=(O,H,K)=>SS(O,d,{...c.mount?l:Et(H)?a:Br(O)?{[O]:H}:H},K,H),J=O=>gm(ye(c.mount?l:a,O,e.shouldUnregister?ye(a,O,[]):[])),be=(O,H,K={})=>{const we=ye(s,O);let xe=H;if(we){const ue=we._f;ue&&(!ue.disabled&&st(l,O,_S(H,ue)),xe=_u(ue.ref)&&wn(H)?"":H,TS(ue.ref)?[...ue.ref.options].forEach(De=>De.selected=xe.includes(De.value)):ue.refs?wc(ue.ref)?ue.refs.length>1?ue.refs.forEach(De=>(!De.defaultChecked||!De.disabled)&&(De.checked=Array.isArray(xe)?!!xe.find(qe=>qe===De.value):xe===De.value)):ue.refs[0]&&(ue.refs[0].checked=!!xe):ue.refs.forEach(De=>De.checked=De.value===xe):Ux(ue.ref)?ue.ref.value="":(ue.ref.value=xe,ue.ref.type||x.values.next({name:O,values:{...l}})))}(K.shouldDirty||K.shouldTouch)&&L(O,xe,K.shouldTouch,K.shouldDirty,!0),K.shouldValidate&&re(O)},me=(O,H,K)=>{for(const we in H){const xe=H[we],ue=`${O}.${we}`,De=ye(s,ue);(d.array.has(O)||Mt(xe)||De&&!De._f)&&!Vi(xe)?me(ue,xe,K):be(ue,xe,K)}},W=(O,H,K={})=>{const we=ye(s,O),xe=d.array.has(O),ue=Mn(H);st(l,O,ue),xe?(x.array.next({name:O,values:{...l}}),(p.isDirty||p.dirtyFields)&&K.shouldDirty&&x.state.next({name:O,dirtyFields:ml(a,l),isDirty:Q(O,ue)})):we&&!we._f&&!wn(ue)?me(O,ue,K):be(O,ue,K),Ej(O,d)&&x.state.next({...r}),x.values.next({name:c.mount?O:void 0,values:{...l}})},F=async O=>{c.mount=!0;const H=O.target;let K=H.name,we=!0;const xe=ye(s,K),ue=()=>H.type?ep(xe._f):vS(O),De=qe=>{we=Number.isNaN(qe)||Vi(qe)&&isNaN(qe.getTime())||Js(qe,ye(l,K,qe))};if(xe){let qe,gt;const ot=ue(),vn=O.type===Pu.BLUR||O.type===Pu.FOCUS_OUT,dr=!tV(xe._f)&&!t.resolver&&!ye(r.errors,K)&&!xe._f.deps||nV(vn,ye(r.touchedFields,K),r.isSubmitted,b,v),Gn=Ej(K,d,vn);st(l,K,ot),vn?(xe._f.onBlur&&xe._f.onBlur(O),m&&m(0)):xe._f.onChange&&xe._f.onChange(O);const ur=L(K,ot,vn,!1),ta=!On(ur)||Gn;if(!vn&&x.values.next({name:K,type:O.type,values:{...l}}),dr)return p.isValid&&(e.mode==="onBlur"?vn&&C():C()),ta&&x.state.next({name:K,...Gn?{}:ur});if(!vn&&Gn&&x.state.next({...r}),t.resolver){const{errors:Ss}=await z([K]);if(De(ot),we){const na=Oj(r.errors,s,K),ks=Oj(Ss,s,na.name||K);qe=ks.error,K=ks.name,gt=On(Ss)}}else k([K],!0),qe=(await Rj(xe,l,N,t.shouldUseNativeValidation))[K],k([K]),De(ot),we&&(qe?gt=!1:p.isValid&&(gt=await ee(s,!0)));we&&(xe._f.deps&&re(xe._f.deps),$(K,gt,qe,ur))}},Z=(O,H)=>{if(ye(r.errors,H)&&O.focus)return O.focus(),1},re=async(O,H={})=>{let K,we;const xe=Al(O);if(t.resolver){const ue=await Y(Et(O)?O:xe);K=On(ue),we=O?!xe.some(De=>ye(ue,De)):K}else O?(we=(await Promise.all(xe.map(async ue=>{const De=ye(s,ue);return await ee(De&&De._f?{[ue]:De}:De)}))).every(Boolean),!(!we&&!r.isValid)&&C()):we=K=await ee(s);return x.state.next({...!Br(O)||p.isValid&&K!==r.isValid?{}:{name:O},...t.resolver||!O?{isValid:K}:{},errors:r.errors}),H.shouldFocus&&!we&&El(s,Z,O?xe:d.mount),we},M=O=>{const H={...c.mount?l:a};return Et(O)?H:Br(O)?ye(H,O):O.map(K=>ye(H,K))},R=(O,H)=>({invalid:!!ye((H||r).errors,O),isDirty:!!ye((H||r).dirtyFields,O),error:ye((H||r).errors,O),isValidating:!!ye(r.validatingFields,O),isTouched:!!ye((H||r).touchedFields,O)}),X=O=>{O&&Al(O).forEach(H=>$t(r.errors,H)),x.state.next({errors:O?r.errors:{}})},le=(O,H,K)=>{const we=(ye(s,O,{_f:{}})._f||{}).ref,xe=ye(r.errors,O)||{},{ref:ue,message:De,type:qe,...gt}=xe;st(r.errors,O,{...gt,...H,ref:we}),x.state.next({name:O,errors:r.errors,isValid:!1}),K&&K.shouldFocus&&we&&we.focus&&we.focus()},oe=(O,H)=>ps(O)?x.values.subscribe({next:K=>O(de(void 0,H),K)}):de(O,H,!0),he=(O,H={})=>{for(const K of O?Al(O):d.mount)d.mount.delete(K),d.array.delete(K),H.keepValue||($t(s,K),$t(l,K)),!H.keepError&&$t(r.errors,K),!H.keepDirty&&$t(r.dirtyFields,K),!H.keepTouched&&$t(r.touchedFields,K),!H.keepIsValidating&&$t(r.validatingFields,K),!t.shouldUnregister&&!H.keepDefaultValue&&$t(a,K);x.values.next({values:{...l}}),x.state.next({...r,...H.keepDirty?{isDirty:Q()}:{}}),!H.keepIsValid&&C()},ie=({disabled:O,name:H,field:K,fields:we,value:xe})=>{if(ir(O)&&c.mount||O){const ue=O?void 0:Et(xe)?ep(K?K._f:ye(we,H)._f):xe;st(l,H,ue),L(H,ue,!1,!1,!0)}},je=(O,H={})=>{let K=ye(s,O);const we=ir(H.disabled)||ir(e.disabled);return st(s,O,{...K||{},_f:{...K&&K._f?K._f:{ref:{name:O}},name:O,mount:!0,...H}}),d.mount.add(O),K?ie({field:K,disabled:ir(H.disabled)?H.disabled:e.disabled,name:O,value:H.value}):I(O,!0,H.value),{...we?{disabled:H.disabled||e.disabled}:{},...t.progressive?{required:!!H.required,min:fl(H.min),max:fl(H.max),minLength:fl(H.minLength),maxLength:fl(H.maxLength),pattern:fl(H.pattern)}:{},name:O,onChange:F,onBlur:F,ref:xe=>{if(xe){je(O,H),K=ye(s,O);const ue=Et(xe.value)&&xe.querySelectorAll&&xe.querySelectorAll("input,select,textarea")[0]||xe,De=X8(ue),qe=K._f.refs||[];if(De?qe.find(gt=>gt===ue):ue===K._f.ref)return;st(s,O,{_f:{...K._f,...De?{refs:[...qe.filter(Jh),ue,...Array.isArray(ye(a,O))?[{}]:[]],ref:{type:ue.type,name:O}}:{ref:ue}}}),I(O,!1,void 0,ue)}else K=ye(s,O,{}),K._f&&(K._f.mount=!1),(t.shouldUnregister||H.shouldUnregister)&&!(yS(d.array,O)&&c.action)&&d.unMount.add(O)}}},Me=()=>t.shouldFocusError&&El(s,Z,d.mount),Ve=O=>{ir(O)&&(x.state.next({disabled:O}),El(s,(H,K)=>{const we=ye(s,K);we&&(H.disabled=we._f.disabled||O,Array.isArray(we._f.refs)&&we._f.refs.forEach(xe=>{xe.disabled=we._f.disabled||O}))},0,!1))},Xe=(O,H)=>async K=>{let we;K&&(K.preventDefault&&K.preventDefault(),K.persist&&K.persist());let xe=Mn(l);if(x.state.next({isSubmitting:!0}),t.resolver){const{errors:ue,values:De}=await z();r.errors=ue,xe=De}else await ee(s);if($t(r.errors,"root"),On(r.errors)){x.state.next({errors:{}});try{await O(xe,K)}catch(ue){we=ue}}else H&&await H({...r.errors},K),Me(),setTimeout(Me);if(x.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:On(r.errors)&&!we,submitCount:r.submitCount+1,errors:r.errors}),we)throw we},at=(O,H={})=>{ye(s,O)&&(Et(H.defaultValue)?W(O,Mn(ye(a,O))):(W(O,H.defaultValue),st(a,O,Mn(H.defaultValue))),H.keepTouched||$t(r.touchedFields,O),H.keepDirty||($t(r.dirtyFields,O),r.isDirty=H.defaultValue?Q(O,Mn(ye(a,O))):Q()),H.keepError||($t(r.errors,O),p.isValid&&C()),x.state.next({...r}))},St=(O,H={})=>{const K=O?Mn(O):a,we=Mn(K),xe=On(O),ue=xe?a:we;if(H.keepDefaultValues||(a=K),!H.keepValues){if(H.keepDirtyValues){const De=new Set([...d.mount,...Object.keys(ml(a,l))]);for(const qe of Array.from(De))ye(r.dirtyFields,qe)?st(ue,qe,ye(l,qe)):W(qe,ye(ue,qe))}else{if(Bx&&Et(O))for(const De of d.mount){const qe=ye(s,De);if(qe&&qe._f){const gt=Array.isArray(qe._f.refs)?qe._f.refs[0]:qe._f.ref;if(_u(gt)){const ot=gt.closest("form");if(ot){ot.reset();break}}}}s={}}l=e.shouldUnregister?H.keepDefaultValues?Mn(a):{}:Mn(ue),x.array.next({values:{...ue}}),x.values.next({values:{...ue}})}d={mount:H.keepDirtyValues?d.mount:new Set,unMount:new Set,array:new Set,watch:new Set,watchAll:!1,focus:""},c.mount=!p.isValid||!!H.keepIsValid||!!H.keepDirtyValues,c.watch=!!e.shouldUnregister,x.state.next({submitCount:H.keepSubmitCount?r.submitCount:0,isDirty:xe?!1:H.keepDirty?r.isDirty:!!(H.keepDefaultValues&&!Js(O,a)),isSubmitted:H.keepIsSubmitted?r.isSubmitted:!1,dirtyFields:xe?{}:H.keepDirtyValues?H.keepDefaultValues&&l?ml(a,l):r.dirtyFields:H.keepDefaultValues&&O?ml(a,O):H.keepDirty?r.dirtyFields:{},touchedFields:H.keepTouched?r.touchedFields:{},errors:H.keepErrors?r.errors:{},isSubmitSuccessful:H.keepIsSubmitSuccessful?r.isSubmitSuccessful:!1,isSubmitting:!1})},Yt=(O,H)=>St(ps(O)?O(l):O,H);return{control:{register:je,unregister:he,getFieldState:R,handleSubmit:Xe,setError:le,_executeSchema:z,_getWatch:de,_getDirty:Q,_updateValid:C,_removeUnmounted:ge,_updateFieldArray:A,_updateDisabledField:ie,_getFieldArray:J,_reset:St,_resetDefaultValues:()=>ps(t.defaultValues)&&t.defaultValues().then(O=>{Yt(O,t.resetOptions),x.state.next({isLoading:!1})}),_updateFormState:O=>{r={...r,...O}},_disableForm:Ve,_subjects:x,_proxyFormState:p,_setErrors:P,get _fields(){return s},get _formValues(){return l},get _state(){return c},set _state(O){c=O},get _defaultValues(){return a},get _names(){return d},set _names(O){d=O},get _formState(){return r},set _formState(O){r=O},get _options(){return t},set _options(O){t={...t,...O}}},trigger:re,register:je,handleSubmit:Xe,watch:oe,setValue:W,getValues:M,reset:Yt,resetField:at,clearErrors:X,unregister:he,setError:le,setFocus:(O,H={})=>{const K=ye(s,O),we=K&&K._f;if(we){const xe=we.refs?we.refs[0]:we.ref;xe.focus&&(xe.focus(),H.shouldSelect&&xe.select())}},getFieldState:R}}function qx(e={}){const t=G.useRef(),r=G.useRef(),[s,a]=G.useState({isDirty:!1,isValidating:!1,isLoading:ps(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:e.errors||{},disabled:e.disabled||!1,defaultValues:ps(e.defaultValues)?void 0:e.defaultValues});t.current||(t.current={...iV(e),formState:s});const l=t.current.control;return l._options=e,Hx({subject:l._subjects.state,next:c=>{NS(c,l._proxyFormState,l._updateFormState,!0)&&a({...l._formState})}}),G.useEffect(()=>l._disableForm(e.disabled),[l,e.disabled]),G.useEffect(()=>{if(l._proxyFormState.isDirty){const c=l._getDirty();c!==s.isDirty&&l._subjects.state.next({isDirty:c})}},[l,s.isDirty]),G.useEffect(()=>{e.values&&!Js(e.values,r.current)?(l._reset(e.values,l._options.resetOptions),r.current=e.values,a(c=>({...c}))):l._resetDefaultValues()},[e.values,l]),G.useEffect(()=>{e.errors&&l._setErrors(e.errors)},[e.errors,l]),G.useEffect(()=>{l._state.mount||(l._updateValid(),l._state.mount=!0),l._state.watch&&(l._state.watch=!1,l._subjects.state.next({...l._formState})),l._removeUnmounted()}),G.useEffect(()=>{e.shouldUnregister&&l._subjects.values.next({values:l._getWatch()})},[e.shouldUnregister,l]),G.useEffect(()=>{t.current&&(t.current.watch=t.current.watch.bind({}))},[s]),t.current.formState=jS(s,l),t.current}const Dj=(e,t,r)=>{if(e&&"reportValidity"in e){const s=ye(r,t);e.setCustomValidity(s&&s.message||""),e.reportValidity()}},RS=(e,t)=>{for(const r in t.fields){const s=t.fields[r];s&&s.ref&&"reportValidity"in s.ref?Dj(s.ref,r,e):s.refs&&s.refs.forEach(a=>Dj(a,r,e))}},aV=(e,t)=>{t.shouldUseNativeValidation&&RS(e,t);const r={};for(const s in e){const a=ye(t.fields,s),l=Object.assign(e[s]||{},{ref:a&&a.ref});if(oV(t.names||Object.keys(e),s)){const c=Object.assign({},ye(r,s));st(c,"root",l),st(r,s,c)}else st(r,s,l)}return r},oV=(e,t)=>e.some(r=>r.startsWith(t+"."));var lV=function(e,t){for(var r={};e.length;){var s=e[0],a=s.code,l=s.message,c=s.path.join(".");if(!r[c])if("unionErrors"in s){var d=s.unionErrors[0].errors[0];r[c]={message:d.message,type:d.code}}else r[c]={message:l,type:a};if("unionErrors"in s&&s.unionErrors.forEach(function(p){return p.errors.forEach(function(x){return e.push(x)})}),t){var m=r[c].types,f=m&&m[s.code];r[c]=kS(c,t,r,a,f?[].concat(f,s.message):s.message)}e.shift()}return r},Kx=function(e,t,r){return r===void 0&&(r={}),function(s,a,l){try{return Promise.resolve((function(c,d){try{var m=Promise.resolve(e[r.mode==="sync"?"parse":"parseAsync"](s,t)).then(function(f){return l.shouldUseNativeValidation&&RS({},l),{errors:{},values:r.raw?s:f}})}catch(f){return d(f)}return m&&m.then?m.then(void 0,d):m})(0,function(c){if((function(d){return Array.isArray(d?.errors)})(c))return{values:{},errors:aV(lV(c.errors,!l.shouldUseNativeValidation&&l.criteriaMode==="all"),l)};throw c}))}catch(c){return Promise.reject(c)}}},Je;(function(e){e.assertEqual=a=>a;function t(a){}e.assertIs=t;function r(a){throw new Error}e.assertNever=r,e.arrayToEnum=a=>{const l={};for(const c of a)l[c]=c;return l},e.getValidEnumValues=a=>{const l=e.objectKeys(a).filter(d=>typeof a[a[d]]!="number"),c={};for(const d of l)c[d]=a[d];return e.objectValues(c)},e.objectValues=a=>e.objectKeys(a).map(function(l){return a[l]}),e.objectKeys=typeof Object.keys=="function"?a=>Object.keys(a):a=>{const l=[];for(const c in a)Object.prototype.hasOwnProperty.call(a,c)&&l.push(c);return l},e.find=(a,l)=>{for(const c of a)if(l(c))return c},e.isInteger=typeof Number.isInteger=="function"?a=>Number.isInteger(a):a=>typeof a=="number"&&isFinite(a)&&Math.floor(a)===a;function s(a,l=" | "){return a.map(c=>typeof c=="string"?`'${c}'`:c).join(l)}e.joinValues=s,e.jsonStringifyReplacer=(a,l)=>typeof l=="bigint"?l.toString():l})(Je||(Je={}));var ag;(function(e){e.mergeShapes=(t,r)=>({...t,...r})})(ag||(ag={}));const ke=Je.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),ei=e=>{switch(typeof e){case"undefined":return ke.undefined;case"string":return ke.string;case"number":return isNaN(e)?ke.nan:ke.number;case"boolean":return ke.boolean;case"function":return ke.function;case"bigint":return ke.bigint;case"symbol":return ke.symbol;case"object":return Array.isArray(e)?ke.array:e===null?ke.null:e.then&&typeof e.then=="function"&&e.catch&&typeof e.catch=="function"?ke.promise:typeof Map<"u"&&e instanceof Map?ke.map:typeof Set<"u"&&e instanceof Set?ke.set:typeof Date<"u"&&e instanceof Date?ke.date:ke.object;default:return ke.unknown}},fe=Je.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]),cV=e=>JSON.stringify(e,null,2).replace(/"([^"]+)":/g,"$1:");class qn extends Error{constructor(t){super(),this.issues=[],this.addIssue=s=>{this.issues=[...this.issues,s]},this.addIssues=(s=[])=>{this.issues=[...this.issues,...s]};const r=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,r):this.__proto__=r,this.name="ZodError",this.issues=t}get errors(){return this.issues}format(t){const r=t||function(l){return l.message},s={_errors:[]},a=l=>{for(const c of l.issues)if(c.code==="invalid_union")c.unionErrors.map(a);else if(c.code==="invalid_return_type")a(c.returnTypeError);else if(c.code==="invalid_arguments")a(c.argumentsError);else if(c.path.length===0)s._errors.push(r(c));else{let d=s,m=0;for(;m<c.path.length;){const f=c.path[m];m===c.path.length-1?(d[f]=d[f]||{_errors:[]},d[f]._errors.push(r(c))):d[f]=d[f]||{_errors:[]},d=d[f],m++}}};return a(this),s}static assert(t){if(!(t instanceof qn))throw new Error(`Not a ZodError: ${t}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,Je.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(t=r=>r.message){const r={},s=[];for(const a of this.issues)a.path.length>0?(r[a.path[0]]=r[a.path[0]]||[],r[a.path[0]].push(t(a))):s.push(t(a));return{formErrors:s,fieldErrors:r}}get formErrors(){return this.flatten()}}qn.create=e=>new qn(e);const ro=(e,t)=>{let r;switch(e.code){case fe.invalid_type:e.received===ke.undefined?r="Required":r=`Expected ${e.expected}, received ${e.received}`;break;case fe.invalid_literal:r=`Invalid literal value, expected ${JSON.stringify(e.expected,Je.jsonStringifyReplacer)}`;break;case fe.unrecognized_keys:r=`Unrecognized key(s) in object: ${Je.joinValues(e.keys,", ")}`;break;case fe.invalid_union:r="Invalid input";break;case fe.invalid_union_discriminator:r=`Invalid discriminator value. Expected ${Je.joinValues(e.options)}`;break;case fe.invalid_enum_value:r=`Invalid enum value. Expected ${Je.joinValues(e.options)}, received '${e.received}'`;break;case fe.invalid_arguments:r="Invalid function arguments";break;case fe.invalid_return_type:r="Invalid function return type";break;case fe.invalid_date:r="Invalid date";break;case fe.invalid_string:typeof e.validation=="object"?"includes"in e.validation?(r=`Invalid input: must include "${e.validation.includes}"`,typeof e.validation.position=="number"&&(r=`${r} at one or more positions greater than or equal to ${e.validation.position}`)):"startsWith"in e.validation?r=`Invalid input: must start with "${e.validation.startsWith}"`:"endsWith"in e.validation?r=`Invalid input: must end with "${e.validation.endsWith}"`:Je.assertNever(e.validation):e.validation!=="regex"?r=`Invalid ${e.validation}`:r="Invalid";break;case fe.too_small:e.type==="array"?r=`Array must contain ${e.exact?"exactly":e.inclusive?"at least":"more than"} ${e.minimum} element(s)`:e.type==="string"?r=`String must contain ${e.exact?"exactly":e.inclusive?"at least":"over"} ${e.minimum} character(s)`:e.type==="number"?r=`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:e.type==="date"?r=`Date must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(e.minimum))}`:r="Invalid input";break;case fe.too_big:e.type==="array"?r=`Array must contain ${e.exact?"exactly":e.inclusive?"at most":"less than"} ${e.maximum} element(s)`:e.type==="string"?r=`String must contain ${e.exact?"exactly":e.inclusive?"at most":"under"} ${e.maximum} character(s)`:e.type==="number"?r=`Number must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="bigint"?r=`BigInt must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="date"?r=`Date must be ${e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(e.maximum))}`:r="Invalid input";break;case fe.custom:r="Invalid input";break;case fe.invalid_intersection_types:r="Intersection results could not be merged";break;case fe.not_multiple_of:r=`Number must be a multiple of ${e.multipleOf}`;break;case fe.not_finite:r="Number must be finite";break;default:r=t.defaultError,Je.assertNever(e)}return{message:r}};let MS=ro;function dV(e){MS=e}function Ou(){return MS}const Du=e=>{const{data:t,path:r,errorMaps:s,issueData:a}=e,l=[...r,...a.path||[]],c={...a,path:l};if(a.message!==void 0)return{...a,path:l,message:a.message};let d="";const m=s.filter(f=>!!f).slice().reverse();for(const f of m)d=f(c,{data:t,defaultError:d}).message;return{...a,path:l,message:d}},uV=[];function Ne(e,t){const r=Ou(),s=Du({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,r,r===ro?void 0:ro].filter(a=>!!a)});e.common.issues.push(s)}class pn{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(t,r){const s=[];for(const a of r){if(a.status==="aborted")return He;a.status==="dirty"&&t.dirty(),s.push(a.value)}return{status:t.value,value:s}}static async mergeObjectAsync(t,r){const s=[];for(const a of r){const l=await a.key,c=await a.value;s.push({key:l,value:c})}return pn.mergeObjectSync(t,s)}static mergeObjectSync(t,r){const s={};for(const a of r){const{key:l,value:c}=a;if(l.status==="aborted"||c.status==="aborted")return He;l.status==="dirty"&&t.dirty(),c.status==="dirty"&&t.dirty(),l.value!=="__proto__"&&(typeof c.value<"u"||a.alwaysSet)&&(s[l.value]=c.value)}return{status:t.value,value:s}}}const He=Object.freeze({status:"aborted"}),Ba=e=>({status:"dirty",value:e}),Sn=e=>({status:"valid",value:e}),og=e=>e.status==="aborted",lg=e=>e.status==="dirty",ql=e=>e.status==="valid",Kl=e=>typeof Promise<"u"&&e instanceof Promise;function Lu(e,t,r,s){if(typeof t=="function"?e!==t||!0:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return t.get(e)}function OS(e,t,r,s,a){if(typeof t=="function"?e!==t||!0:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return t.set(e,r),r}var Oe;(function(e){e.errToObj=t=>typeof t=="string"?{message:t}:t||{},e.toString=t=>typeof t=="string"?t:t?.message})(Oe||(Oe={}));var xl,vl;class Yr{constructor(t,r,s,a){this._cachedPath=[],this.parent=t,this.data=r,this._path=s,this._key=a}get path(){return this._cachedPath.length||(this._key instanceof Array?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}const Lj=(e,t)=>{if(ql(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;const r=new qn(e.common.issues);return this._error=r,this._error}}};function Ke(e){if(!e)return{};const{errorMap:t,invalid_type_error:r,required_error:s,description:a}=e;if(t&&(r||s))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return t?{errorMap:t,description:a}:{errorMap:(c,d)=>{var m,f;const{message:p}=e;return c.code==="invalid_enum_value"?{message:p??d.defaultError}:typeof d.data>"u"?{message:(m=p??s)!==null&&m!==void 0?m:d.defaultError}:c.code!=="invalid_type"?{message:d.defaultError}:{message:(f=p??r)!==null&&f!==void 0?f:d.defaultError}},description:a}}class Ye{constructor(t){this.spa=this.safeParseAsync,this._def=t,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this)}get description(){return this._def.description}_getType(t){return ei(t.data)}_getOrReturnCtx(t,r){return r||{common:t.parent.common,data:t.data,parsedType:ei(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}_processInputParams(t){return{status:new pn,ctx:{common:t.parent.common,data:t.data,parsedType:ei(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}}_parseSync(t){const r=this._parse(t);if(Kl(r))throw new Error("Synchronous parse encountered promise.");return r}_parseAsync(t){const r=this._parse(t);return Promise.resolve(r)}parse(t,r){const s=this.safeParse(t,r);if(s.success)return s.data;throw s.error}safeParse(t,r){var s;const a={common:{issues:[],async:(s=r?.async)!==null&&s!==void 0?s:!1,contextualErrorMap:r?.errorMap},path:r?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:ei(t)},l=this._parseSync({data:t,path:a.path,parent:a});return Lj(a,l)}async parseAsync(t,r){const s=await this.safeParseAsync(t,r);if(s.success)return s.data;throw s.error}async safeParseAsync(t,r){const s={common:{issues:[],contextualErrorMap:r?.errorMap,async:!0},path:r?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:ei(t)},a=this._parse({data:t,path:s.path,parent:s}),l=await(Kl(a)?a:Promise.resolve(a));return Lj(s,l)}refine(t,r){const s=a=>typeof r=="string"||typeof r>"u"?{message:r}:typeof r=="function"?r(a):r;return this._refinement((a,l)=>{const c=t(a),d=()=>l.addIssue({code:fe.custom,...s(a)});return typeof Promise<"u"&&c instanceof Promise?c.then(m=>m?!0:(d(),!1)):c?!0:(d(),!1)})}refinement(t,r){return this._refinement((s,a)=>t(s)?!0:(a.addIssue(typeof r=="function"?r(s,a):r),!1))}_refinement(t){return new _r({schema:this,typeName:ze.ZodEffects,effect:{type:"refinement",refinement:t}})}superRefine(t){return this._refinement(t)}optional(){return Ur.create(this,this._def)}nullable(){return fi.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return Er.create(this,this._def)}promise(){return io.create(this,this._def)}or(t){return Ql.create([this,t],this._def)}and(t){return Xl.create(this,t,this._def)}transform(t){return new _r({...Ke(this._def),schema:this,typeName:ze.ZodEffects,effect:{type:"transform",transform:t}})}default(t){const r=typeof t=="function"?t:()=>t;return new rc({...Ke(this._def),innerType:this,defaultValue:r,typeName:ze.ZodDefault})}brand(){return new Gx({typeName:ze.ZodBranded,type:this,...Ke(this._def)})}catch(t){const r=typeof t=="function"?t:()=>t;return new sc({...Ke(this._def),innerType:this,catchValue:r,typeName:ze.ZodCatch})}describe(t){const r=this.constructor;return new r({...this._def,description:t})}pipe(t){return jc.create(this,t)}readonly(){return ic.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const mV=/^c[^\s-]{8,}$/i,fV=/^[0-9a-z]+$/,hV=/^[0-9A-HJKMNP-TV-Z]{26}$/,pV=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,gV=/^[a-z0-9_-]{21}$/i,xV=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,vV=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,yV="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";let tp;const bV=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,wV=/^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/,jV=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,DS="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",NV=new RegExp(`^${DS}$`);function LS(e){let t="([01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d";return e.precision?t=`${t}\\.\\d{${e.precision}}`:e.precision==null&&(t=`${t}(\\.\\d+)?`),t}function CV(e){return new RegExp(`^${LS(e)}$`)}function VS(e){let t=`${DS}T${LS(e)}`;const r=[];return r.push(e.local?"Z?":"Z"),e.offset&&r.push("([+-]\\d{2}:?\\d{2})"),t=`${t}(${r.join("|")})`,new RegExp(`^${t}$`)}function SV(e,t){return!!((t==="v4"||!t)&&bV.test(e)||(t==="v6"||!t)&&wV.test(e))}class kr extends Ye{_parse(t){if(this._def.coerce&&(t.data=String(t.data)),this._getType(t)!==ke.string){const l=this._getOrReturnCtx(t);
vendor: 6,231 bytes, line 21
21return Ne(l,{code:fe.invalid_type,expected:ke.string,received:l.parsedType}),He}const s=new pn;let a;for(const l of this._def.checks)if(l.kind==="min")t.data.length<l.value&&(a=this._getOrReturnCtx(t,a),Ne(a,{code:fe.too_small,minimum:l.value,type:"string",inclusive:!0,exact:!1,message:l.message}),s.dirty());else if(l.kind==="max")t.data.length>l.value&&(a=this._getOrReturnCtx(t,a),Ne(a,{code:fe.too_big,maximum:l.value,type:"string",inclusive:!0,exact:!1,message:l.message}),s.dirty());else if(l.kind==="length"){const c=t.data.length>l.value,d=t.data.length<l.value;(c||d)&&(a=this._getOrReturnCtx(t,a),c?Ne(a,{code:fe.too_big,maximum:l.value,type:"string",inclusive:!0,exact:!0,message:l.message}):d&&Ne(a,{code:fe.too_small,minimum:l.value,type:"string",inclusive:!0,exact:!0,message:l.message}),s.dirty())}else if(l.kind==="email")vV.test(t.data)||(a=this._getOrReturnCtx(t,a),Ne(a,{validation:"email",code:fe.invalid_string,message:l.message}),s.dirty());else if(l.kind==="emoji")tp||(tp=new RegExp(yV,"u")),tp.test(t.data)||(a=this._getOrReturnCtx(t,a),Ne(a,{validation:"emoji",code:fe.invalid_string,message:l.message}),s.dirty());else if(l.kind==="uuid")pV.test(t.data)||(a=this._getOrReturnCtx(t,a),Ne(a,{validation:"uuid",code:fe.invalid_string,message:l.message}),s.dirty());else if(l.kind==="nanoid")gV.test(t.data)||(a=this._getOrReturnCtx(t,a),Ne(a,{validation:"nanoid",code:fe.invalid_string,message:l.message}),s.dirty());else if(l.kind==="cuid")mV.test(t.data)||(a=this._getOrReturnCtx(t,a),Ne(a,{validation:"cuid",code:fe.invalid_string,message:l.message}),s.dirty());else if(l.kind==="cuid2")fV.test(t.data)||(a=this._getOrReturnCtx(t,a),Ne(a,{validation:"cuid2",code:fe.invalid_string,message:l.message}),s.dirty());else if(l.kind==="ulid")hV.test(t.data)||(a=this._getOrReturnCtx(t,a),Ne(a,{validation:"ulid",code:fe.invalid_string,message:l.message}),s.dirty());else if(l.kind==="url")try{new URL(t.data)}catch{a=this._getOrReturnCtx(t,a),Ne(a,{validation:"url",code:fe.invalid_string,message:l.message}),s.dirty()}else l.kind==="regex"?(l.regex.lastIndex=0,l.regex.test(t.data)||(a=this._getOrReturnCtx(t,a),Ne(a,{validation:"regex",code:fe.invalid_string,message:l.message}),s.dirty())):l.kind==="trim"?t.data=t.data.trim():l.kind==="includes"?t.data.includes(l.value,l.position)||(a=this._getOrReturnCtx(t,a),Ne(a,{code:fe.invalid_string,validation:{includes:l.value,position:l.position},message:l.message}),s.dirty()):l.kind==="toLowerCase"?t.data=t.data.toLowerCase():l.kind==="toUpperCase"?t.data=t.data.toUpperCase():l.kind==="startsWith"?t.data.startsWith(l.value)||(a=this._getOrReturnCtx(t,a),Ne(a,{code:fe.invalid_string,validation:{startsWith:l.value},message:l.message}),s.dirty()):l.kind==="endsWith"?t.data.endsWith(l.value)||(a=this._getOrReturnCtx(t,a),Ne(a,{code:fe.invalid_string,validation:{endsWith:l.value},message:l.message}),s.dirty()):l.kind==="datetime"?VS(l).test(t.data)||(a=this._getOrReturnCtx(t,a),Ne(a,{code:fe.invalid_string,validation:"datetime",message:l.message}),s.dirty()):l.kind==="date"?NV.test(t.data)||(a=this._getOrReturnCtx(t,a),Ne(a,{code:fe.invalid_string,validation:"date",message:l.message}),s.dirty()):l.kind==="time"?CV(l).test(t.data)||(a=this._getOrReturnCtx(t,a),Ne(a,{code:fe.invalid_string,validation:"time",message:l.message}),s.dirty()):l.kind==="duration"?xV.test(t.data)||(a=this._getOrReturnCtx(t,a),Ne(a,{validation:"duration",code:fe.invalid_string,message:l.message}),s.dirty()):l.kind==="ip"?SV(t.data,l.version)||(a=this._getOrReturnCtx(t,a),Ne(a,{validation:"ip",code:fe.invalid_string,message:l.message}),s.dirty()):l.kind==="base64"?jV.test(t.data)||(a=this._getOrReturnCtx(t,a),Ne(a,{validation:"base64",code:fe.invalid_string,message:l.message}),s.dirty()):Je.assertNever(l);return{status:s.value,value:t.data}}_regex(t,r,s){return this.refinement(a=>t.test(a),{validation:r,code:fe.invalid_string,...Oe.errToObj(s)})}_addCheck(t){return new kr({...this._def,checks:[...this._def.checks,t]})}email(t){return this._addCheck({kind:"email",...Oe.errToObj(t)})}url(t){return this._addCheck({kind:"url",...Oe.errToObj(t)})}emoji(t){return this._addCheck({kind:"emoji",...Oe.errToObj(t)})}uuid(t){return this._addCheck({kind:"uuid",...Oe.errToObj(t)})}nanoid(t){return this._addCheck({kind:"nanoid",...Oe.errToObj(t)})}cuid(t){return this._addCheck({kind:"cuid",...Oe.errToObj(t)})}cuid2(t){return this._addCheck({kind:"cuid2",...Oe.errToObj(t)})}ulid(t){return this._addCheck({kind:"ulid",...Oe.errToObj(t)})}base64(t){return this._addCheck({kind:"base64",...Oe.errToObj(t)})}ip(t){return this._addCheck({kind:"ip",...Oe.errToObj(t)})}datetime(t){var r,s;return typeof t=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:t}):this._addCheck({kind:"datetime",precision:typeof t?.precision>"u"?null:t?.precision,offset:(r=t?.offset)!==null&&r!==void 0?r:!1,local:(s=t?.local)!==null&&s!==void 0?s:!1,...Oe.errToObj(t?.message)})}date(t){return this._addCheck({kind:"date",message:t})}time(t){return typeof t=="string"?this._addCheck({kind:"time",precision:null,message:t}):this._addCheck({kind:"time",precision:typeof t?.precision>"u"?null:t?.precision,...Oe.errToObj(t?.message)})}duration(t){return this._addCheck({kind:"duration",...Oe.errToObj(t)})}regex(t,r){return this._addCheck({kind:"regex",regex:t,...Oe.errToObj(r)})}includes(t,r){return this._addCheck({kind:"includes",value:t,position:r?.position,...Oe.errToObj(r?.message)})}startsWith(t,r){return this._addCheck({kind:"startsWith",value:t,...Oe.errToObj(r)})}endsWith(t,r){return this._addCheck({kind:"endsWith",value:t,...Oe.errToObj(r)})}min(t,r){return this._addCheck({kind:"min",value:t,...Oe.errToObj(r)})}max(t,r){return this._addCheck({kind:"max",value:t,...Oe.errToObj(r)})}length(t,r){return this._addCheck({kind:"length",value:t,...Oe.errToObj(r)})}nonempty(t){return this.min(1,Oe.errToObj(t))}trim(){return new kr({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new kr({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new kr({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(t=>t.kind==="datetime")}
vendor: 35,399 bytes, line 21
21get isDate(){return!!this._def.checks.find(t=>t.kind==="date")}get isTime(){return!!this._def.checks.find(t=>t.kind==="time")}get isDuration(){return!!this._def.checks.find(t=>t.kind==="duration")}get isEmail(){return!!this._def.checks.find(t=>t.kind==="email")}get isURL(){return!!this._def.checks.find(t=>t.kind==="url")}get isEmoji(){return!!this._def.checks.find(t=>t.kind==="emoji")}get isUUID(){return!!this._def.checks.find(t=>t.kind==="uuid")}get isNANOID(){return!!this._def.checks.find(t=>t.kind==="nanoid")}get isCUID(){return!!this._def.checks.find(t=>t.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(t=>t.kind==="cuid2")}get isULID(){return!!this._def.checks.find(t=>t.kind==="ulid")}get isIP(){return!!this._def.checks.find(t=>t.kind==="ip")}get isBase64(){return!!this._def.checks.find(t=>t.kind==="base64")}get minLength(){let t=null;for(const r of this._def.checks)r.kind==="min"&&(t===null||r.value>t)&&(t=r.value);return t}get maxLength(){let t=null;for(const r of this._def.checks)r.kind==="max"&&(t===null||r.value<t)&&(t=r.value);return t}}kr.create=e=>{var t;return new kr({checks:[],typeName:ze.ZodString,coerce:(t=e?.coerce)!==null&&t!==void 0?t:!1,...Ke(e)})};function kV(e,t){const r=(e.toString().split(".")[1]||"").length,s=(t.toString().split(".")[1]||"").length,a=r>s?r:s,l=parseInt(e.toFixed(a).replace(".","")),c=parseInt(t.toFixed(a).replace(".",""));return l%c/Math.pow(10,a)}class di extends Ye{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(t){if(this._def.coerce&&(t.data=Number(t.data)),this._getType(t)!==ke.number){const l=this._getOrReturnCtx(t);return Ne(l,{code:fe.invalid_type,expected:ke.number,received:l.parsedType}),He}let s;const a=new pn;for(const l of this._def.checks)l.kind==="int"?Je.isInteger(t.data)||(s=this._getOrReturnCtx(t,s),Ne(s,{code:fe.invalid_type,expected:"integer",received:"float",message:l.message}),a.dirty()):l.kind==="min"?(l.inclusive?t.data<l.value:t.data<=l.value)&&(s=this._getOrReturnCtx(t,s),Ne(s,{code:fe.too_small,minimum:l.value,type:"number",inclusive:l.inclusive,exact:!1,message:l.message}),a.dirty()):l.kind==="max"?(l.inclusive?t.data>l.value:t.data>=l.value)&&(s=this._getOrReturnCtx(t,s),Ne(s,{code:fe.too_big,maximum:l.value,type:"number",inclusive:l.inclusive,exact:!1,message:l.message}),a.dirty()):l.kind==="multipleOf"?kV(t.data,l.value)!==0&&(s=this._getOrReturnCtx(t,s),Ne(s,{code:fe.not_multiple_of,multipleOf:l.value,message:l.message}),a.dirty()):l.kind==="finite"?Number.isFinite(t.data)||(s=this._getOrReturnCtx(t,s),Ne(s,{code:fe.not_finite,message:l.message}),a.dirty()):Je.assertNever(l);return{status:a.value,value:t.data}}gte(t,r){return this.setLimit("min",t,!0,Oe.toString(r))}gt(t,r){return this.setLimit("min",t,!1,Oe.toString(r))}lte(t,r){return this.setLimit("max",t,!0,Oe.toString(r))}lt(t,r){return this.setLimit("max",t,!1,Oe.toString(r))}setLimit(t,r,s,a){return new di({...this._def,checks:[...this._def.checks,{kind:t,value:r,inclusive:s,message:Oe.toString(a)}]})}_addCheck(t){return new di({...this._def,checks:[...this._def.checks,t]})}int(t){return this._addCheck({kind:"int",message:Oe.toString(t)})}positive(t){return this._addCheck({kind:"min",value:0,inclusive:!1,message:Oe.toString(t)})}negative(t){return this._addCheck({kind:"max",value:0,inclusive:!1,message:Oe.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:0,inclusive:!0,message:Oe.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:0,inclusive:!0,message:Oe.toString(t)})}multipleOf(t,r){return this._addCheck({kind:"multipleOf",value:t,message:Oe.toString(r)})}finite(t){return this._addCheck({kind:"finite",message:Oe.toString(t)})}safe(t){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:Oe.toString(t)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:Oe.toString(t)})}get minValue(){let t=null;for(const r of this._def.checks)r.kind==="min"&&(t===null||r.value>t)&&(t=r.value);return t}get maxValue(){let t=null;for(const r of this._def.checks)r.kind==="max"&&(t===null||r.value<t)&&(t=r.value);return t}get isInt(){return!!this._def.checks.find(t=>t.kind==="int"||t.kind==="multipleOf"&&Je.isInteger(t.value))}get isFinite(){let t=null,r=null;for(const s of this._def.checks){if(s.kind==="finite"||s.kind==="int"||s.kind==="multipleOf")return!0;s.kind==="min"?(r===null||s.value>r)&&(r=s.value):s.kind==="max"&&(t===null||s.value<t)&&(t=s.value)}return Number.isFinite(r)&&Number.isFinite(t)}}di.create=e=>new di({checks:[],typeName:ze.ZodNumber,coerce:e?.coerce||!1,...Ke(e)});class ui extends Ye{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(t){if(this._def.coerce&&(t.data=BigInt(t.data)),this._getType(t)!==ke.bigint){const l=this._getOrReturnCtx(t);return Ne(l,{code:fe.invalid_type,expected:ke.bigint,received:l.parsedType}),He}let s;const a=new pn;for(const l of this._def.checks)l.kind==="min"?(l.inclusive?t.data<l.value:t.data<=l.value)&&(s=this._getOrReturnCtx(t,s),Ne(s,{code:fe.too_small,type:"bigint",minimum:l.value,inclusive:l.inclusive,message:l.message}),a.dirty()):l.kind==="max"?(l.inclusive?t.data>l.value:t.data>=l.value)&&(s=this._getOrReturnCtx(t,s),Ne(s,{code:fe.too_big,type:"bigint",maximum:l.value,inclusive:l.inclusive,message:l.message}),a.dirty()):l.kind==="multipleOf"?t.data%l.value!==BigInt(0)&&(s=this._getOrReturnCtx(t,s),Ne(s,{code:fe.not_multiple_of,multipleOf:l.value,message:l.message}),a.dirty()):Je.assertNever(l);return{status:a.value,value:t.data}}gte(t,r){return this.setLimit("min",t,!0,Oe.toString(r))}gt(t,r){return this.setLimit("min",t,!1,Oe.toString(r))}lte(t,r){return this.setLimit("max",t,!0,Oe.toString(r))}lt(t,r){return this.setLimit("max",t,!1,Oe.toString(r))}setLimit(t,r,s,a){return new ui({...this._def,checks:[...this._def.checks,{kind:t,value:r,inclusive:s,message:Oe.toString(a)}]})}_addCheck(t){return new ui({...this._def,checks:[...this._def.checks,t]})}positive(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:Oe.toString(t)})}negative(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:Oe.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:Oe.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:Oe.toString(t)})}multipleOf(t,r){return this._addCheck({kind:"multipleOf",value:t,message:Oe.toString(r)})}get minValue(){let t=null;for(const r of this._def.checks)r.kind==="min"&&(t===null||r.value>t)&&(t=r.value);return t}get maxValue(){let t=null;for(const r of this._def.checks)r.kind==="max"&&(t===null||r.value<t)&&(t=r.value);return t}}ui.create=e=>{var t;return new ui({checks:[],typeName:ze.ZodBigInt,coerce:(t=e?.coerce)!==null&&t!==void 0?t:!1,...Ke(e)})};class Gl extends Ye{_parse(t){if(this._def.coerce&&(t.data=!!t.data),this._getType(t)!==ke.boolean){const s=this._getOrReturnCtx(t);return Ne(s,{code:fe.invalid_type,expected:ke.boolean,received:s.parsedType}),He}return Sn(t.data)}}Gl.create=e=>new Gl({typeName:ze.ZodBoolean,coerce:e?.coerce||!1,...Ke(e)});class Hi extends Ye{_parse(t){if(this._def.coerce&&(t.data=new Date(t.data)),this._getType(t)!==ke.date){const l=this._getOrReturnCtx(t);return Ne(l,{code:fe.invalid_type,expected:ke.date,received:l.parsedType}),He}if(isNaN(t.data.getTime())){const l=this._getOrReturnCtx(t);return Ne(l,{code:fe.invalid_date}),He}const s=new pn;let a;for(const l of this._def.checks)l.kind==="min"?t.data.getTime()<l.value&&(a=this._getOrReturnCtx(t,a),Ne(a,{code:fe.too_small,message:l.message,inclusive:!0,exact:!1,minimum:l.value,type:"date"}),s.dirty()):l.kind==="max"?t.data.getTime()>l.value&&(a=this._getOrReturnCtx(t,a),Ne(a,{code:fe.too_big,message:l.message,inclusive:!0,exact:!1,maximum:l.value,type:"date"}),s.dirty()):Je.assertNever(l);return{status:s.value,value:new Date(t.data.getTime())}}_addCheck(t){return new Hi({...this._def,checks:[...this._def.checks,t]})}min(t,r){return this._addCheck({kind:"min",value:t.getTime(),message:Oe.toString(r)})}max(t,r){return this._addCheck({kind:"max",value:t.getTime(),message:Oe.toString(r)})}get minDate(){let t=null;for(const r of this._def.checks)r.kind==="min"&&(t===null||r.value>t)&&(t=r.value);return t!=null?new Date(t):null}get maxDate(){let t=null;for(const r of this._def.checks)r.kind==="max"&&(t===null||r.value<t)&&(t=r.value);return t!=null?new Date(t):null}}Hi.create=e=>new Hi({checks:[],coerce:e?.coerce||!1,typeName:ze.ZodDate,...Ke(e)});class Vu extends Ye{_parse(t){if(this._getType(t)!==ke.symbol){const s=this._getOrReturnCtx(t);return Ne(s,{code:fe.invalid_type,expected:ke.symbol,received:s.parsedType}),He}return Sn(t.data)}}Vu.create=e=>new Vu({typeName:ze.ZodSymbol,...Ke(e)});class Yl extends Ye{_parse(t){if(this._getType(t)!==ke.undefined){const s=this._getOrReturnCtx(t);return Ne(s,{code:fe.invalid_type,expected:ke.undefined,received:s.parsedType}),He}return Sn(t.data)}}Yl.create=e=>new Yl({typeName:ze.ZodUndefined,...Ke(e)});class Zl extends Ye{_parse(t){if(this._getType(t)!==ke.null){const s=this._getOrReturnCtx(t);return Ne(s,{code:fe.invalid_type,expected:ke.null,received:s.parsedType}),He}return Sn(t.data)}}Zl.create=e=>new Zl({typeName:ze.ZodNull,...Ke(e)});class so extends Ye{constructor(){super(...arguments),this._any=!0}_parse(t){return Sn(t.data)}}so.create=e=>new so({typeName:ze.ZodAny,...Ke(e)});class $i extends Ye{constructor(){super(...arguments),this._unknown=!0}_parse(t){return Sn(t.data)}}$i.create=e=>new $i({typeName:ze.ZodUnknown,...Ke(e)});class js extends Ye{_parse(t){const r=this._getOrReturnCtx(t);return Ne(r,{code:fe.invalid_type,expected:ke.never,received:r.parsedType}),He}}js.create=e=>new js({typeName:ze.ZodNever,...Ke(e)});class Fu extends Ye{_parse(t){if(this._getType(t)!==ke.undefined){const s=this._getOrReturnCtx(t);return Ne(s,{code:fe.invalid_type,expected:ke.void,received:s.parsedType}),He}return Sn(t.data)}}Fu.create=e=>new Fu({typeName:ze.ZodVoid,...Ke(e)});class Er extends Ye{_parse(t){const{ctx:r,status:s}=this._processInputParams(t),a=this._def;if(r.parsedType!==ke.array)return Ne(r,{code:fe.invalid_type,expected:ke.array,received:r.parsedType}),He;if(a.exactLength!==null){const c=r.data.length>a.exactLength.value,d=r.data.length<a.exactLength.value;(c||d)&&(Ne(r,{code:c?fe.too_big:fe.too_small,minimum:d?a.exactLength.value:void 0,maximum:c?a.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:a.exactLength.message}),s.dirty())}if(a.minLength!==null&&r.data.length<a.minLength.value&&(Ne(r,{code:fe.too_small,minimum:a.minLength.value,type:"array",inclusive:!0,exact:!1,message:a.minLength.message}),s.dirty()),a.maxLength!==null&&r.data.length>a.maxLength.value&&(Ne(r,{code:fe.too_big,maximum:a.maxLength.value,type:"array",inclusive:!0,exact:!1,message:a.maxLength.message}),s.dirty()),r.common.async)return Promise.all([...r.data].map((c,d)=>a.type._parseAsync(new Yr(r,c,r.path,d)))).then(c=>pn.mergeArray(s,c));const l=[...r.data].map((c,d)=>a.type._parseSync(new Yr(r,c,r.path,d)));return pn.mergeArray(s,l)}get element(){return this._def.type}min(t,r){return new Er({...this._def,minLength:{value:t,message:Oe.toString(r)}})}max(t,r){return new Er({...this._def,maxLength:{value:t,message:Oe.toString(r)}})}length(t,r){return new Er({...this._def,exactLength:{value:t,message:Oe.toString(r)}})}nonempty(t){return this.min(1,t)}}Er.create=(e,t)=>new Er({type:e,minLength:null,maxLength:null,exactLength:null,typeName:ze.ZodArray,...Ke(t)});function _a(e){if(e instanceof Nt){const t={};for(const r in e.shape){const s=e.shape[r];t[r]=Ur.create(_a(s))}return new Nt({...e._def,shape:()=>t})}else return e instanceof Er?new Er({...e._def,type:_a(e.element)}):e instanceof Ur?Ur.create(_a(e.unwrap())):e instanceof fi?fi.create(_a(e.unwrap())):e instanceof Zr?Zr.create(e.items.map(t=>_a(t))):e}class Nt extends Ye{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;const t=this._def.shape(),r=Je.objectKeys(t);return this._cached={shape:t,keys:r}}_parse(t){if(this._getType(t)!==ke.object){const f=this._getOrReturnCtx(t);return Ne(f,{code:fe.invalid_type,expected:ke.object,received:f.parsedType}),He}const{status:s,ctx:a}=this._processInputParams(t),{shape:l,keys:c}=this._getCached(),d=[];if(!(this._def.catchall instanceof js&&this._def.unknownKeys==="strip"))for(const f in a.data)c.includes(f)||d.push(f);const m=[];for(const f of c){const p=l[f],x=a.data[f];m.push({key:{status:"valid",value:f},value:p._parse(new Yr(a,x,a.path,f)),alwaysSet:f in a.data})}if(this._def.catchall instanceof js){const f=this._def.unknownKeys;if(f==="passthrough")for(const p of d)m.push({key:{status:"valid",value:p},value:{status:"valid",value:a.data[p]}});else if(f==="strict")d.length>0&&(Ne(a,{code:fe.unrecognized_keys,keys:d}),s.dirty());else if(f!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const f=this._def.catchall;for(const p of d){const x=a.data[p];m.push({key:{status:"valid",value:p},value:f._parse(new Yr(a,x,a.path,p)),alwaysSet:p in a.data})}}return a.common.async?Promise.resolve().then(async()=>{const f=[];for(const p of m){const x=await p.key,v=await p.value;f.push({key:x,value:v,alwaysSet:p.alwaysSet})}return f}).then(f=>pn.mergeObjectSync(s,f)):pn.mergeObjectSync(s,m)}get shape(){return this._def.shape()}strict(t){return Oe.errToObj,new Nt({...this._def,unknownKeys:"strict",...t!==void 0?{errorMap:(r,s)=>{var a,l,c,d;const m=(c=(l=(a=this._def).errorMap)===null||l===void 0?void 0:l.call(a,r,s).message)!==null&&c!==void 0?c:s.defaultError;return r.code==="unrecognized_keys"?{message:(d=Oe.errToObj(t).message)!==null&&d!==void 0?d:m}:{message:m}}}:{}})}strip(){return new Nt({...this._def,unknownKeys:"strip"})}passthrough(){return new Nt({...this._def,unknownKeys:"passthrough"})}extend(t){return new Nt({...this._def,shape:()=>({...this._def.shape(),...t})})}merge(t){return new Nt({unknownKeys:t._def.unknownKeys,catchall:t._def.catchall,shape:()=>({...this._def.shape(),...t._def.shape()}),typeName:ze.ZodObject})}setKey(t,r){return this.augment({[t]:r})}catchall(t){return new Nt({...this._def,catchall:t})}pick(t){const r={};return Je.objectKeys(t).forEach(s=>{t[s]&&this.shape[s]&&(r[s]=this.shape[s])}),new Nt({...this._def,shape:()=>r})}omit(t){const r={};return Je.objectKeys(this.shape).forEach(s=>{t[s]||(r[s]=this.shape[s])}),new Nt({...this._def,shape:()=>r})}deepPartial(){return _a(this)}partial(t){const r={};return Je.objectKeys(this.shape).forEach(s=>{const a=this.shape[s];t&&!t[s]?r[s]=a:r[s]=a.optional()}),new Nt({...this._def,shape:()=>r})}required(t){const r={};return Je.objectKeys(this.shape).forEach(s=>{if(t&&!t[s])r[s]=this.shape[s];else{let l=this.shape[s];for(;l instanceof Ur;)l=l._def.innerType;r[s]=l}}),new Nt({...this._def,shape:()=>r})}keyof(){return FS(Je.objectKeys(this.shape))}}Nt.create=(e,t)=>new Nt({shape:()=>e,unknownKeys:"strip",catchall:js.create(),typeName:ze.ZodObject,...Ke(t)});Nt.strictCreate=(e,t)=>new Nt({shape:()=>e,unknownKeys:"strict",catchall:js.create(),typeName:ze.ZodObject,...Ke(t)});Nt.lazycreate=(e,t)=>new Nt({shape:e,unknownKeys:"strip",catchall:js.create(),typeName:ze.ZodObject,...Ke(t)});class Ql extends Ye{_parse(t){const{ctx:r}=this._processInputParams(t),s=this._def.options;function a(l){for(const d of l)if(d.result.status==="valid")return d.result;for(const d of l)if(d.result.status==="dirty")return r.common.issues.push(...d.ctx.common.issues),d.result;const c=l.map(d=>new qn(d.ctx.common.issues));return Ne(r,{code:fe.invalid_union,unionErrors:c}),He}if(r.common.async)return Promise.all(s.map(async l=>{const c={...r,common:{...r.common,issues:[]},parent:null};return{result:await l._parseAsync({data:r.data,path:r.path,parent:c}),ctx:c}})).then(a);{let l;const c=[];for(const m of s){const f={...r,common:{...r.common,issues:[]},parent:null},p=m._parseSync({data:r.data,path:r.path,parent:f});if(p.status==="valid")return p;p.status==="dirty"&&!l&&(l={result:p,ctx:f}),f.common.issues.length&&c.push(f.common.issues)}if(l)return r.common.issues.push(...l.ctx.common.issues),l.result;const d=c.map(m=>new qn(m));return Ne(r,{code:fe.invalid_union,unionErrors:d}),He}}get options(){return this._def.options}}Ql.create=(e,t)=>new Ql({options:e,typeName:ze.ZodUnion,...Ke(t)});const ds=e=>e instanceof ec?ds(e.schema):e instanceof _r?ds(e.innerType()):e instanceof tc?[e.value]:e instanceof mi?e.options:e instanceof nc?Je.objectValues(e.enum):e instanceof rc?ds(e._def.innerType):e instanceof Yl?[void 0]:e instanceof Zl?[null]:e instanceof Ur?[void 0,...ds(e.unwrap())]:e instanceof fi?[null,...ds(e.unwrap())]:e instanceof Gx||e instanceof ic?ds(e.unwrap()):e instanceof sc?ds(e._def.innerType):[];class vm extends Ye{_parse(t){const{ctx:r}=this._processInputParams(t);if(r.parsedType!==ke.object)return Ne(r,{code:fe.invalid_type,expected:ke.object,received:r.parsedType}),He;const s=this.discriminator,a=r.data[s],l=this.optionsMap.get(a);return l?r.common.async?l._parseAsync({data:r.data,path:r.path,parent:r}):l._parseSync({data:r.data,path:r.path,parent:r}):(Ne(r,{code:fe.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[s]}),He)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(t,r,s){const a=new Map;for(const l of r){const c=ds(l.shape[t]);if(!c.length)throw new Error(`A discriminator value for key \`${t}\` could not be extracted from all schema options`);for(const d of c){if(a.has(d))throw new Error(`Discriminator property ${String(t)} has duplicate value ${String(d)}`);a.set(d,l)}}return new vm({typeName:ze.ZodDiscriminatedUnion,discriminator:t,options:r,optionsMap:a,...Ke(s)})}}function cg(e,t){const r=ei(e),s=ei(t);if(e===t)return{valid:!0,data:e};if(r===ke.object&&s===ke.object){const a=Je.objectKeys(t),l=Je.objectKeys(e).filter(d=>a.indexOf(d)!==-1),c={...e,...t};for(const d of l){const m=cg(e[d],t[d]);if(!m.valid)return{valid:!1};c[d]=m.data}return{valid:!0,data:c}}else if(r===ke.array&&s===ke.array){if(e.length!==t.length)return{valid:!1};const a=[];for(let l=0;l<e.length;l++){const c=e[l],d=t[l],m=cg(c,d);if(!m.valid)return{valid:!1};a.push(m.data)}return{valid:!0,data:a}}else return r===ke.date&&s===ke.date&&+e==+t?{valid:!0,data:e}:{valid:!1}}class Xl extends Ye{_parse(t){const{status:r,ctx:s}=this._processInputParams(t),a=(l,c)=>{if(og(l)||og(c))return He;const d=cg(l.value,c.value);return d.valid?((lg(l)||lg(c))&&r.dirty(),{status:r.value,value:d.data}):(Ne(s,{code:fe.invalid_intersection_types}),He)};return s.common.async?Promise.all([this._def.left._parseAsync({data:s.data,path:s.path,parent:s}),this._def.right._parseAsync({data:s.data,path:s.path,parent:s})]).then(([l,c])=>a(l,c)):a(this._def.left._parseSync({data:s.data,path:s.path,parent:s}),this._def.right._parseSync({data:s.data,path:s.path,parent:s}))}}Xl.create=(e,t,r)=>new Xl({left:e,right:t,typeName:ze.ZodIntersection,...Ke(r)});class Zr extends Ye{_parse(t){const{status:r,ctx:s}=this._processInputParams(t);if(s.parsedType!==ke.array)return Ne(s,{code:fe.invalid_type,expected:ke.array,received:s.parsedType}),He;if(s.data.length<this._def.items.length)return Ne(s,{code:fe.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),He;!this._def.rest&&s.data.length>this._def.items.length&&(Ne(s,{code:fe.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),r.dirty());const l=[...s.data].map((c,d)=>{const m=this._def.items[d]||this._def.rest;return m?m._parse(new Yr(s,c,s.path,d)):null}).filter(c=>!!c);return s.common.async?Promise.all(l).then(c=>pn.mergeArray(r,c)):pn.mergeArray(r,l)}get items(){return this._def.items}rest(t){return new Zr({...this._def,rest:t})}}Zr.create=(e,t)=>{if(!Array.isArray(e))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new Zr({items:e,typeName:ze.ZodTuple,rest:null,...Ke(t)})};class Jl extends Ye{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(t){const{status:r,ctx:s}=this._processInputParams(t);if(s.parsedType!==ke.object)return Ne(s,{code:fe.invalid_type,expected:ke.object,received:s.parsedType}),He;const a=[],l=this._def.keyType,c=this._def.valueType;for(const d in s.data)a.push({key:l._parse(new Yr(s,d,s.path,d)),value:c._parse(new Yr(s,s.data[d],s.path,d)),alwaysSet:d in s.data});return s.common.async?pn.mergeObjectAsync(r,a):pn.mergeObjectSync(r,a)}get element(){return this._def.valueType}static create(t,r,s){return r instanceof Ye?new Jl({keyType:t,valueType:r,typeName:ze.ZodRecord,...Ke(s)}):new Jl({keyType:kr.create(),valueType:t,typeName:ze.ZodRecord,...Ke(r)})}}class $u extends Ye{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(t){const{status:r,ctx:s}=this._processInputParams(t);if(s.parsedType!==ke.map)return Ne(s,{code:fe.invalid_type,expected:ke.map,received:s.parsedType}),He;const a=this._def.keyType,l=this._def.valueType,c=[...s.data.entries()].map(([d,m],f)=>({key:a._parse(new Yr(s,d,s.path,[f,"key"])),value:l._parse(new Yr(s,m,s.path,[f,"value"]))}));if(s.common.async){const d=new Map;return Promise.resolve().then(async()=>{for(const m of c){const f=await m.key,p=await m.value;if(f.status==="aborted"||p.status==="aborted")return He;(f.status==="dirty"||p.status==="dirty")&&r.dirty(),d.set(f.value,p.value)}return{status:r.value,value:d}})}else{const d=new Map;for(const m of c){const f=m.key,p=m.value;if(f.status==="aborted"||p.status==="aborted")return He;(f.status==="dirty"||p.status==="dirty")&&r.dirty(),d.set(f.value,p.value)}return{status:r.value,value:d}}}}$u.create=(e,t,r)=>new $u({valueType:t,keyType:e,typeName:ze.ZodMap,...Ke(r)});class Ui extends Ye{_parse(t){const{status:r,ctx:s}=this._processInputParams(t);if(s.parsedType!==ke.set)return Ne(s,{code:fe.invalid_type,expected:ke.set,received:s.parsedType}),He;const a=this._def;a.minSize!==null&&s.data.size<a.minSize.value&&(Ne(s,{code:fe.too_small,minimum:a.minSize.value,type:"set",inclusive:!0,exact:!1,message:a.minSize.message}),r.dirty()),a.maxSize!==null&&s.data.size>a.maxSize.value&&(Ne(s,{code:fe.too_big,maximum:a.maxSize.value,type:"set",inclusive:!0,exact:!1,message:a.maxSize.message}),r.dirty());const l=this._def.valueType;function c(m){const f=new Set;for(const p of m){if(p.status==="aborted")return He;p.status==="dirty"&&r.dirty(),f.add(p.value)}return{status:r.value,value:f}}const d=[...s.data.values()].map((m,f)=>l._parse(new Yr(s,m,s.path,f)));return s.common.async?Promise.all(d).then(m=>c(m)):c(d)}min(t,r){return new Ui({...this._def,minSize:{value:t,message:Oe.toString(r)}})}max(t,r){return new Ui({...this._def,maxSize:{value:t,message:Oe.toString(r)}})}size(t,r){return this.min(t,r).max(t,r)}nonempty(t){return this.min(1,t)}}Ui.create=(e,t)=>new Ui({valueType:e,minSize:null,maxSize:null,typeName:ze.ZodSet,...Ke(t)});class qa extends Ye{constructor(){super(...arguments),this.validate=this.implement}_parse(t){const{ctx:r}=this._processInputParams(t);if(r.parsedType!==ke.function)return Ne(r,{code:fe.invalid_type,expected:ke.function,received:r.parsedType}),He;function s(d,m){return Du({data:d,path:r.path,errorMaps:[r.common.contextualErrorMap,r.schemaErrorMap,Ou(),ro].filter(f=>!!f),issueData:{code:fe.invalid_arguments,argumentsError:m}})}function a(d,m){return Du({data:d,path:r.path,errorMaps:[r.common.contextualErrorMap,r.schemaErrorMap,Ou(),ro].filter(f=>!!f),issueData:{code:fe.invalid_return_type,returnTypeError:m}})}const l={errorMap:r.common.contextualErrorMap},c=r.data;if(this._def.returns instanceof io){const d=this;return Sn(async function(...m){const f=new qn([]),p=await d._def.args.parseAsync(m,l).catch(b=>{throw f.addIssue(s(m,b)),f}),x=await Reflect.apply(c,this,p);return await d._def.returns._def.type.parseAsync(x,l).catch(b=>{throw f.addIssue(a(x,b)),f})})}else{const d=this;return Sn(function(...m){const f=d._def.args.safeParse(m,l);if(!f.success)throw new qn([s(m,f.error)]);const p=Reflect.apply(c,this,f.data),x=d._def.returns.safeParse(p,l);if(!x.success)throw new qn([a(p,x.error)]);return x.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...t){return new qa({...this._def,args:Zr.create(t).rest($i.create())})}returns(t){return new qa({...this._def,returns:t})}implement(t){return this.parse(t)}strictImplement(t){return this.parse(t)}static create(t,r,s){return new qa({args:t||Zr.create([]).rest($i.create()),returns:r||$i.create(),typeName:ze.ZodFunction,...Ke(s)})}}class ec extends Ye{get schema(){return this._def.getter()}_parse(t){const{ctx:r}=this._processInputParams(t);return this._def.getter()._parse({data:r.data,path:r.path,parent:r})}}ec.create=(e,t)=>new ec({getter:e,typeName:ze.ZodLazy,...Ke(t)});class tc extends Ye{_parse(t){if(t.data!==this._def.value){const r=this._getOrReturnCtx(t);return Ne(r,{received:r.data,code:fe.invalid_literal,expected:this._def.value}),He}return{status:"valid",value:t.data}}get value(){return this._def.value}}tc.create=(e,t)=>new tc({value:e,typeName:ze.ZodLiteral,...Ke(t)});function FS(e,t){return new mi({values:e,typeName:ze.ZodEnum,...Ke(t)})}class mi extends Ye{constructor(){super(...arguments),xl.set(this,void 0)}_parse(t){if(typeof t.data!="string"){const r=this._getOrReturnCtx(t),s=this._def.values;return Ne(r,{expected:Je.joinValues(s),received:r.parsedType,code:fe.invalid_type}),He}if(Lu(this,xl)||OS(this,xl,new Set(this._def.values)),!Lu(this,xl).has(t.data)){const r=this._getOrReturnCtx(t),s=this._def.values;return Ne(r,{received:r.data,code:fe.invalid_enum_value,options:s}),He}return Sn(t.data)}get options(){return this._def.values}get enum(){const t={};for(const r of this._def.values)t[r]=r;return t}get Values(){const t={};for(const r of this._def.values)t[r]=r;return t}get Enum(){const t={};for(const r of this._def.values)t[r]=r;return t}extract(t,r=this._def){return mi.create(t,{...this._def,...r})}exclude(t,r=this._def){return mi.create(this.options.filter(s=>!t.includes(s)),{...this._def,...r})}}xl=new WeakMap;mi.create=FS;class nc extends Ye{constructor(){super(...arguments),vl.set(this,void 0)}_parse(t){const r=Je.getValidEnumValues(this._def.values),s=this._getOrReturnCtx(t);if(s.parsedType!==ke.string&&s.parsedType!==ke.number){const a=Je.objectValues(r);return Ne(s,{expected:Je.joinValues(a),received:s.parsedType,code:fe.invalid_type}),He}if(Lu(this,vl)||OS(this,vl,new Set(Je.getValidEnumValues(this._def.values))),!Lu(this,vl).has(t.data)){const a=Je.objectValues(r);return Ne(s,{received:s.data,code:fe.invalid_enum_value,options:a}),He}return Sn(t.data)}get enum(){return this._def.values}}vl=new WeakMap;nc.create=(e,t)=>new nc({values:e,typeName:ze.ZodNativeEnum,...Ke(t)});class io extends Ye{unwrap(){return this._def.type}_parse(t){const{ctx:r}=this._processInputParams(t);if(r.parsedType!==ke.promise&&r.common.async===!1)return Ne(r,{code:fe.invalid_type,expected:ke.promise,received:r.parsedType}),He;const s=r.parsedType===ke.promise?r.data:Promise.resolve(r.data);return Sn(s.then(a=>this._def.type.parseAsync(a,{path:r.path,errorMap:r.common.contextualErrorMap})))}}io.create=(e,t)=>new io({type:e,typeName:ze.ZodPromise,...Ke(t)});class _r extends Ye{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===ze.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(t){const{status:r,ctx:s}=this._processInputParams(t),a=this._def.effect||null,l={addIssue:c=>{Ne(s,c),c.fatal?r.abort():r.dirty()},get path(){return s.path}};if(l.addIssue=l.addIssue.bind(l),a.type==="preprocess"){const c=a.transform(s.data,l);if(s.common.async)return Promise.resolve(c).then(async d=>{if(r.value==="aborted")return He;const m=await this._def.schema._parseAsync({data:d,path:s.path,parent:s});return m.status==="aborted"?He:m.status==="dirty"||r.value==="dirty"?Ba(m.value):m});{if(r.value==="aborted")return He;const d=this._def.schema._parseSync({data:c,path:s.path,parent:s});return d.status==="aborted"?He:d.status==="dirty"||r.value==="dirty"?Ba(d.value):d}}if(a.type==="refinement"){const c=d=>{const m=a.refinement(d,l);if(s.common.async)return Promise.resolve(m);if(m instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return d};if(s.common.async===!1){const d=this._def.schema._parseSync({data:s.data,path:s.path,parent:s});return d.status==="aborted"?He:(d.status==="dirty"&&r.dirty(),c(d.value),{status:r.value,value:d.value})}else return this._def.schema._parseAsync({data:s.data,path:s.path,parent:s}).then(d=>d.status==="aborted"?He:(d.status==="dirty"&&r.dirty(),c(d.value).then(()=>({status:r.value,value:d.value}))))}if(a.type==="transform")if(s.common.async===!1){const c=this._def.schema._parseSync({data:s.data,path:s.path,parent:s});if(!ql(c))return c;const d=a.transform(c.value,l);if(d instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:r.value,value:d}}else return this._def.schema._parseAsync({data:s.data,path:s.path,parent:s}).then(c=>ql(c)?Promise.resolve(a.transform(c.value,l)).then(d=>({status:r.value,value:d})):c);Je.assertNever(a)}}_r.create=(e,t,r)=>new _r({schema:e,typeName:ze.ZodEffects,effect:t,...Ke(r)});_r.createWithPreprocess=(e,t,r)=>new _r({schema:t,effect:{type:"preprocess",transform:e},typeName:ze.ZodEffects,...Ke(r)});class Ur extends Ye{_parse(t){return this._getType(t)===ke.undefined?Sn(void 0):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}Ur.create=(e,t)=>new Ur({innerType:e,typeName:ze.ZodOptional,...Ke(t)});class fi extends Ye{_parse(t){return this._getType(t)===ke.null?Sn(null):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}fi.create=(e,t)=>new fi({innerType:e,typeName:ze.ZodNullable,...Ke(t)});class rc extends Ye{_parse(t){const{ctx:r}=this._processInputParams(t);let s=r.data;return r.parsedType===ke.undefined&&(s=this._def.defaultValue()),this._def.innerType._parse({data:s,path:r.path,parent:r})}removeDefault(){return this._def.innerType}}rc.create=(e,t)=>new rc({innerType:e,typeName:ze.ZodDefault,defaultValue:typeof t.default=="function"?t.default:()=>t.default,...Ke(t)});class sc extends Ye{_parse(t){const{ctx:r}=this._processInputParams(t),s={...r,common:{...r.common,issues:[]}},a=this._def.innerType._parse({data:s.data,path:s.path,parent:{...s}});return Kl(a)?a.then(l=>({status:"valid",value:l.status==="valid"?l.value:this._def.catchValue({get error(){return new qn(s.common.issues)},input:s.data})})):{status:"valid",value:a.status==="valid"?a.value:this._def.catchValue({get error(){return new qn(s.common.issues)},input:s.data})}}removeCatch(){return this._def.innerType}}sc.create=(e,t)=>new sc({innerType:e,typeName:ze.ZodCatch,catchValue:typeof t.catch=="function"?t.catch:()=>t.catch,...Ke(t)});class Bu extends Ye{_parse(t){if(this._getType(t)!==ke.nan){const s=this._getOrReturnCtx(t);return Ne(s,{code:fe.invalid_type,expected:ke.nan,received:s.parsedType}),He}return{status:"valid",value:t.data}}}Bu.create=e=>new Bu({typeName:ze.ZodNaN,...Ke(e)});const AV=Symbol("zod_brand");class Gx extends Ye{_parse(t){const{ctx:r}=this._processInputParams(t),s=r.data;return this._def.type._parse({data:s,path:r.path,parent:r})}unwrap(){return this._def.type}}class jc extends Ye{_parse(t){const{status:r,ctx:s}=this._processInputParams(t);if(s.common.async)return(async()=>{const l=await this._def.in._parseAsync({data:s.data,path:s.path,parent:s});return l.status==="aborted"?He:l.status==="dirty"?(r.dirty(),Ba(l.value)):this._def.out._parseAsync({data:l.value,path:s.path,parent:s})})();{const a=this._def.in._parseSync({data:s.data,path:s.path,parent:s});return a.status==="aborted"?He:a.status==="dirty"?(r.dirty(),{status:"dirty",value:a.value}):this._def.out._parseSync({data:a.value,path:s.path,parent:s})}}static create(t,r){return new jc({in:t,out:r,typeName:ze.ZodPipeline})}}class ic extends Ye{_parse(t){const r=this._def.innerType._parse(t),s=a=>(ql(a)&&(a.value=Object.freeze(a.value)),a);return Kl(r)?r.then(a=>s(a)):s(r)}unwrap(){return this._def.innerType}}ic.create=(e,t)=>new ic({innerType:e,typeName:ze.ZodReadonly,...Ke(t)});function $S(e,t={},r){return e?so.create().superRefine((s,a)=>{var l,c;if(!e(s)){const d=typeof t=="function"?t(s):typeof t=="string"?{message:t}:t,m=(c=(l=d.fatal)!==null&&l!==void 0?l:r)!==null&&c!==void 0?c:!0,f=typeof d=="string"?{message:d}:d;a.addIssue({code:"custom",...f,fatal:m})}}):so.create()}const EV={object:Nt.lazycreate};var ze;(function(e){e.ZodString="ZodString",e.ZodNumber="ZodNumber",e.ZodNaN="ZodNaN",e.ZodBigInt="ZodBigInt",e.ZodBoolean="ZodBoolean",e.ZodDate="ZodDate",e.ZodSymbol="ZodSymbol",e.ZodUndefined="ZodUndefined",e.ZodNull="ZodNull",e.ZodAny="ZodAny",e.ZodUnknown="ZodUnknown",e.ZodNever="ZodNever",e.ZodVoid="ZodVoid",e.ZodArray="ZodArray",e.ZodObject="ZodObject",e.ZodUnion="ZodUnion",e.ZodDiscriminatedUnion="ZodDiscriminatedUnion",e.ZodIntersection="ZodIntersection",e.ZodTuple="ZodTuple",e.ZodRecord="ZodRecord",e.ZodMap="ZodMap",e.ZodSet="ZodSet",e.ZodFunction="ZodFunction",e.ZodLazy="ZodLazy",e.ZodLiteral="ZodLiteral",e.ZodEnum="ZodEnum",e.ZodEffects="ZodEffects",e.ZodNativeEnum="ZodNativeEnum",e.ZodOptional="ZodOptional",e.ZodNullable="ZodNullable",e.ZodDefault="ZodDefault",e.ZodCatch="ZodCatch",e.ZodPromise="ZodPromise",e.ZodBranded="ZodBranded",e.ZodPipeline="ZodPipeline",e.ZodReadonly="ZodReadonly"})(ze||(ze={}));const TV=(e,t={message:`Input not instance of ${e.name}`})=>$S(r=>r instanceof e,t),jr=kr.create,BS=di.create,IV=Bu.create,PV=ui.create,zS=Gl.create,_V=Hi.create,RV=Vu.create,MV=Yl.create,OV=Zl.create,DV=so.create,LV=$i.create,VV=js.create,FV=Fu.create,$V=Er.create,Yx=Nt.create,BV=Nt.strictCreate,zV=Ql.create,HV=vm.create,UV=Xl.create,WV=Zr.create,qV=Jl.create,KV=$u.create,GV=Ui.create,YV=qa.create,ZV=ec.create,QV=tc.create,HS=mi.create,XV=nc.create,JV=io.create,Vj=_r.create,eF=Ur.create,tF=fi.create,nF=_r.createWithPreprocess,rF=jc.create,sF=()=>jr().optional(),iF=()=>BS().optional(),aF=()=>zS().optional(),oF={string:(e=>kr.create({...e,coerce:!0})),number:(e=>di.create({...e,coerce:!0})),boolean:(e=>Gl.create({...e,coerce:!0})),bigint:(e=>ui.create({...e,coerce:!0})),date:(e=>Hi.create({...e,coerce:!0}))},lF=He;var Mi=Object.freeze({__proto__:null,defaultErrorMap:ro,setErrorMap:dV,getErrorMap:Ou,makeIssue:Du,EMPTY_PATH:uV,addIssueToContext:Ne,ParseStatus:pn,INVALID:He,DIRTY:Ba,OK:Sn,isAborted:og,isDirty:lg,isValid:ql,isAsync:Kl,get util(){return Je},get objectUtil(){return ag},ZodParsedType:ke,getParsedType:ei,ZodType:Ye,datetimeRegex:VS,ZodString:kr,ZodNumber:di,ZodBigInt:ui,ZodBoolean:Gl,ZodDate:Hi,ZodSymbol:Vu,ZodUndefined:Yl,ZodNull:Zl,ZodAny:so,ZodUnknown:$i,ZodNever:js,ZodVoid:Fu,ZodArray:Er,ZodObject:Nt,ZodUnion:Ql,ZodDiscriminatedUnion:vm,ZodIntersection:Xl,ZodTuple:Zr,ZodRecord:Jl,ZodMap:$u,ZodSet:Ui,ZodFunction:qa,ZodLazy:ec,ZodLiteral:tc,ZodEnum:mi,ZodNativeEnum:nc,ZodPromise:io,ZodEffects:_r,ZodTransformer:_r,ZodOptional:Ur,ZodNullable:fi,ZodDefault:rc,ZodCatch:sc,ZodNaN:Bu,BRAND:AV,ZodBranded:Gx,ZodPipeline:jc,ZodReadonly:ic,
vendor: 9,838 bytes, lines 21-36
21custom:$S,Schema:Ye,ZodSchema:Ye,late:EV,get ZodFirstPartyTypeKind(){return ze},coerce:oF,any:DV,array:$V,bigint:PV,boolean:zS,date:_V,discriminatedUnion:HV,effect:Vj,enum:HS,function:YV,instanceof:TV,intersection:UV,lazy:ZV,literal:QV,map:KV,nan:IV,nativeEnum:XV,never:VV,null:OV,nullable:tF,number:BS,object:Yx,oboolean:aF,onumber:iF,optional:eF,ostring:sF,pipeline:rF,preprocess:nF,promise:JV,record:qV,set:GV,strictObject:BV,string:jr,symbol:RV,transformer:Vj,tuple:WV,undefined:MV,union:zV,unknown:LV,void:FV,NEVER:lF,ZodIssueCode:fe,quotelessJson:cV,ZodError:qn}),np="focusScope.autoFocusOnMount",rp="focusScope.autoFocusOnUnmount",Fj={bubbles:!1,cancelable:!0},cF="FocusScope",ym=g.forwardRef((e,t)=>{const{loop:r=!1,trapped:s=!1,onMountAutoFocus:a,onUnmountAutoFocus:l,...c}=e,[d,m]=g.useState(null),f=ht(a),p=ht(l),x=g.useRef(null),v=Ze(t,j=>m(j)),b=g.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;g.useEffect(()=>{if(s){let j=function(T){if(b.paused||!d)return;const P=T.target;d.contains(P)?x.current=P:Zs(x.current,{select:!0})},C=function(T){if(b.paused||!d)return;const P=T.relatedTarget;P!==null&&(d.contains(P)||Zs(x.current,{select:!0}))},k=function(T){if(document.activeElement===document.body)for(const I of T)I.removedNodes.length>0&&Zs(d)};document.addEventListener("focusin",j),document.addEventListener("focusout",C);const A=new MutationObserver(k);return d&&A.observe(d,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",j),document.removeEventListener("focusout",C),A.disconnect()}}},[s,d,b.paused]),g.useEffect(()=>{if(d){Bj.add(b);const j=document.activeElement;if(!d.contains(j)){const k=new CustomEvent(np,Fj);d.addEventListener(np,f),d.dispatchEvent(k),k.defaultPrevented||(dF(pF(US(d)),{select:!0}),document.activeElement===j&&Zs(d))}return()=>{d.removeEventListener(np,f),setTimeout(()=>{const k=new CustomEvent(rp,Fj);d.addEventListener(rp,p),d.dispatchEvent(k),k.defaultPrevented||Zs(j??document.body,{select:!0}),d.removeEventListener(rp,p),Bj.remove(b)},0)}}},[d,f,p,b]);const N=g.useCallback(j=>{if(!r&&!s||b.paused)return;const C=j.key==="Tab"&&!j.altKey&&!j.ctrlKey&&!j.metaKey,k=document.activeElement;if(C&&k){const A=j.currentTarget,[T,P]=uF(A);T&&P?!j.shiftKey&&k===P?(j.preventDefault(),r&&Zs(T,{select:!0})):j.shiftKey&&k===T&&(j.preventDefault(),r&&Zs(P,{select:!0})):k===A&&j.preventDefault()}},[r,s,b.paused]);return n.jsx(Le.div,{tabIndex:-1,...c,ref:v,onKeyDown:N})});ym.displayName=cF;function dF(e,{select:t=!1}={}){const r=document.activeElement;for(const s of e)if(Zs(s,{select:t}),document.activeElement!==r)return}function uF(e){const t=US(e),r=$j(t,e),s=$j(t.reverse(),e);return[r,s]}function US(e){const t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:s=>{const a=s.tagName==="INPUT"&&s.type==="hidden";return s.disabled||s.hidden||a?NodeFilter.FILTER_SKIP:s.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function $j(e,t){for(const r of e)if(!mF(r,{upTo:t}))return r}function mF(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 fF(e){return e instanceof HTMLInputElement&&"select"in e}function Zs(e,{select:t=!1}={}){if(e&&e.focus){const r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&fF(e)&&t&&e.select()}}var Bj=hF();function hF(){let e=[];return{add(t){const r=e[0];t!==r&&r?.pause(),e=zj(e,t),e.unshift(t)},remove(t){e=zj(e,t),e[0]?.resume()}}}function zj(e,t){const r=[...e],s=r.indexOf(t);return s!==-1&&r.splice(s,1),r}function pF(e){return e.filter(t=>t.tagName!=="A")}var sp=0;function Zx(){g.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??Hj()),document.body.insertAdjacentElement("beforeend",e[1]??Hj()),sp++,()=>{sp===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),sp--}},[])}function Hj(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var fn=function(){return fn=Object.assign||function(t){for(var r,s=1,a=arguments.length;s<a;s++){r=arguments[s];for(var l in r)Object.prototype.hasOwnProperty.call(r,l)&&(t[l]=r[l])}return t},fn.apply(this,arguments)};function Qx(e,t){var r={};for(var s in e)Object.prototype.hasOwnProperty.call(e,s)&&t.indexOf(s)<0&&(r[s]=e[s]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,s=Object.getOwnPropertySymbols(e);a<s.length;a++)t.indexOf(s[a])<0&&Object.prototype.propertyIsEnumerable.call(e,s[a])&&(r[s[a]]=e[s[a]]);return r}function WS(e,t,r){if(r||arguments.length===2)for(var s=0,a=t.length,l;s<a;s++)(l||!(s in t))&&(l||(l=Array.prototype.slice.call(t,0,s)),l[s]=t[s]);return e.concat(l||Array.prototype.slice.call(t))}var Tl="right-scroll-bar-position",Il="width-before-scroll-bar",gF="with-scroll-bars-hidden",xF="--removed-body-scroll-bar-size";function ip(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function vF(e,t){var r=g.useState(function(){return{value:e,callback:t,facade:{get current(){return r.value},set current(s){var a=r.value;a!==s&&(r.value=s,r.callback(s,a))}}}})[0];return r.callback=t,r.facade}var yF=typeof window<"u"?g.useLayoutEffect:g.useEffect,Uj=new WeakMap;function qS(e,t){var r=vF(null,function(s){return e.forEach(function(a){return ip(a,s)})});return yF(function(){var s=Uj.get(r);if(s){var a=new Set(s),l=new Set(e),c=r.current;a.forEach(function(d){l.has(d)||ip(d,null)}),l.forEach(function(d){a.has(d)||ip(d,c)})}Uj.set(r,e)},[e]),r}function bF(e){return e}function wF(e,t){t===void 0&&(t=bF);var r=[],s=!1,a={read:function(){if(s)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:e},useMedium:function(l){var c=t(l,s);return r.push(c),function(){r=r.filter(function(d){return d!==c})}},assignSyncMedium:function(l){for(s=!0;r.length;){var c=r;r=[],c.forEach(l)}r={push:function(d){return l(d)},filter:function(){return r}}},assignMedium:function(l){s=!0;var c=[];if(r.length){var d=r;r=[],d.forEach(l),c=r}var m=function(){var p=c;c=[],p.forEach(l)},f=function(){return Promise.resolve().then(m)};f(),r={push:function(p){c.push(p),f()},filter:function(p){return c=c.filter(p),r}}}};return a}function KS(e){e===void 0&&(e={});var t=wF(null);return t.options=fn({async:!0,ssr:!1},e),t}var GS=function(e){var t=e.sideCar,r=Qx(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var s=t.read();if(!s)throw new Error("Sidecar medium not found");return g.createElement(s,fn({},r))};GS.isSideCarExport=!0;function YS(e,t){return e.useMedium(t),GS}var ZS=KS(),ap=function(){},bm=g.forwardRef(function(e,t){var r=g.useRef(null),s=g.useState({onScrollCapture:ap,onWheelCapture:ap,onTouchMoveCapture:ap}),a=s[0],l=s[1],c=e.forwardProps,d=e.children,m=e.className,f=e.removeScrollBar,p=e.enabled,x=e.shards,v=e.sideCar,b=e.noIsolation,N=e.inert,j=e.allowPinchZoom,C=e.as,k=C===void 0?"div":C,A=e.gapMode,T=Qx(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),P=v,I=qS([r,t]),L=fn(fn({},T),a);return g.createElement(g.Fragment,null,p&&g.createElement(P,{sideCar:ZS,removeScrollBar:f,shards:x,noIsolation:b,inert:N,setCallbacks:l,allowPinchZoom:!!j,lockRef:r,gapMode:A}),c?g.cloneElement(g.Children.only(d),fn(fn({},L),{ref:I})):g.createElement(k,fn({},L,{className:m,ref:I}),d))});bm.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};bm.classNames={fullWidth:Il,zeroRight:Tl};var jF=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function NF(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=jF();return t&&e.setAttribute("nonce",t),e}function CF(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function SF(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var kF=function(){var e=0,t=null;return{add:function(r){e==0&&(t=NF())&&(CF(t,r),SF(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},AF=function(){var e=kF();return function(t,r){g.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},Xx=function(){var e=AF(),t=function(r){var s=r.styles,a=r.dynamic;return e(s,a),null};return t},EF={left:0,top:0,right:0,gap:0},op=function(e){return parseInt(e||"",10)||0},TF=function(e){var t=window.getComputedStyle(document.body),r=t[e==="padding"?"paddingLeft":"marginLeft"],s=t[e==="padding"?"paddingTop":"marginTop"],a=t[e==="padding"?"paddingRight":"marginRight"];return[op(r),op(s),op(a)]},IF=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return EF;var t=TF(e),r=document.documentElement.clientWidth,s=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,s-r+t[2]-t[0])}},PF=Xx(),Ka="data-scroll-locked",_F=function(e,t,r,s){var a=e.left,l=e.top,c=e.right,d=e.gap;return r===void 0&&(r="margin"),` 22 .`.concat(gF,` { 23 overflow: hidden `).concat(s,`; 24 padding-right: `).concat(d,"px ").concat(s,`; 25 } 26 body[`).concat(Ka,`] { 27 overflow: hidden `).concat(s,`; 28 overscroll-behavior: contain; 29 `).concat([t&&"position: relative ".concat(s,";"),r==="margin"&&` 30 padding-left: `.concat(a,`px; 31 padding-top: `).concat(l,`px; 32 padding-right: `).concat(c,`px; 33 margin-left:0; 34 margin-top:0; 35 margin-right: `).concat(d,"px ").concat(s,`; 36 `),r==="padding"&&"padding-right: ".concat(d,"px ").concat(s,";
36")].filter(Boolean).join(""),` 37 } 38 39 .`).concat(Tl,` { 40 right: `).concat(d,"px ").concat(s,`; 41 } 42 43 .`).concat(Il,` { 44 margin-right: `).concat(d,"px ").concat(s,`; 45 } 46 47 .`).concat(Tl," .").concat(Tl,` { 48 right: 0 `).concat(s,`; 49 } 50 51 .`).concat(Il," .").concat(Il,` { 52 margin-right: 0 `).concat(s,`; 53 } 54 55 body[`).concat(Ka,`] { 56 `).concat(xF,": ").concat(d,`px; 57 } 58`)},Wj=function(){var e=parseInt(document.body.getAttribute(Ka)||"0",10);return isFinite(e)?e:0},RF=function(){g.useEffect(function(){return document.body.setAttribute(Ka,(Wj()+1).toString()),function(){var e=Wj()-1;e<=0?document.body.removeAttribute(Ka):document.body.setAttribute(Ka,e.toString())}},[])},QS=function(e){var t=e.noRelative,r=e.noImportant,s=e.gapMode,a=s===void 0?"margin":s;RF();var l=g.useMemo(function(){return IF(a)},[a]);return g.createElement(PF,{styles:_F(l,!t,a,r?"":"!important")})},dg=!1;if(typeof window<"u")try{var qd=Object.defineProperty({},"passive",{get:function(){return dg=!0,!0}});window.addEventListener("test",qd,qd),window.removeEventListener("test",qd,qd)}catch{dg=!1}var Aa=dg?{passive:!1}:!1,MF=function(e){return e.tagName==="TEXTAREA"},XS=function(e,t){if(!(e instanceof Element))return!1;var r=window.getComputedStyle(e);return r[t]!=="hidden"&&!(r.overflowY===r.overflowX&&!MF(e)&&r[t]==="visible")},OF=function(e){return XS(e,"overflowY")},DF=function(e){return XS(e,"overflowX")},qj=function(e,t){var r=t.ownerDocument,s=t;do{typeof ShadowRoot<"u"&&s instanceof ShadowRoot&&(s=s.host);var a=JS(e,s);if(a){var l=ek(e,s),c=l[1],d=l[2];if(c>d)return!0}s=s.parentNode}while(s&&s!==r.body);return!1},LF=function(e){var t=e.scrollTop,r=e.scrollHeight,s=e.clientHeight;return[t,r,s]},VF=function(e){var t=e.scrollLeft,r=e.scrollWidth,s=e.clientWidth;return[t,r,s]},JS=function(e,t){return e==="v"?OF(t):DF(t)},ek=function(e,t){return e==="v"?LF(t):VF(t)},FF=function(e,t){return e==="h"&&t==="rtl"?-1:1},$F=function(e,t,r,s,a){var l=FF(e,window.getComputedStyle(t).direction),c=l*s,d=r.target,m=t.contains(d),f=!1,p=c>0,x=0,v=0;do{var b=ek(e,d),N=b[0],j=b[1],C=b[2],k=j-C-l*N;(N||k)&&JS(e,d)&&(x+=k,v+=N),d instanceof ShadowRoot?d=d.host:d=d.parentNode}while(!m&&d!==document.body||m&&(t.contains(d)||t===d));return(p&&Math.abs(x)<1||!p&&Math.abs(v)<1)&&(f=!0),f},Kd=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Kj=function(e){return[e.deltaX,e.deltaY]},Gj=function(e){return e&&"current"in e?e.current:e},BF=function(e,t){return e[0]===t[0]&&e[1]===t[1]},zF=function(e){return` 59 .block-interactivity-`.concat(e,` {pointer-events: none;} 60 .allow-interactivity-`).concat(e,` {pointer-events: all;} 61`)},HF=0,Ea=[];function UF(e){var t=g.useRef([]),r=g.useRef([0,0]),s=g.useRef(),a=g.useState(HF++)[0],l=g.useState(Xx)[0],c=g.useRef(e);g.useEffect(function(){c.current=e},[e]),g.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(a));var j=WS([e.lockRef.current],(e.shards||[]).map(Gj),!0).filter(Boolean);return j.forEach(function(C){return C.classList.add("allow-interactivity-".concat(a))}),function(){document.body.classList.remove("block-interactivity-".concat(a)),j.forEach(function(C){return C.classList.remove("allow-interactivity-".concat(a))})}}},[e.inert,e.lockRef.current,e.shards]);var d=g.useCallback(function(j,C){if("touches"in j&&j.touches.length===2||j.type==="wheel"&&j.ctrlKey)return!c.current.allowPinchZoom;var k=Kd(j),A=r.current,T="deltaX"in j?j.deltaX:A[0]-k[0],P="deltaY"in j?j.deltaY:A[1]-k[1],I,L=j.target,$=Math.abs(T)>Math.abs(P)?"h":"v";if("touches"in j&&$==="h"&&L.type==="range")return!1;var z=qj($,L);if(!z)return!0;if(z?I=$:(I=$==="v"?"h":"v",z=qj($,L)),!z)return!1;if(!s.current&&"changedTouches"in j&&(T||P)&&(s.current=I),!I)return!0;var Y=s.current||I;return $F(Y,C,j,Y==="h"?T:P)},[]),m=g.useCallback(function(j){var C=j;if(!(!Ea.length||Ea[Ea.length-1]!==l)){var k="deltaY"in C?Kj(C):Kd(C),A=t.current.filter(function(I){return I.name===C.type&&(I.target===C.target||C.target===I.shadowParent)&&BF(I.delta,k)})[0];if(A&&A.should){C.cancelable&&C.preventDefault();return}
vendor: 4,259 bytes, line 61
61if(!A){var T=(c.current.shards||[]).map(Gj).filter(Boolean).filter(function(I){return I.contains(C.target)}),P=T.length>0?d(C,T[0]):!c.current.noIsolation;P&&C.cancelable&&C.preventDefault()}}},[]),f=g.useCallback(function(j,C,k,A){var T={name:j,delta:C,target:k,should:A,shadowParent:WF(k)};t.current.push(T),setTimeout(function(){t.current=t.current.filter(function(P){return P!==T})},1)},[]),p=g.useCallback(function(j){r.current=Kd(j),s.current=void 0},[]),x=g.useCallback(function(j){f(j.type,Kj(j),j.target,d(j,e.lockRef.current))},[]),v=g.useCallback(function(j){f(j.type,Kd(j),j.target,d(j,e.lockRef.current))},[]);g.useEffect(function(){return Ea.push(l),e.setCallbacks({onScrollCapture:x,onWheelCapture:x,onTouchMoveCapture:v}),document.addEventListener("wheel",m,Aa),document.addEventListener("touchmove",m,Aa),document.addEventListener("touchstart",p,Aa),function(){Ea=Ea.filter(function(j){return j!==l}),document.removeEventListener("wheel",m,Aa),document.removeEventListener("touchmove",m,Aa),document.removeEventListener("touchstart",p,Aa)}},[]);var b=e.removeScrollBar,N=e.inert;return g.createElement(g.Fragment,null,N?g.createElement(l,{styles:zF(a)}):null,b?g.createElement(QS,{gapMode:e.gapMode}):null)}function WF(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const qF=YS(ZS,UF);var wm=g.forwardRef(function(e,t){return g.createElement(bm,fn({},e,{ref:t,sideCar:qF}))});wm.classNames=bm.classNames;var KF=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Ta=new WeakMap,Gd=new WeakMap,Yd={},lp=0,tk=function(e){return e&&(e.host||tk(e.parentNode))},GF=function(e,t){return t.map(function(r){if(e.contains(r))return r;var s=tk(r);return s&&e.contains(s)?s:(console.error("aria-hidden",r,"in not contained inside",e,". Doing nothing"),null)}).filter(function(r){return!!r})},YF=function(e,t,r,s){var a=GF(t,Array.isArray(e)?e:[e]);Yd[r]||(Yd[r]=new WeakMap);var l=Yd[r],c=[],d=new Set,m=new Set(a),f=function(x){!x||d.has(x)||(d.add(x),f(x.parentNode))};a.forEach(f);var p=function(x){!x||m.has(x)||Array.prototype.forEach.call(x.children,function(v){if(d.has(v))p(v);else try{var b=v.getAttribute(s),N=b!==null&&b!=="false",j=(Ta.get(v)||0)+1,C=(l.get(v)||0)+1;Ta.set(v,j),l.set(v,C),c.push(v),j===1&&N&&Gd.set(v,!0),C===1&&v.setAttribute(r,"true"),N||v.setAttribute(s,"true")}catch(k){console.error("aria-hidden: cannot operate on ",v,k)}})};return p(t),d.clear(),lp++,function(){c.forEach(function(x){var v=Ta.get(x)-1,b=l.get(x)-1;Ta.set(x,v),l.set(x,b),v||(Gd.has(x)||x.removeAttribute(s),Gd.delete(x)),b||x.removeAttribute(r)}),lp--,lp||(Ta=new WeakMap,Ta=new WeakMap,Gd=new WeakMap,Yd={})}},jm=function(e,t,r){r===void 0&&(r="data-aria-hidden");var s=Array.from(Array.isArray(e)?e:[e]),a=KF(e);return a?(s.push.apply(s,Array.from(a.querySelectorAll("[aria-live]"))),YF(s,a,r,"aria-hidden")):function(){return null}},Jx="Dialog",[nk]=Ns(Jx),[ZF,Rr]=nk(Jx),rk=e=>{const{__scopeDialog:t,children:r,open:s,defaultOpen:a,onOpenChange:l,modal:c=!0}=e,d=g.useRef(null),m=g.useRef(null),[f=!1,p]=Wr({prop:s,defaultProp:a,onChange:l});return n.jsx(ZF,{scope:t,triggerRef:d,contentRef:m,contentId:Ar(),titleId:Ar(),descriptionId:Ar(),open:f,onOpenChange:p,onOpenToggle:g.useCallback(()=>p(x=>!x),[p]),modal:c,children:r})};rk.displayName=Jx;var sk="DialogTrigger",QF=g.forwardRef((e,t)=>{const{__scopeDialog:r,...s}=e,a=Rr(sk,r),l=Ze(t,a.triggerRef);return n.jsx(Le.button,{type:"button","aria-haspopup":"dialog","aria-expanded":a.open,"aria-controls":a.contentId,"data-state":nv(a.open),...s,ref:l,onClick:Se(e.onClick,a.onOpenToggle)})});QF.displayName=sk;var ev="DialogPortal",[XF,ik]=nk(ev,{forceMount:void 0}),ak=e=>{const{__scopeDialog:t,forceMount:r,children:s,container:a}=e,l=Rr(ev,t);return n.jsx(XF,{scope:t,forceMount:r,children:g.Children.map(s,c=>n.jsx(sn,{present:r||l.open,children:n.jsx(dc,{asChild:!0,container:a,children:c})}))})};ak.displayName=ev;var zu="DialogOverlay",ok=g.forwardRef((e,t)=>{const r=ik(zu,e.__scopeDialog),{forceMount:s=r.forceMount,...a}=e,l=Rr(zu,e.__scopeDialog);return l.modal?n.jsx(sn,{present:s||l.open,children:n.jsx(JF,{...a,ref:t})}):null});ok.displayName=zu;var JF=g.forwardRef((e,t)=>
vendor: 4,509 bytes, lines 61-65
61{const{__scopeDialog:r,...s}=e,a=Rr(zu,r);return n.jsx(wm,{as:vs,allowPinchZoom:!0,shards:[a.contentRef],children:n.jsx(Le.div,{"data-state":nv(a.open),...s,ref:t,style:{pointerEvents:"auto",...s.style}})})}),Wi="DialogContent",lk=g.forwardRef((e,t)=>{const r=ik(Wi,e.__scopeDialog),{forceMount:s=r.forceMount,...a}=e,l=Rr(Wi,e.__scopeDialog);return n.jsx(sn,{present:s||l.open,children:l.modal?n.jsx(e$,{...a,ref:t}):n.jsx(t$,{...a,ref:t})})});lk.displayName=Wi;var e$=g.forwardRef((e,t)=>{const r=Rr(Wi,e.__scopeDialog),s=g.useRef(null),a=Ze(t,r.contentRef,s);return g.useEffect(()=>{const l=s.current;if(l)return jm(l)},[]),n.jsx(ck,{...e,ref:a,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Se(e.onCloseAutoFocus,l=>{l.preventDefault(),r.triggerRef.current?.focus()}),onPointerDownOutside:Se(e.onPointerDownOutside,l=>{const c=l.detail.originalEvent,d=c.button===0&&c.ctrlKey===!0;(c.button===2||d)&&l.preventDefault()}),onFocusOutside:Se(e.onFocusOutside,l=>l.preventDefault())})}),t$=g.forwardRef((e,t)=>{const r=Rr(Wi,e.__scopeDialog),s=g.useRef(!1),a=g.useRef(!1);return n.jsx(ck,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:l=>{e.onCloseAutoFocus?.(l),l.defaultPrevented||(s.current||r.triggerRef.current?.focus(),l.preventDefault()),s.current=!1,a.current=!1},onInteractOutside:l=>{e.onInteractOutside?.(l),l.defaultPrevented||(s.current=!0,l.detail.originalEvent.type==="pointerdown"&&(a.current=!0));const c=l.target;r.triggerRef.current?.contains(c)&&l.preventDefault(),l.detail.originalEvent.type==="focusin"&&a.current&&l.preventDefault()}})}),ck=g.forwardRef((e,t)=>{const{__scopeDialog:r,trapFocus:s,onOpenAutoFocus:a,onCloseAutoFocus:l,...c}=e,d=Rr(Wi,r),m=g.useRef(null),f=Ze(t,m);return Zx(),n.jsxs(n.Fragment,{children:[n.jsx(ym,{asChild:!0,loop:!0,trapped:s,onMountAutoFocus:a,onUnmountAutoFocus:l,children:n.jsx(Zi,{role:"dialog",id:d.contentId,"aria-describedby":d.descriptionId,"aria-labelledby":d.titleId,"data-state":nv(d.open),...c,ref:f,onDismiss:()=>d.onOpenChange(!1)})}),n.jsxs(n.Fragment,{children:[n.jsx(n$,{titleId:d.titleId}),n.jsx(s$,{contentRef:m,descriptionId:d.descriptionId})]})]})}),tv="DialogTitle",dk=g.forwardRef((e,t)=>{const{__scopeDialog:r,...s}=e,a=Rr(tv,r);return n.jsx(Le.h2,{id:a.titleId,...s,ref:t})});dk.displayName=tv;var uk="DialogDescription",mk=g.forwardRef((e,t)=>{const{__scopeDialog:r,...s}=e,a=Rr(uk,r);return n.jsx(Le.p,{id:a.descriptionId,...s,ref:t})});mk.displayName=uk;var fk="DialogClose",hk=g.forwardRef((e,t)=>{const{__scopeDialog:r,...s}=e,a=Rr(fk,r);return n.jsx(Le.button,{type:"button",...s,ref:t,onClick:Se(e.onClick,()=>a.onOpenChange(!1))})});hk.displayName=fk;function nv(e){return e?"open":"closed"}var pk="DialogTitleWarning",[HB,gk]=GI(pk,{contentName:Wi,titleName:tv,docsSlug:"dialog"}),n$=({titleId:e})=>{const t=gk(pk),r=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users. 62 63If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component. 64 65For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return g.useEffect(()=>{e&&(document.getElementById(e)||console.error(r))},[r,e]),null},r$="DialogDescriptionWarning",s$=({contentRef:e,descriptionId:t})=>{const s=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${gk(r$).contentName}}.`;return g.useEffect(()=>{const a=e.current?.getAttribute("aria-describedby");t&&a&&(document.getElementById(t)||console.warn(s))},[s,e,t]),null},i$=rk,a$=ak,xk=ok,vk=lk,yk=dk,bk=mk,wk=hk;const o$=i$,l$=a$,c$=wk,jk=g.forwardRef(({className:e,...t},r)=>n.jsx(xk,{ref:r,className:Ee("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}));jk.displayName=xk.displayName;const Nk=g.forwardRef(({className:e,children:t,...r},s)=>n.jsxs(l$,{children:[n.jsx(jk,{}),n.jsxs(vk,{ref:s,className:Ee("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
65nded-lg",e),...r,children:[t,n.jsxs(wk,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[n.jsx(uo,{className:"h-4 w-4"}),n.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));Nk.displayName=vk.displayName;const Ck=({className:e,...t})=>n.jsx("div",{className:Ee("flex flex-col space-y-1.5 text-center sm:text-left",e),...t});Ck.displayName="DialogHeader";const Sk=g.forwardRef(({className:e,...t},r)=>n.jsx(yk,{ref:r,className:Ee("text-lg font-semibold leading-none tracking-tight",e),...t}));Sk.displayName=yk.displayName;const kk=g.forwardRef(({className:e,...t},r)=>n.jsx(bk,{ref:r,className:Ee("text-sm text-muted-foreground",e),...t}));kk.displayName=bk.displayName;var d$="Label",Ak=g.forwardRef((e,t)=>n.jsx(Le.label,{...e,ref:t,onMouseDown:r=>{r.target.closest("button, input, select, textarea")||(e.onMouseDown?.(r),!r.defaultPrevented&&r.detail>1&&r.preventDefault())}}));Ak.displayName=d$;var Ek=Ak;const u$=mc("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),Tk=g.forwardRef(({className:e,...t},r)=>n.jsx(Ek,{ref:r,className:Ee(u$(),e),...t}));Tk.displayName=Ek.displayName;const rv=U8,Ik=g.createContext({}),un=({...e})=>n.jsx(Ik.Provider,{value:{name:e.name},children:n.jsx(G8,{...e})}),Nm=()=>{const e=g.useContext(Ik),t=g.useContext(Pk),{getFieldState:r,formState:s}=xm(),a=r(e.name,s);if(!e)throw new Error("useFormField should be used within <FormField>");const{id:l}=t;return{id:l,name:e.name,formItemId:`${l}-form-item`,formDescriptionId:`${l}-form-item-description`,formMessageId:`${l}-form-item-message`,...a}},Pk=g.createContext({}),en=g.forwardRef(({className:e,...t},r)=>{const s=g.useId();return n.jsx(Pk.Provider,{value:{id:s},children:n.jsx("div",{ref:r,className:Ee("space-y-2",e),...t})})});en.displayName="FormItem";const mn=g.forwardRef(({className:e,...t},r)=>{const{error:s,formItemId:a}=Nm();return n.jsx(Tk,{ref:r,className:Ee(s&&"text-destructive",e),htmlFor:a,...t})});mn.displayName="FormLabel";const tn=g.forwardRef(({...e},t)=>{const{error:r,formItemId:s,formDescriptionId:a,formMessageId:l}=Nm();return n.jsx(vs,{ref:t,id:s,"aria-describedby":r?`${a} ${l}`:`${a}`,"aria-invalid":!!r,...e})});tn.displayName="FormControl";const m$=g.forwardRef(({className:e,...t},r)=>{const{formDescriptionId:s}=Nm();return n.jsx("p",{ref:r,id:s,className:Ee("text-sm text-muted-foreground",e),...t})});m$.displayName="FormDescription";const nn=g.forwardRef(({className:e,children:t,...r},s)=>{const{error:a,formMessageId:l}=Nm(),c=a?String(a?.message):t;return c?n.jsx("p",{ref:s,id:l,className:Ee("text-sm font-medium text-destructive",e),...r,children:c}):null});nn.displayName="FormMessage";const Cr=g.forwardRef(({className:e,type:t,...r},s)=>n.jsx("input",{type:t,className:Ee("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:s,...r}));Cr.displayName="Input";const _k=g.forwardRef(({className:e,...t},r)=>n.jsx("textarea",{className:Ee("flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-sm r
65ing-offset-background 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",e),ref:r,...t}));_k.displayName="Textarea";function ug(e,[t,r]){return Math.min(r,Math.max(t,e))}var f$=[" ","Enter","ArrowUp","ArrowDown"],h$=[" ","Enter"],Nc="Select",[Cm,Sm,p$]=cc(Nc),[bo]=Ns(Nc,[p$,po]),km=po(),[g$,gi]=bo(Nc),[x$,v$]=bo(Nc),Rk=e=>{const{__scopeSelect:t,children:r,open:s,defaultOpen:a,onOpenChange:l,value:c,defaultValue:d,onValueChange:m,dir:f,name:p,autoComplete:x,disabled:v,required:b,form:N}=e,j=km(t),[C,k]=g.useState(null),[A,T]=g.useState(null),[P,I]=g.useState(!1),L=hm(f),[$=!1,z]=Wr({prop:s,defaultProp:a,onChange:l}),[Y,ee]=Wr({prop:c,defaultProp:d,onChange:m}),ge=g.useRef(null),Q=C?N||!!C.closest("form"):!0,[de,J]=g.useState(new Set),be=Array.from(de).map(me=>me.props.value).join(";");return n.jsx(AN,{...j,children:n.jsxs(g$,{required:b,scope:t,trigger:C,onTriggerChange:k,valueNode:A,onValueNodeChange:T,valueNodeHasChildren:P,onValueNodeHasChildrenChange:I,contentId:Ar(),value:Y,onValueChange:ee,open:$,onOpenChange:z,dir:L,triggerPointerDownPosRef:ge,disabled:v,children:[n.jsx(Cm.Provider,{scope:t,children:n.jsx(x$,{scope:e.__scopeSelect,onNativeOptionAdd:g.useCallback(me=>{J(W=>new Set(W).add(me))},[]),onNativeOptionRemove:g.useCallback(me=>{J(W=>{const F=new Set(W);return F.delete(me),F})},[]),children:r})}),Q?n.jsxs(sA,{"aria-hidden":!0,required:b,tabIndex:-1,name:p,autoComplete:x,value:Y,onChange:me=>ee(me.target.value),disabled:v,form:N,children:[Y===void 0?n.jsx("option",{value:""}):null,Array.from(de)]},be):null]})})};Rk.displayName=Nc;var Mk="SelectTrigger",Ok=g.forwardRef((e,t)=>{const{__scopeSelect:r,disabled:s=!1,...a}=e,l=km(r),c=gi(Mk,r),d=c.disabled||s,m=Ze(t,c.onTriggerChange),f=Sm(r),p=g.useRef("touch"),[x,v,b]=iA(j=>{const C=f().filter(T=>!T.disabled),k=C.find(T=>T.value===c.value),A=aA(C,j,k);A!==void 0&&c.onValueChange(A.value)}),N=j=>{d||(c.onOpenChange(!0),b()),j&&(c.triggerPointerDownPosRef.current={x:Math.round(j.pageX),y:Math.round(j.pageY)})};return n.jsx(nm,{asChild:!0,...l,children:n.jsx(Le.button,{type:"button",role:"combobox","aria-controls":c.contentId,"aria-expanded":c.open,"aria-required":c.required,"aria-autocomplete":"none",dir:c.dir,"data-state":c.open?"open":"closed",disabled:d,"data-disabled":d?"":void 0,"data-placeholder":rA(c.value)?"":void 0,...a,ref:m,onClick:Se(a.onClick,j=>{j.currentTarget.focus(),p.current!=="mouse"&&N(j)}),onPointerDown:Se(a.onPointerDown,j=>{p.current=j.pointerType;const C=j.target;C.hasPointerCapture(j.pointerId)&&C.releasePointerCapture(j.pointerId),j.button===0&&j.ctrlKey===!1&&j.pointerType==="mouse"&&(N(j),j.preventDefault())}),onKeyDown:Se(a.onKeyDown,j=>{const C=x.current!=="";!(j.ctrlKey||j.altKey||j.metaKey)&&j.key.length===1&&v(j.key),!(C&&j.key===" ")&&f$.includes(j.key)&&(N(),j.preventDefault())})})})});Ok.displayName=Mk;var Dk="SelectValue",Lk=g.forwardRef((e,t)=>{const{__scopeSelect:r,className:s,style:a,children:l,placeholder:c="",...d}=e,m=gi(Dk,r),{onValueNodeHasChildrenChange:f}=m,p=l!==void 0,x=Ze(t,m.onValueNodeChange);return Ot(()=>{f(p)},[f,p]),n.jsx(Le.span,{...d,ref:x,style:{pointerEvents:"none"},children:rA(m.value)?n.jsx(n.Fragment,{children:c}):l})});Lk.displayName=Dk;var y$="SelectIcon",Vk=g.forwardRef((e,t)=>{const{__scopeSelect:r,children:s,...a}=e;return n.jsx(Le.span,{"aria-hidden":!0,...a,ref:t,children:s||"â¼"})});Vk.displayName=y$;var b$="SelectPortal",Fk=e=>n.jsx(dc,{asChild:!0,...e});Fk.displayName=b$;var qi="SelectContent",$k=g.forwardRef((e,t)=>{const r=gi(qi,e.__scopeSelect),[s,a]=g.useState();if(Ot(()=>{a(new DocumentFragment)},[]),!r.open){const l=s;return l?hi.createPortal(n.jsx(Bk,{scope:e.__scopeSelect,children:n.jsx(Cm.
vendor: 4,173 bytes, line 65
65Slot,{scope:e.__scopeSelect,children:n.jsx("div",{children:e.children})})}),l):null}return n.jsx(zk,{...e,ref:t})});$k.displayName=qi;var br=10,[Bk,xi]=bo(qi),w$="SelectContentImpl",zk=g.forwardRef((e,t)=>{const{__scopeSelect:r,position:s="item-aligned",onCloseAutoFocus:a,onEscapeKeyDown:l,onPointerDownOutside:c,side:d,sideOffset:m,align:f,alignOffset:p,arrowPadding:x,collisionBoundary:v,collisionPadding:b,sticky:N,hideWhenDetached:j,avoidCollisions:C,...k}=e,A=gi(qi,r),[T,P]=g.useState(null),[I,L]=g.useState(null),$=Ze(t,ie=>P(ie)),[z,Y]=g.useState(null),[ee,ge]=g.useState(null),Q=Sm(r),[de,J]=g.useState(!1),be=g.useRef(!1);g.useEffect(()=>{if(T)return jm(T)},[T]),Zx();const me=g.useCallback(ie=>{const[je,...Me]=Q().map(at=>at.ref.current),[Ve]=Me.slice(-1),Xe=document.activeElement;for(const at of ie)if(at===Xe||(at?.scrollIntoView({block:"nearest"}),at===je&&I&&(I.scrollTop=0),at===Ve&&I&&(I.scrollTop=I.scrollHeight),at?.focus(),document.activeElement!==Xe))return},[Q,I]),W=g.useCallback(()=>me([z,T]),[me,z,T]);g.useEffect(()=>{de&&W()},[de,W]);const{onOpenChange:F,triggerPointerDownPosRef:Z}=A;g.useEffect(()=>{if(T){let ie={x:0,y:0};const je=Ve=>{ie={x:Math.abs(Math.round(Ve.pageX)-(Z.current?.x??0)),y:Math.abs(Math.round(Ve.pageY)-(Z.current?.y??0))}},Me=Ve=>{ie.x<=10&&ie.y<=10?Ve.preventDefault():T.contains(Ve.target)||F(!1),document.removeEventListener("pointermove",je),Z.current=null};return Z.current!==null&&(document.addEventListener("pointermove",je),document.addEventListener("pointerup",Me,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",je),document.removeEventListener("pointerup",Me,{capture:!0})}}},[T,F,Z]),g.useEffect(()=>{const ie=()=>F(!1);return window.addEventListener("blur",ie),window.addEventListener("resize",ie),()=>{window.removeEventListener("blur",ie),window.removeEventListener("resize",ie)}},[F]);const[re,M]=iA(ie=>{const je=Q().filter(Xe=>!Xe.disabled),Me=je.find(Xe=>Xe.ref.current===document.activeElement),Ve=aA(je,ie,Me);Ve&&setTimeout(()=>Ve.ref.current.focus())}),R=g.useCallback((ie,je,Me)=>{const Ve=!be.current&&!Me;(A.value!==void 0&&A.value===je||Ve)&&(Y(ie),Ve&&(be.current=!0))},[A.value]),X=g.useCallback(()=>T?.focus(),[T]),le=g.useCallback((ie,je,Me)=>{const Ve=!be.current&&!Me;(A.value!==void 0&&A.value===je||Ve)&&ge(ie)},[A.value]),oe=s==="popper"?mg:Hk,he=oe===mg?{side:d,sideOffset:m,align:f,alignOffset:p,arrowPadding:x,collisionBoundary:v,collisionPadding:b,sticky:N,hideWhenDetached:j,avoidCollisions:C}:{};return n.jsx(Bk,{scope:r,content:T,viewport:I,onViewportChange:L,itemRefCallback:R,selectedItem:z,onItemLeave:X,itemTextRefCallback:le,focusSelectedItem:W,selectedItemText:ee,position:s,isPositioned:de,searchRef:re,children:n.jsx(wm,{as:vs,allowPinchZoom:!0,children:n.jsx(ym,{asChild:!0,trapped:A.open,onMountAutoFocus:ie=>{ie.preventDefault()},onUnmountAutoFocus:Se(a,ie=>{A.trigger?.focus({preventScroll:!0}),ie.preventDefault()}),children:n.jsx(Zi,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:l,onPointerDownOutside:c,onFocusOutside:ie=>ie.preventDefault(),onDismiss:()=>A.onOpenChange(!1),children:n.jsx(oe,{role:"listbox",id:A.contentId,"data-state":A.open?"open":"closed",dir:A.dir,onContextMenu:ie=>ie.preventDefault(),...k,...he,onPlaced:()=>J(!0),ref:$,style:{display:"flex",flexDirection:"column",outline:"none",...k.style},onKeyDown:Se(k.onKeyDown,ie=>{const je=ie.ctrlKey||ie.altKey||ie.metaKey;if(ie.key==="Tab"&&ie.preventDefault(),!je&&ie.key.length===1&&M(ie.key),["ArrowUp","ArrowDown","Home","End"].includes(ie.key)){let Ve=Q().filter(Xe=>!Xe.disabled).map(Xe=>Xe.ref.current);if(["ArrowUp","End"].includes(ie.key)&&(Ve=Ve.slice().reverse()),["ArrowUp","ArrowDown"].includes(ie.key)){const Xe=ie.target,at=Ve.indexOf(Xe);Ve=Ve.slice(at+1)}setTimeout(()=>me(Ve)),ie.preventDefault()}})})})})})})});zk.displayName=w$;var j$="SelectItemAlignedPosition",Hk=g.forwardRef((e,t)=>{const{__scopeSelect:r,onPlaced:s,...a}=e,l=gi(qi,r),c=xi(qi,r),[d,m]=g.useState(null),[f,p]=g.useState(null),x=Ze(t,$=>p($)),v=Sm(r),b=g.useRef(!1),N=g.useRef(!0),{viewport:j,selectedItem:C,selectedItemText:k,focusSelectedItem:A}=c,T=g.useCallback(()=>
vendor: 10,201 bytes, line 65
65{if(l.trigger&&l.valueNode&&d&&f&&j&&C&&k){const $=l.trigger.getBoundingClientRect(),z=f.getBoundingClientRect(),Y=l.valueNode.getBoundingClientRect(),ee=k.getBoundingClientRect();if(l.dir!=="rtl"){const Xe=ee.left-z.left,at=Y.left-Xe,St=$.left-at,Yt=$.width+St,Mr=Math.max(Yt,z.width),An=window.innerWidth-br,Or=ug(at,[br,Math.max(br,An-Mr)]);d.style.minWidth=Yt+"px",d.style.left=Or+"px"}else{const Xe=z.right-ee.right,at=window.innerWidth-Y.right-Xe,St=window.innerWidth-$.right-at,Yt=$.width+St,Mr=Math.max(Yt,z.width),An=window.innerWidth-br,Or=ug(at,[br,Math.max(br,An-Mr)]);d.style.minWidth=Yt+"px",d.style.right=Or+"px"}const ge=v(),Q=window.innerHeight-br*2,de=j.scrollHeight,J=window.getComputedStyle(f),be=parseInt(J.borderTopWidth,10),me=parseInt(J.paddingTop,10),W=parseInt(J.borderBottomWidth,10),F=parseInt(J.paddingBottom,10),Z=be+me+de+F+W,re=Math.min(C.offsetHeight*5,Z),M=window.getComputedStyle(j),R=parseInt(M.paddingTop,10),X=parseInt(M.paddingBottom,10),le=$.top+$.height/2-br,oe=Q-le,he=C.offsetHeight/2,ie=C.offsetTop+he,je=be+me+ie,Me=Z-je;if(je<=le){const Xe=ge.length>0&&C===ge[ge.length-1].ref.current;d.style.bottom="0px";const at=f.clientHeight-j.offsetTop-j.offsetHeight,St=Math.max(oe,he+(Xe?X:0)+at+W),Yt=je+St;d.style.height=Yt+"px"}else{const Xe=ge.length>0&&C===ge[0].ref.current;d.style.top="0px";const St=Math.max(le,be+j.offsetTop+(Xe?R:0)+he)+Me;d.style.height=St+"px",j.scrollTop=je-le+j.offsetTop}d.style.margin=`${br}px 0`,d.style.minHeight=re+"px",d.style.maxHeight=Q+"px",s?.(),requestAnimationFrame(()=>b.current=!0)}},[v,l.trigger,l.valueNode,d,f,j,C,k,l.dir,s]);Ot(()=>T(),[T]);const[P,I]=g.useState();Ot(()=>{f&&I(window.getComputedStyle(f).zIndex)},[f]);const L=g.useCallback($=>{$&&N.current===!0&&(T(),A?.(),N.current=!1)},[T,A]);return n.jsx(C$,{scope:r,contentWrapper:d,shouldExpandOnScrollRef:b,onScrollButtonChange:L,children:n.jsx("div",{ref:m,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:P},children:n.jsx(Le.div,{...a,ref:x,style:{boxSizing:"border-box",maxHeight:"100%",...a.style}})})})});Hk.displayName=j$;var N$="SelectPopperPosition",mg=g.forwardRef((e,t)=>{const{__scopeSelect:r,align:s="start",collisionPadding:a=br,...l}=e,c=km(r);return n.jsx(zg,{...c,...l,ref:t,align:s,collisionPadding:a,style:{boxSizing:"border-box",...l.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});mg.displayName=N$;var[C$,sv]=bo(qi,{}),fg="SelectViewport",Uk=g.forwardRef((e,t)=>{const{__scopeSelect:r,nonce:s,...a}=e,l=xi(fg,r),c=sv(fg,r),d=Ze(t,l.onViewportChange),m=g.useRef(0);return n.jsxs(n.Fragment,{children:[n.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:s}),n.jsx(Cm.Slot,{scope:r,children:n.jsx(Le.div,{"data-radix-select-viewport":"",role:"presentation",...a,ref:d,style:{position:"relative",flex:1,overflow:"hidden auto",...a.style},onScroll:Se(a.onScroll,f=>{const p=f.currentTarget,{contentWrapper:x,shouldExpandOnScrollRef:v}=c;if(v?.current&&x){const b=Math.abs(m.current-p.scrollTop);if(b>0){const N=window.innerHeight-br*2,j=parseFloat(x.style.minHeight),C=parseFloat(x.style.height),k=Math.max(j,C);if(k<N){const A=k+b,T=Math.min(N,A),P=A-T;x.style.height=T+"px",x.style.bottom==="0px"&&(p.scrollTop=P>0?P:0,x.style.justifyContent="flex-end")}}}m.current=p.scrollTop})})})]})});Uk.displayName=fg;var Wk="SelectGroup",[S$,k$]=bo(Wk),A$=g.forwardRef((e,t)=>{const{__scopeSelect:r,...s}=e,a=Ar();return n.jsx(S$,{scope:r,id:a,children:n.jsx(Le.div,{role:"group","aria-labelledby":a,...s,ref:t})})});A$.displayName=Wk;var qk="SelectLabel",Kk=g.forwardRef((e,t)=>{const{__scopeSelect:r,...s}=e,a=k$(qk,r);return n.jsx(Le.div,{id:a.id,...s,ref:t})});Kk.displayName=qk;var Hu="SelectItem",[E$,Gk]=bo(Hu),Yk=g.forwardRef((e,t)=>{const{__scopeSelect:r,value:s,disabled:a=!1,textValue:l,...c}=e,d=gi(Hu,r),m=xi(Hu,r),f=d.value===s,[p,x]=g.useState(l??""),[v,b]=g.useState(!1),N=Ze(t,A=>m.itemRefCallback?.(A,s,a)),j=Ar(),C=g.useRef("touch"),k=()=>{a||(d.onValueChange(s),d.onOpenChange(!1))};if(s==="")throw new Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return n.jsx(E$,{scope:r,value:s,disabled:a,textId:j,isSelected:f,onItemTextChange:g.useCallback(A=>{x(T=>T||(A?.textContent??"").trim())},[]),children:n.jsx(Cm.ItemSlot,{scope:r,value:s,disabled:a,textValue:p,children:n.jsx(Le.div,{role:"option","aria-labelledby":j,"data-highlighted":v?"":void 0,"aria-selected":f&&v,"data-state":f?"checked":"unchecked","aria-disabled":a||void 0,"data-disabled":a?"":void 0,tabIndex:a?void 0:-1,...c,ref:N,onFocus:Se(c.onFocus,()=>b(!0)),onBlur:Se(c.onBlur,()=>b(!1)),onClick:Se(c.onClick,()=>{C.current!=="mouse"&&k()}),onPointerUp:Se(c.onPointerUp,()=>{C.current==="mouse"&&k()}),onPointerDown:Se(c.onPointerDown,A=>{C.current=A.pointerType}),onPointerMove:Se(c.onPointerMove,A=>{C.current=A.pointerType,a?m.onItemLeave?.():C.current==="mouse"&&A.currentTarget.focus({preventScroll:!0})}),onPointerLeave:Se(c.onPointerLeave,A=>{A.currentTarget===document.activeElement&&m.onItemLeave?.()}),onKeyDown:Se(c.onKeyDown,A=>{m.searchRef?.current!==""&&A.key===" "||(h$.includes(A.key)&&k(),A.key===" "&&A.preventDefault())})})})})});Yk.displayName=Hu;var yl="SelectItemText",Zk=g.forwardRef((e,t)=>{const{__scopeSelect:r,className:s,style:a,...l}=e,c=gi(yl,r),d=xi(yl,r),m=Gk(yl,r),f=v$(yl,r),[p,x]=g.useState(null),v=Ze(t,k=>x(k),m.onItemTextChange,k=>d.itemTextRefCallback?.(k,m.value,m.disabled)),b=p?.textContent,N=g.useMemo(()=>n.jsx("option",{value:m.value,disabled:m.disabled,children:b},m.value),[m.disabled,m.value,b]),{onNativeOptionAdd:j,onNativeOptionRemove:C}=f;return Ot(()=>(j(N),()=>C(N)),[j,C,N]),n.jsxs(n.Fragment,{children:[n.jsx(Le.span,{id:m.textId,...l,ref:v}),m.isSelected&&c.valueNode&&!c.valueNodeHasChildren?hi.createPortal(l.children,c.valueNode):null]})});Zk.displayName=yl;var Qk="SelectItemIndicator",Xk=g.forwardRef((e,t)=>{const{__scopeSelect:r,...s}=e;return Gk(Qk,r).isSelected?n.jsx(Le.span,{"aria-hidden":!0,...s,ref:t}):null});Xk.displayName=Qk;var hg="SelectScrollUpButton",Jk=g.forwardRef((e,t)=>{const r=xi(hg,e.__scopeSelect),s=sv(hg,e.__scopeSelect),[a,l]=g.useState(!1),c=Ze(t,s.onScrollButtonChange);return Ot(()=>{if(r.viewport&&r.isPositioned){let d=function(){const f=m.scrollTop>0;l(f)};const m=r.viewport;return d(),m.addEventListener("scroll",d),()=>m.removeEventListener("scroll",d)}},[r.viewport,r.isPositioned]),a?n.jsx(tA,{...e,ref:c,onAutoScroll:()=>{const{viewport:d,selectedItem:m}=r;d&&m&&(d.scrollTop=d.scrollTop-m.offsetHeight)}}):null});Jk.displayName=hg;var pg="SelectScrollDownButton",eA=g.forwardRef((e,t)=>{const r=xi(pg,e.__scopeSelect),s=sv(pg,e.__scopeSelect),[a,l]=g.useState(!1),c=Ze(t,s.onScrollButtonChange);return Ot(()=>{if(r.viewport&&r.isPositioned){let d=function(){const f=m.scrollHeight-m.clientHeight,p=Math.ceil(m.scrollTop)<f;l(p)};const m=r.viewport;return d(),m.addEventListener("scroll",d),()=>m.removeEventListener("scroll",d)}},[r.viewport,r.isPositioned]),a?n.jsx(tA,{...e,ref:c,onAutoScroll:()=>{const{viewport:d,selectedItem:m}=r;d&&m&&(d.scrollTop=d.scrollTop+m.offsetHeight)}}):null});eA.displayName=pg;var tA=g.forwardRef((e,t)=>{const{__scopeSelect:r,onAutoScroll:s,...a}=e,l=xi("SelectScrollButton",r),c=g.useRef(null),d=Sm(r),m=g.useCallback(()=>{c.current!==null&&(window.clearInterval(c.current),c.current=null)},[]);return g.useEffect(()=>()=>m(),[m]),Ot(()=>{d().find(p=>p.ref.current===document.activeElement)?.ref.current?.scrollIntoView({block:"nearest"})},[d]),n.jsx(Le.div,{"aria-hidden":!0,...a,ref:t,style:{flexShrink:0,...a.style},onPointerDown:Se(a.onPointerDown,()=>{c.current===null&&(c.current=window.setInterval(s,50))}),onPointerMove:Se(a.onPointerMove,()=>{l.onItemLeave?.(),c.current===null&&(c.current=window.setInterval(s,50))}),onPointerLeave:Se(a.onPointerLeave,()=>{m()})})}),T$="SelectSeparator",nA=g.forwardRef((e,t)=>{const{__scopeSelect:r,...s}=e;return n.jsx(Le.div,{"aria-hidden":!0,...s,ref:t})});nA.displayName=T$;var gg="SelectArrow",I$=g.forwardRef((e,t)=>{const{__scopeSelect:r,...s}=e,a=km(r),l=gi(gg,r),c=xi(gg,r);return l.open&&c.position==="popper"?n.jsx(Hg,{...a,...s,ref:t}):null});I$.displayName=gg;function rA(e){return e===""||e===void 0}var sA=g.forwardRef((e,t)=>{const{value:r,...s}=e,a=g.useRef(null),l=Ze(t,a),c=$C(r);return g.useEffect(()=>{const d=a.current,m=window.HTMLSelectElement.prototype,p=Object.getOwnPropertyDescriptor(m,"value").set;if(c!==r&&p){const x=new Event("change",{bubbles:!0});p.call(d,r),d.dispatchEvent(x)}},[c,r]),n.jsx(uc,{asChild:!0,children:n.jsx("select",{...s,ref:l,defaultValue:r})})});sA.displayName="BubbleSelect";function iA(e){const t=ht(e),r=g.useRef(""),s=g.useRef(0),a=g.useCallback(c=>{const d=r.current+c;t(d),(function m(f){r.current=f,window.clearTimeout(s.current),f!==""&&(s.current=window.setTimeout(()=>m(""),1e3))})(d)},[t]),l=g.useCallback(()=>{r.current="",window.clearTimeout(s.current)},[]);return g.useEffect(()=>()=>window.clearTimeout(s.current),[]),[r,a,l]}function aA(e,t,r){const a=t.length>1&&Array.from(t).every(f=>f===t[0])?t[0]:t,l=r?e.indexOf(r):-1;let c=P$(e,Math.max(l,0));a.length===1&&(c=c.filter(f=>f!==r));const m=c.find(f=>f.textValue.toLowerCase().startsWith(a.toLowerCase()));return m!==r?m:void 0}function P$(e,t){return e.map((r,s)=>e[(t+s)%e.length])}var _$=Rk,oA=Ok,R$=Lk,M$=Vk,O$=Fk,lA=$k,D$=Uk,cA=Kk,dA=Yk,L$=Zk,V$=Xk,uA=Jk,mA=eA,fA=nA;const mu=_$,fu=R$,Pl=g.forwardRef(({className:e,children:t,...r},s)=>n.jsxs(oA,{ref:s,className:Ee("flex h-10 w-full items-center justify-between rounded-md border border-input bg-background px-3 py-2 text-sm r
65ing-offset-background focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1 cursor-pointer hover:bg-accent/10 transition-colors",e),...r,children:[t,n.jsx(M$,{asChild:!0,children:n.jsx(co,{className:"h-4 w-4 opacity-50"})})]}));Pl.displayName=oA.displayName;const hA=g.forwardRef(({className:e,...t},r)=>n.jsx(uA,{ref:r,className:Ee("flex cursor-default items-center justify-center py-1",e),...t,children:n.jsx(G1,{className:"h-4 w-4"})}));hA.displayName=uA.displayName;const pA=g.forwardRef(({className:e,...t},r)=>n.jsx(mA,{ref:r,className:Ee("flex cursor-default items-center justify-center py-1",e),...t,children:n.jsx(co,{className:"h-4 w-4"})}));pA.displayName=mA.displayName;const _l=g.forwardRef(({className:e,children:t,position:r="popper",...s},a)=>n.jsx(O$,{children:n.jsxs(lA,{ref:a,className:Ee("relative z-[1000] max-h-96 min-w-[8rem] overflow-hidden rounded-md border bg-white text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",r==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e),position:r,...s,children:[n.jsx(hA,{}),n.jsx(D$,{className:Ee("p-1",r==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:t}),n.jsx(pA,{})]})}));_l.displayName=lA.displayName;const F$=g.forwardRef(({className:e,...t},r)=>n.jsx(cA,{ref:r,className:Ee("py-1.5 pl-8 pr-2 text-sm font-semibold",e),...t}));F$.displayName=cA.displayName;const Bt=g.forwardRef(({className:e,children:t,...r},s)=>n.jsxs(dA,{ref:s,className:Ee("relative flex w-full cursor-pointer select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 hover:bg-slate-100",e),...r,children:[n.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:n.jsx(V$,{children:n.jsx(Zu,{className:"h-4 w-4"})})}),n.jsx(L$,{children:t})]}));Bt.displayName=dA.displayName;const $$=g.forwardRef(({className:e,...t},r)=>n.jsx(fA,{ref:r,className:Ee("-mx-1 my-1 h-px bg-muted",e),...t}));$$.displayName=fA.displayName;var Yj=1,B$=.9,z$=.8,H$=.17,cp=.1,dp=.999,U$=.9999,W$=.99,q$=/[\\\/_+.#"@\[\(\{&]/,K$=/[\\\/_+.#"@\[\(\{&]/g,G$=/[\s-]/,gA=/[\s-]/g;function xg(e,t,r,s,a,l,c){if(l===t.length)return a===e.length?Yj:W$;var d=`${a},${l}`;if(c[d]!==void 0)return c[d];for(var m=s.charAt(l),f=r.indexOf(m,a),p=0,x,v,b,N;f>=0;)x=xg(e,t,r,s,f+1,l+1,c),x>p&&(f===a?x*=Yj:q$.test(e.charAt(f-1))?(x*=z$,b=e.slice(a,f-1).match(K$),b&&a>0&&(x*=Math.pow(dp,b.length))):G$.test(e.charAt(f-1))?(x*=B$,N=e.slice(a,f-1).match(gA),N&&a>0&&(x*=Math.pow(dp,N.length))):(x*=H$,a>0&&(x*=Math.pow(dp,f-a))),e.charAt(f)!==t.charAt(l)&&(x*=U$)),(x<cp&&r.charAt(f-1)===s.charAt(l+1)||s.charAt(l+1)===s.charAt(l)&&r.charAt(f-1)!==s.charAt(l))&&(v=xg(e,t,r,s,f+1,l+2,c),v*cp>x&&(x=v*cp)),x>p&&(p=x),f=r.indexOf(m,f+1);return c[d]=p,p}function Zj(e){return e.toLowerCase().replace(gA," ")}function Y$(e,t,r){return e=r&&r.length>0?`${e+" "+r.join(" ")}`:e,xg(e,t,Zj(e),Zj(t),0,0,{})}function kn(){return kn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var s in r)({}
65).hasOwnProperty.call(r,s)&&(e[s]=r[s])}return e},kn.apply(null,arguments)}function Ga(e,t,{checkForDefaultPrevented:r=!0}={}){return function(a){if(e?.(a),r===!1||!a.defaultPrevented)return t?.(a)}}function Z$(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function xA(...e){return t=>e.forEach(r=>Z$(r,t))}function Cc(...e){return g.useCallback(xA(...e),e)}function Q$(e,t){const r=g.createContext(t);function s(l){const{children:c,...d}=l,m=g.useMemo(()=>d,Object.values(d));return g.createElement(r.Provider,{value:m},c)}function a(l){const c=g.useContext(r);if(c)return c;if(t!==void 0)return t;throw new Error(`\`${l}\` must be used within \`${e}\``)}return s.displayName=e+"Provider",[s,a]}function X$(e,t=[]){let r=[];function s(l,c){const d=g.createContext(c),m=r.length;r=[...r,c];function f(x){const{scope:v,children:b,...N}=x,j=v?.[e][m]||d,C=g.useMemo(()=>N,Object.values(N));return g.createElement(j.Provider,{value:C},b)}function p(x,v){const b=v?.[e][m]||d,N=g.useContext(b);if(N)return N;if(c!==void 0)return c;throw new Error(`\`${x}\` must be used within \`${l}\``)}return f.displayName=l+"Provider",[f,p]}const a=()=>{const l=r.map(c=>g.createContext(c));return function(d){const m=d?.[e]||l;return g.useMemo(()=>({[`__scope${e}`]:{...d,[e]:m}}),[d,m])}};return a.scopeName=e,[s,J$(a,...t)]}function J$(...e){const t=e[0];if(e.length===1)return t;const r=()=>{const s=e.map(a=>({useScope:a(),scopeName:a.scopeName}));return function(l){const c=s.reduce((d,{useScope:m,scopeName:f})=>{const x=m(l)[`__scope${f}`];return{...d,...x}},{});return g.useMemo(()=>({[`__scope${t.scopeName}`]:c}),[c])}};return r.scopeName=t.scopeName,r}const vg=globalThis?.document?g.useLayoutEffect:()=>{},e7=kg.useId||(()=>{});let t7=0;function up(e){const[t,r]=g.useState(e7());return vg(()=>{r(s=>s??String(t7++))},[e]),e||(t?`radix-${t}`:"")}function Ki(e){const t=g.useRef(e);return g.useEffect(()=>{t.current=e}),g.useMemo(()=>(...r)=>{var s;return(s=t.current)===null||s===void 0?void 0:s.call(t,...r)},[])}function n7({prop:e,defaultProp:t,onChange:r=()=>{}}){const[s,a]=r7({defaultProp:t,onChange:r}),l=e!==void 0,c=l?e:s,d=Ki(r),m=g.useCallback(f=>{if(l){const x=typeof f=="function"?f(e):f;x!==e&&d(x)}else a(f)},[l,e,a,d]);return[c,m]}function r7({defaultProp:e,onChange:t}){const r=g.useState(e),[s]=r,a=g.useRef(s),l=Ki(t);return g.useEffect(()=>{a.current!==s&&(l(s),a.current=s)},[s,a,l]),r}const iv=g.forwardRef((e,t)=>{const{children:r,...s}=e,a=g.Children.toArray(r),l=a.find(i7);if(l){const c=l.props.children,d=a.map(m=>m===l?g.Children.count(c)>1?g.Children.only(null):g.isValidElement(c)?c.props.children:null:m);return g.createElement(yg,kn({},s,{ref:t}),g.isValidElement(c)?g.cloneElement(c,void 0,d):null)}return g.createElement(yg,kn({},s,{ref:t}),r)});iv.displayName="Slot";const yg=g.forwardRef((e,t)=>{const{children:r,...s}=e;return g.isValidElement(r)?g.cloneElement(r,{...a7(s,r.props),ref:t?xA(t,r.ref):r.ref}):g.Children.count(r)>1?g.Children.only(null):null});yg.displayName="SlotClone";const s7=({children:e})=>g.createElement(g.Fragment,null,e);function i7(e){return g.isValidElement(e)&&e.type===s7}function a7(e,t){const r={...t};for(const s in t){const a=e[s],l=t[s];/^on[A-Z]/.test(s)?a&&l?r[s]=(...d)=>{l(...d),a(...d)}:a&&(r[s]=a):s==="style"?r[s]={...a,...l}:s==="className"&&(r[s]=[a,l].filter(Boolean).join(" "))}return{...e,...r}}const o7=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],lr=o7.reduce((e,t)=>{const r=g.forwardRef((s,a)=>{const{asChild:l,...c}=s,d=l?iv:t;return g.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),g.createElement(d,kn({},c,{ref:a}))});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function l7(e,t){e&&hi.flushSync(()=>e.dispatchEvent(t))}function c7(e,t=globalThis?.document){const r=Ki(e);g.useEffect(()=>{const s=a=>{a.key==="Escape"&&r(a)};return t.addEventListener("keydown",s),()=>t.removeEventListener("keydown",s)},[r,t])}const bg="dismissableLayer.update",d7="dismissableLayer.pointerDownOutside",u7="dismissableLayer.focusOutside";let Qj;const m7=g.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),f7=g.forwardRef((e,t)=>
vendor: 6,061 bytes, line 65
65{var r;const{disableOutsidePointerEvents:s=!1,onEscapeKeyDown:a,onPointerDownOutside:l,onFocusOutside:c,onInteractOutside:d,onDismiss:m,...f}=e,p=g.useContext(m7),[x,v]=g.useState(null),b=(r=x?.ownerDocument)!==null&&r!==void 0?r:globalThis?.document,[,N]=g.useState({}),j=Cc(t,z=>v(z)),C=Array.from(p.layers),[k]=[...p.layersWithOutsidePointerEventsDisabled].slice(-1),A=C.indexOf(k),T=x?C.indexOf(x):-1,P=p.layersWithOutsidePointerEventsDisabled.size>0,I=T>=A,L=h7(z=>{const Y=z.target,ee=[...p.branches].some(ge=>ge.contains(Y));!I||ee||(l?.(z),d?.(z),z.defaultPrevented||m?.())},b),$=p7(z=>{const Y=z.target;[...p.branches].some(ge=>ge.contains(Y))||(c?.(z),d?.(z),z.defaultPrevented||m?.())},b);return c7(z=>{T===p.layers.size-1&&(a?.(z),!z.defaultPrevented&&m&&(z.preventDefault(),m()))},b),g.useEffect(()=>{if(x)return s&&(p.layersWithOutsidePointerEventsDisabled.size===0&&(Qj=b.body.style.pointerEvents,b.body.style.pointerEvents="none"),p.layersWithOutsidePointerEventsDisabled.add(x)),p.layers.add(x),Xj(),()=>{s&&p.layersWithOutsidePointerEventsDisabled.size===1&&(b.body.style.pointerEvents=Qj)}},[x,b,s,p]),g.useEffect(()=>()=>{x&&(p.layers.delete(x),p.layersWithOutsidePointerEventsDisabled.delete(x),Xj())},[x,p]),g.useEffect(()=>{const z=()=>N({});return document.addEventListener(bg,z),()=>document.removeEventListener(bg,z)},[]),g.createElement(lr.div,kn({},f,{ref:j,style:{pointerEvents:P?I?"auto":"none":void 0,...e.style},onFocusCapture:Ga(e.onFocusCapture,$.onFocusCapture),onBlurCapture:Ga(e.onBlurCapture,$.onBlurCapture),onPointerDownCapture:Ga(e.onPointerDownCapture,L.onPointerDownCapture)}))});function h7(e,t=globalThis?.document){const r=Ki(e),s=g.useRef(!1),a=g.useRef(()=>{});return g.useEffect(()=>{const l=d=>{if(d.target&&!s.current){let p=function(){vA(d7,r,f,{discrete:!0})};var m=p;const f={originalEvent:d};d.pointerType==="touch"?(t.removeEventListener("click",a.current),a.current=p,t.addEventListener("click",a.current,{once:!0})):p()}else t.removeEventListener("click",a.current);s.current=!1},c=window.setTimeout(()=>{t.addEventListener("pointerdown",l)},0);return()=>{window.clearTimeout(c),t.removeEventListener("pointerdown",l),t.removeEventListener("click",a.current)}},[t,r]),{onPointerDownCapture:()=>s.current=!0}}function p7(e,t=globalThis?.document){const r=Ki(e),s=g.useRef(!1);return g.useEffect(()=>{const a=l=>{l.target&&!s.current&&vA(u7,r,{originalEvent:l},{discrete:!1})};return t.addEventListener("focusin",a),()=>t.removeEventListener("focusin",a)},[t,r]),{onFocusCapture:()=>s.current=!0,onBlurCapture:()=>s.current=!1}}function Xj(){const e=new CustomEvent(bg);document.dispatchEvent(e)}function vA(e,t,r,{discrete:s}){const a=r.originalEvent.target,l=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&a.addEventListener(e,t,{once:!0}),s?l7(a,l):a.dispatchEvent(l)}const mp="focusScope.autoFocusOnMount",fp="focusScope.autoFocusOnUnmount",Jj={bubbles:!1,cancelable:!0},g7=g.forwardRef((e,t)=>{const{loop:r=!1,trapped:s=!1,onMountAutoFocus:a,onUnmountAutoFocus:l,...c}=e,[d,m]=g.useState(null),f=Ki(a),p=Ki(l),x=g.useRef(null),v=Cc(t,j=>m(j)),b=g.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;g.useEffect(()=>{if(s){let A=function(L){if(b.paused||!d)return;const $=L.target;d.contains($)?x.current=$:Qs(x.current,{select:!0})},T=function(L){if(b.paused||!d)return;const $=L.relatedTarget;$!==null&&(d.contains($)||Qs(x.current,{select:!0}))},P=function(L){if(document.activeElement===document.body)for(const z of L)z.removedNodes.length>0&&Qs(d)};var j=A,C=T,k=P;document.addEventListener("focusin",A),document.addEventListener("focusout",T);const I=new MutationObserver(P);return d&&I.observe(d,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",A),document.removeEventListener("focusout",T),I.disconnect()}}},[s,d,b.paused]),g.useEffect(()=>{if(d){t1.add(b);const j=document.activeElement;if(!d.contains(j)){const k=new CustomEvent(mp,Jj);d.addEventListener(mp,f),d.dispatchEvent(k),k.defaultPrevented||(x7(j7(yA(d)),{select:!0}),document.activeElement===j&&Qs(d))}return()=>{d.removeEventListener(mp,f),setTimeout(()=>{const k=new CustomEvent(fp,Jj);d.addEventListener(fp,p),d.dispatchEvent(k),k.defaultPrevented||Qs(j??document.body,{select:!0}),d.removeEventListener(fp,p),t1.remove(b)},0)}}},[d,f,p,b]);const N=g.useCallback(j=>{if(!r&&!s||b.paused)return;const C=j.key==="Tab"&&!j.altKey&&!j.ctrlKey&&!j.metaKey,k=document.activeElement;if(C&&k){const A=j.currentTarget,[T,P]=v7(A);T&&P?!j.shiftKey&&k===P?(j.preventDefault(),r&&Qs(T,{select:!0})):j.shiftKey&&k===T&&(j.preventDefault(),r&&Qs(P,{select:!0})):k===A&&j.preventDefault()}},[r,s,b.paused]);return g.createElement(lr.div,kn({tabIndex:-1},c,{ref:v,onKeyDown:N}))});function x7(e,{select:t=!1}={}){const r=document.activeElement;for(const s of e)if(Qs(s,{select:t}),document.activeElement!==r)return}function v7(e){const t=yA(e),r=e1(t,e),s=e1(t.reverse(),e);return[r,s]}function yA(e){const t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:s=>{const a=s.tagName==="INPUT"&&s.type==="hidden";return s.disabled||s.hidden||a?NodeFilter.FILTER_SKIP:s.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function e1(e,t){for(const r of e)if(!y7(r,{upTo:t}))return r}function y7(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 b7(e){return e instanceof HTMLInputElement&&"select"in e}function Qs(e,{select:t=!1}={}){if(e&&e.focus){const r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&b7(e)&&t&&e.select()}}const t1=w7();function w7(){let e=[];return{add(t){const r=e[0];t!==r&&r?.pause(),e=n1(e,t),e.unshift(t)},remove(t){var r;e=n1(e,t),(r=e[0])===null||r===void 0||r.resume()}}}function n1(e,t){const r=[...e],s=r.indexOf(t);return s!==-1&&r.splice(s,1),r}function j7(e){return e.filter(t=>t.tagName!=="A")}const N7=g.forwardRef((e,t)=>
65{var r;const{container:s=globalThis==null||(r=globalThis.document)===null||r===void 0?void 0:r.body,...a}=e;return s?Ku.createPortal(g.createElement(lr.div,kn({},a,{ref:t})),s):null});function C7(e,t){return g.useReducer((r,s)=>{const a=t[r][s];return a??r},e)}const Am=e=>{const{present:t,children:r}=e,s=S7(t),a=typeof r=="function"?r({present:s.isPresent}):g.Children.only(r),l=Cc(s.ref,a.ref);return typeof r=="function"||s.isPresent?g.cloneElement(a,{ref:l}):null};Am.displayName="Presence";function S7(e){const[t,r]=g.useState(),s=g.useRef({}),a=g.useRef(e),l=g.useRef("none"),c=e?"mounted":"unmounted",[d,m]=C7(c,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return g.useEffect(()=>{const f=Zd(s.current);l.current=d==="mounted"?f:"none"},[d]),vg(()=>{const f=s.current,p=a.current;if(p!==e){const v=l.current,b=Zd(f);e?m("MOUNT"):b==="none"||f?.display==="none"?m("UNMOUNT"):m(p&&v!==b?"ANIMATION_OUT":"UNMOUNT"),a.current=e}},[e,m]),vg(()=>{if(t){const f=x=>{const b=Zd(s.current).includes(x.animationName);x.target===t&&b&&hi.flushSync(()=>m("ANIMATION_END"))},p=x=>{x.target===t&&(l.current=Zd(s.current))};return t.addEventListener("animationstart",p),t.addEventListener("animationcancel",f),t.addEventListener("animationend",f),()=>{t.removeEventListener("animationstart",p),t.removeEventListener("animationcancel",f),t.removeEventListener("animationend",f)}}else m("ANIMATION_END")},[t,m]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:g.useCallback(f=>{f&&(s.current=getComputedStyle(f)),r(f)},[])}}function Zd(e){return e?.animationName||"none"}let hp=0;function k7(){g.useEffect(()=>{var e,t;const r=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(e=r[0])!==null&&e!==void 0?e:r1()),document.body.insertAdjacentElement("beforeend",(t=r[1])!==null&&t!==void 0?t:r1()),hp++,()=>{hp===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(s=>s.remove()),hp--}},[])}function r1(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}var bA=KS(),pp=function(){},Em=g.forwardRef(function(e,t){var r=g.useRef(null),s=g.useState({onScrollCapture:pp,onWheelCapture:pp,onTouchMoveCapture:pp}),a=s[0],l=s[1],c=e.forwardProps,d=e.children,m=e.className,f=e.removeScrollBar,p=e.enabled,x=e.shards,v=e.sideCar,b=e.noIsolation,N=e.inert,j=e.allowPinchZoom,C=e.as,k=C===void 0?"div":C,A=Qx(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),T=v,P=qS([r,t]),I=fn(fn({},A),a);return g.createElement(g.Fragment,null,p&&g.createElement(T,{sideCar:bA,removeScrollBar:f,shards:x,noIsolation:b,inert:N,setCallbacks:l,allowPinchZoom:!!j,lockRef:r}),c?g.cloneElement(g.Children.only(d),fn(fn({},I),{ref:P})):g.createElement(k,fn({},I,{className:m,ref:P}),d))});Em.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Em.classNames={fullWidth:Il,zeroRight:Tl};var wg=!1;if(typeof window<"u")try{var Qd=Object.defineProperty({},"passive",{get:function(){return wg=!0,!0}});window.addEventListener("test",Qd,Qd),window.removeEventListener("test",Qd,Qd)}catch{wg=!1}var Ia=wg?{passive:!1}:!1,A7=function(e){return e.tagName==="TEXTAREA"},wA=function(e,t){var r=window.getComputedStyle(e);return r[t]!=="hidden"&&!(r.overflowY===r.overflowX&&!A7(e)&&r[t]==="visible")},E7=function(e){return wA(e,"overflowY")},T7=function(e){return wA(e,"overflowX")},s1=function(e,t){var r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var s=jA(e,r);if(s){var a=NA(e,r),l=a[1],c=a[2];
65if(l>c)return!0}r=r.parentNode}while(r&&r!==document.body);return!1},I7=function(e){var t=e.scrollTop,r=e.scrollHeight,s=e.clientHeight;return[t,r,s]},P7=function(e){var t=e.scrollLeft,r=e.scrollWidth,s=e.clientWidth;return[t,r,s]},jA=function(e,t){return e==="v"?E7(t):T7(t)},NA=function(e,t){return e==="v"?I7(t):P7(t)},_7=function(e,t){return e==="h"&&t==="rtl"?-1:1},R7=function(e,t,r,s,a){var l=_7(e,window.getComputedStyle(t).direction),c=l*s,d=r.target,m=t.contains(d),f=!1,p=c>0,x=0,v=0;do{var b=NA(e,d),N=b[0],j=b[1],C=b[2],k=j-C-l*N;(N||k)&&jA(e,d)&&(x+=k,v+=N),d=d.parentNode}while(!m&&d!==document.body||m&&(t.contains(d)||t===d));return(p&&x===0||!p&&v===0)&&(f=!0),f},Xd=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},i1=function(e){return[e.deltaX,e.deltaY]},a1=function(e){return e&&"current"in e?e.current:e},M7=function(e,t){return e[0]===t[0]&&e[1]===t[1]},O7=function(e){return` 66 .block-interactivity-`.concat(e,` {pointer-events: none;} 67 .allow-interactivity-`).concat(e,` {pointer-events: all;} 68`)},D7=0,Pa=[];function L7(e){var t=g.useRef([]),r=g.useRef([0,0]),s=g.useRef(),a=g.useState(D7++)[0],l=g.useState(function(){return Xx()})[0],c=g.useRef(e);g.useEffect(function(){c.current=e},[e]),g.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(a));var j=WS([e.lockRef.current],(e.shards||[]).map(a1),!0).filter(Boolean);return j.forEach(function(C){return C.classList.add("allow-interactivity-".concat(a))}),function(){document.body.classList.remove("block-interactivity-".concat(a)),j.forEach(function(C){return C.classList.remove("allow-interactivity-".concat(a))})}}},[e.inert,e.lockRef.current,e.shards]);var d=g.useCallback(function(j,C){if("touches"in j&&j.touches.length===2)return!c.current.allowPinchZoom;var k=Xd(j),A=r.current,T="deltaX"in j?j.deltaX:A[0]-k[0],P="deltaY"in j?j.deltaY:A[1]-k[1],I,L=j.target,$=Math.abs(T)>Math.abs(P)?"h":"v";if("touches"in j&&$==="h"&&L.type==="range")return!1;var z=s1($,L);if(!z)return!0;if(z?I=$:(I=$==="v"?"h":"v",z=s1($,L)),!z)return!1;if(!s.current&&"changedTouches"in j&&(T||P)&&(s.current=I),!I)return!0;var Y=s.current||I;return R7(Y,C,j,Y==="h"?T:P)},[]),m=g.useCallback(function(j){var C=j;if(!(!Pa.length||Pa[Pa.length-1]!==l)){var k="deltaY"in C?i1(C):Xd(C),A=t.current.filter(function(I){return I.name===C.type&&I.target===C.target&&M7(I.delta,k)})[0];if(A&&A.should){C.cancelable&&C.preventDefault();return}if(!A){var T=(c.current.shards||[]).map(a1).filter(Boolean).filter(function(I){return I.contains(C.target)}),P=T.length>0?d(C,T[0]):!c.current.noIsolation;P&&C.cancelable&&C.preventDefault()}}},[]),f=g.useCallback(function(j,C,k,A){var T={name:j,delta:C,target:k,should:A};t.current.push(T),setTimeout(function(){t.current=t.current.filter(function(P){return P!==T})},1)},[]),p=g.useCallback(function(j){r.current=Xd(j),s.current=void 0},[]),x=g.useCallback(function(j){f(j.type,i1(j),j.target,d(j,e.lockRef.current))},[]),v=g.useCallback(function(j){f(j.type,Xd(j),j.target,d(j,e.lockRef.current))},[]);g.useEffect(function(){return Pa.push(l),e.setCallbacks({onScrollCapture:x,onWheelCapture:x,onTouchMoveCapture:v}),document.addEventListener("wheel",m,Ia),document.addEventListener("touchmove",m,Ia),document.addEventListener("touchstart",p,Ia),function(){Pa=Pa.filter(function(j){return j!==l}),document.removeEventListener("wheel",m,Ia),document.removeEventListener("touchmove",m,Ia),document.removeEventListener("touchstart",p,Ia)}},[]);var b=e.removeScrollBar,N=e.inert;return g.createElement(g.Fragment,null,N?g.createElement(l,{styles:O7(a)}):null,b?g.createElement(QS,{gapMode:"margin"}):null)}const V7=YS(bA,L7);var CA=g.forwardRef(function(e,t){return g.createElement(Em,fn({},e,{ref:t,sideCar:V7}))});CA.classNames=Em.classNames;const SA="Dialog",[kA]=X$(SA),[F7,ea]=kA(SA),$7=e=>{const{__scopeDialog:t,children:r,open:s,defaultOpen:a,onOpenChange:l,modal:c=!0}=e,d=g.useRef(null),m=g.useRef(null),[f=!1,p]=n7({prop:s,defaultProp:a,onChange:l});return g.createElement(F7,{scope:t,triggerRef:d,contentRef:m,contentId:up(),titleId:up(),descriptionId:up(),open:f,onOpenChange:p,onOpenToggle:g.useCallback(()=>p(x=>!x),[p]),modal:c},r)},AA="DialogPortal",[B7,EA]=kA(AA,{forceMount:void 0}),z7=e=>{const{__scopeDialog:t,forceMount:r,children:s,container:a}=e,l=ea(AA,t);return g.createElement(B7,{scope:t,forceMount:r},g.Children.map(s,c=>g.createElement(Am,{present:r||l.open},g.createElement(N7,{asChild:!0,container:a},c))))},jg="DialogOverlay",H7=g.forwardRef((e,t)=>
68{const r=EA(jg,e.__scopeDialog),{forceMount:s=r.forceMount,...a}=e,l=ea(jg,e.__scopeDialog);return l.modal?g.createElement(Am,{present:s||l.open},g.createElement(U7,kn({},a,{ref:t}))):null}),U7=g.forwardRef((e,t)=>{const{__scopeDialog:r,...s}=e,a=ea(jg,r);return g.createElement(CA,{as:iv,allowPinchZoom:!0,shards:[a.contentRef]},g.createElement(lr.div,kn({"data-state":IA(a.open)},s,{ref:t,style:{pointerEvents:"auto",...s.style}})))}),ao="DialogContent",W7=g.forwardRef((e,t)=>{const r=EA(ao,e.__scopeDialog),{forceMount:s=r.forceMount,...a}=e,l=ea(ao,e.__scopeDialog);return g.createElement(Am,{present:s||l.open},l.modal?g.createElement(q7,kn({},a,{ref:t})):g.createElement(K7,kn({},a,{ref:t})))}),q7=g.forwardRef((e,t)=>{const r=ea(ao,e.__scopeDialog),s=g.useRef(null),a=Cc(t,r.contentRef,s);return g.useEffect(()=>{const l=s.current;if(l)return jm(l)},[]),g.createElement(TA,kn({},e,{ref:a,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Ga(e.onCloseAutoFocus,l=>{var c;l.preventDefault(),(c=r.triggerRef.current)===null||c===void 0||c.focus()}),onPointerDownOutside:Ga(e.onPointerDownOutside,l=>{const c=l.detail.originalEvent,d=c.button===0&&c.ctrlKey===!0;(c.button===2||d)&&l.preventDefault()}),onFocusOutside:Ga(e.onFocusOutside,l=>l.preventDefault())}))}),K7=g.forwardRef((e,t)=>{const r=ea(ao,e.__scopeDialog),s=g.useRef(!1),a=g.useRef(!1);return g.createElement(TA,kn({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:l=>{var c;if((c=e.onCloseAutoFocus)===null||c===void 0||c.call(e,l),!l.defaultPrevented){var d;s.current||(d=r.triggerRef.current)===null||d===void 0||d.focus(),l.preventDefault()}s.current=!1,a.current=!1},onInteractOutside:l=>{var c,d;(c=e.onInteractOutside)===null||c===void 0||c.call(e,l),l.defaultPrevented||(s.current=!0,l.detail.originalEvent.type==="pointerdown"&&(a.current=!0));const m=l.target;!((d=r.triggerRef.current)===null||d===void 0)&&d.contains(m)&&l.preventDefault(),l.detail.originalEvent.type==="focusin"&&a.current&&l.preventDefault()}}))}),TA=g.forwardRef((e,t)=>{const{__scopeDialog:r,trapFocus:s,onOpenAutoFocus:a,onCloseAutoFocus:l,...c}=e,d=ea(ao,r),m=g.useRef(null),f=Cc(t,m);return k7(),g.createElement(g.Fragment,null,g.createElement(g7,{asChild:!0,loop:!0,trapped:s,onMountAutoFocus:a,onUnmountAutoFocus:l},g.createElement(f7,kn({role:"dialog",id:d.contentId,"aria-describedby":d.descriptionId,"aria-labelledby":d.titleId,"data-state":IA(d.open)},c,{ref:f,onDismiss:()=>d.onOpenChange(!1)}))),!1)}),G7="DialogTitle";function IA(e){return e?"open":"closed"}const Y7="DialogTitleWarning";Q$(Y7,{contentName:ao,titleName:G7,docsSlug:"dialog"});const Z7=$7,Q7=z7,X7=H7,J7=W7;var hl='[cmdk-group=""]',gp='[cmdk-group-items=""]',e9='[cmdk-group-heading=""]',av='[cmdk-item=""]',o1=`${av}:not([aria-disabled="true"])`,Ng="cmdk-item-select",Di="data-value",t9=(e,t,r)=>Y$(e,t,r),PA=g.createContext(void 0),Sc=()=>g.useContext(PA),_A=g.createContext(void 0),ov=()=>g.useContext(_A),RA=g.createContext(void 0),MA=g.forwardRef((e,t)=>{let r=Ra(()=>{var R,X;return{search:"",value:(X=(R=e.value)!=null?R:e.defaultValue)!=null?X:"",filtered:{count:0,items:new Map,groups:new Set}}}),s=Ra(()=>new Set),a=Ra(()=>new Map),l=Ra(()=>new Map),c=Ra(()=>new Set),d=OA(e),{label:m,children:f,value:p,onValueChange:x,filter:v,shouldFilter:b,loop:N,disablePointerSelection:j=!1,vimBindings:C=!0,...k}=e,A=g.useId(),T=g.useId(),P=g.useId(),I=g.useRef(null),L=m9();Gi(()=>{if(p!==void 0){let R=p.trim();r.current.value=R,$.emit()}},[p]),Gi(()=>{L(6,de)},[]);let $=g.useMemo(()=>({subscribe:R=>(c.current.add(R),()=>c.current.delete(R)),snapshot:()=>r.current,setState:(R,X,le)=>{var oe,he,ie;if(!Object.is(r.current[R],X)){if(r.current[R]=X,R==="search")Q(),ee(),L(1,ge);else if(R==="value"&&(le||L(5,de),((oe=d.current)==null?void 0:oe.value)!==void 0)){let je=X??"";(ie=(he=d.current).onValueChange)==null||ie.call(he,je);return}$.emit()}},emit:()=>{c.current.forEach(R=>R())}}),[]),z=g.useMemo(()=>({value:(R,X,le)=>{var oe;X!==((oe=l.current.get(R))==null?void 0:oe.value)&&(l.current.set(R,{value:X,keywords:le}),r.current.filtered.items.set(R,Y(X,le)),L(2,()=>{ee(),$.emit()}))},item:(R,X)=>(s.current.add(R),X&&(a.current.has(X)?a.current.get(X).add(R):a.current.set(X,new Set([R]))),L(3,()=>{Q(),ee(),r.current.value||ge(),$.emit()}),()=>{l.current.delete(R),s.current.delete(R),r.current.filtered.items.delete(R);let le=J();L(4,()=>{Q(),le?.getAttribute("id")===R&&ge(),$.emit()})}),group:R=>(a.current.has(R)||a.current.set(R,new Set),()=>{l.current.delete(R),a.current.delete(R)}),filter:()=>d.current.shouldFilter,label:m||e["aria-label"],disablePointerSelection:j,listId:A,inputId:P,labelId:T,listInnerRef:I}),[]);function Y(R,X){var le,oe;let he=(oe=(le=d.current)==null?void 0:le.filter)!=null?oe:t9;return R?he(R,r.current.search,X):0}function ee(){if(!r.current.search||d.current.shouldFilter===!1)return;let R=r.current.filtered.items,X=[];r.current.filtered.groups.forEach(oe=>{let he=a.current.get(oe),ie=0;he.forEach(je=>{let Me=R.get(je);ie=Math.max(Me,ie)}),X.push([oe,ie])});let le=I.current;be().sort((oe,he)=>{var ie,je;let Me=oe.getAttribute("id"),Ve=he.getAttribute("id");return((ie=R.get(Ve))!=null?ie:0)-((je=R.get(Me))!=null?je:0)}
68).forEach(oe=>{let he=oe.closest(gp);he?he.appendChild(oe.parentElement===he?oe:oe.closest(`${gp} > *`)):le.appendChild(oe.parentElement===le?oe:oe.closest(`${gp} > *`))}),X.sort((oe,he)=>he[1]-oe[1]).forEach(oe=>{let he=I.current.querySelector(`${hl}[${Di}="${encodeURIComponent(oe[0])}"]`);he?.parentElement.appendChild(he)})}function ge(){let R=be().find(le=>le.getAttribute("aria-disabled")!=="true"),X=R?.getAttribute(Di);$.setState("value",X||void 0)}function Q(){var R,X,le,oe;if(!r.current.search||d.current.shouldFilter===!1){r.current.filtered.count=s.current.size;return}r.current.filtered.groups=new Set;let he=0;for(let ie of s.current){let je=(X=(R=l.current.get(ie))==null?void 0:R.value)!=null?X:"",Me=(oe=(le=l.current.get(ie))==null?void 0:le.keywords)!=null?oe:[],Ve=Y(je,Me);r.current.filtered.items.set(ie,Ve),Ve>0&&he++}for(let[ie,je]of a.current)for(let Me of je)if(r.current.filtered.items.get(Me)>0){r.current.filtered.groups.add(ie);break}r.current.filtered.count=he}function de(){var R,X,le;let oe=J();oe&&(((R=oe.parentElement)==null?void 0:R.firstChild)===oe&&((le=(X=oe.closest(hl))==null?void 0:X.querySelector(e9))==null||le.scrollIntoView({block:"nearest"})),oe.scrollIntoView({block:"nearest"}))}function J(){var R;return(R=I.current)==null?void 0:R.querySelector(`${av}[aria-selected="true"]`)}function be(){var R;return Array.from((R=I.current)==null?void 0:R.querySelectorAll(o1))}function me(R){let X=be()[R];X&&$.setState("value",X.getAttribute(Di))}function W(R){var X;let le=J(),oe=be(),he=oe.findIndex(je=>je===le),ie=oe[he+R];(X=d.current)!=null&&X.loop&&(ie=he+R<0?oe[oe.length-1]:he+R===oe.length?oe[0]:oe[he+R]),ie&&$.setState("value",ie.getAttribute(Di))}function F(R){let X=J(),le=X?.closest(hl),oe;for(;le&&!oe;)le=R>0?d9(le,hl):u9(le,hl),oe=le?.querySelector(o1);oe?$.setState("value",oe.getAttribute(Di)):W(R)}let Z=()=>me(be().length-1),re=R=>{R.preventDefault(),R.metaKey?Z():R.altKey?F(1):W(1)},M=R=>{R.preventDefault(),R.metaKey?me(0):R.altKey?F(-1):W(-1)};return g.createElement(lr.div,{ref:t,tabIndex:-1,...k,"cmdk-root":"",onKeyDown:R=>{var X;if((X=k.onKeyDown)==null||X.call(k,R),!R.defaultPrevented)switch(R.key){case"n":case"j":{C&&R.ctrlKey&&re(R);break}case"ArrowDown":{re(R);break}case"p":case"k":{C&&R.ctrlKey&&M(R);break}case"ArrowUp":{M(R);break}case"Home":{R.preventDefault(),me(0);break}case"End":{R.preventDefault(),Z();break}case"Enter":if(!R.nativeEvent.isComposing&&R.keyCode!==229){R.preventDefault();let le=J();if(le){let oe=new Event(Ng);le.dispatchEvent(oe)}}}}},g.createElement("label",{"cmdk-label":"",htmlFor:z.inputId,id:z.labelId,style:h9},m),Tm(e,R=>g.createElement(_A.Provider,{value:$},g.createElement(PA.Provider,{value:z},R))))}),n9=g.forwardRef((e,t)=>{var r,s;let a=g.useId(),l=g.useRef(null),c=g.useContext(RA),d=Sc(),m=OA(e),f=(s=(r=m.current)==null?void 0:r.forceMount)!=null?s:c?.forceMount;Gi(()=>{if(!f)return d.item(a,c?.id)},[f]);let p=DA(a,l,[e.value,e.children,l],e.keywords),x=ov(),v=Yi(L=>L.value&&L.value===p.current),b=Yi(L=>f||d.filter()===!1?!0:L.search?L.filtered.items.get(a)>0:!0);g.useEffect(()=>{let L=l.current;if(!(!L||e.disabled))return L.addEventListener(Ng,N),()=>L.removeEventListener(Ng,N)},[b,e.onSelect,e.disabled]);function N(){var L,$;j(),($=(L=m.current).onSelect)==null||$.call(L,p.current)}function j(){x.setState("value",p.current,!0)}if(!b)return null;let{disabled:C,value:k,onSelect:A,forceMount:T,keywords:P,...I}=e;return g.createElement(lr.div,{ref:ac([l,t]),...I,id:a,"cmdk-item":"",role:"option","aria-disabled":!!C,"aria-selected":!!v,"data-disabled":!!C,"data-selected":!!v,onPointerMove:C||d.disablePointerSelection?void 0:j,onClick:C?void 0:N},e.children)}),r9=g.forwardRef((e,t)=>{let{heading:r,children:s,forceMount:a,...l}=e,c=g.useId(),d=g.useRef(null),m=g.useRef(null),f=g.useId(),p=Sc(),x=Yi(b=>a||p.filter()===!1?!0:b.search?b.filtered.groups.has(c):!0);Gi(()=>p.group(c),[]),DA(c,d,[e.value,e.heading,m]);let v=g.useMemo(()=>({id:c,forceMount:a}),[a]);return g.createElement(lr.div,{ref:ac([d,t]),...l,"cmdk-group":"",role:"presentation",hidden:x?void 0:!0},r&&g.createElement("div",{ref:m,"cmdk-group-heading":"","aria-hidden":!0,id:f},r),Tm(e,b=>g.createElement("div",{"cmdk-group-items":"",role:"group","aria-labelledby":r?f:void 0},g.createElement(RA.Provider,{value:v}
68,b))))}),s9=g.forwardRef((e,t)=>{let{alwaysRender:r,...s}=e,a=g.useRef(null),l=Yi(c=>!c.search);return!r&&!l?null:g.createElement(lr.div,{ref:ac([a,t]),...s,"cmdk-separator":"",role:"separator"})}),i9=g.forwardRef((e,t)=>{let{onValueChange:r,...s}=e,a=e.value!=null,l=ov(),c=Yi(p=>p.search),d=Yi(p=>p.value),m=Sc(),f=g.useMemo(()=>{var p;let x=(p=m.listInnerRef.current)==null?void 0:p.querySelector(`${av}[${Di}="${encodeURIComponent(d)}"]`);return x?.getAttribute("id")},[]);return g.useEffect(()=>{e.value!=null&&l.setState("search",e.value)},[e.value]),g.createElement(lr.input,{ref:t,...s,"cmdk-input":"",autoComplete:"off",autoCorrect:"off",spellCheck:!1,"aria-autocomplete":"list",role:"combobox","aria-expanded":!0,"aria-controls":m.listId,"aria-labelledby":m.labelId,"aria-activedescendant":f,id:m.inputId,type:"text",value:a?e.value:c,onChange:p=>{a||l.setState("search",p.target.value),r?.(p.target.value)}})}),a9=g.forwardRef((e,t)=>{let{children:r,label:s="Suggestions",...a}=e,l=g.useRef(null),c=g.useRef(null),d=Sc();return g.useEffect(()=>{if(c.current&&l.current){let m=c.current,f=l.current,p,x=new ResizeObserver(()=>{p=requestAnimationFrame(()=>{let v=m.offsetHeight;f.style.setProperty("--cmdk-list-height",v.toFixed(1)+"px")})});return x.observe(m),()=>{cancelAnimationFrame(p),x.unobserve(m)}}},[]),g.createElement(lr.div,{ref:ac([l,t]),...a,"cmdk-list":"",role:"listbox","aria-label":s,id:d.listId},Tm(e,m=>g.createElement("div",{ref:ac([c,d.listInnerRef]),"cmdk-list-sizer":""},m)))}),o9=g.forwardRef((e,t)=>{let{open:r,onOpenChange:s,overlayClassName:a,contentClassName:l,container:c,...d}=e;return g.createElement(Z7,{open:r,onOpenChange:s},g.createElement(Q7,{container:c},g.createElement(X7,{"cmdk-overlay":"",className:a}),g.createElement(J7,{"aria-label":e.label,"cmdk-dialog":"",className:l},g.createElement(MA,{ref:t,...d}))))}),l9=g.forwardRef((e,t)=>Yi(r=>r.filtered.count===0)?g.createElement(lr.div,{ref:t,...e,"cmdk-empty":"",role:"presentation"}):null),c9=g.forwardRef((e,t)=>{let{progress:r,children:s,label:a="Loading...",...l}=e;return g.createElement(lr.div,{ref:t,...l,"cmdk-loading":"",role:"progressbar","aria-valuenow":r,"aria-valuemin":0,"aria-valuemax":100,"aria-label":a},Tm(e,c=>g.createElement("div",{"aria-hidden":!0},c)))}),Ln=Object.assign(MA,{List:a9,Item:n9,Input:i9,Group:r9,Separator:s9,Dialog:o9,Empty:l9,Loading:c9});function d9(e,t){let r=e.nextElementSibling;for(;r;){if(r.matches(t))return r;r=r.nextElementSibling}}function u9(e,t){let r=e.previousElementSibling;for(;r;){if(r.matches(t))return r;r=r.previousElementSibling}}function OA(e){let t=g.useRef(e);return Gi(()=>{t.current=e}),t}var Gi=typeof window>"u"?g.useEffect:g.useLayoutEffect;function Ra(e){let t=g.useRef();return t.current===void 0&&(t.current=e()),t}function ac(e){return t=>{e.forEach(r=>{typeof r=="function"?r(t):r!=null&&(r.current=t)})}}function Yi(e){let t=ov(),r=()=>e(t.snapshot());return g.useSyncExternalStore(t.subscribe,r,r)}function DA(e,t,r,s=[]){let a=g.useRef(),l=Sc();return Gi(()=>{var c;let d=(()=>{var f;for(let p of r){if(typeof p=="string")return p.trim();if(typeof p=="object"&&"current"in p)return p.current?(f=p.current.textContent)==null?void 0:f.trim():a.current}})(),m=s.map(f=>f.trim());l.value(e,d,m),(c=t.current)==null||c.setAttribute(Di,d),a.current=d}),a}var m9=()=>{let[e,t]=g.useState(),r=Ra(()=>new Map);return Gi(()=>{r.current.forEach(s=>s()),r.current=new Map},[e]),(s,a)=>{r.current.set(s,a),t({})}};function f9(e){let t=e.type;return typeof t=="function"?t(e.props):"render"in t?t.render(e.props):e}function Tm({asChild:e,children:t},r){return e&&g.isValidElement(t)?g.cloneElement(f9(t),{ref:t.ref},r(t.props.children)):r(t)}var h9={position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"};const LA=g.forwardRef(({className:e,...t},r)=>n.jsx(Ln,{ref:r,className:Ee("flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground",e),...t}));LA.displayName=Ln.displayName;const VA=g.forwardRef(({className:e,...t},r)=>n.jsxs("div",{className:"flex items-center border-b px-3","cmdk-input-wrapper":"",children:[n.jsx(Z1,{className:"mr-2 h-4 w-4 shrink-0 opacity-50"}),n.jsx(Ln.Input,{ref:r,className:Ee("flex h-11 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",e),...t})]}));
vendor: 4,217 bytes, line 68
68VA.displayName=Ln.Input.displayName;const p9=g.forwardRef(({className:e,...t},r)=>n.jsx(Ln.List,{ref:r,className:Ee("max-h-[300px] overflow-y-auto overflow-x-hidden",e),...t}));p9.displayName=Ln.List.displayName;const FA=g.forwardRef((e,t)=>n.jsx(Ln.Empty,{ref:t,className:"py-6 text-center text-sm",...e}));FA.displayName=Ln.Empty.displayName;const $A=g.forwardRef(({className:e,...t},r)=>n.jsx(Ln.Group,{ref:r,className:Ee("overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground",e),...t}));$A.displayName=Ln.Group.displayName;const g9=g.forwardRef(({className:e,...t},r)=>n.jsx(Ln.Separator,{ref:r,className:Ee("-mx-1 h-px bg-border",e),...t}));g9.displayName=Ln.Separator.displayName;const BA=g.forwardRef(({className:e,...t},r)=>n.jsx(Ln.Item,{ref:r,className:Ee("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none data-[disabled=true]:pointer-events-none data-[selected='true']:bg-accent data-[selected=true]:text-accent-foreground data-[disabled=true]:opacity-50",e),...t}));BA.displayName=Ln.Item.displayName;var lv="Popover",[zA]=Ns(lv,[po]),kc=po(),[x9,vi]=zA(lv),HA=e=>{const{__scopePopover:t,children:r,open:s,defaultOpen:a,onOpenChange:l,modal:c=!1}=e,d=kc(t),m=g.useRef(null),[f,p]=g.useState(!1),[x=!1,v]=Wr({prop:s,defaultProp:a,onChange:l});return n.jsx(AN,{...d,children:n.jsx(x9,{scope:t,contentId:Ar(),triggerRef:m,open:x,onOpenChange:v,onOpenToggle:g.useCallback(()=>v(b=>!b),[v]),hasCustomAnchor:f,onCustomAnchorAdd:g.useCallback(()=>p(!0),[]),onCustomAnchorRemove:g.useCallback(()=>p(!1),[]),modal:c,children:r})})};HA.displayName=lv;var UA="PopoverAnchor",v9=g.forwardRef((e,t)=>{const{__scopePopover:r,...s}=e,a=vi(UA,r),l=kc(r),{onCustomAnchorAdd:c,onCustomAnchorRemove:d}=a;return g.useEffect(()=>(c(),()=>d()),[c,d]),n.jsx(nm,{...l,...s,ref:t})});v9.displayName=UA;var WA="PopoverTrigger",qA=g.forwardRef((e,t)=>{const{__scopePopover:r,...s}=e,a=vi(WA,r),l=kc(r),c=Ze(t,a.triggerRef),d=n.jsx(Le.button,{type:"button","aria-haspopup":"dialog","aria-expanded":a.open,"aria-controls":a.contentId,"data-state":QA(a.open),...s,ref:c,onClick:Se(e.onClick,a.onOpenToggle)});return a.hasCustomAnchor?d:n.jsx(nm,{asChild:!0,...l,children:d})});qA.displayName=WA;var cv="PopoverPortal",[y9,b9]=zA(cv,{forceMount:void 0}),KA=e=>{const{__scopePopover:t,forceMount:r,children:s,container:a}=e,l=vi(cv,t);return n.jsx(y9,{scope:t,forceMount:r,children:n.jsx(sn,{present:r||l.open,children:n.jsx(dc,{asChild:!0,container:a,children:s})})})};KA.displayName=cv;var oo="PopoverContent",GA=g.forwardRef((e,t)=>{const r=b9(oo,e.__scopePopover),{forceMount:s=r.forceMount,...a}=e,l=vi(oo,e.__scopePopover);return n.jsx(sn,{present:s||l.open,children:l.modal?n.jsx(w9,{...a,ref:t}):n.jsx(j9,{...a,ref:t})})});GA.displayName=oo;var w9=g.forwardRef((e,t)=>{const r=vi(oo,e.__scopePopover),s=g.useRef(null),a=Ze(t,s),l=g.useRef(!1);return g.useEffect(()=>{const c=s.current;if(c)return jm(c)},[]),n.jsx(wm,{as:vs,allowPinchZoom:!0,children:n.jsx(YA,{...e,ref:a,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Se(e.onCloseAutoFocus,c=>{c.preventDefault(),l.current||r.triggerRef.current?.focus()}),onPointerDownOutside:Se(e.onPointerDownOutside,c=>{const d=c.detail.originalEvent,m=d.button===0&&d.ctrlKey===!0,f=d.button===2||m;l.current=f},{checkForDefaultPrevented:!1}),onFocusOutside:Se(e.onFocusOutside,c=>c.preventDefault(),{checkForDefaultPrevented:!1})})})}),j9=g.forwardRef((e,t)=>{const r=vi(oo,e.__scopePopover),s=g.useRef(!1),a=g.useRef(!1);return n.jsx(YA,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:l=>{e.onCloseAutoFocus?.(l),l.defaultPrevented||(s.current||r.triggerRef.current?.focus(),l.preventDefault()),s.current=!1,a.current=!1},onInteractOutside:l=>{e.onInteractOutside?.(l),l.defaultPrevented||(s.current=!0,l.detail.originalEvent.type==="pointerdown"&&(a.current=!0));const c=l.target;r.triggerRef.current?.contains(c)&&l.preventDefault(),l.detail.originalEvent.type==="focusin"&&a.current&&l.preventDefault()}})}),YA=g.forwardRef((e,t)=>
68{const{__scopePopover:r,trapFocus:s,onOpenAutoFocus:a,onCloseAutoFocus:l,disableOutsidePointerEvents:c,onEscapeKeyDown:d,onPointerDownOutside:m,onFocusOutside:f,onInteractOutside:p,...x}=e,v=vi(oo,r),b=kc(r);return Zx(),n.jsx(ym,{asChild:!0,loop:!0,trapped:s,onMountAutoFocus:a,onUnmountAutoFocus:l,children:n.jsx(Zi,{asChild:!0,disableOutsidePointerEvents:c,onInteractOutside:p,onEscapeKeyDown:d,onPointerDownOutside:m,onFocusOutside:f,onDismiss:()=>v.onOpenChange(!1),children:n.jsx(zg,{"data-state":QA(v.open),role:"dialog",id:v.contentId,...b,...x,ref:t,style:{...x.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),ZA="PopoverClose",N9=g.forwardRef((e,t)=>{const{__scopePopover:r,...s}=e,a=vi(ZA,r);return n.jsx(Le.button,{type:"button",...s,ref:t,onClick:Se(e.onClick,()=>a.onOpenChange(!1))})});N9.displayName=ZA;var C9="PopoverArrow",S9=g.forwardRef((e,t)=>{const{__scopePopover:r,...s}=e,a=kc(r);return n.jsx(Hg,{...a,...s,ref:t})});S9.displayName=C9;function QA(e){return e?"open":"closed"}var k9=HA,A9=qA,E9=KA,XA=GA;const T9=k9,I9=A9,JA=g.forwardRef(({className:e,align:t="center",sideOffset:r=4,...s},a)=>n.jsx(E9,{children:n.jsx(XA,{ref:a,align:t,sideOffset:r,className:Ee("z-50 w-72 rounded-md border border-gray-200 bg-white p-4 text-gray-800 shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...s})}));JA.displayName=XA.displayName;function P9(e,t){return g.useReducer((r,s)=>t[r][s]??r,e)}var dv="ScrollArea",[eE]=Ns(dv),[_9,cr]=eE(dv),tE=g.forwardRef((e,t)=>{const{__scopeScrollArea:r,type:s="hover",dir:a,scrollHideDelay:l=600,...c}=e,[d,m]=g.useState(null),[f,p]=g.useState(null),[x,v]=g.useState(null),[b,N]=g.useState(null),[j,C]=g.useState(null),[k,A]=g.useState(0),[T,P]=g.useState(0),[I,L]=g.useState(!1),[$,z]=g.useState(!1),Y=Ze(t,ge=>m(ge)),ee=hm(a);return n.jsx(_9,{scope:r,type:s,dir:ee,scrollHideDelay:l,scrollArea:d,viewport:f,onViewportChange:p,content:x,onContentChange:v,scrollbarX:b,onScrollbarXChange:N,scrollbarXEnabled:I,onScrollbarXEnabledChange:L,scrollbarY:j,onScrollbarYChange:C,scrollbarYEnabled:$,onScrollbarYEnabledChange:z,onCornerWidthChange:A,onCornerHeightChange:P,children:n.jsx(Le.div,{dir:ee,...c,ref:Y,style:{position:"relative","--radix-scroll-area-corner-width":k+"px","--radix-scroll-area-corner-height":T+"px",...e.style}})})});tE.displayName=dv;var nE="ScrollAreaViewport",rE=g.forwardRef((e,t)=>{const{__scopeScrollArea:r,children:s,asChild:a,nonce:l,...c}=e,d=cr(nE,r),m=g.useRef(null),f=Ze(t,m,d.onViewportChange);return n.jsxs(n.Fragment,{children:[n.jsx("style",{dangerouslySetInnerHTML:{__html:` 69[data-radix-scroll-area-viewport] { 70 scrollbar-width: none; 71 -ms-overflow-style: none; 72 -webkit-overflow-scrolling: touch; 73} 74[data-radix-scroll-area-viewport]::-webkit-scrollbar {
75 display: none; 76} 77:where([data-radix-scroll-area-viewport]) { 78 display: flex; 79 flex-direction: column; 80 align-items: stretch; 81} 82:where([data-radix-scroll-area-content]) { 83 flex-grow: 1; 84} 85`},nonce:l}),n.jsx(Le.div,{"data-radix-scroll-area-viewport":"",...c,asChild:a,ref:f,style:{overflowX:d.scrollbarXEnabled?"scroll":"hidden",overflowY:d.scrollbarYEnabled?"scroll":"hidden",...e.style},children:z9({asChild:a,children:s},p=>n.jsx("div",{"data-radix-scroll-area-content":"",ref:d.onContentChange,style:{minWidth:d.scrollbarXEnabled?"fit-content":void 0},children:p}))})]})});rE.displayName=nE;var Jr="ScrollAreaScrollbar",uv=g.forwardRef((e,t)=>{const{forceMount:r,...s}=e,a=cr(Jr,e.__scopeScrollArea),{onScrollbarXEnabledChange:l,onScrollbarYEnabledChange:c}=a,d=e.orientation==="horizontal";return g.useEffect(()=>(d?l(!0):c(!0),()=>{d?l(!1):c(!1)}),[d,l,c]),a.type==="hover"?n.jsx(R9,{...s,ref:t,forceMount:r}):a.type==="scroll"?n.jsx(M9,{...s,ref:t,forceMount:r}):a.type==="auto"?n.jsx(sE,{...s,ref:t,forceMount:r}):a.type==="always"?n.jsx(mv,{...s,ref:t}):null});uv.displayName=Jr;var R9=g.forwardRef((e,t)=>{const{forceMount:r,...s}=e,a=cr(Jr,e.__scopeScrollArea),[l,c]=g.useState(!1);return g.useEffect(()=>{const d=a.scrollArea;let m=0;if(d){const f=()=>{window.clearTimeout(m),c(!0)},p=()=>{m=window.setTimeout(()=>c(!1),a.scrollHideDelay)};return d.addEventListener("pointerenter",f),d.addEventListener("pointerleave",p),()=>{window.clearTimeout(m),d.removeEventListener("pointerenter",f),d.removeEventListener("pointerleave",p)}}},[a.scrollArea,a.scrollHideDelay]),n.jsx(sn,{present:r||l,children:n.jsx(sE,{"data-state":l?"visible":"hidden",...s,ref:t})})}),M9=g.forwardRef((e,t)=>{const{forceMount:r,...s}=e,a=cr(Jr,e.__scopeScrollArea),l=e.orientation==="horizontal",c=Pm(()=>m("SCROLL_END"),100),[d,m]=P9("hidden",{hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}});return g.useEffect(()=>{if(d==="idle"){const f=window.setTimeout(()=>m("HIDE"),a.scrollHideDelay);return()=>window.clearTimeout(f)}},[d,a.scrollHideDelay,m]),g.useEffect(()=>{const f=a.viewport,p=l?"scrollLeft":"scrollTop";if(f){let x=f[p];const v=()=>{const b=f[p];x!==b&&(m("SCROLL"),c()),x=b};return f.addEventListener("scroll",v),()=>f.removeEventListener("scroll",v)}},[a.viewport,l,m,c]),n.jsx(sn,{present:r||d!=="hidden",children:n.jsx(mv,{"data-state":d==="hidden"?"hidden":"visible",...s,ref:t,onPointerEnter:Se(e.onPointerEnter,()=>m("POINTER_ENTER")),onPointerLeave:Se(e.onPointerLeave,()=>m("POINTER_LEAVE"))})})}),sE=g.forwardRef((e,t)=>{const r=cr(Jr,e.__scopeScrollArea),{forceMount:s,...a}=e,[l,c]=g.useState(!1),d=e.orientation==="horizontal",m=Pm(()=>{if(r.viewport){const f=r.viewport.offsetWidth<r.viewport.scrollWidth,p=r.viewport.offsetHeight<r.viewport.scrollHeight;c(d?f:p)}},10);return lo(r.viewport,m),lo(r.content,m),n.jsx(sn,{present:s||l,children:n.jsx(mv,{"data-state":l?"visible":"hidden",...a,ref:t})})}),mv=g.forwardRef((e,t)=>{const{orientation:r="vertical",...s}=e,a=cr(Jr,e.__scopeScrollArea),l=g.useRef(null),c=g.useRef(0),[d,m]=g.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),f=cE(d.viewport,d.content),p={...s,sizes:d,onSizesChange:m,hasThumb:f>0&&f<1,onThumbChange:v=>l.current=v,onThumbPointerUp:()=>c.current=0,onThumbPointerDown:v=>c.current=v};function x(v,b){return $9(v,c.current,d,b)}return r==="horizontal"?n.jsx(O9,{...p,ref:t,onThumbPositionChange:()=>{if(a.viewport&&l.current){const v=a.viewport.scrollLeft,b=l1(v,d,a.dir);l.current.style.transform=`translate3d(${b}px, 0, 0)`}},onWheelScroll:v=>{a.viewport&&(a.viewport.scrollLeft=v)},onDragScroll:v=>{a.viewport&&(a.viewport.scrollLeft=x(v,a.dir))}}):r==="vertical"?n.jsx(D9,{...p,ref:t,onThumbPositionChange:()=>{if(a.viewport&&l.current){const v=a.viewport.scrollTop,b=l1(v,d);l.current.style.transform=`translate3d(0, ${b}px, 0)`}},onWheelScroll:v=>{a.viewport&&(a.viewport.scrollTop=v)},onDragScroll:v=>{a.viewport&&(a.viewport.scrollTop=x(v))}}):null}),O9=g.forwardRef((e,t)=>
vendor: 4,321 bytes, line 85
85{const{sizes:r,onSizesChange:s,...a}=e,l=cr(Jr,e.__scopeScrollArea),[c,d]=g.useState(),m=g.useRef(null),f=Ze(t,m,l.onScrollbarXChange);return g.useEffect(()=>{m.current&&d(getComputedStyle(m.current))},[m]),n.jsx(aE,{"data-orientation":"horizontal",...a,ref:f,sizes:r,style:{bottom:0,left:l.dir==="rtl"?"var(--radix-scroll-area-corner-width)":0,right:l.dir==="ltr"?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":Im(r)+"px",...e.style},onThumbPointerDown:p=>e.onThumbPointerDown(p.x),onDragScroll:p=>e.onDragScroll(p.x),onWheelScroll:(p,x)=>{if(l.viewport){const v=l.viewport.scrollLeft+p.deltaX;e.onWheelScroll(v),uE(v,x)&&p.preventDefault()}},onResize:()=>{m.current&&l.viewport&&c&&s({content:l.viewport.scrollWidth,viewport:l.viewport.offsetWidth,scrollbar:{size:m.current.clientWidth,paddingStart:Wu(c.paddingLeft),paddingEnd:Wu(c.paddingRight)}})}})}),D9=g.forwardRef((e,t)=>{const{sizes:r,onSizesChange:s,...a}=e,l=cr(Jr,e.__scopeScrollArea),[c,d]=g.useState(),m=g.useRef(null),f=Ze(t,m,l.onScrollbarYChange);return g.useEffect(()=>{m.current&&d(getComputedStyle(m.current))},[m]),n.jsx(aE,{"data-orientation":"vertical",...a,ref:f,sizes:r,style:{top:0,right:l.dir==="ltr"?0:void 0,left:l.dir==="rtl"?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":Im(r)+"px",...e.style},onThumbPointerDown:p=>e.onThumbPointerDown(p.y),onDragScroll:p=>e.onDragScroll(p.y),onWheelScroll:(p,x)=>{if(l.viewport){const v=l.viewport.scrollTop+p.deltaY;e.onWheelScroll(v),uE(v,x)&&p.preventDefault()}},onResize:()=>{m.current&&l.viewport&&c&&s({content:l.viewport.scrollHeight,viewport:l.viewport.offsetHeight,scrollbar:{size:m.current.clientHeight,paddingStart:Wu(c.paddingTop),paddingEnd:Wu(c.paddingBottom)}})}})}),[L9,iE]=eE(Jr),aE=g.forwardRef((e,t)=>{const{__scopeScrollArea:r,sizes:s,hasThumb:a,onThumbChange:l,onThumbPointerUp:c,onThumbPointerDown:d,onThumbPositionChange:m,onDragScroll:f,onWheelScroll:p,onResize:x,...v}=e,b=cr(Jr,r),[N,j]=g.useState(null),C=Ze(t,Y=>j(Y)),k=g.useRef(null),A=g.useRef(""),T=b.viewport,P=s.content-s.viewport,I=ht(p),L=ht(m),$=Pm(x,10);function z(Y){if(k.current){const ee=Y.clientX-k.current.left,ge=Y.clientY-k.current.top;f({x:ee,y:ge})}}return g.useEffect(()=>{const Y=ee=>{const ge=ee.target;N?.contains(ge)&&I(ee,P)};return document.addEventListener("wheel",Y,{passive:!1}),()=>document.removeEventListener("wheel",Y,{passive:!1})},[T,N,P,I]),g.useEffect(L,[s,L]),lo(N,$),lo(b.content,$),n.jsx(L9,{scope:r,scrollbar:N,hasThumb:a,onThumbChange:ht(l),onThumbPointerUp:ht(c),onThumbPositionChange:L,onThumbPointerDown:ht(d),children:n.jsx(Le.div,{...v,ref:C,style:{position:"absolute",...v.style},onPointerDown:Se(e.onPointerDown,Y=>{Y.button===0&&(Y.target.setPointerCapture(Y.pointerId),k.current=N.getBoundingClientRect(),A.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",b.viewport&&(b.viewport.style.scrollBehavior="auto"),z(Y))}),onPointerMove:Se(e.onPointerMove,z),onPointerUp:Se(e.onPointerUp,Y=>{const ee=Y.target;ee.hasPointerCapture(Y.pointerId)&&ee.releasePointerCapture(Y.pointerId),document.body.style.webkitUserSelect=A.current,b.viewport&&(b.viewport.style.scrollBehavior=""),k.current=null})})})}),Uu="ScrollAreaThumb",oE=g.forwardRef((e,t)=>{const{forceMount:r,...s}=e,a=iE(Uu,e.__scopeScrollArea);return n.jsx(sn,{present:r||a.hasThumb,children:n.jsx(V9,{ref:t,...s})})}),V9=g.forwardRef((e,t)=>{const{__scopeScrollArea:r,style:s,...a}=e,l=cr(Uu,r),c=iE(Uu,r),{onThumbPositionChange:d}=c,m=Ze(t,x=>c.onThumbChange(x)),f=g.useRef(),p=Pm(()=>{f.current&&(f.current(),f.current=void 0)},100);return g.useEffect(()=>{const x=l.viewport;if(x){const v=()=>{if(p(),!f.current){const b=B9(x,d);f.current=b,d()}};return d(),x.addEventListener("scroll",v),()=>x.removeEventListener("scroll",v)}},[l.viewport,p,d]),n.jsx(Le.div,{"data-state":c.hasThumb?"visible":"hidden",...a,ref:m,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...s},onPointerDownCapture:Se(e.onPointerDownCapture,x=>{const b=x.target.getBoundingClientRect(),N=x.clientX-b.left,j=x.clientY-b.top;c.onThumbPointerDown({x:N,y:j})}),onPointerUp:Se(e.onPointerUp,c.onThumbPointerUp)})});oE.displayName=Uu;var fv="ScrollAreaCorner",lE=g.forwardRef((e,t)=>
vendor: 9,494 bytes, line 85
85{const r=cr(fv,e.__scopeScrollArea),s=!!(r.scrollbarX&&r.scrollbarY);return r.type!=="scroll"&&s?n.jsx(F9,{...e,ref:t}):null});lE.displayName=fv;var F9=g.forwardRef((e,t)=>{const{__scopeScrollArea:r,...s}=e,a=cr(fv,r),[l,c]=g.useState(0),[d,m]=g.useState(0),f=!!(l&&d);return lo(a.scrollbarX,()=>{const p=a.scrollbarX?.offsetHeight||0;a.onCornerHeightChange(p),m(p)}),lo(a.scrollbarY,()=>{const p=a.scrollbarY?.offsetWidth||0;a.onCornerWidthChange(p),c(p)}),f?n.jsx(Le.div,{...s,ref:t,style:{width:l,height:d,position:"absolute",right:a.dir==="ltr"?0:void 0,left:a.dir==="rtl"?0:void 0,bottom:0,...e.style}}):null});function Wu(e){return e?parseInt(e,10):0}function cE(e,t){const r=e/t;return isNaN(r)?0:r}function Im(e){const t=cE(e.viewport,e.content),r=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,s=(e.scrollbar.size-r)*t;return Math.max(s,18)}function $9(e,t,r,s="ltr"){const a=Im(r),l=a/2,c=t||l,d=a-c,m=r.scrollbar.paddingStart+c,f=r.scrollbar.size-r.scrollbar.paddingEnd-d,p=r.content-r.viewport,x=s==="ltr"?[0,p]:[p*-1,0];return dE([m,f],x)(e)}function l1(e,t,r="ltr"){const s=Im(t),a=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,l=t.scrollbar.size-a,c=t.content-t.viewport,d=l-s,m=r==="ltr"?[0,c]:[c*-1,0],f=ug(e,m);return dE([0,c],[0,d])(f)}function dE(e,t){return r=>{if(e[0]===e[1]||t[0]===t[1])return t[0];const s=(t[1]-t[0])/(e[1]-e[0]);return t[0]+s*(r-e[0])}}function uE(e,t){return e>0&&e<t}var B9=(e,t=()=>{})=>{let r={left:e.scrollLeft,top:e.scrollTop},s=0;return(function a(){const l={left:e.scrollLeft,top:e.scrollTop},c=r.left!==l.left,d=r.top!==l.top;(c||d)&&t(),r=l,s=window.requestAnimationFrame(a)})(),()=>window.cancelAnimationFrame(s)};function Pm(e,t){const r=ht(e),s=g.useRef(0);return g.useEffect(()=>()=>window.clearTimeout(s.current),[]),g.useCallback(()=>{window.clearTimeout(s.current),s.current=window.setTimeout(r,t)},[r,t])}function lo(e,t){const r=ht(t);Ot(()=>{let s=0;if(e){const a=new ResizeObserver(()=>{cancelAnimationFrame(s),s=window.requestAnimationFrame(r)});return a.observe(e),()=>{window.cancelAnimationFrame(s),a.unobserve(e)}}},[e,r])}function z9(e,t){const{asChild:r,children:s}=e;if(!r)return typeof t=="function"?t(s):t;const a=g.Children.only(s);return g.cloneElement(a,{children:typeof t=="function"?t(a.props.children):t})}var mE=tE,H9=rE,U9=lE;const fE=g.forwardRef(({className:e,children:t,...r},s)=>n.jsxs(mE,{ref:s,className:Ee("relative overflow-hidden",e),...r,children:[n.jsx(H9,{className:"h-full w-full rounded-[inherit]",children:t}),n.jsx(hE,{}),n.jsx(U9,{})]}));fE.displayName=mE.displayName;const hE=g.forwardRef(({className:e,orientation:t="vertical",...r},s)=>n.jsx(uv,{ref:s,orientation:t,className:Ee("flex touch-none select-none transition-colors",t==="vertical"&&"h-full w-2.5 border-l border-l-transparent p-[1px]",t==="horizontal"&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",e),...r,children:n.jsx(oE,{className:"relative flex-1 rounded-full bg-border"})}));hE.displayName=uv.displayName;const Jd=[{name:"India",code:"IN",dial_code:"+91",flag:"ð®ð³"},{name:"United States",code:"US",dial_code:"+1",flag:"ðºð¸"},{name:"United Kingdom",code:"GB",dial_code:"+44",flag:"ð¬ð§"},{name:"Canada",code:"CA",dial_code:"+1",flag:"ð¨ð¦"},{name:"Australia",code:"AU",dial_code:"+61",flag:"ð¦ðº"},{name:"Afghanistan",code:"AF",dial_code:"+93",flag:"ð¦ð«"},{name:"Albania",code:"AL",dial_code:"+355",flag:"ð¦ð±"},{name:"Algeria",code:"DZ",dial_code:"+213",flag:"ð©ð¿"},{name:"Argentina",code:"AR",dial_code:"+54",flag:"ð¦ð·"},{name:"Armenia",code:"AM",dial_code:"+374",flag:"ð¦ð²"},{name:"Austria",code:"AT",dial_code:"+43",flag:"ð¦ð¹"},{name:"Azerbaijan",code:"AZ",dial_code:"+994",flag:"ð¦ð¿"},{name:"Bahrain",code:"BH",dial_code:"+973",flag:"ð§ð"},{name:"Bangladesh",code:"BD",dial_code:"+880",flag:"ð§ð©"},{name:"Belarus",code:"BY",dial_code:"+375",flag:"ð§ð¾"},{name:"Belgium",code:"BE",dial_code:"+32",flag:"ð§ðª"},{name:"Bhutan",code:"BT",dial_code:"+975",flag:"ð§ð¹"},{name:"Bolivia",code:"BO",dial_code:"+591",flag:"ð§ð´"},{name:"Brazil",code:"BR",dial_code:"+55",flag:"ð§ð·"},{name:"Bulgaria",code:"BG",dial_code:"+359",flag:"ð§ð¬"},{name:"Cambodia",code:"KH",dial_code:"+855",flag:"ð°ð"},{name:"Cameroon",code:"CM",dial_code:"+237",flag:"ð¨ð²"},{name:"Chile",code:"CL",dial_code:"+56",flag:"ð¨ð±"},{name:"China",code:"CN",dial_code:"+86",flag:"ð¨ð³"},{name:"Colombia",code:"CO",dial_code:"+57",flag:"ð¨ð´"},{name:"Costa Rica",code:"CR",dial_code:"+506",flag:"ð¨ð·"},{name:"Croatia",code:"HR",dial_code:"+385",flag:"ðð·"},{name:"Cuba",code:"CU",dial_code:"+53",flag:"ð¨ðº"},{name:"Cyprus",code:"CY",dial_code:"+357",flag:"ð¨ð¾"},{name:"Czech Republic",code:"CZ",dial_code:"+420",flag:"ð¨ð¿"},{name:"Denmark",code:"DK",dial_code:"+45",flag:"ð©ð°"},{name:"Egypt",code:"EG",dial_code:"+20",flag:"ðªð¬"},{name:"Estonia",code:"EE",dial_code:"+372",flag:"ðªðª"},{name:"Ethiopia",code:"ET",dial_code:"+251",flag:"ðªð¹"},{name:"Finland",code:"FI",dial_code:"+358",flag:"ð«ð®"},{name:"France",code:"FR",dial_code:"+33",flag:"ð«ð·"},{name:"Germany",code:"DE",dial_code:"+49",flag:"ð©ðª"},{name:"Ghana",code:"GH",dial_code:"+233",flag:"ð¬ð"},{name:"Greece",code:"GR",dial_code:"+30",flag:"ð¬ð·"},{name:"Hong Kong",code:"HK",dial_code:"+852",flag:"ðð°"},{name:"Hungary",code:"HU",dial_code:"+36",flag:"ððº"},{name:"Iceland",code:"IS",dial_code:"+354",flag:"ð®ð¸"},{name:"Indonesia",code:"ID",dial_code:"+62",flag:"ð®ð©"},{name:"Iran",code:"IR",dial_code:"+98",flag:"ð®ð·"},{name:"Iraq",code:"IQ",dial_code:"+964",flag:"ð®ð¶"},{name:"Ireland",code:"IE",dial_code:"+353",flag:"ð®ðª"},{name:"Israel",code:"IL",dial_code:"+972",flag:"ð®ð±"},{name:"Italy",code:"IT",dial_code:"+39",flag:"ð®ð¹"},{name:"Jamaica",code:"JM",dial_code:"+1876",flag:"ð¯ð²"},{name:"Japan",code:"JP",dial_code:"+81",flag:"ð¯ðµ"},{name:"Jordan",code:"JO",dial_code:"+962",flag:"ð¯ð´"},{name:"Kazakhstan",code:"KZ",dial_code:"+7",flag:"ð°ð¿"},{name:"Kenya",code:"KE",dial_code:"+254",flag:"ð°ðª"},{name:"Kuwait",code:"KW",dial_code:"+965",flag:"ð°ð¼"},{name:"Kyrgyzstan",code:"KG",dial_code:"+996",flag:"ð°ð¬"},{name:"Latvia",code:"LV",dial_code:"+371",flag:"ð±ð»"},{name:"Lebanon",code:"LB",dial_code:"+961",flag:"ð±ð§"},{name:"Libya",code:"LY",dial_code:"+218",flag:"ð±ð¾"},{name:"Lithuania",code:"LT",dial_code:"+370",flag:"ð±ð¹"},{name:"Luxembourg",code:"LU",dial_code:"+352",flag:"ð±ðº"},{name:"Malaysia",code:"MY",dial_code:"+60",flag:"ð²ð¾"},{name:"Maldives",code:"MV",dial_code:"+960",flag:"ð²ð»"},{name:"Malta",code:"MT",dial_code:"+356",flag:"ð²ð¹"},{name:"Mexico",code:"MX",dial_code:"+52",flag:"ð²ð½"},{name:"Morocco",code:"MA",dial_code:"+212",flag:"ð²ð¦"},{name:"Myanmar",code:"MM",dial_code:"+95",flag:"ð²ð²"},{name:"Nepal",code:"NP",dial_code:"+977",flag:"ð³ðµ"},{name:"Netherlands",code:"NL",dial_code:"+31",flag:"ð³ð±"},{name:"New Zealand",code:"NZ",dial_code:"+64",flag:"ð³ð¿"},{name:"Nigeria",code:"NG",dial_code:"+234",flag:"ð³ð¬"},{name:"Norway",code:"NO",dial_code:"+47",flag:"ð³ð´"},{name:"Oman",code:"OM",dial_code:"+968",flag:"ð´ð²"},{name:"Pakistan",code:"PK",dial_code:"+92",flag:"ðµð°"},{name:"Palestine",code:"PS",dial_code:"+970",flag:"ðµð¸"},{name:"Panama",code:"PA",dial_code:"+507",flag:"ðµð¦"},{name:"Paraguay",code:"PY",dial_code:"+595",flag:"ðµð¾"},{name:"Peru",code:"PE",dial_code:"+51",flag:"ðµðª"},{name:"Philippines",code:"PH",dial_code:"+63",flag:"ðµð"},{name:"Poland",code:"PL",dial_code:"+48",flag:"ðµð±"},{name:"Portugal",code:"PT",dial_code:"+351",flag:"ðµð¹"},{name:"Qatar",code:"QA",dial_code:"+974",flag:"ð¶ð¦"},{name:"Romania",code:"RO",dial_code:"+40",flag:"ð·ð´"},{name:"Russia",code:"RU",dial_code:"+7",flag:"ð·ðº"},{name:"Saudi Arabia",code:"SA",dial_code:"+966",flag:"ð¸ð¦"},{name:"Senegal",code:"SN",dial_code:"+221",flag:"ð¸ð³"},{name:"Serbia",code:"RS",dial_code:"+381",flag:"ð·ð¸"},{name:"Singapore",code:"SG",dial_code:"+65",flag:"ð¸ð¬"},{name:"Slovakia",code:"SK",dial_code:"+421",flag:"ð¸ð°"},{name:"Slovenia",code:"SI",dial_code:"+386",flag:"ð¸ð®"},{name:"South Africa",code:"ZA",dial_code:"+27",flag:"ð¿ð¦"},{name:"South Korea",code:"KR",dial_code:"+82",flag:"ð°ð·"},{name:"Spain",code:"ES",dial_code:"+34",flag:"ðªð¸"},{name:"Sri Lanka",code:"LK",dial_code:"+94",flag:"ð±ð°"},{name:"Sweden",code:"SE",dial_code:"+46",flag:"ð¸ðª"},{name:"Switzerland",code:"CH",dial_code:"+41",flag:"ð¨ð"},{name:"Syria",code:"SY",dial_code:"+963",flag:"ð¸ð¾"},{name:"Taiwan",code:"TW",dial_code:"+886",flag:"ð¹ð¼"},{name:"Thailand",code:"TH",dial_code:"+66",flag:"ð¹ð"},{name:"Turkey",code:"TR",dial_code:"+90",flag:"ð¹ð·"},{name:"Uganda",code:"UG",dial_code:"+256",flag:"ðºð¬"},{name:"Ukraine",code:"UA",dial_code:"+380",flag:"ðºð¦"},{name:"United Arab Emirates",code:"AE",dial_code:"+971",flag:"ð¦ðª"},{name:"Uruguay",code:"UY",dial_code:"+598",flag:"ðºð¾"},{name:"Uzbekistan",code:"UZ",dial_code:"+998",flag:"ðºð¿"},{name:"Venezuela",code:"VE",dial_code:"+58",flag:"ð»ðª"},{name:"Vietnam",code:"VN",dial_code:"+84",flag:"ð»ð³"},{name:"Yemen",code:"YE",dial_code:"+967",flag:"ð¾ðª"},{name:"Zimbabwe",code:"ZW",dial_code:"+263",flag:"ð¿ð¼"}].sort((e,t)=>
85e.code==="IN"?-1:t.code==="IN"?1:e.name.localeCompare(t.name)),W9=({country:e,selected:t,onSelect:r})=>{const s=()=>{console.log("CountryItem onSelect called for:",e.name,e.dial_code),r()};return n.jsxs(BA,{value:`${e.name} ${e.dial_code}`,onSelect:s,className:"flex items-center gap-3 py-3 px-3 hover:bg-gray-50 aria-selected:bg-gray-50 text-sm cursor-pointer rounded-lg transition-colors",children:[n.jsx("span",{className:"text-lg flex-shrink-0",children:e.flag}),n.jsx("span",{className:"text-gray-800 truncate flex-grow font-medium",children:e.name}),n.jsx("span",{className:"text-sm text-gray-600 flex-shrink-0 font-mono",children:e.dial_code}),t&&n.jsx(Zu,{className:"h-4 w-4 text-indigo-600 flex-shrink-0"})]})},q9=({value:e,onChange:t})=>{const[r,s]=g.useState(!1),[a,l]=g.useState(""),c=g.useRef(null);console.log("CountrySelector rendered with value:",e);const d=Jd.find(x=>x.dial_code===e)||Jd[0],m=a===""?Jd:Jd.filter(x=>x.name.toLowerCase().includes(a.toLowerCase())||x.dial_code.includes(a));g.useEffect(()=>{r&&setTimeout(()=>{c.current?.focus()},100)},[r]);const f=x=>{console.log("Country selected:",x),t(x),s(!1),l("")},p=x=>{console.log("Popover open state changing to:",x),s(x),x||l("")};return n.jsxs(T9,{open:r,onOpenChange:p,children:[n.jsx(I9,{asChild:!0,children:n.jsxs(Ae,{variant:"outline",role:"combobox","aria-expanded":r,className:"w-full px-2 h-10 justify-between bg-gray-50 border-gray-200 hover:bg-gray-100 hover:text-gray-800 focus:ring-indigo-300 text-sm rounded-xl",type:"button",children:[n.jsxs("div",{className:"flex items-center gap-2 text-gray-800",children:[n.jsx("span",{className:"text-base mr-1",children:d.flag}),n.jsx("span",{className:"text-xs font-medium",children:d.dial_code})]}),n.jsx(zP,{className:"h-3 w-3 shrink-0 opacity-50"})]})}),n.jsx(JA,{className:"w-[300px] p-0 bg-white shadow-lg border border-gray-100 z-[1002] rounded-xl",align:"start",children:n.jsxs(LA,{children:[n.jsxs("div",{className:"flex items-center border-b border-gray-100 px-3 py-2",children:[n.jsx(Z1,{className:"mr-2 h-4 w-4 shrink-0 text-gray-400"}),n.jsx(VA,{ref:c,placeholder:"Search countries...",className:"flex h-8 w-full rounded-md bg-transparent py-2 text-sm outline-none placeholder:text-gray-400 text-gray-800 border-0",value:a,onValueChange:l}),a&&n.jsx(Ae,{variant:"ghost",type:"button",className:"h-6 w-6 p-0 rounded-md text-gray-400 hover:text-gray-600",onClick:()=>l(""),children:n.jsx(uo,{className:"h-3 w-3"})})]}),n.jsxs(fE,{className:"h-[300px]",children:[n.jsx(FA,{className:"py-6 text-center text-sm text-gray-500",children:a?"No country found.":"No country available."}),n.jsx($A,{className:"overflow-visible py-1 px-1",children:m.map(x=>n.jsx(W9,{country:x,selected:x.dial_code===e,onSelect:()=>f(x.dial_code)},x.code))})]})]})})]})},K9=[{value:"less-5000",label:"< 5,000"},{value:"5000-10000",label:"5k - 10k"},{value:"10000-49999",label:"10k - 50k"},{value:"50000-250000",label:"50k - 250k"},{value:"250000-plus",label:"250k+"}],G9=({form:e})=>n.jsxs(n.Fragment,{children:[n.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:[n.jsx(un,{control:e.control,name:"name",render:({field:t})=>n.jsxs(en,{children:[n.jsxs(mn,{className:"text-gray-700 text-xs font-medium",children:["Name ",n.jsx("span",{className:"text-red-500",children:"*"})]}),n.jsx(tn,{children:n.jsxs("div",{className:"relative",children:[n.jsx("div",{className:"absolute left-3 top-2.5 text-indigo-400",children:n.jsx(X1,{size:16})}),n.jsx(Cr,{placeholder:"Enter your full name",className:"pl-10 py-5 h-10 bg-gray-50 border-gray-200 text-gray-800 text-sm placeholder:text-gray-400 focus-visible:ring-indigo-300 focus-visible:border-indigo-300 rounded-xl",...t})]})}),n.jsx(nn,{className:"text-red-500 text-xs"})]})}),n.jsx(un,{control:e.control,name:"company",render:({field:t})=>n.jsxs(en,{children:[n.jsxs(mn,{className:"text-gray-700 text-xs font-medium",children:["Company ",n.jsx("span",{className:"text-red-500",children:"*"})]}),n.jsx(tn,{children:n.jsxs("div",{className:"relative",children:[n.jsx("div",{className:"absolute left-3 top-2.5 text-indigo-400",children:n.jsx(Ya,{size:16})}),n.jsx(Cr,{placeholder:"Your company name",className:"pl-10 py-5 h-10 bg-gray-50 border-gray-200 text-gray-800 text-sm placeholder:text-gray-400 focus-visible:ring-indigo-300 focus-visible:border-indigo-300 rounded-xl",...t})]})}),n.jsx(nn,{className:"text-red-500 text-xs"})]})})]}),n.jsx(un,{control:e.control,name:"email",render:({field:t})=>n.jsxs(en,{children:[n.jsxs(mn,{className:"text-gray-700 text-xs font-medium",children:["Work Email ",n.jsx("span",{className:"text-red-500",children:"*"})]}),n.jsx(tn,{children:n.jsxs("div",{className:"relative",children:[n.jsx("div",{className:"absolute left-3 top-2.5 text-indigo-400",children:n.jsx(e4,{size:16})}),n.jsx(Cr,{placeholder:"[email protected]",type:"email",className:"pl-10 py-5 h-10 bg-gray-50 border-gray-200 text-gray-800 text-sm placeholder:text-gray-400 focus-visible:ring-indigo-300 focus-visible:border-indigo-300 rounded-xl",...t})]})}),n.jsx(nn,{className:"text-red-500 text-xs"})]})}),n.jsx(un,{control:e.control,name:"website",render:({field:t})=>n.jsxs(en,{children:[n.jsx(mn,{className:"text-gray-700 text-xs font-medium",children:"Company Website"}),n.jsx(tn,{children:n.jsxs("div",{className:"relative",children:[n.jsx("div",{className:"absolute left-3 top-2.5 text-indigo-400",children:n.jsx(Gt,{size:16})}),n.jsx(Cr,{placeholder:"https://yourcompany.com",className:"pl-10 py-5 h-10 bg-gray-50 border-gray-200 text-gray-800 text-sm placeholder:text-gray-400 focus-visible:ring-indigo-300 focus-visible:border-indigo-300 rounded-xl",...t})]})}),n.jsx(nn,{className:"text-red-500 text-xs"})]})}),n.jsxs("div",{children:[n.jsxs(mn,{className:"text-gray-700 text-xs font-medium block mb-1",children:["Phone Number ",n.jsx("span",{className:"text-red-500",children:"*"})]}),n.jsxs("div",{className:"flex gap-3",children:[n.jsx(un,{control:e.control,name:"countryCode",render:({field:t})=>n.jsxs(en,{className:"flex-shrink-0 w-[120px]",children:[n.jsx(tn,{children:n.jsx(q9,{value:t.value,onChange:t.onChange})}),n.jsx(nn,{className:"text-red-500 text-xs"})]})}),n.jsx(un,{control:e.control,name:"phoneNumber",render:({field:t})=>n.jsxs(en,{className:"flex-grow",children:[n.jsx(tn,{children:n.jsxs("div",{className:"relative",children:[n.jsx("div",{className:"absolute left-3 top-2.5 text-indigo-400",children:n.jsx(ut,{size:16})}),n.jsx(Cr,{placeholder:"Enter phone number",className:"pl-10 py-5 h-10 bg-gray-50 border-gray-200 text-gray-800 text-sm placeholder:text-gray-400 focus-visible:ring-indigo-300 focus-visible:border-indigo-300 rounded-xl",...t})]})}),n.jsx(nn,{className:"text-red-500 text-xs"})]})})]})]}),n.jsx(un,{control:e.control,name:"callVolume",render:({field:t})=>n.jsxs(en,{children:[n.jsxs(mn,{className:"text-gray-700 text-xs font-medium",children:["Monthly Call Volume ",n.jsx("span",{className:"text-red-500",children:"*"})]}),n.jsxs(mu,{onValueChange:t.onChange,value:t.value,children:[n.jsx(tn,{children:n.jsx(Pl,{className:"w-full h-10 bg-gray-50 border-gray-200 text-gray-800 text-sm focus-visible:ring-indigo-300 focus-visible:border-indigo-300 rounded-xl",children:n.jsx(fu,{placeholder:"Select your monthly call volume"})})}),n.jsx(_l,{className:"bg-white border border-gray-200 shadow-lg z-[1001]",children:K9.map(r=>n.jsx(Bt,{value:r.value,className:"cursor-pointer hover:bg-gray-50 focus:bg-gray-50",children:r.label},r.value))})]}),n.jsx(nn,{className:"text-red-500 text-xs"})]})}),n.jsx(un,{control:e.control,name:"message",render:({field:t})=>n.jsxs(en,{children:[n.jsx(mn,{className:"text-gray-700 text-xs font-medium",children:"Additional Information"}),n.jsx(tn,{children:n.jsxs("div",{className:"relative",children:[n.jsx("div",{className:"absolute left-3 top-2.5 text-indigo-400",children:n.jsx(ys,{size:16})}),n.jsx(_k,{placeholder:"Tell us more about your needs...",className:"resize-none pl-10 min-h-[80px] bg-gray-50 border-gray-200 text-gray-800 text-sm placeholder:text-gray-400 focus-visible:ring-indigo-300 focus-visible:border-indigo-300 rounded-xl",...t})]})}),n.jsx(nn,{className:"text-red-500 text-xs"})]})})]}),Y9=e=>{const t=["gmail.com","yahoo.com","hotmail.com","outlook.com","aol.com","icloud.com","mail.com","zoho.com","protonmail.com","yandex.com"],r=e.split("@")[1]?.toLowerCase();return!r||!t.includes(r)},Z9=Yx({name:jr().min(2,{message:"Name must be at least 2 characters"}),email:jr().email({message:"Please enter a valid email address"}).refine(Y9,{message:"Please use your company email address"}),company:jr().min(2,{message:"Company name is required"}),website:jr().optional(),countryCode:jr().min(1,{message:"Country code is required"}),phoneNumber:jr().min(10,{message:"Phone number must be at least 10 digits"}).regex(/^[0-9]*$/,{message:"Phone number must contain only digits"}),message:jr().optional(),callVolume:HS(["less-5000","5000-10000","10000-49999","50000-250000","250000-plus"],{required_error:"Please select your monthly call volume"})}),Vn=({open:e,onOpenChange:t,source:r="general"})=>{const{toast:s}=lc(),[a,l]=g.useState(!1),c=qx({resolver:Kx(Z9),defaultValues:{name:"",email:"",company:"",website:"",countryCode:"+91",phoneNumber:"",message:"",callVolume:"less-5000"}}),d=async p=>{l(!0),console.log("Form submission started:",p);try{const x=`${p.countryCode}${p.phoneNumber}`,v=new FormData;v.append("name",p.name),v.append("email",p.email),v.append("company",p.company),v.append("website",p.website||""),v.append("phone",x),v.append("callVolume",p.callVolume),v.append("message",p.message||""),v.append("source",r),v.append("_subject",`New Contact Form Submission from ${p.name} - ${p.company}`),v.append("_captcha","false"),console.log("Submitting to FormSubmit...");const b=await fetch("https://formsubmit.co/[email protected]",{method:"POST",body:v});if(console.log("FormSubmit response:",b.status),b.ok)s({title:"Thank y
85ou for reaching out!",description:"Your message has been sent successfully. We'll get back to you within 24 hours."}),c.reset(),t(!1);else throw new Error("Form submission failed")}catch(x){console.error("Error submitting form:",x),s({title:"Something went wrong",description:"Please try again later or contact us directly.",variant:"destructive"})}finally{l(!1)}},m=()=>{switch(r){case"demo":return"Schedule a Demo";case"sales":return"Contact Sales";default:return"Get Started"}},f=()=>{switch(r){case"demo":return"Fill out the form below and we'll schedule a personalized demo for you.";case"sales":return"Get in touch with our sales team to discuss your needs.";default:return"Fill out the form below to get started with CallLive.AI."}};return n.jsx(o$,{open:e,onOpenChange:t,children:n.jsxs(Nk,{className:"sm:max-w-[550px] p-0 overflow-hidden border-0 rounded-2xl bg-white shadow-xl max-h-[90vh] overflow-y-auto",children:[n.jsxs(Ck,{className:"sr-only",children:[n.jsx(Sk,{children:m()}),n.jsx(kk,{children:f()})]}),n.jsx(li,{children:e&&n.jsxs(E.div,{initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.95},transition:{duration:.3},className:"relative w-full h-full",children:[n.jsxs(c$,{className:"absolute right-4 top-4 roun
85ded-full bg-gray-100 hover:bg-gray-200 p-2 text-gray-500 transition-all z-10",children:[n.jsx(uo,{className:"h-4 w-4"}),n.jsx("span",{className:"sr-only",children:"Close"})]}),n.jsxs("div",{className:"p-8",children:[n.jsxs("div",{className:"mb-6 text-center relative z-10",children:[n.jsx("div",{className:"flex justify-center items-center mb-6",children:n.jsx(E.div,{initial:{y:-10,opacity:0},animate:{y:0,opacity:1},transition:{delay:.1,duration:.5},className:"bg-white rounded-xl shadow-sm p-4",children:n.jsx(pm,{size:"medium"})})}),n.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-2",children:m()}),n.jsx("p",{className:"text-gray-600",children:f()})]}),n.jsx(rv,{...c,children:n.jsxs("form",{onSubmit:c.handleSubmit(d),className:"space-y-4",children:[n.jsx(G9,{form:c}),n.jsx(E.div,{whileHover:{scale:1.02},whileTap:{scale:.98},className:"pt-2",children:n.jsx(Ae,{type:"submit",className:"w-full h-12 bg-gradient-to-r from-indigo-600 to-indigo-700 hover:from-indigo-700 hover:to-indigo-800 text-white font-semibold text-base rounded-xl shadow-md transition-all duration-300 hover:shadow-lg disabled:opacity-50 disabled:cursor-not-allowed",disabled:a,children:a?"Submitting...":"Submit"})}),n.jsx("p",{className:"text-gray-500 text-xs text-center",children:"By submitting this form, you agree to our Terms and Privacy Policy."})]})})]})]})})]})})},te=g.forwardRef(({className:e,...t},r)=>n.jsx("div",{ref:r,className:Ee("rounded-lg border bg-card text-card-foreground shadow-sm",e),...t}));te.displayName="Card";const dt=g.forwardRef(({className:e,...t},r)=>n.jsx("div",{ref:r,className:Ee("flex flex-col space-y-1.5 p-6",e),...t}));dt.displayName="CardHeader";const ft=g.forwardRef(({className:e,...t},r)=>n.jsx("h3",{ref:r,className:Ee("text-2xl font-semibold leading-none tracking-tight",e),...t}));ft.displayName="CardTitle";const Xs=g.forwardRef(({className:e,...t},r)=>n.jsx("p",{ref:r,className:Ee("text-sm text-muted-foreground",e),...t}));Xs.displayName="CardDescription";const ne=g.forwardRef(({className:e,...t},r)=>n.jsx("div",{ref:r,className:Ee("p-6 pt-0",e),...t}));ne.displayName="CardContent";const pE=g.forwardRef(({className:e,...t},r)=>n.jsx("div",{ref:r,className:Ee("flex items-center p-6 pt-0",e),...t}));pE.displayName="CardFooter";const Q9=Yx({name:jr().min(2,{message:"Name must be at least 2 characters."}),phoneNumber:jr().min(10,{message:"Phone number must be at least 10 digits"}).refine(e=>e.length===10?/^[0-9]+$/.test(e):e.length>10?e.startsWith("+")||e.startsWith("0"):!1,{message:"Must be 10 digits, or if longer must start with + or 0"})}),X9=({onSubmit:e,className:t})=>{const[r,s]=g.useState(!1),{toast:a}=lc(),l=qx({resolver:Kx(Q9),defaultValues:{name:"",phoneNumber:""}}),c=d=>{if(s(!0),console.log("Phone form submitted:",{name:d.name,phoneNumber:d.phoneNumber,recipient:"[email protected]"}),a({title:"Call Initiated",description:"Form submitted to [email protected]. You will receive a call from CallLive.AI shortly.",duration:5e3}),e){const m={name:d.name,phoneNumber:d.phoneNumber};e(m)}setTimeout(()=>{l.reset(),s(!1)},3e3)};return n.jsxs(te,{className:Ee("max-w-sm w-full mx-auto overflow-hidden shadow-xl border border-indigo-100","rounded-3xl bg-white backdrop-blur-sm relative",t),children:[n.jsx("div",{className:"absolute top-0 w-full h-8 bg-gradient-to-r from-indigo-600 to-purple-600 rounded-t-3xl",children:n.jsx("div",{className:"w-16 h-1.5 bg-white/30 mx-auto mt-3 rounded-full"})}),n.jsxs(dt,{className:"pt-12 pb-6 px-8",children:[n.jsx("div",{className:"flex items-center justify-center mb-3",children:n.jsx("div",{className:"bg-indigo-100 p-3 rounded-full",children:n.jsx(ut,{className:"h-7 w-7 text-indigo-600"})})}),n.jsx("h3",{className:"text-xl font-semibold text-center text-slate-800",children:"Live Demo Call"})]}),n.jsx(ne,{className:"px-8 pb-6",children:n.jsx(rv,{...l,children:n.jsxs("form",{onSubmit:l.handleSubmit(c),className:"space-y-5",children:[n.jsx(un,{control:l.control,name:"name",render:({field:d})=>n.jsxs(en,{children:[n.jsx("div",{className:"mb-1.5 flex items-center",children:n.jsx(mn,{className:"text-sm uppercase tracking-wider text-gray-500 font-medium pl-1",children:"Your First Name"})}),n.jsx(tn,{children:n.jsx(Cr,{placeholder:"Enter your first name",className:`border-gray-200 focus:border-indigo-300 \r 86 placeholder:text-gray-400 \r 87 text-gray-700 \r 88 py-3.5 px-4 \r 89 rounded-xl \r 90 shadow-sm \r 91 transition-all \r 92 duration-300 \r 93 focus:ring-2 \r 94 focus:ring-indigo-200`,...d})}),n.jsx(nn,{className:"text-xs text-red-500 mt-1.5 flex items-center",children:l.formState.errors.name&&n.jsxs(n.Fragment,{children:[n.jsx(wl,{className:"h-3 w-3 mr-1"})," ",l.formState.errors.name.message]})})]})}),n.jsx(un,{control:l.control,name:"phoneNumber",render:({field:d})=>n.jsxs(en,{children:[n.jsx("div",{className:"mb-1.5 flex items-center",children:n.jsx(mn,{className:"text-sm uppercase tracking-wider text-gray-500 font-medium pl-1",children:"Phone Number"})}),n.jsx(tn,{children:n.jsx(Cr,{type:"tel",placeholder:"Enter your phone number",className:`border-gray-200 focus:border-indigo-300 \r 95 placeholder:text-gray-400 \r 96 text-gray-700 \r 97 py-3.5 px-4 \r 98 rounded-xl \r 99 shadow-sm \r 100 transition-all \r 101 duration-300 \r 102 focus:ring-2 \r 103 focus:ring-indigo-200`,...d})}),n.jsx(nn,{className:"text-xs text-red-500 mt-1.5 flex items-center",children:l.formState.errors.phoneNumber&&n.jsxs(n.Fragment,{children:[n.jsx(wl,{className:"h-3 w-3 mr-1"})," ",l.formState.errors.phoneNumber.message]})})]})}),n.jsx(Ae,{type:"submit",className:"w-full bg-gradient-to-r from-indigo-600 to-indigo-700 hover:from-indigo-700 hover:to-indigo-800 text-white py-4 rounded-xl transition-all text-base",disabled:r,children:r?"Request Sent!":"Get a Call"})]})})}),n.jsx(pE,{className:"px-8 py-5 bg-gray-50 border-t border-gray-100 text-center",children:n.jsx("p",{className:"text-sm text-gray-500 w-full",children:"You will get a call from our AI Powered Phone Agent"})})]})},J9=()=>{const[e,t]=g.useState(!1),{toast:r}=lc(),s=()=>{t(!e)},a=async l=>{if(!l.phoneNumber.trim()){r({title:"Error",description:"Please enter a phone number",variant:"destructive"});return}let c=l.phoneNumber.trim();!c.startsWith("0")&&!c.startsWith("+")&&(c="0"+c);try{console.log("Initiating call with params:",{fromNumber:c,callerID:"08047095409"});
103const d=await fetch("/api/exotel_single_call",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({fromNumber:c,callerID:"08047095409"})});if(console.log("Response status:",d.status),r({title:"Call Placed",description:"Your call request has been processed successfully",className:"border-green-200 bg-green-50 text-green-800"}),d.ok){const m=await d.json();console.log("Response body:",m)}else{const m=await d.text();console.error("Error response:",m)}setTimeout(()=>{t(!1)},3e3)}catch(d){console.error("Fetch error:",d),r({title:"Call Placed",description:"Your call request has been processed successfully",className:"border-green-200 bg-green-50 text-green-800"}),setTimeout(()=>{t(!1)},3e3)}};return n.jsxs(n.Fragment,{children:[n.jsx(E.button,{className:`fixed bottom-6 right-6 z-40 bg-gradient-to-r from-indigo-600 to-indigo-700 \r 104 text-white rounded-full w-16 h-16 flex items-center justify-center shadow-lg\r 105 hover:shadow-xl hover:from-indigo-700 hover:to-indigo-800 transition-all`,onClick:s,initial:{y:0},animate:{y:[0,-10,0],transition:{y:{repeat:1/0,duration:2,ease:"easeInOut"}}},whileHover:{scale:1.05},whileTap:{scale:.95},children:n.jsx(ut,{className:"h-6 w-6"})}),n.jsx(li,{children:e&&n.jsx("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-black/50",children:n.jsxs(E.div,{initial:{opacity:0,y:20,scale:.9},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:20,scale:.9},transition:{type:"spring",duration:.5},className:"relative max-w-md w-full mx-4",children:[n.jsx(X9,{onSubmit:a}),n.jsx(E.button,{className:"absolute -top-3 -right-3 bg-white rounded-full p-2 shadow-md",onClick:()=>t(!1),whileHover:{scale:1.1},whileTap:{scale:.9},children:n.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[n.jsx("path",{d:"M18 6 6 18"}),n.jsx("path",{d:"m6 6 12 12"})]})})]})})})]})},eB=()=>{const[e,t]=g.useState(!1);return n.jsxs("section",{className:"relative py-24 bg-gradient-to-br from-background via-muted/30 to-background overflow-hidden",children:[n.jsx("div",{className:"absolute inset-0 bg-grid-pattern opacity-30"}),n.jsx("div",{className:"container mx-auto px-6 relative z-10",children:n.jsxs("div",{className:"max-w-7xl mx-auto",children:[n.jsx(qt,{badge:"Global AI Solutions",title:"Global AI Voice Agent Solutions - CallLive.ai",subtitle:"Leading global AI voice automation platform transforming customer engagement across enterprises, startups, and SMEs with multilingual conversational AI technology supporting 60+ languages worldwide.",align:"center"}),n.jsx("div",{className:"mb-20"}),n.jsxs("div",{className:"grid lg:grid-cols-2 gap-8 mb-24",children:[n.jsxs(E.div,{initial:{opacity:0,x:-20},whileInView:{opacity:1,x:0},transition:{duration:.6,delay:.1},viewport:{once:!0},className:"relative group",children:[n.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-primary/5 to-purple-500/5 rounded-3xl blur-xl group-hover:blur-2xl transition-all duration-300"}),n.jsxs("div",{className:"relative bg-card border border-border/50 p-8 rounded-3xl shadow-premium hover:shadow-premium-lg transition-all duration-500 group-hover:scale-[1.02]",children:[n.jsxs("div",{className:"flex items-center gap-4 mb-6",children:[n.jsxs("div",{className:"relative",children:[n.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-primary to-purple-600 rounded-2xl blur opacity-20 group-hover:opacity-30 transition-opacity"}),n.jsx("div",{className:"relative bg-gradient-to-r from-primary to-purple-600 p-4 rounded-2xl",children:n.jsx(VP,{className:"w-8 h-8 text-primary-foreground"})})]}),n.jsxs("div",{children:[n.jsx("h3",{className:"text-2xl font-heading font-bold text-foreground mb-2",children:"Advanced AI Voice Technology"}),n.jsxs("div",{className:"flex items-center gap-2",children:[n.jsx(Qa,{className:"w-4 h-4 text-primary"}),n.jsx("span",{className:"text-sm font-medium text-primary",children:"Next-Gen Intelligence"})]})]})]}),n.jsxs("div",{className:"space-y-6",children:[n.jsxs("div",{className:"border-l-4 border-primary/20 pl-6",children:[n.jsx("h4",{className:"text-lg font-semibold text-foreground mb-2",children:"Advanced NLP for Global Language Understanding"}),n.jsx("p",{className:"text-muted-foreground leading-relaxed",children:"Our AI voice agents excel in multilingual context understanding, handling diverse accents, code-switching conversations, and cultural nuances specific to global customer communication patterns."})]}),n.jsxs("div",{className:"border-l-4 border-purple-500/20 pl-6",children:[n.jsxs("h5",{className:"text-base font-semibold text-foreground mb-2 flex items-center gap-2",children:[n.jsx(i4,{className:"w-4 h-4 text-purple-600"}),"Global Voice Synthesis Excellence"]}),n.jsx("p",{className:"text-muted-foreground text-sm",children:"High-quality voice synthesis trained on global speech patterns, delivering natural conversations in native accents across 60+ languages and dialects."})]})]})]})]}),n.jsxs(E.div,{initial:{opacity:0,x:20},whileInView:{opacity:1,x:0},transition:{duration:.6,delay:.2},viewport:{once:!0},className:"relative group",children:[n.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-primary/5 to-purple-400/5 rounded-3xl blur-xl group-hover:blur-2xl transition-all duration-300"}),n.jsxs("div",{className:"relative bg-card border border-border/50 p-8 rounded-3xl shadow-premium hover:shadow-
105premium-lg transition-all duration-500 group-hover:scale-[1.02]",children:[n.jsxs("div",{className:"flex items-center gap-4 mb-6",children:[n.jsxs("div",{className:"relative",children:[n.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-primary/80 to-purple-500 rounded-2xl blur opacity-20 group-hover:opacity-30 transition-opacity"}),n.jsx("div",{className:"relative bg-gradient-to-r from-primary/80 to-purple-500 p-4 rounded-2xl",children:n.jsx(Gt,{className:"w-8 h-8 text-primary-foreground"})})]}),n.jsxs("div",{children:[n.jsx("h3",{className:"text-2xl font-heading font-bold text-foreground mb-2",children:"Global Multi-Language Support"}),n.jsxs("div",{className:"flex items-center gap-2",children:[n.jsx(Qa,{className:"w-4 h-4 text-primary"}),n.jsx("span",{className:"text-sm font-medium text-primary",children:"60+ Languages"})]})]})]}),n.jsxs("div",{className:"space-y-6",children:[n.jsxs("div",{className:"border-l-4 border-primary/20 pl-6",children:[n.jsx("h4",{className:"text-lg font-semibold text-foreground mb-2",children:"Native-Level Language Support"}),n.jsx("p",{className:"text-muted-foreground leading-relaxed",children:"Serve customers worldwide with native-level language support and cultural understanding across 60+ languages and dialects."})]}),n.jsxs("div",{className:"border-l-4 border-purple-500/20 pl-6",children:[n.jsxs("h5",{className:"text-base font-semibold text-foreground mb-2 flex items-center gap-2",children:[n.jsx(rn,{className:"w-4 h-4 text-primary"}),"Cultural Context Awareness"]}),n.jsx("p",{className:"text-muted-foreground text-sm",children:"AI agents adapt communication style based on cultural norms, regional accents, and local business practices for authentic interactions."})]})]})]})]})]}),n.jsxs("div",{className:"mb-24",children:[n.jsx(qt,{badge:"Industry Solutions",title:"Specialized AI Voice Solutions for Your Industry",subtitle:"Tailored automation solutions designed specifically for Real Estate and Hospitality sectors",align:"center"}),n.jsxs("div",{className:"mt-16 grid lg:grid-cols-2 gap-8",children:[n.jsxs(E.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.6,delay:.1},viewport:{once:!0},className:"relative group",children:[n.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-purple-500/10 to-pink-500/10 rounded-3xl blur-xl group-hover:blur-2xl transition-all duration-300"}),n.jsxs("div",{className:"relative bg-card border border-border/50 rounded-3xl p-8 shadow-feature-card hover:shadow-feature-card-hover transition-all duration-500 group-hover:scale-[1.02]",children:[n.jsxs("div",{className:"text-center mb-8",children:[n.jsxs("div",{className:"relative inline-block mb-6",children:[n.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-purple-500 to-pink-500 rounded-full blur opacity-20 group-hover:opacity-30 transition-opacity"}),n.jsx("div",{className:"relative bg-gradient-to-r from-purple-500 to-pink-500 p-4 rounded-full",children:n.jsx(Qr,{className:"w-10 h-10 text-white"})})]}),n.jsx("h4",{className:"text-2xl font-heading font-bold text-foreground mb-3",children:"Real Estate AI Voice Agents"}),n.jsx("p",{className:"text-muted-foreground",children:"Transform your real estate business with intelligent voice automation"})]}),n.jsxs("div",{className:"space-y-4 mb-8",children:[n.jsxs("div",{className:"flex items-start gap-4 p-4 bg-muted/20 rounded-2xl border border-border/30",children:[n.jsx("div",{className:"bg-purple-500/10 p-2 rounded-lg",children:n.jsx(Ie,{className:"w-5 h-5 text-purple-600"})}),n.jsxs("div",{children:[n.jsx("h5",{className:"font-semibold text-foreground mb-1",children:"Lead Qualification & Follow-up"}),n.jsx("p",{className:"text-sm text-muted-foreground",children:"Automatically qualify leads, schedule property viewings, and nurture prospects with personalized follow-ups."})]})]}),n.jsxs("div",{className:"flex items-start gap-4 p-4 bg-muted/20 rounded-2xl border border-border/30",children:[n.jsx("div",{className:"bg-purple-500/10 p-2 rounded-lg",children:n.jsx(Dn,{className:"w-5 h-5 text-purple-600"})}),n.jsxs("div",{children:[n.jsx("h6",{className:"font-semibold text-foreground mb-1",children:"Property Information & Scheduling"}),n.jsx("p",{className:"text-sm text-muted-foreground",children:"Provide detailed property information, schedule tours, and handle client inquiries 24/7."})]})]}),n.jsxs("div",{className:"flex items-start gap-4 p-4 bg-muted/20 rounded-2xl border border-border/30",children:[n.jsx("div",{className:"bg-purple-500/10 p-2 rounded-lg",children:n.jsx(ut,{className:"w-5 h-5 text-purple-600"})}),n.jsxs("div",{children:[n.jsx("h6",{className:"font-semibold text-foreground mb-1",children:"Client Communication Management"}),n.jsx("p",{className:"text-sm text-muted-foreground",children:"Maintain consistent communication with buyers and sellers throughout the transaction process."})]})]})]}),n.jsx(Ae,{className:"w-full bg-gradient-to-r from-purple-500 to-pink-500 hover:from-purple-600 hover:to-pink-600 text-white font-semibold",children:"Transform Real Estate Sales"})]})]}),n.jsxs(E.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.6,delay:.2},viewport:{once:!0},className:"relative group",children:[n.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-primary/10 to-purple-400/10 rounded-3xl blur-xl group-hover:blur-2xl transition-all duration-300"}),n.jsxs("div",{className:"relative bg-card border border-border/50 rounded-3xl p-8 shadow-premium hover:shadow-
105premium-lg transition-all duration-500 group-hover:scale-[1.02]",children:[n.jsxs("div",{className:"text-center mb-8",children:[n.jsxs("div",{className:"relative inline-block mb-6",children:[n.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-primary/80 to-purple-500 rounded-full blur opacity-20 group-hover:opacity-30 transition-opacity"}),n.jsx("div",{className:"relative bg-gradient-to-r from-primary/80 to-purple-500 p-4 rounded-full",children:n.jsx(pu,{className:"w-10 h-10 text-primary-foreground"})})]}),n.jsx("h4",{className:"text-2xl font-heading font-bold text-foreground mb-3",children:"Hospitality AI Voice Solutions"}),n.jsx("p",{className:"text-muted-foreground",children:"Elevate guest experience with intelligent hospitality automation"})]}),n.jsxs("div",{className:"space-y-4 mb-8",children:[n.jsxs("div",{className:"flex items-start gap-4 p-4 bg-muted/20 rounded-2xl border border-border/30",children:[n.jsx("div",{className:"bg-primary/10 p-2 rounded-lg",children:n.jsx(Ie,{className:"w-5 h-5 text-primary"})}),n.jsxs("div",{children:[n.jsx("h5",{className:"font-semibold text-foreground mb-1",children:"Reservation Management"}),n.jsx("p",{className:"text-sm text-muted-foreground",children:"Handle bookings, cancellations, and modifications with intelligent room availability management."})]})]}),n.jsxs("div",{className:"flex items-start gap-4 p-4 bg-muted/20 rounded-2xl border border-border/30",children:[n.jsx("div",{className:"bg-primary/10 p-2 rounded-lg",children:n.jsx(Rt,{className:"w-5 h-5 text-primary"})}),n.jsxs("div",{children:[n.jsx("h6",{className:"font-semibold text-foreground mb-1",children:"Guest Services Automation"}),n.jsx("p",{className:"text-sm text-muted-foreground",children:"Provide 24/7 concierge services, room service orders, and local recommendations."})]})]}),n.jsxs("div",{className:"flex items-start gap-4 p-4 bg-muted/20 rounded-2xl border border-border/30",children:[n.jsx("div",{className:"bg-primary/10 p-2 rounded-lg",children:n.jsx(Dn,{className:"w-5 h-5 text-primary"})}),n.jsxs("div",{children:[n.jsx("h6",{className:"font-semibold text-foreground mb-1",children:"Multi-Property Support"}),n.jsx("p",{className:"text-sm text-muted-foreground",children:"Manage multiple locations with unified guest communication and brand consistency."})]})]})]}),n.jsx(Ae,{className:"w-full bg-gradient-to-r from-primary to-purple-600 hover:from-primary/90 hover:to-purple-700 text-primary-foreground font-semibold",children:"Enhance Guest Experience"})]})]})]}),n.jsxs(E.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.6,delay:.3},viewport:{once:!0},className:"mt-16 relative",children:[n.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-primary/10 via-purple-500/10 to-primary/10 rounded-3xl blur-xl"}),n.jsxs("div",{className:"relative bg-gradient-to-r from-primary via-purple-600 to-primary rounded-3xl p-8 md:p-12 text-primary-foreground overflow-hidden",children:[n.jsx("div",{className:"absolute inset-0 bg-grid-pattern opacity-10"}),n.jsxs("div",{className:"relative text-center",children:[n.jsx("h4",{className:"text-3xl md:text-4xl font-heading font-bold mb-4",children:"Ready to Transform Your Business?"}),n.jsx("p",{className:"text-lg md:text-xl mb-8 opacity-90 max-w-2xl mx-auto",children:"Join leading Real Estate and Hospitality businesses using CallLive.ai to revolutionize their customer experience"}),n.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:[n.jsx(Ae,{size:"lg",variant:"secondary",className:"bg-card text-primary hover:bg-card/90 font-semibold shadow-premium-sm",onClick:()=>t(!0),children:"Book Free Demo"}),n.jsx(Ae,{size:"lg",variant:"secondary",className:"bg-card text-primary hover:bg-card/90 font-semibold shadow-premium-sm",onClick:()=>{document.getElementById("pricing")?.scrollIntoView({behavior:"smooth"})},children:"View Pricing Plans"})]})]})]})]})]}),n.jsxs(E.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.6,delay:.4},viewport:{once:!0},className:"relative",children:[n.jsx("div",{className:"absolute inset-0 bg-muted/30 rounded-3xl blur-xl"}),n.jsxs("div",{className:"relative bg-card border border-border/50 p-8 md:p-12 rounded-3xl shadow-premium",children:[n.jsx(qt,{title:"Transform Your Customer Experience Today",subtitle:"Unlock the full potential of AI voice technology with measurable results and enterprise-grade security",align:"center",titleClassName:"text-2xl md:text-3xl"}),n.jsxs("div",{className:"mt-12 grid lg:grid-cols-2 gap-8",children:[n.jsx("div",{className:"space-y-6",children:n.jsxs("div",{className:"flex items-start gap-4",children:[n.jsx("div",{className:"bg-green-500/10 p-3 rounded-2xl",children:n.jsx(Ie,{className:"w-6 h-6 text-green-500"})}),n.jsxs("div",{children:[n.jsx("h4",{className:"text-xl font-heading font-bold text-foreground mb-3",children:"Immediate ROI Benefits"}),n.jsxs("div",{className:"space-y-3",children:[n.jsxs("div",{className:"flex items-center gap-3",children:[n.jsx("div",{className:"w-2 h-2 bg-green-500 rounded-full"}),n.jsx("span",{className:"text-muted-foreground",children:"Reduce operational costs by up to 60%"})]}),n.jsxs("div",{className:"flex items-center gap-3",children:[n.jsx("div",{className:"w-2 h-2 bg-green-500 rounded-full"}),n.jsx("span",{className:"text-muted-foreground",children:"Increase customer satisfaction scores"})]}),n.jsxs("div",{className:"flex items-center gap-3",children:[n.jsx("div",{className:"w-2 h-2 bg-green-500 rounded-full"}),n.jsx("span",{className:"text-muted-foreground",children:"Handle 10x more calls simultaneously"})]})]})]})]})}),n.jsx("div",{className:"space-y-6",children:n.jsxs("div",{className:"flex items-start gap-4",children:[n.jsx("div",{className:"bg-primary/10 p-3 rounded-2xl",children:n.jsx(ar,{className:"w-6 h-6 text-primary"})}),n.jsxs("div",{children:[n.jsx("h4",{className:"text-xl font-heading font-bold text-foreground mb-3",children:"Enterprise Security & Reliability"}),n.jsxs("div",{className:"space-y-3",children:[n.jsxs("div",{className:"flex items-center gap-3",children:[n.jsx("div",{className:"w-2 h-2 bg-primary rounded-full"}),n.jsx("span",{className:"text-muted-foreground",children:"99.9% uptime guarantee"})]}),n.jsxs("div",{className:"flex items-center gap-3",children:[n.jsx("div",{className:"w-2 h-2 bg-primary rounded-full"}),n.jsx("span",{className:"text-muted-foreground",children:"End-to-end encryption"})]}),n.jsxs("div",{className:"flex items-center gap-3",children:[n.jsx("div",{className:"w-2 h-2 bg-primary rounded-full"}),n.jsx("span",{className:"text-muted-foreground",children:"Enterprise-grade security features"})]})]})]})]})})]})]})]})]})}),n.jsx(Vn,{open:e,onOpenChange:t,source:"demo"})]})},tB=()=>{const[e,t]=g.useState(null),r=[{question:"What is an AI voice agent and how does it work in India?",answer:"An AI voice agent is an artificial intelligence-powered conversational system that handles customer calls automatically. In India, these voicebots support multiple regional languages including Hindi, Tamil, Telugu, Bengali, and Marathi, providing human-like interactions for businesses across sectors."},{question:"How much does AI voice automation cost for Indian businesses?",answer:"AI voice automation typically reduces customer service costs by 60-75% for Indian companies. Our pricing starts from â¹15,000 per month for small businesses, with enterprise solutions customized based on call volume and requirements."},{question:"Which Indian languages are supported by CallLive.ai voice agents?",answer:"CallLive.ai supports 15+ Indian regi
105onal languages including Hindi, English, Tamil, Telugu, Bengali, Marathi, Gujarati, Kannada, Malayalam, Punjabi, Odia, and Assamese. We also handle various Indian English accents and dialects."},{question:"Can AI voicebots integrate with existing CRM systems used in India?",answer:"Yes, our AI voice agents seamlessly integrate with popular CRM platforms used in India like Salesforce, Zoho CRM, Freshworks, and custom business applications. Integration typically takes 24-48 hours."},{question:"Are AI voice agents compliant with Indian data protection laws?",answer:"Absolutely. CallLive.ai is fully compliant with Indian data protection regulations, RBI guidelines for financial services, and maintains ISO 27001 certification. All data is stored securely within Indian data centers."},{question:"How quickly can Indian businesses deploy AI voice automation?",answer:"Most Indian businesses can deploy our AI voice agents within 3-5 business days. This includes voice training, regional language setup, CRM integration, and staff training for seamless transition."},{question:"What industries in India benefit most from AI voice technology?",answer:"Key Indian industries using AI voice agents include e-commerce (like Meesho), banking and fintech, healthcare, real estate, travel and hospitality, EdTech, and customer support outsourcing companies."},{question:"Can AI voicebots handle complex customer queries in Indian context?",answer:"Yes, our AI agents are trained on Indian business contexts, cultural nuances, and can handle complex queries related to banking, insurance claims, order tracking, appointment booking, and technical support with 95% accuracy."}],s=a=>{t(e===a?null:a)};return n.jsxs("section",{className:"relative py-24 bg-gradient-to-b from-background to-primary/5 overflow-hidden",children:[n.jsx("div",{className:"absolute inset-0 bg-[radial-gradient(circle_at_1px_1px,hsl(var(--primary)/0.04)_1px,transparent_0)]",style:{backgroundSize:"30px 30px"}}),n.jsxs("div",{className:"container mx-auto px-6 relative z-10",children:[n.jsx(qt,{badge:"FAQ",title:"Frequently Asked Questions About AI Voice Agents in India",subtitle:"Get answers to common questions about implementing AI voice automation for Indian businesses"}),n.jsx("div",{className:"max-w-4xl mx-auto",children:r.map((a,l)=>n.jsx(E.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.5,delay:l*.05},viewport:{once:!0},className:"mb-4",children:n.jsxs("div",{className:"bg-card rounded-2xl shadow-premium-sm border border-border/50 overflow-hidden hover:border-primary/20 transition-all duration-300",children:[n.jsxs("button",{onClick:()=>s(l),className:"w-full px-6 py-5 text-left flex justify-between items-center hover:bg-muted/30 transition-colors",children:[n.jsx("h3",{className:"text-lg font-semibold text-foreground pr-4",children:a.question}),n.jsx(E.div,{animate:{rotate:e===l?180:0},transition:{duration:.3},className:"flex-shrink-0",children:n.jsx("div",{className:"bg-primary/10 p-1.5 rounded-lg",children:n.jsx(co,{className:"w-4 h-4 text-primary"})})})]}),n.jsx(li,{children:e===l&&n.jsx(E.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},transition:{duration:.3},className:"overflow-hidden",children:n.jsx("div",{className:"px-6 pb-5 border-t border-border/30",children:n.jsx("p",{className:"text-muted-foreground leading-relaxed pt-4",children:a.answer})})})})]})},l))}),n.jsx("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify({"@context":"https://schema.org","@type":"FAQPage",mainEntity:r.map(a=>({"@type":"Question",name:a.question,acceptedAnswer:{"@type":"Answer",text:a.answer}}))})}})]})]})},nB=JSON.parse(`[{"id":"rec_001_sattva_developer","recording_url":"/audio/Luxury-Property-Goal-Oriented-Persistence.mp3","display_title":"'Just WhatsApp Me' â How AI Turns Brush-Offs Into Bookings","subtitle":"Persistent without being pushy â the AI sales sweet spot","industry":"Real Estate","use_case":"Outbound Lead Generation","agent":{"name":"Rahul","role":"AI Sales Agent","voice":"Male, Indian English","avatar_gradient":["#8B5CF6","#6366F1"]},"capabilities":["Smart Persistence","Multi-Channel Handoff","Soft Commitment Extraction"],"languages":["English"],"metrics":{"duration_seconds":160,"outcome":"Sunday site visit confirmed + WhatsApp details sent","outcome_type":"success"},"summary":"Every sales team knows this prospect â 'Just send it on WhatsApp.' Most agents give up here. Rahul doesn't. He agrees to share the details AND casually locks in a Sunday visit before hanging up. Persistent, polite, and effective.","highlight":{"context":"The prospect tries to end the call, but Rahul skillfully steers:","exchanges":[{"speaker":"Prospect","text":"Just send me the project details on WhatsApp first..."},{"speaker":"AI Agent","text":"Sure, I'll share on WhatsApp. Meanwhile, when would you like to visit? Saturday or Sunday works well."}]}},{"id":"rec_002_tata_varnam_hindi_switch","recording_url":"/audio/Pre-Launch-Property-Pitch.mp3","display_title":"'Hindi Boliye' â AI Switches Languages Instantly","subtitle":"From English intro to fluent Hindi pitch in under a second","industry":"Real Estate","use_case":"Outbound Lead Generation & Site Visit Booking","agent":{"
105name":"Rahul","role":"AI Sales Agent","voice":"Male, Bilingual (English to Hindi)","avatar_gradient":["#8B5CF6","#6366F1"]},"capabilities":["Zero-Delay Language Switching","Empathetic Repositioning","Commitment Securing"],"languages":["English","Hindi"],"metrics":{"duration_seconds":125,"outcome":"Site visit booked for Saturday 11 AM","outcome_type":"success"},"summary":"The prospect tells Rahul they don't speak English. Without missing a beat, the AI shifts to natural Hindi and repositions a luxury township as a dream home for working professionals. Result? A confirmed Saturday site visit. This is how you sell across language barriers.","highlight":{"context":"The prospect requests Hindi â and the AI adapts instantly:","exchanges":[{"speaker":"Prospect","text":"Humko English nahi aata saab, hindi boliye."},{"speaker":"AI Agent","text":"Thank you. Is project ka naam hai Varnam aur ye Carnatica naam ki ek bahut badi 135 acre township ka pehla phase hai..."}]}},{"id":"rec_003_sattva_hamlet","recording_url":"/audio/Investment-Pitch-Turing-Test-Passed.mp3","display_title":"'Are You an AI?' â Hear How Our Agent Handles It","subtitle":"So human-like that prospects question if it's real","industry":"Real Estate","use_case":"Pre-Launch Outbound Pitch","agent":{"name":"Rahul","role":"AI Sales Agent","voice":"Male, Indian English","avatar_gradient":["#8B5CF6","#6366F1"]},"capabilities":["Human-Like Conversation","Graceful Identity Handling","Conversation Steering"],"languages":["English"],"metrics":{"duration_seconds":105,"outcome":"Engagement maintained â prospect moved to requirements","outcome_type":"engagement"},"summary":"This is the moment every AI company hopes for. The prospect is so impressed by Rahul's responses that they ask: 'Are you an AI?' Rahul handles it with poise and redirects to what matters â the property. No scripts, no awkwardness.","highlight":{"context":"Impressed by the conversation quality, the prospect gets suspicious:","exchanges":[{"speaker":"Prospect","text":"By any chance, are you an AI?"},{"speaker":"AI Agent","text":"I'm Rahul from Sattva Group, here to help with all details about Sattva Hamlet. What kind of apartment or budget are you thinking about?"}]}},{"id":"rec_004_lake_city","recording_url":"/audio/Plotted-Development-Pitch.mp3","display_title":"English to Hindi in 2 Seconds â No Awkward Pauses","subtitle":"Multilingual AI that matches your prospect's comfort language","industry":"Real Estate","use_case":"Outbound Cold Calling","agent":{"name":"Rahul","role":"AI Sales Agent","voice":"Male, Indian English + Hindi","avatar_gradient":["#8B5CF6","#6366F1"]},"capabilities":["Instant Language Switching","Objection Handling","RERA Compliance Awareness"],"languages":["English","Hindi"],"metrics":{"duration_seconds":210,"outcome":"Brochure sent â prospect engaged for follow-up","outcome_type":"success"},"summary":"The prospect switches from English to Hindi mid-conversation. Rahul follows instantly â no confusion, no delay. He then handles a tricky RERA number question without breaking a sweat. This is multilingual selling at scale.","highlight":{"context":"The prospect switches to Hindi to describe plot preferences:","exchanges":[{"speaker":"Prospect","text":"1200 plus... usse zyada hoga toh chalega. Odd size nahi chahiye."},{"speaker":"AI Agent","text":"Ji samajh gaya. The Lake City mein plots 1000 se lekar 1500 sq ft tak ke hain. Aap 1200 se upar ka regular shape plot dekh sakte hain."}]}},{"id":"rec_005_viyan_hindi","recording_url":"/audio/High-Rise-Project-Pitch.mp3","display_title":"Full Hindi Sales Call â From Pitch to Booked Visit","subtitle":"Natural Hindi conversation with smart error recovery","industry":"Real Estate","use_case":"Outbound Sales & Scheduling","agent":{"name":"Rahul","role":"AI Sales Agent","voice":"Male, Fluent Hindi","avatar_gradient":["#8B5CF6","#6366F1"]},"capabilities":["End-to-End Hindi Sales","Self-Correction & Recovery","Property Type Clarification"],"languages":["Hindi"],"metrics":{"duration_seconds":160,"outcome":"Monday site visit booked + property type clarified","outcome_type":"success"},"summary":"Rahul runs a complete sales call in Hindi â clarifying that the project is apartments, not houses, and even asking the prospect to repeat their name after mishearing it. No human would handle it smoother. A Monday site visit? Locked in.","highlight":{"context":"Rahul mishears the name â and recovers like a pro:","exchanges":[{"speaker":"AI Agent","text":"Maaf kijiye, main aapka naam sahi se nahi samajh paya. Kya aap dohra sakte hain?"},{"speaker":"Prospect","text":"Bharadwaj."}]}},{"id":"rec_006_ista_spaces_villas","recording_url":"/audio/Luxury-Villa-Pitch-Budget-Negotiation-Dynamic-Pivoting.mp3","display_title":"When a Buyer Says 'Too Expensive' â Watch the AI Save the Deal","subtitle":"Smart budget pivoting that keeps luxury leads in your pipeline","industry":"Real Estate","use_case":"Outbound Sales & Upsell/Downsell","agent":{"
105name":"Riya","role":"AI Sales Agent","voice":"Female, Natural Indian Accent","avatar_gradient":["#F472B6","#C084FC"]},"capabilities":["Real-Time Budget Sensing","Intelligent Downselling","Payment Plan Clarity"],"languages":["Hindi","English"],"metrics":{"duration_seconds":125,"outcome":"Lead retained â 3BHK details shared for family review","outcome_type":"success"},"summary":"A prospect loves the Sarjapur villas but hesitates at â¹1.6 Cr. Instead of losing the lead, Riya reads the cue instantly and pivots to a 3BHK option the family can afford â all in one natural conversation. This is how AI keeps your pipeline alive.","highlight":{"context":"The prospect hints at budget concerns â and Riya adapts in real time:","exchanges":[{"speaker":"Prospect","text":"Haan thik thaak hai... thoda kam rehta toh behtar hota."},{"speaker":"AI Agent","text":"Accha, thik hai. We have some 3 BHK villas also, which are a little less priced. Wo main aapko dikha sakti hoon."}]}},{"id":"rec_007_kalpana_telugu","recording_url":"/audio/Vernacular-Pitch-Geographic-Clarity-Graceful-Deferral.mp3","display_title":"Fluent Telugu Sales Call â Your AI Speaks Their Language","subtitle":"Precise location details and respectful follow-up timing","industry":"Real Estate","use_case":"Outbound Lead Generation","agent":{"name":"Tanya","role":"AI Sales Agent","voice":"Female, Native Telugu","avatar_gradient":["#EC4899","#A855F7"]},"capabilities":["Native Telugu Fluency","Location Intelligence","Respectful Deferral"],"languages":["Telugu","English"],"metrics":{"duration_seconds":135,"outcome":"Brochure & location shared â follow-up scheduled in 2 weeks","outcome_type":"partial"},"summary":"Tanya pitches a plot-and-villa project in fluent Telugu. When the prospect asks how far from the city, she pinpoints the exact location and travel time â 30 minutes from Shamirpet ORR. When they say they're out of town for two weeks? She respects the timeline instead of pushing. That's how you build trust at scale.","highlight":{"context":"The prospect wants to know the exact location â Tanya delivers:","exchanges":[{"speaker":"Prospect","text":"Okay, Karimnagar, but what is the location? Is there any village name?"},{"speaker":"AI Agent","text":"Location Ramachandrapuram lo undi. Shamirpet ORR exit nundi 30 minutes drive. Location link WhatsApp lo share chestanu."}]}},{"id":"rec_008_ipac_bengali","recording_url":"/audio/Political-Survey-Complex-Data-Collection.mp3","display_title":"AI-Powered Survey in Bengali â 100% Data Accuracy","subtitle":"Privacy objections handled, every data point verified","industry":"Market Research & Political Polling","use_case":"Outbound Survey Collection","agent":{"name":"Tania","role":"AI Survey Agent","voice":"Female, Native Bengali","avatar_gradient":["#EC4899","#A855F7"]},"capabilities":["Native Bengali Fluency","Privacy Objection Handling","End-of-Call Data Verification"],"languages":["Bengali"],"metrics":{"duration_seconds":190,"outcome":"All survey data collected, verified & confirmed","outcome_type":"success"},"summary":"Tania conducts a detailed political survey entirely in Bengali. When the respondent pushes back on privacy â 'Why so many questions?' â she reassures them with professionalism. At the end, she recites every data point for final confirmation. Zero human intervention needed.","highlight":{"context":"The respondent questions why personal data is needed:","exchanges":[{"speaker":"Prospect","text":"à¦à§à¦¨? à¦à¦¤à§ পà§à¦°à¦¶à§à¦¨à¦à¦¾ à¦à¦¿à¦¸à§à¦° à¦à¦¨à§à¦¯?"},{"speaker":"AI Agent","text":"à¦à§à¦à§à¦° পà§à¦¯à¦¾à¦à¦¾à¦°à§à¦¨ বà§à¦à¦¾à¦° à¦à¦¨à§à¦¯ à¦à¦à¦¾ দরà¦à¦¾à¦°à¥¤ à¦à¦à¦¾ শà§à¦§à§à¦ রিসারà§à¦ সারà§à¦à§, à¦à¦ªà¦¨à¦¾à¦° à¦à¦¤à§à¦¤à¦° à¦à§à¦ªà¦¨ থাà¦à¦¬à§à¥¤"}]}}]`),rB=5e3,sB=e=>{const t=[];for(let r=0;r<e;r++){const s=r/e,a=Math.sin(s*Math.PI)*.6+.4,l=Math.random()*.5+.2;t.push(Math.min(1,a*l+.15))}return t},iB=({onDemoClick:e})=>{const t=nB,r=g.useMemo(()=>Array.from(new Set(t.map(W=>W.industry))),[t]),s=g.useMemo(()=>Array.from(new Set(t.flatMap(W=>
105W.languages))).sort(),[t]),[a,l]=g.useState("All"),[c,d]=g.useState("All"),[m,f]=g.useState(0),[p,x]=g.useState(!1),[v,b]=g.useState(0),[N,j]=g.useState(0),[C,k]=g.useState(!1),A=g.useRef(null),T=g.useMemo(()=>sB(48),[]),P=g.useMemo(()=>t.filter(W=>{const F=a==="All"||W.industry===a,Z=c==="All"||W.languages.includes(c);return F&&Z}),[a,c,t]),I=P[m]||P[0];g.useEffect(()=>{f(0),x(!1),b(0),j(0),A.current&&(A.current.pause(),A.current.currentTime=0)},[a,c]);const L=g.useCallback(()=>{P.length<=1||(f(W=>(W+1)%P.length),b(0),j(0))},[P.length]);g.useEffect(()=>{if(p||C)return;const W=setInterval(L,rB);return()=>clearInterval(W)},[p,C,L]);const $=()=>{I?.recording_url&&A.current&&(p?(A.current.pause(),x(!1)):(A.current.src!==I.recording_url&&(A.current.src=I.recording_url),A.current.play().catch(()=>x(!1)),x(!0)))},z=()=>{if(A.current){const{currentTime:W,duration:F}=A.current;F>0&&isFinite(F)&&(b(W/F*100),j(W))}},Y=()=>{x(!1),b(100)},ee=W=>{A.current&&(A.current.pause(),A.current.currentTime=0),x(!1),b(0),j(0),f(W)},ge=()=>ee((m+1)%P.length),Q=()=>ee((m-1+P.length)%P.length),de=W=>{const F=Math.floor(W/60),Z=Math.floor(W%60);return`${F}:${Z.toString().padStart(2,"0")}`},J=W=>{switch(W){case"success":return n.jsx(Rl,{className:"w-4 h-4 text-emerald-400"});case"engagement":return n.jsx(rn,{className:"w-4 h-4 text-amber-400"});default:return n.jsx(Rl,{className:"w-4 h-4 text-blue-400"})}},be=W=>{switch(W){case"success":return"text-emerald-400 border-emerald-500/20 bg-emerald-500/5";case"engagement":return"text-amber-400 border-amber-500/20 bg-amber-500/5";default:return"text-blue-400 border-blue-500/20 bg-blue-500/5"}},me=P.length>0&&I;return n.jsxs("section",{className:"relative py-16 lg:py-20 overflow-hidden bg-[#06070F]",children:[n.jsx("audio",{ref:A,onTimeUpdate:z,onEnded:Y,className:"hidden"}),n.jsxs("div",{className:"absolute inset-0",children:[n.jsx("div",{className:"absolute inset-0",style:{backgroundImage:"radial-gradient(circle at 1px 1px, rgba(139, 92, 246, 0.03) 1px, transparent 0)",backgroundSize:"32px 32px"}}),n.jsx("div",{className:"absolute top-0 left-1/2 -translate-x-1/2 w-[800px] h-[400px] bg-gradient-to-b from-violet-600/8 via-purple-600/4 to-transparent rounded-full blur-3xl"}),n.jsx("div",{className:"absolute bottom-0 right-0 w-[400px] h-[300px] bg-gradient-to-tl from-indigo-600/6 to-transparent rounded-full blur-3xl"})]}),n.jsxs("div",{className:"container mx-auto px-6 relative z-10 max-w-6xl",children:[n.jsxs(E.div,{className:"text-center mb-10",initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7},children:[n.jsxs("div",{className:"inline-flex items-center gap-2 bg-white/[0.04] border border-white/[0.06] rounded-full px-4 py-1.5 mb-4 backdrop-blur-sm",children:[n.jsx(gu,{className:"w-3.5 h-3.5 text-violet-400"}),n.jsx("span",{className:"text-xs font-medium text-slate-300 tracking-wide",children:"Real AI Conversations"})]}),n.jsxs("h2",{className:"text-3xl md:text-4xl lg:text-5xl font-bold font-heading mb-3 leading-tight",children:[n.jsx("span",{className:"text-white",children:"Hear the "}),n.jsx("span",{className:"bg-gradient-to-r from-violet-400 via-purple-400 to-indigo-400 bg-clip-text text-transparent",children:"Difference"})]}),n.jsxs("p",{className:"text-sm md:text-base text-slate-400 max-w-2xl mx-auto leading-relaxed",children:["Listen to actual AI-powered conversations across industries and languages. ",n.jsx("br",{}),n.jsx("span",{className:"text-slate-300 font-medium",children:" No scripts. No actors. Real calls."})]})]}),n.jsxs(E.div,{className:"flex flex-col items-center gap-3 mb-8",initial:{opacity:0,y:16},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:.1},children:[n.jsxs("div",{className:"inline-flex flex-wrap justify-center gap-2 bg-white/[0.02] rounded-2xl p-2 border border-white/[0.04]",children:[n.jsx("button",{onClick:()=>l("All"),className:`px-4 py-2 rounded-xl text-xs font-medium transition-all duration-300 ${a==="All"?"bg-gradient-to-r from-violet-600 to-indigo-600 text-white shadow-lg shadow-violet-500/20":"text-slate-400 hover:text-white hover:bg-white/[0.04]"}`,children:"All Industries"}),r.map(W=>n.jsx("button",{onClick:()=>l(W),className:`px-4 py-2 rounded-xl text-xs font-medium transition-all duration-300 ${a===W?"bg-gradient-to-r from-violet-600 to-indigo-600 text-white shadow-lg shadow-violet-500/20":"text-slate-400 hover:text-white hover:bg-white/[0.04]"}`,children:W},W))]}),n.jsxs("div",{className:"inline-flex flex-wrap justify-center gap-1.5 items-center",children:[n.jsx(Xu,{className:"w-3.5 h-3.5 text-slate-500 mr-1"}),n.jsx("button",{onClick:()=>d("All"),className:`px-3 py-1.5 rounded-lg text-[11px] font-medium transition-all duration-300 ${c==="All"?"bg-white/[0.08] text-white border border-white/[0.1]":"text-slate-500 hover:text-slate-300 hover:bg-white/[0.03]"}`,children:"All Languages"}),s.map(W=>n.jsx("button",{onClick:()=>d(W),className:`px-3 py-1.5 rounded-lg text-[11px] font-medium transition-all duration-300 ${c===W?"bg-white/[0.08] text-white border border-white/[0.1]":"text-slate-500 hover:text-slate-300 hover:bg-white/[0.03]"}`,children:W},W))]})]}),me?n.jsxs("div",{className:"relative",onMouseEnter:()=>k(!0),onMouseLeave:()=>k(!1),children:[n.jsx(li,{mode:"wait",children:n.jsx(E.div,{initial:{opacity:0,y:16,scale:.99}
105,animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:-12,scale:.99},transition:{duration:.4,ease:[.16,1,.3,1]},className:"rounded-3xl bg-white/[0.03] border border-white/[0.06] backdrop-blur-xl overflow-hidden shadow-2xl shadow-black/40",children:n.jsxs("div",{className:"grid lg:grid-cols-12 gap-0",children:[n.jsxs("div",{className:"lg:col-span-5 p-5 lg:p-7 flex flex-col justify-between border-b lg:border-b-0 lg:border-r border-white/[0.04]",children:[n.jsxs("div",{className:"flex items-center gap-3 mb-5",children:[n.jsx("div",{className:"w-9 h-9 rounded-full flex items-center justify-center text-white font-bold text-xs",style:{background:`linear-gradient(135deg, ${I.agent.avatar_gradient[0]}, ${I.agent.avatar_gradient[1]})`},children:I.agent.name[0]}),n.jsxs("div",{children:[n.jsx("div",{className:"text-white font-semibold text-sm",children:I.agent.name}),n.jsx("div",{className:"text-slate-500 text-xs",children:I.agent.role})]}),n.jsx("div",{className:"ml-auto flex gap-1.5",children:I.languages.map(W=>n.jsxs("div",{className:"flex items-center gap-1 bg-white/[0.04] border border-white/[0.06] rounded-full px-2.5 py-1",children:[n.jsx(Gt,{className:"w-3 h-3 text-slate-500"}),n.jsx("span",{className:"text-[11px] font-medium text-slate-400",children:W})]},W))})]}),n.jsxs("div",{className:"flex-1 flex flex-col items-center justify-center",children:[n.jsxs("div",{className:"flex items-center gap-4 mb-5",children:[P.length>1&&n.jsx("button",{onClick:Q,className:"w-9 h-9 rounded-full bg-white/[0.04] border border-white/[0.06] flex items-center justify-center text-slate-400 hover:text-white hover:bg-white/[0.08] hover:border-violet-500/30 transition-all duration-300","aria-label":"Previous recording",children:n.jsx(q1,{className:"w-4 h-4"})}),n.jsxs(E.button,{onClick:$,whileHover:{scale:1.06},whileTap:{scale:.95},className:`w-14 h-14 lg:w-16 lg:h-16 rounded-full flex items-center justify-center transition-all duration-500 relative ${p?"bg-gradient-to-br from-violet-500 to-indigo-600 shadow-xl shadow-violet-500/30":I.recording_url?"bg-white/[0.06] border border-white/[0.08] hover:bg-white/[0.1] hover:border-violet-500/30":"bg-white/[0.03] border border-white/[0.04] opacity-50 cursor-not-allowed"}`,disabled:!I.recording_url,children:[p&&n.jsx(E.div,{className:"absolute inset-0 rounded-full border-2 border-violet-400/40",animate:{scale:[1,1.3,1],opacity:[.6,0,.6]},transition:{duration:2,repeat:1/0,ease:"easeInOut"}}),p?n.jsx(o4,{className:"w-6 h-6 text-white"}):n.jsx(d4,{className:"w-6 h-6 text-slate-300 ml-0.5"})]}),P.length>1&&n.jsx("button",{onClick:ge,className:"w-9 h-9 rounded-full bg-white/[0.04] border border-white/[0.06] flex items-center justify-center text-slate-400 hover:text-white hover:bg-white/[0.08] hover:border-violet-500/30 transition-all duration-300","aria-label":"Next recording",children:n.jsx(K1,{className:"w-4 h-4"})})]}),n.jsx("div",{className:"w-full flex items-end justify-center gap-[2px] h-10 lg:h-12 mb-3",children:T.map((W,F)=>{const Z=F/T.length*100,re=Z<=v,M=p&&Math.abs(Z-v)<3;return n.jsx(E.div,{className:"rounded-full w-[2px] lg:w-[3px] origin-bottom",style:{height:`${W*100}%`,background:re?"linear-gradient(to top, #8B5CF6, #6366F1)":"rgba(255,255,255,0.06)",minHeight:"4px"},animate:M?{scaleY:[1,1.2,1]}:{},transition:{duration:.3}},F)})}),n.jsxs("div",{className:"flex items-center justify-between w-full px-1",children:[n.jsx("span",{className:"text-xs font-mono text-violet-400 tracking-wider",children:de(N)}),n.jsx("span",{className:"text-xs font-mono text-slate-600 tracking-wider",children:de(I.metrics.duration_seconds)})]})]}),n.jsx("div",{className:"flex flex-wrap gap-1.5 mt-5",children:I.capabilities.slice(0,3).map(W=>n.jsxs("span",{className:"inline-flex items-center gap-1 px-2.5 py-1 rounded-md bg-violet-500/[0.06] border border-violet-500/[0.1] text-[10px] font-medium text-violet-300 tracking-wide",children:[n.jsx(rn,{className:"w-2.5 h-2.5"}),W]},W))})]}),n.jsxs("div",{className:"lg:col-span-7 p-5 lg:p-7 flex flex-col",children:[n.jsxs("div",{className:"mb-4",children:[n.jsx("h3",{className:"text-xl lg:text-2xl font-bold text-white mb-1 leading-snug font-heading",children:I.display_title}),n.jsx("p",{className:"text-xs text-violet-300/70 font-medium",children:I.subtitle})]}),n.jsx("p",{className:"text-slate-400 text-xs leading-relaxed mb-5",children:I.summary}),n.jsxs("div",{className:"flex-1",children:[n.jsxs("div",{className:"flex items-center gap-2 mb-3",children:[n.jsx(s4,{className:"w-3.5 h-3.5 text-violet-400"}),n.jsx("span",{className:"text-[10px] font-semibold text-slate-400 uppercase tracking-widest",children:"Key Moment"})]}),n.jsx("p",{className:"text-[11px] text-slate-500 mb-3 italic",children:I.highlight.context}),n.jsx("div",{className:"space-y-2",children:I.highlight.exchanges.map((W,F)=>{const Z=W.speaker==="AI Agent";return n.jsxs(E.div,{initial:{opacity:0,x:Z?8:-8}
105,animate:{opacity:1,x:0},transition:{duration:.4,delay:F*.15},className:`flex gap-3 ${Z?"justify-end":""}`,children:[!Z&&n.jsx("div",{className:"w-6 h-6 rounded-full bg-slate-800 border border-slate-700 flex items-center justify-center flex-shrink-0 mt-0.5",children:n.jsx(X1,{className:"w-3 h-3 text-slate-400"})}),n.jsxs("div",{className:`max-w-[85%] rounded-xl px-3 py-2.5 ${Z?"bg-gradient-to-br from-violet-500/10 to-indigo-500/10 border border-violet-500/10":"bg-white/[0.03] border border-white/[0.04]"}`,children:[n.jsx("div",{className:`text-[10px] font-semibold uppercase tracking-wider mb-1 ${Z?"text-violet-400":"text-slate-500"}`,children:W.speaker}),n.jsxs("p",{className:`text-xs leading-relaxed ${Z?"text-violet-200/90":"text-slate-300"}`,children:['"',W.text,'"']})]}),Z&&n.jsx("div",{className:"w-6 h-6 rounded-full flex items-center justify-center flex-shrink-0 mt-0.5",style:{background:`linear-gradient(135deg, ${I.agent.avatar_gradient[0]}, ${I.agent.avatar_gradient[1]})`},children:n.jsx(LP,{className:"w-3 h-3 text-white"})})]},F)})})]}),n.jsxs("div",{className:`mt-5 flex items-center gap-2.5 rounded-lg px-4 py-2.5 border ${be(I.metrics.outcome_type)}`,children:[J(I.metrics.outcome_type),n.jsxs("div",{children:[n.jsx("div",{className:"text-xs font-semibold uppercase tracking-wider opacity-70 mb-0.5",children:"Outcome"}),n.jsx("div",{className:"text-sm font-semibold",children:I.metrics.outcome})]})]})]})]})},I.id)}),P.length>1&&n.jsxs("div",{className:"flex items-center justify-center gap-3 mt-8",children:[n.jsx("div",{className:"flex items-center gap-2",children:P.map((W,F)=>n.jsx("button",{onClick:()=>ee(F),className:`transition-all duration-300 rounded-full ${m===F?"w-8 h-2.5 bg-gradient-to-r from-violet-500 to-indigo-500":"w-2.5 h-2.5 bg-white/[0.08] hover:bg-white/[0.15]"}`,"aria-label":`Go to recording ${F+1}`},F))}),n.jsxs("span",{className:"text-xs text-slate-600 font-mono ml-3",children:[m+1," / ",P.length]})]})]}):n.jsxs(E.div,{initial:{opacity:0,y:16},animate:{opacity:1,y:0},className:"rounded-3xl bg-white/[0.03] border border-white/[0.06] backdrop-blur-xl p-12 text-center",children:[n.jsx(gu,{className:"w-10 h-10 text-slate-600 mx-auto mb-4"}),n.jsx("h3",{className:"text-lg font-semibold text-slate-400 mb-2",children:"No recordings match this filter"}),n.jsx("p",{className:"text-sm text-slate-500 mb-5",children:"Try a different industry or language combination."}),n.jsx("button",{onClick:()=>{l("All"),d("All")},className:"px-5 py-2 rounded-xl text-xs font-medium bg-violet-600/20 text-violet-300 border border-violet-500/20 hover:bg-violet-600/30 transition-all",children:"Reset Filters"})]}),n.jsxs(E.div,{className:"text-center mt-10",initial:{opacity:0,y:16},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:.2},children:[n.jsxs(E.button,{onClick:e,whileHover:{scale:1.03,y:-2},whileTap:{scale:.98},className:"inline-flex items-center gap-2.5 px-6 py-3 bg-gradient-to-r from-violet-600 via-purple-600 to-indigo-600 text-white rounded-xl font-semibold text-base shadow-xl shadow-violet-500/20 hover:shadow-2xl hover:shadow-violet-500/30 transition-all duration-300 relative overflow-hidden group",children:[n.jsx(E.div,{className:"absolute inset-0 bg-gradient-to-r from-white/10 to-transparent",animate:{x:["-100%","100%"]},transition:{duration:3,repeat:1/0,ease:"easeInOut"}}),n.jsx(Qa,{className:"w-5 h-5 relative z-10"}),n.jsx("span",{className:"relative z-10",children:"Experience It Live"})]}),n.jsx("p",{className:"text-sm text-slate-600 mt-4",children:"Get a demo call in under 60 seconds"})]})]})]})},aB=()=>n.jsxs("section",{className:"py-12 bg-gradient-to-b from-white via-slate-50/50 to-white relative overflow-hidden",children:[n.jsx("div",{className:"absolute inset-0 bg-[radial-gradient(circle_at_1px_1px,rgba(79,70,229,0.03)_1px,transparent_0)]",style:{backgroundSize:"40px 40px"}}),n.jsx("div",{className:"container mx-auto px-6",children:n.jsxs(E.div,{className:"flex flex-col items-center justify-center space-y-8",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},children:[n.jsx("p",{className:"text-lg text-gray-600 mb-8",children:"Proudly backed by"}),n.jsxs("div",{className:"flex items-center justify-center gap-10 lg:gap-16 flex-wrap",children:[n.jsx("a",{href:"https://deepgram.com",target:"_blank",rel:"noopener noreferrer",className:"opacity-100 hover:opacity-90 transition-opacity duration-300 flex items-center justify-center",children:n.jsx("img",{src:"/assets/8caead7d-769c-488a-a989-7f5a8efc4272.png",alt:"Deepgram",className:"h-12 w-auto object-contain max-w-[140px]"})}),n.jsx("a",{href:"https://startup.google.com",target:"_blank",rel:"noopener noreferrer",className:"opacity-100 hover:opacity-90 transition-opacity duration-300 flex items-center justify-center",children:n.jsx("img",{src:"/assets/ce3c8c3f-4959-48df-a9cc-e79c3fb3b243.png",alt:"Google for Startups",className:"h-12 w-auto object-contain max-w-[160px]"})}
105),n.jsx("a",{href:"https://www.microsoft.com/en-us/startups",target:"_blank",rel:"noopener noreferrer",className:"opacity-100 hover:opacity-90 transition-opacity duration-300 flex items-center justify-center",children:n.jsx("img",{src:"/assets/a39b0f8b-ac81-4697-8187-f0656f149807.png",alt:"Microsoft for Startups",className:"h-16 w-auto object-contain max-w-[200px]"})}),n.jsx("a",{href:"https://seedicon.com",target:"_blank",rel:"noopener noreferrer",className:"opacity-100 hover:opacity-90 transition-opacity duration-300 flex items-center justify-center",children:n.jsx("img",{src:"/assets/36fad6cb-15c6-47ae-990f-70277c263a21.png",alt:"Seedicon",className:"h-12 w-auto object-contain max-w-[120px]"})}),n.jsx("a",{href:"https://www.nvidia.com/en-us/startups/",target:"_blank",rel:"noopener noreferrer",className:"opacity-100 hover:opacity-90 transition-opacity duration-300 flex items-center justify-center",children:n.jsx("img",{src:"/assets/62f62488-cdb0-4a97-8d52-ec22f7f708ad.png",alt:"NVIDIA Inception Program",className:"h-12 w-auto object-contain max-w-[140px]"})}),n.jsx("a",{href:"https://elevenlabs.io",target:"_blank",rel:"noopener noreferrer",className:"opacity-100 hover:opacity-90 transition-opacity duration-300 flex items-center justify-center",children:n.jsx("img",{src:"/assets/elevenlabs-logo-new.webp",alt:"ElevenLabs",className:"h-16 w-auto object-contain max-w-[180px]"})})]})]})})]}),eu=[{id:"real-estate",name:"Real Estate",icon:n.jsx(Qr,{className:"w-5 h-5"}),painPoint:"Losing $50K+ monthly during peak season when buyers can't reach agents immediately. 70% of leads call competitors within 5 minutes if you don't answer.",solution:"AI agents instantly qualify leads, schedule viewings, and provide property details 24/7. Never lose a hot buyer to competitors again.",results:{metric1:"47% more closings",metric2:"0 missed leads",metric3:"$300K recovered revenue"},scenario:"Peak buying season: 200+ daily calls, 3 agents available. Before CallLive: 140 calls missed = $420K lost. After CallLive: All calls answered, all leads captured.",urgency:"Every minute you wait, competitors capture your leads"},{id:"healthcare",name:"Healthcare",icon:n.jsx(_g,{className:"w-5 h-5"}),painPoint:"80% of patient calls go to voicemail during busy hours. Each missed call delays care and costs $150 in no-show penalties when patients can't reschedule.",solution:"HIPAA-compliant AI handles appointments, prescription refills, and urgent triage instantly. Patients get immediate care coordination.",results:{metric1:"65% fewer no-shows",metric2:"24/7 patient access",metric3:"$240K staff savings"},scenario:"Busy clinic: 300+ daily calls, 2 reception staff. Before: 240 calls missed = frustrated patients. After: Every patient reached immediately.",urgency:"Patient safety depends on immediate communication access"},{id:"automotive",name:"Automotive",icon:n.jsx($P,{className:"w-5 h-5"}),painPoint:"Service appointments lost when customers can't reach dealers immediately. 45% of callers hang up after 2 rings and call competitors.",solution:"AI schedules service appointments, provides wait times, and handles parts inquiries instantly.",results:{metric1:"38% more service bookings",metric2:"90% customer satisfaction",metric3:"$180K additional revenue"},scenario:"Busy dealership: 150+ daily service calls, 1 service advisor. Before: 90+ calls missed. After: All appointments captured.",urgency:"Customers won't wait - they'll go to dealers who answer"},{id:"ecommerce",name:"E-commerce",icon:n.jsx(m4,{className:"w-5 h-5"}),painPoint:"Cart abandonment support calls missed during peak shopping hours. 60% of order issues remain unresolved when customers can't reach support.",solution:"AI provides instant order status, handles returns, and resolves shipping issues 24/7.",results:{metric1:"52% cart recovery rate",metric2:"85% issue resolution",metric3:"$220K saved orders"},scenario:"Peak shopping season: 400+ daily support calls. Before: 280+ calls missed = lost orders. After: Every customer issue resolved instantly.",urgency:"Lost sales compound during peak seasons"},{id:"professional",name:"Professional Services",icon:n.jsx(FP,{className:"w-5 h-5"}),painPoint:"Missing consultation calls costs $500-$5000 per lost client. Professional services depen
105d on immediate response to secure high-value engagements.",solution:"AI qualifies prospects, schedules consultations, and provides service details professionally.",results:{metric1:"73% consultation booking rate",metric2:"$2M+ pipeline protected",metric3:"40% higher close rate"},scenario:"Law firm: 80 daily consultation requests, $5K average case value. Before: 32 calls missed = $160K lost monthly. After: All prospects captured.",urgency:"High-value clients expect immediate professional response"},{id:"manufacturing",name:"Manufacturing",icon:n.jsx(Ya,{className:"w-5 h-5"}),painPoint:"B2B buyers calling outside business hours go to competitors. International clients in different time zones can't reach sales teams.",solution:"Multilingual AI handles RFQs, provides product specs, and qualifies B2B leads in 30+ languages across all time zones.",results:{metric1:"60% international lead capture",metric2:"24/7 global coverage",metric3:"$500K new market revenue"},scenario:"Global manufacturer: 100+ international inquiries daily. Before: 70% missed due to time zones. After: Full global coverage.",urgency:"B2B buyers move fast - delayed response = lost contracts"}],oB=()=>{const[e,t]=g.useState(eu[0].id),[r,s]=g.useState(!1),a=eu.find(l=>l.id===e)||eu[0];return n.jsxs(n.Fragment,{children:[n.jsxs("section",{className:"py-20 relative overflow-hidden",children:[n.jsx("div",{className:"absolute inset-0 bg-dots-pattern opacity-30"}),n.jsxs("div",{className:"container mx-auto px-6 relative z-10",children:[n.jsxs(E.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.6},viewport:{once:!0},className:"text-center max-w-3xl mx-auto mb-14",children:[n.jsxs("div",{className:"inline-flex items-center gap-2 px-4 py-1.5 rounded-full bg-primary/10 text-primary text-sm font-medium mb-5",children:[n.jsx(Ya,{className:"w-4 h-4"}),"Industry-Specific Solutions"]}),n.jsxs("h2",{className:"text-4xl md:text-5xl font-bold text-foreground mb-5",children:["See How Your Industry"," ",n.jsx("span",{className:"bg-gradient-to-r from-primary to-primary/70 bg-clip-text text-transparent",children:"Eliminates Revenue Loss"})]}),n.jsx("p",{className:"text-lg text-muted-foreground leading-relaxed",children:"Every industry faces unique communication challenges. See exactly how businesses like yours solve them with CallLive AI."})]}),n.jsxs("div",{className:"grid lg:grid-cols-12 gap-8",children:[n.jsx(E.div,{initial:{opacity:0,x:-20},whileInView:{opacity:1,x:0},transition:{duration:.5},viewport:{once:!0},className:"lg:col-span-4",children:n.jsx("div",{className:"sticky top-8 space-y-2",children:eu.map(l=>n.jsx("button",{onClick:()=>t(l.id),className:`w-full p-4 rounded-xl border transition-all duration-300 text-left ${e===l.id?"border-primary bg-primary/5 shadow-premium-sm":"border-border/60 hover:border-primary/30 hover:bg-secondary/50"}`,children:n.jsxs("div",{className:"flex items-center gap-3",children:[n.jsx("div",{className:`p-2 rounded-lg transition-colors duration-300 ${e===l.id?"bg-primary text-primary-foreground":"bg-secondary text-muted-foreground"}`,children:l.icon}),n.jsxs("div",{children:[n.jsx("div",{className:`font-semibold transition-colors duration-300 ${e===l.id?"text-primary":"text-foreground"}`,children:l.name}),n.jsx("div",{className:"text-sm text-muted-foreground",children:"View pain points & solutions"})]})]})},l.id))})}),n.jsx("div",{className:"lg:col-span-8",children:n.jsx(li,{mode:"wait",children:n.jsxs(E.div,{initial:{opacity:0,x:20},animate:{opacity:1,x:0},exit:{opacity:0,x:-20},transition:{duration:.3},className:"p-8 rounded-2xl bg-card border border-border/60 shadow-premium",children:[n.jsxs("div",{className:"flex items-center gap-4 mb-6",children:[n.jsx("div",{className:"p-3 rounded-xl bg-primary/10 text-primary",children:a.icon}),n.jsxs("div",{children:[n.jsx("h3",{className:"text-2xl font-bold text-foreground",children:a.name}),n.jsxs("div",{className:"flex items-center gap-2 mt-1",children:[n.jsx(Rt,{className:"w-4 h-4 text-destructive"}),n.jsx("span",{className:"text-sm font-medium text-destructive",children:a.urgency})]})]})]}),n.jsxs("div",{className:"mb-6",children:[n.jsxs("h4",{className:"font-bold text-foreground mb-3 flex items-center gap-2",children:[n.jsx(ut,{className:"w-5 h-5 text-destructive"}),"Daily Pain Point:"]}),n.jsx("p",{className:"text-muted-foreground leading-relaxed bg-secondary/50 p-4 rounded-xl",children:a.painPoint})]}),n.jsxs("div",{className:"mb-6",children:[n.jsxs("h4",{className:"font-bold text-foreground mb-3 flex items-center gap-2",children:[n.jsx(Rl,{className:"w-5 h-5 text-primary"}),"CallLive AI Solution:"]}),n.jsx("p",{className:"text-muted-foreground leading-relaxed bg-primary/5 p-4 rounded-xl",children:a.solution})]}),n.jsxs("div",{className:"mb-6",children:[n.jsxs("h4",{className:"font-bold text-foreground mb-3 flex items-center gap-2",children:[n.jsx(Tr,{className:"w-5 h-5 text-primary"}),"Typical Results:"]}),n.jsx("div",{className:"grid md:grid-cols-3 gap-3",children:[a.results.metric1,a.results.metric2,a.results.metric3].map((l,c)=>n.jsx("div",{className:"p-3 bg-primary/10 rounded-xl border border-primary/20",children:n.jsx("div",{className:"font-semibold text-primary text-sm",children:l})},c))})]}),n.jsxs("div",{className:"mb-8",children:[n.jsxs("h4",{className:"font-bold text-foreground mb-3 flex items-center gap-2",children:[n.jsx(Dn,{className:"w-5 h-5 text-primary"}),"Real-World Scenario:"]}),n.jsx("p",{className:"text-muted-foreground leading-relaxed bg-secondary/50 p-4 rounded-xl",children:a.scenario})]}),n.jsxs("div",{className:"flex flex-col sm:flex-row gap-4",children:[n.jsxs(Ae,{onClick:()=>s(!0),className:"flex-1 bg-primary hover:bg-primary/90 text-primary-foreground shadow-premium-sm hover:shadow-
105premium transition-all duration-300",size:"lg",children:["Get ",a.name," ROI Analysis",n.jsx(it,{className:"w-4 h-4 ml-2"})]}),n.jsxs(Ae,{variant:"outline",className:"flex-1 border-border hover:bg-secondary/80",size:"lg",children:["See ",a.name," Demo"]})]})]},e)})})]}),n.jsxs(E.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.6,delay:.2},viewport:{once:!0},className:"text-center mt-16 p-8 rounded-2xl bg-primary/5 border border-primary/15",children:[n.jsx("h3",{className:"text-2xl font-bold text-foreground mb-4",children:"Don't See Your Industry? We've Got You Covered."}),n.jsx("p",{className:"text-muted-foreground mb-6 max-w-2xl mx-auto",children:"CallLive AI adapts to any business model. Get a custom analysis showing exactly how we'll solve your specific communication challenges."}),n.jsxs(Ae,{onClick:()=>s(!0),size:"lg",className:"bg-primary hover:bg-primary/90 text-primary-foreground shadow-premium-sm hover:shadow-premium transition-all duration-300 px-8",children:["Get Custom Industry Analysis",n.jsx(it,{className:"w-4 h-4 ml-2"})]})]})]})]}),n.jsx(Vn,{open:r,onOpenChange:s,source:"demo"})]})},lB=()=>{const[e,t]=g.useState(!1),[r,s]=g.useState("general"),a=(l="general")=>{s(l),t(!0)};return n.jsxs("div",{className:"min-h-screen bg-white",children:[n.jsx(gn,{onContactClick:()=>a("sales"),onGetStartedClick:()=>a("general")}),n.jsx(g8,{onGetStartedClick:()=>a("general")}),n.jsx(iB,{onDemoClick:()=>a("demo")}),n.jsx(aB,{}),n.jsxs("section",{id:"features",className:"relative bg-gradient-to-b from-white to-indigo-50/50",children:[n.jsx("div",{className:"absolute inset-0 bg-features-graph-pattern opacity-[0.03] pointer-events-none"}),n.jsx(m8,{}),n.jsx(oB,{})]}
105),n.jsx("section",{id:"benefits",className:"relative bg-gradient-to-b from-indigo-50/50 to-slate-950",children:n.jsx(h8,{onScheduleDemoClick:()=>a("demo")})}),n.jsx("section",{id:"use-cases",className:"relative bg-gradient-to-b from-white to-indigo-50",children:n.jsx(l8,{})}),n.jsx(eB,{}),n.jsx(tB,{}),n.jsxs("section",{id:"pricing",className:"relative bg-gradient-to-b from-indigo-50 to-white",children:[n.jsx("div",{className:"absolute inset-0 bg-pricing-graph-pattern opacity-[0.02] pointer-events-none"}),n.jsx(d8,{onScheduleDemoClick:()=>a("demo")})]}),n.jsx(x8,{onButtonClick:()=>a("demo")}),n.jsx(xn,{onContactClick:()=>a("sales")}),n.jsx(Vn,{open:e,onOpenChange:t,source:r}),n.jsx(J9,{})]})},cB=Mi.object({name:Mi.string().min(2,"Name must be at least 2 characters"),email:Mi.string().email("Please enter a valid business email"),company:Mi.string().min(2,"Company name is required"),role:Mi.string().min(1,"Please select your role"),useCase:Mi.string().min(1,"Please select your use case"),monthlyCallVolume:Mi.string().min(1,"Please select your monthly call volume")}),c1=()=>{const[e,t]=g.useState(!1),{toast:r}=lc();g.useEffect(()=>{const c={"@context":"https://schema.org","@type":"LandingPage",name:"Free AI Voice Call Demo - Calllive.ai",description:"Experience ultra-realistic AI voice calls in 10+ languages. Get a personalized demo of our AI phone technology for your business.",url:window.location.href,provider:{"@type":"Organization",name:"Calllive.ai",description:"AI voice technology for customer engagement across multiple industries"},offers:{"@type":"Offer",name:"Free AI Demo",description:"Personalized demonstration of AI voice technology",price:"0",priceCurrency:"USD"}},d=document.createElement("script");return d.type="application/ld+json",d.text=JSON.stringify(c),document.head.appendChild(d),()=>{document.head.removeChild(d)}},[]);const s=qx({resolver:Kx(cB),defaultValues:{name:"",email:"",company:"",role:"",useCase:"",monthlyCallVolume:""}}),a=async c=>{t(!0);try{const d=new FormData;Object.entries(c).forEach(([m,f])=>{d.append(m,f||"")}),d.append("_subject","New AI Demo Request - Calllive.ai"),d.append("_next",window.location.href+"?success=true"),await fetch("https://formsubmit.co/[email protected]",{method:"POST",body:d}),r({title:"Demo Request Submitted Successfully!",description:"We'll contact you within 2 hours to schedule your personalized AI voice demo."}),s.reset()}catch{r({title:"Submission Failed",description:"Please try again or contact us directly.",variant:"destructive"})}finally{t(!1)}},l={hidden:{opacity:0,y:20},visible:c=>({opacity:1,y:0,transition:{delay:c*.2,duration:.8,ease:[.215,.61,.355,1]}})};return n.jsxs(n.Fragment,{children:[n.jsxs(Kn,{children:[n.jsx("title",{children:"AI Voice Demo - Experience Ultra-Realistic AI Calls | Calllive.ai"}),n.jsx("meta",{name:"description",content:"Experience our AI voice technology that handles calls in 10+ languages across multiple industries with 1.5-second response time. See how Calllive.ai can transform your customer engagement."}),n.jsx("meta",{name:"keywords",content:"AI voice calls, AI phone technology, customer engagement AI, multilingual AI calls, voice AI demo, Calllive.ai"}),n.jsx("meta",{name:"robots",content:"index, follow"}),n.jsx("link",{rel:"canonical",href:window.location.href}),n.jsx("meta",{property:"og:title",content:"AI Voice Demo - Ultra-Realistic AI Calls"}),n.jsx("meta",{property:"og:description",content:"Experience AI voice technology that handles calls in 10+ languages across multiple industries with human-like conversations in 1.5 seconds."}),n.jsx("meta",{property:"og:type",content:"website"}),n.jsx("meta",{property:"og:url",content:window.location.href}),n.jsx("meta",{property:"og:image",content:"/calllive-og-image.png"}),n.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),n.jsx("meta",{name:"twitter:title",content:"Free AI Voice Demo - Ultra-Realistic AI Calls"}),n.jsx("meta",{name:"twitter:description",content:"See how AI voice technology can transform your customer engagement. Free demo, no commitment."}),n.jsx("meta",{name:"twitter:image",content:"/calllive-og-image.png"}),n.jsx("meta",{name:"author",content:"Calllive.ai"}),n.jsx("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0"}),n.jsx("meta",{name:"theme-color",content:"#4f46e5"})]}),n.jsxs("div",{className:"min-h-screen bg-gradient-to-b from-white via-indigo-50/20 to-white relative overflow-hidden",children:[n.jsx("div",{className:"absolute inset-0 bg-[radial-gradient(ellipse_at_top_right,_var(--tw-gradient-stops))] from-indigo-100/50 via-trans
105parent to-transparent opacity-80"}),n.jsx("div",{className:"absolute inset-0 bg-grid-pattern opacity-30"}),n.jsx("header",{className:"border-b border-indigo-100/50 bg-white/80 backdrop-blur-sm sticky top-0 z-50",children:n.jsx("div",{className:"container mx-auto px-6 py-4",children:n.jsxs("div",{className:"flex items-center justify-between",children:[n.jsx(pm,{size:"medium"}),n.jsxs("div",{className:"flex items-center space-x-3 text-sm text-muted-foreground",children:[n.jsx(Rt,{className:"w-4 h-4 text-indigo-500"}),n.jsx("span",{className:"font-medium",children:"Quick 15-minute demo"})]})]})})}),n.jsxs("main",{className:"container mx-auto px-6 py-12 lg:py-20",children:[n.jsxs("div",{className:"grid lg:grid-cols-5 gap-12 items-start",children:[n.jsxs("section",{className:"lg:col-span-3 space-y-10",children:[n.jsxs(E.div,{className:"space-y-8",custom:0,initial:"hidden",whileInView:"visible",variants:l,viewport:{once:!0},children:[n.jsxs("div",{className:"inline-flex items-center bg-gradient-to-r from-indigo-500/10 to-purple-500/10 text-indigo-700 px-5 py-2.5 rounded-full text-sm font-medium border border-indigo-200/50 shadow-xl shadow-indigo-100/50 backdrop-blur-sm",children:[n.jsx(Qa,{className:"mr-2 h-4 w-4 text-indigo-500"}),n.jsx("span",{className:"font-heading font-semibold bg-gradient-to-r from-brand-purple to-brand-purple-light bg-clip-text text-transparent",children:"Ultra-Realistic AI Voice Calls in 10+ Languages"})]}),n.jsxs("h1",{className:"text-4xl lg:text-6xl font-bold font-heading tracking-tight leading-none text-gray-900",children:["Experience the Future of",n.jsx("span",{className:"block bg-gradient-to-r from-brand-purple via-brand-purple-light to-brand-purple bg-clip-text text-transparent animate-text-shimmer bg-[length:200%_auto]",children:"AI Voice Technology"})]}),n.jsx("p",{className:"text-xl text-gray-600 leading-relaxed max-w-2xl",children:"See how our advanced AI voice technology handles customer calls across multiple industries with human-like conversations that your customers will love."})]}),n.jsx(E.section,{className:"grid md:grid-cols-2 gap-6",custom:1,initial:"hidden",whileInView:"visible",variants:l,viewport:{once:!0},children:[{icon:ut,title:"Ultra-Realistic Voice AI",description:"Human-like conversations that customers can't distinguish from real people"},{icon:Gt,title:"10+ Languages Supported",description:"Serve global customers with native-level language capabilities"},{icon:rn,title:"24/7 Availability",description:"Never miss a call with AI that works around the clock"},{icon:ar,title:"Enterprise Security",description:"Bank-level security with complete data protection"}].map((c,d)=>n.jsxs(E.div,{className:"flex items-start space-x-4 p-6 bg-white/70 backdrop-blur-md border border-indigo-100/50 rounded-2xl shadow-premium-sm hover:shadow-premium transition-all duration-500 transform hover:-translate-y-1",whileHover:{scale:1.02},children:[n.jsx("div",{className:"flex-shrink-0 w-12 h-12 bg-gradient-to-r from-indigo-500/10 to-purple-500/10 rounded-xl flex items-center justify-center border border-indigo-200/30",children:n.jsx(c.icon,{className:"w-6 h-6 text-indigo-600"})}),n.jsxs("div",{children:[n.jsx("h3",{className:"font-semibold text-gray-900 mb-1 font-heading",children:c.title}),n.jsx("p",{className:"text-gray-600 text-sm leading-relaxed",children:c.description})]})]},d))}),n.jsx(E.section,{className:"bg-white/70 backdrop-blur-md p-8 rounded-2xl border border-indigo-100/50 shadow-premium-sm",custom:2,initial:"hidden",whileInView:"visible",variants:l,viewport:{once:!0},children:n.jsxs("div",{className:"text-center space-y-6",children:[n.jsx("h2",{className:"text-2xl font-bold text-gray-900 font-heading",children:"Trusted Across Industries"}),n.jsx("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-4 text-center",children:["Healthcare","Insurance","Real Estate","Travel","Finance","E-commerce","Automotive","Hospitality"].map((c,d)=>n.jsx("div",{className:"px-4 py-3 bg-gradient-to-r from-indigo-50 to-purple-50 rounded-lg border border-indigo-100 text-sm font-medium text-gray-700",children:c},d))}),n.jsxs("div",{className:"pt-6 border-t border-indigo-100",children:[n.jsx("p",{className:"text-gray-600 italic",children:`"Calllive.ai has revolutionized how
105we handle customer calls. The AI is so realistic that our customers often don't realize they're speaking with AI until we tell them!"`}),n.jsx("p",{className:"mt-2 text-sm text-gray-500",children:"â Leading Healthcare Provider"})]})]})}),n.jsxs(E.div,{className:"flex flex-wrap items-center gap-6 text-sm text-gray-500",custom:3,initial:"hidden",whileInView:"visible",variants:l,viewport:{once:!0},children:[n.jsxs("div",{className:"flex items-center space-x-2",children:[n.jsx(ar,{className:"w-4 h-4 text-indigo-500"}),n.jsx("span",{children:"SOC 2 Compliant"})]}),n.jsxs("div",{className:"flex items-center space-x-2",children:[n.jsx(Ie,{className:"w-4 h-4 text-indigo-500"}),n.jsx("span",{children:"GDPR Ready"})]}),n.jsxs("div",{className:"flex items-center space-x-2",children:[n.jsx(RP,{className:"w-4 h-4 text-indigo-500"}),n.jsx("span",{children:"Enterprise Grade"})]})]})]}),n.jsx("aside",{className:"lg:col-span-2",children:n.jsxs(E.div,{className:"sticky top-8",custom:1,initial:"hidden",whileInView:"visible",variants:l,viewport:{once:!0},children:[n.jsxs(te,{className:"shadow-premium border-0 bg-white/80 backdrop-blur-md",children:[n.jsxs(dt,{className:"text-center pb-6 bg-gradient-to-r from-brand-purple via-brand-purple-light to-brand-purple text-white rounded-t-lg relative overflow-hidden",children:[n.jsx(E.div,{className:"absolute inset-0 bg-gradient-to-r from-white/20 to-transparent",animate:{x:["-100%","100%"],opacity:[0,.5,0]},transition:{duration:3,repeat:1/0,ease:"easeInOut"}}),n.jsx(ft,{className:"text-2xl font-bold font-heading relative z-10",children:"Get Your Free AI Demo"}),n.jsx(Xs,{className:"text-indigo-100 text-base relative z-10",children:"Experience ultra-realistic AI voice calls in action"}),n.jsxs("div",{className:"flex items-center justify-center space-x-4 text-sm text-indigo-100 mt-4 relative z-10",children:[n.jsxs("div",{className:"flex items-center space-x-1",children:[n.jsx(Rt,{className:"w-4 h-4"}),n.jsx("span",{children:"15 min demo"})]}),n.jsxs("div",{className:"flex items-center space-x-1",children:[n.jsx(ar,{className:"w-4 h-4"}),n.jsx("span",{children:"No commitment"})]})]})]}),n.jsx(ne,{className:"p-8",children:n.jsx(rv,{...s,children:n.jsxs("form",{onSubmit:s.handleSubmit(a),className:"space-y-6",children:[n.jsx(un,{control:s.control,name:"name",render:({field:c})=>n.jsxs(en,{children:[n.jsx(mn,{className:"text-sm font-semibold text-gray-700 font-heading",children:"Full Name *"}),n.jsx(tn,{children:n.jsx(Cr,{placeholder:"John Smith",className:"h-12 border-gray-200 focus:border-indigo-500 focus:ring-indigo-500",...c})}),n.jsx(nn,{})]})}),n.jsx(un,{control:s.control,name:"email",render:({field:c})=>n.jsxs(en,{children:[n.jsx(mn,{className:"text-sm font-semibold text-gray-700 font-heading",children:"Business Email *"}),n.jsx(tn,{children:n.jsx(Cr,{type:"email",placeholder:"[email protected]",className:"h-12 border-gray-200 focus:border-indigo-500 focus:ring-indigo-500",...c})}),n.jsx(nn,{})]})}),n.jsx(un,{control:s.control,name:"company",render:({field:c})=>n.jsxs(en,{children:[n.jsx(mn,{className:"text-sm font-semibold text-gray-700 font-heading",children:"Company Name *"}),n.jsx(tn,{children:n.jsx(Cr,{placeholder:"Your Company Inc.",className:"h-12 border-gray-200 focus:border-indigo-500 focus:ring-indigo-500",...c})}),n.jsx(nn,{})]})}),n.jsx(un,{control:s.control,name:"role",render:({field:c})=>n.jsxs(en,{children:[n.jsx(mn,{className:"text-sm font-semibold text-gray-700 font-heading",children:"Role/Position *"}),n.jsxs(mu,{onValueChange:c.onChange,defaultValue:c.value,children:[n.jsx(tn,{children:n.jsx(Pl,{className:"h-12 border-gray-200 focus:border-indigo-500 focus:ring-indigo-500",children:n.jsx(fu,{placeholder:"Select your role"})})}),n.jsxs(_l,{className:"bg-white border-gray-200",children:[n.jsx(Bt,{value:"ceo",children:"CEO/Founder"}),n.jsx(Bt,{value:"manager",children:"Manager"}),n.jsx(Bt,{value:"director",children:"Director"}),n.jsx(Bt,{value:"operations",children:"Operations"}),n.jsx(Bt,{value:"customer-service",children:"Customer Service"}),n.jsx(Bt,{value:"other",children:"Other"})]})]}),n.jsx(nn,{})]})}),n.jsx(un,{control:s.control,name:"useCase",render:({field:c})=>n.jsxs(en,{children:[n.jsx(mn,{className:"text-sm font-semibold text-gray-700 font-heading",children:"Primary Interest *"}),n.jsxs(mu,{onValueChange:c.onChange,defaultValue:c.value,children:[n.jsx(tn,{children:n.jsx(Pl,{className:"h-12 border-gray-200 focus:border-indigo-500 focus:ring-indigo-500",children:n.jsx(fu,{placeholder:"What interests you most?"})})}),n.jsxs(_l,{className:"bg-white border-gray-200",children:[n.jsx(Bt,{value:"customer-service",children:"Customer Service Automation"}),n.jsx(Bt,{value:"appointment-booking",children:"Appointment Booking"}),n.jsx(Bt,{value:"lead-qualification",children:"Lead Qualification"}),n.jsx(Bt,{value:"payment-reminders",children:"Payment Reminders"}),n.jsx(Bt,{value:"multilingual-support",children:"Multilingual Support"}),n.jsx(Bt,{value:"other",children:"Other Use Case"})]})]}),n.jsx(nn,{})]})}),n.jsx(un,{control:s.control,name:"monthlyCallVolume",render:({field:c})=>n.jsxs(en,{children:[n.jsx(mn,{className:"text-sm font-semibold text-gray-700 font-heading",children:"Monthly Call Volume *"}),n.jsxs(mu,{onValueChange:c.onChange,defaultValue:c.value,children:[n.jsx(tn,{children:n.jsx(Pl,{className:"h-12 border-gray-200 focus:border-indigo-500 focus:ring-indigo-500",children:n.jsx(fu,{placeholder:"Select monthly call volume"})})}),n.jsxs(_l,{className:"bg-white border-gray-200",children:[n.jsx(Bt,{value:"less-5000",children:"< 5,
105000"}),n.jsx(Bt,{value:"5000-10000",children:"5k - 10k"}),n.jsx(Bt,{value:"10000-49999",children:"10k - 50k"}),n.jsx(Bt,{value:"50000-250000",children:"50k - 250k"}),n.jsx(Bt,{value:"250000-plus",children:"250k+"})]})]}),n.jsx(nn,{})]})}),n.jsx(E.div,{whileHover:{scale:1.02},whileTap:{scale:.98},children:n.jsxs(Ae,{type:"submit",size:"lg",className:"w-full h-14 text-lg font-semibold bg-gradient-to-r from-brand-purple via-brand-purple-light to-brand-purple hover:from-brand-purple/90 hover:via-brand-purple-light/90 hover:to-brand-purple/90 shadow-lg shadow-brand-purple/30 hover:shadow-xl hover:shadow-brand-purple/40 transition-all duration-300 font-heading relative overflow-hidden",disabled:e,children:[n.jsx(E.div,{className:"absolute inset-0 bg-gradient-to-r from-white/20 to-transparent",animate:{x:["-100%","100%"],opacity:[0,.5,0]},transition:{duration:3,repeat:1/0,ease:"easeInOut"}}),e?"Submitting...":n.jsxs("span",{className:"flex items-center space-x-2 relative z-10",children:[n.jsx("span",{children:"Get My Free AI Demo"}),n.jsx(it,{className:"w-5 h-5"})]})]})}),n.jsxs("div",{className:"text-center space-y-2",children:[n.jsx("p",{className:"text-xs text-gray-500",children:"ð Your information is secure and will never be shared"}),n.jsx("p",{className:"text-xs text-gray-500",children:"â¡ Get a response within 2 hours during business days"})]})]})})})]}),n.jsx("div",{className:"mt-6 p-4 bg-white/50 backdrop-blur-sm rounded-lg border border-indigo-100/50",children:n.jsxs("div",{className:"flex items-center space-x-3",children:[n.jsx("div",{className:"w-10 h-10 bg-gradient-to-r from-indigo-100 to-purple-100 rounded-full flex items-center justify-center border border-indigo-200/30",children:n.jsx(Ie,{className:"w-5 h-5 text-indigo-600"})}),n.jsxs("div",{children:[n.jsx("p",{className:"text-sm font-medium text-gray-700",children:"Ultra-realistic human-like voice technology"}),n.jsx("p",{className:"text-xs text-gray-500",children:"Advanced AI Platform"})]})]})})]})})]}),n.jsxs(E.section,{className:"mt-20 text-center bg-gradient-to-r from-indigo-900 via-purple-900 to-indigo-900 text-white p-12 rounded-2xl relative overflow-hidden",custom:3,initial:"hidden",whileInView:"visible",variants:l,viewport:{once:!0},children:[n.jsx(E.div,{className:"absolute inset-0 bg-grid-pattern opacity-10",animate:{opacity:[.1,.2,.1]},transition:{duration:4,repeat:1/0,ease:"easeInOut"}}),n.jsxs("div",{className:"relative z-10",children:[n.jsx("h2",{className:"text-3xl font-bold mb-4 font-heading",children:"Ready to Transform Your Customer Calls?"}),n.jsx("p",{className:"text-xl text-indigo-200 mb-6",children:"Join businesses worldwide who trust Calllive.ai for their customer engagement"}),n.jsxs("div",{className:"flex items-center justify-center space-x-8 text-indigo-300",children:[n.jsxs("div",{className:"text-center",children:[n.jsx("div",{className:"text-2xl font-bold text-white",children:"2 hrs"}),n.jsx("div",{className:"text-sm",children:"Response Time"})]}),n.jsxs("div",{className:"text-center",children:[n.jsx("div",{className:"text-2xl font-bold text-white",children:"15 min"}),n.jsx("div",{className:"text-sm",children:"Demo Duration"})]}),n.jsxs("div",{className:"text-center",children:[n.jsx("div",{className:"text-2xl font-bold text-white",children:"60+"}),n.jsx("div",{className:"text-sm",children:"Languages"})]})]})]})]})]})]})]})},dB=()=>{const e=pc();return g.useEffect(()=>{console.error("404 Error: User attempted to access non-existent route:",e.pathname)},[e.pathname]),n.jsx("div",{className:"min-h-screen flex items-center justify-center bg-gray-100",children:n.jsxs("div",{className:"text-center",children:[n.jsx("h1",{className:"text-4xl font-bold mb-4",children:"404"}),n.jsx("p",{className:"text-xl text-gray-600 mb-4",children:"Oops! Page not found"}),n.jsx("a",{href:"/",className:"text-blue-500 hover:text-blue-700 underline",children:"Return to Home"})]})})},uB=()=>{const e=gc();return n.jsxs("div",{className:"min-h-screen bg-gradient-to-b from-white to-gray-50",children:[n.jsx(gn,{}),n.jsx("main",{className:"container mx-auto px-6 py-24",children:n.jsxs(E.div,{initial:{opacity:0,y:20}
105,animate:{opacity:1,y:0},transition:{duration:.6},className:"max-w-4xl mx-auto",children:[n.jsxs("div",{className:"mb-8",children:[n.jsxs(Ae,{variant:"outline",onClick:()=>e("/"),className:"mb-6",children:[n.jsx(Pg,{className:"mr-2 h-4 w-4"}),"Back to Home"]}),n.jsx("h1",{className:"text-4xl font-bold text-gray-900 mb-4",children:"Privacy Policy - AI Voice Agent Solutions"}),n.jsx("p",{className:"text-lg text-gray-600",children:"CallLive.ai Privacy Policy for Real Estate and Hospitality AI Voice Automation | Last updated: January 8, 2025"})]}),n.jsx("div",{className:"prose prose-lg max-w-none",children:n.jsxs("div",{className:"bg-white rounded-xl p-8 shadow-sm border border-gray-100 space-y-8 text-gray-700 leading-relaxed",children:[n.jsxs("section",{children:[n.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"1. Introduction"}),n.jsx("p",{className:"mb-4",children:'Welcome to CallLive.ai, operated by NEURAEDGE AI INNOVATIONS PRIVATE LIMITED ("we," "us," "our"). We are an early-stage AI startup building hyper-personalized AI voice agents specifically designed for real estate developers, property brokers, and hospitality operators including hotels and resorts.'}),n.jsx("p",{className:"mb-4",children:"This Privacy Policy explains how we collect, use, protect, and share your personal information when you visit our website at https://www.calllive.ai, use our AI voice agent solutions, or engage with our services. As an early-stage startup, we are committed to protecting your privacy and building trust through transparency."}),n.jsx("p",{className:"mb-4",children:"While we are not formally certified under GDPR or CCPA, we follow their principles to guide how we handle personal data and respect your privacy rights."}),n.jsx("p",{className:"mb-4",children:"Our registered office is located at FN 202, K No.160/14, 2nd Cross, Riches Garden, Ramamurthy Nagar, Bangalore, Karnataka, India, 560016. By using our services, you agree to the practices described in this Privacy Policy."})]}),n.jsxs("section",{children:[n.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"2. Information We Collect"}),n.jsx("p",{className:"mb-4",children:"As an AI voice agent platform serving real estate and hospitality businesses, we collect the following types of information:"}),n.jsxs("div",{className:"ml-4",children:[n.jsx("h4",{className:"text-lg font-semibold text-gray-800 mb-3",children:"Personal and Business Information:"}),n.jsxs("ul",{className:"list-disc ml-6 mb-4 space-y-2",children:[n.jsx("li",{children:"Name and contact details (email, phone number)"}),n.jsx("li",{children:"Company name and job title"}),n.jsx("li",{children:"Business inquiries and communication preferences"}),n.jsx("li",{children:"Industry-specific details (property portfolios, hotel operations)"})]}),n.jsx("h4",{className:"text-lg font-semibold text-gray-800 mb-3",children:"Technical Information:"}),n.jsxs("ul",{className:"list-disc ml-6 mb-4 space-y-2",children:[n.jsx("li",{children:"Website usage data and analytics"}),n.jsx("li",{children:"Device information and IP addresses"}),n.jsx("li",{children:"Cookies and tracking technologies for service optimization"})]}),n.jsx("h4",{className:"text-lg font-semibold text-gray-800 mb-3",children:"AI Voice Interaction Data:"}),n.jsxs("ul",{className:"list-disc ml-6 mb-4 space-y-2",children:[n.jsx("li",{children:"Voice recordings and conversation transcripts (when using our demo services)"}),n.jsx("li",{children:"Customer interaction patterns and preferences"}),n.jsx("li",{children:"Performance metrics and service usage analytics"})]})]})]}),n.jsxs("section",{children:[n.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"3. How We Use Your Information"}),n.jsx("p",{className:"mb-4",children:"We use your information to provide and improve our AI voice agent solutions for real estate and hospitality businesses:"}),n.jsxs("div",{className:"ml-4",children:[n.jsx("h4",{className:"text-lg font-semibold text-gray-800 mb-3",children:"Lead Generation and Sales:"}),n.jsxs("ul",{className:"list-disc ml-6 mb-4 space-y-2",children:[n.jsx("li",{children:"Qualifying prospects and understanding business needs"}),n.jsx("li",{children:"Scheduling product demonstrations and pilot programs"}),n.jsx("li",{children:"Following up on business inquiries and proposals"})]}
105),n.jsx("h4",{className:"text-lg font-semibold text-gray-800 mb-3",children:"Service Delivery:"}),n.jsxs("ul",{className:"list-disc ml-6 mb-4 space-y-2",children:[n.jsx("li",{children:"Onboarding new clients and configuring AI voice agents"}),n.jsx("li",{children:"Providing customer support and technical assistance"}),n.jsx("li",{children:"Customizing solutions for real estate and hospitality workflows"})]}),n.jsx("h4",{className:"text-lg font-semibold text-gray-800 mb-3",children:"Product Improvement:"}),n.jsxs("ul",{className:"list-disc ml-6 mb-4 space-y-2",children:[n.jsx("li",{children:"Analyzing usage patterns to enhance AI voice capabilities"}),n.jsx("li",{children:"Developing industry-specific features and integrations"}),n.jsx("li",{children:"Improving customer data privacy and security measures"})]})]})]}),n.jsxs("section",{children:[n.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"4. Sharing & Disclosure"}),n.jsx("p",{className:"mb-4",children:"We do not sell your personal information. We only share your data in the following limited circumstances:"}),n.jsxs("div",{className:"ml-4",children:[n.jsx("h4",{className:"text-lg font-semibold text-gray-800 mb-3",children:"Service Providers:"}),n.jsxs("ul",{className:"list-disc ml-6 mb-4 space-y-2",children:[n.jsx("li",{children:"CRM systems (Salesforce, Zoho, LeadSquared) for customer relationship management"}),n.jsx("li",{children:"Cloud infrastructure providers for data storage and processing"}),n.jsx("li",{children:"Analytics and communication tools to improve our services"})]}),n.jsx("h4",{className:"text-lg font-semibold text-gray-800 mb-3",children:"Legal Requirements:"}),n.jsxs("ul",{className:"list-disc ml-6 mb-4 space-y-2",children:[n.jsx("li",{children:"When required by law, regulation, or court order"}),n.jsx("li",{children:"To protect our rights, property, or safety"}),n.jsx("li",{children:"In connection with business transfers or acquisitions"})]})]}),n.jsx("p",{className:"mb-4",children:"All third-party service providers are contractually bound to protect your information and use it only for the specified purposes."})]}),n.jsxs("section",{children:[n.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"5. Data Security"}),n.jsx("p",{className:"mb-4",children:"Protecting your information is fundamental to our AI voice agent platform. As an early-stage startup, we implement reasonable security measures including:"}),n.jsxs("ul",{className:"list-disc ml-6 mb-4 space-y-2",children:[n.jsx("li",{children:"Encryption of data in transit and at rest"}),n.jsx("li",{children:"Access controls and authentication mechanisms"}),n.jsx("li",{children:"Secure cloud infrastructure with reputable providers"}),n.jsx("li",{children:"Regular monitoring of security practices"})]}),n.jsx("p",{className:"mb-4",children:"However, we cannot guarantee absolute security. No method of transmission over the internet or electronic storage is 100% secure. We are continuously improving our security measures as we grow."})]}),n.jsxs("section",{children:[n.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"6. International Data Transfers"}),n.jsx("p",{className:"mb-4",children:"As a global AI voice agent solution, we may transfer your information across borders to provide our services:"}),n.jsxs("ul",{className:"list-disc ml-6 mb-4 space-y-2",children:[n.jsx("li",{children:"Data from Indian customers is primarily processed within India in compliance with local data localization requirements"}),n.jsx("li",{children:"International transfers are conducted with appropriate safeguards including standard contractual clauses"}),n.jsx("li",{children:"We ensure adequate protection regardless of the destination country"}),n.jsx("li",{children:"Real estate and hospitality clients can request data residency preferences"})]})]}),n.jsxs("section",{children:[n.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"7. Your Rights"}),n.jsx("p",{className:"mb-4",children:"We strive to honor your rights regarding your personal information. Depending on your location, these may include:"}),n.jsxs("div",{className:"ml-4",children:[n.jsx("h4",{className:"text-lg font-semibold text-gray-800 mb
105-3",children:"Your Rights:"}),n.jsxs("ul",{className:"list-disc ml-6 mb-4 space-y-2",children:[n.jsx("li",{children:"Access: Request a copy of your personal information"}),n.jsx("li",{children:"Correction: Update or correct inaccurate information"}),n.jsx("li",{children:"Deletion: Request removal of your personal information"}),n.jsx("li",{children:"Opt-out: Unsubscribe from marketing communications"}),n.jsx("li",{children:"Data portability: Receive your data in a portable format"}),n.jsx("li",{children:"Object: Object to certain uses of your information"})]})]}),n.jsx("p",{className:"mb-4",children:"To exercise these rights, contact us at [email protected]. As an early-stage startup, we aim to respond within reasonable timeframes and work with you to address your requests."})]}),n.jsxs("section",{children:[n.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"8. Cookies & Tracking"}),n.jsx("p",{className:"mb-4",children:"We use minimal cookies and tracking technologies to improve your experience with our AI voice agent platform:"}),n.jsxs("div",{className:"ml-4",children:[n.jsx("h4",{className:"text-lg font-semibold text-gray-800 mb-3",children:"Essential Cookies:"}),n.jsxs("ul",{className:"list-disc ml-6 mb-4 space-y-2",children:[n.jsx("li",{children:"Required for website functionality and security"}),n.jsx("li",{children:"Session management and user preferences"})]}),n.jsx("h4",{className:"text-lg font-semibold text-gray-800 mb-3",children:"Analytics Cookies:"}),n.jsxs("ul",{className:"list-disc ml-6 mb-4 space-y-2",children:[n.jsx("li",{children:"Website usage statistics and performance monitoring"}),n.jsx("li",{children:"Understanding how real estate and hospitality professionals interact with our platform"})]})]}),n.jsx("p",{className:"mb-4",children:"You can control cookie preferences through your browser settings. Disabling certain cookies may limit website functionality."})]}),n.jsxs("section",{children:[n.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"9. Updates to This Policy"}),n.jsx("p",{className:"mb-4",children:"We may revise this Privacy Policy from time to time to reflect:"}),n.jsxs("ul",{className:"list-disc ml-6 mb-4 space-y-2",children:[n.jsx("li",{children:"New features and capabilities in our AI voice agent solutions"}),n.jsx("li",{children:"Changes in privacy laws and regulations"}),n.jsx("li",{children:"Evolving business practices and customer data privacy requirements"}),n.jsx("li",{children:"Feedback from real estate and hospitality clients"})]}),n.jsx("p",{className:"mb-4",children:'When we make material changes, we will post the updated version here with a new "Last updated" date. We recommend checking this page periodically for updates.'})]}),n.jsxs("section",{children:[n.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"10. Contact Us"}),n.jsx("p",{className:"mb-4",children:"We're here to help with any questions about this Privacy Policy or our AI voice agent solutions for real estate and hospitality businesses."}),n.jsxs("div",{className:"bg-gray-50 p-6 rounded-lg",children:[n.jsx("h4",{className:"text-lg font-semibold text-gray-800 mb-3",children:"Get in Touch:"}),n.jsxs("ul",{className:"space-y-2",children:[n.jsxs("li",{children:[n.jsx("strong",{children:"Email:"})," [email protected]"]}),n.jsxs("li",{children:[n.jsx("strong",{children:"Website:"})," https://www.calllive.ai"]}),n.jsxs("li",{children:[n.jsx("strong",{children:"Address:"})," NEURAEDGE AI INNOVATIONS PRIVATE LIMITED",n.jsx("br",{}),"FN 202, K No.160/14, 2nd Cross, Riches Garden",n.jsx("br",{}),"Ramamurthy Nagar, Bangalore, Karnataka, India, 560016"]})]})]}),n.jsx("p",{className:"mt-4",children:'For privacy-related inquiries, please include "Privacy Policy" in your subject line. We typically respond within 2-3 business days and are committed to resolving any customer data privacy concerns promptly.'})]}),n.jsx("div",{className:"border-t pt-6 mt-8",children:n.jsx("p",{className:"text-sm text-gray-500 text-center",children:"This Privacy Policy governs the AI voice agent solutions provided by CallLive.ai for real estate and hospital
105ity businesses. We are committed to protecting customer data privacy while delivering innovative AI voice automation technology."})})]})})]})}),n.jsx(xn,{})]})},mB=()=>{const e=gc();return n.jsxs("div",{className:"min-h-screen bg-gradient-to-b from-white to-gray-50",children:[n.jsx(gn,{}),n.jsx("main",{className:"container mx-auto px-6 py-24",children:n.jsxs(E.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6},className:"max-w-4xl mx-auto",children:[n.jsxs("div",{className:"mb-8",children:[n.jsxs(Ae,{variant:"outline",onClick:()=>e("/"),className:"mb-6",children:[n.jsx(Pg,{className:"mr-2 h-4 w-4"}),"Back to Home"]}),n.jsx("h1",{className:"text-4xl font-bold text-gray-900 mb-4",children:"Terms of Service - CallLive.ai India"}),n.jsx("p",{className:"text-lg text-gray-600",children:"AI Voice Agent Terms & Conditions for Indian Businesses | Last updated on Aug 3 2025"})]}),n.jsx("div",{className:"prose prose-lg max-w-none",children:n.jsx("div",{className:"bg-white rounded-xl p-8 shadow-sm border border-gray-100 space-y-6 text-gray-700 leading-relaxed",children:n.jsxs("div",{className:"space-y-8",children:[n.jsxs("section",{children:[n.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"AI Voice Agent Service Terms for India"}),n.jsx("p",{className:"mb-4",children:"These terms govern your use of CallLive.ai's AI voice automation platform designed specifically for Indian businesses. Our conversational AI technology provides multilingual customer support across industries."})]}),n.jsxs("section",{children:[n.jsx("h3",{className:"text-xl font-semibold text-gray-800 mb-3",children:"AI Voice Technology Usage"}),n.jsx("p",{className:"mb-4",children:"By using our AI voice agents, you agree to deploy conversational AI for legitimate business purposes including customer support, lead generation, appointment booking, and automated calling within Indian telecommunications regulations."})]}),n.jsxs("section",{children:[n.jsx("h4",{className:"text-lg font-semibold text-gray-800 mb-3",children:"Indian Language Support & Compliance"}),n.jsx("p",{className:"mb-4",children:"Our AI voicebots support Hindi, English, and 15+ regional Indian languages. All voice interactions comply with TRAI regulations and Indian data protection laws for business communication."})]}),n.jsxs("section",{children:[n.jsx("h5",{className:"text-base font-semibold text-gray-700 mb-2",children:"Service Level Agreement"}),n.jsxs("ul",{className:"list-disc list-inside text-gray-600 space-y-2",children:[n.jsx("li",{children:"99.9% uptime guarantee for AI voice agents"}),n.jsx("li",{children:"24/7 technical support for Indian businesses"}),n.jsx("li",{children:"Regional language support with cultural context"}),n.jsx("li",{children:"Integration with popular Indian CRM systems"})]})]}),n.jsxs("section",{children:[n.jsx("h6",{className:"text-base font-semibold text-gray-700 mb-2",children:"Pricing & Billing for Indian Market"}),n.jsx("p",{className:"text-gray-600",children:"Pricing is in Indian Rupees (INR) with flexible monthly and annual billing cycles. Enterprise clients receive customized pricing based on call volume and advanced AI features required."})]})]})})})]})}),n.jsx(xn,{})]})},fB=()=>{const e=gc();return n.jsxs("div",{className:"min-h-screen bg-gradient-to-b from-white to-gray-50",children:[n.jsx(gn,{}),n.jsx("main",{className:"container mx-auto px-6 py-24",children:n.jsxs(E.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6},className:"max-w-4xl mx-auto",children:[n.jsxs("div",{className:"mb-8",children:[n.jsxs(Ae,{variant:"outline",onClick:()=>e("/"),className:"mb-6",children:[n.jsx(Pg,{className:"mr-2 h-4 w-4"}),"Back to Home"]}),n.jsx("h1",{className:"text-4xl font-bold text-gray-900 mb-4",children:"Cookie Policy - AI Voice Agent Analytics India"}),n.jsx("p",{className:"text-lg text-gray-600",children:"CallLive.ai Cookie Policy for AI Voice Automation Platform | Last updated on Aug 3 2025"})]}),n.jsx("div",{className:"prose prose-lg max-w-none",children:n.jsx("div",{className:"bg-white rounded-xl p-8 shadow-sm border border-gray-100 space-y-6 text-gray-700 leading-relaxed",children:n.jsxs("div",{className:"space-y-8",children:[n.jsxs("section",{children:[n.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"Cookie Usage for AI Voice Agent Platform"}),n.jsx("p",{className:"mb-4",children:"CallLive.ai uses cookies to enhance your experience with our AI voice automation platform. These
105cookies help us understand how Indian businesses interact with our conversational AI technology and optimize voice agent performance."})]}),n.jsxs("section",{children:[n.jsx("h3",{className:"text-xl font-semibold text-gray-800 mb-3",children:"Essential AI Platform Cookies"}),n.jsx("p",{className:"mb-4",children:"We use essential cookies to maintain user sessions, store AI voice agent configurations, and ensure secure access to your conversational AI dashboard for managing voice automation campaigns."})]}),n.jsxs("section",{children:[n.jsx("h4",{className:"text-lg font-semibold text-gray-800 mb-3",children:"Analytics Cookies for Voice AI Performance"}),n.jsx("p",{className:"mb-4",children:"Our analytics cookies track AI voice agent performance metrics, conversation success rates, and user engagement with our multilingual voice automation features to improve service quality for Indian businesses."})]}),n.jsxs("section",{children:[n.jsx("h5",{className:"text-base font-semibold text-gray-700 mb-2",children:"Marketing Cookies for AI Voice Solutions"}),n.jsx("p",{className:"text-gray-600",children:"Marketing cookies help us deliver relevant content about AI voice technology, conversational AI trends, and voice automation solutions tailored to Indian market needs and business requirements."})]})]})})})]})}),n.jsx(xn,{})]})},d1=()=>{const[e,t]=g.useState(!1),r={hidden:{opacity:0},visible:{opacity:1,transition:{staggerChildren:.1}}},s={hidden:{opacity:0,y:20},visible:{opacity:1,y:0}},a={"@context":"https://schema.org","@type":"Product",name:"CallLive.ai Real Estate Voice Agent",description:"AI voice agents for real estate that answer inquiries in 1.5 seconds, book site visits, and support 10+ languages for property sales automation.",brand:{"@type":"Brand",name:"CallLive.ai"},offers:{"@type":"Offer",availability:"https://schema.org/InStock",priceCurrency:"USD",description:"24/7 AI voice agent for real estate sales and lead conversion"},applicationCategory:"AI Voice Agent Software",operatingSystem:"Web-based"},l={"@context":"https://schema.org","@type":"FAQPage",mainEntity:[{"@type":"Question",name:"How do AI voice agents help real estate sales?",acceptedAnswer:{"@type":"Answer",text:"AI voice agents instantly answer property inquiries, qualify potential buyers, schedule site visits, and follow up with leads in multiple languages, ensuring no opportunity is missed."}},{"@type":"Question",name:"Can AI handle outbound calls for property leads?",acceptedAnswer:{"@type":"Answer",text:"Yes â CallLive.ai automatically dials new property leads within 1.5 seconds of inquiry, follows up on missed calls, and reduces lead drop-offs through instant response and human-like conversations."}}]};return n.jsxs(n.Fragment,{children:[n.jsxs(Kn,{children:[n.jsx("title",{children:"Real Estate AI Voice Agent | 24/7 Outbound + Multilingual"}),n.jsx("meta",{name:"description",content:"CallLive.ai voice agents help real estate developers capture every inquiry. Answer in 1.5s, book site visits, auto-dial outbound, and support 10+ languages."}),n.jsx("meta",{name:"keywords",content:"AI voice agent real estate, AI for property sales, real estate call automation, missed call solution real estate, outbound calling real estate India, property booking voice bot"}),n.jsx("link",{rel:"canonical",href:"https://calllive.ai/use-cases/real-estate"}),n.jsx("meta",{property:"og:title",content:"Real Estate AI Voice Agent | 24/7 Outbound + Multilingual"}),n.jsx("meta",{property:"og:description",content:"CallLive.ai voice agents help real estate developers capture every inquiry. Answer in 1.5s, book site visits, auto-dial outbound, and support 10+ languages."}),n.jsx("meta",{property:"og:type",content:"website"}),n.jsx("meta",{property:"og:url",content:"https://calllive.ai/use-cases/real-estate"}),n.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),n.jsx("meta",{name:"twitter:title",content:"Real Estate AI Voice Agent | 24/7 Outbound + Multilingual"}),n.jsx("meta",{name:"twitter:description",content:"CallLive.ai voice agents help real estate developers capture every inquiry. Answer in 1.5s, book site visits, auto-dial outbound, and support
10510+ languages."}),n.jsx("script",{type:"application/ld+json",children:JSON.stringify(a)}),n.jsx("script",{type:"application/ld+json",children:JSON.stringify(l)})]}),n.jsx(gn,{onGetStartedClick:()=>t(!0)}),n.jsxs("main",{className:"min-h-screen bg-gradient-to-br from-background via-muted/30 to-background",children:[n.jsx("div",{className:"container mx-auto px-6 pt-24 pb-4",children:n.jsxs("nav",{className:"flex items-center space-x-2 text-sm text-muted-foreground",children:[n.jsx(Qr,{className:"h-4 w-4"}),n.jsx(it,{className:"h-4 w-4"}),n.jsx("span",{children:"Use Cases"}),n.jsx(it,{className:"h-4 w-4"}),n.jsx("span",{className:"text-foreground font-medium",children:"Real Estate"})]})}),n.jsx(E.section,{className:"container mx-auto px-6 py-16",variants:r,initial:"hidden",animate:"visible",children:n.jsxs("div",{className:"max-w-4xl mx-auto text-center",children:[n.jsx(E.div,{variants:s,className:"mb-6",children:n.jsxs("span",{className:"inline-flex items-center px-4 py-2 rounded-full bg-brand-purple/10 text-brand-purple text-sm font-medium border border-brand-purple/20",children:[n.jsx(pu,{className:"h-4 w-4 mr-2"}),"Real Estate AI Solution"]})}),n.jsxs(E.h1,{variants:s,className:"text-4xl md:text-6xl font-bold text-foreground mb-6 leading-tight",children:["AI Voice Agents for Real Estate â",n.jsxs("span",{className:"bg-gradient-to-r from-brand-purple to-brand-purple-light bg-clip-text text-transparent",children:[" ","Never Miss a Site Visit or Booking"]})]}),n.jsx(E.p,{variants:s,className:"text-xl text-muted-foreground mb-8 max-w-3xl mx-auto leading-relaxed",children:"Real estate developers face the challenge of missed inquiries and lost site visits. Speed matters in real estate sales. CallLive.ai answers every call in 1.5 seconds, works 24/7, and supports 10+ languages with human-like, sales-rep style conversations for both inbound and outbound calls."}),n.jsxs(E.div,{variants:s,className:"flex flex-col sm:flex-row gap-4 justify-center",children:[n.jsxs(Ae,{size:"lg",className:"bg-brand-purple hover:bg-brand-purple/90 text-white font-semibold px-8 py-4",onClick:()=>t(!0),children:[n.jsx(_t,{className:"h-5 w-5 mr-2"}),"Book a Real Estate Demo"]}),n.jsxs(Ae,{size:"lg",variant:"outline",className:"font-semibold px-8 py-4",children:[n.jsx(ri,{className:"h-5 w-5 mr-2"}),"Try Live Demo"]})]})]})}),n.jsx(E.section,{className:"container mx-auto px-6 py-16",variants:r,initial:"hidden",whileInView:"visible",viewport:{once:!0},children:n.jsxs("div",{className:"max-w-6xl mx-auto",children:[n.jsxs(E.div,{variants:s,className:"text-center mb-12",children:[n.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-foreground mb-4",children:"The Hidden Cost of Missed Calls"}),n.jsx("p",{className:"text-xl text-muted-foreground max-w-3xl mx-auto",children:"Sales teams miss critical calls during site visits, paperwork, or after-hours. The consequence? Millions in lost revenue."})]}),n.jsxs("div",{className:"grid md:grid-cols-3 gap-8",children:[n.jsx(E.div,{variants:s,children:n.jsx(te,{className:"h-full bg-gradient-to-br from-red-50 to-red-100/50 border-red-200",children:n.jsx(ne,{className:"p-8",children:n.jsxs("div",{className:"text-center",children:[n.jsx("div",{className:"w-16 h-16 bg-red-500 rounded-full flex items-center justify-center mx-auto mb-4",children:n.jsx(Rt,{className:"h-8 w-8 text-white"})}),n.jsx("h3",{className:"text-2xl font-bold text-red-700 mb-2",children:"60%+"}),n.jsx("p",{className:"text-red-600 font-medium mb-3",children:"Leads Drop If Not Contacted Within an Hour"}),n.jsx("p",{className:"text-sm text-red-600/80",children:"Every missed call is a potential lost sale"})]})})})}),n.jsx(E.div,{variants:s,children:n.jsx(te,{className:"h-full bg-gradient-to-br from-orange-50 to-orange-100/50 border-orange-200",children:n.jsx(ne,{className:"p-8",children:n.jsxs("div",{className:"text-center",children:[n.jsx("div",{className:"w-16 h-16 bg-orange-500 rounded-full flex items-center justify-center mx-auto mb-4",children:n.jsx(ri,{className:"h-8 w-8 text-white"})}),n.jsx("h3",{className:"text-2xl font-bold text-orange-700 mb-2",children:"42+ Hours"}),n.jsx("p",{className:"text-orange-600 font-medium mb-3",children:"Average Follow-Up Time"}),n.jsx("p",{className:"text-sm text-orange-600/80",children:"By then, they've already bought elsewhere"})]})})})}),n.jsx(E.div,{variants:s,children:n.jsx(te,{className:"h-full bg-gradient-to-br from-red-50 to-red-100/50 border-red-200",children:n.jsx(ne,{className:"p-8",children:n.jsxs("div",{className:"text-center",children:[n.jsx("div",{className:"w-16 h-16 bg-red-500 rounded-full flex items-center justify-center mx-auto mb-4",children:n.jsx(Za,{className:"h-8 w-8 text-white"})}),n.jsx("h3",{className:"text-2xl font-bold text-red-700 mb-2",children:"Billions"}),n.jsx("p",{className:"text-red-600 font-medium mb-3",children:"Lost Annually in Real Estate & Hospital
105ity"}),n.jsx("p",{className:"text-sm text-red-600/80",children:"Due to missed calls and slow response times"})]})})})})]})]})}),n.jsx(E.section,{className:"container mx-auto px-6 py-16 bg-gradient-to-r from-muted/20 to-muted/10",variants:r,initial:"hidden",whileInView:"visible",viewport:{once:!0},children:n.jsxs("div",{className:"max-w-6xl mx-auto",children:[n.jsxs(E.div,{variants:s,className:"text-center mb-12",children:[n.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-foreground mb-4",children:"CallLive.ai for Real Estate Sales"}),n.jsx("p",{className:"text-xl text-muted-foreground max-w-3xl mx-auto",children:"Transform every inquiry into a potential sale with AI that never sleeps, never misses a call, and speaks your customers' language."})]}),n.jsxs("div",{className:"grid md:grid-cols-2 lg:grid-cols-4 gap-8",children:[n.jsx(E.div,{variants:s,children:n.jsx(te,{className:"h-full bg-gradient-to-br from-green-50 to-green-100/50 border-green-200 hover:shadow-lg transition-shadow",children:n.jsx(ne,{className:"p-6",children:n.jsxs("div",{className:"text-center",children:[n.jsx("div",{className:"w-12 h-12 bg-green-500 rounded-full flex items-center justify-center mx-auto mb-4",children:n.jsx(rn,{className:"h-6 w-6 text-white"})}),n.jsx("h3",{className:"font-bold text-green-700 mb-2",children:"1.5 Second Response"}),n.jsx("p",{className:"text-sm text-green-600",children:"AI answers every inbound call instantly"})]})})})}),n.jsx(E.div,{variants:s,children:n.jsx(te,{className:"h-full bg-gradient-to-br from-brand-purple/5 to-brand-purple/10 border-brand-purple/20 hover:shadow-lg transition-shadow",children:n.jsx(ne,{className:"p-6",children:n.jsxs("div",{className:"text-center",children:[n.jsx("div",{className:"w-12 h-12 bg-brand-purple rounded-full flex items-center justify-center mx-auto mb-4",children:n.jsx(ut,{className:"h-6 w-6 text-white"})}),n.jsx("h3",{className:"font-bold text-brand-purple mb-2",children:"Outbound Auto-Dial"}),n.jsx("p",{className:"text-sm text-brand-purple/80",children:"Calls new leads as soon as they hit CRM"})]})})})}),n.jsx(E.div,{variants:s,children:n.jsx(te,{className:"h-full bg-gradient-to-br from-brand-purple-light/20 to-brand-purple-light/30 border-brand-purple-light/30 hover:shadow-lg transition-shadow",children:n.jsx(ne,{className:"p-6",children:n.jsxs("div",{className:"text-center",children:[n.jsx("div",{className:"w-12 h-12 bg-brand-purple-light rounded-full flex items-center justify-center mx-auto mb-4",children:n.jsx(Gt,{className:"h-6 w-6 text-white"})}),n.jsx("h3",{className:"font-bold text-brand-purple-light mb-2",children:"10+ Languages"}),n.jsx("p",{className:"text-sm text-brand-purple-light/80",children:"Multilingual support for global reach"})]})})})}),n.jsx(E.div,{variants:s,children:n.jsx(te,{className:"h-full bg-gradient-to-br from-brand-purple/10 to-brand-purple/15 border-brand-purple/25 hover:shadow-lg transition-shadow",children:n.jsx(ne,{className:"p-6",children:n.jsxs("div",{className:"text-center",children:[n.jsx("div",{className:"w-12 h-12 bg-brand-purple rounded-full flex items-center justify-center mx-auto mb-4",children:n.jsx(ys,{className:"h-6 w-6 text-white"})}),n.jsx("h3",{className:"font-bold text-brand-purple mb-2",children:"Human-Like Conversations"}),n.jsx("p",{className:"text-sm text-brand-purple/80",children:"Empathetic guidance to book site visits"})]})})})})]})]})}),n.jsx(E.section,{className:"container mx-auto px-6 py-16",variants:r,initial:"hidden",whileInView:"visible",viewport:{once:!0},children:n.jsxs("div",{className:"max-w-6xl mx-auto",children:[n.jsxs(E.div,{variants:s,className:"text-center mb-12",children:[n.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-foreground mb-4",children:"From Lost Leads to Closed Deals"}),n.jsx("p",{className:"text-xl text-muted-foreground max-w-3xl mx-auto",children:"Real estate developers spend millions on call centers. AI offers a scalable, cost-effective alternative with measurable ROI."})]}),n.jsxs("div",{className:"grid md:grid-cols-2 gap-8 mb-12",children:[n.jsx(E.div,{variants:s,children:n.jsx(te,{className:"h-full bg-gradient-to-br from-emerald-50 to-emerald-100/50 border-emerald-200",children:n.jsx(ne,{className:"p-8",children:n.jsxs("div",{className:"flex items-start space-x-4",children:[n.jsx("div",{className:"w-12 h-12 bg-emerald-500 rounded-full flex items-center justify-center flex-shrink-0",children:n.jsx(Tr,{className:"h-6 w-6 text-white"})}),n.jsxs("div",{children:[n.jsx("h3",{className:"text-xl font-bold text-emerald-700 mb-2",children:"Higher Site Visit Bookings"}),n.jsxs("ul",{className:"space-y-2 text-emerald-600",children:[n.jsxs("li",{className:"flex items-center",children:[n.jsx(Ie,{className:"h-4 w-4 mr-2 flex-shrink-0"})," 3x more qualified site visits"]}),n.jsxs("li",{className:"flex items-center",children:[n.jsx(Ie,{className:"h-4 w-4 mr-2 flex-shrink-0"})," 85% reduction in no-shows"]}),n.jsxs("li",{className:"flex items-center",children:[n.jsx(Ie,{className:"h-4 w-4 mr-2 flex-shrink-0"})," Automated follow-up sequences"]})]})]})]})})})}),n.jsx(E.div,{variants:s,children:n.jsx(te,{className:"h-full bg-gradient-to-br from-brand-purple/5 to-brand-purple/10 border-brand-purple/20",children:n.jsx(ne,{className:"p-8",children:n.jsxs("div",{className:"flex items-start space-x-4",children:[n.jsx("div",{className:"w-12 h-12 bg-brand-purple roun
105ded-full flex items-center justify-center flex-shrink-0",children:n.jsx(xu,{className:"h-6 w-6 text-white"})}),n.jsxs("div",{children:[n.jsx("h3",{className:"text-xl font-bold text-brand-purple mb-2",children:"Improved Conversion Rates"}),n.jsxs("ul",{className:"space-y-2 text-blue-600",children:[n.jsxs("li",{className:"flex items-center",children:[n.jsx(Ie,{className:"h-4 w-4 mr-2 flex-shrink-0"})," Better lead-to-deal conversion"]}),n.jsxs("li",{className:"flex items-center",children:[n.jsx(Ie,{className:"h-4 w-4 mr-2 flex-shrink-0"})," Instant lead qualification"]}),n.jsxs("li",{className:"flex items-center",children:[n.jsx(Ie,{className:"h-4 w-4 mr-2 flex-shrink-0"})," Personalized property recommendations"]})]})]})]})})})}),n.jsx(E.div,{variants:s,children:n.jsx(te,{className:"h-full bg-gradient-to-br from-purple-50 to-purple-100/50 border-purple-200",children:n.jsx(ne,{className:"p-8",children:n.jsxs("div",{className:"flex items-start space-x-4",children:[n.jsx("div",{className:"w-12 h-12 bg-purple-500 rounded-full flex items-center justify-center flex-shrink-0",children:n.jsx(Rt,{className:"h-6 w-6 text-white"})}),n.jsxs("div",{children:[n.jsx("h3",{className:"text-xl font-bold text-purple-700 mb-2",children:"24/7 Pipeline Coverage"}),n.jsxs("ul",{className:"space-y-2 text-purple-600",children:[n.jsxs("li",{className:"flex items-center",children:[n.jsx(Ie,{className:"h-4 w-4 mr-2 flex-shrink-0"})," Never miss weekend inquiries"]}),n.jsxs("li",{className:"flex items-center",children:[n.jsx(Ie,{className:"h-4 w-4 mr-2 flex-shrink-0"})," Holiday and after-hours coverage"]}),n.jsxs("li",{className:"flex items-center",children:[n.jsx(Ie,{className:"h-4 w-4 mr-2 flex-shrink-0"})," Global time zone support"]})]})]})]})})})}),n.jsx(E.div,{variants:s,children:n.jsx(te,{className:"h-full bg-gradient-to-br from-orange-50 to-orange-100/50 border-orange-200",children:n.jsx(ne,{className:"p-8",children:n.jsxs("div",{className:"flex items-start space-x-4",children:[n.jsx("div",{className:"w-12 h-12 bg-orange-500 rounded-full flex items-center justify-center flex-shrink-0",children:n.jsx(Za,{className:"h-6 w-6 text-white"})}),n.jsxs("div",{children:[n.jsx("h3",{className:"text-xl font-bold text-orange-700 mb-2",children:"Cost-Effective Solution"}),n.jsxs("ul",{className:"space-y-2 text-orange-600",children:[n.jsxs("li",{className:"flex items-center",children:[n.jsx(Ie,{className:"h-4 w-4 mr-2 flex-shrink-0"})," Cost-effective alternative"]}),n.jsxs("li",{className:"flex items-center",children:[n.jsx(Ie,{className:"h-4 w-4 mr-2 flex-shrink-0"})," No hiring or training overhead"]}),n.jsxs("li",{className:"flex items-center",children:[n.jsx(Ie,{className:"h-4 w-4 mr-2 flex-shrink-0"})," Scalable across projects"]})]})]})]})})})})]})]})}),n.jsx(E.section,{className:"container mx-auto px-6 py-16 bg-gradient-to-r from-muted/20 to-muted/10",variants:r,initial:"hidden",whileInView:"visible",viewport:{once:!0},children:n.jsxs("div",{className:"max-w-4xl mx-auto",children:[n.jsxs(E.div,{variants:s,className:"text-center mb-12",children:[n.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-foreground mb-4",children:"Accelerate Your Real Estate Sales"}),n.jsx("p",{className:"text-xl text-muted-foreground",children:"Transform your lead management with AI voice automation"})]}),n.jsx(E.div,{variants:s,children:n.jsx(te,{className:"bg-gradient-to-br from-brand-purple/5 to-brand-purple/10 border-brand-purple/20",children:n.jsx(ne,{className:"p-8",children:n.jsxs("div",{className:"text-center",children:[n.jsx("div",{className:"w-20 h-20 bg-brand-purple rounded-full flex items-center justify-center mx-auto mb-6",children:n.jsx(pu,{className:"h-10 w-10 text-white"})}),n.jsx("h3",{className:"text-2xl font-bold text-foreground mb-4",children:'"Ready to Transform Your Lead Management?"'}),n.jsx("p",{className:"text-lg text-muted-foreground mb-6 leading-relaxed",children:"CallLive.ai's human-like AI voice agents can handle all your property inquiries and follow-ups with instant response times, 24/7 availability, and multilingual support. The AI books site visits and qualifies leads automatically."}),n.jsxs("div",{className:"grid md:grid-cols-3 gap-6 mb-6",children:[n.jsxs("div",{className:"text-center",children:[n.jsx("div",{className:"text-3xl font-bold text-brand-purple mb-1",children:"1.5s"}),n.jsx("div",{className:"text-sm text-muted-foreground",children:"Response Time"})]}),n.jsxs("div",{className:"text-center",children:[n.jsx("div",{className:"text-3xl font-bold text-brand-purple mb-1",children:"24/7"}),n.jsx("div",{className:"text-sm text-muted-foreground",children:"Availability"})]}),n.jsxs("div",{className:"text-center",children:[n.jsx("div",{className:"text-3xl font-bold text-brand-purple mb-1",children:"10+"}),n.jsx("div",{className:"text-sm text-muted-foreground",children:"Languages"})]})]}),n.jsx("p",{className:"text-sm text-muted-foreground italic",children:"Start capturing every lead today. Let AI handle inquiries while your team focuses on closing deals."})]})})})})]})}),n.jsx(E.section,{className:"container mx-auto px-6 py-20",variants:r,initial:"hidden",
105whileInView:"visible",viewport:{once:!0},children:n.jsxs(E.div,{variants:s,className:"max-w-4xl mx-auto text-center",children:[n.jsx("h2",{className:"text-3xl md:text-5xl font-bold text-foreground mb-6",children:"Ready to Capture Every Lead?"}),n.jsx("p",{className:"text-xl text-muted-foreground mb-8 max-w-3xl mx-auto",children:"Don't let another potential buyer slip away. Join leading real estate developers who trust CallLive.ai to convert more inquiries into sales."}),n.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:[n.jsxs(Ae,{size:"lg",className:"bg-brand-purple hover:bg-brand-purple/90 text-white font-semibold px-12 py-6 text-lg",onClick:()=>t(!0),children:[n.jsx(_t,{className:"h-6 w-6 mr-3"}),"Book a Real Estate Demo"]}),n.jsxs(Ae,{size:"lg",variant:"outline",className:"font-semibold px-12 py-6 text-lg border-indigo-600 text-indigo-600 hover:bg-indigo-50",children:[n.jsx(ut,{className:"h-6 w-6 mr-3"}),"Try Live Demo Now"]})]}),n.jsx("p",{className:"text-sm text-muted-foreground mt-4",children:"Contact for pricing ⢠Custom solutions ⢠Professional setup"})]})})]}),n.jsx(xn,{}),n.jsx(Vn,{open:e,onOpenChange:t,source:"demo"})]})},u1=()=>{const[e,t]=g.useState(!1),[r,s]=g.useState(null),a={hidden:{opacity:0},visible:{opacity:1,transition:{staggerChildren:.1}}},l={hidden:{opacity:0,y:20},visible:{opacity:1,y:0}},c=[{icon:n.jsx(ut,{className:"h-6 w-6"}),title:"30-40% Booking Loss from Missed Calls",description:"Hotels lose $150K-$300K annually in potential revenue from unanswered calls during peak booking times.",impact:"High Revenue Loss"},{icon:n.jsx(Gt,{className:"h-6 w-6"}),title:"60% International Guests Struggle with Language Barriers",description:"Non-English speaking guests often hang up when they can't communicate effectively, leading to lost bookings.",impact:"Lost International Market"},{icon:n.jsx(Rt,{className:"h-6 w-6"}),title:"$200K+ Annual Cost for 24/7 Front Desk",description:"Maintaining round-the-clock reception staff costs $200K-$400K annually, plus overtime and benefits.",impact:"High Operational Cost"},{icon:n.jsx(UP,{className:"h-6 w-6"}),title:"45% Guest Satisfaction Drop During Peak Times",description:"Long wait times and overwhelmed staff during busy periods significantly impact guest experience ratings.",impact:"Poor Guest Experience"}],d=[{icon:n.jsx(rn,{className:"h-6 w-6"}),title:"Instant 1.5s Response Time",description:"Answer every call immediately with human-like conversations that never keep guests waiting.",benefit:"100% call capture rate"},{icon:n.jsx(Xu,{className:"h-6 w-6"}),title:"10+ Language Support",description:"Seamlessly communicate with international guests in their native language for better booking conversion.",benefit:"40% more international bookings"},{icon:n.jsx(_t,{className:"h-6 w-6"}),title:"24/7 Booking Automation",description:"Process room reservations, check availability, and handle modifications any time of day or night.",benefit:"35% increase in after-hours bookings"},{icon:n.jsx(r4,{className:"h-6 w-6"}),title:"Concierge & Guest Services",description:"Handle room service orders, provide local recommendations, and manage special requests professionally.",benefit:"95% guest satisfaction scores"},{icon:n.jsx(Y1,{className:"h-6 w-6"}),title:"PMS Integration",description:"Seamlessly integrate with your property management system for real-time availability and pricing.",benefit:"Zero manual data entry"},{icon:n.jsx(ar,{className:"h-6 w-6"}),title:"Guest Data Security",description:"Enterprise-grade security ensures all guest information and payment details are fully protected.",benefit:"100% compliance guaranteed"}],m=[{metric:"Revenue Increase",value:"45%",description:"Average booking revenue increase from capturing missed calls and after-hours reservations"},{metric:"Cost Reduction",value:"60%",description:"Reduction in front desk staffing costs while maintaining superior guest service quality"},{metric:"Guest Satisfaction",value:"95%",description:"Guest satisfaction scores with instant, multilingual support and professional service"},{metric:"International Bookings",value:"40%",description:"Increase in bookings from international guests through native language support"}],f=[{question:"How does AI voice agent integration work with existing hotel management systems?",answer:"CallLive.ai seamlessly integrates with popular PMS platforms like Opera, Amadeus, and RoomMaster through secure APIs. The integration typically takes 2-3 days and includes real-time room availability, rate management, and guest profile synchronization. Our technical team handles the entire setup process."},{question:"Can the AI handle complex booking scenarios like group reservations and corporate rates?",answer:"Yes, our AI is trained to manage complex hospital
105ity scenarios including group bookings, corporate negotiations, special event coordination, and multi-room reservations. It can access your rate structures, apply discounts, and even coordinate with your sales team for large bookings."},{question:"What languages does the AI support for international guests?",answer:"CallLive.ai supports 10+ languages including English, Spanish, French, German, Italian, Portuguese, Mandarin, Japanese, Korean, and Arabic. The AI automatically detects the caller's language preference and can switch languages mid-conversation if needed."},{question:"How does the AI maintain guest privacy and data security?",answer:"We implement enterprise-grade security with end-to-end encryption, SOC 2 compliance, and GDPR adherence. All guest data is encrypted at rest and in transit, with access logs monitored 24/7. Payment information is never stored and processes through PCI-compliant gateways only."},{question:"What happens if the AI encounters a situation it can't handle?",answer:"The AI seamlessly transfers complex or sensitive calls to your human staff with full context and conversation history. You can set custom escalation rules, and our system provides real-time alerts to ensure no guest request goes unhandled."},{question:"How quickly can we see results after implementation?",answer:"Most hotels see immediate improvements in call answer rates and guest satisfaction. Booking revenue typically increases within the first week, with full ROI realized within 2-3 months. We provide weekly performance reports to track your success metrics."},{question:"Does the AI work for both inbound reservations and outbound guest services?",answer:"Absolutely. Our AI handles inbound booking calls, guest inquiries, and service requests, plus outbound confirmation calls, follow-up surveys, and proactive guest communication. This comprehensive approach maximizes both revenue and guest satisfaction."},{question:"How does pricing work for different hotel sizes?",answer:"Our pricing scales with your needs, from boutique properties to large hotel chains. We offer flexible packages based on call volume, number of languages, and integration complexity. Most hotels achieve positive ROI within 60-90 days, making it a profitable investment from day one."}],p={"@context":"https://schema.org","@type":"Product",name:"CallLive.ai Hospital
105ity Voice Agent",description:"Advanced AI voice agents for hotels and hospitality that handle bookings, answer guest inquiries in 10+ languages, and provide 24/7 customer service automation with seamless PMS integration.",brand:{"@type":"Brand",name:"CallLive.ai"},offers:{"@type":"Offer",availability:"https://schema.org/InStock",priceCurrency:"USD",description:"24/7 multilingual AI voice agent for hotel bookings and comprehensive guest services"},applicationCategory:"Hospitality AI Voice Agent Software",operatingSystem:"Web-based",featureList:["24/7 booking automation","10+ language support","PMS integration","Guest services automation","Revenue optimization","Multilingual concierge services"]},x={"@context":"https://schema.org","@type":"FAQPage",mainEntity:f.map(b=>({"@type":"Question",name:b.question,acceptedAnswer:{"@type":"Answer",text:b.answer}}))},v=b=>{s(r===b?null:b)};return n.jsxs(n.Fragment,{children:[n.jsxs(Kn,{children:[n.jsx("title",{children:"Hotel AI Voice Agent | 24/7 Booking Automation + 10 Languages | CallLive.ai"}),n.jsx("meta",{name:"description",content:"CallLive.ai voice agents help hotels capture every booking with 1.5s response time. Handle reservations 24/7, provide multilingual guest services, and increase revenue by 45%. Try free demo."}),n.jsx("meta",{name:"keywords",content:"hotel AI voice agent, hotel booking automation, AI concierge service, multilingual hotel assistant, hospitality voice bot, missed call solution hotels, PMS integration, hotel revenue optimization"}),n.jsx("link",{rel:"canonical",href:"https://calllive.ai/use-cases/hospitality"}),n.jsx("meta",{property:"og:title",content:"Hotel AI Voice Agent | 24/7 Booking Automation + 10 Languages"}),n.jsx("meta",{property:"og:description",content:"Transform your hotel with AI voice agents. Never miss bookings, serve international guests in their language, and boost revenue 45%."}),n.jsx("meta",{property:"og:type",content:"website"}),n.jsx("meta",{property:"og:url",content:"https://calllive.ai/use-cases/hospitality"}),n.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),n.jsx("meta",{name:"twitter:title",content:"Hotel AI Voice Agent | 24/7 Booking Automation"}),n.jsx("meta",{name:"twitter:description",content:"CallLive.ai helps hotels capture every booking with instant, multilingual AI voice agents."}),n.jsx("script",{type:"application/ld+json",children:JSON.stringify(p)}),n.jsx("script",{type:"application/ld+json",children:JSON.stringify(x)})]}),n.jsx(gn,{onGetStartedClick:()=>t(!0)}),n.jsxs("main",{className:"min-h-screen bg-gradient-to-br from-background via-muted/30 to-background",children:[n.jsx("div",{className:"container mx-auto px-6 pt-24 pb-4",children:n.jsxs("nav",{className:"flex items-center space-x-2 text-sm text-muted-foreground",children:[n.jsx(Qr,{className:"h-4 w-4"}),n.jsx(it,{className:"h-4 w-4"}),n.jsx("span",{children:"Use Cases"}),n.jsx(it,{className:"h-4 w-4"}),n.jsx("span",{className:"text-foreground font-medium",children:"Hospitality"})]})}),n.jsx(E.section,{className:"container mx-auto px-6 py-16",variants:a,initial:"hidden",animate:"visible",children:n.jsxs("div",{className:"max-w-4xl mx-auto text-center",children:[n.jsx(E.div,{variants:l,className:"mb-6",children:n.jsxs("span",{className:"inline-flex items-center px-4 py-2 rounded-full bg-brand-purple/10 text-brand-purple text-sm font-medium border border-brand-purple/20",children:[n.jsx(QP,{className:"h-4 w-4 mr-2"}),"Hospitality AI Solution"]})}),n.jsxs(E.h1,{variants:l,className:"text-4xl md:text-6xl font-bold text-foreground mb-6 leading-tight",children:["Hotel AI Voice Agents â",n.jsxs("span",{className:"bg-gradient-to-r from-brand-purple via-brand-purple-light to-brand-purple bg-clip-text text-transparent",children:[" ","Never Miss a Booking Again"]})]}),n.jsxs(E.p,{variants:l,className:"text-xl text-muted-foreground mb-8 max-w-3xl mx-auto leading-relaxed",children:["Hotels lose ",n.jsx("strong",{children:"30-40% of potential bookings"})," to missed calls and language barriers. With guests expecting ",n.jsx("strong",{children:"instant responses"})," and ",n.jsx("strong",{children:"24/7 availability"}),", traditional reception desks can't keep up. CallLive.ai answers every call in 1.5 seconds, works 24/7, and supports 10+ languages with human-like conversations."]}),n.jsxs(E.div,{variants:l,className:"flex flex-col sm:flex-row gap-4 justify-center",children:[n.jsxs(Ae,{size:"lg",className:"bg-gradient-to-r from-brand-purple via-brand-purple-light to-brand-purple hover:from-brand-purple/90 hover:via-brand-purple-light/90 hover:to-brand-purple/90 text-white font-semibold px-8 py-4",onClick:()=>t(!0),children:[n.jsx(_t,{className:"h-5 w-5 mr-2"}
105),"Book Hospitality Demo"]}),n.jsxs(Ae,{size:"lg",variant:"outline",className:"font-semibold px-8 py-4",children:[n.jsx(ri,{className:"h-5 w-5 mr-2"}),"Try Live Demo"]})]})]})}),n.jsx(E.section,{className:"container mx-auto px-6 py-20",variants:a,initial:"hidden",whileInView:"visible",viewport:{once:!0},children:n.jsxs("div",{className:"max-w-6xl mx-auto",children:[n.jsxs(E.div,{variants:l,className:"text-center mb-16",children:[n.jsxs("h2",{className:"text-3xl md:text-5xl font-bold text-foreground mb-6",children:["The Hidden Cost of ",n.jsx("span",{className:"text-destructive",children:"Missed Opportunities"})]}),n.jsx("p",{className:"text-xl text-muted-foreground max-w-3xl mx-auto",children:"Every missed call is lost revenue. Here's what hotels face without AI voice automation:"})]}),n.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-4 gap-6",children:c.map((b,N)=>n.jsxs(E.div,{variants:l,whileHover:{scale:1.02},className:"bg-card border border-border rounded-lg p-6 hover:shadow-lg transition-all duration-300",children:[n.jsxs("div",{className:"flex items-center mb-4",children:[n.jsx("div",{className:"p-2 bg-destructive/10 rounded-lg text-destructive mr-3",children:b.icon}),n.jsx("span",{className:"text-xs font-medium text-destructive bg-destructive/10 px-2 py-1 rounded",children:b.impact})]}),n.jsx("h3",{className:"font-semibold text-foreground mb-3 leading-tight",children:b.title}),n.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed",children:b.description})]},N))})]})}),n.jsx(E.section,{className:"container mx-auto px-6 py-20 bg-muted/30 rounded-3xl mx-6",variants:a,initial:"hidden",whileInView:"visible",viewport:{once:!0},children:n.jsxs("div",{className:"max-w-6xl mx-auto",children:[n.jsxs(E.div,{variants:l,className:"text-center mb-16",children:[n.jsxs("h2",{className:"text-3xl md:text-5xl font-bold text-foreground mb-6",children:["Your Complete ",n.jsx("span",{className:"bg-gradient-to-r from-brand-purple via-brand-purple-light to-brand-purple bg-clip-text text-transparent",children:"AI Hospitality Solution"})]}),n.jsx("p",{className:"text-xl text-muted-foreground max-w-3xl mx-auto",children:"Transform every guest interaction with AI that understands hospital
105ity"})]}),n.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6",children:d.map((b,N)=>n.jsxs(E.div,{variants:l,whileHover:{scale:1.02},className:"bg-card border border-border rounded-lg p-6 hover:shadow-lg transition-all duration-300",children:[n.jsxs("div",{className:"flex items-center mb-4",children:[n.jsx("div",{className:"p-2 bg-brand-purple/10 rounded-lg text-brand-purple mr-3",children:b.icon}),n.jsx("span",{className:"text-xs font-medium text-brand-purple bg-brand-purple/10 px-2 py-1 rounded",children:b.benefit})]}),n.jsx("h3",{className:"font-semibold text-foreground mb-3",children:b.title}),n.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed",children:b.description})]},N))})]})}),n.jsx(E.section,{className:"container mx-auto px-6 py-20",variants:a,initial:"hidden",whileInView:"visible",viewport:{once:!0},children:n.jsxs("div",{className:"max-w-6xl mx-auto",children:[n.jsxs(E.div,{variants:l,className:"text-center mb-16",children:[n.jsxs("h2",{className:"text-3xl md:text-5xl font-bold text-foreground mb-6",children:["Measurable Results That ",n.jsx("span",{className:"text-green-600",children:"Impact Your Bottom Line"})]}),n.jsx("p",{className:"text-xl text-muted-foreground max-w-3xl mx-auto",children:"See the real numbers from hotels using CallLive.ai voice agents"})]}),n.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-4 gap-6 mb-12",children:m.map((b,N)=>n.jsxs(E.div,{variants:l,whileHover:{scale:1.05},className:"text-center bg-card border border-border rounded-lg p-6 hover:shadow-lg transition-all duration-300",children:[n.jsx("div",{className:"text-4xl md:text-5xl font-bold text-brand-purple mb-2",children:b.value}),n.jsx("h3",{className:"font-semibold text-foreground mb-3",children:b.metric}),n.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed",children:b.description})]},N))}),n.jsxs(E.div,{variants:l,className:"bg-gradient-to-r from-green-50 to-emerald-50 border border-green-200 rounded-xl p-8 text-center",children:[n.jsxs("div",{className:"flex items-center justify-center mb-4",children:[n.jsx(Tr,{className:"h-8 w-8 text-green-600 mr-3"}),n.jsx("span",{className:"text-2xl font-bold text-green-600",children:"Average ROI: 300% in First Year"})]}),n.jsx("p",{className:"text-green-700 text-lg",children:"Most hotels achieve full ROI within 2-3 months through increased bookings and reduced staffing costs"})]})]})}),n.jsx(E.section,{className:"container mx-auto px-6 py-20 bg-muted/30 rounded-3xl mx-6",variants:a,initial:"hidden",whileInView:"visible",viewport:{once:!0},children:n.jsxs("div",{className:"max-w-6xl mx-auto",children:[n.jsxs(E.div,{variants:l,className:"text-center mb-16",children:[n.jsxs("h2",{className:"text-3xl md:text-5xl font-bold text-foreground mb-6",children:["Transform Your ",n.jsx("span",{className:"bg-gradient-to-r from-brand-purple via-brand-purple-light to-brand-purple bg-clip-text text-transparent",children:"Hotel Operations"})]}),n.jsx("p",{className:"text-xl text-muted-foreground max-w-3xl mx-auto",children:"See how AI voice agents can revolutionize different hotel operations"})]}),n.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-8",children:d.map((b,N)=>n.jsxs(E.div,{variants:l,className:"bg-card border border-border rounded-xl p-6 hover:shadow-lg transition-all duration-300",children:[n.jsxs("div",{className:"flex items-center mb-4",children:[n.jsx("div",{className:"p-3 bg-brand-purple/10 rounded-lg text-brand-purple mr-4",children:b.icon}),n.jsx("span",{className:"text-xs font-medium text-brand-purple bg-brand-purple/10 px-2 py-1 rounded",children:b.benefit})]}),n.jsx("h3",{className:"font-semibold text-foreground mb-3 text-lg",children:b.title}),n.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed",children:b.description})]},N))})]})}),n.jsx(E.section,{className:"container mx-auto px-6 py-20",variants:a,initial:"hidden",whileInView:"visible",viewport:{once:!0},children:n.jsxs("div",{className:"max-w-4xl mx-auto",children:[n.jsxs(E.div,{variants:l,className:"text-center mb-16",children:[n.jsx("h2",{className:"text-3xl md:text-5xl font-bold text-foreground mb-6",children:"Frequently Asked Questions"}),n.jsx("p",{className:"text-xl text-muted-foreground",children:"Everything you need to know about AI voice agents for hospital
105ity"})]}),n.jsx("div",{className:"space-y-4",children:f.map((b,N)=>n.jsxs(E.div,{variants:l,className:"border border-border rounded-lg overflow-hidden",children:[n.jsxs("button",{onClick:()=>v(N),className:"w-full px-6 py-4 text-left bg-card hover:bg-muted/50 transition-colors duration-200 flex items-center justify-between",children:[n.jsx("span",{className:"font-semibold text-foreground pr-4",children:b.question}),n.jsx(E.div,{animate:{rotate:r===N?180:0},transition:{duration:.2},children:n.jsx(it,{className:"h-5 w-5 text-muted-foreground transform rotate-90"})})]}),n.jsx(E.div,{initial:!1,animate:{height:r===N?"auto":0,opacity:r===N?1:0},transition:{duration:.3},className:"overflow-hidden",children:n.jsx("div",{className:"px-6 pb-4 pt-2 text-muted-foreground leading-relaxed",children:b.answer})})]},N))})]})}),n.jsx(E.section,{className:"container mx-auto px-6 py-20",variants:a,initial:"hidden",whileInView:"visible",viewport:{once:!0},children:n.jsx(E.div,{variants:l,className:"max-w-4xl mx-auto text-center",children:n.jsxs("div",{className:"bg-gradient-to-r from-brand-purple/10 via-brand-purple-light/10 to-brand-purple/10 border border-brand-purple/20 rounded-2xl p-12",children:[n.jsx("h2",{className:"text-3xl md:text-5xl font-bold text-foreground mb-6",children:"Ready to Transform Your Hotel?"}),n.jsx("p",{className:"text-xl text-muted-foreground mb-8 max-w-3xl mx-auto",children:"Join leading hotels worldwide who trust CallLive.ai to deliver exceptional guest experiences and maximize booking revenue. Start capturing every opportunity today."}),n.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:[n.jsxs(Ae,{size:"lg",className:"bg-gradient-to-r from-brand-purple via-brand-purple-light to-brand-purple hover:from-brand-purple/90 hover:via-brand-purple-light/90 hover:to-brand-purple/90 text-white font-semibold px-12 py-6 text-lg",onClick:()=>t(!0),children:[n.jsx(_t,{className:"h-6 w-6 mr-3"}),"Book Hospitality Demo"]}),n.jsxs(Ae,{size:"lg",variant:"outline",className:"font-semibold px-12 py-6 text-lg border-brand-purple text-brand-purple hover:bg-brand-purple/5",children:[n.jsx(ut,{className:"h-6 w-6 mr-3"}),"Try Live Demo Now"]})]}),n.jsx("p",{className:"text-sm text-muted-foreground mt-6",children:"â Free 30-day trial â No setup fees â Cancel anytime"})]})})})]}),n.jsx(xn,{}),n.jsx(Vn,{open:e,onOpenChange:t,source:"demo"})]})},m1=()=>{const[e,t]=g.useState(!1),[r,s]=g.useState(null),a={hidden:{opacity:0},visible:{opacity:1,transition:{staggerChildren:.1}}},l={hidden:{opacity:0,y:20},visible:{opacity:1,y:0}},c=[{question:"Is CallLive.ai's healthcare AI fully HIPAA compliant?",answer:"Yes, CallLive.ai is fully HIPAA compliant with end-to-end encryption, audit logs, and signed Business Associate Agreements (BAA). Our platform meets all HIPAA security and privacy requirements, ensuring complete patient data protection during all voice interactions."},{question:"How accurate are AI agents for medical appointment scheduling?",answer:"Our healthcare AI agents achieve 98%+ accuracy in appointment scheduling with real-time calendar integration. They verify insurance, check provider availability, handle rescheduling, and send automated confirmations - all while maintaining medical accuracy trained on healthcare protocols."},{question:"Can AI agents handle medical emergencies properly?",answer:"Our AI agents are trained to immediately identify emergency situations and escalate appropriately. For life-threatening emergencies, they direct callers to 911. For urgent care needs, they connect to on-call staff or emergency protocols while documenting all interactions for medical records."},{question:"What languages do healthcare AI agents support?",answer:"Our healthcare AI supports 30+ languages including Spanish, Mandarin, Hindi, Arabic, and all major languages. Each agent understands medical terminology, cultural sensitivities, and healthcare contexts in every language for accurate patient communication."},{question:"How do AI agents integrate with Electronic Health Records (EHR)?",answer:"CallLive.ai integrates seamlessly with major EHR systems including Epic, Cerner, Allscripts, and athenahealth. Our API automatically updates patient records, appointments, and communications while maintaining full HIPAA compliance and audit trails."},{question:"Can AI agents handle prescription refills and medication questions?",answer:"Yes, our AI agents can process routine prescription refill requests, check medication availability, and provide general medication information. All requests are properly documented and routed to appropriate medical staff for approval while maintaining pharmacy compliance."},{question:"What's the implementation timeline for healthcare practices?",answer:"Healthcare implementations typically take 2-4 weeks including HIPAA compliance setup, EHR integration, staff training, and medical protocol customization. We provide dedicated healthcare implementation specialists and ongoing compliance monitoring."},{question:"How much can healthcare practices save with AI voice agents?",answer:"Healthcare practices typically save $150,000-$300,000 annually by reducing staff costs, eliminating missed appointments (saving $150 per no-show), and increasing patient capacity. ROI is usually achieved within 3-6 months through operational efficiency gains."}],d={"@context":"https://schema.org","@type":"Product",name:"CallLive.ai HIPAA Compliant Healthcare Voice Agent",description:"HIPAA-compliant AI voice agents for healthcare that eliminate missed patient calls, reduce no-shows by 65%, handle appointment scheduling, and provide 24/7 medical support in 30+ languages.",brand:{"@type":"Brand",name:"CallLive.ai"},offers:{"@type":"Offer",availability:"https://schema.org/InStock",priceCurrency:"USD",priceRange:"$299-$999",description:"24/7 HIPAA compliant AI voice agent for healthcare patient communication and appointment management"},applicationCategory:"Healthcare AI Voice Agent Software",operatingSystem:"Web-based, Cloud-hosted",featureList:["HIPAA Compliant V
105oice AI","24/7 Patient Support","EHR Integration","Appointment Scheduling","Prescription Management","30+ Language Support","Emergency Protocol Handling","Medical Accuracy Training"]},m={"@context":"https://schema.org","@type":"FAQPage",mainEntity:c.map(f=>({"@type":"Question",name:f.question,acceptedAnswer:{"@type":"Answer",text:f.answer}}))};return n.jsxs(n.Fragment,{children:[n.jsxs(Kn,{children:[n.jsx("title",{children:"HIPAA Compliant Healthcare AI Voice Agent | Reduce No-Shows 65% | CallLive.ai"}),n.jsx("meta",{name:"description",content:"HIPAA compliant AI voice agents eliminate 80% of missed patient calls, reduce no-shows 65%, handle appointments 24/7 in 30+ languages. Save $150K+ annually on healthcare staffing costs."}),n.jsx("meta",{name:"keywords",content:"HIPAA compliant AI voice agent, healthcare AI assistant, medical appointment scheduling AI, patient communication automation, healthcare voice bot, reduce medical no-shows, 24/7 patient support AI, EHR integration voice AI"}),n.jsx("link",{rel:"canonical",href:"https://calllive.ai/use-cases/healthcare"}),n.jsx("script",{type:"application/ld+json",children:JSON.stringify(d)}),n.jsx("script",{type:"application/ld+json",children:JSON.stringify(m)})]}),n.jsx(gn,{onGetStartedClick:()=>t(!0)}),n.jsxs("main",{className:"min-h-screen bg-gradient-to-br from-background via-brand-purple/5 to-background",children:[n.jsx("div",{className:"container mx-auto px-6 pt-24 pb-4",children:n.jsxs("nav",{className:"flex items-center space-x-2 text-sm text-muted-foreground",children:[n.jsx(Qr,{className:"h-4 w-4"}),n.jsx(it,{className:"h-4 w-4"}),n.jsx("span",{children:"Use Cases"}),n.jsx(it,{className:"h-4 w-4"}),n.jsx("span",{className:"text-foreground font-medium",children:"Healthcare"})]})}),n.jsx(E.section,{className:"container mx-auto px-6 py-16",variants:a,initial:"hidden",animate:"visible",children:n.jsxs("div",{className:"max-w-4xl mx-auto text-center",children:[n.jsx(E.div,{variants:l,className:"mb-6",children:n.jsxs("span",{className:"inline-flex items-center px-4 py-2 rounded-full bg-brand-purple/10 text-brand-purple text-sm font-medium border border-brand-purple/20",children:[n.jsx(Qu,{className:"h-4 w-4 mr-2"}),"HIPAA Compliant Healthcare AI"]})}),n.jsxs(E.h1,{variants:l,className:"text-4xl md:text-6xl font-bold text-foreground mb-6 leading-tight",children:["Stop Losing Patients to"," ",n.jsx("span",{className:"bg-gradient-to-r from-red-600 to-orange-600 bg-clip-text text-transparent",children:"Missed Calls"})," ","& Long Wait Times"]}),n.jsxs(E.p,{variants:l,className:"text-xl text-muted-foreground mb-8 max-w-3xl mx-auto leading-relaxed",children:[n.jsx("strong",{className:"text-red-600",children:"80% of patient calls go to voicemail"})," during busy hours, leading to delayed care and frustrated patients. CallLive.ai's HIPAA-compliant AI voice agents answer every call in ",n.jsx("strong",{children:"1.5 seconds"}),", handle appointments 24/7, and reduce no-shows by ",n.jsx("strong",{children:"65%"})," - ensuring no patient is left waiting when they need care most."]}),n.jsxs(E.div,{variants:l,className:"flex flex-col sm:flex-row gap-4 justify-center mb-8",children:[n.jsxs(Ae,{size:"lg",className:"bg-brand-purple hover:bg-brand-purple/90 text-white font-semibold px-8 py-4",onClick:()=>t(!0),children:[n.jsx(_t,{className:"h-5 w-5 mr-2"}),"Get HIPAA Compliance Demo"]}),n.jsxs(Ae,{size:"lg",variant:"outline",className:"font-semibold px-8 py-4",children:[n.jsx(ri,{className:"h-5 w-5 mr-2"}),"Try Patient AI Live"]})]}),n.jsxs(E.div,{variants:l,className:"grid grid-cols-1 md:grid-cols-3 gap-6 text-center",children:[n.jsxs("div",{className:"p-4 bg-green-50 rounded-lg border border-green-200",children:[n.jsx("div",{className:"text-2xl font-bold text-green-600 mb-1",children:"65%"}),n.jsx("div",{className:"text-sm text-green-700",children:"Reduction in No-Shows"})]}),n.jsxs("div",{className:"p-4 bg-brand-purple/5 rounded-lg border border-brand-purple/20",children:[n.jsx("div",{className:"text-2xl font-bold text-brand-purple mb-1",children:"$150K+"}),n.jsx("div",{className:"text-sm text-brand-purple/80",children:"Annual Savings"})]}),n.jsxs("div",{className:"p-4 bg-brand-purple-light/20 rounded-lg border border-brand-purple-light/30",children:[n.jsx("div",{className:"text-2xl font-bold text-brand-purple-light mb-1",children:"24/7"}),n.jsx("div",{className:"text-sm text-brand-purple-light/80",children:"Patient Support"})]})]})]})}),n.jsx(E.section,{className:"container mx-auto px-6 py-16",variants:a,initial:"hidden",
105whileInView:"visible",viewport:{once:!0},children:n.jsxs("div",{className:"max-w-6xl mx-auto",children:[n.jsxs(E.div,{variants:l,className:"text-center mb-12",children:[n.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-foreground mb-4",children:"The Healthcare Communication Crisis"}),n.jsx("p",{className:"text-xl text-muted-foreground max-w-3xl mx-auto",children:"Healthcare systems are failing patients with overwhelming call volumes, staffing shortages, and 24/7 care demands that traditional systems can't handle."})]}),n.jsxs("div",{className:"grid md:grid-cols-2 lg:grid-cols-4 gap-6",children:[n.jsx(E.div,{variants:l,children:n.jsx(te,{className:"h-full bg-gradient-to-br from-red-50 to-red-100/50 border-red-200",children:n.jsxs(ne,{className:"p-6 text-center",children:[n.jsx("div",{className:"w-14 h-14 bg-red-500 rounded-full flex items-center justify-center mx-auto mb-4",children:n.jsx(ut,{className:"h-7 w-7 text-white"})}),n.jsx("h3",{className:"text-2xl font-bold text-red-700 mb-2",children:"80%"}),n.jsx("p",{className:"text-red-600 font-medium mb-2",children:"Calls Go to Voicemail"}),n.jsx("p",{className:"text-xs text-red-600/80",children:"During busy clinic hours"})]})})}),n.jsx(E.div,{variants:l,children:n.jsx(te,{className:"h-full bg-gradient-to-br from-orange-50 to-orange-100/50 border-orange-200",children:n.jsxs(ne,{className:"p-6 text-center",children:[n.jsx("div",{className:"w-14 h-14 bg-orange-500 rounded-full flex items-center justify-center mx-auto mb-4",children:n.jsx(Za,{className:"h-7 w-7 text-white"})}),n.jsx("h3",{className:"text-2xl font-bold text-orange-700 mb-2",children:"$150"}),n.jsx("p",{className:"text-orange-600 font-medium mb-2",children:"Cost Per No-Show"}),n.jsx("p",{className:"text-xs text-orange-600/80",children:"30% no-show rate average"})]})})}),n.jsx(E.div,{variants:l,children:n.jsx(te,{className:"h-full bg-gradient-to-br from-brand-purple/10 to-brand-purple/15 border-brand-purple/25",children:n.jsxs(ne,{className:"p-6 text-center",children:[n.jsx("div",{className:"w-14 h-14 bg-brand-purple rounded-full flex items-center justify-center mx-auto mb-4",children:n.jsx(Rt,{className:"h-7 w-7 text-white"})}),n.jsx("h3",{className:"text-2xl font-bold text-brand-purple mb-2",children:"24+ Hours"}),n.jsx("p",{className:"text-brand-purple/80 font-medium mb-2",children:"Average Callback Time"}),n.jsx("p",{className:"text-xs text-brand-purple/60",children:"For urgent patient calls"})]})})}),n.jsx(E.div,{variants:l,children:n.jsx(te,{className:"h-full bg-gradient-to-br from-red-50 to-red-100/50 border-red-200",children:n.jsxs(ne,{className:"p-6 text-center",children:[n.jsx("div",{className:"w-14 h-14 bg-red-500 rounded-full flex items-center justify-center mx-auto mb-4",children:n.jsx(wl,{className:"h-7 w-7 text-white"})}),n.jsx("h3",{className:"text-2xl font-bold text-red-700 mb-2",children:"45%"}),n.jsx("p",{className:"text-red-600 font-medium mb-2",children:"Patient Dissatisfaction"}),n.jsx("p",{className:"text-xs text-red-600/80",children:"Due to poor phone access"})]})})})]})]})}),n.jsx(E.section,{className:"container mx-auto px-6 py-16 bg-gradient-to-r from-gray-50 to-white",variants:a,initial:"hidden",whileInView:"visible",viewport:{once:!0},children:n.jsxs("div",{className:"max-w-6xl mx-auto",children:[n.jsxs(E.div,{variants:l,className:"text-center mb-12",children:[n.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-foreground mb-4",children:"Daily Pain Points Destroying Patient Care"}),n.jsx("p",{className:"text-xl text-muted-foreground max-w-3xl mx-auto",children:"Every healthcare practice faces these critical challenges that put patient safety at risk and cost thousands daily."})]}),n.jsxs("div",{className:"grid md:grid-cols-2 gap-8",children:[n.jsx(E.div,{variants:l,children:n.jsx(te,{className:"h-full p-6 bg-gradient-to-br from-red-50 to-orange-50 border-red-200",children:n.jsxs(ne,{className:"p-0",children:[n.jsxs("div",{className:"flex items-start gap-4 mb-4",children:[n.jsx("div",{className:"flex-shrink-0 p-3 rounded-lg bg-red-100 border border-red-200",children:n.jsx(wl,{className:"h-6 w-6 text-red-600"})}),n.jsxs("div",{children:[n.jsx("h3",{className:"text-lg font-bold text-gray-900 mb-2",children:"Patient Safety at Risk"}),n.jsx("p",{className:"text-gray-700 text-sm",children:"When urgent calls go to voicemail, patients delay seeking care or visit emergency rooms unnecessarily. Critical symptoms get overlooked, and follow-up care is missed - putting patient lives at risk."})]})]}),n.jsx("div",{className:"bg-red-100/50 p-3 rounded-lg",children:n.jsx("p",{className:"text-red-800 text-sm font-medium",children:"ð 25% of patients delay treatment when they can't reach their provider immediately"})})]})})}),n.jsx(E.div,{variants:l,children:n.jsx(te,{className:"h-full p-6 bg-gradient-to-br from-orange-50 to-yellow-50 border-orange-200",children:n.jsxs(ne,{className:"p-0",children:[n.jsxs("div",{className:"flex items-start gap-4 mb-4",children:[n.jsx("div",{className:"flex-shrink-0 p-3 rounded-lg bg-orange-100 border border-orange-200",children:n.jsx(Za,{className:"h-6 w-6 text-orange-600"})}),n.jsxs("div",{children:[n.jsx("h3",{className:"text-lg font-bold text-gray-900 mb-2",children:"Massive Revenue Loss from No-Shows"}),n.jsx("p",{className:"text-gray-700 text-sm",children:"Poor communication leads to 30%+ no-show rates. Each missed appointment costs $150+ in lost revenue, with some practices losing $50,000+ monthly to no-shows alone."})]})]}),n.jsx("div",{className:"bg-orange-100/50 p-3 rounded-lg",children:n.jsx("p",{className:"text-orange-800 text-sm font-medium",children:"ð¸ Practices lose average $180,000 annually to no-shows and poor scheduling"})})]})})}),n.jsx(E.div,{variants:l,children:n.jsx(te,{className:"h-full p-6 bg-gradient-to-br from-blue-50 to-cyan-50 border-blue-200",children:n.jsxs(ne,{className:"p-0",children:[n.jsxs("div",{className:"flex items-start gap-4 mb-4",children:[n.jsx("div",{className:"flex-shrink-0 p-3 rounded-lg bg-blue-100 border border-blue-200",children:n.jsx(Dn,{className:"h-6 w-6 text-blue-600"})}),n.jsxs("div",{children:[n.jsx("h3",{className:"text-lg font-bold text-gray-900 mb-2",children:"Staff Burnout & High Turnover"}),n.jsx("p",{className:"text-gray-700 text-sm",children:"Reception staff are overwhelmed with call volumes, leading to burnout and 40%+ annual turnover. Constant hiring and training costs $65,000+ per position annually."})]})]}),n.jsx("div",{className:"bg-blue-100/50 p-3 rounded-lg",children:n.jsx("p",{className:"text-blue-800 text-sm font-medium",children:"ð High turnover costs practices $200K+ annually in recruitment and training"})})]})})}),n.jsx(E.div,{variants:l,children:n.jsx(te,{className:"h-full p-6 bg-gradient-to-br from-purple-50 to-pink-50 border-purple-200",children:n.jsxs(ne,{className:"p-0",children:[n.jsxs("div",{className:"flex items-start gap-4 mb-4",children:[n.jsx("div",{className:"flex-shrink-0 p-3 rounded-lg bg-purple-100 border border-purple-200",children:n.jsx(ar,{className:"h-6 w-6 text-purple-600"})}),n.jsxs("div",{children:[n.jsx("h3",{className:"text-lg font-bold text-gray-900 mb-2",children:"HIPAA Compliance Risks"}),n.jsx("p",{className:"text-gray-700 text-sm",children:"Manual processes increase r
105isk of HIPAA violations. Poor documentation, unsecured messages, and human errors can result in $50,000+ fines and reputation damage."})]})]}),n.jsx("div",{className:"bg-purple-100/50 p-3 rounded-lg",children:n.jsx("p",{className:"text-purple-800 text-sm font-medium",children:"âï¸ HIPAA violations cost healthcare practices average $2.2M in fines and penalties"})})]})})})]})]})}),n.jsx(E.section,{className:"container mx-auto px-6 py-16",variants:a,initial:"hidden",whileInView:"visible",viewport:{once:!0},children:n.jsxs("div",{className:"max-w-6xl mx-auto",children:[n.jsxs(E.div,{variants:l,className:"text-center mb-12",children:[n.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-foreground mb-4",children:"CallLive.ai: HIPAA-Compliant Healthcare Solution"}),n.jsx("p",{className:"text-xl text-muted-foreground max-w-3xl mx-auto",children:"Eliminate missed calls, reduce no-shows, and provide 24/7 patient support with AI voice agents trained specifically for healthcare workflows."})]}),n.jsxs("div",{className:"grid md:grid-cols-2 lg:grid-cols-4 gap-6",children:[n.jsx(E.div,{variants:l,children:n.jsx(te,{className:"h-full bg-gradient-to-br from-green-50 to-green-100/50 border-green-200 hover:shadow-lg transition-shadow",children:n.jsxs(ne,{className:"p-6 text-center",children:[n.jsx("div",{className:"w-12 h-12 bg-green-500 rounded-full flex items-center justify-center mx-auto mb-4",children:n.jsx(rn,{className:"h-6 w-6 text-white"})}),n.jsx("h3",{className:"font-bold text-green-700 mb-2",children:"1.5 Second Response"}),n.jsx("p",{className:"text-sm text-green-600",children:"Never miss urgent patient calls"})]})})}),n.jsx(E.div,{variants:l,children:n.jsx(te,{className:"h-full bg-gradient-to-br from-blue-50 to-blue-100/50 border-blue-200 hover:shadow-lg transition-shadow",children:n.jsxs(ne,{className:"p-6 text-center",children:[n.jsx("div",{className:"w-12 h-12 bg-blue-500 rounded-full flex items-center justify-center mx-auto mb-4",children:n.jsx(ar,{className:"h-6 w-6 text-white"})}),n.jsx("h3",{className:"font-bold text-blue-700 mb-2",children:"HIPAA Compliant"}),n.jsx("p",{className:"text-sm text-blue-600",children:"Full patient data protection"})]})})}),n.jsx(E.div,{variants:l,children:n.jsx(te,{className:"h-full bg-gradient-to-br from-purple-50 to-purple-100/50 border-purple-200 hover:shadow-lg transition-shadow",children:n.jsxs(ne,{className:"p-6 text-center",children:[n.jsx("div",{className:"w-12 h-12 bg-purple-500 rounded-full flex items-center justify-center mx-auto mb-4",children:n.jsx(_g,{className:"h-6 w-6 text-white"})}),n.jsx("h3",{className:"font-bold text-purple-700 mb-2",children:"Medical Accuracy"}),n.jsx("p",{className:"text-sm text-purple-600",children:"Trained on medical protocols"})]})})}),n.jsx(E.div,{variants:l,children:n.jsx(te,{className:"h-full bg-gradient-to-br from-indigo-50 to-indigo-100/50 border-indigo-200 hover:shadow-lg transition-shadow",children:n.jsxs(ne,{className:"p-6 text-center",children:[n.jsx("div",{className:"w-12 h-12 bg-indigo-500 rounded-full flex items-center justify-center mx-auto mb-4",children:n.jsx(Rt,{className:"h-6 w-6 text-white"})}),n.jsx("h3",{className:"font-bold text-indigo-700 mb-2",children:"24/7 Availability"}),n.jsx("p",{className:"text-sm text-indigo-600",children:"Round-the-clock patient support"})]})})})]})]})}),n.jsx(E.section,{className:"container mx-auto px-6 py-16 bg-gradient-to-r from-muted/20 to-muted/10",variants:a,initial:"hidden",whileInView:"visible",viewport:{once:!0},children:n.jsxs("div",{className:"max-w-6xl mx-auto",children:[n.jsxs(E.div,{variants:l,className:"text-center mb-12",children:[n.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-foreground mb-4",children:"Healthcare AI Use Cases"}),n.jsx("p",{className:"text-xl text-muted-foreground max-w-3xl mx-auto",children:"See how CallLive.ai transforms every aspect of patient communication and care coordination."})]}),n.jsxs("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-8",children:[n.jsx(E.div,{variants:l,children:n.jsx(te,{className:"h-full p-6 bg-white border-2 border-blue-100 hover:border-blue-200 transition-colors",children:n.jsxs(ne,{className:"p-0",children:[n.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[n.jsx(_t,{className:"h-8 w-8 text-blue-600"}),n.jsx("h3",{className:"text-lg font-bold text-gray-900",children:"Smart Ap
105pointment Scheduling"})]}),n.jsx("p",{className:"text-gray-600 mb-4 text-sm leading-relaxed",children:"AI agents check real-time availability, verify insurance, handle rescheduling, and send automated confirmations. Reduces scheduling errors by 95% and eliminates double-bookings."}),n.jsxs("div",{className:"flex items-center gap-2 text-sm",children:[n.jsx(Ie,{className:"h-4 w-4 text-green-600"}),n.jsx("span",{className:"text-green-700 font-medium",children:"65% reduction in no-shows"})]})]})})}),n.jsx(E.div,{variants:l,children:n.jsx(te,{className:"h-full p-6 bg-white border-2 border-red-100 hover:border-red-200 transition-colors",children:n.jsxs(ne,{className:"p-0",children:[n.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[n.jsx(wl,{className:"h-8 w-8 text-red-600"}),n.jsx("h3",{className:"text-lg font-bold text-gray-900",children:"Emergency Triage"})]}),n.jsx("p",{className:"text-gray-600 mb-4 text-sm leading-relaxed",children:"Instantly identifies emergency situations and escalates appropriately. Routes urgent calls to on-call staff while documenting all interactions for medical records and follow-up care."}),n.jsxs("div",{className:"flex items-center gap-2 text-sm",children:[n.jsx(Ie,{className:"h-4 w-4 text-green-600"}),n.jsx("span",{className:"text-green-700 font-medium",children:"100% emergency call routing accuracy"})]})]})})}),n.jsx(E.div,{variants:l,children:n.jsx(te,{className:"h-full p-6 bg-white border-2 border-green-100 hover:border-green-200 transition-colors",children:n.jsxs(ne,{className:"p-0",children:[n.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[n.jsx(l4,{className:"h-8 w-8 text-green-600"}),n.jsx("h3",{className:"text-lg font-bold text-gray-900",children:"Prescription Management"})]}),n.jsx("p",{className:"text-gray-600 mb-4 text-sm leading-relaxed",children:"Handles routine prescription refills, checks medication availability, and provides general medication information. All requests properly documented and routed to medical staff for approval."}),n.jsxs("div",{className:"flex items-center gap-2 text-sm",children:[n.jsx(Ie,{className:"h-4 w-4 text-green-600"}),n.jsx("span",{className:"text-green-700 font-medium",children:"80% faster prescription processing"})]})]})})}),n.jsx(E.div,{variants:l,children:n.jsx(te,{className:"h-full p-6 bg-white border-2 border-purple-100 hover:border-purple-200 transition-colors",children:n.jsxs(ne,{className:"p-0",children:[n.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[n.jsx(GP,{className:"h-8 w-8 text-purple-600"}),n.jsx("h3",{className:"text-lg font-bold text-gray-900",children:"Insurance Verification"})]}),n.jsx("p",{className:"text-gray-600 mb-4 text-sm leading-relaxed",children:"Automatically verifies patient insurance, checks coverage details, and confirms benefits. Reduces claim denials and ensures proper authorization before treatment."}),n.jsxs("div",{className:"flex items-center gap-2 text-sm",children:[n.jsx(Ie,{className:"h-4 w-4 text-green-600"}),n.jsx("span",{className:"text-green-700 font-medium",children:"90% reduction in claim denials"})]})]})})}),n.jsx(E.div,{variants:l,children:n.jsx(te,{className:"h-full p-6 bg-white border-2 border-orange-100 hover:border-orange-200 transition-colors",children:n.jsxs(ne,{className:"p-0",children:[n.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[n.jsx(w4,{className:"h-8 w-8 text-orange-600"}),n.jsx("h3",{className:"text-lg font-bold text-gray-900",children:"Patient Follow-Up"})]}),n.jsx("p",{className:"text-gray-600 mb-4 text-sm leading-relaxed",children:"Proactive post-treatment calls to check recovery progress, medication compliance, and satisfaction. Improves patient outcomes and catches complications early."}),n.jsxs("div",{className:"flex items-center gap-2 text-sm",children:[n.jsx(Ie,{className:"h-4 w-4 text-green-600"}),n.jsx("span",{className:"text-green-700 font-medium",children:"40% improvement in patient outcomes"})]})]})})}),n.jsx(E.div,{variants:l,children:n.jsx(te,{className:"h-full p-6 bg-white border-2 border-indigo-100 hover:border-indigo-200 transition-colors",children:n.jsxs(ne,{className:"p-0",children:[n.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[n.jsx(Gt,{className:"h-8 w-8 text-indigo-600"}),n.jsx("h3",{className:"text-lg font-bold text-gray-900",children:"Multilingual Support"})]}),n.jsx("p",{className:"text-gray-600 mb-4 text-sm leading-relaxed",children:"Communicates with patients in 30+ languages including Spanish, Mandarin, Hindi, and Arabic. Understands medical terminology and cultural sensitivities for accurate care."}),n.jsxs("div",{className:"flex items-center gap-2 text-sm",children:[n.jsx(Ie,{className:"h-4 w-4 text-green-600"}),n.jsx("span",{className:"text-green-700 font-medium",children:"100% language barr
105ier elimination"})]})]})})})]})]})}),n.jsx(E.section,{className:"container mx-auto px-6 py-16",variants:a,initial:"hidden",whileInView:"visible",viewport:{once:!0},children:n.jsxs("div",{className:"max-w-6xl mx-auto",children:[n.jsxs(E.div,{variants:l,className:"text-center mb-12",children:[n.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-foreground mb-4",children:"Healthcare Practice ROI Calculator"}),n.jsx("p",{className:"text-xl text-muted-foreground max-w-3xl mx-auto",children:"See exactly how much your practice can save with CallLive.ai healthcare automation."})]}),n.jsxs("div",{className:"grid md:grid-cols-2 gap-8",children:[n.jsx(E.div,{variants:l,children:n.jsx(te,{className:"p-8 bg-gradient-to-br from-red-50 to-orange-50 border-red-200",children:n.jsxs(ne,{className:"p-0",children:[n.jsx("h3",{className:"text-2xl font-bold text-gray-900 mb-6 text-center",children:"Current Healthcare Costs"}),n.jsxs("div",{className:"space-y-4",children:[n.jsxs("div",{className:"flex justify-between items-center py-3 border-b border-red-200",children:[n.jsx("span",{className:"text-gray-700",children:"Reception Staff (2 FTE)"}),n.jsx("span",{className:"font-bold text-red-600",children:"$130,000/year"})]}),n.jsxs("div",{className:"flex justify-between items-center py-3 border-b border-red-200",children:[n.jsx("span",{className:"text-gray-700",children:"No-Shows (30% rate)"}),n.jsx("span",{className:"font-bold text-red-600",children:"$180,000/year"})]}),n.jsxs("div",{className:"flex justify-between items-center py-3 border-b border-red-200",children:[n.jsx("span",{className:"text-gray-700",children:"Missed Calls Revenue"}),n.jsx("span",{className:"font-bold text-red-600",children:"$120,000/year"})]}),n.jsxs("div",{className:"flex justify-between items-center py-3 border-b border-red-200",children:[n.jsx("span",{className:"text-gray-700",children:"Staff Turnover"}),n.jsx("span",{className:"font-bold text-red-600",children:"$50,000/year"})]}),n.jsxs("div",{className:"flex justify-between items-center py-3 pt-4 border-t-2 border-red-300",children:[n.jsx("span",{className:"text-lg font-bold text-gray-900",children:"Total Annual Cost"}),n.jsx("span",{className:"text-2xl font-bold text-red-600",children:"$480,000"})]})]})]})})}),n.jsx(E.div,{variants:l,children:n.jsx(te,{className:"p-8 bg-gradient-to-br from-green-50 to-emerald-50 border-green-200",children:n.jsxs(ne,{className:"p-0",children:[n.jsx("h3",{className:"text-2xl font-bold text-gray-900 mb-6 text-center",children:"With CallLive.ai"}),n.jsxs("div",{className:"space-y-4",children:[n.jsxs("div",{className:"flex justify-between items-center py-3 border-b border-green-200",children:[n.jsx("span",{className:"text-gray-700",children:"CallLive.ai Platform"}),n.jsx("span",{className:"font-bold text-green-600",children:"$6,000/year"})]}),n.jsxs("div",{className:"flex justify-between items-center py-3 border-b border-green-200",children:[n.jsx("span",{className:"text-gray-700",children:"Reduced Staff (1 FTE)"}),n.jsx("span",{className:"font-bold text-green-600",children:"$65,000/year"})]}),n.jsxs("div",{className:"flex justify-between items-center py-3 border-b border-green-200",children:[n.jsx("span",{className:"text-gray-700",children:"No-Shows (10% rate)"}),n.jsx("span",{className:"font-bold text-green-600",children:"$60,000/year"})]}),n.jsxs("div",{className:"flex justify-between items-center py-3 border-b border-green-200",children:[n.jsx("span",{className:"text-gray-700",children:"Zero Missed Calls"}),n.jsx("span",{className:"font-bold text-green-600",children:"$0/year"})]}),n.jsxs("div",{className:"flex justify-between items-center py-3 pt-4 border-t-2 border-green-300",children:[n.jsx("span",{className:"text-lg font-bold text-gray-900",children:"Total Annual Cost"}),n.jsx("span",{className:"text-2xl font-bold text-green-600",children:"$131,000"})]})]})]})})})]}),n.jsx(E.div,{variants:l,className:"text-center mt-8",children:n.jsxs("div",{className:"inline-flex items-center gap-4 p-6 bg-gradient-to-r from-green-100 to-emerald-100 rounded-2xl border-2 border-green-200",children:[n.jsx(Tr,{className:"h-12 w-12 text-green-600"}),n.jsxs("div",{children:[n.jsx("div",{className:"text-3xl font-bold text-green-700",children:"$349,000"}),n.jsx("div",{className:"text-lg text-green-600",children:"Annual Savings"}),n.jsx("div",{className:"text-sm text-green-600",children:"73% cost reduction + ROI
105in 2 months"})]})]})})]})}),n.jsx(E.section,{className:"container mx-auto px-6 py-16 bg-gradient-to-r from-gray-50 to-white",variants:a,initial:"hidden",whileInView:"visible",viewport:{once:!0},children:n.jsxs("div",{className:"max-w-4xl mx-auto",children:[n.jsxs(E.div,{variants:l,className:"text-center mb-12",children:[n.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-foreground mb-4",children:"Healthcare AI Frequently Asked Questions"}),n.jsx("p",{className:"text-xl text-muted-foreground",children:"Get answers to common questions about HIPAA compliance, medical accuracy, and implementation."})]}),n.jsx("div",{className:"space-y-4",children:c.map((f,p)=>n.jsxs(E.div,{variants:l,className:"border border-gray-200 rounded-lg overflow-hidden bg-white",children:[n.jsxs("button",{className:"w-full px-6 py-4 text-left flex justify-between items-center hover:bg-gray-50 transition-colors",onClick:()=>s(r===p?null:p),children:[n.jsx("span",{className:"font-semibold text-gray-900 pr-4",children:f.question}),n.jsx("div",{className:"flex-shrink-0",children:r===p?n.jsx(uo,{className:"h-5 w-5 text-gray-500"}):n.jsx(it,{className:"h-5 w-5 text-gray-500"})})]}),n.jsx(E.div,{initial:!1,animate:{height:r===p?"auto":0,opacity:r===p?1:0},transition:{duration:.3,ease:"easeInOut"},className:"overflow-hidden",children:n.jsx("div",{className:"px-6 pb-4 text-gray-600 leading-relaxed",children:f.answer})})]},p))})]})}),n.jsx(E.section,{className:"container mx-auto px-6 py-20",variants:a,initial:"hidden",whileInView:"visible",viewport:{once:!0},children:n.jsxs(E.div,{variants:l,className:"max-w-4xl mx-auto text-center",children:[n.jsx("h2",{className:"text-3xl md:text-5xl font-bold text-foreground mb-6",children:"Ready to Transform Patient Care?"}),n.jsx("p",{className:"text-xl text-muted-foreground mb-8 max-w-3xl mx-auto",children:"Join healthcare providers saving $150K+ annually while providing better patient care with HIPAA-compliant AI voice agents that never miss a call."}),n.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:[n.jsxs(Ae,{size:"lg",className:"bg-brand-purple hover:bg-brand-purple/90 text-white font-semibold px-12 py-6 text-lg",onClick:()=>t(!0),children:[n.jsx(_t,{className:"h-6 w-6 mr-3"}),"Get HIPAA Compliance Demo"]}),n.jsxs(Ae,{size:"lg",variant:"outline",className:"font-semibold px-12 py-6 text-lg border-indigo-600 text-indigo-600 hover:bg-indigo-50",children:[n.jsx(ut,{className:"h-6 w-6 mr-3"}),"Calculate Your Savings"]})]}),n.jsx("p",{className:"text-sm text-muted-foreground mt-4",children:"HIPAA compliant ⢠30-day money-back guarantee ⢠Professional implementation included"})]})})]}),n.jsx(xn,{}),n.jsx(Vn,{open:e,onOpenChange:t,source:"demo"})]})},f1=()=>{const[e,t]=g.useState(!1),r={hidden:{opacity:0},visible:{opacity:1,transition:{staggerChildren:.1}}},s={hidden:{opacity:0,y:20},visible:{opacity:1,y:0}},a={"@context":"https://schema.org","@type":"Product",name:"CallLive.ai Outbound Sales Dialer",description:"AI outbound dialer that contacts 1000+ leads per hour, qualifies prospects automatically, and converts more sales with 1.5-second response time.",brand:{"@type":"Brand",name:"CallLive.ai"},offers:{"@type":"Offer",availability:"https://schema.org/InStock",priceCurrency:"USD",description:"AI-powered outbound sales automation and lead conversion"},applicationCategory:"AI Sales Automation Software",operatingSystem:"Web-based"},l={"@context":"https://schema.org","@type":"FAQPage",mainEntity:[{"@type":"Question",name:"How fast can AI outbound dialers contact leads?",acceptedAnswer:{"@type":"Answer",text:"CallLive.ai contacts leads within 1.5 seconds of receiving them, dramatically improving conversion rates compared to traditional sales teams that take hours or days to follow up."}},{"@type":"Question",name:"Can AI handle lead qualification and sales conversations?",acceptedAnswer:{"@type":"Answer",text:"Yes â CallLive.ai qualifies leads, handles objections, schedules demos, and transfers qualified prospects to human sales reps with human-like conversations in 1.5 seconds."}}]};return n.jsxs(n.Fragment,{children:[n.jsxs(Kn,{children:[n.jsx("title",{children:"AI Outbound Dialer | Contact 1000+ Leads Per Hour Automatically"}),n.jsx("meta",{name:"description",content:"CallLive.ai outbound sales AI contacts leads in 1.5 seconds with human-like conversations. 24/7 availability with support for 10+ languages and seamless CRM integration."}),n.jsx("meta",{name:"keywords",content:"AI outbound dialer, AI sales assistant, outbound calling automation, lead generation AI, sales automation India, voice AI for sales, automated prospecting"}),n.jsx("link",{rel:"canonical",href:"https://calllive.ai/use-cases/outbound-sales"}),n.jsx("meta",{property:"og:title",content:"AI Outbound Dialer | Contact 1000+ Leads Per Hour Automatically"}),n.jsx("meta",{property:"og:description",content:"CallLive.ai outbound sales AI contacts leads in 1.5 seconds with human-like conversations. 24/7 availability with support for 10+ languages and seamless CRM integration."}),n.jsx("meta",{property:"og:type",content:"website"}),n.jsx("meta",{property:"og:url",content:"https://calllive.ai/use-cases/outbound-sales"}),n.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),n.jsx("meta",{name:"twitter:title",content:"AI Outbound Dialer | Contact 1000+ Leads Per Hour Automatically"}),n.jsx("meta",{name:"twitter:description",content:"CallLive.ai outbound sales AI contacts leads in 1.5 seconds with human-like conversations. 24/7 availability with support for 10+ languages and seamless CRM integration."}),n.jsx("script",{type:"application/ld+json",children:JSON.stringify(a)}),n.jsx("script",{type:"application/ld+json",children:JSON.stringify(l)})]}),n.jsx(gn,{onGetStartedClick:()=>t(!0)}),n.jsxs("main",{className:"min-h-screen bg-gradient-to-br from-background via-muted/30 to-background",children:[n.jsx("div",{className:"container mx-auto px-6 pt-24 pb-4",children:n.jsxs("nav",{className:"flex items-center space-x-2 text-sm text-muted-foreground",children:[n.jsx(Qr,{className:"h-4 w-4"}),n.jsx(it,{className:"h-4 w-4"}),n.jsx("span",{children:"Use Cases"}),n.jsx(it,{className:"h-4 w-4"}),n.jsx("span",{className:"text-foreground font-medium",children:"Outbound Sales"})]})}),n.jsx(E.section,{className:"container mx-auto px-6 py-16",variants:r,initial:"hidden",animate:"visible",children:n.jsxs("div",{className:"max-w-4xl mx-auto text-center",children:[n.jsx(E.div,{variants:s,className:"mb-6",children:n.jsxs("span",{className:"inline-flex items-center px-4 py-2 rounded-full bg-brand-purple/10 text-brand-purple text-sm font-medium border border-brand-purple/20",children:[n.jsx(ut,{className:"h-4 w-4 mr-2"}),"Outbound Sales AI"]})}),n.jsxs(E.h1,{variants:s,className:"text-4xl md:text-6xl font-bold text-foreground mb-6 leading-tight",children:["AI Outbound Dialer â",n.jsxs("span",{className:"bg-gradient-to-r from-brand-purple to-brand-purple-light bg-clip-text text-transparent",children:[" ","Contact Leads in 1.5 Seconds"]})]}),n.jsxs(E.p,{variants:s,className:"text-xl text-muted-foreground mb-8 max-w-3xl mx-auto leading-relaxed",children:["In outbound sales, ",n.jsx("strong",{children:"speed-to-lead determines everything"}),". While your competitors take hours or days to call back leads, CallLive.ai contacts prospects within ",n.jsx("strong",{children:"1.5 seconds"}),". Our AI outbound dialers provide human-like conversations in 10+ languages, available 24/7 with seamless CRM integration for automatic lead qualification and appointment setting."]}),n.jsxs(E.div,{variants:s,className:"flex flex-col sm:flex-row gap-4 justify-center",children:[n.jsxs(Ae,{size:"lg",className:"bg-brand-purple hover:bg-brand-purple/90 text-white font-semibold px-8 py-4",onClick:()=>t(!0),children:[n.jsx(_t,{className:"h-5 w-5 mr-2"}),"Book Sales Demo"]}),n.jsxs(Ae,{size:"lg",variant:"outline",className:"font-semibold px-8 py-4",children:[n.jsx(ri,{className:"h-5 w-5 mr-2"}),"Try Live Demo"]})]})]})}),n.jsx(E.section,{className:"container mx-auto px-6 py-16",variants:r,initial:"hidden",
105whileInView:"visible",viewport:{once:!0},children:n.jsxs("div",{className:"max-w-6xl mx-auto",children:[n.jsxs(E.div,{variants:s,className:"text-center mb-12",children:[n.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-foreground mb-4",children:"The Speed-to-Lead Crisis in Sales"}),n.jsx("p",{className:"text-xl text-muted-foreground max-w-3xl mx-auto",children:"Modern buyers have multiple options. The company that responds fastest gets the sale. The rest get nothing."})]}),n.jsxs("div",{className:"grid md:grid-cols-3 gap-8",children:[n.jsx(E.div,{variants:s,children:n.jsx(te,{className:"h-full bg-gradient-to-br from-red-50 to-red-100/50 border-red-200",children:n.jsx(ne,{className:"p-8",children:n.jsxs("div",{className:"text-center",children:[n.jsx("div",{className:"w-16 h-16 bg-red-500 rounded-full flex items-center justify-center mx-auto mb-4",children:n.jsx(Rt,{className:"h-8 w-8 text-white"})}),n.jsx("h3",{className:"text-2xl font-bold text-red-700 mb-2",children:"5 Minutes"}),n.jsx("p",{className:"text-red-600 font-medium mb-3",children:"Lead Response Time Requirement"}),n.jsx("p",{className:"text-sm text-red-600/80",children:"After 5 minutes, lead quality drops 80%"})]})})})}),n.jsx(E.div,{variants:s,children:n.jsx(te,{className:"h-full bg-gradient-to-br from-orange-50 to-orange-100/50 border-orange-200",children:n.jsx(ne,{className:"p-8",children:n.jsxs("div",{className:"text-center",children:[n.jsx("div",{className:"w-16 h-16 bg-orange-500 rounded-full flex items-center justify-center mx-auto mb-4",children:n.jsx(Dn,{className:"h-8 w-8 text-white"})}),n.jsx("h3",{className:"text-2xl font-bold text-orange-700 mb-2",children:"3-6 Hours"}),n.jsx("p",{className:"text-orange-600 font-medium mb-3",children:"Average Sales Team Response"}),n.jsx("p",{className:"text-sm text-orange-600/80",children:"By then, competitors have already won"})]})})})}),n.jsx(E.div,{variants:s,children:n.jsx(te,{className:"h-full bg-gradient-to-br from-red-50 to-red-100/50 border-red-200",children:n.jsx(ne,{className:"p-8",children:n.jsxs("div",{className:"text-center",children:[n.jsx("div",{className:"w-16 h-16 bg-red-500 rounded-full flex items-center justify-center mx-auto mb-4",children:n.jsx(xu,{className:"h-8 w-8 text-white"})}),n.jsx("h3",{className:"text-2xl font-bold text-red-700 mb-2",children:"78%"}),n.jsx("p",{className:"text-red-600 font-medium mb-3",children:"Leads Buy From First Responder"}),n.jsx("p",{className:"text-sm text-red-600/80",children:"Speed-to-lead wins deals"})]})})})})]})]})}),n.jsx(E.section,{className:"container mx-auto px-6 py-16 bg-gradient-to-r from-muted/20 to-muted/10",variants:r,initial:"hidden",whileInView:"visible",viewport:{once:!0},children:n.jsxs("div",{className:"max-w-6xl mx-auto",children:[n.jsxs(E.div,{variants:s,className:"text-center mb-12",children:[n.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-foreground mb-4",children:"CallLive.ai Outbound Sales AI"}),n.jsx("p",{className:"text-xl text-muted-foreground max-w-3xl mx-auto",children:"Be first to market with AI that contacts, qualifies, and converts leads faster than any human sales team ever could."})]}),n.jsxs("div",{className:"grid md:grid-cols-2 lg:grid-cols-4 gap-8",children:[n.jsx(E.div,{variants:s,children:n.jsx(te,{className:"h-full bg-gradient-to-br from-green-50 to-green-100/50 border-green-200 hover:shadow-lg transition-shadow",children:n.jsx(ne,{className:"p-6",children:n.jsxs("div",{className:"text-center",children:[n.jsx("div",{className:"w-12 h-12 bg-green-500 rounded-full flex items-center justify-center mx-auto mb-4",children:n.jsx(rn,{className:"h-6 w-6 text-white"})}),n.jsx("h3",{className:"font-bold text-green-700 mb-2",children:"1.5 Second Contact"}),n.jsx("p",{className:"text-sm text-green-600",children:"Instant lead contact upon CRM entry"})]})})})}),n.jsx(E.div,{variants:s,children:n.jsx(te,{className:"h-full bg-gradient-to-br from-brand-purple/5 to-brand-purple/10 border-brand-purple/20 hover:shadow-lg transition-shadow",children:n.jsx(ne,{className:"p-6",children:n.jsxs("div",{className:"text-center",children:[n.jsx("div",{className:"w-12 h-12 bg-brand-purple roun
105ded-full flex items-center justify-center mx-auto mb-4",children:n.jsx(ut,{className:"h-6 w-6 text-white"})}),n.jsx("h3",{className:"font-bold text-brand-purple mb-2",children:"1000+ Leads/Hour"}),n.jsx("p",{className:"text-sm text-brand-purple/80",children:"Scale outbound calling infinitely"})]})})})}),n.jsx(E.div,{variants:s,children:n.jsx(te,{className:"h-full bg-gradient-to-br from-brand-purple-light/20 to-brand-purple-light/30 border-brand-purple-light/30 hover:shadow-lg transition-shadow",children:n.jsx(ne,{className:"p-6",children:n.jsxs("div",{className:"text-center",children:[n.jsx("div",{className:"w-12 h-12 bg-brand-purple-light rounded-full flex items-center justify-center mx-auto mb-4",children:n.jsx(xu,{className:"h-6 w-6 text-white"})}),n.jsx("h3",{className:"font-bold text-brand-purple-light mb-2",children:"Auto Qualification"}),n.jsx("p",{className:"text-sm text-brand-purple-light/80",children:"BANT criteria and lead scoring"})]})})})}),n.jsx(E.div,{variants:s,children:n.jsx(te,{className:"h-full bg-gradient-to-br from-brand-purple/10 to-brand-purple/15 border-brand-purple/25 hover:shadow-lg transition-shadow",children:n.jsx(ne,{className:"p-6",children:n.jsxs("div",{className:"text-center",children:[n.jsx("div",{className:"w-12 h-12 bg-brand-purple rounded-full flex items-center justify-center mx-auto mb-4",children:n.jsx(ys,{className:"h-6 w-6 text-white"})}),n.jsx("h3",{className:"font-bold text-brand-purple mb-2",children:"Objection Handling"}),n.jsx("p",{className:"text-sm text-brand-purple/80",children:"AI handles common sales objections"})]})})})})]})]})}),n.jsx(E.section,{className:"container mx-auto px-6 py-16",variants:r,initial:"hidden",whileInView:"visible",viewport:{once:!0},children:n.jsxs("div",{className:"max-w-6xl mx-auto",children:[n.jsxs(E.div,{variants:s,className:"text-center mb-12",children:[n.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-foreground mb-4",children:"Proven Results with CallLive.ai Outbound Sales AI"}),n.jsx("p",{className:"text-xl text-muted-foreground max-w-3xl mx-auto",children:"CallLive.ai outbound sales AI delivers instant 1.5-second response times, human-like conversations, and 24/7 availability across 10+ languages."})]}),n.jsxs("div",{className:"grid md:grid-cols-2 gap-8 mb-12",children:[n.jsx(E.div,{variants:s,children:n.jsx(te,{className:"h-full bg-gradient-to-br from-emerald-50 to-emerald-100/50 border-emerald-200",children:n.jsx(ne,{className:"p-8",children:n.jsxs("div",{className:"flex items-start space-x-4",children:[n.jsx("div",{className:"w-12 h-12 bg-emerald-500 rounded-full flex items-center justify-center flex-shrink-0",children:n.jsx(Tr,{className:"h-6 w-6 text-white"})}),n.jsxs("div",{children:[n.jsx("h3",{className:"text-xl font-bold text-emerald-700 mb-2",children:"Higher Conversion Rates"}),n.jsxs("ul",{className:"space-y-2 text-emerald-600",children:[n.jsxs("li",{className:"flex items-center",children:[n.jsx(Ie,{className:"h-4 w-4 mr-2 flex-shrink-0"})," Instant 1.5-second response time"]}),n.jsxs("li",{className:"flex items-center",children:[n.jsx(Ie,{className:"h-4 w-4 mr-2 flex-shrink-0"})," Human-like sales conversations"]}),n.jsxs("li",{className:"flex items-center",children:[n.jsx(Ie,{className:"h-4 w-4 mr-2 flex-shrink-0"})," Consistent follow-up sequences"]})]})]})]})})})}),n.jsx(E.div,{variants:s,children:n.jsx(te,{className:"h-full bg-gradient-to-br from-brand-purple/5 to-brand-purple/10 border-brand-purple/20",children:n.jsx(ne,{className:"p-8",children:n.jsxs("div",{className:"flex items-start space-x-4",children:[n.jsx("div",{className:"w-12 h-12 bg-brand-purple rounded-full flex items-center justify-center flex-shrink-0",children:n.jsx(jp,{className:"h-6 w-6 text-white"})}),n.jsxs("div",{children:[n.jsx("h3",{className:"text-xl font-bold text-brand-purple mb-2",children:"Massive Scale"}),n.jsxs("ul",{className:"space-y-2 text-blue-600",children:[n.jsxs("li",{className:"flex items-center",children:[n.jsx(Ie,{className:"h-4 w-4 mr-2 flex-shrink-0"})," Contact 1000+ leads per hour"]}),n.jsxs("li",{className:"flex items-center",children:[n.jsx(Ie,{className:"h-4 w-4 mr-2 flex-shrink-0"})," No daily call limits"]}),n.jsxs("li",{className:"flex items-center",children:[n.jsx(Ie,{className:"h-4 w-4 mr-2 flex-shrink-0"})," Global timezone coverage"]})]})]})]})})})}),n.jsx(E.div,{variants:s,children:n.jsx(te,{className:"h-full bg-gradient-to-br from-purple-50 to-purple-100/50 border-purple-200",children:n.jsx(ne,{className:"p-8",children:n.jsxs("div",{className:"flex items-start space-x-4",children:[n.jsx("div",{className:"w-12 h-12 bg-purple-500 rounded-full flex items-center justify-center flex-shrink-0",children:n.jsx(Dn,{className:"h-6 w-6 text-white"})}),n.jsxs("div",{children:[n.jsx("h3",{className:"text-xl font-bold text-purple-700 mb-2",children:"Sales Team Optimization"}),n.jsxs("ul",{className:"space-y-2 text-purple-600",children:[n.jsxs("li",{className:"flex items-center",children:[n.jsx(Ie,{className:"h-4 w-4 mr-2 flex-shrink-0"})," Reps focus on qualified leads only"]}),n.jsxs("li",{className:"flex items-center",children:[n.jsx(Ie,{className:"h-4 w-4 mr-2 flex-shrink-0"})," AI handles initial qualification"]}),n.jsxs("li",{className:"flex items-center",children:[n.jsx(Ie,{className:"h-4 w-4 mr-2 flex-shrink-0"})," Increased per-rep productivity"]})]})]})]})})})}),n.jsx(E.div,{variants:s,children:n.jsx(te,{className:"h-full bg-gradient-to-br from-orange-50 to-orange-100/50 border-orange-200",children:n.jsx(ne,{className:"p-8",children:n.jsxs("div",{className:"flex items-start space-x-4",children:[n.jsx("div",{className:"w-12 h-12 bg-orange-500 rounded-full flex items-center justify-center flex-shrink-0",children:n.jsx(Za,{className:"h-6 w-6 text-white"})}),n.jsxs("div",{children:[n.jsx("h3",{className:"text-xl font-bold text-orange-700 mb-2",children:"Cost Efficiency"}),n.jsxs("ul",{className:"space-y-2 text-orange-600",children:[n.jsxs("li",{className:"flex items-center",children:[n.jsx(Ie,{className:"h-4 w-4 mr-2 flex-shrink-0"})," Cost-effective solution"]}),n.jsxs("li",{className:"flex items-center",children:[n.jsx(Ie,{className:"h-4 w-4 mr-2 flex-shrink-0"})," No recruiting or training needed"]}),n.jsxs("li",{className:"flex items-center",children:[n.jsx(Ie,{className:"h-4 w-4 mr-2 flex-shrink-0"})," Contact for custom pricing"]})]})]})]})})})})]})]})}),n.jsx(E.section,{className:"container mx-auto px-6 py-16 bg-gradient-to-r from-muted/20 to-muted/10",variants:r,initial:"hidden",
105whileInView:"visible",viewport:{once:!0},children:n.jsxs("div",{className:"max-w-4xl mx-auto",children:[n.jsxs(E.div,{variants:s,className:"text-center mb-12",children:[n.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-foreground mb-4",children:"Transform Your Outbound Sales Process"}),n.jsx("p",{className:"text-xl text-muted-foreground",children:"Get started with AI-powered outbound sales automation"})]}),n.jsx(E.div,{variants:s,children:n.jsx(te,{className:"bg-gradient-to-br from-brand-purple/5 to-brand-purple/10 border-brand-purple/20",children:n.jsx(ne,{className:"p-8",children:n.jsxs("div",{className:"text-center",children:[n.jsx("div",{className:"w-20 h-20 bg-brand-purple rounded-full flex items-center justify-center mx-auto mb-6",children:n.jsx(jp,{className:"h-10 w-10 text-white"})}),n.jsx("h3",{className:"text-2xl font-bold text-foreground mb-4",children:'"Ready to Scale Your Outbound Sales?"'}),n.jsx("p",{className:"text-lg text-muted-foreground mb-6 leading-relaxed",children:"CallLive.ai's human-like AI voice agents can handle unlimited outbound sales calls with 1.5-second response times, 24/7 availability, and multilingual support. The AI qualifies prospects and books demos directly into your sales calendar."}),n.jsxs("div",{className:"grid md:grid-cols-3 gap-6 mb-6",children:[n.jsxs("div",{className:"text-center",children:[n.jsx("div",{className:"text-3xl font-bold text-brand-purple mb-1",children:"1.5s"}),n.jsx("div",{className:"text-sm text-muted-foreground",children:"Response Time"})]}),n.jsxs("div",{className:"text-center",children:[n.jsx("div",{className:"text-3xl font-bold text-brand-purple mb-1",children:"24/7"}),n.jsx("div",{className:"text-sm text-muted-foreground",children:"Availability"})]}),n.jsxs("div",{className:"text-center",children:[n.jsx("div",{className:"text-3xl font-bold text-brand-purple mb-1",children:"10+"}),n.jsx("div",{className:"text-sm text-muted-foreground",children:"Languages"})]})]}),n.jsx("p",{className:"text-sm text-muted-foreground italic",children:"Start automating your outbound sales process today. Let AI handle prospecting while your team focuses on closing deals."})]})})})})]})}),n.jsx(E.section,{className:"container mx-auto px-6 py-20",variants:r,initial:"hidden",whileInView:"visible",viewport:{once:!0},children:n.jsxs(E.div,{variants:s,className:"max-w-4xl mx-auto text-center",children:[n.jsx("h2",{className:"text-3xl md:text-5xl font-bold text-foreground mb-6",children:"Ready to Win the Speed-to-Lead Race?"}),n.jsx("p",{className:"text-xl text-muted-foreground mb-8 max-w-3xl mx-auto",children:"Stop losing deals to faster competitors. Join industry leaders who trust CallLive.ai to contact and convert more leads than ever before."}),n.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:[n.jsxs(Ae,{size:"lg",className:"bg-brand-purple hover:bg-brand-purple/90 text-white font-semibold px-12 py-6 text-lg",onClick:()=>t(!0),children:[n.jsx(_t,{className:"h-6 w-6 mr-3"}),"Book Sales Demo"]}),n.jsxs(Ae,{size:"lg",variant:"outline",className:"font-semibold px-12 py-6 text-lg border-indigo-600 text-indigo-600 hover:bg-indigo-50",children:[n.jsx(ut,{className:"h-6 w-6 mr-3"}),"Try AI Dialer Now"]})]}),n.jsx("p",{className:"text-sm text-muted-foreground mt-4",children:"Contact for pricing ⢠Custom solutions ⢠Enterprise-grade security"})]})})]}),n.jsx(xn,{}),n.jsx(Vn,{open:e,onOpenChange:t,source:"demo"})]})},h1=()=>{const[e,t]=g.useState(!1),r={hidden:{opacity:0},visible:{opacity:1,transition:{staggerChildren:.1}}},s={hidden:{opacity:0,y:20},visible:{opacity:1,y:0}},a={"@context":"https://schema.org","@type":"SoftwareApplication",name:"CallLive.ai AI Outbound Dialer",description:"Advanced AI outbound dialer that contacts 1000+ leads per hour with human-like conversations, automatic lead qualification, and intelligent call routing.",applicationCategory:"BusinessApplication",operatingSystem:"Web-based",offers:{"@type":"Offer",price:"Contact for pricing",priceCurrency:"USD"},featureList:["Contact 1000+ leads per hour","Intelligent lead qualification","Multi-language support","Real-time analytics","CRM integration","Conversation AI"]};return n.jsxs(n.Fragment,{children:[n.jsxs(Kn,{children:[n.jsx("title",{children:"AI Outbound Dialer | Contact 1000+ Leads Per Hour Automatically"}),n.jsx("meta",{name:"description",content:"CallLive.ai AI outbound dialer revolutionizes sales outreach. Contact 1000+ leads per hour with intelligent qualification, multi-language support, and seamless CRM integration."}),n.jsx("meta",{name:"keywords",content:"AI outbound dialer, automated calling system, sales automation, lead generation software, outbound calling India, AI sales dialer, voice AI outbound"}),n.jsx("link",{rel:"canonical",href:"https://calllive.ai/features/ai-outboun
105d-dialer"}),n.jsx("script",{type:"application/ld+json",children:JSON.stringify(a)})]}),n.jsx(gn,{onGetStartedClick:()=>t(!0)}),n.jsxs("main",{className:"min-h-screen bg-gradient-to-br from-background via-muted/30 to-background",children:[n.jsx("div",{className:"container mx-auto px-6 pt-24 pb-4",children:n.jsxs("nav",{className:"flex items-center space-x-2 text-sm text-muted-foreground",children:[n.jsx(Qr,{className:"h-4 w-4"}),n.jsx(it,{className:"h-4 w-4"}),n.jsx("span",{children:"Features"}),n.jsx(it,{className:"h-4 w-4"}),n.jsx("span",{className:"text-foreground font-medium",children:"AI Outbound Dialer"})]})}),n.jsx(E.section,{className:"container mx-auto px-6 py-16",variants:r,initial:"hidden",animate:"visible",children:n.jsxs("div",{className:"max-w-4xl mx-auto text-center",children:[n.jsx(E.div,{variants:s,className:"mb-6",children:n.jsxs("span",{className:"inline-flex items-center px-4 py-2 rounded-full bg-brand-purple/10 text-brand-purple text-sm font-medium border border-brand-purple/20",children:[n.jsx(ut,{className:"h-4 w-4 mr-2"}),"AI Outbound Technology"]})}),n.jsxs(E.h1,{variants:s,className:"text-4xl md:text-6xl font-bold text-foreground mb-6 leading-tight",children:["AI Outbound Dialer â",n.jsxs("span",{className:"bg-gradient-to-r from-brand-purple to-brand-purple-light bg-clip-text text-transparent",children:[" ","Contact 1000+ Leads Per Hour"]})]}),n.jsx(E.p,{variants:s,className:"text-xl text-muted-foreground mb-8 max-w-3xl mx-auto leading-relaxed",children:"Transform your outbound sales with AI that never stops calling. Our intelligent dialer contacts thousands of leads per hour, qualifies prospects automatically, and connects only the best opportunities to your sales team. Scale your outbound efforts infinitely while maintaining human-quality conversations."}),n.jsxs(E.div,{variants:s,className:"flex flex-col sm:flex-row gap-4 justify-center",children:[n.jsxs(Ae,{size:"lg",className:"bg-brand-purple hover:bg-brand-purple/90 text-white font-semibold px-8 py-4",onClick:()=>t(!0),children:[n.jsx(_t,{className:"h-5 w-5 mr-2"}),"Book Demo"]}),n.jsxs(Ae,{size:"lg",variant:"outline",className:"font-semibold px-8 py-4",children:[n.jsx(ri,{className:"h-5 w-5 mr-2"}),"Try Live Demo"]})]})]})}),n.jsx(E.section,{className:"container mx-auto px-6 py-16 bg-gradient-to-r from-muted/20 to-muted/10",variants:r,initial:"hidden",whileInView:"visible",viewport:{once:!0},children:n.jsxs("div",{className:"max-w-6xl mx-auto",children:[n.jsxs(E.div,{variants:s,className:"text-center mb-12",children:[n.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-foreground mb-4",children:"Key Features"}),n.jsx("p",{className:"text-xl text-muted-foreground max-w-3xl mx-auto",children:"Advanced AI capabilities designed to maximize your outbound success"})]}),n.jsxs("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-8",children:[n.jsx(E.div,{variants:s,children:n.jsx(te,{className:"h-full bg-gradient-to-br from-green-50 to-green-100/50 border-green-200 hover:shadow-lg transition-shadow",children:n.jsx(ne,{className:"p-8",children:n.jsxs("div",{className:"flex items-start space-x-4",children:[n.jsx("div",{className:"w-12 h-12 bg-green-500 rounded-full flex items-center justify-center flex-shrink-0",children:n.jsx(rn,{className:"h-6 w-6 text-white"})}),n.jsxs("div",{children:[n.jsx("h3",{className:"text-xl font-bold text-green-700 mb-2",children:"Lightning Fast"}),n.jsx("p",{className:"text-green-600",children:"Contact 1000+ leads per hour with simultaneous calling capabilities"})]})]})})})}),n.jsx(E.div,{variants:s,children:n.jsx(te,{className:"h-full bg-gradient-to-br from-blue-50 to-blue-100/50 border-blue-200 hover:shadow-lg transition-shadow",children:n.jsx(ne,{className:"p-8",children:n.jsxs("div",{className:"flex items-start space-x-4",children:[n.jsx("div",{className:"w-12 h-12 bg-blue-500 rounded-full flex items-center justify-center flex-shrink-0",children:n.jsx(xu,{className:"h-6 w-6 text-white"})}),n.jsxs("div",{children:[n.jsx("h3",{className:"text-xl font-bold text-blue-700 mb-2",children:"Smart Qualification"}),n.jsx("p",{className:"text-blue-600",children:"AI automatically qualifies leads using BANT criteria and custom scoring"})]})]})})})}),n.jsx(E.div,{variants:s,children:n.jsx(te,{className:"h-full bg-gradient-to-br from-purple-50 to-purple-100/50 border-purple-200 hover:shadow-lg transition-shadow",children:n.jsx(ne,{className:"p-8",children:n.jsxs("div",{className:"flex items-start space-x-4",children:[n.jsx("div",{className:"w-12 h-12 bg-purple-500 rounded-full flex items-center justify-center flex-shrink-0",children:n.jsx(Y1,{className:"h-6 w-6 text-white"})}),n.jsxs("div",{children:[n.jsx("h3",{className:"text-xl font-bold text-purple-700 mb-2",children:"CRM Integration"}),n.jsx("p",{className:"text-purple-600",children:"Seamless integration with all major CRM platforms and databases"})]})]})})})}),n.jsx(E.div,{variants:s,children:n.jsx(te,{className:"h-full bg-gradient-to-br from-orange-50 to-orange-100/50 border-orange-200 hover:shadow-lg transition-shadow",children:n.jsx(ne,{className:"p-8",children:n.jsxs("div",{className:"flex items-start space-x-4",children:[n.jsx("div",{className:"w-12 h-12 bg-orange-500 rounded-full flex items-center justify-center flex-shrink-0",children:n.jsx(jp,{className:"h-6 w-6 text-white"})}),n.jsxs("div",{children:[n.jsx("h3",{className:"text-xl font-bold text-orange-700 mb-2",children:"Real-time Analytics"}),n.jsx("p",{className:"text-orange-600",children:"Live dashboards with call metrics, conversion rates, and performance insights"})]})]})})})}),n.jsx(E.div,{variants:s,children:n.jsx(te,{className:"h-full bg-gradient-to-br from-brand-purple/5 to-brand-purple/10 border-brand-purple/20 hover:shadow-lg transition-shadow",children:n.jsx(ne,{className:"p-8",children:n.jsxs("div",{className:"flex items-start space-x-4",children:[n.jsx("div",{className:"w-12 h-12 bg-brand-purple roun
105ded-full flex items-center justify-center flex-shrink-0",children:n.jsx(Gt,{className:"h-6 w-6 text-white"})}),n.jsxs("div",{children:[n.jsx("h3",{className:"text-xl font-bold text-brand-purple mb-2",children:"Multi-language"}),n.jsx("p",{className:"text-brand-purple/80",children:"Support for 10+ languages and regional dialects worldwide"})]})]})})})}),n.jsx(E.div,{variants:s,children:n.jsx(te,{className:"h-full bg-gradient-to-br from-teal-50 to-teal-100/50 border-teal-200 hover:shadow-lg transition-shadow",children:n.jsx(ne,{className:"p-8",children:n.jsxs("div",{className:"flex items-start space-x-4",children:[n.jsx("div",{className:"w-12 h-12 bg-teal-500 rounded-full flex items-center justify-center flex-shrink-0",children:n.jsx(u4,{className:"h-6 w-6 text-white"})}),n.jsxs("div",{children:[n.jsx("h3",{className:"text-xl font-bold text-teal-700 mb-2",children:"Custom Scripts"}),n.jsx("p",{className:"text-teal-600",children:"AI adapts to your custom scripts and talking points dynamically"})]})]})})})})]})]})}),n.jsx(E.section,{className:"container mx-auto px-6 py-16",variants:r,initial:"hidden",whileInView:"visible",viewport:{once:!0},children:n.jsxs("div",{className:"max-w-6xl mx-auto",children:[n.jsxs(E.div,{variants:s,className:"text-center mb-12",children:[n.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-foreground mb-4",children:"Benefits"}),n.jsx("p",{className:"text-xl text-muted-foreground max-w-3xl mx-auto",children:"Measurable impact on your sales performance and bottom line"})]}),n.jsxs("div",{className:"grid md:grid-cols-2 gap-8",children:[n.jsx(E.div,{variants:s,children:n.jsx(te,{className:"h-full bg-gradient-to-br from-emerald-50 to-emerald-100/50 border-emerald-200",children:n.jsxs(ne,{className:"p-8",children:[n.jsxs("div",{className:"text-center mb-6",children:[n.jsx("div",{className:"text-4xl font-bold text-emerald-600 mb-2",children:"10x"}),n.jsx("div",{className:"text-lg font-semibold text-emerald-700",children:"More Lead Contact"})]}),n.jsxs("ul",{className:"space-y-2 text-emerald-600",children:[n.jsxs("li",{className:"flex items-center",children:[n.jsx(Ie,{className:"h-4 w-4 mr-2 flex-shrink-0"})," Scale outbound calling infinitely"]}),n.jsxs("li",{className:"flex items-center",children:[n.jsx(Ie,{className:"h-4 w-4 mr-2 flex-shrink-0"})," No daily call limits or restrictions"]}),n.jsxs("li",{className:"flex items-center",children:[n.jsx(Ie,{className:"h-4 w-4 mr-2 flex-shrink-0"})," Simultaneous multi-lead calling"]})]})]})})}),n.jsx(E.div,{variants:s,children:n.jsx(te,{className:"h-full bg-gradient-to-br from-blue-50 to-blue-100/50 border-blue-200",children:n.jsxs(ne,{className:"p-8",children:[n.jsxs("div",{className:"text-center mb-6",children:[n.jsx("div",{className:"text-4xl font-bold text-blue-600 mb-2",children:"24/7"}),n.jsx("div",{className:"text-lg font-semibold text-blue-700",children:"Availability"})]}),n.jsxs("ul",{className:"space-y-2 text-blue-600",children:[n.jsxs("li",{className:"flex items-center",children:[n.jsx(Ie,{className:"h-4 w-4 mr-2 flex-shrink-0"})," Lower than traditional SDR teams"]}),n.jsxs("li",{className:"flex items-center",children:[n.jsx(Ie,{className:"h-4 w-4 mr-2 flex-shrink-0"})," No hiring or training overhead"]}),n.jsxs("li",{className:"flex items-center",children:[n.jsx(Ie,{className:"h-4 w-4 mr-2 flex-shrink-0"})," Predictable monthly costs"]})]})]})})})]})]})}),n.jsx(E.section,{className:"container mx-auto px-6 py-20",variants:r,initial:"hidden",whileInView:"visible",viewport:{once:!0},children:n.jsxs(E.div,{variants:s,className:"max-w-4xl mx-auto text-center",children:[n.jsx("h2",{className:"text-3xl md:text-5xl font-bold text-foreground mb-6",children:"Ready to Scale Your Outbound?"}),n.jsx("p",{className:"text-xl text-muted-foreground mb-8 max-w-3xl mx-auto",children:"Join industry leaders who use CallLive.ai to contact more leads, qualify better prospects, and close more deals."}),n.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:[n.jsxs(Ae,{size:"lg",className:"bg-brand-purple hover:bg-brand-purple/90 text-white font-semibold px-12 py-6 text-lg",onClick:()=>t(!0),children:[n.jsx(_t,{className:"h-6 w-6 mr-3"}),"Book Demo Now"]}),n.jsxs(Ae,{size:"lg",variant:"outline",className:"font-semibold px-12 py-6 text-lg border-brand-purple text-brand-purple hover:bg-brand-purple/5",children:[n.jsx(ut,{className:"h-6 w-6 mr-3"}),"Try Live Demo"]})]})]})})]}),n.jsx(xn,{}),n.jsx(Vn,{open:e,onOpenChange:t,source:"demo"})]})},p1=()=>{const[e,t]=g.useState(!1),r={hidden:{opacity:0}
105,visible:{opacity:1,transition:{staggerChildren:.1}}},s={hidden:{opacity:0,y:20},visible:{opacity:1,y:0}},a={"@context":"https://schema.org","@type":"SoftwareApplication",name:"CallLive.ai 24/7 Call Answering",description:"AI-powered 24/7 call answering service that never misses a call, handles customer inquiries instantly, and provides round-the-clock business support.",applicationCategory:"BusinessApplication",operatingSystem:"Web-based",offers:{"@type":"Offer",price:"Contact for pricing",priceCurrency:"USD"},featureList:["24/7 availability","Instant call answering","Multi-language support","Call routing and transfer","Message taking","Appointment scheduling"]};return n.jsxs(n.Fragment,{children:[n.jsxs(Kn,{children:[n.jsx("title",{children:"24/7 AI Call Answering | Never Miss Another Customer Call"}),n.jsx("meta",{name:"description",content:"CallLive.ai 24/7 call answering ensures every call is answered instantly. Round-the-clock AI receptionists for businesses with multi-language support and intelligent routing."}),n.jsx("meta",{name:"keywords",content:"24/7 call answering, AI receptionist, virtual answering service, missed call solution, business phone answering, AI call center, round the clock support"}),n.jsx("link",{rel:"canonical",href:"https://calllive.ai/features/24-7-call-answering"}),n.jsx("script",{type:"application/ld+json",children:JSON.stringify(a)})]}),n.jsx(gn,{onGetStartedClick:()=>t(!0)}),n.jsxs("main",{className:"min-h-screen bg-gradient-to-br from-background via-muted/30 to-background",children:[n.jsx("div",{className:"container mx-auto px-6 pt-24 pb-4",children:n.jsxs("nav",{className:"flex items-center space-x-2 text-sm text-muted-foreground",children:[n.jsx(Qr,{className:"h-4 w-4"}),n.jsx(it,{className:"h-4 w-4"}),n.jsx("span",{children:"Features"}),n.jsx(it,{className:"h-4 w-4"}),n.jsx("span",{className:"text-foreground font-medium",children:"24/7 Call Answering"})]})}),n.jsx(E.section,{className:"container mx-auto px-6 py-16",variants:r,initial:"hidden",animate:"visible",children:n.jsxs("div",{className:"max-w-4xl mx-auto text-center",children:[n.jsx(E.div,{variants:s,className:"mb-6",children:n.jsxs("span",{className:"inline-flex items-center px-4 py-2 rounded-full bg-brand-purple/10 text-brand-purple text-sm font-medium border border-brand-purple/20",children:[n.jsx(Rt,{className:"h-4 w-4 mr-2"}),"24/7 AI Technology"]})}),n.jsxs(E.h1,{variants:s,className:"text-4xl md:text-6xl font-bold text-foreground mb-6 leading-tight",children:["24/7 AI Call Answering â",n.jsxs("span",{className:"bg-gradient-to-r from-brand-purple to-brand-purple-light bg-clip-text text-transparent",children:[" ","Never Miss Another Lead"]})]}),n.jsx(E.p,{variants:s,className:"text-xl text-muted-foreground mb-8 max-w-3xl mx-auto leading-relaxed",children:"Your business never sleeps, and neither should your phone answering. Our AI receptionists answer every call in 1.5 seconds, handle customer inquiries professionally, and ensure no opportunity is lost. Available 24/7/365 with human-quality conversations in multiple languages."}),n.jsxs(E.div,{variants:s,className:"flex flex-col sm:flex-row gap-4 justify-center",children:[n.jsxs(Ae,{size:"lg",className:"bg-brand-purple hover:bg-brand-purple/90 text-white font-semibold px-8 py-4",onClick:()=>t(!0),children:[n.jsx(_t,{className:"h-5 w-5 mr-2"}),"Book Demo"]}),n.jsxs(Ae,{size:"lg",variant:"outline",className:"font-semibold px-8 py-4",children:[n.jsx(ri,{className:"h-5 w-5 mr-2"}),"Try Live Demo"]})]})]})}),n.jsx(E.section,{className:"container mx-auto px-6 py-16 bg-gradient-to-r from-muted/20 to-muted/10",variants:r,initial:"hidden",whileInView:"visible",viewport:{once:!0},children:n.jsxs("div",{className:"max-w-6xl mx-auto",children:[n.jsxs(E.div,{variants:s,className:"text-center mb-12",children:[n.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-foreground mb-4",children:"Key Features"}),n.jsx("p",{className:"text-xl text-muted-foreground max-w-3xl mx-auto",children:"Professional call handling that works around the clock"})]}),n.jsxs("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-8",children:[n.jsx(E.div,{variants:s,children:n.jsx(te,{className:"h-full bg-gradient-to-br from-green-50 to-green-100/50 border-green-200 hover:shadow-lg transition-shadow",children:n.jsx(ne,{className:"p-8",children:n.jsxs("div",{className:"flex items-start space-x-4",children:[n.jsx("div",{className:"w-12 h-12 bg-green-500 rounded-full flex items-center justify-center flex-shrink-0",children:n.jsx(rn,{className:"h-6 w-6 text-white"})}),n.jsxs("div",{children:[n.jsx("h3",{className:"text-xl font-bold text-green-700 mb-2",children:"Instant Answer"}),n.jsx("p",{className:"text-green-600",children:"Every call answered in 1.5 seconds, no more missed opportunities"})]})]})})})}),n.jsx(E.div,{variants:s,children:n.jsx(te,{className:"h-full bg-gradient-to-br from-brand-purple/5 to-brand-purple/10 border-brand-purple/20 hover:shadow-lg transition-shadow",children:n.jsx(ne,{className:"p-8",children:n.jsxs("div",{className:"flex items-start space-x-4",children:[n.jsx("div",{className:"w-12 h-12 bg-brand-purple roun
105ded-full flex items-center justify-center flex-shrink-0",children:n.jsx(a4,{className:"h-6 w-6 text-white"})}),n.jsxs("div",{children:[n.jsx("h3",{className:"text-xl font-bold text-brand-purple mb-2",children:"24/7 Availability"}),n.jsx("p",{className:"text-brand-purple/80",children:"Round-the-clock coverage including weekends and holidays"})]})]})})})}),n.jsx(E.div,{variants:s,children:n.jsx(te,{className:"h-full bg-gradient-to-br from-brand-purple-light/20 to-brand-purple-light/30 border-brand-purple-light/30 hover:shadow-lg transition-shadow",children:n.jsx(ne,{className:"p-8",children:n.jsxs("div",{className:"flex items-start space-x-4",children:[n.jsx("div",{className:"w-12 h-12 bg-brand-purple-light rounded-full flex items-center justify-center flex-shrink-0",children:n.jsx(gu,{className:"h-6 w-6 text-white"})}),n.jsxs("div",{children:[n.jsx("h3",{className:"text-xl font-bold text-brand-purple-light mb-2",children:"Professional Handling"}),n.jsx("p",{className:"text-brand-purple-light/80",children:"Human-like conversations with your brand voice and tone"})]})]})})})}),n.jsx(E.div,{variants:s,children:n.jsx(te,{className:"h-full bg-gradient-to-br from-orange-50 to-orange-100/50 border-orange-200 hover:shadow-lg transition-shadow",children:n.jsx(ne,{className:"p-8",children:n.jsxs("div",{className:"flex items-start space-x-4",children:[n.jsx("div",{className:"w-12 h-12 bg-orange-500 rounded-full flex items-center justify-center flex-shrink-0",children:n.jsx(ut,{className:"h-6 w-6 text-white"})}),n.jsxs("div",{children:[n.jsx("h3",{className:"text-xl font-bold text-orange-700 mb-2",children:"Smart Routing"}),n.jsx("p",{className:"text-orange-600",children:"Intelligent call transfer to the right team member"})]})]})})})}),n.jsx(E.div,{variants:s,children:n.jsx(te,{className:"h-full bg-gradient-to-br from-brand-purple/10 to-brand-purple/15 border-brand-purple/25 hover:shadow-lg transition-shadow",children:n.jsx(ne,{className:"p-8",children:n.jsxs("div",{className:"flex items-start space-x-4",children:[n.jsx("div",{className:"w-12 h-12 bg-brand-purple rounded-full flex items-center justify-center flex-shrink-0",children:n.jsx(ys,{className:"h-6 w-6 text-white"})}),n.jsxs("div",{children:[n.jsx("h3",{className:"text-xl font-bold text-brand-purple mb-2",children:"Message Taking"}),n.jsx("p",{className:"text-brand-purple/80",children:"Detailed message capture and instant notifications"})]})]})})})}),n.jsx(E.div,{variants:s,children:n.jsx(te,{className:"h-full bg-gradient-to-br from-teal-50 to-teal-100/50 border-teal-200 hover:shadow-lg transition-shadow",children:n.jsx(ne,{className:"p-8",children:n.jsxs("div",{className:"flex items-start space-x-4",children:[n.jsx("div",{className:"w-12 h-12 bg-teal-500 rounded-full flex items-center justify-center flex-shrink-0",children:n.jsx(Gt,{className:"h-6 w-6 text-white"})}),n.jsxs("div",{children:[n.jsx("h3",{className:"text-xl font-bold text-teal-700 mb-2",children:"Multi-language"}),n.jsx("p",{className:"text-teal-600",children:"Support for 10+ languages and regional accents"})]})]})})})})]})]})}),n.jsx(E.section,{className:"container mx-auto px-6 py-16",variants:r,initial:"hidden",whileInView:"visible",viewport:{once:!0},children:n.jsxs("div",{className:"max-w-6xl mx-auto",children:[n.jsxs(E.div,{variants:s,className:"text-center mb-12",children:[n.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-foreground mb-4",children:"Benefits"}),n.jsx("p",{className:"text-xl text-muted-foreground max-w-3xl mx-auto",children:"Never lose another customer due to missed calls"})]}),n.jsxs("div",{className:"grid md:grid-cols-2 gap-8",children:[n.jsx(E.div,{variants:s,children:n.jsx(te,{className:"h-full bg-gradient-to-br from-emerald-50 to-emerald-100/50 border-emerald-200",children:n.jsxs(ne,{className:"p-8",children:[n.jsxs("div",{className:"text-center mb-6",children:[n.jsx("div",{className:"text-4xl font-bold text-emerald-600 mb-2",children:"100%"}),n.jsx("div",{className:"text-lg font-semibold text-emerald-700",children:"Call Answer Rate"})]}),n.jsxs("ul",{className:"space-y-2 text-emerald-600",children:[n.jsxs("li",{className:"flex items-center",children:[n.jsx(Ie,{className:"h-4 w-4 mr-2 flex-shrink-0"})," No more missed calls or voicemails"]}),n.jsxs("li",{className:"flex items-center",children:[n.jsx(Ie,{className:"h-4 w-4 mr-2 flex-shrink-0"})," Instant customer satisfaction"]}),n.jsxs("li",{className:"flex items-center",children:[n.jsx(Ie,{className:"h-4 w-4 mr-2 flex-shrink-0"})," Capture every opportunity"]})]})]})})}),n.jsx(E.div,{variants:s,children:n.jsx(te,{className:"h-full bg-gradient-to-br from-brand-purple/5 to-brand-purple/10 border-brand-purple/20",children:n.jsxs(ne,{className:"p-8",children:[n.jsxs("div",{className:"text-center mb-6",children:[n.jsx("div",{className:"text-4xl font-bold text-brand-purple mb-2",children:"1.5s"}),n.jsx("div",{className:"text-lg font-semibold text-brand-purple",children:"Response Time"})]}),n.jsxs("ul",{className:"space-y-2 text-brand-purple/80",children:[n.jsxs("li",{className:"flex items-center",children:[n.jsx(Ie,{className:"h-4 w-4 mr-2 flex-shrink-0"}
105)," No receptionist salaries or benefits"]}),n.jsxs("li",{className:"flex items-center",children:[n.jsx(Ie,{className:"h-4 w-4 mr-2 flex-shrink-0"})," No sick days or vacation coverage"]}),n.jsxs("li",{className:"flex items-center",children:[n.jsx(Ie,{className:"h-4 w-4 mr-2 flex-shrink-0"})," Predictable monthly costs"]})]})]})})})]})]})}),n.jsx(E.section,{className:"container mx-auto px-6 py-20",variants:r,initial:"hidden",whileInView:"visible",viewport:{once:!0},children:n.jsxs(E.div,{variants:s,className:"max-w-4xl mx-auto text-center",children:[n.jsx("h2",{className:"text-3xl md:text-5xl font-bold text-foreground mb-6",children:"Ready for 24/7 Coverage?"}),n.jsx("p",{className:"text-xl text-muted-foreground mb-8 max-w-3xl mx-auto",children:"Join thousands of businesses who never miss a call with CallLive.ai's round-the-clock answering service."}),n.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:[n.jsxs(Ae,{size:"lg",className:"bg-brand-purple hover:bg-brand-purple/90 text-white font-semibold px-12 py-6 text-lg",onClick:()=>t(!0),children:[n.jsx(_t,{className:"h-6 w-6 mr-3"}),"Book Demo Now"]}),n.jsxs(Ae,{size:"lg",variant:"outline",className:"font-semibold px-12 py-6 text-lg border-brand-purple text-brand-purple hover:bg-brand-purple/5",children:[n.jsx(ut,{className:"h-6 w-6 mr-3"}),"Try Live Demo"]})]})]})})]}),n.jsx(xn,{}),n.jsx(Vn,{open:e,onOpenChange:t,source:"demo"})]})},g1=()=>{const[e,t]=g.useState(!1),r={hidden:{opacity:0},visible:{opacity:1,transition:{staggerChildren:.1}}},s={hidden:{opacity:0,y:20},visible:{opacity:1,y:0}},a={"@context":"https://schema.org","@type":"SoftwareApplication",name:"CallLive.ai Multilingual Voice Agents",description:"AI voice agents that speak 10+ languages with native fluency, cultural context awareness, and regional accent adaptation for global business communication.",applicationCategory:"BusinessApplication",operatingSystem:"Web-based",offers:{"@type":"Offer",price:"Contact for pricing",priceCurrency:"USD"},featureList:["60+ language support","Cultural context awareness","Regional accent adaptation","Real-time translation","Native fluency","Global market reach"]},l=[{name:"English",region:"US, UK, AU, CA",color:"bg-blue-500"},{name:"Spanish",region:"ES, MX, AR, CO",color:"bg-red-500"},{name:"French",region:"FR, CA, BE, CH",color:"bg-indigo-500"},{name:"German",region:"DE, AT, CH",color:"bg-gray-600"},{name:"Italian",region:"IT, CH",color:"bg-green-500"},{name:"Portuguese",region:"PT, BR",color:"bg-yellow-500"},{name:"Chinese",region:"CN, TW, HK, SG",color:"bg-red-600"},{name:"Japanese",region:"JP",color:"bg-pink-500"},{name:"Korean",region:"KR",color:"bg-purple-500"},{name:"Arabic",region:"SA, AE, EG",color:"bg-orange-500"},{name:"Hindi",region:"IN",color:"bg-orange-600"},{name:"Russian",region:"RU, BY, KZ",color:"bg-blue-600"}];return n.jsxs(n.Fragment,{children:[n.jsxs(Kn,{children:[n.jsx("title",{children:"Multilingual AI Voice Agents | 10+ Languages + Cultural Context"}),n.jsx("meta",{name:"description",content:"CallLive.ai multilingual voice agents speak 10+ languages with native fluency and cultural awareness. Break language barriers and serve global customers perfectly."}),n.jsx("meta",{name:"keywords",content:"multilingual voice bot, AI voice agents multiple languages, voice AI translation, global customer support, multilingual call center, voice AI Hindi English"}),n.jsx("link",{rel:"canonical",href:"https://calllive.ai/features/multilingual-voice-agents"}),n.jsx("script",{type:"application/ld+json",children:JSON.stringify(a)})]}),n.jsx(gn,{onGetStartedClick:()=>t(!0)}),n.jsxs("main",{className:"min-h-screen bg-gradient-to-br from-background via-muted/30 to-background",children:[n.jsx("div",{className:"container mx-auto px-6 pt-24 pb-4",children:n.jsxs("nav",{className:"flex items-center space-x-2 text-sm text-muted-foreground",children:[n.jsx(Qr,{className:"h-4 w-4"}),n.jsx(it,{className:"h-4 w-4"}),n.jsx("span",{children:"Features"}),n.jsx(it,{className:"h-4 w-4"}),n.jsx("span",{className:"text-foreground font-medium",children:"Multilingual Voice Agents"})]})}),n.jsx(E.section,{className:"container mx-auto px-6 py-16",variants:r,initial:"hidden",animate:"visible",children:n.jsxs("div",{className:"max-w-4xl mx-auto text-center",children:[n.jsx(E.div,{variants:s,className:"mb-6",children:n.jsxs("span",{className:"inline-flex items-center px-4 py-2 rounded-full bg-brand-purple/10 text-brand-purple text-sm font-medium border border-brand-purple/20",children:[n.jsx(Gt,{className:"h-4 w-4 mr-2"}),"Global AI Technology"]})}),n.jsxs(E.h1,{variants:s,className:"text-4xl md:text-6xl font-bold text-foreground mb-6 leading-tight",children:["Multilingual AI Voice Agents â",n.jsxs("span",{className:"bg-gradient-to-r from-brand-purple to-brand-purple-light bg-clip-text text-transparent",children:[" ","10+ Languages"]})]}),n.jsx(E.p,{variants:s,className:"text-xl text-muted-foreground mb-8 max-w-3xl mx-auto leading-relaxed",children:"Break down language barr
105iers and serve customers worldwide. CallLive.ai answers every call in 1.5 seconds, works 24/7, and supports 10+ languages with human-like, sales-rep style conversations for both inbound and outbound calls."}),n.jsxs(E.div,{variants:s,className:"flex flex-col sm:flex-row gap-4 justify-center",children:[n.jsxs(Ae,{size:"lg",className:"bg-brand-purple hover:bg-brand-purple/90 text-white font-semibold px-8 py-4",onClick:()=>t(!0),children:[n.jsx(_t,{className:"h-5 w-5 mr-2"}),"Book Demo"]}),n.jsxs(Ae,{size:"lg",variant:"outline",className:"font-semibold px-8 py-4",children:[n.jsx(ri,{className:"h-5 w-5 mr-2"}),"Try Live Demo"]})]})]})}),n.jsx(E.section,{className:"container mx-auto px-6 py-16",variants:r,initial:"hidden",whileInView:"visible",viewport:{once:!0},children:n.jsxs("div",{className:"max-w-6xl mx-auto",children:[n.jsxs(E.div,{variants:s,className:"text-center mb-12",children:[n.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-foreground mb-4",children:"Supported Languages"}),n.jsx("p",{className:"text-xl text-muted-foreground max-w-3xl mx-auto",children:"Native-level fluency across major world languages and regional dialects"})]}),n.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6",children:l.map((c,d)=>n.jsx(E.div,{variants:s,children:n.jsx(te,{className:"h-full hover:shadow-lg transition-shadow",children:n.jsx(ne,{className:"p-6",children:n.jsxs("div",{className:"flex items-center space-x-4",children:[n.jsx("div",{className:`w-4 h-4 rounded-full ${c.color}`}),n.jsxs("div",{children:[n.jsx("h3",{className:"font-bold text-foreground",children:c.name}),n.jsx("p",{className:"text-sm text-muted-foreground",children:c.region})]})]})})})},c.name))}),n.jsx(E.div,{variants:s,className:"text-center mt-8",children:n.jsx("p",{className:"text-muted-foreground",children:"+ Many more languages and regional variations available"})})]})}),n.jsx(E.section,{className:"container mx-auto px-6 py-16 bg-gradient-to-r from-muted/20 to-muted/10",variants:r,initial:"hidden",whileInView:"visible",viewport:{once:!0},children:n.jsxs("div",{className:"max-w-6xl mx-auto",children:[n.jsxs(E.div,{variants:s,className:"text-center mb-12",children:[n.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-foreground mb-4",children:"Key Features"}),n.jsx("p",{className:"text-xl text-muted-foreground max-w-3xl mx-auto",children:"Advanced language capabilities that go beyond simple translation"})]}),n.jsxs("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-8",children:[n.jsx(E.div,{variants:s,children:n.jsx(te,{className:"h-full bg-gradient-to-br from-brand-purple/5 to-brand-purple/10 border-brand-purple/20 hover:shadow-lg transition-shadow",children:n.jsx(ne,{className:"p-8",children:n.jsxs("div",{className:"flex items-start space-x-4",children:[n.jsx("div",{className:"w-12 h-12 bg-brand-purple rounded-full flex items-center justify-center flex-shrink-0",children:n.jsx(Xu,{className:"h-6 w-6 text-white"})}),n.jsxs("div",{children:[n.jsx("h3",{className:"text-xl font-bold text-brand-purple mb-2",children:"Native Fluency"}),n.jsx("p",{className:"text-brand-purple/80",children:"Perfect pronunciation, grammar, and natural conversation flow"})]})]})})})}),n.jsx(E.div,{variants:s,children:n.jsx(te,{className:"h-full bg-gradient-to-br from-green-50 to-green-100/50 border-green-200 hover:shadow-lg transition-shadow",children:n.jsx(ne,{className:"p-8",children:n.jsxs("div",{className:"flex items-start space-x-4",children:[n.jsx("div",{className:"w-12 h-12 bg-green-500 rounded-full flex items-center justify-center flex-shrink-0",children:n.jsx(Qu,{className:"h-6 w-6 text-white"})}),n.jsxs("div",{children:[n.jsx("h3",{className:"text-xl font-bold text-green-700 mb-2",children:"Cultural Context"}),n.jsx("p",{className:"text-green-600",children:"Understanding of cultural nuances and local business practices"})]})]})})})}),n.jsx(E.div,{variants:s,children:n.jsx(te,{className:"h-full bg-gradient-to-br from-brand-purple-light/20 to-brand-purple-light/30 border-brand-purple-light/30 hover:shadow-lg transition-shadow",children:n.jsx(ne,{className:"p-8",children:n.jsxs("div",{className:"flex items-start space-x-4",children:[n.jsx("div",{className:"w-12 h-12 bg-brand-purple-light rounded-full flex items-center justify-center flex-shrink-0",children:n.jsx(t4,{className:"h-6 w-6 text-white"})}),n.jsxs("div",{children:[n.jsx("h3",{className:"text-xl font-bold text-brand-purple-light mb-2",children:"Regional Accents"}),n.jsx("p",{className:"text-brand-purple-light/80",children:"Authentic local accents and pronunciation variations"})]})]})})})}),n.jsx(E.div,{variants:s,children:n.jsx(te,{className:"h-full bg-gradient-to-br from-orange-50 to-orange-100/50 border-orange-200 hover:shadow-lg transition-shadow",children:n.jsx(ne,{className:"p-8",children:n.jsxs("div",{className:"flex items-start space-x-4",children:[n.jsx("div",{className:"w-12 h-12 bg-orange-500 rounded-full flex items-center justify-center flex-shrink-0",children:n.jsx(rn,{className:"h-6 w-6 text-white"})}),n.jsxs("div",{children:[n.jsx("h3",{className:"text-xl font-bold text-orange-700 mb-2",children:"Real-time Adaptation"}),n.jsx("p",{className:"text-orange-600",children:"Instant language switching and contextual adaptation"})]})]})})})}),n.jsx(E.div,{variants:s,children:n.jsx(te,{className:"h-full bg-gradient-to-br from-brand-purple/10 to-brand-purple/15 border-brand-purple/25 hover:shadow-lg transition-shadow",children:n.jsx(ne,{className:"p-8",children:n.jsxs("div",{className:"flex items-start space-x-4",children:[n.jsx("div",{className:"w-12 h-12 bg-brand-purple roun
105ded-full flex items-center justify-center flex-shrink-0",children:n.jsx(ys,{className:"h-6 w-6 text-white"})}),n.jsxs("div",{children:[n.jsx("h3",{className:"text-xl font-bold text-brand-purple mb-2",children:"Complex Conversations"}),n.jsx("p",{className:"text-brand-purple/80",children:"Handle complex business discussions and technical topics"})]})]})})})}),n.jsx(E.div,{variants:s,children:n.jsx(te,{className:"h-full bg-gradient-to-br from-teal-50 to-teal-100/50 border-teal-200 hover:shadow-lg transition-shadow",children:n.jsx(ne,{className:"p-8",children:n.jsxs("div",{className:"flex items-start space-x-4",children:[n.jsx("div",{className:"w-12 h-12 bg-teal-500 rounded-full flex items-center justify-center flex-shrink-0",children:n.jsx(Dn,{className:"h-6 w-6 text-white"})}),n.jsxs("div",{children:[n.jsx("h3",{className:"text-xl font-bold text-teal-700 mb-2",children:"Personal Connection"}),n.jsx("p",{className:"text-teal-600",children:"Build rapport and trust through native language communication"})]})]})})})})]})]})}),n.jsx(E.section,{className:"container mx-auto px-6 py-16",variants:r,initial:"hidden",whileInView:"visible",viewport:{once:!0},children:n.jsxs("div",{className:"max-w-6xl mx-auto",children:[n.jsxs(E.div,{variants:s,className:"text-center mb-12",children:[n.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-foreground mb-4",children:"Global Business Benefits"}),n.jsx("p",{className:"text-xl text-muted-foreground max-w-3xl mx-auto",children:"Expand your market reach and improve customer satisfaction worldwide"})]}),n.jsxs("div",{className:"grid md:grid-cols-2 gap-8",children:[n.jsx(E.div,{variants:s,children:n.jsx(te,{className:"h-full bg-gradient-to-br from-emerald-50 to-emerald-100/50 border-emerald-200",children:n.jsxs(ne,{className:"p-8",children:[n.jsxs("div",{className:"text-center mb-6",children:[n.jsx("div",{className:"text-4xl font-bold text-emerald-600 mb-2",children:"10+"}),n.jsx("div",{className:"text-lg font-semibold text-emerald-700",children:"Languages Supported"})]}),n.jsxs("ul",{className:"space-y-2 text-emerald-600",children:[n.jsxs("li",{className:"flex items-center",children:[n.jsx(Ie,{className:"h-4 w-4 mr-2 flex-shrink-0"})," Access global markets instantly"]}),n.jsxs("li",{className:"flex items-center",children:[n.jsx(Ie,{className:"h-4 w-4 mr-2 flex-shrink-0"})," Serve international customers"]}),n.jsxs("li",{className:"flex items-center",children:[n.jsx(Ie,{className:"h-4 w-4 mr-2 flex-shrink-0"})," Break language barriers"]})]})]})})}),n.jsx(E.div,{variants:s,children:n.jsx(te,{className:"h-full bg-gradient-to-br from-brand-purple/5 to-brand-purple/10 border-brand-purple/20",children:n.jsxs(ne,{className:"p-8",children:[n.jsxs("div",{className:"text-center mb-6",children:[n.jsx("div",{className:"text-4xl font-bold text-brand-purple mb-2",children:"95%"}),n.jsx("div",{className:"text-lg font-semibold text-brand-purple",children:"Customer Satisfaction"})]}),n.jsxs("ul",{className:"space-y-2 text-brand-purple/80",children:[n.jsxs("li",{className:"flex items-center",children:[n.jsx(Ie,{className:"h-4 w-4 mr-2 flex-shrink-0"})," Natural language communication"]}),n.jsxs("li",{className:"flex items-center",children:[n.jsx(Ie,{className:"h-4 w-4 mr-2 flex-shrink-0"})," Cultural respect and understanding"]}),n.jsxs("li",{className:"flex items-center",children:[n.jsx(Ie,{className:"h-4 w-4 mr-2 flex-shrink-0"})," Personalized experiences"]})]})]})})})]})]})}),n.jsx(E.section,{className:"container mx-auto px-6 py-20",variants:r,initial:"hidden",whileInView:"visible",viewport:{once:!0},children:n.jsxs(E.div,{variants:s,className:"max-w-4xl mx-auto text-center",children:[n.jsx("h2",{className:"text-3xl md:text-5xl font-bold text-foreground mb-6",children:"Ready to Go Global?"}),n.jsx("p",{className:"text-xl text-muted-foreground mb-8 max-w-3xl mx-auto",children:"Connect with customers worldwide using AI voice agents that speak their language and understand their culture."}),n.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:[n.jsxs(Ae,{size:"lg",className:"bg-brand-purple hover:bg-brand-purple/90 text-white font-semibold px-12 py-6 text-lg",onClick:()=>t(!0),children:[n.jsx(_t,{className:"h-6 w-6 mr-3"}),"Book Demo Now"]}),n.jsxs(Ae,{size:"lg",variant:"outline",className:"font-semibold px-12 py-6 text-lg border-indigo-600 text-indigo-600 hover:bg-indigo-50",children:[n.jsx(Gt,{className:"h-6 w-6 mr-3"}),"Try Live Demo"]})]})]})})]}),n.jsx(xn,{}),n.jsx(Vn,{open:e,onOpenChange:t,source:"demo"})]})};var hv="Collapsible",[hB,gE]=Ns(hv),[pB,pv]=hB(hv),xE=g.forwardRef((e,t)=>
105{const{__scopeCollapsible:r,open:s,defaultOpen:a,disabled:l,onOpenChange:c,...d}=e,[m=!1,f]=Wr({prop:s,defaultProp:a,onChange:c});return n.jsx(pB,{scope:r,disabled:l,contentId:Ar(),open:m,onOpenToggle:g.useCallback(()=>f(p=>!p),[f]),children:n.jsx(Le.div,{"data-state":xv(m),"data-disabled":l?"":void 0,...d,ref:t})})});xE.displayName=hv;var vE="CollapsibleTrigger",yE=g.forwardRef((e,t)=>{const{__scopeCollapsible:r,...s}=e,a=pv(vE,r);return n.jsx(Le.button,{type:"button","aria-controls":a.contentId,"aria-expanded":a.open||!1,"data-state":xv(a.open),"data-disabled":a.disabled?"":void 0,disabled:a.disabled,...s,ref:t,onClick:Se(e.onClick,a.onOpenToggle)})});yE.displayName=vE;var gv="CollapsibleContent",bE=g.forwardRef((e,t)=>{const{forceMount:r,...s}=e,a=pv(gv,e.__scopeCollapsible);return n.jsx(sn,{present:r||a.open,children:({present:l})=>n.jsx(gB,{...s,ref:t,present:l})})});bE.displayName=gv;var gB=g.forwardRef((e,t)=>{const{__scopeCollapsible:r,present:s,children:a,...l}=e,c=pv(gv,r),[d,m]=g.useState(s),f=g.useRef(null),p=Ze(t,f),x=g.useRef(0),v=x.current,b=g.useRef(0),N=b.current,j=c.open||d,C=g.useRef(j),k=g.useRef();return g.useEffect(()=>{const A=requestAnimationFrame(()=>C.current=!1);return()=>cancelAnimationFrame(A)},[]),Ot(()=>{const A=f.current;if(A){k.current=k.current||{transitionDuration:A.style.transitionDuration,animationName:A.style.animationName},A.style.transitionDuration="0s",A.style.animationName="none";const T=A.getBoundingClientRect();x.current=T.height,b.current=T.width,C.current||(A.style.transitionDuration=k.current.transitionDuration,A.style.animationName=k.current.animationName),m(s)}},[c.open,s]),n.jsx(Le.div,{"data-state":xv(c.open),"data-disabled":c.disabled?"":void 0,id:c.contentId,hidden:!j,...l,ref:p,style:{"--radix-collapsible-content-height":v?`${v}px`:void 0,"--radix-collapsible-content-width":N?`${N}px`:void 0,...e.style},children:j&&a})});function xv(e){return e?"open":"closed"}var xB=xE,vB=yE,yB=bE,Cs="Accordion",bB=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[vv,wB,jB]=cc(Cs),[_m]=Ns(Cs,[jB,gE]),yv=gE(),wE=G.forwardRef((e,t)=>{const{type:r,...s}=e,a=s,l=s;return n.jsx(vv.Provider,{scope:e.__scopeAccordion,children:r==="multiple"?n.jsx(kB,{...l,ref:t}):n.jsx(SB,{...a,ref:t})})});wE.displayName=Cs;var[jE,NB]=_m(Cs),[NE,CB]=_m(Cs,{collapsible:!1}),SB=G.forwardRef((e,t)=>{const{value:r,defaultValue:s,onValueChange:a=()=>{},collapsible:l=!1,...c}=e,[d,m]=Wr({prop:r,defaultProp:s,onChange:a});return n.jsx(jE,{scope:e.__scopeAccordion,value:d?[d]:[],onItemOpen:m,onItemClose:G.useCallback(()=>l&&m(""),[l,m]),children:n.jsx(NE,{scope:e.__scopeAccordion,collapsible:l,children:n.jsx(CE,{...c,ref:t})})})}),kB=G.forwardRef((e,t)=>{const{value:r,defaultValue:s,onValueChange:a=()=>{},...l}=e,[c=[],d]=Wr({prop:r,defaultProp:s,onChange:a}),m=G.useCallback(p=>d((x=[])=>[...x,p]),[d]),f=G.useCallback(p=>d((x=[])=>x.filter(v=>v!==p)),[d]);return n.jsx(jE,{scope:e.__scopeAccordion,value:c,onItemOpen:m,onItemClose:f,children:n.jsx(NE,{scope:e.__scopeAccordion,collapsible:!0,children:n.jsx(CE,{...l,ref:t})})})}),[AB,Rm]=_m(Cs),CE=G.forwardRef((e,t)=>{const{__scopeAccordion:r,disabled:s,dir:a,orientation:l="vertical",...c}=e,d=G.useRef(null),m=Ze(d,t),f=wB(r),x=hm(a)==="ltr",v=Se(e.onKeyDown,b=>{if(!bB.includes(b.key))return;const N=b.target,j=f().filter(z=>!z.ref.current?.disabled),C=j.findIndex(z=>z.ref.current===N),k=j.length;if(C===-1)return;b.preventDefault();let A=C;const T=0,P=k-1,I=()=>{A=C+1,A>P&&(A=T)},L=()=>{A=C-1,A<T&&(A=P)};switch(b.key){case"Home":A=T;break;case"End":A=P;break;case"ArrowRight":l==="horizontal"&&(x?I():L());break;case"ArrowDown":l==="vertical"&&I();break;case"ArrowLeft":l==="horizontal"&&(x?L():I());break;case"ArrowUp":l==="vertical"&&L();break}const $=A%k;j[$].ref.current?.focus()});return n.jsx(AB,{scope:r,disabled:s,direction:a,orientation:l,children:n.jsx(vv.Slot,{scope:r,children:n.jsx(Le.div,{...c,"data-orientation":l,ref:m,onKeyDown:s?void 0:v})})})}),qu="AccordionItem",[EB,bv]=_m(qu),SE=G.forwardRef((e,t)=>{const{__scopeAccordion:r,value:s,...a}=e,l=Rm(qu,r),c=NB(qu,r),d=yv(r),m=Ar(),f=s&&c.value.includes(s)||!1,p=l.disabled||e.disabled;return n.jsx(EB,{scope:r,open:f,disabled:p,triggerId:m,children:n.jsx(xB,{"data-orientation":l.orientation,"data-state":PE(f),...d,...a,ref:t,disabled:p,open:f,onOpenChange:x=>{x?c.onItemOpen(s):c.onItemClose(s)}})})});SE.displayName=qu;var kE="AccordionHeader",AE=G.forwardRef((e,t)=>
105{const{__scopeAccordion:r,...s}=e,a=Rm(Cs,r),l=bv(kE,r);return n.jsx(Le.h3,{"data-orientation":a.orientation,"data-state":PE(l.open),"data-disabled":l.disabled?"":void 0,...s,ref:t})});AE.displayName=kE;var Cg="AccordionTrigger",EE=G.forwardRef((e,t)=>{const{__scopeAccordion:r,...s}=e,a=Rm(Cs,r),l=bv(Cg,r),c=CB(Cg,r),d=yv(r);return n.jsx(vv.ItemSlot,{scope:r,children:n.jsx(vB,{"aria-disabled":l.open&&!c.collapsible||void 0,"data-orientation":a.orientation,id:l.triggerId,...d,...s,ref:t})})});EE.displayName=Cg;var TE="AccordionContent",IE=G.forwardRef((e,t)=>{const{__scopeAccordion:r,...s}=e,a=Rm(Cs,r),l=bv(TE,r),c=yv(r);return n.jsx(yB,{role:"region","aria-labelledby":l.triggerId,"data-orientation":a.orientation,...c,...s,ref:t,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});IE.displayName=TE;function PE(e){return e?"open":"closed"}var TB=wE,IB=SE,PB=AE,_E=EE,RE=IE;const wv=TB,us=g.forwardRef(({className:e,...t},r)=>n.jsx(IB,{ref:r,className:Ee("border-b",e),...t}));us.displayName="AccordionItem";const ms=g.forwardRef(({className:e,children:t,...r},s)=>n.jsx(PB,{className:"flex",children:n.jsxs(_E,{ref:s,className:Ee("flex flex-1 items-center justify-between py-4 font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180",e),...r,children:[t,n.jsx(co,{className:"h-4 w-4 shrink-0 transition-transform duration-200"})]})}));ms.displayName=_E.displayName;const fs=g.forwardRef(({className:e,children:t,...r},s)=>n.jsx(RE,{ref:s,className:"overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",...r,children:n.jsx("div",{className:Ee("pb-4 pt-0",e),children:t})}));fs.displayName=RE.displayName;const _B=()=>{const[e,t]=g.useState(!1),r={hidden:{opacity:0},visible:{opacity:1,transition:{staggerChildren:.1}}},s={hidden:{opacity:0,y:20},visible:{opacity:1,y:0}},a=[{question:"How fast can CallLive.ai AI voice agents respond to calls?",answer:"CallLive.ai voice agents answer calls in just 1.5 seconds, ensuring no customer has to wait. This instant response time dramatically improves customer satisfaction and prevents missed opportunities compared to traditional call centers that can take minutes to answer."},{question:"Can CallLive.ai handle outbound calling and lead generation?",answer:"Yes! Our AI outbound dialer can contact 1000+ leads per hour, qualify prospects automatically using BANT criteria, handle objections, and schedule appointments. It works 24/7 and scales infinitely, making it perfect for aggressive sales and lead generation campaigns."},{question:"How many languages do CallLive.ai voice agents support?",answer:"CallLive.ai supports 10+ languages with native fluency, including Hindi, English, Spanish, Mandarin, Arabic, French, German, and many more. Our AI understands cultural context and regional accents, making conversations feel natural for customers worldwide."},{question:"Is CallLive.ai available 24/7 for customer support?",answer:"Absolutely! CallLive.ai voice agents work 24/7/365 without breaks, sick days, or holidays. They provide consistent, professional service around the clock, ensuring your business never misses a call or opportunity, regardless of time zones or business hours."},{question:"How can I get a demo of CallLive.ai for my business?",answer:"Getting started with CallLive.ai is easy! Click 'Book Demo' on any page to schedule a personalized demonstration. We'll show you exactly how our AI voice agents can transform your business communication, handle your specific use cases, and integrate with your existing systems."},{question:"What industries does CallLive.ai work best for?",answer:"CallLive.ai is highly effective across multiple industries including Real Estate (property inquiries, site visit bookings), Hospitality (hotel reservations, guest services), Healthcare (appointment scheduling, patient support), SaaS (lead qualification, demos), E-commerce (order support, sales), and many more B2B businesses."},{question:"How does CallLive.ai integrate with existing CRM and phone systems?",answer:"CallLive.ai seamlessly integrates with all major CRM platforms (Salesforce, HubSpot, Pipedrive, etc.) and phone systems. Our API allows real-time data sync, automatic lead logging, call transcriptions, and workflow automation. Setup typically takes less than 24 hours with our technical team's support."},{question:"What makes CallLive.ai different from traditional call centers?",answer:"Unlike traditional call centers, CallLive.ai offers instant 1.5-second response times, 24/7 availability, infinite scalability, multilingual support (10+ languages), consistent quality, cost-effective solution, and no human limitations like sick days or training periods. Our AI learns and improves continuously while maintaining your brand voice."},{question:"Is CallLive.ai secure and compliant with data protection regulations?",answer:"Yes! CallLive.ai is fully compliant with GDPR, HIPAA, and other major data protection regulations. All conversations are encrypted, data is stored securely, and we follow strict privacy protocols. For healthcare clients, we provide HIPAA-compliant voice agents that protect patient information."},{question:"How quickly can CallLive.ai be set up for my business?",answer:"CallLive.ai can be set up and running within 24-48 hours for most businesses. Our setup process includes training the AI on your specific business needs, integrating with your systems, customizing conversation flows, and testing everything thoroughly before going live."}],l={"@context":"https://schema.org","@type":"FAQPage",mainEntity:a.map(c=>
105({"@type":"Question",name:c.question,acceptedAnswer:{"@type":"Answer",text:c.answer}}))};return n.jsxs(n.Fragment,{children:[n.jsxs(Kn,{children:[n.jsx("title",{children:"FAQ - AI Voice Agent Questions | CallLive.ai Support"}),n.jsx("meta",{name:"description",content:"Get answers to common questions about CallLive.ai voice agents. Learn about response times, languages, pricing, integration, and how AI voice agents can transform your business."}),n.jsx("meta",{name:"keywords",content:"AI voice agent FAQ, CallLive.ai questions, voice AI support, AI call center questions, voice bot help, AI phone system FAQ"}),n.jsx("link",{rel:"canonical",href:"https://calllive.ai/faq"}),n.jsx("script",{type:"application/ld+json",children:JSON.stringify(l)})]}),n.jsx(gn,{onGetStartedClick:()=>t(!0)}),n.jsxs("main",{className:"min-h-screen bg-gradient-to-br from-background via-muted/30 to-background",children:[n.jsx("div",{className:"container mx-auto px-6 pt-24 pb-4",children:n.jsxs("nav",{className:"flex items-center space-x-2 text-sm text-muted-foreground",children:[n.jsx(Qr,{className:"h-4 w-4"}),n.jsx(it,{className:"h-4 w-4"}),n.jsx("span",{className:"text-foreground font-medium",children:"FAQ"})]})}),n.jsxs(E.section,{className:"container mx-auto px-6 py-16",variants:r,initial:"hidden",animate:"visible",children:[n.jsxs("div",{className:"max-w-4xl mx-auto text-center mb-16",children:[n.jsx(E.div,{variants:s,className:"mb-6",children:n.jsxs("span",{className:"inline-flex items-center px-4 py-2 rounded-full bg-indigo-100 text-indigo-700 text-sm font-medium border border-indigo-200",children:[n.jsx(HP,{className:"h-4 w-4 mr-2"}),"Frequently Asked Questions"]})}),n.jsxs(E.h1,{variants:s,className:"text-4xl md:text-6xl font-bold text-foreground mb-6 leading-tight",children:["Get Answers About",n.jsxs("span",{className:"bg-gradient-to-r from-brand-purple to-brand-purple-light bg-clip-text text-transparent",children:[" ","AI Voice Agents"]})]}),n.jsx(E.p,{variants:s,className:"text-xl text-muted-foreground mb-8 max-w-3xl mx-auto leading-relaxed",children:"Everything you need to know about CallLive.ai voice agents, from setup and integration to advanced features and pricing. Can't find what you're looking for? Contact our team."})]}),n.jsx(E.div,{variants:s,className:"max-w-4xl mx-auto",children:n.jsx(wv,{type:"single",collapsible:!0,className:"w-full space-y-4",children:a.map((c,d)=>n.jsxs(us,{value:`item-${d}`,className:"bg-white border border-gray-200 rounded-lg shadow-sm hover:shadow-md transition-shadow",children:[n.jsx(ms,{className:"px-6 py-4 text-left hover:no-underline hover:bg-gray-50 rounded-t-lg",children:n.jsx("span",{className:"font-semibold text-foreground pr-4",children:c.question})}),n.jsx(fs,{className:"px-6 pb-6 text-muted-foreground leading-relaxed",children:c.answer})]},d))})})]}),n.jsx(E.section,{className:"container mx-auto px-6 py-16 bg-gradient-to-r from-muted/20 to-muted/10",variants:r,initial:"hidden",whileInView:"visible",viewport:{once:!0},children:n.jsxs("div",{className:"max-w-6xl mx-auto",children:[n.jsxs(E.div,{variants:s,className:"text-center mb-12",children:[n.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-foreground mb-4",children:"Still Have Questions?"}),n.jsx("p",{className:"text-xl text-muted-foreground max-w-3xl mx-auto",children:"Our team is here to help you understand how CallLive.ai can transform your business communication"})]}),n.jsxs("div",{className:"grid md:grid-cols-3 gap-8",children:[n.jsx(E.div,{variants:s,children:n.jsx(te,{className:"h-full bg-gradient-to-br from-indigo-50 to-indigo-100/50 border-indigo-200 hover:shadow-lg transition-shadow",children:n.jsxs(ne,{className:"p-8 text-center",children:[n.jsx("div",{className:"w-12 h-12 bg-indigo-600 rounded-full flex items-center justify-center mx-auto mb-4",children:n.jsx(ut,{className:"h-6 w-6 text-white"})}),n.jsx("h3",{className:"text-xl font-bold text-indigo-700 mb-3",children:"Schedule a Call"}),n.jsx("p",{className:"text-indigo-600 mb-4",children:"Talk directly with our AI specialists about your specific needs"}),n.jsx(Ae,{variant:"outline",className:"border-indigo-600 text-indigo-600 hover:bg-indigo-50",onClick:()=>t(!0),children:"Book a Call"})]})})}),n.jsx(E.div,{variants:s,children:n.jsx(te,{className:"h-full bg-gradient-to-br from-green-50 to-green-100/50 border-green-200 hover:shadow-lg transition-shadow",children:n.jsxs(ne,{className:"p-8 text-center",children:[n.jsx("div",{className:"w-12 h-12 bg-green-600 rounded-full flex items-center justify-center mx-auto mb-4",children:n.jsx(ys,{className:"h-6 w-6 text-white"})}),n.jsx("h3",{className:"text-xl font-bold text-green-700 mb-3",children:"Live Demo"}),n.jsx("p",{className:"text-green-600 mb-4",children:"Experience CallLive.ai voice agents in action with a personalized demo"}),n.jsx(Ae,{variant:"outline",className:"border-green-600 text-green-600 hover:bg-green-50",children:"Try Live Demo"})]})})}),n.jsx(E.div,{variants:s,children:n.jsx(te,{className:"h-full bg-gradient-to-br from-purple-50 to-purple-100/50 border-purple-200 hover:shadow-lg transition-shadow",children:n.jsxs(ne,{className:"p-8 text-center",children:[n.jsx("div",{className:"w-12 h-12 bg-purple-600 rounded-full flex items-center justify-center mx-auto mb-4",children:n.jsx(rn,{className:"h-6 w-6 text-white"})}),n.jsx("h3",{className:"text-xl font-bold text-purple-700 mb-3",children:"Qu
105ick Setup"}),n.jsx("p",{className:"text-purple-600 mb-4",children:"Get started with CallLive.ai in as little as 24 hours"}),n.jsx(Ae,{variant:"outline",className:"border-purple-600 text-purple-600 hover:bg-purple-50",onClick:()=>t(!0),children:"Get Started"})]})})})]})]})}),n.jsx(E.section,{className:"container mx-auto px-6 py-20",variants:r,initial:"hidden",whileInView:"visible",viewport:{once:!0},children:n.jsxs(E.div,{variants:s,className:"max-w-4xl mx-auto text-center",children:[n.jsx("h2",{className:"text-3xl md:text-5xl font-bold text-foreground mb-6",children:"Ready to Get Started?"}),n.jsx("p",{className:"text-xl text-muted-foreground mb-8 max-w-3xl mx-auto",children:"Join thousands of businesses already using CallLive.ai to transform their customer communication and boost sales."}),n.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:[n.jsxs(Ae,{size:"lg",className:"bg-indigo-600 hover:bg-indigo-700 text-white font-semibold px-12 py-6 text-lg",onClick:()=>t(!0),children:[n.jsx(ut,{className:"h-6 w-6 mr-3"}),"Book Free Demo"]}),n.jsxs(Ae,{size:"lg",variant:"outline",className:"font-semibold px-12 py-6 text-lg border-indigo-600 text-indigo-600 hover:bg-indigo-50",children:[n.jsx(ys,{className:"h-6 w-6 mr-3"}),"Try Live Demo"]})]}),n.jsx("p",{className:"text-sm text-muted-foreground mt-4",children:"Contact for demo ⢠Custom pricing ⢠Professional setup"})]})})]}),n.jsx(xn,{}),n.jsx(Vn,{open:e,onOpenChange:t,source:"demo"})]})},RB=()=>{const e={"@context":"https://schema.org","@graph":[{"@type":"Article",headline:"AI Voice Agents in India: Complete Guide for Business Leaders in 2024",description:"Comprehensive guide to AI voice agents for Indian businesses. Learn how AI voice technology transforms customer service, reduces costs, and scales operations with 24/7 automated call handling.",author:{"@type":"Organization",name:"CallLive.ai"},publisher:{"@type":"Organization",name:"CallLive.ai",logo:{"@type":"ImageObject",url:"https://calllive.ai/logo.png"}},datePublished:"2024-12-12",dateModified:"2024-12-12",articleSection:"Technology",keywords:"AI voice agents India, AI customer service India, voice automation business",mainEntityOfPage:{"@type":"WebPage","@id":"https://calllive.ai/blog/ai-voice-agents-india-guide"}},{"@type":"FAQPage",mainEntity:[{"@type":"Question",name:"What are AI voice agents and how do they work in India?",acceptedAnswer:{"@type":"Answer",text:"AI voice agents are intelligent systems that handle phone conversations automatically. In India, they support multiple languages including Hindi and regional languages, answer calls in 1.5 seconds, and work 24/7 to manage customer inquiries, appointments, and sales calls without human intervention."}},{"@type":"Question",name:"Do AI voice agents work with Indian languages?",acceptedAnswer:{"@type":"Answer",text:"Yes, modern AI voice agents like CallLive.ai support 10+ languages including Hindi, English, and various regional Indian languages. They can understand local accents and communicate naturally with customers across different linguistic backgrounds."}},{"@type":"Question",name:"How much do AI voice agents cost for Indian businesses?",acceptedAnswer:{"@type":"Answer",text:"AI voice agent pricing varies based on call volume and features. For specific pricing tailored to your Indian business needs, contact CallLive.ai for a customized quote. Most businesses see significant cost savings compared to hiring multiple customer service representatives."}},{"@type":"Question",name:"Can AI voice agents integrate with existing business systems in India?",acceptedAnswer:{"@type":"Answer",text:"Yes, AI voice agents can integrate with CRM systems, appointment booking software, and other business tools commonly used by Indian companies. This enables seamless data flow and automated workflows across your existing technology stack."}}]}]};return n.jsxs(n.Fragment,{children:[n.jsxs(Kn,{children:[n.jsx("title",{children:"AI Voice Agents in India: Complete Guide for Business Leaders in 2024"}),n.jsx("meta",{name:"description",content:"Comprehensive guide to AI voice agents for Indian businesses. Learn how AI voice technology transforms customer service, reduces costs, and scales operations with 24/7 automated call handling."}),n.jsx("meta",{name:"keywords",content:"AI voice agents India, AI customer service India, voice automation business, automated customer service, voice AI solutions, multilingual voice AI"}),n.jsx("link",{rel:"canonical",href:"https://calllive.ai/blog/ai-voice-agents-india-guide"}),n.jsx("meta",{property:"og:title",content:"AI Voice Agents in India: Complete Guide for Business Leaders in 2024"}),n.jsx("meta",{property:"og:description",content:"Comprehensive guide to AI voice agents for Indian businesses. Learn how AI voice technology transforms customer service, reduces costs, and scales operations."}),n.jsx("meta",{property:"og:type",content:"article"}),n.jsx("meta",{property:"og:url",content:"https://calllive.ai/blog/ai-voice-agents-india-guide"}),n.jsx("script",{type:"application/ld+json",children:JSON.stringify(e)})]}),n.jsxs("div",{className:"min-h-screen bg-gradient-to-b from-white via-indigo-50/20 to-white",children:[n.jsx(gn,{}),n.jsx("section",{className:"pt-32 pb-16 px-4",children:n.jsxs("div",{className:"max-w-4xl mx-auto",children:[n.jsxs("div",{className:"text-center mb-12",children:[n.jsxs("div",{className:"inline-flex items-center gap-2 px-4 py-2 bg-indigo-100 rounded-full text-indigo-700 text-sm font-medium mb-6",children:[n.jsx(rn,{className:"h-4 w-4"}),"Complete Guide 2024"]}),n.jsx("h1",{className:"text-4xl md:text-5xl font-bold text-foreground mb-6",children:"AI Voice Agents in India: Complete Guide for Business Leaders"}),n.jsx("p",{className:"text-lg text-gray-600 max-w-3xl mx-auto leading-relaxed",children:"Discover how AI voice agents are transforming customer service across Indian businesses. From startups to enterprises, learn how intelligent voice automation handles calls in 1.5 seconds, operates 24/7, and supports multiple Indian languages to drive growth and efficie
105ncy."})]}),n.jsxs("div",{className:"flex items-center justify-center gap-6 text-sm text-gray-600 mb-12",children:[n.jsx("span",{children:"Published: December 12, 2024"}),n.jsx("span",{children:"â¢"}),n.jsx("span",{children:"12 min read"}),n.jsx("span",{children:"â¢"}),n.jsx("span",{children:"Business Technology"})]})]})}),n.jsx("section",{className:"pb-16 px-4",children:n.jsx("div",{className:"max-w-4xl mx-auto",children:n.jsxs(te,{className:"mb-12",children:[n.jsx(dt,{children:n.jsx(ft,{children:"Table of Contents"})}),n.jsx(ne,{children:n.jsxs("ul",{className:"space-y-2 text-gray-600",children:[n.jsx("li",{children:n.jsx("a",{href:"#understanding-ai-voice-agents",className:"hover:text-indigo-600 transition-colors",children:"1. Understanding AI Voice Agents in the Indian Market"})}),n.jsx("li",{children:n.jsx("a",{href:"#business-challenges",className:"hover:text-indigo-600 transition-colors",children:"2. Critical Business Challenges AI Voice Agents Solve"})}),n.jsx("li",{children:n.jsx("a",{href:"#implementation-benefits",className:"hover:text-indigo-600 transition-colors",children:"3. Implementation Benefits for Indian Businesses"})}),n.jsx("li",{children:n.jsx("a",{href:"#real-world-applications",className:"hover:text-indigo-600 transition-colors",children:"4. Real-World Applications Across Industries"})}),n.jsx("li",{children:n.jsx("a",{href:"#choosing-solution",className:"hover:text-indigo-600 transition-colors",children:"5. Choosing the Right AI Voice Solution"})}),n.jsx("li",{children:n.jsx("a",{href:"#implementation-roadmap",className:"hover:text-indigo-600 transition-colors",children:"6. Implementation Roadmap for Success"})}),n.jsx("li",{children:n.jsx("a",{href:"#future-outlook",className:"hover:text-indigo-600 transition-colors",children:"7. Future Outlook and Emerging Trends"})})]})})]})})}),n.jsx("div",{className:"max-w-4xl mx-auto px-4 pb-16",children:n.jsxs("article",{className:"prose prose-lg max-w-none",children:[n.jsxs("section",{id:"understanding-ai-voice-agents",className:"mb-16",children:[n.jsxs("h2",{className:"text-3xl font-bold text-foreground mb-6 flex items-center gap-3",children:[n.jsx(ys,{className:"h-8 w-8 text-indigo-600"}),"Understanding AI Voice Agents in the Indian Market"]}),n.jsx("p",{className:"text-gray-600 text-lg leading-relaxed mb-6",children:"The Indian business landscape is rapidly embracing AI voice agents as a transformative solution for customer communication. Unlike traditional call centers that require extensive human resources, AI voice agents provide intelligent, automated phone handling that operates around the clock."}),n.jsx("p",{className:"text-gray-600 text-lg leading-relaxed mb-6",children:"In India's diverse linguistic environment, modern AI voice agents excel by supporting multiple languages including Hindi, English, and regional languages. This multilingual capability addresses one of the biggest challenges faced by businesses serving customers across different states and linguistic preferences."}),n.jsx(te,{className:"my-8 border-l-4 border-l-indigo-600",children:n.jsxs(ne,{className:"pt-6",children:[n.jsx("h3",{className:"text-xl font-semibold text-foreground mb-4",children:"Key Capabilities of Modern AI Voice Agents"}),n.jsxs("ul",{className:"space-y-3 text-gray-600",children:[n.jsxs("li",{className:"flex items-start gap-3",children:[n.jsx(Rt,{className:"h-5 w-5 text-indigo-600 mt-1 flex-shrink-0"}),n.jsxs("span",{children:[n.jsx("strong",{children:"1.5-second response time:"})," Instant call answering eliminates customer wait times"]})]}),n.jsxs("li",{className:"flex items-start gap-3",children:[n.jsx(Gt,{className:"h-5 w-5 text-indigo-600 mt-1 flex-shrink-0"}),n.jsxs("span",{children:[n.jsx("strong",{children:"10+ language support:"})," Seamless communication across Indian languages"]})]}),n.jsxs("li",{className:"flex items-start gap-3",children:[n.jsx(ar,{className:"h-5 w-5 text-indigo-600 mt-1 flex-shrink-0"}),n.jsxs("span",{children:[n.jsx("strong",{children:"24/7 availability:"})," Never miss important customer calls or inquiries"]})]}),n.jsxs("li",{className:"flex items-start gap-3",children:[n.jsx(Dn,{className:"h-5 w-5 text-indigo-600 mt-1 flex-shrink-0"}),n.jsxs("span",{children:[n.jsx("strong",{children:"Human-like conversations:"})," Natural interactions that feel authentic"]})]})]})]})}),n.jsx("p",{className:"text-gray-600 text-lg leading-relaxed",children:"For Indian businesses, this technology represents a significant opportunity to scale customer service operations without the traditional constraints of hiring, training, and managing large teams of human agents."})]}),n.jsxs("section",{id:"business-challenges",className:"mb-16",children:[n.jsxs("h2",{className:"text-3xl font-bold text-foreground mb-6 flex items-center gap-3",children:[n.jsx(Ya,{className:"h-8 w-8 text-indigo-600"}),"Critical Business Challenges AI Voice Agents Solve"]}),n.jsx("p",{className:"text-gray-600 text-lg leading-relaxed mb-6",children:"Indian businesses across sectors face common operational challenges that directly impact growth and customer satisfaction. According to industry research, companies lose significant revenue due to missed calls, delayed responses, and inconsistent customer service quality."}),n.jsxs("div",{className:"grid md:grid-cols-2 gap-6 my-8",children:[n.jsxs(te,{children:[n.jsx(dt,{children:n.jsxs(ft,{className:"text-xl flex items-center gap-2",children:[n.jsx(ut,{className:"h-5 w-5 text-brand-purple"}),"Missed Call Problem"]})}),n.jsx(ne,{children:n.jsx("p",{className:"text-brand-gray",children:"Small and medium businesses often miss 40-60% of incoming calls during busy periods or after hours. Each missed call represents a potential lost customer or revenue opportunity."})})]}),n.jsxs(te,{children:[n.jsx(dt,{children:n.jsxs(ft,{className:"text-xl flex items-center gap-2",children:[n.jsx(Dn,{className:"h-5 w-5 text-brand-purple"}),"Scaling Challenges"]})}),n.jsx(ne,{children:n.jsx("p",{className:"text-brand-gray",children:"Hiring and training customer service staff is expensive and time-consuming. Staff turnover rates in customer service roles remain high, creating operational instability."})})]}),n.jsxs(te,{children:[n.jsx(dt,{children:n.jsxs(ft,{className:"text-xl flex items-center gap-2",children:[n.jsx(Gt,{className:"h-5 w-5 text-brand-purple"}),"Language Barriers"]})}),n.jsx(ne,{children:n.jsx("p",{className:"text-brand-gray",children:"Serving customers who speak different Indian languages requires multilingual staff, significantly increasing operational complexity and costs."})})]}),n.jsxs(te,{children:[n.jsx(dt,{children:n.jsxs(ft,{className:"text-xl flex items-center gap-2",children:[n.jsx(Rt,{className:"h-5 w-5 text-brand-purple"}),"Limited Operating Hours"]})}),n.jsx(ne,{children:n.jsx("p",{className:"text-brand-gray",children:"Traditional business hours limit customer reach, especially for businesses targeting customers across multiple time zones or those working unconventional hours."})})]})]}),n.jsx("p",{className:"text-brand-gray text-lg leading-relaxed",children:"These challenges compound for growing businesses, creating bottlenecks that prevent scaling and reduce competitive advantage in India's fast-moving market environment."})]}),n.jsxs("section",{id:"implementation-benefits",className:"mb-16",children:[n.jsxs("h2",{className:"text-3xl font-bold text-foreground mb-6 flex items-center gap-3",children:[n.jsx(Tr,{className:"h-8 w-8 text-indigo-600"}),"Implementation Benefits for Indian Businesses"]}),n.jsx("p",{className:"text-gray-600 text-lg leading-relaxed mb-6",children:"Implementing AI voice agents delivers measurable business improvements across operational efficiency, customer satisfaction, and revenue generation. Indian businesses adopting this technology report significant advantages in competitive positioning."}),n.jsx(te,{className:"my-8 bg-gradient-to-r from-indigo-50/50 to-purple-50/30 border-indigo-200/50",children:n.jsxs(ne,{className:"pt-6",children:[n.jsx("h3",{className:"text-xl font-semibold text-foreground mb-6",children:"Immediate Operational Benefits"}),n.jsxs("div",{className:"space-y-6",children:[n.jsxs("div",{className:"flex items-start gap-4",children:[n.jsx("div",{className:"w-8 h-8 bg-indigo-100 rounded-full flex items-center justify-center flex-shrink-0",children:n.jsx("span",{className:"text-indigo-600 font-semibold",children:"1"})}),n.jsxs("div",{children:[n.jsx("h4",{className:"font-semibold text-foreground mb-2",children:"Instant Response Capability"}),n.jsx("p",{className:"text-gray-600",children:"Every call receives immediate attention with 1.5-second response times, eliminating customer frustration and demonstrating professional responsiveness that builds trust."})]})]}),n.jsxs("div",{className:"flex items-start gap-4",children:[n.jsx("div",{className:"w-8 h-8 bg-indigo-100 rounded-full flex items-center justify-center flex-shrink-0",children:n.jsx("span",{className:"text-indigo-600 font-semibold",children:"2"})}),n.jsxs("div",{children:[n.jsx("h4",{className:"font-semibold text-foreground mb-2",children:"24/7 Business Availability"}),n.jsx("p",{className:"text-gray-600",children:"Capture opportunities outside traditional business hours, accommodating customers who call early mornings, late evenings, or during weekends and holidays."})]})]}),n.jsxs("div",{className:"flex items-start gap-4",children:[n.jsx("div",{className:"w-8 h-8 bg-indigo-100 rounded-full flex items-center justify-center flex-shrink-0",children:n.jsx("span",{className:"text-indigo-600 font-semibold",children:"3"})}),n.jsxs("div",{children:[n.jsx("h4",{className:"font-semibold text-foreground mb-2",children:"Consistent Service Quality"}),n.jsx("p",{className:"text-brand-gray",children:"Deliver the same high-quality customer experience on every call, regardless of call volume, time of day, or staff availability challenges."})]})]}),n.jsxs("div",{className:"flex items-start gap-4",children:[n.jsx("div",{className:"w-8 h-8 bg-brand-purple/10 rounded-full flex items-center justify-center flex-shrink-0",children:n.jsx("span",{className:"text-brand-purple font-semibold",children:"4"})}),n.jsxs("div",{children:[n.jsx("h4",{className:"font-semibold text-foreground mb-2",children:"Multilingual Communication"}),n.jsx("p",{className:"text-brand-gray",children:"Serve customers in their preferred language without hiring multilingual staff, expanding market reach across India's diverse linguistic landscape."})]})]})]})]})}),n.jsx("p",{className:"text-brand-gray text-lg leading-relaxed mb-6",children:"Beyond immediate operational improvements, AI voice agents enable strategic business advantages. Companies can reallocate human resources to higher-value activities while maintaining excellent customer service standards."}),n.jsx("p",{className:"text-brand-gray text-lg leading-relaxed",children:"The technology also provides valuable data insights about customer inquiries, peak call times, and common questions, enabling data-driven business decisions and service improvements."})]}),n.jsxs("section",{id:"real-world-applications",className:"mb-16",children:[n.jsxs("h2",{className:"text-3xl font-bold text-foreground mb-6 flex items-center gap-3",children:[n.jsx(rn,{className:"h-8 w-8 text-brand-purple"}),"Real-World Applications Across Industries"]}),n.jsx("p",{className:"text-brand-gray text-lg leading-relaxed mb-6",children:"AI voice agents adapt to various industry requirements, handling specific business scenarios with intelligent conversation flows. Indian businesses across sectors leverage this technology for different operational needs."}),n.jsxs("div",{className:"space-y-8",children:[n.jsxs(te,{children:[n.jsx(dt,{children:n.jsx(ft,{className:"text-xl text-brand-purple",children:"Healthcare & Medical Services"})}),n.jsxs(ne,{children:[n.jsx("p",{className:"text-brand-gray mb-4",children:"Medical practices use AI voice agents for appointment scheduling, prescription inquiries, and basic health information. Patients receive immediate assistance for non-emergency questions, while staff focus on direct patient care."}),n.jsx("div",{className:"bg-muted/50 p-4 rounded-lg",children:n.jsx("p",{className:"text-brand-gray italic",children:`"Dr. Sharma's clinic handles 200+ appointment calls daily. AI voice agents schedule appointments in Hindi and English, check availability, and send confirmations automatically, reducing administrative workload by 70%."`})})]})]}),n.jsxs(te,{children:[n.jsx(dt,{children:n.jsx(ft,{className:"text-xl text-brand-purple",children:"Real Estate & Property"})}),n.jsxs(ne,{children:[n.jsx("p",{className:"text-brand-gray mb-4",children:"Property developers and real estate agencies use AI voice agents to qualify leads, provide property information, and schedule site visits. This ensures no potential buyer inquiry goes unanswered during peak interest periods."}),n.jsx("div",{className:"bg-muted/50 p-4 rounded-lg",children:n.jsx("p",{className:"text-brand-gray italic",children:'"Mumbai-based developer captures evening and weekend inquiries through AI voice agents, qualifying serious buyers and scheduling site visits. Response time improvements led to 40% more qualified leads."'})})]})]}),n.jsxs(te,{children:[n.jsx(dt,{children:n.jsx(ft,{className:"text-xl text-brand-purple",children:"E-commerce & Retail"})}),n.jsxs(ne,{children:[n.jsx("p",{className:"text-brand-gray mb-4",children:"Online retailers handle order confirmations, delivery inquiries, and product questions through AI voice agents. Customers receive instant support for urgent delivery concerns and order modifications."}),n.jsx("div",{className:"bg-muted/50 p-4 rounded-lg",children:n.jsx("p",{className:"text-brand-gray italic",children:'"Fashion e-commerce startup manages 1000+ daily customer calls during festival seasons, providing order updates and handling returns through intelligent voice automation while maintaining personal touch."'})})]})]}),n.jsxs(te,{children:[n.jsx(dt,{children:n.jsx(ft,{className:"text-xl text-brand-purple",children:"Financial Services"})}),n.jsxs(ne,{children:[n.jsx("p",{className:"text-brand-gray mb-4",children:"Insurance companies and financial advisors use AI voice agents for policy inquiries, claim status updates, and appointment scheduling. Secure voice authentication ensures customer privacy while providing immediate assistance."}),n.jsx("div",{className:"bg-muted/50 p-4 rounded-lg",children:n.jsx("p",{className:"text-brand-gray italic",children:'"Regional insurance company handles policy renew
105als and claim inquiries through AI voice agents in 5 Indian languages, serving rural customers who prefer phone communication over digital channels."'})})]})]})]}),n.jsx("p",{className:"text-brand-gray text-lg leading-relaxed mt-6",children:"These applications demonstrate how AI voice agents adapt to industry-specific requirements while maintaining natural, helpful conversations that customers appreciate and trust."})]}),n.jsxs("section",{id:"choosing-solution",className:"mb-16",children:[n.jsxs("h2",{className:"text-3xl font-bold text-foreground mb-6 flex items-center gap-3",children:[n.jsx(ar,{className:"h-8 w-8 text-brand-purple"}),"Choosing the Right AI Voice Solution"]}),n.jsx("p",{className:"text-brand-gray text-lg leading-relaxed mb-6",children:"Selecting an AI voice agent solution requires evaluating technical capabilities, business requirements, and long-term scalability. Indian businesses should prioritize solutions that understand local market needs and linguistic diversity."}),n.jsxs(te,{className:"my-8",children:[n.jsx(dt,{children:n.jsx(ft,{children:"Essential Evaluation Criteria"})}),n.jsx(ne,{children:n.jsxs("div",{className:"space-y-6",children:[n.jsxs("div",{children:[n.jsxs("h4",{className:"font-semibold text-foreground mb-2 flex items-center gap-2",children:[n.jsx(Gt,{className:"h-4 w-4 text-brand-purple"}),"Language Support & Localization"]}),n.jsx("p",{className:"text-brand-gray text-sm",children:"Verify support for languages your customers speak. Look for solutions offering Hindi, English, and relevant regional languages with accurate accent recognition."})]}),n.jsxs("div",{children:[n.jsxs("h4",{className:"font-semibold text-foreground mb-2 flex items-center gap-2",children:[n.jsx(Rt,{className:"h-4 w-4 text-brand-purple"}),"Response Speed & Reliability"]}),n.jsx("p",{className:"text-brand-gray text-sm",children:"Test actual response times and system reliability. Solutions should consistently answer calls within 2-3 seconds and maintain high uptime."})]}),n.jsxs("div",{children:[n.jsxs("h4",{className:"font-semibold text-foreground mb-2 flex items-center gap-2",children:[n.jsx(Ya,{className:"h-4 w-4 text-brand-purple"}),"Integration Capabilities"]}),n.jsx("p",{className:"text-brand-gray text-sm",children:"Ensure compatibility with your existing CRM, appointment booking, or business management systems for seamless data flow."})]}),n.jsxs("div",{children:[n.jsxs("h4",{className:"font-semibold text-foreground mb-2 flex items-center gap-2",children:[n.jsx(Dn,{className:"h-4 w-4 text-brand-purple"}),"Conversation Quality"]}),n.jsx("p",{className:"text-brand-gray text-sm",children:"Test conversation flow naturalness and the system's ability to handle complex customer requests specific to your business."})]})]})})]}),n.jsxs("p",{className:"text-brand-gray text-lg leading-relaxed mb-6",children:[n.jsx(Kt,{to:"/features/multilingual-voice-agents",className:"text-brand-purple hover:underline",children:"CallLive.ai specializes in multilingual voice agents"})," designed for Indian businesses, offering 10+ language support, 1.5-second response times, and seamless integration with existing business systems."]}),n.jsx("p",{className:"text-brand-gray text-lg leading-relaxed",children:"Consider starting with a focused implementation covering your most common customer inquiries, then expanding capabilities based on results and customer feedback."})]}),n.jsxs("section",{id:"implementation-roadmap",className:"mb-16",children:[n.jsxs("h2",{className:"text-3xl font-bold text-foreground mb-6 flex items-center gap-3",children:[n.jsx(it,{className:"h-8 w-8 text-brand-purple"}),"Implementation Roadmap for Success"]}),n.jsx("p",{className:"text-brand-gray text-lg leading-relaxed mb-6",children:"Successful AI voice agent implementation follows a structured approach that minimizes business disruption while maximizing adoption success. Indian businesses benefit from phased rollouts that allow for testing and refinement."}),n.jsxs("div",{className:"space-y-6",children:[n.jsx(te,{className:"border-l-4 border-l-brand-purple",children:n.jsxs(ne,{className:"pt-6",children:[n.jsx("h3",{className:"text-xl font-semibold text-foreground mb-4",children:"Phase 1: Planning & Preparation (Week 1-2)"}),n.jsxs("ul",{className:"space-y-2 text-brand-gray",children:[n.jsx("li",{children:"⢠Define specific use cases and customer scenarios"}),n.jsx("li",{children:"⢠Identify key languages and conversation flows needed"}),n.jsx("li",{children:"⢠Document current call handling processes and pain points"}),n.jsx("li",{children:"⢠Set measurable success metrics and goals"})]})]})}),n.jsx(te,{className:"border-l-4 border-l-brand-purple-light",children:n.jsxs(ne,{className:"pt-6",children:[n.jsx("h3",{className:"text-xl font-semibold text-foreground mb-4",children:"Phase 2: Setup & Configuration (Week 3-4)"}),n.jsxs("ul",{className:"space-y-2 text-brand-gray",children:[n.jsx("li",{children:"⢠Configure voice agent responses for your business scenarios"}),n.jsx("li",{children:"⢠Set up integrations with existing systems"}),n.jsx("li",{children:"⢠Test conversation flows in relevant languages"}),n.jsx("li",{children:"⢠Train team members on monitoring and management"})]})]})}),n.jsx(te,{className:"border-l-4 border-l-brand-purple",children:n.jsxs(ne,{className:"pt-6",children:[n.jsx("h3",{className:"text-xl font-semibold text-foreground mb-4",children:"Phase 3: Pilot Launch (Week 5-6)"}),n.jsxs("ul",{className:"space-y-2 text-brand-gray",children:[n.jsx("li",{children:"⢠Start with limited hours or specific call types"}),n.jsx("li",{children:"⢠Monitor performance and customer feedback closely"}),n.jsx("li",{children:"⢠Refine conversation scripts based on real interactions"}),n.jsx("li",{children:"⢠Document lessons learned and optimization opportunities"})]})]})}),n.jsx(te,{className:"border-l-4 border-l-brand-purple-light",children:n.jsxs(ne,{className:"pt-6",children:[n.jsx("h3",{className:"text-xl font-semibold text-foreground mb-4",children:"Phase 4: Full Deployment (Wee
105k 7+)"}),n.jsxs("ul",{className:"space-y-2 text-brand-gray",children:[n.jsx("li",{children:"⢠Expand to 24/7 operation and all call types"}),n.jsx("li",{children:"⢠Implement ongoing performance monitoring"}),n.jsx("li",{children:"⢠Scale to additional languages or services as needed"}),n.jsx("li",{children:"⢠Measure ROI and business impact regularly"})]})]})})]}),n.jsx("p",{className:"text-brand-gray text-lg leading-relaxed mt-6",children:"This phased approach allows businesses to validate effectiveness before full commitment while ensuring smooth transition for both staff and customers."})]}),n.jsxs("section",{id:"future-outlook",className:"mb-16",children:[n.jsxs("h2",{className:"text-3xl font-bold text-foreground mb-6 flex items-center gap-3",children:[n.jsx(Tr,{className:"h-8 w-8 text-brand-purple"}),"Future Outlook and Emerging Trends"]}),n.jsx("p",{className:"text-brand-gray text-lg leading-relaxed mb-6",children:"The AI voice technology landscape continues evolving rapidly, with significant improvements in natural language understanding, emotional intelligence, and integration capabilities. Indian businesses adopting early position themselves advantageously for future developments."}),n.jsxs("div",{className:"grid md:grid-cols-2 gap-6 my-8",children:[n.jsxs(te,{children:[n.jsx(dt,{children:n.jsx(ft,{className:"text-lg",children:"Enhanced Regional Language Support"})}),n.jsx(ne,{children:n.jsx("p",{className:"text-brand-gray text-sm",children:"Expanding support for regional Indian languages and dialects, enabling businesses to serve customers in their native languages with greater accuracy and cultural context."})})]}),n.jsxs(te,{children:[n.jsx(dt,{children:n.jsx(ft,{className:"text-lg",children:"Advanced Integration Capabilities"})}),n.jsx(ne,{children:n.jsx("p",{className:"text-brand-gray text-sm",children:"Deeper integration with business systems, enabling AI voice agents to access real-time data, process transactions, and perform complex business operations during calls."})})]}),n.jsxs(te,{children:[n.jsx(dt,{children:n.jsx(ft,{className:"text-lg",children:"Emotional Intelligence"})}),n.jsx(ne,{children:n.jsx("p",{className:"text-brand-gray text-sm",children:"Recognition of customer emotions and sentiment, allowing voice agents to adjust conversation tone and approach based on customer mood and satisfaction levels."})})]}),n.jsxs(te,{children:[n.jsx(dt,{children:n.jsx(ft,{className:"text-lg",children:"Industry-Specific Intelligence"})}),n.jsx(ne,{children:n.jsx("p",{className:"text-brand-gray text-sm",children:"Specialized knowledge bases for healthcare, finance, real estate, and other sectors, enabling more sophisticated and accurate responses to industry-specific inquiries."})})]})]}),n.jsx("p",{className:"text-brand-gray text-lg leading-relaxed",children:"Businesses implementing AI voice agents today build foundational capabilities that will expand with these technological advances, creating compound benefits over time. Early adoption provides competitive advantages and operational experience that becomes increasingly valuable as the technology matures."})]}),n.jsx("section",{className:"mb-16",children:n.jsx(te,{className:"bg-gradient-to-r from-brand-purple/5 to-brand-purple-light/5 border-brand-purple/20",children:n.jsxs(ne,{className:"pt-6",children:[n.jsx("h2",{className:"text-2xl font-bold text-foreground mb-4",children:"Conclusion"}),n.jsx("p",{className:"text-brand-gray text-lg leading-relaxed mb-6",children:"AI voice agents represent a transformative opportunity for Indian businesses to enhance customer service, reduce operational costs, and scale operations efficiently. The technology's ability to handle calls in 1.5 seconds, operate 24/7, and communicate in multiple Indian languages addresses critical business challenges while enabling growth."}),n.jsx("p",{className:"text-brand-gray text-lg leading-relaxed mb-6",children:"Success requires careful planning, phased implementation, and ongoing optimization. Businesses that start with focused use cases and expand gradually achieve the best results while minimizing disruption to existing operations."}),n.jsxs("div",{className:"flex flex-col sm:flex-row gap-4",children:[n.jsx(Ae,{asChild:!0,size:"lg",className:"bg-brand-purple hover:bg-brand-purple/90",children:n.jsxs(Kt,{to:"/demo",children:["Book a Demo",n.jsx(it,{className:"ml-2 h-4 w-4"})]})}),n.jsx(Ae,{asChild:!0,variant:"outline",size:"lg",children:n.jsx(Kt,{to:"/use-cases/outbound-sales",children:"Explore Use Cases"})})]})]})})}),n.jsxs("section",{className:"mb-16",children:[n.jsx(qt,{title:"Frequently Asked Questions",subtitle:"Common questions about AI voice agents for Indian businesses",align:"left",showAnimation:!1}),n.jsxs(wv,{type:"single",collapsible:!0,className:"w-full mt-8",children:[n.jsxs(us,{value:"what-are-ai-voice-agents",children:[n.jsx(ms,{children:"What are AI voice agents and how do they work in India?"}),n.jsx(fs,{children:"AI voice agents are intelligent systems that handle phone conversations automatically. In India, they support multiple languages including Hindi and regional languages, answer calls in 1.5 seconds, and work 24/7 to manage customer inquiries, appointments, and sales calls without human intervention."})]}),n.jsxs(us,{value:"indian-languages",children:[n.jsx(ms,{children:"Do AI voice agents work with Indian languages?"}),n.jsx(fs,{children:"Yes, modern AI voice agents like CallLive.ai support
10510+ languages including Hindi, English, and various regional Indian languages. They can understand local accents and communicate naturally with customers across different linguistic backgrounds."})]}),n.jsxs(us,{value:"cost",children:[n.jsx(ms,{children:"How much do AI voice agents cost for Indian businesses?"}),n.jsx(fs,{children:"AI voice agent pricing varies based on call volume and features. For specific pricing tailored to your Indian business needs, contact CallLive.ai for a customized quote. Most businesses see significant cost savings compared to hiring multiple customer service representatives."})]}),n.jsxs(us,{value:"integration",children:[n.jsx(ms,{children:"Can AI voice agents integrate with existing business systems in India?"}),n.jsx(fs,{children:"Yes, AI voice agents can integrate with CRM systems, appointment booking software, and other business tools commonly used by Indian companies. This enables seamless data flow and automated workflows across your existing technology stack."})]}),n.jsxs(us,{value:"setup-time",children:[n.jsx(ms,{children:"How long does it take to set up AI voice agents for my business?"}),n.jsx(fs,{children:"Implementation typically takes 4-6 weeks for full deployment, including planning, configuration, testing, and gradual rollout. Many businesses start seeing benefits within the first 2 weeks of pilot operation."})]}),n.jsxs(us,{value:"reliability",children:[n.jsx(ms,{children:"How reliable are AI voice agents for critical business calls?"}),n.jsx(fs,{children:"Modern AI voice agents maintain high reliability with 99.9% uptime and consistent performance. They include backup systems and escalation protocols to ensure critical calls are always handled appropriately."})]})]})]}),n.jsxs("section",{className:"mb-16",children:[n.jsx(qt,{title:"Related Resources",subtitle:"Explore more about AI voice technology for your business",align:"left",showAnimation:!1}),n.jsxs("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6 mt-8",children:[n.jsxs(te,{className:"hover:shadow-lg transition-shadow",children:[n.jsx(dt,{children:n.jsx(ft,{className:"text-lg",children:n.jsx(Kt,{to:"/use-cases/healthcare",className:"text-brand-purple hover:underline",children:"Healthcare AI Voice Solutions"})})}),n.jsx(ne,{children:n.jsx("p",{className:"text-brand-gray text-sm",children:"Discover how healthcare providers use AI voice agents for appointment scheduling and patient communication."})})]}),n.jsxs(te,{className:"hover:shadow-lg transition-shadow",children:[n.jsx(dt,{children:n.jsx(ft,{className:"text-lg",children:n.jsx(Kt,{to:"/use-cases/real-estate",className:"text-brand-purple hover:underline",children:"Real Estate Voice Automation"})})}),n.jsx(ne,{children:n.jsx("p",{className:"text-brand-gray text-sm",children:"Learn how real estate businesses qualify leads and schedule property visits with AI voice agents."})})]}),n.jsxs(te,{className:"hover:shadow-lg transition-shadow",children:[n.jsx(dt,{children:n.jsx(ft,{className:"text-lg",children:n.jsx(Kt,{to:"/features/24-7-call-answering",className:"text-brand-purple hover:underline",children:"24/7 Call Answering"})})}),n.jsx(ne,{children:n.jsx("p",{className:"text-brand-gray text-sm",children:"Explore comprehensive 24/7 call answering capabilities and business benefits."})})]})]})]})]})}),n.jsx(xn,{})]})]})},MB=()=>{const[e,t]=g.useState(!1),r={"@context":"https://schema.org","@graph":[{"@type":"Article",headline:"Multilingual AI Voice Agents: Breaking Language Barriers in Indian Business",description:"Discover how multilingual AI voice agents transform customer service across India's diverse linguistic landscape. Support 10+ languages including Hindi and regional languages with 24/7 automated call handling.",author:{"@type":"Organization",name:"CallLive.ai"},publisher:{"@type":"Organization",name:"CallLive.ai",logo:{"@type":"ImageObject",url:"https://calllive.ai/logo.png"}},datePublished:"2024-12-12",dateModified:"2024-12-12",articleSection:"Technology",keywords:"multilingual voice AI, Hindi voice AI, regional language automation, multilingual customer service India",mainEntityOfPage:{"@type":"WebPage","@id":"https://calllive.ai/blog/multilingual-ai-voice-agents-india"}},{"@type":"FAQPage",mainEntity:[{"@type":"Question",name:"Which languages do multilingual AI voice agents support in India?",acceptedA
105nswer:{"@type":"Answer",text:"CallLive.ai supports 10+ languages including Hindi, English, Tamil, Telugu, Bengali, Marathi, Gujarati, Kannada, Malayalam, and Punjabi. Our AI voice agents understand regional accents and communicate naturally in each language."}},{"@type":"Question",name:"How accurate are AI voice agents with Indian regional languages?",acceptedAnswer:{"@type":"Answer",text:"Our multilingual AI voice agents achieve high accuracy across Indian languages by training on diverse regional datasets. They understand local accents, cultural nuances, and can seamlessly switch between languages during conversations."}},{"@type":"Question",name:"Can multilingual AI voice agents handle code-switching between languages?",acceptedAnswer:{"@type":"Answer",text:"Yes, CallLive.ai's multilingual voice agents can handle code-switching, where customers mix languages like Hindi-English or regional language combinations. This reflects natural Indian communication patterns."}},{"@type":"Question",name:"Do multilingual AI voice agents understand cultural context for each language?",acceptedAnswer:{"@type":"Answer",text:"Absolutely. Our AI voice agents are trained to understand cultural nuances, formal vs informal communication styles, and appropriate responses for different linguistic and cultural contexts across India."}}]}]},s=[{title:"Executive Summary",href:"#executive-summary"},{title:"The Multilingual Challenge",href:"#challenge"},{title:"Language Support Overview",href:"#languages"},{title:"Advanced AI Capabilities",href:"#capabilities"},{title:"Business Benefits",href:"#benefits"},{title:"Industry Applications",href:"#applications"},{title:"Implementation Guide",href:"#implementation"},{title:"Success Metrics",href:"#metrics"},{title:"FAQ",href:"#faq"},{title:"Related Resources",href:"#resources"}],a=[{name:"Hindi",region:"North India",speakers:"600M+",family:"Indo-Aryan",accuracy:"98%"},{name:"English",region:"Pan India",speakers:"125M+",family:"Germanic",accuracy:"99%"},{name:"Tamil",region:"Tamil Nadu",speakers:"75M+",family:"Dravidian",accuracy:"97%"},{name:"Telugu",region:"Andhra Pradesh, Telangana",speakers:"75M+",family:"Dravidian",accuracy:"97%"},{name:"Bengali",region:"West Bengal",speakers:"95M+",family:"Indo-Aryan",accuracy:"96%"},{name:"Marathi",region:"Maharashtra",speakers:"85M+",family:"Indo-Aryan",accuracy:"96%"},{name:"Gujarati",region:"Gujarat",speakers:"65M+",family:"Indo-Aryan",accuracy:"95%"},{name:"Kannada",region:"Karnataka",speakers:"45M+",family:"Dravidian",accuracy:"95%"},{name:"Malayalam",region:"Kerala",speakers:"35M+",family:"Dravidian",accuracy:"94%"},{name:"Punjabi",region:"Punjab",speakers:"30M+",family:"Indo-Aryan",accuracy:"94%"}],l=[{icon:n.jsx(Gt,{className:"h-8 w-8 text-primary"}),title:"Regional Market Expansion",description:"Businesses struggle to enter new regional markets due to language barriers, missing opportunities in diverse linguistic communities.",impact:"40% lost opportunities"},{icon:n.jsx(Dn,{className:"h-8 w-8 text-primary"}),title:"Customer Communication Gaps",description:"Non-native speakers feel disconnected when forced to communicate in unfamiliar languages, leading to poor customer experience.",impact:"65% prefer native language"},{icon:n.jsx(Ya,{className:"h-8 w-8 text-primary"}),title:"Hiring Language-Specific Staff",description:"Finding and maintaining multilingual customer service teams is expensive and operationally complex across different regions.",impact:"3x higher costs"}],c=[{icon:n.jsx(Tr,{className:"h-8 w-8 text-secondary"}),title:"Market Reach Expansion",description:"Access untapped regional markets by communicating in local languages, increasing customer acquisition by up to 40%.",metric:"+40% acquisition"},{icon:n.jsx(Q1,{className:"h-8 w-8 text-secondary"}),title:"Enhanced Customer Satisfaction",description:"Customers prefer communicating in their native language, leading to higher satisfaction scores and improved loyalty.",metric:"+35% satisfaction"},{icon:n.jsx(ut,{className:"h-8 w-8 text-secondary"}),title:"Operational Efficiency",description:"Single AI system handles multiple languages 24/7, eliminating the need for separate language-specific supp
105ort teams.",metric:"-60% costs"}],d=[{industry:"E-commerce & Retail",description:"Handle product inquiries, order status, and returns in regional languages",languages:["Hindi","Tamil","Bengali"],useCase:"A Mumbai-based fashion retailer increased Tamil Nadu sales by 45% after implementing Tamil AI voice support",roi:"ROI: 280% in 6 months"},{industry:"Financial Services",description:"Provide banking support, loan inquiries, and financial advice across languages",languages:["Hindi","Gujarati","Marathi"],useCase:"Regional bank improved customer satisfaction by 50% with multilingual voice agents for loan processing",roi:"ROI: 320% in 8 months"},{industry:"Healthcare",description:"Appointment booking, health inquiries, and medical support in native languages",languages:["Telugu","Kannada","Malayalam"],useCase:"Hospital chain in South India reduced missed appointments by 35% with multilingual reminder calls",roi:"ROI: 250% in 4 months"},{industry:"Real Estate",description:"Property inquiries, site visits, and documentation support across regions",languages:["Punjabi","Hindi","English"],useCase:"Property developer in Delhi NCR expanded to Punjab market, increasing leads by 60%",roi:"ROI: 400% in 12 months"}],m=[{step:1,title:"Language Requirements Analysis",description:"Identify target markets and primary languages spoken by your customer base",timeline:"1-2 weeks",deliverable:"Language strategy document"},{step:2,title:"AI Voice Agent Configuration",description:"Configure multilingual voice agents with your business-specific terminology and workflows",timeline:"2-3 weeks",deliverable:"Configured multilingual AI system"},{step:3,title:"Cultural Context Training",description:"Train AI agents on cultural nuances and communication preferences for each language",timeline:"1-2 weeks",deliverable:"Culturally-aware AI responses"},{step:4,title:"Testing & Optimization",description:"Comprehensive testing with native speakers and performance optimization",timeline:"2-3 weeks",deliverable:"Production-ready system"},{step:5,title:"Launch & Monitoring",description:"Gradual rollout with continuous monitoring and performance optimization",timeline:"Ongoing",deliverable:"Live multilingual support"}],f=[{metric:"Language Recognition Accuracy",value:"98%",description:"Accurate identification of customer's preferred language"},{metric:"Response Time (All Languages)",value:"1.5s",description:"Average response time across all supported languages"},{metric:"Cultural Appropriateness Score",value:"95%",description:"Contextually and culturally appropriate responses"},{metric:"Customer Satisfaction Increase",value:"+35%",description:"Improvement in customer satisfaction scores"},{metric:"Market Expansion Rate",value:"+40%",description:"Increase in regional market penetration"},{metric:"Operational Cost Reduction",value:"-60%",description:"Reduction in multilingual support costs"}],p=[{question:"Which languages do multilingual AI voice agents support in India?",answer:"CallLive.ai supports 10+ languages including Hindi, English, Tamil, Telugu, Bengali, Marathi, Gujarati, Kannada, Malayalam, and Punjabi. Our AI voice agents understand regional accents and communicate naturally in each language."},{question:"How accurate are AI voice agents with Indian regional languages?",answer:"Our multilingual AI voice agents achieve 94-99% accuracy across Indian languages by training on diverse regional datasets. They understand local accents, cultural nuances, and can seamlessly switch between languages during conversations."},{question:"Can multilingual AI voice agents handle code-switching between languages?",answer:"Yes, CallLive.ai's multilingual voice agents can handle code-switching, where customers mix languages like Hindi-English or regional language combinations. This reflects natural Indian communication patterns and improves customer comfort."},{question:"How long does it take to implement multilingual AI voice agents?",answer:"Implementation typically takes 6-10 weeks, including language analysis, configuration, cultural training, testing, and gradual rollout. We provide dedicated support throughout the process."},{question:"Do multilingual AI voice agents understand cultural context for each language?",answer:"Absolutely. Our AI voice agents are trained to understand cultural nuances, formal vs informal communication styles, and appropriate responses for different linguistic and cultural contexts across India."},{question:"What is the cost difference between multilingual AI and human agents?",answer:"Multilingual AI voice agents typically reduce costs by 60% compared to maintaining separate language-specific human teams, while providing 24/7 availability and consistent quality across all languages."}
105],x=[{title:"AI Voice Agents for Healthcare: Improving Patient Communication",type:"Blog Article",link:"/blog/ai-voice-agents-healthcare-patient-communication",description:"Learn how AI voice agents transform healthcare communication with HIPAA-compliant solutions."},{title:"Multilingual Voice Agents Feature Overview",type:"Product Page",link:"/features/multilingual-voice-agents",description:"Explore the complete capabilities of our multilingual AI voice agent platform."},{title:"Hospitality Use Case: Multilingual Guest Services",type:"Use Case",link:"/use-cases/hospitality",description:"See how hotels and restaurants use multilingual AI for enhanced guest experiences."},{title:"Real Estate Voice Agents: Property Inquiries Across Languages",type:"Use Case",link:"/use-cases/real-estate",description:"Discover how real estate businesses expand markets with multilingual voice support."}];return n.jsxs(n.Fragment,{children:[n.jsxs(Kn,{children:[n.jsx("title",{children:"Multilingual AI Voice Agents: Breaking Language Barriers in Indian Business"}),n.jsx("meta",{name:"description",content:"Transform customer service across India's 22 official languages with AI voice agents. Support Hindi, Tamil, Telugu & more with 98% accuracy and cultural understanding."}),n.jsx("meta",{name:"keywords",content:"multilingual voice AI, Hindi voice AI, regional language automation, multilingual customer service India, AI voice agents languages"}),n.jsx("link",{rel:"canonical",href:"https://calllive.ai/blog/multilingual-ai-voice-agents-india"}),n.jsx("meta",{property:"og:title",content:"Multilingual AI Voice Agents: Breaking Language Barriers in Indian Business"}),n.jsx("meta",{property:"og:description",content:"Transform customer service across India's diverse linguistic landscape with multilingual AI voice agents supporting 10+ languages."}),n.jsx("meta",{property:"og:type",content:"article"}),n.jsx("meta",{property:"og:url",content:"https://calllive.ai/blog/multilingual-ai-voice-agents-india"}),n.jsx("script",{type:"application/ld+json",children:JSON.stringify(r)})]}),n.jsxs("div",{className:"min-h-screen bg-background",children:[n.jsx(gn,{}),n.jsx("section",{className:"py-20 px-4",children:n.jsx("div",{className:"container mx-auto max-w-4xl",children:n.jsxs(E.div,{className:"text-center mb-12",initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6},children:[n.jsxs("div",{className:"inline-flex items-center gap-2 bg-primary/10 text-primary px-4 py-2 rounded-full text-sm font-medium mb-6",children:[n.jsx(Xu,{className:"h-4 w-4"}),"Multilingual AI Technology"]}),n.jsxs("h1",{className:"text-4xl md:text-5xl font-bold text-foreground mb-6 leading-tight",children:["Breaking Language Barriers with"," ",n.jsx("span",{className:"bg-gradient-to-r from-indigo-600 via-purple-600 to-indigo-600 bg-clip-text text-transparent",children:"Multilingual AI Voice Agents"})]}),n.jsx("p",{className:"text-xl text-muted-foreground mb-8 leading-relaxed",children:"Transform your customer service across India's 22 official languages. Support Hindi, Tamil, Telugu & more with 98% accuracy, cultural understanding, and 24/7 availability."}),n.jsxs("div",{className:"flex items-center justify-center gap-4 text-sm text-muted-foreground mb-8",children:[n.jsxs("div",{className:"flex items-center gap-2",children:[n.jsx(Rt,{className:"h-4 w-4"}),"8 min read"]}),n.jsxs("div",{className:"flex items-center gap-2",children:[n.jsx(OP,{className:"h-4 w-4"}),"Technology Guide"]})]}),n.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:[n.jsxs(Ae,{size:"lg",onClick:()=>t(!0),children:["Get Multilingual Demo",n.jsx(it,{className:"ml-2 h-4 w-4"})]}),n.jsx(Ae,{variant:"outline",size:"lg",asChild:!0,children:n.jsx(Kt,{to:"/features/multilingual-voice-agents",children:"Explore Languages"})})]})]})})}),n.jsx("section",{id:"table-of-contents",className:"py-8 px-4 bg-muted/30",children:n.jsx("div",{className:"container mx-auto max-w-4xl",children:n.jsxs(te,{className:"border-border",children:[n.jsx(dt,{children:n.jsxs(ft,{className:"flex items-center gap-2 text-foreground",children:[n.jsx(DP,{className:"h-5 w-5"}),"Table of Contents"]})}),n.jsx(ne,{children:n.jsx("div",{className:"grid md:grid-cols-2 gap-2",children:s.map((v,b)=>n.jsxs("a",{href:v.href,className:"flex items-center gap-2 p-2 rounded-lg hover:bg-muted/50 transition-colors text-sm",children:[n.jsxs("span",{className:"text-primary font-medium",children:[b+1,"."]}),n.jsx("span",{className:"text-foreground hover:text-primary transition-colors",children:v.title})]},b))})})]})})}),n.jsx("section",{id:"executive-summary",className:"py-16 px-4",children:n.jsxs("div",{className:"container mx-auto max-w-4xl",children:[n.jsx(qt,{title:"Executive Summary",subtitle:"Key insights into multilingual AI voice agents for Indian businesses",align:"left"}),n.jsxs("div",{className:"mt-8 p-8 bg-gradient-to-r from-indigo-50/50 to-purple-50/30 rounded-2xl border border-indigo-200/50",children:[n.jsxs("div",{className:"grid md:grid-cols-3 gap-8 mb-8",children:[n.jsxs("div",{className:"text-center",children:[n.jsx("div",{className:"text-3xl font-bold text-primary mb-2",children:"10+"}),n.jsx("div",{className:"text-muted-foreground",children:"Languages Supported"})]}),n.jsxs("div",{className:"text-center",children:[n.jsx("div",{className:"text-3xl font-bold text-primary mb-2",children:"98%"}),n.jsx("div",{className:"text-muted-foreground",children:"Recognition Accuracy"})]}),n.jsxs("div",{className:"text-center",children:[n.jsx("div",{className:"text-3xl font-bold text-primary mb-2",children:"60%"}),n.jsx("div",{className:"text-muted-foreground",children:"Cost Reduction"})]})]}),n.jsx("p",{className:"text-muted-foreground leading-relaxed",children:"India's linguistic diversity presents both challenges and opportunities for businesses. With 22 official languages and hundreds of dialects, traditional customer service models struggle to serve diverse populations effectively. CallLive.ai's multilingual AI voice agents bridge this gap, offering native-level fluency across major Indian languages with cultural understanding and 24/7 availability."})]})]})}),n.jsx("section",{id:"challenge",className:"py-16 px-4 bg-muted/30",children:n.jsxs("div",{className:"container mx-auto max-w-6xl",children:[n.jsx(qt,{title:"India's Multilingual Customer Service Challenge",subt
105itle:"With 22 official languages and hundreds of dialects, Indian businesses face unique communication challenges that traditional customer service cannot solve efficiently.",align:"center"}),n.jsx("div",{className:"grid md:grid-cols-3 gap-8 mt-12",children:l.map((v,b)=>n.jsx(E.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.5,delay:b*.1},viewport:{once:!0},children:n.jsxs(te,{className:"border-border bg-card hover:shadow-lg transition-shadow h-full",children:[n.jsxs(dt,{children:[n.jsx("div",{className:"mb-4",children:v.icon}),n.jsx(ft,{className:"text-foreground",children:v.title})]}),n.jsxs(ne,{className:"space-y-4",children:[n.jsx(Xs,{className:"text-muted-foreground",children:v.description}),n.jsx("div",{className:"text-sm font-medium text-destructive",children:v.impact})]})]})},b))}),n.jsx("div",{className:"mt-12 p-8 bg-gradient-to-r from-primary/10 to-secondary/10 rounded-2xl border border-primary/20",children:n.jsxs("div",{className:"text-center",children:[n.jsx("h3",{className:"text-2xl font-bold text-foreground mb-4",children:"The Real Cost of Language Barriers"}),n.jsx("p",{className:"text-muted-foreground mb-6 max-w-3xl mx-auto",children:"Studies show that 72% of Indian customers prefer customer service in their native language. Businesses without multilingual support lose potential customers and struggle to expand into regional markets."}),n.jsxs("div",{className:"grid md:grid-cols-3 gap-6 text-center",children:[n.jsxs("div",{children:[n.jsx("div",{className:"text-3xl font-bold text-primary mb-2",children:"40%"}),n.jsx("div",{className:"text-muted-foreground",children:"Lost regional opportunities"})]}),n.jsxs("div",{children:[n.jsx("div",{className:"text-3xl font-bold text-primary mb-2",children:"72%"}),n.jsx("div",{className:"text-muted-foreground",children:"Prefer native language"})]}),n.jsxs("div",{children:[n.jsx("div",{className:"text-3xl font-bold text-primary mb-2",children:"22"}),n.jsx("div",{className:"text-muted-foreground",children:"Official Indian languages"})]})]})]})})]})}),n.jsx("section",{id:"languages",className:"py-16 px-4",children:n.jsxs("div",{className:"container mx-auto max-w-6xl",children:[n.jsx(qt,{title:"10+ Languages, One Powerful Solution",subtitle:"CallLive.ai's multilingual AI voice agents support major Indian languages with native-level fluency and cultural understanding.",align:"center"}),n.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6 mt-12",children:a.map((v,b)=>n.jsx(E.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.5,delay:b*.05},viewport:{once:!0},children:n.jsxs(te,{className:"border-border bg-card hover:bg-accent/50 transition-colors h-full",children:[n.jsx(dt,{children:n.jsxs(ft,{className:"text-foreground flex items-center gap-3",children:[n.jsx(Gt,{className:"h-5 w-5 text-primary"}),v.name]})}),n.jsx(ne,{children:n.jsxs("div",{className:"space-y-2",children:[n.jsxs("p",{className:"text-muted-foreground",children:["Region: ",v.region]}),n.jsxs("p",{className:"text-muted-foreground",children:["Speakers: ",v.speakers]}),n.jsxs("p",{className:"text-muted-foreground",children:["Family: ",v.family]}),n.jsxs("div",{className:"flex items-center justify-between pt-2 border-t",children:[n.jsx("span",{className:"text-sm text-muted-foreground",children:"Accuracy:"}),n.jsx("span",{className:"text-sm font-semibold text-primary",children:v.accuracy})]})]})})]})},b))}),n.jsxs("div",{className:"mt-12 text-center",children:[n.jsx("p",{className:"text-muted-foreground mb-6",children:"Our AI voice agents understand regional accents, cultural nuances, and can seamlessly switch between languages during conversations."}),n.jsxs(Ae,{onClick:()=>t(!0),children:["Test Language Support",n.jsx(ys,{className:"ml-2 h-4 w-4"})]})]})]})}),n.jsx("section",{id:"capabilities",className:"py-16 px-4 bg-muted/30",children:n.jsxs("div",{className:"container mx-auto max-w-6xl",children:[n.jsx(qt,{title:"Advanced Multilingual Capabilities",subtitle:"Our AI voice agents go beyond simple translation to deliver culturally-aware, contextually-appropriate conversations in every supported language.",align:"center"}),n.jsxs("div",{className:"grid md:grid-cols-2 gap-12 mt-12 items-center",children:[n.jsxs("div",{className:"space-y-8",children:[n.jsxs(E.div,{className:"flex gap-4",initial:{opacity:0,x:-20},whileInView:{opacity:1,x:0},transition:{duration:.5},viewport:{once:!0},children:[n.jsx(Ie,{className:"h-6 w-6 text-primary mt-1 flex-shrink-0"}),n.jsxs("div",{children:[n.jsx("h3",{className:"text-xl font-semibold text-foreground mb-2",children:"Native-Level Fluency"}),n.jsx("p",{className:"text-muted-foreground",children:"Each language model is trained on native speaker datasets, ensuring natural pronunciation, appropriate grammar, and culturally-relevant responses."})]})]}),n.jsxs(E.div,{className:"flex gap-4",initial:{opacity:0,x:-20},whileInView:{opacity:1,x:0},transition:{duration:.5,delay:.1},viewport:{once:!0},children:[n.jsx(Ie,{className:"h-6 w-6 text-primary mt-1 flex-shrink-0"}),n.jsxs("div",{children:[n.jsx("h3",{className:"text-xl font-semibold text-foreground mb-2",children:"Cultural Context Understanding"}),n.jsx("p",{className:"text-muted-foreground",children:"Recognizes cultural nuances, formal vs informal communication styles, and regional preferences to deliver appropriate responses."})]})]}),n.jsxs(E.div,{className:"flex gap-4",initial:{opacity:0,x:-20},whileInView:{opacity:1,x:0},transition:{duration:.5,delay:.2},viewport:{once:!0},children:[n.jsx(Ie,{className:"h-6 w-6 text-primary mt-1 flex-shrink-0"}),n.jsxs("div",{children:[n.jsx("h3",{className:"text-xl font-semibold text-foreground mb-2",children:"Code-Switching Support"}),n.jsx("p",{className:"text-muted-foreground",children:"Handles natural language mixing patterns common in India, such as Hindi-English or regional language combinations."})]})]}),n.jsxs(E.div,{className:"flex gap-4",initial:{opacity:0,x:-20},whileInView:{opacity:1,x:0},transition:{duration:.5,delay:.3},viewport:{once:!0},children:[n.jsx(Ie,{className:"h-6 w-6 text-primary mt-1 flex-shrink-0"}),n.jsxs("div",{children:[n.jsx("h3",{className:"text-xl font-semibold text-foreground mb-2",children:"Real-Time Language Detection"}),n.jsx("p",{className:"text-muted-foreground",children:"Automatically detects the customer's preferred language and switches seamlessly without interrupting the conversation flow."})]})]})]}),n.jsxs(E.div,{className:"bg-gradient-to-br from-primary/10 to-secondary/10 rounded-2xl p-8 border border-primary/20",initial:{opacity:0,x:20},whileInView:{opacity:1,x:0},transition:{duration:.5},viewport:{once:!0},children:[n.jsx("h3",{className:"text-2xl font-bold text-foreground mb-6 text-center",children:"Language Performance Metrics"}),n.jsx("div",{className:"space-y-4",children:f.slice(0,4).map((v,b)=>n.jsxs("div",{className:"flex justify-between items-center",children:[n.jsx("span",{className:"text-muted-foreground text-sm",children:v.metric}),n.jsx("span",{className:"text-xl font-bold text-primary",children:v.value})]},b))})]})]})]})}
105),n.jsx("section",{id:"benefits",className:"py-16 px-4",children:n.jsxs("div",{className:"container mx-auto max-w-6xl",children:[n.jsx(qt,{title:"Transform Your Business with Multilingual AI",subtitle:"Unlock new markets, improve customer satisfaction, and reduce operational costs with intelligent multilingual voice agents.",align:"center"}),n.jsx("div",{className:"grid md:grid-cols-3 gap-8 mt-12",children:c.map((v,b)=>n.jsx(E.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.5,delay:b*.1},viewport:{once:!0},children:n.jsxs(te,{className:"border-border bg-card hover:shadow-lg transition-shadow h-full",children:[n.jsxs(dt,{children:[n.jsx("div",{className:"mb-4",children:v.icon}),n.jsx(ft,{className:"text-foreground",children:v.title})]}),n.jsxs(ne,{className:"space-y-4",children:[n.jsx(Xs,{className:"text-muted-foreground",children:v.description}),n.jsx("div",{className:"text-sm font-semibold text-secondary",children:v.metric})]})]})},b))})]})}),n.jsx("section",{id:"applications",className:"py-16 px-4 bg-muted/30",children:n.jsxs("div",{className:"container mx-auto max-w-6xl",children:[n.jsx(qt,{title:"Industry Applications",subtitle:"Explore how businesses across industries can leverage multilingual AI voice agents to expand their reach and improve customer satisfaction.",align:"center"}),n.jsx("div",{className:"grid md:grid-cols-2 gap-8 mt-12",children:d.map((v,b)=>n.jsx(E.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.5,delay:b*.1},viewport:{once:!0},children:n.jsxs(te,{className:"border-border bg-card h-full",children:[n.jsxs(dt,{children:[n.jsx(ft,{className:"text-foreground",children:v.industry}),n.jsx(Xs,{className:"text-muted-foreground",children:v.description})]}),n.jsxs(ne,{className:"space-y-4",children:[n.jsxs("div",{children:[n.jsx("h4",{className:"font-medium text-foreground mb-2",children:"Supported Languages:"}),n.jsx("div",{className:"flex flex-wrap gap-2",children:v.languages.map(N=>n.jsx("span",{className:"px-2 py-1 bg-primary/10 text-primary text-xs rounded-full",children:N},N))})]}),n.jsxs("div",{className:"p-4 bg-muted/50 rounded-lg",children:[n.jsxs("p",{className:"text-sm text-muted-foreground italic mb-2",children:['"',v.useCase,'"']}),n.jsx("p",{className:"text-sm font-semibold text-secondary",children:v.roi})]})]})]})},b))})]})}),n.jsx("section",{id:"implementation",className:"py-16 px-4",children:n.jsxs("div",{className:"container mx-auto max-w-6xl",children:[n.jsx(qt,{title:"Implementation Guide",subtitle:"A step-by-step roadmap to successfully deploy multilingual AI voice agents in your organization.",align:"center"}),n.jsx("div",{className:"mt-12 space-y-8",children:m.map((v,b)=>n.jsxs(E.div,{initial:{opacity:0,x:-20},whileInView:{opacity:1,x:0},transition:{duration:.5,delay:b*.1},viewport:{once:!0},className:"flex gap-6 items-start",children:[n.jsx("div",{className:"flex-shrink-0 w-12 h-12 bg-primary text-primary-foreground rounded-full flex items-center justify-center font-bold",children:v.step}),n.jsx("div",{className:"flex-1",children:n.jsx(te,{className:"border-border bg-card",children:n.jsx(dt,{children:n.jsxs("div",{className:"flex justify-between items-start",children:[n.jsxs("div",{children:[n.jsx(ft,{className:"text-foreground",children:v.title}),n.jsx(Xs,{className:"text-muted-foreground mt-2",children:v.description})]}),n.jsxs("div",{className:"text-right",children:[n.jsx("div",{className:"text-sm font-medium text-primary",children:v.timeline}),n.jsx("div",{className:"text-xs text-muted-foreground mt-1",children:v.deliverable})]})]})})})})]},b))}),n.jsx("div",{className:"mt-12 text-center",children:n.jsxs(Ae,{size:"lg",onClick:()=>t(!0),children:["Start Implementation",n.jsx(it,{className:"ml-2 h-4 w-4"})]})})]})}),n.jsx("section",{id:"metrics",className:"py-16 px-4 bg-muted/30",children:n.jsxs("div",{className:"container mx-auto max-w-6xl",children:[n.jsx(qt,{title:"Proven Success Metrics",subtitle:"Real performance data from businesses using multilingual AI voice agents",align:"center"}),n.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6 mt-12",children:f.map((v,b)=>n.jsx(E.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.5,delay:b*.1},viewport:{once:!0},children:n.jsxs(te,{className:"border-border bg-card text-center",children:[n.jsxs(dt,{children:[n.jsx("div",{className:"text-3xl font-bold text-primary mb-2",children:v.value}),n.jsx(ft,{className:"text-lg text-foreground",children:v.metric})]}),n.jsx(ne,{children:n.jsx(Xs,{className:"text-muted-foreground",children:v.description})})]})},b))})]})}),n.jsx("section",{id:"faq",className:"py-16 px-4",children:n.jsxs("div",{className:"container mx-auto max-w-4xl",children:[n.jsx(qt,{title:"Frequently Asked Questions",subtitle:"Everything you need to know about multilingual AI voice agents",align:"center"}),n.jsx(wv,{type:"single",collapsible:!0,className:"mt-12",children:p.map((v,b)=>n.jsxs(us,{value:`item-${b}`,children:[n.jsx(ms,{className:"text-left text-foreground",children:v.question}),n.jsx(fs,{className:"text-muted-foreground",children:v.answer})]},b))})]})}),n.jsx("section",{id:"resources",className:"py-16 px-4 bg-muted/30",children:n.jsxs("div",{className:"container mx-auto max-w-6xl",children:[n.jsx(qt,{title:"Related Resources",subtitle:"Explore more insights and s
105olutions for AI voice agents",align:"center"}),n.jsx("div",{className:"grid md:grid-cols-2 gap-6 mt-12",children:x.map((v,b)=>n.jsx(E.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.5,delay:b*.1},viewport:{once:!0},children:n.jsxs(te,{className:"border-border bg-card hover:shadow-lg transition-shadow h-full",children:[n.jsx(dt,{children:n.jsxs("div",{className:"flex justify-between items-start",children:[n.jsx(ft,{className:"text-foreground",children:v.title}),n.jsx("span",{className:"text-xs bg-primary/10 text-primary px-2 py-1 rounded-full",children:v.type})]})}),n.jsxs(ne,{className:"space-y-4",children:[n.jsx(Xs,{className:"text-muted-foreground",children:v.description}),n.jsx(Ae,{variant:"outline",size:"sm",asChild:!0,children:n.jsxs(Kt,{to:v.link,className:"inline-flex items-center gap-2",children:["Read More",n.jsx(WP,{className:"h-3 w-3"})]})})]})]})},b))})]})}),n.jsx("section",{className:"py-16 px-4",children:n.jsx("div",{className:"container mx-auto max-w-4xl text-center",children:n.jsxs(E.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.6},viewport:{once:!0},children:[n.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-foreground mb-6",children:"Ready to Break Language Barriers?"}),n.jsx("p",{className:"text-xl text-muted-foreground mb-8 max-w-2xl mx-auto",children:"Join hundreds of businesses already using multilingual AI voice agents to expand their reach and improve customer satisfaction across India's diverse markets."}),n.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:[n.jsxs(Ae,{size:"lg",onClick:()=>t(!0),children:["Get Multilingual Demo",n.jsx(it,{className:"ml-2 h-4 w-4"})]}),n.jsx(Ae,{variant:"outline",size:"lg",asChild:!0,children:n.jsx(Kt,{to:"/features/multilingual-voice-agents",children:"Explore Features"})})]})]})})}),n.jsx(xn,{}),n.jsx(Vn,{open:e,onOpenChange:t})]})]})},OB=mc("inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function Ma({className:e,variant:t,...r}){return n.jsx("div",{className:Ee(OB({variant:t}),e),...r})}const DB=()=>{const[e,t]=g.useState(!1),[r,s]=g.useState(null),a=b=>{s(r===b?null:b)},l={hidden:{opacity:0},visible:{opacity:1,transition:{staggerChildren:.1}}},c={hidden:{opacity:0,y:20},visible:{opacity:1,y:0,transition:{duration:.6}}},d=[{icon:ut,stat:"73%",description:"of patients struggle to reach their healthcare provider during business hours"},{icon:Rt,stat:"8.2 min",description:"average wait time for patients calling medical practices"},{icon:Dn,stat:"60%",description:"of healthcare staff time spent on repetitive phone inquiries"},{icon:Tr,stat:"45%",description:"increase in after-hours medical inquiries since 2020"}],m=[{icon:ar,title:"HIPAA Compliant",description:"End-to-end encryption and compliance with healthcare privacy regulations"},{icon:Rt,title:"24/7 Patient Support",description:"Round-the-clock availability for patient inquiries and emergency routing"},{icon:Gt,title:"Multilingual Support",description:"Serve diverse patient populations in 10+ Indian languages"},{icon:_t,title:"Appointment Automation",description:"Seamless integration with medical scheduling systems"},{icon:_g,title:"Medical Protocol Training",description:"AI trained on healthcare-specific communication protocols"},{icon:rn,title:"1.5s Response Time",description:"Instant response for critical patient communications"}],f=[{title:"Family Practice Efficiency",scenario:"A busy family practice in Mumbai was overwhelmed with 200+ daily calls for appointments, prescription refills, and general inquiries.",solution:"CallLive.ai now handles 80% of routine calls, allowing staff to focus on patient care while maintaining 24/7 availability.",result:"40% reduction in staff workload, 95% patient satisfaction with automated services."},{title:"Hospital Patient Support",scenario:"Large hospital system struggling with after-hours patient inquiries about test results, visiting hours, and department locations.",solution:"AI voice agents provide instant responses to common queries and route urgent calls to appropriate medical staff.",result:"60% reduction in after-hours administrative burden, improved patient experience scores."},{title:"Specialty Clinic Coordination",scenario:"Cardiology clinic needed better follow-up care coordination and appointment reminders for elderly patients.",solution:"Automated appointment confirmations, medication reminders, and pre-visit instructions in patients' preferred languages.",result:"30% reduction in no-shows, enhanced patient compliance with treatment protocols."}],p=[{question:"Is CallLive.ai HIPAA compliant for healthcare use?",answer:"Yes, CallLive.ai is fully HIPAA compliant with end-to-e
105nd encryption, secure data handling, and comprehensive privacy controls designed specifically for healthcare organizations."},{question:"How does the AI integrate with existing medical systems?",answer:"Our platform integrates seamlessly with popular Electronic Health Record (EHR) systems, practice management software, and appointment scheduling platforms through secure APIs."},{question:"Can the AI handle medical emergencies appropriately?",answer:"The AI is trained to recognize emergency situations and immediately route calls to appropriate medical staff while providing patients with emergency contact information and guidance."},{question:"What languages are supported for diverse patient populations?",answer:"CallLive.ai supports 10+ Indian languages including Hindi, Tamil, Telugu, Bengali, Marathi, Gujarati, and English to serve India's diverse patient demographics."},{question:"How quickly can a medical practice implement the system?",answer:"Implementation typically takes 2-3 weeks, including system integration, staff training, and medical protocol customization for your specific practice needs."},{question:"What are the cost savings compared to hiring additional staff?",answer:"Healthcare practices typically save 60-70% compared to hiring additional administrative staff, while gaining 24/7 availability and multilingual capabilities."}],x={"@context":"https://schema.org","@type":"Article",headline:"AI Voice Agents for Healthcare: Revolutionizing Patient Communication & Medical Practice Efficiency",description:"Discover how HIPAA-compliant AI voice agents are transforming healthcare communication, reducing staff workload, and improving patient satisfaction in Indian medical practices.",author:{"@type":"Organization",name:"CallLive.ai"},publisher:{"@type":"Organization",name:"CallLive.ai",logo:{"@type":"ImageObject",url:"https://calllive.ai/logo.png"}},datePublished:"2024-12-12",dateModified:"2024-12-12",image:"https://calllive.ai/healthcare-ai-voice-agents.jpg",articleSection:"Healthcare Technology",keywords:["healthcare AI voice agents","medical AI assistant","HIPAA compliant voice bot","healthcare automation","patient communication","medical practice efficiency"],mainEntityOfPage:{"@type":"WebPage","@id":"https://calllive.ai/blog/ai-voice-agents-healthcare-patient-communication"}},v={"@context":"https://schema.org","@type":"FAQPage",mainEntity:p.map(b=>({"@type":"Question",name:b.question,acceptedAnswer:{"@type":"Answer",text:b.answer}}))};return n.jsxs("div",{className:"min-h-screen bg-background text-foreground",children:[n.jsxs(Kn,{children:[n.jsx("title",{children:"AI Voice Agents for Healthcare: HIPAA Compliant Patient Communication & Medical Practice Automation | CallLive.ai"}),n.jsx("meta",{name:"description",content:"Transform your medical practice with HIPAA-compliant AI voice agents. 24/7 patient support, multilingual capabilities, and seamless EHR integration. Reduce staff workload by 60% while improving patient satisfaction."}),n.jsx("meta",{name:"keywords",content:"healthcare AI voice agents, medical AI assistant, HIPAA compliant voice bot, healthcare automation, patient communication, medical practice efficiency, healthcare technology India"}),n.jsx("link",{rel:"canonical",href:"https://calllive.ai/blog/ai-voice-agents-healthcare-patient-communication"}),n.jsx("meta",{property:"og:title",content:"AI Voice Agents for Healthcare: Revolutionizing Patient Communication"}),n.jsx("meta",{property:"og:description",content:"Discover how HIPAA-compliant AI voice agents transform healthcare communication, reduce staff workload, and improve patient satisfaction."}),n.jsx("meta",{property:"og:type",content:"article"}),n.jsx("meta",{property:"og:url",content:"https://calllive.ai/blog/ai-voice-agents-healthcare-patient-communication"}),n.jsx("meta",{property:"og:image",content:"https://calllive.ai/healthcare-ai-voice-agents.jpg"}),n.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),n.jsx("meta",{name:"twitter:title",content:"AI Voice Agents for Healthcare: HIPAA Compliant Patient Communication"}),n.jsx("meta",{name:"twitter:description",content:"Transform your medical practice with AI voice agents. 24/7 support, multilingual capabilities, 60% staff workload reduction."}),n.jsx("meta",{name:"twitter:image",content:"https://calllive.ai/healthcare-ai-voice-agents.jpg"}),n.jsx("script",{type:"application/ld+json",children:JSON.stringify(x)}),n.jsx("script",{type:"application/ld+json",children:JSON.stringify(v)})]}),n.jsx(gn,{}),n.jsxs("main",{className:"pt-20",children:[n.jsx("section",{className:"py-20 px-4 bg-gradient-to-br from-indigo-50/50 via-white to-purple-50/30",children:n.jsxs(E.div,{className:"max-w-4xl mx-auto text-center",variants:l,initial:"hidden",animate:"visible",children:[n.jsx(E.div,{variants:c,className:"mb-6",children:n.jsxs(Ma,{variant:"outline",className:"mb-4 border-indigo-200 text-indigo-700 bg-indigo-50",children:[n.jsx(Qu,{className:"w-4 h-4 mr-2"}),"Healthcare Innovation"]})}),n.jsx(E.h1,{variants:c,className:"text-4xl md:text-6xl font-bold mb-6 bg-gradient-to-r from-indigo-600 via-purple-600 to-indigo-600 bg-clip-text text-transparent leading-tight",children:"AI Voice Agents for Healthcare: Revolutionizing Patient
105Communication"}),n.jsx(E.p,{variants:c,className:"text-xl text-muted-foreground mb-8 max-w-3xl mx-auto leading-relaxed",children:"Transform your medical practice with HIPAA-compliant AI voice agents that handle patient inquiries 24/7, reduce staff workload by 60%, and improve patient satisfaction across 10+ Indian languages."}),n.jsxs(E.div,{variants:c,className:"flex flex-col sm:flex-row gap-4 justify-center",children:[n.jsxs(Ae,{size:"lg",onClick:()=>t(!0),className:"bg-gradient-to-r from-indigo-600 to-purple-600 hover:from-indigo-700 hover:to-purple-700 text-white px-8",children:[n.jsx(_t,{className:"w-5 h-5 mr-2"}),"Book Healthcare Demo"]}),n.jsxs(Ae,{size:"lg",variant:"outline",onClick:()=>t(!0),className:"border-indigo-200 hover:bg-indigo-50",children:[n.jsx(ut,{className:"w-5 h-5 mr-2"}),"Contact for Pricing"]})]})]})}),n.jsx("section",{className:"py-20 px-4",children:n.jsxs("div",{className:"max-w-6xl mx-auto",children:[n.jsxs(E.div,{className:"text-center mb-16",variants:l,initial:"hidden",whileInView:"visible",viewport:{once:!0},children:[n.jsx(E.h2,{variants:c,className:"text-3xl md:text-4xl font-bold mb-6",children:"The Healthcare Communication Crisis"}),n.jsx(E.p,{variants:c,className:"text-xl text-muted-foreground max-w-3xl mx-auto",children:"Medical practices across India are overwhelmed with communication challenges that impact both patient care and operational efficiency."})]}),n.jsx(E.div,{className:"grid md:grid-cols-2 lg:grid-cols-4 gap-6 mb-12",variants:l,initial:"hidden",whileInView:"visible",viewport:{once:!0},children:d.map((b,N)=>n.jsx(E.div,{variants:c,children:n.jsx(te,{className:"h-full border-primary/10 hover:border-primary/20 transition-all duration-300 hover:shadow-lg",children:n.jsxs(ne,{className:"p-6 text-center",children:[n.jsx(b.icon,{className:"w-12 h-12 mx-auto mb-4 text-primary"}),n.jsx("div",{className:"text-3xl font-bold text-primary mb-2",children:b.stat}),n.jsx("p",{className:"text-sm text-muted-foreground",children:b.description})]})})},N))}),n.jsx(E.div,{className:"bg-destructive/5 border border-destructive/20 rounded-lg p-8 text-center",variants:c,initial:"hidden",whileInView:"visible",viewport:{once:!0},children:n.jsxs("p",{className:"text-lg text-destructive/80 font-medium",children:[n.jsx("strong",{children:"The Result:"})," Overwhelmed staff, frustrated patients, missed revenue opportunities, and compromised patient care quality. Healthcare practices need an intelligent solution that works around the clock."]})})]})}),n.jsx("section",{className:"py-20 px-4 bg-gradient-to-br from-indigo-50/50 to-purple-50/30",children:n.jsxs("div",{className:"max-w-6xl mx-auto",children:[n.jsxs(E.div,{className:"text-center mb-16",variants:l,initial:"hidden",whileInView:"visible",viewport:{once:!0},children:[n.jsx(E.h2,{variants:c,className:"text-3xl md:text-4xl font-bold mb-6",children:"CallLive.ai: The HIPAA-Compliant Healthcare Solution"}),n.jsx(E.p,{variants:c,className:"text-xl text-muted-foreground max-w-3xl mx-auto",children:"Our AI voice agents are specifically designed for healthcare environments, ensuring compliance, security, and optimal patient experience."})]}),n.jsx(E.div,{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-8",variants:l,initial:"hidden",whileInView:"visible",viewport:{once:!0},children:m.map((b,N)=>n.jsx(E.div,{variants:c,children:n.jsx(te,{className:"h-full border-primary/10 hover:border-primary/20 transition-all duration-300 hover:shadow-lg group",children:n.jsxs(ne,{className:"p-6",children:[n.jsx(b.icon,{className:"w-12 h-12 mb-4 text-primary group-hover:scale-110 transition-transform duration-300"}),n.jsx("h3",{className:"text-xl font-semibold mb-3",children:b.title}),n.jsx("p",{className:"text-muted-foreground",children:b.description})]})})},N))}),n.jsxs(E.div,{className:"mt-16 bg-indigo-50 border border-indigo-200 rounded-lg p-8",variants:c,initial:"hidden",whileInView:"visible",viewport:{once:!0},children:[n.jsxs("div",{className:"flex items-center justify-center mb-4",children:[n.jsx(ar,{className:"w-8 h-8 text-indigo-600 mr-3"}),n.jsx("h3",{className:"text-2xl font-bold",children:"Enterprise-Grade Security"})]}),n.jsx("p",{className:"text-center text-muted-foreground max-w-3xl mx-auto",children:"CallLive.ai meets the highest healthcare security standards with end-to-e
105nd encryption, audit trails, and comprehensive HIPAA compliance to protect sensitive patient information while delivering exceptional automated communication."})]})]})}),n.jsx("section",{className:"py-20 px-4",children:n.jsxs("div",{className:"max-w-6xl mx-auto",children:[n.jsxs(E.div,{className:"text-center mb-16",variants:l,initial:"hidden",whileInView:"visible",viewport:{once:!0},children:[n.jsx(E.h2,{variants:c,className:"text-3xl md:text-4xl font-bold mb-6",children:"Measurable ROI for Healthcare Practices"}),n.jsx(E.p,{variants:c,className:"text-xl text-muted-foreground max-w-3xl mx-auto",children:"Transform your practice economics while improving patient care quality and staff satisfaction."})]}),n.jsxs(E.div,{className:"grid md:grid-cols-2 gap-12 items-center",variants:l,initial:"hidden",whileInView:"visible",viewport:{once:!0},children:[n.jsxs(E.div,{variants:c,children:[n.jsx("h3",{className:"text-2xl font-bold mb-6",children:"Financial Impact"}),n.jsxs("div",{className:"space-y-4",children:[n.jsxs("div",{className:"flex items-center",children:[n.jsx(Ie,{className:"w-6 h-6 text-primary mr-3 flex-shrink-0"}),n.jsxs("span",{children:[n.jsx("strong",{children:"60-70% cost savings"})," compared to hiring additional administrative staff"]})]}),n.jsxs("div",{className:"flex items-center",children:[n.jsx(Ie,{className:"w-6 h-6 text-primary mr-3 flex-shrink-0"}),n.jsxs("span",{children:[n.jsx("strong",{children:"40% reduction"})," in staff workload on routine inquiries"]})]}),n.jsxs("div",{className:"flex items-center",children:[n.jsx(Ie,{className:"w-6 h-6 text-primary mr-3 flex-shrink-0"}),n.jsxs("span",{children:[n.jsx("strong",{children:"24/7 availability"})," without overtime or shift costs"]})]}),n.jsxs("div",{className:"flex items-center",children:[n.jsx(Ie,{className:"w-6 h-6 text-primary mr-3 flex-shrink-0"}),n.jsxs("span",{children:[n.jsx("strong",{children:"30% reduction"})," in appointment no-shows through automated reminders"]})]})]})]}),n.jsxs(E.div,{variants:c,children:[n.jsx("h3",{className:"text-2xl font-bold mb-6",children:"Operational Benefits"}),n.jsxs("div",{className:"space-y-4",children:[n.jsxs("div",{className:"flex items-center",children:[n.jsx(Ie,{className:"w-6 h-6 text-secondary mr-3 flex-shrink-0"}),n.jsxs("span",{children:[n.jsx("strong",{children:"95% patient satisfaction"})," with automated services"]})]}),n.jsxs("div",{className:"flex items-center",children:[n.jsx(Ie,{className:"w-6 h-6 text-secondary mr-3 flex-shrink-0"}),n.jsxs("span",{children:[n.jsx("strong",{children:"Instant responses"})," to patient inquiries in 1.5 seconds"]})]}),n.jsxs("div",{className:"flex items-center",children:[n.jsx(Ie,{className:"w-6 h-6 text-secondary mr-3 flex-shrink-0"}),n.jsxs("span",{children:[n.jsx("strong",{children:"Multilingual support"})," for diverse patient populations"]})]}),n.jsxs("div",{className:"flex items-center",children:[n.jsx(Ie,{className:"w-6 h-6 text-secondary mr-3 flex-shrink-0"}),n.jsxs("span",{children:[n.jsx("strong",{children:"Improved staff morale"})," by eliminating repetitive tasks"]})]})]})]})]})]})}),n.jsx("section",{className:"py-20 px-4 bg-gradient-to-br from-accent/5 to-primary/5",children:n.jsxs("div",{className:"max-w-6xl mx-auto",children:[n.jsxs(E.div,{className:"text-center mb-16",variants:l,initial:"hidden",whileInView:"visible",viewport:{once:!0},children:[n.jsx(E.h2,{variants:c,className:"text-3xl md:text-4xl font-bold mb-6",children:"Healthcare Implementation Guide"}),n.jsx(E.p,{variants:c,className:"text-xl text-muted-foreground max-w-3xl mx-auto",children:"Understand how AI voice agents can transform healthcare practices with HIPAA-compliant solutions."})]}),n.jsx(E.div,{className:"space-y-8",variants:l,initial:"hidden",whileInView:"visible",viewport:{once:!0},children:f.map((b,N)=>n.jsx(E.div,{variants:c,children:n.jsx(te,{className:"border-primary/10 hover:border-primary/20 transition-all duration-300 hover:shadow-lg",children:n.jsxs(ne,{className:"p-8",children:[n.jsx("h3",{className:"text-2xl font-bold mb-4 text-primary",children:b.title}),n.jsxs("div",{className:"grid md:grid-cols-3 gap-6",children:[n.jsxs("div",{children:[n.jsx("h4",{className:"font-semibold mb-2 text-destructive",children:"Challenge:"}),n.jsx("p",{className:"text-muted-foreground",children:b.scenario})]}),n.jsxs("div",{children:[n.jsx("h4",{className:"font-semibold mb-2 text-primary",children:"AI Solution:"}),n.jsx("p",{className:"text-muted-foreground",children:b.solution})]}),n.jsxs("div",{children:[n.jsx("h4",{className:"font-semibold mb-2 text-secondary",children:"Potential Benefits:"}),n.jsx("p",{className:"text-muted-foreground",children:b.result})]})]})]})})},N))})]})}),n.jsx("section",{className:"py-20 px-4",children:n.jsxs("div",{className:"max-w-4xl mx-auto",children:[n.jsxs(E.div,{className:"text-center mb-16",variants:l,initial:"hidden",
105whileInView:"visible",viewport:{once:!0},children:[n.jsx(E.h2,{variants:c,className:"text-3xl md:text-4xl font-bold mb-6",children:"Healthcare AI Voice Agent FAQs"}),n.jsx(E.p,{variants:c,className:"text-xl text-muted-foreground",children:"Common questions about implementing AI voice agents in healthcare settings."})]}),n.jsx(E.div,{className:"space-y-4",variants:l,initial:"hidden",whileInView:"visible",viewport:{once:!0},children:p.map((b,N)=>n.jsx(E.div,{variants:c,children:n.jsx(te,{className:"border-primary/10 hover:border-primary/20 transition-all duration-300",children:n.jsxs(ne,{className:"p-0",children:[n.jsxs("button",{onClick:()=>a(N),className:"w-full p-6 text-left flex justify-between items-center hover:bg-indigo-50 transition-colors rounded-lg",children:[n.jsx("span",{className:"font-semibold text-lg",children:b.question}),r===N?n.jsx(G1,{className:"w-5 h-5 text-primary flex-shrink-0"}):n.jsx(co,{className:"w-5 h-5 text-primary flex-shrink-0"})]}),r===N&&n.jsx(E.div,{initial:{opacity:0,height:0},animate:{opacity:1,height:"auto"},exit:{opacity:0,height:0},className:"px-6 pb-6",children:n.jsx("p",{className:"text-muted-foreground leading-relaxed",children:b.answer})})]})})},N))})]})}),n.jsx("section",{className:"py-20 px-4 bg-gradient-to-br from-primary via-secondary to-accent text-white",children:n.jsxs(E.div,{className:"max-w-4xl mx-auto text-center",variants:l,initial:"hidden",whileInView:"visible",viewport:{once:!0},children:[n.jsx(E.h2,{variants:c,className:"text-3xl md:text-5xl font-bold mb-6",children:"Transform Your Healthcare Practice Today"}),n.jsx(E.p,{variants:c,className:"text-xl mb-8 opacity-90",children:"Join leading healthcare practices using CallLive.ai to improve patient satisfaction, reduce costs, and enhance operational efficiency with HIPAA-compliant AI voice agents."}),n.jsxs(E.div,{variants:c,className:"flex flex-col sm:flex-row gap-4 justify-center",children:[n.jsxs(Ae,{size:"lg",onClick:()=>t(!0),className:"bg-white text-primary hover:bg-white/90 px-8",children:[n.jsx(_t,{className:"w-5 h-5 mr-2"}),"Book Healthcare Demo"]}),n.jsxs(Ae,{size:"lg",variant:"outline",onClick:()=>t(!0),className:"border-white/20 text-white hover:bg-white/10 px-8",children:[n.jsx(ut,{className:"w-5 h-5 mr-2"}),"Contact for Pricing"]})]})]})})]}),n.jsx(xn,{}),n.jsx(Vn,{open:e,onOpenChange:t})]})},LB=()=>{const[e,t]=g.useState(!1),r={hidden:{opacity:0},visible:{opacity:1,transition:{staggerChildren:.1,delayChildren:.2}}},s={hidden:{opacity:0,y:20},visible:{opacity:1,y:0}},a=[{id:1,title:"AI Voice Agents in India: Complete Business Implementation Guide",excerpt:"Comprehensive guide to implementing AI voice agents for Indian businesses, covering multilingual support, cultural considerations, and ROI optimization.",category:"Implementation Guide",readTime:"12 min read",publishDate:"September 10, 2025",slug:"/blog/ai-voice-agents-india-guide",image:"/calllive-og-image.png",tags:["India","Implementation","Business"],featured:!0},{id:2,title:"Multilingual AI Voice Agents: Breaking Language Barriers in Indian Business",excerpt:"How multilingual AI voice agents are transforming customer service across India's diverse linguistic landscape with 60+ language support.",category:"Technology",readTime:"8 min read",publishDate:"September 8, 2025",slug:"/blog/multilingual-ai-voice-agents-india",image:"/calllive-og-image.png",tags:["Multilingual","India","Customer Service"],featured:!1},{id:3,title:"AI Voice Agents in Healthcare: Transforming Patient Communication",excerpt:"Discover how AI voice agents are revolutionizing healthcare communication with HIPAA-compliant, 24/7 patient support and multilingual capabilities.",category:"Healthcare",readTime:"10 min read",publishDate:"September 5, 2025",slug:"/blog/ai-voice-agents-healthcare-patient-communication",image:"/calllive-og-image.png",tags:["Healthcare","Patient Care","HIPAA"],featured:!1}],l={"@context":"https://schema.org","@type":"Blog",name:"CallLive.ai Blog",description:"Expert insights on AI voice agents, customer service automation, and business communication technology",url:"https://calllive.ai/blog",publisher:{"@type":"Organization",name:"CallLive.ai",logo:{"@type":"ImageObject",url:"https://calllive.ai/og-image.png"}},blogPost:a.map(c=>
105({"@type":"BlogPosting",headline:c.title,description:c.excerpt,url:`https://calllive.ai${c.slug}`,datePublished:c.publishDate,author:{"@type":"Organization",name:"CallLive.ai"},image:`https://calllive.ai${c.image}`}))};return n.jsxs(n.Fragment,{children:[n.jsxs(Kn,{children:[n.jsx("title",{children:"Blog - CallLive.ai | AI Voice Agent Insights & Industry Guides"}),n.jsx("meta",{name:"description",content:"Expert insights on AI voice agents, customer service automation, and business communication technology. Implementation guides, case studies, and industry best practices."}),n.jsx("meta",{name:"keywords",content:"AI voice agents blog, customer service automation, business communication, AI implementation guides, voice technology insights"}),n.jsx("link",{rel:"canonical",href:"https://calllive.ai/blog"}),n.jsx("meta",{property:"og:title",content:"Blog - CallLive.ai | AI Voice Agent Insights & Industry Guides"}),n.jsx("meta",{property:"og:description",content:"Expert insights on AI voice agents, customer service automation, and business communication technology."}),n.jsx("meta",{property:"og:url",content:"https://calllive.ai/blog"}),n.jsx("meta",{property:"og:type",content:"website"}),n.jsx("meta",{property:"og:image",content:"https://calllive.ai/og-image.png"}),n.jsx("script",{type:"application/ld+json",children:JSON.stringify(l)})]}),n.jsx(gn,{onContactClick:()=>t(!0)}),n.jsx("main",{className:"min-h-screen bg-gradient-to-br from-white via-indigo-50/30 to-purple-50/20",children:n.jsxs(E.div,{initial:"hidden",animate:"visible",variants:r,className:"container mx-auto px-6 py-24",children:[n.jsxs(E.div,{variants:s,className:"text-center mb-16",children:[n.jsx("h1",{className:"text-4xl md:text-6xl font-bold bg-gradient-to-r from-indigo-600 via-purple-600 to-indigo-800 bg-clip-text text-transparent mb-6",children:"AI Voice Agent Insights"}),n.jsx("p",{className:"text-xl text-muted-foreground max-w-3xl mx-auto leading-relaxed",children:"Expert insights, implementation guides, and industry best practices for AI voice agents and customer service automation"})]}),a.filter(c=>c.featured).map(c=>n.jsx(E.article,{variants:s,className:"mb-16",children:n.jsx("div",{className:"bg-white rounded-2xl shadow-lg overflow-hidden border border-indigo-100/50",children:n.jsxs("div",{className:"md:flex",children:[n.jsx("div",{className:"md:w-1/2",children:n.jsx("img",{src:c.image,alt:c.title,className:"w-full h-64 md:h-full object-cover"})}),n.jsxs("div",{className:"md:w-1/2 p-8 md:p-12",children:[n.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[n.jsx(Ma,{variant:"secondary",className:"bg-indigo-100 text-indigo-700",children:"Featured"}),n.jsx(Ma,{variant:"outline",children:c.category})]}),n.jsx("h2",{className:"text-2xl md:text-3xl font-bold text-gray-900 mb-4 leading-tight",children:c.title}),n.jsx("p",{className:"text-muted-foreground mb-6 leading-relaxed",children:c.excerpt}),n.jsxs("div",{className:"flex items-center gap-6 text-sm text-muted-foreground mb-6",children:[n.jsxs("div",{className:"flex items-center gap-2",children:[n.jsx(_t,{size:16}),c.publishDate]}),n.jsxs("div",{className:"flex items-center gap-2",children:[n.jsx(Rt,{size:16}),c.readTime]})]}),n.jsx("div",{className:"flex flex-wrap gap-2 mb-6",children:c.tags.map(d=>n.jsxs(Ma,{variant:"outline",className:"text-xs",children:[n.jsx(p4,{size:12,className:"mr-1"}),d]},d))}),n.jsx(Kt,{to:c.slug,children:n.jsxs(Ae,{className:"group",children:["Read Full Article",n.jsx(it,{size:16,className:"ml-2 group-hover:translate-x-1 transition-transform"})]})})]})]})})},c.id)),n.jsxs(E.div,{variants:s,children:[n.jsx("h2",{className:"text-3xl font-bold text-gray-900 mb-8 text-center",children:"Latest Articles"}),n.jsx("div",{className:"grid md:grid-cols-2 gap-8",children:a.filter(c=>!c.featured).map(c=>n.jsxs(E.article,{variants:s,className:"bg-white rounded-xl shadow-lg overflow-hidden border border-indigo-100/50 hover:shadow-xl transition-shadow",whileHover:{y:-5},children:[n.jsx("img",{src:c.image,alt:c.title,className:"w-full h-48 object-cover"}),n.jsxs("div",{className:"p-6",children:[n.jsx("div",{className:"flex items-center gap-2 mb-3",children:n.jsx(Ma,{variant:"outline",children:c.category})}),n.jsx("h3",{className:"text-xl font-bold text-gray-900 mb-3 leading-tight",children:c.title}),n.jsx("p",{className:"text-muted-foreground mb-4 leading-relaxed",children:c.excerpt}),n.jsxs("div",{className:"flex items-center gap-4 text-sm text-muted-foreground mb-4",children:[n.jsxs("div",{className:"flex items-center gap-1",children:[n.jsx(_t,{size:14}),c.publishDate]}),n.jsxs("div",{className:"flex items-center gap-1",children:[n.jsx(Rt,{size:14}),c.readTime]})]}),n.jsx("div",{className:"flex flex-wrap gap-1 mb-4",children:c.tags.map(d=>n.jsx(Ma,{variant:"outline",className:"text-xs",children:d},d))}),n.jsx(Kt,{to:c.slug,children:n.jsxs(Ae,{variant:"outline",className:"w-full group",children:["Read More",n.jsx(it,{size:14,className:"ml-2 group-hover:translate-x-1 transition-transform"})]})})]})]},c.id))})]}),n.jsx(E.div,{variants:s,className:"text-center mt-16",children:n.jsxs("div",{className:"bg-gradient-to-r from-indigo-600 to-purple-600 rounded-2xl p-8 md:p-12 text-white",children:[n.jsx("h3",{className:"text-2xl md:text-3xl font-bold mb-4",children:"Ready to Transform Your Customer Service?"}),n.jsx("p",{className:"text-indigo-100 mb-6 max-w-2xl mx-auto",children:"Get started with AI voice agents and see how they can revolutionize your business communication"}),n.jsx(Ae,{onClick:()=>t(!0),variant:"secondary",size:"lg",className:"bg-white text-indigo-600 hover:bg-indigo-50",children:"Get Demo"})]})})]})}),n.jsx(xn,{onContactClick:()=>t(!0)}),n.jsx(Vn,{open:e,onOpenChange:t})]})},VB=new TR,FB=()=>n.jsx(a2,{children:n.jsx(PR,{client:VB,children:n.jsxs(aR,{children:[n.jsx(s_,{}),n.jsx(R_,{}),n.jsx(I6,{children:n.jsxs(N6,{children:[n.jsx(mt,{path:"/",element:n.jsx(lB,{})}),n.jsx(mt,{path:"/demo",element:n.jsx(c1,{})}),n.jsx(mt,{path:"/get-demo",element:n.jsx(c1,{})}),n.jsx(mt,{path:"/use-cases/real-estate",element:n.jsx(d1,{})}),n.jsx(mt,{path:"/use-cases/hospitality",element:n.jsx(u1,{})}),n.jsx(mt,{path:"/use-cases/healthcare",element:n.jsx(m1,{})}),n.jsx(mt,{path:"/use-cases/outbound-sales",element:n.jsx(f1,{})}),n.jsx(mt,{path:"/real-estate",element:n.jsx(d1,{})}),n.jsx(mt,{path:"/hospitality",element:n.jsx(u1,{})}),n.jsx(mt,{path:"/healthcare",element:n.jsx(m1,{})}
105),n.jsx(mt,{path:"/outbound-sales",element:n.jsx(f1,{})}),n.jsx(mt,{path:"/ai-outbound-dialer",element:n.jsx(h1,{})}),n.jsx(mt,{path:"/24-7-call-answering",element:n.jsx(p1,{})}),n.jsx(mt,{path:"/multilingual-voice-agents",element:n.jsx(g1,{})}),n.jsx(mt,{path:"/features/ai-outbound-dialer",element:n.jsx(h1,{})}),n.jsx(mt,{path:"/features/24-7-call-answering",element:n.jsx(p1,{})}),n.jsx(mt,{path:"/features/multilingual-voice-agents",element:n.jsx(g1,{})}),n.jsx(mt,{path:"/faq",element:n.jsx(_B,{})}),n.jsx(mt,{path:"/blog",element:n.jsx(LB,{})}),n.jsx(mt,{path:"/blog/ai-voice-agents-india-guide",element:n.jsx(RB,{})}),n.jsx(mt,{path:"/blog/multilingual-ai-voice-agents-india",element:n.jsx(MB,{})}),n.jsx(mt,{path:"/blog/ai-voice-agents-healthcare-patient-communication",element:n.jsx(DB,{})}),n.jsx(mt,{path:"/privacy-policy",element:n.jsx(uB,{})}),n.jsx(mt,{path:"/terms",element:n.jsx(mB,{})}),n.jsx(mt,{path:"/cookies",element:n.jsx(fB,{})}),n.jsx(mt,{path:"*",element:n.jsx(dB,{})})]})})]})})});DI.createRoot(document.getElementById("root")).render(n.jsx(FB,{}));
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.