var Pj=Object.defineProperty;var Ap=e=>{throw TypeError(e)};var Ij=(e,t,n)=>t in e?Pj(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var kc=(e,t,n)=>Ij(e,typeof t!="symbol"?t+"":t,n),Cc=(e,t,n)=>t.has(e)||Ap("Cannot "+n);var I=(e,t,n)=>(Cc(e,t,"read from private field"),n?n.call(e):t.get(e)),ee=(e,t,n)=>t.has(e)?Ap("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),K=(e,t,n,r)=>(Cc(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),We=(e,t,n)=>(Cc(e,t,"access private method"),n);var ta=(e,t,n,r)=>({set _(i){K(e,t,i,n)},get _(){return I(e,t,r)}});function Rj(e,t){for(var n=0;nr[i]})}}}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 i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const a of o.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();var PD=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function sy(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function ID(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return e[r]}})}),n}var iy={exports:{}},Dl={},oy={exports:{}},J={};/** * @license React * react.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var Mo=Symbol.for("react.element"),Mj=Symbol.for("react.portal"),Dj=Symbol.for("react.fragment"),Lj=Symbol.for("react.strict_mode"),Oj=Symbol.for("react.profiler"),Fj=Symbol.for("react.provider"),_j=Symbol.for("react.context"),Vj=Symbol.for("react.forward_ref"),zj=Symbol.for("react.suspense"),Bj=Symbol.for("react.memo"),Wj=Symbol.for("react.lazy"),Tp=Symbol.iterator;function $j(e){return e===null||typeof e!="object"?null:(e=Tp&&e[Tp]||e["@@iterator"],typeof e=="function"?e:null)}var ay={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},ly=Object.assign,cy={};function ai(e,t,n){this.props=e,this.context=t,this.refs=cy,this.updater=n||ay}ai.prototype.isReactComponent={};ai.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};ai.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function dy(){}dy.prototype=ai.prototype;function ph(e,t,n){this.props=e,this.context=t,this.refs=cy,this.updater=n||ay}var fh=ph.prototype=new dy;fh.constructor=ph;ly(fh,ai.prototype);fh.isPureReactComponent=!0;var Ep=Array.isArray,uy=Object.prototype.hasOwnProperty,xh={current:null},hy={key:!0,ref:!0,__self:!0,__source:!0};function my(e,t,n){var r,i={},o=null,a=null;if(t!=null)for(r in t.ref!==void 0&&(a=t.ref),t.key!==void 0&&(o=""+t.key),t)uy.call(t,r)&&!hy.hasOwnProperty(r)&&(i[r]=t[r]);var l=arguments.length-2;if(l===1)i.children=n;else if(1>>1,re=P[Y];if(0>>1;Yi(Qt,B))Xei(G,Qt)?(P[Y]=G,P[Xe]=B,Y=Xe):(P[Y]=Qt,P[Ee]=B,Y=Ee);else if(Xei(G,B))P[Y]=G,P[Xe]=B,Y=Xe;else break e}}return L}function i(P,L){var B=P.sortIndex-L.sortIndex;return B!==0?B:P.id-L.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var a=Date,l=a.now();e.unstable_now=function(){return a.now()-l}}var c=[],d=[],u=1,h=null,m=3,g=!1,w=!1,x=!1,b=typeof setTimeout=="function"?setTimeout:null,y=typeof clearTimeout=="function"?clearTimeout:null,f=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function v(P){for(var L=n(d);L!==null;){if(L.callback===null)r(d);else if(L.startTime<=P)r(d),L.sortIndex=L.expirationTime,t(c,L);else break;L=n(d)}}function j(P){if(x=!1,v(P),!w)if(n(c)!==null)w=!0,F(N);else{var L=n(d);L!==null&&V(j,L.startTime-P)}}function N(P,L){w=!1,x&&(x=!1,y(A),A=-1),g=!0;var B=m;try{for(v(L),h=n(c);h!==null&&(!(h.expirationTime>L)||P&&!M());){var Y=h.callback;if(typeof Y=="function"){h.callback=null,m=h.priorityLevel;var re=Y(h.expirationTime<=L);L=e.unstable_now(),typeof re=="function"?h.callback=re:h===n(c)&&r(c),v(L)}else r(c);h=n(c)}if(h!==null)var Qe=!0;else{var Ee=n(d);Ee!==null&&V(j,Ee.startTime-L),Qe=!1}return Qe}finally{h=null,m=B,g=!1}}var S=!1,k=null,A=-1,R=5,C=-1;function M(){return!(e.unstable_now()-CP||125Y?(P.sortIndex=B,t(d,P),n(c)===null&&P===n(d)&&(x?(y(A),A=-1):x=!0,V(j,B-Y))):(P.sortIndex=re,t(c,P),w||g||(w=!0,F(N))),P},e.unstable_shouldYield=M,e.unstable_wrapCallback=function(P){var L=m;return function(){var B=m;m=L;try{return P.apply(this,arguments)}finally{m=B}}}})(yy);gy.exports=yy;var eN=gy.exports;/** * @license React * react-dom.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var tN=p,yt=eN;function D(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Id=Object.prototype.hasOwnProperty,nN=/^[: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]*$/,Ip={},Rp={};function rN(e){return Id.call(Rp,e)?!0:Id.call(Ip,e)?!1:nN.test(e)?Rp[e]=!0:(Ip[e]=!0,!1)}function sN(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function iN(e,t,n,r){if(t===null||typeof t>"u"||sN(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function st(e,t,n,r,i,o,a){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=a}var _e={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){_e[e]=new st(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];_e[t]=new st(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){_e[e]=new st(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){_e[e]=new st(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){_e[e]=new st(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){_e[e]=new st(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){_e[e]=new st(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){_e[e]=new st(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){_e[e]=new st(e,5,!1,e.toLowerCase(),null,!1,!1)});var vh=/[\-:]([a-z])/g;function wh(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(vh,wh);_e[t]=new st(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(vh,wh);_e[t]=new st(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(vh,wh);_e[t]=new st(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){_e[e]=new st(e,1,!1,e.toLowerCase(),null,!1,!1)});_e.xlinkHref=new st("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){_e[e]=new st(e,1,!1,e.toLowerCase(),null,!0,!0)});function bh(e,t,n,r){var i=_e.hasOwnProperty(t)?_e[t]:null;(i!==null?i.type!==0:r||!(2l||i[a]!==o[l]){var c=` `+i[a].replace(" at new "," at ");return e.displayName&&c.includes("")&&(c=c.replace("",e.displayName)),c}while(1<=a&&0<=l);break}}}finally{Ec=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Mi(e):""}function oN(e){switch(e.tag){case 5:return Mi(e.type);case 16:return Mi("Lazy");case 13:return Mi("Suspense");case 19:return Mi("SuspenseList");case 0:case 2:case 15:return e=Pc(e.type,!1),e;case 11:return e=Pc(e.type.render,!1),e;case 1:return e=Pc(e.type,!0),e;default:return""}}function Ld(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case ps:return"Fragment";case ms:return"Portal";case Rd:return"Profiler";case jh:return"StrictMode";case Md:return"Suspense";case Dd:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case by:return(e.displayName||"Context")+".Consumer";case wy:return(e._context.displayName||"Context")+".Provider";case Nh:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Sh:return t=e.displayName||null,t!==null?t:Ld(e.type)||"Memo";case qn:t=e._payload,e=e._init;try{return Ld(e(t))}catch{}}return null}function aN(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Ld(t);case 8:return t===jh?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function mr(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Ny(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function lN(e){var t=Ny(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(a){r=""+a,o.call(this,a)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(a){r=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function sa(e){e._valueTracker||(e._valueTracker=lN(e))}function Sy(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Ny(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Qa(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Od(e,t){var n=t.checked;return be({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Dp(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=mr(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function ky(e,t){t=t.checked,t!=null&&bh(e,"checked",t,!1)}function Fd(e,t){ky(e,t);var n=mr(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?_d(e,t.type,n):t.hasOwnProperty("defaultValue")&&_d(e,t.type,mr(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Lp(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function _d(e,t,n){(t!=="number"||Qa(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Di=Array.isArray;function Ps(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=ia.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function no(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Bi={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},cN=["Webkit","ms","Moz","O"];Object.keys(Bi).forEach(function(e){cN.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Bi[t]=Bi[e]})});function Ey(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Bi.hasOwnProperty(e)&&Bi[e]?(""+t).trim():t+"px"}function Py(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=Ey(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var dN=be({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Bd(e,t){if(t){if(dN[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(D(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(D(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(D(61))}if(t.style!=null&&typeof t.style!="object")throw Error(D(62))}}function Wd(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var $d=null;function kh(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ud=null,Is=null,Rs=null;function _p(e){if(e=Oo(e)){if(typeof Ud!="function")throw Error(D(280));var t=e.stateNode;t&&(t=Vl(t),Ud(e.stateNode,e.type,t))}}function Iy(e){Is?Rs?Rs.push(e):Rs=[e]:Is=e}function Ry(){if(Is){var e=Is,t=Rs;if(Rs=Is=null,_p(e),t)for(e=0;e>>=0,e===0?32:31-(bN(e)/jN|0)|0}var oa=64,aa=4194304;function Li(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function el(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,a=n&268435455;if(a!==0){var l=a&~i;l!==0?r=Li(l):(o&=a,o!==0&&(r=Li(o)))}else a=n&~i,a!==0?r=Li(a):o!==0&&(r=Li(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,o=t&-t,i>=o||i===16&&(o&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function Do(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Ut(t),e[t]=n}function CN(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=$i),qp=" ",Kp=!1;function Zy(e,t){switch(e){case"keyup":return eS.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Jy(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var fs=!1;function nS(e,t){switch(e){case"compositionend":return Jy(t);case"keypress":return t.which!==32?null:(Kp=!0,qp);case"textInput":return e=t.data,e===qp&&Kp?null:e;default:return null}}function rS(e,t){if(fs)return e==="compositionend"||!Mh&&Zy(e,t)?(e=Qy(),Ma=Ph=rr=null,fs=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Zp(n)}}function r0(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?r0(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function s0(){for(var e=window,t=Qa();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Qa(e.document)}return t}function Dh(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function hS(e){var t=s0(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&r0(n.ownerDocument.documentElement,n)){if(r!==null&&Dh(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=Jp(n,o);var a=Jp(n,r);i&&a&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,xs=null,Qd=null,Hi=null,Xd=!1;function ef(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Xd||xs==null||xs!==Qa(r)||(r=xs,"selectionStart"in r&&Dh(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Hi&&lo(Hi,r)||(Hi=r,r=rl(Qd,"onSelect"),0vs||(e.current=ru[vs],ru[vs]=null,vs--)}function ce(e,t){vs++,ru[vs]=e.current,e.current=t}var pr={},Ke=wr(pr),lt=wr(!1),Gr=pr;function Ks(e,t){var n=e.type.contextTypes;if(!n)return pr;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function ct(e){return e=e.childContextTypes,e!=null}function il(){pe(lt),pe(Ke)}function lf(e,t,n){if(Ke.current!==pr)throw Error(D(168));ce(Ke,t),ce(lt,n)}function m0(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(D(108,aN(e)||"Unknown",i));return be({},n,r)}function ol(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||pr,Gr=Ke.current,ce(Ke,e),ce(lt,lt.current),!0}function cf(e,t,n){var r=e.stateNode;if(!r)throw Error(D(169));n?(e=m0(e,t,Gr),r.__reactInternalMemoizedMergedChildContext=e,pe(lt),pe(Ke),ce(Ke,e)):pe(lt),ce(lt,n)}var jn=null,zl=!1,Uc=!1;function p0(e){jn===null?jn=[e]:jn.push(e)}function SS(e){zl=!0,p0(e)}function br(){if(!Uc&&jn!==null){Uc=!0;var e=0,t=ne;try{var n=jn;for(ne=1;e>=a,i-=a,Sn=1<<32-Ut(t)+i|n<A?(R=k,k=null):R=k.sibling;var C=m(y,k,v[A],j);if(C===null){k===null&&(k=R);break}e&&k&&C.alternate===null&&t(y,k),f=o(C,f,A),S===null?N=C:S.sibling=C,S=C,k=R}if(A===v.length)return n(y,k),ge&&Tr(y,A),N;if(k===null){for(;AA?(R=k,k=null):R=k.sibling;var M=m(y,k,C.value,j);if(M===null){k===null&&(k=R);break}e&&k&&M.alternate===null&&t(y,k),f=o(M,f,A),S===null?N=M:S.sibling=M,S=M,k=R}if(C.done)return n(y,k),ge&&Tr(y,A),N;if(k===null){for(;!C.done;A++,C=v.next())C=h(y,C.value,j),C!==null&&(f=o(C,f,A),S===null?N=C:S.sibling=C,S=C);return ge&&Tr(y,A),N}for(k=r(y,k);!C.done;A++,C=v.next())C=g(k,y,A,C.value,j),C!==null&&(e&&C.alternate!==null&&k.delete(C.key===null?A:C.key),f=o(C,f,A),S===null?N=C:S.sibling=C,S=C);return e&&k.forEach(function(O){return t(y,O)}),ge&&Tr(y,A),N}function b(y,f,v,j){if(typeof v=="object"&&v!==null&&v.type===ps&&v.key===null&&(v=v.props.children),typeof v=="object"&&v!==null){switch(v.$$typeof){case ra:e:{for(var N=v.key,S=f;S!==null;){if(S.key===N){if(N=v.type,N===ps){if(S.tag===7){n(y,S.sibling),f=i(S,v.props.children),f.return=y,y=f;break e}}else if(S.elementType===N||typeof N=="object"&&N!==null&&N.$$typeof===qn&&hf(N)===S.type){n(y,S.sibling),f=i(S,v.props),f.ref=Ai(y,S,v),f.return=y,y=f;break e}n(y,S);break}else t(y,S);S=S.sibling}v.type===ps?(f=Ur(v.props.children,y.mode,j,v.key),f.return=y,y=f):(j=Ba(v.type,v.key,v.props,null,y.mode,j),j.ref=Ai(y,f,v),j.return=y,y=j)}return a(y);case ms:e:{for(S=v.key;f!==null;){if(f.key===S)if(f.tag===4&&f.stateNode.containerInfo===v.containerInfo&&f.stateNode.implementation===v.implementation){n(y,f.sibling),f=i(f,v.children||[]),f.return=y,y=f;break e}else{n(y,f);break}else t(y,f);f=f.sibling}f=Zc(v,y.mode,j),f.return=y,y=f}return a(y);case qn:return S=v._init,b(y,f,S(v._payload),j)}if(Di(v))return w(y,f,v,j);if(ji(v))return x(y,f,v,j);pa(y,v)}return typeof v=="string"&&v!==""||typeof v=="number"?(v=""+v,f!==null&&f.tag===6?(n(y,f.sibling),f=i(f,v),f.return=y,y=f):(n(y,f),f=Xc(v,y.mode,j),f.return=y,y=f),a(y)):n(y,f)}return b}var Qs=y0(!0),v0=y0(!1),cl=wr(null),dl=null,js=null,_h=null;function Vh(){_h=js=dl=null}function zh(e){var t=cl.current;pe(cl),e._currentValue=t}function ou(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Ds(e,t){dl=e,_h=js=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(at=!0),e.firstContext=null)}function Pt(e){var t=e._currentValue;if(_h!==e)if(e={context:e,memoizedValue:t,next:null},js===null){if(dl===null)throw Error(D(308));js=e,dl.dependencies={lanes:0,firstContext:e}}else js=js.next=e;return t}var Dr=null;function Bh(e){Dr===null?Dr=[e]:Dr.push(e)}function w0(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,Bh(t)):(n.next=i.next,i.next=n),t.interleaved=n,Rn(e,r)}function Rn(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var Kn=!1;function Wh(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function b0(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Cn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function cr(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,te&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,Rn(e,n)}return i=r.interleaved,i===null?(t.next=t,Bh(r)):(t.next=i.next,i.next=t),r.interleaved=t,Rn(e,n)}function La(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ah(e,n)}}function mf(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};o===null?i=o=a:o=o.next=a,n=n.next}while(n!==null);o===null?i=o=t:o=o.next=t}else i=o=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function ul(e,t,n,r){var i=e.updateQueue;Kn=!1;var o=i.firstBaseUpdate,a=i.lastBaseUpdate,l=i.shared.pending;if(l!==null){i.shared.pending=null;var c=l,d=c.next;c.next=null,a===null?o=d:a.next=d,a=c;var u=e.alternate;u!==null&&(u=u.updateQueue,l=u.lastBaseUpdate,l!==a&&(l===null?u.firstBaseUpdate=d:l.next=d,u.lastBaseUpdate=c))}if(o!==null){var h=i.baseState;a=0,u=d=c=null,l=o;do{var m=l.lane,g=l.eventTime;if((r&m)===m){u!==null&&(u=u.next={eventTime:g,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var w=e,x=l;switch(m=t,g=n,x.tag){case 1:if(w=x.payload,typeof w=="function"){h=w.call(g,h,m);break e}h=w;break e;case 3:w.flags=w.flags&-65537|128;case 0:if(w=x.payload,m=typeof w=="function"?w.call(g,h,m):w,m==null)break e;h=be({},h,m);break e;case 2:Kn=!0}}l.callback!==null&&l.lane!==0&&(e.flags|=64,m=i.effects,m===null?i.effects=[l]:m.push(l))}else g={eventTime:g,lane:m,tag:l.tag,payload:l.payload,callback:l.callback,next:null},u===null?(d=u=g,c=h):u=u.next=g,a|=m;if(l=l.next,l===null){if(l=i.shared.pending,l===null)break;m=l,l=m.next,m.next=null,i.lastBaseUpdate=m,i.shared.pending=null}}while(!0);if(u===null&&(c=h),i.baseState=c,i.firstBaseUpdate=d,i.lastBaseUpdate=u,t=i.shared.interleaved,t!==null){i=t;do a|=i.lane,i=i.next;while(i!==t)}else o===null&&(i.shared.lanes=0);Yr|=a,e.lanes=a,e.memoizedState=h}}function pf(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=Gc.transition;Gc.transition={};try{e(!1),t()}finally{ne=n,Gc.transition=r}}function _0(){return It().memoizedState}function TS(e,t,n){var r=ur(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},V0(e))z0(t,n);else if(n=w0(e,t,n,r),n!==null){var i=nt();Ht(n,e,r,i),B0(n,t,r)}}function ES(e,t,n){var r=ur(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(V0(e))z0(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var a=t.lastRenderedState,l=o(a,n);if(i.hasEagerState=!0,i.eagerState=l,Gt(l,a)){var c=t.interleaved;c===null?(i.next=i,Bh(t)):(i.next=c.next,c.next=i),t.interleaved=i;return}}catch{}finally{}n=w0(e,t,i,r),n!==null&&(i=nt(),Ht(n,e,r,i),B0(n,t,r))}}function V0(e){var t=e.alternate;return e===we||t!==null&&t===we}function z0(e,t){Gi=ml=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function B0(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ah(e,n)}}var pl={readContext:Pt,useCallback:$e,useContext:$e,useEffect:$e,useImperativeHandle:$e,useInsertionEffect:$e,useLayoutEffect:$e,useMemo:$e,useReducer:$e,useRef:$e,useState:$e,useDebugValue:$e,useDeferredValue:$e,useTransition:$e,useMutableSource:$e,useSyncExternalStore:$e,useId:$e,unstable_isNewReconciler:!1},PS={readContext:Pt,useCallback:function(e,t){return Jt().memoizedState=[e,t===void 0?null:t],e},useContext:Pt,useEffect:xf,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Fa(4194308,4,M0.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Fa(4194308,4,e,t)},useInsertionEffect:function(e,t){return Fa(4,2,e,t)},useMemo:function(e,t){var n=Jt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Jt();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=TS.bind(null,we,e),[r.memoizedState,e]},useRef:function(e){var t=Jt();return e={current:e},t.memoizedState=e},useState:ff,useDebugValue:Qh,useDeferredValue:function(e){return Jt().memoizedState=e},useTransition:function(){var e=ff(!1),t=e[0];return e=AS.bind(null,e[1]),Jt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=we,i=Jt();if(ge){if(n===void 0)throw Error(D(407));n=n()}else{if(n=t(),De===null)throw Error(D(349));Kr&30||k0(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,xf(A0.bind(null,r,o,e),[e]),r.flags|=2048,go(9,C0.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=Jt(),t=De.identifierPrefix;if(ge){var n=kn,r=Sn;n=(r&~(1<<32-Ut(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=fo++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=a.createElement(n,{is:r.is}):(e=a.createElement(n),n==="select"&&(a=e,r.multiple?a.multiple=!0:r.size&&(a.size=r.size))):e=a.createElementNS(e,n),e[on]=t,e[ho]=r,X0(e,t,!1,!1),t.stateNode=e;e:{switch(a=Wd(n,r),n){case"dialog":me("cancel",e),me("close",e),i=r;break;case"iframe":case"object":case"embed":me("load",e),i=r;break;case"video":case"audio":for(i=0;iJs&&(t.flags|=128,r=!0,Ti(o,!1),t.lanes=4194304)}else{if(!r)if(e=hl(a),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Ti(o,!0),o.tail===null&&o.tailMode==="hidden"&&!a.alternate&&!ge)return Ue(t),null}else 2*Ce()-o.renderingStartTime>Js&&n!==1073741824&&(t.flags|=128,r=!0,Ti(o,!1),t.lanes=4194304);o.isBackwards?(a.sibling=t.child,t.child=a):(n=o.last,n!==null?n.sibling=a:t.child=a,o.last=a)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=Ce(),t.sibling=null,n=ye.current,ce(ye,r?n&1|2:n&1),t):(Ue(t),null);case 22:case 23:return nm(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?ht&1073741824&&(Ue(t),t.subtreeFlags&6&&(t.flags|=8192)):Ue(t),null;case 24:return null;case 25:return null}throw Error(D(156,t.tag))}function _S(e,t){switch(Oh(t),t.tag){case 1:return ct(t.type)&&il(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Xs(),pe(lt),pe(Ke),Hh(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Uh(t),null;case 13:if(pe(ye),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(D(340));Ys()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return pe(ye),null;case 4:return Xs(),null;case 10:return zh(t.type._context),null;case 22:case 23:return nm(),null;case 24:return null;default:return null}}var xa=!1,Ge=!1,VS=typeof WeakSet=="function"?WeakSet:Set,z=null;function Ns(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Se(e,t,r)}else n.current=null}function fu(e,t,n){try{n()}catch(r){Se(e,t,r)}}var Af=!1;function zS(e,t){if(Zd=tl,e=s0(),Dh(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var a=0,l=-1,c=-1,d=0,u=0,h=e,m=null;t:for(;;){for(var g;h!==n||i!==0&&h.nodeType!==3||(l=a+i),h!==o||r!==0&&h.nodeType!==3||(c=a+r),h.nodeType===3&&(a+=h.nodeValue.length),(g=h.firstChild)!==null;)m=h,h=g;for(;;){if(h===e)break t;if(m===n&&++d===i&&(l=a),m===o&&++u===r&&(c=a),(g=h.nextSibling)!==null)break;h=m,m=h.parentNode}h=g}n=l===-1||c===-1?null:{start:l,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(Jd={focusedElem:e,selectionRange:n},tl=!1,z=t;z!==null;)if(t=z,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,z=e;else for(;z!==null;){t=z;try{var w=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(w!==null){var x=w.memoizedProps,b=w.memoizedState,y=t.stateNode,f=y.getSnapshotBeforeUpdate(t.elementType===t.type?x:Ft(t.type,x),b);y.__reactInternalSnapshotBeforeUpdate=f}break;case 3:var v=t.stateNode.containerInfo;v.nodeType===1?v.textContent="":v.nodeType===9&&v.documentElement&&v.removeChild(v.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(D(163))}}catch(j){Se(t,t.return,j)}if(e=t.sibling,e!==null){e.return=t.return,z=e;break}z=t.return}return w=Af,Af=!1,w}function qi(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&fu(t,n,o)}i=i.next}while(i!==r)}}function $l(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function xu(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function ev(e){var t=e.alternate;t!==null&&(e.alternate=null,ev(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[on],delete t[ho],delete t[nu],delete t[jS],delete t[NS])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function tv(e){return e.tag===5||e.tag===3||e.tag===4}function Tf(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||tv(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function gu(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=sl));else if(r!==4&&(e=e.child,e!==null))for(gu(e,t,n),e=e.sibling;e!==null;)gu(e,t,n),e=e.sibling}function yu(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(yu(e,t,n),e=e.sibling;e!==null;)yu(e,t,n),e=e.sibling}var Le=null,Bt=!1;function Vn(e,t,n){for(n=n.child;n!==null;)nv(e,t,n),n=n.sibling}function nv(e,t,n){if(cn&&typeof cn.onCommitFiberUnmount=="function")try{cn.onCommitFiberUnmount(Ll,n)}catch{}switch(n.tag){case 5:Ge||Ns(n,t);case 6:var r=Le,i=Bt;Le=null,Vn(e,t,n),Le=r,Bt=i,Le!==null&&(Bt?(e=Le,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Le.removeChild(n.stateNode));break;case 18:Le!==null&&(Bt?(e=Le,n=n.stateNode,e.nodeType===8?$c(e.parentNode,n):e.nodeType===1&&$c(e,n),oo(e)):$c(Le,n.stateNode));break;case 4:r=Le,i=Bt,Le=n.stateNode.containerInfo,Bt=!0,Vn(e,t,n),Le=r,Bt=i;break;case 0:case 11:case 14:case 15:if(!Ge&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,a=o.destroy;o=o.tag,a!==void 0&&(o&2||o&4)&&fu(n,t,a),i=i.next}while(i!==r)}Vn(e,t,n);break;case 1:if(!Ge&&(Ns(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){Se(n,t,l)}Vn(e,t,n);break;case 21:Vn(e,t,n);break;case 22:n.mode&1?(Ge=(r=Ge)||n.memoizedState!==null,Vn(e,t,n),Ge=r):Vn(e,t,n);break;default:Vn(e,t,n)}}function Ef(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new VS),t.forEach(function(r){var i=YS.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function Dt(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=a),r&=~o}if(r=i,r=Ce()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*WS(r/1960))-r,10e?16:e,sr===null)var r=!1;else{if(e=sr,sr=null,gl=0,te&6)throw Error(D(331));var i=te;for(te|=4,z=e.current;z!==null;){var o=z,a=o.child;if(z.flags&16){var l=o.deletions;if(l!==null){for(var c=0;cCe()-em?$r(e,0):Jh|=n),dt(e,t)}function dv(e,t){t===0&&(e.mode&1?(t=aa,aa<<=1,!(aa&130023424)&&(aa=4194304)):t=1);var n=nt();e=Rn(e,t),e!==null&&(Do(e,t,n),dt(e,n))}function KS(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),dv(e,n)}function YS(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(D(314))}r!==null&&r.delete(t),dv(e,n)}var uv;uv=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||lt.current)at=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return at=!1,OS(e,t,n);at=!!(e.flags&131072)}else at=!1,ge&&t.flags&1048576&&f0(t,ll,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;_a(e,t),e=t.pendingProps;var i=Ks(t,Ke.current);Ds(t,n),i=qh(null,t,r,e,i,n);var o=Kh();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,ct(r)?(o=!0,ol(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Wh(t),i.updater=Wl,t.stateNode=i,i._reactInternals=t,lu(t,r,e,n),t=uu(null,t,r,!0,o,n)):(t.tag=0,ge&&o&&Lh(t),Je(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(_a(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=XS(r),e=Ft(r,e),i){case 0:t=du(null,t,r,e,n);break e;case 1:t=Sf(null,t,r,e,n);break e;case 11:t=jf(null,t,r,e,n);break e;case 14:t=Nf(null,t,r,Ft(r.type,e),n);break e}throw Error(D(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ft(r,i),du(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ft(r,i),Sf(e,t,r,i,n);case 3:e:{if(K0(t),e===null)throw Error(D(387));r=t.pendingProps,o=t.memoizedState,i=o.element,b0(e,t),ul(t,r,null,n);var a=t.memoizedState;if(r=a.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=Zs(Error(D(423)),t),t=kf(e,t,r,n,i);break e}else if(r!==i){i=Zs(Error(D(424)),t),t=kf(e,t,r,n,i);break e}else for(pt=lr(t.stateNode.containerInfo.firstChild),ft=t,ge=!0,$t=null,n=v0(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Ys(),r===i){t=Mn(e,t,n);break e}Je(e,t,r,n)}t=t.child}return t;case 5:return j0(t),e===null&&iu(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,a=i.children,eu(r,i)?a=null:o!==null&&eu(r,o)&&(t.flags|=32),q0(e,t),Je(e,t,a,n),t.child;case 6:return e===null&&iu(t),null;case 13:return Y0(e,t,n);case 4:return $h(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Qs(t,null,r,n):Je(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ft(r,i),jf(e,t,r,i,n);case 7:return Je(e,t,t.pendingProps,n),t.child;case 8:return Je(e,t,t.pendingProps.children,n),t.child;case 12:return Je(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,a=i.value,ce(cl,r._currentValue),r._currentValue=a,o!==null)if(Gt(o.value,a)){if(o.children===i.children&&!lt.current){t=Mn(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var l=o.dependencies;if(l!==null){a=o.child;for(var c=l.firstContext;c!==null;){if(c.context===r){if(o.tag===1){c=Cn(-1,n&-n),c.tag=2;var d=o.updateQueue;if(d!==null){d=d.shared;var u=d.pending;u===null?c.next=c:(c.next=u.next,u.next=c),d.pending=c}}o.lanes|=n,c=o.alternate,c!==null&&(c.lanes|=n),ou(o.return,n,t),l.lanes|=n;break}c=c.next}}else if(o.tag===10)a=o.type===t.type?null:o.child;else if(o.tag===18){if(a=o.return,a===null)throw Error(D(341));a.lanes|=n,l=a.alternate,l!==null&&(l.lanes|=n),ou(a,n,t),a=o.sibling}else a=o.child;if(a!==null)a.return=o;else for(a=o;a!==null;){if(a===t){a=null;break}if(o=a.sibling,o!==null){o.return=a.return,a=o;break}a=a.return}o=a}Je(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,Ds(t,n),i=Pt(i),r=r(i),t.flags|=1,Je(e,t,r,n),t.child;case 14:return r=t.type,i=Ft(r,t.pendingProps),i=Ft(r.type,i),Nf(e,t,r,i,n);case 15:return H0(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ft(r,i),_a(e,t),t.tag=1,ct(r)?(e=!0,ol(t)):e=!1,Ds(t,n),W0(t,r,i),lu(t,r,i,n),uu(null,t,r,!0,e,n);case 19:return Q0(e,t,n);case 22:return G0(e,t,n)}throw Error(D(156,t.tag))};function hv(e,t){return Vy(e,t)}function QS(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Tt(e,t,n,r){return new QS(e,t,n,r)}function sm(e){return e=e.prototype,!(!e||!e.isReactComponent)}function XS(e){if(typeof e=="function")return sm(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Nh)return 11;if(e===Sh)return 14}return 2}function hr(e,t){var n=e.alternate;return n===null?(n=Tt(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Ba(e,t,n,r,i,o){var a=2;if(r=e,typeof e=="function")sm(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case ps:return Ur(n.children,i,o,t);case jh:a=8,i|=8;break;case Rd:return e=Tt(12,n,t,i|2),e.elementType=Rd,e.lanes=o,e;case Md:return e=Tt(13,n,t,i),e.elementType=Md,e.lanes=o,e;case Dd:return e=Tt(19,n,t,i),e.elementType=Dd,e.lanes=o,e;case jy:return Hl(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case wy:a=10;break e;case by:a=9;break e;case Nh:a=11;break e;case Sh:a=14;break e;case qn:a=16,r=null;break e}throw Error(D(130,e==null?e:typeof e,""))}return t=Tt(a,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function Ur(e,t,n,r){return e=Tt(7,e,r,t),e.lanes=n,e}function Hl(e,t,n,r){return e=Tt(22,e,r,t),e.elementType=jy,e.lanes=n,e.stateNode={isHidden:!1},e}function Xc(e,t,n){return e=Tt(6,e,null,t),e.lanes=n,e}function Zc(e,t,n){return t=Tt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function ZS(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Rc(0),this.expirationTimes=Rc(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Rc(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function im(e,t,n,r,i,o,a,l,c){return e=new ZS(e,t,n,l,c),t===1?(t=1,o===!0&&(t|=8)):t=0,o=Tt(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Wh(o),e}function JS(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(xv)}catch(e){console.error(e)}}xv(),xy.exports=wt;var is=xy.exports;const sk=sy(is);var gv,Ff=is;gv=Ff.createRoot,Ff.hydrateRoot;function ik(e,t){if(e instanceof RegExp)return{keys:!1,pattern:e};var n,r,i,o,a=[],l="",c=e.split("/");for(c[0]||c.shift();i=c.shift();)n=i[0],n==="*"?(a.push(n),l+=i[1]==="?"?"(?:/(.*))?":"/(.*)"):n===":"?(r=i.indexOf("?",1),o=i.indexOf(".",1),a.push(i.substring(1,~r?r:~o?o:i.length)),l+=~r&&!~o?"(?:/([^/]+?))?":"/([^/]+?)",~o&&(l+=(~r?"?":"")+"\\"+i.substring(o))):l+="/"+i;return{keys:a,pattern:new RegExp("^"+l+(t?"(?=$|/)":"/?$"),"i")}}var yv={exports:{}},vv={};/** * @license React * use-sync-external-store-shim.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var ei=p;function ok(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var ak=typeof Object.is=="function"?Object.is:ok,lk=ei.useState,ck=ei.useEffect,dk=ei.useLayoutEffect,uk=ei.useDebugValue;function hk(e,t){var n=t(),r=lk({inst:{value:n,getSnapshot:t}}),i=r[0].inst,o=r[1];return dk(function(){i.value=n,i.getSnapshot=t,Jc(i)&&o({inst:i})},[e,n,t]),ck(function(){return Jc(i)&&o({inst:i}),e(function(){Jc(i)&&o({inst:i})})},[e]),uk(n),n}function Jc(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!ak(e,n)}catch{return!0}}function mk(e,t){return t()}var pk=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?mk:hk;vv.useSyncExternalStore=ei.useSyncExternalStore!==void 0?ei.useSyncExternalStore:pk;yv.exports=vv;var fk=yv.exports;const xk=yh.useInsertionEffect,gk=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",wv=gk?p.useLayoutEffect:p.useEffect,yk=xk||wv,cm=e=>{const t=p.useRef([e,(...n)=>t[0](...n)]).current;return yk(()=>{t[0]=e}),t[1]},vk="popstate",dm="pushState",um="replaceState",wk="hashchange",_f=[vk,dm,um,wk],bk=e=>{for(const t of _f)addEventListener(t,e);return()=>{for(const t of _f)removeEventListener(t,e)}},bv=(e,t)=>fk.useSyncExternalStore(bk,e,t),jk=()=>location.search,Nk=({ssrSearch:e=""}={})=>bv(jk,()=>e),Vf=()=>location.pathname,Sk=({ssrPath:e}={})=>bv(Vf,e?()=>e:Vf),kk=(e,{replace:t=!1,state:n=null}={})=>history[t?um:dm](n,"",e),Ck=(e={})=>[Sk(e),kk],zf=Symbol.for("wouter_v3");if(typeof history<"u"&&typeof window[zf]>"u"){for(const e of[dm,um]){const t=history[e];history[e]=function(){const n=t.apply(this,arguments),r=new Event(e);return r.arguments=arguments,dispatchEvent(r),n}}Object.defineProperty(window,zf,{value:!0})}const Ak=(e,t)=>t.toLowerCase().indexOf(e.toLowerCase())?"~"+t:t.slice(e.length)||"/",jv=(e="")=>e==="/"?"":e,Tk=(e,t)=>e[0]==="~"?e.slice(1):jv(t)+e,Ek=(e="",t)=>Ak(Bf(jv(e)),Bf(t)),Bf=e=>{try{return decodeURI(e)}catch{return e}},Nv={hook:Ck,searchHook:Nk,parser:ik,base:"",ssrPath:void 0,ssrSearch:void 0,ssrContext:void 0,hrefs:e=>e},Sv=p.createContext(Nv),di=()=>p.useContext(Sv),kv={},Cv=p.createContext(kv),Pk=()=>p.useContext(Cv),_o=e=>{const[t,n]=e.hook(e);return[Ek(e.base,t),cm((r,i)=>n(Tk(r,e.base),i))]},os=()=>_o(di()),Av=(e,t,n,r)=>{const{pattern:i,keys:o}=t instanceof RegExp?{keys:!1,pattern:t}:e(t||"*",r),a=i.exec(n)||[],[l,...c]=a;return l!==void 0?[!0,(()=>{const d=o!==!1?Object.fromEntries(o.map((h,m)=>[h,c[m]])):a.groups;let u={...c};return d&&Object.assign(u,d),u})(),...r?[l]:[]]:[!1,null]},Ik=({children:e,...t})=>{var u,h;const n=di(),r=t.hook?Nv:n;let i=r;const[o,a]=((u=t.ssrPath)==null?void 0:u.split("?"))??[];a&&(t.ssrSearch=a,t.ssrPath=o),t.hrefs=t.hrefs??((h=t.hook)==null?void 0:h.hrefs);let l=p.useRef({}),c=l.current,d=c;for(let m in r){const g=m==="base"?r[m]+(t[m]||""):t[m]||r[m];c===d&&g!==d[m]&&(l.current=d={...d}),d[m]=g,(g!==r[m]||g!==i[m])&&(i=d)}return p.createElement(Sv.Provider,{value:i,children:e})},Wf=({children:e,component:t},n)=>t?p.createElement(t,{params:n}):typeof e=="function"?e(n):e,Rk=e=>{let t=p.useRef(kv);const n=t.current;return t.current=Object.keys(e).length!==Object.keys(n).length||Object.entries(e).some(([r,i])=>i!==n[r])?e:n},oe=({path:e,nest:t,match:n,...r})=>{const i=di(),[o]=_o(i),[a,l,c]=n??Av(i.parser,e,o,t),d=Rk({...Pk(),...l});if(!a)return null;const u=c?p.createElement(Ik,{base:c},Wf(r,d)):Wf(r,d);return p.createElement(Cv.Provider,{value:d,children:u})},q=p.forwardRef((e,t)=>{const n=di(),[r,i]=_o(n),{to:o="",href:a=o,onClick:l,asChild:c,children:d,className:u,replace:h,state:m,...g}=e,w=cm(b=>{b.ctrlKey||b.metaKey||b.altKey||b.shiftKey||b.button!==0||(l==null||l(b),b.defaultPrevented||(b.preventDefault(),i(a,e)))}),x=n.hrefs(a[0]==="~"?a.slice(1):n.base+a,n);return c&&p.isValidElement(d)?p.cloneElement(d,{onClick:w,href:x}):p.createElement("a",{...g,onClick:w,href:x,className:u!=null&&u.call?u(r===a):u,children:d,ref:t})}),Tv=e=>Array.isArray(e)?e.flatMap(t=>Tv(t&&t.type===p.Fragment?t.props.children:t)):[e],Mk=({children:e,location:t})=>{const n=di(),[r]=_o(n);for(const i of Tv(e)){let o=0;if(p.isValidElement(i)&&(o=Av(n.parser,i.props.path,t||r,i.props.nest))[0])return p.cloneElement(i,{match:o})}return null},xn=e=>{const{to:t,href:n=t}=e,r=di(),[,i]=_o(r),o=cm(()=>i(t||n,e)),{ssrContext:a}=r;return wv(()=>{o()},[]),a&&(a.redirectTo=t),null};var Ql=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(){}},Dk={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},Xn,mh,Yg,Lk=(Yg=class{constructor(){ee(this,Xn,Dk);ee(this,mh,!1)}setTimeoutProvider(e){K(this,Xn,e)}setTimeout(e,t){return I(this,Xn).setTimeout(e,t)}clearTimeout(e){I(this,Xn).clearTimeout(e)}setInterval(e,t){return I(this,Xn).setInterval(e,t)}clearInterval(e){I(this,Xn).clearInterval(e)}},Xn=new WeakMap,mh=new WeakMap,Yg),Nu=new Lk;function Ok(e){setTimeout(e,0)}var Xl=typeof window>"u"||"Deno"in globalThis;function _t(){}function Fk(e,t){return typeof e=="function"?e(t):e}function _k(e){return typeof e=="number"&&e>=0&&e!==1/0}function Vk(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Su(e,t){return typeof e=="function"?e(t):e}function zk(e,t){return typeof e=="function"?e(t):e}function $f(e,t){const{type:n="all",exact:r,fetchStatus:i,predicate:o,queryKey:a,stale:l}=e;if(a){if(r){if(t.queryHash!==hm(a,t.options))return!1}else if(!wo(t.queryKey,a))return!1}if(n!=="all"){const c=t.isActive();if(n==="active"&&!c||n==="inactive"&&c)return!1}return!(typeof l=="boolean"&&t.isStale()!==l||i&&i!==t.state.fetchStatus||o&&!o(t))}function Uf(e,t){const{exact:n,status:r,predicate:i,mutationKey:o}=e;if(o){if(!t.options.mutationKey)return!1;if(n){if(vo(t.options.mutationKey)!==vo(o))return!1}else if(!wo(t.options.mutationKey,o))return!1}return!(r&&t.state.status!==r||i&&!i(t))}function hm(e,t){return((t==null?void 0:t.queryKeyHashFn)||vo)(e)}function vo(e){return JSON.stringify(e,(t,n)=>ku(n)?Object.keys(n).sort().reduce((r,i)=>(r[i]=n[i],r),{}):n)}function wo(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>wo(e[n],t[n])):!1}var Bk=Object.prototype.hasOwnProperty;function Ev(e,t){if(e===t)return e;const n=Hf(e)&&Hf(t);if(!n&&!(ku(e)&&ku(t)))return t;const i=(n?e:Object.keys(e)).length,o=n?t:Object.keys(t),a=o.length,l=n?new Array(a):{};let c=0;for(let d=0;d{Nu.setTimeout(t,e)})}function $k(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?Ev(e,t):t}function Uk(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function Hk(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var mm=Symbol();function Pv(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===mm?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var Fr,Zn,Vs,Qg,Gk=(Qg=class extends Ql{constructor(){super();ee(this,Fr);ee(this,Zn);ee(this,Vs);K(this,Vs,t=>{if(!Xl&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){I(this,Zn)||this.setEventListener(I(this,Vs))}onUnsubscribe(){var t;this.hasListeners()||((t=I(this,Zn))==null||t.call(this),K(this,Zn,void 0))}setEventListener(t){var n;K(this,Vs,t),(n=I(this,Zn))==null||n.call(this),K(this,Zn,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){I(this,Fr)!==t&&(K(this,Fr,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof I(this,Fr)=="boolean"?I(this,Fr):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},Fr=new WeakMap,Zn=new WeakMap,Vs=new WeakMap,Qg),Iv=new Gk;function qk(){let e,t;const n=new Promise((i,o)=>{e=i,t=o});n.status="pending",n.catch(()=>{});function r(i){Object.assign(n,i),delete n.resolve,delete n.reject}return n.resolve=i=>{r({status:"fulfilled",value:i}),e(i)},n.reject=i=>{r({status:"rejected",reason:i}),t(i)},n}var Kk=Ok;function Yk(){let e=[],t=0,n=l=>{l()},r=l=>{l()},i=Kk;const o=l=>{t?e.push(l):i(()=>{n(l)})},a=()=>{const l=e;e=[],l.length&&i(()=>{r(()=>{l.forEach(c=>{n(c)})})})};return{batch:l=>{let c;t++;try{c=l()}finally{t--,t||a()}return c},batchCalls:l=>(...c)=>{o(()=>{l(...c)})},schedule:o,setNotifyFunction:l=>{n=l},setBatchNotifyFunction:l=>{r=l},setScheduler:l=>{i=l}}}var tt=Yk(),zs,Jn,Bs,Xg,Qk=(Xg=class extends Ql{constructor(){super();ee(this,zs,!0);ee(this,Jn);ee(this,Bs);K(this,Bs,t=>{if(!Xl&&window.addEventListener){const n=()=>t(!0),r=()=>t(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",r)}}})}onSubscribe(){I(this,Jn)||this.setEventListener(I(this,Bs))}onUnsubscribe(){var t;this.hasListeners()||((t=I(this,Jn))==null||t.call(this),K(this,Jn,void 0))}setEventListener(t){var n;K(this,Bs,t),(n=I(this,Jn))==null||n.call(this),K(this,Jn,t(this.setOnline.bind(this)))}setOnline(t){I(this,zs)!==t&&(K(this,zs,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return I(this,zs)}},zs=new WeakMap,Jn=new WeakMap,Bs=new WeakMap,Xg),wl=new Qk;function Xk(e){return Math.min(1e3*2**e,3e4)}function Rv(e){return(e??"online")==="online"?wl.isOnline():!0}var Cu=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function Mv(e){let t=!1,n=0,r;const i=qk(),o=()=>i.status!=="pending",a=x=>{var b;if(!o()){const y=new Cu(x);m(y),(b=e.onCancel)==null||b.call(e,y)}},l=()=>{t=!0},c=()=>{t=!1},d=()=>Iv.isFocused()&&(e.networkMode==="always"||wl.isOnline())&&e.canRun(),u=()=>Rv(e.networkMode)&&e.canRun(),h=x=>{o()||(r==null||r(),i.resolve(x))},m=x=>{o()||(r==null||r(),i.reject(x))},g=()=>new Promise(x=>{var b;r=y=>{(o()||d())&&x(y)},(b=e.onPause)==null||b.call(e)}).then(()=>{var x;r=void 0,o()||(x=e.onContinue)==null||x.call(e)}),w=()=>{if(o())return;let x;const b=n===0?e.initialPromise:void 0;try{x=b??e.fn()}catch(y){x=Promise.reject(y)}Promise.resolve(x).then(h).catch(y=>{var S;if(o())return;const f=e.retry??(Xl?0:3),v=e.retryDelay??Xk,j=typeof v=="function"?v(n,y):v,N=f===!0||typeof f=="number"&&nd()?void 0:g()).then(()=>{t?m(y):w()})})};return{promise:i,status:()=>i.status,cancel:a,continue:()=>(r==null||r(),i),cancelRetry:l,continueRetry:c,canStart:u,start:()=>(u()?w():g().then(w),i)}}var _r,Zg,Dv=(Zg=class{constructor(){ee(this,_r)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),_k(this.gcTime)&&K(this,_r,Nu.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Xl?1/0:5*60*1e3))}clearGcTimeout(){I(this,_r)&&(Nu.clearTimeout(I(this,_r)),K(this,_r,void 0))}},_r=new WeakMap,Zg),Vr,Ws,kt,zr,Re,Po,Br,Vt,yn,Jg,Zk=(Jg=class extends Dv{constructor(t){super();ee(this,Vt);ee(this,Vr);ee(this,Ws);ee(this,kt);ee(this,zr);ee(this,Re);ee(this,Po);ee(this,Br);K(this,Br,!1),K(this,Po,t.defaultOptions),this.setOptions(t.options),this.observers=[],K(this,zr,t.client),K(this,kt,I(this,zr).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,K(this,Vr,qf(this.options)),this.state=t.state??I(this,Vr),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=I(this,Re))==null?void 0:t.promise}setOptions(t){if(this.options={...I(this,Po),...t},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const n=qf(this.options);n.data!==void 0&&(this.setData(n.data,{updatedAt:n.dataUpdatedAt,manual:!0}),K(this,Vr,n))}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&I(this,kt).remove(this)}setData(t,n){const r=$k(this.state.data,t,this.options);return We(this,Vt,yn).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){We(this,Vt,yn).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,i;const n=(r=I(this,Re))==null?void 0:r.promise;return(i=I(this,Re))==null||i.cancel(t),n?n.then(_t).catch(_t):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(I(this,Vr))}isActive(){return this.observers.some(t=>zk(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===mm||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>Su(t.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(t=0){return this.state.data===void 0?!0:t==="static"?!1:this.state.isInvalidated?!0:!Vk(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=I(this,Re))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=I(this,Re))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),I(this,kt).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(I(this,Re)&&(I(this,Br)?I(this,Re).cancel({revert:!0}):I(this,Re).cancelRetry()),this.scheduleGc()),I(this,kt).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||We(this,Vt,yn).call(this,{type:"invalidate"})}async fetch(t,n){var c,d,u,h,m,g,w,x,b,y,f,v;if(this.state.fetchStatus!=="idle"&&((c=I(this,Re))==null?void 0:c.status())!=="rejected"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(I(this,Re))return I(this,Re).continueRetry(),I(this,Re).promise}if(t&&this.setOptions(t),!this.options.queryFn){const j=this.observers.find(N=>N.options.queryFn);j&&this.setOptions(j.options)}const r=new AbortController,i=j=>{Object.defineProperty(j,"signal",{enumerable:!0,get:()=>(K(this,Br,!0),r.signal)})},o=()=>{const j=Pv(this.options,n),S=(()=>{const k={client:I(this,zr),queryKey:this.queryKey,meta:this.meta};return i(k),k})();return K(this,Br,!1),this.options.persister?this.options.persister(j,S,this):j(S)},l=(()=>{const j={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:I(this,zr),state:this.state,fetchFn:o};return i(j),j})();(d=this.options.behavior)==null||d.onFetch(l,this),K(this,Ws,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((u=l.fetchOptions)==null?void 0:u.meta))&&We(this,Vt,yn).call(this,{type:"fetch",meta:(h=l.fetchOptions)==null?void 0:h.meta}),K(this,Re,Mv({initialPromise:n==null?void 0:n.initialPromise,fn:l.fetchFn,onCancel:j=>{j instanceof Cu&&j.revert&&this.setState({...I(this,Ws),fetchStatus:"idle"}),r.abort()},onFail:(j,N)=>{We(this,Vt,yn).call(this,{type:"failed",failureCount:j,error:N})},onPause:()=>{We(this,Vt,yn).call(this,{type:"pause"})},onContinue:()=>{We(this,Vt,yn).call(this,{type:"continue"})},retry:l.options.retry,retryDelay:l.options.retryDelay,networkMode:l.options.networkMode,canRun:()=>!0}));try{const j=await I(this,Re).start();if(j===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(j),(g=(m=I(this,kt).config).onSuccess)==null||g.call(m,j,this),(x=(w=I(this,kt).config).onSettled)==null||x.call(w,j,this.state.error,this),j}catch(j){if(j instanceof Cu){if(j.silent)return I(this,Re).promise;if(j.revert){if(this.state.data===void 0)throw j;return this.state.data}}throw We(this,Vt,yn).call(this,{type:"error",error:j}),(y=(b=I(this,kt).config).onError)==null||y.call(b,j,this),(v=(f=I(this,kt).config).onSettled)==null||v.call(f,this.state.data,j,this),j}finally{this.scheduleGc()}}},Vr=new WeakMap,Ws=new WeakMap,kt=new WeakMap,zr=new WeakMap,Re=new WeakMap,Po=new WeakMap,Br=new WeakMap,Vt=new WeakSet,yn=function(t){const n=r=>{switch(t.type){case"failed":return{...r,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,...Jk(r.data,this.options),fetchMeta:t.meta??null};case"success":const i={...r,data:t.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return K(this,Ws,t.manual?i:void 0),i;case"error":const o=t.error;return{...r,error:o,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:o,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),tt.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),I(this,kt).notify({query:this,type:"updated",action:t})})},Jg);function Jk(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Rv(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function qf(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}function Kf(e){return{onFetch:(t,n)=>{var u,h,m,g,w;const r=t.options,i=(m=(h=(u=t.fetchOptions)==null?void 0:u.meta)==null?void 0:h.fetchMore)==null?void 0:m.direction,o=((g=t.state.data)==null?void 0:g.pages)||[],a=((w=t.state.data)==null?void 0:w.pageParams)||[];let l={pages:[],pageParams:[]},c=0;const d=async()=>{let x=!1;const b=v=>{Object.defineProperty(v,"signal",{enumerable:!0,get:()=>(t.signal.aborted?x=!0:t.signal.addEventListener("abort",()=>{x=!0}),t.signal)})},y=Pv(t.options,t.fetchOptions),f=async(v,j,N)=>{if(x)return Promise.reject();if(j==null&&v.pages.length)return Promise.resolve(v);const k=(()=>{const M={client:t.client,queryKey:t.queryKey,pageParam:j,direction:N?"backward":"forward",meta:t.options.meta};return b(M),M})(),A=await y(k),{maxPages:R}=t.options,C=N?Hk:Uk;return{pages:C(v.pages,A,R),pageParams:C(v.pageParams,j,R)}};if(i&&o.length){const v=i==="backward",j=v?e4:Yf,N={pages:o,pageParams:a},S=j(r,N);l=await f(N,S,v)}else{const v=e??o.length;do{const j=c===0?a[0]??r.initialPageParam:Yf(r,l);if(c>0&&j==null)break;l=await f(l,j),c++}while(c{var x,b;return(b=(x=t.options).persister)==null?void 0:b.call(x,d,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=d}}}function Yf(e,{pages:t,pageParams:n}){const r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function e4(e,{pages:t,pageParams:n}){var r;return t.length>0?(r=e.getPreviousPageParam)==null?void 0:r.call(e,t[0],t,n[0],n):void 0}var Io,nn,Ze,Wr,rn,$n,ey,t4=(ey=class extends Dv{constructor(t){super();ee(this,rn);ee(this,Io);ee(this,nn);ee(this,Ze);ee(this,Wr);K(this,Io,t.client),this.mutationId=t.mutationId,K(this,Ze,t.mutationCache),K(this,nn,[]),this.state=t.state||n4(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){I(this,nn).includes(t)||(I(this,nn).push(t),this.clearGcTimeout(),I(this,Ze).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){K(this,nn,I(this,nn).filter(n=>n!==t)),this.scheduleGc(),I(this,Ze).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){I(this,nn).length||(this.state.status==="pending"?this.scheduleGc():I(this,Ze).remove(this))}continue(){var t;return((t=I(this,Wr))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var a,l,c,d,u,h,m,g,w,x,b,y,f,v,j,N,S,k,A,R;const n=()=>{We(this,rn,$n).call(this,{type:"continue"})},r={client:I(this,Io),meta:this.options.meta,mutationKey:this.options.mutationKey};K(this,Wr,Mv({fn:()=>this.options.mutationFn?this.options.mutationFn(t,r):Promise.reject(new Error("No mutationFn found")),onFail:(C,M)=>{We(this,rn,$n).call(this,{type:"failed",failureCount:C,error:M})},onPause:()=>{We(this,rn,$n).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>I(this,Ze).canRun(this)}));const i=this.state.status==="pending",o=!I(this,Wr).canStart();try{if(i)n();else{We(this,rn,$n).call(this,{type:"pending",variables:t,isPaused:o}),await((l=(a=I(this,Ze).config).onMutate)==null?void 0:l.call(a,t,this,r));const M=await((d=(c=this.options).onMutate)==null?void 0:d.call(c,t,r));M!==this.state.context&&We(this,rn,$n).call(this,{type:"pending",context:M,variables:t,isPaused:o})}const C=await I(this,Wr).start();return await((h=(u=I(this,Ze).config).onSuccess)==null?void 0:h.call(u,C,t,this.state.context,this,r)),await((g=(m=this.options).onSuccess)==null?void 0:g.call(m,C,t,this.state.context,r)),await((x=(w=I(this,Ze).config).onSettled)==null?void 0:x.call(w,C,null,this.state.variables,this.state.context,this,r)),await((y=(b=this.options).onSettled)==null?void 0:y.call(b,C,null,t,this.state.context,r)),We(this,rn,$n).call(this,{type:"success",data:C}),C}catch(C){try{throw await((v=(f=I(this,Ze).config).onError)==null?void 0:v.call(f,C,t,this.state.context,this,r)),await((N=(j=this.options).onError)==null?void 0:N.call(j,C,t,this.state.context,r)),await((k=(S=I(this,Ze).config).onSettled)==null?void 0:k.call(S,void 0,C,this.state.variables,this.state.context,this,r)),await((R=(A=this.options).onSettled)==null?void 0:R.call(A,void 0,C,t,this.state.context,r)),C}finally{We(this,rn,$n).call(this,{type:"error",error:C})}}finally{I(this,Ze).runNext(this)}}},Io=new WeakMap,nn=new WeakMap,Ze=new WeakMap,Wr=new WeakMap,rn=new WeakSet,$n=function(t){const n=r=>{switch(t.type){case"failed":return{...r,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"pending":return{...r,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...r,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:t.error,failureCount:r.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=n(this.state),tt.batch(()=>{I(this,nn).forEach(r=>{r.onMutationUpdate(t)}),I(this,Ze).notify({mutation:this,type:"updated",action:t})})},ey);function n4(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Nn,zt,Ro,ty,r4=(ty=class extends Ql{constructor(t={}){super();ee(this,Nn);ee(this,zt);ee(this,Ro);this.config=t,K(this,Nn,new Set),K(this,zt,new Map),K(this,Ro,0)}build(t,n,r){const i=new t4({client:t,mutationCache:this,mutationId:++ta(this,Ro)._,options:t.defaultMutationOptions(n),state:r});return this.add(i),i}add(t){I(this,Nn).add(t);const n=va(t);if(typeof n=="string"){const r=I(this,zt).get(n);r?r.push(t):I(this,zt).set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(I(this,Nn).delete(t)){const n=va(t);if(typeof n=="string"){const r=I(this,zt).get(n);if(r)if(r.length>1){const i=r.indexOf(t);i!==-1&&r.splice(i,1)}else r[0]===t&&I(this,zt).delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=va(t);if(typeof n=="string"){const r=I(this,zt).get(n),i=r==null?void 0:r.find(o=>o.state.status==="pending");return!i||i===t}else return!0}runNext(t){var r;const n=va(t);if(typeof n=="string"){const i=(r=I(this,zt).get(n))==null?void 0:r.find(o=>o!==t&&o.state.isPaused);return(i==null?void 0:i.continue())??Promise.resolve()}else return Promise.resolve()}clear(){tt.batch(()=>{I(this,Nn).forEach(t=>{this.notify({type:"removed",mutation:t})}),I(this,Nn).clear(),I(this,zt).clear()})}getAll(){return Array.from(I(this,Nn))}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Uf(n,r))}findAll(t={}){return this.getAll().filter(n=>Uf(t,n))}notify(t){tt.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return tt.batch(()=>Promise.all(t.map(n=>n.continue().catch(_t))))}},Nn=new WeakMap,zt=new WeakMap,Ro=new WeakMap,ty);function va(e){var t;return(t=e.options.scope)==null?void 0:t.id}var sn,ny,s4=(ny=class extends Ql{constructor(t={}){super();ee(this,sn);this.config=t,K(this,sn,new Map)}build(t,n,r){const i=n.queryKey,o=n.queryHash??hm(i,n);let a=this.get(o);return a||(a=new Zk({client:t,queryKey:i,queryHash:o,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(i)}),this.add(a)),a}add(t){I(this,sn).has(t.queryHash)||(I(this,sn).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=I(this,sn).get(t.queryHash);n&&(t.destroy(),n===t&&I(this,sn).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){tt.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return I(this,sn).get(t)}getAll(){return[...I(this,sn).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>$f(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>$f(t,r)):n}notify(t){tt.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){tt.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){tt.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},sn=new WeakMap,ny),je,er,tr,$s,Us,nr,Hs,Gs,ry,i4=(ry=class{constructor(e={}){ee(this,je);ee(this,er);ee(this,tr);ee(this,$s);ee(this,Us);ee(this,nr);ee(this,Hs);ee(this,Gs);K(this,je,e.queryCache||new s4),K(this,er,e.mutationCache||new r4),K(this,tr,e.defaultOptions||{}),K(this,$s,new Map),K(this,Us,new Map),K(this,nr,0)}mount(){ta(this,nr)._++,I(this,nr)===1&&(K(this,Hs,Iv.subscribe(async e=>{e&&(await this.resumePausedMutations(),I(this,je).onFocus())})),K(this,Gs,wl.subscribe(async e=>{e&&(await this.resumePausedMutations(),I(this,je).onOnline())})))}unmount(){var e,t;ta(this,nr)._--,I(this,nr)===0&&((e=I(this,Hs))==null||e.call(this),K(this,Hs,void 0),(t=I(this,Gs))==null||t.call(this),K(this,Gs,void 0))}isFetching(e){return I(this,je).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return I(this,er).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=I(this,je).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=I(this,je).build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(Su(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return I(this,je).findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),i=I(this,je).get(r.queryHash),o=i==null?void 0:i.state.data,a=Fk(t,o);if(a!==void 0)return I(this,je).build(this,r).setData(a,{...n,manual:!0})}setQueriesData(e,t,n){return tt.batch(()=>I(this,je).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=I(this,je).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=I(this,je);tt.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=I(this,je);return tt.batch(()=>(n.findAll(e).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},r=tt.batch(()=>I(this,je).findAll(e).map(i=>i.cancel(n)));return Promise.all(r).then(_t).catch(_t)}invalidateQueries(e,t={}){return tt.batch(()=>(I(this,je).findAll(e).forEach(n=>{n.invalidate()}),(e==null?void 0:e.refetchType)==="none"?Promise.resolve():this.refetchQueries({...e,type:(e==null?void 0:e.refetchType)??(e==null?void 0:e.type)??"active"},t)))}refetchQueries(e,t={}){const n={...t,cancelRefetch:t.cancelRefetch??!0},r=tt.batch(()=>I(this,je).findAll(e).filter(i=>!i.isDisabled()&&!i.isStatic()).map(i=>{let o=i.fetch(void 0,n);return n.throwOnError||(o=o.catch(_t)),i.state.fetchStatus==="paused"?Promise.resolve():o}));return Promise.all(r).then(_t)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=I(this,je).build(this,t);return n.isStaleByTime(Su(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(_t).catch(_t)}fetchInfiniteQuery(e){return e.behavior=Kf(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(_t).catch(_t)}ensureInfiniteQueryData(e){return e.behavior=Kf(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return wl.isOnline()?I(this,er).resumePausedMutations():Promise.resolve()}getQueryCache(){return I(this,je)}getMutationCache(){return I(this,er)}getDefaultOptions(){return I(this,tr)}setDefaultOptions(e){K(this,tr,e)}setQueryDefaults(e,t){I(this,$s).set(vo(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...I(this,$s).values()],n={};return t.forEach(r=>{wo(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){I(this,Us).set(vo(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...I(this,Us).values()],n={};return t.forEach(r=>{wo(e,r.mutationKey)&&Object.assign(n,r.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...I(this,tr).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=hm(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===mm&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...I(this,tr).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){I(this,je).clear(),I(this,er).clear()}},je=new WeakMap,er=new WeakMap,tr=new WeakMap,$s=new WeakMap,Us=new WeakMap,nr=new WeakMap,Hs=new WeakMap,Gs=new WeakMap,ry),o4=p.createContext(void 0),a4=({client:e,children:t})=>(p.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),s.jsx(o4.Provider,{value:e,children:t}));async function Lv(e){if(!e.ok){const t=await e.text()||e.statusText;throw new Error(`${e.status}: ${t}`)}}async function wn(e,t,n){const r=n instanceof FormData,i=await fetch(t,{method:e,headers:r||!n?{}:{"Content-Type":"application/json"},body:r?n:n?JSON.stringify(n):void 0,credentials:"include"});return await Lv(i),i}const l4=({on401:e})=>async({queryKey:t})=>{const n=await fetch(t[0],{credentials:"include"});return await Lv(n),await n.json()},c4=new i4({defaultOptions:{queries:{queryFn:l4({on401:"throw"}),refetchInterval:!1,refetchOnWindowFocus:!0,staleTime:5*60*1e3,gcTime:10*60*1e3,retry:3,retryDelay:e=>Math.min(1e3*2**e,3e4)},mutations:{retry:1}}}),d4=1,u4=1e6;let ed=0;function h4(){return ed=(ed+1)%Number.MAX_SAFE_INTEGER,ed.toString()}const td=new Map,Qf=e=>{if(td.has(e))return;const t=setTimeout(()=>{td.delete(e),Qi({type:"REMOVE_TOAST",toastId:e})},u4);td.set(e,t)},m4=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,d4)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(n=>n.id===t.toast.id?{...n,...t.toast}:n)};case"DISMISS_TOAST":{const{toastId:n}=t;return n?Qf(n):e.toasts.forEach(r=>{Qf(r.id)}),{...e,toasts:e.toasts.map(r=>r.id===n||n===void 0?{...r,open:!1}:r)}}case"REMOVE_TOAST":return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(n=>n.id!==t.toastId)}}},Wa=[];let $a={toasts:[]};function Qi(e){$a=m4($a,e),Wa.forEach(t=>{t($a)})}function p4({...e}){const t=h4(),n=i=>Qi({type:"UPDATE_TOAST",toast:{...i,id:t}}),r=()=>Qi({type:"DISMISS_TOAST",toastId:t});return Qi({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:i=>{i||r()}}}),{id:t,dismiss:r,update:n}}function pm(){const[e,t]=p.useState($a);return p.useEffect(()=>(Wa.push(t),()=>{const n=Wa.indexOf(t);n>-1&&Wa.splice(n,1)}),[e]),{...e,toast:p4,dismiss:n=>Qi({type:"DISMISS_TOAST",toastId:n})}}function U(e,t,{checkForDefaultPrevented:n=!0}={}){return function(i){if(e==null||e(i),n===!1||!i.defaultPrevented)return t==null?void 0:t(i)}}function Xf(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function Ov(...e){return t=>{let n=!1;const r=e.map(i=>{const o=Xf(i,t);return!n&&typeof o=="function"&&(n=!0),o});if(n)return()=>{for(let i=0;i{const{children:a,...l}=o,c=p.useMemo(()=>l,Object.values(l));return s.jsx(n.Provider,{value:c,children:a})};r.displayName=e+"Provider";function i(o){const a=p.useContext(n);if(a)return a;if(t!==void 0)return t;throw new Error(`\`${o}\` must be used within \`${e}\``)}return[r,i]}function jr(e,t=[]){let n=[];function r(o,a){const l=p.createContext(a),c=n.length;n=[...n,a];const d=h=>{var y;const{scope:m,children:g,...w}=h,x=((y=m==null?void 0:m[e])==null?void 0:y[c])||l,b=p.useMemo(()=>w,Object.values(w));return s.jsx(x.Provider,{value:b,children:g})};d.displayName=o+"Provider";function u(h,m){var x;const g=((x=m==null?void 0:m[e])==null?void 0:x[c])||l,w=p.useContext(g);if(w)return w;if(a!==void 0)return a;throw new Error(`\`${h}\` must be used within \`${o}\``)}return[d,u]}const i=()=>{const o=n.map(a=>p.createContext(a));return function(l){const c=(l==null?void 0:l[e])||o;return p.useMemo(()=>({[`__scope${e}`]:{...l,[e]:c}}),[l,c])}};return i.scopeName=e,[r,x4(i,...t)]}function x4(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(o){const a=r.reduce((l,{useScope:c,scopeName:d})=>{const h=c(o)[`__scope${d}`];return{...l,...h}},{});return p.useMemo(()=>({[`__scope${t.scopeName}`]:a}),[a])}};return n.scopeName=t.scopeName,n}function ti(e){const t=y4(e),n=p.forwardRef((r,i)=>{const{children:o,...a}=r,l=p.Children.toArray(o),c=l.find(w4);if(c){const d=c.props.children,u=l.map(h=>h===c?p.Children.count(d)>1?p.Children.only(null):p.isValidElement(d)?d.props.children:null:h);return s.jsx(t,{...a,ref:i,children:p.isValidElement(d)?p.cloneElement(d,void 0,u):null})}return s.jsx(t,{...a,ref:i,children:o})});return n.displayName=`${e}.Slot`,n}var g4=ti("Slot");function y4(e){const t=p.forwardRef((n,r)=>{const{children:i,...o}=n;if(p.isValidElement(i)){const a=j4(i),l=b4(o,i.props);return i.type!==p.Fragment&&(l.ref=r?Ov(r,a):a),p.cloneElement(i,l)}return p.Children.count(i)>1?p.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Fv=Symbol("radix.slottable");function v4(e){const t=({children:n})=>s.jsx(s.Fragment,{children:n});return t.displayName=`${e}.Slottable`,t.__radixId=Fv,t}function w4(e){return p.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Fv}function b4(e,t){const n={...t};for(const r in t){const i=e[r],o=t[r];/^on[A-Z]/.test(r)?i&&o?n[r]=(...l)=>{const c=o(...l);return i(...l),c}:i&&(n[r]=i):r==="style"?n[r]={...i,...o}:r==="className"&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}function j4(e){var r,i;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function fm(e){const t=e+"CollectionProvider",[n,r]=jr(t),[i,o]=n(t,{collectionRef:{current:null},itemMap:new Map}),a=x=>{const{scope:b,children:y}=x,f=Wn.useRef(null),v=Wn.useRef(new Map).current;return s.jsx(i,{scope:b,itemMap:v,collectionRef:f,children:y})};a.displayName=t;const l=e+"CollectionSlot",c=ti(l),d=Wn.forwardRef((x,b)=>{const{scope:y,children:f}=x,v=o(l,y),j=de(b,v.collectionRef);return s.jsx(c,{ref:j,children:f})});d.displayName=l;const u=e+"CollectionItemSlot",h="data-radix-collection-item",m=ti(u),g=Wn.forwardRef((x,b)=>{const{scope:y,children:f,...v}=x,j=Wn.useRef(null),N=de(b,j),S=o(u,y);return Wn.useEffect(()=>(S.itemMap.set(j,{ref:j,...v}),()=>void S.itemMap.delete(j))),s.jsx(m,{[h]:"",ref:N,children:f})});g.displayName=u;function w(x){const b=o(e+"CollectionConsumer",x);return Wn.useCallback(()=>{const f=b.collectionRef.current;if(!f)return[];const v=Array.from(f.querySelectorAll(`[${h}]`));return Array.from(b.itemMap.values()).sort((S,k)=>v.indexOf(S.ref.current)-v.indexOf(k.ref.current))},[b.collectionRef,b.itemMap])}return[{Provider:a,Slot:d,ItemSlot:g},w,r]}var N4=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],X=N4.reduce((e,t)=>{const n=ti(`Primitive.${t}`),r=p.forwardRef((i,o)=>{const{asChild:a,...l}=i,c=a?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),s.jsx(c,{...l,ref:o})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function _v(e,t){e&&is.flushSync(()=>e.dispatchEvent(t))}function Rt(e){const t=p.useRef(e);return p.useEffect(()=>{t.current=e}),p.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function S4(e,t=globalThis==null?void 0:globalThis.document){const n=Rt(e);p.useEffect(()=>{const r=i=>{i.key==="Escape"&&n(i)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var k4="DismissableLayer",Au="dismissableLayer.update",C4="dismissableLayer.pointerDownOutside",A4="dismissableLayer.focusOutside",Zf,Vv=p.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Vo=p.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:i,onFocusOutside:o,onInteractOutside:a,onDismiss:l,...c}=e,d=p.useContext(Vv),[u,h]=p.useState(null),m=(u==null?void 0:u.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,g]=p.useState({}),w=de(t,k=>h(k)),x=Array.from(d.layers),[b]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),y=x.indexOf(b),f=u?x.indexOf(u):-1,v=d.layersWithOutsidePointerEventsDisabled.size>0,j=f>=y,N=E4(k=>{const A=k.target,R=[...d.branches].some(C=>C.contains(A));!j||R||(i==null||i(k),a==null||a(k),k.defaultPrevented||l==null||l())},m),S=P4(k=>{const A=k.target;[...d.branches].some(C=>C.contains(A))||(o==null||o(k),a==null||a(k),k.defaultPrevented||l==null||l())},m);return S4(k=>{f===d.layers.size-1&&(r==null||r(k),!k.defaultPrevented&&l&&(k.preventDefault(),l()))},m),p.useEffect(()=>{if(u)return n&&(d.layersWithOutsidePointerEventsDisabled.size===0&&(Zf=m.body.style.pointerEvents,m.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(u)),d.layers.add(u),Jf(),()=>{n&&d.layersWithOutsidePointerEventsDisabled.size===1&&(m.body.style.pointerEvents=Zf)}},[u,m,n,d]),p.useEffect(()=>()=>{u&&(d.layers.delete(u),d.layersWithOutsidePointerEventsDisabled.delete(u),Jf())},[u,d]),p.useEffect(()=>{const k=()=>g({});return document.addEventListener(Au,k),()=>document.removeEventListener(Au,k)},[]),s.jsx(X.div,{...c,ref:w,style:{pointerEvents:v?j?"auto":"none":void 0,...e.style},onFocusCapture:U(e.onFocusCapture,S.onFocusCapture),onBlurCapture:U(e.onBlurCapture,S.onBlurCapture),onPointerDownCapture:U(e.onPointerDownCapture,N.onPointerDownCapture)})});Vo.displayName=k4;var T4="DismissableLayerBranch",zv=p.forwardRef((e,t)=>{const n=p.useContext(Vv),r=p.useRef(null),i=de(t,r);return p.useEffect(()=>{const o=r.current;if(o)return n.branches.add(o),()=>{n.branches.delete(o)}},[n.branches]),s.jsx(X.div,{...e,ref:i})});zv.displayName=T4;function E4(e,t=globalThis==null?void 0:globalThis.document){const n=Rt(e),r=p.useRef(!1),i=p.useRef(()=>{});return p.useEffect(()=>{const o=l=>{if(l.target&&!r.current){let c=function(){Bv(C4,n,d,{discrete:!0})};const d={originalEvent:l};l.pointerType==="touch"?(t.removeEventListener("click",i.current),i.current=c,t.addEventListener("click",i.current,{once:!0})):c()}else t.removeEventListener("click",i.current);r.current=!1},a=window.setTimeout(()=>{t.addEventListener("pointerdown",o)},0);return()=>{window.clearTimeout(a),t.removeEventListener("pointerdown",o),t.removeEventListener("click",i.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function P4(e,t=globalThis==null?void 0:globalThis.document){const n=Rt(e),r=p.useRef(!1);return p.useEffect(()=>{const i=o=>{o.target&&!r.current&&Bv(A4,n,{originalEvent:o},{discrete:!1})};return t.addEventListener("focusin",i),()=>t.removeEventListener("focusin",i)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function Jf(){const e=new CustomEvent(Au);document.dispatchEvent(e)}function Bv(e,t,n,{discrete:r}){const i=n.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?_v(i,o):i.dispatchEvent(o)}var I4=Vo,R4=zv,Ve=globalThis!=null&&globalThis.document?p.useLayoutEffect:()=>{},M4="Portal",zo=p.forwardRef((e,t)=>{var l;const{container:n,...r}=e,[i,o]=p.useState(!1);Ve(()=>o(!0),[]);const a=n||i&&((l=globalThis==null?void 0:globalThis.document)==null?void 0:l.body);return a?sk.createPortal(s.jsx(X.div,{...r,ref:t}),a):null});zo.displayName=M4;function D4(e,t){return p.useReducer((n,r)=>t[n][r]??n,e)}var Nr=e=>{const{present:t,children:n}=e,r=L4(t),i=typeof n=="function"?n({present:r.isPresent}):p.Children.only(n),o=de(r.ref,O4(i));return typeof n=="function"||r.isPresent?p.cloneElement(i,{ref:o}):null};Nr.displayName="Presence";function L4(e){const[t,n]=p.useState(),r=p.useRef(null),i=p.useRef(e),o=p.useRef("none"),a=e?"mounted":"unmounted",[l,c]=D4(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return p.useEffect(()=>{const d=wa(r.current);o.current=l==="mounted"?d:"none"},[l]),Ve(()=>{const d=r.current,u=i.current;if(u!==e){const m=o.current,g=wa(d);e?c("MOUNT"):g==="none"||(d==null?void 0:d.display)==="none"?c("UNMOUNT"):c(u&&m!==g?"ANIMATION_OUT":"UNMOUNT"),i.current=e}},[e,c]),Ve(()=>{if(t){let d;const u=t.ownerDocument.defaultView??window,h=g=>{const x=wa(r.current).includes(CSS.escape(g.animationName));if(g.target===t&&x&&(c("ANIMATION_END"),!i.current)){const b=t.style.animationFillMode;t.style.animationFillMode="forwards",d=u.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=b)})}},m=g=>{g.target===t&&(o.current=wa(r.current))};return t.addEventListener("animationstart",m),t.addEventListener("animationcancel",h),t.addEventListener("animationend",h),()=>{u.clearTimeout(d),t.removeEventListener("animationstart",m),t.removeEventListener("animationcancel",h),t.removeEventListener("animationend",h)}}else c("ANIMATION_END")},[t,c]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:p.useCallback(d=>{r.current=d?getComputedStyle(d):null,n(d)},[])}}function wa(e){return(e==null?void 0:e.animationName)||"none"}function O4(e){var r,i;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var F4=yh[" useInsertionEffect ".trim().toString()]||Ve;function Xr({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[i,o,a]=_4({defaultProp:t,onChange:n}),l=e!==void 0,c=l?e:i;{const u=p.useRef(e!==void 0);p.useEffect(()=>{const h=u.current;h!==l&&console.warn(`${r} is changing from ${h?"controlled":"uncontrolled"} to ${l?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),u.current=l},[l,r])}const d=p.useCallback(u=>{var h;if(l){const m=V4(u)?u(e):u;m!==e&&((h=a.current)==null||h.call(a,m))}else o(u)},[l,e,o,a]);return[c,d]}function _4({defaultProp:e,onChange:t}){const[n,r]=p.useState(e),i=p.useRef(n),o=p.useRef(t);return F4(()=>{o.current=t},[t]),p.useEffect(()=>{var a;i.current!==n&&((a=o.current)==null||a.call(o,n),i.current=n)},[n,i]),[n,r,o]}function V4(e){return typeof e=="function"}var Wv=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),z4="VisuallyHidden",Zl=p.forwardRef((e,t)=>s.jsx(X.span,{...e,ref:t,style:{...Wv,...e.style}}));Zl.displayName=z4;var B4=Zl,xm="ToastProvider",[gm,W4,$4]=fm("Toast"),[$v]=jr("Toast",[$4]),[U4,Jl]=$v(xm),Uv=e=>{const{__scopeToast:t,label:n="Notification",duration:r=5e3,swipeDirection:i="right",swipeThreshold:o=50,children:a}=e,[l,c]=p.useState(null),[d,u]=p.useState(0),h=p.useRef(!1),m=p.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${xm}\`. Expected non-empty \`string\`.`),s.jsx(gm.Provider,{scope:t,children:s.jsx(U4,{scope:t,label:n,duration:r,swipeDirection:i,swipeThreshold:o,toastCount:d,viewport:l,onViewportChange:c,onToastAdd:p.useCallback(()=>u(g=>g+1),[]),onToastRemove:p.useCallback(()=>u(g=>g-1),[]),isFocusedToastEscapeKeyDownRef:h,isClosePausedRef:m,children:a})})};Uv.displayName=xm;var Hv="ToastViewport",H4=["F8"],Tu="toast.viewportPause",Eu="toast.viewportResume",Gv=p.forwardRef((e,t)=>{const{__scopeToast:n,hotkey:r=H4,label:i="Notifications ({hotkey})",...o}=e,a=Jl(Hv,n),l=W4(n),c=p.useRef(null),d=p.useRef(null),u=p.useRef(null),h=p.useRef(null),m=de(t,h,a.onViewportChange),g=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),w=a.toastCount>0;p.useEffect(()=>{const b=y=>{var v;r.length!==0&&r.every(j=>y[j]||y.code===j)&&((v=h.current)==null||v.focus())};return document.addEventListener("keydown",b),()=>document.removeEventListener("keydown",b)},[r]),p.useEffect(()=>{const b=c.current,y=h.current;if(w&&b&&y){const f=()=>{if(!a.isClosePausedRef.current){const S=new CustomEvent(Tu);y.dispatchEvent(S),a.isClosePausedRef.current=!0}},v=()=>{if(a.isClosePausedRef.current){const S=new CustomEvent(Eu);y.dispatchEvent(S),a.isClosePausedRef.current=!1}},j=S=>{!b.contains(S.relatedTarget)&&v()},N=()=>{b.contains(document.activeElement)||v()};return b.addEventListener("focusin",f),b.addEventListener("focusout",j),b.addEventListener("pointermove",f),b.addEventListener("pointerleave",N),window.addEventListener("blur",f),window.addEventListener("focus",v),()=>{b.removeEventListener("focusin",f),b.removeEventListener("focusout",j),b.removeEventListener("pointermove",f),b.removeEventListener("pointerleave",N),window.removeEventListener("blur",f),window.removeEventListener("focus",v)}}},[w,a.isClosePausedRef]);const x=p.useCallback(({tabbingDirection:b})=>{const f=l().map(v=>{const j=v.ref.current,N=[j,...sC(j)];return b==="forwards"?N:N.reverse()});return(b==="forwards"?f.reverse():f).flat()},[l]);return p.useEffect(()=>{const b=h.current;if(b){const y=f=>{var N,S,k;const v=f.altKey||f.ctrlKey||f.metaKey;if(f.key==="Tab"&&!v){const A=document.activeElement,R=f.shiftKey;if(f.target===b&&R){(N=d.current)==null||N.focus();return}const O=x({tabbingDirection:R?"backwards":"forwards"}),H=O.findIndex(E=>E===A);nd(O.slice(H+1))?f.preventDefault():R?(S=d.current)==null||S.focus():(k=u.current)==null||k.focus()}};return b.addEventListener("keydown",y),()=>b.removeEventListener("keydown",y)}},[l,x]),s.jsxs(R4,{ref:c,role:"region","aria-label":i.replace("{hotkey}",g),tabIndex:-1,style:{pointerEvents:w?void 0:"none"},children:[w&&s.jsx(Pu,{ref:d,onFocusFromOutsideViewport:()=>{const b=x({tabbingDirection:"forwards"});nd(b)}}),s.jsx(gm.Slot,{scope:n,children:s.jsx(X.ol,{tabIndex:-1,...o,ref:m})}),w&&s.jsx(Pu,{ref:u,onFocusFromOutsideViewport:()=>{const b=x({tabbingDirection:"backwards"});nd(b)}})]})});Gv.displayName=Hv;var qv="ToastFocusProxy",Pu=p.forwardRef((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:r,...i}=e,o=Jl(qv,n);return s.jsx(Zl,{tabIndex:0,...i,ref:t,style:{position:"fixed"},onFocus:a=>{var d;const l=a.relatedTarget;!((d=o.viewport)!=null&&d.contains(l))&&r()}})});Pu.displayName=qv;var Bo="Toast",G4="toast.swipeStart",q4="toast.swipeMove",K4="toast.swipeCancel",Y4="toast.swipeEnd",Kv=p.forwardRef((e,t)=>{const{forceMount:n,open:r,defaultOpen:i,onOpenChange:o,...a}=e,[l,c]=Xr({prop:r,defaultProp:i??!0,onChange:o,caller:Bo});return s.jsx(Nr,{present:n||l,children:s.jsx(Z4,{open:l,...a,ref:t,onClose:()=>c(!1),onPause:Rt(e.onPause),onResume:Rt(e.onResume),onSwipeStart:U(e.onSwipeStart,d=>{d.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:U(e.onSwipeMove,d=>{const{x:u,y:h}=d.detail.delta;d.currentTarget.setAttribute("data-swipe","move"),d.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${u}px`),d.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${h}px`)}),onSwipeCancel:U(e.onSwipeCancel,d=>{d.currentTarget.setAttribute("data-swipe","cancel"),d.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),d.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),d.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),d.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:U(e.onSwipeEnd,d=>{const{x:u,y:h}=d.detail.delta;d.currentTarget.setAttribute("data-swipe","end"),d.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),d.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),d.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${u}px`),d.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${h}px`),c(!1)})})})});Kv.displayName=Bo;var[Q4,X4]=$v(Bo,{onClose(){}}),Z4=p.forwardRef((e,t)=>{const{__scopeToast:n,type:r="foreground",duration:i,open:o,onClose:a,onEscapeKeyDown:l,onPause:c,onResume:d,onSwipeStart:u,onSwipeMove:h,onSwipeCancel:m,onSwipeEnd:g,...w}=e,x=Jl(Bo,n),[b,y]=p.useState(null),f=de(t,E=>y(E)),v=p.useRef(null),j=p.useRef(null),N=i||x.duration,S=p.useRef(0),k=p.useRef(N),A=p.useRef(0),{onToastAdd:R,onToastRemove:C}=x,M=Rt(()=>{var W;(b==null?void 0:b.contains(document.activeElement))&&((W=x.viewport)==null||W.focus()),a()}),O=p.useCallback(E=>{!E||E===1/0||(window.clearTimeout(A.current),S.current=new Date().getTime(),A.current=window.setTimeout(M,E))},[M]);p.useEffect(()=>{const E=x.viewport;if(E){const W=()=>{O(k.current),d==null||d()},F=()=>{const V=new Date().getTime()-S.current;k.current=k.current-V,window.clearTimeout(A.current),c==null||c()};return E.addEventListener(Tu,F),E.addEventListener(Eu,W),()=>{E.removeEventListener(Tu,F),E.removeEventListener(Eu,W)}}},[x.viewport,N,c,d,O]),p.useEffect(()=>{o&&!x.isClosePausedRef.current&&O(N)},[o,N,x.isClosePausedRef,O]),p.useEffect(()=>(R(),()=>C()),[R,C]);const H=p.useMemo(()=>b?tw(b):null,[b]);return x.viewport?s.jsxs(s.Fragment,{children:[H&&s.jsx(J4,{__scopeToast:n,role:"status","aria-live":r==="foreground"?"assertive":"polite",children:H}),s.jsx(Q4,{scope:n,onClose:M,children:is.createPortal(s.jsx(gm.ItemSlot,{scope:n,children:s.jsx(I4,{asChild:!0,onEscapeKeyDown:U(l,()=>{x.isFocusedToastEscapeKeyDownRef.current||M(),x.isFocusedToastEscapeKeyDownRef.current=!1}),children:s.jsx(X.li,{tabIndex:0,"data-state":o?"open":"closed","data-swipe-direction":x.swipeDirection,...w,ref:f,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:U(e.onKeyDown,E=>{E.key==="Escape"&&(l==null||l(E.nativeEvent),E.nativeEvent.defaultPrevented||(x.isFocusedToastEscapeKeyDownRef.current=!0,M()))}),onPointerDown:U(e.onPointerDown,E=>{E.button===0&&(v.current={x:E.clientX,y:E.clientY})}),onPointerMove:U(e.onPointerMove,E=>{if(!v.current)return;const W=E.clientX-v.current.x,F=E.clientY-v.current.y,V=!!j.current,P=["left","right"].includes(x.swipeDirection),L=["left","up"].includes(x.swipeDirection)?Math.min:Math.max,B=P?L(0,W):0,Y=P?0:L(0,F),re=E.pointerType==="touch"?10:2,Qe={x:B,y:Y},Ee={originalEvent:E,delta:Qe};V?(j.current=Qe,ba(q4,h,Ee,{discrete:!1})):ex(Qe,x.swipeDirection,re)?(j.current=Qe,ba(G4,u,Ee,{discrete:!1}),E.target.setPointerCapture(E.pointerId)):(Math.abs(W)>re||Math.abs(F)>re)&&(v.current=null)}),onPointerUp:U(e.onPointerUp,E=>{const W=j.current,F=E.target;if(F.hasPointerCapture(E.pointerId)&&F.releasePointerCapture(E.pointerId),j.current=null,v.current=null,W){const V=E.currentTarget,P={originalEvent:E,delta:W};ex(W,x.swipeDirection,x.swipeThreshold)?ba(Y4,g,P,{discrete:!0}):ba(K4,m,P,{discrete:!0}),V.addEventListener("click",L=>L.preventDefault(),{once:!0})}})})})}),x.viewport)})]}):null}),J4=e=>{const{__scopeToast:t,children:n,...r}=e,i=Jl(Bo,t),[o,a]=p.useState(!1),[l,c]=p.useState(!1);return nC(()=>a(!0)),p.useEffect(()=>{const d=window.setTimeout(()=>c(!0),1e3);return()=>window.clearTimeout(d)},[]),l?null:s.jsx(zo,{asChild:!0,children:s.jsx(Zl,{...r,children:o&&s.jsxs(s.Fragment,{children:[i.label," ",n]})})})},eC="ToastTitle",Yv=p.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return s.jsx(X.div,{...r,ref:t})});Yv.displayName=eC;var tC="ToastDescription",Qv=p.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return s.jsx(X.div,{...r,ref:t})});Qv.displayName=tC;var Xv="ToastAction",Zv=p.forwardRef((e,t)=>{const{altText:n,...r}=e;return n.trim()?s.jsx(ew,{altText:n,asChild:!0,children:s.jsx(ym,{...r,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${Xv}\`. Expected non-empty \`string\`.`),null)});Zv.displayName=Xv;var Jv="ToastClose",ym=p.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e,i=X4(Jv,n);return s.jsx(ew,{asChild:!0,children:s.jsx(X.button,{type:"button",...r,ref:t,onClick:U(e.onClick,i.onClose)})})});ym.displayName=Jv;var ew=p.forwardRef((e,t)=>{const{__scopeToast:n,altText:r,...i}=e;return s.jsx(X.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...i,ref:t})});function tw(e){const t=[];return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),rC(r)){const i=r.ariaHidden||r.hidden||r.style.display==="none",o=r.dataset.radixToastAnnounceExclude==="";if(!i)if(o){const a=r.dataset.radixToastAnnounceAlt;a&&t.push(a)}else t.push(...tw(r))}}),t}function ba(e,t,n,{discrete:r}){const i=n.originalEvent.currentTarget,o=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?_v(i,o):i.dispatchEvent(o)}var ex=(e,t,n=0)=>{const r=Math.abs(e.x),i=Math.abs(e.y),o=r>i;return t==="left"||t==="right"?o&&r>n:!o&&i>n};function nC(e=()=>{}){const t=Rt(e);Ve(()=>{let n=0,r=0;return n=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(r)}},[t])}function rC(e){return e.nodeType===e.ELEMENT_NODE}function sC(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const i=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||i?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function nd(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}var iC=Uv,nw=Gv,rw=Kv,sw=Yv,iw=Qv,ow=Zv,aw=ym;function lw(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;ttypeof e=="boolean"?`${e}`:e===0?"0":e,nx=cw,ec=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return nx(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:i,defaultVariants:o}=t,a=Object.keys(i).map(d=>{const u=n==null?void 0:n[d],h=o==null?void 0:o[d];if(u===null)return null;const m=tx(u)||tx(h);return i[d][m]}),l=n&&Object.entries(n).reduce((d,u)=>{let[h,m]=u;return m===void 0||(d[h]=m),d},{}),c=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((d,u)=>{let{class:h,className:m,...g}=u;return Object.entries(g).every(w=>{let[x,b]=w;return Array.isArray(b)?b.includes({...o,...l}[x]):{...o,...l}[x]===b})?[...d,h,m]:d},[]);return nx(e,a,c,n==null?void 0:n.class,n==null?void 0:n.className)};/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const oC=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),dw=(...e)=>e.filter((t,n,r)=>!!t&&r.indexOf(t)===n).join(" ");/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */var aC={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"};/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const lC=p.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:i="",children:o,iconNode:a,...l},c)=>p.createElement("svg",{ref:c,...aC,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:dw("lucide",i),...l},[...a.map(([d,u])=>p.createElement(d,u)),...Array.isArray(o)?o:[o]]));/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const _=(e,t)=>{const n=p.forwardRef(({className:r,...i},o)=>p.createElement(lC,{ref:o,iconNode:t,className:dw(`lucide-${oC(e)}`,r),...i}));return n.displayName=`${e}`,n};/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const vm=_("Activity",[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const wm=_("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const fe=_("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const uw=_("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"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const bm=_("BookOpenCheck",[["path",{d:"M12 21V7",key:"gj6g52"}],["path",{d:"m16 12 2 2 4-4",key:"mdajum"}],["path",{d:"M22 6V4a1 1 0 0 0-1-1h-5a4 4 0 0 0-4 4 4 4 0 0 0-4-4H3a1 1 0 0 0-1 1v13a1 1 0 0 0 1 1h6a3 3 0 0 1 3 3 3 3 0 0 1 3-3h6a1 1 0 0 0 1-1v-1.3",key:"8arnkb"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const hw=_("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"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Iu=_("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"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const cC=_("Box",[["path",{d:"M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z",key:"hh9hay"}],["path",{d:"m3.3 7 8.7 5 8.7-5",key:"g66t2b"}],["path",{d:"M12 22V12",key:"d0xqtd"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const dC=_("Boxes",[["path",{d:"M2.97 12.92A2 2 0 0 0 2 14.63v3.24a2 2 0 0 0 .97 1.71l3 1.8a2 2 0 0 0 2.06 0L12 19v-5.5l-5-3-4.03 2.42Z",key:"lc1i9w"}],["path",{d:"m7 16.5-4.74-2.85",key:"1o9zyk"}],["path",{d:"m7 16.5 5-3",key:"va8pkn"}],["path",{d:"M7 16.5v5.17",key:"jnp8gn"}],["path",{d:"M12 13.5V19l3.97 2.38a2 2 0 0 0 2.06 0l3-1.8a2 2 0 0 0 .97-1.71v-3.24a2 2 0 0 0-.97-1.71L17 10.5l-5 3Z",key:"8zsnat"}],["path",{d:"m17 16.5-5-3",key:"8arw3v"}],["path",{d:"m17 16.5 4.74-2.85",key:"8rfmw"}],["path",{d:"M17 16.5v5.17",key:"k6z78m"}],["path",{d:"M7.97 4.42A2 2 0 0 0 7 6.13v4.37l5 3 5-3V6.13a2 2 0 0 0-.97-1.71l-3-1.8a2 2 0 0 0-2.06 0l-3 1.8Z",key:"1xygjf"}],["path",{d:"M12 8 7.26 5.15",key:"1vbdud"}],["path",{d:"m12 8 4.74-2.85",key:"3rx089"}],["path",{d:"M12 13.5V8",key:"1io7kd"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Mt=_("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"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Ru=_("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"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Wo=_("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"}],["path",{d:"M10 14h4",key:"kelpxr"}],["path",{d:"M10 18h4",key:"1ulq68"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const $o=_("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"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const jm=_("Camera",[["path",{d:"M14.5 4h-5L7 7H4a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-3l-2.5-3z",key:"1tc9qg"}],["circle",{cx:"12",cy:"13",r:"3",key:"1vg3eu"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Uo=_("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"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const uC=_("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const et=_("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const hC=_("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Nm=_("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const mC=_("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"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Dn=_("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const tc=_("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const pC=_("Cloud",[["path",{d:"M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9Z",key:"p7xjir"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const ui=_("CodeXml",[["path",{d:"m18 16 4-4-4-4",key:"1inbqp"}],["path",{d:"m6 8-4 4 4 4",key:"15zrgr"}],["path",{d:"m14.5 4-5 16",key:"e7oirm"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const fC=_("Cog",[["path",{d:"M12 20a8 8 0 1 0 0-16 8 8 0 0 0 0 16Z",key:"sobvz5"}],["path",{d:"M12 14a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z",key:"11i496"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 22v-2",key:"1osdcq"}],["path",{d:"m17 20.66-1-1.73",key:"eq3orb"}],["path",{d:"M11 10.27 7 3.34",key:"16pf9h"}],["path",{d:"m20.66 17-1.73-1",key:"sg0v6f"}],["path",{d:"m3.34 7 1.73 1",key:"1ulond"}],["path",{d:"M14 12h8",key:"4f43i9"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"m20.66 7-1.73 1",key:"1ow05n"}],["path",{d:"m3.34 17 1.73-1",key:"nuk764"}],["path",{d:"m17 3.34-1 1.73",key:"2wel8s"}],["path",{d:"m11 13.73-4 6.93",key:"794ttg"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Sm=_("Cpu",[["rect",{width:"16",height:"16",x:"4",y:"4",rx:"2",key:"14l7u7"}],["rect",{width:"6",height:"6",x:"9",y:"9",rx:"1",key:"5aljv4"}],["path",{d:"M15 2v2",key:"13l42r"}],["path",{d:"M15 20v2",key:"15mkzm"}],["path",{d:"M2 15h2",key:"1gxd5l"}],["path",{d:"M2 9h2",key:"1bbxkp"}],["path",{d:"M20 15h2",key:"19e6y8"}],["path",{d:"M20 9h2",key:"19tzq7"}],["path",{d:"M9 2v2",key:"165o2o"}],["path",{d:"M9 20v2",key:"i2bqo8"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const xC=_("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"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const gC=_("Dna",[["path",{d:"m10 16 1.5 1.5",key:"11lckj"}],["path",{d:"m14 8-1.5-1.5",key:"1ohn8i"}],["path",{d:"M15 2c-1.798 1.998-2.518 3.995-2.807 5.993",key:"80uv8i"}],["path",{d:"m16.5 10.5 1 1",key:"696xn5"}],["path",{d:"m17 6-2.891-2.891",key:"xu6p2f"}],["path",{d:"M2 15c6.667-6 13.333 0 20-6",key:"1pyr53"}],["path",{d:"m20 9 .891.891",key:"3xwk7g"}],["path",{d:"M3.109 14.109 4 15",key:"q76aoh"}],["path",{d:"m6.5 12.5 1 1",key:"cs35ky"}],["path",{d:"m7 18 2.891 2.891",key:"1sisit"}],["path",{d:"M9 22c1.798-1.998 2.518-3.995 2.807-5.993",key:"q3hbxp"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const yC=_("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"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const rx=_("Eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const vC=_("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"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const wC=_("FileOutput",[["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M4 7V4a2 2 0 0 1 2-2 2 2 0 0 0-2 2",key:"1vk7w2"}],["path",{d:"M4.063 20.999a2 2 0 0 0 2 1L18 22a2 2 0 0 0 2-2V7l-5-5H6",key:"1jink5"}],["path",{d:"m5 11-3 3",key:"1dgrs4"}],["path",{d:"m5 17-3-3h10",key:"1mvvaf"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const sx=_("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"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const km=_("FlaskConical",[["path",{d:"M10 2v7.527a2 2 0 0 1-.211.896L4.72 20.55a1 1 0 0 0 .9 1.45h12.76a1 1 0 0 0 .9-1.45l-5.069-10.127A2 2 0 0 1 14 9.527V2",key:"pzvekw"}],["path",{d:"M8.5 2h7",key:"csnxdl"}],["path",{d:"M7 16h10",key:"wp8him"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const bC=_("GitBranch",[["line",{x1:"6",x2:"6",y1:"3",y2:"15",key:"17qcm7"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M18 9a9 9 0 0 1-9 9",key:"n2h4wq"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Ho=_("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"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const jC=_("HeartPulse",[["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"}],["path",{d:"M3.22 12H9.5l.5-1 2 4.5 2-7 1.5 3.5h5.27",key:"1uw2ng"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const NC=_("Layers",[["path",{d:"m12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83Z",key:"8b97xw"}],["path",{d:"m22 17.65-9.17 4.16a2 2 0 0 1-1.66 0L2 17.65",key:"dd6zsq"}],["path",{d:"m22 12.65-9.17 4.16a2 2 0 0 1-1.66 0L2 12.65",key:"ep9fru"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const ix=_("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const SC=_("LogOut",[["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}],["polyline",{points:"16 17 21 12 16 7",key:"1gabdz"}],["line",{x1:"21",x2:"9",y1:"12",y2:"12",key:"1uyos4"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const mw=_("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"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Cm=_("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"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const kC=_("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"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const pw=_("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"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const CC=_("Microscope",[["path",{d:"M6 18h8",key:"1borvv"}],["path",{d:"M3 22h18",key:"8prr45"}],["path",{d:"M14 22a7 7 0 1 0 0-14h-1",key:"1jwaiy"}],["path",{d:"M9 14h2",key:"197e7h"}],["path",{d:"M9 12a2 2 0 0 1-2-2V6h6v4a2 2 0 0 1-2 2Z",key:"1bmzmy"}],["path",{d:"M12 6V3a1 1 0 0 0-1-1H9a1 1 0 0 0-1 1v3",key:"1drr47"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Am=_("Monitor",[["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["line",{x1:"8",x2:"16",y1:"21",y2:"21",key:"1svkeh"}],["line",{x1:"12",x2:"12",y1:"17",y2:"21",key:"vw1qmm"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Tm=_("Network",[["rect",{x:"16",y:"16",width:"6",height:"6",rx:"1",key:"4q2zg0"}],["rect",{x:"2",y:"16",width:"6",height:"6",rx:"1",key:"8cvhb9"}],["rect",{x:"9",y:"2",width:"6",height:"6",rx:"1",key:"1egb70"}],["path",{d:"M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3",key:"1jsf9p"}],["path",{d:"M12 12V8",key:"2874zd"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const AC=_("Package",[["path",{d:"M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z",key:"1a0edw"}],["path",{d:"M12 22V12",key:"d0xqtd"}],["path",{d:"m3.3 7 7.703 4.734a2 2 0 0 0 1.994 0L20.7 7",key:"yx3hmr"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const fw=_("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"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const rd=_("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const TC=_("Quote",[["path",{d:"M16 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z",key:"rib7q0"}],["path",{d:"M5 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z",key:"1ymkrd"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const EC=_("Radar",[["path",{d:"M19.07 4.93A10 10 0 0 0 6.99 3.34",key:"z3du51"}],["path",{d:"M4 6h.01",key:"oypzma"}],["path",{d:"M2.29 9.62A10 10 0 1 0 21.31 8.35",key:"qzzz0"}],["path",{d:"M16.24 7.76A6 6 0 1 0 8.23 16.67",key:"1yjesh"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M17.99 11.66A6 6 0 0 1 15.77 16.67",key:"1u2y91"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}],["path",{d:"m13.41 10.59 5.66-5.66",key:"mhq4k0"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Mu=_("Rocket",[["path",{d:"M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09z",key:"m3kijz"}],["path",{d:"m12 15-3-3a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.35 22.35 0 0 1-4 2z",key:"1fmvmk"}],["path",{d:"M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0",key:"1f8sc4"}],["path",{d:"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5",key:"qeys4"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const xw=_("ScanSearch",[["path",{d:"M3 7V5a2 2 0 0 1 2-2h2",key:"aa7l1z"}],["path",{d:"M17 3h2a2 2 0 0 1 2 2v2",key:"4qcy5o"}],["path",{d:"M21 17v2a2 2 0 0 1-2 2h-2",key:"6vwrx8"}],["path",{d:"M7 21H5a2 2 0 0 1-2-2v-2",key:"ioqczr"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}],["path",{d:"m16 16-1.9-1.9",key:"1dq9hf"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const PC=_("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const IC=_("Server",[["rect",{width:"20",height:"8",x:"2",y:"2",rx:"2",ry:"2",key:"ngkwjq"}],["rect",{width:"20",height:"8",x:"2",y:"14",rx:"2",ry:"2",key:"iecqi9"}],["line",{x1:"6",x2:"6.01",y1:"6",y2:"6",key:"16zg32"}],["line",{x1:"6",x2:"6.01",y1:"18",y2:"18",key:"nzw8ys"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const nc=_("ShieldCheck",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const RC=_("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"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const MC=_("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"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Em=_("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"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const ox=_("SquarePen",[["path",{d:"M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7",key:"1m0v6g"}],["path",{d:"M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z",key:"ohrbg2"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const DC=_("Star",[["polygon",{points:"12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2",key:"8f66p6"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Go=_("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"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const LC=_("Terminal",[["polyline",{points:"4 17 10 11 4 5",key:"akl6gq"}],["line",{x1:"12",x2:"20",y1:"19",y2:"19",key:"q2wloq"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const OC=_("Trash2",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const FC=_("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"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const _C=_("Upload",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"17 8 12 3 7 8",key:"t8dd8p"}],["line",{x1:"12",x2:"12",y1:"3",y2:"15",key:"widbto"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const ze=_("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"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const VC=_("Wrench",[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z",key:"cbrjhi"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const as=_("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const ot=_("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"}]]),Pm="-",zC=e=>{const t=WC(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:a=>{const l=a.split(Pm);return l[0]===""&&l.length!==1&&l.shift(),gw(l,t)||BC(a)},getConflictingClassGroupIds:(a,l)=>{const c=n[a]||[];return l&&r[a]?[...c,...r[a]]:c}}},gw=(e,t)=>{var a;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),i=r?gw(e.slice(1),r):void 0;if(i)return i;if(t.validators.length===0)return;const o=e.join(Pm);return(a=t.validators.find(({validator:l})=>l(o)))==null?void 0:a.classGroupId},ax=/^\[(.+)\]$/,BC=e=>{if(ax.test(e)){const t=ax.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},WC=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return UC(Object.entries(e.classGroups),n).forEach(([o,a])=>{Du(a,r,o,t)}),r},Du=(e,t,n,r)=>{e.forEach(i=>{if(typeof i=="string"){const o=i===""?t:lx(t,i);o.classGroupId=n;return}if(typeof i=="function"){if($C(i)){Du(i(r),t,n,r);return}t.validators.push({validator:i,classGroupId:n});return}Object.entries(i).forEach(([o,a])=>{Du(a,lx(t,o),n,r)})})},lx=(e,t)=>{let n=e;return t.split(Pm).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},$C=e=>e.isThemeGetter,UC=(e,t)=>t?e.map(([n,r])=>{const i=r.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([a,l])=>[t+a,l])):o);return[n,i]}):e,HC=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const i=(o,a)=>{n.set(o,a),t++,t>e&&(t=0,r=n,n=new Map)};return{get(o){let a=n.get(o);if(a!==void 0)return a;if((a=r.get(o))!==void 0)return i(o,a),a},set(o,a){n.has(o)?n.set(o,a):i(o,a)}}},yw="!",GC=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,i=t[0],o=t.length,a=l=>{const c=[];let d=0,u=0,h;for(let b=0;bu?h-u:void 0;return{modifiers:c,hasImportantModifier:g,baseClassName:w,maybePostfixModifierPosition:x}};return n?l=>n({className:l,parseClassName:a}):a},qC=e=>{if(e.length<=1)return e;const t=[];let n=[];return e.forEach(r=>{r[0]==="["?(t.push(...n.sort(),r),n=[]):n.push(r)}),t.push(...n.sort()),t},KC=e=>({cache:HC(e.cacheSize),parseClassName:GC(e),...zC(e)}),YC=/\s+/,QC=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i}=t,o=[],a=e.trim().split(YC);let l="";for(let c=a.length-1;c>=0;c-=1){const d=a[c],{modifiers:u,hasImportantModifier:h,baseClassName:m,maybePostfixModifierPosition:g}=n(d);let w=!!g,x=r(w?m.substring(0,g):m);if(!x){if(!w){l=d+(l.length>0?" "+l:l);continue}if(x=r(m),!x){l=d+(l.length>0?" "+l:l);continue}w=!1}const b=qC(u).join(":"),y=h?b+yw:b,f=y+x;if(o.includes(f))continue;o.push(f);const v=i(x,w);for(let j=0;j0?" "+l:l)}return l};function XC(){let e=0,t,n,r="";for(;e{if(typeof e=="string")return e;let t,n="";for(let r=0;rh(u),e());return n=KC(d),r=n.cache.get,i=n.cache.set,o=l,l(c)}function l(c){const d=r(c);if(d)return d;const u=QC(c,n);return i(c,u),u}return function(){return o(XC.apply(null,arguments))}}const he=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},ww=/^\[(?:([a-z-]+):)?(.+)\]$/i,JC=/^\d+\/\d+$/,eA=new Set(["px","full","screen"]),tA=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,nA=/\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$/,rA=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,sA=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,iA=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,gn=e=>Os(e)||eA.has(e)||JC.test(e),zn=e=>hi(e,"length",mA),Os=e=>!!e&&!Number.isNaN(Number(e)),sd=e=>hi(e,"number",Os),Pi=e=>!!e&&Number.isInteger(Number(e)),oA=e=>e.endsWith("%")&&Os(e.slice(0,-1)),Q=e=>ww.test(e),Bn=e=>tA.test(e),aA=new Set(["length","size","percentage"]),lA=e=>hi(e,aA,bw),cA=e=>hi(e,"position",bw),dA=new Set(["image","url"]),uA=e=>hi(e,dA,fA),hA=e=>hi(e,"",pA),Ii=()=>!0,hi=(e,t,n)=>{const r=ww.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},mA=e=>nA.test(e)&&!rA.test(e),bw=()=>!1,pA=e=>sA.test(e),fA=e=>iA.test(e),xA=()=>{const e=he("colors"),t=he("spacing"),n=he("blur"),r=he("brightness"),i=he("borderColor"),o=he("borderRadius"),a=he("borderSpacing"),l=he("borderWidth"),c=he("contrast"),d=he("grayscale"),u=he("hueRotate"),h=he("invert"),m=he("gap"),g=he("gradientColorStops"),w=he("gradientColorStopPositions"),x=he("inset"),b=he("margin"),y=he("opacity"),f=he("padding"),v=he("saturate"),j=he("scale"),N=he("sepia"),S=he("skew"),k=he("space"),A=he("translate"),R=()=>["auto","contain","none"],C=()=>["auto","hidden","clip","visible","scroll"],M=()=>["auto",Q,t],O=()=>[Q,t],H=()=>["",gn,zn],E=()=>["auto",Os,Q],W=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],F=()=>["solid","dashed","dotted","double","none"],V=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],P=()=>["start","end","center","between","around","evenly","stretch"],L=()=>["","0",Q],B=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Y=()=>[Os,Q];return{cacheSize:500,separator:":",theme:{colors:[Ii],spacing:[gn,zn],blur:["none","",Bn,Q],brightness:Y(),borderColor:[e],borderRadius:["none","","full",Bn,Q],borderSpacing:O(),borderWidth:H(),contrast:Y(),grayscale:L(),hueRotate:Y(),invert:L(),gap:O(),gradientColorStops:[e],gradientColorStopPositions:[oA,zn],inset:M(),margin:M(),opacity:Y(),padding:O(),saturate:Y(),scale:Y(),sepia:L(),skew:Y(),space:O(),translate:O()},classGroups:{aspect:[{aspect:["auto","square","video",Q]}],container:["container"],columns:[{columns:[Bn]}],"break-after":[{"break-after":B()}],"break-before":[{"break-before":B()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...W(),Q]}],overflow:[{overflow:C()}],"overflow-x":[{"overflow-x":C()}],"overflow-y":[{"overflow-y":C()}],overscroll:[{overscroll:R()}],"overscroll-x":[{"overscroll-x":R()}],"overscroll-y":[{"overscroll-y":R()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[x]}],"inset-x":[{"inset-x":[x]}],"inset-y":[{"inset-y":[x]}],start:[{start:[x]}],end:[{end:[x]}],top:[{top:[x]}],right:[{right:[x]}],bottom:[{bottom:[x]}],left:[{left:[x]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Pi,Q]}],basis:[{basis:M()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",Q]}],grow:[{grow:L()}],shrink:[{shrink:L()}],order:[{order:["first","last","none",Pi,Q]}],"grid-cols":[{"grid-cols":[Ii]}],"col-start-end":[{col:["auto",{span:["full",Pi,Q]},Q]}],"col-start":[{"col-start":E()}],"col-end":[{"col-end":E()}],"grid-rows":[{"grid-rows":[Ii]}],"row-start-end":[{row:["auto",{span:[Pi,Q]},Q]}],"row-start":[{"row-start":E()}],"row-end":[{"row-end":E()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",Q]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",Q]}],gap:[{gap:[m]}],"gap-x":[{"gap-x":[m]}],"gap-y":[{"gap-y":[m]}],"justify-content":[{justify:["normal",...P()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...P(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...P(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[f]}],px:[{px:[f]}],py:[{py:[f]}],ps:[{ps:[f]}],pe:[{pe:[f]}],pt:[{pt:[f]}],pr:[{pr:[f]}],pb:[{pb:[f]}],pl:[{pl:[f]}],m:[{m:[b]}],mx:[{mx:[b]}],my:[{my:[b]}],ms:[{ms:[b]}],me:[{me:[b]}],mt:[{mt:[b]}],mr:[{mr:[b]}],mb:[{mb:[b]}],ml:[{ml:[b]}],"space-x":[{"space-x":[k]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[k]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",Q,t]}],"min-w":[{"min-w":[Q,t,"min","max","fit"]}],"max-w":[{"max-w":[Q,t,"none","full","min","max","fit","prose",{screen:[Bn]},Bn]}],h:[{h:[Q,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[Q,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[Q,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[Q,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Bn,zn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",sd]}],"font-family":[{font:[Ii]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",Q]}],"line-clamp":[{"line-clamp":["none",Os,sd]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",gn,Q]}],"list-image":[{"list-image":["none",Q]}],"list-style-type":[{list:["none","disc","decimal",Q]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[y]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[y]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...F(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",gn,zn]}],"underline-offset":[{"underline-offset":["auto",gn,Q]}],"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:O()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Q]}],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",Q]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[y]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...W(),cA]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",lA]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},uA]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[w]}],"gradient-via-pos":[{via:[w]}],"gradient-to-pos":[{to:[w]}],"gradient-from":[{from:[g]}],"gradient-via":[{via:[g]}],"gradient-to":[{to:[g]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[y]}],"border-style":[{border:[...F(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[y]}],"divide-style":[{divide:F()}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-y":[{"border-y":[i]}],"border-color-s":[{"border-s":[i]}],"border-color-e":[{"border-e":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-b":[{"border-b":[i]}],"border-color-l":[{"border-l":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:["",...F()]}],"outline-offset":[{"outline-offset":[gn,Q]}],"outline-w":[{outline:[gn,zn]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:H()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[y]}],"ring-offset-w":[{"ring-offset":[gn,zn]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Bn,hA]}],"shadow-color":[{shadow:[Ii]}],opacity:[{opacity:[y]}],"mix-blend":[{"mix-blend":[...V(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":V()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",Bn,Q]}],grayscale:[{grayscale:[d]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[h]}],saturate:[{saturate:[v]}],sepia:[{sepia:[N]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[d]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[h]}],"backdrop-opacity":[{"backdrop-opacity":[y]}],"backdrop-saturate":[{"backdrop-saturate":[v]}],"backdrop-sepia":[{"backdrop-sepia":[N]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[a]}],"border-spacing-x":[{"border-spacing-x":[a]}],"border-spacing-y":[{"border-spacing-y":[a]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",Q]}],duration:[{duration:Y()}],ease:[{ease:["linear","in","out","in-out",Q]}],delay:[{delay:Y()}],animate:[{animate:["none","spin","ping","pulse","bounce",Q]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[j]}],"scale-x":[{"scale-x":[j]}],"scale-y":[{"scale-y":[j]}],rotate:[{rotate:[Pi,Q]}],"translate-x":[{"translate-x":[A]}],"translate-y":[{"translate-y":[A]}],"skew-x":[{"skew-x":[S]}],"skew-y":[{"skew-y":[S]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",Q]}],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",Q]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":O()}],"scroll-mx":[{"scroll-mx":O()}],"scroll-my":[{"scroll-my":O()}],"scroll-ms":[{"scroll-ms":O()}],"scroll-me":[{"scroll-me":O()}],"scroll-mt":[{"scroll-mt":O()}],"scroll-mr":[{"scroll-mr":O()}],"scroll-mb":[{"scroll-mb":O()}],"scroll-ml":[{"scroll-ml":O()}],"scroll-p":[{"scroll-p":O()}],"scroll-px":[{"scroll-px":O()}],"scroll-py":[{"scroll-py":O()}],"scroll-ps":[{"scroll-ps":O()}],"scroll-pe":[{"scroll-pe":O()}],"scroll-pt":[{"scroll-pt":O()}],"scroll-pr":[{"scroll-pr":O()}],"scroll-pb":[{"scroll-pb":O()}],"scroll-pl":[{"scroll-pl":O()}],"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"]}],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",Q]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[gn,zn,sd]}],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"]}}},gA=ZC(xA);function Z(...e){return gA(cw(e))}function Zr(e){if(console.log("goToPartnershipSection called, current path:",window.location.pathname),window.location.pathname==="/"){console.log("Already on homepage, scrolling to partnership section");const t=document.getElementById("partnership");t?(console.log("Found partnership element, scrolling..."),t.scrollIntoView({behavior:"smooth",block:"start"})):console.error("Partnership element not found by ID")}else e&&(console.log("Not on homepage, navigating to / and then scrolling to partnership section"),window.__goToPartnership=!0,sessionStorage.setItem("scrollToPartnership","true"),setTimeout(()=>{e("/")},10))}const yA=iC,jw=p.forwardRef(({className:e,...t},n)=>s.jsx(nw,{ref:n,className:Z("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}));jw.displayName=nw.displayName;const vA=ec("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"}}),Nw=p.forwardRef(({className:e,variant:t,...n},r)=>s.jsx(rw,{ref:r,className:Z(vA({variant:t}),e),...n}));Nw.displayName=rw.displayName;const wA=p.forwardRef(({className:e,...t},n)=>s.jsx(ow,{ref:n,className:Z("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}));wA.displayName=ow.displayName;const Sw=p.forwardRef(({className:e,...t},n)=>s.jsx(aw,{ref:n,className:Z("absolute right-2 top-2 rounded-md p-1 text-foreground/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:s.jsx(as,{className:"h-4 w-4"})}));Sw.displayName=aw.displayName;const kw=p.forwardRef(({className:e,...t},n)=>s.jsx(sw,{ref:n,className:Z("text-sm font-semibold",e),...t}));kw.displayName=sw.displayName;const Cw=p.forwardRef(({className:e,...t},n)=>s.jsx(iw,{ref:n,className:Z("text-sm opacity-90",e),...t}));Cw.displayName=iw.displayName;function bA(){const{toasts:e}=pm();return s.jsxs(yA,{children:[e.map(function({id:t,title:n,description:r,action:i,...o}){return s.jsxs(Nw,{...o,children:[s.jsxs("div",{className:"grid gap-1",children:[n&&s.jsx(kw,{children:n}),r&&s.jsx(Cw,{children:r})]}),i,s.jsx(Sw,{})]},t)}),s.jsx(jw,{})]})}var jA=yh[" useId ".trim().toString()]||(()=>{}),NA=0;function An(e){const[t,n]=p.useState(jA());return Ve(()=>{n(r=>r??String(NA++))},[e]),t?`radix-${t}`:""}const SA=["top","right","bottom","left"],fr=Math.min,mt=Math.max,bl=Math.round,ja=Math.floor,un=e=>({x:e,y:e}),kA={left:"right",right:"left",bottom:"top",top:"bottom"},CA={start:"end",end:"start"};function Lu(e,t,n){return mt(e,fr(t,n))}function Ln(e,t){return typeof e=="function"?e(t):e}function On(e){return e.split("-")[0]}function mi(e){return e.split("-")[1]}function Im(e){return e==="x"?"y":"x"}function Rm(e){return e==="y"?"height":"width"}const AA=new Set(["top","bottom"]);function ln(e){return AA.has(On(e))?"y":"x"}function Mm(e){return Im(ln(e))}function TA(e,t,n){n===void 0&&(n=!1);const r=mi(e),i=Mm(e),o=Rm(i);let a=i==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(a=jl(a)),[a,jl(a)]}function EA(e){const t=jl(e);return[Ou(e),t,Ou(t)]}function Ou(e){return e.replace(/start|end/g,t=>CA[t])}const cx=["left","right"],dx=["right","left"],PA=["top","bottom"],IA=["bottom","top"];function RA(e,t,n){switch(e){case"top":case"bottom":return n?t?dx:cx:t?cx:dx;case"left":case"right":return t?PA:IA;default:return[]}}function MA(e,t,n,r){const i=mi(e);let o=RA(On(e),n==="start",r);return i&&(o=o.map(a=>a+"-"+i),t&&(o=o.concat(o.map(Ou)))),o}function jl(e){return e.replace(/left|right|bottom|top/g,t=>kA[t])}function DA(e){return{top:0,right:0,bottom:0,left:0,...e}}function Aw(e){return typeof e!="number"?DA(e):{top:e,right:e,bottom:e,left:e}}function Nl(e){const{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function ux(e,t,n){let{reference:r,floating:i}=e;const o=ln(t),a=Mm(t),l=Rm(a),c=On(t),d=o==="y",u=r.x+r.width/2-i.width/2,h=r.y+r.height/2-i.height/2,m=r[l]/2-i[l]/2;let g;switch(c){case"top":g={x:u,y:r.y-i.height};break;case"bottom":g={x:u,y:r.y+r.height};break;case"right":g={x:r.x+r.width,y:h};break;case"left":g={x:r.x-i.width,y:h};break;default:g={x:r.x,y:r.y}}switch(mi(t)){case"start":g[a]-=m*(n&&d?-1:1);break;case"end":g[a]+=m*(n&&d?-1:1);break}return g}const LA=async(e,t,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:a}=n,l=o.filter(Boolean),c=await(a.isRTL==null?void 0:a.isRTL(t));let d=await a.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:h}=ux(d,r,c),m=r,g={},w=0;for(let x=0;x({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:i,rects:o,platform:a,elements:l,middlewareData:c}=t,{element:d,padding:u=0}=Ln(e,t)||{};if(d==null)return{};const h=Aw(u),m={x:n,y:r},g=Mm(i),w=Rm(g),x=await a.getDimensions(d),b=g==="y",y=b?"top":"left",f=b?"bottom":"right",v=b?"clientHeight":"clientWidth",j=o.reference[w]+o.reference[g]-m[g]-o.floating[w],N=m[g]-o.reference[g],S=await(a.getOffsetParent==null?void 0:a.getOffsetParent(d));let k=S?S[v]:0;(!k||!await(a.isElement==null?void 0:a.isElement(S)))&&(k=l.floating[v]||o.floating[w]);const A=j/2-N/2,R=k/2-x[w]/2-1,C=fr(h[y],R),M=fr(h[f],R),O=C,H=k-x[w]-M,E=k/2-x[w]/2+A,W=Lu(O,E,H),F=!c.arrow&&mi(i)!=null&&E!==W&&o.reference[w]/2-(EE<=0)){var M,O;const E=(((M=o.flip)==null?void 0:M.index)||0)+1,W=k[E];if(W&&(!(h==="alignment"?f!==ln(W):!1)||C.every(P=>ln(P.placement)===f?P.overflows[0]>0:!0)))return{data:{index:E,overflows:C},reset:{placement:W}};let F=(O=C.filter(V=>V.overflows[0]<=0).sort((V,P)=>V.overflows[1]-P.overflows[1])[0])==null?void 0:O.placement;if(!F)switch(g){case"bestFit":{var H;const V=(H=C.filter(P=>{if(S){const L=ln(P.placement);return L===f||L==="y"}return!0}).map(P=>[P.placement,P.overflows.filter(L=>L>0).reduce((L,B)=>L+B,0)]).sort((P,L)=>P[1]-L[1])[0])==null?void 0:H[0];V&&(F=V);break}case"initialPlacement":F=l;break}if(i!==F)return{reset:{placement:F}}}return{}}}};function hx(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function mx(e){return SA.some(t=>e[t]>=0)}const _A=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...i}=Ln(e,t);switch(r){case"referenceHidden":{const o=await bo(t,{...i,elementContext:"reference"}),a=hx(o,n.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:mx(a)}}}case"escaped":{const o=await bo(t,{...i,altBoundary:!0}),a=hx(o,n.floating);return{data:{escapedOffsets:a,escaped:mx(a)}}}default:return{}}}}},Tw=new Set(["left","top"]);async function VA(e,t){const{placement:n,platform:r,elements:i}=e,o=await(r.isRTL==null?void 0:r.isRTL(i.floating)),a=On(n),l=mi(n),c=ln(n)==="y",d=Tw.has(a)?-1:1,u=o&&c?-1:1,h=Ln(t,e);let{mainAxis:m,crossAxis:g,alignmentAxis:w}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return l&&typeof w=="number"&&(g=l==="end"?w*-1:w),c?{x:g*u,y:m*d}:{x:m*d,y:g*u}}const zA=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:i,y:o,placement:a,middlewareData:l}=t,c=await VA(t,e);return a===((n=l.offset)==null?void 0:n.placement)&&(r=l.arrow)!=null&&r.alignmentOffset?{}:{x:i+c.x,y:o+c.y,data:{...c,placement:a}}}}},BA=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:i}=t,{mainAxis:o=!0,crossAxis:a=!1,limiter:l={fn:b=>{let{x:y,y:f}=b;return{x:y,y:f}}},...c}=Ln(e,t),d={x:n,y:r},u=await bo(t,c),h=ln(On(i)),m=Im(h);let g=d[m],w=d[h];if(o){const b=m==="y"?"top":"left",y=m==="y"?"bottom":"right",f=g+u[b],v=g-u[y];g=Lu(f,g,v)}if(a){const b=h==="y"?"top":"left",y=h==="y"?"bottom":"right",f=w+u[b],v=w-u[y];w=Lu(f,w,v)}const x=l.fn({...t,[m]:g,[h]:w});return{...x,data:{x:x.x-n,y:x.y-r,enabled:{[m]:o,[h]:a}}}}}},WA=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:i,rects:o,middlewareData:a}=t,{offset:l=0,mainAxis:c=!0,crossAxis:d=!0}=Ln(e,t),u={x:n,y:r},h=ln(i),m=Im(h);let g=u[m],w=u[h];const x=Ln(l,t),b=typeof x=="number"?{mainAxis:x,crossAxis:0}:{mainAxis:0,crossAxis:0,...x};if(c){const v=m==="y"?"height":"width",j=o.reference[m]-o.floating[v]+b.mainAxis,N=o.reference[m]+o.reference[v]-b.mainAxis;gN&&(g=N)}if(d){var y,f;const v=m==="y"?"width":"height",j=Tw.has(On(i)),N=o.reference[h]-o.floating[v]+(j&&((y=a.offset)==null?void 0:y[h])||0)+(j?0:b.crossAxis),S=o.reference[h]+o.reference[v]+(j?0:((f=a.offset)==null?void 0:f[h])||0)-(j?b.crossAxis:0);wS&&(w=S)}return{[m]:g,[h]:w}}}},$A=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:i,rects:o,platform:a,elements:l}=t,{apply:c=()=>{},...d}=Ln(e,t),u=await bo(t,d),h=On(i),m=mi(i),g=ln(i)==="y",{width:w,height:x}=o.floating;let b,y;h==="top"||h==="bottom"?(b=h,y=m===(await(a.isRTL==null?void 0:a.isRTL(l.floating))?"start":"end")?"left":"right"):(y=h,b=m==="end"?"top":"bottom");const f=x-u.top-u.bottom,v=w-u.left-u.right,j=fr(x-u[b],f),N=fr(w-u[y],v),S=!t.middlewareData.shift;let k=j,A=N;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(A=v),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(k=f),S&&!m){const C=mt(u.left,0),M=mt(u.right,0),O=mt(u.top,0),H=mt(u.bottom,0);g?A=w-2*(C!==0||M!==0?C+M:mt(u.left,u.right)):k=x-2*(O!==0||H!==0?O+H:mt(u.top,u.bottom))}await c({...t,availableWidth:A,availableHeight:k});const R=await a.getDimensions(l.floating);return w!==R.width||x!==R.height?{reset:{rects:!0}}:{}}}};function rc(){return typeof window<"u"}function pi(e){return Ew(e)?(e.nodeName||"").toLowerCase():"#document"}function xt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function fn(e){var t;return(t=(Ew(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Ew(e){return rc()?e instanceof Node||e instanceof xt(e).Node:!1}function qt(e){return rc()?e instanceof Element||e instanceof xt(e).Element:!1}function pn(e){return rc()?e instanceof HTMLElement||e instanceof xt(e).HTMLElement:!1}function px(e){return!rc()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof xt(e).ShadowRoot}const UA=new Set(["inline","contents"]);function qo(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=Kt(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!UA.has(i)}const HA=new Set(["table","td","th"]);function GA(e){return HA.has(pi(e))}const qA=[":popover-open",":modal"];function sc(e){return qA.some(t=>{try{return e.matches(t)}catch{return!1}})}const KA=["transform","translate","scale","rotate","perspective"],YA=["transform","translate","scale","rotate","perspective","filter"],QA=["paint","layout","strict","content"];function Dm(e){const t=Lm(),n=qt(e)?Kt(e):e;return KA.some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||YA.some(r=>(n.willChange||"").includes(r))||QA.some(r=>(n.contain||"").includes(r))}function XA(e){let t=xr(e);for(;pn(t)&&!ni(t);){if(Dm(t))return t;if(sc(t))return null;t=xr(t)}return null}function Lm(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const ZA=new Set(["html","body","#document"]);function ni(e){return ZA.has(pi(e))}function Kt(e){return xt(e).getComputedStyle(e)}function ic(e){return qt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function xr(e){if(pi(e)==="html")return e;const t=e.assignedSlot||e.parentNode||px(e)&&e.host||fn(e);return px(t)?t.host:t}function Pw(e){const t=xr(e);return ni(t)?e.ownerDocument?e.ownerDocument.body:e.body:pn(t)&&qo(t)?t:Pw(t)}function jo(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const i=Pw(e),o=i===((r=e.ownerDocument)==null?void 0:r.body),a=xt(i);if(o){const l=Fu(a);return t.concat(a,a.visualViewport||[],qo(i)?i:[],l&&n?jo(l):[])}return t.concat(i,jo(i,[],n))}function Fu(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Iw(e){const t=Kt(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=pn(e),o=i?e.offsetWidth:n,a=i?e.offsetHeight:r,l=bl(n)!==o||bl(r)!==a;return l&&(n=o,r=a),{width:n,height:r,$:l}}function Om(e){return qt(e)?e:e.contextElement}function Fs(e){const t=Om(e);if(!pn(t))return un(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:o}=Iw(t);let a=(o?bl(n.width):n.width)/r,l=(o?bl(n.height):n.height)/i;return(!a||!Number.isFinite(a))&&(a=1),(!l||!Number.isFinite(l))&&(l=1),{x:a,y:l}}const JA=un(0);function Rw(e){const t=xt(e);return!Lm()||!t.visualViewport?JA:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function eT(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==xt(e)?!1:t}function Jr(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const i=e.getBoundingClientRect(),o=Om(e);let a=un(1);t&&(r?qt(r)&&(a=Fs(r)):a=Fs(e));const l=eT(o,n,r)?Rw(o):un(0);let c=(i.left+l.x)/a.x,d=(i.top+l.y)/a.y,u=i.width/a.x,h=i.height/a.y;if(o){const m=xt(o),g=r&&qt(r)?xt(r):r;let w=m,x=Fu(w);for(;x&&r&&g!==w;){const b=Fs(x),y=x.getBoundingClientRect(),f=Kt(x),v=y.left+(x.clientLeft+parseFloat(f.paddingLeft))*b.x,j=y.top+(x.clientTop+parseFloat(f.paddingTop))*b.y;c*=b.x,d*=b.y,u*=b.x,h*=b.y,c+=v,d+=j,w=xt(x),x=Fu(w)}}return Nl({width:u,height:h,x:c,y:d})}function oc(e,t){const n=ic(e).scrollLeft;return t?t.left+n:Jr(fn(e)).left+n}function Mw(e,t){const n=e.getBoundingClientRect(),r=n.left+t.scrollLeft-oc(e,n),i=n.top+t.scrollTop;return{x:r,y:i}}function tT(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e;const o=i==="fixed",a=fn(r),l=t?sc(t.floating):!1;if(r===a||l&&o)return n;let c={scrollLeft:0,scrollTop:0},d=un(1);const u=un(0),h=pn(r);if((h||!h&&!o)&&((pi(r)!=="body"||qo(a))&&(c=ic(r)),pn(r))){const g=Jr(r);d=Fs(r),u.x=g.x+r.clientLeft,u.y=g.y+r.clientTop}const m=a&&!h&&!o?Mw(a,c):un(0);return{width:n.width*d.x,height:n.height*d.y,x:n.x*d.x-c.scrollLeft*d.x+u.x+m.x,y:n.y*d.y-c.scrollTop*d.y+u.y+m.y}}function nT(e){return Array.from(e.getClientRects())}function rT(e){const t=fn(e),n=ic(e),r=e.ownerDocument.body,i=mt(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=mt(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+oc(e);const l=-n.scrollTop;return Kt(r).direction==="rtl"&&(a+=mt(t.clientWidth,r.clientWidth)-i),{width:i,height:o,x:a,y:l}}const fx=25;function sT(e,t){const n=xt(e),r=fn(e),i=n.visualViewport;let o=r.clientWidth,a=r.clientHeight,l=0,c=0;if(i){o=i.width,a=i.height;const u=Lm();(!u||u&&t==="fixed")&&(l=i.offsetLeft,c=i.offsetTop)}const d=oc(r);if(d<=0){const u=r.ownerDocument,h=u.body,m=getComputedStyle(h),g=u.compatMode==="CSS1Compat"&&parseFloat(m.marginLeft)+parseFloat(m.marginRight)||0,w=Math.abs(r.clientWidth-h.clientWidth-g);w<=fx&&(o-=w)}else d<=fx&&(o+=d);return{width:o,height:a,x:l,y:c}}const iT=new Set(["absolute","fixed"]);function oT(e,t){const n=Jr(e,!0,t==="fixed"),r=n.top+e.clientTop,i=n.left+e.clientLeft,o=pn(e)?Fs(e):un(1),a=e.clientWidth*o.x,l=e.clientHeight*o.y,c=i*o.x,d=r*o.y;return{width:a,height:l,x:c,y:d}}function xx(e,t,n){let r;if(t==="viewport")r=sT(e,n);else if(t==="document")r=rT(fn(e));else if(qt(t))r=oT(t,n);else{const i=Rw(e);r={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return Nl(r)}function Dw(e,t){const n=xr(e);return n===t||!qt(n)||ni(n)?!1:Kt(n).position==="fixed"||Dw(n,t)}function aT(e,t){const n=t.get(e);if(n)return n;let r=jo(e,[],!1).filter(l=>qt(l)&&pi(l)!=="body"),i=null;const o=Kt(e).position==="fixed";let a=o?xr(e):e;for(;qt(a)&&!ni(a);){const l=Kt(a),c=Dm(a);!c&&l.position==="fixed"&&(i=null),(o?!c&&!i:!c&&l.position==="static"&&!!i&&iT.has(i.position)||qo(a)&&!c&&Dw(e,a))?r=r.filter(u=>u!==a):i=l,a=xr(a)}return t.set(e,r),r}function lT(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const a=[...n==="clippingAncestors"?sc(t)?[]:aT(t,this._c):[].concat(n),r],l=a[0],c=a.reduce((d,u)=>{const h=xx(t,u,i);return d.top=mt(h.top,d.top),d.right=fr(h.right,d.right),d.bottom=fr(h.bottom,d.bottom),d.left=mt(h.left,d.left),d},xx(t,l,i));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function cT(e){const{width:t,height:n}=Iw(e);return{width:t,height:n}}function dT(e,t,n){const r=pn(t),i=fn(t),o=n==="fixed",a=Jr(e,!0,o,t);let l={scrollLeft:0,scrollTop:0};const c=un(0);function d(){c.x=oc(i)}if(r||!r&&!o)if((pi(t)!=="body"||qo(i))&&(l=ic(t)),r){const g=Jr(t,!0,o,t);c.x=g.x+t.clientLeft,c.y=g.y+t.clientTop}else i&&d();o&&!r&&i&&d();const u=i&&!r&&!o?Mw(i,l):un(0),h=a.left+l.scrollLeft-c.x-u.x,m=a.top+l.scrollTop-c.y-u.y;return{x:h,y:m,width:a.width,height:a.height}}function id(e){return Kt(e).position==="static"}function gx(e,t){if(!pn(e)||Kt(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return fn(e)===n&&(n=n.ownerDocument.body),n}function Lw(e,t){const n=xt(e);if(sc(e))return n;if(!pn(e)){let i=xr(e);for(;i&&!ni(i);){if(qt(i)&&!id(i))return i;i=xr(i)}return n}let r=gx(e,t);for(;r&&GA(r)&&id(r);)r=gx(r,t);return r&&ni(r)&&id(r)&&!Dm(r)?n:r||XA(e)||n}const uT=async function(e){const t=this.getOffsetParent||Lw,n=this.getDimensions,r=await n(e.floating);return{reference:dT(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function hT(e){return Kt(e).direction==="rtl"}const mT={convertOffsetParentRelativeRectToViewportRelativeRect:tT,getDocumentElement:fn,getClippingRect:lT,getOffsetParent:Lw,getElementRects:uT,getClientRects:nT,getDimensions:cT,getScale:Fs,isElement:qt,isRTL:hT};function Ow(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function pT(e,t){let n=null,r;const i=fn(e);function o(){var l;clearTimeout(r),(l=n)==null||l.disconnect(),n=null}function a(l,c){l===void 0&&(l=!1),c===void 0&&(c=1),o();const d=e.getBoundingClientRect(),{left:u,top:h,width:m,height:g}=d;if(l||t(),!m||!g)return;const w=ja(h),x=ja(i.clientWidth-(u+m)),b=ja(i.clientHeight-(h+g)),y=ja(u),v={rootMargin:-w+"px "+-x+"px "+-b+"px "+-y+"px",threshold:mt(0,fr(1,c))||1};let j=!0;function N(S){const k=S[0].intersectionRatio;if(k!==c){if(!j)return a();k?a(!1,k):r=setTimeout(()=>{a(!1,1e-7)},1e3)}k===1&&!Ow(d,e.getBoundingClientRect())&&a(),j=!1}try{n=new IntersectionObserver(N,{...v,root:i.ownerDocument})}catch{n=new IntersectionObserver(N,v)}n.observe(e)}return a(!0),o}function fT(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:a=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:c=!1}=r,d=Om(e),u=i||o?[...d?jo(d):[],...jo(t)]:[];u.forEach(y=>{i&&y.addEventListener("scroll",n,{passive:!0}),o&&y.addEventListener("resize",n)});const h=d&&l?pT(d,n):null;let m=-1,g=null;a&&(g=new ResizeObserver(y=>{let[f]=y;f&&f.target===d&&g&&(g.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var v;(v=g)==null||v.observe(t)})),n()}),d&&!c&&g.observe(d),g.observe(t));let w,x=c?Jr(e):null;c&&b();function b(){const y=Jr(e);x&&!Ow(x,y)&&n(),x=y,w=requestAnimationFrame(b)}return n(),()=>{var y;u.forEach(f=>{i&&f.removeEventListener("scroll",n),o&&f.removeEventListener("resize",n)}),h==null||h(),(y=g)==null||y.disconnect(),g=null,c&&cancelAnimationFrame(w)}}const xT=zA,gT=BA,yT=FA,vT=$A,wT=_A,yx=OA,bT=WA,jT=(e,t,n)=>{const r=new Map,i={platform:mT,...n},o={...i.platform,_c:r};return LA(e,t,{...i,platform:o})};var NT=typeof document<"u",ST=function(){},Ua=NT?p.useLayoutEffect:ST;function Sl(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,i;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!Sl(e[r],t[r]))return!1;return!0}if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,i[r]))return!1;for(r=n;r--!==0;){const o=i[r];if(!(o==="_owner"&&e.$$typeof)&&!Sl(e[o],t[o]))return!1}return!0}return e!==e&&t!==t}function Fw(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function vx(e,t){const n=Fw(e);return Math.round(t*n)/n}function od(e){const t=p.useRef(e);return Ua(()=>{t.current=e}),t}function kT(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:i,elements:{reference:o,floating:a}={},transform:l=!0,whileElementsMounted:c,open:d}=e,[u,h]=p.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[m,g]=p.useState(r);Sl(m,r)||g(r);const[w,x]=p.useState(null),[b,y]=p.useState(null),f=p.useCallback(P=>{P!==S.current&&(S.current=P,x(P))},[]),v=p.useCallback(P=>{P!==k.current&&(k.current=P,y(P))},[]),j=o||w,N=a||b,S=p.useRef(null),k=p.useRef(null),A=p.useRef(u),R=c!=null,C=od(c),M=od(i),O=od(d),H=p.useCallback(()=>{if(!S.current||!k.current)return;const P={placement:t,strategy:n,middleware:m};M.current&&(P.platform=M.current),jT(S.current,k.current,P).then(L=>{const B={...L,isPositioned:O.current!==!1};E.current&&!Sl(A.current,B)&&(A.current=B,is.flushSync(()=>{h(B)}))})},[m,t,n,M,O]);Ua(()=>{d===!1&&A.current.isPositioned&&(A.current.isPositioned=!1,h(P=>({...P,isPositioned:!1})))},[d]);const E=p.useRef(!1);Ua(()=>(E.current=!0,()=>{E.current=!1}),[]),Ua(()=>{if(j&&(S.current=j),N&&(k.current=N),j&&N){if(C.current)return C.current(j,N,H);H()}},[j,N,H,C,R]);const W=p.useMemo(()=>({reference:S,floating:k,setReference:f,setFloating:v}),[f,v]),F=p.useMemo(()=>({reference:j,floating:N}),[j,N]),V=p.useMemo(()=>{const P={position:n,left:0,top:0};if(!F.floating)return P;const L=vx(F.floating,u.x),B=vx(F.floating,u.y);return l?{...P,transform:"translate("+L+"px, "+B+"px)",...Fw(F.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:L,top:B}},[n,l,F.floating,u.x,u.y]);return p.useMemo(()=>({...u,update:H,refs:W,elements:F,floatingStyles:V}),[u,H,W,F,V])}const CT=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:i}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?yx({element:r.current,padding:i}).fn(n):{}:r?yx({element:r,padding:i}).fn(n):{}}}},AT=(e,t)=>({...xT(e),options:[e,t]}),TT=(e,t)=>({...gT(e),options:[e,t]}),ET=(e,t)=>({...bT(e),options:[e,t]}),PT=(e,t)=>({...yT(e),options:[e,t]}),IT=(e,t)=>({...vT(e),options:[e,t]}),RT=(e,t)=>({...wT(e),options:[e,t]}),MT=(e,t)=>({...CT(e),options:[e,t]});var DT="Arrow",_w=p.forwardRef((e,t)=>{const{children:n,width:r=10,height:i=5,...o}=e;return s.jsx(X.svg,{...o,ref:t,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:s.jsx("polygon",{points:"0,0 30,0 15,10"})})});_w.displayName=DT;var LT=_w;function OT(e){const[t,n]=p.useState(void 0);return Ve(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(i=>{if(!Array.isArray(i)||!i.length)return;const o=i[0];let a,l;if("borderBoxSize"in o){const c=o.borderBoxSize,d=Array.isArray(c)?c[0]:c;a=d.inlineSize,l=d.blockSize}else a=e.offsetWidth,l=e.offsetHeight;n({width:a,height:l})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var Fm="Popper",[Vw,ac]=jr(Fm),[FT,zw]=Vw(Fm),Bw=e=>{const{__scopePopper:t,children:n}=e,[r,i]=p.useState(null);return s.jsx(FT,{scope:t,anchor:r,onAnchorChange:i,children:n})};Bw.displayName=Fm;var Ww="PopperAnchor",$w=p.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...i}=e,o=zw(Ww,n),a=p.useRef(null),l=de(t,a),c=p.useRef(null);return p.useEffect(()=>{const d=c.current;c.current=(r==null?void 0:r.current)||a.current,d!==c.current&&o.onAnchorChange(c.current)}),r?null:s.jsx(X.div,{...i,ref:l})});$w.displayName=Ww;var _m="PopperContent",[_T,VT]=Vw(_m),Uw=p.forwardRef((e,t)=>{var G,ue,Be,le,se,ie;const{__scopePopper:n,side:r="bottom",sideOffset:i=0,align:o="center",alignOffset:a=0,arrowPadding:l=0,avoidCollisions:c=!0,collisionBoundary:d=[],collisionPadding:u=0,sticky:h="partial",hideWhenDetached:m=!1,updatePositionStrategy:g="optimized",onPlaced:w,...x}=e,b=zw(_m,n),[y,f]=p.useState(null),v=de(t,ut=>f(ut)),[j,N]=p.useState(null),S=OT(j),k=(S==null?void 0:S.width)??0,A=(S==null?void 0:S.height)??0,R=r+(o!=="center"?"-"+o:""),C=typeof u=="number"?u:{top:0,right:0,bottom:0,left:0,...u},M=Array.isArray(d)?d:[d],O=M.length>0,H={padding:C,boundary:M.filter(BT),altBoundary:O},{refs:E,floatingStyles:W,placement:F,isPositioned:V,middlewareData:P}=kT({strategy:"fixed",placement:R,whileElementsMounted:(...ut)=>fT(...ut,{animationFrame:g==="always"}),elements:{reference:b.anchor},middleware:[AT({mainAxis:i+A,alignmentAxis:a}),c&&TT({mainAxis:!0,crossAxis:!1,limiter:h==="partial"?ET():void 0,...H}),c&&PT({...H}),IT({...H,apply:({elements:ut,rects:Xt,availableWidth:vi,availableHeight:wi})=>{const{width:bi,height:Ej}=Xt.reference,ea=ut.floating.style;ea.setProperty("--radix-popper-available-width",`${vi}px`),ea.setProperty("--radix-popper-available-height",`${wi}px`),ea.setProperty("--radix-popper-anchor-width",`${bi}px`),ea.setProperty("--radix-popper-anchor-height",`${Ej}px`)}}),j&&MT({element:j,padding:l}),WT({arrowWidth:k,arrowHeight:A}),m&&RT({strategy:"referenceHidden",...H})]}),[L,B]=qw(F),Y=Rt(w);Ve(()=>{V&&(Y==null||Y())},[V,Y]);const re=(G=P.arrow)==null?void 0:G.x,Qe=(ue=P.arrow)==null?void 0:ue.y,Ee=((Be=P.arrow)==null?void 0:Be.centerOffset)!==0,[Qt,Xe]=p.useState();return Ve(()=>{y&&Xe(window.getComputedStyle(y).zIndex)},[y]),s.jsx("div",{ref:E.setFloating,"data-radix-popper-content-wrapper":"",style:{...W,transform:V?W.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Qt,"--radix-popper-transform-origin":[(le=P.transformOrigin)==null?void 0:le.x,(se=P.transformOrigin)==null?void 0:se.y].join(" "),...((ie=P.hide)==null?void 0:ie.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:s.jsx(_T,{scope:n,placedSide:L,onArrowChange:N,arrowX:re,arrowY:Qe,shouldHideArrow:Ee,children:s.jsx(X.div,{"data-side":L,"data-align":B,...x,ref:v,style:{...x.style,animation:V?void 0:"none"}})})})});Uw.displayName=_m;var Hw="PopperArrow",zT={top:"bottom",right:"left",bottom:"top",left:"right"},Gw=p.forwardRef(function(t,n){const{__scopePopper:r,...i}=t,o=VT(Hw,r),a=zT[o.placedSide];return s.jsx("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[a]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0},children:s.jsx(LT,{...i,ref:n,style:{...i.style,display:"block"}})})});Gw.displayName=Hw;function BT(e){return e!==null}var WT=e=>({name:"transformOrigin",options:e,fn(t){var b,y,f;const{placement:n,rects:r,middlewareData:i}=t,a=((b=i.arrow)==null?void 0:b.centerOffset)!==0,l=a?0:e.arrowWidth,c=a?0:e.arrowHeight,[d,u]=qw(n),h={start:"0%",center:"50%",end:"100%"}[u],m=(((y=i.arrow)==null?void 0:y.x)??0)+l/2,g=(((f=i.arrow)==null?void 0:f.y)??0)+c/2;let w="",x="";return d==="bottom"?(w=a?h:`${m}px`,x=`${-c}px`):d==="top"?(w=a?h:`${m}px`,x=`${r.floating.height+c}px`):d==="right"?(w=`${-c}px`,x=a?h:`${g}px`):d==="left"&&(w=`${r.floating.width+c}px`,x=a?h:`${g}px`),{data:{x:w,y:x}}}});function qw(e){const[t,n="center"]=e.split("-");return[t,n]}var Kw=Bw,Yw=$w,Qw=Uw,Xw=Gw,[lc]=jr("Tooltip",[ac]),cc=ac(),Zw="TooltipProvider",$T=700,_u="tooltip.open",[UT,Vm]=lc(Zw),Jw=e=>{const{__scopeTooltip:t,delayDuration:n=$T,skipDelayDuration:r=300,disableHoverableContent:i=!1,children:o}=e,a=p.useRef(!0),l=p.useRef(!1),c=p.useRef(0);return p.useEffect(()=>{const d=c.current;return()=>window.clearTimeout(d)},[]),s.jsx(UT,{scope:t,isOpenDelayedRef:a,delayDuration:n,onOpen:p.useCallback(()=>{window.clearTimeout(c.current),a.current=!1},[]),onClose:p.useCallback(()=>{window.clearTimeout(c.current),c.current=window.setTimeout(()=>a.current=!0,r)},[r]),isPointerInTransitRef:l,onPointerInTransitChange:p.useCallback(d=>{l.current=d},[]),disableHoverableContent:i,children:o})};Jw.displayName=Zw;var No="Tooltip",[HT,Ko]=lc(No),e1=e=>{const{__scopeTooltip:t,children:n,open:r,defaultOpen:i,onOpenChange:o,disableHoverableContent:a,delayDuration:l}=e,c=Vm(No,e.__scopeTooltip),d=cc(t),[u,h]=p.useState(null),m=An(),g=p.useRef(0),w=a??c.disableHoverableContent,x=l??c.delayDuration,b=p.useRef(!1),[y,f]=Xr({prop:r,defaultProp:i??!1,onChange:k=>{k?(c.onOpen(),document.dispatchEvent(new CustomEvent(_u))):c.onClose(),o==null||o(k)},caller:No}),v=p.useMemo(()=>y?b.current?"delayed-open":"instant-open":"closed",[y]),j=p.useCallback(()=>{window.clearTimeout(g.current),g.current=0,b.current=!1,f(!0)},[f]),N=p.useCallback(()=>{window.clearTimeout(g.current),g.current=0,f(!1)},[f]),S=p.useCallback(()=>{window.clearTimeout(g.current),g.current=window.setTimeout(()=>{b.current=!0,f(!0),g.current=0},x)},[x,f]);return p.useEffect(()=>()=>{g.current&&(window.clearTimeout(g.current),g.current=0)},[]),s.jsx(Kw,{...d,children:s.jsx(HT,{scope:t,contentId:m,open:y,stateAttribute:v,trigger:u,onTriggerChange:h,onTriggerEnter:p.useCallback(()=>{c.isOpenDelayedRef.current?S():j()},[c.isOpenDelayedRef,S,j]),onTriggerLeave:p.useCallback(()=>{w?N():(window.clearTimeout(g.current),g.current=0)},[N,w]),onOpen:j,onClose:N,disableHoverableContent:w,children:n})})};e1.displayName=No;var Vu="TooltipTrigger",t1=p.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,i=Ko(Vu,n),o=Vm(Vu,n),a=cc(n),l=p.useRef(null),c=de(t,l,i.onTriggerChange),d=p.useRef(!1),u=p.useRef(!1),h=p.useCallback(()=>d.current=!1,[]);return p.useEffect(()=>()=>document.removeEventListener("pointerup",h),[h]),s.jsx(Yw,{asChild:!0,...a,children:s.jsx(X.button,{"aria-describedby":i.open?i.contentId:void 0,"data-state":i.stateAttribute,...r,ref:c,onPointerMove:U(e.onPointerMove,m=>{m.pointerType!=="touch"&&!u.current&&!o.isPointerInTransitRef.current&&(i.onTriggerEnter(),u.current=!0)}),onPointerLeave:U(e.onPointerLeave,()=>{i.onTriggerLeave(),u.current=!1}),onPointerDown:U(e.onPointerDown,()=>{i.open&&i.onClose(),d.current=!0,document.addEventListener("pointerup",h,{once:!0})}),onFocus:U(e.onFocus,()=>{d.current||i.onOpen()}),onBlur:U(e.onBlur,i.onClose),onClick:U(e.onClick,i.onClose)})})});t1.displayName=Vu;var zm="TooltipPortal",[GT,qT]=lc(zm,{forceMount:void 0}),n1=e=>{const{__scopeTooltip:t,forceMount:n,children:r,container:i}=e,o=Ko(zm,t);return s.jsx(GT,{scope:t,forceMount:n,children:s.jsx(Nr,{present:n||o.open,children:s.jsx(zo,{asChild:!0,container:i,children:r})})})};n1.displayName=zm;var ri="TooltipContent",r1=p.forwardRef((e,t)=>{const n=qT(ri,e.__scopeTooltip),{forceMount:r=n.forceMount,side:i="top",...o}=e,a=Ko(ri,e.__scopeTooltip);return s.jsx(Nr,{present:r||a.open,children:a.disableHoverableContent?s.jsx(s1,{side:i,...o,ref:t}):s.jsx(KT,{side:i,...o,ref:t})})}),KT=p.forwardRef((e,t)=>{const n=Ko(ri,e.__scopeTooltip),r=Vm(ri,e.__scopeTooltip),i=p.useRef(null),o=de(t,i),[a,l]=p.useState(null),{trigger:c,onClose:d}=n,u=i.current,{onPointerInTransitChange:h}=r,m=p.useCallback(()=>{l(null),h(!1)},[h]),g=p.useCallback((w,x)=>{const b=w.currentTarget,y={x:w.clientX,y:w.clientY},f=ZT(y,b.getBoundingClientRect()),v=JT(y,f),j=eE(x.getBoundingClientRect()),N=nE([...v,...j]);l(N),h(!0)},[h]);return p.useEffect(()=>()=>m(),[m]),p.useEffect(()=>{if(c&&u){const w=b=>g(b,u),x=b=>g(b,c);return c.addEventListener("pointerleave",w),u.addEventListener("pointerleave",x),()=>{c.removeEventListener("pointerleave",w),u.removeEventListener("pointerleave",x)}}},[c,u,g,m]),p.useEffect(()=>{if(a){const w=x=>{const b=x.target,y={x:x.clientX,y:x.clientY},f=(c==null?void 0:c.contains(b))||(u==null?void 0:u.contains(b)),v=!tE(y,a);f?m():v&&(m(),d())};return document.addEventListener("pointermove",w),()=>document.removeEventListener("pointermove",w)}},[c,u,a,d,m]),s.jsx(s1,{...e,ref:o})}),[YT,QT]=lc(No,{isInside:!1}),XT=v4("TooltipContent"),s1=p.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":i,onEscapeKeyDown:o,onPointerDownOutside:a,...l}=e,c=Ko(ri,n),d=cc(n),{onClose:u}=c;return p.useEffect(()=>(document.addEventListener(_u,u),()=>document.removeEventListener(_u,u)),[u]),p.useEffect(()=>{if(c.trigger){const h=m=>{const g=m.target;g!=null&&g.contains(c.trigger)&&u()};return window.addEventListener("scroll",h,{capture:!0}),()=>window.removeEventListener("scroll",h,{capture:!0})}},[c.trigger,u]),s.jsx(Vo,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:o,onPointerDownOutside:a,onFocusOutside:h=>h.preventDefault(),onDismiss:u,children:s.jsxs(Qw,{"data-state":c.stateAttribute,...d,...l,ref:t,style:{...l.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[s.jsx(XT,{children:r}),s.jsx(YT,{scope:n,isInside:!0,children:s.jsx(B4,{id:c.contentId,role:"tooltip",children:i||r})})]})})});r1.displayName=ri;var i1="TooltipArrow",o1=p.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,i=cc(n);return QT(i1,n).isInside?null:s.jsx(Xw,{...i,...r,ref:t})});o1.displayName=i1;function ZT(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),i=Math.abs(t.right-e.x),o=Math.abs(t.left-e.x);switch(Math.min(n,r,i,o)){case o:return"left";case i:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function JT(e,t,n=5){const r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return r}function eE(e){const{top:t,right:n,bottom:r,left:i}=e;return[{x:i,y:t},{x:n,y:t},{x:n,y:r},{x:i,y:r}]}function tE(e,t){const{x:n,y:r}=e;let i=!1;for(let o=0,a=t.length-1;or!=m>r&&n<(h-d)*(r-u)/(m-u)+d&&(i=!i)}return i}function nE(e){const t=e.slice();return t.sort((n,r)=>n.xr.x?1:n.yr.y?1:0),rE(t)}function rE(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r=2;){const o=t[t.length-1],a=t[t.length-2];if((o.x-a.x)*(i.y-a.y)>=(o.y-a.y)*(i.x-a.x))t.pop();else break}t.push(i)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const i=e[r];for(;n.length>=2;){const o=n[n.length-1],a=n[n.length-2];if((o.x-a.x)*(i.y-a.y)>=(o.y-a.y)*(i.x-a.x))n.pop();else break}n.push(i)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}var sE=Jw,RD=e1,MD=t1,DD=n1,a1=r1,LD=o1;const iE=sE,oE=p.forwardRef(({className:e,sideOffset:t=4,...n},r)=>s.jsx(a1,{ref:r,sideOffset:t,className:Z("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 origin-[--radix-tooltip-content-transform-origin]",e),...n}));oE.displayName=a1.displayName;const Wt=p.forwardRef(({className:e,...t},n)=>s.jsx("div",{ref:n,className:Z("rounded-lg border bg-card text-card-foreground shadow-sm",e),...t}));Wt.displayName="Card";const en=p.forwardRef(({className:e,...t},n)=>s.jsx("div",{ref:n,className:Z("flex flex-col space-y-1.5 p-6",e),...t}));en.displayName="CardHeader";const bn=p.forwardRef(({className:e,...t},n)=>s.jsx("div",{ref:n,className:Z("text-2xl font-semibold leading-none tracking-tight",e),...t}));bn.displayName="CardTitle";const l1=p.forwardRef(({className:e,...t},n)=>s.jsx("div",{ref:n,className:Z("text-sm text-muted-foreground",e),...t}));l1.displayName="CardDescription";const tn=p.forwardRef(({className:e,...t},n)=>s.jsx("div",{ref:n,className:Z("p-6 pt-0",e),...t}));tn.displayName="CardContent";const aE=p.forwardRef(({className:e,...t},n)=>s.jsx("div",{ref:n,className:Z("flex items-center p-6 pt-0",e),...t}));aE.displayName="CardFooter";const zu="https://synapseai.us",lE=`${zu}/og-image.png`,cE="Synapse AI Solutions — Agentic AI, Research Labs, Talent & Training";function jt(e,t,n){let r=document.head.querySelector(`meta[${e}="${t}"]`);r||(r=document.createElement("meta"),r.setAttribute(e,t),document.head.appendChild(r)),r.setAttribute("content",n)}function dE(e,t){let n=document.head.querySelector(`link[rel="${e}"]`);n||(n=document.createElement("link"),n.setAttribute("rel",e),document.head.appendChild(n)),n.setAttribute("href",t)}const Ye=({title:e,description:t,path:n,image:r,type:i="website",noindex:o=!1,jsonLd:a})=>{const l=a?JSON.stringify(a):null;p.useEffect(()=>{document.title=e,jt("name","title",e),jt("property","og:title",e),jt("property","twitter:title",e),t&&(jt("name","description",t),jt("property","og:description",t),jt("property","twitter:description",t));const c=zu+(n??window.location.pathname);dE("canonical",c),jt("property","og:url",c),jt("property","twitter:url",c),jt("property","og:type",i);const d=r?r.startsWith("http")?r:zu+r:lE;jt("property","og:image",d),jt("property","twitter:image",d),jt("name","robots",o?"noindex, nofollow":"index, follow");let u=null;return l&&(u=document.createElement("script"),u.type="application/ld+json",u.setAttribute("data-seo","page"),u.text=l,document.head.appendChild(u)),()=>{document.title=cE,u&&u.parentNode&&u.parentNode.removeChild(u)}},[e,t,n,r,i,o,l])},fi={HOME:"Synapse AI Solutions — Agentic AI, Research Labs, Talent & Training",ABOUT:"About Synapse AI Solutions — From AI Research to Production",AI_RESEARCH_LABS:"AI Research Labs — Healthcare & Physical AI Research",PRIVACY_POLICY:"Privacy Policy",COOKIE_POLICY:"Cookie Policy",TERMS_OF_SERVICE:"Terms of Service"};function uE(){return Ye({title:"Page Not Found — Synapse AI Solutions",description:"The page you're looking for can't be found. Explore Synapse AI Solutions' AI services, research labs, talent, and training.",noindex:!0}),s.jsx("div",{className:"min-h-screen w-full flex items-center justify-center bg-gray-50 px-4",children:s.jsx(Wt,{className:"w-full max-w-md",children:s.jsxs(tn,{className:"pt-6",children:[s.jsxs("div",{className:"flex mb-4 gap-2 items-center",children:[s.jsx(mC,{className:"h-8 w-8 text-secondary"}),s.jsx("h1",{className:"text-2xl font-bold text-gray-900",children:"404 — Page Not Found"})]}),s.jsx("p",{className:"mt-2 text-sm text-gray-600",children:"The page you're looking for doesn't exist or has moved. Let's get you back on track."}),s.jsxs("div",{className:"mt-6 flex flex-col sm:flex-row gap-3",children:[s.jsxs(q,{href:"/",className:"inline-flex items-center justify-center gap-2 px-5 py-2.5 bg-primary text-white font-semibold rounded-lg text-sm hover:bg-secondary hover:text-primary transition-colors",children:["Back to Home",s.jsx(fe,{className:"h-4 w-4"})]}),s.jsx(q,{href:"/services/agentic-ai",className:"inline-flex items-center justify-center gap-2 px-5 py-2.5 border border-gray-200 text-gray-700 font-semibold rounded-lg text-sm hover:border-secondary hover:text-secondary transition-colors",children:"Explore Services"})]})]})})})}const c1=p.createContext({});function hE(e){const t=p.useRef(null);return t.current===null&&(t.current=e()),t.current}const Bm=p.createContext(null),d1=p.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function mE(e=!0){const t=p.useContext(Bm);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:r,register:i}=t,o=p.useId();p.useEffect(()=>{e&&i(o)},[e]);const a=p.useCallback(()=>e&&r&&r(o),[o,r,e]);return!n&&r?[!1,a]:[!0]}const Wm=typeof window<"u",pE=Wm?p.useLayoutEffect:p.useEffect,gt=e=>e;let u1=gt;function $m(e){let t;return()=>(t===void 0&&(t=e()),t)}const si=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},Tn=e=>e*1e3,En=e=>e/1e3,fE={useManualTiming:!1};function xE(e){let t=new Set,n=new Set,r=!1,i=!1;const o=new WeakSet;let a={delta:0,timestamp:0,isProcessing:!1};function l(d){o.has(d)&&(c.schedule(d),e()),d(a)}const c={schedule:(d,u=!1,h=!1)=>{const g=h&&r?t:n;return u&&o.add(d),g.has(d)||g.add(d),d},cancel:d=>{n.delete(d),o.delete(d)},process:d=>{if(a=d,r){i=!0;return}r=!0,[t,n]=[n,t],t.forEach(l),t.clear(),r=!1,i&&(i=!1,c.process(d))}};return c}const Na=["read","resolveKeyframes","update","preRender","render","postRender"],gE=40;function h1(e,t){let n=!1,r=!0;const i={delta:0,timestamp:0,isProcessing:!1},o=()=>n=!0,a=Na.reduce((y,f)=>(y[f]=xE(o),y),{}),{read:l,resolveKeyframes:c,update:d,preRender:u,render:h,postRender:m}=a,g=()=>{const y=performance.now();n=!1,i.delta=r?1e3/60:Math.max(Math.min(y-i.timestamp,gE),1),i.timestamp=y,i.isProcessing=!0,l.process(i),c.process(i),d.process(i),u.process(i),h.process(i),m.process(i),i.isProcessing=!1,n&&t&&(r=!1,e(g))},w=()=>{n=!0,r=!0,i.isProcessing||e(g)};return{schedule:Na.reduce((y,f)=>{const v=a[f];return y[f]=(j,N=!1,S=!1)=>(n||w(),v.schedule(j,N,S)),y},{}),cancel:y=>{for(let f=0;fwx[e].some(n=>!!t[n])};function yE(e){for(const t in e)ii[t]={...ii[t],...e[t]}}const vE=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 kl(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||vE.has(e)}let p1=e=>!kl(e);function wE(e){e&&(p1=t=>t.startsWith("on")?!kl(t):e(t))}try{wE(require("@emotion/is-prop-valid").default)}catch{}function bE(e,t,n){const r={};for(const i in e)i==="values"&&typeof e.values=="object"||(p1(i)||n===!0&&kl(i)||!t&&!kl(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}function jE(e){if(typeof Proxy>"u")return e;const t=new Map,n=(...r)=>e(...r);return new Proxy(n,{get:(r,i)=>i==="create"?e:(t.has(i)||t.set(i,e(i)),t.get(i))})}const dc=p.createContext({});function So(e){return typeof e=="string"||Array.isArray(e)}function uc(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}const Um=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Hm=["initial",...Um];function hc(e){return uc(e.animate)||Hm.some(t=>So(e[t]))}function f1(e){return!!(hc(e)||e.variants)}function NE(e,t){if(hc(e)){const{initial:n,animate:r}=e;return{initial:n===!1||So(n)?n:void 0,animate:So(r)?r:void 0}}return e.inherit!==!1?t:{}}function SE(e){const{initial:t,animate:n}=NE(e,p.useContext(dc));return p.useMemo(()=>({initial:t,animate:n}),[bx(t),bx(n)])}function bx(e){return Array.isArray(e)?e.join(" "):e}const kE=Symbol.for("motionComponentSymbol");function ks(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function CE(e,t,n){return p.useCallback(r=>{r&&e.onMount&&e.onMount(r),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):ks(n)&&(n.current=r))},[t])}const Gm=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),AE="framerAppearId",x1="data-"+Gm(AE),{schedule:qm}=h1(queueMicrotask,!1),g1=p.createContext({});function TE(e,t,n,r,i){var o,a;const{visualElement:l}=p.useContext(dc),c=p.useContext(m1),d=p.useContext(Bm),u=p.useContext(d1).reducedMotion,h=p.useRef(null);r=r||c.renderer,!h.current&&r&&(h.current=r(e,{visualState:t,parent:l,props:n,presenceContext:d,blockInitialAnimation:d?d.initial===!1:!1,reducedMotionConfig:u}));const m=h.current,g=p.useContext(g1);m&&!m.projection&&i&&(m.type==="html"||m.type==="svg")&&EE(h.current,n,i,g);const w=p.useRef(!1);p.useInsertionEffect(()=>{m&&w.current&&m.update(n,d)});const x=n[x1],b=p.useRef(!!x&&!(!((o=window.MotionHandoffIsComplete)===null||o===void 0)&&o.call(window,x))&&((a=window.MotionHasOptimisedAnimation)===null||a===void 0?void 0:a.call(window,x)));return pE(()=>{m&&(w.current=!0,window.MotionIsMounted=!0,m.updateFeatures(),qm.render(m.render),b.current&&m.animationState&&m.animationState.animateChanges())}),p.useEffect(()=>{m&&(!b.current&&m.animationState&&m.animationState.animateChanges(),b.current&&(queueMicrotask(()=>{var y;(y=window.MotionHandoffMarkAsComplete)===null||y===void 0||y.call(window,x)}),b.current=!1))}),m}function EE(e,t,n,r){const{layoutId:i,layout:o,drag:a,dragConstraints:l,layoutScroll:c,layoutRoot:d}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:y1(e.parent)),e.projection.setOptions({layoutId:i,layout:o,alwaysMeasureLayout:!!a||l&&ks(l),visualElement:e,animationType:typeof o=="string"?o:"both",initialPromotionConfig:r,layoutScroll:c,layoutRoot:d})}function y1(e){if(e)return e.options.allowProjection!==!1?e.projection:y1(e.parent)}function PE({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:i}){var o,a;e&&yE(e);function l(d,u){let h;const m={...p.useContext(d1),...d,layoutId:IE(d)},{isStatic:g}=m,w=SE(d),x=r(d,g);if(!g&&Wm){RE();const b=ME(m);h=b.MeasureLayout,w.visualElement=TE(i,x,m,t,b.ProjectionNode)}return s.jsxs(dc.Provider,{value:w,children:[h&&w.visualElement?s.jsx(h,{visualElement:w.visualElement,...m}):null,n(i,d,CE(x,w.visualElement,u),x,g,w.visualElement)]})}l.displayName=`motion.${typeof i=="string"?i:`create(${(a=(o=i.displayName)!==null&&o!==void 0?o:i.name)!==null&&a!==void 0?a:""})`}`;const c=p.forwardRef(l);return c[kE]=i,c}function IE({layoutId:e}){const t=p.useContext(c1).id;return t&&e!==void 0?t+"-"+e:e}function RE(e,t){p.useContext(m1).strict}function ME(e){const{drag:t,layout:n}=ii;if(!t&&!n)return{};const r={...t,...n};return{MeasureLayout:t!=null&&t.isEnabled(e)||n!=null&&n.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}const DE=["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 Km(e){return typeof e!="string"||e.includes("-")?!1:!!(DE.indexOf(e)>-1||/[A-Z]/u.test(e))}function jx(e){const t=[{},{}];return e==null||e.values.forEach((n,r)=>{t[0][r]=n.get(),t[1][r]=n.getVelocity()}),t}function Ym(e,t,n,r){if(typeof t=="function"){const[i,o]=jx(r);t=t(n!==void 0?n:e.custom,i,o)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[i,o]=jx(r);t=t(n!==void 0?n:e.custom,i,o)}return t}const Bu=e=>Array.isArray(e),LE=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),OE=e=>Bu(e)?e[e.length-1]||0:e,qe=e=>!!(e&&e.getVelocity);function Ha(e){const t=qe(e)?e.get():e;return LE(t)?t.toValue():t}function FE({scrapeMotionValuesFromProps:e,createRenderState:t,onUpdate:n},r,i,o){const a={latestValues:_E(r,i,o,e),renderState:t()};return n&&(a.onMount=l=>n({props:r,current:l,...a}),a.onUpdate=l=>n(l)),a}const v1=e=>(t,n)=>{const r=p.useContext(dc),i=p.useContext(Bm),o=()=>FE(e,t,r,i);return n?o():hE(o)};function _E(e,t,n,r){const i={},o=r(e,{});for(const m in o)i[m]=Ha(o[m]);let{initial:a,animate:l}=e;const c=hc(e),d=f1(e);t&&d&&!c&&e.inherit!==!1&&(a===void 0&&(a=t.initial),l===void 0&&(l=t.animate));let u=n?n.initial===!1:!1;u=u||a===!1;const h=u?l:a;if(h&&typeof h!="boolean"&&!uc(h)){const m=Array.isArray(h)?h:[h];for(let g=0;gt=>typeof t=="string"&&t.startsWith(e),b1=w1("--"),VE=w1("var(--"),Qm=e=>VE(e)?zE.test(e.split("/*")[0].trim()):!1,zE=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,j1=(e,t)=>t&&typeof e=="number"?t.transform(e):e,Fn=(e,t,n)=>n>t?t:ntypeof e=="number",parse:parseFloat,transform:e=>e},ko={...gi,transform:e=>Fn(0,1,e)},Sa={...gi,default:1},Yo=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Un=Yo("deg"),hn=Yo("%"),$=Yo("px"),BE=Yo("vh"),WE=Yo("vw"),Nx={...hn,parse:e=>hn.parse(e)/100,transform:e=>hn.transform(e*100)},$E={borderWidth:$,borderTopWidth:$,borderRightWidth:$,borderBottomWidth:$,borderLeftWidth:$,borderRadius:$,radius:$,borderTopLeftRadius:$,borderTopRightRadius:$,borderBottomRightRadius:$,borderBottomLeftRadius:$,width:$,maxWidth:$,height:$,maxHeight:$,top:$,right:$,bottom:$,left:$,padding:$,paddingTop:$,paddingRight:$,paddingBottom:$,paddingLeft:$,margin:$,marginTop:$,marginRight:$,marginBottom:$,marginLeft:$,backgroundPositionX:$,backgroundPositionY:$},UE={rotate:Un,rotateX:Un,rotateY:Un,rotateZ:Un,scale:Sa,scaleX:Sa,scaleY:Sa,scaleZ:Sa,skew:Un,skewX:Un,skewY:Un,distance:$,translateX:$,translateY:$,translateZ:$,x:$,y:$,z:$,perspective:$,transformPerspective:$,opacity:ko,originX:Nx,originY:Nx,originZ:$},Sx={...gi,transform:Math.round},Xm={...$E,...UE,zIndex:Sx,size:$,fillOpacity:ko,strokeOpacity:ko,numOctaves:Sx},HE={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},GE=xi.length;function qE(e,t,n){let r="",i=!0;for(let o=0;o({style:{},transform:{},transformOrigin:{},vars:{}}),N1=()=>({...ep(),attrs:{}}),tp=e=>typeof e=="string"&&e.toLowerCase()==="svg";function S1(e,{style:t,vars:n},r,i){Object.assign(e.style,t,i&&i.getProjectionStyles(r));for(const o in n)e.style.setProperty(o,n[o])}const k1=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 C1(e,t,n,r){S1(e,t,void 0,r);for(const i in t.attrs)e.setAttribute(k1.has(i)?i:Gm(i),t.attrs[i])}const Cl={};function ZE(e){Object.assign(Cl,e)}function A1(e,{layout:t,layoutId:n}){return ls.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!Cl[e]||e==="opacity")}function np(e,t,n){var r;const{style:i}=e,o={};for(const a in i)(qe(i[a])||t.style&&qe(t.style[a])||A1(a,e)||((r=n==null?void 0:n.getValue(a))===null||r===void 0?void 0:r.liveStyle)!==void 0)&&(o[a]=i[a]);return o}function T1(e,t,n){const r=np(e,t,n);for(const i in e)if(qe(e[i])||qe(t[i])){const o=xi.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;r[o]=e[i]}return r}function JE(e,t){try{t.dimensions=typeof e.getBBox=="function"?e.getBBox():e.getBoundingClientRect()}catch{t.dimensions={x:0,y:0,width:0,height:0}}}const Cx=["x","y","width","height","cx","cy","r"],eP={useVisualState:v1({scrapeMotionValuesFromProps:T1,createRenderState:N1,onUpdate:({props:e,prevProps:t,current:n,renderState:r,latestValues:i})=>{if(!n)return;let o=!!e.drag;if(!o){for(const l in i)if(ls.has(l)){o=!0;break}}if(!o)return;let a=!t;if(t)for(let l=0;l{JE(n,r),xe.render(()=>{Jm(r,i,tp(n.tagName),e.transformTemplate),C1(n,r)})})}})},tP={useVisualState:v1({scrapeMotionValuesFromProps:np,createRenderState:ep})};function E1(e,t,n){for(const r in t)!qe(t[r])&&!A1(r,n)&&(e[r]=t[r])}function nP({transformTemplate:e},t){return p.useMemo(()=>{const n=ep();return Zm(n,t,e),Object.assign({},n.vars,n.style)},[t])}function rP(e,t){const n=e.style||{},r={};return E1(r,n,e),Object.assign(r,nP(e,t)),r}function sP(e,t){const n={},r=rP(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}function iP(e,t,n,r){const i=p.useMemo(()=>{const o=N1();return Jm(o,t,tp(r),e.transformTemplate),{...o.attrs,style:{...o.style}}},[t]);if(e.style){const o={};E1(o,e.style,e),i.style={...o,...i.style}}return i}function oP(e=!1){return(n,r,i,{latestValues:o},a)=>{const c=(Km(n)?iP:sP)(r,o,a,n),d=bE(r,typeof n=="string",e),u=n!==p.Fragment?{...d,...c,ref:i}:{},{children:h}=r,m=p.useMemo(()=>qe(h)?h.get():h,[h]);return p.createElement(n,{...u,children:m})}}function aP(e,t){return function(r,{forwardMotionProps:i}={forwardMotionProps:!1}){const a={...Km(r)?eP:tP,preloadedFeatures:e,useRender:oP(i),createVisualElement:t,Component:r};return PE(a)}}function P1(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;rwindow.ScrollTimeline!==void 0);class cP{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,n){for(let r=0;r{if(lP()&&i.attachTimeline)return i.attachTimeline(t);if(typeof n=="function")return n(i)});return()=>{r.forEach((i,o)=>{i&&i(),this.animations[o].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 n=0;nn[t]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}class dP extends cP{then(t,n){return Promise.all(this.animations).then(t).catch(n)}}function rp(e,t){return e?e[t]||e.default||e:void 0}const Wu=2e4;function I1(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t=Wu?1/0:t}function sp(e){return typeof e=="function"}function Ax(e,t){e.timeline=t,e.onfinish=null}const ip=e=>Array.isArray(e)&&typeof e[0]=="number",uP={linearEasing:void 0};function hP(e,t){const n=$m(e);return()=>{var r;return(r=uP[t])!==null&&r!==void 0?r:n()}}const Al=hP(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),R1=(e,t,n=10)=>{let r="";const i=Math.max(Math.round(t/n),2);for(let o=0;o`cubic-bezier(${e}, ${t}, ${n}, ${r})`,$u={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Fi([0,.65,.55,1]),circOut:Fi([.55,0,1,.45]),backIn:Fi([.31,.01,.66,-.59]),backOut:Fi([.33,1.53,.69,.99])};function D1(e,t){if(e)return typeof e=="function"&&Al()?R1(e,t):ip(e)?Fi(e):Array.isArray(e)?e.map(n=>D1(n,t)||$u.easeOut):$u[e]}const Lt={x:!1,y:!1};function L1(){return Lt.x||Lt.y}function mP(e,t,n){var r;if(e instanceof Element)return[e];if(typeof e=="string"){let i=document;const o=(r=void 0)!==null&&r!==void 0?r:i.querySelectorAll(e);return o?Array.from(o):[]}return Array.from(e)}function O1(e,t){const n=mP(e),r=new AbortController,i={passive:!0,...t,signal:r.signal};return[n,i,()=>r.abort()]}function Tx(e){return t=>{t.pointerType==="touch"||L1()||e(t)}}function pP(e,t,n={}){const[r,i,o]=O1(e,n),a=Tx(l=>{const{target:c}=l,d=t(l);if(typeof d!="function"||!c)return;const u=Tx(h=>{d(h),c.removeEventListener("pointerleave",u)});c.addEventListener("pointerleave",u,i)});return r.forEach(l=>{l.addEventListener("pointerenter",a,i)}),o}const F1=(e,t)=>t?e===t?!0:F1(e,t.parentElement):!1,op=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,fP=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function xP(e){return fP.has(e.tagName)||e.tabIndex!==-1}const _i=new WeakSet;function Ex(e){return t=>{t.key==="Enter"&&e(t)}}function ld(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const gP=(e,t)=>{const n=e.currentTarget;if(!n)return;const r=Ex(()=>{if(_i.has(n))return;ld(n,"down");const i=Ex(()=>{ld(n,"up")}),o=()=>ld(n,"cancel");n.addEventListener("keyup",i,t),n.addEventListener("blur",o,t)});n.addEventListener("keydown",r,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",r),t)};function Px(e){return op(e)&&!L1()}function yP(e,t,n={}){const[r,i,o]=O1(e,n),a=l=>{const c=l.currentTarget;if(!Px(l)||_i.has(c))return;_i.add(c);const d=t(l),u=(g,w)=>{window.removeEventListener("pointerup",h),window.removeEventListener("pointercancel",m),!(!Px(g)||!_i.has(c))&&(_i.delete(c),typeof d=="function"&&d(g,{success:w}))},h=g=>{u(g,n.useGlobalTarget||F1(c,g.target))},m=g=>{u(g,!1)};window.addEventListener("pointerup",h,i),window.addEventListener("pointercancel",m,i)};return r.forEach(l=>{!xP(l)&&l.getAttribute("tabindex")===null&&(l.tabIndex=0),(n.useGlobalTarget?window:l).addEventListener("pointerdown",a,i),l.addEventListener("focus",d=>gP(d,i),i)}),o}function vP(e){return e==="x"||e==="y"?Lt[e]?null:(Lt[e]=!0,()=>{Lt[e]=!1}):Lt.x||Lt.y?null:(Lt.x=Lt.y=!0,()=>{Lt.x=Lt.y=!1})}const _1=new Set(["width","height","top","left","right","bottom",...xi]);let Ga;function wP(){Ga=void 0}const mn={now:()=>(Ga===void 0&&mn.set(Oe.isProcessing||fE.useManualTiming?Oe.timestamp:performance.now()),Ga),set:e=>{Ga=e,queueMicrotask(wP)}};function ap(e,t){e.indexOf(t)===-1&&e.push(t)}function lp(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class cp{constructor(){this.subscriptions=[]}add(t){return ap(this.subscriptions,t),()=>lp(this.subscriptions,t)}notify(t,n,r){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](t,n,r);else for(let o=0;o!isNaN(parseFloat(e));class jP{constructor(t,n={}){this.version="11.18.2",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(r,i=!0)=>{const o=mn.now();this.updatedAt!==o&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),i&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(t),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=mn.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=bP(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new cp);const r=this.events[t].add(n);return t==="change"?()=>{r(),xe.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t,n=!0){!n||!this.passiveEffect?this.updateAndNotify(t,n):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,n,r){this.set(n),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-r}jump(t,n=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const t=mn.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>Ix)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,Ix);return V1(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Co(e,t){return new jP(e,t)}function NP(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Co(n))}function SP(e,t){const n=mc(e,t);let{transitionEnd:r={},transition:i={},...o}=n||{};o={...o,...r};for(const a in o){const l=OE(o[a]);NP(e,a,l)}}function kP(e){return!!(qe(e)&&e.add)}function Uu(e,t){const n=e.getValue("willChange");if(kP(n))return n.add(t)}function z1(e){return e.props[x1]}const B1=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,CP=1e-7,AP=12;function TP(e,t,n,r,i){let o,a,l=0;do a=t+(n-t)/2,o=B1(a,r,i)-e,o>0?n=a:t=a;while(Math.abs(o)>CP&&++lTP(o,0,1,e,n);return o=>o===0||o===1?o:B1(i(o),t,r)}const W1=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,$1=e=>t=>1-e(1-t),U1=Qo(.33,1.53,.69,.99),dp=$1(U1),H1=W1(dp),G1=e=>(e*=2)<1?.5*dp(e):.5*(2-Math.pow(2,-10*(e-1))),up=e=>1-Math.sin(Math.acos(e)),q1=$1(up),K1=W1(up),Y1=e=>/^0[^.\s]+$/u.test(e);function EP(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||Y1(e):!0}const Xi=e=>Math.round(e*1e5)/1e5,hp=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function PP(e){return e==null}const IP=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,mp=(e,t)=>n=>!!(typeof n=="string"&&IP.test(n)&&n.startsWith(e)||t&&!PP(n)&&Object.prototype.hasOwnProperty.call(n,t)),Q1=(e,t,n)=>r=>{if(typeof r!="string")return r;const[i,o,a,l]=r.match(hp);return{[e]:parseFloat(i),[t]:parseFloat(o),[n]:parseFloat(a),alpha:l!==void 0?parseFloat(l):1}},RP=e=>Fn(0,255,e),cd={...gi,transform:e=>Math.round(RP(e))},Or={test:mp("rgb","red"),parse:Q1("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+cd.transform(e)+", "+cd.transform(t)+", "+cd.transform(n)+", "+Xi(ko.transform(r))+")"};function MP(e){let t="",n="",r="",i="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}const Hu={test:mp("#"),parse:MP,transform:Or.transform},Cs={test:mp("hsl","hue"),parse:Q1("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+hn.transform(Xi(t))+", "+hn.transform(Xi(n))+", "+Xi(ko.transform(r))+")"},He={test:e=>Or.test(e)||Hu.test(e)||Cs.test(e),parse:e=>Or.test(e)?Or.parse(e):Cs.test(e)?Cs.parse(e):Hu.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?Or.transform(e):Cs.transform(e)},DP=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function LP(e){var t,n;return isNaN(e)&&typeof e=="string"&&(((t=e.match(hp))===null||t===void 0?void 0:t.length)||0)+(((n=e.match(DP))===null||n===void 0?void 0:n.length)||0)>0}const X1="number",Z1="color",OP="var",FP="var(",Rx="${}",_P=/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 Ao(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[];let o=0;const l=t.replace(_P,c=>(He.test(c)?(r.color.push(o),i.push(Z1),n.push(He.parse(c))):c.startsWith(FP)?(r.var.push(o),i.push(OP),n.push(c)):(r.number.push(o),i.push(X1),n.push(parseFloat(c))),++o,Rx)).split(Rx);return{values:n,split:l,indexes:r,types:i}}function J1(e){return Ao(e).values}function eb(e){const{split:t,types:n}=Ao(e),r=t.length;return i=>{let o="";for(let a=0;atypeof e=="number"?0:e;function zP(e){const t=J1(e);return eb(e)(t.map(VP))}const yr={test:LP,parse:J1,createTransformer:eb,getAnimatableNone:zP},BP=new Set(["brightness","contrast","saturate","opacity"]);function WP(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(hp)||[];if(!r)return e;const i=n.replace(r,"");let o=BP.has(t)?1:0;return r!==n&&(o*=100),t+"("+o+i+")"}const $P=/\b([a-z-]*)\(.*?\)/gu,Gu={...yr,getAnimatableNone:e=>{const t=e.match($P);return t?t.map(WP).join(" "):e}},UP={...Xm,color:He,backgroundColor:He,outlineColor:He,fill:He,stroke:He,borderColor:He,borderTopColor:He,borderRightColor:He,borderBottomColor:He,borderLeftColor:He,filter:Gu,WebkitFilter:Gu},pp=e=>UP[e];function tb(e,t){let n=pp(e);return n!==Gu&&(n=yr),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const HP=new Set(["auto","none","0"]);function GP(e,t,n){let r=0,i;for(;re===gi||e===$,Dx=(e,t)=>parseFloat(e.split(", ")[t]),Lx=(e,t)=>(n,{transform:r})=>{if(r==="none"||!r)return 0;const i=r.match(/^matrix3d\((.+)\)$/u);if(i)return Dx(i[1],t);{const o=r.match(/^matrix\((.+)\)$/u);return o?Dx(o[1],e):0}},qP=new Set(["x","y","z"]),KP=xi.filter(e=>!qP.has(e));function YP(e){const t=[];return KP.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}const oi={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:Lx(4,13),y:Lx(5,14)};oi.translateX=oi.x;oi.translateY=oi.y;const Hr=new Set;let qu=!1,Ku=!1;function nb(){if(Ku){const e=Array.from(Hr).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{const i=YP(r);i.length&&(n.set(r,i),r.render())}),e.forEach(r=>r.measureInitialState()),t.forEach(r=>{r.render();const i=n.get(r);i&&i.forEach(([o,a])=>{var l;(l=r.getValue(o))===null||l===void 0||l.set(a)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}Ku=!1,qu=!1,Hr.forEach(e=>e.complete()),Hr.clear()}function rb(){Hr.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Ku=!0)})}function QP(){rb(),nb()}class fp{constructor(t,n,r,i,o,a=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=r,this.motionValue=i,this.element=o,this.isAsync=a}scheduleResolve(){this.isScheduled=!0,this.isAsync?(Hr.add(this),qu||(qu=!0,xe.read(rb),xe.resolveKeyframes(nb))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:r,motionValue:i}=this;for(let o=0;o/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),XP=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function ZP(e){const t=XP.exec(e);if(!t)return[,];const[,n,r,i]=t;return[`--${n??r}`,i]}function ib(e,t,n=1){const[r,i]=ZP(e);if(!r)return;const o=window.getComputedStyle(t).getPropertyValue(r);if(o){const a=o.trim();return sb(a)?parseFloat(a):a}return Qm(i)?ib(i,t,n+1):i}const ob=e=>t=>t.test(e),JP={test:e=>e==="auto",parse:e=>e},ab=[gi,$,hn,Un,WE,BE,JP],Ox=e=>ab.find(ob(e));class lb extends fp{constructor(t,n,r,i,o){super(t,n,r,i,o,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:r}=this;if(!n||!n.current)return;super.readKeyframes();for(let c=0;c{n.getValue(c).set(d)}),this.resolveNoneKeyframes()}}const Fx=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(yr.test(e)||e==="0")&&!e.startsWith("url("));function eI(e){const t=e[0];if(e.length===1)return!0;for(let n=0;ne!==null;function pc(e,{repeat:t,repeatType:n="loop"},r){const i=e.filter(nI),o=t&&n!=="loop"&&t%2===1?0:i.length-1;return!o||r===void 0?i[o]:r}const rI=40;class cb{constructor({autoplay:t=!0,delay:n=0,type:r="keyframes",repeat:i=0,repeatDelay:o=0,repeatType:a="loop",...l}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=mn.now(),this.options={autoplay:t,delay:n,type:r,repeat:i,repeatDelay:o,repeatType:a,...l},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt?this.resolvedAt-this.createdAt>rI?this.resolvedAt:this.createdAt:this.createdAt}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&QP(),this._resolved}onKeyframesResolved(t,n){this.resolvedAt=mn.now(),this.hasAttemptedResolve=!0;const{name:r,type:i,velocity:o,delay:a,onComplete:l,onUpdate:c,isGenerator:d}=this.options;if(!d&&!tI(t,r,i,o))if(a)this.options.duration=0;else{c&&c(pc(t,this.options,n)),l&&l(),this.resolveFinishedPromise();return}const u=this.initPlayback(t,n);u!==!1&&(this._resolved={keyframes:t,finalKeyframe:n,...u},this.onPostResolved())}onPostResolved(){}then(t,n){return this.currentFinishedPromise.then(t,n)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise(t=>{this.resolveFinishedPromise=t})}}const ve=(e,t,n)=>e+(t-e)*n;function dd(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function sI({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,o=0,a=0;if(!t)i=o=a=n;else{const l=n<.5?n*(1+t):n+t-n*t,c=2*n-l;i=dd(c,l,e+1/3),o=dd(c,l,e),a=dd(c,l,e-1/3)}return{red:Math.round(i*255),green:Math.round(o*255),blue:Math.round(a*255),alpha:r}}function Tl(e,t){return n=>n>0?t:e}const ud=(e,t,n)=>{const r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},iI=[Hu,Or,Cs],oI=e=>iI.find(t=>t.test(e));function _x(e){const t=oI(e);if(!t)return!1;let n=t.parse(e);return t===Cs&&(n=sI(n)),n}const Vx=(e,t)=>{const n=_x(e),r=_x(t);if(!n||!r)return Tl(e,t);const i={...n};return o=>(i.red=ud(n.red,r.red,o),i.green=ud(n.green,r.green,o),i.blue=ud(n.blue,r.blue,o),i.alpha=ve(n.alpha,r.alpha,o),Or.transform(i))},aI=(e,t)=>n=>t(e(n)),Xo=(...e)=>e.reduce(aI),Yu=new Set(["none","hidden"]);function lI(e,t){return Yu.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function cI(e,t){return n=>ve(e,t,n)}function xp(e){return typeof e=="number"?cI:typeof e=="string"?Qm(e)?Tl:He.test(e)?Vx:hI:Array.isArray(e)?db:typeof e=="object"?He.test(e)?Vx:dI:Tl}function db(e,t){const n=[...e],r=n.length,i=e.map((o,a)=>xp(o)(o,t[a]));return o=>{for(let a=0;a{for(const o in r)n[o]=r[o](i);return n}}function uI(e,t){var n;const r=[],i={color:0,var:0,number:0};for(let o=0;o{const n=yr.createTransformer(t),r=Ao(e),i=Ao(t);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?Yu.has(e)&&!i.values.length||Yu.has(t)&&!r.values.length?lI(e,t):Xo(db(uI(r,i),i.values),n):Tl(e,t)};function ub(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?ve(e,t,n):xp(e)(e,t)}const mI=5;function hb(e,t,n){const r=Math.max(t-mI,0);return V1(n-e(r),t-r)}const Ne={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},hd=.001;function pI({duration:e=Ne.duration,bounce:t=Ne.bounce,velocity:n=Ne.velocity,mass:r=Ne.mass}){let i,o,a=1-t;a=Fn(Ne.minDamping,Ne.maxDamping,a),e=Fn(Ne.minDuration,Ne.maxDuration,En(e)),a<1?(i=d=>{const u=d*a,h=u*e,m=u-n,g=Qu(d,a),w=Math.exp(-h);return hd-m/g*w},o=d=>{const h=d*a*e,m=h*n+n,g=Math.pow(a,2)*Math.pow(d,2)*e,w=Math.exp(-h),x=Qu(Math.pow(d,2),a);return(-i(d)+hd>0?-1:1)*((m-g)*w)/x}):(i=d=>{const u=Math.exp(-d*e),h=(d-n)*e+1;return-hd+u*h},o=d=>{const u=Math.exp(-d*e),h=(n-d)*(e*e);return u*h});const l=5/e,c=xI(i,o,l);if(e=Tn(e),isNaN(c))return{stiffness:Ne.stiffness,damping:Ne.damping,duration:e};{const d=Math.pow(c,2)*r;return{stiffness:d,damping:a*2*Math.sqrt(r*d),duration:e}}}const fI=12;function xI(e,t,n){let r=n;for(let i=1;ie[n]!==void 0)}function vI(e){let t={velocity:Ne.velocity,stiffness:Ne.stiffness,damping:Ne.damping,mass:Ne.mass,isResolvedFromDuration:!1,...e};if(!zx(e,yI)&&zx(e,gI))if(e.visualDuration){const n=e.visualDuration,r=2*Math.PI/(n*1.2),i=r*r,o=2*Fn(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:Ne.mass,stiffness:i,damping:o}}else{const n=pI(e);t={...t,...n,mass:Ne.mass},t.isResolvedFromDuration=!0}return t}function mb(e=Ne.visualDuration,t=Ne.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:r,restDelta:i}=n;const o=n.keyframes[0],a=n.keyframes[n.keyframes.length-1],l={done:!1,value:o},{stiffness:c,damping:d,mass:u,duration:h,velocity:m,isResolvedFromDuration:g}=vI({...n,velocity:-En(n.velocity||0)}),w=m||0,x=d/(2*Math.sqrt(c*u)),b=a-o,y=En(Math.sqrt(c/u)),f=Math.abs(b)<5;r||(r=f?Ne.restSpeed.granular:Ne.restSpeed.default),i||(i=f?Ne.restDelta.granular:Ne.restDelta.default);let v;if(x<1){const N=Qu(y,x);v=S=>{const k=Math.exp(-x*y*S);return a-k*((w+x*y*b)/N*Math.sin(N*S)+b*Math.cos(N*S))}}else if(x===1)v=N=>a-Math.exp(-y*N)*(b+(w+y*b)*N);else{const N=y*Math.sqrt(x*x-1);v=S=>{const k=Math.exp(-x*y*S),A=Math.min(N*S,300);return a-k*((w+x*y*b)*Math.sinh(A)+N*b*Math.cosh(A))/N}}const j={calculatedDuration:g&&h||null,next:N=>{const S=v(N);if(g)l.done=N>=h;else{let k=0;x<1&&(k=N===0?Tn(w):hb(v,N,S));const A=Math.abs(k)<=r,R=Math.abs(a-S)<=i;l.done=A&&R}return l.value=l.done?a:S,l},toString:()=>{const N=Math.min(I1(j),Wu),S=R1(k=>j.next(N*k).value,N,30);return N+"ms "+S}};return j}function Bx({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:o=500,modifyTarget:a,min:l,max:c,restDelta:d=.5,restSpeed:u}){const h=e[0],m={done:!1,value:h},g=A=>l!==void 0&&Ac,w=A=>l===void 0?c:c===void 0||Math.abs(l-A)-x*Math.exp(-A/r),v=A=>y+f(A),j=A=>{const R=f(A),C=v(A);m.done=Math.abs(R)<=d,m.value=m.done?y:C};let N,S;const k=A=>{g(m.value)&&(N=A,S=mb({keyframes:[m.value,w(m.value)],velocity:hb(v,A,m.value),damping:i,stiffness:o,restDelta:d,restSpeed:u}))};return k(0),{calculatedDuration:null,next:A=>{let R=!1;return!S&&N===void 0&&(R=!0,j(A),k(A)),N!==void 0&&A>=N?S.next(A-N):(!R&&j(A),m)}}}const wI=Qo(.42,0,1,1),bI=Qo(0,0,.58,1),pb=Qo(.42,0,.58,1),jI=e=>Array.isArray(e)&&typeof e[0]!="number",NI={linear:gt,easeIn:wI,easeInOut:pb,easeOut:bI,circIn:up,circInOut:K1,circOut:q1,backIn:dp,backInOut:H1,backOut:U1,anticipate:G1},Wx=e=>{if(ip(e)){u1(e.length===4);const[t,n,r,i]=e;return Qo(t,n,r,i)}else if(typeof e=="string")return NI[e];return e};function SI(e,t,n){const r=[],i=n||ub,o=e.length-1;for(let a=0;at[0];if(o===2&&t[0]===t[1])return()=>t[1];const a=e[0]===e[1];e[0]>e[o-1]&&(e=[...e].reverse(),t=[...t].reverse());const l=SI(t,r,i),c=l.length,d=u=>{if(a&&u1)for(;hd(Fn(e[0],e[o-1],u)):d}function CI(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const i=si(0,t,r);e.push(ve(n,1,i))}}function AI(e){const t=[0];return CI(t,e.length-1),t}function TI(e,t){return e.map(n=>n*t)}function EI(e,t){return e.map(()=>t||pb).splice(0,e.length-1)}function El({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const i=jI(r)?r.map(Wx):Wx(r),o={done:!1,value:t[0]},a=TI(n&&n.length===t.length?n:AI(t),e),l=kI(a,t,{ease:Array.isArray(i)?i:EI(t,i)});return{calculatedDuration:e,next:c=>(o.value=l(c),o.done=c>=e,o)}}const PI=e=>{const t=({timestamp:n})=>e(n);return{start:()=>xe.update(t,!0),stop:()=>gr(t),now:()=>Oe.isProcessing?Oe.timestamp:mn.now()}},II={decay:Bx,inertia:Bx,tween:El,keyframes:El,spring:mb},RI=e=>e/100;class gp extends cb{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:c}=this.options;c&&c()};const{name:n,motionValue:r,element:i,keyframes:o}=this.options,a=(i==null?void 0:i.KeyframeResolver)||fp,l=(c,d)=>this.onKeyframesResolved(c,d);this.resolver=new a(o,l,n,r,i),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(t){const{type:n="keyframes",repeat:r=0,repeatDelay:i=0,repeatType:o,velocity:a=0}=this.options,l=sp(n)?n:II[n]||El;let c,d;l!==El&&typeof t[0]!="number"&&(c=Xo(RI,ub(t[0],t[1])),t=[0,100]);const u=l({...this.options,keyframes:t});o==="mirror"&&(d=l({...this.options,keyframes:[...t].reverse(),velocity:-a})),u.calculatedDuration===null&&(u.calculatedDuration=I1(u));const{calculatedDuration:h}=u,m=h+i,g=m*(r+1)-i;return{generator:u,mirroredGenerator:d,mapPercentToKeyframes:c,calculatedDuration:h,resolvedDuration:m,totalDuration:g}}onPostResolved(){const{autoplay:t=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!t?this.pause():this.state=this.pendingPlayState}tick(t,n=!1){const{resolved:r}=this;if(!r){const{keyframes:A}=this.options;return{done:!0,value:A[A.length-1]}}const{finalKeyframe:i,generator:o,mirroredGenerator:a,mapPercentToKeyframes:l,keyframes:c,calculatedDuration:d,totalDuration:u,resolvedDuration:h}=r;if(this.startTime===null)return o.next(0);const{delay:m,repeat:g,repeatType:w,repeatDelay:x,onUpdate:b}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-u/this.speed,this.startTime)),n?this.currentTime=t:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(t-this.startTime)*this.speed;const y=this.currentTime-m*(this.speed>=0?1:-1),f=this.speed>=0?y<0:y>u;this.currentTime=Math.max(y,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=u);let v=this.currentTime,j=o;if(g){const A=Math.min(this.currentTime,u)/h;let R=Math.floor(A),C=A%1;!C&&A>=1&&(C=1),C===1&&R--,R=Math.min(R,g+1),!!(R%2)&&(w==="reverse"?(C=1-C,x&&(C-=x/h)):w==="mirror"&&(j=a)),v=Fn(0,1,C)*h}const N=f?{done:!1,value:c[0]}:j.next(v);l&&(N.value=l(N.value));let{done:S}=N;!f&&d!==null&&(S=this.speed>=0?this.currentTime>=u:this.currentTime<=0);const k=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&S);return k&&i!==void 0&&(N.value=pc(c,this.options,i)),b&&b(N.value),k&&this.finish(),N}get duration(){const{resolved:t}=this;return t?En(t.calculatedDuration):0}get time(){return En(this.currentTime)}set time(t){t=Tn(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 n=this.playbackSpeed!==t;this.playbackSpeed=t,n&&(this.time=En(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:t=PI,onPlay:n,startTime:r}=this.options;this.driver||(this.driver=t(o=>this.tick(o))),n&&n();const i=this.driver.now();this.holdTime!==null?this.startTime=i-this.holdTime:this.startTime?this.state==="finished"&&(this.startTime=i):this.startTime=r??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 MI=new Set(["opacity","clipPath","filter","transform"]);function DI(e,t,n,{delay:r=0,duration:i=300,repeat:o=0,repeatType:a="loop",ease:l="easeInOut",times:c}={}){const d={[t]:n};c&&(d.offset=c);const u=D1(l,i);return Array.isArray(u)&&(d.easing=u),e.animate(d,{delay:r,duration:i,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:o+1,direction:a==="reverse"?"alternate":"normal"})}const LI=$m(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),Pl=10,OI=2e4;function FI(e){return sp(e.type)||e.type==="spring"||!M1(e.ease)}function _I(e,t){const n=new gp({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0});let r={done:!1,value:e[0]};const i=[];let o=0;for(;!r.done&&othis.onKeyframesResolved(a,l),n,r,i),this.resolver.scheduleResolve()}initPlayback(t,n){let{duration:r=300,times:i,ease:o,type:a,motionValue:l,name:c,startTime:d}=this.options;if(!l.owner||!l.owner.current)return!1;if(typeof o=="string"&&Al()&&VI(o)&&(o=fb[o]),FI(this.options)){const{onComplete:h,onUpdate:m,motionValue:g,element:w,...x}=this.options,b=_I(t,x);t=b.keyframes,t.length===1&&(t[1]=t[0]),r=b.duration,i=b.times,o=b.ease,a="keyframes"}const u=DI(l.owner.current,c,t,{...this.options,duration:r,times:i,ease:o});return u.startTime=d??this.calcStartTime(),this.pendingTimeline?(Ax(u,this.pendingTimeline),this.pendingTimeline=void 0):u.onfinish=()=>{const{onComplete:h}=this.options;l.set(pc(t,this.options,n)),h&&h(),this.cancel(),this.resolveFinishedPromise()},{animation:u,duration:r,times:i,type:a,ease:o,keyframes:t}}get duration(){const{resolved:t}=this;if(!t)return 0;const{duration:n}=t;return En(n)}get time(){const{resolved:t}=this;if(!t)return 0;const{animation:n}=t;return En(n.currentTime||0)}set time(t){const{resolved:n}=this;if(!n)return;const{animation:r}=n;r.currentTime=Tn(t)}get speed(){const{resolved:t}=this;if(!t)return 1;const{animation:n}=t;return n.playbackRate}set speed(t){const{resolved:n}=this;if(!n)return;const{animation:r}=n;r.playbackRate=t}get state(){const{resolved:t}=this;if(!t)return"idle";const{animation:n}=t;return n.playState}get startTime(){const{resolved:t}=this;if(!t)return null;const{animation:n}=t;return n.startTime}attachTimeline(t){if(!this._resolved)this.pendingTimeline=t;else{const{resolved:n}=this;if(!n)return gt;const{animation:r}=n;Ax(r,t)}return gt}play(){if(this.isStopped)return;const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.playState==="finished"&&this.updateFinishedPromise(),n.play()}pause(){const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.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:n,keyframes:r,duration:i,type:o,ease:a,times:l}=t;if(n.playState==="idle"||n.playState==="finished")return;if(this.time){const{motionValue:d,onUpdate:u,onComplete:h,element:m,...g}=this.options,w=new gp({...g,keyframes:r,duration:i,type:o,ease:a,times:l,isGenerator:!0}),x=Tn(this.time);d.setWithVelocity(w.sample(x-Pl).value,w.sample(x).value,Pl)}const{onStop:c}=this.options;c&&c(),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:n,name:r,repeatDelay:i,repeatType:o,damping:a,type:l}=t;if(!n||!n.owner||!(n.owner.current instanceof HTMLElement))return!1;const{onUpdate:c,transformTemplate:d}=n.owner.getProps();return LI()&&r&&MI.has(r)&&!c&&!d&&!i&&o!=="mirror"&&a!==0&&l!=="inertia"}}const zI={type:"spring",stiffness:500,damping:25,restSpeed:10},BI=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),WI={type:"keyframes",duration:.8},$I={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},UI=(e,{keyframes:t})=>t.length>2?WI:ls.has(e)?e.startsWith("scale")?BI(t[1]):zI:$I;function HI({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:o,repeatType:a,repeatDelay:l,from:c,elapsed:d,...u}){return!!Object.keys(u).length}const yp=(e,t,n,r={},i,o)=>a=>{const l=rp(r,e)||{},c=l.delay||r.delay||0;let{elapsed:d=0}=r;d=d-Tn(c);let u={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...l,delay:-d,onUpdate:m=>{t.set(m),l.onUpdate&&l.onUpdate(m)},onComplete:()=>{a(),l.onComplete&&l.onComplete()},name:e,motionValue:t,element:o?void 0:i};HI(l)||(u={...u,...UI(e,u)}),u.duration&&(u.duration=Tn(u.duration)),u.repeatDelay&&(u.repeatDelay=Tn(u.repeatDelay)),u.from!==void 0&&(u.keyframes[0]=u.from);let h=!1;if((u.type===!1||u.duration===0&&!u.repeatDelay)&&(u.duration=0,u.delay===0&&(h=!0)),h&&!o&&t.get()!==void 0){const m=pc(u.keyframes,l);if(m!==void 0)return xe.update(()=>{u.onUpdate(m),u.onComplete()}),new dP([])}return!o&&$x.supports(u)?new $x(u):new gp(u)};function GI({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function xb(e,t,{delay:n=0,transitionOverride:r,type:i}={}){var o;let{transition:a=e.getDefaultTransition(),transitionEnd:l,...c}=t;r&&(a=r);const d=[],u=i&&e.animationState&&e.animationState.getState()[i];for(const h in c){const m=e.getValue(h,(o=e.latestValues[h])!==null&&o!==void 0?o:null),g=c[h];if(g===void 0||u&&GI(u,h))continue;const w={delay:n,...rp(a||{},h)};let x=!1;if(window.MotionHandoffAnimation){const y=z1(e);if(y){const f=window.MotionHandoffAnimation(y,h,xe);f!==null&&(w.startTime=f,x=!0)}}Uu(e,h),m.start(yp(h,m,g,e.shouldReduceMotion&&_1.has(h)?{type:!1}:w,e,x));const b=m.animation;b&&d.push(b)}return l&&Promise.all(d).then(()=>{xe.update(()=>{l&&SP(e,l)})}),d}function Xu(e,t,n={}){var r;const i=mc(e,t,n.type==="exit"?(r=e.presenceContext)===null||r===void 0?void 0:r.custom:void 0);let{transition:o=e.getDefaultTransition()||{}}=i||{};n.transitionOverride&&(o=n.transitionOverride);const a=i?()=>Promise.all(xb(e,i,n)):()=>Promise.resolve(),l=e.variantChildren&&e.variantChildren.size?(d=0)=>{const{delayChildren:u=0,staggerChildren:h,staggerDirection:m}=o;return qI(e,t,u+d,h,m,n)}:()=>Promise.resolve(),{when:c}=o;if(c){const[d,u]=c==="beforeChildren"?[a,l]:[l,a];return d().then(()=>u())}else return Promise.all([a(),l(n.delay)])}function qI(e,t,n=0,r=0,i=1,o){const a=[],l=(e.variantChildren.size-1)*r,c=i===1?(d=0)=>d*r:(d=0)=>l-d*r;return Array.from(e.variantChildren).sort(KI).forEach((d,u)=>{d.notify("AnimationStart",t),a.push(Xu(d,t,{...o,delay:n+c(u)}).then(()=>d.notify("AnimationComplete",t)))}),Promise.all(a)}function KI(e,t){return e.sortNodePosition(t)}function YI(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const i=t.map(o=>Xu(e,o,n));r=Promise.all(i)}else if(typeof t=="string")r=Xu(e,t,n);else{const i=typeof t=="function"?mc(e,t,n.custom):t;r=Promise.all(xb(e,i,n))}return r.then(()=>{e.notify("AnimationComplete",t)})}const QI=Hm.length;function gb(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?gb(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;nPromise.all(t.map(({animation:n,options:r})=>YI(e,n,r)))}function e5(e){let t=JI(e),n=Ux(),r=!0;const i=c=>(d,u)=>{var h;const m=mc(e,u,c==="exit"?(h=e.presenceContext)===null||h===void 0?void 0:h.custom:void 0);if(m){const{transition:g,transitionEnd:w,...x}=m;d={...d,...x,...w}}return d};function o(c){t=c(e)}function a(c){const{props:d}=e,u=gb(e.parent)||{},h=[],m=new Set;let g={},w=1/0;for(let b=0;bw&&j,R=!1;const C=Array.isArray(v)?v:[v];let M=C.reduce(i(y),{});N===!1&&(M={});const{prevResolvedValues:O={}}=f,H={...O,...M},E=V=>{A=!0,m.has(V)&&(R=!0,m.delete(V)),f.needsAnimating[V]=!0;const P=e.getValue(V);P&&(P.liveStyle=!1)};for(const V in H){const P=M[V],L=O[V];if(g.hasOwnProperty(V))continue;let B=!1;Bu(P)&&Bu(L)?B=!P1(P,L):B=P!==L,B?P!=null?E(V):m.add(V):P!==void 0&&m.has(V)?E(V):f.protectedKeys[V]=!0}f.prevProp=v,f.prevResolvedValues=M,f.isActive&&(g={...g,...M}),r&&e.blockInitialAnimation&&(A=!1),A&&(!(S&&k)||R)&&h.push(...C.map(V=>({animation:V,options:{type:y}})))}if(m.size){const b={};m.forEach(y=>{const f=e.getBaseTarget(y),v=e.getValue(y);v&&(v.liveStyle=!0),b[y]=f??null}),h.push({animation:b})}let x=!!h.length;return r&&(d.initial===!1||d.initial===d.animate)&&!e.manuallyAnimateOnMount&&(x=!1),r=!1,x?t(h):Promise.resolve()}function l(c,d){var u;if(n[c].isActive===d)return Promise.resolve();(u=e.variantChildren)===null||u===void 0||u.forEach(m=>{var g;return(g=m.animationState)===null||g===void 0?void 0:g.setActive(c,d)}),n[c].isActive=d;const h=a(c);for(const m in n)n[m].protectedKeys={};return h}return{animateChanges:a,setActive:l,setAnimateFunction:o,getState:()=>n,reset:()=>{n=Ux(),r=!0}}}function t5(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!P1(t,e):!1}function Ar(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Ux(){return{animate:Ar(!0),whileInView:Ar(),whileHover:Ar(),whileTap:Ar(),whileDrag:Ar(),whileFocus:Ar(),exit:Ar()}}class Sr{constructor(t){this.isMounted=!1,this.node=t}update(){}}class n5 extends Sr{constructor(t){super(t),t.animationState||(t.animationState=e5(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();uc(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),(t=this.unmountControls)===null||t===void 0||t.call(this)}}let r5=0;class s5 extends Sr{constructor(){super(...arguments),this.id=r5++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===r)return;const i=this.node.animationState.setActive("exit",!t);n&&!t&&i.then(()=>n(this.id))}mount(){const{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}const i5={animation:{Feature:n5},exit:{Feature:s5}};function To(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}function Zo(e){return{point:{x:e.pageX,y:e.pageY}}}const o5=e=>t=>op(t)&&e(t,Zo(t));function Zi(e,t,n,r){return To(e,t,o5(n),r)}const Hx=(e,t)=>Math.abs(e-t);function a5(e,t){const n=Hx(e.x,t.x),r=Hx(e.y,t.y);return Math.sqrt(n**2+r**2)}class yb{constructor(t,n,{transformPagePoint:r,contextWindow:i,dragSnapToOrigin:o=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const h=pd(this.lastMoveEventInfo,this.history),m=this.startEvent!==null,g=a5(h.offset,{x:0,y:0})>=3;if(!m&&!g)return;const{point:w}=h,{timestamp:x}=Oe;this.history.push({...w,timestamp:x});const{onStart:b,onMove:y}=this.handlers;m||(b&&b(this.lastMoveEvent,h),this.startEvent=this.lastMoveEvent),y&&y(this.lastMoveEvent,h)},this.handlePointerMove=(h,m)=>{this.lastMoveEvent=h,this.lastMoveEventInfo=md(m,this.transformPagePoint),xe.update(this.updatePoint,!0)},this.handlePointerUp=(h,m)=>{this.end();const{onEnd:g,onSessionEnd:w,resumeAnimation:x}=this.handlers;if(this.dragSnapToOrigin&&x&&x(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const b=pd(h.type==="pointercancel"?this.lastMoveEventInfo:md(m,this.transformPagePoint),this.history);this.startEvent&&g&&g(h,b),w&&w(h,b)},!op(t))return;this.dragSnapToOrigin=o,this.handlers=n,this.transformPagePoint=r,this.contextWindow=i||window;const a=Zo(t),l=md(a,this.transformPagePoint),{point:c}=l,{timestamp:d}=Oe;this.history=[{...c,timestamp:d}];const{onSessionStart:u}=n;u&&u(t,pd(l,this.history)),this.removeListeners=Xo(Zi(this.contextWindow,"pointermove",this.handlePointerMove),Zi(this.contextWindow,"pointerup",this.handlePointerUp),Zi(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),gr(this.updatePoint)}}function md(e,t){return t?{point:t(e.point)}:e}function Gx(e,t){return{x:e.x-t.x,y:e.y-t.y}}function pd({point:e},t){return{point:e,delta:Gx(e,vb(t)),offset:Gx(e,l5(t)),velocity:c5(t,.1)}}function l5(e){return e[0]}function vb(e){return e[e.length-1]}function c5(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const i=vb(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>Tn(t)));)n--;if(!r)return{x:0,y:0};const o=En(i.timestamp-r.timestamp);if(o===0)return{x:0,y:0};const a={x:(i.x-r.x)/o,y:(i.y-r.y)/o};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}const wb=1e-4,d5=1-wb,u5=1+wb,bb=.01,h5=0-bb,m5=0+bb;function vt(e){return e.max-e.min}function p5(e,t,n){return Math.abs(e-t)<=n}function qx(e,t,n,r=.5){e.origin=r,e.originPoint=ve(t.min,t.max,e.origin),e.scale=vt(n)/vt(t),e.translate=ve(n.min,n.max,e.origin)-e.originPoint,(e.scale>=d5&&e.scale<=u5||isNaN(e.scale))&&(e.scale=1),(e.translate>=h5&&e.translate<=m5||isNaN(e.translate))&&(e.translate=0)}function Ji(e,t,n,r){qx(e.x,t.x,n.x,r?r.originX:void 0),qx(e.y,t.y,n.y,r?r.originY:void 0)}function Kx(e,t,n){e.min=n.min+t.min,e.max=e.min+vt(t)}function f5(e,t,n){Kx(e.x,t.x,n.x),Kx(e.y,t.y,n.y)}function Yx(e,t,n){e.min=t.min-n.min,e.max=e.min+vt(t)}function eo(e,t,n){Yx(e.x,t.x,n.x),Yx(e.y,t.y,n.y)}function x5(e,{min:t,max:n},r){return t!==void 0&&en&&(e=r?ve(n,e,r.max):Math.min(e,n)),e}function Qx(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function g5(e,{top:t,left:n,bottom:r,right:i}){return{x:Qx(e.x,n,i),y:Qx(e.y,t,r)}}function Xx(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.minr?n=si(t.min,t.max-r,e.min):r>i&&(n=si(e.min,e.max-i,t.min)),Fn(0,1,n)}function w5(e,t){const n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}const Zu=.35;function b5(e=Zu){return e===!1?e=0:e===!0&&(e=Zu),{x:Zx(e,"left","right"),y:Zx(e,"top","bottom")}}function Zx(e,t,n){return{min:Jx(e,t),max:Jx(e,n)}}function Jx(e,t){return typeof e=="number"?e:e[t]||0}const eg=()=>({translate:0,scale:1,origin:0,originPoint:0}),As=()=>({x:eg(),y:eg()}),tg=()=>({min:0,max:0}),ke=()=>({x:tg(),y:tg()});function St(e){return[e("x"),e("y")]}function jb({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function j5({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function N5(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function fd(e){return e===void 0||e===1}function Ju({scale:e,scaleX:t,scaleY:n}){return!fd(e)||!fd(t)||!fd(n)}function Pr(e){return Ju(e)||Nb(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function Nb(e){return ng(e.x)||ng(e.y)}function ng(e){return e&&e!=="0%"}function Il(e,t,n){const r=e-n,i=t*r;return n+i}function rg(e,t,n,r,i){return i!==void 0&&(e=Il(e,i,r)),Il(e,n,r)+t}function eh(e,t=0,n=1,r,i){e.min=rg(e.min,t,n,r,i),e.max=rg(e.max,t,n,r,i)}function Sb(e,{x:t,y:n}){eh(e.x,t.translate,t.scale,t.originPoint),eh(e.y,n.translate,n.scale,n.originPoint)}const sg=.999999999999,ig=1.0000000000001;function S5(e,t,n,r=!1){const i=n.length;if(!i)return;t.x=t.y=1;let o,a;for(let l=0;lsg&&(t.x=1),t.ysg&&(t.y=1)}function Ts(e,t){e.min=e.min+t,e.max=e.max+t}function og(e,t,n,r,i=.5){const o=ve(e.min,e.max,i);eh(e,t,n,o,r)}function Es(e,t){og(e.x,t.x,t.scaleX,t.scale,t.originX),og(e.y,t.y,t.scaleY,t.scale,t.originY)}function kb(e,t){return jb(N5(e.getBoundingClientRect(),t))}function k5(e,t,n){const r=kb(e,n),{scroll:i}=t;return i&&(Ts(r.x,i.offset.x),Ts(r.y,i.offset.y)),r}const Cb=({current:e})=>e?e.ownerDocument.defaultView:null,C5=new WeakMap;class A5{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=ke(),this.visualElement=t}start(t,{snapToCursor:n=!1}={}){const{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;const i=u=>{const{dragSnapToOrigin:h}=this.getProps();h?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(Zo(u).point)},o=(u,h)=>{const{drag:m,dragPropagation:g,onDragStart:w}=this.getProps();if(m&&!g&&(this.openDragLock&&this.openDragLock(),this.openDragLock=vP(m),!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),St(b=>{let y=this.getAxisMotionValue(b).get()||0;if(hn.test(y)){const{projection:f}=this.visualElement;if(f&&f.layout){const v=f.layout.layoutBox[b];v&&(y=vt(v)*(parseFloat(y)/100))}}this.originPoint[b]=y}),w&&xe.postRender(()=>w(u,h)),Uu(this.visualElement,"transform");const{animationState:x}=this.visualElement;x&&x.setActive("whileDrag",!0)},a=(u,h)=>{const{dragPropagation:m,dragDirectionLock:g,onDirectionLock:w,onDrag:x}=this.getProps();if(!m&&!this.openDragLock)return;const{offset:b}=h;if(g&&this.currentDirection===null){this.currentDirection=T5(b),this.currentDirection!==null&&w&&w(this.currentDirection);return}this.updateAxis("x",h.point,b),this.updateAxis("y",h.point,b),this.visualElement.render(),x&&x(u,h)},l=(u,h)=>this.stop(u,h),c=()=>St(u=>{var h;return this.getAnimationState(u)==="paused"&&((h=this.getAxisMotionValue(u).animation)===null||h===void 0?void 0:h.play())}),{dragSnapToOrigin:d}=this.getProps();this.panSession=new yb(t,{onSessionStart:i,onStart:o,onMove:a,onSessionEnd:l,resumeAnimation:c},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:d,contextWindow:Cb(this.visualElement)})}stop(t,n){const r=this.isDragging;if(this.cancel(),!r)return;const{velocity:i}=n;this.startAnimation(i);const{onDragEnd:o}=this.getProps();o&&xe.postRender(()=>o(t,n))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(t,n,r){const{drag:i}=this.getProps();if(!r||!ka(t,i,this.currentDirection))return;const o=this.getAxisMotionValue(t);let a=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(a=x5(a,this.constraints[t],this.elastic[t])),o.set(a)}resolveConstraints(){var t;const{dragConstraints:n,dragElastic:r}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(t=this.visualElement.projection)===null||t===void 0?void 0:t.layout,o=this.constraints;n&&ks(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&i?this.constraints=g5(i.layoutBox,n):this.constraints=!1,this.elastic=b5(r),o!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&St(a=>{this.constraints!==!1&&this.getAxisMotionValue(a)&&(this.constraints[a]=w5(i.layoutBox[a],this.constraints[a]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!ks(t))return!1;const r=t.current,{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const o=k5(r,i.root,this.visualElement.getTransformPagePoint());let a=y5(i.layout.layoutBox,o);if(n){const l=n(j5(a));this.hasMutatedConstraints=!!l,l&&(a=jb(l))}return a}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:i,dragTransition:o,dragSnapToOrigin:a,onDragTransitionEnd:l}=this.getProps(),c=this.constraints||{},d=St(u=>{if(!ka(u,n,this.currentDirection))return;let h=c&&c[u]||{};a&&(h={min:0,max:0});const m=i?200:1e6,g=i?40:1e7,w={type:"inertia",velocity:r?t[u]:0,bounceStiffness:m,bounceDamping:g,timeConstant:750,restDelta:1,restSpeed:10,...o,...h};return this.startAxisValueAnimation(u,w)});return Promise.all(d).then(l)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return Uu(this.visualElement,t),r.start(yp(t,r,0,n,this.visualElement,!1))}stopAnimation(){St(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){St(t=>{var n;return(n=this.getAxisMotionValue(t).animation)===null||n===void 0?void 0:n.pause()})}getAnimationState(t){var n;return(n=this.getAxisMotionValue(t).animation)===null||n===void 0?void 0:n.state}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,r=this.visualElement.getProps(),i=r[n];return i||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){St(n=>{const{drag:r}=this.getProps();if(!ka(n,r,this.currentDirection))return;const{projection:i}=this.visualElement,o=this.getAxisMotionValue(n);if(i&&i.layout){const{min:a,max:l}=i.layout.layoutBox[n];o.set(t[n]-ve(a,l,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!ks(n)||!r||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};St(a=>{const l=this.getAxisMotionValue(a);if(l&&this.constraints!==!1){const c=l.get();i[a]=v5({min:c,max:c},this.constraints[a])}});const{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),St(a=>{if(!ka(a,t,null))return;const l=this.getAxisMotionValue(a),{min:c,max:d}=this.constraints[a];l.set(ve(c,d,i[a]))})}addListeners(){if(!this.visualElement.current)return;C5.set(this.visualElement,this);const t=this.visualElement.current,n=Zi(t,"pointerdown",c=>{const{drag:d,dragListener:u=!0}=this.getProps();d&&u&&this.start(c)}),r=()=>{const{dragConstraints:c}=this.getProps();ks(c)&&c.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,o=i.addEventListener("measure",r);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),xe.read(r);const a=To(window,"resize",()=>this.scalePositionWithinConstraints()),l=i.addEventListener("didUpdate",({delta:c,hasLayoutChanged:d})=>{this.isDragging&&d&&(St(u=>{const h=this.getAxisMotionValue(u);h&&(this.originPoint[u]+=c[u].translate,h.set(h.get()+c[u].translate))}),this.visualElement.render())});return()=>{a(),n(),o(),l&&l()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:i=!1,dragConstraints:o=!1,dragElastic:a=Zu,dragMomentum:l=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:i,dragConstraints:o,dragElastic:a,dragMomentum:l}}}function ka(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function T5(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class E5 extends Sr{constructor(t){super(t),this.removeGroupControls=gt,this.removeListeners=gt,this.controls=new A5(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||gt}unmount(){this.removeGroupControls(),this.removeListeners()}}const ag=e=>(t,n)=>{e&&xe.postRender(()=>e(t,n))};class P5 extends Sr{constructor(){super(...arguments),this.removePointerDownListener=gt}onPointerDown(t){this.session=new yb(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Cb(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:i}=this.node.getProps();return{onSessionStart:ag(t),onStart:ag(n),onMove:r,onEnd:(o,a)=>{delete this.session,i&&xe.postRender(()=>i(o,a))}}}mount(){this.removePointerDownListener=Zi(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 qa={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function lg(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Ri={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if($.test(e))e=parseFloat(e);else return e;const n=lg(e,t.target.x),r=lg(e,t.target.y);return`${n}% ${r}%`}},I5={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,i=yr.parse(e);if(i.length>5)return r;const o=yr.createTransformer(e),a=typeof i[0]!="number"?1:0,l=n.x.scale*t.x,c=n.y.scale*t.y;i[0+a]/=l,i[1+a]/=c;const d=ve(l,c,.5);return typeof i[2+a]=="number"&&(i[2+a]/=d),typeof i[3+a]=="number"&&(i[3+a]/=d),o(i)}};class R5 extends p.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:i}=this.props,{projection:o}=t;ZE(M5),o&&(n.group&&n.group.add(o),r&&r.register&&i&&r.register(o),o.root.didUpdate(),o.addEventListener("animationComplete",()=>{this.safeToRemove()}),o.setOptions({...o.options,onExitComplete:()=>this.safeToRemove()})),qa.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:i,isPresent:o}=this.props,a=r.projection;return a&&(a.isPresent=o,i||t.layoutDependency!==n||n===void 0?a.willUpdate():this.safeToRemove(),t.isPresent!==o&&(o?a.promote():a.relegate()||xe.postRender(()=>{const l=a.getStack();(!l||!l.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),qm.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:i}=t;i&&(i.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(i),r&&r.deregister&&r.deregister(i))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function Ab(e){const[t,n]=mE(),r=p.useContext(c1);return s.jsx(R5,{...e,layoutGroup:r,switchLayoutGroup:p.useContext(g1),isPresent:t,safeToRemove:n})}const M5={borderRadius:{...Ri,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Ri,borderTopRightRadius:Ri,borderBottomLeftRadius:Ri,borderBottomRightRadius:Ri,boxShadow:I5};function D5(e,t,n){const r=qe(e)?e:Co(e);return r.start(yp("",r,t,n)),r.animation}function L5(e){return e instanceof SVGElement&&e.tagName!=="svg"}const O5=(e,t)=>e.depth-t.depth;class F5{constructor(){this.children=[],this.isDirty=!1}add(t){ap(this.children,t),this.isDirty=!0}remove(t){lp(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(O5),this.isDirty=!1,this.children.forEach(t)}}function _5(e,t){const n=mn.now(),r=({timestamp:i})=>{const o=i-n;o>=t&&(gr(r),e(o-t))};return xe.read(r,!0),()=>gr(r)}const Tb=["TopLeft","TopRight","BottomLeft","BottomRight"],V5=Tb.length,cg=e=>typeof e=="string"?parseFloat(e):e,dg=e=>typeof e=="number"||$.test(e);function z5(e,t,n,r,i,o){i?(e.opacity=ve(0,n.opacity!==void 0?n.opacity:1,B5(r)),e.opacityExit=ve(t.opacity!==void 0?t.opacity:1,0,W5(r))):o&&(e.opacity=ve(t.opacity!==void 0?t.opacity:1,n.opacity!==void 0?n.opacity:1,r));for(let a=0;art?1:n(si(e,t,r))}function hg(e,t){e.min=t.min,e.max=t.max}function Nt(e,t){hg(e.x,t.x),hg(e.y,t.y)}function mg(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function pg(e,t,n,r,i){return e-=t,e=Il(e,1/n,r),i!==void 0&&(e=Il(e,1/i,r)),e}function $5(e,t=0,n=1,r=.5,i,o=e,a=e){if(hn.test(t)&&(t=parseFloat(t),t=ve(a.min,a.max,t/100)-a.min),typeof t!="number")return;let l=ve(o.min,o.max,r);e===o&&(l-=t),e.min=pg(e.min,t,n,l,i),e.max=pg(e.max,t,n,l,i)}function fg(e,t,[n,r,i],o,a){$5(e,t[n],t[r],t[i],t.scale,o,a)}const U5=["x","scaleX","originX"],H5=["y","scaleY","originY"];function xg(e,t,n,r){fg(e.x,t,U5,n?n.x:void 0,r?r.x:void 0),fg(e.y,t,H5,n?n.y:void 0,r?r.y:void 0)}function gg(e){return e.translate===0&&e.scale===1}function Pb(e){return gg(e.x)&&gg(e.y)}function yg(e,t){return e.min===t.min&&e.max===t.max}function G5(e,t){return yg(e.x,t.x)&&yg(e.y,t.y)}function vg(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function Ib(e,t){return vg(e.x,t.x)&&vg(e.y,t.y)}function wg(e){return vt(e.x)/vt(e.y)}function bg(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class q5{constructor(){this.members=[]}add(t){ap(this.members,t),t.scheduleRender()}remove(t){if(lp(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){const n=this.members.findIndex(i=>t===i);if(n===0)return!1;let r;for(let i=n;i>=0;i--){const o=this.members[i];if(o.isPresent!==!1){r=o;break}}return r?(this.promote(r),!0):!1}promote(t,n){const r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.instance&&r.scheduleRender(),t.scheduleRender(),t.resumeFrom=r,n&&(t.resumeFrom.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:i}=t.options;i===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:n,resumingFrom:r}=t;n.onExitComplete&&n.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function K5(e,t,n){let r="";const i=e.x.translate/t.x,o=e.y.translate/t.y,a=(n==null?void 0:n.z)||0;if((i||o||a)&&(r=`translate3d(${i}px, ${o}px, ${a}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:d,rotate:u,rotateX:h,rotateY:m,skewX:g,skewY:w}=n;d&&(r=`perspective(${d}px) ${r}`),u&&(r+=`rotate(${u}deg) `),h&&(r+=`rotateX(${h}deg) `),m&&(r+=`rotateY(${m}deg) `),g&&(r+=`skewX(${g}deg) `),w&&(r+=`skewY(${w}deg) `)}const l=e.x.scale*t.x,c=e.y.scale*t.y;return(l!==1||c!==1)&&(r+=`scale(${l}, ${c})`),r||"none"}const Ir={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},Vi=typeof window<"u"&&window.MotionDebug!==void 0,xd=["","X","Y","Z"],Y5={visibility:"hidden"},jg=1e3;let Q5=0;function gd(e,t,n,r){const{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function Rb(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=z1(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:i,layoutId:o}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",xe,!(i||o))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&Rb(r)}function Mb({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(a={},l=t==null?void 0:t()){this.id=Q5++,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,Vi&&(Ir.totalNodes=Ir.resolvedTargetDeltas=Ir.recalculatedProjection=0),this.nodes.forEach(J5),this.nodes.forEach(s3),this.nodes.forEach(i3),this.nodes.forEach(e3),Vi&&window.MotionDebug.record(Ir)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=a,this.root=l?l.root||l:this,this.path=l?[...l.path,l]:[],this.parent=l,this.depth=l?l.depth+1:0;for(let c=0;cthis.root.updateBlockedByResize=!1;e(a,()=>{this.root.updateBlockedByResize=!0,h&&h(),h=_5(m,250),qa.hasAnimatedSinceResize&&(qa.hasAnimatedSinceResize=!1,this.nodes.forEach(Sg))})}c&&this.root.registerSharedNode(c,this),this.options.animate!==!1&&u&&(c||d)&&this.addEventListener("didUpdate",({delta:h,hasLayoutChanged:m,hasRelativeTargetChanged:g,layout:w})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const x=this.options.transition||u.getDefaultTransition()||d3,{onLayoutAnimationStart:b,onLayoutAnimationComplete:y}=u.getProps(),f=!this.targetLayout||!Ib(this.targetLayout,w)||g,v=!m&&g;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||v||m&&(f||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(h,v);const j={...rp(x,"layout"),onPlay:b,onComplete:y};(u.shouldReduceMotion||this.options.layoutRoot)&&(j.delay=0,j.type=!1),this.startAnimation(j)}else m||Sg(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=w})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const a=this.getStack();a&&a.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,gr(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(o3),this.animationId++)}getTransformTemplate(){const{visualElement:a}=this.options;return a&&a.getProps().transformTemplate}willUpdate(a=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Rb(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let u=0;u{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let c=0;c{const N=j/1e3;kg(h.x,a.x,N),kg(h.y,a.y,N),this.setTargetDelta(h),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(eo(m,this.layout.layoutBox,this.relativeParent.layout.layoutBox),l3(this.relativeTarget,this.relativeTargetOrigin,m,N),v&&G5(this.relativeTarget,v)&&(this.isProjectionDirty=!1),v||(v=ke()),Nt(v,this.relativeTarget)),x&&(this.animationValues=u,z5(u,d,this.latestValues,N,f,y)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=N},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(a){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(gr(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=xe.update(()=>{qa.hasAnimatedSinceResize=!0,this.currentAnimation=D5(0,jg,{...a,onUpdate:l=>{this.mixTargetDelta(l),a.onUpdate&&a.onUpdate(l)},onComplete:()=>{a.onComplete&&a.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const a=this.getStack();a&&a.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(jg),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const a=this.getLead();let{targetWithTransforms:l,target:c,layout:d,latestValues:u}=a;if(!(!l||!c||!d)){if(this!==a&&this.layout&&d&&Db(this.options.animationType,this.layout.layoutBox,d.layoutBox)){c=this.target||ke();const h=vt(this.layout.layoutBox.x);c.x.min=a.target.x.min,c.x.max=c.x.min+h;const m=vt(this.layout.layoutBox.y);c.y.min=a.target.y.min,c.y.max=c.y.min+m}Nt(l,c),Es(l,u),Ji(this.projectionDeltaWithTransform,this.layoutCorrected,l,u)}}registerSharedNode(a,l){this.sharedNodes.has(a)||this.sharedNodes.set(a,new q5),this.sharedNodes.get(a).add(l);const d=l.options.initialPromotionConfig;l.promote({transition:d?d.transition:void 0,preserveFollowOpacity:d&&d.shouldPreserveFollowOpacity?d.shouldPreserveFollowOpacity(l):void 0})}isLead(){const a=this.getStack();return a?a.lead===this:!0}getLead(){var a;const{layoutId:l}=this.options;return l?((a=this.getStack())===null||a===void 0?void 0:a.lead)||this:this}getPrevLead(){var a;const{layoutId:l}=this.options;return l?(a=this.getStack())===null||a===void 0?void 0:a.prevLead:void 0}getStack(){const{layoutId:a}=this.options;if(a)return this.root.sharedNodes.get(a)}promote({needsReset:a,transition:l,preserveFollowOpacity:c}={}){const d=this.getStack();d&&d.promote(this,c),a&&(this.projectionDelta=void 0,this.needsReset=!0),l&&this.setOptions({transition:l})}relegate(){const a=this.getStack();return a?a.relegate(this):!1}resetSkewAndRotation(){const{visualElement:a}=this.options;if(!a)return;let l=!1;const{latestValues:c}=a;if((c.z||c.rotate||c.rotateX||c.rotateY||c.rotateZ||c.skewX||c.skewY)&&(l=!0),!l)return;const d={};c.z&&gd("z",a,d,this.animationValues);for(let u=0;u{var l;return(l=a.currentAnimation)===null||l===void 0?void 0:l.stop()}),this.root.nodes.forEach(Ng),this.root.sharedNodes.clear()}}}function X5(e){e.updateLayout()}function Z5(e){var t;const n=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:r,measuredBox:i}=e.layout,{animationType:o}=e.options,a=n.source!==e.layout.source;o==="size"?St(h=>{const m=a?n.measuredBox[h]:n.layoutBox[h],g=vt(m);m.min=r[h].min,m.max=m.min+g}):Db(o,n.layoutBox,r)&&St(h=>{const m=a?n.measuredBox[h]:n.layoutBox[h],g=vt(r[h]);m.max=m.min+g,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[h].max=e.relativeTarget[h].min+g)});const l=As();Ji(l,r,n.layoutBox);const c=As();a?Ji(c,e.applyTransform(i,!0),n.measuredBox):Ji(c,r,n.layoutBox);const d=!Pb(l);let u=!1;if(!e.resumeFrom){const h=e.getClosestProjectingParent();if(h&&!h.resumeFrom){const{snapshot:m,layout:g}=h;if(m&&g){const w=ke();eo(w,n.layoutBox,m.layoutBox);const x=ke();eo(x,r,g.layoutBox),Ib(w,x)||(u=!0),h.options.layoutRoot&&(e.relativeTarget=x,e.relativeTargetOrigin=w,e.relativeParent=h)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:n,delta:c,layoutDelta:l,hasLayoutChanged:d,hasRelativeTargetChanged:u})}else if(e.isLead()){const{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function J5(e){Vi&&Ir.totalNodes++,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 e3(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function t3(e){e.clearSnapshot()}function Ng(e){e.clearMeasurements()}function n3(e){e.isLayoutDirty=!1}function r3(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Sg(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function s3(e){e.resolveTargetDelta()}function i3(e){e.calcProjection()}function o3(e){e.resetSkewAndRotation()}function a3(e){e.removeLeadSnapshot()}function kg(e,t,n){e.translate=ve(t.translate,0,n),e.scale=ve(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function Cg(e,t,n,r){e.min=ve(t.min,n.min,r),e.max=ve(t.max,n.max,r)}function l3(e,t,n,r){Cg(e.x,t.x,n.x,r),Cg(e.y,t.y,n.y,r)}function c3(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const d3={duration:.45,ease:[.4,0,.1,1]},Ag=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),Tg=Ag("applewebkit/")&&!Ag("chrome/")?Math.round:gt;function Eg(e){e.min=Tg(e.min),e.max=Tg(e.max)}function u3(e){Eg(e.x),Eg(e.y)}function Db(e,t,n){return e==="position"||e==="preserve-aspect"&&!p5(wg(t),wg(n),.2)}function h3(e){var t;return e!==e.root&&((t=e.scroll)===null||t===void 0?void 0:t.wasRoot)}const m3=Mb({attachResizeListener:(e,t)=>To(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),yd={current:void 0},Lb=Mb({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!yd.current){const e=new m3({});e.mount(window),e.setOptions({layoutScroll:!0}),yd.current=e}return yd.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),p3={pan:{Feature:P5},drag:{Feature:E5,ProjectionNode:Lb,MeasureLayout:Ab}};function Pg(e,t,n){const{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover",n==="Start");const i="onHover"+n,o=r[i];o&&xe.postRender(()=>o(t,Zo(t)))}class f3 extends Sr{mount(){const{current:t}=this.node;t&&(this.unmount=pP(t,n=>(Pg(this.node,n,"Start"),r=>Pg(this.node,r,"End"))))}unmount(){}}class x3 extends Sr{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=Xo(To(this.node.current,"focus",()=>this.onFocus()),To(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function Ig(e,t,n){const{props:r}=e;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap",n==="Start");const i="onTap"+(n==="End"?"":n),o=r[i];o&&xe.postRender(()=>o(t,Zo(t)))}class g3 extends Sr{mount(){const{current:t}=this.node;t&&(this.unmount=yP(t,n=>(Ig(this.node,n,"Start"),(r,{success:i})=>Ig(this.node,r,i?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const th=new WeakMap,vd=new WeakMap,y3=e=>{const t=th.get(e.target);t&&t(e)},v3=e=>{e.forEach(y3)};function w3({root:e,...t}){const n=e||document;vd.has(n)||vd.set(n,{});const r=vd.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(v3,{root:e,...t})),r[i]}function b3(e,t,n){const r=w3(t);return th.set(e,n),r.observe(e),()=>{th.delete(e),r.unobserve(e)}}const j3={some:0,all:1};class N3 extends Sr{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:i="some",once:o}=t,a={root:n?n.current:void 0,rootMargin:r,threshold:typeof i=="number"?i:j3[i]},l=c=>{const{isIntersecting:d}=c;if(this.isInView===d||(this.isInView=d,o&&!d&&this.hasEnteredView))return;d&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",d);const{onViewportEnter:u,onViewportLeave:h}=this.node.getProps(),m=d?u:h;m&&m(c)};return b3(this.node.current,a,l)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(S3(t,n))&&this.startObserver()}unmount(){}}function S3({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const k3={inView:{Feature:N3},tap:{Feature:g3},focus:{Feature:x3},hover:{Feature:f3}},C3={layout:{ProjectionNode:Lb,MeasureLayout:Ab}},nh={current:null},Ob={current:!1};function A3(){if(Ob.current=!0,!!Wm)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>nh.current=e.matches;e.addListener(t),t()}else nh.current=!1}const T3=[...ab,He,yr],E3=e=>T3.find(ob(e)),Rg=new WeakMap;function P3(e,t,n){for(const r in t){const i=t[r],o=n[r];if(qe(i))e.addValue(r,i);else if(qe(o))e.addValue(r,Co(i,{owner:e}));else if(o!==i)if(e.hasValue(r)){const a=e.getValue(r);a.liveStyle===!0?a.jump(i):a.hasAnimated||a.set(i)}else{const a=e.getStaticValue(r);e.addValue(r,Co(a!==void 0?a:i,{owner:e}))}}for(const r in n)t[r]===void 0&&e.removeValue(r);return t}const Mg=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class I3{scrapeMotionValuesFromProps(t,n,r){return{}}constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:i,blockInitialAnimation:o,visualState:a},l={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=fp,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 g=mn.now();this.renderScheduledAtthis.bindToMotionValue(r,n)),Ob.current||A3(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:nh.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){Rg.delete(this.current),this.projection&&this.projection.unmount(),gr(this.notifyUpdate),gr(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 n=this.features[t];n&&(n.unmount(),n.isMounted=!1)}this.current=null}bindToMotionValue(t,n){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();const r=ls.has(t),i=n.on("change",l=>{this.latestValues[t]=l,this.props.onUpdate&&xe.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0)}),o=n.on("renderRequest",this.scheduleRender);let a;window.MotionCheckAppearSync&&(a=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{i(),o(),a&&a(),n.owner&&n.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in ii){const n=ii[t];if(!n)continue;const{isEnabled:r,Feature:i}=n;if(!this.features[t]&&i&&r(this.props)&&(this.features[t]=new i(this)),this.features[t]){const o=this.features[t];o.isMounted?o.update():(o.mount(),o.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):ke()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let r=0;rn.variantChildren.delete(t)}addValue(t,n){const r=this.values.get(t);n!==r&&(r&&this.removeValue(t),this.bindToMotionValue(t,n),this.values.set(t,n),this.latestValues[t]=n.get())}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return r===void 0&&n!==void 0&&(r=Co(n===null?void 0:n,{owner:this}),this.addValue(t,r)),r}readValue(t,n){var r;let i=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:(r=this.getBaseTargetFromProps(this.props,t))!==null&&r!==void 0?r:this.readValueFromInstance(this.current,t,this.options);return i!=null&&(typeof i=="string"&&(sb(i)||Y1(i))?i=parseFloat(i):!E3(i)&&yr.test(n)&&(i=tb(t,n)),this.setBaseTarget(t,qe(i)?i.get():i)),qe(i)?i.get():i}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var n;const{initial:r}=this.props;let i;if(typeof r=="string"||typeof r=="object"){const a=Ym(this.props,r,(n=this.presenceContext)===null||n===void 0?void 0:n.custom);a&&(i=a[t])}if(r&&i!==void 0)return i;const o=this.getBaseTargetFromProps(this.props,t);return o!==void 0&&!qe(o)?o:this.initialValues[t]!==void 0&&i===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new cp),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}}class Fb extends I3{constructor(){super(...arguments),this.KeyframeResolver=lb}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){return t.style?t.style[n]:void 0}removeValueFromRenderState(t,{vars:n,style:r}){delete n[t],delete r[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;qe(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}function R3(e){return window.getComputedStyle(e)}class M3 extends Fb{constructor(){super(...arguments),this.type="html",this.renderInstance=S1}readValueFromInstance(t,n){if(ls.has(n)){const r=pp(n);return r&&r.default||0}else{const r=R3(t),i=(b1(n)?r.getPropertyValue(n):r[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:n}){return kb(t,n)}build(t,n,r){Zm(t,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return np(t,n,r)}}class D3 extends Fb{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=ke}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(ls.has(n)){const r=pp(n);return r&&r.default||0}return n=k1.has(n)?n:Gm(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,r){return T1(t,n,r)}build(t,n,r){Jm(t,n,this.isSVGTag,r.transformTemplate)}renderInstance(t,n,r,i){C1(t,n,r,i)}mount(t){this.isSVGTag=tp(t.tagName),super.mount(t)}}const L3=(e,t)=>Km(e)?new D3(t):new M3(t,{allowProjection:e!==p.Fragment}),O3=aP({...i5,...k3,...p3,...C3},L3),T=jE(O3),F3=ec("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=p.forwardRef(({className:e,variant:t,size:n,asChild:r=!1,...i},o)=>{const a=r?g4:"button";return s.jsx(a,{className:Z(F3({variant:t,size:n,className:e})),ref:o,...i})});ae.displayName="Button";function _b(){const[,e]=os();return s.jsxs("section",{className:"bg-primary text-white pt-20 pb-0 text-center",children:[s.jsx("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8",children:s.jsxs("div",{className:"max-w-4xl mx-auto text-center",children:[s.jsx("h2",{className:"text-4xl sm:text-5xl font-bold mb-8",children:"Ready to Partner with Synapse AI Solutions?"}),s.jsx("p",{className:"text-xl text-gray-200 mb-10 leading-relaxed max-w-3xl mx-auto",children:"Unlock exclusive access to advanced AI products, expert services, and a network of top AI and data talent. Empower your organization to innovate and grow—start your partnership journey today."}),s.jsx("div",{className:"flex flex-col items-center gap-6",children:s.jsxs(ae,{size:"lg",className:"bg-secondary text-white hover:bg-secondary/90 text-lg px-10 py-4 shadow-lg hover:shadow-xl transition-all duration-300 group",onClick:()=>Zr(e),type:"button",children:["Partner with Us",s.jsx(fe,{className:"ml-2 h-5 w-5 transform transition-transform duration-300 group-hover:translate-x-1"})]})})]})}),s.jsx("div",{className:"w-full flex justify-end -mb-4",children:s.jsx("svg",{width:"320",height:"24",viewBox:"0 0 320 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:s.jsx("path",{d:"M0 12 H300 Q320 12 320 24",stroke:"#1e2a6b",strokeWidth:"2",fill:"none"})})})]})}const _3=[{number:"01",title:"Agentic AI Solutions",tagline:"Prototype → Production",description:"Our full AI build practice — autonomous agents, conversational & voice AI, custom ML and GenAI, and the data and cloud foundations beneath. Production systems, not demos.",chips:["Agentic AI","Conversational & Voice","ML / GenAI","Data & Cloud"],badge:"Free working prototype · 24 hours",href:"/services/agentic-ai",accent:"#00D7FE",glow:"rgba(0,215,254,0.08)"},{number:"02",title:"AI Research Labs",tagline:"Healthcare & Physical AI",description:"Our applied research arm — advancing AI across healthcare and physical AI, from medical intelligence to computer vision, robotics, and edge deployment. Frontier research, engineered into the real world.",chips:["Healthcare AI","Physical AI","Computer Vision","Edge & Robotics"],badge:"Applied research · Real-world impact",href:"/services/ai-research-labs",accent:"#10b981",glow:"rgba(16,185,129,0.08)"},{number:"03",title:"AI Staffing & Augmentation",tagline:"Pre-vetted talent in under 2 weeks",description:"Embed senior AI/ML engineers, data scientists, software engineers, and DevOps specialists directly into your team. Any role, any industry, flexible T&M.",chips:["AI/ML Engineers","Data Scientists","DevOps / MLOps","Software Engineers"],href:"/talent/for-clients",accent:"#818cf8",glow:"rgba(129,140,248,0.08)"},{number:"04",title:"AI Training & Education",tagline:"Individual to enterprise",description:"Live training programs for corporate teams, individual developers, and non-technical professionals. Custom corporate programs, open-enrollment bootcamps, and exclusive executive workshops.",chips:["Corporate Training","Agentic AI Bootcamp","No-Code AI","Workshops"],href:"/training/corporate-training",accent:"#f59e0b",glow:"rgba(245,158,11,0.08)"}];function V3(){return s.jsx("section",{className:"py-20 sm:py-28 bg-white",children:s.jsx("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8",children:s.jsxs("div",{className:"max-w-6xl mx-auto",children:[s.jsxs("div",{className:"text-center mb-14 sm:mb-18",children:[s.jsxs("div",{className:"inline-block mb-4",children:[s.jsx("div",{className:"h-1 w-20 bg-secondary rounded-full mb-2 mx-auto"}),s.jsx("div",{className:"h-1 w-12 bg-secondary rounded-full mx-auto"})]}),s.jsx("h2",{className:"text-3xl sm:text-4xl md:text-5xl font-bold text-primary mb-4",children:"Our Services"}),s.jsx("p",{className:"text-lg text-gray-500 max-w-xl mx-auto",children:"Frontier research, production engineering, embedded talent, and live training — the full arc of AI, under one roof."})]}),s.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-4 gap-6 lg:gap-8",children:_3.map((e,t)=>s.jsxs(T.div,{className:"relative rounded-2xl border border-gray-100 bg-white p-8 flex flex-col shadow-sm hover:shadow-xl transition-shadow duration-300 group overflow-hidden",style:{"--glow":e.glow},initial:{opacity:0,y:28},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:t*.12,duration:.6},whileHover:{y:-4},children:[s.jsx("div",{className:"absolute inset-0 opacity-0 group-hover:opacity-100 transition-opacity duration-500 rounded-2xl pointer-events-none",style:{background:`radial-gradient(ellipse 80% 60% at 30% 20%, ${e.glow}, transparent 70%)`}}),s.jsx("span",{className:"text-6xl font-black leading-none mb-6 select-none",style:{color:e.accent,opacity:.18},children:e.number}),s.jsx("h3",{className:"text-xl font-bold text-primary mb-1",children:e.title}),s.jsx("p",{className:"text-xs font-semibold uppercase tracking-widest mb-4",style:{color:e.accent},children:e.tagline}),s.jsx("p",{className:"text-gray-600 text-sm leading-relaxed flex-grow mb-6",children:e.description}),s.jsx("div",{className:"flex flex-wrap gap-2 mb-5",children:e.chips.map(n=>s.jsx("span",{className:"text-xs font-medium px-3 py-1 rounded-full border",style:{borderColor:`${e.accent}40`,color:e.accent,background:`${e.glow}`},children:n},n))}),e.badge&&s.jsxs("div",{className:"flex items-center gap-1.5 text-xs font-semibold mb-5 px-3 py-2 rounded-lg",style:{color:e.accent,backgroundColor:`${e.accent}12`,border:`1px solid ${e.accent}30`},children:[s.jsx(ot,{className:"h-3 w-3 flex-shrink-0"}),e.badge]}),s.jsxs(q,{href:e.href,className:"inline-flex items-center gap-2 text-sm font-semibold group/link",style:{color:e.accent},children:["Learn more",s.jsx(fe,{className:"h-4 w-4 transition-transform duration-200 group-hover/link:translate-x-1"})]})]},t))})]})})})}const z3=[{value:"40+",label:"AI Projects Delivered"},{value:"10+",label:"Industries Served"},{value:"500+",label:"Professionals Trained"},{value:"24/7",label:"Expert Support"}],Dg=["OpenAI GPT","Anthropic Claude","Google Gemini","Meta Llama","Mistral AI","DeepSeek","Cohere","AWS Bedrock","AWS SageMaker","Azure OpenAI Service","Azure AI Foundry","Google Vertex AI","Google AI Studio","LangChain","LangGraph","LlamaIndex","CrewAI","AutoGen","DSPy","Semantic Kernel","Haystack","Pinecone","Weaviate","Qdrant","ChromaDB","pgvector","MLflow","Weights & Biases","LangSmith","Arize AI","Snowflake","Databricks","BigQuery","Amazon Redshift","Apache Spark","Apache Kafka","Fivetran","dbt","DuckDB","Polars","Apache Airflow"],B3=[...Dg,...Dg];function W3(){return s.jsxs("section",{className:"bg-white border-b border-gray-100 py-14 sm:py-18",children:[s.jsx("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8 mb-12",children:s.jsx("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-6 max-w-3xl mx-auto text-center",children:z3.map((e,t)=>s.jsxs(T.div,{initial:{opacity:0,y:16},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:t*.1,duration:.5},children:[s.jsx("div",{className:"text-3xl sm:text-4xl font-black text-primary leading-none",children:e.value}),s.jsx("div",{className:"text-sm text-gray-500 mt-2 font-medium",children:e.label})]},t))})}),s.jsxs("div",{className:"overflow-hidden",children:[s.jsx("p",{className:"text-center text-xs uppercase tracking-widest text-gray-400 mb-5 font-semibold",children:"Powered by leading AI & data platforms"}),s.jsx("div",{className:"relative overflow-hidden",style:{WebkitMaskImage:"linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%)",maskImage:"linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%)"},children:s.jsx("div",{className:"flex gap-4 animate-marquee-scroll",style:{width:"max-content"},children:B3.map((e,t)=>s.jsxs("span",{className:"inline-flex items-center gap-2 px-4 py-2 rounded-full bg-gray-50 border border-gray-200 text-sm font-medium text-gray-700 flex-shrink-0 select-none",children:[s.jsx("span",{className:"w-2 h-2 rounded-full bg-secondary flex-shrink-0"}),e]},t))})})]})]})}const $3=[{animated:!0,target:100,suffix:"+",label:"Years Combined",sublabel:"Leadership Experience"},{animated:!1,display:"99.9%",label:"Uptime SLA",sublabel:"Production Systems"},{animated:!0,target:40,suffix:"%",label:"Avg. Cost Reduction",sublabel:"Delivered to Clients"},{animated:!1,display:"2wk",label:"Talent Deployment",sublabel:"Pre-vetted Staffing"}];function U3({target:e,suffix:t}){const[n,r]=p.useState(0),[i,o]=p.useState(!1),a=p.useRef(null);return p.useEffect(()=>{const l=a.current;if(!l)return;const c=new IntersectionObserver(([d])=>{if(d.isIntersecting&&!i){o(!0);const u=1800,h=Date.now(),m=()=>{const g=Date.now()-h,w=Math.min(g/u,1),x=1-Math.pow(1-w,3);r(Math.floor(x*e)),w<1&&requestAnimationFrame(m)};requestAnimationFrame(m)}},{threshold:.5});return c.observe(l),()=>c.disconnect()},[e,i]),s.jsxs("div",{ref:a,className:`text-5xl sm:text-6xl font-black text-white leading-none ${i?"number-pop":"opacity-0"}`,children:[n,t]})}function H3({display:e,triggered:t}){return s.jsx("div",{className:`text-5xl sm:text-6xl font-black text-white leading-none transition-all duration-500 ${t?"opacity-100 number-pop":"opacity-0"}`,children:e})}function G3(){const[e,t]=p.useState(!1),n=p.useRef(null);return p.useEffect(()=>{const r=n.current;if(!r)return;const i=new IntersectionObserver(([o])=>{o.isIntersecting&&(t(!0),i.disconnect())},{threshold:.2});return i.observe(r),()=>i.disconnect()},[]),s.jsxs("section",{ref:n,className:"bg-[#080845] relative overflow-hidden py-24 sm:py-32",children:[s.jsx("div",{className:"absolute inset-0 hero-radial-glow"}),s.jsx("div",{className:"absolute bottom-0 left-0 right-0 h-16 bg-white",style:{clipPath:"ellipse(55% 100% at 50% 100%)"}}),s.jsxs("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8 relative z-10",children:[s.jsxs("div",{className:"text-center mb-16 sm:mb-20",children:[s.jsx("p",{className:"text-xs uppercase tracking-widest text-secondary font-semibold mb-3",children:"Company at a Glance"}),s.jsxs("h2",{className:"text-3xl sm:text-4xl md:text-5xl font-bold text-white mb-4",children:["Production-grade AI systems —"," ",s.jsx("span",{className:"text-gradient-cyan",children:"reliable, secure, and ready to scale."})]})]}),s.jsx("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-6 max-w-5xl mx-auto",children:$3.map((r,i)=>s.jsxs(T.div,{className:"glass-card rounded-2xl p-6 sm:p-8 text-center",initial:{opacity:0,y:32},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:i*.12,duration:.6},children:[r.animated?s.jsx(U3,{target:r.target,suffix:r.suffix}):s.jsx(H3,{display:r.display,triggered:e}),s.jsx("div",{className:"text-secondary font-semibold mt-3 text-sm sm:text-base",children:r.label}),s.jsx("div",{className:"text-gray-400 text-xs mt-1 leading-snug",children:r.sublabel})]},i))})]})]})}const Lg=[{quote:"The AI automation pipeline Synapse built eliminated hours of daily manual processing. Our operations team now focuses on strategic initiatives instead of repetitive data work.",role:"Director of Operations",org:"Financial Services Firm",initials:"DO",gradient:"from-blue-500 to-cyan-500"},{quote:"The AI/ML training cohort was incredibly well-structured — real projects, real tooling, real outcomes. Our engineers shipped production-ready models within weeks of the program.",role:"VP of Engineering",org:"Series B Technology Startup",initials:"VE",gradient:"from-violet-500 to-blue-500"},{quote:"Our conversational AI went live in under six weeks and now handles the majority of inbound inquiries autonomously. The ROI was visible within the first billing cycle.",role:"Head of Customer Experience",org:"E-commerce Platform",initials:"HE",gradient:"from-cyan-500 to-teal-500"},{quote:"Synapse deployed an agentic intake system that processes what used to take two analysts a full day — in under 20 minutes. Accuracy is higher. Cost is a fraction.",role:"Chief Operating Officer",org:"Healthcare Services Group",initials:"CO",gradient:"from-teal-500 to-emerald-500"},{quote:"Our entire marketing team went through the No-Code AI bootcamp. Within a month they were shipping automation workflows independently. Zero engineering tickets for internal tooling.",role:"Chief Marketing Officer",org:"Consumer Brand",initials:"CM",gradient:"from-pink-500 to-rose-500"},{quote:"The data intelligence platform they built handles 10x our previous volume without additional headcount. The architecture is production-solid and our team owns it end to end.",role:"VP of Data Engineering",org:"Logistics Technology",initials:"VD",gradient:"from-blue-600 to-indigo-500"},{quote:"We had three vendors tell us our agentic AI scenario was too complex. Synapse built it in eight weeks. It's been running autonomously in production for six months.",role:"SVP of Customer Operations",org:"Insurance Platform",initials:"SC",gradient:"from-amber-500 to-orange-500"},{quote:"Our engineers came out of the Agentic AI Bootcamp shipping production features in their very next sprint. The gap between classroom and production was zero.",role:"Director of Engineering",org:"FinTech Scale-up",initials:"DE",gradient:"from-indigo-500 to-violet-500"}],q3=[...Lg,...Lg];function K3(){return s.jsxs("section",{className:"py-20 sm:py-28 bg-primary overflow-hidden",children:[s.jsx("style",{children:` @keyframes testimonial-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } } .testimonial-track { animation: testimonial-scroll 55s linear infinite; } .testimonial-pause:hover .testimonial-track { animation-play-state: paused; } `}),s.jsxs(T.div,{className:"text-center mb-14 px-4",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5},children:[s.jsx("p",{className:"text-xs font-bold uppercase tracking-widest text-secondary mb-3",children:"Client Outcomes"}),s.jsx("h2",{className:"text-3xl sm:text-4xl md:text-5xl font-black text-white mb-4",children:"Trusted by Teams That Ship"}),s.jsx("p",{className:"text-lg text-white/60 max-w-2xl mx-auto",children:"What happens when organizations stop piloting and start building with Synapse AI"})]}),s.jsxs("div",{className:"relative testimonial-pause",children:[s.jsx("div",{className:"absolute left-0 top-0 bottom-0 w-20 bg-gradient-to-r from-primary to-transparent z-10 pointer-events-none"}),s.jsx("div",{className:"absolute right-0 top-0 bottom-0 w-20 bg-gradient-to-l from-primary to-transparent z-10 pointer-events-none"}),s.jsx("div",{className:"overflow-hidden",children:s.jsx("div",{className:"testimonial-track flex gap-5 w-max px-4",children:q3.map((e,t)=>s.jsxs("div",{className:"flex-shrink-0 w-[340px] bg-white/8 border border-white/10 rounded-2xl p-7 flex flex-col backdrop-blur-sm hover:bg-white/12 transition-colors",children:[s.jsx(TC,{className:"h-6 w-6 text-secondary/40 mb-4 flex-shrink-0"}),s.jsxs("p",{className:"text-white/80 text-sm leading-relaxed flex-grow mb-6",children:["“",e.quote,"”"]}),s.jsxs("div",{className:"flex items-center gap-3",children:[s.jsx("div",{className:`w-9 h-9 rounded-full bg-gradient-to-br ${e.gradient} flex items-center justify-center text-white font-black text-xs flex-shrink-0`,children:e.initials}),s.jsxs("div",{children:[s.jsx("div",{className:"font-semibold text-white text-xs",children:e.role}),s.jsx("div",{className:"text-white/45 text-xs",children:e.org})]})]})]},t))})})]})]})}const Y3=[{icon:"🏥",name:"Healthcare",gradient:"from-blue-500 to-cyan-500",useCases:["AI-powered claims processing & guideline validation","Radiology report generation with vision-language models","Medical image segmentation (83% mean IOU)","HIPAA-compliant data pipelines"]},{icon:"🏭",name:"Manufacturing",gradient:"from-orange-500 to-amber-500",useCases:["Digital twin simulation (NVIDIA Omniverse)","Robotic sorting with >95% precision","Predictive maintenance & equipment monitoring","Synthetic data generation for physical AI"]},{icon:"🛒",name:"Retail",gradient:"from-emerald-500 to-teal-500",useCases:["AI recommendation engines (collaborative + deep learning)","Multi-camera shopper analytics","Smart shelf & visual checkout","Inventory forecasting at scale"]},{icon:"🏦",name:"Financial Services",gradient:"from-violet-500 to-purple-500",useCases:["Fraud detection & AML with agentic AI","RegTech: Basel III, MiFID II compliance automation","Intelligent document processing for loans & claims","Credit scoring & risk assessment"]}];function Q3(){return s.jsx("section",{className:"py-20 sm:py-28 bg-gray-50",children:s.jsxs("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8",children:[s.jsxs("div",{className:"text-center mb-14",children:[s.jsxs("div",{className:"inline-block mb-4",children:[s.jsx("div",{className:"h-1 w-20 bg-secondary rounded-full mb-2 mx-auto"}),s.jsx("div",{className:"h-1 w-12 bg-secondary rounded-full mx-auto"})]}),s.jsx("h2",{className:"text-3xl sm:text-4xl md:text-5xl font-bold text-primary mb-4",children:"Industry Verticals"}),s.jsx("p",{className:"text-lg text-gray-500 max-w-2xl mx-auto",children:"Deep expertise across high-value sectors with proven production deployments."})]}),s.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-4 gap-6 max-w-6xl mx-auto",children:Y3.map((e,t)=>s.jsxs(T.div,{className:"bg-white rounded-2xl border border-gray-100 shadow-sm hover:shadow-xl transition-all duration-300 overflow-hidden group",initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:t*.1,duration:.55},whileHover:{y:-4},children:[s.jsx("div",{className:`h-1.5 w-full bg-gradient-to-r ${e.gradient}`}),s.jsxs("div",{className:"p-6",children:[s.jsxs("div",{className:"flex items-center gap-3 mb-5",children:[s.jsx("span",{className:"text-2xl",children:e.icon}),s.jsx("h3",{className:"font-bold text-primary text-base",children:e.name})]}),s.jsx("ul",{className:"space-y-2.5",children:e.useCases.map((n,r)=>s.jsxs("li",{className:"flex items-start gap-2",children:[s.jsx("span",{className:"mt-1.5 w-1.5 h-1.5 rounded-full bg-secondary flex-shrink-0"}),s.jsx("span",{className:"text-gray-600 text-xs leading-snug",children:n})]},r))})]})]},t))})]})})}function Ae({variant:e="circuit",opacity:t=.1,className:n=""}){const r=p.useRef(null),i=p.useRef(),o=p.useRef([]);return p.useEffect(()=>{const a=r.current;if(!a)return;const l=a.getContext("2d");if(!l)return;const c=()=>{a.width=window.innerWidth,a.height=window.innerHeight};if(c(),window.addEventListener("resize",c),e==="particles"){const d=Math.floor(a.width*a.height/15e3);o.current=Array.from({length:d},()=>({x:Math.random()*a.width,y:Math.random()*a.height,vx:(Math.random()-.5)*.5,vy:(Math.random()-.5)*.5,size:Math.random()*2+1}));const u=()=>{l.clearRect(0,0,a.width,a.height),o.current.forEach(h=>{h.x+=h.vx,h.y+=h.vy,h.x<0&&(h.x=a.width),h.x>a.width&&(h.x=0),h.y<0&&(h.y=a.height),h.y>a.height&&(h.y=0),l.beginPath(),l.arc(h.x,h.y,h.size,0,Math.PI*2),l.fillStyle=`rgba(0, 215, 254, ${t})`,l.fill()}),o.current.forEach((h,m)=>{o.current.slice(m+1).forEach(g=>{const w=h.x-g.x,x=h.y-g.y,b=Math.sqrt(w*w+x*x);b<100&&(l.beginPath(),l.moveTo(h.x,h.y),l.lineTo(g.x,g.y),l.strokeStyle=`rgba(0, 215, 254, ${(1-b/100)*t*.3})`,l.lineWidth=.5,l.stroke())})}),i.current=requestAnimationFrame(u)};u()}else if(e==="circuit"){const d=()=>{l.clearRect(0,0,a.width,a.height);const u=Date.now()*.001;for(let h=0;h<5;h++){const m=a.height/5*h+a.height/10,g=(Math.sin(u+h)+1)/2;l.beginPath(),l.moveTo(0,m);for(let w=0;w0){const w=a.width/8*(h-1)+a.width/16,x=a.height/2+Math.sin(u+(h-1)*.5)*100;l.beginPath(),l.moveTo(w,x),l.lineTo(m,g),l.strokeStyle=`rgba(0, 215, 254, ${t*.5})`,l.lineWidth=1,l.stroke()}}i.current=requestAnimationFrame(d)};d()}else if(e==="gradient"){const d=()=>{const u=Date.now()*.001,h=l.createLinearGradient(0,0,a.width,a.height),m=u*20%360,g=(m+60)%360;h.addColorStop(0,`hsla(${m}, 70%, 50%, ${t})`),h.addColorStop(.5,`hsla(${(m+g)/2}, 70%, 50%, ${t})`),h.addColorStop(1,`hsla(${g}, 70%, 50%, ${t})`),l.fillStyle=h,l.fillRect(0,0,a.width,a.height),i.current=requestAnimationFrame(d)};d()}else if(e==="network"){const d=Array.from({length:15},(h,m)=>({x:Math.random()*a.width,y:Math.random()*a.height,vx:(Math.random()-.5)*.3,vy:(Math.random()-.5)*.3,radius:Math.random()*3+2})),u=()=>{l.clearRect(0,0,a.width,a.height),d.forEach(h=>{h.x+=h.vx,h.y+=h.vy,(h.x<0||h.x>a.width)&&(h.vx*=-1),(h.y<0||h.y>a.height)&&(h.vy*=-1),l.beginPath(),l.arc(h.x,h.y,h.radius,0,Math.PI*2),l.fillStyle=`rgba(8, 8, 69, ${t})`,l.fill(),l.strokeStyle=`rgba(0, 215, 254, ${t})`,l.lineWidth=2,l.stroke()}),d.forEach((h,m)=>{d.slice(m+1).forEach(g=>{const w=h.x-g.x,x=h.y-g.y,b=Math.sqrt(w*w+x*x);b<200&&(l.beginPath(),l.moveTo(h.x,h.y),l.lineTo(g.x,g.y),l.strokeStyle=`rgba(0, 215, 254, ${(1-b/200)*t})`,l.lineWidth=1,l.stroke())})}),i.current=requestAnimationFrame(u)};u()}return()=>{window.removeEventListener("resize",c),i.current&&cancelAnimationFrame(i.current)}},[e,t]),s.jsx("canvas",{ref:r,className:`absolute inset-0 pointer-events-none ${n}`,style:{opacity:t}})}const X3={hidden:{opacity:0,y:28},show:(e=0)=>({opacity:1,y:0,transition:{delay:e*.12,duration:.65}})},Z3=[{emoji:"🔍",step:"01",title:"Discover",desc:"We analyse your workflows, data infrastructure, and AI readiness to surface the highest-impact opportunities."},{emoji:"⚙️",step:"02",title:"Build",desc:"Our team designs, develops, and rigorously tests a custom AI solution aligned to your exact requirements."},{emoji:"🚀",step:"03",title:"Deploy & Scale",desc:"We launch, monitor, optimise, and support your solution—ensuring it grows alongside your business."}],J3=[{icon:s.jsx(ot,{className:"h-6 w-6"}),label:"ENTERPRISE READY",title:"Pioneering Agentic AI",body:"Early leaders in the agentic AI space — building autonomous systems that reason, plan, and act. Not wrappers or demos.",badges:["SOC 2 Type II Compliant","ISO 27001 Ready"],accent:"text-[#00D7FE]",iconBg:"bg-[#00D7FE]/10"},{icon:s.jsx(nc,{className:"h-6 w-6"}),label:"ENGINEERING DEPTH",title:"Production-Grade Engineering",body:"99.9% uptime, enterprise security, CI/CD, monitoring, and disaster recovery built in from day one.",badges:["End-to-End Encryption","LLM-Agnostic Architecture","On-Prem Deployment"],accent:"text-violet-400",iconBg:"bg-violet-400/10"},{icon:s.jsx(Ho,{className:"h-6 w-6"}),label:"UNIQUE CAPABILITY",title:"Research-to-Production Depth",body:"Applied research in healthcare and physical AI, shipped as production software and edge systems — frontier and field under one roof.",badges:["No Client Data for Training","Annual Pen Testing"],accent:"text-emerald-400",iconBg:"bg-emerald-400/10"},{icon:s.jsx(ze,{className:"h-6 w-6"}),label:"FORTUNE 100 TRACK RECORD",title:"Expert Leadership",body:"100+ years combined hands-on engineering leadership at global tech companies. Results-oriented, not advisory.",badges:["HIPAA & PCI-DSS Aware","CI/CD & Disaster Recovery"],accent:"text-amber-400",iconBg:"bg-amber-400/10"}],e6=[{value:"67%",text:"of enterprises stuck in AI pilot mode"},{value:"85%",text:"of tech execs delayed AI projects due to talent gaps"},{value:"80%",text:"see no tangible EBIT impact from GenAI today"},{value:"142",suffix:" days",text:"avg. time-to-hire AI developers vs. 52 for software"}],Og=[{q:"What does Synapse AI Solutions do?",a:"We're an AI-native company that takes AI from research to production. We build agentic AI systems, run applied research labs in healthcare and physical AI, embed senior AI talent into client teams, and train practitioners and organizations — so enterprises move from AI pilots to production."},{q:"Do you really deliver a free AI prototype in 24 hours?",a:"Yes. New AI solutions partnerships start with a free working prototype, built on your specific use case and delivered in 24 hours. Most vendors send a proposal — we send working software. If it changes what you believe is possible, we move forward; if not, the prototype is yours to keep."},{q:"How fast can you embed AI engineers into our team?",a:"Pre-vetted senior AI/ML engineers, data scientists, software engineers, and DevOps/MLOps specialists are typically embedded into your team in under two weeks — screened for real production experience, not keywords."},{q:"What makes Synapse different from other AI vendors?",a:"We build from AI, not around it. Our leadership carries 100+ years of combined engineering experience at global tech companies, our engagements ship to production (SOC 2 Type II, ISO 27001 ready, HIPAA & PCI-DSS aware, LLM-agnostic), and our research labs give us frontier depth in healthcare and physical AI that one-trick vendors lack."},{q:"What industries and domains do you focus on?",a:"We've delivered 40+ AI projects across 10+ industries. Our applied research centers on healthcare AI and physical AI, and our delivery spans agentic automation, conversational and voice AI, computer vision, and generative AI."}];function t6(){const e=p.useRef(null),[,t]=os();return Ye({title:fi.HOME,description:"Synapse AI Solutions builds from AI, not around it — agentic AI systems, applied research labs in healthcare and physical AI, embedded AI talent, and live training. From research to production, under one roof.",jsonLd:{"@context":"https://schema.org","@type":"FAQPage",mainEntity:Og.map(n=>({"@type":"Question",name:n.q,acceptedAnswer:{"@type":"Answer",text:n.a}}))}}),p.useEffect(()=>{if(typeof window>"u")return;const r=setTimeout(()=>{if(window.location.hash==="#partnership"||window.__goToPartnership||sessionStorage.getItem("scrollToPartnership")==="true"){const o=document.getElementById("partnership");o&&(o.scrollIntoView({behavior:"smooth",block:"start"}),window.__goToPartnership=!1,sessionStorage.removeItem("scrollToPartnership"),window.location.hash==="#partnership"&&window.history.replaceState(null,"",window.location.pathname))}},200);return()=>clearTimeout(r)},[]),p.useEffect(()=>{if(typeof window>"u")return;const n=setTimeout(()=>{var r;(window.__goToPartnership||sessionStorage.getItem("scrollToPartnership")==="true")&&((r=document.getElementById("partnership"))==null||r.scrollIntoView({behavior:"smooth",block:"start"}),window.__goToPartnership=!1,sessionStorage.removeItem("scrollToPartnership"))},800);return()=>clearTimeout(n)},[]),p.useEffect(()=>{const n=document.createElement("script");return n.src="https://api.synapseai.us/js/form_embed.js",n.async=!0,document.body.appendChild(n),()=>{document.body.contains(n)&&document.body.removeChild(n)}},[]),s.jsxs("div",{className:"min-h-screen",children:[s.jsxs("section",{className:"bg-[#080845] text-center relative overflow-hidden min-h-screen flex items-center",children:[s.jsx(Ae,{variant:"network",opacity:.12,className:"z-0"}),s.jsx("div",{className:"absolute inset-0 hero-radial-glow z-0"}),s.jsxs("div",{className:"absolute inset-0 opacity-10 pointer-events-none select-none z-0",children:[s.jsx("div",{className:"absolute top-0 right-0 circuit-pattern-safe border-t-2 border-r-2 border-secondary rounded-tr-3xl"}),s.jsx("div",{className:"absolute bottom-0 left-0 circuit-pattern-safe border-b-2 border-l-2 border-secondary rounded-bl-3xl"}),s.jsx("div",{className:"circuit-accent absolute top-[50%] left-0 w-full h-2",style:{animationDelay:"1s"}}),s.jsx("div",{className:"circuit-accent absolute top-[30%] left-0 w-full h-1 opacity-50",style:{animationDelay:"2s"}})]}),s.jsx("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8 relative z-10 w-full py-24",children:s.jsxs("div",{className:"max-w-5xl mx-auto flex flex-col items-center",children:[s.jsxs(T.div,{className:"inline-flex items-center gap-2 hero-stat-pill rounded-full px-4 py-2 text-sm text-gray-300 mb-8",initial:{opacity:0,scale:.9},animate:{opacity:1,scale:1},transition:{duration:.5},children:[s.jsx("span",{className:"w-2 h-2 rounded-full bg-secondary animate-pulse flex-shrink-0"}),"Make AI Real."]}),s.jsxs(T.h1,{className:"text-3xl xs:text-4xl sm:text-5xl md:text-6xl lg:text-7xl font-extrabold text-white mb-6 leading-tight px-2",initial:{opacity:0,y:32},animate:{opacity:1,y:0},transition:{duration:.7,delay:.1},children:["AI in Our DNA."," ",s.jsx("span",{className:"text-gradient-cyan",children:"From Research to Production."})]}),s.jsx(T.p,{className:"text-base sm:text-lg md:text-xl text-gray-300 max-w-3xl mb-10 leading-relaxed px-4",initial:{opacity:0,y:24},animate:{opacity:1,y:0},transition:{duration:.65,delay:.22},children:"We don't bolt AI onto old playbooks — we build from it. Our labs research the frontier of healthcare and physical AI, our engineers ship it to production, and we embed the talent and training that make it stick — so enterprises stop piloting and start delivering."}),s.jsxs(T.div,{className:"flex flex-col sm:flex-row gap-4 justify-center mb-4",initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6,delay:.34},children:[s.jsxs("button",{type:"button",className:"bg-[#00D7FE] text-[#080845] hover:bg-[#00b6d6] font-bold px-10 py-3.5 rounded-lg text-base sm:text-lg flex items-center justify-center gap-2 btn-glow transition-all duration-300",onClick:()=>Zr(t),children:["Partner with Us",s.jsx(fe,{className:"h-5 w-5"})]}),s.jsxs(q,{href:"/services/conversational-ai",className:"inline-flex items-center justify-center gap-2 border border-white/20 text-white hover:border-white/50 hover:bg-white/5 font-semibold px-8 py-3.5 rounded-lg text-base sm:text-lg transition-all duration-300",children:["Explore Services",s.jsx(hC,{className:"h-4 w-4"})]})]}),s.jsxs(T.p,{className:"flex items-center justify-center gap-1.5 text-sm text-secondary/90 font-medium mb-10",initial:{opacity:0},animate:{opacity:1},transition:{duration:.5,delay:.46},children:[s.jsx(ot,{className:"h-3.5 w-3.5"}),"AI Solutions partners get a free working prototype delivered in 24 hours"]}),s.jsx(T.div,{className:"flex flex-wrap justify-center gap-3",initial:{opacity:0},animate:{opacity:1},transition:{duration:.6,delay:.48},children:["40+ Projects Delivered","10+ Industries","500+ Professionals Trained"].map(n=>s.jsx("span",{className:"hero-stat-pill rounded-full px-4 py-2 text-xs sm:text-sm text-gray-300 font-medium",children:n},n))})]})})]}),s.jsx(W3,{}),s.jsx(V3,{}),s.jsxs("section",{className:"bg-[#080845] relative overflow-hidden py-20 sm:py-28",children:[s.jsx("div",{className:"absolute inset-0 hero-radial-glow"}),s.jsx("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8 relative z-10",children:s.jsxs("div",{className:"max-w-6xl mx-auto",children:[s.jsxs("div",{className:"text-center mb-14",children:[s.jsx("p",{className:"text-xs uppercase tracking-widest text-secondary font-semibold mb-3",children:"Market Context"}),s.jsx("h2",{className:"text-3xl sm:text-4xl md:text-5xl font-bold text-white mb-4",children:"The Enterprise AI Opportunity"}),s.jsx("p",{className:"text-gray-400 text-lg max-w-2xl mx-auto",children:"Enterprises are investing heavily — but struggling to execute. That's where we come in."})]}),s.jsx("div",{className:"grid md:grid-cols-3 gap-6 mb-10",children:[{value:"$1.5T",label:"Global AI spend in 2025",source:"Gartner"},{value:"40%",label:"of enterprise apps will have AI agents by 2026",source:"Gartner"},{value:"3.2 : 1",label:"AI talent demand vs. supply ratio globally",source:"Forrester"}].map((n,r)=>s.jsxs(T.div,{className:"glass-card rounded-2xl p-6 text-center",initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:r*.1,duration:.55},children:[s.jsx("div",{className:"text-4xl sm:text-5xl font-black text-gradient-cyan mb-2",children:n.value}),s.jsx("p",{className:"text-gray-300 text-sm leading-snug mb-2",children:n.label}),s.jsxs("span",{className:"text-xs text-gray-500 font-medium",children:[n.source," 2025"]})]},r))}),s.jsxs(T.div,{className:"rounded-2xl border border-white/10 bg-white/5 backdrop-blur-sm p-8",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},children:[s.jsx("p",{className:"text-xs uppercase tracking-widest text-red-400 font-bold mb-6",children:"THE EXECUTION GAP"}),s.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-4 gap-6",children:e6.map((n,r)=>s.jsxs("div",{children:[s.jsxs("div",{className:"text-3xl font-black text-white mb-1",children:[n.value,n.suffix]}),s.jsx("p",{className:"text-gray-400 text-xs leading-snug",children:n.text})]},r))}),s.jsx("p",{className:"text-xs text-gray-600 mt-6",children:"Sources: Gartner 2025, McKinsey State of AI 2025, Menlo Ventures, Forrester"})]}),s.jsx(T.div,{className:"mt-8 text-center",initial:{opacity:0},whileInView:{opacity:1},viewport:{once:!0},transition:{duration:.5,delay:.2},children:s.jsxs("button",{type:"button",onClick:()=>Zr(t),className:"inline-flex items-center gap-2 text-secondary font-semibold text-sm hover:text-secondary/80 transition-colors",children:[s.jsx(ot,{className:"h-4 w-4"}),"We close this gap — starting with a free AI prototype in 24 hours",s.jsx(fe,{className:"h-4 w-4"})]})})]})})]}),s.jsx(G3,{}),s.jsx("section",{className:"py-20 sm:py-28 bg-white",children:s.jsxs("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8",children:[s.jsxs("div",{className:"text-center mb-16",children:[s.jsxs("div",{className:"inline-block mb-4",children:[s.jsx("div",{className:"h-1 w-20 bg-secondary rounded-full mb-2 mx-auto"}),s.jsx("div",{className:"h-1 w-12 bg-secondary rounded-full mx-auto"})]}),s.jsx("h2",{className:"text-3xl sm:text-4xl md:text-5xl font-bold text-primary mb-4",children:"How We Deliver"}),s.jsx("p",{className:"text-lg text-gray-600 max-w-2xl mx-auto",children:"End-to-end ownership from first conversation to production deployment"})]}),s.jsxs("div",{className:"grid md:grid-cols-3 gap-10 max-w-4xl mx-auto relative",children:[s.jsx("div",{className:"hidden md:block absolute top-7 left-[calc(16.67%+40px)] right-[calc(16.67%+40px)] h-0.5 bg-gradient-to-r from-secondary/50 via-secondary/20 to-secondary/50"}),Z3.map((n,r)=>s.jsxs(T.div,{className:"flex flex-col items-center text-center",custom:r,variants:X3,initial:"hidden",whileInView:"show",viewport:{once:!0},children:[s.jsx("div",{className:"relative w-16 h-16 rounded-2xl bg-primary flex items-center justify-center text-2xl shadow-xl mb-5 z-10",children:n.emoji}),s.jsx("div",{className:"text-xs font-bold text-secondary tracking-[0.2em] mb-2",children:n.step}),s.jsx("h3",{className:"text-xl font-bold text-primary mb-3",children:n.title}),s.jsx("p",{className:"text-gray-600 text-sm leading-relaxed",children:n.desc})]},r))]}),s.jsx(T.div,{className:"mt-14 flex justify-center",initial:{opacity:0,y:12},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5},children:s.jsxs("div",{className:"inline-flex items-center gap-3 px-6 py-4 rounded-2xl bg-secondary/8 border border-secondary/20",children:[s.jsx(ot,{className:"h-5 w-5 text-secondary flex-shrink-0"}),s.jsxs("p",{className:"text-sm text-gray-700 font-medium",children:["New AI Solutions partnerships start with a"," ",s.jsx("span",{className:"text-primary font-bold",children:"free working prototype"})," ","— built on your use case, delivered in 24 hours, no cost."]})]})})]})}),s.jsx(Q3,{}),s.jsx("section",{className:"py-20 sm:py-28 bg-gray-50",children:s.jsx("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8",children:s.jsxs("div",{className:"max-w-6xl mx-auto",children:[s.jsxs(T.div,{className:"text-center mb-14",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5},children:[s.jsx("p",{className:"text-xs font-bold uppercase tracking-widest text-secondary mb-3",children:"Training Programs"}),s.jsx("h2",{className:"text-3xl sm:text-4xl md:text-5xl font-black text-primary mb-4",children:"Build Real AI Skill — At Every Level."}),s.jsx("p",{className:"text-lg text-gray-600 max-w-2xl mx-auto",children:"Live programs, real outcomes, built for the people doing the work — no matter your role or background."})]}),s.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-4 gap-6",children:[{Icon:Wo,tag:"Teams & Organizations",title:"Corporate Training",desc:"Custom AI programs built around your industry, your stack, and every level of your organization — from C-suite to individual contributors.",features:["Custom Curriculum","On-Site or Virtual","Any Team Size"],cta:"Discuss Your Needs",href:"/training/corporate-training",accent:"text-[#00D7FE]",bg:"bg-[#00D7FE]/10"},{Icon:ui,tag:"Developer Bootcamp · 8 Weeks",title:"Agentic AI Bootcamp",desc:"From Python basics to deploying multi-agent AI in production. Cohort-based, hands-on, and beginner friendly — Cohort 7 forming now.",features:["Beginner to Advanced","Live Online","Portfolio of Projects"],cta:"Join Cohort 7",href:"/training/agentic-ai-bootcamp",accent:"text-violet-400",bg:"bg-violet-400/10"},{Icon:ot,tag:"No Coding Required · 8 Weeks",title:"No-Code AI Bootcamp",desc:"Build AI agents, automations, and apps using visual tools — no programming ever. Live cohort starting June 2, 2026.",features:["No Coding — Ever","Next Cohort: June 2","Live Online"],cta:"Enroll Now",href:"/training/no-code-agentic-ai",accent:"text-emerald-400",bg:"bg-emerald-400/10"},{Icon:ze,tag:"Executive & Team Workshops",title:"AI Workshops",desc:"Exclusive hybrid workshops for executives, founders, and senior leaders. Full-day and weekend intensives — high-signal, zero filler.",features:["In-Person or Virtual","Full Day or Weekend","Limited Seats"],cta:"View Schedule",href:"/training/workshops",accent:"text-amber-400",bg:"bg-amber-400/10"}].map(({Icon:n,tag:r,title:i,desc:o,features:a,cta:l,href:c,accent:d,bg:u},h)=>s.jsxs(T.div,{className:"glass-card p-8 rounded-2xl border border-gray-100 bg-white hover:shadow-lg transition-all group flex flex-col",initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:h*.1,duration:.55},children:[s.jsx("div",{className:`w-12 h-12 ${u} rounded-xl flex items-center justify-center mb-4 group-hover:scale-110 transition-transform`,children:s.jsx(n,{className:`h-6 w-6 ${d}`})}),s.jsx("p",{className:`text-[11px] font-bold uppercase tracking-widest ${d} mb-2`,children:r}),s.jsx("h3",{className:"text-xl font-black text-primary mb-3",children:i}),s.jsx("p",{className:"text-gray-600 text-sm leading-relaxed mb-5 flex-grow",children:o}),s.jsx("ul",{className:"space-y-2 mb-6",children:a.map(m=>s.jsxs("li",{className:"flex items-center gap-2 text-xs text-gray-600",children:[s.jsx(Dn,{className:"h-3.5 w-3.5 text-secondary flex-shrink-0"}),m]},m))}),s.jsx(q,{href:c,children:s.jsxs("button",{className:"w-full inline-flex items-center justify-center gap-2 px-5 py-3 bg-primary text-white font-bold rounded-xl text-sm hover:bg-secondary hover:text-primary transition-colors",children:[l," ",s.jsx(fe,{className:"h-4 w-4"})]})})]},i))})]})})}),s.jsx(K3,{}),s.jsx("section",{className:"py-20 sm:py-28 bg-white",children:s.jsxs("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8",children:[s.jsxs("div",{className:"text-center mb-14",children:[s.jsxs("div",{className:"inline-block mb-4",children:[s.jsx("div",{className:"h-1 w-20 bg-secondary rounded-full mb-2 mx-auto"}),s.jsx("div",{className:"h-1 w-12 bg-secondary rounded-full mx-auto"})]}),s.jsx("h2",{className:"text-3xl sm:text-4xl md:text-5xl font-bold text-primary mb-4",children:"Why Synapse AI?"}),s.jsx("p",{className:"text-lg text-gray-600 max-w-2xl mx-auto",children:"Four reasons enterprise teams choose a partner that builds from AI — not one that bolts it on"})]}),s.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-4 gap-6 max-w-6xl mx-auto",children:J3.map((n,r)=>s.jsxs(T.div,{className:"rounded-2xl border border-gray-100 bg-white p-6 shadow-sm hover:shadow-xl transition-all duration-300 group flex flex-col",initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:r*.1,duration:.55},whileHover:{y:-4},children:[s.jsx("div",{className:`w-12 h-12 rounded-xl ${n.iconBg} flex items-center justify-center mb-4 ${n.accent}`,children:n.icon}),s.jsx("p",{className:`text-[10px] font-bold uppercase tracking-widest mb-2 ${n.accent}`,children:n.label}),s.jsx("h3",{className:"font-bold text-primary text-base mb-3",children:n.title}),s.jsx("p",{className:"text-gray-600 text-sm leading-relaxed flex-grow mb-5",children:n.body}),s.jsx("div",{className:"flex flex-wrap gap-1.5 mt-auto",children:n.badges.map(i=>s.jsx("span",{className:"text-[10px] font-medium px-2 py-0.5 rounded-full bg-gray-100 text-gray-600",children:i},i))})]},r))})]})}),s.jsxs("section",{id:"partnership",ref:e,className:"py-24 bg-primary relative overflow-hidden",children:[s.jsx(Ae,{variant:"gradient",opacity:.06}),s.jsx("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8 relative z-10",children:s.jsxs("div",{className:"max-w-5xl mx-auto",children:[s.jsxs(T.div,{className:"text-center mb-14",initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},children:[s.jsx("p",{className:"text-xs uppercase tracking-widest text-secondary font-semibold mb-4",children:"Strategic Partnerships"}),s.jsxs("h2",{className:"text-3xl sm:text-4xl md:text-5xl font-bold mb-6 text-white leading-tight",children:["One Partner."," ",s.jsx("span",{className:"text-gradient-cyan",children:"Every AI Need."})]}),s.jsx("p",{className:"text-lg sm:text-xl text-white/70 max-w-3xl mx-auto leading-relaxed",children:"While competitors are shipping AI and building AI-ready teams, most companies are still in planning mode. We change that — fast. Pick your path and we'll prove what's possible before you commit to anything."})]}),s.jsx("div",{className:"grid sm:grid-cols-2 gap-5 mb-20",children:[{Icon:ot,title:"AI Solutions",desc:"Agentic AI, physical AI, and voice agents built to production — not to demo. We prove it before you pay: a working prototype on your exact use case, free, in 24 hours. Most AI vendors send a proposal. We send a working prototype. Review the prototype with your team. If it changes what you believe is possible, we move forward. If not, the prototype is yours to keep.",badge:"Free Prototype · 24 hours",color:"#00D7FE",highlight:!0},{Icon:ze,title:"AI Talent & Staffing",desc:"Every role across the AI and data stack — AI/ML engineers, data scientists, data engineers, DevOps/MLOps, software engineers, and more. Pre-vetted for real production experience. Deployed in 2 weeks. We screen for real production experience — not keywords. No 3-month hiring cycles.",badge:"Deployed in 2 weeks",color:"#818cf8",highlight:!1},{Icon:Mt,title:"AI Training",desc:"Corporate programs, live bootcamps, and executive workshops - built around your actual business and team's context — not a recycled curriculum. Instructors who've shipped what they teach. Your team leaves with tools they use the next morning.",badge:"Custom program · 2 weeks",color:"#f59e0b",highlight:!1},{Icon:Ho,title:"Something Else",desc:"Custom partnership, co-build, white-label, strategic partnership, non-profit, an idea, or something we haven't heard before. Tell us what you're thinking- we're open to the converation.",badge:"Let's figure it out",color:"#34d399",highlight:!1}].map(({Icon:n,title:r,desc:i,badge:o,color:a,highlight:l},c)=>s.jsxs(T.div,{className:`rounded-2xl p-7 border ${l?"border-secondary/40 bg-secondary/10":"glass-card border-white/10"}`,initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:c*.1,duration:.5},children:[s.jsxs("div",{className:"flex items-start justify-between gap-4 mb-4",children:[s.jsx("div",{className:"w-10 h-10 rounded-xl flex items-center justify-center flex-shrink-0",style:{backgroundColor:`${a}20`},children:s.jsx(n,{className:"h-5 w-5",style:{color:a}})}),s.jsx("span",{className:"text-sm font-semibold px-3 py-1 rounded-full border flex-shrink-0",style:{color:a,borderColor:`${a}40`,backgroundColor:`${a}15`},children:o})]}),s.jsx("h3",{className:"font-bold text-white text-lg mb-2",children:r}),s.jsx("p",{className:"text-white/60 text-sm leading-relaxed",children:i})]},r))}),s.jsxs("div",{id:"partnership-form",children:[s.jsxs("div",{className:"text-center mb-10",children:[s.jsx("h3",{className:"text-2xl sm:text-3xl font-bold text-white mb-3",children:"Your Move."}),s.jsx("p",{className:"text-white/60 text-base max-w-xl mx-auto",children:"We take on a limited number of new partnerships each quarter to ensure every engagement gets our full attention. Fill out below — we respond with a concrete next step, not a sales pitch."})]}),s.jsx("style",{children:` .responsive-iframe { width: 100% !important; max-width: 100% !important; box-sizing: border-box; } @media (width: 540px) { .responsive-iframe { height: 1100px !important; min-height: 1000px !important; } } @media (width: 720px) { .responsive-iframe { height: 1050px !important; min-height: 1000px !important; } } @media (max-width: 480px) { .responsive-iframe { height: 1150px !important; min-height: 950px !important; } } @media (min-width: 481px) and (max-width: 767px) { .responsive-iframe { height: 1100px !important; min-height: 1000px !important; } } @media (min-width: 768px) and (max-width: 1023px) { .responsive-iframe { height: 1008px !important; min-height: 1008px !important; } } @media (min-width: 1024px) { .responsive-iframe { height: 1008px !important; min-height: 1008px !important; } } `}),s.jsx("div",{className:"w-full relative max-w-full",children:s.jsx("iframe",{src:"https://api.synapseai.us/widget/form/trW0SGDNeqyTHQItKJHb",style:{width:"100%",height:"1008px",border:"none",borderRadius:"6px",display:"block",maxWidth:"100%",minHeight:"900px"},className:"responsive-iframe w-full block max-w-full min-h-[900px] h-[1008px] xs:min-h-[950px] sm:min-h-[1000px] md:min-h-[1008px] lg:h-[1008px] xl:h-[1008px]",id:"inline-trW0SGDNeqyTHQItKJHb","data-layout":"{'id':'INLINE'}","data-trigger-type":"alwaysShow","data-trigger-value":"","data-activation-type":"alwaysActivated","data-activation-value":"","data-deactivation-type":"neverDeactivate","data-deactivation-value":"","data-form-name":"Partnership Form","data-height":"1008","data-layout-iframe-id":"inline-trW0SGDNeqyTHQItKJHb","data-form-id":"trW0SGDNeqyTHQItKJHb",title:"Partnership Form"})})]})]})})]}),s.jsx("section",{className:"py-20 sm:py-28 bg-white",children:s.jsx("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8",children:s.jsxs("div",{className:"max-w-3xl mx-auto",children:[s.jsxs("div",{className:"text-center mb-12",children:[s.jsxs("div",{className:"inline-block mb-4",children:[s.jsx("div",{className:"h-1 w-20 bg-secondary rounded-full mb-2 mx-auto"}),s.jsx("div",{className:"h-1 w-12 bg-secondary rounded-full mx-auto"})]}),s.jsx("h2",{className:"text-3xl sm:text-4xl md:text-5xl font-bold text-primary mb-4",children:"Frequently Asked Questions"}),s.jsx("p",{className:"text-lg text-gray-600 max-w-2xl mx-auto",children:"Straight answers about how we work."})]}),s.jsx("div",{className:"divide-y divide-gray-100 border-y border-gray-100",children:Og.map((n,r)=>s.jsxs(T.div,{className:"py-6",initial:{opacity:0,y:12},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:r*.05,duration:.45},children:[s.jsx("h3",{className:"text-lg font-bold text-primary mb-2",children:n.q}),s.jsx("p",{className:"text-gray-600 leading-relaxed",children:n.a})]},r))})]})})}),s.jsx(_b,{})]})}const n6=["SOC 2 Type II Compliant","ISO 27001 Ready","HIPAA & PCI-DSS Aware","End-to-End Encryption","LLM-Agnostic Architecture","No Client Data Used for Training","On-Prem Deployment Option","Annual Penetration Testing","CI/CD & Disaster Recovery"],r6=[{icon:s.jsx(ot,{className:"h-6 w-6"}),title:"Production, Not Demos",body:"We build AI systems that ship to production — not proofs of concept that sit in a slide deck. Every engagement ends with working software, not a roadmap.",color:"text-[#00D7FE]",bg:"bg-[#00D7FE]/10"},{icon:s.jsx(nc,{className:"h-6 w-6"}),title:"End-to-End Ownership",body:"From architecture design to deployment monitoring, we own the outcome. No hand-offs to third-party integrators. No scope gaps.",color:"text-violet-400",bg:"bg-violet-400/10"},{icon:s.jsx(Ho,{className:"h-6 w-6"}),title:"Research-to-Production Depth",body:"Applied research in healthcare and physical AI, shipped as production software and edge systems. We're one of the few firms that can run a research study and a computer vision edge deployment in the same engagement.",color:"text-emerald-400",bg:"bg-emerald-400/10"},{icon:s.jsx(ze,{className:"h-6 w-6"}),title:"LLM-Agnostic by Design",body:"We don't bet the architecture on a single model provider. Our systems are designed to swap underlying models as the landscape evolves — protecting your investment.",color:"text-amber-400",bg:"bg-amber-400/10"}],s6=[{number:"01",title:"Agentic AI Solutions",desc:"Autonomous agents, conversational & voice AI, custom ML/GenAI, RAG, and the data and cloud foundations beneath.",href:"/services/agentic-ai",color:"#00D7FE"},{number:"02",title:"AI Research Labs",desc:"Applied research in healthcare and physical AI — from medical intelligence to computer vision, robotics, and edge.",href:"/services/ai-research-labs",color:"#10b981"},{number:"03",title:"AI Staffing & Augmentation",desc:"Pre-vetted AI/ML engineers, data scientists, and DevOps specialists embedded in your team.",href:"/talent/for-clients",color:"#818cf8"},{number:"04",title:"AI Training & Education",desc:"Live bootcamps, corporate programs, and workshops for professionals, teams, and executives.",href:"/training/corporate-training",color:"#f59e0b"}];function i6(){const[,e]=os();return Ye({title:fi.ABOUT,description:"Synapse AI Solutions — production-grade AI systems, expert AI staffing, and physical AI deployments. 100+ years combined leadership experience. SOC 2 compliant, LLM-agnostic, Fortune 100 track record."}),s.jsxs("div",{className:"min-h-screen",children:[s.jsxs("section",{className:"bg-[#080845] text-white pt-32 pb-24 relative overflow-hidden",children:[s.jsx(Ae,{variant:"circuit",opacity:.08,className:"z-0"}),s.jsx("div",{className:"absolute inset-0 hero-radial-glow z-0"}),s.jsxs("div",{className:"absolute inset-0 opacity-10 pointer-events-none select-none z-0",children:[s.jsx("div",{className:"absolute top-0 left-0 circuit-pattern-safe border-t-2 border-l-2 border-secondary rounded-tl-3xl"}),s.jsx("div",{className:"absolute bottom-0 right-0 circuit-pattern-safe border-b-2 border-r-2 border-secondary rounded-br-3xl"}),s.jsx("div",{className:"circuit-accent absolute top-[40%] left-0 w-full h-2"})]}),s.jsx("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8 relative z-10",children:s.jsxs("div",{className:"max-w-4xl mx-auto text-center",children:[s.jsx(T.p,{className:"text-xs uppercase tracking-widest text-secondary font-semibold mb-4",initial:{opacity:0},animate:{opacity:1},transition:{duration:.5},children:"About Synapse AI Solutions"}),s.jsxs(T.h1,{className:"text-4xl md:text-5xl lg:text-6xl font-extrabold mb-6 leading-tight",initial:{opacity:0,y:24},animate:{opacity:1,y:0},transition:{duration:.7,delay:.1},children:["Where Engineering Depth"," ",s.jsx("span",{className:"text-gradient-cyan",children:"Meets AI Ambition"})]}),s.jsx(T.p,{className:"text-xl text-gray-300 leading-relaxed mb-4 max-w-3xl mx-auto",initial:{opacity:0,y:16},animate:{opacity:1,y:0},transition:{duration:.65,delay:.2},children:"Synapse AI Solutions exists because most AI vendors sell promises. We deliver production. We're an engineering-first AI company that builds systems people actually use — in healthcare operating rooms, on factory floors, inside financial compliance workflows, and across enterprise software stacks."}),s.jsx(T.p,{className:"text-xl text-gray-300 leading-relaxed max-w-3xl mx-auto",initial:{opacity:0,y:16},animate:{opacity:1,y:0},transition:{duration:.65,delay:.3},children:"Our leadership carries 100+ years of combined hands-on engineering experience at global technology companies. We built things. We ran production systems. We understand the gap between a working demo and a system that performs at 99.9% uptime under real load."})]})})]}),s.jsx("section",{className:"py-20 sm:py-24 bg-white",children:s.jsx("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8",children:s.jsxs("div",{className:"max-w-5xl mx-auto",children:[s.jsxs("div",{className:"text-center mb-12",children:[s.jsxs("div",{className:"inline-block mb-4",children:[s.jsx("div",{className:"h-1 w-20 bg-secondary rounded-full mb-2 mx-auto"}),s.jsx("div",{className:"h-1 w-12 bg-secondary rounded-full mx-auto"})]}),s.jsx("h2",{className:"text-3xl sm:text-4xl font-bold text-primary mb-3",children:"What We Do"}),s.jsx("p",{className:"text-gray-500 max-w-xl mx-auto",children:"Four focused capabilities, each with end-to-end delivery responsibility."})]}),s.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-4 gap-6",children:s6.map((t,n)=>s.jsxs(T.div,{className:"rounded-2xl border border-gray-100 p-7 shadow-sm hover:shadow-lg transition-all duration-300 group",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:n*.1,duration:.55},whileHover:{y:-3},children:[s.jsx("span",{className:"text-5xl font-black leading-none mb-4 block select-none",style:{color:t.color,opacity:.2},children:t.number}),s.jsx("h3",{className:"font-bold text-primary text-lg mb-2",children:t.title}),s.jsx("p",{className:"text-gray-600 text-sm leading-relaxed mb-5",children:t.desc}),s.jsxs(q,{href:t.href,className:"inline-flex items-center gap-1 text-sm font-semibold transition-all",style:{color:t.color},children:["Learn more ",s.jsx(fe,{className:"h-3.5 w-3.5 group-hover:translate-x-1 transition-transform"})]})]},n))})]})})}),s.jsxs("section",{className:"bg-[#080845] relative overflow-hidden py-20 sm:py-24",children:[s.jsx("div",{className:"absolute inset-0 hero-radial-glow"}),s.jsx("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8 relative z-10",children:s.jsxs("div",{className:"max-w-4xl mx-auto",children:[s.jsx("p",{className:"text-xs uppercase tracking-widest text-secondary font-semibold text-center mb-10",children:"Company at a Glance"}),s.jsx("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-6",children:[{value:"100+",label:"Years Combined",sub:"Leadership Experience"},{value:"99.9%",label:"Uptime SLA",sub:"Production Systems"},{value:"40%",label:"Avg. Cost Reduction",sub:"Delivered to Clients"},{value:"2wk",label:"Talent Deployment",sub:"Pre-vetted Staffing"}].map((t,n)=>s.jsxs(T.div,{className:"glass-card rounded-2xl p-6 text-center",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:n*.1,duration:.5},children:[s.jsx("div",{className:"text-4xl sm:text-5xl font-black text-white leading-none mb-2",children:t.value}),s.jsx("div",{className:"text-secondary text-sm font-semibold",children:t.label}),s.jsx("div",{className:"text-gray-400 text-xs mt-1",children:t.sub})]},n))})]})})]}),s.jsx("section",{className:"py-20 sm:py-28 bg-gray-50",children:s.jsx("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8",children:s.jsxs("div",{className:"max-w-5xl mx-auto",children:[s.jsxs("div",{className:"text-center mb-14",children:[s.jsxs("div",{className:"inline-block mb-4",children:[s.jsx("div",{className:"h-1 w-20 bg-secondary rounded-full mb-2 mx-auto"}),s.jsx("div",{className:"h-1 w-12 bg-secondary rounded-full mx-auto"})]}),s.jsx("h2",{className:"text-3xl sm:text-4xl font-bold text-primary mb-3",children:"What Makes Us Different"}),s.jsx("p",{className:"text-gray-500 max-w-2xl mx-auto",children:"Choices we made deliberately — and that our clients notice."})]}),s.jsx("div",{className:"grid sm:grid-cols-2 gap-6",children:r6.map((t,n)=>s.jsxs(T.div,{className:"bg-white rounded-2xl border border-gray-100 p-7 shadow-sm hover:shadow-lg transition-all duration-300",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:n*.1,duration:.55},children:[s.jsx("div",{className:`w-11 h-11 rounded-xl ${t.bg} ${t.color} flex items-center justify-center mb-4`,children:t.icon}),s.jsx("h3",{className:"font-bold text-primary text-lg mb-2",children:t.title}),s.jsx("p",{className:"text-gray-600 text-sm leading-relaxed",children:t.body})]},n))})]})})}),s.jsx("section",{className:"py-20 sm:py-24 bg-white",children:s.jsx("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8",children:s.jsx("div",{className:"max-w-5xl mx-auto",children:s.jsxs("div",{className:"md:flex md:items-start md:gap-16",children:[s.jsxs("div",{className:"md:w-1/2 mb-10 md:mb-0",children:[s.jsxs("div",{className:"inline-block mb-4",children:[s.jsx("div",{className:"h-1 w-20 bg-secondary rounded-full mb-2"}),s.jsx("div",{className:"h-1 w-12 bg-secondary rounded-full"})]}),s.jsx("h2",{className:"text-3xl sm:text-4xl font-bold text-primary mb-5",children:"Built for Enterprise Trust"}),s.jsx("p",{className:"text-gray-600 leading-relaxed mb-6",children:"Enterprise procurement teams ask hard questions. Our engineering practices are designed to pass them. From the way we handle data in transit to the way we isolate client environments, security and compliance are built into the architecture — not bolted on at audit time."}),s.jsxs("button",{type:"button",onClick:()=>Zr(e),className:"inline-flex items-center gap-2 bg-secondary text-white font-semibold px-7 py-3 rounded-lg hover:bg-secondary/90 transition-colors duration-300",children:["Start a Conversation",s.jsx(fe,{className:"h-4 w-4"})]})]}),s.jsx("div",{className:"md:w-1/2",children:s.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-3",children:n6.map((t,n)=>s.jsxs(T.div,{className:"flex items-center gap-3 bg-gray-50 rounded-xl px-4 py-3 border border-gray-100",initial:{opacity:0,x:16},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{delay:n*.06,duration:.45},children:[s.jsx(Dn,{className:"h-4 w-4 text-secondary flex-shrink-0"}),s.jsx("span",{className:"text-sm font-medium text-gray-700",children:t})]},n))})})]})})})}),s.jsx(_b,{})]})}const o6=[{emoji:"⚙️",title:"Build AI Systems",desc:"Custom agentic AI, voice agents, RAG pipelines, or physical AI at the edge.",href:"/services/conversational-ai",color:"#00D7FE",glow:"rgba(0,215,254,0.08)"},{emoji:"👥",title:"Hire AI Talent",desc:"Embed pre-vetted AI/ML engineers or data scientists into your team in under 2 weeks.",href:"/talent/for-clients",color:"#818cf8",glow:"rgba(129,140,248,0.08)"},{emoji:"🎓",title:"Train My Team",desc:"Upskill your organisation with custom AI training programs or cohort courses.",href:"/training/corporate-training",color:"#34d399",glow:"rgba(52,211,153,0.08)"}],a6=[{step:"01",title:"Submit the form",desc:"Takes less than 2 minutes."},{step:"02",title:"We review your needs",desc:"Typically within 1 business day."},{step:"03",title:"Discovery call",desc:"30 minutes. No commitment, no pitch deck."}],l6=[{label:"LinkedIn",href:"https://www.linkedin.com/company/synapseai-solutions/",icon:s.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",fill:"currentColor",viewBox:"0 0 16 16",children:s.jsx("path",{d:"M0 1.146C0 .513.526 0 1.175 0h13.65C15.474 0 16 .513 16 1.146v13.708c0 .633-.526 1.146-1.175 1.146H1.175C.526 16 0 15.487 0 14.854V1.146zm4.943 12.248V6.169H2.542v7.225h2.401zm-1.2-8.212c.837 0 1.358-.554 1.358-1.248-.015-.709-.52-1.248-1.342-1.248-.822 0-1.359.54-1.359 1.248 0 .694.521 1.248 1.327 1.248h.016zm4.908 8.212V9.359c0-.216.016-.432.08-.586.173-.431.568-.878 1.232-.878.869 0 1.216.662 1.216 1.634v3.865h2.401V9.25c0-2.22-1.184-3.252-2.764-3.252-1.274 0-1.845.7-2.165 1.193v.025h-.016a5.54 5.54 0 0 1 .016-.025V6.169h-2.4c.03.678 0 7.225 0 7.225h2.4z"})})},{label:"X / Twitter",href:"https://x.com/synapseaisol",icon:s.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",fill:"currentColor",viewBox:"0 0 24 24",children:s.jsx("path",{d:"M18.901 1.153h3.68l-8.04 9.19L24 22.846h-7.406l-5.8-7.584-6.638 7.584H.474l8.6-9.83L0 1.154h7.594l5.243 6.932ZM17.61 20.644h2.039L6.486 3.24H4.298Z"})})},{label:"YouTube",href:"https://www.youtube.com/channel/UCStuPDLV_SnySHOrMTO2VdA",icon:s.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",fill:"currentColor",viewBox:"0 0 16 16",children:s.jsx("path",{d:"M8.051 1.999h.089c.822.003 4.987.033 6.11.335a2.01 2.01 0 0 1 1.415 1.42c.101.38.172.883.22 1.402l.01.104.022.26.008.104c.065.914.073 1.77.074 1.957v.075c-.001.194-.01 1.108-.082 2.06l-.008.105-.009.104c-.05.572-.124 1.14-.235 1.558a2.007 2.007 0 0 1-1.415 1.42c-1.16.312-5.569.334-6.18.335h-.142c-.309 0-1.587-.006-2.927-.052l-.17-.006-.087-.004-.171-.007-.171-.007c-1.11-.049-2.167-.128-2.654-.26a2.007 2.007 0 0 1-1.415-1.419c-.111-.417-.185-.986-.235-1.558L.09 9.82l-.008-.104A31.4 31.4 0 0 1 0 7.68v-.123c.002-.215.01-.958.064-1.778l.007-.103.003-.052.008-.104.022-.26.01-.104c.048-.519.119-1.023.22-1.402a2.007 2.007 0 0 1 1.415-1.42c.487-.13 1.544-.21 2.654-.26l.17-.007.172-.006.086-.003.171-.007A99.788 99.788 0 0 1 7.858 2h.193zM6.4 5.209v4.818l4.157-2.408L6.4 5.209z"})})}];function c6(){return Ye({title:"Contact Us — Let's Build Something Real | Synapse AI Solutions",description:"Contact Synapse AI Solutions — build AI systems, hire expert AI talent, or train your team. Typically respond within 1 business day."}),p.useEffect(()=>{const e=document.createElement("script");return e.src="https://api.synapseai.us/js/form_embed.js",e.async=!0,document.body.appendChild(e),()=>{document.body.contains(e)&&document.body.removeChild(e)}},[]),p.useEffect(()=>{const e=()=>{const t=document.getElementById("inline-7ZPu8n1WV5GUmpubXbPr");if(!t)return;const n=window.innerWidth;n===540||n===720?(t.style.height="900px",t.style.minHeight="800px"):n<600?(t.style.height="950px",t.style.minHeight="750px"):n<768?(t.style.height="850px",t.style.minHeight="800px"):(t.style.height="769px",t.style.minHeight="769px"),navigator.userAgent.includes("iPad")&&(t.style.height="769px")};return setTimeout(e,100),window.addEventListener("resize",e),window.addEventListener("orientationchange",()=>setTimeout(e,300)),()=>{window.removeEventListener("resize",e),window.removeEventListener("orientationchange",e)}},[]),s.jsxs("div",{className:"min-h-screen",children:[s.jsxs("section",{className:"bg-[#080845] text-white pt-32 pb-20 relative overflow-hidden",children:[s.jsx(Ae,{variant:"particles",opacity:.08,className:"z-0"}),s.jsx("div",{className:"absolute inset-0 hero-radial-glow z-0"}),s.jsxs("div",{className:"absolute inset-0 opacity-10 pointer-events-none select-none z-0",children:[s.jsx("div",{className:"absolute top-0 left-0 circuit-pattern-safe border-t-2 border-l-2 border-secondary rounded-tl-3xl"}),s.jsx("div",{className:"circuit-accent absolute top-[45%] left-0 w-full h-2"})]}),s.jsx("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8 relative z-10",children:s.jsxs("div",{className:"max-w-3xl mx-auto text-center",children:[s.jsxs(T.div,{className:"inline-flex items-center gap-2 hero-stat-pill rounded-full px-4 py-2 text-sm text-gray-300 mb-6",initial:{opacity:0,scale:.9},animate:{opacity:1,scale:1},transition:{duration:.5},children:[s.jsx(tc,{className:"h-3.5 w-3.5 text-secondary flex-shrink-0"}),"Typically respond within 1 business day"]}),s.jsxs(T.h1,{className:"text-4xl md:text-5xl lg:text-6xl font-extrabold mb-5 leading-tight",initial:{opacity:0,y:24},animate:{opacity:1,y:0},transition:{duration:.7,delay:.1},children:["Let's Build"," ",s.jsx("span",{className:"text-gradient-cyan",children:"Something Real"})]}),s.jsx(T.p,{className:"text-lg text-gray-300 max-w-2xl mx-auto",initial:{opacity:0,y:16},animate:{opacity:1,y:0},transition:{duration:.65,delay:.2},children:"Whether you need a production AI system, embedded engineering talent, or a team training program — the right conversation starts here."})]})})]}),s.jsx("section",{className:"py-14 bg-white border-b border-gray-100",children:s.jsxs("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8",children:[s.jsx("p",{className:"text-center text-xs uppercase tracking-widest text-gray-400 font-semibold mb-8",children:"What brings you here?"}),s.jsx("div",{className:"grid md:grid-cols-3 gap-5 max-w-4xl mx-auto",children:o6.map((e,t)=>s.jsx(T.div,{initial:{opacity:0,y:16},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:t*.1,duration:.5},children:s.jsxs(q,{href:e.href,className:"flex items-start gap-4 p-5 rounded-2xl border border-gray-100 bg-white hover:shadow-lg transition-all duration-300 group block",style:{"--glow":e.glow},children:[s.jsx("span",{className:"text-2xl flex-shrink-0 mt-0.5",children:e.emoji}),s.jsxs("div",{children:[s.jsx("h3",{className:"font-bold text-primary text-sm mb-1 group-hover:text-[color:var(--accent-color)] transition-colors",style:{"--accent-color":e.color},children:e.title}),s.jsx("p",{className:"text-gray-500 text-xs leading-snug",children:e.desc})]}),s.jsx(fe,{className:"h-4 w-4 ml-auto mt-0.5 flex-shrink-0 text-gray-300 group-hover:text-gray-500 group-hover:translate-x-0.5 transition-all"})]})},t))})]})}),s.jsx("section",{className:"py-20 sm:py-24 bg-gray-50",children:s.jsx("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8",children:s.jsxs("div",{className:"max-w-6xl mx-auto grid lg:grid-cols-[1fr_380px] gap-12 xl:gap-16 items-start",children:[s.jsxs(T.div,{className:"bg-white rounded-2xl shadow-sm border border-gray-100 overflow-hidden",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},children:[s.jsxs("div",{className:"p-6 sm:p-8 border-b border-gray-100",children:[s.jsx("h2",{className:"text-xl font-bold text-primary",children:"Send us a message"}),s.jsx("p",{className:"text-gray-500 text-sm mt-1",children:"Fill in the details below and we'll be in touch."})]}),s.jsx("style",{children:` .responsive-iframe { width:100% !important; max-width:100% !important; box-sizing:border-box; } @media (width:540px) { .responsive-iframe { height:900px !important; min-height:800px !important; } } @media (width:720px) { .responsive-iframe { height:850px !important; min-height:800px !important; } } @media (max-width:480px) { .responsive-iframe { height:950px !important; min-height:750px !important; } } @media (min-width:481px) and (max-width:767px) { .responsive-iframe { height:900px !important; min-height:800px !important; } } @media (min-width:768px) { .responsive-iframe { height:769px !important; min-height:769px !important; } } `}),s.jsx("iframe",{src:"https://api.synapseai.us/widget/form/7ZPu8n1WV5GUmpubXbPr",style:{width:"100%",height:"769px",border:"none",display:"block",maxWidth:"100%",minHeight:"700px"},className:"responsive-iframe w-full block max-w-full min-h-[700px] h-[769px]",id:"inline-7ZPu8n1WV5GUmpubXbPr","data-layout":"{'id':'INLINE'}","data-trigger-type":"alwaysShow","data-trigger-value":"","data-activation-type":"alwaysActivated","data-activation-value":"","data-deactivation-type":"neverDeactivate","data-deactivation-value":"","data-form-name":"General Contact Form","data-height":"769","data-layout-iframe-id":"inline-7ZPu8n1WV5GUmpubXbPr","data-form-id":"7ZPu8n1WV5GUmpubXbPr",title:"General Contact Form"})]}),s.jsxs(T.div,{className:"flex flex-col gap-6",initial:{opacity:0,x:20},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.6,delay:.15},children:[s.jsxs("div",{className:"bg-[#080845] rounded-2xl p-6 text-white",children:[s.jsx("p",{className:"text-xs uppercase tracking-widest text-secondary font-semibold mb-5",children:"What happens next"}),s.jsx("div",{className:"space-y-5",children:a6.map((e,t)=>s.jsxs("div",{className:"flex gap-4",children:[s.jsx("div",{className:"w-8 h-8 rounded-full bg-secondary/20 flex items-center justify-center text-secondary font-bold text-xs flex-shrink-0",children:e.step}),s.jsxs("div",{children:[s.jsx("p",{className:"font-semibold text-white text-sm",children:e.title}),s.jsx("p",{className:"text-gray-400 text-xs mt-0.5",children:e.desc})]})]},t))})]}),s.jsxs("div",{className:"bg-white rounded-2xl border border-gray-100 p-6 shadow-sm",children:[s.jsx("h3",{className:"font-bold text-primary text-sm mb-5",children:"Contact Information"}),s.jsxs("div",{className:"space-y-4",children:[s.jsxs("a",{href:"mailto:info@synapseai.us",className:"flex items-center gap-3 group",children:[s.jsx("div",{className:"w-9 h-9 rounded-lg bg-secondary/10 flex items-center justify-center flex-shrink-0",children:s.jsx(mw,{className:"h-4 w-4 text-secondary"})}),s.jsx("span",{className:"text-gray-700 text-sm group-hover:text-secondary transition-colors",children:"info@synapseai.us"})]}),s.jsxs("a",{href:"tel:4694027979",className:"flex items-center gap-3 group",children:[s.jsx("div",{className:"w-9 h-9 rounded-lg bg-secondary/10 flex items-center justify-center flex-shrink-0",children:s.jsx(fw,{className:"h-4 w-4 text-secondary"})}),s.jsx("span",{className:"text-gray-700 text-sm group-hover:text-secondary transition-colors",children:"469-402-7979"})]}),s.jsxs("div",{className:"flex items-start gap-3",children:[s.jsx("div",{className:"w-9 h-9 rounded-lg bg-secondary/10 flex items-center justify-center flex-shrink-0",children:s.jsx(Cm,{className:"h-4 w-4 text-secondary"})}),s.jsxs("span",{className:"text-gray-700 text-sm leading-snug",children:["4740 14th St Ste T3",s.jsx("br",{}),"Plano, TX 75074"]})]})]})]}),s.jsxs("div",{className:"bg-white rounded-2xl border border-gray-100 p-6 shadow-sm",children:[s.jsx("h3",{className:"font-bold text-primary text-sm mb-4",children:"Follow Us"}),s.jsx("div",{className:"flex flex-wrap gap-3",children:l6.map(e=>s.jsxs("a",{href:e.href,target:"_blank",rel:"noopener noreferrer","aria-label":e.label,className:"flex items-center gap-2 px-3 py-2 rounded-lg border border-gray-200 text-gray-600 hover:border-secondary hover:text-secondary transition-all duration-200 text-xs font-medium",children:[e.icon,e.label]},e.label))})]})]})]})})})]})}function d6(){return Ye({title:fi.PRIVACY_POLICY,description:"Learn how Synapse AI Solutions collects, uses, and protects your personal information. Our comprehensive privacy policy explains your rights and our data practices."}),s.jsxs("div",{className:"min-h-screen pt-24",children:[s.jsx("section",{className:"bg-primary text-white py-16",children:s.jsxs("div",{className:"max-w-4xl mx-auto px-4 sm:px-6 lg:px-8",children:[s.jsx(q,{href:"/",children:s.jsxs(ae,{variant:"ghost",className:"text-white hover:bg-white/20 mb-6",children:[s.jsx(wm,{className:"mr-2 h-4 w-4"}),"Back to Home"]})}),s.jsx("h1",{className:"text-4xl font-bold mb-4",children:"Privacy Policy"}),s.jsx("p",{className:"text-xl text-gray-200",children:"Effective Date: May 29, 2025"})]})}),s.jsx("section",{className:"py-16",children:s.jsx("div",{className:"max-w-4xl mx-auto px-4 sm:px-6 lg:px-8",children:s.jsxs("div",{className:"prose prose-lg max-w-none",children:[s.jsx("p",{className:"text-lg mb-6",children:'Welcome to Synapse AI Solutions ("we," "us," or "our"). Your privacy is important to us. This Privacy Policy explains how we collect, use, disclose, and protect your personal information when you visit our website synapseai.replit.app and use our services. By using our website, you agree to the practices described in this policy.'}),s.jsx("h2",{children:"1. Information We Collect"}),s.jsx("h3",{children:"Information You Provide Directly"}),s.jsxs("ul",{children:[s.jsx("li",{children:"Name, email address, phone number"}),s.jsx("li",{children:"Company name and job title"}),s.jsx("li",{children:"Project requirements and business needs"}),s.jsx("li",{children:"Communication preferences"}),s.jsx("li",{children:"Any other information you submit via forms, subscriptions, or communications"})]}),s.jsx("h3",{children:"Information We Collect Automatically"}),s.jsxs("ul",{children:[s.jsx("li",{children:"IP address and approximate geographic location"}),s.jsx("li",{children:"Browser type, version, and device information"}),s.jsx("li",{children:"Pages visited, time spent on pages, and navigation paths"}),s.jsx("li",{children:"Referral source, search terms, and interaction data via cookies and similar technologies"})]}),s.jsx("h2",{children:"2. How We Use Your Information"}),s.jsx("p",{children:"We use your information to:"}),s.jsxs("ul",{children:[s.jsx("li",{children:"Provide, maintain, and improve our AI and technology services"}),s.jsx("li",{children:"Respond to your inquiries and provide customer support"}),s.jsx("li",{children:"Send you updates, newsletters, and promotional materials (with your consent where required)"}),s.jsx("li",{children:"Analyze website usage to enhance user experience and security"}),s.jsx("li",{children:"Comply with legal obligations and enforce our terms of service"})]}),s.jsx("h2",{children:"3. Information Sharing and Disclosure"}),s.jsx("p",{children:"We do not sell or rent your personal information to third parties."}),s.jsx("p",{children:"We may share your information with:"}),s.jsxs("ul",{children:[s.jsx("li",{children:"Trusted service providers who assist us in operating our website and business (e.g., hosting, analytics)"}),s.jsx("li",{children:"Analytics services such as Ahrefs Web Analytics for website performance insights"}),s.jsx("li",{children:"Legal authorities when required by law or to protect our rights and safety"})]}),s.jsx("p",{children:"All third parties are contractually obligated to protect your information and use it only for permitted purposes."}),s.jsx("h2",{children:"4. Data Security"}),s.jsx("p",{children:"We implement industry-standard technical and organizational measures to safeguard your personal data, including:"}),s.jsxs("ul",{children:[s.jsx("li",{children:"Encryption of data in transit and at rest"}),s.jsx("li",{children:"Secure servers and firewalls"}),s.jsx("li",{children:"Regular security assessments and updates"}),s.jsx("li",{children:"Access controls limiting data access to authorized personnel only"})]}),s.jsx("p",{children:"While we strive to protect your information, no method of transmission or storage is 100% secure."}),s.jsx("h2",{children:"5. Your Rights and Choices"}),s.jsx("p",{children:"Under applicable laws, including Texas privacy laws, you have the right to:"}),s.jsxs("ul",{children:[s.jsx("li",{children:"Access the personal information we hold about you"}),s.jsx("li",{children:"Request correction of inaccurate or incomplete information"}),s.jsx("li",{children:"Request deletion of your personal data, subject to legal and operational exceptions"}),s.jsx("li",{children:"Withdraw consent to data processing where applicable"}),s.jsx("li",{children:"Object to certain data processing activities, such as direct marketing"})]}),s.jsx("p",{children:"To exercise these rights, please contact us at info@synapseai.us. We will respond within a reasonable timeframe as required by law."}),s.jsx("h2",{children:"6. Cookies and Tracking Technologies"}),s.jsx("p",{children:"We use cookies and similar technologies to:"}),s.jsxs("ul",{children:[s.jsx("li",{children:"Enable essential website functionality"}),s.jsx("li",{children:"Analyze site usage and performance"}),s.jsx("li",{children:"Personalize content and marketing (with your consent where required)"})]}),s.jsx("p",{children:"You can manage cookie preferences through your browser settings. For detailed information, please see our Cookie Policy."}),s.jsx("h2",{children:"7. Data Retention"}),s.jsx("p",{children:"We retain your personal information only as long as necessary to fulfill the purposes described in this policy, comply with legal obligations, resolve disputes, and enforce agreements."}),s.jsx("h2",{children:"8. International Data Transfers"}),s.jsx("p",{children:"Your information may be transferred to and processed in countries other than your own. We ensure appropriate safeguards are in place to protect your data during such transfers in accordance with applicable data protection laws."}),s.jsx("h2",{children:"9. Children's Privacy"}),s.jsx("p",{children:"Our services are not intended for children under 13. We do not knowingly collect personal information from children under 13. If we become aware that we have collected personal information from a child under 13, we will take steps to delete such information."}),s.jsx("h2",{children:"10. Changes to This Policy"}),s.jsx("p",{children:"We may update this Privacy Policy from time to time to reflect changes in our practices or for legal and regulatory reasons. We will notify you of any material changes by posting the new policy on our website and updating the effective date. Your continued use of our services after such changes constitutes acceptance of the updated policy."}),s.jsx("h2",{children:"11. Contact Us"}),s.jsx("p",{children:"If you have questions about this Privacy Policy or our data practices, please contact us at:"}),s.jsxs("p",{children:[s.jsx("strong",{children:"Synapse AI Solutions"}),s.jsx("br",{}),"Email: info@synapseai.us",s.jsx("br",{}),"Phone: 469-402-7979",s.jsx("br",{}),"Address: 4740 14th St Ste T3, Plano, TX 75074"]})]})})})]})}function u6(){return Ye({title:fi.TERMS_OF_SERVICE,description:"Read the Terms of Service for Synapse AI Solutions. Understand your rights and responsibilities when using our AI consulting and technology services."}),s.jsxs("div",{className:"min-h-screen pt-24",children:[s.jsx("section",{className:"bg-primary text-white py-16",children:s.jsxs("div",{className:"max-w-4xl mx-auto px-4 sm:px-6 lg:px-8",children:[s.jsx(q,{href:"/",children:s.jsxs(ae,{variant:"ghost",className:"text-white hover:bg-white/20 mb-6",children:[s.jsx(wm,{className:"mr-2 h-4 w-4"}),"Back to Home"]})}),s.jsx("h1",{className:"text-4xl font-bold mb-4",children:"Terms of Service"}),s.jsx("p",{className:"text-xl text-gray-200",children:"Effective Date: May 29, 2025"})]})}),s.jsx("section",{className:"py-16",children:s.jsx("div",{className:"max-w-4xl mx-auto px-4 sm:px-6 lg:px-8",children:s.jsxs("div",{className:"prose prose-lg max-w-none",children:[s.jsx("p",{className:"text-lg mb-6",children:'Welcome to Synapse AI Solutions ("Company," "we," "us," or "our"). By accessing or using our website synapseai.replit.app and related services ("Services"), you agree to be bound by these Terms of Service ("Terms"). Please read them carefully. If you do not agree to these Terms, please do not use our Services.'}),s.jsx("h2",{children:"1. Acceptance of Terms"}),s.jsx("p",{children:"By using our Services, you acknowledge that you have read, understood, and agree to be legally bound by these Terms and any additional terms referenced herein or provided by us in connection with specific Services."}),s.jsx("h2",{children:"2. Definitions"}),s.jsxs("ul",{children:[s.jsxs("li",{children:[s.jsx("strong",{children:'"Company"'})," refers to Synapse AI Solutions."]}),s.jsxs("li",{children:[s.jsx("strong",{children:'"Services"'})," means all AI consulting, development, technology solutions, and any other services offered by Synapse AI Solutions."]}),s.jsxs("li",{children:[s.jsx("strong",{children:'"User"'})," means any individual or entity accessing or using our website or Services."]}),s.jsxs("li",{children:[s.jsx("strong",{children:'"Content"'})," includes all information, data, text, software, music, sound, photographs, graphics, video, messages, or other materials available through the Services."]})]}),s.jsx("h2",{children:"3. Use License"}),s.jsx("p",{children:"Subject to your compliance with these Terms, we grant you a limited, non-exclusive, non-transferable, revocable license to access and use the Services for your personal or internal business purposes only."}),s.jsx("p",{children:"You agree not to:"}),s.jsxs("ul",{children:[s.jsx("li",{children:"Modify, copy, reproduce, republish, upload, post, transmit, or distribute any Content from the Services except as expressly permitted."}),s.jsx("li",{children:"Use the Services for any commercial purpose or public display without our prior written consent."}),s.jsx("li",{children:"Attempt to reverse engineer, decompile, disassemble, or otherwise attempt to discover the source code or underlying structure of any software provided through the Services."}),s.jsx("li",{children:"Remove, alter, or obscure any copyright, trademark, or other proprietary rights notices on the Services or Content."})]}),s.jsx("h2",{children:"4. User Conduct"}),s.jsx("p",{children:"You agree that you will not use the Services to:"}),s.jsxs("ul",{children:[s.jsx("li",{children:"Upload, post, email, transmit, or otherwise make available any Content that is unlawful, harmful, threatening, abusive, harassing, defamatory, vulgar, obscene, invasive of another's privacy, hateful, or otherwise objectionable."}),s.jsx("li",{children:"Impersonate any person or entity or falsely state or misrepresent your affiliation with any person or entity."}),s.jsx("li",{children:"Transmit unsolicited or unauthorized advertising, promotional materials, spam, or any other form of solicitation."}),s.jsx("li",{children:"Interfere with or disrupt the integrity or performance of the Services or the data contained therein."}),s.jsx("li",{children:"Attempt to gain unauthorized access to any part of the Services or related systems."})]}),s.jsx("h2",{children:"5. Intellectual Property Rights"}),s.jsx("p",{children:"All intellectual property rights in the Services and Content, including but not limited to copyrights, trademarks, trade dress, patents, and trade secrets, are owned by Synapse AI Solutions or its licensors. Nothing in these Terms grants you any ownership rights in the Services or Content."}),s.jsx("p",{children:"You may not use our trademarks, logos, or trade dress without our prior written permission."}),s.jsx("h2",{children:"6. Service Availability and Modifications"}),s.jsx("p",{children:"We strive to maintain the availability and security of the Services but do not guarantee uninterrupted or error-free operation. We reserve the right to:"}),s.jsxs("ul",{children:[s.jsx("li",{children:"Modify, suspend, or discontinue any part of the Services at any time without prior notice."}),s.jsx("li",{children:"Impose limits on certain features or restrict your access to parts or all of the Services without liability."})]}),s.jsx("h2",{children:"7. Privacy"}),s.jsx("p",{children:"Your privacy is important to us. Please review our Privacy Policy to understand our data collection, use, and disclosure practices."}),s.jsx("h2",{children:"8. Limitation of Liability"}),s.jsx("p",{children:"To the fullest extent permitted by Texas law, Synapse AI Solutions and its affiliates, officers, employees, agents, suppliers, or licensors shall not be liable for any:"}),s.jsxs("ul",{children:[s.jsx("li",{children:"Indirect, incidental, special, consequential, or punitive damages,"}),s.jsx("li",{children:"Loss of profits, data, use, goodwill, or other intangible losses,"}),s.jsx("li",{children:"Arising out of or related to your use or inability to use the Services, even if we have been advised of the possibility of such damages."})]}),s.jsx("p",{children:"Our total liability to you for any claim arising from these Terms or your use of the Services shall not exceed the amount you have paid us, if any, in the past twelve (12) months."}),s.jsx("h2",{children:"9. Warranties and Disclaimers"}),s.jsx("p",{children:"At Synapse AI Solutions, we are committed to providing reliable and high-quality AI and technology services. While we strive to ensure our Services are available and functioning as intended, due to the inherent nature of technology and online services, we cannot guarantee that the Services will always be uninterrupted, error-free, or completely secure."}),s.jsx("p",{children:'Accordingly, the Services and all content are provided on an "as is" and "as available" basis, without any explicit or implied warranties, including but not limited to warranties of merchantability, fitness for a particular purpose, or non-infringement.'}),s.jsx("p",{children:"We appreciate your understanding and encourage you to contact us if you experience any issues or have questions — we're here to help and continuously improve your experience."}),s.jsx("h2",{children:"10. Governing Law and Jurisdiction"}),s.jsx("p",{children:"These Terms shall be governed by and construed in accordance with the laws of the State of Texas, without regard to its conflict of law principles."}),s.jsx("p",{children:"You agree to submit to the exclusive jurisdiction of the state and federal courts located in Dallas County, Texas, for the resolution of any disputes arising out of or relating to these Terms or your use of the Services."}),s.jsx("h2",{children:"11. Changes to Terms"}),s.jsx("p",{children:"We reserve the right to update or modify these Terms at any time. If we make material changes, we will provide at least 30 days' notice by posting the updated Terms on our website and updating the effective date."}),s.jsx("p",{children:"Your continued use of the Services after such changes constitutes your acceptance of the new Terms."}),s.jsx("h2",{children:"12. Contact Information"}),s.jsx("p",{children:"If you have any questions about these Terms, please contact us:"}),s.jsxs("p",{children:[s.jsx("strong",{children:"Synapse AI Solutions"}),s.jsx("br",{}),"Email: info@synapseai.us",s.jsx("br",{}),"Phone: 469-402-7979",s.jsx("br",{}),"Address: 4740 14th St Ste T3, Plano, TX 75074"]}),s.jsx("p",{children:"Thank you for choosing Synapse AI Solutions. We look forward to serving your AI and technology needs responsibly and transparently."})]})})})]})}function h6(){return Ye({title:fi.COOKIE_POLICY,description:"Learn about how Synapse AI Solutions uses cookies and tracking technologies on our website. Understand your cookie preferences and control options."}),s.jsxs("div",{className:"min-h-screen pt-24",children:[s.jsx("section",{className:"bg-primary text-white py-16",children:s.jsxs("div",{className:"max-w-4xl mx-auto px-4 sm:px-6 lg:px-8",children:[s.jsx(q,{href:"/",children:s.jsxs(ae,{variant:"ghost",className:"text-white hover:bg-white/20 mb-6",children:[s.jsx(wm,{className:"mr-2 h-4 w-4"}),"Back to Home"]})}),s.jsx("h1",{className:"text-4xl font-bold mb-4",children:"Cookie Policy"}),s.jsx("p",{className:"text-xl text-gray-200",children:"Effective Date: May 29, 2025"})]})}),s.jsx("section",{className:"py-16",children:s.jsx("div",{className:"max-w-4xl mx-auto px-4 sm:px-6 lg:px-8",children:s.jsxs("div",{className:"prose prose-lg max-w-none",children:[s.jsx("p",{children:'This Cookie Policy explains how Synapse AI Solutions ("we," "us," or "our") uses cookies and similar tracking technologies on our website synapseai.replit.app. By using our website, you consent to the use of cookies as described in this policy.'}),s.jsx("h2",{children:"1. What Are Cookies?"}),s.jsx("p",{children:"Cookies are small text files placed on your computer or mobile device when you visit a website. They help websites function efficiently and provide website owners with information about how visitors interact with their sites."}),s.jsx("h2",{children:"2. How We Use Cookies"}),s.jsx("p",{children:"We use cookies to:"}),s.jsxs("ul",{children:[s.jsx("li",{children:"Enhance your browsing experience"}),s.jsx("li",{children:"Analyze website traffic and user behavior"}),s.jsx("li",{children:"Remember your preferences and settings"}),s.jsx("li",{children:"Improve our services and website performance"})]}),s.jsx("h2",{children:"3. Types of Cookies We Use"}),s.jsx("h3",{children:"Essential Cookies"}),s.jsx("p",{children:"These cookies are necessary for the website to operate correctly. Without them, certain features may not work."}),s.jsxs("ul",{children:[s.jsxs("li",{children:[s.jsx("strong",{children:"Session Cookies:"})," Temporary cookies that expire when you close your browser."]}),s.jsxs("li",{children:[s.jsx("strong",{children:"Authentication Cookies:"})," Remember your login status (if applicable)."]})]}),s.jsx("h3",{children:"Performance and Analytics Cookies"}),s.jsx("p",{children:"These cookies help us understand how visitors use our website by collecting anonymous data."}),s.jsxs("ul",{children:[s.jsxs("li",{children:[s.jsx("strong",{children:"Ahrefs Web Analytics:"})," Tracks website usage and user behavior to help us improve the site."]}),s.jsxs("li",{children:[s.jsx("strong",{children:"Page View Tracking:"})," Monitors which pages are visited and how often."]}),s.jsxs("li",{children:[s.jsx("strong",{children:"User Interaction Tracking:"})," Records clicks, scrolling, and time spent on pages."]})]}),s.jsx("h3",{children:"Functional Cookies"}),s.jsx("p",{children:"These cookies remember your preferences to provide a more personalized experience."}),s.jsxs("ul",{children:[s.jsxs("li",{children:[s.jsx("strong",{children:"Preference Cookies:"})," Remember your settings, such as display preferences."]}),s.jsxs("li",{children:[s.jsx("strong",{children:"Language Cookies:"})," Remember your selected language."]})]}),s.jsx("h2",{children:"4. Third-Party Cookies"}),s.jsx("p",{children:"We may allow third-party services to place cookies on your device, including:"}),s.jsxs("ul",{children:[s.jsxs("li",{children:[s.jsx("strong",{children:"Ahrefs Web Analytics:"})," For website analytics and performance monitoring."]}),s.jsxs("li",{children:[s.jsx("strong",{children:"Social Media Plugins:"})," If you interact with social media content embedded on our site."]})]}),s.jsx("p",{children:"These third parties have their own privacy policies and cookie practices."}),s.jsx("h2",{children:"5. Cookie Duration"}),s.jsxs("ul",{children:[s.jsxs("li",{children:[s.jsx("strong",{children:"Session Cookies:"})," Deleted when you close your browser."]}),s.jsxs("li",{children:[s.jsx("strong",{children:"Persistent Cookies:"})," Remain on your device for a set period (typically 1–2 years) or until you delete them."]})]}),s.jsx("h2",{children:"6. Managing Your Cookie Preferences"}),s.jsx("p",{children:"You can control and manage cookies in several ways:"}),s.jsx("h3",{children:"Browser Settings"}),s.jsx("p",{children:"Most browsers let you:"}),s.jsxs("ul",{children:[s.jsx("li",{children:"Block all cookies"}),s.jsx("li",{children:"Block third-party cookies"}),s.jsx("li",{children:"Delete existing cookies"}),s.jsx("li",{children:"Set your browser to notify you when cookies are set"})]}),s.jsx("p",{children:"Please note that disabling cookies may affect website functionality and your user experience."}),s.jsx("h3",{children:"Opt-Out Links"}),s.jsx("ul",{children:s.jsxs("li",{children:[s.jsx("strong",{children:"Ahrefs Web Analytics:"})," You can opt out of Ahrefs tracking by using browser privacy settings."]})}),s.jsx("h2",{children:"7. Impact of Disabling Cookies"}),s.jsx("p",{children:"If you disable cookies, some features of our website may not work properly, including:"}),s.jsxs("ul",{children:[s.jsx("li",{children:"Inability to remember your preferences"}),s.jsx("li",{children:"Reduced website functionality"}),s.jsx("li",{children:"Less personalized experience"})]}),s.jsx("h2",{children:"8. Updates to This Policy"}),s.jsx("p",{children:"We may update this Cookie Policy occasionally to reflect changes in our practices or legal requirements. We will notify you of any material changes by posting the updated policy on our website with a revised effective date."}),s.jsx("h2",{children:"9. Contact Us"}),s.jsx("p",{children:"If you have any questions or concerns about our use of cookies or this Cookie Policy, please contact us:"}),s.jsxs("p",{children:[s.jsx("strong",{children:"Synapse AI Solutions"}),s.jsx("br",{}),"Email: info@synapseai.us",s.jsx("br",{}),"Phone: 469-402-7979",s.jsx("br",{}),"Address: 4740 14th St Ste T3, Plano, TX 75074"]}),s.jsx("p",{children:"Thank you for visiting Synapse AI Solutions. We are committed to protecting your privacy and providing a transparent browsing experience."})]})})})]})}const Eo=p.forwardRef(({className:e,type:t,...n},r)=>s.jsx("input",{type:t,className:Z("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",e),ref:r,...n}));Eo.displayName="Input";var m6="Label",Vb=p.forwardRef((e,t)=>s.jsx(X.label,{...e,ref:t,onMouseDown:n=>{var i;n.target.closest("button, input, select, textarea")||((i=e.onMouseDown)==null||i.call(e,n),!n.defaultPrevented&&n.detail>1&&n.preventDefault())}}));Vb.displayName=m6;var zb=Vb;const p6=ec("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),Rr=p.forwardRef(({className:e,...t},n)=>s.jsx(zb,{ref:n,className:Z(p6(),e),...t}));Rr.displayName=zb.displayName;const Bb=p.forwardRef(({className:e,...t},n)=>s.jsx("textarea",{className:Z("flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-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 md:text-sm",e),ref:n,...t}));Bb.displayName="Textarea";function Fg(e,[t,n]){return Math.min(n,Math.max(t,e))}var f6=p.createContext(void 0);function vp(e){const t=p.useContext(f6);return e||t||"ltr"}var wd=0;function Wb(){p.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??_g()),document.body.insertAdjacentElement("beforeend",e[1]??_g()),wd++,()=>{wd===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),wd--}},[])}function _g(){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 bd="focusScope.autoFocusOnMount",jd="focusScope.autoFocusOnUnmount",Vg={bubbles:!1,cancelable:!0},x6="FocusScope",wp=p.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:i,onUnmountAutoFocus:o,...a}=e,[l,c]=p.useState(null),d=Rt(i),u=Rt(o),h=p.useRef(null),m=de(t,x=>c(x)),g=p.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;p.useEffect(()=>{if(r){let x=function(v){if(g.paused||!l)return;const j=v.target;l.contains(j)?h.current=j:Hn(h.current,{select:!0})},b=function(v){if(g.paused||!l)return;const j=v.relatedTarget;j!==null&&(l.contains(j)||Hn(h.current,{select:!0}))},y=function(v){if(document.activeElement===document.body)for(const N of v)N.removedNodes.length>0&&Hn(l)};document.addEventListener("focusin",x),document.addEventListener("focusout",b);const f=new MutationObserver(y);return l&&f.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",x),document.removeEventListener("focusout",b),f.disconnect()}}},[r,l,g.paused]),p.useEffect(()=>{if(l){Bg.add(g);const x=document.activeElement;if(!l.contains(x)){const y=new CustomEvent(bd,Vg);l.addEventListener(bd,d),l.dispatchEvent(y),y.defaultPrevented||(g6(j6($b(l)),{select:!0}),document.activeElement===x&&Hn(l))}return()=>{l.removeEventListener(bd,d),setTimeout(()=>{const y=new CustomEvent(jd,Vg);l.addEventListener(jd,u),l.dispatchEvent(y),y.defaultPrevented||Hn(x??document.body,{select:!0}),l.removeEventListener(jd,u),Bg.remove(g)},0)}}},[l,d,u,g]);const w=p.useCallback(x=>{if(!n&&!r||g.paused)return;const b=x.key==="Tab"&&!x.altKey&&!x.ctrlKey&&!x.metaKey,y=document.activeElement;if(b&&y){const f=x.currentTarget,[v,j]=y6(f);v&&j?!x.shiftKey&&y===j?(x.preventDefault(),n&&Hn(v,{select:!0})):x.shiftKey&&y===v&&(x.preventDefault(),n&&Hn(j,{select:!0})):y===f&&x.preventDefault()}},[n,r,g.paused]);return s.jsx(X.div,{tabIndex:-1,...a,ref:m,onKeyDown:w})});wp.displayName=x6;function g6(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(Hn(r,{select:t}),document.activeElement!==n)return}function y6(e){const t=$b(e),n=zg(t,e),r=zg(t.reverse(),e);return[n,r]}function $b(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const i=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||i?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function zg(e,t){for(const n of e)if(!v6(n,{upTo:t}))return n}function v6(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 w6(e){return e instanceof HTMLInputElement&&"select"in e}function Hn(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&w6(e)&&t&&e.select()}}var Bg=b6();function b6(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=Wg(e,t),e.unshift(t)},remove(t){var n;e=Wg(e,t),(n=e[0])==null||n.resume()}}}function Wg(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function j6(e){return e.filter(t=>t.tagName!=="A")}function N6(e){const t=p.useRef({value:e,previous:e});return p.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}var S6=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},ds=new WeakMap,Ca=new WeakMap,Aa={},Nd=0,Ub=function(e){return e&&(e.host||Ub(e.parentNode))},k6=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=Ub(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},C6=function(e,t,n,r){var i=k6(t,Array.isArray(e)?e:[e]);Aa[n]||(Aa[n]=new WeakMap);var o=Aa[n],a=[],l=new Set,c=new Set(i),d=function(h){!h||l.has(h)||(l.add(h),d(h.parentNode))};i.forEach(d);var u=function(h){!h||c.has(h)||Array.prototype.forEach.call(h.children,function(m){if(l.has(m))u(m);else try{var g=m.getAttribute(r),w=g!==null&&g!=="false",x=(ds.get(m)||0)+1,b=(o.get(m)||0)+1;ds.set(m,x),o.set(m,b),a.push(m),x===1&&w&&Ca.set(m,!0),b===1&&m.setAttribute(n,"true"),w||m.setAttribute(r,"true")}catch(y){console.error("aria-hidden: cannot operate on ",m,y)}})};return u(t),l.clear(),Nd++,function(){a.forEach(function(h){var m=ds.get(h)-1,g=o.get(h)-1;ds.set(h,m),o.set(h,g),m||(Ca.has(h)||h.removeAttribute(r),Ca.delete(h)),g||h.removeAttribute(n)}),Nd--,Nd||(ds=new WeakMap,ds=new WeakMap,Ca=new WeakMap,Aa={})}},Hb=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),i=S6(e);return i?(r.push.apply(r,Array.from(i.querySelectorAll("[aria-live], script"))),C6(r,i,n,"aria-hidden")):function(){return null}},an=function(){return an=Object.assign||function(t){for(var n,r=1,i=arguments.length;r"u")return $6;var t=U6(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},G6=Yb(),_s="data-scroll-locked",q6=function(e,t,n,r){var i=e.left,o=e.top,a=e.right,l=e.gap;return n===void 0&&(n="margin"),` .`.concat(T6,` { overflow: hidden `).concat(r,`; padding-right: `).concat(l,"px ").concat(r,`; } body[`).concat(_s,`] { overflow: hidden `).concat(r,`; overscroll-behavior: contain; `).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&` padding-left: `.concat(i,`px; padding-top: `).concat(o,`px; padding-right: `).concat(a,`px; margin-left:0; margin-top:0; margin-right: `).concat(l,"px ").concat(r,`; `),n==="padding"&&"padding-right: ".concat(l,"px ").concat(r,";")].filter(Boolean).join(""),` } .`).concat(Ka,` { right: `).concat(l,"px ").concat(r,`; } .`).concat(Ya,` { margin-right: `).concat(l,"px ").concat(r,`; } .`).concat(Ka," .").concat(Ka,` { right: 0 `).concat(r,`; } .`).concat(Ya," .").concat(Ya,` { margin-right: 0 `).concat(r,`; } body[`).concat(_s,`] { `).concat(E6,": ").concat(l,`px; } `)},Ug=function(){var e=parseInt(document.body.getAttribute(_s)||"0",10);return isFinite(e)?e:0},K6=function(){p.useEffect(function(){return document.body.setAttribute(_s,(Ug()+1).toString()),function(){var e=Ug()-1;e<=0?document.body.removeAttribute(_s):document.body.setAttribute(_s,e.toString())}},[])},Y6=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,i=r===void 0?"margin":r;K6();var o=p.useMemo(function(){return H6(i)},[i]);return p.createElement(G6,{styles:q6(o,!t,i,n?"":"!important")})},rh=!1;if(typeof window<"u")try{var Ta=Object.defineProperty({},"passive",{get:function(){return rh=!0,!0}});window.addEventListener("test",Ta,Ta),window.removeEventListener("test",Ta,Ta)}catch{rh=!1}var us=rh?{passive:!1}:!1,Q6=function(e){return e.tagName==="TEXTAREA"},Qb=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!Q6(e)&&n[t]==="visible")},X6=function(e){return Qb(e,"overflowY")},Z6=function(e){return Qb(e,"overflowX")},Hg=function(e,t){var n=t.ownerDocument,r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var i=Xb(e,r);if(i){var o=Zb(e,r),a=o[1],l=o[2];if(a>l)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},J6=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},eR=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},Xb=function(e,t){return e==="v"?X6(t):Z6(t)},Zb=function(e,t){return e==="v"?J6(t):eR(t)},tR=function(e,t){return e==="h"&&t==="rtl"?-1:1},nR=function(e,t,n,r,i){var o=tR(e,window.getComputedStyle(t).direction),a=o*r,l=n.target,c=t.contains(l),d=!1,u=a>0,h=0,m=0;do{if(!l)break;var g=Zb(e,l),w=g[0],x=g[1],b=g[2],y=x-b-o*w;(w||y)&&Xb(e,l)&&(h+=y,m+=w);var f=l.parentNode;l=f&&f.nodeType===Node.DOCUMENT_FRAGMENT_NODE?f.host:f}while(!c&&l!==document.body||c&&(t.contains(l)||t===l));return(u&&Math.abs(h)<1||!u&&Math.abs(m)<1)&&(d=!0),d},Ea=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Gg=function(e){return[e.deltaX,e.deltaY]},qg=function(e){return e&&"current"in e?e.current:e},rR=function(e,t){return e[0]===t[0]&&e[1]===t[1]},sR=function(e){return` .block-interactivity-`.concat(e,` {pointer-events: none;} .allow-interactivity-`).concat(e,` {pointer-events: all;} `)},iR=0,hs=[];function oR(e){var t=p.useRef([]),n=p.useRef([0,0]),r=p.useRef(),i=p.useState(iR++)[0],o=p.useState(Yb)[0],a=p.useRef(e);p.useEffect(function(){a.current=e},[e]),p.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var x=A6([e.lockRef.current],(e.shards||[]).map(qg),!0).filter(Boolean);return x.forEach(function(b){return b.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),x.forEach(function(b){return b.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var l=p.useCallback(function(x,b){if("touches"in x&&x.touches.length===2||x.type==="wheel"&&x.ctrlKey)return!a.current.allowPinchZoom;var y=Ea(x),f=n.current,v="deltaX"in x?x.deltaX:f[0]-y[0],j="deltaY"in x?x.deltaY:f[1]-y[1],N,S=x.target,k=Math.abs(v)>Math.abs(j)?"h":"v";if("touches"in x&&k==="h"&&S.type==="range")return!1;var A=Hg(k,S);if(!A)return!0;if(A?N=k:(N=k==="v"?"h":"v",A=Hg(k,S)),!A)return!1;if(!r.current&&"changedTouches"in x&&(v||j)&&(r.current=N),!N)return!0;var R=r.current||N;return nR(R,b,x,R==="h"?v:j)},[]),c=p.useCallback(function(x){var b=x;if(!(!hs.length||hs[hs.length-1]!==o)){var y="deltaY"in b?Gg(b):Ea(b),f=t.current.filter(function(N){return N.name===b.type&&(N.target===b.target||b.target===N.shadowParent)&&rR(N.delta,y)})[0];if(f&&f.should){b.cancelable&&b.preventDefault();return}if(!f){var v=(a.current.shards||[]).map(qg).filter(Boolean).filter(function(N){return N.contains(b.target)}),j=v.length>0?l(b,v[0]):!a.current.noIsolation;j&&b.cancelable&&b.preventDefault()}}},[]),d=p.useCallback(function(x,b,y,f){var v={name:x,delta:b,target:y,should:f,shadowParent:aR(y)};t.current.push(v),setTimeout(function(){t.current=t.current.filter(function(j){return j!==v})},1)},[]),u=p.useCallback(function(x){n.current=Ea(x),r.current=void 0},[]),h=p.useCallback(function(x){d(x.type,Gg(x),x.target,l(x,e.lockRef.current))},[]),m=p.useCallback(function(x){d(x.type,Ea(x),x.target,l(x,e.lockRef.current))},[]);p.useEffect(function(){return hs.push(o),e.setCallbacks({onScrollCapture:h,onWheelCapture:h,onTouchMoveCapture:m}),document.addEventListener("wheel",c,us),document.addEventListener("touchmove",c,us),document.addEventListener("touchstart",u,us),function(){hs=hs.filter(function(x){return x!==o}),document.removeEventListener("wheel",c,us),document.removeEventListener("touchmove",c,us),document.removeEventListener("touchstart",u,us)}},[]);var g=e.removeScrollBar,w=e.inert;return p.createElement(p.Fragment,null,w?p.createElement(o,{styles:sR(i)}):null,g?p.createElement(Y6,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function aR(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const lR=O6(Kb,oR);var bp=p.forwardRef(function(e,t){return p.createElement(fc,an({},e,{ref:t,sideCar:lR}))});bp.classNames=fc.classNames;var cR=[" ","Enter","ArrowUp","ArrowDown"],dR=[" ","Enter"],es="Select",[xc,gc,uR]=fm(es),[yi]=jr(es,[uR,ac]),yc=ac(),[hR,kr]=yi(es),[mR,pR]=yi(es),Jb=e=>{const{__scopeSelect:t,children:n,open:r,defaultOpen:i,onOpenChange:o,value:a,defaultValue:l,onValueChange:c,dir:d,name:u,autoComplete:h,disabled:m,required:g,form:w}=e,x=yc(t),[b,y]=p.useState(null),[f,v]=p.useState(null),[j,N]=p.useState(!1),S=vp(d),[k,A]=Xr({prop:r,defaultProp:i??!1,onChange:o,caller:es}),[R,C]=Xr({prop:a,defaultProp:l,onChange:c,caller:es}),M=p.useRef(null),O=b?w||!!b.closest("form"):!0,[H,E]=p.useState(new Set),W=Array.from(H).map(F=>F.props.value).join(";");return s.jsx(Kw,{...x,children:s.jsxs(hR,{required:g,scope:t,trigger:b,onTriggerChange:y,valueNode:f,onValueNodeChange:v,valueNodeHasChildren:j,onValueNodeHasChildrenChange:N,contentId:An(),value:R,onValueChange:C,open:k,onOpenChange:A,dir:S,triggerPointerDownPosRef:M,disabled:m,children:[s.jsx(xc.Provider,{scope:t,children:s.jsx(mR,{scope:e.__scopeSelect,onNativeOptionAdd:p.useCallback(F=>{E(V=>new Set(V).add(F))},[]),onNativeOptionRemove:p.useCallback(F=>{E(V=>{const P=new Set(V);return P.delete(F),P})},[]),children:n})}),O?s.jsxs(N2,{"aria-hidden":!0,required:g,tabIndex:-1,name:u,autoComplete:h,value:R,onChange:F=>C(F.target.value),disabled:m,form:w,children:[R===void 0?s.jsx("option",{value:""}):null,Array.from(H)]},W):null]})})};Jb.displayName=es;var e2="SelectTrigger",t2=p.forwardRef((e,t)=>{const{__scopeSelect:n,disabled:r=!1,...i}=e,o=yc(n),a=kr(e2,n),l=a.disabled||r,c=de(t,a.onTriggerChange),d=gc(n),u=p.useRef("touch"),[h,m,g]=k2(x=>{const b=d().filter(v=>!v.disabled),y=b.find(v=>v.value===a.value),f=C2(b,x,y);f!==void 0&&a.onValueChange(f.value)}),w=x=>{l||(a.onOpenChange(!0),g()),x&&(a.triggerPointerDownPosRef.current={x:Math.round(x.pageX),y:Math.round(x.pageY)})};return s.jsx(Yw,{asChild:!0,...o,children:s.jsx(X.button,{type:"button",role:"combobox","aria-controls":a.contentId,"aria-expanded":a.open,"aria-required":a.required,"aria-autocomplete":"none",dir:a.dir,"data-state":a.open?"open":"closed",disabled:l,"data-disabled":l?"":void 0,"data-placeholder":S2(a.value)?"":void 0,...i,ref:c,onClick:U(i.onClick,x=>{x.currentTarget.focus(),u.current!=="mouse"&&w(x)}),onPointerDown:U(i.onPointerDown,x=>{u.current=x.pointerType;const b=x.target;b.hasPointerCapture(x.pointerId)&&b.releasePointerCapture(x.pointerId),x.button===0&&x.ctrlKey===!1&&x.pointerType==="mouse"&&(w(x),x.preventDefault())}),onKeyDown:U(i.onKeyDown,x=>{const b=h.current!=="";!(x.ctrlKey||x.altKey||x.metaKey)&&x.key.length===1&&m(x.key),!(b&&x.key===" ")&&cR.includes(x.key)&&(w(),x.preventDefault())})})})});t2.displayName=e2;var n2="SelectValue",r2=p.forwardRef((e,t)=>{const{__scopeSelect:n,className:r,style:i,children:o,placeholder:a="",...l}=e,c=kr(n2,n),{onValueNodeHasChildrenChange:d}=c,u=o!==void 0,h=de(t,c.onValueNodeChange);return Ve(()=>{d(u)},[d,u]),s.jsx(X.span,{...l,ref:h,style:{pointerEvents:"none"},children:S2(c.value)?s.jsx(s.Fragment,{children:a}):o})});r2.displayName=n2;var fR="SelectIcon",s2=p.forwardRef((e,t)=>{const{__scopeSelect:n,children:r,...i}=e;return s.jsx(X.span,{"aria-hidden":!0,...i,ref:t,children:r||"▼"})});s2.displayName=fR;var xR="SelectPortal",i2=e=>s.jsx(zo,{asChild:!0,...e});i2.displayName=xR;var ts="SelectContent",o2=p.forwardRef((e,t)=>{const n=kr(ts,e.__scopeSelect),[r,i]=p.useState();if(Ve(()=>{i(new DocumentFragment)},[]),!n.open){const o=r;return o?is.createPortal(s.jsx(a2,{scope:e.__scopeSelect,children:s.jsx(xc.Slot,{scope:e.__scopeSelect,children:s.jsx("div",{children:e.children})})}),o):null}return s.jsx(l2,{...e,ref:t})});o2.displayName=ts;var Ot=10,[a2,Cr]=yi(ts),gR="SelectContentImpl",yR=ti("SelectContent.RemoveScroll"),l2=p.forwardRef((e,t)=>{const{__scopeSelect:n,position:r="item-aligned",onCloseAutoFocus:i,onEscapeKeyDown:o,onPointerDownOutside:a,side:l,sideOffset:c,align:d,alignOffset:u,arrowPadding:h,collisionBoundary:m,collisionPadding:g,sticky:w,hideWhenDetached:x,avoidCollisions:b,...y}=e,f=kr(ts,n),[v,j]=p.useState(null),[N,S]=p.useState(null),k=de(t,G=>j(G)),[A,R]=p.useState(null),[C,M]=p.useState(null),O=gc(n),[H,E]=p.useState(!1),W=p.useRef(!1);p.useEffect(()=>{if(v)return Hb(v)},[v]),Wb();const F=p.useCallback(G=>{const[ue,...Be]=O().map(ie=>ie.ref.current),[le]=Be.slice(-1),se=document.activeElement;for(const ie of G)if(ie===se||(ie==null||ie.scrollIntoView({block:"nearest"}),ie===ue&&N&&(N.scrollTop=0),ie===le&&N&&(N.scrollTop=N.scrollHeight),ie==null||ie.focus(),document.activeElement!==se))return},[O,N]),V=p.useCallback(()=>F([A,v]),[F,A,v]);p.useEffect(()=>{H&&V()},[H,V]);const{onOpenChange:P,triggerPointerDownPosRef:L}=f;p.useEffect(()=>{if(v){let G={x:0,y:0};const ue=le=>{var se,ie;G={x:Math.abs(Math.round(le.pageX)-(((se=L.current)==null?void 0:se.x)??0)),y:Math.abs(Math.round(le.pageY)-(((ie=L.current)==null?void 0:ie.y)??0))}},Be=le=>{G.x<=10&&G.y<=10?le.preventDefault():v.contains(le.target)||P(!1),document.removeEventListener("pointermove",ue),L.current=null};return L.current!==null&&(document.addEventListener("pointermove",ue),document.addEventListener("pointerup",Be,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",ue),document.removeEventListener("pointerup",Be,{capture:!0})}}},[v,P,L]),p.useEffect(()=>{const G=()=>P(!1);return window.addEventListener("blur",G),window.addEventListener("resize",G),()=>{window.removeEventListener("blur",G),window.removeEventListener("resize",G)}},[P]);const[B,Y]=k2(G=>{const ue=O().filter(se=>!se.disabled),Be=ue.find(se=>se.ref.current===document.activeElement),le=C2(ue,G,Be);le&&setTimeout(()=>le.ref.current.focus())}),re=p.useCallback((G,ue,Be)=>{const le=!W.current&&!Be;(f.value!==void 0&&f.value===ue||le)&&(R(G),le&&(W.current=!0))},[f.value]),Qe=p.useCallback(()=>v==null?void 0:v.focus(),[v]),Ee=p.useCallback((G,ue,Be)=>{const le=!W.current&&!Be;(f.value!==void 0&&f.value===ue||le)&&M(G)},[f.value]),Qt=r==="popper"?sh:c2,Xe=Qt===sh?{side:l,sideOffset:c,align:d,alignOffset:u,arrowPadding:h,collisionBoundary:m,collisionPadding:g,sticky:w,hideWhenDetached:x,avoidCollisions:b}:{};return s.jsx(a2,{scope:n,content:v,viewport:N,onViewportChange:S,itemRefCallback:re,selectedItem:A,onItemLeave:Qe,itemTextRefCallback:Ee,focusSelectedItem:V,selectedItemText:C,position:r,isPositioned:H,searchRef:B,children:s.jsx(bp,{as:yR,allowPinchZoom:!0,children:s.jsx(wp,{asChild:!0,trapped:f.open,onMountAutoFocus:G=>{G.preventDefault()},onUnmountAutoFocus:U(i,G=>{var ue;(ue=f.trigger)==null||ue.focus({preventScroll:!0}),G.preventDefault()}),children:s.jsx(Vo,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:o,onPointerDownOutside:a,onFocusOutside:G=>G.preventDefault(),onDismiss:()=>f.onOpenChange(!1),children:s.jsx(Qt,{role:"listbox",id:f.contentId,"data-state":f.open?"open":"closed",dir:f.dir,onContextMenu:G=>G.preventDefault(),...y,...Xe,onPlaced:()=>E(!0),ref:k,style:{display:"flex",flexDirection:"column",outline:"none",...y.style},onKeyDown:U(y.onKeyDown,G=>{const ue=G.ctrlKey||G.altKey||G.metaKey;if(G.key==="Tab"&&G.preventDefault(),!ue&&G.key.length===1&&Y(G.key),["ArrowUp","ArrowDown","Home","End"].includes(G.key)){let le=O().filter(se=>!se.disabled).map(se=>se.ref.current);if(["ArrowUp","End"].includes(G.key)&&(le=le.slice().reverse()),["ArrowUp","ArrowDown"].includes(G.key)){const se=G.target,ie=le.indexOf(se);le=le.slice(ie+1)}setTimeout(()=>F(le)),G.preventDefault()}})})})})})})});l2.displayName=gR;var vR="SelectItemAlignedPosition",c2=p.forwardRef((e,t)=>{const{__scopeSelect:n,onPlaced:r,...i}=e,o=kr(ts,n),a=Cr(ts,n),[l,c]=p.useState(null),[d,u]=p.useState(null),h=de(t,k=>u(k)),m=gc(n),g=p.useRef(!1),w=p.useRef(!0),{viewport:x,selectedItem:b,selectedItemText:y,focusSelectedItem:f}=a,v=p.useCallback(()=>{if(o.trigger&&o.valueNode&&l&&d&&x&&b&&y){const k=o.trigger.getBoundingClientRect(),A=d.getBoundingClientRect(),R=o.valueNode.getBoundingClientRect(),C=y.getBoundingClientRect();if(o.dir!=="rtl"){const se=C.left-A.left,ie=R.left-se,ut=k.left-ie,Xt=k.width+ut,vi=Math.max(Xt,A.width),wi=window.innerWidth-Ot,bi=Fg(ie,[Ot,Math.max(Ot,wi-vi)]);l.style.minWidth=Xt+"px",l.style.left=bi+"px"}else{const se=A.right-C.right,ie=window.innerWidth-R.right-se,ut=window.innerWidth-k.right-ie,Xt=k.width+ut,vi=Math.max(Xt,A.width),wi=window.innerWidth-Ot,bi=Fg(ie,[Ot,Math.max(Ot,wi-vi)]);l.style.minWidth=Xt+"px",l.style.right=bi+"px"}const M=m(),O=window.innerHeight-Ot*2,H=x.scrollHeight,E=window.getComputedStyle(d),W=parseInt(E.borderTopWidth,10),F=parseInt(E.paddingTop,10),V=parseInt(E.borderBottomWidth,10),P=parseInt(E.paddingBottom,10),L=W+F+H+P+V,B=Math.min(b.offsetHeight*5,L),Y=window.getComputedStyle(x),re=parseInt(Y.paddingTop,10),Qe=parseInt(Y.paddingBottom,10),Ee=k.top+k.height/2-Ot,Qt=O-Ee,Xe=b.offsetHeight/2,G=b.offsetTop+Xe,ue=W+F+G,Be=L-ue;if(ue<=Ee){const se=M.length>0&&b===M[M.length-1].ref.current;l.style.bottom="0px";const ie=d.clientHeight-x.offsetTop-x.offsetHeight,ut=Math.max(Qt,Xe+(se?Qe:0)+ie+V),Xt=ue+ut;l.style.height=Xt+"px"}else{const se=M.length>0&&b===M[0].ref.current;l.style.top="0px";const ut=Math.max(Ee,W+x.offsetTop+(se?re:0)+Xe)+Be;l.style.height=ut+"px",x.scrollTop=ue-Ee+x.offsetTop}l.style.margin=`${Ot}px 0`,l.style.minHeight=B+"px",l.style.maxHeight=O+"px",r==null||r(),requestAnimationFrame(()=>g.current=!0)}},[m,o.trigger,o.valueNode,l,d,x,b,y,o.dir,r]);Ve(()=>v(),[v]);const[j,N]=p.useState();Ve(()=>{d&&N(window.getComputedStyle(d).zIndex)},[d]);const S=p.useCallback(k=>{k&&w.current===!0&&(v(),f==null||f(),w.current=!1)},[v,f]);return s.jsx(bR,{scope:n,contentWrapper:l,shouldExpandOnScrollRef:g,onScrollButtonChange:S,children:s.jsx("div",{ref:c,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:j},children:s.jsx(X.div,{...i,ref:h,style:{boxSizing:"border-box",maxHeight:"100%",...i.style}})})})});c2.displayName=vR;var wR="SelectPopperPosition",sh=p.forwardRef((e,t)=>{const{__scopeSelect:n,align:r="start",collisionPadding:i=Ot,...o}=e,a=yc(n);return s.jsx(Qw,{...a,...o,ref:t,align:r,collisionPadding:i,style:{boxSizing:"border-box",...o.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)"}})});sh.displayName=wR;var[bR,jp]=yi(ts,{}),ih="SelectViewport",d2=p.forwardRef((e,t)=>{const{__scopeSelect:n,nonce:r,...i}=e,o=Cr(ih,n),a=jp(ih,n),l=de(t,o.onViewportChange),c=p.useRef(0);return s.jsxs(s.Fragment,{children:[s.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:r}),s.jsx(xc.Slot,{scope:n,children:s.jsx(X.div,{"data-radix-select-viewport":"",role:"presentation",...i,ref:l,style:{position:"relative",flex:1,overflow:"hidden auto",...i.style},onScroll:U(i.onScroll,d=>{const u=d.currentTarget,{contentWrapper:h,shouldExpandOnScrollRef:m}=a;if(m!=null&&m.current&&h){const g=Math.abs(c.current-u.scrollTop);if(g>0){const w=window.innerHeight-Ot*2,x=parseFloat(h.style.minHeight),b=parseFloat(h.style.height),y=Math.max(x,b);if(y0?j:0,h.style.justifyContent="flex-end")}}}c.current=u.scrollTop})})})]})});d2.displayName=ih;var u2="SelectGroup",[jR,NR]=yi(u2),SR=p.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,i=An();return s.jsx(jR,{scope:n,id:i,children:s.jsx(X.div,{role:"group","aria-labelledby":i,...r,ref:t})})});SR.displayName=u2;var h2="SelectLabel",m2=p.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,i=NR(h2,n);return s.jsx(X.div,{id:i.id,...r,ref:t})});m2.displayName=h2;var Rl="SelectItem",[kR,p2]=yi(Rl),f2=p.forwardRef((e,t)=>{const{__scopeSelect:n,value:r,disabled:i=!1,textValue:o,...a}=e,l=kr(Rl,n),c=Cr(Rl,n),d=l.value===r,[u,h]=p.useState(o??""),[m,g]=p.useState(!1),w=de(t,f=>{var v;return(v=c.itemRefCallback)==null?void 0:v.call(c,f,r,i)}),x=An(),b=p.useRef("touch"),y=()=>{i||(l.onValueChange(r),l.onOpenChange(!1))};if(r==="")throw new Error("A 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 s.jsx(kR,{scope:n,value:r,disabled:i,textId:x,isSelected:d,onItemTextChange:p.useCallback(f=>{h(v=>v||((f==null?void 0:f.textContent)??"").trim())},[]),children:s.jsx(xc.ItemSlot,{scope:n,value:r,disabled:i,textValue:u,children:s.jsx(X.div,{role:"option","aria-labelledby":x,"data-highlighted":m?"":void 0,"aria-selected":d&&m,"data-state":d?"checked":"unchecked","aria-disabled":i||void 0,"data-disabled":i?"":void 0,tabIndex:i?void 0:-1,...a,ref:w,onFocus:U(a.onFocus,()=>g(!0)),onBlur:U(a.onBlur,()=>g(!1)),onClick:U(a.onClick,()=>{b.current!=="mouse"&&y()}),onPointerUp:U(a.onPointerUp,()=>{b.current==="mouse"&&y()}),onPointerDown:U(a.onPointerDown,f=>{b.current=f.pointerType}),onPointerMove:U(a.onPointerMove,f=>{var v;b.current=f.pointerType,i?(v=c.onItemLeave)==null||v.call(c):b.current==="mouse"&&f.currentTarget.focus({preventScroll:!0})}),onPointerLeave:U(a.onPointerLeave,f=>{var v;f.currentTarget===document.activeElement&&((v=c.onItemLeave)==null||v.call(c))}),onKeyDown:U(a.onKeyDown,f=>{var j;((j=c.searchRef)==null?void 0:j.current)!==""&&f.key===" "||(dR.includes(f.key)&&y(),f.key===" "&&f.preventDefault())})})})})});f2.displayName=Rl;var zi="SelectItemText",x2=p.forwardRef((e,t)=>{const{__scopeSelect:n,className:r,style:i,...o}=e,a=kr(zi,n),l=Cr(zi,n),c=p2(zi,n),d=pR(zi,n),[u,h]=p.useState(null),m=de(t,y=>h(y),c.onItemTextChange,y=>{var f;return(f=l.itemTextRefCallback)==null?void 0:f.call(l,y,c.value,c.disabled)}),g=u==null?void 0:u.textContent,w=p.useMemo(()=>s.jsx("option",{value:c.value,disabled:c.disabled,children:g},c.value),[c.disabled,c.value,g]),{onNativeOptionAdd:x,onNativeOptionRemove:b}=d;return Ve(()=>(x(w),()=>b(w)),[x,b,w]),s.jsxs(s.Fragment,{children:[s.jsx(X.span,{id:c.textId,...o,ref:m}),c.isSelected&&a.valueNode&&!a.valueNodeHasChildren?is.createPortal(o.children,a.valueNode):null]})});x2.displayName=zi;var g2="SelectItemIndicator",y2=p.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e;return p2(g2,n).isSelected?s.jsx(X.span,{"aria-hidden":!0,...r,ref:t}):null});y2.displayName=g2;var oh="SelectScrollUpButton",v2=p.forwardRef((e,t)=>{const n=Cr(oh,e.__scopeSelect),r=jp(oh,e.__scopeSelect),[i,o]=p.useState(!1),a=de(t,r.onScrollButtonChange);return Ve(()=>{if(n.viewport&&n.isPositioned){let l=function(){const d=c.scrollTop>0;o(d)};const c=n.viewport;return l(),c.addEventListener("scroll",l),()=>c.removeEventListener("scroll",l)}},[n.viewport,n.isPositioned]),i?s.jsx(b2,{...e,ref:a,onAutoScroll:()=>{const{viewport:l,selectedItem:c}=n;l&&c&&(l.scrollTop=l.scrollTop-c.offsetHeight)}}):null});v2.displayName=oh;var ah="SelectScrollDownButton",w2=p.forwardRef((e,t)=>{const n=Cr(ah,e.__scopeSelect),r=jp(ah,e.__scopeSelect),[i,o]=p.useState(!1),a=de(t,r.onScrollButtonChange);return Ve(()=>{if(n.viewport&&n.isPositioned){let l=function(){const d=c.scrollHeight-c.clientHeight,u=Math.ceil(c.scrollTop)c.removeEventListener("scroll",l)}},[n.viewport,n.isPositioned]),i?s.jsx(b2,{...e,ref:a,onAutoScroll:()=>{const{viewport:l,selectedItem:c}=n;l&&c&&(l.scrollTop=l.scrollTop+c.offsetHeight)}}):null});w2.displayName=ah;var b2=p.forwardRef((e,t)=>{const{__scopeSelect:n,onAutoScroll:r,...i}=e,o=Cr("SelectScrollButton",n),a=p.useRef(null),l=gc(n),c=p.useCallback(()=>{a.current!==null&&(window.clearInterval(a.current),a.current=null)},[]);return p.useEffect(()=>()=>c(),[c]),Ve(()=>{var u;const d=l().find(h=>h.ref.current===document.activeElement);(u=d==null?void 0:d.ref.current)==null||u.scrollIntoView({block:"nearest"})},[l]),s.jsx(X.div,{"aria-hidden":!0,...i,ref:t,style:{flexShrink:0,...i.style},onPointerDown:U(i.onPointerDown,()=>{a.current===null&&(a.current=window.setInterval(r,50))}),onPointerMove:U(i.onPointerMove,()=>{var d;(d=o.onItemLeave)==null||d.call(o),a.current===null&&(a.current=window.setInterval(r,50))}),onPointerLeave:U(i.onPointerLeave,()=>{c()})})}),CR="SelectSeparator",j2=p.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e;return s.jsx(X.div,{"aria-hidden":!0,...r,ref:t})});j2.displayName=CR;var lh="SelectArrow",AR=p.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,i=yc(n),o=kr(lh,n),a=Cr(lh,n);return o.open&&a.position==="popper"?s.jsx(Xw,{...i,...r,ref:t}):null});AR.displayName=lh;var TR="SelectBubbleInput",N2=p.forwardRef(({__scopeSelect:e,value:t,...n},r)=>{const i=p.useRef(null),o=de(r,i),a=N6(t);return p.useEffect(()=>{const l=i.current;if(!l)return;const c=window.HTMLSelectElement.prototype,u=Object.getOwnPropertyDescriptor(c,"value").set;if(a!==t&&u){const h=new Event("change",{bubbles:!0});u.call(l,t),l.dispatchEvent(h)}},[a,t]),s.jsx(X.select,{...n,style:{...Wv,...n.style},ref:o,defaultValue:t})});N2.displayName=TR;function S2(e){return e===""||e===void 0}function k2(e){const t=Rt(e),n=p.useRef(""),r=p.useRef(0),i=p.useCallback(a=>{const l=n.current+a;t(l),function c(d){n.current=d,window.clearTimeout(r.current),d!==""&&(r.current=window.setTimeout(()=>c(""),1e3))}(l)},[t]),o=p.useCallback(()=>{n.current="",window.clearTimeout(r.current)},[]);return p.useEffect(()=>()=>window.clearTimeout(r.current),[]),[n,i,o]}function C2(e,t,n){const i=t.length>1&&Array.from(t).every(d=>d===t[0])?t[0]:t,o=n?e.indexOf(n):-1;let a=ER(e,Math.max(o,0));i.length===1&&(a=a.filter(d=>d!==n));const c=a.find(d=>d.textValue.toLowerCase().startsWith(i.toLowerCase()));return c!==n?c:void 0}function ER(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var PR=Jb,A2=t2,IR=r2,RR=s2,MR=i2,T2=o2,DR=d2,E2=m2,P2=f2,LR=x2,OR=y2,I2=v2,R2=w2,M2=j2;const FR=PR,_R=IR,D2=p.forwardRef(({className:e,children:t,...n},r)=>s.jsxs(A2,{ref:r,className:Z("flex h-10 w-full items-center justify-between rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background data-[placeholder]:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",e),...n,children:[t,s.jsx(RR,{asChild:!0,children:s.jsx(et,{className:"h-4 w-4 opacity-50"})})]}));D2.displayName=A2.displayName;const L2=p.forwardRef(({className:e,...t},n)=>s.jsx(I2,{ref:n,className:Z("flex cursor-default items-center justify-center py-1",e),...t,children:s.jsx(Nm,{className:"h-4 w-4"})}));L2.displayName=I2.displayName;const O2=p.forwardRef(({className:e,...t},n)=>s.jsx(R2,{ref:n,className:Z("flex cursor-default items-center justify-center py-1",e),...t,children:s.jsx(et,{className:"h-4 w-4"})}));O2.displayName=R2.displayName;const F2=p.forwardRef(({className:e,children:t,position:n="popper",...r},i)=>s.jsx(MR,{children:s.jsxs(T2,{ref:i,className:Z("relative z-50 max-h-[--radix-select-content-available-height] min-w-[8rem] overflow-y-auto overflow-x-hidden rounded-md border bg-popover text-popover-foreground shadow-md 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 origin-[--radix-select-content-transform-origin]",n==="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:n,...r,children:[s.jsx(L2,{}),s.jsx(DR,{className:Z("p-1",n==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:t}),s.jsx(O2,{})]})}));F2.displayName=T2.displayName;const VR=p.forwardRef(({className:e,...t},n)=>s.jsx(E2,{ref:n,className:Z("py-1.5 pl-8 pr-2 text-sm font-semibold",e),...t}));VR.displayName=E2.displayName;const Gn=p.forwardRef(({className:e,children:t,...n},r)=>s.jsxs(P2,{ref:r,className:Z("relative flex w-full cursor-default 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",e),...n,children:[s.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:s.jsx(OR,{children:s.jsx(uC,{className:"h-4 w-4"})})}),s.jsx(LR,{children:t})]}));Gn.displayName=P2.displayName;const zR=p.forwardRef(({className:e,...t},n)=>s.jsx(M2,{ref:n,className:Z("-mx-1 my-1 h-px bg-muted",e),...t}));zR.displayName=M2.displayName;var vc="Dialog",[_2]=jr(vc),[BR,Yt]=_2(vc),V2=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:i,onOpenChange:o,modal:a=!0}=e,l=p.useRef(null),c=p.useRef(null),[d,u]=Xr({prop:r,defaultProp:i??!1,onChange:o,caller:vc});return s.jsx(BR,{scope:t,triggerRef:l,contentRef:c,contentId:An(),titleId:An(),descriptionId:An(),open:d,onOpenChange:u,onOpenToggle:p.useCallback(()=>u(h=>!h),[u]),modal:a,children:n})};V2.displayName=vc;var z2="DialogTrigger",B2=p.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=Yt(z2,n),o=de(t,i.triggerRef);return s.jsx(X.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":kp(i.open),...r,ref:o,onClick:U(e.onClick,i.onOpenToggle)})});B2.displayName=z2;var Np="DialogPortal",[WR,W2]=_2(Np,{forceMount:void 0}),$2=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:i}=e,o=Yt(Np,t);return s.jsx(WR,{scope:t,forceMount:n,children:p.Children.map(r,a=>s.jsx(Nr,{present:n||o.open,children:s.jsx(zo,{asChild:!0,container:i,children:a})}))})};$2.displayName=Np;var Ml="DialogOverlay",U2=p.forwardRef((e,t)=>{const n=W2(Ml,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,o=Yt(Ml,e.__scopeDialog);return o.modal?s.jsx(Nr,{present:r||o.open,children:s.jsx(UR,{...i,ref:t})}):null});U2.displayName=Ml;var $R=ti("DialogOverlay.RemoveScroll"),UR=p.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=Yt(Ml,n);return s.jsx(bp,{as:$R,allowPinchZoom:!0,shards:[i.contentRef],children:s.jsx(X.div,{"data-state":kp(i.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),ns="DialogContent",H2=p.forwardRef((e,t)=>{const n=W2(ns,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,o=Yt(ns,e.__scopeDialog);return s.jsx(Nr,{present:r||o.open,children:o.modal?s.jsx(HR,{...i,ref:t}):s.jsx(GR,{...i,ref:t})})});H2.displayName=ns;var HR=p.forwardRef((e,t)=>{const n=Yt(ns,e.__scopeDialog),r=p.useRef(null),i=de(t,n.contentRef,r);return p.useEffect(()=>{const o=r.current;if(o)return Hb(o)},[]),s.jsx(G2,{...e,ref:i,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:U(e.onCloseAutoFocus,o=>{var a;o.preventDefault(),(a=n.triggerRef.current)==null||a.focus()}),onPointerDownOutside:U(e.onPointerDownOutside,o=>{const a=o.detail.originalEvent,l=a.button===0&&a.ctrlKey===!0;(a.button===2||l)&&o.preventDefault()}),onFocusOutside:U(e.onFocusOutside,o=>o.preventDefault())})}),GR=p.forwardRef((e,t)=>{const n=Yt(ns,e.__scopeDialog),r=p.useRef(!1),i=p.useRef(!1);return s.jsx(G2,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:o=>{var a,l;(a=e.onCloseAutoFocus)==null||a.call(e,o),o.defaultPrevented||(r.current||(l=n.triggerRef.current)==null||l.focus(),o.preventDefault()),r.current=!1,i.current=!1},onInteractOutside:o=>{var c,d;(c=e.onInteractOutside)==null||c.call(e,o),o.defaultPrevented||(r.current=!0,o.detail.originalEvent.type==="pointerdown"&&(i.current=!0));const a=o.target;((d=n.triggerRef.current)==null?void 0:d.contains(a))&&o.preventDefault(),o.detail.originalEvent.type==="focusin"&&i.current&&o.preventDefault()}})}),G2=p.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:o,...a}=e,l=Yt(ns,n),c=p.useRef(null),d=de(t,c);return Wb(),s.jsxs(s.Fragment,{children:[s.jsx(wp,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:i,onUnmountAutoFocus:o,children:s.jsx(Vo,{role:"dialog",id:l.contentId,"aria-describedby":l.descriptionId,"aria-labelledby":l.titleId,"data-state":kp(l.open),...a,ref:d,onDismiss:()=>l.onOpenChange(!1)})}),s.jsxs(s.Fragment,{children:[s.jsx(qR,{titleId:l.titleId}),s.jsx(YR,{contentRef:c,descriptionId:l.descriptionId})]})]})}),Sp="DialogTitle",q2=p.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=Yt(Sp,n);return s.jsx(X.h2,{id:i.titleId,...r,ref:t})});q2.displayName=Sp;var K2="DialogDescription",Y2=p.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=Yt(K2,n);return s.jsx(X.p,{id:i.descriptionId,...r,ref:t})});Y2.displayName=K2;var Q2="DialogClose",X2=p.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=Yt(Q2,n);return s.jsx(X.button,{type:"button",...r,ref:t,onClick:U(e.onClick,()=>i.onOpenChange(!1))})});X2.displayName=Q2;function kp(e){return e?"open":"closed"}var Z2="DialogTitleWarning",[FD,J2]=f4(Z2,{contentName:ns,titleName:Sp,docsSlug:"dialog"}),qR=({titleId:e})=>{const t=J2(Z2),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users. If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component. For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return p.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},KR="DialogDescriptionWarning",YR=({contentRef:e,descriptionId:t})=>{const r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${J2(KR).contentName}}.`;return p.useEffect(()=>{var o;const i=(o=e.current)==null?void 0:o.getAttribute("aria-describedby");t&&i&&(document.getElementById(t)||console.warn(r))},[r,e,t]),null},ej=V2,QR=B2,tj=$2,wc=U2,bc=H2,jc=q2,Nc=Y2,nj=X2;const XR=ej,ZR=tj,rj=p.forwardRef(({className:e,...t},n)=>s.jsx(wc,{ref:n,className:Z("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}));rj.displayName=wc.displayName;const sj=p.forwardRef(({className:e,children:t,...n},r)=>s.jsxs(ZR,{children:[s.jsx(rj,{}),s.jsxs(bc,{ref:r,className:Z("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:rounded-lg",e),...n,children:[t,s.jsxs(nj,{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:[s.jsx(as,{className:"h-4 w-4"}),s.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));sj.displayName=bc.displayName;const ij=({className:e,...t})=>s.jsx("div",{className:Z("flex flex-col space-y-1.5 text-center sm:text-left",e),...t});ij.displayName="DialogHeader";const oj=p.forwardRef(({className:e,...t},n)=>s.jsx(jc,{ref:n,className:Z("text-lg font-semibold leading-none tracking-tight",e),...t}));oj.displayName=jc.displayName;const JR=p.forwardRef(({className:e,...t},n)=>s.jsx(Nc,{ref:n,className:Z("text-sm text-muted-foreground",e),...t}));JR.displayName=Nc.displayName;var Ad="rovingFocusGroup.onEntryFocus",eM={bubbles:!1,cancelable:!0},Jo="RovingFocusGroup",[ch,aj,tM]=fm(Jo),[nM,lj]=jr(Jo,[tM]),[rM,sM]=nM(Jo),cj=p.forwardRef((e,t)=>s.jsx(ch.Provider,{scope:e.__scopeRovingFocusGroup,children:s.jsx(ch.Slot,{scope:e.__scopeRovingFocusGroup,children:s.jsx(iM,{...e,ref:t})})}));cj.displayName=Jo;var iM=p.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:i=!1,dir:o,currentTabStopId:a,defaultCurrentTabStopId:l,onCurrentTabStopIdChange:c,onEntryFocus:d,preventScrollOnEntryFocus:u=!1,...h}=e,m=p.useRef(null),g=de(t,m),w=vp(o),[x,b]=Xr({prop:a,defaultProp:l??null,onChange:c,caller:Jo}),[y,f]=p.useState(!1),v=Rt(d),j=aj(n),N=p.useRef(!1),[S,k]=p.useState(0);return p.useEffect(()=>{const A=m.current;if(A)return A.addEventListener(Ad,v),()=>A.removeEventListener(Ad,v)},[v]),s.jsx(rM,{scope:n,orientation:r,dir:w,loop:i,currentTabStopId:x,onItemFocus:p.useCallback(A=>b(A),[b]),onItemShiftTab:p.useCallback(()=>f(!0),[]),onFocusableItemAdd:p.useCallback(()=>k(A=>A+1),[]),onFocusableItemRemove:p.useCallback(()=>k(A=>A-1),[]),children:s.jsx(X.div,{tabIndex:y||S===0?-1:0,"data-orientation":r,...h,ref:g,style:{outline:"none",...e.style},onMouseDown:U(e.onMouseDown,()=>{N.current=!0}),onFocus:U(e.onFocus,A=>{const R=!N.current;if(A.target===A.currentTarget&&R&&!y){const C=new CustomEvent(Ad,eM);if(A.currentTarget.dispatchEvent(C),!C.defaultPrevented){const M=j().filter(F=>F.focusable),O=M.find(F=>F.active),H=M.find(F=>F.id===x),W=[O,H,...M].filter(Boolean).map(F=>F.ref.current);hj(W,u)}}N.current=!1}),onBlur:U(e.onBlur,()=>f(!1))})})}),dj="RovingFocusGroupItem",uj=p.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:i=!1,tabStopId:o,children:a,...l}=e,c=An(),d=o||c,u=sM(dj,n),h=u.currentTabStopId===d,m=aj(n),{onFocusableItemAdd:g,onFocusableItemRemove:w,currentTabStopId:x}=u;return p.useEffect(()=>{if(r)return g(),()=>w()},[r,g,w]),s.jsx(ch.ItemSlot,{scope:n,id:d,focusable:r,active:i,children:s.jsx(X.span,{tabIndex:h?0:-1,"data-orientation":u.orientation,...l,ref:t,onMouseDown:U(e.onMouseDown,b=>{r?u.onItemFocus(d):b.preventDefault()}),onFocus:U(e.onFocus,()=>u.onItemFocus(d)),onKeyDown:U(e.onKeyDown,b=>{if(b.key==="Tab"&&b.shiftKey){u.onItemShiftTab();return}if(b.target!==b.currentTarget)return;const y=lM(b,u.orientation,u.dir);if(y!==void 0){if(b.metaKey||b.ctrlKey||b.altKey||b.shiftKey)return;b.preventDefault();let v=m().filter(j=>j.focusable).map(j=>j.ref.current);if(y==="last")v.reverse();else if(y==="prev"||y==="next"){y==="prev"&&v.reverse();const j=v.indexOf(b.currentTarget);v=u.loop?cM(v,j+1):v.slice(j+1)}setTimeout(()=>hj(v))}}),children:typeof a=="function"?a({isCurrentTabStop:h,hasTabStop:x!=null}):a})})});uj.displayName=dj;var oM={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function aM(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function lM(e,t,n){const r=aM(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return oM[r]}function hj(e,t=!1){const n=document.activeElement;for(const r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}function cM(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var dM=cj,uM=uj,Sc="Tabs",[hM]=jr(Sc,[lj]),mj=lj(),[mM,Cp]=hM(Sc),pj=p.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,onValueChange:i,defaultValue:o,orientation:a="horizontal",dir:l,activationMode:c="automatic",...d}=e,u=vp(l),[h,m]=Xr({prop:r,onChange:i,defaultProp:o??"",caller:Sc});return s.jsx(mM,{scope:n,baseId:An(),value:h,onValueChange:m,orientation:a,dir:u,activationMode:c,children:s.jsx(X.div,{dir:u,"data-orientation":a,...d,ref:t})})});pj.displayName=Sc;var fj="TabsList",xj=p.forwardRef((e,t)=>{const{__scopeTabs:n,loop:r=!0,...i}=e,o=Cp(fj,n),a=mj(n);return s.jsx(dM,{asChild:!0,...a,orientation:o.orientation,dir:o.dir,loop:r,children:s.jsx(X.div,{role:"tablist","aria-orientation":o.orientation,...i,ref:t})})});xj.displayName=fj;var gj="TabsTrigger",yj=p.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,disabled:i=!1,...o}=e,a=Cp(gj,n),l=mj(n),c=bj(a.baseId,r),d=jj(a.baseId,r),u=r===a.value;return s.jsx(uM,{asChild:!0,...l,focusable:!i,active:u,children:s.jsx(X.button,{type:"button",role:"tab","aria-selected":u,"aria-controls":d,"data-state":u?"active":"inactive","data-disabled":i?"":void 0,disabled:i,id:c,...o,ref:t,onMouseDown:U(e.onMouseDown,h=>{!i&&h.button===0&&h.ctrlKey===!1?a.onValueChange(r):h.preventDefault()}),onKeyDown:U(e.onKeyDown,h=>{[" ","Enter"].includes(h.key)&&a.onValueChange(r)}),onFocus:U(e.onFocus,()=>{const h=a.activationMode!=="manual";!u&&!i&&h&&a.onValueChange(r)})})})});yj.displayName=gj;var vj="TabsContent",wj=p.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,forceMount:i,children:o,...a}=e,l=Cp(vj,n),c=bj(l.baseId,r),d=jj(l.baseId,r),u=r===l.value,h=p.useRef(u);return p.useEffect(()=>{const m=requestAnimationFrame(()=>h.current=!1);return()=>cancelAnimationFrame(m)},[]),s.jsx(Nr,{present:i||u,children:({present:m})=>s.jsx(X.div,{"data-state":u?"active":"inactive","data-orientation":l.orientation,role:"tabpanel","aria-labelledby":c,hidden:!m,id:d,tabIndex:0,...a,ref:t,style:{...e.style,animationDuration:h.current?"0s":void 0},children:m&&o})})});wj.displayName=vj;function bj(e,t){return`${e}-trigger-${t}`}function jj(e,t){return`${e}-content-${t}`}var pM=pj,Nj=xj,Sj=yj,kj=wj;const fM=pM,Cj=p.forwardRef(({className:e,...t},n)=>s.jsx(Nj,{ref:n,className:Z("inline-flex h-10 items-center justify-center rounded-md bg-muted p-1 text-muted-foreground",e),...t}));Cj.displayName=Nj.displayName;const dh=p.forwardRef(({className:e,...t},n)=>s.jsx(Sj,{ref:n,className:Z("inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm",e),...t}));dh.displayName=Sj.displayName;const uh=p.forwardRef(({className:e,...t},n)=>s.jsx(kj,{ref:n,className:Z("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",e),...t}));uh.displayName=kj.displayName;const xM="modulepreload",gM=function(e){return"/"+e},Kg={},yM=function(t,n,r){let i=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const a=document.querySelector("meta[property=csp-nonce]"),l=(a==null?void 0:a.nonce)||(a==null?void 0:a.getAttribute("nonce"));i=Promise.allSettled(n.map(c=>{if(c=gM(c),c in Kg)return;Kg[c]=!0;const d=c.endsWith(".css"),u=d?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${c}"]${u}`))return;const h=document.createElement("link");if(h.rel=d?"stylesheet":xM,d||(h.as="script"),h.crossOrigin="",h.href=c,l&&h.setAttribute("nonce",l),document.head.appendChild(h),d)return new Promise((m,g)=>{h.addEventListener("load",m),h.addEventListener("error",()=>g(new Error(`Unable to preload CSS for ${c}`)))})}))}function o(a){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=a,window.dispatchEvent(l),!l.defaultPrevented)throw a}return i.then(a=>{for(const l of a||[])l.status==="rejected"&&o(l.reason);return t().catch(o)})};function vM({value:e,onChange:t}){const[n,r]=p.useState(null);if(p.useEffect(()=>{let j=!0;return yM(()=>import("./index-CxJf0cEY.js").then(N=>N.k),[]).then(N=>{j&&r(N)}).catch(N=>{console.error("Failed to load MDX editor",N)}),()=>{j=!1}},[]),!n)return s.jsx("div",{className:"rounded-md border border-dashed border-gray-300 bg-white p-6 text-center text-sm text-gray-500",children:"Loading editor…"});const{MDXEditor:i,toolbarPlugin:o,listsPlugin:a,quotePlugin:l,headingsPlugin:c,linkPlugin:d,markdownShortcutPlugin:u,tablePlugin:h,codeBlockPlugin:m,UndoRedo:g,BoldItalicUnderlineToggles:w,BlockTypeSelect:x,CodeToggle:b,CreateLink:y,InsertTable:f,ListsToggle:v}=n;return s.jsx("div",{className:"border rounded-md bg-white [&_.mdxeditor-toolbar]:sticky [&_.mdxeditor-toolbar]:top-0 [&_.mdxeditor-toolbar]:z-10 [&_.mdxeditor-toolbar]:bg-white [&_.mdxeditor-popup-container]:z-50",children:s.jsx(i,{markdown:e,onChange:t,className:"min-h-[320px]",contentEditableClassName:"prose max-w-none min-h-[260px] focus:outline-none p-4",plugins:[o({toolbarContents:()=>s.jsxs(s.Fragment,{children:[s.jsx(g,{}),s.jsx(w,{}),s.jsx(x,{}),s.jsx(b,{}),s.jsx(y,{}),s.jsx(v,{}),s.jsx(f,{})]})}),a(),l(),c({allowedHeadingLevels:[1,2,3,4,5,6]}),d(),h(),m({defaultCodeBlockLanguage:"ts"}),u()]})})}function wM(){var H;const[e,t]=p.useState([]),[n,r]=p.useState(!0),[i,o]=p.useState(!1),[a,l]=p.useState(null),[c,d]=p.useState(!1),[u,h]=p.useState(!1),[m,g]=p.useState({title:"",summary:"",content:"",imageUrl:"",category:""}),{toast:w}=pm(),[x,b]=os(),y=async E=>{var F;const W=(F=E.target.files)==null?void 0:F[0];if(W){if(W.size>5*1024*1024){w({title:"File too large",description:"Image must be less than 5MB",variant:"destructive"});return}if(!W.type.startsWith("image/")){w({title:"Invalid file type",description:"Please upload an image file",variant:"destructive"});return}d(!0);try{const V=new FormData;V.append("image",W);const L=await(await wn("POST","/api/upload/image",V)).json();g(B=>({...B,imageUrl:L.url})),w({title:"Success",description:"Image uploaded successfully"})}catch(V){console.error("Image upload failed:",V),w({title:"Upload failed",description:"Failed to upload image. Please try again.",variant:"destructive"})}finally{d(!1);const V=document.getElementById("image-upload");V&&(V.value="")}}},f=async()=>{if(m.imageUrl)try{await wn("DELETE",`/api/upload/image?url=${encodeURIComponent(m.imageUrl)}`),g(E=>({...E,imageUrl:""})),w({title:"Success",description:"Image removed successfully"})}catch(E){console.error("Image deletion failed:",E),w({title:"Deletion failed",description:"Failed to delete image. Please try again.",variant:"destructive"})}};p.useEffect(()=>{v()},[]);const v=async()=>{try{const W=await(await wn("GET","/api/blogs")).json();t(W)}catch{w({title:"Error",description:"Failed to fetch blog posts",variant:"destructive"})}finally{r(!1)}},j=e.length,N=e.reduce((E,W)=>{const F=W.category||"Uncategorized";return E[F]=(E[F]||0)+1,E},{}),S=((H=Object.entries(N).sort(([,E],[,W])=>W-E)[0])==null?void 0:H[0])||"N/A",k=e.filter(E=>{const W=new Date(E.createdAt),F=new Date;return F.setDate(F.getDate()-7),W>F}).length,A=async E=>{if(E.preventDefault(),u)return;if(!m.title.trim()){w({title:"Missing title",description:"Please add a title before saving the post.",variant:"destructive"});return}if(!m.content.trim()){w({title:"Missing content",description:"Write the article content in the editor to continue.",variant:"destructive"});return}const W={title:m.title.trim(),summary:m.summary.trim()?m.summary.trim():null,content:m.content,imageUrl:m.imageUrl.trim()?m.imageUrl.trim():null,category:m.category.trim()?m.category.trim():null};h(!0);try{a?(await wn("PUT",`/api/blogs/${a.id}`,W),w({title:"Success",description:"Blog post updated successfully"})):(await wn("POST","/api/blogs",W),w({title:"Success",description:"Blog post created successfully"})),o(!1),l(null),g({title:"",summary:"",content:"",imageUrl:"",category:""}),v()}catch{w({title:"Error",description:a?"Failed to update blog post":"Failed to create blog post",variant:"destructive"})}finally{h(!1)}},R=E=>{l(E),g({title:E.title,summary:E.summary||"",content:E.content,imageUrl:E.imageUrl||"",category:E.category||""}),o(!0)},C=async E=>{if(confirm("Are you sure you want to delete this blog post?"))try{await wn("DELETE",`/api/blogs/${E}`),w({title:"Success",description:"Blog post deleted successfully"}),v()}catch{w({title:"Error",description:"Failed to delete blog post",variant:"destructive"})}},M=async()=>{try{await wn("DELETE","/api/admin/session"),b("/"),w({title:"Success",description:"Admin session closed successfully"})}catch{w({title:"Error",description:"Failed to close the admin session",variant:"destructive"})}},O=()=>{l(null),g({title:"",summary:"",content:"",imageUrl:"",category:""}),h(!1),o(!0)};return n?s.jsx("div",{className:"min-h-screen flex items-center justify-center",children:s.jsx("div",{className:"text-xl",children:"Loading..."})}):s.jsx("div",{className:"min-h-screen bg-gray-50 pt-24 pb-12",children:s.jsxs("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8",children:[s.jsxs("div",{className:"flex flex-col gap-6 md:flex-row md:items-center md:justify-between mb-8",children:[s.jsxs("div",{children:[s.jsx("h1",{className:"text-3xl font-bold text-gray-900",children:"Admin Dashboard"}),s.jsx("p",{className:"text-gray-600 mt-2",children:"Manage Synapse AI blog content, publishing schedule, and supporting assets."}),s.jsx("div",{className:"mt-2 text-sm text-gray-500",children:"📊 Analytics are tracked with Ahrefs Web Analytics"})]}),s.jsxs("div",{className:"flex flex-wrap items-center gap-3 justify-end",children:[s.jsxs(ae,{onClick:()=>b("/blogs"),variant:"outline",children:[s.jsx(rx,{className:"h-4 w-4 mr-2"}),"View Site"]}),s.jsxs(ae,{onClick:O,children:[s.jsx(rd,{className:"h-4 w-4 mr-2"}),"New Post"]}),s.jsxs(ae,{onClick:M,variant:"outline",children:[s.jsx(SC,{className:"h-4 w-4 mr-2"}),"Logout"]})]})]}),s.jsxs(fM,{defaultValue:"overview",className:"space-y-6",children:[s.jsxs(Cj,{children:[s.jsx(dh,{value:"overview",children:"Overview"}),s.jsx(dh,{value:"blogs",children:"Blog Management"})]}),s.jsxs(uh,{value:"overview",children:[s.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-6 mb-8",children:[s.jsxs(Wt,{children:[s.jsx(en,{className:"pb-3",children:s.jsxs(bn,{className:"text-sm font-medium text-gray-600 flex items-center gap-2",children:[s.jsx(sx,{className:"h-4 w-4"}),"Total Posts"]})}),s.jsxs(tn,{children:[s.jsx("div",{className:"text-2xl font-bold",children:j}),s.jsx("p",{className:"text-xs text-gray-500 mt-1",children:"Published articles"})]})]}),s.jsxs(Wt,{children:[s.jsx(en,{className:"pb-3",children:s.jsxs(bn,{className:"text-sm font-medium text-gray-600 flex items-center gap-2",children:[s.jsx(sx,{className:"h-4 w-4"}),"Categories"]})}),s.jsxs(tn,{children:[s.jsx("div",{className:"text-2xl font-bold",children:Object.keys(N).length}),s.jsx("p",{className:"text-xs text-gray-500 mt-1",children:"Different topics"})]})]}),s.jsxs(Wt,{children:[s.jsx(en,{className:"pb-3",children:s.jsxs(bn,{className:"text-sm font-medium text-gray-600 flex items-center gap-2",children:[s.jsx($o,{className:"h-4 w-4"}),"Recent Posts"]})}),s.jsxs(tn,{children:[s.jsx("div",{className:"text-2xl font-bold text-green-600",children:k}),s.jsx("p",{className:"text-xs text-gray-500 mt-1",children:"Last 7 days"})]})]}),s.jsxs(Wt,{children:[s.jsx(en,{className:"pb-3",children:s.jsx(bn,{className:"text-sm font-medium text-gray-600",children:"Most Active Category"})}),s.jsxs(tn,{children:[s.jsx("div",{className:"text-lg font-bold",children:S}),s.jsxs("p",{className:"text-xs text-gray-500 mt-1",children:[N[S]||0," posts"]})]})]})]}),s.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-6",children:[s.jsxs(Wt,{children:[s.jsx(en,{children:s.jsx(bn,{children:"Quick Actions"})}),s.jsxs(tn,{className:"space-y-3",children:[s.jsxs(ae,{onClick:O,className:"w-full justify-start",children:[s.jsx(rd,{className:"h-4 w-4 mr-2"}),"Create New Blog Post"]}),s.jsxs(ae,{onClick:()=>b("/blogs"),variant:"outline",className:"w-full justify-start",children:[s.jsx(rx,{className:"h-4 w-4 mr-2"}),"View Public Blog"]})]})]}),s.jsxs(Wt,{children:[s.jsx(en,{children:s.jsx(bn,{children:"Recent Blog Posts"})}),s.jsx(tn,{children:s.jsxs("div",{className:"space-y-3",children:[e.slice(0,5).map(E=>s.jsxs("div",{className:"flex justify-between items-center p-2 border rounded",children:[s.jsxs("div",{className:"flex-1",children:[s.jsx("h4",{className:"text-sm font-medium truncate",children:E.title}),s.jsx("p",{className:"text-xs text-gray-500",children:new Date(E.createdAt).toLocaleDateString()})]}),s.jsx(ae,{size:"sm",variant:"outline",onClick:()=>R(E),children:s.jsx(ox,{className:"h-3 w-3"})})]},E.id)),e.length===0&&s.jsx("p",{className:"text-sm text-gray-500 text-center py-4",children:"No blog posts yet. Create your first post!"})]})})]})]})]}),s.jsx(uh,{value:"blogs",children:s.jsxs(Wt,{children:[s.jsx(en,{children:s.jsxs("div",{className:"flex justify-between items-center",children:[s.jsx(bn,{children:"Blog Posts"}),s.jsxs(ae,{onClick:O,children:[s.jsx(rd,{className:"h-4 w-4 mr-2"}),"New Post"]})]})}),s.jsx(tn,{children:s.jsx("div",{className:"space-y-4",children:e.length===0?s.jsx("p",{className:"text-gray-500 text-center py-8",children:"No blog posts yet. Create your first post!"}):e.map(E=>s.jsxs("div",{className:"flex items-center justify-between p-4 border rounded-lg",children:[s.jsxs("div",{className:"flex-1",children:[s.jsx("h3",{className:"font-semibold",children:E.title}),s.jsx("p",{className:"text-sm text-gray-600 mt-1",children:E.summary??"No summary added yet."}),s.jsxs("div",{className:"flex items-center gap-4 mt-2 text-xs text-gray-500",children:[s.jsxs("span",{children:["Category: ",E.category||"Uncategorized"]}),s.jsxs("span",{children:["Created: ",new Date(E.createdAt).toLocaleDateString()]})]})]}),s.jsxs("div",{className:"flex gap-2",children:[s.jsx(ae,{size:"sm",variant:"outline",onClick:()=>R(E),children:s.jsx(ox,{className:"h-4 w-4"})}),s.jsx(ae,{size:"sm",variant:"outline",onClick:()=>C(E.id),children:s.jsx(OC,{className:"h-4 w-4"})})]})]},E.id))})})]})})]}),s.jsx(XR,{open:i,onOpenChange:o,children:s.jsxs(sj,{className:"max-w-2xl max-h-[90vh] overflow-y-auto",children:[s.jsx(ij,{children:s.jsx(oj,{children:a?"Edit Blog Post":"Create New Blog Post"})}),s.jsxs("form",{onSubmit:A,className:"space-y-4",children:[s.jsxs("div",{children:[s.jsx(Rr,{htmlFor:"title",children:"Title"}),s.jsx(Eo,{id:"title",value:m.title,onChange:E=>g({...m,title:E.target.value}),required:!0})]}),s.jsxs("div",{children:[s.jsx(Rr,{htmlFor:"summary",children:"Summary"}),s.jsx(Bb,{id:"summary",value:m.summary,onChange:E=>g({...m,summary:E.target.value}),rows:3})]}),s.jsxs("div",{children:[s.jsx(Rr,{htmlFor:"category",children:"Category"}),s.jsxs(FR,{value:m.category,onValueChange:E=>g({...m,category:E}),children:[s.jsx(D2,{children:s.jsx(_R,{placeholder:"Select a category"})}),s.jsxs(F2,{children:[s.jsx(Gn,{value:"AI",children:"AI"}),s.jsx(Gn,{value:"Automation",children:"Automation"}),s.jsx(Gn,{value:"Machine Learning",children:"Machine Learning"}),s.jsx(Gn,{value:"Data Science",children:"Data Science"}),s.jsx(Gn,{value:"Cloud Solutions",children:"Cloud Solutions"}),s.jsx(Gn,{value:"Technology",children:"Technology"}),s.jsx(Gn,{value:"Industry Insights",children:"Industry Insights"})]})]})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(Rr,{htmlFor:"imageUrl",children:"Image"}),s.jsxs("div",{className:"flex gap-2",children:[s.jsx(Eo,{id:"imageUrl",type:"url",value:m.imageUrl,onChange:E=>g({...m,imageUrl:E.target.value}),placeholder:"https://example.com/image.jpg or upload below",className:"flex-1"}),s.jsxs("div",{className:"relative",children:[s.jsx("input",{type:"file",accept:"image/*",onChange:y,className:"hidden",id:"image-upload",disabled:c}),s.jsx(ae,{type:"button",variant:"outline",onClick:()=>{var E;return(E=document.getElementById("image-upload"))==null?void 0:E.click()},disabled:c,children:c?s.jsxs(s.Fragment,{children:[s.jsx(ix,{className:"h-4 w-4 mr-2 animate-spin"}),"Uploading..."]}):s.jsxs(s.Fragment,{children:[s.jsx(_C,{className:"h-4 w-4 mr-2"}),"Upload"]})})]})]}),m.imageUrl&&s.jsx("div",{className:"relative mt-3 border rounded-lg p-3 bg-gray-50",children:s.jsxs("div",{className:"flex items-start gap-3",children:[s.jsx("img",{src:m.imageUrl,alt:"Preview",className:"w-24 h-24 object-cover rounded border",onError:E=>{E.currentTarget.src='data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="96" height="96"%3E%3Crect width="96" height="96" fill="%23ddd"/%3E%3Ctext x="50%25" y="50%25" dominant-baseline="middle" text-anchor="middle" font-family="monospace" font-size="12" fill="%23999"%3EInvalid Image%3C/text%3E%3C/svg%3E'}}),s.jsxs("div",{className:"flex-1 min-w-0",children:[s.jsx("p",{className:"text-sm font-medium text-gray-700 mb-1",children:"Image Preview"}),s.jsx("p",{className:"text-xs text-gray-500 break-all",children:m.imageUrl})]}),s.jsx(ae,{type:"button",variant:"ghost",size:"sm",onClick:f,className:"shrink-0",title:"Remove image",children:s.jsx(as,{className:"h-4 w-4"})})]})}),s.jsx("p",{className:"text-xs text-gray-500",children:"Upload an image or paste a URL (max 5MB)"})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(Rr,{children:"Content (MDX)"}),s.jsx(vM,{value:m.content,onChange:E=>g(W=>({...W,content:E}))}),s.jsx("p",{className:"text-xs text-gray-500",children:"Tip: Use the toolbar for formatting, tables, code blocks, and links."})]}),s.jsxs("div",{className:"flex justify-end gap-3",children:[s.jsx(ae,{type:"button",variant:"outline",onClick:()=>o(!1),disabled:u,children:"Cancel"}),s.jsx(ae,{type:"submit",disabled:u,children:u?s.jsxs(s.Fragment,{children:[s.jsx(ix,{className:"h-4 w-4 mr-2 animate-spin"}),a?"Updating...":"Creating..."]}):a?"Update":"Create"})]})]})]})})]})})}function bM({children:e}){const[t,n]=p.useState("checking"),[r,i]=p.useState(""),[o,a]=p.useState(!1),[l,c]=p.useState(null),{toast:d}=pm(),u=g=>{if(g instanceof Error){const w=g.message.match(/^(\d+):\s*(.*)$/);if(w)return{status:Number(w[1]),raw:w[2]}}return null};p.useEffect(()=>{h()},[]);const h=async()=>{try{(await(await wn("GET","/api/admin/session")).json()).isAdmin?(n("authorized"),c(null)):n("prompt")}catch(g){const w=u(g);(w==null?void 0:w.status)===503&&c("Admin access is not configured. Set ADMIN_DASHBOARD_PASSWORD on the server."),n("prompt")}},m=async g=>{if(g.preventDefault(),!r){d({title:"Password required",description:"Enter the admin dashboard password to continue.",variant:"destructive"});return}try{a(!0),await wn("POST","/api/admin/session",{password:r}),i(""),n("authorized"),c(null),d({title:"Access granted",description:"You now have access to the admin dashboard."})}catch(w){const x=u(w),b=(x==null?void 0:x.status)===503?"Admin access is not configured on the server yet.":"The password you entered is invalid.";(x==null?void 0:x.status)===503&&c("Admin access is not configured. Set ADMIN_DASHBOARD_PASSWORD on the server."),d({title:"Access denied",description:b,variant:"destructive"}),n("prompt")}finally{a(!1)}};return t==="checking"?s.jsx("div",{className:"min-h-screen flex items-center justify-center",children:s.jsx("div",{className:"text-xl",children:"Checking access…"})}):t!=="authorized"?s.jsx("div",{className:"min-h-screen flex items-center justify-center bg-gray-50 px-4 pt-24 pb-12",children:s.jsxs(Wt,{className:"w-full max-w-md",children:[s.jsxs(en,{children:[s.jsx(bn,{className:"text-2xl",children:"Admin Dashboard Access"}),s.jsx(l1,{children:"Enter the password configured in the environment to manage blog posts."})]}),s.jsx(tn,{children:s.jsxs("form",{onSubmit:m,className:"space-y-4",children:[s.jsxs("div",{className:"space-y-2",children:[s.jsx(Rr,{htmlFor:"adminPassword",children:"Password"}),s.jsx(Eo,{id:"adminPassword",type:"password",value:r,onChange:g=>i(g.target.value),placeholder:"Enter admin password",autoComplete:"current-password",disabled:!!l})]}),s.jsx(ae,{type:"submit",className:"w-full",disabled:o||!!l,children:o?"Verifying…":"Unlock Dashboard"}),l&&s.jsx("p",{className:"text-sm text-red-600 bg-red-50 border border-red-100 rounded-md p-3",children:l})]})})]})}):s.jsx(s.Fragment,{children:e})}const jM=[{Icon:Mt,title:"AI Strategy for Leadership",desc:"Cut through the hype. Your executive team leaves with a clear understanding of what agentic AI can do for your organization, a deployment roadmap, and the confidence to make informed AI decisions.",tag:"C-Suite & Directors",duration:"Half day – 2 days",color:"text-[#00D7FE]",bg:"bg-[#00D7FE]/10"},{Icon:ot,title:"No-Code AI for Business Teams",desc:"Give every department — marketing, operations, sales, HR — the ability to build and deploy AI workflows without waiting on engineering. Practical, immediate, and measurably faster.",tag:"All Business Teams",duration:"1–3 days",color:"text-amber-400",bg:"bg-amber-400/10"},{Icon:ui,title:"Technical AI Upskilling",desc:"Bring your engineering and data teams to production-ready AI agent development. Agentic architectures, RAG pipelines, multi-agent systems, and deployment — built around your actual stack.",tag:"Engineering & Data",duration:"2–6 weeks",color:"text-violet-400",bg:"bg-violet-400/10"},{Icon:Go,title:"Bespoke Enterprise Program",desc:"A fully custom curriculum designed around your industry, your team's current level, and your strategic AI goals. Delivered on-site, virtually, or in hybrid format at any scale.",tag:"Any Team, Any Scale",duration:"Flexible",color:"text-emerald-400",bg:"bg-emerald-400/10"}],NM=[{step:"01",title:"Discovery",desc:"We assess your team's current AI capabilities, your strategic goals, and the gaps that matter most. This shapes everything that follows."},{step:"02",title:"Custom Design",desc:"We build a curriculum mapped to your tools, your industry, and the specific business outcomes your leadership expects to see."},{step:"03",title:"Expert Delivery",desc:"On-site, virtual, or hybrid — led by practitioners who've built and deployed the systems they teach. Your team leaves with skills they use the next day."}],SM=[{Icon:Wo,label:"C-Suite & Board"},{Icon:ui,label:"Engineering Teams"},{Icon:Uo,label:"Operations & Finance"},{Icon:NC,label:"Product & Growth"},{Icon:ze,label:"Sales & Customer Success"},{Icon:Ho,label:"Cross-Functional Teams"}];function kM(){Ye({title:"Corporate AI Training | Custom Team Programs | Synapse AI Solutions",description:"Custom AI training programs for corporate teams. From executive AI strategy to technical upskilling — tailored curricula delivered on-site, virtually, or hybrid at any scale."}),p.useEffect(()=>{const t=document.createElement("script");return t.src="https://api.synapseai.us/js/form_embed.js",t.async=!0,document.body.appendChild(t),()=>{document.body.contains(t)&&document.body.removeChild(t)}},[]);const e=t=>{const n=document.getElementById(t);n&&window.scrollTo({top:n.offsetTop-80,behavior:"smooth"})};return s.jsxs("div",{className:"min-h-screen",children:[s.jsxs("section",{className:"relative bg-primary text-white overflow-hidden pt-32 pb-24 sm:pb-32",children:[s.jsx(Ae,{variant:"circuit",opacity:.07}),s.jsx("div",{className:"hero-radial-glow absolute inset-0 pointer-events-none"}),s.jsx("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8 relative z-10",children:s.jsxs(T.div,{className:"max-w-4xl mx-auto text-center",initial:{opacity:0,y:28},animate:{opacity:1,y:0},transition:{duration:.65},children:[s.jsx("div",{className:"flex flex-wrap justify-center gap-3 mb-8",children:["Custom Curriculum","On-Site or Virtual","Any Team Size"].map(t=>s.jsx("span",{className:"hero-stat-pill",children:t},t))}),s.jsxs("h1",{className:"text-4xl sm:text-5xl lg:text-6xl font-black leading-[1.1] mb-6",children:["Your Workforce Is",s.jsx("br",{}),s.jsx("span",{className:"text-gradient-cyan",children:"Your AI Advantage."})]}),s.jsx("p",{className:"text-xl sm:text-2xl text-white/80 max-w-2xl mx-auto mb-10 leading-relaxed",children:"Custom AI training programs for leadership teams, technical squads, and every role in between — built for your industry, delivered at your pace."}),s.jsxs("div",{className:"flex flex-wrap justify-center gap-4",children:[s.jsxs("button",{onClick:()=>e("reserve-form"),className:"btn-glow inline-flex items-center gap-2 px-8 py-4 bg-secondary text-primary font-bold rounded-lg text-lg hover:scale-105 transition-transform",children:["Request a Consultation ",s.jsx(fe,{className:"h-5 w-5"})]}),s.jsxs("button",{onClick:()=>e("programs"),className:"inline-flex items-center gap-2 px-8 py-4 border border-white/25 text-white font-semibold rounded-lg text-lg hover:bg-white/10 transition-colors",children:["View Programs ",s.jsx(et,{className:"h-5 w-5"})]})]})]})})]}),s.jsx("section",{className:"py-16 bg-white border-b border-gray-100",children:s.jsx("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8",children:s.jsx("div",{className:"grid sm:grid-cols-3 gap-8 max-w-4xl mx-auto text-center",children:[{stat:"Built for Your Goals",label:"Every curriculum is designed around your industry, your tools, and the outcomes your leadership expects."},{stat:"Any Level, Any Team",label:"From the boardroom to the dev floor — we train executives, operators, and engineers in the same engagement."},{stat:"Day-One Impact",label:"No theory for theory's sake. Your team leaves with skills and tools they can apply before their next sprint."}].map(({stat:t,label:n},r)=>s.jsxs(T.div,{initial:{opacity:0,y:16},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:r*.1,duration:.5},children:[s.jsx("p",{className:"text-2xl font-black text-primary mb-2",children:t}),s.jsx("p",{className:"text-gray-500 text-sm leading-relaxed",children:n})]},t))})})}),s.jsx("section",{id:"programs",className:"py-20 bg-gray-50",children:s.jsxs("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8",children:[s.jsxs(T.div,{className:"text-center mb-14",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5},children:[s.jsx("h2",{className:"text-3xl sm:text-4xl font-black text-primary mb-4",children:"Training Programs"}),s.jsx("p",{className:"text-lg text-gray-600 max-w-2xl mx-auto",children:"Four engagement models — each built to deliver measurable AI capability at a specific level of your organization. Mix and match for a complete transformation."})]}),s.jsx("div",{className:"grid sm:grid-cols-2 gap-6 max-w-5xl mx-auto",children:jM.map(({Icon:t,title:n,desc:r,tag:i,duration:o,color:a,bg:l},c)=>s.jsxs(T.div,{className:"glass-card p-8 rounded-2xl border border-gray-100 hover:shadow-lg transition-shadow group",initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:c*.1,duration:.5},children:[s.jsx("div",{className:`w-12 h-12 ${l} rounded-xl flex items-center justify-center mb-5 group-hover:scale-110 transition-transform`,children:s.jsx(t,{className:`h-6 w-6 ${a}`})}),s.jsx("h3",{className:"text-xl font-black text-primary mb-3",children:n}),s.jsx("p",{className:"text-gray-600 leading-relaxed mb-5 text-sm",children:r}),s.jsxs("div",{className:"flex gap-3 text-xs",children:[s.jsx("span",{className:"px-3 py-1 bg-primary/8 text-primary font-semibold rounded-full",children:i}),s.jsx("span",{className:"px-3 py-1 bg-gray-100 text-gray-500 rounded-full",children:o})]})]},n))})]})}),s.jsxs("section",{className:"py-20 bg-primary text-white relative overflow-hidden",children:[s.jsx(Ae,{variant:"particles",opacity:.05}),s.jsxs("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8 relative z-10",children:[s.jsxs(T.div,{className:"text-center mb-14",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5},children:[s.jsx("h2",{className:"text-3xl sm:text-4xl font-black mb-4",children:"How We Work With You"}),s.jsx("p",{className:"text-lg text-white/70 max-w-xl mx-auto",children:"Not a course catalogue. A partnership — from first conversation to measurable team capability."})]}),s.jsx("div",{className:"grid sm:grid-cols-3 gap-8 max-w-4xl mx-auto",children:NM.map(({step:t,title:n,desc:r},i)=>s.jsxs(T.div,{className:"text-center",initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:i*.12,duration:.5},children:[s.jsx("div",{className:"w-14 h-14 bg-secondary text-primary font-black text-xl rounded-2xl flex items-center justify-center mx-auto mb-5",children:t}),s.jsx("h3",{className:"text-xl font-black text-white mb-3",children:n}),s.jsx("p",{className:"text-white/65 leading-relaxed text-sm",children:r})]},t))})]})]}),s.jsx("section",{className:"py-20 bg-white",children:s.jsxs("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8",children:[s.jsxs(T.div,{className:"text-center mb-14",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5},children:[s.jsx("h2",{className:"text-3xl sm:text-4xl font-black text-primary mb-4",children:"Built for Every Layer"}),s.jsx("p",{className:"text-lg text-gray-600 max-w-xl mx-auto",children:"AI transformation doesn't happen in one department. We train the whole organization — from board-level strategy to individual contributor execution."})]}),s.jsx("div",{className:"grid grid-cols-2 sm:grid-cols-3 gap-4 max-w-3xl mx-auto",children:SM.map(({Icon:t,label:n},r)=>s.jsxs(T.div,{className:"flex flex-col items-center gap-3 p-6 rounded-2xl border border-gray-100 bg-gray-50 hover:border-secondary/30 hover:bg-secondary/5 transition-colors group",initial:{opacity:0,scale:.95},whileInView:{opacity:1,scale:1},viewport:{once:!0},transition:{delay:r*.07,duration:.4},children:[s.jsx("div",{className:"w-10 h-10 bg-secondary/10 rounded-xl flex items-center justify-center group-hover:bg-secondary/20 transition-colors",children:s.jsx(t,{className:"h-5 w-5 text-secondary"})}),s.jsx("span",{className:"text-sm font-bold text-primary text-center leading-snug",children:n})]},n))})]})}),s.jsx("section",{className:"py-16 bg-primary/4 border-y border-primary/8",children:s.jsxs("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8",children:[s.jsxs(T.div,{className:"text-center mb-10",initial:{opacity:0,y:16},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5},children:[s.jsx("p",{className:"text-sm font-bold uppercase tracking-widest text-gray-400 mb-2",children:"The Market Forces"}),s.jsx("h2",{className:"text-2xl sm:text-3xl font-black text-primary",children:"Why This Training Pays for Itself"})]}),s.jsx("div",{className:"grid sm:grid-cols-3 gap-6 max-w-4xl mx-auto",children:[{stat:"$274B",label:"Global data analytics market by 2026",sub:"Data-driven organizations outcompete on every decision."},{stat:"$3.68T",label:"AI market value by 2034",sub:"The companies building AI literacy now will own that market."},{stat:"$1.3T",label:"Generative AI revenue by 2032",sub:"GenAI isn't coming — it's already reshaping every industry."}].map(({stat:t,label:n,sub:r},i)=>s.jsxs(T.div,{className:"text-center p-6 bg-white rounded-2xl border border-gray-100 shadow-sm",initial:{opacity:0,y:16},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:i*.1,duration:.5},children:[s.jsx("p",{className:"text-4xl font-black text-secondary mb-2",children:t}),s.jsx("p",{className:"text-sm font-bold text-primary mb-2",children:n}),s.jsx("p",{className:"text-xs text-gray-500 leading-relaxed",children:r})]},t))})]})}),s.jsxs("section",{id:"reserve-form",className:"py-20 bg-primary text-white relative overflow-hidden",children:[s.jsx(Ae,{variant:"gradient",opacity:.06}),s.jsx("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8 relative z-10",children:s.jsxs("div",{className:"max-w-5xl mx-auto",children:[s.jsxs(T.div,{className:"text-center mb-12",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5},children:[s.jsx("h2",{className:"text-3xl sm:text-4xl font-black mb-4",children:"Let's Build Your Program"}),s.jsx("p",{className:"text-xl text-white/75 max-w-2xl mx-auto leading-relaxed",children:"Tell us about your team and your goals. We'll come back with a tailored proposal — no generic decks, no wasted meetings."})]}),s.jsxs("div",{className:"w-full",children:[s.jsx("style",{children:` .corporate-iframe { width:100% !important; max-width:100% !important; box-sizing:border-box; } @media (max-width:480px) { .corporate-iframe { height:1100px !important; } } @media (min-width:481px) and (max-width:767px) { .corporate-iframe { height:1060px !important; } } @media (min-width:768px) { .corporate-iframe { height:1008px !important; } } `}),s.jsx("iframe",{src:"https://api.synapseai.us/widget/form/q4tsyP6gJAYex9oNZY5g",style:{width:"100%",height:"100%",border:"none",borderRadius:"3px"},className:"corporate-iframe w-full block max-w-full min-h-[1008px] h-[1008px]",id:"inline-q4tsyP6gJAYex9oNZY5g","data-layout":"{'id':'INLINE'}","data-trigger-type":"alwaysShow","data-trigger-value":"","data-activation-type":"alwaysActivated","data-activation-value":"","data-deactivation-type":"neverDeactivate","data-deactivation-value":"","data-form-name":"For Corporate Training Form","data-height":"1008","data-layout-iframe-id":"inline-q4tsyP6gJAYex9oNZY5g","data-form-id":"q4tsyP6gJAYex9oNZY5g",title:"For Corporate Training Form"})]})]})})]}),s.jsx("section",{className:"py-20 bg-white",children:s.jsx("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8",children:s.jsxs(T.div,{className:"max-w-3xl mx-auto text-center",initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},children:[s.jsx("h2",{className:"text-3xl sm:text-4xl font-black text-primary mb-6",children:"The companies training their teams now are the ones that will own the next decade."}),s.jsx("p",{className:"text-xl text-gray-500 mb-10 leading-relaxed",children:"Don't let your competitors build the advantage first."}),s.jsxs("button",{onClick:()=>e("reserve-form"),className:"btn-glow inline-flex items-center gap-2 px-10 py-5 bg-primary text-white font-black rounded-xl text-xl hover:scale-105 transition-transform",children:["Start the Conversation ",s.jsx(fe,{className:"h-6 w-6"})]}),s.jsxs("p",{className:"mt-6 text-gray-400 text-sm",children:["Prefer email?"," ",s.jsx("a",{href:"mailto:trainings@synapseai.us",className:"text-secondary underline",children:"trainings@synapseai.us"})]})]})})})]})}const CM=[{title:"AI / ML Engineer",desc:"Build and deploy production ML models, agentic pipelines, and generative AI applications.",skills:["LLMs & RAG","Model deployment","MLOps","Agentic AI"],accent:"#00D7FE"},{title:"Data Scientist",desc:"Extract insights from complex datasets using advanced modeling and statistical analysis.",skills:["Predictive modeling","Statistical analysis","Experimentation","Python / R"],accent:"#818cf8"},{title:"Data Engineer",desc:"Design robust pipelines, warehouses, and real-time streaming architectures.",skills:["ETL / ELT","Spark & Kafka","dbt / Airflow","Cloud data stacks"],accent:"#34d399"},{title:"DevOps / MLOps",desc:"Build CI/CD infrastructure for AI systems running at production scale.",skills:["Kubernetes","Terraform","CI/CD","Cloud platforms"],accent:"#f59e0b"},{title:"Software Engineer",desc:"Full-stack and backend engineers who integrate AI into your existing products.",skills:["Full-stack","API development","System design","Microservices"],accent:"#ec4899"},{title:"BI / Data Analyst",desc:"Turn raw data into clear insights and dashboards that drive business decisions.",skills:["Power BI / Tableau","SQL","KPI modeling","Data storytelling"],accent:"#14b8a6"}],AM=[{step:"01",title:"Define Your Needs",body:"Share the role, required skills, timeline, and budget. Our team responds within 24 hours.",color:"#00D7FE"},{step:"02",title:"Meet Matched Candidates",body:"Receive 2–3 pre-vetted, technically screened profiles within 48 hours. No recruiter middleman.",color:"#818cf8"},{step:"03",title:"Deploy in Under 2 Weeks",body:"Talent is onboarded, context-loaded, and actively contributing to your team.",color:"#34d399"}],TM=[{icon:s.jsx(RC,{className:"h-6 w-6"}),title:"Rigorous Vetting",body:"Multi-stage technical screen: coding assessment, system design interview, and domain-specific AI review. Only the top candidates reach you.",color:"text-[#00D7FE]",bg:"bg-[#00D7FE]/10"},{icon:s.jsx(tc,{className:"h-6 w-6"}),title:"2-Week Deployment",body:"Traditional hiring takes 3–4 months. Our match-to-deploy average is under 2 weeks for most roles.",color:"text-violet-400",bg:"bg-violet-400/10"},{icon:s.jsx(Mt,{className:"h-6 w-6"}),title:"AI-Native Practitioners",body:"Not developers dabbling in AI. These are engineers who have shipped real AI systems to production environments.",color:"text-emerald-400",bg:"bg-emerald-400/10"},{icon:s.jsx(IC,{className:"h-6 w-6"}),title:"Flexible Engagements",body:"Contract, contract-to-hire, or full-time. Scale your team up or down without long-term commitments or risk.",color:"text-amber-400",bg:"bg-amber-400/10"}];function EM(){Ye({title:"Hire AI Talent — Pre-vetted AI/ML Engineers & Data Scientists | Synapse AI Solutions",description:"Deploy pre-vetted AI/ML engineers, data scientists, and DevOps specialists in under 2 weeks. Rigorous vetting. Flexible engagements. No recruiter middlemen."}),p.useEffect(()=>{const t=document.createElement("script");return t.src="https://api.synapseai.us/js/form_embed.js",t.async=!0,document.body.appendChild(t),()=>{document.body.removeChild(t)}},[]),p.useEffect(()=>{const t=()=>{const n=document.getElementById("inline-6ej2QEm3GjsC3iWLON0T");if(!n)return;const r=window.innerWidth;r===540||r===720?(n.style.height="1100px",n.style.minHeight="1000px"):r<600?(n.style.height="1150px",n.style.minHeight="900px"):r<768?(n.style.height="1050px",n.style.minHeight="950px"):r<1024?(n.style.height="1006px",n.style.minHeight="1000px"):(n.style.height="1006px",n.style.minHeight="1006px"),navigator.userAgent.includes("iPad")&&(n.style.height="1006px")};return setTimeout(t,100),window.addEventListener("resize",t),window.addEventListener("orientationchange",()=>setTimeout(t,300)),()=>{window.removeEventListener("resize",t),window.removeEventListener("orientationchange",t)}},[]);const e=()=>{const t=document.getElementById("contact-form");t&&window.scrollTo({top:t.offsetTop-100,behavior:"smooth"})};return s.jsxs("div",{className:"min-h-screen",children:[s.jsxs("section",{className:"bg-[#080845] text-white pt-32 pb-24 relative overflow-hidden",children:[s.jsx(Ae,{variant:"particles",opacity:.12,className:"z-0"}),s.jsx("div",{className:"absolute inset-0 hero-radial-glow z-0"}),s.jsx("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8 relative z-10",children:s.jsxs("div",{className:"max-w-4xl mx-auto text-center",children:[s.jsx(T.p,{className:"text-xs uppercase tracking-widest text-secondary font-semibold mb-4",initial:{opacity:0},animate:{opacity:1},transition:{duration:.5},children:"AI Staffing & Augmentation"}),s.jsxs(T.h1,{className:"text-4xl md:text-5xl lg:text-6xl font-extrabold mb-6 leading-tight",initial:{opacity:0,y:24},animate:{opacity:1,y:0},transition:{duration:.7,delay:.1},children:["Deploy Elite AI Talent"," ",s.jsx("span",{className:"text-gradient-cyan",children:"in Under 2 Weeks"})]}),s.jsx(T.p,{className:"text-xl text-gray-300 leading-relaxed mb-10 max-w-3xl mx-auto",initial:{opacity:0,y:16},animate:{opacity:1,y:0},transition:{duration:.65,delay:.2},children:"Access pre-vetted AI/ML engineers, data scientists, and DevOps specialists who have shipped production AI systems. No recruiters. No months of interviews. Just talent that works."}),s.jsx(T.div,{className:"flex flex-wrap justify-center gap-4 mb-10",initial:{opacity:0,y:12},animate:{opacity:1,y:0},transition:{duration:.6,delay:.3},children:[{value:"< 2 Weeks",label:"Average Deployment"},{value:"Multi-Stage",label:"Technical Vetting"},{value:"10+",label:"Industries Served"}].map((t,n)=>s.jsxs("div",{className:"hero-stat-pill",children:[s.jsx("span",{className:"text-secondary font-bold",children:t.value}),s.jsx("span",{className:"text-gray-400 text-sm",children:t.label})]},n))}),s.jsxs(T.button,{onClick:e,className:"btn-glow bg-secondary text-white font-semibold px-8 py-4 rounded-lg hover:bg-secondary/90 transition-colors duration-300 inline-flex items-center gap-2",initial:{opacity:0,y:12},animate:{opacity:1,y:0},transition:{duration:.6,delay:.4},children:["Request Talent Now",s.jsx(fe,{className:"h-5 w-5"})]})]})})]}),s.jsx("section",{className:"py-20 sm:py-24 bg-white",children:s.jsx("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8",children:s.jsxs("div",{className:"max-w-5xl mx-auto",children:[s.jsxs("div",{className:"text-center mb-14",children:[s.jsxs("div",{className:"inline-block mb-4",children:[s.jsx("div",{className:"h-1 w-20 bg-secondary rounded-full mb-2 mx-auto"}),s.jsx("div",{className:"h-1 w-12 bg-secondary rounded-full mx-auto"})]}),s.jsx("h2",{className:"text-3xl sm:text-4xl font-bold text-primary mb-3",children:"Roles We Place"}),s.jsx("p",{className:"text-gray-500 max-w-xl mx-auto",children:"Specialists across the full AI and data stack — from raw data to deployed models."})]}),s.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-3 gap-5",children:CM.map((t,n)=>s.jsxs(T.div,{className:"rounded-2xl border border-gray-100 p-6 shadow-sm hover:shadow-lg transition-all duration-300",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:n*.07,duration:.5},whileHover:{y:-3},children:[s.jsx("div",{className:"w-2 h-8 rounded-full mb-4",style:{backgroundColor:t.accent}}),s.jsx("h3",{className:"font-bold text-primary text-lg mb-2",children:t.title}),s.jsx("p",{className:"text-gray-500 text-sm mb-4 leading-relaxed",children:t.desc}),s.jsx("div",{className:"flex flex-wrap gap-2",children:t.skills.map((r,i)=>s.jsx("span",{className:"text-xs px-2.5 py-1 rounded-full border font-medium",style:{color:t.accent,borderColor:`${t.accent}40`,backgroundColor:`${t.accent}10`},children:r},i))})]},n))})]})})}),s.jsxs("section",{className:"bg-[#080845] relative overflow-hidden py-20 sm:py-24",children:[s.jsx("div",{className:"absolute inset-0 hero-radial-glow"}),s.jsx("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8 relative z-10",children:s.jsxs("div",{className:"max-w-4xl mx-auto",children:[s.jsx("p",{className:"text-xs uppercase tracking-widest text-secondary font-semibold text-center mb-4",children:"Simple Process"}),s.jsx("h2",{className:"text-3xl sm:text-4xl font-bold text-white text-center mb-14",children:"From Brief to Deployed in 3 Steps"}),s.jsx("div",{className:"grid md:grid-cols-3 gap-6",children:AM.map((t,n)=>s.jsxs(T.div,{className:"glass-card rounded-2xl p-7 text-center",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:n*.1,duration:.5},children:[s.jsx("span",{className:"text-5xl font-black leading-none mb-4 block select-none",style:{color:t.color,opacity:.3},children:t.step}),s.jsx("h3",{className:"font-bold text-white text-lg mb-3",children:t.title}),s.jsx("p",{className:"text-gray-400 text-sm leading-relaxed",children:t.body})]},n))})]})})]}),s.jsx("section",{className:"py-20 sm:py-28 bg-gray-50",children:s.jsx("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8",children:s.jsxs("div",{className:"max-w-5xl mx-auto",children:[s.jsxs("div",{className:"text-center mb-14",children:[s.jsxs("div",{className:"inline-block mb-4",children:[s.jsx("div",{className:"h-1 w-20 bg-secondary rounded-full mb-2 mx-auto"}),s.jsx("div",{className:"h-1 w-12 bg-secondary rounded-full mx-auto"})]}),s.jsx("h2",{className:"text-3xl sm:text-4xl font-bold text-primary mb-3",children:"Why Synapse Over a Recruiter"}),s.jsx("p",{className:"text-gray-500 max-w-xl mx-auto",children:"We are practitioners who staff practitioners. Here is what that means in practice."})]}),s.jsx("div",{className:"grid sm:grid-cols-2 gap-6",children:TM.map((t,n)=>s.jsxs(T.div,{className:"bg-white rounded-2xl border border-gray-100 p-7 shadow-sm hover:shadow-lg transition-all duration-300",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:n*.1,duration:.55},children:[s.jsx("div",{className:`w-11 h-11 rounded-xl ${t.bg} ${t.color} flex items-center justify-center mb-4`,children:t.icon}),s.jsx("h3",{className:"font-bold text-primary text-lg mb-2",children:t.title}),s.jsx("p",{className:"text-gray-600 text-sm leading-relaxed",children:t.body})]},n))})]})})}),s.jsx("section",{id:"contact-form",className:"py-20 sm:py-24 bg-white",children:s.jsx("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8",children:s.jsxs("div",{className:"max-w-4xl mx-auto",children:[s.jsxs("div",{className:"text-center mb-10",children:[s.jsxs("div",{className:"inline-block mb-4",children:[s.jsx("div",{className:"h-1 w-20 bg-secondary rounded-full mb-2 mx-auto"}),s.jsx("div",{className:"h-1 w-12 bg-secondary rounded-full mx-auto"})]}),s.jsx("h2",{className:"text-3xl sm:text-4xl font-bold text-primary mb-3",children:"Tell Us About Your Needs"}),s.jsx("p",{className:"text-gray-500 max-w-xl mx-auto",children:"Fill out the form and we will match you with qualified candidates within 48 hours."})]}),s.jsx("div",{className:"bg-white rounded-2xl border border-gray-100 shadow-lg overflow-hidden",children:s.jsx("iframe",{src:"https://api.synapseai.us/widget/form/6ej2QEm3GjsC3iWLON0T",style:{width:"100%",height:"1006px",border:"none",display:"block",maxWidth:"100%",minHeight:"900px"},id:"inline-6ej2QEm3GjsC3iWLON0T","data-layout":"{'id':'INLINE'}","data-trigger-type":"alwaysShow","data-trigger-value":"","data-activation-type":"alwaysActivated","data-activation-value":"","data-deactivation-type":"neverDeactivate","data-deactivation-value":"","data-form-name":"For Talents Form","data-height":"1006","data-layout-iframe-id":"inline-6ej2QEm3GjsC3iWLON0T","data-form-id":"6ej2QEm3GjsC3iWLON0T",title:"For Talents Form"})})]})})})]})}const PM=[{icon:s.jsx(Ru,{className:"h-6 w-6"}),title:"Production AI Work",body:"Not toy projects. Real enterprise AI deployments in healthcare, manufacturing, finance, and more.",color:"text-[#00D7FE]",bg:"bg-[#00D7FE]/10"},{icon:s.jsx(yC,{className:"h-6 w-6"}),title:"Top-of-Market Rates",body:"We do not race to the bottom. You are vetted because you are skilled — your compensation should match.",color:"text-violet-400",bg:"bg-violet-400/10"},{icon:s.jsx(tc,{className:"h-6 w-6"}),title:"Work on Your Terms",body:"Contract, part-time, or full-time. Remote-first engagements. You choose what fits your life and goals.",color:"text-emerald-400",bg:"bg-emerald-400/10"},{icon:s.jsx(ze,{className:"h-6 w-6"}),title:"Elite Peer Network",body:"Join a community of engineers, data scientists, and AI practitioners building at the frontier — no subscription fees.",color:"text-amber-400",bg:"bg-amber-400/10"}],IM=[{step:"01",title:"Apply",body:"Submit your profile — skills, experience, what you are looking for. 5-minute form, no cover letter needed.",color:"#00D7FE"},{step:"02",title:"Get Vetted",body:"Our team reviews your background and conducts a technical screen aligned to your domain and experience level.",color:"#818cf8"},{step:"03",title:"Get Matched",body:"We connect you with opportunities that fit your expertise and goals. You choose what to pursue.",color:"#34d399"}],RM=()=>{Ye({title:"Join Our AI Talent Network — AI/ML, Data Science & DevOps Opportunities | Synapse AI Solutions",description:"Work on real production AI systems at top companies. Competitive rates, flexible engagements, no subscription fees. Apply to join Synapse AI's elite talent network."}),p.useEffect(()=>{const t=document.createElement("script");return t.src="https://api.synapseai.us/js/form_embed.js",t.async=!0,document.body.appendChild(t),()=>{document.body.removeChild(t)}},[]),p.useEffect(()=>{const t=()=>{const n=document.getElementById("inline-hZeNUkSvd8xoA2cZhCGY");if(!n)return;const r=window.innerWidth;r===540||r===720?(n.style.height="1000px",n.style.minHeight="900px"):r<600?(n.style.height="1050px",n.style.minHeight="800px"):r<768?(n.style.height="950px",n.style.minHeight="850px"):r<1024?(n.style.height="921px",n.style.minHeight="900px"):(n.style.height="921px",n.style.minHeight="921px"),navigator.userAgent.includes("iPad")&&(n.style.height="921px")};return setTimeout(t,100),window.addEventListener("resize",t),window.addEventListener("orientationchange",()=>setTimeout(t,300)),()=>{window.removeEventListener("resize",t),window.removeEventListener("orientationchange",t)}},[]);const e=()=>{const t=document.getElementById("join-form");t&&window.scrollTo({top:t.offsetTop-100,behavior:"smooth"})};return s.jsxs("div",{className:"min-h-screen",children:[s.jsxs("section",{className:"bg-[#080845] text-white pt-32 pb-24 relative overflow-hidden",children:[s.jsx(Ae,{variant:"network",opacity:.1,className:"z-0"}),s.jsx("div",{className:"absolute inset-0 hero-radial-glow z-0"}),s.jsx("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8 relative z-10",children:s.jsxs("div",{className:"max-w-4xl mx-auto text-center",children:[s.jsx(T.p,{className:"text-xs uppercase tracking-widest text-secondary font-semibold mb-4",initial:{opacity:0},animate:{opacity:1},transition:{duration:.5},children:"Join the Talent Network"}),s.jsxs(T.h1,{className:"text-4xl md:text-5xl lg:text-6xl font-extrabold mb-6 leading-tight",initial:{opacity:0,y:24},animate:{opacity:1,y:0},transition:{duration:.7,delay:.1},children:["Work on Real AI."," ",s.jsx("span",{className:"text-gradient-cyan",children:"Get Paid Well."})]}),s.jsx(T.p,{className:"text-xl text-gray-300 leading-relaxed mb-10 max-w-3xl mx-auto",initial:{opacity:0,y:16},animate:{opacity:1,y:0},transition:{duration:.65,delay:.2},children:"Synapse AI connects pre-vetted AI/ML engineers, data scientists, and DevOps specialists with enterprises building production AI systems. No subscription fees. No fluff. Just great work at competitive rates."}),s.jsx(T.div,{className:"flex flex-wrap justify-center gap-4 mb-10",initial:{opacity:0,y:12},animate:{opacity:1,y:0},transition:{duration:.6,delay:.3},children:[{value:"$0",label:"No Subscription Fees"},{value:"100%",label:"Vetted Professionals"},{value:"Global",label:"Remote-First Opportunities"}].map((t,n)=>s.jsxs("div",{className:"hero-stat-pill",children:[s.jsx("span",{className:"text-secondary font-bold",children:t.value}),s.jsx("span",{className:"text-gray-400 text-sm",children:t.label})]},n))}),s.jsxs(T.button,{onClick:e,className:"btn-glow bg-secondary text-white font-semibold px-8 py-4 rounded-lg hover:bg-secondary/90 transition-colors duration-300 inline-flex items-center gap-2",initial:{opacity:0,y:12},animate:{opacity:1,y:0},transition:{duration:.6,delay:.4},children:["Apply to Join",s.jsx(fe,{className:"h-5 w-5"})]})]})})]}),s.jsx("section",{className:"py-20 sm:py-28 bg-white",children:s.jsx("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8",children:s.jsxs("div",{className:"max-w-5xl mx-auto",children:[s.jsxs("div",{className:"text-center mb-14",children:[s.jsxs("div",{className:"inline-block mb-4",children:[s.jsx("div",{className:"h-1 w-20 bg-secondary rounded-full mb-2 mx-auto"}),s.jsx("div",{className:"h-1 w-12 bg-secondary rounded-full mx-auto"})]}),s.jsx("h2",{className:"text-3xl sm:text-4xl font-bold text-primary mb-3",children:"Why Join Synapse"}),s.jsx("p",{className:"text-gray-500 max-w-xl mx-auto",children:"We built this network for practitioners who want to do real work — not chase leads."})]}),s.jsx("div",{className:"grid sm:grid-cols-2 gap-6",children:PM.map((t,n)=>s.jsxs(T.div,{className:"rounded-2xl border border-gray-100 p-7 shadow-sm hover:shadow-lg transition-all duration-300",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:n*.1,duration:.55},children:[s.jsx("div",{className:`w-11 h-11 rounded-xl ${t.bg} ${t.color} flex items-center justify-center mb-4`,children:t.icon}),s.jsx("h3",{className:"font-bold text-primary text-lg mb-2",children:t.title}),s.jsx("p",{className:"text-gray-600 text-sm leading-relaxed",children:t.body})]},n))})]})})}),s.jsxs("section",{className:"bg-[#080845] relative overflow-hidden py-20 sm:py-24",children:[s.jsx("div",{className:"absolute inset-0 hero-radial-glow"}),s.jsx("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8 relative z-10",children:s.jsxs("div",{className:"max-w-4xl mx-auto",children:[s.jsx("p",{className:"text-xs uppercase tracking-widest text-secondary font-semibold text-center mb-4",children:"3 Simple Steps"}),s.jsx("h2",{className:"text-3xl sm:text-4xl font-bold text-white text-center mb-14",children:"How It Works"}),s.jsx("div",{className:"grid md:grid-cols-3 gap-6",children:IM.map((t,n)=>s.jsxs(T.div,{className:"glass-card rounded-2xl p-7 text-center",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:n*.1,duration:.5},children:[s.jsx("span",{className:"text-5xl font-black leading-none mb-4 block select-none",style:{color:t.color,opacity:.3},children:t.step}),s.jsx("h3",{className:"font-bold text-white text-lg mb-3",children:t.title}),s.jsx("p",{className:"text-gray-400 text-sm leading-relaxed",children:t.body})]},n))})]})})]}),s.jsx("section",{id:"join-form",className:"py-20 sm:py-24 bg-gray-50",children:s.jsx("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8",children:s.jsxs("div",{className:"max-w-4xl mx-auto",children:[s.jsxs("div",{className:"text-center mb-10",children:[s.jsxs("div",{className:"inline-block mb-4",children:[s.jsx("div",{className:"h-1 w-20 bg-secondary rounded-full mb-2 mx-auto"}),s.jsx("div",{className:"h-1 w-12 bg-secondary rounded-full mx-auto"})]}),s.jsx("h2",{className:"text-3xl sm:text-4xl font-bold text-primary mb-3",children:"Apply to Join Our Network"}),s.jsx("p",{className:"text-gray-500 max-w-xl mx-auto",children:"Share your background and what you are looking for. We will be in touch within 48 hours."})]}),s.jsx("div",{className:"bg-white rounded-2xl border border-gray-100 shadow-lg overflow-hidden",children:s.jsx("iframe",{src:"https://api.synapseai.us/widget/form/hZeNUkSvd8xoA2cZhCGY",style:{width:"100%",height:"921px",border:"none",display:"block",maxWidth:"100%",minHeight:"800px"},id:"inline-hZeNUkSvd8xoA2cZhCGY","data-layout":"{'id':'INLINE'}","data-trigger-type":"alwaysShow","data-trigger-value":"","data-activation-type":"alwaysActivated","data-activation-value":"","data-deactivation-type":"neverDeactivate","data-deactivation-value":"","data-form-name":"For Talents Form","data-height":"921","data-layout-iframe-id":"inline-hZeNUkSvd8xoA2cZhCGY","data-form-id":"hZeNUkSvd8xoA2cZhCGY",title:"For Talents Form"})})]})})})]})},MM=[{Icon:Mt,title:"Autonomous Reasoning",desc:"Agents that decompose complex goals into subtasks, plan execution paths, and self-correct — no scripted rule trees required.",color:"text-[#00D7FE]",bg:"bg-[#00D7FE]/10"},{Icon:VC,title:"Tool Use & Integration",desc:"Equip agents with APIs, databases, calendars, and CRMs. They act on your systems, not just inside a chat window.",color:"text-violet-400",bg:"bg-violet-400/10"},{Icon:Tm,title:"Multi-Agent Orchestration",desc:"Specialist agents — researcher, writer, validator, executor — coordinated by a planner for complex parallel workstreams.",color:"text-emerald-400",bg:"bg-emerald-400/10"},{Icon:xC,title:"Memory & Context",desc:"Long-term episodic memory and semantic recall let agents build knowledge over time and reference prior interactions.",color:"text-amber-400",bg:"bg-amber-400/10"},{Icon:nc,title:"Human-in-the-Loop",desc:"Configurable approval gates, audit trails, and escalation paths keep governance intact at every critical decision point.",color:"text-pink-400",bg:"bg-pink-400/10"},{Icon:Sm,title:"LLM-Agnostic Architecture",desc:"Deploy on Anthropic Claude, OpenAI, Gemini, or your own fine-tuned model. Swap providers without rewriting your agent stack.",color:"text-teal-400",bg:"bg-teal-400/10"}],DM=["LangGraph","CrewAI","AutoGen","LangChain","Anthropic Claude","OpenAI","MCP Servers","RAG Pipelines","CRM Systems","ERP Systems","IoT Sensors","SCADA / CMMS"],Td={workflows:{tabLabel:"Workflows",icon:s.jsx(bC,{className:"h-8 w-8 text-secondary"}),title:"Agentic Workflow Automation",desc:"Replace brittle RPA scripts with agents that understand intent, handle exceptions, and orchestrate multi-step processes across your entire tool stack — from lead intake to invoice reconciliation.",applications:["Lead qualification, scoring, and personalised onboarding sequences","Invoice processing and AP automation","HR onboarding orchestration across systems","Meeting transcription, action item extraction, and follow-up creation"],impact:["30–50% reduction in lead response time","Up to 70% fewer manual process steps","Near-zero error rates on structured tasks","Scales without headcount increases"],integration:"Connects to Salesforce, SAP, ServiceNow, Workday, Jira, and CRM/marketing platforms via MCP servers and REST APIs."},research:{tabLabel:"Research & Intel",icon:s.jsx(PC,{className:"h-8 w-8 text-secondary"}),title:"Autonomous Research & Intelligence",desc:"Deploy agents that continuously monitor competitive landscapes, aggregate signals, synthesise findings, and deliver executive-ready briefs — no analyst team required.",applications:["Competitor monitoring, pricing tracking, and real-time summarisation","Earnings call, filing, and regulatory analysis","Web-scale data gathering and synthesis","Automated report generation and distribution"],impact:["80% reduction in manual research time","Always-on competitive intelligence","Rapid response to competitor price and strategy changes","Faster strategic decision cycles"],integration:"Integrates with Perplexity, Tavily, financial data APIs, internal knowledge bases, and Slack/email for automated briefing delivery."},content:{tabLabel:"Content & Marketing",icon:s.jsx(wC,{className:"h-8 w-8 text-secondary"}),title:"Agentic Content & Marketing",desc:"Brand voice-trained agents that generate, optimise, schedule, and publish content at scale — while monitoring performance and iterating on what works.",applications:["Brand voice-trained AI content generation at scale","Multi-platform content optimisation and automated scheduling","Performance monitoring and data-driven content iteration","Knowledge base integration for factual accuracy"],impact:["90% reduction in content creation time","Consistent publishing schedule across every channel","Improved engagement through iterative optimisation","Brand consistency maintained at volume"],integration:"Connects with CMS platforms, social media networks, and marketing automation tools for end-to-end content workflows."},documents:{tabLabel:"Document AI",icon:s.jsx(hw,{className:"h-8 w-8 text-secondary"}),title:"RAG & Document Intelligence",desc:"Ground agents in your proprietary knowledge — contracts, policies, manuals — with retrieval-augmented generation that cites sources and handles complex multi-hop questions.",applications:["Enterprise search across internal document libraries","Contract review and clause extraction at scale","Regulatory compliance Q&A with source citations","Intelligent onboarding and employee knowledge assistants"],impact:["Instant answers from million-document corpora","Auditable source citations for every response","Legal and compliance review time significantly reduced","Employee onboarding time cut with always-on knowledge"],integration:"Supports Pinecone, Weaviate, pgvector, and Elasticsearch; ingests PDF, Word, PowerPoint, HTML, and structured data."},operations:{tabLabel:"IT & Operations",icon:s.jsx(vm,{className:"h-8 w-8 text-secondary"}),title:"IT, DevOps & Equipment Automation",desc:"Agents that monitor systems, diagnose incidents, run runbooks, and remediate failures — whether the system is a cloud service or a physical machine on the factory floor.",applications:["Automated incident triage and root cause analysis","Self-healing infrastructure with remediation scripts","Continuous sensor anomaly detection and threshold alerting","Automated work order creation and technician routing"],impact:["MTTR reduced by up to 60%","Alert fatigue eliminated through intelligent filtering","Equipment downtime reduced up to 45%","Engineering and maintenance capacity freed for new work"],integration:"Connects to PagerDuty, Datadog, GitHub Actions, AWS CloudWatch, SCADA/CMMS, ServiceNow, and SAP PM."}};function LM(){const[e,t]=p.useState("workflows");Ye({title:"Agentic AI & Automation — Autonomous Agents for Enterprise | Synapse AI Solutions",description:"Build production-ready AI with one partner — agentic systems, conversational & voice AI, custom ML & GenAI, and the data and cloud foundations underneath. Multi-agent orchestration, RAG, and workflow automation for enterprise.",jsonLd:{"@context":"https://schema.org","@type":"Service",name:"Agentic AI Solutions",serviceType:"Agentic AI development and automation",url:"https://synapseai.us/services/agentic-ai",description:"Production agentic AI — autonomous agents, conversational and voice AI, custom ML and GenAI, RAG pipelines, and the data and cloud foundations beneath.",provider:{"@type":"Organization",name:"Synapse AI Solutions","@id":"https://synapseai.us/#organization"},areaServed:"US",offers:{"@type":"Offer",description:"Free working prototype delivered in 24 hours"}}}),p.useEffect(()=>{const i=document.createElement("script");return i.src="https://api.synapseai.us/js/form_embed.js",i.async=!0,document.body.appendChild(i),()=>{document.body.removeChild(i)}},[]),p.useEffect(()=>{const i=()=>{const o=document.getElementById("inline-y1XVqxrSWGngwSRigXyT");if(!o)return;const a=window.innerWidth;a===540||a===720?(o.style.height="1000px",o.style.minHeight="900px"):a<600?(o.style.height="1050px",o.style.minHeight="800px"):a<768?(o.style.height="950px",o.style.minHeight="850px"):a<1024?(o.style.height="921px",o.style.minHeight="900px"):(o.style.height="921px",o.style.minHeight="921px"),navigator.userAgent.includes("iPad")&&(o.style.height="921px")};return setTimeout(i,100),window.addEventListener("resize",i),window.addEventListener("orientationchange",()=>setTimeout(i,300)),()=>{window.removeEventListener("resize",i),window.removeEventListener("orientationchange",i)}},[]);const n=()=>{const i=document.getElementById("agentic-form");i&&window.scrollTo({top:i.offsetTop-100,behavior:"smooth"})},r=Td[e];return s.jsxs("div",{className:"min-h-screen",children:[s.jsxs("section",{className:"bg-[#080845] text-white pt-32 pb-24 relative overflow-hidden",children:[s.jsx(Ae,{variant:"network",opacity:.1,className:"z-0"}),s.jsx("div",{className:"absolute inset-0 hero-radial-glow z-0"}),s.jsx("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8 relative z-10",children:s.jsxs("div",{className:"max-w-4xl mx-auto text-center",children:[s.jsx(T.p,{className:"text-xs uppercase tracking-widest text-secondary font-semibold mb-4",initial:{opacity:0},animate:{opacity:1},transition:{duration:.5},children:"Agentic AI Solutions"}),s.jsxs(T.h1,{className:"text-4xl md:text-5xl lg:text-6xl font-extrabold mb-6 leading-tight",initial:{opacity:0,y:24},animate:{opacity:1,y:0},transition:{duration:.7,delay:.1},children:["AI That Reasons,"," ",s.jsx("span",{className:"text-gradient-cyan",children:"Plans, and Acts."})]}),s.jsx(T.p,{className:"text-xl text-gray-300 leading-relaxed mb-10 max-w-3xl mx-auto",initial:{opacity:0,y:16},animate:{opacity:1,y:0},transition:{duration:.65,delay:.2},children:"From conversational and voice AI to custom models and autonomous multi-agent systems — we build the full production AI stack on top of your data and cloud foundations. Not demos. Not wrappers. Production AI."}),s.jsx(T.div,{className:"flex flex-wrap justify-center gap-4 mb-10",initial:{opacity:0,y:12},animate:{opacity:1,y:0},transition:{duration:.6,delay:.3},children:[{value:"Autonomous",label:"Not Rule-Based"},{value:"24/7",label:"Zero Downtime"},{value:"LLM-Agnostic",label:"Any Model Provider"}].map((i,o)=>s.jsxs("div",{className:"hero-stat-pill",children:[s.jsx("span",{className:"text-secondary font-bold",children:i.value}),s.jsx("span",{className:"text-gray-400 text-sm",children:i.label})]},o))}),s.jsxs(T.button,{onClick:n,className:"btn-glow bg-secondary text-white font-semibold px-8 py-4 rounded-lg hover:bg-secondary/90 transition-colors duration-300 inline-flex items-center gap-2",initial:{opacity:0,y:12},animate:{opacity:1,y:0},transition:{duration:.6,delay:.4},children:["Start Building",s.jsx(fe,{className:"h-5 w-5"})]})]})})]}),s.jsx("section",{className:"py-20 sm:py-28 bg-white",children:s.jsx("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8",children:s.jsxs("div",{className:"max-w-5xl mx-auto",children:[s.jsxs("div",{className:"text-center mb-14",children:[s.jsxs("div",{className:"inline-block mb-4",children:[s.jsx("div",{className:"h-1 w-20 bg-secondary rounded-full mb-2 mx-auto"}),s.jsx("div",{className:"h-1 w-12 bg-secondary rounded-full mx-auto"})]}),s.jsx("h2",{className:"text-3xl sm:text-4xl font-bold text-primary mb-3",children:"What Makes Agentic AI Different"}),s.jsx("p",{className:"text-gray-500 max-w-xl mx-auto",children:"Traditional automation follows scripts. Agentic AI understands goals and figures out how to achieve them."})]}),s.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-3 gap-6",children:MM.map(({Icon:i,title:o,desc:a,color:l,bg:c},d)=>s.jsxs(T.div,{className:"rounded-2xl border border-gray-100 p-7 shadow-sm hover:shadow-lg transition-all duration-300",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:d*.08,duration:.55},children:[s.jsx("div",{className:`w-11 h-11 rounded-xl ${c} ${l} flex items-center justify-center mb-4`,children:s.jsx(i,{className:"h-6 w-6"})}),s.jsx("h3",{className:"font-bold text-primary text-lg mb-2",children:o}),s.jsx("p",{className:"text-gray-600 text-sm leading-relaxed",children:a})]},d))})]})})}),s.jsxs("section",{className:"bg-[#080845] relative overflow-hidden py-16 sm:py-20",children:[s.jsx("div",{className:"absolute inset-0 hero-radial-glow"}),s.jsx("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8 relative z-10",children:s.jsxs("div",{className:"max-w-3xl mx-auto text-center",children:[s.jsx("p",{className:"text-xs uppercase tracking-widest text-secondary font-semibold mb-4",children:"End-to-End Automation Stack"}),s.jsx("h2",{className:"text-2xl sm:text-3xl font-bold text-white mb-4",children:"Built to Integrate With Everything"}),s.jsx("p",{className:"text-gray-300 text-sm leading-relaxed mb-8",children:"Virtually any process that touches an API can be automated. We build on the leading agentic AI frameworks and connect to your existing business systems — no rip-and-replace required."}),s.jsx("div",{className:"flex flex-wrap justify-center gap-3",children:DM.map(i=>s.jsx("span",{className:"px-4 py-2 rounded-full text-sm font-medium border border-secondary/30 text-secondary bg-secondary/5",children:i},i))})]})})]}),s.jsx("section",{className:"py-20 sm:py-28 bg-white",children:s.jsx("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8",children:s.jsxs("div",{className:"max-w-5xl mx-auto",children:[s.jsxs("div",{className:"text-center mb-14",children:[s.jsxs("div",{className:"inline-block mb-4",children:[s.jsx("div",{className:"h-1 w-20 bg-secondary rounded-full mb-2 mx-auto"}),s.jsx("div",{className:"h-1 w-12 bg-secondary rounded-full mx-auto"})]}),s.jsx("h2",{className:"text-3xl sm:text-4xl font-bold text-primary mb-3",children:"One Partner for the Full AI Stack"}),s.jsx("p",{className:"text-gray-500 max-w-2xl mx-auto",children:"Agents are the apex — but they stand on conversational interfaces, custom models, and solid data foundations. We build the whole stack, so you don't stitch together five vendors."})]}),s.jsx("div",{className:"grid md:grid-cols-3 gap-6",children:[{Icon:pw,title:"Conversational & Voice AI",desc:"Production chatbots, voice agents, and virtual assistants — natural, on-brand, and wired into your systems for real task completion, not canned replies.",points:["AI chat & voice agents","Support automation","Multilingual, 24/7"],color:"text-[#00D7FE]",bg:"bg-[#00D7FE]/10"},{Icon:Em,title:"ML, GenAI & Predictive Models",desc:"Custom machine learning, fine-tuned and retrieval-augmented GenAI, forecasting, and recommendation systems — built and trained on your data.",points:["Custom ML & fine-tuning","GenAI apps & RAG","Forecasting & prediction"],color:"text-violet-400",bg:"bg-violet-400/10"},{Icon:pC,title:"Data & Cloud Foundations",desc:"The groundwork that makes AI work — data pipelines, warehouses, cloud infrastructure, and MLOps for reliable, scalable production deployment.",points:["Pipelines & warehouses","Cloud architecture","MLOps & monitoring"],color:"text-emerald-400",bg:"bg-emerald-400/10"}].map(({Icon:i,title:o,desc:a,points:l,color:c,bg:d},u)=>s.jsxs(T.div,{className:"rounded-2xl border border-gray-100 p-7 shadow-sm hover:shadow-lg transition-all duration-300 flex flex-col",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:u*.1,duration:.55},children:[s.jsx("div",{className:`w-11 h-11 rounded-xl ${d} ${c} flex items-center justify-center mb-4`,children:s.jsx(i,{className:"h-6 w-6"})}),s.jsx("h3",{className:"font-bold text-primary text-lg mb-2",children:o}),s.jsx("p",{className:"text-gray-600 text-sm leading-relaxed mb-5 flex-grow",children:a}),s.jsx("ul",{className:"space-y-2",children:l.map(h=>s.jsxs("li",{className:"flex items-center gap-2 text-xs text-gray-600",children:[s.jsx(Dn,{className:"h-3.5 w-3.5 text-secondary flex-shrink-0"}),h]},h))})]},o))})]})})}),s.jsx("section",{className:"py-20 sm:py-28 bg-gray-50",children:s.jsx("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8",children:s.jsxs("div",{className:"max-w-5xl mx-auto",children:[s.jsxs("div",{className:"text-center mb-12",children:[s.jsxs("div",{className:"inline-block mb-4",children:[s.jsx("div",{className:"h-1 w-20 bg-secondary rounded-full mb-2 mx-auto"}),s.jsx("div",{className:"h-1 w-12 bg-secondary rounded-full mx-auto"})]}),s.jsx("h2",{className:"text-3xl sm:text-4xl font-bold text-primary mb-3",children:"Where We Deploy It"}),s.jsx("p",{className:"text-gray-500 max-w-xl mx-auto",children:"Five production-proven use cases spanning internal operations, marketing, and physical infrastructure."})]}),s.jsx("div",{className:"flex flex-wrap justify-center gap-2 mb-10",children:Object.keys(Td).map(i=>s.jsx("button",{onClick:()=>t(i),className:`px-5 py-2.5 rounded-full text-sm font-semibold transition-all duration-200 ${e===i?"bg-secondary text-white shadow-md":"bg-white text-gray-600 border border-gray-200 hover:border-secondary/50 hover:text-secondary"}`,children:Td[i].tabLabel},i))}),s.jsx(T.div,{initial:{opacity:0,y:12},animate:{opacity:1,y:0},transition:{duration:.35},className:"bg-white rounded-2xl border border-gray-100 shadow-sm overflow-hidden",children:s.jsxs("div",{className:"grid md:grid-cols-2 gap-0",children:[s.jsxs("div",{className:"p-8 md:p-10 border-b md:border-b-0 md:border-r border-gray-100",children:[s.jsx("div",{className:"mb-5",children:r.icon}),s.jsx("h3",{className:"text-2xl font-bold text-primary mb-3",children:r.title}),s.jsx("p",{className:"text-gray-600 leading-relaxed mb-6",children:r.desc}),s.jsx("p",{className:"text-xs font-bold uppercase tracking-widest text-secondary mb-3",children:"Applications"}),s.jsx("ul",{className:"space-y-2",children:r.applications.map(i=>s.jsxs("li",{className:"flex items-start gap-2 text-sm text-gray-700",children:[s.jsx(Dn,{className:"h-4 w-4 text-secondary mt-0.5 flex-shrink-0"}),i]},i))})]}),s.jsxs("div",{className:"p-8 md:p-10 bg-gray-50/50",children:[s.jsx("p",{className:"text-xs font-bold uppercase tracking-widest text-secondary mb-4",children:"Business Impact"}),s.jsx("ul",{className:"space-y-3 mb-8",children:r.impact.map(i=>s.jsxs("li",{className:"flex items-start gap-2 text-sm text-gray-700",children:[s.jsx("span",{className:"mt-1.5 w-1.5 h-1.5 rounded-full bg-secondary flex-shrink-0"}),i]},i))}),s.jsxs("div",{className:"rounded-xl bg-white border border-gray-100 p-4",children:[s.jsx("p",{className:"text-xs font-bold uppercase tracking-widest text-gray-400 mb-2",children:"Integration"}),s.jsx("p",{className:"text-sm text-gray-600 leading-relaxed",children:r.integration})]})]})]})},e)]})})}),s.jsx("section",{id:"agentic-form",className:"py-20 sm:py-24 bg-white",children:s.jsx("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8",children:s.jsxs("div",{className:"max-w-4xl mx-auto",children:[s.jsxs("div",{className:"text-center mb-10",children:[s.jsxs("div",{className:"inline-block mb-4",children:[s.jsx("div",{className:"h-1 w-20 bg-secondary rounded-full mb-2 mx-auto"}),s.jsx("div",{className:"h-1 w-12 bg-secondary rounded-full mx-auto"})]}),s.jsx("h2",{className:"text-3xl sm:text-4xl font-bold text-primary mb-3",children:"Start Building Your Agent System"}),s.jsx("p",{className:"text-gray-500 max-w-xl mx-auto",children:"Tell us about your use case. We will design an architecture and get back to you within 24 hours."})]}),s.jsx("div",{className:"bg-white rounded-2xl border border-gray-100 shadow-lg overflow-hidden",children:s.jsx("iframe",{src:"https://api.synapseai.us/widget/form/y1XVqxrSWGngwSRigXyT",style:{width:"100%",height:"921px",border:"none",display:"block",maxWidth:"100%",minHeight:"800px"},id:"inline-y1XVqxrSWGngwSRigXyT","data-layout":"{'id':'INLINE'}","data-trigger-type":"alwaysShow","data-trigger-value":"","data-activation-type":"alwaysActivated","data-activation-value":"","data-deactivation-type":"neverDeactivate","data-deactivation-value":"","data-form-name":"Agentic AI Form","data-height":"921","data-layout-iframe-id":"inline-y1XVqxrSWGngwSRigXyT","data-form-id":"y1XVqxrSWGngwSRigXyT",title:"Agentic AI Form"})})]})})})]})}const OM=[{Icon:jm,title:"Computer Vision Pipelines",desc:"Object detection, classification, segmentation, and tracking across live camera feeds — trained on your environment, not generic datasets.",color:"text-[#00D7FE]",bg:"bg-[#00D7FE]/10"},{Icon:xw,title:"Defect Detection & Visual QA",desc:"Automated inspection at line speed that catches surface defects, dimensional deviations, and assembly errors with >99% coverage.",color:"text-violet-400",bg:"bg-violet-400/10"},{Icon:AC,title:"Inventory & Asset Tracking",desc:"Multi-camera shelf analysis, bin-picking guidance, and visual inventory counts — no manual audits, no barcode scanners required.",color:"text-emerald-400",bg:"bg-emerald-400/10"},{Icon:vm,title:"Predictive Maintenance",desc:"Sensor fusion and acoustic/thermal anomaly detection that identifies equipment failure signatures days before breakdown.",color:"text-amber-400",bg:"bg-amber-400/10"},{Icon:cC,title:"Digital Twins",desc:"NVIDIA Omniverse-based virtual replicas of your physical environment for simulation, layout optimisation, and AI model pre-training.",color:"text-pink-400",bg:"bg-pink-400/10"},{Icon:Sm,title:"Edge Deployment & MLOps",desc:"Deploy models on NVIDIA Jetson, custom edge hardware, and IoT gateways with CI/CD pipelines for automated model refresh and drift monitoring.",color:"text-teal-400",bg:"bg-teal-400/10"}],FM=[{step:"01",title:"Site Survey & Architecture",body:"We assess your environment — camera positions, lighting conditions, network topology, and edge hardware constraints — then design the optimal deployment architecture.",color:"#00D7FE"},{step:"02",title:"Model Training & Validation",body:"We train vision models on your actual conditions, augmenting with synthetic data to handle edge cases and environmental variation before a single camera goes live.",color:"#818cf8"},{step:"03",title:"Edge Deploy & Monitor",body:"Models ship to your edge hardware. We configure real-time alerting, set up drift monitoring, and provide ongoing model refresh as conditions change.",color:"#34d399"}],_M=["NVIDIA Jetson","NVIDIA Omniverse","OpenCV","YOLO","TensorRT","ONNX Runtime","ROS 2","AWS IoT Greengrass","Azure IoT Edge","MQTT","OPC-UA"],Ed={manufacturing:{tabLabel:"Manufacturing",icon:s.jsx(vC,{className:"h-8 w-8 text-secondary"}),title:"Defect Detection & Quality Control",desc:"Deploy computer vision on your production line that inspects every unit at line speed — catching defects, foreign objects, and measurement deviations that human inspectors miss.",applications:["Surface defect detection (scratches, dents, discoloration)","Dimensional measurement and tolerance verification","Assembly verification and missing component detection","Foreign object detection in food and pharma lines"],impact:[">99% inspection coverage vs. ~10% manual sampling","Defect escape rate reduced to near zero","Line speed maintained — no throughput sacrifice","Full inspection logs for traceability and compliance"],integration:"Integrates with PLC systems, MES platforms, and ERP via OPC-UA, MQTT, and REST APIs."},retail:{tabLabel:"Retail",icon:s.jsx(MC,{className:"h-8 w-8 text-secondary"}),title:"Smart Shelves & Loss Prevention",desc:"Multi-camera intelligence across your retail floor — tracking inventory levels, identifying out-of-stocks, detecting shrink events, and analysing shopper behaviour in real time.",applications:["Planogram compliance and out-of-stock detection","Self-checkout integrity monitoring","Shopper flow and dwell-time analytics","Loss prevention and theft pattern detection"],impact:["Out-of-stock events detected in minutes, not hours","Shrink reduced through early anomaly detection","Store layout optimised from real dwell-time data","Labour redeployed from manual shelf-checks"],integration:"Connects with retail POS systems, inventory management platforms, and existing security infrastructure."},logistics:{tabLabel:"Logistics",icon:s.jsx(FC,{className:"h-8 w-8 text-secondary"}),title:"Warehouse & Inventory AI",desc:"Autonomous visual inventory counting, inbound damage detection, and vehicle tracking across the yard — eliminating manual cycle counts and speeding dock throughput.",applications:["Automated inventory counts from overhead cameras","Inbound damage detection and exception flagging","License plate and vehicle tracking in yard","Pick-path optimisation with visual confirmation"],impact:["Manual cycle counts eliminated entirely","Inbound claims processed faster with image evidence","Dock throughput improved through yard visibility","Pick accuracy increased with visual confirmation"],integration:"Connects with WMS platforms, TMS systems, and forklift/AGV fleets via real-time edge APIs."},facilities:{tabLabel:"Facilities",icon:s.jsx(Wo,{className:"h-8 w-8 text-secondary"}),title:"Smart Buildings & Physical Security",desc:"Intelligent camera networks that go beyond surveillance — monitoring occupancy, enforcing safety protocols, detecting PPE violations, and providing real-time access intelligence.",applications:["PPE compliance monitoring (helmets, vests, gloves)","Occupancy counting and space utilisation analytics","Tailgating and unauthorised access detection","Perimeter intrusion and anomaly alerting"],impact:["Safety violations flagged in seconds, not retrospectively","Space utilisation data drives facilities planning","Security incidents documented with video evidence","Audit-ready compliance logs generated automatically"],integration:"Integrates with access control systems (Lenel, Genetec), existing CCTV infrastructure, and building management systems."},energy:{tabLabel:"Energy & Utilities",icon:s.jsx(ot,{className:"h-8 w-8 text-secondary"}),title:"Predictive Maintenance & Safety",desc:"Sensor fusion and computer vision that monitors assets continuously — identifying vibration signatures, thermal anomalies, and visual wear patterns before equipment fails.",applications:["Vibration and acoustic anomaly detection on rotating equipment","Thermal imaging for electrical and mechanical inspections","Visual corrosion and structural wear monitoring","Safety zone and compliance perimeter enforcement"],impact:["Unplanned downtime reduced by up to 45%","Field inspection costs cut vs. manual rounds","Mean time between failures extended","Zero-incident operations through early warning"],integration:"Supports SCADA/DCS integration, OSIsoft PI, MQTT-based sensor networks, and drone inspection pipelines."}};function VM(){const[e,t]=p.useState("manufacturing");Ye({title:"Physical AI & Edge Deployment — Computer Vision at the Edge | Synapse AI Solutions",description:"Deploy computer vision, defect detection, predictive maintenance, and digital twin systems at the edge. NVIDIA Jetson, Omniverse, real-time inference for manufacturing, retail, and logistics.",jsonLd:{"@context":"https://schema.org","@type":"Service",name:"Physical AI & Edge",serviceType:"Computer vision and edge AI deployment",url:"https://synapseai.us/services/physical-ai",description:"Computer vision, defect detection, visual inspection, predictive maintenance, and digital twins deployed at the edge.",provider:{"@type":"Organization",name:"Synapse AI Solutions","@id":"https://synapseai.us/#organization"},areaServed:"US"}}),p.useEffect(()=>{const i=document.createElement("script");return i.src="https://api.synapseai.us/js/form_embed.js",i.async=!0,document.body.appendChild(i),()=>{document.body.removeChild(i)}},[]),p.useEffect(()=>{const i=()=>{const o=document.getElementById("inline-y1XVqxrSWGngwSRigXyT");if(!o)return;const a=window.innerWidth;a===540||a===720?(o.style.height="1000px",o.style.minHeight="900px"):a<600?(o.style.height="1050px",o.style.minHeight="800px"):a<768?(o.style.height="950px",o.style.minHeight="850px"):a<1024?(o.style.height="921px",o.style.minHeight="900px"):(o.style.height="921px",o.style.minHeight="921px"),navigator.userAgent.includes("iPad")&&(o.style.height="921px")};return setTimeout(i,100),window.addEventListener("resize",i),window.addEventListener("orientationchange",()=>setTimeout(i,300)),()=>{window.removeEventListener("resize",i),window.removeEventListener("orientationchange",i)}},[]);const n=()=>{const i=document.getElementById("physical-ai-form");i&&window.scrollTo({top:i.offsetTop-100,behavior:"smooth"})},r=Ed[e];return s.jsxs("div",{className:"min-h-screen",children:[s.jsxs("section",{className:"bg-[#080845] text-white pt-32 pb-24 relative overflow-hidden",children:[s.jsx(Ae,{variant:"circuit",opacity:.1,className:"z-0"}),s.jsx("div",{className:"absolute inset-0 hero-radial-glow z-0"}),s.jsx("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8 relative z-10",children:s.jsxs("div",{className:"max-w-4xl mx-auto text-center",children:[s.jsx(T.p,{className:"text-xs uppercase tracking-widest text-secondary font-semibold mb-4",initial:{opacity:0},animate:{opacity:1},transition:{duration:.5},children:"Physical AI & Edge"}),s.jsxs(T.h1,{className:"text-4xl md:text-5xl lg:text-6xl font-extrabold mb-6 leading-tight",initial:{opacity:0,y:24},animate:{opacity:1,y:0},transition:{duration:.7,delay:.1},children:["Physical AI."," ",s.jsx("span",{className:"text-gradient-cyan",children:"Deployed at the Edge."})]}),s.jsx(T.p,{className:"text-xl text-gray-300 leading-relaxed mb-10 max-w-3xl mx-auto",initial:{opacity:0,y:16},animate:{opacity:1,y:0},transition:{duration:.65,delay:.2},children:"From camera feeds to real-time intelligence — we deploy computer vision, sensor AI, and edge inference systems directly into your facilities, production lines, and field operations. Camera to production in 3 steps."}),s.jsx(T.div,{className:"flex flex-wrap justify-center gap-4 mb-10",initial:{opacity:0,y:12},animate:{opacity:1,y:0},transition:{duration:.6,delay:.3},children:[{value:"Real-Time",label:"Not Batch Processing"},{value:"Edge-Native",label:"Low-Latency Inference"},{value:"24/7",label:"Continuous Monitoring"}].map((i,o)=>s.jsxs("div",{className:"hero-stat-pill",children:[s.jsx("span",{className:"text-secondary font-bold",children:i.value}),s.jsx("span",{className:"text-gray-400 text-sm",children:i.label})]},o))}),s.jsxs(T.button,{onClick:n,className:"btn-glow bg-secondary text-white font-semibold px-8 py-4 rounded-lg hover:bg-secondary/90 transition-colors duration-300 inline-flex items-center gap-2",initial:{opacity:0,y:12},animate:{opacity:1,y:0},transition:{duration:.6,delay:.4},children:["Deploy Physical AI",s.jsx(fe,{className:"h-5 w-5"})]})]})})]}),s.jsx("section",{className:"py-20 sm:py-28 bg-white",children:s.jsx("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8",children:s.jsxs("div",{className:"max-w-5xl mx-auto",children:[s.jsxs("div",{className:"text-center mb-14",children:[s.jsxs("div",{className:"inline-block mb-4",children:[s.jsx("div",{className:"h-1 w-20 bg-secondary rounded-full mb-2 mx-auto"}),s.jsx("div",{className:"h-1 w-12 bg-secondary rounded-full mx-auto"})]}),s.jsx("h2",{className:"text-3xl sm:text-4xl font-bold text-primary mb-3",children:"What We Deploy"}),s.jsx("p",{className:"text-gray-500 max-w-xl mx-auto",children:"Six production-grade physical AI capabilities deployed where your operations happen."})]}),s.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-3 gap-6",children:OM.map(({Icon:i,title:o,desc:a,color:l,bg:c},d)=>s.jsxs(T.div,{className:"rounded-2xl border border-gray-100 p-7 shadow-sm hover:shadow-lg transition-all duration-300",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:d*.08,duration:.55},children:[s.jsx("div",{className:`w-11 h-11 rounded-xl ${c} ${l} flex items-center justify-center mb-4`,children:s.jsx(i,{className:"h-6 w-6"})}),s.jsx("h3",{className:"font-bold text-primary text-lg mb-2",children:o}),s.jsx("p",{className:"text-gray-600 text-sm leading-relaxed",children:a})]},d))})]})})}),s.jsxs("section",{className:"bg-[#080845] relative overflow-hidden py-20 sm:py-28",children:[s.jsx("div",{className:"absolute inset-0 hero-radial-glow"}),s.jsx("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8 relative z-10",children:s.jsxs("div",{className:"max-w-4xl mx-auto",children:[s.jsx("p",{className:"text-xs uppercase tracking-widest text-secondary font-semibold text-center mb-4",children:"Camera to Production"}),s.jsx("h2",{className:"text-3xl sm:text-4xl font-bold text-white text-center mb-14",children:"How We Deploy in 3 Steps"}),s.jsx("div",{className:"grid md:grid-cols-3 gap-6 mb-16",children:FM.map((i,o)=>s.jsxs(T.div,{className:"glass-card rounded-2xl p-7 text-center",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:o*.1,duration:.5},children:[s.jsx("span",{className:"text-5xl font-black leading-none mb-4 block select-none",style:{color:i.color,opacity:.3},children:i.step}),s.jsx("h3",{className:"font-bold text-white text-lg mb-3",children:i.title}),s.jsx("p",{className:"text-gray-400 text-sm leading-relaxed",children:i.body})]},o))}),s.jsxs("div",{className:"text-center",children:[s.jsx("p",{className:"text-xs uppercase tracking-widest text-secondary font-semibold mb-5",children:"Edge & Vision Stack"}),s.jsx("div",{className:"flex flex-wrap justify-center gap-3",children:_M.map(i=>s.jsx("span",{className:"px-4 py-2 rounded-full text-sm font-medium border border-secondary/30 text-secondary bg-secondary/5",children:i},i))})]})]})})]}),s.jsx("section",{className:"py-20 sm:py-28 bg-gray-50",children:s.jsx("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8",children:s.jsxs("div",{className:"max-w-5xl mx-auto",children:[s.jsxs("div",{className:"text-center mb-12",children:[s.jsxs("div",{className:"inline-block mb-4",children:[s.jsx("div",{className:"h-1 w-20 bg-secondary rounded-full mb-2 mx-auto"}),s.jsx("div",{className:"h-1 w-12 bg-secondary rounded-full mx-auto"})]}),s.jsx("h2",{className:"text-3xl sm:text-4xl font-bold text-primary mb-3",children:"Physical AI by Industry"}),s.jsx("p",{className:"text-gray-500 max-w-xl mx-auto",children:"Proven deployments across five sectors where physical AI drives measurable outcomes."})]}),s.jsx("div",{className:"flex flex-wrap justify-center gap-2 mb-10",children:Object.keys(Ed).map(i=>s.jsx("button",{onClick:()=>t(i),className:`px-5 py-2.5 rounded-full text-sm font-semibold transition-all duration-200 ${e===i?"bg-secondary text-white shadow-md":"bg-white text-gray-600 border border-gray-200 hover:border-secondary/50 hover:text-secondary"}`,children:Ed[i].tabLabel},i))}),s.jsx(T.div,{initial:{opacity:0,y:12},animate:{opacity:1,y:0},transition:{duration:.35},className:"bg-white rounded-2xl border border-gray-100 shadow-sm overflow-hidden",children:s.jsxs("div",{className:"grid md:grid-cols-2 gap-0",children:[s.jsxs("div",{className:"p-8 md:p-10 border-b md:border-b-0 md:border-r border-gray-100",children:[s.jsx("div",{className:"mb-5",children:r.icon}),s.jsx("h3",{className:"text-2xl font-bold text-primary mb-3",children:r.title}),s.jsx("p",{className:"text-gray-600 leading-relaxed mb-6",children:r.desc}),s.jsxs("div",{children:[s.jsx("p",{className:"text-xs font-bold uppercase tracking-widest text-secondary mb-3",children:"Applications"}),s.jsx("ul",{className:"space-y-2",children:r.applications.map(i=>s.jsxs("li",{className:"flex items-start gap-2 text-sm text-gray-700",children:[s.jsx(Dn,{className:"h-4 w-4 text-secondary mt-0.5 flex-shrink-0"}),i]},i))})]})]}),s.jsxs("div",{className:"p-8 md:p-10 bg-gray-50/50",children:[s.jsx("p",{className:"text-xs font-bold uppercase tracking-widest text-secondary mb-4",children:"Business Impact"}),s.jsx("ul",{className:"space-y-3 mb-8",children:r.impact.map(i=>s.jsxs("li",{className:"flex items-start gap-2 text-sm text-gray-700",children:[s.jsx("span",{className:"mt-1.5 w-1.5 h-1.5 rounded-full bg-secondary flex-shrink-0"}),i]},i))}),s.jsxs("div",{className:"rounded-xl bg-white border border-gray-100 p-4",children:[s.jsx("p",{className:"text-xs font-bold uppercase tracking-widest text-gray-400 mb-2",children:"Integration"}),s.jsx("p",{className:"text-sm text-gray-600 leading-relaxed",children:r.integration})]})]})]})},e)]})})}),s.jsx("section",{id:"physical-ai-form",className:"py-20 sm:py-24 bg-white",children:s.jsx("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8",children:s.jsxs("div",{className:"max-w-4xl mx-auto",children:[s.jsxs("div",{className:"text-center mb-10",children:[s.jsxs("div",{className:"inline-block mb-4",children:[s.jsx("div",{className:"h-1 w-20 bg-secondary rounded-full mb-2 mx-auto"}),s.jsx("div",{className:"h-1 w-12 bg-secondary rounded-full mx-auto"})]}),s.jsx("h2",{className:"text-3xl sm:text-4xl font-bold text-primary mb-3",children:"Deploy Physical AI in Your Facility"}),s.jsx("p",{className:"text-gray-500 max-w-xl mx-auto",children:"Tell us about your environment and use case. We will scope a deployment architecture within 24 hours."})]}),s.jsx("div",{className:"bg-white rounded-2xl border border-gray-100 shadow-lg overflow-hidden",children:s.jsx("iframe",{src:"https://api.synapseai.us/widget/form/y1XVqxrSWGngwSRigXyT",style:{width:"100%",height:"921px",border:"none",display:"block",maxWidth:"100%",minHeight:"800px"},id:"inline-y1XVqxrSWGngwSRigXyT","data-layout":"{'id':'INLINE'}","data-trigger-type":"alwaysShow","data-trigger-value":"","data-activation-type":"alwaysActivated","data-activation-value":"","data-deactivation-type":"neverDeactivate","data-deactivation-value":"","data-form-name":"Physical AI Form","data-height":"921","data-layout-iframe-id":"inline-y1XVqxrSWGngwSRigXyT","data-form-id":"y1XVqxrSWGngwSRigXyT",title:"Physical AI Form"})})]})})})]})}const zM=[{Icon:jC,eyebrow:"Healthcare AI",title:"Intelligence for Medicine & Care",desc:"We research AI that augments clinicians and care operations — grounded in real clinical constraints, privacy, and the bar that healthcare rightly demands.",accent:"#10b981",iconBg:"bg-emerald-400/10",iconText:"text-emerald-400",thrusts:[{Icon:vm,label:"Clinical decision support & patient-risk prediction"},{Icon:xw,label:"Medical imaging & diagnostics (radiology, pathology)"},{Icon:bm,label:"Biomedical NLP & literature intelligence"},{Icon:gC,label:"Genomics & drug-discovery acceleration"},{Icon:nc,label:"Privacy-preserving ML on health data (HIPAA-aware)"}]},{Icon:Iu,eyebrow:"Physical AI",title:"Intelligence That Acts in the World",desc:"We research perception-to-action systems that see, reason, and operate in physical environments — from the factory floor to the field, deployed at the edge.",accent:"#00D7FE",iconBg:"bg-[#00D7FE]/10",iconText:"text-[#00D7FE]",thrusts:[{Icon:jm,label:"Computer vision for industrial & field environments"},{Icon:Iu,label:"Embodied AI & robotics — perception to action"},{Icon:Sm,label:"Edge inference & on-device model optimization"},{Icon:dC,label:"Sensor fusion & digital twins"},{Icon:EC,label:"Real-time monitoring & anomaly detection"}]}],BM=[{Icon:km,title:"Applied, Not Academic",body:"We research against real deployment constraints. Every effort targets a system that ships — latency, cost, safety, and reliability are first-class, not afterthoughts.",color:"text-[#00D7FE]",bg:"bg-[#00D7FE]/10"},{Icon:bm,title:"Open by Default",body:"We publish findings, benchmarks, and open-source tooling. Advancing the field in the open is how trust — and reputation — compounds.",color:"text-emerald-400",bg:"bg-emerald-400/10"},{Icon:Tm,title:"Cross-Domain by Design",body:"Healthcare and physical AI share the hard problems: perception, uncertainty, safety, reliability. We move breakthroughs across domains instead of solving them twice.",color:"text-violet-400",bg:"bg-violet-400/10"}],WM=[{Icon:bm,title:"Preprints & Whitepapers",desc:"Peer-quality writeups on methods, results, and what actually worked in production."},{Icon:CC,title:"Benchmarks & Datasets",desc:"Reproducible evaluations and curated datasets for healthcare and physical AI tasks."},{Icon:Mt,title:"Open-Source Tooling",desc:"Libraries and reference implementations the broader community can build on."}];function $M(){Ye({title:fi.AI_RESEARCH_LABS,description:"Synapse AI Research Labs — applied research in healthcare and physical AI. From clinical decision support and medical imaging to computer vision, robotics, and edge AI. Frontier research, engineered into the real world.",jsonLd:{"@context":"https://schema.org","@type":"Service",name:"AI Research Labs",serviceType:"Applied AI research in healthcare and physical AI",url:"https://synapseai.us/services/ai-research-labs",description:"Applied research in healthcare AI (clinical decision support, medical imaging, biomedical NLP) and physical AI (computer vision, robotics, edge deployment).",provider:{"@type":"Organization",name:"Synapse AI Solutions","@id":"https://synapseai.us/#organization"},areaServed:"US"}}),p.useEffect(()=>{const t=document.createElement("script");return t.src="https://api.synapseai.us/js/form_embed.js",t.async=!0,document.body.appendChild(t),()=>{document.body.contains(t)&&document.body.removeChild(t)}},[]);const e=()=>{const t=document.getElementById("research-labs-form");t&&window.scrollTo({top:t.offsetTop-100,behavior:"smooth"})};return s.jsxs("div",{className:"min-h-screen",children:[s.jsxs("section",{className:"bg-[#080845] text-white pt-32 pb-24 relative overflow-hidden",children:[s.jsx(Ae,{variant:"network",opacity:.12,className:"z-0"}),s.jsx("div",{className:"absolute inset-0 hero-radial-glow z-0"}),s.jsx("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8 relative z-10",children:s.jsxs("div",{className:"max-w-4xl mx-auto text-center",children:[s.jsx(T.p,{className:"text-xs uppercase tracking-widest text-secondary font-semibold mb-4",initial:{opacity:0},animate:{opacity:1},transition:{duration:.5},children:"AI Research Labs"}),s.jsxs(T.h1,{className:"text-4xl md:text-5xl lg:text-6xl font-extrabold mb-6 leading-tight",initial:{opacity:0,y:24},animate:{opacity:1,y:0},transition:{duration:.7,delay:.1},children:["Research That"," ",s.jsx("span",{className:"text-gradient-cyan",children:"Reaches the Real World."})]}),s.jsxs(T.p,{className:"text-xl text-gray-300 leading-relaxed mb-10 max-w-3xl mx-auto",initial:{opacity:0,y:16},animate:{opacity:1,y:0},transition:{duration:.65,delay:.2},children:["Our applied research arm works at the frontier of two domains where AI is about to matter most — ",s.jsx("span",{className:"text-white font-semibold",children:"healthcare"})," and"," ",s.jsx("span",{className:"text-white font-semibold",children:"physical AI"}),". We don't research for the paper. We research for the system that ships."]}),s.jsx(T.div,{className:"flex flex-wrap justify-center gap-4 mb-10",initial:{opacity:0,y:12},animate:{opacity:1,y:0},transition:{duration:.6,delay:.3},children:[{value:"Healthcare",label:"Clinical & Biomedical AI"},{value:"Physical AI",label:"Vision · Robotics · Edge"},{value:"Applied",label:"Research That Ships"}].map((t,n)=>s.jsxs("div",{className:"hero-stat-pill",children:[s.jsx("span",{className:"text-secondary font-bold",children:t.value}),s.jsx("span",{className:"text-gray-400 text-sm",children:t.label})]},n))}),s.jsxs(T.button,{onClick:e,className:"btn-glow bg-secondary text-white font-semibold px-8 py-4 rounded-lg hover:bg-secondary/90 transition-colors duration-300 inline-flex items-center gap-2",initial:{opacity:0,y:12},animate:{opacity:1,y:0},transition:{duration:.6,delay:.4},children:["Collaborate with Our Labs",s.jsx(fe,{className:"h-5 w-5"})]})]})})]}),s.jsx("section",{className:"py-20 sm:py-28 bg-white",children:s.jsx("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8",children:s.jsxs("div",{className:"max-w-6xl mx-auto",children:[s.jsxs("div",{className:"text-center mb-14",children:[s.jsxs("div",{className:"inline-block mb-4",children:[s.jsx("div",{className:"h-1 w-20 bg-secondary rounded-full mb-2 mx-auto"}),s.jsx("div",{className:"h-1 w-12 bg-secondary rounded-full mx-auto"})]}),s.jsx("h2",{className:"text-3xl sm:text-4xl font-bold text-primary mb-3",children:"Where We Research"}),s.jsx("p",{className:"text-gray-500 max-w-xl mx-auto",children:"Two domains, one bar: research rigorous enough to publish, practical enough to deploy."})]}),s.jsx("div",{className:"grid md:grid-cols-2 gap-6 lg:gap-8",children:zM.map((t,n)=>s.jsxs(T.div,{className:"rounded-2xl border border-gray-100 bg-white p-8 lg:p-10 shadow-sm hover:shadow-xl transition-all duration-300 flex flex-col",initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:n*.12,duration:.6},children:[s.jsx("div",{className:`w-12 h-12 rounded-xl ${t.iconBg} ${t.iconText} flex items-center justify-center mb-5`,children:s.jsx(t.Icon,{className:"h-6 w-6"})}),s.jsx("p",{className:"text-xs font-bold uppercase tracking-widest mb-2",style:{color:t.accent},children:t.eyebrow}),s.jsx("h3",{className:"text-2xl font-bold text-primary mb-3",children:t.title}),s.jsx("p",{className:"text-gray-600 leading-relaxed mb-7",children:t.desc}),s.jsx("ul",{className:"space-y-3 mt-auto",children:t.thrusts.map(({Icon:r,label:i})=>s.jsxs("li",{className:"flex items-start gap-3 text-sm text-gray-700",children:[s.jsx("span",{className:"mt-0.5 w-7 h-7 rounded-lg flex items-center justify-center flex-shrink-0",style:{backgroundColor:`${t.accent}14`,color:t.accent},children:s.jsx(r,{className:"h-4 w-4"})}),s.jsx("span",{className:"leading-snug pt-1",children:i})]},i))})]},t.eyebrow))})]})})}),s.jsxs("section",{className:"bg-[#080845] relative overflow-hidden py-20 sm:py-28",children:[s.jsx("div",{className:"absolute inset-0 hero-radial-glow"}),s.jsx("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8 relative z-10",children:s.jsxs("div",{className:"max-w-5xl mx-auto",children:[s.jsxs("div",{className:"text-center mb-14",children:[s.jsx("p",{className:"text-xs uppercase tracking-widest text-secondary font-semibold mb-4",children:"How We Work"}),s.jsx("h2",{className:"text-3xl sm:text-4xl font-bold text-white mb-3",children:"A Lab Built to Ship"}),s.jsx("p",{className:"text-gray-400 max-w-xl mx-auto",children:"The principles that keep our research honest, open, and useful."})]}),s.jsx("div",{className:"grid md:grid-cols-3 gap-6",children:BM.map(({Icon:t,title:n,body:r,color:i,bg:o},a)=>s.jsxs(T.div,{className:"glass-card rounded-2xl p-7",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:a*.1,duration:.5},children:[s.jsx("div",{className:`w-11 h-11 rounded-xl ${o} ${i} flex items-center justify-center mb-4`,children:s.jsx(t,{className:"h-6 w-6"})}),s.jsx("h3",{className:"font-bold text-white text-lg mb-3",children:n}),s.jsx("p",{className:"text-gray-400 text-sm leading-relaxed",children:r})]},n))})]})})]}),s.jsx("section",{className:"py-20 sm:py-28 bg-gray-50",children:s.jsx("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8",children:s.jsxs("div",{className:"max-w-5xl mx-auto",children:[s.jsxs("div",{className:"text-center mb-14",children:[s.jsxs("div",{className:"inline-block mb-4",children:[s.jsx("div",{className:"h-1 w-20 bg-secondary rounded-full mb-2 mx-auto"}),s.jsx("div",{className:"h-1 w-12 bg-secondary rounded-full mx-auto"})]}),s.jsx("h2",{className:"text-3xl sm:text-4xl font-bold text-primary mb-3",children:"Publications & Open Research"}),s.jsx("p",{className:"text-gray-500 max-w-xl mx-auto",children:"We share what we learn. Our first public research is in the pipeline — here's what's coming."})]}),s.jsx("div",{className:"grid sm:grid-cols-3 gap-6",children:WM.map(({Icon:t,title:n,desc:r},i)=>s.jsxs(T.div,{className:"relative rounded-2xl border border-gray-100 bg-white p-7 shadow-sm overflow-hidden",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:i*.1,duration:.5},children:[s.jsxs("span",{className:"absolute top-4 right-4 inline-flex items-center gap-1 text-[10px] font-bold uppercase tracking-widest text-secondary bg-secondary/10 px-2.5 py-1 rounded-full",children:[s.jsx(Em,{className:"h-3 w-3"}),"Coming soon"]}),s.jsx("div",{className:"w-11 h-11 rounded-xl bg-primary/5 text-primary flex items-center justify-center mb-4",children:s.jsx(t,{className:"h-6 w-6"})}),s.jsx("h3",{className:"font-bold text-primary text-lg mb-2",children:n}),s.jsx("p",{className:"text-gray-600 text-sm leading-relaxed",children:r})]},n))}),s.jsx(T.div,{className:"mt-12 flex justify-center",initial:{opacity:0,y:12},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5},children:s.jsxs("div",{className:"inline-flex items-center gap-3 px-6 py-4 rounded-2xl bg-white border border-gray-100 shadow-sm",children:[s.jsx(km,{className:"h-5 w-5 text-secondary flex-shrink-0"}),s.jsxs("p",{className:"text-sm text-gray-700 font-medium",children:["Researcher, clinician, or operator with a hard problem?"," ",s.jsx("button",{onClick:e,className:"text-primary font-bold underline-offset-2 hover:underline",children:"Propose a research collaboration →"})]})]})})]})})}),s.jsx("section",{id:"research-labs-form",className:"py-20 sm:py-24 bg-white",children:s.jsx("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8",children:s.jsxs("div",{className:"max-w-4xl mx-auto",children:[s.jsxs("div",{className:"text-center mb-10",children:[s.jsxs("div",{className:"inline-block mb-4",children:[s.jsx("div",{className:"h-1 w-20 bg-secondary rounded-full mb-2 mx-auto"}),s.jsx("div",{className:"h-1 w-12 bg-secondary rounded-full mx-auto"})]}),s.jsx("h2",{className:"text-3xl sm:text-4xl font-bold text-primary mb-3",children:"Partner with Our Labs"}),s.jsx("p",{className:"text-gray-500 max-w-xl mx-auto",children:"Research partnerships, pilots, and applied studies in healthcare and physical AI. Tell us what you're working on — we respond with a concrete next step."})]}),s.jsx("div",{className:"bg-white rounded-2xl border border-gray-100 shadow-lg overflow-hidden",children:s.jsx("iframe",{src:"https://api.synapseai.us/widget/form/trW0SGDNeqyTHQItKJHb",style:{width:"100%",height:"1008px",border:"none",display:"block",maxWidth:"100%",minHeight:"900px"},id:"inline-trW0SGDNeqyTHQItKJHb","data-layout":"{'id':'INLINE'}","data-trigger-type":"alwaysShow","data-trigger-value":"","data-activation-type":"alwaysActivated","data-activation-value":"","data-deactivation-type":"neverDeactivate","data-deactivation-value":"","data-form-name":"Partnership Form","data-height":"1008","data-layout-iframe-id":"inline-trW0SGDNeqyTHQItKJHb","data-form-id":"trW0SGDNeqyTHQItKJHb",title:"Research Labs Partnership Form"})})]})})})]})}const UM=[{Icon:Iu,title:"No Coding — Ever",desc:"Build powerful AI agents and business workflows using visual, point-and-click tools. If you can describe what you want, you can build it.",color:"text-[#00D7FE]",bg:"bg-[#00D7FE]/10"},{Icon:Go,title:"Real Business Outcomes",desc:"Every session solves a real problem: automating repetitive work, building customer-facing AI, and creating systems that run while you sleep.",color:"text-violet-400",bg:"bg-violet-400/10"},{Icon:ot,title:"From Idea to Live in Hours",desc:"Describe your app in plain English and watch AI build it. No waiting months for a developer — you ship working solutions the same day you have the idea.",color:"text-amber-400",bg:"bg-amber-400/10"},{Icon:Em,title:"Open the Door to AI Careers",desc:"Whether you want to freelance, consult, build your own product, or get hired — this program gives you the skills and portfolio to compete in the AI economy without writing a single line of code.",color:"text-emerald-400",bg:"bg-emerald-400/10"}],HM=[{Icon:Mt,title:"Business Professionals & Leaders",desc:"You're managing teams, budgets, and outcomes — and AI is creating a capability gap between those who act on it and those who watch. This program closes that gap without asking you to become technical.",color:"text-[#00D7FE]",bg:"bg-[#00D7FE]/10"},{Icon:Wo,title:"Entrepreneurs & Founders",desc:"You see exactly where AI fits in your business but don't have an engineering team to build it. After this program, you do — and you built it yourself.",color:"text-violet-400",bg:"bg-violet-400/10"},{Icon:DC,title:"Career Changers & Creatives",desc:"The AI economy is hiring people who can build AI systems — not just describe them. You leave with a portfolio of real deployed projects that gets you hired or lands you clients. No CS degree required.",color:"text-amber-400",bg:"bg-amber-400/10"}],GM=[{week:"Wk 1–2",build:"An AI assistant that knows your entire business — documents, processes, clients — and answers questions from it in seconds"},{week:"Wk 3–4",build:"A working web app you built by describing it in plain English, live on the internet with a real URL"},{week:"Wk 5–6",build:"A 24/7 automation that handles lead follow-up, content, and reporting while you sleep"},{week:"Wk 7–8",build:"Your capstone — a complete, deployed AI system tailored to your specific industry and business goals"}],qM=[{Icon:Am,title:"Live Every Session",desc:"No pre-recorded videos. Every session is live with a real instructor — you ask questions, get answers, and build in real time."},{Icon:Go,title:"Visual & Click-Based",desc:"You build by describing what you want and clicking — not by reading documentation or writing code. If you can use a browser, you can build here."},{Icon:Uo,title:"Real Business Outcomes",desc:"Every project solves an actual operational problem you can demo to an employer or present to a client. No toy examples."},{Icon:ze,title:"Small Cohort, Full Access",desc:"Limited seats means real instructor attention on your specific work — not a lecture hall where you disappear into the back row."}],KM=["Certificate of Completion","Portfolio of deployed AI projects","Private cohort community (lifetime)","Lifetime access to all recordings & materials","Career resources & AI consulting roadmap","Alumni network access"],YM=[{week:1,title:"AI as Your Thinking Partner",tagline:"Get dramatically more done by working with AI — starting this week",outcome:"You leave with a personal AI setup that handles real business questions and turns raw, messy information into clear, usable output — all from a conversation. No setup tutorials, no theory. You're getting actual work done with AI by the end of session one."},{week:2,title:"Your AI Knowledge Hub",tagline:"Build an AI that knows your entire business inside and out",outcome:"You build an AI that knows your business — your documents, processes, and institutional knowledge — and makes it all searchable in plain English. By the end of this week, it's plugged into the tools your team already uses every day."},{week:3,title:"Build Real Apps — Zero Code",tagline:"Go from idea to live, working app just by describing what you want",outcome:"You describe what you want to build in plain language and watch it come to life. Before the week is over, you have a real, deployed app — not a prototype, not a mockup. Something that works, and that you built without writing a single line of code."},{week:4,title:"Your First Live AI Business App",tagline:"Launch an AI-powered product your customers or team can use today",outcome:"You launch an AI-powered app that real people can use. It converses, understands your data, and lives on the internet with its own address. By the end of this week, you've shipped something — and you understand every part of how it works."},{week:5,title:"Put Your Work on Autopilot",tagline:"Create intelligent workflows that run your business 24/7 without you",outcome:"You build automation that handles the repetitive, time-consuming work of running a business. Lead follow-up, content publishing, client communications, reporting — it runs while you sleep, and only surfaces what actually needs your attention."},{week:6,title:"Give Your AI a Memory & Superpowers",tagline:"Build AI that knows everything and can take action on your behalf",outcome:"You give your AI a brain filled with everything your business knows — and the ability to act on it. Ask it anything, trigger it from anywhere, and watch it coordinate across your entire operation from a single command centre you built yourself."},{week:7,title:"Enterprise AI Assistants for Your Business",tagline:"Deploy a professional AI assistant your entire team can rely on",outcome:"You deploy an enterprise-grade AI assistant built for your industry and your workflows. It has access to your files, your calendar, and real-time information — and your team can use it immediately. This is the kind of AI Fortune 500 companies pay millions to build."},{week:8,title:"Your Capstone Launch & AI Career Roadmap",tagline:"Ship your final project and walk away with a deployable portfolio",outcome:"You launch your capstone project live, with instructor support through every step. You walk out with a working AI system in your portfolio, a certificate, and a concrete roadmap for what's next — whether that's freelancing, consulting, or building your own AI product."}];function QM(){Ye({title:"No-Code Agentic AI Bootcamp | Build AI Workflows Without Programming | Synapse AI Solutions",description:"Master AI automation without coding. Build intelligent agents, automated workflows, and knowledge systems using visual tools. 8-week live online program — next cohort June 2, 2026."});const[e,t]=p.useState(null),n=r=>{const i=document.getElementById(r);i&&window.scrollTo({top:i.offsetTop-80,behavior:"smooth"})};return p.useEffect(()=>{const r=document.createElement("script");return r.src="https://api.synapseai.us/js/form_embed.js",r.async=!0,document.body.appendChild(r),()=>{document.body.contains(r)&&document.body.removeChild(r)}},[]),s.jsxs("div",{className:"min-h-screen",children:[s.jsxs("section",{className:"relative bg-primary text-white overflow-hidden pt-32 pb-24 sm:pb-32",children:[s.jsx(Ae,{variant:"particles",opacity:.07}),s.jsx("div",{className:"hero-radial-glow absolute inset-0 pointer-events-none"}),s.jsx("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8 relative z-10",children:s.jsx("div",{className:"max-w-7xl mx-auto",children:s.jsxs("div",{className:"grid lg:grid-cols-2 gap-12 items-center",children:[s.jsxs(T.div,{initial:{opacity:0,y:28},animate:{opacity:1,y:0},transition:{duration:.65},children:[s.jsx("div",{className:"flex flex-wrap gap-3 mb-8",children:["No Coding Required","Visual Tools","Small Cohorts"].map(r=>s.jsx("span",{className:"hero-stat-pill",children:r},r))}),s.jsxs("h1",{className:"text-4xl sm:text-5xl lg:text-6xl font-black leading-[1.1] mb-6",children:["Master Agentic AI",s.jsx("br",{}),s.jsx("span",{className:"text-gradient-cyan",children:"Without Coding"})]}),s.jsx("p",{className:"text-xl text-white/80 mb-8 leading-relaxed max-w-xl",children:"Build intelligent AI agents, automated workflows, and knowledge systems using visual tools. Transform your business with AI in an 8-week, 32-session hands-on program."}),s.jsxs("div",{className:"flex flex-wrap gap-4 mb-8",children:[s.jsxs("button",{onClick:()=>n("enrollment"),className:"btn-glow inline-flex items-center gap-2 px-8 py-4 bg-secondary text-primary font-bold rounded-lg text-lg hover:scale-105 transition-transform",children:["Enroll Now ",s.jsx(fe,{className:"h-5 w-5"})]}),s.jsx("button",{onClick:()=>n("webinar-registration"),className:"inline-flex items-center gap-2 px-8 py-4 border border-white/25 text-white font-semibold rounded-lg text-lg hover:bg-white/10 transition-colors",children:"Free Masterclass"})]}),s.jsxs("div",{className:"flex items-center gap-2 text-sm text-white/60",children:[s.jsx(Dn,{className:"h-4 w-4 text-secondary"}),s.jsx("span",{children:"Certificate of Completion included"})]})]}),s.jsx(T.div,{className:"hidden lg:block",initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1},transition:{delay:.2,duration:.6},children:s.jsxs("div",{className:"relative bg-white/10 rounded-2xl p-8 backdrop-blur-sm",children:[s.jsx("img",{src:"https://images.unsplash.com/photo-1553877522-43269d4ea984?ixlib=rb-4.0.3&auto=format&fit=crop&w=1470&q=80",alt:"Professionals learning AI automation",className:"w-full h-auto rounded-xl shadow-2xl"}),s.jsx("span",{className:"absolute -top-4 -left-4 bg-secondary text-primary px-4 py-2 rounded-full text-sm font-bold shadow-lg",children:"Visual Tools"}),s.jsx("span",{className:"absolute -bottom-4 -right-4 bg-white text-primary px-4 py-2 rounded-full text-sm font-bold shadow-lg",children:"Real Projects"})]})})]})})})]}),s.jsx("section",{className:"bg-secondary/8 border-y border-secondary/15 py-10",children:s.jsx("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8",children:s.jsx("div",{className:"max-w-4xl mx-auto",children:s.jsx("div",{className:"grid sm:grid-cols-3 gap-6 text-center",children:[{Icon:tc,label:"Duration",value:"8 Weeks"},{Icon:$o,label:"Next Cohort",value:"June 2, 2026"},{Icon:ze,label:"Schedule",value:"Tue & Thu · 6:30–9:30 PM CDT"}].map(({Icon:r,label:i,value:o})=>s.jsxs("div",{className:"flex flex-col items-center gap-2",children:[s.jsx(r,{className:"h-6 w-6 text-secondary"}),s.jsx("p",{className:"text-xs uppercase tracking-widest text-gray-500 font-semibold",children:i}),s.jsx("p",{className:"text-lg font-black text-primary",children:o})]},i))})})})}),s.jsx("section",{className:"py-20 bg-white",children:s.jsxs("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8",children:[s.jsxs(T.div,{className:"text-center mb-14",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5},children:[s.jsx("h2",{className:"text-3xl sm:text-4xl font-black text-primary mb-4",children:"Who This Is For"}),s.jsx("p",{className:"text-lg text-gray-600 max-w-2xl mx-auto",children:"You don't need a technical background. You need the right program — built around what you're trying to build, not what's easy to teach."})]}),s.jsx("div",{className:"grid md:grid-cols-3 gap-6 max-w-5xl mx-auto",children:HM.map(({Icon:r,title:i,desc:o,color:a,bg:l},c)=>s.jsxs(T.div,{className:"glass-card p-8 rounded-2xl border border-gray-100 hover:shadow-lg transition-shadow",initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:c*.1,duration:.5},children:[s.jsx("div",{className:`w-12 h-12 ${l} rounded-xl flex items-center justify-center mb-5`,children:s.jsx(r,{className:`h-6 w-6 ${a}`})}),s.jsx("h3",{className:"text-xl font-bold text-primary mb-3",children:i}),s.jsx("p",{className:"text-gray-600 leading-relaxed text-sm",children:o})]},i))})]})}),s.jsx("section",{className:"py-20 bg-gray-50",children:s.jsxs("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8",children:[s.jsxs(T.div,{className:"text-center mb-14",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5},children:[s.jsx("h2",{className:"text-3xl sm:text-4xl font-black text-primary mb-4",children:"Why the No-Code AI Path Works"}),s.jsx("p",{className:"text-lg text-gray-600 max-w-2xl mx-auto",children:"AI doesn't care if you write code. It cares if you know how to direct it. That's exactly what this program teaches."})]}),s.jsx("div",{className:"grid sm:grid-cols-2 gap-6 max-w-4xl mx-auto",children:UM.map(({Icon:r,title:i,desc:o,color:a,bg:l},c)=>s.jsxs(T.div,{className:"glass-card p-8 rounded-2xl border border-gray-100 bg-white hover:shadow-lg transition-shadow",initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:c*.1,duration:.5},children:[s.jsx("div",{className:`w-12 h-12 ${l} rounded-xl flex items-center justify-center mb-5`,children:s.jsx(r,{className:`h-6 w-6 ${a}`})}),s.jsx("h3",{className:"text-xl font-bold text-primary mb-3",children:i}),s.jsx("p",{className:"text-gray-600 leading-relaxed",children:o})]},i))})]})}),s.jsx("section",{className:"py-20 bg-primary/4",children:s.jsxs("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8",children:[s.jsxs(T.div,{className:"text-center mb-14",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5},children:[s.jsx("h2",{className:"text-3xl sm:text-4xl font-black text-primary mb-4",children:"What You'll Ship"}),s.jsx("p",{className:"text-lg text-gray-600 max-w-2xl mx-auto",children:"Every two weeks you have something real and deployed. By graduation, your portfolio is four working AI systems — built by you, with zero code."})]}),s.jsx("div",{className:"max-w-3xl mx-auto space-y-4",children:GM.map(({week:r,build:i},o)=>s.jsxs(T.div,{className:"flex items-start gap-5 p-6 bg-white rounded-2xl border border-gray-100 shadow-sm",initial:{opacity:0,x:-20},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{delay:o*.1,duration:.5},children:[s.jsx("span",{className:"flex-shrink-0 px-3 py-1 bg-secondary/15 text-secondary text-sm font-bold rounded-full",children:r}),s.jsxs("div",{className:"flex items-start gap-3",children:[s.jsx(Mu,{className:"h-5 w-5 text-secondary flex-shrink-0 mt-0.5"}),s.jsx("p",{className:"text-gray-800 font-medium leading-relaxed",children:i})]})]},r))})]})}),s.jsx("section",{id:"curriculum",className:"py-20 bg-white",children:s.jsxs("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8",children:[s.jsxs(T.div,{className:"text-center mb-14",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5},children:[s.jsx("h2",{className:"text-3xl sm:text-4xl font-black text-primary mb-4",children:"Your 8-Week Journey"}),s.jsx("p",{className:"text-lg text-gray-600 max-w-2xl mx-auto",children:"Two live sessions per week. Each week ends with a working AI system you built yourself."})]}),s.jsx("div",{className:"max-w-4xl mx-auto space-y-4",children:YM.map(({week:r,title:i,tagline:o,outcome:a},l)=>{const c=e===r;return s.jsxs(T.div,{className:"bg-white border border-gray-200 rounded-2xl overflow-hidden",initial:{opacity:0,y:16},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:l*.05,duration:.4},children:[s.jsxs("button",{onClick:()=>t(c?null:r),className:"w-full p-6 text-left flex items-center justify-between hover:bg-gray-50 transition-colors",children:[s.jsxs("div",{className:"flex items-center gap-4",children:[s.jsx("div",{className:"w-12 h-12 bg-primary text-white rounded-full flex items-center justify-center font-black text-lg flex-shrink-0",children:r}),s.jsxs("div",{className:"text-left",children:[s.jsxs("h3",{className:"text-lg font-bold text-primary",children:["Week ",r,": ",i]}),s.jsx("p",{className:"text-sm text-gray-500 mt-0.5",children:o})]})]}),c?s.jsx(Nm,{className:"h-5 w-5 text-gray-400 flex-shrink-0"}):s.jsx(et,{className:"h-5 w-5 text-gray-400 flex-shrink-0"})]}),c&&s.jsx(T.div,{className:"px-6 pb-6 border-t border-gray-100 bg-gray-50/50",initial:{opacity:0},animate:{opacity:1},transition:{duration:.25},children:s.jsx("p",{className:"mt-5 text-gray-700 leading-relaxed",children:a})})]},r)})})]})}),s.jsxs("section",{className:"py-20 bg-primary text-white relative overflow-hidden",children:[s.jsx(Ae,{variant:"particles",opacity:.05}),s.jsxs("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8 relative z-10",children:[s.jsxs(T.div,{className:"text-center mb-14",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5},children:[s.jsx("h2",{className:"text-3xl sm:text-4xl font-black mb-4",children:"How You'll Learn"}),s.jsx("p",{className:"text-lg text-white/70 max-w-2xl mx-auto",children:"No passive watching. No tutorials you'll forget. Every session, you're building something real."})]}),s.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-4 gap-6 max-w-5xl mx-auto",children:qM.map(({Icon:r,title:i,desc:o},a)=>s.jsxs(T.div,{className:"p-6 rounded-2xl border border-white/10 bg-white/5 hover:bg-white/10 transition-colors",initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:a*.1,duration:.5},children:[s.jsx("div",{className:"w-10 h-10 bg-secondary/20 rounded-xl flex items-center justify-center mb-4",children:s.jsx(r,{className:"h-5 w-5 text-secondary"})}),s.jsx("h3",{className:"font-bold text-white mb-2",children:i}),s.jsx("p",{className:"text-white/65 text-sm leading-relaxed",children:o})]},i))})]})]}),s.jsx("section",{className:"py-20 bg-white",children:s.jsx("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8",children:s.jsxs("div",{className:"max-w-4xl mx-auto",children:[s.jsx(T.div,{className:"text-center mb-14",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5},children:s.jsx("h2",{className:"text-3xl sm:text-4xl font-black text-primary mb-4",children:"What Every Graduate Receives"})}),s.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-3 gap-4",children:KM.map((r,i)=>s.jsxs(T.div,{className:"flex items-center gap-3 p-4 rounded-xl border border-secondary/20 bg-secondary/5",initial:{opacity:0,scale:.95},whileInView:{opacity:1,scale:1},viewport:{once:!0},transition:{delay:i*.08,duration:.4},children:[s.jsx(uw,{className:"h-5 w-5 text-secondary flex-shrink-0"}),s.jsx("span",{className:"text-gray-800 font-medium text-sm",children:r})]},r))})]})})}),s.jsx("section",{id:"enrollment",className:"py-20 bg-gray-50",children:s.jsxs("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8",children:[s.jsxs(T.div,{className:"text-center mb-14",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5},children:[s.jsx("h2",{className:"text-3xl sm:text-4xl font-black text-primary mb-4",children:"Your Investment"}),s.jsx("p",{className:"text-lg text-gray-500 max-w-xl mx-auto",children:"You don't need to write a single line of code to build AI that works for your business. You just need to know how to direct it — and eight weeks is all it takes."})]}),s.jsx(T.div,{className:"max-w-5xl mx-auto rounded-3xl overflow-hidden shadow-2xl",initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},children:s.jsxs("div",{className:"grid lg:grid-cols-2",children:[s.jsxs("div",{className:"bg-primary p-10 lg:p-12",children:[s.jsx("p",{className:"text-secondary font-bold uppercase tracking-widest text-xs mb-2",children:"No-Code Agentic AI Bootcamp"}),s.jsxs("h3",{className:"text-2xl font-black text-white mb-8",children:["Everything included",s.jsx("br",{}),"in every plan"]}),s.jsx("ul",{className:"space-y-4",children:["8-week live online bootcamp","Live instruction, every session","Build a real AI project every week","No coding required — ever","Certificate of completion","Lifetime access to all recordings & materials","Private cohort community (lifetime access)"].map(r=>s.jsxs("li",{className:"flex items-center gap-3 text-white/85 text-sm",children:[s.jsx(Dn,{className:"h-4 w-4 text-secondary flex-shrink-0"}),r]},r))}),s.jsxs("div",{className:"mt-10 pt-8 border-t border-white/10",children:[s.jsx("p",{className:"text-xs text-white/40 uppercase tracking-widest mb-2",children:"Next Cohort"}),s.jsx("p",{className:"text-white font-bold",children:"June 2, 2026"}),s.jsx("p",{className:"text-white/60 text-sm mt-0.5",children:"Tuesdays & Thursdays · 6:30–9:30 PM CDT"})]})]}),s.jsxs("div",{className:"bg-gray-50 p-10 lg:p-12 flex flex-col justify-center gap-5",children:[s.jsxs("div",{className:"flex items-center justify-between bg-green-50 border border-green-200 rounded-xl px-5 py-3",children:[s.jsxs("div",{children:[s.jsx("p",{className:"text-green-700 font-black text-sm tracking-wide",children:"INTRO55"}),s.jsx("p",{className:"text-green-600 text-xs mt-0.5",children:"Apply at checkout · Limited validity"})]}),s.jsx("span",{className:"text-green-700 font-black text-lg",children:"−55%"})]}),s.jsx("p",{className:"text-xs font-bold uppercase tracking-widest text-gray-400",children:"Choose your plan"}),s.jsxs("div",{className:"bg-white rounded-2xl border-2 border-secondary/30 p-6 hover:border-secondary transition-colors",children:[s.jsxs("div",{className:"flex items-start justify-between gap-4 mb-1",children:[s.jsxs("div",{children:[s.jsx("h4",{className:"text-lg font-black text-primary",children:"Professionals"}),s.jsx("p",{className:"text-xs text-gray-400 mt-0.5",children:"Founders, operators & business professionals"})]}),s.jsx("span",{className:"text-3xl font-black text-primary flex-shrink-0",children:"$999"})]}),s.jsx(q,{to:"/training/no-code-agentic-ai/agreement?plan=professionals",children:s.jsxs("button",{className:"mt-4 w-full bg-secondary hover:bg-secondary/90 text-primary font-bold py-3 rounded-xl flex items-center justify-center gap-2 transition-colors text-sm",children:["Enroll — Professionals ",s.jsx(fe,{className:"h-4 w-4"})]})})]}),s.jsxs("div",{className:"bg-white rounded-2xl border-2 border-gray-200 p-6 hover:border-secondary/50 transition-colors relative",children:[s.jsx("span",{className:"absolute -top-3 left-5 bg-green-500 text-white text-xs font-bold px-3 py-1 rounded-full",children:"Student Pricing"}),s.jsxs("div",{className:"flex items-start justify-between gap-4 mb-1",children:[s.jsxs("div",{children:[s.jsx("h4",{className:"text-lg font-black text-primary",children:"Students"}),s.jsx("p",{className:"text-xs text-gray-400 mt-0.5",children:"Students, graduates & early-career professionals"})]}),s.jsx("span",{className:"text-3xl font-black text-primary flex-shrink-0",children:"$799"})]}),s.jsx(q,{to:"/training/no-code-agentic-ai/agreement?plan=students",children:s.jsxs("button",{className:"mt-4 w-full border border-primary/20 hover:bg-primary hover:text-white text-primary font-bold py-3 rounded-xl flex items-center justify-center gap-2 transition-colors text-sm",children:["Enroll — Students ",s.jsx(fe,{className:"h-4 w-4"})]})})]}),s.jsxs("p",{className:"text-center text-gray-400 text-xs mt-1",children:["Questions?"," ",s.jsx("a",{href:"mailto:trainings@synapseai.us",className:"text-secondary underline",children:"trainings@synapseai.us"})]})]})]})})]})}),s.jsx("section",{id:"webinar-registration",className:"py-20 bg-gray-50",children:s.jsx("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8",children:s.jsxs("div",{className:"max-w-5xl mx-auto",children:[s.jsxs(T.div,{className:"text-center mb-12",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5},children:[s.jsxs("div",{className:"inline-flex items-center gap-3 mb-6 bg-white border border-gray-200 rounded-full px-5 py-2 shadow-sm",children:[s.jsx("span",{className:"text-gray-400 line-through text-sm font-semibold",children:"$297"}),s.jsx("span",{className:"w-px h-4 bg-gray-200"}),s.jsx("span",{className:"text-secondary font-black text-sm tracking-wide",children:"Complimentary"})]}),s.jsx("h2",{className:"text-3xl sm:text-4xl font-black text-primary mb-4",children:"Attend a Live Masterclass"}),s.jsx("p",{className:"text-lg text-gray-600 max-w-2xl mx-auto mb-6",children:"A 90-minute live session that shows you exactly what's possible when you combine AI with visual tools — no coding whatsoever. Normally a $297 standalone workshop. Yours free."}),s.jsxs("div",{className:"inline-block bg-primary/8 border border-primary/15 rounded-xl px-6 py-4",children:[s.jsx("p",{className:"text-lg font-bold text-primary",children:"Next Masterclass: Saturday, April 25 · 12:00–1:30 PM CDT"}),s.jsx("p",{className:"text-sm text-gray-600 mt-1",children:"Limited spots — register below to reserve yours"})]})]}),s.jsxs("div",{className:"w-full",children:[s.jsx("style",{children:` .nocode-iframe { width:100% !important; max-width:100% !important; box-sizing:border-box; } @media (max-width:480px) { .nocode-iframe { height:870px !important; } } @media (min-width:481px) and (max-width:767px) { .nocode-iframe { height:830px !important; } } @media (min-width:768px) { .nocode-iframe { height:800px !important; } } `}),s.jsx("iframe",{src:"https://api.synapseai.us/widget/form/mhWKtks8t4tKKTZPhzY4",style:{width:"100%",height:"100%",border:"none",borderRadius:"3px"},className:"nocode-iframe w-full block max-w-full min-h-[820px] h-[820px] md:min-h-[800px] md:h-[800px]",id:"inline-mhWKtks8t4tKKTZPhzY4","data-layout":"{'id':'INLINE'}","data-trigger-type":"alwaysShow","data-trigger-value":"","data-activation-type":"alwaysActivated","data-activation-value":"","data-deactivation-type":"neverDeactivate","data-deactivation-value":"","data-form-name":"No Code Agentic AI Course","data-height":"800","data-layout-iframe-id":"inline-mhWKtks8t4tKKTZPhzY4","data-form-id":"mhWKtks8t4tKKTZPhzY4",title:"No Code Agentic AI Course"})]})]})})}),s.jsxs("section",{className:"py-20 bg-primary text-white relative overflow-hidden",children:[s.jsx(Ae,{variant:"particles",opacity:.05}),s.jsx("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8 relative z-10",children:s.jsxs(T.div,{className:"max-w-3xl mx-auto text-center",initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},children:[s.jsx("h2",{className:"text-3xl sm:text-4xl font-black mb-6",children:"The AI economy doesn't require a computer science degree."}),s.jsx("p",{className:"text-xl text-white/75 mb-10 leading-relaxed",children:"Synapse AI Solutions believes everyone should be able to participate in the AI revolution — regardless of technical background. This program is your on-ramp."}),s.jsxs("button",{onClick:()=>n("enrollment"),className:"btn-glow inline-flex items-center gap-2 px-10 py-5 bg-secondary text-primary font-black rounded-xl text-xl hover:scale-105 transition-transform",children:["Enroll Now ",s.jsx(fe,{className:"h-6 w-6"})]}),s.jsxs("p",{className:"mt-6 text-white/50 text-sm",children:["Questions?"," ",s.jsx("a",{href:"mailto:trainings@synapseai.us",className:"text-secondary underline",children:"trainings@synapseai.us"})]})]})})]})]})}const Pd={professionals:{label:"Non-tech or Tech Founders / Non-tech or Tech Professionals",detail:"Standard enrollment for professionals",priceDisplay:"$999",stripeUrl:"https://buy.stripe.com/aFabJ20lMbIUeVY3yJc7u0g"},students:{label:"Students / Graduates / Unemployed Juniors",detail:"Special pricing for students and recent graduates",priceDisplay:"$799",stripeUrl:"https://buy.stripe.com/6oU00k9Wm00ccNQ6KVc7u0f"}};function XM(){return p.useMemo(()=>{try{const n=(new URLSearchParams(window.location.search).get("plan")||"").toLowerCase();if(n==="professionals"||n==="students")return n}catch{}return null},[])}function ZM(){const e=XM(),[t,n]=p.useState(e),[r,i]=p.useState(!1),o=!!t&&r,a=()=>{if(!t)return;const l=Pd[t].stripeUrl;window.location.href=l};return s.jsx("div",{className:"min-h-screen bg-gradient-to-br from-slate-50 to-blue-50 pt-28 pb-12",children:s.jsxs("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8 max-w-5xl",children:[s.jsx("div",{className:"mb-6",children:s.jsx("a",{href:"/training/no-code-agentic-ai",className:"text-primary hover:underline",children:"← Back to No Code Agentic AI Course"})}),s.jsxs("div",{className:"bg-white shadow-xl rounded-2xl border border-gray-200 overflow-hidden",children:[s.jsxs("div",{className:"px-6 sm:px-8 py-6 border-b bg-slate-50",children:[s.jsx("h1",{className:"text-2xl md:text-3xl font-bold text-gray-900",children:"Synapse AI Solutions - Live Online Training Program Agreement"}),s.jsx("p",{className:"text-sm text-gray-600 mt-1",children:"Please review and accept this agreement to proceed to payment."})]}),s.jsxs("div",{className:"px-6 sm:px-8 grid grid-cols-1 lg:grid-cols-3 gap-8 py-8",children:[s.jsx("div",{className:"lg:col-span-2",children:s.jsxs("div",{className:"prose max-w-none text-gray-800 prose-headings:text-gray-900",children:[s.jsx("h2",{children:"Synapse AI Solutions - Live Online Training Program Agreement"}),s.jsx("p",{children:'This Live Online Training Program Agreement ("Agreement") is entered into between Synapse AI Solutions ("Company," "We," "Us," "Our"), with its principal place of business at 4740 14th St Ste T3 Plano TX 75074, and the individual enrolling in the training program ("Student," "You," "Your", "Trainee") by making a payment.'}),s.jsx("h3",{children:"1. Program Enrollment"}),s.jsx("p",{children:"By completing the payment for the selected training program, you agree to be bound by the terms and conditions outlined in this Agreement. You confirm that you meet any prerequisites mentioned in the program description (e.g., Target Audience for the No Code Agentic AI Program)."}),s.jsx("h3",{children:"2. Training Program Offered"}),s.jsx("p",{children:"This Agreement applies to the following live online training program offered by Synapse AI Solutions:"}),s.jsxs("p",{children:[s.jsx("strong",{children:"No Code Agentic AI Program:"}),s.jsx("br",{}),"Duration: 8 weeks",s.jsx("br",{}),"Target Audience: Business Professionals & Leaders, Entrepreneurs & Founders, Students & Graduates, Career Changers",s.jsx("br",{}),"Key Features: AI Productivity & Prompt Engineering, Knowledge Hub & Document AI, No-Code App Development, AI-Powered Business Apps, Workflow Automation, AI Memory Systems, Enterprise AI Assistants, Capstone Project"]}),s.jsx("h3",{children:"3. Program Components & Features"}),s.jsx("p",{children:"Subject to the terms herein, enrollment includes:"}),s.jsxs("ul",{children:[s.jsx("li",{children:"Access to live online classes delivered by industry expert instructors."}),s.jsx("li",{children:"Interactive Q&A sessions during live classes."}),s.jsx("li",{children:"A structured learning path with weekly milestones."}),s.jsx("li",{children:"Optional study resources."}),s.jsx("li",{children:"Hands-on projects and real-world case studies."}),s.jsx("li",{children:"Live mentorship sessions."}),s.jsx("li",{children:"Access to a global community of learners for collaboration and networking."}),s.jsx("li",{children:"Lifetime access to course recordings and course material updates, subject to the Company continuing to offer and support these resources and platforms."}),s.jsx("li",{children:"Lifetime free access to the Synapse AI Solutions Community platform (including hackathons, talks, workshops, etc.), subject to the Company continuing to offer and support this community."}),s.jsx("li",{children:"A Certificate of Completion upon successfully achieving a grade of 80% or higher in the program assessments."})]}),s.jsx("h3",{children:"4. Payment Terms"}),s.jsxs("ul",{children:[s.jsx("li",{children:"Full payment or installment of the program fee is required before the official start date of the enrolled program cohort."}),s.jsx("li",{children:"Access to the program, materials, and live sessions will not be granted until payment has been received and confirmed by the Company."}),s.jsx("li",{children:"If the installment option is selected at checkout, the selected payment method will be automatically charged based on the agreed plan. The customer is responsible for ensuring sufficient funds are available for each installment. Failure to complete payments may result in removal from the program."})]}),s.jsx("h3",{children:"5. Refund Policy"}),s.jsxs("ul",{children:[s.jsxs("li",{children:[s.jsx("strong",{children:"7-Day Refund Window:"})," A Student may request a partial refund within the first seven (7) calendar days, starting from the official commencement date of their specific program cohort if paid in full."]}),s.jsxs("li",{children:[s.jsx("strong",{children:"Refund Amount:"})," If a valid refund request is received within this 7-day window, the Company will refund seventy-five percent (75%) of the total course fee paid by the Student if paid in full."]}),s.jsxs("li",{children:[s.jsx("strong",{children:"Installment Plan Exception:"})," If a student has opted for the installment payment plan, they may cancel future payments within the 7-day refund window. After the 7-day period, the installment agreement will be treated as a full course purchase, and remaining installments will be automatically charged per the agreed schedule."]}),s.jsxs("li",{children:[s.jsx("strong",{children:"No Refund After 7 Days:"})," After the initial 7-calendar-day period has passed, absolutely no refunds will be issued for any reason, including but not limited to withdrawal, non-attendance, dissatisfaction, or change of circumstances."]}),s.jsxs("li",{children:[s.jsx("strong",{children:"No Refund on Repeat Cohort:"})," No refunds will be processed for repeat cohort payments unless the cohort could not be conducted for any reason."]}),s.jsxs("li",{children:[s.jsx("strong",{children:"Refund Process:"})," To request a refund within the eligible window, the Student must submit a written request via email to the designated Company contact address. The request must be received by 11:59 PM in the Company's local time zone on the 7th calendar day after the program start date. Refunds, if approved, will be processed within a reasonable timeframe (e.g., 15-30 business days)."]})]}),s.jsx("h3",{children:"6. Intellectual Property Rights"}),s.jsx("p",{children:'All course materials, including but not limited to video recordings, lectures, presentations, slides, notes, code samples, datasets, project descriptions, frameworks, and any other resources provided ("Course Materials") are the exclusive intellectual property of Synapse AI Solutions or its licensors.'}),s.jsx("p",{children:"The Company grants the Student a limited, non-exclusive, non-transferable, revocable license to access and use the Course Materials solely for their personal, non-commercial educational purposes related to participation in the enrolled program."}),s.jsx("p",{children:"The Student agrees not to copy, reproduce, distribute, share, modify, create derivative works from, publicly display, or commercially exploit any Course Materials without the express prior written consent of the Company. Unauthorized recording of live sessions is strictly prohibited."}),s.jsx("h3",{children:"7. Student Conduct and Responsibilities"}),s.jsxs("ul",{children:[s.jsx("li",{children:"Students are expected to conduct themselves professionally and respectfully in all interactions related to the program, including live sessions, community forums, and communications with instructors, staff, and fellow students."}),s.jsx("li",{children:"Harassment, discrimination, disruption, or any illegal activity is strictly prohibited."}),s.jsx("li",{children:"Students are responsible for ensuring they have the necessary equipment, software, and internet connectivity to participate effectively in the online program. The Company is not responsible for technical issues originating from the Student's end or from third-party service providers (e.g., internet service providers, video conferencing platforms)."}),s.jsx("li",{children:"Students must use the program resources and community platforms only for lawful purposes related to their learning."})]}),s.jsx("h3",{children:"8. Disclaimers and Limitation of Liability"}),s.jsxs("ul",{children:[s.jsxs("li",{children:[s.jsx("strong",{children:"Educational Purposes Only:"})," The content provided in the training programs is for informational and educational purposes only and does not constitute professional, financial, legal, or career advice. Synapse AI Solutions is not liable for any decisions or actions taken based on the course content."]}),s.jsxs("li",{children:[s.jsx("strong",{children:"No Guarantees:"})," The Company makes no guarantees regarding employment, career advancement, specific skill mastery outcomes, or business success resulting from participation in the program. Success depends on individual effort, background, and application."]}),s.jsxs("li",{children:[s.jsx("strong",{children:'"As Is" Basis:'}),' The program and materials are provided "as is" without warranties of any kind, either express or implied, including but not limited to implied warranties of merchantability or fitness for a particular purpose, except where explicitly stated.']}),s.jsxs("li",{children:[s.jsx("strong",{children:"Limitation of Liability:"})," To the maximum extent permitted by law, the total liability of Synapse AI Solutions, its instructors, affiliates, and staff, arising out of or related to this Agreement or the program, shall not exceed the total amount paid by the Student for the program. The Company shall not be liable for any indirect, incidental, special, consequential, or punitive damages."]}),s.jsxs("li",{children:[s.jsx("strong",{children:"Evolving Field:"})," Artificial Intelligence and Machine Learning are rapidly evolving fields. While the Company strives to provide current information, it makes no warranty that all content will remain accurate or cutting-edge indefinitely. Lifetime access includes updates at the Company's discretion."]})]}),s.jsx("h3",{children:"9. Termination"}),s.jsxs("p",{children:[s.jsx("strong",{children:"Termination by Company:"})," The Company reserves the right to terminate a Student's participation in the program immediately, without refund, if the Student breaches any material term of this Agreement, including but not limited to non-payment, violation of intellectual property rights, or violation of the student conduct policy."]}),s.jsxs("p",{children:[s.jsx("strong",{children:"Program Cancellation:"})," In the unlikely event the Company cancels a program cohort after its commencement for reasons other than Force Majeure, the Company may offer affected Students a pro-rata refund or enrollment in a future cohort, at the Company's discretion."]}),s.jsx("h3",{children:"10. Force Majeure"}),s.jsx("p",{children:`Neither party shall be liable for any failure or delay in performing its obligations under this Agreement due to circumstances beyond its reasonable control, including but not limited to acts of God, natural disasters, pandemics, war, terrorism, government actions, internet service disruptions (beyond Company's direct control), or major technology failures ("Force Majeure Event"). Obligations may be suspended during the Force Majeure Event. No refunds will typically be issued due solely to a Force Majeure Event, though the Company may offer alternative arrangements (like rescheduling) at its discretion.`}),s.jsx("h3",{children:"11. Governing Law and Dispute Resolution"}),s.jsx("p",{children:"This Agreement shall be governed by and construed in accordance with the laws of Texas, USA, without regard to its conflict of law principles. Any disputes arising under or in connection with this Agreement shall be resolved exclusively in the state or federal courts located in Texas."}),s.jsx("h3",{children:"12. Entire Agreement and Amendments"}),s.jsx("p",{children:"This Agreement constitutes the entire understanding between the Company and the Student regarding the training program and supersedes all prior discussions, agreements, or representations. Any amendments or modifications to this Agreement must be in writing and signed by an authorized representative of the Company, or electronically accepted by the Student upon notification of updated terms."}),s.jsx("h3",{children:"13. Contact Information"}),s.jsxs("p",{children:["For any notices, questions, or refund requests related to this Agreement, please contact Synapse AI Solutions at: ",s.jsx("a",{href:"mailto:trainings@synapseai.us",className:"underline text-primary",children:"trainings@synapseai.us"})]}),s.jsx("h3",{children:"14. Acceptance"}),s.jsx("p",{children:"By completing the payment for the selected Synapse AI Solutions training program, you acknowledge that you have read, understood, and agree to be legally bound by all the terms and conditions set forth in this Agreement and meet the right criteria you selected for payment of this program."})]})}),s.jsx("div",{className:"lg:col-span-1",children:s.jsxs("div",{className:"bg-slate-50 border border-slate-200 rounded-xl p-5 max-w-md mx-auto",children:[s.jsx("h3",{className:"text-lg font-semibold text-gray-900 mb-3",children:"Select your plan"}),s.jsxs("div",{className:"mb-4 p-3 bg-green-50 border border-green-200 rounded-lg text-center",children:[s.jsx("p",{className:"text-sm font-semibold text-green-700",children:"🎉 EARLYNOCODE - $100 OFF"}),s.jsx("p",{className:"text-xs text-green-600",children:"LIMITED VALIDITY"})]}),s.jsx("div",{className:"space-y-3",children:Object.keys(Pd).map(l=>{const c=Pd[l],d=t===l;return s.jsx("button",{type:"button",onClick:()=>n(l),className:`w-full text-left p-3 rounded-lg border transition ${d?"border-secondary bg-white shadow":"border-slate-200 bg-white hover:bg-slate-100"}`,children:s.jsxs("div",{className:"flex items-center justify-between",children:[s.jsxs("div",{children:[s.jsx("div",{className:"font-medium text-gray-900 text-sm",children:c.label}),s.jsx("div",{className:"text-xs text-gray-600",children:c.detail})]}),s.jsx("div",{className:"text-sm font-semibold text-primary",children:c.priceDisplay})]})},l)})}),s.jsxs("div",{className:"mt-5 border-t pt-4",children:[s.jsxs("label",{className:"flex items-start gap-3 text-sm text-gray-700",children:[s.jsx("input",{type:"checkbox",className:"mt-1 h-4 w-4",checked:r,onChange:l=>i(l.target.checked)}),s.jsx("span",{children:"I have read and agree to the Live Online Training Program Agreement."})]}),s.jsx("div",{className:"flex justify-center",children:s.jsx(ae,{className:"mt-4 bg-secondary text-white hover:bg-secondary/90 px-6",size:"lg",disabled:!o,onClick:a,children:"I Agree — Continue to Payment"})}),s.jsx("p",{className:"text-xs text-gray-500 mt-3",children:"By continuing, you'll be redirected to our secure Stripe checkout."})]})]})})]})]})]})})}const JM=[{Icon:ze,title:"Absolute Beginners",desc:"No coding background? No problem. We start from Python basics and build up progressively — week 1 assumes zero prior experience.",color:"text-[#00D7FE]",bg:"bg-[#00D7FE]/10"},{Icon:Mt,title:"Business Professionals",desc:"Want to build AI-powered tools for your role without relying on a dev team? This program gives you the skills to do it yourself.",color:"text-violet-400",bg:"bg-violet-400/10"},{Icon:ui,title:"Developers & Engineers",desc:"Already write code and want to go deeper into agentic pipelines, multi-agent systems, and production AI deployments.",color:"text-emerald-400",bg:"bg-emerald-400/10"}],eD=[{week:"Wk 1–2",build:"AI-powered data pipeline + document Q&A system from scratch"},{week:"Wk 3–4",build:"Tool-calling agent integrated with real APIs and databases"},{week:"Wk 5–6",build:"Observable multi-agent system with knowledge graph reasoning"},{week:"Wk 7–8",build:"Production-deployed AI app running on cloud infrastructure"}],tD=[{Icon:LC,title:"Build Every Session",desc:"Minimal lectures. You're writing code and shipping working systems from day one. By week 8, your portfolio speaks for itself."},{Icon:Go,title:"Real Industry Scenarios",desc:"Every project mirrors an actual deployable business solution — not toy examples that don't translate to the job."},{Icon:Uo,title:"Progressive Complexity",desc:"Foundations in week 1 become the building blocks for complex multi-agent systems by week 6. Skills compound by design."},{Icon:ze,title:"Guided Mentorship",desc:"Weekly office hours, instructor feedback on your builds, and a cohort of peers working through the same challenges."}],nD=[{week:1,title:"Python Foundations & AI Basics",build:"Your first AI-powered script that talks to a live language model and returns real results",outcome:"You'll go from zero to running your own AI-powered code. By the end of this week you're calling real AI models, shaping their outputs, and building something that actually works — not a tutorial, a tool."},{week:2,title:"Generative AI Applications + RAG",build:"An AI system that answers questions from your own documents — accurately",outcome:"You'll build AI that knows things your existing tools don't. Point it at your documents and it retrieves and reasons over them on demand. By the end you have a working knowledge system you can demo."},{week:3,title:"Agentic AI Fundamentals",build:"An agent that browses, queries, and takes action — without you in the loop",outcome:"You'll cross the line from AI that answers to AI that acts. Your agent will make decisions, use tools, and complete multi-step tasks autonomously. This week is where things get real."},{week:4,title:"Multi-Agent Systems",build:"A team of specialised AI agents that collaborate to solve problems no single agent could",outcome:"You'll design and ship a system where multiple agents divide work, hand off tasks, and check each other's outputs. By Friday, you'll understand how to build AI systems that scale beyond a single prompt."},{week:5,title:"Observability & Integrations",build:"A fully connected, instrumented agent wired into real external systems",outcome:"You'll make your agents visible and useful in the real world. You'll see exactly what they're doing, catch failures before users do, and connect them to the APIs and data sources that matter to your business."},{week:6,title:"Advanced Techniques",build:"An agent with structured reasoning and an automated quality harness you trust",outcome:"You'll take your AI from impressive to reliable. You'll add richer reasoning capabilities and build automated checks that catch regressions — so you can ship with confidence, not hope."},{week:7,title:"Model Customization & Applied Use Cases",build:"A domain-adapted AI tuned to perform in your specific industry",outcome:"You'll make AI fit your context instead of the other way around. You'll adapt model behaviour to your domain, reduce errors, and apply everything you've learned to a real industry problem of your choosing."},{week:8,title:"Production Deployment",build:"Your capstone — a live, deployed AI application running on cloud infrastructure",outcome:"You'll ship. Your project goes from local code to a running cloud application with monitoring, security, and a demo you can walk anyone through. You leave with a portfolio piece that proves what you can do."}],rD=["Certificate of Completion","Portfolio of deployable projects","Private cohort community (lifetime access)","Weekly office hours with instructors","Lifetime access to session recordings","Career resources & job prep materials"];function sD(){Ye({title:"Agentic AI Developer Bootcamp | Build & Deploy AI Agent Systems | Synapse AI Solutions",description:"8-week intensive bootcamp for developers. Master agentic AI, multi-agent systems, RAG, and production deployment. Build a real portfolio of deployable AI applications."});const[e,t]=p.useState(null);p.useEffect(()=>{const r=document.createElement("script");return r.src="https://api.synapseai.us/js/form_embed.js",r.async=!0,document.body.appendChild(r),()=>{document.body.contains(r)&&document.body.removeChild(r)}},[]);const n=r=>{const i=document.getElementById(r);i&&window.scrollTo({top:i.offsetTop-80,behavior:"smooth"})};return s.jsxs("div",{className:"min-h-screen",children:[s.jsxs("section",{className:"relative bg-primary text-white overflow-hidden pt-32 pb-24 sm:pb-32",children:[s.jsx(Ae,{variant:"network",opacity:.08}),s.jsx("div",{className:"hero-radial-glow absolute inset-0 pointer-events-none"}),s.jsx("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8 relative z-10",children:s.jsxs(T.div,{className:"max-w-4xl mx-auto text-center",initial:{opacity:0,y:28},animate:{opacity:1,y:0},transition:{duration:.65},children:[s.jsx("div",{className:"flex flex-wrap justify-center gap-3 mb-8",children:["Beginner Friendly","8 Weeks","Portfolio-Ready"].map(r=>s.jsx("span",{className:"hero-stat-pill",children:r},r))}),s.jsxs("h1",{className:"text-4xl sm:text-5xl lg:text-6xl font-black leading-[1.1] mb-6",children:["Build Production-Ready",s.jsx("br",{}),s.jsx("span",{className:"text-gradient-cyan",children:"AI Agents"})]}),s.jsx("p",{className:"text-xl sm:text-2xl text-white/80 max-w-2xl mx-auto mb-10 leading-relaxed",children:"An intensive 8-week developer bootcamp — go from Python basics to deploying multi-agent AI systems in production."}),s.jsxs("div",{className:"flex flex-wrap justify-center gap-4",children:[s.jsxs("button",{onClick:()=>n("masterclass"),className:"btn-glow inline-flex items-center gap-2 px-8 py-4 bg-secondary text-primary font-bold rounded-lg text-lg hover:scale-105 transition-transform",children:["Register for Masterclass ",s.jsx(fe,{className:"h-5 w-5"})]}),s.jsxs("button",{onClick:()=>n("pricing"),className:"inline-flex items-center gap-2 px-8 py-4 border border-white/25 text-white font-semibold rounded-lg text-lg hover:bg-white/10 transition-colors",children:["View Pricing ",s.jsx(et,{className:"h-5 w-5"})]})]}),s.jsxs("div",{className:"mt-10 flex flex-wrap justify-center gap-6 text-sm text-white/60",children:[s.jsxs("span",{className:"flex items-center gap-2",children:[s.jsx($o,{className:"h-4 w-4 text-secondary"})," Cohort 7 — Summer 2026"]}),s.jsxs("span",{className:"flex items-center gap-2",children:[s.jsx(ze,{className:"h-4 w-4 text-secondary"})," Small cohort — limited seats"]})]})]})})]}),s.jsx("section",{className:"py-20 bg-white",children:s.jsxs("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8",children:[s.jsxs(T.div,{className:"text-center mb-14",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5},children:[s.jsx("h2",{className:"text-3xl sm:text-4xl font-black text-primary mb-4",children:"Who This Is For"}),s.jsx("p",{className:"text-lg text-gray-600 max-w-2xl mx-auto",children:"We start from Python basics and build up week by week — no prior experience required. Whether you're a complete beginner or an experienced developer, this program meets you where you are."})]}),s.jsx("div",{className:"grid md:grid-cols-3 gap-6 max-w-5xl mx-auto",children:JM.map(({Icon:r,title:i,desc:o,color:a,bg:l},c)=>s.jsxs(T.div,{className:"glass-card p-8 rounded-2xl border border-gray-100 hover:shadow-lg transition-shadow",initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:c*.1,duration:.5},children:[s.jsx("div",{className:`w-12 h-12 ${l} rounded-xl flex items-center justify-center mb-5`,children:s.jsx(r,{className:`h-6 w-6 ${a}`})}),s.jsx("h3",{className:"text-xl font-bold text-primary mb-3",children:i}),s.jsx("p",{className:"text-gray-600 leading-relaxed",children:o})]},i))})]})}),s.jsx("section",{className:"py-20 bg-primary/4",children:s.jsxs("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8",children:[s.jsxs(T.div,{className:"text-center mb-14",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5},children:[s.jsx("h2",{className:"text-3xl sm:text-4xl font-black text-primary mb-4",children:"What You'll Ship"}),s.jsx("p",{className:"text-lg text-gray-600 max-w-2xl mx-auto",children:"Every two weeks you deploy something real. By graduation, your portfolio is a collection of production-ready AI projects."})]}),s.jsx("div",{className:"max-w-3xl mx-auto space-y-4",children:eD.map(({week:r,build:i},o)=>s.jsxs(T.div,{className:"flex items-start gap-5 p-6 bg-white rounded-2xl border border-gray-100 shadow-sm",initial:{opacity:0,x:-20},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{delay:o*.1,duration:.5},children:[s.jsx("span",{className:"flex-shrink-0 px-3 py-1 bg-secondary/15 text-secondary text-sm font-bold rounded-full",children:r}),s.jsxs("div",{className:"flex items-start gap-3",children:[s.jsx(Mu,{className:"h-5 w-5 text-secondary flex-shrink-0 mt-0.5"}),s.jsx("p",{className:"text-gray-800 font-medium leading-relaxed",children:i})]})]},r))})]})}),s.jsx("section",{id:"curriculum",className:"py-20 bg-white",children:s.jsxs("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8",children:[s.jsxs(T.div,{className:"text-center mb-14",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5},children:[s.jsx("h2",{className:"text-3xl sm:text-4xl font-black text-primary mb-4",children:"8-Week Curriculum"}),s.jsx("p",{className:"text-lg text-gray-600 max-w-2xl mx-auto",children:"2 live sessions per week · 3 hours each. Progressive, hands-on, and outcome-driven."})]}),s.jsx("div",{className:"max-w-4xl mx-auto space-y-4",children:nD.map(({week:r,title:i,build:o,outcome:a},l)=>{const c=e===r;return s.jsxs(T.div,{className:"border border-gray-200 rounded-2xl overflow-hidden",initial:{opacity:0,y:16},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:l*.05,duration:.4},children:[s.jsxs("button",{onClick:()=>t(c?null:r),className:"w-full p-6 text-left flex items-center justify-between hover:bg-gray-50 transition-colors",children:[s.jsxs("div",{className:"flex items-center gap-4",children:[s.jsx("div",{className:"w-12 h-12 bg-primary text-white rounded-full flex items-center justify-center font-black text-lg flex-shrink-0",children:r}),s.jsxs("div",{className:"text-left",children:[s.jsxs("h3",{className:"text-lg font-bold text-primary",children:["Week ",r,": ",i]}),s.jsxs("p",{className:"text-sm text-secondary font-medium mt-0.5 flex items-center gap-1.5",children:[s.jsx(Mu,{className:"h-3.5 w-3.5"})," ",o]})]})]}),c?s.jsx(Nm,{className:"h-5 w-5 text-gray-400 flex-shrink-0"}):s.jsx(et,{className:"h-5 w-5 text-gray-400 flex-shrink-0"})]}),c&&s.jsx(T.div,{className:"px-6 pb-6 border-t border-gray-100 bg-gray-50/50",initial:{opacity:0},animate:{opacity:1},transition:{duration:.25},children:s.jsx("p",{className:"mt-5 text-gray-700 leading-relaxed",children:a})})]},r)})})]})}),s.jsxs("section",{className:"py-20 bg-primary text-white relative overflow-hidden",children:[s.jsx(Ae,{variant:"particles",opacity:.05}),s.jsxs("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8 relative z-10",children:[s.jsxs(T.div,{className:"text-center mb-14",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5},children:[s.jsx("h2",{className:"text-3xl sm:text-4xl font-black mb-4",children:"How You'll Learn"}),s.jsx("p",{className:"text-lg text-white/70 max-w-2xl mx-auto",children:"This is not a watch-and-forget course. You build, you ship, you get feedback."})]}),s.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-4 gap-6 max-w-5xl mx-auto",children:tD.map(({Icon:r,title:i,desc:o},a)=>s.jsxs(T.div,{className:"p-6 rounded-2xl border border-white/10 bg-white/5 hover:bg-white/10 transition-colors",initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:a*.1,duration:.5},children:[s.jsx("div",{className:"w-10 h-10 bg-secondary/20 rounded-xl flex items-center justify-center mb-4",children:s.jsx(r,{className:"h-5 w-5 text-secondary"})}),s.jsx("h3",{className:"font-bold text-white mb-2",children:i}),s.jsx("p",{className:"text-white/65 text-sm leading-relaxed",children:o})]},i))})]})]}),s.jsx("section",{className:"py-20 bg-white",children:s.jsx("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8",children:s.jsxs("div",{className:"max-w-4xl mx-auto",children:[s.jsx(T.div,{className:"text-center mb-14",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5},children:s.jsx("h2",{className:"text-3xl sm:text-4xl font-black text-primary mb-4",children:"What Every Graduate Receives"})}),s.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-3 gap-4",children:rD.map((r,i)=>s.jsxs(T.div,{className:"flex items-center gap-3 p-4 rounded-xl border border-secondary/20 bg-secondary/5",initial:{opacity:0,scale:.95},whileInView:{opacity:1,scale:1},viewport:{once:!0},transition:{delay:i*.08,duration:.4},children:[s.jsx(Dn,{className:"h-5 w-5 text-secondary flex-shrink-0"}),s.jsx("span",{className:"text-gray-800 font-medium text-sm",children:r})]},r))})]})})}),s.jsx("section",{id:"pricing",className:"py-20 bg-white",children:s.jsxs("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8",children:[s.jsxs(T.div,{className:"text-center mb-14",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5},children:[s.jsx("h2",{className:"text-3xl sm:text-4xl font-black text-primary mb-4",children:"Your Investment"}),s.jsx("p",{className:"text-lg text-gray-500 max-w-xl mx-auto",children:"Companies are paying premium to people who can build and deploy agentic AI. Eight weeks from now, you could be one of them."})]}),s.jsx(T.div,{className:"max-w-5xl mx-auto rounded-3xl overflow-hidden shadow-2xl",initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},children:s.jsxs("div",{className:"grid lg:grid-cols-2",children:[s.jsxs("div",{className:"bg-primary p-10 lg:p-12",children:[s.jsx("p",{className:"text-secondary font-bold uppercase tracking-widest text-xs mb-2",children:"Agentic AI Bootcamp"}),s.jsxs("h3",{className:"text-2xl font-black text-white mb-8",children:["Everything included",s.jsx("br",{}),"in every plan"]}),s.jsx("ul",{className:"space-y-4",children:["8-week live online bootcamp","2 sessions per week · 3 hrs each","Hands-on projects every session","Weekly instructor office hours","Portfolio of deployable AI projects","Certificate of completion","Lifetime access to session recordings","Private cohort community (lifetime)"].map(r=>s.jsxs("li",{className:"flex items-center gap-3 text-white/85 text-sm",children:[s.jsx(Dn,{className:"h-4 w-4 text-secondary flex-shrink-0"}),r]},r))})]}),s.jsxs("div",{className:"bg-gray-50 p-10 lg:p-12 flex flex-col justify-center gap-5",children:[s.jsx("p",{className:"text-xs font-bold uppercase tracking-widest text-gray-400 mb-1",children:"Choose your plan"}),s.jsxs("div",{className:"bg-white rounded-2xl border-2 border-secondary/30 p-6 hover:border-secondary transition-colors",children:[s.jsxs("div",{className:"flex items-start justify-between gap-4 mb-1",children:[s.jsxs("div",{children:[s.jsx("h4",{className:"text-lg font-black text-primary",children:"Professionals"}),s.jsx("p",{className:"text-xs text-gray-400 mt-0.5",children:"Founders, professionals & career-changers"})]}),s.jsx("div",{className:"text-right flex-shrink-0",children:s.jsx("span",{className:"text-3xl font-black text-primary",children:"$1,499"})})]}),s.jsxs("button",{onClick:()=>n("masterclass"),className:"mt-4 w-full bg-secondary hover:bg-secondary/90 text-primary font-bold py-3 rounded-xl flex items-center justify-center gap-2 transition-colors text-sm",children:["Get Early Access ",s.jsx(fe,{className:"h-4 w-4"})]})]}),s.jsxs("div",{className:"bg-white rounded-2xl border-2 border-gray-200 p-6 hover:border-secondary/50 transition-colors relative",children:[s.jsx("span",{className:"absolute -top-3 left-5 bg-green-500 text-white text-xs font-bold px-3 py-1 rounded-full",children:"Student Pricing"}),s.jsxs("div",{className:"flex items-start justify-between gap-4 mb-1",children:[s.jsxs("div",{children:[s.jsx("h4",{className:"text-lg font-black text-primary",children:"Students"}),s.jsx("p",{className:"text-xs text-gray-400 mt-0.5",children:"Students, graduates & early-career developers"})]}),s.jsx("div",{className:"text-right flex-shrink-0",children:s.jsx("span",{className:"text-3xl font-black text-primary",children:"$1,199"})})]}),s.jsxs("button",{onClick:()=>n("masterclass"),className:"mt-4 w-full border border-primary/20 hover:bg-primary hover:text-white text-primary font-bold py-3 rounded-xl flex items-center justify-center gap-2 transition-colors text-sm",children:["Get Early Access ",s.jsx(fe,{className:"h-4 w-4"})]})]}),s.jsxs("p",{className:"text-center text-gray-400 text-xs mt-2",children:["Cohort 7 · Limited seats · Questions?"," ",s.jsx("a",{href:"mailto:trainings@synapseai.us",className:"text-secondary underline",children:"trainings@synapseai.us"})]})]})]})})]})}),s.jsx("section",{id:"masterclass",className:"py-20 bg-white",children:s.jsx("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8",children:s.jsxs("div",{className:"max-w-5xl mx-auto",children:[s.jsxs(T.div,{className:"text-center mb-12",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5},children:[s.jsxs("div",{className:"inline-flex items-center gap-3 mb-6 bg-white border border-gray-200 rounded-full px-5 py-2 shadow-sm",children:[s.jsx("span",{className:"text-gray-400 line-through text-sm font-semibold",children:"$297"}),s.jsx("span",{className:"w-px h-4 bg-gray-200"}),s.jsx("span",{className:"text-secondary font-black text-sm tracking-wide",children:"Complimentary"})]}),s.jsx("h2",{className:"text-3xl sm:text-4xl font-black text-primary mb-4",children:"Attend a Live Masterclass"}),s.jsx("p",{className:"text-lg text-gray-600 max-w-2xl mx-auto mb-6",children:"A 90-minute live session where you'll see real agentic AI systems built from scratch — and leave with a clear picture of what Cohort 7 delivers. Normally a $297 standalone workshop. Yours free."})]}),s.jsxs("div",{className:"w-full relative max-w-full",children:[s.jsx("style",{children:` .bootcamp-iframe { width:100% !important; max-width:100% !important; box-sizing:border-box; } @media (max-width:480px) { .bootcamp-iframe { height:870px !important; } } @media (min-width:481px) and (max-width:767px) { .bootcamp-iframe { height:840px !important; } } @media (min-width:768px) { .bootcamp-iframe { height:802px !important; } } `}),s.jsx("iframe",{src:"https://api.synapseai.us/widget/form/xnPJ2PCFoeDZtCqxRf09",style:{width:"100%",height:"100%",border:"none",borderRadius:"3px"},className:"bootcamp-iframe w-full block max-w-full min-h-[820px] h-[820px] md:min-h-[802px] md:h-[802px]",id:"inline-xnPJ2PCFoeDZtCqxRf09","data-layout":"{'id':'INLINE'}","data-trigger-type":"alwaysShow","data-trigger-value":"","data-activation-type":"alwaysActivated","data-activation-value":"","data-deactivation-type":"neverDeactivate","data-deactivation-value":"","data-form-name":"Agentic AI","data-height":"802","data-layout-iframe-id":"inline-xnPJ2PCFoeDZtCqxRf09","data-form-id":"xnPJ2PCFoeDZtCqxRf09",title:"Agentic AI"})]})]})})}),s.jsxs("section",{className:"py-20 bg-primary text-white relative overflow-hidden",children:[s.jsx(Ae,{variant:"circuit",opacity:.06}),s.jsx("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8 relative z-10",children:s.jsxs(T.div,{className:"max-w-3xl mx-auto text-center",initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},children:[s.jsx("h2",{className:"text-3xl sm:text-4xl font-black mb-6",children:"The AI agent layer is being built right now."}),s.jsx("p",{className:"text-xl text-white/75 mb-10 leading-relaxed",children:"The people who learn to build, deploy, and operate agentic AI systems will define the next decade. Cohort 7 is forming now."}),s.jsxs("button",{onClick:()=>n("masterclass"),className:"btn-glow inline-flex items-center gap-2 px-10 py-5 bg-secondary text-primary font-black rounded-xl text-xl hover:scale-105 transition-transform",children:["Register for the Masterclass ",s.jsx(fe,{className:"h-6 w-6"})]}),s.jsxs("p",{className:"mt-6 text-white/50 text-sm",children:["Questions?"," ",s.jsx("a",{href:"mailto:trainings@synapseai.us",className:"text-secondary underline",children:"trainings@synapseai.us"})]})]})})]})]})}const iD=[{Icon:Wo,title:"Executives & Founders",desc:"You need a clear-eyed view of what AI can actually do for your organization — and the confidence to lead that conversation. This workshop gives you both.",color:"text-[#00D7FE]",bg:"bg-[#00D7FE]/10"},{Icon:ze,title:"Business Leaders & Team Leads",desc:"You're driving AI adoption for your department or company. This is the framework and hands-on practice to make that real — not just a roadmap to file away.",color:"text-violet-400",bg:"bg-violet-400/10"},{Icon:ui,title:"Technical Leaders & Builders",desc:"You want to go deep, build something real, and leave with working output — not just slides. Our technical workshops are designed exactly for that.",color:"text-amber-400",bg:"bg-amber-400/10"}],oD=[{Icon:ot,title:"One Day. Real Results.",desc:"Courses take months. Conferences give you nothing to act on. A Synapse workshop is a compressed, high-signal day purpose-built to change how you operate — starting tomorrow.",color:"text-[#00D7FE]",bg:"bg-[#00D7FE]/10"},{Icon:Go,title:"Outcome-First Design",desc:"Every session is built backward from a specific deliverable. You apply what you learn in real time — you don't just absorb it. You leave with something working, not just notes.",color:"text-violet-400",bg:"bg-violet-400/10"},{Icon:ze,title:"Curated Room",desc:"Seats are deliberately limited. You'll be in the room with executives and founders tackling the same AI challenges — the peer access alone is worth attending.",color:"text-emerald-400",bg:"bg-emerald-400/10"},{Icon:Ho,title:"Hybrid — No Compromise",desc:"Attend at a curated venue or join live from anywhere. Same instructor, same intensity, same access to materials and the peer network afterward.",color:"text-amber-400",bg:"bg-amber-400/10"}],aD=[{Icon:Am,title:"Practitioner-Led",desc:"Every workshop is led by someone who has shipped AI systems to production — not academics who theorize about it."},{Icon:Mt,title:"Hands-On All Day",desc:"No passive slide-watching. You work through live exercises and build real output from the first hour to the last."},{Icon:ze,title:"Intentionally Small Groups",desc:"Capped for quality, not scale. Every question gets answered and peer discussion is a built-in feature of the design."},{Icon:Uo,title:"Immediate Application",desc:"Every session ends with a concrete next step. The frameworks are designed to slot into your workflow the moment you're back at your desk."}],lD=["Full session recording & replay access","All frameworks, templates & slide decks","Working deliverable you build during the session","Private workshop alumni community","Instructor Q&A access (30 days post-session)","Certificate of Achievement"],cD=[{Icon:Mt,title:"Prompt Engineering for Business Teams",desc:"Walk away with a repeatable system for getting elite-level results from AI — the same techniques used by the world's leading strategy and technology teams.",duration:"Full day",audience:"All teams"},{Icon:Tm,title:"Agentic AI for Leaders",desc:"Cut through the hype. Understand exactly what AI agents can and can't do, and leave with a clear roadmap for deploying your first high-value agentic system.",duration:"Full day",audience:"Executives & founders"},{Icon:ui,title:"Build Your First AI Agent",desc:"Design, build, and deploy a working AI agent in a single day. Intensive, technical, and hands-on — no passive watching.",duration:"Full day",audience:"Technical leaders"},{Icon:Uo,title:"AI Automation for Operations",desc:"Surface the highest-ROI automation opportunities in your business and build the first one live — with expert guidance at every step.",duration:"Full day",audience:"Ops & leadership"},{Icon:ze,title:"No-Code AI for Non-Technical Teams",desc:"Give your team the tools to act on AI themselves — without waiting on engineering. Practical, fast, and immediately deployable.",duration:"Full day",audience:"Business leaders"},{Icon:ot,title:"Vibe Coding with AI",desc:"Build real, working software by describing what you want in plain language. Go from blank canvas to deployed product in a weekend.",duration:"Weekend",audience:"All skill levels"}];function dD(){Ye({title:"AI Workshops | Exclusive Hybrid Sessions for Leaders | Synapse AI Solutions",description:"Invitation-style AI workshops designed for executives, founders, and senior leaders. Full-day and weekend intensives in hybrid format — curated for high-impact learning with no wasted time."}),p.useEffect(()=>{const t=document.createElement("script");return t.src="https://api.synapseai.us/js/form_embed.js",t.async=!0,document.body.appendChild(t),()=>{document.body.contains(t)&&document.body.removeChild(t)}},[]);const e=t=>{const n=document.getElementById(t);n&&window.scrollTo({top:n.offsetTop-80,behavior:"smooth"})};return s.jsxs("div",{className:"min-h-screen",children:[s.jsxs("section",{className:"relative bg-primary text-white overflow-hidden pt-32 pb-24 sm:pb-32",children:[s.jsx(Ae,{variant:"gradient",opacity:.06}),s.jsx("div",{className:"hero-radial-glow absolute inset-0 pointer-events-none"}),s.jsx("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8 relative z-10",children:s.jsxs(T.div,{className:"max-w-3xl mx-auto text-center",initial:{opacity:0,y:28},animate:{opacity:1,y:0},transition:{duration:.65},children:[s.jsxs("h1",{className:"text-4xl sm:text-5xl lg:text-6xl font-black leading-[1.1] mb-6",children:["AI Mastery.",s.jsx("br",{}),s.jsx("span",{className:"text-gradient-cyan",children:"No Wasted Time."})]}),s.jsx("p",{className:"text-xl text-white/80 mb-6 leading-relaxed max-w-2xl mx-auto",children:"Exclusive AI workshops designed for executives, founders, and senior leaders who need real AI capability — not theory. Dense, practical, and built around your most valuable resource: time."}),s.jsx("p",{className:"text-base text-white/55 mb-10 max-w-xl mx-auto",children:"Attend in person at a curated venue or join the live session from anywhere. Seats are limited and filled fast."}),s.jsxs("div",{className:"flex flex-wrap justify-center gap-4 mb-12",children:[s.jsxs("div",{className:"flex items-center gap-3 px-6 py-4 rounded-xl bg-white/8 border border-white/15",children:[s.jsx(Cm,{className:"h-5 w-5 text-secondary flex-shrink-0"}),s.jsxs("div",{className:"text-left",children:[s.jsx("p",{className:"text-xs text-white/60 uppercase tracking-wide",children:"In Person"}),s.jsx("p",{className:"font-semibold text-white text-sm",children:"Curated Venue"})]})]}),s.jsxs("div",{className:"flex items-center gap-3 px-6 py-4 rounded-xl bg-white/8 border border-white/15",children:[s.jsx(Am,{className:"h-5 w-5 text-secondary flex-shrink-0"}),s.jsxs("div",{className:"text-left",children:[s.jsx("p",{className:"text-xs text-white/60 uppercase tracking-wide",children:"Online"}),s.jsx("p",{className:"font-semibold text-white text-sm",children:"Live Stream Anywhere"})]})]}),s.jsxs("div",{className:"flex items-center gap-3 px-6 py-4 rounded-xl bg-white/8 border border-white/15",children:[s.jsx($o,{className:"h-5 w-5 text-secondary flex-shrink-0"}),s.jsxs("div",{className:"text-left",children:[s.jsx("p",{className:"text-xs text-white/60 uppercase tracking-wide",children:"Format"}),s.jsx("p",{className:"font-semibold text-white text-sm",children:"Full Day or Weekend"})]})]})]}),s.jsxs("button",{onClick:()=>e("register"),className:"btn-glow inline-flex items-center gap-2 px-8 py-4 bg-secondary text-primary font-bold rounded-lg text-lg hover:scale-105 transition-transform",children:["Sign Up for Next Workshop ",s.jsx(fe,{className:"h-5 w-5"})]})]})})]}),s.jsx("section",{className:"py-16 bg-white border-b border-gray-100",children:s.jsx("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8",children:s.jsx("div",{className:"grid sm:grid-cols-3 gap-8 max-w-4xl mx-auto text-center",children:[{stat:"No Filler",label:"Every hour is earned. We cut everything that doesn't make you sharper."},{stat:"Peer-Level",label:"You'll be in the room with executives and founders at the same stage."},{stat:"Same-Day Value",label:"Leave with something you can use before your next meeting."}].map(({stat:t,label:n},r)=>s.jsxs(T.div,{initial:{opacity:0,y:16},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:r*.1,duration:.5},children:[s.jsx("p",{className:"text-2xl font-black text-primary mb-2",children:t}),s.jsx("p",{className:"text-gray-500 text-sm leading-relaxed",children:n})]},t))})})}),s.jsx("section",{className:"py-20 sm:py-24 bg-white",children:s.jsx("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8",children:s.jsxs("div",{className:"max-w-5xl mx-auto",children:[s.jsxs(T.div,{className:"text-center mb-14",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5},children:[s.jsx("p",{className:"text-xs uppercase tracking-widest text-secondary font-semibold mb-3",children:"Right Fit"}),s.jsx("h2",{className:"text-3xl sm:text-4xl font-black text-primary mb-4",children:"Who This Is For"}),s.jsx("p",{className:"text-lg text-gray-600 max-w-2xl mx-auto",children:"Designed for leaders who make decisions and builders who ship — not those who want to watch from the sidelines."})]}),s.jsx("div",{className:"grid md:grid-cols-3 gap-6",children:iD.map(({Icon:t,title:n,desc:r,color:i,bg:o},a)=>s.jsxs(T.div,{className:"glass-card p-8 rounded-2xl border border-gray-100 hover:shadow-lg transition-shadow",initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:a*.1,duration:.5},children:[s.jsx("div",{className:`w-12 h-12 ${o} rounded-xl flex items-center justify-center mb-5`,children:s.jsx(t,{className:`h-6 w-6 ${i}`})}),s.jsx("h3",{className:"text-xl font-bold text-primary mb-3",children:n}),s.jsx("p",{className:"text-gray-600 leading-relaxed text-sm",children:r})]},n))})]})})}),s.jsx("section",{className:"py-20 bg-gray-50",children:s.jsxs("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8",children:[s.jsxs(T.div,{className:"text-center mb-14",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5},children:[s.jsx("p",{className:"text-xs uppercase tracking-widest text-secondary font-semibold mb-3",children:"Programs"}),s.jsx("h2",{className:"text-3xl sm:text-4xl font-black text-primary mb-4",children:"Workshop Programs"}),s.jsx("p",{className:"text-lg text-gray-600 max-w-2xl mx-auto",children:"Each program is built around a specific outcome. Private and custom sessions available for leadership teams."})]}),s.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-3 gap-6 max-w-6xl mx-auto",children:cD.map(({Icon:t,title:n,desc:r,duration:i,audience:o},a)=>s.jsxs(T.div,{className:"bg-white p-7 rounded-2xl border border-gray-100 hover:shadow-lg transition-shadow group",initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:a*.08,duration:.5},children:[s.jsx("div",{className:"w-11 h-11 bg-secondary/10 rounded-xl flex items-center justify-center mb-5 group-hover:bg-secondary/20 transition-colors",children:s.jsx(t,{className:"h-5 w-5 text-secondary"})}),s.jsx("h3",{className:"text-lg font-bold text-primary mb-2 leading-snug",children:n}),s.jsx("p",{className:"text-gray-600 text-sm leading-relaxed mb-4",children:r}),s.jsxs("div",{className:"flex gap-3 text-xs",children:[s.jsx("span",{className:"px-2 py-1 bg-primary/8 text-primary font-semibold rounded-full",children:i}),s.jsx("span",{className:"px-2 py-1 bg-gray-100 text-gray-600 rounded-full",children:o})]})]},n))})]})}),s.jsx("section",{className:"py-20 sm:py-28 bg-white",children:s.jsx("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8",children:s.jsxs("div",{className:"max-w-5xl mx-auto",children:[s.jsxs(T.div,{className:"text-center mb-14",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5},children:[s.jsx("p",{className:"text-xs uppercase tracking-widest text-secondary font-semibold mb-3",children:"The Difference"}),s.jsx("h2",{className:"text-3xl sm:text-4xl font-black text-primary mb-4",children:"Why This Workshop"}),s.jsx("p",{className:"text-lg text-gray-600 max-w-xl mx-auto",children:"Not a conference talk. Not an online course. A designed day that changes how you operate."})]}),s.jsx("div",{className:"grid sm:grid-cols-2 gap-6",children:oD.map(({Icon:t,title:n,desc:r,color:i,bg:o},a)=>s.jsxs(T.div,{className:"rounded-2xl border border-gray-100 p-7 shadow-sm hover:shadow-lg transition-all duration-300",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:a*.1,duration:.55},children:[s.jsx("div",{className:`w-11 h-11 rounded-xl ${o} ${i} flex items-center justify-center mb-4`,children:s.jsx(t,{className:"h-5 w-5"})}),s.jsx("h3",{className:"font-bold text-primary text-lg mb-2",children:n}),s.jsx("p",{className:"text-gray-600 text-sm leading-relaxed",children:r})]},n))})]})})}),s.jsxs("section",{className:"py-20 bg-primary text-white relative overflow-hidden",children:[s.jsx(Ae,{variant:"particles",opacity:.05}),s.jsxs("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8 relative z-10",children:[s.jsxs(T.div,{className:"text-center mb-14",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5},children:[s.jsx("p",{className:"text-xs uppercase tracking-widest text-secondary font-semibold mb-3",children:"The Experience"}),s.jsx("h2",{className:"text-3xl sm:text-4xl font-black mb-4",children:"How You'll Learn"}),s.jsx("p",{className:"text-lg text-white/70 max-w-2xl mx-auto",children:"Every element of the day is engineered for impact. No filler. No passive watching. Just deliberate, high-signal time."})]}),s.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-4 gap-6 max-w-5xl mx-auto",children:aD.map(({Icon:t,title:n,desc:r},i)=>s.jsxs(T.div,{className:"p-6 rounded-2xl border border-white/10 bg-white/5 hover:bg-white/10 transition-colors",initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:i*.1,duration:.5},children:[s.jsx("div",{className:"w-10 h-10 bg-secondary/20 rounded-xl flex items-center justify-center mb-4",children:s.jsx(t,{className:"h-5 w-5 text-secondary"})}),s.jsx("h3",{className:"font-bold text-white mb-2",children:n}),s.jsx("p",{className:"text-white/65 text-sm leading-relaxed",children:r})]},n))})]})]}),s.jsx("section",{className:"py-20 sm:py-24 bg-white",children:s.jsx("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8",children:s.jsxs("div",{className:"max-w-4xl mx-auto",children:[s.jsxs(T.div,{className:"text-center mb-12",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5},children:[s.jsx("p",{className:"text-xs uppercase tracking-widest text-secondary font-semibold mb-3",children:"Every Participant Receives"}),s.jsx("h2",{className:"text-3xl sm:text-4xl font-black text-primary mb-4",children:"What You'll Leave With"}),s.jsx("p",{className:"text-lg text-gray-600 max-w-xl mx-auto",children:"More than knowledge. You leave with assets, access, and a network of people building at the same level."})]}),s.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-3 gap-4",children:lD.map((t,n)=>s.jsxs(T.div,{className:"flex items-center gap-3 p-4 rounded-xl border border-secondary/20 bg-secondary/5",initial:{opacity:0,scale:.95},whileInView:{opacity:1,scale:1},viewport:{once:!0},transition:{delay:n*.08,duration:.4},children:[s.jsx(uw,{className:"h-5 w-5 text-secondary flex-shrink-0"}),s.jsx("span",{className:"text-gray-800 font-medium text-sm",children:t})]},t))})]})})}),s.jsxs("section",{id:"register",className:"py-20 bg-primary text-white relative overflow-hidden",children:[s.jsx(Ae,{variant:"particles",opacity:.05}),s.jsx("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8 relative z-10",children:s.jsxs(T.div,{className:"max-w-5xl mx-auto",initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},children:[s.jsxs("div",{className:"text-center mb-12",children:[s.jsx("h2",{className:"text-3xl sm:text-4xl font-black mb-4",children:"One Day. Lasting Edge."}),s.jsx("p",{className:"text-xl text-white/75 leading-relaxed max-w-2xl mx-auto",children:"Every session is capped to protect the quality of the room. Leaders who move fast on AI don't wait for the right moment — they create it. Register now and we'll confirm your spot in the next available workshop."})]}),s.jsxs("div",{className:"w-full",children:[s.jsx("style",{children:` .workshop-iframe { width:100% !important; max-width:100% !important; box-sizing:border-box; } @media (max-width:480px) { .workshop-iframe { height:940px !important; } } @media (min-width:481px) and (max-width:767px) { .workshop-iframe { height:910px !important; } } @media (min-width:768px) { .workshop-iframe { height:888px !important; } } `}),s.jsx("iframe",{src:"https://api.synapseai.us/widget/form/lQMWS40JFBLTNp87AJIW",style:{width:"100%",height:"100%",border:"none",borderRadius:"3px"},className:"workshop-iframe w-full block max-w-full min-h-[888px] h-[888px]",id:"inline-lQMWS40JFBLTNp87AJIW","data-layout":"{'id':'INLINE'}","data-trigger-type":"alwaysShow","data-trigger-value":"","data-activation-type":"alwaysActivated","data-activation-value":"","data-deactivation-type":"neverDeactivate","data-deactivation-value":"","data-form-name":"Workshop","data-height":"888","data-layout-iframe-id":"inline-lQMWS40JFBLTNp87AJIW","data-form-id":"lQMWS40JFBLTNp87AJIW",title:"Workshop"})]})]})})]})]})}const uD=ej,hD=QR,mD=tj,Aj=p.forwardRef(({className:e,...t},n)=>s.jsx(wc,{className:Z("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t,ref:n}));Aj.displayName=wc.displayName;const pD=ec("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),Tj=p.forwardRef(({side:e="right",className:t,children:n,...r},i)=>s.jsxs(mD,{children:[s.jsx(Aj,{}),s.jsxs(bc,{ref:i,className:Z(pD({side:e}),t),...r,children:[n,s.jsxs(nj,{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-secondary",children:[s.jsx(as,{className:"h-4 w-4"}),s.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));Tj.displayName=bc.displayName;const fD=p.forwardRef(({className:e,...t},n)=>s.jsx(jc,{ref:n,className:Z("text-lg font-semibold text-foreground",e),...t}));fD.displayName=jc.displayName;const xD=p.forwardRef(({className:e,...t},n)=>s.jsx(Nc,{ref:n,className:Z("text-sm text-muted-foreground",e),...t}));xD.displayName=Nc.displayName;const hh="/assets/synapse-navbar-logo-CNXEsIYX.png";function gD(){const[e,t]=p.useState(!1),[n,r]=p.useState(!1),[i,o]=p.useState(!1),[a,l]=p.useState(!1),[c,d]=p.useState(!1),[u,h]=p.useState(!1),[m,g]=p.useState(!1),[w,x]=p.useState(!1),[b,y]=os(),f=[{title:"Agentic AI Solutions",href:"/services/agentic-ai",icon:s.jsx(Mt,{className:"h-4 w-4"}),description:"Agents, conversational & voice AI, custom ML/GenAI, and data foundations"},{title:"AI Research Labs",href:"/services/ai-research-labs",icon:s.jsx(km,{className:"h-4 w-4"}),description:"Applied research in healthcare and physical AI"},{title:"Physical AI & Edge",href:"/services/physical-ai",icon:s.jsx(jm,{className:"h-4 w-4"}),description:"Computer vision and edge AI for physical operations"}],v=[{title:"For Clients",href:"/talent/for-clients",icon:s.jsx(ze,{className:"h-4 w-4"}),description:"AI and tech talent acquisition"},{title:"For Talents",href:"/talent/for-talents",icon:s.jsx(Ru,{className:"h-4 w-4"}),description:"Join our elite AI/ML professional network"}],j={professionalsAndStudents:{header:"For Professionals & Students",items:[{title:"Agentic AI Bootcamp",href:"/training/agentic-ai-bootcamp",icon:s.jsx(Mt,{className:"h-4 w-4"})},{title:"No-Code Agentic AI",href:"/training/no-code-agentic-ai",icon:s.jsx(fC,{className:"h-4 w-4"})},{title:"Workshops",href:"/training/workshops",icon:s.jsx(ze,{className:"h-4 w-4"})}]},companies:{header:"For Companies",items:[{title:"Corporate Training",href:"/training/corporate-training",icon:s.jsx(Ru,{className:"h-4 w-4"})}]}};p.useEffect(()=>{const C=()=>{window.scrollY>10?t(!0):t(!1)};return window.addEventListener("scroll",C),()=>{window.removeEventListener("scroll",C)}},[]);const N=C=>b===C,S=()=>b.startsWith("/services"),k=()=>b.startsWith("/talent"),A=()=>b.startsWith("/training"),R=()=>{r(!1)};return s.jsx("header",{className:"fixed w-full z-50 transition-all duration-300 bg-[#080845]",children:s.jsx("div",{className:"w-full px-0",children:s.jsxs("div",{className:"flex justify-between items-center py-2 sm:py-3 lg:py-4 px-3 sm:px-4 md:px-6 lg:px-8",children:[s.jsx("div",{className:"flex items-center justify-start",children:s.jsxs(q,{href:"/",className:"flex items-center space-x-1 sm:space-x-2 lg:space-x-4 group cursor-pointer select-none",onClick:()=>{b==="/"&&window.scrollTo({top:0,behavior:"smooth"})},style:{userSelect:"none",WebkitUserSelect:"none",MozUserSelect:"none",msUserSelect:"none"},children:[s.jsx("img",{src:hh,alt:"Synapse AI Solutions Logo",className:"h-8 sm:h-10 md:h-12 lg:h-14 xl:h-16 w-auto transition-transform group-hover:scale-105 select-none",draggable:"false",style:{userSelect:"none",WebkitUserSelect:"none",MozUserSelect:"none",msUserSelect:"none"}}),s.jsxs("span",{className:"font-bold text-xs sm:text-sm md:text-base lg:text-lg xl:text-xl text-white flex items-center select-none",style:{lineHeight:1,userSelect:"none",WebkitUserSelect:"none",MozUserSelect:"none",msUserSelect:"none"},children:["Synapse AI ",s.jsx("span",{className:"text-[#00D7FE] ml-1 lg:ml-2",children:"Solutions"})]})]})}),s.jsxs("nav",{className:"hidden 2xl:flex items-center justify-center space-x-6 xl:space-x-8 absolute left-1/2 transform -translate-x-1/2",children:[s.jsxs("div",{className:"relative",onMouseEnter:()=>o(!0),onMouseLeave:()=>o(!1),children:[s.jsxs("div",{className:`text-sm xl:text-base font-medium transition-colors flex items-center gap-1 cursor-pointer py-2 px-3 rounded-md ${S()?"text-[#00D7FE]":"text-white hover:text-[#00D7FE] hover:bg-white/10"}`,children:["Services",s.jsx(et,{className:`h-4 w-4 transition-transform duration-200 ${i?"rotate-180":""}`})]}),i&&s.jsxs(s.Fragment,{children:[s.jsx("div",{className:"absolute top-full left-0 w-full h-2 bg-transparent z-[60]"}),s.jsx("div",{className:"absolute top-full -left-20 mt-2 w-80 bg-white rounded-lg shadow-2xl border border-gray-100 py-3 z-[70]",style:{minWidth:"320px"},onMouseEnter:()=>o(!0),onMouseLeave:()=>o(!1),children:f.map((C,M)=>s.jsx(q,{href:C.href,className:"block px-5 py-3 hover:bg-gray-50 transition-colors duration-150 group",onClick:()=>o(!1),children:s.jsxs("div",{className:"flex items-center gap-3",children:[s.jsx("div",{className:"text-[#00D7FE] flex-shrink-0",children:C.icon}),s.jsx("span",{className:"font-medium text-gray-900 group-hover:text-[#00D7FE] text-base leading-snug",children:C.title})]})},M))})]})]}),s.jsxs("div",{className:"relative",onMouseEnter:()=>d(!0),onMouseLeave:()=>d(!1),children:[s.jsxs("div",{className:`text-sm xl:text-base font-medium transition-colors flex items-center gap-1 cursor-pointer py-2 px-3 rounded-md ${A()?"text-[#00D7FE]":"text-white hover:text-[#00D7FE] hover:bg-white/10"}`,children:["Trainings",s.jsx(et,{className:`h-4 w-4 transition-transform duration-200 ${c?"rotate-180":""}`})]}),c&&s.jsxs(s.Fragment,{children:[s.jsx("div",{className:"absolute top-full left-0 w-full h-2 bg-transparent z-[60]"}),s.jsxs("div",{className:"absolute top-full -left-20 mt-2 w-80 bg-white rounded-lg shadow-2xl border border-gray-100 py-3 z-[70]",style:{minWidth:"320px"},onMouseEnter:()=>d(!0),onMouseLeave:()=>d(!1),children:[s.jsx("div",{className:"px-5 pt-2 pb-1 text-xs uppercase tracking-wide text-gray-500 select-none cursor-default",children:j.professionalsAndStudents.header}),j.professionalsAndStudents.items.map((C,M)=>s.jsx(q,{href:C.href,className:"block px-5 py-3 hover:bg-gray-50 transition-colors duration-150 group",onClick:()=>d(!1),children:s.jsxs("div",{className:"flex items-center gap-3",children:[s.jsx("div",{className:"text-[#00D7FE] flex-shrink-0",children:C.icon}),s.jsx("span",{className:"font-medium text-gray-900 group-hover:text-[#00D7FE] text-base leading-snug",children:C.title})]})},`ps-${M}`)),s.jsx("div",{className:"my-2 border-t border-gray-100"}),s.jsx("div",{className:"px-5 pt-2 pb-1 text-xs uppercase tracking-wide text-gray-500 select-none cursor-default",children:j.companies.header}),j.companies.items.map((C,M)=>s.jsx(q,{href:C.href,className:"block px-5 py-3 hover:bg-gray-50 transition-colors duration-150 group",onClick:()=>d(!1),children:s.jsxs("div",{className:"flex items-center gap-3",children:[s.jsx("div",{className:"text-[#00D7FE] flex-shrink-0",children:C.icon}),s.jsx("span",{className:"font-medium text-gray-900 group-hover:text-[#00D7FE] text-base leading-snug",children:C.title})]})},`co-${M}`))]})]})]}),s.jsxs("div",{className:"relative",onMouseEnter:()=>l(!0),onMouseLeave:()=>l(!1),children:[s.jsxs("div",{className:`text-sm xl:text-base font-medium transition-colors flex items-center gap-1 cursor-pointer py-2 px-3 rounded-md ${k()?"text-[#00D7FE]":"text-white hover:text-[#00D7FE] hover:bg-white/10"}`,children:["Talents",s.jsx(et,{className:`h-4 w-4 transition-transform duration-200 ${a?"rotate-180":""}`})]}),a&&s.jsxs(s.Fragment,{children:[s.jsx("div",{className:"absolute top-full left-0 w-full h-2 bg-transparent z-[60]"}),s.jsx("div",{className:"absolute top-full -left-20 mt-2 w-80 bg-white rounded-lg shadow-2xl border border-gray-100 py-3 z-[70]",style:{minWidth:"280px"},onMouseEnter:()=>l(!0),onMouseLeave:()=>l(!1),children:v.map((C,M)=>s.jsx(q,{href:C.href,className:"block px-5 py-3 hover:bg-gray-50 transition-colors duration-150 group",onClick:()=>l(!1),children:s.jsxs("div",{className:"flex items-center gap-3",children:[s.jsx("div",{className:"text-[#00D7FE] flex-shrink-0",children:C.icon}),s.jsx("span",{className:"font-medium text-gray-900 group-hover:text-[#00D7FE] text-base leading-snug",children:C.title})]})},M))})]})]}),s.jsx(q,{href:"/about",className:"text-sm xl:text-base text-white hover:text-[#00D7FE] font-medium transition-colors py-2 px-3 rounded-md hover:bg-white/10",children:"About"}),s.jsx(q,{href:"/contact",className:"text-sm xl:text-base text-white hover:text-[#00D7FE] font-medium transition-colors py-2 px-3 rounded-md hover:bg-white/10",children:"Contact"})]}),s.jsxs("nav",{className:"hidden xl:flex 2xl:hidden items-center justify-center space-x-2 xl:space-x-3 absolute left-1/2 transform -translate-x-1/2",children:[s.jsxs("div",{className:"relative",onMouseEnter:()=>o(!0),onMouseLeave:()=>o(!1),children:[s.jsxs("div",{className:`text-xs xl:text-sm font-medium transition-colors flex items-center gap-1 cursor-pointer py-1.5 xl:py-2 px-1.5 xl:px-2 rounded-md ${S()?"text-[#00D7FE]":"text-white hover:text-[#00D7FE] hover:bg-white/10"}`,children:["Services",s.jsx(et,{className:`h-3 w-3 transition-transform duration-200 ${i?"rotate-180":""}`})]}),i&&s.jsxs(s.Fragment,{children:[s.jsx("div",{className:"absolute top-full left-0 w-full h-2 bg-transparent z-[60]"}),s.jsx("div",{className:"absolute top-full left-1/2 transform -translate-x-1/2 mt-2 w-80 bg-white rounded-lg shadow-2xl border border-gray-100 py-2 z-[70]",style:{minWidth:"300px"},onMouseEnter:()=>o(!0),onMouseLeave:()=>o(!1),children:f.map((C,M)=>s.jsx(q,{href:C.href,className:"block px-4 py-2.5 hover:bg-gray-50 transition-colors duration-150 group",onClick:()=>o(!1),children:s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx("div",{className:"text-[#00D7FE] flex-shrink-0",children:C.icon}),s.jsx("span",{className:"font-medium text-gray-900 group-hover:text-[#00D7FE] text-sm leading-snug",children:C.title})]})},M))})]})]}),s.jsxs("div",{className:"relative",onMouseEnter:()=>d(!0),onMouseLeave:()=>d(!1),children:[s.jsxs("div",{className:`text-xs xl:text-sm font-medium transition-colors flex items-center gap-1 cursor-pointer py-1.5 xl:py-2 px-1.5 xl:px-2 rounded-md ${A()?"text-[#00D7FE]":"text-white hover:text-[#00D7FE] hover:bg-white/10"}`,children:["Trainings",s.jsx(et,{className:`h-3 w-3 transition-transform duration-200 ${c?"rotate-180":""}`})]}),c&&s.jsxs(s.Fragment,{children:[s.jsx("div",{className:"absolute top-full left-0 w-full h-2 bg-transparent z-[60]"}),s.jsxs("div",{className:"absolute top-full left-1/2 transform -translate-x-1/2 mt-2 w-64 bg-white rounded-lg shadow-2xl border border-gray-100 py-2 z-[70]",style:{minWidth:"260px"},onMouseEnter:()=>d(!0),onMouseLeave:()=>d(!1),children:[j.professionalsAndStudents.items.map((C,M)=>s.jsx(q,{href:C.href,className:"block px-4 py-2.5 hover:bg-gray-50 transition-colors duration-150 group",onClick:()=>d(!1),children:s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx("div",{className:"text-[#00D7FE] flex-shrink-0",children:C.icon}),s.jsx("span",{className:"font-medium text-gray-900 group-hover:text-[#00D7FE] text-sm leading-snug",children:C.title})]})},`m-ps-${M}`)),s.jsx("div",{className:"my-2 border-t border-white/10"}),j.companies.items.map((C,M)=>s.jsx(q,{href:C.href,className:"block px-4 py-2.5 hover:bg-gray-50 transition-colors duration-150 group",onClick:()=>d(!1),children:s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx("div",{className:"text-[#00D7FE] flex-shrink-0",children:C.icon}),s.jsx("span",{className:"font-medium text-gray-900 group-hover:text-[#00D7FE] text-sm leading-snug",children:C.title})]})},`m-co-${M}`))]})]})]}),s.jsxs("div",{className:"relative",onMouseEnter:()=>l(!0),onMouseLeave:()=>l(!1),children:[s.jsxs("div",{className:`text-xs xl:text-sm font-medium transition-colors flex items-center gap-1 cursor-pointer py-1.5 xl:py-2 px-1.5 xl:px-2 rounded-md ${k()?"text-[#00D7FE]":"text-white hover:text-[#00D7FE] hover:bg-white/10"}`,children:["Talents",s.jsx(et,{className:`h-3 w-3 transition-transform duration-200 ${a?"rotate-180":""}`})]}),a&&s.jsxs(s.Fragment,{children:[s.jsx("div",{className:"absolute top-full left-0 w-full h-2 bg-transparent z-[60]"}),s.jsx("div",{className:"absolute top-full left-1/2 transform -translate-x-1/2 mt-2 w-64 bg-white rounded-lg shadow-2xl border border-gray-100 py-2 z-[70]",style:{minWidth:"240px"},onMouseEnter:()=>l(!0),onMouseLeave:()=>l(!1),children:v.map((C,M)=>s.jsx(q,{href:C.href,className:"block px-4 py-2.5 hover:bg-gray-50 transition-colors duration-150 group",onClick:()=>l(!1),children:s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx("div",{className:"text-[#00D7FE] flex-shrink-0",children:C.icon}),s.jsx("span",{className:"font-medium text-gray-900 group-hover:text-[#00D7FE] text-sm leading-snug",children:C.title})]})},M))})]})]}),s.jsx(q,{href:"/about",className:"text-xs xl:text-sm text-white hover:text-[#00D7FE] font-medium transition-colors py-1.5 xl:py-2 px-1.5 xl:px-2 rounded-md hover:bg-white/10",children:"About"}),s.jsx(q,{href:"/contact",className:"text-xs xl:text-sm text-white hover:text-[#00D7FE] font-medium transition-colors py-1.5 xl:py-2 px-1.5 xl:px-2 rounded-md hover:bg-white/10",children:"Contact"})]}),s.jsx("div",{className:"hidden xl:flex",children:s.jsxs("button",{className:"px-2 xl:px-3 2xl:px-6 py-1.5 xl:py-2 2xl:py-3 bg-[#00D7FE] text-black hover:bg-[#00b6d6] rounded-md font-semibold shadow-lg transition-all duration-300 flex items-center group hover:scale-105 text-xs xl:text-sm 2xl:text-base",onClick:()=>Zr(y),children:[s.jsx("span",{className:"hidden 2xl:inline",children:"Partner with Us"}),s.jsx("span",{className:"2xl:hidden",children:"Partner"}),s.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-3 w-3 xl:h-4 xl:w-4 2xl:h-5 2xl:w-5 ml-1 2xl:ml-2 transform transition-transform duration-300 group-hover:translate-x-1",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:s.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M14 5l7 7m0 0l-7 7m7-7H3"})})]})}),s.jsx("div",{className:"xl:hidden",children:s.jsxs(uD,{open:n,onOpenChange:r,children:[s.jsx(hD,{asChild:!0,children:s.jsxs(ae,{variant:"ghost",size:"icon",className:"text-white hover:text-[#00D7FE] hover:bg-white/10 h-8 w-8 sm:h-10 sm:w-10",onClick:()=>r(!0),children:[s.jsx(kC,{className:"h-5 w-5 sm:h-6 sm:w-6"}),s.jsx("span",{className:"sr-only",children:"Toggle menu"})]})}),s.jsx(Tj,{side:"right",className:"w-[280px] sm:w-[320px] md:w-[380px] lg:w-[420px] bg-[#080845] border-l border-white/10",children:s.jsxs("div",{className:"flex flex-col h-full",children:[s.jsxs("div",{className:"flex items-center justify-between py-3 sm:py-4 border-b border-white/10",children:[s.jsxs(q,{href:"/",className:"flex items-center space-x-1 sm:space-x-2 select-none group cursor-pointer",style:{userSelect:"none"},onClick:()=>{R(),b==="/"&&window.scrollTo({top:0,behavior:"smooth"})},children:[s.jsx("img",{src:hh,alt:"Synapse AI Solutions Logo",className:"h-10 sm:h-12 w-auto select-none transition-transform group-hover:scale-105",draggable:"false",style:{userSelect:"none",WebkitUserSelect:"none",MozUserSelect:"none",msUserSelect:"none"}}),s.jsxs("span",{className:"font-bold text-base sm:text-lg text-white select-none group-hover:text-[#00D7FE] transition-colors",style:{userSelect:"none",WebkitUserSelect:"none",MozUserSelect:"none",msUserSelect:"none"},children:["Synapse AI ",s.jsx("span",{className:"text-[#00D7FE]",children:"Solutions"})]})]}),s.jsx(ae,{variant:"ghost",size:"icon",className:"text-white hover:text-[#00D7FE] hover:bg-white/10 h-8 w-8 sm:h-10 sm:w-10",onClick:R,children:s.jsx(as,{className:"h-5 w-5 sm:h-6 sm:w-6"})})]}),s.jsxs("nav",{className:"flex flex-col space-y-2 sm:space-y-3 md:space-y-4 py-4 sm:py-6 md:py-8",children:[s.jsxs("div",{children:[s.jsxs("button",{onClick:()=>h(!u),className:`w-full text-left text-sm sm:text-base md:text-lg font-medium py-2 sm:py-2.5 md:py-3 px-3 sm:px-4 rounded-lg transition-colors flex items-center justify-between ${S()?"text-[#00D7FE] bg-white/10":"text-white hover:text-[#00D7FE] hover:bg-white/5"}`,children:["Services",s.jsx(et,{className:`h-4 w-4 transition-transform duration-200 ${u?"rotate-180":""}`})]}),u&&s.jsx("div",{className:"mt-2 ml-3 sm:ml-4 space-y-1 sm:space-y-2",children:f.map((C,M)=>s.jsxs(q,{href:C.href,className:"flex items-center gap-2 sm:gap-3 py-2 px-2 sm:px-3 text-sm text-white/80 hover:text-[#00D7FE] hover:bg-white/5 rounded-md transition-colors",onClick:R,children:[s.jsx("div",{className:"text-[#00D7FE]",children:C.icon}),C.title]},M))})]}),s.jsxs("div",{children:[s.jsxs("button",{onClick:()=>x(!w),className:`w-full text-left text-sm sm:text-base md:text-lg font-medium py-2 sm:py-2.5 md:py-3 px-3 sm:px-4 rounded-lg transition-colors flex items-center justify-between ${A()?"text-[#00D7FE] bg-white/10":"text-white hover:text-[#00D7FE] hover:bg-white/5"}`,children:["Trainings",s.jsx(et,{className:`h-4 w-4 transition-transform duration-200 ${w?"rotate-180":""}`})]}),w&&s.jsxs("div",{className:"mt-2 ml-3 sm:ml-4 space-y-2",children:[s.jsx("div",{className:"text-[10px] uppercase tracking-wide text-white/60 px-2",children:j.professionalsAndStudents.header}),j.professionalsAndStudents.items.map((C,M)=>s.jsxs(q,{href:C.href,className:"flex items-center gap-2 sm:gap-3 py-2 px-2 sm:px-3 text-sm text-white/80 hover:text-[#00D7FE] hover:bg-white/5 rounded-md transition-colors",onClick:R,children:[s.jsx("div",{className:"text-[#00D7FE]",children:C.icon}),C.title]},`m-ps-${M}`)),s.jsx("div",{className:"mt-2 border-t border-white/10"}),s.jsx("div",{className:"text-[10px] uppercase tracking-wide text-white/60 px-2",children:j.companies.header}),j.companies.items.map((C,M)=>s.jsxs(q,{href:C.href,className:"flex items-center gap-2 sm:gap-3 py-2 px-2 sm:px-3 text-sm text-white/80 hover:text-[#00D7FE] hover:bg-white/5 rounded-md transition-colors",onClick:R,children:[s.jsx("div",{className:"text-[#00D7FE]",children:C.icon}),C.title]},`m-co-${M}`))]})]}),s.jsxs("div",{children:[s.jsxs("button",{onClick:()=>g(!m),className:`w-full text-left text-sm sm:text-base md:text-lg font-medium py-2 sm:py-2.5 md:py-3 px-3 sm:px-4 rounded-lg transition-colors flex items-center justify-between ${k()?"text-[#00D7FE] bg-white/10":"text-white hover:text-[#00D7FE] hover:bg-white/5"}`,children:["Talents",s.jsx(et,{className:`h-4 w-4 transition-transform duration-200 ${m?"rotate-180":""}`})]}),m&&s.jsx("div",{className:"mt-2 ml-3 sm:ml-4 space-y-1 sm:space-y-2",children:v.map((C,M)=>s.jsxs(q,{href:C.href,className:"flex items-center gap-2 sm:gap-3 py-2 px-2 sm:px-3 text-sm text-white/80 hover:text-[#00D7FE] hover:bg-white/5 rounded-md transition-colors",onClick:R,children:[s.jsx("div",{className:"text-[#00D7FE]",children:C.icon}),C.title]},M))})]}),s.jsx(q,{href:"/about",className:`text-sm sm:text-base md:text-lg font-medium py-2 sm:py-2.5 md:py-3 px-3 sm:px-4 rounded-lg transition-colors ${N("/about")?"text-[#00D7FE] bg-white/10":"text-white hover:text-[#00D7FE] hover:bg-white/5"}`,onClick:R,children:"About"}),s.jsx(q,{href:"/contact",className:`text-sm sm:text-base md:text-lg font-medium py-2 sm:py-2.5 md:py-3 px-3 sm:px-4 rounded-lg transition-colors ${N("/contact")?"text-[#00D7FE] bg-white/10":"text-white hover:text-[#00D7FE] hover:bg-white/5"}`,onClick:R,children:"Contact"})]}),s.jsx("div",{className:"mt-auto pb-4 sm:pb-6 md:pb-8",children:s.jsxs("button",{className:"w-full bg-[#00D7FE] text-white hover:bg-[#00b6d6] transition-all duration-300 flex items-center justify-center px-4 sm:px-6 py-2.5 sm:py-3 md:py-4 text-sm sm:text-base md:text-lg rounded-md font-semibold shadow group",onClick:()=>{R(),Zr(y)},children:["Partner with Us",s.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-4 w-4 sm:h-5 sm:w-5 ml-2 transform transition-transform duration-300 group-hover:translate-x-1",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:s.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M14 5l7 7m0 0l-7 7m7-7H3"})})]})})]})})]})})]})})})}function yD(){const[,e]=os();return s.jsx("footer",{className:"bg-primary text-white",children:s.jsxs("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8 py-12 sm:py-16",children:[s.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-6 gap-6 sm:gap-8 md:gap-6 lg:gap-8",children:[s.jsxs("div",{className:"sm:col-span-2 lg:col-span-1 xl:col-span-2",children:[s.jsx("div",{className:"mb-4 sm:mb-6",children:s.jsxs(q,{href:"/",className:"flex items-center space-x-2 sm:space-x-3 group cursor-pointer",onClick:()=>{window.scrollTo({top:0,behavior:"smooth"})},children:[s.jsx("img",{src:hh,alt:"Synapse AI Solutions Logo",className:"h-10 sm:h-12 w-auto transition-transform group-hover:scale-105"}),s.jsxs("span",{className:"font-bold text-base sm:text-lg text-white",children:["Synapse AI ",s.jsx("span",{className:"text-secondary",children:"Solutions"})]})]})}),s.jsx("p",{className:"text-gray-300 mb-4 sm:mb-6 text-sm leading-relaxed",children:"Production-grade AI systems, expert staffing, and live training — deployed where it matters."}),s.jsxs("div",{className:"flex space-x-3 sm:space-x-4",children:[s.jsx("a",{href:"https://www.linkedin.com/company/synapseai-solutions/posts/?feedView=all",target:"_blank",rel:"noopener noreferrer",className:"text-gray-300 hover:text-secondary transition-colors duration-200","aria-label":"LinkedIn",children:s.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",fill:"currentColor",viewBox:"0 0 16 16",className:"sm:w-5 sm:h-5",children:s.jsx("path",{d:"M0 1.146C0 .513.526 0 1.175 0h13.65C15.474 0 16 .513 16 1.146v13.708c0 .633-.526 1.146-1.175 1.146H1.175C.526 16 0 15.487 0 14.854V1.146zm4.943 12.248V6.169H2.542v7.225h2.401zm-1.2-8.212c.837 0 1.358-.554 1.358-1.248-.015-.709-.52-1.248-1.342-1.248-.822 0-1.359.54-1.359 1.248 0 .694.521 1.248 1.327 1.248h.016zm4.908 8.212V9.359c0-.216.016-.432.08-.586.173-.431.568-.878 1.232-.878.869 0 1.216.662 1.216 1.634v3.865h2.401V9.25c0-2.22-1.184-3.252-2.764-3.252-1.274 0-1.845.7-2.165 1.193v.025h-.016a5.54 5.54 0 0 1 .016-.025V6.169h-2.4c.03.678 0 7.225 0 7.225h2.4z"})})}),s.jsx("a",{href:"https://x.com/synapseaisol",target:"_blank",rel:"noopener noreferrer",className:"text-gray-300 hover:text-secondary transition-colors duration-200","aria-label":"X (Twitter)",children:s.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",fill:"currentColor",viewBox:"0 0 24 24",className:"sm:w-5 sm:h-5",children:s.jsx("path",{d:"M18.901 1.153h3.68l-8.04 9.19L24 22.846h-7.406l-5.8-7.584-6.638 7.584H.474l8.6-9.83L0 1.154h7.594l5.243 6.932ZM17.61 20.644h2.039L6.486 3.24H4.298Z"})})}),s.jsx("a",{href:"https://www.instagram.com/synapseai.solutions/",target:"_blank",rel:"noopener noreferrer",className:"text-gray-300 hover:text-secondary transition-colors duration-200","aria-label":"Instagram",children:s.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",fill:"currentColor",viewBox:"0 0 24 24",className:"sm:w-5 sm:h-5",children:s.jsx("path",{d:"M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zm0-2.163c-3.259 0-3.667.014-4.947.072-4.358.2-6.78 2.618-6.98 6.98-.059 1.281-.073 1.689-.073 4.948 0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98 1.281.058 1.689.072 4.948.072 3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98-1.281-.059-1.69-.073-4.949-.073zm0 5.838c-3.403 0-6.162 2.759-6.162 6.162s2.759 6.163 6.162 6.163 6.162-2.759 6.162-6.163c0-3.403-2.759-6.162-6.162-6.162zm0 10.162c-2.209 0-4-1.79-4-4 0-2.209 1.791-4 4-4s4 1.791 4 4c0 2.21-1.791 4-4 4zm6.406-11.845c-.796 0-1.441.645-1.441 1.44s.645 1.44 1.441 1.44c.795 0 1.439-.645 1.439-1.44s-.644-1.44-1.439-1.44z"})})}),s.jsx("a",{href:"https://www.facebook.com/people/Synapse-AI-Solutions/61578620244908/#",target:"_blank",rel:"noopener noreferrer",className:"text-gray-300 hover:text-secondary transition-colors duration-200","aria-label":"Facebook",children:s.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",fill:"currentColor",viewBox:"0 0 24 24",className:"sm:w-5 sm:h-5",children:s.jsx("path",{d:"M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z"})})}),s.jsx("a",{href:"https://www.youtube.com/channel/UCStuPDLV_SnySHOrMTO2VdA",target:"_blank",rel:"noopener noreferrer",className:"text-gray-300 hover:text-secondary transition-colors duration-200","aria-label":"YouTube",children:s.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",fill:"currentColor",viewBox:"0 0 16 16",className:"sm:w-5 sm:h-5",children:s.jsx("path",{d:"M8.051 1.999h.089c.822.003 4.987.033 6.11.335a2.01 2.01 0 0 1 1.415 1.42c.101.38.172.883.22 1.402l.01.104.022.26.008.104c.065.914.073 1.77.074 1.957v.075c-.001.194-.01 1.108-.082 2.06l-.008.105-.009.104c-.05.572-.124 1.14-.235 1.558a2.007 2.007 0 0 1-1.415 1.42c-1.16.312-5.569.334-6.18.335h-.142c-.309 0-1.587-.006-2.927-.052l-.17-.006-.087-.004-.171-.007-.171-.007c-1.11-.049-2.167-.128-2.654-.26a2.007 2.007 0 0 1-1.415-1.419c-.111-.417-.185-.986-.235-1.558L.09 9.82l-.008-.104A31.4 31.4 0 0 1 0 7.68v-.123c.002-.215.01-.958.064-1.778l.007-.103.003-.052.008-.104.022-.26.01-.104c.048-.519.119-1.023.22-1.402a2.007 2.007 0 0 1 1.415-1.42c.487-.13 1.544-.21 2.654-.26l.17-.007.172-.006.086-.003.171-.007A99.788 99.788 0 0 1 7.858 2h.193zM6.4 5.209v4.818l4.157-2.408L6.4 5.209z"})})})]})]}),s.jsxs("div",{className:"mt-4 sm:mt-6 lg:mt-0",children:[s.jsx("h3",{className:"text-secondary font-semibold mb-3 sm:mb-4 text-sm sm:text-base",children:"Quick Links"}),s.jsxs("ul",{className:"space-y-1.5 sm:space-y-2",children:[s.jsx("li",{children:s.jsx(q,{href:"/about",className:"text-gray-300 hover:text-secondary transition-colors duration-200 text-xs sm:text-sm",children:"About"})}),s.jsx("li",{children:s.jsx(q,{href:"/contact",className:"text-gray-300 hover:text-secondary transition-colors duration-200 text-xs sm:text-sm",children:"Contact"})}),s.jsx("li",{children:s.jsx("button",{type:"button",className:"text-gray-300 hover:text-secondary transition-colors duration-200 text-xs sm:text-sm bg-transparent p-0 border-0 outline-none cursor-pointer",onClick:()=>Zr(e),children:"Partner with Us"})})]})]}),s.jsxs("div",{className:"mt-4 sm:mt-6 lg:mt-0",children:[s.jsx("h3",{className:"text-secondary font-semibold mb-3 sm:mb-4 text-sm sm:text-base",children:"Services"}),s.jsxs("ul",{className:"space-y-1.5 sm:space-y-2",children:[s.jsx("li",{children:s.jsx(q,{href:"/services/agentic-ai",className:"text-gray-300 hover:text-secondary transition-colors duration-200 text-xs sm:text-sm",children:"Agentic AI Solutions"})}),s.jsx("li",{children:s.jsx(q,{href:"/services/ai-research-labs",className:"text-gray-300 hover:text-secondary transition-colors duration-200 text-xs sm:text-sm",children:"AI Research Labs"})}),s.jsx("li",{children:s.jsx(q,{href:"/services/physical-ai",className:"text-gray-300 hover:text-secondary transition-colors duration-200 text-xs sm:text-sm",children:"Physical AI & Edge"})})]})]}),s.jsxs("div",{className:"mt-4 sm:mt-6 lg:mt-0",children:[s.jsx("h3",{className:"text-secondary font-semibold mb-3 sm:mb-4 text-sm sm:text-base",children:"Trainings"}),s.jsxs("ul",{className:"space-y-1.5 sm:space-y-2",children:[s.jsx("li",{className:"text-[10px] uppercase tracking-wide text-white/60",children:"For Professionals & Students"}),s.jsx("li",{children:s.jsx(q,{href:"/training/agentic-ai-bootcamp",className:"text-gray-300 hover:text-secondary transition-colors duration-200 text-xs sm:text-sm",children:"Agentic AI Bootcamp"})}),s.jsx("li",{children:s.jsx(q,{href:"/training/no-code-agentic-ai",className:"text-gray-300 hover:text-secondary transition-colors duration-200 text-xs sm:text-sm",children:"No-Code Agentic AI"})}),s.jsx("li",{children:s.jsx(q,{href:"/training/workshops",className:"text-gray-300 hover:text-secondary transition-colors duration-200 text-xs sm:text-sm",children:"Workshops"})}),s.jsx("li",{className:"pt-2 text-[10px] uppercase tracking-wide text-white/60",children:"For Companies"}),s.jsx("li",{children:s.jsx(q,{href:"/training/corporate-training",className:"text-gray-300 hover:text-secondary transition-colors duration-200 text-xs sm:text-sm",children:"Corporate Training"})})]})]}),s.jsxs("div",{className:"mt-4 sm:mt-6 lg:mt-0",children:[s.jsx("h3",{className:"text-secondary font-semibold mb-3 sm:mb-4 text-sm sm:text-base",children:"Talents"}),s.jsxs("ul",{className:"space-y-1.5 sm:space-y-2",children:[s.jsx("li",{children:s.jsx(q,{href:"/talent/for-clients",className:"text-gray-300 hover:text-secondary transition-colors duration-200 text-xs sm:text-sm",children:"For Clients"})}),s.jsx("li",{children:s.jsx(q,{href:"/talent/for-talents",className:"text-gray-300 hover:text-secondary transition-colors duration-200 text-xs sm:text-sm",children:"For Talents"})})]})]}),s.jsxs("div",{className:"mt-4 sm:mt-6 lg:mt-0 sm:col-span-2 lg:col-span-1 xl:col-span-1",children:[s.jsx("h3",{className:"text-secondary font-semibold mb-3 sm:mb-4 text-sm sm:text-base",children:"Contact Information"}),s.jsxs("ul",{className:"space-y-2 sm:space-y-3",children:[s.jsxs("li",{className:"flex items-start",children:[s.jsx(Cm,{className:"text-secondary mt-0.5 sm:mt-1 mr-2 sm:mr-3 h-4 w-4 sm:h-5 sm:w-5 flex-shrink-0"}),s.jsx("span",{className:"text-gray-300 text-xs sm:text-sm",children:"4740 14th St Ste T3, Plano, TX 75074"})]}),s.jsxs("li",{className:"flex items-start",children:[s.jsx(mw,{className:"text-secondary mt-0.5 sm:mt-1 mr-2 sm:mr-3 h-4 w-4 sm:h-5 sm:w-5 flex-shrink-0"}),s.jsx("a",{href:"mailto:info@synapseai.us",className:"text-gray-300 hover:text-secondary transition-colors duration-200 text-xs sm:text-sm",children:"info@synapseai.us"})]}),s.jsxs("li",{className:"flex items-start",children:[s.jsx(fw,{className:"text-secondary mt-0.5 sm:mt-1 mr-2 sm:mr-3 h-4 w-4 sm:h-5 sm:w-5 flex-shrink-0"}),s.jsx("a",{href:"tel:4694027979",className:"text-gray-300 hover:text-secondary transition-colors duration-200 text-xs sm:text-sm",children:"469-402-7979"})]})]})]})]}),s.jsx("div",{className:"border-t border-secondary/20 mt-8 sm:mt-12 pt-6 sm:pt-8 flex justify-center items-center",children:s.jsxs("div",{className:"flex flex-col sm:flex-row items-center gap-3 sm:gap-4",children:[s.jsxs("p",{className:"text-gray-400 text-xs",children:["© ",new Date().getFullYear()," Synapse AI Solutions. All rights reserved."]}),s.jsxs("div",{className:"flex gap-3 sm:gap-4 text-xs",children:[s.jsx(q,{href:"/privacy-policy",className:"text-gray-400 hover:text-secondary transition-colors",children:"Privacy Policy"}),s.jsx(q,{href:"/terms-of-service",className:"text-gray-400 hover:text-secondary transition-colors",children:"Terms of Service"}),s.jsx(q,{href:"/cookie-policy",className:"text-gray-400 hover:text-secondary transition-colors",children:"Cookie Policy"})]})]})})]})})}function vD({size:e="medium",className:t=""}){const n={small:"w-8 h-8",medium:"w-10 h-10",large:"w-12 h-12"},r={small:"w-4 h-4",medium:"w-5 h-5",large:"w-6 h-6"};return s.jsx("div",{className:`relative ${n[e]} ${t}`,children:s.jsx("div",{className:"absolute inset-0 rounded-full bg-gradient-to-br from-[#080845] to-[#001A3A] overflow-hidden flex items-center justify-center border-2 border-[#00D7FE]/30 shadow-lg",children:s.jsx("div",{className:"relative z-10 flex items-center justify-center",children:s.jsx(Mt,{className:`${r[e]} text-[#00D7FE] drop-shadow-sm`})})})})}const wD=({text:e,sender:t})=>{if(t==="user")return s.jsx("div",{className:"whitespace-pre-wrap break-words",children:e});const r=(i=>{let o=i;o=o.replace(/<[^>]*>/g,"");const a=[];let l=0,c=0;const d=/(https?:\/\/[^\s<>"{}|\\^`[\]]+)|(\b[a-zA-Z0-9-]+\.(?:com|us|org|net|edu|gov|io|co|ai|tech|app|dev|xyz|info|biz|me|tv|cc|ly|to|it|de|fr|uk|ca|au|jp|cn|in|br|mx|es|ru|nl|se|no|dk|fi|pl|cz|hu|ro|bg|hr|si|sk|lt|lv|ee|gr|pt|ie|is|mt|lu|cy|be|at|ch|li)(?:\/[^\s<>"{}|\\^`[\]]*)?)|(\/(services|blogs|contact|privacy-policy|terms-of-service|cookie-policy)[^\s<>"{}|\\^`[\]]*)/gi;let u;for(;(u=d.exec(o))!==null;){const h=o.substring(0,u.index),m=h.lastIndexOf("@"),g=h.lastIndexOf(" "),w=h.lastIndexOf(` `);if(m>Math.max(g,w))continue;if(u.index>l){const j=o.slice(l,u.index);j&&a.push(j)}const x=u[0];let b=x.replace(/[.,;:!?]+$/,"");const y=x.slice(b.length);let f=b;u[1]?f=b:u[2]?f=`https://${b}`:u[3]&&(f=b);const v=s.jsx("a",{href:f,target:u[3]?void 0:"_blank",rel:u[3]?void 0:"noopener noreferrer",className:"text-[#00D7FE] hover:text-[#26d0e4] underline underline-offset-2 transition-colors duration-200",onClick:j=>{u&&u[3]&&window.location.origin&&(j.preventDefault(),window.location.href=f)},children:b},`link-${c++}`);a.push(v),y&&a.push(y),l=u.index+x.length}if(ls.jsx("span",{children:i},o))})};function bD(){const[e,t]=p.useState(!1),[n,r]=p.useState(!1),[i,o]=p.useState(!1),[a,l]=p.useState([{text:"Hello! 👋 Welcome to Synapse AI Solutions. How can I help you today? Feel free to ask questions about our services, products, or company information.",sender:"bot",timestamp:new Date}]),[c,d]=p.useState(""),[u,h]=p.useState(!1),[m,g]=p.useState(""),w=p.useRef(null);p.useEffect(()=>{const f=()=>{const v=window.innerWidth<768;o(v),v&&n&&r(!1)};return f(),window.addEventListener("resize",f),()=>window.removeEventListener("resize",f)},[n]),p.useEffect(()=>{const v=(()=>{const j=new Date().getTime(),N=Math.floor(Math.random()*1e3);return`session_${j}_${N}`})();g(v)},[]),p.useEffect(()=>{x()},[a]);const x=()=>{var f;(f=w.current)==null||f.scrollIntoView({behavior:"smooth"})},b=()=>{t(!e)},y=async f=>{if(f.preventDefault(),!c.trim()||u)return;const v=c.trim(),j={text:v,sender:"user",timestamp:new Date};l(N=>[...N,j]),d(""),h(!0),setTimeout(async()=>{try{console.log("Environment variable loaded:",!0);const N=await fetch("https://automations.synapseai.us/webhook/ef3273d4-3ed7-4bc2-83a4-674002e1c863",{method:"POST",headers:{"Content-Type":"application/json",VITE_SYNAPSE_AI_KEY:"e2fUFR44)0#y"},body:JSON.stringify({message:v,sessionId:m})});let S,k;const A=N.headers.get("content-type");if(A&&A.includes("application/json"))S=await N.json();else{const C=await N.text();console.log("Non-JSON response received:",C),S={error:!0,message:"Server returned non-JSON response"}}if(S.code===404||S.error)k="I'm having trouble connecting right now. Please try again in a moment.",console.log("Webhook response:",S);else try{if(S.output)k=S.output;else if(typeof S.reply=="string"&&S.reply.startsWith("{")){const C=JSON.parse(S.reply);C.output?k=C.output:k=S.reply}else k=S.reply||JSON.stringify(S);console.log("Webhook success response:",S),console.log("Response text after processing:",k)}catch(C){k=S.reply||"Received a response but couldn't process it correctly.",console.error("Error parsing webhook response:",C)}const R={text:k,sender:"bot",timestamp:new Date};l(C=>[...C,R])}catch(N){const S={text:"I'm having trouble connecting to our servers right now. Please try again later or contact us directly at /contact.",sender:"bot",timestamp:new Date};l(k=>[...k,S]),console.error("Error:",N)}finally{h(!1),setTimeout(x,100)}},1e3)};return s.jsxs(s.Fragment,{children:[s.jsxs(ae,{onClick:b,className:"fixed bottom-6 right-4 md:right-6 h-12 w-12 rounded-full bg-[#080845] text-white shadow-lg flex items-center justify-center z-50 hover:bg-[#0a1a4a] transition-all duration-200 border-2 border-[#00D7FE]/30","aria-label":"Open chat support",children:[s.jsx(pw,{className:"h-5 w-5 text-[#00D7FE]"}),s.jsx("span",{className:"absolute top-0 right-0 h-2.5 w-2.5 bg-[#00D7FE] rounded-full animate-pulse"})]}),e&&s.jsxs(Wt,{className:`fixed bottom-24 ${n&&!i?"right-2 left-2 md:right-6 md:left-auto md:w-[450px] h-[600px]":"right-2 left-2 md:right-6 md:left-auto md:w-[350px] h-[500px]"} z-50 shadow-xl transition-all duration-200 overflow-hidden rounded-lg border-2 border-[#00D7FE]/30 bg-[#080845]`,children:[s.jsx(en,{className:"p-4 bg-gradient-to-r from-[#080845] to-[#0a1a4a] text-white relative border-b border-[#00D7FE]/30",children:s.jsxs("div",{className:"flex items-center justify-between",children:[s.jsxs("div",{className:"flex items-center flex-1 min-w-0",children:[s.jsx("div",{className:"relative mr-3 flex-shrink-0",children:s.jsx(vD,{size:"small"})}),s.jsxs("div",{className:"flex-1 min-w-0",children:[s.jsx("h3",{className:"font-semibold text-white text-sm sm:text-base truncate",children:"Synapse AI Assistant"}),s.jsx("div",{className:"flex items-center mt-1",children:s.jsxs("div",{className:"flex items-center text-xs text-[#00D7FE]/80",children:[s.jsx("div",{className:"w-2 h-2 bg-[#00D7FE] rounded-full mr-2 animate-pulse flex-shrink-0"}),s.jsx("span",{className:"truncate",children:"Online"})]})})]})]}),s.jsx(ae,{variant:"ghost",size:"sm",onClick:b,className:"text-white hover:text-[#00D7FE] hover:bg-white/10 p-1 h-8 w-8 flex-shrink-0",children:s.jsx(as,{className:"h-4 w-4"})})]})}),s.jsxs("div",{className:"relative h-[calc(100%-120px)] overflow-y-auto p-4 pb-16 bg-gradient-to-b from-[#080845] to-[#0a1a4a]",style:{scrollBehavior:"smooth"},children:[a.map((f,v)=>s.jsxs("div",{className:`mb-3 flex flex-col ${f.sender==="bot"?"items-start":"items-end"}`,children:[s.jsx("div",{className:"flex items-center mb-1 px-1",children:s.jsx("span",{className:"text-xs",children:f.sender==="bot"?s.jsx("span",{className:"text-[#00D7FE]/80",children:"Synapse AI"}):s.jsx("span",{className:"text-gray-300",children:"You"})})}),s.jsx("div",{className:`relative max-w-[85%] p-3 rounded-lg ${f.sender==="bot"?"bg-white/10 text-white border border-[#00D7FE]/30 backdrop-blur-sm":"bg-[#00D7FE]/20 text-white border border-[#00D7FE]/40 backdrop-blur-sm"}`,children:s.jsx(wD,{text:f.text,sender:f.sender})}),s.jsx("span",{className:"text-[10px] text-gray-400 mt-1 px-1",children:f.timestamp.toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"})})]},v)),u&&s.jsxs("div",{className:"mb-3 flex flex-col items-start",children:[s.jsx("div",{className:"flex items-center mb-1 px-1",children:s.jsx("span",{className:"text-xs text-[#00D7FE]/80",children:"Synapse AI"})}),s.jsx("div",{className:"relative max-w-[85%] p-3 rounded-lg bg-white/10 text-white border border-[#00D7FE]/30 backdrop-blur-sm",children:s.jsxs("div",{className:"flex space-x-2",children:[s.jsx("div",{className:"h-2 w-2 bg-[#00D7FE] rounded-full animate-pulse",style:{animationDelay:"0ms"}}),s.jsx("div",{className:"h-2 w-2 bg-[#00D7FE] rounded-full animate-pulse",style:{animationDelay:"150ms"}}),s.jsx("div",{className:"h-2 w-2 bg-[#00D7FE] rounded-full animate-pulse",style:{animationDelay:"300ms"}})]})}),s.jsx("span",{className:"text-[10px] text-gray-400 mt-1 px-1",children:new Date().toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"})})]}),s.jsx("div",{ref:w})]}),s.jsx("div",{className:"absolute bottom-0 left-0 right-0 p-3 bg-gradient-to-r from-[#080845] to-[#0a1a4a] border-t border-[#00D7FE]/30",children:s.jsxs("form",{onSubmit:y,className:"flex gap-2",children:[s.jsx(Eo,{type:"text",placeholder:"Type your message...",value:c,onChange:f=>d(f.target.value),className:"flex-1 bg-white/10 border-[#00D7FE]/30 text-white placeholder:text-gray-300 focus-visible:ring-[#00D7FE] focus-visible:border-[#00D7FE] backdrop-blur-sm"}),s.jsx(ae,{type:"submit",size:"icon",className:"bg-[#00D7FE] text-[#080845] hover:bg-[#00b6d6] transition-colors shadow-lg",disabled:u,children:s.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[s.jsx("path",{d:"m22 2-7 20-4-9-9-4 20-7Z"}),s.jsx("path",{d:"M22 2 11 13"})]})})]})})]})]})}class jD extends p.Component{constructor(n){super(n);kc(this,"handleReload",()=>{this.setState({hasError:!1,error:null,errorInfo:null}),window.location.reload()});kc(this,"handleGoHome",()=>{this.setState({hasError:!1,error:null,errorInfo:null}),window.location.href="/"});this.state={hasError:!1,error:null,errorInfo:null}}static getDerivedStateFromError(n){return{hasError:!0,error:n,errorInfo:null}}componentDidCatch(n,r){console.error("ErrorBoundary caught an error:",n,r),this.setState({error:n,errorInfo:r})}render(){return this.state.hasError?s.jsx("div",{className:"min-h-screen flex items-center justify-center bg-gray-50 px-4",children:s.jsxs("div",{className:"max-w-md w-full bg-white rounded-lg shadow-lg p-8 text-center",children:[s.jsx("div",{className:"mb-6",children:s.jsx("svg",{className:"mx-auto h-16 w-16 text-red-500",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:s.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"})})}),s.jsx("h1",{className:"text-2xl font-bold text-gray-900 mb-2",children:"Oops! Something went wrong"}),s.jsx("p",{className:"text-gray-600 mb-6",children:"We're sorry for the inconvenience. An unexpected error has occurred. Please try refreshing the page or returning to the homepage."}),!1,s.jsxs("div",{className:"flex gap-3 justify-center",children:[s.jsx(ae,{onClick:this.handleReload,className:"px-6",children:"Reload Page"}),s.jsx(ae,{onClick:this.handleGoHome,variant:"outline",className:"px-6",children:"Go to Homepage"})]})]})}):this.props.children}}const ND=[{id:"masterclass-nocode-apr-25-2026",type:"masterclass",badge:"FREE",badgeStyle:"bg-green-500",title:"Free Live Masterclass",subtitle:"No Code Agentic AI",description:"See how to build AI agents and automate workflows — no coding required. Join us live!",time:"April 25, 2026 · 12:00–1:30 PM CDT",cta:"Register Free",link:"/training/no-code-agentic-ai#webinar-registration",expiresAt:new Date("2026-04-25T13:30:00-05:00")},{id:"cohort-nocode-june-2-2026",type:"cohort",badge:"ENROLLING",badgeStyle:"bg-blue-600",title:"New Cohort — Seats Filling Fast",subtitle:"No Code Agentic AI · 8 Weeks",description:"Tuesdays & Thursdays · 6:30–9:30 PM CDT. Hands-on projects, live instruction.",time:"Starts June 2, 2026",cta:"Enroll Now",link:"/training/no-code-agentic-ai#enrollment",expiresAt:new Date("2026-06-03T21:30:00-05:00")}],SD={masterclass:s.jsx(ot,{className:"h-4 w-4"}),cohort:s.jsx(hw,{className:"h-4 w-4"}),workshop:s.jsx($o,{className:"h-4 w-4"})};function kD(){const[e,t]=p.useState([]),[n,r]=p.useState(!1);p.useEffect(()=>{const o=new Date,a=ND.filter(c=>!(c.expiresAt<=o||c.showFrom&&c.showFrom>o));if(a.length===0)return;t(a);const l=setTimeout(()=>r(!0),1200);return()=>clearTimeout(l)},[]);const i=o=>{t(a=>a.filter(l=>l.id!==o))};return e.length===0?null:s.jsx("div",{className:"fixed bottom-5 right-5 z-50 flex flex-col gap-3",style:{maxWidth:"340px",width:"calc(100vw - 2.5rem)"},children:e.map((o,a)=>s.jsx("div",{className:"transition-all duration-500 ease-out",style:{transform:n?"translateY(0)":"translateY(24px)",opacity:n?1:0,transitionDelay:`${a*180}ms`},children:s.jsxs("div",{className:"bg-white rounded-xl shadow-2xl border border-gray-100 overflow-hidden",children:[s.jsx("div",{className:"h-[3px] bg-gradient-to-r from-primary via-secondary to-primary"}),s.jsxs("div",{className:"p-4",children:[s.jsxs("div",{className:"flex items-center justify-between mb-2",children:[s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsxs("span",{className:`inline-flex items-center gap-1 text-[10px] font-bold text-white px-2 py-0.5 rounded-full ${o.badgeStyle}`,children:[SD[o.type],o.badge]}),s.jsx("span",{className:"text-[11px] text-gray-400",children:o.time})]}),s.jsx("button",{onClick:()=>i(o.id),"aria-label":"Dismiss",className:"text-gray-300 hover:text-gray-500 transition-colors ml-1 flex-shrink-0",children:s.jsx(as,{className:"h-4 w-4"})})]}),s.jsx("p",{className:"text-[13px] font-bold text-gray-900 leading-snug",children:o.title}),s.jsx("p",{className:"text-[11px] font-semibold text-primary mt-0.5",children:o.subtitle}),s.jsx("p",{className:"text-[11px] text-gray-500 mt-1 leading-relaxed",children:o.description}),s.jsxs("a",{href:o.link,onClick:()=>i(o.id),className:"mt-3 flex items-center justify-center gap-1.5 w-full bg-primary hover:bg-primary/90 text-white text-xs font-semibold py-2 px-4 rounded-lg transition-colors",children:[o.cta,s.jsx("span",{"aria-hidden":!0,children:"→"})]})]})]})},o.id))})}function CD(){const[e]=os();return p.useEffect(()=>{window.scrollTo(0,0)},[e]),null}function AD(){return CD(),s.jsxs(s.Fragment,{children:[s.jsx(gD,{}),s.jsxs(Mk,{children:[s.jsx(oe,{path:"/",component:t6}),s.jsx(oe,{path:"/about",component:i6}),s.jsx(oe,{path:"/contact",component:c6}),s.jsx(oe,{path:"/training/corporate-training",component:kM}),s.jsx(oe,{path:"/training/agentic-ai-bootcamp",component:sD}),s.jsx(oe,{path:"/training/workshops",component:dD}),s.jsx(oe,{path:"/training/ai-ml-genai-course",children:s.jsx(xn,{to:"/training/agentic-ai-bootcamp"})}),s.jsx(oe,{path:"/training/students-and-professionals",children:s.jsx(xn,{to:"/training/agentic-ai-bootcamp"})}),s.jsx(oe,{path:"/talent/for-clients",component:EM}),s.jsx(oe,{path:"/talent/for-talents",component:RM}),s.jsx(oe,{path:"/services/agentic-ai",component:LM}),s.jsx(oe,{path:"/services/physical-ai",component:VM}),s.jsx(oe,{path:"/services/ai-research-labs",component:$M}),s.jsx(oe,{path:"/services/ai-automations",children:s.jsx(xn,{to:"/services/agentic-ai"})}),s.jsx(oe,{path:"/services/conversational-ai",children:s.jsx(xn,{to:"/services/agentic-ai"})}),s.jsx(oe,{path:"/services/data-cloud-solutions",children:s.jsx(xn,{to:"/services/agentic-ai"})}),s.jsx(oe,{path:"/services/ml-ai-genai-solutions",children:s.jsx(xn,{to:"/services/agentic-ai"})}),s.jsx(oe,{path:"/training/no-code-agentic-ai",component:QM}),s.jsx(oe,{path:"/training/no-code-agentic-ai/agreement",component:ZM}),s.jsx(oe,{path:"/blogs",children:s.jsx(xn,{to:"/"})}),s.jsx(oe,{path:"/blog",children:s.jsx(xn,{to:"/"})}),s.jsx(oe,{path:"/blogs/:slug",children:s.jsx(xn,{to:"/"})}),s.jsx(oe,{path:"/privacy-policy",component:d6}),s.jsx(oe,{path:"/terms-of-service",component:u6}),s.jsx(oe,{path:"/cookie-policy",component:h6}),s.jsx(oe,{path:"/admin/dashboard",children:s.jsx(bM,{children:s.jsx(wM,{})})}),s.jsx(oe,{component:uE})]}),s.jsx(yD,{}),s.jsx(bD,{}),s.jsx(kD,{})]})}function TD(){return s.jsx(jD,{children:s.jsx(a4,{client:c4,children:s.jsxs(iE,{children:[s.jsx(bA,{}),s.jsx(AD,{})]})})})}gv(document.getElementById("root")).render(s.jsx(TD,{}));export{PD as $,Yw as A,ID as B,Qw as C,Vo as D,sE as E,wp as F,RD as G,MD as H,uM as I,DD as J,a1 as K,LD as L,PR as M,A2 as N,wc as O,X as P,RR as Q,Wn as R,M2 as S,jc as T,MR as U,T2 as V,DR as W,P2 as X,LR as Y,IR as Z,yM as _,is as a,QR as a0,Kw as b,ac as c,jr as d,An as e,de as f,sy as g,U as h,Nr as i,s as j,zo as k,Xw as l,Hb as m,bp as n,ti as o,Wb as p,lj as q,p as r,vp as s,dM as t,Xr as u,an as v,ej as w,tj as x,bc as y,nj as z};