PageSourceSearch

https://www.veepee.fr/gr/_next/static/chunks/pages/c/[seo]/[saleId…/[facet1]/[facet2]-3eb925a0bf5410b4.js

js veepee.fr collected 2026-09-24 09:29:43 UTC 12,817 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="ae0e71b3-10ee-42dd-9520-c5f5ef7a778b",e._sentryDebugIdIdentifier="sentry-dbid-ae0e71b3-10ee-42dd-9520-c5f5ef7a778b")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9754,9816],{46366:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>a.A});var a=l(71933)},47821:(e,t,l)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/c/[seo]/[saleId]/[catalogId]/[facet1]/[facet2]",function(){return l(46366)}])},49293:(e,t,l)=>{"use strict";l.d(t,{W:()=>o});var a=l(80263),n=l(70264),s=l(43087),i=l.n(s),r=l(44797),c=l(33302);let o=e=>{let{universes:t}=e;return(0,a.jsx)("ul",{className:"flex list-none overflow-x-auto whitespace-nowrap","data-testid":"universe-category-list",children:t.map(e=>{let t=!(0,c.Fc)(e.link,r.NU);return(0,a.jsx)("li",{className:"mr-xl","data-testid":"".concat(e.link.split("/").pop()),children:t?(0,a.jsx)(n.ab,{as:"a",href:e.link,label:e.label,"aria-label":e.label,variant:"brand",size:"large"}):(0,a.jsx)(i(),{href:(0,c.lN)(e.link,r.NU),children:(0,a.jsx)(n.ab,{label:e.label,"aria-label":e.label,variant:"brand",size:"large"})})},e.label)})})}},49720:(e,t,l)=>{"use strict";l.d(t,{A:()=>d});var a=l(66738),n=l(35458),s=l(53239),i=l(65614),r=l(90489),c=l(63154),o=l(27440);let d=()=>{let e=(0,r.Ay)(),{query:t,pathname:l,replace:d}=(0,n.useRouter)(),{addItemToCartConnected:u}=(0,a.useCartActions)(),f=async e=>{let{productId:t,quantity:l,cartType:a}=e;try{await u({productId:t,quantity:l},a)}catch(e){(0,c.v)(e,"Auto add to cart fetch failed")}};(0,s.useEffect)(()=>{let a=t[i.wM.PRODUCT_ID],n=t[i.wM.QUANTITY],s=t[i.wM.TYPE];e&&a&&n&&s&&(f({productId:a,quantity:Number(n),cartType:s}),d({pathname:l,query:(0,o.P3)(t,[i.wM.PRODUCT_ID,i.wM.QUANTITY,i.wM.TYPE])},void 0,{shallow:!0}))},[])}},69754:(e,t,l)=>{"use strict";l.r(t),l.d(t,{CatalogBreadcrumb:()=>j});var a=l(80263),n=l(35458),s=l(65614),i=l(87356),r=l(27922),c=l(43087),o=l.n(c),d=l(70719),u=l(73791),f=l(2450);let m=f.default.ul.withConfig({displayName:"styles__Breadcrumb",componentId:"groot__sc-fddc61ac-0"})(["display:inline-flex;align-items:center;min-height:20px;",";"],e=>{let{theme:t,isDiscovery:l}=e;return l&&(0,f.css)(["margin-top:",";"],t.space.s200)}),h=f.default.li.withConfig({displayName:"styles__Item",componentId:"groot__sc-fddc61ac-1"})(["display:inline-block;flex-shrink:0;"]),p=f.default.span.withConfig({displayName:"styles__Separator",componentId:"groot__sc-fddc61ac-2"})(["padding:0 ",";color:",";",""],e=>{let{theme:t}=e;return t.space.s050},e=>{let{theme:t}=e;return t.colors.gray.s600},e=>{let{theme:t}=e;return(0,f.css)(t.typography.body.smallText)}),g=f.default.span.withConfig({displayName:"styles__LinkContent",componentId:"groot__sc-fddc61ac-3"})(["color:",";cursor:pointer;",";:hover,:active{color:",";}"],e=>{let{theme:t}=e;return t.colors.gray.s600},e=>{let{theme:t}=e;return(0,f.css)(t.typography.body.smallText)},e=>{let{theme:t}=e;return t.colors.main.base}),v=f.default.span.withConfig({displayName:"styles__Current",componentId:"groot__sc-fddc61ac-4"})(["color:",";",""],e=>{let{theme:t}=e;return t.colors.text.title},e=>{let{theme:t}=e;return(0,f.css)(t.typography.body.boldSmallText)});function b(e){let{segments:t,onClick:l,disabled:n}=e,s=(0,i.G)(u.UV);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(m,{children:t.map((e,s)=>{let{id:i,name:r,href:c}=e,d=s+1===t.length;return(0,a.jsxs)(h,{"data-testid":i?"breadcrumb-".concat(i):void 0,children:[n||d||!c?(0,a.jsx)(v,{children:r}):(0,a.jsx)(o(),{href:c,onClick:l?()=>l(c):void 0,scroll:!1,children:(0,a.jsx)(g,{children:r})}),!d&&(0,a.jsx)(p,{children:"/"})]},null!=i?i:r)})}),s&&(0,a.jsx)(d.F,{segments:t})]})}var x=l(36e3),y=l(30845),I=l(70880),_=l(27440);let j=e=>{var t;let{catalogId:l,productName:c}=e,{query:o,pathname:d}=(0,n.useRouter)(),{isDesktop:f}=(0,r.A)(),m=(0,i.G)(u.mG),h=(0,i.G)(u.eW),p=(0,i.G)(x.NY),g=(0,i.G)(x.HW),v=String(l||o.catalogId||p),j=(0,i.G)((0,x.$e)(v)),C=(0,i.G)(x.S5),{hasHeader:w,sideNav:T}=(0,i.G)(u.$F),N=(0,i.G)(u.BR),G=(0,i.G)((0,y.DN)(o));if(!T.includes(s.f8.UNIVERSES)&&!c||!m||!o.saleId)return null;let E=null==j||null==(t=j.subCatalogs)?void 0:t.find(e=>e.id===v),k=d.match(/^\/c\/|^\/p\//g),A=(null==o?void 0:o.itemId)&&c,R=[];return h&&k&&R.push({id:h.id,name:h.name,href:"/h/".concat(h.name.toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,"")).replace(/ /g,"-")}),g&&C&&R.push({id:o.saleId,name:m,href:(0,_.IW)(o.saleId,g,d,o,N,f)}),j&&(R.push({id:j.id,name:j.name||"",href:(0,_.IW)(o.saleId,j.id,d,o,N,f)}),E&&R.push({id:E.id,name:E.name||"",href:(0,_.IW)(o.saleId,E.id,d,o,N,f)}
1)),G.forEach(e=>{e.item.label&&R.push({name:e.item.label})}),A&&R.push({name:c}),(0,a.jsx)(b,{segments:R,onClick:e=>(0,I.z)(e.includes("/catalog/")||e.includes("/c/")&&f&&w,"smooth"),disabled:!T.includes(s.f8.UNIVERSES)})}},70719:(e,t,l)=>{"use strict";l.d(t,{F:()=>r});var a=l(80263),n=l(35458),s=l(62503),i=l(73545);let r=e=>{let{segments:t}=e,{defaultDomain:l}=(0,i.s9)(),{basePath:r}=(0,n.useRouter)(),c="https://".concat(l).concat(r);return(0,a.jsx)(s.gk,{scriptId:"breadcrumb-ld",itemListElements:t.filter(e=>e.href).map((e,t)=>({position:t+1,name:e.name,item:"".concat(c).concat(e.href)}))})}},71933:(e,t,l)=>{"use strict";l.d(t,{A:()=>es});var a=l(80263),n=l(36037),s=l(45129),i=l.n(s),r=l(35458),c=l(53239),o=l(55752),d=l(89608),u=l(44797),f=l(42174),m=l(65614),h=l(4461),p=l(45191),g=l(90489),v=l(16536),b=l(73545),x=l(87356),y=l(27922),I=l(48917),_=l(18369),j=l(33302),C=l(41777),w=l(75959),T=l(98121),N=l(62503);let G=e=>{let{name:t,itemListElement:l,url:n}=e;return(0,a.jsx)(N.AN,{scriptId:"items-collection-ld",name:t,hasPart:[],mainEntity:{"@type":"ItemList",itemListElement:l},url:n})};var E=l(69754),k=l(69e3),A=l(8071),R=l(43165),O=l(31628),L=l(9735),S=l(3917),D=l(1306),P=l(86028),U=l(36e3),V=l(3068),B=l(50519),F=l(73791),M=l(3085),W=l(80355),$=l(43087),q=l.n($),Y=l(69195),z=l(54607);let H=e=>{let{pathname:t,query:l,currentCatalogName:n,seoFacets:s,selectedSeoFacets:i,filters:r}=e,{seo:c,saleId:o,catalogId:d}=l;if(i.length>=Y.Rv.length)return null;let u=(0,z.S1)(s,i,r),f="".concat(t).concat(Y.Rv[i.length].value);return(0,a.jsx)(a.Fragment,{children:u.map(e=>{var t,l,r,u;return(0,a.jsx)("nav",{id:"discovery-".concat(null==(t=e.facetCode)?void 0:t.toLowerCase(),"-links"),"data-testid":"discovery-".concat(null==(l=e.facetCode)?void 0:l.toLowerCase(),"-links"),children:null==(r=e.items)?void 0:r.map((t,l)=>{let r={seo:c,saleId:o,catalogId:d},u=(0,z.f8)(e,t,i,s),m=(0,z.TK)(u,n,r);return(0,a.jsx)(q(),{href:{pathname:f,query:r},children:m},"nav-link-".concat(t.slug,"-").concat(l))})},"discovery-".concat(null==(u=e.facetCode)?void 0:u.toLowerCase(),"-links"))})})};var J=l(30845);let K=()=>{let{pathname:e,query:t}=(0,r.useRouter)(),l=(0,x.G)(F.UV),n=(0,x.G)((0,U.kG)(String(t.catalogId))),s=n&&"subCatalogs"in n&&n.subCatalogs&&n.subCatalogs.length>0,i=(0,x.G)(J.rR),c=(0,x.G)((0,J.DN)(t)),o=(0,x.G)(A.gA);if(!l||s||!e.includes(m.f1)||!o)return null;let d=n&&"name"in n&&n.name?n.name:"";return(0,a.jsx)(W.c,{$hideOnDesktop:!0,$hideOnMobile:!0,$hideOnTablet:!0,children:(0,a.jsx)(H,{pathname:e,query:t,currentCatalogName:d,seoFacets:i,selectedSeoFacets:c,filters:o})})};var Q=l(90417),X=l(77671),Z=l(49720),ee=l(13608),et=l(69499);let el=(e,t)=>
1{let l=e;return Object.entries(t).forEach(e=>{let[t,a]=e;l=l.replaceAll("$".concat(t),a)}),l.replace(/\s+/g," ")};var ea=l(27440);let en=e=>{var t,l,n,s,u,h,p;let{catalogId:j}=e,N=(0,g.Ay)(),B=(0,x.G)(F.mG),W=(0,x.G)(F.BR),$=(0,x.G)(et.FG),q=(0,x.G)(et.BB),H=(0,x.G)(O.JS),Q=(0,x.G)(D.Pt),ee=(0,x.G)(U.NY),en=(0,x.G)((0,U.$e)((null==j?void 0:j.length)?j:ee)),es=(0,x.G)(F.el),{variant:ei}=(0,x.G)(A.R_),er=(0,x.G)(D.fH),{query:ec,replace:eo,basePath:ed,pathname:eu}=(0,r.useRouter)(),{isDesktop:ef}=(0,y.A)(),{track:em}=(0,X.V)(),{t:eh,defaultDomain:ep}=(0,b.s9)(),{device:eg}=(0,v.O6)(),ev=(0,x.G)((0,J.DN)(ec));(0,Z.A)();let eb=ec.saleId,ex=(0,c.useRef)(null),ey=(0,c.useRef)(null),eI=String(j||ee),e_=null!=(p=null!=(h=null!=(u=null==en||null==(l=en.subCatalogs)||null==(t=l.find(e=>{let{id:t}=e;return t===eI}))?void 0:t.name)?u:null==en?void 0:en.name)?h:B)?p:"",ej={ngp:e_,brand:(null==(n=ev.find(e=>e.facet.facetCode===Y.ML.BRAND))?void 0:n.item.label)||"",colour:(null==(s=ev.find(e=>e.facet.facetCode===Y.ML.COLOR))?void 0:s.item.label)||""};(0,c.useEffect)(()=>{var e,t;em("View ".concat($["Page Name"]),Object.assign([],$,q,{"Interaction Type":"Page View",Display:ei===T.K.TWO_COL?"Large thumbnail":"Medium thumbnail","Out of Stock products":(null!=Q?Q:0)>0,Universe:null==en?void 0:en.name,"Under Universe":null==en||null==(t=en.subCatalogs)||null==(e=t.find(e=>{let{id:t}=e;return t===j}))?void 0:e.name})),(0,_.N)("page_render",I.vj.INCREMENT,1,{pageName:"catalog"})},[]),(0,c.useEffect)(()=>{if(eb===j&&!(0,z.gf)(ec)){let e={...ec};delete e.catalogId,Y.Rv.forEach(t=>{delete e[t.key]}),eo({pathname:"/c/[seo]/[saleId]",query:{...e}},void 0,{scroll:!1,shallow:!0})}},[eb,j]),(0,c.useEffect)(()=>{ec.seo!==W&&eo({query:{...ec,seo:W}},void 0,{shallow:!0})},[ec.seo]);let eC=(null==er?void 0:er.h1Title)||el(eh("seo.meta.h1.discounted_prices"),ej),ew=(null==er?void 0:er.metaDescription)||el(eh("seo.meta.description.catalog"),ej).replace(/\s+(\.)/g,"$1"),eT=(null==er?void 0:er.titleTag)||"".concat(eC," ").concat(eh("seo.meta.title.on_veepee")),eN=(0,ea.K4)("https://".concat(ep).concat(ed).concat(eu),{seo:W,saleId:ec.saleId,catalogId:ec.catalogId,facet1:ec.facet1,facet2:ec.facet2,facet3:ec.facet3,page:ec.page}),eG=(null==eg?void 0:eg.isWebview)&&es===M.B.RECYCLE,eE=H?H.map((e,t)=>{let l="https://".concat(ep).concat(ed).concat((0,ea.jX)(e.saleId,e.id,eu,ec,e.saleSlug,e.slug,!!(null==N?void 0:N.memberId),e.isLocked));return{"@type":"ListItem",position:t+1,name:e.name,url:l}}):[];return(0,a.jsxs)(C.rZ,{children:[(0,a.jsx)(i(),{children:(0,a.jsx)("link",{rel:"canonical",href:eN})}),(0,a.jsx)(d.A,{pageName:eT,description:ew,withSiteNameInTitle:!1,reversed:!0}),(0,a.jsx)(K,{}),(0,a.jsx)(o.A,{offset:m.ih,onClick:()=>em("Click",{...$,"Click Name":"Back To Top","Interaction Type":"Click"})}),(0,a.jsx)("main",{children:(0,a.jsxs)(S.x,{"data-facil-iti":f.I.CATALOG_CONTAINER,tag:"section",noPaddingTop:eG,children:[(0,a.jsx)(S.V,{"data-facil-iti":f.I.CATALOG_TOP_PICTURE,xs:12,ref:ey,children:(0,a.jsx)(k.T,{})}),(0,a.jsx)(S.V,{"data-facil-iti":f.I.CATALOG_TITLE,xs:12,children:(0,a.jsxs)(L.vj,{children:[ef&&(0,a.jsx)(E.CatalogBreadcrumb,{}),(0,a.jsx)(R.OJ,{title:eC})]})}),(0,a.jsx)(S.V,{xs:12,lg:3,"data-facil-iti":f.I.CATALOG_TREE,children:(0,a.jsx)(P.a,{gridRef:ex,headerRef:ey})}),(0,a.jsxs)(S.V,{xs:12,lg:9,style:{padding:0},ref:ex,"data-facil-iti":f.I.CATALOG_CONTENT,children:[(0,a.jsx)(R.qE,{}),(0,a.jsx)(G,{name:"".concat(e_," ").concat(eh("seo.meta.itemscollectionld.name")),itemListElement:eE,url:eN})]}),(0,a.jsx)(S.V,{xs:12,children:(0,a.jsx)(V._,{})}),(0,a.jsxs)(S.V,{"data-facil-iti":f.I.CATALOG_DESCRIPTION,xs:12,children:[(0,a.jsx)(L.xe,{children:(0,a.jsx)(R.a5,{})}),(0,a.jsx)(L.HW,{children:(0,a.jsx)(w.w,{links:null==er?void 0:er.links})})]})]})})]})};en.getInitialProps=async e=>{let{query:t,store:l}=e,a=(0,j.qn)(t,"saleId");if(await (0,ee.AV)(e),l.dispatch((0,Q.J$)()),(0,F.el)(l.getState())!==M.B.SEO)return(0,j.Rk)(u.EJ,null==e?void 0:e.res,u.yW.FOUND),{};await (0,ee.wR)(e);let n=(0,ee.sh)(e),{selectedFilters:s,hasOtherSeoFacets:i}=await (0,ee.A_)(e,n);await (0,ee.cm)(e,s,i,n),(0,ee.ev)(e,s,n);try{await (0,ee.b9)(e,i,n)}catch(l){if(l instanceof h.lR)throw l;if(l instanceof h.Ur&&(null==l?void 0:l.status)===404){let l=t.seo;return l&&a?(0,j.V2)("/gr/c/".concat(l,"/").concat(a),void 0,e.res):(0,j.V2)(u.Q_,void 0,e.res),{}}}return{catalogId:n}};let es=(0,n.Zz)((0,p.r)({isPublic:!0}),(0,B.d)())(en)},75959:(e,t,l)=>{"use strict";l.d(t,{w:()=>i});var a=l(80263),n=l(70264),s=l(49293);let i=e=>{let{links:t}=e;if(!t||0===t.length)return null;let l=t.map(e=>({label:e.label,link:e.url}));return(0,a.jsx)(n.az,{marginTop:"xl",children:(0,a.jsx)(s.W,{universes:l})})}},80355:(e,t,l)=>{"use strict";l.d(t,{c:()=>s});var a=l(2450),n=l(46648);let s=a.default.div.withConfig({displayName:"hideOn__HideOn",componentId:"groot__sc-71563d78-0"})(["",""],e=>{let{$hideOnMobile:t,$hideOnTablet:l,$hideOnDesktop:s}=e;return(0,a.css)([""," "," ",""],t&&n.B.mobile(()=>(0,a.css)(["display:none;"])),l&&n.B.tablet(()=>(0,a.css)(["display:none;"])),s&&n.B.desktop(()=>(0,a.css)(["display:none;"])))})}},e=>{e.O(0,[2707,3885,3087,7900,9631,4706,2259,1631,9525,9028,1375,2503,8778,4448,5496,2276,1283,2971,445,6369,1077,3227,6986,5632,7334,6799,1304,795,511,3579,190,7936,6959,9702,7160,636,6593,8792],()=>e(e.s=47821)),_N_E=e.O()}]);

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.