PageSourceSearch

https://www.pantene.pl/_next/static/chunks/0ulhpahdcud5x.js

js pantene.pl collected 2026-10-06 19:48:17 UTC 16,198 bytes, 134 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,19148,e=>{e.v(t=>Promise.all(["static/chunks/3rn9j_pnhw1xw.js","static/chunks/2nnqzfpmo8-4k.js","static/chunks/2nzj05w3tp5_g.js"].map(t=>e.l(t))).then(()=>t(36777)))},48009,e=>{e.v(t=>Promise.all(["static/chunks/25qbv52vb312m.js"].map(t=>e.l(t))).then(()=>t(95125)))},23718,e=>{e.v(t=>Promise.all(["static/chunks/0k2vv7kcz-xp5.js","static/chunks/2nnqzfpmo8-4k.js"].map(t=>e.l(t))).then(()=>t(29954)))},28805,e=>{e.v(t=>Promise.all(["static/chunks/0h0r_q6xa9qr_.js"].map(t=>e.l(t))).then(()=>t(79466)))},48761,e=>{e.v(t=>Promise.all(["static/chunks/1ae-9ft5cgojf.js"].map(t=>e.l(t))).then(()=>t(93594)))},11418,e=>{e.v(t=>Promise.all(["static/chunks/1e9yxpwl-ofhi.js"].map(t=>e.l(t))).then(()=>t(76718)))},20995,e=>{e.v(t=>Promise.all(["static/chunks/1x1u870fuy4jh.js"].map(t=>e.l(t))).then(()=>t(19333)))},3525,e=>{e.v(t=>Promise.all(["static/chunks/2q6rmy0momj_g.js"].map(t=>e.l(t))).then(()=>t(65783)))},88569,e=>{e.v(t=>Promise.all(["static/chunks/19sldlvhb_l_h.js"].map(t=>e.l(t))).then(()=>t(74662)))},60138,e=>{e.v(t=>Promise.all(["static/chunks/2bjk8totg6qi7.js","static/chunks/3jtmwd212bnzy.js"].map(t=>e.l(t))).then(()=>t(40637)))},90402,e=>{e.v(t=>Promise.all(["static/chunks/3kx_1m93cs4nk.js"].map(t=>e.l(t))).then(()=>t(91486)))},73513,e=>{e.v(t=>Promise.all(["static/chunks/1cbecmnh10jbq.js"].map(t=>e.l(t))).then(()=>t(65785)))},65689,e=>{"use strict";var t=e.i(91398);e.i(84933);var i=e.i(40152);e.i(35123);var s=e.i(81785);e.i(86208);var a=e.i(90833);e.i(97229);var n=e.i(18200);e.i(20308);var l=e.i(83187);e.i(21683);var r=e.i(95359);e.i(64146);var o=e.i(53923);e.i(4818);var c=e.i(10695);e.i(44370);var d=e.i(95488);e.i(64159);var u=e.i(20898),p=e.i(5506);e.i(7846);var h=e.i(6904),m=e.i(75681),f=e.i(90109);e.i(46996);var g=e.i(75597);e.i(45309);var x=e.i(73068);e.i(47051);var v=e.i(79495),w=e.i(58678),j=e.i(3828),P=e.i(39991),T=e.i(91788),k=e.i(5464),b=e.i(88927),E=e.i(3272);e.i(17526);var _=e.i(58751),y=e.i(60814);let C=(0,y.default)(_.default).withConfig({componentId:"sc-12f27585-0"})`
2  align-items: flex-start;
3  justify-content: space-between;
4
5  @media ${({theme:e})=>e.media.desktop} {
6    justify-content: unset;
7  }
8
9  li {
10    display: flex;
11    flex-direction: column;
12    justify-content: center;
13    align-items: center;
14    width: calc(45% - 30px);
15    margin: 5px 15px 30px;
16
17    .ps-widget {
18      display: inline-block !important;
19    }
20
21    img {
22      max-height: 160px;
23      width: auto;
24    }
25  }
26`,{translations:{filters:{allProducts:N,numberOfProducts:I}}}=m.default,O=({products:e,heroSection:i,filters:s,name:m,listingCategory:_})=>{let{isFiltersOpen:y,setIsFiltersOpen:O,changeFilters:R,activeFilters:A,filteredProducts:L,removeFilter:$,changeSorting:F,activeSorting:V,currentPage:G,changePage:S,canonicalLink:z,elemsListRef:D}=(e=>{let[t,i]=(0,T.useState)(e),[s,a]=(0,T.useState)(!1),[n,l]=(0,T.useState)(t),{activeFilters:r,changeFilters:o,activeSorting:c,changeSorting:d,currentPage:u,changePage:p,openFiltersButton:h,canonicalLink:m,elemsListRef:f}=(0,E.useListing)(),{setContentType:g,setEvent:x}=(0,b.useGoogleAnalytics)(),v=(e,t)=>{switch(c){case 1:return e.name.localeCompare(t.name);case 2:return t.name.localeCompare(e.name);default:return 0}},w=e=>0===r.length||[...e.type?e.type.map(({id:e})=>e):[],...e.hairTypes?e.hairTypes.map(({id:e})=>e):[],...e.hairCares?e.hairCares.map(({id:e})=>e):[],e.collection.id||[]].some(e=>r.includes(e));return(0,T.useEffect)(()=>{g(b.GA_CONTENT_TYPE.PRODUCT_LISTING),x({category:b.EVENT_CATEGORY.EVENT_INFORMATIONAL_ACTION,action:b.EVENT_ACTION.EVENT_VIEW_PRODUCT_LISTING_PAGE});let t=(e,t)=>(e[t.productId]={rating:t.rating,totalReviews:t.totalReviews},e);(async()=>{if(!e.length)return;let s=(await (0,k.getProductsRatings)(e.map(e=>e.bvId))).reduce(t,{});i(e.map(e=>({...e,...s[e.bvId]||{}})))})()},[]),(0,T.useEffect)(()=>{let e=e=>{"Escape"===e.key&&s&&a(!1)};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[s]),(0,T.useEffect)(()=>
26{l(e)},[e]),(0,T.useEffect)(()=>{window?.PriceSpider?.rebind?.()},[n,u]),(0,T.useEffect)(()=>{l(t.filter(w).sort(v))},[c,r,t]),{canonicalLink:m,isFiltersOpen:s,setIsFiltersOpen:a,activeFilters:r,changeFilters:o,changeSorting:d,currentPage:u,filteredProducts:n,removeFilter:e=>{let t=r.indexOf(e);if(t>-1){let e=[...r];e.splice(t,1),o(e)}},activeSorting:c,changePage:p,openFiltersButton:h,elemsListRef:f}})(e),{asPath:q}=(0,j.useRouter)(),M=s.flatMap(({filters:e})=>e),B=(0,P.generateSchema)("CollectionPage",{url:q,name:m,items:L.map(e=>({name:e.name,url:`https://www.pantene.pl${e.url}`}))});return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(w.default,{children:[(0,t.jsx)("link",{rel:"canonical",href:z},"canonical"),(0,t.jsx)("script",{type:"application/ld+json",id:"produktListingSchema",children:B})]}),(0,t.jsx)(a.default,{isOpen:y,onClick:()=>O(!1)}),(0,t.jsxs)(l.default,{children:[i?(0,t.jsx)(x.default,{...i}):(0,t.jsx)(n.default,{children:N}),(0,t.jsxs)(c.default,{ref:D,children:[(0,t.jsx)(d.default,{isOpen:y,id:"filtersWrapper",children:(0,t.jsx)(v.default,{isOpen:y,onChange:R,filters:s,currentFilters:A,setIsOpen:O})}),(0,t.jsxs)(h.default,{children:[(0,t.jsx)(u.default,{listingCategory:_,name:m,setIsFiltersOpen:O,isFiltersOpen:y}),(0,t.jsxs)(o.default,{children:[(0,t.jsx)(r.default,{filtersNamesList:M,activeFilters:A,removeFilter:$,onChangeSorting:F,currentSelection:V,numberOfItemTranslation:I(L.length)}),(0,t.jsx)(C,{children:[...L].splice(12*G,12).map(e=>{let i;return(0,t.jsx)("li",{children:(0,t.jsx)(f.CarouselProductCard,{image:e.image,title:e.name,productType:(i=e.type,i?.map(({name:e})=>e).join(" / ")),productUrl:e.url,showRatingAvg:!0,rating:e?.rating??0,gtin:e.gtin,descriptionPosition:p.RatingDescriptionPosition.RIGHT,reviewsCount:e?.totalReviews})},e.id)})}),L.length/12>1&&(0,t.jsx)(g.default,{currentPage:G,cardsPerPage:12,onPageChange:S,filteredCards:L.length})]})]})]})]})]})};e.i(17092);var R=e.i(47956);let A=({seoHeadProps:e,breadcrumbs:a,productListingProps:n,navigation:l,footer:r})=>(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(s.default,{...e}),(0,t.jsxs)(R.default,{navigationProps:l,footerProps:r,children:[(0,t.jsx)(i.default,{pages:a}),(0,t.jsx)(O,{...n})]})]});A.getInitialProps=async({query:t})=>{let{mapSeoHead:i,mapBreadcrumbs:s,mapProductListing:a}=await e.A(67196),{getBasicComponents:n}=await e.A(98583),{getAllProducts:l,getAllProductsListings:r}=await e.A(77834),o=await n(),{entryId:c}=t,d=await l(),u=await r(),p=u.items.find(({sys:e})=>e.id===c);return{productListingProps:a(p,u,d),...o,seoHeadProps:i(p?.fields.seoHead?.fields),breadcrumbs:s(p)}},e.s(["default",0,A],65689)},36411,(e,t,i)=>{let s="/ProductListingPage";(window.__NEXT_P=window.__NEXT_P||[]).push([s,()=>e.r(65689)]),t.hot&&t.hot.dispose(function(){window.__NEXT_P.push([s])})},5464,44543,e=>{"use strict";e.i(88927);var t,i=((t={}).NEGATIVE="Negative",t.POSITIVE="Positive",t);e.s(["VOTE",()=>i],44543);let s=async(e,t,i)=>(console.info("This feature is only available for the Turkish locale."),null),a=async(e,t,i,s)=>[],n=async(e,t)=>!1,l=async e=>[],r=async e=>" ";e.s(["authenticateUser",0,r,"getProductsRatings",0,l,"getReviews",0,s,"submitFeedback",0,n,"submitReview",0,a],5464)},77834,e=>{e.v(t=>Promise.all(["static/chunks/046yyni9u57_l.js","static/chunks/3n_bn3nbnx_a7.js"].map(t=>e.l(t))).then(()=>t(6855)))},71204,e=>{e.v(t=>Promise.all(["static/chunks/2zxw38bvltbdd.js"].map(t=>e.l(t))).then(()=>t(28159)))},54246,e=>{e.v(t=>Promise.all(["static/chunks/3frj8pa-54qt-.js"].map(t=>e.l(t))).then(()=>t(75944)))},56703,e=>{e.v(t=>Promise.all(["static/chunks/0japvzi59my2f.js"].map(t=>e.l(t))).then(()=>t(71407)))},43208,e=>{e.v(t=>Promise.all(["static/chunks/0egz5f82_1qqg.js"].map(t=>e.l(t))).then(()=>t(13788)))},14688,e=>{e.v(t=>Promise.all(["static/chunks/14m0h10ibi5_t.js"].map(t=>e.l(t))).then(()=>t(69043)))},576,e=>{e.v(t=>Promise.all(["static/chunks/307-lx-083gv5.js"].map(t=>e.l(t))).then(()=>t(91124)))},43e3,e=>{e.v(t=>Promise.all(["static/chunks/1z2flbuwme71o.js"].map(t=>e.l(t))).then(()=>t(19806)))},79073,96714,e=>{"use strict";var t=e.i(91398),i=e.i(75681),s=e.i(91788);
26e.i(62041);var a=e.i(82796);e.i(99946);var n=e.i(88927);let{translations:{priceSpider:{noFoundRetailers:l,foundRetailers:r}}}=i.default;e.s([],79073),e.s(["default",0,({sku:e,buttonRef:i,isEventNeeded:o,productName:c})=>{let d=((e,t)=>{let{setEvent:i}=(0,n.useGoogleAnalytics)(),a=(0,s.useRef)(null);return(0,s.useEffect)(()=>{if(!t)return;let s=()=>{i({category:n.EVENT_CATEGORY.EVENT_BIN_ACTION,action:n.EVENT_ACTION.EVENT_BUY_NOW,label:e})};return a?.current?.addEventListener("click",s),()=>{a?.current?.removeEventListener("click",s)}},[a]),a})(e,o),{state:{hasFunctionalCookies:u}}=(0,s.useContext)(a.default);return((0,s.useEffect)(()=>{let e=new MutationObserver(()=>{if(d?.current){if(d.current.classList.contains("ps-disabled")||!u)return void d.current.setAttribute("aria-label",`${l} ${c}`);d.current.setAttribute("aria-label",`${r} ${c}`)}});return e.observe(document.querySelector("body"),{subtree:!0,childList:!0}),()=>e.disconnect()},[]),e&&u)?(0,t.jsx)("div",{ref:i??d,className:"ps-widget","data-action-detail":e,"ps-sku":e,"ps-widget-type":"lightbox",role:"button"}):null}],96714)},5506,e=>{"use strict";var t,i=((t={})[t.TOP=0]="TOP",t[t.RIGHT=1]="RIGHT",t[t.BOTTOM=2]="BOTTOM",t[t.LEFT=3]="LEFT",t);e.s(["RatingDescriptionPosition",()=>i])},79301,81815,e=>{"use strict";var t=e.i(91398),i=e.i(75681);e.i(19763);var s=e.i(71676),a=e.i(60814),n=e.i(4299),l=e.i(5506);let r=a.default.div.withConfig({shouldForwardProp:n.shouldForwardProp}).withConfig({componentId:"sc-8cb051ec-0"})`
27  display: flex;
28  grid-area: starsRatingWrapper;
29
30  ${({descriptionPosition:e})=>{switch(e){case l.RatingDescriptionPosition.TOP:return a.css`
31          flex-flow: column-reverse;
32        `;case l.RatingDescriptionPosition.BOTTOM:return a.css`
33          flex-flow: column;
34          flex-direction: row;
35        `;case l.RatingDescriptionPosition.LEFT:return a.css`
36          flex-flow: row-reverse;
37        `;default:return a.css`
38          flex-flow: row;
39        `}}}
40`,o=a.default.div.withConfig({componentId:"sc-8cb051ec-1"})`
41  display: grid;
42  grid-template-columns: repeat(5, 1fr);
43  grid-auto-flow: column;
44  grid-gap: 1px;
45  align-items: center;
46  width: max-content;
47`,c=a.default.div.withConfig({shouldForwardProp:n.shouldForwardProp}).withConfig({componentId:"sc-8cb051ec-2"})`
48  display: flex;
49  flex-direction: row;
50  margin-left: 15px;
51
52  ${({descriptionPosition:e})=>{switch(e){case l.RatingDescriptionPosition.RIGHT:return a.css`
53          margin-left: 15px;
54        `;case l.RatingDescriptionPosition.LEFT:return a.css`
55          margin-right: 15px;
56        `;default:return a.css`
57          margin: 0;
58        `}}}
59`,d=a.default.div.withConfig({componentId:"sc-8cb051ec-3"})`
60  display: inline;
61  margin-left: 3px;
62`;var u=l;let{translations:{writeReview:{overallRatingTitle:p},starRating:{totalReviewsSubmitted:h,totalRating:m,ariaRatingScore:f}}}=i.default,g=({ariaLabel:e,starSize:i=17,fillPercentage:a,id:n})=>{let l=`${Math.floor(!isNaN(a)?a:0)}%`;return(0,t.jsxs)("svg",{"aria-label":e,viewBox:"-2 -2 28 28",height:i,width:i,xmlns:"http://www.w3.org/2000/svg",role:"img",children:[(0,t.jsx)("defs",{children:(0,t.jsxs)("linearGradient",{id:`gradientId_${n.replace(/\s/g,"")}`,children:[(0,t.jsx)("stop",{offset:l,stopColor:s.theme.palette.goldPalette[50]}),(0,t.jsx)("stop",{offset:l,stopColor:"white",stopOpacity:"1"})]})}),(0,t.jsx)("path",{d:"m23.363 8.584-7.378-1.127-3.307-7.044c-.247-.526-1.11-.526-1.357 0l-3.306 7.044-7.378 1.127c-.606.093-.848.83-.423 1.265l5.36 5.494-1.267 7.767c-.101.617.558 1.08 1.103.777l6.59-3.642 6.59 3.643c.54.3 1.205-.154 1.103-.777l-1.267-7.767 5.36-5.494c.425-.436.182-1.173-.423-1.266z",fill:`url(#gradientId_${n.replace(/\s/g,"")})`,stroke:s.theme.palette.goldPalette[50],strokeWidth:"1px"})]})};e.s([],79301),e.s(["default",0,({rating:e,reviewsCount:i,id:s,starSize:a,descriptionPosition:n=u.RatingDescriptionPosition.RIGHT,showRatingAvg:l=!0,showReviewsCount:x=!0})=>(0,t.jsxs)(r,{descriptionPosition:n,children:[(0,t.jsx)(o,{children:[,,,,,].fill(null).map((i,n)=>(0,t.jsx)(g,{ariaLabel:f(p,n+1),fillPercentage:((e,t)=>{switch(!0){case e<=Math.floor(t):return 100;case e-1>t:return 0;default:return Math.abs(t%1*100)}})(n+1,e),starSize:a,id:`star_${n}_${s.toLowerCase()}`},`star_${n}_${s}`))}),(0,t.jsxs)(c,{descriptionPosition:n,children:[l&&(0,t.jsx)(d,{"aria-label":m,role:"note",children:`${Math.round(100*e)/100}
62/5`}),x&&(0,t.jsxs)(d,{"aria-label":h,children:["(",isNaN(i)?0:i,")"]})]})]})],81815)},64027,e=>{e.v(t=>Promise.all(["static/chunks/21mhn-95a09nr.js"].map(t=>e.l(t))).then(()=>t(80097)))},90109,e=>{"use strict";var t=e.i(91398);e.i(22095);var i=e.i(69804);e.i(79073);var s=e.i(96714);e.i(79301);var a=e.i(81815),n=e.i(5506);e.i(99946);var l=e.i(88927),r=e.i(91788),o=e.i(41158),c=e.i(60814);let d=c.default.div.withConfig({componentId:"sc-2a05a873-0"})`
63  display: flex;
64  flex-direction: column;
65  align-items: center;
66`,u=(0,c.default)(o.default).withConfig({componentId:"sc-2a05a873-1"})`
67  height: inherit;
68  padding: 0 15px;
69  width: 100%;
70  display: flex;
71  flex-direction: column;
72  align-items: center;
73
74  @media ${({theme:e})=>e.media.tablet} {
75    margin-bottom: 8px;
76  }
77
78  div {
79    margin-left: 3px;
80  }
81
82  img {
83    max-width: 350px;
84    max-height: 190px;
85    margin: 30px 0;
86    width: auto;
87
88    @media ${({theme:e})=>e.media.desktop} {
89      max-height: 300px;
90    }
91  }
92
93  span {
94    font-family: ${({theme:e})=>e.fonts.bold};
95    font-weight: 400;
96  }
97  //TODO:@Dawid recheck it
98  & > &:not(:first-child) {
99    margin-bottom: 10px;
100  }
101`,p=c.default.div.withConfig({componentId:"sc-2a05a873-2"})`
102  display: flex;
103  align-items: center;
104  height: 60px;
105
106  @media ${({theme:e})=>e.media.desktop} {
107    height: 90px;
108  }
109`,h=c.default.span.withConfig({componentId:"sc-2a05a873-3"})`
110  display: -webkit-box;
111  -webkit-line-clamp: 3;
112  -webkit-box-orient: vertical;
113  font-size: 16px;
114  line-height: 20px;
115  text-align: center;
116  overflow: hidden;
117  max-width: 150px;
118
119  @media ${({theme:e})=>e.media.desktop} {
120    font-size: 20px;
121    line-height: 24px;
122    max-width: 300px;
123  }
124`,m=c.default.span.withConfig({componentId:"sc-2a05a873-4"})`
125  font-size: 14px;
126  line-height: 18px;
127  color: ${({theme:e})=>e.palette.greyPalette[200]};
128  text-align: center;
129
130  @media ${({theme:e})=>e.media.desktop} {
131    font-size: 16px;
132    line-height: 20px;
133  }
134`;e.s(["CarouselProductCard",0,({image:e,title:o,rating:c,productType:f,productUrl:g,showRatingAvg:x=!1,showReviewsCount:v=!1,gtin:w,reviewsCount:j,isEventNeeded:P,descriptionPosition:T=n.RatingDescriptionPosition.BOTTOM})=>{let{setEvent:k}=(0,l.useGoogleAnalytics)(),b=(0,r.useCallback)(()=>{k({category:l.EVENT_CATEGORY.EVENT_INFORMATIONAL_ACTION,action:l.EVENT_ACTION.EVENT_INTERNAL_LINK})},[g]);return(0,r.useEffect)(()=>{window?.PriceSpider?.rebind?.()},[w]),(0,t.jsxs)(d,{children:[(0,t.jsxs)(u,{href:g,onClick:b,className:l.EVENT_ACTION.EVENT_INTERNAL_LINK,"data-action-detail":g,children:[(0,t.jsx)(i.default,{desktopUrl:e.desktopUrl,altText:e.altText}),(0,t.jsx)(a.default,{id:w+o,rating:c,showRatingAvg:x,descriptionPosition:T,reviewsCount:j,showReviewsCount:v}),(0,t.jsx)(p,{children:(0,t.jsx)(h,{children:o})}),(0,t.jsx)(m,{children:f})]}),(0,t.jsx)(s.default,{sku:w,isEventNeeded:P,productName:o})]})}],90109)},5142,e=>{e.v(t=>Promise.all(["static/chunks/384bcjbveb_d7.js"].map(t=>e.l(t))).then(()=>t(49837)))},97218,e=>{e.v(t=>Promise.all(["static/chunks/18sa4kejiymbk.js"].map(t=>e.l(t))).then(()=>t(64547)))},89922,e=>{e.v(t=>Promise.all(["static/chunks/2d6t95al06mfk.js"].map(t=>e.l(t))).then(()=>t(43769)))},8330,e=>{e.v(t=>Promise.all(["static/chunks/0fe7c92aeym4d.js"].map(t=>e.l(t))).then(()=>t(24934)))},98583,e=>{e.v(t=>Promise.all(["static/chunks/0wx_3p3tvt9o7.js","static/chunks/3n_bn3nbnx_a7.js","static/chunks/1l_20ib6p-oli.js"].map(t=>e.l(t))).then(()=>t(66884)))},67196,e=>{e.v(t=>Promise.all(["static/chunks/1jiy2lhf-dn66.js","static/chunks/1l_20ib6p-oli.js"].map(t=>e.l(t))).then(()=>t(59784)))}]);

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.