"use strict";(self.webpackChunkui=self.webpackChunkui||[]).push([[61],{10:(e,t,o)=>{o.d(t,{a:()=>i});const i={accountWrapper:"qXeGpPSw",accountForm:"te7CAZQv",accountFormHeader:"f4fynuS_",accountTitle:"CZZ7NDmu",loginError:"qrsGJS4Z",messageError:"Xi3EMAjG",messageSuccess:"ncQvHM1f",accountFormAddress:"L0DnW04B",fieldsGroup:"CXuR8tOG",accountInputs:"ASip41tM",accountInput:"l0QekQFo",accountInputField:"_5m1fDGB",accountInputLabel:"IqibuG6w",accountInputError:"q5jlBe40",accountFooter:"Ion5fm0b",accountFooterLink:"ZnbNBlxs",loginLinkSecondary:"LUkLKGDg",accountButton:"dXdFogH1",accountButtonCenter:"M2GZLJwh",accountButtonFullWidth:"WkBk7vAa",accountButtonDisabled:"pZZht3dJ",accountButtonSecondary:"tiGBYEEt",accountButtonTertiary:"cNBbhsDX",accountButtons:"NAQeZAc6",buttonContent:"Js9SZWRC",buttonLoader:"JecoWbXv",spin:"yMF41ZyR",container:"VdYjDBT4",nav:"MNnJmn1N",addressCard:"NXDC3UD7",addressActions:"rKEskyqS",accountInputsFullWidth:"ihiTc9Ij"}},31:(e,t,o)=>{o.d(t,{a:()=>i});const i={container:"zZYXATlU",arrowLeft:"T3zumHX1",arrowRight:"mCzHjUji",collectionTitle:"BtjVOEsI",bestSeller:"kwgJR5Zg __bite_extend __bite_theme_bestSeller",textWrapper:"vhyT1_Ow",colorSwatchContainer:"VtFAkf4R",link:"RZRR9V1h",box:"tSvIqLRS",heroImageContainer:"tK5FSRVg",heroImage:"vvSCjQFx",title:"b1hb0tgk __bite_extend __bite_plpTitle",subtitle:"h5UYv_8A __bite_extend __bite_plpSubtitle",price:"d9xb3vfY __bite_extend __bite_plpPrice",originalPrice:"PtH37qZj",plpPromoText:"cGil5j0b __bite_extend __bite_plpPromoText",collectionItems:"NYNuDbQO",sliderDots:"VM0oZ3MO",desktopItemsSlider:"RIlpuMoZ",mobileItemsSlider:"fN3ZpeWM",dot:"xbTpGfqs",dotActive:"cqyxTRes",vendor:"oPFTGBbi __bite_extend __bite_plpVendor",selectedOptions:"_Vfepnri",empty:"e4Rdzvrr",quickshopIconButton:"nQMawdb3 __bite_extend __bite_theme_quickshopIconButton",quickshopIcon:"ZZqp37FZ",quickshopOverlay:"SF7MZ_jU __bite_extend __bite_theme_quickshopOverlay"}},57:(e,t,o)=>{o.d(t,{a:()=>i});const i={card:"FsH1Ogqo",media:"Njgd3A19",title:"Ck6mKdCz",body:"CtyUETPR",cta:"DxUkP_hh",cta_primary:"Or2GoXCW",cta_secondary:"Pw8Yz41b",cta_tertiary:"Kwk2DRS_"}},46:(e,t,o)=>{o.d(t,{a:()=>i});const i={container:"C9VtQ9xK",mainTitle:"Xpg4TNVK",subTitle:"EYcD112D",optionsRow:"jXINhOsm",optionButton:"Y6e_uY66",active:"znv4P3xK",children:"wlNhqnBL"}},42:(e,t,o)=>{o.d(t,{a:()=>i});const i={container:"LixAkx1y",imageContainer:"gclOIT5L",image:"Y5wVMJ4Q",details:"A4FyDY7j",title:"cMcEwdYe",subDetails:"McFQUCvJ",stylesAvailable:"bAroljYu",inStock:"to5yoRvj",dropdownIcon:"dqjUwhJm",legend:"fFjN7VDe",swatchLabel:"nfY_i_Nk",checked:"uAsxnra9"}},11:(e,t,o)=>{o.d(t,{a:()=>i});const i={accordion:"fmJEoApf",noTopBorder:"Vkp0_3He",section:"ZJCsmW3Z",toggle:"NM_YOWAF",labelAccordian:"gMfWhlvk",arrow:"iVRau9iH",content:"Yn9kwIny",contentWithGap:"QZ6IQcPi",iconCaret:"UgDfblcC"}},28:(e,t,o)=>{o.d(t,{a:()=>i});const i={container:"O9IcGWrR",sizeGuideContainer:"Sjgd8MXw __bite_extend __bite_theme_sizeGuideContainer",compact:"PMfnO_UZ",sizeGuideLabel:"maXcOloV",modalOverlay:"o3JfeQ8Y",modal:"rDogYdZh",modalImage:"UWyRdhCC",modalBackground:"nsap7aGo",closeBtn:"LeKie3P2",closeIconSVG:"twjfhJqJ",optionLabels:"v26a1W51",optionLabelsMoreColors:"ffMQMNB_",small:"vzwk4W6S",colorOptionLabels:"sSQma0jm",styled:"uyfJAMOS",oneLine:"OXuRyDa7",scrollable:"HmwBzsc0",scrollContainer:"BOTReWr_",scrollIndicator:"Q9SKBA7T",left:"pzmk77FP",right:"RJxu02cY",scrollIndicatorRight:"sxGsPWUu",optionLabelsSlideUpModal:"KxvdnHon",colorOptionSlideUpModal:"sRhGufaC",moreColors:"TUQP7fb6",moreColorsHasSelection:"Z2pwKPx4",colorOption:"BSnU3jak __bite_extend __bite_theme_productHeroOptions_colorOption",colorOptionSmall:"ueI1yDi4 __bite_extend __bite_theme_productHeroOptions_colorOptionSmall",styleSelector:"iEeSm8vy",isStyleOption:"F9WAUe61",saleLabel:"V4w7fowI __bite_extend __bite_theme_saleLabel",priceLabel:"tczX4obk",noSwatchImage:"XSvSsyWQ",colorOptionSelected:"QMl69tAx __bite_extend __bite_theme_productHeroOptions_colorOptionSelected",styleOptionSelected:"G7hdFyhC",styleOptionNotSelected:"rxLxwecl",sizeOption:"MSGuc0os __bite_extend __bite_theme_sizeOption",sizeOptionSmall:"_LAImWda __bite_extend __bite_theme_sizeOptionSmall",soldOut:"z_5wn5b_",soldOutLineThrough:"tCLVYX2m sold-out-line-through",sizeOptionSelected:"UXdMckXt __bite_extend __bite_theme_sizeOptionSelected",swatch:"ac9ZfQJE __bite_extend __bite_theme_swatch",label:"EIfulk0V",smallOptionLabel:"UixcHeUq",optionContainer:"SJQFNexH",visuallyHidden:"zkx8p4KR",divider:"pWq23Myu",resetLinkStyles:"N1cHTXJ7",dropdown:"TkYtS_aR",notSelected:"tqz2GDVR",modalOptionVariantTitle:"S2HQLJv3",modalOptionVariantSubtitle:"jEgvypoO",modalOptionTag:"xFTwvVaz",preOrderTag:"S18UQ2my",priceChange:"QVHi26tH",preOrderPriceChange:"VmMY_ekm",sizeGuidePage:"H_xKFYaR","sizeGuide-cta":"tnXtDZXh","sizeGuide-desc":"YrAAd0Fq"}},65:(e,t,o)=>{o.d(t,{a:()=>i});const i={sizeSection:"LvNhPyG7",sizeHeader:"_MIj15Rh",sizeLabel:"G1UzdMZW",sizingSubtext:"DedkLd0y",sizeGuideLink:"xOQlbvvb",sizeDropdowns:"dzAhb8cT",dropdownContainerDesktop:"IuXKDY_b",dropdownContainerMobile:"xpsa_0kX",dropdownContainer:"dqIPTq5D",dropdownTrigger:"H_kzAmZq",placeholder:"H18MipTt",dropdownTriggerUnavailable:"Um57NEfF",dropdownTriggerText:"TMh552Wd",chevronIcon:"pRYV6hPe",chevronUp:"SNK6292f",dropdownOverlay:"p3ErsuMg",dropdownPanel:"ljh1KpG2",dropdownHeader:"GOeuiWuW",dropdownHeaderTitle:"aQYT9fHd",dropdownCloseBtn:"bLiZzMeM",dropdownOptions:"A_ihZz7N",dropdownOption:"zZiW2xwq",dropdownOptionSelected:"f4G1CQJx",dropdownOptionUnavailable:"g8wxdZbS",sizingBanner:"Q6rPgU8t",dropdownColumnHeader:"P4uQfzR4",dropdownOptionRow:"JfIEBoE_",usEquivalent:"o9WrhuPF",dropdownWrapper:"YYe1FmGZ",dropdown:"V4FNFvFd",notSelected:"hUblBNrf",dropdownArrow:"pt4F5fld",visuallyHidden:"DkljE7wj"}},47:(e,t,o)=>{o.d(t,{a:()=>i});const i={drawerBody:"tMqn4SDE",sizeGuide:"ZQyI2ABK",heading:"DAtXzW7T",tabs:"Igd6r_gc",tab:"mXHw8ef3",active:"OWsnWHan",content:"xjW5aPjH",imageWrapper:"eIfc67LG",imageDescription:"KZWcm0S3",image:"lPZy47WR",measurementInfo:"MFNX6UfK",description:"CRYJWq1V",fit:"kxt5nirV",staticSlider:"B3L5PNeJ",thumb:"__81auOz",sliderLabels:"knR9kYRM",sliderLabelsStrong:"fQQek48H",tableWrapper:"khwhlJbP",table:"jj9_9SdG",unit:"pmcLV3ib",colHover:"vJGDGOyU",rowHover:"p1kJN6rn",cellActive:"XOZBsEtn",toggleMobile:"W_b8LS3M",toggleDesktop:"vfb0QF4V",unitToggle:"agLBlxdF",selected:"G0YhMsDK",switch:"mR2g0p0l",sliderSwitch:"AXFKAlss",slider:"lds10kV9"}},25:(e,t,o)=>{o.d(t,{a:()=>i});const i={container:"lJdQwzYh",small:"FZXIRNTB",productPriceDefault:"R2JvcJin __bite_extend __bite_theme_productHeroPrice_productPriceDefault",productPrice:"pVzkKcC7 __bite_extend __bite_theme_productHeroPrice_productPrice",compareAtPrice:"f7Y7WbCg __bite_extend __bite_theme_productHeroPrice_compareAtPrice",competitorPrice:"aftQXg8T __bite_extend __bite_theme_productHeroPrice_compPrice",login:"IBT6ZD4a",memberLink:"NgDvddjN",pricePill:"hVEOmGAB",pricingPolicyLabel:"YOXiFwY8",pricingPolicyCheckbox:"rSlb7WVn",modalOverlay:"ZbyY7W6Y",modal:"pqAtdOx3",modalImage:"R32tPmBt",modalBackground:"kC5EZFzk",closeBtn:"cquYxt54",pricingPolicy:"zHE03LgR",pricingHeader:"BgIIdEbc",pricingText:"eFFesRir",pricePolicyInnercontainer:"MtaJsqe8",header:"kMgZV8eq",toggleButton:"JjXXJ26g",content:"mt3p8uus",afterpayContainer:"wAydGs49 __bite_extend __bite_theme_productHeroPrice_afterpay",afterpayText:"bZV9yDQ6",afterpayLogo:"v0eOLlo0",afterpayLink:"cy2sGp9N",traditionalLayout:"fOMJZwV_",traditionalPriceColumn:"nY257Bp9 __bite_extend __bite_theme_traditionalPriceColumn",traditionalCompareColumn:"UZO1lxhO __bite_extend __bite_theme_traditionalCompareColumn",traditionalCompareDisplay:"vgSHdAvB",savingsText:"JnJwLcGt __bite_extend __bite_theme_productHeroPrice_savingsText",traditionalRetailText:"sYvTWUx2 __bite_extend __bite_theme_productHeroPrice_traditionalRetailText"}},59:(e,t,o)=>{o.d(t,{a:()=>i});const i={container:"bKnb2nke"}},58:(e,t,o)=>{o.d(t,{a:()=>i});const i={reviews:"TpY2McXS",cardReviews:"nuUq8YWl",reviewStars:"bbZRGjDa",star:"_QGknYr3",starEmpty:"JWVma6zB",starContainer:"QZvIUjvi",starHalf:"tYDTYrss",reviewCount:"ZkmEKtRN",reviewCountParenthesized:"eNCwmy_6"}},29:(e,t,o)=>{o.d(t,{a:()=>i});const i={gallery:"utYziQAE",imageContainer:"u7hALhRV",image:"HRX192Oq",imageMessage:"C0mfa5lU",review:"jT_XY_1t",reviewHeader:"c37mM92e",title:"pfrMrpCr",author:"EcdUmPEh",truncated:"YcyRuLBB",expanded:"IomlcWA2",modal:"EQpOtFeT",fadeIn:"sVWQQ9or",fadeOut:"sZfxzYzK",modalInner:"Lg4GX5Y4",modalContent:"OpbIhP35",modalOverlay:"iZzCdFwp",modalHeader:"wek3E8S1",fullBleedImage:"i2zolDuA",slideUp:"u96mNKND",slideDown:"jAr2PKY3",closeButton:"MvI_gVPT",modalTextContent:"bihC0FqM",modalBodyText:"ksR2mAtx",loadMoreButton:"QklUYRZO",reviewsHeader:"KjJxq4iV"}},23:(e,t,o)=>{o.d(t,{a:()=>i});const i={container:"kCnYDLzR",small:"m_LXTn8P",addButton:"YUeVwYml __bite_extend __bite_theme_addButton",unavailable:"BiamyoHG",outlined:"te3LRnKd",estimatedShipDate:"xxYynv3w",linethrough:"TekpRu6F",backinstockContainer:"FbAiPRNO",bsTitle:"a3V4YjS8",bsProductTitle:"bmYUJgr_",bsText:"DaMJ43Zi",divider:"dLTgkIzV",emailInput:"GSApYLCK",submitted:"ufaFAZ4c",error:"_vV9DpKA",notifyAvailableCheckbox:"KvvNSbB6",modalOverlay:"m2eqLb6A",modal:"HW1ddjw1",modalBackground:"JlvpZ9MA",closeBtn:"wlV5b2eI",message:"yiuO5iOX",quantityContainer:"rHzIKHF_",quantitySelector:"Y4BqWlxV",quantityButton:"XowLjPcM",quantityInput:"ArIe3lMr",addToCartForm:"C4NB_ZTo",messageMobile:"V5Z0NMQM"}},48:(e,t,o)=>{o.d(t,{a:()=>i});const i={overlay:"vmeqUaCA",overlayVisible:"cf6ygfG7",backdrop:"CMWNg6LH",overlayHidden:"bcQJu1zm",drawer:"AksvsL_M",drawerRight:"m1PQiRXi",drawerLeft:"z4QWGWao",drawerOpen:"ynKZs_wS",drawerHeader:"aM7Wpnhn",closeButton:"TbIQ7vqR",drawerContent:"iV4jkhA6"}},21:(e,t,o)=>{o.d(t,{a:()=>i});const i={loginFormContainer:"mGmAcGF8"}},13:(e,t,o)=>{o.d(t,{a:()=>i});const i={modalOverlay:"pKklj6A7",modalOverlayHidden:"FbGOep4Z",modalBackground:"srpRGD58",modal:"L76vEo7G",fitContent:"dC1D3FxI",closeBtn:"E2U6v0rP",closeIconSVG:"SMOJf3ND",modalImage:"v3EoYlrW",sizeGuidePage:"tZxZJ5xu",modalOverlayBottomSheet:"aTeBB3HC",modalBottomSheet:"rRLnrN0A __bite_extend __bite_theme_modalBottomSheet",slideUp:"woWeB2Ks",fadeIn:"rXVUk9Yk",large:"shRTi3NB",closing:"oitbq3f8",slideDown:"GC4NNj4H",fadeOut:"jtefEfQd",bottomSheetHeader:"pfc5sVVL",bottomSheetTitle:"WYgR_YWU",bottomSheetCloseBtn:"Ti_CbCl8",bottomSheetCloseBtnFloating:"PDrsEZxz",bottomSheetContent:"VI6yo2BU"}},20:(e,t,o)=>{o.d(t,{a:()=>i});const i={wishlistContainer:"jRlsVCot __bite_extend __bite_theme_wishlistContainer",wishlistButton:"ctbTZqfr jRlsVCot __bite_extend __bite_theme_wishlistContainer __bite_extend __bite_theme_wishlistButton",wishlistButtonIcon:"Iss5I7uB",wishlistButtonPDP:"FdsXzuwl ctbTZqfr jRlsVCot __bite_extend __bite_theme_wishlistContainer __bite_extend __bite_theme_wishlistButton",pdpImageDesktop:"cJBLNq_Q",pdpImageMobile:"VJdwZWfE",wishlistButtonPLP:"X4YRRsog ctbTZqfr jRlsVCot __bite_extend __bite_theme_wishlistContainer __bite_extend __bite_theme_wishlistButton",menuItemLink:"KCUcKOJW menuItemLink __bite_extend __bite_theme_menuItemLink",wishlistNav:"hYyHs83Q jRlsVCot __bite_extend __bite_theme_wishlistContainer",wishlistNavIcon:"jrjh9AQB",wishlistNavLabel:"hryykMDx",wishlistNavCount:"Y5u0ouJF"}},44:(e,t,o)=>{o.d(t,{a:()=>i});const i={modalContent:"wbh7Lh07",closeButton:"al8EqjqU",closeIcon:"BcalYeO_",sliderContainer:"oiuA3osK",arrowLeft:"u6XZhU7y",arrowRight:"lOjZKn2S",productsSlider:"XkiytDwR",sliderDots:"fZYzTc2n",dot:"DqvGcYil",dotActive:"R0W_aBjT",productCard:"dWAQOr2h",productImageContainer:"uQAtit98",imageGallery:"rZNn_nr2",imageSlide:"QIOSqz5b",productImage:"hNvWpVF8",imageArrow:"sfkGqxFG",imageArrowLeft:"VnQ7eMXG",imageArrowRight:"Az8THSnx",imageArrowDisabled:"pJpf8Vou",imageDots:"hgNcB9AJ",imageDot:"xIpvyz14",imageDotActive:"H5Zqh_RG",productDetails:"Chx1MTJJ",productBrand:"UWqUJvv_",productTitle:"ijER_CKY",productSubtitle:"p5pgJCoX",productPriceContainer:"pbU0tcgs",optionsLoading:"pSuMuzHi",productOptions:"po0Z889t",viewDetailsLink:"V2IFcSRI",skeletonBase:"YXiJEUNI",skeletonAddToCart:"Xul8NTsF",skeletonButton:"Hoa7sNEx",skeletonOptionLabel:"vT0tYPUl",skeletonPrice:"PxLBUuxr",shimmer:"mE5eQBuh",skeletonOptions:"IvchuGwD",skeletonOptionButtons:"SJ5zMEZV"}},255:(e,t,o)=>{var i=o(0),n=o(137),r=o(210),a=o(1);function l({device:e,disableLazyLoad:t,apps:o}){var l;const[c,d]=(0,a.useState)(null!=t&&t);(0,a.useEffect)((()=>{const e=document.getElementById("cart-toggle");if(!e)return;const t=()=>{e.checked&&!c&&(d(!0),e.removeEventListener("change",t))};return e.addEventListener("change",t),e.checked&&!c&&d(!0),()=>{e.removeEventListener("change",t)}}),[c]);const s={handle:"insider-recommendations",title:"Recommendations",products:[]};return c?(0,i.jsx)(r.a.Provider,{value:"fullLine",children:(0,i.jsx)(n.a,{collection:s,display_name:null!==(l=s.title)&&void 0!==l?l:"",desktop_product_limit:10,desktop_slider:2.5,mobile_product_limit:10,mobile_slider:"2.5",recommendation_algorithm:"insider-recommendations",device:e,apps:o})}):null}var c=o(2),d=o(9);const s=[d.b];c.BentoUI.feature({featureId:"cart_recommendations",variations:[c.BentoUI.variation({variationId:"default",hydrate:!0,component:l,apps:s,render(e){return t=this,o=arguments,n=function*({context:e}){const t=new URL(e.request.url);return{props:{device:e.device,disableLazyLoad:t.pathname.startsWith("/cart")}}},new((i=void 0)||(i=Promise))((function(e,r){function a(e){try{c(n.next(e))}catch(e){r(e)}}function l(e){try{c(n.throw(e))}catch(e){r(e)}}function c(t){var o;t.done?e(t.value):(o=t.value,o instanceof i?o:new i((function(e){e(o)}))).then(a,l)}c((n=n.apply(t,o||[])).next())}));var t,o,i,n}})]}),(0,c.createEntrypoint)("cart_recommendations",l,s)},33:(e,t,o)=>{o.d(t,{a:()=>n,b:()=>i,c:()=>r});const i=28,n="https://shalom-development-worker-may-2024.digitaloptgroup.workers.dev";function r(e){return function(e){return 100*Math.round(e)!==Math.round(100*e)?e.toFixed(2):Math.round(e).toString()}("number"==typeof e?e:parseFloat(e))}},105:(e,t,o)=>{o.d(t,{a:()=>u});var i=o(0),n=o(3),r=o(31),a=o(55),l=o(1),c=o(89);function d({filterList:e}){const t=(0,l.useMemo)((()=>function(e){return null==e?void 0:e.some((e=>{var t;return null===(t=e.values)||void 0===t?void 0:t.some((e=>e.selected))}))}(e)),[e]);return(0,i.jsxs)("div",{class:r.a.empty,children:[(0,i.jsx)("h2",{children:"No Results"}),(0,i.jsx)("button",{"data-has-selected-filters":t,onClick:()=>{(0,c.c)(e)},children:"Clear Filters"})]})}var s=o(68);function u({collection:e,mobile_slider:t="disabled",desktop_slider:o="disabled",device:c,cartApp:u,collectionApp:_,processedDisruptors:p}){var m,b,h,f;const v=null!==(m=null==_?void 0:_.collection.value)&&void 0!==m?m:e,g=null!==(b=null==v?void 0:v.products)&&void 0!==b?b:[],y=null!==(h=null==v?void 0:v.handle)&&void 0!==h?h:"",w=null==_?void 0:_.filterList.value,x=null!=p?p:null===(f=null==v?void 0:v.transformedMetafields)||void 0===f?void 0:f.disruptors,[k,C]=(0,l.useState)(0),[S,O]=(0,l.useState)(!0),[I,B]=(0,l.useState)(!1),L=(0,l.useRef)(null),A=(0,l.useRef)(null),R=()=>{const e=L.current,t=A.current;if(!e||!t)return;const o=e.scrollWidth-e.clientWidth,i=o>0?e.scrollLeft/o:0;t.style.setProperty("--scroll-progress",i.toString()),O(e.scrollLeft<=0),B(o<=0||e.scrollLeft>=o-1)},j=()=>{const e=L.current;if(!e)return;R();const t=e.getBoundingClientRect(),o=Array.from(e.children),i=o[o.length-1].getBoundingClientRect().right-t.right<45;let n=1/0;o.forEach(((e,o)=>{const r=e.getBoundingClientRect();if(i&&r.left<0)return;const a=Math.abs(r.left-t.left)+(r.left<0?20:0);at?e.flatMap(((e,o)=>{const i=t.find((e=>e.position===o+1));return i?[i,e]:e})):e),[e,t])}(g,x);return(0,l.useEffect)((()=>{const e=L.current;if(e)return e.addEventListener("scroll",j),R(),()=>{e.removeEventListener("scroll",j)}}),[L.current]),0===T.length?(0,i.jsx)(d,{filterList:w}):(t=function(e,t){return 1===e||"1.5"===t?"1.5":2===e?"disabled":t}(T.length,t),(0,i.jsxs)(n.Fragment,{children:[(0,i.jsxs)("div",{class:r.a.container,ref:A,children:["disabled"!==o&&"desktop"===c?(0,i.jsx)(s.a,{direction:"left",onClick:()=>{const e=L.current;if(!e)return;const t=.8*e.offsetWidth;e.scrollBy({left:-t,behavior:"smooth"})},className:r.a.arrowLeft,ariaLabel:"Previous products",disabled:S}):null,(0,i.jsx)("div",{class:[r.a.collectionItems,"disabled"!==o&&r.a.desktopItemsSlider,"disabled"!==t&&r.a.mobileItemsSlider].join(" "),style:{"--collection-desktop-slider-size":o,"--collection-mobile-slider-size":t},ref:L,"data-slider":"disabled"!==t||"disabled"!==o?"true":void 0,children:T.map(((e,t)=>{if(!e)return null;const o="defaultVariantId"in e?`${e.handle}${e.defaultVariantId}`:`${e.handle}${t}`;return(0,i.jsx)(a.a,{product:e,collectionHandle:y,cartApp:u},o)}))}),"disabled"!==o&&"desktop"===c?(0,i.jsx)(s.a,{direction:"right",onClick:()=>{const e=L.current;if(!e)return;const t=.8*e.offsetWidth;e.scrollBy({left:t,behavior:"smooth"})},className:r.a.arrowRight,ariaLabel:"Next products",disabled:I}):null]}),"disabled"!==t&&T.length>=parseFloat(t)&&(0,i.jsx)("div",{class:r.a.sliderDots,children:g.slice(0,["2.0","2.5"].includes(t)?g.length-1:g.length).map(((e,t)=>(0,i.jsx)("button",{type:"button",class:[r.a.dot,t===k&&r.a.dotActive].join(" "),onClick:()=>(e=>{const t=L.current;if(!t)return;const o=Array.from(t.children)[e];o&&o.scrollIntoView({behavior:"smooth",block:"nearest",inline:"start"})})(t),"aria-label":`Go to product ${t+1}`},t)))})]}))}},137:(e,t,o)=>{o.d(t,{a:()=>_});var i=o(0),n=o(3);const r={container:"TSbXzNCe",titleContainer:"vMPtAMR0",title:"RUZvNR_L",link:"yIerFuKr",button:"TMNTDv1E"};var a=o(105),l=o(1),c=o(2),d=function(e,t,o,i){return new(o||(o=Promise))((function(n,r){function a(e){try{c(i.next(e))}catch(e){r(e)}}function l(e){try{c(i.throw(e))}catch(e){r(e)}}function c(e){var t;e.done?n(e.value):(t=e.value,t instanceof o?t:new o((function(e){e(t)}))).then(a,l)}c((i=i.apply(e,t||[])).next())}))};function s(){try{const e=localStorage.getItem("spUID");return e?JSON.parse(e).data:null}catch(e){return console.error("Error getting insider user id:",e),null}}var u=function(e,t){var o={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(o[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(i=Object.getOwnPropertySymbols(e);n{if(!t||!["shopify-related","shopify-complementary","insider-recommendations"].includes(t))return;if("insider-recommendations"!==t&&!o)return;if(r-e.filter(Boolean).length<=0)return;const i=new AbortController;return(()=>{d(this,void 0,void 0,(function*(){try{const n=yield(0,c.getLazyState)("recommendations",{productId:o||"",recommendationAlgorithm:t,limit:r,payload:"insider-recommendations"===t?{insiderUserId:s(),insiderRecommendationAlgorithmVariation:(0,c.getAssignment)("bite_cart_upsells_algorithm")}:void 0});if(!i.signal.aborted&&(null==n?void 0:n.products)){const t=[...e,...n.products];u(function(e,t){const o=[];for(const i of e)if(o.find((({id:e})=>i.id===e))||o.push(i),o.length>=t)break;return o}(t,r)),p(n.title)}}catch(e){console.error("Failed to fetch product recommendations:",e)}}))})(),()=>i.abort()}),[t,o,i,r,n,e]),{products:a,title:_}}({initialProducts:o.collection.products,recommendationAlgorithm:o.recommendation_algorithm,productId:o.productId,variantId:o.selectedVariantId,device:o.device,limit:_}),b=(0,l.useMemo)((()=>Object.assign(Object.assign({},o.collection),{products:p})),[o.collection,p]);return 0===p.length?(0,i.jsx)(n.Fragment,{}):(0,i.jsxs)("div",{class:r.container,style:{"--collection-desktop-product-limit":o.desktop_product_limit},children:[(0,i.jsxs)("div",{class:r.titleContainer,children:["#"!==o.display_name&&(0,i.jsx)("h1",{class:r.title,children:m||o.display_name}),o.call_to_action&&o.call_to_action_destination_link?(0,i.jsx)("a",{class:r.link,href:o.call_to_action_destination_link,children:(0,i.jsx)("button",{class:r.button,children:o.call_to_action})}):(0,i.jsx)(n.Fragment,{})]}),(0,i.jsx)(a.a,Object.assign({},o,{collection:b,cartApp:t}))]})}},75:e=>{e.exports=function(e,t){t||(t={}),"function"==typeof t&&(t={cmp:t});var o,i="boolean"==typeof t.cycles&&t.cycles,n=t.cmp&&(o=t.cmp,function(e){return function(t,i){var n={key:t,value:e[t]},r={key:i,value:e[i]};return o(n,r)}}),r=[];return function e(t){if(t&&t.toJSON&&"function"==typeof t.toJSON&&(t=t.toJSON()),void 0!==t){if("number"==typeof t)return isFinite(t)?""+t:"null";if("object"!=typeof t)return JSON.stringify(t);var o,a;if(Array.isArray(t)){for(a="[",o=0;o{e.O(0,[1,2,3,4,5,6,7,8,9,10,11,12,13,14,27,29,30,31,32,34,35,40,41],(()=>e(e.s=255))),e.O()}]);