PageSourceSearch

https://newbalance.cz/_next/static/chunks/pages/customer/change-password-a6d4f7ad1d316aaf.js

js newbalance.cz collected 2026-10-03 22:12:23 UTC 10,098 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2483],{76239:function(e,r,n){"use strict";var a,t=n(11720);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var n=arguments[r];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},i.apply(null,arguments)}r.Z=function(e){return t.createElement("svg",i({className:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"#000"},e),a||(a=t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 5l7 7-7 7"})))}},1901:function(e,r,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/customer/change-password",function(){return n(59455)}])},84584:function(e,r,n){"use strict";n.d(r,{Z:function(){return d}});var a=n(97997),t=(n(11720),n(51759)),i=n(55437),o=n(64897),l=n(4158),s=n.n(l),u=function(e){var r=e.last,n=e.item;return(0,a.BX)("li",{className:s().item,children:[n.url?(0,a.tZ)(o.Z,{href:n.url,"aria-current":r?"page":void 0,children:n.name}):n.name,r?null:(0,a.tZ)("span",{className:s().spacer,children:"/"})]})},c=n(69914),d=function(e){var r=e.items,n=e.wide,o=e.hideHomeAndCurrent,l=(0,t.Z)("common").t,d=(0,c.hp)(),p=r||d;return p?(0,a.tZ)(i.Z,{className:n?s().wide:void 0,children:(0,a.tZ)("nav",{"aria-label":"Breadcrumb",className:s().root,children:(0,a.tZ)("ol",{className:s().list,children:o?p.slice(0,-1).map((function(e,r){return(0,a.tZ)(u,{item:e,last:p.length-2===r},r)})):(0,a.BX)(a.HY,{children:[(0,a.tZ)(u,{item:{name:l("new-balance"),url:"/"}}),p.map((function(e,r){return(0,a.tZ)(u,{item:e,last:p.length-1===r},r)}))]})})})}):null}},47418:function(e,r,n){"use strict";n.d(r,{Z:function(){return I}});var a=n(14924),t=n(51351),i=n(97997),o=n(11720),l=n(94184),s=n.n(l),u=n(51759),c=n(97802),d=n(76239),p=n(16195),f=n(37517),m=n(8154),h=n(64897),Z=n(97431),v=n(10084),w=n(38348),b=n(10722),g=n(72694),N=n.n(g),y=function(e){var r=e.beforeIcon,n=e.children,t=e.href,l=e.onClick,u=(0,c.tv)(),p=(0,o.useMemo)((function(){return"string"===typeof t&&u.pathname.includes(t)}),[u.pathname,t]);return(0,i.tZ)("li",{className:s()(N().menuItem,(0,a.Z)({},N().menuItemActive,p)),"data-qa-customer_menu_item":t,children:(0,i.BX)(h.Z,{href:t,onClick:l,children:[(0,i.BX)("span",{children:[r?(0,i.tZ)(Z.Z,{src:r,layout:"fixed",width:"auto",alt:"",height:"auto",className:N().listIcon}):null,n]}),(0,i.tZ)(w.Z,{content:d.Z,className:N().menuItemArrow})]})})},I=function(e){e=null!==e?e:(0,t.Z)(new TypeError("Cannot destructure undefined"));var r,n=(0,u.Z)("common").t,a=(0,p.ON)(),l=(0,m.nW)(void 0,{enabled:a.isLoggedIn}).data,s=(0,m.k1)(void 0,{enabled:a.isLoggedIn}).data,d=(0,c.tv)(),h=(0,o.useCallback)((function(){a.actions.customerLogout(),d.push("/")}),[]),Z=(0,o.useMemo)((function(){var e;return(null!==(e=null===l||void 0===l?void 0:l.features)&&void 0!==e?e:[]).includes(f.Te.LoyaltyCard)}),[null===l||void 0===l?void 0:l.features]),w=(0,o.useMemo)((function(){var e;return(null!==(e=null===l||void 0===l?void 0:l.features)&&void 0!==e?e:[]).includes(f.Te.Rga)}),[null===l||void 0===l?void 0:l.features]),g=(0,b.mz)(w);return(0,i.BX)("div",{className:N().root,children:[(0,i.BX)("ul",{className:N().menu,children:[(0,i.tZ)("li",{className:N().welcome,"data-qa-customer_menu_welcome":!0,children:(0,i.BX)("span",{children:[n("welcome")," ",null===s||void 0===s||null===(r=s.customer)||void 0===r?void 0:r.user.firstName,"!"]})}),(0,i.tZ)(y,{href:"/customer/change-data",children:n("my-data")}),(0,i.tZ)(y,{href:"/customer/change-password",children:n("change-password")}),(0,i.tZ)(y,{href:"/customer/addresses",children:n("my-addresses")}),(0,i.tZ)(y,{href:"/customer/orders",children:n("my-orders")}),w&&g.length>0?(0,i.tZ)(y,{href:"/customer/rga-advanced",children:n((0,b.EA)(g))}):null,Z?(0,i.tZ)(y,{href:"/customer/club",children:n("spartavity")}):null,(0,i.tZ)(y,{href:"/repository",children:n("wishlist")}),(0,i.tZ)(y,{href:"/customer/reviews",children:n("reviews")}),(0,i.tZ)(y,{href:"/customer/agreements",children:n("terms-and-conditions")}),(0,i.tZ)(y,{href:"/customer/delete-account",children:n("delete-account")})]}),(0,i.tZ)("div",{className:N().actions,children:(0,i.tZ)(v.Z,{variant:"tertiary",size:"large",width:"full",onClick:h,"data-customer_log_out_button":!0,children:n("logout")})})]})}},43056:function(e,r,n){"use strict";n.d(r,{Z:function(){return y}});var a=n(14924),t=n(26042),i=n(69396),o=n(99534),l=n(10253),s=n(97997),u=n(11720),c=n(89211),d=n(5925),p=n(33144),f=n(29333),m=n.n(f),h=n(38348),Z=n(432),v=n(51759),w={withLabel:m().withLabel,passwordIcon:m().passwordIcon,passwordIconShow:m().passwordIconShow},b=function(e){var r=e.onToggle,n=e.showPassword,t=e.classNames,i=e.hasLabel,o=(0,v.Z)("common").t,l=(0,d.Yd)(w,t);return(0,s.tZ)("span",{className:(0,d.ZP)(m().toggle,(0,a.Z)({},l.withLabel,i)),onClick:r,"data-customer_show_password":!n,children:o(n?"hide":"show")})},g={input:m().input,inputIsPassword:m().inputIsPassword,inputDisabled:m().inputDisabled,inputSizeSmall:m().inputSizeSmall,inputError:m().inputError,inputSizeLarge:m().inputSizeLarge,inputVariantPrimary:m().inputVariantPrimary,inputVariantSecondary:m().inputVariantSecondary,inputVariantTertiary:m().inputVariantTertiary,floatingLabelInput:m().floatingLabelInput,root:m().root,wrapper:m().wrapper,prefix:m().prefix,inputWrapper:m().inputWrapper,label:m().label,passwordIcon:m().passwordIcon,passwordIconShow:m().passwordIconShow,withLabel:m().withLabel,errorIcon:m().errorIcon,floatingLabel:m().floatingLabel,floating:m().floating,suffix:m().suffix,info:m().info},N=(0,u.forwardRef)((function(e,r){var n=e.className,f=(e.children,e.onChange),m=e.label,v=e.prefix,w=e.suffix,N=e.id,y=e.type,I=e.error,L=e.size,_=e.variant,x=void 0===_?"primary":_,P=e.floatingLabel,S=e.placeholder,k=e.onBlur,B=e.info,C=e.autoCapitalize,X=void 0===C?"off":C,z=e.classNames,V=(e.mask,e.alwaysShowMask,(0,o.Z)(e,["className","children","onChange","label","prefix","suffix","id","type","error","size","variant","floatingLabel","placeholder","onBlur","info","autoCapitalize","classNames","mask","alwaysShowMask"])),T=(0,l.Z)((0,c.Z)(!1),2),E=T[0],O=T[1],A=(0,d.Yd)(g,z),R=I?(0,Z.i)(N,V.name):void 0,Y=(0,u.useRef)(!1),D=(0,u.useRef)(null),j=(0,u.useState)(!1),F=j[0],W=j[1],M=(0,u.useCallback)((function(e){f&&f(e.target?e.target.value:e)}),[f]),U=function(e){W(!0)},H=function(e){if(Y.current)return D.current&&D.current.focus(),void(Y.current=!1);W(!1),k&&k(e)},J=(0,u.useMemo)((function(){var e;return(0,i.Z)((0,t.Z)({className:(0,d.ZP)(A.input,(e={},(0,a.Z)(e,A.inputIsPassword,"password"===y),(0,a.Z)(e,A.inputDisabled,V.disabled),(0,a.Z)(e,A.inputSizeSmall,"small"===L),(0,a.Z)(e,A.inputError,!!I),(0,a.Z)(e,A.inputSizeLarge,"large"===L),(0,a.Z)(e,A.inputVariantPrimary,"primary"===x),(0,a.Z)(e,A.inputVariantSecondary,"secondary"===x),(0,a.Z)(e,A.inputVariantTertiary,"tertiary"===x),(0,a.Z)(e,A.floatingLabelInput,P),e)),onChange:M,onFocus:U,onBlur:H},V),{value:V.value?"".concat(V.value):"",defaultValue:V.defaultValue?"".concat(V.defaultValue):void 0})}),[M,V,L,P,I]);return"number"===y&&console.error("Consider to use NumberInput component for this type of field"),(0,s.BX)("div",{className:(0,d.ZP)(A.root,n),children:[(0,s.BX)("div",{className:A.wrapper,children:[v?(0,s.tZ)("div",{className:A.prefix,children:v}):null,(0,s.BX)("div",{className:A.inputWrapper,children:[!P&&m?(0,s.tZ)("label",{htmlFor:N,className:A.label,children:m}):null,(0,s.tZ)("input",(0,i.Z)((0,t.Z)({ref:r,autoComplete:"off",autoCorrect:"off",autoCapitalize:X,spellCheck:"false",id:N,placeholder:P?void 0:S},J),{type:E?"text":y,"aria-describedby":null!==R&&void 0!==R?R:V["aria-describedby"],"aria-invalid":I?"true":V["aria-invalid"]}
1)),"password"!==y||I?null:(0,s.tZ)(b,{onToggle:O,hasLabel:!!m,showPassword:E,classNames:A}),I?(0,s.tZ)(h.Z,{content:p.Z,className:A.errorIcon,onClick:O}):null,P&&m?(0,s.tZ)("label",{htmlFor:N,className:(0,d.ZP)(A.floatingLabel,(0,a.Z)({},A.floating,J.value||F)),children:m}):null]}),w?(0,s.tZ)("div",{className:A.suffix,children:w}):null]}),I?(0,s.tZ)(Z.Z,{error:I,id:R}):null,B?(0,s.tZ)("p",{className:A.info,children:B}):null]})}));N.displayName="TextInput";var y=N},42421:function(e,r,n){"use strict";var a=n(97997),t=(n(11720),n(79535)),i=n(55437),o=n(5925),l={container:""};r.Z=function(e){var r=e.children,n=e.withoutContainer,s=e.withoutBreadcrumbs,u=e.wideBreadcrumbs,c=e.classNames,d=(0,o.Yd)(l,c);return(0,a.BX)(a.HY,{children:[s?null:(0,a.tZ)(t.Z,{wide:u}),n?r:(0,a.tZ)(i.Z,{classNames:{container:d.container},children:r})]})}},4455:function(e,r,n){"use strict";n.d(r,{Z:function(){return a.Z}});var a=n(42421)},59455:function(e,r,n){"use strict";n.r(r),n.d(r,{__N_SSP:function(){return i}});var a=n(3723),t=n(82614),i=!0;r.default=(0,a.v)(t.Z)},4158:function(e){e.exports={root:"Ra1rCJpETr",wide:"tgdgj0ucOh",list:"_6XviIua45a",item:"azPTPOgXBL",spacer:"So-arPZct1"}},72694:function(e){e.exports={root:"o07XhPg0dK",actions:"_6nNpUC8Gy-",menu:"_5LNNI2dR3B",menuItem:"t2FSYIO3aX",menuItemActive:"l5BOaT2wr5",welcome:"Sm9JZAU0d6",menuItemArrow:"_89Vd58v607"}},1314:function(e){e.exports={root:"Mzs2rnRnad",wrapper:"_1raEyfIlrl",actions:"_0I3Ok5VDN4",content:"kxKlVs-j4y",headerText:"wrb9UyZ-Ck",backArrow:"gDDZajFD8b",header:"RFIT33kBoQ"}},71685:function(e){e.exports={error:"x6xb0bOU7P"}},29333:function(e){e.exports={root:"_208-ys1XEV",label:"WLa9Pe4id-",passwordIcon:"F9x3z8Otkp",passwordIconShow:"im8B-a1V76",input:"Exfqp-BJ2h",inputSizeSmall:"fSAQSROhpX",toggle:"GrP8cZd1h-",inputDisabled:"HwgVLBz-JT",floating:"XAhUv6aBrt",inputIsPassword:"_9ooaeRpzZn",withLabel:"Qa6brxvbXu",inputSizeLarge:"B7-HT9XvxA",inputVariantPrimary:"pKots5cSxp",floatingLabel:"YaPQRRPIST",info:"t7teorsf-d",inputError:"_7u28-4PFxp",error:"bYcu8aXVgs",errorIcon:"UdPxbcrJLv",wrapper:"_0Kel-eNhLm",inputWrapper:"n1viyYdP8X",prefix:"YJEPe-A5Pl",suffix:"k8fXLBaWev"}},58428:function(e){e.exports={root:"FHhfCbDDj1",header:"_1OzfYrhi7C",styled:"BkdtKLsYza",prose:"OomjeyZi9B","md:prose":"ka53bRpuGD",headerWrapper:"I3-mjpAmUK"}}},function(e){e.O(0,[5973,9986,9294,9774,2888,179],(function(){return r=1901,e(e.s=r);var r}));var r=e.O();_N_E=r}]);

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.