PageSourceSearch

https://newbalance.pl/_next/static/chunks/pages/vouchers-532f9fff2ed2a293.js

js newbalance.pl collected 2026-10-03 21:24:04 UTC 8,544 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3443],{89729:function(e,r,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/vouchers",function(){return n(99904)}])},84584:function(e,r,n){"use strict";n.d(r,{Z:function(){return d}});var t=n(97997),i=(n(11720),n(51759)),o=n(55437),c=n(64897),u=n(4158),a=n.n(u),l=function(e){var r=e.last,n=e.item;return(0,t.BX)("li",{className:a().item,children:[n.url?(0,t.tZ)(c.Z,{href:n.url,"aria-current":r?"page":void 0,children:n.name}):n.name,r?null:(0,t.tZ)("span",{className:a().spacer,children:"/"})]})},s=n(69914),d=function(e){var r=e.items,n=e.wide,c=e.hideHomeAndCurrent,u=(0,i.Z)("common").t,d=(0,s.hp)(),v=r||d;return v?(0,t.tZ)(o.Z,{className:n?a().wide:void 0,children:(0,t.tZ)("nav",{"aria-label":"Breadcrumb",className:a().root,children:(0,t.tZ)("ol",{className:a().list,children:c?v.slice(0,-1).map((function(e,r){return(0,t.tZ)(l,{item:e,last:v.length-2===r},r)})):(0,t.BX)(t.HY,{children:[(0,t.tZ)(l,{item:{name:u("new-balance"),url:"/"}}),v.map((function(e,r){return(0,t.tZ)(l,{item:e,last:v.length-1===r},r)}))]})})})}):null}},68987:function(e,r,n){"use strict";var t=n(14924),i=n(97997),o=(n(11720),n(94184)),c=n.n(o),u=n(51759),a=n(21357),l=n(87501),s=n.n(l);r.Z=function(e){var r,n,o,l,d,v,h,m=e.prices,f=e.className,p=e.extendedInfo,Z=void 0!==p&&p,N=(0,u.Z)("common").t;if(!m)return null;var g=!(!m.basePrice||!m.sellPrice)&&m.basePrice.gross>(null===(r=m.sellPrice)||void 0===r?void 0:r.gross),P=Z?(0,i.BX)("div",{className:s().promo,children:[N("first-price"),": ",(0,i.tZ)(a.Z,{className:s().promoPriceValue,value:null===(n=m.basePrice)||void 0===n?void 0:n.gross})]}):(0,i.tZ)("del",{"data-qa-product_base_gross_price":null===(o=m.basePrice)||void 0===o?void 0:o.gross,children:(0,i.tZ)(a.Z,{value:null===(l=m.basePrice)||void 0===l?void 0:l.gross})}),y=g?P:null;return(0,i.BX)("div",{"data-qa-product_price":null===(d=m.sellPrice)||void 0===d?void 0:d.gross,"data-qa-product_in_category_price":null===(v=m.sellPrice)||void 0===v?void 0:v.gross,className:c()(s().root,(0,t.Z)({},s().withPromo,g),f),children:[(0,i.tZ)(a.Z,{value:null===(h=m.sellPrice)||void 0===h?void 0:h.gross}),y]})}},13858:function(e,r,n){"use strict";n.d(r,{Z:function(){return t.Z}});var t=n(68987)},42421:function(e,r,n){"use strict";var t=n(97997),i=(n(11720),n(79535)),o=n(55437),c=n(5925),u={container:""};r.Z=function(e){var r=e.children,n=e.withoutContainer,a=e.withoutBreadcrumbs,l=e.wideBreadcrumbs,s=e.classNames,d=(0,c.Yd)(u,s);return(0,t.BX)(t.HY,{children:[a?null:(0,t.tZ)(i.Z,{wide:l}),n?r:(0,t.tZ)(o.Z,{classNames:{container:d.container},children:r})]})}},4455:function(e,r,n){"use strict";n.d(r,{Z:function(){return t.Z}});var t=n(42421)},99904:function(e,r,n){"use strict";n.r(r),n.d(r,{__N_SSP:function(){return y},default:function(){return w}});var t=n(97997),i=n(11720),o=n(51759),c=n(25044),u=n(4455),a=n(64897),l=n(97431),s=n(13858),d=n(5329),v=n(36438),h=n.n(v),m=function(e){var r=e.voucher,n=(0,o.Z)("common").t;return(0,t.tZ)("div",{className:h().root,children:(0,t.BX)(a.Z,{href:"/vouchers/".concat(r.id),className:h().content,children:[r.picture?(0,t.tZ)("div",{className:h().picture,children:(0,d.Y)(r.picture)?(0,t.tZ)("div",{className:h().emptyImg}):(0,t.tZ)(l.Z,{src:r.picture,alt:r.name,width:500,height:500})}):null,(0,t.BX)("div",{className:h().meta,children:[(0,t.tZ)("header",{className:h().title,children:(0,t.tZ)("h3",{children:r.name})}),(0,t.tZ)(s.Z,{prices:{sellPrice:r.price,pricesPerUnit:[]},size:"small"})]}),(0,t.tZ)("div",{className:h().info,children:n(r.isVirtual?"virtual-voucher":"physical-voucher")})]})})},f=n(15199),p=n(76759),Z=function(){var e,r,n,i=(0,o.Z)("common").t,c=i("vouchers-list"),u=(0,p.MN)(p.S0.VoucherList);return(0,t.tZ)(f.Z,{title:null!==(e=null===u||void 0===u?void 0:u.title)&&void 0!==e?e:c,breadcrumbs:[{name:i("vouchers-list")}],seo:u?{noindex:null!==(r=u.noindex)&&void 0!==r?r:void 0,nofollow:null!==(n=u.nofollow)&&void 0!==n?n:void 0}:void 0})},N=n(69076),g=n.n(N),P=function(){var e=(0,o.Z)("common").t,r=(0,c.II)().data,n=(0,i.useMemo)((function(){var e;return null!==(e=null===r||void 0===r?void 0:r.vouchers)&&void 0!==e?e:[]}),[null===r||void 0===r?void 0:r.vouchers]),a=(0,i.useMemo)((function(){return n.filter((function(e){return e.isVirtual}))}),[n]),l=(0,i.useMemo)((function(){return n.filter((function(e){return!e.isVirtual}))}),[n]);return n.length?(0,t.tZ)(u.Z,{children:(0,t.BX)("div",{className:g().root,children:[(0,t.BX)("div",{className:g().groupSection,children:[(0,t.tZ)("h3",{className:g().title,children:e("virtul-vouchers-list")}),(0,t.tZ)("div",{className:g().list,children:a.map((function(e,r){return(0,t.tZ)(m,{voucher:e},r)}))})]}),(0,t.BX)("div",{className:g().groupSection,children:[(0,t.tZ)("h3",{className:g().title,children:e("physical-vouchers-list")}),(0,t.tZ)("div",{className:g().list,children:l.map((function(e,r){return(0,t.tZ)(m,{voucher:e},r)}))})]})]})}):null};P.Metadata=Z,P.pagePath="/vouchers";var y=!0,w=P},79535:function(e,r,n){"use strict";n.d(r,{Z:function(){return t.Z}});var t=n(84584)},71901:function(e,r,n){"use strict";n.d(r,{B:function(){return l}});var t=n(99534),i=n(97997),o=n(11720),c=n(69914),u=n(16195),a=n(92397),l=function(){var e=(0,u.lj)(),r=null===e||void 0===e?void 0:e.currency.symbol,n=null===e||void 0===e?void 0:e.country.locale.priceFormat.startsWith("%p");return{prefix:!n?"".concat(r," "):void 0,suffix:n?" ".concat(r):void 0,decimalSeparator:null===e||void 0===e?void 0:e.country.locale.decimalSeparator,thous
1andSeparator:null===e||void 0===e?void 0:e.country.locale.thousandSeparator,decimalScale:2,fixedDecimalScale:!0}},s=function(e){var r=e.value,n=e.withoutCurrencySign,t=(0,u.lj)(),c=(0,o.useMemo)((function(){var e,r;return Intl.NumberFormat(null===t||void 0===t||null===(e=t.language)||void 0===e?void 0:e.code,(null===t||void 0===t||null===(r=t.currency)||void 0===r?void 0:r.code)?{style:"currency",currency:t.currency.code}:{})}),[t]),a=(0,o.useMemo)((function(){return c.formatToParts(r).reduce((function(e,r){return"currency"!==r.type&&"literal"!==r.type||!n?e+r.value:e}),"")}),[r]);return(0,i.tZ)(i.HY,{children:a})};r.Z=(0,c.TM)((function(e){e.className;var r=e.value,n=e.range,c=(0,t.Z)(e,["className","value","range"]),u="type"in c?c.type:void 0,a=(0,o.useMemo)((function(){return n&&n.from&&n.to&&u&&u in n.from&&u in n.to?n.from[u]===n.to[u]?(0,i.tZ)(s,{value:n.from[u]}):(0,i.BX)(i.HY,{children:[(0,i.tZ)(s,{value:n.from[u],withoutCurrencySign:!0})," -"," ",(0,i.tZ)(s,{value:n.to[u]})]}):"number"===typeof r?(0,i.tZ)(s,{value:r}):"object"===typeof r&&u&&u in r?(0,i.tZ)(s,{value:r[u]}):null}),[r,n,u]);return void 0!==a?(0,i.tZ)(i.HY,{children:a}):null}),(function(e){var r=e.className,n=(0,t.Z)(e,["className"]);return{component:"span",wrapperClassName:r,wrapperProps:(0,a.P5)(n)}}))},21357:function(e,r,n){"use strict";n.d(r,{B:function(){return t.B},Z:function(){return t.Z}});var t=n(71901)},5329:function(e,r,n){"use strict";n.d(r,{Y:function(){return t}});var t=function(e){return e.includes("no_picture")}},25044:function(e,r,n){"use strict";n.d(r,{MT:function(){return s},II:function(){return a}});var t="\n    fragment VoucherData on Voucher {\n  id\n  name\n  price {\n    ...PriceData\n  }\n  picture\n  isVirtual\n  description\n}\n    ",i=n(79610),o=n(3471),c=n(72421),u="\n    query vouchers {\n  vouchers {\n    ...VoucherData\n  }\n}\n    ".concat(t,"\n").concat(i.kU),a=function(e,r){return(0,o.useQuery)(void 0===e?["vouchers"]:["vouchers",e],(0,c.r)(u,e),r)};a.getKey=function(e){return void 0===e?["vouchers"]:["vouchers",e]},a.fetcher=function(e,r){return(0,c.r)(u,e,r)};var l="\n    query voucher($voucherId: ID!) {\n  voucher(voucherId: $voucherId) {\n    ...VoucherData\n  }\n}\n    ".concat(t,"\n").concat(i.kU),s=function(e,r){return(0,o.useQuery)(["voucher",e],(0,c.r)(l,e),r)};s.getKey=function(e){return["voucher",e]},s.fetcher=function(e,r){return(0,c.r)(l,e,r)}},36438:function(e){e.exports={root:"x4zr15yWRP",content:"MAphn7bN6h",picture:"-mqVAuAaWv",emptyImg:"SaEI3CP2So",meta:"mWrYcv-gZ-",title:"GNw4PpCoY6",info:"RPi-TiLPTi"}},69076:function(e){e.exports={root:"x57pzkuRGo",title:"_2wS0h6AfIl",list:"Afc059QStU",groupSection:"_4gQf-QVsNc"}},4158:function(e){e.exports={root:"Ra1rCJpETr",wide:"tgdgj0ucOh",list:"_6XviIua45a",item:"azPTPOgXBL",spacer:"So-arPZct1"}},87501:function(e){e.exports={root:"gwqbbAtLsj",withPromo:"Cx6d3h0dQv",promo:"xfkiKCytJW",promoPriceValue:"KqOUPFzvhe"}}},function(e){e.O(0,[9774,2888,179],(function(){return r=89729,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.