1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,75696,e=>{"use strict";var t=e.i(61745),s=e.i(18050);e.s(["default",0,function({locale:e,...a}){if(!e)throw Error(void 0);return(0,s.jsx)(t.IntlProvider,{locale:e,...a})}])},44636,e=>{"use strict";var t=e.i(18050),s=e.i(932),a=e.i(32341);e.s(["Providers",0,function(e){let n,r=(0,s.c)(2),{children:i}=e;return r[0]!==i?(n=(0,t.jsx)(a.AuthProvider,{children:i}),r[0]=i,r[1]=n):n=r[1],n}])},8828,e=>{"use strict";e.i(47167);var t=e.i(932),s=e.i(71645),a=e.i(75157);function n(){document.documentElement.style.setProperty("--assets-url","url('https://assets-prod.reptwin.ai/public/reptwin-website')");let e=(0,a.getAssetUrl)("/icons/Group-758533593.png");document.documentElement.style.setProperty("--widget-icon-url",`url('${e}')`)}e.s(["AssetUrlProvider",0,function(){let e,a=(0,t.c)(1);return a[0]===Symbol.for("react.memo_cache_sentinel")?(e=[],a[0]=e):e=a[0],(0,s.useEffect)(n,e),null}])},42645,e=>{"use strict";var t=e.i(932),s=e.i(61745),a=e.i(71645);e.s(["LocaleUpdater",0,function(){let e,n,r=(0,t.c)(3),i=(0,s.useLocale)();return r[0]!==i?(e=()=>{document.documentElement.lang=i},n=[i],r[0]=i,r[1]=e,r[2]=n):(e=r[1],n=r[2]),(0,a.useEffect)(e,n),null}])},58234,e=>{"use strict";var t=e.i(18050),s=e.i(932),a=e.i(20133),n=e.i(57688),r=e.i(48148);e.i(16790);var i=e.i(58047),l=e.i(7035),o=e.i(75157);e.s(["Footer",0,function(){let e,c,d,m,u,h,x,g,p,f,y=(0,s.c)(99),b=(0,r.useTranslations)("footer"),j=(0,r.useTranslations)("nav"),v=(0,r.useTranslations)("solutions"),w=(0,r.useTranslations)("policies");if(y[0]!==b||y[1]!==j||y[2]!==w||y[3]!==v){let s,r,x,g,p,f,N,k,S,C,A,_,E,I,L,T,O,P,F,D,U,R,$,M,q,z,B,K,G,V,H,W,X,Y,J=new Date().getFullYear();h="bg-white border-t border-gray-100",m="container-wide mx-auto px-4 md:px-8 py-14",y[10]===Symbol.for("react.memo_cache_sentinel")?(s=(0,t.jsx)(n.default,{src:(0,o.getAssetUrl)("/images/logos/reptwin-logo.png"),alt:"RepTwin",width:120,height:36,className:"h-8 w-auto mb-4"}),y[10]=s):s=y[10],y[11]!==b?(r=b("description"),y[11]=b,y[12]=r):r=y[12],y[13]!==r?(x=(0,t.jsxs)("div",{className:"lg:col-span-1",children:[s,(0,t.jsx)("p",{className:"text-gray-400 text-sm leading-relaxed",children:r})]}),y[13]=r,y[14]=x):x=y[14],y[15]!==j?(g=j("solutions"),y[15]=j,y[16]=g):g=y[16],y[17]!==g?(p=(0,t.jsx)("h4",{className:"text-gray-900 font-medium text-sm mb-4",children:g}),y[17]=g,y[18]=p):p=y[18],y[19]!==v?(f=i.SOLUTIONS.map(e=>(0,t.jsx)("li",{children:(0,t.jsx)(a.Link,{href:e.href,className:"text-gray-500 hover:text-accent transition-colors text-sm",children:v(`${e.translationKey}.shortTitle`)})},e.id)),y[19]=v,y[20]=f):f=y[20],y[21]!==f?(N=(0,t.jsx)("ul",{className:"space-y-2.5",children:f}),y[21]=f,y[22]=N):N=y[22],y[23]!==p||y[24]!==N?(k=(0,t.jsxs)("div",{children:[p,N]}),y[23]=p,y[24]=N,y[25]=k):k=y[25],y[26]!==j?(S=j("company"),y[26]=j,y[27]=S):S=y[27],y[28]!==S?(C=(0,t.jsx)("h4",{className:"text-gray-900 font-medium text-sm mb-4",children:S}),y[28]=S,y[29]=C):C=y[29],y[30]!==j?(A=l.NAV_LINKS.map(e=>(0,t.jsx)("li",{children:(0,t.jsx)(a.Link,{href:e.href,className:"text-gray-500 hover:text-accent transition-colors text-sm",children:j(e.labelKey)})},e.href)),y[30]=j,y[31]=A):A=y[31],y[32]!==A?(_=(0,t.jsx)("ul",{className:"space-y-2.5",children:A}),y[32]=A,y[33]=_):_=y[33],y[34]!==C||y[35]!==_?(E=(0,t.jsxs)("div",{children:[C,_]}),y[34]=C,y[35]=_,y[36]=E):E=y[36],y[37]!==w?(I=w("policies"),y[37]=w,y[38]=I):I=y[38],y[39]!==I?(L=(0,t.jsx)("h4",{className:"text-gray-900 font-medium text-sm mb-4",children:I}),y[39]=I,y[40]=L):L=y[40],y[41]!==w?(T=l.POLICIES.map(e=>(0,t.jsx)("li",{children:(0,t.jsx)(a.Link,{href:e.href,className:"text-gray-500 hover:text-accent transition-colors text-sm",children:w(e.labelKey)})},e.href)),y[41]=w,y[42]=T):T=y[42],y[43]!==T?(O=(0,t.jsx)("ul",{className:"space-y-2.5",children:T}),y[43]=T,y[44]=O):O=y[44],y[45]!==L||y[46]!==O?(P=(0,t.jsxs)("div",{children:[L,O]}),y[45]=L,y[46]=O,y[47]=P):P=y[47],y[48]!==b?(F=b("compliance"),y[48]=b,y[49]=F):F=y[49],y[50]!==F?(D=(0,t.jsx)("h4",{className:"text-gray-900 font-medium text-sm mb-4",children:F}),y[50]=F,y[51]=D):D=y[51],y[52]===Symbol.for("react.memo_cache_sentinel")?(U=(0,t.jsx)("span",{className:"w-1.5 h-1.5 bg-green-500 rounded-full"}),y[52]=U):U=y[52],y[53]!==b?(R=b("hipaa"),y[53]=b,y[54]=R):R=y[54],y[55]!==R?($=(0,t.jsx)("li",{children:(0,t.jsxs)("span",{className:"text-sm text-gray-500 flex items-center gap-2",children:[U,R]})}),y[55]=R,y[56]=$):$=y[56],y[57]===Symbol.for("react.memo_cache_sentinel")?(M=(0,t.jsx)("span",{className:"w-1.5 h-1.5 bg-green-500 rounded-full"}),y[57]=M):M=y[57],y[58]!==b?(q=b("gdpr"),y[58]=b,y[59]=q):q=y[59],y[60]!==q?(z=(0,t.jsx)("li",{children:(0,t.jsxs)("span",{className:"text-sm text-gray-500 flex items-center gap-2",children:[M,q]})}),y[60]=q,y[61]=z):z=y[61],y[62]===Symbol.for("react.memo_cache_sentinel")?(B=(0,t.jsx)("span",{className:"w-1.5 h-1.5 bg-green-500 rounded-full"}
1),y[62]=B):B=y[62],y[63]!==b?(K=b("soc2"),y[63]=b,y[64]=K):K=y[64],y[65]!==K?(G=(0,t.jsx)("li",{children:(0,t.jsxs)("span",{className:"text-sm text-gray-500 flex items-center gap-2",children:[B,K]})}),y[65]=K,y[66]=G):G=y[66],y[67]===Symbol.for("react.memo_cache_sentinel")?(V=(0,t.jsx)("span",{className:"w-1.5 h-1.5 bg-green-500 rounded-full"}),y[67]=V):V=y[67],y[68]!==b?(H=b("phi"),y[68]=b,y[69]=H):H=y[69],y[70]!==H?(W=(0,t.jsx)("li",{children:(0,t.jsxs)("span",{className:"text-sm text-gray-500 flex items-center gap-2",children:[V,H]})}),y[70]=H,y[71]=W):W=y[71],y[72]!==$||y[73]!==z||y[74]!==G||y[75]!==W?(X=(0,t.jsxs)("ul",{className:"space-y-2.5",children:[$,z,G,W]}),y[72]=$,y[73]=z,y[74]=G,y[75]=W,y[76]=X):X=y[76],y[77]!==D||y[78]!==X?(Y=(0,t.jsxs)("div",{children:[D,X]}),y[77]=D,y[78]=X,y[79]=Y):Y=y[79],y[80]!==k||y[81]!==E||y[82]!==P||y[83]!==Y||y[84]!==x?(u=(0,t.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-5 gap-10",children:[x,k,E,P,Y]}),y[80]=k,y[81]=E,y[82]=P,y[83]=Y,y[84]=x,y[85]=u):u=y[85],d="border-t border-gray-100 mt-10 pt-6 flex flex-col md:flex-row items-center justify-between gap-4",e="text-gray-400 text-xs",c=b("copyright",{year:J}),y[0]=b,y[1]=j,y[2]=w,y[3]=v,y[4]=e,y[5]=c,y[6]=d,y[7]=m,y[8]=u,y[9]=h}else e=y[4],c=y[5],d=y[6],m=y[7],u=y[8],h=y[9];return y[86]!==e||y[87]!==c?(x=(0,t.jsx)("p",{className:e,children:c}),y[86]=e,y[87]=c,y[88]=x):x=y[88],y[89]!==d||y[90]!==x?(g=(0,t.jsx)("div",{className:d,children:x}),y[89]=d,y[90]=x,y[91]=g):g=y[91],y[92]!==m||y[93]!==u||y[94]!==g?(p=(0,t.jsxs)("div",{className:m,children:[u,g]}),y[92]=m,y[93]=u,y[94]=g,y[95]=p):p=y[95],y[96]!==h||y[97]!==p?(f=(0,t.jsx)("footer",{className:h,children:p}),y[96]=h,y[97]=p,y[98]=f):f=y[98],f}])},3374,e=>{"use strict";var t=e.i(18050),s=e.i(932),a=e.i(71645),n=e.i(57688),r=e.i(20133),i=e.i(46932),l=e.i(88653),o=e.i(75254);let c=(0,o.default)("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"}]]);var d=e.i(37727);let m=(0,o.default)("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]),u=(0,o.default)("ArrowUpRight",[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]]);var h=e.i(48148),x=e.i(59544),g=e.i(61745),p=e.i(48256);let f=(0,o.default)("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);var y=e.i(75679);let b=[{code:"en",name:"English",flag:"ðºð¸"},{code:"es",name:"Español",flag:"ðªð¸"},{code:"fr",name:"Français",flag:"ð«ð·"}];function j(){let e,n,o,c,d,m,u,h,x,j,v,w=(0,s.c)(27),[N,k]=(0,a.useState)(!1),S=(0,g.useLocale)(),C=(0,r.useRouter)(),A=(0,r.usePathname)(),_=(0,a.useRef)(null),E=b.find(e=>e.code===S)||b[0];w[0]===Symbol.for("react.memo_cache_sentinel")?(e=()=>{let e=function(e){_.current&&!_.current.contains(e.target)&&k(!1)};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},n=[],w[0]=e,w[1]=n):(e=w[0],n=w[1]),(0,a.useEffect)(e,n),w[2]!==S||w[3]!==A||w[4]!==C?(o=e=>{y.analytics.languageChanged(S,e),C.push(A,{locale:e}),k(!1)},w[2]=S,w[3]=A,w[4]=C,w[5]=o):o=w[5];let I=o;w[6]!==N?(c=()=>k(!N),w[6]=N,w[7]=c):c=w[7],w[8]===Symbol.for("react.memo_cache_sentinel")?(d=(0,t.jsx)(p.Globe,{size:18}),w[8]=d):d=w[8];let L=E.code.toUpperCase();w[9]!==L?(m=(0,t.jsx)("span",{className:"hidden sm:inline text-sm font-medium",children:L}),w[9]=L,w[10]=m):m=w[10];let T=`transition-transform duration-200 ${N?"rotate-180":""}`;return w[11]!==T?(u=(0,t.jsx)(f,{size:14,className:T}),w[11]=T,w[12]=u):u=w[12],w[13]!==m||w[14]!==u||w[15]!==c||w[16]!==d?(h=(0,t.jsxs)("button",{onClick:c,className:"flex items-center gap-2 px-3 py-2 text-gray-600 hover:text-accent transition-colors rounded-lg hover:bg-gray-50","aria-label":"Change language",children:[d,m,u]}),w[13]=m,w[14]=u,w[15]=c,w[16]=d,w[17]=h):h=w[17],w[18]!==I||w[19]!==N||w[20]!==S?(x=N&&(0,t.jsx)(i.motion.div,{initial:{opacity:0,y:-8},animate:{opacity:1,y:0},exit:{opacity:0,y:-8},transition:{duration:.15},className:"absolute right-0 top-full mt-2 w-44 bg-white rounded-xl shadow-lg border border-gray-100 overflow-hidden z-50",children:b.map(e=>(0,t.jsxs)("button",{onClick:()=>I(e.code),className:`w-full flex items-center gap-3 px-4 py-3 text-left hover:bg-gray-50 transition-colors ${e.code===S?"bg-accent/5 text-accent":"text-gray-700"}`,children:[(0,t.jsx)("span",{className:"text-lg",children:e.flag}),(0,t.jsx)("span",{className:"text-sm font-medium",children:e.name}),e.code===S&&(0,t.jsx)("span",{className:"ml-auto w-2 h-2 bg-accent rounded-full"})]},e.code))}),w[18]=I,w[19]=N,w[20]=S,w[21]=x):x=w[21],w[22]!==x?(j=(0,t.jsx)(l.AnimatePresence,{children:x}),w[22]=x,w[23]=j):j=w[23],w[24]!==h||w[25]!==j?(v=(0,t.jsxs)("div",{className:"relative",ref:_,children:[h,j]}),w[24]=h,w[25]=j,w[26]=v):v=w[26],v}var v=e.i(74080),w=e.i(32341);e.i(20315);let N=()=>!0,k=()=>!1,S=()=>()=>{};e.i(16790);var C=e.i(26238),A=e.i(44779),_=e.i(75157);function E(e){let a,r,i=(0,s.c)(3),{subtitle:l}=e;return i[0]===Symbol.for("react.memo_cache_sentinel")?(a=(0,t.jsx)("div",{className:"flex items-center justify-center mb-3",children:(0,t.jsx)(n.default,{src:(0,_.getAssetUrl)("/images/logos/reptwin-logo.png"),alt:"RepTwin",width:120,height:36,className:"object-contain",priority:!0})}),i[0]=a):a=i[0],i[1]!==l?(r=(0,t.jsxs)("div",{className:"pt-8 pb-4 px-8 text-center border-b border-gray-100",children:[a,(0,t.jsx)("p",{className:"text-gray-500 text-sm",children:l})]}),i[1]=l,i[2]=r):r=i[2],r}var I=e.i(63488),L=e.i(70756),T=e.i(86536),O=e.i(77705),P=e.i(72520);let F=(0,o.default)("User",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]);var D=e.i(31278),U=e.i(63209),R=e.i(51737);
1let $="clickthrough-host";function M(e){let n,r,o,c,d,m,u,h,x,g,p,f,y,b,j,v,w,N,k,S,C,A,_,E,M=(0,s.c)(88),{isSignUp:B,email:K,password:G,name:V,showPassword:H,error:W,isSubmitting:X,lockout:Y,onEmailChange:J,onPasswordChange:Q,onNameChange:Z,onTogglePassword:ee,onSubmit:et,onForgotPassword:es,onToggleMode:ea,translations:en}=e,er=void 0===Y?null:Y,ei=!!er,el=X||ei,[eo,ec]=(0,a.useState)(!1),[ed,em]=(0,a.useState)(B),eu=(0,a.useRef)(null);ed!==B&&(em(B),ec(!1)),M[0]!==B?(n=()=>{if(!B){eu.current=null;return}let e=!1,t=()=>{if(!e&&!eu.current)try{let e=window.SdClickthrough;if(!e)return;let t=new e({clickwrapId:"24805ae0-b72c-4a8d-97a4-89c824f4be23",hostLocationDomId:$,baseUrl:"https://api.in.spotdraft.com/"});t.init(),eu.current=t}catch(e){console.error("Clickthrough init error:",e)}};if(window.SdClickthrough)requestAnimationFrame(t);else{if(!document.getElementById("sd-clickthrough-sdk")){let e=document.createElement("script");e.id="sd-clickthrough-sdk",e.src="https://sdk.spotdraft.com/clickwrap/v1/sdk.js",e.async=!0,document.head.appendChild(e)}window.addEventListener("sdClickthroughLoaded",t)}return()=>{e=!0,window.removeEventListener("sdClickthroughLoaded",t)}},r=[B],M[0]=B,M[1]=n,M[2]=r):(n=M[1],r=M[2]),(0,a.useEffect)(n,r),M[3]!==B?(o=()=>{if(!B)return;let e=document.getElementById($);if(!e)return;let t=e=>{let t=e.target;t?.type==="checkbox"&&ec(t.checked)};e.addEventListener("change",t,!0);let s=()=>{requestAnimationFrame(()=>{let t=e.querySelector('input[type="checkbox"]');t&&ec(t.checked)})};e.addEventListener("click",s);let a=()=>{let t,s=document.createTreeWalker(e,NodeFilter.SHOW_TEXT);for(;t=s.nextNode();)t.nodeValue&&t.nodeValue.includes("Â ")&&(t.nodeValue=t.nodeValue.replace(/\u00A0/g," "));e.querySelectorAll("a").forEach(z)},n=new MutationObserver(a);return n.observe(e,{childList:!0,subtree:!0,characterData:!0}),a(),()=>{e.removeEventListener("change",t,!0),e.removeEventListener("click",s),n.disconnect()}},c=[B],M[3]=B,M[4]=o,M[5]=c):(o=M[4],c=M[5]),(0,a.useEffect)(o,c),M[6]!==K||M[7]!==B||M[8]!==et||M[9]!==eo?(d=e=>{B&&eu.current&&eo?(e.preventDefault(),eu.current.submit({user_identifier:K}).then(()=>{et(e)}).catch(q)):et(e)},M[6]=K,M[7]=B,M[8]=et,M[9]=eo,M[10]=d):d=M[10];let eh=d;M[11]!==ei||M[12]!==er?(m=ei&&er&&(0,t.jsxs)(i.motion.div,{role:"alert","aria-live":"polite",initial:{opacity:0,y:-10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},className:"flex items-start gap-2.5 p-3 bg-amber-50 border border-amber-200 rounded-xl text-amber-800 text-sm",children:[(0,t.jsx)(R.ShieldAlert,{className:"w-5 h-5 flex-shrink-0 mt-0.5"}),(0,t.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,t.jsx)("span",{className:"font-semibold",children:er.title}),(0,t.jsx)("span",{children:er.body}),er.hint&&(0,t.jsx)("span",{className:"text-xs text-amber-700/80",children:er.hint})]})]},"lockout-banner"),M[11]=ei,M[12]=er,M[13]=m):m=M[13],M[14]!==W||M[15]!==ei?(u=W&&!ei&&(0,t.jsxs)(i.motion.div,{initial:{opacity:0,y:-10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},className:"flex items-center gap-2 p-3 bg-red-50 rounded-xl text-red-600 text-sm",children:[(0,t.jsx)(U.AlertCircle,{className:"w-4 h-4 flex-shrink-0"}),(0,t.jsx)("span",{children:W})]},"error-banner"),M[14]=W,M[15]=ei,M[16]=u):u=M[16],M[17]!==m||M[18]!==u?(h=(0,t.jsxs)(l.AnimatePresence,{children:[m,u]}),M[17]=m,M[18]=u,M[19]=h):h=M[19],M[20]!==el||M[21]!==B||M[22]!==V||M[23]!==Z||M[24]!==en.fullName||M[25]!==en.placeholders.name?(x=B&&(0,t.jsxs)(i.motion.div,{initial:{opacity:0,height:0},animate:{opacity:1,height:"auto"},exit:{opacity:0,height:0},className:"space-y-1.5",children:[(0,t.jsx)("label",{className:"block text-xs font-medium text-gray-500 uppercase tracking-wider",children:en.fullName}),(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)("div",{className:"absolute left-0 top-0 w-10 h-full flex items-center justify-center",children:(0,t.jsx)("div",{className:"w-8 h-8 bg-gray-100 rounded-lg flex items-center justify-center",children:(0,t.jsx)(F,{className:"w-4 h-4 text-gray-400"})})}),(0,t.jsx)("input",{type:"text",value:V,onChange:e=>Z(e.target.value),placeholder:en.placeholders.name,disabled:el,className:"w-full h-12 pl-12 pr-4 rounded-xl bg-gray-50 border border-gray-200 text-gray-900 placeholder-gray-400 focus:border-accent focus:bg-white focus:ring-2 focus:ring-accent/10 outline-none transition-all disabled:opacity-50 text-sm"})]})]}),M[20]=el,M[21]=B,M[22]=V,M[23]=Z,M[24]=en.fullName,M[25]=en.placeholders.name,M[26]=x):x=M[26],M[27]!==x?(g=(0,t.jsx)(l.AnimatePresence,{children:x}),M[27]=x,M[28]=g):g=M[28],M[29]!==en.emailAddress?(p=(0,t.jsx)("label",{className:"block text-xs font-medium text-gray-500 uppercase tracking-wider",children:en.emailAddress}),M[29]=en.emailAddress,M[30]=p):p=M[30],M[31]===Symbol.for("react.memo_cache_sentinel")?(f=(0,t.jsx)("div",{className:"absolute left-0 top-0 w-10 h-full flex items-center justify-center",children:(0,t.jsx)("div",{className:"w-8 h-8 bg-gray-100 rounded-lg flex items-center justify-center",children:(0,t.jsx)(I.Mail,{className:"w-4 h-4 text-gray-400"})})}),M[31]=f):f=M[31],M[32]!==J?(y=e=>J(e.target.value),M[32]=J,M[33]=y):y=M[33],M[34]!==K||M[35]!==el||M[36]!==en.placeholders.email||M[37]!==y?(b=(0,t.jsxs)("div",{className:"relative",children:[f,(0,t.jsx)("input",{type:"email",value:K,onChange:y,placeholder:en.placeholders.email,required:!0,disabled:el,className:"w-full h-12 pl-12 pr-4 rounded-xl bg-gray-50 border border-gray-200 text-gray-900 placeholder-gray-400 focus:border-accent focus:bg-white focus:ring-2 focus:ring-accent/10 outline-none transition-all disabled:opacity-50 text-sm"})]}),M[34]=K,M[35]=el,M[36]=en.placeholders.email,M[37]=y,M[38]=b):b=M[38],M[39]!==p||M[40]!==b?(j=(0,t.jsxs)("div",{className:"space-y-1.5",children:[p,b]}),M[39]=p,M[40]=b,M[41]=j):j=M[41],M[42]!==el||M[43]!==B||M[44]!==Q||M[45]!==ee||M[46]!==G||M[47]!==H||M[48]!==en.password||M[49]!==e
1n.placeholders.passwordSignIn?(v=!B&&(0,t.jsxs)("div",{className:"space-y-1.5",children:[(0,t.jsx)("label",{className:"block text-xs font-medium text-gray-500 uppercase tracking-wider",children:en.password}),(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)("div",{className:"absolute left-0 top-0 w-10 h-full flex items-center justify-center",children:(0,t.jsx)("div",{className:"w-8 h-8 bg-gray-100 rounded-lg flex items-center justify-center",children:(0,t.jsx)(L.Lock,{className:"w-4 h-4 text-gray-400"})})}),(0,t.jsx)("input",{type:H?"text":"password",value:G,onChange:e=>Q(e.target.value),placeholder:en.placeholders.passwordSignIn,required:!0,disabled:el,className:"w-full h-12 pl-12 pr-12 rounded-xl bg-gray-50 border border-gray-200 text-gray-900 placeholder-gray-400 focus:border-accent focus:bg-white focus:ring-2 focus:ring-accent/10 outline-none transition-all disabled:opacity-50 text-sm"}),(0,t.jsx)("button",{type:"button",onClick:ee,disabled:el,className:"absolute right-3 top-1/2 -translate-y-1/2 w-8 h-8 flex items-center justify-center text-gray-400 hover:text-gray-600 disabled:opacity-50 transition-colors","aria-label":H?"Hide password":"Show password",children:H?(0,t.jsx)(O.EyeOff,{className:"w-4 h-4"}):(0,t.jsx)(T.Eye,{className:"w-4 h-4"})})]})]}),M[42]=el,M[43]=B,M[44]=Q,M[45]=ee,M[46]=G,M[47]=H,M[48]=en.password,M[49]=en.placeholders.passwordSignIn,M[50]=v):v=M[50],M[51]!==B||M[52]!==es||M[53]!==en.forgotPassword?(w=!B&&(0,t.jsx)("div",{className:"flex justify-end",children:(0,t.jsx)("button",{type:"button",onClick:es,className:"text-xs text-accent hover:text-accent-dark font-medium transition-colors cursor-pointer",children:en.forgotPassword})}),M[51]=B,M[52]=es,M[53]=en.forgotPassword,M[54]=w):w=M[54],M[55]!==B?(N=B&&(0,t.jsx)(i.motion.div,{initial:{opacity:0,height:0},animate:{opacity:1,height:"auto"},exit:{opacity:0,height:0},transition:{type:"spring",stiffness:300,damping:28},className:"overflow-hidden",children:(0,t.jsx)("div",{id:$,className:"text-xs text-gray-500 [&_a]:text-accent [&_a]:underline [&_a]:cursor-pointer [&>div]:flex [&>div]:items-start [&>div]:gap-2.5"})}),M[55]=B,M[56]=N):N=M[56],M[57]!==N?(k=(0,t.jsx)(l.AnimatePresence,{children:N}),M[57]=N,M[58]=k):k=M[58];let ex=el||B&&!eo;M[59]!==ei||M[60]!==B||M[61]!==X||M[62]!==er||M[63]!==en.sendCode||M[64]!==en.sendingCode||M[65]!==en.signInBtn||M[66]!==en.signingIn?(S=ei&&er?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(R.ShieldAlert,{className:"w-4 h-4"}),er.buttonLabel]}):X?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(D.Loader2,{className:"w-4 h-4 animate-spin"}),B?en.sendingCode:en.signingIn]}):(0,t.jsxs)(t.Fragment,{children:[B?en.sendCode:en.signInBtn,(0,t.jsx)(P.ArrowRight,{className:"w-4 h-4"})]}),M[59]=ei,M[60]=B,M[61]=X,M[62]=er,M[63]=en.sendCode,M[64]=en.sendingCode,M[65]=en.signInBtn,M[66]=en.signingIn,M[67]=S):S=M[67],M[68]!==ex||M[69]!==S?(C=(0,t.jsx)("button",{type:"submit",disabled:ex,className:"w-full h-12 flex items-center justify-center gap-2 bg-accent hover:bg-accent-dark text-white font-medium rounded-xl transition-all shadow-sm hover:shadow-md disabled:opacity-50 disabled:cursor-not-allowed active:scale-[0.98] text-sm",children:S}),M[68]=ex,M[69]=S,M[70]=C):C=M[70];let eg=B?en.haveAccount:en.noAccount,ep=B?en.signInLink:en.requestAccess;return M[71]!==el||M[72]!==ea||M[73]!==ep?(A=(0,t.jsx)("button",{type:"button",onClick:ea,disabled:el,className:"text-accent hover:text-accent-dark font-medium transition-colors disabled:opacity-50",children:ep}),M[71]=el,M[72]=ea,M[73]=ep,M[74]=A):A=M[74],M[75]!==eg||M[76]!==A?(_=(0,t.jsxs)("p",{className:"text-center text-sm text-gray-500 pt-2",children:[eg," ",A]}),M[75]=eg,M[76]=A,M[77]=_):_=M[77],M[78]!==eh||M[79]!==g||M[80]!==j||M[81]!==v||M[82]!==w||M[83]!==k||M[84]!==C||M[85]!==_||M[86]!==h?(E=(0,t.jsxs)("form",{onSubmit:eh,className:"p-8 pt-6 space-y-5",children:[h,g,j,v,w,k,C,_]}),M[78]=eh,M[79]=g,M[80]=j,M[81]=v,M[82]=w,M[83]=k,M[84]=C,M[85]=_,M[86]=h,M[87]=E):E=M[87],E}function q(){console.error("SpotDraft submission failed")}function z(e){let t=[];for(let s of Array.from(e.attributes))if(s.name.includes("Â ")){let a=s.name.replace(/\u00A0/g,"").trim();a?t.push({clean:a,value:s.value,raw:s.name}):e.removeAttribute(s.name)}for(let{clean:s,value:a,raw:n}of t)e.getAttribute(s)||e.setAttribute(s,a),e.removeAttribute(n);e.getAttribute("href")&&!e.getAttribute("target")&&(e.setAttribute("target","_blank"),e.setAttribute("rel","noopener noreferrer"))}let B=(0,o.default)("KeyRound",[["path",{d:"M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z",key:"1s6t7t"}],["circle",{cx:"16.5",cy:"7.5",r:".5",fill:"currentColor",key:"w0ekpg"}]]),K=(0,o.default)("RotateCw",[["path",{d:"M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8",key:"1p45f6"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}]]);function G(e){let a,n,r=(0,s.c)(16),{otp:i,otpInputRefs:l,onChange:o,onKeyDown:c,onPaste:d,disabled:m,className:u}=e,h=void 0!==m&&m,x=`flex justify-center gap-2 ${void 0===u?"":u}`;if(r[0]!==h||r[1]!==o||r[2]!==c||r[3]!==d||r[4]!==i||r[5]!==l){let e;r[7]!==h||r[8]!==o||r[9]!==c||r[10]!==d||r[11]!==l?(e=(e,s)=>(0,t.jsx)("input",{ref:e=>{l.current[s]=e}
1,type:"text",inputMode:"numeric",maxLength:1,value:e,onChange:e=>o(s,e.target.value),onKeyDown:e=>c(s,e),onPaste:0===s?d:void 0,disabled:h,className:"w-11 h-12 text-center text-xl font-semibold rounded-xl bg-gray-50 border border-gray-200 text-gray-900 focus:border-accent focus:bg-white focus:ring-2 focus:ring-accent/20 outline-none transition-all disabled:opacity-50","aria-label":`Digit ${s+1}`},s),r[7]=h,r[8]=o,r[9]=c,r[10]=d,r[11]=l,r[12]=e):e=r[12],a=i.map(e),r[0]=h,r[1]=o,r[2]=c,r[3]=d,r[4]=i,r[5]=l,r[6]=a}else a=r[6];return r[13]!==x||r[14]!==a?(n=(0,t.jsx)("div",{className:x,children:a}),r[13]=x,r[14]=a,r[15]=n):n=r[15],n}function V(e){let a,n,r,o,c,d,m,u,h,x,g,p,f,y,b,j,v=(0,s.c)(52),{email:w,otp:N,otpInputRefs:k,error:S,isSubmitting:C,isResending:A,resendCooldown:_,onOtpChange:E,onOtpKeyDown:I,onOtpPaste:L,onSubmit:T,onResend:O,onBack:F,translations:R}=e;v[0]!==N?(a=N.join(""),v[0]=N,v[1]=a):a=v[1];let $=6===a.length;v[2]!==S?(n=S&&(0,t.jsxs)(i.motion.div,{initial:{opacity:0,y:-10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},className:"flex items-center gap-2 p-3 bg-red-50 rounded-xl text-red-600 text-sm",children:[(0,t.jsx)(U.AlertCircle,{className:"w-4 h-4 flex-shrink-0"}),(0,t.jsx)("span",{children:S})]}),v[2]=S,v[3]=n):n=v[3],v[4]!==n?(r=(0,t.jsx)(l.AnimatePresence,{children:n}),v[4]=n,v[5]=r):r=v[5],v[6]===Symbol.for("react.memo_cache_sentinel")?(o={opacity:0,y:10},c={opacity:1,y:0},v[6]=o,v[7]=c):(o=v[6],c=v[7]),v[8]===Symbol.for("react.memo_cache_sentinel")?(d=(0,t.jsx)("div",{className:"w-14 h-14 bg-accent/10 rounded-full flex items-center justify-center mx-auto",children:(0,t.jsx)(B,{className:"w-7 h-7 text-accent"})}),v[8]=d):d=v[8],v[9]!==R.otpSent?(m=(0,t.jsx)("p",{className:"text-sm text-gray-600",children:R.otpSent}),v[9]=R.otpSent,v[10]=m):m=v[10],v[11]!==w?(u=(0,t.jsx)("p",{className:"text-sm font-medium text-gray-900",children:w}),v[11]=w,v[12]=u):u=v[12],v[13]!==m||v[14]!==u?(h=(0,t.jsxs)(i.motion.div,{initial:o,animate:c,className:"text-center space-y-4",children:[d,(0,t.jsxs)("div",{className:"space-y-1",children:[m,u]})]}),v[13]=m,v[14]=u,v[15]=h):h=v[15],v[16]!==C||v[17]!==E||v[18]!==I||v[19]!==L||v[20]!==N||v[21]!==k?(x=(0,t.jsx)(G,{otp:N,otpInputRefs:k,onChange:E,onKeyDown:I,onPaste:L,disabled:C}),v[16]=C,v[17]=E,v[18]=I,v[19]=L,v[20]=N,v[21]=k,v[22]=x):x=v[22];let M=C||!$;v[23]!==C||v[24]!==R.verifyCode||v[25]!==R.verifying?(g=C?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(D.Loader2,{className:"w-4 h-4 animate-spin"}),R.verifying]}):(0,t.jsxs)(t.Fragment,{children:[R.verifyCode,(0,t.jsx)(P.ArrowRight,{className:"w-4 h-4"})]}),v[23]=C,v[24]=R.verifyCode,v[25]=R.verifying,v[26]=g):g=v[26],v[27]!==M||v[28]!==g?(p=(0,t.jsx)("button",{type:"submit",disabled:M,className:"w-full h-12 flex items-center justify-center gap-2 bg-accent hover:bg-accent-dark text-white font-medium rounded-xl transition-all shadow-sm hover:shadow-md disabled:opacity-50 disabled:cursor-not-allowed active:scale-[0.98] text-sm",children:g}),v[27]=M,v[28]=g,v[29]=p):p=v[29];let q=_>0||A;return v[30]!==A||v[31]!==_||v[32]!==R.resend||v[33]!==R.resendIn||v[34]!==R.sending?(f=A?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(D.Loader2,{className:"w-3 h-3 animate-spin"}),R.sending]}):_>0?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(K,{className:"w-3 h-3"}),R.resendIn]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(K,{className:"w-3 h-3"}),R.resend]}),v[30]=A,v[31]=_,v[32]=R.resend,v[33]=R.resendIn,v[34]=R.sending,v[35]=f):f=v[35],v[36]!==O||v[37]!==q||v[38]!==f?(y=(0,t.jsx)("div",{className:"text-center",children:(0,t.jsx)("button",{type:"button",onClick:O,disabled:q,className:"text-sm text-accent hover:text-accent-dark font-medium transition-colors disabled:opacity-50 disabled:cursor-not-allowed inline-flex items-center gap-1",children:f})}),v[36]=O,v[37]=q,v[38]=f,v[39]=y):y=v[39],v[40]!==C||v[41]!==F||v[42]!==R.backToEdit?(b=(0,t.jsx)("button",{type:"button",onClick:F,disabled:C,className:"w-full text-center text-sm text-gray-500 hover:text-gray-700 transition-colors",children:R.backToEdit}),v[40]=C,v[41]=F,v[42]=R.backToEdit,v[43]=b):b=v[43],v[44]!==T||v[45]!==x||v[46]!==p||v[47]!==y||v[48]!==b||v[49]!==r||v[50]!==h?(j=(0,t.jsxs)("form",{onSubmit:T,className:"p-8 pt-6 space-y-5",children:[r,h,x,p,y,b]}),v[44]=T,v[45]=x,v[46]=p,v[47]=y,v[48]=b,v[49]=r,v[50]=h,v[51]=j):j=v[51],j}var H=e.i(69638);function W(e){let a,n,r,l,o,c,d,m,u,h=(0,s.c)(19),{title:x,message:g,email:p,buttonText:f,onClose:y}=e;return h[0]===Symbol.for("react.memo_cache_sentinel")?(a={opacity:0,scale:.9},n={opacity:1,scale:1},h[0]=a,h[1]=n):(a=h[0],n=h[1]),h[2]===Symbol.for("react.memo_cache_sentinel")?(r=(0,t.jsx)("div",{className:"w-16 h-16 bg-green-100 rounded-full flex items-center justify-center mx-auto",children:(0,t.jsx)(H.CheckCircle,{className:"w-8 h-8 text-green-600"})}),h[2]=r):r=h[2],h[3]!==x?(l=(0,t.jsx)("h3",{className:"text-lg font-semibold text-gray-900",children:x}),h[3]=x,h[4]=l):l=h[4],h[5]!==p?(o=(0,t.jsx)("span",{className:"font-medium text-gray-700",children:p}),h[5]=p,h[6]=o):o=h[6],h[7]!==g||h[8]!==o?(c=(0,t.jsxs)("p",{className:"text-sm text-gray-500",children:[g," ",o,"."]}),h[7]=g,h[8]=o,h[9]=c):c=h[9],h[10]!==l||h[11]!==c?(d=(0,t.jsxs)("div",{className:"space-y-2",children:[l,c]}),h[10]=l,h[11]=c,h[12]=d):d=h[12],h[13]!==f||h[14]!==y?(m=(0,t.jsx)("button",{type:"button",onClick:y,className:"w-full h-12 flex items-center justify-center gap-2 bg-accent hover:bg-accent-dark text-white font-medium rounded-xl transition-all shadow-sm hover:shadow-md active:scale-[0.98] text-sm mt-4",children:f}),h[13]=f,h[14]=y,h[15]=m):m=h[15],h[16]!==d||h[17]!==m?(u=(0,t.jsx)("div",{className:"p-8 pt-6 space-y-5",children:(0,t.jsxs)(i.motion.div,{initial:a,animate:n,className:"text-center space-y-4",children:[r,d,m]})}),h[16]=d,h[17]=m,h[18]=u):u=h[18],u}function X({isOpen:e,onClose:s}){let n=(0,h.useTranslations)("forms.login"),r=(0,a.useSyncExternalStore)(S,N,k),[o,c]=(0,a.useState)(!1),[m,u]=(0,a.useState)("form"),[x,g]=(0,a.useState)(!1),[p,f]=(0,a.useState)(""),[b,j]=(0,a.useState)(""),[_,I]=(0,a.useState)(""),[L,T]=(0,a.useState)(Array(C.OTP_CONFIG.length).fill("")),[O,P]=(0,a.useState)(null),[F,D]=(0,a.useState)(null),[U,R]=(0,a.useState)(()=>Date.now()),[$,q]=(0,a.useState)(!1),[z,B]=(0,a.useState)(!1),[K,G]=(0,a.useState)(0),H=(0,a.useRef)([]),{login:Y,sendOTP:J,verifyOTP:Q,resendOTP:Z}=(0,w.useAuth)();(0,a.useEffect)(()=>
1{if(!F)return;R(Date.now());let e=window.setInterval(()=>R(Date.now()),1e3);return()=>window.clearInterval(e)},[F]);let ee=F?Math.max(0,Math.ceil((F.unlockAt-U)/1e3)):0,et=!!F&&ee>0;(0,a.useEffect)(()=>{F&&0===ee&&D(null)},[F,ee]);let es=(0,a.useMemo)(()=>{if(!et)return null;let e=function(e){let t=Math.max(0,Math.ceil(e));if(t>=60){let e=Math.floor(t/60),s=t%60;return 0===s?`${e}m`:`${e}m ${s}s`}return`${t}s`}(ee);return{title:n("errors.lockout.title"),body:n("errors.lockout.tryAgainIn",{time:e}),hint:n("errors.lockout.hint"),buttonLabel:n("errors.lockout.buttonLabel",{time:e})}},[et,ee,n]);(0,a.useEffect)(()=>(e?(document.body.style.overflow="hidden",y.analytics.modalOpened("login")):document.body.style.overflow="",()=>{document.body.style.overflow=""}),[e]),(0,a.useEffect)(()=>{if(K>0){let e=setTimeout(()=>G(K-1),1e3);return()=>clearTimeout(e)}},[K]),(0,a.useEffect)(()=>{"otp"===m&&H.current[0]&&H.current[0]?.focus()},[m]),(0,a.useEffect)(()=>{if(!e)return;let t=document.querySelector('[role="dialog"]');if(!t)return;let a=t.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])'),n=a[0],r=a[a.length-1];n?.focus();let i=e=>{"Tab"===e.key&&(e.shiftKey&&document.activeElement===n?(e.preventDefault(),r?.focus()):e.shiftKey||document.activeElement!==r||(e.preventDefault(),n?.focus())),"Escape"===e.key&&s()};return document.addEventListener("keydown",i),()=>document.removeEventListener("keydown",i)},[e,s]);let ea=()=>{f(""),j(""),I(""),T(Array(C.OTP_CONFIG.length).fill("")),P(null),D(null),c(!1),u("form"),G(0)},en=()=>{y.analytics.modalClosed("login"),ea(),s()},er=async()=>{if(!(K>0)&&!z){B(!0),P(null);try{await Z({email:p,name:_}),G(C.OTP_CONFIG.resendCooldownSeconds),T(Array(C.OTP_CONFIG.length).fill(""))}catch(e){P(e instanceof Error?e.message:n("errors.resendFailed"))}finally{B(!1)}}},ei=async e=>{if(e.preventDefault(),!et){P(null),q(!0);try{if(o){if("form"===m){if(!_.trim()){P(n("errors.name")),q(!1);return}y.analytics.signupStarted(),await J({email:p,name:_}),u("otp"),G(C.OTP_CONFIG.resendCooldownSeconds)}else if("otp"===m){let e=L.join("");if(e.length!==C.OTP_CONFIG.length){P(n("errors.otpIncomplete")),q(!1);return}await Q({email:p,name:_,otp:e}),y.analytics.signupCompleted(),u("success")}}else y.analytics.loginAttempted(),await Y({email:p,password:b}),y.analytics.loginSuccess(),ea(),s(),window.location.href=C.DASHBOARD_URL}catch(e){e instanceof A.LoginRateLimitError?(D({unlockAt:e.lockedUntil.getTime()}),P(null)):o?P(e instanceof Error?e.message:n("errors.requestFailed")):P(n("errors.invalidCredentials"))}finally{q(!1)}}};if(!r)return null;let el=(0,t.jsx)(l.AnimatePresence,{children:e&&(0,t.jsxs)("div",{className:"fixed inset-0 z-[100] flex items-center justify-center p-4",children:[(0,t.jsx)(i.motion.div,{initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},transition:{duration:.2},onClick:en,className:"absolute inset-0 bg-black/20 backdrop-blur-sm"}),(0,t.jsx)(i.motion.div,{initial:{opacity:0,scale:.95,y:20},animate:{opacity:1,scale:1,y:0},exit:{opacity:0,scale:.95,y:20},transition:{type:"spring",duration:.4,bounce:.15},className:"relative w-full max-w-[420px]",children:(0,t.jsxs)("div",{role:"dialog","aria-modal":"true",className:"bg-white rounded-3xl shadow-xl overflow-hidden",children:[(0,t.jsx)("button",{onClick:en,className:"absolute top-4 right-4 z-10 w-8 h-8 bg-gray-100 hover:bg-gray-200 rounded-full flex items-center justify-center text-gray-500 hover:text-gray-700 transition-colors",disabled:$,"aria-label":"Close modal",children:(0,t.jsx)(d.X,{className:"w-4 h-4"})}),(0,t.jsx)(E,{subtitle:"success"===m?n("requestSubmitted"):"otp"===m?n("enterCode"):o?n("signUp"):n("signIn")}),"success"===m?(0,t.jsx)(W,{title:n("success.title"),message:n("success.message"),email:p,buttonText:n("success.gotIt"),onClose:en}):"otp"===m&&o?(0,t.jsx)(V,{email:p,otp:L,otpInputRefs:H,error:O,isSubmitting:$,isResending:z,resendCooldown:K,onOtpChange:(e,t)=>
1{if(!/^\d*$/.test(t))return;let s=[...L];s[e]=t.slice(-1),T(s),t&&e<C.OTP_CONFIG.length-1&&H.current[e+1]?.focus()},onOtpKeyDown:(e,t)=>{"Backspace"===t.key&&!L[e]&&e>0&&H.current[e-1]?.focus()},onOtpPaste:e=>{e.preventDefault();let t=e.clipboardData.getData("text").replace(/\D/g,"").slice(0,C.OTP_CONFIG.length),s=[...L];for(let e=0;e<t.length;e++)s[e]=t[e];T(s);let a=Math.min(t.length,C.OTP_CONFIG.length-1);H.current[a]?.focus()},onSubmit:ei,onResend:er,onBack:()=>{u("form"),T(Array(C.OTP_CONFIG.length).fill("")),P(null)},translations:{otpSent:n("otpSent"),verifyCode:n("verifyCode"),verifying:n("verifying"),resend:n("resend"),resendIn:n("resendIn",{seconds:K}),sending:n("sending"),backToEdit:n("backToEdit")}}):(0,t.jsx)(M,{isSignUp:o,email:p,password:b,name:_,showPassword:x,error:O,isSubmitting:$,lockout:es,onEmailChange:f,onPasswordChange:j,onNameChange:I,onTogglePassword:()=>g(!x),onSubmit:ei,onForgotPassword:()=>{window.location.href=`${C.CLIENT_BASE_URL}/forgot-password`},onToggleMode:()=>{c(!o),P(null),D(null)},translations:{fullName:n("fullName"),emailAddress:n("emailAddress"),password:n("password"),forgotPassword:n("forgotPassword"),signInBtn:n("signInBtn"),signingIn:n("signingIn"),sendCode:n("sendCode"),sendingCode:n("sendingCode"),haveAccount:n("haveAccount"),noAccount:n("noAccount"),signInLink:n("signInLink"),requestAccess:n("requestAccess"),placeholders:{name:n("placeholders.name"),email:n("placeholders.email"),passwordSignUp:n("placeholders.passwordSignUp"),passwordSignIn:n("placeholders.passwordSignIn")}}})]})})]})});return(0,v.createPortal)(el,document.body)}var Y=e.i(58047),J=e.i(82923);function Q(e){return"/solutions"!==e.href}function Z(e){return e.stopPropagation()}e.s(["Header",0,function(){let e,o,g,p,f,y,b,v,w,N,k,S,C,A,E,I=(0,s.c)(58),[L,T]=(0,a.useState)(!1),[O,P]=(0,a.useState)(!1),[F,D]=(0,a.useState)(!1),U=(0,a.useRef)(null);I[0]===Symbol.for("react.memo_cache_sentinel")?(e={threshold:20},I[0]=e):e=I[0];let{scrolled:R}=function(e){let t,n,r,i,l=(0,s.c)(8);l[0]!==e?(t=void 0===e?{}:e,l[0]=e,l[1]=t):t=l[1];let{threshold:o}=t,c=void 0===o?20:o,[d,m]=(0,a.useState)(!1),[u,h]=(0,a.useState)(0),x=(0,a.useRef)(null);return l[2]!==c?(n=()=>{let e=()=>{null===x.current&&(x.current=requestAnimationFrame(()=>{let e=window.scrollY;h(e),m(e>c),x.current=null}))};return e(),window.addEventListener("scroll",e,{passive:!0}),()=>{window.removeEventListener("scroll",e),null!==x.current&&cancelAnimationFrame(x.current)}},r=[c],l[2]=c,l[3]=n,l[4]=r):(n=l[3],r=l[4]),(0,a.useEffect)(n,r),l[5]!==u||l[6]!==d?(i={scrolled:d,scrollY:u},l[5]=u,l[6]=d,l[7]=i):i=l[7],i}(e),$=(0,r.usePathname)(),M=(0,h.useTranslations)("nav"),q=(0,h.useTranslations)("solutions"),z=(0,h.useTranslations)("common");I[1]===Symbol.for("react.memo_cache_sentinel")?(o=()=>P(!1),I[1]=o):o=I[1];let B=o;if(A=(0,s.c)(5),E=void 0===O||O,A[0]!==E||A[1]!==B||A[2]!==U?(S=()=>{if(!E)return;let e=e=>{U.current&&!U.current.contains(e.target)&&B()};return document.addEventListener("mousedown",e),document.addEventListener("touchstart",e),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("touchstart",e)}},C=[U,B,E],A[0]=E,A[1]=B,A[2]=U,A[3]=S,A[4]=C):(S=A[3],C=A[4]),(0,a.useEffect)(S,C),I[2]!==L||I[3]!==$||I[4]!==R||I[5]!==O||I[6]!==M||I[7]!==z||I[8]!==q){let e,s,a,o,h,v,w,N,k,S,C,A,E=[{label:M("solutions"),href:"/solutions"},{label:M("platform"),href:"/platform"},{label:M("pricing"),href:"/pricing"},{label:M("about"),href:"/about"}],F=e=>"/solutions"===e?$.startsWith("/solutions"):$===e;f=`fixed top-0 left-0 right-0 z-50 transition-all duration-300 ${R||O?"backdrop-blur-md shadow-xs":"bg-white/95 backdrop-blur-sm"}`,I[14]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)(r.Link,{href:"/",className:"flex items-center",children:(0,t.jsx)(n.default,{src:(0,_.getAssetUrl)("/images/logos/reptwin-logo.png"),alt:"RepTwin - powered by Doceree",width:140,height:40,className:"object-contain",priority:!0})}),I[14]=e):e=I[14];let B=(0,t.jsx)("div",{className:"hidden md:flex items-center gap-2",children:E.map(e=>"/solutions"===e.href?(0,t.jsx)("div",{className:"relative",ref:U,children:(0,t.jsxs)("button",{onClick:e=>{e.stopPropagation(),P(!O)},"aria-expanded":O,"aria-haspopup":"true",className:`flex items-center gap-1.5 px-4 py-2 rounded-full font-medium transition-all ${F(e.href)||O?"text-accent":"text-gray-600 hover:text-accent"}`,children:[e.label,(0,t.jsx)(m,{size:16,className:`transition-transform duration-200 ${O?"":"rotate-180"}`})]})},e.href):(0,t.jsx)(r.Link,{href:e.href,className:`px-4 py-2 rounded-full font-medium transition-all ${F(e.href)?"text-accent":"text-gray-600 hover:text-accent"}`,children:e.label},e.href))});I[15]===Symbol.for("react.memo_cache_sentinel")?(s=(0,t.jsx)(j,{}),I[15]=s):s=I[15],I[16]===Symbol.for("react.memo_cache_sentinel")?(a=()=>D(!0),I[16]=a):a=I[16],I[17]!==M?(o=M("login"),I[17]=M,I[18]=o):o=I[18],I[19]!==o?(h=(0,t.jsx)(x.Button,{variant:"ghost",size:"md",className:"px-5",onClick:a,children:o}),I[19]=o,I[20]=h):h=I[20],I[21]!==M?(v=M("requestDemo"),I[21]=M,I[22]=v):v=I[22],I[23]!==v?(w=(0,t.jsx)(r.Link,{href:"/contact",children:(0,t.jsx)(x.Button,{size:"md",className:"px-6",children:v})}),I[23]=v,I[24]=w):w=I[24],I[25]!==h||I[26]!==w?(N=(0,t.jsxs)("div",{className:"hidden md:flex items-center gap-3",children:[s,h,w]}),I[25]=h,I[26]=w,I[27]=N):N=I[27],I[28]!==L?(k=()=>T(!L),I[28]=L,I[29]=k):k=I[29],I[30]!==L?(S=L?(0,t.jsx)(d.X,{size:24}):(0,t.jsx)(c,{size:24}),I[30]=L,I[31]=S):S=I[31],I[32]!==L||I[33]!==k||I[34]!==S?(C=(0,t.jsx)("button",{className:"md:hidden p-2 text-gray-600 hover:text-accent transition-colors",onClick:k,"aria-label":"Toggle menu","aria-expanded":L,children:S}),I[32]=L,I[33]=k,I[34]=S,I[35]=C):C=I[35],I[36]!==N||I[37]!==C||I[38]!==B?(y=(0,t.jsx)("nav",{className:"container-wide mx-auto px-4 md:px-8","aria-label":"Main navigation",children:(0,t.jsxs)("div",{className:"flex items-center justify-between h-16 md:h-20",children:[e,B,N,C]})}),I[36]=N,I[37]=C,I[38]=B,I[39]=y):y=I[39],I[40]!==O||I[41]!==z||I[42]!==q?(A=O&&(0,t.jsx)(i.motion.div,{initial:{opacity:0,y:-10}
1,animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.2},className:"hidden md:block absolute top-full left-0 right-0 bg-gradient-to-b from-gray-50 to-white border-t border-gray-100 shadow-lg",onClick:Z,children:(0,t.jsx)("div",{className:"max-w-5xl mx-auto px-4 py-6",children:(0,t.jsx)("div",{className:"grid grid-cols-4 gap-3",children:Y.SOLUTIONS.map(e=>{let s=J.SOLUTION_ICONS[e.icon],a=e.featured;return(0,t.jsxs)(r.Link,{href:e.href,onClick:()=>P(!1),className:"group relative p-5 rounded-2xl border border-gray-200 bg-white hover:bg-gradient-to-br hover:from-accent hover:via-accent-light hover:to-accent hover:border-transparent hover:shadow-lg transition-all duration-300",children:[(0,t.jsx)("div",{className:"w-12 h-12 rounded-xl flex items-center justify-center mb-4 bg-accent/10 group-hover:bg-white/20 transition-colors",children:s&&(0,t.jsx)(s,{size:24,className:"text-accent group-hover:text-white transition-colors"})}),a&&(0,t.jsxs)("div",{className:"flex items-center gap-1.5 mb-3",children:[(0,t.jsx)("span",{className:"text-[10px] bg-accent/10 text-accent group-hover:bg-white/20 group-hover:text-white px-2 py-0.5 rounded-full font-medium transition-colors",children:z("new")}),(0,t.jsx)("span",{className:"text-[10px] bg-accent/10 text-accent group-hover:bg-white/20 group-hover:text-white px-2 py-0.5 rounded-full font-medium transition-colors",children:z("featured")})]}),(0,t.jsx)("h3",{className:"text-lg font-semibold mb-2 text-gray-900 group-hover:text-white transition-colors",children:q(`${e.translationKey}.shortTitle`)}),(0,t.jsx)("p",{className:"text-sm leading-relaxed mb-4 text-gray-500 group-hover:text-white/80 transition-colors",children:q(`${e.translationKey}.description`)}),(0,t.jsx)("div",{className:"absolute bottom-5 right-5 w-10 h-10 rounded-full flex items-center justify-center bg-gray-100 group-hover:bg-white/20 transition-all",children:(0,t.jsx)(u,{size:18,className:"text-accent group-hover:text-white transition-colors"})})]},e.id)})})})}),I[40]=O,I[41]=z,I[42]=q,I[43]=A):A=I[43],I[44]!==A?(b=(0,t.jsx)(l.AnimatePresence,{children:A}),I[44]=A,I[45]=b):b=I[45],g=l.AnimatePresence,p=L&&(0,t.jsx)(i.motion.div,{initial:{opacity:0,height:0},animate:{opacity:1,height:"auto"},exit:{opacity:0,height:0},transition:{duration:.2},className:"md:hidden overflow-hidden border-t border-gray-100 bg-white",children:(0,t.jsxs)("div",{className:"py-4 space-y-1",children:[(0,t.jsxs)("div",{className:"space-y-1",children:[(0,t.jsx)("div",{className:"px-3 py-2 text-xs font-semibold text-gray-400 uppercase tracking-wider",children:M("solutions")}),Y.SOLUTIONS.map(e=>{let s=J.SOLUTION_ICONS[e.icon];return(0,t.jsxs)(r.Link,{href:e.href,onClick:()=>T(!1),className:`flex items-center gap-3 px-3 py-2.5 rounded-xl mx-1 ${$===e.href?"bg-accent/5 text-accent":"text-gray-600 hover:bg-gray-50"}`,children:[(0,t.jsx)("div",{className:`w-8 h-8 rounded-lg flex items-center justify-center ${e.featured?"bg-accent/10":"bg-gray-100"}`,children:s&&(0,t.jsx)(s,{size:16,className:e.featured?"text-accent":"text-gray-500"})}),(0,t.jsx)("span",{className:"font-medium",children:q(`${e.translationKey}.shortTitle`)}),e.featured&&(0,t.jsx)("span",{className:"text-[10px] bg-accent/10 text-accent px-1.5 py-0.5 rounded-full font-medium ml-auto",children:M("featured")})]},e.id)})]}),(0,t.jsxs)("div",{className:"pt-4 border-t border-gray-100 mt-4 space-y-1",children:[(0,t.jsx)("div",{className:"px-3 py-2 text-xs font-semibold text-gray-400 uppercase tracking-wider",children:M("company")}),E.filter(Q).map(e=>(0,t.jsx)(r.Link,{href:e.href,onClick:()=>T(!1),className:`block px-3 py-2.5 rounded-xl mx-1 font-medium ${F(e.href)?"bg-accent/5 text-accent":"text-gray-600 hover:bg-gray-50"}`,children:e.label},e.href))]}),(0,t.jsxs)("div",{className:"pt-4 px-3 space-y-3",children:[(0,t.jsx)(j,{}),(0,t.jsx)(x.Button,{variant:"secondary",className:"w-full",onClick:()=>{T(!1),D(!0)},children:M("login")}),(0,t.jsx)(r.Link,{href:"/contact",onClick:()=>T(!1),children:(0,t.jsx)(x.Button,{className:"w-full",children:M("requestDemo")})})]})]})}),I[2]=L,I[3]=$,I[4]=R,I[5]=O,I[6]=M,I[7]=z,I[8]=q,I[9]=g,I[10]=p,I[11]=f,I[12]=y,I[13]=b}else g=I[9],p=I[10],f=I[11],y=I[12],b=I[13];return I[46]!==g||I[47]!==p?(v=(0,t.jsx)(g,{children:p}),I[46]=g,I[47]=p,I[48]=v):v=I[48],I[49]===Symbol.for("react.memo_cache_sentinel")?(w=()=>D(!1),I[49]=w):w=I[49],I[50]!==F?(N=(0,t.jsx)(X,{isOpen:F,onClose:w}),I[50]=F,I[51]=N):N=I[51],I[52]!==f||I[53]!==y||I[54]!==b||I[55]!==v||I[56]!==N?(k=(0,t.jsxs)("header",{className:f,children:[y,b,v,N]}),I[52]=f,I[53]=y,I[54]=b,I[55]=v,I[56]=N,I[57]=k):k=I[57],k}],3374)}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.