PageSourceSearch

https://www.kuhl.com/_next/static/chunks/3943-7b618550082d1da0.js

js kuhl.com collected 2026-10-02 04:44:43 UTC 8,993 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3943],{20089:(e,t,r)=>{r.d(t,{Dc:()=>s,Fs:()=>l,dh:()=>o});var n=r(48085),i=r(68905);let l=()=>{let e={},t=localStorage.getItem(i.S.REVIEW_VOTES_HISTORY_KEY);return t&&(e=JSON.parse(t)),e},o=e=>{let{review:t,vote:r}=e.detail;(e=>{let t={...l(),...e};localStorage.setItem(i.S.REVIEW_VOTES_HISTORY_KEY,JSON.stringify(t))})(((e,t)=>{let{positiveFeedbackCount:r,negativeFeedbackCount:i}=e,l=t===n.$r.Positive?r:i;return{[e.id]:{vote:t,count:l}}})(t,r))},s={productStyleNumber:null,sort:null,filters:{[n.U8.Activities]:"",[n.U8.MenBodyType]:"",[n.U8.WomenBodyType]:"",[n.U8.ExperienceLevel]:"",[n.U8.Height]:""},limit:10,offset:0,rating:null}},30098:(e,t,r)=>{r.d(t,{$:()=>n});let n=e=>{var t;return e&&(null==(t=e.rows)?void 0:t.length)?[...e.rows.sort((e,t)=>e.weight-t.weight)]:[]}},33724:(e,t,r)=>{r.d(t,{A:()=>E});var n=r(37876),i=r(84733),l=r(5067),o=r(68846),s=r(11765),a=r(22390),c=r(39491),d=r(69344),u=r(23594),p=r(14232),g=r(76761),m=r(29711),h=r(71849),S=r(7598),f=r(58295),y=r(77803),x=r(78211);let E=e=>{let{title:t,titleStyles:r,titleComponent:E,productNameStyles:v,productPriceStyles:A,containerStyles:P,showColorSelector:_=!1,onClick:w,products:I=[],isFetching:R=!0,parent:N,cols:O,tileSpacing:D=1,compactCardSpacing:T=!1,hidePrice:C=!1}=e,b=(0,u.A)(),V=(0,p.useRef)(null),j=(0,g.A)(V,!R),{cart:k}=(0,S.A)();(0,p.useEffect)(()=>{I.length&&j&&b(m.o.ViewRecommendedList,{recommendedProducts:I,parent:N})},[b,j,N,I]);let Y=(0,c.A)(),H=O||{xs:2,sm:2,md:4},W=H[Y]||H.md||H.sm||4,M=async e=>{await b(m.o.RecommendedProductSelected,{selectedProduct:e,recommendedProducts:I,parent:N}),w&&w()},L=(0,p.useCallback)(()=>{let{lineItems:e}=k,t=null==e?void 0:e.map(e=>{var t;return null==e||null==(t=e.product)?void 0:t.colorGroup});return Array.from(new Set(t))},[k]),B=(0,p.useCallback)(()=>{let e=L(),t=(0,f.zD)();return((e,t)=>{let r=[];return t.map(t=>{let n=t.colors.filter(t=>{let n=e.includes(t.group),i=!r.includes(t.group);return n&&i});if(0===n.length)return t;let i=n[0];r.push(i.group);let l=t.colors.findIndex(e=>e.group===i.group);return y.A.fromObject(t).setSelectedColorIndex(l)})})(e=Array.from(new Set(e=e.concat(t))),I)},[L,I]),z=(0,p.useMemo)(()=>B(),[B]);return R?(0,n.jsx)(h.A,{isFetching:!0}):(0,n.jsxs)(i.A,{sx:{height:"auto",...P},ref:V,children:[(null==z?void 0:z.length)>0&&(E||(0,n.jsx)(l.A,{fontSize:{xs:"22px",slg:"30px"},fontWeight:900,color:"primary",lineHeight:1.1,sx:{textAlign:"center",mb:1,...r},children:t})),(0,n.jsx)(o.Ay,{className:"ResponsiveTiles-inner",cols:H,spacing:D,sx:{justifyContent:{xs:"normal",md:"center"}},children:(null==z?void 0:z.length)>0&&z.map((e,t)=>(0,n.jsx)(a.A,{"data-testid":"CartRecommendationButton".concat(t+1),index:t,product:e,priceStyles:{textAlign:"left",fontSize:"14px",lineHeight:"26px",...A},titleStyles:{fontSize:"17px",fontWeight:800,lineHeight:1.1,textTransform:"uppercase",textAlign:"left",fontFamily:s.v.NEUEPLAK,...v},mobilePriceContainerStyles:{display:C?"none":"block"},desktopPriceContainerStyles:{display:"none"},mobileFitStyles:{display:"none"},desktopFitStyles:{display:"block",fontSize:12},ratingStyles:{display:"none",fontSize:8.5,lineHeight:.95},ratingContainerStyles:{lineHeight:.95},onClick:()=>M(e),categoryName:e.mainCategoryName,colorSelector:_,dataTestId:N!=d.SO.PDP?"recommended-products-item-".concat(t):"PDPRecommendationsImage".concat(t+1),layoutMeta:{perRow:W,screenSize:Y},disableSelectItemEvent:!0,sizes:"(max-width: 769px) 50vw, 400px",quality:x.Y,fill:!0,showShortDescription:!1,compactSpacing:T},t))})]})}},35817:(e,t,r)=>{r.d(t,{A:()=>c});var n=r(37876),i=r(6337),l=r(9129),o=r(84733),s=r(10616),a=r(48785);let c=e=>{let t=(0,s.A)(),{colorSelector:r=!0}=e;return(0,n.jsxs)("div",{style:{marginTop:t.spacing(2),marginBottom:t.spacing(2)},children:[(0,n.jsx)(o.A,{mb:1,sx:{aspectRatio:a.e},children:(0,n.jsx)(i.A,{variant:"rectangular",width:"100%",height:"100%"})}),r&&(0,n.jsx)(l.Ay,{container:!0,spacing:1,children:Array.from([,,,,].keys()).map(e=>(0,n.jsx)(l.Ay,{item:!0,children:(0,n.jsx)(i.A,{variant:"rectangular",height:31,width:31})},e))}),(0,n.jsx)(i.A,{variant:"text",sx:{fontSize:"14px",mt:.5},height:20}),(0,n.jsx)(i.A,{variant:"text",sx:{fontSize:"9px"},width:"30%",height:15})]})}},39491:(e,t,r)=>{r.d(t,{A:()=>l});var n=r(10616),i=r(6995);function l(){let e=(0,n.A)();return[...e.breakpoints.keys].reverse().reduce((t,r)=>{let n=(0,i.A)(e.breakpoints.up(r));return!t&&n?r:t},null)||"xs"}},48085:(e,t,r)=>{r.d(t,{$r:()=>l,U8:()=>i,_6:()=>n});var n=function(e){return e.Newest="Newest",e.HighestRating="Highest Rating",e.LowestRating="Lowest Rating",e.MostVotes="Most Votes",e.LeastVotes="Least Votes",e}({}),i=function(e){return e.MenBodyType="Men Body Type",e.WomenBodyType="Women Body Type",e.Height="Height",e.ExperienceLevel="Experience Level",e.Activities="Activities",e}({}),l=function(e){return e.Positive="Positive",e.Negative="Negative",e}({})},52280:(e,t,r)=>{r.d(t,{u:()=>l});var n=r(68905),i=r(58295);let l=e=>((0,i.Vf)(n.S.VIEWED_PDP_HISTORY_KEY)||[]).filter(t=>null==e?void 0:e.every(e=>{var r;return(null==e||null==(r=e.product)?void 0:r.styleNumber)!==t}))},58295:(e,t,r)=>{r.d(t,{Vf:()=>o,gA:()=>d,wH:()=>s,zD:()=>a});var n=r(68905),i=r(29711),l=r(20089);let o=e=>JSON.parse(localStorage.getItem(e)||"[]"),s=()=>[...o(n.S.VIEWED_PDP_HISTORY_KEY),...o(n.S.VIEWED_RECOMMENDATIONS_KEY)],a=()=>JSON.parse(localStorage.getItem(n.S.VIEWED_COLORS_HISTORY_KEY)||"[]"),c=(e,t)=>{var r;let i=o(t);r=e.reduce((e,r)=>{if(i.includes(r))return e;let l=t===n.S.VIEWED_PDP_HISTORY_KEY?5:20;return e.length===l&&e.shift(),e.push(r),e},i),localStorage.setItem(t,JSON.stringify(r))},d={[i.o.ViewItemEvent]:e=>{let{product:t}=e.detail;t.styleNumber&&c([t.styleNumber],n.S.VIEWED_PDP_HISTORY_KEY)},[i.o.ViewRecommendedList]:e=>{let{recommendedProducts:t}=e.detail;c(t.reduce((e,t)=>
1t.styleNumber?[...e,t.styleNumber]:e,[]),n.S.VIEWED_RECOMMENDATIONS_KEY)},[i.o.ProductColorClicked]:e=>{let{colorSelected:t}=e.detail;(e=>{let t=a();!t.includes(e)&&(4===t.length&&t.shift(),t.push(e),localStorage.setItem(n.S.VIEWED_COLORS_HISTORY_KEY,JSON.stringify(t)))})(t)},[i.o.ReviewVote]:l.dh}},59864:(e,t,r)=>{r.d(t,{L:()=>n,w:()=>i});var n=function(e){return e.A="A",e.B="B",e.C="C",e.D="D",e.E="E",e}({}),i=function(e){return e.Gifts="gifts",e.ElasticSearch="es",e.Venmo="venmo",e.GooglePay="googlepay",e.PayPal="paypal",e}({})},68846:(e,t,r)=>{r.d(t,{Ay:()=>g,yZ:()=>u});var n=r(37876),i=r(14232),l=r(69241),o=r(75855),s=r(14640);let a=["xs","sm","md","lg","xl"],c="--ResponsiveTiles-wide-span",d={xs:2,sm:3,md:4,lg:5,xl:5},u=e=>{let{children:t}=e;return(0,n.jsx)(n.Fragment,{children:t})},p=e=>i.isValidElement(e)&&e.type===u,g=e=>{let t=(0,i.useRef)(function(e){let{cols:t=d,spacing:r=1}=e,u=Object.keys(t).length?t:d,g="ResponsiveTiles",m={root:"".concat(g,"-root"),grid:"".concat(g,"-grid"),tile:"".concat(g,"-tile"),wide:"".concat(g,"-wide")},h=a.filter(e=>void 0!==u[e]).map(e=>({breakpoint:e,span:Math.min(2,u[e])})),S=h[0].span,f=(0,o.Ay)("ul")(e=>{let{theme:t}=e,n={},i={};Object.keys(u).map(e=>({key:e,value:u[e]})).sort((e,t)=>e.value-t.value).forEach(e=>{let{key:r,value:l}=e,o=t.breakpoints.up(r);n[o]={width:"".concat(100/l,"%")},i[o]={gridTemplateColumns:"repeat(".concat(l,", minmax(0, 1fr))")}});let l={};return h.forEach(e=>{let{breakpoint:r,span:n}=e;l[t.breakpoints.up(r)]={[c]:"span ".concat(n)}}),{["&.".concat(m.root)]:{display:"flex",flexWrap:"wrap",overflowY:"auto",listStyle:"none",padding:0,margin:t.spacing(-r),WebkitOverflowScrolling:"touch"},["& .".concat(m.tile)]:{...n,padding:t.spacing(r),"--ResponsiveTiles-gutter":t.spacing(2*r),height:"auto"},["&.".concat(m.grid)]:{display:"grid",...i,["& .".concat(m.tile)]:{width:"auto"},["& .".concat(m.wide)]:l}}});return e=>{let{className:t,children:r,sx:o,...a}=e,d=i.Children.toArray(r).some(p);return(0,n.jsx)(f,{className:(0,l.A)(t,m.root,d&&m.grid),sx:o,...a,children:i.Children.map(r,(e,t)=>{if(!i.isValidElement(e))return null;let r=p(e);return(0,n.jsx)(s.A,{classes:{root:m.tile},className:r?m.wide:void 0,cols:1,style:r?{gridColumnEnd:"var(".concat(c,", span ").concat(S,")")}:void 0,children:e},t)})})}}(e));return(0,n.jsx)(t.current,{...e})}},69344:(e,t,r)=>{r.d(t,{SO:()=>n,V_:()=>i});var n=function(e){return e.PDP="PDP",e.PDP_POPUP="PDP_POPUP",e.PDP_SIDEBAR="PDP_SIDEBAR",e.CART="CART",e}({}),i=function(e){return e[e.MENS=1]="MENS",e[e.WOMENS=2]="WOMENS",e[e.UNISEX=8]="UNISEX",e}({})},71849:(e,t,r)=>{r.d(t,{A:()=>c});var n=r(37876),i=r(84733),l=r(6337),o=r(75855),s=r(35817);let a=(0,o.Ay)(i.A)(e=>{let{theme:t}=e;return{display:"grid",gridTemplateColumns:"1fr 1fr 1fr 1fr",gridGap:"13px",[t.breakpoints.down("slg")]:{gridTemplateColumns:"1fr 1fr"}}}),c=e=>{let{isFetching:t}=e;if(t){let e=[];for(let t=0;t<4;t+=1)e.push((0,n.jsx)(s.A,{colorSelector:!1},t));return(0,n.jsxs)(i.A,{sx:{height:"auto"},children:[(0,n.jsx)(l.A,{variant:"text",sx:{fontSize:"14px",mt:.5},height:30}),(0,n.jsx)(a,{children:e})]})}return null}}}]);

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.