1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9461],{4101:(e,s,a)=>{"use strict";a.r(s),a.d(s,{default:()=>u});var r=a(75038),t=a(76430),n=a(36601),o=a(56771),l=a(69133),i=a(34719),d=a(49435),c=a(68835),_=a(22533),m=a(13905),g=a.n(m);let u=()=>{let[e,s]=(0,t.useState)(!1),[a,m]=(0,t.useState)(""),[u,h]=(0,t.useState)("");return(0,r.jsxs)(i.A,{title:"Forgot password",robots:"noindex",noAds:!0,children:[(0,r.jsxs)("div",{className:g().branding,children:[(0,r.jsx)(d.A,{alt:"Archidekt basic logo",src:"/images/archidekt_basic.svg",height:100}),"Archidekt password reset"]}),(0,r.jsxs)("form",{className:g().form,onSubmit:e=>(e.preventDefault(),s(!0),m(""),n.A.post("/api/rest-auth/password/reset/",{email:u}).then(e=>{e.detail?m("success"):e.email?m(e.email[0]):m("Email submit failed")}).finally(()=>s(!1))),children:[(0,r.jsx)(o.A,{header:"Please enter account email:",name:"email",placeholder:"Email",type:"email",onChange:h,focusOnMount:!0}),(0,r.jsx)(c.A,{disabled:e,type:"submit",color:"green",children:e?(0,r.jsxs)("span",{className:g().loading,children:[(0,r.jsx)(l.A,{size:"xSmall"}),"Sending password reset"]}):"Request password reset"}),"success"===a&&(0,r.jsx)(_.A,{header:"Email attempt created",content:"If an account with the supplied email exists, a password reset email has been sent.\n If you don't see it in your inbox, please check spam."}),a&&"success"!==a&&(0,r.jsx)(_.A,{color:"red",header:"Error",content:a})]})]})}},13905:e=>{e.exports={form:"forgotPassword_form__vViY6",loading:"forgotPassword_loading__GqO9W",branding:"forgotPassword_branding__bDOqQ"}},22533:(e,s,a)=>{"use strict";a.d(s,{A:()=>l});var r=a(75038);a(76430);var t=a(43746),n=a.n(t);let o={blue:n().blue,green:n().green,red:n().red,yellow:n().yellow,orange:n().orange},l=({color:e,header:s,content:a,list:t})=>{let l=e?o[e]:"";return(0,r.jsxs)("div",{className:`${n().message} ${l}`,children:[s&&(0,r.jsx)("div",{className:n().header,children:s}),a&&(0,r.jsx)("p",{className:n().content,children:a}),t&&(0,r.jsx)("ul",{children:t.map((e,s)=>(0,r.jsx)("li",{children:e},s))})]})}},30339:(e,s,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/forgot-password",function(){return a(4101)}])},43746:e=>{e.exports={message:"message_message__OOkpZ",header:"message_header__2aitY",content:"message_content__5g5XJ",red:"message_red__gfBEF",green:"message_green__tGO0d",blue:"message_blue__aA_ek",orange:"message_orange__QRQVf",yellow:"message_yellow__zwm8o"}}},e=>{e.O(0,[636,6593,8792],()=>e(e.s=30339)),_N_E=e.O()}]); 2//# sourceMappingURL=forgot-password-3de7f1caa8cfc240.js.map
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.