PageSourceSearch

https://khstores.com/_next/static/chunks/app/store_/%5BencodedOrig…/%5BproductId%5D/page-deadbe014ce6ff50.js

js khstores.com collected 2026-10-04 01:51:29 UTC 16,402 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4551],{80833:function(e,t,l){Promise.resolve().then(l.bind(l,64175))},64175:function(e,t,l){"use strict";l.r(t),l.d(t,{default:function(){return N}});var s=l(57437),a=l(2265),i=l(25903),n=()=>(0,s.jsx)("main",{className:"bg-white flex-1","data-testid":"main-skeleton-container",children:(0,s.jsx)("div",{className:"mx-auto max-w-4xl pb-8 lg:max-w-7xl lg:px-8",children:(0,s.jsxs)("div",{className:"lg:grid lg:grid-cols-12 lg:items-start lg:gap-x-8 lg:pt-10",children:[(0,s.jsx)("div",{className:"col-span-6 lg:col-span-7 lg:px-5 py-0",children:(0,s.jsxs)("div",{className:"flex flex-col-reverse",children:[(0,s.jsx)("div",{className:"sm:block z-10 lg:z-0 mt-[-16px] lg:mt-4",children:(0,s.jsxs)("div",{className:"flex justify-center sm:flex-row space-x-[16px]",children:[(0,s.jsx)("div",{className:"relative mr-4 border border-[#f6f6f8] h-[50px] w-[50px] lg:w-[75px] lg:h-[75px] bg-[#f6f6f8] animate-pulse rounded-md","data-testid":"small-image-skeleton"}),(0,s.jsx)("div",{className:"relative mr-4 border border-[#f6f6f8] h-[50px] w-[50px] lg:w-[75px] lg:h-[75px] bg-[#f6f6f8] animate-pulse rounded-md","data-testid":"small-image-skeleton"})]})}),(0,s.jsx)("div",{className:"aspect-h-1 aspect-w-1 w-full z-0 bg-[#f6f6f8] md:rounded-2xl animate-pulse",style:{height:"100%",width:"100%"},"data-testid":"image-skeleton"})]})}),(0,s.jsxs)("div",{className:"mt-10 lg:mt-0 px-6 md:px-10 lg:py-0 md:py-0 lg:px-8 col-span-6 lg:col-span-5",children:[(0,s.jsx)("div",{className:"lg:flex h-[56px] w-full mb-6 px-0 lg:mb-0 bg-[#f6f6f8] rounded-md animate-pulse","data-testid":"title-skeleton"}),(0,s.jsxs)("div",{className:"mt-6",children:[(0,s.jsxs)("div",{className:"block mt-6",children:[(0,s.jsx)("div",{className:"h-5 mb-2 bg-[#f6f6f8] animate-pulse rounded-md ","data-testid":"description-skeleton"}),(0,s.jsxs)("div",{className:"inline-flex flex-wrap content-center items-center gap-2",children:[(0,s.jsx)("div",{className:"flex items-center justify-center rounded-full p-2 h-6 w-6 bg-[#f6f6f8] animate-pulse","data-testid":"feature-skeleton"}),(0,s.jsx)("div",{className:"flex items-center justify-center rounded-full p-2 h-6 w-6 bg-[#f6f6f8] animate-pulse","data-testid":"feature-skeleton"}),(0,s.jsx)("div",{className:"flex items-center justify-center rounded-full p-2 h-6 w-6 bg-[#f6f6f8] animate-pulse","data-testid":"feature-skeleton"}),(0,s.jsx)("div",{className:"flex items-center justify-center rounded-full p-2 h-6 w-6 bg-[#f6f6f8] animate-pulse","data-testid":"feature-skeleton"}),(0,s.jsx)("div",{className:"flex items-center justify-center rounded-full p-2 h-6 w-6 bg-[#f6f6f8] animate-pulse","data-testid":"feature-skeleton"}),(0,s.jsx)("div",{className:"flex items-center justify-center rounded-full p-2 h-6 w-6 bg-[#f6f6f8] animate-pulse","data-testid":"feature-skeleton"})]})]}),(0,s.jsxs)("div",{className:"mt-10",children:[(0,s.jsx)("div",{className:"flex items-center h-5 justify-between bg-[#f6f6f8] animate-pulse rounded-md","data-testid":"review-skeleton"}),(0,s.jsxs)("div",{className:"grid grid-cols-4 gap-4 mt-2",children:[(0,s.jsx)("div",{className:"relative flex h-11 items-center justify-center rounded-md py-3 px-4 bg-[#f6f6f8] animate-pulse sm:flex-1","data-testid":"button-skeleton"}),(0,s.jsx)("div",{className:"relative flex h-11 items-center justify-center rounded-md py-3 px-4 bg-[#f6f6f8] animate-pulse sm:flex-1","data-testid":"button-skeleton"}),(0,s.jsx)("div",{className:"relative flex h-11 items-center justify-center rounded-md py-3 px-4 bg-[#f6f6f8] animate-pulse sm:flex-1","data-testid":"button-skeleton"}),(0,s.jsx)("div",{className:"relative flex h-11 items-center justify-center rounded-md py-3 px-4 bg-[#f6f6f8] animate-pulse sm:flex-1","data-testid":"button-skeleton"}),(0,s.jsx)("div",{className:"relative flex h-11 items-center justify-center rounded-md py-3 px-4 bg-[#f6f6f8] animate-pulse sm:flex-1","data-testid":"button-skeleton"}),(0,s.jsx)("div",{className:"relative flex h-11 items-center justify-center rounded-md py-3 px-4 bg-[#f6f6f8] animate-pulse sm:flex-1","data-testid":"button-skeleton"})]})]}),(0,s.jsx)("div",{className:"flex flex-1 mt-10 items-center justify-center rounded-xl px-8 py-3 text-base font-medium text-white sm:w-full bg-[#f6f6f8] animate-pulse","data-testid":"add-to-cart-skeleton",children:"Add to cart"})]}),(0,s.jsx)("div",{className:"mb-2 mt-3 h-5 flex flex-1 items-center justify-center py-4 space-x-3 sm:w-full bg-[#f6f6f8] animate-pulse rounded-md","data-testid":"second-review-skeleton"}),(0,s.jsx)("div",{className:"mx-auto mt-2 w-full h-72 bg-[#f6f6f8] animate-pulse rounded-md","data-testid":"additional-section-skeleton"})]})]})})}),r=l(20614),d=l(99376),o=l(52585),u=l(27717),c=l(38452),f=l(61995),m=l(72529);let p=()=>{let e=(0,a.useContext)(m.N);if(void 0===e)throw Error("Error: useStoreListing must be used within a StoreListingProvider");return{storeListing:e.storeListing,productDetails:e.productDetails}};var x=l(69122),g=l(37501),v=l(98420),h=l(34569);let j=(0,a.lazy)(()=>Promise.all([l.e(5948),l.e(8534),l.e(7760),l.e(1081),l.e(3145),l.e(1451),l.e(7497),l.e(8893),l.e(8205),l.e(188),l.e(4311),l.e(8230),l.e(5853),l.e(931),l.e(8327)]).then(l.bind(l,10931))),b=(0,a.lazy)(()=>Promise.all([l.e(7760),l.e(5948),l.e(8534),l.e(7386),l.e(1081),l.e(3145),l.e(1451),l.e(7497),l.e(8893),l.e(8205),l.e(188),l.e(4311),l.e(8230),l.e(5853),l.e(931),l.e(1788)]).then(l.bind(l,67850)));var N=()=>{let{storeListing:e,productDetails:t}=p(),{addError:l}=(0,v.Z)(),{variationId:m,setVariationId:N,sizeId:y,setSizeId:w,sizeIdParam:S,variationIdParam:A}=function(e){let t=(0,d.useSearchParams)(),l=(0,o.Tc)(t.get(f.WJ)),s=(0,o.Tc)(t.get(f.B3)),i=(0,d.useRouter)(),n=(0,a.useMemo)(()=>(0,u.KH)(e,l),[e,l]),r=(0,a.useMemo)(()=>(0,u.lJ)(n,s),[s,n]),m=(0,c.BE)(null==n?void 0:n.variationId,void 0),p=(0,c.BE)(null==r?void 0:r.id,void 0);return{variationId:m,setVariationId:(0,a.useCallback)(e=>{if(e!==l){let t=new URL(window.location.href);t.searchParams.set(f.WJ,"".concat(e));let l=t.toString();i.push(l,{scroll:!1})}},[i,l]),sizeId:p,setSizeId:(0,a.useCallback)(e=>{if(e!==s){let t=new URL(window.location.href);t.searchParams.set(f.B3,"".concat(e));let l=t.toString();i.push(l,{scroll:!1})}},[i,s]),sizeIdParam:s,variationIdParam:l}}(e),{storeData:k}=(0,x.G)();(0,a.useEffect)(()=>{A&&A!==m&&l(h.uM.ColorNoLongerAvailable)},[l,m,A]),(0,a.useEffect)(()=>{S&&S!==y&&l(h.uM.SizeNoLongerAvailable)},[l,y,S]);let{products:C,loading:D}=(0,g.D)(e?[e]:[],"same-listing"),{products:I,loading:U}=(0,g.D)(e?[e]:[],"different-listing"),P=(0,a.useRef)(!1);(0,a.useEffect)(()=>
1{if(!P.current){var t,l,s,a,n,r;let d=(0,u.ne)(e,m,y),o=e&&d&&e.itemGroupId?{...e,primaryProductSku:(0,u.V8)(e.itemGroupId,d.variant.variationId,d.size.id)}:e,c={productId:null!==(s=null==e?void 0:e.primaryProductId)&&void 0!==s?s:null,campaignRootId:null!==(a=null==d?void 0:null===(t=d.variant)||void 0===t?void 0:t.teespringId)&&void 0!==a?a:null,currency:null!==(n=null==e?void 0:e.currency)&&void 0!==n?n:null,variationId:null!=m?m:null,price:null!==(r=null==d?void 0:null===(l=d.size)||void 0===l?void 0:l.price)&&void 0!==r?r:0,product:null!=o?o:void 0};i.Z.track("view_item",c,k),P.current=!0}},[e,m,k,y]);let E=(0,a.useMemo)(()=>C.slice(0,8),[C]),R=(0,a.useMemo)(()=>I.slice(0,8),[I]);return(0,s.jsxs)(s.Fragment,{children:[e&&(0,s.jsx)("div",{className:"mx-auto max-w-4xl pb-8 lg:max-w-7xl lg:px-8",children:(0,s.jsx)(a.Suspense,{fallback:(0,s.jsx)(n,{}),children:(0,s.jsx)(j,{product:e,variationId:m,handleVariationChange:t=>{N(t),i.Z.track("color_clicked",{productId:null==e?void 0:e.primaryProductId,source:"PDP"},k)},sizeId:y,handleSizeChange:t=>{w(t),i.Z.track("size_clicked",{productId:null==e?void 0:e.primaryProductId,source:"PDP"},k)},productDetails:t})})}),(0,s.jsx)(a.Suspense,{fallback:(0,s.jsx)(r.Z,{}),children:(0,s.jsx)(b,{name:"More with this design",productData:E,loading:D,nextButtonId:"nextSimilarProducts",prevButtonId:"prevSimilarProducts",carouselClassName:"lg:mx-auto lg:max-w-7xl pl-6 md:px-10 lg:px-8 pb-20",placement:"PDP"})}),(0,s.jsx)(a.Suspense,{fallback:(0,s.jsx)(r.Z,{}),children:(0,s.jsx)(b,{name:"You might also like",productData:R,loading:U,nextButtonId:"nextYouMightAlsoLike",prevButtonId:"prevYouMightAlsoLike",carouselClassName:"lg:mx-auto lg:max-w-7xl pl-6 md:px-10 lg:px-8 pb-20",placement:"PDP"})})]})}},20614:function(e,t,l){"use strict";var s=l(57437);l(2265);var a=l(13255);t.Z=()=>(0,s.jsx)("div",{className:"bg-white","data-testid":"carousel-skeleton",children:(0,s.jsxs)("div",{className:"mx-auto max-w-2xl px-4 sm:px-6 lg:max-w-7xl lg:px-8 pl-6 md:px-10 pb-20",children:[(0,s.jsx)("div",{className:"h-9 w-1/3 bg-[#f6f6f8] animate-pulse rounded-lg","data-testid":"heading-skeleton"}),(0,s.jsxs)("div",{className:"mt-6 grid grid-cols-2 gap-x-6 gap-y-10 sm:grid-cols-2 lg:grid-cols-4 xl:gap-x-8",children:[(0,s.jsx)(a.Z,{}),(0,s.jsx)(a.Z,{}),(0,s.jsx)(a.Z,{}),(0,s.jsx)(a.Z,{})]}),(0,s.jsxs)("div",{className:"flex mt-5 items-center justify-center gap-2",children:[(0,s.jsx)("div",{className:"h-3 w-3 bg-[#f6f6f8] animate-pulse rounded-full","data-testid":"pagination-dot-skeleton"}),(0,s.jsx)("div",{className:"h-3 w-3 bg-[#f6f6f8] animate-pulse rounded-full","data-testid":"pagination-dot-skeleton"}),(0,s.jsx)("div",{className:"h-3 w-3 bg-[#f6f6f8] animate-pulse rounded-full","data-testid":"pagination-dot-skeleton"}),(0,s.jsx)("div",{className:"h-3 w-3 bg-[#f6f6f8] animate-pulse rounded-full","data-testid":"pagination-dot-skeleton"}),(0,s.jsx)("div",{className:"h-3 w-3 bg-[#f6f6f8] animate-pulse rounded-full","data-testid":"pagination-dot-skeleton"})]})]})})},13255:function(e,t,l){"use strict";var s=l(57437);l(2265),t.Z=()=>(0,s.jsxs)("div",{className:"flex flex-col","data-testid":"product-tile-skeleton",children:[(0,s.jsx)("div",{className:"relative aspect-h-1 rounded-md aspect-w-1 overflow-hidden bg-[#f6f6f8] animate-pulse w-full max-h-[300px] min-w-[170px] min-h-[170px]"}),(0,s.jsx)("div",{className:"mt-4 w-full h-4 bg-[#f6f6f8] animate-pulse rounded-full","data-testid":"product-info"}),(0,s.jsx)("div",{className:"mt-1 w-full h-4 bg-[#f6f6f8] animate-pulse rounded-full","data-testid":"product-info"}),(0,s.jsxs)("div",{className:"flex mt-2 items-center gap-2",children:[(0,s.jsx)("div",{className:"p-2 h-3 w-3 bg-[#f6f6f8] animate-pulse rounded-full","data-testid":"product-color"}),(0,s.jsx)("div",{className:"p-2 h-3 w-3 bg-[#f6f6f8] animate-pulse rounded-full","data-testid":"product-color"}),(0,s.jsx)("div",{className:"p-2 h-3 w-3 bg-[#f6f6f8] animate-pulse rounded-full","data-testid":"product-color"}),(0,s.jsx)("div",{className:"p-2 h-3 w-3 bg-[#f6f6f8] animate-pulse rounded-full","data-testid":"product-color"}),(0,s.jsx)("div",{className:"p-2 h-3 w-3 bg-[#f6f6f8] animate-pulse rounded-full","data-testid":"product-color"})]})]})},93281:function(e,t,l){"use strict";l.d(t,{K:function(){return i},StoreDataProvider:function(){return n}});var s=l(57437),a=l(2265);let i=(0,a.createContext)(void 0),n=e=>{let{children:t,storeSlug:l,storeData:n}=e,r=(0,a.useMemo)(()=>({storeSlug:l,storeData:n}),[n,l]);return(0,s.jsx)(i.Provider,{value:r,children:t})}},37501:function(e,t,l){"use strict";l.d(t,{D:function(){return r}});var s=l(38452),a=l(81457);let i=(e,t)=>{if((0,s.Rw)(e)||Number.isNaN(e))return t;let l=Math.floor(e);return l<0?t:l};var n=l(8455);let r=(e,t,l)=>{let r=(0,a.Z)(e=>e.products),d=(0,a.Z)(e=>e.loading),o=(e,t)=>(0,s.lm)(e)&&(0,s.lm)(t)?"".concat(e,".").concat(t):void 0,[u,c]=e.reduce((e,t)=>
1{let[l,s]=e;if(t.url){l.add(t.url);let e=o(t.url,t.primaryProductId);e&&s.add(e)}return e},[new Set,new Set]),f="same-listing"===t?e=>(0,s.lm)(e.listingSlug)&&u.has(e.listingSlug):e=>(0,s.lm)(e.listingSlug)&&!u.has(e.listingSlug),m=r.filter(e=>{let t=e.url&&(0,n.yL)(e.url)||void 0,l=o(e.listingSlug,t);return(0,s.lm)(l)&&!c.has(l)&&f(e)}),p=i(l,0);if(m.length<p){m.forEach(e=>{let t=o(e.listingSlug,e.id);t&&c.add(t)});for(let e=0;e<r.length&&m.length<p;e+=1){let t=r[e],l=o(t.listingSlug,t.id);(0,s.lm)(l)&&!c.has(l)&&(c.add(l),m.push(t))}}return{products:m,loading:d}}},69122:function(e,t,l){"use strict";l.d(t,{G:function(){return i}});var s=l(2265),a=l(93281);let i=()=>{let e=(0,s.useContext)(a.K);if(void 0===e)throw Error("Error: useStoreData must be used within a StoreDataProvider");return e}},8455:function(e,t,l){"use strict";l.d(t,{FI:function(){return r},KZ:function(){return o},e7:function(){return n},yL:function(){return d}});var s=l(27350),a=l(61995),i=l(38452);l(52585);let n=e=>{let{listingSlug:t,productId:l,variationId:s,sizeId:n}=e;if(!t)return"";let r=new URLSearchParams;(0,i.lm)(l)&&r.set(a._s,l.toString()),(0,i.lm)(s)&&r.set(a.WJ,s.toString()),(0,i.lm)(n)&&r.set(a.B3,n.toString());let d=r.toString();return"/listing/".concat(t).concat(d?"?".concat(d):"")},r=(e,t)=>{let l=t&&t>1?"?".concat(a.wA,"=").concat(t):"";return"/".concat(e).concat(l)},d=e=>{var t;let l=parseInt((null==e?void 0:null===(t=e.match(/[?&](?:pid|product)=([^&]+)/))||void 0===t?void 0:t[1])||"",10);return Number.isNaN(l)?void 0:l},o=e=>"string"!=typeof e?"":(0,s.K)((null==e?void 0:e.trim())||"",/^https?$/i)||""},25841:function(e,t,l){"use strict";l.d(t,{Mf:function(){return i},S4:function(){return o},pv:function(){return r},tJ:function(){return u},tq:function(){return a}}),l(61995);var s=l(98467);l(6759);let a="user-preferences",i=["AUD","CAD","EUR","GBP","USD"],n={AUD:{currency:"AUD",display:"$ AUD",symbol:"$",description:"Australian Dollar"},CAD:{currency:"CAD",display:"$ CAD",symbol:"$",description:"Canadian Dollar"},EUR:{currency:"EUR",display:"€ EUR",symbol:"€",description:"Euro"},GBP:{currency:"GBP",display:"\xa3 GBP",symbol:"\xa3",description:"British Pound"},USD:{currency:"USD",display:"$ USD",symbol:"$",description:"United States Dollar"}};function r(e){return n[e]}let d={AUSTRALIA:{option:"AUSTRALIA",display:"Australia",region:"USA",flagCountry:"AU"},CANADA:{option:"CANADA",display:"Canada",region:"USA",flagCountry:"CA"},EU:{option:"EU",display:"EU",region:"EUR",flagCountry:"EU"},INDIA:{option:"INDIA",display:"INDIA",region:"IND",flagCountry:"IN"},USA:{option:"USA",display:"USA",region:"USA",flagCountry:"US"},OTHER:{option:"OTHER",display:"Rest of the world",region:"USA",flagCountry:""}};function o(e){return d[e]}function u(e){return s.bm.includes(e)}},81457:function(e,t,l){"use strict";var s=l(59625),a=l(17246),i=l(25841),n=l(61995);let r={storeSlug:"",loading:!1,products:[]},d=(0,s.Ue)()((e,t)=>{let l,s,d;let o=()=>{l&&(l.abort(),l=void 0)},u=(t,s,r,d)=>{if(o(),!t){e({products:[],loading:!1});return}let u=new AbortController;l=u,e({products:[],loading:!0});let c=t=>{l!==u||(null==u?void 0:u.signal.aborted)||e({products:t||[]})},{region:f=n.vy}=(0,i.S4)(s);(0,a.y9)(t,f,r,d?"any":void 0,{progress:c,signal:l.signal}).then(e=>{l===u&&"aborted"!==e&&"not found"!==e&&c(e)}).finally(()=>{l===u&&(l=void 0,e({loading:!1}))})},c=!1;return{...r,reset:()=>{o(),e({...r})},setup:(l,a,i,n)=>{let r=!!n;(t().storeSlug!==l||c!==r||s!==a||d!==i)&&(e({storeSlug:l}),c=r,s=a,d=i,u(l,a,i,r))}}});t.Z=d},98467:function(e,t,l){"use strict";l.d(t,{bm:function(){return s}});let s=["AUSTRALIA","CANADA","EU","INDIA","USA","OTHER"]},27350:function(e,t,l){"use strict";l.d(t,{K:function(){return n}}),a(/[A-Za-z]/);let s=a(/[\dA-Za-z]/);function a(e){return function(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}a(/[#-'*+\--9=?A-Z^-~]/),a(/\d/),a(/[\dA-Fa-f]/),a(/[!-/:-@[-`{-~]/),a(/\p{P}|\p{S}/u),a(/\s/);let i={'"':"quot","&":"amp","<":"lt",">":"gt"};function n(e,t){let l=(function(e){let t=[],l=-1,a=0,i=0;for(;++l<e.length;){let n=e.charCodeAt(l),r="";if(37===n&&s(e.charCodeAt(l+1))&&s(e.charCodeAt(l+2)))i=2;else if(n<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(n))||(r=String.fromCharCode(n));else if(n>55295&&n<57344){let t=e.charCodeAt(l+1);n<56320&&t>56319&&t<57344?(r=String.fromCharCode(n,t),i=1):r="�"}else r=String.fromCharCode(n);r&&(t.push(e.slice(a,l),encodeURIComponent(r)),a=l+i+1,r=""),i&&(l+=i,i=0)}return t.join("")+e.slice(a)})(e||"").replace(/["&<>]/g,function(e){return"&"+i[e]+";"});if(!t)return l;let a=l.indexOf(":"),n=l.indexOf("?"),r=l.indexOf("#"),d=l.indexOf("/");return a<0||d>-1&&a>d||n>-1&&a>n||r>-1&&a>r||t.test(l.slice(0,a))?l:""}}},function(e){e.O(0,[4517,8073,7648,3554,8726,2092,977,7717,7246,5903,4714,2971,2117,1744],function(){return e(e.s=80833)}),_N_E=e.O()}]);
2//# sourceMappingURL=page-deadbe014ce6ff50.js.map

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.