!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},o=(new e.Error).stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="6fa90009-5158-4017-9da0-5bccafcf4d90",e._sentryDebugIdIdentifier="sentry-dbid-6fa90009-5158-4017-9da0-5bccafcf4d90")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[330],{42876:function(e,o,l){(window.__NEXT_P=window.__NEXT_P||[]).push(["/[...slug]",function(){return l(86)}])},86:function(e,o,l){"use strict";l.r(o),l.d(o,{__N_SSP:function(){return g},default:function(){return f}});var n=l(85893),i=l(67294),d=l(99450),u=l(11163),t=l(43767),r=l(2540),a=l(45582),c=l(58682),s=l(67306),v=l(72042),p=l(72392),g=!0,f=function(e){let{mappedPage:o}=e,{useSetSeoList:l}=(0,s.Q)(),g=l(),{customer:f}=(0,r.Z)(),y=(0,u.useRouter)(),w=(0,a.Z)(),_=(0,i.useRef)(""),h=(0,i.useRef)(""),T=(0,i.useRef)(""),{useSetCurrentPageType:b}=(0,v.Z)(),m=b();if((0,i.useEffect)(()=>{var e;m(null!==(e=null==o?void 0:o.pageType)&&void 0!==e?e:"")},[null==o?void 0:o.pageType,m]),(0,i.useEffect)(()=>{(null==o?void 0:o.category)&&g(o.category.seoUrls.map(e=>(0,c.a)(e))),(null==o?void 0:o.product)&&g(o.product.seoUrls)},[null==o?void 0:o.category,null==o?void 0:o.product,g]),_.current!==(null==y?void 0:y.asPath)||(null==o?void 0:o.pageType)==="product"||(null==o?void 0:o.pageType)==="search_results"){var E,M,P,V,k;if((null==o?void 0:o.pageType)==="product"&&h.current===(null==o?void 0:null===(E=o.product)||void 0===E?void 0:E.name)||(null==o?void 0:o.pageType)==="search_results"&&T.current===y.query.search)return null;(0,t.Z)({customerId:null==f?void 0:f.id,customerType:w,slug:null==o?void 0:o.slug,pageType:null==o?void 0:o.pageType,categoryCode:(null==o?void 0:null===(P=o.category)||void 0===P?void 0:null===(M=P.customFields)||void 0===M?void 0:M.category_code)||(null==o?void 0:null===(k=o.category)||void 0===k?void 0:null===(V=k.translated.customFields)||void 0===V?void 0:V.category_code)||""}),_.current=null==y?void 0:y.asPath}!function(e){var o,l,n,i,d,u;let{product:t,category:r}=e,a=()=>{var e,o,l,n,i,d;if(window.removeEventListener("profitMetricsScriptLoaded",a),null!==t){let n=null!==(o=t.sku)&&void 0!==o?o:"",i=null!==(l=t.name)&&void 0!==l?l:"";null===(e=window.profitMetrics)||void 0===e||e.pageViewProduct("".concat(n,", ").concat(i))}else if(null!==r){let e=null!==(i=r.name)&&void 0!==i?i:"";null===(n=window.profitMetrics)||void 0===n||n.pageViewCategory(e)}else null===(d=window.profitMetrics)||void 0===d||d.pageViewGeneric()};(null===(l=window)||void 0===l?void 0:null===(o=l.profitMetrics)||void 0===o?void 0:o.pageViewProduct)&&(null===(i=window)||void 0===i?void 0:null===(n=i.profitMetrics)||void 0===n?void 0:n.pageViewCategory)&&(null===(u=window)||void 0===u?void 0:null===(d=u.profitMetrics)||void 0===d?void 0:d.pageViewGeneric)?a():window.addEventListener("profitMetricsScriptLoaded",a)}({category:null==o?void 0:o.category,product:null==o?void 0:o.product});let I=y.asPath;return d.GK({name:I,op:"page-render"},()=>(null==o?void 0:o.product)?(0,n.jsx)(p.Z,{pageType:null==o?void 0:o.pageType,category:null==o?void 0:o.category,sections:null==o?void 0:o.sections,hreflangTags:null==o?void 0:o.hreflangTags,product:null==o?void 0:o.product,productVersions:null==o?void 0:o.productVersions,head:null==o?void 0:o.head}):(0,n.jsx)(p.Z,{pageType:null==o?void 0:o.pageType,category:null==o?void 0:o.category,sections:null==o?void 0:o.sections,hreflangTags:null==o?void 0:o.hreflangTags,head:null==o?void 0:o.head}))}}},function(e){e.O(0,[216,224,146,925,786,633,392,888,774,179],function(){return e(e.s=42876)}),_N_E=e.O()}]);