PageSourceSearch

https://app.alosim.com/_next/static/chunks/pages/settings/change-password-577aebbdd5a8e864.js

js alosim.com collected 2026-10-01 13:54:29 UTC 15,635 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6864],{5570:(n,t,e)=>{"use strict";e.d(t,{d:()=>o});var r=e(86739);function i(){let n=(0,r._)(["\n  line-height: 1.18;\n  color: #f03e3e;\n  font-size: 14px;\n  text-align: left;\n  padding: 2px 0 0 9px;\n  position: absolute;\n\n  @media (max-width: 420px) {\n    font-size: 9.5px;\n  }\n"]);return i=function(){return n},n}let o=e(82238).Ay.div(i())},13360:(n,t,e)=>{"use strict";e.d(t,{$F:()=>d,D0:()=>a,pd:()=>l});var r=e(86739),i=e(82238),o=e(30636);function c(){let n=(0,r._)(["\n  position: relative;\n  margin-bottom: 32px;\n"]);return c=function(){return n},n}function s(){let n=(0,r._)(["\n  margin: 0 auto 2px;\n  color: ",";\n  & input {\n    border-color: ",";\n  }\n"]);return s=function(){return n},n}function u(){let n=(0,r._)(["\n  position: absolute;\n  right: 11px;\n  top: 20px;\n  transform: translateY(-43%);\n  z-index: 100;\n"]);return u=function(){return n},n}let a=i.Ay.div(c()),l=(0,i.Ay)(o.ks)(s(),n=>n.disabled?"#d0cece":"#000000",n=>n.isNotValid?"#F03E3E":n.isSuccess?"#transparent":"#DEE2E6"),d=i.Ay.i(u())},15041:(n,t,e)=>{"use strict";e.d(t,{p:()=>o});var r=e(86739);function i(){let n=(0,r._)(["\n  padding-left: 10px;\n  padding-right: 36px;\n  width: 100%;\n  height: 42px;\n  border-radius: 10px;\n  background-color: #f1f1f2;\n  border: 1px solid transparent;\n  // Font size on inputs must be 16px or greater otherwise safari/iOS will zoom the view. AV-1403\n  font-size: 16px;\n  font-weight: 600;\n  letter-spacing: -0.3px;\n  text-overflow: ellipsis;\n  color: #000000;\n\n  &:focus {\n    outline: none;\n  }\n\n  ::placeholder,\n  ::-webkit-input-placeholder {\n    color: #a7a7a7;\n  }\n\n  &[type='text'],\n  &[type='password'] {\n    &:hover {\n      border-color: #a7a7a7;\n    }\n\n    &:focus {\n      background-color: #ffffff;\n      border-color: #009bf8;\n    }\n  }\n\n  &[type='text']:focus + a,\n  &[type='password']:focus + a {\n    border-radius: 8px;\n\n    &:hover {\n      background-color: rgba(241, 241, 242, 0.5) !important;\n    }\n  }\n"]);return i=function(){return n},n}let o=e(82238).Ay.input(i())},15344:(n,t,e)=>{"use strict";e.d(t,{y:()=>w});var r=e(86739),i=e(97135),o=e(7023),c=e(15255),s=e(82238),u=e(13360),a=e(93457),l=e(35937);function d(){let n=(0,r._)(["password_validation_requirements"]);return d=function(){return n},n}function f(){let n=(0,r._)(["enter_password_hint"]);return f=function(){return n},n}function p(){let n=(0,r._)(["\n  display: block;\n  width: 100%;\n"]);return p=function(){return n},n}function x(){let n=(0,r._)(["\n  color: #868e96;\n  font-size: 12px;\n  line-height: 15px;\n  margin-bottom: 10px;\n"]);return x=function(){return n},n}function h(){let n=(0,r._)(["\n  margin-bottom: 35px;\n"]);return h=function(){return n},n}
1function w(n){let{value:t,isNotValid:e,isRegister:r,children:s,placeholder:u,...p}=n,[x,h]=(0,o.useState)(!1),{t:w}=(0,c.B)(),y=(0,o.useCallback)(()=>{h(n=>!n)},[]);return(0,i.jsxs)(i.Fragment,{children:[r&&(0,i.jsx)(_,{children:w(d())}),(0,i.jsxs)(m,{children:[(0,i.jsx)(g,{type:x?"text":"password",isNotValid:e,isRevealed:x,placeholder:null!=u?u:w(f()),...p}),s,(0,i.jsx)(a.K_,{onClick:y,children:x?(0,i.jsx)("img",{src:l.uu,alt:"hidden"}):(0,i.jsx)("img",{src:l.SM,alt:"shown"})})]})]})}let g=(0,s.Ay)(u.pd)(p()),_=s.Ay.div(x()),m=(0,s.Ay)(a.D0)(h())},15469:(n,t,e)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/settings/change-password",function(){return e(78780)}])},30928:(n,t,e)=>{"use strict";e.d(t,{q:()=>L});var r=e(86739),i=e(97135),o=e(82238),c=e(71742),s=e(15255),u=e(27181),a=e(91012),l=e.n(a),d=e(47003),f=function(n){return n.MY_ESIMS="MY_ESIMS",n.ESIM_STORE="ESIM_STORE",n.SETTINGS="SETTINGS",n.REWARDS="REWARDS",n.LOGIN="LOGIN",n}({});(f||(f={})).fromString=function(n){return n.match(new RegExp("^(".concat(d.A.esimPlans,"|").concat(d.A.myEsims.index,")")))?"MY_ESIMS":n.match(new RegExp("^".concat(d.A.esimStore.index)))?"ESIM_STORE":n.match(new RegExp("^".concat(d.A.rewards.index)))?"REWARDS":n.match(new RegExp("^".concat(d.A.settings.index)))?"SETTINGS":n.match(new RegExp("^".concat(d.A.login)))?"LOGIN":void 0};var p=e(29119),x=e(63880),h=e.n(x),w=e(7205),g=e.n(w),_=e(6278),m=e.n(_),y=e(51131),v=e.n(y),b=e(49161),A=e.n(b),j=e(8962),S=e.n(j),E=e(84746),P=e.n(E),k=e(22063),I=e.n(k),R=e(12205),N=e.n(R);function z(){let n=(0,r._)(["my_esims"]);return z=function(){return n},n}function M(){let n=(0,r._)(["store"]);return M=function(){return n},n}function T(){let n=(0,r._)(["rewards"]);return T=function(){return n},n}function C(){let n=(0,r._)(["profile"]);return C=function(){return n},n}function D(){let n=(0,r._)(["rewards"]);return D=function(){return n},n}function O(){let n=(0,r._)(["log_in_label"]);return O=function(){return n},n}function F(){let n=(0,r._)(["\n  background-color: #ffffff;\n  bottom: -1px;\n  border-top: 1px solid #e9ecef;\n  height: 73px;\n  left: 0;\n  padding: 0 11px;\n  position: fixed;\n  width: 100%;\n  z-index: 100;\n"]);return F=function(){return n},n}function G(){let n=(0,r._)(["\n  align-items: center;\n  display: flex;\n  justify-content: space-between;\n"]);return G=function(){return n},n}function q(){let n=(0,r._)(["\n  align-items: center;\n  display: flex;\n  justify-content: space-around;\n"]);return q=function(){return n},n}function B(){let n=(0,r._)(["\n  height: 32px;\n  width: 32px;\n"]);return B=function(){return n},n}function V(){let n=(0,r._)(["\n  display: block;\n  font-family: ",";\n  font-size: 10px;\n  font-weight: 400;\n  margin-top: 0;\n"]);return V=function(){return n},n}function $(){let n=(0,r._)(["\n  outline: none;\n  border: 0;\n  background: none;\n  display: flex;\n"]);return $=function(){return n},n}function Y(){let n=(0,r._)(["\n  align-items: center;\n  background-color: #ffffff;\n  border-radius: 8px;\n  cursor: pointer;\n  display: flex;\n  flex-direction: column;\n  justify-content: center;\n  min-width: 76px;\n  padding: 5px 10px;\n  transition: all linear 0.2s;\n\n  &:hover,\n  &:focus,\n  &:active {\n    background-color: rgba(241, 241, 242, 0.5);\n  }\n\n  &.active-item {\n    background-color: #ffffff;\n  }\n"]);return Y=function(){return n},n}function W(){let n=(0,r._)(["\n  align-items: center;\n  display: flex;\n  height: 70px;\n  justify-content: center;\n  min-width: 76px;\n\n  "," {\n    color: ",";\n  }\n"]);return W=function(){return n},n}function K(){let n=(0,r._)(["\n  height: 64px;\n\n  @media (min-width: 736px) {\n    display: none;\n  }\n"]);return K=function(){return n},n}function L(){let n=(0,u.useRouter)(),{t}=(0,s.B)(),e=(0,c.d4)(p.hB),r=(0,c.d4)(p.bt),o=f.fromString(n.asPath),a=e&&r?X:H;return(0,i.jsx)(nr,{children:(0,i.jsx)(U,{children:(0,i.jsxs)(a,{children:[e&&r&&(0,i.jsx)(Z,{$active:o===f.MY_ESIMS,href:d.A.myEsims.index,icon:h(),iconActive:g(),text:t(z())}),(0,i.jsx)(Z,{$active:o===f.ESIM_STORE,href:d.A.esimStore.region,icon:m(),iconActive:v(),text:t(M())}),e&&r?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(Z,{$active:!!(null==o?void 0:o.includes(f.REWARDS)),href:d.A.rewards.index,icon:A(),iconActive:S(),text:t(T())}),(0,i.jsx)(Z,{$active:!!(null==o?void 0:o.includes(f.SETTINGS)),href:d.A.settings.index,icon:P(),iconActive:I(),text:t(C())})]}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(Z,{$active:!!(null==o?void 0:o.includes(f.REWARDS)),href:d.A.login,icon:A(),iconActive:S(),text:t(D())}),(0,i.jsx)(Z,{$active:o===f.LOGIN,href:d.A.login,icon:P(),iconActive:g(),text:t(O())})]})]})})})}function Z(n){let{$active:t,href:e,onClick:r,icon:o,iconActive:c,text:s}=n,u=(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(J,{src:t?c:o}),(0,i.jsx)(Q,{children:s})]});return(0,i.jsxs)(ne,{$active:t,onClick:r,children:[r&&(0,i.jsx)(nn,{onClick:r,children:u}),!r&&e&&(0,i.jsx)(l(),{href:e,legacyBehavior:!0,children:(0,i.jsx)(nt,{"aria-haspopup":"true",className:t?"active-item":"",children:u})})]})}
1let U=o.Ay.div(F()),X=o.Ay.div(G()),H=o.Ay.div(q()),J=o.Ay.img(B()),Q=o.Ay.span(V(),N().style.fontFamily),nn=o.Ay.button($()),nt=o.Ay.a(Y()),ne=o.Ay.div(W(),Q,n=>n.$active?"#1336c0":"#000000"),nr=o.Ay.div(K())},40490:(n,t,e)=>{"use strict";e.d(t,{pZ:()=>m});var r=e(86739),i=e(97135);e(7023);var o=e(82238);function c(){let n=(0,r._)(["\n  background-color: rgba(241, 241, 242, 0.2);\n  bottom: 63px;\n  display: flex;\n  flex-direction: column;\n  left: 0;\n  position: fixed;\n  width: 100%;\n  z-index: 10;\n\n  @media (min-width: 736px) {\n    bottom: 63px;\n  }\n\n  & > div {\n    position: unset;\n  }\n"]);return c=function(){return n},n}function s(){let n=(0,r._)(["\n  height: ",";\n"]);return s=function(){return n},n}o.Ay.div(c()),o.Ay.div(s(),n=>{let{height:t}=n;return"".concat(Math.round(t)+20,"px")});var u=e(15255),a=e(68541),l=e(47003);function d(){let n=(0,r._)(["footerCredits"]);return d=function(){return n},n}function f(){let n=(0,r._)(["personalized_advertising"]);return f=function(){return n},n}function p(){let n=(0,r._)(["privacy_policy"]);return p=function(){return n},n}function x(){let n=(0,r._)(["terms_of_service"]);return x=function(){return n},n}function h(){let n=(0,r._)(["\n  display: none;\n\n  @media (min-width: 736px) {\n    align-items: center;\n    background-color: #f8f8f8;\n    border: 1px solid #e8e8e8;\n    bottom: 0;\n    display: flex;\n    height: 40px;\n    justify-content: space-between;\n    padding: 13px 20px;\n    position: fixed;\n    width: 100%;\n    z-index: 100;\n  }\n"]);return h=function(){return n},n}function w(){let n=(0,r._)(["\n  font-size: 12px;\n  line-height: 18px;\n"]);return w=function(){return n},n}function g(){let n=(0,r._)(["\n  font-size: 12px;\n  line-height: 18px;\n"]);return g=function(){return n},n}function _(){let n=(0,r._)(["\n  color: #000000;\n  margin-left: 10px;\n  text-decoration: none;\n  cursor: pointer;\n\n  &:hover,\n  &:active,\n  &:visited {\n    color: #000000;\n    text-decoration: none;\n  }\n"]);return _=function(){return n},n}function m(){let{t:n}=(0,u.B)(),{openConsentPreferences:t,isConsentRequired:e}=(0,a.s)();return(0,i.jsxs)(y,{children:[(0,i.jsx)(v,{children:n(d())}),(0,i.jsxs)(b,{children:[e()&&(0,i.jsx)(A,{onClick:()=>t(),target:"_blank",children:n(f())}),(0,i.jsx)(A,{href:l.A.external.policy,target:"_blank",children:n(p())}),(0,i.jsx)(A,{href:l.A.external.tos,target:"_blank",children:n(x())})]})]})}let y=o.Ay.footer(h()),v=o.Ay.div(w()),b=o.Ay.div(g()),A=o.Ay.a(_())},55355:(n,t,e)=>{"use strict";e.d(t,{I:()=>r,t:()=>i});let r=(n,t)=>{let e=t&&t.find(t=>t.path===n);return e?e.msg:void 0};function i(n,t){let e,r=!0;try{t.validateSync(n,{abortEarly:!1})}catch(n){r=!1,e=n.inner.map(n=>({path:n.path,msg:n.message}))}return{isValid:r,errors:e}}},69842:(n,t,e)=>{"use strict";e.d(t,{A:()=>r});let r=/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[^a-zA-Z0-9])/},73341:(n,t,e)=>{"use strict";e.d(t,{y:()=>r.y});var r=e(15344)},78780:(n,t,e)=>{"use strict";e.r(t),e.d(t,{default:()=>X});var r=e(86739),i=e(97135),o=e(94478),c=e.n(o),s=e(15255),u=e(7023),a=e(71742),l=e(37068),d=e(82238),f=e(27181),p=e(62043),x=e(88319),h=e(2687),w=e(29119),g=e(443),_=e(99576),m=e(80808),y=e(69842),v=e(55355),b=e(5570),A=e(73341),j=e(11033),S=e(93457);function E(){let n=(0,r._)(["enter_new_password_label"]);return E=function(){return n},n}function P(){let n=(0,r._)(["confirm_new_password_label"]);return P=function(){return n},n}function k(){let n=(0,r._)(["enter_current_password_label"]);return k=function(){return n},n}function I(){let n=(0,r._)(["change_password"]);return I=function(){return n},n}function R(){let n=(0,r._)(["\n  display: block;\n  width: 100%;\n"]);return R=function(){return n},n}function N(){let n=(0,r._)(["\n  display: block;\n  margin-top: 8px;\n  width: 100%;\n"]);return N=function(){return n},n}function z(){let n=(0,r._)(["\n  display: block;\n  margin-top: 8px;\n  width: 100%;\n"]);return z=function(){return n},n}function M(){let n=(0,r._)(["\n  align-items: center;\n  display: flex;\n  flex-direction: column;\n  margin: auto;\n  margin-top: 50px;\n  max-width: 528px;\n  width: 100%;\n\n  "," {\n    width: 100%;\n  }\n"]);return M=function(){return n},n}function T(){let n=(0,r._)(["\n  margin: 18px 0;\n"]);return T=function(){return n},n}let C={newPassword:"",confirmPassword:"",currentPassword:""};function D(){let{t:n}=(0,s.B)(),t=(0,x.j)(),e=(0,f.useRouter)(),[r,o]=(0,u.useState)(void 0),c=(0,a.d4)(w.xV);(0,u.useEffect)(()=>{c===g.UJ.CHANGE_PASSWORD_SUCCESS&&e.back()},[c]),(0,u.useEffect)(()=>()=>{t((0,h.bB)({action:""}))},[]);let d=(0,u.useCallback)(n=>{let e=_.Ik({newPassword:_.Yj().required(m.Ay.t("password_validation_requirements")).min(8,m.Ay.t("password_validation_requirements")).matches(y.A,m.Ay.t("password_validation_requirements")),confirmPassword:_.Yj().required(m.Ay.t("newPasswordDoNotMatch")).oneOf([_.KR("newPassword")],m.Ay.t("newPasswordDoNotMatch")),currentPassword:_.Yj().required(m.Ay.t("confirm_password_hint"))}),{isValid:r,errors:i}=(0,v.t)(n,e);if(r){let{newPassword:e,confirmPassword:r,currentPassword:i}=n,o=new p.ChangePasswordPayload;o.setCurrentpassword(i),o.setRepeatnewpassword(r),o.setNewpassword(e),t((0,h.ec)(o))}else o(i)},[]);return(0,i.jsx)(l.l1,{onSubmit:d,initialValues:C,children:t=>{let{handleSubmit:e,handleChange:o,values:c,...s}=t;return(0,i.jsxs)(q,{onSubmit:e,children:[(0,i.jsx)(O,{"data-for":"newPassword",placeholder:n(E()),isNotValid:!!(0,v.I)("newPassword",r),...s.getFieldProps("newPassword"),children:!!(0,v.I)("newPassword",r)&&(0,i.jsx)(b.d,{children:(0,v.I)("newPassword",r)})}),(0,i.jsx)(F,{"data-for":"confirmPassword",placeholder:n(P()),isNotValid:!!(0,v.I)("confirmPassword",r),...s.getFieldProps("confirmPassword"),children:!!(0,v.I)("confirmPassword",r)&&(0,i.jsx)(b.d,{children:(0,v.I)("confirmPassword",r)})}),(0,i.jsx)(G,{"data-for":"currentPassword",placeholder:n(k()),isNotValid:!!(0,v.I)("currentPassword",r),...s.getFieldProps("currentPassword"),children:!!(0,v.I)("currentPassword",r)&&(0,i.jsx)(b.d,{children:(0,v.I)("currentPassword",r)})}),(0,i.jsx)(B,{type:"submit",disabled:!!(!c.confirmPassword||!c.currentPassword||!c.newPassword),children:n(I())})]})}})}let O=(0,d.Ay)(A.y)(R()),F=(0,d.Ay)(A.y)(N()),G=(0,d.Ay)(A.y)(z()),q=d.Ay.form(M(),S.D0),B=(0,d.Ay)(j.jn)(T());var V=e(35824),$=e(92797),Y=e(22282),W=e(56800),K=e(30928),L=e(40490);function Z(){let n=(0,r._)(["changePasswordPageTitle"]);return Z=function(){return n},n}function U(){let n=(0,r._)(["changePasswordPageTitle"]);return U=function(){return n},n}function X(){let{t:n}=(0,s.B)();return(0,W.z)()?(0,i.jsxs)($.Kf,{children:[(0,i.jsx)(c(),{children:(0,i.jsx)("title",{children:n(Z())})}),(0,i.jsx)(Y.j,{}),(0,i.jsx)(V.V,{title:n(U()),canGoBack:!0,children:(0,i.jsx)(D,{})}),(0,i.jsx)(K.q,{}),(0,i.jsx)(L.pZ,{})]}):(0,i.jsx)(i.Fragment,{})}},93457:(n,t,e)=>{"use strict";e.d(t,{D0:()=>a,K_:()=>l});var r=e(86739),i=e(82238),o=e(15041);function c(){let n=(0,r._)(["\n  position: relative;\n  margin-bottom: 25px;\n"]);return c=function(){return n},n}function s(){let n=(0,r._)(["\n  margin: 0 auto 2px;\n  background-color: ",";\n"]);return s=function(){return n},n}function u(){let n=(0,r._)(["\n  align-items: center;
1\n  cursor: pointer;\n  display: flex;\n  height: 38px;\n  justify-content: center;\n  position: absolute;\n  right: 7px;\n  transition: all linear 0.2s;\n  top: 5px;\n  width: 32px;\n  z-index: 100;\n\n  img {\n    height: 22px;\n    width: 21px;\n  }\n\n  &:hover {\n    background-color: rgba(255, 255, 255, 0.5);\n    border-radius: 8px;\n  }\n"]);return u=function(){return n},n}let a=i.Ay.div(c());(0,i.Ay)(o.p)(s(),n=>"text"===n.type?"#fffce2":"#f5f5f5");let l=i.Ay.a(u())}},n=>{n.O(0,[1012,1515,7068,7561,9576,8454,669,5252,5824,636,6593,8792],()=>n(n.s=15469)),_N_E=n.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.