1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},r=(new e.Error).stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="a2bde27b-4854-44ad-916b-eea1ea8e9c77",e._sentryDebugIdIdentifier="sentry-dbid-a2bde27b-4854-44ad-916b-eea1ea8e9c77")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7328],{67158:function(e,r,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/auth/reset-password/[token]",function(){return s(29770)}])},29770:function(e,r,s){"use strict";s.r(r),s.d(r,{__N_SSP:function(){return g},default:function(){return y}});var n=s(85893),o=s(67294),a=s(87320),t=s(37359),d=s(94247),i=s(61439),u=s(82570),l=s(21878),c=s(13556),f=s(98029),p=s(80002),w=s(99815),b=s(11163),h=s(41664),_=s.n(h);function m(){let e=(0,b.useRouter)(),{token:r}=e.query,{register:s,handleSubmit:o,formState:{errors:h}}=(0,d.Z)(w.S4),{mutate:m,isPending:g}=(0,f.D)({mutationFn:p.c0,onSuccess:r=>{e.push("/auth/login")},onError:e=>{var r,s;v((0,u.hr)(null==e?void 0:null===(s=e.response)||void 0===s?void 0:null===(r=s.data)||void 0===r?void 0:r.errors))}}),{defaultErrors:y,setDefaultErrors:v}=(0,i.l)(w.S4.fields);return(0,n.jsx)(t.Z,{children:(0,n.jsx)("div",{className:"forgot-password",children:(0,n.jsxs)("form",{className:"forgot-password__form",onSubmit:o(e=>{if(!r){(0,l.Am)({description:"Invalid token",variant:(0,c.yv)(c.pC.ERROR)});return}m({password:e.password,token:r})}),children:[(0,n.jsx)("h3",{children:"Create password"}),(0,n.jsx)(a.Z,{label:"New Password",placeholder:"Enter new password",type:"password",id:"password",autoComplete:"new-password",register:s,errors:h,defaultErrors:y.password}),(0,n.jsx)(a.Z,{label:"Confirm New Password",placeholder:"Confirm new password",type:"password",id:"confirm_password",autoComplete:"new-password",register:s,errors:h,defaultErrors:y.confirm_password}),(0,n.jsx)("button",{className:"base-btn--primary","data-loading":g,children:"Continue"}),(0,n.jsxs)("p",{className:"auth-redirect-link",children:["Remember your password? ",(0,n.jsx)(_(),{href:"/auth/login",children:"Sign In"})]})]})})})}var g=!0;function y(){return o.useEffect(()=>{document.title="Reset Password | Bloccpay"},[]),(0,n.jsx)(m,{})}}},function(e){e.O(0,[5675,1226,1664,9306,2216,2,5260,2888,9774,179],function(){return e(e.s=67158)}),_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.