PageSourceSearch

https://care.everywag.com/_next/static/chunks/8397-ab3fc4f0a49ac216.js?dpl=dpl_3g3fyvbr2zfwotsDNXLA9EWwiX8W

js everywag.com collected 2026-10-02 01:29:11 UTC 27,114 bytes, 1 lines download raw bytes

1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},r=(new e.Error).stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="517403e4-4ff7-4253-882c-11a4ff156af6",e._sentryDebugIdIdentifier="sentry-dbid-517403e4-4ff7-4253-882c-11a4ff156af6")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8397],{49230:(e,r,s)=>{s.d(r,{ForgotPasswordForm:()=>l});var n=s(54568),t=s(7620),o=s(65587),a=s.n(o),i=s(5974);let d=(0,i.createServerReference)("60011475a36a3fe9a761610ccdbeab16801978b4b2",i.callServer,void 0,i.findSourceMapURL,"resetPasswordRequestWithFormData");function l(){let[e,r,s]=(0,t.useActionState)(d,null);return e?.success?(0,n.jsxs)("div",{className:"space-y-6",children:[(0,n.jsxs)("div",{className:"bg-success/10 border border-success text-success px-4 py-4 rounded-[var(--radius-md)]",role:"status","aria-live":"polite",children:[(0,n.jsx)("h3",{className:"font-medium mb-1",children:"Check your email"}),(0,n.jsx)("p",{className:"text-sm opacity-90",children:"We've sent a password reset link to your email address. Please check your inbox and follow the instructions."})]}),(0,n.jsxs)("p",{className:"text-sm text-muted-foreground text-center",children:["Didn't receive the email?"," ",(0,n.jsx)("button",{type:"button",onClick:()=>window.location.reload(),className:"text-primary hover:text-primary-hover hover:underline underline-offset-4 transition-colors",children:"Try again"})]}),(0,n.jsx)("div",{className:"text-center",children:(0,n.jsxs)(a(),{href:"/login",className:"\n              inline-flex items-center gap-2\n              text-sm text-muted-foreground \n              hover:text-foreground\n              transition-colors\n            ",children:[(0,n.jsx)(c,{className:"h-4 w-4"}),"Back to sign in"]})})]}):(0,n.jsxs)("form",{action:r,className:"space-y-6",children:[e?.error&&(0,n.jsx)("div",{className:"bg-destructive/10 border border-destructive text-destructive px-4 py-3 rounded-[var(--radius-md)]",role:"alert","aria-live":"polite",children:(0,n.jsx)("p",{className:"text-sm font-medium",children:e.error.message})}),(0,n.jsx)("p",{className:"text-sm text-muted-foreground",children:"Enter your email address and we'll send you a link to reset your password."}),(0,n.jsxs)("div",{className:"space-y-2",children:[(0,n.jsx)("label",{htmlFor:"email",className:"block text-sm font-medium text-foreground",children:"Email address"}),(0,n.jsx)("input",{id:"email",name:"email",type:"email",autoComplete:"email",required:!0,disabled:s,"aria-describedby":e?.error?"error-message":void 0,className:"\n            w-full px-4 py-3 \n            bg-background \n            border border-input \n            rounded-[var(--radius-md)]\n            text-foreground \n            placeholder:text-muted-foreground\n            focus:outline-none focus:ring-2 focus:ring-ring focus:border-transparent\n            disabled:opacity-50 disabled:cursor-not-allowed\n            transition-colors\n          ",placeholder:"[email protected]"})]}),(0,n.jsx)("button",{type:"submit",disabled:s,className:"\n          w-full py-3 px-4\n          bg-primary text-primary-foreground\n          font-medium\n          rounded-[var(--radius-md)]\n          hover:bg-primary-hover\n          focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2\n          disabled:opacity-50 disabled:cursor-not-allowed\n          transition-colors\n          flex items-center justify-center gap-2\n        ",children:s?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(u,{className:"h-5 w-5"}),(0,n.jsx)("span",{children:"Sending..."})]}):(0,n.jsx)("span",{children:"Send reset link"})}),(0,n.jsx)("div",{className:"text-center",children:(0,n.jsxs)(a(),{href:"/login",className:"\n            inline-flex items-center gap-2\n            text-sm text-muted-foreground \n            hover:text-foreground\n            transition-colors\n          ",children:[(0,n.jsx)(c,{className:"h-4 w-4"}),"Back to sign in"]})})]})}function c({className:e}){return(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:e,"aria-hidden":"true",children:(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10.5 19.5L3 12m0 0l7.5-7.5M3 12h18"})})}function u({className:e}){return(0,n.jsxs)("svg",{className:`animate-spin ${e}`,xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true",children:[(0,n.jsx)("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),(0,n.jsx)("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]})}},50706:(e,r,s)=>{s.d(r,{ResetPasswordForm:()=>l});var n=s(54568),t=s(7620),o=s(5974);let a=(0,o.createServerReference)("60c128c3db7bcc349b532c558553046af6254863f6",o.callServer,void 0,o.findSourceMapURL,"updatePasswordWithFormData");var i=s(34653),d=s(44974);function l(){let[e,r]=(0,t.useState)(!1),[s,o]=(0,t.useState)(!1),[l,x,f]=(0,t.useActionState)(a,null);return(0,n.jsxs)("form",{action:x,className:"space-y-6",children:[l?.error&&(0,n.jsx)("div",{className:"bg-destructive/10 border border-destructive text-destructive px-4 py-3 rounded-[var(--radius-md)]",role:"alert","aria-live":"polite",children:(0,n.jsx)("p",{className:"text-sm font-medium",children:l.error.message})}),(0,n.jsxs)("p",{className:"text-sm text-muted-foreground",children:["Enter your new password below. Use at least ",i.wz," characters."]}),(0,n.jsxs)("div",{className:"space-y-2",children:[(0,n.jsxs)("div",{className:"flex items-center gap-2",children:[(0,n.jsx)("label",{htmlFor:"password",className:"text-sm font-medium text-foreground",children:"New password"}),(0,n.jsx)(d.i,{})]}),(0,n.jsxs)("div",{className:"relative",children:[(0,n.jsx)("input",{id:"password",name:"password",type:e?"text":"password",autoComplete:"new-password",required:!0,minLength:i.wz,disabled:f,className:"\n              w-full px-4 py-3 pr-12\n              bg-background \n              border border-input \n              rounded-[var(--radius-md)]\n              text-foreground \n              placeholder:text-muted-foreground\n              focus:outline-none focus:ring-2 focus:ring-ring focus:border-transparent\n              disabled:opacity-50 disabled:cursor-not-allowed\n              transition-colors\n            ",placeholder:i.Be}),(0,n.jsx)("button",{type:"button",onClick:()=>r(!e),disabled:f,className:"\n              absolute right-3 top-1/2 -translate-y-1/2\n              text-muted-foreground hover:text-foreground\n              focus:outline-none focus:text-foreground\n              disabled:opacity-50\n              transition-colors\n            ","aria-label":e?"Hide password":"Show password",children:e?(0,n.jsx)(u,{className:"h-5 w-5"}):(0,n.jsx)(c,{className:"h-5 w-5"})})]})]}),(0,n.jsxs)("div",{className:"space-y-2",children:[(0,n.jsx)("label",{htmlFor:"confirmPassword",className:"block text-sm font-medium text-foreground",children:"Confirm new password"}),(0,n.jsxs)("div",{className:"relative",children:[(0,n.jsx)("input",{id:"confirmPassword",name:"confirmPassword",type:s?"text":"password",autoComplete:"new-password",required:!0,minLength:i.wz,disabled:f,className:"\n              w-full px-4 py-3 pr-12\n              bg-background \n              border border-input \n              rounded-[var(--radius-md)]\n              text-foreground \n              placeholder:text-muted-foreground\n              focus:outline-none focus:ring-2 focus:ring-ring focus:border-transparent\n              disabled:opacity-50 disabled:cursor-not-allowed\n              transition-colors\n            ",placeholder:"Confirm new password"}),(0,n.jsx)("button",{type:"button",onClick:()=>o(!s),disabled:f,className:"\n              absolute right-3 top-1/2 -translate-y-1/2\n              text-muted-foreground hover:text-foreground\n              focus:outline-none focus:text-foreground\n              disabled:opacity-50\n              transition-colors\n            ","aria-label":s?"Hide password":"Show password",children:s?(0,n.jsx)(u,{className:"h-5 w-5"}):(0,n.jsx)(c,{className:"h-5 w-5"})})]})]}),(0,n.jsxs)("div",{className:"bg-muted/50 rounded-[var(--radius-md)] p-4",children:[(0,n.jsx)("p",{className:"text-sm font-medium text-foreground mb-2",children:"Password requirements:"}),(0,n.jsxs)("ul",{className:"text-sm text-muted-foreground space-y-1",children:[(0,n.jsxs)("li",{className:"flex items-center gap-2",children:[(0,n.jsx)(m,{className:"h-4 w-4 text-muted-foreground"}),"At least ",i.wz," characters"]}),(0,n.jsxs)("li",{className:"flex items-center gap-2",children:[(0,n.jsx)(m,{className:"h-4 w-4 text-muted-foreground"}),"Spaces are allowed"]})]})]}),(0,n.jsx)("button",{type:"submit",disabled:f,className:"\n          w-full py-3 px-4\n          bg-primary text-primary-foreground\n          font-medium\n          rounded-[var(--radius-md)]\n          hover:bg-primary-hover\n          focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2\n          disabled:opacity-50 disabled:cursor-not-allowed\n          transition-colors\n          flex items-center justify-center gap-2\n        ",children:f?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(p,{className:"h-5 w-5"}),(0,n.jsx)("span",{children:"Updating password..."})]}):(0,n.jsx)("span",{children:"Update password"})})]})}function c({className:e}){return(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:e,"aria-hidden":"true",children:[(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.036 12.322a1.012 1.012 0 010-.639C3.423 7.51 7.36 4.5 12 4.5c4.638 0 8.573 3.007 9.963 7.178.07.207.07.431 0 .639C20.577 16.49 16.64 19.5 12 19.5c-4.638 0-8.573-3.007-9.963-7.178z"}),(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 12a3 3 0 11-6 0 3 3 0 016 0z"})]})}function u({className:e}){return(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:e,"aria-hidden":"true",children:(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.98 8.223A10.477 10.477 0 001.934 12C3.226 16.338 7.244 19.5 12 19.5c.993 0 1.953-.138 2.863-.395M6.228 6.228A10.45 10.45 0 0112 4.5c4.756 0 8.773 3.162 10.065 7.498a10.523 10.523 0 01-4.293 5.774M6.228 6.228L3 3m3.228 3.228l3.65 3.65m7.894 7.894L21 21m-3.228-3.228l-3.65-3.65m0 0a3 3 0 10-4.243-4.243m4.242 4.242L9.88 9.88"})})}function m({className:e}){return(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor",className:e,"aria-hidden":"true",children:(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4.5 12.75l6 6 9-13.5"})})}function p({className:e}){return(0,n.jsxs)("svg",{className:`animate-spin ${e}`,xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true",children:[(0,n.jsx)("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),(0,n.jsx)("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]})}},64349:(e,r,s)=>{s.d(r,{ChangePasswordForm:()=>u});var n=s(54568),t=s(7620),o=s(65587),a=s.n(o),i=s(5974);let d=(0,i.createServerReference)("60dc49051a82889fffb98ef0f47087a6e5300e6567",i.callServer,void 0,i.findSourceMapURL,"changePasswordWithFormData");var l=s(34653),c=s(44974);function u(){let[e,r]=(0,t.useState)(!1),[s,o]=(0,t.useState)(!1),[i,u,g]=(0,t.useActionState)(d,null);return i?.success?(0,n.jsxs)("div",{className:"space-y-6",children:[(0,n.jsx)("div",{className:"bg-green-50 dark:bg-green-950/30 border border-green-200 dark:border-green-800 text-green-800 dark:text-green-200 px-4 py-3 rounded-[var(--radius-md)]",role:"status","aria-live":"polite",children:(0,n.jsx)("p",{className:"text-sm font-medium",children:"Your password has been updated successfully."})}),(0,n.jsxs)(a(),{href:"/settings",className:"\n                        inline-flex items-center gap-2\n                        text-sm font-medium text-primary\n                        hover:text-primary-hover\n                        transition-colors\n                        focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2\n                        rounded-md px-2 py-1\n                    ",children:[(0,n.jsx)(f,{className:"h-4 w-4"}),"Back to Settings"]})]}):(0,n.jsxs)("form",{action:u,className:"space-y-6",children:[i?.error&&(0,n.jsx)("div",{className:"bg-destructive/10 border border-destructive text-destructive px-4 py-3 rounded-[var(--radius-md)]",role:"alert","aria-live":"polite",children:(0,n.jsx)("p",{className:"text-sm font-medium",children:i.error.message})}),(0,n.jsxs)("p",{className:"text-sm text-muted-foreground",children:["Enter your new password below. Use at least ",l.wz," characters."]}),(0,n.jsxs)("div",{className:"space-y-2",children:[(0,n.jsxs)("div",{className:"flex items-center gap-2",children:[(0,n.jsx)("label",{htmlFor:"password",className:"text-sm font-medium text-foreground",children:"New password"}),(0,n.jsx)(c.i,{})]}),(0,n.jsxs)("div",{className:"relative",children:[(0,n.jsx)("input",{id:"password",name:"password",type:e?"text":"password",autoComplete:"new-password",required:!0,minLength:l.wz,disabled:g,className:"\n              w-full px-4 py-3 pr-12\n              bg-background \n              border border-input \n              rounded-[var(--radius-md)]\n              text-foreground \n              placeholder:text-muted-foreground\n              focus:outline-none focus:ring-2 focus:ring-ring focus:border-transparent\n              disabled:opacity-50 disabled:cursor-not-allowed\n              transition-colors\n            ",placeholder:l.Be}),(0,n.jsx)("button",{type:"button",onClick:()=>r(!e),disabled:g,className:"\n              absolute right-3 top-1/2 -translate-y-1/2\n              text-muted-foreground hover:text-foreground\n              focus:outline-none focus:text-foreground\n              disabled:opacity-50\n              transition-colors\n            ","aria-label":e?"Hide password":"Show password",children:e?(0,n.jsx)(p,{className:"h-5 w-5"}):(0,n.jsx)(m,{className:"h-5 w-5"})})]})]}),(0,n.jsxs)("div",{className:"space-y-2",children:[(0,n.jsx)("label",{htmlFor:"confirmPassword",className:"block text-sm font-medium text-foreground",children:"Confirm new password"}),(0,n.jsxs)("div",{className:"relative",children:[(0,n.jsx)("input",{id:"confirmPassword",name:"confirmPassword",type:s?"text":"password",autoComplete:"new-password",required:!0,minLength:l.wz,disabled:g,className:"\n              w-full px-4 py-3 pr-12\n              bg-background \n              border border-input \n              rounded-[var(--radius-md)]\n              text-foreground \n              placeholder:text-muted-foreground\n              focus:outline-none focus:ring-2 focus:ring-ring focus:border-transparent\n              disabled:opacity-50 disabled:cursor-not-allowed\n              transition-colors\n            ",placeholder:"Confirm new password"}),(0,n.jsx)("button",{type:"button",onClick:()=>o(!s),disabled:g,className:"\n              absolute right-3 top-1/2 -translate-y-1/2\n              text-muted-foreground hover:text-foreground\n              focus:outline-none focus:text-foreground\n              disabled:opacity-50\n              transition-colors\n            ","aria-label":s?"Hide password":"Show password",children:s?(0,n.jsx)(p,{className:"h-5 w-5"}):(0,n.jsx)(m,{className:"h-5 w-5"})})]})]}),(0,n.jsxs)("div",{className:"bg-muted/50 rounded-[var(--radius-md)] p-4",children:[(0,n.jsx)("p",{className:"text-sm font-medium text-foreground mb-2",children:"Password requirements:"}),(0,n.jsxs)("ul",{className:"text-sm text-muted-foreground space-y-1",children:[(0,n.jsxs)("li",{className:"flex items-center gap-2",children:[(0,n.jsx)(x,{className:"h-4 w-4 text-muted-foreground"}),"At least ",l.wz," characters"]}),(0,n.jsxs)("li",{className:"flex items-center gap-2",children:[(0,n.jsx)(x,{className:"h-4 w-4 text-muted-foregr
1ound"}),"Spaces are allowed"]})]})]}),(0,n.jsx)("button",{type:"submit",disabled:g,className:"\n          w-full py-3 px-4\n          bg-primary text-primary-foreground\n          font-medium\n          rounded-[var(--radius-md)]\n          hover:bg-primary-hover\n          focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2\n          disabled:opacity-50 disabled:cursor-not-allowed\n          transition-colors\n          flex items-center justify-center gap-2\n        ",children:g?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(h,{className:"h-5 w-5"}),(0,n.jsx)("span",{children:"Updating password..."})]}):(0,n.jsx)("span",{children:"Update password"})})]})}function m({className:e}){return(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:e,"aria-hidden":"true",children:[(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.036 12.322a1.012 1.012 0 010-.639C3.423 7.51 7.36 4.5 12 4.5c4.638 0 8.573 3.007 9.963 7.178.07.207.07.431 0 .639C20.577 16.49 16.64 19.5 12 19.5c-4.638 0-8.573-3.007-9.963-7.178z"}),(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 12a3 3 0 11-6 0 3 3 0 016 0z"})]})}function p({className:e}){return(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:e,"aria-hidden":"true",children:(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.98 8.223A10.477 10.477 0 001.934 12C3.226 16.338 7.244 19.5 12 19.5c.993 0 1.953-.138 2.863-.395M6.228 6.228A10.45 10.45 0 0112 4.5c4.756 0 8.773 3.162 10.065 7.498a10.523 10.523 0 01-4.293 5.774M6.228 6.228L3 3m3.228 3.228l3.65 3.65m7.894 7.894L21 21m-3.228-3.228l-3.65-3.65m0 0a3 3 0 10-4.243-4.243m4.242 4.242L9.88 9.88"})})}function x({className:e}){return(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor",className:e,"aria-hidden":"true",children:(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4.5 12.75l6 6 9-13.5"})})}function f({className:e}){return(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:e,"aria-hidden":"true",children:(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10.5 19.5L3 12m0 0l7.5-7.5M3 12h18"})})}function h({className:e}){return(0,n.jsxs)("svg",{className:`animate-spin ${e}`,xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true",children:[(0,n.jsx)("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),(0,n.jsx)("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]})}},79748:(e,r,s)=>{var n=s(79796);s.o(n,"useParams")&&s.d(r,{useParams:function(){return n.useParams}}),s.o(n,"usePathname")&&s.d(r,{usePathname:function(){return n.usePathname}}),s.o(n,"useRouter")&&s.d(r,{useRouter:function(){return n.useRouter}}),s.o(n,"useSearchParams")&&s.d(r,{useSearchParams:function(){return n.useSearchParams}})},87071:(e,r,s)=>{s.d(r,{LoginForm:()=>x});var n=s(54568),t=s(7620),o=s(65587),a=s.n(o),i=s(79748),d=s(5974);let l=(0,d.createServerReference)("60d7b6b6a6bf7036af988827c6be418c94bb8f6f4e",d.callServer,void 0,d.findSourceMapURL,"signInWithFormData");var c=s(56819),u=s(68190),m=s(70122),p=s(97550);function x({redirectTo:e,error:r}){let[s,o]=(0,t.useState)(!1),[d,w]=(0,t.useState)("idle"),b=(0,t.useRef)(null),v=(0,i.useRouter)(),[j,y,N]=(0,t.useActionState)(l,null),k=j?.error?.code==="email_not_confirmed";(0,t.useEffect)(()=>{r&&(0,p.Ni)("auth-oauth-error",{provider:"unknown",flow:"login",stage:"callback"})},[r]);let C=(0,t.useCallback)(async()=>{let e=b.current?.value;if(!e)return;w("sending");let r=(0,m.U)(),{error:s}=await r.auth.resend({type:"signup",email:e});s?w("error"):(w("sent"),v.push(`/verify-email?email=${encodeURIComponent(e)}`))},[v]);return(0,n.jsxs)("div",{className:"space-y-6",children:[r&&!j?.error&&(0,n.jsx)("div",{className:"bg-destructive/10 border border-destructive text-destructive px-4 py-3 rounded-[var(--radius-md)]",role:"alert","aria-live":"polite",children:(0,n.jsx)("p",{className:"text-sm font-medium",children:r})}),(0,n.jsx)(u.OAuthButtons,{redirectTo:e}),(0,n.jsxs)("div",{className:"relative",children:[(0,n.jsx)("div",{className:"absolute inset-0 flex items-center",children:(0,n.jsx)("span",{className:"w-full border-t border-border"})}),(0,n.jsx)("div",{className:"relative flex justify-center text-xs uppercase",children:(0,n.jsx)("span",{className:"bg-card text-muted-foreground",children:"or"})})]}),(0,n.jsxs)("form",{action:y,className:"space-y-6",children:[e&&(0,n.jsx)("input",{type:"hidden",name:"redirect",value:e}),(0,n.jsx)("input",{type:"text",name:c.Bc,tabIndex:-1,autoComplete:"new-password","aria-hidden":"true","data-1p-ignore":"true","data-lpignore":"true","data-form-type":"other",className:c.S}),j?.error&&(k?(0,n.jsxs)("div",{className:"bg-amber-50 border border-amber-200 text-amber-800 px-4 py-3 rounded-[var(--radius-md)]",role:"alert","aria-live":"polite",children:[(0,n.jsx)("p",{className:"text-sm font-medium",children:"Your email address hasn't been verified yet."}),(0,n.jsx)("button",{type:"button",onClick:C,disabled:"sending"===d,className:"mt-2 text-sm font-medium text-amber-900 underline underline-offset-4 hover:text-amber-700 disabled:opacity-50 transition-colors",children:"sending"===d?"Sending...":"Resend verification email"})]}):(0,n.jsx)("div",{className:"bg-destructive/10 border border-destructive text-destructive px-4 py-3 rounded-[var(--radius-md)]",role:"alert","aria-live":"polite",children:(0,n.jsx)("p",{className:"text-sm font-medium",children:j.error.message})})),(0,n.jsxs)("div",{className:"space-y-1",children:[(0,n.jsx)("label",{htmlFor:"email",className:"block text-sm font-medium text-foreground",children:"Email address"}),(0,n.jsx)("input",{id:"email",name:"email",type:"email",ref:b,autoComplete:"email",required:!0,disabled:N,"aria-describedby":j?.error?"error-message":void 0,className:"\n            w-full px-4 py-3 \n            bg-background \n            border border-input \n            rounded-[var(--radius-md)]\n            text-foreground \n            placeholder:text-muted-foreground\n            focus:outline-none focus:ring-2 focus:ring-ring focus:border-transparent\n            disabled:opacity-50 disabled:cursor-not-allowed\n            transition-colors\n          ",placeholder:"[email protected]"})]}),(0,n.jsxs)("div",{className:"space-y-1",children:[(0,n.jsx)("label",{htmlFor:"password",className:"block text-sm font-medium text-foreground",children:"Password"}),(0,n.jsxs)("div",{className:"relative",children:[(0,n.jsx)("input",{id:"password",name:"password",type:s?"text":"password",autoComplete:"current-password",required:!0,disabled:N,className:"\n              w-full px-4 py-3 pr-12\n              bg-background \n              border border-input \n              rounded-[var(--radius-md)]\n              text-foreground \n              placeholder:text-muted-foreground\n              focus:outline-none focus:ring-2 focus:ring-ring focus:border-transparent\n              disabled:opacity-50 disabled:cursor-not-allowed\n              transition-colors\n            ",placeholder:"Enter your password"}),(0,n.jsx)("button",{type:"button",onClick:()=>o(!s),disabled:N,className:"\n              absolute right-3 top-1/2 -translate-y-1/2\n              text-muted-foreground hover:text-foreground\n              focus:outline-none focus:text-foreground\n              disabled:opacity-50\n              transition-colors\n            ","aria-label":s?"Hide password":"Show password",children:s?(0,n.jsx)(h,{className:"h-5 w-5"}):(0,n.jsx)(f,{className:"h-5 w-5"})})]}),(0,n.jsx)("div",{className:"flex items-center justify-end",children:(0,n.jsx)(a(),{href:"/forgot-password",className:"\n            text-sm text-primary hover:text-primary-hover \n            hover:underline underline-offset-4\n            focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 rounded\n            transition-colors\n          ",children:"Forgot your password?"})})]}),(0,n.jsx)("button",{type:"submit",disabled:N,className:"\n                        w-full py-3 px-4\n                        bg-primary text-primary-foreground\n                        font-medium\n                        rounded-[var(--radius-md)]\n                        hover:bg-primary-hover\n                        focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2\n                        disabled:opacity-50 disabled:cursor-not-allowed\n                        transition-colors\n                        flex items-center justify-center gap-2\n                    ",children:N?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(g,{className:"h-5 w-5"}),(0,n.jsx)("span",{children:"Signing in..."})]}):(0,n.jsx)("span",{children:"Sign in"})})]})]})}function f({className:e}){return(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:e,"aria-hidden":"true",children:[(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.036 12.322a1.012 1.012 0 010-.639C3.423 7.51 7.36 4.5 12 4.5c4.638 0 8.573 3.007 9.963 7.178.07.207.07.431 0 .639C20.577 16.49 16.64 19.5 12 19.5c-4.638 0-8.573-3.007-9.963-7.178z"}),(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 12a3 3 0 11-6 0 3 3 0 016 0z"})]})}function h({className:e}){return(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:e,"aria-hidden":"true",children:(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.98 8.223A10.477 10.477 0 001.934 12C3.226 16.338 7.244 19.5 12 19.5c.993 0 1.953-.138 2.863-.395M6.228 6.228A10.45 10.45 0 0112 4.5c4.756 0 8.773 3.162 10.065 7.498a10.523 10.523 0 01-4.293 5.774M6.228 6.228L3 3m3.228 3.228l3.65 3.65m7.894 7.894L21 21m-3.228-3.228l-3.65-3.65m0 0a3 3 0 10-4.243-4.243m4.242 4.242L9.88 9.88"})})}function g({className:e}){return(0,n.jsxs)("svg",{className:`animate-spin ${e}`,xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true",children:[(0,n.jsx)("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),(0,n.jsx)("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]})}}}]);

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.