PageSourceSearch

https://newbalance.cz/_next/static/chunks/5451.dd944c9ce1f88751.js

js newbalance.cz collected 2026-10-03 22:10:31 UTC 11,175 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5451],{40575:function(e,n,t){"use strict";var r=t(26042),l=t(69396),o=t(10253),i=t(97997),c=t(11720),s=t(51759),a=t(40589),u=t(94184),d=t.n(u),v=t(30361),f=t(76818),h=t(10084),m=t(77406),b=t(97431),x=t(53147),p=t(64142),Z=t.n(p),g=t(50455),N=t(80625),I=t(87947),S=function(e){return null===e||void 0===e},k=function(e){var n,t=e.item,o=e.labels,a=e.priority,u=(0,s.Z)("common").t,v=t.title,m=t.subtitle,x=t.targetUrl,p=t.targetTitle,k=t.description,X=null===o||void 0===o?void 0:o.includes("lazy"),C=(0,f.Z)(t),E=(0,N.Z)(t),D=(0,c.useMemo)((function(){return!S(v)&&!S(m)}),[v,m]),Y=(0,I.dD)(),y=(0,c.useMemo)((function(){return Y?{layout:"responsive",width:890,height:890}:{layout:"responsive",width:1920,height:874,maxWidth:1920,maxHeight:874}}),[Y]);return(0,i.BX)("div",{className:d()(Z().banner,"keen-slider__slide"),onClick:E,children:[(0,i.tZ)(g.Z,{activeAreas:t.activeAreas}),(0,i.tZ)("div",{className:D?Z().bannerImage:Z().bannerImageFullHeight,children:(0,i.tZ)(b.Z,(0,l.Z)((0,r.Z)({},y),{src:C,quality:95,alt:null!==k&&void 0!==k?k:"banner",priority:a&&!X,loading:X?"lazy":void 0,placeholder:"blur"}))}),Y?(0,i.tZ)(i.HY,{children:(null!==(n=null!==D&&void 0!==D?D:x)&&void 0!==n?n:Y)?(0,i.BX)("div",{className:Z().content,children:[v?(0,i.tZ)("h2",{children:v}):null,m?(0,i.tZ)("p",{dangerouslySetInnerHTML:{__html:m}}):null,(0,i.tZ)(h.Z,{size:"large",href:null!==x&&void 0!==x?x:void 0,children:null!==p&&void 0!==p?p:u("banners-readmore1")})]}):null}):null]})};n.Z=function(e){var n=e.banners,t=e.labels,r=(0,c.useState)(!1),l=r[0],s=r[1],u=(0,c.useMemo)((function(){return{loop:!0,slideChanged:function(e){var n=e.track.details;n&&g(n.rel)}}}),[]),d=(0,o.Z)((0,a.E)(u),2),f=d[0],h=d[1],b=(0,c.useState)(0),p=b[0],g=b[1],N=(0,c.useMemo)((function(){return n.map((function(e){return"items"in e?e.items:[e.item]})).flat()}),[n]),I=(0,c.useCallback)((function(e){var n;h&&(null===(n=h.current)||void 0===n||n.moveToIdx(e))}),[h]),S=(0,c.useCallback)((function(){h.current&&h.current.prev()}),[h]),X=(0,c.useCallback)((function(){h.current&&h.current.next()}),[h]);return(0,c.useEffect)((function(){var e;(null===(e=h.current)||void 0===e?void 0:e.container)&&(h.current.container.addEventListener("mouseover",(function(){s(!0)})),h.current.container.addEventListener("mouseout",(function(){s(!1)})))}),[f]),(0,c.useEffect)((function(){if(n.length>1){var e=setInterval((function(){!l&&h.current&&h.current.next()}),3e3);return function(){e&&clearInterval(e)}}}),[l,h,n]),(0,i.BX)("div",{className:Z().root,children:[(0,i.tZ)("div",{ref:f,className:"keen-slider",children:N.map((function(e,n){return(0,i.tZ)(k,{item:e,labels:t,priority:0===n},"".concat(e.pictureFilename,"-").concat(n))}))}),N.length>1?(0,i.tZ)("div",{className:Z().bullets,children:(0,i.tZ)(m.Z,{count:N.length,onClick:I,activeIndex:p})}):null,h&&N.length>1?(0,i.tZ)("div",{className:Z().prev,onClick:S,role:"button",tabIndex:0,"aria-label":"Previous slide",children:(0,i.tZ)(x.Z,{content:v.Z})}):null,h&&N.length>1?(0,i.tZ)("div",{className:Z().next,onClick:X,role:"button",tabIndex:0,"aria-label":"Next slide",children:(0,i.tZ)(x.Z,{content:v.Z})}):null]})}},60315:function(e,n,t){"use strict";var r=t(97997),l=t(11720),o=t(76818),i=t(97431),c=t(10084),s=t(80625),a=t(50455),u=t(98106),d=t.n(u),v=function(e){var n=e.item,t=n.title,l=n.subtitle,u=n.targetTitle,v=n.targetUrl,f=n.description,h=(0,o.Z)(n),m=(0,s.Z)(n);return(0,r.BX)("div",{className:d().bannerItem,onClick:m,children:[(0,r.tZ)(a.Z,{activeAreas:n.activeAreas}),(0,r.tZ)(i.Z,{src:h,quality:95,alt:null!==f&&void 0!==f?f:"banner",width:960,height:960,placeholder:"blur",loading:"lazy"}),(0,r.BX)("div",{className:d().content,children:[t?(0,r.tZ)("div",{className:d().title,children:t}):null,l?(0,r.tZ)("div",{className:d().subtitle,children:l}):null,u&&v?(0,r.tZ)(c.Z,{size:"large",href:v,className:d().button,children:u}):null]})]})};n.Z=function(e){var n=e.banners,t=(0,l.useMemo)((function(){return n.map((function(e){return"items"in e?e.items:[]})).flat()}),[n]);return(0,r.tZ)("div",{className:d().root,children:t.map((function(e,n){return(0,r.tZ)(v,{item:e},"".concat(e.pictureFilename,"-").concat(n))}))})}},66195:function(e,n,t){"use strict";var r=t(14924),l=t(97997),o=t(11720),i=t(30361),c=t(53147),s=t(33486),a=t.n(s),u=t(5925),d=t(94184),v=t.n(d),f={next:a().next,nextIcon:a().nextIcon,nextIconDisabled:a().disabled};n.Z=function(e){var n=e.classNames,t=e.hasNext,s=e.onClick,a=e.isDisabled,d=(0,u.Yd)(f,n),h=(0,o.useCallback)((function(e){e.preventDefault(),s&&!a&&s()}),[s]);return t||a?(0,l.tZ)("div",{className:v()(d.next,(0,r.Z)({},d.nextIconDisabled,a)),onClick:h,children:(0,l.tZ)(c.Z,{content:i.Z,className:d.nextIcon})}):null}},25225:function(e,n,t){"use strict";var r=t(14924),l=t(97997),o=t(11720),i=t(30361),c=t(53147),s=t(33486),a=t.n(s),u=t(5925),d=t(94184),v=t.n(d),f={prev:a().prev,prevIcon:a().prevIcon,prevIconDisabled:a().disabled};n.Z=function(e){var n=e.classNames,t=e.hasPrev,s=e.onClick,a=e.isDisabled,d=(0,u.Yd)(f,n),h=(0,o.useCallback)((function(e){e.preventDefault(),s&&!a&&s()}),[s]);return t||a?(0,l.tZ)("div",{className:v()(d.prev,(0,r.Z)({},d.prevIconDisabled,a)),onClick:h,children:(0,l.tZ)(c.Z,{content:i.Z,className:d.prevIcon})}):null}},51532:function(e,n,t){"use strict";t.d(n,{p:function(){return f}});var r=t(97997),l=t(11720),o=t(4370),i=t(33486),c=t.n(i),s=t(16406),a=t.n(s),u=t(5925),d=t(25225),v=t(66195),f={wrapper:c().wrapper,next:{next:c().next},nextIconDisabled:{nextIconDisabled:c().disabled},prev:{prev:c().prev},prevIconDisabled:{prevIconDisabled:c().disabled},scrollBox:{root:a().root}};n.Z=function(e){var n=e.children,t=e.classNames,i=e.snap,c=(e.isListing,e.startFromFirstPosition),s=e.showDisabledArrows,a=e.scrollbar,h=e.onScrollChange,m=(0,l.useState)(null),b=m[0],x=m[1],p=(0,u.Yd)(f,t);return(0,r.BX)("div",{className:p.wrapper,children:[(0,r.tZ)(o.Z,{snap:i,axis:"x",useSlider:x,classNames:p.scrollBox,startFromFirstPosition:c,showDisabledArrows:s,scrollbar:a,onScrollChange:h,children:n}),(null===b||void 0===b?void 0:b.hasPrev)?(0,r.tZ)(d.Z,{hasPrev:b.hasPrev,isDisabled:b.hasPrevDisabled,onClick:b.prev,classNames:p.prev}):null,(null===b||void 0===b?void 0:b.hasNext)?(0,r.tZ)(v.Z,{hasNext:b.hasNext,isDisabled:b.hasNextDisabled,onClick:b.next,classNames:p.next}):null]})}},4370:function(e,n,t){"use strict";t.d(n,{p:function(){return u}});var r=t(14924),l=t(97997),o=t(11720),i=t(13727),c=t(5925),s=t(16406),a=t.n(s),u={scrollbar:a().showScrollbar,root:a().root,x:a().x,y:a().y,snap:a().snap};n.Z=function(e){var n,t=e.axis,s=void 0===t?"x":t,a=e.classNames,d=e.snap,v=e.scrollbar,f=e.useSlider,h=e.children,m=e.startFromFirstPosition,b=e.showDisabledArrows,x=void 0!==b&&b,p=e.onScrollChange,Z=(0,o.useRef)(null),g=(0,o.useRef)(null),N=(0,o.useRef)(null),I=(0,o.useState)(0),S=I[0],k=I[1],X=(0,o.useState)({maxScrollX:0,maxScrollY:0,scrollX:0,scrollY:0}),C=X[0],E=X[1],D=(0,c.Yd)(u,a),Y=(0,o.useCallback)((function(e){var n,t,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],l=Z.current,o=e;g.current&&(null===(n=g.current)||void 0===n?void 0:n.length)<e&&(o=null===(t=g.current)||void 0===t?void 0:t.length),0>e&&(o=0),k(o),r&&d&&g.current&&g.current[o]&&(0,i.Z)(g.current[o],{inline:"start",behavior:"smooth",block:"nearest",boundary:l})}),[d]);return(0,o.useEffect)((function(){var e;f&&f({next:function(){Y(S+1)},prev:function(){Y(S-1)},hasNext:"x"===s?Math.floor(C.maxScrollX)!==Math.floor(C.scrollX):C.maxScrollY!==C.scrollY,hasPrev:"x"===s?Math.floor(C.maxScrollX)>=Math.floor(C.scrollX)&&C.scrollX>0:C.maxScrollY===C.scrollY,setPosition:Y,position:S,hasPrevDisabled:!!x&&(!(Math.floor(C.maxScrollX)>=Math.floor(C.scrollX)&&C.scrollX>0)&&Math.floor(C.maxScrollX)!==Math.floor(C.scrollX)),hasNextDisabled:!!x&&(Math.floor(C.maxScrollX)!==Math.floor(C.scrollX)&&S===(g.current&&(null===(e=g.current)||void 0===e?void 0:e.length)-4))})}),[f,C,S]),(0,o.useEffect)((function(){var e=Z.current;if(e){var n=e.querySelectorAll("img"),t=[],r=function(){t.push(!0),t.length===n.length&&e.dispatchEvent(new CustomEvent("scroll"))};
1return n.forEach((function(e){e.addEventListener("load",r)})),function(){n.forEach((function(e){e.removeEventListener("load",r)}))}}}),[h]),(0,o.useEffect)((function(){var e,n=Z.current,t=function(){if(n&&(null===N||void 0===N?void 0:N.current)){var e={maxScrollX:n.scrollWidth-n.clientWidth,maxScrollY:n.scrollHeight-n.clientHeight,scrollY:n.scrollTop,scrollX:n.scrollLeft};if(e.maxScrollX===e.scrollX&&e.maxScrollY===e.scrollY){var t=N.current.findIndex((function(e){return 1===(null===e||void 0===e?void 0:e.intersectionRatio)}));Y(t,!1)}else{var r=N.current.findIndex((function(e){return e&&(null===e||void 0===e?void 0:e.intersectionRatio)>=.5}));Y(r,!1)}E(e),null===p||void 0===p||p({scrollLeft:n.scrollLeft,scrollWidth:n.scrollWidth,clientWidth:n.clientWidth})}};setTimeout((function(){t()}),1e3);var r=function(){n&&p&&p({scrollLeft:n.scrollLeft,scrollWidth:n.scrollWidth,clientWidth:n.clientWidth}),e&&clearTimeout(e),e=setTimeout((function(){if(t(),n&&N.current){var e={maxScrollX:n.scrollWidth-n.clientWidth,maxScrollY:n.scrollHeight-n.clientHeight,scrollY:n.scrollTop,scrollX:n.scrollLeft};if(e.maxScrollX===e.scrollX&&e.maxScrollY===e.scrollY){var l=N.current.findIndex((function(e){return 1===(null===e||void 0===e?void 0:e.intersectionRatio)}));Y(l,!1)}else{var o=N.current.findIndex((function(e){return e&&(null===e||void 0===e?void 0:e.intersectionRatio)>=.5}));Y(o)}E(e)}else r(),t()}),500)};return n&&(n.addEventListener("scroll",r,{passive:!0}),t()),function(){e&&clearTimeout(e),n&&n.removeEventListener("scroll",r)}}),[Z]),(0,o.useEffect)((function(){var e,n=Z.current;n&&(g.current=Array.from(n.querySelectorAll(":scope > *")),N.current=Array(null===g||void 0===g||null===(e=g.current)||void 0===e?void 0:e.length).fill(null),null===p||void 0===p||p({scrollLeft:n.scrollLeft,scrollWidth:n.scrollWidth,clientWidth:n.clientWidth}));var t=new IntersectionObserver((function(e){e.forEach((function(e){N.current&&g.current&&(N.current[g.current.indexOf(e.target)]=e)}))}),{root:n,threshold:[0,.5,1]});return g.current&&g.current.forEach((function(e){t.observe(e)})),function(){t.disconnect()}}),[h]),(0,o.useEffect)((function(){m&&Y(0)}),[h]),(0,l.tZ)("div",{ref:Z,className:(0,c.ZP)(D.root,(n={},(0,r.Z)(n,D.snap,d),(0,r.Z)(n,D.x,"x"===s),(0,r.Z)(n,D.y,"y"===s),(0,r.Z)(n,D.scrollbar,v),n)),children:h})}},42770:function(e,n,t){"use strict";t.d(n,{Z:function(){return r.Z},p:function(){return r.p}});var r=t(4370)},67062:function(e){e.exports={link:"yrzlOTG9jo"}},64142:function(e){e.exports={root:"_-60Q0CaPCf",prev:"RVzEY0PKDD",next:"NGLu2YbLy5",banner:"jmzkfRHZmc",bannerImage:"f9WKc8gt38",bannerImageFullHeight:"oIgnPdEROo",content:"kYdcUUb6kg",bullets:"_8731kIue6B"}},98106:function(e){e.exports={root:"YBq2BdLxmH",content:"zUs-NZkE7B",title:"ESYABUhEpf",subtitle:"_5shTUWURNz",button:"GRtMpV0Xf-",bannerItem:"FXlmv-8IkC"}},33486:function(e){e.exports={prev:"phqPRthVLN",next:"Nov-KlDaNE",disabled:"UO4XqwzEvy"}},16406:function(e){e.exports={root:"zS1Gla9t-m",x:"PJdjc-NDs6",y:"zgZL7K7Khj",showScrollbar:"pWsRi-CC-9",snap:"q2KW8HXMTY"}}}]);

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.