1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2071,6278],{42299:function(t,n,o){(window.__NEXT_P=window.__NEXT_P||[]).push(["/product/preview/[id]",function(){return o(83089)}])},84584:function(t,n,o){"use strict";o.d(n,{Z:function(){return s}});var e=o(97997),r=(o(11720),o(51759)),i=o(55437),u=o(64897),d=o(4158),c=o.n(d),l=function(t){var n=t.last,o=t.item;return(0,e.BX)("li",{className:c().item,children:[o.url?(0,e.tZ)(u.Z,{href:o.url,"aria-current":n?"page":void 0,children:o.name}):o.name,n?null:(0,e.tZ)("span",{className:c().spacer,children:"/"})]})},a=o(69914),s=function(t){var n=t.items,o=t.wide,u=t.hideHomeAndCurrent,d=(0,r.Z)("common").t,s=(0,a.hp)(),v=n||s;return v?(0,e.tZ)(i.Z,{className:o?c().wide:void 0,children:(0,e.tZ)("nav",{"aria-label":"Breadcrumb",className:c().root,children:(0,e.tZ)("ol",{className:c().list,children:u?v.slice(0,-1).map((function(t,n){return(0,e.tZ)(l,{item:t,last:v.length-2===n},n)})):(0,e.BX)(e.HY,{children:[(0,e.tZ)(l,{item:{name:d("new-balance"),url:"/"}}),v.map((function(t,n){return(0,e.tZ)(l,{item:t,last:v.length-1===n},n)}))]})})})}):null}},83099:function(t,n,o){"use strict";o.d(n,{Z:function(){return k}});var e=o(26042),r=o(69396),i=o(10253),u=o(97997),d=o(11720),c=o(69914),l=o(97802),a=o(66984),s=o(4077),v=o(97431),p=o(39404),f=o(76759),m=o(82663),g=o(16195),h=o(15199),y=o(31323),P=o(39534),Z=o(26405),b=o(89727),w=o(10998),_=o(28145),I=o(18499),C=function(t){var n=(0,g.lj)(),o=function(){var t=(0,_.x)(),n=(0,b.A)(),o=(0,d.useMemo)((function(){if("Cart"===t)return"koszyk";if("Page"===t)return"promocja";if(!n)return null;if((0,w.KY)(n)){var o,e=null===(o=n.category.parents)||void 0===o?void 0:o.filter((function(t){return"Alias51015"!==t.name}));return 0===(null===e||void 0===e?void 0:e.length)?"glowna kategoria":"kategoria"}return(0,w.Bq)(n)?"producent":(0,w.HL)(n)?"flaga":void 0}),[n]);return(0,d.useCallback)((function(t){var n,i=t.id,u=t.name,d=t.producer,c=t.properties,l=null===d||void 0===d?void 0:d.name,a=null===(n=t.categoryPath)||void 0===n?void 0:n.filter((function(t){return"Alias51015"!==t.name})),s=null===a||void 0===a?void 0:a.reduce((function(t,n,o){var e=n.name;return o?t["item_category".concat(o+1)]=e:t.item_category=e,t}),{});return(0,r.Z)((0,e.Z)({id:i,name:u,brand:l,category:null===a||void 0===a?void 0:a.map((function(t){return t.name})).join(">")},s),{dimension14:o,variant:(0,I.b)(c)})}),[])}();(0,d.useEffect)((function(){var i,u,d,c;t&&(0,Z.lQ)({event:P.j.ProductDetails,nonInteractionHit:!0,ecomm_prodid:t.id,ecomm_pagetype:"product",ecomm_totalvalue:null===(i=t.prices)||void 0===i||null===(u=i.sellPrice)||void 0===u?void 0:u.gross,ecommerce:{currencyCode:null===n||void 0===n?void 0:n.currency.code,detail:{actionField:{list:"Product"},products:[(0,r.Z)((0,e.Z)({},o(t)),{price:null===(d=t.prices)||void 0===d||null===(c=d.sellPrice)||void 0===c?void 0:c.gross})]}}})}),[t])},S=o(18810),j=o(98541),k=function(){var t,n,o,P=(0,m.g7)(),Z=(0,c.nU)(),b=(0,l.tv)(),w=null!==(o=b.query.id)&&void 0!==o?o:null===P||void 0===P?void 0:P.objectId,_=(0,f.MN)(f.S0.Product,w),I=(0,d.useMemo)((function(){return{id:w}}),[w]),k=(0,a.FA)(I).data,N=(0,g.lj)(),A=(0,d.useMemo)((function(){if(null===k||void 0===k?void 0:k.product){var t=k.product,n=t.categoryPath,o=t.name,e=(null!==n&&void 0!==n?n:[]).filter((function(t){return t.isVisibleInMenu})).map((function(t){return{name:t.name,url:(0,s.xf)(t)}})),r=(0,i.Z)(b.asPath.split("?"),1)[0];return e.concat({name:o,url:r})}}),[null===k||void 0===k||null===(t=k.product)||void 0===t?void 0:t.name]);C(null===k||void 0===k?void 0:k.product),(0,y.Z)(P),(0,d.useEffect)((function(){(null===k||void 0===k?void 0:k.product)&&j.Z.viewItem(null===k||void 0===k?void 0:k.product)}),[null===k||void 0===k?void 0:k.product]);var M,R,T,B,D,E,L=(0,S.ji)(null===k||void 0===k?void 0:k.product),x=(0,d.useMemo)((function(){var t,n,o,e,r=[];((null===N||void 0===N?void 0:N.currency)&&r.push({property:"product:price:currency",content:N.currency.code}),null===k||void 0===k?void 0:k.product)&&(r.push({property:"product:retailer_part_no",content:k.product.id}),k.product.categoryPath&&k.product.categoryPath.length&&(r.push({property:"product:category",content:k.product.categoryPath[k.product.categoryPath.length-1].name}),r.push({property:"product:categoryPage",content:k.product.categoryPath.map((function(t){return t.name})).join(">")})),(null===(t=k.product.prices)||void 0===t||null===(n=t.sellPrice)||void 0===n?void 0:n.gross)&&r.push({property:"product:sale_price:amount",content:k.product.prices.sellPrice.gross.toString()}),(null===(o=k.product.prices)||void 0===o||null===(e=o.basePrice)||void 0===e?void 0:e.gross)&&(r.push({property:"product:price:amount",content:k.product.prices.basePrice.gross.toString()}),r.push({property:"product:original_price:amount",content:k.product.prices.basePrice.gross.toString()})));return r}),[null===k||void 0===k?void 0:k.product]);return(null===k||void 0===k?void 0:k.product)?(0,u.tZ)(h.Z,{title:null!==(M=null===_||void 0===_?void 0:_.title)&&void 0!==M?M:null===(n=k.product)||void 0===n?void 0:n.name,breadcrumbs:A,structuredData:[(0,r.Z)((0,e.Z)({},(0,p.NL)(k.product,k.product.variants,Z.href)),{review:(0,p.C2)(k.product.reviews)})],seo:{description:null!==(R=null===_||void 0===_?void 0:_.description)&&void 0!==R?R:k.product.description,keywords:null!==(T=null===_||void 0===_?void 0:_.keywords)&&void 0!==T?T:void 0,canonical:null!==(B=null===_||void 0===_?void 0:_.canonical)&&void 0!==B?B:void 0,openGraph:{type:"product",images:L[0]?[{url:(0,v._)({src:L[0],width:700,height:700})}]:void 0},additionalMetaTags:x,noindex:null!==(D=null===_||void 0===_?void 0:_.noindex)&&void 0!==D&&D,nofollow:null!==(E=null===_||void 0===_?void 0:_.nofollow)&&void 0!==E&&E}}):null}},46278:function(t,n,o){"use strict";o.r(n),o.d(n,{ProductView:function(){return b},default:function(){return w}});var e=o(97997),r=o(11720),i=o(22647),u=o(66984),d=o(4455),c=o(87947),l=o(32727),a=o(3168),s=o(83099),v=o(5152),p=o.n(v),f=o(18810),m=o(69914),g=o(74972),h=o(19649),y=p()((function(){return Promise.all([o.e(5973),o.e(5385),o.e(1132),o.e(8103),o.e(8197),o.e(3287),o.e(9294),o.e(2345),o.e(3240),o.e(6625),o.e(6348),o.e(1083),o.e(7183),o.e(5869),o.e(7597)]).then(o.bind(o,21135))}),{loadableGenerated:{webpack:function(){return[21135]}}}),P=p()((function(){return Promise.all([o.e(5973),o.e(5385),o.e(1132),o.e(8103),o.e(8197),o.e(3287),o.e(5445),o.e(9294),o.e(2345),o.e(3240),o.e(6348),o.e(1083),o.e(4789)]).then(o.bind(o,41498))}),{loadableGenerated:{webpack:function(){return[41498]}}}),Z=function(t){var n,o,d,s,v=t.product,p=(0,c.dD)(),f=(0,m.GY)(),Z=(0,g.E)({productId:v.id}).data,b=(null===Z||void 0===Z?void 0:Z.videos)?null===Z||void 0===Z?void 0:Z.videos[0]:void 0,w=(0,h.W$)({productId:v.id}).data,_=null===w||void 0===w?void 0:w.productSets,I=(0,r.useMemo)((function(){return{id:v.id,purposes:["product_colours"],limit:30}}),[v.id]),C=(0,r.useMemo)((function(){return{id:v.id,purposes:["similar_products"],limit:30}}),[v.id]),S=(0,u.RB)(I).data,j=(0,u.RB)(C).data,k=(0,r.useMemo)((function(){var t,n,o;return null!==(o=null===(n=null===S||void 0===S||null===(t=S.product)||void 0===t?void 0:t.associations[0])||void 0===n?void 0:n.products)&&void 0!==o?o:[]}),[null===S||void 0===S||null===(n=S.product)||void 0===n?void 0:n.associations]),N=(0,r.useMemo)((function(){var t,n,o;return null!==(o=null===j||void 0===j||null===(t=j.product)||void 0===t||null===(n=t.associations)||void 0===n?void 0:n[0])&&void 0!==o?o:{}}),[null===j||void 0===j||null===(o=j.product)||void 0===o?void 0:o.associations]),A=(0,i.A)();return(0,i.y)(v.id),(0,l.Z)(N),(0,a.Z)(A),(0,e.tZ)(e.HY,{children:p?(0,e.tZ)(y,{product:v,productC
1olors:k,similarProducts:N,lastViewed:A,isActiveClickAndCollect:null===f||void 0===f||null===(d=f.settings)||void 0===d?void 0:d.isActiveClickAndCollect,video:b,productSets:_}):(0,e.tZ)(P,{product:v,productColors:k,similarProducts:N,lastViewed:A,isActiveClickAndCollect:null===f||void 0===f||null===(s=f.settings)||void 0===s?void 0:s.isActiveClickAndCollect,video:b,productSets:_})})},b=function(){var t=(0,f.qK)().data;return(0,e.tZ)(d.Z,{withoutBreadcrumbs:!0,withoutContainer:!0,children:(null===t||void 0===t?void 0:t.product)?(0,e.tZ)(Z,{product:t.product}):null})};b.Metadata=s.Z;var w=b},42421:function(t,n,o){"use strict";var e=o(97997),r=(o(11720),o(79535)),i=o(55437),u=o(5925),d={container:""};n.Z=function(t){var n=t.children,o=t.withoutContainer,c=t.withoutBreadcrumbs,l=t.wideBreadcrumbs,a=t.classNames,s=(0,u.Yd)(d,a);return(0,e.BX)(e.HY,{children:[c?null:(0,e.tZ)(r.Z,{wide:l}),o?n:(0,e.tZ)(i.Z,{classNames:{container:s.container},children:n})]})}},4455:function(t,n,o){"use strict";o.d(n,{Z:function(){return e.Z}});var e=o(42421)},75498:function(t,n,o){"use strict";var e=o(18499);n.Z=function(t){return null===t||void 0===t?void 0:t.map((function(t,n){var o,r=t.id,i=t.name,u=t.prices,d=t.producer,c=t.categories,l=t.properties;return{id:r,name:i,price:null===u||void 0===u||null===(o=u.sellPrice)||void 0===o?void 0:o.gross,brand:null===d||void 0===d?void 0:d.name,position:n+1,list:"lastViewed-list",category:(0,e.n)(c),variant:(0,e.b)(l)}}))}},75148:function(t,n,o){"use strict";var e=o(18499);n.Z=function(t){var n;return null===t||void 0===t||null===(n=t.products)||void 0===n?void 0:n.map((function(t,n){var o,r=t.id,i=t.name,u=t.prices,d=t.producer,c=t.categories,l=t.properties;return{id:r,name:i,price:null===u||void 0===u||null===(o=u.sellPrice)||void 0===o?void 0:o.gross,brand:null===d||void 0===d?void 0:d.name,position:n+1,list:"associations-list",category:(0,e.n)(c),variant:(0,e.b)(l)}}))}},28145:function(t,n,o){"use strict";o.d(n,{x:function(){return d}});var e=o(11720),r=o(97802),i=o(69940),u=o(82663),d=function(){var t=(0,r.tv)(),n=(0,u.g7)();return(0,e.useMemo)((function(){return"/"===t.asPath?"Main Page":"/cart"===t.asPath?"Cart":"/checkout/shipping"===t.asPath?"Purchase":t.asPath.startsWith("/products/search")?"Search":(null===n||void 0===n?void 0:n.objectType)===i.s6.Product||t.asPath.startsWith("/product/")?"Product":(null===n||void 0===n?void 0:n.objectType)===i.s6.Category||t.asPath.startsWith("/products/from_category/")?"Category":(null===n||void 0===n?void 0:n.objectType)===i.s6.Flag||t.asPath.startsWith("/products/from_flag/")?"Flag":(null===n||void 0===n?void 0:n.objectType)===i.s6.Producer||t.asPath.startsWith("/products/from_producer/")?"Producer":(null===n||void 0===n?void 0:n.objectType)===i.s6.PageCreator||(null===n||void 0===n?void 0:n.objectType)===i.s6.Page||t.asPath.startsWith("/page/")?"Page":null}),[t.asPath])}},83089:function(t,n,o){"use strict";o.r(n),o.d(n,{__N_SSP:function(){return r}});var e=o(46278),r=!0;n.default=e.default},79535:function(t,n,o){"use strict";o.d(n,{Z:function(){return e.Z}});var e=o(84584)},89727:function(t,n,o){"use strict";o.d(n,{A:function(){return a}});var e=o(11720),r=o(97802),i=o(69940),u=o(82663),d=o(16388),c=o(66984),l=o(10998),a=function(){var t,n,o=(0,u.g7)(),a=(0,r.tv)(),s=null!==(t=a.query.objectId)&&void 0!==t?t:null===o||void 0===o?void 0:o.objectId,v=null!==(n=a.query.objectType)&&void 0!==n?n:null===o||void 0===o?void 0:o.objectType,p=(0,e.useMemo)((function(){var t,n=(0,d.Ly)(v);return[{objectType:null!==(t=null===n||void 0===n?void 0:n.listing)&&void 0!==t?t:i.IL.FromCategory,objectId:null!==s&&void 0!==s?s:""},{enabled:!!s&&!!(null===n||void 0===n?void 0:n.listing)}]}),[v,s]),f=p[0],m=p[1],g=(0,c.D7)(f,m).data;return(0,e.useMemo)((function(){return{category:(null===g||void 0===g?void 0:g.productsReference)&&(0,l.KY)(g.productsReference)?g.productsReference.category:void 0,flag:(null===g||void 0===g?void 0:g.productsReference)&&(0,l.HL)(g.productsReference)?g.productsReference.flag:void 0,producer:(null===g||void 0===g?void 0:g.productsReference)&&(0,l.Bq)(g.productsReference)?g.productsReference.producer:void 0}}),[null===g||void 0===g?void 0:g.productsReference])}},19649:function(t,n,o){"use strict";o.d(n,{W$:function(){return d}});var e=o(79610),r=o(3471),i=o(72421),u="\n query productSets($productId: ID!) {\n productSets(productId: $productId) {\n ...ProductSetsData\n }\n}\n ".concat("\n fragment ProductSetsData on ProductSet {\n id\n x\n y\n items {\n ...ProductSetsItemData\n }\n}\n ","\n").concat("\n fragment ProductSetsItemData on ProductSetsItem {\n product {\n ...ProductSetsItemProductData\n }\n productId\n coordinates {\n xLeft\n xRight\n yLeft\n yRight\n }\n pictureCategorySlug\n}\n ","\n").concat("\n fragment ProductSetsItemProductData on Product {\n id\n name\n niceUrl\n prices {\n ...PricesData\n }\n picturesCategories {\n slug\n pictures {\n filename\n }\n }\n}\n ","\n").concat(e.A9,"\n").concat(e.kU),d=function(t,n){return(0,r.useQuery)(["productSets",t],(0,i.r)(u,t),n)};d.getKey=function(t){return["productSets",t]},d.fetcher=function(t,n){return(0,i.r)(u,t,n)}},74972:function(t,n,o){"use strict";o.d(n,{E:function(){return u}});
1var e=o(3471),r=o(72421),i="\n query videos($productId: ID!) {\n videos(productId: $productId) {\n id\n name\n product_id\n type\n url\n thumbnail_url\n visibleIn\n }\n}\n ",u=function(t,n){return(0,e.useQuery)(["videos",t],(0,r.r)(i,t),n)};u.getKey=function(t){return["videos",t]},u.fetcher=function(t,n){return(0,r.r)(i,t,n)}},22647:function(t,n,o){"use strict";o.d(n,{A:function(){return v},y:function(){return s}});var e=o(10253),r=o(29815),i=o(11720),u=o(97165),d=o.n(u),c=o(66984),l=o(36015),a=d().storageNames.lastViewed,s=function(t){var n=(0,e.Z)((0,l.Z)(a,[]),2),o=n[0],u=n[1];(0,i.useEffect)((function(){if(t){var n=o?[t].concat((0,r.Z)(o.filter((function(n){return n!==t})))):[t];u(n)}}),[t])},v=function(){var t=(0,e.Z)((0,l.Z)(a,[]),1)[0],n=(0,i.useMemo)((function(){var n;return{ids:null!==(n=null===t||void 0===t?void 0:t.slice(0,15))&&void 0!==n?n:[]}}),[t]),o=(0,c.TJ)(n).data;if(null===o||void 0===o?void 0:o.productsByIds.length)return null===o||void 0===o?void 0:o.productsByIds}},3168:function(t,n,o){"use strict";var e=o(11720),r=o(39534),i=o(26405),u=o(75498);n.Z=function(t){(0,e.useEffect)((function(){void 0!==t&&(null===t||void 0===t?void 0:t.length)>0&&(0,i.lQ)(function(t){var n={currencyCode:arguments.length>1&&void 0!==arguments[1]?arguments[1]:"PLN",impressions:(0,u.Z)(t)};return{event:r.j.ProductImpression,ecommerce:n}}(t))}),[t])}},32727:function(t,n,o){"use strict";var e=o(11720),r=o(39534),i=o(26405),u=o(75148);n.Z=function(t){(0,e.useEffect)((function(){var n;(null===t||void 0===t||null===(n=t.products)||void 0===n?void 0:n.length)>0&&(0,i.lQ)(function(t){var n={currencyCode:arguments.length>1&&void 0!==arguments[1]?arguments[1]:"PLN",impressions:(0,u.Z)(t)};return{event:r.j.ProductImpression,ecommerce:n}}(t))}),[null===t||void 0===t?void 0:t.products])}},4158:function(t){t.exports={root:"Ra1rCJpETr",wide:"tgdgj0ucOh",list:"_6XviIua45a",item:"azPTPOgXBL",spacer:"So-arPZct1"}}},function(t){t.O(0,[9774,2888,179],(function(){return n=42299,t(t.s=n);var n}));var n=t.O();_N_E=n}]);
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.