PageSourceSearch

https://east-fork.vercel.app/_next/static/chunks/pages/account/reset/[id]/[token]-e7ea20ed6dd2196a.js

js east-fork.vercel.app collected 2026-10-03 06:50:17 UTC 2,326 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9563],{14386:function(e,s,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/account/reset/[id]/[token]",function(){return r(67210)}])},67210:function(e,s,r){"use strict";r.r(s),r.d(s,{__N_SSG:function(){return o}});var t=r(85893),n=r(89763),a=r(67294),i=r(79127),o=!0;s.default=e=>{let{data:s,params:r}=e,[o,d]=(0,a.useState)(!1),l=(0,a.useRef)(),c=(0,a.useCallback)((e,s)=>{if(e!==s)throw Error("Passwords do not match.");return fetch("/api/account/reset",{method:"POST",body:JSON.stringify({id:"gid://shopify/Customer/"+r.id,input:{resetToken:r.token,password:e}})}).then(e=>e.json()).then(e=>{if(e.error)throw Error(e.error);d(!0)})},[null==r?void 0:r.id,null==r?void 0:r.token]),{error:u,isRejected:m,isPending:h,isReloading:x,load:p}=(0,i.ns)("handleReset",c,{defer:!0});return s&&r?(0,t.jsx)(n.Z,{site:s.site,children:(0,t.jsx)("div",{className:"container",children:(0,t.jsxs)("div",{className:"my-16 md:mt-24 mb-24",children:[(0,t.jsx)("h1",{className:"md:text-5xl text-2xl font-600 mb-2 text-center",children:"Reset Your Password"}),(0,t.jsx)("form",{onSubmit:e=>{var s;e.preventDefault();let{password:r,passwordConfirm:t}=null===(s=l.current)||void 0===s?void 0:s.elements;p(r.value,t.value)},ref:l,children:(0,t.jsx)("div",{className:"w-full max-w-sm mx-auto",children:o?(0,t.jsx)("p",{className:"text-center",children:"New password saved successfully."}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"form__control",children:[(0,t.jsx)("label",{children:"New password"}),(0,t.jsx)("input",{name:"password",type:"password",autoComplete:"new-password",required:!0})]}),(0,t.jsxs)("div",{className:"form__control",children:[(0,t.jsx)("label",{children:"Password confirm"}),(0,t.jsx)("input",{name:"passwordConfirm",type:"password",autoComplete:"new-password",required:!0})]}),(0,t.jsx)("div",{className:"mt-8 text-center",children:(0,t.jsx)("button",{type:"submit",className:"btn is-primary is-inverted",children:h||x?(0,t.jsx)("span",{children:"Loading"}):(0,t.jsx)("span",{children:"Reset Password"})})})]})})}),m&&(0,t.jsx)("p",{className:"text-center mt-5 font-600",role:"status",children:u.message})]})})}):(0,t.jsx)("h1",{children:"Loading..."})}}},function(e){e.O(0,[9287,9763,2888,9774,179],function(){return e(e.s=14386)}),_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.