1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9099,9461],{8728:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});let s=(0,r(17963).A)("mail",[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]])},10448:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/forgot-password",function(){return r(72829)}])},27965:(e,t,r)=>{"use strict";r.d(t,{b:()=>l});var s=r(14232),a=r(66326),n=r(37876),i=s.forwardRef((e,t)=>(0,n.jsx)(a.sG.label,{...e,ref:t,onMouseDown:t=>{var r;t.target.closest("button, input, select, textarea")||(null==(r=e.onMouseDown)||r.call(e,t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));i.displayName="Label";var l=i},31188:(e,t,r)=>{"use strict";r.d(t,{BT:()=>o,Wu:()=>c,ZB:()=>d,Zp:()=>i,aR:()=>l});var s=r(37876),a=r(14232),n=r(15565);let i=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)("div",{ref:t,className:(0,n.cn)("rounded-lg border bg-card text-card-foreground shadow-sm",r),...a})});i.displayName="Card";let l=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)("div",{ref:t,className:(0,n.cn)("flex flex-col space-y-1.5 p-6",r),...a})});l.displayName="CardHeader";let d=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)("h3",{ref:t,className:(0,n.cn)("text-2xl font-semibold leading-none tracking-tight",r),...a})});d.displayName="CardTitle";let o=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)("p",{ref:t,className:(0,n.cn)("text-sm text-muted-foreground",r),...a})});o.displayName="CardDescription";let c=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)("div",{ref:t,className:(0,n.cn)("p-6 pt-0",r),...a})});c.displayName="CardContent",a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)("div",{ref:t,className:(0,n.cn)("flex items-center p-6 pt-0",r),...a})}).displayName="CardFooter"},42298:(e,t,r)=>{"use strict";r.d(t,{$:()=>o,r:()=>d});var s=r(37876),a=r(14232),n=r(69163),i=r(47137),l=r(15565);let d=(0,i.F)("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"}}),o=a.forwardRef((e,t)=>{let{className:r,variant:a,size:i,asChild:o=!1,...c}=e,u=o?n.DX:"button";return(0,s.jsx)(u,{className:(0,l.cn)(d({variant:a,size:i,className:r})),ref:t,...c})});o.displayName="Button"},67514:(e,t,r)=>{"use strict";r.d(t,{p:()=>i});var s=r(37876),a=r(14232),n=r(15565);let i=a.forwardRef((e,t)=>{let{className:r,type:a,...i}=e;return(0,s.jsx)("input",{type:a,className:(0,n.cn)("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",r),ref:t,...i})});i.displayName="Input"},70175:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});let s=(0,r(17963).A)("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"}]])},72829:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>b});var s=r(37876),a=r(77328),n=r.n(a),i=r(14232),l=r(48230),d=r.n(l),o=r(89099),c=r(42298),u=r(67514),m=r(93732),f=r(31188),x=r(75316),p=r(41810),h=r(70175),g=r(8728),v=r(89926);let y=()=>{let[e,t]=(0,i.useState)(""),[r,a]=(0,i.useState)(!1),[n,l]=(0,i.useState)(!1),[y,b]=(0,i.useState)(""),{toast:w}=(0,p.dj)(),N=(0,o.useRouter)(),j=async e=>{e.preventDefault(),a(!0),b("");try{await new Promise(e=>setTimeout(e,1e3)),l(!0),w({title:"Reset link sent!",description:"Check your email for password reset instructions."})}catch(e){b("Failed to send reset link. Please try again.")}finally{a(!1)}};return(0,s.jsx)("div",{className:"min-h-screen bg-gradient-hero flex items-center justify-center p-4",children:(0,s.jsxs)("div",{className:"w-full max-w-md",children:[(0,s.jsx)("div",{className:"text-center mb-8",children:(0,s.jsxs)(d(),{href:"/",className:"inline-flex items-center space-x-2 text-foreground hover:text-primary transition-colors",children:[(0,s.jsx)(h.A,{className:"h-8 w-8"}),(0,s.jsxs)("span",{className:"text-2xl font-bold",children:["Mesh Core ",(0,s.jsx)("span",{className:"ml-1 text-xs text-muted-foreground",children:"(meshcore.ai)"})]})]})}),(0,s.jsxs)(f.Zp,{className:"shadow-large border-0",children:[(0,s.jsxs)(f.aR,{className:"text-center",children:[(0,s.jsx)(f.ZB,{className:"text-2xl",children:"Reset your password"}),(0,s.jsx)(f.BT,{children:n?"Check your email for reset instructions":"Enter your email to receive a password reset link"})]}),(0,s.jsx)(f.Wu,{children:n?(0,s.jsxs)("div",{className:"space-y-4",children:[(0,s.jsxs)("div",{className:"p-4 bg-primary/10 rounded-lg text-center",children:[(0,s.jsx)(g.A,{className:"h-12 w-12 text-primary mx-auto mb-2"}),(0,s.jsxs)("p",{className:"text-sm text-muted-foreground",children:["We've sent a password reset link to ",(0,s.jsx)("strong",{children:e})]}),(0,s.jsx)("p",{className:"text-sm text-muted-foreground mt-2",children:"If you don't see the email, check your spam folder."})]}),(0,s.jsx)(c.$,{variant:"outline",className:"w-full",onClick:()=>l(!1),children:"Try another email"}),(0,s.jsxs)(c.$,{variant:"ghost",className:"w-full",onClick:()=>
1N.push("/login"),children:[(0,s.jsx)(v.A,{className:"mr-2 h-4 w-4"}),"Back to login"]})]}):(0,s.jsxs)("form",{onSubmit:j,className:"space-y-4",children:[y&&(0,s.jsx)(x.Fc,{variant:"destructive",children:(0,s.jsx)(x.TN,{children:y})}),(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsx)(m.J,{htmlFor:"email",children:"Email"}),(0,s.jsx)(u.p,{id:"email",type:"email",placeholder:"Enter your email",value:e,onChange:e=>t(e.target.value),required:!0})]}),(0,s.jsx)(c.$,{type:"submit",className:"w-full bg-gradient-primary hover:opacity-90",disabled:r,children:r?"Sending...":"Send reset link"}),(0,s.jsxs)(c.$,{type:"button",variant:"ghost",className:"w-full",onClick:()=>N.push("/login"),children:[(0,s.jsx)(v.A,{className:"mr-2 h-4 w-4"}),"Back to login"]})]})})]})]})})};function b(){return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(n(),{children:[(0,s.jsx)("title",{children:"Forgot Password â Mesh Core"}),(0,s.jsx)("meta",{name:"description",content:"Reset your Mesh Core account password. Enter your email to receive password reset instructions."}),(0,s.jsx)("meta",{name:"robots",content:"noindex,nofollow"})]}),(0,s.jsx)(y,{})]})}},75316:(e,t,r)=>{"use strict";r.d(t,{Fc:()=>d,TN:()=>o});var s=r(37876),a=r(14232),n=r(47137),i=r(15565);let l=(0,n.F)("relative w-full rounded-lg border p-4 [&>svg~*]:pl-7 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"}},defaultVariants:{variant:"default"}}),d=a.forwardRef((e,t)=>{let{className:r,variant:a,...n}=e;return(0,s.jsx)("div",{ref:t,role:"alert",className:(0,i.cn)(l({variant:a}),r),...n})});d.displayName="Alert",a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)("h5",{ref:t,className:(0,i.cn)("mb-1 font-medium leading-none tracking-tight",r),...a})}).displayName="AlertTitle";let o=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)("div",{ref:t,className:(0,i.cn)("text-sm [&_p]:leading-relaxed",r),...a})});o.displayName="AlertDescription"},77328:(e,t,r)=>{e.exports=r(29269)},89099:(e,t,r)=>{e.exports=r(16296)},89926:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});let s=(0,r(17963).A)("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]])},93732:(e,t,r)=>{"use strict";r.d(t,{J:()=>o});var s=r(37876),a=r(14232),n=r(27965),i=r(47137),l=r(15565);let d=(0,i.F)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),o=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)(n.b,{ref:t,className:(0,l.cn)(d(),r),...a})});o.displayName=n.b.displayName}},e=>{e.O(0,[8230,636,6593,8792],()=>e(e.s=10448)),_N_E=e.O()}]);
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.