PageSourceSearch

https://www.salvosstores.com.au/_next/static/chunks/pages/account/confirm-email-change-ea60a97b3f1f1590e310.js

js salvosstores.com.au collected 2026-10-02 06:23:44 UTC 2,546 bytes, 1 lines download raw bytes

1_N_E=(window.webpackJsonp_N_E=window.webpackJsonp_N_E||[]).push([[36],{E0rg:function(e,n,t){"use strict";t.d(n,"a",(function(){return i}));var c=t("nKUr"),a=t("TSYQ"),s=t.n(a),r=t("q1tI"),i=Object(r.memo)((function(e){return Object(c.jsx)("div",{className:s()(e.className,"text-center"),children:"Loading..."})}))},c2ZW:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/account/confirm-email-change",function(){return t("frS5")}])},frS5:function(e,n,t){"use strict";t.r(n);var c=t("nKUr"),a=t("vJKn"),s=t.n(a),r=t("rg98"),i=t("xvhg"),o=t("q1tI"),l=t("EwoX"),u=t("C2UO"),b=t("E0rg"),j=t("FGyW"),d=t("De72"),m=t("HT/S"),O=t("20a2"),f=t("X19z"),x=t("SqYe"),h=Object(o.memo)((function(){var e=Object(o.useContext)(m.a),n=Object(o.useState)(!1),t=n[0],a=n[1],h=Object(d.s)(),g=Object(i.a)(h,2),v=g[0],w=g[1].loading,p=Object(O.useRouter)().query.token,k=Object(o.useContext)(f.a),N=Object(o.useCallback)((function(){return k.setActive("signin")}),[k]);Object(o.useEffect)((function(){e.user||e.loading||t||N(),e.user&&p&&E()}),[e,p]);var E=Object(o.useCallback)(Object(r.a)(s.a.mark((function n(){var t,r,i,o;return s.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,a(!0),n.next=4,v({context:{token:e.accessToken},variables:{token:p}});case 4:if(i=n.sent,o=(null===(t=i.data)||void 0===t||null===(r=t.confirmEmailChange)||void 0===r?void 0:r.accountErrors[0])||{},w||x.a(o)){n.next=8;break}throw JSON.stringify(o);case 8:Object(j.b)(Object(c.jsx)(l.a,{message:"The email was successfully changed. Please, login with new email",variant:"success"})),e.signOut(),N(),n.next=16;break;case 13:n.prev=13,n.t0=n.catch(0),Object(j.b)(Object(c.jsx)(l.a,{message:"Unable to change email. Please check your login details and confirmation link.",variant:"danger"}));case 16:case"end":return n.stop()}}),n,null,[[0,13]])}))),[v,e,p]);return Object(c.jsx)(u.a,{children:Object(c.jsx)("div",{className:"grid pt-10 pb-10 content-center justify-center w-full",children:Object(c.jsxs)("div",{className:"col-start-2 max-w-lg",children:[w&&Object(c.jsx)(b.a,{}),!w&&Object(c.jsxs)("div",{className:"text-md text-center",children:[Object(c.jsx)("h2",{className:"text-3xl font-semibold mb-4",children:"Email Change Confirmation"}),Object(c.jsxs)("p",{children:["Please make sure you\xa0",!e.user&&Object(c.jsx)("span",{className:"underline cursor-pointer",onClick:N,children:"log in"}),e.user&&Object(c.jsx)("span",{children:"log in"}),"\xa0and the confirmation link is valid."]})]})]})})})}));n.default=h}},[["c2ZW",0,1,6,5,2,3,4,7]]]);

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.