1"use strict";(self.rspackChunkcircle=self.rspackChunkcircle||[]).push([[12785],{930767(e,t,r){var i=r(391426),s=r(553756),o=r(989862),a=r(409858),n=r(417980),l=r(231127),u=function(){var e=(0,s.h)(),t=e.signUpOptions,r=e.currentCommunityPolicies.showSignupLink,u=(0,l.T)("circle_v4_buttons_enabled");if(!r)return null;var c=(0,n.t)("authentication_app.shared_links.do_not_have_account.link");return(0,i.jsxs)(o.x,{children:[t.label," ",u?(0,i.jsx)(a.N,{variant:"custom",typography:"body-sm",color:"link",hoverColor:"link-hover",hoverDecoration:"none",href:t.url,children:c}):(0,i.jsx)("a",{href:t.url,children:c})]})};r.d(t,{Z:()=>u})},970222(e,t,r){r.r(t);var i=r(391426),s=r(927561),o=r(553756),a=r(166280),n=r(930767),l=r(455417),u=r(790604),c=r(558646),d=r(498201),m=r(618327),p=r(145878),h=r(451430),f=r(258752),_=r(417980),g=r(387099),x=r(717526),v=r(51730),j=r(818185),w=r(370250),y=function(){var e=(0,o.h)().currentCommunity,t=(0,w.C)(e).shouldShowPoweredByCircle,r=(0,x.d)().success,y=(0,j.a)(),C=(0,p.Zd)(),b=(0,c.K)({step:"forgot_password",step_number:0,total_steps:2,email_prefilled:"string"==typeof y.email&&""!==y.email}).trackStepCompleted,k={user:{email:"string"==typeof y.email?y.email:""}},P=(0,f.n_)({mutationFn:function(e){return(0,v.oK)(u.K.resetPassword(),e)},onSuccess:function(e){b(),r(e.message),e.redirect_url&&setTimeout(function(){C({to:u.K.signIn()})},1e3)},onError:h.noop}),S=P.mutateAsync,K=P.isPending;return(0,i.jsxs)(d.q,{currentCommunity:e,shouldShowPoweredByCircle:t,title:(0,_.t)("authentication_app.forgot_password.title"),children:[(0,i.jsx)(m.s,{title:(0,_.t)("authentication_app.forgot_password.page_title")}),(0,i.jsxs)(s.l,{defaultValues:k,onSubmit:function(e){S(e)},children:[(0,i.jsx)(s.l.Item,{label:(0,_.t)("authentication_app.forgot_password.form.email"),name:"user[email]",hideDescription:!0,isFirstChild:!0,hideBorder:!0,rules:{required:(0,_.t)("authentication_app.forgot_password.form.errors.email_required"),pattern:{value:l.Xw,message:(0,_.t)("authentication_app.forgot_password.form.errors.email_invalid")}},children:(0,i.jsx)(s.l.Input,{autoFocus:!0,"data-testid":"forgot_email"})}),(0,i.jsx)("div",{className:"mt-6",children:(0,i.jsx)(g.$,{type:"submit",name:"commit",variant:(0,l.Nj)(e),disabled:K,extraLarge:!0,full:!0,children:(0,_.t)("authentication_app.forgot_password.form.submit")})})]}),(0,i.jsxs)("div",{className:"mt-8 flex flex-col items-center justify-center",children:[(0,i.jsx)(n.Z,{}),(0,i.jsx)("div",{className:"mt-2",children:(0,i.jsx)(a._,{url:u.K.signIn({params:y})})})]})]})};r.d(t,{ForgotPasswordPage:()=>y},{default:y})}}]); 2//# sourceMappingURL=/packs/js/ForgotPasswordPage-9dec8ada7348d284.chunk.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.