"use strict";(self.webpackChunkui=self.webpackChunkui||[]).push([[35,69],{67(e,t,i){i.d(t,["a",0,{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",cardTags:"d_gLwJcI __bite_extend __bite_plpCardTags",cardTag:"huSs142o __bite_extend __bite_plpCardTag",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"}])},472(e,t,i){i.d(t,["a",0,{bannerBox:"YBTbEAYe",noImage:"tQ8tJwVA",bannerText:"JAyRcVoq",centered:"bZ3FIWFX",bannerImageContainer:"gO7P4lpr",bannerImage:"sTYo0SaM",bannerGrid:"fuV6SNin",bannerGridItem:"whOxoGbK",bannerGridImage:"PYRKeflj",bannerFullWidth:"MfDJ97Gj",bannerFullWidthImage:"gnL90hsx",srOnly:"UQI0TgzM",eyebrow:"g0pd9RBM",bannerTitle:"xiNWuFhy",bannerDescription:"y1_CNyIs"}])},255(e,t,i){var n=i(256);(0,i(2).createEntrypoint)("collection_header",n.a)},256(e,t,i){i.d(t,{a:()=>o});var n=i(0),a=i(472),l=i(67),r=i(5);function o({collection:e,device:t}){var i,r;const o="mobile"==t,b=null===(i=e.transformedMetafields)||void 0===i?void 0:i.banner;if(!b)return e.title?(0,n.jsx)("h1",{class:l.a.collectionTitle,children:e.title}):null;const m=function(e){return function(e){return Boolean(e.desktopImageLeft&&e.desktopImage&&e.desktopImageRight)}(e)?{mode:"grid",banner:e}:function(e){return Boolean(!e.desktopImageLeft&&!e.desktopImageRight&&e.desktopImage&&e.mobileImage&&!e.eyebrowCopy)}(e)?{mode:"fullWidth",banner:e}:{mode:"default",banner:e}}(b);if("grid"===m.mode){const e=null!==(r=m.banner.mobileImage)&&void 0!==r?r:m.banner.desktopImage;return(0,n.b)("div",{class:a.a.bannerGrid,children:[o?(0,n.jsx)("div",{class:a.a.bannerGridItem,children:(0,n.jsx)(c,{image:e,initialWidth:1e3,fullSizeWidth:1e3,cssClass:a.a.bannerGridImage})}):[m.banner.desktopImageLeft,m.banner.desktopImage,m.banner.desktopImageRight].map(((e,t)=>(0,n.jsx)("div",{class:a.a.bannerGridItem,children:(0,n.jsx)(c,{image:e,initialWidth:1e3,cssClass:a.a.bannerGridImage})},`${e.url}_${t}`))),(0,n.jsx)(d,{description:m.banner.description})]})}if("fullWidth"===m.mode){const e=o?m.banner.mobileImage:m.banner.desktopImage;return(0,n.b)("div",{class:a.a.bannerFullWidth,children:[(0,n.jsx)(c,{image:e,initialWidth:o?1e3:2e3,fullSizeWidth:o?1e3:void 0,cssClass:a.a.bannerFullWidthImage}),(0,n.jsx)(d,{description:m.banner.description})]})}const p=m.banner,{image:g,position:h}=function({banner:e,isMobile:t}){return t&&e.mobileImage?{image:e.mobileImage,position:"center"}:e.desktopImageLeft?{image:e.desktopImageLeft,position:"left"}:e.desktopImageRight?{image:e.desktopImageRight,position:"right"}:e.desktopImage?{image:e.desktopImage,position:"left"}:{image:e.mobileImage,position:"center"}}({banner:p,isMobile:o}),u=Boolean(g&&("left"===h||o)),_=Boolean(g&&"right"===h&&!o);return(0,n.b)("div",{class:s(a.a.bannerBox,!g&&a.a.noImage),children:[g&&u&&(0,n.jsx)("div",{class:a.a.bannerImageContainer,children:(0,n.jsx)(c,{image:g,initialWidth:1e3,fullSizeWidth:o?1e3:void 0,cssClass:a.a.bannerImage})}),(0,n.b)("div",{class:s(a.a.bannerText,!g&&a.a.centered),children:[p.eyebrowCopy&&(0,n.jsx)("div",{class:a.a.eyebrow,children:p.eyebrowCopy}),(0,n.jsx)("h2",{class:a.a.bannerTitle,children:e.title}),p.description&&(0,n.jsx)("div",{class:a.a.bannerDescription,dangerouslySetInnerHTML:{__html:p.description}})]}),g&&_&&(0,n.jsx)("div",{class:a.a.bannerImageContainer,children:(0,n.jsx)(c,{image:g,initialWidth:1e3,fullSizeWidth:o?1e3:void 0,cssClass:a.a.bannerImage})})]})}function s(...e){return e.filter(Boolean).join(" ")}function d({description:e}){return e?(0,n.jsx)("div",{class:a.a.srOnly,dangerouslySetInnerHTML:{__html:e}}):null}function c({image:e,initialWidth:t,fullSizeWidth:i,cssClass:a}){return(0,n.jsx)(r.a,{src:e.url,alt:e.altText||"",width:e.width,height:e.height,initialWidth:t,fullSizeWidth:i,cssClass:a})}},5(e,t,i){i.d(t,{a:()=>r,b:()=>o});var n=i(0),a=i(6),l=i(1);function r({src:e,initialWidth:t,fullSizeWidth:i,cssClass:a,alt:r,width:s,height:d,style:c}){var b;const m=(0,l.j)(null),[p,g]=(0,l.k)(!1),h=o(e,t,i,p);return(0,l.c)((()=>{var e;!p&&(null===(e=m.current)||void 0===e?void 0:e.complete)&&g(!0)}),[null===(b=m.current)||void 0===b?void 0:b.complete]),s&&d?(0,n.jsx)("img",{ref:m,loading:"lazy",src:h,onLoadStart:()=>g(!0),onLoad:()=>g(!0),class:a,alt:null!=r?r:"",width:s,height:d,style:c}):(0,n.jsx)("img",{src:h,class:a,alt:null!=r?r:"",style:c})}function o(e,t,i,n=!0){const r=(0,a.b)(e,t),o=(0,a.b)(e,i),[s,d]=(0,l.k)({}),c=(0,l.h)((()=>s[o]?o:r),[e,t,i,s]);return(0,l.c)((()=>{if(n&&document&&c!==o){const e=document.createElement("img");e.src=o,e.onload=()=>d(Object.assign(Object.assign({},s),{[o]:!0}))}}),[n,o]),c}},6(e,t,i){i.d(t,{a:()=>l,b:()=>a});var n=i(21);function a(e,t,i){return(e=(0,n.getFastImage)(e,t,i)).replace("/fl_progressive:steep/","/")}function l(e){var t,i,n;if(e)return"type"in e?"image"===e.type&&e.url?Object.assign(Object.assign({},e),{url:a(e.url),altText:null!==(t=e.altText)&&void 0!==t?t:""}):void 0:"__typename"in e&&"MediaImage"===e.__typename&&(null===(i=e.image)||void 0===i?void 0:i.url)?{url:a(null===(n=e.image)||void 0===n?void 0:n.url),altText:"",height:void 0,width:void 0}:void 0}(0,n.setConfig)([{folder:"bare",template:"https://cdn.shopify.com/s/files/1/0576/5120/0113/"},{folder:"stamped",template:"https://cdn.stamped.io/uploads/photos/"},{folder:"comfrt",template:"https://cdn.shopify.com/s/files/1/0569/4029/8284/"},{folder:"3bn",template:"https://cdn.shopify.com/s/files/1/0179/2309/"}])}},e=>{e.O(0,[28,1,2],(()=>e(e.s=255))),e.O()}]);