1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},l=(new e.Error).stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="056255ea-bc78-4f1f-ab91-a7ee2faafcd6",e._sentryDebugIdIdentifier="sentry-dbid-056255ea-bc78-4f1f-ab91-a7ee2faafcd6")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5145,79970],{79970:function(e,l,n){"use strict";n.d(l,{Cg:function(){return s},E4:function(){return o},T4:function(){return d},ZP:function(){return a},w7:function(){return r}});var t=n(67294),i=n(55891);let o=e=>({us:"US",uk:"GB",ca:"CA",fr:"FR",au:"AU",my:"MY",vn:"VN",it:"IT","eu-de":"DE","eu-en":"DE"})[e]||"US",s=e=>({us:"en-US",uk:"en-GB",ca:"en-CA",au:"en-US","eu-es":"de-DE","eu-fr":"de-DE","eu-it":"de-DE","eu-de":"de-DE","eu-en":"de-DE","cz-en":"de-DE",nl:"de-DE"})[e]||"en-US";function d(e){var l;let{amount:n,currencyCode:t,locale:i,maximumFractionDigits:o,minimumFractionDigits:d,isDigits:r=!0}=e;if(!t)return n;let a=new Intl.NumberFormat(s(i),{style:"currency",currency:t,minimumFractionDigits:0===o?0:d,maximumFractionDigits:o}).format(n),u=r&&"vn-vi"!==i?a:(e=>{if(e.includes(",")){let l="";return["eu-de","nl","eu-en","eu-fr","eu-it","eu-es","cz-en"].includes(i)?l="".concat(e.toString().split(",")[0],"â¬"):"vn-vi"===i&&(l="".concat(e.toString().split(",")[0],"â«")),l}return e.includes(".")?e.toString().split(".")[0]:e})(a);return"ca"===i?"CA".concat(u):null==u?void 0:null===(l=u.toString())||void 0===l?void 0:l.replace(/[\s]/g,"")}function r(e){let{amount:l,baseAmount:n,currencyCode:t,locale:i}=e,o=n>l,r=new Intl.NumberFormat(s(i),{style:"percent"}),a=o?r.format((n-l)/n):null;return{price:d({amount:l,currencyCode:t,locale:i}),basePrice:o?d({amount:n,currencyCode:t,locale:i}):null,discount:a}}function a(e){let{amount:l,baseAmount:n,currencyCode:o,soldOutDescription:s}=null!=e?e:{},{locale:a}=(0,i.aF)(),u=(0,t.useMemo)(()=>"number"==typeof l&&o?s&&l>=9999999.99?s:n?r({amount:l,baseAmount:n,currencyCode:o,locale:a}):d({amount:l,currencyCode:o,locale:a}):"",[l,n,o,a,s]),c=l&&l<=0;return"string"==typeof u||"number"==typeof u?{price:u,free:c}:{...u,free:c}}},29882:function(e,l,n){"use strict";var t=n(85893),i=n(69805),o=n(31990),s=n(63823),d=n(35478);l.Z=(0,o.withLayout)(e=>{let{title:l,list:n=[],as:r="h2"}=e.data||{},a=e=>{(0,d.default)("#".concat(e),{duration:500,offset:-50})};return(0,t.jsxs)("section",{className:(0,s.cn)("items-center justify-between gap-4 md:mt-6 l:mt-8 laptop:flex"),children:[(0,t.jsx)(o.Title,{data:{title:l},as:r,className:"md:!mb-0 md:px-0"}),(0,t.jsx)("div",{className:"flex gap-x-3 md:justify-center",children:null==n?void 0:n.map((e,l)=>(0,t.jsxs)("div",{onClick:()=>a(e.id),className:"flex cursor-pointer flex-col items-center gap-1 px-8 py-4 md:flex-1",children:[(0,t.jsx)(i.t,{source:e.imgPc,className:"aspect-[1/1] transition-all duration-300 hover:scale-[1.05] md:w-[48px] min-md:w-[64px] min-xl:w-[88px] min-xxl:w-[108px]"}),(0,t.jsx)(i.xv,{size:4,html:null==e?void 0:e.desc,className:"mt-1 text-xs min-md:text-sm min-xl:text-base min-xxl:text-lg"})]},l))})]})})},714:function(e,l,n){"use strict";n.d(l,{Z:function(){return r}});var t=n(85893),i=n(69805),o=n(31990),s=n(67294);function d(e){let{html:l="",className:n=""}=e,i=(0,s.useRef)(null);return(0,s.useEffect)(()=>{var e;let l=i.current;l&&(l.style.display="-webkit-box",l.style.webkitBoxOrient="vertical",l.style.overflow="hidden",l.style.textOverflow="ellipsis",l.style.whiteSpace="normal",l.style.lineHeight="20px",l.style.maxHeight="".concat(40,"px"),null!==(e=window.CSS)&&void 0!==e&&e.supports&&window.CSS.supports("-webkit-line-clamp","2")?(l.style.WebkitLineClamp="2",l.style.WebkitBoxOrient="vertical"):l.classList.add("no-webkit-clamp"),Array.from(l.querySelectorAll("*")).forEach(e=>{e.style.whiteSpace="normal",e.style.wordBreak="break-word",e.style.overflowWrap="break-word"}))},[l]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("style",{children:"\n .series-desc-ellipsis {\n display: -webkit-box; /* for supported browsers */\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 2; /* å
³é® */\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: normal !important;\n line-height: 20px;\n max-height: 40px;\n box-sizing: border-box;\n word-wrap: break-word;\n word-break: break-word;\n overflow-wrap: break-word;\n }\n\n .series-desc-ellipsis * {\n white-space: normal !important;\n word-break: break-word !important;\n overflow-wrap: break-word !important;\n display: inline !important;\n max-width: 100% !important;\n }\n\n .no-webkit-clamp {\n position: relative;\n max-height: 40px; /* 2 * 20px line-height */\n overflow: hidden;\n }\n .no-webkit-clamp::after {\n content: '...';\n position: absolute;\n right: 0;\n bottom: 0;\n padding-left: 8px;\n background: linear-gradient(to right, rgba(255,255,255,0), #fff 65%);\n pointer-events: none;\n }\n\n .series-desc-ellipsis.force-break {\n min-width: 0;\n white-space: normal !important;\n }\n "}),(0,t.jsx)("div",{ref:i,className:"series-desc-ellipsis text-pretty text-[16px] font-bold leading-[20px] tracking-[-0.02em] md:!text-sm",dangerouslySetInnerHTML:{__html:l}})]})}var r=(0,o.withLayout)(e=>{let{id:l,title:n,desc:s,list:r=[],linkText:a,linkUrl:u,linkImg:c}=e.data||{};return(0,t.jsxs)("section",{id:l,className:"series-wrap pb-6",children:[(0,t.jsx)(o.Title,{data:{title:n}}),(0,t.jsxs)("div",{className:"items-end justify-between laptop:flex",children:[(0,t.jsx)(i.xv,{as:"div",size:4,className:"sections-desc laptop:w-[430px] desktop:w-[620px] lg-desktop:w-[800px]",html:s}),a?(0,t.jsx)(i.rU,{href:u,className:"text-sm font-bold leading-none no-underline",children:(0,t.jsxs)("div",{className:"flex items-center gap-[2px] md:mt-2",children:[a,(0,t.jsx)(i.t,{source:c,className:"h-[18px] w-[18px]"})]})}):null,(null==r?void 0:r.length)>0?(0,t.jsx)("div",{className:"flex gap-[12px] overflow-hidden l:pb-6",children:null==r?void 0:r.map((e,l)=>(0,t.jsx)("div",{className:"items-center truncate l:flex-1 laptop:flex ".concat(l!==r.length-1?"border-r-2 border-[#
1E4E5E6] pr-[12px]":""),children:(0,t.jsx)(d,{html:null==e?void 0:e.desc})},l))}):null]})]})})},10602:function(e,l,n){"use strict";n.d(l,{Z:function(){return f}});var t=n(85893),i=n(67294),o=n(98136),s=n.n(o),d=e=>{let{active:l,list:n,setActive:o,setVisible:d,visible:r,filterActive:a}=e,u=(0,i.useRef)(null);(0,i.useEffect)(()=>{let e=e=>{var l,n,t;let i=null==e?void 0:null===(n=e.target)||void 0===n?void 0:null===(l=n.getAttribute)||void 0===l?void 0:l.call(n,"class");(null==u?void 0:null===(t=u.current)||void 0===t?void 0:t.contains(null==e?void 0:e.target))||(null==i?void 0:i.includes("openDropDown"))||d(!1)};return document.addEventListener("click",e),()=>document.removeEventListener("click",e)},[]);let c=(0,i.useMemo)(()=>null==n?void 0:n.filter(e=>(null==e?void 0:e.handle)!==(null==a?void 0:a.handle)),[a,n]);return console.log(r,"handleList"),(0,t.jsx)("div",{className:"".concat(s().productCascaderDropdown," ").concat(r?"block":"hidden"),ref:u,children:(0,t.jsx)("div",{className:s().productCascaderMenu,children:null==c?void 0:c.map((e,n)=>(0,t.jsx)("div",{onClick:()=>{o({sku:null==e?void 0:e.sku,name:null==e?void 0:e.name,handle:null==e?void 0:e.handle}),d(!1)},title:null==e?void 0:e.name,className:"openDropDown ".concat(s().productCascaderMenuItem," ").concat((null==e?void 0:e.handle)===(null==l?void 0:l.handle)?s().productActive:""),children:null==e?void 0:e.name},n))})})},r=n(9977),a=n(11163),u=n(9329),c=n(19536),v=n(79970),p=n(55386),m=n(69805),x=n(87041),h=n(46911),f=e=>{var l,n,o,f,w;let b=(null==e?void 0:e.data)||{};console.log("metafields",b);let[g,j]=(0,i.useState)({}),[k,y]=(0,i.useState)({}),[N,_]=(0,i.useState)(!1),[D,C]=(0,i.useState)(!1),{locale:S}=(0,a.useRouter)(),{LeftMenu:E,RightMenu:I,DefaultSelectMenu:L}=(0,i.useMemo)(()=>b||{},[b]),{data:W}=(0,x.Z)({handles:(null==I?void 0:null===(f=I.menus)||void 0===f?void 0:null===(o=f.map)||void 0===o?void 0:null===(n=o.call(f,e=>null==e?void 0:e.handle))||void 0===n?void 0:null===(l=n.join)||void 0===l?void 0:l.call(n,","))||""}),M=e=>{try{let l=new URL(e).pathname.toLowerCase();return/\.(jpeg|jpg|gif|png|webp|bmp|svg|tiff)$/.test(l)}catch(l){return/\.(jpeg|jpg|gif|png|webp|bmp|svg|tiff)$/i.test(e)}},F=l=>{var n,i,o,a,x,f,w;let b=null==I?void 0:null===(n=I.menus)||void 0===n?void 0:n.find(e=>(null==e?void 0:e.handle)===(null==l?void 0:l.handle)),E=null==l?void 0:null===(i=l.variants)||void 0===i?void 0:i.find(e=>(null==e?void 0:e.sku)===(null==l?void 0:l.sku)||(null==b?void 0:b.sku)),M=null==E?void 0:null===(o=E.coupons)||void 0===o?void 0:o[0],{price:F,basePrice:T}=(0,v.w7)({locale:S,amount:M?(0,h._L)({coupon:M,price:(null==E?void 0:E.price)||0,locale:S}):null==E?void 0:E.price,baseAmount:M?null==E?void 0:E.price:0,currencyCode:(null==l?void 0:null===(a=l.price)||void 0===a?void 0:a.currencyCode)||"USD"});return(0,t.jsxs)("div",{className:"box-border overflow-hidden",children:[(null==l?void 0:l.type)==="left"&&(null==W?void 0:null===(x=W.products)||void 0===x?void 0:x.length)>1?(0,t.jsxs)(m.xv,{className:"".concat(s().headerDropDown," openDropDown"),onClick:()=>_(!N),children:[(0,t.jsxs)("div",{className:"flex items-center justify-between overflow-hidden",children:[(0,t.jsx)("div",{className:"openDropDown flex-1 truncate text-base md:text-sm min-xxl:text-lg",title:null==g?void 0:g.name,children:(null==g?void 0:g.name)||""}),(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"25",viewBox:"0 0 24 25",fill:"none",className:"openDropDown",children:(0,t.jsx)("path",{d:"M6 9.5L12 15.5L18 9.5",stroke:"#1D1D1F",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})]}),(0,t.jsx)(d,{list:null==W?void 0:W.products,active:g,filterActive:k,setActive:j,visible:N,setVisible:_})]}):null,(null==l?void 0:l.type)==="right"&&(null==k?void 0:k.name)&&(null==W?void 0:null===(f=W.products)||void 0===f?void 0:f.length)>1?(0,t.jsxs)(m.xv,{className:"".concat(s().headerDropDown," openDropDown"),onClick:()=>C(!D),children:[(0,t.jsxs)("div",{className:"flex items-center justify-between overflow-hidden",children:[(0,t.jsx)("div",{className:"openDropDown flex-1 truncate text-base md:text-sm min-xxl:text-lg",title:null==k?void 0:k.name,children:null==k?void 0:k.name}),(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"25",viewBox:"0 0 24 25",fill:"none",className:"openDropDown",children:(0,t.jsx)("path",{d:"M6 9.5L12 15.5L18 9.5",stroke:"#1D1D1F",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})]}),(0,t.jsx)(d,{list:null==W?void 0:W.products,active:k,filterActive:g,setActive:y,visible:D,setVisible:C})]}):null,(0,t.jsx)("div",{className:"max-h-[138px] max-w-[138px] min-xxl:max-h-[196px] min-xxl:max-w-[196px]",children:(0,t.jsx)(u.Z,{source:(null==E?void 0:null===(w=E.image)||void 0===w?void 0:w.url)||"",className:"aspect-h-[280] aspect-w-[280]",imgClassName:"w-full h-full object-cover"})}),(0,t.jsx)("div",{className:"mb-2 mt-6",children:(null==E?void 0:E.availableForSale)?(0,t.jsx)(p.Z,{variant:E,productTags:(null==l?void 0:l.tag)||[],discountPrice:F||"",originalPrice
1:T||F||"",priceSize:"text-xl min-xxl:text-2xl"}):null}),(null==L?void 0:L.buttonText)?(0,t.jsx)(c.Z,{href:"/products/".concat(null==l?void 0:l.handle,"?variant=").concat((0,r.Ll)((null==E?void 0:E.id)||""),"&ref=").concat(null==e?void 0:e.handle),children:(0,t.jsx)(m.zx,{children:null==L?void 0:L.buttonText})}):null]})},T=e=>{if(e)return e&&"string"!=typeof e?(0,t.jsxs)("div",{className:"size-full",children:[(0,t.jsx)("p",{className:"text-base font-bold text-[#1D1D1F] md:text-sm min-xxl:text-lg",dangerouslySetInnerHTML:{__html:(null==e?void 0:e.text)||""}}),(0,t.jsx)(u.Z,{source:null==e?void 0:e.imgUrl,className:"m-auto max-h-[360px] max-w-[360px] l:max-h-[174px] l:max-w-[174px]",imgClassName:"w-full h-full object-cover"})]}):(0,t.jsx)("div",{className:"break-all",children:M(e)?(0,t.jsx)(u.Z,{source:e,className:"m-auto max-h-[360px] max-w-[360px] l:max-h-[174px] l:max-w-[174px]",imgClassName:"w-full h-full object-cover"}):(0,t.jsx)("p",{className:"text-base font-bold text-[#1D1D1F] md:text-sm min-xxl:text-lg",dangerouslySetInnerHTML:{__html:e||""}})})},A=e=>e.map((e,l)=>{var n,i,o,d;let r=null==I?void 0:null===(i=I.menus)||void 0===i?void 0:null===(n=i.find(e=>(null==e?void 0:e.handle)===(null==g?void 0:g.handle)))||void 0===n?void 0:n.subTitle,a=null==I?void 0:null===(d=I.menus)||void 0===d?void 0:null===(o=d.find(e=>(null==e?void 0:e.handle)===(null==k?void 0:k.handle)))||void 0===o?void 0:o.subTitle;return(0,t.jsxs)("div",{className:"".concat(s().contentWrapItem," ").concat(0===l?s().noBorderItem:""),children:[(0,t.jsx)(m.X6,{as:"h3",html:e||""}),(0,t.jsxs)("div",{className:"".concat(s().subItemContent," grid-cols-2"),children:[T(null==r?void 0:r[e]),T(null==a?void 0:a[e])]})]},e)}),P=e=>{let{subTitle:l,isProduct:n}=e;if(n){var i,o;let n=null==W?void 0:null===(i=W.products)||void 0===i?void 0:i.find(e=>(null==e?void 0:e.handle)===(null==g?void 0:g.handle)),d=null==W?void 0:null===(o=W.products)||void 0===o?void 0:o.find(e=>(null==e?void 0:e.handle)===(null==k?void 0:k.handle));return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"".concat(s().contentWrapItem," ").concat(s().noBorder),children:[(null==e?void 0:e.title)&&(0,t.jsx)(m.X6,{as:"h3",html:(null==e?void 0:e.title)||"",className:"l:hidden"}),(0,t.jsxs)("div",{className:"".concat(s().subItemContent," grid-cols-2 pr-0"),children:[n&&F({...n,sku:null==g?void 0:g.sku,type:"left"}),d&&F({...d,sku:null==k?void 0:k.sku,type:"right"})]})]}),(null==l?void 0:l.length)?A(l):null]})}return A(l)};return(0,i.useEffect)(()=>{var e,l,n,t,i;if(!(null==W?void 0:null===(e=W.products)||void 0===e?void 0:e.length))return;let o=null==L?void 0:null===(n=L.sku)||void 0===n?void 0:null===(l=n.split)||void 0===l?void 0:l.call(n,","),s=null==o?void 0:o[0],d=null==W?void 0:null===(t=W.products)||void 0===t?void 0:t.find(e=>{var l;if(null==e?void 0:null===(l=e.variants)||void 0===l?void 0:l.find(e=>(null==e?void 0:e.sku)===s))return!0});if(d){let e={...d,sku:s};j({name:null==e?void 0:e.name,handle:null==e?void 0:e.handle,sku:null==e?void 0:e.sku})}let r=null==o?void 0:o[1],a=null==W?void 0:null===(i=W.products)||void 0===i?void 0:i.find(e=>{var l;if(null==e?void 0:null===(l=e.variants)||void 0===l?void 0:l.find(e=>(null==e?void 0:e.sku)===r))return!0});if(a){let e={...a,sku:r};y({name:null==e?void 0:e.name,handle:null==e?void 0:e.handle,sku:null==e?void 0:e.sku})}},[W]),(0,t.jsx)("div",{className:s().productParametersWrap,children:(0,t.jsx)(m.W2,{style:{backgroundColor:null==b?void 0:b.bgColor},className:"specs-container !bg-[#F5F5F7]",children:(null==E?void 0:E.data)?(0,t.jsx)("div",{className:s().productParametersContent,children:null==E?void 0:null===(w=E.data)||void 0===w?void 0:w.map((e,l)=>(0,t.jsx)("div",{className:s().contentWrap,children:P(e)},l))}):null})})}},98136:function(e){e.exports={productParametersWrap:"specs_productParametersWrap__KgzTi",productParametersContent:"specs_productParametersContent__bWuAp",contentTitle:"specs_contentTitle__3blZs",contentWrap:"specs_contentWrap__GYQPM",contentWrapTitle:"specs_contentWrapTitle__CFcY4",contentWrapItem:"specs_contentWrapItem__pGjvv",subItemContent:"specs_subItemContent__gj9PM",headerDropDown:"specs_headerDropDown__FfjGd",noBorder:"specs_noBorder___iVti",productCascaderDropdown:"specs_productCascaderDropdown__qgGNQ",productCascaderMenu:"specs_productCascaderMenu__EdDuN",productCascaderMenuItem:"specs_productCascaderMenuItem__wMYQ0",productActive:"specs_productActive__Pjsmb"}}}]);
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.