var Fj=Object.defineProperty;var Pp=e=>{throw TypeError(e)};var _j=(e,t,n)=>t in e?Fj(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Ac=(e,t,n)=>_j(e,typeof t!="symbol"?t+"":t,n),Ec=(e,t,n)=>t.has(e)||Pp("Cannot "+n);var P=(e,t,n)=>(Ec(e,t,"read from private field"),n?n.call(e):t.get(e)),ee=(e,t,n)=>t.has(e)?Pp("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),Y=(e,t,n,r)=>(Ec(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),$e=(e,t,n)=>(Ec(e,t,"access private method"),n);var na=(e,t,n,r)=>({set _(i){Y(e,t,i,n)},get _(){return P(e,t,r)}});function Vj(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 UD=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function dy(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function HD(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 uy={exports:{}},Ol={},hy={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 Do=Symbol.for("react.element"),zj=Symbol.for("react.portal"),Bj=Symbol.for("react.fragment"),Wj=Symbol.for("react.strict_mode"),$j=Symbol.for("react.profiler"),Uj=Symbol.for("react.provider"),Hj=Symbol.for("react.context"),Gj=Symbol.for("react.forward_ref"),qj=Symbol.for("react.suspense"),Yj=Symbol.for("react.memo"),Kj=Symbol.for("react.lazy"),Mp=Symbol.iterator;function Qj(e){return e===null||typeof e!="object"?null:(e=Mp&&e[Mp]||e["@@iterator"],typeof e=="function"?e:null)}var my={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},py=Object.assign,fy={};function li(e,t,n){this.props=e,this.context=t,this.refs=fy,this.updater=n||my}li.prototype.isReactComponent={};li.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")};li.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function xy(){}xy.prototype=li.prototype;function yh(e,t,n){this.props=e,this.context=t,this.refs=fy,this.updater=n||my}var vh=yh.prototype=new xy;vh.constructor=yh;py(vh,li.prototype);vh.isPureReactComponent=!0;var Rp=Array.isArray,gy=Object.prototype.hasOwnProperty,wh={current:null},yy={key:!0,ref:!0,__self:!0,__source:!0};function vy(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)gy.call(t,r)&&!yy.hasOwnProperty(r)&&(i[r]=t[r]);var l=arguments.length-2;if(l===1)i.children=n;else if(1>>1,re=I[K];if(0>>1;Ki(Xt,B))Zei(G,Xt)?(I[K]=G,I[Ze]=B,K=Ze):(I[K]=Xt,I[Te]=B,K=Te);else if(Zei(G,B))I[K]=G,I[Ze]=B,K=Ze;else break e}}return L}function i(I,L){var B=I.sortIndex-L.sortIndex;return B!==0?B:I.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,f=!1,b=typeof setTimeout=="function"?setTimeout:null,v=typeof clearTimeout=="function"?clearTimeout:null,x=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function y(I){for(var L=n(d);L!==null;){if(L.callback===null)r(d);else if(L.startTime<=I)r(d),L.sortIndex=L.expirationTime,t(c,L);else break;L=n(d)}}function j(I){if(f=!1,y(I),!w)if(n(c)!==null)w=!0,_(N);else{var L=n(d);L!==null&&V(j,L.startTime-I)}}function N(I,L){w=!1,f&&(f=!1,v(C),C=-1),g=!0;var B=m;try{for(y(L),h=n(c);h!==null&&(!(h.expirationTime>L)||I&&!R());){var K=h.callback;if(typeof K=="function"){h.callback=null,m=h.priorityLevel;var re=K(h.expirationTime<=L);L=e.unstable_now(),typeof re=="function"?h.callback=re:h===n(c)&&r(c),y(L)}else r(c);h=n(c)}if(h!==null)var Xe=!0;else{var Te=n(d);Te!==null&&V(j,Te.startTime-L),Xe=!1}return Xe}finally{h=null,m=B,g=!1}}var k=!1,S=null,C=-1,M=5,A=-1;function R(){return!(e.unstable_now()-AI||125K?(I.sortIndex=B,t(d,I),n(c)===null&&I===n(d)&&(f?(v(C),C=-1):f=!0,V(j,B-K))):(I.sortIndex=re,t(c,I),w||g||(w=!0,_(N))),I},e.unstable_shouldYield=R,e.unstable_wrapCallback=function(I){var L=m;return function(){var B=m;m=L;try{return I.apply(this,arguments)}finally{m=B}}}})(Sy);Ny.exports=Sy;var aN=Ny.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 lN=p,vt=aN;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"),Rd=Object.prototype.hasOwnProperty,cN=/^[: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]*$/,Lp={},Op={};function dN(e){return Rd.call(Op,e)?!0:Rd.call(Lp,e)?!1:cN.test(e)?Op[e]=!0:(Lp[e]=!0,!1)}function uN(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 hN(e,t,n,r){if(t===null||typeof t>"u"||uN(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function it(e,t,n,r,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 ze={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ze[e]=new it(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ze[t]=new it(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ze[e]=new it(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ze[e]=new it(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){ze[e]=new it(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ze[e]=new it(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ze[e]=new it(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ze[e]=new it(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ze[e]=new it(e,5,!1,e.toLowerCase(),null,!1,!1)});var Nh=/[\-:]([a-z])/g;function Sh(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(Nh,Sh);ze[t]=new it(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Nh,Sh);ze[t]=new it(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Nh,Sh);ze[t]=new it(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ze[e]=new it(e,1,!1,e.toLowerCase(),null,!1,!1)});ze.xlinkHref=new it("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ze[e]=new it(e,1,!1,e.toLowerCase(),null,!0,!0)});function kh(e,t,n,r){var i=ze.hasOwnProperty(t)?ze[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{Pc=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Di(e):""}function mN(e){switch(e.tag){case 5:return Di(e.type);case 16:return Di("Lazy");case 13:return Di("Suspense");case 19:return Di("SuspenseList");case 0:case 2:case 15:return e=Mc(e.type,!1),e;case 11:return e=Mc(e.type.render,!1),e;case 1:return e=Mc(e.type,!0),e;default:return""}}function Fd(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case fs:return"Fragment";case ps:return"Portal";case Dd:return"Profiler";case Ch:return"StrictMode";case Ld:return"Suspense";case Od:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Ay:return(e.displayName||"Context")+".Consumer";case Cy:return(e._context.displayName||"Context")+".Provider";case Ah:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Eh:return t=e.displayName||null,t!==null?t:Fd(e.type)||"Memo";case Kn:t=e._payload,e=e._init;try{return Fd(e(t))}catch{}}return null}function pN(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Fd(t);case 8:return t===Ch?"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 fr(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Ty(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function fN(e){var t=Ty(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 ia(e){e._valueTracker||(e._valueTracker=fN(e))}function Iy(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Ty(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Xa(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 _d(e,t){var n=t.checked;return be({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function _p(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=fr(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 Py(e,t){t=t.checked,t!=null&&kh(e,"checked",t,!1)}function Vd(e,t){Py(e,t);var n=fr(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")?zd(e,t.type,n):t.hasOwnProperty("defaultValue")&&zd(e,t.type,fr(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Vp(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function zd(e,t,n){(t!=="number"||Xa(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Li=Array.isArray;function Ps(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=oa.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function ro(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Wi={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},xN=["Webkit","ms","Moz","O"];Object.keys(Wi).forEach(function(e){xN.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Wi[t]=Wi[e]})});function Ly(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Wi.hasOwnProperty(e)&&Wi[e]?(""+t).trim():t+"px"}function Oy(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=Ly(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var gN=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 $d(e,t){if(t){if(gN[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 Ud(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 Hd=null;function Th(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Gd=null,Ms=null,Rs=null;function Wp(e){if(e=Fo(e)){if(typeof Gd!="function")throw Error(D(280));var t=e.stateNode;t&&(t=Bl(t),Gd(e.stateNode,e.type,t))}}function Fy(e){Ms?Rs?Rs.push(e):Rs=[e]:Ms=e}function _y(){if(Ms){var e=Ms,t=Rs;if(Rs=Ms=null,Wp(e),t)for(e=0;e>>=0,e===0?32:31-(EN(e)/TN|0)|0}var aa=64,la=4194304;function Oi(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 tl(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=Oi(l):(o&=a,o!==0&&(r=Oi(o)))}else a=n&~i,a!==0?r=Oi(a):o!==0&&(r=Oi(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 Lo(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Ht(t),e[t]=n}function RN(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=Ui),Xp=" ",Zp=!1;function s0(e,t){switch(e){case"keyup":return aS.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function i0(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var xs=!1;function cS(e,t){switch(e){case"compositionend":return i0(t);case"keypress":return t.which!==32?null:(Zp=!0,Xp);case"textInput":return e=t.data,e===Xp&&Zp?null:e;default:return null}}function dS(e,t){if(xs)return e==="compositionend"||!Fh&&s0(e,t)?(e=n0(),Da=Dh=ir=null,xs=!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=nf(n)}}function c0(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?c0(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function d0(){for(var e=window,t=Xa();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Xa(e.document)}return t}function _h(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 vS(e){var t=d0(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&c0(n.ownerDocument.documentElement,n)){if(r!==null&&_h(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=rf(n,o);var a=rf(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,gs=null,Zd=null,Gi=null,Jd=!1;function sf(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Jd||gs==null||gs!==Xa(r)||(r=gs,"selectionStart"in r&&_h(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}),Gi&&co(Gi,r)||(Gi=r,r=sl(Zd,"onSelect"),0ws||(e.current=iu[ws],iu[ws]=null,ws--)}function ce(e,t){ws++,iu[ws]=e.current,e.current=t}var xr={},Ke=jr(xr),ct=jr(!1),Yr=xr;function Ks(e,t){var n=e.type.contextTypes;if(!n)return xr;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 dt(e){return e=e.childContextTypes,e!=null}function ol(){pe(ct),pe(Ke)}function hf(e,t,n){if(Ke.current!==xr)throw Error(D(168));ce(Ke,t),ce(ct,n)}function v0(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,pN(e)||"Unknown",i));return be({},n,r)}function al(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||xr,Yr=Ke.current,ce(Ke,e),ce(ct,ct.current),!0}function mf(e,t,n){var r=e.stateNode;if(!r)throw Error(D(169));n?(e=v0(e,t,Yr),r.__reactInternalMemoizedMergedChildContext=e,pe(ct),pe(Ke),ce(Ke,e)):pe(ct),ce(ct,n)}var Nn=null,Wl=!1,Gc=!1;function w0(e){Nn===null?Nn=[e]:Nn.push(e)}function PS(e){Wl=!0,w0(e)}function Nr(){if(!Gc&&Nn!==null){Gc=!0;var e=0,t=ne;try{var n=Nn;for(ne=1;e>=a,i-=a,kn=1<<32-Ht(t)+i|n<C?(M=S,S=null):M=S.sibling;var A=m(v,S,y[C],j);if(A===null){S===null&&(S=M);break}e&&S&&A.alternate===null&&t(v,S),x=o(A,x,C),k===null?N=A:k.sibling=A,k=A,S=M}if(C===y.length)return n(v,S),ge&&Ir(v,C),N;if(S===null){for(;CC?(M=S,S=null):M=S.sibling;var R=m(v,S,A.value,j);if(R===null){S===null&&(S=M);break}e&&S&&R.alternate===null&&t(v,S),x=o(R,x,C),k===null?N=R:k.sibling=R,k=R,S=M}if(A.done)return n(v,S),ge&&Ir(v,C),N;if(S===null){for(;!A.done;C++,A=y.next())A=h(v,A.value,j),A!==null&&(x=o(A,x,C),k===null?N=A:k.sibling=A,k=A);return ge&&Ir(v,C),N}for(S=r(v,S);!A.done;C++,A=y.next())A=g(S,v,C,A.value,j),A!==null&&(e&&A.alternate!==null&&S.delete(A.key===null?C:A.key),x=o(A,x,C),k===null?N=A:k.sibling=A,k=A);return e&&S.forEach(function(O){return t(v,O)}),ge&&Ir(v,C),N}function b(v,x,y,j){if(typeof y=="object"&&y!==null&&y.type===fs&&y.key===null&&(y=y.props.children),typeof y=="object"&&y!==null){switch(y.$$typeof){case sa:e:{for(var N=y.key,k=x;k!==null;){if(k.key===N){if(N=y.type,N===fs){if(k.tag===7){n(v,k.sibling),x=i(k,y.props.children),x.return=v,v=x;break e}}else if(k.elementType===N||typeof N=="object"&&N!==null&&N.$$typeof===Kn&&xf(N)===k.type){n(v,k.sibling),x=i(k,y.props),x.ref=Ei(v,k,y),x.return=v,v=x;break e}n(v,k);break}else t(v,k);k=k.sibling}y.type===fs?(x=Gr(y.props.children,v.mode,j,y.key),x.return=v,v=x):(j=Wa(y.type,y.key,y.props,null,v.mode,j),j.ref=Ei(v,x,y),j.return=v,v=j)}return a(v);case ps:e:{for(k=y.key;x!==null;){if(x.key===k)if(x.tag===4&&x.stateNode.containerInfo===y.containerInfo&&x.stateNode.implementation===y.implementation){n(v,x.sibling),x=i(x,y.children||[]),x.return=v,v=x;break e}else{n(v,x);break}else t(v,x);x=x.sibling}x=ed(y,v.mode,j),x.return=v,v=x}return a(v);case Kn:return k=y._init,b(v,x,k(y._payload),j)}if(Li(y))return w(v,x,y,j);if(Ni(y))return f(v,x,y,j);fa(v,y)}return typeof y=="string"&&y!==""||typeof y=="number"?(y=""+y,x!==null&&x.tag===6?(n(v,x.sibling),x=i(x,y),x.return=v,v=x):(n(v,x),x=Jc(y,v.mode,j),x.return=v,v=x),a(v)):n(v,x)}return b}var Xs=S0(!0),k0=S0(!1),dl=jr(null),ul=null,Ns=null,Wh=null;function $h(){Wh=Ns=ul=null}function Uh(e){var t=dl.current;pe(dl),e._currentValue=t}function lu(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 Ls(e,t){ul=e,Wh=Ns=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(lt=!0),e.firstContext=null)}function Pt(e){var t=e._currentValue;if(Wh!==e)if(e={context:e,memoizedValue:t,next:null},Ns===null){if(ul===null)throw Error(D(308));Ns=e,ul.dependencies={lanes:0,firstContext:e}}else Ns=Ns.next=e;return t}var Or=null;function Hh(e){Or===null?Or=[e]:Or.push(e)}function C0(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,Hh(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 Qn=!1;function Gh(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function A0(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 An(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function ur(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,Hh(r)):(t.next=i.next,i.next=t),r.interleaved=t,Rn(e,n)}function Oa(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,Ph(e,n)}}function gf(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 hl(e,t,n,r){var i=e.updateQueue;Qn=!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,f=l;switch(m=t,g=n,f.tag){case 1:if(w=f.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=f.payload,m=typeof w=="function"?w.call(g,h,m):w,m==null)break e;h=be({},h,m);break e;case 2:Qn=!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);Xr|=a,e.lanes=a,e.memoizedState=h}}function yf(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=Yc.transition;Yc.transition={};try{e(!1),t()}finally{ne=n,Yc.transition=r}}function U0(){return Mt().memoizedState}function LS(e,t,n){var r=mr(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},H0(e))G0(t,n);else if(n=C0(e,t,n,r),n!==null){var i=rt();Gt(n,e,r,i),q0(n,t,r)}}function OS(e,t,n){var r=mr(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(H0(e))G0(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,qt(l,a)){var c=t.interleaved;c===null?(i.next=i,Hh(t)):(i.next=c.next,c.next=i),t.interleaved=i;return}}catch{}finally{}n=C0(e,t,i,r),n!==null&&(i=rt(),Gt(n,e,r,i),q0(n,t,r))}}function H0(e){var t=e.alternate;return e===we||t!==null&&t===we}function G0(e,t){qi=pl=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function q0(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ph(e,n)}}var fl={readContext:Pt,useCallback:Ue,useContext:Ue,useEffect:Ue,useImperativeHandle:Ue,useInsertionEffect:Ue,useLayoutEffect:Ue,useMemo:Ue,useReducer:Ue,useRef:Ue,useState:Ue,useDebugValue:Ue,useDeferredValue:Ue,useTransition:Ue,useMutableSource:Ue,useSyncExternalStore:Ue,useId:Ue,unstable_isNewReconciler:!1},FS={readContext:Pt,useCallback:function(e,t){return en().memoizedState=[e,t===void 0?null:t],e},useContext:Pt,useEffect:wf,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,_a(4194308,4,V0.bind(null,t,e),n)},useLayoutEffect:function(e,t){return _a(4194308,4,e,t)},useInsertionEffect:function(e,t){return _a(4,2,e,t)},useMemo:function(e,t){var n=en();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=en();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=LS.bind(null,we,e),[r.memoizedState,e]},useRef:function(e){var t=en();return e={current:e},t.memoizedState=e},useState:vf,useDebugValue:em,useDeferredValue:function(e){return en().memoizedState=e},useTransition:function(){var e=vf(!1),t=e[0];return e=DS.bind(null,e[1]),en().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=we,i=en();if(ge){if(n===void 0)throw Error(D(407));n=n()}else{if(n=t(),Le===null)throw Error(D(349));Qr&30||P0(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,wf(R0.bind(null,r,o,e),[e]),r.flags|=2048,yo(9,M0.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=en(),t=Le.identifierPrefix;if(ge){var n=Cn,r=kn;n=(r&~(1<<32-Ht(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=xo++,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[an]=t,e[mo]=r,rv(e,t,!1,!1),t.stateNode=e;e:{switch(a=Ud(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;iei&&(t.flags|=128,r=!0,Ti(o,!1),t.lanes=4194304)}else{if(!r)if(e=ml(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 He(t),null}else 2*Ce()-o.renderingStartTime>ei&&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):(He(t),null);case 22:case 23:return om(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?mt&1073741824&&(He(t),t.subtreeFlags&6&&(t.flags|=8192)):He(t),null;case 24:return null;case 25:return null}throw Error(D(156,t.tag))}function HS(e,t){switch(zh(t),t.tag){case 1:return dt(t.type)&&ol(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Zs(),pe(ct),pe(Ke),Kh(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Yh(t),null;case 13:if(pe(ye),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(D(340));Qs()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return pe(ye),null;case 4:return Zs(),null;case 10:return Uh(t.type._context),null;case 22:case 23:return om(),null;case 24:return null;default:return null}}var ga=!1,qe=!1,GS=typeof WeakSet=="function"?WeakSet:Set,z=null;function Ss(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 gu(e,t,n){try{n()}catch(r){Se(e,t,r)}}var Pf=!1;function qS(e,t){if(eu=nl,e=d0(),_h(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(tu={focusedElem:e,selectionRange:n},nl=!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 f=w.memoizedProps,b=w.memoizedState,v=t.stateNode,x=v.getSnapshotBeforeUpdate(t.elementType===t.type?f:_t(t.type,f),b);v.__reactInternalSnapshotBeforeUpdate=x}break;case 3:var y=t.stateNode.containerInfo;y.nodeType===1?y.textContent="":y.nodeType===9&&y.documentElement&&y.removeChild(y.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=Pf,Pf=!1,w}function Yi(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&&gu(t,n,o)}i=i.next}while(i!==r)}}function Hl(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 yu(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 ov(e){var t=e.alternate;t!==null&&(e.alternate=null,ov(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[an],delete t[mo],delete t[su],delete t[TS],delete t[IS])),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 av(e){return e.tag===5||e.tag===3||e.tag===4}function Mf(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||av(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 vu(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=il));else if(r!==4&&(e=e.child,e!==null))for(vu(e,t,n),e=e.sibling;e!==null;)vu(e,t,n),e=e.sibling}function wu(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(wu(e,t,n),e=e.sibling;e!==null;)wu(e,t,n),e=e.sibling}var Fe=null,Wt=!1;function Bn(e,t,n){for(n=n.child;n!==null;)lv(e,t,n),n=n.sibling}function lv(e,t,n){if(dn&&typeof dn.onCommitFiberUnmount=="function")try{dn.onCommitFiberUnmount(Fl,n)}catch{}switch(n.tag){case 5:qe||Ss(n,t);case 6:var r=Fe,i=Wt;Fe=null,Bn(e,t,n),Fe=r,Wt=i,Fe!==null&&(Wt?(e=Fe,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Fe.removeChild(n.stateNode));break;case 18:Fe!==null&&(Wt?(e=Fe,n=n.stateNode,e.nodeType===8?Hc(e.parentNode,n):e.nodeType===1&&Hc(e,n),ao(e)):Hc(Fe,n.stateNode));break;case 4:r=Fe,i=Wt,Fe=n.stateNode.containerInfo,Wt=!0,Bn(e,t,n),Fe=r,Wt=i;break;case 0:case 11:case 14:case 15:if(!qe&&(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)&&gu(n,t,a),i=i.next}while(i!==r)}Bn(e,t,n);break;case 1:if(!qe&&(Ss(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)}Bn(e,t,n);break;case 21:Bn(e,t,n);break;case 22:n.mode&1?(qe=(r=qe)||n.memoizedState!==null,Bn(e,t,n),qe=r):Bn(e,t,n);break;default:Bn(e,t,n)}}function Rf(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new GS),t.forEach(function(r){var i=nk.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function Lt(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*KS(r/1960))-r,10e?16:e,or===null)var r=!1;else{if(e=or,or=null,yl=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()-sm?Hr(e,0):rm|=n),ut(e,t)}function xv(e,t){t===0&&(e.mode&1?(t=la,la<<=1,!(la&130023424)&&(la=4194304)):t=1);var n=rt();e=Rn(e,t),e!==null&&(Lo(e,t,n),ut(e,n))}function tk(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),xv(e,n)}function nk(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),xv(e,n)}var gv;gv=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||ct.current)lt=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return lt=!1,$S(e,t,n);lt=!!(e.flags&131072)}else lt=!1,ge&&t.flags&1048576&&b0(t,cl,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Va(e,t),e=t.pendingProps;var i=Ks(t,Ke.current);Ls(t,n),i=Xh(null,t,r,e,i,n);var o=Zh();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,dt(r)?(o=!0,al(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Gh(t),i.updater=Ul,t.stateNode=i,i._reactInternals=t,du(t,r,e,n),t=mu(null,t,r,!0,o,n)):(t.tag=0,ge&&o&&Vh(t),et(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Va(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=sk(r),e=_t(r,e),i){case 0:t=hu(null,t,r,e,n);break e;case 1:t=Ef(null,t,r,e,n);break e;case 11:t=Cf(null,t,r,e,n);break e;case 14:t=Af(null,t,r,_t(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:_t(r,i),hu(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:_t(r,i),Ef(e,t,r,i,n);case 3:e:{if(ev(t),e===null)throw Error(D(387));r=t.pendingProps,o=t.memoizedState,i=o.element,A0(e,t),hl(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=Js(Error(D(423)),t),t=Tf(e,t,r,n,i);break e}else if(r!==i){i=Js(Error(D(424)),t),t=Tf(e,t,r,n,i);break e}else for(ft=dr(t.stateNode.containerInfo.firstChild),xt=t,ge=!0,Ut=null,n=k0(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Qs(),r===i){t=Dn(e,t,n);break e}et(e,t,r,n)}t=t.child}return t;case 5:return E0(t),e===null&&au(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,a=i.children,nu(r,i)?a=null:o!==null&&nu(r,o)&&(t.flags|=32),J0(e,t),et(e,t,a,n),t.child;case 6:return e===null&&au(t),null;case 13:return tv(e,t,n);case 4:return qh(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Xs(t,null,r,n):et(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:_t(r,i),Cf(e,t,r,i,n);case 7:return et(e,t,t.pendingProps,n),t.child;case 8:return et(e,t,t.pendingProps.children,n),t.child;case 12:return et(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(dl,r._currentValue),r._currentValue=a,o!==null)if(qt(o.value,a)){if(o.children===i.children&&!ct.current){t=Dn(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=An(-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),lu(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),lu(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}et(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,Ls(t,n),i=Pt(i),r=r(i),t.flags|=1,et(e,t,r,n),t.child;case 14:return r=t.type,i=_t(r,t.pendingProps),i=_t(r.type,i),Af(e,t,r,i,n);case 15:return X0(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:_t(r,i),Va(e,t),t.tag=1,dt(r)?(e=!0,al(t)):e=!1,Ls(t,n),Y0(t,r,i),du(t,r,i,n),mu(null,t,r,!0,e,n);case 19:return nv(e,t,n);case 22:return Z0(e,t,n)}throw Error(D(156,t.tag))};function yv(e,t){return Hy(e,t)}function rk(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 rk(e,t,n,r)}function lm(e){return e=e.prototype,!(!e||!e.isReactComponent)}function sk(e){if(typeof e=="function")return lm(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Ah)return 11;if(e===Eh)return 14}return 2}function pr(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 Wa(e,t,n,r,i,o){var a=2;if(r=e,typeof e=="function")lm(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case fs:return Gr(n.children,i,o,t);case Ch:a=8,i|=8;break;case Dd:return e=Tt(12,n,t,i|2),e.elementType=Dd,e.lanes=o,e;case Ld:return e=Tt(13,n,t,i),e.elementType=Ld,e.lanes=o,e;case Od:return e=Tt(19,n,t,i),e.elementType=Od,e.lanes=o,e;case Ey:return ql(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Cy:a=10;break e;case Ay:a=9;break e;case Ah:a=11;break e;case Eh:a=14;break e;case Kn: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 Gr(e,t,n,r){return e=Tt(7,e,r,t),e.lanes=n,e}function ql(e,t,n,r){return e=Tt(22,e,r,t),e.elementType=Ey,e.lanes=n,e.stateNode={isHidden:!1},e}function Jc(e,t,n){return e=Tt(6,e,null,t),e.lanes=n,e}function ed(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 ik(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=Dc(0),this.expirationTimes=Dc(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Dc(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function cm(e,t,n,r,i,o,a,l,c){return e=new ik(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},Gh(o),e}function ok(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(jv)}catch(e){console.error(e)}}jv(),jy.exports=bt;var as=jy.exports;const uk=dy(as);var Nv,Bf=as;Nv=Bf.createRoot,Bf.hydrateRoot;function hk(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 Sv={exports:{}},kv={};/** * @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 ti=p;function mk(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var pk=typeof Object.is=="function"?Object.is:mk,fk=ti.useState,xk=ti.useEffect,gk=ti.useLayoutEffect,yk=ti.useDebugValue;function vk(e,t){var n=t(),r=fk({inst:{value:n,getSnapshot:t}}),i=r[0].inst,o=r[1];return gk(function(){i.value=n,i.getSnapshot=t,td(i)&&o({inst:i})},[e,n,t]),xk(function(){return td(i)&&o({inst:i}),e(function(){td(i)&&o({inst:i})})},[e]),yk(n),n}function td(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!pk(e,n)}catch{return!0}}function wk(e,t){return t()}var bk=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?wk:vk;kv.useSyncExternalStore=ti.useSyncExternalStore!==void 0?ti.useSyncExternalStore:bk;Sv.exports=kv;var jk=Sv.exports;const Nk=jh.useInsertionEffect,Sk=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Cv=Sk?p.useLayoutEffect:p.useEffect,kk=Nk||Cv,mm=e=>{const t=p.useRef([e,(...n)=>t[0](...n)]).current;return kk(()=>{t[0]=e}),t[1]},Ck="popstate",pm="pushState",fm="replaceState",Ak="hashchange",Wf=[Ck,pm,fm,Ak],Ek=e=>{for(const t of Wf)addEventListener(t,e);return()=>{for(const t of Wf)removeEventListener(t,e)}},Av=(e,t)=>jk.useSyncExternalStore(Ek,e,t),Tk=()=>location.search,Ik=({ssrSearch:e=""}={})=>Av(Tk,()=>e),$f=()=>location.pathname,Pk=({ssrPath:e}={})=>Av($f,e?()=>e:$f),Mk=(e,{replace:t=!1,state:n=null}={})=>history[t?fm:pm](n,"",e),Rk=(e={})=>[Pk(e),Mk],Uf=Symbol.for("wouter_v3");if(typeof history<"u"&&typeof window[Uf]>"u"){for(const e of[pm,fm]){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,Uf,{value:!0})}const Dk=(e,t)=>t.toLowerCase().indexOf(e.toLowerCase())?"~"+t:t.slice(e.length)||"/",Ev=(e="")=>e==="/"?"":e,Lk=(e,t)=>e[0]==="~"?e.slice(1):Ev(t)+e,Ok=(e="",t)=>Dk(Hf(Ev(e)),Hf(t)),Hf=e=>{try{return decodeURI(e)}catch{return e}},Tv={hook:Rk,searchHook:Ik,parser:hk,base:"",ssrPath:void 0,ssrSearch:void 0,ssrContext:void 0,hrefs:e=>e},Iv=p.createContext(Tv),ui=()=>p.useContext(Iv),Pv={},Mv=p.createContext(Pv),Fk=()=>p.useContext(Mv),Vo=e=>{const[t,n]=e.hook(e);return[Ok(e.base,t),mm((r,i)=>n(Lk(r,e.base),i))]},zn=()=>Vo(ui()),Rv=(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]},_k=({children:e,...t})=>{var u,h;const n=ui(),r=t.hook?Tv: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(Iv.Provider,{value:i,children:e})},Gf=({children:e,component:t},n)=>t?p.createElement(t,{params:n}):typeof e=="function"?e(n):e,Vk=e=>{let t=p.useRef(Pv);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},ae=({path:e,nest:t,match:n,...r})=>{const i=ui(),[o]=Vo(i),[a,l,c]=n??Rv(i.parser,e,o,t),d=Vk({...Fk(),...l});if(!a)return null;const u=c?p.createElement(_k,{base:c},Gf(r,d)):Gf(r,d);return p.createElement(Mv.Provider,{value:d,children:u})},q=p.forwardRef((e,t)=>{const n=ui(),[r,i]=Vo(n),{to:o="",href:a=o,onClick:l,asChild:c,children:d,className:u,replace:h,state:m,...g}=e,w=mm(b=>{b.ctrlKey||b.metaKey||b.altKey||b.shiftKey||b.button!==0||(l==null||l(b),b.defaultPrevented||(b.preventDefault(),i(a,e)))}),f=n.hrefs(a[0]==="~"?a.slice(1):n.base+a,n);return c&&p.isValidElement(d)?p.cloneElement(d,{onClick:w,href:f}):p.createElement("a",{...g,onClick:w,href:f,className:u!=null&&u.call?u(r===a):u,children:d,ref:t})}),Dv=e=>Array.isArray(e)?e.flatMap(t=>Dv(t&&t.type===p.Fragment?t.props.children:t)):[e],zk=({children:e,location:t})=>{const n=ui(),[r]=Vo(n);for(const i of Dv(e)){let o=0;if(p.isValidElement(i)&&(o=Rv(n.parser,i.props.path,t||r,i.props.nest))[0])return p.cloneElement(i,{match:o})}return null},gn=e=>{const{to:t,href:n=t}=e,r=ui(),[,i]=Vo(r),o=mm(()=>i(t||n,e)),{ssrContext:a}=r;return Cv(()=>{o()},[]),a&&(a.redirectTo=t),null};var Zl=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(){}},Bk={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},Jn,gh,ty,Wk=(ty=class{constructor(){ee(this,Jn,Bk);ee(this,gh,!1)}setTimeoutProvider(e){Y(this,Jn,e)}setTimeout(e,t){return P(this,Jn).setTimeout(e,t)}clearTimeout(e){P(this,Jn).clearTimeout(e)}setInterval(e,t){return P(this,Jn).setInterval(e,t)}clearInterval(e){P(this,Jn).clearInterval(e)}},Jn=new WeakMap,gh=new WeakMap,ty),ku=new Wk;function $k(e){setTimeout(e,0)}var Jl=typeof window>"u"||"Deno"in globalThis;function Vt(){}function Uk(e,t){return typeof e=="function"?e(t):e}function Hk(e){return typeof e=="number"&&e>=0&&e!==1/0}function Gk(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Cu(e,t){return typeof e=="function"?e(t):e}function qk(e,t){return typeof e=="function"?e(t):e}function qf(e,t){const{type:n="all",exact:r,fetchStatus:i,predicate:o,queryKey:a,stale:l}=e;if(a){if(r){if(t.queryHash!==xm(a,t.options))return!1}else if(!bo(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 Yf(e,t){const{exact:n,status:r,predicate:i,mutationKey:o}=e;if(o){if(!t.options.mutationKey)return!1;if(n){if(wo(t.options.mutationKey)!==wo(o))return!1}else if(!bo(t.options.mutationKey,o))return!1}return!(r&&t.state.status!==r||i&&!i(t))}function xm(e,t){return((t==null?void 0:t.queryKeyHashFn)||wo)(e)}function wo(e){return JSON.stringify(e,(t,n)=>Au(n)?Object.keys(n).sort().reduce((r,i)=>(r[i]=n[i],r),{}):n)}function bo(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>bo(e[n],t[n])):!1}var Yk=Object.prototype.hasOwnProperty;function Lv(e,t){if(e===t)return e;const n=Kf(e)&&Kf(t);if(!n&&!(Au(e)&&Au(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{ku.setTimeout(t,e)})}function Qk(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?Lv(e,t):t}function Xk(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function Zk(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var gm=Symbol();function Ov(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===gm?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var Vr,er,zs,ny,Jk=(ny=class extends Zl{constructor(){super();ee(this,Vr);ee(this,er);ee(this,zs);Y(this,zs,t=>{if(!Jl&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){P(this,er)||this.setEventListener(P(this,zs))}onUnsubscribe(){var t;this.hasListeners()||((t=P(this,er))==null||t.call(this),Y(this,er,void 0))}setEventListener(t){var n;Y(this,zs,t),(n=P(this,er))==null||n.call(this),Y(this,er,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){P(this,Vr)!==t&&(Y(this,Vr,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof P(this,Vr)=="boolean"?P(this,Vr):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},Vr=new WeakMap,er=new WeakMap,zs=new WeakMap,ny),Fv=new Jk;function e4(){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 t4=$k;function n4(){let e=[],t=0,n=l=>{l()},r=l=>{l()},i=t4;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 nt=n4(),Bs,tr,Ws,ry,r4=(ry=class extends Zl{constructor(){super();ee(this,Bs,!0);ee(this,tr);ee(this,Ws);Y(this,Ws,t=>{if(!Jl&&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(){P(this,tr)||this.setEventListener(P(this,Ws))}onUnsubscribe(){var t;this.hasListeners()||((t=P(this,tr))==null||t.call(this),Y(this,tr,void 0))}setEventListener(t){var n;Y(this,Ws,t),(n=P(this,tr))==null||n.call(this),Y(this,tr,t(this.setOnline.bind(this)))}setOnline(t){P(this,Bs)!==t&&(Y(this,Bs,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return P(this,Bs)}},Bs=new WeakMap,tr=new WeakMap,Ws=new WeakMap,ry),bl=new r4;function s4(e){return Math.min(1e3*2**e,3e4)}function _v(e){return(e??"online")==="online"?bl.isOnline():!0}var Eu=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function Vv(e){let t=!1,n=0,r;const i=e4(),o=()=>i.status!=="pending",a=f=>{var b;if(!o()){const v=new Eu(f);m(v),(b=e.onCancel)==null||b.call(e,v)}},l=()=>{t=!0},c=()=>{t=!1},d=()=>Fv.isFocused()&&(e.networkMode==="always"||bl.isOnline())&&e.canRun(),u=()=>_v(e.networkMode)&&e.canRun(),h=f=>{o()||(r==null||r(),i.resolve(f))},m=f=>{o()||(r==null||r(),i.reject(f))},g=()=>new Promise(f=>{var b;r=v=>{(o()||d())&&f(v)},(b=e.onPause)==null||b.call(e)}).then(()=>{var f;r=void 0,o()||(f=e.onContinue)==null||f.call(e)}),w=()=>{if(o())return;let f;const b=n===0?e.initialPromise:void 0;try{f=b??e.fn()}catch(v){f=Promise.reject(v)}Promise.resolve(f).then(h).catch(v=>{var k;if(o())return;const x=e.retry??(Jl?0:3),y=e.retryDelay??s4,j=typeof y=="function"?y(n,v):y,N=x===!0||typeof x=="number"&&nd()?void 0:g()).then(()=>{t?m(v):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 zr,sy,zv=(sy=class{constructor(){ee(this,zr)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Hk(this.gcTime)&&Y(this,zr,ku.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Jl?1/0:5*60*1e3))}clearGcTimeout(){P(this,zr)&&(ku.clearTimeout(P(this,zr)),Y(this,zr,void 0))}},zr=new WeakMap,sy),Br,$s,Ct,Wr,Me,Po,$r,zt,vn,iy,i4=(iy=class extends zv{constructor(t){super();ee(this,zt);ee(this,Br);ee(this,$s);ee(this,Ct);ee(this,Wr);ee(this,Me);ee(this,Po);ee(this,$r);Y(this,$r,!1),Y(this,Po,t.defaultOptions),this.setOptions(t.options),this.observers=[],Y(this,Wr,t.client),Y(this,Ct,P(this,Wr).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,Y(this,Br,Xf(this.options)),this.state=t.state??P(this,Br),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=P(this,Me))==null?void 0:t.promise}setOptions(t){if(this.options={...P(this,Po),...t},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const n=Xf(this.options);n.data!==void 0&&(this.setData(n.data,{updatedAt:n.dataUpdatedAt,manual:!0}),Y(this,Br,n))}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&P(this,Ct).remove(this)}setData(t,n){const r=Qk(this.state.data,t,this.options);return $e(this,zt,vn).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){$e(this,zt,vn).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,i;const n=(r=P(this,Me))==null?void 0:r.promise;return(i=P(this,Me))==null||i.cancel(t),n?n.then(Vt).catch(Vt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(P(this,Br))}isActive(){return this.observers.some(t=>qk(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===gm||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>Cu(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:!Gk(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=P(this,Me))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=P(this,Me))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),P(this,Ct).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(P(this,Me)&&(P(this,$r)?P(this,Me).cancel({revert:!0}):P(this,Me).cancelRetry()),this.scheduleGc()),P(this,Ct).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||$e(this,zt,vn).call(this,{type:"invalidate"})}async fetch(t,n){var c,d,u,h,m,g,w,f,b,v,x,y;if(this.state.fetchStatus!=="idle"&&((c=P(this,Me))==null?void 0:c.status())!=="rejected"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(P(this,Me))return P(this,Me).continueRetry(),P(this,Me).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:()=>(Y(this,$r,!0),r.signal)})},o=()=>{const j=Ov(this.options,n),k=(()=>{const S={client:P(this,Wr),queryKey:this.queryKey,meta:this.meta};return i(S),S})();return Y(this,$r,!1),this.options.persister?this.options.persister(j,k,this):j(k)},l=(()=>{const j={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:P(this,Wr),state:this.state,fetchFn:o};return i(j),j})();(d=this.options.behavior)==null||d.onFetch(l,this),Y(this,$s,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((u=l.fetchOptions)==null?void 0:u.meta))&&$e(this,zt,vn).call(this,{type:"fetch",meta:(h=l.fetchOptions)==null?void 0:h.meta}),Y(this,Me,Vv({initialPromise:n==null?void 0:n.initialPromise,fn:l.fetchFn,onCancel:j=>{j instanceof Eu&&j.revert&&this.setState({...P(this,$s),fetchStatus:"idle"}),r.abort()},onFail:(j,N)=>{$e(this,zt,vn).call(this,{type:"failed",failureCount:j,error:N})},onPause:()=>{$e(this,zt,vn).call(this,{type:"pause"})},onContinue:()=>{$e(this,zt,vn).call(this,{type:"continue"})},retry:l.options.retry,retryDelay:l.options.retryDelay,networkMode:l.options.networkMode,canRun:()=>!0}));try{const j=await P(this,Me).start();if(j===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(j),(g=(m=P(this,Ct).config).onSuccess)==null||g.call(m,j,this),(f=(w=P(this,Ct).config).onSettled)==null||f.call(w,j,this.state.error,this),j}catch(j){if(j instanceof Eu){if(j.silent)return P(this,Me).promise;if(j.revert){if(this.state.data===void 0)throw j;return this.state.data}}throw $e(this,zt,vn).call(this,{type:"error",error:j}),(v=(b=P(this,Ct).config).onError)==null||v.call(b,j,this),(y=(x=P(this,Ct).config).onSettled)==null||y.call(x,this.state.data,j,this),j}finally{this.scheduleGc()}}},Br=new WeakMap,$s=new WeakMap,Ct=new WeakMap,Wr=new WeakMap,Me=new WeakMap,Po=new WeakMap,$r=new WeakMap,zt=new WeakSet,vn=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,...o4(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 Y(this,$s,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),nt.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),P(this,Ct).notify({query:this,type:"updated",action:t})})},iy);function o4(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:_v(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function Xf(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 Zf(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 f=!1;const b=y=>{Object.defineProperty(y,"signal",{enumerable:!0,get:()=>(t.signal.aborted?f=!0:t.signal.addEventListener("abort",()=>{f=!0}),t.signal)})},v=Ov(t.options,t.fetchOptions),x=async(y,j,N)=>{if(f)return Promise.reject();if(j==null&&y.pages.length)return Promise.resolve(y);const S=(()=>{const R={client:t.client,queryKey:t.queryKey,pageParam:j,direction:N?"backward":"forward",meta:t.options.meta};return b(R),R})(),C=await v(S),{maxPages:M}=t.options,A=N?Zk:Xk;return{pages:A(y.pages,C,M),pageParams:A(y.pageParams,j,M)}};if(i&&o.length){const y=i==="backward",j=y?a4:Jf,N={pages:o,pageParams:a},k=j(r,N);l=await x(N,k,y)}else{const y=e??o.length;do{const j=c===0?a[0]??r.initialPageParam:Jf(r,l);if(c>0&&j==null)break;l=await x(l,j),c++}while(c{var f,b;return(b=(f=t.options).persister)==null?void 0:b.call(f,d,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=d}}}function Jf(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 a4(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 Mo,rn,Je,Ur,sn,Hn,oy,l4=(oy=class extends zv{constructor(t){super();ee(this,sn);ee(this,Mo);ee(this,rn);ee(this,Je);ee(this,Ur);Y(this,Mo,t.client),this.mutationId=t.mutationId,Y(this,Je,t.mutationCache),Y(this,rn,[]),this.state=t.state||c4(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){P(this,rn).includes(t)||(P(this,rn).push(t),this.clearGcTimeout(),P(this,Je).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){Y(this,rn,P(this,rn).filter(n=>n!==t)),this.scheduleGc(),P(this,Je).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){P(this,rn).length||(this.state.status==="pending"?this.scheduleGc():P(this,Je).remove(this))}continue(){var t;return((t=P(this,Ur))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var a,l,c,d,u,h,m,g,w,f,b,v,x,y,j,N,k,S,C,M;const n=()=>{$e(this,sn,Hn).call(this,{type:"continue"})},r={client:P(this,Mo),meta:this.options.meta,mutationKey:this.options.mutationKey};Y(this,Ur,Vv({fn:()=>this.options.mutationFn?this.options.mutationFn(t,r):Promise.reject(new Error("No mutationFn found")),onFail:(A,R)=>{$e(this,sn,Hn).call(this,{type:"failed",failureCount:A,error:R})},onPause:()=>{$e(this,sn,Hn).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>P(this,Je).canRun(this)}));const i=this.state.status==="pending",o=!P(this,Ur).canStart();try{if(i)n();else{$e(this,sn,Hn).call(this,{type:"pending",variables:t,isPaused:o}),await((l=(a=P(this,Je).config).onMutate)==null?void 0:l.call(a,t,this,r));const R=await((d=(c=this.options).onMutate)==null?void 0:d.call(c,t,r));R!==this.state.context&&$e(this,sn,Hn).call(this,{type:"pending",context:R,variables:t,isPaused:o})}const A=await P(this,Ur).start();return await((h=(u=P(this,Je).config).onSuccess)==null?void 0:h.call(u,A,t,this.state.context,this,r)),await((g=(m=this.options).onSuccess)==null?void 0:g.call(m,A,t,this.state.context,r)),await((f=(w=P(this,Je).config).onSettled)==null?void 0:f.call(w,A,null,this.state.variables,this.state.context,this,r)),await((v=(b=this.options).onSettled)==null?void 0:v.call(b,A,null,t,this.state.context,r)),$e(this,sn,Hn).call(this,{type:"success",data:A}),A}catch(A){try{throw await((y=(x=P(this,Je).config).onError)==null?void 0:y.call(x,A,t,this.state.context,this,r)),await((N=(j=this.options).onError)==null?void 0:N.call(j,A,t,this.state.context,r)),await((S=(k=P(this,Je).config).onSettled)==null?void 0:S.call(k,void 0,A,this.state.variables,this.state.context,this,r)),await((M=(C=this.options).onSettled)==null?void 0:M.call(C,void 0,A,t,this.state.context,r)),A}finally{$e(this,sn,Hn).call(this,{type:"error",error:A})}}finally{P(this,Je).runNext(this)}}},Mo=new WeakMap,rn=new WeakMap,Je=new WeakMap,Ur=new WeakMap,sn=new WeakSet,Hn=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),nt.batch(()=>{P(this,rn).forEach(r=>{r.onMutationUpdate(t)}),P(this,Je).notify({mutation:this,type:"updated",action:t})})},oy);function c4(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Sn,Bt,Ro,ay,d4=(ay=class extends Zl{constructor(t={}){super();ee(this,Sn);ee(this,Bt);ee(this,Ro);this.config=t,Y(this,Sn,new Set),Y(this,Bt,new Map),Y(this,Ro,0)}build(t,n,r){const i=new l4({client:t,mutationCache:this,mutationId:++na(this,Ro)._,options:t.defaultMutationOptions(n),state:r});return this.add(i),i}add(t){P(this,Sn).add(t);const n=wa(t);if(typeof n=="string"){const r=P(this,Bt).get(n);r?r.push(t):P(this,Bt).set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(P(this,Sn).delete(t)){const n=wa(t);if(typeof n=="string"){const r=P(this,Bt).get(n);if(r)if(r.length>1){const i=r.indexOf(t);i!==-1&&r.splice(i,1)}else r[0]===t&&P(this,Bt).delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=wa(t);if(typeof n=="string"){const r=P(this,Bt).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=wa(t);if(typeof n=="string"){const i=(r=P(this,Bt).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(){nt.batch(()=>{P(this,Sn).forEach(t=>{this.notify({type:"removed",mutation:t})}),P(this,Sn).clear(),P(this,Bt).clear()})}getAll(){return Array.from(P(this,Sn))}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Yf(n,r))}findAll(t={}){return this.getAll().filter(n=>Yf(t,n))}notify(t){nt.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return nt.batch(()=>Promise.all(t.map(n=>n.continue().catch(Vt))))}},Sn=new WeakMap,Bt=new WeakMap,Ro=new WeakMap,ay);function wa(e){var t;return(t=e.options.scope)==null?void 0:t.id}var on,ly,u4=(ly=class extends Zl{constructor(t={}){super();ee(this,on);this.config=t,Y(this,on,new Map)}build(t,n,r){const i=n.queryKey,o=n.queryHash??xm(i,n);let a=this.get(o);return a||(a=new i4({client:t,queryKey:i,queryHash:o,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(i)}),this.add(a)),a}add(t){P(this,on).has(t.queryHash)||(P(this,on).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=P(this,on).get(t.queryHash);n&&(t.destroy(),n===t&&P(this,on).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){nt.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return P(this,on).get(t)}getAll(){return[...P(this,on).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>qf(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>qf(t,r)):n}notify(t){nt.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){nt.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){nt.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},on=new WeakMap,ly),je,nr,rr,Us,Hs,sr,Gs,qs,cy,h4=(cy=class{constructor(e={}){ee(this,je);ee(this,nr);ee(this,rr);ee(this,Us);ee(this,Hs);ee(this,sr);ee(this,Gs);ee(this,qs);Y(this,je,e.queryCache||new u4),Y(this,nr,e.mutationCache||new d4),Y(this,rr,e.defaultOptions||{}),Y(this,Us,new Map),Y(this,Hs,new Map),Y(this,sr,0)}mount(){na(this,sr)._++,P(this,sr)===1&&(Y(this,Gs,Fv.subscribe(async e=>{e&&(await this.resumePausedMutations(),P(this,je).onFocus())})),Y(this,qs,bl.subscribe(async e=>{e&&(await this.resumePausedMutations(),P(this,je).onOnline())})))}unmount(){var e,t;na(this,sr)._--,P(this,sr)===0&&((e=P(this,Gs))==null||e.call(this),Y(this,Gs,void 0),(t=P(this,qs))==null||t.call(this),Y(this,qs,void 0))}isFetching(e){return P(this,je).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return P(this,nr).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=P(this,je).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=P(this,je).build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(Cu(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return P(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=P(this,je).get(r.queryHash),o=i==null?void 0:i.state.data,a=Uk(t,o);if(a!==void 0)return P(this,je).build(this,r).setData(a,{...n,manual:!0})}setQueriesData(e,t,n){return nt.batch(()=>P(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=P(this,je).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=P(this,je);nt.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=P(this,je);return nt.batch(()=>(n.findAll(e).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},r=nt.batch(()=>P(this,je).findAll(e).map(i=>i.cancel(n)));return Promise.all(r).then(Vt).catch(Vt)}invalidateQueries(e,t={}){return nt.batch(()=>(P(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=nt.batch(()=>P(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(Vt)),i.state.fetchStatus==="paused"?Promise.resolve():o}));return Promise.all(r).then(Vt)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=P(this,je).build(this,t);return n.isStaleByTime(Cu(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(Vt).catch(Vt)}fetchInfiniteQuery(e){return e.behavior=Zf(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Vt).catch(Vt)}ensureInfiniteQueryData(e){return e.behavior=Zf(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return bl.isOnline()?P(this,nr).resumePausedMutations():Promise.resolve()}getQueryCache(){return P(this,je)}getMutationCache(){return P(this,nr)}getDefaultOptions(){return P(this,rr)}setDefaultOptions(e){Y(this,rr,e)}setQueryDefaults(e,t){P(this,Us).set(wo(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...P(this,Us).values()],n={};return t.forEach(r=>{bo(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){P(this,Hs).set(wo(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...P(this,Hs).values()],n={};return t.forEach(r=>{bo(e,r.mutationKey)&&Object.assign(n,r.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...P(this,rr).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=xm(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===gm&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...P(this,rr).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){P(this,je).clear(),P(this,nr).clear()}},je=new WeakMap,nr=new WeakMap,rr=new WeakMap,Us=new WeakMap,Hs=new WeakMap,sr=new WeakMap,Gs=new WeakMap,qs=new WeakMap,cy),m4=p.createContext(void 0),p4=({client:e,children:t})=>(p.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),s.jsx(m4.Provider,{value:e,children:t}));async function Bv(e){if(!e.ok){const t=await e.text()||e.statusText;throw new Error(`${e.status}: ${t}`)}}async function bn(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 Bv(i),i}const f4=({on401:e})=>async({queryKey:t})=>{const n=await fetch(t[0],{credentials:"include"});return await Bv(n),await n.json()},x4=new h4({defaultOptions:{queries:{queryFn:f4({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}}}),g4=1,y4=1e6;let nd=0;function v4(){return nd=(nd+1)%Number.MAX_SAFE_INTEGER,nd.toString()}const rd=new Map,ex=e=>{if(rd.has(e))return;const t=setTimeout(()=>{rd.delete(e),Xi({type:"REMOVE_TOAST",toastId:e})},y4);rd.set(e,t)},w4=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,g4)};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?ex(n):e.toasts.forEach(r=>{ex(r.id)}),{...e,toasts:e.toasts.map(r=>r.id===n||n===void 0?{...r,open:!1}:r)}}case"REMOVE_TOAST":return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(n=>n.id!==t.toastId)}}},$a=[];let Ua={toasts:[]};function Xi(e){Ua=w4(Ua,e),$a.forEach(t=>{t(Ua)})}function b4({...e}){const t=v4(),n=i=>Xi({type:"UPDATE_TOAST",toast:{...i,id:t}}),r=()=>Xi({type:"DISMISS_TOAST",toastId:t});return Xi({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:i=>{i||r()}}}),{id:t,dismiss:r,update:n}}function ym(){const[e,t]=p.useState(Ua);return p.useEffect(()=>($a.push(t),()=>{const n=$a.indexOf(t);n>-1&&$a.splice(n,1)}),[e]),{...e,toast:b4,dismiss:n=>Xi({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 tx(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function Wv(...e){return t=>{let n=!1;const r=e.map(i=>{const o=tx(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 Sr(e,t=[]){let n=[];function r(o,a){const l=p.createContext(a),c=n.length;n=[...n,a];const d=h=>{var v;const{scope:m,children:g,...w}=h,f=((v=m==null?void 0:m[e])==null?void 0:v[c])||l,b=p.useMemo(()=>w,Object.values(w));return s.jsx(f.Provider,{value:b,children:g})};d.displayName=o+"Provider";function u(h,m){var f;const g=((f=m==null?void 0:m[e])==null?void 0:f[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,N4(i,...t)]}function N4(...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 ni(e){const t=k4(e),n=p.forwardRef((r,i)=>{const{children:o,...a}=r,l=p.Children.toArray(o),c=l.find(A4);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 S4=ni("Slot");function k4(e){const t=p.forwardRef((n,r)=>{const{children:i,...o}=n;if(p.isValidElement(i)){const a=T4(i),l=E4(o,i.props);return i.type!==p.Fragment&&(l.ref=r?Wv(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 $v=Symbol("radix.slottable");function C4(e){const t=({children:n})=>s.jsx(s.Fragment,{children:n});return t.displayName=`${e}.Slottable`,t.__radixId=$v,t}function A4(e){return p.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===$v}function E4(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 T4(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 vm(e){const t=e+"CollectionProvider",[n,r]=Sr(t),[i,o]=n(t,{collectionRef:{current:null},itemMap:new Map}),a=f=>{const{scope:b,children:v}=f,x=Un.useRef(null),y=Un.useRef(new Map).current;return s.jsx(i,{scope:b,itemMap:y,collectionRef:x,children:v})};a.displayName=t;const l=e+"CollectionSlot",c=ni(l),d=Un.forwardRef((f,b)=>{const{scope:v,children:x}=f,y=o(l,v),j=de(b,y.collectionRef);return s.jsx(c,{ref:j,children:x})});d.displayName=l;const u=e+"CollectionItemSlot",h="data-radix-collection-item",m=ni(u),g=Un.forwardRef((f,b)=>{const{scope:v,children:x,...y}=f,j=Un.useRef(null),N=de(b,j),k=o(u,v);return Un.useEffect(()=>(k.itemMap.set(j,{ref:j,...y}),()=>void k.itemMap.delete(j))),s.jsx(m,{[h]:"",ref:N,children:x})});g.displayName=u;function w(f){const b=o(e+"CollectionConsumer",f);return Un.useCallback(()=>{const x=b.collectionRef.current;if(!x)return[];const y=Array.from(x.querySelectorAll(`[${h}]`));return Array.from(b.itemMap.values()).sort((k,S)=>y.indexOf(k.ref.current)-y.indexOf(S.ref.current))},[b.collectionRef,b.itemMap])}return[{Provider:a,Slot:d,ItemSlot:g},w,r]}var I4=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],X=I4.reduce((e,t)=>{const n=ni(`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 Uv(e,t){e&&as.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 P4(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 M4="DismissableLayer",Tu="dismissableLayer.update",R4="dismissableLayer.pointerDownOutside",D4="dismissableLayer.focusOutside",nx,Hv=p.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),zo=p.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:i,onFocusOutside:o,onInteractOutside:a,onDismiss:l,...c}=e,d=p.useContext(Hv),[u,h]=p.useState(null),m=(u==null?void 0:u.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,g]=p.useState({}),w=de(t,S=>h(S)),f=Array.from(d.layers),[b]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),v=f.indexOf(b),x=u?f.indexOf(u):-1,y=d.layersWithOutsidePointerEventsDisabled.size>0,j=x>=v,N=O4(S=>{const C=S.target,M=[...d.branches].some(A=>A.contains(C));!j||M||(i==null||i(S),a==null||a(S),S.defaultPrevented||l==null||l())},m),k=F4(S=>{const C=S.target;[...d.branches].some(A=>A.contains(C))||(o==null||o(S),a==null||a(S),S.defaultPrevented||l==null||l())},m);return P4(S=>{x===d.layers.size-1&&(r==null||r(S),!S.defaultPrevented&&l&&(S.preventDefault(),l()))},m),p.useEffect(()=>{if(u)return n&&(d.layersWithOutsidePointerEventsDisabled.size===0&&(nx=m.body.style.pointerEvents,m.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(u)),d.layers.add(u),rx(),()=>{n&&d.layersWithOutsidePointerEventsDisabled.size===1&&(m.body.style.pointerEvents=nx)}},[u,m,n,d]),p.useEffect(()=>()=>{u&&(d.layers.delete(u),d.layersWithOutsidePointerEventsDisabled.delete(u),rx())},[u,d]),p.useEffect(()=>{const S=()=>g({});return document.addEventListener(Tu,S),()=>document.removeEventListener(Tu,S)},[]),s.jsx(X.div,{...c,ref:w,style:{pointerEvents:y?j?"auto":"none":void 0,...e.style},onFocusCapture:U(e.onFocusCapture,k.onFocusCapture),onBlurCapture:U(e.onBlurCapture,k.onBlurCapture),onPointerDownCapture:U(e.onPointerDownCapture,N.onPointerDownCapture)})});zo.displayName=M4;var L4="DismissableLayerBranch",Gv=p.forwardRef((e,t)=>{const n=p.useContext(Hv),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})});Gv.displayName=L4;function O4(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(){qv(R4,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 F4(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&&qv(D4,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 rx(){const e=new CustomEvent(Tu);document.dispatchEvent(e)}function qv(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?Uv(i,o):i.dispatchEvent(o)}var _4=zo,V4=Gv,Be=globalThis!=null&&globalThis.document?p.useLayoutEffect:()=>{},z4="Portal",Bo=p.forwardRef((e,t)=>{var l;const{container:n,...r}=e,[i,o]=p.useState(!1);Be(()=>o(!0),[]);const a=n||i&&((l=globalThis==null?void 0:globalThis.document)==null?void 0:l.body);return a?uk.createPortal(s.jsx(X.div,{...r,ref:t}),a):null});Bo.displayName=z4;function B4(e,t){return p.useReducer((n,r)=>t[n][r]??n,e)}var kr=e=>{const{present:t,children:n}=e,r=W4(t),i=typeof n=="function"?n({present:r.isPresent}):p.Children.only(n),o=de(r.ref,$4(i));return typeof n=="function"||r.isPresent?p.cloneElement(i,{ref:o}):null};kr.displayName="Presence";function W4(e){const[t,n]=p.useState(),r=p.useRef(null),i=p.useRef(e),o=p.useRef("none"),a=e?"mounted":"unmounted",[l,c]=B4(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return p.useEffect(()=>{const d=ba(r.current);o.current=l==="mounted"?d:"none"},[l]),Be(()=>{const d=r.current,u=i.current;if(u!==e){const m=o.current,g=ba(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]),Be(()=>{if(t){let d;const u=t.ownerDocument.defaultView??window,h=g=>{const f=ba(r.current).includes(CSS.escape(g.animationName));if(g.target===t&&f&&(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=ba(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 ba(e){return(e==null?void 0:e.animationName)||"none"}function $4(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 U4=jh[" useInsertionEffect ".trim().toString()]||Be;function Jr({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[i,o,a]=H4({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=G4(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 H4({defaultProp:e,onChange:t}){const[n,r]=p.useState(e),i=p.useRef(n),o=p.useRef(t);return U4(()=>{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 G4(e){return typeof e=="function"}var Yv=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"}),q4="VisuallyHidden",ec=p.forwardRef((e,t)=>s.jsx(X.span,{...e,ref:t,style:{...Yv,...e.style}}));ec.displayName=q4;var Y4=ec,wm="ToastProvider",[bm,K4,Q4]=vm("Toast"),[Kv]=Sr("Toast",[Q4]),[X4,tc]=Kv(wm),Qv=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 \`${wm}\`. Expected non-empty \`string\`.`),s.jsx(bm.Provider,{scope:t,children:s.jsx(X4,{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})})};Qv.displayName=wm;var Xv="ToastViewport",Z4=["F8"],Iu="toast.viewportPause",Pu="toast.viewportResume",Zv=p.forwardRef((e,t)=>{const{__scopeToast:n,hotkey:r=Z4,label:i="Notifications ({hotkey})",...o}=e,a=tc(Xv,n),l=K4(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=v=>{var y;r.length!==0&&r.every(j=>v[j]||v.code===j)&&((y=h.current)==null||y.focus())};return document.addEventListener("keydown",b),()=>document.removeEventListener("keydown",b)},[r]),p.useEffect(()=>{const b=c.current,v=h.current;if(w&&b&&v){const x=()=>{if(!a.isClosePausedRef.current){const k=new CustomEvent(Iu);v.dispatchEvent(k),a.isClosePausedRef.current=!0}},y=()=>{if(a.isClosePausedRef.current){const k=new CustomEvent(Pu);v.dispatchEvent(k),a.isClosePausedRef.current=!1}},j=k=>{!b.contains(k.relatedTarget)&&y()},N=()=>{b.contains(document.activeElement)||y()};return b.addEventListener("focusin",x),b.addEventListener("focusout",j),b.addEventListener("pointermove",x),b.addEventListener("pointerleave",N),window.addEventListener("blur",x),window.addEventListener("focus",y),()=>{b.removeEventListener("focusin",x),b.removeEventListener("focusout",j),b.removeEventListener("pointermove",x),b.removeEventListener("pointerleave",N),window.removeEventListener("blur",x),window.removeEventListener("focus",y)}}},[w,a.isClosePausedRef]);const f=p.useCallback(({tabbingDirection:b})=>{const x=l().map(y=>{const j=y.ref.current,N=[j,...uC(j)];return b==="forwards"?N:N.reverse()});return(b==="forwards"?x.reverse():x).flat()},[l]);return p.useEffect(()=>{const b=h.current;if(b){const v=x=>{var N,k,S;const y=x.altKey||x.ctrlKey||x.metaKey;if(x.key==="Tab"&&!y){const C=document.activeElement,M=x.shiftKey;if(x.target===b&&M){(N=d.current)==null||N.focus();return}const O=f({tabbingDirection:M?"backwards":"forwards"}),H=O.findIndex(T=>T===C);sd(O.slice(H+1))?x.preventDefault():M?(k=d.current)==null||k.focus():(S=u.current)==null||S.focus()}};return b.addEventListener("keydown",v),()=>b.removeEventListener("keydown",v)}},[l,f]),s.jsxs(V4,{ref:c,role:"region","aria-label":i.replace("{hotkey}",g),tabIndex:-1,style:{pointerEvents:w?void 0:"none"},children:[w&&s.jsx(Mu,{ref:d,onFocusFromOutsideViewport:()=>{const b=f({tabbingDirection:"forwards"});sd(b)}}),s.jsx(bm.Slot,{scope:n,children:s.jsx(X.ol,{tabIndex:-1,...o,ref:m})}),w&&s.jsx(Mu,{ref:u,onFocusFromOutsideViewport:()=>{const b=f({tabbingDirection:"backwards"});sd(b)}})]})});Zv.displayName=Xv;var Jv="ToastFocusProxy",Mu=p.forwardRef((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:r,...i}=e,o=tc(Jv,n);return s.jsx(ec,{tabIndex:0,...i,ref:t,style:{position:"fixed"},onFocus:a=>{var d;const l=a.relatedTarget;!((d=o.viewport)!=null&&d.contains(l))&&r()}})});Mu.displayName=Jv;var Wo="Toast",J4="toast.swipeStart",eC="toast.swipeMove",tC="toast.swipeCancel",nC="toast.swipeEnd",ew=p.forwardRef((e,t)=>{const{forceMount:n,open:r,defaultOpen:i,onOpenChange:o,...a}=e,[l,c]=Jr({prop:r,defaultProp:i??!0,onChange:o,caller:Wo});return s.jsx(kr,{present:n||l,children:s.jsx(iC,{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)})})})});ew.displayName=Wo;var[rC,sC]=Kv(Wo,{onClose(){}}),iC=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,f=tc(Wo,n),[b,v]=p.useState(null),x=de(t,T=>v(T)),y=p.useRef(null),j=p.useRef(null),N=i||f.duration,k=p.useRef(0),S=p.useRef(N),C=p.useRef(0),{onToastAdd:M,onToastRemove:A}=f,R=Rt(()=>{var W;(b==null?void 0:b.contains(document.activeElement))&&((W=f.viewport)==null||W.focus()),a()}),O=p.useCallback(T=>{!T||T===1/0||(window.clearTimeout(C.current),k.current=new Date().getTime(),C.current=window.setTimeout(R,T))},[R]);p.useEffect(()=>{const T=f.viewport;if(T){const W=()=>{O(S.current),d==null||d()},_=()=>{const V=new Date().getTime()-k.current;S.current=S.current-V,window.clearTimeout(C.current),c==null||c()};return T.addEventListener(Iu,_),T.addEventListener(Pu,W),()=>{T.removeEventListener(Iu,_),T.removeEventListener(Pu,W)}}},[f.viewport,N,c,d,O]),p.useEffect(()=>{o&&!f.isClosePausedRef.current&&O(N)},[o,N,f.isClosePausedRef,O]),p.useEffect(()=>(M(),()=>A()),[M,A]);const H=p.useMemo(()=>b?aw(b):null,[b]);return f.viewport?s.jsxs(s.Fragment,{children:[H&&s.jsx(oC,{__scopeToast:n,role:"status","aria-live":r==="foreground"?"assertive":"polite",children:H}),s.jsx(rC,{scope:n,onClose:R,children:as.createPortal(s.jsx(bm.ItemSlot,{scope:n,children:s.jsx(_4,{asChild:!0,onEscapeKeyDown:U(l,()=>{f.isFocusedToastEscapeKeyDownRef.current||R(),f.isFocusedToastEscapeKeyDownRef.current=!1}),children:s.jsx(X.li,{tabIndex:0,"data-state":o?"open":"closed","data-swipe-direction":f.swipeDirection,...w,ref:x,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:U(e.onKeyDown,T=>{T.key==="Escape"&&(l==null||l(T.nativeEvent),T.nativeEvent.defaultPrevented||(f.isFocusedToastEscapeKeyDownRef.current=!0,R()))}),onPointerDown:U(e.onPointerDown,T=>{T.button===0&&(y.current={x:T.clientX,y:T.clientY})}),onPointerMove:U(e.onPointerMove,T=>{if(!y.current)return;const W=T.clientX-y.current.x,_=T.clientY-y.current.y,V=!!j.current,I=["left","right"].includes(f.swipeDirection),L=["left","up"].includes(f.swipeDirection)?Math.min:Math.max,B=I?L(0,W):0,K=I?0:L(0,_),re=T.pointerType==="touch"?10:2,Xe={x:B,y:K},Te={originalEvent:T,delta:Xe};V?(j.current=Xe,ja(eC,h,Te,{discrete:!1})):sx(Xe,f.swipeDirection,re)?(j.current=Xe,ja(J4,u,Te,{discrete:!1}),T.target.setPointerCapture(T.pointerId)):(Math.abs(W)>re||Math.abs(_)>re)&&(y.current=null)}),onPointerUp:U(e.onPointerUp,T=>{const W=j.current,_=T.target;if(_.hasPointerCapture(T.pointerId)&&_.releasePointerCapture(T.pointerId),j.current=null,y.current=null,W){const V=T.currentTarget,I={originalEvent:T,delta:W};sx(W,f.swipeDirection,f.swipeThreshold)?ja(nC,g,I,{discrete:!0}):ja(tC,m,I,{discrete:!0}),V.addEventListener("click",L=>L.preventDefault(),{once:!0})}})})})}),f.viewport)})]}):null}),oC=e=>{const{__scopeToast:t,children:n,...r}=e,i=tc(Wo,t),[o,a]=p.useState(!1),[l,c]=p.useState(!1);return cC(()=>a(!0)),p.useEffect(()=>{const d=window.setTimeout(()=>c(!0),1e3);return()=>window.clearTimeout(d)},[]),l?null:s.jsx(Bo,{asChild:!0,children:s.jsx(ec,{...r,children:o&&s.jsxs(s.Fragment,{children:[i.label," ",n]})})})},aC="ToastTitle",tw=p.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return s.jsx(X.div,{...r,ref:t})});tw.displayName=aC;var lC="ToastDescription",nw=p.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return s.jsx(X.div,{...r,ref:t})});nw.displayName=lC;var rw="ToastAction",sw=p.forwardRef((e,t)=>{const{altText:n,...r}=e;return n.trim()?s.jsx(ow,{altText:n,asChild:!0,children:s.jsx(jm,{...r,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${rw}\`. Expected non-empty \`string\`.`),null)});sw.displayName=rw;var iw="ToastClose",jm=p.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e,i=sC(iw,n);return s.jsx(ow,{asChild:!0,children:s.jsx(X.button,{type:"button",...r,ref:t,onClick:U(e.onClick,i.onClose)})})});jm.displayName=iw;var ow=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 aw(e){const t=[];return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),dC(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(...aw(r))}}),t}function ja(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?Uv(i,o):i.dispatchEvent(o)}var sx=(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 cC(e=()=>{}){const t=Rt(e);Be(()=>{let n=0,r=0;return n=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(r)}},[t])}function dC(e){return e.nodeType===e.ELEMENT_NODE}function uC(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 sd(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}var hC=Qv,lw=Zv,cw=ew,dw=tw,uw=nw,hw=sw,mw=jm;function pw(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,ox=fw,nc=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return ox(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=ix(u)||ix(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[f,b]=w;return Array.isArray(b)?b.includes({...o,...l}[f]):{...o,...l}[f]===b})?[...d,h,m]:d},[]);return ox(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 mC=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),xw=(...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 pC={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 fC=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,...pC,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:xw("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 F=(e,t)=>{const n=p.forwardRef(({className:r,...i},o)=>p.createElement(fC,{ref:o,iconNode:t,className:xw(`lucide-${mC(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 Nm=F("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 Sm=F("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=F("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 gw=F("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 km=F("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 yw=F("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 Ru=F("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 xC=F("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 gC=F("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 Dt=F("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 Du=F("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 $o=F("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 Uo=F("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 Cm=F("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 Ho=F("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 yC=F("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 tt=F("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 vC=F("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 Am=F("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 wC=F("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 Ln=F("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 rc=F("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 bC=F("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 hi=F("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 jC=F("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 Em=F("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 NC=F("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 SC=F("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 kC=F("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 ax=F("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 CC=F("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 AC=F("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 lx=F("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 Tm=F("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 EC=F("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 Go=F("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 TC=F("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 IC=F("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 cx=F("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 PC=F("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 vw=F("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 Im=F("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 MC=F("Maximize2",[["polyline",{points:"15 3 21 3 21 9",key:"mznyad"}],["polyline",{points:"9 21 3 21 3 15",key:"1avn1i"}],["line",{x1:"21",x2:"14",y1:"3",y2:"10",key:"ota7mn"}],["line",{x1:"3",x2:"10",y1:"21",y2:"14",key:"1atl0r"}]]);/** * @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=F("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 ww=F("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 DC=F("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 LC=F("Minimize2",[["polyline",{points:"4 14 10 14 10 20",key:"11kfnr"}],["polyline",{points:"20 10 14 10 14 4",key:"rlmsce"}],["line",{x1:"14",x2:"21",y1:"10",y2:"3",key:"o5lafz"}],["line",{x1:"3",x2:"10",y1:"21",y2:"14",key:"1atl0r"}]]);/** * @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 Pm=F("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 Mm=F("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 OC=F("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 bw=F("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 id=F("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 FC=F("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 _C=F("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 jl=F("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 jw=F("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 VC=F("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 zC=F("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 sc=F("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 BC=F("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 WC=F("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 Rm=F("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 dx=F("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 $C=F("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 qo=F("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 UC=F("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 HC=F("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 GC=F("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 qC=F("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 Oe=F("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 YC=F("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 ls=F("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 at=F("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"}]]),Dm="-",KC=e=>{const t=XC(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:a=>{const l=a.split(Dm);return l[0]===""&&l.length!==1&&l.shift(),Nw(l,t)||QC(a)},getConflictingClassGroupIds:(a,l)=>{const c=n[a]||[];return l&&r[a]?[...c,...r[a]]:c}}},Nw=(e,t)=>{var a;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),i=r?Nw(e.slice(1),r):void 0;if(i)return i;if(t.validators.length===0)return;const o=e.join(Dm);return(a=t.validators.find(({validator:l})=>l(o)))==null?void 0:a.classGroupId},ux=/^\[(.+)\]$/,QC=e=>{if(ux.test(e)){const t=ux.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},XC=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return JC(Object.entries(e.classGroups),n).forEach(([o,a])=>{Lu(a,r,o,t)}),r},Lu=(e,t,n,r)=>{e.forEach(i=>{if(typeof i=="string"){const o=i===""?t:hx(t,i);o.classGroupId=n;return}if(typeof i=="function"){if(ZC(i)){Lu(i(r),t,n,r);return}t.validators.push({validator:i,classGroupId:n});return}Object.entries(i).forEach(([o,a])=>{Lu(a,hx(t,o),n,r)})})},hx=(e,t)=>{let n=e;return t.split(Dm).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},ZC=e=>e.isThemeGetter,JC=(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,eA=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)}}},Sw="!",tA=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:f}};return n?l=>n({className:l,parseClassName:a}):a},nA=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},rA=e=>({cache:eA(e.cacheSize),parseClassName:tA(e),...KC(e)}),sA=/\s+/,iA=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i}=t,o=[],a=e.trim().split(sA);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,f=r(w?m.substring(0,g):m);if(!f){if(!w){l=d+(l.length>0?" "+l:l);continue}if(f=r(m),!f){l=d+(l.length>0?" "+l:l);continue}w=!1}const b=nA(u).join(":"),v=h?b+Sw:b,x=v+f;if(o.includes(x))continue;o.push(x);const y=i(f,w);for(let j=0;j0?" "+l:l)}return l};function oA(){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=rA(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=iA(c,n);return i(c,u),u}return function(){return o(oA.apply(null,arguments))}}const he=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},Cw=/^\[(?:([a-z-]+):)?(.+)\]$/i,lA=/^\d+\/\d+$/,cA=new Set(["px","full","screen"]),dA=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,uA=/\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$/,hA=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,mA=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,pA=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,yn=e=>Fs(e)||cA.has(e)||lA.test(e),Wn=e=>mi(e,"length",jA),Fs=e=>!!e&&!Number.isNaN(Number(e)),od=e=>mi(e,"number",Fs),Pi=e=>!!e&&Number.isInteger(Number(e)),fA=e=>e.endsWith("%")&&Fs(e.slice(0,-1)),Q=e=>Cw.test(e),$n=e=>dA.test(e),xA=new Set(["length","size","percentage"]),gA=e=>mi(e,xA,Aw),yA=e=>mi(e,"position",Aw),vA=new Set(["image","url"]),wA=e=>mi(e,vA,SA),bA=e=>mi(e,"",NA),Mi=()=>!0,mi=(e,t,n)=>{const r=Cw.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},jA=e=>uA.test(e)&&!hA.test(e),Aw=()=>!1,NA=e=>mA.test(e),SA=e=>pA.test(e),kA=()=>{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"),f=he("inset"),b=he("margin"),v=he("opacity"),x=he("padding"),y=he("saturate"),j=he("scale"),N=he("sepia"),k=he("skew"),S=he("space"),C=he("translate"),M=()=>["auto","contain","none"],A=()=>["auto","hidden","clip","visible","scroll"],R=()=>["auto",Q,t],O=()=>[Q,t],H=()=>["",yn,Wn],T=()=>["auto",Fs,Q],W=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],_=()=>["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"],I=()=>["start","end","center","between","around","evenly","stretch"],L=()=>["","0",Q],B=()=>["auto","avoid","all","avoid-page","page","left","right","column"],K=()=>[Fs,Q];return{cacheSize:500,separator:":",theme:{colors:[Mi],spacing:[yn,Wn],blur:["none","",$n,Q],brightness:K(),borderColor:[e],borderRadius:["none","","full",$n,Q],borderSpacing:O(),borderWidth:H(),contrast:K(),grayscale:L(),hueRotate:K(),invert:L(),gap:O(),gradientColorStops:[e],gradientColorStopPositions:[fA,Wn],inset:R(),margin:R(),opacity:K(),padding:O(),saturate:K(),scale:K(),sepia:L(),skew:K(),space:O(),translate:O()},classGroups:{aspect:[{aspect:["auto","square","video",Q]}],container:["container"],columns:[{columns:[$n]}],"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:A()}],"overflow-x":[{"overflow-x":A()}],"overflow-y":[{"overflow-y":A()}],overscroll:[{overscroll:M()}],"overscroll-x":[{"overscroll-x":M()}],"overscroll-y":[{"overscroll-y":M()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[f]}],"inset-x":[{"inset-x":[f]}],"inset-y":[{"inset-y":[f]}],start:[{start:[f]}],end:[{end:[f]}],top:[{top:[f]}],right:[{right:[f]}],bottom:[{bottom:[f]}],left:[{left:[f]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Pi,Q]}],basis:[{basis:R()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",Q]}],grow:[{grow:L()}],shrink:[{shrink:L()}],order:[{order:["first","last","none",Pi,Q]}],"grid-cols":[{"grid-cols":[Mi]}],"col-start-end":[{col:["auto",{span:["full",Pi,Q]},Q]}],"col-start":[{"col-start":T()}],"col-end":[{"col-end":T()}],"grid-rows":[{"grid-rows":[Mi]}],"row-start-end":[{row:["auto",{span:[Pi,Q]},Q]}],"row-start":[{"row-start":T()}],"row-end":[{"row-end":T()}],"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",...I()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...I(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...I(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[x]}],px:[{px:[x]}],py:[{py:[x]}],ps:[{ps:[x]}],pe:[{pe:[x]}],pt:[{pt:[x]}],pr:[{pr:[x]}],pb:[{pb:[x]}],pl:[{pl:[x]}],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":[S]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[S]}],"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:[$n]},$n]}],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",$n,Wn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",od]}],"font-family":[{font:[Mi]}],"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",Fs,od]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",yn,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":[v]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[v]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[..._(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",yn,Wn]}],"underline-offset":[{"underline-offset":["auto",yn,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":[v]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...W(),yA]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",gA]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},wA]}],"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":[v]}],"border-style":[{border:[..._(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[v]}],"divide-style":[{divide:_()}],"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:["",..._()]}],"outline-offset":[{"outline-offset":[yn,Q]}],"outline-w":[{outline:[yn,Wn]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:H()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[v]}],"ring-offset-w":[{"ring-offset":[yn,Wn]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",$n,bA]}],"shadow-color":[{shadow:[Mi]}],opacity:[{opacity:[v]}],"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",$n,Q]}],grayscale:[{grayscale:[d]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[h]}],saturate:[{saturate:[y]}],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":[v]}],"backdrop-saturate":[{"backdrop-saturate":[y]}],"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:K()}],ease:[{ease:["linear","in","out","in-out",Q]}],delay:[{delay:K()}],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":[C]}],"translate-y":[{"translate-y":[C]}],"skew-x":[{"skew-x":[k]}],"skew-y":[{"skew-y":[k]}],"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:[yn,Wn,od]}],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"]}}},CA=aA(kA);function Z(...e){return CA(fw(e))}function es(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 AA=hC,Ew=p.forwardRef(({className:e,...t},n)=>s.jsx(lw,{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}));Ew.displayName=lw.displayName;const EA=nc("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"}}),Tw=p.forwardRef(({className:e,variant:t,...n},r)=>s.jsx(cw,{ref:r,className:Z(EA({variant:t}),e),...n}));Tw.displayName=cw.displayName;const TA=p.forwardRef(({className:e,...t},n)=>s.jsx(hw,{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}));TA.displayName=hw.displayName;const Iw=p.forwardRef(({className:e,...t},n)=>s.jsx(mw,{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(ls,{className:"h-4 w-4"})}));Iw.displayName=mw.displayName;const Pw=p.forwardRef(({className:e,...t},n)=>s.jsx(dw,{ref:n,className:Z("text-sm font-semibold",e),...t}));Pw.displayName=dw.displayName;const Mw=p.forwardRef(({className:e,...t},n)=>s.jsx(uw,{ref:n,className:Z("text-sm opacity-90",e),...t}));Mw.displayName=uw.displayName;function IA(){const{toasts:e}=ym();return s.jsxs(AA,{children:[e.map(function({id:t,title:n,description:r,action:i,...o}){return s.jsxs(Tw,{...o,children:[s.jsxs("div",{className:"grid gap-1",children:[n&&s.jsx(Pw,{children:n}),r&&s.jsx(Mw,{children:r})]}),i,s.jsx(Iw,{})]},t)}),s.jsx(Ew,{})]})}var PA=jh[" useId ".trim().toString()]||(()=>{}),MA=0;function En(e){const[t,n]=p.useState(PA());return Be(()=>{n(r=>r??String(MA++))},[e]),t?`radix-${t}`:""}const RA=["top","right","bottom","left"],gr=Math.min,pt=Math.max,Nl=Math.round,Na=Math.floor,hn=e=>({x:e,y:e}),DA={left:"right",right:"left",bottom:"top",top:"bottom"},LA={start:"end",end:"start"};function Ou(e,t,n){return pt(e,gr(t,n))}function On(e,t){return typeof e=="function"?e(t):e}function Fn(e){return e.split("-")[0]}function pi(e){return e.split("-")[1]}function Lm(e){return e==="x"?"y":"x"}function Om(e){return e==="y"?"height":"width"}const OA=new Set(["top","bottom"]);function cn(e){return OA.has(Fn(e))?"y":"x"}function Fm(e){return Lm(cn(e))}function FA(e,t,n){n===void 0&&(n=!1);const r=pi(e),i=Fm(e),o=Om(i);let a=i==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(a=Sl(a)),[a,Sl(a)]}function _A(e){const t=Sl(e);return[Fu(e),t,Fu(t)]}function Fu(e){return e.replace(/start|end/g,t=>LA[t])}const mx=["left","right"],px=["right","left"],VA=["top","bottom"],zA=["bottom","top"];function BA(e,t,n){switch(e){case"top":case"bottom":return n?t?px:mx:t?mx:px;case"left":case"right":return t?VA:zA;default:return[]}}function WA(e,t,n,r){const i=pi(e);let o=BA(Fn(e),n==="start",r);return i&&(o=o.map(a=>a+"-"+i),t&&(o=o.concat(o.map(Fu)))),o}function Sl(e){return e.replace(/left|right|bottom|top/g,t=>DA[t])}function $A(e){return{top:0,right:0,bottom:0,left:0,...e}}function Rw(e){return typeof e!="number"?$A(e):{top:e,right:e,bottom:e,left:e}}function kl(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 fx(e,t,n){let{reference:r,floating:i}=e;const o=cn(t),a=Fm(t),l=Om(a),c=Fn(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(pi(t)){case"start":g[a]-=m*(n&&d?-1:1);break;case"end":g[a]+=m*(n&&d?-1:1);break}return g}const UA=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}=fx(d,r,c),m=r,g={},w=0;for(let f=0;f({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}=On(e,t)||{};if(d==null)return{};const h=Rw(u),m={x:n,y:r},g=Fm(i),w=Om(g),f=await a.getDimensions(d),b=g==="y",v=b?"top":"left",x=b?"bottom":"right",y=b?"clientHeight":"clientWidth",j=o.reference[w]+o.reference[g]-m[g]-o.floating[w],N=m[g]-o.reference[g],k=await(a.getOffsetParent==null?void 0:a.getOffsetParent(d));let S=k?k[y]:0;(!S||!await(a.isElement==null?void 0:a.isElement(k)))&&(S=l.floating[y]||o.floating[w]);const C=j/2-N/2,M=S/2-f[w]/2-1,A=gr(h[v],M),R=gr(h[x],M),O=A,H=S-f[w]-R,T=S/2-f[w]/2+C,W=Ou(O,T,H),_=!c.arrow&&pi(i)!=null&&T!==W&&o.reference[w]/2-(TT<=0)){var R,O;const T=(((R=o.flip)==null?void 0:R.index)||0)+1,W=S[T];if(W&&(!(h==="alignment"?x!==cn(W):!1)||A.every(I=>cn(I.placement)===x?I.overflows[0]>0:!0)))return{data:{index:T,overflows:A},reset:{placement:W}};let _=(O=A.filter(V=>V.overflows[0]<=0).sort((V,I)=>V.overflows[1]-I.overflows[1])[0])==null?void 0:O.placement;if(!_)switch(g){case"bestFit":{var H;const V=(H=A.filter(I=>{if(k){const L=cn(I.placement);return L===x||L==="y"}return!0}).map(I=>[I.placement,I.overflows.filter(L=>L>0).reduce((L,B)=>L+B,0)]).sort((I,L)=>I[1]-L[1])[0])==null?void 0:H[0];V&&(_=V);break}case"initialPlacement":_=l;break}if(i!==_)return{reset:{placement:_}}}return{}}}};function xx(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function gx(e){return RA.some(t=>e[t]>=0)}const qA=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...i}=On(e,t);switch(r){case"referenceHidden":{const o=await jo(t,{...i,elementContext:"reference"}),a=xx(o,n.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:gx(a)}}}case"escaped":{const o=await jo(t,{...i,altBoundary:!0}),a=xx(o,n.floating);return{data:{escapedOffsets:a,escaped:gx(a)}}}default:return{}}}}},Dw=new Set(["left","top"]);async function YA(e,t){const{placement:n,platform:r,elements:i}=e,o=await(r.isRTL==null?void 0:r.isRTL(i.floating)),a=Fn(n),l=pi(n),c=cn(n)==="y",d=Dw.has(a)?-1:1,u=o&&c?-1:1,h=On(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 KA=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 YA(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}}}}},QA=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:v,y:x}=b;return{x:v,y:x}}},...c}=On(e,t),d={x:n,y:r},u=await jo(t,c),h=cn(Fn(i)),m=Lm(h);let g=d[m],w=d[h];if(o){const b=m==="y"?"top":"left",v=m==="y"?"bottom":"right",x=g+u[b],y=g-u[v];g=Ou(x,g,y)}if(a){const b=h==="y"?"top":"left",v=h==="y"?"bottom":"right",x=w+u[b],y=w-u[v];w=Ou(x,w,y)}const f=l.fn({...t,[m]:g,[h]:w});return{...f,data:{x:f.x-n,y:f.y-r,enabled:{[m]:o,[h]:a}}}}}},XA=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}=On(e,t),u={x:n,y:r},h=cn(i),m=Lm(h);let g=u[m],w=u[h];const f=On(l,t),b=typeof f=="number"?{mainAxis:f,crossAxis:0}:{mainAxis:0,crossAxis:0,...f};if(c){const y=m==="y"?"height":"width",j=o.reference[m]-o.floating[y]+b.mainAxis,N=o.reference[m]+o.reference[y]-b.mainAxis;gN&&(g=N)}if(d){var v,x;const y=m==="y"?"width":"height",j=Dw.has(Fn(i)),N=o.reference[h]-o.floating[y]+(j&&((v=a.offset)==null?void 0:v[h])||0)+(j?0:b.crossAxis),k=o.reference[h]+o.reference[y]+(j?0:((x=a.offset)==null?void 0:x[h])||0)-(j?b.crossAxis:0);wk&&(w=k)}return{[m]:g,[h]:w}}}},ZA=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}=On(e,t),u=await jo(t,d),h=Fn(i),m=pi(i),g=cn(i)==="y",{width:w,height:f}=o.floating;let b,v;h==="top"||h==="bottom"?(b=h,v=m===(await(a.isRTL==null?void 0:a.isRTL(l.floating))?"start":"end")?"left":"right"):(v=h,b=m==="end"?"top":"bottom");const x=f-u.top-u.bottom,y=w-u.left-u.right,j=gr(f-u[b],x),N=gr(w-u[v],y),k=!t.middlewareData.shift;let S=j,C=N;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(C=y),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(S=x),k&&!m){const A=pt(u.left,0),R=pt(u.right,0),O=pt(u.top,0),H=pt(u.bottom,0);g?C=w-2*(A!==0||R!==0?A+R:pt(u.left,u.right)):S=f-2*(O!==0||H!==0?O+H:pt(u.top,u.bottom))}await c({...t,availableWidth:C,availableHeight:S});const M=await a.getDimensions(l.floating);return w!==M.width||f!==M.height?{reset:{rects:!0}}:{}}}};function ic(){return typeof window<"u"}function fi(e){return Lw(e)?(e.nodeName||"").toLowerCase():"#document"}function gt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function xn(e){var t;return(t=(Lw(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Lw(e){return ic()?e instanceof Node||e instanceof gt(e).Node:!1}function Yt(e){return ic()?e instanceof Element||e instanceof gt(e).Element:!1}function fn(e){return ic()?e instanceof HTMLElement||e instanceof gt(e).HTMLElement:!1}function yx(e){return!ic()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof gt(e).ShadowRoot}const JA=new Set(["inline","contents"]);function Yo(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=Kt(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!JA.has(i)}const eE=new Set(["table","td","th"]);function tE(e){return eE.has(fi(e))}const nE=[":popover-open",":modal"];function oc(e){return nE.some(t=>{try{return e.matches(t)}catch{return!1}})}const rE=["transform","translate","scale","rotate","perspective"],sE=["transform","translate","scale","rotate","perspective","filter"],iE=["paint","layout","strict","content"];function _m(e){const t=Vm(),n=Yt(e)?Kt(e):e;return rE.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)||sE.some(r=>(n.willChange||"").includes(r))||iE.some(r=>(n.contain||"").includes(r))}function oE(e){let t=yr(e);for(;fn(t)&&!ri(t);){if(_m(t))return t;if(oc(t))return null;t=yr(t)}return null}function Vm(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const aE=new Set(["html","body","#document"]);function ri(e){return aE.has(fi(e))}function Kt(e){return gt(e).getComputedStyle(e)}function ac(e){return Yt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function yr(e){if(fi(e)==="html")return e;const t=e.assignedSlot||e.parentNode||yx(e)&&e.host||xn(e);return yx(t)?t.host:t}function Ow(e){const t=yr(e);return ri(t)?e.ownerDocument?e.ownerDocument.body:e.body:fn(t)&&Yo(t)?t:Ow(t)}function No(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const i=Ow(e),o=i===((r=e.ownerDocument)==null?void 0:r.body),a=gt(i);if(o){const l=_u(a);return t.concat(a,a.visualViewport||[],Yo(i)?i:[],l&&n?No(l):[])}return t.concat(i,No(i,[],n))}function _u(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Fw(e){const t=Kt(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=fn(e),o=i?e.offsetWidth:n,a=i?e.offsetHeight:r,l=Nl(n)!==o||Nl(r)!==a;return l&&(n=o,r=a),{width:n,height:r,$:l}}function zm(e){return Yt(e)?e:e.contextElement}function _s(e){const t=zm(e);if(!fn(t))return hn(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:o}=Fw(t);let a=(o?Nl(n.width):n.width)/r,l=(o?Nl(n.height):n.height)/i;return(!a||!Number.isFinite(a))&&(a=1),(!l||!Number.isFinite(l))&&(l=1),{x:a,y:l}}const lE=hn(0);function _w(e){const t=gt(e);return!Vm()||!t.visualViewport?lE:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function cE(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==gt(e)?!1:t}function ts(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const i=e.getBoundingClientRect(),o=zm(e);let a=hn(1);t&&(r?Yt(r)&&(a=_s(r)):a=_s(e));const l=cE(o,n,r)?_w(o):hn(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=gt(o),g=r&&Yt(r)?gt(r):r;let w=m,f=_u(w);for(;f&&r&&g!==w;){const b=_s(f),v=f.getBoundingClientRect(),x=Kt(f),y=v.left+(f.clientLeft+parseFloat(x.paddingLeft))*b.x,j=v.top+(f.clientTop+parseFloat(x.paddingTop))*b.y;c*=b.x,d*=b.y,u*=b.x,h*=b.y,c+=y,d+=j,w=gt(f),f=_u(w)}}return kl({width:u,height:h,x:c,y:d})}function lc(e,t){const n=ac(e).scrollLeft;return t?t.left+n:ts(xn(e)).left+n}function Vw(e,t){const n=e.getBoundingClientRect(),r=n.left+t.scrollLeft-lc(e,n),i=n.top+t.scrollTop;return{x:r,y:i}}function dE(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e;const o=i==="fixed",a=xn(r),l=t?oc(t.floating):!1;if(r===a||l&&o)return n;let c={scrollLeft:0,scrollTop:0},d=hn(1);const u=hn(0),h=fn(r);if((h||!h&&!o)&&((fi(r)!=="body"||Yo(a))&&(c=ac(r)),fn(r))){const g=ts(r);d=_s(r),u.x=g.x+r.clientLeft,u.y=g.y+r.clientTop}const m=a&&!h&&!o?Vw(a,c):hn(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 uE(e){return Array.from(e.getClientRects())}function hE(e){const t=xn(e),n=ac(e),r=e.ownerDocument.body,i=pt(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=pt(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+lc(e);const l=-n.scrollTop;return Kt(r).direction==="rtl"&&(a+=pt(t.clientWidth,r.clientWidth)-i),{width:i,height:o,x:a,y:l}}const vx=25;function mE(e,t){const n=gt(e),r=xn(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=Vm();(!u||u&&t==="fixed")&&(l=i.offsetLeft,c=i.offsetTop)}const d=lc(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<=vx&&(o-=w)}else d<=vx&&(o+=d);return{width:o,height:a,x:l,y:c}}const pE=new Set(["absolute","fixed"]);function fE(e,t){const n=ts(e,!0,t==="fixed"),r=n.top+e.clientTop,i=n.left+e.clientLeft,o=fn(e)?_s(e):hn(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 wx(e,t,n){let r;if(t==="viewport")r=mE(e,n);else if(t==="document")r=hE(xn(e));else if(Yt(t))r=fE(t,n);else{const i=_w(e);r={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return kl(r)}function zw(e,t){const n=yr(e);return n===t||!Yt(n)||ri(n)?!1:Kt(n).position==="fixed"||zw(n,t)}function xE(e,t){const n=t.get(e);if(n)return n;let r=No(e,[],!1).filter(l=>Yt(l)&&fi(l)!=="body"),i=null;const o=Kt(e).position==="fixed";let a=o?yr(e):e;for(;Yt(a)&&!ri(a);){const l=Kt(a),c=_m(a);!c&&l.position==="fixed"&&(i=null),(o?!c&&!i:!c&&l.position==="static"&&!!i&&pE.has(i.position)||Yo(a)&&!c&&zw(e,a))?r=r.filter(u=>u!==a):i=l,a=yr(a)}return t.set(e,r),r}function gE(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const a=[...n==="clippingAncestors"?oc(t)?[]:xE(t,this._c):[].concat(n),r],l=a[0],c=a.reduce((d,u)=>{const h=wx(t,u,i);return d.top=pt(h.top,d.top),d.right=gr(h.right,d.right),d.bottom=gr(h.bottom,d.bottom),d.left=pt(h.left,d.left),d},wx(t,l,i));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function yE(e){const{width:t,height:n}=Fw(e);return{width:t,height:n}}function vE(e,t,n){const r=fn(t),i=xn(t),o=n==="fixed",a=ts(e,!0,o,t);let l={scrollLeft:0,scrollTop:0};const c=hn(0);function d(){c.x=lc(i)}if(r||!r&&!o)if((fi(t)!=="body"||Yo(i))&&(l=ac(t)),r){const g=ts(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?Vw(i,l):hn(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 ad(e){return Kt(e).position==="static"}function bx(e,t){if(!fn(e)||Kt(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return xn(e)===n&&(n=n.ownerDocument.body),n}function Bw(e,t){const n=gt(e);if(oc(e))return n;if(!fn(e)){let i=yr(e);for(;i&&!ri(i);){if(Yt(i)&&!ad(i))return i;i=yr(i)}return n}let r=bx(e,t);for(;r&&tE(r)&&ad(r);)r=bx(r,t);return r&&ri(r)&&ad(r)&&!_m(r)?n:r||oE(e)||n}const wE=async function(e){const t=this.getOffsetParent||Bw,n=this.getDimensions,r=await n(e.floating);return{reference:vE(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function bE(e){return Kt(e).direction==="rtl"}const jE={convertOffsetParentRelativeRectToViewportRelativeRect:dE,getDocumentElement:xn,getClippingRect:gE,getOffsetParent:Bw,getElementRects:wE,getClientRects:uE,getDimensions:yE,getScale:_s,isElement:Yt,isRTL:bE};function Ww(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function NE(e,t){let n=null,r;const i=xn(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=Na(h),f=Na(i.clientWidth-(u+m)),b=Na(i.clientHeight-(h+g)),v=Na(u),y={rootMargin:-w+"px "+-f+"px "+-b+"px "+-v+"px",threshold:pt(0,gr(1,c))||1};let j=!0;function N(k){const S=k[0].intersectionRatio;if(S!==c){if(!j)return a();S?a(!1,S):r=setTimeout(()=>{a(!1,1e-7)},1e3)}S===1&&!Ww(d,e.getBoundingClientRect())&&a(),j=!1}try{n=new IntersectionObserver(N,{...y,root:i.ownerDocument})}catch{n=new IntersectionObserver(N,y)}n.observe(e)}return a(!0),o}function SE(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=zm(e),u=i||o?[...d?No(d):[],...No(t)]:[];u.forEach(v=>{i&&v.addEventListener("scroll",n,{passive:!0}),o&&v.addEventListener("resize",n)});const h=d&&l?NE(d,n):null;let m=-1,g=null;a&&(g=new ResizeObserver(v=>{let[x]=v;x&&x.target===d&&g&&(g.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var y;(y=g)==null||y.observe(t)})),n()}),d&&!c&&g.observe(d),g.observe(t));let w,f=c?ts(e):null;c&&b();function b(){const v=ts(e);f&&!Ww(f,v)&&n(),f=v,w=requestAnimationFrame(b)}return n(),()=>{var v;u.forEach(x=>{i&&x.removeEventListener("scroll",n),o&&x.removeEventListener("resize",n)}),h==null||h(),(v=g)==null||v.disconnect(),g=null,c&&cancelAnimationFrame(w)}}const kE=KA,CE=QA,AE=GA,EE=ZA,TE=qA,jx=HA,IE=XA,PE=(e,t,n)=>{const r=new Map,i={platform:jE,...n},o={...i.platform,_c:r};return UA(e,t,{...i,platform:o})};var ME=typeof document<"u",RE=function(){},Ha=ME?p.useLayoutEffect:RE;function Cl(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(!Cl(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)&&!Cl(e[o],t[o]))return!1}return!0}return e!==e&&t!==t}function $w(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Nx(e,t){const n=$w(e);return Math.round(t*n)/n}function ld(e){const t=p.useRef(e);return Ha(()=>{t.current=e}),t}function DE(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);Cl(m,r)||g(r);const[w,f]=p.useState(null),[b,v]=p.useState(null),x=p.useCallback(I=>{I!==k.current&&(k.current=I,f(I))},[]),y=p.useCallback(I=>{I!==S.current&&(S.current=I,v(I))},[]),j=o||w,N=a||b,k=p.useRef(null),S=p.useRef(null),C=p.useRef(u),M=c!=null,A=ld(c),R=ld(i),O=ld(d),H=p.useCallback(()=>{if(!k.current||!S.current)return;const I={placement:t,strategy:n,middleware:m};R.current&&(I.platform=R.current),PE(k.current,S.current,I).then(L=>{const B={...L,isPositioned:O.current!==!1};T.current&&!Cl(C.current,B)&&(C.current=B,as.flushSync(()=>{h(B)}))})},[m,t,n,R,O]);Ha(()=>{d===!1&&C.current.isPositioned&&(C.current.isPositioned=!1,h(I=>({...I,isPositioned:!1})))},[d]);const T=p.useRef(!1);Ha(()=>(T.current=!0,()=>{T.current=!1}),[]),Ha(()=>{if(j&&(k.current=j),N&&(S.current=N),j&&N){if(A.current)return A.current(j,N,H);H()}},[j,N,H,A,M]);const W=p.useMemo(()=>({reference:k,floating:S,setReference:x,setFloating:y}),[x,y]),_=p.useMemo(()=>({reference:j,floating:N}),[j,N]),V=p.useMemo(()=>{const I={position:n,left:0,top:0};if(!_.floating)return I;const L=Nx(_.floating,u.x),B=Nx(_.floating,u.y);return l?{...I,transform:"translate("+L+"px, "+B+"px)",...$w(_.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:L,top:B}},[n,l,_.floating,u.x,u.y]);return p.useMemo(()=>({...u,update:H,refs:W,elements:_,floatingStyles:V}),[u,H,W,_,V])}const LE=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?jx({element:r.current,padding:i}).fn(n):{}:r?jx({element:r,padding:i}).fn(n):{}}}},OE=(e,t)=>({...kE(e),options:[e,t]}),FE=(e,t)=>({...CE(e),options:[e,t]}),_E=(e,t)=>({...IE(e),options:[e,t]}),VE=(e,t)=>({...AE(e),options:[e,t]}),zE=(e,t)=>({...EE(e),options:[e,t]}),BE=(e,t)=>({...TE(e),options:[e,t]}),WE=(e,t)=>({...LE(e),options:[e,t]});var $E="Arrow",Uw=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"})})});Uw.displayName=$E;var UE=Uw;function HE(e){const[t,n]=p.useState(void 0);return Be(()=>{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 Bm="Popper",[Hw,cc]=Sr(Bm),[GE,Gw]=Hw(Bm),qw=e=>{const{__scopePopper:t,children:n}=e,[r,i]=p.useState(null);return s.jsx(GE,{scope:t,anchor:r,onAnchorChange:i,children:n})};qw.displayName=Bm;var Yw="PopperAnchor",Kw=p.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...i}=e,o=Gw(Yw,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})});Kw.displayName=Yw;var Wm="PopperContent",[qE,YE]=Hw(Wm),Qw=p.forwardRef((e,t)=>{var G,ue,We,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,...f}=e,b=Gw(Wm,n),[v,x]=p.useState(null),y=de(t,ht=>x(ht)),[j,N]=p.useState(null),k=HE(j),S=(k==null?void 0:k.width)??0,C=(k==null?void 0:k.height)??0,M=r+(o!=="center"?"-"+o:""),A=typeof u=="number"?u:{top:0,right:0,bottom:0,left:0,...u},R=Array.isArray(d)?d:[d],O=R.length>0,H={padding:A,boundary:R.filter(QE),altBoundary:O},{refs:T,floatingStyles:W,placement:_,isPositioned:V,middlewareData:I}=DE({strategy:"fixed",placement:M,whileElementsMounted:(...ht)=>SE(...ht,{animationFrame:g==="always"}),elements:{reference:b.anchor},middleware:[OE({mainAxis:i+C,alignmentAxis:a}),c&&FE({mainAxis:!0,crossAxis:!1,limiter:h==="partial"?_E():void 0,...H}),c&&VE({...H}),zE({...H,apply:({elements:ht,rects:Zt,availableWidth:wi,availableHeight:bi})=>{const{width:ji,height:Oj}=Zt.reference,ta=ht.floating.style;ta.setProperty("--radix-popper-available-width",`${wi}px`),ta.setProperty("--radix-popper-available-height",`${bi}px`),ta.setProperty("--radix-popper-anchor-width",`${ji}px`),ta.setProperty("--radix-popper-anchor-height",`${Oj}px`)}}),j&&WE({element:j,padding:l}),XE({arrowWidth:S,arrowHeight:C}),m&&BE({strategy:"referenceHidden",...H})]}),[L,B]=Jw(_),K=Rt(w);Be(()=>{V&&(K==null||K())},[V,K]);const re=(G=I.arrow)==null?void 0:G.x,Xe=(ue=I.arrow)==null?void 0:ue.y,Te=((We=I.arrow)==null?void 0:We.centerOffset)!==0,[Xt,Ze]=p.useState();return Be(()=>{v&&Ze(window.getComputedStyle(v).zIndex)},[v]),s.jsx("div",{ref:T.setFloating,"data-radix-popper-content-wrapper":"",style:{...W,transform:V?W.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Xt,"--radix-popper-transform-origin":[(le=I.transformOrigin)==null?void 0:le.x,(se=I.transformOrigin)==null?void 0:se.y].join(" "),...((ie=I.hide)==null?void 0:ie.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:s.jsx(qE,{scope:n,placedSide:L,onArrowChange:N,arrowX:re,arrowY:Xe,shouldHideArrow:Te,children:s.jsx(X.div,{"data-side":L,"data-align":B,...f,ref:y,style:{...f.style,animation:V?void 0:"none"}})})})});Qw.displayName=Wm;var Xw="PopperArrow",KE={top:"bottom",right:"left",bottom:"top",left:"right"},Zw=p.forwardRef(function(t,n){const{__scopePopper:r,...i}=t,o=YE(Xw,r),a=KE[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(UE,{...i,ref:n,style:{...i.style,display:"block"}})})});Zw.displayName=Xw;function QE(e){return e!==null}var XE=e=>({name:"transformOrigin",options:e,fn(t){var b,v,x;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]=Jw(n),h={start:"0%",center:"50%",end:"100%"}[u],m=(((v=i.arrow)==null?void 0:v.x)??0)+l/2,g=(((x=i.arrow)==null?void 0:x.y)??0)+c/2;let w="",f="";return d==="bottom"?(w=a?h:`${m}px`,f=`${-c}px`):d==="top"?(w=a?h:`${m}px`,f=`${r.floating.height+c}px`):d==="right"?(w=`${-c}px`,f=a?h:`${g}px`):d==="left"&&(w=`${r.floating.width+c}px`,f=a?h:`${g}px`),{data:{x:w,y:f}}}});function Jw(e){const[t,n="center"]=e.split("-");return[t,n]}var e1=qw,t1=Kw,n1=Qw,r1=Zw,[dc]=Sr("Tooltip",[cc]),uc=cc(),s1="TooltipProvider",ZE=700,Vu="tooltip.open",[JE,$m]=dc(s1),i1=e=>{const{__scopeTooltip:t,delayDuration:n=ZE,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(JE,{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})};i1.displayName=s1;var So="Tooltip",[eT,Ko]=dc(So),o1=e=>{const{__scopeTooltip:t,children:n,open:r,defaultOpen:i,onOpenChange:o,disableHoverableContent:a,delayDuration:l}=e,c=$m(So,e.__scopeTooltip),d=uc(t),[u,h]=p.useState(null),m=En(),g=p.useRef(0),w=a??c.disableHoverableContent,f=l??c.delayDuration,b=p.useRef(!1),[v,x]=Jr({prop:r,defaultProp:i??!1,onChange:S=>{S?(c.onOpen(),document.dispatchEvent(new CustomEvent(Vu))):c.onClose(),o==null||o(S)},caller:So}),y=p.useMemo(()=>v?b.current?"delayed-open":"instant-open":"closed",[v]),j=p.useCallback(()=>{window.clearTimeout(g.current),g.current=0,b.current=!1,x(!0)},[x]),N=p.useCallback(()=>{window.clearTimeout(g.current),g.current=0,x(!1)},[x]),k=p.useCallback(()=>{window.clearTimeout(g.current),g.current=window.setTimeout(()=>{b.current=!0,x(!0),g.current=0},f)},[f,x]);return p.useEffect(()=>()=>{g.current&&(window.clearTimeout(g.current),g.current=0)},[]),s.jsx(e1,{...d,children:s.jsx(eT,{scope:t,contentId:m,open:v,stateAttribute:y,trigger:u,onTriggerChange:h,onTriggerEnter:p.useCallback(()=>{c.isOpenDelayedRef.current?k():j()},[c.isOpenDelayedRef,k,j]),onTriggerLeave:p.useCallback(()=>{w?N():(window.clearTimeout(g.current),g.current=0)},[N,w]),onOpen:j,onClose:N,disableHoverableContent:w,children:n})})};o1.displayName=So;var zu="TooltipTrigger",a1=p.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,i=Ko(zu,n),o=$m(zu,n),a=uc(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(t1,{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)})})});a1.displayName=zu;var Um="TooltipPortal",[tT,nT]=dc(Um,{forceMount:void 0}),l1=e=>{const{__scopeTooltip:t,forceMount:n,children:r,container:i}=e,o=Ko(Um,t);return s.jsx(tT,{scope:t,forceMount:n,children:s.jsx(kr,{present:n||o.open,children:s.jsx(Bo,{asChild:!0,container:i,children:r})})})};l1.displayName=Um;var si="TooltipContent",c1=p.forwardRef((e,t)=>{const n=nT(si,e.__scopeTooltip),{forceMount:r=n.forceMount,side:i="top",...o}=e,a=Ko(si,e.__scopeTooltip);return s.jsx(kr,{present:r||a.open,children:a.disableHoverableContent?s.jsx(d1,{side:i,...o,ref:t}):s.jsx(rT,{side:i,...o,ref:t})})}),rT=p.forwardRef((e,t)=>{const n=Ko(si,e.__scopeTooltip),r=$m(si,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,f)=>{const b=w.currentTarget,v={x:w.clientX,y:w.clientY},x=aT(v,b.getBoundingClientRect()),y=lT(v,x),j=cT(f.getBoundingClientRect()),N=uT([...y,...j]);l(N),h(!0)},[h]);return p.useEffect(()=>()=>m(),[m]),p.useEffect(()=>{if(c&&u){const w=b=>g(b,u),f=b=>g(b,c);return c.addEventListener("pointerleave",w),u.addEventListener("pointerleave",f),()=>{c.removeEventListener("pointerleave",w),u.removeEventListener("pointerleave",f)}}},[c,u,g,m]),p.useEffect(()=>{if(a){const w=f=>{const b=f.target,v={x:f.clientX,y:f.clientY},x=(c==null?void 0:c.contains(b))||(u==null?void 0:u.contains(b)),y=!dT(v,a);x?m():y&&(m(),d())};return document.addEventListener("pointermove",w),()=>document.removeEventListener("pointermove",w)}},[c,u,a,d,m]),s.jsx(d1,{...e,ref:o})}),[sT,iT]=dc(So,{isInside:!1}),oT=C4("TooltipContent"),d1=p.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":i,onEscapeKeyDown:o,onPointerDownOutside:a,...l}=e,c=Ko(si,n),d=uc(n),{onClose:u}=c;return p.useEffect(()=>(document.addEventListener(Vu,u),()=>document.removeEventListener(Vu,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(zo,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:o,onPointerDownOutside:a,onFocusOutside:h=>h.preventDefault(),onDismiss:u,children:s.jsxs(n1,{"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(oT,{children:r}),s.jsx(sT,{scope:n,isInside:!0,children:s.jsx(Y4,{id:c.contentId,role:"tooltip",children:i||r})})]})})});c1.displayName=si;var u1="TooltipArrow",h1=p.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,i=uc(n);return iT(u1,n).isInside?null:s.jsx(r1,{...i,...r,ref:t})});h1.displayName=u1;function aT(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 lT(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 cT(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 dT(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 uT(e){const t=e.slice();return t.sort((n,r)=>n.xr.x?1:n.yr.y?1:0),hT(t)}function hT(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 mT=i1,GD=o1,qD=a1,YD=l1,m1=c1,KD=h1;const pT=mT,fT=p.forwardRef(({className:e,sideOffset:t=4,...n},r)=>s.jsx(m1,{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}));fT.displayName=m1.displayName;const $t=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}));$t.displayName="Card";const tn=p.forwardRef(({className:e,...t},n)=>s.jsx("div",{ref:n,className:Z("flex flex-col space-y-1.5 p-6",e),...t}));tn.displayName="CardHeader";const jn=p.forwardRef(({className:e,...t},n)=>s.jsx("div",{ref:n,className:Z("text-2xl font-semibold leading-none tracking-tight",e),...t}));jn.displayName="CardTitle";const p1=p.forwardRef(({className:e,...t},n)=>s.jsx("div",{ref:n,className:Z("text-sm text-muted-foreground",e),...t}));p1.displayName="CardDescription";const nn=p.forwardRef(({className:e,...t},n)=>s.jsx("div",{ref:n,className:Z("p-6 pt-0",e),...t}));nn.displayName="CardContent";const xT=p.forwardRef(({className:e,...t},n)=>s.jsx("div",{ref:n,className:Z("flex items-center p-6 pt-0",e),...t}));xT.displayName="CardFooter";const Bu="https://synapseai.us",gT=`${Bu}/og-image.png`,yT="Synapse AI Solutions — Agentic AI, Research Labs, Talent & Training";function Nt(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 vT(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 Qe=({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,Nt("name","title",e),Nt("property","og:title",e),Nt("property","twitter:title",e),t&&(Nt("name","description",t),Nt("property","og:description",t),Nt("property","twitter:description",t));const c=Bu+(n??window.location.pathname);vT("canonical",c),Nt("property","og:url",c),Nt("property","twitter:url",c),Nt("property","og:type",i);const d=r?r.startsWith("http")?r:Bu+r:gT;Nt("property","og:image",d),Nt("property","twitter:image",d),Nt("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=yT,u&&u.parentNode&&u.parentNode.removeChild(u)}},[e,t,n,r,i,o,l])},xi={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 wT(){return Qe({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($t,{className:"w-full max-w-md",children:s.jsxs(nn,{className:"pt-6",children:[s.jsxs("div",{className:"flex mb-4 gap-2 items-center",children:[s.jsx(wC,{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 f1=p.createContext({});function bT(e){const t=p.useRef(null);return t.current===null&&(t.current=e()),t.current}const Hm=p.createContext(null),x1=p.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function jT(e=!0){const t=p.useContext(Hm);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 Gm=typeof window<"u",NT=Gm?p.useLayoutEffect:p.useEffect,yt=e=>e;let g1=yt;function qm(e){let t;return()=>(t===void 0&&(t=e()),t)}const ii=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},Tn=e=>e*1e3,In=e=>e/1e3,ST={useManualTiming:!1};function kT(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 Sa=["read","resolveKeyframes","update","preRender","render","postRender"],CT=40;function y1(e,t){let n=!1,r=!0;const i={delta:0,timestamp:0,isProcessing:!1},o=()=>n=!0,a=Sa.reduce((v,x)=>(v[x]=kT(o),v),{}),{read:l,resolveKeyframes:c,update:d,preRender:u,render:h,postRender:m}=a,g=()=>{const v=performance.now();n=!1,i.delta=r?1e3/60:Math.max(Math.min(v-i.timestamp,CT),1),i.timestamp=v,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:Sa.reduce((v,x)=>{const y=a[x];return v[x]=(j,N=!1,k=!1)=>(n||w(),y.schedule(j,N,k)),v},{}),cancel:v=>{for(let x=0;xSx[e].some(n=>!!t[n])};function AT(e){for(const t in e)oi[t]={...oi[t],...e[t]}}const ET=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 Al(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||ET.has(e)}let w1=e=>!Al(e);function TT(e){e&&(w1=t=>t.startsWith("on")?!Al(t):e(t))}try{TT(require("@emotion/is-prop-valid").default)}catch{}function IT(e,t,n){const r={};for(const i in e)i==="values"&&typeof e.values=="object"||(w1(i)||n===!0&&Al(i)||!t&&!Al(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}function PT(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 hc=p.createContext({});function ko(e){return typeof e=="string"||Array.isArray(e)}function mc(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}const Ym=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Km=["initial",...Ym];function pc(e){return mc(e.animate)||Km.some(t=>ko(e[t]))}function b1(e){return!!(pc(e)||e.variants)}function MT(e,t){if(pc(e)){const{initial:n,animate:r}=e;return{initial:n===!1||ko(n)?n:void 0,animate:ko(r)?r:void 0}}return e.inherit!==!1?t:{}}function RT(e){const{initial:t,animate:n}=MT(e,p.useContext(hc));return p.useMemo(()=>({initial:t,animate:n}),[kx(t),kx(n)])}function kx(e){return Array.isArray(e)?e.join(" "):e}const DT=Symbol.for("motionComponentSymbol");function Cs(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function LT(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):Cs(n)&&(n.current=r))},[t])}const Qm=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),OT="framerAppearId",j1="data-"+Qm(OT),{schedule:Xm}=y1(queueMicrotask,!1),N1=p.createContext({});function FT(e,t,n,r,i){var o,a;const{visualElement:l}=p.useContext(hc),c=p.useContext(v1),d=p.useContext(Hm),u=p.useContext(x1).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(N1);m&&!m.projection&&i&&(m.type==="html"||m.type==="svg")&&_T(h.current,n,i,g);const w=p.useRef(!1);p.useInsertionEffect(()=>{m&&w.current&&m.update(n,d)});const f=n[j1],b=p.useRef(!!f&&!(!((o=window.MotionHandoffIsComplete)===null||o===void 0)&&o.call(window,f))&&((a=window.MotionHasOptimisedAnimation)===null||a===void 0?void 0:a.call(window,f)));return NT(()=>{m&&(w.current=!0,window.MotionIsMounted=!0,m.updateFeatures(),Xm.render(m.render),b.current&&m.animationState&&m.animationState.animateChanges())}),p.useEffect(()=>{m&&(!b.current&&m.animationState&&m.animationState.animateChanges(),b.current&&(queueMicrotask(()=>{var v;(v=window.MotionHandoffMarkAsComplete)===null||v===void 0||v.call(window,f)}),b.current=!1))}),m}function _T(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:S1(e.parent)),e.projection.setOptions({layoutId:i,layout:o,alwaysMeasureLayout:!!a||l&&Cs(l),visualElement:e,animationType:typeof o=="string"?o:"both",initialPromotionConfig:r,layoutScroll:c,layoutRoot:d})}function S1(e){if(e)return e.options.allowProjection!==!1?e.projection:S1(e.parent)}function VT({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:i}){var o,a;e&&AT(e);function l(d,u){let h;const m={...p.useContext(x1),...d,layoutId:zT(d)},{isStatic:g}=m,w=RT(d),f=r(d,g);if(!g&&Gm){BT();const b=WT(m);h=b.MeasureLayout,w.visualElement=FT(i,f,m,t,b.ProjectionNode)}return s.jsxs(hc.Provider,{value:w,children:[h&&w.visualElement?s.jsx(h,{visualElement:w.visualElement,...m}):null,n(i,d,LT(f,w.visualElement,u),f,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[DT]=i,c}function zT({layoutId:e}){const t=p.useContext(f1).id;return t&&e!==void 0?t+"-"+e:e}function BT(e,t){p.useContext(v1).strict}function WT(e){const{drag:t,layout:n}=oi;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 $T=["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 Zm(e){return typeof e!="string"||e.includes("-")?!1:!!($T.indexOf(e)>-1||/[A-Z]/u.test(e))}function Cx(e){const t=[{},{}];return e==null||e.values.forEach((n,r)=>{t[0][r]=n.get(),t[1][r]=n.getVelocity()}),t}function Jm(e,t,n,r){if(typeof t=="function"){const[i,o]=Cx(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]=Cx(r);t=t(n!==void 0?n:e.custom,i,o)}return t}const Wu=e=>Array.isArray(e),UT=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),HT=e=>Wu(e)?e[e.length-1]||0:e,Ye=e=>!!(e&&e.getVelocity);function Ga(e){const t=Ye(e)?e.get():e;return UT(t)?t.toValue():t}function GT({scrapeMotionValuesFromProps:e,createRenderState:t,onUpdate:n},r,i,o){const a={latestValues:qT(r,i,o,e),renderState:t()};return n&&(a.onMount=l=>n({props:r,current:l,...a}),a.onUpdate=l=>n(l)),a}const k1=e=>(t,n)=>{const r=p.useContext(hc),i=p.useContext(Hm),o=()=>GT(e,t,r,i);return n?o():bT(o)};function qT(e,t,n,r){const i={},o=r(e,{});for(const m in o)i[m]=Ga(o[m]);let{initial:a,animate:l}=e;const c=pc(e),d=b1(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"&&!mc(h)){const m=Array.isArray(h)?h:[h];for(let g=0;gt=>typeof t=="string"&&t.startsWith(e),A1=C1("--"),YT=C1("var(--"),ep=e=>YT(e)?KT.test(e.split("/*")[0].trim()):!1,KT=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,E1=(e,t)=>t&&typeof e=="number"?t.transform(e):e,_n=(e,t,n)=>n>t?t:ntypeof e=="number",parse:parseFloat,transform:e=>e},Co={...yi,transform:e=>_n(0,1,e)},ka={...yi,default:1},Qo=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Gn=Qo("deg"),mn=Qo("%"),$=Qo("px"),QT=Qo("vh"),XT=Qo("vw"),Ax={...mn,parse:e=>mn.parse(e)/100,transform:e=>mn.transform(e*100)},ZT={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:$},JT={rotate:Gn,rotateX:Gn,rotateY:Gn,rotateZ:Gn,scale:ka,scaleX:ka,scaleY:ka,scaleZ:ka,skew:Gn,skewX:Gn,skewY:Gn,distance:$,translateX:$,translateY:$,translateZ:$,x:$,y:$,z:$,perspective:$,transformPerspective:$,opacity:Co,originX:Ax,originY:Ax,originZ:$},Ex={...yi,transform:Math.round},tp={...ZT,...JT,zIndex:Ex,size:$,fillOpacity:Co,strokeOpacity:Co,numOctaves:Ex},eI={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},tI=gi.length;function nI(e,t,n){let r="",i=!0;for(let o=0;o({style:{},transform:{},transformOrigin:{},vars:{}}),T1=()=>({...sp(),attrs:{}}),ip=e=>typeof e=="string"&&e.toLowerCase()==="svg";function I1(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 P1=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 M1(e,t,n,r){I1(e,t,void 0,r);for(const i in t.attrs)e.setAttribute(P1.has(i)?i:Qm(i),t.attrs[i])}const El={};function aI(e){Object.assign(El,e)}function R1(e,{layout:t,layoutId:n}){return cs.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!El[e]||e==="opacity")}function op(e,t,n){var r;const{style:i}=e,o={};for(const a in i)(Ye(i[a])||t.style&&Ye(t.style[a])||R1(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 D1(e,t,n){const r=op(e,t,n);for(const i in e)if(Ye(e[i])||Ye(t[i])){const o=gi.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;r[o]=e[i]}return r}function lI(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 Ix=["x","y","width","height","cx","cy","r"],cI={useVisualState:k1({scrapeMotionValuesFromProps:D1,createRenderState:T1,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(cs.has(l)){o=!0;break}}if(!o)return;let a=!t;if(t)for(let l=0;l{lI(n,r),xe.render(()=>{rp(r,i,ip(n.tagName),e.transformTemplate),M1(n,r)})})}})},dI={useVisualState:k1({scrapeMotionValuesFromProps:op,createRenderState:sp})};function L1(e,t,n){for(const r in t)!Ye(t[r])&&!R1(r,n)&&(e[r]=t[r])}function uI({transformTemplate:e},t){return p.useMemo(()=>{const n=sp();return np(n,t,e),Object.assign({},n.vars,n.style)},[t])}function hI(e,t){const n=e.style||{},r={};return L1(r,n,e),Object.assign(r,uI(e,t)),r}function mI(e,t){const n={},r=hI(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 pI(e,t,n,r){const i=p.useMemo(()=>{const o=T1();return rp(o,t,ip(r),e.transformTemplate),{...o.attrs,style:{...o.style}}},[t]);if(e.style){const o={};L1(o,e.style,e),i.style={...o,...i.style}}return i}function fI(e=!1){return(n,r,i,{latestValues:o},a)=>{const c=(Zm(n)?pI:mI)(r,o,a,n),d=IT(r,typeof n=="string",e),u=n!==p.Fragment?{...d,...c,ref:i}:{},{children:h}=r,m=p.useMemo(()=>Ye(h)?h.get():h,[h]);return p.createElement(n,{...u,children:m})}}function xI(e,t){return function(r,{forwardMotionProps:i}={forwardMotionProps:!1}){const a={...Zm(r)?cI:dI,preloadedFeatures:e,useRender:fI(i),createVisualElement:t,Component:r};return VT(a)}}function O1(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 yI{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(gI()&&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 vI extends yI{then(t,n){return Promise.all(this.animations).then(t).catch(n)}}function ap(e,t){return e?e[t]||e.default||e:void 0}const $u=2e4;function F1(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t<$u;)t+=n,r=e.next(t);return t>=$u?1/0:t}function lp(e){return typeof e=="function"}function Px(e,t){e.timeline=t,e.onfinish=null}const cp=e=>Array.isArray(e)&&typeof e[0]=="number",wI={linearEasing:void 0};function bI(e,t){const n=qm(e);return()=>{var r;return(r=wI[t])!==null&&r!==void 0?r:n()}}const Tl=bI(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),_1=(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})`,Uu={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:_i([0,.65,.55,1]),circOut:_i([.55,0,1,.45]),backIn:_i([.31,.01,.66,-.59]),backOut:_i([.33,1.53,.69,.99])};function z1(e,t){if(e)return typeof e=="function"&&Tl()?_1(e,t):cp(e)?_i(e):Array.isArray(e)?e.map(n=>z1(n,t)||Uu.easeOut):Uu[e]}const Ot={x:!1,y:!1};function B1(){return Ot.x||Ot.y}function jI(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 W1(e,t){const n=jI(e),r=new AbortController,i={passive:!0,...t,signal:r.signal};return[n,i,()=>r.abort()]}function Mx(e){return t=>{t.pointerType==="touch"||B1()||e(t)}}function NI(e,t,n={}){const[r,i,o]=W1(e,n),a=Mx(l=>{const{target:c}=l,d=t(l);if(typeof d!="function"||!c)return;const u=Mx(h=>{d(h),c.removeEventListener("pointerleave",u)});c.addEventListener("pointerleave",u,i)});return r.forEach(l=>{l.addEventListener("pointerenter",a,i)}),o}const $1=(e,t)=>t?e===t?!0:$1(e,t.parentElement):!1,dp=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,SI=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function kI(e){return SI.has(e.tagName)||e.tabIndex!==-1}const Vi=new WeakSet;function Rx(e){return t=>{t.key==="Enter"&&e(t)}}function dd(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const CI=(e,t)=>{const n=e.currentTarget;if(!n)return;const r=Rx(()=>{if(Vi.has(n))return;dd(n,"down");const i=Rx(()=>{dd(n,"up")}),o=()=>dd(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 Dx(e){return dp(e)&&!B1()}function AI(e,t,n={}){const[r,i,o]=W1(e,n),a=l=>{const c=l.currentTarget;if(!Dx(l)||Vi.has(c))return;Vi.add(c);const d=t(l),u=(g,w)=>{window.removeEventListener("pointerup",h),window.removeEventListener("pointercancel",m),!(!Dx(g)||!Vi.has(c))&&(Vi.delete(c),typeof d=="function"&&d(g,{success:w}))},h=g=>{u(g,n.useGlobalTarget||$1(c,g.target))},m=g=>{u(g,!1)};window.addEventListener("pointerup",h,i),window.addEventListener("pointercancel",m,i)};return r.forEach(l=>{!kI(l)&&l.getAttribute("tabindex")===null&&(l.tabIndex=0),(n.useGlobalTarget?window:l).addEventListener("pointerdown",a,i),l.addEventListener("focus",d=>CI(d,i),i)}),o}function EI(e){return e==="x"||e==="y"?Ot[e]?null:(Ot[e]=!0,()=>{Ot[e]=!1}):Ot.x||Ot.y?null:(Ot.x=Ot.y=!0,()=>{Ot.x=Ot.y=!1})}const U1=new Set(["width","height","top","left","right","bottom",...gi]);let qa;function TI(){qa=void 0}const pn={now:()=>(qa===void 0&&pn.set(_e.isProcessing||ST.useManualTiming?_e.timestamp:performance.now()),qa),set:e=>{qa=e,queueMicrotask(TI)}};function up(e,t){e.indexOf(t)===-1&&e.push(t)}function hp(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class mp{constructor(){this.subscriptions=[]}add(t){return up(this.subscriptions,t),()=>hp(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 PI{constructor(t,n={}){this.version="11.18.2",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(r,i=!0)=>{const o=pn.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=pn.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=II(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 mp);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=pn.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>Lx)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,Lx);return H1(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 Ao(e,t){return new PI(e,t)}function MI(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Ao(n))}function RI(e,t){const n=fc(e,t);let{transitionEnd:r={},transition:i={},...o}=n||{};o={...o,...r};for(const a in o){const l=HT(o[a]);MI(e,a,l)}}function DI(e){return!!(Ye(e)&&e.add)}function Hu(e,t){const n=e.getValue("willChange");if(DI(n))return n.add(t)}function G1(e){return e.props[j1]}const q1=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,LI=1e-7,OI=12;function FI(e,t,n,r,i){let o,a,l=0;do a=t+(n-t)/2,o=q1(a,r,i)-e,o>0?n=a:t=a;while(Math.abs(o)>LI&&++lFI(o,0,1,e,n);return o=>o===0||o===1?o:q1(i(o),t,r)}const Y1=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,K1=e=>t=>1-e(1-t),Q1=Xo(.33,1.53,.69,.99),pp=K1(Q1),X1=Y1(pp),Z1=e=>(e*=2)<1?.5*pp(e):.5*(2-Math.pow(2,-10*(e-1))),fp=e=>1-Math.sin(Math.acos(e)),J1=K1(fp),eb=Y1(fp),tb=e=>/^0[^.\s]+$/u.test(e);function _I(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||tb(e):!0}const Zi=e=>Math.round(e*1e5)/1e5,xp=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function VI(e){return e==null}const zI=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,gp=(e,t)=>n=>!!(typeof n=="string"&&zI.test(n)&&n.startsWith(e)||t&&!VI(n)&&Object.prototype.hasOwnProperty.call(n,t)),nb=(e,t,n)=>r=>{if(typeof r!="string")return r;const[i,o,a,l]=r.match(xp);return{[e]:parseFloat(i),[t]:parseFloat(o),[n]:parseFloat(a),alpha:l!==void 0?parseFloat(l):1}},BI=e=>_n(0,255,e),ud={...yi,transform:e=>Math.round(BI(e))},_r={test:gp("rgb","red"),parse:nb("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+ud.transform(e)+", "+ud.transform(t)+", "+ud.transform(n)+", "+Zi(Co.transform(r))+")"};function WI(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 Gu={test:gp("#"),parse:WI,transform:_r.transform},As={test:gp("hsl","hue"),parse:nb("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+mn.transform(Zi(t))+", "+mn.transform(Zi(n))+", "+Zi(Co.transform(r))+")"},Ge={test:e=>_r.test(e)||Gu.test(e)||As.test(e),parse:e=>_r.test(e)?_r.parse(e):As.test(e)?As.parse(e):Gu.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?_r.transform(e):As.transform(e)},$I=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function UI(e){var t,n;return isNaN(e)&&typeof e=="string"&&(((t=e.match(xp))===null||t===void 0?void 0:t.length)||0)+(((n=e.match($I))===null||n===void 0?void 0:n.length)||0)>0}const rb="number",sb="color",HI="var",GI="var(",Ox="${}",qI=/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 Eo(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[];let o=0;const l=t.replace(qI,c=>(Ge.test(c)?(r.color.push(o),i.push(sb),n.push(Ge.parse(c))):c.startsWith(GI)?(r.var.push(o),i.push(HI),n.push(c)):(r.number.push(o),i.push(rb),n.push(parseFloat(c))),++o,Ox)).split(Ox);return{values:n,split:l,indexes:r,types:i}}function ib(e){return Eo(e).values}function ob(e){const{split:t,types:n}=Eo(e),r=t.length;return i=>{let o="";for(let a=0;atypeof e=="number"?0:e;function KI(e){const t=ib(e);return ob(e)(t.map(YI))}const wr={test:UI,parse:ib,createTransformer:ob,getAnimatableNone:KI},QI=new Set(["brightness","contrast","saturate","opacity"]);function XI(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(xp)||[];if(!r)return e;const i=n.replace(r,"");let o=QI.has(t)?1:0;return r!==n&&(o*=100),t+"("+o+i+")"}const ZI=/\b([a-z-]*)\(.*?\)/gu,qu={...wr,getAnimatableNone:e=>{const t=e.match(ZI);return t?t.map(XI).join(" "):e}},JI={...tp,color:Ge,backgroundColor:Ge,outlineColor:Ge,fill:Ge,stroke:Ge,borderColor:Ge,borderTopColor:Ge,borderRightColor:Ge,borderBottomColor:Ge,borderLeftColor:Ge,filter:qu,WebkitFilter:qu},yp=e=>JI[e];function ab(e,t){let n=yp(e);return n!==qu&&(n=wr),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const eP=new Set(["auto","none","0"]);function tP(e,t,n){let r=0,i;for(;re===yi||e===$,_x=(e,t)=>parseFloat(e.split(", ")[t]),Vx=(e,t)=>(n,{transform:r})=>{if(r==="none"||!r)return 0;const i=r.match(/^matrix3d\((.+)\)$/u);if(i)return _x(i[1],t);{const o=r.match(/^matrix\((.+)\)$/u);return o?_x(o[1],e):0}},nP=new Set(["x","y","z"]),rP=gi.filter(e=>!nP.has(e));function sP(e){const t=[];return rP.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}const ai={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:Vx(4,13),y:Vx(5,14)};ai.translateX=ai.x;ai.translateY=ai.y;const qr=new Set;let Yu=!1,Ku=!1;function lb(){if(Ku){const e=Array.from(qr).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{const i=sP(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,Yu=!1,qr.forEach(e=>e.complete()),qr.clear()}function cb(){qr.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Ku=!0)})}function iP(){cb(),lb()}class vp{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?(qr.add(this),Yu||(Yu=!0,xe.read(cb),xe.resolveKeyframes(lb))):(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),oP=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function aP(e){const t=oP.exec(e);if(!t)return[,];const[,n,r,i]=t;return[`--${n??r}`,i]}function ub(e,t,n=1){const[r,i]=aP(e);if(!r)return;const o=window.getComputedStyle(t).getPropertyValue(r);if(o){const a=o.trim();return db(a)?parseFloat(a):a}return ep(i)?ub(i,t,n+1):i}const hb=e=>t=>t.test(e),lP={test:e=>e==="auto",parse:e=>e},mb=[yi,$,mn,Gn,XT,QT,lP],zx=e=>mb.find(hb(e));class pb extends vp{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 Bx=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(wr.test(e)||e==="0")&&!e.startsWith("url("));function cP(e){const t=e[0];if(e.length===1)return!0;for(let n=0;ne!==null;function xc(e,{repeat:t,repeatType:n="loop"},r){const i=e.filter(uP),o=t&&n!=="loop"&&t%2===1?0:i.length-1;return!o||r===void 0?i[o]:r}const hP=40;class fb{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=pn.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>hP?this.resolvedAt:this.createdAt:this.createdAt}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&iP(),this._resolved}onKeyframesResolved(t,n){this.resolvedAt=pn.now(),this.hasAttemptedResolve=!0;const{name:r,type:i,velocity:o,delay:a,onComplete:l,onUpdate:c,isGenerator:d}=this.options;if(!d&&!dP(t,r,i,o))if(a)this.options.duration=0;else{c&&c(xc(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 hd(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 mP({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=hd(c,l,e+1/3),o=hd(c,l,e),a=hd(c,l,e-1/3)}return{red:Math.round(i*255),green:Math.round(o*255),blue:Math.round(a*255),alpha:r}}function Il(e,t){return n=>n>0?t:e}const md=(e,t,n)=>{const r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},pP=[Gu,_r,As],fP=e=>pP.find(t=>t.test(e));function Wx(e){const t=fP(e);if(!t)return!1;let n=t.parse(e);return t===As&&(n=mP(n)),n}const $x=(e,t)=>{const n=Wx(e),r=Wx(t);if(!n||!r)return Il(e,t);const i={...n};return o=>(i.red=md(n.red,r.red,o),i.green=md(n.green,r.green,o),i.blue=md(n.blue,r.blue,o),i.alpha=ve(n.alpha,r.alpha,o),_r.transform(i))},xP=(e,t)=>n=>t(e(n)),Zo=(...e)=>e.reduce(xP),Qu=new Set(["none","hidden"]);function gP(e,t){return Qu.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function yP(e,t){return n=>ve(e,t,n)}function wp(e){return typeof e=="number"?yP:typeof e=="string"?ep(e)?Il:Ge.test(e)?$x:bP:Array.isArray(e)?xb:typeof e=="object"?Ge.test(e)?$x:vP:Il}function xb(e,t){const n=[...e],r=n.length,i=e.map((o,a)=>wp(o)(o,t[a]));return o=>{for(let a=0;a{for(const o in r)n[o]=r[o](i);return n}}function wP(e,t){var n;const r=[],i={color:0,var:0,number:0};for(let o=0;o{const n=wr.createTransformer(t),r=Eo(e),i=Eo(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?Qu.has(e)&&!i.values.length||Qu.has(t)&&!r.values.length?gP(e,t):Zo(xb(wP(r,i),i.values),n):Il(e,t)};function gb(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?ve(e,t,n):wp(e)(e,t)}const jP=5;function yb(e,t,n){const r=Math.max(t-jP,0);return H1(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},pd=.001;function NP({duration:e=Ne.duration,bounce:t=Ne.bounce,velocity:n=Ne.velocity,mass:r=Ne.mass}){let i,o,a=1-t;a=_n(Ne.minDamping,Ne.maxDamping,a),e=_n(Ne.minDuration,Ne.maxDuration,In(e)),a<1?(i=d=>{const u=d*a,h=u*e,m=u-n,g=Xu(d,a),w=Math.exp(-h);return pd-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),f=Xu(Math.pow(d,2),a);return(-i(d)+pd>0?-1:1)*((m-g)*w)/f}):(i=d=>{const u=Math.exp(-d*e),h=(d-n)*e+1;return-pd+u*h},o=d=>{const u=Math.exp(-d*e),h=(n-d)*(e*e);return u*h});const l=5/e,c=kP(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 SP=12;function kP(e,t,n){let r=n;for(let i=1;ie[n]!==void 0)}function EP(e){let t={velocity:Ne.velocity,stiffness:Ne.stiffness,damping:Ne.damping,mass:Ne.mass,isResolvedFromDuration:!1,...e};if(!Ux(e,AP)&&Ux(e,CP))if(e.visualDuration){const n=e.visualDuration,r=2*Math.PI/(n*1.2),i=r*r,o=2*_n(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:Ne.mass,stiffness:i,damping:o}}else{const n=NP(e);t={...t,...n,mass:Ne.mass},t.isResolvedFromDuration=!0}return t}function vb(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}=EP({...n,velocity:-In(n.velocity||0)}),w=m||0,f=d/(2*Math.sqrt(c*u)),b=a-o,v=In(Math.sqrt(c/u)),x=Math.abs(b)<5;r||(r=x?Ne.restSpeed.granular:Ne.restSpeed.default),i||(i=x?Ne.restDelta.granular:Ne.restDelta.default);let y;if(f<1){const N=Xu(v,f);y=k=>{const S=Math.exp(-f*v*k);return a-S*((w+f*v*b)/N*Math.sin(N*k)+b*Math.cos(N*k))}}else if(f===1)y=N=>a-Math.exp(-v*N)*(b+(w+v*b)*N);else{const N=v*Math.sqrt(f*f-1);y=k=>{const S=Math.exp(-f*v*k),C=Math.min(N*k,300);return a-S*((w+f*v*b)*Math.sinh(C)+N*b*Math.cosh(C))/N}}const j={calculatedDuration:g&&h||null,next:N=>{const k=y(N);if(g)l.done=N>=h;else{let S=0;f<1&&(S=N===0?Tn(w):yb(y,N,k));const C=Math.abs(S)<=r,M=Math.abs(a-k)<=i;l.done=C&&M}return l.value=l.done?a:k,l},toString:()=>{const N=Math.min(F1(j),$u),k=_1(S=>j.next(N*S).value,N,30);return N+"ms "+k}};return j}function Hx({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=C=>l!==void 0&&Cc,w=C=>l===void 0?c:c===void 0||Math.abs(l-C)-f*Math.exp(-C/r),y=C=>v+x(C),j=C=>{const M=x(C),A=y(C);m.done=Math.abs(M)<=d,m.value=m.done?v:A};let N,k;const S=C=>{g(m.value)&&(N=C,k=vb({keyframes:[m.value,w(m.value)],velocity:yb(y,C,m.value),damping:i,stiffness:o,restDelta:d,restSpeed:u}))};return S(0),{calculatedDuration:null,next:C=>{let M=!1;return!k&&N===void 0&&(M=!0,j(C),S(C)),N!==void 0&&C>=N?k.next(C-N):(!M&&j(C),m)}}}const TP=Xo(.42,0,1,1),IP=Xo(0,0,.58,1),wb=Xo(.42,0,.58,1),PP=e=>Array.isArray(e)&&typeof e[0]!="number",MP={linear:yt,easeIn:TP,easeInOut:wb,easeOut:IP,circIn:fp,circInOut:eb,circOut:J1,backIn:pp,backInOut:X1,backOut:Q1,anticipate:Z1},Gx=e=>{if(cp(e)){g1(e.length===4);const[t,n,r,i]=e;return Xo(t,n,r,i)}else if(typeof e=="string")return MP[e];return e};function RP(e,t,n){const r=[],i=n||gb,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=RP(t,r,i),c=l.length,d=u=>{if(a&&u1)for(;hd(_n(e[0],e[o-1],u)):d}function LP(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const i=ii(0,t,r);e.push(ve(n,1,i))}}function OP(e){const t=[0];return LP(t,e.length-1),t}function FP(e,t){return e.map(n=>n*t)}function _P(e,t){return e.map(()=>t||wb).splice(0,e.length-1)}function Pl({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const i=PP(r)?r.map(Gx):Gx(r),o={done:!1,value:t[0]},a=FP(n&&n.length===t.length?n:OP(t),e),l=DP(a,t,{ease:Array.isArray(i)?i:_P(t,i)});return{calculatedDuration:e,next:c=>(o.value=l(c),o.done=c>=e,o)}}const VP=e=>{const t=({timestamp:n})=>e(n);return{start:()=>xe.update(t,!0),stop:()=>vr(t),now:()=>_e.isProcessing?_e.timestamp:pn.now()}},zP={decay:Hx,inertia:Hx,tween:Pl,keyframes:Pl,spring:vb},BP=e=>e/100;class bp extends fb{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)||vp,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=lp(n)?n:zP[n]||Pl;let c,d;l!==Pl&&typeof t[0]!="number"&&(c=Zo(BP,gb(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=F1(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:C}=this.options;return{done:!0,value:C[C.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:f,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 v=this.currentTime-m*(this.speed>=0?1:-1),x=this.speed>=0?v<0:v>u;this.currentTime=Math.max(v,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=u);let y=this.currentTime,j=o;if(g){const C=Math.min(this.currentTime,u)/h;let M=Math.floor(C),A=C%1;!A&&C>=1&&(A=1),A===1&&M--,M=Math.min(M,g+1),!!(M%2)&&(w==="reverse"?(A=1-A,f&&(A-=f/h)):w==="mirror"&&(j=a)),y=_n(0,1,A)*h}const N=x?{done:!1,value:c[0]}:j.next(y);l&&(N.value=l(N.value));let{done:k}=N;!x&&d!==null&&(k=this.speed>=0?this.currentTime>=u:this.currentTime<=0);const S=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&k);return S&&i!==void 0&&(N.value=xc(c,this.options,i)),b&&b(N.value),S&&this.finish(),N}get duration(){const{resolved:t}=this;return t?In(t.calculatedDuration):0}get time(){return In(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=In(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:t=VP,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 WP=new Set(["opacity","clipPath","filter","transform"]);function $P(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=z1(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 UP=qm(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),Ml=10,HP=2e4;function GP(e){return lp(e.type)||e.type==="spring"||!V1(e.ease)}function qP(e,t){const n=new bp({...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"&&Tl()&&YP(o)&&(o=bb[o]),GP(this.options)){const{onComplete:h,onUpdate:m,motionValue:g,element:w,...f}=this.options,b=qP(t,f);t=b.keyframes,t.length===1&&(t[1]=t[0]),r=b.duration,i=b.times,o=b.ease,a="keyframes"}const u=$P(l.owner.current,c,t,{...this.options,duration:r,times:i,ease:o});return u.startTime=d??this.calcStartTime(),this.pendingTimeline?(Px(u,this.pendingTimeline),this.pendingTimeline=void 0):u.onfinish=()=>{const{onComplete:h}=this.options;l.set(xc(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 In(n)}get time(){const{resolved:t}=this;if(!t)return 0;const{animation:n}=t;return In(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 yt;const{animation:r}=n;Px(r,t)}return yt}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 bp({...g,keyframes:r,duration:i,type:o,ease:a,times:l,isGenerator:!0}),f=Tn(this.time);d.setWithVelocity(w.sample(f-Ml).value,w.sample(f).value,Ml)}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 UP()&&r&&WP.has(r)&&!c&&!d&&!i&&o!=="mirror"&&a!==0&&l!=="inertia"}}const KP={type:"spring",stiffness:500,damping:25,restSpeed:10},QP=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),XP={type:"keyframes",duration:.8},ZP={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},JP=(e,{keyframes:t})=>t.length>2?XP:cs.has(e)?e.startsWith("scale")?QP(t[1]):KP:ZP;function e5({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 jp=(e,t,n,r={},i,o)=>a=>{const l=ap(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};e5(l)||(u={...u,...JP(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=xc(u.keyframes,l);if(m!==void 0)return xe.update(()=>{u.onUpdate(m),u.onComplete()}),new vI([])}return!o&&qx.supports(u)?new qx(u):new bp(u)};function t5({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function jb(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&&t5(u,h))continue;const w={delay:n,...ap(a||{},h)};let f=!1;if(window.MotionHandoffAnimation){const v=G1(e);if(v){const x=window.MotionHandoffAnimation(v,h,xe);x!==null&&(w.startTime=x,f=!0)}}Hu(e,h),m.start(jp(h,m,g,e.shouldReduceMotion&&U1.has(h)?{type:!1}:w,e,f));const b=m.animation;b&&d.push(b)}return l&&Promise.all(d).then(()=>{xe.update(()=>{l&&RI(e,l)})}),d}function Zu(e,t,n={}){var r;const i=fc(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(jb(e,i,n)):()=>Promise.resolve(),l=e.variantChildren&&e.variantChildren.size?(d=0)=>{const{delayChildren:u=0,staggerChildren:h,staggerDirection:m}=o;return n5(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 n5(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(r5).forEach((d,u)=>{d.notify("AnimationStart",t),a.push(Zu(d,t,{...o,delay:n+c(u)}).then(()=>d.notify("AnimationComplete",t)))}),Promise.all(a)}function r5(e,t){return e.sortNodePosition(t)}function s5(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const i=t.map(o=>Zu(e,o,n));r=Promise.all(i)}else if(typeof t=="string")r=Zu(e,t,n);else{const i=typeof t=="function"?fc(e,t,n.custom):t;r=Promise.all(jb(e,i,n))}return r.then(()=>{e.notify("AnimationComplete",t)})}const i5=Km.length;function Nb(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?Nb(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})=>s5(e,n,r)))}function c5(e){let t=l5(e),n=Yx(),r=!0;const i=c=>(d,u)=>{var h;const m=fc(e,u,c==="exit"?(h=e.presenceContext)===null||h===void 0?void 0:h.custom:void 0);if(m){const{transition:g,transitionEnd:w,...f}=m;d={...d,...f,...w}}return d};function o(c){t=c(e)}function a(c){const{props:d}=e,u=Nb(e.parent)||{},h=[],m=new Set;let g={},w=1/0;for(let b=0;bw&&j,M=!1;const A=Array.isArray(y)?y:[y];let R=A.reduce(i(v),{});N===!1&&(R={});const{prevResolvedValues:O={}}=x,H={...O,...R},T=V=>{C=!0,m.has(V)&&(M=!0,m.delete(V)),x.needsAnimating[V]=!0;const I=e.getValue(V);I&&(I.liveStyle=!1)};for(const V in H){const I=R[V],L=O[V];if(g.hasOwnProperty(V))continue;let B=!1;Wu(I)&&Wu(L)?B=!O1(I,L):B=I!==L,B?I!=null?T(V):m.add(V):I!==void 0&&m.has(V)?T(V):x.protectedKeys[V]=!0}x.prevProp=y,x.prevResolvedValues=R,x.isActive&&(g={...g,...R}),r&&e.blockInitialAnimation&&(C=!1),C&&(!(k&&S)||M)&&h.push(...A.map(V=>({animation:V,options:{type:v}})))}if(m.size){const b={};m.forEach(v=>{const x=e.getBaseTarget(v),y=e.getValue(v);y&&(y.liveStyle=!0),b[v]=x??null}),h.push({animation:b})}let f=!!h.length;return r&&(d.initial===!1||d.initial===d.animate)&&!e.manuallyAnimateOnMount&&(f=!1),r=!1,f?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=Yx(),r=!0}}}function d5(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!O1(t,e):!1}function Tr(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Yx(){return{animate:Tr(!0),whileInView:Tr(),whileHover:Tr(),whileTap:Tr(),whileDrag:Tr(),whileFocus:Tr(),exit:Tr()}}class Cr{constructor(t){this.isMounted=!1,this.node=t}update(){}}class u5 extends Cr{constructor(t){super(t),t.animationState||(t.animationState=c5(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();mc(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 h5=0;class m5 extends Cr{constructor(){super(...arguments),this.id=h5++}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 p5={animation:{Feature:u5},exit:{Feature:m5}};function To(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}function Jo(e){return{point:{x:e.pageX,y:e.pageY}}}const f5=e=>t=>dp(t)&&e(t,Jo(t));function Ji(e,t,n,r){return To(e,t,f5(n),r)}const Kx=(e,t)=>Math.abs(e-t);function x5(e,t){const n=Kx(e.x,t.x),r=Kx(e.y,t.y);return Math.sqrt(n**2+r**2)}class Sb{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=xd(this.lastMoveEventInfo,this.history),m=this.startEvent!==null,g=x5(h.offset,{x:0,y:0})>=3;if(!m&&!g)return;const{point:w}=h,{timestamp:f}=_e;this.history.push({...w,timestamp:f});const{onStart:b,onMove:v}=this.handlers;m||(b&&b(this.lastMoveEvent,h),this.startEvent=this.lastMoveEvent),v&&v(this.lastMoveEvent,h)},this.handlePointerMove=(h,m)=>{this.lastMoveEvent=h,this.lastMoveEventInfo=fd(m,this.transformPagePoint),xe.update(this.updatePoint,!0)},this.handlePointerUp=(h,m)=>{this.end();const{onEnd:g,onSessionEnd:w,resumeAnimation:f}=this.handlers;if(this.dragSnapToOrigin&&f&&f(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const b=xd(h.type==="pointercancel"?this.lastMoveEventInfo:fd(m,this.transformPagePoint),this.history);this.startEvent&&g&&g(h,b),w&&w(h,b)},!dp(t))return;this.dragSnapToOrigin=o,this.handlers=n,this.transformPagePoint=r,this.contextWindow=i||window;const a=Jo(t),l=fd(a,this.transformPagePoint),{point:c}=l,{timestamp:d}=_e;this.history=[{...c,timestamp:d}];const{onSessionStart:u}=n;u&&u(t,xd(l,this.history)),this.removeListeners=Zo(Ji(this.contextWindow,"pointermove",this.handlePointerMove),Ji(this.contextWindow,"pointerup",this.handlePointerUp),Ji(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),vr(this.updatePoint)}}function fd(e,t){return t?{point:t(e.point)}:e}function Qx(e,t){return{x:e.x-t.x,y:e.y-t.y}}function xd({point:e},t){return{point:e,delta:Qx(e,kb(t)),offset:Qx(e,g5(t)),velocity:y5(t,.1)}}function g5(e){return e[0]}function kb(e){return e[e.length-1]}function y5(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const i=kb(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>Tn(t)));)n--;if(!r)return{x:0,y:0};const o=In(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 Cb=1e-4,v5=1-Cb,w5=1+Cb,Ab=.01,b5=0-Ab,j5=0+Ab;function wt(e){return e.max-e.min}function N5(e,t,n){return Math.abs(e-t)<=n}function Xx(e,t,n,r=.5){e.origin=r,e.originPoint=ve(t.min,t.max,e.origin),e.scale=wt(n)/wt(t),e.translate=ve(n.min,n.max,e.origin)-e.originPoint,(e.scale>=v5&&e.scale<=w5||isNaN(e.scale))&&(e.scale=1),(e.translate>=b5&&e.translate<=j5||isNaN(e.translate))&&(e.translate=0)}function eo(e,t,n,r){Xx(e.x,t.x,n.x,r?r.originX:void 0),Xx(e.y,t.y,n.y,r?r.originY:void 0)}function Zx(e,t,n){e.min=n.min+t.min,e.max=e.min+wt(t)}function S5(e,t,n){Zx(e.x,t.x,n.x),Zx(e.y,t.y,n.y)}function Jx(e,t,n){e.min=t.min-n.min,e.max=e.min+wt(t)}function to(e,t,n){Jx(e.x,t.x,n.x),Jx(e.y,t.y,n.y)}function k5(e,{min:t,max:n},r){return t!==void 0&&en&&(e=r?ve(n,e,r.max):Math.min(e,n)),e}function eg(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 C5(e,{top:t,left:n,bottom:r,right:i}){return{x:eg(e.x,n,i),y:eg(e.y,t,r)}}function tg(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.minr?n=ii(t.min,t.max-r,e.min):r>i&&(n=ii(e.min,e.max-i,t.min)),_n(0,1,n)}function T5(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 Ju=.35;function I5(e=Ju){return e===!1?e=0:e===!0&&(e=Ju),{x:ng(e,"left","right"),y:ng(e,"top","bottom")}}function ng(e,t,n){return{min:rg(e,t),max:rg(e,n)}}function rg(e,t){return typeof e=="number"?e:e[t]||0}const sg=()=>({translate:0,scale:1,origin:0,originPoint:0}),Es=()=>({x:sg(),y:sg()}),ig=()=>({min:0,max:0}),ke=()=>({x:ig(),y:ig()});function kt(e){return[e("x"),e("y")]}function Eb({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function P5({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function M5(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 gd(e){return e===void 0||e===1}function eh({scale:e,scaleX:t,scaleY:n}){return!gd(e)||!gd(t)||!gd(n)}function Mr(e){return eh(e)||Tb(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function Tb(e){return og(e.x)||og(e.y)}function og(e){return e&&e!=="0%"}function Rl(e,t,n){const r=e-n,i=t*r;return n+i}function ag(e,t,n,r,i){return i!==void 0&&(e=Rl(e,i,r)),Rl(e,n,r)+t}function th(e,t=0,n=1,r,i){e.min=ag(e.min,t,n,r,i),e.max=ag(e.max,t,n,r,i)}function Ib(e,{x:t,y:n}){th(e.x,t.translate,t.scale,t.originPoint),th(e.y,n.translate,n.scale,n.originPoint)}const lg=.999999999999,cg=1.0000000000001;function R5(e,t,n,r=!1){const i=n.length;if(!i)return;t.x=t.y=1;let o,a;for(let l=0;llg&&(t.x=1),t.ylg&&(t.y=1)}function Ts(e,t){e.min=e.min+t,e.max=e.max+t}function dg(e,t,n,r,i=.5){const o=ve(e.min,e.max,i);th(e,t,n,o,r)}function Is(e,t){dg(e.x,t.x,t.scaleX,t.scale,t.originX),dg(e.y,t.y,t.scaleY,t.scale,t.originY)}function Pb(e,t){return Eb(M5(e.getBoundingClientRect(),t))}function D5(e,t,n){const r=Pb(e,n),{scroll:i}=t;return i&&(Ts(r.x,i.offset.x),Ts(r.y,i.offset.y)),r}const Mb=({current:e})=>e?e.ownerDocument.defaultView:null,L5=new WeakMap;class O5{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(Jo(u).point)},o=(u,h)=>{const{drag:m,dragPropagation:g,onDragStart:w}=this.getProps();if(m&&!g&&(this.openDragLock&&this.openDragLock(),this.openDragLock=EI(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),kt(b=>{let v=this.getAxisMotionValue(b).get()||0;if(mn.test(v)){const{projection:x}=this.visualElement;if(x&&x.layout){const y=x.layout.layoutBox[b];y&&(v=wt(y)*(parseFloat(v)/100))}}this.originPoint[b]=v}),w&&xe.postRender(()=>w(u,h)),Hu(this.visualElement,"transform");const{animationState:f}=this.visualElement;f&&f.setActive("whileDrag",!0)},a=(u,h)=>{const{dragPropagation:m,dragDirectionLock:g,onDirectionLock:w,onDrag:f}=this.getProps();if(!m&&!this.openDragLock)return;const{offset:b}=h;if(g&&this.currentDirection===null){this.currentDirection=F5(b),this.currentDirection!==null&&w&&w(this.currentDirection);return}this.updateAxis("x",h.point,b),this.updateAxis("y",h.point,b),this.visualElement.render(),f&&f(u,h)},l=(u,h)=>this.stop(u,h),c=()=>kt(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 Sb(t,{onSessionStart:i,onStart:o,onMove:a,onSessionEnd:l,resumeAnimation:c},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:d,contextWindow:Mb(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||!Ca(t,i,this.currentDirection))return;const o=this.getAxisMotionValue(t);let a=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(a=k5(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&&Cs(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&i?this.constraints=C5(i.layoutBox,n):this.constraints=!1,this.elastic=I5(r),o!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&kt(a=>{this.constraints!==!1&&this.getAxisMotionValue(a)&&(this.constraints[a]=T5(i.layoutBox[a],this.constraints[a]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!Cs(t))return!1;const r=t.current,{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const o=D5(r,i.root,this.visualElement.getTransformPagePoint());let a=A5(i.layout.layoutBox,o);if(n){const l=n(P5(a));this.hasMutatedConstraints=!!l,l&&(a=Eb(l))}return a}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:i,dragTransition:o,dragSnapToOrigin:a,onDragTransitionEnd:l}=this.getProps(),c=this.constraints||{},d=kt(u=>{if(!Ca(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 Hu(this.visualElement,t),r.start(jp(t,r,0,n,this.visualElement,!1))}stopAnimation(){kt(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){kt(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){kt(n=>{const{drag:r}=this.getProps();if(!Ca(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(!Cs(n)||!r||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};kt(a=>{const l=this.getAxisMotionValue(a);if(l&&this.constraints!==!1){const c=l.get();i[a]=E5({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(),kt(a=>{if(!Ca(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;L5.set(this.visualElement,this);const t=this.visualElement.current,n=Ji(t,"pointerdown",c=>{const{drag:d,dragListener:u=!0}=this.getProps();d&&u&&this.start(c)}),r=()=>{const{dragConstraints:c}=this.getProps();Cs(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&&(kt(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=Ju,dragMomentum:l=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:i,dragConstraints:o,dragElastic:a,dragMomentum:l}}}function Ca(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function F5(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class _5 extends Cr{constructor(t){super(t),this.removeGroupControls=yt,this.removeListeners=yt,this.controls=new O5(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||yt}unmount(){this.removeGroupControls(),this.removeListeners()}}const ug=e=>(t,n)=>{e&&xe.postRender(()=>e(t,n))};class V5 extends Cr{constructor(){super(...arguments),this.removePointerDownListener=yt}onPointerDown(t){this.session=new Sb(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Mb(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:i}=this.node.getProps();return{onSessionStart:ug(t),onStart:ug(n),onMove:r,onEnd:(o,a)=>{delete this.session,i&&xe.postRender(()=>i(o,a))}}}mount(){this.removePointerDownListener=Ji(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 Ya={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function hg(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=hg(e,t.target.x),r=hg(e,t.target.y);return`${n}% ${r}%`}},z5={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,i=wr.parse(e);if(i.length>5)return r;const o=wr.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 B5 extends p.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:i}=this.props,{projection:o}=t;aI(W5),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()})),Ya.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(),Xm.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 Rb(e){const[t,n]=jT(),r=p.useContext(f1);return s.jsx(B5,{...e,layoutGroup:r,switchLayoutGroup:p.useContext(N1),isPresent:t,safeToRemove:n})}const W5={borderRadius:{...Ri,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Ri,borderTopRightRadius:Ri,borderBottomLeftRadius:Ri,borderBottomRightRadius:Ri,boxShadow:z5};function $5(e,t,n){const r=Ye(e)?e:Ao(e);return r.start(jp("",r,t,n)),r.animation}function U5(e){return e instanceof SVGElement&&e.tagName!=="svg"}const H5=(e,t)=>e.depth-t.depth;class G5{constructor(){this.children=[],this.isDirty=!1}add(t){up(this.children,t),this.isDirty=!0}remove(t){hp(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(H5),this.isDirty=!1,this.children.forEach(t)}}function q5(e,t){const n=pn.now(),r=({timestamp:i})=>{const o=i-n;o>=t&&(vr(r),e(o-t))};return xe.read(r,!0),()=>vr(r)}const Db=["TopLeft","TopRight","BottomLeft","BottomRight"],Y5=Db.length,mg=e=>typeof e=="string"?parseFloat(e):e,pg=e=>typeof e=="number"||$.test(e);function K5(e,t,n,r,i,o){i?(e.opacity=ve(0,n.opacity!==void 0?n.opacity:1,Q5(r)),e.opacityExit=ve(t.opacity!==void 0?t.opacity:1,0,X5(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(ii(e,t,r))}function xg(e,t){e.min=t.min,e.max=t.max}function St(e,t){xg(e.x,t.x),xg(e.y,t.y)}function gg(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function yg(e,t,n,r,i){return e-=t,e=Rl(e,1/n,r),i!==void 0&&(e=Rl(e,1/i,r)),e}function Z5(e,t=0,n=1,r=.5,i,o=e,a=e){if(mn.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=yg(e.min,t,n,l,i),e.max=yg(e.max,t,n,l,i)}function vg(e,t,[n,r,i],o,a){Z5(e,t[n],t[r],t[i],t.scale,o,a)}const J5=["x","scaleX","originX"],e3=["y","scaleY","originY"];function wg(e,t,n,r){vg(e.x,t,J5,n?n.x:void 0,r?r.x:void 0),vg(e.y,t,e3,n?n.y:void 0,r?r.y:void 0)}function bg(e){return e.translate===0&&e.scale===1}function Ob(e){return bg(e.x)&&bg(e.y)}function jg(e,t){return e.min===t.min&&e.max===t.max}function t3(e,t){return jg(e.x,t.x)&&jg(e.y,t.y)}function Ng(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function Fb(e,t){return Ng(e.x,t.x)&&Ng(e.y,t.y)}function Sg(e){return wt(e.x)/wt(e.y)}function kg(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class n3{constructor(){this.members=[]}add(t){up(this.members,t),t.scheduleRender()}remove(t){if(hp(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 r3(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 Rr={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},zi=typeof window<"u"&&window.MotionDebug!==void 0,yd=["","X","Y","Z"],s3={visibility:"hidden"},Cg=1e3;let i3=0;function vd(e,t,n,r){const{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function _b(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=G1(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&&_b(r)}function Vb({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(a={},l=t==null?void 0:t()){this.id=i3++,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,zi&&(Rr.totalNodes=Rr.resolvedTargetDeltas=Rr.recalculatedProjection=0),this.nodes.forEach(l3),this.nodes.forEach(m3),this.nodes.forEach(p3),this.nodes.forEach(c3),zi&&window.MotionDebug.record(Rr)},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=q5(m,250),Ya.hasAnimatedSinceResize&&(Ya.hasAnimatedSinceResize=!1,this.nodes.forEach(Eg))})}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 f=this.options.transition||u.getDefaultTransition()||v3,{onLayoutAnimationStart:b,onLayoutAnimationComplete:v}=u.getProps(),x=!this.targetLayout||!Fb(this.targetLayout,w)||g,y=!m&&g;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||y||m&&(x||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(h,y);const j={...ap(f,"layout"),onPlay:b,onComplete:v};(u.shouldReduceMotion||this.options.layoutRoot)&&(j.delay=0,j.type=!1),this.startAnimation(j)}else m||Eg(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,vr(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(f3),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&&_b(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;Tg(h.x,a.x,N),Tg(h.y,a.y,N),this.setTargetDelta(h),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(to(m,this.layout.layoutBox,this.relativeParent.layout.layoutBox),g3(this.relativeTarget,this.relativeTargetOrigin,m,N),y&&t3(this.relativeTarget,y)&&(this.isProjectionDirty=!1),y||(y=ke()),St(y,this.relativeTarget)),f&&(this.animationValues=u,K5(u,d,this.latestValues,N,x,v)),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&&(vr(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=xe.update(()=>{Ya.hasAnimatedSinceResize=!0,this.currentAnimation=$5(0,Cg,{...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(Cg),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&&zb(this.options.animationType,this.layout.layoutBox,d.layoutBox)){c=this.target||ke();const h=wt(this.layout.layoutBox.x);c.x.min=a.target.x.min,c.x.max=c.x.min+h;const m=wt(this.layout.layoutBox.y);c.y.min=a.target.y.min,c.y.max=c.y.min+m}St(l,c),Is(l,u),eo(this.projectionDeltaWithTransform,this.layoutCorrected,l,u)}}registerSharedNode(a,l){this.sharedNodes.has(a)||this.sharedNodes.set(a,new n3),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&&vd("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(Ag),this.root.sharedNodes.clear()}}}function o3(e){e.updateLayout()}function a3(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"?kt(h=>{const m=a?n.measuredBox[h]:n.layoutBox[h],g=wt(m);m.min=r[h].min,m.max=m.min+g}):zb(o,n.layoutBox,r)&&kt(h=>{const m=a?n.measuredBox[h]:n.layoutBox[h],g=wt(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=Es();eo(l,r,n.layoutBox);const c=Es();a?eo(c,e.applyTransform(i,!0),n.measuredBox):eo(c,r,n.layoutBox);const d=!Ob(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();to(w,n.layoutBox,m.layoutBox);const f=ke();to(f,r,g.layoutBox),Fb(w,f)||(u=!0),h.options.layoutRoot&&(e.relativeTarget=f,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 l3(e){zi&&Rr.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 c3(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function d3(e){e.clearSnapshot()}function Ag(e){e.clearMeasurements()}function u3(e){e.isLayoutDirty=!1}function h3(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Eg(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function m3(e){e.resolveTargetDelta()}function p3(e){e.calcProjection()}function f3(e){e.resetSkewAndRotation()}function x3(e){e.removeLeadSnapshot()}function Tg(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 Ig(e,t,n,r){e.min=ve(t.min,n.min,r),e.max=ve(t.max,n.max,r)}function g3(e,t,n,r){Ig(e.x,t.x,n.x,r),Ig(e.y,t.y,n.y,r)}function y3(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const v3={duration:.45,ease:[.4,0,.1,1]},Pg=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),Mg=Pg("applewebkit/")&&!Pg("chrome/")?Math.round:yt;function Rg(e){e.min=Mg(e.min),e.max=Mg(e.max)}function w3(e){Rg(e.x),Rg(e.y)}function zb(e,t,n){return e==="position"||e==="preserve-aspect"&&!N5(Sg(t),Sg(n),.2)}function b3(e){var t;return e!==e.root&&((t=e.scroll)===null||t===void 0?void 0:t.wasRoot)}const j3=Vb({attachResizeListener:(e,t)=>To(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),wd={current:void 0},Bb=Vb({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!wd.current){const e=new j3({});e.mount(window),e.setOptions({layoutScroll:!0}),wd.current=e}return wd.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),N3={pan:{Feature:V5},drag:{Feature:_5,ProjectionNode:Bb,MeasureLayout:Rb}};function Dg(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,Jo(t)))}class S3 extends Cr{mount(){const{current:t}=this.node;t&&(this.unmount=NI(t,n=>(Dg(this.node,n,"Start"),r=>Dg(this.node,r,"End"))))}unmount(){}}class k3 extends Cr{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Zo(To(this.node.current,"focus",()=>this.onFocus()),To(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function Lg(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,Jo(t)))}class C3 extends Cr{mount(){const{current:t}=this.node;t&&(this.unmount=AI(t,n=>(Lg(this.node,n,"Start"),(r,{success:i})=>Lg(this.node,r,i?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const nh=new WeakMap,bd=new WeakMap,A3=e=>{const t=nh.get(e.target);t&&t(e)},E3=e=>{e.forEach(A3)};function T3({root:e,...t}){const n=e||document;bd.has(n)||bd.set(n,{});const r=bd.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(E3,{root:e,...t})),r[i]}function I3(e,t,n){const r=T3(t);return nh.set(e,n),r.observe(e),()=>{nh.delete(e),r.unobserve(e)}}const P3={some:0,all:1};class M3 extends Cr{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:P3[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 I3(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(R3(t,n))&&this.startObserver()}unmount(){}}function R3({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const D3={inView:{Feature:M3},tap:{Feature:C3},focus:{Feature:k3},hover:{Feature:S3}},L3={layout:{ProjectionNode:Bb,MeasureLayout:Rb}},rh={current:null},Wb={current:!1};function O3(){if(Wb.current=!0,!!Gm)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>rh.current=e.matches;e.addListener(t),t()}else rh.current=!1}const F3=[...mb,Ge,wr],_3=e=>F3.find(hb(e)),Og=new WeakMap;function V3(e,t,n){for(const r in t){const i=t[r],o=n[r];if(Ye(i))e.addValue(r,i);else if(Ye(o))e.addValue(r,Ao(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,Ao(a!==void 0?a:i,{owner:e}))}}for(const r in n)t[r]===void 0&&e.removeValue(r);return t}const Fg=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class z3{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=vp,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=pn.now();this.renderScheduledAtthis.bindToMotionValue(r,n)),Wb.current||O3(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:rh.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){Og.delete(this.current),this.projection&&this.projection.unmount(),vr(this.notifyUpdate),vr(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=cs.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 oi){const n=oi[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=Ao(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"&&(db(i)||tb(i))?i=parseFloat(i):!_3(i)&&wr.test(n)&&(i=ab(t,n)),this.setBaseTarget(t,Ye(i)?i.get():i)),Ye(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=Jm(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&&!Ye(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 mp),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}}class $b extends z3{constructor(){super(...arguments),this.KeyframeResolver=pb}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;Ye(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}function B3(e){return window.getComputedStyle(e)}class W3 extends $b{constructor(){super(...arguments),this.type="html",this.renderInstance=I1}readValueFromInstance(t,n){if(cs.has(n)){const r=yp(n);return r&&r.default||0}else{const r=B3(t),i=(A1(n)?r.getPropertyValue(n):r[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:n}){return Pb(t,n)}build(t,n,r){np(t,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return op(t,n,r)}}class $3 extends $b{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=ke}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(cs.has(n)){const r=yp(n);return r&&r.default||0}return n=P1.has(n)?n:Qm(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,r){return D1(t,n,r)}build(t,n,r){rp(t,n,this.isSVGTag,r.transformTemplate)}renderInstance(t,n,r,i){M1(t,n,r,i)}mount(t){this.isSVGTag=ip(t.tagName),super.mount(t)}}const U3=(e,t)=>Zm(e)?new $3(t):new W3(t,{allowProjection:e!==p.Fragment}),H3=xI({...p5,...D3,...N3,...L3},U3),E=PT(H3),G3=nc("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"}}),oe=p.forwardRef(({className:e,variant:t,size:n,asChild:r=!1,...i},o)=>{const a=r?S4:"button";return s.jsx(a,{className:Z(G3({variant:t,size:n,className:e})),ref:o,...i})});oe.displayName="Button";function Ub(){const[,e]=zn();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(oe,{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:()=>es(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 q3=[{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 Y3(){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:q3.map((e,t)=>s.jsxs(E.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(at,{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 K3=[{value:"40+",label:"AI Projects Delivered"},{value:"10+",label:"Industries Served"},{value:"500+",label:"Professionals Trained"},{value:"24/7",label:"Expert Support"}],_g=["OpenAI GPT","Anthropic Claude","Google Gemini","Meta Llama","Mistral AI","DeepSeek","Qwen","Cohere","AWS Bedrock","AWS SageMaker","Azure OpenAI Service","Azure AI Foundry","Google Vertex AI","Google AI Studio","MCP","A2A","LangChain","LangGraph","LlamaIndex","CrewAI","Microsoft Agent Framework","DSPy","Haystack","vLLM","Ollama","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"],Q3=[..._g,..._g];function X3(){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:K3.map((e,t)=>s.jsxs(E.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:Q3.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 Z3=[{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 J3({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),f=1-Math.pow(1-w,3);r(Math.floor(f*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 e6({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 t6(){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:Z3.map((r,i)=>s.jsxs(E.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(J3,{target:r.target,suffix:r.suffix}):s.jsx(e6,{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 Vg=[{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"}],n6=[...Vg,...Vg];function r6(){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; /* Force a GPU compositing layer — without this the marquee freezes on iOS Safari (compounded by the backdrop-blur cards). */ will-change: transform; transform: translateZ(0); -webkit-backface-visibility: hidden; backface-visibility: hidden; } /* Only pause on true hover devices, so a tap/scroll-touch on mobile doesn't trigger a sticky :hover that leaves the marquee stuck. */ @media (hover: hover) and (pointer: fine) { .testimonial-pause:hover .testimonial-track { animation-play-state: paused; } } `}),s.jsxs(E.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:n6.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(FC,{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 s6=[{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 i6(){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:s6.map((e,t)=>s.jsxs(E.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,f=h.y-g.y,b=Math.sqrt(w*w+f*f);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,f=a.height/2+Math.sin(u+(h-1)*.5)*100;l.beginPath(),l.moveTo(w,f),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,f=h.y-g.y,b=Math.sqrt(w*w+f*f);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 De={noCode:{name:null,startDate:null,schedule:"Tue & Thu · 6:30–9:30 PM CDT",duration:"8 Weeks"},bootcamp:{name:"Cohort 7",startDate:null,schedule:"Mon & Wed · 6:30–9:30 PM CDT",duration:"8 Weeks"}};function sh(e){return e.startDate??"Forming now"}function o6(){return"New sessions announced regularly — register to be notified"}const a6={hidden:{opacity:0,y:28},show:(e=0)=>({opacity:1,y:0,transition:{delay:e*.12,duration:.65}})},l6=[{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."}],c6=[{icon:s.jsx(at,{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(sc,{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(Go,{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(Oe,{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"}],d6=[{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"}],zg=[{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 u6(){const e=p.useRef(null),[,t]=zn();return Qe({title:xi.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:zg.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(E.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(E.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(E.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(E.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:()=>es(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(vC,{className:"h-4 w-4"})]})]}),s.jsxs(E.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(at,{className:"h-3.5 w-3.5"}),"AI Solutions partners get a free working prototype delivered in 24 hours"]}),s.jsx(E.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(X3,{}),s.jsx(Y3,{}),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:"$2.59T",label:"Global AI spend in 2026, up 47% year over year",source:"Gartner"},{value:"17%",label:"of organizations have actually deployed AI agents",source:"Gartner"},{value:"77%",label:"of companies now weigh a vendor's country of origin",source:"Deloitte"}].map((n,r)=>s.jsxs(E.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(E.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:d6.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(E.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:()=>es(t),className:"inline-flex items-center gap-2 text-secondary font-semibold text-sm hover:text-secondary/80 transition-colors",children:[s.jsx(at,{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(t6,{}),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"}),l6.map((n,r)=>s.jsxs(E.div,{className:"flex flex-col items-center text-center",custom:r,variants:a6,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(E.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(at,{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(i6,{}),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(E.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:$o,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:hi,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 — ${De.bootcamp.name} forming now.`,features:["Beginner to Advanced","Live Online","Portfolio of Projects"],cta:`Join ${De.bootcamp.name}`,href:"/training/agentic-ai-bootcamp",accent:"text-violet-400",bg:"bg-violet-400/10"},{Icon:at,tag:"No Coding Required · 8 Weeks",title:"No-Code AI Bootcamp",desc:`Build AI agents, automations, and apps using visual tools — no programming ever. ${De.noCode.startDate?`Live cohort starting ${De.noCode.startDate}.`:"New live cohort forming now."}`,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:Oe,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(E.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(Ln,{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(r6,{}),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:c6.map((n,r)=>s.jsxs(E.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(E.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:at,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:Oe,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:Dt,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:Go,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(E.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:zg.map((n,r)=>s.jsxs(E.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(Ub,{})]})}const h6=["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"],m6=[{icon:s.jsx(at,{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(sc,{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(Go,{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(Oe,{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"}],p6=[{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 f6(){const[,e]=zn();return Qe({title:xi.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(E.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(E.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(E.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(E.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:p6.map((t,n)=>s.jsxs(E.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(E.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:m6.map((t,n)=>s.jsxs(E.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:()=>es(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:h6.map((t,n)=>s.jsxs(E.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(Ln,{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(Ub,{})]})}const x6=[{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)"}],g6=[{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."}],y6=[{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 v6(){return Qe({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(E.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(rc,{className:"h-3.5 w-3.5 text-secondary flex-shrink-0"}),"Typically respond within 1 business day"]}),s.jsxs(E.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(E.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:x6.map((e,t)=>s.jsx(E.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(E.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(E.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:g6.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(vw,{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(bw,{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(Im,{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:y6.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 w6(){return Qe({title:xi.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(oe,{variant:"ghost",className:"text-white hover:bg-white/20 mb-6",children:[s.jsx(Sm,{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 b6(){return Qe({title:xi.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(oe,{variant:"ghost",className:"text-white hover:bg-white/20 mb-6",children:[s.jsx(Sm,{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 j6(){return Qe({title:xi.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(oe,{variant:"ghost",className:"text-white hover:bg-white/20 mb-6",children:[s.jsx(Sm,{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 Io=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}));Io.displayName="Input";var N6="Label",Hb=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())}}));Hb.displayName=N6;var Gb=Hb;const S6=nc("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),Dr=p.forwardRef(({className:e,...t},n)=>s.jsx(Gb,{ref:n,className:Z(S6(),e),...t}));Dr.displayName=Gb.displayName;const qb=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}));qb.displayName="Textarea";function Bg(e,[t,n]){return Math.min(n,Math.max(t,e))}var k6=p.createContext(void 0);function Np(e){const t=p.useContext(k6);return e||t||"ltr"}var jd=0;function Yb(){p.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??Wg()),document.body.insertAdjacentElement("beforeend",e[1]??Wg()),jd++,()=>{jd===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),jd--}},[])}function Wg(){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 Nd="focusScope.autoFocusOnMount",Sd="focusScope.autoFocusOnUnmount",$g={bubbles:!1,cancelable:!0},C6="FocusScope",Sp=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,f=>c(f)),g=p.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;p.useEffect(()=>{if(r){let f=function(y){if(g.paused||!l)return;const j=y.target;l.contains(j)?h.current=j:qn(h.current,{select:!0})},b=function(y){if(g.paused||!l)return;const j=y.relatedTarget;j!==null&&(l.contains(j)||qn(h.current,{select:!0}))},v=function(y){if(document.activeElement===document.body)for(const N of y)N.removedNodes.length>0&&qn(l)};document.addEventListener("focusin",f),document.addEventListener("focusout",b);const x=new MutationObserver(v);return l&&x.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",f),document.removeEventListener("focusout",b),x.disconnect()}}},[r,l,g.paused]),p.useEffect(()=>{if(l){Hg.add(g);const f=document.activeElement;if(!l.contains(f)){const v=new CustomEvent(Nd,$g);l.addEventListener(Nd,d),l.dispatchEvent(v),v.defaultPrevented||(A6(M6(Kb(l)),{select:!0}),document.activeElement===f&&qn(l))}return()=>{l.removeEventListener(Nd,d),setTimeout(()=>{const v=new CustomEvent(Sd,$g);l.addEventListener(Sd,u),l.dispatchEvent(v),v.defaultPrevented||qn(f??document.body,{select:!0}),l.removeEventListener(Sd,u),Hg.remove(g)},0)}}},[l,d,u,g]);const w=p.useCallback(f=>{if(!n&&!r||g.paused)return;const b=f.key==="Tab"&&!f.altKey&&!f.ctrlKey&&!f.metaKey,v=document.activeElement;if(b&&v){const x=f.currentTarget,[y,j]=E6(x);y&&j?!f.shiftKey&&v===j?(f.preventDefault(),n&&qn(y,{select:!0})):f.shiftKey&&v===y&&(f.preventDefault(),n&&qn(j,{select:!0})):v===x&&f.preventDefault()}},[n,r,g.paused]);return s.jsx(X.div,{tabIndex:-1,...a,ref:m,onKeyDown:w})});Sp.displayName=C6;function A6(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(qn(r,{select:t}),document.activeElement!==n)return}function E6(e){const t=Kb(e),n=Ug(t,e),r=Ug(t.reverse(),e);return[n,r]}function Kb(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 Ug(e,t){for(const n of e)if(!T6(n,{upTo:t}))return n}function T6(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 I6(e){return e instanceof HTMLInputElement&&"select"in e}function qn(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&I6(e)&&t&&e.select()}}var Hg=P6();function P6(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=Gg(e,t),e.unshift(t)},remove(t){var n;e=Gg(e,t),(n=e[0])==null||n.resume()}}}function Gg(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function M6(e){return e.filter(t=>t.tagName!=="A")}function R6(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 D6=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},us=new WeakMap,Aa=new WeakMap,Ea={},kd=0,Qb=function(e){return e&&(e.host||Qb(e.parentNode))},L6=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=Qb(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})},O6=function(e,t,n,r){var i=L6(t,Array.isArray(e)?e:[e]);Ea[n]||(Ea[n]=new WeakMap);var o=Ea[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",f=(us.get(m)||0)+1,b=(o.get(m)||0)+1;us.set(m,f),o.set(m,b),a.push(m),f===1&&w&&Aa.set(m,!0),b===1&&m.setAttribute(n,"true"),w||m.setAttribute(r,"true")}catch(v){console.error("aria-hidden: cannot operate on ",m,v)}})};return u(t),l.clear(),kd++,function(){a.forEach(function(h){var m=us.get(h)-1,g=o.get(h)-1;us.set(h,m),o.set(h,g),m||(Aa.has(h)||h.removeAttribute(r),Aa.delete(h)),g||h.removeAttribute(n)}),kd--,kd||(us=new WeakMap,us=new WeakMap,Aa=new WeakMap,Ea={})}},Xb=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),i=D6(e);return i?(r.push.apply(r,Array.from(i.querySelectorAll("[aria-live], script"))),O6(r,i,n,"aria-hidden")):function(){return null}},ln=function(){return ln=Object.assign||function(t){for(var n,r=1,i=arguments.length;r"u")return J6;var t=eM(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])}},nM=t2(),Vs="data-scroll-locked",rM=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(_6,` { overflow: hidden `).concat(r,`; padding-right: `).concat(l,"px ").concat(r,`; } body[`).concat(Vs,`] { 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(Qa,` { margin-right: `).concat(l,"px ").concat(r,`; } .`).concat(Ka," .").concat(Ka,` { right: 0 `).concat(r,`; } .`).concat(Qa," .").concat(Qa,` { margin-right: 0 `).concat(r,`; } body[`).concat(Vs,`] { `).concat(V6,": ").concat(l,`px; } `)},Yg=function(){var e=parseInt(document.body.getAttribute(Vs)||"0",10);return isFinite(e)?e:0},sM=function(){p.useEffect(function(){return document.body.setAttribute(Vs,(Yg()+1).toString()),function(){var e=Yg()-1;e<=0?document.body.removeAttribute(Vs):document.body.setAttribute(Vs,e.toString())}},[])},iM=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,i=r===void 0?"margin":r;sM();var o=p.useMemo(function(){return tM(i)},[i]);return p.createElement(nM,{styles:rM(o,!t,i,n?"":"!important")})},ih=!1;if(typeof window<"u")try{var Ta=Object.defineProperty({},"passive",{get:function(){return ih=!0,!0}});window.addEventListener("test",Ta,Ta),window.removeEventListener("test",Ta,Ta)}catch{ih=!1}var hs=ih?{passive:!1}:!1,oM=function(e){return e.tagName==="TEXTAREA"},n2=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!oM(e)&&n[t]==="visible")},aM=function(e){return n2(e,"overflowY")},lM=function(e){return n2(e,"overflowX")},Kg=function(e,t){var n=t.ownerDocument,r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var i=r2(e,r);if(i){var o=s2(e,r),a=o[1],l=o[2];if(a>l)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},cM=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},dM=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},r2=function(e,t){return e==="v"?aM(t):lM(t)},s2=function(e,t){return e==="v"?cM(t):dM(t)},uM=function(e,t){return e==="h"&&t==="rtl"?-1:1},hM=function(e,t,n,r,i){var o=uM(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=s2(e,l),w=g[0],f=g[1],b=g[2],v=f-b-o*w;(w||v)&&r2(e,l)&&(h+=v,m+=w);var x=l.parentNode;l=x&&x.nodeType===Node.DOCUMENT_FRAGMENT_NODE?x.host:x}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},Ia=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Qg=function(e){return[e.deltaX,e.deltaY]},Xg=function(e){return e&&"current"in e?e.current:e},mM=function(e,t){return e[0]===t[0]&&e[1]===t[1]},pM=function(e){return` .block-interactivity-`.concat(e,` {pointer-events: none;} .allow-interactivity-`).concat(e,` {pointer-events: all;} `)},fM=0,ms=[];function xM(e){var t=p.useRef([]),n=p.useRef([0,0]),r=p.useRef(),i=p.useState(fM++)[0],o=p.useState(t2)[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 f=F6([e.lockRef.current],(e.shards||[]).map(Xg),!0).filter(Boolean);return f.forEach(function(b){return b.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),f.forEach(function(b){return b.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var l=p.useCallback(function(f,b){if("touches"in f&&f.touches.length===2||f.type==="wheel"&&f.ctrlKey)return!a.current.allowPinchZoom;var v=Ia(f),x=n.current,y="deltaX"in f?f.deltaX:x[0]-v[0],j="deltaY"in f?f.deltaY:x[1]-v[1],N,k=f.target,S=Math.abs(y)>Math.abs(j)?"h":"v";if("touches"in f&&S==="h"&&k.type==="range")return!1;var C=Kg(S,k);if(!C)return!0;if(C?N=S:(N=S==="v"?"h":"v",C=Kg(S,k)),!C)return!1;if(!r.current&&"changedTouches"in f&&(y||j)&&(r.current=N),!N)return!0;var M=r.current||N;return hM(M,b,f,M==="h"?y:j)},[]),c=p.useCallback(function(f){var b=f;if(!(!ms.length||ms[ms.length-1]!==o)){var v="deltaY"in b?Qg(b):Ia(b),x=t.current.filter(function(N){return N.name===b.type&&(N.target===b.target||b.target===N.shadowParent)&&mM(N.delta,v)})[0];if(x&&x.should){b.cancelable&&b.preventDefault();return}if(!x){var y=(a.current.shards||[]).map(Xg).filter(Boolean).filter(function(N){return N.contains(b.target)}),j=y.length>0?l(b,y[0]):!a.current.noIsolation;j&&b.cancelable&&b.preventDefault()}}},[]),d=p.useCallback(function(f,b,v,x){var y={name:f,delta:b,target:v,should:x,shadowParent:gM(v)};t.current.push(y),setTimeout(function(){t.current=t.current.filter(function(j){return j!==y})},1)},[]),u=p.useCallback(function(f){n.current=Ia(f),r.current=void 0},[]),h=p.useCallback(function(f){d(f.type,Qg(f),f.target,l(f,e.lockRef.current))},[]),m=p.useCallback(function(f){d(f.type,Ia(f),f.target,l(f,e.lockRef.current))},[]);p.useEffect(function(){return ms.push(o),e.setCallbacks({onScrollCapture:h,onWheelCapture:h,onTouchMoveCapture:m}),document.addEventListener("wheel",c,hs),document.addEventListener("touchmove",c,hs),document.addEventListener("touchstart",u,hs),function(){ms=ms.filter(function(f){return f!==o}),document.removeEventListener("wheel",c,hs),document.removeEventListener("touchmove",c,hs),document.removeEventListener("touchstart",u,hs)}},[]);var g=e.removeScrollBar,w=e.inert;return p.createElement(p.Fragment,null,w?p.createElement(o,{styles:pM(i)}):null,g?p.createElement(iM,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function gM(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const yM=G6(e2,xM);var kp=p.forwardRef(function(e,t){return p.createElement(gc,ln({},e,{ref:t,sideCar:yM}))});kp.classNames=gc.classNames;var vM=[" ","Enter","ArrowUp","ArrowDown"],wM=[" ","Enter"],ns="Select",[yc,vc,bM]=vm(ns),[vi]=Sr(ns,[bM,cc]),wc=cc(),[jM,Ar]=vi(ns),[NM,SM]=vi(ns),i2=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,f=wc(t),[b,v]=p.useState(null),[x,y]=p.useState(null),[j,N]=p.useState(!1),k=Np(d),[S,C]=Jr({prop:r,defaultProp:i??!1,onChange:o,caller:ns}),[M,A]=Jr({prop:a,defaultProp:l,onChange:c,caller:ns}),R=p.useRef(null),O=b?w||!!b.closest("form"):!0,[H,T]=p.useState(new Set),W=Array.from(H).map(_=>_.props.value).join(";");return s.jsx(e1,{...f,children:s.jsxs(jM,{required:g,scope:t,trigger:b,onTriggerChange:v,valueNode:x,onValueNodeChange:y,valueNodeHasChildren:j,onValueNodeHasChildrenChange:N,contentId:En(),value:M,onValueChange:A,open:S,onOpenChange:C,dir:k,triggerPointerDownPosRef:R,disabled:m,children:[s.jsx(yc.Provider,{scope:t,children:s.jsx(NM,{scope:e.__scopeSelect,onNativeOptionAdd:p.useCallback(_=>{T(V=>new Set(V).add(_))},[]),onNativeOptionRemove:p.useCallback(_=>{T(V=>{const I=new Set(V);return I.delete(_),I})},[]),children:n})}),O?s.jsxs(T2,{"aria-hidden":!0,required:g,tabIndex:-1,name:u,autoComplete:h,value:M,onChange:_=>A(_.target.value),disabled:m,form:w,children:[M===void 0?s.jsx("option",{value:""}):null,Array.from(H)]},W):null]})})};i2.displayName=ns;var o2="SelectTrigger",a2=p.forwardRef((e,t)=>{const{__scopeSelect:n,disabled:r=!1,...i}=e,o=wc(n),a=Ar(o2,n),l=a.disabled||r,c=de(t,a.onTriggerChange),d=vc(n),u=p.useRef("touch"),[h,m,g]=P2(f=>{const b=d().filter(y=>!y.disabled),v=b.find(y=>y.value===a.value),x=M2(b,f,v);x!==void 0&&a.onValueChange(x.value)}),w=f=>{l||(a.onOpenChange(!0),g()),f&&(a.triggerPointerDownPosRef.current={x:Math.round(f.pageX),y:Math.round(f.pageY)})};return s.jsx(t1,{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":I2(a.value)?"":void 0,...i,ref:c,onClick:U(i.onClick,f=>{f.currentTarget.focus(),u.current!=="mouse"&&w(f)}),onPointerDown:U(i.onPointerDown,f=>{u.current=f.pointerType;const b=f.target;b.hasPointerCapture(f.pointerId)&&b.releasePointerCapture(f.pointerId),f.button===0&&f.ctrlKey===!1&&f.pointerType==="mouse"&&(w(f),f.preventDefault())}),onKeyDown:U(i.onKeyDown,f=>{const b=h.current!=="";!(f.ctrlKey||f.altKey||f.metaKey)&&f.key.length===1&&m(f.key),!(b&&f.key===" ")&&vM.includes(f.key)&&(w(),f.preventDefault())})})})});a2.displayName=o2;var l2="SelectValue",c2=p.forwardRef((e,t)=>{const{__scopeSelect:n,className:r,style:i,children:o,placeholder:a="",...l}=e,c=Ar(l2,n),{onValueNodeHasChildrenChange:d}=c,u=o!==void 0,h=de(t,c.onValueNodeChange);return Be(()=>{d(u)},[d,u]),s.jsx(X.span,{...l,ref:h,style:{pointerEvents:"none"},children:I2(c.value)?s.jsx(s.Fragment,{children:a}):o})});c2.displayName=l2;var kM="SelectIcon",d2=p.forwardRef((e,t)=>{const{__scopeSelect:n,children:r,...i}=e;return s.jsx(X.span,{"aria-hidden":!0,...i,ref:t,children:r||"▼"})});d2.displayName=kM;var CM="SelectPortal",u2=e=>s.jsx(Bo,{asChild:!0,...e});u2.displayName=CM;var rs="SelectContent",h2=p.forwardRef((e,t)=>{const n=Ar(rs,e.__scopeSelect),[r,i]=p.useState();if(Be(()=>{i(new DocumentFragment)},[]),!n.open){const o=r;return o?as.createPortal(s.jsx(m2,{scope:e.__scopeSelect,children:s.jsx(yc.Slot,{scope:e.__scopeSelect,children:s.jsx("div",{children:e.children})})}),o):null}return s.jsx(p2,{...e,ref:t})});h2.displayName=rs;var Ft=10,[m2,Er]=vi(rs),AM="SelectContentImpl",EM=ni("SelectContent.RemoveScroll"),p2=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:f,avoidCollisions:b,...v}=e,x=Ar(rs,n),[y,j]=p.useState(null),[N,k]=p.useState(null),S=de(t,G=>j(G)),[C,M]=p.useState(null),[A,R]=p.useState(null),O=vc(n),[H,T]=p.useState(!1),W=p.useRef(!1);p.useEffect(()=>{if(y)return Xb(y)},[y]),Yb();const _=p.useCallback(G=>{const[ue,...We]=O().map(ie=>ie.ref.current),[le]=We.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(()=>_([C,y]),[_,C,y]);p.useEffect(()=>{H&&V()},[H,V]);const{onOpenChange:I,triggerPointerDownPosRef:L}=x;p.useEffect(()=>{if(y){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))}},We=le=>{G.x<=10&&G.y<=10?le.preventDefault():y.contains(le.target)||I(!1),document.removeEventListener("pointermove",ue),L.current=null};return L.current!==null&&(document.addEventListener("pointermove",ue),document.addEventListener("pointerup",We,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",ue),document.removeEventListener("pointerup",We,{capture:!0})}}},[y,I,L]),p.useEffect(()=>{const G=()=>I(!1);return window.addEventListener("blur",G),window.addEventListener("resize",G),()=>{window.removeEventListener("blur",G),window.removeEventListener("resize",G)}},[I]);const[B,K]=P2(G=>{const ue=O().filter(se=>!se.disabled),We=ue.find(se=>se.ref.current===document.activeElement),le=M2(ue,G,We);le&&setTimeout(()=>le.ref.current.focus())}),re=p.useCallback((G,ue,We)=>{const le=!W.current&&!We;(x.value!==void 0&&x.value===ue||le)&&(M(G),le&&(W.current=!0))},[x.value]),Xe=p.useCallback(()=>y==null?void 0:y.focus(),[y]),Te=p.useCallback((G,ue,We)=>{const le=!W.current&&!We;(x.value!==void 0&&x.value===ue||le)&&R(G)},[x.value]),Xt=r==="popper"?oh:f2,Ze=Xt===oh?{side:l,sideOffset:c,align:d,alignOffset:u,arrowPadding:h,collisionBoundary:m,collisionPadding:g,sticky:w,hideWhenDetached:f,avoidCollisions:b}:{};return s.jsx(m2,{scope:n,content:y,viewport:N,onViewportChange:k,itemRefCallback:re,selectedItem:C,onItemLeave:Xe,itemTextRefCallback:Te,focusSelectedItem:V,selectedItemText:A,position:r,isPositioned:H,searchRef:B,children:s.jsx(kp,{as:EM,allowPinchZoom:!0,children:s.jsx(Sp,{asChild:!0,trapped:x.open,onMountAutoFocus:G=>{G.preventDefault()},onUnmountAutoFocus:U(i,G=>{var ue;(ue=x.trigger)==null||ue.focus({preventScroll:!0}),G.preventDefault()}),children:s.jsx(zo,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:o,onPointerDownOutside:a,onFocusOutside:G=>G.preventDefault(),onDismiss:()=>x.onOpenChange(!1),children:s.jsx(Xt,{role:"listbox",id:x.contentId,"data-state":x.open?"open":"closed",dir:x.dir,onContextMenu:G=>G.preventDefault(),...v,...Ze,onPlaced:()=>T(!0),ref:S,style:{display:"flex",flexDirection:"column",outline:"none",...v.style},onKeyDown:U(v.onKeyDown,G=>{const ue=G.ctrlKey||G.altKey||G.metaKey;if(G.key==="Tab"&&G.preventDefault(),!ue&&G.key.length===1&&K(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(()=>_(le)),G.preventDefault()}})})})})})})});p2.displayName=AM;var TM="SelectItemAlignedPosition",f2=p.forwardRef((e,t)=>{const{__scopeSelect:n,onPlaced:r,...i}=e,o=Ar(rs,n),a=Er(rs,n),[l,c]=p.useState(null),[d,u]=p.useState(null),h=de(t,S=>u(S)),m=vc(n),g=p.useRef(!1),w=p.useRef(!0),{viewport:f,selectedItem:b,selectedItemText:v,focusSelectedItem:x}=a,y=p.useCallback(()=>{if(o.trigger&&o.valueNode&&l&&d&&f&&b&&v){const S=o.trigger.getBoundingClientRect(),C=d.getBoundingClientRect(),M=o.valueNode.getBoundingClientRect(),A=v.getBoundingClientRect();if(o.dir!=="rtl"){const se=A.left-C.left,ie=M.left-se,ht=S.left-ie,Zt=S.width+ht,wi=Math.max(Zt,C.width),bi=window.innerWidth-Ft,ji=Bg(ie,[Ft,Math.max(Ft,bi-wi)]);l.style.minWidth=Zt+"px",l.style.left=ji+"px"}else{const se=C.right-A.right,ie=window.innerWidth-M.right-se,ht=window.innerWidth-S.right-ie,Zt=S.width+ht,wi=Math.max(Zt,C.width),bi=window.innerWidth-Ft,ji=Bg(ie,[Ft,Math.max(Ft,bi-wi)]);l.style.minWidth=Zt+"px",l.style.right=ji+"px"}const R=m(),O=window.innerHeight-Ft*2,H=f.scrollHeight,T=window.getComputedStyle(d),W=parseInt(T.borderTopWidth,10),_=parseInt(T.paddingTop,10),V=parseInt(T.borderBottomWidth,10),I=parseInt(T.paddingBottom,10),L=W+_+H+I+V,B=Math.min(b.offsetHeight*5,L),K=window.getComputedStyle(f),re=parseInt(K.paddingTop,10),Xe=parseInt(K.paddingBottom,10),Te=S.top+S.height/2-Ft,Xt=O-Te,Ze=b.offsetHeight/2,G=b.offsetTop+Ze,ue=W+_+G,We=L-ue;if(ue<=Te){const se=R.length>0&&b===R[R.length-1].ref.current;l.style.bottom="0px";const ie=d.clientHeight-f.offsetTop-f.offsetHeight,ht=Math.max(Xt,Ze+(se?Xe:0)+ie+V),Zt=ue+ht;l.style.height=Zt+"px"}else{const se=R.length>0&&b===R[0].ref.current;l.style.top="0px";const ht=Math.max(Te,W+f.offsetTop+(se?re:0)+Ze)+We;l.style.height=ht+"px",f.scrollTop=ue-Te+f.offsetTop}l.style.margin=`${Ft}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,f,b,v,o.dir,r]);Be(()=>y(),[y]);const[j,N]=p.useState();Be(()=>{d&&N(window.getComputedStyle(d).zIndex)},[d]);const k=p.useCallback(S=>{S&&w.current===!0&&(y(),x==null||x(),w.current=!1)},[y,x]);return s.jsx(PM,{scope:n,contentWrapper:l,shouldExpandOnScrollRef:g,onScrollButtonChange:k,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}})})})});f2.displayName=TM;var IM="SelectPopperPosition",oh=p.forwardRef((e,t)=>{const{__scopeSelect:n,align:r="start",collisionPadding:i=Ft,...o}=e,a=wc(n);return s.jsx(n1,{...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)"}})});oh.displayName=IM;var[PM,Cp]=vi(rs,{}),ah="SelectViewport",x2=p.forwardRef((e,t)=>{const{__scopeSelect:n,nonce:r,...i}=e,o=Er(ah,n),a=Cp(ah,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(yc.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-Ft*2,f=parseFloat(h.style.minHeight),b=parseFloat(h.style.height),v=Math.max(f,b);if(v0?j:0,h.style.justifyContent="flex-end")}}}c.current=u.scrollTop})})})]})});x2.displayName=ah;var g2="SelectGroup",[MM,RM]=vi(g2),DM=p.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,i=En();return s.jsx(MM,{scope:n,id:i,children:s.jsx(X.div,{role:"group","aria-labelledby":i,...r,ref:t})})});DM.displayName=g2;var y2="SelectLabel",v2=p.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,i=RM(y2,n);return s.jsx(X.div,{id:i.id,...r,ref:t})});v2.displayName=y2;var Dl="SelectItem",[LM,w2]=vi(Dl),b2=p.forwardRef((e,t)=>{const{__scopeSelect:n,value:r,disabled:i=!1,textValue:o,...a}=e,l=Ar(Dl,n),c=Er(Dl,n),d=l.value===r,[u,h]=p.useState(o??""),[m,g]=p.useState(!1),w=de(t,x=>{var y;return(y=c.itemRefCallback)==null?void 0:y.call(c,x,r,i)}),f=En(),b=p.useRef("touch"),v=()=>{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(LM,{scope:n,value:r,disabled:i,textId:f,isSelected:d,onItemTextChange:p.useCallback(x=>{h(y=>y||((x==null?void 0:x.textContent)??"").trim())},[]),children:s.jsx(yc.ItemSlot,{scope:n,value:r,disabled:i,textValue:u,children:s.jsx(X.div,{role:"option","aria-labelledby":f,"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"&&v()}),onPointerUp:U(a.onPointerUp,()=>{b.current==="mouse"&&v()}),onPointerDown:U(a.onPointerDown,x=>{b.current=x.pointerType}),onPointerMove:U(a.onPointerMove,x=>{var y;b.current=x.pointerType,i?(y=c.onItemLeave)==null||y.call(c):b.current==="mouse"&&x.currentTarget.focus({preventScroll:!0})}),onPointerLeave:U(a.onPointerLeave,x=>{var y;x.currentTarget===document.activeElement&&((y=c.onItemLeave)==null||y.call(c))}),onKeyDown:U(a.onKeyDown,x=>{var j;((j=c.searchRef)==null?void 0:j.current)!==""&&x.key===" "||(wM.includes(x.key)&&v(),x.key===" "&&x.preventDefault())})})})})});b2.displayName=Dl;var Bi="SelectItemText",j2=p.forwardRef((e,t)=>{const{__scopeSelect:n,className:r,style:i,...o}=e,a=Ar(Bi,n),l=Er(Bi,n),c=w2(Bi,n),d=SM(Bi,n),[u,h]=p.useState(null),m=de(t,v=>h(v),c.onItemTextChange,v=>{var x;return(x=l.itemTextRefCallback)==null?void 0:x.call(l,v,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:f,onNativeOptionRemove:b}=d;return Be(()=>(f(w),()=>b(w)),[f,b,w]),s.jsxs(s.Fragment,{children:[s.jsx(X.span,{id:c.textId,...o,ref:m}),c.isSelected&&a.valueNode&&!a.valueNodeHasChildren?as.createPortal(o.children,a.valueNode):null]})});j2.displayName=Bi;var N2="SelectItemIndicator",S2=p.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e;return w2(N2,n).isSelected?s.jsx(X.span,{"aria-hidden":!0,...r,ref:t}):null});S2.displayName=N2;var lh="SelectScrollUpButton",k2=p.forwardRef((e,t)=>{const n=Er(lh,e.__scopeSelect),r=Cp(lh,e.__scopeSelect),[i,o]=p.useState(!1),a=de(t,r.onScrollButtonChange);return Be(()=>{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(A2,{...e,ref:a,onAutoScroll:()=>{const{viewport:l,selectedItem:c}=n;l&&c&&(l.scrollTop=l.scrollTop-c.offsetHeight)}}):null});k2.displayName=lh;var ch="SelectScrollDownButton",C2=p.forwardRef((e,t)=>{const n=Er(ch,e.__scopeSelect),r=Cp(ch,e.__scopeSelect),[i,o]=p.useState(!1),a=de(t,r.onScrollButtonChange);return Be(()=>{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(A2,{...e,ref:a,onAutoScroll:()=>{const{viewport:l,selectedItem:c}=n;l&&c&&(l.scrollTop=l.scrollTop+c.offsetHeight)}}):null});C2.displayName=ch;var A2=p.forwardRef((e,t)=>{const{__scopeSelect:n,onAutoScroll:r,...i}=e,o=Er("SelectScrollButton",n),a=p.useRef(null),l=vc(n),c=p.useCallback(()=>{a.current!==null&&(window.clearInterval(a.current),a.current=null)},[]);return p.useEffect(()=>()=>c(),[c]),Be(()=>{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()})})}),OM="SelectSeparator",E2=p.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e;return s.jsx(X.div,{"aria-hidden":!0,...r,ref:t})});E2.displayName=OM;var dh="SelectArrow",FM=p.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,i=wc(n),o=Ar(dh,n),a=Er(dh,n);return o.open&&a.position==="popper"?s.jsx(r1,{...i,...r,ref:t}):null});FM.displayName=dh;var _M="SelectBubbleInput",T2=p.forwardRef(({__scopeSelect:e,value:t,...n},r)=>{const i=p.useRef(null),o=de(r,i),a=R6(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:{...Yv,...n.style},ref:o,defaultValue:t})});T2.displayName=_M;function I2(e){return e===""||e===void 0}function P2(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 M2(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=VM(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 VM(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var zM=i2,R2=a2,BM=c2,WM=d2,$M=u2,D2=h2,UM=x2,L2=v2,O2=b2,HM=j2,GM=S2,F2=k2,_2=C2,V2=E2;const qM=zM,YM=BM,z2=p.forwardRef(({className:e,children:t,...n},r)=>s.jsxs(R2,{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(WM,{asChild:!0,children:s.jsx(tt,{className:"h-4 w-4 opacity-50"})})]}));z2.displayName=R2.displayName;const B2=p.forwardRef(({className:e,...t},n)=>s.jsx(F2,{ref:n,className:Z("flex cursor-default items-center justify-center py-1",e),...t,children:s.jsx(Am,{className:"h-4 w-4"})}));B2.displayName=F2.displayName;const W2=p.forwardRef(({className:e,...t},n)=>s.jsx(_2,{ref:n,className:Z("flex cursor-default items-center justify-center py-1",e),...t,children:s.jsx(tt,{className:"h-4 w-4"})}));W2.displayName=_2.displayName;const $2=p.forwardRef(({className:e,children:t,position:n="popper",...r},i)=>s.jsx($M,{children:s.jsxs(D2,{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(B2,{}),s.jsx(UM,{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(W2,{})]})}));$2.displayName=D2.displayName;const KM=p.forwardRef(({className:e,...t},n)=>s.jsx(L2,{ref:n,className:Z("py-1.5 pl-8 pr-2 text-sm font-semibold",e),...t}));KM.displayName=L2.displayName;const Yn=p.forwardRef(({className:e,children:t,...n},r)=>s.jsxs(O2,{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(GM,{children:s.jsx(yC,{className:"h-4 w-4"})})}),s.jsx(HM,{children:t})]}));Yn.displayName=O2.displayName;const QM=p.forwardRef(({className:e,...t},n)=>s.jsx(V2,{ref:n,className:Z("-mx-1 my-1 h-px bg-muted",e),...t}));QM.displayName=V2.displayName;var bc="Dialog",[U2]=Sr(bc),[XM,Qt]=U2(bc),H2=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]=Jr({prop:r,defaultProp:i??!1,onChange:o,caller:bc});return s.jsx(XM,{scope:t,triggerRef:l,contentRef:c,contentId:En(),titleId:En(),descriptionId:En(),open:d,onOpenChange:u,onOpenToggle:p.useCallback(()=>u(h=>!h),[u]),modal:a,children:n})};H2.displayName=bc;var G2="DialogTrigger",q2=p.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=Qt(G2,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":Tp(i.open),...r,ref:o,onClick:U(e.onClick,i.onOpenToggle)})});q2.displayName=G2;var Ap="DialogPortal",[ZM,Y2]=U2(Ap,{forceMount:void 0}),K2=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:i}=e,o=Qt(Ap,t);return s.jsx(ZM,{scope:t,forceMount:n,children:p.Children.map(r,a=>s.jsx(kr,{present:n||o.open,children:s.jsx(Bo,{asChild:!0,container:i,children:a})}))})};K2.displayName=Ap;var Ll="DialogOverlay",Q2=p.forwardRef((e,t)=>{const n=Y2(Ll,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,o=Qt(Ll,e.__scopeDialog);return o.modal?s.jsx(kr,{present:r||o.open,children:s.jsx(eR,{...i,ref:t})}):null});Q2.displayName=Ll;var JM=ni("DialogOverlay.RemoveScroll"),eR=p.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=Qt(Ll,n);return s.jsx(kp,{as:JM,allowPinchZoom:!0,shards:[i.contentRef],children:s.jsx(X.div,{"data-state":Tp(i.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),ss="DialogContent",X2=p.forwardRef((e,t)=>{const n=Y2(ss,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,o=Qt(ss,e.__scopeDialog);return s.jsx(kr,{present:r||o.open,children:o.modal?s.jsx(tR,{...i,ref:t}):s.jsx(nR,{...i,ref:t})})});X2.displayName=ss;var tR=p.forwardRef((e,t)=>{const n=Qt(ss,e.__scopeDialog),r=p.useRef(null),i=de(t,n.contentRef,r);return p.useEffect(()=>{const o=r.current;if(o)return Xb(o)},[]),s.jsx(Z2,{...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())})}),nR=p.forwardRef((e,t)=>{const n=Qt(ss,e.__scopeDialog),r=p.useRef(!1),i=p.useRef(!1);return s.jsx(Z2,{...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()}})}),Z2=p.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:o,...a}=e,l=Qt(ss,n),c=p.useRef(null),d=de(t,c);return Yb(),s.jsxs(s.Fragment,{children:[s.jsx(Sp,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:i,onUnmountAutoFocus:o,children:s.jsx(zo,{role:"dialog",id:l.contentId,"aria-describedby":l.descriptionId,"aria-labelledby":l.titleId,"data-state":Tp(l.open),...a,ref:d,onDismiss:()=>l.onOpenChange(!1)})}),s.jsxs(s.Fragment,{children:[s.jsx(rR,{titleId:l.titleId}),s.jsx(iR,{contentRef:c,descriptionId:l.descriptionId})]})]})}),Ep="DialogTitle",J2=p.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=Qt(Ep,n);return s.jsx(X.h2,{id:i.titleId,...r,ref:t})});J2.displayName=Ep;var ej="DialogDescription",tj=p.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=Qt(ej,n);return s.jsx(X.p,{id:i.descriptionId,...r,ref:t})});tj.displayName=ej;var nj="DialogClose",rj=p.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=Qt(nj,n);return s.jsx(X.button,{type:"button",...r,ref:t,onClick:U(e.onClick,()=>i.onOpenChange(!1))})});rj.displayName=nj;function Tp(e){return e?"open":"closed"}var sj="DialogTitleWarning",[XD,ij]=j4(sj,{contentName:ss,titleName:Ep,docsSlug:"dialog"}),rR=({titleId:e})=>{const t=ij(sj),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},sR="DialogDescriptionWarning",iR=({contentRef:e,descriptionId:t})=>{const r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${ij(sR).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},oj=H2,oR=q2,aj=K2,jc=Q2,Nc=X2,Sc=J2,kc=tj,lj=rj;const aR=oj,lR=aj,cj=p.forwardRef(({className:e,...t},n)=>s.jsx(jc,{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}));cj.displayName=jc.displayName;const dj=p.forwardRef(({className:e,children:t,...n},r)=>s.jsxs(lR,{children:[s.jsx(cj,{}),s.jsxs(Nc,{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(lj,{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(ls,{className:"h-4 w-4"}),s.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));dj.displayName=Nc.displayName;const uj=({className:e,...t})=>s.jsx("div",{className:Z("flex flex-col space-y-1.5 text-center sm:text-left",e),...t});uj.displayName="DialogHeader";const hj=p.forwardRef(({className:e,...t},n)=>s.jsx(Sc,{ref:n,className:Z("text-lg font-semibold leading-none tracking-tight",e),...t}));hj.displayName=Sc.displayName;const cR=p.forwardRef(({className:e,...t},n)=>s.jsx(kc,{ref:n,className:Z("text-sm text-muted-foreground",e),...t}));cR.displayName=kc.displayName;var Td="rovingFocusGroup.onEntryFocus",dR={bubbles:!1,cancelable:!0},ea="RovingFocusGroup",[uh,mj,uR]=vm(ea),[hR,pj]=Sr(ea,[uR]),[mR,pR]=hR(ea),fj=p.forwardRef((e,t)=>s.jsx(uh.Provider,{scope:e.__scopeRovingFocusGroup,children:s.jsx(uh.Slot,{scope:e.__scopeRovingFocusGroup,children:s.jsx(fR,{...e,ref:t})})}));fj.displayName=ea;var fR=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=Np(o),[f,b]=Jr({prop:a,defaultProp:l??null,onChange:c,caller:ea}),[v,x]=p.useState(!1),y=Rt(d),j=mj(n),N=p.useRef(!1),[k,S]=p.useState(0);return p.useEffect(()=>{const C=m.current;if(C)return C.addEventListener(Td,y),()=>C.removeEventListener(Td,y)},[y]),s.jsx(mR,{scope:n,orientation:r,dir:w,loop:i,currentTabStopId:f,onItemFocus:p.useCallback(C=>b(C),[b]),onItemShiftTab:p.useCallback(()=>x(!0),[]),onFocusableItemAdd:p.useCallback(()=>S(C=>C+1),[]),onFocusableItemRemove:p.useCallback(()=>S(C=>C-1),[]),children:s.jsx(X.div,{tabIndex:v||k===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,C=>{const M=!N.current;if(C.target===C.currentTarget&&M&&!v){const A=new CustomEvent(Td,dR);if(C.currentTarget.dispatchEvent(A),!A.defaultPrevented){const R=j().filter(_=>_.focusable),O=R.find(_=>_.active),H=R.find(_=>_.id===f),W=[O,H,...R].filter(Boolean).map(_=>_.ref.current);yj(W,u)}}N.current=!1}),onBlur:U(e.onBlur,()=>x(!1))})})}),xj="RovingFocusGroupItem",gj=p.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:i=!1,tabStopId:o,children:a,...l}=e,c=En(),d=o||c,u=pR(xj,n),h=u.currentTabStopId===d,m=mj(n),{onFocusableItemAdd:g,onFocusableItemRemove:w,currentTabStopId:f}=u;return p.useEffect(()=>{if(r)return g(),()=>w()},[r,g,w]),s.jsx(uh.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 v=yR(b,u.orientation,u.dir);if(v!==void 0){if(b.metaKey||b.ctrlKey||b.altKey||b.shiftKey)return;b.preventDefault();let y=m().filter(j=>j.focusable).map(j=>j.ref.current);if(v==="last")y.reverse();else if(v==="prev"||v==="next"){v==="prev"&&y.reverse();const j=y.indexOf(b.currentTarget);y=u.loop?vR(y,j+1):y.slice(j+1)}setTimeout(()=>yj(y))}}),children:typeof a=="function"?a({isCurrentTabStop:h,hasTabStop:f!=null}):a})})});gj.displayName=xj;var xR={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function gR(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function yR(e,t,n){const r=gR(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return xR[r]}function yj(e,t=!1){const n=document.activeElement;for(const r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}function vR(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var wR=fj,bR=gj,Cc="Tabs",[jR]=Sr(Cc,[pj]),vj=pj(),[NR,Ip]=jR(Cc),wj=p.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,onValueChange:i,defaultValue:o,orientation:a="horizontal",dir:l,activationMode:c="automatic",...d}=e,u=Np(l),[h,m]=Jr({prop:r,onChange:i,defaultProp:o??"",caller:Cc});return s.jsx(NR,{scope:n,baseId:En(),value:h,onValueChange:m,orientation:a,dir:u,activationMode:c,children:s.jsx(X.div,{dir:u,"data-orientation":a,...d,ref:t})})});wj.displayName=Cc;var bj="TabsList",jj=p.forwardRef((e,t)=>{const{__scopeTabs:n,loop:r=!0,...i}=e,o=Ip(bj,n),a=vj(n);return s.jsx(wR,{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})})});jj.displayName=bj;var Nj="TabsTrigger",Sj=p.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,disabled:i=!1,...o}=e,a=Ip(Nj,n),l=vj(n),c=Aj(a.baseId,r),d=Ej(a.baseId,r),u=r===a.value;return s.jsx(bR,{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)})})})});Sj.displayName=Nj;var kj="TabsContent",Cj=p.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,forceMount:i,children:o,...a}=e,l=Ip(kj,n),c=Aj(l.baseId,r),d=Ej(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(kr,{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})})});Cj.displayName=kj;function Aj(e,t){return`${e}-trigger-${t}`}function Ej(e,t){return`${e}-content-${t}`}var SR=wj,Tj=jj,Ij=Sj,Pj=Cj;const kR=SR,Mj=p.forwardRef(({className:e,...t},n)=>s.jsx(Tj,{ref:n,className:Z("inline-flex h-10 items-center justify-center rounded-md bg-muted p-1 text-muted-foreground",e),...t}));Mj.displayName=Tj.displayName;const hh=p.forwardRef(({className:e,...t},n)=>s.jsx(Ij,{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}));hh.displayName=Ij.displayName;const mh=p.forwardRef(({className:e,...t},n)=>s.jsx(Pj,{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}));mh.displayName=Pj.displayName;const CR="modulepreload",AR=function(e){return"/"+e},Zg={},ER=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=AR(c),c in Zg)return;Zg[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":CR,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 TR({value:e,onChange:t}){const[n,r]=p.useState(null);if(p.useEffect(()=>{let j=!0;return ER(()=>import("./index-gz7_yqXk.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:f,CodeToggle:b,CreateLink:v,InsertTable:x,ListsToggle:y}=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(f,{}),s.jsx(b,{}),s.jsx(v,{}),s.jsx(y,{}),s.jsx(x,{})]})}),a(),l(),c({allowedHeadingLevels:[1,2,3,4,5,6]}),d(),h(),m({defaultCodeBlockLanguage:"ts"}),u()]})})}function IR(){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}=ym(),[f,b]=zn(),v=async T=>{var _;const W=(_=T.target.files)==null?void 0:_[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 bn("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="")}}},x=async()=>{if(m.imageUrl)try{await bn("DELETE",`/api/upload/image?url=${encodeURIComponent(m.imageUrl)}`),g(T=>({...T,imageUrl:""})),w({title:"Success",description:"Image removed successfully"})}catch(T){console.error("Image deletion failed:",T),w({title:"Deletion failed",description:"Failed to delete image. Please try again.",variant:"destructive"})}};p.useEffect(()=>{y()},[]);const y=async()=>{try{const W=await(await bn("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((T,W)=>{const _=W.category||"Uncategorized";return T[_]=(T[_]||0)+1,T},{}),k=((H=Object.entries(N).sort(([,T],[,W])=>W-T)[0])==null?void 0:H[0])||"N/A",S=e.filter(T=>{const W=new Date(T.createdAt),_=new Date;return _.setDate(_.getDate()-7),W>_}).length,C=async T=>{if(T.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 bn("PUT",`/api/blogs/${a.id}`,W),w({title:"Success",description:"Blog post updated successfully"})):(await bn("POST","/api/blogs",W),w({title:"Success",description:"Blog post created successfully"})),o(!1),l(null),g({title:"",summary:"",content:"",imageUrl:"",category:""}),y()}catch{w({title:"Error",description:a?"Failed to update blog post":"Failed to create blog post",variant:"destructive"})}finally{h(!1)}},M=T=>{l(T),g({title:T.title,summary:T.summary||"",content:T.content,imageUrl:T.imageUrl||"",category:T.category||""}),o(!0)},A=async T=>{if(confirm("Are you sure you want to delete this blog post?"))try{await bn("DELETE",`/api/blogs/${T}`),w({title:"Success",description:"Blog post deleted successfully"}),y()}catch{w({title:"Error",description:"Failed to delete blog post",variant:"destructive"})}},R=async()=>{try{await bn("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(oe,{onClick:()=>b("/blogs"),variant:"outline",children:[s.jsx(ax,{className:"h-4 w-4 mr-2"}),"View Site"]}),s.jsxs(oe,{onClick:O,children:[s.jsx(id,{className:"h-4 w-4 mr-2"}),"New Post"]}),s.jsxs(oe,{onClick:R,variant:"outline",children:[s.jsx(PC,{className:"h-4 w-4 mr-2"}),"Logout"]})]})]}),s.jsxs(kR,{defaultValue:"overview",className:"space-y-6",children:[s.jsxs(Mj,{children:[s.jsx(hh,{value:"overview",children:"Overview"}),s.jsx(hh,{value:"blogs",children:"Blog Management"})]}),s.jsxs(mh,{value:"overview",children:[s.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-6 mb-8",children:[s.jsxs($t,{children:[s.jsx(tn,{className:"pb-3",children:s.jsxs(jn,{className:"text-sm font-medium text-gray-600 flex items-center gap-2",children:[s.jsx(lx,{className:"h-4 w-4"}),"Total Posts"]})}),s.jsxs(nn,{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($t,{children:[s.jsx(tn,{className:"pb-3",children:s.jsxs(jn,{className:"text-sm font-medium text-gray-600 flex items-center gap-2",children:[s.jsx(lx,{className:"h-4 w-4"}),"Categories"]})}),s.jsxs(nn,{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($t,{children:[s.jsx(tn,{className:"pb-3",children:s.jsxs(jn,{className:"text-sm font-medium text-gray-600 flex items-center gap-2",children:[s.jsx(Uo,{className:"h-4 w-4"}),"Recent Posts"]})}),s.jsxs(nn,{children:[s.jsx("div",{className:"text-2xl font-bold text-green-600",children:S}),s.jsx("p",{className:"text-xs text-gray-500 mt-1",children:"Last 7 days"})]})]}),s.jsxs($t,{children:[s.jsx(tn,{className:"pb-3",children:s.jsx(jn,{className:"text-sm font-medium text-gray-600",children:"Most Active Category"})}),s.jsxs(nn,{children:[s.jsx("div",{className:"text-lg font-bold",children:k}),s.jsxs("p",{className:"text-xs text-gray-500 mt-1",children:[N[k]||0," posts"]})]})]})]}),s.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-6",children:[s.jsxs($t,{children:[s.jsx(tn,{children:s.jsx(jn,{children:"Quick Actions"})}),s.jsxs(nn,{className:"space-y-3",children:[s.jsxs(oe,{onClick:O,className:"w-full justify-start",children:[s.jsx(id,{className:"h-4 w-4 mr-2"}),"Create New Blog Post"]}),s.jsxs(oe,{onClick:()=>b("/blogs"),variant:"outline",className:"w-full justify-start",children:[s.jsx(ax,{className:"h-4 w-4 mr-2"}),"View Public Blog"]})]})]}),s.jsxs($t,{children:[s.jsx(tn,{children:s.jsx(jn,{children:"Recent Blog Posts"})}),s.jsx(nn,{children:s.jsxs("div",{className:"space-y-3",children:[e.slice(0,5).map(T=>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:T.title}),s.jsx("p",{className:"text-xs text-gray-500",children:new Date(T.createdAt).toLocaleDateString()})]}),s.jsx(oe,{size:"sm",variant:"outline",onClick:()=>M(T),children:s.jsx(dx,{className:"h-3 w-3"})})]},T.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(mh,{value:"blogs",children:s.jsxs($t,{children:[s.jsx(tn,{children:s.jsxs("div",{className:"flex justify-between items-center",children:[s.jsx(jn,{children:"Blog Posts"}),s.jsxs(oe,{onClick:O,children:[s.jsx(id,{className:"h-4 w-4 mr-2"}),"New Post"]})]})}),s.jsx(nn,{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(T=>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:T.title}),s.jsx("p",{className:"text-sm text-gray-600 mt-1",children:T.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: ",T.category||"Uncategorized"]}),s.jsxs("span",{children:["Created: ",new Date(T.createdAt).toLocaleDateString()]})]})]}),s.jsxs("div",{className:"flex gap-2",children:[s.jsx(oe,{size:"sm",variant:"outline",onClick:()=>M(T),children:s.jsx(dx,{className:"h-4 w-4"})}),s.jsx(oe,{size:"sm",variant:"outline",onClick:()=>A(T.id),children:s.jsx(HC,{className:"h-4 w-4"})})]})]},T.id))})})]})})]}),s.jsx(aR,{open:i,onOpenChange:o,children:s.jsxs(dj,{className:"max-w-2xl max-h-[90vh] overflow-y-auto",children:[s.jsx(uj,{children:s.jsx(hj,{children:a?"Edit Blog Post":"Create New Blog Post"})}),s.jsxs("form",{onSubmit:C,className:"space-y-4",children:[s.jsxs("div",{children:[s.jsx(Dr,{htmlFor:"title",children:"Title"}),s.jsx(Io,{id:"title",value:m.title,onChange:T=>g({...m,title:T.target.value}),required:!0})]}),s.jsxs("div",{children:[s.jsx(Dr,{htmlFor:"summary",children:"Summary"}),s.jsx(qb,{id:"summary",value:m.summary,onChange:T=>g({...m,summary:T.target.value}),rows:3})]}),s.jsxs("div",{children:[s.jsx(Dr,{htmlFor:"category",children:"Category"}),s.jsxs(qM,{value:m.category,onValueChange:T=>g({...m,category:T}),children:[s.jsx(z2,{children:s.jsx(YM,{placeholder:"Select a category"})}),s.jsxs($2,{children:[s.jsx(Yn,{value:"AI",children:"AI"}),s.jsx(Yn,{value:"Automation",children:"Automation"}),s.jsx(Yn,{value:"Machine Learning",children:"Machine Learning"}),s.jsx(Yn,{value:"Data Science",children:"Data Science"}),s.jsx(Yn,{value:"Cloud Solutions",children:"Cloud Solutions"}),s.jsx(Yn,{value:"Technology",children:"Technology"}),s.jsx(Yn,{value:"Industry Insights",children:"Industry Insights"})]})]})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(Dr,{htmlFor:"imageUrl",children:"Image"}),s.jsxs("div",{className:"flex gap-2",children:[s.jsx(Io,{id:"imageUrl",type:"url",value:m.imageUrl,onChange:T=>g({...m,imageUrl:T.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:v,className:"hidden",id:"image-upload",disabled:c}),s.jsx(oe,{type:"button",variant:"outline",onClick:()=>{var T;return(T=document.getElementById("image-upload"))==null?void 0:T.click()},disabled:c,children:c?s.jsxs(s.Fragment,{children:[s.jsx(cx,{className:"h-4 w-4 mr-2 animate-spin"}),"Uploading..."]}):s.jsxs(s.Fragment,{children:[s.jsx(qC,{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:T=>{T.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(oe,{type:"button",variant:"ghost",size:"sm",onClick:x,className:"shrink-0",title:"Remove image",children:s.jsx(ls,{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(Dr,{children:"Content (MDX)"}),s.jsx(TR,{value:m.content,onChange:T=>g(W=>({...W,content:T}))}),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(oe,{type:"button",variant:"outline",onClick:()=>o(!1),disabled:u,children:"Cancel"}),s.jsx(oe,{type:"submit",disabled:u,children:u?s.jsxs(s.Fragment,{children:[s.jsx(cx,{className:"h-4 w-4 mr-2 animate-spin"}),a?"Updating...":"Creating..."]}):a?"Update":"Create"})]})]})]})})]})})}function PR({children:e}){const[t,n]=p.useState("checking"),[r,i]=p.useState(""),[o,a]=p.useState(!1),[l,c]=p.useState(null),{toast:d}=ym(),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 bn("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 bn("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 f=u(w),b=(f==null?void 0:f.status)===503?"Admin access is not configured on the server yet.":"The password you entered is invalid.";(f==null?void 0:f.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($t,{className:"w-full max-w-md",children:[s.jsxs(tn,{children:[s.jsx(jn,{className:"text-2xl",children:"Admin Dashboard Access"}),s.jsx(p1,{children:"Enter the password configured in the environment to manage blog posts."})]}),s.jsx(nn,{children:s.jsxs("form",{onSubmit:m,className:"space-y-4",children:[s.jsxs("div",{className:"space-y-2",children:[s.jsx(Dr,{htmlFor:"adminPassword",children:"Password"}),s.jsx(Io,{id:"adminPassword",type:"password",value:r,onChange:g=>i(g.target.value),placeholder:"Enter admin password",autoComplete:"current-password",disabled:!!l})]}),s.jsx(oe,{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 MR=[{Icon:Dt,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:at,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:hi,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:qo,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"}],RR=[{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."}],DR=[{Icon:$o,label:"C-Suite & Board"},{Icon:hi,label:"Engineering Teams"},{Icon:Ho,label:"Operations & Finance"},{Icon:IC,label:"Product & Growth"},{Icon:Oe,label:"Sales & Customer Success"},{Icon:Go,label:"Cross-Functional Teams"}];function LR(){Qe({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(E.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(tt,{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(E.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(E.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:MR.map(({Icon:t,title:n,desc:r,tag:i,duration:o,color:a,bg:l},c)=>s.jsxs(E.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(E.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:RR.map(({step:t,title:n,desc:r},i)=>s.jsxs(E.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(E.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:DR.map(({Icon:t,label:n},r)=>s.jsxs(E.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(E.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(E.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(E.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(E.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 OR=[{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"}],FR=[{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"}],_R=[{icon:s.jsx(BC,{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(rc,{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(Dt,{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(zC,{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 VR(){Qe({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(E.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(E.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(E.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(E.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(E.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:OR.map((t,n)=>s.jsxs(E.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:FR.map((t,n)=>s.jsxs(E.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:_R.map((t,n)=>s.jsxs(E.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 zR=[{icon:s.jsx(Du,{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(kC,{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(rc,{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(Oe,{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"}],BR=[{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"}],WR=()=>{Qe({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(E.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(E.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(E.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(E.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(E.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:zR.map((t,n)=>s.jsxs(E.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:BR.map((t,n)=>s.jsxs(E.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"})})]})})})]})},$R=[{Icon:Dt,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:YC,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:Mm,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:NC,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:sc,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:Em,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"}],UR=["LangGraph","CrewAI","AutoGen","LangChain","Anthropic Claude","OpenAI","MCP Servers","RAG Pipelines","CRM Systems","ERP Systems","IoT Sensors","SCADA / CMMS"],Id={workflows:{tabLabel:"Workflows",icon:s.jsx(EC,{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(VC,{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(AC,{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(yw,{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(Nm,{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 HR(){const[e,t]=p.useState("workflows");Qe({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=Id[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(E.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(E.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(E.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(E.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(E.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:$R.map(({Icon:i,title:o,desc:a,color:l,bg:c},d)=>s.jsxs(E.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:UR.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:ww,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:Rm,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:bC,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(E.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(Ln,{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(Id).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:Id[i].tabLabel},i))}),s.jsx(E.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(Ln,{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 GR=[{Icon:Cm,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:jw,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:OC,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:Nm,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:xC,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:Em,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"}],qR=[{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"}],YR=["NVIDIA Jetson","NVIDIA Omniverse","OpenCV","YOLO","TensorRT","ONNX Runtime","ROS 2","AWS IoT Greengrass","Azure IoT Edge","MQTT","OPC-UA"],Pd={manufacturing:{tabLabel:"Manufacturing",icon:s.jsx(CC,{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(WC,{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(GC,{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($o,{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(at,{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 KR(){const[e,t]=p.useState("manufacturing");Qe({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=Pd[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(E.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(E.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(E.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(E.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(E.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:GR.map(({Icon:i,title:o,desc:a,color:l,bg:c},d)=>s.jsxs(E.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:qR.map((i,o)=>s.jsxs(E.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:YR.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(Pd).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:Pd[i].tabLabel},i))}),s.jsx(E.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(Ln,{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 QR=[{Icon:TC,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:Nm,label:"Clinical decision support & patient-risk prediction"},{Icon:jw,label:"Medical imaging & diagnostics (radiology, pathology)"},{Icon:km,label:"Biomedical NLP & literature intelligence"},{Icon:SC,label:"Genomics & drug-discovery acceleration"},{Icon:sc,label:"Privacy-preserving ML on health data (HIPAA-aware)"}]},{Icon:Ru,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:Cm,label:"Computer vision for industrial & field environments"},{Icon:Ru,label:"Embodied AI & robotics — perception to action"},{Icon:Em,label:"Edge inference & on-device model optimization"},{Icon:gC,label:"Sensor fusion & digital twins"},{Icon:_C,label:"Real-time monitoring & anomaly detection"}]}],XR=[{Icon:Tm,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:km,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:Mm,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"}],ZR=[{Icon:km,title:"Preprints & Whitepapers",desc:"Peer-quality writeups on methods, results, and what actually worked in production."},{Icon:DC,title:"Benchmarks & Datasets",desc:"Reproducible evaluations and curated datasets for healthcare and physical AI tasks."},{Icon:Dt,title:"Open-Source Tooling",desc:"Libraries and reference implementations the broader community can build on."}];function JR(){Qe({title:xi.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(E.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(E.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(E.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(E.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(E.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:QR.map((t,n)=>s.jsxs(E.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:XR.map(({Icon:t,title:n,body:r,color:i,bg:o},a)=>s.jsxs(E.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:ZR.map(({Icon:t,title:n,desc:r},i)=>s.jsxs(E.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(Rm,{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(E.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(Tm,{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 eD=[{Icon:Ru,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:qo,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:at,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:Rm,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"}],tD=[{Icon:Dt,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:$o,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:$C,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"}],nD=[{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"}],rD=[{Icon:Pm,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:qo,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:Ho,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:Oe,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."}],sD=["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"],iD=[{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 oD(){Qe({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 — ${De.noCode.startDate?`next cohort ${De.noCode.startDate}`:"new cohorts forming now"}.`});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(E.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(Ln,{className:"h-4 w-4 text-secondary"}),s.jsx("span",{children:"Certificate of Completion included"})]})]}),s.jsx(E.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:rc,label:"Duration",value:De.noCode.duration},{Icon:Uo,label:"Next Cohort",value:sh(De.noCode)},{Icon:Oe,label:"Schedule",value:De.noCode.schedule}].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(E.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:tD.map(({Icon:r,title:i,desc:o,color:a,bg:l},c)=>s.jsxs(E.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(E.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:eD.map(({Icon:r,title:i,desc:o,color:a,bg:l},c)=>s.jsxs(E.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(E.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:nD.map(({week:r,build:i},o)=>s.jsxs(E.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(jl,{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(E.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:iD.map(({week:r,title:i,tagline:o,outcome:a},l)=>{const c=e===r;return s.jsxs(E.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(Am,{className:"h-5 w-5 text-gray-400 flex-shrink-0"}):s.jsx(tt,{className:"h-5 w-5 text-gray-400 flex-shrink-0"})]}),c&&s.jsx(E.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(E.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:rD.map(({Icon:r,title:i,desc:o},a)=>s.jsxs(E.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(E.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:sD.map((r,i)=>s.jsxs(E.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(gw,{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(E.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(E.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(Ln,{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:sh(De.noCode)}),s.jsx("p",{className:"text-white/60 text-sm mt-0.5",children:De.noCode.schedule})]})]}),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(E.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.jsxs("p",{className:"text-lg font-bold text-primary",children:["Next Masterclass: ",o6()]}),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(E.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 Md={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 aD(){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 lD(){const e=aD(),[t,n]=p.useState(e),[r,i]=p.useState(!1),o=!!t&&r,a=()=>{if(!t)return;const l=Md[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(Md).map(l=>{const c=Md[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(oe,{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 cD=[{Icon:Oe,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:Dt,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:hi,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"}],dD=[{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"}],uD=[{Icon:UC,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:qo,title:"Real Industry Scenarios",desc:"Every project mirrors an actual deployable business solution — not toy examples that don't translate to the job."},{Icon:Ho,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:Oe,title:"Guided Mentorship",desc:"Weekly office hours, instructor feedback on your builds, and a cohort of peers working through the same challenges."}],hD=[{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."}],mD=["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 pD(){Qe({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(E.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(tt,{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(Uo,{className:"h-4 w-4 text-secondary"})," ",De.bootcamp.name," — ",sh(De.bootcamp)]}),s.jsxs("span",{className:"flex items-center gap-2",children:[s.jsx(Oe,{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(E.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:cD.map(({Icon:r,title:i,desc:o,color:a,bg:l},c)=>s.jsxs(E.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(E.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:dD.map(({week:r,build:i},o)=>s.jsxs(E.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(jl,{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(E.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:hD.map(({week:r,title:i,build:o,outcome:a},l)=>{const c=e===r;return s.jsxs(E.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(jl,{className:"h-3.5 w-3.5"})," ",o]})]})]}),c?s.jsx(Am,{className:"h-5 w-5 text-gray-400 flex-shrink-0"}):s.jsx(tt,{className:"h-5 w-5 text-gray-400 flex-shrink-0"})]}),c&&s.jsx(E.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(E.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:uD.map(({Icon:r,title:i,desc:o},a)=>s.jsxs(E.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(E.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:mD.map((r,i)=>s.jsxs(E.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(Ln,{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(E.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(E.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(Ln,{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:[De.bootcamp.name," · 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(E.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.jsxs("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 ",De.bootcamp.name," 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(E.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.jsxs("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. ",De.bootcamp.name," 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 fD=[{Icon:$o,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:Oe,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:hi,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"}],xD=[{Icon:at,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:qo,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:Oe,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:Go,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"}],gD=[{Icon:Pm,title:"Practitioner-Led",desc:"Every workshop is led by someone who has shipped AI systems to production — not academics who theorize about it."},{Icon:Dt,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:Oe,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:Ho,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."}],yD=["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"],vD=[{Icon:Dt,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:Mm,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:hi,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:Ho,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:Oe,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:at,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 wD(){Qe({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(E.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(Im,{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(Pm,{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(Uo,{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(E.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(E.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:fD.map(({Icon:t,title:n,desc:r,color:i,bg:o},a)=>s.jsxs(E.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(E.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:vD.map(({Icon:t,title:n,desc:r,duration:i,audience:o},a)=>s.jsxs(E.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(E.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:xD.map(({Icon:t,title:n,desc:r,color:i,bg:o},a)=>s.jsxs(E.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(E.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:gD.map(({Icon:t,title:n,desc:r},i)=>s.jsxs(E.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(E.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:yD.map((t,n)=>s.jsxs(E.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(gw,{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(E.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 bD=oj,jD=oR,ND=aj,Rj=p.forwardRef(({className:e,...t},n)=>s.jsx(jc,{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}));Rj.displayName=jc.displayName;const SD=nc("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"}}),Dj=p.forwardRef(({side:e="right",className:t,children:n,...r},i)=>s.jsxs(ND,{children:[s.jsx(Rj,{}),s.jsxs(Nc,{ref:i,className:Z(SD({side:e}),t),...r,children:[n,s.jsxs(lj,{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(ls,{className:"h-4 w-4"}),s.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));Dj.displayName=Nc.displayName;const kD=p.forwardRef(({className:e,...t},n)=>s.jsx(Sc,{ref:n,className:Z("text-lg font-semibold text-foreground",e),...t}));kD.displayName=Sc.displayName;const CD=p.forwardRef(({className:e,...t},n)=>s.jsx(kc,{ref:n,className:Z("text-sm text-muted-foreground",e),...t}));CD.displayName=kc.displayName;const ph="/assets/synapse-navbar-logo-CNXEsIYX.png";function AD(){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,f]=p.useState(!1),[b,v]=zn(),x=[{title:"Agentic AI Solutions",href:"/services/agentic-ai",icon:s.jsx(Dt,{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(Tm,{className:"h-4 w-4"}),description:"Applied research in healthcare and physical AI"},{title:"Physical AI & Edge",href:"/services/physical-ai",icon:s.jsx(Cm,{className:"h-4 w-4"}),description:"Computer vision and edge AI for physical operations"}],y=[{title:"For Clients",href:"/talent/for-clients",icon:s.jsx(Oe,{className:"h-4 w-4"}),description:"AI and tech talent acquisition"},{title:"For Talents",href:"/talent/for-talents",icon:s.jsx(Du,{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(Dt,{className:"h-4 w-4"})},{title:"No-Code Agentic AI",href:"/training/no-code-agentic-ai",icon:s.jsx(jC,{className:"h-4 w-4"})},{title:"Workshops",href:"/training/workshops",icon:s.jsx(Oe,{className:"h-4 w-4"})}]},companies:{header:"For Companies",items:[{title:"Corporate Training",href:"/training/corporate-training",icon:s.jsx(Du,{className:"h-4 w-4"})}]}};p.useEffect(()=>{const A=()=>{window.scrollY>10?t(!0):t(!1)};return window.addEventListener("scroll",A),()=>{window.removeEventListener("scroll",A)}},[]);const N=A=>b===A,k=()=>b.startsWith("/services"),S=()=>b.startsWith("/talent"),C=()=>b.startsWith("/training"),M=()=>{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:ph,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 ${k()?"text-[#00D7FE]":"text-white hover:text-[#00D7FE] hover:bg-white/10"}`,children:["Services",s.jsx(tt,{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:x.map((A,R)=>s.jsx(q,{href:A.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:A.icon}),s.jsx("span",{className:"font-medium text-gray-900 group-hover:text-[#00D7FE] text-base leading-snug",children:A.title})]})},R))})]})]}),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 ${C()?"text-[#00D7FE]":"text-white hover:text-[#00D7FE] hover:bg-white/10"}`,children:["Trainings",s.jsx(tt,{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((A,R)=>s.jsx(q,{href:A.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:A.icon}),s.jsx("span",{className:"font-medium text-gray-900 group-hover:text-[#00D7FE] text-base leading-snug",children:A.title})]})},`ps-${R}`)),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((A,R)=>s.jsx(q,{href:A.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:A.icon}),s.jsx("span",{className:"font-medium text-gray-900 group-hover:text-[#00D7FE] text-base leading-snug",children:A.title})]})},`co-${R}`))]})]})]}),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 ${S()?"text-[#00D7FE]":"text-white hover:text-[#00D7FE] hover:bg-white/10"}`,children:["Talents",s.jsx(tt,{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:y.map((A,R)=>s.jsx(q,{href:A.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:A.icon}),s.jsx("span",{className:"font-medium text-gray-900 group-hover:text-[#00D7FE] text-base leading-snug",children:A.title})]})},R))})]})]}),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 ${k()?"text-[#00D7FE]":"text-white hover:text-[#00D7FE] hover:bg-white/10"}`,children:["Services",s.jsx(tt,{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:x.map((A,R)=>s.jsx(q,{href:A.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:A.icon}),s.jsx("span",{className:"font-medium text-gray-900 group-hover:text-[#00D7FE] text-sm leading-snug",children:A.title})]})},R))})]})]}),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 ${C()?"text-[#00D7FE]":"text-white hover:text-[#00D7FE] hover:bg-white/10"}`,children:["Trainings",s.jsx(tt,{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((A,R)=>s.jsx(q,{href:A.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:A.icon}),s.jsx("span",{className:"font-medium text-gray-900 group-hover:text-[#00D7FE] text-sm leading-snug",children:A.title})]})},`m-ps-${R}`)),s.jsx("div",{className:"my-2 border-t border-white/10"}),j.companies.items.map((A,R)=>s.jsx(q,{href:A.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:A.icon}),s.jsx("span",{className:"font-medium text-gray-900 group-hover:text-[#00D7FE] text-sm leading-snug",children:A.title})]})},`m-co-${R}`))]})]})]}),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 ${S()?"text-[#00D7FE]":"text-white hover:text-[#00D7FE] hover:bg-white/10"}`,children:["Talents",s.jsx(tt,{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:y.map((A,R)=>s.jsx(q,{href:A.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:A.icon}),s.jsx("span",{className:"font-medium text-gray-900 group-hover:text-[#00D7FE] text-sm leading-snug",children:A.title})]})},R))})]})]}),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:()=>es(v),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(bD,{open:n,onOpenChange:r,children:[s.jsx(jD,{asChild:!0,children:s.jsxs(oe,{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(RC,{className:"h-5 w-5 sm:h-6 sm:w-6"}),s.jsx("span",{className:"sr-only",children:"Toggle menu"})]})}),s.jsx(Dj,{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:()=>{M(),b==="/"&&window.scrollTo({top:0,behavior:"smooth"})},children:[s.jsx("img",{src:ph,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(oe,{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:M,children:s.jsx(ls,{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 ${k()?"text-[#00D7FE] bg-white/10":"text-white hover:text-[#00D7FE] hover:bg-white/5"}`,children:["Services",s.jsx(tt,{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:x.map((A,R)=>s.jsxs(q,{href:A.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:M,children:[s.jsx("div",{className:"text-[#00D7FE]",children:A.icon}),A.title]},R))})]}),s.jsxs("div",{children:[s.jsxs("button",{onClick:()=>f(!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 ${C()?"text-[#00D7FE] bg-white/10":"text-white hover:text-[#00D7FE] hover:bg-white/5"}`,children:["Trainings",s.jsx(tt,{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((A,R)=>s.jsxs(q,{href:A.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:M,children:[s.jsx("div",{className:"text-[#00D7FE]",children:A.icon}),A.title]},`m-ps-${R}`)),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((A,R)=>s.jsxs(q,{href:A.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:M,children:[s.jsx("div",{className:"text-[#00D7FE]",children:A.icon}),A.title]},`m-co-${R}`))]})]}),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 ${S()?"text-[#00D7FE] bg-white/10":"text-white hover:text-[#00D7FE] hover:bg-white/5"}`,children:["Talents",s.jsx(tt,{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:y.map((A,R)=>s.jsxs(q,{href:A.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:M,children:[s.jsx("div",{className:"text-[#00D7FE]",children:A.icon}),A.title]},R))})]}),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:M,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:M,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:()=>{M(),es(v)},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 ED(){const[,e]=zn();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:ph,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:()=>es(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(Im,{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(vw,{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(bw,{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 TD({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(Dt,{className:`${r[e]} text-[#00D7FE] drop-shadow-sm`})})})})}const ID=({text:e,sender:t})=>{const[,n]=zn();if(t==="user")return s.jsx("div",{className:"whitespace-pre-wrap break-words",children:e});const i=(o=>{let a=o;a=a.replace(/<[^>]*>/g,""),a=a.replace(/\*\*(.+?)\*\*/g,"$1").replace(/__(.+?)__/g,"$1");const l=[];let c=0,d=0;const u=/\[([^\]]+)\]\((\/[^)\s]+|https?:\/\/[^)\s]+)\)|(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|talent|training|about|blogs|contact|privacy-policy|terms-of-service|cookie-policy)[^\s<>"{}|\\^`[\]]*)/gi;for(const h of Array.from(a.matchAll(u))){const m=h.index??0,g=!!(h[1]&&h[2]);if(!!h[4]){const y=a.substring(0,m),j=y.lastIndexOf("@"),N=Math.max(y.lastIndexOf(" "),y.lastIndexOf(` `));if(j>N)continue}if(m>c){const y=a.slice(c,m);y&&l.push(y)}let f,b,v,x="";if(g){f=h[1];let y=h[2].replace(/[.,;:!?)\]}>]+$/,"");f.startsWith("/")?y=f:y=y.replace(/^https?:\/\/(?:www\.)?synapseai\.us/i,""),v=y.startsWith("/"),b=v||y.startsWith("http")?y:`https://${y}`}else{const y=h[3]??h[4]??h[5]??"",j=y.replace(/[.,;:!?)\]}>]+$/,"");x=y.slice(j.length),v=!!h[5],b=h[4]?`https://${j}`:j,f=j}l.push(s.jsx("a",{href:b,target:v?void 0:"_blank",rel:v?void 0:"noopener noreferrer",className:"text-[#00D7FE] hover:text-[#26d0e4] underline underline-offset-2 transition-colors duration-200",onClick:y=>{v&&(y.preventDefault(),n(b))},children:f},`link-${d++}`)),x&&l.push(x),c=m+h[0].length}if(cs.jsx("span",{children:o},a))})};function PD(){const[e,t]=p.useState(!1),[n,r]=p.useState(!1),[i,o]=p.useState(!1),[a,l]=p.useState(()=>{try{const y=typeof window<"u"&&sessionStorage.getItem("synapse_chat_messages");if(y){const j=JSON.parse(y);if(Array.isArray(j)&&j.length>0)return j.map(N=>({text:N.text,sender:N.sender,timestamp:new Date(N.timestamp)}))}}catch{}return[{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 y=()=>{const j=window.innerWidth<768;o(j),j&&n&&r(!1)};return y(),window.addEventListener("resize",y),()=>window.removeEventListener("resize",y)},[n]),p.useEffect(()=>{const j=(()=>{const N=new Date().getTime(),k=Math.floor(Math.random()*1e3);return`session_${N}_${k}`})();g(j)},[]),p.useEffect(()=>{f()},[a]),p.useEffect(()=>{try{sessionStorage.setItem("synapse_chat_messages",JSON.stringify(a))}catch{}},[a]);const f=()=>{var y;(y=w.current)==null||y.scrollIntoView({behavior:"smooth"})},b=()=>{t(!e)},v=()=>{i||r(!n)},x=async y=>{if(y.preventDefault(),!c.trim()||u)return;const N={text:c.trim(),sender:"user",timestamp:new Date},k=[...a,N].slice(-10).map(S=>({role:S.sender==="bot"?"assistant":"user",content:S.text}));l(S=>[...S,N]),d(""),h(!0);try{const C=await(await fetch("/api/chat",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({messages:k,sessionId:m})})).json().catch(()=>({})),M=C&&typeof C.reply=="string"&&C.reply.trim()||"I'm having trouble connecting right now. Please try again in a moment, or reach us at /contact.";l(A=>[...A,{text:M,sender:"bot",timestamp:new Date}])}catch(S){l(C=>[...C,{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}]),console.error("Chat error:",S)}finally{h(!1),setTimeout(f,100)}};return s.jsxs(s.Fragment,{children:[s.jsxs(oe,{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(ww,{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($t,{className:"fixed bottom-24 right-2 left-2 md:right-6 md:left-auto z-50 shadow-xl transition-all duration-200 overflow-hidden rounded-lg border-2 border-[#00D7FE]/30 bg-[#080845]",style:{width:i?void 0:n?"min(94vw, 560px)":"min(94vw, 400px)",height:n?"min(86vh, 720px)":"min(80vh, 560px)"},children:[s.jsx(tn,{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(TD,{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.jsxs("div",{className:"flex items-center gap-1 flex-shrink-0",children:[s.jsx(oe,{variant:"ghost",size:"sm",onClick:v,"aria-label":n?"Shrink chat window":"Expand chat window",className:"hidden md:flex text-white hover:text-[#00D7FE] hover:bg-white/10 p-1 h-8 w-8",children:n?s.jsx(LC,{className:"h-4 w-4"}):s.jsx(MC,{className:"h-4 w-4"})}),s.jsx(oe,{variant:"ghost",size:"sm",onClick:b,className:"text-white hover:text-[#00D7FE] hover:bg-white/10 p-1 h-8 w-8",children:s.jsx(ls,{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((y,j)=>s.jsxs("div",{className:`mb-3 flex flex-col ${y.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:y.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 ${y.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(ID,{text:y.text,sender:y.sender})}),s.jsx("span",{className:"text-[10px] text-gray-400 mt-1 px-1",children:y.timestamp.toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"})})]},j)),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:x,className:"flex gap-2",children:[s.jsx(Io,{type:"text",placeholder:"Type your message...",value:c,onChange:y=>d(y.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(oe,{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 MD extends p.Component{constructor(n){super(n);Ac(this,"handleReload",()=>{this.setState({hasError:!1,error:null,errorInfo:null}),window.location.reload()});Ac(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(oe,{onClick:this.handleReload,className:"px-6",children:"Reload Page"}),s.jsx(oe,{onClick:this.handleGoHome,variant:"outline",className:"px-6",children:"Go to Homepage"})]})]})}):this.props.children}}const RD=1,Lj=2,Jg="(max-width: 639px)",DD=["/training/no-code-agentic-ai/agreement","/training/agentic-ai-bootcamp/agreement","/admin","/contact","/privacy-policy","/terms-of-service","/cookie-policy"];function fh(e,t){return e==="/"?t==="/":t===e||t.startsWith(`${e}/`)}function LD(e,t){var n;return(n=e.exclude)!=null&&n.some(r=>fh(r,t))?!1:e.routes.some(r=>fh(r,t))}function OD(e,t=Lj,n=new Date){return DD.some(r=>fh(r,e))?[]:FD.filter(r=>r.expiresAt<=n||r.showFrom&&r.showFrom>n?!1:LD(r,e)).sort((r,i)=>i.priority-r.priority).slice(0,t)}const xh=new Date("2099-12-31T00:00:00-05:00");function ey(e){const{startDate:t,schedule:n,duration:r}=e.cohort,i=n.split("·")[0].trim();return{id:e.id,type:"cohort",badge:t?"ENROLLING":"WAITLIST",badgeStyle:e.badgeStyle,title:t?"Enrollment Open":"Next Cohort Forming",subtitle:`${e.programLabel} · ${r}`,description:e.description,time:t?`Starts ${t}`:`${i} evenings`,cta:t?"Enroll Now":"Join the Waitlist",link:e.link,routes:e.routes,exclude:e.exclude,priority:20,expiresAt:xh}}const FD=[ey({id:"cohort-nocode",cohort:De.noCode,badgeStyle:"bg-blue-600",programLabel:"No Code Agentic AI",description:"Live instruction, hands-on projects, no coding required. Join the waitlist to get the start date first.",link:"/training/no-code-agentic-ai#webinar-registration",routes:["/blog","/blogs","/training"],exclude:["/training/agentic-ai-bootcamp"]}),ey({id:"cohort-bootcamp",cohort:De.bootcamp,badgeStyle:"bg-violet-600",programLabel:"Agentic AI Bootcamp",description:"Python basics to multi-agent AI in production. Live, hands-on, beginner friendly. Join the waitlist for the start date.",link:"/training/agentic-ai-bootcamp#masterclass",routes:["/blog","/blogs","/training"],exclude:["/training/no-code-agentic-ai"]}),{id:"prototype-offer",type:"prototype",badge:"FREE",badgeStyle:"bg-emerald-600",title:"Build It With Us — Free Prototype",subtitle:"AI Solutions · For Businesses",description:"Bring your use case. We build a working prototype on it and hand it back in 24 hours — no cost, no commitment.",time:"24-hour turnaround",cta:"Request Your Prototype",link:"/contact",routes:["/","/blog","/blogs","/services","/about"],priority:30,expiresAt:xh},{id:"talent-hire",type:"talent",badge:"STAFFING",badgeStyle:"bg-amber-600",title:"Hire Pre-Vetted AI Engineers",subtitle:"AI Talent · For Businesses",description:"Tell us the role. Get 2–3 technically screened profiles in 48 hours and someone starting in under two weeks — not three months.",time:"Profiles in 48 hours",cta:"Find AI Talent",link:"/talent/for-clients",routes:["/","/talent","/services"],exclude:["/talent/for-talents"],priority:25,expiresAt:xh}],_D={masterclass:s.jsx(at,{className:"h-4 w-4"}),cohort:s.jsx(yw,{className:"h-4 w-4"}),workshop:s.jsx(Uo,{className:"h-4 w-4"}),prototype:s.jsx(jl,{className:"h-4 w-4"}),talent:s.jsx(Oe,{className:"h-4 w-4"})};function VD(){const[e,t]=p.useState(!1),[n]=zn(),[r,i]=p.useState(()=>new Set),[o,a]=p.useState(()=>typeof window<"u"&&window.matchMedia(Jg).matches);p.useEffect(()=>{const d=window.matchMedia(Jg),u=h=>a(h.matches);return d.addEventListener("change",u),()=>d.removeEventListener("change",u)},[]);const l=p.useMemo(()=>{const d=o?RD:Lj;return OD(n,Number.POSITIVE_INFINITY).filter(u=>!r.has(u.id)).slice(0,d)},[n,o,r]);p.useEffect(()=>{t(!1);const d=setTimeout(()=>t(!0),1200);return()=>clearTimeout(d)},[n]);const c=d=>{i(u=>new Set(u).add(d))};return l.length===0?null:s.jsx("div",{className:"fixed bottom-24 right-5 z-50 flex flex-col gap-3",style:{maxWidth:"340px",width:"calc(100vw - 2.5rem)"},children:l.map((d,u)=>s.jsx("div",{className:"transition-all duration-500 ease-out",style:{transform:e?"translateY(0)":"translateY(24px)",opacity:e?1:0,transitionDelay:`${u*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 ${d.badgeStyle}`,children:[_D[d.type],d.badge]}),s.jsx("span",{className:"text-[11px] text-gray-400",children:d.time})]}),s.jsx("button",{onClick:()=>c(d.id),"aria-label":"Dismiss",className:"text-gray-300 hover:text-gray-500 transition-colors ml-1 flex-shrink-0",children:s.jsx(ls,{className:"h-4 w-4"})})]}),s.jsx("p",{className:"text-[13px] font-bold text-gray-900 leading-snug",children:d.title}),s.jsx("p",{className:"text-[11px] font-semibold text-primary mt-0.5",children:d.subtitle}),s.jsx("p",{className:"text-[11px] text-gray-500 mt-1 leading-relaxed",children:d.description}),s.jsxs("a",{href:d.link,onClick:()=>c(d.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:[d.cta,s.jsx("span",{"aria-hidden":!0,children:"→"})]})]})]})},d.id))})}function zD(){const[e]=zn();return p.useEffect(()=>{window.scrollTo(0,0)},[e]),null}function BD(){return zD(),s.jsxs(s.Fragment,{children:[s.jsx(AD,{}),s.jsxs(zk,{children:[s.jsx(ae,{path:"/",component:u6}),s.jsx(ae,{path:"/about",component:f6}),s.jsx(ae,{path:"/contact",component:v6}),s.jsx(ae,{path:"/training/corporate-training",component:LR}),s.jsx(ae,{path:"/training/agentic-ai-bootcamp",component:pD}),s.jsx(ae,{path:"/training/workshops",component:wD}),s.jsx(ae,{path:"/training/ai-ml-genai-course",children:s.jsx(gn,{to:"/training/agentic-ai-bootcamp"})}),s.jsx(ae,{path:"/training/students-and-professionals",children:s.jsx(gn,{to:"/training/agentic-ai-bootcamp"})}),s.jsx(ae,{path:"/talent/for-clients",component:VR}),s.jsx(ae,{path:"/talent/for-talents",component:WR}),s.jsx(ae,{path:"/services/agentic-ai",component:HR}),s.jsx(ae,{path:"/services/physical-ai",component:KR}),s.jsx(ae,{path:"/services/ai-research-labs",component:JR}),s.jsx(ae,{path:"/services/ai-automations",children:s.jsx(gn,{to:"/services/agentic-ai"})}),s.jsx(ae,{path:"/services/conversational-ai",children:s.jsx(gn,{to:"/services/agentic-ai"})}),s.jsx(ae,{path:"/services/data-cloud-solutions",children:s.jsx(gn,{to:"/services/agentic-ai"})}),s.jsx(ae,{path:"/services/ml-ai-genai-solutions",children:s.jsx(gn,{to:"/services/agentic-ai"})}),s.jsx(ae,{path:"/training/no-code-agentic-ai",component:oD}),s.jsx(ae,{path:"/training/no-code-agentic-ai/agreement",component:lD}),s.jsx(ae,{path:"/blogs",children:s.jsx(gn,{to:"/"})}),s.jsx(ae,{path:"/blog",children:s.jsx(gn,{to:"/"})}),s.jsx(ae,{path:"/blogs/:slug",children:s.jsx(gn,{to:"/"})}),s.jsx(ae,{path:"/privacy-policy",component:w6}),s.jsx(ae,{path:"/terms-of-service",component:b6}),s.jsx(ae,{path:"/cookie-policy",component:j6}),s.jsx(ae,{path:"/admin/dashboard",children:s.jsx(PR,{children:s.jsx(IR,{})})}),s.jsx(ae,{component:wT})]}),s.jsx(ED,{}),s.jsx(PD,{}),s.jsx(VD,{})]})}function WD(){return s.jsx(MD,{children:s.jsx(p4,{client:x4,children:s.jsxs(pT,{children:[s.jsx(IA,{}),s.jsx(BD,{})]})})})}Nv(document.getElementById("root")).render(s.jsx(WD,{}));export{UD as $,t1 as A,HD as B,n1 as C,zo as D,mT as E,Sp as F,GD as G,qD as H,bR as I,YD as J,m1 as K,KD as L,zM as M,R2 as N,jc as O,X as P,WM as Q,Un as R,V2 as S,Sc as T,$M as U,D2 as V,UM as W,O2 as X,HM as Y,BM as Z,ER as _,as as a,oR as a0,e1 as b,cc as c,Sr as d,En as e,de as f,dy as g,U as h,kr as i,s as j,Bo as k,r1 as l,Xb as m,kp as n,ni as o,Yb as p,pj as q,p as r,Np as s,wR as t,Jr as u,ln as v,oj as w,aj as x,Nc as y,lj as z};