PageSourceSearch

https://www.luakabop.com/_next/static/chunks/pages/products/[slug]-d85347f91afa1ea6.js

js luakabop.com collected 2026-10-02 04:10:16 UTC 10,538 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[905,613],{5159:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/products/[slug]",function(){return n(5283)}])},613:function(e,t,n){"use strict";n.r(t);var a=n(5893),r=n(7294),i=n(8863),s=n.n(i);let l=(0,r.forwardRef)((e,t)=>{let{content:n,serializer:r,className:i="bc"}=e;return(0,a.jsx)("div",{ref:t,children:(0,a.jsx)(s(),{renderContainerOnSingleChild:!0,className:i,blocks:n,serializers:r})})});t.default=l},4305:function(e,t,n){"use strict";n.d(t,{mp:function(){return h},bz:function(){return m},bS:function(){return p}});var a=n(5893),r=n(5655),i=n.n(r),s=n(1664),l=n.n(s),c=n(6458);n(1163),n(599);let o=e=>{switch(e){case"homePage":return"";case"artistsPage":return"artists";case"releasesPage":return"releases";case"videosPage":return"videos";case"newsPage":return"news";default:return!1}},d=e=>{switch(e){case"article":return"news";case"video":return"videos";case"product":return"products";case"artist":return"artists";default:return!1}},u=e=>{let{mark:t,children:n}=e,{pageType:r,href:i,slug:s,title:c}=t,u=o(r||""),h=d(r);return i?(0,a.jsx)("a",{href:i,title:c||"",target:"_blank",rel:"noopener noreferrer",children:n}):(0,a.jsx)(l(),{href:u||""===u?"/".concat(u):"/".concat(h?"".concat(h,"/"):"").concat(s),scroll:!1,title:c||"",children:n})},h={types:{block:e=>{let{style:t="normal"}=e.node;return"statement"===t?(0,a.jsx)("p",{className:"is-statement",children:e.children}):"note"===t?(0,a.jsx)("p",{className:"is-note",children:e.children}):"important"===t?(0,a.jsx)("p",{className:"is-important",children:e.children}):(0,a.jsx)("p",{className:"t-p2",children:e.children})},horizontalRule:()=>(0,a.jsx)("hr",{})},marks:{align:e=>{let{mark:t,children:n}=e,{alignment:r}=t;return(0,a.jsx)("span",{className:"block ".concat(r),children:n})},button:e=>{let{mark:t,children:n}=e,{color:r,type:i,href:s,slug:c,page:u}=t,h=o(i||""),p=d(null==u?void 0:u.type);return s?(0,a.jsx)("a",{href:s,target:"_blank",rel:"noopener noreferrer",children:n}):(0,a.jsx)(l(),{href:h||""===h?"/".concat(h):"/".concat(p?"".concat(p,"/"):"").concat(null==c?void 0:c.current),scroll:!1,className:"".concat(r),children:n})},link:u}},p={types:{block:e=>{let{style:t="normal"}=e.node;return"blockquote"===t?(0,a.jsx)("blockquote",{className:"t-h2",children:e.children}):"heading"===t?(0,a.jsx)("h2",{className:"t-p1",children:e.children}):(0,a.jsx)("p",{className:"t-p2",children:e.children})},captionedFigure:e=>{var t,n;let{node:r}=e,{width:i,height:s}=null===(n=r.asset)||void 0===n?void 0:null===(t=n.metadata)||void 0===t?void 0:t.dimensions;return(0,a.jsx)("div",{className:"captioned-image",children:(0,a.jsx)(c.Z,{layout:"responsive",width:i,height:s,placeholder:!1,caption:r.caption,effect:r.imageEffect,src:r})})},videoEmbed:e=>{let{node:t}=e;return(0,a.jsx)("div",{className:"video-embed",children:(0,a.jsx)(i(),{className:"video-player",url:t.url,width:"100%",height:"100%"})})}},marks:{strong:e=>{let{children:t}=e;return(0,a.jsx)("b",{children:t})},em:e=>{let{children:t}=e;return(0,a.jsx)("em",{children:t})},link:u,underline:e=>{let{children:t}=e;return(0,a.jsx)("u",{children:t})}}},m=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.map(e=>"block"===e._type&&e.children?e.children.map(e=>e.text).join(""):"").join("\n\n")}},6807:function(e,t,n){"use strict";var a=n(5893),r=n(7294),i=n(4509),s=n(787);t.Z=function(e){let{label:t,activeIndex:n=-1,items:l,labelComponent:c,onChange:o,style:d={},className:u,position:h="right",reverse:p=!1}=e,m=(0,r.useRef)(null),[x,f]=(0,r.useState)(-1!==n?Object.values(l)[n]:Object.values(l)[0]),[j,v]=(0,r.useState)(!1),g="dropdown";function b(){m.current&&m.current.focus()}h&&(g+=" dropdown--".concat(h)),u&&(g+=" ".concat(u)),p&&(g+=" dropdown--reverse");let N=Object.entries(l),k=N.length<2;return(0,a.jsxs)("div",{className:g,style:d,children:[k?null:(0,a.jsx)(i.E.svg,{style:{top:"50%",translateY:"-50%",transformOrigin:"center"},animate:{rotate:j?180:0},width:"16",height:"10",viewBox:"0 0 16 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 10L16 0L0 0L8 10Z",fill:"var(--text)"})}),(0,a.jsx)("label",{className:"sr-only",htmlFor:t,children:t}),c||null,(0,a.jsx)("button",{ref:m,id:t,"aria-label":"dropdown",onClick:()=>{k||(j&&b(),v(!j))},children:x}),(0,a.jsx)(i.E.ul,{variants:s.zx.container,animate:j?"active":"inactive","aria-labelledby":"dropdown","aria-expanded":j,children:j&&N.map(e=>{let[t,n]=e;return(0,a.jsx)(i.E.li,{variants:s.zx.items,children:(0,a.jsx)("button",{tabIndex:j?0:-1,onClick:()=>{f(n),v(!1),b(),o&&o(t,n)},children:n})},t)})},t)]})}},5283:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return C},default:function(){return E}});var a=n(5893),r=n(6154),i=n(8767),s=n(7294),l=n(2839),c=n(5152),o=n.n(c),d=n(2730),u=n(6458),h=function(e){let{images:t}
1=e,[n,r]=(0,s.useState)(0),[i,l]=(0,d.useKeenSlider)({mode:"snap",slidesPerView:1,loop:!0,afterChange:function(e){r(e.details().relativeSlide)}});return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{ref:i,className:"product__image-slider keen-slider",children:t.map((e,t)=>(0,a.jsx)(u.Z,{className:"product__image-slide keen-slider__slide",src:e},e._key||t))}),(0,a.jsxs)("div",{className:"product__image-details",children:[(0,a.jsx)("p",{className:"t-p2",children:t[n].alt}),(0,a.jsx)("div",{children:t.length>1?t.map((e,t)=>(0,a.jsx)("button",{className:n===t?"t-p2 pagination-link active":"t-p2 pagination-link",onClick:()=>l.moveToSlide(t),children:t+1},t)):null})]})]})},p=n(6807),m=n(7309),x=n(3270),f=function(e){let{options:t,variants:n,activeVariant:r}=e,i=n.find(e=>e.id===r),[l,c]=(0,s.useState)(i||n[0]),o=(0,m.t6)(),{isLoading:d,isAdding:u}=(0,m.oR)();function h(e,t,n){return(0,a.jsxs)(s.Fragment,{children:["Default Title"!==e?(0,a.jsxs)("span",{className:"t-h5",children:[e,"\xa0"]}):null,n?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{className:"t-h4",children:(0,x.lb)(n)}),(0,a.jsx)("s",{className:"t-h4",children:(0,x.lb)(t)})]}):(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("span",{className:"t-h4",children:(0,x.lb)(t)})})]})}let f={};return n.sort((e,t)=>e.id===r?-1:t.id===r?1:0).forEach(e=>{f[e.id]=h(e.title,e.price,e.comparePrice)}),(0,a.jsxs)("div",{className:"product__selector",children:[0===t.length?(0,a.jsx)("div",{className:"single",children:h(n[0].title,n[0].price,n[0].comparePrice)}):null,t.map(e=>(0,a.jsx)(p.Z,{reverse:!0,activeIndex:0,position:"left",label:e.name,items:f,onChange:(e,t)=>
1(function(e){let t=n.find(t=>t.id===parseInt(e));t&&c(t)})(e)},e.name)),(0,a.jsx)("button",{className:"t-h4",onClick:function(e){e.preventDefault(),o(l.id,1,null)},disabled:d||u||!l.inStock,children:d?"LOADING":u?"ADDING...":l.inStock?l.backorder?"BACKORDER":"ADD TO CART":"OUT OF STOCK"})]})},j=n(8170),v=function(e){let{images:t,options:n,variants:r,activeVariant:i}=e,{height:s}=(0,j.Uc)("header");return(0,a.jsx)("div",{className:"product__main",children:(0,a.jsxs)("div",{className:"product__main-inner",style:{top:"calc(".concat(s,"px + 41px)")},children:[(0,a.jsx)(h,{images:t}),(0,a.jsx)(f,{options:n,variants:r,activeVariant:i})]})})},g=n(4509),b=n(613),N=n(4305),k=n(657),_=function(e){let{title:t,content:n,open:r=!1}=e,[i,l]=(0,s.useState)(r),c=(0,s.useRef)(null);return(0,a.jsxs)("div",{className:"product__details-accordion t-p2",children:[(0,a.jsxs)(g.E.button,{onClick:()=>l(!i),children:[(0,a.jsx)("span",{children:t}),(0,a.jsx)(k.v3,{animate:{rotate:i?45:0}})]}),(0,a.jsx)(g.E.div,{ref:c,"aria-expanded":i,initial:!1,animate:{height:i?"auto":0},children:(0,a.jsx)(b.default,{content:n,serializer:N.mp})})]})},w=function(e){let{accordions:t=[]}=e,n=(0,s.useRef)(null),[r,i]=(0,s.useState)(!1);return(0,s.useEffect)(()=>{n.current.value=window.location.href},[n]),(0,a.jsxs)("div",{className:"product__details",children:[(0,a.jsxs)("div",{className:"product__details-social",children:[(0,a.jsx)("input",{tabIndex:-1,type:"text",ref:n,className:"hide"}),(0,a.jsxs)(g.E.button,{className:"share-link t-p2",onClick:function(e){if(e.preventDefault(),null===n.current)return;n.current.select(),document.execCommand("copy"),i(!0);let t=setTimeout(()=>{i(!1),clearTimeout(t)},250)},children:[(0,a.jsx)("span",{children:"Share"}),(0,a.jsx)(k.rU,{animate:{scale:r?1.15:1}})]})]}),(0,a.jsx)("div",{children:null==t?void 0:t.map(e=>(0,a.jsx)(_,{open:e.open,title:e.title,content:e.content},e._key))})]})};let S=o()(()=>n.e(91).then(n.bind(n,3091)),{loadableGenerated:{webpack:()=>[3091]},ssr:!1});var y=function(e){var t;let{data:n}=e,r=(null===(t=n.images)||void 0===t?void 0:t.length)>0?n.images:[n.defaultProductImage];return(0,a.jsxs)("section",{className:"product",children:[(0,a.jsx)(S,{sku:n.sku,date:n.releaseDate,description:n.description}),(0,a.jsx)(v,{images:r,variants:n.variants,options:n.options,activeVariant:n.activeVariant}),(0,a.jsx)(w,{accordions:n.accordions})]})};let D=e=>r.Z.get("/api/shopify/product-inventory",{params:{id:e}}).then(e=>e.data);var C=!0,E=function(e){var t;let{data:n}=e,{site:r,menus:c,page:o}=n,d=o.pageData.title||o.pageData.productTitle,u=o.pageData.artist,h="".concat(d).concat(u?" by ".concat(u):""," - ").concat(r.seo.metaTitle),[p,m]=(0,s.useState)(o.pageData),{data:f}=(0,i.useQuery)(["product",p.id],()=>D(p.id),{refetchOnWindowFocus:!1,initialData:!1});return(0,s.useEffect)(()=>{f&&m({...p,inStock:f.inStock,lowStock:f.lowStock,variants:[...p.variants.map(e=>{let t=f.variants.find(t=>t.id===e.id);return t?{...e,...t}:e})]})},[f]),(0,a.jsx)(l.Z,{site:r,page:o,menus:c,schema:function(e,t){if(!e)return null;let n=e.description?(0,N.bz)(e.description).trim():"";return{"@context":"http://schema.org","@type":"Product",name:e.title,price:(0,x.Uu)(e.price),description:n,sku:e.sku,offers:{"@type":"Offer",url:"".concat(t.rootDomain).concat(e.slug),availability:"http://schema.org/".concat(e.inStock?"InStock":"SoldOut"),price:(0,x.Uu)(e.price),priceCurrency:"USD"},brand:{"@type":"Brand",name:t.seo.siteTitle}}}(p,r),metaOverrides:{metaTitle:h,metaDesc:p.description?(0,N.bz)(p.description):null,shareGraphic:(null===(t=p.images)||void 0===t?void 0:t.length)>0?p.images[0]:r.seo.shareGraphic},children:(0,a.jsxs)("div",{className:"page",children:[(0,a.jsxs)("div",{className:"page__banner",children:[(0,a.jsx)("h1",{className:"t-h1",children:d}),(0,a.jsx)("h2",{className:"t-h2",children:o.pageData.artist})]}),(0,a.jsx)(y,{data:p})]})})}}},function(e){e.O(0,[615,655,863,351,839,774,888,179],function(){return e(e.s=5159)}),_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.